From d83b2e3748bc53d705f4e23682b6c6a76a03cb6c Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 11 Apr 2022 12:31:01 +0000 Subject: [PATCH] chore(release): 7.0.0 [skip ci] # [7.0.0](https://github.com/CESNET/perun-web-apps/compare/v6.1.1...v7.0.0) (2022-04-11) ### Bug Fixes * added Perun shared components module to user profile and publications ([3c1158d](https://github.com/CESNET/perun-web-apps/commit/3c1158df08738df41bb40a88641ba2a16252d43b)) * **admin:** fix duplicate window open ([9a26d36](https://github.com/CESNET/perun-web-apps/commit/9a26d36f59ec20efd880d627b82a3e85d1954995)) * **admin:** Fixed status tab in Accounts ([277ac6f](https://github.com/CESNET/perun-web-apps/commit/277ac6ff8fa77c13de41d17dbe44288cd1d72d4d)) * **admin:** icon change on overviews ([0ed2e8a](https://github.com/CESNET/perun-web-apps/commit/0ed2e8aaa01ec933147fc737aa452f6a6276c392)) * minor improvements ([f1c11c2](https://github.com/CESNET/perun-web-apps/commit/f1c11c28449897264ba5ae445e77c20904c12558)) * **profile:** fixed infinite loading in Authentication page ([703d6a4](https://github.com/CESNET/perun-web-apps/commit/703d6a4db24ce932c53aa327e3075bca95c8a63c)) * redirect from login page to home if user logged in ([f11e6ba](https://github.com/CESNET/perun-web-apps/commit/f11e6bac73ff19e21a5216a096898ad197895aa1)) * session expiration dialog fix ([4a59fae](https://github.com/CESNET/perun-web-apps/commit/4a59fae5dc8f9421cbfcfb81e2990ebcc89ea54e)) ### Features * add skeleton for consolidator and linker application ([82e5971](https://github.com/CESNET/perun-web-apps/commit/82e5971d73723f8bc1f6179bfbe7537c4dce50b8)) * **admin:** add consent hubs page ([7fce853](https://github.com/CESNET/perun-web-apps/commit/7fce853c5931b2d2a3217f0962d8668f9ba560c5)) * **admin:** added columns to sponsored members list ([c1ada32](https://github.com/CESNET/perun-web-apps/commit/c1ada32ec1b4ba8cc32a436257fbb6a85becdaa0)) * **admin:** disable adding user realated attrbiutes to active service ([e303077](https://github.com/CESNET/perun-web-apps/commit/e303077b65ff6ca0963f95a33ed953565750c07c)) * **lib:** support for consent hubs ([43c06e0](https://github.com/CESNET/perun-web-apps/commit/43c06e06e4f890596deb297b9103dba4a21f0b11)) * **openapi:** add support for consent logic to openapi ([1a091d9](https://github.com/CESNET/perun-web-apps/commit/1a091d9bbf8cc0d108a26da5c96e4def6d7a916e)) * **openapi:** generated open api ([3bc5079](https://github.com/CESNET/perun-web-apps/commit/3bc50793a53eef862d5f1803754a7c32763dcf3c)) * **profile:** manage consents ([5008f9b](https://github.com/CESNET/perun-web-apps/commit/5008f9b2dab508ebcf32a24495c553b5f204c9bb)) ### BREAKING CHANGES * **profile:** * add new item 'consents' to 'displayed_tabs' array if you want to show consents page in menu --- dist/apps/admin-gui/142.43a9f0a12ce945d0.js | 1 - dist/apps/admin-gui/142.c901f6a31bdbd45f.js | 1 + dist/apps/admin-gui/176.4214f0887288555b.js | 1 + dist/apps/admin-gui/176.c4066f0d7c945d78.js | 1 - dist/apps/admin-gui/243.37e16c016d7e6a1a.js | 1 + dist/apps/admin-gui/243.6b69d0ec988a45bf.js | 1 - dist/apps/admin-gui/358.2f59846edf0d8d73.js | 1 - dist/apps/admin-gui/358.68c9abd8013a978d.js | 1 + dist/apps/admin-gui/385.9a4ce74576f54406.js | 1 - dist/apps/admin-gui/484.a4933cabff055e4e.js | 1 + dist/apps/admin-gui/50.1365ffde5b298701.js | 1 - dist/apps/admin-gui/50.2f6574a040f40e25.js | 1 + dist/apps/admin-gui/892.2e699f7cea038bc2.js | 1 + dist/apps/admin-gui/892.30b3ccb9e69a8b2b.js | 1 - .../assets/config/defaultConfig.json | 1 + .../apps/admin-gui/assets/config/version.json | 2 +- dist/apps/admin-gui/assets/i18n/en.json | 35 +++++- .../img/PerunWebImages/consent-white.svg | 110 ++++++++++++++++++ .../assets/img/PerunWebImages/roles.svg | 86 ++++++++++++++ dist/apps/admin-gui/index.html | 2 +- dist/apps/admin-gui/main.29613357003f9d7b.js | 1 - dist/apps/admin-gui/main.ec14d8783ca85d8a.js | 1 + ...c055fd9.js => runtime.9f3d4efaa22d5616.js} | 2 +- dist/apps/password-reset/index.html | 2 +- .../password-reset/main.d5b4595635fd9f8e.js | 1 - .../password-reset/main.dccfaf9098829230.js | 1 + dist/apps/publications/index.html | 2 +- .../publications/main.88ec76e5f4f5ae20.js | 1 - .../publications/main.ce0bae2ff5330a1e.js | 1 + .../assets/config/defaultConfig.json | 1 + dist/apps/user-profile/assets/i18n/cs.json | 34 ++++++ dist/apps/user-profile/assets/i18n/en.json | 34 ++++++ dist/apps/user-profile/index.html | 4 +- .../user-profile/main.6e09f04771c04e02.js | 1 + .../user-profile/main.7f275cd02335c877.js | 1 - ...54dc40.css => styles.7ef077fc55af1f73.css} | 2 +- 36 files changed, 317 insertions(+), 22 deletions(-) delete mode 100644 dist/apps/admin-gui/142.43a9f0a12ce945d0.js create mode 100644 dist/apps/admin-gui/142.c901f6a31bdbd45f.js create mode 100644 dist/apps/admin-gui/176.4214f0887288555b.js delete mode 100644 dist/apps/admin-gui/176.c4066f0d7c945d78.js create mode 100644 dist/apps/admin-gui/243.37e16c016d7e6a1a.js delete mode 100644 dist/apps/admin-gui/243.6b69d0ec988a45bf.js delete mode 100644 dist/apps/admin-gui/358.2f59846edf0d8d73.js create mode 100644 dist/apps/admin-gui/358.68c9abd8013a978d.js delete mode 100644 dist/apps/admin-gui/385.9a4ce74576f54406.js create mode 100644 dist/apps/admin-gui/484.a4933cabff055e4e.js delete mode 100644 dist/apps/admin-gui/50.1365ffde5b298701.js create mode 100644 dist/apps/admin-gui/50.2f6574a040f40e25.js create mode 100644 dist/apps/admin-gui/892.2e699f7cea038bc2.js delete mode 100644 dist/apps/admin-gui/892.30b3ccb9e69a8b2b.js create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/consent-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/roles.svg delete mode 100644 dist/apps/admin-gui/main.29613357003f9d7b.js create mode 100644 dist/apps/admin-gui/main.ec14d8783ca85d8a.js rename dist/apps/admin-gui/{runtime.8648d4343c055fd9.js => runtime.9f3d4efaa22d5616.js} (79%) delete mode 100644 dist/apps/password-reset/main.d5b4595635fd9f8e.js create mode 100644 dist/apps/password-reset/main.dccfaf9098829230.js delete mode 100644 dist/apps/publications/main.88ec76e5f4f5ae20.js create mode 100644 dist/apps/publications/main.ce0bae2ff5330a1e.js create mode 100644 dist/apps/user-profile/main.6e09f04771c04e02.js delete mode 100644 dist/apps/user-profile/main.7f275cd02335c877.js rename dist/apps/user-profile/{styles.6560ce4db354dc40.css => styles.7ef077fc55af1f73.css} (99%) diff --git a/dist/apps/admin-gui/142.43a9f0a12ce945d0.js b/dist/apps/admin-gui/142.43a9f0a12ce945d0.js deleted file mode 100644 index 8fdc42559..000000000 --- a/dist/apps/admin-gui/142.43a9f0a12ce945d0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[142],{54668:(K,P,i)=>{i.d(P,{l:()=>d});var R=i(48966),c=i(9315),e=i(36908),s=i(10036),t=i(20449),D=i(64080),l=i(93075),n=i(5e3),M=i(51062),N=i(67322),b=i(98833),L=i(47423),y=i(25245),Y=i(69808),C=i(64877),Z=i(98380),E=i(20773);function I(r,m){if(1&r&&n._UZ(0,"app-users-list",14),2&r){const h=n.oxw(2);n.Q6J("tableId",h.tableId)("displayedColumns",h.displayedColumns)("users",h.identities)("disableRouting",!0)("selection",h.selection)}}function O(r,m){if(1&r&&(n.TgZ(0,"div"),n.YNc(1,I,1,5,"app-users-list",13),n.qZA()),2&r){const h=n.oxw();n.xp6(1),n.Q6J("ngIf",void 0!==h.identities&&h.identities.length>0)}}function p(r,m){1&r&&(n.TgZ(0,"app-alert",15),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&r&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"DIALOGS.CONNECT_IDENTITY.SEARCH_HINT")," "))}function T(r,m){1&r&&(n.TgZ(0,"app-alert",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&r&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"DIALOGS.CONNECT_IDENTITY.NO_IDENTITIES")," "))}function _(r,m){1&r&&n._UZ(0,"mat-spinner",17)}let d=(()=>{class r{constructor(h,U,J,Q,G,V){this.dialogRef=h,this.data=U,this.userManager=J,this.storeService=Q,this.notificator=G,this.translate=V,this.loading=!1,this.selection=new t.Ov(!1,[]),this.firstSearchDone=!1,this.displayedColumns=["select","id","user","name","email","logins","organization"],this.tableId=s.Iz}ngOnInit(){this.target=this.data.target,this.theme=this.data.theme,this.userId=this.data.userId,this.isService=this.data.isService,this.searchCtrl=new l.NI("",[l.kI.required,l.kI.pattern(".*[\\S]+.*")])}onAdd(){let h,U;this.loading=!0,this.isService?(h=this.selection.selected[0].id,U=this.userId):(h=this.userId,U=this.selection.selected[0].id),this.userManager.addSpecificUserOwner(h,U).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CONNECT_IDENTITY.SUCCESS")),this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}onSearchByString(){if(this.searchCtrl.invalid)return void this.searchCtrl.markAllAsTouched();this.loading=!0,this.firstSearchDone=!0;let h=[D.r.USER_DEF_ORGANIZATION,D.r.USER_DEF_PREFERRED_MAIL];h=h.concat(this.storeService.getLoginAttributeNames()),this.userManager.findRichUsersWithAttributes(this.searchCtrl.value,h).subscribe(U=>{this.identities=this.filterIdentities(U),this.loading=!1},()=>{this.loading=!1})}onKeyInput(h){"Enter"===h.key&&this.onSearchByString()}filterIdentities(h){return h.filter(this.isService?U=>!U.serviceUser:U=>U.serviceUser)}}return r.\u0275fac=function(h){return new(h||r)(n.Y36(R.so),n.Y36(R.WI),n.Y36(c.Fv),n.Y36(e.d6),n.Y36(e.V6),n.Y36(M.sK))},r.\u0275cmp=n.Xpm({type:r,selectors:[["app-connect-identity-dialog"]],decls:26,vars:25,consts:[[3,"keyup"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"mr-2","search-field","no-border-mat-input"],["matInput","","autocomplete","false",3,"placeholder","formControl"],["mat-flat-button","","color","primary",1,"mr-2","search-btn",3,"disabled","click"],[4,"ngIf"],["alert_type","info",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"tableId","displayedColumns","users","disableRouting","selection",4,"ngIf"],[3,"tableId","displayedColumns","users","disableRouting","selection"],["alert_type","info"],["alert_type","warn"],[1,"ml-auto","mr-auto"]],template:function(h,U){1&h&&(n.TgZ(0,"div",0),n.NdJ("keyup",function(Q){return U.onKeyInput(Q)}),n.TgZ(1,"h1",1),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"div",2),n.TgZ(5,"mat-form-field",3),n.TgZ(6,"label"),n._UZ(7,"input",4),n.ALo(8,"translate"),n.qZA(),n.TgZ(9,"mat-error"),n._uU(10),n.ALo(11,"translate"),n.qZA(),n.qZA(),n.TgZ(12,"button",5),n.NdJ("click",function(){return U.onSearchByString()}),n.TgZ(13,"mat-icon"),n._uU(14,"search"),n.qZA(),n.qZA(),n.YNc(15,O,2,1,"div",6),n.YNc(16,p,3,3,"app-alert",7),n.YNc(17,T,3,3,"app-alert",8),n.qZA(),n.YNc(18,_,1,0,"mat-spinner",9),n.TgZ(19,"div",10),n.TgZ(20,"button",11),n.NdJ("click",function(){return U.onCancel()}),n._uU(21),n.ALo(22,"translate"),n.qZA(),n.TgZ(23,"button",12),n.NdJ("click",function(){return U.onAdd()}),n._uU(24),n.ALo(25,"translate"),n.qZA(),n.qZA(),n.qZA()),2&h&&(n.Tol(U.theme),n.xp6(2),n.Oqu(n.lcZ(3,15,"DIALOGS.CONNECT_IDENTITY.TITLE_"+U.target)),n.xp6(5),n.s9C("placeholder",n.lcZ(8,17,"DIALOGS.CONNECT_IDENTITY.SEARCH")),n.Q6J("formControl",U.searchCtrl),n.xp6(3),n.hij(" ",n.lcZ(11,19,"DIALOGS.CONNECT_IDENTITY.EMPTY_SEARCH_MESSAGE")," "),n.xp6(2),n.Q6J("disabled",U.loading),n.xp6(3),n.Q6J("ngIf",!U.loading),n.xp6(1),n.Q6J("ngIf",!U.firstSearchDone),n.xp6(1),n.Q6J("ngIf",!U.loading&&U.firstSearchDone&&0===U.identities.length),n.xp6(1),n.Q6J("ngIf",U.loading),n.xp6(3),n.hij(" ",n.lcZ(22,21,"DIALOGS.CONNECT_IDENTITY.CANCEL")," "),n.xp6(2),n.Q6J("disabled",0===U.selection.selected.length),n.xp6(1),n.hij(" ",n.lcZ(25,23,"DIALOGS.CONNECT_IDENTITY.CONNECT")," "))},directives:[R.uh,R.xY,N.KE,b.Nt,l.Fj,l.JJ,l.oH,N.TO,L.lW,y.Hw,Y.O5,C.C,Z.w,E.$g,R.H8],pipes:[M.X$],styles:[".search-field[_ngcontent-%COMP%]{width:300px}.search-btn[_ngcontent-%COMP%]{width:50px}"]}),r})()},94814:(K,P,i)=>{i.d(P,{B:()=>E});var R=i(9315),c=i(48966),e=i(36908),s=i(32075),t=i(5e3),D=i(51062),l=i(69808),n=i(98380),M=i(47423),N=i(31359);function b(I,O){1&I&&t._UZ(0,"th",13)}function L(I,O){if(1&I&&(t.TgZ(0,"td",14),t._uU(1),t.ALo(2,"userFullName"),t.qZA()),2&I){const p=O.$implicit;t.xp6(1),t.Oqu(t.lcZ(2,1,p))}}function y(I,O){1&I&&t._UZ(0,"tr",15)}function Y(I,O){1&I&&t._UZ(0,"tr",16)}function C(I,O){1&I&&(t.TgZ(0,"app-alert",17),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&I&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.DISCONNECT_IDENTITY.WARNING_DISCONNECT_YOURSELF")," "))}function Z(I,O){1&I&&(t.TgZ(0,"app-alert",17),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&I&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.DISCONNECT_IDENTITY.WARNING_LAST_USER")," "))}let E=(()=>{class I{constructor(p,T,_,d,r,m){this.dialogRef=p,this.data=T,this.userManager=_,this.notificator=d,this.translate=r,this.store=m,this.displayedColumns=["name"]}ngOnInit(){let p;this.targetTitle=this.data.targetTitle,this.targetDescription=this.data.targetDescription,this.theme=this.data.theme,this.userId=Number(this.data.userId),this.dataSource=new s.by([this.data.specificUser]),this.isService=this.data.isService,this.isService?(p=this.userId,this.disconnectingSelf=this.dataSource.data[0].id===this.store.getPerunPrincipal().userId):(p=this.dataSource.data[0].id,this.disconnectingSelf=this.userId===this.store.getPerunPrincipal().userId),this.userManager.getUsersBySpecificUser(p).subscribe(T=>{this.disconnectingLastOwner=1===T.length})}onConfirm(){let p,T;this.isService?(p=this.dataSource.data[0].id,T=this.userId):(p=this.userId,T=this.dataSource.data[0].id),this.userManager.removeSpecificUserOwner(p,T).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.DISCONNECT_IDENTITY.SUCCESS")),this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}}return I.\u0275fac=function(p){return new(p||I)(t.Y36(c.so),t.Y36(c.WI),t.Y36(R.Fv),t.Y36(e.V6),t.Y36(D.sK),t.Y36(e.d6))},I.\u0275cmp=t.Xpm({type:I,selectors:[["app-disconnect-identity-dialog"]],decls:26,vars:23,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["alert_type","warn"]],template:function(p,T){1&p&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.TgZ(4,"div",1),t.TgZ(5,"p"),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"div",2),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"table",3),t.ynx(12,4),t.YNc(13,b,1,0,"th",5),t.YNc(14,L,3,3,"td",6),t.BQk(),t.YNc(15,y,1,0,"tr",7),t.YNc(16,Y,1,0,"tr",8),t.qZA(),t.YNc(17,C,3,3,"app-alert",9),t.YNc(18,Z,3,3,"app-alert",9),t.qZA(),t.TgZ(19,"div",10),t.TgZ(20,"button",11),t.NdJ("click",function(){return T.onCancel()}),t._uU(21),t.ALo(22,"translate"),t.qZA(),t.TgZ(23,"button",12),t.NdJ("click",function(){return T.onConfirm()}),t._uU(24),t.ALo(25,"translate"),t.qZA(),t.qZA(),t.qZA()),2&p&&(t.xp6(1),t.Oqu(t.lcZ(2,13,"DIALOGS.DISCONNECT_IDENTITY.TITLE_"+T.targetTitle)),t.xp6(2),t.Tol(T.theme),t.xp6(3),t.Oqu(t.lcZ(7,15,"DIALOGS.DISCONNECT_IDENTITY.DESCRIPTION_"+T.targetDescription)),t.xp6(3),t.hij(" ",t.lcZ(10,17,"DIALOGS.DISCONNECT_IDENTITY.ASK")," "),t.xp6(2),t.Q6J("dataSource",T.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",T.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",T.displayedColumns),t.xp6(1),t.Q6J("ngIf",T.disconnectingSelf),t.xp6(1),t.Q6J("ngIf",T.disconnectingLastOwner),t.xp6(3),t.hij(" ",t.lcZ(22,19,"DIALOGS.DISCONNECT_IDENTITY.CANCEL")," "),t.xp6(3),t.hij(" ",t.lcZ(25,21,"DIALOGS.DISCONNECT_IDENTITY.REMOVE")," "))},directives:[c.uh,c.xY,s.BZ,s.w1,s.fO,s.ge,s.Dz,s.ev,s.as,s.XQ,s.nj,s.Gk,l.O5,n.w,c.H8,M.lW],pipes:[D.X$,N.d],styles:[""]}),I})()},29862:(K,P,i)=>{i.d(P,{x:()=>Z});var R=i(9315),c=i(48966),e=i(36908),s=i(93075),t=i(5e3),D=i(51062),l=i(67322),n=i(98833),M=i(69808),N=i(47423);function b(E,I){1&E&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&E&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function L(E,I){1&E&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&E&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function y(E,I){1&E&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&E&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_FIRST_NAME")))}function Y(E,I){1&E&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&E&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function C(E,I){1&E&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&E&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LAST_NAME")))}let Z=(()=>{class E{constructor(O,p,T,_,d){this.dialogRef=O,this.data=p,this.userService=T,this.notificator=_,this.translateService=d,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.titleBefore=new s.NI(this.data.user.titleBefore,[s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)]),this.titleAfter=new s.NI(this.data.user.titleAfter,[s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)]),this.firstName=new s.NI(this.data.user.firstName,[s.kI.required,s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)]),this.middleName=new s.NI(this.data.user.middleName,[s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)]),this.lastName=new s.NI(this.data.user.lastName,[s.kI.required,s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)])}onCancel(){this.dialogRef.close(!1)}onSave(){this.loading=!0,this.data.user.titleBefore=this.titleBefore.value,this.data.user.titleAfter=this.titleAfter.value,this.data.user.firstName=this.firstName.value,this.data.user.middleName=this.middleName.value,this.data.user.lastName=this.lastName.value,this.userService.updateUser({user:this.data.user}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_USER.SUCCESS").subscribe(O=>{this.notificator.showSuccess(O),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return E.\u0275fac=function(O){return new(O||E)(t.Y36(c.so),t.Y36(c.WI),t.Y36(R.Fv),t.Y36(e.V6),t.Y36(D.sK))},E.\u0275cmp=t.Xpm({type:E,selectors:[["app-edit-user-dialog"]],decls:32,vars:38,consts:[[1,"mat-dialog-title"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"formControl","placeholder"],[4,"ngIf"],["matInput","","required","",3,"formControl","placeholder"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(O,p){1&O&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",1),t.TgZ(5,"mat-form-field"),t._UZ(6,"input",2),t.ALo(7,"translate"),t.YNc(8,b,3,3,"mat-error",3),t.qZA(),t.TgZ(9,"mat-form-field"),t._UZ(10,"input",2),t.ALo(11,"translate"),t.YNc(12,L,3,3,"mat-error",3),t.qZA(),t.TgZ(13,"mat-form-field"),t._UZ(14,"input",4),t.ALo(15,"translate"),t.YNc(16,y,3,3,"mat-error",3),t.qZA(),t.TgZ(17,"mat-form-field"),t._UZ(18,"input",2),t.ALo(19,"translate"),t.YNc(20,Y,3,3,"mat-error",3),t.qZA(),t.TgZ(21,"mat-form-field"),t._UZ(22,"input",4),t.ALo(23,"translate"),t.YNc(24,C,3,3,"mat-error",3),t.qZA(),t.qZA(),t.TgZ(25,"div",5),t.TgZ(26,"button",6),t.NdJ("click",function(){return p.onCancel()}),t._uU(27),t.ALo(28,"translate"),t.qZA(),t.TgZ(29,"button",7),t.NdJ("click",function(){return p.onSave()}),t._uU(30),t.ALo(31,"translate"),t.qZA(),t.qZA(),t.qZA()),2&O&&(t.Tol(p.theme),t.xp6(2),t.Oqu(t.lcZ(3,22,"DIALOGS.EDIT_USER.DIALOG_TITLE")),t.xp6(4),t.s9C("placeholder",t.lcZ(7,24,"DIALOGS.EDIT_USER.TITLE_BEFORE")),t.Q6J("formControl",p.titleBefore),t.xp6(2),t.Q6J("ngIf",p.titleBefore.invalid),t.xp6(2),t.s9C("placeholder",t.lcZ(11,26,"DIALOGS.EDIT_USER.TITLE_AFTER")),t.Q6J("formControl",p.titleAfter),t.xp6(2),t.Q6J("ngIf",p.titleAfter.invalid),t.xp6(2),t.s9C("placeholder",t.lcZ(15,28,"DIALOGS.EDIT_USER.FIRST_NAME")),t.Q6J("formControl",p.firstName),t.xp6(2),t.Q6J("ngIf",p.firstName.invalid),t.xp6(2),t.s9C("placeholder",t.lcZ(19,30,"DIALOGS.EDIT_USER.MIDDLE_NAME")),t.Q6J("formControl",p.middleName),t.xp6(2),t.Q6J("ngIf",p.middleName.invalid),t.xp6(2),t.s9C("placeholder",t.lcZ(23,32,"DIALOGS.EDIT_USER.LAST_NAME")),t.Q6J("formControl",p.lastName),t.xp6(2),t.Q6J("ngIf",p.lastName.invalid),t.xp6(3),t.hij(" ",t.lcZ(28,34,"DIALOGS.EDIT_USER.CANCEL")," "),t.xp6(2),t.Q6J("disabled",p.loading||p.firstName.invalid||p.lastName.invalid||p.titleBefore.invalid||p.titleAfter.invalid||p.middleName.invalid),t.xp6(1),t.hij(" ",t.lcZ(31,36,"DIALOGS.EDIT_USER.SAVE")," "))},directives:[c.xY,l.KE,n.Nt,s.Fj,s.JJ,s.oH,M.O5,l.TO,s.Q7,c.H8,N.lW],pipes:[D.X$],styles:[""]}),E})()},98973:(K,P,i)=>{i.d(P,{u:()=>Y});var R=i(36908),c=i(5e3),e=i(30325),s=i(53251),t=i(12651),D=i(69808),l=i(19191),n=i(51062);function M(C,Z){1&C&&(c._uU(0),c.ALo(1,"translate")),2&C&&c.hij(" ",c.lcZ(1,1,"ADMIN_USER.ENTITY")," ")}function N(C,Z){if(1&C&&c._UZ(0,"app-one-entity-attribute-page",5),2&C){const E=c.oxw();c.Q6J("entityId",E.userId)("entity","user")}}function b(C,Z){1&C&&(c._uU(0),c.ALo(1,"translate"),c.ALo(2,"translate")),2&C&&c.AsE(" ",c.lcZ(1,2,"ADMIN_USER.ENTITY")," - ",c.lcZ(2,4,"FACILITY_DETAIL.ENTITY")," ")}function L(C,Z){if(1&C&&c._UZ(0,"app-two-entity-attribute-page",6),2&C){const E=c.oxw(2);c.Q6J("firstEntity","user")("firstEntityId",E.userId)("secondEntity","facility")}}function y(C,Z){1&C&&(c.TgZ(0,"mat-tab"),c.YNc(1,b,3,6,"ng-template",2),c.YNc(2,L,1,3,"ng-template",3),c.qZA())}let Y=(()=>{class C{constructor(E,I,O){this.route=E,this.store=I,this.authResolver=O}ngOnInit(){this.route.parent.params.subscribe(E=>{this.userId=E.userId,void 0===this.userId&&(this.userId=this.store.getPerunPrincipal().userId),this.userFacilityAttAuth=this.authResolver.isAuthorized("getAssignedFacilities_User_policy",[{id:this.userId,beanName:"User"}])})}}return C.\u0275fac=function(E){return new(E||C)(c.Y36(e.gz),c.Y36(R.d6),c.Y36(R.x4))},C.\u0275cmp=c.Xpm({type:C,selectors:[["app-user-settings-attributes"]],hostVars:2,hostBindings:function(E,I){2&E&&c.ekj("router-component",I.true)},decls:8,vars:4,consts:[[1,"page-subtitle"],[1,"mb-2"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entityId","entity"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(E,I){1&E&&(c.TgZ(0,"h1",0),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.TgZ(3,"mat-tab-group"),c.TgZ(4,"mat-tab",1),c.YNc(5,M,2,3,"ng-template",2),c.YNc(6,N,1,2,"ng-template",3),c.qZA(),c.YNc(7,y,3,0,"mat-tab",4),c.qZA()),2&E&&(c.xp6(1),c.Oqu(c.lcZ(2,2,"USER_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),c.xp6(6),c.Q6J("ngIf",I.userFacilityAttAuth))},directives:[s.SP,s.uX,s.uD,s.Vc,t.t,D.O5,l.Y],pipes:[n.X$],styles:[""]}),C})()},85985:(K,P,i)=>{i.d(P,{u:()=>T});var R=i(36908),c=i(9315),e=i(10036),s=i(5e3),t=i(30325),D=i(69808),l=i(96214),n=i(7434),M=i(20773),N=i(24179),b=i(51062);function L(_,d){1&_&&(s.TgZ(0,"h1",6),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&_&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.YOU_ARE_MEMBER"),"\n"))}function y(_,d){1&_&&(s.TgZ(0,"h1",6),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&_&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.USER_IS_MEMBER"),"\n"))}function Y(_,d){1&_&&s._UZ(0,"mat-spinner",7)}const C=function(){return["id","vo","name","description","status"]};function Z(_,d){if(1&_&&s._UZ(0,"perun-web-apps-groups-list",8),2&_){const r=s.oxw();s.Q6J("tableId",r.tableId)("groups",r.membersGroups)("displayedColumns",s.DdM(5,C))("disableMembers",!1)("filter",r.memberFilterValue)}}function E(_,d){1&_&&s._UZ(0,"mat-spinner",7)}const I=function(){return["id","vo","name","description"]};function O(_,d){if(1&_&&s._UZ(0,"perun-web-apps-groups-list",8),2&_){const r=s.oxw(2);s.Q6J("tableId",r.adminTableId)("groups",r.adminsGroups)("displayedColumns",s.DdM(5,I))("disableMembers",!1)("filter",r.adminFilterValue)}}function p(_,d){if(1&_){const r=s.EpF();s.TgZ(0,"div",9),s.TgZ(1,"h1",6),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return s.CHM(r),s.oxw().refreshAdminTable()}),s.qZA(),s.TgZ(5,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(h){return s.CHM(r),s.oxw().adminFilter(h)}),s.qZA(),s.YNc(6,E,1,0,"mat-spinner",3),s.YNc(7,O,1,6,"perun-web-apps-groups-list",4),s.qZA()}if(2&_){const r=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,4,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.USER_IS_ADMIN")," "),s.xp6(3),s.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),s.xp6(1),s.Q6J("ngIf",r.adminRefresh),s.xp6(1),s.Q6J("ngIf",!r.adminRefresh)}}let T=(()=>{class _{constructor(r,m,h,U,J){this.usersService=r,this.memberService=m,this.groupService=h,this.store=U,this.route=J,this.memberFilterValue="",this.adminFilterValue="",this.vos=[],this.membersGroups=[],this.adminsGroups=[],this.tableId=e.KE,this.adminTableId=e.Sb}ngOnInit(){!0===(this.showPrincipal=this.route.snapshot.data.showPrincipal)?this.userId=this.store.getPerunPrincipal().user.id:this.route.parent.params.subscribe(r=>this.userId=r.userId),this.refreshAdminTable(),this.refreshMemberTable()}memberFilter(r){this.memberFilterValue=r}adminFilter(r){this.adminFilterValue=r}refreshAdminTable(){this.adminRefresh=!0,this.usersService.getGroupsWhereUserIsAdmin(this.userId).subscribe(r=>{this.adminsGroups=r,this.adminRefresh=!1})}refreshMemberTable(){this.memberRefresh=!0,this.membersGroups=[],this.usersService.getVosWhereUserIsMember(this.userId).subscribe(r=>{this.vos=r;for(const m of this.vos)this.memberService.getMemberByUser(m.id,this.userId).subscribe(h=>{this.groupService.getMemberGroups(h.id).subscribe(U=>{this.membersGroups=this.membersGroups.concat(U),this.vos.indexOf(m)===this.vos.length-1&&(this.memberRefresh=!1)})});0===r.length&&(this.memberRefresh=!1)})}}return _.\u0275fac=function(r){return new(r||_)(s.Y36(c.Fv),s.Y36(c.uq),s.Y36(c.ff),s.Y36(R.d6),s.Y36(t.gz))},_.\u0275cmp=s.Xpm({type:_,selectors:[["app-user-groups"]],hostVars:2,hostBindings:function(r,m){2&r&&s.ekj("router-component",m.true)},decls:7,vars:6,consts:[["class","page-subtitle",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","groups","displayedColumns","disableMembers","filter",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-subtitle"],[1,"ml-auto","mr-auto"],[3,"tableId","groups","displayedColumns","disableMembers","filter"],[1,"mt-5"]],template:function(r,m){1&r&&(s.YNc(0,L,3,3,"h1",0),s.YNc(1,y,3,3,"h1",0),s.TgZ(2,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return m.refreshMemberTable()}),s.qZA(),s.TgZ(3,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(U){return m.memberFilter(U)}),s.qZA(),s.YNc(4,Y,1,0,"mat-spinner",3),s.YNc(5,Z,1,6,"perun-web-apps-groups-list",4),s.YNc(6,p,8,6,"div",5)),2&r&&(s.Q6J("ngIf",m.showPrincipal),s.xp6(1),s.Q6J("ngIf",!m.showPrincipal),s.xp6(2),s.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),s.xp6(1),s.Q6J("ngIf",m.memberRefresh),s.xp6(1),s.Q6J("ngIf",!m.memberRefresh),s.xp6(1),s.Q6J("ngIf",!m.showPrincipal))},directives:[D.O5,l.t,n.L,M.$g,N.W],pipes:[b.X$],styles:[""]}),_})()},74837:(K,P,i)=>{i.d(P,{j:()=>O});var R=i(9315),c=i(36908),e=i(10036),s=i(5e3),t=i(30325),D=i(69808),l=i(96214),n=i(7434),M=i(20773),N=i(87831),b=i(51062);function L(p,T){1&p&&(s.TgZ(0,"h1",6),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&p&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.YOU_ARE_MEMBER"),"\n"))}function y(p,T){1&p&&(s.TgZ(0,"h1",6),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&p&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_MEMBER"),"\n"))}function Y(p,T){1&p&&s._UZ(0,"mat-spinner",7)}function C(p,T){if(1&p&&s._UZ(0,"perun-web-apps-vos-list",8),2&p){const _=s.oxw();s.Q6J("displayedColumns",_.displayedColumns)("tableId",_.memberTableId)("filterValue",_.memberFilterValue)("vos",_.vosWhereIsMember)}}function Z(p,T){1&p&&s._UZ(0,"mat-spinner",7)}function E(p,T){if(1&p&&s._UZ(0,"perun-web-apps-vos-list",8),2&p){const _=s.oxw(2);s.Q6J("displayedColumns",_.displayedColumns)("tableId",_.adminTableId)("filterValue",_.adminFilterValue)("vos",_.vosWhereIsAdmin)}}function I(p,T){if(1&p){const _=s.EpF();s.TgZ(0,"div",9),s.TgZ(1,"h1",6),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return s.CHM(_),s.oxw().refreshAdminTable()}),s.qZA(),s.TgZ(5,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(r){return s.CHM(_),s.oxw().applyAdminFilter(r)}),s.qZA(),s.YNc(6,Z,1,0,"mat-spinner",3),s.YNc(7,E,1,4,"perun-web-apps-vos-list",4),s.qZA()}if(2&p){const _=s.oxw();s.xp6(2),s.Oqu(s.lcZ(3,4,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_ADMIN")),s.xp6(3),s.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),s.xp6(1),s.Q6J("ngIf",_.adminRefresh),s.xp6(1),s.Q6J("ngIf",!_.adminRefresh)}}let O=(()=>{class p{constructor(_,d,r,m){this.usersService=_,this.authResolver=d,this.store=r,this.route=m,this.adminFilterValue="",this.memberFilterValue="",this.displayedColumns=["id","name"],this.adminTableId=e.YF,this.memberTableId=e.gc}ngOnInit(){!0===(this.isMyProfile=this.route.snapshot.data.showPrincipal)?this.userId=this.store.getPerunPrincipal().user.id:this.route.parent.params.subscribe(_=>this.userId=_.userId),this.refreshAdminTable(),this.refreshMemberTable()}refreshMemberTable(){this.memberRefresh=!0,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(_=>{this.vosWhereIsMember=_,this.memberRefresh=!1},()=>this.memberRefresh=!1)}refreshAdminTable(){this.adminRefresh=!0,this.usersService.getVosWhereUserIsAdmin(this.userId).subscribe(_=>{this.vosWhereIsAdmin=_,this.adminRefresh=!1},()=>this.adminRefresh=!1)}applyMemberFilter(_){this.memberFilterValue=_}applyAdminFilter(_){this.adminFilterValue=_}}return p.\u0275fac=function(_){return new(_||p)(s.Y36(R.Fv),s.Y36(c.x4),s.Y36(c.d6),s.Y36(t.gz))},p.\u0275cmp=s.Xpm({type:p,selectors:[["app-user-organizations"]],hostVars:2,hostBindings:function(_,d){2&_&&s.ekj("router-component",d.true)},decls:7,vars:6,consts:[["class","page-subtitle",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"displayedColumns","tableId","filterValue","vos",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-subtitle"],[1,"mr-auto","ml-auto"],[3,"displayedColumns","tableId","filterValue","vos"],[1,"mt-5"]],template:function(_,d){1&_&&(s.YNc(0,L,3,3,"h1",0),s.YNc(1,y,3,3,"h1",0),s.TgZ(2,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return d.refreshMemberTable()}),s.qZA(),s.TgZ(3,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(m){return d.applyMemberFilter(m)}),s.qZA(),s.YNc(4,Y,1,0,"mat-spinner",3),s.YNc(5,C,1,4,"perun-web-apps-vos-list",4),s.YNc(6,I,8,6,"div",5)),2&_&&(s.Q6J("ngIf",d.isMyProfile),s.xp6(1),s.Q6J("ngIf",!d.isMyProfile),s.xp6(2),s.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),s.xp6(1),s.Q6J("ngIf",d.memberRefresh),s.xp6(1),s.Q6J("ngIf",!d.memberRefresh),s.xp6(1),s.Q6J("ngIf",!d.isMyProfile))},directives:[D.O5,l.t,n.L,M.$g,N.Z],pipes:[b.X$],styles:[""]}),p})()},17755:(K,P,i)=>{i.d(P,{Z:()=>_});var R=i(9315),c=i(32075),e=i(36908),s=i(64080),t=i(9244),D=i(84379),l=i(5e3),n=i(30325),M=i(48966),N=i(69808),b=i(9224),L=i(47423),y=i(25245),Y=i(71135),C=i(51062);function Z(d,r){1&d&&l._UZ(0,"th",12)}function E(d,r){if(1&d&&(l.TgZ(0,"td",13),l._uU(1),l.qZA()),2&d){const m=r.$implicit;l.xp6(1),l.hij(" ",m.displayName,": ")}}function I(d,r){1&d&&l._UZ(0,"th",12)}function O(d,r){if(1&d){const m=l.EpF();l.TgZ(0,"td",14),l._uU(1),l.TgZ(2,"button",15),l.NdJ("click",function(){return l.CHM(m),l.oxw(2).changeEmail()}),l.TgZ(3,"mat-icon"),l._uU(4,"edit"),l.qZA(),l.qZA(),l.qZA()}if(2&d){const m=r.$implicit;l.xp6(1),l.hij(" ",m.value," ")}}function p(d,r){1&d&&l._UZ(0,"tr",16)}function T(d,r){if(1&d&&(l.TgZ(0,"div",2),l.TgZ(1,"mat-card",3),l.TgZ(2,"mat-card-header"),l.TgZ(3,"mat-card-title"),l.TgZ(4,"h1",4),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.qZA(),l.qZA(),l.TgZ(7,"mat-card-content"),l.TgZ(8,"table",5),l.ynx(9,6),l.YNc(10,Z,1,0,"th",7),l.YNc(11,E,2,1,"td",8),l.BQk(),l.ynx(12,9),l.YNc(13,I,1,0,"th",7),l.YNc(14,O,5,1,"td",10),l.BQk(),l.YNc(15,p,1,0,"tr",11),l.qZA(),l.qZA(),l.qZA(),l.qZA()),2&d){const m=l.oxw();l.xp6(5),l.Oqu(l.lcZ(6,3,"USER_DETAIL.OVERVIEW.GENERAL_SETTINGS")),l.xp6(3),l.Q6J("dataSource",m.mailDataSource),l.xp6(7),l.Q6J("matRowDefColumns",m.displayedColumns)}}let _=(()=>{class d{constructor(m,h,U,J,Q){this.userService=m,this.attributeService=h,this.storeService=U,this.route=J,this.dialog=Q,this.navItems=[],this.isServiceUser=!1,this.displayedColumns=["name","value"],this.inMyProfile=!1}ngOnInit(){this.route.params.subscribe(m=>{void 0!==m.userId?this.userService.getUserById(m.userId).subscribe(h=>{this.user=h,this.isServiceUser=h.serviceUser,this.initNavItems()}):(this.inMyProfile=!0,this.userID=this.storeService.getPerunPrincipal().user.id,this.attributeService.getUserAttributeByName(this.userID,s.r.USER_DEF_PREFERRED_MAIL).subscribe(h=>{this.preferredMail=h,this.handleMailNotDefined(),this.mailDataSource=new c.by([this.preferredMail]),this.initNavItems()}))})}initNavItems(){this.navItems=[{cssIcon:"perun-vo",url:"organizations",label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",style:"user-btn"},{cssIcon:"perun-group",url:"groups",label:"MENU_ITEMS.ADMIN.GROUPS",style:"user-btn"}],window.location.pathname.startsWith("/admin")&&this.navItems.push({cssIcon:"perun-user",url:"accounts",label:"MENU_ITEMS.USER.ACCOUNTS",style:"user-btn"},{cssIcon:"perun-group",url:"identities",label:"MENU_ITEMS.USER.IDENTITIES",style:"user-btn"},{cssIcon:"perun-facility-white",url:"facilities",label:"MENU_ITEMS.USER.FACILITIES",style:"user-btn"},{cssIcon:"perun-resource",url:"resources",label:"MENU_ITEMS.USER.RESOURCES",style:"user-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:"attributes",label:"MENU_ITEMS.USER.ATTRIBUTES",style:"user-btn"}),this.navItems.push({cssIcon:"perun-group",url:"roles",label:"MENU_ITEMS.USER.ROLES",style:"user-btn"}),this.navItems.push(this.isServiceUser?{cssIcon:"perun-user-dark",url:"associated-users",label:"MENU_ITEMS.USER.ASSOCIATED_USERS",style:"user-btn"}:{cssIcon:"perun-service-identity",url:"service-identities",label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",style:"user-btn"}),window.location.pathname.startsWith("/admin")||this.navItems.push({cssIcon:"perun-settings2",url:"settings",label:"MENU_ITEMS.ADMIN.SETTINGS",style:"user-btn"})}changeEmail(){const m=(0,t.kZ)();m.width="350px",m.data={userId:this.userID},this.dialog.open(D.gr,m).afterClosed().subscribe(U=>{U&&this.attributeService.getUserAttributeByName(this.userID,s.r.USER_DEF_PREFERRED_MAIL).subscribe(J=>{this.preferredMail=J,this.handleMailNotDefined(),this.mailDataSource=new c.by([this.preferredMail])})})}handleMailNotDefined(){null==this.preferredMail&&(this.preferredMail={id:-1,beanName:"Attribute",displayName:(0,t.Cz)(s.r.USER_DEF_PREFERRED_MAIL.split(":").pop()),value:Object("-")})}}return d.\u0275fac=function(m){return new(m||d)(l.Y36(R.Fv),l.Y36(R.H8),l.Y36(e.d6),l.Y36(n.gz),l.Y36(M.uw))},d.\u0275cmp=l.Xpm({type:d,selectors:[["app-user-overview"]],hostVars:2,hostBindings:function(m,h){2&m&&l.ekj("router-component",h.true)},decls:2,vars:3,consts:[["class","align-cards",4,"ngIf"],[3,"items","size"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"page-subtitle"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],["mat-icon-button","",1,"ml-3",3,"click"],["mat-row",""]],template:function(m,h){1&m&&(l.YNc(0,T,16,5,"div",0),l._UZ(1,"perun-web-apps-menu-buttons-field",1)),2&m&&(l.Q6J("ngIf",h.inMyProfile),l.xp6(1),l.Q6J("items",h.navItems)("size","small"))},directives:[N.O5,b.a8,b.dk,b.n5,b.dn,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,L.lW,y.Hw,c.nj,c.Gk,Y.L],pipes:[C.X$],styles:[".align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}"]}),d})()},6097:(K,P,i)=>{i.d(P,{t:()=>Ve});var R=i(9315),c=i(36908),e=i(5e3),s=i(30325),t=i(69808),D=i(20773),l=i(81125),n=i(25245),M=i(9224),N=i(87831),b=i(64877),L=i(24179),y=i(62109),Y=i(74010),C=i(38383),Z=i(51062);function E(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function I(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function O(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.SELF_VOS_ADMIN")," "))}function p(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.SELF_VOS")," "))}function T(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.SELF_IDENTITIES_ADMIN")," "))}function _(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.SELF_IDENTITIES")," "))}const d=function(){return["user","id","name"]};function r(a,f){if(1&a&&(e.TgZ(0,"div",11),e.YNc(1,T,3,3,"div",2),e.YNc(2,_,3,3,"div",2),e._UZ(3,"app-users-list",12),e.qZA()),2&a){const o=e.oxw(4);e.xp6(1),e.Q6J("ngIf",!o.showDescription),e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("users",o.users)("disableRouting",!0)("displayedColumns",e.DdM(5,d))}}const m=function(){return["id","name","shortName"]};function h(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,O,3,3,"div",2),e.YNc(2,p,3,3,"div",2),e._UZ(3,"perun-web-apps-vos-list",9),e.YNc(4,r,4,6,"div",10),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",!o.showDescription),e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(5,m))("vos",o.vos),e.xp6(1),e.Q6J("ngIf",o.users.length)}}function U(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getSelfData()}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",7),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,I,1,0,"mat-spinner",1),e.YNc(8,h,5,6,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.SELF")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function J(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function Q(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.GROUPADMIN_GROUPS")," "))}const G=function(){return["id","vo","name","description"]};function V(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,Q,3,3,"div",2),e._UZ(2,"perun-web-apps-groups-list",14),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("groups",o.groups)("displayedColumns",e.DdM(3,G))}}function ee(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getAdminGroupsAndVos()}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",13),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,J,1,0,"mat-spinner",1),e.YNc(8,V,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.GROUPADMIN")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function te(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function ne(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.GROUPOBSERVER_GROUPS")," "))}const se=function(){return["id","recent","vo","name","description"]};function ie(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,ne,3,3,"div",2),e._UZ(2,"perun-web-apps-groups-list",14),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("groups",o.groups)("displayedColumns",e.DdM(3,se))}}function ae(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getGroupsAndVos("GROUPOBSERVER")}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",13),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,te,1,0,"mat-spinner",1),e.YNc(8,ie,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.GROUPOBSERVER")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function oe(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function z(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.VOADMIN_VOS")," "))}function H(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,z,3,3,"div",2),e._UZ(2,"perun-web-apps-vos-list",9),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(3,m))("vos",o.vos)}}function re(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getAdminVos()}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",15),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,oe,1,0,"mat-spinner",1),e.YNc(8,H,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.VOADMIN")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function _e(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function le(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.VOOBSERVER_VOS")," "))}function pe(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,le,3,3,"div",2),e._UZ(2,"perun-web-apps-vos-list",9),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(3,m))("vos",o.vos)}}function ce(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){e.CHM(o);const A=e.oxw(2);return A.getVos(A.roles.get("VOOBSERVER").get("Vo"))}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",15),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,_e,1,0,"mat-spinner",1),e.YNc(8,pe,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.VOOBSERVER")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function me(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function ue(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.TRUSTEDFACILITYADMIN_VOS")," "))}function de(a,f){if(1&a&&(e.TgZ(0,"div"),e.TgZ(1,"div"),e.YNc(2,ue,3,3,"div",2),e._UZ(3,"perun-web-apps-vos-list",9),e.qZA(),e.qZA()),2&a){const o=e.oxw(3);e.xp6(2),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(3,m))("vos",o.vos)}}function ge(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){e.CHM(o);const A=e.oxw(2);return A.getVos(A.roles.get("TRUSTEDFACILITYADMIN").get("Vo"))}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",15),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,me,1,0,"mat-spinner",1),e.YNc(8,de,4,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.TRUSTEDFACILITYADMIN")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function fe(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function he(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.TOPGROUPCREATOR_VOS")," "))}function Ee(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,he,3,3,"div",2),e._UZ(2,"perun-web-apps-vos-list",9),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(3,m))("vos",o.vos)}}function X(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){e.CHM(o);const A=e.oxw(2);return A.getVos(A.roles.get("TOPGROUPCREATOR").get("Vo"))}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",15),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,fe,1,0,"mat-spinner",1),e.YNc(8,Ee,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.TOPGROUPCREATOR")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function Ie(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function Te(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.RESOURCEADMIN_RESOURCES")," "))}const q=function(){return["id","name","vo","facility","description"]};function ve(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,Te,3,3,"div",2),e._UZ(2,"perun-web-apps-resources-list",17),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("resources",o.resources)("routingVo",!0)("displayedColumns",e.DdM(4,q))}}function Ue(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getResourcesData("RESOURCEADMIN")}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",16),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,Ie,1,0,"mat-spinner",1),e.YNc(8,ve,3,5,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.RESOURCEADMIN")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function Ae(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function Ce(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.RESOURCEOBSERVER_RESOURCES")," "))}function Re(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,Ce,3,3,"div",2),e._UZ(2,"perun-web-apps-resources-list",17),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("resources",o.resources)("routingVo",!0)("displayedColumns",e.DdM(4,q))}}function Oe(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getResourcesData("RESOURCEOBSERVER")}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",16),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,Ae,1,0,"mat-spinner",1),e.YNc(8,Re,3,5,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.RESOURCEOBSERVER")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function xe(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function Se(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.RESOURCESELFSERVICE_RESOURCES")," "))}function Ze(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,Se,3,3,"div",2),e._UZ(2,"perun-web-apps-resources-list",17),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("resources",o.resources)("routingVo",!0)("displayedColumns",e.DdM(4,q))}}function De(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getResourcesData("RESOURCESELFSERVICE")}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",16),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,xe,1,0,"mat-spinner",1),e.YNc(8,Ze,3,5,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.RESOURCESELFSERVICE")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function Me(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function $(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.FACILITYADMIN_FACILITIES")," "))}const k=function(){return["id","name","description"]};function be(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,$,3,3,"div",2),e._UZ(2,"perun-web-apps-facilities-list",19),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(3,k))("facilities",o.facilities)}}function Ne(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getAdminFacilities()}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",18),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,Me,1,0,"mat-spinner",1),e.YNc(8,be,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.FACILITYADMIN")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function Pe(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function Le(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.FACILITYOBSERVER_FACILITIES")," "))}function ye(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,Le,3,3,"div",2),e._UZ(2,"perun-web-apps-facilities-list",19),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(3,k))("facilities",o.facilities)}}function Ye(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getFacilities("FACILITYOBSERVER")}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",18),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,Pe,1,0,"mat-spinner",1),e.YNc(8,ye,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.FACILITYOBSERVER")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function Be(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function Je(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.SPONSORSHIP_MEMBERS")," "))}const Fe=function(){return["id","fullName","sponsored"]};function Qe(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,Je,3,3,"div",2),e._UZ(2,"perun-web-apps-members-list",20),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("members",o.members)("displayedColumns",e.DdM(3,Fe))}}function g(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getMembers()}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",7),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,Be,1,0,"mat-spinner",1),e.YNc(8,Qe,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.SPONSORSHIP")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function x(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function u(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.SPONSOR_VOS")," "))}function S(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,u,3,3,"div",2),e._UZ(2,"perun-web-apps-vos-list",9),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(3,m))("vos",o.vos)}}function F(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){e.CHM(o);const A=e.oxw(2);return A.getVos(A.roles.get("SPONSOR").get("Vo"))}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",7),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,x,1,0,"mat-spinner",1),e.YNc(8,S,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.SPONSOR")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function w(a,f){1&a&&(e.TgZ(0,"mat-expansion-panel"),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",7),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&a&&(e.xp6(5),e.Oqu(e.lcZ(6,1,"ROLES.PERUN_ADMIN")))}function We(a,f){1&a&&(e.TgZ(0,"mat-expansion-panel"),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",7),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&a&&(e.xp6(5),e.Oqu(e.lcZ(6,1,"ROLES.PERUN_OBSERVER")))}function Ke(a,f){if(1&a&&(e.TgZ(0,"p",22),e._uU(1),e.qZA()),2&a){const o=f.$implicit;e.xp6(1),e.AsE("",o[0]," ids: ",o[1],"")}}function we(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){const B=e.CHM(o).$implicit;return e.oxw(2).getInnerKeys(B)}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",7),e.TgZ(4,"p",8),e._uU(5),e.qZA(),e.qZA(),e.qZA(),e.YNc(6,Ke,2,2,"p",21),e.qZA()}if(2&a){const o=f.$implicit,v=e.oxw(2);e.xp6(5),e.Oqu(o),e.xp6(1),e.Q6J("ngForOf",v.currentIds)}}function Ge(a,f){if(1&a&&(e.TgZ(0,"mat-accordion"),e.YNc(1,U,9,5,"mat-expansion-panel",4),e.YNc(2,ee,9,5,"mat-expansion-panel",4),e.YNc(3,ae,9,5,"mat-expansion-panel",4),e.YNc(4,re,9,5,"mat-expansion-panel",4),e.YNc(5,ce,9,5,"mat-expansion-panel",4),e.YNc(6,ge,9,5,"mat-expansion-panel",4),e.YNc(7,X,9,5,"mat-expansion-panel",4),e.YNc(8,Ue,9,5,"mat-expansion-panel",4),e.YNc(9,Oe,9,5,"mat-expansion-panel",4),e.YNc(10,De,9,5,"mat-expansion-panel",4),e.YNc(11,Ne,9,5,"mat-expansion-panel",4),e.YNc(12,Ye,9,5,"mat-expansion-panel",4),e.YNc(13,g,9,5,"mat-expansion-panel",4),e.YNc(14,F,9,5,"mat-expansion-panel",4),e.YNc(15,w,7,3,"mat-expansion-panel",2),e.YNc(16,We,7,3,"mat-expansion-panel",2),e.YNc(17,we,7,2,"mat-expansion-panel",5),e.qZA()),2&a){const o=e.oxw();e.xp6(1),e.Q6J("ngIf",o.isSelf),e.xp6(1),e.Q6J("ngIf",o.isGroupAdmin),e.xp6(1),e.Q6J("ngIf",o.isGroupObserver),e.xp6(1),e.Q6J("ngIf",o.isVoAdmin),e.xp6(1),e.Q6J("ngIf",o.isVoObserver),e.xp6(1),e.Q6J("ngIf",o.isTrustedFacilityAdmin),e.xp6(1),e.Q6J("ngIf",o.isTopGroupCreator),e.xp6(1),e.Q6J("ngIf",o.isResourceAdmin),e.xp6(1),e.Q6J("ngIf",o.isResourceObserver),e.xp6(1),e.Q6J("ngIf",o.isResourceSelfService),e.xp6(1),e.Q6J("ngIf",o.isFacilityAdmin),e.xp6(1),e.Q6J("ngIf",o.isFacilityObserver),e.xp6(1),e.Q6J("ngIf",o.hasSponsorship),e.xp6(1),e.Q6J("ngIf",o.isSponsor),e.xp6(1),e.Q6J("ngIf",o.isPerunAdmin),e.xp6(1),e.Q6J("ngIf",o.isPerunObserver),e.xp6(1),e.Q6J("ngForOf",o.roleNames)}}let Ve=(()=>{class a{constructor(o,v,A,B,W,j,He,qe,je){this.authzResolverService=o,this.usersManagerService=v,this.vosManagerService=A,this.facilitiesManagerService=B,this.resourcesManagerService=W,this.membersManagerService=j,this.groupsManagerService=He,this.route=qe,this.store=je,this.currentIds=[],this.roles=new Map,this.roleFilter=["SELF","GROUPADMIN","VOADMIN","RESOURCEADMIN","FACILITYADMIN","TOPGROUPCREATOR","SPONSORSHIP","SPONSOR","RESOURCESELFSERVICE","VOOBSERVER","RESOURCEOBSERVER","GROUPOBSERVER","TRUSTEDFACILITYADMIN","FACILITYOBSERVER","PERUNADMIN","PERUNOBSERVER"],this.roleNames=[],this.groups=[],this.vos=[],this.facilities=[],this.users=[],this.resources=[],this.members=[]}ngOnInit(){this.outerLoading=!0,this.route.parent.params.subscribe(o=>{o.userId?(this.userId=o.userId,this.authzResolverService.getUserRoleNames(this.userId).subscribe(v=>{this.roleNames=v.map(A=>A.toUpperCase()),this.authzResolverService.getUserRoles(this.userId).subscribe(A=>{this.prepareRoles(A)})})):(this.showDescription=!0,this.principal=this.store.getPerunPrincipal(),this.userId=this.principal.userId,this.roleNames=Object.keys(this.principal.roles),this.prepareRoles(this.principal.roles))})}prepareRoles(o){this.roleNames.forEach(v=>{const A=new Map;switch(Object.keys(o[v]).forEach(W=>{A.set(W,o[v][W])}),v){case"SELF":this.isSelf=!0;break;case"GROUPADMIN":this.isGroupAdmin=!0;break;case"VOADMIN":this.isVoAdmin=!0;break;case"RESOURCEADMIN":this.isResourceAdmin=!0;break;case"FACILITYADMIN":this.isFacilityAdmin=!0;break;case"TOPGROUPCREATOR":this.isTopGroupCreator=!0;break;case"SPONSORSHIP":this.hasSponsorship=!0;break;case"SPONSOR":this.isSponsor=!0;break;case"RESOURCESELFSERVICE":this.isResourceSelfService=!0;break;case"VOOBSERVER":this.isVoObserver=!0;break;case"RESOURCEOBSERVER":this.isResourceObserver=!0;break;case"GROUPOBSERVER":this.isGroupObserver=!0;break;case"TRUSTEDFACILITYADMIN":this.isTrustedFacilityAdmin=!0;break;case"FACILITYOBSERVER":this.isFacilityObserver=!0;break;case"PERUNADMIN":this.isPerunAdmin=!0;break;case"PERUNOBSERVER":this.isPerunObserver=!0}this.roles.set(v,A)}),this.roleNames=this.roleNames.filter(v=>!this.roleFilter.includes(v)),this.outerLoading=!1}getAdminGroupsAndVos(){this.loading=!0,this.groups=[],this.usersManagerService.getGroupsWhereUserIsAdmin(this.userId).subscribe(o=>{this.groups=o;const v=[...new Set(this.groups.map(A=>A.voId))];this.getVos(v)})}getVos(o){this.loading=!0,this.vos=[],this.vosManagerService.getVosByIds(o).subscribe(v=>{this.vos=v,this.loading=!1})}getInnerKeys(o){if(this.roles.get(o)){const v=this.roles.get(o).entries(),A=[];let B=v.next().value;for(;B;)A.push(B),B=v.next().value;this.currentIds=A}else this.currentIds=[]}getAdminVos(){this.loading=!0,this.vos=[],this.usersManagerService.getVosWhereUserIsAdmin(this.userId).subscribe(o=>{this.vos=o,this.loading=!1})}getAdminFacilities(){this.loading=!0,this.facilities=[],this.facilitiesManagerService.getFacilitiesWhereUserIsAdmin(this.userId).subscribe(o=>{this.facilities=o.map(v=>({facility:v})),this.loading=!1})}getSelfData(){this.loading=!0,this.vos=[],this.users=[],this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(o=>{this.vos=o;const v=this.roles.get("SELF").get("User");v?this.usersManagerService.getUsersByIds(v).subscribe(A=>{this.users=A,this.loading=!1}):this.loading=!1})}getResourcesData(o){this.loading=!0;const v=this.roles.get(o).get("Resource");this.vos=[],this.facilities=[],this.resources=[],this.resourcesManagerService.getRichResourcesByIds(v).subscribe(A=>{this.resources=A,this.vos=this.resources.map(B=>B.vo).filter((B,W,j)=>j.indexOf(B)===W),this.facilities=this.resources.map(B=>({facility:B.facility})).filter((B,W,j)=>j.indexOf(B)===W),this.loading=!1})}getMembers(){this.loading=!0;const o=this.roles.get("SPONSORSHIP").get("Member");this.members=[],this.membersManagerService.getRichMembersByIds(o).subscribe(v=>{this.members=v,this.loading=!1})}getGroupsAndVos(o){this.loading=!0;const v=this.roles.get(o).get("Vo"),A=this.roles.get(o).get("Group");this.vos=[],this.groups=[],this.groupsManagerService.getGroupsByIds(A).subscribe(B=>{this.groups=B,this.vosManagerService.getVosByIds(v).subscribe(W=>{this.vos=W,this.loading=!1})})}getFacilities(o){this.loading=!0,this.facilities=[];const v=this.roles.get(o).get("Facility");this.facilitiesManagerService.getFacilitiesByIds(v).subscribe(A=>{this.facilities=A.map(B=>({facility:B})),this.loading=!1})}}return a.\u0275fac=function(o){return new(o||a)(e.Y36(R.Ct),e.Y36(R.Fv),e.Y36(R.YF),e.Y36(R.IQ),e.Y36(R.xk),e.Y36(R.uq),e.Y36(R.ff),e.Y36(s.gz),e.Y36(c.d6))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-user-roles"]],hostVars:2,hostBindings:function(o,v){2&o&&e.ekj("router-component",v.true)},decls:5,vars:5,consts:[[1,"page-subtitle","d-flex"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"opened",4,"ngIf"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["mat-card-avatar","","svgIcon","perun-user-dark",1,"mr-2"],[1,"mt-auto","mb-auto"],[3,"displayedColumns","vos"],["class","mt-5",4,"ngIf"],[1,"mt-5"],[3,"users","disableRouting","displayedColumns"],["mat-card-avatar","","svgIcon","perun-group-black",1,"mr-2"],[3,"groups","displayedColumns"],["mat-card-avatar","","svgIcon","perun-vo-black",1,"mr-2"],["mat-card-avatar","","svgIcon","perun-resource-black",1,"mr-2"],[3,"resources","routingVo","displayedColumns"],["mat-card-avatar","","svgIcon","perun-facility-black",1,"mr-2"],[3,"displayedColumns","facilities"],[3,"members","displayedColumns"],["class","role-content",4,"ngFor","ngForOf"],[1,"role-content"]],template:function(o,v){1&o&&(e.TgZ(0,"h1",0),e._uU(1),e.ALo(2,"translate"),e.qZA(),e.YNc(3,E,1,0,"mat-spinner",1),e.YNc(4,Ge,18,17,"mat-accordion",2)),2&o&&(e.xp6(1),e.Oqu(e.lcZ(2,3,"ROLES.TITLE")),e.xp6(2),e.Q6J("ngIf",v.outerLoading),e.xp6(1),e.Q6J("ngIf",!v.outerLoading))},directives:[t.O5,D.$g,l.pp,l.ib,l.yz,l.yK,n.Hw,M.kc,N.Z,b.C,L.W,y.C,Y.X,C.O,t.sg],pipes:[Z.X$],styles:[".role-content[_ngcontent-%COMP%]{overflow:auto;overflow-y:hidden}.info-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),a})()},46597:(K,P,i)=>{i.d(P,{d:()=>O});var R=i(10036),c=i(9315),e=i(20449),s=i(9244),t=i(54668),D=i(94814),l=i(36908),n=i(5e3),M=i(48966),N=i(30325),b=i(96214),L=i(47423),y=i(69808),Y=i(64877),C=i(20773),Z=i(51062);function E(p,T){if(1&p&&(n._UZ(0,"app-users-list",6),n.ALo(1,"translate")),2&p){const _=n.oxw();n.Q6J("tableId",_.tableId)("noUsersFoundLabel",n.lcZ(1,6,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.NO_ASSOCIATED_USERS"))("users",_.associatedUsers)("selection",_.selection)("disableRouting",_.disableRouting)("displayedColumns",_.displayedColumns)}}function I(p,T){1&p&&n._UZ(0,"mat-spinner",7)}let O=(()=>{class p{constructor(_,d,r,m,h){this.dialog=_,this.router=d,this.authResolver=r,this.userManager=m,this.entityStorageService=h,this.loading=!1,this.selection=new e.Ov(!1,[]),this.associatedUsers=[],this.tableId=R.It,this.displayedColumns=["select","id","user","name"]}ngOnInit(){this.loading=!0,this.user=this.entityStorageService.getEntity(),this.userManager.getUsersBySpecificUser(this.user.id).subscribe(_=>{this.associatedUsers=_,this.setAuth(),this.loading=!1})}refreshTable(){this.loading=!0,this.userManager.getUsersBySpecificUser(this.user.id).subscribe(_=>{this.associatedUsers=_,this.selection.clear(),this.loading=!1})}setAuth(){this.addAuth=this.authResolver.isAuthorized("addSpecificUserOwner_User_User_policy",[this.user]),this.removeAuth=this.authResolver.isAuthorized("removeSpecificUserOwner_User_User_policy",[this.user]),this.disableRouting=!this.authResolver.isPerunAdminOrObserver()}onAdd(){const _=(0,s.kZ)();_.width="1250px",_.data={userId:this.user.id,theme:"user-theme",isService:!0,target:"USER"},this.dialog.open(t.l,_).afterClosed().subscribe(r=>{r&&this.refreshTable()})}onRemove(){const _=(0,s.kZ)();_.width="650px",_.data={identities:this.selection.selected,userId:this.user.id,specificUser:this.selection.selected[0],isService:!0,theme:"user-theme",targetTitle:"USER",targetDescription:"SERVICE"},this.dialog.open(D.B,_).afterClosed().subscribe(r=>{r&&(this.authResolver.isAuthorized("getUsersBySpecificUser_User_policy",[this.user])?this.refreshTable():this.router.navigate(["/myProfile"]))})}}return p.\u0275fac=function(_){return new(_||p)(n.Y36(M.uw),n.Y36(N.F0),n.Y36(l.x4),n.Y36(c.Fv),n.Y36(l.fb))},p.\u0275cmp=n.Xpm({type:p,selectors:[["app-user-settings-associated-users"]],decls:13,vars:12,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"tableId","noUsersFoundLabel","users","selection","disableRouting","displayedColumns",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"tableId","noUsersFoundLabel","users","selection","disableRouting","displayedColumns"],[1,"mr-auto","ml-auto"]],template:function(_,d){1&_&&(n.TgZ(0,"div"),n.TgZ(1,"h1",0),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"perun-web-apps-refresh-button",1),n.NdJ("refresh",function(){return d.refreshTable()}),n.qZA(),n.TgZ(5,"button",2),n.NdJ("click",function(){return d.onAdd()}),n._uU(6),n.ALo(7,"translate"),n.qZA(),n.TgZ(8,"button",3),n.NdJ("click",function(){return d.onRemove()}),n._uU(9),n.ALo(10,"translate"),n.qZA(),n.YNc(11,E,2,8,"app-users-list",4),n.qZA(),n.YNc(12,I,1,0,"mat-spinner",5)),2&_&&(n.xp6(2),n.Oqu(n.lcZ(3,6,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.TITLE")),n.xp6(4),n.hij(" ",n.lcZ(7,8,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.ADD")," "),n.xp6(2),n.Q6J("disabled",0===d.selection.selected.length),n.xp6(1),n.hij(" ",n.lcZ(10,10,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.REMOVE")," "),n.xp6(2),n.Q6J("ngIf",!d.loading),n.xp6(1),n.Q6J("ngIf",d.loading))},directives:[b.t,L.lW,y.O5,Y.C,C.$g],pipes:[Z.X$],styles:[""]}),p})()},97453:(K,P,i)=>{i.d(P,{R:()=>T});var R=i(20449),c=i(9315),e=i(10036),s=i(9244),t=i(54668),D=i(94814),l=i(36908),n=i(5e3),M=i(30325),N=i(48966),b=i(96214),L=i(69808),y=i(47423),Y=i(20773),C=i(64877),Z=i(51062);function E(_,d){if(1&_){const r=n.EpF();n.TgZ(0,"button",6),n.NdJ("click",function(){return n.CHM(r),n.oxw().onAdd()}),n._uU(1),n.ALo(2,"translate"),n.qZA()}2&_&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.CREATE"),"\n"))}function I(_,d){if(1&_){const r=n.EpF();n.TgZ(0,"button",7),n.NdJ("click",function(){return n.CHM(r),n.oxw().onRemove()}),n._uU(1),n.ALo(2,"translate"),n.qZA()}if(2&_){const r=n.oxw();n.Q6J("disabled",0===r.selection.selected.length),n.xp6(1),n.hij(" ",n.lcZ(2,2,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.DELETE"),"\n")}}function O(_,d){1&_&&n._UZ(0,"mat-spinner",8)}function p(_,d){if(1&_&&(n._UZ(0,"app-users-list",9),n.ALo(1,"translate")),2&_){const r=n.oxw();n.Q6J("tableId",r.tableId)("noUsersFoundLabel",n.lcZ(1,6,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.NO_IDENTITIES"))("users",r.identities)("selection",r.selection)("routeToAdmin",r.routeToAdminSection)("displayedColumns",r.displayedColumns)}}let T=(()=>{class _{constructor(r,m,h,U,J,Q){this.route=r,this.dialog=m,this.router=h,this.userManager=U,this.authResolver=J,this.store=Q,this.loading=!1,this.selection=new R.Ov(!1,[]),this.identities=[],this.tableId=e.Iz,this.displayedColumns=["select","id","user","name"],this.routeToAdminSection=!0,this.targetTitle="SERVICE",this.targetDescription="SERVICE"}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(r=>{this.userId=r.userId,void 0===this.userId&&(this.targetTitle="SERVICE",this.targetDescription="SELF",this.userId=this.store.getPerunPrincipal().userId,this.routeToAdminSection=!1),this.setAuthRights(),this.refreshTable()})}refreshTable(){this.loading=!0,this.userManager.getSpecificUsersByUser(this.userId).subscribe(r=>{this.identities=r,this.selection.clear(),this.loading=!1})}setAuthRights(){this.addIdentity=this.authResolver.isPerunAdmin(),this.removeIdentity=this.authResolver.isAuthorized("removeSpecificUserOwner_User_User_policy",[{id:this.userId,beanName:"User"}])}onAdd(){const r=(0,s.kZ)();r.width="1250px",r.data={userId:this.userId,theme:"user-theme",isService:!1,target:this.targetTitle},this.dialog.open(t.l,r).afterClosed().subscribe(h=>{h&&this.refreshTable()})}onRemove(){const r=(0,s.kZ)();r.width="650px",r.data={identities:this.selection.selected,userId:this.userId,specificUser:this.selection.selected[0],theme:"user-theme",targetTitle:this.targetTitle,targetDescription:this.targetDescription},this.dialog.open(D.B,r).afterClosed().subscribe(h=>{h&&this.refreshTable()})}}return _.\u0275fac=function(r){return new(r||_)(n.Y36(M.gz),n.Y36(N.uw),n.Y36(M.F0),n.Y36(c.Fv),n.Y36(l.x4),n.Y36(l.d6))},_.\u0275cmp=n.Xpm({type:_,selectors:[["app-user-settings-service-identities"]],decls:8,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2 action-button","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","warn",3,"disabled","click",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"tableId","noUsersFoundLabel","users","selection","routeToAdmin","displayedColumns",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],[3,"tableId","noUsersFoundLabel","users","selection","routeToAdmin","displayedColumns"]],template:function(r,m){1&r&&(n.TgZ(0,"h1",0),n._uU(1),n.ALo(2,"translate"),n.qZA(),n.TgZ(3,"perun-web-apps-refresh-button",1),n.NdJ("refresh",function(){return m.refreshTable()}),n.qZA(),n.YNc(4,E,3,3,"button",2),n.YNc(5,I,3,4,"button",3),n.YNc(6,O,1,0,"mat-spinner",4),n.YNc(7,p,2,8,"app-users-list",5)),2&r&&(n.xp6(1),n.Oqu(n.lcZ(2,5,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.TITLE")),n.xp6(3),n.Q6J("ngIf",m.addIdentity),n.xp6(1),n.Q6J("ngIf",m.removeIdentity),n.xp6(1),n.Q6J("ngIf",m.loading),n.xp6(1),n.Q6J("ngIf",!m.loading))},directives:[b.t,L.O5,y.lW,Y.$g,C.C],pipes:[Z.X$],styles:[""]}),_})()},46142:(K,P,i)=>{i.r(P),i.d(P,{UsersModule:()=>Qe});var R=i(69808),c=i(30325),e=i(74837),s=i(85985),t=i(5e3),D=i(61283);let l=(()=>{class g{constructor(){}}return g.\u0275fac=function(u){return new(u||g)},g.\u0275cmp=t.Xpm({type:g,selectors:[["app-user-settings"]],hostVars:2,hostBindings:function(u,S){2&u&&t.ekj("router-component",S.true)},decls:1,vars:0,template:function(u,S){1&u&&t._UZ(0,"app-animated-router-outlet")},directives:[D.A],styles:[""]}),g})();var n=i(9315),M=i(20773),N=i(71135);function b(g,x){1&g&&t._UZ(0,"mat-spinner",2)}function L(g,x){if(1&g&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",3),t.qZA()),2&g){const u=t.oxw();t.xp6(1),t.Q6J("items",u.navItems)("size","small")}}let y=(()=>{class g{constructor(u,S){this.route=u,this.userManager=S,this.navItems=[],this.loading=!1}ngOnInit(){window.location.pathname.startsWith("/admin")?(this.loading=!0,this.route.parent.parent.params.subscribe(u=>{this.userManager.getUserById(u.userId).subscribe(F=>{this.isServiceUser=F.serviceUser,this.initNavItems(),this.loading=!1},()=>this.loading=!1)})):this.initNavItems()}initNavItems(){this.navItems=[],window.location.pathname.startsWith("/admin")||this.navItems.push({cssIcon:"perun-settings2",url:"passwordReset",label:"MENU_ITEMS.USER.PASSWORD_RESET",style:"user-btn"},{cssIcon:"perun-settings2",url:"guiConfig",label:"MENU_ITEMS.USER.GUI_CONFIG",style:"user-btn"})}}return g.\u0275fac=function(u){return new(u||g)(t.Y36(c.gz),t.Y36(n.Fv))},g.\u0275cmp=t.Xpm({type:g,selectors:[["app-user-settings-overview"]],hostVars:2,hostBindings:function(u,S){2&u&&t.ekj("router-component",S.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(u,S){1&u&&(t.YNc(0,b,1,0,"mat-spinner",0),t.YNc(1,L,2,2,"div",1)),2&u&&(t.Q6J("ngIf",S.loading),t.xp6(1),t.Q6J("ngIf",!S.loading))},directives:[R.O5,M.$g,N.L],styles:[""]}),g})();var Y=i(98973),C=i(387),Z=i(9244),E=i(6335),I=i(67322),O=i(74107),p=i(90508),T=i(51062);function _(g,x){if(1&g&&(t.TgZ(0,"mat-option",5),t._uU(1),t.qZA()),2&g){const u=x.$implicit;t.Q6J("value",u),t.xp6(1),t.hij(" ",u," ")}}let d=(()=>{class g{constructor(u){this.guiConfigService=u,this.tablePageSizeOptions=Z.f7}ngOnInit(){this.preferredTablePageSize=this.guiConfigService.getNumber(E.Rc)}updatePreferredTablePageSize(){this.guiConfigService.setNumber(E.Rc,this.preferredTablePageSize)}}return g.\u0275fac=function(u){return new(u||g)(t.Y36(E.Ng))},g.\u0275cmp=t.Xpm({type:g,selectors:[["app-user-settings-app-configuration"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[1,"col-12","col-lg-6","p-0"],[1,"w-100"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(u,S){1&u&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",1),t.TgZ(4,"mat-form-field",2),t.TgZ(5,"mat-label"),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"mat-select",3),t.NdJ("valueChange",function(w){return S.preferredTablePageSize=w})("valueChange",function(){return S.updatePreferredTablePageSize()}),t.YNc(9,_,2,2,"mat-option",4),t.qZA(),t.qZA(),t.qZA()),2&u&&(t.xp6(1),t.Oqu(t.lcZ(2,4,"USER_DETAIL.SETTINGS.GUI_CONFIG.TITLE")),t.xp6(5),t.Oqu(t.lcZ(7,6,"USER_DETAIL.SETTINGS.GUI_CONFIG.PREF_TABLE_PAGE_SIZE")),t.xp6(2),t.Q6J("value",S.preferredTablePageSize),t.xp6(1),t.Q6J("ngForOf",S.tablePageSizeOptions))},directives:[I.KE,I.hX,O.gD,R.sg,p.ey],pipes:[T.X$],styles:[""]}),g})();var r=i(17755),m=i(36908),h=i(77968),U=i(4235),J=i(25245),Q=i(29772),G=i(31359);const V=function(){return{color:"black"}},ee=function(){return["/myProfile"]};function te(g,x){if(1&g&&(t.TgZ(0,"div",1),t._UZ(1,"perun-web-apps-back-button"),t.TgZ(2,"div",2),t._UZ(3,"mat-icon",3),t.ALo(4,"translate"),t.TgZ(5,"div",4),t.TgZ(6,"div",5),t.TgZ(7,"a",6),t._uU(8),t.ALo(9,"userFullName"),t.qZA(),t.TgZ(10,"span",7),t._uU(11),t.qZA(),t.qZA(),t.TgZ(12,"span",8),t._uU(13),t.ALo(14,"translate"),t.ALo(15,"translate"),t.qZA(),t.qZA(),t.qZA(),t._UZ(16,"app-animated-router-outlet"),t.qZA()),2&g){const u=t.oxw();t.xp6(3),t.s9C("matTooltip",t.lcZ(4,8,"MENU_ITEMS.USER.ENTITY")),t.Q6J("ngStyle",t.DdM(16,V)),t.xp6(4),t.Q6J("routerLink",t.DdM(17,ee)),t.xp6(1),t.hij(" ",t.lcZ(9,10,u.user)," "),t.xp6(3),t.hij(" \xa0#",u.user.id," "),t.xp6(2),t.lnq(" ",t.lcZ(14,12,"MENU_ITEMS.USER.ENTITY"),", ",t.lcZ(15,14,"MENU_ITEMS.USER.USER_TYPE"),": ",u.getUserType()," ")}}let ne=(()=>{class g{constructor(u,S,F){this.sideMenuService=u,this.store=S,this.router=F}ngOnInit(){this.path=this.router.url,this.router.events.subscribe(()=>{this.path=this.router.url}),this.principal=this.store.getPerunPrincipal(),this.user=this.principal.user,this.sideMenuService.setUserItems([])}getUserType(){return this.user.serviceUser?"Service":"Person"}}return g.\u0275fac=function(u){return new(u||g)(t.Y36(h.D),t.Y36(m.d6),t.Y36(c.F0))},g.\u0275cmp=t.Xpm({type:g,selectors:[["app-user-profile"]],decls:1,vars:1,consts:[["class","container-fluid pl-xl-5 pr-xl-5 user-theme",4,"ngIf"],[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-user-dark",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"user-link",3,"routerLink"],[1,"text-muted"],[1,"mt-1","entity-info"]],template:function(u,S){1&u&&t.YNc(0,te,17,18,"div",0),2&u&&t.Q6J("ngIf",void 0!==S.user)},directives:[R.O5,U.W,J.Hw,Q.gM,R.PC,c.yS,D.A],pipes:[T.X$,G.d],styles:[""]}),g})();var se=i(6097),ie=i(97453),ae=i(69024),oe=i(29862),z=i(48966),H=i(47423);function re(g,x){1&g&&t._UZ(0,"mat-spinner",11)}function _e(g,x){if(1&g){const u=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(u),t.oxw(2).editUser()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}const le=function(){return{color:"black"}},pe=function(g){return["/myProfile/service-identities",g]};function ce(g,x){if(1&g&&(t.TgZ(0,"div",1),t._UZ(1,"perun-web-apps-back-button"),t.YNc(2,re,1,0,"mat-spinner",2),t.TgZ(3,"div",3),t._UZ(4,"mat-icon",4),t.ALo(5,"translate"),t.TgZ(6,"div",5),t.TgZ(7,"div",6),t.TgZ(8,"a",7),t._uU(9),t.ALo(10,"userFullName"),t.qZA(),t.TgZ(11,"span",8),t._uU(12),t.qZA(),t.YNc(13,_e,3,0,"button",9),t.qZA(),t.TgZ(14,"div"),t._uU(15),t.ALo(16,"translate"),t.qZA(),t.TgZ(17,"span",10),t._uU(18),t.ALo(19,"translate"),t.ALo(20,"translate"),t.qZA(),t.qZA(),t.qZA(),t._UZ(21,"app-animated-router-outlet"),t.qZA()),2&g){const u=t.oxw();t.xp6(2),t.Q6J("ngIf",u.loading),t.xp6(2),t.s9C("matTooltip",t.lcZ(5,12,"MENU_ITEMS.USER.ENTITY")),t.Q6J("ngStyle",t.DdM(22,le)),t.xp6(4),t.Q6J("routerLink",t.VKq(23,pe,u.user.id)),t.xp6(1),t.hij(" ",t.lcZ(10,14,u.user)," "),t.xp6(3),t.hij(" \xa0#",u.user.id," "),t.xp6(1),t.Q6J("ngIf",u.authResolver.isPerunAdmin()),t.xp6(2),t.AsE("",t.lcZ(16,16,"ADMIN_USER.UUID"),": ",u.user.uuid,""),t.xp6(3),t.lnq(" ",t.lcZ(19,18,"MENU_ITEMS.USER.ENTITY"),", ",t.lcZ(20,20,"MENU_ITEMS.USER.USER_TYPE"),": ",u.getUserType()," ")}}let me=(()=>{class g{constructor(u,S,F,w,We,Ke,we){this.sideMenuService=u,this.usersService=S,this.sideMenuItemService=F,this.route=w,this.dialog=We,this.authResolver=Ke,this.entityStorageService=we,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(u=>{const S=u.userId;this.entityStorageService.setEntity({id:Number(S),beanName:"User"}),this.usersService.getUserById(S).subscribe(F=>{this.user=F;const w=this.sideMenuItemService.parseServiceIdentity(F);this.sideMenuService.setUserItems([w]),this.loading=!1},()=>this.loading=!1)})}getUserType(){return this.user.serviceUser?"Service":"Person"}editUser(){const u=(0,Z.kZ)();u.width="450px",u.data={theme:"admin-theme",user:this.user},this.dialog.open(oe.x,u).afterClosed().subscribe(F=>{F&&this.usersService.getUserById(this.user.id).subscribe(w=>{this.user=w})})}}return g.\u0275fac=function(u){return new(u||g)(t.Y36(h.D),t.Y36(n.Fv),t.Y36(ae.V),t.Y36(c.gz),t.Y36(z.uw),t.Y36(m.x4),t.Y36(m.fb))},g.\u0275cmp=t.Xpm({type:g,selectors:[["app-service-identity-detail-page"]],decls:1,vars:1,consts:[["class","container-fluid pl-xl-5 pr-xl-5 user-theme",4,"ngIf"],[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],["class","mr-auto ml-auto",4,"ngIf"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-service-identity",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"user-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],[1,"mr-auto","ml-auto"],["mat-icon-button","",3,"click"]],template:function(u,S){1&u&&t.YNc(0,ce,22,25,"div",0),2&u&&t.Q6J("ngIf",void 0!==S.user)},directives:[R.O5,U.W,M.$g,J.Hw,Q.gM,R.PC,c.yS,H.lW,D.A],pipes:[T.X$,G.d],styles:[""]}),g})(),ue=(()=>{class g{constructor(){this.navItems=[]}ngOnInit(){this.initNavItems()}initNavItems(){this.navItems=[{cssIcon:"perun-user",url:"associated-users",label:"MENU_ITEMS.USER.ASSOCIATED_USERS",style:"user-btn"}]}}return g.\u0275fac=function(u){return new(u||g)},g.\u0275cmp=t.Xpm({type:g,selectors:[["app-service-identity-overview"]],decls:1,vars:2,consts:[[3,"items","size"]],template:function(u,S){1&u&&t._UZ(0,"perun-web-apps-menu-buttons-field",0),2&u&&t.Q6J("items",S.navItems)("size","small")},directives:[N.L],styles:[""]}),g})();var de=i(46597);const ge=[{path:"",component:ne,children:[{path:"",component:r.Z,data:{animation:"UserOverviewPage"}},{path:"attributes",component:Y.u,data:{animation:"UserAttributesPage"}},{path:"organizations",component:e.j,data:{animation:"UserOrganizationsPage",showPrincipal:!0}},{path:"groups",component:s.u,data:{animation:"UserGroupsPage",showPrincipal:!0}},{path:"roles",component:se.t,data:{animation:"UserRolesPage"}},{path:"service-identities",component:ie.R,data:{animation:"UserServiceIdentities"}},{path:"settings",component:l,children:[{path:"",component:y,data:{animation:"UserSettingsOverviewPage"}},{path:"passwordReset",component:C.Nj,data:{animation:"PasswordResetPage"}},{path:"guiConfig",component:d,data:{animation:"UserAppConfigurationPage"}}]}]},{path:"service-identities/:userId",component:me,children:[{path:"",component:ue},{path:"associated-users",component:de.d}]}];let fe=(()=>{class g{}return g.\u0275fac=function(u){return new(u||g)},g.\u0275mod=t.oAB({type:g}),g.\u0275inj=t.cJS({imports:[[c.Bz.forChild(ge)],c.Bz]}),g})();var he=i(91079),Ee=i(98833),X=i(93075),Ie=i(2638),Te=i(81125),q=i(84847),ve=i(32075),Ue=i(53251),Ae=i(90149),Ce=i(77446),Re=i(57261),Oe=i(85899),xe=i(32368),Se=i(86856),Ze=i(79814),De=i(4834),Me=i(86087),$=i(9224),k=i(92081),be=i(44409),Ne=i(26688),Pe=i(92181),Le=i(53435),ye=i(63189),Ye=i(27544),Be=i(11243),Je=i(19516),Fe=i(14264);let Qe=(()=>{class g{constructor(u){this.translate=u,u.addLangs(["en","cs"])}}return g.\u0275fac=function(u){return new(u||g)(t.LFG(T.sK))},g.\u0275mod=t.oAB({type:g}),g.\u0275inj=t.cJS({imports:[[R.ez,fe,he.Bb,Ee.c,I.lN,X.UX,X.u5,J.Ps,Ie.SJ,Te.To,T.aw.forChild({}),H.ot,q.JX,ve.p0,Ue.Nh,Ae.dp,H.ot,Ce.p9,z.Is,O.LD,Re.ZX,M.Cq,Oe.Cv,Q.AV,xe.rP,Se.FA,p.XK,Ze.Fk,De.t,p.si,Me.TU,$.QW,k.T5,be._t,$.QW,Ne.Hi,Pe.Tx,Le.Cl,ye.r,Ye.g,C.ez,Be.r,Je.d4,Fe.m]]}),g})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/142.c901f6a31bdbd45f.js b/dist/apps/admin-gui/142.c901f6a31bdbd45f.js new file mode 100644 index 000000000..45d221a56 --- /dev/null +++ b/dist/apps/admin-gui/142.c901f6a31bdbd45f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[142],{54668:(K,P,i)=>{i.d(P,{l:()=>d});var R=i(48966),c=i(112),e=i(36908),s=i(10036),t=i(20449),D=i(64080),l=i(93075),n=i(5e3),M=i(51062),N=i(67322),b=i(98833),L=i(47423),y=i(25245),Y=i(69808),C=i(64877),Z=i(98380),E=i(20773);function I(r,m){if(1&r&&n._UZ(0,"app-users-list",14),2&r){const h=n.oxw(2);n.Q6J("tableId",h.tableId)("displayedColumns",h.displayedColumns)("users",h.identities)("disableRouting",!0)("selection",h.selection)}}function O(r,m){if(1&r&&(n.TgZ(0,"div"),n.YNc(1,I,1,5,"app-users-list",13),n.qZA()),2&r){const h=n.oxw();n.xp6(1),n.Q6J("ngIf",void 0!==h.identities&&h.identities.length>0)}}function p(r,m){1&r&&(n.TgZ(0,"app-alert",15),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&r&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"DIALOGS.CONNECT_IDENTITY.SEARCH_HINT")," "))}function T(r,m){1&r&&(n.TgZ(0,"app-alert",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&r&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"DIALOGS.CONNECT_IDENTITY.NO_IDENTITIES")," "))}function _(r,m){1&r&&n._UZ(0,"mat-spinner",17)}let d=(()=>{class r{constructor(h,U,J,Q,G,V){this.dialogRef=h,this.data=U,this.userManager=J,this.storeService=Q,this.notificator=G,this.translate=V,this.loading=!1,this.selection=new t.Ov(!1,[]),this.firstSearchDone=!1,this.displayedColumns=["select","id","user","name","email","logins","organization"],this.tableId=s.Iz}ngOnInit(){this.target=this.data.target,this.theme=this.data.theme,this.userId=this.data.userId,this.isService=this.data.isService,this.searchCtrl=new l.NI("",[l.kI.required,l.kI.pattern(".*[\\S]+.*")])}onAdd(){let h,U;this.loading=!0,this.isService?(h=this.selection.selected[0].id,U=this.userId):(h=this.userId,U=this.selection.selected[0].id),this.userManager.addSpecificUserOwner(h,U).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CONNECT_IDENTITY.SUCCESS")),this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}onSearchByString(){if(this.searchCtrl.invalid)return void this.searchCtrl.markAllAsTouched();this.loading=!0,this.firstSearchDone=!0;let h=[D.r.USER_DEF_ORGANIZATION,D.r.USER_DEF_PREFERRED_MAIL];h=h.concat(this.storeService.getLoginAttributeNames()),this.userManager.findRichUsersWithAttributes(this.searchCtrl.value,h).subscribe(U=>{this.identities=this.filterIdentities(U),this.loading=!1},()=>{this.loading=!1})}onKeyInput(h){"Enter"===h.key&&this.onSearchByString()}filterIdentities(h){return h.filter(this.isService?U=>!U.serviceUser:U=>U.serviceUser)}}return r.\u0275fac=function(h){return new(h||r)(n.Y36(R.so),n.Y36(R.WI),n.Y36(c.Fv),n.Y36(e.d6),n.Y36(e.V6),n.Y36(M.sK))},r.\u0275cmp=n.Xpm({type:r,selectors:[["app-connect-identity-dialog"]],decls:26,vars:25,consts:[[3,"keyup"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"mr-2","search-field","no-border-mat-input"],["matInput","","autocomplete","false",3,"placeholder","formControl"],["mat-flat-button","","color","primary",1,"mr-2","search-btn",3,"disabled","click"],[4,"ngIf"],["alert_type","info",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"tableId","displayedColumns","users","disableRouting","selection",4,"ngIf"],[3,"tableId","displayedColumns","users","disableRouting","selection"],["alert_type","info"],["alert_type","warn"],[1,"ml-auto","mr-auto"]],template:function(h,U){1&h&&(n.TgZ(0,"div",0),n.NdJ("keyup",function(Q){return U.onKeyInput(Q)}),n.TgZ(1,"h1",1),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"div",2),n.TgZ(5,"mat-form-field",3),n.TgZ(6,"label"),n._UZ(7,"input",4),n.ALo(8,"translate"),n.qZA(),n.TgZ(9,"mat-error"),n._uU(10),n.ALo(11,"translate"),n.qZA(),n.qZA(),n.TgZ(12,"button",5),n.NdJ("click",function(){return U.onSearchByString()}),n.TgZ(13,"mat-icon"),n._uU(14,"search"),n.qZA(),n.qZA(),n.YNc(15,O,2,1,"div",6),n.YNc(16,p,3,3,"app-alert",7),n.YNc(17,T,3,3,"app-alert",8),n.qZA(),n.YNc(18,_,1,0,"mat-spinner",9),n.TgZ(19,"div",10),n.TgZ(20,"button",11),n.NdJ("click",function(){return U.onCancel()}),n._uU(21),n.ALo(22,"translate"),n.qZA(),n.TgZ(23,"button",12),n.NdJ("click",function(){return U.onAdd()}),n._uU(24),n.ALo(25,"translate"),n.qZA(),n.qZA(),n.qZA()),2&h&&(n.Tol(U.theme),n.xp6(2),n.Oqu(n.lcZ(3,15,"DIALOGS.CONNECT_IDENTITY.TITLE_"+U.target)),n.xp6(5),n.s9C("placeholder",n.lcZ(8,17,"DIALOGS.CONNECT_IDENTITY.SEARCH")),n.Q6J("formControl",U.searchCtrl),n.xp6(3),n.hij(" ",n.lcZ(11,19,"DIALOGS.CONNECT_IDENTITY.EMPTY_SEARCH_MESSAGE")," "),n.xp6(2),n.Q6J("disabled",U.loading),n.xp6(3),n.Q6J("ngIf",!U.loading),n.xp6(1),n.Q6J("ngIf",!U.firstSearchDone),n.xp6(1),n.Q6J("ngIf",!U.loading&&U.firstSearchDone&&0===U.identities.length),n.xp6(1),n.Q6J("ngIf",U.loading),n.xp6(3),n.hij(" ",n.lcZ(22,21,"DIALOGS.CONNECT_IDENTITY.CANCEL")," "),n.xp6(2),n.Q6J("disabled",0===U.selection.selected.length),n.xp6(1),n.hij(" ",n.lcZ(25,23,"DIALOGS.CONNECT_IDENTITY.CONNECT")," "))},directives:[R.uh,R.xY,N.KE,b.Nt,l.Fj,l.JJ,l.oH,N.TO,L.lW,y.Hw,Y.O5,C.C,Z.w,E.$g,R.H8],pipes:[M.X$],styles:[".search-field[_ngcontent-%COMP%]{width:300px}.search-btn[_ngcontent-%COMP%]{width:50px}"]}),r})()},94814:(K,P,i)=>{i.d(P,{B:()=>E});var R=i(112),c=i(48966),e=i(36908),s=i(32075),t=i(5e3),D=i(51062),l=i(69808),n=i(98380),M=i(47423),N=i(31359);function b(I,O){1&I&&t._UZ(0,"th",13)}function L(I,O){if(1&I&&(t.TgZ(0,"td",14),t._uU(1),t.ALo(2,"userFullName"),t.qZA()),2&I){const p=O.$implicit;t.xp6(1),t.Oqu(t.lcZ(2,1,p))}}function y(I,O){1&I&&t._UZ(0,"tr",15)}function Y(I,O){1&I&&t._UZ(0,"tr",16)}function C(I,O){1&I&&(t.TgZ(0,"app-alert",17),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&I&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.DISCONNECT_IDENTITY.WARNING_DISCONNECT_YOURSELF")," "))}function Z(I,O){1&I&&(t.TgZ(0,"app-alert",17),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&I&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.DISCONNECT_IDENTITY.WARNING_LAST_USER")," "))}let E=(()=>{class I{constructor(p,T,_,d,r,m){this.dialogRef=p,this.data=T,this.userManager=_,this.notificator=d,this.translate=r,this.store=m,this.displayedColumns=["name"]}ngOnInit(){let p;this.targetTitle=this.data.targetTitle,this.targetDescription=this.data.targetDescription,this.theme=this.data.theme,this.userId=Number(this.data.userId),this.dataSource=new s.by([this.data.specificUser]),this.isService=this.data.isService,this.isService?(p=this.userId,this.disconnectingSelf=this.dataSource.data[0].id===this.store.getPerunPrincipal().userId):(p=this.dataSource.data[0].id,this.disconnectingSelf=this.userId===this.store.getPerunPrincipal().userId),this.userManager.getUsersBySpecificUser(p).subscribe(T=>{this.disconnectingLastOwner=1===T.length})}onConfirm(){let p,T;this.isService?(p=this.dataSource.data[0].id,T=this.userId):(p=this.userId,T=this.dataSource.data[0].id),this.userManager.removeSpecificUserOwner(p,T).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.DISCONNECT_IDENTITY.SUCCESS")),this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}}return I.\u0275fac=function(p){return new(p||I)(t.Y36(c.so),t.Y36(c.WI),t.Y36(R.Fv),t.Y36(e.V6),t.Y36(D.sK),t.Y36(e.d6))},I.\u0275cmp=t.Xpm({type:I,selectors:[["app-disconnect-identity-dialog"]],decls:26,vars:23,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["alert_type","warn"]],template:function(p,T){1&p&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.TgZ(4,"div",1),t.TgZ(5,"p"),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"div",2),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"table",3),t.ynx(12,4),t.YNc(13,b,1,0,"th",5),t.YNc(14,L,3,3,"td",6),t.BQk(),t.YNc(15,y,1,0,"tr",7),t.YNc(16,Y,1,0,"tr",8),t.qZA(),t.YNc(17,C,3,3,"app-alert",9),t.YNc(18,Z,3,3,"app-alert",9),t.qZA(),t.TgZ(19,"div",10),t.TgZ(20,"button",11),t.NdJ("click",function(){return T.onCancel()}),t._uU(21),t.ALo(22,"translate"),t.qZA(),t.TgZ(23,"button",12),t.NdJ("click",function(){return T.onConfirm()}),t._uU(24),t.ALo(25,"translate"),t.qZA(),t.qZA(),t.qZA()),2&p&&(t.xp6(1),t.Oqu(t.lcZ(2,13,"DIALOGS.DISCONNECT_IDENTITY.TITLE_"+T.targetTitle)),t.xp6(2),t.Tol(T.theme),t.xp6(3),t.Oqu(t.lcZ(7,15,"DIALOGS.DISCONNECT_IDENTITY.DESCRIPTION_"+T.targetDescription)),t.xp6(3),t.hij(" ",t.lcZ(10,17,"DIALOGS.DISCONNECT_IDENTITY.ASK")," "),t.xp6(2),t.Q6J("dataSource",T.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",T.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",T.displayedColumns),t.xp6(1),t.Q6J("ngIf",T.disconnectingSelf),t.xp6(1),t.Q6J("ngIf",T.disconnectingLastOwner),t.xp6(3),t.hij(" ",t.lcZ(22,19,"DIALOGS.DISCONNECT_IDENTITY.CANCEL")," "),t.xp6(3),t.hij(" ",t.lcZ(25,21,"DIALOGS.DISCONNECT_IDENTITY.REMOVE")," "))},directives:[c.uh,c.xY,s.BZ,s.w1,s.fO,s.ge,s.Dz,s.ev,s.as,s.XQ,s.nj,s.Gk,l.O5,n.w,c.H8,M.lW],pipes:[D.X$,N.d],styles:[""]}),I})()},29862:(K,P,i)=>{i.d(P,{x:()=>Z});var R=i(112),c=i(48966),e=i(36908),s=i(93075),t=i(5e3),D=i(51062),l=i(67322),n=i(98833),M=i(69808),N=i(47423);function b(E,I){1&E&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&E&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function L(E,I){1&E&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&E&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function y(E,I){1&E&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&E&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_FIRST_NAME")))}function Y(E,I){1&E&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&E&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function C(E,I){1&E&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&E&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LAST_NAME")))}let Z=(()=>{class E{constructor(O,p,T,_,d){this.dialogRef=O,this.data=p,this.userService=T,this.notificator=_,this.translateService=d,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.titleBefore=new s.NI(this.data.user.titleBefore,[s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)]),this.titleAfter=new s.NI(this.data.user.titleAfter,[s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)]),this.firstName=new s.NI(this.data.user.firstName,[s.kI.required,s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)]),this.middleName=new s.NI(this.data.user.middleName,[s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)]),this.lastName=new s.NI(this.data.user.lastName,[s.kI.required,s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)])}onCancel(){this.dialogRef.close(!1)}onSave(){this.loading=!0,this.data.user.titleBefore=this.titleBefore.value,this.data.user.titleAfter=this.titleAfter.value,this.data.user.firstName=this.firstName.value,this.data.user.middleName=this.middleName.value,this.data.user.lastName=this.lastName.value,this.userService.updateUser({user:this.data.user}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_USER.SUCCESS").subscribe(O=>{this.notificator.showSuccess(O),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return E.\u0275fac=function(O){return new(O||E)(t.Y36(c.so),t.Y36(c.WI),t.Y36(R.Fv),t.Y36(e.V6),t.Y36(D.sK))},E.\u0275cmp=t.Xpm({type:E,selectors:[["app-edit-user-dialog"]],decls:32,vars:38,consts:[[1,"mat-dialog-title"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"formControl","placeholder"],[4,"ngIf"],["matInput","","required","",3,"formControl","placeholder"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(O,p){1&O&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",1),t.TgZ(5,"mat-form-field"),t._UZ(6,"input",2),t.ALo(7,"translate"),t.YNc(8,b,3,3,"mat-error",3),t.qZA(),t.TgZ(9,"mat-form-field"),t._UZ(10,"input",2),t.ALo(11,"translate"),t.YNc(12,L,3,3,"mat-error",3),t.qZA(),t.TgZ(13,"mat-form-field"),t._UZ(14,"input",4),t.ALo(15,"translate"),t.YNc(16,y,3,3,"mat-error",3),t.qZA(),t.TgZ(17,"mat-form-field"),t._UZ(18,"input",2),t.ALo(19,"translate"),t.YNc(20,Y,3,3,"mat-error",3),t.qZA(),t.TgZ(21,"mat-form-field"),t._UZ(22,"input",4),t.ALo(23,"translate"),t.YNc(24,C,3,3,"mat-error",3),t.qZA(),t.qZA(),t.TgZ(25,"div",5),t.TgZ(26,"button",6),t.NdJ("click",function(){return p.onCancel()}),t._uU(27),t.ALo(28,"translate"),t.qZA(),t.TgZ(29,"button",7),t.NdJ("click",function(){return p.onSave()}),t._uU(30),t.ALo(31,"translate"),t.qZA(),t.qZA(),t.qZA()),2&O&&(t.Tol(p.theme),t.xp6(2),t.Oqu(t.lcZ(3,22,"DIALOGS.EDIT_USER.DIALOG_TITLE")),t.xp6(4),t.s9C("placeholder",t.lcZ(7,24,"DIALOGS.EDIT_USER.TITLE_BEFORE")),t.Q6J("formControl",p.titleBefore),t.xp6(2),t.Q6J("ngIf",p.titleBefore.invalid),t.xp6(2),t.s9C("placeholder",t.lcZ(11,26,"DIALOGS.EDIT_USER.TITLE_AFTER")),t.Q6J("formControl",p.titleAfter),t.xp6(2),t.Q6J("ngIf",p.titleAfter.invalid),t.xp6(2),t.s9C("placeholder",t.lcZ(15,28,"DIALOGS.EDIT_USER.FIRST_NAME")),t.Q6J("formControl",p.firstName),t.xp6(2),t.Q6J("ngIf",p.firstName.invalid),t.xp6(2),t.s9C("placeholder",t.lcZ(19,30,"DIALOGS.EDIT_USER.MIDDLE_NAME")),t.Q6J("formControl",p.middleName),t.xp6(2),t.Q6J("ngIf",p.middleName.invalid),t.xp6(2),t.s9C("placeholder",t.lcZ(23,32,"DIALOGS.EDIT_USER.LAST_NAME")),t.Q6J("formControl",p.lastName),t.xp6(2),t.Q6J("ngIf",p.lastName.invalid),t.xp6(3),t.hij(" ",t.lcZ(28,34,"DIALOGS.EDIT_USER.CANCEL")," "),t.xp6(2),t.Q6J("disabled",p.loading||p.firstName.invalid||p.lastName.invalid||p.titleBefore.invalid||p.titleAfter.invalid||p.middleName.invalid),t.xp6(1),t.hij(" ",t.lcZ(31,36,"DIALOGS.EDIT_USER.SAVE")," "))},directives:[c.xY,l.KE,n.Nt,s.Fj,s.JJ,s.oH,M.O5,l.TO,s.Q7,c.H8,N.lW],pipes:[D.X$],styles:[""]}),E})()},98973:(K,P,i)=>{i.d(P,{u:()=>Y});var R=i(36908),c=i(5e3),e=i(11735),s=i(53251),t=i(12651),D=i(69808),l=i(19191),n=i(51062);function M(C,Z){1&C&&(c._uU(0),c.ALo(1,"translate")),2&C&&c.hij(" ",c.lcZ(1,1,"ADMIN_USER.ENTITY")," ")}function N(C,Z){if(1&C&&c._UZ(0,"app-one-entity-attribute-page",5),2&C){const E=c.oxw();c.Q6J("entityId",E.userId)("entity","user")}}function b(C,Z){1&C&&(c._uU(0),c.ALo(1,"translate"),c.ALo(2,"translate")),2&C&&c.AsE(" ",c.lcZ(1,2,"ADMIN_USER.ENTITY")," - ",c.lcZ(2,4,"FACILITY_DETAIL.ENTITY")," ")}function L(C,Z){if(1&C&&c._UZ(0,"app-two-entity-attribute-page",6),2&C){const E=c.oxw(2);c.Q6J("firstEntity","user")("firstEntityId",E.userId)("secondEntity","facility")}}function y(C,Z){1&C&&(c.TgZ(0,"mat-tab"),c.YNc(1,b,3,6,"ng-template",2),c.YNc(2,L,1,3,"ng-template",3),c.qZA())}let Y=(()=>{class C{constructor(E,I,O){this.route=E,this.store=I,this.authResolver=O}ngOnInit(){this.route.parent.params.subscribe(E=>{this.userId=E.userId,void 0===this.userId&&(this.userId=this.store.getPerunPrincipal().userId),this.userFacilityAttAuth=this.authResolver.isAuthorized("getAssignedFacilities_User_policy",[{id:this.userId,beanName:"User"}])})}}return C.\u0275fac=function(E){return new(E||C)(c.Y36(e.gz),c.Y36(R.d6),c.Y36(R.x4))},C.\u0275cmp=c.Xpm({type:C,selectors:[["app-user-settings-attributes"]],hostVars:2,hostBindings:function(E,I){2&E&&c.ekj("router-component",I.true)},decls:8,vars:4,consts:[[1,"page-subtitle"],[1,"mb-2"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entityId","entity"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(E,I){1&E&&(c.TgZ(0,"h1",0),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.TgZ(3,"mat-tab-group"),c.TgZ(4,"mat-tab",1),c.YNc(5,M,2,3,"ng-template",2),c.YNc(6,N,1,2,"ng-template",3),c.qZA(),c.YNc(7,y,3,0,"mat-tab",4),c.qZA()),2&E&&(c.xp6(1),c.Oqu(c.lcZ(2,2,"USER_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),c.xp6(6),c.Q6J("ngIf",I.userFacilityAttAuth))},directives:[s.SP,s.uX,s.uD,s.Vc,t.t,D.O5,l.Y],pipes:[n.X$],styles:[""]}),C})()},85985:(K,P,i)=>{i.d(P,{u:()=>T});var R=i(36908),c=i(112),e=i(10036),s=i(5e3),t=i(11735),D=i(69808),l=i(96214),n=i(7434),M=i(20773),N=i(24179),b=i(51062);function L(_,d){1&_&&(s.TgZ(0,"h1",6),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&_&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.YOU_ARE_MEMBER"),"\n"))}function y(_,d){1&_&&(s.TgZ(0,"h1",6),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&_&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.USER_IS_MEMBER"),"\n"))}function Y(_,d){1&_&&s._UZ(0,"mat-spinner",7)}const C=function(){return["id","vo","name","description","status"]};function Z(_,d){if(1&_&&s._UZ(0,"perun-web-apps-groups-list",8),2&_){const r=s.oxw();s.Q6J("tableId",r.tableId)("groups",r.membersGroups)("displayedColumns",s.DdM(5,C))("disableMembers",!1)("filter",r.memberFilterValue)}}function E(_,d){1&_&&s._UZ(0,"mat-spinner",7)}const I=function(){return["id","vo","name","description"]};function O(_,d){if(1&_&&s._UZ(0,"perun-web-apps-groups-list",8),2&_){const r=s.oxw(2);s.Q6J("tableId",r.adminTableId)("groups",r.adminsGroups)("displayedColumns",s.DdM(5,I))("disableMembers",!1)("filter",r.adminFilterValue)}}function p(_,d){if(1&_){const r=s.EpF();s.TgZ(0,"div",9),s.TgZ(1,"h1",6),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return s.CHM(r),s.oxw().refreshAdminTable()}),s.qZA(),s.TgZ(5,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(h){return s.CHM(r),s.oxw().adminFilter(h)}),s.qZA(),s.YNc(6,E,1,0,"mat-spinner",3),s.YNc(7,O,1,6,"perun-web-apps-groups-list",4),s.qZA()}if(2&_){const r=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,4,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.USER_IS_ADMIN")," "),s.xp6(3),s.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),s.xp6(1),s.Q6J("ngIf",r.adminRefresh),s.xp6(1),s.Q6J("ngIf",!r.adminRefresh)}}let T=(()=>{class _{constructor(r,m,h,U,J){this.usersService=r,this.memberService=m,this.groupService=h,this.store=U,this.route=J,this.memberFilterValue="",this.adminFilterValue="",this.vos=[],this.membersGroups=[],this.adminsGroups=[],this.tableId=e.KE,this.adminTableId=e.Sb}ngOnInit(){!0===(this.showPrincipal=this.route.snapshot.data.showPrincipal)?this.userId=this.store.getPerunPrincipal().user.id:this.route.parent.params.subscribe(r=>this.userId=r.userId),this.refreshAdminTable(),this.refreshMemberTable()}memberFilter(r){this.memberFilterValue=r}adminFilter(r){this.adminFilterValue=r}refreshAdminTable(){this.adminRefresh=!0,this.usersService.getGroupsWhereUserIsAdmin(this.userId).subscribe(r=>{this.adminsGroups=r,this.adminRefresh=!1})}refreshMemberTable(){this.memberRefresh=!0,this.membersGroups=[],this.usersService.getVosWhereUserIsMember(this.userId).subscribe(r=>{this.vos=r;for(const m of this.vos)this.memberService.getMemberByUser(m.id,this.userId).subscribe(h=>{this.groupService.getMemberGroups(h.id).subscribe(U=>{this.membersGroups=this.membersGroups.concat(U),this.vos.indexOf(m)===this.vos.length-1&&(this.memberRefresh=!1)})});0===r.length&&(this.memberRefresh=!1)})}}return _.\u0275fac=function(r){return new(r||_)(s.Y36(c.Fv),s.Y36(c.uq),s.Y36(c.ff),s.Y36(R.d6),s.Y36(t.gz))},_.\u0275cmp=s.Xpm({type:_,selectors:[["app-user-groups"]],hostVars:2,hostBindings:function(r,m){2&r&&s.ekj("router-component",m.true)},decls:7,vars:6,consts:[["class","page-subtitle",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","groups","displayedColumns","disableMembers","filter",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-subtitle"],[1,"ml-auto","mr-auto"],[3,"tableId","groups","displayedColumns","disableMembers","filter"],[1,"mt-5"]],template:function(r,m){1&r&&(s.YNc(0,L,3,3,"h1",0),s.YNc(1,y,3,3,"h1",0),s.TgZ(2,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return m.refreshMemberTable()}),s.qZA(),s.TgZ(3,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(U){return m.memberFilter(U)}),s.qZA(),s.YNc(4,Y,1,0,"mat-spinner",3),s.YNc(5,Z,1,6,"perun-web-apps-groups-list",4),s.YNc(6,p,8,6,"div",5)),2&r&&(s.Q6J("ngIf",m.showPrincipal),s.xp6(1),s.Q6J("ngIf",!m.showPrincipal),s.xp6(2),s.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),s.xp6(1),s.Q6J("ngIf",m.memberRefresh),s.xp6(1),s.Q6J("ngIf",!m.memberRefresh),s.xp6(1),s.Q6J("ngIf",!m.showPrincipal))},directives:[D.O5,l.t,n.L,M.$g,N.W],pipes:[b.X$],styles:[""]}),_})()},74837:(K,P,i)=>{i.d(P,{j:()=>O});var R=i(112),c=i(36908),e=i(10036),s=i(5e3),t=i(11735),D=i(69808),l=i(96214),n=i(7434),M=i(20773),N=i(87831),b=i(51062);function L(p,T){1&p&&(s.TgZ(0,"h1",6),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&p&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.YOU_ARE_MEMBER"),"\n"))}function y(p,T){1&p&&(s.TgZ(0,"h1",6),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&p&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_MEMBER"),"\n"))}function Y(p,T){1&p&&s._UZ(0,"mat-spinner",7)}function C(p,T){if(1&p&&s._UZ(0,"perun-web-apps-vos-list",8),2&p){const _=s.oxw();s.Q6J("displayedColumns",_.displayedColumns)("tableId",_.memberTableId)("filterValue",_.memberFilterValue)("vos",_.vosWhereIsMember)}}function Z(p,T){1&p&&s._UZ(0,"mat-spinner",7)}function E(p,T){if(1&p&&s._UZ(0,"perun-web-apps-vos-list",8),2&p){const _=s.oxw(2);s.Q6J("displayedColumns",_.displayedColumns)("tableId",_.adminTableId)("filterValue",_.adminFilterValue)("vos",_.vosWhereIsAdmin)}}function I(p,T){if(1&p){const _=s.EpF();s.TgZ(0,"div",9),s.TgZ(1,"h1",6),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return s.CHM(_),s.oxw().refreshAdminTable()}),s.qZA(),s.TgZ(5,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(r){return s.CHM(_),s.oxw().applyAdminFilter(r)}),s.qZA(),s.YNc(6,Z,1,0,"mat-spinner",3),s.YNc(7,E,1,4,"perun-web-apps-vos-list",4),s.qZA()}if(2&p){const _=s.oxw();s.xp6(2),s.Oqu(s.lcZ(3,4,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_ADMIN")),s.xp6(3),s.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),s.xp6(1),s.Q6J("ngIf",_.adminRefresh),s.xp6(1),s.Q6J("ngIf",!_.adminRefresh)}}let O=(()=>{class p{constructor(_,d,r,m){this.usersService=_,this.authResolver=d,this.store=r,this.route=m,this.adminFilterValue="",this.memberFilterValue="",this.displayedColumns=["id","name"],this.adminTableId=e.YF,this.memberTableId=e.gc}ngOnInit(){!0===(this.isMyProfile=this.route.snapshot.data.showPrincipal)?this.userId=this.store.getPerunPrincipal().user.id:this.route.parent.params.subscribe(_=>this.userId=_.userId),this.refreshAdminTable(),this.refreshMemberTable()}refreshMemberTable(){this.memberRefresh=!0,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(_=>{this.vosWhereIsMember=_,this.memberRefresh=!1},()=>this.memberRefresh=!1)}refreshAdminTable(){this.adminRefresh=!0,this.usersService.getVosWhereUserIsAdmin(this.userId).subscribe(_=>{this.vosWhereIsAdmin=_,this.adminRefresh=!1},()=>this.adminRefresh=!1)}applyMemberFilter(_){this.memberFilterValue=_}applyAdminFilter(_){this.adminFilterValue=_}}return p.\u0275fac=function(_){return new(_||p)(s.Y36(R.Fv),s.Y36(c.x4),s.Y36(c.d6),s.Y36(t.gz))},p.\u0275cmp=s.Xpm({type:p,selectors:[["app-user-organizations"]],hostVars:2,hostBindings:function(_,d){2&_&&s.ekj("router-component",d.true)},decls:7,vars:6,consts:[["class","page-subtitle",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"displayedColumns","tableId","filterValue","vos",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-subtitle"],[1,"mr-auto","ml-auto"],[3,"displayedColumns","tableId","filterValue","vos"],[1,"mt-5"]],template:function(_,d){1&_&&(s.YNc(0,L,3,3,"h1",0),s.YNc(1,y,3,3,"h1",0),s.TgZ(2,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return d.refreshMemberTable()}),s.qZA(),s.TgZ(3,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(m){return d.applyMemberFilter(m)}),s.qZA(),s.YNc(4,Y,1,0,"mat-spinner",3),s.YNc(5,C,1,4,"perun-web-apps-vos-list",4),s.YNc(6,I,8,6,"div",5)),2&_&&(s.Q6J("ngIf",d.isMyProfile),s.xp6(1),s.Q6J("ngIf",!d.isMyProfile),s.xp6(2),s.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),s.xp6(1),s.Q6J("ngIf",d.memberRefresh),s.xp6(1),s.Q6J("ngIf",!d.memberRefresh),s.xp6(1),s.Q6J("ngIf",!d.isMyProfile))},directives:[D.O5,l.t,n.L,M.$g,N.Z],pipes:[b.X$],styles:[""]}),p})()},17755:(K,P,i)=>{i.d(P,{Z:()=>_});var R=i(112),c=i(32075),e=i(36908),s=i(64080),t=i(9244),D=i(84379),l=i(5e3),n=i(11735),M=i(48966),N=i(69808),b=i(9224),L=i(47423),y=i(25245),Y=i(71135),C=i(51062);function Z(d,r){1&d&&l._UZ(0,"th",12)}function E(d,r){if(1&d&&(l.TgZ(0,"td",13),l._uU(1),l.qZA()),2&d){const m=r.$implicit;l.xp6(1),l.hij(" ",m.displayName,": ")}}function I(d,r){1&d&&l._UZ(0,"th",12)}function O(d,r){if(1&d){const m=l.EpF();l.TgZ(0,"td",14),l._uU(1),l.TgZ(2,"button",15),l.NdJ("click",function(){return l.CHM(m),l.oxw(2).changeEmail()}),l.TgZ(3,"mat-icon"),l._uU(4,"edit"),l.qZA(),l.qZA(),l.qZA()}if(2&d){const m=r.$implicit;l.xp6(1),l.hij(" ",m.value," ")}}function p(d,r){1&d&&l._UZ(0,"tr",16)}function T(d,r){if(1&d&&(l.TgZ(0,"div",2),l.TgZ(1,"mat-card",3),l.TgZ(2,"mat-card-header"),l.TgZ(3,"mat-card-title"),l.TgZ(4,"h1",4),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.qZA(),l.qZA(),l.TgZ(7,"mat-card-content"),l.TgZ(8,"table",5),l.ynx(9,6),l.YNc(10,Z,1,0,"th",7),l.YNc(11,E,2,1,"td",8),l.BQk(),l.ynx(12,9),l.YNc(13,I,1,0,"th",7),l.YNc(14,O,5,1,"td",10),l.BQk(),l.YNc(15,p,1,0,"tr",11),l.qZA(),l.qZA(),l.qZA(),l.qZA()),2&d){const m=l.oxw();l.xp6(5),l.Oqu(l.lcZ(6,3,"USER_DETAIL.OVERVIEW.GENERAL_SETTINGS")),l.xp6(3),l.Q6J("dataSource",m.mailDataSource),l.xp6(7),l.Q6J("matRowDefColumns",m.displayedColumns)}}let _=(()=>{class d{constructor(m,h,U,J,Q){this.userService=m,this.attributeService=h,this.storeService=U,this.route=J,this.dialog=Q,this.navItems=[],this.isServiceUser=!1,this.displayedColumns=["name","value"],this.inMyProfile=!1}ngOnInit(){this.route.params.subscribe(m=>{void 0!==m.userId?this.userService.getUserById(m.userId).subscribe(h=>{this.user=h,this.isServiceUser=h.serviceUser,this.initNavItems()}):(this.inMyProfile=!0,this.userID=this.storeService.getPerunPrincipal().user.id,this.attributeService.getUserAttributeByName(this.userID,s.r.USER_DEF_PREFERRED_MAIL).subscribe(h=>{this.preferredMail=h,this.handleMailNotDefined(),this.mailDataSource=new c.by([this.preferredMail]),this.initNavItems()}))})}initNavItems(){this.navItems=[{cssIcon:"perun-vo",url:"organizations",label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",style:"user-btn"},{cssIcon:"perun-group",url:"groups",label:"MENU_ITEMS.ADMIN.GROUPS",style:"user-btn"}],window.location.pathname.startsWith("/admin")&&this.navItems.push({cssIcon:"perun-user",url:"accounts",label:"MENU_ITEMS.USER.ACCOUNTS",style:"user-btn"},{cssIcon:"perun-identity",url:"identities",label:"MENU_ITEMS.USER.IDENTITIES",style:"user-btn"},{cssIcon:"perun-facility-white",url:"facilities",label:"MENU_ITEMS.USER.FACILITIES",style:"user-btn"},{cssIcon:"perun-resource",url:"resources",label:"MENU_ITEMS.USER.RESOURCES",style:"user-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:"attributes",label:"MENU_ITEMS.USER.ATTRIBUTES",style:"user-btn"}),this.navItems.push({cssIcon:"perun-roles",url:"roles",label:"MENU_ITEMS.USER.ROLES",style:"user-btn"}),this.navItems.push(this.isServiceUser?{cssIcon:"perun-manager",url:"associated-users",label:"MENU_ITEMS.USER.ASSOCIATED_USERS",style:"user-btn"}:{cssIcon:"perun-service-identity",url:"service-identities",label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",style:"user-btn"}),window.location.pathname.startsWith("/admin")||this.navItems.push({cssIcon:"perun-settings2",url:"settings",label:"MENU_ITEMS.ADMIN.SETTINGS",style:"user-btn"})}changeEmail(){const m=(0,t.kZ)();m.width="350px",m.data={userId:this.userID},this.dialog.open(D.gr,m).afterClosed().subscribe(U=>{U&&this.attributeService.getUserAttributeByName(this.userID,s.r.USER_DEF_PREFERRED_MAIL).subscribe(J=>{this.preferredMail=J,this.handleMailNotDefined(),this.mailDataSource=new c.by([this.preferredMail])})})}handleMailNotDefined(){null==this.preferredMail&&(this.preferredMail={id:-1,beanName:"Attribute",displayName:(0,t.Cz)(s.r.USER_DEF_PREFERRED_MAIL.split(":").pop()),value:Object("-")})}}return d.\u0275fac=function(m){return new(m||d)(l.Y36(R.Fv),l.Y36(R.H8),l.Y36(e.d6),l.Y36(n.gz),l.Y36(M.uw))},d.\u0275cmp=l.Xpm({type:d,selectors:[["app-user-overview"]],hostVars:2,hostBindings:function(m,h){2&m&&l.ekj("router-component",h.true)},decls:2,vars:3,consts:[["class","align-cards",4,"ngIf"],[3,"items","size"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"page-subtitle"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],["mat-icon-button","",1,"ml-3",3,"click"],["mat-row",""]],template:function(m,h){1&m&&(l.YNc(0,T,16,5,"div",0),l._UZ(1,"perun-web-apps-menu-buttons-field",1)),2&m&&(l.Q6J("ngIf",h.inMyProfile),l.xp6(1),l.Q6J("items",h.navItems)("size","small"))},directives:[N.O5,b.a8,b.dk,b.n5,b.dn,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,L.lW,y.Hw,c.nj,c.Gk,Y.L],pipes:[C.X$],styles:[".align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}"]}),d})()},6097:(K,P,i)=>{i.d(P,{t:()=>Ve});var R=i(112),c=i(36908),e=i(5e3),s=i(11735),t=i(69808),D=i(20773),l=i(81125),n=i(25245),M=i(9224),N=i(87831),b=i(64877),L=i(24179),y=i(62109),Y=i(74010),C=i(38383),Z=i(51062);function E(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function I(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function O(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.SELF_VOS_ADMIN")," "))}function p(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.SELF_VOS")," "))}function T(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.SELF_IDENTITIES_ADMIN")," "))}function _(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.SELF_IDENTITIES")," "))}const d=function(){return["user","id","name"]};function r(a,f){if(1&a&&(e.TgZ(0,"div",11),e.YNc(1,T,3,3,"div",2),e.YNc(2,_,3,3,"div",2),e._UZ(3,"app-users-list",12),e.qZA()),2&a){const o=e.oxw(4);e.xp6(1),e.Q6J("ngIf",!o.showDescription),e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("users",o.users)("disableRouting",!0)("displayedColumns",e.DdM(5,d))}}const m=function(){return["id","name","shortName"]};function h(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,O,3,3,"div",2),e.YNc(2,p,3,3,"div",2),e._UZ(3,"perun-web-apps-vos-list",9),e.YNc(4,r,4,6,"div",10),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",!o.showDescription),e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(5,m))("vos",o.vos),e.xp6(1),e.Q6J("ngIf",o.users.length)}}function U(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getSelfData()}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",7),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,I,1,0,"mat-spinner",1),e.YNc(8,h,5,6,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.SELF")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function J(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function Q(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.GROUPADMIN_GROUPS")," "))}const G=function(){return["id","vo","name","description"]};function V(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,Q,3,3,"div",2),e._UZ(2,"perun-web-apps-groups-list",14),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("groups",o.groups)("displayedColumns",e.DdM(3,G))}}function ee(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getAdminGroupsAndVos()}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",13),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,J,1,0,"mat-spinner",1),e.YNc(8,V,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.GROUPADMIN")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function te(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function ne(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.GROUPOBSERVER_GROUPS")," "))}const se=function(){return["id","recent","vo","name","description"]};function ie(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,ne,3,3,"div",2),e._UZ(2,"perun-web-apps-groups-list",14),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("groups",o.groups)("displayedColumns",e.DdM(3,se))}}function ae(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getGroupsAndVos("GROUPOBSERVER")}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",13),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,te,1,0,"mat-spinner",1),e.YNc(8,ie,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.GROUPOBSERVER")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function oe(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function z(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.VOADMIN_VOS")," "))}function H(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,z,3,3,"div",2),e._UZ(2,"perun-web-apps-vos-list",9),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(3,m))("vos",o.vos)}}function re(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getAdminVos()}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",15),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,oe,1,0,"mat-spinner",1),e.YNc(8,H,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.VOADMIN")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function _e(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function le(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.VOOBSERVER_VOS")," "))}function pe(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,le,3,3,"div",2),e._UZ(2,"perun-web-apps-vos-list",9),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(3,m))("vos",o.vos)}}function ce(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){e.CHM(o);const A=e.oxw(2);return A.getVos(A.roles.get("VOOBSERVER").get("Vo"))}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",15),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,_e,1,0,"mat-spinner",1),e.YNc(8,pe,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.VOOBSERVER")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function me(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function ue(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.TRUSTEDFACILITYADMIN_VOS")," "))}function de(a,f){if(1&a&&(e.TgZ(0,"div"),e.TgZ(1,"div"),e.YNc(2,ue,3,3,"div",2),e._UZ(3,"perun-web-apps-vos-list",9),e.qZA(),e.qZA()),2&a){const o=e.oxw(3);e.xp6(2),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(3,m))("vos",o.vos)}}function ge(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){e.CHM(o);const A=e.oxw(2);return A.getVos(A.roles.get("TRUSTEDFACILITYADMIN").get("Vo"))}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",15),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,me,1,0,"mat-spinner",1),e.YNc(8,de,4,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.TRUSTEDFACILITYADMIN")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function fe(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function he(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.TOPGROUPCREATOR_VOS")," "))}function Ee(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,he,3,3,"div",2),e._UZ(2,"perun-web-apps-vos-list",9),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(3,m))("vos",o.vos)}}function X(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){e.CHM(o);const A=e.oxw(2);return A.getVos(A.roles.get("TOPGROUPCREATOR").get("Vo"))}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",15),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,fe,1,0,"mat-spinner",1),e.YNc(8,Ee,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.TOPGROUPCREATOR")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function Ie(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function Te(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.RESOURCEADMIN_RESOURCES")," "))}const q=function(){return["id","name","vo","facility","description"]};function ve(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,Te,3,3,"div",2),e._UZ(2,"perun-web-apps-resources-list",17),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("resources",o.resources)("routingVo",!0)("displayedColumns",e.DdM(4,q))}}function Ue(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getResourcesData("RESOURCEADMIN")}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",16),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,Ie,1,0,"mat-spinner",1),e.YNc(8,ve,3,5,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.RESOURCEADMIN")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function Ae(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function Ce(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.RESOURCEOBSERVER_RESOURCES")," "))}function Re(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,Ce,3,3,"div",2),e._UZ(2,"perun-web-apps-resources-list",17),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("resources",o.resources)("routingVo",!0)("displayedColumns",e.DdM(4,q))}}function Oe(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getResourcesData("RESOURCEOBSERVER")}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",16),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,Ae,1,0,"mat-spinner",1),e.YNc(8,Re,3,5,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.RESOURCEOBSERVER")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function xe(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function Se(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.RESOURCESELFSERVICE_RESOURCES")," "))}function Ze(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,Se,3,3,"div",2),e._UZ(2,"perun-web-apps-resources-list",17),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("resources",o.resources)("routingVo",!0)("displayedColumns",e.DdM(4,q))}}function De(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getResourcesData("RESOURCESELFSERVICE")}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",16),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,xe,1,0,"mat-spinner",1),e.YNc(8,Ze,3,5,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.RESOURCESELFSERVICE")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function Me(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function $(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.FACILITYADMIN_FACILITIES")," "))}const k=function(){return["id","name","description"]};function be(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,$,3,3,"div",2),e._UZ(2,"perun-web-apps-facilities-list",19),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(3,k))("facilities",o.facilities)}}function Ne(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getAdminFacilities()}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",18),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,Me,1,0,"mat-spinner",1),e.YNc(8,be,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.FACILITYADMIN")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function Pe(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function Le(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.FACILITYOBSERVER_FACILITIES")," "))}function ye(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,Le,3,3,"div",2),e._UZ(2,"perun-web-apps-facilities-list",19),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(3,k))("facilities",o.facilities)}}function Ye(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getFacilities("FACILITYOBSERVER")}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",18),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,Pe,1,0,"mat-spinner",1),e.YNc(8,ye,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.FACILITYOBSERVER")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function Be(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function Je(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.SPONSORSHIP_MEMBERS")," "))}const Fe=function(){return["id","fullName","sponsored"]};function Qe(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,Je,3,3,"div",2),e._UZ(2,"perun-web-apps-members-list",20),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("members",o.members)("displayedColumns",e.DdM(3,Fe))}}function g(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){return e.CHM(o),e.oxw(2).getMembers()}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",7),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,Be,1,0,"mat-spinner",1),e.YNc(8,Qe,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.SPONSORSHIP")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function x(a,f){1&a&&e._UZ(0,"mat-spinner",3)}function u(a,f){1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ROLES.SPONSOR_VOS")," "))}function S(a,f){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,u,3,3,"div",2),e._UZ(2,"perun-web-apps-vos-list",9),e.qZA()),2&a){const o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",o.showDescription),e.xp6(1),e.Q6J("displayedColumns",e.DdM(3,m))("vos",o.vos)}}function F(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){e.CHM(o);const A=e.oxw(2);return A.getVos(A.roles.get("SPONSOR").get("Vo"))}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",7),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,x,1,0,"mat-spinner",1),e.YNc(8,S,3,4,"div",2),e.qZA()}if(2&a){const o=e.oxw(2);e.xp6(5),e.Oqu(e.lcZ(6,3,"ROLES.SPONSOR")),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading)}}function w(a,f){1&a&&(e.TgZ(0,"mat-expansion-panel"),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",7),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&a&&(e.xp6(5),e.Oqu(e.lcZ(6,1,"ROLES.PERUN_ADMIN")))}function We(a,f){1&a&&(e.TgZ(0,"mat-expansion-panel"),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",7),e.TgZ(4,"p",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&a&&(e.xp6(5),e.Oqu(e.lcZ(6,1,"ROLES.PERUN_OBSERVER")))}function Ke(a,f){if(1&a&&(e.TgZ(0,"p",22),e._uU(1),e.qZA()),2&a){const o=f.$implicit;e.xp6(1),e.AsE("",o[0]," ids: ",o[1],"")}}function we(a,f){if(1&a){const o=e.EpF();e.TgZ(0,"mat-expansion-panel",6),e.NdJ("opened",function(){const B=e.CHM(o).$implicit;return e.oxw(2).getInnerKeys(B)}),e.TgZ(1,"mat-expansion-panel-header"),e.TgZ(2,"mat-panel-title"),e._UZ(3,"mat-icon",7),e.TgZ(4,"p",8),e._uU(5),e.qZA(),e.qZA(),e.qZA(),e.YNc(6,Ke,2,2,"p",21),e.qZA()}if(2&a){const o=f.$implicit,v=e.oxw(2);e.xp6(5),e.Oqu(o),e.xp6(1),e.Q6J("ngForOf",v.currentIds)}}function Ge(a,f){if(1&a&&(e.TgZ(0,"mat-accordion"),e.YNc(1,U,9,5,"mat-expansion-panel",4),e.YNc(2,ee,9,5,"mat-expansion-panel",4),e.YNc(3,ae,9,5,"mat-expansion-panel",4),e.YNc(4,re,9,5,"mat-expansion-panel",4),e.YNc(5,ce,9,5,"mat-expansion-panel",4),e.YNc(6,ge,9,5,"mat-expansion-panel",4),e.YNc(7,X,9,5,"mat-expansion-panel",4),e.YNc(8,Ue,9,5,"mat-expansion-panel",4),e.YNc(9,Oe,9,5,"mat-expansion-panel",4),e.YNc(10,De,9,5,"mat-expansion-panel",4),e.YNc(11,Ne,9,5,"mat-expansion-panel",4),e.YNc(12,Ye,9,5,"mat-expansion-panel",4),e.YNc(13,g,9,5,"mat-expansion-panel",4),e.YNc(14,F,9,5,"mat-expansion-panel",4),e.YNc(15,w,7,3,"mat-expansion-panel",2),e.YNc(16,We,7,3,"mat-expansion-panel",2),e.YNc(17,we,7,2,"mat-expansion-panel",5),e.qZA()),2&a){const o=e.oxw();e.xp6(1),e.Q6J("ngIf",o.isSelf),e.xp6(1),e.Q6J("ngIf",o.isGroupAdmin),e.xp6(1),e.Q6J("ngIf",o.isGroupObserver),e.xp6(1),e.Q6J("ngIf",o.isVoAdmin),e.xp6(1),e.Q6J("ngIf",o.isVoObserver),e.xp6(1),e.Q6J("ngIf",o.isTrustedFacilityAdmin),e.xp6(1),e.Q6J("ngIf",o.isTopGroupCreator),e.xp6(1),e.Q6J("ngIf",o.isResourceAdmin),e.xp6(1),e.Q6J("ngIf",o.isResourceObserver),e.xp6(1),e.Q6J("ngIf",o.isResourceSelfService),e.xp6(1),e.Q6J("ngIf",o.isFacilityAdmin),e.xp6(1),e.Q6J("ngIf",o.isFacilityObserver),e.xp6(1),e.Q6J("ngIf",o.hasSponsorship),e.xp6(1),e.Q6J("ngIf",o.isSponsor),e.xp6(1),e.Q6J("ngIf",o.isPerunAdmin),e.xp6(1),e.Q6J("ngIf",o.isPerunObserver),e.xp6(1),e.Q6J("ngForOf",o.roleNames)}}let Ve=(()=>{class a{constructor(o,v,A,B,W,j,He,qe,je){this.authzResolverService=o,this.usersManagerService=v,this.vosManagerService=A,this.facilitiesManagerService=B,this.resourcesManagerService=W,this.membersManagerService=j,this.groupsManagerService=He,this.route=qe,this.store=je,this.currentIds=[],this.roles=new Map,this.roleFilter=["SELF","GROUPADMIN","VOADMIN","RESOURCEADMIN","FACILITYADMIN","TOPGROUPCREATOR","SPONSORSHIP","SPONSOR","RESOURCESELFSERVICE","VOOBSERVER","RESOURCEOBSERVER","GROUPOBSERVER","TRUSTEDFACILITYADMIN","FACILITYOBSERVER","PERUNADMIN","PERUNOBSERVER"],this.roleNames=[],this.groups=[],this.vos=[],this.facilities=[],this.users=[],this.resources=[],this.members=[]}ngOnInit(){this.outerLoading=!0,this.route.parent.params.subscribe(o=>{o.userId?(this.userId=o.userId,this.authzResolverService.getUserRoleNames(this.userId).subscribe(v=>{this.roleNames=v.map(A=>A.toUpperCase()),this.authzResolverService.getUserRoles(this.userId).subscribe(A=>{this.prepareRoles(A)})})):(this.showDescription=!0,this.principal=this.store.getPerunPrincipal(),this.userId=this.principal.userId,this.roleNames=Object.keys(this.principal.roles),this.prepareRoles(this.principal.roles))})}prepareRoles(o){this.roleNames.forEach(v=>{const A=new Map;switch(Object.keys(o[v]).forEach(W=>{A.set(W,o[v][W])}),v){case"SELF":this.isSelf=!0;break;case"GROUPADMIN":this.isGroupAdmin=!0;break;case"VOADMIN":this.isVoAdmin=!0;break;case"RESOURCEADMIN":this.isResourceAdmin=!0;break;case"FACILITYADMIN":this.isFacilityAdmin=!0;break;case"TOPGROUPCREATOR":this.isTopGroupCreator=!0;break;case"SPONSORSHIP":this.hasSponsorship=!0;break;case"SPONSOR":this.isSponsor=!0;break;case"RESOURCESELFSERVICE":this.isResourceSelfService=!0;break;case"VOOBSERVER":this.isVoObserver=!0;break;case"RESOURCEOBSERVER":this.isResourceObserver=!0;break;case"GROUPOBSERVER":this.isGroupObserver=!0;break;case"TRUSTEDFACILITYADMIN":this.isTrustedFacilityAdmin=!0;break;case"FACILITYOBSERVER":this.isFacilityObserver=!0;break;case"PERUNADMIN":this.isPerunAdmin=!0;break;case"PERUNOBSERVER":this.isPerunObserver=!0}this.roles.set(v,A)}),this.roleNames=this.roleNames.filter(v=>!this.roleFilter.includes(v)),this.outerLoading=!1}getAdminGroupsAndVos(){this.loading=!0,this.groups=[],this.usersManagerService.getGroupsWhereUserIsAdmin(this.userId).subscribe(o=>{this.groups=o;const v=[...new Set(this.groups.map(A=>A.voId))];this.getVos(v)})}getVos(o){this.loading=!0,this.vos=[],this.vosManagerService.getVosByIds(o).subscribe(v=>{this.vos=v,this.loading=!1})}getInnerKeys(o){if(this.roles.get(o)){const v=this.roles.get(o).entries(),A=[];let B=v.next().value;for(;B;)A.push(B),B=v.next().value;this.currentIds=A}else this.currentIds=[]}getAdminVos(){this.loading=!0,this.vos=[],this.usersManagerService.getVosWhereUserIsAdmin(this.userId).subscribe(o=>{this.vos=o,this.loading=!1})}getAdminFacilities(){this.loading=!0,this.facilities=[],this.facilitiesManagerService.getFacilitiesWhereUserIsAdmin(this.userId).subscribe(o=>{this.facilities=o.map(v=>({facility:v})),this.loading=!1})}getSelfData(){this.loading=!0,this.vos=[],this.users=[],this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(o=>{this.vos=o;const v=this.roles.get("SELF").get("User");v?this.usersManagerService.getUsersByIds(v).subscribe(A=>{this.users=A,this.loading=!1}):this.loading=!1})}getResourcesData(o){this.loading=!0;const v=this.roles.get(o).get("Resource");this.vos=[],this.facilities=[],this.resources=[],this.resourcesManagerService.getRichResourcesByIds(v).subscribe(A=>{this.resources=A,this.vos=this.resources.map(B=>B.vo).filter((B,W,j)=>j.indexOf(B)===W),this.facilities=this.resources.map(B=>({facility:B.facility})).filter((B,W,j)=>j.indexOf(B)===W),this.loading=!1})}getMembers(){this.loading=!0;const o=this.roles.get("SPONSORSHIP").get("Member");this.members=[],this.membersManagerService.getRichMembersByIds(o).subscribe(v=>{this.members=v,this.loading=!1})}getGroupsAndVos(o){this.loading=!0;const v=this.roles.get(o).get("Vo"),A=this.roles.get(o).get("Group");this.vos=[],this.groups=[],this.groupsManagerService.getGroupsByIds(A).subscribe(B=>{this.groups=B,this.vosManagerService.getVosByIds(v).subscribe(W=>{this.vos=W,this.loading=!1})})}getFacilities(o){this.loading=!0,this.facilities=[];const v=this.roles.get(o).get("Facility");this.facilitiesManagerService.getFacilitiesByIds(v).subscribe(A=>{this.facilities=A.map(B=>({facility:B})),this.loading=!1})}}return a.\u0275fac=function(o){return new(o||a)(e.Y36(R.Ct),e.Y36(R.Fv),e.Y36(R.YF),e.Y36(R.IQ),e.Y36(R.xk),e.Y36(R.uq),e.Y36(R.ff),e.Y36(s.gz),e.Y36(c.d6))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-user-roles"]],hostVars:2,hostBindings:function(o,v){2&o&&e.ekj("router-component",v.true)},decls:5,vars:5,consts:[[1,"page-subtitle","d-flex"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"opened",4,"ngIf"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["mat-card-avatar","","svgIcon","perun-user-dark",1,"mr-2"],[1,"mt-auto","mb-auto"],[3,"displayedColumns","vos"],["class","mt-5",4,"ngIf"],[1,"mt-5"],[3,"users","disableRouting","displayedColumns"],["mat-card-avatar","","svgIcon","perun-group-black",1,"mr-2"],[3,"groups","displayedColumns"],["mat-card-avatar","","svgIcon","perun-vo-black",1,"mr-2"],["mat-card-avatar","","svgIcon","perun-resource-black",1,"mr-2"],[3,"resources","routingVo","displayedColumns"],["mat-card-avatar","","svgIcon","perun-facility-black",1,"mr-2"],[3,"displayedColumns","facilities"],[3,"members","displayedColumns"],["class","role-content",4,"ngFor","ngForOf"],[1,"role-content"]],template:function(o,v){1&o&&(e.TgZ(0,"h1",0),e._uU(1),e.ALo(2,"translate"),e.qZA(),e.YNc(3,E,1,0,"mat-spinner",1),e.YNc(4,Ge,18,17,"mat-accordion",2)),2&o&&(e.xp6(1),e.Oqu(e.lcZ(2,3,"ROLES.TITLE")),e.xp6(2),e.Q6J("ngIf",v.outerLoading),e.xp6(1),e.Q6J("ngIf",!v.outerLoading))},directives:[t.O5,D.$g,l.pp,l.ib,l.yz,l.yK,n.Hw,M.kc,N.Z,b.C,L.W,y.C,Y.X,C.O,t.sg],pipes:[Z.X$],styles:[".role-content[_ngcontent-%COMP%]{overflow:auto;overflow-y:hidden}.info-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),a})()},46597:(K,P,i)=>{i.d(P,{d:()=>O});var R=i(10036),c=i(112),e=i(20449),s=i(9244),t=i(54668),D=i(94814),l=i(36908),n=i(5e3),M=i(48966),N=i(11735),b=i(96214),L=i(47423),y=i(69808),Y=i(64877),C=i(20773),Z=i(51062);function E(p,T){if(1&p&&(n._UZ(0,"app-users-list",6),n.ALo(1,"translate")),2&p){const _=n.oxw();n.Q6J("tableId",_.tableId)("noUsersFoundLabel",n.lcZ(1,6,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.NO_ASSOCIATED_USERS"))("users",_.associatedUsers)("selection",_.selection)("disableRouting",_.disableRouting)("displayedColumns",_.displayedColumns)}}function I(p,T){1&p&&n._UZ(0,"mat-spinner",7)}let O=(()=>{class p{constructor(_,d,r,m,h){this.dialog=_,this.router=d,this.authResolver=r,this.userManager=m,this.entityStorageService=h,this.loading=!1,this.selection=new e.Ov(!1,[]),this.associatedUsers=[],this.tableId=R.It,this.displayedColumns=["select","id","user","name"]}ngOnInit(){this.loading=!0,this.user=this.entityStorageService.getEntity(),this.userManager.getUsersBySpecificUser(this.user.id).subscribe(_=>{this.associatedUsers=_,this.setAuth(),this.loading=!1})}refreshTable(){this.loading=!0,this.userManager.getUsersBySpecificUser(this.user.id).subscribe(_=>{this.associatedUsers=_,this.selection.clear(),this.loading=!1})}setAuth(){this.addAuth=this.authResolver.isAuthorized("addSpecificUserOwner_User_User_policy",[this.user]),this.removeAuth=this.authResolver.isAuthorized("removeSpecificUserOwner_User_User_policy",[this.user]),this.disableRouting=!this.authResolver.isPerunAdminOrObserver()}onAdd(){const _=(0,s.kZ)();_.width="1250px",_.data={userId:this.user.id,theme:"user-theme",isService:!0,target:"USER"},this.dialog.open(t.l,_).afterClosed().subscribe(r=>{r&&this.refreshTable()})}onRemove(){const _=(0,s.kZ)();_.width="650px",_.data={identities:this.selection.selected,userId:this.user.id,specificUser:this.selection.selected[0],isService:!0,theme:"user-theme",targetTitle:"USER",targetDescription:"SERVICE"},this.dialog.open(D.B,_).afterClosed().subscribe(r=>{r&&(this.authResolver.isAuthorized("getUsersBySpecificUser_User_policy",[this.user])?this.refreshTable():this.router.navigate(["/myProfile"]))})}}return p.\u0275fac=function(_){return new(_||p)(n.Y36(M.uw),n.Y36(N.F0),n.Y36(l.x4),n.Y36(c.Fv),n.Y36(l.fb))},p.\u0275cmp=n.Xpm({type:p,selectors:[["app-user-settings-associated-users"]],decls:13,vars:12,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"tableId","noUsersFoundLabel","users","selection","disableRouting","displayedColumns",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"tableId","noUsersFoundLabel","users","selection","disableRouting","displayedColumns"],[1,"mr-auto","ml-auto"]],template:function(_,d){1&_&&(n.TgZ(0,"div"),n.TgZ(1,"h1",0),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"perun-web-apps-refresh-button",1),n.NdJ("refresh",function(){return d.refreshTable()}),n.qZA(),n.TgZ(5,"button",2),n.NdJ("click",function(){return d.onAdd()}),n._uU(6),n.ALo(7,"translate"),n.qZA(),n.TgZ(8,"button",3),n.NdJ("click",function(){return d.onRemove()}),n._uU(9),n.ALo(10,"translate"),n.qZA(),n.YNc(11,E,2,8,"app-users-list",4),n.qZA(),n.YNc(12,I,1,0,"mat-spinner",5)),2&_&&(n.xp6(2),n.Oqu(n.lcZ(3,6,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.TITLE")),n.xp6(4),n.hij(" ",n.lcZ(7,8,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.ADD")," "),n.xp6(2),n.Q6J("disabled",0===d.selection.selected.length),n.xp6(1),n.hij(" ",n.lcZ(10,10,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.REMOVE")," "),n.xp6(2),n.Q6J("ngIf",!d.loading),n.xp6(1),n.Q6J("ngIf",d.loading))},directives:[b.t,L.lW,y.O5,Y.C,C.$g],pipes:[Z.X$],styles:[""]}),p})()},97453:(K,P,i)=>{i.d(P,{R:()=>T});var R=i(20449),c=i(112),e=i(10036),s=i(9244),t=i(54668),D=i(94814),l=i(36908),n=i(5e3),M=i(11735),N=i(48966),b=i(96214),L=i(69808),y=i(47423),Y=i(20773),C=i(64877),Z=i(51062);function E(_,d){if(1&_){const r=n.EpF();n.TgZ(0,"button",6),n.NdJ("click",function(){return n.CHM(r),n.oxw().onAdd()}),n._uU(1),n.ALo(2,"translate"),n.qZA()}2&_&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.CREATE"),"\n"))}function I(_,d){if(1&_){const r=n.EpF();n.TgZ(0,"button",7),n.NdJ("click",function(){return n.CHM(r),n.oxw().onRemove()}),n._uU(1),n.ALo(2,"translate"),n.qZA()}if(2&_){const r=n.oxw();n.Q6J("disabled",0===r.selection.selected.length),n.xp6(1),n.hij(" ",n.lcZ(2,2,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.DELETE"),"\n")}}function O(_,d){1&_&&n._UZ(0,"mat-spinner",8)}function p(_,d){if(1&_&&(n._UZ(0,"app-users-list",9),n.ALo(1,"translate")),2&_){const r=n.oxw();n.Q6J("tableId",r.tableId)("noUsersFoundLabel",n.lcZ(1,6,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.NO_IDENTITIES"))("users",r.identities)("selection",r.selection)("routeToAdmin",r.routeToAdminSection)("displayedColumns",r.displayedColumns)}}let T=(()=>{class _{constructor(r,m,h,U,J,Q){this.route=r,this.dialog=m,this.router=h,this.userManager=U,this.authResolver=J,this.store=Q,this.loading=!1,this.selection=new R.Ov(!1,[]),this.identities=[],this.tableId=e.Iz,this.displayedColumns=["select","id","user","name"],this.routeToAdminSection=!0,this.targetTitle="SERVICE",this.targetDescription="SERVICE"}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(r=>{this.userId=r.userId,void 0===this.userId&&(this.targetTitle="SERVICE",this.targetDescription="SELF",this.userId=this.store.getPerunPrincipal().userId,this.routeToAdminSection=!1),this.setAuthRights(),this.refreshTable()})}refreshTable(){this.loading=!0,this.userManager.getSpecificUsersByUser(this.userId).subscribe(r=>{this.identities=r,this.selection.clear(),this.loading=!1})}setAuthRights(){this.addIdentity=this.authResolver.isPerunAdmin(),this.removeIdentity=this.authResolver.isAuthorized("removeSpecificUserOwner_User_User_policy",[{id:this.userId,beanName:"User"}])}onAdd(){const r=(0,s.kZ)();r.width="1250px",r.data={userId:this.userId,theme:"user-theme",isService:!1,target:this.targetTitle},this.dialog.open(t.l,r).afterClosed().subscribe(h=>{h&&this.refreshTable()})}onRemove(){const r=(0,s.kZ)();r.width="650px",r.data={identities:this.selection.selected,userId:this.userId,specificUser:this.selection.selected[0],theme:"user-theme",targetTitle:this.targetTitle,targetDescription:this.targetDescription},this.dialog.open(D.B,r).afterClosed().subscribe(h=>{h&&this.refreshTable()})}}return _.\u0275fac=function(r){return new(r||_)(n.Y36(M.gz),n.Y36(N.uw),n.Y36(M.F0),n.Y36(c.Fv),n.Y36(l.x4),n.Y36(l.d6))},_.\u0275cmp=n.Xpm({type:_,selectors:[["app-user-settings-service-identities"]],decls:8,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2 action-button","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","warn",3,"disabled","click",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"tableId","noUsersFoundLabel","users","selection","routeToAdmin","displayedColumns",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],[3,"tableId","noUsersFoundLabel","users","selection","routeToAdmin","displayedColumns"]],template:function(r,m){1&r&&(n.TgZ(0,"h1",0),n._uU(1),n.ALo(2,"translate"),n.qZA(),n.TgZ(3,"perun-web-apps-refresh-button",1),n.NdJ("refresh",function(){return m.refreshTable()}),n.qZA(),n.YNc(4,E,3,3,"button",2),n.YNc(5,I,3,4,"button",3),n.YNc(6,O,1,0,"mat-spinner",4),n.YNc(7,p,2,8,"app-users-list",5)),2&r&&(n.xp6(1),n.Oqu(n.lcZ(2,5,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.TITLE")),n.xp6(3),n.Q6J("ngIf",m.addIdentity),n.xp6(1),n.Q6J("ngIf",m.removeIdentity),n.xp6(1),n.Q6J("ngIf",m.loading),n.xp6(1),n.Q6J("ngIf",!m.loading))},directives:[b.t,L.O5,y.lW,Y.$g,C.C],pipes:[Z.X$],styles:[""]}),_})()},46142:(K,P,i)=>{i.r(P),i.d(P,{UsersModule:()=>Qe});var R=i(69808),c=i(11735),e=i(74837),s=i(85985),t=i(5e3),D=i(61283);let l=(()=>{class g{constructor(){}}return g.\u0275fac=function(u){return new(u||g)},g.\u0275cmp=t.Xpm({type:g,selectors:[["app-user-settings"]],hostVars:2,hostBindings:function(u,S){2&u&&t.ekj("router-component",S.true)},decls:1,vars:0,template:function(u,S){1&u&&t._UZ(0,"app-animated-router-outlet")},directives:[D.A],styles:[""]}),g})();var n=i(112),M=i(20773),N=i(71135);function b(g,x){1&g&&t._UZ(0,"mat-spinner",2)}function L(g,x){if(1&g&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",3),t.qZA()),2&g){const u=t.oxw();t.xp6(1),t.Q6J("items",u.navItems)("size","small")}}let y=(()=>{class g{constructor(u,S){this.route=u,this.userManager=S,this.navItems=[],this.loading=!1}ngOnInit(){window.location.pathname.startsWith("/admin")?(this.loading=!0,this.route.parent.parent.params.subscribe(u=>{this.userManager.getUserById(u.userId).subscribe(F=>{this.isServiceUser=F.serviceUser,this.initNavItems(),this.loading=!1},()=>this.loading=!1)})):this.initNavItems()}initNavItems(){this.navItems=[],window.location.pathname.startsWith("/admin")||this.navItems.push({cssIcon:"perun-settings2",url:"passwordReset",label:"MENU_ITEMS.USER.PASSWORD_RESET",style:"user-btn"},{cssIcon:"perun-settings1",url:"guiConfig",label:"MENU_ITEMS.USER.GUI_CONFIG",style:"user-btn"})}}return g.\u0275fac=function(u){return new(u||g)(t.Y36(c.gz),t.Y36(n.Fv))},g.\u0275cmp=t.Xpm({type:g,selectors:[["app-user-settings-overview"]],hostVars:2,hostBindings:function(u,S){2&u&&t.ekj("router-component",S.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(u,S){1&u&&(t.YNc(0,b,1,0,"mat-spinner",0),t.YNc(1,L,2,2,"div",1)),2&u&&(t.Q6J("ngIf",S.loading),t.xp6(1),t.Q6J("ngIf",!S.loading))},directives:[R.O5,M.$g,N.L],styles:[""]}),g})();var Y=i(98973),C=i(80255),Z=i(9244),E=i(6335),I=i(67322),O=i(74107),p=i(90508),T=i(51062);function _(g,x){if(1&g&&(t.TgZ(0,"mat-option",5),t._uU(1),t.qZA()),2&g){const u=x.$implicit;t.Q6J("value",u),t.xp6(1),t.hij(" ",u," ")}}let d=(()=>{class g{constructor(u){this.guiConfigService=u,this.tablePageSizeOptions=Z.f7}ngOnInit(){this.preferredTablePageSize=this.guiConfigService.getNumber(E.Rc)}updatePreferredTablePageSize(){this.guiConfigService.setNumber(E.Rc,this.preferredTablePageSize)}}return g.\u0275fac=function(u){return new(u||g)(t.Y36(E.Ng))},g.\u0275cmp=t.Xpm({type:g,selectors:[["app-user-settings-app-configuration"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[1,"col-12","col-lg-6","p-0"],[1,"w-100"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(u,S){1&u&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",1),t.TgZ(4,"mat-form-field",2),t.TgZ(5,"mat-label"),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"mat-select",3),t.NdJ("valueChange",function(w){return S.preferredTablePageSize=w})("valueChange",function(){return S.updatePreferredTablePageSize()}),t.YNc(9,_,2,2,"mat-option",4),t.qZA(),t.qZA(),t.qZA()),2&u&&(t.xp6(1),t.Oqu(t.lcZ(2,4,"USER_DETAIL.SETTINGS.GUI_CONFIG.TITLE")),t.xp6(5),t.Oqu(t.lcZ(7,6,"USER_DETAIL.SETTINGS.GUI_CONFIG.PREF_TABLE_PAGE_SIZE")),t.xp6(2),t.Q6J("value",S.preferredTablePageSize),t.xp6(1),t.Q6J("ngForOf",S.tablePageSizeOptions))},directives:[I.KE,I.hX,O.gD,R.sg,p.ey],pipes:[T.X$],styles:[""]}),g})();var r=i(17755),m=i(36908),h=i(77968),U=i(4235),J=i(25245),Q=i(29772),G=i(31359);const V=function(){return{color:"black"}},ee=function(){return["/myProfile"]};function te(g,x){if(1&g&&(t.TgZ(0,"div",1),t._UZ(1,"perun-web-apps-back-button"),t.TgZ(2,"div",2),t._UZ(3,"mat-icon",3),t.ALo(4,"translate"),t.TgZ(5,"div",4),t.TgZ(6,"div",5),t.TgZ(7,"a",6),t._uU(8),t.ALo(9,"userFullName"),t.qZA(),t.TgZ(10,"span",7),t._uU(11),t.qZA(),t.qZA(),t.TgZ(12,"span",8),t._uU(13),t.ALo(14,"translate"),t.ALo(15,"translate"),t.qZA(),t.qZA(),t.qZA(),t._UZ(16,"app-animated-router-outlet"),t.qZA()),2&g){const u=t.oxw();t.xp6(3),t.s9C("matTooltip",t.lcZ(4,8,"MENU_ITEMS.USER.ENTITY")),t.Q6J("ngStyle",t.DdM(16,V)),t.xp6(4),t.Q6J("routerLink",t.DdM(17,ee)),t.xp6(1),t.hij(" ",t.lcZ(9,10,u.user)," "),t.xp6(3),t.hij(" \xa0#",u.user.id," "),t.xp6(2),t.lnq(" ",t.lcZ(14,12,"MENU_ITEMS.USER.ENTITY"),", ",t.lcZ(15,14,"MENU_ITEMS.USER.USER_TYPE"),": ",u.getUserType()," ")}}let ne=(()=>{class g{constructor(u,S,F){this.sideMenuService=u,this.store=S,this.router=F}ngOnInit(){this.path=this.router.url,this.router.events.subscribe(()=>{this.path=this.router.url}),this.principal=this.store.getPerunPrincipal(),this.user=this.principal.user,this.sideMenuService.setUserItems([])}getUserType(){return this.user.serviceUser?"Service":"Person"}}return g.\u0275fac=function(u){return new(u||g)(t.Y36(h.D),t.Y36(m.d6),t.Y36(c.F0))},g.\u0275cmp=t.Xpm({type:g,selectors:[["app-user-profile"]],decls:1,vars:1,consts:[["class","container-fluid pl-xl-5 pr-xl-5 user-theme",4,"ngIf"],[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-user-dark",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"user-link",3,"routerLink"],[1,"text-muted"],[1,"mt-1","entity-info"]],template:function(u,S){1&u&&t.YNc(0,te,17,18,"div",0),2&u&&t.Q6J("ngIf",void 0!==S.user)},directives:[R.O5,U.W,J.Hw,Q.gM,R.PC,c.yS,D.A],pipes:[T.X$,G.d],styles:[""]}),g})();var se=i(6097),ie=i(97453),ae=i(69024),oe=i(29862),z=i(48966),H=i(47423);function re(g,x){1&g&&t._UZ(0,"mat-spinner",11)}function _e(g,x){if(1&g){const u=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(u),t.oxw(2).editUser()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}const le=function(){return{color:"black"}},pe=function(g){return["/myProfile/service-identities",g]};function ce(g,x){if(1&g&&(t.TgZ(0,"div",1),t._UZ(1,"perun-web-apps-back-button"),t.YNc(2,re,1,0,"mat-spinner",2),t.TgZ(3,"div",3),t._UZ(4,"mat-icon",4),t.ALo(5,"translate"),t.TgZ(6,"div",5),t.TgZ(7,"div",6),t.TgZ(8,"a",7),t._uU(9),t.ALo(10,"userFullName"),t.qZA(),t.TgZ(11,"span",8),t._uU(12),t.qZA(),t.YNc(13,_e,3,0,"button",9),t.qZA(),t.TgZ(14,"div"),t._uU(15),t.ALo(16,"translate"),t.qZA(),t.TgZ(17,"span",10),t._uU(18),t.ALo(19,"translate"),t.ALo(20,"translate"),t.qZA(),t.qZA(),t.qZA(),t._UZ(21,"app-animated-router-outlet"),t.qZA()),2&g){const u=t.oxw();t.xp6(2),t.Q6J("ngIf",u.loading),t.xp6(2),t.s9C("matTooltip",t.lcZ(5,12,"MENU_ITEMS.USER.ENTITY")),t.Q6J("ngStyle",t.DdM(22,le)),t.xp6(4),t.Q6J("routerLink",t.VKq(23,pe,u.user.id)),t.xp6(1),t.hij(" ",t.lcZ(10,14,u.user)," "),t.xp6(3),t.hij(" \xa0#",u.user.id," "),t.xp6(1),t.Q6J("ngIf",u.authResolver.isPerunAdmin()),t.xp6(2),t.AsE("",t.lcZ(16,16,"ADMIN_USER.UUID"),": ",u.user.uuid,""),t.xp6(3),t.lnq(" ",t.lcZ(19,18,"MENU_ITEMS.USER.ENTITY"),", ",t.lcZ(20,20,"MENU_ITEMS.USER.USER_TYPE"),": ",u.getUserType()," ")}}let me=(()=>{class g{constructor(u,S,F,w,We,Ke,we){this.sideMenuService=u,this.usersService=S,this.sideMenuItemService=F,this.route=w,this.dialog=We,this.authResolver=Ke,this.entityStorageService=we,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(u=>{const S=u.userId;this.entityStorageService.setEntity({id:Number(S),beanName:"User"}),this.usersService.getUserById(S).subscribe(F=>{this.user=F;const w=this.sideMenuItemService.parseServiceIdentity(F);this.sideMenuService.setUserItems([w]),this.loading=!1},()=>this.loading=!1)})}getUserType(){return this.user.serviceUser?"Service":"Person"}editUser(){const u=(0,Z.kZ)();u.width="450px",u.data={theme:"admin-theme",user:this.user},this.dialog.open(oe.x,u).afterClosed().subscribe(F=>{F&&this.usersService.getUserById(this.user.id).subscribe(w=>{this.user=w})})}}return g.\u0275fac=function(u){return new(u||g)(t.Y36(h.D),t.Y36(n.Fv),t.Y36(ae.V),t.Y36(c.gz),t.Y36(z.uw),t.Y36(m.x4),t.Y36(m.fb))},g.\u0275cmp=t.Xpm({type:g,selectors:[["app-service-identity-detail-page"]],decls:1,vars:1,consts:[["class","container-fluid pl-xl-5 pr-xl-5 user-theme",4,"ngIf"],[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],["class","mr-auto ml-auto",4,"ngIf"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-service-identity",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"user-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],[1,"mr-auto","ml-auto"],["mat-icon-button","",3,"click"]],template:function(u,S){1&u&&t.YNc(0,ce,22,25,"div",0),2&u&&t.Q6J("ngIf",void 0!==S.user)},directives:[R.O5,U.W,M.$g,J.Hw,Q.gM,R.PC,c.yS,H.lW,D.A],pipes:[T.X$,G.d],styles:[""]}),g})(),ue=(()=>{class g{constructor(){this.navItems=[]}ngOnInit(){this.initNavItems()}initNavItems(){this.navItems=[{cssIcon:"perun-manager",url:"associated-users",label:"MENU_ITEMS.USER.ASSOCIATED_USERS",style:"user-btn"}]}}return g.\u0275fac=function(u){return new(u||g)},g.\u0275cmp=t.Xpm({type:g,selectors:[["app-service-identity-overview"]],decls:1,vars:2,consts:[[3,"items","size"]],template:function(u,S){1&u&&t._UZ(0,"perun-web-apps-menu-buttons-field",0),2&u&&t.Q6J("items",S.navItems)("size","small")},directives:[N.L],styles:[""]}),g})();var de=i(46597);const ge=[{path:"",component:ne,children:[{path:"",component:r.Z,data:{animation:"UserOverviewPage"}},{path:"attributes",component:Y.u,data:{animation:"UserAttributesPage"}},{path:"organizations",component:e.j,data:{animation:"UserOrganizationsPage",showPrincipal:!0}},{path:"groups",component:s.u,data:{animation:"UserGroupsPage",showPrincipal:!0}},{path:"roles",component:se.t,data:{animation:"UserRolesPage"}},{path:"service-identities",component:ie.R,data:{animation:"UserServiceIdentities"}},{path:"settings",component:l,children:[{path:"",component:y,data:{animation:"UserSettingsOverviewPage"}},{path:"passwordReset",component:C.Nj,data:{animation:"PasswordResetPage"}},{path:"guiConfig",component:d,data:{animation:"UserAppConfigurationPage"}}]}]},{path:"service-identities/:userId",component:me,children:[{path:"",component:ue},{path:"associated-users",component:de.d}]}];let fe=(()=>{class g{}return g.\u0275fac=function(u){return new(u||g)},g.\u0275mod=t.oAB({type:g}),g.\u0275inj=t.cJS({imports:[[c.Bz.forChild(ge)],c.Bz]}),g})();var he=i(91079),Ee=i(98833),X=i(93075),Ie=i(2638),Te=i(81125),q=i(84847),ve=i(32075),Ue=i(53251),Ae=i(90149),Ce=i(77446),Re=i(57261),Oe=i(85899),xe=i(32368),Se=i(86856),Ze=i(79814),De=i(4834),Me=i(86087),$=i(9224),k=i(92081),be=i(44409),Ne=i(26688),Pe=i(92181),Le=i(53435),ye=i(63189),Ye=i(27544),Be=i(11243),Je=i(19516),Fe=i(14264);let Qe=(()=>{class g{constructor(u){this.translate=u,u.addLangs(["en","cs"])}}return g.\u0275fac=function(u){return new(u||g)(t.LFG(T.sK))},g.\u0275mod=t.oAB({type:g}),g.\u0275inj=t.cJS({imports:[[R.ez,fe,he.Bb,Ee.c,I.lN,X.UX,X.u5,J.Ps,Ie.SJ,Te.To,T.aw.forChild({}),H.ot,q.JX,ve.p0,Ue.Nh,Ae.dp,H.ot,Ce.p9,z.Is,O.LD,Re.ZX,M.Cq,Oe.Cv,Q.AV,xe.rP,Se.FA,p.XK,Ze.Fk,De.t,p.si,Me.TU,$.QW,k.T5,be._t,$.QW,Ne.Hi,Pe.Tx,Le.Cl,ye.r,Ye.g,C.ez,Be.r,Je.d4,Fe.m]]}),g})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/176.4214f0887288555b.js b/dist/apps/admin-gui/176.4214f0887288555b.js new file mode 100644 index 000000000..907568865 --- /dev/null +++ b/dist/apps/admin-gui/176.4214f0887288555b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[176],{15935:(Q,D,s)=>{s.d(D,{D:()=>k});var e=s(20449),S=s(84847),p=s(32075),h=s(9244),E=s(36908),t=s(5e3),i=s(18750),O=s(77446),b=s(69808),v=s(98380),M=s(51062),A=s(37677);function L(l,d){if(1&l){const o=t.EpF();t.TgZ(0,"th",15),t.TgZ(1,"mat-checkbox",16),t.NdJ("change",function(g){t.CHM(o);const _=t.oxw();return g?_.masterToggle():null}),t.qZA(),t.qZA()}if(2&l){const o=t.oxw();t.xp6(1),t.Q6J("aria-label",o.checkboxLabel())("checked",o.selection.hasValue()&&o.isAllSelected())("indeterminate",o.selection.hasValue()&&!o.isAllSelected())}}function Z(l,d){if(1&l){const o=t.EpF();t.TgZ(0,"td",17),t.TgZ(1,"mat-checkbox",18),t.NdJ("change",function(g){const f=t.CHM(o).$implicit,r=t.oxw();return g?r.selection.toggle(f):null})("click",function(g){return g.stopPropagation()}),t.qZA(),t.qZA()}if(2&l){const o=d.$implicit,m=t.oxw();t.xp6(1),t.Q6J("aria-label",m.checkboxLabel(o))("checked",m.selection.isSelected(o))}}function R(l,d){1&l&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&l&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.ID")," "))}function I(l,d){if(1&l&&(t.TgZ(0,"td",20),t._uU(1),t.qZA()),2&l){const o=d.$implicit;t.xp6(1),t.Oqu(o.id)}}function P(l,d){1&l&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&l&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.NAME")," "))}function U(l,d){if(1&l&&(t.TgZ(0,"td",21),t._uU(1),t.qZA()),2&l){const o=d.$implicit;t.xp6(1),t.Oqu(o.name)}}function N(l,d){1&l&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&l&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.TYPE")," "))}function w(l,d){if(1&l&&(t.TgZ(0,"td",21),t._uU(1),t.ALo(2,"extSourceType"),t.qZA()),2&l){const o=d.$implicit;t.xp6(1),t.Oqu(t.lcZ(2,1,o.type))}}function B(l,d){1&l&&t._UZ(0,"tr",22)}function y(l,d){1&l&&t._UZ(0,"tr",23)}function Y(l,d){1&l&&(t.TgZ(0,"app-alert",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&l&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.NO_EXT_SOURCES"),"\n"))}function W(l,d){1&l&&(t.TgZ(0,"app-alert",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&l&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.NO_FILTER_RESULTS"),"\n"))}let k=(()=>{class l{constructor(o,m){this.authResolver=o,this.tableCheckbox=m,this.selection=new e.Ov,this.filterValue="",this.displayedColumns=["select","id","name","type"],this.exporting=!1,this.pageSizeOptions=h.f7}set matSort(o){this.sort=o,this.setDataSource()}ngAfterViewInit(){this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(o=>"id"!==o)),this.dataSource=new p.by(this.extSources),this.setDataSource()}getDataForColumn(o,m){switch(m){case"id":return o.id.toString();case"type":return o.type.substring(40);case"name":return o.name;default:return""}}exportData(o){(0,h.O6)((0,h.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),o)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(o,m)=>(0,h.Sd)(o,m,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(o,m)=>(0,h.pR)(o,m,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(o){return o?`${this.selection.isSelected(o)?"deselect":"select"} row ${o.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return l.\u0275fac=function(o){return new(o||l)(t.Y36(E.x4),t.Y36(E.UA))},l.\u0275cmp=t.Xpm({type:l,selectors:[["app-ext-sources-list"]],viewQuery:function(o,m){if(1&o&&(t.Gf(h.l9,7),t.Gf(S.YE,7)),2&o){let g;t.iGM(g=t.CRH())&&(m.child=g.first),t.iGM(g=t.CRH())&&(m.matSort=g.first)}},inputs:{extSources:"extSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",tableId:"tableId"},features:[t.TTD],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(o,m){1&o&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(_){return m.exportData(_)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,L,2,3,"th",4),t.YNc(5,Z,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,R,3,3,"th",7),t.YNc(8,I,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,P,3,3,"th",7),t.YNc(11,U,2,1,"td",10),t.BQk(),t.ynx(12,11),t.YNc(13,N,3,3,"th",7),t.YNc(14,w,3,3,"td",10),t.BQk(),t.YNc(15,B,1,0,"tr",12),t.YNc(16,y,1,0,"tr",13),t.qZA(),t.qZA(),t.qZA(),t.YNc(17,Y,3,3,"app-alert",14),t.YNc(18,W,3,3,"app-alert",14)),2&o&&(t.Q6J("hidden",0===m.extSources.length||0===m.dataSource.filteredData.length),t.xp6(1),t.Q6J("tableId",m.tableId)("dataLength",m.dataSource.filteredData.length)("pageSizeOptions",m.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",m.dataSource),t.xp6(13),t.Q6J("matHeaderRowDef",m.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",m.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===m.extSources.length),t.xp6(1),t.Q6J("ngIf",0===m.dataSource.filteredData.length&&0!==m.extSources.length))},directives:[i.l,p.BZ,S.YE,p.w1,p.fO,p.ge,O.oG,p.Dz,p.ev,S.nU,p.as,p.XQ,p.nj,p.Gk,b.O5,v.w],pipes:[M.X$,A.A],styles:[""]}),l})()},60526:(Q,D,s)=>{s.d(D,{b:()=>g});var e=s(112),S=s(9244),p=s(84379),h=s(32075),E=s(36908),t=s(64080),i=s(5e3),O=s(48966),b=s(51062),v=s(9224),M=s(69808),A=s(20773),L=s(47423),Z=s(25245),R=s(69773),I=s(21757),P=s(21330),U=s(62383);function N(_,f){1&_&&i._UZ(0,"mat-spinner",4)}function w(_,f){1&_&&i._UZ(0,"th",12)}function B(_,f){if(1&_&&(i.TgZ(0,"td",13),i._uU(1),i.qZA()),2&_){const r=f.$implicit;i.xp6(1),i.hij("",r,":")}}function y(_,f){1&_&&i._UZ(0,"th",12)}function Y(_,f){if(1&_){const r=i.EpF();i.TgZ(0,"button",17),i.NdJ("click",function(){return i.CHM(r),i.oxw(4).changeStatus()}),i.TgZ(1,"mat-icon"),i._uU(2,"edit"),i.qZA(),i.qZA()}}function W(_,f){if(1&_&&(i.TgZ(0,"div"),i.TgZ(1,"i"),i.ALo(2,"memberStatusIconColor"),i._uU(3),i.ALo(4,"memberStatusIcon"),i.qZA(),i.TgZ(5,"b",15),i._uU(6),i.ALo(7,"transformMemberStatus"),i.qZA(),i.YNc(8,Y,3,0,"button",16),i.qZA()),2&_){const r=i.oxw(3);i.xp6(1),i.Gre("material-icons vert-center mr-1 ",i.lcZ(2,6,r.member.status),""),i.xp6(2),i.hij(" ",i.lcZ(4,8,r.member.status)," "),i.xp6(3),i.hij(" ",i.lcZ(7,10,r.member.status)," "),i.xp6(2),i.Q6J("ngIf",r.authResolver.isThisVoAdmin(r.vo.id))}}function k(_,f){if(1&_){const r=i.EpF();i.TgZ(0,"button",17),i.NdJ("click",function(){return i.CHM(r),i.oxw(4).changeVoExpiration(!1)}),i.TgZ(1,"mat-icon"),i._uU(2,"edit"),i.qZA(),i.qZA()}}function l(_,f){if(1&_&&(i.TgZ(0,"div"),i.TgZ(1,"i",18),i._uU(2),i.ALo(3,"parseDate"),i.qZA(),i.YNc(4,k,3,0,"button",16),i.qZA()),2&_){const r=i.oxw(3);i.xp6(2),i.hij(" ",i.lcZ(3,2,r.voExpiration)," "),i.xp6(2),i.Q6J("ngIf",r.authResolver.isThisVoAdmin(r.vo.id))}}function d(_,f){if(1&_&&(i.TgZ(0,"td",14),i.YNc(1,W,9,12,"div",3),i.YNc(2,l,5,4,"div",3),i.qZA()),2&_){const r=f.$implicit;i.xp6(1),i.Q6J("ngIf","Status"===r),i.xp6(1),i.Q6J("ngIf","Expiration"===r)}}function o(_,f){1&_&&i._UZ(0,"tr",19)}function m(_,f){if(1&_&&(i.TgZ(0,"div"),i.TgZ(1,"table",5),i.ynx(2,6),i.YNc(3,w,1,0,"th",7),i.YNc(4,B,2,1,"td",8),i.BQk(),i.ynx(5,9),i.YNc(6,y,1,0,"th",7),i.YNc(7,d,3,2,"td",10),i.BQk(),i.YNc(8,o,1,0,"tr",11),i.qZA(),i.qZA()),2&_){const r=i.oxw();i.xp6(1),i.Q6J("dataSource",r.voMembershipDataSource),i.xp6(7),i.Q6J("matRowDefColumns",r.displayedColumns)}}let g=(()=>{class _{constructor(r,C,x,a,u,n){this.dialog=r,this.authResolver=C,this.apiRequest=x,this.attributesManager=a,this.translate=u,this.notificator=n,this.voMembershipDataSource=new h.by,this.voExpiration="",this.displayedColumns=["attName","attValue"]}ngOnChanges(){this.voMembershipDataSource=new h.by(["Status","Expiration"]),this.refreshVoExpiration()}changeStatus(){const r=(0,S.kZ)();r.width="600px",r.data={member:this.member,voId:this.vo.id};const C=this.member.status;this.dialog.open(p.pf,r).afterClosed().subscribe(a=>{a&&(this.member=a,("VALID"===C&&("EXPIRED"===a.status||"DISABLED"===a.status)||"VALID"===a.status)&&this.changeVoExpiration(!0))})}changeVoExpiration(r){const C=(0,S.kZ)();C.width="400px",C.data={voId:this.vo.id,memberId:this.member.id,expirationAttr:this.voExpirationAtt,status:this.member.status,statusChanged:r},this.dialog.open(p.kZ,C).afterClosed().subscribe(a=>{a.success&&(a.member&&(this.member=a.member),this.refreshVoExpiration())})}refreshVoExpiration(){this.loading=!0,this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getMemberAttributeByName(this.member.id,t.r.MEMBER_DEF_EXPIRATION).subscribe(r=>{this.voExpirationAtt=r,this.voExpiration=r.value?r.value:this.translate.instant("MEMBER_DETAIL.OVERVIEW.NEVER_EXPIRES"),this.loading=!1},r=>{"PrivilegeException"!==r.error.name?this.notificator.showError(r):this.voMembershipDataSource=new h.by(["Status"]),this.loading=!1})}}return _.\u0275fac=function(r){return new(r||_)(i.Y36(O.uw),i.Y36(E.x4),i.Y36(E.F5),i.Y36(e.H8),i.Y36(b.sK),i.Y36(E.V6))},_.\u0275cmp=i.Xpm({type:_,selectors:[["app-member-overview-membership"]],inputs:{member:"member",vo:"vo"},features:[i.TTD],decls:9,vars:5,consts:[[1,"mat-elevation-z3","membership-card"],[1,"page-subtitle"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-table","",1,"ml-auto","mr-auto",3,"dataSource"],["matColumnDef","attName"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","attValue"],["class","column-center","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],[1,"vert-top"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[1,"column-center"],["mat-row",""]],template:function(r,C){1&r&&(i.TgZ(0,"mat-card",0),i.TgZ(1,"mat-card-header"),i.TgZ(2,"mat-card-title"),i.TgZ(3,"h1",1),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(6,"mat-card-content"),i.YNc(7,N,1,0,"mat-spinner",2),i.YNc(8,m,9,2,"div",3),i.qZA(),i.qZA()),2&r&&(i.xp6(4),i.hij(" ",i.lcZ(5,3,"MEMBER_DETAIL.OVERVIEW.ORGANIZATION_MEMBERSHIP")," "),i.xp6(3),i.Q6J("ngIf",C.loading),i.xp6(1),i.Q6J("ngIf",!C.loading))},directives:[v.a8,v.dk,v.n5,v.dn,M.O5,A.$g,h.BZ,h.w1,h.fO,h.ge,h.Dz,h.ev,L.lW,Z.Hw,h.nj,h.Gk],pipes:[b.X$,R.u,I.f,P.r,U.M],styles:[".membership-card[_ngcontent-%COMP%]{max-width:400px}.vert-center[_ngcontent-%COMP%]{vertical-align:middle!important}"]}),_})()},60205:(Q,D,s)=>{s.d(D,{Q:()=>x});var e=s(5e3),S=s(84847),p=s(32075),h=s(20449),E=s(9244),t=s(36908),i=s(18750),O=s(77446),b=s(69808),v=s(25245),M=s(29772),A=s(50301),L=s(11735),Z=s(98380),R=s(51062);function I(a,u){if(1&a){const n=e.EpF();e.TgZ(0,"th",18),e.TgZ(1,"mat-checkbox",19),e.NdJ("change",function(T){e.CHM(n);const K=e.oxw();return T?K.masterToggle():null}),e.qZA(),e.qZA()}if(2&a){const n=e.oxw();e.xp6(1),e.Q6J("aria-label",n.checkboxLabel())("checked",n.selection.hasValue()&&n.isAllSelected())("indeterminate",n.selection.hasValue()&&!n.isAllSelected())}}function P(a,u){if(1&a){const n=e.EpF();e.TgZ(0,"td",20),e.TgZ(1,"mat-checkbox",21),e.NdJ("change",function(T){const V=e.CHM(n).$implicit,H=e.oxw();return T?H.selection.toggle(V):null})("click",function(T){return T.stopPropagation()}),e.qZA(),e.qZA()}if(2&a){const n=u.$implicit,c=e.oxw();e.xp6(1),e.Q6J("aria-label",c.checkboxLabel(n))("checked",c.selection.isSelected(n))}}function U(a,u){1&a&&(e.TgZ(0,"th",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.ID")," "))}function N(a,u){if(1&a&&(e.TgZ(0,"td",23),e._uU(1),e.qZA()),2&a){const n=u.$implicit;e.xp6(1),e.Oqu(n.id)}}function w(a,u){1&a&&(e.TgZ(0,"th",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NAME")," "))}function B(a,u){if(1&a&&(e.TgZ(0,"td",24),e._uU(1),e.qZA()),2&a){const n=u.$implicit;e.xp6(1),e.Oqu(n.name)}}function y(a,u){1&a&&e._UZ(0,"th",25)}function Y(a,u){1&a&&(e.TgZ(0,"mat-icon",27),e.ALo(1,"translate"),e._uU(2," check_circle_outline "),e.qZA()),2&a&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.ENABLED"))}function W(a,u){1&a&&(e.TgZ(0,"mat-icon",27),e.ALo(1,"translate"),e._uU(2," block "),e.qZA()),2&a&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.DISABLED"))}function k(a,u){if(1&a&&(e.TgZ(0,"td",24),e.YNc(1,Y,3,3,"mat-icon",26),e.YNc(2,W,3,3,"mat-icon",26),e.qZA()),2&a){const n=u.$implicit;e.xp6(1),e.Q6J("ngIf",n.enabled),e.xp6(1),e.Q6J("ngIf",!n.enabled)}}function l(a,u){1&a&&(e.TgZ(0,"th",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.SCRIPT")," "))}function d(a,u){if(1&a&&(e.TgZ(0,"td",24),e._uU(1),e.qZA()),2&a){const n=u.$implicit;e.xp6(1),e.Oqu(n.script)}}function o(a,u){1&a&&(e.TgZ(0,"th",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.DESCRIPTION")," "))}function m(a,u){if(1&a&&(e.TgZ(0,"td",24),e._uU(1),e.qZA()),2&a){const n=u.$implicit;e.xp6(1),e.Oqu(n.description)}}function g(a,u){1&a&&e._UZ(0,"tr",28)}const _=function(a){return["/admin/services",a]};function f(a,u){if(1&a&&e._UZ(0,"tr",29),2&a){const n=u.$implicit,c=e.oxw();e.ekj("cursor-pointer",!c.disableRouting)("disable-outline",c.disableRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",c.disableRouting?null:e.VKq(6,_,n.id))("routerLink",c.disableRouting?null:e.VKq(8,_,n.id))}}function r(a,u){1&a&&(e.TgZ(0,"app-alert",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function C(a,u){1&a&&(e.TgZ(0,"app-alert",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NO_SERVICES_WARNING"),"\n"))}let x=(()=>{class a{constructor(n,c){this.authResolver=n,this.tableCheckbox=c,this.services=[],this.filterValue="",this.displayedColumns=["select","id","name","enabled","script","description"],this.selection=new h.Ov(!0,[]),this.disableRouting=!1,this.selectionChanged=new e.vpe,this.pageSizeOptions=E.f7}set matSort(n){this.sort=n,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(n=>"id"!==n)),this.dataSource=new p.by(this.services),this.setDataSource(),this.selection.changed.subscribe(()=>{this.selectionChanged.emit()})}getDataForColumn(n,c){switch(c){case"id":return n.id.toString();case"name":return n.name;case"enabled":return n.enabled?"true":"false";case"script":return n.script;case"description":return n.description;default:return""}}exportData(n){(0,E.O6)((0,E.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),n)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(n,c)=>(0,E.Sd)(n,c,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(n,c)=>(0,E.pR)(n,c,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(n){return n?`${this.selection.isSelected(n)?"deselect":"select"} row ${n.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(t.x4),e.Y36(t.UA))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-services-list"]],viewQuery:function(n,c){if(1&n&&(e.Gf(S.YE,7),e.Gf(E.l9,7)),2&n){let T;e.iGM(T=e.CRH())&&(c.matSort=T.first),e.iGM(T=e.CRH())&&(c.child=T.first)}},inputs:{services:"services",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",selection:"selection",disableRouting:"disableRouting"},outputs:{selectionChanged:"selectionChanged"},features:[e.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","enabled"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","script"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-cell",""],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(n,c){1&n&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(K){return c.exportData(K)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,I,2,3,"th",4),e.YNc(5,P,2,2,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,U,3,3,"th",7),e.YNc(8,N,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,w,3,3,"th",7),e.YNc(11,B,2,1,"td",10),e.BQk(),e.ynx(12,11),e.YNc(13,y,1,0,"th",12),e.YNc(14,k,3,2,"td",10),e.BQk(),e.ynx(15,13),e.YNc(16,l,3,3,"th",12),e.YNc(17,d,2,1,"td",10),e.BQk(),e.ynx(18,14),e.YNc(19,o,3,3,"th",7),e.YNc(20,m,2,1,"td",10),e.BQk(),e.YNc(21,g,1,0,"tr",15),e.YNc(22,f,1,10,"tr",16),e.qZA(),e.qZA(),e.qZA(),e.YNc(23,r,3,3,"app-alert",17),e.YNc(24,C,3,3,"app-alert",17)),2&n&&(e.Q6J("hidden",void 0===c.services||0===c.services.length||0===c.dataSource.filteredData.length),e.xp6(1),e.Q6J("tableId",c.tableId)("dataLength",c.dataSource.filteredData.length)("pageSizeOptions",c.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",c.dataSource),e.xp6(19),e.Q6J("matHeaderRowDef",c.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",c.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===c.dataSource.filteredData.length&&void 0!==c.services&&0!==c.services.length),e.xp6(1),e.Q6J("ngIf",void 0===c.services||0===c.services.length))},directives:[i.l,p.BZ,S.YE,p.w1,p.fO,p.ge,O.oG,p.Dz,p.ev,S.nU,b.O5,v.Hw,M.gM,p.as,p.XQ,p.nj,p.Gk,A.YH,L.rH,Z.w],pipes:[R.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),a})()},21330:(Q,D,s)=>{s.d(D,{r:()=>S});var e=s(5e3);let S=(()=>{class p{transform(E,t){return"valid"!==E.toLowerCase()||t&&"valid"!==E.toLowerCase()?E:"ACTIVE"}}return p.\u0275fac=function(E){return new(E||p)},p.\u0275pipe=e.Yjl({name:"transformMemberStatus",type:p,pure:!0}),p})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/176.c4066f0d7c945d78.js b/dist/apps/admin-gui/176.c4066f0d7c945d78.js deleted file mode 100644 index d745cc633..000000000 --- a/dist/apps/admin-gui/176.c4066f0d7c945d78.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[176],{15935:(Q,D,s)=>{s.d(D,{D:()=>k});var e=s(20449),S=s(84847),p=s(32075),h=s(9244),E=s(36908),t=s(5e3),i=s(18750),O=s(77446),b=s(69808),v=s(98380),M=s(51062),A=s(37677);function L(l,d){if(1&l){const o=t.EpF();t.TgZ(0,"th",15),t.TgZ(1,"mat-checkbox",16),t.NdJ("change",function(g){t.CHM(o);const _=t.oxw();return g?_.masterToggle():null}),t.qZA(),t.qZA()}if(2&l){const o=t.oxw();t.xp6(1),t.Q6J("aria-label",o.checkboxLabel())("checked",o.selection.hasValue()&&o.isAllSelected())("indeterminate",o.selection.hasValue()&&!o.isAllSelected())}}function Z(l,d){if(1&l){const o=t.EpF();t.TgZ(0,"td",17),t.TgZ(1,"mat-checkbox",18),t.NdJ("change",function(g){const f=t.CHM(o).$implicit,r=t.oxw();return g?r.selection.toggle(f):null})("click",function(g){return g.stopPropagation()}),t.qZA(),t.qZA()}if(2&l){const o=d.$implicit,m=t.oxw();t.xp6(1),t.Q6J("aria-label",m.checkboxLabel(o))("checked",m.selection.isSelected(o))}}function R(l,d){1&l&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&l&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.ID")," "))}function I(l,d){if(1&l&&(t.TgZ(0,"td",20),t._uU(1),t.qZA()),2&l){const o=d.$implicit;t.xp6(1),t.Oqu(o.id)}}function P(l,d){1&l&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&l&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.NAME")," "))}function U(l,d){if(1&l&&(t.TgZ(0,"td",21),t._uU(1),t.qZA()),2&l){const o=d.$implicit;t.xp6(1),t.Oqu(o.name)}}function N(l,d){1&l&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&l&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.TYPE")," "))}function w(l,d){if(1&l&&(t.TgZ(0,"td",21),t._uU(1),t.ALo(2,"extSourceType"),t.qZA()),2&l){const o=d.$implicit;t.xp6(1),t.Oqu(t.lcZ(2,1,o.type))}}function B(l,d){1&l&&t._UZ(0,"tr",22)}function y(l,d){1&l&&t._UZ(0,"tr",23)}function Y(l,d){1&l&&(t.TgZ(0,"app-alert",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&l&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.NO_EXT_SOURCES"),"\n"))}function W(l,d){1&l&&(t.TgZ(0,"app-alert",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&l&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.NO_FILTER_RESULTS"),"\n"))}let k=(()=>{class l{constructor(o,m){this.authResolver=o,this.tableCheckbox=m,this.selection=new e.Ov,this.filterValue="",this.displayedColumns=["select","id","name","type"],this.exporting=!1,this.pageSizeOptions=h.f7}set matSort(o){this.sort=o,this.setDataSource()}ngAfterViewInit(){this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(o=>"id"!==o)),this.dataSource=new p.by(this.extSources),this.setDataSource()}getDataForColumn(o,m){switch(m){case"id":return o.id.toString();case"type":return o.type.substring(40);case"name":return o.name;default:return""}}exportData(o){(0,h.O6)((0,h.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),o)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(o,m)=>(0,h.Sd)(o,m,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(o,m)=>(0,h.pR)(o,m,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(o){return o?`${this.selection.isSelected(o)?"deselect":"select"} row ${o.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return l.\u0275fac=function(o){return new(o||l)(t.Y36(E.x4),t.Y36(E.UA))},l.\u0275cmp=t.Xpm({type:l,selectors:[["app-ext-sources-list"]],viewQuery:function(o,m){if(1&o&&(t.Gf(h.l9,7),t.Gf(S.YE,7)),2&o){let g;t.iGM(g=t.CRH())&&(m.child=g.first),t.iGM(g=t.CRH())&&(m.matSort=g.first)}},inputs:{extSources:"extSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",tableId:"tableId"},features:[t.TTD],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(o,m){1&o&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(_){return m.exportData(_)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,L,2,3,"th",4),t.YNc(5,Z,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,R,3,3,"th",7),t.YNc(8,I,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,P,3,3,"th",7),t.YNc(11,U,2,1,"td",10),t.BQk(),t.ynx(12,11),t.YNc(13,N,3,3,"th",7),t.YNc(14,w,3,3,"td",10),t.BQk(),t.YNc(15,B,1,0,"tr",12),t.YNc(16,y,1,0,"tr",13),t.qZA(),t.qZA(),t.qZA(),t.YNc(17,Y,3,3,"app-alert",14),t.YNc(18,W,3,3,"app-alert",14)),2&o&&(t.Q6J("hidden",0===m.extSources.length||0===m.dataSource.filteredData.length),t.xp6(1),t.Q6J("tableId",m.tableId)("dataLength",m.dataSource.filteredData.length)("pageSizeOptions",m.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",m.dataSource),t.xp6(13),t.Q6J("matHeaderRowDef",m.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",m.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===m.extSources.length),t.xp6(1),t.Q6J("ngIf",0===m.dataSource.filteredData.length&&0!==m.extSources.length))},directives:[i.l,p.BZ,S.YE,p.w1,p.fO,p.ge,O.oG,p.Dz,p.ev,S.nU,p.as,p.XQ,p.nj,p.Gk,b.O5,v.w],pipes:[M.X$,A.A],styles:[""]}),l})()},60526:(Q,D,s)=>{s.d(D,{b:()=>g});var e=s(9315),S=s(9244),p=s(84379),h=s(32075),E=s(36908),t=s(64080),i=s(5e3),O=s(48966),b=s(51062),v=s(9224),M=s(69808),A=s(20773),L=s(47423),Z=s(25245),R=s(69773),I=s(21757),P=s(21330),U=s(62383);function N(_,f){1&_&&i._UZ(0,"mat-spinner",4)}function w(_,f){1&_&&i._UZ(0,"th",12)}function B(_,f){if(1&_&&(i.TgZ(0,"td",13),i._uU(1),i.qZA()),2&_){const r=f.$implicit;i.xp6(1),i.hij("",r,":")}}function y(_,f){1&_&&i._UZ(0,"th",12)}function Y(_,f){if(1&_){const r=i.EpF();i.TgZ(0,"button",17),i.NdJ("click",function(){return i.CHM(r),i.oxw(4).changeStatus()}),i.TgZ(1,"mat-icon"),i._uU(2,"edit"),i.qZA(),i.qZA()}}function W(_,f){if(1&_&&(i.TgZ(0,"div"),i.TgZ(1,"i"),i.ALo(2,"memberStatusIconColor"),i._uU(3),i.ALo(4,"memberStatusIcon"),i.qZA(),i.TgZ(5,"b",15),i._uU(6),i.ALo(7,"transformMemberStatus"),i.qZA(),i.YNc(8,Y,3,0,"button",16),i.qZA()),2&_){const r=i.oxw(3);i.xp6(1),i.Gre("material-icons vert-center mr-1 ",i.lcZ(2,6,r.member.status),""),i.xp6(2),i.hij(" ",i.lcZ(4,8,r.member.status)," "),i.xp6(3),i.hij(" ",i.lcZ(7,10,r.member.status)," "),i.xp6(2),i.Q6J("ngIf",r.authResolver.isThisVoAdmin(r.vo.id))}}function k(_,f){if(1&_){const r=i.EpF();i.TgZ(0,"button",17),i.NdJ("click",function(){return i.CHM(r),i.oxw(4).changeVoExpiration(!1)}),i.TgZ(1,"mat-icon"),i._uU(2,"edit"),i.qZA(),i.qZA()}}function l(_,f){if(1&_&&(i.TgZ(0,"div"),i.TgZ(1,"i",18),i._uU(2),i.ALo(3,"parseDate"),i.qZA(),i.YNc(4,k,3,0,"button",16),i.qZA()),2&_){const r=i.oxw(3);i.xp6(2),i.hij(" ",i.lcZ(3,2,r.voExpiration)," "),i.xp6(2),i.Q6J("ngIf",r.authResolver.isThisVoAdmin(r.vo.id))}}function d(_,f){if(1&_&&(i.TgZ(0,"td",14),i.YNc(1,W,9,12,"div",3),i.YNc(2,l,5,4,"div",3),i.qZA()),2&_){const r=f.$implicit;i.xp6(1),i.Q6J("ngIf","Status"===r),i.xp6(1),i.Q6J("ngIf","Expiration"===r)}}function o(_,f){1&_&&i._UZ(0,"tr",19)}function m(_,f){if(1&_&&(i.TgZ(0,"div"),i.TgZ(1,"table",5),i.ynx(2,6),i.YNc(3,w,1,0,"th",7),i.YNc(4,B,2,1,"td",8),i.BQk(),i.ynx(5,9),i.YNc(6,y,1,0,"th",7),i.YNc(7,d,3,2,"td",10),i.BQk(),i.YNc(8,o,1,0,"tr",11),i.qZA(),i.qZA()),2&_){const r=i.oxw();i.xp6(1),i.Q6J("dataSource",r.voMembershipDataSource),i.xp6(7),i.Q6J("matRowDefColumns",r.displayedColumns)}}let g=(()=>{class _{constructor(r,C,x,a,u,n){this.dialog=r,this.authResolver=C,this.apiRequest=x,this.attributesManager=a,this.translate=u,this.notificator=n,this.voMembershipDataSource=new h.by,this.voExpiration="",this.displayedColumns=["attName","attValue"]}ngOnChanges(){this.voMembershipDataSource=new h.by(["Status","Expiration"]),this.refreshVoExpiration()}changeStatus(){const r=(0,S.kZ)();r.width="600px",r.data={member:this.member,voId:this.vo.id};const C=this.member.status;this.dialog.open(p.pf,r).afterClosed().subscribe(a=>{a&&(this.member=a,("VALID"===C&&("EXPIRED"===a.status||"DISABLED"===a.status)||"VALID"===a.status)&&this.changeVoExpiration(!0))})}changeVoExpiration(r){const C=(0,S.kZ)();C.width="400px",C.data={voId:this.vo.id,memberId:this.member.id,expirationAttr:this.voExpirationAtt,status:this.member.status,statusChanged:r},this.dialog.open(p.kZ,C).afterClosed().subscribe(a=>{a.success&&(a.member&&(this.member=a.member),this.refreshVoExpiration())})}refreshVoExpiration(){this.loading=!0,this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getMemberAttributeByName(this.member.id,t.r.MEMBER_DEF_EXPIRATION).subscribe(r=>{this.voExpirationAtt=r,this.voExpiration=r.value?r.value:this.translate.instant("MEMBER_DETAIL.OVERVIEW.NEVER_EXPIRES"),this.loading=!1},r=>{"PrivilegeException"!==r.error.name?this.notificator.showError(r):this.voMembershipDataSource=new h.by(["Status"]),this.loading=!1})}}return _.\u0275fac=function(r){return new(r||_)(i.Y36(O.uw),i.Y36(E.x4),i.Y36(E.F5),i.Y36(e.H8),i.Y36(b.sK),i.Y36(E.V6))},_.\u0275cmp=i.Xpm({type:_,selectors:[["app-member-overview-membership"]],inputs:{member:"member",vo:"vo"},features:[i.TTD],decls:9,vars:5,consts:[[1,"mat-elevation-z3","membership-card"],[1,"page-subtitle"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-table","",1,"ml-auto","mr-auto",3,"dataSource"],["matColumnDef","attName"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","attValue"],["class","column-center","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],[1,"vert-top"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[1,"column-center"],["mat-row",""]],template:function(r,C){1&r&&(i.TgZ(0,"mat-card",0),i.TgZ(1,"mat-card-header"),i.TgZ(2,"mat-card-title"),i.TgZ(3,"h1",1),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(6,"mat-card-content"),i.YNc(7,N,1,0,"mat-spinner",2),i.YNc(8,m,9,2,"div",3),i.qZA(),i.qZA()),2&r&&(i.xp6(4),i.hij(" ",i.lcZ(5,3,"MEMBER_DETAIL.OVERVIEW.ORGANIZATION_MEMBERSHIP")," "),i.xp6(3),i.Q6J("ngIf",C.loading),i.xp6(1),i.Q6J("ngIf",!C.loading))},directives:[v.a8,v.dk,v.n5,v.dn,M.O5,A.$g,h.BZ,h.w1,h.fO,h.ge,h.Dz,h.ev,L.lW,Z.Hw,h.nj,h.Gk],pipes:[b.X$,R.u,I.f,P.r,U.M],styles:[".membership-card[_ngcontent-%COMP%]{max-width:400px}.vert-center[_ngcontent-%COMP%]{vertical-align:middle!important}"]}),_})()},60205:(Q,D,s)=>{s.d(D,{Q:()=>x});var e=s(5e3),S=s(84847),p=s(32075),h=s(20449),E=s(9244),t=s(36908),i=s(18750),O=s(77446),b=s(69808),v=s(25245),M=s(29772),A=s(50301),L=s(30325),Z=s(98380),R=s(51062);function I(a,u){if(1&a){const n=e.EpF();e.TgZ(0,"th",18),e.TgZ(1,"mat-checkbox",19),e.NdJ("change",function(T){e.CHM(n);const K=e.oxw();return T?K.masterToggle():null}),e.qZA(),e.qZA()}if(2&a){const n=e.oxw();e.xp6(1),e.Q6J("aria-label",n.checkboxLabel())("checked",n.selection.hasValue()&&n.isAllSelected())("indeterminate",n.selection.hasValue()&&!n.isAllSelected())}}function P(a,u){if(1&a){const n=e.EpF();e.TgZ(0,"td",20),e.TgZ(1,"mat-checkbox",21),e.NdJ("change",function(T){const V=e.CHM(n).$implicit,H=e.oxw();return T?H.selection.toggle(V):null})("click",function(T){return T.stopPropagation()}),e.qZA(),e.qZA()}if(2&a){const n=u.$implicit,c=e.oxw();e.xp6(1),e.Q6J("aria-label",c.checkboxLabel(n))("checked",c.selection.isSelected(n))}}function U(a,u){1&a&&(e.TgZ(0,"th",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.ID")," "))}function N(a,u){if(1&a&&(e.TgZ(0,"td",23),e._uU(1),e.qZA()),2&a){const n=u.$implicit;e.xp6(1),e.Oqu(n.id)}}function w(a,u){1&a&&(e.TgZ(0,"th",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NAME")," "))}function B(a,u){if(1&a&&(e.TgZ(0,"td",24),e._uU(1),e.qZA()),2&a){const n=u.$implicit;e.xp6(1),e.Oqu(n.name)}}function y(a,u){1&a&&e._UZ(0,"th",25)}function Y(a,u){1&a&&(e.TgZ(0,"mat-icon",27),e.ALo(1,"translate"),e._uU(2," check_circle_outline "),e.qZA()),2&a&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.ENABLED"))}function W(a,u){1&a&&(e.TgZ(0,"mat-icon",27),e.ALo(1,"translate"),e._uU(2," block "),e.qZA()),2&a&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.DISABLED"))}function k(a,u){if(1&a&&(e.TgZ(0,"td",24),e.YNc(1,Y,3,3,"mat-icon",26),e.YNc(2,W,3,3,"mat-icon",26),e.qZA()),2&a){const n=u.$implicit;e.xp6(1),e.Q6J("ngIf",n.enabled),e.xp6(1),e.Q6J("ngIf",!n.enabled)}}function l(a,u){1&a&&(e.TgZ(0,"th",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.SCRIPT")," "))}function d(a,u){if(1&a&&(e.TgZ(0,"td",24),e._uU(1),e.qZA()),2&a){const n=u.$implicit;e.xp6(1),e.Oqu(n.script)}}function o(a,u){1&a&&(e.TgZ(0,"th",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.DESCRIPTION")," "))}function m(a,u){if(1&a&&(e.TgZ(0,"td",24),e._uU(1),e.qZA()),2&a){const n=u.$implicit;e.xp6(1),e.Oqu(n.description)}}function g(a,u){1&a&&e._UZ(0,"tr",28)}const _=function(a){return["/admin/services",a]};function f(a,u){if(1&a&&e._UZ(0,"tr",29),2&a){const n=u.$implicit,c=e.oxw();e.ekj("cursor-pointer",!c.disableRouting)("disable-outline",c.disableRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",c.disableRouting?null:e.VKq(6,_,n.id))("routerLink",c.disableRouting?null:e.VKq(8,_,n.id))}}function r(a,u){1&a&&(e.TgZ(0,"app-alert",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function C(a,u){1&a&&(e.TgZ(0,"app-alert",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NO_SERVICES_WARNING"),"\n"))}let x=(()=>{class a{constructor(n,c){this.authResolver=n,this.tableCheckbox=c,this.services=[],this.filterValue="",this.displayedColumns=["select","id","name","enabled","script","description"],this.selection=new h.Ov(!0,[]),this.disableRouting=!1,this.selectionChanged=new e.vpe,this.pageSizeOptions=E.f7}set matSort(n){this.sort=n,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(n=>"id"!==n)),this.dataSource=new p.by(this.services),this.setDataSource(),this.selection.changed.subscribe(()=>{this.selectionChanged.emit()})}getDataForColumn(n,c){switch(c){case"id":return n.id.toString();case"name":return n.name;case"enabled":return n.enabled?"true":"false";case"script":return n.script;case"description":return n.description;default:return""}}exportData(n){(0,E.O6)((0,E.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),n)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(n,c)=>(0,E.Sd)(n,c,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(n,c)=>(0,E.pR)(n,c,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(n){return n?`${this.selection.isSelected(n)?"deselect":"select"} row ${n.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(t.x4),e.Y36(t.UA))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-services-list"]],viewQuery:function(n,c){if(1&n&&(e.Gf(S.YE,7),e.Gf(E.l9,7)),2&n){let T;e.iGM(T=e.CRH())&&(c.matSort=T.first),e.iGM(T=e.CRH())&&(c.child=T.first)}},inputs:{services:"services",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",selection:"selection",disableRouting:"disableRouting"},outputs:{selectionChanged:"selectionChanged"},features:[e.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","enabled"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","script"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-cell",""],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(n,c){1&n&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(K){return c.exportData(K)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,I,2,3,"th",4),e.YNc(5,P,2,2,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,U,3,3,"th",7),e.YNc(8,N,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,w,3,3,"th",7),e.YNc(11,B,2,1,"td",10),e.BQk(),e.ynx(12,11),e.YNc(13,y,1,0,"th",12),e.YNc(14,k,3,2,"td",10),e.BQk(),e.ynx(15,13),e.YNc(16,l,3,3,"th",12),e.YNc(17,d,2,1,"td",10),e.BQk(),e.ynx(18,14),e.YNc(19,o,3,3,"th",7),e.YNc(20,m,2,1,"td",10),e.BQk(),e.YNc(21,g,1,0,"tr",15),e.YNc(22,f,1,10,"tr",16),e.qZA(),e.qZA(),e.qZA(),e.YNc(23,r,3,3,"app-alert",17),e.YNc(24,C,3,3,"app-alert",17)),2&n&&(e.Q6J("hidden",void 0===c.services||0===c.services.length||0===c.dataSource.filteredData.length),e.xp6(1),e.Q6J("tableId",c.tableId)("dataLength",c.dataSource.filteredData.length)("pageSizeOptions",c.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",c.dataSource),e.xp6(19),e.Q6J("matHeaderRowDef",c.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",c.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===c.dataSource.filteredData.length&&void 0!==c.services&&0!==c.services.length),e.xp6(1),e.Q6J("ngIf",void 0===c.services||0===c.services.length))},directives:[i.l,p.BZ,S.YE,p.w1,p.fO,p.ge,O.oG,p.Dz,p.ev,S.nU,b.O5,v.Hw,M.gM,p.as,p.XQ,p.nj,p.Gk,A.YH,L.rH,Z.w],pipes:[R.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),a})()},21330:(Q,D,s)=>{s.d(D,{r:()=>S});var e=s(5e3);let S=(()=>{class p{transform(E,t){return"valid"!==E.toLowerCase()||t&&"valid"!==E.toLowerCase()?E:"ACTIVE"}}return p.\u0275fac=function(E){return new(E||p)},p.\u0275pipe=e.Yjl({name:"transformMemberStatus",type:p,pure:!0}),p})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/243.37e16c016d7e6a1a.js b/dist/apps/admin-gui/243.37e16c016d7e6a1a.js new file mode 100644 index 000000000..315d60be7 --- /dev/null +++ b/dist/apps/admin-gui/243.37e16c016d7e6a1a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[243],{15003:($,Q,i)=>{i.d(Q,{G:()=>h});var b=i(5e3);let h=(()=>{class o{constructor(){this.entityDetailChange=new b.vpe}reloadEntityDetail(){this.entityDetailChange.emit()}}return o.\u0275fac=function(S){return new(S||o)},o.\u0275prov=b.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})()},76023:($,Q,i)=>{i.d(Q,{y:()=>V});var b=i(112),h=i(10036),o=i(36908),p=i(5e3),S=i(11735),s=i(96214),t=i(64901),e=i(69808),a=i(20773),P=i(38383),Z=i(51062);function Y(y,J){1&y&&p._UZ(0,"mat-spinner",5)}const O=function(){return["id","fullName"]};function I(y,J){if(1&y){const f=p.EpF();p.TgZ(0,"perun-web-apps-members-list",6),p.NdJ("updateTable",function(){return p.CHM(f),p.oxw().refreshTable()}),p.qZA()}if(2&y){const f=p.oxw();p.Q6J("tableId",f.tableId)("disableRouting",!f.routeAuth)("filter",f.filterValue)("displayedColumns",p.DdM(5,O))("members",f.members)}}let V=(()=>{class y{constructor(f,L,N,H){this.route=f,this.resourceService=L,this.authResolver=N,this.entityStorageService=H,this.loading=!1,this.filterValue="",this.tableId=h.iQ}ngOnInit(){this.loading=!0,this.resource=this.entityStorageService.getEntity(),this.refreshTable()}refreshTable(){this.loading=!0,this.resourceService.getAssignedRichMembers(this.resource.id).subscribe(f=>{this.members=f,this.setAuthRights(),this.loading=!1})}setAuthRights(){0!==this.members.length&&(this.routeAuth=this.authResolver.isAuthorized("getMemberById_int_policy",[this.members[0]]))}applyFilter(f){this.filterValue=f}}return y.\u0275fac=function(f){return new(f||y)(p.Y36(S.gz),p.Y36(b.xk),p.Y36(o.x4),p.Y36(o.fb))},y.\u0275cmp=p.Xpm({type:y,selectors:[["app-resource-assigned-members"]],decls:7,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","disableRouting","filter","displayedColumns","members","updateTable",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","disableRouting","filter","displayedColumns","members","updateTable"]],template:function(f,L){1&f&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return L.refreshTable()}),p.qZA(),p.TgZ(4,"perun-web-apps-debounce-filter",2),p.NdJ("filter",function(H){return L.applyFilter(H)}),p.qZA(),p.YNc(5,Y,1,0,"mat-spinner",3),p.YNc(6,I,1,6,"perun-web-apps-members-list",4)),2&f&&(p.xp6(1),p.Oqu(p.lcZ(2,4,"RESOURCE_DETAIL.ASSIGNED_MEMBERS.TITLE")),p.xp6(3),p.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_MEMBERS.FILTER"),p.xp6(1),p.Q6J("ngIf",L.loading),p.xp6(1),p.Q6J("ngIf",!L.loading))},directives:[s.t,t.P,e.O5,a.$g,P.O],pipes:[Z.X$],styles:[""]}),y})()},49546:($,Q,i)=>{i.d(Q,{D:()=>d});var b=i(112),h=i(10036),o=i(20449),p=i(9244),S=i(48966),s=i(36908),t=i(5e3),e=i(51062),a=i(69808),P=i(20773),Z=i(53251),Y=i(64901),O=i(60205),I=i(90439),V=i(47423);function y(l,g){1&l&&t._UZ(0,"mat-spinner",6)}const J=function(){return["id","name","enabled","description"]};function f(l,g){if(1&l&&t._UZ(0,"app-services-list",16),2&l){const u=t.oxw(2);t.Q6J("tableId",u.tableId)("disableRouting",!0)("displayedColumns",t.DdM(5,J))("selection",u.selection)("services",u.filteredServices)}}const L=function(){return["select","id","name","enabled","description"]};function N(l,g){if(1&l){const u=t.EpF();t.TgZ(0,"div",7),t.TgZ(1,"mat-tab-group",8),t.NdJ("selectedTabChange",function(){return t.CHM(u),t.oxw().tabChanged()}),t.TgZ(2,"mat-tab",9),t.ALo(3,"translate"),t.TgZ(4,"div",10),t.TgZ(5,"perun-web-apps-debounce-filter",11),t.NdJ("filter",function(G){return t.CHM(u),t.oxw().applyFilter(G)}),t.ALo(6,"translate"),t.qZA(),t.qZA(),t._UZ(7,"app-services-list",12),t.qZA(),t.TgZ(8,"mat-tab",9),t.ALo(9,"translate"),t.TgZ(10,"div",13),t.TgZ(11,"perun-web-apps-service-package-search-select",14),t.NdJ("packageSelected",function(G){return t.CHM(u),t.oxw().servicePackageSelected(G)}),t.qZA(),t.qZA(),t.YNc(12,f,1,6,"app-services-list",15),t.qZA(),t.qZA(),t.qZA()}if(2&l){const u=t.oxw();t.xp6(2),t.s9C("label",t.lcZ(3,12,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.SELECT_SERVICE")),t.xp6(3),t.s9C("placeholder",t.lcZ(6,14,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.FILTER_DESCRIPTION")),t.xp6(2),t.Q6J("tableId",u.tableId)("disableRouting",!0)("displayedColumns",t.DdM(18,L))("filterValue",u.filterValue)("selection",u.selection)("services",u.unAssignedServices),t.xp6(1),t.s9C("label",t.lcZ(9,16,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.SELECT_PACKAGE")),t.xp6(3),t.Q6J("selectedPackage",u.selectedPackage)("servicePackages",u.servicePackages),t.xp6(1),t.Q6J("ngIf",-1!==u.selectedPackage.id)}}let H=(()=>{class l{constructor(u,A,G,q,X,ce){this.dialogRef=u,this.data=A,this.notificator=G,this.translate=q,this.resourceManager=X,this.servicesManager=ce,this.loading=!1,this.unAssignedServices=[],this.filteredServices=[],this.servicePackages=[],this.selectedPackage={name:"Not selected",description:"",id:-1,beanName:"ServicePackage"},this.selection=new o.Ov(!0,[]),this.tableId=h.DR,this.filterValue=""}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.resourceManager.getAssignedServicesToResource(this.data.resourceId).subscribe(u=>{this.servicesManager.getServices().subscribe(A=>{this.servicesManager.getServicesPackages().subscribe(G=>{this.servicePackages.push(this.selectedPackage),this.servicePackages=this.servicePackages.concat(G),this.unAssignedServices=A;for(const q of u)for(const X of A)q.id===X.id&&this.unAssignedServices.splice(this.unAssignedServices.indexOf(X),1);this.loading=!1})})})}onCancel(){this.dialogRef.close()}onAdd(){this.loading=!0,-1!==this.selectedPackage.id?this.addServicePackage():this.addServices()}addServicePackage(){this.resourceManager.assignServicesPackage(this.data.resourceId,this.selectedPackage.id).subscribe(()=>{this.translate.get("DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.PACKAGE_SUCCESS_MESSAGE").subscribe(u=>{this.notificator.showSuccess(u),0!==this.selection.selected.length?this.addServices():this.dialogRef.close(!0)})},()=>this.loading=!1)}addServices(){const u=[];for(const A of this.selection.selected)u.push(A.id);this.resourceManager.assignServices(this.data.resourceId,u).subscribe(()=>{this.translate.get("DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.SERVICE_SUCCESS_MESSAGE").subscribe(A=>{this.notificator.showSuccess(A),this.dialogRef.close(!0)})},()=>this.loading=!1)}applyFilter(u){this.filterValue=u}servicePackageSelected(u){this.selectedPackage=u,-1!==u.id?this.servicesManager.getServicesFromServicesPackage(u.id).subscribe(A=>{this.filteredServices=A}):this.filteredServices=[]}tabChanged(){this.selection.clear(),this.filterValue="",this.selectedPackage=this.servicePackages[0]}}return l.\u0275fac=function(u){return new(u||l)(t.Y36(S.so),t.Y36(S.WI),t.Y36(s.V6),t.Y36(e.sK),t.Y36(b.xk),t.Y36(b.KK))},l.\u0275cmp=t.Xpm({type:l,selectors:[["app-perun-web-apps-assign-service-to-resource-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[3,"selectedTabChange"],[3,"label"],[1,"mt-2"],[3,"placeholder","filter"],[3,"tableId","disableRouting","displayedColumns","filterValue","selection","services"],[1,"mt-3"],[3,"selectedPackage","servicePackages","packageSelected"],[3,"tableId","disableRouting","displayedColumns","selection","services",4,"ngIf"],[3,"tableId","disableRouting","displayedColumns","selection","services"]],template:function(u,A){1&u&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,y,1,0,"mat-spinner",1),t.YNc(5,N,13,19,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return A.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return A.onAdd()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&u&&(t.Tol(A.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.TITLE")),t.xp6(2),t.Q6J("ngIf",A.loading),t.xp6(1),t.Q6J("ngIf",!A.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.CANCEL_BUTTON")," "),t.xp6(2),t.Q6J("disabled",0===A.selection.selected.length&&-1===A.selectedPackage.id||A.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE."+(-1===A.selectedPackage.id?"ADD_SERVICES":"ADD_PACKAGE"))," "))},directives:[S.uh,a.O5,P.$g,S.xY,Z.SP,Z.uX,Y.P,O.Q,I.F,S.H8,V.lW],pipes:[e.X$],styles:[""]}),l})();var W=i(32075);function ee(l,g){1&l&&t._UZ(0,"mat-spinner",6)}function se(l,g){1&l&&t._UZ(0,"th",15)}function oe(l,g){if(1&l&&(t.TgZ(0,"td",16),t._uU(1),t.qZA()),2&l){const u=g.$implicit;t.xp6(1),t.Oqu(u.name)}}function U(l,g){1&l&&t._UZ(0,"tr",17)}function j(l,g){1&l&&t._UZ(0,"tr",18)}function m(l,g){if(1&l&&(t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,se,1,0,"th",11),t.YNc(10,oe,2,1,"td",12),t.BQk(),t.YNc(11,U,1,0,"tr",13),t.YNc(12,j,1,0,"tr",14),t.qZA(),t.qZA()),2&l){const u=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.ASK")," "),t.xp6(2),t.Q6J("dataSource",u.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",u.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",u.displayedColumns)}}let C=(()=>{class l{constructor(u,A,G,q,X){this.dialogRef=u,this.data=A,this.notificator=G,this.translate=q,this.resourcesManager=X,this.displayedColumns=["name"]}ngOnInit(){this.theme=this.data.theme,this.dataSource=new W.by(this.data.services)}onSubmit(){this.loading=!0;const u=[];for(const A of this.data.services)u.push(A.id);this.resourcesManager.removeServices(this.data.resourceId,u).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.SUCCESS").subscribe(A=>{this.notificator.showSuccess(A),this.dialogRef.close(!0)})},()=>this.loading=!1)}onCancel(){this.dialogRef.close()}}return l.\u0275fac=function(u){return new(u||l)(t.Y36(S.so),t.Y36(S.WI),t.Y36(s.V6),t.Y36(e.sK),t.Y36(b.xk))},l.\u0275cmp=t.Xpm({type:l,selectors:[["app-perun-web-apps-remove-service-from-resource-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(u,A){1&u&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,ee,1,0,"mat-spinner",1),t.YNc(5,m,13,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return A.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return A.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&u&&(t.Tol(A.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.TITLE")),t.xp6(2),t.Q6J("ngIf",A.loading),t.xp6(1),t.Q6J("ngIf",!A.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.CANCEL")," "),t.xp6(2),t.Q6J("disabled",A.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.DELETE")," "))},directives:[S.uh,a.O5,P.$g,S.xY,W.BZ,W.w1,W.fO,W.ge,W.Dz,W.ev,W.as,W.XQ,W.nj,W.Gk,S.H8,V.lW],pipes:[e.X$],styles:[""]}),l})();var F=i(11735),z=i(96214),ie=i(7434);function ne(l,g){if(1&l){const u=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(u),t.oxw().addService()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&l&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"RESOURCE_DETAIL.ASSIGNED_SERVICES.ADD_SERVICE"),"\n"))}function re(l,g){if(1&l){const u=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(u),t.oxw().removeServices()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&l){const u=t.oxw();t.Q6J("disabled",0===u.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"RESOURCE_DETAIL.ASSIGNED_SERVICES.REMOVE_SERVICE"),"\n")}}function x(l,g){1&l&&t._UZ(0,"mat-spinner",9)}function T(l,g){if(1&l&&t._UZ(0,"app-services-list",10),2&l){const u=t.oxw();t.Q6J("tableId",u.tableId)("services",u.assignedServices)("selection",u.selected)("filterValue",u.filterValue)("displayedColumns",u.displayedColumns)("disableRouting",!u.serviceRoutingAuth)}}let d=(()=>{class l{constructor(u,A,G,q,X){this.route=u,this.resourcesManager=A,this.dialog=G,this.guiAuthResolver=q,this.entityStorageService=X,this.assignedServices=[],this.selected=new o.Ov(!0,[]),this.tableId=h.uC,this.filterValue="",this.displayedColumns=["select","id","name","enabled","script","description"]}ngOnInit(){this.loading=!0,this.resource=this.entityStorageService.getEntity(),this.getDataForAuthorization(),this.loadAllServices()}loadAllServices(){this.loading=!0,this.resourcesManager.getAssignedServicesToResource(this.resource.id).subscribe(u=>{this.assignedServices=u,this.selected.clear(),this.loading=!1})}addService(){const u=(0,p.kZ)();u.width="800px",u.data={theme:"resource-theme",resourceId:this.resource.id},this.dialog.open(H,u).afterClosed().subscribe(G=>{G&&this.loadAllServices()})}removeServices(){const u=(0,p.kZ)();u.width="500px",u.data={theme:"resource-theme",resourceId:this.resource.id,services:this.selected.selected},this.dialog.open(C,u).afterClosed().subscribe(G=>{G&&this.loadAllServices()})}applyFilter(u){this.filterValue=u}getDataForAuthorization(){this.assignServiceAuth=this.guiAuthResolver.isAuthorized("assignServices_Resource_List_policy",[this.resource]),this.removeServiceAuth=this.guiAuthResolver.isAuthorized("removeServices_Resource_List_policy",[this.resource]),this.displayedColumns=this.removeServiceAuth?["select","id","name","enabled","script","description"]:["id","name","enabled","script","description"],this.serviceRoutingAuth=this.guiAuthResolver.isPerunAdminOrObserver()}}return l.\u0275fac=function(u){return new(u||l)(t.Y36(F.gz),t.Y36(b.xk),t.Y36(S.uw),t.Y36(s.x4),t.Y36(s.fb))},l.\u0275cmp=t.Xpm({type:l,selectors:[["app-perun-web-apps-resource-assigned-services"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["class","action-button mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","services","selection","filterValue","displayedColumns","disableRouting",4,"ngIf"],["color","accent","mat-flat-button","",1,"action-button","mr-2",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","services","selection","filterValue","displayedColumns","disableRouting"]],template:function(u,A){1&u&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return A.loadAllServices()}),t.qZA(),t.YNc(4,ne,3,3,"button",2),t.YNc(5,re,3,4,"button",3),t.TgZ(6,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(q){return A.applyFilter(q)}),t.qZA(),t.YNc(7,x,1,0,"mat-spinner",5),t.YNc(8,T,1,6,"app-services-list",6)),2&u&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"RESOURCE_DETAIL.ASSIGNED_SERVICES.TITLE")),t.xp6(3),t.Q6J("ngIf",A.assignServiceAuth),t.xp6(1),t.Q6J("ngIf",A.removeServiceAuth),t.xp6(1),t.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_SERVICES.FILTER_SERVICES"),t.xp6(1),t.Q6J("ngIf",A.loading),t.xp6(1),t.Q6J("ngIf",!A.loading))},directives:[z.t,a.O5,V.lW,ie.L,P.$g,O.Q],pipes:[e.X$],styles:[""]}),l})()},92090:($,Q,i)=>{i.d(Q,{X:()=>J});var b=i(36908),h=i(112),o=i(5e3),p=i(53251),S=i(12651),s=i(69808),t=i(19191),e=i(51062);function a(f,L){1&f&&(o._uU(0),o.ALo(1,"translate")),2&f&&o.hij(" ",o.lcZ(1,1,"RESOURCE_DETAIL.ENTITY")," ")}function P(f,L){if(1&f&&o._UZ(0,"app-one-entity-attribute-page",4),2&f){const N=o.oxw();o.Q6J("entity","resource")("entityId",N.resource.id)}}function Z(f,L){1&f&&(o._uU(0),o.ALo(1,"translate"),o.ALo(2,"translate")),2&f&&o.AsE(" ",o.lcZ(1,2,"RESOURCE_DETAIL.ENTITY")," - ",o.lcZ(2,4,"MEMBER_DETAIL.ENTITY")," ")}function Y(f,L){if(1&f&&o._UZ(0,"app-two-entity-attribute-page",5),2&f){const N=o.oxw(2);o.Q6J("firstEntity","resource")("firstEntityId",N.resource.id)("secondEntity","member")}}function O(f,L){1&f&&(o.TgZ(0,"mat-tab"),o.YNc(1,Z,3,6,"ng-template",1),o.YNc(2,Y,1,3,"ng-template",2),o.qZA())}function I(f,L){1&f&&(o._uU(0),o.ALo(1,"translate"),o.ALo(2,"translate")),2&f&&o.AsE(" ",o.lcZ(1,2,"RESOURCE_DETAIL.ENTITY")," - ",o.lcZ(2,4,"GROUP_DETAIL.ENTITY")," ")}function V(f,L){if(1&f&&o._UZ(0,"app-two-entity-attribute-page",5),2&f){const N=o.oxw(2);o.Q6J("firstEntity","resource")("firstEntityId",N.resource.id)("secondEntity","group")}}function y(f,L){1&f&&(o.TgZ(0,"mat-tab"),o.YNc(1,I,3,6,"ng-template",1),o.YNc(2,V,1,3,"ng-template",2),o.qZA())}let J=(()=>{class f{constructor(N,H,W){this.authResolver=N,this.resourceManager=H,this.entityStorageService=W}ngOnInit(){this.resource=this.entityStorageService.getEntity(),this.resourceGroupAttAuth=this.authResolver.isAuthorized("getGroupAssignments_Resource_policy",[this.resource]),this.resourceMemberAttAuth=this.authResolver.isAuthorized("getAssignedMembersWithStatus_Resource_policy",[this.resource])}}return f.\u0275fac=function(N){return new(N||f)(o.Y36(b.x4),o.Y36(h.xk),o.Y36(b.fb))},f.\u0275cmp=o.Xpm({type:f,selectors:[["app-resource-attributes"]],hostVars:2,hostBindings:function(N,H){2&N&&o.ekj("router-component",H.true)},decls:10,vars:5,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(N,H){1&N&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-tab-group"),o.TgZ(5,"mat-tab"),o.YNc(6,a,2,3,"ng-template",1),o.YNc(7,P,1,2,"ng-template",2),o.qZA(),o.YNc(8,O,3,0,"mat-tab",3),o.YNc(9,y,3,0,"mat-tab",3),o.qZA(),o.qZA()),2&N&&(o.xp6(2),o.Oqu(o.lcZ(3,3,"RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),o.xp6(6),o.Q6J("ngIf",H.resourceMemberAttAuth),o.xp6(1),o.Q6J("ngIf",H.resourceGroupAttAuth))},directives:[p.SP,p.uX,p.uD,p.Vc,S.t,s.O5,t.Y],pipes:[e.X$],styles:[""]}),f})()},98918:($,Q,i)=>{i.d(Q,{b:()=>re});var b=i(36769),h=i(69024),o=i(112),p=i(9244),S=i(36908),s=i(19516),t=i(84379),e=i(533),a=i(5e3),P=i(11735),Z=i(77968),Y=i(48966),O=i(15003),I=i(4235),V=i(69808),y=i(20773),J=i(25245),f=i(29772),L=i(47423),N=i(61283),H=i(51062);function W(x,T){1&x&&a._UZ(0,"mat-spinner",3)}function ee(x,T){if(1&x){const d=a.EpF();a.TgZ(0,"button",15),a.NdJ("click",function(){return a.CHM(d),a.oxw(2).editResource()}),a.TgZ(1,"mat-icon"),a._uU(2,"edit"),a.qZA(),a.qZA()}}function se(x,T){if(1&x){const d=a.EpF();a.TgZ(0,"button",16),a.NdJ("click",function(){return a.CHM(d),a.oxw(2).deleteResource()}),a.TgZ(1,"mat-icon"),a._uU(2,"delete_forever"),a.qZA(),a.qZA()}}const oe=function(x){return["/organizations",x]};function U(x,T){if(1&x&&(a.TgZ(0,"a",8),a._uU(1),a.qZA()),2&x){const d=a.oxw(2);a.Q6J("routerLink",a.VKq(2,oe,d.resource.vo.id)),a.xp6(1),a.Oqu(d.resource.vo.name)}}function j(x,T){if(1&x&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&x){const d=a.oxw(2);a.xp6(1),a.hij(" ",d.resource.vo.name," ")}}const m=function(x){return["/facilities",x]};function C(x,T){if(1&x&&(a.TgZ(0,"a",8),a._uU(1),a.qZA()),2&x){const d=a.oxw(2);a.Q6J("routerLink",a.VKq(2,m,d.resource.facilityId)),a.xp6(1),a.Oqu(d.resource.facility.name)}}function F(x,T){if(1&x&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&x){const d=a.oxw(2);a.xp6(1),a.hij(" ",d.resource.facility.name," ")}}const z=function(){return{color:"black"}},ie=function(x){return[x]};function ne(x,T){if(1&x&&(a.TgZ(0,"div"),a.TgZ(1,"div",4),a._UZ(2,"mat-icon",5),a.ALo(3,"translate"),a.TgZ(4,"div",6),a.TgZ(5,"div",7),a.TgZ(6,"a",8),a._uU(7),a.qZA(),a.TgZ(8,"span",9),a._uU(9),a.qZA(),a.YNc(10,ee,3,0,"button",10),a.YNc(11,se,3,0,"button",11),a.qZA(),a.TgZ(12,"div"),a._uU(13),a.ALo(14,"translate"),a.qZA(),a.TgZ(15,"span",12),a._uU(16),a.ALo(17,"translate"),a.ALo(18,"translate"),a.YNc(19,U,2,4,"a",13),a.YNc(20,j,2,1,"span",2),a._uU(21),a.ALo(22,"translate"),a.YNc(23,C,2,4,"a",14),a.YNc(24,F,2,1,"span",2),a._uU(25),a.ALo(26,"translate"),a.qZA(),a.qZA(),a.qZA(),a._UZ(27,"app-animated-router-outlet"),a.qZA()),2&x){const d=a.oxw();a.xp6(2),a.s9C("matTooltip",a.lcZ(3,20,"RESOURCE_DETAIL.ENTITY")),a.Q6J("ngStyle",a.DdM(32,z)),a.xp6(4),a.Q6J("routerLink",a.VKq(33,ie,d.baseUrl)),a.xp6(1),a.hij(" ",d.resource.name," "),a.xp6(2),a.hij(" \xa0#",d.resource.id," "),a.xp6(1),a.Q6J("ngIf",d.editResourceAuth),a.xp6(1),a.Q6J("ngIf",d.deleteAuth),a.xp6(2),a.AsE("",a.lcZ(14,22,"RESOURCE_DETAIL.UUID"),": ",d.resource.uuid,""),a.xp6(3),a.AsE(" ",a.lcZ(17,24,"RESOURCE_DETAIL.ENTITY"),", ",a.lcZ(18,26,"RESOURCE_DETAIL.VO"),": "),a.xp6(3),a.Q6J("ngIf",d.voLinkAuth),a.xp6(1),a.Q6J("ngIf",!d.voLinkAuth),a.xp6(1),a.AsE(" #",d.resource.voId,", ",a.lcZ(22,28,"RESOURCE_DETAIL.FACILITY"),": "),a.xp6(2),a.Q6J("ngIf",d.facilityLinkAuth),a.xp6(1),a.Q6J("ngIf",!d.facilityLinkAuth),a.xp6(1),a.lnq(" #",d.resource.facilityId,", ",a.lcZ(26,30,"RESOURCE_DETAIL.DESCRIPTION"),": ",d.resource.description," ")}}let re=(()=>{class x{constructor(d,l,g,u,A,G,q,X,ce,R,w){this.route=d,this.facilityManager=l,this.vosManagerService=g,this.resourcesManager=u,this.sideMenuService=A,this.sideMenuItemService=G,this.dialog=q,this.guiAuthResolver=X,this.router=ce,this.entityStorageService=R,this.reloadEntityDetail=w,this.underVoUrl=!1,this.deleteAuth=!1,this.baseUrl="",this.loading=!1}ngOnInit(){this.reloadData(),this.reloadEntityDetail.entityDetailChange.subscribe(()=>{this.reloadData()})}reloadData(){this.loading=!0,this.route.params.subscribe(d=>{this.resourcesManager.getRichResourceById(d.resourceId).subscribe(g=>{this.resource=g,this.entityStorageService.setEntity({id:g.id,voId:g.voId,facilityId:g.facilityId,beanName:"Resource"}),this.setAuth(),"facilities"===this.route.parent.snapshot.url[0].path?(this.baseUrl=(new s.r5).transform(g,!1),this.facilityManager.getFacilityById(g.facilityId).subscribe(u=>{this.facility=u,this.setMenuItems(),this.loading=!1},()=>this.loading=!1)):(this.baseUrl=(new s.r5).transform(g,!0),this.vosManagerService.getVoById(g.voId).subscribe(u=>{this.vo=u,this.underVoUrl=!0,this.setMenuItems(),this.loading=!1},()=>this.loading=!1)),(0,p.sF)("resources",this.resource)})})}setMenuItems(){let d;const l=this.sideMenuItemService.parseResource(this.resource,this.underVoUrl);d=this.underVoUrl?this.sideMenuItemService.parseVo(this.vo):this.sideMenuItemService.parseFacility(this.facility),this.sideMenuService.setAccessMenuItems([d,l])}setAuth(){this.facilityLinkAuth=this.guiAuthResolver.isAuthorized("getFacilityById_int_policy",[this.resource]),this.editResourceAuth=this.guiAuthResolver.isAuthorized("updateResource_Resource_policy",[this.resource]),this.voLinkAuth=this.guiAuthResolver.isAuthorized("getVoById_int_policy",[this.resource]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteResource_Resource_policy",[this.resource])}editResource(){let d;this.resourcesManager.getResourceById(this.resource.id).subscribe(l=>{d=l;const g=(0,p.kZ)();g.width="450px",g.data={theme:"resource-theme",resource:d,dialogType:t.Eg.RESOURCE},this.dialog.open(t.rd,g).afterClosed().subscribe(A=>{A&&this.resourcesManager.getRichResourceById(this.resource.id).subscribe(G=>{this.resource=G,this.setMenuItems()})})})}deleteResource(){const d=(0,p.kZ)();d.width="500px",d.data={theme:"resource-theme",resources:[this.resource]},this.dialog.open(e.f,d).afterClosed().subscribe(g=>{g&&this.router.navigate(["../"],{relativeTo:this.route})})}}return x.\u0275fac=function(d){return new(d||x)(a.Y36(P.gz),a.Y36(o.IQ),a.Y36(o.YF),a.Y36(o.xk),a.Y36(Z.D),a.Y36(h.V),a.Y36(Y.uw),a.Y36(S.x4),a.Y36(P.F0),a.Y36(S.fb),a.Y36(O.G))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-resource-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","resource-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-resource-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"resource-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit resource",3,"click",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["queryParamsHandling","merge","class","resource-link",3,"routerLink",4,"ngIf"],["class","resource-link","queryParamsHandling","merge",3,"routerLink",4,"ngIf"],["mat-icon-button","","aria-label","Edit resource",3,"click"],["mat-icon-button","",3,"click"]],template:function(d,l){1&d&&(a.TgZ(0,"div",0),a._UZ(1,"perun-web-apps-back-button"),a.YNc(2,W,1,0,"mat-spinner",1),a.YNc(3,ne,28,35,"div",2),a.qZA()),2&d&&(a.xp6(2),a.Q6J("ngIf",l.loading),a.xp6(1),a.Q6J("ngIf",!l.loading&&void 0!==l.resource))},directives:[I.W,V.O5,y.$g,J.Hw,f.gM,V.PC,P.yS,L.lW,N.A],pipes:[H.X$],styles:[".break-line[_ngcontent-%COMP%]{display:inline-block}"],data:{animation:[b.Ji]}}),x})()},258:($,Q,i)=>{i.d(Q,{K:()=>ce});var b=i(112),h=i(20449),o=i(48966),p=i(32075),S=i(36908),s=i(5e3),t=i(51062),e=i(69808),a=i(20773),P=i(47423);function Z(R,w){1&R&&s._UZ(0,"mat-spinner",6)}function Y(R,w){1&R&&s._UZ(0,"th",15)}function O(R,w){if(1&R&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&R){const c=w.$implicit;s.xp6(1),s.Oqu(c.name)}}function I(R,w){1&R&&s._UZ(0,"tr",17)}function V(R,w){1&R&&s._UZ(0,"tr",18)}function y(R,w){if(1&R&&(s.TgZ(0,"div",7),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",8),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",9),s.ynx(8,10),s.YNc(9,Y,1,0,"th",11),s.YNc(10,O,2,1,"td",12),s.BQk(),s.YNc(11,I,1,0,"tr",13),s.YNc(12,V,1,0,"tr",14),s.qZA(),s.qZA()),2&R){const c=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.ASK")," "),s.xp6(2),s.Q6J("dataSource",c.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",c.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",c.displayedColumns)}}let J=(()=>{class R{constructor(c,E,M,k,B){this.dialogRef=c,this.data=E,this.notificator=M,this.translate=k,this.resourceManager=B,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new p.by(this.data.groups)}onCancel(){this.dialogRef.close()}onSubmit(){const c=[];for(const E of this.data.groups)c.push(E.id);this.loading=!0,this.resourceManager.removeGroupsFromResource(c,this.data.resourceId).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_GROUP_FROM_RESOURCE.SUCCESS").subscribe(E=>{this.notificator.showSuccess(E),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return R.\u0275fac=function(c){return new(c||R)(s.Y36(o.so),s.Y36(o.WI),s.Y36(S.V6),s.Y36(t.sK),s.Y36(b.xk))},R.\u0275cmp=s.Xpm({type:R,selectors:[["app-perun-web-apps-remove-group-from-resource-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(c,E){1&c&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Z,1,0,"mat-spinner",1),s.YNc(5,y,13,9,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return E.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return E.onSubmit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&c&&(s.Tol(E.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.TITLE")),s.xp6(2),s.Q6J("ngIf",E.loading),s.xp6(1),s.Q6J("ngIf",!E.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.CANCEL")," "),s.xp6(2),s.Q6J("disabled",E.loading),s.xp6(1),s.hij(" ",s.lcZ(12,13,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DELETE")," "))},directives:[o.uh,e.O5,a.$g,o.xY,p.BZ,p.w1,p.fO,p.ge,p.Dz,p.ev,p.as,p.XQ,p.nj,p.Gk,o.H8,P.lW],pipes:[t.X$],styles:[""]}),R})();var f=i(10036),L=i(92081),N=i(64901),H=i(24179),W=i(32368),ee=i(93075);const se=["stepper"];function oe(R,w){1&R&&s._UZ(0,"mat-spinner",4)}function U(R,w){1&R&&(s._uU(0),s.ALo(1,"translate")),2&R&&s.Oqu(s.lcZ(1,1,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.GROUPS"))}function j(R,w){1&R&&(s._uU(0),s.ALo(1,"translate")),2&R&&s.Oqu(s.lcZ(1,1,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.OPTIONS"))}const m=function(){return["select","id","name","description"]};function C(R,w){if(1&R){const c=s.EpF();s.TgZ(0,"div",5),s.TgZ(1,"mat-stepper",6,7),s.TgZ(3,"mat-step",8),s.YNc(4,U,2,3,"ng-template",9),s.TgZ(5,"perun-web-apps-debounce-filter",10),s.NdJ("filter",function(M){return s.CHM(c),s.oxw().applyFilter(M)}),s.ALo(6,"translate"),s.qZA(),s._UZ(7,"perun-web-apps-groups-list",11),s.qZA(),s.TgZ(8,"mat-step"),s.YNc(9,j,2,3,"ng-template",9),s.TgZ(10,"mat-slide-toggle",12),s.NdJ("toggleChange",function(){return s.CHM(c),s.oxw().changeSubgroupsMessage()})("ngModelChange",function(M){return s.CHM(c),s.oxw().autoAssignSubgroups=M}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.TgZ(13,"div",13),s._UZ(14,"i",14),s.qZA(),s.TgZ(15,"mat-slide-toggle",12),s.NdJ("toggleChange",function(){return s.CHM(c),s.oxw().changeInactiveMessage()})("ngModelChange",function(M){return s.CHM(c),s.oxw().asActive=M}),s._uU(16),s.ALo(17,"translate"),s.qZA(),s.TgZ(18,"div",13),s._uU(19),s.qZA(),s.TgZ(20,"mat-slide-toggle",12),s.NdJ("toggleChange",function(){return s.CHM(c),s.oxw().changeAsyncMessage()})("ngModelChange",function(M){return s.CHM(c),s.oxw().async=M}),s._uU(21),s.ALo(22,"translate"),s.qZA(),s.TgZ(23,"div",13),s._uU(24),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&R){const c=s.oxw();s.xp6(1),s.Q6J("linear",!0),s.xp6(2),s.Q6J("completed",0!==c.selection.selected.length&&c.canAddGroups()),s.xp6(2),s.s9C("placeholder",s.lcZ(6,19,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.FILTER_DESCRIPTION")),s.xp6(2),s.Q6J("tableId",c.tableId)("groups",c.unAssignedGroups)("selection",c.selection)("filter",c.filterValue)("displayedColumns",s.DdM(27,m))("disableRouting",!0)("disableMembers",!1),s.xp6(3),s.Q6J("ngModel",c.autoAssignSubgroups),s.xp6(1),s.hij(" ",s.lcZ(12,21,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.AUTO_SUBGROUPS")," "),s.xp6(3),s.Q6J("innerHTML",c.autoAssignHint,s.oJD),s.xp6(1),s.Q6J("ngModel",c.asActive),s.xp6(1),s.hij(" ",s.lcZ(17,23,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.AS_ACTIVE")," "),s.xp6(3),s.hij(" ",c.asActiveHint," "),s.xp6(1),s.Q6J("ngModel",c.async),s.xp6(1),s.hij(" ",s.lcZ(22,25,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_OPT")," "),s.xp6(3),s.hij(" ",c.asyncHint," ")}}function F(R,w){if(1&R){const c=s.EpF();s.TgZ(0,"button",20),s.NdJ("click",function(){return s.CHM(c),s.oxw(2).stepperPrevious()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&R&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.BACK")," "))}function z(R,w){if(1&R){const c=s.EpF();s.TgZ(0,"button",21),s.NdJ("click",function(){return s.CHM(c),s.oxw(2).stepperNext()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&R){const c=s.oxw(2);s.ekj("ml-2",void 0!==c.stepper&&0!==c.stepper.selectedIndex)("ml-auto",!(void 0!==c.stepper&&0!==c.stepper.selectedIndex)),s.Q6J("disabled",0===c.selection.selected.length||!c.canAddGroups()),s.xp6(1),s.hij(" ",s.lcZ(2,6,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.NEXT")," ")}}function ie(R,w){if(1&R){const c=s.EpF();s.TgZ(0,"button",22),s.NdJ("click",function(){return s.CHM(c),s.oxw(2).onAdd()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&R&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ADD_BUTTON")," "))}function ne(R,w){if(1&R){const c=s.EpF();s.TgZ(0,"div",15),s.TgZ(1,"button",16),s.NdJ("click",function(){return s.CHM(c),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,F,3,3,"button",17),s.YNc(5,z,3,8,"button",18),s.YNc(6,ie,3,3,"button",19),s.qZA()}if(2&R){const c=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,4,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.CANCEL_BUTTON")," "),s.xp6(2),s.Q6J("ngIf",void 0!==c.stepper&&0!==c.stepper.selectedIndex),s.xp6(1),s.Q6J("ngIf",void 0!==c.stepper&&c.stepper.selectedIndex!==c.stepper._steps.length-1),s.xp6(1),s.Q6J("ngIf",void 0!==c.stepper&&c.stepper.selectedIndex===c.stepper._steps.length-1)}}let re=(()=>{class R{constructor(c,E,M,k,B,te,pe,me){this.dialogRef=c,this.data=E,this.notificator=M,this.translate=k,this.resourceManager=B,this.groupService=te,this.guiAuthResolver=pe,this.cd=me,this.loading=!1,this.unAssignedGroups=this.data.onlyAutoAssignedGroups,this.async=!0,this.autoAssignSubgroups=!1,this.asActive=!0,this.selection=new h.Ov(!0,[]),this.filterValue="",this.tableId=f.cL}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.resource=this.data.resource,this.autoAssignHint=this.translate.instant("DIALOGS.ASSIGN_GROUP_TO_RESOURCE.AUTO_SUBGROUPS_OFF_HINT"),this.asActiveHint=this.translate.instant("DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ACTIVE_ON_HINT"),this.asyncHint=this.translate.instant("DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_ON_HINT"),this.resourceManager.getAssignedGroups(this.resource.id).subscribe(c=>{this.groupService.getAllGroups(this.resource.voId).subscribe(E=>{for(const M of E)-1===c.findIndex(k=>k.id===M.id)&&this.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",[this.resource,M])&&this.unAssignedGroups.push(M);this.loading=!1,this.cd.detectChanges()},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close()}onAdd(){this.loading=!0;const c=[];for(const E of this.selection.selected)c.push(E.id);this.resourceManager.assignGroupsToResource(c,this.resource.id,this.async,!this.asActive,this.autoAssignSubgroups).subscribe(()=>{this.translate.get("DIALOGS.ASSIGN_GROUP_TO_RESOURCE.SUCCESS_MESSAGE").subscribe(E=>{this.notificator.showSuccess(E),this.dialogRef.close(!0)})},()=>this.loading=!1)}applyFilter(c){this.filterValue=c}canAddGroups(){let c=!0;return this.selection.selected.forEach(E=>{this.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",[this.resource,E])||(c=!1)}),c}changeSubgroupsMessage(){this.autoAssignHint=this.translate.instant(this.autoAssignSubgroups?"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.AUTO_SUBGROUPS_OFF_HINT":"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.AUTO_SUBGROUPS_ON_HINT")}changeInactiveMessage(){this.asActiveHint=this.translate.instant(this.asActive?"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ACTIVE_OFF_HINT":"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ACTIVE_ON_HINT")}changeAsyncMessage(){this.asyncHint=this.translate.instant(this.async?"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_OFF_HINT":"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_ON_HINT")}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return R.\u0275fac=function(c){return new(c||R)(s.Y36(o.so),s.Y36(o.WI),s.Y36(S.V6),s.Y36(t.sK),s.Y36(b.xk),s.Y36(b.ff),s.Y36(S.x4),s.Y36(s.sBO))},R.\u0275cmp=s.Xpm({type:R,selectors:[["app-perun-web-apps-assign-group-to-resource-dialog"]],viewQuery:function(c,E){if(1&c&&s.Gf(se,5),2&c){let M;s.iGM(M=s.CRH())&&(E.stepper=M.first)}},decls:7,vars:9,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],["stepper",""],[3,"completed"],["matStepLabel",""],[3,"placeholder","filter"],[3,"tableId","groups","selection","filter","displayedColumns","disableRouting","disableMembers"],["labelPosition","before",1,"mt-3","slide-text",3,"ngModel","toggleChange","ngModelChange"],[1,"text-muted","new-line","mt-2"],[3,"innerHTML"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","","type","button",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],["class","ml-2","color","accent","mat-flat-button","","type","button",3,"click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","","type","button",3,"disabled","click"],["color","accent","mat-flat-button","","type","button",1,"ml-2",3,"click"]],template:function(c,E){1&c&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,oe,1,0,"mat-spinner",1),s.YNc(5,C,25,28,"div",2),s.YNc(6,ne,7,6,"div",3),s.qZA()),2&c&&(s.Tol(E.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.TITLE")),s.xp6(2),s.Q6J("ngIf",E.loading),s.xp6(1),s.Q6J("ngIf",!E.loading),s.xp6(1),s.Q6J("ngIf",!E.loading&&E.stepper))},directives:[o.uh,e.O5,a.$g,o.xY,L.Vq,L.C0,L.VY,N.P,H.W,W.Rr,ee.JJ,ee.On,o.H8,P.lW],pipes:[t.X$],styles:[".slide-text[_ngcontent-%COMP%]{font-size:1.1rem}"]}),R})();var x=i(9244),T=i(64080),d=i(11735),l=i(96214),g=i(29772);function u(R,w){if(1&R){const c=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(c),s.oxw().addGroup()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&R&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"RESOURCE_DETAIL.ASSIGNED_GROUPS.ADD_GROUP"),"\n"))}function A(R,w){1&R&&s._UZ(0,"mat-spinner",9)}const G=function(R){return[R]},q=function(){return["select","id","indirectGroupAssigment","name","status","description"]};function X(R,w){if(1&R){const c=s.EpF();s.TgZ(0,"perun-web-apps-groups-list",10),s.NdJ("refreshTable",function(){return s.CHM(c),s.oxw().loadAllGroups()}),s.qZA()}if(2&R){const c=s.oxw();s.Q6J("disableGroups",!0)("groupsToDisableCheckbox",c.groupsToDisable)("tableId",c.tableId)("groups",c.assignedGroups)("filter",c.filteredValue)("selection",c.selected)("disableMembers",!1)("resourceId",c.resource.id)("disableRouting",!!c.assignedGroups[0]&&!c.guiAuthResolver.isAuthorized("getGroupById_int_policy",s.VKq(10,G,c.assignedGroups[0])))("displayedColumns",s.DdM(12,q))}}let ce=(()=>{class R{constructor(c,E,M,k,B){this.route=c,this.resourcesManager=E,this.dialog=M,this.guiAuthResolver=k,this.entityStorageService=B,this.assignedGroups=[],this.selected=new h.Ov(!0,[]),this.filteredValue="",this.tableId=f.Ad}ngOnInit(){this.loading=!0,this.resource=this.entityStorageService.getEntity(),this.loadAllGroups()}loadAllGroups(){this.loading=!0,this.resourcesManager.getGroupAssignments(this.resource.id,[T.r.GROUP_SYNC_ENABLED]).subscribe(c=>{this.assignedGroups=c.map(B=>{const te=B.enrichedGroup.group;return te.status=B.status,te.failureCause=B.failureCause,te.sourceGroupId=B.sourceGroupId,te});const E=this.assignedGroups.map(B=>B.id),M=this.assignedGroups.filter((B,te)=>E.indexOf(B.id)===te),k=this.assignedGroups.filter((B,te)=>{const pe=E.indexOf(B.id);return pe!==te&&(null===B.sourceGroupId||null===this.assignedGroups[pe].sourceGroupId)}).map(B=>B.id);M.forEach(B=>{k.includes(B.id)&&(B.moreTypesOfAssignment=!0)}),this.assignedGroups=M,this.groupsToDisable=new Set(this.assignedGroups.filter(B=>!!B.sourceGroupId&&!B.moreTypesOfAssignment).map(B=>B.id)),this.selected.clear(),this.loading=!1})}addGroup(){const c=(0,x.kZ)();c.width="1000px",c.data={theme:"resource-theme",resource:this.resource,onlyAutoAssignedGroups:this.assignedGroups.filter(M=>this.groupsToDisable.has(M.id))},this.dialog.open(re,c).afterClosed().subscribe(M=>{M&&this.loadAllGroups()})}removeGroups(){const c=(0,x.kZ)();c.width="500px",c.data={resourceId:this.resource.id,groups:this.selected.selected,theme:"resource-theme"},this.dialog.open(J,c).afterClosed().subscribe(M=>{M&&this.loadAllGroups()})}canRemoveGroups(){let c=!0;return this.selected.selected.forEach(E=>{this.guiAuthResolver.isAuthorized("removeGroupsFromResource_List_Resource_policy",[this.resource,E])||(c=!1)}),c}applyFilter(c){this.filteredValue=c}}return R.\u0275fac=function(c){return new(c||R)(s.Y36(d.gz),s.Y36(b.xk),s.Y36(o.uw),s.Y36(S.x4),s.Y36(S.fb))},R.\u0275cmp=s.Xpm({type:R,selectors:[["app-perun-web-apps-resource-groups"]],decls:13,vars:17,consts:[[1,"page-subtitle"],[3,"refresh"],["class","action-button","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["color","warn","mat-flat-button","",1,"ml-2","mr-2",3,"disabled","click"],[3,"matTooltipDisabled","matTooltip"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"disableGroups","groupsToDisableCheckbox","tableId","groups","filter","selection","disableMembers","resourceId","disableRouting","displayedColumns","refreshTable",4,"ngIf"],["color","accent","mat-flat-button","",1,"action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"disableGroups","groupsToDisableCheckbox","tableId","groups","filter","selection","disableMembers","resourceId","disableRouting","displayedColumns","refreshTable"]],template:function(c,E){1&c&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return E.loadAllGroups()}),s.qZA(),s.YNc(4,u,3,3,"button",2),s.TgZ(5,"button",3),s.NdJ("click",function(){return E.removeGroups()}),s.TgZ(6,"span",4),s.ALo(7,"translate"),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA(),s.TgZ(10,"perun-web-apps-debounce-filter",5),s.NdJ("filter",function(k){return E.applyFilter(k)}),s.qZA(),s.YNc(11,A,1,0,"mat-spinner",6),s.YNc(12,X,1,13,"perun-web-apps-groups-list",7)),2&c&&(s.xp6(1),s.Oqu(s.lcZ(2,9,"RESOURCE_DETAIL.ASSIGNED_GROUPS.TITLE")),s.xp6(3),s.Q6J("ngIf",E.guiAuthResolver.isAuthorized("getAllGroups_Vo_policy",s.VKq(15,G,E.resource))),s.xp6(1),s.Q6J("disabled",0===E.selected.selected.length||!E.canRemoveGroups()),s.xp6(1),s.s9C("matTooltip",s.lcZ(7,11,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_TOOLTIP")),s.Q6J("matTooltipDisabled",E.canRemoveGroups()),s.xp6(2),s.hij(" ",s.lcZ(9,13,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_GROUP")," "),s.xp6(2),s.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_GROUPS.FILTER_GROUPS"),s.xp6(1),s.Q6J("ngIf",E.loading),s.xp6(1),s.Q6J("ngIf",!E.loading))},directives:[l.t,e.O5,P.lW,g.gM,N.P,a.$g,H.W],pipes:[t.X$],styles:[""]}),R})()},4675:($,Q,i)=>{i.d(Q,{H:()=>P});var b=i(112),h=i(36908),o=i(5e3),p=i(11735),S=i(69808),s=i(20773),t=i(71135);function e(Z,Y){1&Z&&o._UZ(0,"mat-spinner",2)}function a(Z,Y){if(1&Z&&(o.TgZ(0,"div"),o._UZ(1,"perun-web-apps-menu-buttons-field",3),o.qZA()),2&Z){const O=o.oxw();o.xp6(1),o.Q6J("items",O.navItems)("size","small")}}let P=(()=>{class Z{constructor(O,I,V,y){this.resourcesManager=O,this.route=I,this.guiAuthResolver=V,this.entityStorageService=y,this.navItems=[],this.loading=!1}ngOnInit(){this.loading=!0,this.resource=this.entityStorageService.getEntity(),this.initItems("facilities"!==this.route.parent.parent.snapshot.url[0].path),this.loading=!1}initItems(O){const I=O?`/organizations/${this.resource.voId}`:`/facilities/${this.resource.facilityId}`;this.navItems=[],this.guiAuthResolver.isAuthorized("getAssignedGroups_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-group",url:`${I}/resources/${this.resource.id}/groups`,label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAssignedServices_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-service",url:`/${I}/resources/${this.resource.id}/services`,label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAssignedMembers_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-user",url:`${I}/resources/${this.resource.id}/members`,label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-resource-tags",url:`${I}/resources/${this.resource.id}/tags`,label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",style:"resource-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`${I}/resources/${this.resource.id}/attributes`,label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",style:"resource-btn"}),this.guiAuthResolver.isManagerPagePrivileged(this.resource)&&this.navItems.push({cssIcon:"perun-settings2",url:`${I}/resources/${this.resource.id}/settings`,label:"MENU_ITEMS.RESOURCE.SETTINGS",style:"resource-btn"})}}return Z.\u0275fac=function(O){return new(O||Z)(o.Y36(b.xk),o.Y36(p.gz),o.Y36(h.x4),o.Y36(h.fb))},Z.\u0275cmp=o.Xpm({type:Z,selectors:[["app-resource-overview"]],hostVars:2,hostBindings:function(O,I){2&O&&o.ekj("router-component",I.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(O,I){1&O&&(o.YNc(0,e,1,0,"mat-spinner",0),o.YNc(1,a,2,2,"div",1)),2&O&&(o.Q6J("ngIf",I.loading),o.xp6(1),o.Q6J("ngIf",!I.loading))},directives:[S.O5,s.$g,t.L],styles:[""]}),Z})()},20057:($,Q,i)=>{i.d(Q,{O:()=>p});var b=i(36908),h=i(5e3),o=i(69815);let p=(()=>{class S{constructor(t,e){this.guiAuthResolver=t,this.entityStorageService=e,this.availableRoles=[],this.type="Resource",this.theme="resource-theme"}ngOnInit(){this.resource=this.entityStorageService.getEntity(),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Resource")}}return S.\u0275fac=function(t){return new(t||S)(h.Y36(b.x4),h.Y36(b.fb))},S.\u0275cmp=h.Xpm({type:S,selectors:[["app-resource-settings-managers"]],decls:1,vars:4,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&h._UZ(0,"app-managers-page",0),2&t&&h.Q6J("complementaryObject",e.resource)("complementaryObjectType",e.type)("theme",e.theme)("availableRoles",e.availableRoles)},directives:[o.s],styles:[""]}),S})()},16500:($,Q,i)=>{i.d(Q,{h:()=>P});var b=i(112),h=i(36908),o=i(5e3),p=i(11735),S=i(69808),s=i(20773),t=i(71135);function e(Z,Y){1&Z&&o._UZ(0,"mat-spinner",2)}function a(Z,Y){if(1&Z&&(o.TgZ(0,"div"),o._UZ(1,"perun-web-apps-menu-buttons-field",3),o.qZA()),2&Z){const O=o.oxw();o.xp6(1),o.Q6J("items",O.items)("size","small")}}let P=(()=>{class Z{constructor(O,I,V,y){this.route=O,this.resourceManager=I,this.authResolver=V,this.entityStorageService=y,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.resource=this.entityStorageService.getEntity(),this.initItems("facilities"!==this.route.parent.parent.parent.snapshot.url[0].path),this.loading=!1}initItems(O){this.items=[],this.authResolver.isManagerPagePrivileged(this.resource)&&this.items.push({cssIcon:"perun-manager",url:`${O?`/organizations/${this.resource.voId}`:`/facilities/${this.resource.facilityId}`}/resources/${this.resource.id}/settings/managers`,label:"MENU_ITEMS.RESOURCE.MANAGERS",style:"resource-btn"})}}return Z.\u0275fac=function(O){return new(O||Z)(o.Y36(p.gz),o.Y36(b.xk),o.Y36(h.x4),o.Y36(h.fb))},Z.\u0275cmp=o.Xpm({type:Z,selectors:[["app-resource-settings-overview"]],hostVars:2,hostBindings:function(O,I){2&O&&o.ekj("router-component",I.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(O,I){1&O&&(o.YNc(0,e,1,0,"mat-spinner",0),o.YNc(1,a,2,2,"div",1)),2&O&&(o.Q6J("ngIf",I.loading),o.xp6(1),o.Q6J("ngIf",!I.loading))},directives:[S.O5,s.$g,t.L],styles:[""]}),Z})()},60113:($,Q,i)=>{i.d(Q,{t:()=>p});var b=i(36769),h=i(5e3),o=i(61283);let p=(()=>{class S{constructor(){}}return S.\u0275fac=function(t){return new(t||S)},S.\u0275cmp=h.Xpm({type:S,selectors:[["app-resource-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&h._UZ(0,"app-animated-router-outlet")},directives:[o.A],styles:[""],data:{animation:[b.Ji]}}),S})()},20872:($,Q,i)=>{i.d(Q,{v:()=>oe});var b=i(112),h=i(20449),o=i(10036),p=i(9244),S=i(36908),s=i(84379),t=i(48966),e=i(5e3),a=i(69808),P=i(20773),Z=i(17672),Y=i(47423),O=i(51062);function I(U,j){1&U&&e._UZ(0,"mat-spinner",8)}function V(U,j){if(1&U&&e._UZ(0,"app-resources-tags-list",9),2&U){const m=e.oxw();e.Q6J("selection",m.selection)("tableId",m.tableId)("resourceTags",m.resourceTags)("filterValue",m.filterValue)("displayedColumns",m.displayedColumns)("entity","resource")}}let y=(()=>{class U{constructor(m,C,F){this.dialogRef=m,this.data=C,this.resourcesManager=F,this.tableId=o.g,this.selection=new h.Ov(!0,[]),this.resourceTags=[],this.displayedColumns=["select","id","name"]}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voId=this.data.voId,this.resourceId=this.data.resourceId,this.assignedTags=this.data.assignedTags,this.resourcesManager.getAllResourcesTagsForVo(this.voId).subscribe(m=>{this.resourceTags=m.filter(C=>this.assignedTags.map(F=>F.id).indexOf(C.id)<=-1),this.loading=!1})}onCancel(){this.dialogRef.close(!1)}onSubmit(m){if(0===m.length)return this.dialogRef.close(!0);const C=m.pop();this.resourcesManager.assignResourceTagToResource({resource:this.resourceId,resourceTag:C}).subscribe(()=>{this.onSubmit(m)})}applyFilter(m){this.filterValue=m}}return U.\u0275fac=function(m){return new(m||U)(e.Y36(t.so),e.Y36(t.WI),e.Y36(b.xk))},U.\u0275cmp=e.Xpm({type:U,selectors:[["app-add-resource-tag-to-resource-dialog"]],decls:15,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],[3,"selection","tableId","resourceTags","filterValue","displayedColumns","entity",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],[3,"selection","tableId","resourceTags","filterValue","displayedColumns","entity"]],template:function(m,C){1&m&&(e.TgZ(0,"div"),e.TgZ(1,"h1",0),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",1),e.TgZ(5,"div",2),e.YNc(6,I,1,0,"mat-spinner",3),e.qZA(),e.YNc(7,V,1,6,"app-resources-tags-list",4),e.qZA(),e.TgZ(8,"div",5),e.TgZ(9,"button",6),e.NdJ("click",function(){return C.onCancel()}),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"button",7),e.NdJ("click",function(){return C.onSubmit(C.selection.selected)}),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.qZA(),e.qZA()),2&m&&(e.Tol(C.theme),e.xp6(2),e.Oqu(e.lcZ(3,9,"RESOURCE_DETAIL.TAGS.ADD_TAGS")),e.xp6(4),e.Q6J("ngIf",C.loading),e.xp6(1),e.Q6J("ngIf",!C.loading),e.xp6(3),e.hij(" ",e.lcZ(11,11,"RESOURCE_DETAIL.TAGS.CANCEL")," "),e.xp6(2),e.Q6J("disabled",C.loading||0===C.resourceTags.length),e.xp6(1),e.hij(" ",e.lcZ(14,13,"RESOURCE_DETAIL.TAGS.ADD_BUTTON")," "))},directives:[t.uh,t.xY,a.O5,P.$g,Z.o,t.H8,Y.lW],pipes:[O.X$],styles:[""]}),U})();var J=i(17584),f=i(96214),L=i(7434);function N(U,j){if(1&U){const m=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){return e.CHM(m),e.oxw().create()}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&U&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.CREATE_BUTTON"),"\n"))}function H(U,j){if(1&U){const m=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){return e.CHM(m),e.oxw().addTag()}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&U&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"RESOURCE_DETAIL.TAGS.ADD_BUTTON"),"\n"))}function W(U,j){if(1&U){const m=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){return e.CHM(m),e.oxw().removeTags()}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&U){const m=e.oxw();e.Q6J("disabled",0===m.selection.selected.length),e.xp6(1),e.hij(" ",e.lcZ(2,2,"RESOURCE_DETAIL.TAGS.REMOVE_BUTTON"),"\n")}}function ee(U,j){1&U&&e._UZ(0,"mat-spinner",9)}function se(U,j){if(1&U&&e._UZ(0,"app-resources-tags-list",10),2&U){const m=e.oxw();e.Q6J("selection",m.selection)("tableId",m.tableId)("resourceTags",m.resourceTags)("filterValue",m.filterValue)("displayedColumns",m.displayedColumns)("entity","resource")}}let oe=(()=>{class U{constructor(m,C,F,z,ie,ne){this.authResolver=m,this.resourcesManager=C,this.dialog=F,this.notificator=z,this.translate=ie,this.entityStorageService=ne,this.loading=!1,this.resourceTags=[],this.selection=new h.Ov(!0,[]),this.tableId=o.M8,this.displayedColumns=[]}ngOnInit(){this.loading=!0,this.resource=this.entityStorageService.getEntity(),this.setAuthRights(),this.updateData()}removeTags(){const m=(0,p.kZ)();m.width="450px",m.data={items:this.selection.selected.map(F=>F.tagName),title:"RESOURCE_DETAIL.TAGS.REMOVE_TAGS_DIALOG_TITLE",description:"RESOURCE_DETAIL.TAGS.REMOVE_TAGS_DIALOG_DESCRIPTION",theme:"resource-theme"},this.dialog.open(s.Tf,m).afterClosed().subscribe(F=>{F&&this.removeTag(this.selection.selected)})}removeTag(m){if(0===m.length)return this.notificator.showSuccess(this.translate.instant("RESOURCE_DETAIL.TAGS.REMOVED_SUCCESSFULLY")),this.updateData();const C=m.pop();this.resourcesManager.removeResourceTagFromResource({resource:this.resource.id,resourceTag:C}).subscribe(()=>{this.removeTag(m)})}addTag(){const m=(0,p.kZ)();m.width="600px",m.data={voId:this.resource.voId,resourceId:this.resource.id,assignedTags:this.resourceTags,theme:"resource-theme"},this.dialog.open(y,m).afterClosed().subscribe(F=>{F&&(this.notificator.showSuccess(this.translate.instant("RESOURCE_DETAIL.TAGS.ADDED_SUCCESSFULLY")),this.updateData())})}create(){const m=(0,p.kZ)();m.width="450px",m.data={voId:this.resource.voId,theme:"resource-theme"},this.dialog.open(J.p,m).afterClosed().subscribe(F=>{F&&(this.translate.get("VO_DETAIL.RESOURCES.TAGS.CREATE_SUCCESS").subscribe(z=>{this.notificator.showSuccess(z)}),this.updateData())})}updateData(){this.loading=!0,this.selection.clear(),this.resourcesManager.getAllResourcesTagsForResource(this.resource.id).subscribe(m=>{this.resourceTags=m,this.selection.clear(),this.loading=!1})}setAuthRights(){const m={id:this.resource.voId,beanName:"Vo"};this.displayedColumns=[],this.createAuth=this.authResolver.isAuthorized("createResourceTag_ResourceTag_Vo_policy",[m]),this.addAuth=this.authResolver.isAuthorized("assignResourceTagToResource_ResourceTag_Resource_policy",[this.resource]),this.removeAuth=this.authResolver.isAuthorized("removeResourceTagFromResource_ResourceTag_Resource_policy",[this.resource]),this.displayedColumns=this.removeAuth?["select","id","name"]:["id","name"]}applyFilter(m){this.filterValue=m}}return U.\u0275fac=function(m){return new(m||U)(e.Y36(S.x4),e.Y36(b.xk),e.Y36(t.uw),e.Y36(S.V6),e.Y36(O.sK),e.Y36(S.fb))},U.\u0275cmp=e.Xpm({type:U,selectors:[["app-perun-web-apps-resource-tags"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2 action-button","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"selection","tableId","resourceTags","filterValue","displayedColumns","entity",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"selection","tableId","resourceTags","filterValue","displayedColumns","entity"]],template:function(m,C){1&m&&(e.TgZ(0,"h1",0),e._uU(1),e.ALo(2,"translate"),e.qZA(),e.TgZ(3,"perun-web-apps-refresh-button",1),e.NdJ("refresh",function(){return C.updateData()}),e.qZA(),e.YNc(4,N,3,3,"button",2),e.YNc(5,H,3,3,"button",2),e.YNc(6,W,3,4,"button",3),e.TgZ(7,"perun-web-apps-immediate-filter",4),e.NdJ("filter",function(z){return C.applyFilter(z)}),e.qZA(),e.YNc(8,ee,1,0,"mat-spinner",5),e.YNc(9,se,1,6,"app-resources-tags-list",6)),2&m&&(e.xp6(1),e.Oqu(e.lcZ(2,7,"RESOURCE_DETAIL.TAGS.TITLE")),e.xp6(3),e.Q6J("ngIf",C.createAuth),e.xp6(1),e.Q6J("ngIf",C.addAuth),e.xp6(1),e.Q6J("ngIf",C.removeAuth),e.xp6(1),e.Q6J("placeholder","RESOURCE_DETAIL.TAGS.SEARCH"),e.xp6(1),e.Q6J("ngIf",C.loading),e.xp6(1),e.Q6J("ngIf",!C.loading))},directives:[f.t,a.O5,Y.lW,L.L,P.$g,Z.o],pipes:[O.X$],styles:[""]}),U})()},17584:($,Q,i)=>{i.d(Q,{p:()=>O});var b=i(48966),h=i(112),o=i(5e3),p=i(69808),S=i(20773),s=i(67322),t=i(98833),e=i(93075),a=i(47423),P=i(51062);function Z(I,V){1&I&&o._UZ(0,"mat-spinner",6)}function Y(I,V){if(1&I){const y=o.EpF();o.TgZ(0,"div",7),o.TgZ(1,"mat-form-field"),o.TgZ(2,"input",8),o.NdJ("ngModelChange",function(f){return o.CHM(y),o.oxw().name=f}),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-error"),o._uU(5),o.ALo(6,"translate"),o.qZA(),o.qZA(),o.qZA()}if(2&I){const y=o.oxw();o.xp6(2),o.s9C("placeholder",o.lcZ(3,3,"DIALOGS.CREATE_RESOURCE_TAG.NAME")),o.Q6J("ngModel",y.name),o.xp6(3),o.Oqu(o.lcZ(6,5,"DIALOGS.CREATE_RESOURCE_TAG.EMPTY_NAME"))}}let O=(()=>{class I{constructor(y,J,f){this.dialogRef=y,this.data=J,this.resourceManager=f,this.name="",this.loading=!1}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){""!==this.name&&(this.loading=!0,this.resourceManager.createResourceTagWithTagName(this.name,this.data.voId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1))}}return I.\u0275fac=function(y){return new(y||I)(o.Y36(b.so),o.Y36(b.WI),o.Y36(h.xk))},I.\u0275cmp=o.Xpm({type:I,selectors:[["app-create-resource-tag-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","ngModel","ngModelChange"]],template:function(y,J){1&y&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.YNc(4,Z,1,0,"mat-spinner",1),o.YNc(5,Y,7,7,"div",2),o.TgZ(6,"div",3),o.TgZ(7,"button",4),o.NdJ("click",function(){return J.onCancel()}),o._uU(8),o.ALo(9,"translate"),o.qZA(),o.TgZ(10,"button",5),o.NdJ("click",function(){return J.onSubmit()}),o._uU(11),o.ALo(12,"translate"),o.qZA(),o.qZA(),o.qZA()),2&y&&(o.Tol(J.theme),o.xp6(2),o.Oqu(o.lcZ(3,9,"DIALOGS.CREATE_RESOURCE_TAG.TITLE")),o.xp6(2),o.Q6J("ngIf",J.loading),o.xp6(1),o.Q6J("ngIf",!J.loading),o.xp6(3),o.hij(" ",o.lcZ(9,11,"DIALOGS.CREATE_RESOURCE_TAG.CANCEL")," "),o.xp6(2),o.Q6J("disabled",J.loading),o.xp6(1),o.hij(" ",o.lcZ(12,13,"DIALOGS.CREATE_RESOURCE_TAG.CREATE")," "))},directives:[b.uh,p.O5,S.$g,b.xY,s.KE,t.Nt,e.Fj,e.Q7,e.JJ,e.On,s.TO,b.H8,a.lW],pipes:[P.X$],styles:[""]}),I})()},69815:($,Q,i)=>{i.d(Q,{s:()=>Ne});var b=i(20449),h=i(48966),o=i(36908),p=i(112),S=i(10036),s=i(64080),t=i(93075),e=i(5e3),a=i(51062),P=i(11735),Z=i(67322),Y=i(74107),O=i(69808),I=i(90508),V=i(98833),y=i(50301),J=i(47423),f=i(20773),L=i(98380),N=i(64877);let H=(()=>{class r{constructor(n){this.translate=n,this.prefix="ROLES."}transform(n){const _=this.prefix.concat(n);return this.translate.instant(_)}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(a.sK,16))},r.\u0275pipe=e.Yjl({name:"displayedRole",type:r,pure:!0}),r})();function W(r,v){if(1&r&&(e.TgZ(0,"mat-option",15),e._uU(1),e.ALo(2,"displayedRole"),e.qZA()),2&r){const n=v.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(e.lcZ(2,2,n))}}function ee(r,v){1&r&&e._UZ(0,"mat-spinner",16)}function se(r,v){1&r&&(e.TgZ(0,"app-alert",20),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"DIALOGS.ADD_MANAGERS.NO_USERS_FOUND")," "))}const oe=function(){return["select","id","name","email","logins","organization"]};function U(r,v){if(1&r&&e._UZ(0,"app-users-list",21),2&r){const n=e.oxw(2);e.Q6J("tableId",n.tableId)("disableRouting",!0)("selection",n.selection)("displayedColumns",e.DdM(5,oe))("users",n.users)}}function j(r,v){if(1&r&&(e.TgZ(0,"div",17),e.YNc(1,se,3,3,"app-alert",18),e.YNc(2,U,1,6,"app-users-list",19),e.qZA()),2&r){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",0===n.users.length&&n.firstSearchDone),e.xp6(1),e.Q6J("ngIf",0!==n.users.length)}}let m=(()=>{class r{constructor(n,_,D,K,ae,le,ue,he,fe){this.dialogRef=n,this.data=_,this.authzService=D,this.usersService=K,this.translate=ae,this.notificator=le,this.storeService=ue,this.route=he,this.router=fe,this.selection=new b.Ov(!0,[]),this.users=[],this.firstSearchDone=!1,this.tableId=S.H2,ae.get("DIALOGS.ADD_MANAGERS.TITLE").subscribe(_e=>this.title=_e),ae.get("DIALOGS.ADD_MANAGERS.SUCCESS").subscribe(_e=>this.successMessage=_e)}ngOnInit(){this.theme=this.data.theme,this.availableRoles=this.data.availableRoles,this.selectedRole=this.data.selectedRole,this.searchCtrl=new t.NI("",[t.kI.required,t.kI.pattern(".*[\\S]+.*")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.authzService.setRoleWithUserComplementaryObject({role:this.selectedRole,users:this.selection.selected.map(n=>n.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}onSearchByString(){if(this.searchCtrl.invalid)return void this.searchCtrl.markAllAsTouched();this.loading=!0,this.selection.clear();let n=[s.r.USER_DEF_ORGANIZATION,s.r.USER_DEF_PREFERRED_MAIL];n=n.concat(this.storeService.getLoginAttributeNames()),this.usersService.findRichUsersWithAttributes(this.searchCtrl.value,n).subscribe(_=>{this.users=_,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1)}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(h.so),e.Y36(h.WI),e.Y36(p.Ct),e.Y36(p.Fv),e.Y36(a.sK),e.Y36(o.V6),e.Y36(o.d6),e.Y36(P.gz),e.Y36(P.F0))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-add-manager-dialog"]],decls:32,vars:31,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"inline-dialog-items"],[1,"mr-2"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"mr-2","w-100"],["matInput","","autocomplete","false","data-cy","search-manager-input","perunWebAppsAutoFocus","",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent","data-cy","search-manager-button",1,"ml-auto",3,"disabled","click"],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent","data-cy","add-manager-button-dialog",1,"ml-2",3,"disabled","click"],[3,"value"],[1,"mr-auto","ml-auto"],[1,"mt-3"],["alert_type","warn",4,"ngIf"],[3,"tableId","disableRouting","selection","displayedColumns","users",4,"ngIf"],["alert_type","warn"],[3,"tableId","disableRouting","selection","displayedColumns","users"]],template:function(n,_){1&n&&(e.TgZ(0,"div"),e.TgZ(1,"h1",0),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",1),e.TgZ(5,"div",2),e.TgZ(6,"mat-form-field",3),e.TgZ(7,"mat-label"),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"mat-select",4),e.NdJ("valueChange",function(K){return _.selectedRole=K}),e.YNc(11,W,3,4,"mat-option",5),e.qZA(),e.qZA(),e.TgZ(12,"mat-form-field",6),e.TgZ(13,"label"),e.TgZ(14,"input",7),e.NdJ("keyup.enter",function(){return _.onSearchByString()}),e.ALo(15,"translate"),e.qZA(),e.qZA(),e.TgZ(16,"mat-error"),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(19,"button",8),e.NdJ("click",function(){return _.onSearchByString()}),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.TgZ(22,"div",9),e.YNc(23,ee,1,0,"mat-spinner",10),e.qZA(),e.YNc(24,j,3,2,"div",11),e.qZA(),e.TgZ(25,"div",12),e.TgZ(26,"button",13),e.NdJ("click",function(){return _.onCancel()}),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.TgZ(29,"button",14),e.NdJ("click",function(){return _.onSubmit()}),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.qZA(),e.qZA()),2&n&&(e.Tol(_.theme),e.xp6(2),e.Oqu(e.lcZ(3,17,"DIALOGS.ADD_MANAGERS.TITLE")),e.xp6(6),e.Oqu(e.lcZ(9,19,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),e.xp6(2),e.Q6J("value",_.selectedRole),e.xp6(1),e.Q6J("ngForOf",_.availableRoles),e.xp6(3),e.s9C("placeholder",e.lcZ(15,21,"DIALOGS.ADD_MANAGERS.DESCRIPTION")),e.Q6J("formControl",_.searchCtrl),e.xp6(3),e.hij(" ",e.lcZ(18,23,"DIALOGS.ADD_MANAGERS.EMPTY_SEARCH_MESSAGE")," "),e.xp6(2),e.Q6J("disabled",_.loading),e.xp6(1),e.hij(" ",e.lcZ(21,25,"DIALOGS.ADD_MANAGERS.SEARCH")," "),e.xp6(3),e.Q6J("ngIf",_.loading),e.xp6(1),e.Q6J("ngIf",null!==_.users&&!_.loading),e.xp6(3),e.hij(" ",e.lcZ(28,27,"DIALOGS.ADD_MANAGERS.CANCEL")," "),e.xp6(2),e.Q6J("disabled",0===_.selection.selected.length||void 0===_.selectedRole||_.loading),e.xp6(1),e.hij(" ",e.lcZ(31,29,"DIALOGS.ADD_MANAGERS.CREATE")," "))},directives:[h.uh,h.xY,Z.KE,Z.hX,Y.gD,O.sg,I.ey,V.Nt,t.Fj,y.hT,t.JJ,t.oH,Z.TO,J.lW,O.O5,f.$g,L.w,N.C,h.H8],pipes:[a.X$,H],styles:[".inline-dialog-items[_ngcontent-%COMP%]{display:flex;align-items:flex-end}"]}),r})();var C=i(32075);function F(r,v){1&r&&e._UZ(0,"th",15)}function z(r,v){if(1&r&&(e.TgZ(0,"td",16),e._uU(1),e.qZA()),2&r){const n=v.$implicit;e.xp6(1),e.AsE("",n.firstName," ",n.lastName,"")}}function ie(r,v){1&r&&e._UZ(0,"tr",17)}function ne(r,v){1&r&&e._UZ(0,"tr",18)}const re=function(r){return{role:r}};function x(r,v){if(1&r&&(e.TgZ(0,"app-alert",19),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"displayedRole"),e.qZA()),2&r){const n=e.oxw(2);e.xp6(1),e.hij(" ",e.xi3(2,1,"DIALOGS.REMOVE_MANAGERS.WARNING_REMOVE_YOURSELF",e.VKq(6,re,e.lcZ(3,4,n.data.role)))," ")}}function T(r,v){if(1&r&&(e.TgZ(0,"div",6),e.TgZ(1,"p"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",7),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"table",8),e.ynx(8,9),e.YNc(9,F,1,0,"th",10),e.YNc(10,z,2,2,"td",11),e.BQk(),e.YNc(11,ie,1,0,"tr",12),e.YNc(12,ne,1,0,"tr",13),e.qZA(),e.YNc(13,x,4,8,"app-alert",14),e.qZA()),2&r){const n=e.oxw();e.xp6(2),e.hij(" ",e.lcZ(3,6,"DIALOGS.REMOVE_MANAGERS.DESCRIPTION")," "),e.xp6(3),e.hij(" ",e.lcZ(6,8,"DIALOGS.REMOVE_MANAGERS.ASK")," "),e.xp6(2),e.Q6J("dataSource",n.dataSource),e.xp6(4),e.Q6J("matHeaderRowDef",n.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",n.displayedColumns),e.xp6(1),e.Q6J("ngIf",n.removeSelf)}}function d(r,v){1&r&&e._UZ(0,"mat-spinner",20)}let l=(()=>{class r{constructor(n,_,D,K,ae,le,ue){this.dialogRef=n,this.data=_,this.notificator=D,this.translate=K,this.authzService=ae,this.store=le,this.authService=ue,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new C.by(this.data.managers),this.theme=this.data.theme,this.removeSelf=this.data.managers.map(n=>n.id).includes(this.store.getPerunPrincipal().userId)&&!this.authService.isPerunAdmin()}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.authzService.unsetRoleWithUserComplementaryObject({role:this.data.role,users:this.data.managers.map(n=>n.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_MANAGERS.SUCCESS").subscribe(n=>{this.notificator.showSuccess(n),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(h.so),e.Y36(h.WI),e.Y36(o.V6),e.Y36(a.sK),e.Y36(p.Ct),e.Y36(o.d6),e.Y36(o.x4))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-remove-manager-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","remove-manager-button-dialog",1,"ml-2",3,"disabled","click"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["alert_type","warn"],[1,"mr-auto","ml-auto"]],template:function(n,_){1&n&&(e.TgZ(0,"div"),e.TgZ(1,"h1",0),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.YNc(4,T,14,10,"div",1),e.YNc(5,d,1,0,"mat-spinner",2),e.TgZ(6,"div",3),e.TgZ(7,"button",4),e.NdJ("click",function(){return _.onCancel()}),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"button",5),e.NdJ("click",function(){return _.onSubmit()}),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.qZA(),e.qZA()),2&n&&(e.Tol(_.theme),e.xp6(2),e.Oqu(e.lcZ(3,9,"DIALOGS.REMOVE_MANAGERS.TITLE")),e.xp6(2),e.Q6J("ngIf",!_.loading),e.xp6(1),e.Q6J("ngIf",_.loading),e.xp6(3),e.hij(" ",e.lcZ(9,11,"DIALOGS.REMOVE_MANAGERS.CANCEL")," "),e.xp6(2),e.Q6J("disabled",_.loading),e.xp6(1),e.hij(" ",e.lcZ(12,13,"DIALOGS.REMOVE_MANAGERS.DELETE")," "))},directives:[h.uh,O.O5,h.xY,C.BZ,C.w1,C.fO,C.ge,C.Dz,C.ev,C.as,C.XQ,C.nj,C.Gk,L.w,f.$g,h.H8,J.lW],pipes:[a.X$,H],styles:[""]}),r})();function g(r,v){1&r&&e._UZ(0,"mat-spinner",6)}function u(r,v){1&r&&e._UZ(0,"th",15)}function A(r,v){if(1&r&&(e.TgZ(0,"td",16),e._uU(1),e.qZA()),2&r){const n=v.$implicit;e.xp6(1),e.Oqu(n.name)}}function G(r,v){1&r&&e._UZ(0,"tr",17)}function q(r,v){1&r&&e._UZ(0,"tr",18)}function X(r,v){if(1&r&&(e.TgZ(0,"div",7),e.TgZ(1,"p"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"table",9),e.ynx(8,10),e.YNc(9,u,1,0,"th",11),e.YNc(10,A,2,1,"td",12),e.BQk(),e.YNc(11,G,1,0,"tr",13),e.YNc(12,q,1,0,"tr",14),e.qZA(),e.qZA()),2&r){const n=e.oxw();e.xp6(2),e.hij(" ",e.lcZ(3,5,"DIALOGS.REMOVE_GROUPS.DESCRIPTION")," "),e.xp6(3),e.hij(" ",e.lcZ(6,7,"DIALOGS.REMOVE_GROUPS.ASK")," "),e.xp6(2),e.Q6J("dataSource",n.dataSource),e.xp6(4),e.Q6J("matHeaderRowDef",n.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",n.displayedColumns)}}let ce=(()=>{class r{constructor(n,_,D,K,ae){this.dialogRef=n,this.data=_,this.notificator=D,this.translate=K,this.authzService=ae,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new C.by(this.data.groups),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.authzService.unsetRoleWithGroupComplementaryObject({role:this.data.role,authorizedGroups:this.data.groups.map(n=>n.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_GROUPS.SUCCESS").subscribe(n=>{this.notificator.showSuccess(n),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(h.so),e.Y36(h.WI),e.Y36(o.V6),e.Y36(a.sK),e.Y36(p.Ct))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-remove-group-manager-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(n,_){1&n&&(e.TgZ(0,"div"),e.TgZ(1,"h1",0),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.YNc(4,g,1,0,"mat-spinner",1),e.YNc(5,X,13,9,"div",2),e.TgZ(6,"div",3),e.TgZ(7,"button",4),e.NdJ("click",function(){return _.onCancel()}),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"button",5),e.NdJ("click",function(){return _.onSubmit()}),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.qZA(),e.qZA()),2&n&&(e.Tol(_.theme),e.xp6(2),e.Oqu(e.lcZ(3,9,"DIALOGS.REMOVE_GROUPS.TITLE")),e.xp6(2),e.Q6J("ngIf",_.loading),e.xp6(1),e.Q6J("ngIf",!_.loading),e.xp6(3),e.hij(" ",e.lcZ(9,11,"DIALOGS.REMOVE_GROUPS.CANCEL")," "),e.xp6(2),e.Q6J("disabled",_.loading),e.xp6(1),e.hij(" ",e.lcZ(12,13,"DIALOGS.REMOVE_GROUPS.DELETE")," "))},directives:[h.uh,O.O5,f.$g,h.xY,C.BZ,C.w1,C.fO,C.ge,C.Dz,C.ev,C.as,C.XQ,C.nj,C.Gk,h.H8,J.lW],pipes:[a.X$],styles:[""]}),r})();var R=i(1059),w=i(24850),c=i(91079),E=i(64901),M=i(24179);function k(r,v){if(1&r&&(e.TgZ(0,"mat-option",17),e._uU(1),e.ALo(2,"displayedRole"),e.qZA()),2&r){const n=v.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(e.lcZ(2,2,n))}}function B(r,v){if(1&r&&(e.TgZ(0,"mat-option",17),e._uU(1),e.qZA()),2&r){const n=v.$implicit;e.Q6J("value",n),e.xp6(1),e.hij(" ",n.name," ")}}function te(r,v){if(1&r){const n=e.EpF();e.TgZ(0,"perun-web-apps-debounce-filter",18),e.NdJ("filter",function(D){return e.CHM(n),e.oxw().applyFilter(D)}),e.ALo(1,"translate"),e.qZA()}2&r&&e.s9C("placeholder",e.lcZ(1,1,"DIALOGS.ADD_GROUPS.FILTER_GROUPS"))}function pe(r,v){1&r&&e._UZ(0,"mat-spinner",19)}const me=function(){return["select","id","name","description"]};function Ae(r,v){if(1&r&&(e.TgZ(0,"div",20),e._UZ(1,"perun-web-apps-groups-list",21),e.qZA()),2&r){const n=e.oxw();e.xp6(1),e.Q6J("tableId",n.tableId)("disableRouting",!0)("displayedColumns",e.DdM(7,me))("selection",n.selection)("filter",n.filterValue)("groups",n.groups)("disableMembers",!1)}}let Re=(()=>{class r{constructor(n,_,D,K,ae,le,ue,he,fe){this.dialogRef=n,this.data=_,this.authzService=D,this.voService=K,this.groupService=ae,this.translate=le,this.notificator=ue,this.route=he,this.router=fe,this.searchString="",this.selection=new b.Ov(!0,[]),this.groups=[],this.vos=[],this.filterValue="",this.myControl=new t.NI,this.firstSearchDone=!1,this.tableId=S.kZ,le.get("DIALOGS.ADD_GROUPS.TITLE").subscribe(_e=>this.title=_e),le.get("DIALOGS.ADD_GROUPS.SUCCESS").subscribe(_e=>this.successMessage=_e)}displayFn(n){return n?n.name:null}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,this.authzService.setRoleWithGroupComplementaryObject({role:this.selectedRole,authorizedGroups:this.selection.selected.map(n=>n.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}ngOnInit(){this.loading=!0,this.availableRoles=this.data.availableRoles,this.selectedRole=this.data.selectedRole,this.theme=this.data.theme,this.voService.getMyVos().subscribe(n=>{this.filteredOptions=this.myControl.valueChanges.pipe((0,R.O)(""),(0,w.U)(_=>this._filter(_))),this.vos=n,this.loading=!1},()=>this.loading=!1)}_filter(n){const _="string"==typeof n?n.toLowerCase():n.name.toLowerCase;return this.vos.filter(D=>D.name.toLowerCase().includes(_))}showVoGroups(n){this.loading=!0,this.groupService.getAllGroups(n.option.value.id).subscribe(_=>{this.groups=_,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1)}applyFilter(n){this.filterValue=n}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(h.so),e.Y36(h.WI),e.Y36(p.Ct),e.Y36(p.YF),e.Y36(p.ff),e.Y36(a.sK),e.Y36(o.V6),e.Y36(P.gz),e.Y36(P.F0))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-add-group-manager-dialog"]],decls:33,vars:33,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"inline-dialog-items"],[1,"mr-2"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"mr-2","w-75"],["type","text","aria-label","Assignee","matInput","",3,"placeholder","formControl","matAutocomplete"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],[3,"placeholder","filter",4,"ngIf"],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"value"],[3,"placeholder","filter"],[1,"mr-auto","ml-auto"],[1,"mt-3"],[3,"tableId","disableRouting","displayedColumns","selection","filter","groups","disableMembers"]],template:function(n,_){if(1&n&&(e.TgZ(0,"div"),e.TgZ(1,"h1",0),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",1),e.TgZ(5,"div",2),e.TgZ(6,"mat-form-field",3),e.TgZ(7,"mat-label"),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"mat-select",4),e.NdJ("valueChange",function(K){return _.selectedRole=K}),e.YNc(11,k,3,4,"mat-option",5),e.qZA(),e.qZA(),e.TgZ(12,"mat-form-field",6),e.TgZ(13,"mat-label"),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._UZ(16,"input",7),e.ALo(17,"translate"),e.TgZ(18,"mat-autocomplete",8,9),e.NdJ("optionSelected",function(K){return _.showVoGroups(K)}),e.YNc(20,B,2,2,"mat-option",5),e.ALo(21,"async"),e.qZA(),e.qZA(),e.qZA(),e.YNc(22,te,2,3,"perun-web-apps-debounce-filter",10),e.TgZ(23,"div",11),e.YNc(24,pe,1,0,"mat-spinner",12),e.qZA(),e.YNc(25,Ae,2,8,"div",13),e.qZA(),e.TgZ(26,"div",14),e.TgZ(27,"button",15),e.NdJ("click",function(){return _.onCancel()}),e._uU(28),e.ALo(29,"translate"),e.qZA(),e.TgZ(30,"button",16),e.NdJ("click",function(){return _.onSubmit()}),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.qZA(),e.qZA()),2&n){const D=e.MAs(19);e.Tol(_.theme),e.xp6(2),e.Oqu(e.lcZ(3,19,"DIALOGS.ADD_GROUPS.TITLE")),e.xp6(6),e.Oqu(e.lcZ(9,21,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),e.xp6(2),e.Q6J("value",_.selectedRole),e.xp6(1),e.Q6J("ngForOf",_.availableRoles),e.xp6(3),e.Oqu(e.lcZ(15,23,"DIALOGS.ADD_GROUPS.SELECT_VO")),e.xp6(2),e.s9C("placeholder",e.lcZ(17,25,"DIALOGS.ADD_GROUPS.SELECT_VO")),e.Q6J("formControl",_.myControl)("matAutocomplete",D),e.xp6(2),e.Q6J("displayWith",_.displayFn),e.xp6(2),e.Q6J("ngForOf",e.lcZ(21,27,_.filteredOptions)),e.xp6(2),e.Q6J("ngIf",null!==_.groups&&_.groups.length>0&&!_.loading),e.xp6(2),e.Q6J("ngIf",_.loading),e.xp6(1),e.Q6J("ngIf",null!==_.groups&&!_.loading),e.xp6(3),e.hij(" ",e.lcZ(29,29,"DIALOGS.ADD_MANAGERS.CANCEL")," "),e.xp6(2),e.Q6J("disabled",0===_.selection.selected.length||_.loading),e.xp6(1),e.hij(" ",e.lcZ(32,31,"DIALOGS.ADD_MANAGERS.CREATE")," ")}},directives:[h.uh,h.xY,Z.KE,Z.hX,Y.gD,O.sg,I.ey,V.Nt,t.Fj,c.ZL,t.JJ,t.oH,c.XC,O.O5,E.P,f.$g,M.W,h.H8,J.lW],pipes:[a.X$,H,O.Ov],styles:[""]}),r})();var ge=i(9244),Te=i(15003),de=i(53251),Ee=i(96214);function Ce(r,v){1&r&&(e._uU(0),e.ALo(1,"translate")),2&r&&e.hij(" ",e.lcZ(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.USER")," ")}function ve(r,v){if(1&r){const n=e.EpF();e.TgZ(0,"button",13),e.NdJ("click",function(){return e.CHM(n),e.oxw(2).addManager()}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function Se(r,v){if(1&r){const n=e.EpF();e.TgZ(0,"button",14),e.NdJ("click",function(){return e.CHM(n),e.oxw(2).removeManager()}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&r){const n=e.oxw(2);e.Q6J("disabled",0===n.selectionUsers.selected.length),e.xp6(1),e.hij(" ",e.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function be(r,v){if(1&r&&(e.TgZ(0,"mat-option",15),e._uU(1),e.ALo(2,"displayedRole"),e.qZA()),2&r){const n=v.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(e.lcZ(2,2,n))}}function Oe(r,v){1&r&&e._UZ(0,"mat-spinner",16)}function Ie(r,v){if(1&r&&e._UZ(0,"app-users-list",17),2&r){const n=e.oxw(2);e.Q6J("tableId",n.tableId)("users",n.managers)("disableRouting",!n.routeAuth||n.disableRouting)("displayedColumns",n.displayedUserColumns)("selection",n.selectionUsers)("disableSelf",n.disableSelf)}}function De(r,v){if(1&r){const n=e.EpF();e.TgZ(0,"perun-web-apps-refresh-button",5),e.NdJ("refresh",function(){return e.CHM(n),e.oxw().refreshUsers()}),e.qZA(),e.YNc(1,ve,3,3,"button",6),e.YNc(2,Se,3,4,"button",7),e.TgZ(3,"mat-form-field",8),e.TgZ(4,"mat-label"),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"mat-select",9),e.NdJ("valueChange",function(D){return e.CHM(n),e.oxw().selectedRole=D})("selectionChange",function(){return e.CHM(n),e.oxw().refreshUsers()}),e.YNc(8,be,3,4,"mat-option",10),e.qZA(),e.qZA(),e.YNc(9,Oe,1,0,"mat-spinner",11),e.YNc(10,Ie,1,6,"app-users-list",12)}if(2&r){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.manageAuth&&!n.configMode),e.xp6(1),e.Q6J("ngIf",n.manageAuth&&!n.configMode),e.xp6(3),e.Oqu(e.lcZ(6,7,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),e.xp6(2),e.Q6J("value",n.selectedRole),e.xp6(1),e.Q6J("ngForOf",n.availableRoles),e.xp6(1),e.Q6J("ngIf",n.loading),e.xp6(1),e.Q6J("ngIf",!n.loading&&n.managers)}}function Ze(r,v){1&r&&(e._uU(0),e.ALo(1,"translate")),2&r&&e.hij(" ",e.lcZ(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.GROUP")," ")}function Me(r,v){if(1&r){const n=e.EpF();e.TgZ(0,"button",21),e.NdJ("click",function(){return e.CHM(n),e.oxw(2).addGroup()}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function xe(r,v){if(1&r){const n=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){return e.CHM(n),e.oxw(2).removeGroup()}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&r){const n=e.oxw(2);e.Q6J("disabled",0===n.selectionGroups.selected.length),e.xp6(1),e.hij(" ",e.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function Ue(r,v){if(1&r&&(e.TgZ(0,"mat-option",15),e._uU(1),e.ALo(2,"displayedRole"),e.qZA()),2&r){const n=v.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(e.lcZ(2,2,n))}}function ye(r,v){1&r&&e._UZ(0,"mat-spinner",16)}function Le(r,v){if(1&r&&e._UZ(0,"perun-web-apps-groups-list",23),2&r){const n=e.oxw(2);e.Q6J("tableId",n.tableId)("disableRouting",n.disableRouting)("displayedColumns",n.displayedGroupColumns)("groups",n.groups)("selection",n.selectionGroups)("disableMembers",!1)}}function Ge(r,v){if(1&r){const n=e.EpF();e.TgZ(0,"perun-web-apps-refresh-button",5),e.NdJ("refresh",function(){return e.CHM(n),e.oxw().refreshGroups()}),e.qZA(),e.YNc(1,Me,3,3,"button",18),e.YNc(2,xe,3,4,"button",19),e.TgZ(3,"mat-form-field",8),e.TgZ(4,"mat-label"),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"mat-select",9),e.NdJ("valueChange",function(D){return e.CHM(n),e.oxw().selectedRole=D})("selectionChange",function(){return e.CHM(n),e.oxw().refreshGroups()}),e.YNc(8,Ue,3,4,"mat-option",10),e.qZA(),e.qZA(),e.YNc(9,ye,1,0,"mat-spinner",11),e.YNc(10,Le,1,6,"perun-web-apps-groups-list",20)}if(2&r){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.manageAuth&&!n.configMode),e.xp6(1),e.Q6J("ngIf",n.manageAuth&&!n.configMode),e.xp6(3),e.Oqu(e.lcZ(6,7,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),e.xp6(2),e.Q6J("value",n.selectedRole),e.xp6(1),e.Q6J("ngForOf",n.availableRoles),e.xp6(1),e.Q6J("ngIf",n.loading),e.xp6(1),e.Q6J("ngIf",!n.loading&&n.groups)}}function Pe(r,v){1&r&&(e.TgZ(0,"app-alert",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.NO_AVAILABLE_ROLES"),"\n"))}let Ne=(()=>{class r{constructor(n,_,D,K,ae,le,ue){this.dialog=n,this.authzService=_,this.storeService=D,this.guiAuthResolver=K,this.router=ae,this.reloadEntityDetail=le,this.route=ue,this.groups=null,this.managers=null,this.configMode=!1,this.disableRouting=!1,this.disableSelf=!1,this.displayedUserColumns=["select","id","name","email","logins","organization"],this.displayedGroupColumns=["select","id","vo","name","description"],this.selectionUsers=new b.Ov(!0,[]),this.selectionGroups=new b.Ov(!0,[]),this.selectedMode="",this.loading=!1,this.tableId=S.HC,this.availableRolesPrivileges=new Map}ngOnInit(){this.loading=!0,this.routeAuth=this.guiAuthResolver.isPerunAdminOrObserver(),this.guiAuthResolver.getRolesAuthorization(this.availableRoles,this.complementaryObject,this.availableRolesPrivileges),this.availableRoles=this.availableRoles.filter(n=>this.availableRolesPrivileges.get(n).readAuth),0!==this.availableRoles.length&&(this.selectedRole=this.availableRoles[0]),this.refreshUsers()}changeRolePrivileges(){this.guiAuthResolver.getRolesAuthorization(this.availableRoles,this.complementaryObject,this.availableRolesPrivileges),this.availableRoles=this.availableRoles.filter(_=>this.availableRolesPrivileges.get(_).readAuth),this.manageAuth=this.availableRolesPrivileges.get(this.selectedRole).manageAuth,this.displayedUserColumns=this.manageAuth?this.displayedUserColumns:this.displayedUserColumns.filter(_=>"select"!==_),this.displayedGroupColumns=this.manageAuth?this.displayedGroupColumns:this.displayedGroupColumns.filter(_=>"select"!==_),this.roleModes=this.availableRolesPrivileges.get(this.selectedRole).modes;let n=!1;for(const _ of this.roleModes)if(this.selectedMode===_.toLowerCase()){n=!0;break}n||(this.selectedMode=this.roleModes[0].toLowerCase())}tabChanged(n){this.loading=!0,0===n.index?(this.selectedMode="user",this.refreshUsers()):(this.selectedMode="group",this.refreshGroups())}refreshUsers(){this.loading=!0,this.changeRolePrivileges();let n=[s.r.USER_DEF_ORGANIZATION,s.r.USER_DEF_PREFERRED_MAIL];n=n.concat(this.storeService.getLoginAttributeNames()),this.authzService.getAuthzRichAdmins(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType,n,!1,!0).subscribe(_=>{this.managers=_,this.selectionUsers.clear(),this.loading=!1},()=>{this.loading=!1})}refreshGroups(){this.loading=!0,this.changeRolePrivileges(),this.authzService.getAuthzAdminGroups(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType).subscribe(n=>{this.groups=n,this.selectionGroups.clear(),this.loading=!1},()=>{this.loading=!1})}addManager(){const n=(0,ge.kZ)();n.width="1000px",n.data={complementaryObject:this.complementaryObject,theme:this.theme,availableRoles:this.availableRoles,selectedRole:this.selectedRole},this.dialog.open(m,n).afterClosed().subscribe(D=>{D&&this.refreshUsers()})}removeManager(){const n=(0,ge.kZ)();n.width="450px",n.data={managers:this.selectionUsers.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(l,n).afterClosed().subscribe(D=>{D&&(this.guiAuthResolver.isManagerPagePrivileged(this.complementaryObject)?this.reloadEntityDetail.reloadEntityDetail():this.redirectToAuthRoute())})}removeGroup(){const n=(0,ge.kZ)();n.width="450px",n.data={groups:this.selectionGroups.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(ce,n).afterClosed().subscribe(D=>{D&&(this.guiAuthResolver.isManagerPagePrivileged(this.complementaryObject)?(this.reloadEntityDetail.reloadEntityDetail(),this.refreshGroups()):this.redirectToAuthRoute())})}addGroup(){const n=(0,ge.kZ)();n.width="1000px",n.data={complementaryObject:this.complementaryObject,availableRoles:this.availableRoles,theme:this.theme,selectedRole:this.selectedRole},this.dialog.open(Re,n).afterClosed().subscribe(D=>{D&&this.refreshGroups()})}redirectToAuthRoute(){if("Group"===this.complementaryObjectType&&(this.guiAuthResolver.isAuthorized("getGroupById_int_policy",[this.complementaryObject])||this.guiAuthResolver.isAuthorized("getVoById_int_policy",[this.complementaryObject])))this.guiAuthResolver.isAuthorized("getGroupById_int_policy",[this.complementaryObject])?this.router.navigate(["/organizations",this.complementaryObject.voId,"groups",this.complementaryObject.id],{relativeTo:this.route,queryParamsHandling:"merge"}):this.guiAuthResolver.isAuthorized("getVoById_int_policy",[this.complementaryObject])&&this.router.navigate(["/organizations",this.complementaryObject.voId],{queryParamsHandling:"merge"});else if("Facility"===this.complementaryObjectType&&this.guiAuthResolver.isAuthorized("getFacilityById_int_policy",[this.complementaryObject]))this.router.navigate(["/facilities",this.complementaryObject.id],{relativeTo:this.route,queryParamsHandling:"merge"});else if("Vo"===this.complementaryObjectType&&this.guiAuthResolver.isAuthorized("getVoById_int_policy",[this.complementaryObject]))this.router.navigate(["/organizations",this.complementaryObject.id],{relativeTo:this.route,queryParamsHandling:"merge"});else{if("Resource"!==this.complementaryObjectType||!this.guiAuthResolver.isAuthorized("getRichResourceById_int_policy",[this.complementaryObject]))return void this.router.navigate(["/home"],{queryParamsHandling:"merge"});this.router.navigate(["../../"],{relativeTo:this.route,queryParamsHandling:"merge"})}this.reloadEntityDetail.reloadEntityDetail()}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(h.uw),e.Y36(p.Ct),e.Y36(o.d6),e.Y36(o.x4),e.Y36(P.F0),e.Y36(Te.G),e.Y36(P.gz))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-managers-page"]],hostVars:2,hostBindings:function(n,_){2&n&&e.ekj("router-component",_.true)},inputs:{complementaryObject:"complementaryObject",availableRoles:"availableRoles",complementaryObjectType:"complementaryObjectType",theme:"theme",configMode:"configMode",disableRouting:"disableRouting",disableSelf:"disableSelf",displayedUserColumns:"displayedUserColumns",displayedGroupColumns:"displayedGroupColumns"},decls:11,vars:4,consts:[[1,"page-subtitle"],[3,"selectedTabChange"],["matTabLabel",""],["matTabContent",""],["alert_type","warn",4,"ngIf"],[1,"mt-2",3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 mt-2 action-button","data-cy","add-manager-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2 mt-2","data-cy","remove-manager-button",3,"disabled","click",4,"ngIf"],[1,"mr-2","mt-2"],[3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","users","disableRouting","displayedColumns","selection","disableSelf",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","add-manager-button",1,"mr-2","mt-2","action-button",3,"click"],["mat-flat-button","","color","warn","data-cy","remove-manager-button",1,"mr-2","mt-2",3,"disabled","click"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"tableId","users","disableRouting","displayedColumns","selection","disableSelf"],["mat-flat-button","","color","accent","class","mr-2 mt-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2 mt-2",3,"disabled","click",4,"ngIf"],[3,"tableId","disableRouting","displayedColumns","groups","selection","disableMembers",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","mt-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2","mt-2",3,"disabled","click"],[3,"tableId","disableRouting","displayedColumns","groups","selection","disableMembers"],["alert_type","warn"]],template:function(n,_){1&n&&(e.TgZ(0,"h1",0),e._uU(1),e.ALo(2,"translate"),e.qZA(),e.TgZ(3,"mat-tab-group",1),e.NdJ("selectedTabChange",function(K){return _.tabChanged(K)}),e.TgZ(4,"mat-tab"),e.YNc(5,Ce,2,3,"ng-template",2),e.YNc(6,De,11,9,"ng-template",3),e.qZA(),e.TgZ(7,"mat-tab"),e.YNc(8,Ze,2,3,"ng-template",2),e.YNc(9,Ge,11,9,"ng-template",3),e.qZA(),e.qZA(),e.YNc(10,Pe,3,3,"app-alert",4)),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.TITLE"),"\n"),e.xp6(9),e.Q6J("ngIf",0===_.availableRoles.length))},directives:[de.SP,de.uX,de.uD,de.Vc,Ee.t,O.O5,J.lW,Z.KE,Z.hX,Y.gD,O.sg,I.ey,f.$g,N.C,M.W,L.w],pipes:[a.X$,H],styles:[""]}),r})()},17672:($,Q,i)=>{i.d(Q,{o:()=>x});var b=i(84847),h=i(32075),o=i(20449),p=i(36908),S=i(112),s=i(9244),t=i(5e3),e=i(51062),a=i(18750),P=i(77446),Z=i(69808),Y=i(67322),O=i(98833),I=i(93075),V=i(47423),y=i(29772),J=i(25245),f=i(98380);function L(T,d){if(1&T){const l=t.EpF();t.TgZ(0,"th",16),t.TgZ(1,"mat-checkbox",17),t.NdJ("change",function(u){t.CHM(l);const A=t.oxw();return u?A.masterToggle():null}),t.qZA(),t.qZA()}if(2&T){const l=t.oxw();t.xp6(1),t.Q6J("aria-label",l.checkboxLabel())("checked",l.selection.hasValue()&&l.isAllSelected())("indeterminate",l.selection.hasValue()&&!l.isAllSelected())}}function N(T,d){if(1&T){const l=t.EpF();t.TgZ(0,"td",18),t.TgZ(1,"mat-checkbox",19),t.NdJ("change",function(u){const G=t.CHM(l).$implicit,q=t.oxw();return u?q.selection.toggle(G):null})("click",function(u){return u.stopPropagation()}),t.qZA(),t.qZA()}if(2&T){const l=d.$implicit,g=t.oxw();t.xp6(1),t.Q6J("aria-label",g.checkboxLabel(l))("checked",g.selection.isSelected(l))}}function H(T,d){1&T&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&T&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.TAG_ID")," "))}function W(T,d){if(1&T&&(t.TgZ(0,"td",21),t._uU(1),t.qZA()),2&T){const l=d.$implicit;t.xp6(1),t.Oqu(l.id)}}function ee(T,d){1&T&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&T&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.TAG_NAME")," "))}function se(T,d){if(1&T&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&T){const l=t.oxw().$implicit;t.xp6(1),t.hij(" ",l.tagName," ")}}function oe(T,d){if(1&T){const l=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"mat-form-field"),t.TgZ(2,"input",25),t.NdJ("ngModelChange",function(u){return t.CHM(l),t.oxw().$implicit.tagName=u}),t.qZA(),t.qZA(),t.qZA()}if(2&T){const l=t.oxw().$implicit;t.xp6(2),t.Q6J("ngModel",l.tagName)}}function U(T,d){if(1&T&&(t.TgZ(0,"td",23),t.YNc(1,se,2,1,"div",24),t.YNc(2,oe,3,1,"div",24),t.qZA()),2&T){const l=d.$implicit,g=t.oxw();t.xp6(1),t.Q6J("ngIf",!g.isChanging.isSelected(l)),t.xp6(1),t.Q6J("ngIf",g.isChanging.isSelected(l))}}function j(T,d){1&T&&t._UZ(0,"th",22)}function m(T,d){if(1&T){const l=t.EpF();t.TgZ(0,"button",28),t.NdJ("click",function(){t.CHM(l);const u=t.oxw().$implicit;return t.oxw().edit(u)}),t.ALo(1,"translate"),t.TgZ(2,"mat-icon"),t._uU(3,"edit"),t.qZA(),t.qZA()}2&T&&t.s9C("matTooltip",t.lcZ(1,1,"VO_DETAIL.RESOURCES.TAGS.EDIT_BUTTON"))}function C(T,d){if(1&T){const l=t.EpF();t.TgZ(0,"button",28),t.NdJ("click",function(){t.CHM(l);const u=t.oxw().$implicit;return t.oxw().save(u)}),t.ALo(1,"translate"),t.TgZ(2,"mat-icon"),t._uU(3,"save"),t.qZA(),t.qZA()}2&T&&t.s9C("matTooltip",t.lcZ(1,1,"VO_DETAIL.RESOURCES.TAGS.SAVE_BUTTON"))}function F(T,d){if(1&T&&(t.TgZ(0,"td",23),t.TgZ(1,"div",26),t.YNc(2,m,4,3,"button",27),t.YNc(3,C,4,3,"button",27),t.qZA(),t.qZA()),2&T){const l=d.$implicit,g=t.oxw();t.xp6(2),t.Q6J("ngIf",!g.isChanging.isSelected(l)),t.xp6(1),t.Q6J("ngIf",g.isChanging.isSelected(l))}}function z(T,d){1&T&&t._UZ(0,"tr",29)}function ie(T,d){1&T&&t._UZ(0,"tr",30)}function ne(T,d){if(1&T&&(t.TgZ(0,"app-alert",31),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"translate"),t.qZA()),2&T){const l=t.oxw();t.xp6(1),t.hij(" ","vo"===l.entity?t.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.NO_TAGS"):t.lcZ(3,3,"RESOURCE_DETAIL.TAGS.NO_TAGS"),"\n")}}function re(T,d){1&T&&(t.TgZ(0,"app-alert",31),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&T&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let x=(()=>{class T{constructor(l,g,u,A,G){this.resourceManager=l,this.notificator=g,this.translator=u,this.authResolver=A,this.tableCheckbox=G,this.resourceTags=[],this.selection=new o.Ov(!0,[]),this.displayedColumns=["select","id","name","edit"],this.isChanging=new o.Ov(!0,[]),this.pageSizeOptions=s.f7}set matSort(l){this.sort=l,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(l=>"id"!==l)),this.dataSource=new h.by(this.resourceTags),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(l,g){switch(g){case"id":return l.id.toString();case"name":return l.tagName;default:return""}}exportData(l){(0,s.O6)((0,s.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),l)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(l,g)=>(0,s.Sd)(l,g,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(l,g)=>(0,s.pR)(l,g,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(l){return l?`${this.selection.isSelected(l)?"deselect":"select"} row ${l.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}save(l){this.resourceManager.updateResourceTag({resourceTag:l}).subscribe(()=>{this.translator.get("SHARED.COMPONENTS.RESOURCES_TAGS_LIST.EDIT_SUCCESS").subscribe(g=>{this.notificator.showSuccess(g)}),this.isChanging.deselect(l)})}edit(l){this.isChanging.select(l)}}return T.\u0275fac=function(l){return new(l||T)(t.Y36(S.xk),t.Y36(p.V6),t.Y36(e.sK),t.Y36(p.x4),t.Y36(p.UA))},T.\u0275cmp=t.Xpm({type:T,selectors:[["app-resources-tags-list"]],viewQuery:function(l,g){if(1&l&&(t.Gf(b.YE,7),t.Gf(s.l9,7)),2&l){let u;t.iGM(u=t.CRH())&&(g.matSort=u.first),t.iGM(u=t.CRH())&&(g.child=u.first)}},inputs:{resourceTags:"resourceTags",filterValue:"filterValue",selection:"selection",tableId:"tableId",displayedColumns:"displayedColumns",entity:"entity"},features:[t.TTD],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","edit"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf"],["matInput","",3,"ngModel","ngModelChange"],[1,"d-flex","justify-content-end"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(l,g){1&l&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(A){return g.exportData(A)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,L,2,3,"th",4),t.YNc(5,N,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,H,3,3,"th",7),t.YNc(8,W,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,ee,3,3,"th",10),t.YNc(11,U,3,2,"td",11),t.BQk(),t.ynx(12,12),t.YNc(13,j,1,0,"th",10),t.YNc(14,F,4,2,"td",11),t.BQk(),t.YNc(15,z,1,0,"tr",13),t.YNc(16,ie,1,0,"tr",14),t.qZA(),t.qZA(),t.qZA(),t.YNc(17,ne,4,5,"app-alert",15),t.YNc(18,re,3,3,"app-alert",15)),2&l&&(t.Q6J("hidden",0===g.resourceTags.length||0===g.dataSource.filteredData.length),t.xp6(1),t.Q6J("tableId",g.tableId)("dataLength",g.dataSource.filteredData.length)("pageSizeOptions",g.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",g.dataSource),t.xp6(13),t.Q6J("matHeaderRowDef",g.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",g.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===g.resourceTags.length),t.xp6(1),t.Q6J("ngIf",0===g.dataSource.filteredData.length&&0!==g.resourceTags.length))},directives:[a.l,h.BZ,b.YE,h.w1,h.fO,h.ge,P.oG,h.Dz,h.ev,b.nU,Z.O5,Y.KE,O.Nt,I.Fj,I.JJ,I.On,V.lW,y.gM,J.Hw,h.as,h.XQ,h.nj,h.Gk,f.w],pipes:[e.X$],styles:[""]}),T})()},90439:($,Q,i)=>{i.d(Q,{F:()=>p});var b=i(5e3),h=i(42377),o=i(51062);let p=(()=>{class S{constructor(){this.servicePackages=[],this.selectedPackage=null,this.multiple=!1,this.disableAutoSelect=!1,this.theme="",this.packageSelected=new b.vpe,this.nameFunction=t=>t.name,this.shortNameFunction=t=>t.description,this.searchFunction=t=>t.name+t.description}}return S.\u0275fac=function(t){return new(t||S)},S.\u0275cmp=b.Xpm({type:S,selectors:[["perun-web-apps-service-package-search-select"]],inputs:{servicePackages:"servicePackages",selectedPackage:"selectedPackage",multiple:"multiple",disableAutoSelect:"disableAutoSelect",theme:"theme"},outputs:{packageSelected:"packageSelected"},decls:4,vars:17,consts:[[3,"entities","entity","multiple","disableAutoSelect","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","theme","entitySelected"]],template:function(t,e){1&t&&(b.TgZ(0,"perun-web-apps-entity-search-select",0),b.NdJ("entitySelected",function(P){return e.packageSelected.emit(P)}),b.ALo(1,"translate"),b.ALo(2,"translate"),b.ALo(3,"translate"),b.qZA()),2&t&&b.Q6J("entities",e.servicePackages)("entity",e.selectedPackage)("multiple",e.multiple)("disableAutoSelect",e.disableAutoSelect)("searchFunction",e.searchFunction)("mainTextFunction",e.nameFunction)("secondaryTextFunction",e.shortNameFunction)("selectPlaceholder",b.lcZ(1,11,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_PACKAGE_SEARCH_SELECT.SELECT_PACKAGE"))("findPlaceholder",b.lcZ(2,13,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_PACKAGE_SEARCH_SELECT.FIND_PACKAGE"))("noEntriesText",b.lcZ(3,15,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_PACKAGE_SEARCH_SELECT.NO_PACKAGE_FOUND"))("theme",e.theme)},directives:[h.i],pipes:[o.X$],styles:[""]}),S})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/243.6b69d0ec988a45bf.js b/dist/apps/admin-gui/243.6b69d0ec988a45bf.js deleted file mode 100644 index b2661f63a..000000000 --- a/dist/apps/admin-gui/243.6b69d0ec988a45bf.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[243],{15003:($,Q,i)=>{i.d(Q,{G:()=>h});var b=i(5e3);let h=(()=>{class o{constructor(){this.entityDetailChange=new b.vpe}reloadEntityDetail(){this.entityDetailChange.emit()}}return o.\u0275fac=function(S){return new(S||o)},o.\u0275prov=b.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})()},76023:($,Q,i)=>{i.d(Q,{y:()=>V});var b=i(9315),h=i(10036),o=i(36908),p=i(5e3),S=i(30325),s=i(96214),t=i(64901),e=i(69808),a=i(20773),P=i(38383),Z=i(51062);function Y(y,J){1&y&&p._UZ(0,"mat-spinner",5)}const O=function(){return["id","fullName"]};function I(y,J){if(1&y){const f=p.EpF();p.TgZ(0,"perun-web-apps-members-list",6),p.NdJ("updateTable",function(){return p.CHM(f),p.oxw().refreshTable()}),p.qZA()}if(2&y){const f=p.oxw();p.Q6J("tableId",f.tableId)("disableRouting",!f.routeAuth)("filter",f.filterValue)("displayedColumns",p.DdM(5,O))("members",f.members)}}let V=(()=>{class y{constructor(f,L,N,H){this.route=f,this.resourceService=L,this.authResolver=N,this.entityStorageService=H,this.loading=!1,this.filterValue="",this.tableId=h.iQ}ngOnInit(){this.loading=!0,this.resource=this.entityStorageService.getEntity(),this.refreshTable()}refreshTable(){this.loading=!0,this.resourceService.getAssignedRichMembers(this.resource.id).subscribe(f=>{this.members=f,this.setAuthRights(),this.loading=!1})}setAuthRights(){0!==this.members.length&&(this.routeAuth=this.authResolver.isAuthorized("getMemberById_int_policy",[this.members[0]]))}applyFilter(f){this.filterValue=f}}return y.\u0275fac=function(f){return new(f||y)(p.Y36(S.gz),p.Y36(b.xk),p.Y36(o.x4),p.Y36(o.fb))},y.\u0275cmp=p.Xpm({type:y,selectors:[["app-resource-assigned-members"]],decls:7,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","disableRouting","filter","displayedColumns","members","updateTable",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","disableRouting","filter","displayedColumns","members","updateTable"]],template:function(f,L){1&f&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return L.refreshTable()}),p.qZA(),p.TgZ(4,"perun-web-apps-debounce-filter",2),p.NdJ("filter",function(H){return L.applyFilter(H)}),p.qZA(),p.YNc(5,Y,1,0,"mat-spinner",3),p.YNc(6,I,1,6,"perun-web-apps-members-list",4)),2&f&&(p.xp6(1),p.Oqu(p.lcZ(2,4,"RESOURCE_DETAIL.ASSIGNED_MEMBERS.TITLE")),p.xp6(3),p.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_MEMBERS.FILTER"),p.xp6(1),p.Q6J("ngIf",L.loading),p.xp6(1),p.Q6J("ngIf",!L.loading))},directives:[s.t,t.P,e.O5,a.$g,P.O],pipes:[Z.X$],styles:[""]}),y})()},49546:($,Q,i)=>{i.d(Q,{D:()=>d});var b=i(9315),h=i(10036),o=i(20449),p=i(9244),S=i(48966),s=i(36908),t=i(5e3),e=i(51062),a=i(69808),P=i(20773),Z=i(53251),Y=i(64901),O=i(60205),I=i(90439),V=i(47423);function y(l,g){1&l&&t._UZ(0,"mat-spinner",6)}const J=function(){return["id","name","enabled","description"]};function f(l,g){if(1&l&&t._UZ(0,"app-services-list",16),2&l){const u=t.oxw(2);t.Q6J("tableId",u.tableId)("disableRouting",!0)("displayedColumns",t.DdM(5,J))("selection",u.selection)("services",u.filteredServices)}}const L=function(){return["select","id","name","enabled","description"]};function N(l,g){if(1&l){const u=t.EpF();t.TgZ(0,"div",7),t.TgZ(1,"mat-tab-group",8),t.NdJ("selectedTabChange",function(){return t.CHM(u),t.oxw().tabChanged()}),t.TgZ(2,"mat-tab",9),t.ALo(3,"translate"),t.TgZ(4,"div",10),t.TgZ(5,"perun-web-apps-debounce-filter",11),t.NdJ("filter",function(G){return t.CHM(u),t.oxw().applyFilter(G)}),t.ALo(6,"translate"),t.qZA(),t.qZA(),t._UZ(7,"app-services-list",12),t.qZA(),t.TgZ(8,"mat-tab",9),t.ALo(9,"translate"),t.TgZ(10,"div",13),t.TgZ(11,"perun-web-apps-service-package-search-select",14),t.NdJ("packageSelected",function(G){return t.CHM(u),t.oxw().servicePackageSelected(G)}),t.qZA(),t.qZA(),t.YNc(12,f,1,6,"app-services-list",15),t.qZA(),t.qZA(),t.qZA()}if(2&l){const u=t.oxw();t.xp6(2),t.s9C("label",t.lcZ(3,12,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.SELECT_SERVICE")),t.xp6(3),t.s9C("placeholder",t.lcZ(6,14,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.FILTER_DESCRIPTION")),t.xp6(2),t.Q6J("tableId",u.tableId)("disableRouting",!0)("displayedColumns",t.DdM(18,L))("filterValue",u.filterValue)("selection",u.selection)("services",u.unAssignedServices),t.xp6(1),t.s9C("label",t.lcZ(9,16,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.SELECT_PACKAGE")),t.xp6(3),t.Q6J("selectedPackage",u.selectedPackage)("servicePackages",u.servicePackages),t.xp6(1),t.Q6J("ngIf",-1!==u.selectedPackage.id)}}let H=(()=>{class l{constructor(u,A,G,q,X,ce){this.dialogRef=u,this.data=A,this.notificator=G,this.translate=q,this.resourceManager=X,this.servicesManager=ce,this.loading=!1,this.unAssignedServices=[],this.filteredServices=[],this.servicePackages=[],this.selectedPackage={name:"Not selected",description:"",id:-1,beanName:"ServicePackage"},this.selection=new o.Ov(!0,[]),this.tableId=h.DR,this.filterValue=""}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.resourceManager.getAssignedServicesToResource(this.data.resourceId).subscribe(u=>{this.servicesManager.getServices().subscribe(A=>{this.servicesManager.getServicesPackages().subscribe(G=>{this.servicePackages.push(this.selectedPackage),this.servicePackages=this.servicePackages.concat(G),this.unAssignedServices=A;for(const q of u)for(const X of A)q.id===X.id&&this.unAssignedServices.splice(this.unAssignedServices.indexOf(X),1);this.loading=!1})})})}onCancel(){this.dialogRef.close()}onAdd(){this.loading=!0,-1!==this.selectedPackage.id?this.addServicePackage():this.addServices()}addServicePackage(){this.resourceManager.assignServicesPackage(this.data.resourceId,this.selectedPackage.id).subscribe(()=>{this.translate.get("DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.PACKAGE_SUCCESS_MESSAGE").subscribe(u=>{this.notificator.showSuccess(u),0!==this.selection.selected.length?this.addServices():this.dialogRef.close(!0)})},()=>this.loading=!1)}addServices(){const u=[];for(const A of this.selection.selected)u.push(A.id);this.resourceManager.assignServices(this.data.resourceId,u).subscribe(()=>{this.translate.get("DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.SERVICE_SUCCESS_MESSAGE").subscribe(A=>{this.notificator.showSuccess(A),this.dialogRef.close(!0)})},()=>this.loading=!1)}applyFilter(u){this.filterValue=u}servicePackageSelected(u){this.selectedPackage=u,-1!==u.id?this.servicesManager.getServicesFromServicesPackage(u.id).subscribe(A=>{this.filteredServices=A}):this.filteredServices=[]}tabChanged(){this.selection.clear(),this.filterValue="",this.selectedPackage=this.servicePackages[0]}}return l.\u0275fac=function(u){return new(u||l)(t.Y36(S.so),t.Y36(S.WI),t.Y36(s.V6),t.Y36(e.sK),t.Y36(b.xk),t.Y36(b.KK))},l.\u0275cmp=t.Xpm({type:l,selectors:[["app-perun-web-apps-assign-service-to-resource-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[3,"selectedTabChange"],[3,"label"],[1,"mt-2"],[3,"placeholder","filter"],[3,"tableId","disableRouting","displayedColumns","filterValue","selection","services"],[1,"mt-3"],[3,"selectedPackage","servicePackages","packageSelected"],[3,"tableId","disableRouting","displayedColumns","selection","services",4,"ngIf"],[3,"tableId","disableRouting","displayedColumns","selection","services"]],template:function(u,A){1&u&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,y,1,0,"mat-spinner",1),t.YNc(5,N,13,19,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return A.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return A.onAdd()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&u&&(t.Tol(A.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.TITLE")),t.xp6(2),t.Q6J("ngIf",A.loading),t.xp6(1),t.Q6J("ngIf",!A.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.CANCEL_BUTTON")," "),t.xp6(2),t.Q6J("disabled",0===A.selection.selected.length&&-1===A.selectedPackage.id||A.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE."+(-1===A.selectedPackage.id?"ADD_SERVICES":"ADD_PACKAGE"))," "))},directives:[S.uh,a.O5,P.$g,S.xY,Z.SP,Z.uX,Y.P,O.Q,I.F,S.H8,V.lW],pipes:[e.X$],styles:[""]}),l})();var W=i(32075);function ee(l,g){1&l&&t._UZ(0,"mat-spinner",6)}function se(l,g){1&l&&t._UZ(0,"th",15)}function oe(l,g){if(1&l&&(t.TgZ(0,"td",16),t._uU(1),t.qZA()),2&l){const u=g.$implicit;t.xp6(1),t.Oqu(u.name)}}function U(l,g){1&l&&t._UZ(0,"tr",17)}function j(l,g){1&l&&t._UZ(0,"tr",18)}function m(l,g){if(1&l&&(t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,se,1,0,"th",11),t.YNc(10,oe,2,1,"td",12),t.BQk(),t.YNc(11,U,1,0,"tr",13),t.YNc(12,j,1,0,"tr",14),t.qZA(),t.qZA()),2&l){const u=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.ASK")," "),t.xp6(2),t.Q6J("dataSource",u.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",u.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",u.displayedColumns)}}let C=(()=>{class l{constructor(u,A,G,q,X){this.dialogRef=u,this.data=A,this.notificator=G,this.translate=q,this.resourcesManager=X,this.displayedColumns=["name"]}ngOnInit(){this.theme=this.data.theme,this.dataSource=new W.by(this.data.services)}onSubmit(){this.loading=!0;const u=[];for(const A of this.data.services)u.push(A.id);this.resourcesManager.removeServices(this.data.resourceId,u).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.SUCCESS").subscribe(A=>{this.notificator.showSuccess(A),this.dialogRef.close(!0)})},()=>this.loading=!1)}onCancel(){this.dialogRef.close()}}return l.\u0275fac=function(u){return new(u||l)(t.Y36(S.so),t.Y36(S.WI),t.Y36(s.V6),t.Y36(e.sK),t.Y36(b.xk))},l.\u0275cmp=t.Xpm({type:l,selectors:[["app-perun-web-apps-remove-service-from-resource-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(u,A){1&u&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,ee,1,0,"mat-spinner",1),t.YNc(5,m,13,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return A.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return A.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&u&&(t.Tol(A.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.TITLE")),t.xp6(2),t.Q6J("ngIf",A.loading),t.xp6(1),t.Q6J("ngIf",!A.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.CANCEL")," "),t.xp6(2),t.Q6J("disabled",A.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.DELETE")," "))},directives:[S.uh,a.O5,P.$g,S.xY,W.BZ,W.w1,W.fO,W.ge,W.Dz,W.ev,W.as,W.XQ,W.nj,W.Gk,S.H8,V.lW],pipes:[e.X$],styles:[""]}),l})();var F=i(30325),z=i(96214),ie=i(7434);function ne(l,g){if(1&l){const u=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(u),t.oxw().addService()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&l&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"RESOURCE_DETAIL.ASSIGNED_SERVICES.ADD_SERVICE"),"\n"))}function re(l,g){if(1&l){const u=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(u),t.oxw().removeServices()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&l){const u=t.oxw();t.Q6J("disabled",0===u.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"RESOURCE_DETAIL.ASSIGNED_SERVICES.REMOVE_SERVICE"),"\n")}}function x(l,g){1&l&&t._UZ(0,"mat-spinner",9)}function T(l,g){if(1&l&&t._UZ(0,"app-services-list",10),2&l){const u=t.oxw();t.Q6J("tableId",u.tableId)("services",u.assignedServices)("selection",u.selected)("filterValue",u.filterValue)("displayedColumns",u.displayedColumns)("disableRouting",!u.serviceRoutingAuth)}}let d=(()=>{class l{constructor(u,A,G,q,X){this.route=u,this.resourcesManager=A,this.dialog=G,this.guiAuthResolver=q,this.entityStorageService=X,this.assignedServices=[],this.selected=new o.Ov(!0,[]),this.tableId=h.uC,this.filterValue="",this.displayedColumns=["select","id","name","enabled","script","description"]}ngOnInit(){this.loading=!0,this.resource=this.entityStorageService.getEntity(),this.getDataForAuthorization(),this.loadAllServices()}loadAllServices(){this.loading=!0,this.resourcesManager.getAssignedServicesToResource(this.resource.id).subscribe(u=>{this.assignedServices=u,this.selected.clear(),this.loading=!1})}addService(){const u=(0,p.kZ)();u.width="800px",u.data={theme:"resource-theme",resourceId:this.resource.id},this.dialog.open(H,u).afterClosed().subscribe(G=>{G&&this.loadAllServices()})}removeServices(){const u=(0,p.kZ)();u.width="500px",u.data={theme:"resource-theme",resourceId:this.resource.id,services:this.selected.selected},this.dialog.open(C,u).afterClosed().subscribe(G=>{G&&this.loadAllServices()})}applyFilter(u){this.filterValue=u}getDataForAuthorization(){this.assignServiceAuth=this.guiAuthResolver.isAuthorized("assignServices_Resource_List_policy",[this.resource]),this.removeServiceAuth=this.guiAuthResolver.isAuthorized("removeServices_Resource_List_policy",[this.resource]),this.displayedColumns=this.removeServiceAuth?["select","id","name","enabled","script","description"]:["id","name","enabled","script","description"],this.serviceRoutingAuth=this.guiAuthResolver.isPerunAdminOrObserver()}}return l.\u0275fac=function(u){return new(u||l)(t.Y36(F.gz),t.Y36(b.xk),t.Y36(S.uw),t.Y36(s.x4),t.Y36(s.fb))},l.\u0275cmp=t.Xpm({type:l,selectors:[["app-perun-web-apps-resource-assigned-services"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["class","action-button mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","services","selection","filterValue","displayedColumns","disableRouting",4,"ngIf"],["color","accent","mat-flat-button","",1,"action-button","mr-2",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","services","selection","filterValue","displayedColumns","disableRouting"]],template:function(u,A){1&u&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return A.loadAllServices()}),t.qZA(),t.YNc(4,ne,3,3,"button",2),t.YNc(5,re,3,4,"button",3),t.TgZ(6,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(q){return A.applyFilter(q)}),t.qZA(),t.YNc(7,x,1,0,"mat-spinner",5),t.YNc(8,T,1,6,"app-services-list",6)),2&u&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"RESOURCE_DETAIL.ASSIGNED_SERVICES.TITLE")),t.xp6(3),t.Q6J("ngIf",A.assignServiceAuth),t.xp6(1),t.Q6J("ngIf",A.removeServiceAuth),t.xp6(1),t.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_SERVICES.FILTER_SERVICES"),t.xp6(1),t.Q6J("ngIf",A.loading),t.xp6(1),t.Q6J("ngIf",!A.loading))},directives:[z.t,a.O5,V.lW,ie.L,P.$g,O.Q],pipes:[e.X$],styles:[""]}),l})()},92090:($,Q,i)=>{i.d(Q,{X:()=>J});var b=i(36908),h=i(9315),o=i(5e3),p=i(53251),S=i(12651),s=i(69808),t=i(19191),e=i(51062);function a(f,L){1&f&&(o._uU(0),o.ALo(1,"translate")),2&f&&o.hij(" ",o.lcZ(1,1,"RESOURCE_DETAIL.ENTITY")," ")}function P(f,L){if(1&f&&o._UZ(0,"app-one-entity-attribute-page",4),2&f){const N=o.oxw();o.Q6J("entity","resource")("entityId",N.resource.id)}}function Z(f,L){1&f&&(o._uU(0),o.ALo(1,"translate"),o.ALo(2,"translate")),2&f&&o.AsE(" ",o.lcZ(1,2,"RESOURCE_DETAIL.ENTITY")," - ",o.lcZ(2,4,"MEMBER_DETAIL.ENTITY")," ")}function Y(f,L){if(1&f&&o._UZ(0,"app-two-entity-attribute-page",5),2&f){const N=o.oxw(2);o.Q6J("firstEntity","resource")("firstEntityId",N.resource.id)("secondEntity","member")}}function O(f,L){1&f&&(o.TgZ(0,"mat-tab"),o.YNc(1,Z,3,6,"ng-template",1),o.YNc(2,Y,1,3,"ng-template",2),o.qZA())}function I(f,L){1&f&&(o._uU(0),o.ALo(1,"translate"),o.ALo(2,"translate")),2&f&&o.AsE(" ",o.lcZ(1,2,"RESOURCE_DETAIL.ENTITY")," - ",o.lcZ(2,4,"GROUP_DETAIL.ENTITY")," ")}function V(f,L){if(1&f&&o._UZ(0,"app-two-entity-attribute-page",5),2&f){const N=o.oxw(2);o.Q6J("firstEntity","resource")("firstEntityId",N.resource.id)("secondEntity","group")}}function y(f,L){1&f&&(o.TgZ(0,"mat-tab"),o.YNc(1,I,3,6,"ng-template",1),o.YNc(2,V,1,3,"ng-template",2),o.qZA())}let J=(()=>{class f{constructor(N,H,W){this.authResolver=N,this.resourceManager=H,this.entityStorageService=W}ngOnInit(){this.resource=this.entityStorageService.getEntity(),this.resourceGroupAttAuth=this.authResolver.isAuthorized("getGroupAssignments_Resource_policy",[this.resource]),this.resourceMemberAttAuth=this.authResolver.isAuthorized("getAssignedMembersWithStatus_Resource_policy",[this.resource])}}return f.\u0275fac=function(N){return new(N||f)(o.Y36(b.x4),o.Y36(h.xk),o.Y36(b.fb))},f.\u0275cmp=o.Xpm({type:f,selectors:[["app-resource-attributes"]],hostVars:2,hostBindings:function(N,H){2&N&&o.ekj("router-component",H.true)},decls:10,vars:5,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(N,H){1&N&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-tab-group"),o.TgZ(5,"mat-tab"),o.YNc(6,a,2,3,"ng-template",1),o.YNc(7,P,1,2,"ng-template",2),o.qZA(),o.YNc(8,O,3,0,"mat-tab",3),o.YNc(9,y,3,0,"mat-tab",3),o.qZA(),o.qZA()),2&N&&(o.xp6(2),o.Oqu(o.lcZ(3,3,"RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),o.xp6(6),o.Q6J("ngIf",H.resourceMemberAttAuth),o.xp6(1),o.Q6J("ngIf",H.resourceGroupAttAuth))},directives:[p.SP,p.uX,p.uD,p.Vc,S.t,s.O5,t.Y],pipes:[e.X$],styles:[""]}),f})()},98918:($,Q,i)=>{i.d(Q,{b:()=>re});var b=i(36769),h=i(69024),o=i(9315),p=i(9244),S=i(36908),s=i(19516),t=i(84379),e=i(533),a=i(5e3),P=i(30325),Z=i(77968),Y=i(48966),O=i(15003),I=i(4235),V=i(69808),y=i(20773),J=i(25245),f=i(29772),L=i(47423),N=i(61283),H=i(51062);function W(x,T){1&x&&a._UZ(0,"mat-spinner",3)}function ee(x,T){if(1&x){const d=a.EpF();a.TgZ(0,"button",15),a.NdJ("click",function(){return a.CHM(d),a.oxw(2).editResource()}),a.TgZ(1,"mat-icon"),a._uU(2,"edit"),a.qZA(),a.qZA()}}function se(x,T){if(1&x){const d=a.EpF();a.TgZ(0,"button",16),a.NdJ("click",function(){return a.CHM(d),a.oxw(2).deleteResource()}),a.TgZ(1,"mat-icon"),a._uU(2,"delete_forever"),a.qZA(),a.qZA()}}const oe=function(x){return["/organizations",x]};function U(x,T){if(1&x&&(a.TgZ(0,"a",8),a._uU(1),a.qZA()),2&x){const d=a.oxw(2);a.Q6J("routerLink",a.VKq(2,oe,d.resource.vo.id)),a.xp6(1),a.Oqu(d.resource.vo.name)}}function j(x,T){if(1&x&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&x){const d=a.oxw(2);a.xp6(1),a.hij(" ",d.resource.vo.name," ")}}const m=function(x){return["/facilities",x]};function C(x,T){if(1&x&&(a.TgZ(0,"a",8),a._uU(1),a.qZA()),2&x){const d=a.oxw(2);a.Q6J("routerLink",a.VKq(2,m,d.resource.facilityId)),a.xp6(1),a.Oqu(d.resource.facility.name)}}function F(x,T){if(1&x&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&x){const d=a.oxw(2);a.xp6(1),a.hij(" ",d.resource.facility.name," ")}}const z=function(){return{color:"black"}},ie=function(x){return[x]};function ne(x,T){if(1&x&&(a.TgZ(0,"div"),a.TgZ(1,"div",4),a._UZ(2,"mat-icon",5),a.ALo(3,"translate"),a.TgZ(4,"div",6),a.TgZ(5,"div",7),a.TgZ(6,"a",8),a._uU(7),a.qZA(),a.TgZ(8,"span",9),a._uU(9),a.qZA(),a.YNc(10,ee,3,0,"button",10),a.YNc(11,se,3,0,"button",11),a.qZA(),a.TgZ(12,"div"),a._uU(13),a.ALo(14,"translate"),a.qZA(),a.TgZ(15,"span",12),a._uU(16),a.ALo(17,"translate"),a.ALo(18,"translate"),a.YNc(19,U,2,4,"a",13),a.YNc(20,j,2,1,"span",2),a._uU(21),a.ALo(22,"translate"),a.YNc(23,C,2,4,"a",14),a.YNc(24,F,2,1,"span",2),a._uU(25),a.ALo(26,"translate"),a.qZA(),a.qZA(),a.qZA(),a._UZ(27,"app-animated-router-outlet"),a.qZA()),2&x){const d=a.oxw();a.xp6(2),a.s9C("matTooltip",a.lcZ(3,20,"RESOURCE_DETAIL.ENTITY")),a.Q6J("ngStyle",a.DdM(32,z)),a.xp6(4),a.Q6J("routerLink",a.VKq(33,ie,d.baseUrl)),a.xp6(1),a.hij(" ",d.resource.name," "),a.xp6(2),a.hij(" \xa0#",d.resource.id," "),a.xp6(1),a.Q6J("ngIf",d.editResourceAuth),a.xp6(1),a.Q6J("ngIf",d.deleteAuth),a.xp6(2),a.AsE("",a.lcZ(14,22,"RESOURCE_DETAIL.UUID"),": ",d.resource.uuid,""),a.xp6(3),a.AsE(" ",a.lcZ(17,24,"RESOURCE_DETAIL.ENTITY"),", ",a.lcZ(18,26,"RESOURCE_DETAIL.VO"),": "),a.xp6(3),a.Q6J("ngIf",d.voLinkAuth),a.xp6(1),a.Q6J("ngIf",!d.voLinkAuth),a.xp6(1),a.AsE(" #",d.resource.voId,", ",a.lcZ(22,28,"RESOURCE_DETAIL.FACILITY"),": "),a.xp6(2),a.Q6J("ngIf",d.facilityLinkAuth),a.xp6(1),a.Q6J("ngIf",!d.facilityLinkAuth),a.xp6(1),a.lnq(" #",d.resource.facilityId,", ",a.lcZ(26,30,"RESOURCE_DETAIL.DESCRIPTION"),": ",d.resource.description," ")}}let re=(()=>{class x{constructor(d,l,g,u,A,G,q,X,ce,R,w){this.route=d,this.facilityManager=l,this.vosManagerService=g,this.resourcesManager=u,this.sideMenuService=A,this.sideMenuItemService=G,this.dialog=q,this.guiAuthResolver=X,this.router=ce,this.entityStorageService=R,this.reloadEntityDetail=w,this.underVoUrl=!1,this.deleteAuth=!1,this.baseUrl="",this.loading=!1}ngOnInit(){this.reloadData(),this.reloadEntityDetail.entityDetailChange.subscribe(()=>{this.reloadData()})}reloadData(){this.loading=!0,this.route.params.subscribe(d=>{this.resourcesManager.getRichResourceById(d.resourceId).subscribe(g=>{this.resource=g,this.entityStorageService.setEntity({id:g.id,voId:g.voId,facilityId:g.facilityId,beanName:"Resource"}),this.setAuth(),"facilities"===this.route.parent.snapshot.url[0].path?(this.baseUrl=(new s.r5).transform(g,!1),this.facilityManager.getFacilityById(g.facilityId).subscribe(u=>{this.facility=u,this.setMenuItems(),this.loading=!1},()=>this.loading=!1)):(this.baseUrl=(new s.r5).transform(g,!0),this.vosManagerService.getVoById(g.voId).subscribe(u=>{this.vo=u,this.underVoUrl=!0,this.setMenuItems(),this.loading=!1},()=>this.loading=!1)),(0,p.sF)("resources",this.resource)})})}setMenuItems(){let d;const l=this.sideMenuItemService.parseResource(this.resource,this.underVoUrl);d=this.underVoUrl?this.sideMenuItemService.parseVo(this.vo):this.sideMenuItemService.parseFacility(this.facility),this.sideMenuService.setAccessMenuItems([d,l])}setAuth(){this.facilityLinkAuth=this.guiAuthResolver.isAuthorized("getFacilityById_int_policy",[this.resource]),this.editResourceAuth=this.guiAuthResolver.isAuthorized("updateResource_Resource_policy",[this.resource]),this.voLinkAuth=this.guiAuthResolver.isAuthorized("getVoById_int_policy",[this.resource]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteResource_Resource_policy",[this.resource])}editResource(){let d;this.resourcesManager.getResourceById(this.resource.id).subscribe(l=>{d=l;const g=(0,p.kZ)();g.width="450px",g.data={theme:"resource-theme",resource:d,dialogType:t.Eg.RESOURCE},this.dialog.open(t.rd,g).afterClosed().subscribe(A=>{A&&this.resourcesManager.getRichResourceById(this.resource.id).subscribe(G=>{this.resource=G,this.setMenuItems()})})})}deleteResource(){const d=(0,p.kZ)();d.width="500px",d.data={theme:"resource-theme",resources:[this.resource]},this.dialog.open(e.f,d).afterClosed().subscribe(g=>{g&&this.router.navigate(["../"],{relativeTo:this.route})})}}return x.\u0275fac=function(d){return new(d||x)(a.Y36(P.gz),a.Y36(o.IQ),a.Y36(o.YF),a.Y36(o.xk),a.Y36(Z.D),a.Y36(h.V),a.Y36(Y.uw),a.Y36(S.x4),a.Y36(P.F0),a.Y36(S.fb),a.Y36(O.G))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-resource-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","resource-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-resource-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"resource-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit resource",3,"click",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["queryParamsHandling","merge","class","resource-link",3,"routerLink",4,"ngIf"],["class","resource-link","queryParamsHandling","merge",3,"routerLink",4,"ngIf"],["mat-icon-button","","aria-label","Edit resource",3,"click"],["mat-icon-button","",3,"click"]],template:function(d,l){1&d&&(a.TgZ(0,"div",0),a._UZ(1,"perun-web-apps-back-button"),a.YNc(2,W,1,0,"mat-spinner",1),a.YNc(3,ne,28,35,"div",2),a.qZA()),2&d&&(a.xp6(2),a.Q6J("ngIf",l.loading),a.xp6(1),a.Q6J("ngIf",!l.loading&&void 0!==l.resource))},directives:[I.W,V.O5,y.$g,J.Hw,f.gM,V.PC,P.yS,L.lW,N.A],pipes:[H.X$],styles:[".break-line[_ngcontent-%COMP%]{display:inline-block}"],data:{animation:[b.Ji]}}),x})()},258:($,Q,i)=>{i.d(Q,{K:()=>ce});var b=i(9315),h=i(20449),o=i(48966),p=i(32075),S=i(36908),s=i(5e3),t=i(51062),e=i(69808),a=i(20773),P=i(47423);function Z(R,w){1&R&&s._UZ(0,"mat-spinner",6)}function Y(R,w){1&R&&s._UZ(0,"th",15)}function O(R,w){if(1&R&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&R){const c=w.$implicit;s.xp6(1),s.Oqu(c.name)}}function I(R,w){1&R&&s._UZ(0,"tr",17)}function V(R,w){1&R&&s._UZ(0,"tr",18)}function y(R,w){if(1&R&&(s.TgZ(0,"div",7),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",8),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",9),s.ynx(8,10),s.YNc(9,Y,1,0,"th",11),s.YNc(10,O,2,1,"td",12),s.BQk(),s.YNc(11,I,1,0,"tr",13),s.YNc(12,V,1,0,"tr",14),s.qZA(),s.qZA()),2&R){const c=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.ASK")," "),s.xp6(2),s.Q6J("dataSource",c.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",c.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",c.displayedColumns)}}let J=(()=>{class R{constructor(c,E,M,k,B){this.dialogRef=c,this.data=E,this.notificator=M,this.translate=k,this.resourceManager=B,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new p.by(this.data.groups)}onCancel(){this.dialogRef.close()}onSubmit(){const c=[];for(const E of this.data.groups)c.push(E.id);this.loading=!0,this.resourceManager.removeGroupsFromResource(c,this.data.resourceId).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_GROUP_FROM_RESOURCE.SUCCESS").subscribe(E=>{this.notificator.showSuccess(E),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return R.\u0275fac=function(c){return new(c||R)(s.Y36(o.so),s.Y36(o.WI),s.Y36(S.V6),s.Y36(t.sK),s.Y36(b.xk))},R.\u0275cmp=s.Xpm({type:R,selectors:[["app-perun-web-apps-remove-group-from-resource-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(c,E){1&c&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Z,1,0,"mat-spinner",1),s.YNc(5,y,13,9,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return E.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return E.onSubmit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&c&&(s.Tol(E.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.TITLE")),s.xp6(2),s.Q6J("ngIf",E.loading),s.xp6(1),s.Q6J("ngIf",!E.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.CANCEL")," "),s.xp6(2),s.Q6J("disabled",E.loading),s.xp6(1),s.hij(" ",s.lcZ(12,13,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DELETE")," "))},directives:[o.uh,e.O5,a.$g,o.xY,p.BZ,p.w1,p.fO,p.ge,p.Dz,p.ev,p.as,p.XQ,p.nj,p.Gk,o.H8,P.lW],pipes:[t.X$],styles:[""]}),R})();var f=i(10036),L=i(92081),N=i(64901),H=i(24179),W=i(32368),ee=i(93075);const se=["stepper"];function oe(R,w){1&R&&s._UZ(0,"mat-spinner",4)}function U(R,w){1&R&&(s._uU(0),s.ALo(1,"translate")),2&R&&s.Oqu(s.lcZ(1,1,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.GROUPS"))}function j(R,w){1&R&&(s._uU(0),s.ALo(1,"translate")),2&R&&s.Oqu(s.lcZ(1,1,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.OPTIONS"))}const m=function(){return["select","id","name","description"]};function C(R,w){if(1&R){const c=s.EpF();s.TgZ(0,"div",5),s.TgZ(1,"mat-stepper",6,7),s.TgZ(3,"mat-step",8),s.YNc(4,U,2,3,"ng-template",9),s.TgZ(5,"perun-web-apps-debounce-filter",10),s.NdJ("filter",function(M){return s.CHM(c),s.oxw().applyFilter(M)}),s.ALo(6,"translate"),s.qZA(),s._UZ(7,"perun-web-apps-groups-list",11),s.qZA(),s.TgZ(8,"mat-step"),s.YNc(9,j,2,3,"ng-template",9),s.TgZ(10,"mat-slide-toggle",12),s.NdJ("toggleChange",function(){return s.CHM(c),s.oxw().changeSubgroupsMessage()})("ngModelChange",function(M){return s.CHM(c),s.oxw().autoAssignSubgroups=M}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.TgZ(13,"div",13),s._UZ(14,"i",14),s.qZA(),s.TgZ(15,"mat-slide-toggle",12),s.NdJ("toggleChange",function(){return s.CHM(c),s.oxw().changeInactiveMessage()})("ngModelChange",function(M){return s.CHM(c),s.oxw().asActive=M}),s._uU(16),s.ALo(17,"translate"),s.qZA(),s.TgZ(18,"div",13),s._uU(19),s.qZA(),s.TgZ(20,"mat-slide-toggle",12),s.NdJ("toggleChange",function(){return s.CHM(c),s.oxw().changeAsyncMessage()})("ngModelChange",function(M){return s.CHM(c),s.oxw().async=M}),s._uU(21),s.ALo(22,"translate"),s.qZA(),s.TgZ(23,"div",13),s._uU(24),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&R){const c=s.oxw();s.xp6(1),s.Q6J("linear",!0),s.xp6(2),s.Q6J("completed",0!==c.selection.selected.length&&c.canAddGroups()),s.xp6(2),s.s9C("placeholder",s.lcZ(6,19,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.FILTER_DESCRIPTION")),s.xp6(2),s.Q6J("tableId",c.tableId)("groups",c.unAssignedGroups)("selection",c.selection)("filter",c.filterValue)("displayedColumns",s.DdM(27,m))("disableRouting",!0)("disableMembers",!1),s.xp6(3),s.Q6J("ngModel",c.autoAssignSubgroups),s.xp6(1),s.hij(" ",s.lcZ(12,21,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.AUTO_SUBGROUPS")," "),s.xp6(3),s.Q6J("innerHTML",c.autoAssignHint,s.oJD),s.xp6(1),s.Q6J("ngModel",c.asActive),s.xp6(1),s.hij(" ",s.lcZ(17,23,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.AS_ACTIVE")," "),s.xp6(3),s.hij(" ",c.asActiveHint," "),s.xp6(1),s.Q6J("ngModel",c.async),s.xp6(1),s.hij(" ",s.lcZ(22,25,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_OPT")," "),s.xp6(3),s.hij(" ",c.asyncHint," ")}}function F(R,w){if(1&R){const c=s.EpF();s.TgZ(0,"button",20),s.NdJ("click",function(){return s.CHM(c),s.oxw(2).stepperPrevious()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&R&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.BACK")," "))}function z(R,w){if(1&R){const c=s.EpF();s.TgZ(0,"button",21),s.NdJ("click",function(){return s.CHM(c),s.oxw(2).stepperNext()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&R){const c=s.oxw(2);s.ekj("ml-2",void 0!==c.stepper&&0!==c.stepper.selectedIndex)("ml-auto",!(void 0!==c.stepper&&0!==c.stepper.selectedIndex)),s.Q6J("disabled",0===c.selection.selected.length||!c.canAddGroups()),s.xp6(1),s.hij(" ",s.lcZ(2,6,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.NEXT")," ")}}function ie(R,w){if(1&R){const c=s.EpF();s.TgZ(0,"button",22),s.NdJ("click",function(){return s.CHM(c),s.oxw(2).onAdd()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&R&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ADD_BUTTON")," "))}function ne(R,w){if(1&R){const c=s.EpF();s.TgZ(0,"div",15),s.TgZ(1,"button",16),s.NdJ("click",function(){return s.CHM(c),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,F,3,3,"button",17),s.YNc(5,z,3,8,"button",18),s.YNc(6,ie,3,3,"button",19),s.qZA()}if(2&R){const c=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,4,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.CANCEL_BUTTON")," "),s.xp6(2),s.Q6J("ngIf",void 0!==c.stepper&&0!==c.stepper.selectedIndex),s.xp6(1),s.Q6J("ngIf",void 0!==c.stepper&&c.stepper.selectedIndex!==c.stepper._steps.length-1),s.xp6(1),s.Q6J("ngIf",void 0!==c.stepper&&c.stepper.selectedIndex===c.stepper._steps.length-1)}}let re=(()=>{class R{constructor(c,E,M,k,B,te,pe,me){this.dialogRef=c,this.data=E,this.notificator=M,this.translate=k,this.resourceManager=B,this.groupService=te,this.guiAuthResolver=pe,this.cd=me,this.loading=!1,this.unAssignedGroups=this.data.onlyAutoAssignedGroups,this.async=!0,this.autoAssignSubgroups=!1,this.asActive=!0,this.selection=new h.Ov(!0,[]),this.filterValue="",this.tableId=f.cL}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.resource=this.data.resource,this.autoAssignHint=this.translate.instant("DIALOGS.ASSIGN_GROUP_TO_RESOURCE.AUTO_SUBGROUPS_OFF_HINT"),this.asActiveHint=this.translate.instant("DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ACTIVE_ON_HINT"),this.asyncHint=this.translate.instant("DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_ON_HINT"),this.resourceManager.getAssignedGroups(this.resource.id).subscribe(c=>{this.groupService.getAllGroups(this.resource.voId).subscribe(E=>{for(const M of E)-1===c.findIndex(k=>k.id===M.id)&&this.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",[this.resource,M])&&this.unAssignedGroups.push(M);this.loading=!1,this.cd.detectChanges()},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close()}onAdd(){this.loading=!0;const c=[];for(const E of this.selection.selected)c.push(E.id);this.resourceManager.assignGroupsToResource(c,this.resource.id,this.async,!this.asActive,this.autoAssignSubgroups).subscribe(()=>{this.translate.get("DIALOGS.ASSIGN_GROUP_TO_RESOURCE.SUCCESS_MESSAGE").subscribe(E=>{this.notificator.showSuccess(E),this.dialogRef.close(!0)})},()=>this.loading=!1)}applyFilter(c){this.filterValue=c}canAddGroups(){let c=!0;return this.selection.selected.forEach(E=>{this.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",[this.resource,E])||(c=!1)}),c}changeSubgroupsMessage(){this.autoAssignHint=this.translate.instant(this.autoAssignSubgroups?"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.AUTO_SUBGROUPS_OFF_HINT":"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.AUTO_SUBGROUPS_ON_HINT")}changeInactiveMessage(){this.asActiveHint=this.translate.instant(this.asActive?"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ACTIVE_OFF_HINT":"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ACTIVE_ON_HINT")}changeAsyncMessage(){this.asyncHint=this.translate.instant(this.async?"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_OFF_HINT":"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_ON_HINT")}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return R.\u0275fac=function(c){return new(c||R)(s.Y36(o.so),s.Y36(o.WI),s.Y36(S.V6),s.Y36(t.sK),s.Y36(b.xk),s.Y36(b.ff),s.Y36(S.x4),s.Y36(s.sBO))},R.\u0275cmp=s.Xpm({type:R,selectors:[["app-perun-web-apps-assign-group-to-resource-dialog"]],viewQuery:function(c,E){if(1&c&&s.Gf(se,5),2&c){let M;s.iGM(M=s.CRH())&&(E.stepper=M.first)}},decls:7,vars:9,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],["stepper",""],[3,"completed"],["matStepLabel",""],[3,"placeholder","filter"],[3,"tableId","groups","selection","filter","displayedColumns","disableRouting","disableMembers"],["labelPosition","before",1,"mt-3","slide-text",3,"ngModel","toggleChange","ngModelChange"],[1,"text-muted","new-line","mt-2"],[3,"innerHTML"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","","type","button",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],["class","ml-2","color","accent","mat-flat-button","","type","button",3,"click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","","type","button",3,"disabled","click"],["color","accent","mat-flat-button","","type","button",1,"ml-2",3,"click"]],template:function(c,E){1&c&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,oe,1,0,"mat-spinner",1),s.YNc(5,C,25,28,"div",2),s.YNc(6,ne,7,6,"div",3),s.qZA()),2&c&&(s.Tol(E.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.TITLE")),s.xp6(2),s.Q6J("ngIf",E.loading),s.xp6(1),s.Q6J("ngIf",!E.loading),s.xp6(1),s.Q6J("ngIf",!E.loading&&E.stepper))},directives:[o.uh,e.O5,a.$g,o.xY,L.Vq,L.C0,L.VY,N.P,H.W,W.Rr,ee.JJ,ee.On,o.H8,P.lW],pipes:[t.X$],styles:[".slide-text[_ngcontent-%COMP%]{font-size:1.1rem}"]}),R})();var x=i(9244),T=i(64080),d=i(30325),l=i(96214),g=i(29772);function u(R,w){if(1&R){const c=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(c),s.oxw().addGroup()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&R&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"RESOURCE_DETAIL.ASSIGNED_GROUPS.ADD_GROUP"),"\n"))}function A(R,w){1&R&&s._UZ(0,"mat-spinner",9)}const G=function(R){return[R]},q=function(){return["select","id","indirectGroupAssigment","name","status","description"]};function X(R,w){if(1&R){const c=s.EpF();s.TgZ(0,"perun-web-apps-groups-list",10),s.NdJ("refreshTable",function(){return s.CHM(c),s.oxw().loadAllGroups()}),s.qZA()}if(2&R){const c=s.oxw();s.Q6J("disableGroups",!0)("groupsToDisableCheckbox",c.groupsToDisable)("tableId",c.tableId)("groups",c.assignedGroups)("filter",c.filteredValue)("selection",c.selected)("disableMembers",!1)("resourceId",c.resource.id)("disableRouting",!!c.assignedGroups[0]&&!c.guiAuthResolver.isAuthorized("getGroupById_int_policy",s.VKq(10,G,c.assignedGroups[0])))("displayedColumns",s.DdM(12,q))}}let ce=(()=>{class R{constructor(c,E,M,k,B){this.route=c,this.resourcesManager=E,this.dialog=M,this.guiAuthResolver=k,this.entityStorageService=B,this.assignedGroups=[],this.selected=new h.Ov(!0,[]),this.filteredValue="",this.tableId=f.Ad}ngOnInit(){this.loading=!0,this.resource=this.entityStorageService.getEntity(),this.loadAllGroups()}loadAllGroups(){this.loading=!0,this.resourcesManager.getGroupAssignments(this.resource.id,[T.r.GROUP_SYNC_ENABLED]).subscribe(c=>{this.assignedGroups=c.map(B=>{const te=B.enrichedGroup.group;return te.status=B.status,te.failureCause=B.failureCause,te.sourceGroupId=B.sourceGroupId,te});const E=this.assignedGroups.map(B=>B.id),M=this.assignedGroups.filter((B,te)=>E.indexOf(B.id)===te),k=this.assignedGroups.filter((B,te)=>{const pe=E.indexOf(B.id);return pe!==te&&(null===B.sourceGroupId||null===this.assignedGroups[pe].sourceGroupId)}).map(B=>B.id);M.forEach(B=>{k.includes(B.id)&&(B.moreTypesOfAssignment=!0)}),this.assignedGroups=M,this.groupsToDisable=new Set(this.assignedGroups.filter(B=>!!B.sourceGroupId&&!B.moreTypesOfAssignment).map(B=>B.id)),this.selected.clear(),this.loading=!1})}addGroup(){const c=(0,x.kZ)();c.width="1000px",c.data={theme:"resource-theme",resource:this.resource,onlyAutoAssignedGroups:this.assignedGroups.filter(M=>this.groupsToDisable.has(M.id))},this.dialog.open(re,c).afterClosed().subscribe(M=>{M&&this.loadAllGroups()})}removeGroups(){const c=(0,x.kZ)();c.width="500px",c.data={resourceId:this.resource.id,groups:this.selected.selected,theme:"resource-theme"},this.dialog.open(J,c).afterClosed().subscribe(M=>{M&&this.loadAllGroups()})}canRemoveGroups(){let c=!0;return this.selected.selected.forEach(E=>{this.guiAuthResolver.isAuthorized("removeGroupsFromResource_List_Resource_policy",[this.resource,E])||(c=!1)}),c}applyFilter(c){this.filteredValue=c}}return R.\u0275fac=function(c){return new(c||R)(s.Y36(d.gz),s.Y36(b.xk),s.Y36(o.uw),s.Y36(S.x4),s.Y36(S.fb))},R.\u0275cmp=s.Xpm({type:R,selectors:[["app-perun-web-apps-resource-groups"]],decls:13,vars:17,consts:[[1,"page-subtitle"],[3,"refresh"],["class","action-button","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["color","warn","mat-flat-button","",1,"ml-2","mr-2",3,"disabled","click"],[3,"matTooltipDisabled","matTooltip"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"disableGroups","groupsToDisableCheckbox","tableId","groups","filter","selection","disableMembers","resourceId","disableRouting","displayedColumns","refreshTable",4,"ngIf"],["color","accent","mat-flat-button","",1,"action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"disableGroups","groupsToDisableCheckbox","tableId","groups","filter","selection","disableMembers","resourceId","disableRouting","displayedColumns","refreshTable"]],template:function(c,E){1&c&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return E.loadAllGroups()}),s.qZA(),s.YNc(4,u,3,3,"button",2),s.TgZ(5,"button",3),s.NdJ("click",function(){return E.removeGroups()}),s.TgZ(6,"span",4),s.ALo(7,"translate"),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA(),s.TgZ(10,"perun-web-apps-debounce-filter",5),s.NdJ("filter",function(k){return E.applyFilter(k)}),s.qZA(),s.YNc(11,A,1,0,"mat-spinner",6),s.YNc(12,X,1,13,"perun-web-apps-groups-list",7)),2&c&&(s.xp6(1),s.Oqu(s.lcZ(2,9,"RESOURCE_DETAIL.ASSIGNED_GROUPS.TITLE")),s.xp6(3),s.Q6J("ngIf",E.guiAuthResolver.isAuthorized("getAllGroups_Vo_policy",s.VKq(15,G,E.resource))),s.xp6(1),s.Q6J("disabled",0===E.selected.selected.length||!E.canRemoveGroups()),s.xp6(1),s.s9C("matTooltip",s.lcZ(7,11,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_TOOLTIP")),s.Q6J("matTooltipDisabled",E.canRemoveGroups()),s.xp6(2),s.hij(" ",s.lcZ(9,13,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_GROUP")," "),s.xp6(2),s.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_GROUPS.FILTER_GROUPS"),s.xp6(1),s.Q6J("ngIf",E.loading),s.xp6(1),s.Q6J("ngIf",!E.loading))},directives:[l.t,e.O5,P.lW,g.gM,N.P,a.$g,H.W],pipes:[t.X$],styles:[""]}),R})()},4675:($,Q,i)=>{i.d(Q,{H:()=>P});var b=i(9315),h=i(36908),o=i(5e3),p=i(30325),S=i(69808),s=i(20773),t=i(71135);function e(Z,Y){1&Z&&o._UZ(0,"mat-spinner",2)}function a(Z,Y){if(1&Z&&(o.TgZ(0,"div"),o._UZ(1,"perun-web-apps-menu-buttons-field",3),o.qZA()),2&Z){const O=o.oxw();o.xp6(1),o.Q6J("items",O.navItems)("size","small")}}let P=(()=>{class Z{constructor(O,I,V,y){this.resourcesManager=O,this.route=I,this.guiAuthResolver=V,this.entityStorageService=y,this.navItems=[],this.loading=!1}ngOnInit(){this.loading=!0,this.resource=this.entityStorageService.getEntity(),this.initItems("facilities"!==this.route.parent.parent.snapshot.url[0].path),this.loading=!1}initItems(O){const I=O?`/organizations/${this.resource.voId}`:`/facilities/${this.resource.facilityId}`;this.navItems=[],this.guiAuthResolver.isAuthorized("getAssignedGroups_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-group",url:`${I}/resources/${this.resource.id}/groups`,label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAssignedServices_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-service",url:`/${I}/resources/${this.resource.id}/services`,label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAssignedMembers_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-user",url:`${I}/resources/${this.resource.id}/members`,label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-resource-tags",url:`${I}/resources/${this.resource.id}/tags`,label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",style:"resource-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`${I}/resources/${this.resource.id}/attributes`,label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",style:"resource-btn"}),this.guiAuthResolver.isManagerPagePrivileged(this.resource)&&this.navItems.push({cssIcon:"perun-settings2",url:`${I}/resources/${this.resource.id}/settings`,label:"MENU_ITEMS.RESOURCE.SETTINGS",style:"resource-btn"})}}return Z.\u0275fac=function(O){return new(O||Z)(o.Y36(b.xk),o.Y36(p.gz),o.Y36(h.x4),o.Y36(h.fb))},Z.\u0275cmp=o.Xpm({type:Z,selectors:[["app-resource-overview"]],hostVars:2,hostBindings:function(O,I){2&O&&o.ekj("router-component",I.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(O,I){1&O&&(o.YNc(0,e,1,0,"mat-spinner",0),o.YNc(1,a,2,2,"div",1)),2&O&&(o.Q6J("ngIf",I.loading),o.xp6(1),o.Q6J("ngIf",!I.loading))},directives:[S.O5,s.$g,t.L],styles:[""]}),Z})()},20057:($,Q,i)=>{i.d(Q,{O:()=>p});var b=i(36908),h=i(5e3),o=i(69815);let p=(()=>{class S{constructor(t,e){this.guiAuthResolver=t,this.entityStorageService=e,this.availableRoles=[],this.type="Resource",this.theme="resource-theme"}ngOnInit(){this.resource=this.entityStorageService.getEntity(),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Resource")}}return S.\u0275fac=function(t){return new(t||S)(h.Y36(b.x4),h.Y36(b.fb))},S.\u0275cmp=h.Xpm({type:S,selectors:[["app-resource-settings-managers"]],decls:1,vars:4,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&h._UZ(0,"app-managers-page",0),2&t&&h.Q6J("complementaryObject",e.resource)("complementaryObjectType",e.type)("theme",e.theme)("availableRoles",e.availableRoles)},directives:[o.s],styles:[""]}),S})()},16500:($,Q,i)=>{i.d(Q,{h:()=>P});var b=i(9315),h=i(36908),o=i(5e3),p=i(30325),S=i(69808),s=i(20773),t=i(71135);function e(Z,Y){1&Z&&o._UZ(0,"mat-spinner",2)}function a(Z,Y){if(1&Z&&(o.TgZ(0,"div"),o._UZ(1,"perun-web-apps-menu-buttons-field",3),o.qZA()),2&Z){const O=o.oxw();o.xp6(1),o.Q6J("items",O.items)("size","small")}}let P=(()=>{class Z{constructor(O,I,V,y){this.route=O,this.resourceManager=I,this.authResolver=V,this.entityStorageService=y,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.resource=this.entityStorageService.getEntity(),this.initItems("facilities"!==this.route.parent.parent.parent.snapshot.url[0].path),this.loading=!1}initItems(O){this.items=[],this.authResolver.isManagerPagePrivileged(this.resource)&&this.items.push({cssIcon:"perun-manager",url:`${O?`/organizations/${this.resource.voId}`:`/facilities/${this.resource.facilityId}`}/resources/${this.resource.id}/settings/managers`,label:"MENU_ITEMS.RESOURCE.MANAGERS",style:"resource-btn"})}}return Z.\u0275fac=function(O){return new(O||Z)(o.Y36(p.gz),o.Y36(b.xk),o.Y36(h.x4),o.Y36(h.fb))},Z.\u0275cmp=o.Xpm({type:Z,selectors:[["app-resource-settings-overview"]],hostVars:2,hostBindings:function(O,I){2&O&&o.ekj("router-component",I.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(O,I){1&O&&(o.YNc(0,e,1,0,"mat-spinner",0),o.YNc(1,a,2,2,"div",1)),2&O&&(o.Q6J("ngIf",I.loading),o.xp6(1),o.Q6J("ngIf",!I.loading))},directives:[S.O5,s.$g,t.L],styles:[""]}),Z})()},60113:($,Q,i)=>{i.d(Q,{t:()=>p});var b=i(36769),h=i(5e3),o=i(61283);let p=(()=>{class S{constructor(){}}return S.\u0275fac=function(t){return new(t||S)},S.\u0275cmp=h.Xpm({type:S,selectors:[["app-resource-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&h._UZ(0,"app-animated-router-outlet")},directives:[o.A],styles:[""],data:{animation:[b.Ji]}}),S})()},20872:($,Q,i)=>{i.d(Q,{v:()=>oe});var b=i(9315),h=i(20449),o=i(10036),p=i(9244),S=i(36908),s=i(84379),t=i(48966),e=i(5e3),a=i(69808),P=i(20773),Z=i(17672),Y=i(47423),O=i(51062);function I(U,j){1&U&&e._UZ(0,"mat-spinner",8)}function V(U,j){if(1&U&&e._UZ(0,"app-resources-tags-list",9),2&U){const m=e.oxw();e.Q6J("selection",m.selection)("tableId",m.tableId)("resourceTags",m.resourceTags)("filterValue",m.filterValue)("displayedColumns",m.displayedColumns)("entity","resource")}}let y=(()=>{class U{constructor(m,C,F){this.dialogRef=m,this.data=C,this.resourcesManager=F,this.tableId=o.g,this.selection=new h.Ov(!0,[]),this.resourceTags=[],this.displayedColumns=["select","id","name"]}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voId=this.data.voId,this.resourceId=this.data.resourceId,this.assignedTags=this.data.assignedTags,this.resourcesManager.getAllResourcesTagsForVo(this.voId).subscribe(m=>{this.resourceTags=m.filter(C=>this.assignedTags.map(F=>F.id).indexOf(C.id)<=-1),this.loading=!1})}onCancel(){this.dialogRef.close(!1)}onSubmit(m){if(0===m.length)return this.dialogRef.close(!0);const C=m.pop();this.resourcesManager.assignResourceTagToResource({resource:this.resourceId,resourceTag:C}).subscribe(()=>{this.onSubmit(m)})}applyFilter(m){this.filterValue=m}}return U.\u0275fac=function(m){return new(m||U)(e.Y36(t.so),e.Y36(t.WI),e.Y36(b.xk))},U.\u0275cmp=e.Xpm({type:U,selectors:[["app-add-resource-tag-to-resource-dialog"]],decls:15,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],[3,"selection","tableId","resourceTags","filterValue","displayedColumns","entity",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],[3,"selection","tableId","resourceTags","filterValue","displayedColumns","entity"]],template:function(m,C){1&m&&(e.TgZ(0,"div"),e.TgZ(1,"h1",0),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",1),e.TgZ(5,"div",2),e.YNc(6,I,1,0,"mat-spinner",3),e.qZA(),e.YNc(7,V,1,6,"app-resources-tags-list",4),e.qZA(),e.TgZ(8,"div",5),e.TgZ(9,"button",6),e.NdJ("click",function(){return C.onCancel()}),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"button",7),e.NdJ("click",function(){return C.onSubmit(C.selection.selected)}),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.qZA(),e.qZA()),2&m&&(e.Tol(C.theme),e.xp6(2),e.Oqu(e.lcZ(3,9,"RESOURCE_DETAIL.TAGS.ADD_TAGS")),e.xp6(4),e.Q6J("ngIf",C.loading),e.xp6(1),e.Q6J("ngIf",!C.loading),e.xp6(3),e.hij(" ",e.lcZ(11,11,"RESOURCE_DETAIL.TAGS.CANCEL")," "),e.xp6(2),e.Q6J("disabled",C.loading||0===C.resourceTags.length),e.xp6(1),e.hij(" ",e.lcZ(14,13,"RESOURCE_DETAIL.TAGS.ADD_BUTTON")," "))},directives:[t.uh,t.xY,a.O5,P.$g,Z.o,t.H8,Y.lW],pipes:[O.X$],styles:[""]}),U})();var J=i(17584),f=i(96214),L=i(7434);function N(U,j){if(1&U){const m=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){return e.CHM(m),e.oxw().create()}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&U&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.CREATE_BUTTON"),"\n"))}function H(U,j){if(1&U){const m=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){return e.CHM(m),e.oxw().addTag()}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&U&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"RESOURCE_DETAIL.TAGS.ADD_BUTTON"),"\n"))}function W(U,j){if(1&U){const m=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){return e.CHM(m),e.oxw().removeTags()}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&U){const m=e.oxw();e.Q6J("disabled",0===m.selection.selected.length),e.xp6(1),e.hij(" ",e.lcZ(2,2,"RESOURCE_DETAIL.TAGS.REMOVE_BUTTON"),"\n")}}function ee(U,j){1&U&&e._UZ(0,"mat-spinner",9)}function se(U,j){if(1&U&&e._UZ(0,"app-resources-tags-list",10),2&U){const m=e.oxw();e.Q6J("selection",m.selection)("tableId",m.tableId)("resourceTags",m.resourceTags)("filterValue",m.filterValue)("displayedColumns",m.displayedColumns)("entity","resource")}}let oe=(()=>{class U{constructor(m,C,F,z,ie,ne){this.authResolver=m,this.resourcesManager=C,this.dialog=F,this.notificator=z,this.translate=ie,this.entityStorageService=ne,this.loading=!1,this.resourceTags=[],this.selection=new h.Ov(!0,[]),this.tableId=o.M8,this.displayedColumns=[]}ngOnInit(){this.loading=!0,this.resource=this.entityStorageService.getEntity(),this.setAuthRights(),this.updateData()}removeTags(){const m=(0,p.kZ)();m.width="450px",m.data={items:this.selection.selected.map(F=>F.tagName),title:"RESOURCE_DETAIL.TAGS.REMOVE_TAGS_DIALOG_TITLE",description:"RESOURCE_DETAIL.TAGS.REMOVE_TAGS_DIALOG_DESCRIPTION",theme:"resource-theme"},this.dialog.open(s.Tf,m).afterClosed().subscribe(F=>{F&&this.removeTag(this.selection.selected)})}removeTag(m){if(0===m.length)return this.notificator.showSuccess(this.translate.instant("RESOURCE_DETAIL.TAGS.REMOVED_SUCCESSFULLY")),this.updateData();const C=m.pop();this.resourcesManager.removeResourceTagFromResource({resource:this.resource.id,resourceTag:C}).subscribe(()=>{this.removeTag(m)})}addTag(){const m=(0,p.kZ)();m.width="600px",m.data={voId:this.resource.voId,resourceId:this.resource.id,assignedTags:this.resourceTags,theme:"resource-theme"},this.dialog.open(y,m).afterClosed().subscribe(F=>{F&&(this.notificator.showSuccess(this.translate.instant("RESOURCE_DETAIL.TAGS.ADDED_SUCCESSFULLY")),this.updateData())})}create(){const m=(0,p.kZ)();m.width="450px",m.data={voId:this.resource.voId,theme:"resource-theme"},this.dialog.open(J.p,m).afterClosed().subscribe(F=>{F&&(this.translate.get("VO_DETAIL.RESOURCES.TAGS.CREATE_SUCCESS").subscribe(z=>{this.notificator.showSuccess(z)}),this.updateData())})}updateData(){this.loading=!0,this.selection.clear(),this.resourcesManager.getAllResourcesTagsForResource(this.resource.id).subscribe(m=>{this.resourceTags=m,this.selection.clear(),this.loading=!1})}setAuthRights(){const m={id:this.resource.voId,beanName:"Vo"};this.displayedColumns=[],this.createAuth=this.authResolver.isAuthorized("createResourceTag_ResourceTag_Vo_policy",[m]),this.addAuth=this.authResolver.isAuthorized("assignResourceTagToResource_ResourceTag_Resource_policy",[this.resource]),this.removeAuth=this.authResolver.isAuthorized("removeResourceTagFromResource_ResourceTag_Resource_policy",[this.resource]),this.displayedColumns=this.removeAuth?["select","id","name"]:["id","name"]}applyFilter(m){this.filterValue=m}}return U.\u0275fac=function(m){return new(m||U)(e.Y36(S.x4),e.Y36(b.xk),e.Y36(t.uw),e.Y36(S.V6),e.Y36(O.sK),e.Y36(S.fb))},U.\u0275cmp=e.Xpm({type:U,selectors:[["app-perun-web-apps-resource-tags"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2 action-button","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"selection","tableId","resourceTags","filterValue","displayedColumns","entity",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"selection","tableId","resourceTags","filterValue","displayedColumns","entity"]],template:function(m,C){1&m&&(e.TgZ(0,"h1",0),e._uU(1),e.ALo(2,"translate"),e.qZA(),e.TgZ(3,"perun-web-apps-refresh-button",1),e.NdJ("refresh",function(){return C.updateData()}),e.qZA(),e.YNc(4,N,3,3,"button",2),e.YNc(5,H,3,3,"button",2),e.YNc(6,W,3,4,"button",3),e.TgZ(7,"perun-web-apps-immediate-filter",4),e.NdJ("filter",function(z){return C.applyFilter(z)}),e.qZA(),e.YNc(8,ee,1,0,"mat-spinner",5),e.YNc(9,se,1,6,"app-resources-tags-list",6)),2&m&&(e.xp6(1),e.Oqu(e.lcZ(2,7,"RESOURCE_DETAIL.TAGS.TITLE")),e.xp6(3),e.Q6J("ngIf",C.createAuth),e.xp6(1),e.Q6J("ngIf",C.addAuth),e.xp6(1),e.Q6J("ngIf",C.removeAuth),e.xp6(1),e.Q6J("placeholder","RESOURCE_DETAIL.TAGS.SEARCH"),e.xp6(1),e.Q6J("ngIf",C.loading),e.xp6(1),e.Q6J("ngIf",!C.loading))},directives:[f.t,a.O5,Y.lW,L.L,P.$g,Z.o],pipes:[O.X$],styles:[""]}),U})()},17584:($,Q,i)=>{i.d(Q,{p:()=>O});var b=i(48966),h=i(9315),o=i(5e3),p=i(69808),S=i(20773),s=i(67322),t=i(98833),e=i(93075),a=i(47423),P=i(51062);function Z(I,V){1&I&&o._UZ(0,"mat-spinner",6)}function Y(I,V){if(1&I){const y=o.EpF();o.TgZ(0,"div",7),o.TgZ(1,"mat-form-field"),o.TgZ(2,"input",8),o.NdJ("ngModelChange",function(f){return o.CHM(y),o.oxw().name=f}),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-error"),o._uU(5),o.ALo(6,"translate"),o.qZA(),o.qZA(),o.qZA()}if(2&I){const y=o.oxw();o.xp6(2),o.s9C("placeholder",o.lcZ(3,3,"DIALOGS.CREATE_RESOURCE_TAG.NAME")),o.Q6J("ngModel",y.name),o.xp6(3),o.Oqu(o.lcZ(6,5,"DIALOGS.CREATE_RESOURCE_TAG.EMPTY_NAME"))}}let O=(()=>{class I{constructor(y,J,f){this.dialogRef=y,this.data=J,this.resourceManager=f,this.name="",this.loading=!1}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){""!==this.name&&(this.loading=!0,this.resourceManager.createResourceTagWithTagName(this.name,this.data.voId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1))}}return I.\u0275fac=function(y){return new(y||I)(o.Y36(b.so),o.Y36(b.WI),o.Y36(h.xk))},I.\u0275cmp=o.Xpm({type:I,selectors:[["app-create-resource-tag-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","ngModel","ngModelChange"]],template:function(y,J){1&y&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.YNc(4,Z,1,0,"mat-spinner",1),o.YNc(5,Y,7,7,"div",2),o.TgZ(6,"div",3),o.TgZ(7,"button",4),o.NdJ("click",function(){return J.onCancel()}),o._uU(8),o.ALo(9,"translate"),o.qZA(),o.TgZ(10,"button",5),o.NdJ("click",function(){return J.onSubmit()}),o._uU(11),o.ALo(12,"translate"),o.qZA(),o.qZA(),o.qZA()),2&y&&(o.Tol(J.theme),o.xp6(2),o.Oqu(o.lcZ(3,9,"DIALOGS.CREATE_RESOURCE_TAG.TITLE")),o.xp6(2),o.Q6J("ngIf",J.loading),o.xp6(1),o.Q6J("ngIf",!J.loading),o.xp6(3),o.hij(" ",o.lcZ(9,11,"DIALOGS.CREATE_RESOURCE_TAG.CANCEL")," "),o.xp6(2),o.Q6J("disabled",J.loading),o.xp6(1),o.hij(" ",o.lcZ(12,13,"DIALOGS.CREATE_RESOURCE_TAG.CREATE")," "))},directives:[b.uh,p.O5,S.$g,b.xY,s.KE,t.Nt,e.Fj,e.Q7,e.JJ,e.On,s.TO,b.H8,a.lW],pipes:[P.X$],styles:[""]}),I})()},69815:($,Q,i)=>{i.d(Q,{s:()=>Ne});var b=i(20449),h=i(48966),o=i(36908),p=i(9315),S=i(10036),s=i(64080),t=i(93075),e=i(5e3),a=i(51062),P=i(30325),Z=i(67322),Y=i(74107),O=i(69808),I=i(90508),V=i(98833),y=i(50301),J=i(47423),f=i(20773),L=i(98380),N=i(64877);let H=(()=>{class r{constructor(n){this.translate=n,this.prefix="ROLES."}transform(n){const _=this.prefix.concat(n);return this.translate.instant(_)}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(a.sK,16))},r.\u0275pipe=e.Yjl({name:"displayedRole",type:r,pure:!0}),r})();function W(r,v){if(1&r&&(e.TgZ(0,"mat-option",15),e._uU(1),e.ALo(2,"displayedRole"),e.qZA()),2&r){const n=v.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(e.lcZ(2,2,n))}}function ee(r,v){1&r&&e._UZ(0,"mat-spinner",16)}function se(r,v){1&r&&(e.TgZ(0,"app-alert",20),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"DIALOGS.ADD_MANAGERS.NO_USERS_FOUND")," "))}const oe=function(){return["select","id","name","email","logins","organization"]};function U(r,v){if(1&r&&e._UZ(0,"app-users-list",21),2&r){const n=e.oxw(2);e.Q6J("tableId",n.tableId)("disableRouting",!0)("selection",n.selection)("displayedColumns",e.DdM(5,oe))("users",n.users)}}function j(r,v){if(1&r&&(e.TgZ(0,"div",17),e.YNc(1,se,3,3,"app-alert",18),e.YNc(2,U,1,6,"app-users-list",19),e.qZA()),2&r){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",0===n.users.length&&n.firstSearchDone),e.xp6(1),e.Q6J("ngIf",0!==n.users.length)}}let m=(()=>{class r{constructor(n,_,D,K,ae,le,ue,he,fe){this.dialogRef=n,this.data=_,this.authzService=D,this.usersService=K,this.translate=ae,this.notificator=le,this.storeService=ue,this.route=he,this.router=fe,this.selection=new b.Ov(!0,[]),this.users=[],this.firstSearchDone=!1,this.tableId=S.H2,ae.get("DIALOGS.ADD_MANAGERS.TITLE").subscribe(_e=>this.title=_e),ae.get("DIALOGS.ADD_MANAGERS.SUCCESS").subscribe(_e=>this.successMessage=_e)}ngOnInit(){this.theme=this.data.theme,this.availableRoles=this.data.availableRoles,this.selectedRole=this.data.selectedRole,this.searchCtrl=new t.NI("",[t.kI.required,t.kI.pattern(".*[\\S]+.*")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.authzService.setRoleWithUserComplementaryObject({role:this.selectedRole,users:this.selection.selected.map(n=>n.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}onSearchByString(){if(this.searchCtrl.invalid)return void this.searchCtrl.markAllAsTouched();this.loading=!0,this.selection.clear();let n=[s.r.USER_DEF_ORGANIZATION,s.r.USER_DEF_PREFERRED_MAIL];n=n.concat(this.storeService.getLoginAttributeNames()),this.usersService.findRichUsersWithAttributes(this.searchCtrl.value,n).subscribe(_=>{this.users=_,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1)}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(h.so),e.Y36(h.WI),e.Y36(p.Ct),e.Y36(p.Fv),e.Y36(a.sK),e.Y36(o.V6),e.Y36(o.d6),e.Y36(P.gz),e.Y36(P.F0))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-add-manager-dialog"]],decls:32,vars:31,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"inline-dialog-items"],[1,"mr-2"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"mr-2","w-100"],["matInput","","autocomplete","false","data-cy","search-manager-input","perunWebAppsAutoFocus","",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent","data-cy","search-manager-button",1,"ml-auto",3,"disabled","click"],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent","data-cy","add-manager-button-dialog",1,"ml-2",3,"disabled","click"],[3,"value"],[1,"mr-auto","ml-auto"],[1,"mt-3"],["alert_type","warn",4,"ngIf"],[3,"tableId","disableRouting","selection","displayedColumns","users",4,"ngIf"],["alert_type","warn"],[3,"tableId","disableRouting","selection","displayedColumns","users"]],template:function(n,_){1&n&&(e.TgZ(0,"div"),e.TgZ(1,"h1",0),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",1),e.TgZ(5,"div",2),e.TgZ(6,"mat-form-field",3),e.TgZ(7,"mat-label"),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"mat-select",4),e.NdJ("valueChange",function(K){return _.selectedRole=K}),e.YNc(11,W,3,4,"mat-option",5),e.qZA(),e.qZA(),e.TgZ(12,"mat-form-field",6),e.TgZ(13,"label"),e.TgZ(14,"input",7),e.NdJ("keyup.enter",function(){return _.onSearchByString()}),e.ALo(15,"translate"),e.qZA(),e.qZA(),e.TgZ(16,"mat-error"),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(19,"button",8),e.NdJ("click",function(){return _.onSearchByString()}),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.TgZ(22,"div",9),e.YNc(23,ee,1,0,"mat-spinner",10),e.qZA(),e.YNc(24,j,3,2,"div",11),e.qZA(),e.TgZ(25,"div",12),e.TgZ(26,"button",13),e.NdJ("click",function(){return _.onCancel()}),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.TgZ(29,"button",14),e.NdJ("click",function(){return _.onSubmit()}),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.qZA(),e.qZA()),2&n&&(e.Tol(_.theme),e.xp6(2),e.Oqu(e.lcZ(3,17,"DIALOGS.ADD_MANAGERS.TITLE")),e.xp6(6),e.Oqu(e.lcZ(9,19,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),e.xp6(2),e.Q6J("value",_.selectedRole),e.xp6(1),e.Q6J("ngForOf",_.availableRoles),e.xp6(3),e.s9C("placeholder",e.lcZ(15,21,"DIALOGS.ADD_MANAGERS.DESCRIPTION")),e.Q6J("formControl",_.searchCtrl),e.xp6(3),e.hij(" ",e.lcZ(18,23,"DIALOGS.ADD_MANAGERS.EMPTY_SEARCH_MESSAGE")," "),e.xp6(2),e.Q6J("disabled",_.loading),e.xp6(1),e.hij(" ",e.lcZ(21,25,"DIALOGS.ADD_MANAGERS.SEARCH")," "),e.xp6(3),e.Q6J("ngIf",_.loading),e.xp6(1),e.Q6J("ngIf",null!==_.users&&!_.loading),e.xp6(3),e.hij(" ",e.lcZ(28,27,"DIALOGS.ADD_MANAGERS.CANCEL")," "),e.xp6(2),e.Q6J("disabled",0===_.selection.selected.length||void 0===_.selectedRole||_.loading),e.xp6(1),e.hij(" ",e.lcZ(31,29,"DIALOGS.ADD_MANAGERS.CREATE")," "))},directives:[h.uh,h.xY,Z.KE,Z.hX,Y.gD,O.sg,I.ey,V.Nt,t.Fj,y.hT,t.JJ,t.oH,Z.TO,J.lW,O.O5,f.$g,L.w,N.C,h.H8],pipes:[a.X$,H],styles:[".inline-dialog-items[_ngcontent-%COMP%]{display:flex;align-items:flex-end}"]}),r})();var C=i(32075);function F(r,v){1&r&&e._UZ(0,"th",15)}function z(r,v){if(1&r&&(e.TgZ(0,"td",16),e._uU(1),e.qZA()),2&r){const n=v.$implicit;e.xp6(1),e.AsE("",n.firstName," ",n.lastName,"")}}function ie(r,v){1&r&&e._UZ(0,"tr",17)}function ne(r,v){1&r&&e._UZ(0,"tr",18)}const re=function(r){return{role:r}};function x(r,v){if(1&r&&(e.TgZ(0,"app-alert",19),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"displayedRole"),e.qZA()),2&r){const n=e.oxw(2);e.xp6(1),e.hij(" ",e.xi3(2,1,"DIALOGS.REMOVE_MANAGERS.WARNING_REMOVE_YOURSELF",e.VKq(6,re,e.lcZ(3,4,n.data.role)))," ")}}function T(r,v){if(1&r&&(e.TgZ(0,"div",6),e.TgZ(1,"p"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",7),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"table",8),e.ynx(8,9),e.YNc(9,F,1,0,"th",10),e.YNc(10,z,2,2,"td",11),e.BQk(),e.YNc(11,ie,1,0,"tr",12),e.YNc(12,ne,1,0,"tr",13),e.qZA(),e.YNc(13,x,4,8,"app-alert",14),e.qZA()),2&r){const n=e.oxw();e.xp6(2),e.hij(" ",e.lcZ(3,6,"DIALOGS.REMOVE_MANAGERS.DESCRIPTION")," "),e.xp6(3),e.hij(" ",e.lcZ(6,8,"DIALOGS.REMOVE_MANAGERS.ASK")," "),e.xp6(2),e.Q6J("dataSource",n.dataSource),e.xp6(4),e.Q6J("matHeaderRowDef",n.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",n.displayedColumns),e.xp6(1),e.Q6J("ngIf",n.removeSelf)}}function d(r,v){1&r&&e._UZ(0,"mat-spinner",20)}let l=(()=>{class r{constructor(n,_,D,K,ae,le,ue){this.dialogRef=n,this.data=_,this.notificator=D,this.translate=K,this.authzService=ae,this.store=le,this.authService=ue,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new C.by(this.data.managers),this.theme=this.data.theme,this.removeSelf=this.data.managers.map(n=>n.id).includes(this.store.getPerunPrincipal().userId)&&!this.authService.isPerunAdmin()}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.authzService.unsetRoleWithUserComplementaryObject({role:this.data.role,users:this.data.managers.map(n=>n.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_MANAGERS.SUCCESS").subscribe(n=>{this.notificator.showSuccess(n),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(h.so),e.Y36(h.WI),e.Y36(o.V6),e.Y36(a.sK),e.Y36(p.Ct),e.Y36(o.d6),e.Y36(o.x4))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-remove-manager-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","remove-manager-button-dialog",1,"ml-2",3,"disabled","click"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["alert_type","warn"],[1,"mr-auto","ml-auto"]],template:function(n,_){1&n&&(e.TgZ(0,"div"),e.TgZ(1,"h1",0),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.YNc(4,T,14,10,"div",1),e.YNc(5,d,1,0,"mat-spinner",2),e.TgZ(6,"div",3),e.TgZ(7,"button",4),e.NdJ("click",function(){return _.onCancel()}),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"button",5),e.NdJ("click",function(){return _.onSubmit()}),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.qZA(),e.qZA()),2&n&&(e.Tol(_.theme),e.xp6(2),e.Oqu(e.lcZ(3,9,"DIALOGS.REMOVE_MANAGERS.TITLE")),e.xp6(2),e.Q6J("ngIf",!_.loading),e.xp6(1),e.Q6J("ngIf",_.loading),e.xp6(3),e.hij(" ",e.lcZ(9,11,"DIALOGS.REMOVE_MANAGERS.CANCEL")," "),e.xp6(2),e.Q6J("disabled",_.loading),e.xp6(1),e.hij(" ",e.lcZ(12,13,"DIALOGS.REMOVE_MANAGERS.DELETE")," "))},directives:[h.uh,O.O5,h.xY,C.BZ,C.w1,C.fO,C.ge,C.Dz,C.ev,C.as,C.XQ,C.nj,C.Gk,L.w,f.$g,h.H8,J.lW],pipes:[a.X$,H],styles:[""]}),r})();function g(r,v){1&r&&e._UZ(0,"mat-spinner",6)}function u(r,v){1&r&&e._UZ(0,"th",15)}function A(r,v){if(1&r&&(e.TgZ(0,"td",16),e._uU(1),e.qZA()),2&r){const n=v.$implicit;e.xp6(1),e.Oqu(n.name)}}function G(r,v){1&r&&e._UZ(0,"tr",17)}function q(r,v){1&r&&e._UZ(0,"tr",18)}function X(r,v){if(1&r&&(e.TgZ(0,"div",7),e.TgZ(1,"p"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",8),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"table",9),e.ynx(8,10),e.YNc(9,u,1,0,"th",11),e.YNc(10,A,2,1,"td",12),e.BQk(),e.YNc(11,G,1,0,"tr",13),e.YNc(12,q,1,0,"tr",14),e.qZA(),e.qZA()),2&r){const n=e.oxw();e.xp6(2),e.hij(" ",e.lcZ(3,5,"DIALOGS.REMOVE_GROUPS.DESCRIPTION")," "),e.xp6(3),e.hij(" ",e.lcZ(6,7,"DIALOGS.REMOVE_GROUPS.ASK")," "),e.xp6(2),e.Q6J("dataSource",n.dataSource),e.xp6(4),e.Q6J("matHeaderRowDef",n.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",n.displayedColumns)}}let ce=(()=>{class r{constructor(n,_,D,K,ae){this.dialogRef=n,this.data=_,this.notificator=D,this.translate=K,this.authzService=ae,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new C.by(this.data.groups),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.authzService.unsetRoleWithGroupComplementaryObject({role:this.data.role,authorizedGroups:this.data.groups.map(n=>n.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_GROUPS.SUCCESS").subscribe(n=>{this.notificator.showSuccess(n),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(h.so),e.Y36(h.WI),e.Y36(o.V6),e.Y36(a.sK),e.Y36(p.Ct))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-remove-group-manager-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(n,_){1&n&&(e.TgZ(0,"div"),e.TgZ(1,"h1",0),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.YNc(4,g,1,0,"mat-spinner",1),e.YNc(5,X,13,9,"div",2),e.TgZ(6,"div",3),e.TgZ(7,"button",4),e.NdJ("click",function(){return _.onCancel()}),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"button",5),e.NdJ("click",function(){return _.onSubmit()}),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.qZA(),e.qZA()),2&n&&(e.Tol(_.theme),e.xp6(2),e.Oqu(e.lcZ(3,9,"DIALOGS.REMOVE_GROUPS.TITLE")),e.xp6(2),e.Q6J("ngIf",_.loading),e.xp6(1),e.Q6J("ngIf",!_.loading),e.xp6(3),e.hij(" ",e.lcZ(9,11,"DIALOGS.REMOVE_GROUPS.CANCEL")," "),e.xp6(2),e.Q6J("disabled",_.loading),e.xp6(1),e.hij(" ",e.lcZ(12,13,"DIALOGS.REMOVE_GROUPS.DELETE")," "))},directives:[h.uh,O.O5,f.$g,h.xY,C.BZ,C.w1,C.fO,C.ge,C.Dz,C.ev,C.as,C.XQ,C.nj,C.Gk,h.H8,J.lW],pipes:[a.X$],styles:[""]}),r})();var R=i(1059),w=i(24850),c=i(91079),E=i(64901),M=i(24179);function k(r,v){if(1&r&&(e.TgZ(0,"mat-option",17),e._uU(1),e.ALo(2,"displayedRole"),e.qZA()),2&r){const n=v.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(e.lcZ(2,2,n))}}function B(r,v){if(1&r&&(e.TgZ(0,"mat-option",17),e._uU(1),e.qZA()),2&r){const n=v.$implicit;e.Q6J("value",n),e.xp6(1),e.hij(" ",n.name," ")}}function te(r,v){if(1&r){const n=e.EpF();e.TgZ(0,"perun-web-apps-debounce-filter",18),e.NdJ("filter",function(D){return e.CHM(n),e.oxw().applyFilter(D)}),e.ALo(1,"translate"),e.qZA()}2&r&&e.s9C("placeholder",e.lcZ(1,1,"DIALOGS.ADD_GROUPS.FILTER_GROUPS"))}function pe(r,v){1&r&&e._UZ(0,"mat-spinner",19)}const me=function(){return["select","id","name","description"]};function Ae(r,v){if(1&r&&(e.TgZ(0,"div",20),e._UZ(1,"perun-web-apps-groups-list",21),e.qZA()),2&r){const n=e.oxw();e.xp6(1),e.Q6J("tableId",n.tableId)("disableRouting",!0)("displayedColumns",e.DdM(7,me))("selection",n.selection)("filter",n.filterValue)("groups",n.groups)("disableMembers",!1)}}let Re=(()=>{class r{constructor(n,_,D,K,ae,le,ue,he,fe){this.dialogRef=n,this.data=_,this.authzService=D,this.voService=K,this.groupService=ae,this.translate=le,this.notificator=ue,this.route=he,this.router=fe,this.searchString="",this.selection=new b.Ov(!0,[]),this.groups=[],this.vos=[],this.filterValue="",this.myControl=new t.NI,this.firstSearchDone=!1,this.tableId=S.kZ,le.get("DIALOGS.ADD_GROUPS.TITLE").subscribe(_e=>this.title=_e),le.get("DIALOGS.ADD_GROUPS.SUCCESS").subscribe(_e=>this.successMessage=_e)}displayFn(n){return n?n.name:null}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,this.authzService.setRoleWithGroupComplementaryObject({role:this.selectedRole,authorizedGroups:this.selection.selected.map(n=>n.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}ngOnInit(){this.loading=!0,this.availableRoles=this.data.availableRoles,this.selectedRole=this.data.selectedRole,this.theme=this.data.theme,this.voService.getMyVos().subscribe(n=>{this.filteredOptions=this.myControl.valueChanges.pipe((0,R.O)(""),(0,w.U)(_=>this._filter(_))),this.vos=n,this.loading=!1},()=>this.loading=!1)}_filter(n){const _="string"==typeof n?n.toLowerCase():n.name.toLowerCase;return this.vos.filter(D=>D.name.toLowerCase().includes(_))}showVoGroups(n){this.loading=!0,this.groupService.getAllGroups(n.option.value.id).subscribe(_=>{this.groups=_,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1)}applyFilter(n){this.filterValue=n}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(h.so),e.Y36(h.WI),e.Y36(p.Ct),e.Y36(p.YF),e.Y36(p.ff),e.Y36(a.sK),e.Y36(o.V6),e.Y36(P.gz),e.Y36(P.F0))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-add-group-manager-dialog"]],decls:33,vars:33,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"inline-dialog-items"],[1,"mr-2"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"mr-2","w-75"],["type","text","aria-label","Assignee","matInput","",3,"placeholder","formControl","matAutocomplete"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],[3,"placeholder","filter",4,"ngIf"],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"value"],[3,"placeholder","filter"],[1,"mr-auto","ml-auto"],[1,"mt-3"],[3,"tableId","disableRouting","displayedColumns","selection","filter","groups","disableMembers"]],template:function(n,_){if(1&n&&(e.TgZ(0,"div"),e.TgZ(1,"h1",0),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",1),e.TgZ(5,"div",2),e.TgZ(6,"mat-form-field",3),e.TgZ(7,"mat-label"),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"mat-select",4),e.NdJ("valueChange",function(K){return _.selectedRole=K}),e.YNc(11,k,3,4,"mat-option",5),e.qZA(),e.qZA(),e.TgZ(12,"mat-form-field",6),e.TgZ(13,"mat-label"),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._UZ(16,"input",7),e.ALo(17,"translate"),e.TgZ(18,"mat-autocomplete",8,9),e.NdJ("optionSelected",function(K){return _.showVoGroups(K)}),e.YNc(20,B,2,2,"mat-option",5),e.ALo(21,"async"),e.qZA(),e.qZA(),e.qZA(),e.YNc(22,te,2,3,"perun-web-apps-debounce-filter",10),e.TgZ(23,"div",11),e.YNc(24,pe,1,0,"mat-spinner",12),e.qZA(),e.YNc(25,Ae,2,8,"div",13),e.qZA(),e.TgZ(26,"div",14),e.TgZ(27,"button",15),e.NdJ("click",function(){return _.onCancel()}),e._uU(28),e.ALo(29,"translate"),e.qZA(),e.TgZ(30,"button",16),e.NdJ("click",function(){return _.onSubmit()}),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.qZA(),e.qZA()),2&n){const D=e.MAs(19);e.Tol(_.theme),e.xp6(2),e.Oqu(e.lcZ(3,19,"DIALOGS.ADD_GROUPS.TITLE")),e.xp6(6),e.Oqu(e.lcZ(9,21,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),e.xp6(2),e.Q6J("value",_.selectedRole),e.xp6(1),e.Q6J("ngForOf",_.availableRoles),e.xp6(3),e.Oqu(e.lcZ(15,23,"DIALOGS.ADD_GROUPS.SELECT_VO")),e.xp6(2),e.s9C("placeholder",e.lcZ(17,25,"DIALOGS.ADD_GROUPS.SELECT_VO")),e.Q6J("formControl",_.myControl)("matAutocomplete",D),e.xp6(2),e.Q6J("displayWith",_.displayFn),e.xp6(2),e.Q6J("ngForOf",e.lcZ(21,27,_.filteredOptions)),e.xp6(2),e.Q6J("ngIf",null!==_.groups&&_.groups.length>0&&!_.loading),e.xp6(2),e.Q6J("ngIf",_.loading),e.xp6(1),e.Q6J("ngIf",null!==_.groups&&!_.loading),e.xp6(3),e.hij(" ",e.lcZ(29,29,"DIALOGS.ADD_MANAGERS.CANCEL")," "),e.xp6(2),e.Q6J("disabled",0===_.selection.selected.length||_.loading),e.xp6(1),e.hij(" ",e.lcZ(32,31,"DIALOGS.ADD_MANAGERS.CREATE")," ")}},directives:[h.uh,h.xY,Z.KE,Z.hX,Y.gD,O.sg,I.ey,V.Nt,t.Fj,c.ZL,t.JJ,t.oH,c.XC,O.O5,E.P,f.$g,M.W,h.H8,J.lW],pipes:[a.X$,H,O.Ov],styles:[""]}),r})();var ge=i(9244),Te=i(15003),de=i(53251),Ee=i(96214);function Ce(r,v){1&r&&(e._uU(0),e.ALo(1,"translate")),2&r&&e.hij(" ",e.lcZ(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.USER")," ")}function ve(r,v){if(1&r){const n=e.EpF();e.TgZ(0,"button",13),e.NdJ("click",function(){return e.CHM(n),e.oxw(2).addManager()}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function Se(r,v){if(1&r){const n=e.EpF();e.TgZ(0,"button",14),e.NdJ("click",function(){return e.CHM(n),e.oxw(2).removeManager()}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&r){const n=e.oxw(2);e.Q6J("disabled",0===n.selectionUsers.selected.length),e.xp6(1),e.hij(" ",e.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function be(r,v){if(1&r&&(e.TgZ(0,"mat-option",15),e._uU(1),e.ALo(2,"displayedRole"),e.qZA()),2&r){const n=v.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(e.lcZ(2,2,n))}}function Oe(r,v){1&r&&e._UZ(0,"mat-spinner",16)}function Ie(r,v){if(1&r&&e._UZ(0,"app-users-list",17),2&r){const n=e.oxw(2);e.Q6J("tableId",n.tableId)("users",n.managers)("disableRouting",!n.routeAuth||n.disableRouting)("displayedColumns",n.displayedUserColumns)("selection",n.selectionUsers)("disableSelf",n.disableSelf)}}function De(r,v){if(1&r){const n=e.EpF();e.TgZ(0,"perun-web-apps-refresh-button",5),e.NdJ("refresh",function(){return e.CHM(n),e.oxw().refreshUsers()}),e.qZA(),e.YNc(1,ve,3,3,"button",6),e.YNc(2,Se,3,4,"button",7),e.TgZ(3,"mat-form-field",8),e.TgZ(4,"mat-label"),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"mat-select",9),e.NdJ("valueChange",function(D){return e.CHM(n),e.oxw().selectedRole=D})("selectionChange",function(){return e.CHM(n),e.oxw().refreshUsers()}),e.YNc(8,be,3,4,"mat-option",10),e.qZA(),e.qZA(),e.YNc(9,Oe,1,0,"mat-spinner",11),e.YNc(10,Ie,1,6,"app-users-list",12)}if(2&r){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.manageAuth&&!n.configMode),e.xp6(1),e.Q6J("ngIf",n.manageAuth&&!n.configMode),e.xp6(3),e.Oqu(e.lcZ(6,7,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),e.xp6(2),e.Q6J("value",n.selectedRole),e.xp6(1),e.Q6J("ngForOf",n.availableRoles),e.xp6(1),e.Q6J("ngIf",n.loading),e.xp6(1),e.Q6J("ngIf",!n.loading&&n.managers)}}function Ze(r,v){1&r&&(e._uU(0),e.ALo(1,"translate")),2&r&&e.hij(" ",e.lcZ(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.GROUP")," ")}function Me(r,v){if(1&r){const n=e.EpF();e.TgZ(0,"button",21),e.NdJ("click",function(){return e.CHM(n),e.oxw(2).addGroup()}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function xe(r,v){if(1&r){const n=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){return e.CHM(n),e.oxw(2).removeGroup()}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&r){const n=e.oxw(2);e.Q6J("disabled",0===n.selectionGroups.selected.length),e.xp6(1),e.hij(" ",e.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function Ue(r,v){if(1&r&&(e.TgZ(0,"mat-option",15),e._uU(1),e.ALo(2,"displayedRole"),e.qZA()),2&r){const n=v.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(e.lcZ(2,2,n))}}function ye(r,v){1&r&&e._UZ(0,"mat-spinner",16)}function Le(r,v){if(1&r&&e._UZ(0,"perun-web-apps-groups-list",23),2&r){const n=e.oxw(2);e.Q6J("tableId",n.tableId)("disableRouting",n.disableRouting)("displayedColumns",n.displayedGroupColumns)("groups",n.groups)("selection",n.selectionGroups)("disableMembers",!1)}}function Ge(r,v){if(1&r){const n=e.EpF();e.TgZ(0,"perun-web-apps-refresh-button",5),e.NdJ("refresh",function(){return e.CHM(n),e.oxw().refreshGroups()}),e.qZA(),e.YNc(1,Me,3,3,"button",18),e.YNc(2,xe,3,4,"button",19),e.TgZ(3,"mat-form-field",8),e.TgZ(4,"mat-label"),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"mat-select",9),e.NdJ("valueChange",function(D){return e.CHM(n),e.oxw().selectedRole=D})("selectionChange",function(){return e.CHM(n),e.oxw().refreshGroups()}),e.YNc(8,Ue,3,4,"mat-option",10),e.qZA(),e.qZA(),e.YNc(9,ye,1,0,"mat-spinner",11),e.YNc(10,Le,1,6,"perun-web-apps-groups-list",20)}if(2&r){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.manageAuth&&!n.configMode),e.xp6(1),e.Q6J("ngIf",n.manageAuth&&!n.configMode),e.xp6(3),e.Oqu(e.lcZ(6,7,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),e.xp6(2),e.Q6J("value",n.selectedRole),e.xp6(1),e.Q6J("ngForOf",n.availableRoles),e.xp6(1),e.Q6J("ngIf",n.loading),e.xp6(1),e.Q6J("ngIf",!n.loading&&n.groups)}}function Pe(r,v){1&r&&(e.TgZ(0,"app-alert",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.NO_AVAILABLE_ROLES"),"\n"))}let Ne=(()=>{class r{constructor(n,_,D,K,ae,le,ue){this.dialog=n,this.authzService=_,this.storeService=D,this.guiAuthResolver=K,this.router=ae,this.reloadEntityDetail=le,this.route=ue,this.groups=null,this.managers=null,this.configMode=!1,this.disableRouting=!1,this.disableSelf=!1,this.displayedUserColumns=["select","id","name","email","logins","organization"],this.displayedGroupColumns=["select","id","vo","name","description"],this.selectionUsers=new b.Ov(!0,[]),this.selectionGroups=new b.Ov(!0,[]),this.selectedMode="",this.loading=!1,this.tableId=S.HC,this.availableRolesPrivileges=new Map}ngOnInit(){this.loading=!0,this.routeAuth=this.guiAuthResolver.isPerunAdminOrObserver(),this.guiAuthResolver.getRolesAuthorization(this.availableRoles,this.complementaryObject,this.availableRolesPrivileges),this.availableRoles=this.availableRoles.filter(n=>this.availableRolesPrivileges.get(n).readAuth),0!==this.availableRoles.length&&(this.selectedRole=this.availableRoles[0]),this.refreshUsers()}changeRolePrivileges(){this.guiAuthResolver.getRolesAuthorization(this.availableRoles,this.complementaryObject,this.availableRolesPrivileges),this.availableRoles=this.availableRoles.filter(_=>this.availableRolesPrivileges.get(_).readAuth),this.manageAuth=this.availableRolesPrivileges.get(this.selectedRole).manageAuth,this.displayedUserColumns=this.manageAuth?this.displayedUserColumns:this.displayedUserColumns.filter(_=>"select"!==_),this.displayedGroupColumns=this.manageAuth?this.displayedGroupColumns:this.displayedGroupColumns.filter(_=>"select"!==_),this.roleModes=this.availableRolesPrivileges.get(this.selectedRole).modes;let n=!1;for(const _ of this.roleModes)if(this.selectedMode===_.toLowerCase()){n=!0;break}n||(this.selectedMode=this.roleModes[0].toLowerCase())}tabChanged(n){this.loading=!0,0===n.index?(this.selectedMode="user",this.refreshUsers()):(this.selectedMode="group",this.refreshGroups())}refreshUsers(){this.loading=!0,this.changeRolePrivileges();let n=[s.r.USER_DEF_ORGANIZATION,s.r.USER_DEF_PREFERRED_MAIL];n=n.concat(this.storeService.getLoginAttributeNames()),this.authzService.getAuthzRichAdmins(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType,n,!1,!0).subscribe(_=>{this.managers=_,this.selectionUsers.clear(),this.loading=!1},()=>{this.loading=!1})}refreshGroups(){this.loading=!0,this.changeRolePrivileges(),this.authzService.getAuthzAdminGroups(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType).subscribe(n=>{this.groups=n,this.selectionGroups.clear(),this.loading=!1},()=>{this.loading=!1})}addManager(){const n=(0,ge.kZ)();n.width="1000px",n.data={complementaryObject:this.complementaryObject,theme:this.theme,availableRoles:this.availableRoles,selectedRole:this.selectedRole},this.dialog.open(m,n).afterClosed().subscribe(D=>{D&&this.refreshUsers()})}removeManager(){const n=(0,ge.kZ)();n.width="450px",n.data={managers:this.selectionUsers.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(l,n).afterClosed().subscribe(D=>{D&&(this.guiAuthResolver.isManagerPagePrivileged(this.complementaryObject)?this.reloadEntityDetail.reloadEntityDetail():this.redirectToAuthRoute())})}removeGroup(){const n=(0,ge.kZ)();n.width="450px",n.data={groups:this.selectionGroups.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(ce,n).afterClosed().subscribe(D=>{D&&(this.guiAuthResolver.isManagerPagePrivileged(this.complementaryObject)?(this.reloadEntityDetail.reloadEntityDetail(),this.refreshGroups()):this.redirectToAuthRoute())})}addGroup(){const n=(0,ge.kZ)();n.width="1000px",n.data={complementaryObject:this.complementaryObject,availableRoles:this.availableRoles,theme:this.theme,selectedRole:this.selectedRole},this.dialog.open(Re,n).afterClosed().subscribe(D=>{D&&this.refreshGroups()})}redirectToAuthRoute(){if("Group"===this.complementaryObjectType&&(this.guiAuthResolver.isAuthorized("getGroupById_int_policy",[this.complementaryObject])||this.guiAuthResolver.isAuthorized("getVoById_int_policy",[this.complementaryObject])))this.guiAuthResolver.isAuthorized("getGroupById_int_policy",[this.complementaryObject])?this.router.navigate(["/organizations",this.complementaryObject.voId,"groups",this.complementaryObject.id],{relativeTo:this.route,queryParamsHandling:"merge"}):this.guiAuthResolver.isAuthorized("getVoById_int_policy",[this.complementaryObject])&&this.router.navigate(["/organizations",this.complementaryObject.voId],{queryParamsHandling:"merge"});else if("Facility"===this.complementaryObjectType&&this.guiAuthResolver.isAuthorized("getFacilityById_int_policy",[this.complementaryObject]))this.router.navigate(["/facilities",this.complementaryObject.id],{relativeTo:this.route,queryParamsHandling:"merge"});else if("Vo"===this.complementaryObjectType&&this.guiAuthResolver.isAuthorized("getVoById_int_policy",[this.complementaryObject]))this.router.navigate(["/organizations",this.complementaryObject.id],{relativeTo:this.route,queryParamsHandling:"merge"});else{if("Resource"!==this.complementaryObjectType||!this.guiAuthResolver.isAuthorized("getRichResourceById_int_policy",[this.complementaryObject]))return void this.router.navigate(["/home"],{queryParamsHandling:"merge"});this.router.navigate(["../../"],{relativeTo:this.route,queryParamsHandling:"merge"})}this.reloadEntityDetail.reloadEntityDetail()}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(h.uw),e.Y36(p.Ct),e.Y36(o.d6),e.Y36(o.x4),e.Y36(P.F0),e.Y36(Te.G),e.Y36(P.gz))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-managers-page"]],hostVars:2,hostBindings:function(n,_){2&n&&e.ekj("router-component",_.true)},inputs:{complementaryObject:"complementaryObject",availableRoles:"availableRoles",complementaryObjectType:"complementaryObjectType",theme:"theme",configMode:"configMode",disableRouting:"disableRouting",disableSelf:"disableSelf",displayedUserColumns:"displayedUserColumns",displayedGroupColumns:"displayedGroupColumns"},decls:11,vars:4,consts:[[1,"page-subtitle"],[3,"selectedTabChange"],["matTabLabel",""],["matTabContent",""],["alert_type","warn",4,"ngIf"],[1,"mt-2",3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 mt-2 action-button","data-cy","add-manager-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2 mt-2","data-cy","remove-manager-button",3,"disabled","click",4,"ngIf"],[1,"mr-2","mt-2"],[3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","users","disableRouting","displayedColumns","selection","disableSelf",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","add-manager-button",1,"mr-2","mt-2","action-button",3,"click"],["mat-flat-button","","color","warn","data-cy","remove-manager-button",1,"mr-2","mt-2",3,"disabled","click"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"tableId","users","disableRouting","displayedColumns","selection","disableSelf"],["mat-flat-button","","color","accent","class","mr-2 mt-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2 mt-2",3,"disabled","click",4,"ngIf"],[3,"tableId","disableRouting","displayedColumns","groups","selection","disableMembers",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","mt-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2","mt-2",3,"disabled","click"],[3,"tableId","disableRouting","displayedColumns","groups","selection","disableMembers"],["alert_type","warn"]],template:function(n,_){1&n&&(e.TgZ(0,"h1",0),e._uU(1),e.ALo(2,"translate"),e.qZA(),e.TgZ(3,"mat-tab-group",1),e.NdJ("selectedTabChange",function(K){return _.tabChanged(K)}),e.TgZ(4,"mat-tab"),e.YNc(5,Ce,2,3,"ng-template",2),e.YNc(6,De,11,9,"ng-template",3),e.qZA(),e.TgZ(7,"mat-tab"),e.YNc(8,Ze,2,3,"ng-template",2),e.YNc(9,Ge,11,9,"ng-template",3),e.qZA(),e.qZA(),e.YNc(10,Pe,3,3,"app-alert",4)),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.TITLE"),"\n"),e.xp6(9),e.Q6J("ngIf",0===_.availableRoles.length))},directives:[de.SP,de.uX,de.uD,de.Vc,Ee.t,O.O5,J.lW,Z.KE,Z.hX,Y.gD,O.sg,I.ey,f.$g,N.C,M.W,L.w],pipes:[a.X$,H],styles:[""]}),r})()},17672:($,Q,i)=>{i.d(Q,{o:()=>x});var b=i(84847),h=i(32075),o=i(20449),p=i(36908),S=i(9315),s=i(9244),t=i(5e3),e=i(51062),a=i(18750),P=i(77446),Z=i(69808),Y=i(67322),O=i(98833),I=i(93075),V=i(47423),y=i(29772),J=i(25245),f=i(98380);function L(T,d){if(1&T){const l=t.EpF();t.TgZ(0,"th",16),t.TgZ(1,"mat-checkbox",17),t.NdJ("change",function(u){t.CHM(l);const A=t.oxw();return u?A.masterToggle():null}),t.qZA(),t.qZA()}if(2&T){const l=t.oxw();t.xp6(1),t.Q6J("aria-label",l.checkboxLabel())("checked",l.selection.hasValue()&&l.isAllSelected())("indeterminate",l.selection.hasValue()&&!l.isAllSelected())}}function N(T,d){if(1&T){const l=t.EpF();t.TgZ(0,"td",18),t.TgZ(1,"mat-checkbox",19),t.NdJ("change",function(u){const G=t.CHM(l).$implicit,q=t.oxw();return u?q.selection.toggle(G):null})("click",function(u){return u.stopPropagation()}),t.qZA(),t.qZA()}if(2&T){const l=d.$implicit,g=t.oxw();t.xp6(1),t.Q6J("aria-label",g.checkboxLabel(l))("checked",g.selection.isSelected(l))}}function H(T,d){1&T&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&T&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.TAG_ID")," "))}function W(T,d){if(1&T&&(t.TgZ(0,"td",21),t._uU(1),t.qZA()),2&T){const l=d.$implicit;t.xp6(1),t.Oqu(l.id)}}function ee(T,d){1&T&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&T&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.TAG_NAME")," "))}function se(T,d){if(1&T&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&T){const l=t.oxw().$implicit;t.xp6(1),t.hij(" ",l.tagName," ")}}function oe(T,d){if(1&T){const l=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"mat-form-field"),t.TgZ(2,"input",25),t.NdJ("ngModelChange",function(u){return t.CHM(l),t.oxw().$implicit.tagName=u}),t.qZA(),t.qZA(),t.qZA()}if(2&T){const l=t.oxw().$implicit;t.xp6(2),t.Q6J("ngModel",l.tagName)}}function U(T,d){if(1&T&&(t.TgZ(0,"td",23),t.YNc(1,se,2,1,"div",24),t.YNc(2,oe,3,1,"div",24),t.qZA()),2&T){const l=d.$implicit,g=t.oxw();t.xp6(1),t.Q6J("ngIf",!g.isChanging.isSelected(l)),t.xp6(1),t.Q6J("ngIf",g.isChanging.isSelected(l))}}function j(T,d){1&T&&t._UZ(0,"th",22)}function m(T,d){if(1&T){const l=t.EpF();t.TgZ(0,"button",28),t.NdJ("click",function(){t.CHM(l);const u=t.oxw().$implicit;return t.oxw().edit(u)}),t.ALo(1,"translate"),t.TgZ(2,"mat-icon"),t._uU(3,"edit"),t.qZA(),t.qZA()}2&T&&t.s9C("matTooltip",t.lcZ(1,1,"VO_DETAIL.RESOURCES.TAGS.EDIT_BUTTON"))}function C(T,d){if(1&T){const l=t.EpF();t.TgZ(0,"button",28),t.NdJ("click",function(){t.CHM(l);const u=t.oxw().$implicit;return t.oxw().save(u)}),t.ALo(1,"translate"),t.TgZ(2,"mat-icon"),t._uU(3,"save"),t.qZA(),t.qZA()}2&T&&t.s9C("matTooltip",t.lcZ(1,1,"VO_DETAIL.RESOURCES.TAGS.SAVE_BUTTON"))}function F(T,d){if(1&T&&(t.TgZ(0,"td",23),t.TgZ(1,"div",26),t.YNc(2,m,4,3,"button",27),t.YNc(3,C,4,3,"button",27),t.qZA(),t.qZA()),2&T){const l=d.$implicit,g=t.oxw();t.xp6(2),t.Q6J("ngIf",!g.isChanging.isSelected(l)),t.xp6(1),t.Q6J("ngIf",g.isChanging.isSelected(l))}}function z(T,d){1&T&&t._UZ(0,"tr",29)}function ie(T,d){1&T&&t._UZ(0,"tr",30)}function ne(T,d){if(1&T&&(t.TgZ(0,"app-alert",31),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"translate"),t.qZA()),2&T){const l=t.oxw();t.xp6(1),t.hij(" ","vo"===l.entity?t.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.NO_TAGS"):t.lcZ(3,3,"RESOURCE_DETAIL.TAGS.NO_TAGS"),"\n")}}function re(T,d){1&T&&(t.TgZ(0,"app-alert",31),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&T&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let x=(()=>{class T{constructor(l,g,u,A,G){this.resourceManager=l,this.notificator=g,this.translator=u,this.authResolver=A,this.tableCheckbox=G,this.resourceTags=[],this.selection=new o.Ov(!0,[]),this.displayedColumns=["select","id","name","edit"],this.isChanging=new o.Ov(!0,[]),this.pageSizeOptions=s.f7}set matSort(l){this.sort=l,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(l=>"id"!==l)),this.dataSource=new h.by(this.resourceTags),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(l,g){switch(g){case"id":return l.id.toString();case"name":return l.tagName;default:return""}}exportData(l){(0,s.O6)((0,s.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),l)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(l,g)=>(0,s.Sd)(l,g,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(l,g)=>(0,s.pR)(l,g,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(l){return l?`${this.selection.isSelected(l)?"deselect":"select"} row ${l.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}save(l){this.resourceManager.updateResourceTag({resourceTag:l}).subscribe(()=>{this.translator.get("SHARED.COMPONENTS.RESOURCES_TAGS_LIST.EDIT_SUCCESS").subscribe(g=>{this.notificator.showSuccess(g)}),this.isChanging.deselect(l)})}edit(l){this.isChanging.select(l)}}return T.\u0275fac=function(l){return new(l||T)(t.Y36(S.xk),t.Y36(p.V6),t.Y36(e.sK),t.Y36(p.x4),t.Y36(p.UA))},T.\u0275cmp=t.Xpm({type:T,selectors:[["app-resources-tags-list"]],viewQuery:function(l,g){if(1&l&&(t.Gf(b.YE,7),t.Gf(s.l9,7)),2&l){let u;t.iGM(u=t.CRH())&&(g.matSort=u.first),t.iGM(u=t.CRH())&&(g.child=u.first)}},inputs:{resourceTags:"resourceTags",filterValue:"filterValue",selection:"selection",tableId:"tableId",displayedColumns:"displayedColumns",entity:"entity"},features:[t.TTD],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","edit"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf"],["matInput","",3,"ngModel","ngModelChange"],[1,"d-flex","justify-content-end"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(l,g){1&l&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(A){return g.exportData(A)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,L,2,3,"th",4),t.YNc(5,N,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,H,3,3,"th",7),t.YNc(8,W,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,ee,3,3,"th",10),t.YNc(11,U,3,2,"td",11),t.BQk(),t.ynx(12,12),t.YNc(13,j,1,0,"th",10),t.YNc(14,F,4,2,"td",11),t.BQk(),t.YNc(15,z,1,0,"tr",13),t.YNc(16,ie,1,0,"tr",14),t.qZA(),t.qZA(),t.qZA(),t.YNc(17,ne,4,5,"app-alert",15),t.YNc(18,re,3,3,"app-alert",15)),2&l&&(t.Q6J("hidden",0===g.resourceTags.length||0===g.dataSource.filteredData.length),t.xp6(1),t.Q6J("tableId",g.tableId)("dataLength",g.dataSource.filteredData.length)("pageSizeOptions",g.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",g.dataSource),t.xp6(13),t.Q6J("matHeaderRowDef",g.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",g.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===g.resourceTags.length),t.xp6(1),t.Q6J("ngIf",0===g.dataSource.filteredData.length&&0!==g.resourceTags.length))},directives:[a.l,h.BZ,b.YE,h.w1,h.fO,h.ge,P.oG,h.Dz,h.ev,b.nU,Z.O5,Y.KE,O.Nt,I.Fj,I.JJ,I.On,V.lW,y.gM,J.Hw,h.as,h.XQ,h.nj,h.Gk,f.w],pipes:[e.X$],styles:[""]}),T})()},90439:($,Q,i)=>{i.d(Q,{F:()=>p});var b=i(5e3),h=i(42377),o=i(51062);let p=(()=>{class S{constructor(){this.servicePackages=[],this.selectedPackage=null,this.multiple=!1,this.disableAutoSelect=!1,this.theme="",this.packageSelected=new b.vpe,this.nameFunction=t=>t.name,this.shortNameFunction=t=>t.description,this.searchFunction=t=>t.name+t.description}}return S.\u0275fac=function(t){return new(t||S)},S.\u0275cmp=b.Xpm({type:S,selectors:[["perun-web-apps-service-package-search-select"]],inputs:{servicePackages:"servicePackages",selectedPackage:"selectedPackage",multiple:"multiple",disableAutoSelect:"disableAutoSelect",theme:"theme"},outputs:{packageSelected:"packageSelected"},decls:4,vars:17,consts:[[3,"entities","entity","multiple","disableAutoSelect","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","theme","entitySelected"]],template:function(t,e){1&t&&(b.TgZ(0,"perun-web-apps-entity-search-select",0),b.NdJ("entitySelected",function(P){return e.packageSelected.emit(P)}),b.ALo(1,"translate"),b.ALo(2,"translate"),b.ALo(3,"translate"),b.qZA()),2&t&&b.Q6J("entities",e.servicePackages)("entity",e.selectedPackage)("multiple",e.multiple)("disableAutoSelect",e.disableAutoSelect)("searchFunction",e.searchFunction)("mainTextFunction",e.nameFunction)("secondaryTextFunction",e.shortNameFunction)("selectPlaceholder",b.lcZ(1,11,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_PACKAGE_SEARCH_SELECT.SELECT_PACKAGE"))("findPlaceholder",b.lcZ(2,13,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_PACKAGE_SEARCH_SELECT.FIND_PACKAGE"))("noEntriesText",b.lcZ(3,15,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_PACKAGE_SEARCH_SELECT.NO_PACKAGE_FOUND"))("theme",e.theme)},directives:[h.i],pipes:[o.X$],styles:[""]}),S})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/358.2f59846edf0d8d73.js b/dist/apps/admin-gui/358.2f59846edf0d8d73.js deleted file mode 100644 index ffdac1512..000000000 --- a/dist/apps/admin-gui/358.2f59846edf0d8d73.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[358],{17358:(Bn,$,c)=>{c.r($),c.d($,{FacilitiesModule:()=>Gn});var m=c(69808),y=c(30325),ht=c(86353),J=c(36769),ft=c(69024),f=c(9315),d=c(9244),_=c(36908),q=c(84379),gt=c(54037),t=c(5e3),u=c(48966),Tt=c(77968),St=c(15003),Ct=c(4235),T=c(20773),F=c(25245),H=c(29772),S=c(47423),z=c(61283),h=c(51062);function At(i,a){1&i&&t._UZ(0,"mat-spinner",3)}function It(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).editFacility()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}function vt(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).deleteFacility()}),t.TgZ(1,"mat-icon"),t._uU(2,"delete_forever"),t.qZA(),t.qZA()}}const bt=function(){return{color:"black"}},yt=function(i){return["/facilities",i]};function Et(i,a){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"div",4),t._UZ(2,"mat-icon",5),t.ALo(3,"translate"),t.TgZ(4,"div",6),t.TgZ(5,"div",7),t.TgZ(6,"a",8),t._uU(7),t.qZA(),t.TgZ(8,"span",9),t._uU(9),t.qZA(),t.YNc(10,It,3,0,"button",10),t.YNc(11,vt,3,0,"button",10),t.qZA(),t.TgZ(12,"span",11),t._uU(13),t.ALo(14,"translate"),t.ALo(15,"translate"),t.qZA(),t.qZA(),t.qZA(),t._UZ(16,"app-animated-router-outlet"),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.s9C("matTooltip",t.lcZ(3,10,"FACILITY_DETAIL.ENTITY")),t.Q6J("ngStyle",t.DdM(16,bt)),t.xp6(4),t.Q6J("routerLink",t.VKq(17,yt,e.facility.id)),t.xp6(1),t.Oqu(e.facility.name),t.xp6(2),t.hij(" \xa0#",e.facility.id," "),t.xp6(1),t.Q6J("ngIf",e.editFacilityAuth),t.xp6(1),t.Q6J("ngIf",e.deleteAuth),t.xp6(2),t.lnq(" ",t.lcZ(14,12,"FACILITY_DETAIL.ENTITY"),", ",t.lcZ(15,14,"FACILITY_DETAIL.DESCRIPTION"),": ",e.facility.description," ")}}let xt=(()=>{class i{constructor(e,s,n,o,r,p,C,v,L){this.dialog=e,this.facilityManager=s,this.route=n,this.sideMenuService=o,this.sideMenuItemService=r,this.guiAuthResolver=p,this.router=C,this.entityStorageService=v,this.reloadEntityDetail=L,this.editFacilityAuth=!1,this.deleteAuth=!1,this.loading=!1}ngOnInit(){this.reloadData(),this.reloadEntityDetail.entityDetailChange.subscribe(()=>{this.reloadData()})}reloadData(){this.loading=!0,this.route.params.subscribe(e=>{this.facilityManager.getFacilityById(e.facilityId).subscribe(n=>{this.facility=n,this.entityStorageService.setEntity({id:n.id,beanName:n.beanName}),this.setMenuItems(),this.editFacilityAuth=this.guiAuthResolver.isAuthorized("updateFacility_Facility_policy",[this.facility]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteFacility_Facility_Boolean_policy",[this.facility]),(0,d.sF)("facilities",this.facility),(0,d.XI)(this.facility),this.loading=!1},()=>this.loading=!1)})}setMenuItems(){const e=this.sideMenuItemService.parseFacility(this.facility);this.sideMenuService.setFacilityMenuItems([e])}editFacility(){const e=(0,d.kZ)();e.width="450px",e.data={theme:"facility-theme",facility:this.facility,dialogType:q.Eg.FACILITY},this.dialog.open(q.rd,e).afterClosed().subscribe(n=>{n&&this.facilityManager.getFacilityById(this.facility.id).subscribe(o=>{this.facility=o,this.setMenuItems()})})}deleteFacility(){const e=(0,d.kZ)();e.width="500px",e.data={theme:"facility-theme",facility:this.facility},this.dialog.open(gt.Y,e).afterClosed().subscribe(n=>{n&&this.router.navigate([""])})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.uw),t.Y36(f.IQ),t.Y36(y.gz),t.Y36(Tt.D),t.Y36(ft.V),t.Y36(_.x4),t.Y36(y.F0),t.Y36(_.fb),t.Y36(St.G))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","facility-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-facility-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"facility-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","",3,"click"]],template:function(e,s){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"perun-web-apps-back-button"),t.YNc(2,At,1,0,"mat-spinner",1),t.YNc(3,Et,17,19,"div",2),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading&&void 0!==s.facility))},directives:[Ct.W,m.O5,T.$g,F.Hw,H.gM,m.PC,y.yS,S.lW,z.A],pipes:[h.X$],styles:[""],data:{animation:[J.Ji]}}),i})();var W=c(71135);function Zt(i,a){1&i&&t._UZ(0,"mat-spinner",2)}function Lt(i,a){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",3),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("items",e.navItems)("size","small")}}let Dt=(()=>{class i{constructor(e,s,n){this.facilityManager=e,this.authResolver=s,this.entityStorageService=n,this.navItems=[],this.loading=!1}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.initItems(),this.loading=!1}initItems(){this.navItems=[],this.authResolver.isAuthorized("getAssignedRichResources_Facility_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-manage-facility",url:`/facilities/${this.facility.id}/resources`,label:"MENU_ITEMS.FACILITY.RESOURCES",style:"facility-btn"}),this.authResolver.isAuthorized("getAssignedUsers_Facility_Service_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-user",url:`/facilities/${this.facility.id}/allowed-users`,label:"MENU_ITEMS.FACILITY.ALLOWED_USERS",style:"facility-btn"}),this.authResolver.isAuthorized("getAllowedGroups_Facility_Vo_Service_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-group",url:`/facilities/${this.facility.id}/allowed-groups`,label:"MENU_ITEMS.FACILITY.ALLOWED_GROUPS",style:"facility-btn"}),this.authResolver.isAuthorized("getFacilityServicesState_Facility_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-service-status",url:`/facilities/${this.facility.id}/services-status`,label:"MENU_ITEMS.FACILITY.SERVICES_STATUS",style:"facility-btn"}),this.authResolver.isAuthorized("getAllRichDestinations_Facility_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-service_destination",url:`/facilities/${this.facility.id}/services-destinations`,label:"MENU_ITEMS.FACILITY.SERVICES_DESTINATIONS",style:"facility-btn"}),this.authResolver.isFacilityAdmin()&&this.navItems.push({cssIcon:"perun-hosts",url:`/facilities/${this.facility.id}/hosts`,label:"MENU_ITEMS.FACILITY.HOSTS",style:"facility-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/facilities/${this.facility.id}/attributes`,label:"MENU_ITEMS.FACILITY.ATTRIBUTES",style:"facility-btn"}),(this.authResolver.isAuthorized("getBansForFacility_int_policy",[this.facility])||this.authResolver.isManagerPagePrivileged(this.facility)||this.authResolver.isAuthorized("getOwners_Facility_policy",[this.facility])||this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[this.facility]))&&this.navItems.push({cssIcon:"perun-settings2",url:`/facilities/${this.facility.id}/settings`,label:"MENU_ITEMS.FACILITY.SETTINGS",style:"facility-btn"})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.IQ),t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-overview"]],hostVars:2,hostBindings:function(e,s){2&e&&t.ekj("router-component",s.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,s){1&e&&(t.YNc(0,Zt,1,0,"mat-spinner",0),t.YNc(1,Lt,2,2,"div",1)),2&e&&(t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[m.O5,T.$g,W.L],styles:[""]}),i})();var Rt=c(34904),Ft=c(37380),Ot=c(98918),Nt=c(4675);let kt=(()=>{class i{constructor(){}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-settings"]],hostVars:2,hostBindings:function(e,s){2&e&&t.ekj("router-component",s.true)},decls:1,vars:0,template:function(e,s){1&e&&t._UZ(0,"app-animated-router-outlet")},directives:[z.A],styles:[""],data:{animation:[J.Ji]}}),i})();function wt(i,a){1&i&&t._UZ(0,"mat-spinner",2)}function Ut(i,a){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",3),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("items",e.items)("size","small")}}let Yt=(()=>{class i{constructor(e,s,n){this.facilityManager=e,this.authResolver=s,this.entityStorageService=n,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.initItems(),this.loading=!1}initItems(){this.items=[],this.authResolver.isAuthorized("getOwners_Facility_policy",[this.facility])&&this.items.push({cssIcon:"perun-owner-grey",url:`/facilities/${this.facility.id}/settings/owners`,label:"MENU_ITEMS.FACILITY.OWNERS",style:"facility-btn"}),this.authResolver.isManagerPagePrivileged(this.facility)&&this.items.push({cssIcon:"perun-manager",url:`/facilities/${this.facility.id}/settings/managers`,label:"MENU_ITEMS.FACILITY.MANAGERS",style:"facility-btn"}),this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[this.facility])&&this.items.push({cssIcon:"perun-security-teams",url:`/facilities/${this.facility.id}/settings/security-teams`,label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",style:"facility-btn"}),this.authResolver.isAuthorized("getBansForFacility_int_policy",[this.facility])&&this.items.push({cssIcon:"perun-black-list",url:`/facilities/${this.facility.id}/settings/blacklist`,label:"MENU_ITEMS.FACILITY.BLACKLIST",style:"facility-btn"})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.IQ),t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-settings-overview"]],hostVars:2,hostBindings:function(e,s){2&e&&t.ekj("router-component",s.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,s){1&e&&(t.YNc(0,wt,1,0,"mat-spinner",0),t.YNc(1,Ut,2,2,"div",1)),2&e&&(t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[m.O5,T.$g,W.L],styles:[""]}),i})();var k=c(53251),Mt=c(12651),Jt=c(19191);function qt(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.hij(" ",t.lcZ(1,1,"FACILITY_DETAIL.ENTITY")," ")}function Ht(i,a){if(1&i&&t._UZ(0,"app-one-entity-attribute-page",4),2&i){const e=t.oxw();t.Q6J("entity","facility")("entityId",e.facility.id)}}function Qt(i,a){1&i&&(t._uU(0),t.ALo(1,"translate"),t.ALo(2,"translate")),2&i&&t.AsE(" ",t.lcZ(1,2,"FACILITY_DETAIL.ENTITY")," - ",t.lcZ(2,4,"ADMIN_USER.ENTITY")," ")}function Pt(i,a){if(1&i&&t._UZ(0,"app-two-entity-attribute-page",5),2&i){const e=t.oxw(2);t.Q6J("firstEntity","facility")("firstEntityId",e.facility.id)("secondEntity","user")}}function Vt(i,a){1&i&&(t.TgZ(0,"mat-tab"),t.YNc(1,Qt,3,6,"ng-template",1),t.YNc(2,Pt,1,3,"ng-template",2),t.qZA())}let Gt=(()=>{class i{constructor(e,s){this.authResolver=e,this.entityStorageService=s}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.facilityUserAttAuth=this.authResolver.isAuthorized("getAssignedUsers_Facility_policy",[this.facility])}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-attributes"]],hostVars:2,hostBindings:function(e,s){2&e&&t.ekj("router-component",s.true)},decls:9,vars:4,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-tab-group"),t.TgZ(5,"mat-tab"),t.YNc(6,qt,2,3,"ng-template",1),t.YNc(7,Ht,1,2,"ng-template",2),t.qZA(),t.YNc(8,Vt,3,0,"mat-tab",3),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,2,"FACILITY_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),t.xp6(6),t.Q6J("ngIf",s.facilityUserAttAuth))},directives:[k.SP,k.uX,k.uD,k.Vc,Mt.t,m.O5,Jt.Y],pipes:[h.X$],styles:[""]}),i})();var Bt=c(60113),jt=c(16500),$t=c(92090),zt=c(258),g=c(93075),w=c(1059),U=c(24850),Q=c(19516),O=c(67322),P=c(98833),X=c(91079),K=c(90508),D=c(77446),tt=c(31359);function Wt(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-option",10),t.NdJ("onSelectionChange",function(){const o=t.CHM(e).$implicit;return t.oxw(3).onSelectedService(o)}),t._uU(1),t.qZA()}if(2&i){const e=a.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e.name," ")}}function Xt(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-form-field",6),t.TgZ(1,"input",7),t.NdJ("keyup",function(n){return t.CHM(e),t.oxw(2).updatedSerVal(n)}),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"mat-autocomplete",8,9),t.TgZ(5,"mat-option",10),t.NdJ("onSelectionChange",function(){return t.CHM(e),t.oxw(2).onSelectedService("NOT_SELECTED")}),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"mat-option",10),t.NdJ("onSelectionChange",function(){return t.CHM(e),t.oxw(2).onSelectedService("ALL")}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.YNc(11,Wt,2,2,"mat-option",11),t.ALo(12,"async"),t.qZA(),t.qZA()}if(2&i){const e=t.MAs(4),s=t.oxw(2);t.xp6(1),t.s9C("placeholder",t.lcZ(2,9,"FACILITY_DETAIL.SERVICE_CONFIG.SERVICE_SELECT")),t.Q6J("formControl",s.serviceField)("matAutocomplete",e),t.xp6(2),t.Q6J("displayWith",s.serviceDisplayFn.bind(s)),t.xp6(2),t.Q6J("value","NOT_SELECTED"),t.xp6(1),t.hij(" ",t.lcZ(7,11,"FACILITY_DETAIL.SERVICE_CONFIG.NOT_SELECTED")," "),t.xp6(2),t.Q6J("value","ALL"),t.xp6(1),t.hij(" ",t.lcZ(10,13,"FACILITY_DETAIL.SERVICE_CONFIG.ALL")," "),t.xp6(2),t.Q6J("ngForOf",t.lcZ(12,15,s.filteredServices))}}function Kt(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-option",10),t.NdJ("onSelectionChange",function(){const o=t.CHM(e).$implicit;return t.oxw(3).onSelectedResource(o)}),t._uU(1),t.qZA()}if(2&i){const e=a.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e.name," ")}}function te(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-form-field",6),t.TgZ(1,"input",12),t.NdJ("keyup",function(n){return t.CHM(e),t.oxw(2).updatedResVal(n)}),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"mat-autocomplete",8,9),t.YNc(5,Kt,2,2,"mat-option",11),t.ALo(6,"async"),t.qZA(),t.qZA()}if(2&i){const e=t.MAs(4),s=t.oxw(2);t.xp6(1),t.s9C("placeholder",t.lcZ(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.RES_SELECT")),t.Q6J("matAutocomplete",e)("formControl",s.resourceField),t.xp6(2),t.Q6J("displayWith",s.resourceDisplayFn.bind(s)),t.xp6(2),t.Q6J("ngForOf",t.lcZ(6,7,s.filteredResources))}}function ee(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-option",10),t.NdJ("onSelectionChange",function(){const o=t.CHM(e).$implicit;return t.oxw(3).onSelectedGroup(o)}),t._uU(1),t.qZA()}if(2&i){const e=a.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e.name," ")}}function ie(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-form-field",6),t.TgZ(1,"input",12),t.NdJ("keyup",function(n){return t.CHM(e),t.oxw(2).updatedGroupVal(n)}),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"mat-autocomplete",13,9),t.YNc(5,ee,2,2,"mat-option",11),t.ALo(6,"async"),t.qZA(),t.qZA()}if(2&i){const e=t.MAs(4),s=t.oxw(2);t.xp6(1),t.s9C("placeholder",t.lcZ(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.GROUP_SELECT")),t.Q6J("matAutocomplete",e)("formControl",s.groupField),t.xp6(2),t.Q6J("displayWith",s.groupDisplayFn.bind(s)),t.xp6(2),t.Q6J("ngForOf",t.lcZ(6,7,s.filteredGroups))}}function se(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-option",10),t.NdJ("onSelectionChange",function(){const o=t.CHM(e).$implicit;return t.oxw(3).onSelectedMember(o)}),t._uU(1),t.ALo(2,"userFullName"),t.qZA()}if(2&i){const e=a.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",t.lcZ(2,2,e.user)," ")}}function ae(i,a){if(1&i&&(t.TgZ(0,"mat-form-field",6),t._UZ(1,"input",14),t.ALo(2,"translate"),t.TgZ(3,"mat-autocomplete",8,9),t.YNc(5,se,3,4,"mat-option",11),t.ALo(6,"async"),t.qZA(),t.qZA()),2&i){const e=t.MAs(4),s=t.oxw(2);t.xp6(1),t.s9C("placeholder",t.lcZ(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.MEMBER_SELECT")),t.Q6J("formControl",s.memberField)("matAutocomplete",e),t.xp6(2),t.Q6J("displayWith",s.memberDisplayFn.bind(s)),t.xp6(2),t.Q6J("ngForOf",t.lcZ(6,7,s.filteredMembers))}}function ne(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",3),t.YNc(1,Xt,13,17,"mat-form-field",4),t.TgZ(2,"mat-checkbox",5),t.NdJ("change",function(n){return t.CHM(e),t.oxw().onOfferAllServices(n)}),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.YNc(5,te,7,9,"mat-form-field",4),t.YNc(6,ie,7,9,"mat-form-field",4),t.YNc(7,ae,7,9,"mat-form-field",4),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",void 0!==e.services),t.xp6(2),t.hij(" ",t.lcZ(4,5,"FACILITY_DETAIL.SERVICE_CONFIG.ALL_SERVICES")," "),t.xp6(2),t.Q6J("ngIf",void 0!==e.resources&&0!==e.resources.length),t.xp6(1),t.Q6J("ngIf",void 0!==e.selectedResource&&void 0!==e.groups&&0!==e.groups.length),t.xp6(1),t.Q6J("ngIf",void 0!==e.selectedGroup&&void 0!==e.members&&0!==e.members.length)}}function oe(i,a){if(1&i&&t._UZ(0,"perun-web-apps-service-configurator",15),2&i){const e=t.oxw();t.Q6J("facility",e.facility)("resource",e.selectedResource)("group",e.selectedGroup)("service",e.selectedService)("member",e.selectedMember)}}let le=(()=>{class i{constructor(e,s,n,o,r,p,C){this.facilityManager=e,this.resourceManager=s,this.serviceManager=n,this.membersManager=o,this.namePipe=r,this.translate=p,this.entityStorageService=C,this.selectedService="NOT_SELECTED",this.attrNames=[],this.serviceField=new g.NI,this.resourceField=new g.NI,this.groupField=new g.NI,this.memberField=new g.NI,this.allowedStatuses=["INVALID","VALID"],this.translate.get("FACILITY_DETAIL.SERVICE_CONFIG.ALL").subscribe(v=>this.serviceAllTranslation=v),this.translate.get("FACILITY_DETAIL.SERVICE_CONFIG.NOT_SELECTED").subscribe(v=>this.serviceNotSelectedTranslation=v)}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.facilityManager.getFacilityById(this.facility.id).subscribe(e=>{this.facility=e,this.facilityManager.getAssignedResourcesForFacility(e.id).subscribe(s=>this.resources=s),this.serviceManager.getAssignedServices(e.id).subscribe(s=>this.services=s)}),this.filteredServices=this.serviceField.valueChanges.pipe((0,w.O)(""),(0,U.U)(e=>this._filterServices(e))),this.filteredResources=this.resourceField.valueChanges.pipe((0,w.O)(""),(0,U.U)(e=>this._filterResources(e))),this.filteredGroups=this.groupField.valueChanges.pipe((0,w.O)(""),(0,U.U)(e=>this._filterGroups(e))),this.filteredMembers=this.memberField.valueChanges.pipe((0,w.O)(""),(0,U.U)(e=>this._filterMembers(e)))}onSelectedService(e){this.selectedService=e}onSelectedResource(e){this.selectedResource=e,void 0!==this.selectedResource?(this.resourceManager.getAssignedGroups(this.selectedResource.id).subscribe(s=>this.groups=s),this.selectedGroup=void 0,this.selectedMember=void 0):this.groups=void 0}onOfferAllServices(e){e.checked||this.serviceManager.getAssignedServices(this.facility.id).subscribe(s=>this.services=s)}onSelectedGroup(e){this.selectedGroup=e,void 0!==this.selectedGroup?(this.membersManager.getCompleteRichMembersForGroup(this.selectedGroup.id,!1,this.allowedStatuses,this.attrNames).subscribe(s=>this.members=s),this.selectedMember=void 0):this.members=void 0}onSelectedMember(e){this.selectedMember=e}_filterServices(e){const s=e.toString().toLowerCase();return this.services.filter(n=>n.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(s))}_filterResources(e){const s=e.toString().toLowerCase();return this.resources.filter(n=>n.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(s))}_filterGroups(e){const s=e.toString().toLowerCase();return this.groups.filter(n=>n.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(s))}_filterMembers(e){const s=e.toString().toLowerCase();return this.members.filter(n=>this.namePipe.transform(n.user).toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(s))}serviceDisplayFn(e){if(null!==e)return"ALL"===e?this.serviceAllTranslation:"NOT_SELECTED"===e?this.serviceNotSelectedTranslation:e.name}resourceDisplayFn(e){if(null!==e)return e.name}groupDisplayFn(e){if(null!==e)return e.name}memberDisplayFn(e){if(null!==e)return this.namePipe.transform(e.user)}updatedSerVal(e){""===e.target.value&&(this.selectedService="NOT_SELECTED")}updatedResVal(e){""===e.target.value&&(this.groups=void 0,this.members=void 0)}updatedGroupVal(e){""===e.target.value&&(this.members=void 0)}updatedMemVal(e){}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.IQ),t.Y36(f.xk),t.Y36(f.KK),t.Y36(f.uq),t.Y36(Q.dp),t.Y36(h.sK),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-service-config"]],decls:6,vars:5,consts:[[1,"page-subtitle"],["class","col-12 col-lg-6 mb-2",4,"ngIf"],[3,"facility","resource","group","service","member",4,"ngIf"],[1,"col-12","col-lg-6","mb-2"],["class","w-100",4,"ngIf"],[3,"change"],[1,"w-100"],["type","text","matInput","",3,"placeholder","formControl","matAutocomplete","keyup"],["autoActiveFirstOption","",3,"displayWith"],["auto","matAutocomplete"],[3,"value","onSelectionChange"],[3,"value","onSelectionChange",4,"ngFor","ngForOf"],["type","text","matInput","",3,"placeholder","matAutocomplete","formControl","keyup"],["autoActiveFirstOption","",3,"ngClass","displayWith"],["type","text","matInput","",3,"placeholder","formControl","matAutocomplete"],[3,"facility","resource","group","service","member"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,ne,8,7,"div",1),t.YNc(5,oe,1,5,"perun-web-apps-service-configurator",2),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,3,"FACILITY_DETAIL.SERVICE_CONFIG.TITLE")),t.xp6(2),t.Q6J("ngIf",!!s.facility),t.xp6(1),t.Q6J("ngIf",!!s.facility))},directives:[m.O5,O.KE,P.Nt,g.Fj,X.ZL,g.JJ,g.oH,X.XC,K.ey,m.sg,D.oG,m.mk],pipes:[h.X$,m.Ov,tt.d],styles:[""]}),i})();var et=c(69815);let it=(()=>{class i{constructor(e,s,n){this.facilityService=e,this.guiAuthResolver=s,this.entityStorageService=n,this.availableRoles=[],this.selected="user",this.type="Facility",this.theme="facility-theme",this.disableRouting=!1,this.disableSelf=!1}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Facility")}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.IQ),t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-perun-web-apps-facility-settings-managers"]],hostVars:2,hostBindings:function(e,s){2&e&&t.ekj("router-component",s.true)},inputs:{disableRouting:"disableRouting",disableSelf:"disableSelf"},decls:1,vars:6,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles","disableRouting","disableSelf"]],template:function(e,s){1&e&&t._UZ(0,"app-managers-page",0),2&e&&t.Q6J("complementaryObject",s.facility)("complementaryObjectType",s.type)("theme",s.theme)("availableRoles",s.availableRoles)("disableRouting",s.disableRouting)("disableSelf",s.disableSelf)},directives:[et.s],styles:[""]}),i})();var E=c(10036),A=c(20449),ce=c(89466),re=c(74107);function ue(i,a){1&i&&t._UZ(0,"mat-spinner",6)}function de(i,a){1&i&&(t.TgZ(0,"mat-option",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.SELECTION_ALL")))}function pe(i,a){1&i&&(t.TgZ(0,"mat-option",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.NO_SERVICE")))}function _e(i,a){if(1&i&&(t.TgZ(0,"mat-option",21),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e.name," ")}}function me(i,a){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.CHOOSE_SERVICE")," "))}function he(i,a){if(1&i&&(t.TgZ(0,"mat-option",21),t._uU(1),t.qZA()),2&i){const e=a.$implicit,s=t.oxw(2);t.Q6J("value",e),t.xp6(1),t.hij(" ",s.getTypeForView(e)," ")}}function fe(i,a){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.REQUIRED_FIELD")," "))}function ge(i,a){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.INVALID_DESTINATION")," "))}function Te(i,a){if(1&i&&(t.TgZ(0,"mat-form-field",22),t._UZ(1,"input",23),t.YNc(2,fe,3,3,"mat-error",13),t.YNc(3,ge,3,3,"mat-error",13),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.s9C("placeholder",e.getTypeForView(e.selectedType)),t.Q6J("formControl",e.destinationControl),t.xp6(1),t.Q6J("ngIf","host"===e.selectedType&&!e.useFacilityHost&&e.destinationControl.hasError("required")),t.xp6(1),t.Q6J("ngIf",e.destinationControl.hasError("invalidDestination"))}}function Se(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-checkbox",24),t.NdJ("ngModelChange",function(n){return t.CHM(e),t.oxw(2).useFacilityHost=n}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("ngModel",e.useFacilityHost),t.xp6(1),t.hij(" ",t.lcZ(2,2,"DIALOGS.ADD_SERVICE_DESTINATION.USE_FACILITY_HOST")," ")}}function Ce(i,a){if(1&i&&(t.TgZ(0,"mat-option",21),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e," ")}}function Ae(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",7),t.TgZ(1,"div",8),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-form-field"),t.TgZ(5,"mat-select",9),t.ALo(6,"translate"),t.YNc(7,de,3,3,"mat-option",10),t.YNc(8,pe,3,3,"mat-option",11),t.YNc(9,_e,2,2,"mat-option",12),t.qZA(),t.YNc(10,me,3,3,"mat-error",13),t.qZA(),t.TgZ(11,"mat-checkbox",14),t.NdJ("change",function(){return t.CHM(e),t.oxw().getServices()})("ngModelChange",function(n){return t.CHM(e),t.oxw().servicesOnFacility=n}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"mat-form-field"),t.TgZ(15,"mat-select",15),t.NdJ("ngModelChange",function(n){return t.CHM(e),t.oxw().selectedType=n})("selectionChange",function(){return t.CHM(e),t.oxw().destinationControl.updateValueAndValidity()}),t.ALo(16,"translate"),t.YNc(17,he,2,2,"mat-option",12),t.qZA(),t.qZA(),t.YNc(18,Te,4,4,"mat-form-field",16),t.YNc(19,Se,3,4,"mat-checkbox",17),t.TgZ(20,"mat-form-field"),t.TgZ(21,"mat-select",18),t.NdJ("ngModelChange",function(n){return t.CHM(e),t.oxw().selectedPropagation=n}),t.ALo(22,"translate"),t.YNc(23,Ce,2,2,"mat-option",12),t.qZA(),t.qZA(),t.TgZ(24,"div",8),t._uU(25),t.ALo(26,"translate"),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,18,"DIALOGS.ADD_SERVICE_DESTINATION.DESCRIPTION")),t.xp6(3),t.s9C("placeholder",t.lcZ(6,20,"DIALOGS.ADD_SERVICE_DESTINATION.SERVICE")),t.Q6J("formControl",e.serviceControl),t.xp6(2),t.Q6J("ngIf",0!==e.services.length),t.xp6(1),t.Q6J("ngIf",0===e.services.length),t.xp6(1),t.Q6J("ngForOf",e.services),t.xp6(1),t.Q6J("ngIf",void 0===e.serviceControl.value),t.xp6(1),t.Q6J("ngModel",e.servicesOnFacility),t.xp6(1),t.Oqu(t.lcZ(13,22,"DIALOGS.ADD_SERVICE_DESTINATION.IS_SERVICES_ONLY_ON_FACILITY")),t.xp6(3),t.s9C("placeholder",t.lcZ(16,24,"DIALOGS.ADD_SERVICE_DESTINATION.TYPE")),t.Q6J("ngModel",e.selectedType),t.xp6(2),t.Q6J("ngForOf",e.types),t.xp6(1),t.Q6J("ngIf",!("host"===e.selectedType&&e.useFacilityHost)),t.xp6(1),t.Q6J("ngIf","host"===e.selectedType),t.xp6(2),t.s9C("placeholder",t.lcZ(22,26,"DIALOGS.ADD_SERVICE_DESTINATION.PROPAGATION")),t.Q6J("ngModel",e.selectedPropagation),t.xp6(2),t.Q6J("ngForOf",e.propagations),t.xp6(2),t.hij(" ",t.lcZ(26,28,"DIALOGS.ADD_SERVICE_DESTINATION.PROPAGATION_TYPE_"+e.selectedPropagation)," ")}}let Ie=(()=>{class i{constructor(e,s,n,o){this.dialogRef=e,this.data=s,this.facilitiesManager=n,this.servicesManager=o,this.services=[],this.types=["host","user@host","user@host:port","user@host-windows","host-windows-proxy","url","email","semail","service-specific"],this.selectedType="host",this.propagations=["PARALLEL","DUMMY"],this.selectedPropagation="PARALLEL",this.useFacilityHost=!1,this.loading=!1,this.emailRegex=new RegExp(d.B2),this.hostPattern=new RegExp("^(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$"),this.urlPattern=new RegExp("^(https?|ftp|file)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;()*$']*[-a-zA-Z0-9+&@#/%=~_|()*$']$"),this.userAtHostPattern=new RegExp("^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\\$)@(?:(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$)"),this.userAtHostPortPattern=new RegExp("^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\\$)@(?:(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)|(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}):[0-9]+"),this.serviceSpecificPattern=new RegExp("^(?!-)[a-zA-Z0-9-_.:/]*$")}ngOnInit(){this.loading=!0,this.serviceControl=new g.NI(void 0,g.kI.required),this.destinationControl=new g.NI("",this.getDestinationValidator()),this.emailControl=new g.NI("",[g.kI.required,g.kI.pattern(this.emailRegex)]),this.facilitiesManager.getHosts(this.data.facility.id).subscribe(e=>{this.hosts=e,this.servicesOnFacility=!0,this.getServices(),this.loading=!1},()=>this.loading=!1)}getDestinationValidator(){return e=>{if(!e.value)return null;let s;switch(this.selectedType){case"host":case"host-windows-proxy":s=this.hostPattern;break;case"email":case"semail":s=this.emailRegex;break;case"url":s=this.urlPattern;break;case"user@host":case"user@host-windows":s=this.userAtHostPattern;break;case"user@host:port":s=this.userAtHostPortPattern;break;case"service-specific":s=this.serviceSpecificPattern;break;default:return null}return s.test(e.value)?null:{invalidDestination:{value:e.value}}}}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,"all"===this.serviceControl.value?this.useFacilityHost?this.servicesManager.addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility({services:this.services,facility:this.data.facility.id}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.servicesManager.addDestinationToMultipleServices({services:this.services,facility:this.data.facility.id,destination:this.destinationControl.value,type:this.selectedType,propagationType:this.selectedPropagation}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.useFacilityHost?this.servicesManager.addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(this.serviceControl.value.id,this.data.facility.id).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.servicesManager.addDestination(this.serviceControl.value.id,this.data.facility.id,this.destinationControl.value,this.selectedType,this.selectedPropagation).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}getServices(){this.loading=!0,this.servicesOnFacility?0!==this.data.configServices.length?this.services=this.data.configServices:this.servicesManager.getAssignedServices(this.data.facility.id).subscribe(e=>{this.services=e},()=>this.loading=!1):this.servicesManager.getServices().subscribe(e=>{this.services=e},()=>this.loading=!1),this.loading=!1,this.serviceControl.setValue(void 0)}getTypeForView(e){return"semail"===e?"Send Mail":"service-specific"===e?"Service Specific":e}invalidDestination(){return("host"!==this.selectedType||!this.useFacilityHost)&&this.destinationControl.invalid}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(f.IQ),t.Y36(f.KK))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-perun-web-apps-add-services-destination-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-italic"],["required","",3,"formControl","placeholder"],["value","all",4,"ngIf"],["value","noService",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngModel","change","ngModelChange"],[3,"ngModel","placeholder","ngModelChange","selectionChange"],["class","w-100",4,"ngIf"],[3,"ngModel","ngModelChange",4,"ngIf"],[3,"ngModel","placeholder","ngModelChange"],["value","all"],["value","noService"],[3,"value"],[1,"w-100"],["matInput","","required","",3,"formControl","placeholder"],[3,"ngModel","ngModelChange"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,ue,1,0,"mat-spinner",1),t.YNc(5,Ae,27,30,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return s.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return s.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(s.data.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.ADD_SERVICE_DESTINATION.TITLE")),t.xp6(2),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.ADD_SERVICE_DESTINATION.CANCEL")," "),t.xp6(2),t.Q6J("disabled",s.loading||s.invalidDestination()||s.serviceControl.invalid||"noService"===s.serviceControl.value),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.ADD_SERVICE_DESTINATION.ADD")," "))},directives:[u.uh,m.O5,T.$g,u.xY,O.KE,re.gD,g.Q7,g.JJ,g.oH,K.ey,m.sg,O.TO,D.oG,g.On,P.Nt,g.Fj,u.H8,S.lW],pipes:[h.X$],styles:[""],data:{animation:[J.BQ]}}),i})();var R=c(98380),x=c(96214),Z=c(7434),st=c(70242);function ve(i,a){1&i&&(t.TgZ(0,"app-alert",9),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"FACILITY_DETAIL.SERVICES_DESTINATIONS.DESTINATIONS_INFO")," "))}function be(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw().addDestination()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"FACILITY_DETAIL.SERVICES_DESTINATIONS.ADD")," "))}function ye(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().removeDestination()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.REMOVE")," ")}}function Ee(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAllow()}),t.TgZ(1,"mat-icon"),t._uU(2," check_circle_outline "),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length||e.allSelectedAllowed()),t.xp6(3),t.hij(" ",t.lcZ(4,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.ALLOW")," ")}}function xe(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw().onBlock()}),t.TgZ(1,"mat-icon"),t._uU(2," block "),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length||e.allSelectedBlocked()),t.xp6(3),t.hij(" ",t.lcZ(4,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.BLOCK")," ")}}function Ze(i,a){1&i&&t._UZ(0,"mat-spinner",13)}function Le(i,a){if(1&i&&t._UZ(0,"app-perun-web-apps-destination-list",14),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("destinations",e.destinations)("selection",e.selected)("displayedColumns",e.displayedColumns)("services",e.configServicesIds)}}let at=(()=>{class i{constructor(e,s,n,o,r,p,C,v){this.dialog=e,this.facilitiesManager=s,this.servicesManager=n,this.translate=o,this.notificator=r,this.authResolver=p,this.serviceManager=C,this.entityStorageService=v,this.selected=new A.Ov(!0,[]),this.displayedColumns=["select","destinationId","service","destination","type","propagationType"],this.configServices=[],this.configServicesIds=new Set,this.title="FACILITY_DETAIL.SERVICES_DESTINATIONS.TITLE",this.destinationEmitter=new t.vpe,this.filterValue="",this.tableId=E.Cf}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}refreshTable(){this.loading=!0,this.servicesManager.getAllRichDestinationsForFacility(this.facility.id).subscribe(e=>{this.destinations=e,this.destinationEmitter.emit(this.destinations),this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addDestination_Service_Facility_Destination_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeDestination_Service_Facility_Destination_policy",[this.facility]),this.allowAuth=this.authResolver.isAuthorized("unblockServiceOnDestination_Service_int_policy",[this.facility]),this.blockAuth=this.authResolver.isAuthorized("blockServiceOnDestination_Service_int_policy",[this.facility]),this.displayedColumns=this.removeAuth?this.displayedColumns:this.displayedColumns.filter(e=>"select"!==e)}addDestination(){const e=(0,d.kZ)();e.width="600px",e.data={facility:this.facility,theme:"facility-theme",configServices:this.configServices},this.dialog.open(Ie,e).afterClosed().subscribe(n=>{n&&this.translate.get("FACILITY_DETAIL.SERVICES_DESTINATIONS.ADD_SUCCESS").subscribe(o=>{this.refreshTable(),this.notificator.showSuccess(o)})})}removeDestination(){const e=(0,d.kZ)();e.width="600px",e.data={destinations:this.selected.selected,theme:"facility-theme"},this.dialog.open(ce.u,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}blockServiceOnDestinations(e){if(0===e.length)return this.notificator.showSuccess(this.translate.instant("FACILITY_DETAIL.SERVICES_DESTINATIONS.BLOCK_SUCCESS")),void this.refreshTable();const s=e.pop();this.serviceManager.blockServiceOnDestination(s.service.id,s.id).subscribe(()=>{this.blockServiceOnDestinations(e)},()=>this.loading=!1)}onBlock(){this.loading=!0,this.blockServiceOnDestinations(this.selected.selected)}allowServiceOnDestinations(e){if(0===e.length)return this.notificator.showSuccess(this.translate.instant("FACILITY_DETAIL.SERVICES_DESTINATIONS.ALLOW_SUCCESS")),void this.refreshTable();const s=e.pop();this.serviceManager.unblockServiceOnDestinationById(s.service.id,s.id).subscribe(()=>{this.allowServiceOnDestinations(e)},()=>this.loading=!1)}onAllow(){this.loading=!0,this.allowServiceOnDestinations(this.selected.selected)}applyFilter(e){this.filterValue=e}allSelectedAllowed(){return this.selected.selected.reduce((e,s)=>e&&!s.blocked,!0)}allSelectedBlocked(){return this.selected.selected.reduce((e,s)=>e&&s.blocked,!0)}}return i.id="FacilityServicesDestinationsComponent",i.\u0275fac=function(e){return new(e||i)(t.Y36(u.uw),t.Y36(f.IQ),t.Y36(f.KK),t.Y36(h.sK),t.Y36(_.V6),t.Y36(_.x4),t.Y36(f.KK),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-perun-web-apps-facility-services-destinations"]],hostVars:2,hostBindings:function(e,s){2&e&&t.ekj("router-component",s.true)},inputs:{displayedColumns:"displayedColumns",configServices:"configServices",configServicesIds:"configServicesIds",title:"title",loading:"loading"},outputs:{destinationEmitter:"destinationEmitter"},decls:13,vars:11,consts:[[1,"page-subtitle"],["alert_type","info",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","destinations","selection","displayedColumns","services",4,"ngIf"],["alert_type","info"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","destinations","selection","displayedColumns","services"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,ve,3,3,"app-alert",1),t.TgZ(5,"perun-web-apps-refresh-button",2),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.YNc(6,be,3,3,"button",3),t.YNc(7,ye,3,4,"button",4),t.YNc(8,Ee,5,4,"button",5),t.YNc(9,xe,5,4,"button",5),t.TgZ(10,"perun-web-apps-immediate-filter",6),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.qZA(),t.YNc(11,Ze,1,0,"mat-spinner",7),t.YNc(12,Le,1,6,"app-perun-web-apps-destination-list",8),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,9,s.title)),t.xp6(2),t.Q6J("ngIf",s.title.includes("CONFIG")),t.xp6(2),t.Q6J("ngIf",s.addAuth),t.xp6(1),t.Q6J("ngIf",s.removeAuth),t.xp6(1),t.Q6J("ngIf",s.allowAuth),t.xp6(1),t.Q6J("ngIf",s.blockAuth),t.xp6(1),t.Q6J("placeholder","FACILITY_DETAIL.SERVICES_DESTINATIONS.FILTER"),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[m.O5,R.w,x.t,S.lW,F.Hw,Z.L,T.$g,st.q],pipes:[h.X$],styles:[""]}),i})();var V=c(23256);function De(i,a){1&i&&t._UZ(0,"mat-spinner",3)}function Re(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(n){return t.CHM(e),t.oxw().applyFilter(n)}),t.qZA(),t.TgZ(2,"div",5),t._UZ(3,"perun-web-apps-owners-list",6),t.qZA(),t.TgZ(4,"div",7),t.TgZ(5,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAdd()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("placeholder","DIALOGS.ADD_OWNERS.FILTER"),t.xp6(2),t.Q6J("filterValue",e.filterValue)("tableId",e.tableId)("owners",e.owners)("selection",e.selection),t.xp6(3),t.hij(" ",t.lcZ(7,8,"DIALOGS.ADD_OWNERS.CANCEL")," "),t.xp6(2),t.Q6J("disabled",0===e.selection.selected.length||e.loading),t.xp6(1),t.hij(" ",t.lcZ(10,10,"DIALOGS.ADD_OWNERS.ADD")," ")}}let Fe=(()=>{class i{constructor(e,s,n,o,r,p){this.dialogRef=e,this.data=s,this.notificator=n,this.translate=o,this.ownersManagerService=r,this.facilitiesManagerService=p,this.extSources=[],this.selection=new A.Ov(!0,[]),this.filterValue="",this.tableId=E.BV,this.owners=[],this.translate.get("DIALOGS.ADD_OWNERS.SUCCESS").subscribe(C=>this.successMessage=C)}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.ownersManagerService.getAllOwners().subscribe(e=>{this.owners=e.filter(s=>!this.data.forbiddenOwners.includes(s.id)),this.loading=!1},()=>this.loading=!1)}applyFilter(e){this.filterValue=e}onAdd(){this.loading=!0,0!==this.selection.selected.length?this.facilitiesManagerService.addFacilityOwner(this.data.facilityId,this.selection.selected.pop().id).subscribe(()=>this.onAdd(),()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}onCancel(){this.dialogRef.close(!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(_.V6),t.Y36(h.sK),t.Y36(f.aC),t.Y36(f.IQ))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-add-facility-owner-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"font-size-1rem",3,"placeholder","filter"],["mat-dialog-content",""],[3,"filterValue","tableId","owners","selection"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,De,1,0,"mat-spinner",1),t.YNc(5,Re,11,12,"div",2),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"DIALOGS.ADD_OWNERS.TITLE")),t.xp6(2),t.Tol(s.theme),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[u.uh,m.O5,T.$g,Z.L,u.xY,V.Q,u.H8,S.lW],pipes:[h.X$],styles:[""]}),i})();var l=c(32075);function Oe(i,a){1&i&&t._UZ(0,"mat-spinner",6)}function Ne(i,a){1&i&&t._UZ(0,"th",15)}function ke(i,a){if(1&i&&(t.TgZ(0,"td",16),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.name)}}function we(i,a){1&i&&t._UZ(0,"tr",17)}function Ue(i,a){1&i&&t._UZ(0,"tr",18)}function Ye(i,a){if(1&i&&(t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,Ne,1,0,"th",11),t.YNc(10,ke,2,1,"td",12),t.BQk(),t.YNc(11,we,1,0,"tr",13),t.YNc(12,Ue,1,0,"tr",14),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,"DIALOGS.REMOVE_OWNERS.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.REMOVE_OWNERS.ASK")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let Me=(()=>{class i{constructor(e,s,n,o,r){this.dialogRef=e,this.data=s,this.notificator=n,this.translate=o,this.facilitiesManagerService=r,this.displayedColumns=["name"],o.get("DIALOGS.REMOVE_OWNERS.SUCCESS").subscribe(p=>this.successMessage=p)}ngOnInit(){this.dataSource=new l.by(this.data.owners),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,0!==this.data.owners.length?this.facilitiesManagerService.removeFacilityOwner(this.data.facilityId,this.data.owners.pop().id).subscribe(()=>this.onSubmit(),()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(_.V6),t.Y36(h.sK),t.Y36(f.IQ))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-remove-facility-owner-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,Oe,1,0,"mat-spinner",1),t.YNc(5,Ye,13,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return s.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return s.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,9,"DIALOGS.REMOVE_OWNERS.TITLE")),t.xp6(2),t.Tol(s.theme),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.REMOVE_OWNERS.CANCEL")," "),t.xp6(2),t.Q6J("disabled",s.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.REMOVE_OWNERS.DELETE")," "))},directives:[u.uh,m.O5,T.$g,u.xY,l.BZ,l.w1,l.fO,l.ge,l.Dz,l.ev,l.as,l.XQ,l.nj,l.Gk,u.H8,S.lW],pipes:[h.X$],styles:[""]}),i})();function Je(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCreate()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"FACILITY_DETAIL.SETTINGS.OWNERS.ADD"),"\n"))}function qe(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onRemove()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"FACILITY_DETAIL.SETTINGS.OWNERS.DELETE"),"\n")}}function He(i,a){1&i&&t._UZ(0,"mat-spinner",9)}function Qe(i,a){if(1&i&&t._UZ(0,"perun-web-apps-owners-list",10),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("owners",e.owners)("displayedColumns",e.displayedColumns)("selection",e.selection)}}let nt=(()=>{class i{constructor(e,s,n,o){this.facilitiesManagerService=e,this.dialog=s,this.authResolver=n,this.entityStorageService=o,this.owners=[],this.selection=new A.Ov(!0,[]),this.displayedColumns=["id","name","contact","type"],this.tableId=E.zp,this.ownerEmitter=new t.vpe}ngOnInit(){this.filterValue="",this.facility=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}refreshTable(){this.loading=!0,this.selection.clear(),this.facilitiesManagerService.getFacilityOwners(this.facility.id).subscribe(e=>{this.owners=e,this.ownerEmitter.emit(this.owners),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addOwner_Facility_Owner_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeOwner_Facility_Owner_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","contact","type"]:["id","name","contact","type"]}applyFilter(e){this.filterValue=e}onCreate(){const e=(0,d.kZ)();e.width="800px",e.data={theme:"facility-theme",facilityId:this.facility.id,forbiddenOwners:this.owners.map(n=>n.id)},this.dialog.open(Fe,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}onRemove(){const e=(0,d.kZ)();e.width="600px",e.data={theme:"facility-theme",owners:this.selection.selected,facilityId:this.facility.id},this.dialog.open(Me,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.IQ),t.Y36(u.uw),t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-settings-owners"]],outputs:{ownerEmitter:"ownerEmitter"},decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2 action-button","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","owners","displayedColumns","selection",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","owners","displayedColumns","selection"]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.YNc(4,Je,3,3,"button",2),t.YNc(5,qe,3,4,"button",3),t.TgZ(6,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.qZA(),t.YNc(7,He,1,0,"mat-spinner",5),t.YNc(8,Qe,1,5,"perun-web-apps-owners-list",6)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"FACILITY_DETAIL.SETTINGS.OWNERS.TITLE")),t.xp6(3),t.Q6J("ngIf",s.addAuth),t.xp6(1),t.Q6J("ngIf",s.removeAuth),t.xp6(1),t.Q6J("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER"),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,m.O5,S.lW,Z.L,T.$g,V.Q],pipes:[h.X$],styles:[""]}),i})();var G=c(50301);function Pe(i,a){1&i&&t._UZ(0,"mat-spinner",6)}function Ve(i,a){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_HOST.EMPTY_MESSAGE")," "))}function Ge(i,a){if(1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.AsE(" ",t.lcZ(2,2,"DIALOGS.ADD_HOST.INVALID_HOST")," ",e.hostsCtrl.getError("invalidHost").value," ")}}function Be(i,a){if(1&i&&(t.TgZ(0,"div",7),t.TgZ(1,"mat-form-field"),t.TgZ(2,"textarea",8),t.ALo(3,"translate"),t._uU(4," "),t.qZA(),t.YNc(5,Ve,3,3,"mat-error",9),t.YNc(6,Ge,3,4,"mat-error",9),t.qZA(),t.TgZ(7,"app-alert",10),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.Q6J("placeholder",t.lcZ(3,5,"DIALOGS.ADD_HOST.SUBTITLE"))("formControl",e.hostsCtrl),t.xp6(3),t.Q6J("ngIf",e.hostsCtrl.hasError("required")),t.xp6(1),t.Q6J("ngIf",e.hostsCtrl.hasError("invalidHost")),t.xp6(2),t.Oqu(t.lcZ(9,7,"DIALOGS.ADD_HOST.HINT"))}}let je=(()=>{class i{constructor(e,s,n,o,r){this.dialogRef=e,this.data=s,this.facilitiesManager=n,this.notificator=o,this.translate=r,this.loading=!1,this.hostPattern=new RegExp("^(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$")}ngOnInit(){this.theme=this.data.theme,this.hostsCtrl=new g.NI("",[g.kI.required,this.hostsNameValidator()]),this.hostsCtrl.markAllAsTouched()}onAdd(){this.loading=!0;const e=this.hostsCtrl.value.split("\n");let s=[];for(const n of e)s=s.concat(this.parseHostName(n));this.facilitiesManager.addHosts(this.data.facilityId,s).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_HOST.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}hostsNameValidator(){return e=>{let s=[];const n=e.value.split("\n");for(const o of n)s=s.concat(this.parseHostName(o));for(const o of s)if(!this.hostPattern.test(o))return{invalidHost:{value:o}};return null}}parseHostName(e){const s=new RegExp("[[0-9]+-[0-9]+]","g"),n=e.split(s),o=e.match(s);if(null==o)return""===e?[]:[e];let r=[];for(let p=0;p{class i{constructor(e,s,n,o,r){this.dialogRef=e,this.data=s,this.facilitiesManager=n,this.notificator=o,this.translate=r,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.hosts=this.data.hosts,this.dataSource=new l.by(this.data.hosts)}onConfirm(){this.loading=!0,this.facilitiesManager.removeHosts(this.data.facilityId,this.hosts.map(e=>e.id)).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_HOST.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(f.IQ),t.Y36(_.V6),t.Y36(h.sK))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-remove-host-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,$e,1,0,"mat-spinner",1),t.YNc(5,ti,13,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return s.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return s.onConfirm()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,9,"DIALOGS.REMOVE_HOST.TITLE")),t.xp6(2),t.Tol(s.theme),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.REMOVE_HOST.CANCEL")," "),t.xp6(2),t.Q6J("disabled",s.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.REMOVE_HOST.CONFIRM")," "))},directives:[u.uh,m.O5,T.$g,u.xY,l.BZ,l.w1,l.fO,l.ge,l.Dz,l.ev,l.as,l.XQ,l.nj,l.Gk,u.H8,S.lW],pipes:[h.X$],styles:[""]}),i})();var I=c(84847),N=c(18750);function ii(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"th",14),t.TgZ(1,"mat-checkbox",15),t.NdJ("change",function(n){t.CHM(e);const o=t.oxw();return n?o.masterToggle():null}),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function si(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",16),t.TgZ(1,"mat-checkbox",17),t.NdJ("change",function(n){const r=t.CHM(e).$implicit,p=t.oxw();return n?p.selection.toggle(r):null})("click",function(n){return n.stopPropagation()}),t.qZA(),t.qZA()}if(2&i){const e=a.$implicit,s=t.oxw();t.xp6(1),t.Q6J("aria-label",s.checkboxLabel(e))("checked",s.selection.isSelected(e))}}function ai(i,a){1&i&&(t.TgZ(0,"th",18),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.HOSTS_LIST.TABLE_HOST_ID")," "))}function ni(i,a){if(1&i&&(t.TgZ(0,"td",19),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.id)}}function oi(i,a){1&i&&(t.TgZ(0,"th",18),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.HOSTS_LIST.TABLE_HOST_NAME")," "))}function li(i,a){if(1&i&&(t.TgZ(0,"td",20),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.hostname)}}function ci(i,a){1&i&&t._UZ(0,"tr",21)}const ot=function(i,a){return["/facilities",i,"hosts",a]};function ri(i,a){if(1&i&&t._UZ(0,"tr",22),2&i){const e=a.$implicit,s=t.oxw();t.Q6J("perunWebAppsMiddleClickRouterLink",s.disableRouting?null:t.WLB(2,ot,s.facilityId,e.id))("routerLink",s.disableRouting?null:t.WLB(5,ot,s.facilityId,e.id))}}function ui(i,a){1&i&&(t.TgZ(0,"app-alert",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function di(i,a){1&i&&(t.TgZ(0,"app-alert",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.HOSTS_LIST.NO_HOST_WARNING"),"\n"))}let lt=(()=>{class i{constructor(e,s){this.authResolver=e,this.tableCheckbox=s,this.hosts=[],this.selection=new A.Ov(!0,[]),this.disableRouting=!1,this.displayedColumns=["select","id","name"],this.pageSizeOptions=d.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new l.by(this.hosts),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,s){switch(s){case"id":return e.id.toString();case"name":return e.hostname;default:return""}}exportData(e){(0,d.O6)((0,d.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(e,s)=>(0,d.Sd)(e,s,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,s)=>(0,d.pR)(e,s,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(_.x4),t.Y36(_.UA))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-hosts-list"]],viewQuery:function(e,s){if(1&e&&(t.Gf(I.YE,7),t.Gf(d.l9,7)),2&e){let n;t.iGM(n=t.CRH())&&(s.matSort=n.first),t.iGM(n=t.CRH())&&(s.child=n.first)}},inputs:{hosts:"hosts",selection:"selection",filterValue:"filterValue",tableId:"tableId",facilityId:"facilityId",disableRouting:"disableRouting",displayedColumns:"displayedColumns"},features:[t.TTD],decls:16,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,s){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(o){return s.exportData(o)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,ii,2,3,"th",4),t.YNc(5,si,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,ai,3,3,"th",7),t.YNc(8,ni,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,oi,3,3,"th",7),t.YNc(11,li,2,1,"td",10),t.BQk(),t.YNc(12,ci,1,0,"tr",11),t.YNc(13,ri,1,8,"tr",12),t.qZA(),t.qZA(),t.qZA(),t.YNc(14,ui,3,3,"app-alert",13),t.YNc(15,di,3,3,"app-alert",13)),2&e&&(t.Q6J("hidden",0===s.dataSource.filteredData.length||0===s.hosts.length),t.xp6(1),t.Q6J("tableId",s.tableId)("dataLength",s.dataSource.filteredData.length)("pageSizeOptions",s.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",s.dataSource),t.xp6(10),t.Q6J("matHeaderRowDef",s.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",s.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===s.dataSource.filteredData.length&&0!==s.hosts.length),t.xp6(1),t.Q6J("ngIf",0===s.hosts.length))},directives:[N.l,l.BZ,I.YE,l.w1,l.fO,l.ge,D.oG,l.Dz,l.ev,I.nU,l.as,l.XQ,l.nj,l.Gk,G.YH,y.rH,m.O5,R.w],pipes:[h.X$],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),i})();function pi(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().addHost()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"FACILITY_DETAIL.HOSTS.ADD")," "))}function _i(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().removeHost()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"FACILITY_DETAIL.HOSTS.REMOVE")," ")}}function mi(i,a){1&i&&t._UZ(0,"mat-spinner",9)}function hi(i,a){if(1&i&&t._UZ(0,"app-hosts-list",10),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("hosts",e.hosts)("selection",e.selected)("displayedColumns",e.displayedColumns)("disableRouting",!e.routeAuth||e.disableRouting)("facilityId",e.facility.id)}}let ct=(()=>{class i{constructor(e,s,n,o){this.dialog=e,this.facilitiesManager=s,this.authResolver=n,this.entityStorageService=o,this.disableRouting=!1,this.hosts=[],this.selected=new A.Ov(!0,[]),this.filterValue="",this.tableId=E.eq,this.displayedColumns=["id","name"],this.hostEmitter=new t.vpe}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.setAuthRights(),this.facilitiesManager.getFacilityById(this.facility.id).subscribe(e=>{this.facility=e,this.refreshTable()})}refreshTable(){this.loading=!0,this.facilitiesManager.getHosts(this.facility.id).subscribe(e=>{this.hosts=e,this.hostEmitter.emit(this.hosts),this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addHosts_Facility_List_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeHosts_List_Facility_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name"]:["id","name"],0!==this.hosts.length&&(this.routeAuth=this.authResolver.isAuthorized("getHostById_int_policy",[this.facility,this.hosts[0]]))}addHost(){const e=(0,d.kZ)();e.width="600px",e.data={facilityId:this.facility.id,theme:"facility-theme"},this.dialog.open(je,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}removeHost(){const e=(0,d.kZ)();e.width="600px",e.data={facilityId:this.facility.id,theme:"facility-theme",hosts:this.selected.selected},this.dialog.open(ei,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}applyFilter(e){this.filterValue=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.uw),t.Y36(f.IQ),t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-hosts"]],inputs:{disableRouting:"disableRouting"},outputs:{hostEmitter:"hostEmitter"},decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","hosts","selection","displayedColumns","disableRouting","facilityId",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","hosts","selection","displayedColumns","disableRouting","facilityId"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.YNc(5,pi,3,3,"button",2),t.YNc(6,_i,3,4,"button",3),t.TgZ(7,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.qZA(),t.YNc(8,mi,1,0,"mat-spinner",5),t.YNc(9,hi,1,7,"app-hosts-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,6,"FACILITY_DETAIL.HOSTS.TITLE")),t.xp6(3),t.Q6J("ngIf",s.addAuth),t.xp6(1),t.Q6J("ngIf",s.removeAuth),t.xp6(1),t.Q6J("placeholder","FACILITY_DETAIL.HOSTS.FILTER"),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,m.O5,S.lW,Z.L,T.$g,lt],pipes:[h.X$],styles:[""]}),i})();function fi(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"th",15),t.TgZ(1,"mat-checkbox",16),t.NdJ("change",function(n){t.CHM(e);const o=t.oxw();return n?o.masterToggle():null}),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function gi(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",17),t.TgZ(1,"mat-checkbox",18),t.NdJ("change",function(n){const r=t.CHM(e).$implicit,p=t.oxw();return n?p.selection.toggle(r):null})("click",function(n){return n.stopPropagation()}),t.qZA(),t.qZA()}if(2&i){const e=a.$implicit,s=t.oxw();t.xp6(1),t.Q6J("aria-label",s.checkboxLabel(e))("checked",s.selection.isSelected(e))}}function Ti(i,a){1&i&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.USER_ID")," "))}function Si(i,a){if(1&i&&(t.TgZ(0,"td",20),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e[1].id," ")}}function Ci(i,a){1&i&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NAME")," "))}function Ai(i,a){if(1&i&&(t.TgZ(0,"td",21),t._uU(1),t.ALo(2,"userFullName"),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,e[1])," ")}}function Ii(i,a){1&i&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.REASON")," "))}function vi(i,a){if(1&i&&(t.TgZ(0,"td",21),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e[0].description," ")}}function bi(i,a){1&i&&t._UZ(0,"tr",22)}function yi(i,a){1&i&&t._UZ(0,"tr",23)}function Ei(i,a){1&i&&(t.TgZ(0,"app-alert",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function xi(i,a){1&i&&(t.TgZ(0,"app-alert",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NO_BANS_WARNING"),"\n"))}let Zi=(()=>{class i{constructor(e,s){this.authResolver=e,this.tableCheckbox=s,this.bansOnFacilitiesWithUsers=[],this.selection=new A.Ov(!0,[]),this.displayedColumns=["select","userId","name","reason"],this.pageSizeOptions=d.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"userId"!==e)),this.dataSource=new l.by(this.bansOnFacilitiesWithUsers),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,s){switch(s){case"userId":return e[1].id.toString();case"reason":return e[0].description;case"name":return(0,d.hu)(e[1]);default:return""}}exportData(e){(0,d.O6)((0,d.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,s)=>(0,d.Sd)(e,s,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,s)=>(0,d.pR)(e,s,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e[0].userId+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(_.x4),t.Y36(_.UA))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-perun-web-apps-blacklist-list"]],viewQuery:function(e,s){if(1&e&&(t.Gf(I.YE,7),t.Gf(d.l9,7)),2&e){let n;t.iGM(n=t.CRH())&&(s.matSort=n.first),t.iGM(n=t.CRH())&&(s.child=n.first)}},inputs:{bansOnFacilitiesWithUsers:"bansOnFacilitiesWithUsers",selection:"selection",filterValue:"filterValue",tableId:"tableId"},features:[t.TTD],decls:19,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","userId"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","reason"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,s){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(o){return s.exportData(o)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,fi,2,3,"th",4),t.YNc(5,gi,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,Ti,3,3,"th",7),t.YNc(8,Si,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,Ci,3,3,"th",7),t.YNc(11,Ai,3,3,"td",10),t.BQk(),t.ynx(12,11),t.YNc(13,Ii,3,3,"th",7),t.YNc(14,vi,2,1,"td",10),t.BQk(),t.YNc(15,bi,1,0,"tr",12),t.YNc(16,yi,1,0,"tr",13),t.qZA(),t.qZA(),t.qZA(),t.YNc(17,Ei,3,3,"app-alert",14),t.YNc(18,xi,3,3,"app-alert",14)),2&e&&(t.Q6J("hidden",0===s.dataSource.filteredData.length||0===s.bansOnFacilitiesWithUsers.length),t.xp6(1),t.Q6J("tableId",s.tableId)("dataLength",s.dataSource.filteredData.length)("pageSizeOptions",s.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",s.dataSource),t.xp6(13),t.Q6J("matHeaderRowDef",s.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",s.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===s.dataSource.filteredData.length&&0!==s.bansOnFacilitiesWithUsers.length),t.xp6(1),t.Q6J("ngIf",0===s.bansOnFacilitiesWithUsers.length))},directives:[N.l,l.BZ,I.YE,l.w1,l.fO,l.ge,D.oG,l.Dz,l.ev,I.nU,l.as,l.XQ,l.nj,l.Gk,m.O5,R.w],pipes:[h.X$,tt.d],styles:[""]}),i})();function Li(i,a){1&i&&t._UZ(0,"mat-spinner",5)}function Di(i,a){if(1&i&&t._UZ(0,"app-perun-web-apps-blacklist-list",6),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("bansOnFacilitiesWithUsers",e.bansOnFacilitiesWithUsers)("selection",e.selected)}}let Ri=(()=>{class i{constructor(e,s,n){this.facilitiesManager=e,this.usersManager=s,this.entityStorageService=n,this.bansOnFacilitiesWithUsers=[],this.selected=new A.Ov(!0,[]),this.filterValue="",this.tableId=E.NG}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.refreshTable()}refreshTable(){this.loading=!0,this.facilitiesManager.getBansForFacility(this.facility.id).subscribe(e=>{const s=e;for(const n of s){let o;this.usersManager.getUserById(n.userId).subscribe(r=>{o=r}),this.bansOnFacilitiesWithUsers.push([n,o])}this.selected.clear(),this.loading=!1})}applyFilter(e){this.filterValue=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.IQ),t.Y36(f.Fv),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-perun-web-apps-facility-settings-blacklist"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","bansOnFacilitiesWithUsers","selection",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","bansOnFacilitiesWithUsers","selection"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.ALo(6,"translate"),t.qZA(),t.YNc(7,Li,1,0,"mat-spinner",3),t.YNc(8,Di,1,4,"app-perun-web-apps-blacklist-list",4),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,4,"FACILITY_DETAIL.SETTINGS.BLACKLIST.TITLE")),t.xp6(3),t.Q6J("placeholder",t.lcZ(6,6,"FACILITY_DETAIL.SETTINGS.BLACKLIST.FILTER")),t.xp6(2),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,Z.L,m.O5,T.$g,Zi],pipes:[h.X$],styles:[""]}),i})();var Fi=c(387),Oi=c(61365),Ni=c(71103),rt=c(53984);const ki=["list"];function wi(i,a){1&i&&t._UZ(0,"mat-spinner",7)}function Ui(i,a){if(1&i&&t._UZ(0,"perun-web-apps-attributes-list",8,9),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("attributes",e.attributes)("selection",e.selected)}}let Yi=(()=>{class i{constructor(e,s,n,o){this.dialog=e,this.attributesManager=s,this.facilityManager=n,this.route=o,this.attributes=[],this.selected=new A.Ov(!0,[]),this.host={beanName:"",id:0},this.tableId=E.rF}ngOnInit(){this.route.params.subscribe(e=>{this.hostId=e.hostId,this.facilityManager.getHostById(this.hostId).subscribe(s=>{this.host=s}),this.refreshTable()})}refreshTable(){this.loading=!0,this.attributesManager.getHostAttributes(this.hostId).subscribe(e=>{this.attributes=(0,d.MX)(e),this.selected.clear(),this.loading=!1})}onSave(){this.list.updateMapAttributes();const e=(0,d.kZ)();e.width="450px",e.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected},this.dialog.open(q.wA,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}addAttribute(){const e=(0,d.kZ)();e.width="1050px",e.data={entityId:this.hostId,entity:"host",notEmptyAttributes:this.attributes,style:"facility-theme"},this.dialog.open(Ni.n,e).afterClosed().subscribe(n=>{"saved"===n&&this.refreshTable()})}removeAttribute(){const e=(0,d.kZ)();e.width="450px",e.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected,theme:"facility-theme"},this.dialog.open(Oi.k,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.uw),t.Y36(f.H8),t.Y36(f.IQ),t.Y36(y.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-hosts-detail"]],viewQuery:function(e,s){if(1&e&&t.Gf(ki,5),2&e){let n;t.iGM(n=t.CRH())&&(s.list=n.first)}},decls:16,vars:17,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","attributes","selection",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","attributes","selection"],["list",""]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.TgZ(5,"button",2),t.NdJ("click",function(){return s.addAttribute()}),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"button",3),t.NdJ("click",function(){return s.onSave()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"button",4),t.NdJ("click",function(){return s.removeAttribute()}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.YNc(14,wi,1,0,"mat-spinner",5),t.YNc(15,Ui,2,3,"perun-web-apps-attributes-list",6),t.qZA()),2&e&&(t.xp6(2),t.AsE(" ",t.lcZ(3,9,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.TITLE")," ",s.host.hostname," "),t.xp6(4),t.hij(" ",t.lcZ(7,11,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.ADD")," "),t.xp6(2),t.Q6J("disabled",0===s.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(10,13,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.SAVE")," "),t.xp6(2),t.Q6J("disabled",0===s.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(13,15,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.REMOVE")," "),t.xp6(2),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,S.lW,m.O5,T.$g,rt.p],pipes:[h.X$],styles:[""]}),i})();function Mi(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"th",15),t.TgZ(1,"mat-checkbox",16),t.NdJ("change",function(n){t.CHM(e);const o=t.oxw();return n?o.masterToggle():null}),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function Ji(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",17),t.TgZ(1,"mat-checkbox",18),t.NdJ("change",function(n){const r=t.CHM(e).$implicit,p=t.oxw();return n?p.selection.toggle(r):null})("click",function(n){return n.stopPropagation()}),t.qZA(),t.qZA()}if(2&i){const e=a.$implicit,s=t.oxw();t.xp6(1),t.Q6J("aria-label",s.checkboxLabel(e))("checked",s.selection.isSelected(e))}}function qi(i,a){1&i&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.ID")," "))}function Hi(i,a){if(1&i&&(t.TgZ(0,"td",20),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e.id," ")}}function Qi(i,a){1&i&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NAME")," "))}function Pi(i,a){if(1&i&&(t.TgZ(0,"td",21),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.name)}}function Vi(i,a){1&i&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.DESCRIPTION")," "))}function Gi(i,a){if(1&i&&(t.TgZ(0,"td",21),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.description)}}function Bi(i,a){1&i&&t._UZ(0,"tr",22)}function ji(i,a){1&i&&t._UZ(0,"tr",23)}function $i(i,a){1&i&&(t.TgZ(0,"app-alert",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function zi(i,a){1&i&&(t.TgZ(0,"app-alert",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NO_SECURITY_TEAMS_WARNING"),"\n"))}let Wi=(()=>{class i{constructor(e,s){this.authResolver=e,this.tableCheckbox=s,this.securityTeams=[],this.selection=new A.Ov(!0,[]),this.displayedColumns=["select","id","name","description"],this.pageSizeOptions=d.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new l.by(this.securityTeams),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,s){switch(s){case"id":return e.id.toString();case"name":return e.name;case"description":return e.description;default:return""}}exportData(e){(0,d.O6)((0,d.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,s)=>(0,d.Sd)(e,s,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,s)=>(0,d.pR)(e,s,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(_.x4),t.Y36(_.UA))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-security-teams-list"]],viewQuery:function(e,s){if(1&e&&(t.Gf(I.YE,7),t.Gf(d.l9,7)),2&e){let n;t.iGM(n=t.CRH())&&(s.matSort=n.first),t.iGM(n=t.CRH())&&(s.child=n.first)}},inputs:{securityTeams:"securityTeams",selection:"selection",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns"},features:[t.TTD],decls:19,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,s){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(o){return s.exportData(o)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,Mi,2,3,"th",4),t.YNc(5,Ji,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,qi,3,3,"th",7),t.YNc(8,Hi,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,Qi,3,3,"th",7),t.YNc(11,Pi,2,1,"td",10),t.BQk(),t.ynx(12,11),t.YNc(13,Vi,3,3,"th",7),t.YNc(14,Gi,2,1,"td",10),t.BQk(),t.YNc(15,Bi,1,0,"tr",12),t.YNc(16,ji,1,0,"tr",13),t.qZA(),t.qZA(),t.qZA(),t.YNc(17,$i,3,3,"app-alert",14),t.YNc(18,zi,3,3,"app-alert",14)),2&e&&(t.Q6J("hidden",0===s.dataSource.filteredData.length||0===s.securityTeams.length),t.xp6(1),t.Q6J("tableId",s.tableId)("dataLength",s.dataSource.filteredData.length)("pageSizeOptions",s.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",s.dataSource),t.xp6(13),t.Q6J("matHeaderRowDef",s.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",s.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===s.dataSource.filteredData.length&&0!==s.securityTeams.length),t.xp6(1),t.Q6J("ngIf",0===s.securityTeams.length))},directives:[N.l,l.BZ,I.YE,l.w1,l.fO,l.ge,D.oG,l.Dz,l.ev,I.nU,l.as,l.XQ,l.nj,l.Gk,m.O5,R.w],pipes:[h.X$],styles:[""]}),i})();function Xi(i,a){1&i&&t._UZ(0,"mat-spinner",5)}function Ki(i,a){if(1&i&&t._UZ(0,"app-security-teams-list",6),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("securityTeams",e.securityTeams)("displayedColumns",e.displayedColumns)("selection",e.selected)}}let ts=(()=>{class i{constructor(e,s,n,o){this.dialog=e,this.facilitiesManager=s,this.authResolver=n,this.entityStorageService=o,this.securityTeams=[],this.selected=new A.Ov(!0,[]),this.filterValue="",this.tableId=E.O9,this.displayedColumns=[]}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.refreshTable()}refreshTable(){this.loading=!0,this.facilitiesManager.getAssignedSecurityTeams(this.facility.id).subscribe(e=>{this.securityTeams=e,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("assignSecurityTeam_Facility_SecurityTeam_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeSecurityTeam_Facility_SecurityTeam_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","description"]:["id","name","description"]}applyFilter(e){this.filterValue=e}addSecurityTeam(){}removeSecurityTeam(){}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.uw),t.Y36(f.IQ),t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-security-teams"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","securityTeams","displayedColumns","selection",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","securityTeams","displayedColumns","selection"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.qZA(),t.YNc(6,Xi,1,0,"mat-spinner",3),t.YNc(7,Ki,1,5,"app-security-teams-list",4),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,4,"FACILITY_DETAIL.SECURITY_TEAMS.TITLE")),t.xp6(3),t.Q6J("placeholder","FACILITY_DETAIL.SECURITY_TEAMS.FILTER"),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,Z.L,m.O5,T.$g,Wi],pipes:[h.X$],styles:[""]}),i})();var es=c(20057),is=c(49546);function ss(i,a){1&i&&t._UZ(0,"mat-spinner",6)}function as(i,a){1&i&&(t.TgZ(0,"th",17),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.RESULT_ID")," "))}function ns(i,a){if(1&i&&(t.TgZ(0,"td",18),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.id)}}function os(i,a){1&i&&(t.TgZ(0,"th",17),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.DESTINATION")," "))}function ls(i,a){if(1&i&&(t.TgZ(0,"td",18),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.destination.destination)}}function cs(i,a){1&i&&(t.TgZ(0,"th",17),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.TIME")))}function rs(i,a){if(1&i&&(t.TgZ(0,"td",18),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.timestamp,"d.M.y H:mm:ss")," ")}}function us(i,a){1&i&&t._UZ(0,"tr",19)}function ds(i,a){1&i&&t._UZ(0,"tr",20)}function ps(i,a){if(1&i&&(t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,as,3,3,"th",11),t.YNc(10,ns,2,1,"td",12),t.BQk(),t.ynx(11,13),t.YNc(12,os,3,3,"th",11),t.YNc(13,ls,2,1,"td",12),t.BQk(),t.ynx(14,14),t.YNc(15,cs,3,3,"th",11),t.YNc(16,rs,3,4,"td",12),t.BQk(),t.YNc(17,us,1,0,"tr",15),t.YNc(18,ds,1,0,"tr",16),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,5,"DIALOGS.DELETE_TASK_RESULT.DESCRIPTION")),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.DELETE_TASK_RESULT.ASK")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(10),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let ut=(()=>{class i{constructor(e,s,n,o,r){this.dialogRef=e,this.data=s,this.taskManager=n,this.notificator=o,this.translate=r,this.loading=!1,this.dataSource=new l.by(this.data.taskResults),this.displayedColumns=["id","destination","time"]}ngOnInit(){this.theme=this.data.theme,this.taskResults=this.data.taskResults}deleteResults(){if(this.loading=!0,0===this.taskResults.length)return this.dialogRef.close(!0),this.loading=!1,void this.notificator.showSuccess(this.translate.instant("DIALOGS.DELETE_TASK_RESULT.SUCCESS"));this.taskManager.deleteTaskResultById({taskResultId:this.taskResults.pop().id}).subscribe(()=>{this.deleteResults()},()=>this.loading=!1)}onDelete(){this.deleteResults()}onCancel(){this.dialogRef.close(!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(f.Ob),t.Y36(_.V6),t.Y36(h.sK))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-delete-task-result-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","destination"],["matColumnDef","time"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,ss,1,0,"mat-spinner",1),t.YNc(5,ps,19,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return s.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return s.onDelete()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,9,"DIALOGS.DELETE_TASK_RESULT.TITLE")),t.xp6(2),t.Tol(s.theme),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.DELETE_TASK_RESULT.CANCEL")," "),t.xp6(2),t.Q6J("disabled",s.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.DELETE_TASK_RESULT.REMOVE")," "))},directives:[u.uh,m.O5,T.$g,u.xY,l.BZ,l.w1,l.fO,l.ge,l.Dz,l.ev,l.as,l.XQ,l.nj,l.Gk,u.H8,S.lW],pipes:[h.X$,m.uU],styles:[""]}),i})();var _s=c(62109);function ms(i,a){1&i&&t._UZ(0,"mat-spinner",6)}function hs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-checkbox",13),t.NdJ("change",function(n){return t.CHM(e),t.oxw(2).change(n)}),t.ALo(1,"translate"),t._uU(2),t.ALo(3,"translate"),t.qZA()}if(2&i){const e=t.oxw(2);t.s9C("matTooltip",t.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),t.Q6J("matTooltipDisabled",!e.checkboxesDisabled)("disabled",e.checkboxesDisabled)("checked",e.taskChecked),t.xp6(2),t.hij(" ",t.lcZ(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_AND_TASK_RESULTS")," ")}}function fs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-checkbox",14),t.NdJ("change",function(n){return t.CHM(e),t.oxw(2).change(n)}),t.ALo(1,"translate"),t._uU(2),t.ALo(3,"translate"),t.qZA()}if(2&i){const e=t.oxw(2);t.s9C("matTooltip",t.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),t.Q6J("matTooltipDisabled",!e.checkboxesDisabled)("disabled",e.checkboxesDisabled)("checked",e.taskResultsChecked),t.xp6(2),t.hij(" ",t.lcZ(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_RESULTS")," ")}}function gs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"perun-web-apps-resources-list",15),t.NdJ("allSelected",function(n){return t.CHM(e),t.oxw(2).disableCheckboxes(n)}),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("tableId",e.tableId)("disableRouting",!0)("resources",e.resources)("selection",e.selected)("displayedColumns",e.displayedColumns)}}function Ts(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div"),t.YNc(5,hs,4,9,"mat-checkbox",8),t.YNc(6,fs,4,9,"mat-checkbox",9),t.TgZ(7,"mat-checkbox",10),t.NdJ("change",function(n){return t.CHM(e),t.oxw().change(n)}),t.ALo(8,"translate"),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.qZA(),t.TgZ(11,"p"),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"div",11),t._uU(15),t.ALo(16,"translate"),t.qZA(),t.YNc(17,gs,1,5,"perun-web-apps-resources-list",12),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DESCRIPTION")),t.xp6(3),t.Q6J("ngIf",null!==e.taskId),t.xp6(1),t.Q6J("ngIf",null!==e.taskId),t.xp6(1),t.s9C("matTooltip",t.lcZ(8,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),t.Q6J("matTooltipDisabled",!e.checkboxesDisabled)("disabled",e.checkboxesDisabled)("checked",e.destinationChecked),t.xp6(2),t.hij(" ",t.lcZ(10,15,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_DESTINATION")," "),t.xp6(3),t.Oqu(t.lcZ(13,17,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.DESCRIPTION")),t.xp6(3),t.hij(" ",t.lcZ(16,19,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.ASK")," "),t.xp6(2),t.Q6J("ngIf",!e.loading)}}let Ss=(()=>{class i{constructor(e,s,n,o,r,p,C,v){this.dialogRef=e,this.data=s,this.resourcesManager=n,this.tasksManager=o,this.serviceManager=r,this.translate=p,this.notificator=C,this.cd=v,this.loading=!1,this.dataSource=new l.by(this.data.resource),this.selected=new A.Ov(!0,[...this.dataSource.data]),this.resources=[],this.displayedColumns=["select","id","vo","name"],this.checkboxesDisabled=!1,this.taskChecked=!0,this.taskResultsChecked=!0,this.destinationChecked=!0,this.tableId=E.$V}ngOnInit(){this.theme=this.data.theme,this.taskId=this.data.taskId,this.serviceId=this.data.serviceId,this.facilityId=this.data.facilityId,this.resources=this.data.resource}remove(){this.loading=!0,this.taskResultsChecked&&!this.taskChecked&&null!==this.taskId&&this.tasksManager.getTaskResultsForGUIByTask(this.taskId).subscribe(e=>{e.forEach(s=>{this.tasksManager.deleteTaskResultById({taskResultId:s.id}).subscribe()})}),this.taskChecked&&null!==this.taskId&&this.tasksManager.deleteTask({task:this.taskId}).subscribe(),this.destinationChecked&&this.serviceManager.getDestinations(this.serviceId,this.facilityId).subscribe(e=>{e.forEach(s=>{this.serviceManager.removeDestination(this.serviceId,this.facilityId,s.destination,s.type).subscribe()})}),this.selected.selected.forEach(e=>{this.resourcesManager.removeService(e.id,this.serviceId).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_SERVICE_FROM_FACILITY.SUCCESS").subscribe(s=>{this.notificator.showSuccess(s),this.dialogRef.close(!0)})},()=>this.loading=!1)})}cancel(){this.dialogRef.close(!1)}disableCheckboxes(e){e&&this.checkboxesDisabled&&this.changeCheckboxes(!0),!e&&!this.checkboxesDisabled&&this.changeCheckboxes(!1)}changeCheckboxes(e){this.checkboxesDisabled=!e,this.taskChecked=e,this.taskResultsChecked=e,this.destinationChecked=e,this.cd.detectChanges()}change(e){switch(e.source.id){case"task":this.taskChecked=e.checked;break;case"taskResults":this.taskResultsChecked=e.checked;break;case"destination":this.destinationChecked=e.checked}}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(f.xk),t.Y36(f.Ob),t.Y36(f.KK),t.Y36(h.sK),t.Y36(_.V6),t.Y36(t.sBO))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-delete-service-from-facility"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["id","task","class","right-space","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change",4,"ngIf"],["id","taskResults","class","right-space","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change",4,"ngIf"],["id","destination","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],[1,"font-weight-bold"],[3,"tableId","disableRouting","resources","selection","displayedColumns","allSelected",4,"ngIf"],["id","task","color","warn",1,"right-space",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],["id","taskResults","color","warn",1,"right-space",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],[3,"tableId","disableRouting","resources","selection","displayedColumns","allSelected"]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,ms,1,0,"mat-spinner",1),t.YNc(5,Ts,18,21,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return s.cancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return s.remove()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,9,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.TITLE")),t.xp6(2),t.Tol(s.theme),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CANCEL")," "),t.xp6(2),t.Q6J("disabled",s.loading||0===s.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.REMOVE")," "))},directives:[u.uh,m.O5,T.$g,u.xY,D.oG,H.gM,_s.C,u.H8,S.lW],pipes:[h.X$],styles:[".right-space[_ngcontent-%COMP%]{margin-right:40px}"]}),i})();function Cs(i,a){1&i&&t._UZ(0,"mat-spinner",6)}function As(i,a){1&i&&(t.TgZ(0,"div",7),t.TgZ(1,"div",8),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.qZA()),2&i&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"DIALOGS.DELETE_TASK.DESCRIPTION")," "))}let Is=(()=>{class i{constructor(e,s,n,o,r){this.dialogRef=e,this.data=s,this.tasksManager=n,this.translate=o,this.notificator=r,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.taskId=this.data.taskId}remove(){this.loading=!0,this.tasksManager.deleteTask({task:this.taskId}).subscribe(()=>{this.translate.get("DIALOGS.DELETE_TASK.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)})},()=>this.loading=!1)}cancel(){this.dialogRef.close(!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(f.Ob),t.Y36(h.sK),t.Y36(_.V6))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-delete-task-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,Cs,1,0,"mat-spinner",1),t.YNc(5,As,4,3,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return s.cancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return s.remove()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,9,"DIALOGS.DELETE_TASK.TITLE")),t.xp6(2),t.Tol(s.theme),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.DELETE_TASK.CANCEL")," "),t.xp6(2),t.Q6J("disabled",s.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.DELETE_TASK.DELETE")," "))},directives:[u.uh,m.O5,T.$g,u.xY,u.H8,S.lW],pipes:[h.X$],styles:[""]}),i})();var B=c(92181);let vs=(()=>{class i{transform(e){return e.blockedOnFacility?"BLOCKED":e.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED"}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=t.Yjl({name:"serviceStateBlockedToString",type:i,pure:!0}),i})();function bs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"th",18),t.TgZ(1,"mat-checkbox",19),t.NdJ("change",function(n){t.CHM(e);const o=t.oxw();return n&&o.masterToggle(),o.selectionChange.emit()}),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())("aria-label",e.checkboxLabel())}}function ys(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",20),t.TgZ(1,"mat-checkbox",21),t.NdJ("click",function(n){return n.stopPropagation()})("change",function(n){const r=t.CHM(e).$implicit,p=t.oxw();return n&&p.selection.toggle(r),p.selectionChange.emit()}),t.qZA(),t.qZA()}if(2&i){const e=a.$implicit,s=t.oxw();t.xp6(1),t.Q6J("checked",s.selection.isSelected(e))("aria-label",s.checkboxLabel(e))}}function Es(i,a){1&i&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TASK_ID")," "))}function xs(i,a){if(1&i&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Oqu(e.task.id)}}function Zs(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"0"),t.qZA())}function Ls(i,a){if(1&i&&(t.TgZ(0,"td",23),t.YNc(1,xs,2,1,"div",24),t.YNc(2,Zs,2,0,"div",24),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngIf",e.task),t.xp6(1),t.Q6J("ngIf",!e.task)}}function Ds(i,a){1&i&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.SERVICE_NAME")," "))}function Rs(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.service.name)}}function Fs(i,a){1&i&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.STATUS")," "))}function Os(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.status)}}function Ns(i,a){1&i&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.BLOCKED")," "))}function ks(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.ALo(2,"serviceStateBlockedToString"),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,e)," ")}}function ws(i,a){1&i&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.STARTED")," "))}function Us(i,a){if(1&i&&(t.TgZ(0,"div"),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.task.startTime,"d.M.y H:mm:ss")," ")}}function Ys(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NOT_YET")," "))}function Ms(i,a){if(1&i&&(t.TgZ(0,"td",25),t.YNc(1,Us,3,4,"div",24),t.YNc(2,Ys,3,3,"div",24),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngIf",e.task&&e.task.startTime),t.xp6(1),t.Q6J("ngIf",!e.task||!e.task.startTime)}}function Js(i,a){1&i&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.ENDED")," "))}function qs(i,a){if(1&i&&(t.TgZ(0,"div"),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.task.endTime,"d.M.y H:mm:ss")," ")}}function Hs(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NOT_YET")," "))}function Qs(i,a){if(1&i&&(t.TgZ(0,"td",25),t.YNc(1,qs,3,4,"div",24),t.YNc(2,Hs,3,3,"div",24),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngIf",e.task&&e.task.endTime),t.xp6(1),t.Q6J("ngIf",!e.task||!e.task.endTime)}}function Ps(i,a){1&i&&t._UZ(0,"tr",26)}const dt=function(i,a){return["/facilities",i,"services-status",a]};function Vs(i,a){if(1&i&&t._UZ(0,"tr",27),2&i){const e=a.$implicit,s=t.oxw();t.ekj("disable-outline",s.disableRouting||!e.task)("make-yellow","WARNING"===e.status)("make-green","DONE"===e.status)("make-red","GENERROR"===e.status||"SENDERROR"===e.status||"ERROR"===e.status)("cursor-pointer",!s.disableRouting&&null!==e.task),t.Q6J("routerLink",s.disableRouting||null===e.task?null:t.WLB(12,dt,e.facility.id,e.taskId))("perunWebAppsMiddleClickRouterLink",s.disableRouting||null===e.task?null:t.WLB(15,dt,e.facility.id,e.taskId))}}function Gs(i,a){1&i&&(t.TgZ(0,"app-alert",28),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Bs(i,a){1&i&&(t.TgZ(0,"app-alert",28),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NO_SERVICES_STATUS_WARNING"),"\n"))}let js=(()=>{class i{constructor(e,s){this.authResolver=e,this.tableCheckbox=s,this.servicesStatus=[],this.displayedColumns=["select","task.id","service.name","status","blocked","task.startTime","task.endTime"],this.selection=new A.Ov(!0,[]),this.disableRouting=!0,this.selectionChange=new t.vpe,this.pageSizeOptions=d.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"task.id"!==e)),this.dataSource=new l.by(this.servicesStatus),this.setDataSource(),this.dataSource.filterPredicate=(e,s)=>{const n=s.trim().toLowerCase(),o=r=>{let p="";return Object.values(r).forEach(C=>{"object"!=typeof C?p=p+" "+C:null!==C&&(p=p+" "+o(C))}),p.trim().toLowerCase()};return o(e).includes(n)},this.dataSource.filter=this.filterValue}getDataForColumn(e,s){switch(s){case"task.id":return e.task?e.task.id.toString():e[s];case"service.name":return e.service.name;case"status":return e.status;case"blocked":return e.blockedOnFacility?"BLOCKED":e.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED";case"task.startTime":return e.task&&e.task.startTime?(0,m.p6)(e.task.startTime,"d.M.y H:mm:ss","en"):e[s];case"task.endTime":return e.task&&e.task.endTime?(0,m.p6)(e.task.endTime,"d.M.y H:mm:ss","en"):e[s];default:return e[s]}}getSortDataForColumn(e,s){switch(s){case"task.id":return e.task?e.task.id.toString():e[s];case"service.name":return e.service.name;case"status":return e.status;case"blocked":return e.blockedOnFacility?"BLOCKED":e.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED";case"task.startTime":return e.task&&e.task.startTime?(0,m.p6)(e.task.startTime,"yyyy.MM.dd HH:mm:ss","en"):e[s];case"task.endTime":return e.task&&e.task.endTime?(0,m.p6)(e.task.endTime,"yyyy.MM.dd HH:mm:ss","en"):e[s];default:return e[s]}}exportData(e){(0,d.O6)((0,d.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,s)=>(0,d.Sd)(e,s,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,s)=>(0,d.pR)(e,s,this.getSortDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.service.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(_.x4),t.Y36(_.UA))},i.\u0275cmp=t.Xpm({type:i,selectors:[["perun-web-apps-services-status-list"]],viewQuery:function(e,s){if(1&e&&(t.Gf(I.YE,7),t.Gf(d.l9,7)),2&e){let n;t.iGM(n=t.CRH())&&(s.matSort=n.first),t.iGM(n=t.CRH())&&(s.child=n.first)}},inputs:{servicesStatus:"servicesStatus",displayedColumns:"displayedColumns",selection:"selection",filterValue:"filterValue",tableId:"tableId",disableRouting:"disableRouting"},outputs:{selectionChange:"selectionChange"},features:[t.TTD],decls:28,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","service.name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size align-checkbox",4,"matCellDef"],["matColumnDef","task.id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","service.name"],["mat-cell","",4,"matCellDef"],["matColumnDef","status"],["matColumnDef","blocked"],["matColumnDef","task.startTime"],["matColumnDef","task.endTime"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item",3,"disable-outline","make-yellow","make-green","make-red","cursor-pointer","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"checked","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],[4,"ngIf"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(e,s){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(o){return s.exportData(o)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,bs,2,3,"th",4),t.YNc(5,ys,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,Es,3,3,"th",7),t.YNc(8,Ls,3,2,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,Ds,3,3,"th",7),t.YNc(11,Rs,2,1,"td",10),t.BQk(),t.ynx(12,11),t.YNc(13,Fs,3,3,"th",7),t.YNc(14,Os,2,1,"td",10),t.BQk(),t.ynx(15,12),t.YNc(16,Ns,3,3,"th",7),t.YNc(17,ks,3,3,"td",10),t.BQk(),t.ynx(18,13),t.YNc(19,ws,3,3,"th",7),t.YNc(20,Ms,3,2,"td",10),t.BQk(),t.ynx(21,14),t.YNc(22,Js,3,3,"th",7),t.YNc(23,Qs,3,2,"td",10),t.BQk(),t.YNc(24,Ps,1,0,"tr",15),t.YNc(25,Vs,1,18,"tr",16),t.qZA(),t.qZA(),t.qZA(),t.YNc(26,Gs,3,3,"app-alert",17),t.YNc(27,Bs,3,3,"app-alert",17)),2&e&&(t.Q6J("hidden",0===s.dataSource.filteredData.length||0===s.servicesStatus.length),t.xp6(1),t.Q6J("tableId",s.tableId)("dataLength",s.dataSource.filteredData.length)("pageSizeOptions",s.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",s.dataSource),t.xp6(22),t.Q6J("matHeaderRowDef",s.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",s.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===s.dataSource.filteredData.length&&0!==s.servicesStatus.length),t.xp6(1),t.Q6J("ngIf",0===s.servicesStatus.length))},directives:[N.l,l.BZ,I.YE,l.w1,l.fO,l.ge,D.oG,l.Dz,l.ev,I.nU,m.O5,l.as,l.XQ,l.nj,l.Gk,y.rH,G.YH,R.w],pipes:[h.X$,vs,m.uU],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.make-green[_ngcontent-%COMP%]{background-color:#c4ffcb}.make-yellow[_ngcontent-%COMP%]{background-color:#fffde7}.make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),i})();function $s(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().forcePropagation()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.FORCE_PROPAGATION")," ")}}function zs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().allow()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length||e.disableAllowButton),t.xp6(1),t.hij(" ",t.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.ALLOW")," ")}}function Ws(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw().block()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length||e.disableBlockButton),t.xp6(1),t.hij(" ",t.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.BLOCK")," ")}}function Xs(i,a){if(1&i&&(t.TgZ(0,"button",13),t.ALo(1,"translate"),t._uU(2),t.ALo(3,"translate"),t.qZA()),2&i){const e=t.oxw(),s=t.MAs(10);t.s9C("matTooltip",t.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),t.Q6J("matTooltipDisabled",!e.disableRemoveButton)("disabled",e.disableRemoveButton)("matMenuTriggerFor",s),t.xp6(2),t.hij(" ",t.lcZ(3,7,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE")," ")}}function Ks(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().removeTaskResults()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_TASK_RESULTS")," "))}function ta(i,a){1&i&&t._UZ(0,"mat-spinner",14)}function ea(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"perun-web-apps-services-status-list",15),t.NdJ("selectionChange",function(){return t.CHM(e),t.oxw().selectionChanged()}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("servicesStatus",e.servicesStates)("selection",e.selected)("disableRouting",!e.routeAuth)}}let ia=(()=>{class i{constructor(e,s,n,o,r,p,C,v,L){this.tasksManager=e,this.servicesManager=s,this.notificator=n,this.translate=o,this.authResolver=r,this.facilityManager=p,this.resourcesManager=C,this.dialog=v,this.entityStorageService=L,this.servicesStates=[],this.selected=new A.Ov(!0,[]),this.filterValue="",this.tableId=E.oK,this.disableAllowButton=!0,this.disableBlockButton=!0,this.disableRemoveButton=!0,o.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_FORCE_PROPAGATION").subscribe(b=>this.successFPMessage=b),o.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_ALLOW").subscribe(b=>this.successAllowMessage=b),o.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_BLOCK").subscribe(b=>this.successBlockMessage=b),o.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_DELETE").subscribe(b=>this.successDeleteMessage=b),o.get("FACILITY_DETAIL.SERVICES_STATUS.ALREADY_DELETED").subscribe(b=>this.allreadyDeletedMessage=b)}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}forcePropagation(){for(const e of this.selected.selected)this.servicesManager.forceServicePropagation(e.service.id,e.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successFPMessage)})}allow(){for(const e of this.selected.selected)this.servicesManager.unblockServiceOnFacility(e.service.id,e.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successAllowMessage)})}block(){for(const e of this.selected.selected)this.servicesManager.blockServiceOnFacility(e.service.id,e.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successBlockMessage)})}removeTaskResults(){this.tasksManager.getTaskResultsForGUIByTask(this.selected.selected[0].task.id).subscribe(e=>{const s=(0,d.kZ)();s.width="600px",s.data={theme:"facility-theme",taskResults:e},this.dialog.open(ut,s)})}removeServiceFromFacility(){this.facilityManager.getAssignedResourcesByAssignedServiceForFacility(this.selected.selected[0].facility.id,this.selected.selected[0].service.id).subscribe(e=>{const s=(0,d.kZ)();s.width="600px",this.taskId=this.taskIsNull?null:this.selected.selected[0].task.id,0===e.length?(s.data={theme:"facility-theme",taskId:this.taskId},this.dialog.open(Is,s).afterClosed().subscribe(o=>{o&&(this.disableRemoveButton=!0,this.refreshTable())})):this.resourcesManager.getRichResourcesByIds(e.map(n=>n.id)).subscribe(n=>{s.data={theme:"facility-theme",taskId:this.taskId,serviceId:this.selected.selected[0].service.id,facilityId:this.selected.selected[0].facility.id,resource:n},this.dialog.open(Ss,s).afterClosed().subscribe(r=>{r&&(this.disableRemoveButton=!0,this.refreshTable())})})})}refreshTable(){this.loading=!0,this.tasksManager.getFacilityServicesState(this.facility.id).subscribe(e=>{this.servicesStates=e,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.propagationAuth=this.authResolver.isAuthorized("forceServicePropagation_Facility_Service_policy",[this.facility]),this.blockAuth=this.authResolver.isAuthorized("blockServiceOnFacility_Service_Facility_policy",[this.facility]),this.allowAuth=this.authResolver.isAuthorized("unblockServiceOnFacility_Service_Facility_policy",[this.facility]),this.deleteAuth=this.authResolver.isAuthorized("deleteTask_Task_policy",[this.facility]),this.routeAuth=this.authResolver.isAuthorized("getTaskResultsByTask_int_policy",[this.facility])}applyFilter(e){this.filterValue=e}selectionChanged(){this.disableBlockButton=!0,this.disableAllowButton=!0,this.disableRemoveButton=1!==this.selected.selected.length,this.disableRemoveButton||(this.taskIsNull=null===this.selected.selected[0].task);for(const e of this.selected.selected)e.blockedOnFacility?this.disableAllowButton=!1:this.disableBlockButton=!1}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.Ob),t.Y36(f.KK),t.Y36(_.V6),t.Y36(h.sK),t.Y36(_.x4),t.Y36(f.IQ),t.Y36(f.xk),t.Y36(u.uw),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-service-status"]],decls:18,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2 dropdown-toggle",3,"matTooltip","matTooltipDisabled","disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","servicesStatus","selection","disableRouting","selectionChange",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mr-2","dropdown-toggle",3,"matTooltip","matTooltipDisabled","disabled","matMenuTriggerFor"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","servicesStatus","selection","disableRouting","selectionChange"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.YNc(5,$s,3,4,"button",2),t.YNc(6,zs,3,4,"button",2),t.YNc(7,Ws,3,4,"button",3),t.YNc(8,Xs,4,9,"button",4),t.TgZ(9,"mat-menu",null,5),t.YNc(11,Ks,3,3,"button",6),t.TgZ(12,"button",7),t.NdJ("click",function(){return s.removeServiceFromFacility()}),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.qZA(),t.TgZ(15,"perun-web-apps-immediate-filter",8),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.qZA(),t.YNc(16,ta,1,0,"mat-spinner",9),t.YNc(17,ea,1,5,"perun-web-apps-services-status-list",10),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,10,"FACILITY_DETAIL.SERVICES_STATUS.TITLE")),t.xp6(3),t.Q6J("ngIf",s.propagationAuth),t.xp6(1),t.Q6J("ngIf",s.allowAuth),t.xp6(1),t.Q6J("ngIf",s.blockAuth),t.xp6(1),t.Q6J("ngIf",s.deleteAuth),t.xp6(3),t.Q6J("ngIf",!s.taskIsNull),t.xp6(2),t.hij(" ",t.lcZ(14,12,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_SERVICE_FROM_FACILITY")," "),t.xp6(2),t.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TABLE_SEARCH"),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,m.O5,S.lW,H.gM,B.p6,B.VK,B.OP,Z.L,T.$g,js],pipes:[h.X$],styles:[""]}),i})();var pt=c(64080),sa=c(64901);let aa=(()=>{class i{constructor(){this.changeAdvancedFilter=new t.vpe,this.clearFilters=new t.vpe}ngOnInit(){this.changeAdvancedFilter.emit(this.advancedFilter)}toggleAdvancedFilter(){this.advancedFilter=!this.advancedFilter,this.changeAdvancedFilter.emit(this.advancedFilter)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["perun-web-apps-advanced-filter"]],inputs:{filtersCount:"filtersCount",advancedFilter:"advancedFilter"},outputs:{changeAdvancedFilter:"changeAdvancedFilter",clearFilters:"clearFilters"},decls:12,vars:11,consts:[["mat-stroked-button","",3,"click"]],template:function(e,s){1&e&&(t.TgZ(0,"button",0),t.NdJ("click",function(){return s.toggleAdvancedFilter()}),t.TgZ(1,"mat-icon"),t._uU(2,"filter_list"),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.TgZ(5,"mat-icon"),t._uU(6),t.qZA(),t.qZA(),t.TgZ(7,"button",0),t.NdJ("click",function(){return s.clearFilters.emit()}),t.TgZ(8,"mat-icon"),t._uU(9,"filter_list_off"),t.qZA(),t._uU(10),t.ALo(11,"translate"),t.qZA()),2&e&&(t.Gre("mr-2 ",s.filtersCount?"grey":"no-color",""),t.xp6(3),t.AsE(" ",t.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.ADVANCED_FILTER.FILTERS")," ",s.filtersCount?"("+s.filtersCount+")":null," "),t.xp6(3),t.Oqu(s.advancedFilter?"arrow_drop_up":"arrow_drop_down"),t.xp6(4),t.hij(" ",t.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.ADVANCED_FILTER.CLEAR_FILTERS"),"\n"))},directives:[S.lW,F.Hw],pipes:[h.X$],styles:[".grey[_ngcontent-%COMP%]{color:#fff;background-color:gray}.no-color[_ngcontent-%COMP%]{color:#000;background-color:transparent}"]}),i})();var na=c(32368),oa=c(62707),la=c(45703),ca=c(42377);let _t=(()=>{class i{constructor(){this.service=null,this.multiple=!1,this.disableAutoSelect=!1,this.theme="",this.serviceSelected=new t.vpe,this.nameFunction=e=>e.name,this.secondaryFunction=()=>"",this.searchFunction=e=>e.name}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["perun-web-apps-service-search-select"]],inputs:{service:"service",services:"services",multiple:"multiple",disableAutoSelect:"disableAutoSelect",theme:"theme"},outputs:{serviceSelected:"serviceSelected"},decls:4,vars:17,consts:[[3,"entity","entities","multiple","disableAutoSelect","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","theme","entitySelected"]],template:function(e,s){1&e&&(t.TgZ(0,"perun-web-apps-entity-search-select",0),t.NdJ("entitySelected",function(o){return s.serviceSelected.emit(o)}),t.ALo(1,"translate"),t.ALo(2,"translate"),t.ALo(3,"translate"),t.qZA()),2&e&&t.Q6J("entity",s.service)("entities",s.services)("multiple",s.multiple)("disableAutoSelect",s.disableAutoSelect)("searchFunction",s.searchFunction)("mainTextFunction",s.nameFunction)("secondaryTextFunction",s.secondaryFunction)("selectPlaceholder",t.lcZ(1,11,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_SEARCH_SELECT.SELECT_SERVICE"))("findPlaceholder",t.lcZ(2,13,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_SEARCH_SELECT.FIND_SERVICE"))("noEntriesText",t.lcZ(3,15,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_SEARCH_SELECT.NO_SERVICE_FOUND"))("theme",s.theme)},directives:[ca.i],pipes:[h.X$],styles:[""]}),i})();var ra=c(88561);function ua(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",8),t.TgZ(1,"div",9),t.TgZ(2,"mat-slide-toggle",10),t.NdJ("ngModelChange",function(n){return t.CHM(e),t.oxw().allowed=n})("change",function(){return t.CHM(e),t.oxw().changeFilter()}),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"span",11),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.qZA(),t.TgZ(8,"div",1),t.TgZ(9,"perun-web-apps-vo-search-select",12),t.NdJ("voSelected",function(n){return t.CHM(e),t.oxw().voSelected(n)}),t.qZA(),t.TgZ(10,"perun-web-apps-resource-search-select",13),t.NdJ("resourceSelected",function(n){return t.CHM(e),t.oxw().resourceSelected(n)}),t.qZA(),t.TgZ(11,"perun-web-apps-service-search-select",14),t.NdJ("serviceSelected",function(n){return t.CHM(e),t.oxw().serviceSelected(n)}),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.Q6J("ngModel",e.allowed),t.xp6(1),t.hij(" ",t.lcZ(4,10,"FACILITY_DETAIL.ALLOWED_USERS.FILTER_ALLOWED")," "),t.xp6(3),t.Oqu(t.lcZ(7,12,e.toggle_messages[e.allowed?1:0])),t.xp6(3),t.Q6J("vo",e.selectedVo)("vos",e.vos),t.xp6(1),t.Q6J("displayStatus",!1)("resource",e.selectedResource)("resources",e.filteredResources),t.xp6(1),t.Q6J("service",e.selectedService)("services",e.filteredServices)}}function da(i,a){1&i&&t._UZ(0,"mat-spinner",15)}const pa=function(){return["id","name","email","logins","organization"]};function _a(i,a){if(1&i&&t._UZ(0,"perun-web-apps-users-dynamic-list",16),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("searchString",e.filterValue)("displayedColumns",t.DdM(10,pa))("attrNames",e.attributes)("facilityId",e.facility.id)("voId",-1===e.selectedVo.id?null:e.selectedVo.id)("resourceId",-1===e.selectedResource.id?null:e.selectedResource.id)("serviceId",-1===e.selectedService.id?null:e.selectedService.id)("onlyAllowed",e.allowed)("disableRouting",!e.routeAuth)}}let ma=(()=>{class i{constructor(e,s,n,o,r,p){this.facilityService=e,this.serviceService=s,this.resourceService=n,this.authResolver=o,this.storeService=r,this.entityStorageService=p,this.loading=!1,this.filterValue="",this.attributes=[],this.allowed=!0,this.emptyResource={id:-1,beanName:"Resource",name:"No filter"},this.resources=[this.emptyResource],this.filteredResources=[this.emptyResource],this.selectedResource=this.emptyResource,this.emptyVo={id:-1,beanName:"Vo",name:"No filter"},this.vos=[this.emptyVo],this.selectedVo=this.emptyVo,this.emptyService={id:-1,beanName:"Service",name:"No filter"},this.services=[this.emptyService],this.filteredServices=[this.emptyService],this.selectedService=this.emptyService,this.resourceAssignedServices=new Map,this.tableId=E.z6,this.toggle_messages=["FACILITY_DETAIL.ALLOWED_USERS.FILTER_ASSIGNED_MSG","FACILITY_DETAIL.ALLOWED_USERS.FILTER_ALLOWED_MSG"],this.advancedFilter=!1}ngOnInit(){this.loading=!0,this.attributes=[pt.r.USER_DEF_ORGANIZATION,pt.r.USER_DEF_PREFERRED_MAIL],this.attributes=this.attributes.concat(this.storeService.getLoginAttributeNames()),this.facility=this.entityStorageService.getEntity(),this.routeAuth=this.authResolver.isPerunAdminOrObserver(),this.changeFilter(),this.refreshPage()}changeFilter(){this.filtersCount=this.allowed?1:0,-1!==this.selectedVo.id&&(this.filtersCount+=1),-1!==this.selectedResource.id&&(this.filtersCount+=1),-1!==this.selectedService.id&&(this.filtersCount+=1)}clearFilters(){this.allowed=!1,this.selectedVo=this.emptyVo,this.selectedResource=this.emptyResource,this.selectedService=this.emptyService,this.filtersCount=0}refreshPage(){this.loading=!0,this.facilityService.getAssignedResourcesForFacility(this.facility.id).subscribe(e=>{this.resources=[this.emptyResource].concat(e),this.filteredResources=this.resources,this.facilityService.getAllowedVos(this.facility.id).subscribe(s=>{this.vos=[this.emptyVo].concat(s),this.services=[],this.getAssignedServices(this.resources,this.resources.length-1)},()=>this.loading=!1)},()=>this.loading=!1)}getAssignedServices(e,s){if(0===s)return this.services=[this.emptyService].concat(this.services),this.filteredServices=this.services,this.changeFilter(),void(this.loading=!1);this.resourceService.getAssignedServicesToResource(e[s].id).subscribe(n=>{this.services=this.services.concat(n),this.resourceAssignedServices[e[s].id]=n.map(o=>o.id),this.getAssignedServices(e,s-1)},()=>this.loading=!1)}getFilteredServices(e){const s=new Set;return e.forEach(n=>{this.resourceAssignedServices[n.id].forEach(o=>s.add(o))}),[this.emptyService].concat(this.services.filter(n=>s.has(n.id)))}applyFilter(e){this.filterValue=e}voSelected(e){this.selectedVo.id!==e.id&&(this.selectedVo=e,this.selectedResource=this.emptyResource,this.selectedService=this.emptyService,-1===e.id?(this.filteredResources=this.resources,this.filteredServices=this.services):(this.filteredResources=this.resources.filter(s=>s.voId===e.id),this.filteredServices=this.getFilteredServices(this.filteredResources),this.filteredResources=[this.emptyResource].concat(this.filteredResources)),this.changeFilter())}resourceSelected(e){this.selectedResource.id!==e.id&&(this.selectedResource=e,this.selectedService=this.emptyService,this.filteredServices=-1===e.id?this.services:this.getFilteredServices([e]),this.changeFilter())}serviceSelected(e){this.selectedService=e,this.changeFilter()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.IQ),t.Y36(f.KK),t.Y36(f.xk),t.Y36(_.x4),t.Y36(_.d6),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-allowed-users"]],decls:11,vars:9,consts:[[1,"page-subtitle"],[1,"filters"],[1,"mr-2",3,"refresh"],[1,"mr-2","filter",3,"placeholder","filter"],[3,"filtersCount","advancedFilter","changeAdvancedFilter","clearFilters"],["class","advanced-filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","searchString","displayedColumns","attrNames","facilityId","voId","resourceId","serviceId","onlyAllowed","disableRouting",4,"ngIf"],[1,"advanced-filter"],[1,"toggle","filters"],["labelPosition","before",1,"mr-2",3,"ngModel","ngModelChange","change"],[1,"text-muted"],[1,"search-select",3,"vo","vos","voSelected"],[1,"search-select",3,"displayStatus","resource","resources","resourceSelected"],[1,"search-select",3,"service","services","serviceSelected"],[1,"ml-auto","mr-auto"],[3,"tableId","searchString","displayedColumns","attrNames","facilityId","voId","resourceId","serviceId","onlyAllowed","disableRouting"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",1),t.TgZ(5,"perun-web-apps-refresh-button",2),t.NdJ("refresh",function(){return s.refreshPage()}),t.qZA(),t.TgZ(6,"perun-web-apps-debounce-filter",3),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.qZA(),t.TgZ(7,"perun-web-apps-advanced-filter",4),t.NdJ("changeAdvancedFilter",function(o){return s.advancedFilter=o})("clearFilters",function(){return s.clearFilters()}),t.qZA(),t.qZA(),t.YNc(8,ua,12,14,"div",5),t.YNc(9,da,1,0,"mat-spinner",6),t.YNc(10,_a,1,11,"perun-web-apps-users-dynamic-list",7),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,7,"FACILITY_DETAIL.ALLOWED_USERS.TITLE")),t.xp6(4),t.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_USERS.FILTER"),t.xp6(1),t.Q6J("filtersCount",s.filtersCount)("advancedFilter",s.advancedFilter),t.xp6(1),t.Q6J("ngIf",s.advancedFilter),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,sa.P,aa,m.O5,na.Rr,g.JJ,g.On,oa.M,la.L,_t,T.$g,ra.M],pipes:[h.X$],styles:[".filters[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline}.filter[_ngcontent-%COMP%]{min-width:350px}.search-select[_ngcontent-%COMP%]{width:32%;margin-right:20px;margin-top:30px}.toggle[_ngcontent-%COMP%]{display:flex;flex-direction:column}.advanced-filter[_ngcontent-%COMP%]{border:1px solid lightgray;padding:15px}"]}),i})();var ha=c(76023);function fa(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"th",20),t.TgZ(1,"mat-checkbox",21),t.NdJ("change",function(n){t.CHM(e);const o=t.oxw();return n?o.masterToggle():null}),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function ga(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",22),t.TgZ(1,"mat-checkbox",23),t.NdJ("change",function(n){const r=t.CHM(e).$implicit,p=t.oxw();return n?p.selection.toggle(r):null})("click",function(n){return n.stopPropagation()}),t.qZA(),t.qZA()}if(2&i){const e=a.$implicit,s=t.oxw();t.xp6(1),t.Q6J("aria-label",s.checkboxLabel(e))("checked",s.selection.isSelected(e))}}function Ta(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RESULT_ID")," "))}function Sa(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.id)}}function Ca(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.DESTINATION")," "))}function Aa(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e.destination.destination," ")}}function Ia(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TYPE")," "))}function va(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e.destination.type.toUpperCase()," ")}}function ba(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.SERVICE")," "))}function ya(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e.service.name," ")}}function Ea(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STATUS")," "))}function xa(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e.status," ")}}function Za(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TIME")," "))}function La(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.timestamp,"d.M.y H:mm:ss")," ")}}function Da(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RETURN_CODE")," "))}function Ra(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e.returnCode," ")}}function Fa(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STANDARD_MESSAGE")," "))}function Oa(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t._UZ(2,"br"),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e)}}function Na(i,a){if(1&i&&(t.TgZ(0,"td",25),t.YNc(1,Oa,3,1,"span",26),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngForOf",e.standardMessage.split("\n"))}}function ka(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.ERROR_MESSAGE")," "))}function wa(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e.errorMessage," ")}}function Ua(i,a){1&i&&t._UZ(0,"tr",27)}function Ya(i,a){if(1&i&&t._UZ(0,"tr",28),2&i){const e=a.$implicit;t.ekj("greenTableItem","DONE"===e.status)("redTableItem","ERROR"===e.status||"DENIED"===e.status)("yellowTableItem","WARNING"===e.status)}}function Ma(i,a){1&i&&(t.TgZ(0,"app-alert",29),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Ja(i,a){1&i&&(t.TgZ(0,"app-alert",29),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.NO_RESULTS_WARNING"),"\n"))}let qa=(()=>{class i{constructor(e,s){this.authResolver=e,this.tableCheckbox=s,this.pageSizeOptions=d.f7,this.taskResults=[],this.selection=new A.Ov(!0,[]),this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"]}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new l.by(this.taskResults),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,s){switch(s){case"id":return e.id.toString();case"destination":return e.destination.destination;case"type":return e.destination.type;case"service":return e.service.name;case"status":return e.status;case"time":return(0,m.p6)(e.timestamp.toString(),"d.M.y H:mm:ss","en");case"returnCode":return e.returnCode.toString();case"standardMessage":return e.standardMessage;case"errorMessage":return e.errorMessage;default:return""}}getSortDataForColumn(e,s){switch(s){case"id":return e.id.toString();case"destination":return e.destination.destination;case"type":return e.destination.type;case"service":return e.service.name;case"status":return e.status;case"time":return(0,m.p6)(e.timestamp.toString(),"yyyy.MM.dd HH:mm:ss","en");case"returnCode":return e.returnCode.toString();case"standardMessage":return e.standardMessage;case"errorMessage":return e.errorMessage;default:return""}}exportData(e){(0,d.O6)((0,d.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue,this.dataSource.filterPredicate=(e,s)=>(0,d.Sd)(e,s,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,s)=>(0,d.pR)(e,s,this.getSortDataForColumn,this))}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(_.x4),t.Y36(_.UA))},i.\u0275cmp=t.Xpm({type:i,selectors:[["perun-web-apps-task-results-list"]],viewQuery:function(e,s){if(1&e&&(t.Gf(I.YE,7),t.Gf(d.l9,7)),2&e){let n;t.iGM(n=t.CRH())&&(s.matSort=n.first),t.iGM(n=t.CRH())&&(s.child=n.first)}},inputs:{taskResults:"taskResults",selection:"selection",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns"},features:[t.TTD],decls:37,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","time","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","destination"],["matColumnDef","type"],["matColumnDef","service"],["matColumnDef","status"],["matColumnDef","time"],["matColumnDef","returnCode"],["matColumnDef","standardMessage"],["matColumnDef","errorMessage"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"greenTableItem","redTableItem","yellowTableItem",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],[4,"ngFor","ngForOf"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,s){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(o){return s.exportData(o)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,fa,2,3,"th",4),t.YNc(5,ga,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,Ta,3,3,"th",7),t.YNc(8,Sa,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,Ca,3,3,"th",7),t.YNc(11,Aa,2,1,"td",8),t.BQk(),t.ynx(12,10),t.YNc(13,Ia,3,3,"th",7),t.YNc(14,va,2,1,"td",8),t.BQk(),t.ynx(15,11),t.YNc(16,ba,3,3,"th",7),t.YNc(17,ya,2,1,"td",8),t.BQk(),t.ynx(18,12),t.YNc(19,Ea,3,3,"th",7),t.YNc(20,xa,2,1,"td",8),t.BQk(),t.ynx(21,13),t.YNc(22,Za,3,3,"th",7),t.YNc(23,La,3,4,"td",8),t.BQk(),t.ynx(24,14),t.YNc(25,Da,3,3,"th",7),t.YNc(26,Ra,2,1,"td",8),t.BQk(),t.ynx(27,15),t.YNc(28,Fa,3,3,"th",7),t.YNc(29,Na,2,1,"td",8),t.BQk(),t.ynx(30,16),t.YNc(31,ka,3,3,"th",7),t.YNc(32,wa,2,1,"td",8),t.BQk(),t.YNc(33,Ua,1,0,"tr",17),t.YNc(34,Ya,1,6,"tr",18),t.qZA(),t.qZA(),t.qZA(),t.YNc(35,Ma,3,3,"app-alert",19),t.YNc(36,Ja,3,3,"app-alert",19)),2&e&&(t.Q6J("hidden",0===s.dataSource.filteredData.length||0===s.taskResults.length),t.xp6(1),t.Q6J("tableId",s.tableId)("dataLength",s.dataSource.filteredData.length)("pageSizeOptions",s.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",s.dataSource),t.xp6(31),t.Q6J("matHeaderRowDef",s.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",s.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===s.dataSource.filteredData.length&&0!==s.taskResults.length),t.xp6(1),t.Q6J("ngIf",0===s.taskResults.length))},directives:[N.l,l.BZ,I.YE,l.w1,l.fO,l.ge,D.oG,l.Dz,l.ev,I.nU,m.sg,l.as,l.XQ,l.nj,l.Gk,m.O5,R.w],pipes:[h.X$,m.uU],styles:[".greenTableItem[_ngcontent-%COMP%]{background-color:#c4ffcb}.yellowTableItem[_ngcontent-%COMP%]{background-color:#fffde7}.redTableItem[_ngcontent-%COMP%]{background-color:#ffcdd2}"]}),i})();function Ha(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().removeTaskResult()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"FACILITY_DETAIL.TASK_RESULTS.REMOVE"),"\n")}}function Qa(i,a){1&i&&t._UZ(0,"mat-spinner",8)}function Pa(i,a){if(1&i&&t._UZ(0,"perun-web-apps-task-results-list",9),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("displayedColumns",e.displayedColumns)("filterValue",e.filterValue)("selection",e.selection)("taskResults",e.taskResults)}}let Va=(()=>{class i{constructor(e,s,n,o,r){this.route=e,this.taskManager=s,this.authResolver=n,this.dialog=o,this.entityStorageService=r,this.loading=!1,this.filterValue="",this.selection=new A.Ov(!0,[]),this.task={id:0},this.tableId=E.e5,this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"],this.removeAuth=!1}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.removeAuth=this.authResolver.isAuthorized("deleteTask_Task_policy",[this.facility]),this.removeAuth||(this.displayedColumns=["id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"]),this.route.params.subscribe(e=>{this.taskId=e.taskId,this.taskManager.getTaskById(this.taskId).subscribe(s=>{this.task=s,this.refreshTable()})})}refreshTable(){this.loading=!0,this.taskManager.getTaskResultsForGUIByTask(this.taskId).subscribe(e=>{this.selection.clear(),this.taskResults=e,this.loading=!1})}removeTaskResult(){const e=(0,d.kZ)();e.width="600px",e.data={theme:"facility-theme",taskResults:this.selection.selected},this.dialog.open(ut,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}applyFilter(e){this.filterValue=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(y.gz),t.Y36(f.Ob),t.Y36(_.x4),t.Y36(u.uw),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-task-results"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[1,"text-muted"],[3,"refresh"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","displayedColumns","filterValue","selection","taskResults",4,"ngIf"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","displayedColumns","filterValue","selection","taskResults"]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"span",1),t._uU(4),t.qZA(),t.qZA(),t.TgZ(5,"perun-web-apps-refresh-button",2),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.YNc(6,Ha,3,4,"button",3),t.TgZ(7,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.qZA(),t.YNc(8,Qa,1,0,"mat-spinner",5),t.YNc(9,Pa,1,5,"perun-web-apps-task-results-list",6)),2&e&&(t.xp6(1),t.AsE(" ",t.lcZ(2,7,"FACILITY_DETAIL.TASK_RESULTS.TITLE")," - ",s.task.service?s.task.service.name:""," "),t.xp6(3),t.hij(" \xa0#",s.task.id," "),t.xp6(2),t.Q6J("ngIf",s.removeAuth),t.xp6(1),t.Q6J("placeholder","FACILITY_DETAIL.TASK_RESULTS.FILTER"),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,m.O5,S.lW,Z.L,T.$g,qa],pipes:[h.X$],styles:[""]}),i})();var Ga=c(20872);let Ba=(()=>{class i{constructor(e,s){this.dialogRef=e,this.data=s,this.theme=""}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSkip(){this.dialogRef.close(!0)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-no-service-dialog"]],decls:14,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["matDialogActions",""],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",1),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"div",2),t.TgZ(8,"button",3),t.NdJ("click",function(){return s.onCancel()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"button",4),t.NdJ("click",function(){return s.onSkip()}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(s.theme),t.xp6(2),t.Oqu(t.lcZ(3,7,"DIALOGS.NO_SERVICE.TITLE")),t.xp6(3),t.hij(" ",t.lcZ(6,9,"DIALOGS.NO_SERVICE.INFO")," "),t.xp6(4),t.hij(" ",t.lcZ(10,11,"DIALOGS.NO_SERVICE.CANCEL")," "),t.xp6(3),t.hij(" ",t.lcZ(13,13,"DIALOGS.NO_SERVICE.SKIP")," "))},directives:[u.uh,u.xY,u.H8,S.lW],pipes:[h.X$],styles:[""]}),i})(),ja=(()=>{class i{constructor(e,s){this.dialogRef=e,this.data=s,this.theme=""}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSkip(){this.dialogRef.close(!0)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-config-unsaved-dialog"]],decls:14,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["matDialogActions",""],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",1),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"div",2),t.TgZ(8,"button",3),t.NdJ("click",function(){return s.onCancel()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"button",4),t.NdJ("click",function(){return s.onSkip()}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(s.theme),t.xp6(2),t.Oqu(t.lcZ(3,7,"DIALOGS.CONFIG_UNSAVED.TITLE")),t.xp6(3),t.hij(" ",t.lcZ(6,9,"DIALOGS.CONFIG_UNSAVED.INFO")," "),t.xp6(4),t.hij(" ",t.lcZ(10,11,"DIALOGS.CONFIG_UNSAVED.CANCEL")," "),t.xp6(3),t.hij(" ",t.lcZ(13,13,"DIALOGS.CONFIG_UNSAVED.SKIP")," "))},directives:[u.uh,u.xY,u.H8,S.lW],pipes:[h.X$],styles:[""]}),i})();function $a(i,a){if(1&i&&(t.TgZ(0,"div",3),t._UZ(1,"i",4),t.ALo(2,"translate"),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("innerHTML",t.lcZ(2,1,e.info),t.oJD)}}function za(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).onKeep()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.CANCEL_CONFIG.KEEP")," "))}function Wa(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",5),t.TgZ(1,"button",6),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onDelete()}),t.TgZ(5,"mat-icon"),t._uU(6," warning "),t.qZA(),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.YNc(9,za,3,3,"button",8),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,3,"DIALOGS.CANCEL_CONFIG.CANCEL")," "),t.xp6(5),t.hij(" ",t.lcZ(8,5,"DIALOGS.CANCEL_CONFIG.DELETE")," "),t.xp6(2),t.Q6J("ngIf",!e.lastStep)}}let Xa=(()=>{class i{constructor(e,s,n,o,r){this.dialogRef=e,this.data=s,this.facilityService=n,this.notificator=o,this.translate=r,this.theme="",this.title="",this.info="",this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.lastStep=this.data.lastStep,this.lastStep?(this.title="DIALOGS.CANCEL_CONFIG.TITLE_COMPLETE",this.info="DIALOGS.CANCEL_CONFIG.INFO_COMPLETE"):(this.title="DIALOGS.CANCEL_CONFIG.TITLE_INCOMPLETE",this.info="DIALOGS.CANCEL_CONFIG.INFO_INCOMPLETE")}onCancel(){this.dialogRef.close(!1)}onDelete(){this.loading=!0,this.facilityService.deleteFacility(this.data.facilityId,!0).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CANCEL_CONFIG.SUCCESS")),this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}onKeep(){this.dialogRef.close(!0)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(f.IQ),t.Y36(_.V6),t.Y36(h.sK))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-cancel-configuration-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["matDialogActions","",4,"ngIf"],["mat-dialog-content",""],[3,"innerHTML"],["matDialogActions",""],["mat-flat-button","",1,"mr-2",3,"click"],["color","warn","mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,$a,3,3,"div",1),t.YNc(5,Wa,10,7,"div",2),t.qZA()),2&e&&(t.Tol(s.theme),t.xp6(2),t.Oqu(t.lcZ(3,6,s.title)),t.xp6(2),t.Q6J("ngIf",!s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[u.uh,m.O5,u.xY,u.H8,S.lW,F.Hw],pipes:[h.X$],styles:[""]}),i})();var Ka=c(66688),Y=c(92081),tn=c(90439),en=c(60205),M=c(81125);const sn=["stepper"];function an(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"FACILITY_CONFIGURATION.OWNERS"))}function nn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"app-facility-settings-owners",14),t.NdJ("ownerEmitter",function(n){return t.CHM(e),t.oxw().owners=n}),t.qZA()}}function on(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"FACILITY_CONFIGURATION.HOSTS"))}function ln(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"app-facility-hosts",15),t.NdJ("hostEmitter",function(n){return t.CHM(e),t.oxw().hosts=n}),t.qZA()}2&i&&t.Q6J("disableRouting",!0)}function cn(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"FACILITY_CONFIGURATION.SERVICES"))}const rn=function(){return["select","id","name","enabled","description"]};function un(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"h1",16),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"app-alert",17),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"div",18),t.TgZ(7,"perun-web-apps-immediate-filter",19),t.NdJ("filter",function(n){return t.CHM(e),t.oxw().applyFilter(n)}),t.qZA(),t.TgZ(8,"perun-web-apps-service-package-search-select",20),t.NdJ("packageSelected",function(n){return t.CHM(e),t.oxw().packagesSelected(n)}),t.qZA(),t.qZA(),t.TgZ(9,"app-services-list",21),t.NdJ("selectionChanged",function(){return t.CHM(e),t.oxw().singleServiceSelected()}),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Oqu(t.lcZ(2,13,"FACILITY_CONFIGURATION.SERVICES")),t.xp6(3),t.hij(" ",t.lcZ(5,15,"FACILITY_CONFIGURATION.SERVICES_INFO")," "),t.xp6(3),t.Q6J("placeholder","FACILITY_CONFIGURATION.SERVICES_FILTER"),t.xp6(1),t.Q6J("servicePackages",e.servicePackages)("selectedPackage",e.selectedPackages)("multiple",!0)("disableAutoSelect",!0)("theme","facility-theme"),t.xp6(1),t.Q6J("disableRouting",!0)("selection",e.selection)("services",e.services)("filterValue",e.filterValue)("displayedColumns",t.DdM(17,rn))}}function dn(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"FACILITY_CONFIGURATION.SERVICE_CONFIG"))}function pn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"perun-web-apps-service-search-select",27),t.NdJ("serviceSelected",function(n){return t.CHM(e),t.oxw(2).filterAttributes(n)}),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("disableAutoSelect",!0)("services",e.selection.selected)("multiple",!0)("theme","facility-theme")}}function _n(i,a){1&i&&t._UZ(0,"mat-spinner",28)}function mn(i,a){if(1&i&&t._UZ(0,"perun-web-apps-attributes-list",29),2&i){const e=t.oxw(2);t.Q6J("emptyListText","FACILITY_CONFIGURATION.EMPTY_REQ_ATT")("selection",e.attSelection)("attributes",e.filteredAttributes)}}function hn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"h1",16),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"app-alert",17),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"div",18),t.TgZ(7,"button",22),t.NdJ("click",function(){return t.CHM(e),t.oxw().onRemoveAttributes()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",23),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSaveAttributes()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.YNc(13,pn,1,4,"perun-web-apps-service-search-select",24),t.qZA(),t.YNc(14,_n,1,0,"mat-spinner",25),t.YNc(15,mn,1,3,"perun-web-apps-attributes-list",26)}if(2&i){const e=t.oxw(),s=t.MAs(5);t.xp6(1),t.Oqu(t.lcZ(2,9,"FACILITY_CONFIGURATION.SERVICE_CONFIG")),t.xp6(3),t.hij(" ",t.lcZ(5,11,"FACILITY_CONFIGURATION.ATT_INFO")," "),t.xp6(3),t.Q6J("disabled",0===e.attSelection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(9,13,"FACILITY_CONFIGURATION.REMOVE")," "),t.xp6(2),t.Q6J("disabled",0===e.attSelection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(12,15,"FACILITY_CONFIGURATION.SAVE")," "),t.xp6(2),t.Q6J("ngIf",s.selectedIndex===e.ATTRIBUTES_IDX),t.xp6(1),t.Q6J("ngIf",e.processing),t.xp6(1),t.Q6J("ngIf",!e.processing)}}function fn(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"FACILITY_CONFIGURATION.DESTINATION_CONFIG"))}const gn=function(){return["select","destinationId","service","warn","destination","type","propagationType"]};function Tn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"app-perun-web-apps-facility-services-destinations",30),t.NdJ("destinationEmitter",function(n){return t.CHM(e),t.oxw().destinations=n}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("title","FACILITY_CONFIGURATION.DESTINATION_CONFIG")("loading",e.processing)("displayedColumns",t.DdM(5,gn))("configServices",e.selection.selected)("configServicesIds",e.serviceIds)}}function Sn(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"FACILITY_CONFIGURATION.MANAGERS"))}function Cn(i,a){1&i&&t._UZ(0,"app-perun-web-apps-facility-settings-managers",31),2&i&&t.Q6J("disableRouting",!0)("disableSelf",!0)}function An(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"FACILITY_CONFIGURATION.SUMMARY"))}function In(i,a){1&i&&t._UZ(0,"mat-spinner",28)}const vn=function(){return["id","name","contact","type"]};function bn(i,a){if(1&i&&t._UZ(0,"perun-web-apps-owners-list",48),2&i){const e=t.oxw(3);t.Q6J("owners",e.owners)("displayedColumns",t.DdM(2,vn))}}function yn(i,a){1&i&&t._UZ(0,"mat-spinner",28)}const En=function(){return["id","name"]};function xn(i,a){if(1&i&&t._UZ(0,"app-hosts-list",49),2&i){const e=t.oxw(3);t.Q6J("disableRouting",!0)("hosts",e.hosts)("displayedColumns",t.DdM(3,En))}}function Zn(i,a){1&i&&t._UZ(0,"mat-spinner",28)}const Ln=function(){return["id","name","enabled","script","description"]},Dn=function(){return["id","displayName","value","description"]},Rn=function(){return["destinationId","service","warn","destination","type","propagationType"]},Fn=function(){return["id","name","email","logins","organization"]},On=function(){return["id","vo","name","description"]};function Nn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-accordion"),t.TgZ(1,"mat-expansion-panel",34),t.TgZ(2,"mat-expansion-panel-header"),t.TgZ(3,"mat-panel-title"),t._UZ(4,"mat-icon",35),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.TgZ(7,"h1",16),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.YNc(10,In,1,0,"mat-spinner",25),t.YNc(11,bn,1,3,"perun-web-apps-owners-list",36),t.qZA(),t.TgZ(12,"mat-expansion-panel",34),t.TgZ(13,"mat-expansion-panel-header"),t.TgZ(14,"mat-panel-title"),t._UZ(15,"mat-icon",37),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.qZA(),t.TgZ(18,"h1",16),t._uU(19),t.ALo(20,"translate"),t.qZA(),t.YNc(21,yn,1,0,"mat-spinner",25),t.YNc(22,xn,1,4,"app-hosts-list",38),t.qZA(),t.TgZ(23,"mat-expansion-panel",34),t.TgZ(24,"mat-expansion-panel-header"),t.TgZ(25,"mat-panel-title"),t._UZ(26,"mat-icon",39),t._uU(27),t.ALo(28,"translate"),t.qZA(),t.qZA(),t.TgZ(29,"h1",16),t._uU(30),t.ALo(31,"translate"),t.qZA(),t._UZ(32,"app-services-list",40),t.qZA(),t.TgZ(33,"mat-expansion-panel",41),t.NdJ("opened",function(){return t.CHM(e),t.oxw(2).getNonEmptyAttributes()}),t.TgZ(34,"mat-expansion-panel-header"),t.TgZ(35,"mat-panel-title"),t._UZ(36,"mat-icon",37),t._uU(37),t.ALo(38,"translate"),t.qZA(),t.qZA(),t.TgZ(39,"h1",16),t._uU(40),t.ALo(41,"translate"),t.qZA(),t._UZ(42,"perun-web-apps-attributes-list",42),t.qZA(),t.TgZ(43,"mat-expansion-panel",43),t.NdJ("expandedChange",function(n){return t.CHM(e),t.oxw(2).destinationServiceMissing=n}),t.TgZ(44,"mat-expansion-panel-header"),t.TgZ(45,"mat-panel-title"),t._UZ(46,"mat-icon",44),t._uU(47),t.ALo(48,"translate"),t.qZA(),t.qZA(),t.TgZ(49,"h1",16),t._uU(50),t.ALo(51,"translate"),t.qZA(),t.YNc(52,Zn,1,0,"mat-spinner",25),t._UZ(53,"app-perun-web-apps-destination-list",45),t.qZA(),t.TgZ(54,"mat-expansion-panel"),t.TgZ(55,"mat-expansion-panel-header"),t.TgZ(56,"mat-panel-title"),t._UZ(57,"mat-icon",46),t._uU(58),t.ALo(59,"translate"),t.qZA(),t.qZA(),t._UZ(60,"app-managers-page",47),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("@.disabled",!0),t.xp6(1),t.Q6J("disabled",0===e.owners.length),t.xp6(1),t.ekj("cursor-default",0===e.owners.length),t.xp6(3),t.hij(" ",t.lcZ(6,49,"FACILITY_CONFIGURATION.OWNERS")," "),t.xp6(3),t.Oqu(t.lcZ(9,51,"FACILITY_CONFIGURATION.OWNERS")),t.xp6(2),t.Q6J("ngIf",e.processing),t.xp6(1),t.Q6J("ngIf",!e.processing),t.xp6(1),t.Q6J("disabled",0===e.hosts.length),t.xp6(1),t.ekj("cursor-default",0===e.hosts.length),t.xp6(3),t.hij(" ",t.lcZ(17,53,"FACILITY_CONFIGURATION.HOSTS")," "),t.xp6(3),t.Oqu(t.lcZ(20,55,"FACILITY_CONFIGURATION.HOSTS")),t.xp6(2),t.Q6J("ngIf",e.processing),t.xp6(1),t.Q6J("ngIf",!e.processing),t.xp6(1),t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.ekj("cursor-default",0===e.selection.selected.length),t.xp6(3),t.hij(" ",t.lcZ(28,57,"FACILITY_CONFIGURATION.SERVICES")," "),t.xp6(3),t.Oqu(t.lcZ(31,59,"FACILITY_CONFIGURATION.SERVICES")),t.xp6(2),t.Q6J("disableRouting",!0)("services",e.selection.selected)("displayedColumns",t.DdM(71,Ln)),t.xp6(1),t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.ekj("cursor-default",0===e.selection.selected.length),t.xp6(3),t.hij(" ",t.lcZ(38,61,"FACILITY_CONFIGURATION.SERVICE_CONFIG")," "),t.xp6(3),t.Oqu(t.lcZ(41,63,"FACILITY_CONFIGURATION.ATTS")),t.xp6(2),t.Q6J("displayedColumns",t.DdM(72,Dn))("emptyListText","FACILITY_CONFIGURATION.EMPTY_REQ_ATT")("attributes",e.filteredAttributes),t.xp6(1),t.Q6J("expanded",e.destinationServiceMissing)("disabled",0===e.selection.selected.length&&0===e.destinations.length),t.xp6(1),t.ekj("cursor-default",0===e.selection.selected.length&&0===e.destinations.length),t.xp6(3),t.hij(" ",t.lcZ(48,65,"FACILITY_CONFIGURATION.DESTINATION_CONFIG")," "),t.xp6(3),t.Oqu(t.lcZ(51,67,"FACILITY_CONFIGURATION.DESTINATION")),t.xp6(2),t.Q6J("ngIf",e.processing),t.xp6(1),t.Q6J("destinations",e.destinations)("services",e.serviceIds)("displayedColumns",t.DdM(73,Rn)),t.xp6(5),t.hij(" ",t.lcZ(59,69,"FACILITY_CONFIGURATION.MANAGERS")," "),t.xp6(2),t.Q6J("complementaryObject",e.facility)("configMode",!0)("disableRouting",!0)("complementaryObjectType","Facility")("availableRoles",e.availableRoles)("displayedUserColumns",t.DdM(74,Fn))("displayedGroupColumns",t.DdM(75,On))}}function kn(i,a){if(1&i&&(t.TgZ(0,"app-alert",17),t._UZ(1,"i",32),t.ALo(2,"translate"),t.qZA(),t.YNc(3,Nn,61,76,"mat-accordion",33)),2&i){t.oxw();const e=t.MAs(5);t.xp6(1),t.Q6J("innerHTML",t.lcZ(2,2,"FACILITY_CONFIGURATION.SUMMARY_INFO"),t.oJD),t.xp6(2),t.Q6J("ngIf",e.selectedIndex===e.steps.length-1)}}function wn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",50),t.NdJ("click",function(){return t.CHM(e),t.oxw().back()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"FACILITY_CONFIGURATION.BACK")," "))}function Un(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",51),t.NdJ("click",function(){return t.CHM(e),t.oxw().next()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){t.oxw();const e=t.MAs(5);t.ekj("mr-2",void 0!==e&&0!==e.selectedIndex)("ml-auto",!(void 0!==e&&0!==e.selectedIndex)),t.xp6(1),t.hij(" ",t.lcZ(2,5,"FACILITY_CONFIGURATION.NEXT")," ")}}function Yn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",52),t.NdJ("click",function(){return t.CHM(e),t.oxw().onFinish()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"FACILITY_CONFIGURATION.FINISH")," "))}let Mn=(()=>{class i{constructor(e,s,n,o,r,p,C,v,L,b){this.attributesManager=e,this.serviceManager=s,this.facilityService=n,this.cd=o,this.dialog=r,this.notificator=p,this.translate=C,this.router=v,this.guiAuthResolver=L,this.entityStorageService=b,this.processing=!1,this.allowNavigate=!1,this.attributes=[],this.attributeIds=new Set,this.filteredAttributes=[],this.attributesPerService=new Map,this.attSelection=new A.Ov(!0,[]),this.services=[],this.serviceIds=new Set,this.servicesPerPackage=new Map,this.servicePackages=[],this.selectedPackages=[],this.selection=new A.Ov(!0,[]),this.owners=[],this.hosts=[],this.destinations=[],this.destinationServiceMissing=!1,this.availableRoles=[],this.filterValue="",this.saveMsg="",this.removeMsg="",this.BEFORE_OPTIONAL_IDX=2,this.ATTRIBUTES_IDX=3,this.DESTINATIONS_IDX=4,this.AFTER_OPTIONAL_IDX=5,this.serviceControl=new g.NI(!1,g.kI.requiredTrue),this.attributesControl=new g.NI(!0,g.kI.requiredTrue),this.translate.get("FACILITY_CONFIGURATION.ATT_SAVED").subscribe(j=>this.saveMsg=j),this.translate.get("FACILITY_CONFIGURATION.ATT_REMOVED").subscribe(j=>this.removeMsg=j)}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Facility"),this.serviceManager.getServicesPackages().subscribe(e=>{this.servicePackages=e,this.getServicePackageServices(e,0)})}ngAfterViewInit(){this.cd.detectChanges(),this.attSelection.changed.subscribe(()=>{this.attributesControl.setValue(0===this.attSelection.selected.length)})}onCancel(){const e=(0,d.kZ)();e.width="550px",e.data={facilityId:this.facility.id,lastStep:this.stepper.selectedIndex===this.stepper.steps.length-1,theme:"facility-theme"},this.dialog.open(Xa,e).afterClosed().subscribe(n=>{n&&(this.allowNavigate=!0,sessionStorage.removeItem("newFacilityId"),this.router.navigate(["facilities"],{queryParamsHandling:"merge"}))})}getServicePackageServices(e,s){s===e.length?this.serviceManager.getServices().subscribe(n=>{this.services=n}):this.serviceManager.getServicesFromServicesPackage(e[s].id).subscribe(n=>{this.servicesPerPackage.set(e[s].id,new Set([...n.map(o=>o.id)])),this.getServicePackageServices(e,s+1)})}getServiceRequiredAttributes(e,s){s!==e.length&&this.attributesManager.getRequiredAttributesDefinition(e[s].id).subscribe(n=>{n=n.filter(o=>this.attributeIds.has(o.id)),this.attributesPerService.set(e[s].id,n.map(o=>o.id)),this.getServiceRequiredAttributes(e,s+1)})}setServiceControl(){this.serviceControl.setValue(0!==this.selection.selected.length)}buildServiceSet(e){const s=new Set;return e.forEach(n=>{this.servicesPerPackage.get(n.id).forEach(o=>s.add(o))}),s}setDiff(e,s){return new Set([...e].filter(n=>!s.has(n)))}setIntersect(e,s){return new Set([...e].filter(n=>s.has(n)))}setSymDif(e,s){const n=this.buildServiceSet(e),o=this.buildServiceSet(s),r=this.setDiff(n,o),p=this.setDiff(o,n);return new Set([...r,...p])}filterService(e,s){const n=new Set;for(const o of s){const r=this.setIntersect(e,this.servicesPerPackage.get(o.id));0!==r.size&&r.forEach(p=>n.add(p))}return n}packageSelectionEqual(e){return e.length===this.selectedPackages.length&&(e.forEach(s=>{if(-1===this.selectedPackages.findIndex(n=>n.id===s.id))return!1}),!0)}packagesSelected(e){if(this.packageSelectionEqual(e))return;this.processing=!0;let s=new Set;if(e&&0!==e.length?s=this.setSymDif(this.selectedPackages,e):this.selectedPackages.forEach(r=>{this.servicesPerPackage.get(r.id).forEach(p=>s.add(p))}),0===s.size)return;const n=this.filterService(s,e.filter(r=>this.selectedPackages.findIndex(p=>p.id===r.id)<0)),o=this.filterService(s,this.selectedPackages.filter(r=>e.findIndex(p=>p.id===r.id)<0));for(const r of this.services)n.has(r.id)?this.selection.select(r):o.has(r.id)&&this.selection.deselect(r);this.selectedPackages=e,this.setServiceControl(),this.processing=!1}checkPackageComplete(){const e=[];for(const s of this.selectedPackages){let n=!0;for(const o of this.servicesPerPackage.get(s.id))if(-1===this.selection.selected.findIndex(r=>r.id===o)){n=!1;break}n&&e.push(s)}this.selectedPackages=e}singleServiceSelected(){this.setServiceControl(),!this.processing&&this.checkPackageComplete()}back(){this.stepper.selectedIndex<=this.BEFORE_OPTIONAL_IDX&&this.setServiceControl(),this.stepper.selectedIndex===this.AFTER_OPTIONAL_IDX&&0===this.selection.selected.length?this.stepper.selectedIndex=this.BEFORE_OPTIONAL_IDX:this.stepper.previous()}openSkipDialog(){const e=(0,d.kZ)();e.width="400px",e.data={theme:"facility-theme"},this.dialog.open(Ba,e).afterClosed().subscribe(n=>{n&&(this.serviceControl.setValue(!0),this.stepper.selectedIndex=this.AFTER_OPTIONAL_IDX)})}getRequiredAttributes(){this.processing=!0,this.attributesManager.getRequiredAttributesFacilityServices(this.selection.selected.map(e=>e.id),this.facility.id).subscribe(e=>{this.attSelection.clear(),this.attributes=e.filter(s=>!(0,d.Hm)(s)),this.filteredAttributes=this.attributes,this.attributes.forEach(s=>this.attributeIds.add(s.id)),this.getServiceRequiredAttributes(this.selection.selected,0),this.processing=!1})}onSaveAttributes(){return new Promise((e,s)=>{this.processing=!0,this.attributesManager.setFacilityAttributes({facility:this.facility.id,attributes:this.attSelection.selected}).subscribe(()=>{this.notificator.showSuccess(this.saveMsg),this.attSelection.clear(),this.processing=!1,e()},()=>{this.processing=!1,s()})})}openUnsavedAttsDialog(){const e=(0,d.kZ)();e.width="400px",e.data={theme:"facility-theme"},this.dialog.open(ja,e).afterClosed().subscribe(n=>{n&&this.onSaveAttributes().then(()=>{this.stepper.next()},()=>this.getRequiredAttributes())})}next(){this.checkDestinationDependency(this.stepper.selectedIndex),this.stepper.selectedIndex===this.BEFORE_OPTIONAL_IDX?0===this.selection.selected.length?this.openSkipDialog():(this.getRequiredAttributes(),this.stepper.next()):this.stepper.selectedIndex===this.ATTRIBUTES_IDX&&0!==this.attSelection.selected.length?this.openUnsavedAttsDialog():this.stepper.next()}onFinish(){this.allowNavigate=!0,sessionStorage.removeItem("newFacilityId"),this.router.navigate(["facilities",this.facility.id],{queryParamsHandling:"merge"})}onRemoveAttributes(){this.processing=!0;const e=this.attSelection.selected.map(s=>s.id);this.attributesManager.removeFacilityAttributes(this.facility.id,e).subscribe(()=>{this.notificator.showSuccess(this.removeMsg),this.getRequiredAttributes(),this.processing=!1})}filterAttributes(e){if(void 0===e||0===e.length)return void(this.filteredAttributes=this.attributes);const s=new Set;for(const n of e)this.attributesPerService.get(n.id).forEach(o=>s.add(o));this.filteredAttributes=[];for(const n of this.attributes)s.has(n.id)&&this.filteredAttributes.push(n)}getNonEmptyAttributes(){this.filteredAttributes=this.attributes.filter(e=>{if(e.value&&(!(0,Ka.k)(e.value)||0!==e.value.length))return e})}checkDestinationDependency(e){(e===this.BEFORE_OPTIONAL_IDX||e===this.DESTINATIONS_IDX)&&(this.serviceIds=new Set([...this.selection.selected.map(s=>s.id)]),this.destinationServicePresent())}navigationStep(e){this.checkDestinationDependency(e.previouslySelectedIndex),e.selectedIndex===this.ATTRIBUTES_IDX?this.getRequiredAttributes():e.selectedIndex===this.DESTINATIONS_IDX?this.processing=!1:e.selectedIndex<=this.BEFORE_OPTIONAL_IDX&&this.setServiceControl()}getOwners(){this.processing=!0,this.facilityService.getFacilityOwners(this.facility.id).subscribe(e=>{this.owners=e,this.processing=!1})}getHosts(){this.processing=!0,this.facilityService.getHosts(this.facility.id).subscribe(e=>{this.hosts=e,this.processing=!1})}applyFilter(e){this.filterValue=e}destinationServicePresent(){for(const e of this.destinations)if(!this.serviceIds.has(e.service.id))return void(this.destinationServiceMissing=!0);this.destinationServiceMissing=!1}canDeactivate(){return this.allowNavigate||this.onCancel(),this.allowNavigate}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.H8),t.Y36(f.KK),t.Y36(f.IQ),t.Y36(t.sBO),t.Y36(u.uw),t.Y36(_.V6),t.Y36(h.sK),t.Y36(y.F0),t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-configuration-page"]],viewQuery:function(e,s){if(1&e&&t.Gf(sn,5),2&e){let n;t.iGM(n=t.CRH())&&(s.stepper=n.first)}},decls:34,vars:15,consts:[[1,"facility-theme"],[1,"page-title"],[3,"linear","selectionChange"],["stepper",""],["matStepLabel",""],["matStepContent",""],[3,"stepControl"],["optional","true",3,"stepControl","editable"],[3,"optional","editable"],[1,"actions"],["mat-flat-button","",3,"click"],["class","ml-auto mr-2","mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","","color","accent",3,"mr-2","ml-auto","click",4,"ngIf"],["class","mr-2","mat-flat-button","","color","accent",3,"click",4,"ngIf"],[3,"ownerEmitter"],[3,"disableRouting","hostEmitter"],[1,"page-subtitle"],["alert_type","info"],[1,"filters"],[1,"filter",3,"placeholder","filter"],[1,"package-search-select",3,"servicePackages","selectedPackage","multiple","disableAutoSelect","theme","packageSelected"],[3,"disableRouting","selection","services","filterValue","displayedColumns","selectionChanged"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["class","service-search-select",3,"disableAutoSelect","services","multiple","theme","serviceSelected",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"emptyListText","selection","attributes",4,"ngIf"],[1,"service-search-select",3,"disableAutoSelect","services","multiple","theme","serviceSelected"],[1,"ml-auto","mr-auto"],[3,"emptyListText","selection","attributes"],[3,"title","loading","displayedColumns","configServices","configServicesIds","destinationEmitter"],[3,"disableRouting","disableSelf"],[3,"innerHTML"],[4,"ngIf"],[3,"disabled"],["svgIcon","perun-owner-grey",1,"mr-2"],[3,"owners","displayedColumns",4,"ngIf"],["svgIcon","perun-hosts",1,"mr-2"],[3,"disableRouting","hosts","displayedColumns",4,"ngIf"],["svgIcon","perun-service",1,"mr-2"],[3,"disableRouting","services","displayedColumns"],[3,"disabled","opened"],[3,"displayedColumns","emptyListText","attributes"],[3,"expanded","disabled","expandedChange"],["svgIcon","perun-service_destination",1,"mr-2"],[3,"destinations","services","displayedColumns"],["svgIcon","perun-manager",1,"mr-2"],[3,"complementaryObject","configMode","disableRouting","complementaryObjectType","availableRoles","displayedUserColumns","displayedGroupColumns"],[3,"owners","displayedColumns"],[3,"disableRouting","hosts","displayedColumns"],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["mat-flat-button","","color","accent",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"]],template:function(e,s){if(1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-stepper",2,3),t.NdJ("selectionChange",function(o){return s.navigationStep(o)}),t.TgZ(6,"mat-step"),t.YNc(7,an,2,3,"ng-template",4),t.YNc(8,nn,1,0,"ng-template",5),t.qZA(),t.TgZ(9,"mat-step"),t.YNc(10,on,2,3,"ng-template",4),t.YNc(11,ln,1,1,"ng-template",5),t.qZA(),t.TgZ(12,"mat-step",6),t.YNc(13,cn,2,3,"ng-template",4),t.YNc(14,un,10,18,"ng-template",5),t.qZA(),t.TgZ(15,"mat-step",7),t.YNc(16,dn,2,3,"ng-template",4),t.YNc(17,hn,16,17,"ng-template",5),t.qZA(),t.TgZ(18,"mat-step",8),t.YNc(19,fn,2,3,"ng-template",4),t.YNc(20,Tn,1,6,"ng-template",5),t.qZA(),t.TgZ(21,"mat-step"),t.YNc(22,Sn,2,3,"ng-template",4),t.YNc(23,Cn,1,2,"ng-template",5),t.qZA(),t.TgZ(24,"mat-step"),t.YNc(25,An,2,3,"ng-template",4),t.YNc(26,kn,4,4,"ng-template",5),t.qZA(),t.qZA(),t.TgZ(27,"div",9),t.TgZ(28,"button",10),t.NdJ("click",function(){return s.onCancel()}),t._uU(29),t.ALo(30,"translate"),t.qZA(),t.YNc(31,wn,3,3,"button",11),t.YNc(32,Un,3,7,"button",12),t.YNc(33,Yn,3,3,"button",13),t.qZA(),t.qZA()),2&e){const n=t.MAs(5);t.xp6(2),t.hij(" ",t.lcZ(3,11,"FACILITY_CONFIGURATION.TITLE")," "),t.xp6(2),t.Q6J("linear",!0),t.xp6(8),t.Q6J("stepControl",s.serviceControl),t.xp6(3),t.Q6J("stepControl",s.attributesControl)("editable",0!==s.selection.selected.length),t.xp6(3),t.Q6J("optional",0===s.destinations.length)("editable",0!==s.selection.selected.length||0!==s.destinations.length),t.xp6(11),t.hij(" ",t.lcZ(30,13,"FACILITY_CONFIGURATION.CANCEL")," "),t.xp6(2),t.Q6J("ngIf",void 0!==n&&0!==n.selectedIndex),t.xp6(1),t.Q6J("ngIf",void 0!==n&&n.selectedIndex!==n.steps.length-1),t.xp6(1),t.Q6J("ngIf",void 0!==n&&n.selectedIndex===n.steps.length-1)}},directives:[Y.Vq,Y.C0,Y.VY,Y.BY,nt,ct,R.w,Z.L,tn.F,en.Q,S.lW,m.O5,_t,T.$g,rt.p,at,it,M.pp,M.ib,M.yz,M.yK,F.Hw,V.Q,lt,st.q,et.s],pipes:[h.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.6rem;margin-right:.9rem}.filters[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline}.package-search-select[_ngcontent-%COMP%]{width:650px}.service-search-select[_ngcontent-%COMP%]{width:400px}.filter[_ngcontent-%COMP%]{width:350px;margin-right:20px}.actions[_ngcontent-%COMP%]{background-color:#fff;display:flex;padding:20px}.cursor-default[_ngcontent-%COMP%]{cursor:default}"]}),i})(),mt=(()=>{class i{constructor(e){this.router=e}canActivate(e){return e.parent.params.facilityId===sessionStorage.getItem("newFacilityId")||(this.router.navigate(["/home"],{queryParamsHandling:"merge"}),!1)}canDeactivate(e){return e.canDeactivate()}}return i.\u0275fac=function(e){return new(e||i)(t.LFG(y.F0))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Jn=[{path:"",component:ht.P},{path:":facilityId",component:xt,children:[{path:"",component:Dt,data:{animation:"FacilityOverviewPage"}},{path:"attributes",component:Gt,data:{animation:"FacilityAttributesPage"}},{path:"resources",component:Rt.f,data:{animation:"FacilityResourcesPage"}},{path:"allowed-users",component:ma,data:{animation:"FacilityAllowedUsersPage"}},{path:"allowed-groups",component:Ft.o,data:{animation:"FacilityAllowedGroupsPage"}},{path:"services-status",component:ia,data:{animation:"FacilityServiceStatusPage"}},{path:"services-status/:taskId",component:Va,data:{animation:"FacilityTaskResultsPage"}},{path:"service-config",component:le,data:{animation:"FacilityServiceConfigPage"}},{path:"services-destinations",component:at,data:{animation:"FacilityServicesDestinationsPage"}},{path:"hosts",component:ct,data:{animation:"FacilityHostsPage"}},{path:"hosts/:hostId",component:Yi,data:{animation:"FacilityHostsDetailPage"}},{path:"settings",component:kt,children:[{path:"",component:Yt,data:{animation:"FacilitySettingsOverviewPage"}},{path:"owners",component:nt,data:{animation:"FacilitySettingOwnersPage"}},{path:"managers",component:it,data:{animation:"FacilitySettingsManagersPage"}},{path:"security-teams",component:ts,data:{animation:"FacilitySecurityTeamsPage"}},{path:"blacklist",component:Ri,data:{animation:"FacilitySettingsBlackListPage"}}]},{path:"configuration",component:Mn,canActivate:[mt],canDeactivate:[mt]}]},{path:":facilityId/resources/:resourceId",component:Ot.b,children:[{path:"",component:Nt.H,data:{animation:"ResourceOverviewPage"}},{path:"attributes",component:$t.X,data:{animation:"ResourceAttributesPage"}},{path:"groups",component:zt.K,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:is.D,data:{animation:"ResourceAssignedServicesComponent"}},{path:"members",component:ha.y,data:{animation:"ResourceAssignedMembersComponent"}},{path:"tags",component:Ga.v,data:{animation:"ResourceTagsComponent"}},{path:"settings",component:Bt.t,children:[{path:"",component:jt.h,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:es.O,data:{animation:"ResourceSettingsManagersPage"}}]}]}];let qn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[[y.Bz.forChild(Jn)],y.Bz]}),i})();var Hn=c(14264),Qn=c(63189),Pn=c(46142),Vn=c(23385);let Gn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({providers:[Q.dp],imports:[[m.ez,qn,Hn.m,Qn.r,Fi.ez,Q.d4,Pn.UsersModule,Vn.AdminModule]]}),i})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/358.68c9abd8013a978d.js b/dist/apps/admin-gui/358.68c9abd8013a978d.js new file mode 100644 index 000000000..14909d6ef --- /dev/null +++ b/dist/apps/admin-gui/358.68c9abd8013a978d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[358],{17358:(Bn,$,c)=>{c.r($),c.d($,{FacilitiesModule:()=>Gn});var m=c(69808),y=c(11735),ht=c(86353),J=c(36769),ft=c(69024),f=c(112),d=c(9244),_=c(36908),q=c(84379),gt=c(54037),t=c(5e3),u=c(48966),Tt=c(77968),St=c(15003),Ct=c(4235),T=c(20773),F=c(25245),H=c(29772),S=c(47423),z=c(61283),h=c(51062);function At(i,a){1&i&&t._UZ(0,"mat-spinner",3)}function It(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).editFacility()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}function vt(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).deleteFacility()}),t.TgZ(1,"mat-icon"),t._uU(2,"delete_forever"),t.qZA(),t.qZA()}}const bt=function(){return{color:"black"}},yt=function(i){return["/facilities",i]};function Et(i,a){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"div",4),t._UZ(2,"mat-icon",5),t.ALo(3,"translate"),t.TgZ(4,"div",6),t.TgZ(5,"div",7),t.TgZ(6,"a",8),t._uU(7),t.qZA(),t.TgZ(8,"span",9),t._uU(9),t.qZA(),t.YNc(10,It,3,0,"button",10),t.YNc(11,vt,3,0,"button",10),t.qZA(),t.TgZ(12,"span",11),t._uU(13),t.ALo(14,"translate"),t.ALo(15,"translate"),t.qZA(),t.qZA(),t.qZA(),t._UZ(16,"app-animated-router-outlet"),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.s9C("matTooltip",t.lcZ(3,10,"FACILITY_DETAIL.ENTITY")),t.Q6J("ngStyle",t.DdM(16,bt)),t.xp6(4),t.Q6J("routerLink",t.VKq(17,yt,e.facility.id)),t.xp6(1),t.Oqu(e.facility.name),t.xp6(2),t.hij(" \xa0#",e.facility.id," "),t.xp6(1),t.Q6J("ngIf",e.editFacilityAuth),t.xp6(1),t.Q6J("ngIf",e.deleteAuth),t.xp6(2),t.lnq(" ",t.lcZ(14,12,"FACILITY_DETAIL.ENTITY"),", ",t.lcZ(15,14,"FACILITY_DETAIL.DESCRIPTION"),": ",e.facility.description," ")}}let xt=(()=>{class i{constructor(e,s,n,o,r,p,C,v,L){this.dialog=e,this.facilityManager=s,this.route=n,this.sideMenuService=o,this.sideMenuItemService=r,this.guiAuthResolver=p,this.router=C,this.entityStorageService=v,this.reloadEntityDetail=L,this.editFacilityAuth=!1,this.deleteAuth=!1,this.loading=!1}ngOnInit(){this.reloadData(),this.reloadEntityDetail.entityDetailChange.subscribe(()=>{this.reloadData()})}reloadData(){this.loading=!0,this.route.params.subscribe(e=>{this.facilityManager.getFacilityById(e.facilityId).subscribe(n=>{this.facility=n,this.entityStorageService.setEntity({id:n.id,beanName:n.beanName}),this.setMenuItems(),this.editFacilityAuth=this.guiAuthResolver.isAuthorized("updateFacility_Facility_policy",[this.facility]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteFacility_Facility_Boolean_policy",[this.facility]),(0,d.sF)("facilities",this.facility),(0,d.XI)(this.facility),this.loading=!1},()=>this.loading=!1)})}setMenuItems(){const e=this.sideMenuItemService.parseFacility(this.facility);this.sideMenuService.setFacilityMenuItems([e])}editFacility(){const e=(0,d.kZ)();e.width="450px",e.data={theme:"facility-theme",facility:this.facility,dialogType:q.Eg.FACILITY},this.dialog.open(q.rd,e).afterClosed().subscribe(n=>{n&&this.facilityManager.getFacilityById(this.facility.id).subscribe(o=>{this.facility=o,this.setMenuItems()})})}deleteFacility(){const e=(0,d.kZ)();e.width="500px",e.data={theme:"facility-theme",facility:this.facility},this.dialog.open(gt.Y,e).afterClosed().subscribe(n=>{n&&this.router.navigate([""])})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.uw),t.Y36(f.IQ),t.Y36(y.gz),t.Y36(Tt.D),t.Y36(ft.V),t.Y36(_.x4),t.Y36(y.F0),t.Y36(_.fb),t.Y36(St.G))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","facility-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-facility-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"facility-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","",3,"click"]],template:function(e,s){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"perun-web-apps-back-button"),t.YNc(2,At,1,0,"mat-spinner",1),t.YNc(3,Et,17,19,"div",2),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading&&void 0!==s.facility))},directives:[Ct.W,m.O5,T.$g,F.Hw,H.gM,m.PC,y.yS,S.lW,z.A],pipes:[h.X$],styles:[""],data:{animation:[J.Ji]}}),i})();var W=c(71135);function Zt(i,a){1&i&&t._UZ(0,"mat-spinner",2)}function Lt(i,a){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",3),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("items",e.navItems)("size","small")}}let Dt=(()=>{class i{constructor(e,s,n){this.facilityManager=e,this.authResolver=s,this.entityStorageService=n,this.navItems=[],this.loading=!1}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.initItems(),this.loading=!1}initItems(){this.navItems=[],this.authResolver.isAuthorized("getAssignedRichResources_Facility_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-manage-facility",url:`/facilities/${this.facility.id}/resources`,label:"MENU_ITEMS.FACILITY.RESOURCES",style:"facility-btn"}),this.authResolver.isAuthorized("getAssignedUsers_Facility_Service_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-user",url:`/facilities/${this.facility.id}/allowed-users`,label:"MENU_ITEMS.FACILITY.ALLOWED_USERS",style:"facility-btn"}),this.authResolver.isAuthorized("getAllowedGroups_Facility_Vo_Service_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-group",url:`/facilities/${this.facility.id}/allowed-groups`,label:"MENU_ITEMS.FACILITY.ALLOWED_GROUPS",style:"facility-btn"}),this.authResolver.isAuthorized("getFacilityServicesState_Facility_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-service-status",url:`/facilities/${this.facility.id}/services-status`,label:"MENU_ITEMS.FACILITY.SERVICES_STATUS",style:"facility-btn"}),this.authResolver.isAuthorized("getAllRichDestinations_Facility_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-service_destination",url:`/facilities/${this.facility.id}/services-destinations`,label:"MENU_ITEMS.FACILITY.SERVICES_DESTINATIONS",style:"facility-btn"}),this.authResolver.isFacilityAdmin()&&this.navItems.push({cssIcon:"perun-hosts",url:`/facilities/${this.facility.id}/hosts`,label:"MENU_ITEMS.FACILITY.HOSTS",style:"facility-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/facilities/${this.facility.id}/attributes`,label:"MENU_ITEMS.FACILITY.ATTRIBUTES",style:"facility-btn"}),(this.authResolver.isAuthorized("getBansForFacility_int_policy",[this.facility])||this.authResolver.isManagerPagePrivileged(this.facility)||this.authResolver.isAuthorized("getOwners_Facility_policy",[this.facility])||this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[this.facility]))&&this.navItems.push({cssIcon:"perun-settings2",url:`/facilities/${this.facility.id}/settings`,label:"MENU_ITEMS.FACILITY.SETTINGS",style:"facility-btn"})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.IQ),t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-overview"]],hostVars:2,hostBindings:function(e,s){2&e&&t.ekj("router-component",s.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,s){1&e&&(t.YNc(0,Zt,1,0,"mat-spinner",0),t.YNc(1,Lt,2,2,"div",1)),2&e&&(t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[m.O5,T.$g,W.L],styles:[""]}),i})();var Rt=c(34904),Ft=c(37380),Ot=c(98918),Nt=c(4675);let kt=(()=>{class i{constructor(){}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-settings"]],hostVars:2,hostBindings:function(e,s){2&e&&t.ekj("router-component",s.true)},decls:1,vars:0,template:function(e,s){1&e&&t._UZ(0,"app-animated-router-outlet")},directives:[z.A],styles:[""],data:{animation:[J.Ji]}}),i})();function wt(i,a){1&i&&t._UZ(0,"mat-spinner",2)}function Ut(i,a){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",3),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("items",e.items)("size","small")}}let Yt=(()=>{class i{constructor(e,s,n){this.facilityManager=e,this.authResolver=s,this.entityStorageService=n,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.initItems(),this.loading=!1}initItems(){this.items=[],this.authResolver.isAuthorized("getOwners_Facility_policy",[this.facility])&&this.items.push({cssIcon:"perun-owner-grey",url:`/facilities/${this.facility.id}/settings/owners`,label:"MENU_ITEMS.FACILITY.OWNERS",style:"facility-btn"}),this.authResolver.isManagerPagePrivileged(this.facility)&&this.items.push({cssIcon:"perun-manager",url:`/facilities/${this.facility.id}/settings/managers`,label:"MENU_ITEMS.FACILITY.MANAGERS",style:"facility-btn"}),this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[this.facility])&&this.items.push({cssIcon:"perun-security-teams",url:`/facilities/${this.facility.id}/settings/security-teams`,label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",style:"facility-btn"}),this.authResolver.isAuthorized("getBansForFacility_int_policy",[this.facility])&&this.items.push({cssIcon:"perun-black-list",url:`/facilities/${this.facility.id}/settings/blacklist`,label:"MENU_ITEMS.FACILITY.BLACKLIST",style:"facility-btn"})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.IQ),t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-settings-overview"]],hostVars:2,hostBindings:function(e,s){2&e&&t.ekj("router-component",s.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,s){1&e&&(t.YNc(0,wt,1,0,"mat-spinner",0),t.YNc(1,Ut,2,2,"div",1)),2&e&&(t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[m.O5,T.$g,W.L],styles:[""]}),i})();var k=c(53251),Mt=c(12651),Jt=c(19191);function qt(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.hij(" ",t.lcZ(1,1,"FACILITY_DETAIL.ENTITY")," ")}function Ht(i,a){if(1&i&&t._UZ(0,"app-one-entity-attribute-page",4),2&i){const e=t.oxw();t.Q6J("entity","facility")("entityId",e.facility.id)}}function Qt(i,a){1&i&&(t._uU(0),t.ALo(1,"translate"),t.ALo(2,"translate")),2&i&&t.AsE(" ",t.lcZ(1,2,"FACILITY_DETAIL.ENTITY")," - ",t.lcZ(2,4,"ADMIN_USER.ENTITY")," ")}function Pt(i,a){if(1&i&&t._UZ(0,"app-two-entity-attribute-page",5),2&i){const e=t.oxw(2);t.Q6J("firstEntity","facility")("firstEntityId",e.facility.id)("secondEntity","user")}}function Vt(i,a){1&i&&(t.TgZ(0,"mat-tab"),t.YNc(1,Qt,3,6,"ng-template",1),t.YNc(2,Pt,1,3,"ng-template",2),t.qZA())}let Gt=(()=>{class i{constructor(e,s){this.authResolver=e,this.entityStorageService=s}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.facilityUserAttAuth=this.authResolver.isAuthorized("getAssignedUsers_Facility_policy",[this.facility])}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-attributes"]],hostVars:2,hostBindings:function(e,s){2&e&&t.ekj("router-component",s.true)},decls:9,vars:4,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-tab-group"),t.TgZ(5,"mat-tab"),t.YNc(6,qt,2,3,"ng-template",1),t.YNc(7,Ht,1,2,"ng-template",2),t.qZA(),t.YNc(8,Vt,3,0,"mat-tab",3),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,2,"FACILITY_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),t.xp6(6),t.Q6J("ngIf",s.facilityUserAttAuth))},directives:[k.SP,k.uX,k.uD,k.Vc,Mt.t,m.O5,Jt.Y],pipes:[h.X$],styles:[""]}),i})();var Bt=c(60113),jt=c(16500),$t=c(92090),zt=c(258),g=c(93075),w=c(1059),U=c(24850),Q=c(19516),O=c(67322),P=c(98833),X=c(91079),K=c(90508),D=c(77446),tt=c(31359);function Wt(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-option",10),t.NdJ("onSelectionChange",function(){const o=t.CHM(e).$implicit;return t.oxw(3).onSelectedService(o)}),t._uU(1),t.qZA()}if(2&i){const e=a.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e.name," ")}}function Xt(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-form-field",6),t.TgZ(1,"input",7),t.NdJ("keyup",function(n){return t.CHM(e),t.oxw(2).updatedSerVal(n)}),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"mat-autocomplete",8,9),t.TgZ(5,"mat-option",10),t.NdJ("onSelectionChange",function(){return t.CHM(e),t.oxw(2).onSelectedService("NOT_SELECTED")}),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"mat-option",10),t.NdJ("onSelectionChange",function(){return t.CHM(e),t.oxw(2).onSelectedService("ALL")}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.YNc(11,Wt,2,2,"mat-option",11),t.ALo(12,"async"),t.qZA(),t.qZA()}if(2&i){const e=t.MAs(4),s=t.oxw(2);t.xp6(1),t.s9C("placeholder",t.lcZ(2,9,"FACILITY_DETAIL.SERVICE_CONFIG.SERVICE_SELECT")),t.Q6J("formControl",s.serviceField)("matAutocomplete",e),t.xp6(2),t.Q6J("displayWith",s.serviceDisplayFn.bind(s)),t.xp6(2),t.Q6J("value","NOT_SELECTED"),t.xp6(1),t.hij(" ",t.lcZ(7,11,"FACILITY_DETAIL.SERVICE_CONFIG.NOT_SELECTED")," "),t.xp6(2),t.Q6J("value","ALL"),t.xp6(1),t.hij(" ",t.lcZ(10,13,"FACILITY_DETAIL.SERVICE_CONFIG.ALL")," "),t.xp6(2),t.Q6J("ngForOf",t.lcZ(12,15,s.filteredServices))}}function Kt(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-option",10),t.NdJ("onSelectionChange",function(){const o=t.CHM(e).$implicit;return t.oxw(3).onSelectedResource(o)}),t._uU(1),t.qZA()}if(2&i){const e=a.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e.name," ")}}function te(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-form-field",6),t.TgZ(1,"input",12),t.NdJ("keyup",function(n){return t.CHM(e),t.oxw(2).updatedResVal(n)}),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"mat-autocomplete",8,9),t.YNc(5,Kt,2,2,"mat-option",11),t.ALo(6,"async"),t.qZA(),t.qZA()}if(2&i){const e=t.MAs(4),s=t.oxw(2);t.xp6(1),t.s9C("placeholder",t.lcZ(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.RES_SELECT")),t.Q6J("matAutocomplete",e)("formControl",s.resourceField),t.xp6(2),t.Q6J("displayWith",s.resourceDisplayFn.bind(s)),t.xp6(2),t.Q6J("ngForOf",t.lcZ(6,7,s.filteredResources))}}function ee(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-option",10),t.NdJ("onSelectionChange",function(){const o=t.CHM(e).$implicit;return t.oxw(3).onSelectedGroup(o)}),t._uU(1),t.qZA()}if(2&i){const e=a.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e.name," ")}}function ie(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-form-field",6),t.TgZ(1,"input",12),t.NdJ("keyup",function(n){return t.CHM(e),t.oxw(2).updatedGroupVal(n)}),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"mat-autocomplete",13,9),t.YNc(5,ee,2,2,"mat-option",11),t.ALo(6,"async"),t.qZA(),t.qZA()}if(2&i){const e=t.MAs(4),s=t.oxw(2);t.xp6(1),t.s9C("placeholder",t.lcZ(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.GROUP_SELECT")),t.Q6J("matAutocomplete",e)("formControl",s.groupField),t.xp6(2),t.Q6J("displayWith",s.groupDisplayFn.bind(s)),t.xp6(2),t.Q6J("ngForOf",t.lcZ(6,7,s.filteredGroups))}}function se(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-option",10),t.NdJ("onSelectionChange",function(){const o=t.CHM(e).$implicit;return t.oxw(3).onSelectedMember(o)}),t._uU(1),t.ALo(2,"userFullName"),t.qZA()}if(2&i){const e=a.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",t.lcZ(2,2,e.user)," ")}}function ae(i,a){if(1&i&&(t.TgZ(0,"mat-form-field",6),t._UZ(1,"input",14),t.ALo(2,"translate"),t.TgZ(3,"mat-autocomplete",8,9),t.YNc(5,se,3,4,"mat-option",11),t.ALo(6,"async"),t.qZA(),t.qZA()),2&i){const e=t.MAs(4),s=t.oxw(2);t.xp6(1),t.s9C("placeholder",t.lcZ(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.MEMBER_SELECT")),t.Q6J("formControl",s.memberField)("matAutocomplete",e),t.xp6(2),t.Q6J("displayWith",s.memberDisplayFn.bind(s)),t.xp6(2),t.Q6J("ngForOf",t.lcZ(6,7,s.filteredMembers))}}function ne(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",3),t.YNc(1,Xt,13,17,"mat-form-field",4),t.TgZ(2,"mat-checkbox",5),t.NdJ("change",function(n){return t.CHM(e),t.oxw().onOfferAllServices(n)}),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.YNc(5,te,7,9,"mat-form-field",4),t.YNc(6,ie,7,9,"mat-form-field",4),t.YNc(7,ae,7,9,"mat-form-field",4),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",void 0!==e.services),t.xp6(2),t.hij(" ",t.lcZ(4,5,"FACILITY_DETAIL.SERVICE_CONFIG.ALL_SERVICES")," "),t.xp6(2),t.Q6J("ngIf",void 0!==e.resources&&0!==e.resources.length),t.xp6(1),t.Q6J("ngIf",void 0!==e.selectedResource&&void 0!==e.groups&&0!==e.groups.length),t.xp6(1),t.Q6J("ngIf",void 0!==e.selectedGroup&&void 0!==e.members&&0!==e.members.length)}}function oe(i,a){if(1&i&&t._UZ(0,"perun-web-apps-service-configurator",15),2&i){const e=t.oxw();t.Q6J("facility",e.facility)("resource",e.selectedResource)("group",e.selectedGroup)("service",e.selectedService)("member",e.selectedMember)}}let le=(()=>{class i{constructor(e,s,n,o,r,p,C){this.facilityManager=e,this.resourceManager=s,this.serviceManager=n,this.membersManager=o,this.namePipe=r,this.translate=p,this.entityStorageService=C,this.selectedService="NOT_SELECTED",this.attrNames=[],this.serviceField=new g.NI,this.resourceField=new g.NI,this.groupField=new g.NI,this.memberField=new g.NI,this.allowedStatuses=["INVALID","VALID"],this.translate.get("FACILITY_DETAIL.SERVICE_CONFIG.ALL").subscribe(v=>this.serviceAllTranslation=v),this.translate.get("FACILITY_DETAIL.SERVICE_CONFIG.NOT_SELECTED").subscribe(v=>this.serviceNotSelectedTranslation=v)}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.facilityManager.getFacilityById(this.facility.id).subscribe(e=>{this.facility=e,this.facilityManager.getAssignedResourcesForFacility(e.id).subscribe(s=>this.resources=s),this.serviceManager.getAssignedServices(e.id).subscribe(s=>this.services=s)}),this.filteredServices=this.serviceField.valueChanges.pipe((0,w.O)(""),(0,U.U)(e=>this._filterServices(e))),this.filteredResources=this.resourceField.valueChanges.pipe((0,w.O)(""),(0,U.U)(e=>this._filterResources(e))),this.filteredGroups=this.groupField.valueChanges.pipe((0,w.O)(""),(0,U.U)(e=>this._filterGroups(e))),this.filteredMembers=this.memberField.valueChanges.pipe((0,w.O)(""),(0,U.U)(e=>this._filterMembers(e)))}onSelectedService(e){this.selectedService=e}onSelectedResource(e){this.selectedResource=e,void 0!==this.selectedResource?(this.resourceManager.getAssignedGroups(this.selectedResource.id).subscribe(s=>this.groups=s),this.selectedGroup=void 0,this.selectedMember=void 0):this.groups=void 0}onOfferAllServices(e){e.checked||this.serviceManager.getAssignedServices(this.facility.id).subscribe(s=>this.services=s)}onSelectedGroup(e){this.selectedGroup=e,void 0!==this.selectedGroup?(this.membersManager.getCompleteRichMembersForGroup(this.selectedGroup.id,!1,this.allowedStatuses,this.attrNames).subscribe(s=>this.members=s),this.selectedMember=void 0):this.members=void 0}onSelectedMember(e){this.selectedMember=e}_filterServices(e){const s=e.toString().toLowerCase();return this.services.filter(n=>n.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(s))}_filterResources(e){const s=e.toString().toLowerCase();return this.resources.filter(n=>n.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(s))}_filterGroups(e){const s=e.toString().toLowerCase();return this.groups.filter(n=>n.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(s))}_filterMembers(e){const s=e.toString().toLowerCase();return this.members.filter(n=>this.namePipe.transform(n.user).toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(s))}serviceDisplayFn(e){if(null!==e)return"ALL"===e?this.serviceAllTranslation:"NOT_SELECTED"===e?this.serviceNotSelectedTranslation:e.name}resourceDisplayFn(e){if(null!==e)return e.name}groupDisplayFn(e){if(null!==e)return e.name}memberDisplayFn(e){if(null!==e)return this.namePipe.transform(e.user)}updatedSerVal(e){""===e.target.value&&(this.selectedService="NOT_SELECTED")}updatedResVal(e){""===e.target.value&&(this.groups=void 0,this.members=void 0)}updatedGroupVal(e){""===e.target.value&&(this.members=void 0)}updatedMemVal(e){}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.IQ),t.Y36(f.xk),t.Y36(f.KK),t.Y36(f.uq),t.Y36(Q.dp),t.Y36(h.sK),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-service-config"]],decls:6,vars:5,consts:[[1,"page-subtitle"],["class","col-12 col-lg-6 mb-2",4,"ngIf"],[3,"facility","resource","group","service","member",4,"ngIf"],[1,"col-12","col-lg-6","mb-2"],["class","w-100",4,"ngIf"],[3,"change"],[1,"w-100"],["type","text","matInput","",3,"placeholder","formControl","matAutocomplete","keyup"],["autoActiveFirstOption","",3,"displayWith"],["auto","matAutocomplete"],[3,"value","onSelectionChange"],[3,"value","onSelectionChange",4,"ngFor","ngForOf"],["type","text","matInput","",3,"placeholder","matAutocomplete","formControl","keyup"],["autoActiveFirstOption","",3,"ngClass","displayWith"],["type","text","matInput","",3,"placeholder","formControl","matAutocomplete"],[3,"facility","resource","group","service","member"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,ne,8,7,"div",1),t.YNc(5,oe,1,5,"perun-web-apps-service-configurator",2),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,3,"FACILITY_DETAIL.SERVICE_CONFIG.TITLE")),t.xp6(2),t.Q6J("ngIf",!!s.facility),t.xp6(1),t.Q6J("ngIf",!!s.facility))},directives:[m.O5,O.KE,P.Nt,g.Fj,X.ZL,g.JJ,g.oH,X.XC,K.ey,m.sg,D.oG,m.mk],pipes:[h.X$,m.Ov,tt.d],styles:[""]}),i})();var et=c(69815);let it=(()=>{class i{constructor(e,s,n){this.facilityService=e,this.guiAuthResolver=s,this.entityStorageService=n,this.availableRoles=[],this.selected="user",this.type="Facility",this.theme="facility-theme",this.disableRouting=!1,this.disableSelf=!1}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Facility")}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.IQ),t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-perun-web-apps-facility-settings-managers"]],hostVars:2,hostBindings:function(e,s){2&e&&t.ekj("router-component",s.true)},inputs:{disableRouting:"disableRouting",disableSelf:"disableSelf"},decls:1,vars:6,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles","disableRouting","disableSelf"]],template:function(e,s){1&e&&t._UZ(0,"app-managers-page",0),2&e&&t.Q6J("complementaryObject",s.facility)("complementaryObjectType",s.type)("theme",s.theme)("availableRoles",s.availableRoles)("disableRouting",s.disableRouting)("disableSelf",s.disableSelf)},directives:[et.s],styles:[""]}),i})();var E=c(10036),A=c(20449),ce=c(89466),re=c(74107);function ue(i,a){1&i&&t._UZ(0,"mat-spinner",6)}function de(i,a){1&i&&(t.TgZ(0,"mat-option",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.SELECTION_ALL")))}function pe(i,a){1&i&&(t.TgZ(0,"mat-option",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.NO_SERVICE")))}function _e(i,a){if(1&i&&(t.TgZ(0,"mat-option",21),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e.name," ")}}function me(i,a){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.CHOOSE_SERVICE")," "))}function he(i,a){if(1&i&&(t.TgZ(0,"mat-option",21),t._uU(1),t.qZA()),2&i){const e=a.$implicit,s=t.oxw(2);t.Q6J("value",e),t.xp6(1),t.hij(" ",s.getTypeForView(e)," ")}}function fe(i,a){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.REQUIRED_FIELD")," "))}function ge(i,a){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.INVALID_DESTINATION")," "))}function Te(i,a){if(1&i&&(t.TgZ(0,"mat-form-field",22),t._UZ(1,"input",23),t.YNc(2,fe,3,3,"mat-error",13),t.YNc(3,ge,3,3,"mat-error",13),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.s9C("placeholder",e.getTypeForView(e.selectedType)),t.Q6J("formControl",e.destinationControl),t.xp6(1),t.Q6J("ngIf","host"===e.selectedType&&!e.useFacilityHost&&e.destinationControl.hasError("required")),t.xp6(1),t.Q6J("ngIf",e.destinationControl.hasError("invalidDestination"))}}function Se(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-checkbox",24),t.NdJ("ngModelChange",function(n){return t.CHM(e),t.oxw(2).useFacilityHost=n}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("ngModel",e.useFacilityHost),t.xp6(1),t.hij(" ",t.lcZ(2,2,"DIALOGS.ADD_SERVICE_DESTINATION.USE_FACILITY_HOST")," ")}}function Ce(i,a){if(1&i&&(t.TgZ(0,"mat-option",21),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e," ")}}function Ae(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",7),t.TgZ(1,"div",8),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-form-field"),t.TgZ(5,"mat-select",9),t.ALo(6,"translate"),t.YNc(7,de,3,3,"mat-option",10),t.YNc(8,pe,3,3,"mat-option",11),t.YNc(9,_e,2,2,"mat-option",12),t.qZA(),t.YNc(10,me,3,3,"mat-error",13),t.qZA(),t.TgZ(11,"mat-checkbox",14),t.NdJ("change",function(){return t.CHM(e),t.oxw().getServices()})("ngModelChange",function(n){return t.CHM(e),t.oxw().servicesOnFacility=n}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"mat-form-field"),t.TgZ(15,"mat-select",15),t.NdJ("ngModelChange",function(n){return t.CHM(e),t.oxw().selectedType=n})("selectionChange",function(){return t.CHM(e),t.oxw().destinationControl.updateValueAndValidity()}),t.ALo(16,"translate"),t.YNc(17,he,2,2,"mat-option",12),t.qZA(),t.qZA(),t.YNc(18,Te,4,4,"mat-form-field",16),t.YNc(19,Se,3,4,"mat-checkbox",17),t.TgZ(20,"mat-form-field"),t.TgZ(21,"mat-select",18),t.NdJ("ngModelChange",function(n){return t.CHM(e),t.oxw().selectedPropagation=n}),t.ALo(22,"translate"),t.YNc(23,Ce,2,2,"mat-option",12),t.qZA(),t.qZA(),t.TgZ(24,"div",8),t._uU(25),t.ALo(26,"translate"),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,18,"DIALOGS.ADD_SERVICE_DESTINATION.DESCRIPTION")),t.xp6(3),t.s9C("placeholder",t.lcZ(6,20,"DIALOGS.ADD_SERVICE_DESTINATION.SERVICE")),t.Q6J("formControl",e.serviceControl),t.xp6(2),t.Q6J("ngIf",0!==e.services.length),t.xp6(1),t.Q6J("ngIf",0===e.services.length),t.xp6(1),t.Q6J("ngForOf",e.services),t.xp6(1),t.Q6J("ngIf",void 0===e.serviceControl.value),t.xp6(1),t.Q6J("ngModel",e.servicesOnFacility),t.xp6(1),t.Oqu(t.lcZ(13,22,"DIALOGS.ADD_SERVICE_DESTINATION.IS_SERVICES_ONLY_ON_FACILITY")),t.xp6(3),t.s9C("placeholder",t.lcZ(16,24,"DIALOGS.ADD_SERVICE_DESTINATION.TYPE")),t.Q6J("ngModel",e.selectedType),t.xp6(2),t.Q6J("ngForOf",e.types),t.xp6(1),t.Q6J("ngIf",!("host"===e.selectedType&&e.useFacilityHost)),t.xp6(1),t.Q6J("ngIf","host"===e.selectedType),t.xp6(2),t.s9C("placeholder",t.lcZ(22,26,"DIALOGS.ADD_SERVICE_DESTINATION.PROPAGATION")),t.Q6J("ngModel",e.selectedPropagation),t.xp6(2),t.Q6J("ngForOf",e.propagations),t.xp6(2),t.hij(" ",t.lcZ(26,28,"DIALOGS.ADD_SERVICE_DESTINATION.PROPAGATION_TYPE_"+e.selectedPropagation)," ")}}let Ie=(()=>{class i{constructor(e,s,n,o){this.dialogRef=e,this.data=s,this.facilitiesManager=n,this.servicesManager=o,this.services=[],this.types=["host","user@host","user@host:port","user@host-windows","host-windows-proxy","url","email","semail","service-specific"],this.selectedType="host",this.propagations=["PARALLEL","DUMMY"],this.selectedPropagation="PARALLEL",this.useFacilityHost=!1,this.loading=!1,this.emailRegex=new RegExp(d.B2),this.hostPattern=new RegExp("^(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$"),this.urlPattern=new RegExp("^(https?|ftp|file)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;()*$']*[-a-zA-Z0-9+&@#/%=~_|()*$']$"),this.userAtHostPattern=new RegExp("^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\\$)@(?:(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$)"),this.userAtHostPortPattern=new RegExp("^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\\$)@(?:(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)|(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}):[0-9]+"),this.serviceSpecificPattern=new RegExp("^(?!-)[a-zA-Z0-9-_.:/]*$")}ngOnInit(){this.loading=!0,this.serviceControl=new g.NI(void 0,g.kI.required),this.destinationControl=new g.NI("",this.getDestinationValidator()),this.emailControl=new g.NI("",[g.kI.required,g.kI.pattern(this.emailRegex)]),this.facilitiesManager.getHosts(this.data.facility.id).subscribe(e=>{this.hosts=e,this.servicesOnFacility=!0,this.getServices(),this.loading=!1},()=>this.loading=!1)}getDestinationValidator(){return e=>{if(!e.value)return null;let s;switch(this.selectedType){case"host":case"host-windows-proxy":s=this.hostPattern;break;case"email":case"semail":s=this.emailRegex;break;case"url":s=this.urlPattern;break;case"user@host":case"user@host-windows":s=this.userAtHostPattern;break;case"user@host:port":s=this.userAtHostPortPattern;break;case"service-specific":s=this.serviceSpecificPattern;break;default:return null}return s.test(e.value)?null:{invalidDestination:{value:e.value}}}}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,"all"===this.serviceControl.value?this.useFacilityHost?this.servicesManager.addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility({services:this.services,facility:this.data.facility.id}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.servicesManager.addDestinationToMultipleServices({services:this.services,facility:this.data.facility.id,destination:this.destinationControl.value,type:this.selectedType,propagationType:this.selectedPropagation}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.useFacilityHost?this.servicesManager.addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(this.serviceControl.value.id,this.data.facility.id).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.servicesManager.addDestination(this.serviceControl.value.id,this.data.facility.id,this.destinationControl.value,this.selectedType,this.selectedPropagation).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}getServices(){this.loading=!0,this.servicesOnFacility?0!==this.data.configServices.length?this.services=this.data.configServices:this.servicesManager.getAssignedServices(this.data.facility.id).subscribe(e=>{this.services=e},()=>this.loading=!1):this.servicesManager.getServices().subscribe(e=>{this.services=e},()=>this.loading=!1),this.loading=!1,this.serviceControl.setValue(void 0)}getTypeForView(e){return"semail"===e?"Send Mail":"service-specific"===e?"Service Specific":e}invalidDestination(){return("host"!==this.selectedType||!this.useFacilityHost)&&this.destinationControl.invalid}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(f.IQ),t.Y36(f.KK))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-perun-web-apps-add-services-destination-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-italic"],["required","",3,"formControl","placeholder"],["value","all",4,"ngIf"],["value","noService",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngModel","change","ngModelChange"],[3,"ngModel","placeholder","ngModelChange","selectionChange"],["class","w-100",4,"ngIf"],[3,"ngModel","ngModelChange",4,"ngIf"],[3,"ngModel","placeholder","ngModelChange"],["value","all"],["value","noService"],[3,"value"],[1,"w-100"],["matInput","","required","",3,"formControl","placeholder"],[3,"ngModel","ngModelChange"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,ue,1,0,"mat-spinner",1),t.YNc(5,Ae,27,30,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return s.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return s.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(s.data.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.ADD_SERVICE_DESTINATION.TITLE")),t.xp6(2),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.ADD_SERVICE_DESTINATION.CANCEL")," "),t.xp6(2),t.Q6J("disabled",s.loading||s.invalidDestination()||s.serviceControl.invalid||"noService"===s.serviceControl.value),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.ADD_SERVICE_DESTINATION.ADD")," "))},directives:[u.uh,m.O5,T.$g,u.xY,O.KE,re.gD,g.Q7,g.JJ,g.oH,K.ey,m.sg,O.TO,D.oG,g.On,P.Nt,g.Fj,u.H8,S.lW],pipes:[h.X$],styles:[""],data:{animation:[J.BQ]}}),i})();var R=c(98380),x=c(96214),Z=c(7434),st=c(70242);function ve(i,a){1&i&&(t.TgZ(0,"app-alert",9),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"FACILITY_DETAIL.SERVICES_DESTINATIONS.DESTINATIONS_INFO")," "))}function be(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw().addDestination()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"FACILITY_DETAIL.SERVICES_DESTINATIONS.ADD")," "))}function ye(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().removeDestination()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.REMOVE")," ")}}function Ee(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAllow()}),t.TgZ(1,"mat-icon"),t._uU(2," check_circle_outline "),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length||e.allSelectedAllowed()),t.xp6(3),t.hij(" ",t.lcZ(4,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.ALLOW")," ")}}function xe(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw().onBlock()}),t.TgZ(1,"mat-icon"),t._uU(2," block "),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length||e.allSelectedBlocked()),t.xp6(3),t.hij(" ",t.lcZ(4,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.BLOCK")," ")}}function Ze(i,a){1&i&&t._UZ(0,"mat-spinner",13)}function Le(i,a){if(1&i&&t._UZ(0,"app-perun-web-apps-destination-list",14),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("destinations",e.destinations)("selection",e.selected)("displayedColumns",e.displayedColumns)("services",e.configServicesIds)}}let at=(()=>{class i{constructor(e,s,n,o,r,p,C,v){this.dialog=e,this.facilitiesManager=s,this.servicesManager=n,this.translate=o,this.notificator=r,this.authResolver=p,this.serviceManager=C,this.entityStorageService=v,this.selected=new A.Ov(!0,[]),this.displayedColumns=["select","destinationId","service","destination","type","propagationType"],this.configServices=[],this.configServicesIds=new Set,this.title="FACILITY_DETAIL.SERVICES_DESTINATIONS.TITLE",this.destinationEmitter=new t.vpe,this.filterValue="",this.tableId=E.Cf}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}refreshTable(){this.loading=!0,this.servicesManager.getAllRichDestinationsForFacility(this.facility.id).subscribe(e=>{this.destinations=e,this.destinationEmitter.emit(this.destinations),this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addDestination_Service_Facility_Destination_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeDestination_Service_Facility_Destination_policy",[this.facility]),this.allowAuth=this.authResolver.isAuthorized("unblockServiceOnDestination_Service_int_policy",[this.facility]),this.blockAuth=this.authResolver.isAuthorized("blockServiceOnDestination_Service_int_policy",[this.facility]),this.displayedColumns=this.removeAuth?this.displayedColumns:this.displayedColumns.filter(e=>"select"!==e)}addDestination(){const e=(0,d.kZ)();e.width="600px",e.data={facility:this.facility,theme:"facility-theme",configServices:this.configServices},this.dialog.open(Ie,e).afterClosed().subscribe(n=>{n&&this.translate.get("FACILITY_DETAIL.SERVICES_DESTINATIONS.ADD_SUCCESS").subscribe(o=>{this.refreshTable(),this.notificator.showSuccess(o)})})}removeDestination(){const e=(0,d.kZ)();e.width="600px",e.data={destinations:this.selected.selected,theme:"facility-theme"},this.dialog.open(ce.u,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}blockServiceOnDestinations(e){if(0===e.length)return this.notificator.showSuccess(this.translate.instant("FACILITY_DETAIL.SERVICES_DESTINATIONS.BLOCK_SUCCESS")),void this.refreshTable();const s=e.pop();this.serviceManager.blockServiceOnDestination(s.service.id,s.id).subscribe(()=>{this.blockServiceOnDestinations(e)},()=>this.loading=!1)}onBlock(){this.loading=!0,this.blockServiceOnDestinations(this.selected.selected)}allowServiceOnDestinations(e){if(0===e.length)return this.notificator.showSuccess(this.translate.instant("FACILITY_DETAIL.SERVICES_DESTINATIONS.ALLOW_SUCCESS")),void this.refreshTable();const s=e.pop();this.serviceManager.unblockServiceOnDestinationById(s.service.id,s.id).subscribe(()=>{this.allowServiceOnDestinations(e)},()=>this.loading=!1)}onAllow(){this.loading=!0,this.allowServiceOnDestinations(this.selected.selected)}applyFilter(e){this.filterValue=e}allSelectedAllowed(){return this.selected.selected.reduce((e,s)=>e&&!s.blocked,!0)}allSelectedBlocked(){return this.selected.selected.reduce((e,s)=>e&&s.blocked,!0)}}return i.id="FacilityServicesDestinationsComponent",i.\u0275fac=function(e){return new(e||i)(t.Y36(u.uw),t.Y36(f.IQ),t.Y36(f.KK),t.Y36(h.sK),t.Y36(_.V6),t.Y36(_.x4),t.Y36(f.KK),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-perun-web-apps-facility-services-destinations"]],hostVars:2,hostBindings:function(e,s){2&e&&t.ekj("router-component",s.true)},inputs:{displayedColumns:"displayedColumns",configServices:"configServices",configServicesIds:"configServicesIds",title:"title",loading:"loading"},outputs:{destinationEmitter:"destinationEmitter"},decls:13,vars:11,consts:[[1,"page-subtitle"],["alert_type","info",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","destinations","selection","displayedColumns","services",4,"ngIf"],["alert_type","info"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","destinations","selection","displayedColumns","services"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,ve,3,3,"app-alert",1),t.TgZ(5,"perun-web-apps-refresh-button",2),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.YNc(6,be,3,3,"button",3),t.YNc(7,ye,3,4,"button",4),t.YNc(8,Ee,5,4,"button",5),t.YNc(9,xe,5,4,"button",5),t.TgZ(10,"perun-web-apps-immediate-filter",6),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.qZA(),t.YNc(11,Ze,1,0,"mat-spinner",7),t.YNc(12,Le,1,6,"app-perun-web-apps-destination-list",8),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,9,s.title)),t.xp6(2),t.Q6J("ngIf",s.title.includes("CONFIG")),t.xp6(2),t.Q6J("ngIf",s.addAuth),t.xp6(1),t.Q6J("ngIf",s.removeAuth),t.xp6(1),t.Q6J("ngIf",s.allowAuth),t.xp6(1),t.Q6J("ngIf",s.blockAuth),t.xp6(1),t.Q6J("placeholder","FACILITY_DETAIL.SERVICES_DESTINATIONS.FILTER"),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[m.O5,R.w,x.t,S.lW,F.Hw,Z.L,T.$g,st.q],pipes:[h.X$],styles:[""]}),i})();var V=c(23256);function De(i,a){1&i&&t._UZ(0,"mat-spinner",3)}function Re(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(n){return t.CHM(e),t.oxw().applyFilter(n)}),t.qZA(),t.TgZ(2,"div",5),t._UZ(3,"perun-web-apps-owners-list",6),t.qZA(),t.TgZ(4,"div",7),t.TgZ(5,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAdd()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("placeholder","DIALOGS.ADD_OWNERS.FILTER"),t.xp6(2),t.Q6J("filterValue",e.filterValue)("tableId",e.tableId)("owners",e.owners)("selection",e.selection),t.xp6(3),t.hij(" ",t.lcZ(7,8,"DIALOGS.ADD_OWNERS.CANCEL")," "),t.xp6(2),t.Q6J("disabled",0===e.selection.selected.length||e.loading),t.xp6(1),t.hij(" ",t.lcZ(10,10,"DIALOGS.ADD_OWNERS.ADD")," ")}}let Fe=(()=>{class i{constructor(e,s,n,o,r,p){this.dialogRef=e,this.data=s,this.notificator=n,this.translate=o,this.ownersManagerService=r,this.facilitiesManagerService=p,this.extSources=[],this.selection=new A.Ov(!0,[]),this.filterValue="",this.tableId=E.BV,this.owners=[],this.translate.get("DIALOGS.ADD_OWNERS.SUCCESS").subscribe(C=>this.successMessage=C)}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.ownersManagerService.getAllOwners().subscribe(e=>{this.owners=e.filter(s=>!this.data.forbiddenOwners.includes(s.id)),this.loading=!1},()=>this.loading=!1)}applyFilter(e){this.filterValue=e}onAdd(){this.loading=!0,0!==this.selection.selected.length?this.facilitiesManagerService.addFacilityOwner(this.data.facilityId,this.selection.selected.pop().id).subscribe(()=>this.onAdd(),()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}onCancel(){this.dialogRef.close(!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(_.V6),t.Y36(h.sK),t.Y36(f.aC),t.Y36(f.IQ))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-add-facility-owner-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"font-size-1rem",3,"placeholder","filter"],["mat-dialog-content",""],[3,"filterValue","tableId","owners","selection"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,De,1,0,"mat-spinner",1),t.YNc(5,Re,11,12,"div",2),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"DIALOGS.ADD_OWNERS.TITLE")),t.xp6(2),t.Tol(s.theme),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[u.uh,m.O5,T.$g,Z.L,u.xY,V.Q,u.H8,S.lW],pipes:[h.X$],styles:[""]}),i})();var l=c(32075);function Oe(i,a){1&i&&t._UZ(0,"mat-spinner",6)}function Ne(i,a){1&i&&t._UZ(0,"th",15)}function ke(i,a){if(1&i&&(t.TgZ(0,"td",16),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.name)}}function we(i,a){1&i&&t._UZ(0,"tr",17)}function Ue(i,a){1&i&&t._UZ(0,"tr",18)}function Ye(i,a){if(1&i&&(t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,Ne,1,0,"th",11),t.YNc(10,ke,2,1,"td",12),t.BQk(),t.YNc(11,we,1,0,"tr",13),t.YNc(12,Ue,1,0,"tr",14),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,"DIALOGS.REMOVE_OWNERS.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.REMOVE_OWNERS.ASK")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let Me=(()=>{class i{constructor(e,s,n,o,r){this.dialogRef=e,this.data=s,this.notificator=n,this.translate=o,this.facilitiesManagerService=r,this.displayedColumns=["name"],o.get("DIALOGS.REMOVE_OWNERS.SUCCESS").subscribe(p=>this.successMessage=p)}ngOnInit(){this.dataSource=new l.by(this.data.owners),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,0!==this.data.owners.length?this.facilitiesManagerService.removeFacilityOwner(this.data.facilityId,this.data.owners.pop().id).subscribe(()=>this.onSubmit(),()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(_.V6),t.Y36(h.sK),t.Y36(f.IQ))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-remove-facility-owner-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,Oe,1,0,"mat-spinner",1),t.YNc(5,Ye,13,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return s.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return s.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,9,"DIALOGS.REMOVE_OWNERS.TITLE")),t.xp6(2),t.Tol(s.theme),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.REMOVE_OWNERS.CANCEL")," "),t.xp6(2),t.Q6J("disabled",s.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.REMOVE_OWNERS.DELETE")," "))},directives:[u.uh,m.O5,T.$g,u.xY,l.BZ,l.w1,l.fO,l.ge,l.Dz,l.ev,l.as,l.XQ,l.nj,l.Gk,u.H8,S.lW],pipes:[h.X$],styles:[""]}),i})();function Je(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCreate()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"FACILITY_DETAIL.SETTINGS.OWNERS.ADD"),"\n"))}function qe(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onRemove()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"FACILITY_DETAIL.SETTINGS.OWNERS.DELETE"),"\n")}}function He(i,a){1&i&&t._UZ(0,"mat-spinner",9)}function Qe(i,a){if(1&i&&t._UZ(0,"perun-web-apps-owners-list",10),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("owners",e.owners)("displayedColumns",e.displayedColumns)("selection",e.selection)}}let nt=(()=>{class i{constructor(e,s,n,o){this.facilitiesManagerService=e,this.dialog=s,this.authResolver=n,this.entityStorageService=o,this.owners=[],this.selection=new A.Ov(!0,[]),this.displayedColumns=["id","name","contact","type"],this.tableId=E.zp,this.ownerEmitter=new t.vpe}ngOnInit(){this.filterValue="",this.facility=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}refreshTable(){this.loading=!0,this.selection.clear(),this.facilitiesManagerService.getFacilityOwners(this.facility.id).subscribe(e=>{this.owners=e,this.ownerEmitter.emit(this.owners),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addOwner_Facility_Owner_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeOwner_Facility_Owner_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","contact","type"]:["id","name","contact","type"]}applyFilter(e){this.filterValue=e}onCreate(){const e=(0,d.kZ)();e.width="800px",e.data={theme:"facility-theme",facilityId:this.facility.id,forbiddenOwners:this.owners.map(n=>n.id)},this.dialog.open(Fe,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}onRemove(){const e=(0,d.kZ)();e.width="600px",e.data={theme:"facility-theme",owners:this.selection.selected,facilityId:this.facility.id},this.dialog.open(Me,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.IQ),t.Y36(u.uw),t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-settings-owners"]],outputs:{ownerEmitter:"ownerEmitter"},decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2 action-button","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","owners","displayedColumns","selection",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","owners","displayedColumns","selection"]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.YNc(4,Je,3,3,"button",2),t.YNc(5,qe,3,4,"button",3),t.TgZ(6,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.qZA(),t.YNc(7,He,1,0,"mat-spinner",5),t.YNc(8,Qe,1,5,"perun-web-apps-owners-list",6)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"FACILITY_DETAIL.SETTINGS.OWNERS.TITLE")),t.xp6(3),t.Q6J("ngIf",s.addAuth),t.xp6(1),t.Q6J("ngIf",s.removeAuth),t.xp6(1),t.Q6J("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER"),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,m.O5,S.lW,Z.L,T.$g,V.Q],pipes:[h.X$],styles:[""]}),i})();var G=c(50301);function Pe(i,a){1&i&&t._UZ(0,"mat-spinner",6)}function Ve(i,a){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_HOST.EMPTY_MESSAGE")," "))}function Ge(i,a){if(1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.AsE(" ",t.lcZ(2,2,"DIALOGS.ADD_HOST.INVALID_HOST")," ",e.hostsCtrl.getError("invalidHost").value," ")}}function Be(i,a){if(1&i&&(t.TgZ(0,"div",7),t.TgZ(1,"mat-form-field"),t.TgZ(2,"textarea",8),t.ALo(3,"translate"),t._uU(4," "),t.qZA(),t.YNc(5,Ve,3,3,"mat-error",9),t.YNc(6,Ge,3,4,"mat-error",9),t.qZA(),t.TgZ(7,"app-alert",10),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.Q6J("placeholder",t.lcZ(3,5,"DIALOGS.ADD_HOST.SUBTITLE"))("formControl",e.hostsCtrl),t.xp6(3),t.Q6J("ngIf",e.hostsCtrl.hasError("required")),t.xp6(1),t.Q6J("ngIf",e.hostsCtrl.hasError("invalidHost")),t.xp6(2),t.Oqu(t.lcZ(9,7,"DIALOGS.ADD_HOST.HINT"))}}let je=(()=>{class i{constructor(e,s,n,o,r){this.dialogRef=e,this.data=s,this.facilitiesManager=n,this.notificator=o,this.translate=r,this.loading=!1,this.hostPattern=new RegExp("^(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$")}ngOnInit(){this.theme=this.data.theme,this.hostsCtrl=new g.NI("",[g.kI.required,this.hostsNameValidator()]),this.hostsCtrl.markAllAsTouched()}onAdd(){this.loading=!0;const e=this.hostsCtrl.value.split("\n");let s=[];for(const n of e)s=s.concat(this.parseHostName(n));this.facilitiesManager.addHosts(this.data.facilityId,s).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_HOST.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}hostsNameValidator(){return e=>{let s=[];const n=e.value.split("\n");for(const o of n)s=s.concat(this.parseHostName(o));for(const o of s)if(!this.hostPattern.test(o))return{invalidHost:{value:o}};return null}}parseHostName(e){const s=new RegExp("[[0-9]+-[0-9]+]","g"),n=e.split(s),o=e.match(s);if(null==o)return""===e?[]:[e];let r=[];for(let p=0;p{class i{constructor(e,s,n,o,r){this.dialogRef=e,this.data=s,this.facilitiesManager=n,this.notificator=o,this.translate=r,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.hosts=this.data.hosts,this.dataSource=new l.by(this.data.hosts)}onConfirm(){this.loading=!0,this.facilitiesManager.removeHosts(this.data.facilityId,this.hosts.map(e=>e.id)).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_HOST.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(f.IQ),t.Y36(_.V6),t.Y36(h.sK))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-remove-host-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,$e,1,0,"mat-spinner",1),t.YNc(5,ti,13,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return s.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return s.onConfirm()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,9,"DIALOGS.REMOVE_HOST.TITLE")),t.xp6(2),t.Tol(s.theme),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.REMOVE_HOST.CANCEL")," "),t.xp6(2),t.Q6J("disabled",s.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.REMOVE_HOST.CONFIRM")," "))},directives:[u.uh,m.O5,T.$g,u.xY,l.BZ,l.w1,l.fO,l.ge,l.Dz,l.ev,l.as,l.XQ,l.nj,l.Gk,u.H8,S.lW],pipes:[h.X$],styles:[""]}),i})();var I=c(84847),N=c(18750);function ii(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"th",14),t.TgZ(1,"mat-checkbox",15),t.NdJ("change",function(n){t.CHM(e);const o=t.oxw();return n?o.masterToggle():null}),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function si(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",16),t.TgZ(1,"mat-checkbox",17),t.NdJ("change",function(n){const r=t.CHM(e).$implicit,p=t.oxw();return n?p.selection.toggle(r):null})("click",function(n){return n.stopPropagation()}),t.qZA(),t.qZA()}if(2&i){const e=a.$implicit,s=t.oxw();t.xp6(1),t.Q6J("aria-label",s.checkboxLabel(e))("checked",s.selection.isSelected(e))}}function ai(i,a){1&i&&(t.TgZ(0,"th",18),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.HOSTS_LIST.TABLE_HOST_ID")," "))}function ni(i,a){if(1&i&&(t.TgZ(0,"td",19),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.id)}}function oi(i,a){1&i&&(t.TgZ(0,"th",18),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.HOSTS_LIST.TABLE_HOST_NAME")," "))}function li(i,a){if(1&i&&(t.TgZ(0,"td",20),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.hostname)}}function ci(i,a){1&i&&t._UZ(0,"tr",21)}const ot=function(i,a){return["/facilities",i,"hosts",a]};function ri(i,a){if(1&i&&t._UZ(0,"tr",22),2&i){const e=a.$implicit,s=t.oxw();t.Q6J("perunWebAppsMiddleClickRouterLink",s.disableRouting?null:t.WLB(2,ot,s.facilityId,e.id))("routerLink",s.disableRouting?null:t.WLB(5,ot,s.facilityId,e.id))}}function ui(i,a){1&i&&(t.TgZ(0,"app-alert",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function di(i,a){1&i&&(t.TgZ(0,"app-alert",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.HOSTS_LIST.NO_HOST_WARNING"),"\n"))}let lt=(()=>{class i{constructor(e,s){this.authResolver=e,this.tableCheckbox=s,this.hosts=[],this.selection=new A.Ov(!0,[]),this.disableRouting=!1,this.displayedColumns=["select","id","name"],this.pageSizeOptions=d.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new l.by(this.hosts),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,s){switch(s){case"id":return e.id.toString();case"name":return e.hostname;default:return""}}exportData(e){(0,d.O6)((0,d.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(e,s)=>(0,d.Sd)(e,s,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,s)=>(0,d.pR)(e,s,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(_.x4),t.Y36(_.UA))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-hosts-list"]],viewQuery:function(e,s){if(1&e&&(t.Gf(I.YE,7),t.Gf(d.l9,7)),2&e){let n;t.iGM(n=t.CRH())&&(s.matSort=n.first),t.iGM(n=t.CRH())&&(s.child=n.first)}},inputs:{hosts:"hosts",selection:"selection",filterValue:"filterValue",tableId:"tableId",facilityId:"facilityId",disableRouting:"disableRouting",displayedColumns:"displayedColumns"},features:[t.TTD],decls:16,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,s){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(o){return s.exportData(o)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,ii,2,3,"th",4),t.YNc(5,si,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,ai,3,3,"th",7),t.YNc(8,ni,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,oi,3,3,"th",7),t.YNc(11,li,2,1,"td",10),t.BQk(),t.YNc(12,ci,1,0,"tr",11),t.YNc(13,ri,1,8,"tr",12),t.qZA(),t.qZA(),t.qZA(),t.YNc(14,ui,3,3,"app-alert",13),t.YNc(15,di,3,3,"app-alert",13)),2&e&&(t.Q6J("hidden",0===s.dataSource.filteredData.length||0===s.hosts.length),t.xp6(1),t.Q6J("tableId",s.tableId)("dataLength",s.dataSource.filteredData.length)("pageSizeOptions",s.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",s.dataSource),t.xp6(10),t.Q6J("matHeaderRowDef",s.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",s.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===s.dataSource.filteredData.length&&0!==s.hosts.length),t.xp6(1),t.Q6J("ngIf",0===s.hosts.length))},directives:[N.l,l.BZ,I.YE,l.w1,l.fO,l.ge,D.oG,l.Dz,l.ev,I.nU,l.as,l.XQ,l.nj,l.Gk,G.YH,y.rH,m.O5,R.w],pipes:[h.X$],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),i})();function pi(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().addHost()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"FACILITY_DETAIL.HOSTS.ADD")," "))}function _i(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().removeHost()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"FACILITY_DETAIL.HOSTS.REMOVE")," ")}}function mi(i,a){1&i&&t._UZ(0,"mat-spinner",9)}function hi(i,a){if(1&i&&t._UZ(0,"app-hosts-list",10),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("hosts",e.hosts)("selection",e.selected)("displayedColumns",e.displayedColumns)("disableRouting",!e.routeAuth||e.disableRouting)("facilityId",e.facility.id)}}let ct=(()=>{class i{constructor(e,s,n,o){this.dialog=e,this.facilitiesManager=s,this.authResolver=n,this.entityStorageService=o,this.disableRouting=!1,this.hosts=[],this.selected=new A.Ov(!0,[]),this.filterValue="",this.tableId=E.eq,this.displayedColumns=["id","name"],this.hostEmitter=new t.vpe}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.setAuthRights(),this.facilitiesManager.getFacilityById(this.facility.id).subscribe(e=>{this.facility=e,this.refreshTable()})}refreshTable(){this.loading=!0,this.facilitiesManager.getHosts(this.facility.id).subscribe(e=>{this.hosts=e,this.hostEmitter.emit(this.hosts),this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addHosts_Facility_List_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeHosts_List_Facility_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name"]:["id","name"],0!==this.hosts.length&&(this.routeAuth=this.authResolver.isAuthorized("getHostById_int_policy",[this.facility,this.hosts[0]]))}addHost(){const e=(0,d.kZ)();e.width="600px",e.data={facilityId:this.facility.id,theme:"facility-theme"},this.dialog.open(je,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}removeHost(){const e=(0,d.kZ)();e.width="600px",e.data={facilityId:this.facility.id,theme:"facility-theme",hosts:this.selected.selected},this.dialog.open(ei,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}applyFilter(e){this.filterValue=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.uw),t.Y36(f.IQ),t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-hosts"]],inputs:{disableRouting:"disableRouting"},outputs:{hostEmitter:"hostEmitter"},decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","hosts","selection","displayedColumns","disableRouting","facilityId",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","hosts","selection","displayedColumns","disableRouting","facilityId"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.YNc(5,pi,3,3,"button",2),t.YNc(6,_i,3,4,"button",3),t.TgZ(7,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.qZA(),t.YNc(8,mi,1,0,"mat-spinner",5),t.YNc(9,hi,1,7,"app-hosts-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,6,"FACILITY_DETAIL.HOSTS.TITLE")),t.xp6(3),t.Q6J("ngIf",s.addAuth),t.xp6(1),t.Q6J("ngIf",s.removeAuth),t.xp6(1),t.Q6J("placeholder","FACILITY_DETAIL.HOSTS.FILTER"),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,m.O5,S.lW,Z.L,T.$g,lt],pipes:[h.X$],styles:[""]}),i})();function fi(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"th",15),t.TgZ(1,"mat-checkbox",16),t.NdJ("change",function(n){t.CHM(e);const o=t.oxw();return n?o.masterToggle():null}),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function gi(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",17),t.TgZ(1,"mat-checkbox",18),t.NdJ("change",function(n){const r=t.CHM(e).$implicit,p=t.oxw();return n?p.selection.toggle(r):null})("click",function(n){return n.stopPropagation()}),t.qZA(),t.qZA()}if(2&i){const e=a.$implicit,s=t.oxw();t.xp6(1),t.Q6J("aria-label",s.checkboxLabel(e))("checked",s.selection.isSelected(e))}}function Ti(i,a){1&i&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.USER_ID")," "))}function Si(i,a){if(1&i&&(t.TgZ(0,"td",20),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e[1].id," ")}}function Ci(i,a){1&i&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NAME")," "))}function Ai(i,a){if(1&i&&(t.TgZ(0,"td",21),t._uU(1),t.ALo(2,"userFullName"),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,e[1])," ")}}function Ii(i,a){1&i&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.REASON")," "))}function vi(i,a){if(1&i&&(t.TgZ(0,"td",21),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e[0].description," ")}}function bi(i,a){1&i&&t._UZ(0,"tr",22)}function yi(i,a){1&i&&t._UZ(0,"tr",23)}function Ei(i,a){1&i&&(t.TgZ(0,"app-alert",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function xi(i,a){1&i&&(t.TgZ(0,"app-alert",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NO_BANS_WARNING"),"\n"))}let Zi=(()=>{class i{constructor(e,s){this.authResolver=e,this.tableCheckbox=s,this.bansOnFacilitiesWithUsers=[],this.selection=new A.Ov(!0,[]),this.displayedColumns=["select","userId","name","reason"],this.pageSizeOptions=d.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"userId"!==e)),this.dataSource=new l.by(this.bansOnFacilitiesWithUsers),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,s){switch(s){case"userId":return e[1].id.toString();case"reason":return e[0].description;case"name":return(0,d.hu)(e[1]);default:return""}}exportData(e){(0,d.O6)((0,d.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,s)=>(0,d.Sd)(e,s,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,s)=>(0,d.pR)(e,s,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e[0].userId+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(_.x4),t.Y36(_.UA))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-perun-web-apps-blacklist-list"]],viewQuery:function(e,s){if(1&e&&(t.Gf(I.YE,7),t.Gf(d.l9,7)),2&e){let n;t.iGM(n=t.CRH())&&(s.matSort=n.first),t.iGM(n=t.CRH())&&(s.child=n.first)}},inputs:{bansOnFacilitiesWithUsers:"bansOnFacilitiesWithUsers",selection:"selection",filterValue:"filterValue",tableId:"tableId"},features:[t.TTD],decls:19,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","userId"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","reason"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,s){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(o){return s.exportData(o)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,fi,2,3,"th",4),t.YNc(5,gi,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,Ti,3,3,"th",7),t.YNc(8,Si,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,Ci,3,3,"th",7),t.YNc(11,Ai,3,3,"td",10),t.BQk(),t.ynx(12,11),t.YNc(13,Ii,3,3,"th",7),t.YNc(14,vi,2,1,"td",10),t.BQk(),t.YNc(15,bi,1,0,"tr",12),t.YNc(16,yi,1,0,"tr",13),t.qZA(),t.qZA(),t.qZA(),t.YNc(17,Ei,3,3,"app-alert",14),t.YNc(18,xi,3,3,"app-alert",14)),2&e&&(t.Q6J("hidden",0===s.dataSource.filteredData.length||0===s.bansOnFacilitiesWithUsers.length),t.xp6(1),t.Q6J("tableId",s.tableId)("dataLength",s.dataSource.filteredData.length)("pageSizeOptions",s.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",s.dataSource),t.xp6(13),t.Q6J("matHeaderRowDef",s.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",s.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===s.dataSource.filteredData.length&&0!==s.bansOnFacilitiesWithUsers.length),t.xp6(1),t.Q6J("ngIf",0===s.bansOnFacilitiesWithUsers.length))},directives:[N.l,l.BZ,I.YE,l.w1,l.fO,l.ge,D.oG,l.Dz,l.ev,I.nU,l.as,l.XQ,l.nj,l.Gk,m.O5,R.w],pipes:[h.X$,tt.d],styles:[""]}),i})();function Li(i,a){1&i&&t._UZ(0,"mat-spinner",5)}function Di(i,a){if(1&i&&t._UZ(0,"app-perun-web-apps-blacklist-list",6),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("bansOnFacilitiesWithUsers",e.bansOnFacilitiesWithUsers)("selection",e.selected)}}let Ri=(()=>{class i{constructor(e,s,n){this.facilitiesManager=e,this.usersManager=s,this.entityStorageService=n,this.bansOnFacilitiesWithUsers=[],this.selected=new A.Ov(!0,[]),this.filterValue="",this.tableId=E.NG}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.refreshTable()}refreshTable(){this.loading=!0,this.facilitiesManager.getBansForFacility(this.facility.id).subscribe(e=>{const s=e;for(const n of s){let o;this.usersManager.getUserById(n.userId).subscribe(r=>{o=r}),this.bansOnFacilitiesWithUsers.push([n,o])}this.selected.clear(),this.loading=!1})}applyFilter(e){this.filterValue=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.IQ),t.Y36(f.Fv),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-perun-web-apps-facility-settings-blacklist"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","bansOnFacilitiesWithUsers","selection",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","bansOnFacilitiesWithUsers","selection"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.ALo(6,"translate"),t.qZA(),t.YNc(7,Li,1,0,"mat-spinner",3),t.YNc(8,Di,1,4,"app-perun-web-apps-blacklist-list",4),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,4,"FACILITY_DETAIL.SETTINGS.BLACKLIST.TITLE")),t.xp6(3),t.Q6J("placeholder",t.lcZ(6,6,"FACILITY_DETAIL.SETTINGS.BLACKLIST.FILTER")),t.xp6(2),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,Z.L,m.O5,T.$g,Zi],pipes:[h.X$],styles:[""]}),i})();var Fi=c(80255),Oi=c(61365),Ni=c(71103),rt=c(53984);const ki=["list"];function wi(i,a){1&i&&t._UZ(0,"mat-spinner",7)}function Ui(i,a){if(1&i&&t._UZ(0,"perun-web-apps-attributes-list",8,9),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("attributes",e.attributes)("selection",e.selected)}}let Yi=(()=>{class i{constructor(e,s,n,o){this.dialog=e,this.attributesManager=s,this.facilityManager=n,this.route=o,this.attributes=[],this.selected=new A.Ov(!0,[]),this.host={beanName:"",id:0},this.tableId=E.rF}ngOnInit(){this.route.params.subscribe(e=>{this.hostId=e.hostId,this.facilityManager.getHostById(this.hostId).subscribe(s=>{this.host=s}),this.refreshTable()})}refreshTable(){this.loading=!0,this.attributesManager.getHostAttributes(this.hostId).subscribe(e=>{this.attributes=(0,d.MX)(e),this.selected.clear(),this.loading=!1})}onSave(){this.list.updateMapAttributes();const e=(0,d.kZ)();e.width="450px",e.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected},this.dialog.open(q.wA,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}addAttribute(){const e=(0,d.kZ)();e.width="1050px",e.data={entityId:this.hostId,entity:"host",notEmptyAttributes:this.attributes,style:"facility-theme"},this.dialog.open(Ni.n,e).afterClosed().subscribe(n=>{"saved"===n&&this.refreshTable()})}removeAttribute(){const e=(0,d.kZ)();e.width="450px",e.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected,theme:"facility-theme"},this.dialog.open(Oi.k,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.uw),t.Y36(f.H8),t.Y36(f.IQ),t.Y36(y.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-hosts-detail"]],viewQuery:function(e,s){if(1&e&&t.Gf(ki,5),2&e){let n;t.iGM(n=t.CRH())&&(s.list=n.first)}},decls:16,vars:17,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","attributes","selection",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","attributes","selection"],["list",""]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.TgZ(5,"button",2),t.NdJ("click",function(){return s.addAttribute()}),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"button",3),t.NdJ("click",function(){return s.onSave()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"button",4),t.NdJ("click",function(){return s.removeAttribute()}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.YNc(14,wi,1,0,"mat-spinner",5),t.YNc(15,Ui,2,3,"perun-web-apps-attributes-list",6),t.qZA()),2&e&&(t.xp6(2),t.AsE(" ",t.lcZ(3,9,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.TITLE")," ",s.host.hostname," "),t.xp6(4),t.hij(" ",t.lcZ(7,11,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.ADD")," "),t.xp6(2),t.Q6J("disabled",0===s.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(10,13,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.SAVE")," "),t.xp6(2),t.Q6J("disabled",0===s.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(13,15,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.REMOVE")," "),t.xp6(2),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,S.lW,m.O5,T.$g,rt.p],pipes:[h.X$],styles:[""]}),i})();function Mi(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"th",15),t.TgZ(1,"mat-checkbox",16),t.NdJ("change",function(n){t.CHM(e);const o=t.oxw();return n?o.masterToggle():null}),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function Ji(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",17),t.TgZ(1,"mat-checkbox",18),t.NdJ("change",function(n){const r=t.CHM(e).$implicit,p=t.oxw();return n?p.selection.toggle(r):null})("click",function(n){return n.stopPropagation()}),t.qZA(),t.qZA()}if(2&i){const e=a.$implicit,s=t.oxw();t.xp6(1),t.Q6J("aria-label",s.checkboxLabel(e))("checked",s.selection.isSelected(e))}}function qi(i,a){1&i&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.ID")," "))}function Hi(i,a){if(1&i&&(t.TgZ(0,"td",20),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e.id," ")}}function Qi(i,a){1&i&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NAME")," "))}function Pi(i,a){if(1&i&&(t.TgZ(0,"td",21),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.name)}}function Vi(i,a){1&i&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.DESCRIPTION")," "))}function Gi(i,a){if(1&i&&(t.TgZ(0,"td",21),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.description)}}function Bi(i,a){1&i&&t._UZ(0,"tr",22)}function ji(i,a){1&i&&t._UZ(0,"tr",23)}function $i(i,a){1&i&&(t.TgZ(0,"app-alert",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function zi(i,a){1&i&&(t.TgZ(0,"app-alert",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NO_SECURITY_TEAMS_WARNING"),"\n"))}let Wi=(()=>{class i{constructor(e,s){this.authResolver=e,this.tableCheckbox=s,this.securityTeams=[],this.selection=new A.Ov(!0,[]),this.displayedColumns=["select","id","name","description"],this.pageSizeOptions=d.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new l.by(this.securityTeams),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,s){switch(s){case"id":return e.id.toString();case"name":return e.name;case"description":return e.description;default:return""}}exportData(e){(0,d.O6)((0,d.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,s)=>(0,d.Sd)(e,s,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,s)=>(0,d.pR)(e,s,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(_.x4),t.Y36(_.UA))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-security-teams-list"]],viewQuery:function(e,s){if(1&e&&(t.Gf(I.YE,7),t.Gf(d.l9,7)),2&e){let n;t.iGM(n=t.CRH())&&(s.matSort=n.first),t.iGM(n=t.CRH())&&(s.child=n.first)}},inputs:{securityTeams:"securityTeams",selection:"selection",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns"},features:[t.TTD],decls:19,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,s){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(o){return s.exportData(o)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,Mi,2,3,"th",4),t.YNc(5,Ji,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,qi,3,3,"th",7),t.YNc(8,Hi,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,Qi,3,3,"th",7),t.YNc(11,Pi,2,1,"td",10),t.BQk(),t.ynx(12,11),t.YNc(13,Vi,3,3,"th",7),t.YNc(14,Gi,2,1,"td",10),t.BQk(),t.YNc(15,Bi,1,0,"tr",12),t.YNc(16,ji,1,0,"tr",13),t.qZA(),t.qZA(),t.qZA(),t.YNc(17,$i,3,3,"app-alert",14),t.YNc(18,zi,3,3,"app-alert",14)),2&e&&(t.Q6J("hidden",0===s.dataSource.filteredData.length||0===s.securityTeams.length),t.xp6(1),t.Q6J("tableId",s.tableId)("dataLength",s.dataSource.filteredData.length)("pageSizeOptions",s.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",s.dataSource),t.xp6(13),t.Q6J("matHeaderRowDef",s.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",s.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===s.dataSource.filteredData.length&&0!==s.securityTeams.length),t.xp6(1),t.Q6J("ngIf",0===s.securityTeams.length))},directives:[N.l,l.BZ,I.YE,l.w1,l.fO,l.ge,D.oG,l.Dz,l.ev,I.nU,l.as,l.XQ,l.nj,l.Gk,m.O5,R.w],pipes:[h.X$],styles:[""]}),i})();function Xi(i,a){1&i&&t._UZ(0,"mat-spinner",5)}function Ki(i,a){if(1&i&&t._UZ(0,"app-security-teams-list",6),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("securityTeams",e.securityTeams)("displayedColumns",e.displayedColumns)("selection",e.selected)}}let ts=(()=>{class i{constructor(e,s,n,o){this.dialog=e,this.facilitiesManager=s,this.authResolver=n,this.entityStorageService=o,this.securityTeams=[],this.selected=new A.Ov(!0,[]),this.filterValue="",this.tableId=E.O9,this.displayedColumns=[]}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.refreshTable()}refreshTable(){this.loading=!0,this.facilitiesManager.getAssignedSecurityTeams(this.facility.id).subscribe(e=>{this.securityTeams=e,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("assignSecurityTeam_Facility_SecurityTeam_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeSecurityTeam_Facility_SecurityTeam_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","description"]:["id","name","description"]}applyFilter(e){this.filterValue=e}addSecurityTeam(){}removeSecurityTeam(){}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.uw),t.Y36(f.IQ),t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-security-teams"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","securityTeams","displayedColumns","selection",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","securityTeams","displayedColumns","selection"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.qZA(),t.YNc(6,Xi,1,0,"mat-spinner",3),t.YNc(7,Ki,1,5,"app-security-teams-list",4),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,4,"FACILITY_DETAIL.SECURITY_TEAMS.TITLE")),t.xp6(3),t.Q6J("placeholder","FACILITY_DETAIL.SECURITY_TEAMS.FILTER"),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,Z.L,m.O5,T.$g,Wi],pipes:[h.X$],styles:[""]}),i})();var es=c(20057),is=c(49546);function ss(i,a){1&i&&t._UZ(0,"mat-spinner",6)}function as(i,a){1&i&&(t.TgZ(0,"th",17),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.RESULT_ID")," "))}function ns(i,a){if(1&i&&(t.TgZ(0,"td",18),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.id)}}function os(i,a){1&i&&(t.TgZ(0,"th",17),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.DESTINATION")," "))}function ls(i,a){if(1&i&&(t.TgZ(0,"td",18),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.destination.destination)}}function cs(i,a){1&i&&(t.TgZ(0,"th",17),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.TIME")))}function rs(i,a){if(1&i&&(t.TgZ(0,"td",18),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.timestamp,"d.M.y H:mm:ss")," ")}}function us(i,a){1&i&&t._UZ(0,"tr",19)}function ds(i,a){1&i&&t._UZ(0,"tr",20)}function ps(i,a){if(1&i&&(t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,as,3,3,"th",11),t.YNc(10,ns,2,1,"td",12),t.BQk(),t.ynx(11,13),t.YNc(12,os,3,3,"th",11),t.YNc(13,ls,2,1,"td",12),t.BQk(),t.ynx(14,14),t.YNc(15,cs,3,3,"th",11),t.YNc(16,rs,3,4,"td",12),t.BQk(),t.YNc(17,us,1,0,"tr",15),t.YNc(18,ds,1,0,"tr",16),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,5,"DIALOGS.DELETE_TASK_RESULT.DESCRIPTION")),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.DELETE_TASK_RESULT.ASK")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(10),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let ut=(()=>{class i{constructor(e,s,n,o,r){this.dialogRef=e,this.data=s,this.taskManager=n,this.notificator=o,this.translate=r,this.loading=!1,this.dataSource=new l.by(this.data.taskResults),this.displayedColumns=["id","destination","time"]}ngOnInit(){this.theme=this.data.theme,this.taskResults=this.data.taskResults}deleteResults(){if(this.loading=!0,0===this.taskResults.length)return this.dialogRef.close(!0),this.loading=!1,void this.notificator.showSuccess(this.translate.instant("DIALOGS.DELETE_TASK_RESULT.SUCCESS"));this.taskManager.deleteTaskResultById({taskResultId:this.taskResults.pop().id}).subscribe(()=>{this.deleteResults()},()=>this.loading=!1)}onDelete(){this.deleteResults()}onCancel(){this.dialogRef.close(!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(f.Ob),t.Y36(_.V6),t.Y36(h.sK))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-delete-task-result-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","destination"],["matColumnDef","time"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,ss,1,0,"mat-spinner",1),t.YNc(5,ps,19,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return s.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return s.onDelete()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,9,"DIALOGS.DELETE_TASK_RESULT.TITLE")),t.xp6(2),t.Tol(s.theme),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.DELETE_TASK_RESULT.CANCEL")," "),t.xp6(2),t.Q6J("disabled",s.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.DELETE_TASK_RESULT.REMOVE")," "))},directives:[u.uh,m.O5,T.$g,u.xY,l.BZ,l.w1,l.fO,l.ge,l.Dz,l.ev,l.as,l.XQ,l.nj,l.Gk,u.H8,S.lW],pipes:[h.X$,m.uU],styles:[""]}),i})();var _s=c(62109);function ms(i,a){1&i&&t._UZ(0,"mat-spinner",6)}function hs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-checkbox",13),t.NdJ("change",function(n){return t.CHM(e),t.oxw(2).change(n)}),t.ALo(1,"translate"),t._uU(2),t.ALo(3,"translate"),t.qZA()}if(2&i){const e=t.oxw(2);t.s9C("matTooltip",t.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),t.Q6J("matTooltipDisabled",!e.checkboxesDisabled)("disabled",e.checkboxesDisabled)("checked",e.taskChecked),t.xp6(2),t.hij(" ",t.lcZ(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_AND_TASK_RESULTS")," ")}}function fs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-checkbox",14),t.NdJ("change",function(n){return t.CHM(e),t.oxw(2).change(n)}),t.ALo(1,"translate"),t._uU(2),t.ALo(3,"translate"),t.qZA()}if(2&i){const e=t.oxw(2);t.s9C("matTooltip",t.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),t.Q6J("matTooltipDisabled",!e.checkboxesDisabled)("disabled",e.checkboxesDisabled)("checked",e.taskResultsChecked),t.xp6(2),t.hij(" ",t.lcZ(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_RESULTS")," ")}}function gs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"perun-web-apps-resources-list",15),t.NdJ("allSelected",function(n){return t.CHM(e),t.oxw(2).disableCheckboxes(n)}),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("tableId",e.tableId)("disableRouting",!0)("resources",e.resources)("selection",e.selected)("displayedColumns",e.displayedColumns)}}function Ts(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div"),t.YNc(5,hs,4,9,"mat-checkbox",8),t.YNc(6,fs,4,9,"mat-checkbox",9),t.TgZ(7,"mat-checkbox",10),t.NdJ("change",function(n){return t.CHM(e),t.oxw().change(n)}),t.ALo(8,"translate"),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.qZA(),t.TgZ(11,"p"),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"div",11),t._uU(15),t.ALo(16,"translate"),t.qZA(),t.YNc(17,gs,1,5,"perun-web-apps-resources-list",12),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DESCRIPTION")),t.xp6(3),t.Q6J("ngIf",null!==e.taskId),t.xp6(1),t.Q6J("ngIf",null!==e.taskId),t.xp6(1),t.s9C("matTooltip",t.lcZ(8,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),t.Q6J("matTooltipDisabled",!e.checkboxesDisabled)("disabled",e.checkboxesDisabled)("checked",e.destinationChecked),t.xp6(2),t.hij(" ",t.lcZ(10,15,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_DESTINATION")," "),t.xp6(3),t.Oqu(t.lcZ(13,17,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.DESCRIPTION")),t.xp6(3),t.hij(" ",t.lcZ(16,19,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.ASK")," "),t.xp6(2),t.Q6J("ngIf",!e.loading)}}let Ss=(()=>{class i{constructor(e,s,n,o,r,p,C,v){this.dialogRef=e,this.data=s,this.resourcesManager=n,this.tasksManager=o,this.serviceManager=r,this.translate=p,this.notificator=C,this.cd=v,this.loading=!1,this.dataSource=new l.by(this.data.resource),this.selected=new A.Ov(!0,[...this.dataSource.data]),this.resources=[],this.displayedColumns=["select","id","vo","name"],this.checkboxesDisabled=!1,this.taskChecked=!0,this.taskResultsChecked=!0,this.destinationChecked=!0,this.tableId=E.$V}ngOnInit(){this.theme=this.data.theme,this.taskId=this.data.taskId,this.serviceId=this.data.serviceId,this.facilityId=this.data.facilityId,this.resources=this.data.resource}remove(){this.loading=!0,this.taskResultsChecked&&!this.taskChecked&&null!==this.taskId&&this.tasksManager.getTaskResultsForGUIByTask(this.taskId).subscribe(e=>{e.forEach(s=>{this.tasksManager.deleteTaskResultById({taskResultId:s.id}).subscribe()})}),this.taskChecked&&null!==this.taskId&&this.tasksManager.deleteTask({task:this.taskId}).subscribe(),this.destinationChecked&&this.serviceManager.getDestinations(this.serviceId,this.facilityId).subscribe(e=>{e.forEach(s=>{this.serviceManager.removeDestination(this.serviceId,this.facilityId,s.destination,s.type).subscribe()})}),this.selected.selected.forEach(e=>{this.resourcesManager.removeService(e.id,this.serviceId).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_SERVICE_FROM_FACILITY.SUCCESS").subscribe(s=>{this.notificator.showSuccess(s),this.dialogRef.close(!0)})},()=>this.loading=!1)})}cancel(){this.dialogRef.close(!1)}disableCheckboxes(e){e&&this.checkboxesDisabled&&this.changeCheckboxes(!0),!e&&!this.checkboxesDisabled&&this.changeCheckboxes(!1)}changeCheckboxes(e){this.checkboxesDisabled=!e,this.taskChecked=e,this.taskResultsChecked=e,this.destinationChecked=e,this.cd.detectChanges()}change(e){switch(e.source.id){case"task":this.taskChecked=e.checked;break;case"taskResults":this.taskResultsChecked=e.checked;break;case"destination":this.destinationChecked=e.checked}}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(f.xk),t.Y36(f.Ob),t.Y36(f.KK),t.Y36(h.sK),t.Y36(_.V6),t.Y36(t.sBO))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-delete-service-from-facility"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["id","task","class","right-space","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change",4,"ngIf"],["id","taskResults","class","right-space","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change",4,"ngIf"],["id","destination","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],[1,"font-weight-bold"],[3,"tableId","disableRouting","resources","selection","displayedColumns","allSelected",4,"ngIf"],["id","task","color","warn",1,"right-space",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],["id","taskResults","color","warn",1,"right-space",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],[3,"tableId","disableRouting","resources","selection","displayedColumns","allSelected"]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,ms,1,0,"mat-spinner",1),t.YNc(5,Ts,18,21,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return s.cancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return s.remove()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,9,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.TITLE")),t.xp6(2),t.Tol(s.theme),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CANCEL")," "),t.xp6(2),t.Q6J("disabled",s.loading||0===s.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.REMOVE")," "))},directives:[u.uh,m.O5,T.$g,u.xY,D.oG,H.gM,_s.C,u.H8,S.lW],pipes:[h.X$],styles:[".right-space[_ngcontent-%COMP%]{margin-right:40px}"]}),i})();function Cs(i,a){1&i&&t._UZ(0,"mat-spinner",6)}function As(i,a){1&i&&(t.TgZ(0,"div",7),t.TgZ(1,"div",8),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.qZA()),2&i&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"DIALOGS.DELETE_TASK.DESCRIPTION")," "))}let Is=(()=>{class i{constructor(e,s,n,o,r){this.dialogRef=e,this.data=s,this.tasksManager=n,this.translate=o,this.notificator=r,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.taskId=this.data.taskId}remove(){this.loading=!0,this.tasksManager.deleteTask({task:this.taskId}).subscribe(()=>{this.translate.get("DIALOGS.DELETE_TASK.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)})},()=>this.loading=!1)}cancel(){this.dialogRef.close(!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(f.Ob),t.Y36(h.sK),t.Y36(_.V6))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-delete-task-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,Cs,1,0,"mat-spinner",1),t.YNc(5,As,4,3,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return s.cancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return s.remove()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,9,"DIALOGS.DELETE_TASK.TITLE")),t.xp6(2),t.Tol(s.theme),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.DELETE_TASK.CANCEL")," "),t.xp6(2),t.Q6J("disabled",s.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.DELETE_TASK.DELETE")," "))},directives:[u.uh,m.O5,T.$g,u.xY,u.H8,S.lW],pipes:[h.X$],styles:[""]}),i})();var B=c(92181);let vs=(()=>{class i{transform(e){return e.blockedOnFacility?"BLOCKED":e.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED"}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=t.Yjl({name:"serviceStateBlockedToString",type:i,pure:!0}),i})();function bs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"th",18),t.TgZ(1,"mat-checkbox",19),t.NdJ("change",function(n){t.CHM(e);const o=t.oxw();return n&&o.masterToggle(),o.selectionChange.emit()}),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())("aria-label",e.checkboxLabel())}}function ys(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",20),t.TgZ(1,"mat-checkbox",21),t.NdJ("click",function(n){return n.stopPropagation()})("change",function(n){const r=t.CHM(e).$implicit,p=t.oxw();return n&&p.selection.toggle(r),p.selectionChange.emit()}),t.qZA(),t.qZA()}if(2&i){const e=a.$implicit,s=t.oxw();t.xp6(1),t.Q6J("checked",s.selection.isSelected(e))("aria-label",s.checkboxLabel(e))}}function Es(i,a){1&i&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TASK_ID")," "))}function xs(i,a){if(1&i&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Oqu(e.task.id)}}function Zs(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"0"),t.qZA())}function Ls(i,a){if(1&i&&(t.TgZ(0,"td",23),t.YNc(1,xs,2,1,"div",24),t.YNc(2,Zs,2,0,"div",24),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngIf",e.task),t.xp6(1),t.Q6J("ngIf",!e.task)}}function Ds(i,a){1&i&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.SERVICE_NAME")," "))}function Rs(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.service.name)}}function Fs(i,a){1&i&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.STATUS")," "))}function Os(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.status)}}function Ns(i,a){1&i&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.BLOCKED")," "))}function ks(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.ALo(2,"serviceStateBlockedToString"),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,e)," ")}}function ws(i,a){1&i&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.STARTED")," "))}function Us(i,a){if(1&i&&(t.TgZ(0,"div"),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.task.startTime,"d.M.y H:mm:ss")," ")}}function Ys(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NOT_YET")," "))}function Ms(i,a){if(1&i&&(t.TgZ(0,"td",25),t.YNc(1,Us,3,4,"div",24),t.YNc(2,Ys,3,3,"div",24),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngIf",e.task&&e.task.startTime),t.xp6(1),t.Q6J("ngIf",!e.task||!e.task.startTime)}}function Js(i,a){1&i&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.ENDED")," "))}function qs(i,a){if(1&i&&(t.TgZ(0,"div"),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.task.endTime,"d.M.y H:mm:ss")," ")}}function Hs(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NOT_YET")," "))}function Qs(i,a){if(1&i&&(t.TgZ(0,"td",25),t.YNc(1,qs,3,4,"div",24),t.YNc(2,Hs,3,3,"div",24),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngIf",e.task&&e.task.endTime),t.xp6(1),t.Q6J("ngIf",!e.task||!e.task.endTime)}}function Ps(i,a){1&i&&t._UZ(0,"tr",26)}const dt=function(i,a){return["/facilities",i,"services-status",a]};function Vs(i,a){if(1&i&&t._UZ(0,"tr",27),2&i){const e=a.$implicit,s=t.oxw();t.ekj("disable-outline",s.disableRouting||!e.task)("make-yellow","WARNING"===e.status)("make-green","DONE"===e.status)("make-red","GENERROR"===e.status||"SENDERROR"===e.status||"ERROR"===e.status)("cursor-pointer",!s.disableRouting&&null!==e.task),t.Q6J("routerLink",s.disableRouting||null===e.task?null:t.WLB(12,dt,e.facility.id,e.taskId))("perunWebAppsMiddleClickRouterLink",s.disableRouting||null===e.task?null:t.WLB(15,dt,e.facility.id,e.taskId))}}function Gs(i,a){1&i&&(t.TgZ(0,"app-alert",28),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Bs(i,a){1&i&&(t.TgZ(0,"app-alert",28),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NO_SERVICES_STATUS_WARNING"),"\n"))}let js=(()=>{class i{constructor(e,s){this.authResolver=e,this.tableCheckbox=s,this.servicesStatus=[],this.displayedColumns=["select","task.id","service.name","status","blocked","task.startTime","task.endTime"],this.selection=new A.Ov(!0,[]),this.disableRouting=!0,this.selectionChange=new t.vpe,this.pageSizeOptions=d.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"task.id"!==e)),this.dataSource=new l.by(this.servicesStatus),this.setDataSource(),this.dataSource.filterPredicate=(e,s)=>{const n=s.trim().toLowerCase(),o=r=>{let p="";return Object.values(r).forEach(C=>{"object"!=typeof C?p=p+" "+C:null!==C&&(p=p+" "+o(C))}),p.trim().toLowerCase()};return o(e).includes(n)},this.dataSource.filter=this.filterValue}getDataForColumn(e,s){switch(s){case"task.id":return e.task?e.task.id.toString():e[s];case"service.name":return e.service.name;case"status":return e.status;case"blocked":return e.blockedOnFacility?"BLOCKED":e.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED";case"task.startTime":return e.task&&e.task.startTime?(0,m.p6)(e.task.startTime,"d.M.y H:mm:ss","en"):e[s];case"task.endTime":return e.task&&e.task.endTime?(0,m.p6)(e.task.endTime,"d.M.y H:mm:ss","en"):e[s];default:return e[s]}}getSortDataForColumn(e,s){switch(s){case"task.id":return e.task?e.task.id.toString():e[s];case"service.name":return e.service.name;case"status":return e.status;case"blocked":return e.blockedOnFacility?"BLOCKED":e.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED";case"task.startTime":return e.task&&e.task.startTime?(0,m.p6)(e.task.startTime,"yyyy.MM.dd HH:mm:ss","en"):e[s];case"task.endTime":return e.task&&e.task.endTime?(0,m.p6)(e.task.endTime,"yyyy.MM.dd HH:mm:ss","en"):e[s];default:return e[s]}}exportData(e){(0,d.O6)((0,d.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,s)=>(0,d.Sd)(e,s,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,s)=>(0,d.pR)(e,s,this.getSortDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.service.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(_.x4),t.Y36(_.UA))},i.\u0275cmp=t.Xpm({type:i,selectors:[["perun-web-apps-services-status-list"]],viewQuery:function(e,s){if(1&e&&(t.Gf(I.YE,7),t.Gf(d.l9,7)),2&e){let n;t.iGM(n=t.CRH())&&(s.matSort=n.first),t.iGM(n=t.CRH())&&(s.child=n.first)}},inputs:{servicesStatus:"servicesStatus",displayedColumns:"displayedColumns",selection:"selection",filterValue:"filterValue",tableId:"tableId",disableRouting:"disableRouting"},outputs:{selectionChange:"selectionChange"},features:[t.TTD],decls:28,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","service.name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size align-checkbox",4,"matCellDef"],["matColumnDef","task.id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","service.name"],["mat-cell","",4,"matCellDef"],["matColumnDef","status"],["matColumnDef","blocked"],["matColumnDef","task.startTime"],["matColumnDef","task.endTime"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item",3,"disable-outline","make-yellow","make-green","make-red","cursor-pointer","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"checked","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],[4,"ngIf"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(e,s){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(o){return s.exportData(o)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,bs,2,3,"th",4),t.YNc(5,ys,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,Es,3,3,"th",7),t.YNc(8,Ls,3,2,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,Ds,3,3,"th",7),t.YNc(11,Rs,2,1,"td",10),t.BQk(),t.ynx(12,11),t.YNc(13,Fs,3,3,"th",7),t.YNc(14,Os,2,1,"td",10),t.BQk(),t.ynx(15,12),t.YNc(16,Ns,3,3,"th",7),t.YNc(17,ks,3,3,"td",10),t.BQk(),t.ynx(18,13),t.YNc(19,ws,3,3,"th",7),t.YNc(20,Ms,3,2,"td",10),t.BQk(),t.ynx(21,14),t.YNc(22,Js,3,3,"th",7),t.YNc(23,Qs,3,2,"td",10),t.BQk(),t.YNc(24,Ps,1,0,"tr",15),t.YNc(25,Vs,1,18,"tr",16),t.qZA(),t.qZA(),t.qZA(),t.YNc(26,Gs,3,3,"app-alert",17),t.YNc(27,Bs,3,3,"app-alert",17)),2&e&&(t.Q6J("hidden",0===s.dataSource.filteredData.length||0===s.servicesStatus.length),t.xp6(1),t.Q6J("tableId",s.tableId)("dataLength",s.dataSource.filteredData.length)("pageSizeOptions",s.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",s.dataSource),t.xp6(22),t.Q6J("matHeaderRowDef",s.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",s.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===s.dataSource.filteredData.length&&0!==s.servicesStatus.length),t.xp6(1),t.Q6J("ngIf",0===s.servicesStatus.length))},directives:[N.l,l.BZ,I.YE,l.w1,l.fO,l.ge,D.oG,l.Dz,l.ev,I.nU,m.O5,l.as,l.XQ,l.nj,l.Gk,y.rH,G.YH,R.w],pipes:[h.X$,vs,m.uU],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.make-green[_ngcontent-%COMP%]{background-color:#c4ffcb}.make-yellow[_ngcontent-%COMP%]{background-color:#fffde7}.make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),i})();function $s(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().forcePropagation()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.FORCE_PROPAGATION")," ")}}function zs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().allow()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length||e.disableAllowButton),t.xp6(1),t.hij(" ",t.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.ALLOW")," ")}}function Ws(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw().block()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length||e.disableBlockButton),t.xp6(1),t.hij(" ",t.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.BLOCK")," ")}}function Xs(i,a){if(1&i&&(t.TgZ(0,"button",13),t.ALo(1,"translate"),t._uU(2),t.ALo(3,"translate"),t.qZA()),2&i){const e=t.oxw(),s=t.MAs(10);t.s9C("matTooltip",t.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),t.Q6J("matTooltipDisabled",!e.disableRemoveButton)("disabled",e.disableRemoveButton)("matMenuTriggerFor",s),t.xp6(2),t.hij(" ",t.lcZ(3,7,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE")," ")}}function Ks(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().removeTaskResults()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_TASK_RESULTS")," "))}function ta(i,a){1&i&&t._UZ(0,"mat-spinner",14)}function ea(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"perun-web-apps-services-status-list",15),t.NdJ("selectionChange",function(){return t.CHM(e),t.oxw().selectionChanged()}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("servicesStatus",e.servicesStates)("selection",e.selected)("disableRouting",!e.routeAuth)}}let ia=(()=>{class i{constructor(e,s,n,o,r,p,C,v,L){this.tasksManager=e,this.servicesManager=s,this.notificator=n,this.translate=o,this.authResolver=r,this.facilityManager=p,this.resourcesManager=C,this.dialog=v,this.entityStorageService=L,this.servicesStates=[],this.selected=new A.Ov(!0,[]),this.filterValue="",this.tableId=E.oK,this.disableAllowButton=!0,this.disableBlockButton=!0,this.disableRemoveButton=!0,o.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_FORCE_PROPAGATION").subscribe(b=>this.successFPMessage=b),o.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_ALLOW").subscribe(b=>this.successAllowMessage=b),o.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_BLOCK").subscribe(b=>this.successBlockMessage=b),o.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_DELETE").subscribe(b=>this.successDeleteMessage=b),o.get("FACILITY_DETAIL.SERVICES_STATUS.ALREADY_DELETED").subscribe(b=>this.allreadyDeletedMessage=b)}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}forcePropagation(){for(const e of this.selected.selected)this.servicesManager.forceServicePropagation(e.service.id,e.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successFPMessage)})}allow(){for(const e of this.selected.selected)this.servicesManager.unblockServiceOnFacility(e.service.id,e.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successAllowMessage)})}block(){for(const e of this.selected.selected)this.servicesManager.blockServiceOnFacility(e.service.id,e.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successBlockMessage)})}removeTaskResults(){this.tasksManager.getTaskResultsForGUIByTask(this.selected.selected[0].task.id).subscribe(e=>{const s=(0,d.kZ)();s.width="600px",s.data={theme:"facility-theme",taskResults:e},this.dialog.open(ut,s)})}removeServiceFromFacility(){this.facilityManager.getAssignedResourcesByAssignedServiceForFacility(this.selected.selected[0].facility.id,this.selected.selected[0].service.id).subscribe(e=>{const s=(0,d.kZ)();s.width="600px",this.taskId=this.taskIsNull?null:this.selected.selected[0].task.id,0===e.length?(s.data={theme:"facility-theme",taskId:this.taskId},this.dialog.open(Is,s).afterClosed().subscribe(o=>{o&&(this.disableRemoveButton=!0,this.refreshTable())})):this.resourcesManager.getRichResourcesByIds(e.map(n=>n.id)).subscribe(n=>{s.data={theme:"facility-theme",taskId:this.taskId,serviceId:this.selected.selected[0].service.id,facilityId:this.selected.selected[0].facility.id,resource:n},this.dialog.open(Ss,s).afterClosed().subscribe(r=>{r&&(this.disableRemoveButton=!0,this.refreshTable())})})})}refreshTable(){this.loading=!0,this.tasksManager.getFacilityServicesState(this.facility.id).subscribe(e=>{this.servicesStates=e,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.propagationAuth=this.authResolver.isAuthorized("forceServicePropagation_Facility_Service_policy",[this.facility]),this.blockAuth=this.authResolver.isAuthorized("blockServiceOnFacility_Service_Facility_policy",[this.facility]),this.allowAuth=this.authResolver.isAuthorized("unblockServiceOnFacility_Service_Facility_policy",[this.facility]),this.deleteAuth=this.authResolver.isAuthorized("deleteTask_Task_policy",[this.facility]),this.routeAuth=this.authResolver.isAuthorized("getTaskResultsByTask_int_policy",[this.facility])}applyFilter(e){this.filterValue=e}selectionChanged(){this.disableBlockButton=!0,this.disableAllowButton=!0,this.disableRemoveButton=1!==this.selected.selected.length,this.disableRemoveButton||(this.taskIsNull=null===this.selected.selected[0].task);for(const e of this.selected.selected)e.blockedOnFacility?this.disableAllowButton=!1:this.disableBlockButton=!1}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.Ob),t.Y36(f.KK),t.Y36(_.V6),t.Y36(h.sK),t.Y36(_.x4),t.Y36(f.IQ),t.Y36(f.xk),t.Y36(u.uw),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-service-status"]],decls:18,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2 dropdown-toggle",3,"matTooltip","matTooltipDisabled","disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","servicesStatus","selection","disableRouting","selectionChange",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mr-2","dropdown-toggle",3,"matTooltip","matTooltipDisabled","disabled","matMenuTriggerFor"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","servicesStatus","selection","disableRouting","selectionChange"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.YNc(5,$s,3,4,"button",2),t.YNc(6,zs,3,4,"button",2),t.YNc(7,Ws,3,4,"button",3),t.YNc(8,Xs,4,9,"button",4),t.TgZ(9,"mat-menu",null,5),t.YNc(11,Ks,3,3,"button",6),t.TgZ(12,"button",7),t.NdJ("click",function(){return s.removeServiceFromFacility()}),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.qZA(),t.TgZ(15,"perun-web-apps-immediate-filter",8),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.qZA(),t.YNc(16,ta,1,0,"mat-spinner",9),t.YNc(17,ea,1,5,"perun-web-apps-services-status-list",10),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,10,"FACILITY_DETAIL.SERVICES_STATUS.TITLE")),t.xp6(3),t.Q6J("ngIf",s.propagationAuth),t.xp6(1),t.Q6J("ngIf",s.allowAuth),t.xp6(1),t.Q6J("ngIf",s.blockAuth),t.xp6(1),t.Q6J("ngIf",s.deleteAuth),t.xp6(3),t.Q6J("ngIf",!s.taskIsNull),t.xp6(2),t.hij(" ",t.lcZ(14,12,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_SERVICE_FROM_FACILITY")," "),t.xp6(2),t.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TABLE_SEARCH"),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,m.O5,S.lW,H.gM,B.p6,B.VK,B.OP,Z.L,T.$g,js],pipes:[h.X$],styles:[""]}),i})();var pt=c(64080),sa=c(64901);let aa=(()=>{class i{constructor(){this.changeAdvancedFilter=new t.vpe,this.clearFilters=new t.vpe}ngOnInit(){this.changeAdvancedFilter.emit(this.advancedFilter)}toggleAdvancedFilter(){this.advancedFilter=!this.advancedFilter,this.changeAdvancedFilter.emit(this.advancedFilter)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["perun-web-apps-advanced-filter"]],inputs:{filtersCount:"filtersCount",advancedFilter:"advancedFilter"},outputs:{changeAdvancedFilter:"changeAdvancedFilter",clearFilters:"clearFilters"},decls:12,vars:11,consts:[["mat-stroked-button","",3,"click"]],template:function(e,s){1&e&&(t.TgZ(0,"button",0),t.NdJ("click",function(){return s.toggleAdvancedFilter()}),t.TgZ(1,"mat-icon"),t._uU(2,"filter_list"),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.TgZ(5,"mat-icon"),t._uU(6),t.qZA(),t.qZA(),t.TgZ(7,"button",0),t.NdJ("click",function(){return s.clearFilters.emit()}),t.TgZ(8,"mat-icon"),t._uU(9,"filter_list_off"),t.qZA(),t._uU(10),t.ALo(11,"translate"),t.qZA()),2&e&&(t.Gre("mr-2 ",s.filtersCount?"grey":"no-color",""),t.xp6(3),t.AsE(" ",t.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.ADVANCED_FILTER.FILTERS")," ",s.filtersCount?"("+s.filtersCount+")":null," "),t.xp6(3),t.Oqu(s.advancedFilter?"arrow_drop_up":"arrow_drop_down"),t.xp6(4),t.hij(" ",t.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.ADVANCED_FILTER.CLEAR_FILTERS"),"\n"))},directives:[S.lW,F.Hw],pipes:[h.X$],styles:[".grey[_ngcontent-%COMP%]{color:#fff;background-color:gray}.no-color[_ngcontent-%COMP%]{color:#000;background-color:transparent}"]}),i})();var na=c(32368),oa=c(62707),la=c(45703),ca=c(42377);let _t=(()=>{class i{constructor(){this.service=null,this.multiple=!1,this.disableAutoSelect=!1,this.theme="",this.serviceSelected=new t.vpe,this.nameFunction=e=>e.name,this.secondaryFunction=()=>"",this.searchFunction=e=>e.name}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["perun-web-apps-service-search-select"]],inputs:{service:"service",services:"services",multiple:"multiple",disableAutoSelect:"disableAutoSelect",theme:"theme"},outputs:{serviceSelected:"serviceSelected"},decls:4,vars:17,consts:[[3,"entity","entities","multiple","disableAutoSelect","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","theme","entitySelected"]],template:function(e,s){1&e&&(t.TgZ(0,"perun-web-apps-entity-search-select",0),t.NdJ("entitySelected",function(o){return s.serviceSelected.emit(o)}),t.ALo(1,"translate"),t.ALo(2,"translate"),t.ALo(3,"translate"),t.qZA()),2&e&&t.Q6J("entity",s.service)("entities",s.services)("multiple",s.multiple)("disableAutoSelect",s.disableAutoSelect)("searchFunction",s.searchFunction)("mainTextFunction",s.nameFunction)("secondaryTextFunction",s.secondaryFunction)("selectPlaceholder",t.lcZ(1,11,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_SEARCH_SELECT.SELECT_SERVICE"))("findPlaceholder",t.lcZ(2,13,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_SEARCH_SELECT.FIND_SERVICE"))("noEntriesText",t.lcZ(3,15,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_SEARCH_SELECT.NO_SERVICE_FOUND"))("theme",s.theme)},directives:[ca.i],pipes:[h.X$],styles:[""]}),i})();var ra=c(88561);function ua(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",8),t.TgZ(1,"div",9),t.TgZ(2,"mat-slide-toggle",10),t.NdJ("ngModelChange",function(n){return t.CHM(e),t.oxw().allowed=n})("change",function(){return t.CHM(e),t.oxw().changeFilter()}),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"span",11),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.qZA(),t.TgZ(8,"div",1),t.TgZ(9,"perun-web-apps-vo-search-select",12),t.NdJ("voSelected",function(n){return t.CHM(e),t.oxw().voSelected(n)}),t.qZA(),t.TgZ(10,"perun-web-apps-resource-search-select",13),t.NdJ("resourceSelected",function(n){return t.CHM(e),t.oxw().resourceSelected(n)}),t.qZA(),t.TgZ(11,"perun-web-apps-service-search-select",14),t.NdJ("serviceSelected",function(n){return t.CHM(e),t.oxw().serviceSelected(n)}),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.Q6J("ngModel",e.allowed),t.xp6(1),t.hij(" ",t.lcZ(4,10,"FACILITY_DETAIL.ALLOWED_USERS.FILTER_ALLOWED")," "),t.xp6(3),t.Oqu(t.lcZ(7,12,e.toggle_messages[e.allowed?1:0])),t.xp6(3),t.Q6J("vo",e.selectedVo)("vos",e.vos),t.xp6(1),t.Q6J("displayStatus",!1)("resource",e.selectedResource)("resources",e.filteredResources),t.xp6(1),t.Q6J("service",e.selectedService)("services",e.filteredServices)}}function da(i,a){1&i&&t._UZ(0,"mat-spinner",15)}const pa=function(){return["id","name","email","logins","organization"]};function _a(i,a){if(1&i&&t._UZ(0,"perun-web-apps-users-dynamic-list",16),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("searchString",e.filterValue)("displayedColumns",t.DdM(10,pa))("attrNames",e.attributes)("facilityId",e.facility.id)("voId",-1===e.selectedVo.id?null:e.selectedVo.id)("resourceId",-1===e.selectedResource.id?null:e.selectedResource.id)("serviceId",-1===e.selectedService.id?null:e.selectedService.id)("onlyAllowed",e.allowed)("disableRouting",!e.routeAuth)}}let ma=(()=>{class i{constructor(e,s,n,o,r,p){this.facilityService=e,this.serviceService=s,this.resourceService=n,this.authResolver=o,this.storeService=r,this.entityStorageService=p,this.loading=!1,this.filterValue="",this.attributes=[],this.allowed=!0,this.emptyResource={id:-1,beanName:"Resource",name:"No filter"},this.resources=[this.emptyResource],this.filteredResources=[this.emptyResource],this.selectedResource=this.emptyResource,this.emptyVo={id:-1,beanName:"Vo",name:"No filter"},this.vos=[this.emptyVo],this.selectedVo=this.emptyVo,this.emptyService={id:-1,beanName:"Service",name:"No filter"},this.services=[this.emptyService],this.filteredServices=[this.emptyService],this.selectedService=this.emptyService,this.resourceAssignedServices=new Map,this.tableId=E.z6,this.toggle_messages=["FACILITY_DETAIL.ALLOWED_USERS.FILTER_ASSIGNED_MSG","FACILITY_DETAIL.ALLOWED_USERS.FILTER_ALLOWED_MSG"],this.advancedFilter=!1}ngOnInit(){this.loading=!0,this.attributes=[pt.r.USER_DEF_ORGANIZATION,pt.r.USER_DEF_PREFERRED_MAIL],this.attributes=this.attributes.concat(this.storeService.getLoginAttributeNames()),this.facility=this.entityStorageService.getEntity(),this.routeAuth=this.authResolver.isPerunAdminOrObserver(),this.changeFilter(),this.refreshPage()}changeFilter(){this.filtersCount=this.allowed?1:0,-1!==this.selectedVo.id&&(this.filtersCount+=1),-1!==this.selectedResource.id&&(this.filtersCount+=1),-1!==this.selectedService.id&&(this.filtersCount+=1)}clearFilters(){this.allowed=!1,this.selectedVo=this.emptyVo,this.selectedResource=this.emptyResource,this.selectedService=this.emptyService,this.filtersCount=0}refreshPage(){this.loading=!0,this.facilityService.getAssignedResourcesForFacility(this.facility.id).subscribe(e=>{this.resources=[this.emptyResource].concat(e),this.filteredResources=this.resources,this.facilityService.getAllowedVos(this.facility.id).subscribe(s=>{this.vos=[this.emptyVo].concat(s),this.services=[],this.getAssignedServices(this.resources,this.resources.length-1)},()=>this.loading=!1)},()=>this.loading=!1)}getAssignedServices(e,s){if(0===s)return this.services=[this.emptyService].concat(this.services),this.filteredServices=this.services,this.changeFilter(),void(this.loading=!1);this.resourceService.getAssignedServicesToResource(e[s].id).subscribe(n=>{this.services=this.services.concat(n),this.resourceAssignedServices[e[s].id]=n.map(o=>o.id),this.getAssignedServices(e,s-1)},()=>this.loading=!1)}getFilteredServices(e){const s=new Set;return e.forEach(n=>{this.resourceAssignedServices[n.id].forEach(o=>s.add(o))}),[this.emptyService].concat(this.services.filter(n=>s.has(n.id)))}applyFilter(e){this.filterValue=e}voSelected(e){this.selectedVo.id!==e.id&&(this.selectedVo=e,this.selectedResource=this.emptyResource,this.selectedService=this.emptyService,-1===e.id?(this.filteredResources=this.resources,this.filteredServices=this.services):(this.filteredResources=this.resources.filter(s=>s.voId===e.id),this.filteredServices=this.getFilteredServices(this.filteredResources),this.filteredResources=[this.emptyResource].concat(this.filteredResources)),this.changeFilter())}resourceSelected(e){this.selectedResource.id!==e.id&&(this.selectedResource=e,this.selectedService=this.emptyService,this.filteredServices=-1===e.id?this.services:this.getFilteredServices([e]),this.changeFilter())}serviceSelected(e){this.selectedService=e,this.changeFilter()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.IQ),t.Y36(f.KK),t.Y36(f.xk),t.Y36(_.x4),t.Y36(_.d6),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-allowed-users"]],decls:11,vars:9,consts:[[1,"page-subtitle"],[1,"filters"],[1,"mr-2",3,"refresh"],[1,"mr-2","filter",3,"placeholder","filter"],[3,"filtersCount","advancedFilter","changeAdvancedFilter","clearFilters"],["class","advanced-filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","searchString","displayedColumns","attrNames","facilityId","voId","resourceId","serviceId","onlyAllowed","disableRouting",4,"ngIf"],[1,"advanced-filter"],[1,"toggle","filters"],["labelPosition","before",1,"mr-2",3,"ngModel","ngModelChange","change"],[1,"text-muted"],[1,"search-select",3,"vo","vos","voSelected"],[1,"search-select",3,"displayStatus","resource","resources","resourceSelected"],[1,"search-select",3,"service","services","serviceSelected"],[1,"ml-auto","mr-auto"],[3,"tableId","searchString","displayedColumns","attrNames","facilityId","voId","resourceId","serviceId","onlyAllowed","disableRouting"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",1),t.TgZ(5,"perun-web-apps-refresh-button",2),t.NdJ("refresh",function(){return s.refreshPage()}),t.qZA(),t.TgZ(6,"perun-web-apps-debounce-filter",3),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.qZA(),t.TgZ(7,"perun-web-apps-advanced-filter",4),t.NdJ("changeAdvancedFilter",function(o){return s.advancedFilter=o})("clearFilters",function(){return s.clearFilters()}),t.qZA(),t.qZA(),t.YNc(8,ua,12,14,"div",5),t.YNc(9,da,1,0,"mat-spinner",6),t.YNc(10,_a,1,11,"perun-web-apps-users-dynamic-list",7),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,7,"FACILITY_DETAIL.ALLOWED_USERS.TITLE")),t.xp6(4),t.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_USERS.FILTER"),t.xp6(1),t.Q6J("filtersCount",s.filtersCount)("advancedFilter",s.advancedFilter),t.xp6(1),t.Q6J("ngIf",s.advancedFilter),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,sa.P,aa,m.O5,na.Rr,g.JJ,g.On,oa.M,la.L,_t,T.$g,ra.M],pipes:[h.X$],styles:[".filters[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline}.filter[_ngcontent-%COMP%]{min-width:350px}.search-select[_ngcontent-%COMP%]{width:32%;margin-right:20px;margin-top:30px}.toggle[_ngcontent-%COMP%]{display:flex;flex-direction:column}.advanced-filter[_ngcontent-%COMP%]{border:1px solid lightgray;padding:15px}"]}),i})();var ha=c(76023);function fa(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"th",20),t.TgZ(1,"mat-checkbox",21),t.NdJ("change",function(n){t.CHM(e);const o=t.oxw();return n?o.masterToggle():null}),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function ga(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",22),t.TgZ(1,"mat-checkbox",23),t.NdJ("change",function(n){const r=t.CHM(e).$implicit,p=t.oxw();return n?p.selection.toggle(r):null})("click",function(n){return n.stopPropagation()}),t.qZA(),t.qZA()}if(2&i){const e=a.$implicit,s=t.oxw();t.xp6(1),t.Q6J("aria-label",s.checkboxLabel(e))("checked",s.selection.isSelected(e))}}function Ta(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RESULT_ID")," "))}function Sa(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e.id)}}function Ca(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.DESTINATION")," "))}function Aa(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e.destination.destination," ")}}function Ia(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TYPE")," "))}function va(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e.destination.type.toUpperCase()," ")}}function ba(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.SERVICE")," "))}function ya(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e.service.name," ")}}function Ea(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STATUS")," "))}function xa(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e.status," ")}}function Za(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TIME")," "))}function La(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.timestamp,"d.M.y H:mm:ss")," ")}}function Da(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RETURN_CODE")," "))}function Ra(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e.returnCode," ")}}function Fa(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STANDARD_MESSAGE")," "))}function Oa(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t._UZ(2,"br"),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Oqu(e)}}function Na(i,a){if(1&i&&(t.TgZ(0,"td",25),t.YNc(1,Oa,3,1,"span",26),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngForOf",e.standardMessage.split("\n"))}}function ka(i,a){1&i&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.ERROR_MESSAGE")," "))}function wa(i,a){if(1&i&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.hij(" ",e.errorMessage," ")}}function Ua(i,a){1&i&&t._UZ(0,"tr",27)}function Ya(i,a){if(1&i&&t._UZ(0,"tr",28),2&i){const e=a.$implicit;t.ekj("greenTableItem","DONE"===e.status)("redTableItem","ERROR"===e.status||"DENIED"===e.status)("yellowTableItem","WARNING"===e.status)}}function Ma(i,a){1&i&&(t.TgZ(0,"app-alert",29),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Ja(i,a){1&i&&(t.TgZ(0,"app-alert",29),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.NO_RESULTS_WARNING"),"\n"))}let qa=(()=>{class i{constructor(e,s){this.authResolver=e,this.tableCheckbox=s,this.pageSizeOptions=d.f7,this.taskResults=[],this.selection=new A.Ov(!0,[]),this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"]}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new l.by(this.taskResults),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,s){switch(s){case"id":return e.id.toString();case"destination":return e.destination.destination;case"type":return e.destination.type;case"service":return e.service.name;case"status":return e.status;case"time":return(0,m.p6)(e.timestamp.toString(),"d.M.y H:mm:ss","en");case"returnCode":return e.returnCode.toString();case"standardMessage":return e.standardMessage;case"errorMessage":return e.errorMessage;default:return""}}getSortDataForColumn(e,s){switch(s){case"id":return e.id.toString();case"destination":return e.destination.destination;case"type":return e.destination.type;case"service":return e.service.name;case"status":return e.status;case"time":return(0,m.p6)(e.timestamp.toString(),"yyyy.MM.dd HH:mm:ss","en");case"returnCode":return e.returnCode.toString();case"standardMessage":return e.standardMessage;case"errorMessage":return e.errorMessage;default:return""}}exportData(e){(0,d.O6)((0,d.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue,this.dataSource.filterPredicate=(e,s)=>(0,d.Sd)(e,s,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,s)=>(0,d.pR)(e,s,this.getSortDataForColumn,this))}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(_.x4),t.Y36(_.UA))},i.\u0275cmp=t.Xpm({type:i,selectors:[["perun-web-apps-task-results-list"]],viewQuery:function(e,s){if(1&e&&(t.Gf(I.YE,7),t.Gf(d.l9,7)),2&e){let n;t.iGM(n=t.CRH())&&(s.matSort=n.first),t.iGM(n=t.CRH())&&(s.child=n.first)}},inputs:{taskResults:"taskResults",selection:"selection",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns"},features:[t.TTD],decls:37,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","time","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","destination"],["matColumnDef","type"],["matColumnDef","service"],["matColumnDef","status"],["matColumnDef","time"],["matColumnDef","returnCode"],["matColumnDef","standardMessage"],["matColumnDef","errorMessage"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"greenTableItem","redTableItem","yellowTableItem",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],[4,"ngFor","ngForOf"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,s){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(o){return s.exportData(o)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,fa,2,3,"th",4),t.YNc(5,ga,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,Ta,3,3,"th",7),t.YNc(8,Sa,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,Ca,3,3,"th",7),t.YNc(11,Aa,2,1,"td",8),t.BQk(),t.ynx(12,10),t.YNc(13,Ia,3,3,"th",7),t.YNc(14,va,2,1,"td",8),t.BQk(),t.ynx(15,11),t.YNc(16,ba,3,3,"th",7),t.YNc(17,ya,2,1,"td",8),t.BQk(),t.ynx(18,12),t.YNc(19,Ea,3,3,"th",7),t.YNc(20,xa,2,1,"td",8),t.BQk(),t.ynx(21,13),t.YNc(22,Za,3,3,"th",7),t.YNc(23,La,3,4,"td",8),t.BQk(),t.ynx(24,14),t.YNc(25,Da,3,3,"th",7),t.YNc(26,Ra,2,1,"td",8),t.BQk(),t.ynx(27,15),t.YNc(28,Fa,3,3,"th",7),t.YNc(29,Na,2,1,"td",8),t.BQk(),t.ynx(30,16),t.YNc(31,ka,3,3,"th",7),t.YNc(32,wa,2,1,"td",8),t.BQk(),t.YNc(33,Ua,1,0,"tr",17),t.YNc(34,Ya,1,6,"tr",18),t.qZA(),t.qZA(),t.qZA(),t.YNc(35,Ma,3,3,"app-alert",19),t.YNc(36,Ja,3,3,"app-alert",19)),2&e&&(t.Q6J("hidden",0===s.dataSource.filteredData.length||0===s.taskResults.length),t.xp6(1),t.Q6J("tableId",s.tableId)("dataLength",s.dataSource.filteredData.length)("pageSizeOptions",s.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",s.dataSource),t.xp6(31),t.Q6J("matHeaderRowDef",s.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",s.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===s.dataSource.filteredData.length&&0!==s.taskResults.length),t.xp6(1),t.Q6J("ngIf",0===s.taskResults.length))},directives:[N.l,l.BZ,I.YE,l.w1,l.fO,l.ge,D.oG,l.Dz,l.ev,I.nU,m.sg,l.as,l.XQ,l.nj,l.Gk,m.O5,R.w],pipes:[h.X$,m.uU],styles:[".greenTableItem[_ngcontent-%COMP%]{background-color:#c4ffcb}.yellowTableItem[_ngcontent-%COMP%]{background-color:#fffde7}.redTableItem[_ngcontent-%COMP%]{background-color:#ffcdd2}"]}),i})();function Ha(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().removeTaskResult()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"FACILITY_DETAIL.TASK_RESULTS.REMOVE"),"\n")}}function Qa(i,a){1&i&&t._UZ(0,"mat-spinner",8)}function Pa(i,a){if(1&i&&t._UZ(0,"perun-web-apps-task-results-list",9),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("displayedColumns",e.displayedColumns)("filterValue",e.filterValue)("selection",e.selection)("taskResults",e.taskResults)}}let Va=(()=>{class i{constructor(e,s,n,o,r){this.route=e,this.taskManager=s,this.authResolver=n,this.dialog=o,this.entityStorageService=r,this.loading=!1,this.filterValue="",this.selection=new A.Ov(!0,[]),this.task={id:0},this.tableId=E.e5,this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"],this.removeAuth=!1}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.removeAuth=this.authResolver.isAuthorized("deleteTask_Task_policy",[this.facility]),this.removeAuth||(this.displayedColumns=["id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"]),this.route.params.subscribe(e=>{this.taskId=e.taskId,this.taskManager.getTaskById(this.taskId).subscribe(s=>{this.task=s,this.refreshTable()})})}refreshTable(){this.loading=!0,this.taskManager.getTaskResultsForGUIByTask(this.taskId).subscribe(e=>{this.selection.clear(),this.taskResults=e,this.loading=!1})}removeTaskResult(){const e=(0,d.kZ)();e.width="600px",e.data={theme:"facility-theme",taskResults:this.selection.selected},this.dialog.open(ut,e).afterClosed().subscribe(n=>{n&&this.refreshTable()})}applyFilter(e){this.filterValue=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(y.gz),t.Y36(f.Ob),t.Y36(_.x4),t.Y36(u.uw),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-task-results"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[1,"text-muted"],[3,"refresh"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","displayedColumns","filterValue","selection","taskResults",4,"ngIf"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","displayedColumns","filterValue","selection","taskResults"]],template:function(e,s){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"span",1),t._uU(4),t.qZA(),t.qZA(),t.TgZ(5,"perun-web-apps-refresh-button",2),t.NdJ("refresh",function(){return s.refreshTable()}),t.qZA(),t.YNc(6,Ha,3,4,"button",3),t.TgZ(7,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(o){return s.applyFilter(o)}),t.qZA(),t.YNc(8,Qa,1,0,"mat-spinner",5),t.YNc(9,Pa,1,5,"perun-web-apps-task-results-list",6)),2&e&&(t.xp6(1),t.AsE(" ",t.lcZ(2,7,"FACILITY_DETAIL.TASK_RESULTS.TITLE")," - ",s.task.service?s.task.service.name:""," "),t.xp6(3),t.hij(" \xa0#",s.task.id," "),t.xp6(2),t.Q6J("ngIf",s.removeAuth),t.xp6(1),t.Q6J("placeholder","FACILITY_DETAIL.TASK_RESULTS.FILTER"),t.xp6(1),t.Q6J("ngIf",s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[x.t,m.O5,S.lW,Z.L,T.$g,qa],pipes:[h.X$],styles:[""]}),i})();var Ga=c(20872);let Ba=(()=>{class i{constructor(e,s){this.dialogRef=e,this.data=s,this.theme=""}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSkip(){this.dialogRef.close(!0)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-no-service-dialog"]],decls:14,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["matDialogActions",""],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",1),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"div",2),t.TgZ(8,"button",3),t.NdJ("click",function(){return s.onCancel()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"button",4),t.NdJ("click",function(){return s.onSkip()}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(s.theme),t.xp6(2),t.Oqu(t.lcZ(3,7,"DIALOGS.NO_SERVICE.TITLE")),t.xp6(3),t.hij(" ",t.lcZ(6,9,"DIALOGS.NO_SERVICE.INFO")," "),t.xp6(4),t.hij(" ",t.lcZ(10,11,"DIALOGS.NO_SERVICE.CANCEL")," "),t.xp6(3),t.hij(" ",t.lcZ(13,13,"DIALOGS.NO_SERVICE.SKIP")," "))},directives:[u.uh,u.xY,u.H8,S.lW],pipes:[h.X$],styles:[""]}),i})(),ja=(()=>{class i{constructor(e,s){this.dialogRef=e,this.data=s,this.theme=""}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSkip(){this.dialogRef.close(!0)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-config-unsaved-dialog"]],decls:14,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["matDialogActions",""],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",1),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"div",2),t.TgZ(8,"button",3),t.NdJ("click",function(){return s.onCancel()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"button",4),t.NdJ("click",function(){return s.onSkip()}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(s.theme),t.xp6(2),t.Oqu(t.lcZ(3,7,"DIALOGS.CONFIG_UNSAVED.TITLE")),t.xp6(3),t.hij(" ",t.lcZ(6,9,"DIALOGS.CONFIG_UNSAVED.INFO")," "),t.xp6(4),t.hij(" ",t.lcZ(10,11,"DIALOGS.CONFIG_UNSAVED.CANCEL")," "),t.xp6(3),t.hij(" ",t.lcZ(13,13,"DIALOGS.CONFIG_UNSAVED.SKIP")," "))},directives:[u.uh,u.xY,u.H8,S.lW],pipes:[h.X$],styles:[""]}),i})();function $a(i,a){if(1&i&&(t.TgZ(0,"div",3),t._UZ(1,"i",4),t.ALo(2,"translate"),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("innerHTML",t.lcZ(2,1,e.info),t.oJD)}}function za(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).onKeep()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.CANCEL_CONFIG.KEEP")," "))}function Wa(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",5),t.TgZ(1,"button",6),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onDelete()}),t.TgZ(5,"mat-icon"),t._uU(6," warning "),t.qZA(),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.YNc(9,za,3,3,"button",8),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,3,"DIALOGS.CANCEL_CONFIG.CANCEL")," "),t.xp6(5),t.hij(" ",t.lcZ(8,5,"DIALOGS.CANCEL_CONFIG.DELETE")," "),t.xp6(2),t.Q6J("ngIf",!e.lastStep)}}let Xa=(()=>{class i{constructor(e,s,n,o,r){this.dialogRef=e,this.data=s,this.facilityService=n,this.notificator=o,this.translate=r,this.theme="",this.title="",this.info="",this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.lastStep=this.data.lastStep,this.lastStep?(this.title="DIALOGS.CANCEL_CONFIG.TITLE_COMPLETE",this.info="DIALOGS.CANCEL_CONFIG.INFO_COMPLETE"):(this.title="DIALOGS.CANCEL_CONFIG.TITLE_INCOMPLETE",this.info="DIALOGS.CANCEL_CONFIG.INFO_INCOMPLETE")}onCancel(){this.dialogRef.close(!1)}onDelete(){this.loading=!0,this.facilityService.deleteFacility(this.data.facilityId,!0).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CANCEL_CONFIG.SUCCESS")),this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}onKeep(){this.dialogRef.close(!0)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.so),t.Y36(u.WI),t.Y36(f.IQ),t.Y36(_.V6),t.Y36(h.sK))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-cancel-configuration-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["matDialogActions","",4,"ngIf"],["mat-dialog-content",""],[3,"innerHTML"],["matDialogActions",""],["mat-flat-button","",1,"mr-2",3,"click"],["color","warn","mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,s){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,$a,3,3,"div",1),t.YNc(5,Wa,10,7,"div",2),t.qZA()),2&e&&(t.Tol(s.theme),t.xp6(2),t.Oqu(t.lcZ(3,6,s.title)),t.xp6(2),t.Q6J("ngIf",!s.loading),t.xp6(1),t.Q6J("ngIf",!s.loading))},directives:[u.uh,m.O5,u.xY,u.H8,S.lW,F.Hw],pipes:[h.X$],styles:[""]}),i})();var Ka=c(66688),Y=c(92081),tn=c(90439),en=c(60205),M=c(81125);const sn=["stepper"];function an(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"FACILITY_CONFIGURATION.OWNERS"))}function nn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"app-facility-settings-owners",14),t.NdJ("ownerEmitter",function(n){return t.CHM(e),t.oxw().owners=n}),t.qZA()}}function on(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"FACILITY_CONFIGURATION.HOSTS"))}function ln(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"app-facility-hosts",15),t.NdJ("hostEmitter",function(n){return t.CHM(e),t.oxw().hosts=n}),t.qZA()}2&i&&t.Q6J("disableRouting",!0)}function cn(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"FACILITY_CONFIGURATION.SERVICES"))}const rn=function(){return["select","id","name","enabled","description"]};function un(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"h1",16),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"app-alert",17),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"div",18),t.TgZ(7,"perun-web-apps-immediate-filter",19),t.NdJ("filter",function(n){return t.CHM(e),t.oxw().applyFilter(n)}),t.qZA(),t.TgZ(8,"perun-web-apps-service-package-search-select",20),t.NdJ("packageSelected",function(n){return t.CHM(e),t.oxw().packagesSelected(n)}),t.qZA(),t.qZA(),t.TgZ(9,"app-services-list",21),t.NdJ("selectionChanged",function(){return t.CHM(e),t.oxw().singleServiceSelected()}),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Oqu(t.lcZ(2,13,"FACILITY_CONFIGURATION.SERVICES")),t.xp6(3),t.hij(" ",t.lcZ(5,15,"FACILITY_CONFIGURATION.SERVICES_INFO")," "),t.xp6(3),t.Q6J("placeholder","FACILITY_CONFIGURATION.SERVICES_FILTER"),t.xp6(1),t.Q6J("servicePackages",e.servicePackages)("selectedPackage",e.selectedPackages)("multiple",!0)("disableAutoSelect",!0)("theme","facility-theme"),t.xp6(1),t.Q6J("disableRouting",!0)("selection",e.selection)("services",e.services)("filterValue",e.filterValue)("displayedColumns",t.DdM(17,rn))}}function dn(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"FACILITY_CONFIGURATION.SERVICE_CONFIG"))}function pn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"perun-web-apps-service-search-select",27),t.NdJ("serviceSelected",function(n){return t.CHM(e),t.oxw(2).filterAttributes(n)}),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("disableAutoSelect",!0)("services",e.selection.selected)("multiple",!0)("theme","facility-theme")}}function _n(i,a){1&i&&t._UZ(0,"mat-spinner",28)}function mn(i,a){if(1&i&&t._UZ(0,"perun-web-apps-attributes-list",29),2&i){const e=t.oxw(2);t.Q6J("emptyListText","FACILITY_CONFIGURATION.EMPTY_REQ_ATT")("selection",e.attSelection)("attributes",e.filteredAttributes)}}function hn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"h1",16),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"app-alert",17),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"div",18),t.TgZ(7,"button",22),t.NdJ("click",function(){return t.CHM(e),t.oxw().onRemoveAttributes()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",23),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSaveAttributes()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.YNc(13,pn,1,4,"perun-web-apps-service-search-select",24),t.qZA(),t.YNc(14,_n,1,0,"mat-spinner",25),t.YNc(15,mn,1,3,"perun-web-apps-attributes-list",26)}if(2&i){const e=t.oxw(),s=t.MAs(5);t.xp6(1),t.Oqu(t.lcZ(2,9,"FACILITY_CONFIGURATION.SERVICE_CONFIG")),t.xp6(3),t.hij(" ",t.lcZ(5,11,"FACILITY_CONFIGURATION.ATT_INFO")," "),t.xp6(3),t.Q6J("disabled",0===e.attSelection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(9,13,"FACILITY_CONFIGURATION.REMOVE")," "),t.xp6(2),t.Q6J("disabled",0===e.attSelection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(12,15,"FACILITY_CONFIGURATION.SAVE")," "),t.xp6(2),t.Q6J("ngIf",s.selectedIndex===e.ATTRIBUTES_IDX),t.xp6(1),t.Q6J("ngIf",e.processing),t.xp6(1),t.Q6J("ngIf",!e.processing)}}function fn(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"FACILITY_CONFIGURATION.DESTINATION_CONFIG"))}const gn=function(){return["select","destinationId","service","warn","destination","type","propagationType"]};function Tn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"app-perun-web-apps-facility-services-destinations",30),t.NdJ("destinationEmitter",function(n){return t.CHM(e),t.oxw().destinations=n}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("title","FACILITY_CONFIGURATION.DESTINATION_CONFIG")("loading",e.processing)("displayedColumns",t.DdM(5,gn))("configServices",e.selection.selected)("configServicesIds",e.serviceIds)}}function Sn(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"FACILITY_CONFIGURATION.MANAGERS"))}function Cn(i,a){1&i&&t._UZ(0,"app-perun-web-apps-facility-settings-managers",31),2&i&&t.Q6J("disableRouting",!0)("disableSelf",!0)}function An(i,a){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"FACILITY_CONFIGURATION.SUMMARY"))}function In(i,a){1&i&&t._UZ(0,"mat-spinner",28)}const vn=function(){return["id","name","contact","type"]};function bn(i,a){if(1&i&&t._UZ(0,"perun-web-apps-owners-list",48),2&i){const e=t.oxw(3);t.Q6J("owners",e.owners)("displayedColumns",t.DdM(2,vn))}}function yn(i,a){1&i&&t._UZ(0,"mat-spinner",28)}const En=function(){return["id","name"]};function xn(i,a){if(1&i&&t._UZ(0,"app-hosts-list",49),2&i){const e=t.oxw(3);t.Q6J("disableRouting",!0)("hosts",e.hosts)("displayedColumns",t.DdM(3,En))}}function Zn(i,a){1&i&&t._UZ(0,"mat-spinner",28)}const Ln=function(){return["id","name","enabled","script","description"]},Dn=function(){return["id","displayName","value","description"]},Rn=function(){return["destinationId","service","warn","destination","type","propagationType"]},Fn=function(){return["id","name","email","logins","organization"]},On=function(){return["id","vo","name","description"]};function Nn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-accordion"),t.TgZ(1,"mat-expansion-panel",34),t.TgZ(2,"mat-expansion-panel-header"),t.TgZ(3,"mat-panel-title"),t._UZ(4,"mat-icon",35),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.TgZ(7,"h1",16),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.YNc(10,In,1,0,"mat-spinner",25),t.YNc(11,bn,1,3,"perun-web-apps-owners-list",36),t.qZA(),t.TgZ(12,"mat-expansion-panel",34),t.TgZ(13,"mat-expansion-panel-header"),t.TgZ(14,"mat-panel-title"),t._UZ(15,"mat-icon",37),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.qZA(),t.TgZ(18,"h1",16),t._uU(19),t.ALo(20,"translate"),t.qZA(),t.YNc(21,yn,1,0,"mat-spinner",25),t.YNc(22,xn,1,4,"app-hosts-list",38),t.qZA(),t.TgZ(23,"mat-expansion-panel",34),t.TgZ(24,"mat-expansion-panel-header"),t.TgZ(25,"mat-panel-title"),t._UZ(26,"mat-icon",39),t._uU(27),t.ALo(28,"translate"),t.qZA(),t.qZA(),t.TgZ(29,"h1",16),t._uU(30),t.ALo(31,"translate"),t.qZA(),t._UZ(32,"app-services-list",40),t.qZA(),t.TgZ(33,"mat-expansion-panel",41),t.NdJ("opened",function(){return t.CHM(e),t.oxw(2).getNonEmptyAttributes()}),t.TgZ(34,"mat-expansion-panel-header"),t.TgZ(35,"mat-panel-title"),t._UZ(36,"mat-icon",37),t._uU(37),t.ALo(38,"translate"),t.qZA(),t.qZA(),t.TgZ(39,"h1",16),t._uU(40),t.ALo(41,"translate"),t.qZA(),t._UZ(42,"perun-web-apps-attributes-list",42),t.qZA(),t.TgZ(43,"mat-expansion-panel",43),t.NdJ("expandedChange",function(n){return t.CHM(e),t.oxw(2).destinationServiceMissing=n}),t.TgZ(44,"mat-expansion-panel-header"),t.TgZ(45,"mat-panel-title"),t._UZ(46,"mat-icon",44),t._uU(47),t.ALo(48,"translate"),t.qZA(),t.qZA(),t.TgZ(49,"h1",16),t._uU(50),t.ALo(51,"translate"),t.qZA(),t.YNc(52,Zn,1,0,"mat-spinner",25),t._UZ(53,"app-perun-web-apps-destination-list",45),t.qZA(),t.TgZ(54,"mat-expansion-panel"),t.TgZ(55,"mat-expansion-panel-header"),t.TgZ(56,"mat-panel-title"),t._UZ(57,"mat-icon",46),t._uU(58),t.ALo(59,"translate"),t.qZA(),t.qZA(),t._UZ(60,"app-managers-page",47),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("@.disabled",!0),t.xp6(1),t.Q6J("disabled",0===e.owners.length),t.xp6(1),t.ekj("cursor-default",0===e.owners.length),t.xp6(3),t.hij(" ",t.lcZ(6,49,"FACILITY_CONFIGURATION.OWNERS")," "),t.xp6(3),t.Oqu(t.lcZ(9,51,"FACILITY_CONFIGURATION.OWNERS")),t.xp6(2),t.Q6J("ngIf",e.processing),t.xp6(1),t.Q6J("ngIf",!e.processing),t.xp6(1),t.Q6J("disabled",0===e.hosts.length),t.xp6(1),t.ekj("cursor-default",0===e.hosts.length),t.xp6(3),t.hij(" ",t.lcZ(17,53,"FACILITY_CONFIGURATION.HOSTS")," "),t.xp6(3),t.Oqu(t.lcZ(20,55,"FACILITY_CONFIGURATION.HOSTS")),t.xp6(2),t.Q6J("ngIf",e.processing),t.xp6(1),t.Q6J("ngIf",!e.processing),t.xp6(1),t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.ekj("cursor-default",0===e.selection.selected.length),t.xp6(3),t.hij(" ",t.lcZ(28,57,"FACILITY_CONFIGURATION.SERVICES")," "),t.xp6(3),t.Oqu(t.lcZ(31,59,"FACILITY_CONFIGURATION.SERVICES")),t.xp6(2),t.Q6J("disableRouting",!0)("services",e.selection.selected)("displayedColumns",t.DdM(71,Ln)),t.xp6(1),t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.ekj("cursor-default",0===e.selection.selected.length),t.xp6(3),t.hij(" ",t.lcZ(38,61,"FACILITY_CONFIGURATION.SERVICE_CONFIG")," "),t.xp6(3),t.Oqu(t.lcZ(41,63,"FACILITY_CONFIGURATION.ATTS")),t.xp6(2),t.Q6J("displayedColumns",t.DdM(72,Dn))("emptyListText","FACILITY_CONFIGURATION.EMPTY_REQ_ATT")("attributes",e.filteredAttributes),t.xp6(1),t.Q6J("expanded",e.destinationServiceMissing)("disabled",0===e.selection.selected.length&&0===e.destinations.length),t.xp6(1),t.ekj("cursor-default",0===e.selection.selected.length&&0===e.destinations.length),t.xp6(3),t.hij(" ",t.lcZ(48,65,"FACILITY_CONFIGURATION.DESTINATION_CONFIG")," "),t.xp6(3),t.Oqu(t.lcZ(51,67,"FACILITY_CONFIGURATION.DESTINATION")),t.xp6(2),t.Q6J("ngIf",e.processing),t.xp6(1),t.Q6J("destinations",e.destinations)("services",e.serviceIds)("displayedColumns",t.DdM(73,Rn)),t.xp6(5),t.hij(" ",t.lcZ(59,69,"FACILITY_CONFIGURATION.MANAGERS")," "),t.xp6(2),t.Q6J("complementaryObject",e.facility)("configMode",!0)("disableRouting",!0)("complementaryObjectType","Facility")("availableRoles",e.availableRoles)("displayedUserColumns",t.DdM(74,Fn))("displayedGroupColumns",t.DdM(75,On))}}function kn(i,a){if(1&i&&(t.TgZ(0,"app-alert",17),t._UZ(1,"i",32),t.ALo(2,"translate"),t.qZA(),t.YNc(3,Nn,61,76,"mat-accordion",33)),2&i){t.oxw();const e=t.MAs(5);t.xp6(1),t.Q6J("innerHTML",t.lcZ(2,2,"FACILITY_CONFIGURATION.SUMMARY_INFO"),t.oJD),t.xp6(2),t.Q6J("ngIf",e.selectedIndex===e.steps.length-1)}}function wn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",50),t.NdJ("click",function(){return t.CHM(e),t.oxw().back()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"FACILITY_CONFIGURATION.BACK")," "))}function Un(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",51),t.NdJ("click",function(){return t.CHM(e),t.oxw().next()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){t.oxw();const e=t.MAs(5);t.ekj("mr-2",void 0!==e&&0!==e.selectedIndex)("ml-auto",!(void 0!==e&&0!==e.selectedIndex)),t.xp6(1),t.hij(" ",t.lcZ(2,5,"FACILITY_CONFIGURATION.NEXT")," ")}}function Yn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",52),t.NdJ("click",function(){return t.CHM(e),t.oxw().onFinish()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"FACILITY_CONFIGURATION.FINISH")," "))}let Mn=(()=>{class i{constructor(e,s,n,o,r,p,C,v,L,b){this.attributesManager=e,this.serviceManager=s,this.facilityService=n,this.cd=o,this.dialog=r,this.notificator=p,this.translate=C,this.router=v,this.guiAuthResolver=L,this.entityStorageService=b,this.processing=!1,this.allowNavigate=!1,this.attributes=[],this.attributeIds=new Set,this.filteredAttributes=[],this.attributesPerService=new Map,this.attSelection=new A.Ov(!0,[]),this.services=[],this.serviceIds=new Set,this.servicesPerPackage=new Map,this.servicePackages=[],this.selectedPackages=[],this.selection=new A.Ov(!0,[]),this.owners=[],this.hosts=[],this.destinations=[],this.destinationServiceMissing=!1,this.availableRoles=[],this.filterValue="",this.saveMsg="",this.removeMsg="",this.BEFORE_OPTIONAL_IDX=2,this.ATTRIBUTES_IDX=3,this.DESTINATIONS_IDX=4,this.AFTER_OPTIONAL_IDX=5,this.serviceControl=new g.NI(!1,g.kI.requiredTrue),this.attributesControl=new g.NI(!0,g.kI.requiredTrue),this.translate.get("FACILITY_CONFIGURATION.ATT_SAVED").subscribe(j=>this.saveMsg=j),this.translate.get("FACILITY_CONFIGURATION.ATT_REMOVED").subscribe(j=>this.removeMsg=j)}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Facility"),this.serviceManager.getServicesPackages().subscribe(e=>{this.servicePackages=e,this.getServicePackageServices(e,0)})}ngAfterViewInit(){this.cd.detectChanges(),this.attSelection.changed.subscribe(()=>{this.attributesControl.setValue(0===this.attSelection.selected.length)})}onCancel(){const e=(0,d.kZ)();e.width="550px",e.data={facilityId:this.facility.id,lastStep:this.stepper.selectedIndex===this.stepper.steps.length-1,theme:"facility-theme"},this.dialog.open(Xa,e).afterClosed().subscribe(n=>{n&&(this.allowNavigate=!0,sessionStorage.removeItem("newFacilityId"),this.router.navigate(["facilities"],{queryParamsHandling:"merge"}))})}getServicePackageServices(e,s){s===e.length?this.serviceManager.getServices().subscribe(n=>{this.services=n}):this.serviceManager.getServicesFromServicesPackage(e[s].id).subscribe(n=>{this.servicesPerPackage.set(e[s].id,new Set([...n.map(o=>o.id)])),this.getServicePackageServices(e,s+1)})}getServiceRequiredAttributes(e,s){s!==e.length&&this.attributesManager.getRequiredAttributesDefinition(e[s].id).subscribe(n=>{n=n.filter(o=>this.attributeIds.has(o.id)),this.attributesPerService.set(e[s].id,n.map(o=>o.id)),this.getServiceRequiredAttributes(e,s+1)})}setServiceControl(){this.serviceControl.setValue(0!==this.selection.selected.length)}buildServiceSet(e){const s=new Set;return e.forEach(n=>{this.servicesPerPackage.get(n.id).forEach(o=>s.add(o))}),s}setDiff(e,s){return new Set([...e].filter(n=>!s.has(n)))}setIntersect(e,s){return new Set([...e].filter(n=>s.has(n)))}setSymDif(e,s){const n=this.buildServiceSet(e),o=this.buildServiceSet(s),r=this.setDiff(n,o),p=this.setDiff(o,n);return new Set([...r,...p])}filterService(e,s){const n=new Set;for(const o of s){const r=this.setIntersect(e,this.servicesPerPackage.get(o.id));0!==r.size&&r.forEach(p=>n.add(p))}return n}packageSelectionEqual(e){return e.length===this.selectedPackages.length&&(e.forEach(s=>{if(-1===this.selectedPackages.findIndex(n=>n.id===s.id))return!1}),!0)}packagesSelected(e){if(this.packageSelectionEqual(e))return;this.processing=!0;let s=new Set;if(e&&0!==e.length?s=this.setSymDif(this.selectedPackages,e):this.selectedPackages.forEach(r=>{this.servicesPerPackage.get(r.id).forEach(p=>s.add(p))}),0===s.size)return;const n=this.filterService(s,e.filter(r=>this.selectedPackages.findIndex(p=>p.id===r.id)<0)),o=this.filterService(s,this.selectedPackages.filter(r=>e.findIndex(p=>p.id===r.id)<0));for(const r of this.services)n.has(r.id)?this.selection.select(r):o.has(r.id)&&this.selection.deselect(r);this.selectedPackages=e,this.setServiceControl(),this.processing=!1}checkPackageComplete(){const e=[];for(const s of this.selectedPackages){let n=!0;for(const o of this.servicesPerPackage.get(s.id))if(-1===this.selection.selected.findIndex(r=>r.id===o)){n=!1;break}n&&e.push(s)}this.selectedPackages=e}singleServiceSelected(){this.setServiceControl(),!this.processing&&this.checkPackageComplete()}back(){this.stepper.selectedIndex<=this.BEFORE_OPTIONAL_IDX&&this.setServiceControl(),this.stepper.selectedIndex===this.AFTER_OPTIONAL_IDX&&0===this.selection.selected.length?this.stepper.selectedIndex=this.BEFORE_OPTIONAL_IDX:this.stepper.previous()}openSkipDialog(){const e=(0,d.kZ)();e.width="400px",e.data={theme:"facility-theme"},this.dialog.open(Ba,e).afterClosed().subscribe(n=>{n&&(this.serviceControl.setValue(!0),this.stepper.selectedIndex=this.AFTER_OPTIONAL_IDX)})}getRequiredAttributes(){this.processing=!0,this.attributesManager.getRequiredAttributesFacilityServices(this.selection.selected.map(e=>e.id),this.facility.id).subscribe(e=>{this.attSelection.clear(),this.attributes=e.filter(s=>!(0,d.Hm)(s)),this.filteredAttributes=this.attributes,this.attributes.forEach(s=>this.attributeIds.add(s.id)),this.getServiceRequiredAttributes(this.selection.selected,0),this.processing=!1})}onSaveAttributes(){return new Promise((e,s)=>{this.processing=!0,this.attributesManager.setFacilityAttributes({facility:this.facility.id,attributes:this.attSelection.selected}).subscribe(()=>{this.notificator.showSuccess(this.saveMsg),this.attSelection.clear(),this.processing=!1,e()},()=>{this.processing=!1,s()})})}openUnsavedAttsDialog(){const e=(0,d.kZ)();e.width="400px",e.data={theme:"facility-theme"},this.dialog.open(ja,e).afterClosed().subscribe(n=>{n&&this.onSaveAttributes().then(()=>{this.stepper.next()},()=>this.getRequiredAttributes())})}next(){this.checkDestinationDependency(this.stepper.selectedIndex),this.stepper.selectedIndex===this.BEFORE_OPTIONAL_IDX?0===this.selection.selected.length?this.openSkipDialog():(this.getRequiredAttributes(),this.stepper.next()):this.stepper.selectedIndex===this.ATTRIBUTES_IDX&&0!==this.attSelection.selected.length?this.openUnsavedAttsDialog():this.stepper.next()}onFinish(){this.allowNavigate=!0,sessionStorage.removeItem("newFacilityId"),this.router.navigate(["facilities",this.facility.id],{queryParamsHandling:"merge"})}onRemoveAttributes(){this.processing=!0;const e=this.attSelection.selected.map(s=>s.id);this.attributesManager.removeFacilityAttributes(this.facility.id,e).subscribe(()=>{this.notificator.showSuccess(this.removeMsg),this.getRequiredAttributes(),this.processing=!1})}filterAttributes(e){if(void 0===e||0===e.length)return void(this.filteredAttributes=this.attributes);const s=new Set;for(const n of e)this.attributesPerService.get(n.id).forEach(o=>s.add(o));this.filteredAttributes=[];for(const n of this.attributes)s.has(n.id)&&this.filteredAttributes.push(n)}getNonEmptyAttributes(){this.filteredAttributes=this.attributes.filter(e=>{if(e.value&&(!(0,Ka.k)(e.value)||0!==e.value.length))return e})}checkDestinationDependency(e){(e===this.BEFORE_OPTIONAL_IDX||e===this.DESTINATIONS_IDX)&&(this.serviceIds=new Set([...this.selection.selected.map(s=>s.id)]),this.destinationServicePresent())}navigationStep(e){this.checkDestinationDependency(e.previouslySelectedIndex),e.selectedIndex===this.ATTRIBUTES_IDX?this.getRequiredAttributes():e.selectedIndex===this.DESTINATIONS_IDX?this.processing=!1:e.selectedIndex<=this.BEFORE_OPTIONAL_IDX&&this.setServiceControl()}getOwners(){this.processing=!0,this.facilityService.getFacilityOwners(this.facility.id).subscribe(e=>{this.owners=e,this.processing=!1})}getHosts(){this.processing=!0,this.facilityService.getHosts(this.facility.id).subscribe(e=>{this.hosts=e,this.processing=!1})}applyFilter(e){this.filterValue=e}destinationServicePresent(){for(const e of this.destinations)if(!this.serviceIds.has(e.service.id))return void(this.destinationServiceMissing=!0);this.destinationServiceMissing=!1}canDeactivate(){return this.allowNavigate||this.onCancel(),this.allowNavigate}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(f.H8),t.Y36(f.KK),t.Y36(f.IQ),t.Y36(t.sBO),t.Y36(u.uw),t.Y36(_.V6),t.Y36(h.sK),t.Y36(y.F0),t.Y36(_.x4),t.Y36(_.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-facility-configuration-page"]],viewQuery:function(e,s){if(1&e&&t.Gf(sn,5),2&e){let n;t.iGM(n=t.CRH())&&(s.stepper=n.first)}},decls:34,vars:15,consts:[[1,"facility-theme"],[1,"page-title"],[3,"linear","selectionChange"],["stepper",""],["matStepLabel",""],["matStepContent",""],[3,"stepControl"],["optional","true",3,"stepControl","editable"],[3,"optional","editable"],[1,"actions"],["mat-flat-button","",3,"click"],["class","ml-auto mr-2","mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","","color","accent",3,"mr-2","ml-auto","click",4,"ngIf"],["class","mr-2","mat-flat-button","","color","accent",3,"click",4,"ngIf"],[3,"ownerEmitter"],[3,"disableRouting","hostEmitter"],[1,"page-subtitle"],["alert_type","info"],[1,"filters"],[1,"filter",3,"placeholder","filter"],[1,"package-search-select",3,"servicePackages","selectedPackage","multiple","disableAutoSelect","theme","packageSelected"],[3,"disableRouting","selection","services","filterValue","displayedColumns","selectionChanged"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["class","service-search-select",3,"disableAutoSelect","services","multiple","theme","serviceSelected",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"emptyListText","selection","attributes",4,"ngIf"],[1,"service-search-select",3,"disableAutoSelect","services","multiple","theme","serviceSelected"],[1,"ml-auto","mr-auto"],[3,"emptyListText","selection","attributes"],[3,"title","loading","displayedColumns","configServices","configServicesIds","destinationEmitter"],[3,"disableRouting","disableSelf"],[3,"innerHTML"],[4,"ngIf"],[3,"disabled"],["svgIcon","perun-owner-grey",1,"mr-2"],[3,"owners","displayedColumns",4,"ngIf"],["svgIcon","perun-hosts",1,"mr-2"],[3,"disableRouting","hosts","displayedColumns",4,"ngIf"],["svgIcon","perun-service",1,"mr-2"],[3,"disableRouting","services","displayedColumns"],[3,"disabled","opened"],[3,"displayedColumns","emptyListText","attributes"],[3,"expanded","disabled","expandedChange"],["svgIcon","perun-service_destination",1,"mr-2"],[3,"destinations","services","displayedColumns"],["svgIcon","perun-manager",1,"mr-2"],[3,"complementaryObject","configMode","disableRouting","complementaryObjectType","availableRoles","displayedUserColumns","displayedGroupColumns"],[3,"owners","displayedColumns"],[3,"disableRouting","hosts","displayedColumns"],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["mat-flat-button","","color","accent",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"]],template:function(e,s){if(1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-stepper",2,3),t.NdJ("selectionChange",function(o){return s.navigationStep(o)}),t.TgZ(6,"mat-step"),t.YNc(7,an,2,3,"ng-template",4),t.YNc(8,nn,1,0,"ng-template",5),t.qZA(),t.TgZ(9,"mat-step"),t.YNc(10,on,2,3,"ng-template",4),t.YNc(11,ln,1,1,"ng-template",5),t.qZA(),t.TgZ(12,"mat-step",6),t.YNc(13,cn,2,3,"ng-template",4),t.YNc(14,un,10,18,"ng-template",5),t.qZA(),t.TgZ(15,"mat-step",7),t.YNc(16,dn,2,3,"ng-template",4),t.YNc(17,hn,16,17,"ng-template",5),t.qZA(),t.TgZ(18,"mat-step",8),t.YNc(19,fn,2,3,"ng-template",4),t.YNc(20,Tn,1,6,"ng-template",5),t.qZA(),t.TgZ(21,"mat-step"),t.YNc(22,Sn,2,3,"ng-template",4),t.YNc(23,Cn,1,2,"ng-template",5),t.qZA(),t.TgZ(24,"mat-step"),t.YNc(25,An,2,3,"ng-template",4),t.YNc(26,kn,4,4,"ng-template",5),t.qZA(),t.qZA(),t.TgZ(27,"div",9),t.TgZ(28,"button",10),t.NdJ("click",function(){return s.onCancel()}),t._uU(29),t.ALo(30,"translate"),t.qZA(),t.YNc(31,wn,3,3,"button",11),t.YNc(32,Un,3,7,"button",12),t.YNc(33,Yn,3,3,"button",13),t.qZA(),t.qZA()),2&e){const n=t.MAs(5);t.xp6(2),t.hij(" ",t.lcZ(3,11,"FACILITY_CONFIGURATION.TITLE")," "),t.xp6(2),t.Q6J("linear",!0),t.xp6(8),t.Q6J("stepControl",s.serviceControl),t.xp6(3),t.Q6J("stepControl",s.attributesControl)("editable",0!==s.selection.selected.length),t.xp6(3),t.Q6J("optional",0===s.destinations.length)("editable",0!==s.selection.selected.length||0!==s.destinations.length),t.xp6(11),t.hij(" ",t.lcZ(30,13,"FACILITY_CONFIGURATION.CANCEL")," "),t.xp6(2),t.Q6J("ngIf",void 0!==n&&0!==n.selectedIndex),t.xp6(1),t.Q6J("ngIf",void 0!==n&&n.selectedIndex!==n.steps.length-1),t.xp6(1),t.Q6J("ngIf",void 0!==n&&n.selectedIndex===n.steps.length-1)}},directives:[Y.Vq,Y.C0,Y.VY,Y.BY,nt,ct,R.w,Z.L,tn.F,en.Q,S.lW,m.O5,_t,T.$g,rt.p,at,it,M.pp,M.ib,M.yz,M.yK,F.Hw,V.Q,lt,st.q,et.s],pipes:[h.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.6rem;margin-right:.9rem}.filters[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline}.package-search-select[_ngcontent-%COMP%]{width:650px}.service-search-select[_ngcontent-%COMP%]{width:400px}.filter[_ngcontent-%COMP%]{width:350px;margin-right:20px}.actions[_ngcontent-%COMP%]{background-color:#fff;display:flex;padding:20px}.cursor-default[_ngcontent-%COMP%]{cursor:default}"]}),i})(),mt=(()=>{class i{constructor(e){this.router=e}canActivate(e){return e.parent.params.facilityId===sessionStorage.getItem("newFacilityId")||(this.router.navigate(["/home"],{queryParamsHandling:"merge"}),!1)}canDeactivate(e){return e.canDeactivate()}}return i.\u0275fac=function(e){return new(e||i)(t.LFG(y.F0))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Jn=[{path:"",component:ht.P},{path:":facilityId",component:xt,children:[{path:"",component:Dt,data:{animation:"FacilityOverviewPage"}},{path:"attributes",component:Gt,data:{animation:"FacilityAttributesPage"}},{path:"resources",component:Rt.f,data:{animation:"FacilityResourcesPage"}},{path:"allowed-users",component:ma,data:{animation:"FacilityAllowedUsersPage"}},{path:"allowed-groups",component:Ft.o,data:{animation:"FacilityAllowedGroupsPage"}},{path:"services-status",component:ia,data:{animation:"FacilityServiceStatusPage"}},{path:"services-status/:taskId",component:Va,data:{animation:"FacilityTaskResultsPage"}},{path:"service-config",component:le,data:{animation:"FacilityServiceConfigPage"}},{path:"services-destinations",component:at,data:{animation:"FacilityServicesDestinationsPage"}},{path:"hosts",component:ct,data:{animation:"FacilityHostsPage"}},{path:"hosts/:hostId",component:Yi,data:{animation:"FacilityHostsDetailPage"}},{path:"settings",component:kt,children:[{path:"",component:Yt,data:{animation:"FacilitySettingsOverviewPage"}},{path:"owners",component:nt,data:{animation:"FacilitySettingOwnersPage"}},{path:"managers",component:it,data:{animation:"FacilitySettingsManagersPage"}},{path:"security-teams",component:ts,data:{animation:"FacilitySecurityTeamsPage"}},{path:"blacklist",component:Ri,data:{animation:"FacilitySettingsBlackListPage"}}]},{path:"configuration",component:Mn,canActivate:[mt],canDeactivate:[mt]}]},{path:":facilityId/resources/:resourceId",component:Ot.b,children:[{path:"",component:Nt.H,data:{animation:"ResourceOverviewPage"}},{path:"attributes",component:$t.X,data:{animation:"ResourceAttributesPage"}},{path:"groups",component:zt.K,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:is.D,data:{animation:"ResourceAssignedServicesComponent"}},{path:"members",component:ha.y,data:{animation:"ResourceAssignedMembersComponent"}},{path:"tags",component:Ga.v,data:{animation:"ResourceTagsComponent"}},{path:"settings",component:Bt.t,children:[{path:"",component:jt.h,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:es.O,data:{animation:"ResourceSettingsManagersPage"}}]}]}];let qn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[[y.Bz.forChild(Jn)],y.Bz]}),i})();var Hn=c(14264),Qn=c(63189),Pn=c(46142),Vn=c(68484);let Gn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({providers:[Q.dp],imports:[[m.ez,qn,Hn.m,Qn.r,Fi.ez,Q.d4,Pn.UsersModule,Vn.AdminModule]]}),i})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/385.9a4ce74576f54406.js b/dist/apps/admin-gui/385.9a4ce74576f54406.js deleted file mode 100644 index 88d94ce4d..000000000 --- a/dist/apps/admin-gui/385.9a4ce74576f54406.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[385],{89397:function(w,k){!function(o){"use strict";function u(Y,K){return K.forEach(function(ut){ut&&"string"!=typeof ut&&!Array.isArray(ut)&&Object.keys(ut).forEach(function(it){if("default"!==it&&!(it in Y)){var G=Object.getOwnPropertyDescriptor(ut,it);Object.defineProperty(Y,it,G.get?G:{enumerable:!0,get:function(){return ut[it]}})}})}),Object.freeze(Y)}var it,ut,x={exports:{}};it="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,ut=function(G){var ft,It,M=void 0!==(G=G||{})?G:{};M.ready=new Promise(function(T,I){ft=T,It=I});var Yt,Zt={};for(Yt in M)M.hasOwnProperty(Yt)&&(Zt[Yt]=M[Yt]);var Nt,Jt,ie="./this.program",xt="";"undefined"!=typeof document&&document.currentScript&&(xt=document.currentScript.src),it&&(xt=it),xt=0!==xt.indexOf("blob:")?xt.substr(0,xt.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Nt=function(T){var I=new XMLHttpRequest;return I.open("GET",T,!1),I.send(null),I.responseText},Jt=function(T,I,U){var Q=new XMLHttpRequest;Q.open("GET",T,!0),Q.responseType="arraybuffer",Q.onload=function(){200==Q.status||0==Q.status&&Q.response?I(Q.response):U()},Q.onerror=U,Q.send(null)};var Ze,_e=M.print||console.log.bind(console),Te=M.printErr||console.warn.bind(console);for(Yt in Zt)Zt.hasOwnProperty(Yt)&&(M[Yt]=Zt[Yt]);Zt=null,M.thisProgram&&(ie=M.thisProgram),M.wasmBinary&&(Ze=M.wasmBinary),"object"!=typeof WebAssembly&&Dn("no native wasm support detected");var yn,Pe=!1;function mn(T,I){T||Dn("Assertion failed: "+I)}var je,dn,En,Ue,ci,Ve="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function kn(T,I,U){for(var Q=I+U,ct=I;T[ct]&&!(ct>=Q);)++ct;if(ct-I>16&&T.subarray&&Ve)return Ve.decode(T.subarray(I,ct));for(var yt="";I>10,56320|1023&De)}}else yt+=String.fromCharCode((31&kt)<<6|Pt)}else yt+=String.fromCharCode(kt)}return yt}function de(T,I){return T?kn(En,T,I):""}function gn(T,I,U,Q){if(!(Q>0))return 0;for(var ct=U,yt=U+Q-1,kt=0;kt=55296&&Pt<=57343&&(Pt=65536+((1023&Pt)<<10)|1023&T.charCodeAt(++kt)),Pt<=127){if(U>=yt)break;I[U++]=Pt}else if(Pt<=2047){if(U+1>=yt)break;I[U++]=192|Pt>>6,I[U++]=128|63&Pt}else if(Pt<=65535){if(U+2>=yt)break;I[U++]=224|Pt>>12,I[U++]=128|Pt>>6&63,I[U++]=128|63&Pt}else{if(U+3>=yt)break;I[U++]=240|Pt>>18,I[U++]=128|Pt>>12&63,I[U++]=128|Pt>>6&63,I[U++]=128|63&Pt}}return I[U]=0,U-ct}function ni(T){for(var I=0,U=0;U=55296&&Q<=57343&&(Q=65536+((1023&Q)<<10)|1023&T.charCodeAt(++U)),Q<=127?++I:I+=Q<=2047?2:Q<=65535?3:4}return I}function an(T,I){return T%I>0&&(T+=I-T%I),T}function Rn(T){je=T,M.HEAP8=dn=new Int8Array(T),M.HEAP16=new Int16Array(T),M.HEAP32=Ue=new Int32Array(T),M.HEAPU8=En=new Uint8Array(T),M.HEAPU16=new Uint16Array(T),M.HEAPU32=new Uint32Array(T),M.HEAPF32=new Float32Array(T),M.HEAPF64=ci=new Float64Array(T)}var vn,Hn=[],Kn=[],Me=[];var ve=0,Be=null;function en(T){ve++,M.monitorRunDependencies&&M.monitorRunDependencies(ve)}function Zn(T){if(ve--,M.monitorRunDependencies&&M.monitorRunDependencies(ve),0==ve&&Be){var I=Be;Be=null,I()}}function Dn(T){M.onAbort&&M.onAbort(T),Te(T="Aborted("+T+")"),Pe=!0,T+=". Build with -s ASSERTIONS=1 for more info.";var I=new WebAssembly.RuntimeError(T);throw It(I),I}M.preloadedImages={},M.preloadedAudios={};var _n;function Di(T){return T.startsWith("data:application/octet-stream;base64,")}function ti(T){try{if(T==_n&&Ze)return new Uint8Array(Ze);throw"both async and sync fetching of the wasm failed"}catch(I){Dn(I)}}Di(_n="expatlib.wasm")||(_n=function pt(T){return M.locateFile?M.locateFile(T,xt):xt+T}(_n));var cn,Tn,ei={11694:function(T){var I=M.getCache(M.CExpatJS)[T];if(!I.hasOwnProperty("startElement"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::startElement.";I.startElement()},11912:function(T){var I=M.getCache(M.CExpatJS)[T];if(!I.hasOwnProperty("endElement"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::endElement.";I.endElement()},12124:function(T){var I=M.getCache(M.CExpatJS)[T];if(!I.hasOwnProperty("characterData"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::characterData.";I.characterData()}};function ui(T){for(;T.length>0;){var I=T.shift();if("function"!=typeof I){var U=I.func;"number"==typeof U?void 0===I.arg?Mn(U)():Mn(U)(I.arg):U(void 0===I.arg?null:I.arg)}else I(M)}}function Mn(T){return vn.get(T)}var Le={splitPath:function(T){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(T).slice(1)},normalizeArray:function(T,I){for(var U=0,Q=T.length-1;Q>=0;Q--){var ct=T[Q];"."===ct?T.splice(Q,1):".."===ct?(T.splice(Q,1),U++):U&&(T.splice(Q,1),U--)}if(I)for(;U;U--)T.unshift("..");return T},normalize:function(T){var I="/"===T.charAt(0),U="/"===T.substr(-1);return!(T=Le.normalizeArray(T.split("/").filter(function(Q){return!!Q}),!I).join("/"))&&!I&&(T="."),T&&U&&(T+="/"),(I?"/":"")+T},dirname:function(T){var I=Le.splitPath(T),U=I[0],Q=I[1];return U||Q?(Q&&(Q=Q.substr(0,Q.length-1)),U+Q):"."},basename:function(T){if("/"===T)return"/";var I=(T=(T=Le.normalize(T)).replace(/\/$/,"")).lastIndexOf("/");return-1===I?T:T.substr(I+1)},extname:function(T){return Le.splitPath(T)[3]},join:function(){var T=Array.prototype.slice.call(arguments,0);return Le.normalize(T.join("/"))},join2:function(T,I){return Le.normalize(T+"/"+I)}};var Bn={resolve:function(){for(var T="",I=!1,U=arguments.length-1;U>=-1&&!I;U--){var Q=U>=0?arguments[U]:E.cwd();if("string"!=typeof Q)throw new TypeError("Arguments to path.resolve must be strings");if(!Q)return"";T=Q+"/"+T,I="/"===Q.charAt(0)}return(I?"/":"")+(T=Le.normalizeArray(T.split("/").filter(function(ct){return!!ct}),!I).join("/"))||"."},relative:function(T,I){function U(De){for(var Ge=0;Ge=0&&""===De[qe];qe--);return Ge>qe?[]:De.slice(Ge,qe-Ge+1)}T=Bn.resolve(T).substr(1),I=Bn.resolve(I).substr(1);for(var Q=U(T.split("/")),ct=U(I.split("/")),yt=Math.min(Q.length,ct.length),kt=yt,Pt=0;Pt0&&(_e(kn(T.output,0)),T.output=[])}},default_tty1_ops:{put_char:function(T,I){null===I||10===I?(Te(kn(T.output,0)),T.output=[]):0!=I&&T.output.push(I)},flush:function(T){T.output&&T.output.length>0&&(Te(kn(T.output,0)),T.output=[])}}};var X={ops_table:null,mount:function(T){return X.createNode(null,"/",16895,0)},createNode:function(T,I,U,Q){if(E.isBlkdev(U)||E.isFIFO(U))throw new E.ErrnoError(63);X.ops_table||(X.ops_table={dir:{node:{getattr:X.node_ops.getattr,setattr:X.node_ops.setattr,lookup:X.node_ops.lookup,mknod:X.node_ops.mknod,rename:X.node_ops.rename,unlink:X.node_ops.unlink,rmdir:X.node_ops.rmdir,readdir:X.node_ops.readdir,symlink:X.node_ops.symlink},stream:{llseek:X.stream_ops.llseek}},file:{node:{getattr:X.node_ops.getattr,setattr:X.node_ops.setattr},stream:{llseek:X.stream_ops.llseek,read:X.stream_ops.read,write:X.stream_ops.write,allocate:X.stream_ops.allocate,mmap:X.stream_ops.mmap,msync:X.stream_ops.msync}},link:{node:{getattr:X.node_ops.getattr,setattr:X.node_ops.setattr,readlink:X.node_ops.readlink},stream:{}},chrdev:{node:{getattr:X.node_ops.getattr,setattr:X.node_ops.setattr},stream:E.chrdev_stream_ops}});var ct=E.createNode(T,I,U,Q);return E.isDir(ct.mode)?(ct.node_ops=X.ops_table.dir.node,ct.stream_ops=X.ops_table.dir.stream,ct.contents={}):E.isFile(ct.mode)?(ct.node_ops=X.ops_table.file.node,ct.stream_ops=X.ops_table.file.stream,ct.usedBytes=0,ct.contents=null):E.isLink(ct.mode)?(ct.node_ops=X.ops_table.link.node,ct.stream_ops=X.ops_table.link.stream):E.isChrdev(ct.mode)&&(ct.node_ops=X.ops_table.chrdev.node,ct.stream_ops=X.ops_table.chrdev.stream),ct.timestamp=Date.now(),T&&(T.contents[I]=ct,T.timestamp=ct.timestamp),ct},getFileDataAsTypedArray:function(T){return T.contents?T.contents.subarray?T.contents.subarray(0,T.usedBytes):new Uint8Array(T.contents):new Uint8Array(0)},expandFileStorage:function(T,I){var U=T.contents?T.contents.length:0;if(!(U>=I)){I=Math.max(I,U*(U<1048576?2:1.125)>>>0),0!=U&&(I=Math.max(I,256));var ct=T.contents;T.contents=new Uint8Array(I),T.usedBytes>0&&T.contents.set(ct.subarray(0,T.usedBytes),0)}},resizeFileStorage:function(T,I){if(T.usedBytes!=I)if(0==I)T.contents=null,T.usedBytes=0;else{var U=T.contents;T.contents=new Uint8Array(I),U&&T.contents.set(U.subarray(0,Math.min(I,T.usedBytes))),T.usedBytes=I}},node_ops:{getattr:function(T){var I={};return I.dev=E.isChrdev(T.mode)?T.id:1,I.ino=T.id,I.mode=T.mode,I.nlink=1,I.uid=0,I.gid=0,I.rdev=T.rdev,I.size=E.isDir(T.mode)?4096:E.isFile(T.mode)?T.usedBytes:E.isLink(T.mode)?T.link.length:0,I.atime=new Date(T.timestamp),I.mtime=new Date(T.timestamp),I.ctime=new Date(T.timestamp),I.blksize=4096,I.blocks=Math.ceil(I.size/I.blksize),I},setattr:function(T,I){void 0!==I.mode&&(T.mode=I.mode),void 0!==I.timestamp&&(T.timestamp=I.timestamp),void 0!==I.size&&X.resizeFileStorage(T,I.size)},lookup:function(T,I){throw E.genericErrors[44]},mknod:function(T,I,U,Q){return X.createNode(T,I,U,Q)},rename:function(T,I,U){if(E.isDir(T.mode)){var Q;try{Q=E.lookupNode(I,U)}catch(yt){}if(Q)for(var ct in Q.contents)throw new E.ErrnoError(55)}delete T.parent.contents[T.name],T.parent.timestamp=Date.now(),T.name=U,I.contents[U]=T,I.timestamp=T.parent.timestamp,T.parent=I},unlink:function(T,I){delete T.contents[I],T.timestamp=Date.now()},rmdir:function(T,I){var U=E.lookupNode(T,I);for(var Q in U.contents)throw new E.ErrnoError(55);delete T.contents[I],T.timestamp=Date.now()},readdir:function(T){var I=[".",".."];for(var U in T.contents)!T.contents.hasOwnProperty(U)||I.push(U);return I},symlink:function(T,I,U){var Q=X.createNode(T,I,41471,0);return Q.link=U,Q},readlink:function(T){if(!E.isLink(T.mode))throw new E.ErrnoError(28);return T.link}},stream_ops:{read:function(T,I,U,Q,ct){var yt=T.node.contents;if(ct>=T.node.usedBytes)return 0;var kt=Math.min(T.node.usedBytes-ct,Q);if(kt>8&&yt.subarray)I.set(yt.subarray(ct,ct+kt),U);else for(var Pt=0;Pt0||Q+U8)throw new E.ErrnoError(32);for(var ct=Le.normalizeArray(T.split("/").filter(function(Re){return!!Re}),!1),yt=E.root,kt="/",Pt=0;Pt40)throw new E.ErrnoError(32)}}return{path:kt,node:yt}},getPath:function(T){for(var I;;){if(E.isRoot(T)){var U=T.mount.mountpoint;return I?"/"!==U[U.length-1]?U+"/"+I:U+I:U}I=I?T.name+"/"+I:T.name,T=T.parent}},hashName:function(T,I){for(var U=0,Q=0;Q>>0)%E.nameTable.length},hashAddNode:function(T){var I=E.hashName(T.parent.id,T.name);T.name_next=E.nameTable[I],E.nameTable[I]=T},hashRemoveNode:function(T){var I=E.hashName(T.parent.id,T.name);if(E.nameTable[I]===T)E.nameTable[I]=T.name_next;else for(var U=E.nameTable[I];U;){if(U.name_next===T){U.name_next=T.name_next;break}U=U.name_next}},lookupNode:function(T,I){var U=E.mayLookup(T);if(U)throw new E.ErrnoError(U,T);for(var Q=E.hashName(T.id,I),ct=E.nameTable[Q];ct;ct=ct.name_next)if(ct.parent.id===T.id&&ct.name===I)return ct;return E.lookup(T,I)},createNode:function(T,I,U,Q){var ct=new E.FSNode(T,I,U,Q);return E.hashAddNode(ct),ct},destroyNode:function(T){E.hashRemoveNode(T)},isRoot:function(T){return T===T.parent},isMountpoint:function(T){return!!T.mounted},isFile:function(T){return 32768==(61440&T)},isDir:function(T){return 16384==(61440&T)},isLink:function(T){return 40960==(61440&T)},isChrdev:function(T){return 8192==(61440&T)},isBlkdev:function(T){return 24576==(61440&T)},isFIFO:function(T){return 4096==(61440&T)},isSocket:function(T){return 49152==(49152&T)},flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags:function(T){var I=E.flagModes[T];if(void 0===I)throw new Error("Unknown file open mode: "+T);return I},flagsToPermissionString:function(T){var I=["r","w","rw"][3&T];return 512&T&&(I+="w"),I},nodePermissions:function(T,I){return E.ignorePermissions?0:I.includes("r")&&!(292&T.mode)||I.includes("w")&&!(146&T.mode)||I.includes("x")&&!(73&T.mode)?2:0},mayLookup:function(T){return E.nodePermissions(T,"x")||(T.node_ops.lookup?0:2)},mayCreate:function(T,I){try{return E.lookupNode(T,I),20}catch(Q){}return E.nodePermissions(T,"wx")},mayDelete:function(T,I,U){var Q;try{Q=E.lookupNode(T,I)}catch(yt){return yt.errno}var ct=E.nodePermissions(T,"wx");if(ct)return ct;if(U){if(!E.isDir(Q.mode))return 54;if(E.isRoot(Q)||E.getPath(Q)===E.cwd())return 10}else if(E.isDir(Q.mode))return 31;return 0},mayOpen:function(T,I){return T?E.isLink(T.mode)?32:E.isDir(T.mode)&&("r"!==E.flagsToPermissionString(I)||512&I)?31:E.nodePermissions(T,E.flagsToPermissionString(I)):44},MAX_OPEN_FDS:4096,nextfd:function(T,I){I=I||E.MAX_OPEN_FDS;for(var U=T=T||0;U<=I;U++)if(!E.streams[U])return U;throw new E.ErrnoError(33)},getStream:function(T){return E.streams[T]},createStream:function(T,I,U){E.FSStream||(E.FSStream=function(){},E.FSStream.prototype={object:{get:function(){return this.node},set:function(kt){this.node=kt}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}});var Q=new E.FSStream;for(var ct in T)Q[ct]=T[ct];T=Q;var yt=E.nextfd(I,U);return T.fd=yt,E.streams[yt]=T,T},closeStream:function(T){E.streams[T]=null},chrdev_stream_ops:{open:function(T){var I=E.getDevice(T.node.rdev);T.stream_ops=I.stream_ops,T.stream_ops.open&&T.stream_ops.open(T)},llseek:function(){throw new E.ErrnoError(70)}},major:function(T){return T>>8},minor:function(T){return 255&T},makedev:function(T,I){return T<<8|I},registerDevice:function(T,I){E.devices[T]={stream_ops:I}},getDevice:function(T){return E.devices[T]},getMounts:function(T){for(var I=[],U=[T];U.length;){var Q=U.pop();I.push(Q),U.push.apply(U,Q.mounts)}return I},syncfs:function(T,I){"function"==typeof T&&(I=T,T=!1),E.syncFSRequests++,E.syncFSRequests>1&&Te("warning: "+E.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var U=E.getMounts(E.root.mount),Q=0;function ct(kt){return E.syncFSRequests--,I(kt)}function yt(kt){if(kt)return yt.errored?void 0:(yt.errored=!0,ct(kt));++Q>=U.length&&ct(null)}U.forEach(function(kt){if(!kt.type.syncfs)return yt(null);kt.type.syncfs(kt,T,yt)})},mount:function(T,I,U){var yt,Q="/"===U,ct=!U;if(Q&&E.root)throw new E.ErrnoError(10);if(!Q&&!ct){var kt=E.lookupPath(U,{follow_mount:!1});if(U=kt.path,E.isMountpoint(yt=kt.node))throw new E.ErrnoError(10);if(!E.isDir(yt.mode))throw new E.ErrnoError(54)}var Pt={type:T,opts:I,mountpoint:U,mounts:[]},ae=T.mount(Pt);return ae.mount=Pt,Pt.root=ae,Q?E.root=ae:yt&&(yt.mounted=Pt,yt.mount&&yt.mount.mounts.push(Pt)),ae},unmount:function(T){var I=E.lookupPath(T,{follow_mount:!1});if(!E.isMountpoint(I.node))throw new E.ErrnoError(28);var U=I.node,Q=U.mounted,ct=E.getMounts(Q);Object.keys(E.nameTable).forEach(function(kt){for(var Pt=E.nameTable[kt];Pt;){var ae=Pt.name_next;ct.includes(Pt.mount)&&E.destroyNode(Pt),Pt=ae}}),U.mounted=null;var yt=U.mount.mounts.indexOf(Q);U.mount.mounts.splice(yt,1)},lookup:function(T,I){return T.node_ops.lookup(T,I)},mknod:function(T,I,U){var ct=E.lookupPath(T,{parent:!0}).node,yt=Le.basename(T);if(!yt||"."===yt||".."===yt)throw new E.ErrnoError(28);var kt=E.mayCreate(ct,yt);if(kt)throw new E.ErrnoError(kt);if(!ct.node_ops.mknod)throw new E.ErrnoError(63);return ct.node_ops.mknod(ct,yt,I,U)},create:function(T,I){return I=void 0!==I?I:438,I&=4095,E.mknod(T,I|=32768,0)},mkdir:function(T,I){return I=void 0!==I?I:511,I&=1023,E.mknod(T,I|=16384,0)},mkdirTree:function(T,I){for(var U=T.split("/"),Q="",ct=0;ctthis.length-1||Re<0)){var Ye=Re%this.chunkSize;return this.getter(Re/this.chunkSize|0)[Ye]}},yt.prototype.setDataGetter=function(Re){this.getter=Re},yt.prototype.cacheLength=function(){var Re=new XMLHttpRequest;if(Re.open("HEAD",U,!1),Re.send(null),!(Re.status>=200&&Re.status<300||304===Re.status))throw new Error("Couldn't load "+U+". Status: "+Re.status);var wn,Ye=Number(Re.getResponseHeader("Content-length")),di=(wn=Re.getResponseHeader("Accept-Ranges"))&&"bytes"===wn,rr=(wn=Re.getResponseHeader("Content-Encoding"))&&"gzip"===wn,Li=1048576;di||(Li=Ye);var ii=this;ii.setDataGetter(function(Mi){var ar=Mi*Li,si=(Mi+1)*Li-1;if(si=Math.min(si,Ye-1),void 0===ii.chunks[Mi]&&(ii.chunks[Mi]=function(Mi,ar){if(Mi>ar)throw new Error("invalid range ("+Mi+", "+ar+") or no bytes requested!");if(ar>Ye-1)throw new Error("only "+Ye+" bytes available! programmer error!");var si=new XMLHttpRequest;if(si.open("GET",U,!1),Ye!==Li&&si.setRequestHeader("Range","bytes="+Mi+"-"+ar),"undefined"!=typeof Uint8Array&&(si.responseType="arraybuffer"),si.overrideMimeType&&si.overrideMimeType("text/plain; charset=x-user-defined"),si.send(null),!(si.status>=200&&si.status<300||304===si.status))throw new Error("Couldn't load "+U+". Status: "+si.status);return void 0!==si.response?new Uint8Array(si.response||[]):xe(si.responseText||"",!0)}(ar,si)),void 0===ii.chunks[Mi])throw new Error("doXHR failed!");return ii.chunks[Mi]}),(rr||!Ye)&&(Li=Ye=1,Ye=this.getter(0).length,Li=Ye,_e("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=Ye,this._chunkSize=Li,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var Pt,ae=E.createFile(T,I,Pt={isDevice:!1,url:U},Q,ct);Pt.contents?ae.contents=Pt.contents:Pt.url&&(ae.contents=null,ae.url=Pt.url),Object.defineProperties(ae,{usedBytes:{get:function(){return this.contents.length}}});var De={};return Object.keys(ae.stream_ops).forEach(function(qe){var Re=ae.stream_ops[qe];De[qe]=function(){return E.forceLoadFile(ae),Re.apply(null,arguments)}}),De.read=function(Re,Ye,wn,di,rr){E.forceLoadFile(ae);var Li=Re.node.contents;if(rr>=Li.length)return 0;var fi=Math.min(Li.length-rr,di);if(Li.slice)for(var ii=0;ii>2]=Q.dev,Ue[U+4>>2]=0,Ue[U+8>>2]=Q.ino,Ue[U+12>>2]=Q.mode,Ue[U+16>>2]=Q.nlink,Ue[U+20>>2]=Q.uid,Ue[U+24>>2]=Q.gid,Ue[U+28>>2]=Q.rdev,Ue[U+32>>2]=0,Tn=[Q.size>>>0,(cn=Q.size,+Math.abs(cn)>=1?cn>0?(0|Math.min(+Math.floor(cn/4294967296),4294967295))>>>0:~~+Math.ceil((cn-+(~~cn>>>0))/4294967296)>>>0:0)],Ue[U+40>>2]=Tn[0],Ue[U+44>>2]=Tn[1],Ue[U+48>>2]=4096,Ue[U+52>>2]=Q.blocks,Ue[U+56>>2]=Q.atime.getTime()/1e3|0,Ue[U+60>>2]=0,Ue[U+64>>2]=Q.mtime.getTime()/1e3|0,Ue[U+68>>2]=0,Ue[U+72>>2]=Q.ctime.getTime()/1e3|0,Ue[U+76>>2]=0,Tn=[Q.ino>>>0,(cn=Q.ino,+Math.abs(cn)>=1?cn>0?(0|Math.min(+Math.floor(cn/4294967296),4294967295))>>>0:~~+Math.ceil((cn-+(~~cn>>>0))/4294967296)>>>0:0)],Ue[U+80>>2]=Tn[0],Ue[U+84>>2]=Tn[1],0},doMsync:function(T,I,U,Q,ct){var yt=En.slice(T,T+U);E.msync(I,yt,ct,U,Q)},doMkdir:function(T,I){return"/"===(T=Le.normalize(T))[T.length-1]&&(T=T.substr(0,T.length-1)),E.mkdir(T,I,0),0},doMknod:function(T,I,U){switch(61440&I){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return E.mknod(T,I,U),0},doReadlink:function(T,I,U){if(U<=0)return-28;var Q=E.readlink(T),ct=Math.min(U,ni(Q)),yt=dn[I+ct];return function Xn(T,I,U){return gn(T,En,I,U)}(Q,I,U+1),dn[I+ct]=yt,ct},doAccess:function(T,I){if(-8&I)return-28;var Q=E.lookupPath(T,{follow:!0}).node;if(!Q)return-44;var ct="";return 4&I&&(ct+="r"),2&I&&(ct+="w"),1&I&&(ct+="x"),ct&&E.nodePermissions(Q,ct)?-2:0},doDup:function(T,I,U){var Q=E.getStream(U);return Q&&E.close(Q),E.open(T,I,0,U,U).fd},doReadv:function(T,I,U,Q){for(var ct=0,yt=0;yt>2],ae=E.read(T,dn,Ue[I+8*yt>>2],Pt,Q);if(ae<0)return-1;if(ct+=ae,ae>2],Ue[I+(8*yt+4)>>2],Q);if(ae<0)return-1;ct+=ae}return ct},varargs:void 0,get:function(){return At.varargs+=4,Ue[At.varargs-4>>2]},getStr:function(T){return de(T)},getStreamFromFD:function(T){var I=E.getStream(T);if(!I)throw new E.ErrnoError(8);return I},get64:function(T,I){return T}};var Ht=[];function mt(T){try{return yn.grow(T-je.byteLength+65535>>>16),Rn(yn.buffer),1}catch(I){}}var wt={};function te(){if(!te.strings){var I={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:ie||"./this.program"};for(var U in wt)void 0===wt[U]?delete I[U]:I[U]=wt[U];var Q=[];for(var U in I)Q.push(U+"="+I[U]);te.strings=Q}return te.strings}var ze=function(T,I,U,Q){T||(T=this),this.parent=T,this.mount=T.mount,this.mounted=null,this.id=E.nextInode++,this.name=I,this.mode=U,this.node_ops={},this.stream_ops={},this.rdev=Q};function xe(T,I,U){var Q=U>0?U:ni(T)+1,ct=new Array(Q),yt=gn(T,ct,0,ct.length);return I&&(ct.length=yt),ct}Object.defineProperties(ze.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(T){T?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(T){T?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return E.isDir(this.mode)}},isDevice:{get:function(){return E.isChrdev(this.mode)}}}),E.FSNode=ze,E.staticInit();var Xe={h:function Ot(T,I,U){At.varargs=U;try{var Q=At.getStr(T),ct=U?At.get():0;return E.open(Q,I,ct).fd}catch(kt){if(void 0===E||!(kt instanceof E.ErrnoError))throw kt;return-kt.errno}},b:function Bt(){Dn("")},a:function qt(T,I,U){var Q=function re(T,I){var U;for(Ht.length=0,I>>=2;U=En[T++];){var Q=U<105;Q&&1&I&&I++,Ht.push(Q?ci[I++>>1]:Ue[I]),++I}return Ht}(I,U);return ei[T].apply(null,Q)},k:function j(T,I,U){En.copyWithin(T,I,I+U)},e:function Ct(T){var I=En.length,U=2147483648;if((T>>>=0)>U)return!1;for(var Q=1;Q<=4;Q*=2){var ct=I*(1+.2/Q);if(ct=Math.min(ct,T+100663296),mt(Math.min(U,an(Math.max(T,ct),65536))))return!0}return!1},f:function Dt(T,I){var U=0;return te().forEach(function(Q,ct){var yt=I+U;Ue[T+4*ct>>2]=yt,function Yn(T,I,U){for(var Q=0;Q>0]=T.charCodeAt(Q);U||(dn[I>>0]=0)}(Q,yt),U+=Q.length+1}),0},g:function he(T,I){var U=te();Ue[T>>2]=U.length;var Q=0;return U.forEach(function(ct){Q+=ct.length+1}),Ue[I>>2]=Q,0},d:function O(T){try{var I=At.getStreamFromFD(T);return E.close(I),0}catch(U){if(void 0===E||!(U instanceof E.ErrnoError))throw U;return U.errno}},i:function le(T,I,U,Q){try{var ct=At.getStreamFromFD(T),yt=At.doReadv(ct,I,U);return Ue[Q>>2]=yt,0}catch(kt){if(void 0===E||!(kt instanceof E.ErrnoError))throw kt;return kt.errno}},j:function ke(T,I,U,Q,ct){try{var yt=At.getStreamFromFD(T),Pt=4294967296*U+(I>>>0),ae=9007199254740992;return Pt<=-ae||Pt>=ae?-61:(E.llseek(yt,Pt,Q),Tn=[yt.position>>>0,(cn=yt.position,+Math.abs(cn)>=1?cn>0?(0|Math.min(+Math.floor(cn/4294967296),4294967295))>>>0:~~+Math.ceil((cn-+(~~cn>>>0))/4294967296)>>>0:0)],Ue[ct>>2]=Tn[0],Ue[ct+4>>2]=Tn[1],yt.getdents&&0===Pt&&0===Q&&(yt.getdents=null),0)}catch(De){if(void 0===E||!(De instanceof E.ErrnoError))throw De;return De.errno}},c:function Ie(T,I,U,Q){try{var ct=At.getStreamFromFD(T),yt=At.doWritev(ct,I,U);return Ue[Q>>2]=yt,0}catch(kt){if(void 0===E||!(kt instanceof E.ErrnoError))throw kt;return kt.errno}},l:function nn(T){var I=Date.now();return Ue[T>>2]=I/1e3|0,Ue[T+4>>2]=I%1e3*1e3|0,0}};(function In(){var T={a:Xe};function I(kt,Pt){M.asm=kt.exports,Rn((yn=M.asm.m).buffer),vn=M.asm.G,function se(T){Kn.unshift(T)}(M.asm.n),Zn()}function U(kt){I(kt.instance)}function Q(kt){return function wi(){return Ze||"function"!=typeof fetch?Promise.resolve().then(function(){return ti(_n)}):fetch(_n,{credentials:"same-origin"}).then(function(T){if(!T.ok)throw"failed to load wasm binary file at '"+_n+"'";return T.arrayBuffer()}).catch(function(){return ti(_n)})}().then(function(Pt){return WebAssembly.instantiate(Pt,T)}).then(function(Pt){return Pt}).then(kt,function(Pt){Te("failed to asynchronously prepare wasm: "+Pt),Dn(Pt)})}if(en(),M.instantiateWasm)try{return M.instantiateWasm(T,I)}catch(kt){return Te("Module.instantiateWasm callback failed with error: "+kt),!1}return function ct(){return Ze||"function"!=typeof WebAssembly.instantiateStreaming||Di(_n)||"function"!=typeof fetch?Q(U):fetch(_n,{credentials:"same-origin"}).then(function(kt){return WebAssembly.instantiateStreaming(kt,T).then(U,function(ae){return Te("wasm streaming compile failed: "+ae),Te("falling back to ArrayBuffer instantiation"),Q(U)})})}().catch(It),{}})(),M.___wasm_call_ctors=function(){return(M.___wasm_call_ctors=M.asm.n).apply(null,arguments)};var Nn,nt=M._emscripten_bind_CExpat_CExpat_0=function(){return(nt=M._emscripten_bind_CExpat_CExpat_0=M.asm.o).apply(null,arguments)},_t=M._emscripten_bind_CExpat_version_0=function(){return(_t=M._emscripten_bind_CExpat_version_0=M.asm.p).apply(null,arguments)},gt=M._emscripten_bind_CExpat_create_0=function(){return(gt=M._emscripten_bind_CExpat_create_0=M.asm.q).apply(null,arguments)},St=M._emscripten_bind_CExpat_destroy_0=function(){return(St=M._emscripten_bind_CExpat_destroy_0=M.asm.r).apply(null,arguments)},zt=M._emscripten_bind_CExpat_parse_1=function(){return(zt=M._emscripten_bind_CExpat_parse_1=M.asm.s).apply(null,arguments)},ee=M._emscripten_bind_CExpat_tag_0=function(){return(ee=M._emscripten_bind_CExpat_tag_0=M.asm.t).apply(null,arguments)},Qt=M._emscripten_bind_CExpat_attrs_0=function(){return(Qt=M._emscripten_bind_CExpat_attrs_0=M.asm.u).apply(null,arguments)},me=M._emscripten_bind_CExpat_content_0=function(){return(me=M._emscripten_bind_CExpat_content_0=M.asm.v).apply(null,arguments)},ye=M._emscripten_bind_CExpat_startElement_0=function(){return(ye=M._emscripten_bind_CExpat_startElement_0=M.asm.w).apply(null,arguments)},Wt=M._emscripten_bind_CExpat_endElement_0=function(){return(Wt=M._emscripten_bind_CExpat_endElement_0=M.asm.x).apply(null,arguments)},oe=M._emscripten_bind_CExpat_characterData_0=function(){return(oe=M._emscripten_bind_CExpat_characterData_0=M.asm.y).apply(null,arguments)},Oe=M._emscripten_bind_CExpat___destroy___0=function(){return(Oe=M._emscripten_bind_CExpat___destroy___0=M.asm.z).apply(null,arguments)},Ee=M._emscripten_bind_VoidPtr___destroy___0=function(){return(Ee=M._emscripten_bind_VoidPtr___destroy___0=M.asm.A).apply(null,arguments)},$e=M._emscripten_bind_CExpatJS_CExpatJS_0=function(){return($e=M._emscripten_bind_CExpatJS_CExpatJS_0=M.asm.B).apply(null,arguments)},Wn=M._emscripten_bind_CExpatJS_startElement_0=function(){return(Wn=M._emscripten_bind_CExpatJS_startElement_0=M.asm.C).apply(null,arguments)},On=M._emscripten_bind_CExpatJS_endElement_0=function(){return(On=M._emscripten_bind_CExpatJS_endElement_0=M.asm.D).apply(null,arguments)},An=M._emscripten_bind_CExpatJS_characterData_0=function(){return(An=M._emscripten_bind_CExpatJS_characterData_0=M.asm.E).apply(null,arguments)},we=M._emscripten_bind_CExpatJS___destroy___0=function(){return(we=M._emscripten_bind_CExpatJS___destroy___0=M.asm.F).apply(null,arguments)};function Jn(T){function I(){Nn||(Nn=!0,M.calledRun=!0,!Pe&&(function jn(){!M.noFSInit&&!E.init.initialized&&E.init(),E.ignorePermissions=!1,ui(Kn)}(),ft(M),M.onRuntimeInitialized&&M.onRuntimeInitialized(),function Tt(){if(M.postRun)for("function"==typeof M.postRun&&(M.postRun=[M.postRun]);M.postRun.length;)T=M.postRun.shift(),Me.unshift(T);var T;ui(Me)}()))}ve>0||(function $n(){if(M.preRun)for("function"==typeof M.preRun&&(M.preRun=[M.preRun]);M.preRun.length;)T=M.preRun.shift(),Hn.unshift(T);var T;ui(Hn)}(),ve>0)||(M.setStatus?(M.setStatus("Running..."),setTimeout(function(){setTimeout(function(){M.setStatus("")},1),I()},1)):I())}if(M._malloc=function(){return(M._malloc=M.asm.H).apply(null,arguments)},Be=function T(){Nn||Jn(),Nn||(Be=T)},M.run=Jn,M.preInit)for("function"==typeof M.preInit&&(M.preInit=[M.preInit]);M.preInit.length>0;)M.preInit.pop()();function sn(){}function on(T){return(T||sn).__cache__}function Un(T,I){var U=on(I),Q=U[T];return Q||((Q=Object.create((I||sn).prototype)).ptr=T,U[T]=Q)}Jn(),(sn.prototype=Object.create(sn.prototype)).constructor=sn,sn.prototype.__class__=sn,sn.__cache__={},M.WrapperObject=sn,M.getCache=on,M.wrapPointer=Un,M.castObject=function Vi(T,I){return Un(T.ptr,I)},M.NULL=Un(0),M.destroy=function hi(T){if(!T.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";T.__destroy__(),delete on(T.__class__)[T.ptr]},M.compare=function zi(T,I){return T.ptr===I.ptr},M.getPointer=function Qn(T){return T.ptr},M.getClass=function Ai(T){return T.__class__};var ln={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(ln.needed){for(var T=0;T=ln.size?(mn(Q>0),ln.needed+=Q,ct=M._malloc(Q),ln.temps.push(ct)):(ct=ln.buffer+ln.pos,ln.pos+=Q),ct},copy:function(T,I,U){switch(U>>>=0,I.BYTES_PER_ELEMENT){case 2:U>>>=1;break;case 4:U>>>=2;break;case 8:U>>>=3}for(var ct=0;ct=$);)++dt;if(dt-D>16&&y.subarray&&ni)return ni.decode(y.subarray(D,dt));for(var Et="";D>10,56320|1023&He)}}else Et+=String.fromCharCode((31&Lt)<<6|Vt)}else Et+=String.fromCharCode(Lt)}return Et}function an(y,D){return y?Yn(Hn,y,D):""}function je(y,D,B,$){if(!($>0))return 0;for(var dt=B,Et=B+$-1,Lt=0;Lt=55296&&Vt<=57343&&(Vt=65536+((1023&Vt)<<10)|1023&y.charCodeAt(++Lt)),Vt<=127){if(B>=Et)break;D[B++]=Vt}else if(Vt<=2047){if(B+1>=Et)break;D[B++]=192|Vt>>6,D[B++]=128|63&Vt}else if(Vt<=65535){if(B+2>=Et)break;D[B++]=224|Vt>>12,D[B++]=128|Vt>>6&63,D[B++]=128|63&Vt}else{if(B+3>=Et)break;D[B++]=240|Vt>>18,D[B++]=128|Vt>>12&63,D[B++]=128|Vt>>6&63,D[B++]=128|63&Vt}}return D[B]=0,B-dt}function En(y){for(var D=0,B=0;B=55296&&$<=57343&&($=65536+((1023&$)<<10)|1023&y.charCodeAt(++B)),$<=127?++D:D+=$<=2047?2:$<=65535?3:4}return D}function ci(y,D){return y%D>0&&(y+=D-y%D),y}function jn(y){Rn=y,M.HEAP8=vn=new Int8Array(y),M.HEAP16=Kn=new Int16Array(y),M.HEAP32=Me=new Int32Array(y),M.HEAPU8=Hn=new Uint8Array(y),M.HEAPU16=new Uint16Array(y),M.HEAPU32=new Uint32Array(y),M.HEAPF32=new Float32Array(y),M.HEAPF64=$n=new Float64Array(y)}var Tt,Gt=[],se=[],fe=[];var _n=0,ti=null;function In(y){_n++,M.monitorRunDependencies&&M.monitorRunDependencies(_n)}function cn(y){if(_n--,M.monitorRunDependencies&&M.monitorRunDependencies(_n),0==_n&&ti){var D=ti;ti=null,D()}}function Tn(y){M.onAbort&&M.onAbort(y),Ze(y="Aborted("+y+")"),gn=!0,y+=". Build with -s ASSERTIONS=1 for more info.";var D=new WebAssembly.RuntimeError(y);throw It(D),D}M.preloadedImages={},M.preloadedAudios={};var Mn;function ui(y){return y.startsWith("data:application/octet-stream;base64,")}function Le(y){try{if(y==Mn&&Ve)return new Uint8Array(Ve);throw"both async and sync fetching of the wasm failed"}catch(D){Tn(D)}}ui(Mn="graphvizlib.wasm")||(Mn=function Nt(y){return M.locateFile?M.locateFile(y,pt):pt+y}(Mn));var fn,V,At,X={161580:function(y,D){var B=an(y),$=an(D);O.createPath("/",qt.dirname(B)),O.writeFile(qt.join("/",B),$)}};function ht(y){for(;y.length>0;){var D=y.shift();if("function"!=typeof D){var B=D.func;"number"==typeof B?void 0===D.arg?E(B)():E(B)(D.arg):B(void 0===D.arg?null:D.arg)}else D(M)}}function E(y){return Tt.get(y)}At=function(){return performance.now()};function Bt(y){return Me[kt()>>2]=y,y}var qt={splitPath:function(y){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(y).slice(1)},normalizeArray:function(y,D){for(var B=0,$=y.length-1;$>=0;$--){var dt=y[$];"."===dt?y.splice($,1):".."===dt?(y.splice($,1),B++):B&&(y.splice($,1),B--)}if(D)for(;B;B--)y.unshift("..");return y},normalize:function(y){var D="/"===y.charAt(0),B="/"===y.substr(-1);return!(y=qt.normalizeArray(y.split("/").filter(function($){return!!$}),!D).join("/"))&&!D&&(y="."),y&&B&&(y+="/"),(D?"/":"")+y},dirname:function(y){var D=qt.splitPath(y),B=D[0],$=D[1];return B||$?($&&($=$.substr(0,$.length-1)),B+$):"."},basename:function(y){if("/"===y)return"/";var D=(y=(y=qt.normalize(y)).replace(/\/$/,"")).lastIndexOf("/");return-1===D?y:y.substr(D+1)},extname:function(y){return qt.splitPath(y)[3]},join:function(){var y=Array.prototype.slice.call(arguments,0);return qt.normalize(y.join("/"))},join2:function(y,D){return qt.normalize(y+"/"+D)}};var mt={resolve:function(){for(var y="",D=!1,B=arguments.length-1;B>=-1&&!D;B--){var $=B>=0?arguments[B]:O.cwd();if("string"!=typeof $)throw new TypeError("Arguments to path.resolve must be strings");if(!$)return"";y=$+"/"+y,D="/"===$.charAt(0)}return(D?"/":"")+(y=qt.normalizeArray(y.split("/").filter(function(dt){return!!dt}),!D).join("/"))||"."},relative:function(y,D){function B(He){for(var un=0;un=0&&""===He[bn];bn--);return un>bn?[]:He.slice(un,bn-un+1)}y=mt.resolve(y).substr(1),D=mt.resolve(D).substr(1);for(var $=B(y.split("/")),dt=B(D.split("/")),Et=Math.min($.length,dt.length),Lt=Et,Vt=0;Vt0&&(Te(Yn(y.output,0)),y.output=[])}},default_tty1_ops:{put_char:function(y,D){null===D||10===D?(Ze(Yn(y.output,0)),y.output=[]):0!=D&&y.output.push(D)},flush:function(y){y.output&&y.output.length>0&&(Ze(Yn(y.output,0)),y.output=[])}}};function te(y){y=function Xt(y,D){return Math.ceil(y/D)*D}(y,65536);var D=Ge(65536,y);return D?(function wt(y,D){Hn.fill(0,y,y+D)}(D,y),D):0}var Dt={ops_table:null,mount:function(y){return Dt.createNode(null,"/",16895,0)},createNode:function(y,D,B,$){if(O.isBlkdev(B)||O.isFIFO(B))throw new O.ErrnoError(63);Dt.ops_table||(Dt.ops_table={dir:{node:{getattr:Dt.node_ops.getattr,setattr:Dt.node_ops.setattr,lookup:Dt.node_ops.lookup,mknod:Dt.node_ops.mknod,rename:Dt.node_ops.rename,unlink:Dt.node_ops.unlink,rmdir:Dt.node_ops.rmdir,readdir:Dt.node_ops.readdir,symlink:Dt.node_ops.symlink},stream:{llseek:Dt.stream_ops.llseek}},file:{node:{getattr:Dt.node_ops.getattr,setattr:Dt.node_ops.setattr},stream:{llseek:Dt.stream_ops.llseek,read:Dt.stream_ops.read,write:Dt.stream_ops.write,allocate:Dt.stream_ops.allocate,mmap:Dt.stream_ops.mmap,msync:Dt.stream_ops.msync}},link:{node:{getattr:Dt.node_ops.getattr,setattr:Dt.node_ops.setattr,readlink:Dt.node_ops.readlink},stream:{}},chrdev:{node:{getattr:Dt.node_ops.getattr,setattr:Dt.node_ops.setattr},stream:O.chrdev_stream_ops}});var dt=O.createNode(y,D,B,$);return O.isDir(dt.mode)?(dt.node_ops=Dt.ops_table.dir.node,dt.stream_ops=Dt.ops_table.dir.stream,dt.contents={}):O.isFile(dt.mode)?(dt.node_ops=Dt.ops_table.file.node,dt.stream_ops=Dt.ops_table.file.stream,dt.usedBytes=0,dt.contents=null):O.isLink(dt.mode)?(dt.node_ops=Dt.ops_table.link.node,dt.stream_ops=Dt.ops_table.link.stream):O.isChrdev(dt.mode)&&(dt.node_ops=Dt.ops_table.chrdev.node,dt.stream_ops=Dt.ops_table.chrdev.stream),dt.timestamp=Date.now(),y&&(y.contents[D]=dt,y.timestamp=dt.timestamp),dt},getFileDataAsTypedArray:function(y){return y.contents?y.contents.subarray?y.contents.subarray(0,y.usedBytes):new Uint8Array(y.contents):new Uint8Array(0)},expandFileStorage:function(y,D){var B=y.contents?y.contents.length:0;if(!(B>=D)){D=Math.max(D,B*(B<1048576?2:1.125)>>>0),0!=B&&(D=Math.max(D,256));var dt=y.contents;y.contents=new Uint8Array(D),y.usedBytes>0&&y.contents.set(dt.subarray(0,y.usedBytes),0)}},resizeFileStorage:function(y,D){if(y.usedBytes!=D)if(0==D)y.contents=null,y.usedBytes=0;else{var B=y.contents;y.contents=new Uint8Array(D),B&&y.contents.set(B.subarray(0,Math.min(D,y.usedBytes))),y.usedBytes=D}},node_ops:{getattr:function(y){var D={};return D.dev=O.isChrdev(y.mode)?y.id:1,D.ino=y.id,D.mode=y.mode,D.nlink=1,D.uid=0,D.gid=0,D.rdev=y.rdev,D.size=O.isDir(y.mode)?4096:O.isFile(y.mode)?y.usedBytes:O.isLink(y.mode)?y.link.length:0,D.atime=new Date(y.timestamp),D.mtime=new Date(y.timestamp),D.ctime=new Date(y.timestamp),D.blksize=4096,D.blocks=Math.ceil(D.size/D.blksize),D},setattr:function(y,D){void 0!==D.mode&&(y.mode=D.mode),void 0!==D.timestamp&&(y.timestamp=D.timestamp),void 0!==D.size&&Dt.resizeFileStorage(y,D.size)},lookup:function(y,D){throw O.genericErrors[44]},mknod:function(y,D,B,$){return Dt.createNode(y,D,B,$)},rename:function(y,D,B){if(O.isDir(y.mode)){var $;try{$=O.lookupNode(D,B)}catch(Et){}if($)for(var dt in $.contents)throw new O.ErrnoError(55)}delete y.parent.contents[y.name],y.parent.timestamp=Date.now(),y.name=B,D.contents[B]=y,D.timestamp=y.parent.timestamp,y.parent=D},unlink:function(y,D){delete y.contents[D],y.timestamp=Date.now()},rmdir:function(y,D){var B=O.lookupNode(y,D);for(var $ in B.contents)throw new O.ErrnoError(55);delete y.contents[D],y.timestamp=Date.now()},readdir:function(y){var D=[".",".."];for(var B in y.contents)!y.contents.hasOwnProperty(B)||D.push(B);return D},symlink:function(y,D,B){var $=Dt.createNode(y,D,41471,0);return $.link=B,$},readlink:function(y){if(!O.isLink(y.mode))throw new O.ErrnoError(28);return y.link}},stream_ops:{read:function(y,D,B,$,dt){var Et=y.node.contents;if(dt>=y.node.usedBytes)return 0;var Lt=Math.min(y.node.usedBytes-dt,$);if(Lt>8&&Et.subarray)D.set(Et.subarray(dt,dt+Lt),B);else for(var Vt=0;Vt0||$+B8)throw new O.ErrnoError(32);for(var dt=qt.normalizeArray(y.split("/").filter(function(Je){return!!Je}),!1),Et=O.root,Lt="/",Vt=0;Vt40)throw new O.ErrnoError(32)}}return{path:Lt,node:Et}},getPath:function(y){for(var D;;){if(O.isRoot(y)){var B=y.mount.mountpoint;return D?"/"!==B[B.length-1]?B+"/"+D:B+D:B}D=D?y.name+"/"+D:y.name,y=y.parent}},hashName:function(y,D){for(var B=0,$=0;$>>0)%O.nameTable.length},hashAddNode:function(y){var D=O.hashName(y.parent.id,y.name);y.name_next=O.nameTable[D],O.nameTable[D]=y},hashRemoveNode:function(y){var D=O.hashName(y.parent.id,y.name);if(O.nameTable[D]===y)O.nameTable[D]=y.name_next;else for(var B=O.nameTable[D];B;){if(B.name_next===y){B.name_next=y.name_next;break}B=B.name_next}},lookupNode:function(y,D){var B=O.mayLookup(y);if(B)throw new O.ErrnoError(B,y);for(var $=O.hashName(y.id,D),dt=O.nameTable[$];dt;dt=dt.name_next)if(dt.parent.id===y.id&&dt.name===D)return dt;return O.lookup(y,D)},createNode:function(y,D,B,$){var dt=new O.FSNode(y,D,B,$);return O.hashAddNode(dt),dt},destroyNode:function(y){O.hashRemoveNode(y)},isRoot:function(y){return y===y.parent},isMountpoint:function(y){return!!y.mounted},isFile:function(y){return 32768==(61440&y)},isDir:function(y){return 16384==(61440&y)},isLink:function(y){return 40960==(61440&y)},isChrdev:function(y){return 8192==(61440&y)},isBlkdev:function(y){return 24576==(61440&y)},isFIFO:function(y){return 4096==(61440&y)},isSocket:function(y){return 49152==(49152&y)},flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags:function(y){var D=O.flagModes[y];if(void 0===D)throw new Error("Unknown file open mode: "+y);return D},flagsToPermissionString:function(y){var D=["r","w","rw"][3&y];return 512&y&&(D+="w"),D},nodePermissions:function(y,D){return O.ignorePermissions?0:D.includes("r")&&!(292&y.mode)||D.includes("w")&&!(146&y.mode)||D.includes("x")&&!(73&y.mode)?2:0},mayLookup:function(y){return O.nodePermissions(y,"x")||(y.node_ops.lookup?0:2)},mayCreate:function(y,D){try{return O.lookupNode(y,D),20}catch($){}return O.nodePermissions(y,"wx")},mayDelete:function(y,D,B){var $;try{$=O.lookupNode(y,D)}catch(Et){return Et.errno}var dt=O.nodePermissions(y,"wx");if(dt)return dt;if(B){if(!O.isDir($.mode))return 54;if(O.isRoot($)||O.getPath($)===O.cwd())return 10}else if(O.isDir($.mode))return 31;return 0},mayOpen:function(y,D){return y?O.isLink(y.mode)?32:O.isDir(y.mode)&&("r"!==O.flagsToPermissionString(D)||512&D)?31:O.nodePermissions(y,O.flagsToPermissionString(D)):44},MAX_OPEN_FDS:4096,nextfd:function(y,D){D=D||O.MAX_OPEN_FDS;for(var B=y=y||0;B<=D;B++)if(!O.streams[B])return B;throw new O.ErrnoError(33)},getStream:function(y){return O.streams[y]},createStream:function(y,D,B){O.FSStream||(O.FSStream=function(){},O.FSStream.prototype={object:{get:function(){return this.node},set:function(Lt){this.node=Lt}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}});var $=new O.FSStream;for(var dt in y)$[dt]=y[dt];y=$;var Et=O.nextfd(D,B);return y.fd=Et,O.streams[Et]=y,y},closeStream:function(y){O.streams[y]=null},chrdev_stream_ops:{open:function(y){var D=O.getDevice(y.node.rdev);y.stream_ops=D.stream_ops,y.stream_ops.open&&y.stream_ops.open(y)},llseek:function(){throw new O.ErrnoError(70)}},major:function(y){return y>>8},minor:function(y){return 255&y},makedev:function(y,D){return y<<8|D},registerDevice:function(y,D){O.devices[y]={stream_ops:D}},getDevice:function(y){return O.devices[y]},getMounts:function(y){for(var D=[],B=[y];B.length;){var $=B.pop();D.push($),B.push.apply(B,$.mounts)}return D},syncfs:function(y,D){"function"==typeof y&&(D=y,y=!1),O.syncFSRequests++,O.syncFSRequests>1&&Ze("warning: "+O.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var B=O.getMounts(O.root.mount),$=0;function dt(Lt){return O.syncFSRequests--,D(Lt)}function Et(Lt){if(Lt)return Et.errored?void 0:(Et.errored=!0,dt(Lt));++$>=B.length&&dt(null)}B.forEach(function(Lt){if(!Lt.type.syncfs)return Et(null);Lt.type.syncfs(Lt,y,Et)})},mount:function(y,D,B){var Et,$="/"===B,dt=!B;if($&&O.root)throw new O.ErrnoError(10);if(!$&&!dt){var Lt=O.lookupPath(B,{follow_mount:!1});if(B=Lt.path,O.isMountpoint(Et=Lt.node))throw new O.ErrnoError(10);if(!O.isDir(Et.mode))throw new O.ErrnoError(54)}var Vt={type:y,opts:D,mountpoint:B,mounts:[]},ce=y.mount(Vt);return ce.mount=Vt,Vt.root=ce,$?O.root=ce:Et&&(Et.mounted=Vt,Et.mount&&Et.mount.mounts.push(Vt)),ce},unmount:function(y){var D=O.lookupPath(y,{follow_mount:!1});if(!O.isMountpoint(D.node))throw new O.ErrnoError(28);var B=D.node,$=B.mounted,dt=O.getMounts($);Object.keys(O.nameTable).forEach(function(Lt){for(var Vt=O.nameTable[Lt];Vt;){var ce=Vt.name_next;dt.includes(Vt.mount)&&O.destroyNode(Vt),Vt=ce}}),B.mounted=null;var Et=B.mount.mounts.indexOf($);B.mount.mounts.splice(Et,1)},lookup:function(y,D){return y.node_ops.lookup(y,D)},mknod:function(y,D,B){var dt=O.lookupPath(y,{parent:!0}).node,Et=qt.basename(y);if(!Et||"."===Et||".."===Et)throw new O.ErrnoError(28);var Lt=O.mayCreate(dt,Et);if(Lt)throw new O.ErrnoError(Lt);if(!dt.node_ops.mknod)throw new O.ErrnoError(63);return dt.node_ops.mknod(dt,Et,D,B)},create:function(y,D){return D=void 0!==D?D:438,D&=4095,O.mknod(y,D|=32768,0)},mkdir:function(y,D){return D=void 0!==D?D:511,D&=1023,O.mknod(y,D|=16384,0)},mkdirTree:function(y,D){for(var B=y.split("/"),$="",dt=0;dtthis.length-1||Je<0)){var Ke=Je%this.chunkSize;return this.getter(Je/this.chunkSize|0)[Ke]}},Et.prototype.setDataGetter=function(Je){this.getter=Je},Et.prototype.cacheLength=function(){var Je=new XMLHttpRequest;if(Je.open("HEAD",B,!1),Je.send(null),!(Je.status>=200&&Je.status<300||304===Je.status))throw new Error("Couldn't load "+B+". Status: "+Je.status);var Ln,Ke=Number(Je.getResponseHeader("Content-length")),Pi=(Ln=Je.getResponseHeader("Accept-Ranges"))&&"bytes"===Ln,Tr=(Ln=Je.getResponseHeader("Content-Encoding"))&&"gzip"===Ln,Ri=1048576;Pi||(Ri=Ke);var ki=this;ki.setDataGetter(function($i){var br=$i*Ri,gi=($i+1)*Ri-1;if(gi=Math.min(gi,Ke-1),void 0===ki.chunks[$i]&&(ki.chunks[$i]=function($i,br){if($i>br)throw new Error("invalid range ("+$i+", "+br+") or no bytes requested!");if(br>Ke-1)throw new Error("only "+Ke+" bytes available! programmer error!");var gi=new XMLHttpRequest;if(gi.open("GET",B,!1),Ke!==Ri&&gi.setRequestHeader("Range","bytes="+$i+"-"+br),"undefined"!=typeof Uint8Array&&(gi.responseType="arraybuffer"),gi.overrideMimeType&&gi.overrideMimeType("text/plain; charset=x-user-defined"),gi.send(null),!(gi.status>=200&&gi.status<300||304===gi.status))throw new Error("Couldn't load "+B+". Status: "+gi.status);return void 0!==gi.response?new Uint8Array(gi.response||[]):Yi(gi.responseText||"",!0)}(br,gi)),void 0===ki.chunks[$i])throw new Error("doXHR failed!");return ki.chunks[$i]}),(Tr||!Ke)&&(Ri=Ke=1,Ke=this.getter(0).length,Ri=Ke,Te("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=Ke,this._chunkSize=Ri,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var Vt,ce=O.createFile(y,D,Vt={isDevice:!1,url:B},$,dt);Vt.contents?ce.contents=Vt.contents:Vt.url&&(ce.contents=null,ce.url=Vt.url),Object.defineProperties(ce,{usedBytes:{get:function(){return this.contents.length}}});var He={};return Object.keys(ce.stream_ops).forEach(function(bn){var Je=ce.stream_ops[bn];He[bn]=function(){return O.forceLoadFile(ce),Je.apply(null,arguments)}}),He.read=function(Je,Ke,Ln,Pi,Tr){O.forceLoadFile(ce);var Ri=Je.node.contents;if(Tr>=Ri.length)return 0;var kr=Math.min(Ri.length-Tr,Pi);if(Ri.slice)for(var ki=0;ki>2]=$.dev,Me[B+4>>2]=0,Me[B+8>>2]=$.ino,Me[B+12>>2]=$.mode,Me[B+16>>2]=$.nlink,Me[B+20>>2]=$.uid,Me[B+24>>2]=$.gid,Me[B+28>>2]=$.rdev,Me[B+32>>2]=0,V=[$.size>>>0,(fn=$.size,+Math.abs(fn)>=1?fn>0?(0|Math.min(+Math.floor(fn/4294967296),4294967295))>>>0:~~+Math.ceil((fn-+(~~fn>>>0))/4294967296)>>>0:0)],Me[B+40>>2]=V[0],Me[B+44>>2]=V[1],Me[B+48>>2]=4096,Me[B+52>>2]=$.blocks,Me[B+56>>2]=$.atime.getTime()/1e3|0,Me[B+60>>2]=0,Me[B+64>>2]=$.mtime.getTime()/1e3|0,Me[B+68>>2]=0,Me[B+72>>2]=$.ctime.getTime()/1e3|0,Me[B+76>>2]=0,V=[$.ino>>>0,(fn=$.ino,+Math.abs(fn)>=1?fn>0?(0|Math.min(+Math.floor(fn/4294967296),4294967295))>>>0:~~+Math.ceil((fn-+(~~fn>>>0))/4294967296)>>>0:0)],Me[B+80>>2]=V[0],Me[B+84>>2]=V[1],0},doMsync:function(y,D,B,$,dt){var Et=Hn.slice(y,y+B);O.msync(D,Et,dt,B,$)},doMkdir:function(y,D){return"/"===(y=qt.normalize(y))[y.length-1]&&(y=y.substr(0,y.length-1)),O.mkdir(y,D,0),0},doMknod:function(y,D,B){switch(61440&D){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return O.mknod(y,D,B),0},doReadlink:function(y,D,B){if(B<=0)return-28;var $=O.readlink(y),dt=Math.min(B,En($)),Et=vn[D+dt];return function dn(y,D,B){return je(y,Hn,D,B)}($,D,B+1),vn[D+dt]=Et,dt},doAccess:function(y,D){if(-8&D)return-28;var $=O.lookupPath(y,{follow:!0}).node;if(!$)return-44;var dt="";return 4&D&&(dt+="r"),2&D&&(dt+="w"),1&D&&(dt+="x"),dt&&O.nodePermissions($,dt)?-2:0},doDup:function(y,D,B){var $=O.getStream(B);return $&&O.close($),O.open(y,D,0,B,B).fd},doReadv:function(y,D,B,$){for(var dt=0,Et=0;Et>2],ce=O.read(y,vn,Me[D+8*Et>>2],Vt,$);if(ce<0)return-1;if(dt+=ce,ce>2],Me[D+(8*Et+4)>>2],$);if(ce<0)return-1;dt+=ce}return dt},varargs:void 0,get:function(){return le.varargs+=4,Me[le.varargs-4>>2]},getStr:function(y){return an(y)},getStreamFromFD:function(y){var D=O.getStream(y);if(!D)throw new O.ErrnoError(8);return D},get64:function(y,D){return y}};var Qt=[];function oe(y){try{return de.grow(y-Rn.byteLength+65535>>>16),jn(de.buffer),1}catch(D){}}var Ee={};function Wn(){if(!Wn.strings){var D={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:ie||"./this.program"};for(var B in Ee)void 0===Ee[B]?delete D[B]:D[B]=Ee[B];var $=[];for(var B in D)$.push(B+"="+D[B]);Wn.strings=$}return Wn.strings}var Qn=function(y,D,B,$){y||(y=this),this.parent=y,this.mount=y.mount,this.mounted=null,this.id=O.nextInode++,this.name=D,this.mode=B,this.node_ops={},this.stream_ops={},this.rdev=$};function Yi(y,D,B){var $=B>0?B:En(y)+1,dt=new Array($),Et=je(y,dt,0,dt.length);return D&&(dt.length=Et),dt}Object.defineProperties(Qn.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(y){y?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(y){y?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return O.isDir(this.mode)}},isDevice:{get:function(){return O.isChrdev(this.mode)}}}),O.FSNode=Qn,O.staticInit();var Ft={A:function re(y,D){return function Ht(y,D){var B;if(0===y)B=Date.now();else{if(1!==y&&4!==y)return Bt(28),-1;B=At()}return Me[D>>2]=B/1e3|0,Me[D+4>>2]=B%1e3*1e3*1e3|0,0}(y,D)},B:function ke(y,D){try{return y=le.getStr(y),le.doAccess(y,D)}catch(B){if(void 0===O||!(B instanceof O.ErrnoError))throw B;return-B.errno}},h:function Ie(y,D,B){le.varargs=B;try{var $=le.getStreamFromFD(y);switch(D){case 0:return(dt=le.get())<0?-28:O.open($.path,$.flags,0,dt).fd;case 1:case 2:case 6:case 7:return 0;case 3:return $.flags;case 4:var dt=le.get();return $.flags|=dt,0;case 5:return dt=le.get(),Kn[dt+0>>1]=2,0;case 16:case 8:default:return-28;case 9:return Bt(28),-1}}catch(Vt){if(void 0===O||!(Vt instanceof O.ErrnoError))throw Vt;return-Vt.errno}},x:function nn(y,D){try{var B=le.getStreamFromFD(y);return le.doStat(O.stat,B.path,D)}catch($){if(void 0===O||!($ instanceof O.ErrnoError))throw $;return-$.errno}},u:function ze(y,D,B,$){try{D=le.getStr(D);var dt=256&$,Et=4096&$;return $&=-4353,D=le.calculateAt(y,D,Et),le.doStat(dt?O.lstat:O.stat,D,B)}catch(Lt){if(void 0===O||!(Lt instanceof O.ErrnoError))throw Lt;return-Lt.errno}},y:function We(y,D,B){le.varargs=B;try{var $=le.getStreamFromFD(y);switch(D){case 21509:case 21505:case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:case 21523:case 21524:return $.tty?0:-59;case 21519:if(!$.tty)return-59;var dt=le.get();return Me[dt>>2]=0,0;case 21520:return $.tty?-28:-59;case 21531:return dt=le.get(),O.ioctl($,D,dt);default:Tn("bad ioctl syscall "+D)}}catch(Et){if(void 0===O||!(Et instanceof O.ErrnoError))throw Et;return-Et.errno}},k:function xe(y,D,B,$,dt,Et){try{return function pe(y,D,B,$,dt,Et){Et<<=12;var Lt,Vt=!1;if(0!=(16&$)&&y%65536!=0)return-28;if(0!=(32&$)){if(!(Lt=te(D)))return-48;Vt=!0}else{var ce=O.getStream(dt);if(!ce)return-8;var He=O.mmap(ce,y,D,Et,B,$);Lt=He.ptr,Vt=He.allocated}return le.mappings[Lt]={malloc:Lt,len:D,allocated:Vt,fd:dt,prot:B,flags:$,offset:Et},Lt}(y,D,B,$,dt,Et)}catch(Lt){if(void 0===O||!(Lt instanceof O.ErrnoError))throw Lt;return-Lt.errno}},j:function nt(y,D){try{return function Xe(y,D){var B=le.mappings[y];if(0===D||!B)return-28;if(D===B.len){var $=O.getStream(B.fd);$&&2&B.prot&&le.doMsync(y,$,D,B.flags,B.offset),le.mappings[y]=null,B.allocated&&yt(B.malloc)}return 0}(y,D)}catch(B){if(void 0===O||!(B instanceof O.ErrnoError))throw B;return-B.errno}},e:function _t(y,D,B){le.varargs=B;try{var $=le.getStr(y),dt=B?le.get():0;return O.open($,D,dt).fd}catch(Lt){if(void 0===O||!(Lt instanceof O.ErrnoError))throw Lt;return-Lt.errno}},v:function gt(y,D){try{return y=le.getStr(y),le.doStat(O.stat,y,D)}catch(B){if(void 0===O||!(B instanceof O.ErrnoError))throw B;return-B.errno}},z:function St(y){try{return y=le.getStr(y),O.unlink(y),0}catch(D){if(void 0===O||!(D instanceof O.ErrnoError))throw D;return-D.errno}},r:function zt(){throw"longjmp"},q:function ee(){Tn("")},C:function ye(y,D,B){var $=function me(y,D){var B;for(Qt.length=0,D>>=2;B=Hn[y++];){var $=B<105;$&&1&D&&D++,Qt.push($?$n[D++>>1]:Me[D]),++D}return Qt}(D,B);return X[y].apply(null,$)},o:function Wt(y,D,B){Hn.copyWithin(y,D,D+B)},p:function Oe(y){var D=Hn.length,B=2147483648;if((y>>>=0)>B)return!1;for(var $=1;$<=4;$*=2){var dt=D*(1+.2/$);if(dt=Math.min(dt,y+100663296),oe(Math.min(B,ci(Math.max(y,dt),65536))))return!0}return!1},s:function On(y,D){var B=0;return Wn().forEach(function($,dt){var Et=D+B;Me[y+4*dt>>2]=Et,function Ue(y,D,B){for(var $=0;$>0]=y.charCodeAt($);B||(vn[D>>0]=0)}($,Et),B+=$.length+1}),0},t:function An(y,D){var B=Wn();Me[y>>2]=B.length;var $=0;return B.forEach(function(dt){$+=dt.length+1}),Me[D>>2]=$,0},a:function we(y){!function rr(y,D){!function Li(y){(function Be(){return kn||!1})()||(M.onExit&&M.onExit(y),gn=!0),Ut(y,new wn(y))}(y)}(y)},d:function Nn(y){try{var D=le.getStreamFromFD(y);return O.close(D),0}catch(B){if(void 0===O||!(B instanceof O.ErrnoError))throw B;return B.errno}},i:function Jn(y,D,B,$){try{var dt=le.getStreamFromFD(y),Et=le.doReadv(dt,D,B);return Me[$>>2]=Et,0}catch(Lt){if(void 0===O||!(Lt instanceof O.ErrnoError))throw Lt;return Lt.errno}},n:function sn(y,D,B,$,dt){try{var Et=le.getStreamFromFD(y),Vt=4294967296*B+(D>>>0),ce=9007199254740992;return Vt<=-ce||Vt>=ce?-61:(O.llseek(Et,Vt,$),V=[Et.position>>>0,(fn=Et.position,+Math.abs(fn)>=1?fn>0?(0|Math.min(+Math.floor(fn/4294967296),4294967295))>>>0:~~+Math.ceil((fn-+(~~fn>>>0))/4294967296)>>>0:0)],Me[dt>>2]=V[0],Me[dt+4>>2]=V[1],Et.getdents&&0===Vt&&0===$&&(Et.getdents=null),0)}catch(He){if(void 0===O||!(He instanceof O.ErrnoError))throw He;return He.errno}},g:function on(y,D,B,$){try{var dt=le.getStreamFromFD(y),Et=le.doWritev(dt,D,B);return Me[$>>2]=Et,0}catch(Lt){if(void 0===O||!(Lt instanceof O.ErrnoError))throw Lt;return Lt.errno}},c:function Un(){return yn},w:function Vi(y){var D=Date.now();return Me[y>>2]=D/1e3|0,Me[y+4>>2]=D%1e3*1e3|0,0},l:function Re(y,D,B,$,dt,Et,Lt){var Vt=Pt();try{return E(y)(D,B,$,dt,Et,Lt)}catch(ce){if(ae(Vt),ce!==ce+0&&"longjmp"!==ce)throw ce;De(1,0)}},m:function qe(y,D){var B=Pt();try{E(y)(D)}catch($){if(ae(B),$!==$+0&&"longjmp"!==$)throw $;De(1,0)}},b:function hi(y){!function(y){yn=y}(y)},f:function zi(y){var D=Date.now()/1e3|0;return y&&(Me[y>>2]=D),D}};(function Bn(){var y={a:Ft};function D(Lt,Vt){M.asm=Lt.exports,jn((de=M.asm.D).buffer),Tt=M.asm.M,function qn(y){se.unshift(y)}(M.asm.E),cn()}function B(Lt){D(Lt.instance)}function $(Lt){return function Ii(){return Ve||"function"!=typeof fetch?Promise.resolve().then(function(){return Le(Mn)}):fetch(Mn,{credentials:"same-origin"}).then(function(y){if(!y.ok)throw"failed to load wasm binary file at '"+Mn+"'";return y.arrayBuffer()}).catch(function(){return Le(Mn)})}().then(function(Vt){return WebAssembly.instantiate(Vt,y)}).then(function(Vt){return Vt}).then(Lt,function(Vt){Ze("failed to asynchronously prepare wasm: "+Vt),Tn(Vt)})}if(In(),M.instantiateWasm)try{return M.instantiateWasm(y,D)}catch(Lt){return Ze("Module.instantiateWasm callback failed with error: "+Lt),!1}return function dt(){return Ve||"function"!=typeof WebAssembly.instantiateStreaming||ui(Mn)||"function"!=typeof fetch?$(B):fetch(Mn,{credentials:"same-origin"}).then(function(Lt){return WebAssembly.instantiateStreaming(Lt,y).then(B,function(ce){return Ze("wasm streaming compile failed: "+ce),Ze("falling back to ArrayBuffer instantiation"),$(B)})})}().catch(It),{}})(),M.___wasm_call_ctors=function(){return(M.___wasm_call_ctors=M.asm.E).apply(null,arguments)};var Ce=M._emscripten_bind_VoidPtr___destroy___0=function(){return(Ce=M._emscripten_bind_VoidPtr___destroy___0=M.asm.F).apply(null,arguments)},jt=M._emscripten_bind_Graphviz_Graphviz_2=function(){return(jt=M._emscripten_bind_Graphviz_Graphviz_2=M.asm.G).apply(null,arguments)},T=M._emscripten_bind_Graphviz_version_0=function(){return(T=M._emscripten_bind_Graphviz_version_0=M.asm.H).apply(null,arguments)},I=M._emscripten_bind_Graphviz_lastError_0=function(){return(I=M._emscripten_bind_Graphviz_lastError_0=M.asm.I).apply(null,arguments)},U=M._emscripten_bind_Graphviz_layout_3=function(){return(U=M._emscripten_bind_Graphviz_layout_3=M.asm.J).apply(null,arguments)},Q=M._emscripten_bind_Graphviz_createFile_2=function(){return(Q=M._emscripten_bind_Graphviz_createFile_2=M.asm.K).apply(null,arguments)},ct=M._emscripten_bind_Graphviz___destroy___0=function(){return(ct=M._emscripten_bind_Graphviz___destroy___0=M.asm.L).apply(null,arguments)};M._malloc=function(){return(M._malloc=M.asm.N).apply(null,arguments)};var Ye,yt=M._free=function(){return(yt=M._free=M.asm.O).apply(null,arguments)},kt=M.___errno_location=function(){return(kt=M.___errno_location=M.asm.P).apply(null,arguments)},Pt=M.stackSave=function(){return(Pt=M.stackSave=M.asm.Q).apply(null,arguments)},ae=M.stackRestore=function(){return(ae=M.stackRestore=M.asm.R).apply(null,arguments)},De=M._setThrew=function(){return(De=M._setThrew=M.asm.S).apply(null,arguments)},Ge=M._memalign=function(){return(Ge=M._memalign=M.asm.T).apply(null,arguments)};function wn(y){this.name="ExitStatus",this.message="Program terminated with exit("+y+")",this.status=y}function di(y){function D(){Ye||(Ye=!0,M.calledRun=!0,!gn&&(function en(){!M.noFSInit&&!O.init.initialized&&O.init(),O.ignorePermissions=!1,ht(se)}(),ft(M),M.onRuntimeInitialized&&M.onRuntimeInitialized(),function Zn(){if(M.postRun)for("function"==typeof M.postRun&&(M.postRun=[M.postRun]);M.postRun.length;)y=M.postRun.shift(),fe.unshift(y);var y;ht(fe)}()))}_n>0||(function Ne(){if(M.preRun)for("function"==typeof M.preRun&&(M.preRun=[M.preRun]);M.preRun.length;)y=M.preRun.shift(),Gt.unshift(y);var y;ht(Gt)}(),_n>0)||(M.setStatus?(M.setStatus("Running..."),setTimeout(function(){setTimeout(function(){M.setStatus("")},1),D()},1)):D())}if(ti=function y(){Ye||di(),Ye||(ti=y)},M.run=di,M.preInit)for("function"==typeof M.preInit&&(M.preInit=[M.preInit]);M.preInit.length>0;)M.preInit.pop()();function fi(){}function ii(y){return(y||fi).__cache__}function Mi(y,D){var B=ii(D),$=B[y];return $||(($=Object.create((D||fi).prototype)).ptr=y,B[y]=$)}di(),(fi.prototype=Object.create(fi.prototype)).constructor=fi,fi.prototype.__class__=fi,fi.__cache__={},M.WrapperObject=fi,M.getCache=ii,M.wrapPointer=Mi,M.castObject=function ar(y,D){return Mi(y.ptr,D)},M.NULL=Mi(0),M.destroy=function si(y){if(!y.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";y.__destroy__(),delete ii(y.__class__)[y.ptr]},M.compare=function Sa(y,D){return y.ptr===D.ptr},M.getPointer=function as(y){return y.ptr},M.getClass=function ss(y){return y.__class__};var Fn={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Fn.needed){for(var y=0;y=Fn.size?(Xn($>0),Fn.needed+=$,dt=M._malloc($),Fn.temps.push(dt)):(dt=Fn.buffer+Fn.pos,Fn.pos+=$),dt},copy:function(y,D,B){switch(B>>>=0,D.BYTES_PER_ELEMENT){case 2:B>>>=1;break;case 4:B>>>=2;break;case 8:B>>>=3}for(var dt=0;dt\n\n')}}function ot(Y,K){var ut=H({images:[],files:[]},K);z(z([],ut.files,!0),function rt(Y){return Y.map(tt)}(ut.images),!0).forEach(function(it){return Y.createFile(it.path,it.data)})}var et={layout:function(Y,K,ut,it){return void 0===K&&(K="svg"),void 0===ut&&(ut="dot"),Y?d(Z,null==it?void 0:it.wasmFolder,null==it?void 0:it.wasmBinary).then(function(G){var M=new G.Graphviz(void 0!==(null==it?void 0:it.yInvert)&&(null==it?void 0:it.yInvert),void 0!==(null==it?void 0:it.nop)?null==it?void 0:it.nop:0);ot(M,it);var ft=M.layout(Y,K,ut);if(G.destroy(M),!ft)throw new Error(G.Graphviz.prototype.lastError());return ft}):Promise.resolve("")},circo:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"circo",ut)},dot:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"dot",ut)},fdp:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"fdp",ut)},sfdp:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"sfdp",ut)},neato:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"neato",ut)},osage:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"osage",ut)},patchwork:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"patchwork",ut)},twopi:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"twopi",ut)}},q=function(){function Y(K){this._wasm=K}return Y.prototype.layout=function(K,ut,it,G){if(void 0===ut&&(ut="svg"),void 0===it&&(it="dot"),!K)return"";var M=new this._wasm.Graphviz((null==G?void 0:G.yInvert)?1:0,(null==G?void 0:G.nop)?null==G?void 0:G.nop:0);ot(M,G);var ft=M.layout(K,ut,it);if(this._wasm.destroy(M),!ft)throw new Error(this._wasm.Graphviz.prototype.lastError());return ft},Y.prototype.circo=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"circo",it)},Y.prototype.dot=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"dot",it)},Y.prototype.fdp=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"fdp",it)},Y.prototype.sfdp=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"sfdp",it)},Y.prototype.neato=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"neato",it)},Y.prototype.osage=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"osage",it)},Y.prototype.patchwork=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"patchwork",it)},Y.prototype.twopi=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"twopi",it)},Y}();o.GraphvizSync=q,o.StackElement=p,o.StackParser=C,o.expatVersion=function L(Y,K){return d(_,Y,K).then(function(ut){return ut.CExpat.prototype.version()})},o.graphviz=et,o.graphvizSync=function at(Y,K){return d(Z,Y,K).then(function(ut){return new q(ut)})},o.graphvizVersion=function J(Y,K){return d(Z,Y,K).then(function(ut){return ut.Graphviz.prototype.version()})},o.parse=N,o.wasmFolder=c,Object.defineProperty(o,"__esModule",{value:!0})}(k)},23385:(w,k,o)=>{"use strict";o.r(k),o.d(k,{AdminModule:()=>ab});var u={};o.r(u),o.d(u,{forceCenter:()=>Bf,forceCollide:()=>cl,forceLink:()=>pl,forceManyBody:()=>gl,forceRadial:()=>dp,forceSimulation:()=>ml,forceX:()=>fp,forceY:()=>pp});var x={};o.r(x),o.d(x,{dispatch:()=>ca.Z});var v={};o.r(v),o.d(v,{interval:()=>gp,now:()=>tr.zO,timeout:()=>ua.Z,timer:()=>tr.HT,timerFlush:()=>tr.R8});var _=o(69808),m=o(30325),l=o(69024),t=o(5e3),c=o(77968),h=o(4235),g=o(25245),d=o(61283),p=o(51062);const C=function(){return{color:"black"}};let A=(()=>{class n{constructor(e,i){this.sideMenuService=e,this.sideMenuItemService=i}ngOnInit(){this.sideMenuService.setAdminItems([])}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(c.D),t.Y36(l.V))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-page"]],decls:7,vars:5,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","admin-theme"],[1,"page-title","d-flex"],["svgIcon","perun-perun-admin",1,"perun-icon","icon-scale",3,"ngStyle"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"perun-web-apps-back-button"),t.TgZ(2,"h1",1),t._UZ(3,"mat-icon",2),t._uU(4),t.ALo(5,"translate"),t.qZA(),t._UZ(6,"app-animated-router-outlet"),t.qZA()),2&e&&(t.xp6(3),t.Q6J("ngStyle",t.DdM(4,C)),t.xp6(1),t.hij(" ",t.lcZ(5,2,"ADMIN.TITLE")," "))},directives:[h.W,g.Hw,_.PC,d.A],pipes:[p.X$],styles:[""]}),n})();var L=o(71135);let N=(()=>{class n{constructor(){this.navItems=[{cssIcon:"perun-attributes",url:"/admin/attributes",label:"MENU_ITEMS.ADMIN.ATTRIBUTES",style:"admin-btn"},{cssIcon:"perun-user",url:"/admin/users",label:"MENU_ITEMS.ADMIN.USERS",style:"admin-btn"},{cssIcon:"perun-owner-grey",url:"/admin/owners",label:"MENU_ITEMS.ADMIN.OWNERS",style:"admin-btn"},{cssIcon:"perun-service",url:"/admin/services",label:"MENU_ITEMS.ADMIN.SERVICES",style:"admin-btn"},{cssIcon:"perun-preview",url:"/admin/visualizer",label:"MENU_ITEMS.ADMIN.VISUALIZER",style:"admin-btn"},{cssIcon:"perun-external-sources",url:"/admin/ext_sources",label:"MENU_ITEMS.ADMIN.EXT_SOURCES",style:"admin-btn"},{cssIcon:"perun-audit-log",url:"/admin/audit_log",label:"MENU_ITEMS.ADMIN.AUDIT_LOG",style:"admin-btn"}]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-overview"]],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("router-component",i.true)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",0),t.qZA()),2&e&&(t.xp6(1),t.Q6J("items",i.navItems)("size","small"))},directives:[L.L],styles:[""]}),n})();var P=o(20449),R=o(48966),Z=o(32075),H=o(36908),z=o(9315),tt=o(20773),rt=o(98380),ot=o(47423);function J(n,r){1&n&&t._UZ(0,"mat-spinner",6)}function et(n,r){1&n&&t._UZ(0,"th",16)}function q(n,r){if(1&n&&(t.TgZ(0,"td",17),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.friendlyName)}}function at(n,r){1&n&&t._UZ(0,"tr",18)}function Y(n,r){1&n&&t._UZ(0,"tr",19)}function K(n,r){if(1&n&&(t.TgZ(0,"div",7),t.TgZ(1,"div"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,et,1,0,"th",11),t.YNc(10,q,2,1,"td",12),t.BQk(),t.YNc(11,at,1,0,"tr",13),t.YNc(12,Y,1,0,"tr",14),t.qZA(),t.TgZ(13,"app-alert",15),t._uU(14),t.ALo(15,"translate"),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,6,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TEXT_LINE1")," "),t.xp6(3),t.hij(" ",t.lcZ(6,8,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TEXT_LINE2")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns),t.xp6(2),t.hij(" ",t.lcZ(15,10,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.WARNING")," ")}}let ut=(()=>{class n{constructor(e,i,a,s,f){this.dialogRef=e,this.data=i,this.notificator=a,this.translate=s,this.attributesManager=f,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new Z.by(this.data.attributes)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const e=[];for(const i of this.data.attributes)e.push(i.id);this.attributesManager.deleteAttributeDefinitions(e).subscribe(()=>{this.translate.get("DIALOGS.DELETE_ATTRIBUTE_DEFINITION.SUCCESS").subscribe(i=>{this.notificator.showSuccess(i),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(H.V6),t.Y36(p.sK),t.Y36(z.H8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-delete-attribute-definition-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",1,"mt-3"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,J,1,0,"mat-spinner",1),t.YNc(5,K,16,12,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return i.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return i.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(i.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TITLE")),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.CANCEL")," "),t.xp6(2),t.Q6J("disabled",i.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.CONFIRM")," "))},directives:[R.uh,_.O5,tt.$g,R.xY,Z.BZ,Z.w1,Z.fO,Z.ge,Z.Dz,Z.ev,Z.as,Z.XQ,Z.nj,Z.Gk,rt.w,R.H8,ot.lW],pipes:[p.X$],styles:[""]}),n})();var it=o(45323),G=o(67322),M=o(98833),ft=o(93075),It=o(74533),Zt=o(74107),Yt=o(90508),ie=o(32368),Ut=o(29772),xt=o(77446);function pt(n,r){1&n&&t._UZ(0,"mat-spinner",7)}function Nt(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function Jt(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function ge(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function _e(n,r){if(1&n&&(t.TgZ(0,"mat-option",29),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function Te(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function Ze(n,r){if(1&n&&(t.TgZ(0,"mat-option",29),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function yn(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function Pe(n,r){if(1&n&&(t.TgZ(0,"mat-option",29),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function mn(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function Ve(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",8),t.TgZ(1,"mat-form-field",9),t.TgZ(2,"label"),t.TgZ(3,"input",10),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().attDef.friendlyName=a}),t.ALo(4,"translate"),t.qZA(),t.qZA(),t.YNc(5,Nt,3,3,"mat-error",11),t.qZA(),t._UZ(6,"br"),t.TgZ(7,"mat-form-field",9),t.TgZ(8,"label"),t.TgZ(9,"input",10),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().attDef.displayName=a}),t.ALo(10,"translate"),t.qZA(),t.qZA(),t.YNc(11,Jt,3,3,"mat-error",11),t.qZA(),t._UZ(12,"br"),t.TgZ(13,"mat-form-field",9),t.TgZ(14,"label"),t.TgZ(15,"textarea",12),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().attDef.description=a}),t.ALo(16,"translate"),t._uU(17," "),t.qZA(),t.qZA(),t.YNc(18,ge,3,3,"mat-error",11),t.qZA(),t._UZ(19,"br"),t.TgZ(20,"mat-form-field",9),t.TgZ(21,"mat-placeholder"),t._uU(22),t.ALo(23,"translate"),t.qZA(),t.TgZ(24,"mat-select",13),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().entity=a}),t.YNc(25,_e,2,2,"mat-option",14),t.qZA(),t.YNc(26,Te,3,3,"mat-error",11),t.qZA(),t._UZ(27,"br"),t.TgZ(28,"mat-form-field",9),t.TgZ(29,"mat-placeholder"),t._uU(30),t.ALo(31,"translate"),t.qZA(),t.TgZ(32,"mat-select",13),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().definitionType=a}),t.YNc(33,Ze,2,2,"mat-option",14),t.qZA(),t.YNc(34,yn,3,3,"mat-error",11),t.qZA(),t._UZ(35,"br"),t.TgZ(36,"mat-form-field",9),t.TgZ(37,"mat-placeholder"),t._uU(38),t.ALo(39,"translate"),t.qZA(),t.TgZ(40,"mat-select",13),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().valueType=a}),t.YNc(41,Pe,2,2,"mat-option",14),t.qZA(),t.YNc(42,mn,3,3,"mat-error",11),t.qZA(),t._UZ(43,"br"),t.TgZ(44,"div",15),t.TgZ(45,"p"),t._uU(46),t.ALo(47,"translate"),t.qZA(),t.TgZ(48,"p",16),t.NdJ("click",function(){return t.CHM(e),t.oxw().attDef.unique=!1}),t._uU(49,"OFF"),t.qZA(),t.TgZ(50,"mat-slide-toggle",17),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().attDef.unique=a}),t.ALo(51,"translate"),t._uU(52," ON "),t.qZA(),t.qZA(),t.TgZ(53,"div",18),t.TgZ(54,"p",19),t._uU(55),t.ALo(56,"translate"),t.qZA(),t.TgZ(57,"p",20),t._uU(58),t.ALo(59,"translate"),t.qZA(),t.qZA(),t.TgZ(60,"div",21),t.TgZ(61,"p",22),t._uU(62),t.ALo(63,"translate"),t.qZA(),t.TgZ(64,"mat-checkbox",23),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().readSelf=a}),t.qZA(),t.TgZ(65,"mat-checkbox",24),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().writeSelf=a}),t.qZA(),t.qZA(),t.TgZ(66,"div",21),t.TgZ(67,"p",22),t._uU(68),t.ALo(69,"translate"),t.qZA(),t.TgZ(70,"mat-checkbox",25),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().readSelfPublic=a}),t.qZA(),t.TgZ(71,"mat-checkbox",24),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().writeSelfPublic=a}),t.qZA(),t.qZA(),t.TgZ(72,"div",21),t.TgZ(73,"p",22),t._uU(74),t.ALo(75,"translate"),t.qZA(),t.TgZ(76,"mat-checkbox",26),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().readSelfVo=a}),t.qZA(),t.TgZ(77,"mat-checkbox",24),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().writeSelfVo=a}),t.qZA(),t.qZA(),t.TgZ(78,"div",21),t.TgZ(79,"p",22),t._uU(80),t.ALo(81,"translate"),t.qZA(),t.TgZ(82,"mat-checkbox",27),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().readVo=a}),t.qZA(),t.TgZ(83,"mat-checkbox",24),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().writeVo=a}),t.qZA(),t.qZA(),t.TgZ(84,"div",21),t.TgZ(85,"p",22),t._uU(86),t.ALo(87,"translate"),t.qZA(),t.TgZ(88,"mat-checkbox",28),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().readGroup=a}),t.qZA(),t.TgZ(89,"mat-checkbox",24),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().writeGroup=a}),t.qZA(),t.qZA(),t.TgZ(90,"div",21),t.TgZ(91,"p",22),t._uU(92),t.ALo(93,"translate"),t.qZA(),t.TgZ(94,"mat-checkbox",26),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().readFacility=a}),t.qZA(),t.TgZ(95,"mat-checkbox",24),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().writeFacility=a}),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(3),t.s9C("placeholder",t.lcZ(4,46,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FRIENDLY_NAME")),t.Q6J("ngModel",e.attDef.friendlyName),t.xp6(2),t.Q6J("ngIf",""===e.attDef.friendlyName),t.xp6(4),t.s9C("placeholder",t.lcZ(10,48,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DISPLAY_NAME")),t.Q6J("ngModel",e.attDef.displayName),t.xp6(2),t.Q6J("ngIf",""===e.attDef.displayName),t.xp6(4),t.s9C("placeholder",t.lcZ(16,50,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DESCRIPTION")),t.Q6J("ngModel",e.attDef.description),t.xp6(3),t.Q6J("ngIf",""===e.attDef.description),t.xp6(4),t.Oqu(t.lcZ(23,52,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ENTITY")),t.xp6(2),t.Q6J("ngModel",e.entity),t.xp6(1),t.Q6J("ngForOf",e.entities),t.xp6(1),t.Q6J("ngIf",""===e.attDef.entity),t.xp6(4),t.Oqu(t.lcZ(31,54,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DEFINITION")),t.xp6(2),t.Q6J("ngModel",e.definitionType),t.xp6(1),t.Q6J("ngForOf",e.definitionTypes),t.xp6(1),t.Q6J("ngIf",""===e.definitionType),t.xp6(4),t.Oqu(t.lcZ(39,56,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VALUE_TYPE")),t.xp6(2),t.Q6J("ngModel",e.valueType),t.xp6(1),t.Q6J("ngForOf",e.valueTypes),t.xp6(1),t.Q6J("ngIf",""===e.valueType),t.xp6(4),t.Oqu(t.lcZ(47,58,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.UNIQUE")),t.xp6(4),t.s9C("matTooltip",t.lcZ(51,60,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TOOLTIP_UNIQUE")),t.Q6J("matTooltipDisabled",!e.disableUniqueToggle())("disabled",e.disableUniqueToggle())("ngModel",e.attDef.unique),t.xp6(5),t.Oqu(t.lcZ(56,62,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.READ")),t.xp6(3),t.Oqu(t.lcZ(59,64,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.WRITE")),t.xp6(4),t.Oqu(t.lcZ(63,66,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF")),t.xp6(2),t.Q6J("ngModel",e.readSelf),t.xp6(1),t.Q6J("ngModel",e.writeSelf),t.xp6(3),t.Oqu(t.lcZ(69,68,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_PUBLIC")),t.xp6(2),t.Q6J("ngModel",e.readSelfPublic),t.xp6(1),t.Q6J("ngModel",e.writeSelfPublic),t.xp6(3),t.Oqu(t.lcZ(75,70,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_VO")),t.xp6(2),t.Q6J("ngModel",e.readSelfVo),t.xp6(1),t.Q6J("ngModel",e.writeSelfVo),t.xp6(3),t.Oqu(t.lcZ(81,72,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VO")),t.xp6(2),t.Q6J("ngModel",e.readVo),t.xp6(1),t.Q6J("ngModel",e.writeVo),t.xp6(3),t.Oqu(t.lcZ(87,74,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.GROUP")),t.xp6(2),t.Q6J("ngModel",e.readGroup),t.xp6(1),t.Q6J("ngModel",e.writeGroup),t.xp6(3),t.Oqu(t.lcZ(93,76,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FACILITY")),t.xp6(2),t.Q6J("ngModel",e.readFacility),t.xp6(1),t.Q6J("ngModel",e.writeFacility)}}let kn=(()=>{class n{constructor(e,i,a,s){this.dialogRef=e,this.notificator=i,this.translate=a,this.attributesManager=s,this.loading=!1,this.entities=["facility","resource","group","group_resource","host","member","member_group","member_resource","user","user_ext_source","user_facility","vo","entityless"],this.definitionTypes=["def","opt","virt","core"],this.definitionType="",this.valueTypes=["String","Integer","Boolean","Array","LinkedHashMap"],this.valueType="",this.readSelf=!1,this.readSelfPublic=!1,this.readSelfVo=!1,this.readVo=!1,this.readGroup=!1,this.readFacility=!1,this.writeSelf=!1,this.writeSelfPublic=!1,this.writeSelfVo=!1,this.writeVo=!1,this.writeGroup=!1,this.writeFacility=!1}ngOnInit(){this.attDef={beanName:"",description:"",displayName:"",entity:"",friendlyName:"",id:void 0,namespace:"",type:"",unique:!1,writable:!1}}onSubmit(){this.loading=!0,this.attDef.namespace="urn:perun:"+this.entity+":attribute-def:"+this.definitionType,this.readValueType(),this.attributesManager.createAttributeDefinition({attribute:this.attDef}).subscribe(e=>{this.attDef=e,this.attributesManager.setAttributeRights({rights:this.readRights()}).subscribe(()=>{this.translate.get("DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SUCCESS").subscribe(i=>{this.notificator.showSuccess(i),this.dialogRef.close(!0)})},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}readRights(){const e=[],i={};i.attributeId=this.attDef.id,i.role=it.u.SELF,i.rights=[],this.readSelf&&i.rights.push("READ"),this.readSelfPublic&&i.rights.push("READ_PUBLIC"),this.readSelfVo&&i.rights.push("READ_VO"),this.writeSelf&&i.rights.push("WRITE"),this.writeSelfPublic&&i.rights.push("WRITE_PUBLIC"),this.writeSelfVo&&i.rights.push("WRITE_VO"),e.push(i);const a={};a.attributeId=this.attDef.id,a.role=it.u.VOADMIN,a.rights=[],this.readVo&&a.rights.push(z.Us.READ),this.writeVo&&a.rights.push(z.Us.WRITE),e.push(a);const s={};s.attributeId=this.attDef.id,s.role=it.u.GROUPADMIN,s.rights=[],this.readGroup&&s.rights.push(z.Us.READ),this.writeGroup&&s.rights.push(z.Us.WRITE),e.push(s);const f={};return f.attributeId=this.attDef.id,f.role=it.u.FACILITYADMIN,f.rights=[],this.readFacility&&f.rights.push(z.Us.READ),this.writeFacility&&f.rights.push(z.Us.WRITE),e.push(f),e}readValueType(){switch(this.valueType){case"String":this.attDef.type="java.lang.String";break;case"Integer":this.attDef.type="java.lang.Integer";break;case"Boolean":this.attDef.type="java.lang.Boolean";break;case"Array":this.attDef.type="java.util.ArrayList";break;case"LinkedHashMap":this.attDef.type="java.util.LinkedHashMap"}}disableConfirmButton(){return""===this.attDef.friendlyName||""===this.attDef.displayName||""===this.attDef.description||""===this.entity||""===this.definitionType||""===this.valueType||this.loading}disableUniqueToggle(){return("virt"===this.definitionType||"entityless"===this.entity)&&(this.attDef.unique=!1,!0)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(H.V6),t.Y36(p.sK),t.Y36(z.H8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-create-attribute-definition-dialog"]],decls:14,vars:16,consts:[[1,"admin-theme"],["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltip","matTooltipDisabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"form-field-width"],["matInput","","required","",1,"form-field-width",3,"ngModel","placeholder","ngModelChange"],[4,"ngIf"],["matInput","","cdkTextareaAutosize","","required","",1,"form-field-width",3,"ngModel","placeholder","ngModelChange"],["required","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"d-flex","flex-row","mt-3"],[1,"pointer","ml-4",3,"click"],["color","accent","matTooltipPosition","above",1,"ml-2",3,"matTooltip","matTooltipDisabled","disabled","ngModel","ngModelChange"],[1,"d-flex","flex-row","mt-2"],[1,"ml-5","pl-4"],[1,"ml-4"],[1,"d-flex","flex-row"],[1,""],[1,"ml-5","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5",3,"ngModel","ngModelChange"],[1,"ml-3",3,"ngModel","ngModelChange"],[1,"ml-4","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5","pl-4",3,"ngModel","ngModelChange"],[1,"ml-4","pl-4",3,"ngModel","ngModelChange"],[3,"value"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"h1",1),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,pt,1,0,"mat-spinner",2),t.YNc(5,Ve,96,78,"div",3),t.TgZ(6,"div",4),t.TgZ(7,"button",5),t.NdJ("click",function(){return i.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",6),t.NdJ("click",function(){return i.onSubmit()}),t.ALo(11,"translate"),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,8,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TITLE")),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(3),t.hij(" ",t.lcZ(9,10,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.CANCEL")," "),t.xp6(2),t.s9C("matTooltip",t.lcZ(11,12,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TOOLTIP_CONFIRM")),t.Q6J("disabled",i.disableConfirmButton())("matTooltipDisabled",!i.disableConfirmButton()),t.xp6(2),t.hij(" ",t.lcZ(13,14,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.CONFIRM")," "))},directives:[R.uh,_.O5,tt.$g,R.xY,G.KE,M.Nt,ft.Fj,ft.Q7,ft.JJ,ft.On,G.TO,It.IC,G.UY,Zt.gD,_.sg,Yt.ey,ie.Rr,Ut.gM,xt.oG,R.H8,ot.lW],pipes:[p.X$],styles:[".unique-toggle-label[_ngcontent-%COMP%]{font-size:1.125rem}.form-field-width[_ngcontent-%COMP%]{width:450px}.pointer[_ngcontent-%COMP%]{cursor:pointer}textarea[cdktextareaautosize].mat-input-element[_ngcontent-%COMP%]{overflow:hidden}"]}),n})();var de=o(9244),gn=o(10036);function Xn(n,r){1&n&&t._UZ(0,"mat-spinner",7)}function ni(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",8),t.TgZ(1,"app-alert",9),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-form-field",10),t.TgZ(5,"input",11),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().value=a}),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,3,"DIALOGS.IMPORT_ATTRIBUTE.INFO")," "),t.xp6(3),t.Q6J("ngModel",e.value)("placeholder",t.lcZ(6,5,"DIALOGS.IMPORT_ATTRIBUTE.HINT"))}}let Yn=(()=>{class n{constructor(e,i,a,s){this.dialogRef=e,this.notificator=i,this.translate=a,this.attributesManager=s,this.value="",this.loading=!1}create(){try{this.loading=!0,this.attributeData=JSON.parse(this.value),this.attributesManager.createAttributeDefinition({attribute:this.attributeData.attributeDefinition}).subscribe(e=>{for(let i=0;i{this.notificator.showSuccess(this.translate.instant("DIALOGS.IMPORT_ATTRIBUTE_DEFINITION.SUCCESS")),this.dialogRef.close(!0)})},()=>this.loading=!1)}catch(e){console.log(e),this.notificator.showError(e),this.loading=!1}}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(H.V6),t.Y36(p.sK),t.Y36(z.H8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-attribute-import-dialog"]],decls:13,vars:12,consts:[[1,"admin-theme"],["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],["alert_type","info"],[1,"w-100"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"h1",1),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Xn,1,0,"mat-spinner",2),t.YNc(5,ni,7,7,"div",3),t.TgZ(6,"div",4),t.TgZ(7,"button",5),t.NdJ("click",function(){return i.dialogRef.close()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",6),t.NdJ("click",function(){return i.create()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.hij(" ",t.lcZ(3,6,"DIALOGS.IMPORT_ATTRIBUTE.TITLE")," "),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(3),t.hij(" ",t.lcZ(9,8,"DIALOGS.IMPORT_ATTRIBUTE.CANCEL")," "),t.xp6(2),t.Q6J("disabled",0===i.value.trim().length||i.loading),t.xp6(1),t.hij(" ",t.lcZ(12,10,"DIALOGS.IMPORT_ATTRIBUTE.CREATE")," "))},directives:[R.uh,_.O5,tt.$g,R.xY,rt.w,G.KE,M.Nt,ft.Fj,ft.Q7,ft.JJ,ft.On,R.H8,ot.lW],pipes:[p.X$],styles:[""]}),n})();var an=o(96214),je=o(7434),dn=o(84847),En=o(36769),Ue=o(69287),ci=o(60205),Rn=o(387),vn=o(18750),Hn=o(43532);function Kn(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"th",22),t.TgZ(1,"mat-checkbox",23),t.NdJ("change",function(a){t.CHM(e);const s=t.oxw(2);return a?s.masterToggle():null}),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function Me(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"td",24),t.TgZ(1,"mat-checkbox",25),t.NdJ("change",function(a){const f=t.CHM(e).$implicit,b=t.oxw(2);return a?b.selection.toggle(f):null})("click",function(a){return a.stopPropagation()}),t.qZA(),t.qZA()}if(2&n){const e=r.$implicit,i=t.oxw(2);t.xp6(1),t.Q6J("aria-label",i.checkboxLabel(e))("checked",i.selection.isSelected(e))}}function $n(n,r){1&n&&(t.TgZ(0,"th",26),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.KEY")," "))}function jn(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"td",27),t.TgZ(1,"label"),t.TgZ(2,"input",28),t.NdJ("ngModelChange",function(){const s=t.CHM(e).$implicit;return t.oxw(2).onValueChange(s)})("ngModelChange",function(a){return t.CHM(e).$implicit[0]=a}),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=r.$implicit;t.xp6(2),t.Q6J("ngModel",e[0])}}function Tt(n,r){1&n&&(t.TgZ(0,"th",26),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.VALUE")," "))}function Gt(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"td",27),t.TgZ(1,"perun-web-apps-attribute-value",29),t.NdJ("sendEventToParent2",function(){const s=t.CHM(e).$implicit;return t.oxw(2).onValueChange(s)}),t.qZA(),t.qZA()}if(2&n){const e=r.$implicit;t.xp6(1),t.Q6J("attribute",e[1])}}function se(n,r){1&n&&t._UZ(0,"tr",30)}function fe(n,r){1&n&&t._UZ(0,"tr",31)}function ve(n,r){if(1&n&&(t.TgZ(0,"div",10),t.TgZ(1,"perun-web-apps-table-wrapper",11),t.TgZ(2,"table",12),t.ynx(3,13),t.YNc(4,Kn,2,3,"th",14),t.YNc(5,Me,2,2,"td",15),t.BQk(),t.ynx(6,16),t.YNc(7,$n,3,3,"th",17),t.YNc(8,jn,3,1,"td",18),t.BQk(),t.ynx(9,19),t.YNc(10,Tt,3,3,"th",17),t.YNc(11,Gt,2,1,"td",18),t.BQk(),t.YNc(12,se,1,0,"tr",20),t.YNc(13,fe,1,0,"tr",21),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("tableId",e.tableId)("dataLength",e.dataSource.filteredData.length)("hideExport",!0)("pageSizeOptions",e.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",e.dataSource),t.xp6(10),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}function Be(n,r){1&n&&t._UZ(0,"mat-spinner",32)}function Ne(n,r){1&n&&(t.TgZ(0,"app-alert",33),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.NO_KEYS_WARNING")," "))}let en=(()=>{class n{constructor(e,i,a,s,f){this.dialogRef=e,this.data=i,this.notificator=a,this.translate=s,this.attributesManager=f,this.switchView=new t.vpe,this.records=[],this.displayedColumns=["select","key","value"],this.dataSource=new Z.by,this.selection=new P.Ov(!0,[]),this.isAddButtonDisabled=!1,this.pageSizeOptions=de.f7}set matSort(e){this.sort=e}ngOnChanges(){this.ngOnInit()}ngOnInit(){this.loading=!0,this.attDef=this.data.attDef,this.attributesManager.getEntitylessKeys(this.attDef.id).subscribe(e=>{this.attributesManager.getEntitylessAttributesByName(`${this.attDef.namespace}:${this.attDef.friendlyName}`).subscribe(i=>{let a=0;this.records=[];for(const s of e)this.records.push([s,i[a]]),a++;this.dataSource=new Z.by(this.records),this.setDataSource(),this.loading=!1})})}setDataSource(){!this.child||!this.child.paginator||this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}onSave(){this.updateMapAttributes();for(const e of this.selection.selected)this.attributesManager.setEntitylessAttribute({key:e[0],attribute:e[1]}).subscribe(()=>{this.translate.get("SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.SAVE_SUCCESS").subscribe(i=>{this.notificator.showSuccess(i),this.ngOnInit()})});this.selection.clear(),this.isAddButtonDisabled=!1}onRemove(){for(const e of this.selection.selected)this.attributesManager.removeEntitylessAttribute(e[0],e[1].id).subscribe(()=>{this.translate.get("SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.REMOVE_SUCCESS").subscribe(i=>{this.notificator.showSuccess(i),this.ngOnInit()})});this.ngOnInit(),this.selection.clear(),this.isAddButtonDisabled=!1}onAdd(){const e=["",this.attDef];e[1].value=void 0,this.records.unshift(e),this.dataSource.data=this.records,this.setDataSource(),this.selection.clear(),this.selection.select(e),this.isAddButtonDisabled=!0}onCancel(){this.dialogRef.close(!1)}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(e=>this.selection.select(e))}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e[1].id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}onValueChange(e){this.selection.select(e)}updateMapAttributes(){for(const e of this.items.toArray())"java.util.LinkedHashMap"===e.attribute.type&&e.updateMapAttribute()}ngAfterViewInit(){this.children.changes.subscribe(e=>{this.child=e.first,this.dataSource.paginator=this.child.paginator})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(H.V6),t.Y36(p.sK),t.Y36(z.H8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-entityless-attribute-keys-list"]],viewQuery:function(e,i){if(1&e&&(t.Gf(dn.YE,7),t.Gf(de.l9,5),t.Gf(Rn.Mw,5)),2&e){let a;t.iGM(a=t.CRH())&&(i.matSort=a.first),t.iGM(a=t.CRH())&&(i.children=a),t.iGM(a=t.CRH())&&(i.items=a)}},inputs:{attDef:"attDef",tableId:"tableId"},outputs:{switchView:"switchView"},features:[t.TTD],decls:19,vars:19,consts:[["mat-dialog-title",""],["mat-dialog-actions","",1,"mt-3"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"],["mat-flat-button","","color","accent","matTooltip","save or remove new attribute first","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltipDisabled","click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["mat-dialog-content","",1,"mt-3",3,"hidden"],["class","card mt-3",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn","class","mt-3",4,"ngIf"],[1,"card","mt-3"],[3,"tableId","dataLength","hideExport","pageSizeOptions"],["mat-table","","matSort","","matSortActive","key","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","key"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matInput","","placeholder","New key",1,"mt-2",3,"ngModel","ngModelChange"],[3,"attribute","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],[1,"ml-auto","mr-auto"],["alert_type","warn",1,"mt-3"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.qZA(),t.TgZ(2,"div",1),t.TgZ(3,"button",2),t.NdJ("click",function(){return i.switchView.emit()}),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"button",3),t.NdJ("click",function(){return i.onSave()}),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.TgZ(9,"button",4),t.NdJ("click",function(){return i.onAdd()}),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.TgZ(12,"button",5),t.NdJ("click",function(){return i.onRemove()}),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.qZA(),t.TgZ(15,"div",6),t.YNc(16,ve,14,7,"div",7),t.YNc(17,Be,1,0,"mat-spinner",8),t.YNc(18,Ne,3,3,"app-alert",9),t.qZA()),2&e&&(t.xp6(1),t.Oqu(i.attDef.namespace+":"+i.attDef.friendlyName),t.xp6(3),t.hij(" ",t.lcZ(5,11,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.CANCEL")," "),t.xp6(3),t.hij(" ",t.lcZ(8,13,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.SAVE")," "),t.xp6(2),t.Q6J("disabled",i.isAddButtonDisabled)("matTooltipDisabled",!i.isAddButtonDisabled),t.xp6(1),t.hij(" ",t.lcZ(11,15,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.ADD")," "),t.xp6(3),t.hij(" ",t.lcZ(14,17,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.REMOVE")," "),t.xp6(2),t.Q6J("hidden",i.loading),t.xp6(1),t.Q6J("ngIf",i.records&&i.records.length),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",0===i.records.length))},directives:[R.uh,R.H8,ot.lW,Ut.gM,R.xY,_.O5,vn.l,Z.BZ,dn.YE,Z.w1,Z.fO,Z.ge,xt.oG,Z.Dz,Z.ev,dn.nU,M.Nt,ft.Fj,ft.JJ,ft.On,Hn.M,Z.as,Z.XQ,Z.nj,Z.Gk,tt.$g,rt.w],pipes:[p.X$],styles:[".mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}"]}),n})();const Zn=["copiedTooltip"];function Dn(n,r){1&n&&t._UZ(0,"mat-spinner",12)}function qn(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function Di(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}const _n=function(){return["id","name","enabled","script"]};function ti(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",13),t.TgZ(1,"mat-form-field",3),t.TgZ(2,"label"),t.TgZ(3,"input",14),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).attDef.displayName=a}),t.ALo(4,"translate"),t.qZA(),t.qZA(),t.YNc(5,qn,3,3,"mat-error",2),t.qZA(),t._UZ(6,"br"),t.TgZ(7,"mat-form-field",3),t.TgZ(8,"label"),t.TgZ(9,"textarea",15),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).attDef.description=a}),t.ALo(10,"translate"),t._uU(11," "),t.qZA(),t.qZA(),t.YNc(12,Di,3,3,"mat-error",2),t.qZA(),t._UZ(13,"br"),t.TgZ(14,"div",16),t.TgZ(15,"p"),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.TgZ(18,"p",17),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).attDef.unique=!1}),t._uU(19,"OFF"),t.qZA(),t.TgZ(20,"mat-slide-toggle",18),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).attDef.unique=a}),t.ALo(21,"translate"),t._uU(22," ON "),t.qZA(),t.qZA(),t.TgZ(23,"div",19),t.TgZ(24,"p",20),t._uU(25),t.ALo(26,"translate"),t.qZA(),t.TgZ(27,"p",21),t._uU(28),t.ALo(29,"translate"),t.qZA(),t.qZA(),t.TgZ(30,"div",22),t.TgZ(31,"p",23),t._uU(32),t.ALo(33,"translate"),t.qZA(),t.TgZ(34,"mat-checkbox",24),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).readSelf=a}),t.qZA(),t.TgZ(35,"mat-checkbox",25),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).writeSelf=a}),t.qZA(),t.qZA(),t.TgZ(36,"div",22),t.TgZ(37,"p",23),t._uU(38),t.ALo(39,"translate"),t.qZA(),t.TgZ(40,"mat-checkbox",26),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).readSelfPublic=a}),t.qZA(),t.TgZ(41,"mat-checkbox",25),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).writeSelfPublic=a}),t.qZA(),t.qZA(),t.TgZ(42,"div",22),t.TgZ(43,"p",23),t._uU(44),t.ALo(45,"translate"),t.qZA(),t.TgZ(46,"mat-checkbox",27),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).readSelfVo=a}),t.qZA(),t.TgZ(47,"mat-checkbox",25),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).writeSelfVo=a}),t.qZA(),t.qZA(),t.TgZ(48,"div",22),t.TgZ(49,"p",23),t._uU(50),t.ALo(51,"translate"),t.qZA(),t.TgZ(52,"mat-checkbox",28),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).readVo=a}),t.qZA(),t.TgZ(53,"mat-checkbox",25),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).writeVo=a}),t.qZA(),t.qZA(),t.TgZ(54,"div",22),t.TgZ(55,"p",23),t._uU(56),t.ALo(57,"translate"),t.qZA(),t.TgZ(58,"mat-checkbox",29),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).readGroup=a}),t.qZA(),t.TgZ(59,"mat-checkbox",25),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).writeGroup=a}),t.qZA(),t.qZA(),t.TgZ(60,"div",22),t.TgZ(61,"p",23),t._uU(62),t.ALo(63,"translate"),t.qZA(),t.TgZ(64,"mat-checkbox",27),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).readFacility=a}),t.qZA(),t.TgZ(65,"mat-checkbox",25),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).writeFacility=a}),t.qZA(),t.qZA(),t.TgZ(66,"div",30),t.TgZ(67,"p"),t._uU(68),t.ALo(69,"translate"),t.qZA(),t._UZ(70,"app-services-list",31),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.xp6(3),t.s9C("placeholder",t.lcZ(4,35,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.DISPLAY_NAME")),t.Q6J("ngModel",e.attDef.displayName),t.xp6(2),t.Q6J("ngIf",""===e.attDef.displayName),t.xp6(4),t.s9C("placeholder",t.lcZ(10,37,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.DESCRIPTION")),t.Q6J("ngModel",e.attDef.description),t.xp6(3),t.Q6J("ngIf",""===e.attDef.description),t.xp6(4),t.Oqu(t.lcZ(17,39,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.UNIQUE")),t.xp6(4),t.s9C("matTooltip",t.lcZ(21,41,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.TOOLTIP_UNIQUE")),t.Q6J("matTooltipDisabled",!e.disableUniqueToggle())("disabled",e.disableUniqueToggle())("ngModel",e.attDef.unique),t.xp6(5),t.Oqu(t.lcZ(26,43,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.READ")),t.xp6(3),t.Oqu(t.lcZ(29,45,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.WRITE")),t.xp6(4),t.Oqu(t.lcZ(33,47,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF")),t.xp6(2),t.Q6J("ngModel",e.readSelf),t.xp6(1),t.Q6J("ngModel",e.writeSelf),t.xp6(3),t.Oqu(t.lcZ(39,49,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_PUBLIC")),t.xp6(2),t.Q6J("ngModel",e.readSelfPublic),t.xp6(1),t.Q6J("ngModel",e.writeSelfPublic),t.xp6(3),t.Oqu(t.lcZ(45,51,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_VO")),t.xp6(2),t.Q6J("ngModel",e.readSelfVo),t.xp6(1),t.Q6J("ngModel",e.writeSelfVo),t.xp6(3),t.Oqu(t.lcZ(51,53,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VO")),t.xp6(2),t.Q6J("ngModel",e.readVo),t.xp6(1),t.Q6J("ngModel",e.writeVo),t.xp6(3),t.Oqu(t.lcZ(57,55,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.GROUP")),t.xp6(2),t.Q6J("ngModel",e.readGroup),t.xp6(1),t.Q6J("ngModel",e.writeGroup),t.xp6(3),t.Oqu(t.lcZ(63,57,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FACILITY")),t.xp6(2),t.Q6J("ngModel",e.readFacility),t.xp6(1),t.Q6J("ngModel",e.writeFacility),t.xp6(3),t.Oqu(t.lcZ(69,59,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SERVICES")),t.xp6(2),t.Q6J("services",e.services)("displayedColumns",t.DdM(61,_n))("disableRouting",!0)}}function wi(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",32),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).switchShowKeys()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SHOW_KEYS")," "))}function In(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",3),t.TgZ(2,"h1",4),t._uU(3),t.qZA(),t.YNc(4,Dn,1,0,"mat-spinner",5),t.YNc(5,ti,71,62,"div",6),t.TgZ(6,"div",7),t.YNc(7,wi,3,3,"button",8),t.TgZ(8,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCopy()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSubmit()}),t.ALo(15,"translate"),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(3),t.Oqu(e.attDef.namespace+":"+e.attDef.friendlyName),t.xp6(1),t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading),t.xp6(2),t.Q6J("ngIf","entityless"===e.attDef.entity),t.xp6(2),t.hij(" ",t.lcZ(10,10,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.COPY_FOR_IMPORT")," "),t.xp6(3),t.hij(" ",t.lcZ(13,12,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.CANCEL")," "),t.xp6(2),t.s9C("matTooltip",t.lcZ(15,14,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.TOOLTIP_CONFIRM")),t.Q6J("disabled",e.disableConfirmButton()||e.loading)("matTooltipDisabled",!e.disableConfirmButton()),t.xp6(2),t.hij(" ",t.lcZ(17,16,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.CONFIRM")," ")}}function cn(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"app-entityless-attribute-keys-list",33),t.NdJ("switchView",function(){return t.CHM(e),t.oxw().switchShowKeys()}),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("tableId",e.tableId)("attDef",e.attDef)}}let Tn=(()=>{class n{constructor(e,i,a,s,f,b,S,F){this.dialog=e,this.dialogRef=i,this.data=a,this.notificator=s,this.translate=f,this.clipboard=b,this.attributesManager=S,this.serviceService=F,this.showKeys=!1,this.activatedComponent="Edit",this.readSelf=!1,this.readSelfPublic=!1,this.readSelfVo=!1,this.readVo=!1,this.readGroup=!1,this.readFacility=!1,this.writeSelf=!1,this.writeSelfPublic=!1,this.writeSelfVo=!1,this.writeVo=!1,this.writeGroup=!1,this.writeFacility=!1,this.tableId=gn.Wv,this.loading=!1}ngOnInit(){this.loading=!0,this.dialogRef.addPanelClass("mat-dialog-height-transition"),this.attDef=this.data.attDef,this.serviceService.getServicesByAttributeDefinition(this.attDef.id).subscribe(e=>{this.services=e,this.attributesManager.getAttributeRights(this.attDef.id).subscribe(i=>{this.fromRightsToCheckboxes(i),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}disableConfirmButton(){return""===this.attDef.displayName||""===this.attDef.description}disableUniqueToggle(){return this.attDef.namespace.includes("virt")||this.attDef.namespace.includes("core")||"entityless"===this.attDef.entity}onSubmit(){this.loading=!0,this.attributesManager.updateAttributeDefinition({attributeDefinition:this.attDef}).subscribe(e=>{this.attDef=e,this.attributesManager.setAttributeRights({rights:this.fromCheckboxesToRights()}).subscribe(()=>{this.translate.get("DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SUCCESS").subscribe(i=>{this.notificator.showSuccess(i),this.dialogRef.close(!0)})},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}fromCheckboxesToRights(){const e=[],i={};i.attributeId=this.attDef.id,i.role=it.u.SELF,i.rights=[],this.readSelf&&i.rights.push("READ"),this.readSelfPublic&&i.rights.push("READ_PUBLIC"),this.readSelfVo&&i.rights.push("READ_VO"),this.writeSelf&&i.rights.push("WRITE"),this.writeSelfPublic&&i.rights.push("WRITE_PUBLIC"),this.writeSelfVo&&i.rights.push("WRITE_VO"),e.push(i);const a={};a.attributeId=this.attDef.id,a.role=it.u.VOADMIN,a.rights=[],this.readVo&&a.rights.push("READ"),this.writeVo&&a.rights.push("WRITE"),e.push(a);const s={};s.attributeId=this.attDef.id,s.role=it.u.GROUPADMIN,s.rights=[],this.readGroup&&s.rights.push(z.Us.READ),this.writeGroup&&s.rights.push("WRITE"),e.push(s);const f={};return f.attributeId=this.attDef.id,f.role=it.u.FACILITYADMIN,f.rights=[],this.readFacility&&f.rights.push("READ"),this.writeFacility&&f.rights.push("WRITE"),e.push(f),e}fromRightsToCheckboxes(e){for(const i of e)switch(i.role){case it.u.SELF:i.rights.includes("READ")&&(this.readSelf=!0),i.rights.includes("READ_PUBLIC")&&(this.readSelfPublic=!0),i.rights.includes("READ_VO")&&(this.readSelfVo=!0),i.rights.includes("WRITE")&&(this.writeSelf=!0),i.rights.includes("WRITE_PUBLIC")&&(this.writeSelfPublic=!0),i.rights.includes("WRITE_VO")&&(this.writeSelfVo=!0);break;case it.u.GROUPADMIN:i.rights.includes("READ")&&(this.readGroup=!0),i.rights.includes("WRITE")&&(this.writeGroup=!0);break;case it.u.FACILITYADMIN:i.rights.includes("READ")&&(this.readFacility=!0),i.rights.includes("WRITE")&&(this.writeFacility=!0);break;case it.u.VOADMIN:i.rights.includes("READ")&&(this.readVo=!0),i.rights.includes("WRITE")&&(this.writeVo=!0)}}switchShowKeys(){this.showKeys=!this.showKeys,this.showKeys?(this.dialogRef.updateSize("800px"),this.activatedComponent="Entityless"):(this.dialogRef.updateSize("700px"),this.activatedComponent="Edit")}onCopy(){const e={attributeDefinition:this.attDef,attributeRights:this.fromCheckboxesToRights()};this.clipboard.copy(JSON.stringify(e))?this.notificator.showSuccess(this.translate.instant("DIALOGS.EDIT_ATTRIBUTE_DEFINITION.COPIED")):this.notificator.showError(this.translate.instant("DIALOGS.EDIT_ATTRIBUTE_DEFINITION.COPY_FAILED"))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.uw),t.Y36(R.so),t.Y36(R.WI),t.Y36(H.V6),t.Y36(p.sK),t.Y36(Ue.TU),t.Y36(z.H8),t.Y36(z.KK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-edit-attribute-definition-dialog"]],viewQuery:function(e,i){if(1&e&&t.Gf(Zn,5),2&e){let a;t.iGM(a=t.CRH())&&(i.copiedToolTip=a.first)}},decls:4,vars:2,consts:[[1,"admin-theme"],[1,"parent"],[4,"ngIf"],[1,"width-650"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-flat-button","","class","ml-0",3,"click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","",1,"ml-2",3,"click"],["mat-flat-button","","color","accent","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltip","matTooltipDisabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["matInput","","required","",1,"width-650",3,"ngModel","placeholder","ngModelChange"],["matInput","","cdkTextareaAutosize","","required","",1,"width-650",3,"ngModel","placeholder","ngModelChange"],[1,"d-flex","flex-row","mt-3"],[1,"pointer","ml-4",3,"click"],["color","accent","matTooltipPosition","above",1,"ml-2",3,"matTooltip","matTooltipDisabled","disabled","ngModel","ngModelChange"],[1,"d-flex","flex-row","mt-2"],[1,"ml-5","pl-4"],[1,"ml-4"],[1,"d-flex","flex-row"],[1,""],[1,"ml-5","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5",3,"ngModel","ngModelChange"],[1,"ml-3",3,"ngModel","ngModelChange"],[1,"ml-4","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5","pl-4",3,"ngModel","ngModelChange"],[1,"ml-4","pl-4",3,"ngModel","ngModelChange"],[1,"mt-4"],[3,"services","displayedColumns","disableRouting"],["mat-flat-button","",1,"ml-0",3,"click"],[3,"tableId","attDef","switchView"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.YNc(2,In,18,18,"div",2),t.YNc(3,cn,2,2,"div",2),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",!i.showKeys),t.xp6(1),t.Q6J("ngIf",i.showKeys))},directives:[_.O5,R.uh,tt.$g,R.xY,G.KE,M.Nt,ft.Fj,ft.Q7,ft.JJ,ft.On,G.TO,It.IC,ie.Rr,Ut.gM,xt.oG,ci.Q,R.H8,ot.lW,en],pipes:[p.X$],styles:[".unique-toggle-label[_ngcontent-%COMP%]{font-size:1.125rem}.width-650[_ngcontent-%COMP%]{width:650px!important}.pointer[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%]{overflow:hidden}.parent[_ngcontent-%COMP%]{display:flex}.parent[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{flex:1}textarea[cdktextareaautosize].mat-input-element[_ngcontent-%COMP%]{overflow:hidden}"],data:{animation:[En.SG,En.GH,En.Ls]}}),n})(),ei=(()=>{class n{transform(e){if(null===e)return null;const i=e;return i.substring(i.lastIndexOf(":")+1,i.length)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"nameSpaceToDef",type:n,pure:!0}),n})(),ui=(()=>{class n{transform(e){if(null===e)return null;const i=e;return i.substring(i.lastIndexOf(".")+1,i.length)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"attributeTypeClean",type:n,pure:!0}),n})();function Mn(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"th",19),t.TgZ(1,"mat-checkbox",20),t.NdJ("change",function(a){t.CHM(e);const s=t.oxw();return a?s.masterToggle():null}),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function Le(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"td",21),t.TgZ(1,"mat-checkbox",22),t.NdJ("change",function(a){const f=t.CHM(e).$implicit,b=t.oxw();return a?b.selection.toggle(f):null})("click",function(a){return a.stopPropagation()}),t.qZA(),t.qZA()}if(2&n){const e=r.$implicit,i=t.oxw();t.xp6(1),t.Q6J("aria-label",i.checkboxLabel(e))("checked",i.selection.isSelected(e))}}function Ii(n,r){1&n&&(t.TgZ(0,"th",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_ID")," "))}function Bn(n,r){if(1&n&&(t.TgZ(0,"td",24),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.id)}}function fn(n,r){1&n&&(t.TgZ(0,"th",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_FRIENDLY_NAME")," "))}function V(n,r){if(1&n&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.friendlyName)}}function X(n,r){1&n&&(t.TgZ(0,"th",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_ENTITY")," "))}function ht(n,r){if(1&n&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.entity)}}function E(n,r){1&n&&(t.TgZ(0,"th",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_DEF")," "))}function At(n,r){if(1&n&&(t.TgZ(0,"td",25),t._uU(1),t.ALo(2,"nameSpaceToDef"),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(t.lcZ(2,1,e.namespace))}}function Ot(n,r){1&n&&(t.TgZ(0,"th",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_TYPE")," "))}function Bt(n,r){if(1&n&&(t.TgZ(0,"td",25),t._uU(1),t.ALo(2,"attributeTypeClean"),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(t.lcZ(2,1,e.type))}}function Ht(n,r){1&n&&(t.TgZ(0,"th",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_UNIQUE")," "))}function re(n,r){if(1&n&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.unique)}}function qt(n,r){1&n&&t._UZ(0,"tr",26)}function j(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"tr",27),t.NdJ("click",function(){const s=t.CHM(e).$implicit;return t.oxw().onRowClick(s)}),t.qZA()}if(2&n){const e=t.oxw();t.ekj("cursor-pointer",!e.disableRouting)}}function mt(n,r){1&n&&(t.TgZ(0,"app-alert",28),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.NO_ATTRIBUTES"),"\n"))}function Ct(n,r){1&n&&(t.TgZ(0,"app-alert",28),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let wt=(()=>{class n{constructor(e,i,a){this.dialog=e,this.authResolver=i,this.tableCheckbox=a,this.selection=new P.Ov(!0,[]),this.displayedColumns=["select","id","friendlyName","entity","namespace","type","unique"],this.disableRouting=!1,this.refreshEvent=new t.vpe,this.pageSizeOptions=de.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new Z.by(this.definitions),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(e,i){switch(i){case"id":return e.id.toString();case"friendlyName":return e.friendlyName;case"entity":return e.entity;case"namespace":if(e.namespace){const a=e.namespace;return a.substring(a.lastIndexOf(":")+1,a.length)}return"";case"type":if(e.type){const a=e.type;return a.substring(a.lastIndexOf(".")+1,a.length)}return"";case"unique":return e.unique?"true":"false";default:return""}}exportData(e){(0,de.O6)((0,de.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filter=this.filterValue,this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(e,i)=>(0,de.Sd)(e,i,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,i)=>(0,de.pR)(e,i,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}onRowClick(e){if(!this.disableRouting){const i=(0,de.kZ)();i.width="700px",i.data={attDef:e},this.dialog.open(Tn,i).afterClosed().subscribe(s=>{s&&(this.selection.clear(),this.refreshEvent.emit())})}}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.uw),t.Y36(H.x4),t.Y36(H.UA))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-attr-def-list"]],viewQuery:function(e,i){if(1&e&&(t.Gf(dn.YE,7),t.Gf(de.l9,7)),2&e){let a;t.iGM(a=t.CRH())&&(i.matSort=a.first),t.iGM(a=t.CRH())&&(i.child=a.first)}},inputs:{definitions:"definitions",selection:"selection",displayedColumns:"displayedColumns",filterValue:"filterValue",tableId:"tableId",disableRouting:"disableRouting"},outputs:{refreshEvent:"refreshEvent"},features:[t.TTD],decls:29,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","friendlyName"],["mat-cell","",4,"matCellDef"],["matColumnDef","entity"],["matColumnDef","namespace"],["matColumnDef","type"],["matColumnDef","unique"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","click",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"click"],["alert_type","warn"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(s){return i.exportData(s)}),t.TgZ(2,"div",2),t.TgZ(3,"table",3),t.ynx(4,4),t.YNc(5,Mn,2,3,"th",5),t.YNc(6,Le,2,2,"td",6),t.BQk(),t.ynx(7,7),t.YNc(8,Ii,3,3,"th",8),t.YNc(9,Bn,2,1,"td",9),t.BQk(),t.ynx(10,10),t.YNc(11,fn,3,3,"th",8),t.YNc(12,V,2,1,"td",11),t.BQk(),t.ynx(13,12),t.YNc(14,X,3,3,"th",8),t.YNc(15,ht,2,1,"td",11),t.BQk(),t.ynx(16,13),t.YNc(17,E,3,3,"th",8),t.YNc(18,At,3,3,"td",11),t.BQk(),t.ynx(19,14),t.YNc(20,Ot,3,3,"th",8),t.YNc(21,Bt,3,3,"td",11),t.BQk(),t.ynx(22,15),t.YNc(23,Ht,3,3,"th",8),t.YNc(24,re,2,1,"td",11),t.BQk(),t.YNc(25,qt,1,0,"tr",16),t.YNc(26,j,1,2,"tr",17),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.YNc(27,mt,3,3,"app-alert",18),t.YNc(28,Ct,3,3,"app-alert",18)),2&e&&(t.Q6J("hidden",0===i.dataSource.filteredData.length||0===i.definitions.length),t.xp6(1),t.Q6J("tableId",i.tableId)("dataLength",i.dataSource.filteredData.length)("pageSizeOptions",i.pageSizeOptions),t.xp6(2),t.Q6J("dataSource",i.dataSource),t.xp6(22),t.Q6J("matHeaderRowDef",i.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",i.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===i.definitions.length),t.xp6(1),t.Q6J("ngIf",0===i.dataSource.filteredData.length&&0!==i.definitions.length))},directives:[vn.l,Z.BZ,dn.YE,Z.w1,Z.fO,Z.ge,xt.oG,Z.Dz,Z.ev,dn.nU,Z.as,Z.XQ,Z.nj,Z.Gk,_.O5,rt.w],pipes:[p.X$,ei,ui],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();function Xt(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCreate()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.CREATE")," "))}function te(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onImport()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.IMPORT")," "))}function Dt(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onDelete()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"ADMIN.ATTRIBUTES.DELETE")," ")}}function he(n,r){1&n&&t._UZ(0,"mat-spinner",9)}function O(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"app-attr-def-list",10),t.NdJ("refreshEvent",function(){return t.CHM(e),t.oxw().refreshTable()}),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("tableId",e.tableId)("definitions",e.attrDefinitions)("selection",e.selected)("filterValue",e.filterValue)("disableRouting",!e.authResolver.isPerunAdmin())}}let le=(()=>{class n{constructor(e,i,a){this.dialog=e,this.attributesManager=i,this.authResolver=a,this.attrDefinitions=[],this.selected=new P.Ov(!0,[]),this.filterValue="",this.tableId=gn.uM}ngOnInit(){this.refreshTable()}onCreate(){const e=(0,de.kZ)();e.width="500px",this.dialog.open(kn,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}onDelete(){const e=(0,de.kZ)();e.width="450px",e.data={attributes:this.selected.selected,theme:"admin-theme"},this.dialog.open(ut,e).afterClosed().subscribe(a=>{a&&(this.refreshTable(),this.selected.clear())})}refreshTable(){this.loading=!0,this.attributesManager.getAllAttributeDefinitions().subscribe(e=>{this.attrDefinitions=e,this.loading=!1})}applyFilter(e){this.filterValue=e}onImport(){const e=(0,de.kZ)();e.width="700px",this.dialog.open(Yn,e).afterClosed().subscribe(a=>{!0===a&&this.refreshTable()})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.uw),t.Y36(z.H8),t.Y36(H.x4))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-attributes"]],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("router-component",i.true)},decls:11,vars:9,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","definitions","selection","filterValue","disableRouting","refreshEvent",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","definitions","selection","filterValue","disableRouting","refreshEvent"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.YNc(5,Xt,3,3,"button",2),t.YNc(6,te,3,3,"button",2),t.YNc(7,Dt,3,4,"button",3),t.TgZ(8,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(9,he,1,0,"mat-spinner",5),t.YNc(10,O,1,5,"app-attr-def-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,7,"ADMIN.ATTRIBUTES.TITLE")),t.xp6(3),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("placeholder","ADMIN.ATTRIBUTES.SEARCH"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,_.O5,ot.lW,je.L,tt.$g,wt],pipes:[p.X$],styles:[""]}),n})(),ke=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-visualizer"]],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("router-component",i.true)},decls:1,vars:0,template:function(e,i){1&e&&t._UZ(0,"app-animated-router-outlet")},directives:[d.A],styles:[""]}),n})();var Ie=o(9921);let nn=(()=>{class n{constructor(e){this.attributesManager=e}ngOnInit(){this.attributesManager.getAttributeModulesDependenciesGraphText("DOT").subscribe(e=>{const i=e.graph.replace("\\t","").replace("\\n","").replace("\\","");(0,Ie.graphviz)("#dependenciesGraph",{zoom:!1}).renderDot(i)})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.H8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-visualizer-attr-modules"]],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("router-component",i.true)},decls:4,vars:3,consts:[[1,"page-subtitle"],["id","dependenciesGraph",1,"card"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t._UZ(3,"div",1)),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.VISUALIZER.ATTR_DEPENDENCIES.TITLE"),"\n"))},pipes:[p.X$],styles:["#dependenciesGraph[_ngcontent-%COMP%]{overflow-y:scroll}"]}),n})(),ze=(()=>{class n{constructor(){this.items=[{cssIcon:"perun-module-dependencies",url:"attrDependencies",label:"MENU_ITEMS.VISUALIZER.ATTR_DEPENDENCIES",style:"admin-btn"},{cssIcon:"perun-user-destination-relationship",url:"userDestinationRelationship",label:"MENU_ITEMS.VISUALIZER.USER_DESTINATION",style:"admin-btn"}]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-visualizer-overview"]],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("router-component",i.true)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",0),t.qZA()),2&e&&(t.xp6(1),t.Q6J("items",i.items)("size","small"))},directives:[L.L],styles:[""]}),n})();var We=o(80013),pe=o(75778),xe=o(22868),Xe=o(87545),nt=o(92081),_t=o(91079),gt=o(79814);function St(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.Oqu(t.lcZ(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_USER"))}function zt(n,r){1&n&&t._UZ(0,"mat-spinner",17),2&n&&t.Q6J("diameter",20)("strokeWidth",2)}function ee(n,r){if(1&n&&(t.TgZ(0,"mat-option",18),t.TgZ(1,"span",19),t._uU(2),t.qZA(),t._uU(3),t.qZA()),2&n){const e=r.$implicit;t.Q6J("value",e.firstName+" "+e.lastName),t.xp6(2),t.hij("#",e.id,""),t.xp6(1),t.AsE(" ",e.firstName," ",e.lastName," ")}}function Qt(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.Oqu(t.lcZ(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_DESTINATION"))}function me(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.Oqu(t.lcZ(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_SERVICE"))}function ye(n,r){if(1&n&&(t.TgZ(0,"mat-radio-button",20),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e," ")}}let Wt=(()=>{class n{constructor(e,i,a,s,f,b){this.usersService=e,this.translate=i,this.facilityManager=a,this.serviceService=s,this.router=f,this.notificator=b,this.searchField=new ft.NI,this.chosenService="",this.availableServices=[],this.loading=!1,this.destination=""}ngOnInit(){this.searchField.setValue(""),this.users=this.searchField.valueChanges.pipe((0,We.b)(400),(0,pe.x)(),(0,xe.b)(()=>this.loading=!0),(0,Xe.w)(e=>this.usersService.findUsers(e)),(0,xe.b)(()=>this.loading=!1)),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.SELECT_NO_SERVICE").subscribe(e=>{this.noServiceText=e,this.availableServices.push(this.noServiceText)})}validateName(e){""!==this.searchField.value?this.usersService.findUsers(this.searchField.value).subscribe(i=>{for(const a of i){if((a.firstName+" "+a.lastName).toLowerCase()===this.searchField.value.toLowerCase()){this.selectedUser=a,e.selected.completed=!0,e.next();break}this.selectedUser=null}this.selectedUser||this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_WRONG_NAME").subscribe(a=>{this.notificator.showError(a)})}):this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_NO_NAME").subscribe(i=>{this.notificator.showError(i)})}validateDestination(e){""!==this.destination?(this.availableServices=[],this.availableServices.push(this.noServiceText),this.chosenService="",this.facilityManager.getFacilitiesByDestination(this.destination).subscribe(i=>{if(0!==i.length){e.selected.completed=!0,e.next();for(const a of i)this.serviceService.getAllRichDestinationsForFacility(a.id).subscribe(s=>{for(const f of s)f.destination===this.destination&&-1===this.availableServices.indexOf(f.service.name)&&this.availableServices.push(f.service.name)})}else this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_WRONG_DESTINATION").subscribe(a=>{this.notificator.showError(a)})})):this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_NO_DESTINATION").subscribe(i=>{this.notificator.showError(i)})}getGraph(){""!==this.chosenService?this.router.navigate(["admin/visualizer/userDestinationRelationship/graph"],this.chosenService===this.noServiceText?{queryParams:{user:this.selectedUser.id,destination:this.destination,service:"noService"}}:{queryParams:{user:this.selectedUser.id,destination:this.destination,service:this.chosenService}}):this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_NOT_CHOSEN_SERVICE").subscribe(e=>{this.notificator.showError(e)})}notCompleted(e){e.selected.completed=!1}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.Fv),t.Y36(p.sK),t.Y36(z.IQ),t.Y36(z.KK),t.Y36(m.F0),t.Y36(H.V6))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-user-destination-relationship"]],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("router-component",i.true)},decls:46,vars:36,consts:[[1,"p-3","card","settings-card","col-12","col-xl-5"],[1,"page-subtitle"],["linear",""],["stepper",""],["completed","false"],["matStepLabel",""],[1,"w-100"],["matInput","","type","text",3,"placeholder","formControl","matAutocomplete","ngModelChange","keydown.enter"],["matSuffix","",3,"diameter","strokeWidth",4,"ngIf"],["align","start"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["mat-stroked-button","",1,"mt-2",3,"click"],["matInput","","type","text",3,"placeholder","ngModel","ngModelChange","keydown.enter"],["mat-stroked-button","","matStepperPrevious","",1,"mt-2"],[1,"mb-2",3,"ngModel","ngModelChange"],["class","flex-column d-flex","color","primary",3,"value",4,"ngFor","ngForOf"],["matSuffix","",3,"diameter","strokeWidth"],[3,"value"],[1,"text-muted"],["color","primary",1,"flex-column","d-flex",3,"value"]],template:function(e,i){if(1&e){const a=t.EpF();t.TgZ(0,"div",0),t.TgZ(1,"h1",1),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-vertical-stepper",2,3),t.TgZ(6,"mat-step",4),t.YNc(7,St,2,3,"ng-template",5),t.TgZ(8,"mat-form-field",6),t.TgZ(9,"input",7),t.NdJ("ngModelChange",function(){t.CHM(a);const f=t.MAs(5);return i.notCompleted(f)})("keydown.enter",function(){t.CHM(a);const f=t.MAs(5);return i.validateName(f)}),t.ALo(10,"translate"),t.qZA(),t.YNc(11,zt,1,2,"mat-spinner",8),t.TgZ(12,"mat-hint",9),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.TgZ(15,"mat-autocomplete",null,10),t.YNc(17,ee,4,4,"mat-option",11),t.ALo(18,"async"),t.qZA(),t.qZA(),t.TgZ(19,"div"),t.TgZ(20,"button",12),t.NdJ("click",function(){t.CHM(a);const f=t.MAs(5);return i.validateName(f)}),t._uU(21),t.ALo(22,"translate"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(23,"mat-step",4),t.YNc(24,Qt,2,3,"ng-template",5),t.TgZ(25,"mat-form-field",6),t.TgZ(26,"input",13),t.NdJ("ngModelChange",function(f){return i.destination=f})("ngModelChange",function(){t.CHM(a);const f=t.MAs(5);return i.notCompleted(f)})("keydown.enter",function(){t.CHM(a);const f=t.MAs(5);return i.validateDestination(f)}),t.ALo(27,"translate"),t.qZA(),t.qZA(),t.TgZ(28,"div"),t.TgZ(29,"button",14),t._uU(30),t.ALo(31,"translate"),t.qZA(),t.TgZ(32,"button",12),t.NdJ("click",function(){t.CHM(a);const f=t.MAs(5);return i.validateDestination(f)}),t._uU(33),t.ALo(34,"translate"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(35,"mat-step"),t.YNc(36,me,2,3,"ng-template",5),t.TgZ(37,"mat-radio-group",15),t.NdJ("ngModelChange",function(f){return i.chosenService=f}),t.YNc(38,ye,2,2,"mat-radio-button",16),t.qZA(),t.TgZ(39,"div"),t.TgZ(40,"button",14),t._uU(41),t.ALo(42,"translate"),t.qZA(),t.TgZ(43,"button",12),t.NdJ("click",function(){return i.getGraph()}),t._uU(44),t.ALo(45,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&e){const a=t.MAs(16);t.xp6(2),t.hij(" ",t.lcZ(3,16,"ADMIN.VISUALIZER.USER_DESTINATION.TITLE")," "),t.xp6(7),t.s9C("placeholder",t.lcZ(10,18,"ADMIN.VISUALIZER.USER_DESTINATION.USER_EXAMPLE")),t.Q6J("formControl",i.searchField)("matAutocomplete",a),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(2),t.Oqu(t.lcZ(14,20,"ADMIN.VISUALIZER.USER_DESTINATION.USER_HINT")),t.xp6(4),t.Q6J("ngForOf",t.lcZ(18,22,i.users)),t.xp6(4),t.hij(" ",t.lcZ(22,24,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_NEXT")," "),t.xp6(5),t.s9C("placeholder",t.lcZ(27,26,"ADMIN.VISUALIZER.USER_DESTINATION.DESTINATION_EXAMPLE")),t.Q6J("ngModel",i.destination),t.xp6(4),t.hij(" ",t.lcZ(31,28,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_BACK")," "),t.xp6(3),t.hij(" ",t.lcZ(34,30,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_NEXT")," "),t.xp6(4),t.Q6J("ngModel",i.chosenService),t.xp6(1),t.Q6J("ngForOf",i.availableServices),t.xp6(3),t.hij(" ",t.lcZ(42,32,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_BACK")," "),t.xp6(3),t.hij(" ",t.lcZ(45,34,"ADMIN.VISUALIZER.USER_DESTINATION.SUBMIT_BUTTON")," ")}},directives:[nt.Vq,nt.C0,nt.VY,G.KE,M.Nt,ft.Fj,_t.ZL,ft.JJ,ft.oH,_.O5,tt.$g,G.R9,G.bx,_t.XC,_.sg,Yt.ey,ot.lW,ft.On,nt.fd,gt.VQ,gt.U0],pipes:[p.X$,_.Ov],styles:[""]}),n})();var oe=o(70655);function Oe(n,r,e){n._context.bezierCurveTo((2*n._x0+n._x1)/3,(2*n._y0+n._y1)/3,(n._x0+2*n._x1)/3,(n._y0+2*n._y1)/3,(n._x0+4*n._x1+r)/6,(n._y0+4*n._y1+e)/6)}function Ee(n){this._context=n}function Wn(n,r){this._basis=new Ee(n),this._beta=r}Ee.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Oe(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,r){switch(n=+n,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Oe(this,n,r)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=r}},Wn.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var n=this._x,r=this._y,e=n.length-1;if(e>0)for(var S,i=n[0],a=r[0],s=n[e]-i,f=r[e]-a,b=-1;++b<=e;)this._basis.point(this._beta*n[b]+(1-this._beta)*(i+(S=b/e)*s),this._beta*r[b]+(1-this._beta)*(a+S*f));this._x=this._y=null,this._basis.lineEnd()},point:function(n,r){this._x.push(+n),this._y.push(+r)}};const On=function n(r){function e(i){return 1===r?new Ee(i):new Wn(i,r)}return e.beta=function(i){return n(+i)},e}(.85);var An=o(8929),we=o(41777);function Nn(){}function Jn(n){return null==n?Nn:function(){return this.querySelector(n)}}function on(){return[]}function Qn(n){return new Array(n.length)}function ln(n,r){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=r}function Ce(n,r,e,i,a,s){for(var b,f=0,S=r.length,F=s.length;fr?1:n>=r?0:NaN}ln.prototype={constructor:ln,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,r){return this._parent.insertBefore(n,r)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};var Ye="http://www.w3.org/1999/xhtml";const wn={svg:"http://www.w3.org/2000/svg",xhtml:Ye,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function di(n){var r=n+="",e=r.indexOf(":");return e>=0&&"xmlns"!==(r=n.slice(0,e))&&(n=n.slice(e+1)),wn.hasOwnProperty(r)?{space:wn[r],local:n}:n}function rr(n){return function(){this.removeAttribute(n)}}function Li(n){return function(){this.removeAttributeNS(n.space,n.local)}}function fi(n,r){return function(){this.setAttribute(n,r)}}function ii(n,r){return function(){this.setAttributeNS(n.space,n.local,r)}}function Mi(n,r){return function(){var e=r.apply(this,arguments);null==e?this.removeAttribute(n):this.setAttribute(n,e)}}function ar(n,r){return function(){var e=r.apply(this,arguments);null==e?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,e)}}function Sa(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function as(n){return function(){this.style.removeProperty(n)}}function ss(n,r,e){return function(){this.style.setProperty(n,r,e)}}function Fn(n,r,e){return function(){var i=r.apply(this,arguments);null==i?this.style.removeProperty(n):this.style.setProperty(n,i,e)}}function qi(n,r){return n.style.getPropertyValue(r)||Sa(n).getComputedStyle(n,null).getPropertyValue(r)}function pi(n){return function(){delete this[n]}}function y(n,r){return function(){this[n]=r}}function D(n,r){return function(){var e=r.apply(this,arguments);null==e?delete this[n]:this[n]=e}}function $(n){return n.trim().split(/^|\s+/)}function dt(n){return n.classList||new Et(n)}function Et(n){this._node=n,this._names=$(n.getAttribute("class")||"")}function Lt(n,r){for(var e=dt(n),i=-1,a=r.length;++i=0&&(this._names.splice(r,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};var _o={},Ir=null;function Fu(n,r,e){return n=vo(n,r,e),function(i){var a=i.relatedTarget;(!a||a!==this&&!(8&a.compareDocumentPosition(this)))&&n.call(this,i)}}function vo(n,r,e){return function(i){var a=Ir;Ir=i;try{n.call(this,this.__data__,r,e)}finally{Ir=a}}}function Pu(n){return n.trim().split(/^|\s+/).map(function(r){var e="",i=r.indexOf(".");return i>=0&&(e=r.slice(i+1),r=r.slice(0,i)),{type:r,name:e}})}function Ru(n){return function(){var r=this.__on;if(r){for(var s,e=0,i=-1,a=r.length;e=Kt&&(Kt=ne+1);!(Fe=bt[Kt])&&++Kt=0;)(f=i[a])&&(s&&4^f.compareDocumentPosition(s)&&s.parentNode.insertBefore(f,s),s=f);return this},sort:function yt(n){function r(lt,st){return lt&&st?n(lt.__data__,st.__data__):!lt-!st}n||(n=kt);for(var e=this._groups,i=e.length,a=new Array(i),s=0;s1?this.each((null==r?as:"function"==typeof r?Fn:ss)(n,r,null==e?"":e)):qi(this.node(),n)},property:function B(n,r){return arguments.length>1?this.each((null==r?pi:"function"==typeof r?D:y)(n,r)):this.node()[n]},classed:function bn(n,r){var e=$(n+"");if(arguments.length<2){for(var i=dt(this.node()),a=-1,s=e.length;++a0)for(var S,i=n[0],a=r[0],s=n[e]-i,f=r[e]-a,b=-1;++b<=e;)this._basis.point(this._beta*n[b]+(1-this._beta)*(i+(S=b/e)*s),this._beta*r[b]+(1-this._beta)*(a+S*f));this._x=this._y=null,this._basis.lineEnd()},point:function(n,r){this._x.push(+n),this._y.push(+r)}};const Yu=function n(r){function e(i){return 1===r?new Da(i):new Co(i,r)}return e.beta=function(i){return n(+i)},e}(.85);var os=Math.PI,ls=2*os,Mr=1e-6,Hu=ls-Mr;function cs(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function wo(){return new cs}cs.prototype=wo.prototype={constructor:cs,moveTo:function(n,r){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+r)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(n,r){this._+="L"+(this._x1=+n)+","+(this._y1=+r)},quadraticCurveTo:function(n,r,e,i){this._+="Q"+ +n+","+ +r+","+(this._x1=+e)+","+(this._y1=+i)},bezierCurveTo:function(n,r,e,i,a,s){this._+="C"+ +n+","+ +r+","+ +e+","+ +i+","+(this._x1=+a)+","+(this._y1=+s)},arcTo:function(n,r,e,i,a){var s=this._x1,f=this._y1,b=(e=+e)-(n=+n),S=(i=+i)-(r=+r),F=s-n,W=f-r,lt=F*F+W*W;if((a=+a)<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=n)+","+(this._y1=r);else if(lt>Mr)if(Math.abs(W*b-S*F)>Mr&&a){var st=e-s,vt=i-f,Mt=b*b+S*S,Rt=st*st+vt*vt,bt=Math.sqrt(Mt),$t=Math.sqrt(lt),ne=a*Math.tan((os-Math.acos((Mt+lt-Rt)/(2*bt*$t)))/2),Kt=ne/$t,Se=ne/bt;Math.abs(Kt-1)>Mr&&(this._+="L"+(n+Kt*F)+","+(r+Kt*W)),this._+="A"+a+","+a+",0,0,"+ +(W*st>F*vt)+","+(this._x1=n+Se*b)+","+(this._y1=r+Se*S)}else this._+="L"+(this._x1=n)+","+(this._y1=r)},arc:function(n,r,e,i,a,s){n=+n,r=+r,s=!!s;var f=(e=+e)*Math.cos(i),b=e*Math.sin(i),S=n+f,F=r+b,W=1^s,lt=s?i-a:a-i;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+S+","+F:(Math.abs(this._x1-S)>Mr||Math.abs(this._y1-F)>Mr)&&(this._+="L"+S+","+F),e&&(lt<0&&(lt=lt%ls+ls),lt>Hu?this._+="A"+e+","+e+",0,1,"+W+","+(n-f)+","+(r-b)+"A"+e+","+e+",0,1,"+W+","+(this._x1=S)+","+(this._y1=F):lt>Mr&&(this._+="A"+e+","+e+",0,"+ +(lt>=os)+","+W+","+(this._x1=n+e*Math.cos(a))+","+(this._y1=r+e*Math.sin(a))))},rect:function(n,r,e,i){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+r)+"h"+ +e+"v"+ +i+"h"+-e+"Z"},toString:function(){return this._}};const Wu=wo;function La(n){return function(){return n}}function Ao(n){this._context=n}function Xu(n){return new Ao(n)}function $u(n){return n[0]}function Ju(n){return n[1]}Ao.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,r){switch(n=+n,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 1:this._point=2;default:this._context.lineTo(n,r)}}};var Eo=Math.PI;function Do(n){return(1-Math.cos(Eo*n))/2}function ju(){}function us(n){return null==n?ju:function(){return this.querySelector(n)}}function Ku(){return[]}function Lo(n){return null==n?Ku:function(){return this.querySelectorAll(n)}}function ko(n){return function(){return this.matches(n)}}function Io(n){return new Array(n.length)}function ka(n,r){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=r}function rh(n,r,e,i,a,s){for(var b,f=0,S=r.length,F=s.length;fr?1:n>=r?0:NaN}ka.prototype={constructor:ka,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,r){return this._parent.insertBefore(n,r)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};var hs="http://www.w3.org/1999/xhtml";const Oo={svg:"http://www.w3.org/2000/svg",xhtml:hs,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ia(n){var r=n+="",e=r.indexOf(":");return e>=0&&"xmlns"!==(r=n.slice(0,e))&&(n=n.slice(e+1)),Oo.hasOwnProperty(r)?{space:Oo[r],local:n}:n}function xh(n){return function(){this.removeAttribute(n)}}function yh(n){return function(){this.removeAttributeNS(n.space,n.local)}}function Th(n,r){return function(){this.setAttribute(n,r)}}function bh(n,r){return function(){this.setAttributeNS(n.space,n.local,r)}}function Ch(n,r){return function(){var e=r.apply(this,arguments);null==e?this.removeAttribute(n):this.setAttribute(n,e)}}function wh(n,r){return function(){var e=r.apply(this,arguments);null==e?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,e)}}function No(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function Eh(n){return function(){this.style.removeProperty(n)}}function Sh(n,r,e){return function(){this.style.setProperty(n,r,e)}}function Dh(n,r,e){return function(){var i=r.apply(this,arguments);null==i?this.style.removeProperty(n):this.style.setProperty(n,i,e)}}function zr(n,r){return n.style.getPropertyValue(r)||No(n).getComputedStyle(n,null).getPropertyValue(r)}function kh(n){return function(){delete this[n]}}function Ih(n,r){return function(){this[n]=r}}function Mh(n,r){return function(){var e=r.apply(this,arguments);null==e?delete this[n]:this[n]=e}}function Fo(n){return n.trim().split(/^|\s+/)}function ds(n){return n.classList||new Po(n)}function Po(n){this._node=n,this._names=Fo(n.getAttribute("class")||"")}function Ro(n,r){for(var e=ds(n),i=-1,a=r.length;++i=0&&(this._names.splice(r,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};var Uo={},Or=null;function ld(n,r,e){return n=Go(n,r,e),function(i){var a=i.relatedTarget;(!a||a!==this&&!(8&a.compareDocumentPosition(this)))&&n.call(this,i)}}function Go(n,r,e){return function(i){var a=Or;Or=i;try{n.call(this,this.__data__,r,e)}finally{Or=a}}}function cd(n){return n.trim().split(/^|\s+/).map(function(r){var e="",i=r.indexOf(".");return i>=0&&(e=r.slice(i+1),r=r.slice(0,i)),{type:r,name:e}})}function ud(n){return function(){var r=this.__on;if(r){for(var s,e=0,i=-1,a=r.length;e=Kt&&(Kt=ne+1);!(Fe=bt[Kt])&&++Kt=0;)(f=i[a])&&(s&&4^f.compareDocumentPosition(s)&&s.parentNode.insertBefore(f,s),s=f);return this},sort:function hh(n){function r(lt,st){return lt&&st?n(lt.__data__,st.__data__):!lt-!st}n||(n=dh);for(var e=this._groups,i=e.length,a=new Array(i),s=0;s1?this.each((null==r?Eh:"function"==typeof r?Dh:Sh)(n,r,null==e?"":e)):zr(this.node(),n)},property:function Oh(n,r){return arguments.length>1?this.each((null==r?kh:"function"==typeof r?Mh:Ih)(n,r)):this.node()[n]},classed:function Rh(n,r){var e=Fo(n+"");if(arguments.length<2){for(var i=ds(this.node()),a=-1,s=e.length;++a0)throw new Error("too late; already scheduled");return e}function fr(n,r){var e=er(n,r);if(e.state>3)throw new Error("too late; already running");return e}function er(n,r){var e=n.__transition;if(!e||!(e=e[r]))throw new Error("transition not found");return e}var Xo=o(75349);function bd(n,r){var e,i;return function(){var a=fr(this,n),s=a.tween;if(s!==e)for(var f=0,b=(i=e=s).length;f=0&&(r=r.slice(0,e)),!r||"start"===r})}(r)?ms:fr;return function(){var f=s(this,n),b=f.on;b!==i&&(a=(i=b).copy()).on(r,e),f.on=a}}var tf=la.prototype.constructor;function Qo(n){return function(){this.style.removeProperty(n)}}function lf(n,r,e){return function(i){this.style.setProperty(n,r.call(this,i),e)}}function cf(n,r,e){var i,a;function s(){var f=r.apply(this,arguments);return f!==a&&(i=(a=f)&&lf(n,f,e)),i}return s._value=r,s}function pf(n){return function(r){this.textContent=n.call(this,r)}}function mf(n){var r,e;function i(){var a=n.apply(this,arguments);return a!==e&&(r=(e=a)&&pf(a)),r}return i._value=n,i}var xf=0;function pr(n,r,e,i){this._groups=n,this._parents=r,this._name=e,this._id=i}function jo(){return++xf}var Yr=la.prototype;pr.prototype=function yf(n){return la().transition(n)}.prototype={constructor:pr,select:function qd(n){var r=this._name,e=this._id;"function"!=typeof n&&(n=us(n));for(var i=this._groups,a=i.length,s=new Array(a),f=0;f2&&i.state<5,i.state=6,i.timer.stop(),i.on.call(a?"interrupt":"cancel",n,n.__data__,i.index,i.group),delete e[f]):s=!1;s&&delete n.__transition}}(this,n)})},la.prototype.transition=function bf(n){var r,e;n instanceof pr?(r=n._id,n=n._name):(r=jo(),(e=_s).time=(0,tr.zO)(),n=null==n?null:n+"");for(var i=this._groups,a=i.length,s=0;s1&&void 0!==arguments[1]?arguments[1]:0;return{a:1,c:0,e:n,b:0,d:1,f:r}}function Za(n,r){switch(arguments.length){case 0:break;case 1:this.range(n);break;default:this.range(r).domain(n)}return this}"function"==typeof Symbol&&Symbol,Math,Math,Math,Math;const sl=Symbol("implicit");function vs(){var n=new Map,r=[],e=[],i=sl;function a(s){var f=s+"",b=n.get(f);if(!b){if(i!==sl)return i;n.set(f,b=r.push(s))}return e[(b-1)%e.length]}return a.domain=function(s){if(!arguments.length)return r.slice();r=[],n=new Map;for(const f of s){const b=f+"";n.has(b)||n.set(b,r.push(f))}return a},a.range=function(s){return arguments.length?(e=Array.from(s),a):e.slice()},a.unknown=function(s){return arguments.length?(i=s,a):i},a.copy=function(){return vs(r,e).unknown(i)},Za.apply(a,arguments),a}var Wr=o(59695);function Bf(n,r){var e;function i(){var a,f,s=e.length,b=0,S=0;for(a=0;a=(lt=(b+F)/2))?b=lt:F=lt,(bt=e>=(st=(S+W)/2))?S=st:W=st,a=s,!(s=s[$t=bt<<1|Rt]))return a[$t]=f,n;if(vt=+n._x.call(null,s.data),Mt=+n._y.call(null,s.data),r===vt&&e===Mt)return f.next=s,a?a[$t]=f:n._root=f,n;do{a=a?a[$t]=new Array(4):n._root=new Array(4),(Rt=r>=(lt=(b+F)/2))?b=lt:F=lt,(bt=e>=(st=(S+W)/2))?S=st:W=st}while(($t=bt<<1|Rt)==(ne=(Mt>=st)<<1|vt>=lt));return a[ne]=s,a[$t]=f,n}function Zi(n,r,e,i,a){this.node=n,this.x0=r,this.y0=e,this.x1=i,this.y1=a}function qf(n){return n[0]}function tp(n){return n[1]}function xs(n,r,e){var i=new ys(null==r?qf:r,null==e?tp:e,NaN,NaN,NaN,NaN);return null==n?i:i.addAll(n)}function ys(n,r,e,i,a,s){this._x=n,this._y=r,this._x0=e,this._y0=i,this._x1=a,this._y1=s,this._root=void 0}function ll(n){for(var r={data:n.data},e=r;n=n.next;)e=e.next={data:n.data};return r}var Bi=xs.prototype=ys.prototype;function np(n){return n.x+n.vx}function ip(n){return n.y+n.vy}function cl(n){var r,e,i=1,a=1;function s(){for(var S,W,lt,st,vt,Mt,Rt,F=r.length,bt=0;btst+Sn||Fevt+Sn||belt.index){var Vn=st-hn.x-hn.vx,zn=vt-hn.y-hn.vy,mi=Vn*Vn+zn*zn;miS.r&&(S.r=S[F].r)}function b(){if(r){var S,W,F=r.length;for(e=new Array(F),S=0;SW&&(W=a),slt&&(lt=s));if(S>W||F>lt)return this;for(this.cover(S,F).cover(W,lt),e=0;en||n>=a||i>r||r>=s;)switch(F=(rW||(b=Mt.y0)>lt||(S=Mt.x1)=$t)<<1|n>=bt)&&(Mt=st[st.length-1],st[st.length-1]=st[st.length-1-Rt],st[st.length-1-Rt]=Mt)}else{var ne=n-+this._x.call(null,vt.data),Kt=r-+this._y.call(null,vt.data),Se=ne*ne+Kt*Kt;if(Se=(st=(f+S)/2))?f=st:S=st,(Rt=lt>=(vt=(b+F)/2))?b=vt:F=vt,r=e,!(e=e[bt=Rt<<1|Mt]))return this;if(!e.length)break;(r[bt+1&3]||r[bt+2&3]||r[bt+3&3])&&(i=r,$t=bt)}for(;e.data!==n;)if(a=e,!(e=e.next))return this;return(s=e.next)&&delete e.next,a?(s?a.next=s:delete a.next,this):r?(s?r[bt]=s:delete r[bt],(e=r[0]||r[1]||r[2]||r[3])&&e===(r[3]||r[2]||r[1]||r[0])&&!e.length&&(i?i[$t]=e:this._root=e),this):(this._root=s,this)},Bi.removeAll=function Xf(n){for(var r=0,e=n.length;r1?(null==Rt?b.remove(Mt):b.set(Mt,vt(Rt)),r):b.get(Mt)},find:function(Mt,Rt,bt){var Kt,Se,Fe,be,hn,$t=0,ne=n.length;for(null==bt?bt=1/0:bt*=bt,$t=0;$t1?(F.on(Mt,Rt),r):F.on(Mt)}}}function gl(){var n,r,e,a,i=_i(-30),s=1,f=1/0,b=.81;function S(st){var vt,Mt=n.length,Rt=xs(n,lp,cp).visitAfter(W);for(e=st,vt=0;vt=f)){(st.data!==r||st.next)&&(0===bt&&(Kt+=(bt=Cr())*bt),0===$t&&(Kt+=($t=Cr())*$t),Kt{return(n=Xr||(Xr={})).Both="both",n.Horizontal="horizontal",n.Vertical="vertical",Xr;var n})(),$r=(()=>{return(n=$r||($r={})).UpperLeft="UpperLeft",n.UpperRight="UpperRight",$r;var n})();function Vp(n,r,e){e=e||{};let i,a,s,f=null,b=0;function S(){b=!1===e.leading?0:+new Date,f=null,s=n.apply(i,a)}return function(){const F=+new Date;!b&&!1===e.leading&&(b=F);const W=r-(F-b);return i=this,a=arguments,W<=0?(clearTimeout(f),f=null,b=F,s=n.apply(i,a)):!f&&!1!==e.trailing&&(f=setTimeout(S,W)),s}}function zp(n,r){return function(i,a,s){return{configurable:!0,enumerable:s.enumerable,get:function(){return Object.defineProperty(this,a,{configurable:!0,enumerable:s.enumerable,value:Vp(s.value,n,r)}),this[a]}}}}let vl=[{name:"vivid",selectable:!0,group:"Ordinal",domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:"Ordinal",domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:"Ordinal",domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:"Ordinal",domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:"Continuous",domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:"Continuous",domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:"Continuous",domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:"Ordinal",domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:"Ordinal",domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:"Ordinal",domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:"Ordinal",domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:"Ordinal",domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:"Ordinal",domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:"Ordinal",domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:"Ordinal",domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class Yp{constructor(r,e,i){"string"==typeof r&&(r=vl.find(a=>a.name===r)),this.colorDomain=r.domain,this.domain=e,this.customColors=i,this.scale=this.generateColorScheme(r,this.domain)}generateColorScheme(r,e){return"string"==typeof r&&(r=vl.find(i=>i.name===r)),vs().range(r.domain).domain(e)}getColor(r){if(null==r)throw new Error("Value can not be null");if("function"==typeof this.customColors)return this.customColors(r);const e=r.toString();let i;return this.customColors&&this.customColors.length>0&&(i=this.customColors.find(a=>a.name.toLowerCase()===e.toLowerCase())),i?i.value:this.scale(r)}}let Wp=(()=>{class n{constructor(e,i){this.element=e,this.zone=i,this.visible=new t.vpe,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const e=()=>{if(!this.element)return;const{offsetHeight:i,offsetWidth:a}=this.element.nativeElement;i&&a?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>e(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>e())})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.R0b))},n.\u0275dir=t.lG2({type:n,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),n})();var Jr=(()=>{return(n=Jr||(Jr={})).LEFT_TO_RIGHT="LR",n.RIGHT_TO_LEFT="RL",n.TOP_TO_BOTTOM="TB",n.BOTTOM_TO_TOM="BT",Jr;var n})();function Qr(n){return"string"==typeof n?{id:n,x:0,y:0}:n}function yl(n,r){return"number"==typeof r?n[r]:r}const Tl={dagre:class Xp{constructor(){this.defaultSettings={orientation:Jr.LEFT_TO_RIGHT,marginX:20,marginY:20,edgePadding:100,rankPadding:100,nodePadding:50,multigraph:!0,compound:!0},this.settings={}}run(r){this.createDagreGraph(r),Wr.layout(this.dagreGraph),r.edgeLabels=this.dagreGraph._edgeLabels;for(const e in this.dagreGraph._nodes){const i=this.dagreGraph._nodes[e],a=r.nodes.find(s=>s.id===i.id);a.position={x:i.x,y:i.y},a.dimension={width:i.width,height:i.height}}return r}updateEdge(r,e){const i=r.nodes.find(S=>S.id===e.source),a=r.nodes.find(S=>S.id===e.target),s=i.position.y<=a.position.y?-1:1;return e.points=[{x:i.position.x,y:i.position.y-s*(i.dimension.height/2)},{x:a.position.x,y:a.position.y+s*(a.dimension.height/2)}],r}createDagreGraph(r){const e=Object.assign({},this.defaultSettings,this.settings);this.dagreGraph=new Wr.graphlib.Graph({compound:e.compound,multigraph:e.multigraph}),this.dagreGraph.setGraph({rankdir:e.orientation,marginx:e.marginX,marginy:e.marginY,edgesep:e.edgePadding,ranksep:e.rankPadding,nodesep:e.nodePadding,align:e.align,acyclicer:e.acyclicer,ranker:e.ranker,multigraph:e.multigraph,compound:e.compound}),this.dagreGraph.setDefaultEdgeLabel(()=>({})),this.dagreNodes=r.nodes.map(i=>{const a=Object.assign({},i);return a.width=i.dimension.width,a.height=i.dimension.height,a.x=i.position.x,a.y=i.position.y,a}),this.dagreEdges=r.edges.map(i=>{const a=Object.assign({},i);return a.id||(a.id=mr()),a});for(const i of this.dagreNodes)i.width||(i.width=20),i.height||(i.height=30),this.dagreGraph.setNode(i.id,i);for(const i of this.dagreEdges)e.multigraph?this.dagreGraph.setEdge(i.source,i.target,i,i.id):this.dagreGraph.setEdge(i.source,i.target);return this.dagreGraph}},dagreCluster:class $p{constructor(){this.defaultSettings={orientation:Jr.LEFT_TO_RIGHT,marginX:20,marginY:20,edgePadding:100,rankPadding:100,nodePadding:50,multigraph:!0,compound:!0},this.settings={}}run(r){this.createDagreGraph(r),Wr.layout(this.dagreGraph),r.edgeLabels=this.dagreGraph._edgeLabels;const e=i=>{const a=this.dagreGraph._nodes[i.id];return Object.assign(Object.assign({},i),{position:{x:a.x,y:a.y},dimension:{width:a.width,height:a.height}})};return r.clusters=(r.clusters||[]).map(e),r.nodes=r.nodes.map(e),r}updateEdge(r,e){const i=r.nodes.find(S=>S.id===e.source),a=r.nodes.find(S=>S.id===e.target),s=i.position.y<=a.position.y?-1:1;return e.points=[{x:i.position.x,y:i.position.y-s*(i.dimension.height/2)},{x:a.position.x,y:a.position.y+s*(a.dimension.height/2)}],r}createDagreGraph(r){const e=Object.assign({},this.defaultSettings,this.settings);this.dagreGraph=new Wr.graphlib.Graph({compound:e.compound,multigraph:e.multigraph}),this.dagreGraph.setGraph({rankdir:e.orientation,marginx:e.marginX,marginy:e.marginY,edgesep:e.edgePadding,ranksep:e.rankPadding,nodesep:e.nodePadding,align:e.align,acyclicer:e.acyclicer,ranker:e.ranker,multigraph:e.multigraph,compound:e.compound}),this.dagreGraph.setDefaultEdgeLabel(()=>({})),this.dagreNodes=r.nodes.map(i=>{const a=Object.assign({},i);return a.width=i.dimension.width,a.height=i.dimension.height,a.x=i.position.x,a.y=i.position.y,a}),this.dagreClusters=r.clusters||[],this.dagreEdges=r.edges.map(i=>{const a=Object.assign({},i);return a.id||(a.id=mr()),a});for(const i of this.dagreNodes)this.dagreGraph.setNode(i.id,i);for(const i of this.dagreClusters)this.dagreGraph.setNode(i.id,i),i.childNodeIds.forEach(a=>{this.dagreGraph.setParent(a,i.id)});for(const i of this.dagreEdges)e.multigraph?this.dagreGraph.setEdge(i.source,i.target,i,i.id):this.dagreGraph.setEdge(i.source,i.target);return this.dagreGraph}},dagreNodesOnly:class Qp{constructor(){this.defaultSettings={orientation:Jr.LEFT_TO_RIGHT,marginX:20,marginY:20,edgePadding:100,rankPadding:100,nodePadding:50,curveDistance:20,multigraph:!0,compound:!0},this.settings={}}run(r){this.createDagreGraph(r),Wr.layout(this.dagreGraph),r.edgeLabels=this.dagreGraph._edgeLabels;for(const e in this.dagreGraph._nodes){const i=this.dagreGraph._nodes[e],a=r.nodes.find(s=>s.id===i.id);a.position={x:i.x,y:i.y},a.dimension={width:i.width,height:i.height}}for(const e of r.edges)this.updateEdge(r,e);return r}updateEdge(r,e){const i=r.nodes.find(Mt=>Mt.id===e.source),a=r.nodes.find(Mt=>Mt.id===e.target),s="BT"===this.settings.orientation||"TB"===this.settings.orientation?"y":"x",f="y"===s?"x":"y",b="y"===s?"height":"width",S=i.position[s]<=a.position[s]?-1:1,F={[f]:i.position[f],[s]:i.position[s]-S*(i.dimension[b]/2)},W={[f]:a.position[f],[s]:a.position[s]+S*(a.dimension[b]/2)},lt=this.settings.curveDistance||this.defaultSettings.curveDistance;e.points=[F,{[f]:F[f],[s]:F[s]-S*lt},{[f]:W[f],[s]:W[s]+S*lt},W];const vt=r.edgeLabels[`${e.source}\x01${e.target}\x01\0`];return vt&&(vt.points=e.points),r}createDagreGraph(r){const e=Object.assign({},this.defaultSettings,this.settings);this.dagreGraph=new Wr.graphlib.Graph({compound:e.compound,multigraph:e.multigraph}),this.dagreGraph.setGraph({rankdir:e.orientation,marginx:e.marginX,marginy:e.marginY,edgesep:e.edgePadding,ranksep:e.rankPadding,nodesep:e.nodePadding,align:e.align,acyclicer:e.acyclicer,ranker:e.ranker,multigraph:e.multigraph,compound:e.compound}),this.dagreGraph.setDefaultEdgeLabel(()=>({})),this.dagreNodes=r.nodes.map(i=>{const a=Object.assign({},i);return a.width=i.dimension.width,a.height=i.dimension.height,a.x=i.position.x,a.y=i.position.y,a}),this.dagreEdges=r.edges.map(i=>{const a=Object.assign({},i);return a.id||(a.id=mr()),a});for(const i of this.dagreNodes)i.width||(i.width=20),i.height||(i.height=30),this.dagreGraph.setNode(i.id,i);for(const i of this.dagreEdges)e.multigraph?this.dagreGraph.setEdge(i.source,i.target,i,i.id):this.dagreGraph.setEdge(i.source,i.target);return this.dagreGraph}},d3ForceDirected:class jp{constructor(){this.defaultSettings={force:ml().force("charge",gl().strength(-150)).force("collide",cl(5)),forceLink:pl().id(r=>r.id).distance(()=>100)},this.settings={},this.outputGraph$=new An.xQ}run(r){return this.inputGraph=r,this.d3Graph={nodes:[...this.inputGraph.nodes.map(e=>Object.assign({},e))],edges:[...this.inputGraph.edges.map(e=>Object.assign({},e))]},this.outputGraph={nodes:[],edges:[],edgeLabels:[]},this.outputGraph$.next(this.outputGraph),this.settings=Object.assign({},this.defaultSettings,this.settings),this.settings.force&&this.settings.force.nodes(this.d3Graph.nodes).force("link",this.settings.forceLink.links(this.d3Graph.edges)).alpha(.5).restart().on("tick",()=>{this.outputGraph$.next(this.d3GraphToOutputGraph(this.d3Graph))}),this.outputGraph$.asObservable()}updateEdge(r,e){const i=Object.assign({},this.defaultSettings,this.settings);return i.force&&i.force.nodes(this.d3Graph.nodes).force("link",i.forceLink.links(this.d3Graph.edges)).alpha(.5).restart().on("tick",()=>{this.outputGraph$.next(this.d3GraphToOutputGraph(this.d3Graph))}),this.outputGraph$.asObservable()}d3GraphToOutputGraph(r){return this.outputGraph.nodes=this.d3Graph.nodes.map(e=>Object.assign(Object.assign({},e),{id:e.id||mr(),position:{x:e.x,y:e.y},dimension:{width:e.dimension&&e.dimension.width||20,height:e.dimension&&e.dimension.height||20},transform:`translate(${e.x-(e.dimension&&e.dimension.width||20)/2||0}, ${e.y-(e.dimension&&e.dimension.height||20)/2||0})`})),this.outputGraph.edges=this.d3Graph.edges.map(e=>Object.assign(Object.assign({},e),{source:Qr(e.source).id,target:Qr(e.target).id,points:[{x:Qr(e.source).x,y:Qr(e.source).y},{x:Qr(e.target).x,y:Qr(e.target).y}]})),this.outputGraph.edgeLabels=this.outputGraph.edges,this.outputGraph}onDragStart(r,e){this.settings.force.alphaTarget(.3).restart();const i=this.d3Graph.nodes.find(a=>a.id===r.id);!i||(this.draggingStart={x:e.x-i.x,y:e.y-i.y},i.fx=e.x-this.draggingStart.x,i.fy=e.y-this.draggingStart.y)}onDrag(r,e){if(!r)return;const i=this.d3Graph.nodes.find(a=>a.id===r.id);!i||(i.fx=e.x-this.draggingStart.x,i.fy=e.y-this.draggingStart.y)}onDragEnd(r,e){if(!r)return;const i=this.d3Graph.nodes.find(a=>a.id===r.id);!i||(this.settings.force.alphaTarget(0),i.fx=void 0,i.fy=void 0)}},colaForceDirected:class qp{constructor(){this.defaultSettings={force:(0,mp.d3adaptor)(Object.assign(Object.assign(Object.assign({},x),u),v)).linkDistance(150).avoidOverlaps(!0),viewDimensions:{width:600,height:600}},this.settings={},this.outputGraph$=new An.xQ}run(r){return this.inputGraph=r,this.inputGraph.clusters||(this.inputGraph.clusters=[]),this.internalGraph={nodes:[...this.inputGraph.nodes.map(e=>Object.assign(Object.assign({},e),{width:e.dimension?e.dimension.width:20,height:e.dimension?e.dimension.height:20}))],groups:[...this.inputGraph.clusters.map(e=>({padding:5,groups:e.childNodeIds.map(i=>this.inputGraph.clusters.findIndex(a=>a.id===i)).filter(i=>i>=0),leaves:e.childNodeIds.map(i=>this.inputGraph.nodes.findIndex(a=>a.id===i)).filter(i=>i>=0)}))],links:[...this.inputGraph.edges.map(e=>{const i=this.inputGraph.nodes.findIndex(s=>e.source===s.id),a=this.inputGraph.nodes.findIndex(s=>e.target===s.id);if(-1!==i&&-1!==a)return Object.assign(Object.assign({},e),{source:i,target:a})}).filter(e=>!!e)],groupLinks:[...this.inputGraph.edges.map(e=>{const i=this.inputGraph.nodes.findIndex(s=>e.source===s.id),a=this.inputGraph.nodes.findIndex(s=>e.target===s.id);if(!(i>=0&&a>=0))return e}).filter(e=>!!e)]},this.outputGraph={nodes:[],clusters:[],edges:[],edgeLabels:[]},this.outputGraph$.next(this.outputGraph),this.settings=Object.assign({},this.defaultSettings,this.settings),this.settings.force&&(this.settings.force=this.settings.force.nodes(this.internalGraph.nodes).groups(this.internalGraph.groups).links(this.internalGraph.links).alpha(.5).on("tick",()=>{this.settings.onTickListener&&this.settings.onTickListener(this.internalGraph),this.outputGraph$.next(this.internalGraphToOutputGraph(this.internalGraph))}),this.settings.viewDimensions&&(this.settings.force=this.settings.force.size([this.settings.viewDimensions.width,this.settings.viewDimensions.height])),this.settings.forceModifierFn&&(this.settings.force=this.settings.forceModifierFn(this.settings.force)),this.settings.force.start()),this.outputGraph$.asObservable()}updateEdge(r,e){const i=Object.assign({},this.defaultSettings,this.settings);return i.force&&i.force.start(),this.outputGraph$.asObservable()}internalGraphToOutputGraph(r){return this.outputGraph.nodes=r.nodes.map(e=>Object.assign(Object.assign({},e),{id:e.id||mr(),position:{x:e.x,y:e.y},dimension:{width:e.dimension&&e.dimension.width||20,height:e.dimension&&e.dimension.height||20},transform:`translate(${e.x-(e.dimension&&e.dimension.width||20)/2||0}, ${e.y-(e.dimension&&e.dimension.height||20)/2||0})`})),this.outputGraph.edges=r.links.map(e=>{const i=yl(r.nodes,e.source),a=yl(r.nodes,e.target);return Object.assign(Object.assign({},e),{source:i.id,target:a.id,points:[i.bounds.rayIntersection(a.bounds.cx(),a.bounds.cy()),a.bounds.rayIntersection(i.bounds.cx(),i.bounds.cy())]})}).concat(r.groupLinks.map(e=>{const i=r.nodes.find(b=>b.id===e.source),a=r.nodes.find(b=>b.id===e.target),s=i||r.groups.find(b=>b.id===e.source),f=a||r.groups.find(b=>b.id===e.target);return Object.assign(Object.assign({},e),{source:s.id,target:f.id,points:[s.bounds.rayIntersection(f.bounds.cx(),f.bounds.cy()),f.bounds.rayIntersection(s.bounds.cx(),s.bounds.cy())]})})),this.outputGraph.clusters=r.groups.map((e,i)=>Object.assign(Object.assign({},this.inputGraph.clusters[i]),{dimension:{width:e.bounds?e.bounds.width():20,height:e.bounds?e.bounds.height():20},position:{x:e.bounds?e.bounds.x+e.bounds.width()/2:0,y:e.bounds?e.bounds.y+e.bounds.height()/2:0}})),this.outputGraph.edgeLabels=this.outputGraph.edges,this.outputGraph}onDragStart(r,e){const i=this.outputGraph.nodes.findIndex(s=>s.id===r.id),a=this.internalGraph.nodes[i];!a||(this.draggingStart={x:a.x-e.x,y:a.y-e.y},a.fixed=1,this.settings.force.start())}onDrag(r,e){if(!r)return;const i=this.outputGraph.nodes.findIndex(s=>s.id===r.id),a=this.internalGraph.nodes[i];!a||(a.x=this.draggingStart.x+e.x,a.y=this.draggingStart.y+e.y)}onDragEnd(r,e){if(!r)return;const i=this.outputGraph.nodes.findIndex(s=>s.id===r.id),a=this.internalGraph.nodes[i];!a||(a.fixed=0)}}};let bl=(()=>{class n{getLayout(e){if(Tl[e])return new Tl[e];throw new Error(`Unknown layout type '${e}'`)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),Kp=(()=>{class n{constructor(){this.mouseWheelUp=new t.vpe,this.mouseWheelDown=new t.vpe}onMouseWheelChrome(e){this.mouseWheelFunc(e)}onMouseWheelFirefox(e){this.mouseWheelFunc(e)}onWheel(e){this.mouseWheelFunc(e)}onMouseWheelIE(e){this.mouseWheelFunc(e)}mouseWheelFunc(e){window.event&&(e=window.event);const i=Math.max(-1,Math.min(1,e.wheelDelta||-e.detail||e.deltaY||e.deltaX)),s=e.wheelDelta?i<0:i>0;(e.wheelDelta?i>0:i<0)?this.mouseWheelUp.emit(e):s&&this.mouseWheelDown.emit(e),e.returnValue=!1,e.preventDefault&&e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","mouseWheel",""]],hostBindings:function(e,i){1&e&&t.NdJ("mousewheel",function(s){return i.onMouseWheelChrome(s)})("DOMMouseScroll",function(s){return i.onMouseWheelFirefox(s)})("wheel",function(s){return i.onWheel(s)})("onmousewheel",function(s){return i.onMouseWheelIE(s)})},outputs:{mouseWheelUp:"mouseWheelUp",mouseWheelDown:"mouseWheelDown"}}),n})(),tm=(()=>{class n{constructor(e,i,a,s){this.el=e,this.zone=i,this.cd=a,this.layoutService=s,this.nodes=[],this.clusters=[],this.links=[],this.activeEntries=[],this.draggingEnabled=!0,this.panningEnabled=!0,this.panningAxis=Xr.Both,this.enableZoom=!0,this.zoomSpeed=.1,this.minZoomLevel=.1,this.maxZoomLevel=4,this.autoZoom=!1,this.panOnZoom=!0,this.animate=!1,this.autoCenter=!1,this.enableTrackpadSupport=!1,this.showMiniMap=!1,this.miniMapMaxWidth=100,this.miniMapPosition=$r.UpperRight,this.scheme="cool",this.animations=!0,this.select=new t.vpe,this.activate=new t.vpe,this.deactivate=new t.vpe,this.zoomChange=new t.vpe,this.clickHandler=new t.vpe,this.isMouseMoveCalled=!1,this.graphSubscription=new Ko.w,this.subscriptions=[],this.isPanning=!1,this.isDragging=!1,this.initialized=!1,this.graphDims={width:0,height:0},this._oldLinks=[],this.oldNodes=new Set,this.oldClusters=new Set,this.transformationMatrix={a:1,c:0,e:0,b:0,d:1,f:0},this._touchLastX=null,this._touchLastY=null,this.minimapScaleCoefficient=3,this.minimapOffsetX=0,this.minimapOffsetY=0,this.isMinimapPanning=!1,this.groupResultsBy=f=>f.label}get zoomLevel(){return this.transformationMatrix.a}set zoomLevel(e){this.zoomTo(Number(e))}get panOffsetX(){return this.transformationMatrix.e}set panOffsetX(e){this.panTo(Number(e),null)}get panOffsetY(){return this.transformationMatrix.f}set panOffsetY(e){this.panTo(null,Number(e))}ngOnInit(){this.update$&&this.subscriptions.push(this.update$.subscribe(()=>{this.update()})),this.center$&&this.subscriptions.push(this.center$.subscribe(()=>{this.center()})),this.zoomToFit$&&this.subscriptions.push(this.zoomToFit$.subscribe(()=>{this.zoomToFit()})),this.panToNode$&&this.subscriptions.push(this.panToNode$.subscribe(e=>{this.panToNodeId(e)})),this.minimapClipPathId=`minimapClip${mr()}`}ngOnChanges(e){this.basicUpdate();const{layoutSettings:a}=e;this.setLayout(this.layout),a&&this.setLayoutSettings(this.layoutSettings),this.update()}setLayout(e){this.initialized=!1,e||(e="dagre"),"string"==typeof e&&(this.layout=this.layoutService.getLayout(e),this.setLayoutSettings(this.layoutSettings))}setLayoutSettings(e){this.layout&&"string"!=typeof this.layout&&(this.layout.settings=e)}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy());for(const e of this.subscriptions)e.unsubscribe();this.subscriptions=null}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new Wp(this.el,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this)),setTimeout(()=>this.update())}update(){this.basicUpdate(),this.curve||(this.curve=Yu.beta(1)),this.zone.run(()=>{this.dims=function Hp({width:n,height:r}){let e=n,i=r;return e=Math.max(0,e),i=Math.max(0,i),{width:Math.floor(e),height:Math.floor(i)}}({width:this.width,height:this.height}),this.seriesDomain=this.getSeriesDomain(),this.setColors(),this.createGraph(),this.updateTransform(),this.initialized=!0})}createGraph(){this.graphSubscription.unsubscribe(),this.graphSubscription=new Ko.w;const e=i=>(i.meta||(i.meta={}),i.id||(i.id=mr()),i.dimension?i.meta.forceDimensions=void 0===i.meta.forceDimensions||i.meta.forceDimensions:(i.dimension={width:this.nodeWidth?this.nodeWidth:30,height:this.nodeHeight?this.nodeHeight:30},i.meta.forceDimensions=!1),i.position={x:0,y:0},i.data=i.data?i.data:{},i);this.graph={nodes:this.nodes.length>0?[...this.nodes].map(e):[],clusters:this.clusters&&this.clusters.length>0?[...this.clusters].map(e):[],edges:this.links.length>0?[...this.links].map(i=>(i.id||(i.id=mr()),i)):[]},requestAnimationFrame(()=>this.draw())}draw(){if(!this.layout||"string"==typeof this.layout)return;this.applyNodeDimensions();const e=this.layout.run(this.graph),i=e instanceof tl.y?e:(0,el.of)(e);this.graphSubscription.add(i.subscribe(a=>{this.graph=a,this.tick()})),0!==this.graph.nodes.length&&i.pipe((0,wf.P)()).subscribe(()=>this.applyNodeDimensions())}tick(){const e=new Set;this.graph.nodes.map(s=>{s.transform=`translate(${s.position.x-s.dimension.width/2||0}, ${s.position.y-s.dimension.height/2||0})`,s.data||(s.data={}),s.data.color=this.colors.getColor(this.groupResultsBy(s)),e.add(s.id)});const i=new Set;(this.graph.clusters||[]).map(s=>{s.transform=`translate(${s.position.x-s.dimension.width/2||0}, ${s.position.y-s.dimension.height/2||0})`,s.data||(s.data={}),s.data.color=this.colors.getColor(this.groupResultsBy(s)),i.add(s.id)}),setTimeout(()=>{this.oldNodes=e,this.oldClusters=i},500);const a=[];for(const s in this.graph.edgeLabels){const f=this.graph.edgeLabels[s],b=s.replace(/[^\w-]*/g,""),S=this.layout&&"string"!=typeof this.layout&&this.layout.settings&&this.layout.settings.multigraph;let F=this._oldLinks.find(S?Rt=>`${Rt.source}${Rt.target}${Rt.id}`===b:Rt=>`${Rt.source}${Rt.target}`===b);const W=this.graph.edges.find(S?Rt=>`${Rt.source}${Rt.target}${Rt.id}`===b:Rt=>`${Rt.source}${Rt.target}`===b);F?F.data&&W&&W.data&&JSON.stringify(F.data)!==JSON.stringify(W.data)&&(F.data=W.data):F=W||f,F.oldLine=F.line;const lt=f.points,st=this.generateLine(lt),vt=Object.assign({},F);vt.line=st,vt.points=lt,this.updateMidpointOnEdge(vt,lt);const Mt=lt[Math.floor(lt.length/2)];Mt&&(vt.textTransform=`translate(${Mt.x||0},${Mt.y||0})`),vt.textAngle=0,vt.oldLine||(vt.oldLine=vt.line),this.calcDominantBaseline(vt),a.push(vt)}this.graph.edges=a,this.graph.edges&&(this._oldLinks=this.graph.edges.map(s=>{const f=Object.assign({},s);return f.oldLine=s.line,f})),this.updateMinimap(),this.autoZoom&&this.zoomToFit(),this.autoCenter&&this.center(),requestAnimationFrame(()=>this.redrawLines()),this.cd.markForCheck()}getMinimapTransform(){switch(this.miniMapPosition){case $r.UpperLeft:return"";case $r.UpperRight:return"translate("+(this.dims.width-this.graphDims.width/this.minimapScaleCoefficient)+",0)";default:return""}}updateGraphDims(){let e=1/0,i=-1/0,a=1/0,s=-1/0;for(let f=0;fi?b.position.x+b.dimension.width:i,s=b.position.y+b.dimension.height>s?b.position.y+b.dimension.height:s}e-=100,a-=100,i+=100,s+=100,this.graphDims.width=i-e,this.graphDims.height=s-a,this.minimapOffsetX=e,this.minimapOffsetY=a}updateMinimap(){this.graph.nodes&&this.graph.nodes.length&&(this.updateGraphDims(),this.miniMapMaxWidth&&(this.minimapScaleCoefficient=this.graphDims.width/this.miniMapMaxWidth),this.miniMapMaxHeight&&(this.minimapScaleCoefficient=Math.max(this.minimapScaleCoefficient,this.graphDims.height/this.miniMapMaxHeight)),this.minimapTransform=this.getMinimapTransform())}applyNodeDimensions(){this.nodeElements&&this.nodeElements.length&&this.nodeElements.map(e=>{const i=e.nativeElement,a=this.graph.nodes.find(f=>f.id===i.id);if(!a)return;let s;try{if(s=i.getBBox(),!s.width||!s.height)return}catch(f){return}if(a.dimension.height=this.nodeHeight?a.dimension.height&&a.meta.forceDimensions?a.dimension.height:this.nodeHeight:a.dimension.height&&a.meta.forceDimensions?a.dimension.height:s.height,this.nodeMaxHeight&&(a.dimension.height=Math.max(a.dimension.height,this.nodeMaxHeight)),this.nodeMinHeight&&(a.dimension.height=Math.min(a.dimension.height,this.nodeMinHeight)),this.nodeWidth)a.dimension.width=a.dimension.width&&a.meta.forceDimensions?a.dimension.width:this.nodeWidth;else if(i.getElementsByTagName("text").length){let f;try{for(const b of i.getElementsByTagName("text")){const S=b.getBBox();f?(S.width>f.width&&(f.width=S.width),S.height>f.height&&(f.height=S.height)):f=S}}catch(b){return}a.dimension.width=a.dimension.width&&a.meta.forceDimensions?a.dimension.width:f.width+20}else a.dimension.width=a.dimension.width&&a.meta.forceDimensions?a.dimension.width:s.width;this.nodeMaxWidth&&(a.dimension.width=Math.max(a.dimension.width,this.nodeMaxWidth)),this.nodeMinWidth&&(a.dimension.width=Math.min(a.dimension.width,this.nodeMinWidth))})}redrawLines(e=this.animate){this.linkElements.map(i=>{const a=this.graph.edges.find(s=>s.id===i.nativeElement.id);a&&(To(i.nativeElement).select(".line").attr("d",a.oldLine).transition().ease(Do).duration(e?500:0).attr("d",a.line),To(this.el.nativeElement).select(`#${a.id}`).attr("d",a.oldTextPath).transition().ease(Do).duration(e?500:0).attr("d",a.textPath),this.updateMidpointOnEdge(a,a.points))})}calcDominantBaseline(e){const i=e.points[0],a=e.points[e.points.length-1];e.oldTextPath=e.textPath,a.xa.x).y(a=>a.y).curve(this.curve)(e)}onZoom(e,i){if(this.enableTrackpadSupport&&!e.ctrlKey)return void this.pan(-1*e.deltaX,-1*e.deltaY);const a=1+("in"===i?this.zoomSpeed:-this.zoomSpeed),s=this.zoomLevel*a;if(!(s<=this.minZoomLevel||s>=this.maxZoomLevel)&&this.enableZoom)if(!0===this.panOnZoom&&e){const f=e.clientX,b=e.clientY,S=this.el.nativeElement.querySelector("svg"),F=S.querySelector("g.chart"),W=S.createSVGPoint();W.x=f,W.y=b;const lt=W.matrixTransform(F.getScreenCTM().inverse());this.pan(lt.x,lt.y,!0),this.zoom(a),this.pan(-lt.x,-lt.y,!0)}else this.zoom(a)}pan(e,i,a=!1){const s=a?1:this.zoomLevel;this.transformationMatrix=ha(this.transformationMatrix,al(e/s,i/s)),this.updateTransform()}panTo(e,i){null==e||isNaN(e)||null==i||isNaN(i)||(this.transformationMatrix=ha(this.transformationMatrix,al((-this.panOffsetX-e*this.zoomLevel+this.dims.width/2)/this.zoomLevel,(-this.panOffsetY-i*this.zoomLevel+this.dims.height/2)/this.zoomLevel)),this.updateTransform())}zoom(e){this.transformationMatrix=ha(this.transformationMatrix,function Of(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return Mf(r)&&(r=n),{a:n,c:0,e:0,b:0,d:r,f:0}}(e,e)),this.zoomChange.emit(this.zoomLevel),this.updateTransform()}zoomTo(e){this.transformationMatrix.a=isNaN(e)?this.transformationMatrix.a:Number(e),this.transformationMatrix.d=isNaN(e)?this.transformationMatrix.d:Number(e),this.zoomChange.emit(this.zoomLevel),this.updateTransform(),this.update()}onDrag(e){if(!this.draggingEnabled)return;const i=this.draggingNode;this.layout&&"string"!=typeof this.layout&&this.layout.onDrag&&this.layout.onDrag(i,e),i.position.x+=e.movementX/this.zoomLevel,i.position.y+=e.movementY/this.zoomLevel,i.transform=`translate(${i.position.x-i.dimension.width/2}, ${i.position.y-i.dimension.height/2})`;for(const f of this.graph.edges)if((f.target===i.id||f.source===i.id||f.target.id===i.id||f.source.id===i.id)&&this.layout&&"string"!=typeof this.layout){const b=this.layout.updateEdge(this.graph,f),S=b instanceof tl.y?b:(0,el.of)(b);this.graphSubscription.add(S.subscribe(F=>{this.graph=F,this.redrawEdge(f)}))}this.redrawLines(!1),this.updateMinimap()}redrawEdge(e){const i=this.generateLine(e.points);this.calcDominantBaseline(e),e.oldLine=e.line,e.line=i}updateTransform(){this.transform=function Ff(n){return function rl(n){return"matrix("+n.a+","+n.b+","+n.c+","+n.d+","+n.e+","+n.f+")"}(n)}(function Zf(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e10;return{a:Math.round(n.a*r)/r,b:Math.round(n.b*r)/r,c:Math.round(n.c*r)/r,d:Math.round(n.d*r)/r,e:Math.round(n.e*r)/r,f:Math.round(n.f*r)/r}}(this.transformationMatrix,100))}onClick(e){this.select.emit(e)}onActivate(e){this.activeEntries.indexOf(e)>-1||(this.activeEntries=[e,...this.activeEntries],this.activate.emit({value:e,entries:this.activeEntries}))}onDeactivate(e){const i=this.activeEntries.indexOf(e);this.activeEntries.splice(i,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:e,entries:this.activeEntries})}getSeriesDomain(){return this.nodes.map(e=>this.groupResultsBy(e)).reduce((e,i)=>-1!==e.indexOf(i)?e:e.concat([i]),[]).sort()}trackLinkBy(e,i){return i.id}trackNodeBy(e,i){return i.id}setColors(){this.colors=new Yp(this.scheme,this.seriesDomain,this.customColors)}onMouseMove(e){this.isMouseMoveCalled=!0,(this.isPanning||this.isMinimapPanning)&&this.panningEnabled?this.panWithConstraints(this.panningAxis,e):this.isDragging&&this.draggingEnabled&&this.onDrag(e)}onMouseDown(e){this.isMouseMoveCalled=!1}graphClick(e){this.isMouseMoveCalled||this.clickHandler.emit(e)}onTouchStart(e){this._touchLastX=e.changedTouches[0].clientX,this._touchLastY=e.changedTouches[0].clientY,this.isPanning=!0}onTouchMove(e){if(this.isPanning&&this.panningEnabled){const i=e.changedTouches[0].clientX,a=e.changedTouches[0].clientY,s=i-this._touchLastX,f=a-this._touchLastY;this._touchLastX=i,this._touchLastY=a,this.pan(s,f)}}onTouchEnd(e){this.isPanning=!1}onMouseUp(e){this.isDragging=!1,this.isPanning=!1,this.isMinimapPanning=!1,this.layout&&"string"!=typeof this.layout&&this.layout.onDragEnd&&this.layout.onDragEnd(this.draggingNode,e)}onNodeMouseDown(e,i){!this.draggingEnabled||(this.isDragging=!0,this.draggingNode=i,this.layout&&"string"!=typeof this.layout&&this.layout.onDragStart&&this.layout.onDragStart(i,e))}onMinimapDragMouseDown(){this.isMinimapPanning=!0}onMinimapPanTo(e){this.panTo((e.offsetX-(this.dims.width-(this.graphDims.width+this.minimapOffsetX)/this.minimapScaleCoefficient))*this.minimapScaleCoefficient,(e.offsetY+this.minimapOffsetY/this.minimapScaleCoefficient)*this.minimapScaleCoefficient),this.isMinimapPanning=!0}center(){this.panTo(this.graphDims.width/2,this.graphDims.height/2)}zoomToFit(){let a=Math.min(this.dims.height/this.graphDims.height,this.dims.width/this.graphDims.width,1);athis.maxZoomLevel&&(a=this.maxZoomLevel),a!==this.zoomLevel&&(this.zoomLevel=a,this.updateTransform(),this.zoomChange.emit(this.zoomLevel))}panToNodeId(e){const i=this.graph.nodes.find(a=>a.id===e);!i||this.panTo(i.position.x,i.position.y)}panWithConstraints(e,i){let a=i.movementX,s=i.movementY;switch(this.isMinimapPanning&&(a=-this.minimapScaleCoefficient*a*this.zoomLevel,s=-this.minimapScaleCoefficient*s*this.zoomLevel),e){case Xr.Horizontal:this.pan(a,0);break;case Xr.Vertical:this.pan(0,s);break;default:this.pan(a,s)}}updateMidpointOnEdge(e,i){if(e&&i)if(i.length%2==1)e.midPoint=i[Math.floor(i.length/2)];else{const a=i[i.length/2],s=i[i.length/2-1];e.midPoint={x:(a.x+s.x)/2,y:(a.y+s.y)/2}}}basicUpdate(){if(this.view)this.width=this.view[0],this.height=this.view[1];else{const e=this.getContainerDims();e&&(this.width=e.width,this.height=e.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let e,i;const a=this.el.nativeElement;if(null!==a.parentNode){const s=a.parentNode.getBoundingClientRect();e=s.width,i=s.height}return e&&i?{width:e,height:i}:null}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){const i=(0,nl.R)(window,"resize").pipe((0,We.b)(200)).subscribe(a=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=i}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(bl))},n.\u0275cmp=t.Xpm({type:n,selectors:[["ngx-graph"]],contentQueries:function(e,i,a){if(1&e&&(t.Suo(a,_p,5),t.Suo(a,vp,5),t.Suo(a,xp,5),t.Suo(a,yp,5),t.Suo(a,Tp,5)),2&e){let s;t.iGM(s=t.CRH())&&(i.linkTemplate=s.first),t.iGM(s=t.CRH())&&(i.nodeTemplate=s.first),t.iGM(s=t.CRH())&&(i.clusterTemplate=s.first),t.iGM(s=t.CRH())&&(i.defsTemplate=s.first),t.iGM(s=t.CRH())&&(i.miniMapNodeTemplate=s.first)}},viewQuery:function(e,i){if(1&e&&(t.Gf(bp,5),t.Gf(Cp,5)),2&e){let a;t.iGM(a=t.CRH())&&(i.nodeElements=a),t.iGM(a=t.CRH())&&(i.linkElements=a)}},hostBindings:function(e,i){1&e&&t.NdJ("mousemove",function(s){return i.onMouseMove(s)},!1,t.evT)("mousedown",function(s){return i.onMouseDown(s)},!1,t.evT)("click",function(s){return i.graphClick(s)},!1,t.evT)("touchmove",function(s){return i.onTouchMove(s)},!1,t.evT)("mouseup",function(s){return i.onMouseUp(s)},!1,t.evT)},inputs:{nodes:"nodes",clusters:"clusters",links:"links",activeEntries:"activeEntries",curve:"curve",draggingEnabled:"draggingEnabled",nodeHeight:"nodeHeight",nodeMaxHeight:"nodeMaxHeight",nodeMinHeight:"nodeMinHeight",nodeWidth:"nodeWidth",nodeMinWidth:"nodeMinWidth",nodeMaxWidth:"nodeMaxWidth",panningEnabled:"panningEnabled",panningAxis:"panningAxis",enableZoom:"enableZoom",zoomSpeed:"zoomSpeed",minZoomLevel:"minZoomLevel",maxZoomLevel:"maxZoomLevel",autoZoom:"autoZoom",panOnZoom:"panOnZoom",animate:"animate",autoCenter:"autoCenter",update$:"update$",center$:"center$",zoomToFit$:"zoomToFit$",panToNode$:"panToNode$",layout:"layout",layoutSettings:"layoutSettings",enableTrackpadSupport:"enableTrackpadSupport",showMiniMap:"showMiniMap",miniMapMaxWidth:"miniMapMaxWidth",miniMapMaxHeight:"miniMapMaxHeight",miniMapPosition:"miniMapPosition",view:"view",scheme:"scheme",customColors:"customColors",animations:"animations",groupResultsBy:"groupResultsBy",zoomLevel:"zoomLevel",panOffsetX:"panOffsetX",panOffsetY:"panOffsetY"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",zoomChange:"zoomChange",clickHandler:"clickHandler"},features:[t.TTD],ngContentSelectors:Gp,decls:6,vars:11,consts:[["mouseWheel","",1,"ngx-charts-outer",3,"mouseWheelUp","mouseWheelDown"],[1,"ngx-charts"],["class","graph chart",3,"touchstart","touchend",4,"ngIf"],["class","minimap",4,"ngIf"],[1,"graph","chart",3,"touchstart","touchend"],[3,"ngTemplateOutlet",4,"ngIf"],["class","text-path",4,"ngFor","ngForOf"],[1,"panning-rect",3,"mousedown"],[1,"clusters"],["class","node-group",3,"old-node","id","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"links"],["class","link-group",3,"id",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nodes"],["class","node-group",3,"old-node","id","click","mousedown",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],[1,"text-path"],[1,"node-group",3,"id","click"],["clusterElement",""],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["class","node cluster",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"node","cluster"],["alignment-baseline","central"],[1,"link-group",3,"id"],["linkElement",""],["class","edge",4,"ngIf"],[1,"edge"],[1,"node-group",3,"id","click","mousedown"],["nodeElement",""],["r","10",4,"ngIf"],["r","10"],[1,"minimap"],[1,"minimap-background",3,"mousedown"],[1,"minimap-nodes"],["class","node-group",3,"old-node","id",4,"ngFor","ngForOf","ngForTrackBy"],[1,"minimap-drag",3,"mousedown"],[1,"node-group",3,"id"]],template:function(e,i){1&e&&(t.F$t(),t.TgZ(0,"div",0),t.NdJ("mouseWheelUp",function(s){return i.onZoom(s,"in")})("mouseWheelDown",function(s){return i.onZoom(s,"out")}),t.O4$(),t.TgZ(1,"svg",1),t.YNc(2,Fp,12,12,"g",2),t.TgZ(3,"clipPath"),t._UZ(4,"rect"),t.qZA(),t.YNc(5,Up,6,15,"g",3),t.qZA(),t.qZA()),2&e&&(t.Udp("width",i.width,"px"),t.Q6J("@animationState","active")("@.disabled",!i.animations),t.xp6(1),t.uIk("width",i.width)("height",i.height),t.xp6(1),t.Q6J("ngIf",i.initialized&&i.graph),t.xp6(1),t.uIk("id",i.minimapClipPathId),t.xp6(1),t.uIk("width",i.graphDims.width/i.minimapScaleCoefficient)("height",i.graphDims.height/i.minimapScaleCoefficient),t.xp6(1),t.Q6J("ngIf",i.showMiniMap))},directives:[Kp,_.O5,_.tP,_.sg],styles:[".minimap .minimap-background{fill:#0000001a}.minimap .minimap-drag{fill:#0003;stroke:#fff;stroke-width:1px;stroke-dasharray:2px;stroke-dashoffset:2px;cursor:pointer}.minimap .minimap-drag.panning{fill:#0000004d}.minimap .minimap-nodes{opacity:.5;pointer-events:none}.graph{-webkit-user-select:none;user-select:none}.graph .edge{stroke:#666;fill:none}.graph .edge .edge-label{stroke:none;font-size:12px;fill:#251e1e}.graph .panning-rect{fill:#0000;cursor:move}.graph .node-group.old-node{transition:transform .5s ease-in-out}.graph .node-group .node:focus{outline:none}.graph .cluster rect{opacity:.2}\n"],encapsulation:2,data:{animation:[(0,we.X$)("animationState",[(0,we.eR)(":enter",[(0,we.oB)({opacity:0}),(0,we.jt)("500ms 100ms",(0,we.oB)({opacity:1}))])])]},changeDetection:0}),(0,oe.gn)([zp(500)],n.prototype,"updateMinimap",null),n})(),em=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[bl],imports:[[_.ez]]}),n})(),nm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.ez],em]}),n})();var Cl=o(47429);function Cs(n,r,e){n.prototype=r.prototype=e,e.constructor=n}function wl(n,r){var e=Object.create(n.prototype);for(var i in r)e[i]=r[i];return e}function fa(){}o(52016);var Ga=1/.7,jr="\\s*([+-]?\\d+)\\s*",ma="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",sr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",am=/^#([0-9a-f]{3,8})$/,sm=new RegExp("^rgb\\("+[jr,jr,jr]+"\\)$"),om=new RegExp("^rgb\\("+[sr,sr,sr]+"\\)$"),lm=new RegExp("^rgba\\("+[jr,jr,jr,ma]+"\\)$"),cm=new RegExp("^rgba\\("+[sr,sr,sr,ma]+"\\)$"),um=new RegExp("^hsl\\("+[ma,sr,sr]+"\\)$"),hm=new RegExp("^hsla\\("+[ma,sr,sr,ma]+"\\)$"),Al={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function El(){return this.rgb().formatHex()}function Sl(){return this.rgb().formatRgb()}function Fr(n){var r,e;return n=(n+"").trim().toLowerCase(),(r=am.exec(n))?(e=r[1].length,r=parseInt(r[1],16),6===e?Dl(r):3===e?new Wi(r>>8&15|r>>4&240,r>>4&15|240&r,(15&r)<<4|15&r,1):8===e?Va(r>>24&255,r>>16&255,r>>8&255,(255&r)/255):4===e?Va(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|240&r,((15&r)<<4|15&r)/255):null):(r=sm.exec(n))?new Wi(r[1],r[2],r[3],1):(r=om.exec(n))?new Wi(255*r[1]/100,255*r[2]/100,255*r[3]/100,1):(r=lm.exec(n))?Va(r[1],r[2],r[3],r[4]):(r=cm.exec(n))?Va(255*r[1]/100,255*r[2]/100,255*r[3]/100,r[4]):(r=um.exec(n))?Il(r[1],r[2]/100,r[3]/100,1):(r=hm.exec(n))?Il(r[1],r[2]/100,r[3]/100,r[4]):Al.hasOwnProperty(n)?Dl(Al[n]):"transparent"===n?new Wi(NaN,NaN,NaN,0):null}function Dl(n){return new Wi(n>>16&255,n>>8&255,255&n,1)}function Va(n,r,e,i){return i<=0&&(n=r=e=NaN),new Wi(n,r,e,i)}function fm(n){return n instanceof fa||(n=Fr(n)),n?new Wi((n=n.rgb()).r,n.g,n.b,n.opacity):new Wi}function za(n,r,e,i){return 1===arguments.length?fm(n):new Wi(n,r,e,null==i?1:i)}function Wi(n,r,e,i){this.r=+n,this.g=+r,this.b=+e,this.opacity=+i}function Ll(){return"#"+ws(this.r)+ws(this.g)+ws(this.b)}function kl(){var n=this.opacity;return(1===(n=isNaN(n)?1:Math.max(0,Math.min(1,n)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===n?")":", "+n+")")}function ws(n){return((n=Math.max(0,Math.min(255,Math.round(n)||0)))<16?"0":"")+n.toString(16)}function Il(n,r,e,i){return i<=0?n=r=e=NaN:e<=0||e>=1?n=r=NaN:r<=0&&(n=NaN),new or(n,r,e,i)}function Ml(n){if(n instanceof or)return new or(n.h,n.s,n.l,n.opacity);if(n instanceof fa||(n=Fr(n)),!n)return new or;if(n instanceof or)return n;var r=(n=n.rgb()).r/255,e=n.g/255,i=n.b/255,a=Math.min(r,e,i),s=Math.max(r,e,i),f=NaN,b=s-a,S=(s+a)/2;return b?(f=r===s?(e-i)/b+6*(e0&&S<1?0:f,new or(f,b,S,n.opacity)}function or(n,r,e,i){this.h=+n,this.s=+r,this.l=+e,this.opacity=+i}function As(n,r,e){return 255*(n<60?r+(e-r)*n/60:n<180?e:n<240?r+(e-r)*(240-n)/60:r)}function Ol(n,r,e,i,a){var s=n*n,f=s*n;return((1-3*n+3*s-f)*r+(4-6*s+3*f)*e+(1+3*n+3*s-3*f)*i+f*a)/6}Cs(fa,Fr,{copy:function(n){return Object.assign(new this.constructor,this,n)},displayable:function(){return this.rgb().displayable()},hex:El,formatHex:El,formatHsl:function dm(){return Ml(this).formatHsl()},formatRgb:Sl,toString:Sl}),Cs(Wi,za,wl(fa,{brighter:function(n){return n=null==n?Ga:Math.pow(Ga,n),new Wi(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new Wi(this.r*n,this.g*n,this.b*n,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ll,formatHex:Ll,formatRgb:kl,toString:kl})),Cs(or,function pm(n,r,e,i){return 1===arguments.length?Ml(n):new or(n,r,e,null==i?1:i)},wl(fa,{brighter:function(n){return n=null==n?Ga:Math.pow(Ga,n),new or(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new or(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=this.h%360+360*(this.h<0),r=isNaN(n)||isNaN(this.s)?0:this.s,e=this.l,i=e+(e<.5?e:1-e)*r,a=2*e-i;return new Wi(As(n>=240?n-240:n+120,a,i),As(n,a,i),As(n<120?n+240:n-120,a,i),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var n=this.opacity;return(1===(n=isNaN(n)?1:Math.max(0,Math.min(1,n)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===n?")":", "+n+")")}}));const Es=n=>()=>n;function Fl(n,r){var e=r-n;return e?function Nl(n,r){return function(e){return n+e*r}}(n,e):Es(isNaN(n)?r:n)}const Ya=function n(r){var e=function vm(n){return 1==(n=+n)?Fl:function(r,e){return e-r?function _m(n,r,e){return n=Math.pow(n,e),r=Math.pow(r,e)-n,e=1/e,function(i){return Math.pow(n+i*r,e)}}(r,e,n):Es(isNaN(r)?e:r)}}(r);function i(a,s){var f=e((a=za(a)).r,(s=za(s)).r),b=e(a.g,s.g),S=e(a.b,s.b),F=Fl(a.opacity,s.opacity);return function(W){return a.r=f(W),a.g=b(W),a.b=S(W),a.opacity=F(W),a+""}}return i.gamma=n,i}(1);function Pl(n){return function(r){var f,b,e=r.length,i=new Array(e),a=new Array(e),s=new Array(e);for(f=0;f=1?(e=1,r-1):Math.floor(e*r),a=n[i],s=n[i+1];return Ol((e-i/r)*r,i>0?n[i-1]:2*a-s,a,s,ie&&(s=r.slice(e,s),b[f]?b[f]+=s:b[++f]=s),(i=i[0])===(a=a[0])?b[f]?b[f]+=a:b[++f]=a:(b[++f]=null,S.push({i:f,x:lr(i,a)})),e=Ds.lastIndex;return e0)throw new Error("too late; already scheduled");return e}function cr(n,r){var e=ir(n,r);if(e.state>3)throw new Error("too late; already running");return e}function ir(n,r){var e=n.__transition;if(!e||!(e=e[r]))throw new Error("transition not found");return e}var $a,zl=180/Math.PI,Ns={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Yl(n,r,e,i,a,s){var f,b,S;return(f=Math.sqrt(n*n+r*r))&&(n/=f,r/=f),(S=n*e+r*i)&&(e-=n*S,i-=r*S),(b=Math.sqrt(e*e+i*i))&&(e/=b,i/=b,S/=b),n*i180?W+=360:W-F>180&&(F+=360),st.push({i:lt.push(a(lt)+"rotate(",null,i)-2,x:lr(F,W)})):W&<.push(a(lt)+"rotate("+W+i)}(F.rotate,W.rotate,lt,st),function b(F,W,lt,st){F!==W?st.push({i:lt.push(a(lt)+"skewX(",null,i)-2,x:lr(F,W)}):W&<.push(a(lt)+"skewX("+W+i)}(F.skewX,W.skewX,lt,st),function S(F,W,lt,st,vt,Mt){if(F!==lt||W!==st){var Rt=vt.push(a(vt)+"scale(",null,",",null,")");Mt.push({i:Rt-4,x:lr(F,lt)},{i:Rt-2,x:lr(W,st)})}else(1!==lt||1!==st)&&vt.push(a(vt)+"scale("+lt+","+st+")")}(F.scaleX,F.scaleY,W.scaleX,W.scaleY,lt,st),F=W=null,function(vt){for(var bt,Mt=-1,Rt=st.length;++Mt=0&&(r=r.slice(0,e)),!r||"start"===r})}(r)?Ms:cr;return function(){var f=s(this,n),b=f.on;b!==i&&(a=(i=b).copy()).on(r,e),f.on=a}}var dg=o(29742),pg=o(32037),gg=ga.ZP.prototype.constructor,_a=o(24476);function $l(n){return function(){this.style.removeProperty(n)}}function Cg(n,r,e){return function(i){this.style.setProperty(n,r.call(this,i),e)}}function wg(n,r,e){var i,a;function s(){var f=r.apply(this,arguments);return f!==a&&(i=(a=f)&&Cg(n,f,e)),i}return s._value=r,s}function Lg(n){return function(r){this.textContent=n.call(this,r)}}function kg(n){var r,e;function i(){var a=n.apply(this,arguments);return a!==e&&(r=(e=a)&&Lg(a)),r}return i._value=n,i}var Ng=0;function gr(n,r,e,i){this._groups=n,this._parents=r,this._name=e,this._id=i}function Jl(){return++Ng}var Pr=ga.ZP.prototype;gr.prototype=function Fg(n){return(0,ga.ZP)().transition(n)}.prototype={constructor:gr,select:function fg(n){var r=this._name,e=this._id;"function"!=typeof n&&(n=(0,dg.Z)(n));for(var i=this._groups,a=i.length,s=new Array(a),f=0;f2&&i.state<5,i.state=6,i.timer.stop(),i.on.call(a?"interrupt":"cancel",n,n.__data__,i.index,i.group),delete e[f]):s=!1;s&&delete n.__transition}}(this,n)})},ga.ZP.prototype.transition=function Zg(n){var r,e;n instanceof gr?(r=n._id,n=n._name):(r=Jl(),(e=Pg).time=(0,tr.zO)(),n=null==n?null:n+"");for(var i=this._groups,a=i.length,s=0;sr?1:n>=r?0:NaN}function Vs(n){let r=n,e=n;function i(f,b,S,F){for(null==S&&(S=0),null==F&&(F=f.length);S>>1;e(f[W],b)<0?S=W+1:F=W}return S}return 1===n.length&&(r=(f,b)=>n(f)-b,e=function Qg(n){return(r,e)=>ec(n(r),e)}(n)),{left:i,center:function s(f,b,S,F){null==S&&(S=0),null==F&&(F=f.length);const W=i(f,b,S,F-1);return W>S&&r(f[W-1],b)>-r(f[W],b)?W-1:W},right:function a(f,b,S,F){for(null==S&&(S=0),null==F&&(F=f.length);S>>1;e(f[W],b)>0?F=W:S=W+1}return S}}}["w","e"].map(va),["n","s"].map(va),["n","w","e","s","nw","ne","sw","se"].map(va);var zs=Math.sqrt(50),Ys=Math.sqrt(10),Hs=Math.sqrt(2);function Ws(n,r,e){var i=Math.abs(r-n)/Math.max(0,e),a=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),s=i/a;return s>=zs?a*=10:s>=Ys?a*=5:s>=Hs&&(a*=2),r0))return S;do{S.push(F=new Date(+s)),r(s,b),n(s)}while(F=f)for(;n(f),!s(f);)f.setTime(f-1)},function(f,b){if(f>=f)if(b<0)for(;++b<=0;)for(;r(f,-1),!s(f););else for(;--b>=0;)for(;r(f,1),!s(f););})},e&&(a.count=function(s,f){return Js.setTime(+s),Qs.setTime(+f),n(Js),n(Qs),Math.floor(e(Js,Qs))},a.every=function(s){return s=Math.floor(s),isFinite(s)&&s>0?s>1?a.filter(i?function(f){return i(f)%s==0}:function(f){return a.count(0,f)%s==0}):a:null}),a}var ja=Ei(function(){},function(n,r){n.setTime(+n+r)},function(n,r){return r-n});ja.every=function(n){return n=Math.floor(n),isFinite(n)&&n>0?n>1?Ei(function(r){r.setTime(Math.floor(r/n)*n)},function(r,e){r.setTime(+r+e*n)},function(r,e){return(e-r)/n}):ja:null};const qg=ja;const xa=Ei(function(n){n.setTime(n-n.getMilliseconds())},function(n,r){n.setTime(+n+r*vr)},function(n,r){return(r-n)/vr},function(n){return n.getUTCSeconds()});const sc=Ei(function(n){n.setTime(n-n.getMilliseconds()-n.getSeconds()*vr)},function(n,r){n.setTime(+n+r*Qi)},function(n,r){return(r-n)/Qi},function(n){return n.getMinutes()});const lc=Ei(function(n){n.setTime(n-n.getMilliseconds()-n.getSeconds()*vr-n.getMinutes()*Qi)},function(n,r){n.setTime(+n+r*xr)},function(n,r){return(r-n)/xr},function(n){return n.getHours()});const uc=Ei(n=>n.setHours(0,0,0,0),(n,r)=>n.setDate(n.getDate()+r),(n,r)=>(r-n-(r.getTimezoneOffset()-n.getTimezoneOffset())*Qi)/Rr,n=>n.getDate()-1);function Zr(n){return Ei(function(r){r.setDate(r.getDate()-(r.getDay()+7-n)%7),r.setHours(0,0,0,0)},function(r,e){r.setDate(r.getDate()+7*e)},function(r,e){return(e-r-(e.getTimezoneOffset()-r.getTimezoneOffset())*Qi)/Xs})}var js=Zr(0);const dc=(Zr(1),Zr(2),Zr(3),Zr(4),Zr(5),Zr(6),Ei(function(n){n.setDate(1),n.setHours(0,0,0,0)},function(n,r){n.setMonth(n.getMonth()+r)},function(n,r){return r.getMonth()-n.getMonth()+12*(r.getFullYear()-n.getFullYear())},function(n){return n.getMonth()}));var qs=Ei(function(n){n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,r){n.setFullYear(n.getFullYear()+r)},function(n,r){return r.getFullYear()-n.getFullYear()},function(n){return n.getFullYear()});qs.every=function(n){return isFinite(n=Math.floor(n))&&n>0?Ei(function(r){r.setFullYear(Math.floor(r.getFullYear()/n)*n),r.setMonth(0,1),r.setHours(0,0,0,0)},function(r,e){r.setFullYear(r.getFullYear()+e*n)}):null};const fc=qs;const a_=Ei(function(n){n.setUTCSeconds(0,0)},function(n,r){n.setTime(+n+r*Qi)},function(n,r){return(r-n)/Qi},function(n){return n.getUTCMinutes()});const s_=Ei(function(n){n.setUTCMinutes(0,0,0)},function(n,r){n.setTime(+n+r*xr)},function(n,r){return(r-n)/xr},function(n){return n.getUTCHours()});const o_=Ei(function(n){n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCDate(n.getUTCDate()+r)},function(n,r){return(r-n)/Rr},function(n){return n.getUTCDate()-1});function Br(n){return Ei(function(r){r.setUTCDate(r.getUTCDate()-(r.getUTCDay()+7-n)%7),r.setUTCHours(0,0,0,0)},function(r,e){r.setUTCDate(r.getUTCDate()+7*e)},function(r,e){return(e-r)/Xs})}var _c=Br(0);const p_=(Br(1),Br(2),Br(3),Br(4),Br(5),Br(6),Ei(function(n){n.setUTCDate(1),n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCMonth(n.getUTCMonth()+r)},function(n,r){return r.getUTCMonth()-n.getUTCMonth()+12*(r.getUTCFullYear()-n.getUTCFullYear())},function(n){return n.getUTCMonth()}));var Ks=Ei(function(n){n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCFullYear(n.getUTCFullYear()+r)},function(n,r){return r.getUTCFullYear()-n.getUTCFullYear()},function(n){return n.getUTCFullYear()});Ks.every=function(n){return isFinite(n=Math.floor(n))&&n>0?Ei(function(r){r.setUTCFullYear(Math.floor(r.getUTCFullYear()/n)*n),r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},function(r,e){r.setUTCFullYear(r.getUTCFullYear()+e*n)}):null};const m_=Ks;function xc(n,r,e,i,a,s){const f=[[xa,1,vr],[xa,5,5e3],[xa,15,15e3],[xa,30,3e4],[s,1,Qi],[s,5,5*Qi],[s,15,15*Qi],[s,30,30*Qi],[a,1,xr],[a,3,3*xr],[a,6,6*xr],[a,12,12*xr],[i,1,Rr],[i,2,2*Rr],[e,1,Xs],[r,1,ic],[r,3,3*ic],[n,1,$s]];function S(F,W,lt){const st=Math.abs(W-F)/lt,vt=Vs(([,,bt])=>bt).right(f,st);if(vt===f.length)return n.every(Ws(F/$s,W/$s,lt));if(0===vt)return qg.every(Math.max(Ws(F,W,lt),1));const[Mt,Rt]=f[st/f[vt-1][2]0))return S;do{S.push(F=new Date(+s)),r(s,b),n(s)}while(F=f)for(;n(f),!s(f);)f.setTime(f-1)},function(f,b){if(f>=f)if(b<0)for(;++b<=0;)for(;r(f,-1),!s(f););else for(;--b>=0;)for(;r(f,1),!s(f););})},e&&(a.count=function(s,f){return to.setTime(+s),eo.setTime(+f),n(to),n(eo),Math.floor(e(to,eo))},a.every=function(s){return s=Math.floor(s),isFinite(s)&&s>0?s>1?a.filter(i?function(f){return i(f)%s==0}:function(f){return a.count(0,f)%s==0}):a:null}),a}var bc=6048e5;function Ur(n){return yr(function(r){r.setUTCDate(r.getUTCDate()-(r.getUTCDay()+7-n)%7),r.setUTCHours(0,0,0,0)},function(r,e){r.setUTCDate(r.getUTCDate()+7*e)},function(r,e){return(e-r)/bc})}var Cc=Ur(0),qa=Ur(1),Ka=(Ur(2),Ur(3),Ur(4));const Ac=(Ur(5),Ur(6),yr(function(n){n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCDate(n.getUTCDate()+r)},function(n,r){return(r-n)/864e5},function(n){return n.getUTCDate()-1}));function Gr(n){return yr(function(r){r.setDate(r.getDate()-(r.getDay()+7-n)%7),r.setHours(0,0,0,0)},function(r,e){r.setDate(r.getDate()+7*e)},function(r,e){return(e-r-6e4*(e.getTimezoneOffset()-r.getTimezoneOffset()))/bc})}var Ec=Gr(0),ts=Gr(1),es=(Gr(2),Gr(3),Gr(4));const Dc=(Gr(5),Gr(6),yr(function(n){n.setHours(0,0,0,0)},function(n,r){n.setDate(n.getDate()+r)},function(n,r){return(r-n-6e4*(r.getTimezoneOffset()-n.getTimezoneOffset()))/864e5},function(n){return n.getDate()-1}));var no=yr(function(n){n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,r){n.setFullYear(n.getFullYear()+r)},function(n,r){return r.getFullYear()-n.getFullYear()},function(n){return n.getFullYear()});no.every=function(n){return isFinite(n=Math.floor(n))&&n>0?yr(function(r){r.setFullYear(Math.floor(r.getFullYear()/n)*n),r.setMonth(0,1),r.setHours(0,0,0,0)},function(r,e){r.setFullYear(r.getFullYear()+e*n)}):null};const ya=no;var io=yr(function(n){n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCFullYear(n.getUTCFullYear()+r)},function(n,r){return r.getUTCFullYear()-n.getUTCFullYear()},function(n){return n.getUTCFullYear()});io.every=function(n){return isFinite(n=Math.floor(n))&&n>0?yr(function(r){r.setUTCFullYear(Math.floor(r.getUTCFullYear()/n)*n),r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},function(r,e){r.setUTCFullYear(r.getUTCFullYear()+e*n)}):null};const Ta=io;function ro(n){if(0<=n.y&&n.y<100){var r=new Date(-1,n.m,n.d,n.H,n.M,n.S,n.L);return r.setFullYear(n.y),r}return new Date(n.y,n.m,n.d,n.H,n.M,n.S,n.L)}function ao(n){if(0<=n.y&&n.y<100){var r=new Date(Date.UTC(-1,n.m,n.d,n.H,n.M,n.S,n.L));return r.setUTCFullYear(n.y),r}return new Date(Date.UTC(n.y,n.m,n.d,n.H,n.M,n.S,n.L))}function ba(n,r,e){return{y:n,m:r,d:e,H:0,M:0,S:0,L:0}}var Lc={"-":"",_:" ",0:"0"},Si=/^\s*\d+/,S_=/^%/,D_=/[\\^$*+?|[\]().{}]/g;function Gn(n,r,e){var i=n<0?"-":"",a=(i?-n:n)+"",s=a.length;return i+(s68?1900:2e3),e+i[0].length):-1}function R_(n,r,e){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(r.slice(e,e+6));return i?(n.Z=i[1]?0:-(i[2]+(i[3]||"00")),e+i[0].length):-1}function Z_(n,r,e){var i=Si.exec(r.slice(e,e+1));return i?(n.q=3*i[0]-3,e+i[0].length):-1}function B_(n,r,e){var i=Si.exec(r.slice(e,e+2));return i?(n.m=i[0]-1,e+i[0].length):-1}function kc(n,r,e){var i=Si.exec(r.slice(e,e+2));return i?(n.d=+i[0],e+i[0].length):-1}function U_(n,r,e){var i=Si.exec(r.slice(e,e+3));return i?(n.m=0,n.d=+i[0],e+i[0].length):-1}function Ic(n,r,e){var i=Si.exec(r.slice(e,e+2));return i?(n.H=+i[0],e+i[0].length):-1}function G_(n,r,e){var i=Si.exec(r.slice(e,e+2));return i?(n.M=+i[0],e+i[0].length):-1}function V_(n,r,e){var i=Si.exec(r.slice(e,e+2));return i?(n.S=+i[0],e+i[0].length):-1}function z_(n,r,e){var i=Si.exec(r.slice(e,e+3));return i?(n.L=+i[0],e+i[0].length):-1}function Y_(n,r,e){var i=Si.exec(r.slice(e,e+6));return i?(n.L=Math.floor(i[0]/1e3),e+i[0].length):-1}function H_(n,r,e){var i=S_.exec(r.slice(e,e+1));return i?e+i[0].length:-1}function W_(n,r,e){var i=Si.exec(r.slice(e));return i?(n.Q=+i[0],e+i[0].length):-1}function X_(n,r,e){var i=Si.exec(r.slice(e));return i?(n.s=+i[0],e+i[0].length):-1}function Mc(n,r){return Gn(n.getDate(),r,2)}function $_(n,r){return Gn(n.getHours(),r,2)}function J_(n,r){return Gn(n.getHours()%12||12,r,2)}function Q_(n,r){return Gn(1+Dc.count(ya(n),n),r,3)}function Oc(n,r){return Gn(n.getMilliseconds(),r,3)}function j_(n,r){return Oc(n,r)+"000"}function q_(n,r){return Gn(n.getMonth()+1,r,2)}function K_(n,r){return Gn(n.getMinutes(),r,2)}function tv(n,r){return Gn(n.getSeconds(),r,2)}function ev(n){var r=n.getDay();return 0===r?7:r}function nv(n,r){return Gn(Ec.count(ya(n)-1,n),r,2)}function iv(n,r){var e=n.getDay();return n=e>=4||0===e?es(n):es.ceil(n),Gn(es.count(ya(n),n)+(4===ya(n).getDay()),r,2)}function rv(n){return n.getDay()}function av(n,r){return Gn(ts.count(ya(n)-1,n),r,2)}function sv(n,r){return Gn(n.getFullYear()%100,r,2)}function ov(n,r){return Gn(n.getFullYear()%1e4,r,4)}function lv(n){var r=n.getTimezoneOffset();return(r>0?"-":(r*=-1,"+"))+Gn(r/60|0,"0",2)+Gn(r%60,"0",2)}function Nc(n,r){return Gn(n.getUTCDate(),r,2)}function cv(n,r){return Gn(n.getUTCHours(),r,2)}function uv(n,r){return Gn(n.getUTCHours()%12||12,r,2)}function hv(n,r){return Gn(1+Ac.count(Ta(n),n),r,3)}function Fc(n,r){return Gn(n.getUTCMilliseconds(),r,3)}function dv(n,r){return Fc(n,r)+"000"}function fv(n,r){return Gn(n.getUTCMonth()+1,r,2)}function pv(n,r){return Gn(n.getUTCMinutes(),r,2)}function mv(n,r){return Gn(n.getUTCSeconds(),r,2)}function gv(n){var r=n.getUTCDay();return 0===r?7:r}function _v(n,r){return Gn(Cc.count(Ta(n)-1,n),r,2)}function vv(n,r){var e=n.getUTCDay();return n=e>=4||0===e?Ka(n):Ka.ceil(n),Gn(Ka.count(Ta(n),n)+(4===Ta(n).getUTCDay()),r,2)}function xv(n){return n.getUTCDay()}function yv(n,r){return Gn(qa.count(Ta(n)-1,n),r,2)}function Tv(n,r){return Gn(n.getUTCFullYear()%100,r,2)}function bv(n,r){return Gn(n.getUTCFullYear()%1e4,r,4)}function Cv(){return"+0000"}function Pc(){return"%"}function Rc(n){return+n}function Zc(n){return Math.floor(+n/1e3)}!function Sv(n){(function E_(n){var r=n.dateTime,e=n.date,i=n.time,a=n.periods,s=n.days,f=n.shortDays,b=n.months,S=n.shortMonths,F=Ca(a),W=wa(a),lt=Ca(s),st=wa(s),vt=Ca(f),Mt=wa(f),Rt=Ca(b),bt=wa(b),$t=Ca(S),ne=wa(S),Kt={a:function Ti(Ae){return f[Ae.getDay()]},A:function dr(Ae){return s[Ae.getDay()]},b:function bi(Ae){return S[Ae.getMonth()]},B:function Ci(Ae){return b[Ae.getMonth()]},c:null,d:Mc,e:Mc,f:j_,H:$_,I:J_,j:Q_,L:Oc,m:q_,M:K_,p:function oi(Ae){return a[+(Ae.getHours()>=12)]},q:function li(Ae){return 1+~~(Ae.getMonth()/3)},Q:Rc,s:Zc,S:tv,u:ev,U:nv,V:iv,w:rv,W:av,x:null,X:null,y:sv,Y:ov,Z:lv,"%":Pc},Se={a:function Aa(Ae){return f[Ae.getUTCDay()]},A:function aa(Ae){return s[Ae.getUTCDay()]},b:function sa(Ae){return S[Ae.getUTCMonth()]},B:function oa(Ae){return b[Ae.getUTCMonth()]},c:null,d:Nc,e:Nc,f:dv,H:cv,I:uv,j:hv,L:Fc,m:fv,M:pv,p:function Fi(Ae){return a[+(Ae.getUTCHours()>=12)]},q:function rs(Ae){return 1+~~(Ae.getUTCMonth()/3)},Q:Rc,s:Zc,S:mv,u:gv,U:_v,V:vv,w:xv,W:yv,x:null,X:null,y:Tv,Y:bv,Z:Cv,"%":Pc},Fe={a:function Vn(Ae,rn,Cn){var ue=vt.exec(rn.slice(Cn));return ue?(Ae.w=Mt[ue[0].toLowerCase()],Cn+ue[0].length):-1},A:function zn(Ae,rn,Cn){var ue=lt.exec(rn.slice(Cn));return ue?(Ae.w=st[ue[0].toLowerCase()],Cn+ue[0].length):-1},b:function mi(Ae,rn,Cn){var ue=$t.exec(rn.slice(Cn));return ue?(Ae.m=ne[ue[0].toLowerCase()],Cn+ue[0].length):-1},B:function vi(Ae,rn,Cn){var ue=Rt.exec(rn.slice(Cn));return ue?(Ae.m=bt[ue[0].toLowerCase()],Cn+ue[0].length):-1},c:function xi(Ae,rn,Cn){return xn(Ae,r,rn,Cn)},d:kc,e:kc,f:Y_,H:Ic,I:Ic,j:U_,L:z_,m:B_,M:G_,p:function Sn(Ae,rn,Cn){var ue=F.exec(rn.slice(Cn));return ue?(Ae.p=W[ue[0].toLowerCase()],Cn+ue[0].length):-1},q:Z_,Q:W_,s:X_,S:V_,u:I_,U:M_,V:O_,w:k_,W:N_,x:function hr(Ae,rn,Cn){return xn(Ae,e,rn,Cn)},X:function yi(Ae,rn,Cn){return xn(Ae,i,rn,Cn)},y:P_,Y:F_,Z:R_,"%":H_};function be(Ae,rn){return function(Cn){var Gi,tn,ai,ue=[],ri=-1,Pn=0,Ui=Ae.length;for(Cn instanceof Date||(Cn=new Date(+Cn));++ri53)return null;"w"in ue||(ue.w=1),"Z"in ue?(Ui=(Pn=ao(ba(ue.y,0,1))).getUTCDay(),Pn=Ui>4||0===Ui?qa.ceil(Pn):qa(Pn),Pn=Ac.offset(Pn,7*(ue.V-1)),ue.y=Pn.getUTCFullYear(),ue.m=Pn.getUTCMonth(),ue.d=Pn.getUTCDate()+(ue.w+6)%7):(Ui=(Pn=ro(ba(ue.y,0,1))).getDay(),Pn=Ui>4||0===Ui?ts.ceil(Pn):ts(Pn),Pn=Dc.offset(Pn,7*(ue.V-1)),ue.y=Pn.getFullYear(),ue.m=Pn.getMonth(),ue.d=Pn.getDate()+(ue.w+6)%7)}else("W"in ue||"U"in ue)&&("w"in ue||(ue.w="u"in ue?ue.u%7:"W"in ue?1:0),Ui="Z"in ue?ao(ba(ue.y,0,1)).getUTCDay():ro(ba(ue.y,0,1)).getDay(),ue.m=0,ue.d="W"in ue?(ue.w+6)%7+7*ue.W-(Ui+5)%7:ue.w+7*ue.U-(Ui+6)%7);return"Z"in ue?(ue.H+=ue.Z/100|0,ue.M+=ue.Z%100,ao(ue)):ro(ue)}}function xn(Ae,rn,Cn,ue){for(var Gi,tn,ri=0,Pn=rn.length,Ui=Cn.length;ri=Ui)return-1;if(37===(Gi=rn.charCodeAt(ri++))){if(Gi=rn.charAt(ri++),!(tn=Fe[Gi in Lc?rn.charAt(ri++):Gi])||(ue=tn(Ae,Cn,ue))<0)return-1}else if(Gi!=Cn.charCodeAt(ue++))return-1}return ue}return Kt.x=be(e,Kt),Kt.X=be(i,Kt),Kt.c=be(r,Kt),Se.x=be(e,Se),Se.X=be(i,Se),Se.c=be(r,Se),{format:function(Ae){var rn=be(Ae+="",Kt);return rn.toString=function(){return Ae},rn},parse:function(Ae){var rn=hn(Ae+="",!1);return rn.toString=function(){return Ae},rn},utcFormat:function(Ae){var rn=be(Ae+="",Se);return rn.toString=function(){return Ae},rn},utcParse:function(Ae){var rn=hn(Ae+="",!0);return rn.toString=function(){return Ae},rn}}})(n)}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Vs(ec),Vs(function Dv(n){return null===n?NaN:+n}),o(47927),o(32517),o(38914),o(22910),o(65142),o(78986),o(16087);const e0=["caretElm"];function n0(n,r){}const r0=function(n){return{model:n}};function a0(n,r){if(1&n&&(t.TgZ(0,"span"),t.YNc(1,n0,0,0,"ng-template",5),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",e.template)("ngTemplateOutletContext",t.VKq(2,r0,e.context))}}function s0(n,r){if(1&n&&t._UZ(0,"span",6),2&n){const e=t.oxw();t.Q6J("innerHTML",e.title,t.oJD)}}function hx(n,r,e){e=e||{};let i,a,s,f=null,b=0;function S(){b=!1===e.leading?0:+new Date,f=null,s=n.apply(i,a)}return function(){const F=+new Date;!b&&!1===e.leading&&(b=F);const W=r-(F-b);return i=this,a=arguments,W<=0?(clearTimeout(f),f=null,b=F,s=n.apply(i,a)):!f&&!1!==e.trailing&&(f=setTimeout(S,W)),s}}function dx(n,r){return function(i,a,s){return{configurable:!0,enumerable:s.enumerable,get:function(){return Object.defineProperty(this,a,{configurable:!0,enumerable:s.enumerable,value:hx(s.value,n,r)}),this[a]}}}}var pn=(()=>{return(n=pn||(pn={})).Top="top",n.Bottom="bottom",n.Left="left",n.Right="right",n.Center="center",pn;var n})();function jc(n,r,e){return e===pn.Top?n.top-7:e===pn.Bottom?n.top+n.height-r.height+7:e===pn.Center?n.top+n.height/2-r.height/2:void 0}function qc(n,r,e){return e===pn.Left?n.left-7:e===pn.Right?n.left+n.width-r.width+7:e===pn.Center?n.left+n.width/2-r.width/2:void 0}class Xi{static calculateVerticalAlignment(r,e,i){let a=jc(r,e,i);return a+e.height>window.innerHeight&&(a=window.innerHeight-e.height),a}static calculateVerticalCaret(r,e,i,a){let s;a===pn.Top&&(s=r.height/2-i.height/2+7),a===pn.Bottom&&(s=e.height-r.height/2-i.height/2-7),a===pn.Center&&(s=e.height/2-i.height/2);const f=jc(r,e,a);return f+e.height>window.innerHeight&&(s+=f+e.height-window.innerHeight),s}static calculateHorizontalAlignment(r,e,i){let a=qc(r,e,i);return a+e.width>window.innerWidth&&(a=window.innerWidth-e.width),a}static calculateHorizontalCaret(r,e,i,a){let s;a===pn.Left&&(s=r.width/2-i.width/2+7),a===pn.Right&&(s=e.width-r.width/2-i.width/2-7),a===pn.Center&&(s=e.width/2-i.width/2);const f=qc(r,e,a);return f+e.width>window.innerWidth&&(s+=f+e.width-window.innerWidth),s}static shouldFlip(r,e,i,a){let s=!1;return i===pn.Right&&r.left+r.width+e.width+a>window.innerWidth&&(s=!0),i===pn.Left&&r.left-e.width-a<0&&(s=!0),i===pn.Top&&r.top-e.height-a<0&&(s=!0),i===pn.Bottom&&r.top+r.height+e.height+a>window.innerHeight&&(s=!0),s}static positionCaret(r,e,i,a,s){let f=0,b=0;return r===pn.Right?(b=-7,f=Xi.calculateVerticalCaret(i,e,a,s)):r===pn.Left?(b=e.width,f=Xi.calculateVerticalCaret(i,e,a,s)):r===pn.Top?(f=e.height,b=Xi.calculateHorizontalCaret(i,e,a,s)):r===pn.Bottom&&(f=-7,b=Xi.calculateHorizontalCaret(i,e,a,s)),{top:f,left:b}}static positionContent(r,e,i,a,s){let f=0,b=0;return r===pn.Right?(b=i.left+i.width+a,f=Xi.calculateVerticalAlignment(i,e,s)):r===pn.Left?(b=i.left-e.width-a,f=Xi.calculateVerticalAlignment(i,e,s)):r===pn.Top?(f=i.top-e.height-a,b=Xi.calculateHorizontalAlignment(i,e,s)):r===pn.Bottom&&(f=i.top+i.height+a,b=Xi.calculateHorizontalAlignment(i,e,s)),{top:f,left:b}}static determinePlacement(r,e,i,a){if(Xi.shouldFlip(i,e,r,a)){if(r===pn.Right)return pn.Left;if(r===pn.Left)return pn.Right;if(r===pn.Top)return pn.Bottom;if(r===pn.Bottom)return pn.Top}return r}}let fx=(()=>{class n{constructor(e,i,a){this.element=e,this.renderer=i,this.platformId=a}get cssClasses(){let e="ngx-charts-tooltip-content";return e+=` position-${this.placement}`,e+=` type-${this.type}`,e+=` ${this.cssClass}`,e}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,_.NF)(this.platformId))return;const e=this.element.nativeElement,i=this.host.nativeElement.getBoundingClientRect();if(!i.height&&!i.width)return;const a=e.getBoundingClientRect();this.checkFlip(i,a),this.positionContent(e,i,a),this.showCaret&&this.positionCaret(i,a),setTimeout(()=>this.renderer.addClass(e,"animate"),1)}positionContent(e,i,a){const{top:s,left:f}=Xi.positionContent(this.placement,a,i,this.spacing,this.alignment);this.renderer.setStyle(e,"top",`${s}px`),this.renderer.setStyle(e,"left",`${f}px`)}positionCaret(e,i){const a=this.caretElm.nativeElement,s=a.getBoundingClientRect(),{top:f,left:b}=Xi.positionCaret(this.placement,i,e,s,this.alignment);this.renderer.setStyle(a,"top",`${f}px`),this.renderer.setStyle(a,"left",`${b}px`)}checkFlip(e,i){this.placement=Xi.determinePlacement(this.placement,i,e,this.spacing)}onWindowResize(){this.position()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.Lbi))},n.\u0275cmp=t.Xpm({type:n,selectors:[["ngx-tooltip-content"]],viewQuery:function(e,i){if(1&e&&t.Gf(e0,5),2&e){let a;t.iGM(a=t.CRH())&&(i.caretElm=a.first)}},hostVars:2,hostBindings:function(e,i){1&e&&t.NdJ("resize",function(){return i.onWindowResize()},!1,t.Jf7),2&e&&t.Tol(i.cssClasses)},inputs:{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t._UZ(1,"span",0,1),t.TgZ(3,"div",2),t.YNc(4,a0,2,4,"span",3),t.YNc(5,s0,1,1,"span",4),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Gre("tooltip-caret position-",i.placement,""),t.Q6J("hidden",!i.showCaret),t.xp6(3),t.Q6J("ngIf",!i.title),t.xp6(1),t.Q6J("ngIf",i.title))},directives:[_.O5,_.tP],styles:[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;border:1px solid #72809b;box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:rgba(0,0,0,.75);font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{transform:translate(10px)}.ngx-charts-tooltip-content.position-left{transform:translate(-10px)}.ngx-charts-tooltip-content.position-top{transform:translateY(-10px)}.ngx-charts-tooltip-content.position-bottom{transform:translateY(10px)}.ngx-charts-tooltip-content.animate{opacity:1;transition:opacity .3s,transform .3s;transform:translate(0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}\n"],encapsulation:2}),(0,oe.gn)([dx(100)],n.prototype,"onWindowResize",null),n})(),Kc=(()=>{class n{constructor(e,i,a){this.applicationRef=e,this.componentFactoryResolver=i,this.injector=a}static setGlobalRootViewContainer(e){n.globalRootViewContainer=e}getRootViewContainer(){if(this._container)return this._container;if(n.globalRootViewContainer)return n.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(e){this._container=e}getComponentRootNode(e){return function mx(n){return n.element}(e)?e.element.nativeElement:e.hostView&&e.hostView.rootNodes.length>0?e.hostView.rootNodes[0]:e.location.nativeElement}getRootViewContainerNode(e){return this.getComponentRootNode(e)}projectComponentBindings(e,i){if(i){if(void 0!==i.inputs){const a=Object.getOwnPropertyNames(i.inputs);for(const s of a)e.instance[s]=i.inputs[s]}if(void 0!==i.outputs){const a=Object.getOwnPropertyNames(i.outputs);for(const s of a)e.instance[s]=i.outputs[s]}}return e}appendComponent(e,i={},a){a||(a=this.getRootViewContainer());const s=this.getComponentRootNode(a),f=new Cl.u0(s,this.componentFactoryResolver,this.applicationRef,this.injector),b=new Cl.C5(e),S=f.attach(b);return this.projectComponentBindings(S,i),S}}return n.globalRootViewContainer=null,n.\u0275fac=function(e){return new(e||n)(t.LFG(t.z2F),t.LFG(t._Vd),t.LFG(t.zs3))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),lo=(()=>{class n extends class px{constructor(r){this.injectionService=r,this.defaults={},this.components=new Map}getByType(r=this.type){return this.components.get(r)}create(r){return this.createByType(this.type,r)}createByType(r,e){e=this.assignDefaults(e);const i=this.injectComponent(r,e);return this.register(r,i),i}destroy(r){const e=this.components.get(r.componentType);if(e&&e.length){const i=e.indexOf(r);i>-1&&(e[i].destroy(),e.splice(i,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(r){const e=this.components.get(r);if(e&&e.length){let i=e.length-1;for(;i>=0;)this.destroy(e[i--])}}injectComponent(r,e){return this.injectionService.appendComponent(r,e)}assignDefaults(r){const e=Object.assign({},this.defaults.inputs),i=Object.assign({},this.defaults.outputs);return!r.inputs&&!r.outputs&&(r={inputs:r}),e&&(r.inputs=Object.assign(Object.assign({},e),r.inputs)),i&&(r.outputs=Object.assign(Object.assign({},i),r.outputs)),r}register(r,e){this.components.has(r)||this.components.set(r,[]),this.components.get(r).push(e)}}{constructor(e){super(e),this.type=fx}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Kc))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),au=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.ez]]}),n})();var na=(()=>{return(n=na||(na={})).popover="popover",n.tooltip="tooltip",na;var n})(),Er=(()=>{return(n=Er||(Er={}))[n.all="all"]="all",n[n.focus="focus"]="focus",n[n.mouseover="mouseover"]="mouseover",Er;var n})();let fo,uo=(()=>{class n{constructor(e,i,a){this.tooltipService=e,this.viewContainerRef=i,this.renderer=a,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=pn.Top,this.tooltipAlignment=pn.Center,this.tooltipType=na.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=Er.all,this.tooltipImmediateExit=!1,this.show=new t.vpe,this.hide=new t.vpe}get listensForFocus(){return this.tooltipShowEvent===Er.all||this.tooltipShowEvent===Er.focus}get listensForHover(){return this.tooltipShowEvent===Er.all||this.tooltipShowEvent===Er.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(e){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(e))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(e){if(this.component||this.tooltipDisabled)return;const i=e?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?300:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const a=this.createBoundOptions();this.component=this.tooltipService.create(a),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},i)}addHideListeners(e){this.mouseEnterContentEvent=this.renderer.listen(e,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(e,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",i=>{e.contains(i.target)||this.hideTooltip()}))}hideTooltip(e=!1){if(!this.component)return;const i=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),e?i():this.timeout=setTimeout(i,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(lo),t.Y36(t.s_b),t.Y36(t.Qsj))},n.\u0275dir=t.lG2({type:n,selectors:[["","ngx-tooltip",""]],hostBindings:function(e,i){1&e&&t.NdJ("focusin",function(){return i.onFocus()})("blur",function(){return i.onBlur()})("mouseenter",function(){return i.onMouseEnter()})("mouseleave",function(s){return i.onMouseLeave(s.target)})("click",function(){return i.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipTemplate:"tooltipTemplate",tooltipShowEvent:"tooltipShowEvent",tooltipContext:"tooltipContext",tooltipImmediateExit:"tooltipImmediateExit"},outputs:{show:"show",hide:"hide"}}),n})(),su=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[Kc,lo],imports:[[_.ez]]}),n})();"undefined"!=typeof window?fo=window:"undefined"!=typeof global&&(fo=global);let ji=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.ez,au,su],_.ez,au,su]}),n})(),Sx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),pu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),Dx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),Lx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),kx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),mu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})();Math;let mo=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),Ox=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji,mo,mu]]}),n})(),Fx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),Px=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),Rx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji,mo,pu]]}),n})(),Bx=(()=>{class n{constructor(){!function Zx(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[ji,Sx,pu,Dx,Lx,kx,mu,Ox,Fx,mo,Px,Rx]}),n})();function Ux(n,r){1&n&&(t.TgZ(0,"div"),t._UZ(1,"mat-spinner",3),t.qZA())}function Gx(n,r){if(1&n&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"strong"),t._uU(4),t.qZA(),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.hij(" ",t.lcZ(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_3")," "),t.xp6(3),t.Oqu(e.service)}}function Vx(n,r){1&n&&(t.O4$(),t.TgZ(0,"marker",10),t._UZ(1,"path",11),t.qZA())}function zx(n,r){if(1&n&&(t.O4$(),t.TgZ(0,"g",12),t._UZ(1,"rect"),t.TgZ(2,"text",13),t._uU(3),t.qZA(),t.qZA()),2&n){const e=r.$implicit;t.Q6J("tooltipPlacement","top")("tooltipType","tooltip")("tooltipTitle",e.tooltip),t.xp6(1),t.uIk("width",e.dimension.width)("height",e.dimension.height)("fill",e.color),t.xp6(1),t.uIk("x",10)("y",e.dimension.height/2),t.xp6(1),t.hij(" ",e.label," ")}}function Yx(n,r){if(1&n&&(t.O4$(),t.TgZ(0,"g",14),t._UZ(1,"path",15),t.TgZ(2,"text",16),t.TgZ(3,"textPath",17),t._uU(4),t.qZA(),t.qZA(),t.qZA()),2&n){const e=r.$implicit;t.xp6(3),t.uIk("href","#"+e.id),t.xp6(1),t.hij(" ",e.label," ")}}const Hx=function(n,r){return[n,r]};function Wx(n,r){if(1&n&&(t.TgZ(0,"div"),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"strong"),t._uU(4),t.qZA(),t._uU(5),t.ALo(6,"translate"),t.TgZ(7,"strong"),t._uU(8),t.qZA(),t.YNc(9,Gx,5,4,"span",4),t.TgZ(10,"div",5),t.TgZ(11,"ngx-graph",6),t.YNc(12,Vx,2,0,"ng-template",null,7,t.W1O),t.YNc(14,zx,4,9,"ng-template",null,8,t.W1O),t.YNc(16,Yx,5,2,"ng-template",null,9,t.W1O),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.hij(" ",t.lcZ(2,12,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_1")," "),t.xp6(3),t.AsE("",e.user.firstName," ",e.user.lastName,""),t.xp6(1),t.hij(" ",t.lcZ(6,14,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_2")," "),t.xp6(3),t.Oqu(e.destination),t.xp6(1),t.Q6J("ngIf","noService"!==e.service),t.xp6(2),t.Q6J("links",e.hierarchialGraph.links)("nodes",e.hierarchialGraph.nodes)("curve",e.curve)("draggingEnabled",!1)("zoomToFit$",e.zoomToFit$)("view",t.WLB(16,Hx,e.innerWidth,e.innerHeight))}}function Xx(n,r){if(1&n&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"strong"),t._uU(4),t.qZA(),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.hij(" ",t.lcZ(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_3")," "),t.xp6(3),t.Oqu(e.service)}}function $x(n,r){if(1&n&&(t._uU(0),t.ALo(1,"translate"),t.TgZ(2,"strong"),t._uU(3),t.qZA(),t._uU(4),t.ALo(5,"translate"),t.TgZ(6,"strong"),t._uU(7),t.qZA(),t.YNc(8,Xx,5,4,"span",4),t._uU(9),t.ALo(10,"translate")),2&n){const e=t.oxw(2);t.hij(" ",t.lcZ(1,7,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_1")," "),t.xp6(3),t.AsE("",e.user.firstName," ",e.user.lastName,""),t.xp6(1),t.hij(" ",t.lcZ(5,9,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_2")," "),t.xp6(3),t.Oqu(e.destination),t.xp6(1),t.Q6J("ngIf","noService"!==e.service),t.xp6(1),t.hij(" ",t.lcZ(10,11,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_4")," ")}}function Jx(n,r){if(1&n&&(t.YNc(0,Wx,18,19,"div",1),t.YNc(1,$x,11,13,"ng-template",null,2,t.W1O)),2&n){const e=t.MAs(2),i=t.oxw();t.Q6J("ngIf",i.isConnected)("ngIfElse",e)}}let Qx=(()=>{class n{constructor(e,i,a,s,f,b,S,F,W){this.route=e,this.facilityManager=i,this.userService=a,this.membersService=s,this.serviceService=f,this.resourceManager=b,this.groupService=S,this.voService=F,this.translate=W,this.idCounter=0,this.isConnected=!1,this.loading=!0,this.hierarchialGraph={nodes:[],links:[]},this.curve=On,this.zoomToFit$=new An.xQ}ngOnInit(){this.innerWidth=window.innerWidth<600?window.innerWidth:window.innerWidth-420,this.innerHeight=window.innerHeight,this.getLocalizedNames(),this.route.queryParams.subscribe(e=>{console.log(e),this.destination=e.destination,this.service=e.service,this.userService.getUserById(e.user).subscribe(i=>{this.user=i,this.facilityManager.getFacilitiesByDestination(this.destination).subscribe(a=>{this.facilities=a,this.membersService.getMembersByUser(this.user.id).subscribe(s=>{if(this.membership=s,0===this.membership.length||0===this.facilities.length)return this.loading=!1,void(this.isConnected=!1);this.showGraph()})})})})}showGraph(){const e=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:e,label:this.user.firstName+" "+this.user.lastName,tooltip:this.localUser,color:"#FFFFCC",tip:"user: "+this.user.id}];const b=""+this.id(),S="destination no id";this.hierarchialGraph.nodes="noService"===this.service?[...this.hierarchialGraph.nodes,{id:b,label:this.destination,tooltip:this.localDestination+": "+this.destination,color:"#E0E0E0",tip:S}]:[...this.hierarchialGraph.nodes,{id:b,label:this.service+": "+this.destination,tooltip:this.localService+": "+this.service+", "+this.localDestination+": "+this.destination,color:"#E0E0E0",tip:S}];for(const F of this.facilities)this.serviceService.getAllRichDestinationsForFacility(F.id).subscribe(W=>{this.connectToService(F,W),this.delay(2e3).then(()=>{this.zoomToFit$.next(!0),this.loading=!1})})}connectToService(e,i){this.isConnectedToService(i)&&this.facilityManager.getAssignedResourcesForFacility(e.id).subscribe(a=>{for(let s=0;s{0!==s.length&&this.groupService.getMemberGroups(i.id).subscribe(f=>{const b=this.findConnectedGroups(s,f);if(0!==b.length)for(const S of b)this.connectToResource(e,S,a)})})}connectToResource(e,i,a){this.resourceManager.getAssignedResourcesWithGroup(i.id).subscribe(s=>{const f=this.findConnectedResources(s,a);for(const b of f)this.resourceManager.getAssignedServicesToResource(b.id).subscribe(S=>{this.haveService(S)&&(this.isConnected=!0,this.addNodesToGraph(i.voId,i,b,e))})})}addNodesToGraph(e,i,a,s){if(-1===this.findEntityInGraph("Facility: "+s.id)){const f=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:f,label:this.localFacility+": "+s.name,tooltip:s.description,color:"#FFCCFF",tip:"Facility: "+s.id}];const lt={source:f,target:this.hierarchialGraph.nodes[this.findEntityInGraph("destination no id")].id};this.hierarchialGraph.links=[...this.hierarchialGraph.links,lt]}this.voService.getVoById(e).subscribe(f=>{if(-1===this.findEntityInGraph("Vo: "+f.id)){const S=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:S,label:this.localVo+": "+f.shortName,tooltip:f.name,color:"#E5FFCC",tip:"Vo: "+f.id}];const vt={source:this.hierarchialGraph.nodes[this.findEntityInGraph("user: "+this.user.id)].id,target:S};this.hierarchialGraph.links=[...this.hierarchialGraph.links,vt]}if(-1===this.findEntityInGraph("Group: "+i.id)){const S=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:S,label:this.localGroup+": "+i.name,tooltip:i.description,color:"#CCE5FF",tip:"Group: "+i.id}];const vt={source:this.hierarchialGraph.nodes[this.findEntityInGraph("Vo: "+f.id)].id,target:S};this.hierarchialGraph.links=[...this.hierarchialGraph.links,vt]}const b=this.findEntityInGraph("Resource: "+a.id);if(-1!==b){const S={source:this.hierarchialGraph.nodes[this.findEntityInGraph("Group: "+i.id)].id,target:this.hierarchialGraph.nodes[b].id};this.hierarchialGraph.links=[...this.hierarchialGraph.links,S]}else{const S=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:S,label:this.localResource+": "+a.name,tooltip:a.description,color:"#FFCCCC",tip:"Resource: "+a.id}];const vt={source:this.hierarchialGraph.nodes[this.findEntityInGraph("Group: "+i.id)].id,target:S};this.hierarchialGraph.links=[...this.hierarchialGraph.links,vt];const Mt={source:S,target:this.hierarchialGraph.nodes[this.findEntityInGraph("Facility: "+s.id)].id};this.hierarchialGraph.links=[...this.hierarchialGraph.links,Mt]}})}haveService(e){if("noService"===this.service)return!0;for(const i of e)if(this.service===i.name)return!0;return!1}findConnectedGroups(e,i){const a=[];for(let s=0;ssetTimeout(()=>i(),e)).then(()=>console.log("fired"))})}onResize(){this.innerWidth=window.innerWidth<600?window.innerWidth:window.innerWidth-420,this.innerHeight=window.innerHeight}getLocalizedNames(){this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.USER").subscribe(e=>{this.localUser=e}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.VO").subscribe(e=>{this.localVo=e}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.GROUP").subscribe(e=>{this.localGroup=e}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.RESOURCE").subscribe(e=>{this.localResource=e}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.FACILITY").subscribe(e=>{this.localFacility=e}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.SERVICE").subscribe(e=>{this.localService=e}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.DESTINATION").subscribe(e=>{this.localDestination=e})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(m.gz),t.Y36(z.IQ),t.Y36(z.Fv),t.Y36(z.uq),t.Y36(z.KK),t.Y36(z.xk),t.Y36(z.ff),t.Y36(z.YF),t.Y36(p.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-user-destination-graph"]],hostVars:2,hostBindings:function(e,i){1&e&&t.NdJ("resize",function(s){return i.onResize(s)},!1,t.Jf7),2&e&&t.ekj("router-component",i.true)},decls:6,vars:5,consts:[[1,"page-subtitle"],[4,"ngIf","ngIfElse"],["elseBlock",""],[1,"ml-auto","mr-auto"],[4,"ngIf"],[1,"card","w-100","h-100"],[1,"chart-container",3,"links","nodes","curve","draggingEnabled","zoomToFit$","view"],["defsTemplate",""],["nodeTemplate",""],["linkTemplate",""],["id","arrow","viewBox","0 -5 10 10","refX","8","refY","0","markerWidth","4","markerHeight","4","orient","auto"],["d","M0,-5L10,0L0,5",1,"arrow-head"],["ngx-tooltip","",1,"node",3,"tooltipPlacement","tooltipType","tooltipTitle"],["alignment-baseline","central"],[1,"edge"],["stroke-width","2","marker-end","url(#arrow)",1,"line"],["text-anchor","end",1,"edge-label"],["startOffset","60%",2,"fill","#000"]],template:function(e,i){if(1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,Ux,2,0,"div",1),t.YNc(4,Jx,3,2,"ng-template",null,2,t.W1O)),2&e){const a=t.MAs(5);t.xp6(1),t.hij(" ",t.lcZ(2,3,"ADMIN.VISUALIZER.USER_DESTINATION.TITLE"),"\n"),t.xp6(2),t.Q6J("ngIf",i.loading)("ngIfElse",a)}},directives:[_.O5,tt.$g,tm,uo],pipes:[p.X$],styles:[""]}),n})();var jx=o(25828),qx=o(29862),Kx=o(31359);function ty(n,r){1&n&&t._UZ(0,"mat-spinner",3)}function ey(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).editUser()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}const ny=function(){return{color:"black"}},iy=function(n){return["/admin/users",n]};function ry(n,r){if(1&n&&(t.TgZ(0,"div",4),t._UZ(1,"mat-icon",5),t.ALo(2,"translate"),t.TgZ(3,"div",6),t.TgZ(4,"div",7),t.TgZ(5,"a",8),t._uU(6),t.ALo(7,"userFullName"),t.qZA(),t.TgZ(8,"span",9),t._uU(9),t.qZA(),t.YNc(10,ey,3,0,"button",10),t.qZA(),t.TgZ(11,"div"),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"span",11),t._uU(15),t.ALo(16,"translate"),t.ALo(17,"translate"),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.s9C("matTooltip",t.lcZ(2,12,"ADMIN_USER.ENTITY")),t.Q6J("ngStyle",t.DdM(22,ny))("svgIcon",e.svgIcon),t.xp6(4),t.Q6J("routerLink",t.VKq(23,iy,e.user.id)),t.xp6(1),t.hij(" ",t.lcZ(7,14,e.user)," "),t.xp6(3),t.hij(" \xa0#",e.user.id," "),t.xp6(1),t.Q6J("ngIf",e.authResolver.isPerunAdmin()),t.xp6(2),t.AsE("",t.lcZ(13,16,"ADMIN_USER.UUID"),": ",e.user.uuid,""),t.xp6(3),t.lnq(" ",t.lcZ(16,18,"ADMIN_USER.ENTITY"),", ",t.lcZ(17,20,"ADMIN_USER.USER_TYPE"),": ",e.getUserType()," ")}}let ay=(()=>{class n{constructor(e,i,a,s,f,b,S){this.route=e,this.usersService=i,this.sideMenuService=a,this.sideMenuItemService=s,this.dialog=f,this.authResolver=b,this.entityStorageService=S,this.loading=!1,this.svgIcon="perun-user-dark"}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{const i=e.userId;this.entityStorageService.setEntity({id:Number(i),beanName:"User"}),this.path=`/admin/users/${i}`,this.regex="/admin/users/\\d+",this.usersService.getUserById(i).subscribe(a=>{this.user=a,this.user.serviceUser&&(this.svgIcon="perun-service-identity");const s=this.sideMenuItemService.parseUser(a,this.path,this.regex);this.sideMenuService.setAdminItems([s]),this.loading=!1},()=>this.loading=!1)})}editUser(){const e=(0,de.kZ)();e.width="450px",e.data={theme:"admin-theme",user:this.user},this.dialog.open(qx.x,e).afterClosed().subscribe(a=>{a&&this.usersService.getUserById(this.user.id).subscribe(s=>{this.user=s})})}getUserType(){return this.user.serviceUser?"Service":"Person"}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(m.gz),t.Y36(z.Fv),t.Y36(c.D),t.Y36(l.V),t.Y36(R.uw),t.Y36(H.x4),t.Y36(H.fb))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-user-detail-page"]],decls:5,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],["class","mr-auto ml-auto",4,"ngIf"],["class","d-flex page-title-headtitle",4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],[1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle","svgIcon"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"user-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"perun-web-apps-back-button"),t.YNc(2,ty,1,0,"mat-spinner",1),t.YNc(3,ry,18,25,"div",2),t._UZ(4,"app-animated-router-outlet"),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading&&void 0!==i.user))},directives:[h.W,_.O5,tt.$g,g.Hw,Ut.gM,_.PC,m.yS,ot.lW,d.A],pipes:[p.X$,Kx.d],styles:[""]}),n})();var sy=o(17755),oy=o(74837),ly=o(85985),cy=o(98973),uy=o(15935);function hy(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",5),t.NdJ("click",function(){return t.CHM(e),t.oxw().onLoad()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.EXT_SOURCES.LOAD")," "))}function dy(n,r){1&n&&t._UZ(0,"mat-spinner",6)}const fy=function(){return["id","name","type"]};function py(n,r){if(1&n&&t._UZ(0,"app-ext-sources-list",7),2&n){const e=t.oxw();t.Q6J("extSources",e.extSources)("filterValue",e.filterValue)("displayedColumns",t.DdM(4,fy))("tableId",e.tableId)}}let my=(()=>{class n{constructor(e,i,a,s){this.extSourceService=e,this.notificator=i,this.translate=a,this.authResolver=s,this.extSources=[],this.filterValue="",this.loading=!1,this.tableId=gn.qy,this.translate.get("ADMIN.EXT_SOURCES.LOAD_SUCCESS").subscribe(f=>this.loadSuccess=f)}ngOnInit(){this.refreshTable()}applyFilter(e){this.filterValue=e}onLoad(){this.extSourceService.loadExtSourcesDefinitions().subscribe(()=>{this.notificator.showSuccess(this.loadSuccess),this.refreshTable()})}refreshTable(){this.loading=!0,this.extSourceService.getExtSources().subscribe(e=>{this.extSources=e,this.loading=!1})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.KG),t.Y36(H.V6),t.Y36(p.sK),t.Y36(H.x4))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-ext-sources"]],decls:8,vars:7,consts:[[1,"page-subtitle"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"extSources","filterValue","displayedColumns","tableId",4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"extSources","filterValue","displayedColumns","tableId"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,hy,3,3,"button",1),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(6,dy,1,0,"mat-spinner",3),t.YNc(7,py,1,5,"app-ext-sources-list",4),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,5,"ADMIN.EXT_SOURCES.TITLE")),t.xp6(2),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("placeholder","ADMIN.EXT_SOURCES.SEARCH"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[_.O5,ot.lW,je.L,tt.$g,uy.D],pipes:[p.X$],styles:[""]}),n})();var gy=o(6097),_y=o(97453),gu=o(1059),_u=o(24850);function vy(n,r){1&n&&t._UZ(0,"mat-spinner",7)}function xy(n,r){if(1&n&&(t.TgZ(0,"mat-option",14),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e.name," ")}}function yy(n,r){if(1&n&&(t.TgZ(0,"div"),t.TgZ(1,"mat-form-field",8),t._UZ(2,"input",9),t.ALo(3,"translate"),t.TgZ(4,"mat-error"),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.TgZ(7,"mat-form-field",8),t._UZ(8,"input",10),t.ALo(9,"translate"),t.TgZ(10,"mat-error"),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.TgZ(13,"mat-autocomplete",11,12),t.YNc(15,xy,2,2,"mat-option",13),t.ALo(16,"async"),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.MAs(14),i=t.oxw();t.xp6(2),t.s9C("placeholder",t.lcZ(3,9,"DIALOGS.ADD_USER_EXT_SOURCE.LOGIN")),t.Q6J("formControl",i.loginControl),t.xp6(3),t.hij(" ",t.lcZ(6,11,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_LOGIN")," "),t.xp6(3),t.s9C("placeholder",t.lcZ(9,13,"DIALOGS.ADD_USER_EXT_SOURCE.EXT_SOURCE")),t.Q6J("formControl",i.extSourcesControl)("matAutocomplete",e),t.xp6(3),t.hij(" ",t.lcZ(12,15,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_EXT_SOURCE")," "),t.xp6(2),t.Q6J("displayWith",i.displayFn),t.xp6(2),t.Q6J("ngForOf",t.lcZ(16,17,i.filteredExtSources))}}let Ty=(()=>{class n{constructor(e,i,a,s,f,b){this.dialogRef=e,this.data=i,this.extSourcesManagerService=a,this.usersManagerService=s,this.translate=f,this.notificator=b,this.extSources=[],f.get("DIALOGS.ADD_USER_EXT_SOURCE.SUCCESS").subscribe(S=>this.successMessage=S)}ngOnInit(){this.loading=!0,this.loginControl=new ft.NI("",[ft.kI.required,ft.kI.pattern(".*[\\S]+.*")]),this.extSourcesControl=new ft.NI("",[ft.kI.required]),this.loginControl.markAllAsTouched(),this.extSourcesControl.markAllAsTouched(),this.filteredExtSources=this.extSourcesControl.valueChanges.pipe((0,gu.O)(""),(0,_u.U)(e=>this._filter(e))),this.extSourcesManagerService.getExtSources().subscribe(e=>{this.extSources=e,this.filteredExtSources=this.extSourcesControl.valueChanges.pipe((0,gu.O)(""),(0,_u.U)(i=>this._filter(i))),this.loading=!1},()=>this.loading=!1)}displayFn(e){return e?e.name:null}onCancel(){this.dialogRef.close(!1)}onAdd(){this.loading=!0,this.usersManagerService.addUserExtSource({user:this.data.userId,userExtSource:{beanName:"",extSource:this.extSourcesControl.value,id:0,login:this.loginControl.value,userId:this.data.userId}}).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1)}_filter(e){const i="string"==typeof e?e.toLowerCase():e.name.toLowerCase;return this.extSources.filter(a=>a.name.toLowerCase().includes(i))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(z.KG),t.Y36(z.Fv),t.Y36(p.sK),t.Y36(H.V6))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-add-user-ext-source-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"center-self","w-100"],["matInput","","required","",3,"formControl","placeholder"],["matInput","","type","text","required","",3,"formControl","matAutocomplete","placeholder"],[3,"displayWith"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",1),t.YNc(4,vy,1,0,"mat-spinner",2),t.YNc(5,yy,17,19,"div",3),t.qZA(),t.TgZ(6,"div",4),t.TgZ(7,"button",5),t.NdJ("click",function(){return i.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",6),t.NdJ("click",function(){return i.onAdd()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"DIALOGS.ADD_USER_EXT_SOURCE.TITLE")),t.xp6(3),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(3),t.hij(" ",t.lcZ(9,8,"DIALOGS.ADD_USER_EXT_SOURCE.CANCEL")," "),t.xp6(2),t.Q6J("disabled",i.loginControl.invalid||i.extSourcesControl.invalid||i.loading),t.xp6(1),t.hij(" ",t.lcZ(12,10,"DIALOGS.ADD_USER_EXT_SOURCE.ADD")," "))},directives:[R.uh,R.xY,_.O5,tt.$g,G.KE,M.Nt,ft.Fj,ft.Q7,ft.JJ,ft.oH,G.TO,_t.ZL,_t.XC,_.sg,Yt.ey,R.H8,ot.lW],pipes:[p.X$,_.Ov],styles:[".column-size[_ngcontent-%COMP%]{width:10rem!important;font-weight:700}.center-self[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.auto-width[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:auto!important}.auto-width[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{max-width:100%;width:auto}.pre-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),n})();var vu=o(84379),by=o(80275);function Cy(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().addIdentity()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"USER_DETAIL.IDENTITIES.ADD"),"\n"))}function wy(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().removeIdentity()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"USER_DETAIL.IDENTITIES.REMOVE"),"\n")}}function Ay(n,r){1&n&&t._UZ(0,"mat-spinner",10)}function Ey(n,r){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-user-ext-sources-list",11),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("displayedColumns",e.displayedColumns)("filterValue",e.filterValue)("selection",e.selection)("userExtSources",e.userExtSources)("tableId",e.tableId)}}let Sy=(()=>{class n{constructor(e,i,a,s,f,b){this.usersManagerService=e,this.storage=i,this.registrarManagerService=a,this.dialog=s,this.route=f,this.authResolver=b,this.userExtSources=[],this.selection=new P.Ov(!1,[]),this.displayedColumns=["select","id","extSourceName","login","lastAccess"],this.tableId=gn.gG,this.filterValue=""}ngOnInit(){this.route.parent.params.subscribe(e=>{this.userId=e.userId}),this.refreshTable()}refreshTable(){this.loading=!0,this.selection.clear(),this.usersManagerService.getRichUserExtSources(this.userId).subscribe(e=>{this.userExtSources=e,this.loading=!1},()=>this.loading=!1)}addIdentity(){const e=(0,de.kZ)();e.width="1000px",e.data={userId:this.userId},this.dialog.open(Ty,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}removeIdentity(){const e=(0,de.kZ)();e.width="450px",e.data={showSuccess:!0,theme:"user-theme",userId:this.userId,extSources:this.selection.selected},this.dialog.open(vu.Lc,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.Fv),t.Y36(H.d6),t.Y36(z.tk),t.Y36(R.uw),t.Y36(m.gz),t.Y36(H.x4))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-user-identities"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2 action-button","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],[1,"admin-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","filterValue","selection","userExtSources","tableId"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.YNc(4,Cy,3,3,"button",2),t.YNc(5,wy,3,4,"button",3),t.TgZ(6,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.TgZ(7,"div",5),t.YNc(8,Ay,1,0,"mat-spinner",6),t.qZA(),t.YNc(9,Ey,2,5,"div",7)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"USER_DETAIL.IDENTITIES.TITLE")),t.xp6(3),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("placeholder","USER_DETAIL.IDENTITIES.FILTER_PLACEHOLDER"),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,_.O5,ot.lW,je.L,tt.$g,by.j],pipes:[p.X$],styles:[""]}),n})();function Dy(n,r){1&n&&t._UZ(0,"mat-spinner",4)}function Ly(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",5),t.TgZ(1,"mat-form-field"),t.TgZ(2,"input",6),t.NdJ("change",function(){return t.CHM(e),t.oxw().makePath()}),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-error"),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.TgZ(7,"mat-form-field"),t.TgZ(8,"input",7),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().description=a}),t.ALo(9,"translate"),t.qZA(),t.qZA(),t.TgZ(10,"mat-form-field"),t._UZ(11,"input",8),t.ALo(12,"translate"),t.TgZ(13,"mat-error"),t._uU(14),t.ALo(15,"translate"),t.qZA(),t.qZA(),t.TgZ(16,"mat-form-field"),t._UZ(17,"input",8),t.ALo(18,"translate"),t.TgZ(19,"mat-error"),t._uU(20),t.ALo(21,"translate"),t.qZA(),t.qZA(),t.TgZ(22,"mat-form-field"),t._UZ(23,"input",8),t.ALo(24,"translate"),t.TgZ(25,"mat-error"),t._uU(26),t.ALo(27,"translate"),t.qZA(),t.qZA(),t.TgZ(28,"span",9),t._uU(29),t.ALo(30,"translate"),t.TgZ(31,"mat-checkbox",10),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().status=a}),t._uU(32),t.ALo(33,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.s9C("placeholder",t.lcZ(3,17,"DIALOGS.CREATE_EDIT_SERVICE.NAME")),t.Q6J("formControl",e.nameControl),t.xp6(3),t.Oqu(t.lcZ(6,19,"DIALOGS.CREATE_EDIT_SERVICE.RESTRICTION_NAME")),t.xp6(3),t.s9C("placeholder",t.lcZ(9,21,"DIALOGS.CREATE_EDIT_SERVICE.DESCRIPTION")),t.Q6J("ngModel",e.description),t.xp6(3),t.s9C("placeholder",t.lcZ(12,23,"DIALOGS.CREATE_EDIT_SERVICE.DELAY")),t.Q6J("formControl",e.delayControl),t.xp6(3),t.Oqu(t.lcZ(15,25,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_DELAY")),t.xp6(3),t.s9C("placeholder",t.lcZ(18,27,"DIALOGS.CREATE_EDIT_SERVICE.RECURRENCE")),t.Q6J("formControl",e.recurrenceControl),t.xp6(3),t.Oqu(t.lcZ(21,29,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_RECURRENCE")),t.xp6(3),t.s9C("placeholder",t.lcZ(24,31,"DIALOGS.CREATE_EDIT_SERVICE.PATH")),t.Q6J("formControl",e.pathControl),t.xp6(3),t.Oqu(t.lcZ(27,33,"DIALOGS.CREATE_EDIT_SERVICE.REQUIRE_PATH")),t.xp6(3),t.hij("",t.lcZ(30,35,"DIALOGS.CREATE_EDIT_SERVICE.STATUS")," "),t.xp6(2),t.Q6J("ngModel",e.status),t.xp6(1),t.Oqu(t.lcZ(33,37,"DIALOGS.CREATE_EDIT_SERVICE.STATUS_HINT"))}}function ky(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",11),t.TgZ(1,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"button",13),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return a.asEdit?a.onEdit():a.onCreate()}),t._uU(5),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,3,"DIALOGS.CREATE_EDIT_SERVICE.CANCEL")," "),t.xp6(2),t.Q6J("disabled",e.nameControl.invalid||e.delayControl.invalid||e.recurrenceControl.invalid||e.pathControl.invalid),t.xp6(1),t.hij(" ",e.buttonText," ")}}let xu=(()=>{class n{constructor(e,i,a,s,f){this.dialogRef=e,this.data=i,this.serviceManager=a,this.notificator=s,this.translate=f,this.loading=!1,this.status=!0,this.nameControl=new ft.NI("",[ft.kI.required,ft.kI.pattern("^[a-zA-Z0-9_]+$")]),this.delayControl=new ft.NI(10,[ft.kI.pattern("^[0-9]*$")]),this.recurrenceControl=new ft.NI(2,[ft.kI.pattern("^[0-9]*$")]),this.pathControl=new ft.NI("",[ft.kI.required]),this.asEdit=!1}ngOnInit(){this.theme=this.data.theme,this.asEdit=void 0!==this.data.service,this.asEdit?(this.nameControl.setValue(this.data.service.name),this.description=this.data.service.description,this.delayControl.setValue(this.data.service.delay),this.recurrenceControl.setValue(this.data.service.recurrence),this.pathControl.setValue(this.data.service.script),this.status=this.data.service.enabled,this.title=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.EDIT_TITLE"),this.buttonText=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.EDIT")):(this.title=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE_TITLE"),this.buttonText=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE"))}onCreate(){this.loading=!0,this.serviceManager.createServiceWithService({service:{name:this.nameControl.value,description:this.description,delay:this.delayControl.value,recurrence:this.recurrenceControl.value,enabled:this.status,script:this.pathControl.value,id:0,beanName:""}}).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE_SUCCESS")),this.dialogRef.close(!0),this.loading=!1})}onEdit(){this.loading=!0,this.serviceManager.updateService({service:{name:this.nameControl.value,description:this.description,delay:this.delayControl.value,recurrence:this.recurrenceControl.value,enabled:this.status,script:this.pathControl.value,id:this.data.service.id,beanName:this.data.service.beanName}}).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.EDIT_SUCCESS")),this.dialogRef.close(!0),this.loading=!1})}onCancel(){this.dialogRef.close(!1)}makePath(){const e="./".concat(this.nameControl.value);this.pathControl.setValue(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(z.KK),t.Y36(H.V6),t.Y36(p.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-create-service-dialog"]],decls:6,vars:7,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"formControl","placeholder","change"],["matInput","",3,"ngModel","placeholder","ngModelChange"],["matInput","","required","",3,"formControl","placeholder"],[1,"d-flex"],[1,"ml-3",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.qZA(),t.YNc(3,Dy,1,0,"mat-spinner",1),t.YNc(4,Ly,34,39,"div",2),t.YNc(5,ky,6,5,"div",3),t.qZA()),2&e&&(t.Tol(i.theme),t.xp6(2),t.Oqu(i.title),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[R.uh,_.O5,tt.$g,R.xY,G.KE,M.Nt,ft.Fj,ft.Q7,ft.JJ,ft.oH,G.TO,ft.On,xt.oG,R.H8,ot.lW],pipes:[p.X$],styles:[""]}),n})();var Iy=o(55663);let yu=(()=>{class n{constructor(e,i,a,s,f){this.dialogRef=e,this.data=i,this.serviceManager=a,this.notificator=s,this.translate=f,this.displayedColumns=["name"],this.dataSource=new Z.by(this.data.services),this.loading=!1,this.force=!1,this.relations=[]}ngOnInit(){this.theme=this.data.theme,this.services=this.data.services,this.relations.push(this.translate.instant("DIALOGS.DELETE_SERVICE.DESTINATION_RELATION")),this.anotherMessage=this.translate.instant("DIALOGS.DELETE_SERVICE.MORE_INFORMATION")}onConfirm(){if(0===this.services.length)return this.dialogRef.close(!0),void this.notificator.showSuccess(this.translate.instant("DIALOGS.DELETE_SERVICE.SUCCESS"));this.loading=!0,this.serviceManager.deleteService(this.services.pop().id,this.force).subscribe(()=>{this.onConfirm(),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(e){this.force=e.force,e.deleted?this.onConfirm():this.onCancel()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(z.KK),t.Y36(H.V6),t.Y36(p.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-delete-service-dialog"]],decls:2,vars:8,consts:[[3,"entityNames","entityType","relations","anotherMessage","loading","deleted"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"app-delete-entity-dialog",0),t.NdJ("deleted",function(s){return i.onSubmit(s)}),t.qZA(),t.qZA()),2&e&&(t.Tol(i.theme),t.xp6(1),t.Q6J("entityNames",i.dataSource)("entityType","services")("relations",i.relations)("anotherMessage",i.anotherMessage)("loading",i.loading))},directives:[Iy.e],styles:[""]}),n})();function My(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().createService()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.SERVICES.CREATE")," "))}function Oy(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().deleteService()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"ADMIN.SERVICES.DELETE")," ")}}function Ny(n,r){1&n&&t._UZ(0,"mat-spinner",9)}function Fy(n,r){if(1&n&&t._UZ(0,"app-services-list",10),2&n){const e=t.oxw();t.Q6J("tableId",e.tableId)("selection",e.selection)("services",e.services)("filterValue",e.filterValue)}}let Py=(()=>{class n{constructor(e,i,a){this.serviceManager=e,this.dialog=i,this.authResolver=a,this.selection=new P.Ov(!0,[]),this.loading=!1,this.filterValue="",this.tableId=gn.NL}ngOnInit(){this.serviceManager.getServices().subscribe(e=>{this.services=e,this.refreshTable()})}createService(){const e=(0,de.kZ)();e.width="600px",e.data={theme:"admin-theme"},this.dialog.open(xu,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}deleteService(){const e=(0,de.kZ)();e.width="600px",e.data={theme:"admin-theme",services:this.selection.selected},this.dialog.open(yu,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}refreshTable(){this.loading=!0,this.serviceManager.getServices().subscribe(e=>{this.services=e,this.selection.clear(),this.loading=!1})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.KK),t.Y36(R.uw),t.Y36(H.x4))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-services"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","class","action-button mr-2","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"tableId","selection","services","filterValue",4,"ngIf"],["color","accent","mat-flat-button","",1,"action-button","mr-2",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],[3,"tableId","selection","services","filterValue"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.YNc(5,My,3,3,"button",2),t.YNc(6,Oy,3,4,"button",3),t.TgZ(7,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(8,Ny,1,0,"mat-spinner",5),t.YNc(9,Fy,1,4,"app-services-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,6,"ADMIN.SERVICES.TITLE")),t.xp6(3),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("placeholder","ADMIN.SERVICES.FILTER"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,_.O5,ot.lW,je.L,tt.$g,ci.Q],pipes:[p.X$],styles:[""]}),n})();var Ry=o(62109);function Zy(n,r){1&n&&t._UZ(0,"mat-spinner",5)}const By=function(){return["id","name","vo","facility","description"]};function Uy(n,r){if(1&n&&t._UZ(0,"perun-web-apps-resources-list",6),2&n){const e=t.oxw();t.Q6J("tableId",e.tableId)("resources",e.resources)("filterValue",e.filterValue)("displayedColumns",t.DdM(4,By))}}let Gy=(()=>{class n{constructor(e,i){this.userManager=e,this.route=i,this.resources=[],this.tableId=gn.kO,this.filterValue=""}ngOnInit(){this.refreshTable()}refreshTable(){this.loading=!0,this.route.parent.params.subscribe(e=>{this.userManager.getAssignedRichResourcesForUser(e.userId).subscribe(a=>{this.resources=a,this.loading=!1})})}resourceFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.Fv),t.Y36(m.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-perun-web-apps-user-resources"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","resources","filterValue","displayedColumns",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","resources","filterValue","displayedColumns"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(s){return i.resourceFilter(s)}),t.qZA(),t.YNc(6,Zy,1,0,"mat-spinner",3),t.YNc(7,Uy,1,5,"perun-web-apps-resources-list",4),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,4,"USER_DETAIL.RESOURCES.TITLE")),t.xp6(3),t.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,je.L,_.O5,tt.$g,Ry.C],pipes:[p.X$],styles:[""]}),n})();var Vy=o(61365),zy=o(71103),Yy=o(53984);const Hy=["list"];function Wy(n,r){1&n&&t._UZ(0,"mat-spinner",8)}function Xy(n,r){if(1&n&&t._UZ(0,"perun-web-apps-attributes-list",9,10),2&n){const e=t.oxw();t.Q6J("tableId",e.tableId)("attributes",e.attributes)("selection",e.selection)}}let $y=(()=>{class n{constructor(e,i,a,s){this.dialog=e,this.attributesManager=i,this.userService=a,this.route=s,this.loading=!1,this.selection=new P.Ov(!0,[]),this.tableId=gn.rF,this.attributes=[]}ngOnInit(){this.route.params.subscribe(e=>{this.userService.getUserExtSourceById(e.identityId).subscribe(a=>{this.userExtSource=a,this.refreshTable()})})}refreshTable(){this.loading=!0,this.attributesManager.getUserExtSourceAttributes(this.userExtSource.id).subscribe(e=>{this.attributes=(0,de.MX)(e),this.selection.clear(),this.loading=!1})}onAdd(){const e=(0,de.kZ)();e.width="1050px",e.data={entityId:this.userExtSource.id,entity:"ues",notEmptyAttributes:this.attributes,style:"user-theme"},this.dialog.open(zy.n,e).afterClosed().subscribe(a=>{"saved"===a&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const e=(0,de.kZ)();e.width="450px",e.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(vu.wA,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}onRemove(){const e=(0,de.kZ)();e.width="450px",e.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(Vy.k,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.uw),t.Y36(z.H8),t.Y36(z.Fv),t.Y36(m.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-identity-detail"]],viewQuery:function(e,i){if(1&e&&t.Gf(Hy,5),2&e){let a;t.iGM(a=t.CRH())&&(i.list=a.first)}},decls:26,vars:32,consts:[[1,"page-subtitle"],[1,"mb-2"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","attributes","selection",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","attributes","selection"],["list",""]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div"),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"div"),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"div",1),t._uU(11),t.ALo(12,"translate"),t.ALo(13,"date"),t.qZA(),t.TgZ(14,"perun-web-apps-refresh-button",2),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.TgZ(15,"button",3),t.NdJ("click",function(){return i.onSave()}),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.TgZ(18,"button",4),t.NdJ("click",function(){return i.onAdd()}),t._uU(19),t.ALo(20,"translate"),t.qZA(),t.TgZ(21,"button",5),t.NdJ("click",function(){return i.onRemove()}),t._uU(22),t.ALo(23,"translate"),t.qZA(),t.YNc(24,Wy,1,0,"mat-spinner",6),t.YNc(25,Xy,2,3,"perun-web-apps-attributes-list",7),t.qZA()),2&e&&(t.xp6(2),t.AsE(" ",t.lcZ(3,15,"SHARED.IDENTITY_DETAIL.TITLE")," - ",i.userExtSource?i.userExtSource.extSource.name:""," "),t.xp6(3),t.AsE(" ",t.lcZ(6,17,"SHARED.IDENTITY_DETAIL.TYPE"),": ",i.userExtSource?i.userExtSource.extSource.type:""," "),t.xp6(3),t.AsE(" ",t.lcZ(9,19,"SHARED.IDENTITY_DETAIL.LOGIN"),": ",i.userExtSource?i.userExtSource.login:""," "),t.xp6(3),t.AsE(" ",t.lcZ(12,21,"SHARED.IDENTITY_DETAIL.LAST_ACCESS"),": ",i.userExtSource?t.xi3(13,23,i.userExtSource.lastAccess,"d.M.y H:mm:ss"):""," "),t.xp6(4),t.Q6J("disabled",0===i.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(17,26,"SHARED.IDENTITY_DETAIL.SAVE")," "),t.xp6(3),t.hij(" ",t.lcZ(20,28,"SHARED.IDENTITY_DETAIL.ADD")," "),t.xp6(2),t.Q6J("disabled",0===i.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(23,30,"SHARED.IDENTITY_DETAIL.REMOVE")," "),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,ot.lW,_.O5,tt.$g,Yy.p],pipes:[p.X$,_.uU],styles:[""]}),n})();function Jy(n,r){1&n&&t._UZ(0,"mat-spinner",3)}function Qy(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",15),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).editService()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}function jy(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).removeService()}),t.TgZ(1,"mat-icon"),t._uU(2,"delete_forever"),t.qZA(),t.qZA()}}const qy=function(){return{color:"black"}},Ky=function(n){return["/admin/services",n]};function t1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",4),t._UZ(1,"mat-icon",5),t.ALo(2,"translate"),t.TgZ(3,"div",6),t.TgZ(4,"div",7),t.TgZ(5,"a",8),t._uU(6),t.qZA(),t.TgZ(7,"span",9),t._uU(8),t.qZA(),t.YNc(9,Qy,3,0,"button",10),t.YNc(10,jy,3,0,"button",11),t.qZA(),t.TgZ(11,"span",12),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"div",12),t._uU(15),t.ALo(16,"translate"),t.TgZ(17,"span"),t._uU(18),t.ALo(19,"translate"),t.ALo(20,"translate"),t.TgZ(21,"button",13),t.NdJ("click",function(){return t.CHM(e),t.oxw().changeServiceStatus()}),t.TgZ(22,"mat-icon",14),t._uU(23),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.s9C("matTooltip",t.lcZ(2,12,"SERVICE_DETAIL.ENTITY")),t.Q6J("ngStyle",t.DdM(22,qy)),t.xp6(4),t.Q6J("routerLink",t.VKq(23,Ky,e.service.id)),t.xp6(1),t.hij(" ",e.service.name," "),t.xp6(2),t.hij(" \xa0 #",e.service.id," "),t.xp6(1),t.Q6J("ngIf",e.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",e.authResolver.isPerunAdmin()),t.xp6(2),t.AsE(" ",t.lcZ(13,14,"SERVICE_DETAIL.DESCRIPTION"),": ",e.service.description," "),t.xp6(3),t.hij(" ",t.lcZ(16,16,"SERVICE_DETAIL.STATUS"),": "),t.xp6(3),t.hij(" ",e.service.enabled?t.lcZ(19,18,"SERVICE_DETAIL.ENABLED"):t.lcZ(20,20,"SERVICE_DETAIL.DISABLED")," "),t.xp6(5),t.hij(" ",e.service.enabled?"check_circle_outline":"block"," ")}}let e1=(()=>{class n{constructor(e,i,a,s,f,b,S,F,W,lt){this.route=e,this.router=i,this.serviceManager=a,this.sideMenuService=s,this.sideMenuItemService=f,this.dialog=b,this.authResolver=S,this.translate=F,this.notificator=W,this.entityStorageService=lt,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{this.serviceId=e.serviceId,this.refresh()})}refresh(){this.serviceManager.getServiceById(this.serviceId).subscribe(e=>{this.service=e,this.entityStorageService.setEntity({id:e.id,beanName:e.beanName});const i=this.sideMenuItemService.parseService(this.service);this.sideMenuService.setAdminItems([i]),this.loading=!1},()=>this.loading=!1)}editService(){const e=(0,de.kZ)();e.width="600px",e.data={theme:"service-theme",service:this.service},this.dialog.open(xu,e).afterClosed().subscribe(a=>{a&&this.ngOnInit()})}removeService(){const e=(0,de.kZ)();e.width="600px",e.data={theme:"service-theme",services:[this.service]},this.dialog.open(yu,e).afterClosed().subscribe(a=>{a&&this.router.navigate(["/admin/services"])})}changeServiceStatus(){this.loading=!0,this.serviceManager.updateService({service:{name:this.service.name,description:this.service.description,delay:this.service.delay,recurrence:this.service.recurrence,enabled:!this.service.enabled,script:this.service.script,id:this.service.id,beanName:this.service.beanName}}).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.STATUS_CHANGE_SUCCESS")),this.refresh()},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(m.gz),t.Y36(m.F0),t.Y36(z.KK),t.Y36(c.D),t.Y36(l.V),t.Y36(R.uw),t.Y36(H.x4),t.Y36(p.sK),t.Y36(H.V6),t.Y36(H.fb))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-service-detail-page"]],decls:5,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","service-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","d-flex page-title-headtitle",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-service",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"service-link",3,"routerLink"],[1,"text-muted"],["aria-label","Edit service","mat-icon-button","",3,"click",4,"ngIf"],["aria-label","Remove service","mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","",3,"click"],[1,"align-content-center"],["aria-label","Edit service","mat-icon-button","",3,"click"],["aria-label","Remove service","mat-icon-button","",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"perun-web-apps-back-button"),t.YNc(2,Jy,1,0,"mat-spinner",1),t.YNc(3,t1,24,25,"div",2),t._UZ(4,"app-animated-router-outlet"),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading&&void 0!==i.service))},directives:[h.W,_.O5,tt.$g,g.Hw,Ut.gM,_.PC,m.yS,ot.lW,d.A],pipes:[p.X$],styles:[""],data:{animation:[En.Ji]}}),n})(),n1=(()=>{class n{constructor(){this.navItems=[]}ngOnInit(){this.initNavItems()}initNavItems(){this.navItems=[{cssIcon:"perun-attributes",url:"required-attributes",label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",style:"service-btn"},{cssIcon:"perun-service_destination",url:"destinations",label:"MENU_ITEMS.SERVICE.DESTINATIONS",style:"service-btn"}]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-service-overview"]],decls:1,vars:2,consts:[[3,"items","size"]],template:function(e,i){1&e&&t._UZ(0,"perun-web-apps-menu-buttons-field",0),2&e&&t.Q6J("items",i.navItems)("size","small")},directives:[L.L],styles:[""]}),n})();function i1(n,r){1&n&&t._UZ(0,"mat-spinner",4)}function r1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",5),t.TgZ(1,"perun-web-apps-immediate-filter",6),t.NdJ("filter",function(a){return t.CHM(e),t.oxw().applyFilter(a)}),t.qZA(),t._UZ(2,"app-attr-def-list",7),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("placeholder","DIALOGS.ADD_REQUIRED_ATTRIBUTES.FILTER"),t.xp6(1),t.Q6J("selection",e.selection)("definitions",e.attrDefinitions)("disableRouting",!0)("filterValue",e.filterValue)}}function a1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",8),t.TgZ(1,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAdd()}),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,3,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.CANCEL")," "),t.xp6(2),t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(6,5,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.ADD")," ")}}let s1=(()=>{class n{constructor(e,i,a,s,f,b){this.dialogRef=e,this.data=i,this.serviceManager=a,this.attributesManager=s,this.notificator=f,this.translate=b,this.attrDefinitions=[],this.selection=new P.Ov(!0,[]),this.filterValue="",this.loading=!1}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.serviceId=this.data.serviceId,this.attributesManager.getAllAttributeDefinitions().subscribe(e=>{this.attrDefinitions=e,this.loading=!1})}onAdd(){this.loading=!0;const e=this.selection.selected.map(i=>i.id);this.serviceManager.addRequiredAttributes(this.serviceId,e).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_REQUIRED_ATTRIBUTES.SUCCESS")),this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(z.KK),t.Y36(z.H8),t.Y36(H.V6),t.Y36(p.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-add-required-attributes"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"selection","definitions","disableRouting","filterValue"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,i1,1,0,"mat-spinner",1),t.YNc(5,r1,3,5,"div",2),t.YNc(6,a1,7,7,"div",3),t.qZA()),2&e&&(t.Tol(i.theme),t.xp6(2),t.Oqu(t.lcZ(3,7,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.TITLE")),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[R.uh,_.O5,tt.$g,R.xY,je.L,wt,R.H8,ot.lW],pipes:[p.X$],styles:[""]}),n})();function o1(n,r){1&n&&t._UZ(0,"mat-spinner",6)}function l1(n,r){1&n&&t._UZ(0,"th",15)}function c1(n,r){if(1&n&&(t.TgZ(0,"td",16),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.friendlyName)}}function u1(n,r){1&n&&t._UZ(0,"tr",17)}function h1(n,r){1&n&&t._UZ(0,"tr",18)}function d1(n,r){if(1&n&&(t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,l1,1,0,"th",11),t.YNc(10,c1,2,1,"td",12),t.BQk(),t.YNc(11,u1,1,0,"tr",13),t.YNc(12,h1,1,0,"tr",14),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,5,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.DESCRIPTION")),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.ASK")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let f1=(()=>{class n{constructor(e,i,a,s,f){this.dialogRef=e,this.data=i,this.serviceManager=a,this.notificator=s,this.translate=f,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.serviceId=this.data.serviceId,this.dataSource=new Z.by(this.data.attrDefinitions)}onConfirm(){this.loading=!0;const e=this.dataSource.data.map(i=>i.id);this.serviceManager.removeRequiredAttributes(this.serviceId,e).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.SUCCESS")),this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(z.KK),t.Y36(H.V6),t.Y36(p.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-remove-required-attributes"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,o1,1,0,"mat-spinner",1),t.YNc(5,d1,13,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return i.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return i.onConfirm()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,9,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.TITLE")),t.xp6(2),t.Tol(i.theme),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.CANCEL")," "),t.xp6(2),t.Q6J("disabled",i.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.REMOVE")," "))},directives:[R.uh,_.O5,tt.$g,R.xY,Z.BZ,Z.w1,Z.fO,Z.ge,Z.Dz,Z.ev,Z.as,Z.XQ,Z.nj,Z.Gk,R.H8,ot.lW],pipes:[p.X$],styles:[""]}),n})();function p1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAdd()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.ADD")," "))}function m1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onRemove()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.REMOVE")," ")}}function g1(n,r){1&n&&t._UZ(0,"mat-spinner",9)}function _1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"app-attr-def-list",10),t.NdJ("refreshEvent",function(){return t.CHM(e),t.oxw().refreshTable()}),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("tableId",e.tableId)("definitions",e.attrDefinitions)("selection",e.selection)("filterValue",e.filterValue)("disableRouting",!e.authResolver.isPerunAdmin())}}let v1=(()=>{class n{constructor(e,i,a,s){this.attributeManager=e,this.dialog=i,this.authResolver=a,this.entityStorageService=s,this.loading=!1,this.filterValue="",this.selection=new P.Ov(!0,[]),this.attrDefinitions=[],this.tableId=gn.JO}ngOnInit(){this.loading=!0,this.service=this.entityStorageService.getEntity(),this.refreshTable()}refreshTable(){this.loading=!0,this.attributeManager.getRequiredAttributesDefinition(this.service.id).subscribe(e=>{this.selection.clear(),this.attrDefinitions=e,this.loading=!1})}onAdd(){const e=(0,de.kZ)();e.width="950px",e.data={serviceId:this.service.id,theme:"service-theme"},this.dialog.open(s1,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}onRemove(){const e=(0,de.kZ)();e.width="650px",e.data={serviceId:this.service.id,attrDefinitions:this.selection.selected,theme:"service-theme"},this.dialog.open(f1,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.H8),t.Y36(R.uw),t.Y36(H.x4),t.Y36(H.fb))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-service-required-attributes"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","definitions","selection","filterValue","disableRouting","refreshEvent",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","definitions","selection","filterValue","disableRouting","refreshEvent"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.YNc(5,p1,3,3,"button",2),t.YNc(6,m1,3,4,"button",3),t.TgZ(7,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(8,g1,1,0,"mat-spinner",5),t.YNc(9,_1,1,5,"app-attr-def-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,6,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.TITLE")),t.xp6(3),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("placeholder","SERVICE_DETAIL.REQUIRED_ATTRIBUTES.FILTER"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,_.O5,ot.lW,je.L,tt.$g,wt],pipes:[p.X$],styles:[""]}),n})();var x1=o(46597),y1=o(89466),T1=o(70242);function b1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onRemove()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.REMOVE")," ")}}function C1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAllow()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.ALLOW")," ")}}function w1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onBlock()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.BLOCK")," ")}}function A1(n,r){1&n&&t._UZ(0,"mat-spinner",9)}const E1=function(){return["select","destinationId","facility","destination","type","status","propagationType"]};function S1(n,r){if(1&n&&t._UZ(0,"app-perun-web-apps-destination-list",10),2&n){const e=t.oxw();t.Q6J("destinations",e.destinations)("selection",e.selection)("tableId",e.tableId)("displayedColumns",t.DdM(5,E1))("filterValue",e.filterValue)}}let D1=(()=>{class n{constructor(e,i,a,s,f,b){this.serviceManager=e,this.notificator=i,this.translate=a,this.dialog=s,this.authResolver=f,this.entityStorageService=b,this.loading=!1,this.filterValue="",this.destinations=[],this.selection=new P.Ov(!0,[]),this.tableId=gn.Cf}ngOnInit(){this.loading=!0,this.service=this.entityStorageService.getEntity(),this.refreshTable()}refreshTable(){this.loading=!0,this.serviceManager.getAllRichDestinationsForService(this.service.id).subscribe(e=>{this.selection.clear(),this.filterValue="",this.destinations=e,this.loading=!1})}blockServiceOnDestinations(e){if(0===e.length)return this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.DESTINATIONS.BLOCK_SUCCESS")),void this.refreshTable();const i=e.pop();this.serviceManager.blockServiceOnDestination(this.service.id,i.id).subscribe(()=>{this.blockServiceOnDestinations(e)},()=>this.loading=!1)}onBlock(){this.loading=!0,this.blockServiceOnDestinations(this.selection.selected)}allowServiceOnDestinations(e){if(0===e.length)return this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.DESTINATIONS.ALLOW_SUCCESS")),void this.refreshTable();const i=e.pop();this.serviceManager.unblockServiceOnDestinationById(this.service.id,i.id).subscribe(()=>{this.allowServiceOnDestinations(e)},()=>this.loading=!1)}onAllow(){this.loading=!0,this.allowServiceOnDestinations(this.selection.selected)}onRemove(){const e=(0,de.kZ)();e.width="500px",e.data={destinations:this.selection.selected,theme:"admin-theme"},this.dialog.open(y1.u,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.KK),t.Y36(H.V6),t.Y36(p.sK),t.Y36(R.uw),t.Y36(H.x4),t.Y36(H.fb))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-service-destinations"]],decls:11,vars:9,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"destinations","selection","tableId","displayedColumns","filterValue",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"destinations","selection","tableId","displayedColumns","filterValue"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.YNc(5,b1,3,4,"button",2),t.YNc(6,C1,3,4,"button",3),t.YNc(7,w1,3,4,"button",2),t.TgZ(8,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(9,A1,1,0,"mat-spinner",5),t.YNc(10,S1,1,6,"app-perun-web-apps-destination-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,7,"SERVICE_DETAIL.DESTINATIONS.TITLE")),t.xp6(3),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("placeholder","SERVICE_DETAIL.DESTINATIONS.FILTER"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,_.O5,ot.lW,je.L,tt.$g,T1.q],pipes:[p.X$],styles:[""]}),n})();function L1(n,r){1&n&&t._UZ(0,"mat-spinner",4)}function k1(n,r){1&n&&t._UZ(0,"th",13)}function I1(n,r){if(1&n&&(t.TgZ(0,"td",14),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.name)}}function M1(n,r){1&n&&t._UZ(0,"tr",15)}function O1(n,r){1&n&&t._UZ(0,"tr",16)}function N1(n,r){if(1&n&&(t.TgZ(0,"div",5),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",6),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",7),t.ynx(8,8),t.YNc(9,k1,1,0,"th",9),t.YNc(10,I1,2,1,"td",10),t.BQk(),t.YNc(11,M1,1,0,"tr",11),t.YNc(12,O1,1,0,"tr",12),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,"DIALOGS.DELETE_OWNER.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.DELETE_OWNER.ASK")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}function F1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",17),t.TgZ(1,"button",18),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"button",19),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSubmit()}),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,3,"DIALOGS.DELETE_OWNER.CANCEL")," "),t.xp6(2),t.Q6J("disabled",e.loading),t.xp6(1),t.hij(" ",t.lcZ(6,5,"DIALOGS.DELETE_OWNER.DELETE")," ")}}let P1=(()=>{class n{constructor(e,i,a,s,f){this.dialogRef=e,this.data=i,this.notificator=a,this.translate=s,this.ownersManagerService=f,this.displayedColumns=["name"],this.owners=[]}ngOnInit(){this.dataSource=new Z.by(this.data),this.owners=this.data}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.owners.length?this.ownersManagerService.deleteOwner(this.owners.pop().id).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):this.translate.get("DIALOGS.DELETE_OWNER.SUCCESS").subscribe(e=>{this.loading=!1,this.notificator.showSuccess(e),this.dialogRef.close(!0)})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(H.V6),t.Y36(p.sK),t.Y36(z.aC))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-delete-owner-dialog"]],decls:6,vars:6,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,L1,1,0,"mat-spinner",1),t.YNc(4,N1,13,9,"div",2),t.YNc(5,F1,7,7,"div",3)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,4,"DIALOGS.DELETE_OWNER.TITLE")),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[R.uh,_.O5,tt.$g,R.xY,Z.BZ,Z.w1,Z.fO,Z.ge,Z.Dz,Z.ev,Z.as,Z.XQ,Z.nj,Z.Gk,R.H8,ot.lW],pipes:[p.X$],styles:[""]}),n})();function R1(n,r){1&n&&t._UZ(0,"mat-spinner",4)}function Z1(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_OWNER.FILL_CONTACT")," "))}function B1(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_OWNER.CONTACT_FORMAT")," "))}function U1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",5),t.TgZ(2,"mat-form-field"),t._UZ(3,"input",6),t.ALo(4,"translate"),t.TgZ(5,"mat-error"),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.qZA(),t.TgZ(8,"mat-form-field"),t._UZ(9,"input",6),t.ALo(10,"translate"),t.YNc(11,Z1,3,3,"mat-error",3),t.YNc(12,B1,3,3,"mat-error",3),t.qZA(),t.TgZ(13,"mat-form-field"),t.TgZ(14,"mat-select",7),t.NdJ("valueChange",function(a){return t.CHM(e),t.oxw().type=a}),t.TgZ(15,"mat-option",8),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.TgZ(18,"mat-option",9),t._uU(19),t.ALo(20,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(21,"div",10),t.TgZ(22,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(23),t.ALo(24,"translate"),t.qZA(),t.TgZ(25,"div",12),t.ALo(26,"translate"),t.TgZ(27,"button",13),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSubmit()}),t._uU(28),t.ALo(29,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(3),t.s9C("placeholder",t.lcZ(4,15,"DIALOGS.ADD_OWNER.NAME")),t.Q6J("formControl",e.nameCtrl),t.xp6(3),t.hij(" ",t.lcZ(7,17,"DIALOGS.ADD_OWNER.FILL_NAME")," "),t.xp6(3),t.s9C("placeholder",t.lcZ(10,19,"DIALOGS.ADD_OWNER.CONTACT")),t.Q6J("formControl",e.contactCtrl),t.xp6(2),t.Q6J("ngIf",e.contactCtrl.hasError("required")),t.xp6(1),t.Q6J("ngIf",e.contactCtrl.invalid&&!e.contactCtrl.hasError("required")),t.xp6(2),t.Q6J("value",e.type),t.xp6(2),t.Oqu(t.lcZ(17,21,"DIALOGS.ADD_OWNER.TYPE1")),t.xp6(3),t.Oqu(t.lcZ(20,23,"DIALOGS.ADD_OWNER.TYPE2")),t.xp6(4),t.hij(" ",t.lcZ(24,25,"DIALOGS.ADD_OWNER.CANCEL")," "),t.xp6(2),t.s9C("matTooltip",t.lcZ(26,27,"DIALOGS.ADD_OWNER.TOOLTIP")),t.Q6J("matTooltipDisabled",e.nameCtrl.valid&&e.contactCtrl.valid),t.xp6(2),t.Q6J("disabled",e.nameCtrl.invalid||e.contactCtrl.invalid),t.xp6(1),t.hij(" ",t.lcZ(29,29,"DIALOGS.ADD_OWNER.CREATE")," ")}}let G1=(()=>{class n{constructor(e,i,a,s){this.dialogRef=e,this.notificator=i,this.ownersManagerService=a,this.translate=s,this.type="1",s.get("DIALOGS.ADD_OWNER.SUCCESS").subscribe(f=>this.successMessage=f)}ngOnInit(){this.nameCtrl=new ft.NI(null,[ft.kI.required,ft.kI.pattern("^[\\w.-]+( [\\w.-]+)*$")]),this.contactCtrl=new ft.NI(null,[ft.kI.required,ft.kI.pattern(de.B2)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.ownersManagerService.createOwner({name:this.nameCtrl.value,contact:this.contactCtrl.value,ownerType:Number(this.type)}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(H.V6),t.Y36(z.aC),t.Y36(p.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-add-owner-dialog"]],decls:6,vars:5,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","formControl"],[3,"value","valueChange"],["value","1"],["value","0"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"h1",1),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,R1,1,0,"mat-spinner",2),t.YNc(5,U1,30,31,"div",3),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,3,"DIALOGS.ADD_OWNER.TITLE")),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[R.uh,_.O5,tt.$g,R.xY,G.KE,M.Nt,ft.Fj,ft.Q7,ft.JJ,ft.oH,G.TO,Zt.gD,Yt.ey,R.H8,ot.lW,Ut.gM],pipes:[p.X$],styles:[""]}),n})();var V1=o(23256);function z1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().addOwner()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.OWNERS.ADD")," "))}function Y1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().removeOwner()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",!e.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"ADMIN.OWNERS.DELETE")," ")}}function H1(n,r){1&n&&t._UZ(0,"mat-spinner",10)}function W1(n,r){if(1&n&&t._UZ(0,"perun-web-apps-owners-list",11),2&n){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("owners",e.owners)("selection",e.selected)}}let X1=(()=>{class n{constructor(e,i,a){this.ownersManagerService=e,this.dialog=i,this.guiAuthResolver=a,this.owners=[],this.selected=new P.Ov(!0,[]),this.filterValue="",this.tableId=gn.v1}ngOnInit(){this.setAuth(),this.refreshTable()}setAuth(){this.removeAuth=this.guiAuthResolver.isAuthorized("deleteOwner_Owner_policy",[]),this.addAuth=this.guiAuthResolver.isAuthorized("createOwner_Owner_policy",[])}refreshTable(){this.loading=!0,this.ownersManagerService.getAllOwners().subscribe(e=>{this.owners=e,this.selected.clear(),this.loading=!1})}applyFilter(e){this.filterValue=e}addOwner(){const e=(0,de.kZ)();e.width="400px",e.data={},this.dialog.open(G1,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}removeOwner(){const e=(0,de.kZ)();e.width="400px",e.data=this.selected.selected,this.dialog.open(P1,e).afterClosed().subscribe(a=>{a&&(this.selected.clear(),this.refreshTable())})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.aC),t.Y36(R.uw),t.Y36(H.x4))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-owners"]],decls:10,vars:8,consts:[[1,"user-theme"],[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","owners","selection",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","owners","selection"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"h1",1),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",2),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.YNc(5,z1,3,3,"button",3),t.YNc(6,Y1,3,4,"button",4),t.TgZ(7,"perun-web-apps-immediate-filter",5),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(8,H1,1,0,"mat-spinner",6),t.YNc(9,W1,1,4,"perun-web-apps-owners-list",7),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,6,"ADMIN.OWNERS.TITLE")),t.xp6(3),t.Q6J("ngIf",i.addAuth),t.xp6(1),t.Q6J("ngIf",i.removeAuth),t.xp6(1),t.Q6J("placeholder","ADMIN.OWNERS.FILTER"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,_.O5,ot.lW,je.L,tt.$g,V1.Q],pipes:[p.X$],styles:[""]}),n})();var $1=o(74010);function J1(n,r){1&n&&t._UZ(0,"mat-spinner",5)}function Q1(n,r){if(1&n&&t._UZ(0,"perun-web-apps-facilities-list",6),2&n){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("facilities",e.facilities)("displayedColumns",e.displayedColumns)}}let j1=(()=>{class n{constructor(e,i){this.facilityManager=e,this.route=i,this.facilities=[],this.filterValue="",this.tableId=gn.zW,this.displayedColumns=["id","name","description"]}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(e=>{this.userId=e.userId,this.refreshTable()})}refreshTable(){this.loading=!0,this.facilityManager.getAssignedFacilitiesByUser(this.userId).subscribe(e=>{this.facilities=e.map(i=>({facility:i})),this.loading=!1})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.IQ),t.Y36(m.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-user-facilities"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","facilities","displayedColumns",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","facilities","displayedColumns"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(6,J1,1,0,"mat-spinner",3),t.YNc(7,Q1,1,4,"perun-web-apps-facilities-list",4),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,4,"USER_DETAIL.FACILITIES.TITLE")),t.xp6(3),t.Q6J("placeholder","USER_DETAIL.FACILITIES.FILTER_PLACEHOLDER"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,je.L,_.O5,tt.$g,$1.X],pipes:[p.X$],styles:[""]}),n})();var q1=o(62707),Sr=o(53251),K1=o(60526),tT=o(24179),eT=o(12651),nT=o(19191);function iT(n,r){1&n&&t._UZ(0,"mat-spinner",6)}function rT(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"perun-web-apps-vo-search-select",7),t.NdJ("voSelected",function(a){return t.CHM(e),t.oxw().loadMember(a)}),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("vos",e.vos)("vo",e.vos[0])}}function aT(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.hij(" ",t.lcZ(1,1,"USER_DETAIL.ACCOUNTS.STATUS")," ")}function sT(n,r){1&n&&t._UZ(0,"mat-spinner",6)}const oT=function(){return["id","recent","name","description","groupStatus","expiration"]};function lT(n,r){if(1&n&&t._UZ(0,"perun-web-apps-groups-list",16),2&n){const e=t.oxw(4);t.Q6J("groups",e.groups)("displayedColumns",t.DdM(2,oT))}}const cT=function(n,r){return["/organizations",n,"members",r]};function uT(n,r){if(1&n&&(t.TgZ(0,"div"),t.TgZ(1,"div",10),t.TgZ(2,"span",11),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"a",12),t._uU(6),t.qZA(),t.qZA(),t._UZ(7,"app-member-overview-membership",13),t.TgZ(8,"p",14),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.YNc(11,lT,1,3,"perun-web-apps-groups-list",15),t.qZA()),2&n){const e=t.oxw(3);t.xp6(3),t.hij("",t.lcZ(4,7,"USER_DETAIL.ACCOUNTS.MEMBER"),":"),t.xp6(2),t.Q6J("routerLink",t.WLB(11,cT,e.selectedVo.id,e.member.id)),t.xp6(1),t.hij("",e.member.id," "),t.xp6(1),t.Q6J("member",e.member)("vo",e.selectedVo),t.xp6(2),t.Oqu(t.lcZ(10,9,"USER_DETAIL.ACCOUNTS.GROUPS")),t.xp6(2),t.Q6J("ngIf",!e.loading)}}function hT(n,r){if(1&n&&(t.YNc(0,sT,1,0,"mat-spinner",1),t.YNc(1,uT,12,14,"div",4)),2&n){const e=t.oxw(2);t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading)}}function dT(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.hij(" ",t.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_ATT")," ")}function fT(n,r){1&n&&t._UZ(0,"mat-spinner")}function pT(n,r){if(1&n&&t._UZ(0,"app-one-entity-attribute-page",18),2&n){const e=t.oxw(3);t.Q6J("entity","member")("entityId",e.member.id)}}function mT(n,r){if(1&n&&(t.YNc(0,fT,1,0,"mat-spinner",4),t.YNc(1,pT,1,2,"app-one-entity-attribute-page",17)),2&n){const e=t.oxw(2);t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading)}}function gT(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.hij(" ",t.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_GROUP_ATT")," ")}function _T(n,r){1&n&&t._UZ(0,"mat-spinner")}function vT(n,r){if(1&n&&t._UZ(0,"app-two-entity-attribute-page",20),2&n){const e=t.oxw(3);t.Q6J("firstEntity","member")("firstEntityId",e.member.id)("secondEntity","group")}}function xT(n,r){if(1&n&&(t.YNc(0,_T,1,0,"mat-spinner",4),t.YNc(1,vT,1,3,"app-two-entity-attribute-page",19)),2&n){const e=t.oxw(2);t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading)}}function yT(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.hij(" ",t.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_RESOURCE_ATT")," ")}function TT(n,r){1&n&&t._UZ(0,"mat-spinner")}function bT(n,r){if(1&n&&t._UZ(0,"app-two-entity-attribute-page",20),2&n){const e=t.oxw(3);t.Q6J("firstEntity","member")("firstEntityId",e.member.id)("secondEntity","resource")}}function CT(n,r){if(1&n&&(t.YNc(0,TT,1,0,"mat-spinner",4),t.YNc(1,bT,1,3,"app-two-entity-attribute-page",19)),2&n){const e=t.oxw(2);t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading)}}function wT(n,r){1&n&&(t.TgZ(0,"mat-tab-group"),t.TgZ(1,"mat-tab"),t.YNc(2,aT,2,3,"ng-template",8),t.YNc(3,hT,2,2,"ng-template",9),t.qZA(),t.TgZ(4,"mat-tab"),t.YNc(5,dT,2,3,"ng-template",8),t.YNc(6,mT,2,2,"ng-template",9),t.qZA(),t.TgZ(7,"mat-tab"),t.YNc(8,gT,2,3,"ng-template",8),t.YNc(9,xT,2,2,"ng-template",9),t.qZA(),t.TgZ(10,"mat-tab"),t.YNc(11,yT,2,3,"ng-template",8),t.YNc(12,CT,2,2,"ng-template",9),t.qZA(),t.qZA())}function AT(n,r){1&n&&(t.TgZ(0,"app-alert",21),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"USER_DETAIL.ACCOUNTS.NO_VOS")))}let ET=(()=>{class n{constructor(e,i,a,s){this.route=e,this.usersService=i,this.membersService=a,this.groupService=s,this.initLoading=!1,this.loading=!1,this.vos=[],this.selectedVo=null,this.member=null,this.groups=[]}ngOnInit(){this.initLoading=!0,this.route.parent.params.subscribe(e=>{this.userId=e.userId,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(i=>{this.vos=i,this.initLoading=!1},()=>this.initLoading=!1)})}loadMember(e){this.loading=!0,this.selectedVo=e,this.membersService.getMemberByUser(this.selectedVo.id,this.userId).subscribe(i=>{this.member=i,this.groupService.getMemberRichGroupsWithAttributesByNames(this.member.id,["urn:perun:member_group:attribute-def:virt:groupStatus"]).subscribe(a=>{this.groups=a,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(m.gz),t.Y36(z.Fv),t.Y36(z.uq),t.Y36(z.ff))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-perun-web-apps-user-accounts"]],decls:8,vars:7,consts:[[1,"page-title"],["class","ml-auto mr-auto",4,"ngIf"],[1,"d-flex"],["class","w-50",3,"vos","vo","voSelected",4,"ngIf"],[4,"ngIf"],["alert_type","warn",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"w-50",3,"vos","vo","voSelected"],["matTabLabel",""],["matTabContent",""],[1,"mt-4","mb-4"],[1,"subtitle","mr-2"],["queryParamsHandling","merge",1,"member-link",3,"routerLink"],[3,"member","vo"],[1,"mt-4","subtitle"],[3,"groups","displayedColumns",4,"ngIf"],[3,"groups","displayedColumns"],[3,"entity","entityId",4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity",4,"ngIf"],[3,"firstEntity","firstEntityId","secondEntity"],["alert_type","warn"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,iT,1,0,"mat-spinner",1),t.TgZ(4,"div",2),t.YNc(5,rT,1,2,"perun-web-apps-vo-search-select",3),t.qZA(),t.YNc(6,wT,13,0,"mat-tab-group",4),t.YNc(7,AT,3,3,"app-alert",5)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,5,"USER_DETAIL.ACCOUNTS.TITLE")),t.xp6(2),t.Q6J("ngIf",i.initLoading),t.xp6(2),t.Q6J("ngIf",!(i.initLoading||0===i.vos.length)),t.xp6(1),t.Q6J("ngIf",!(i.initLoading||0===i.vos.length)),t.xp6(1),t.Q6J("ngIf",!i.initLoading&&0===i.vos.length))},directives:[_.O5,tt.$g,q1.M,Sr.SP,Sr.uX,Sr.uD,Sr.Vc,m.yS,K1.b,tT.W,eT.t,nT.Y,rt.w],pipes:[p.X$],styles:[".subtitle[_ngcontent-%COMP%]{font-size:1.2rem}"]}),n})(),Tu=(()=>{class n{transform(e){if(e)return e.split(".").pop()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"parseEventName",type:n,pure:!0}),n})();function ST(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.hij(" ",t.lcZ(1,1,"DIALOGS.AUDIT_MESSAGE_DETAIL.OBJECTS")," ")}function DT(n,r){if(1&n&&t._UZ(0,"pre",9),2&n){const e=t.oxw();t.Q6J("innerHTML",e.syntaxHighlight(e.eventData),t.oJD)}}function LT(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.hij(" ",t.lcZ(1,1,"DIALOGS.AUDIT_MESSAGE_DETAIL.MESSAGE")," ")}function kT(n,r){if(1&n&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Oqu(e.message)}}let IT=(()=>{class n{constructor(e,i,a){this.dialogRef=e,this.data=i,this.clipboard=a,this.tabIndex=0,this.eventData={}}ngOnInit(){const e=this.data.message.event;this.actor=this.data.message.actor,this.createdAt=this.data.message.createdAt,e.message&&(this.message=e.message,delete e.message),e.name&&(this.title=e.name,delete e.name),this.eventData=e}tabChanged(e){this.tabIndex=e.index}copyObjects(){this.clipboard.copy(JSON.stringify(this.eventData,null,2))}copyMessage(){this.clipboard.copy(this.message)}syntaxHighlight(e){return"string"!=typeof e&&(e=JSON.stringify(e,void 0,2)),(e=e.replace(/&/g,"&").replace(//g,">")).replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)/g,function(i){let a="number";return/^"/.test(i)?a=/:$/.test(i)?"key":"string":/true|false/.test(i)?a="boolean":/null/.test(i)&&(a="null"),''+i+""})}onClose(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(Ue.TU))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-audit-message-detail-dialog"]],decls:26,vars:19,consts:[[1,"admin-theme"],["mat-dialog-title",""],["mat-dialog-content",""],[3,"selectedTabChange"],["matTabLabel",""],["matTabContent",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-button","",3,"click"],[3,"innerHTML"]],template:function(e,i){if(1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"h1",1),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"parseEventName"),t.qZA(),t.TgZ(5,"div",2),t.TgZ(6,"div"),t._uU(7),t.ALo(8,"translate"),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"mat-tab-group",3),t.NdJ("selectedTabChange",function(s){return i.tabChanged(s)}),t.TgZ(11,"mat-tab"),t.YNc(12,ST,2,3,"ng-template",4),t.YNc(13,DT,1,1,"ng-template",5),t.qZA(),t.TgZ(14,"mat-tab"),t.YNc(15,LT,2,3,"ng-template",4),t.YNc(16,kT,2,1,"ng-template",5),t.qZA(),t.qZA(),t.qZA(),t.TgZ(17,"div",6),t.TgZ(18,"button",7),t.NdJ("click",function(){return i.onClose()}),t._uU(19),t.ALo(20,"translate"),t.qZA(),t.TgZ(21,"button",8),t.NdJ("click",function(){return 0===i.tabIndex?i.copyObjects():i.copyMessage()}),t._uU(22),t.ALo(23,"translate"),t.TgZ(24,"mat-icon"),t._uU(25,"content_copy"),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e){let a;t.xp6(2),t.hij(" ",t.lcZ(3,7,null!==(a=t.lcZ(4,9,i.title))&&void 0!==a?a:"DIALOGS.AUDIT_MESSAGE_DETAIL.TITLE")," "),t.xp6(5),t.HOy(" ",t.lcZ(8,11,"DIALOGS.AUDIT_MESSAGE_DETAIL.ACTOR"),": ",i.actor,", ",t.lcZ(9,13,"DIALOGS.AUDIT_MESSAGE_DETAIL.CREATED_AT"),": ",i.createdAt," "),t.xp6(12),t.hij(" ",t.lcZ(20,15,"DIALOGS.AUDIT_MESSAGE_DETAIL.CLOSE")," "),t.xp6(3),t.hij(" ",t.lcZ(23,17,"DIALOGS.AUDIT_MESSAGE_DETAIL.COPY")," ")}},directives:[R.uh,R.xY,Sr.SP,Sr.uX,Sr.uD,Sr.Vc,R.H8,ot.lW,g.Hw],pipes:[p.X$,Tu],styles:[".key{color:brown}.string{color:green}.number{color:#ff8c00}.boolean{color:#00f}.null{color:#f0f}\n"],encapsulation:2}),n})();var MT=o(86087),OT=o(36787),NT=o(62383);function FT(n,r){1&n&&(t.TgZ(0,"div",16),t._UZ(1,"mat-spinner",17),t.qZA())}function PT(n,r){1&n&&(t.TgZ(0,"th",18),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"AUDIT_MESSAGES_LIST.ID")," "))}function RT(n,r){if(1&n&&(t.TgZ(0,"td",19),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.hij(" ",e.id," ")}}function ZT(n,r){1&n&&(t.TgZ(0,"th",18),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"AUDIT_MESSAGES_LIST.TIMESTAMP")," "))}function BT(n,r){if(1&n&&(t.TgZ(0,"td",19),t._uU(1),t.ALo(2,"parseDate"),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.createdAt,!0)," ")}}function UT(n,r){1&n&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"AUDIT_MESSAGES_LIST.EVENT_NAME")))}function GT(n,r){if(1&n&&(t.TgZ(0,"td",19),t._uU(1),t.ALo(2,"parseEventName"),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,e.event.name)," ")}}function VT(n,r){1&n&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"AUDIT_MESSAGES_LIST.ACTOR")))}function zT(n,r){if(1&n&&(t.TgZ(0,"td",19),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.hij(" ",e.actor," ")}}function YT(n,r){1&n&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"AUDIT_MESSAGES_LIST.MESSAGE")))}function HT(n,r){if(1&n&&(t.TgZ(0,"td",19),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.hij(" ",e.event.message," ")}}function WT(n,r){1&n&&t._UZ(0,"th",20)}function XT(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"td",19),t.TgZ(1,"button",21),t.NdJ("click",function(){const s=t.CHM(e).$implicit;return t.oxw().viewDetails(s)}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.qZA()}2&n&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"AUDIT_MESSAGES_LIST.VIEW_DETAIL")," "))}function $T(n,r){1&n&&t._UZ(0,"tr",22)}function JT(n,r){1&n&&t._UZ(0,"tr",23)}function QT(n,r){1&n&&(t.TgZ(0,"app-alert",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_AUDIT_MESSAGES"),"\n"))}let jT=(()=>{class n{constructor(e,i,a){this.dialog=e,this.dynamicPaginatingService=i,this.tableConfigService=a,this.pageSizeOptions=de.f7,this.displayedColumns=["id","timestamp","name","actor","event.message","detail"]}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,OT.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,xe.b)(()=>this.loadAuditMessagesPage())).subscribe()}ngOnInit(){this.dataSource=new H.Hy(this.dynamicPaginatingService,null),this.dataSource.loadAuditMessages(this.tableConfigService.getTablePageSize(this.tableId),0,"DESCENDING")}ngOnChanges(){this.dataSource&&(this.child.paginator.pageIndex=0,this.loadAuditMessagesPage())}loadAuditMessagesPage(){this.dataSource.loadAuditMessages(this.child.paginator.pageSize,this.child.paginator.pageIndex,"asc"===this.sort.direction?"ASCENDING":"DESCENDING")}viewDetails(e){const i=(0,de.kZ)(),a=JSON.parse(JSON.stringify(e));i.minWidth="700px",i.maxWidth="1000px",i.data={message:a},this.dialog.open(IT,i)}exportData(e){(0,de.O6)((0,de.Xn)(this.dataSource.getData(),this.displayedColumns.filter(i=>"detail"!==i),this.getExportDataForColumn,this),e)}getExportDataForColumn(e,i){switch(i){case"id":return e.id.toString();case"timestamp":return(0,_.p6)(e.createdAt,"d.M.y H.mm.ss","en");case"name":return e.event.name.split(".").pop();case"actor":return e.actor;default:return""}}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.uw),t.Y36(H.ly),t.Y36(gn.dB))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-audit-messages-list"]],viewQuery:function(e,i){if(1&e&&(t.Gf(de.l9,7),t.Gf(dn.YE,5)),2&e){let a;t.iGM(a=t.CRH())&&(i.child=a.first),t.iGM(a=t.CRH())&&(i.sort=a.first)}},inputs:{tableId:"tableId",refresh:"refresh",displayedColumns:"displayedColumns",searchString:"searchString"},features:[t._Bn([{provide:MT.ye,useClass:H.Be}]),t.TTD],decls:28,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","tableId","exportData"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","id","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","timestamp"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","actor"],["matColumnDef","event.message"],["matColumnDef","detail"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["color","accent","mat-flat-button","",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.ALo(1,"async"),t.TgZ(2,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(s){return i.exportData(s)}),t.YNc(3,FT,2,0,"div",2),t.ALo(4,"async"),t.TgZ(5,"table",3),t.ynx(6,4),t.YNc(7,PT,3,3,"th",5),t.YNc(8,RT,2,1,"td",6),t.BQk(),t.ynx(9,7),t.YNc(10,ZT,3,3,"th",5),t.YNc(11,BT,3,4,"td",6),t.BQk(),t.ynx(12,8),t.YNc(13,UT,3,3,"th",9),t.YNc(14,GT,3,3,"td",6),t.BQk(),t.ynx(15,10),t.YNc(16,VT,3,3,"th",9),t.YNc(17,zT,2,1,"td",6),t.BQk(),t.ynx(18,11),t.YNc(19,YT,3,3,"th",9),t.YNc(20,HT,2,1,"td",6),t.BQk(),t.ynx(21,12),t.YNc(22,WT,1,0,"th",9),t.YNc(23,XT,4,3,"td",6),t.BQk(),t.YNc(24,$T,1,0,"tr",13),t.YNc(25,JT,1,0,"tr",14),t.qZA(),t.qZA(),t.qZA(),t.YNc(26,QT,3,3,"app-alert",15),t.ALo(27,"async")),2&e&&(t.Q6J("hidden",0===i.dataSource.allObjectCount&&!1===t.lcZ(1,9,i.dataSource.loading$)),t.xp6(2),t.Q6J("dataLength",i.dataSource.allObjectCount)("pageSizeOptions",i.pageSizeOptions)("tableId",i.tableId),t.xp6(1),t.Q6J("ngIf",t.lcZ(4,11,i.dataSource.loading$)),t.xp6(2),t.Q6J("dataSource",i.dataSource),t.xp6(19),t.Q6J("matHeaderRowDef",i.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",i.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===i.dataSource.allObjectCount&&!1===t.lcZ(27,13,i.dataSource.loading$)))},directives:[vn.l,_.O5,tt.$g,Z.BZ,dn.YE,Z.w1,Z.fO,Z.ge,dn.nU,Z.Dz,Z.ev,ot.lW,Z.as,Z.XQ,Z.nj,Z.Gk,rt.w],pipes:[_.Ov,p.X$,NT.M,Tu],styles:[""]}),n})();const KT=[{path:"",component:A,children:[{path:"",component:N,data:{animation:"AdminOverviewPage"}},{path:"attributes",component:le,data:{animation:"AdminAttributesPage"}},{path:"users",component:jx.t,data:{animation:"AdminUsersPage"}},{path:"owners",component:X1,data:{animation:"AdminOwnersPage"}},{path:"services",component:Py,data:{animation:"AdminServicesPage"}},{path:"audit_log",component:(()=>{class n{constructor(){this.tableId=gn.yW,this.refresh=!1}refreshTable(){this.refresh=!this.refresh}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-audit-log"]],decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"refresh","tableId"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t._UZ(4,"app-audit-messages-list",2)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,3,"ADMIN.AUDIT_LOG.TITLE")),t.xp6(3),t.Q6J("refresh",i.refresh)("tableId",i.tableId))},directives:[an.t,jT],pipes:[p.X$],styles:[""]}),n})(),data:{animation:"AdminAuditLogPage"}},{path:"visualizer",component:ke,children:[{path:"",component:ze,data:{animation:"VisualizerOverviewPage"}},{path:"attrDependencies",component:nn,data:{animation:"VisualizerAttrModulesPage"}},{path:"userDestinationRelationship",component:Wt,data:{animation:"UserDestinationRelationshipPage"}},{path:"userDestinationRelationship/graph",component:Qx,data:{animation:"UserDestinationGraphPage"}}]},{path:"ext_sources",component:my,data:{animation:"AdminExtSourcesPage"}}]},{path:"users/:userId",component:ay,children:[{path:"",component:sy.Z,data:{animation:"UserOverviewPage"}},{path:"accounts",component:ET,data:{animation:"UserAccountsPage"}},{path:"attributes",component:cy.u,data:{animation:"UserAttributesPage"}},{path:"organizations",component:oy.j,data:{animation:"UserOrganizationsPage",showPrincipal:!1}},{path:"groups",component:ly.u,data:{animation:"UserGroupsPage",showPrincipal:!1}},{path:"identities",component:Sy,data:{animation:"UserIdentitiesPage"}},{path:"facilities",component:j1,data:{animation:"UserFacilitiesPage"}},{path:"resources",component:Gy,data:{animation:"UserRoles"}},{path:"identities/:identityId",component:$y,data:{animation:"UserIdentityDetailPage"}},{path:"roles",component:gy.t,data:{animation:"UserRolesPage"}},{path:"service-identities",component:_y.R,data:{animation:"UserServiceIdentities"}},{path:"associated-users",component:x1.d,data:{animation:"AssociatedUsersPage"}}]},{path:"services/:serviceId",component:e1,children:[{path:"",component:n1,data:{animation:"ServiceOverviewPage"}},{path:"required-attributes",component:v1,data:{animation:"ServiceRequiredAttributesPage"}},{path:"destinations",component:D1,data:{animation:"ServiceDestinationsPage"}}]}];let tb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[m.Bz.forChild(KT)],m.Bz]}),n})();var eb=o(14264),nb=o(63189),ib=o(19516),rb=o(46142);let ab=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[nm,Bx,_.ez,tb,eb.m,nb.r,Rn.ez,ib.d4,rb.UsersModule]]}),n})()},70242:(w,k,o)=>{"use strict";o.d(k,{q:()=>ie});var u=o(84847),x=o(20449),v=o(32075),_=o(9244),m=o(36908),l=o(5e3),t=o(18750),c=o(77446),h=o(69808),g=o(25245),d=o(29772),p=o(98380),C=o(51062);function A(Ut,xt){if(1&Ut){const pt=l.EpF();l.TgZ(0,"th",21),l.TgZ(1,"mat-checkbox",22),l.NdJ("change",function(Jt){l.CHM(pt);const ge=l.oxw();return Jt?ge.masterToggle():null}),l.qZA(),l.qZA()}if(2&Ut){const pt=l.oxw();l.xp6(1),l.Q6J("aria-label",pt.checkboxLabel())("checked",pt.selection.hasValue()&&pt.isAllSelected())("indeterminate",pt.selection.hasValue()&&!pt.isAllSelected())}}function L(Ut,xt){if(1&Ut){const pt=l.EpF();l.TgZ(0,"td",23),l.TgZ(1,"mat-checkbox",24),l.NdJ("change",function(Jt){const _e=l.CHM(pt).$implicit,Te=l.oxw();return Jt?Te.selection.toggle(_e):null})("click",function(Jt){return Jt.stopPropagation()}),l.qZA(),l.qZA()}if(2&Ut){const pt=xt.$implicit,Nt=l.oxw();l.xp6(1),l.Q6J("aria-label",Nt.checkboxLabel(pt))("checked",Nt.selection.isSelected(pt))}}function N(Ut,xt){1&Ut&&(l.TgZ(0,"th",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.DESTINATION_ID")," "))}function P(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",26),l._uU(1),l.qZA()),2&Ut){const pt=xt.$implicit;l.xp6(1),l.hij(" ",pt.id," ")}}function R(Ut,xt){1&Ut&&(l.TgZ(0,"th",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.SERVICE")," "))}function Z(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",27),l._uU(1),l.qZA()),2&Ut){const pt=xt.$implicit;l.xp6(1),l.Oqu(pt.service.name)}}function H(Ut,xt){1&Ut&&l._UZ(0,"th",28)}function z(Ut,xt){1&Ut&&(l.TgZ(0,"mat-icon",30),l.ALo(1,"translate"),l._uU(2," warning "),l.qZA()),2&Ut&&l.s9C("matTooltip",l.lcZ(1,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.WARN"))}function tt(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",27),l.YNc(1,z,3,3,"mat-icon",29),l.qZA()),2&Ut){const pt=xt.$implicit,Nt=l.oxw();l.xp6(1),l.Q6J("ngIf",!Nt.services.has(pt.service.id))}}function rt(Ut,xt){1&Ut&&(l.TgZ(0,"th",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.FACILITY")," "))}function ot(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",27),l._uU(1),l.qZA()),2&Ut){const pt=xt.$implicit;l.xp6(1),l.Oqu(pt.facility.name)}}function J(Ut,xt){1&Ut&&(l.TgZ(0,"th",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.DESTINATION")," "))}function et(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",27),l._uU(1),l.qZA()),2&Ut){const pt=xt.$implicit;l.xp6(1),l.Oqu(pt.destination)}}function q(Ut,xt){1&Ut&&(l.TgZ(0,"th",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.TYPE")," "))}function at(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",27),l._uU(1),l.qZA()),2&Ut){const pt=xt.$implicit;l.xp6(1),l.Oqu(pt.type.toUpperCase())}}function Y(Ut,xt){1&Ut&&l._UZ(0,"th",28)}function K(Ut,xt){1&Ut&&(l.TgZ(0,"mat-icon",32),l.ALo(1,"translate"),l._uU(2," check_circle_outline "),l.qZA()),2&Ut&&l.s9C("matTooltip",l.lcZ(1,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.ALLOWED"))}function ut(Ut,xt){1&Ut&&(l.TgZ(0,"mat-icon",32),l.ALo(1,"translate"),l._uU(2," block "),l.qZA()),2&Ut&&l.s9C("matTooltip",l.lcZ(1,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.BLOCKED"))}function it(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",27),l.YNc(1,K,3,3,"mat-icon",31),l.YNc(2,ut,3,3,"mat-icon",31),l.qZA()),2&Ut){const pt=xt.$implicit;l.xp6(1),l.Q6J("ngIf",!pt.blocked),l.xp6(1),l.Q6J("ngIf",pt.blocked)}}function G(Ut,xt){1&Ut&&(l.TgZ(0,"th",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.PROPAGATION_TYPE")," "))}function M(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",27),l._uU(1),l.qZA()),2&Ut){const pt=xt.$implicit;l.xp6(1),l.Oqu(pt.propagationType)}}function ft(Ut,xt){1&Ut&&l._UZ(0,"tr",33)}function It(Ut,xt){1&Ut&&l._UZ(0,"tr",34)}function Zt(Ut,xt){1&Ut&&(l.TgZ(0,"app-alert",35),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Yt(Ut,xt){1&Ut&&(l.TgZ(0,"app-alert",35),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.NO_DESTINATIONS"),"\n"))}let ie=(()=>{class Ut{constructor(pt,Nt){this.authResolver=pt,this.tableCheckbox=Nt,this.destinations=[],this.selection=new x.Ov(!0,[]),this.filterValue="",this.pageSizeOptions=_.f7}set matSort(pt){this.sort=pt,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(pt=>"destinationId"!==pt)),this.dataSource=new v.by(this.destinations),this.setDataSource(),this.dataSource.filter=this.filterValue.toLowerCase()}getDataForColumn(pt,Nt){switch(Nt){case"destinationId":return pt.id.toString();case"service":return pt.service.name;case"facility":return pt.facility.name;case"destination":return pt.destination;case"type":return pt.type;case"status":return pt.blocked?"blocked":"allowed";case"propagationType":return pt.propagationType;default:return""}}exportData(pt){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),pt)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(pt,Nt)=>(0,_.Sd)(pt,Nt,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(pt,Nt)=>(0,_.pR)(pt,Nt,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(pt){return pt?`${this.selection.isSelected(pt)?"deselect":"select"} row ${pt.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return Ut.\u0275fac=function(pt){return new(pt||Ut)(l.Y36(m.x4),l.Y36(m.UA))},Ut.\u0275cmp=l.Xpm({type:Ut,selectors:[["app-perun-web-apps-destination-list"]],viewQuery:function(pt,Nt){if(1&pt&&(l.Gf(u.YE,7),l.Gf(_.l9,7)),2&pt){let Jt;l.iGM(Jt=l.CRH())&&(Nt.matSort=Jt.first),l.iGM(Jt=l.CRH())&&(Nt.child=Jt.first)}},inputs:{destinations:"destinations",selection:"selection",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",services:"services"},features:[l.TTD],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","destinationId"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","service"],["mat-cell","",4,"matCellDef"],["matColumnDef","warn"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","facility"],["matColumnDef","destination"],["matColumnDef","type"],["matColumnDef","status"],["matColumnDef","propagationType"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-cell",""],["class","warn","matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",1,"warn",3,"matTooltip"],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(pt,Nt){1&pt&&(l.TgZ(0,"div",0),l.TgZ(1,"perun-web-apps-table-wrapper",1),l.NdJ("exportData",function(ge){return Nt.exportData(ge)}),l.TgZ(2,"table",2),l.ynx(3,3),l.YNc(4,A,2,3,"th",4),l.YNc(5,L,2,2,"td",5),l.BQk(),l.ynx(6,6),l.YNc(7,N,3,3,"th",7),l.YNc(8,P,2,1,"td",8),l.BQk(),l.ynx(9,9),l.YNc(10,R,3,3,"th",7),l.YNc(11,Z,2,1,"td",10),l.BQk(),l.ynx(12,11),l.YNc(13,H,1,0,"th",12),l.YNc(14,tt,2,1,"td",10),l.BQk(),l.ynx(15,13),l.YNc(16,rt,3,3,"th",7),l.YNc(17,ot,2,1,"td",10),l.BQk(),l.ynx(18,14),l.YNc(19,J,3,3,"th",7),l.YNc(20,et,2,1,"td",10),l.BQk(),l.ynx(21,15),l.YNc(22,q,3,3,"th",7),l.YNc(23,at,2,1,"td",10),l.BQk(),l.ynx(24,16),l.YNc(25,Y,1,0,"th",12),l.YNc(26,it,3,2,"td",10),l.BQk(),l.ynx(27,17),l.YNc(28,G,3,3,"th",7),l.YNc(29,M,2,1,"td",10),l.BQk(),l.YNc(30,ft,1,0,"tr",18),l.YNc(31,It,1,0,"tr",19),l.qZA(),l.qZA(),l.qZA(),l.YNc(32,Zt,3,3,"app-alert",20),l.YNc(33,Yt,3,3,"app-alert",20)),2&pt&&(l.Q6J("hidden",0===Nt.dataSource.filteredData.length||0===Nt.destinations.length),l.xp6(1),l.Q6J("tableId",Nt.tableId)("dataLength",Nt.dataSource.filteredData.length)("pageSizeOptions",Nt.pageSizeOptions),l.xp6(1),l.Q6J("dataSource",Nt.dataSource),l.xp6(28),l.Q6J("matHeaderRowDef",Nt.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",Nt.displayedColumns),l.xp6(1),l.Q6J("ngIf",0===Nt.dataSource.filteredData.length&&0!==Nt.destinations.length),l.xp6(1),l.Q6J("ngIf",0===Nt.destinations.length))},directives:[t.l,v.BZ,u.YE,v.w1,v.fO,v.ge,c.oG,v.Dz,v.ev,u.nU,h.O5,g.Hw,d.gM,v.as,v.XQ,v.nj,v.Gk,p.w],pipes:[C.X$],styles:[".warn[_ngcontent-%COMP%]{color:#ebe134}"]}),Ut})()},89466:(w,k,o)=>{"use strict";o.d(k,{u:()=>L});var u=o(9315),x=o(48966),v=o(32075),_=o(36908),m=o(5e3),l=o(51062),t=o(69808),c=o(20773),h=o(98380),g=o(70242),d=o(47423);function p(N,P){1&N&&m._UZ(0,"mat-spinner",6)}function C(N,P){if(1&N&&m._UZ(0,"app-perun-web-apps-destination-list",11),2&N){const R=m.oxw(2);m.Q6J("destinations",R.destinations)("displayedColumns",R.displayedColumns)}}function A(N,P){if(1&N&&(m.TgZ(0,"div",7),m.TgZ(1,"app-alert",8),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"p"),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.TgZ(7,"div",9),m._uU(8),m.ALo(9,"translate"),m.qZA(),m.YNc(10,C,1,2,"app-perun-web-apps-destination-list",10),m.qZA()),2&N){const R=m.oxw();m.xp6(2),m.Oqu(m.lcZ(3,4,"DIALOGS.REMOVE_DESTINATIONS.WARNING")),m.xp6(3),m.Oqu(m.lcZ(6,6,"DIALOGS.REMOVE_DESTINATIONS.DESCRIPTION")),m.xp6(3),m.hij(" ",m.lcZ(9,8,"DIALOGS.REMOVE_DESTINATIONS.ASK")," "),m.xp6(2),m.Q6J("ngIf",!R.loading)}}let L=(()=>{class N{constructor(R,Z,H,z,tt){this.dialogRef=R,this.data=Z,this.notificator=H,this.translate=z,this.serviceManager=tt,this.displayedColumns=[],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.destinations=this.data.destinations,this.displayedColumns="admin-theme"===this.theme?["destinationId","facility","destination","type","propagationType"]:["destinationId","service","destination","type","propagationType"],this.dataSource=new v.by(this.data.destinations)}onCancel(){this.dialogRef.close(!1)}deleteDestinations(){if(0===this.destinations.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_DESTINATIONS.SUCCESS")),void this.dialogRef.close(!0);const R=this.destinations.pop();this.serviceManager.removeDestination(R.service.id,R.facility.id,R.destination,R.type).subscribe(()=>{this.deleteDestinations()},()=>this.loading=!1)}onConfirm(){this.loading=!0,this.deleteDestinations()}}return N.\u0275fac=function(R){return new(R||N)(m.Y36(x.so),m.Y36(x.WI),m.Y36(_.V6),m.Y36(l.sK),m.Y36(u.KK))},N.\u0275cmp=m.Xpm({type:N,selectors:[["app-perun-web-apps-remove-destination-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],["alert_type","warn"],[1,"font-weight-bold"],[3,"destinations","displayedColumns",4,"ngIf"],[3,"destinations","displayedColumns"]],template:function(R,Z){1&R&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"div"),m.YNc(4,p,1,0,"mat-spinner",1),m.YNc(5,A,11,10,"div",2),m.TgZ(6,"div",3),m.TgZ(7,"button",4),m.NdJ("click",function(){return Z.onCancel()}),m._uU(8),m.ALo(9,"translate"),m.qZA(),m.TgZ(10,"button",5),m.NdJ("click",function(){return Z.onConfirm()}),m._uU(11),m.ALo(12,"translate"),m.qZA(),m.qZA(),m.qZA()),2&R&&(m.xp6(1),m.Oqu(m.lcZ(2,9,"DIALOGS.REMOVE_DESTINATIONS.TITLE")),m.xp6(2),m.Tol(Z.theme),m.xp6(1),m.Q6J("ngIf",Z.loading),m.xp6(1),m.Q6J("ngIf",!Z.loading),m.xp6(3),m.hij(" ",m.lcZ(9,11,"DIALOGS.REMOVE_DESTINATIONS.CANCEL")," "),m.xp6(2),m.Q6J("disabled",Z.loading),m.xp6(1),m.hij(" ",m.lcZ(12,13,"DIALOGS.REMOVE_DESTINATIONS.CONFIRM")," "))},directives:[x.uh,t.O5,c.$g,x.xY,h.w,g.q,x.H8,d.lW],pipes:[l.X$],styles:[""]}),N})()},23256:(w,k,o)=>{"use strict";o.d(k,{Q:()=>et});var u=o(84847),x=o(20449),v=o(32075),_=o(9244),m=o(36908),l=o(5e3),t=o(18750),c=o(77446),h=o(69808),g=o(98380),d=o(51062);function p(q,at){if(1&q){const Y=l.EpF();l.TgZ(0,"th",16),l.TgZ(1,"mat-checkbox",17),l.NdJ("change",function(ut){l.CHM(Y);const it=l.oxw();return ut?it.masterToggle():null}),l.qZA(),l.qZA()}if(2&q){const Y=l.oxw();l.xp6(1),l.Q6J("aria-label",Y.checkboxLabel())("checked",Y.selection.hasValue()&&Y.isAllSelected())("indeterminate",Y.selection.hasValue()&&!Y.isAllSelected())}}function C(q,at){if(1&q){const Y=l.EpF();l.TgZ(0,"td",18),l.TgZ(1,"mat-checkbox",19),l.NdJ("change",function(ut){const G=l.CHM(Y).$implicit,M=l.oxw();return ut?M.selection.toggle(G):null})("click",function(ut){return ut.stopPropagation()}),l.qZA(),l.qZA()}if(2&q){const Y=at.$implicit,K=l.oxw();l.xp6(1),l.Q6J("aria-label",K.checkboxLabel(Y))("checked",K.selection.isSelected(Y))}}function A(q,at){1&q&&(l.TgZ(0,"th",20),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&q&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.ID")," "))}function L(q,at){if(1&q&&(l.TgZ(0,"td",21),l._uU(1),l.qZA()),2&q){const Y=at.$implicit;l.xp6(1),l.hij(" ",Y.id," ")}}function N(q,at){1&q&&(l.TgZ(0,"th",20),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&q&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NAME")," "))}function P(q,at){if(1&q&&(l.TgZ(0,"td",22),l._uU(1),l.qZA()),2&q){const Y=at.$implicit;l.xp6(1),l.Oqu(Y.name)}}function R(q,at){1&q&&(l.TgZ(0,"th",20),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&q&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.CONTACT")," "))}function Z(q,at){if(1&q&&(l.TgZ(0,"td",22),l._uU(1),l.qZA()),2&q){const Y=at.$implicit;l.xp6(1),l.Oqu(Y.contact)}}function H(q,at){1&q&&(l.TgZ(0,"th",20),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&q&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.TYPE")," "))}function z(q,at){if(1&q&&(l.TgZ(0,"td",22),l._uU(1),l.qZA()),2&q){const Y=at.$implicit;l.xp6(1),l.Oqu(Y.type)}}function tt(q,at){1&q&&l._UZ(0,"tr",23)}function rt(q,at){1&q&&l._UZ(0,"tr",24)}function ot(q,at){1&q&&(l.TgZ(0,"app-alert",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&q&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_OWNERS"),"\n"))}function J(q,at){1&q&&(l.TgZ(0,"app-alert",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&q&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_FILTER_OWNERS"),"\n"))}let et=(()=>{class q{constructor(Y,K){this.authResolver=Y,this.tableCheckbox=K,this.owners=[],this.selection=new x.Ov(!0,[]),this.filterValue="",this.displayedColumns=["select","id","name","contact","type"],this.pageSizeOptions=_.f7}set matSort(Y){this.sort=Y,this.setDataSource()}ngAfterViewInit(){this.setDataSource()}getDataForColumn(Y,K){switch(K){case"id":return Y.id.toString();case"name":return Y.name;case"contact":return Y.contact;case"type":return Y.type;default:return""}}exportData(Y){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),Y)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(Y,K)=>(0,_.Sd)(Y,K,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(Y,K)=>(0,_.pR)(Y,K,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Y=>"id"!==Y)),this.dataSource=new v.by(this.owners),this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(Y){return Y?`${this.selection.isSelected(Y)?"deselect":"select"} row ${Y.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return q.\u0275fac=function(Y){return new(Y||q)(l.Y36(m.x4),l.Y36(m.UA))},q.\u0275cmp=l.Xpm({type:q,selectors:[["perun-web-apps-owners-list"]],viewQuery:function(Y,K){if(1&Y&&(l.Gf(_.l9,7),l.Gf(u.YE,7)),2&Y){let ut;l.iGM(ut=l.CRH())&&(K.child=ut.first),l.iGM(ut=l.CRH())&&(K.matSort=ut.first)}},inputs:{owners:"owners",selection:"selection",tableId:"tableId",filterValue:"filterValue",displayedColumns:"displayedColumns"},features:[l.TTD],decls:22,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","contact"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(Y,K){1&Y&&(l.TgZ(0,"div",0),l.TgZ(1,"perun-web-apps-table-wrapper",1),l.NdJ("exportData",function(it){return K.exportData(it)}),l.TgZ(2,"table",2),l.ynx(3,3),l.YNc(4,p,2,3,"th",4),l.YNc(5,C,2,2,"td",5),l.BQk(),l.ynx(6,6),l.YNc(7,A,3,3,"th",7),l.YNc(8,L,2,1,"td",8),l.BQk(),l.ynx(9,9),l.YNc(10,N,3,3,"th",7),l.YNc(11,P,2,1,"td",10),l.BQk(),l.ynx(12,11),l.YNc(13,R,3,3,"th",7),l.YNc(14,Z,2,1,"td",10),l.BQk(),l.ynx(15,12),l.YNc(16,H,3,3,"th",7),l.YNc(17,z,2,1,"td",10),l.BQk(),l.YNc(18,tt,1,0,"tr",13),l.YNc(19,rt,1,0,"tr",14),l.qZA(),l.qZA(),l.qZA(),l.YNc(20,ot,3,3,"app-alert",15),l.YNc(21,J,3,3,"app-alert",15)),2&Y&&(l.Q6J("hidden",0===K.owners.length||0===K.dataSource.filteredData.length),l.xp6(1),l.Q6J("tableId",K.tableId)("dataLength",K.dataSource.filteredData.length)("pageSizeOptions",K.pageSizeOptions),l.xp6(1),l.Q6J("dataSource",K.dataSource),l.xp6(16),l.Q6J("matHeaderRowDef",K.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",K.displayedColumns),l.xp6(1),l.Q6J("ngIf",!K.owners.length),l.xp6(1),l.Q6J("ngIf",!K.dataSource.filteredData.length&&K.owners.length))},directives:[t.l,v.BZ,u.YE,v.w1,v.fO,v.ge,c.oG,v.Dz,v.ev,u.nU,v.as,v.XQ,v.nj,v.Gk,h.O5,g.w],pipes:[d.X$],styles:[""]}),q})()},16087:(w,k,o)=>{"use strict";const u=o(34315),x=o(52872),v=o(40717);w.exports=function _(t,c){switch(x(t)){case"object":return function m(t,c){if("function"==typeof c)return c(t);if(c||v(t)){const h=new t.constructor;for(let g in t)h[g]=_(t[g],c);return h}return t}(t,c);case"array":return function l(t,c){const h=new t.constructor(t.length);for(let g=0;g{"use strict";o.d(k,{Il:()=>x,xV:()=>v,J5:()=>_,ZP:()=>Z,SU:()=>tt,B8:()=>rt,Ss:()=>ot,Ym:()=>K});var u=o(68884);function x(){}var v=.7,_=1/v,m="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",t="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3,8})$/,h=new RegExp("^rgb\\("+[m,m,m]+"\\)$"),g=new RegExp("^rgb\\("+[t,t,t]+"\\)$"),d=new RegExp("^rgba\\("+[m,m,m,l]+"\\)$"),p=new RegExp("^rgba\\("+[t,t,t,l]+"\\)$"),C=new RegExp("^hsl\\("+[l,t,t]+"\\)$"),A=new RegExp("^hsla\\("+[l,t,t,l]+"\\)$"),L={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function N(){return this.rgb().formatHex()}function R(){return this.rgb().formatRgb()}function Z(G){var M,ft;return G=(G+"").trim().toLowerCase(),(M=c.exec(G))?(ft=M[1].length,M=parseInt(M[1],16),6===ft?H(M):3===ft?new ot(M>>8&15|M>>4&240,M>>4&15|240&M,(15&M)<<4|15&M,1):8===ft?z(M>>24&255,M>>16&255,M>>8&255,(255&M)/255):4===ft?z(M>>12&15|M>>8&240,M>>8&15|M>>4&240,M>>4&15|240&M,((15&M)<<4|15&M)/255):null):(M=h.exec(G))?new ot(M[1],M[2],M[3],1):(M=g.exec(G))?new ot(255*M[1]/100,255*M[2]/100,255*M[3]/100,1):(M=d.exec(G))?z(M[1],M[2],M[3],M[4]):(M=p.exec(G))?z(255*M[1]/100,255*M[2]/100,255*M[3]/100,M[4]):(M=C.exec(G))?at(M[1],M[2]/100,M[3]/100,1):(M=A.exec(G))?at(M[1],M[2]/100,M[3]/100,M[4]):L.hasOwnProperty(G)?H(L[G]):"transparent"===G?new ot(NaN,NaN,NaN,0):null}function H(G){return new ot(G>>16&255,G>>8&255,255&G,1)}function z(G,M,ft,It){return It<=0&&(G=M=ft=NaN),new ot(G,M,ft,It)}function tt(G){return G instanceof x||(G=Z(G)),G?new ot((G=G.rgb()).r,G.g,G.b,G.opacity):new ot}function rt(G,M,ft,It){return 1===arguments.length?tt(G):new ot(G,M,ft,null==It?1:It)}function ot(G,M,ft,It){this.r=+G,this.g=+M,this.b=+ft,this.opacity=+It}function J(){return"#"+q(this.r)+q(this.g)+q(this.b)}function et(){var G=this.opacity;return(1===(G=isNaN(G)?1:Math.max(0,Math.min(1,G)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===G?")":", "+G+")")}function q(G){return((G=Math.max(0,Math.min(255,Math.round(G)||0)))<16?"0":"")+G.toString(16)}function at(G,M,ft,It){return It<=0?G=M=ft=NaN:ft<=0||ft>=1?G=M=NaN:M<=0&&(G=NaN),new ut(G,M,ft,It)}function Y(G){if(G instanceof ut)return new ut(G.h,G.s,G.l,G.opacity);if(G instanceof x||(G=Z(G)),!G)return new ut;if(G instanceof ut)return G;var M=(G=G.rgb()).r/255,ft=G.g/255,It=G.b/255,Zt=Math.min(M,ft,It),Yt=Math.max(M,ft,It),ie=NaN,Ut=Yt-Zt,xt=(Yt+Zt)/2;return Ut?(ie=M===Yt?(ft-It)/Ut+6*(ft0&&xt<1?0:ie,new ut(ie,Ut,xt,G.opacity)}function K(G,M,ft,It){return 1===arguments.length?Y(G):new ut(G,M,ft,null==It?1:It)}function ut(G,M,ft,It){this.h=+G,this.s=+M,this.l=+ft,this.opacity=+It}function it(G,M,ft){return 255*(G<60?M+(ft-M)*G/60:G<180?ft:G<240?M+(ft-M)*(240-G)/60:M)}(0,u.Z)(x,Z,{copy:function(G){return Object.assign(new this.constructor,this,G)},displayable:function(){return this.rgb().displayable()},hex:N,formatHex:N,formatHsl:function P(){return Y(this).formatHsl()},formatRgb:R,toString:R}),(0,u.Z)(ot,rt,(0,u.l)(x,{brighter:function(G){return G=null==G?_:Math.pow(_,G),new ot(this.r*G,this.g*G,this.b*G,this.opacity)},darker:function(G){return G=null==G?v:Math.pow(v,G),new ot(this.r*G,this.g*G,this.b*G,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:J,formatHex:J,formatRgb:et,toString:et})),(0,u.Z)(ut,K,(0,u.l)(x,{brighter:function(G){return G=null==G?_:Math.pow(_,G),new ut(this.h,this.s,this.l*G,this.opacity)},darker:function(G){return G=null==G?v:Math.pow(v,G),new ut(this.h,this.s,this.l*G,this.opacity)},rgb:function(){var G=this.h%360+360*(this.h<0),M=isNaN(G)||isNaN(this.s)?0:this.s,ft=this.l,It=ft+(ft<.5?ft:1-ft)*M,Zt=2*ft-It;return new ot(it(G>=240?G-240:G+120,Zt,It),it(G,Zt,It),it(G<120?G+240:G-120,Zt,It),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var G=this.opacity;return(1===(G=isNaN(G)?1:Math.max(0,Math.min(1,G)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===G?")":", "+G+")")}}))},68884:(w,k,o)=>{"use strict";function u(v,_,m){v.prototype=_.prototype=m,m.constructor=v}function x(v,_){var m=Object.create(v.prototype);for(var l in _)m[l]=_[l];return m}o.d(k,{Z:()=>u,l:()=>x})},25922:(w,k,o)=>{"use strict";o.d(k,{Z:()=>t});var u={value:function(){}};function x(){for(var d,c=0,h=arguments.length,g={};c=0&&(d=g.slice(p+1),g=g.slice(0,p)),g&&!h.hasOwnProperty(g))throw new Error("unknown type: "+g);return{type:g,name:d}})}function m(c,h){for(var p,g=0,d=c.length;g0)for(var p,C,g=new Array(p),d=0;d{"use strict";function v(_){return((_*=2)<=1?_*_*_:(_-=2)*_*_+2)/2}o.d(k,{tw:()=>v})},22910:(w,k,o)=>{"use strict";o.d(k,{WU:()=>v,jH:()=>_,ZP:()=>m});var x,v,_,u=o(4753);function m(l){return x=(0,u.Z)(l),v=x.format,_=x.formatPrefix,x}m({thousands:",",grouping:[3],currency:["$",""]})},68520:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(5326);function x(v){return(v=(0,u.V)(Math.abs(v)))?v[1]:NaN}},5326:(w,k,o)=>{"use strict";function u(v){return Math.abs(v=Math.round(v))>=1e21?v.toLocaleString("en").replace(/,/g,""):v.toString(10)}function x(v,_){if((m=(v=_?v.toExponential(_-1):v.toExponential()).indexOf("e"))<0)return null;var m,l=v.slice(0,m);return[l.length>1?l[0]+l.slice(2):l,+v.slice(m+1)]}o.d(k,{Z:()=>u,V:()=>x})},32517:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x,v:()=>v});var u=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function x(_){if(!(m=u.exec(_)))throw new Error("invalid format: "+_);var m;return new v({fill:m[1],align:m[2],sign:m[3],symbol:m[4],zero:m[5],width:m[6],comma:m[7],precision:m[8]&&m[8].slice(1),trim:m[9],type:m[10]})}function v(_){this.fill=void 0===_.fill?" ":_.fill+"",this.align=void 0===_.align?">":_.align+"",this.sign=void 0===_.sign?"-":_.sign+"",this.symbol=void 0===_.symbol?"":_.symbol+"",this.zero=!!_.zero,this.width=void 0===_.width?void 0:+_.width,this.comma=!!_.comma,this.precision=void 0===_.precision?void 0:+_.precision,this.trim=!!_.trim,this.type=void 0===_.type?"":_.type+""}x.prototype=v.prototype,v.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},41129:(w,k,o)=>{"use strict";o.r(k),o.d(k,{formatDefaultLocale:()=>u.ZP,format:()=>u.WU,formatPrefix:()=>u.jH,formatLocale:()=>x.Z,formatSpecifier:()=>v.Z,FormatSpecifier:()=>v.v,precisionFixed:()=>_.Z,precisionPrefix:()=>m.Z,precisionRound:()=>l.Z});var u=o(22910),x=o(4753),v=o(32517),_=o(78986),m=o(38914),l=o(65142)},4753:(w,k,o)=>{"use strict";o.d(k,{Z:()=>A});var t,u=o(68520),_=o(32517),l=o(5326);function h(L,N){var P=(0,l.V)(L,N);if(!P)return L+"";var R=P[0],Z=P[1];return Z<0?"0."+new Array(-Z).join("0")+R:R.length>Z+1?R.slice(0,Z+1)+"."+R.slice(Z+1):R+new Array(Z-R.length+2).join("0")}const g={"%":(L,N)=>(100*L).toFixed(N),b:L=>Math.round(L).toString(2),c:L=>L+"",d:l.Z,e:(L,N)=>L.toExponential(N),f:(L,N)=>L.toFixed(N),g:(L,N)=>L.toPrecision(N),o:L=>Math.round(L).toString(8),p:(L,N)=>h(100*L,N),r:h,s:function c(L,N){var P=(0,l.V)(L,N);if(!P)return L+"";var R=P[0],Z=P[1],H=Z-(t=3*Math.max(-8,Math.min(8,Math.floor(Z/3))))+1,z=R.length;return H===z?R:H>z?R+new Array(H-z+1).join("0"):H>0?R.slice(0,H)+"."+R.slice(H):"0."+new Array(1-H).join("0")+(0,l.V)(L,Math.max(0,N+H-1))[0]},X:L=>Math.round(L).toString(16).toUpperCase(),x:L=>Math.round(L).toString(16)};function d(L){return L}var p=Array.prototype.map,C=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function A(L){var N=void 0===L.grouping||void 0===L.thousands?d:function x(L,N){return function(P,R){for(var Z=P.length,H=[],z=0,tt=L[0],rt=0;Z>0&&tt>0&&(rt+tt+1>R&&(tt=Math.max(1,R-rt)),H.push(P.substring(Z-=tt,Z+tt)),!((rt+=tt+1)>R));)tt=L[z=(z+1)%L.length];return H.reverse().join(N)}}(p.call(L.grouping,Number),L.thousands+""),P=void 0===L.currency?"":L.currency[0]+"",R=void 0===L.currency?"":L.currency[1]+"",Z=void 0===L.decimal?".":L.decimal+"",H=void 0===L.numerals?d:function v(L){return function(N){return N.replace(/[0-9]/g,function(P){return L[+P]})}}(p.call(L.numerals,String)),z=void 0===L.percent?"%":L.percent+"",tt=void 0===L.minus?"\u2212":L.minus+"",rt=void 0===L.nan?"NaN":L.nan+"";function ot(et){var q=(et=(0,_.Z)(et)).fill,at=et.align,Y=et.sign,K=et.symbol,ut=et.zero,it=et.width,G=et.comma,M=et.precision,ft=et.trim,It=et.type;"n"===It?(G=!0,It="g"):g[It]||(void 0===M&&(M=12),ft=!0,It="g"),(ut||"0"===q&&"="===at)&&(ut=!0,q="0",at="=");var Zt="$"===K?P:"#"===K&&/[boxX]/.test(It)?"0"+It.toLowerCase():"",Yt="$"===K?R:/[%p]/.test(It)?z:"",ie=g[It],Ut=/[defgprs%]/.test(It);function xt(pt){var ge,_e,Te,Nt=Zt,Jt=Yt;if("c"===It)Jt=ie(pt)+Jt,pt="";else{var Ze=(pt=+pt)<0||1/pt<0;if(pt=isNaN(pt)?rt:ie(Math.abs(pt),M),ft&&(pt=function m(L){t:for(var Z,N=L.length,P=1,R=-1;P0&&(R=0)}return R>0?L.slice(0,R)+L.slice(Z+1):L}(pt)),Ze&&0==+pt&&"+"!==Y&&(Ze=!1),Nt=(Ze?"("===Y?Y:tt:"-"===Y||"("===Y?"":Y)+Nt,Jt=("s"===It?C[8+t/3]:"")+Jt+(Ze&&"("===Y?")":""),Ut)for(ge=-1,_e=pt.length;++ge<_e;)if(48>(Te=pt.charCodeAt(ge))||Te>57){Jt=(46===Te?Z+pt.slice(ge+1):pt.slice(ge))+Jt,pt=pt.slice(0,ge);break}}G&&!ut&&(pt=N(pt,1/0));var yn=Nt.length+pt.length+Jt.length,Pe=yn>1)+Nt+pt+Jt+Pe.slice(yn);break;default:pt=Pe+Nt+pt+Jt}return H(pt)}return M=void 0===M?6:/[gprs]/.test(It)?Math.max(1,Math.min(21,M)):Math.max(0,Math.min(20,M)),xt.toString=function(){return et+""},xt}return{format:ot,formatPrefix:function J(et,q){var at=ot(((et=(0,_.Z)(et)).type="f",et)),Y=3*Math.max(-8,Math.min(8,Math.floor((0,u.Z)(q)/3))),K=Math.pow(10,-Y),ut=C[8+Y/3];return function(it){return at(K*it)+ut}}}}},78986:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(68520);function x(v){return Math.max(0,-(0,u.Z)(Math.abs(v)))}},38914:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(68520);function x(v,_){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,u.Z)(_)/3)))-(0,u.Z)(Math.abs(v)))}},65142:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(68520);function x(v,_){return v=Math.abs(v),_=Math.abs(_)-v,Math.max(0,(0,u.Z)(_)-(0,u.Z)(v))+1}},9921:function(w,k,o){!function(u,x,v,_,m,l,t,c,h,g){"use strict";function d(j){if(j&&j.__esModule)return j;var mt=Object.create(null);return j&&Object.keys(j).forEach(function(Ct){if("default"!==Ct){var wt=Object.getOwnPropertyDescriptor(j,Ct);Object.defineProperty(mt,Ct,wt.get?wt:{enumerable:!0,get:function(){return j[Ct]}})}}),mt.default=j,Object.freeze(mt)}var Ot,p=d(x);function C(j,mt,Ct){return mt in j?Object.defineProperty(j,mt,{value:Ct,enumerable:!0,configurable:!0,writable:!0}):j[mt]=Ct,j}function A(j){return function L(j){if(Array.isArray(j))return R(j)}(j)||function N(j){if("undefined"!=typeof Symbol&&null!=j[Symbol.iterator]||null!=j["@@iterator"])return Array.from(j)}(j)||function P(j,mt){if(j){if("string"==typeof j)return R(j,mt);var Ct=Object.prototype.toString.call(j).slice(8,-1);if("Object"===Ct&&j.constructor&&(Ct=j.constructor.name),"Map"===Ct||"Set"===Ct)return Array.from(j);if("Arguments"===Ct||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ct))return R(j,mt)}}(j)||function Z(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(j,mt){(null==mt||mt>j.length)&&(mt=j.length);for(var Ct=0,wt=new Array(mt);Ct1&&void 0!==arguments[1]?arguments[1]:0,Ct=p.select(this),wt=j.attributes,Xt=Ct.node().attributes;if(Xt)for(var te=0;te0?Ee.children[0].text:"")}null==Wt.key&&(Xt&&("ellipse"==Oe||"polygon"==Oe)&&(Oe="path"),Wt.key=Oe+"-"+oe)}function ze(Wt,oe){Wt.id=(oe?oe.id+".":"")+Wt.key}function We(Wt){O[Wt.id]=Wt}function pe(Wt,oe){Xt&&Wt.id in le&&("polygon"==oe.tag||"ellipse"==oe.tag||"path"==oe.tag)&&(oe.tag!=Wt.tag||"polygon"==Wt.tag)&&("path"!=oe.tag&&(Wt.alternativeOld=Pe(oe,Wt)),"path"!=Wt.tag&&(Wt.alternativeNew=Pe(Wt,oe)))}function xe(Wt,oe){if(wt&&oe&&("path"==oe.tag||Wt.alternativeOld&&"path"==Wt.alternativeOld.tag)){var Oe=(Wt.alternativeNew||Wt).attributes.d;if(Wt.alternativeOld)var Ee=rt(Wt.alternativeOld);else Ee=rt(oe);(Wt.alternativeOld||(Wt.alternativeOld={})).points=function xt(j,mt,Ct,wt){for(var Xt=j,te=Xt.cloneNode(),Dt=Xt.getTotalLength(),he=(te.setAttribute("d",mt),te).getTotalLength(),O=[0],le=0,ke=wt?Ct:Ct/Math.max(Dt,he);(le+=ke)<1;)O.push(le);return O.push(1),O.map(function(nn){var ze=Xt.getPointAtLength(nn*Dt),We=te.getPointAtLength(nn*he);return[[ze.x,ze.y],[We.x,We.y]]})}(Ee,Oe,te,Dt)}}function Xe(Wt){var Oe=arguments.length>2?arguments[2]:void 0;nn(Wt,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),ze(Wt,Oe);var $e=le[Wt.id];We(Wt),pe(Wt,$e),xe(Wt,$e);var Wn={};Wt.children.forEach(function(On){var An=On.tag;("ellipse"==An||"polygon"==An)&&(An="path"),null==Wn[An]&&(Wn[An]=0),Xe(On,Wn[An]++,Wt)})}function gt(Wt){(function nt(Wt){if(he&&Wt.parent&&"node"==Wt.parent.attributes.class&&"title"==Wt.tag){if(Wt.children.length>0)var Ee=Wt.children[0].text;else Ee="";ke[Ee]=Wt.parent}})(Wt),function _t(Wt){var Oe=Wt.tag;if(he&&!le[Wt.id]&&Wt.parent&&Jt(Wt)&&("path"==Oe||"polygon"==Oe)){if("polygon"==Oe){var $e=Wt.parent.children.find(function(Qn){return"path"==Qn.tag});$e&&(Wt.totalLength=$e.totalLength)}var On=function _e(j){return function ge(j){return"edge"==j.parent.attributes.class?j.parent:j.parent.parent.parent}(j).children.find(function(mt){return"title"==mt.tag})}(Wt).children[0],An=On.text.split("->");2!=An.length&&(An=On.text.split("--"));var we=An[0],Nn=ke[we],Jn=Ie[we];if(Jn){if((on=Nn.children.findIndex(function(Qn,Ai){return"g"==Qn.tag}))>=0){var sn=Nn.children[on].children.findIndex(function(Qn,Ai){return"a"==Qn.tag});Nn=Nn.children[on].children[sn]}(on=Jn.children.findIndex(function(Qn,Ai){return"g"==Qn.tag}))>=0&&(sn=Jn.children[on].children.findIndex(function(Ai,ln){return"a"==Ai.tag}),Jn=Jn.children[on].children[sn]);for(var Un=Nn.children,on=0;on0&&this._queue.shift().call(this)}function Zn(j,mt,Ct,wt){var Xt=[j*Ct-(mt=-mt)*(wt=-wt),j*wt+mt*Ct];return[j=Xt[0],mt=-(mt=Xt[1])]}function Di(j,mt,Ct,wt,Xt,te,Dt){var O=z(Tn.call(this,te));j.data([O]),at.call(j.node(),O),_n(j,mt,Ct,wt,Xt,te,Dt)}function _n(j,mt,Ct,wt,Xt,te,Dt){var he=Dt.shortening||0,Ie=[[0,-3.5],[10,0],[0,3.5],[0,-3.5]],nn=wt-mt,ze=Xt-Ct,We=Math.sqrt(nn*nn+ze*ze);if(0==We)var pe=1,xe=0;else pe=nn/We,xe=ze/We;if(wt=mt+(We-he-10-.1)*pe,Xt=Ct+(We-he-10-.1)*xe,te.URL||te.tooltip)var Xe=j.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a"),nt=Xe.selectWithoutDataPropagation("path"),_t=Xe.selectWithoutDataPropagation("polygon");else nt=j.selectWithoutDataPropagation("path"),_t=j.selectWithoutDataPropagation("polygon");var gt=g.path();gt.moveTo(mt,Ct),gt.lineTo(wt,Xt),nt.attr("d",gt),wt=mt+(We-he-10)*pe,Xt=Ct+(We-he-10)*xe;for(var St=0;St b ["+mt+"]}","svg","dot"),O=(new window.DOMParser).parseFromString(Dt,"image/svg+xml");return p.select(document.createDocumentFragment()).append(function(){return O.documentElement}).select(".edge")}function Mn(j,mt,Ct,wt,Xt,te){var he=z(X.call(this,wt,Xt));return j.data([he]),at.call(j.node(),he),Le(j,mt,Ct,Xt),this}function Le(j,mt,Ct,wt,Xt){if(wt.URL||wt.tooltip)var te=j.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a");else te=j;var Dt=te.selectAll("ellipse,polygon,path,polyline"),he=j.selectWithoutDataPropagation("text");if(0!=Dt.size()){var O=Dt.node().getBBox();O.cx=O.x+O.width/2,O.cy=O.y+O.height/2}else 0!=he.size()&&(O={x:+he.attr("x"),y:+he.attr("y"),width:0,height:0,cx:+he.attr("x"),cy:+he.attr("y")});return Dt.each(function(le,ke){var Ie=p.select(this);if(Ie.attr("cx"))Ie.attr("cx",K(mt)).attr("cy",K(Ct));else if(Ie.attr("points")){var nn=Ie.attr("points").trim();Ie.attr("points",function mn(te,mt,Ct){var Xt,wt=(Xt=te.split(" ")).map(function(Dt){return Dt.split(",")});return wt=Xt.map(function(Dt){return[K(+mt+ +Dt.split(",")[0]),K(+Ct+ +Dt.split(",")[1])]}),(Xt=wt.map(function(Dt){return Dt.join(",")})).join(" ")}(nn,mt-O.cx,Ct-O.cy))}else{var ze=Ie.attr("d");Ie.attr("d",function Ve(j,mt,Ct){(te=j.split(/[A-Z ]/)).shift();var wt=j.split(/[^[A-Z ]+/),te=(te.map(function(Dt){return Dt.split(",")}),te.map(function(Dt){return[K(+mt+ +Dt.split(",")[0]),K(+Ct+ +Dt.split(",")[1])]}).map(function(Dt){return Dt.join(",")}));return wt.reduce(function(Dt,he,O){return Dt.concat(he,te[O])},[]).join("")}(ze,mt-O.cx,Ct-O.cy))}}),0!=he.size()&&he.attr("x",K(+he.attr("x")+mt-O.cx)).attr("y",K(+he.attr("y")+Ct-O.cy)),this}function Bn(){if(!this._drawnNode)return this;var j=this._drawnNode.g;return j.empty()||j.remove(),this._drawnNode=null,this}function V(){return this._drawnNode?this._drawnNode.g:p.select(null)}function X(j,mt){for(var Ct="",wt=0,Xt=Object.keys(mt);wt2")(nn)+" ",xe+=ze+" ".repeat(te-ze.length),xe+=h.format(" >5")(We-Ct)+" ","initEnd"!=ze&&(xe+=h.format(" >5")(We-wt.start[pe])),"dataProcessEnd"==ze&&(xe+=" prepare "+h.format(" >5")(We-wt.layoutEnd[pe])),"renderEnd"==ze&&O._transition&&(xe+=" transition start margin "+h.format(" >5")(O._transition.delay()-(We-wt.renderStart[pe])),le=O._transition.delay(),ke=O._transition.duration()),"transitionStart"==ze){var Xe=We-wt.renderStart[pe];xe+=" transition delay "+h.format(" >5")(We-wt.renderStart[pe]),xe+=" expected "+h.format(" >5")(le),xe+=" diff "+h.format(" >5")(Xe-le)}if("transitionEnd"==ze){var nt=We-wt.transitionStart[pe];xe+=" transition duration "+h.format(" >5")(nt),xe+=" expected "+h.format(" >5")(ke),xe+=" diff "+h.format(" >5")(nt-ke)}console.log(xe),Ct=We}:null)},he=0;he5&&void 0!==arguments[5]?arguments[5]:{};if((Xt=Object.assign({},Xt)).style&&Xt.style.includes("invis"))var Dt=p.select(null);else{var le=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),Ie=z(Tn.call(this,Xt));Dt=le.append("g").data([Ie]),at.call(Dt.node(),Ie),Di.call(this,Dt,j,mt,Ct,wt,Xt,te)}return this._drawnEdge={g:Dt,x1:j,y1:mt,x2:Ct,y2:wt,attributes:Xt},this},updateDrawnEdge:function qn(j,mt,Ct,wt){var Xt=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},te=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(!this._drawnEdge)throw Error("No edge has been drawn");var Dt=this._drawnEdge.g;return Xt=Object.assign(this._drawnEdge.attributes,Xt),this._drawnEdge.x1=j,this._drawnEdge.y1=mt,this._drawnEdge.x2=Ct,this._drawnEdge.y2=wt,!Dt.empty()||Xt.style&&Xt.style.includes("invis")||(Dt=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g").append("g"),this._drawnEdge.g=Dt),Dt.empty()||Di.call(this,Dt,j,mt,Ct,wt,Xt,te),this},moveDrawnEdgeEndPoint:function ti(j,mt){var Ct=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this._drawnEdge)throw Error("No edge has been drawn");var wt=this._drawnEdge.g,Xt=this._drawnEdge.x1,te=this._drawnEdge.y1,Dt=this._drawnEdge.attributes;return this._drawnEdge.x2=j,this._drawnEdge.y2=mt,_n(wt,Xt,te,j,mt,Dt,Ct),this},insertDrawnEdge:function In(j){if(!this._drawnEdge)throw Error("No edge has been drawn");var mt=this._drawnEdge.g;if(mt.empty())return this;mt.selectWithoutDataPropagation("title").text(j);var te=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),Dt=te.datum(),he=this._extractData(mt,Dt.children.length,te.datum());return Dt.children.push(he),et(mt,he),this._drawnEdge=null,this},removeDrawnEdge:wi},"removeDrawnEdge",wi),C(Ot,"drawnEdgeSelection",cn),C(Ot,"drawnEdgeSelection",cn),C(Ot,"drawNode",function ei(j,mt,Ct){var wt=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},Xt=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if((wt=Object.assign({},wt)).style&&wt.style.includes("invis"))var te=p.select(null);else{var O=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),ke=z(X.call(this,Ct,wt));te=O.append("g").data([ke]),at.call(te.node(),ke),Mn.call(this,te,j,mt,Ct,wt,Xt)}return this._drawnNode={g:te,nodeId:Ct,x:j,y:mt,attributes:wt},this}),C(Ot,"updateDrawnNode",function ui(j,mt,Ct){var wt=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},Xt=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!this._drawnNode)throw Error("No node has been drawn");var te=this._drawnNode.g;return null==Ct&&(Ct=this._drawnNode.nodeId),wt=Object.assign(this._drawnNode.attributes,wt),this._drawnNode.nodeId=Ct,this._drawnNode.x=j,this._drawnNode.y=mt,!te.empty()||wt.style&&wt.style.includes("invis")||(te=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g").append("g"),this._drawnNode.g=te),te.empty()||Mn.call(this,te,j,mt,Ct,wt,Xt),this}),C(Ot,"moveDrawnNode",function Ii(j,mt){if(!this._drawnNode)throw Error("No node has been drawn");var Ct=this._drawnNode.g,wt=this._drawnNode.attributes;return this._drawnNode.x=j,this._drawnNode.y=mt,Ct.empty()||Le(Ct,j,mt,wt),this}),C(Ot,"insertDrawnNode",function fn(j){if(!this._drawnNode)throw Error("No node has been drawn");null==j&&(j=this._drawnNode.nodeId);var mt=this._drawnNode.g;if(mt.empty())return this;var Ct=this._drawnNode.attributes;if(mt.selectWithoutDataPropagation("title").text(j),Ct.URL||Ct.tooltip){var te=mt.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a");te.selectWithoutDataPropagation("ellipse,polygon,path,polyline");var Dt=te.selectWithoutDataPropagation("text")}else mt.selectWithoutDataPropagation("ellipse,polygon,path,polyline"),Dt=mt.selectWithoutDataPropagation("text");Dt.text(Ct.label||j);var le=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),ke=le.datum(),Ie=this._extractData(mt,ke.children.length,le.datum());return ke.children.push(Ie),et(mt,Ie),this._drawnNode=null,this}),C(Ot,"removeDrawnNode",Bn),C(Ot,"removeDrawnNode",Bn),C(Ot,"drawnNodeSelection",V),C(Ot,"drawnNodeSelection",V),C(Ot,"graphvizVersion",function yn(){return this._graphvizVersion}),Ot),x.selection.prototype.graphviz=function re(j){var mt=this.node().__graphviz__;return mt?(mt.options(j),m.timeout(function(){mt._dispatch.call("initEnd",this)}.bind(this),0)):mt=new Bt(this,j),mt},x.selection.prototype.selectWithoutDataPropagation=function qt(j){return p.select(this.size()>0?this.node().querySelector(j):null)},u.graphviz=Ht,Object.defineProperty(u,"__esModule",{value:!0})}(k,o(68557),o(18140),o(35011),o(31566),o(82683),o(60128),o(89397),o(41129),o(12218))},92940:(w,k,o)=>{"use strict";o.d(k,{Z:()=>t});var u={value:()=>{}};function x(){for(var d,c=0,h=arguments.length,g={};c=0&&(d=g.slice(p+1),g=g.slice(0,p)),g&&!h.hasOwnProperty(g))throw new Error("unknown type: "+g);return{type:g,name:d}})}function m(c,h){for(var p,g=0,d=c.length;g0)for(var p,C,g=new Array(p),d=0;d{"use strict";o.r(k),o.d(k,{dispatch:()=>u.Z});var u=o(92940)},97907:(w,k,o)=>{"use strict";function u(v,_,m,l,t){var c=v*v,h=c*v;return((1-3*v+3*c-h)*_+(4-6*c+3*h)*m+(1+3*v+3*c-3*h)*l+h*t)/6}function x(v){var _=v.length-1;return function(m){var l=m<=0?m=0:m>=1?(m=1,_-1):Math.floor(m*_),t=v[l],c=v[l+1];return u((m-l/_)*_,l>0?v[l-1]:2*t-c,t,c,l<_-1?v[l+2]:2*c-t)}}o.d(k,{t:()=>u,Z:()=>x})},77296:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(97907);function x(v){var _=v.length;return function(m){var l=Math.floor(((m%=1)<0?++m:m)*_);return(0,u.t)((m-l/_)*_,v[(l+_-1)%_],v[l%_],v[(l+1)%_],v[(l+2)%_])}}},87237:(w,k,o)=>{"use strict";o.d(k,{wx:()=>_,yi:()=>m,ZP:()=>l});var u=o(89783);function x(t,c){return function(h){return t+h*c}}function _(t,c){var h=c-t;return h?x(t,h>180||h<-180?h-360*Math.round(h/360):h):(0,u.Z)(isNaN(t)?c:t)}function m(t){return 1==(t=+t)?l:function(c,h){return h-c?function v(t,c,h){return t=Math.pow(t,h),c=Math.pow(c,h)-t,h=1/h,function(g){return Math.pow(t+g*c,h)}}(c,h,t):(0,u.Z)(isNaN(c)?h:c)}}function l(t,c){var h=c-t;return h?x(t,h):(0,u.Z)(isNaN(t)?c:t)}},89783:(w,k,o)=>{"use strict";o.d(k,{Z:()=>u});const u=x=>()=>x},82683:(w,k,o)=>{"use strict";o.r(k),o.d(k,{interpolate:()=>p,interpolateArray:()=>m,interpolateBasis:()=>C.Z,interpolateBasisClosed:()=>A.Z,interpolateCubehelix:()=>Kn,interpolateCubehelixLong:()=>Me,interpolateDate:()=>t,interpolateDiscrete:()=>L,interpolateHcl:()=>de,interpolateHclLong:()=>gn,interpolateHsl:()=>et,interpolateHslLong:()=>q,interpolateHue:()=>P,interpolateLab:()=>Ve,interpolateNumber:()=>c.Z,interpolateNumberArray:()=>v,interpolateObject:()=>h,interpolateRgb:()=>x.ZP,interpolateRgbBasis:()=>x.hD,interpolateRgbBasisClosed:()=>x.YD,interpolateRound:()=>R,interpolateString:()=>g.Z,interpolateTransformCss:()=>Z.Y,interpolateTransformSvg:()=>Z.w,interpolateZoom:()=>ot,piecewise:()=>$n,quantize:()=>jn});var u=o(52786),x=o(8200);function v(Tt,Gt){Gt||(Gt=[]);var ve,se=Tt?Math.min(Gt.length,Tt.length):0,fe=Gt.slice();return function(Be){for(ve=0;ve.008856451679035631?Math.pow(Tt,1/3):Tt/Zt+ft}function Jt(Tt){return Tt>It?Tt*Tt*Tt:Zt*(Tt-ft)}function ge(Tt){return 255*(Tt<=.0031308?12.92*Tt:1.055*Math.pow(Tt,1/2.4)-.055)}function _e(Tt){return(Tt/=255)<=.04045?Tt/12.92:Math.pow((Tt+.055)/1.055,2.4)}function Te(Tt){if(Tt instanceof Pe)return new Pe(Tt.h,Tt.c,Tt.l,Tt.opacity);if(Tt instanceof pt||(Tt=ie(Tt)),0===Tt.a&&0===Tt.b)return new Pe(NaN,0{"use strict";function u(x,v){return x=+x,v=+v,function(_){return x*(1-_)+v*_}}o.d(k,{Z:()=>u})},8200:(w,k,o)=>{"use strict";o.d(k,{ZP:()=>m,hD:()=>t,YD:()=>c});var u=o(52786),x=o(97907),v=o(77296),_=o(87237);const m=function h(g){var d=(0,_.yi)(g);function p(C,A){var L=d((C=(0,u.B8)(C)).r,(A=(0,u.B8)(A)).r),N=d(C.g,A.g),P=d(C.b,A.b),R=(0,_.ZP)(C.opacity,A.opacity);return function(Z){return C.r=L(Z),C.g=N(Z),C.b=P(Z),C.opacity=R(Z),C+""}}return p.gamma=h,p}(1);function l(h){return function(g){var L,N,d=g.length,p=new Array(d),C=new Array(d),A=new Array(d);for(L=0;L{"use strict";o.d(k,{Z:()=>l});var u=o(37815),x=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,v=new RegExp(x.source,"g");function l(t,c){var g,d,p,h=x.lastIndex=v.lastIndex=0,C=-1,A=[],L=[];for(t+="",c+="";(g=x.exec(t))&&(d=v.exec(c));)(p=d.index)>h&&(p=c.slice(h,p),A[C]?A[C]+=p:A[++C]=p),(g=g[0])===(d=d[0])?A[C]?A[C]+=d:A[++C]=d:(A[++C]=null,L.push({i:C,x:(0,u.Z)(g,d)})),h=v.lastIndex;return h{"use strict";o.d(k,{Y:()=>h,w:()=>g});var m,u=o(37815),x=180/Math.PI,v={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function _(d,p,C,A,L,N){var P,R,Z;return(P=Math.sqrt(d*d+p*p))&&(d/=P,p/=P),(Z=d*C+p*A)&&(C-=d*Z,A-=p*Z),(R=Math.sqrt(C*C+A*A))&&(C/=R,A/=R,Z/=R),d*A180?z+=360:z-H>180&&(H+=360),rt.push({i:tt.push(L(tt)+"rotate(",null,A)-2,x:(0,u.Z)(H,z)})):z&&tt.push(L(tt)+"rotate("+z+A)}(H.rotate,z.rotate,tt,rt),function R(H,z,tt,rt){H!==z?rt.push({i:tt.push(L(tt)+"skewX(",null,A)-2,x:(0,u.Z)(H,z)}):z&&tt.push(L(tt)+"skewX("+z+A)}(H.skewX,z.skewX,tt,rt),function Z(H,z,tt,rt,ot,J){if(H!==tt||z!==rt){var et=ot.push(L(ot)+"scale(",null,",",null,")");J.push({i:et-4,x:(0,u.Z)(H,tt)},{i:et-2,x:(0,u.Z)(z,rt)})}else(1!==tt||1!==rt)&&ot.push(L(ot)+"scale("+tt+","+rt+")")}(H.scaleX,H.scaleY,z.scaleX,z.scaleY,tt,rt),H=z=null,function(ot){for(var q,J=-1,et=rt.length;++J{"use strict";o.r(k),o.d(k,{path:()=>t});const u=Math.PI,x=2*u,v=1e-6,_=x-v;function m(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function l(){return new m}m.prototype=l.prototype={constructor:m,moveTo:function(c,h){this._+="M"+(this._x0=this._x1=+c)+","+(this._y0=this._y1=+h)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(c,h){this._+="L"+(this._x1=+c)+","+(this._y1=+h)},quadraticCurveTo:function(c,h,g,d){this._+="Q"+ +c+","+ +h+","+(this._x1=+g)+","+(this._y1=+d)},bezierCurveTo:function(c,h,g,d,p,C){this._+="C"+ +c+","+ +h+","+ +g+","+ +d+","+(this._x1=+p)+","+(this._y1=+C)},arcTo:function(c,h,g,d,p){var C=this._x1,A=this._y1,L=(g=+g)-(c=+c),N=(d=+d)-(h=+h),P=C-c,R=A-h,Z=P*P+R*R;if((p=+p)<0)throw new Error("negative radius: "+p);if(null===this._x1)this._+="M"+(this._x1=c)+","+(this._y1=h);else if(Z>v)if(Math.abs(R*L-N*P)>v&&p){var H=g-C,z=d-A,tt=L*L+N*N,rt=H*H+z*z,ot=Math.sqrt(tt),J=Math.sqrt(Z),et=p*Math.tan((u-Math.acos((tt+Z-rt)/(2*ot*J)))/2),q=et/J,at=et/ot;Math.abs(q-1)>v&&(this._+="L"+(c+q*P)+","+(h+q*R)),this._+="A"+p+","+p+",0,0,"+ +(R*H>P*z)+","+(this._x1=c+at*L)+","+(this._y1=h+at*N)}else this._+="L"+(this._x1=c)+","+(this._y1=h)},arc:function(c,h,g,d,p,C){c=+c,h=+h,C=!!C;var A=(g=+g)*Math.cos(d),L=g*Math.sin(d),N=c+A,P=h+L,R=1^C,Z=C?d-p:p-d;if(g<0)throw new Error("negative radius: "+g);null===this._x1?this._+="M"+N+","+P:(Math.abs(this._x1-N)>v||Math.abs(this._y1-P)>v)&&(this._+="L"+N+","+P),g&&(Z<0&&(Z=Z%x+x),Z>_?this._+="A"+g+","+g+",0,1,"+R+","+(c-A)+","+(h-L)+"A"+g+","+g+",0,1,"+R+","+(this._x1=N)+","+(this._y1=P):Z>v&&(this._+="A"+g+","+g+",0,"+ +(Z>=u)+","+R+","+(this._x1=c+g*Math.cos(p))+","+(this._y1=h+g*Math.sin(p))))},rect:function(c,h,g,d){this._+="M"+(this._x0=this._x1=+c)+","+(this._y0=this._y1=+h)+"h"+ +g+"v"+ +d+"h"+-g+"Z"},toString:function(){return this._}};const t=l},31566:(w,k,o)=>{"use strict";o.r(k),o.d(k,{interval:()=>v,now:()=>u.zO,timeout:()=>x.Z,timer:()=>u.HT,timerFlush:()=>u.R8});var u=o(78562),x=o(30406);function v(_,m,l){var t=new u.B7,c=m;return null==m?(t.restart(_,m,l),t):(t._restart=t.restart,t.restart=function(h,g,d){g=+g,d=null==d?(0,u.zO)():+d,t._restart(function p(C){C+=c,t._restart(p,c+=g,d),h(C)},g,d)},t.restart(_,m,l),t)}},30406:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(78562);function x(v,_,m){var l=new u.B7;return l.restart(t=>{l.stop(),v(t+_)},_=null==_?0:+_,m),l}},78562:(w,k,o)=>{"use strict";o.d(k,{zO:()=>p,B7:()=>A,HT:()=>L,R8:()=>N});var m,l,u=0,x=0,v=0,t=0,c=0,h=0,g="object"==typeof performance&&performance.now?performance:Date,d="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(z){setTimeout(z,17)};function p(){return c||(d(C),c=g.now()+h)}function C(){c=0}function A(){this._call=this._time=this._next=null}function L(z,tt,rt){var ot=new A;return ot.restart(z,tt,rt),ot}function N(){p(),++u;for(var tt,z=m;z;)(tt=c-z._time)>=0&&z._call.call(null,tt),z=z._next;--u}function P(){c=(t=g.now())+h,u=x=0;try{N()}finally{u=0,function Z(){for(var z,rt,tt=m,ot=1/0;tt;)tt._call?(ot>tt._time&&(ot=tt._time),z=tt,tt=tt._next):(rt=tt._next,tt._next=null,tt=z?z._next=rt:m=rt);l=z,H(ot)}(),c=0}}function R(){var z=g.now(),tt=z-t;tt>1e3&&(h-=tt,t=z)}function H(z){u||(x&&(x=clearTimeout(x)),z-c>24?(z<1/0&&(x=setTimeout(P,z-g.now()-h)),v&&(v=clearInterval(v))):(v||(t=g.now(),v=setInterval(R,1e3)),u=1,d(P)))}A.prototype=L.prototype={constructor:A,restart:function(z,tt,rt){if("function"!=typeof z)throw new TypeError("callback is not a function");rt=(null==rt?p():+rt)+(null==tt?0:+tt),!this._next&&l!==this&&(l?l._next=this:m=this,l=this),this._call=z,this._time=rt,H()},stop:function(){this._call&&(this._call=null,this._time=1/0,H())}}},35011:(w,k,o)=>{"use strict";o.r(k),o.d(k,{active:()=>fn,interrupt:()=>Z,transition:()=>cn});var u=o(37853),x=o(92940),v=o(78562),_=o(30406),m=(0,x.Z)("start","end","cancel","interrupt"),l=[];function A(V,X,ht,E,At,Ot){var Bt=V.__transition;if(Bt){if(ht in Bt)return}else V.__transition={};!function R(V,X,ht){var At,E=V.__transition;function Bt(qt){var j,mt,Ct,wt;if(1!==ht.state)return re();for(j in E)if((wt=E[j]).name===ht.name){if(3===wt.state)return(0,_.Z)(Bt);4===wt.state?(wt.state=6,wt.timer.stop(),wt.on.call("interrupt",V,V.__data__,wt.index,wt.group),delete E[j]):+j0)throw new Error("too late; already scheduled");return ht}function N(V,X){var ht=P(V,X);if(ht.state>3)throw new Error("too late; already running");return ht}function P(V,X){var ht=V.__transition;if(!ht||!(ht=ht[X]))throw new Error("transition not found");return ht}function Z(V,X){var E,At,Bt,ht=V.__transition,Ot=!0;if(ht){for(Bt in X=null==X?null:X+"",ht)(E=ht[Bt]).name===X?(At=E.state>2&&E.state<5,E.state=6,E.timer.stop(),E.on.call(At?"interrupt":"cancel",V,V.__data__,E.index,E.group),delete ht[Bt]):Ot=!1;Ot&&delete V.__transition}}var z=o(43349),tt=o(36175);function rt(V,X){var ht,E;return function(){var At=N(this,V),Ot=At.tween;if(Ot!==ht)for(var Bt=0,Ht=(E=ht=Ot).length;Bt=0&&(X=X.slice(0,ht)),!X||"start"===X})}(X)?L:N;return function(){var Bt=Ot(this,V),Ht=Bt.on;Ht!==E&&(At=(E=Ht).copy()).on(X,ht),Bt.on=At}}var En=o(29742),ci=o(32037),vn=u.ZP.prototype.constructor,Kn=o(24476);function $n(V){return function(){this.style.removeProperty(V)}}function fe(V,X,ht){return function(E){this.style.setProperty(V,X.call(this,E),ht)}}function ve(V,X,ht){var E,At;function Ot(){var Bt=X.apply(this,arguments);return Bt!==At&&(E=(At=Bt)&&fe(V,Bt,ht)),E}return Ot._value=X,Ot}function Dn(V){return function(X){this.textContent=V.call(this,X)}}function qn(V){var X,ht;function E(){var At=V.apply(this,arguments);return At!==ht&&(X=(ht=At)&&Dn(At)),X}return E._value=V,E}var wi=0;function In(V,X,ht,E){this._groups=V,this._parents=X,this._name=ht,this._id=E}function cn(V){return(0,u.ZP)().transition(V)}function Tn(){return++wi}var ei=u.ZP.prototype;In.prototype=cn.prototype={constructor:In,select:function Ue(V){var X=this._name,ht=this._id;"function"!=typeof V&&(V=(0,En.Z)(V));for(var E=this._groups,At=E.length,Ot=new Array(At),Bt=0;Bt1&&E.name===X)return new In([[V]],Bn,X,+At);return null}},47927:(w,k,o)=>{"use strict";function u(x){return function(){return x}}o.d(k,{Z:()=>u})},6738:(w,k,o)=>{"use strict";function u(x,v){return x=+x,v=+v,function(_){return x*(1-_)+v*_}}o.d(k,{Z:()=>u})},23534:(w,k,o)=>{"use strict";o.d(k,{ZP:()=>d});var u=o(52786);function x(L,N,P,R,Z){var H=L*L,z=H*L;return((1-3*L+3*H-z)*N+(4-6*H+3*z)*P+(1+3*L+3*H-3*z)*R+z*Z)/6}var m=o(47927);function g(L,N){var P=N-L;return P?function l(L,N){return function(P){return L+P*N}}(L,P):(0,m.Z)(isNaN(L)?N:L)}const d=function L(N){var P=function h(L){return 1==(L=+L)?g:function(N,P){return P-N?function t(L,N,P){return L=Math.pow(L,P),N=Math.pow(N,P)-L,P=1/P,function(R){return Math.pow(L+R*N,P)}}(N,P,L):(0,m.Z)(isNaN(N)?P:N)}}(N);function R(Z,H){var z=P((Z=(0,u.B8)(Z)).r,(H=(0,u.B8)(H)).r),tt=P(Z.g,H.g),rt=P(Z.b,H.b),ot=g(Z.opacity,H.opacity);return function(J){return Z.r=z(J),Z.g=tt(J),Z.b=rt(J),Z.opacity=ot(J),Z+""}}return R.gamma=L,R}(1);function p(L){return function(N){var z,tt,P=N.length,R=new Array(P),Z=new Array(P),H=new Array(P);for(z=0;z=1?(P=1,N-1):Math.floor(P*N),Z=L[R],H=L[R+1];return x((P-R/N)*N,R>0?L[R-1]:2*Z-H,Z,H,R{"use strict";o.d(k,{Z:()=>l});var u=o(6738),x=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,v=new RegExp(x.source,"g");function l(t,c){var g,d,p,h=x.lastIndex=v.lastIndex=0,C=-1,A=[],L=[];for(t+="",c+="";(g=x.exec(t))&&(d=v.exec(c));)(p=d.index)>h&&(p=c.slice(h,p),A[C]?A[C]+=p:A[++C]=p),(g=g[0])===(d=d[0])?A[C]?A[C]+=d:A[++C]=d:(A[++C]=null,L.push({i:C,x:(0,u.Z)(g,d)})),h=v.lastIndex;return h{"use strict";o.d(k,{Y:()=>p,w:()=>C});var m,l,t,c,u=o(6738),x=180/Math.PI,v={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function _(A,L,N,P,R,Z){var H,z,tt;return(H=Math.sqrt(A*A+L*L))&&(A/=H,L/=H),(tt=A*N+L*P)&&(N-=A*tt,P-=L*tt),(z=Math.sqrt(N*N+P*P))&&(N/=z,P/=z,tt/=z),A*P180?ot+=360:ot-rt>180&&(rt+=360),et.push({i:J.push(R(J)+"rotate(",null,P)-2,x:(0,u.Z)(rt,ot)})):ot&&J.push(R(J)+"rotate("+ot+P)}(rt.rotate,ot.rotate,J,et),function z(rt,ot,J,et){rt!==ot?et.push({i:J.push(R(J)+"skewX(",null,P)-2,x:(0,u.Z)(rt,ot)}):ot&&J.push(R(J)+"skewX("+ot+P)}(rt.skewX,ot.skewX,J,et),function tt(rt,ot,J,et,q,at){if(rt!==J||ot!==et){var Y=q.push(R(q)+"scale(",null,",",null,")");at.push({i:Y-4,x:(0,u.Z)(rt,J)},{i:Y-2,x:(0,u.Z)(ot,et)})}else(1!==J||1!==et)&&q.push(R(q)+"scale("+J+","+et+")")}(rt.scaleX,rt.scaleY,ot.scaleX,ot.scaleY,J,et),rt=ot=null,function(q){for(var K,at=-1,Y=et.length;++at{"use strict";function u(x){return"object"==typeof x&&"length"in x?x:Array.from(x)}o.d(k,{Z:()=>u})},7500:(w,k,o)=>{"use strict";o.d(k,{Z:()=>m});var u=o(36175),x=o(53517);function v(l){return function(){var t=this.ownerDocument,c=this.namespaceURI;return c===x.P&&t.documentElement.namespaceURI===x.P?t.createElement(l):t.createElementNS(c,l)}}function _(l){return function(){return this.ownerDocument.createElementNS(l.space,l.local)}}function m(l){var t=(0,u.Z)(l);return(t.local?_:v)(t)}},68557:(w,k,o)=>{"use strict";o.r(k),o.d(k,{create:()=>v,creator:()=>u.Z,local:()=>m,matcher:()=>t.Z,namespace:()=>c.Z,namespaces:()=>h.Z,pointer:()=>g.Z,pointers:()=>p,select:()=>x.Z,selectAll:()=>L,selection:()=>A.ZP,selector:()=>N.Z,selectorAll:()=>P.Z,style:()=>R.S,window:()=>Z.Z});var u=o(7500),x=o(52016);function v(H){return(0,x.Z)((0,u.Z)(H).call(document.documentElement))}var _=0;function m(){return new l}function l(){this._="@"+(++_).toString(36)}l.prototype=m.prototype={constructor:l,get:function(H){for(var z=this._;!(z in H);)if(!(H=H.parentNode))return;return H[z]},set:function(H,z){return H[this._]=z},remove:function(H){return this._ in H&&delete H[this._]},toString:function(){return this._}};var t=o(97905),c=o(36175),h=o(53517),g=o(29132),d=o(75819);function p(H,z){return H.target&&(H=(0,d.Z)(H),void 0===z&&(z=H.currentTarget),H=H.touches||[H]),Array.from(H,tt=>(0,g.Z)(tt,z))}var C=o(34638),A=o(37853);function L(H){return"string"==typeof H?new A.Y1([document.querySelectorAll(H)],[document.documentElement]):new A.Y1([null==H?[]:(0,C.Z)(H)],A.Jz)}var N=o(29742),P=o(32037),R=o(24476),Z=o(2442)},97905:(w,k,o)=>{"use strict";function u(v){return function(){return this.matches(v)}}function x(v){return function(_){return _.matches(v)}}o.d(k,{Z:()=>u,P:()=>x})},36175:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(53517);function x(v){var _=v+="",m=_.indexOf(":");return m>=0&&"xmlns"!==(_=v.slice(0,m))&&(v=v.slice(m+1)),u.Z.hasOwnProperty(_)?{space:u.Z[_],local:v}:v}},53517:(w,k,o)=>{"use strict";o.d(k,{P:()=>u,Z:()=>x});var u="http://www.w3.org/1999/xhtml";const x={svg:"http://www.w3.org/2000/svg",xhtml:u,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},29132:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(75819);function x(v,_){if(v=(0,u.Z)(v),void 0===_&&(_=v.currentTarget),_){var m=_.ownerSVGElement||_;if(m.createSVGPoint){var l=m.createSVGPoint();return l.x=v.clientX,l.y=v.clientY,[(l=l.matrixTransform(_.getScreenCTM().inverse())).x,l.y]}if(_.getBoundingClientRect){var t=_.getBoundingClientRect();return[v.clientX-t.left-_.clientLeft,v.clientY-t.top-_.clientTop]}}return[v.pageX,v.pageY]}},52016:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(37853);function x(v){return"string"==typeof v?new u.Y1([[document.querySelector(v)]],[document.documentElement]):new u.Y1([[v]],u.Jz)}},37853:(w,k,o)=>{"use strict";o.d(k,{Y1:()=>Le,ZP:()=>fn,Jz:()=>Mn});var u=o(29742),v=o(34638),_=o(32037),t=o(97905),c=Array.prototype.find;function g(){return this.firstElementChild}var p=Array.prototype.filter;function C(){return this.children}function P(V){return new Array(V.length)}function Z(V,X){this.ownerDocument=V.ownerDocument,this.namespaceURI=V.namespaceURI,this._next=null,this._parent=V,this.__data__=X}function H(V){return function(){return V}}function z(V,X,ht,E,At,Ot){for(var Ht,Bt=0,re=X.length,qt=Ot.length;BtX?1:V>=X?0:NaN}Z.prototype={constructor:Z,appendChild:function(V){return this._parent.insertBefore(V,this._next)},insertBefore:function(V,X){return this._parent.insertBefore(V,X)},querySelector:function(V){return this._parent.querySelector(V)},querySelectorAll:function(V){return this._parent.querySelectorAll(V)}};var Zt=o(36175);function Yt(V){return function(){this.removeAttribute(V)}}function ie(V){return function(){this.removeAttributeNS(V.space,V.local)}}function Ut(V,X){return function(){this.setAttribute(V,X)}}function xt(V,X){return function(){this.setAttributeNS(V.space,V.local,X)}}function pt(V,X){return function(){var ht=X.apply(this,arguments);null==ht?this.removeAttribute(V):this.setAttribute(V,ht)}}function Nt(V,X){return function(){var ht=X.apply(this,arguments);null==ht?this.removeAttributeNS(V.space,V.local):this.setAttributeNS(V.space,V.local,ht)}}var ge=o(24476);function _e(V){return function(){delete this[V]}}function Te(V,X){return function(){this[V]=X}}function Ze(V,X){return function(){var ht=X.apply(this,arguments);null==ht?delete this[V]:this[V]=ht}}function Pe(V){return V.trim().split(/^|\s+/)}function mn(V){return V.classList||new Ve(V)}function Ve(V){this._node=V,this._names=Pe(V.getAttribute("class")||"")}function kn(V,X){for(var ht=mn(V),E=-1,At=X.length;++E=0&&(this._names.splice(X,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(V){return this._names.indexOf(V)>=0}};var jn=o(7500);function Gt(){return null}function fe(){var V=this.parentNode;V&&V.removeChild(this)}function Be(){var V=this.cloneNode(!1),X=this.parentNode;return X?X.insertBefore(V,this.nextSibling):V}function Ne(){var V=this.cloneNode(!0),X=this.parentNode;return X?X.insertBefore(V,this.nextSibling):V}function qn(V){return V.trim().split(/^|\s+/).map(function(X){var ht="",E=X.indexOf(".");return E>=0&&(ht=X.slice(E+1),X=X.slice(0,E)),{type:X,name:ht}})}function Di(V){return function(){var X=this.__on;if(X){for(var Ot,ht=0,E=-1,At=X.length;ht=le&&(le=O+1);!(Ie=Dt[le])&&++le=0;)(Bt=E[At])&&(Ot&&4^Bt.compareDocumentPosition(Ot)&&Ot.parentNode.insertBefore(Bt,Ot),Ot=Bt);return this},sort:function Y(V){function X(mt,Ct){return mt&&Ct?V(mt.__data__,Ct.__data__):!mt-!Ct}V||(V=K);for(var ht=this._groups,E=ht.length,At=new Array(E),Ot=0;Ot1?this.each((null==X?_e:"function"==typeof X?Ze:Te)(V,X)):this.node()[V]},classed:function Yn(V,X){var ht=Pe(V+"");if(arguments.length<2){for(var E=mn(this.node()),At=-1,Ot=ht.length;++At{"use strict";o.d(k,{Z:()=>m,S:()=>l});var u=o(2442);function x(t){return function(){this.style.removeProperty(t)}}function v(t,c,h){return function(){this.style.setProperty(t,c,h)}}function _(t,c,h){return function(){var g=c.apply(this,arguments);null==g?this.style.removeProperty(t):this.style.setProperty(t,g,h)}}function m(t,c,h){return arguments.length>1?this.each((null==c?x:"function"==typeof c?_:v)(t,c,null==h?"":h)):l(this.node(),t)}function l(t,c){return t.style.getPropertyValue(c)||(0,u.Z)(t).getComputedStyle(t,null).getPropertyValue(c)}},29742:(w,k,o)=>{"use strict";function u(){}function x(v){return null==v?u:function(){return this.querySelector(v)}}o.d(k,{Z:()=>x})},32037:(w,k,o)=>{"use strict";function u(){return[]}function x(v){return null==v?u:function(){return this.querySelectorAll(v)}}o.d(k,{Z:()=>x})},75819:(w,k,o)=>{"use strict";function u(x){let v;for(;v=x.sourceEvent;)x=v;return x}o.d(k,{Z:()=>u})},2442:(w,k,o)=>{"use strict";function u(x){return x.ownerDocument&&x.ownerDocument.defaultView||x.document&&x||x.defaultView}o.d(k,{Z:()=>u})},73339:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(49194);function x(v,_,m){var l=new u.B7;return l.restart(function(t){l.stop(),v(t+_)},_=null==_?0:+_,m),l}},49194:(w,k,o)=>{"use strict";o.d(k,{zO:()=>p,B7:()=>A,HT:()=>L,R8:()=>N});var m,l,u=0,x=0,v=0,t=0,c=0,h=0,g="object"==typeof performance&&performance.now?performance:Date,d="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(z){setTimeout(z,17)};function p(){return c||(d(C),c=g.now()+h)}function C(){c=0}function A(){this._call=this._time=this._next=null}function L(z,tt,rt){var ot=new A;return ot.restart(z,tt,rt),ot}function N(){p(),++u;for(var tt,z=m;z;)(tt=c-z._time)>=0&&z._call.call(null,tt),z=z._next;--u}function P(){c=(t=g.now())+h,u=x=0;try{N()}finally{u=0,function Z(){for(var z,rt,tt=m,ot=1/0;tt;)tt._call?(ot>tt._time&&(ot=tt._time),z=tt,tt=tt._next):(rt=tt._next,tt._next=null,tt=z?z._next=rt:m=rt);l=z,H(ot)}(),c=0}}function R(){var z=g.now(),tt=z-t;tt>1e3&&(h-=tt,t=z)}function H(z){u||(x&&(x=clearTimeout(x)),z-c>24?(z<1/0&&(x=setTimeout(P,z-g.now()-h)),v&&(v=clearInterval(v))):(v||(t=g.now(),v=setInterval(R,1e3)),u=1,d(P)))}A.prototype=L.prototype={constructor:A,restart:function(z,tt,rt){if("function"!=typeof z)throw new TypeError("callback is not a function");rt=(null==rt?p():+rt)+(null==tt?0:+tt),!this._next&&l!==this&&(l?l._next=this:m=this,l=this),this._call=z,this._time=rt,H()},stop:function(){this._call&&(this._call=null,this._time=1/0,H())}}},60128:(w,k,o)=>{"use strict";o.r(k),o.d(k,{zoom:()=>Xe,zoomIdentity:()=>he,zoomTransform:()=>O});var u=o(25922),x=o(52016);function _(nt){nt.preventDefault(),nt.stopImmediatePropagation()}function m(nt){var _t=nt.document.documentElement,gt=(0,x.Z)(nt).on("dragstart.drag",_,!0);"onselectstart"in _t?gt.on("selectstart.drag",_,!0):(_t.__noselect=_t.style.MozUserSelect,_t.style.MozUserSelect="none")}function l(nt,_t){var gt=nt.document.documentElement,St=(0,x.Z)(nt).on("dragstart.drag",null);_t&&(St.on("click.drag",_,!0),setTimeout(function(){St.on("click.drag",null)},0)),"onselectstart"in gt?St.on("selectstart.drag",null):(gt.style.MozUserSelect=gt.__noselect,delete gt.__noselect)}var t=Math.SQRT2;function d(nt){return((nt=Math.exp(nt))+1/nt)/2}function A(nt,_t){var Oe,Ee,gt=nt[0],St=nt[1],zt=nt[2],me=_t[2],ye=_t[0]-gt,Wt=_t[1]-St,oe=ye*ye+Wt*Wt;if(oe<1e-12)Ee=Math.log(me/zt)/t,Oe=function(Nn){return[gt+Nn*ye,St+Nn*Wt,zt*Math.exp(t*Nn*Ee)]};else{var $e=Math.sqrt(oe),Wn=(me*me-zt*zt+4*oe)/(2*zt*2*$e),On=(me*me-zt*zt-4*oe)/(2*me*2*$e),An=Math.log(Math.sqrt(Wn*Wn+1)-Wn),we=Math.log(Math.sqrt(On*On+1)-On);Ee=(we-An)/t,Oe=function(Nn){var Jn=Nn*Ee,sn=d(An),on=zt/(2*$e)*(sn*function C(nt){return((nt=Math.exp(2*nt))-1)/(nt+1)}(t*Jn+An)-function p(nt){return((nt=Math.exp(nt))-1/nt)/2}(An));return[gt+on*ye,St+on*Wt,zt*sn/d(t*Jn+An)]}}return Oe.duration=1e3*Ee,Oe}var L=o(29132),N=o(37853),P=o(49194),R=o(73339),Z=(0,u.Z)("start","end","cancel","interrupt"),H=[];function at(nt,_t,gt,St,zt,ee){var Qt=nt.__transition;if(Qt){if(gt in Qt)return}else nt.__transition={};!function it(nt,_t,gt){var zt,St=nt.__transition;function Qt(Wt){var oe,Oe,Ee,$e;if(1!==gt.state)return ye();for(oe in St)if(($e=St[oe]).name===gt.name){if(3===$e.state)return(0,R.Z)(Qt);4===$e.state?($e.state=6,$e.timer.stop(),$e.on.call("interrupt",nt,nt.__data__,$e.index,$e.group),delete St[oe]):+oe<_t&&($e.state=6,$e.timer.stop(),$e.on.call("cancel",nt,nt.__data__,$e.index,$e.group),delete St[oe])}if((0,R.Z)(function(){3===gt.state&&(gt.state=4,gt.timer.restart(me,gt.delay,gt.time),me(Wt))}),gt.state=2,gt.on.call("start",nt,nt.__data__,gt.index,gt.group),2===gt.state){for(gt.state=3,zt=new Array(Ee=gt.tween.length),oe=0,Oe=-1;oe0)throw new Error("too late; already scheduled");return gt}function K(nt,_t){var gt=ut(nt,_t);if(gt.state>3)throw new Error("too late; already running");return gt}function ut(nt,_t){var gt=nt.__transition;if(!gt||!(gt=gt[_t]))throw new Error("transition not found");return gt}function G(nt,_t){var St,zt,Qt,gt=nt.__transition,ee=!0;if(gt){for(Qt in _t=null==_t?null:_t+"",gt)(St=gt[Qt]).name===_t?(zt=St.state>2&&St.state<5,St.state=6,St.timer.stop(),St.on.call(zt?"interrupt":"cancel",nt,nt.__data__,St.index,St.group),delete gt[Qt]):ee=!1;ee&&delete nt.__transition}}var ft=o(75349),It=o(36175);function Zt(nt,_t){var gt,St;return function(){var zt=K(this,nt),ee=zt.tween;if(ee!==gt)for(var Qt=0,me=(St=gt=ee).length;Qt=0&&(_t=_t.slice(0,gt)),!_t||"start"===_t})}(_t)?Y:K;return function(){var Qt=ee(this,nt),me=Qt.on;me!==St&&(zt=(St=me).copy()).on(_t,gt),Qt.on=zt}}var ve=o(29742),Ne=o(32037),Zn=N.ZP.prototype.constructor,qn=o(24476);function _n(nt){return function(){this.style.removeProperty(nt)}}function Tn(nt,_t,gt){return function(St){this.style.setProperty(nt,_t.call(this,St),gt)}}function ei(nt,_t,gt){var St,zt;function ee(){var Qt=_t.apply(this,arguments);return Qt!==zt&&(St=(zt=Qt)&&Tn(nt,Qt,gt)),St}return ee._value=_t,ee}function Bn(nt){return function(_t){this.textContent=nt.call(this,_t)}}function fn(nt){var _t,gt;function St(){var zt=nt.apply(this,arguments);return zt!==gt&&(_t=(gt=zt)&&Bn(zt)),_t}return St._value=nt,St}var E=0;function At(nt,_t,gt,St){this._groups=nt,this._parents=_t,this._name=gt,this._id=St}function Bt(){return++E}var Ht=N.ZP.prototype;At.prototype=function Ot(nt){return(0,N.ZP)().transition(nt)}.prototype={constructor:At,select:function Be(nt){var _t=this._name,gt=this._id;"function"!=typeof nt&&(nt=(0,ve.Z)(nt));for(var St=this._groups,zt=St.length,ee=new Array(zt),Qt=0;Qt()=>nt;function te(nt,{sourceEvent:_t,target:gt,transform:St,dispatch:zt}){Object.defineProperties(this,{type:{value:nt,enumerable:!0,configurable:!0},sourceEvent:{value:_t,enumerable:!0,configurable:!0},target:{value:gt,enumerable:!0,configurable:!0},transform:{value:St,enumerable:!0,configurable:!0},_:{value:zt}})}function Dt(nt,_t,gt){this.k=nt,this.x=_t,this.y=gt}Dt.prototype={constructor:Dt,scale:function(nt){return 1===nt?this:new Dt(this.k*nt,this.x,this.y)},translate:function(nt,_t){return 0===nt&0===_t?this:new Dt(this.k,this.x+this.k*nt,this.y+this.k*_t)},apply:function(nt){return[nt[0]*this.k+this.x,nt[1]*this.k+this.y]},applyX:function(nt){return nt*this.k+this.x},applyY:function(nt){return nt*this.k+this.y},invert:function(nt){return[(nt[0]-this.x)/this.k,(nt[1]-this.y)/this.k]},invertX:function(nt){return(nt-this.x)/this.k},invertY:function(nt){return(nt-this.y)/this.k},rescaleX:function(nt){return nt.copy().domain(nt.range().map(this.invertX,this).map(nt.invert,nt))},rescaleY:function(nt){return nt.copy().domain(nt.range().map(this.invertY,this).map(nt.invert,nt))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var he=new Dt(1,0,0);function O(nt){for(;!nt.__zoom;)if(!(nt=nt.parentNode))return he;return nt.__zoom}function le(nt){nt.stopImmediatePropagation()}function ke(nt){nt.preventDefault(),nt.stopImmediatePropagation()}function Ie(nt){return!(nt.ctrlKey&&"wheel"!==nt.type||nt.button)}function nn(){var nt=this;return nt instanceof SVGElement?(nt=nt.ownerSVGElement||nt).hasAttribute("viewBox")?[[(nt=nt.viewBox.baseVal).x,nt.y],[nt.x+nt.width,nt.y+nt.height]]:[[0,0],[nt.width.baseVal.value,nt.height.baseVal.value]]:[[0,0],[nt.clientWidth,nt.clientHeight]]}function ze(){return this.__zoom||he}function We(nt){return-nt.deltaY*(1===nt.deltaMode?.05:nt.deltaMode?1:.002)*(nt.ctrlKey?10:1)}function pe(){return navigator.maxTouchPoints||"ontouchstart"in this}function xe(nt,_t,gt){var St=nt.invertX(_t[0][0])-gt[0][0],zt=nt.invertX(_t[1][0])-gt[1][0],ee=nt.invertY(_t[0][1])-gt[0][1],Qt=nt.invertY(_t[1][1])-gt[1][1];return nt.translate(zt>St?(St+zt)/2:Math.min(0,St)||Math.max(0,zt),Qt>ee?(ee+Qt)/2:Math.min(0,ee)||Math.max(0,Qt))}function Xe(){var oe,Oe,Ee,nt=Ie,_t=nn,gt=xe,St=We,zt=pe,ee=[0,1/0],Qt=[[-1/0,-1/0],[1/0,1/0]],me=250,ye=A,Wt=(0,u.Z)("start","zoom","end"),On=0,An=10;function we(Ft){Ft.property("__zoom",ze).on("wheel.zoom",hi).on("mousedown.zoom",zi).on("dblclick.zoom",Qn).filter(zt).on("touchstart.zoom",Ai).on("touchmove.zoom",ln).on("touchend.zoom touchcancel.zoom",Yi).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function Nn(Ft,Ce){return(Ce=Math.max(ee[0],Math.min(ee[1],Ce)))===Ft.k?Ft:new Dt(Ce,Ft.x,Ft.y)}function Jn(Ft,Ce,jt){var T=Ce[0]-jt[0]*Ft.k,I=Ce[1]-jt[1]*Ft.k;return T===Ft.x&&I===Ft.y?Ft:new Dt(Ft.k,T,I)}function sn(Ft){return[(+Ft[0][0]+ +Ft[1][0])/2,(+Ft[0][1]+ +Ft[1][1])/2]}function on(Ft,Ce,jt,T){Ft.on("start.zoom",function(){Un(this,arguments).event(T).start()}).on("interrupt.zoom end.zoom",function(){Un(this,arguments).event(T).end()}).tween("zoom",function(){var I=this,U=arguments,Q=Un(I,U).event(T),ct=_t.apply(I,U),yt=null==jt?sn(ct):"function"==typeof jt?jt.apply(I,U):jt,kt=Math.max(ct[1][0]-ct[0][0],ct[1][1]-ct[0][1]),Pt=I.__zoom,ae="function"==typeof Ce?Ce.apply(I,U):Ce,De=ye(Pt.invert(yt).concat(kt/Pt.k),ae.invert(yt).concat(kt/ae.k));return function(Ge){if(1===Ge)Ge=ae;else{var qe=De(Ge),Re=kt/qe[2];Ge=new Dt(Re,yt[0]-qe[0]*Re,yt[1]-qe[1]*Re)}Q.zoom(null,Ge)}})}function Un(Ft,Ce,jt){return!jt&&Ft.__zooming||new Vi(Ft,Ce)}function Vi(Ft,Ce){this.that=Ft,this.args=Ce,this.active=0,this.sourceEvent=null,this.extent=_t.apply(Ft,Ce),this.taps=0}function hi(Ft,...Ce){if(nt.apply(this,arguments)){var jt=Un(this,Ce).event(Ft),T=this.__zoom,I=Math.max(ee[0],Math.min(ee[1],T.k*Math.pow(2,St.apply(this,arguments)))),U=(0,L.Z)(Ft);if(jt.wheel)(jt.mouse[0][0]!==U[0]||jt.mouse[0][1]!==U[1])&&(jt.mouse[1]=T.invert(jt.mouse[0]=U)),clearTimeout(jt.wheel);else{if(T.k===I)return;jt.mouse=[U,T.invert(U)],G(this),jt.start()}ke(Ft),jt.wheel=setTimeout(Q,150),jt.zoom("mouse",gt(Jn(Nn(T,I),jt.mouse[0],jt.mouse[1]),jt.extent,Qt))}function Q(){jt.wheel=null,jt.end()}}function zi(Ft,...Ce){if(!Ee&&nt.apply(this,arguments)){var jt=Un(this,Ce,!0).event(Ft),T=(0,x.Z)(Ft.view).on("mousemove.zoom",yt,!0).on("mouseup.zoom",kt,!0),I=(0,L.Z)(Ft,U),U=Ft.currentTarget,Q=Ft.clientX,ct=Ft.clientY;m(Ft.view),le(Ft),jt.mouse=[I,this.__zoom.invert(I)],G(this),jt.start()}function yt(Pt){if(ke(Pt),!jt.moved){var ae=Pt.clientX-Q,De=Pt.clientY-ct;jt.moved=ae*ae+De*De>On}jt.event(Pt).zoom("mouse",gt(Jn(jt.that.__zoom,jt.mouse[0]=(0,L.Z)(Pt,U),jt.mouse[1]),jt.extent,Qt))}function kt(Pt){T.on("mousemove.zoom mouseup.zoom",null),l(Pt.view,jt.moved),ke(Pt),jt.event(Pt).end()}}function Qn(Ft,...Ce){if(nt.apply(this,arguments)){var jt=this.__zoom,T=(0,L.Z)(Ft.changedTouches?Ft.changedTouches[0]:Ft,this),I=jt.invert(T),U=jt.k*(Ft.shiftKey?.5:2),Q=gt(Jn(Nn(jt,U),T,I),_t.apply(this,Ce),Qt);ke(Ft),me>0?(0,x.Z)(this).transition().duration(me).call(on,Q,T,Ft):(0,x.Z)(this).call(we.transform,Q,T,Ft)}}function Ai(Ft,...Ce){if(nt.apply(this,arguments)){var U,Q,ct,yt,jt=Ft.touches,T=jt.length,I=Un(this,Ce,Ft.changedTouches.length===T).event(Ft);for(le(Ft),Q=0;Q{w.exports={graphlib:o(36456),layout:o(14850),debug:o(71914),util:{time:o(11510).time,notime:o(11510).notime},version:o(28126)}},12234:(w,k,o)=>{"use strict";var u=o(45760),x=o(67365);w.exports={run:function v(l){var t="greedy"===l.graph().acyclicer?x(l,function c(h){return function(g){return h.edge(g).weight}}(l)):function _(l){var t=[],c={},h={};return u.forEach(l.nodes(),function g(d){u.has(h,d)||(h[d]=!0,c[d]=!0,u.forEach(l.outEdges(d),function(p){u.has(c,p.w)?t.push(p):g(p.w)}),delete c[d])}),t}(l);u.forEach(t,function(h){var g=l.edge(h);l.removeEdge(h),g.forwardName=h.name,g.reversed=!0,l.setEdge(h.w,h.v,g,u.uniqueId("rev"))})},undo:function m(l){u.forEach(l.edges(),function(t){var c=l.edge(t);if(c.reversed){l.removeEdge(t);var h=c.forwardName;delete c.reversed,delete c.forwardName,l.setEdge(t.w,t.v,c,h)}})}}},79999:(w,k,o)=>{var u=o(45760),x=o(11510);function _(m,l,t,c,h,g){var p=h[l][g-1],C=x.addDummyNode(m,"border",{width:0,height:0,rank:g,borderType:l},t);h[l][g]=C,m.setParent(C,c),p&&m.setEdge(p,C,{weight:1})}w.exports=function v(m){u.forEach(m.children(),function l(t){var c=m.children(t),h=m.node(t);if(c.length&&u.forEach(c,l),u.has(h,"minRank")){h.borderLeft=[],h.borderRight=[];for(var g=h.minRank,d=h.maxRank+1;g{"use strict";var u=o(45760);function _(g){u.forEach(g.nodes(),function(d){m(g.node(d))}),u.forEach(g.edges(),function(d){m(g.edge(d))})}function m(g){var d=g.width;g.width=g.height,g.height=d}function t(g){g.y=-g.y}function h(g){var d=g.x;g.x=g.y,g.y=d}w.exports={adjust:function x(g){var d=g.graph().rankdir.toLowerCase();("lr"===d||"rl"===d)&&_(g)},undo:function v(g){var d=g.graph().rankdir.toLowerCase();("bt"===d||"rl"===d)&&function l(g){u.forEach(g.nodes(),function(d){t(g.node(d))}),u.forEach(g.edges(),function(d){var p=g.edge(d);u.forEach(p.points,t),u.has(p,"y")&&t(p)})}(g),("lr"===d||"rl"===d)&&(function c(g){u.forEach(g.nodes(),function(d){h(g.node(d))}),u.forEach(g.edges(),function(d){var p=g.edge(d);u.forEach(p.points,h),u.has(p,"x")&&h(p)})}(g),_(g))}}},3226:w=>{function k(){var x={};x._next=x._prev=x,this._sentinel=x}function o(x){x._prev._next=x._next,x._next._prev=x._prev,delete x._next,delete x._prev}function u(x,v){if("_next"!==x&&"_prev"!==x)return v}w.exports=k,k.prototype.dequeue=function(){var x=this._sentinel,v=x._prev;if(v!==x)return o(v),v},k.prototype.enqueue=function(x){var v=this._sentinel;x._prev&&x._next&&o(x),x._next=v._next,v._next._prev=x,v._next=x,x._prev=v},k.prototype.toString=function(){for(var x=[],v=this._sentinel,_=v._prev;_!==v;)x.push(JSON.stringify(_,u)),_=_._prev;return"["+x.join(", ")+"]"}},71914:(w,k,o)=>{var u=o(45760),x=o(11510),v=o(36456).Graph;w.exports={debugOrdering:function _(m){var l=x.buildLayerMatrix(m),t=new v({compound:!0,multigraph:!0}).setGraph({});return u.forEach(m.nodes(),function(c){t.setNode(c,{label:c}),t.setParent(c,"layer"+m.node(c).rank)}),u.forEach(m.edges(),function(c){t.setEdge(c.v,c.w,{},c.name)}),u.forEach(l,function(c,h){t.setNode("layer"+h,{rank:"same"}),u.reduce(c,function(d,p){return t.setEdge(d,p,{style:"invis"}),p})}),t}}},36456:(w,k,o)=>{var u;try{u=o(85510)}catch(x){}u||(u=window.graphlib),w.exports=u},67365:(w,k,o)=>{var u=o(45760),x=o(36456).Graph,v=o(3226);w.exports=function m(g,d){if(g.nodeCount()<=1)return[];var p=function c(g,d){var p=new x,C=0,A=0;u.forEach(g.nodes(),function(P){p.setNode(P,{v:P,in:0,out:0})}),u.forEach(g.edges(),function(P){var R=p.edge(P.v,P.w)||0,Z=d(P);p.setEdge(P.v,P.w,R+Z),A=Math.max(A,p.node(P.v).out+=Z),C=Math.max(C,p.node(P.w).in+=Z)});var L=u.range(A+C+3).map(function(){return new v}),N=C+1;return u.forEach(p.nodes(),function(P){h(L,N,p.node(P))}),{graph:p,buckets:L,zeroIdx:N}}(g,d||_),C=function l(g,d,p){for(var N,C=[],A=d[d.length-1],L=d[0];g.nodeCount();){for(;N=L.dequeue();)t(g,d,p,N);for(;N=A.dequeue();)t(g,d,p,N);if(g.nodeCount())for(var P=d.length-2;P>0;--P)if(N=d[P].dequeue()){C=C.concat(t(g,d,p,N,!0));break}}return C}(p.graph,p.buckets,p.zeroIdx);return u.flatten(u.map(C,function(A){return g.outEdges(A.v,A.w)}),!0)};var _=u.constant(1);function t(g,d,p,C,A){var L=A?[]:void 0;return u.forEach(g.inEdges(C.v),function(N){var P=g.edge(N),R=g.node(N.v);A&&L.push({v:N.v,w:N.w}),R.out-=P,h(d,p,R)}),u.forEach(g.outEdges(C.v),function(N){var P=g.edge(N),Z=g.node(N.w);Z.in-=P,h(d,p,Z)}),g.removeNode(C.v),L}function h(g,d,p){p.out?p.in?g[p.out-p.in+d].enqueue(p):g[g.length-1].enqueue(p):g[0].enqueue(p)}},14850:(w,k,o)=>{"use strict";var u=o(45760),x=o(12234),v=o(91496),_=o(94124),m=o(11510).normalizeRanks,l=o(60162),t=o(11510).removeEmptyRanks,c=o(1230),h=o(79999),g=o(83870),d=o(32974),p=o(78226),C=o(11510),A=o(36456).Graph;w.exports=function L(xt,pt){var Nt=pt&&pt.debugTiming?C.time:C.notime;Nt("layout",function(){var Jt=Nt(" buildLayoutGraph",function(){return function et(xt){var pt=new A({multigraph:!0,compound:!0}),Nt=Ut(xt.graph());return pt.setGraph(u.merge({},Z,ie(Nt,R),u.pick(Nt,H))),u.forEach(xt.nodes(),function(Jt){var ge=Ut(xt.node(Jt));pt.setNode(Jt,u.defaults(ie(ge,z),tt)),pt.setParent(Jt,xt.parent(Jt))}),u.forEach(xt.edges(),function(Jt){var ge=Ut(xt.edge(Jt));pt.setEdge(Jt,u.merge({},ot,ie(ge,rt),u.pick(ge,J)))}),pt}(xt)});Nt(" runLayout",function(){!function N(xt,pt){pt(" makeSpaceForEdgeLabels",function(){!function q(xt){var pt=xt.graph();pt.ranksep/=2,u.forEach(xt.edges(),function(Nt){var Jt=xt.edge(Nt);Jt.minlen*=2,"c"!==Jt.labelpos.toLowerCase()&&("TB"===pt.rankdir||"BT"===pt.rankdir?Jt.width+=Jt.labeloffset:Jt.height+=Jt.labeloffset)})}(xt)}),pt(" removeSelfEdges",function(){!function It(xt){u.forEach(xt.edges(),function(pt){if(pt.v===pt.w){var Nt=xt.node(pt.v);Nt.selfEdges||(Nt.selfEdges=[]),Nt.selfEdges.push({e:pt,label:xt.edge(pt)}),xt.removeEdge(pt)}})}(xt)}),pt(" acyclic",function(){x.run(xt)}),pt(" nestingGraph.run",function(){c.run(xt)}),pt(" rank",function(){_(C.asNonCompoundGraph(xt))}),pt(" injectEdgeLabelProxies",function(){!function at(xt){u.forEach(xt.edges(),function(pt){var Nt=xt.edge(pt);if(Nt.width&&Nt.height){var Jt=xt.node(pt.v),ge=xt.node(pt.w);C.addDummyNode(xt,"edge-proxy",{rank:(ge.rank-Jt.rank)/2+Jt.rank,e:pt},"_ep")}})}(xt)}),pt(" removeEmptyRanks",function(){t(xt)}),pt(" nestingGraph.cleanup",function(){c.cleanup(xt)}),pt(" normalizeRanks",function(){m(xt)}),pt(" assignRankMinMax",function(){!function Y(xt){var pt=0;u.forEach(xt.nodes(),function(Nt){var Jt=xt.node(Nt);Jt.borderTop&&(Jt.minRank=xt.node(Jt.borderTop).rank,Jt.maxRank=xt.node(Jt.borderBottom).rank,pt=u.max(pt,Jt.maxRank))}),xt.graph().maxRank=pt}(xt)}),pt(" removeEdgeLabelProxies",function(){!function K(xt){u.forEach(xt.nodes(),function(pt){var Nt=xt.node(pt);"edge-proxy"===Nt.dummy&&(xt.edge(Nt.e).labelRank=Nt.rank,xt.removeNode(pt))})}(xt)}),pt(" normalize.run",function(){v.run(xt)}),pt(" parentDummyChains",function(){l(xt)}),pt(" addBorderSegments",function(){h(xt)}),pt(" order",function(){d(xt)}),pt(" insertSelfEdges",function(){!function Zt(xt){var pt=C.buildLayerMatrix(xt);u.forEach(pt,function(Nt){var Jt=0;u.forEach(Nt,function(ge,_e){var Te=xt.node(ge);Te.order=_e+Jt,u.forEach(Te.selfEdges,function(Ze){C.addDummyNode(xt,"selfedge",{width:Ze.label.width,height:Ze.label.height,rank:Te.rank,order:_e+ ++Jt,e:Ze.e,label:Ze.label},"_se")}),delete Te.selfEdges})})}(xt)}),pt(" adjustCoordinateSystem",function(){g.adjust(xt)}),pt(" position",function(){p(xt)}),pt(" positionSelfEdges",function(){!function Yt(xt){u.forEach(xt.nodes(),function(pt){var Nt=xt.node(pt);if("selfedge"===Nt.dummy){var Jt=xt.node(Nt.e.v),ge=Jt.x+Jt.width/2,_e=Jt.y,Te=Nt.x-ge,Ze=Jt.height/2;xt.setEdge(Nt.e,Nt.label),xt.removeNode(pt),Nt.label.points=[{x:ge+2*Te/3,y:_e-Ze},{x:ge+5*Te/6,y:_e-Ze},{x:ge+Te,y:_e},{x:ge+5*Te/6,y:_e+Ze},{x:ge+2*Te/3,y:_e+Ze}],Nt.label.x=Nt.x,Nt.label.y=Nt.y}})}(xt)}),pt(" removeBorderNodes",function(){!function ft(xt){u.forEach(xt.nodes(),function(pt){if(xt.children(pt).length){var Nt=xt.node(pt),Jt=xt.node(Nt.borderTop),ge=xt.node(Nt.borderBottom),_e=xt.node(u.last(Nt.borderLeft)),Te=xt.node(u.last(Nt.borderRight));Nt.width=Math.abs(Te.x-_e.x),Nt.height=Math.abs(ge.y-Jt.y),Nt.x=_e.x+Nt.width/2,Nt.y=Jt.y+Nt.height/2}}),u.forEach(xt.nodes(),function(pt){"border"===xt.node(pt).dummy&&xt.removeNode(pt)})}(xt)}),pt(" normalize.undo",function(){v.undo(xt)}),pt(" fixupEdgeLabelCoords",function(){!function G(xt){u.forEach(xt.edges(),function(pt){var Nt=xt.edge(pt);if(u.has(Nt,"x"))switch(("l"===Nt.labelpos||"r"===Nt.labelpos)&&(Nt.width-=Nt.labeloffset),Nt.labelpos){case"l":Nt.x-=Nt.width/2+Nt.labeloffset;break;case"r":Nt.x+=Nt.width/2+Nt.labeloffset}})}(xt)}),pt(" undoCoordinateSystem",function(){g.undo(xt)}),pt(" translateGraph",function(){!function ut(xt){var pt=Number.POSITIVE_INFINITY,Nt=0,Jt=Number.POSITIVE_INFINITY,ge=0,_e=xt.graph(),Te=_e.marginx||0,Ze=_e.marginy||0;function yn(Pe){var mn=Pe.x,Ve=Pe.y,kn=Pe.width,de=Pe.height;pt=Math.min(pt,mn-kn/2),Nt=Math.max(Nt,mn+kn/2),Jt=Math.min(Jt,Ve-de/2),ge=Math.max(ge,Ve+de/2)}u.forEach(xt.nodes(),function(Pe){yn(xt.node(Pe))}),u.forEach(xt.edges(),function(Pe){var mn=xt.edge(Pe);u.has(mn,"x")&&yn(mn)}),pt-=Te,Jt-=Ze,u.forEach(xt.nodes(),function(Pe){var mn=xt.node(Pe);mn.x-=pt,mn.y-=Jt}),u.forEach(xt.edges(),function(Pe){var mn=xt.edge(Pe);u.forEach(mn.points,function(Ve){Ve.x-=pt,Ve.y-=Jt}),u.has(mn,"x")&&(mn.x-=pt),u.has(mn,"y")&&(mn.y-=Jt)}),_e.width=Nt-pt+Te,_e.height=ge-Jt+Ze}(xt)}),pt(" assignNodeIntersects",function(){!function it(xt){u.forEach(xt.edges(),function(pt){var _e,Te,Nt=xt.edge(pt),Jt=xt.node(pt.v),ge=xt.node(pt.w);Nt.points?(_e=Nt.points[0],Te=Nt.points[Nt.points.length-1]):(Nt.points=[],_e=ge,Te=Jt),Nt.points.unshift(C.intersectRect(Jt,_e)),Nt.points.push(C.intersectRect(ge,Te))})}(xt)}),pt(" reversePoints",function(){!function M(xt){u.forEach(xt.edges(),function(pt){var Nt=xt.edge(pt);Nt.reversed&&Nt.points.reverse()})}(xt)}),pt(" acyclic.undo",function(){x.undo(xt)})}(Jt,Nt)}),Nt(" updateInputGraph",function(){!function P(xt,pt){u.forEach(xt.nodes(),function(Nt){var Jt=xt.node(Nt),ge=pt.node(Nt);Jt&&(Jt.x=ge.x,Jt.y=ge.y,pt.children(Nt).length&&(Jt.width=ge.width,Jt.height=ge.height))}),u.forEach(xt.edges(),function(Nt){var Jt=xt.edge(Nt),ge=pt.edge(Nt);Jt.points=ge.points,u.has(ge,"x")&&(Jt.x=ge.x,Jt.y=ge.y)}),xt.graph().width=pt.graph().width,xt.graph().height=pt.graph().height}(xt,Jt)})})};var R=["nodesep","edgesep","ranksep","marginx","marginy"],Z={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},H=["acyclicer","ranker","rankdir","align"],z=["width","height"],tt={width:0,height:0},rt=["minlen","weight","width","height","labeloffset"],ot={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},J=["labelpos"];function ie(xt,pt){return u.mapValues(u.pick(xt,pt),Number)}function Ut(xt){var pt={};return u.forEach(xt,function(Nt,Jt){pt[Jt.toLowerCase()]=Nt}),pt}},45760:(w,k,o)=>{var u;try{u={cloneDeep:o(90733),constant:o(76684),defaults:o(28800),each:o(35474),filter:o(35281),find:o(62516),flatten:o(22274),forEach:o(89851),forIn:o(41176),has:o(54842),isUndefined:o(34235),last:o(25809),map:o(19984),mapValues:o(10203),max:o(18176),merge:o(80567),min:o(29439),minBy:o(29525),now:o(31710),pick:o(16372),range:o(90361),reduce:o(81337),sortBy:o(12906),uniqueId:o(51541),values:o(90377),zipObject:o(21617)}}catch(x){}u||(u=window._),w.exports=u},1230:(w,k,o)=>{var u=o(45760),x=o(11510);function _(c,h,g,d,p,C,A){var L=c.children(A);if(L.length){var N=x.addBorderNode(c,"_bt"),P=x.addBorderNode(c,"_bb"),R=c.node(A);c.setParent(N,A),R.borderTop=N,c.setParent(P,A),R.borderBottom=P,u.forEach(L,function(Z){_(c,h,g,d,p,C,Z);var H=c.node(Z),z=H.borderTop?H.borderTop:Z,tt=H.borderBottom?H.borderBottom:Z,rt=H.borderTop?d:2*d,ot=z!==tt?1:p-C[A]+1;c.setEdge(N,z,{weight:rt,minlen:ot,nestingEdge:!0}),c.setEdge(tt,P,{weight:rt,minlen:ot,nestingEdge:!0})}),c.parent(A)||c.setEdge(h,N,{weight:0,minlen:p+C[A]})}else A!==h&&c.setEdge(h,A,{weight:0,minlen:g})}w.exports={run:function v(c){var h=x.addDummyNode(c,"root",{},"_root"),g=function m(c){var h={};function g(d,p){var C=c.children(d);C&&C.length&&u.forEach(C,function(A){g(A,p+1)}),h[d]=p}return u.forEach(c.children(),function(d){g(d,1)}),h}(c),d=u.max(u.values(g))-1,p=2*d+1;c.graph().nestingRoot=h,u.forEach(c.edges(),function(A){c.edge(A).minlen*=p});var C=function l(c){return u.reduce(c.edges(),function(h,g){return h+c.edge(g).weight},0)}(c)+1;u.forEach(c.children(),function(A){_(c,h,p,C,d,g,A)}),c.graph().nodeRankFactor=p},cleanup:function t(c){var h=c.graph();c.removeNode(h.nestingRoot),delete h.nestingRoot,u.forEach(c.edges(),function(g){c.edge(g).nestingEdge&&c.removeEdge(g)})}}},91496:(w,k,o)=>{"use strict";var u=o(45760),x=o(11510);w.exports={run:function v(l){l.graph().dummyChains=[],u.forEach(l.edges(),function(t){!function _(l,t){var c=t.v,h=l.node(c).rank,g=t.w,d=l.node(g).rank,p=t.name,C=l.edge(t),A=C.labelRank;if(d!==h+1){var L,N,P;for(l.removeEdge(t),P=0,++h;h{var u=o(45760);w.exports=function x(v,_,m){var t,l={};u.forEach(m,function(c){for(var g,d,h=v.parent(c);h;){if((g=v.parent(h))?(d=l[g],l[g]=h):(d=t,t=h),d&&d!==h)return void _.setEdge(d,h);h=g}})}},81323:(w,k,o)=>{var u=o(45760);w.exports=function x(v,_){return u.map(_,function(m){var l=v.inEdges(m);if(l.length){var t=u.reduce(l,function(c,h){var g=v.edge(h),d=v.node(h.v);return{sum:c.sum+g.weight*d.order,weight:c.weight+g.weight}},{sum:0,weight:0});return{v:m,barycenter:t.sum/t.weight,weight:t.weight}}return{v:m}})}},1686:(w,k,o)=>{var u=o(45760),x=o(36456).Graph;w.exports=function v(m,l,t){var c=function _(m){for(var l;m.hasNode(l=u.uniqueId("_root")););return l}(m),h=new x({compound:!0}).setGraph({root:c}).setDefaultNodeLabel(function(g){return m.node(g)});return u.forEach(m.nodes(),function(g){var d=m.node(g),p=m.parent(g);(d.rank===l||d.minRank<=l&&l<=d.maxRank)&&(h.setNode(g),h.setParent(g,p||c),u.forEach(m[t](g),function(C){var A=C.v===g?C.w:C.v,L=h.edge(A,g),N=u.isUndefined(L)?0:L.weight;h.setEdge(A,g,{weight:m.edge(C).weight+N})}),u.has(d,"minRank")&&h.setNode(g,{borderLeft:d.borderLeft[l],borderRight:d.borderRight[l]}))}),h}},18796:(w,k,o)=>{"use strict";var u=o(45760);function v(_,m,l){for(var t=u.zipObject(l,u.map(l,function(C,A){return A})),c=u.flatten(u.map(m,function(C){return u.sortBy(u.map(_.outEdges(C),function(A){return{pos:t[A.w],weight:_.edge(A).weight}}),"pos")}),!0),h=1;h0;)A%2&&(L+=d[A+1]),d[A=A-1>>1]+=C.weight;p+=C.weight*L})),p}w.exports=function x(_,m){for(var l=0,t=1;t{"use strict";var u=o(45760),x=o(49402),v=o(18796),_=o(61057),m=o(1686),l=o(33034),t=o(36456).Graph,c=o(11510);function g(C,A,L){return u.map(A,function(N){return m(C,N,L)})}function d(C,A){var L=new t;u.forEach(C,function(N){var P=N.graph().root,R=_(N,P,L,A);u.forEach(R.vs,function(Z,H){N.node(Z).order=H}),l(N,L,R.vs)})}function p(C,A){u.forEach(A,function(L){u.forEach(L,function(N,P){C.node(N).order=P})})}w.exports=function h(C){var A=c.maxRank(C),L=g(C,u.range(1,A+1),"inEdges"),N=g(C,u.range(A-1,-1,-1),"outEdges"),P=x(C);p(C,P);for(var Z,R=Number.POSITIVE_INFINITY,H=0,z=0;z<4;++H,++z){d(H%2?L:N,H%4>=2),P=c.buildLayerMatrix(C);var tt=v(C,P);tt{"use strict";var u=o(45760);w.exports=function x(v){var _={},m=u.filter(v.nodes(),function(g){return!v.children(g).length}),l=u.max(u.map(m,function(g){return v.node(g).rank})),t=u.map(u.range(l+1),function(){return[]}),h=u.sortBy(m,function(g){return v.node(g).rank});return u.forEach(h,function c(g){if(!u.has(_,g)){_[g]=!0;var d=v.node(g);t[d.rank].push(g),u.forEach(v.successors(g),c)}}),t}},83826:(w,k,o)=>{"use strict";var u=o(45760);w.exports=function x(m,l){var t={};return u.forEach(m,function(h,g){var d=t[h.v]={indegree:0,in:[],out:[],vs:[h.v],i:g};u.isUndefined(h.barycenter)||(d.barycenter=h.barycenter,d.weight=h.weight)}),u.forEach(l.edges(),function(h){var g=t[h.v],d=t[h.w];!u.isUndefined(g)&&!u.isUndefined(d)&&(d.indegree++,g.out.push(t[h.w]))}),function v(m){var l=[];function t(g){return function(d){d.merged||(u.isUndefined(d.barycenter)||u.isUndefined(g.barycenter)||d.barycenter>=g.barycenter)&&function _(m,l){var t=0,c=0;m.weight&&(t+=m.barycenter*m.weight,c+=m.weight),l.weight&&(t+=l.barycenter*l.weight,c+=l.weight),m.vs=l.vs.concat(m.vs),m.barycenter=t/c,m.weight=c,m.i=Math.min(l.i,m.i),l.merged=!0}(g,d)}}function c(g){return function(d){d.in.push(g),0==--d.indegree&&m.push(d)}}for(;m.length;){var h=m.pop();l.push(h),u.forEach(h.in.reverse(),t(h)),u.forEach(h.out,c(h))}return u.map(u.filter(l,function(g){return!g.merged}),function(g){return u.pick(g,["vs","i","barycenter","weight"])})}(u.filter(t,function(h){return!h.indegree}))}},61057:(w,k,o)=>{var u=o(45760),x=o(81323),v=o(83826),_=o(93803);w.exports=function m(c,h,g,d){var p=c.children(h),C=c.node(h),A=C?C.borderLeft:void 0,L=C?C.borderRight:void 0,N={};A&&(p=u.filter(p,function(tt){return tt!==A&&tt!==L}));var P=x(c,p);u.forEach(P,function(tt){if(c.children(tt.v).length){var rt=m(c,tt.v,g,d);N[tt.v]=rt,u.has(rt,"barycenter")&&function t(c,h){u.isUndefined(c.barycenter)?(c.barycenter=h.barycenter,c.weight=h.weight):(c.barycenter=(c.barycenter*c.weight+h.barycenter*h.weight)/(c.weight+h.weight),c.weight+=h.weight)}(tt,rt)}});var R=v(P,g);!function l(c,h){u.forEach(c,function(g){g.vs=u.flatten(g.vs.map(function(d){return h[d]?h[d].vs:d}),!0)})}(R,N);var Z=_(R,d);if(A&&(Z.vs=u.flatten([A,Z.vs,L],!0),c.predecessors(A).length)){var H=c.node(c.predecessors(A)[0]),z=c.node(c.predecessors(L)[0]);u.has(Z,"barycenter")||(Z.barycenter=0,Z.weight=0),Z.barycenter=(Z.barycenter*Z.weight+H.order+z.order)/(Z.weight+2),Z.weight+=2}return Z}},93803:(w,k,o)=>{var u=o(45760),x=o(11510);function _(l,t,c){for(var h;t.length&&(h=u.last(t)).i<=c;)t.pop(),l.push(h.vs),c++;return c}w.exports=function v(l,t){var c=x.partition(l,function(N){return u.has(N,"barycenter")}),h=c.lhs,g=u.sortBy(c.rhs,function(N){return-N.i}),d=[],p=0,C=0,A=0;h.sort(function m(l){return function(t,c){return t.barycenterc.barycenter?1:l?c.i-t.i:t.i-c.i}}(!!t)),A=_(d,g,A),u.forEach(h,function(N){A+=N.vs.length,d.push(N.vs),p+=N.barycenter*N.weight,C+=N.weight,A=_(d,g,A)});var L={vs:u.flatten(d,!0)};return C&&(L.barycenter=p/C,L.weight=C),L}},60162:(w,k,o)=>{var u=o(45760);w.exports=function x(m){var l=function _(m){var l={},t=0;return u.forEach(m.children(),function c(h){var g=t;u.forEach(m.children(h),c),l[h]={low:g,lim:t++}}),l}(m);u.forEach(m.graph().dummyChains,function(t){for(var c=m.node(t),h=c.edgeObj,g=function v(m,l,t,c){var C,A,h=[],g=[],d=Math.min(l[t].low,l[c].low),p=Math.max(l[t].lim,l[c].lim);C=t;do{C=m.parent(C),h.push(C)}while(C&&(l[C].low>d||p>l[C].lim));for(A=C,C=c;(C=m.parent(C))!==A;)g.push(C);return{path:h.concat(g.reverse()),lca:A}}(m,l,h.v,h.w),d=g.path,p=g.lca,C=0,A=d[C],L=!0;t!==h.w;){if(c=m.node(t),L){for(;(A=d[C])!==p&&m.node(A).maxRank{"use strict";var u=o(45760),x=o(36456).Graph,v=o(11510);function _(R,Z){var H={};return u.reduce(Z,function z(tt,rt){var ot=0,J=0,et=tt.length,q=u.last(rt);return u.forEach(rt,function(at,Y){var K=function l(R,Z){if(R.node(Z).dummy)return u.find(R.predecessors(Z),function(H){return R.node(H).dummy})}(R,at),ut=K?R.node(K).order:et;(K||at===q)&&(u.forEach(rt.slice(J,Y+1),function(it){u.forEach(R.predecessors(it),function(G){var M=R.node(G),ft=M.order;(ftq)&&t(H,K,at)})})}return u.reduce(Z,function tt(rt,ot){var et,J=-1,q=0;return u.forEach(ot,function(at,Y){if("border"===R.node(at).dummy){var K=R.predecessors(at);K.length&&(et=R.node(K[0]).order,z(ot,q,Y,J,et),q=Y,J=et)}z(ot,q,ot.length,et,rt.length)}),ot}),H}function t(R,Z,H){if(Z>H){var z=Z;Z=H,H=z}var tt=R[Z];tt||(R[Z]=tt={}),tt[H]=!0}function c(R,Z,H){if(Z>H){var z=Z;Z=H,H=z}return u.has(R[Z],H)}function h(R,Z,H,z){var tt={},rt={},ot={};return u.forEach(Z,function(J){u.forEach(J,function(et,q){tt[et]=et,rt[et]=et,ot[et]=q})}),u.forEach(Z,function(J){var et=-1;u.forEach(J,function(q){var at=z(q);if(at.length)for(var Y=((at=u.sortBy(at,function(G){return ot[G]})).length-1)/2,K=Math.floor(Y),ut=Math.ceil(Y);K<=ut;++K){var it=at[K];rt[q]===q&&et{"use strict";var u=o(45760),x=o(11510),v=o(54058).positionX;w.exports=function _(l){(function m(l){var t=x.buildLayerMatrix(l),c=l.graph().ranksep,h=0;u.forEach(t,function(g){var d=u.max(u.map(g,function(p){return l.node(p).height}));u.forEach(g,function(p){l.node(p).y=h+d/2}),h+=d+c})})(l=x.asNonCompoundGraph(l)),u.forEach(v(l),function(t,c){l.node(c).x=t})}},96632:(w,k,o)=>{"use strict";var u=o(45760),x=o(36456).Graph,v=o(1916).slack;function m(c,h){return u.forEach(c.nodes(),function g(d){u.forEach(h.nodeEdges(d),function(p){var C=p.v,A=d===C?p.w:C;!c.hasNode(A)&&!v(h,p)&&(c.setNode(A,{}),c.setEdge(d,A,{}),g(A))})}),c.nodeCount()}function l(c,h){return u.minBy(h.edges(),function(g){if(c.hasNode(g.v)!==c.hasNode(g.w))return v(h,g)})}function t(c,h,g){u.forEach(c.nodes(),function(d){h.node(d).rank+=g})}w.exports=function _(c){var p,C,h=new x({directed:!1}),g=c.nodes()[0],d=c.nodeCount();for(h.setNode(g,{});m(h,c){"use strict";var x=o(1916).longestPath,v=o(96632),_=o(63804);w.exports=function m(h){switch(h.graph().ranker){case"network-simplex":default:!function c(h){_(h)}(h);break;case"tight-tree":!function t(h){x(h),v(h)}(h);break;case"longest-path":l(h)}};var l=x},63804:(w,k,o)=>{"use strict";var u=o(45760),x=o(96632),v=o(1916).slack,_=o(1916).longestPath,m=o(36456).alg.preorder,l=o(36456).alg.postorder,t=o(11510).simplify;function c(H){H=t(H),_(H);var tt,z=x(H);for(p(z),h(z,H);tt=A(z);)N(z,H,tt,L(z,H,tt))}function h(H,z){var tt=l(H,H.nodes());tt=tt.slice(0,tt.length-1),u.forEach(tt,function(rt){!function g(H,z,tt){var rt=H.node(tt);H.edge(tt,rt.parent).cutvalue=d(H,z,tt)}(H,z,rt)})}function d(H,z,tt){var ot=H.node(tt).parent,J=!0,et=z.edge(tt,ot),q=0;return et||(J=!1,et=z.edge(ot,tt)),q=et.weight,u.forEach(z.nodeEdges(tt),function(at){var Y=at.v===tt,K=Y?at.w:at.v;if(K!==ot){var ut=Y===J,it=z.edge(at).weight;if(q+=ut?it:-it,function R(H,z,tt){return H.hasEdge(z,tt)}(H,tt,K)){var G=H.edge(tt,K).cutvalue;q+=ut?-G:G}}}),q}function p(H,z){arguments.length<2&&(z=H.nodes()[0]),C(H,{},1,z)}function C(H,z,tt,rt,ot){var J=tt,et=H.node(rt);return z[rt]=!0,u.forEach(H.neighbors(rt),function(q){u.has(z,q)||(tt=C(H,z,tt,q,rt))}),et.low=J,et.lim=tt++,ot?et.parent=ot:delete et.parent,tt}function A(H){return u.find(H.edges(),function(z){return H.edge(z).cutvalue<0})}function L(H,z,tt){var rt=tt.v,ot=tt.w;z.hasEdge(rt,ot)||(rt=tt.w,ot=tt.v);var J=H.node(rt),et=H.node(ot),q=J,at=!1;J.lim>et.lim&&(q=et,at=!0);var Y=u.filter(z.edges(),function(K){return at===Z(0,H.node(K.v),q)&&at!==Z(0,H.node(K.w),q)});return u.minBy(Y,function(K){return v(z,K)})}function N(H,z,tt,rt){H.removeEdge(tt.v,tt.w),H.setEdge(rt.v,rt.w,{}),p(H),h(H,z),function P(H,z){var tt=u.find(H.nodes(),function(ot){return!z.node(ot).parent}),rt=m(H,tt);rt=rt.slice(1),u.forEach(rt,function(ot){var J=H.node(ot).parent,et=z.edge(ot,J),q=!1;et||(et=z.edge(J,ot),q=!0),z.node(ot).rank=z.node(J).rank+(q?et.minlen:-et.minlen)})}(H,z)}function Z(H,z,tt){return tt.low<=z.lim&&z.lim<=tt.lim}w.exports=c,c.initLowLimValues=p,c.initCutValues=h,c.calcCutValue=d,c.leaveEdge=A,c.enterEdge=L,c.exchangeEdges=N},1916:(w,k,o)=>{"use strict";var u=o(45760);w.exports={longestPath:function x(_){var m={};u.forEach(_.sources(),function l(t){var c=_.node(t);if(u.has(m,t))return c.rank;m[t]=!0;var h=u.min(u.map(_.outEdges(t),function(g){return l(g.w)-_.edge(g).minlen}));return(h===Number.POSITIVE_INFINITY||null==h)&&(h=0),c.rank=h})},slack:function v(_,m){return _.node(m.w).rank-_.node(m.v).rank-_.edge(m).minlen}}},11510:(w,k,o)=>{"use strict";var u=o(45760),x=o(36456).Graph;function v(P,R,Z,H){var z;do{z=u.uniqueId(H)}while(P.hasNode(z));return Z.dummy=R,P.setNode(z,Z),z}function C(P){return u.max(u.map(P.nodes(),function(R){var Z=P.node(R).rank;if(!u.isUndefined(Z))return Z}))}w.exports={addDummyNode:v,simplify:function _(P){var R=(new x).setGraph(P.graph());return u.forEach(P.nodes(),function(Z){R.setNode(Z,P.node(Z))}),u.forEach(P.edges(),function(Z){var H=R.edge(Z.v,Z.w)||{weight:0,minlen:1},z=P.edge(Z);R.setEdge(Z.v,Z.w,{weight:H.weight+z.weight,minlen:Math.max(H.minlen,z.minlen)})}),R},asNonCompoundGraph:function m(P){var R=new x({multigraph:P.isMultigraph()}).setGraph(P.graph());return u.forEach(P.nodes(),function(Z){P.children(Z).length||R.setNode(Z,P.node(Z))}),u.forEach(P.edges(),function(Z){R.setEdge(Z,P.edge(Z))}),R},successorWeights:function l(P){var R=u.map(P.nodes(),function(Z){var H={};return u.forEach(P.outEdges(Z),function(z){H[z.w]=(H[z.w]||0)+P.edge(z).weight}),H});return u.zipObject(P.nodes(),R)},predecessorWeights:function t(P){var R=u.map(P.nodes(),function(Z){var H={};return u.forEach(P.inEdges(Z),function(z){H[z.v]=(H[z.v]||0)+P.edge(z).weight}),H});return u.zipObject(P.nodes(),R)},intersectRect:function c(P,R){var J,et,Z=P.x,H=P.y,z=R.x-Z,tt=R.y-H,rt=P.width/2,ot=P.height/2;if(!z&&!tt)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(tt)*rt>Math.abs(z)*ot?(tt<0&&(ot=-ot),J=ot*z/tt,et=ot):(z<0&&(rt=-rt),J=rt,et=rt*tt/z),{x:Z+J,y:H+et}},buildLayerMatrix:function h(P){var R=u.map(u.range(C(P)+1),function(){return[]});return u.forEach(P.nodes(),function(Z){var H=P.node(Z),z=H.rank;u.isUndefined(z)||(R[z][H.order]=Z)}),R},normalizeRanks:function g(P){var R=u.min(u.map(P.nodes(),function(Z){return P.node(Z).rank}));u.forEach(P.nodes(),function(Z){var H=P.node(Z);u.has(H,"rank")&&(H.rank-=R)})},removeEmptyRanks:function d(P){var R=u.min(u.map(P.nodes(),function(tt){return P.node(tt).rank})),Z=[];u.forEach(P.nodes(),function(tt){var rt=P.node(tt).rank-R;Z[rt]||(Z[rt]=[]),Z[rt].push(tt)});var H=0,z=P.graph().nodeRankFactor;u.forEach(Z,function(tt,rt){u.isUndefined(tt)&&rt%z!=0?--H:H&&u.forEach(tt,function(ot){P.node(ot).rank+=H})})},addBorderNode:function p(P,R,Z,H){var z={width:0,height:0};return arguments.length>=4&&(z.rank=Z,z.order=H),v(P,"border",z,R)},maxRank:C,partition:function A(P,R){var Z={lhs:[],rhs:[]};return u.forEach(P,function(H){R(H)?Z.lhs.push(H):Z.rhs.push(H)}),Z},time:function L(P,R){var Z=u.now();try{return R()}finally{console.log(P+" time: "+(u.now()-Z)+"ms")}},notime:function N(P,R){return R()}}},28126:w=>{w.exports="0.8.5"},85510:(w,k,o)=>{var u=o(51838);w.exports={Graph:u.Graph,json:o(21088),alg:o(83430),version:u.version}},86730:(w,k,o)=>{var u=o(79138);w.exports=function x(v){var l,_={},m=[];function t(c){u.has(_,c)||(_[c]=!0,l.push(c),u.each(v.successors(c),t),u.each(v.predecessors(c),t))}return u.each(v.nodes(),function(c){l=[],t(c),l.length&&m.push(l)}),m}},22163:(w,k,o)=>{var u=o(79138);function v(_,m,l,t,c,h){u.has(t,m)||(t[m]=!0,l||h.push(m),u.each(c(m),function(g){v(_,g,l,t,c,h)}),l&&h.push(m))}w.exports=function x(_,m,l){u.isArray(m)||(m=[m]);var t=(_.isDirected()?_.successors:_.neighbors).bind(_),c=[],h={};return u.each(m,function(g){if(!_.hasNode(g))throw new Error("Graph does not have node: "+g);v(_,g,"post"===l,h,t,c)}),c}},25668:(w,k,o)=>{var u=o(61718),x=o(79138);w.exports=function v(_,m,l){return x.transform(_.nodes(),function(t,c){t[c]=u(_,c,m,l)},{})}},61718:(w,k,o)=>{var u=o(79138),x=o(31919);w.exports=function _(l,t,c,h){return function m(l,t,c,h){var p,C,g={},d=new x,A=function(L){var N=L.v!==p?L.v:L.w,P=g[N],R=c(L),Z=C.distance+R;if(R<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+L+" Weight: "+R);Z0&&(p=d.removeMin(),(C=g[p]).distance!==Number.POSITIVE_INFINITY);)h(p).forEach(A);return g}(l,String(t),c||v,h||function(g){return l.outEdges(g)})};var v=u.constant(1)},9611:(w,k,o)=>{var u=o(79138),x=o(73585);w.exports=function v(_){return u.filter(x(_),function(m){return m.length>1||1===m.length&&_.hasEdge(m[0],m[0])})}},22881:(w,k,o)=>{var u=o(79138);w.exports=function v(m,l,t){return function _(m,l,t){var c={},h=m.nodes();return h.forEach(function(g){c[g]={},c[g][g]={distance:0},h.forEach(function(d){g!==d&&(c[g][d]={distance:Number.POSITIVE_INFINITY})}),t(g).forEach(function(d){var p=d.v===g?d.w:d.v,C=l(d);c[g][p]={distance:C,predecessor:g}})}),h.forEach(function(g){var d=c[g];h.forEach(function(p){var C=c[p];h.forEach(function(A){var N=d[A],P=C[A],R=C[g].distance+N.distance;R{w.exports={components:o(86730),dijkstra:o(61718),dijkstraAll:o(25668),findCycles:o(9611),floydWarshall:o(22881),isAcyclic:o(46693),postorder:o(46694),preorder:o(5330),prim:o(46823),tarjan:o(73585),topsort:o(52180)}},46693:(w,k,o)=>{var u=o(52180);w.exports=function x(v){try{u(v)}catch(_){if(_ instanceof u.CycleException)return!1;throw _}return!0}},46694:(w,k,o)=>{var u=o(22163);w.exports=function x(v,_){return u(v,_,"post")}},5330:(w,k,o)=>{var u=o(22163);w.exports=function x(v,_){return u(v,_,"pre")}},46823:(w,k,o)=>{var u=o(79138),x=o(66568),v=o(31919);w.exports=function _(m,l){var g,t=new x,c={},h=new v;function d(C){var A=C.v===g?C.w:C.v,L=h.priority(A);if(void 0!==L){var N=l(C);N0;){if(g=h.removeMin(),u.has(c,g))t.setEdge(g,c[g]);else{if(p)throw new Error("Input graph is not connected: "+m);p=!0}m.nodeEdges(g).forEach(d)}return t}},73585:(w,k,o)=>{var u=o(79138);w.exports=function x(v){var _=0,m=[],l={},t=[];function c(h){var g=l[h]={onStack:!0,lowlink:_,index:_++};if(m.push(h),v.successors(h).forEach(function(C){u.has(l,C)?l[C].onStack&&(g.lowlink=Math.min(g.lowlink,l[C].index)):(c(C),g.lowlink=Math.min(g.lowlink,l[C].lowlink))}),g.lowlink===g.index){var p,d=[];do{p=m.pop(),l[p].onStack=!1,d.push(p)}while(h!==p);t.push(d)}}return v.nodes().forEach(function(h){u.has(l,h)||c(h)}),t}},52180:(w,k,o)=>{var u=o(79138);function x(_){var m={},l={},t=[];if(u.each(_.sinks(),function c(h){if(u.has(l,h))throw new v;u.has(m,h)||(l[h]=!0,m[h]=!0,u.each(_.predecessors(h),c),delete l[h],t.push(h))}),u.size(m)!==_.nodeCount())throw new v;return t}function v(){}w.exports=x,x.CycleException=v,v.prototype=new Error},31919:(w,k,o)=>{var u=o(79138);function x(){this._arr=[],this._keyIndices={}}w.exports=x,x.prototype.size=function(){return this._arr.length},x.prototype.keys=function(){return this._arr.map(function(v){return v.key})},x.prototype.has=function(v){return u.has(this._keyIndices,v)},x.prototype.priority=function(v){var _=this._keyIndices[v];if(void 0!==_)return this._arr[_].priority},x.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},x.prototype.add=function(v,_){var m=this._keyIndices;if(v=String(v),!u.has(m,v)){var l=this._arr,t=l.length;return m[v]=t,l.push({key:v,priority:_}),this._decrease(t),!0}return!1},x.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var v=this._arr.pop();return delete this._keyIndices[v.key],this._heapify(0),v.key},x.prototype.decrease=function(v,_){var m=this._keyIndices[v];if(_>this._arr[m].priority)throw new Error("New priority is greater than current priority. Key: "+v+" Old: "+this._arr[m].priority+" New: "+_);this._arr[m].priority=_,this._decrease(m)},x.prototype._heapify=function(v){var _=this._arr,m=2*v,l=m+1,t=v;m<_.length&&(t=_[m].priority<_[t].priority?m:t,l<_.length&&(t=_[l].priority<_[t].priority?l:t),t!==v&&(this._swap(v,t),this._heapify(t)))},x.prototype._decrease=function(v){for(var l,_=this._arr,m=_[v].priority;0!==v&&!(_[l=v>>1].priority{"use strict";var u=o(79138);w.exports=m;var v="\0";function m(d){this._isDirected=!u.has(d,"directed")||d.directed,this._isMultigraph=!!u.has(d,"multigraph")&&d.multigraph,this._isCompound=!!u.has(d,"compound")&&d.compound,this._label=void 0,this._defaultNodeLabelFn=u.constant(void 0),this._defaultEdgeLabelFn=u.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[v]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function l(d,p){d[p]?d[p]++:d[p]=1}function t(d,p){--d[p]||delete d[p]}function c(d,p,C,A){var L=""+p,N=""+C;if(!d&&L>N){var P=L;L=N,N=P}return L+"\x01"+N+"\x01"+(u.isUndefined(A)?"\0":A)}function h(d,p,C,A){var L=""+p,N=""+C;if(!d&&L>N){var P=L;L=N,N=P}var R={v:L,w:N};return A&&(R.name=A),R}function g(d,p){return c(d,p.v,p.w,p.name)}m.prototype._nodeCount=0,m.prototype._edgeCount=0,m.prototype.isDirected=function(){return this._isDirected},m.prototype.isMultigraph=function(){return this._isMultigraph},m.prototype.isCompound=function(){return this._isCompound},m.prototype.setGraph=function(d){return this._label=d,this},m.prototype.graph=function(){return this._label},m.prototype.setDefaultNodeLabel=function(d){return u.isFunction(d)||(d=u.constant(d)),this._defaultNodeLabelFn=d,this},m.prototype.nodeCount=function(){return this._nodeCount},m.prototype.nodes=function(){return u.keys(this._nodes)},m.prototype.sources=function(){var d=this;return u.filter(this.nodes(),function(p){return u.isEmpty(d._in[p])})},m.prototype.sinks=function(){var d=this;return u.filter(this.nodes(),function(p){return u.isEmpty(d._out[p])})},m.prototype.setNodes=function(d,p){var C=arguments,A=this;return u.each(d,function(L){C.length>1?A.setNode(L,p):A.setNode(L)}),this},m.prototype.setNode=function(d,p){return u.has(this._nodes,d)?(arguments.length>1&&(this._nodes[d]=p),this):(this._nodes[d]=arguments.length>1?p:this._defaultNodeLabelFn(d),this._isCompound&&(this._parent[d]=v,this._children[d]={},this._children[v][d]=!0),this._in[d]={},this._preds[d]={},this._out[d]={},this._sucs[d]={},++this._nodeCount,this)},m.prototype.node=function(d){return this._nodes[d]},m.prototype.hasNode=function(d){return u.has(this._nodes,d)},m.prototype.removeNode=function(d){var p=this;if(u.has(this._nodes,d)){var C=function(A){p.removeEdge(p._edgeObjs[A])};delete this._nodes[d],this._isCompound&&(this._removeFromParentsChildList(d),delete this._parent[d],u.each(this.children(d),function(A){p.setParent(A)}),delete this._children[d]),u.each(u.keys(this._in[d]),C),delete this._in[d],delete this._preds[d],u.each(u.keys(this._out[d]),C),delete this._out[d],delete this._sucs[d],--this._nodeCount}return this},m.prototype.setParent=function(d,p){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(u.isUndefined(p))p=v;else{for(var C=p+="";!u.isUndefined(C);C=this.parent(C))if(C===d)throw new Error("Setting "+p+" as parent of "+d+" would create a cycle");this.setNode(p)}return this.setNode(d),this._removeFromParentsChildList(d),this._parent[d]=p,this._children[p][d]=!0,this},m.prototype._removeFromParentsChildList=function(d){delete this._children[this._parent[d]][d]},m.prototype.parent=function(d){if(this._isCompound){var p=this._parent[d];if(p!==v)return p}},m.prototype.children=function(d){if(u.isUndefined(d)&&(d=v),this._isCompound){var p=this._children[d];if(p)return u.keys(p)}else{if(d===v)return this.nodes();if(this.hasNode(d))return[]}},m.prototype.predecessors=function(d){var p=this._preds[d];if(p)return u.keys(p)},m.prototype.successors=function(d){var p=this._sucs[d];if(p)return u.keys(p)},m.prototype.neighbors=function(d){var p=this.predecessors(d);if(p)return u.union(p,this.successors(d))},m.prototype.isLeaf=function(d){return 0===(this.isDirected()?this.successors(d):this.neighbors(d)).length},m.prototype.filterNodes=function(d){var p=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});p.setGraph(this.graph());var C=this;u.each(this._nodes,function(N,P){d(P)&&p.setNode(P,N)}),u.each(this._edgeObjs,function(N){p.hasNode(N.v)&&p.hasNode(N.w)&&p.setEdge(N,C.edge(N))});var A={};function L(N){var P=C.parent(N);return void 0===P||p.hasNode(P)?(A[N]=P,P):P in A?A[P]:L(P)}return this._isCompound&&u.each(p.nodes(),function(N){p.setParent(N,L(N))}),p},m.prototype.setDefaultEdgeLabel=function(d){return u.isFunction(d)||(d=u.constant(d)),this._defaultEdgeLabelFn=d,this},m.prototype.edgeCount=function(){return this._edgeCount},m.prototype.edges=function(){return u.values(this._edgeObjs)},m.prototype.setPath=function(d,p){var C=this,A=arguments;return u.reduce(d,function(L,N){return A.length>1?C.setEdge(L,N,p):C.setEdge(L,N),N}),this},m.prototype.setEdge=function(){var d,p,C,A,L=!1,N=arguments[0];"object"==typeof N&&null!==N&&"v"in N?(d=N.v,p=N.w,C=N.name,2===arguments.length&&(A=arguments[1],L=!0)):(d=N,p=arguments[1],C=arguments[3],arguments.length>2&&(A=arguments[2],L=!0)),d=""+d,p=""+p,u.isUndefined(C)||(C=""+C);var P=c(this._isDirected,d,p,C);if(u.has(this._edgeLabels,P))return L&&(this._edgeLabels[P]=A),this;if(!u.isUndefined(C)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(d),this.setNode(p),this._edgeLabels[P]=L?A:this._defaultEdgeLabelFn(d,p,C);var R=h(this._isDirected,d,p,C);return d=R.v,p=R.w,Object.freeze(R),this._edgeObjs[P]=R,l(this._preds[p],d),l(this._sucs[d],p),this._in[p][P]=R,this._out[d][P]=R,this._edgeCount++,this},m.prototype.edge=function(d,p,C){var A=1===arguments.length?g(this._isDirected,arguments[0]):c(this._isDirected,d,p,C);return this._edgeLabels[A]},m.prototype.hasEdge=function(d,p,C){var A=1===arguments.length?g(this._isDirected,arguments[0]):c(this._isDirected,d,p,C);return u.has(this._edgeLabels,A)},m.prototype.removeEdge=function(d,p,C){var A=1===arguments.length?g(this._isDirected,arguments[0]):c(this._isDirected,d,p,C),L=this._edgeObjs[A];return L&&(d=L.v,p=L.w,delete this._edgeLabels[A],delete this._edgeObjs[A],t(this._preds[p],d),t(this._sucs[d],p),delete this._in[p][A],delete this._out[d][A],this._edgeCount--),this},m.prototype.inEdges=function(d,p){var C=this._in[d];if(C){var A=u.values(C);return p?u.filter(A,function(L){return L.v===p}):A}},m.prototype.outEdges=function(d,p){var C=this._out[d];if(C){var A=u.values(C);return p?u.filter(A,function(L){return L.w===p}):A}},m.prototype.nodeEdges=function(d,p){var C=this.inEdges(d,p);if(C)return C.concat(this.outEdges(d,p))}},51838:(w,k,o)=>{w.exports={Graph:o(66568),version:o(75089)}},21088:(w,k,o)=>{var u=o(79138),x=o(66568);function _(t){return u.map(t.nodes(),function(c){var h=t.node(c),g=t.parent(c),d={v:c};return u.isUndefined(h)||(d.value=h),u.isUndefined(g)||(d.parent=g),d})}function m(t){return u.map(t.edges(),function(c){var h=t.edge(c),g={v:c.v,w:c.w};return u.isUndefined(c.name)||(g.name=c.name),u.isUndefined(h)||(g.value=h),g})}w.exports={write:function v(t){var c={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:_(t),edges:m(t)};return u.isUndefined(t.graph())||(c.value=u.clone(t.graph())),c},read:function l(t){var c=new x(t.options).setGraph(t.value);return u.each(t.nodes,function(h){c.setNode(h.v,h.value),h.parent&&c.setParent(h.v,h.parent)}),u.each(t.edges,function(h){c.setEdge({v:h.v,w:h.w,name:h.name},h.value)}),c}}},79138:(w,k,o)=>{var u;try{u={clone:o(11094),constant:o(76684),each:o(35474),filter:o(35281),has:o(54842),isArray:o(21503),isEmpty:o(71973),isFunction:o(75946),isUndefined:o(34235),keys:o(118),map:o(19984),reduce:o(81337),size:o(55637),transform:o(89416),union:o(68921),values:o(90377)}}catch(x){}u||(u=window._),w.exports=u},75089:w=>{w.exports="2.1.8"},40717:(w,k,o)=>{"use strict";var u=o(50623);function x(v){return!0===u(v)&&"[object Object]"===Object.prototype.toString.call(v)}w.exports=function(_){var m,l;return!(!1===x(_)||(m=_.constructor,"function"!=typeof m)||(l=m.prototype,!1===x(l))||!1===l.hasOwnProperty("isPrototypeOf"))}},50623:w=>{"use strict";w.exports=function(o){return null!=o&&"object"==typeof o&&!1===Array.isArray(o)}},52872:w=>{var k=Object.prototype.toString;function o(h){return"function"==typeof h.constructor?h.constructor.name:null}w.exports=function(g){if(void 0===g)return"undefined";if(null===g)return"null";var d=typeof g;if("boolean"===d)return"boolean";if("string"===d)return"string";if("number"===d)return"number";if("symbol"===d)return"symbol";if("function"===d)return function m(h,g){return"GeneratorFunction"===o(h)}(g)?"generatorfunction":"function";if(function u(h){return Array.isArray?Array.isArray(h):h instanceof Array}(g))return"array";if(function c(h){return!(!h.constructor||"function"!=typeof h.constructor.isBuffer)&&h.constructor.isBuffer(h)}(g))return"buffer";if(function t(h){try{if("number"==typeof h.length&&"function"==typeof h.callee)return!0}catch(g){if(-1!==g.message.indexOf("callee"))return!0}return!1}(g))return"arguments";if(function v(h){return h instanceof Date||"function"==typeof h.toDateString&&"function"==typeof h.getDate&&"function"==typeof h.setDate}(g))return"date";if(function x(h){return h instanceof Error||"string"==typeof h.message&&h.constructor&&"number"==typeof h.constructor.stackTraceLimit}(g))return"error";if(function _(h){return h instanceof RegExp||"string"==typeof h.flags&&"boolean"==typeof h.ignoreCase&&"boolean"==typeof h.multiline&&"boolean"==typeof h.global}(g))return"regexp";switch(o(g)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function l(h){return"function"==typeof h.throw&&"function"==typeof h.return&&"function"==typeof h.next}(g))return"generator";switch(d=k.call(g)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return d.slice(8,-1).toLowerCase().replace(/\s/g,"")}},37244:(w,k,o)=>{var v=o(53436)(o(12119),"DataView");w.exports=v},54994:(w,k,o)=>{var u=o(64312),x=o(46421),v=o(15764),_=o(18685),m=o(26676);function l(t){var c=-1,h=null==t?0:t.length;for(this.clear();++c{var u=o(41840),x=o(34378),v=o(54981),_=o(67343),m=o(98895);function l(t){var c=-1,h=null==t?0:t.length;for(this.clear();++c{var v=o(53436)(o(12119),"Map");w.exports=v},99850:(w,k,o)=>{var u=o(10638),x=o(11184),v=o(70866),_=o(43771),m=o(51772);function l(t){var c=-1,h=null==t?0:t.length;for(this.clear();++c{var v=o(53436)(o(12119),"Promise");w.exports=v},46323:(w,k,o)=>{var v=o(53436)(o(12119),"Set");w.exports=v},58849:(w,k,o)=>{var u=o(99850),x=o(4600),v=o(31387);function _(m){var l=-1,t=null==m?0:m.length;for(this.__data__=new u;++l{var u=o(9215),x=o(13720),v=o(64410),_=o(45576),m=o(22247),l=o(41585);function t(c){var h=this.__data__=new u(c);this.size=h.size}t.prototype.clear=x,t.prototype.delete=v,t.prototype.get=_,t.prototype.has=m,t.prototype.set=l,w.exports=t},60443:(w,k,o)=>{var u=o(12119);w.exports=u.Symbol},73457:(w,k,o)=>{var u=o(12119);w.exports=u.Uint8Array},24243:(w,k,o)=>{var v=o(53436)(o(12119),"WeakMap");w.exports=v},26999:w=>{w.exports=function k(o,u,x){switch(x.length){case 0:return o.call(u);case 1:return o.call(u,x[0]);case 2:return o.call(u,x[0],x[1]);case 3:return o.call(u,x[0],x[1],x[2])}return o.apply(u,x)}},96837:w=>{w.exports=function k(o,u){for(var x=-1,v=null==o?0:o.length;++x{w.exports=function k(o,u){for(var x=-1,v=null==o?0:o.length,_=0,m=[];++x{var u=o(14164);w.exports=function x(v,_){return!(null==v||!v.length)&&u(v,_,0)>-1}},37609:w=>{w.exports=function k(o,u,x){for(var v=-1,_=null==o?0:o.length;++v<_;)if(x(u,o[v]))return!0;return!1}},72271:(w,k,o)=>{var u=o(85334),x=o(77151),v=o(21503),_=o(80891),m=o(58442),l=o(48159),c=Object.prototype.hasOwnProperty;w.exports=function h(g,d){var p=v(g),C=!p&&x(g),A=!p&&!C&&_(g),L=!p&&!C&&!A&&l(g),N=p||C||A||L,P=N?u(g.length,String):[],R=P.length;for(var Z in g)(d||c.call(g,Z))&&(!N||!("length"==Z||A&&("offset"==Z||"parent"==Z)||L&&("buffer"==Z||"byteLength"==Z||"byteOffset"==Z)||m(Z,R)))&&P.push(Z);return P}},84633:w=>{w.exports=function k(o,u){for(var x=-1,v=null==o?0:o.length,_=Array(v);++x{w.exports=function k(o,u){for(var x=-1,v=u.length,_=o.length;++x{w.exports=function k(o,u,x,v){var _=-1,m=null==o?0:o.length;for(v&&m&&(x=o[++_]);++_{w.exports=function k(o,u){for(var x=-1,v=null==o?0:o.length;++x{var x=o(11847)("length");w.exports=x},49276:(w,k,o)=>{var u=o(85683),x=o(20217);w.exports=function v(_,m,l){(void 0!==l&&!x(_[m],l)||void 0===l&&!(m in _))&&u(_,m,l)}},89719:(w,k,o)=>{var u=o(85683),x=o(20217),_=Object.prototype.hasOwnProperty;w.exports=function m(l,t,c){var h=l[t];(!_.call(l,t)||!x(h,c)||void 0===c&&!(t in l))&&u(l,t,c)}},43503:(w,k,o)=>{var u=o(20217);w.exports=function x(v,_){for(var m=v.length;m--;)if(u(v[m][0],_))return m;return-1}},94121:(w,k,o)=>{var u=o(31989),x=o(118);w.exports=function v(_,m){return _&&u(m,x(m),_)}},99287:(w,k,o)=>{var u=o(31989),x=o(16555);w.exports=function v(_,m){return _&&u(m,x(m),_)}},85683:(w,k,o)=>{var u=o(56713);w.exports=function x(v,_,m){"__proto__"==_&&u?u(v,_,{configurable:!0,enumerable:!0,value:m,writable:!0}):v[_]=m}},44462:(w,k,o)=>{var u=o(2858),x=o(96837),v=o(89719),_=o(94121),m=o(99287),l=o(19292),t=o(99454),c=o(84444),h=o(59905),g=o(47597),d=o(6967),p=o(28794),C=o(76782),A=o(37878),L=o(4264),N=o(21503),P=o(80891),R=o(13222),Z=o(25940),H=o(90799),z=o(118),tt=o(16555),et="[object Arguments]",ut="[object Function]",ft="[object Object]",Ve={};Ve[et]=Ve["[object Array]"]=Ve["[object ArrayBuffer]"]=Ve["[object DataView]"]=Ve["[object Boolean]"]=Ve["[object Date]"]=Ve["[object Float32Array]"]=Ve["[object Float64Array]"]=Ve["[object Int8Array]"]=Ve["[object Int16Array]"]=Ve["[object Int32Array]"]=Ve["[object Map]"]=Ve["[object Number]"]=Ve[ft]=Ve["[object RegExp]"]=Ve["[object Set]"]=Ve["[object String]"]=Ve["[object Symbol]"]=Ve["[object Uint8Array]"]=Ve["[object Uint8ClampedArray]"]=Ve["[object Uint16Array]"]=Ve["[object Uint32Array]"]=!0,Ve["[object Error]"]=Ve[ut]=Ve["[object WeakMap]"]=!1,w.exports=function kn(de,gn,Xn,ni,Yn,an){var je,dn=1&gn,En=2&gn,Ue=4&gn;if(Xn&&(je=Yn?Xn(de,ni,Yn,an):Xn(de)),void 0!==je)return je;if(!Z(de))return de;var ci=N(de);if(ci){if(je=C(de),!dn)return t(de,je)}else{var Rn=p(de),vn=Rn==ut||"[object GeneratorFunction]"==Rn;if(P(de))return l(de,dn);if(Rn==ft||Rn==et||vn&&!Yn){if(je=En||vn?{}:L(de),!dn)return En?h(de,m(je,de)):c(de,_(je,de))}else{if(!Ve[Rn])return Yn?de:{};je=A(de,Rn,dn)}}an||(an=new u);var Hn=an.get(de);if(Hn)return Hn;an.set(de,je),H(de)?de.forEach(function($n){je.add(kn($n,gn,Xn,$n,de,an))}):R(de)&&de.forEach(function($n,jn){je.set(jn,kn($n,gn,Xn,jn,de,an))});var Me=ci?void 0:(Ue?En?d:g:En?tt:z)(de);return x(Me||de,function($n,jn){Me&&($n=de[jn=$n]),v(je,jn,kn($n,gn,Xn,jn,de,an))}),je}},78858:(w,k,o)=>{var u=o(25940),x=Object.create,v=function(){function _(){}return function(m){if(!u(m))return{};if(x)return x(m);_.prototype=m;var l=new _;return _.prototype=void 0,l}}();w.exports=v},43132:(w,k,o)=>{var u=o(45184),v=o(16539)(u);w.exports=v},67308:(w,k,o)=>{var u=o(44129);w.exports=function x(v,_,m){for(var l=-1,t=v.length;++l{var u=o(43132);w.exports=function x(v,_){var m=[];return u(v,function(l,t,c){_(l,t,c)&&m.push(l)}),m}},65317:w=>{w.exports=function k(o,u,x,v){for(var _=o.length,m=x+(v?1:-1);v?m--:++m<_;)if(u(o[m],m,o))return m;return-1}},50686:(w,k,o)=>{var u=o(85059),x=o(75039);w.exports=function v(_,m,l,t,c){var h=-1,g=_.length;for(l||(l=x),c||(c=[]);++h0&&l(d)?m>1?v(d,m-1,l,t,c):u(c,d):t||(c[c.length]=d)}return c}},30755:(w,k,o)=>{var x=o(40456)();w.exports=x},45184:(w,k,o)=>{var u=o(30755),x=o(118);w.exports=function v(_,m){return _&&u(_,m,x)}},15456:(w,k,o)=>{var u=o(65456),x=o(68533);w.exports=function v(_,m){for(var l=0,t=(m=u(m,_)).length;null!=_&&l{var u=o(85059),x=o(21503);w.exports=function v(_,m,l){var t=m(_);return x(_)?t:u(t,l(_))}},93337:(w,k,o)=>{var u=o(60443),x=o(21318),v=o(92902),l=u?u.toStringTag:void 0;w.exports=function t(c){return null==c?void 0===c?"[object Undefined]":"[object Null]":l&&l in Object(c)?x(c):v(c)}},31100:w=>{w.exports=function k(o,u){return o>u}},84781:w=>{var o=Object.prototype.hasOwnProperty;w.exports=function u(x,v){return null!=x&&o.call(x,v)}},69989:w=>{w.exports=function k(o,u){return null!=o&&u in Object(o)}},14164:(w,k,o)=>{var u=o(65317),x=o(70968),v=o(24977);w.exports=function _(m,l,t){return l==l?v(m,l,t):u(m,x,t)}},60186:(w,k,o)=>{var u=o(93337),x=o(72671);w.exports=function _(m){return x(m)&&"[object Arguments]"==u(m)}},85740:(w,k,o)=>{var u=o(58325),x=o(72671);w.exports=function v(_,m,l,t,c){return _===m||(null==_||null==m||!x(_)&&!x(m)?_!=_&&m!=m:u(_,m,l,t,v,c))}},58325:(w,k,o)=>{var u=o(2858),x=o(63914),v=o(78583),_=o(32286),m=o(28794),l=o(21503),t=o(80891),c=o(48159),g="[object Arguments]",d="[object Array]",p="[object Object]",A=Object.prototype.hasOwnProperty;w.exports=function L(N,P,R,Z,H,z){var tt=l(N),rt=l(P),ot=tt?d:m(N),J=rt?d:m(P),et=(ot=ot==g?p:ot)==p,q=(J=J==g?p:J)==p,at=ot==J;if(at&&t(N)){if(!t(P))return!1;tt=!0,et=!1}if(at&&!et)return z||(z=new u),tt||c(N)?x(N,P,R,Z,H,z):v(N,P,ot,R,Z,H,z);if(!(1&R)){var Y=et&&A.call(N,"__wrapped__"),K=q&&A.call(P,"__wrapped__");if(Y||K){var ut=Y?N.value():N,it=K?P.value():P;return z||(z=new u),H(ut,it,R,Z,z)}}return!!at&&(z||(z=new u),_(N,P,R,Z,H,z))}},97021:(w,k,o)=>{var u=o(28794),x=o(72671);w.exports=function _(m){return x(m)&&"[object Map]"==u(m)}},40431:(w,k,o)=>{var u=o(2858),x=o(85740);w.exports=function m(l,t,c,h){var g=c.length,d=g,p=!h;if(null==l)return!d;for(l=Object(l);g--;){var C=c[g];if(p&&C[2]?C[1]!==l[C[0]]:!(C[0]in l))return!1}for(;++g{w.exports=function k(o){return o!=o}},37304:(w,k,o)=>{var u=o(75946),x=o(91943),v=o(25940),_=o(52827),l=/^\[object .+?Constructor\]$/,d=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");w.exports=function p(C){return!(!v(C)||x(C))&&(u(C)?d:l).test(_(C))}},771:(w,k,o)=>{var u=o(28794),x=o(72671);w.exports=function _(m){return x(m)&&"[object Set]"==u(m)}},1083:(w,k,o)=>{var u=o(93337),x=o(96231),v=o(72671),at={};at["[object Float32Array]"]=at["[object Float64Array]"]=at["[object Int8Array]"]=at["[object Int16Array]"]=at["[object Int32Array]"]=at["[object Uint8Array]"]=at["[object Uint8ClampedArray]"]=at["[object Uint16Array]"]=at["[object Uint32Array]"]=!0,at["[object Arguments]"]=at["[object Array]"]=at["[object ArrayBuffer]"]=at["[object Boolean]"]=at["[object DataView]"]=at["[object Date]"]=at["[object Error]"]=at["[object Function]"]=at["[object Map]"]=at["[object Number]"]=at["[object Object]"]=at["[object RegExp]"]=at["[object Set]"]=at["[object String]"]=at["[object WeakMap]"]=!1,w.exports=function Y(K){return v(K)&&x(K.length)&&!!at[u(K)]}},96517:(w,k,o)=>{var u=o(98133),x=o(9458),v=o(32608),_=o(21503),m=o(87495);w.exports=function l(t){return"function"==typeof t?t:null==t?v:"object"==typeof t?_(t)?x(t[0],t[1]):u(t):m(t)}},81172:(w,k,o)=>{var u=o(45488),x=o(85491),_=Object.prototype.hasOwnProperty;w.exports=function m(l){if(!u(l))return x(l);var t=[];for(var c in Object(l))_.call(l,c)&&"constructor"!=c&&t.push(c);return t}},92809:(w,k,o)=>{var u=o(25940),x=o(45488),v=o(32158),m=Object.prototype.hasOwnProperty;w.exports=function l(t){if(!u(t))return v(t);var c=x(t),h=[];for(var g in t)"constructor"==g&&(c||!m.call(t,g))||h.push(g);return h}},99069:w=>{w.exports=function k(o,u){return o{var u=o(43132),x=o(56507);w.exports=function v(_,m){var l=-1,t=x(_)?Array(_.length):[];return u(_,function(c,h,g){t[++l]=m(c,h,g)}),t}},98133:(w,k,o)=>{var u=o(40431),x=o(22379),v=o(642);w.exports=function _(m){var l=x(m);return 1==l.length&&l[0][2]?v(l[0][0],l[0][1]):function(t){return t===m||u(t,m,l)}}},9458:(w,k,o)=>{var u=o(85740),x=o(8817),v=o(11172),_=o(45352),m=o(22442),l=o(642),t=o(68533);w.exports=function g(d,p){return _(d)&&m(p)?l(t(d),p):function(C){var A=x(C,d);return void 0===A&&A===p?v(C,d):u(p,A,3)}}},73842:(w,k,o)=>{var u=o(2858),x=o(49276),v=o(30755),_=o(33675),m=o(25940),l=o(16555),t=o(99351);w.exports=function c(h,g,d,p,C){h!==g&&v(g,function(A,L){if(C||(C=new u),m(A))_(h,g,L,d,c,p,C);else{var N=p?p(t(h,L),A,L+"",h,g,C):void 0;void 0===N&&(N=A),x(h,L,N)}},l)}},33675:(w,k,o)=>{var u=o(49276),x=o(19292),v=o(65208),_=o(99454),m=o(4264),l=o(77151),t=o(21503),c=o(92377),h=o(80891),g=o(75946),d=o(25940),p=o(97614),C=o(48159),A=o(99351),L=o(8067);w.exports=function N(P,R,Z,H,z,tt,rt){var ot=A(P,Z),J=A(R,Z),et=rt.get(J);if(et)u(P,Z,et);else{var q=tt?tt(ot,J,Z+"",P,R,rt):void 0,at=void 0===q;if(at){var Y=t(J),K=!Y&&h(J),ut=!Y&&!K&&C(J);q=J,Y||K||ut?t(ot)?q=ot:c(ot)?q=_(ot):K?(at=!1,q=x(J,!0)):ut?(at=!1,q=v(J,!0)):q=[]:p(J)||l(J)?(q=ot,l(ot)?q=L(ot):(!d(ot)||g(ot))&&(q=m(J))):at=!1}at&&(rt.set(J,q),z(q,J,H,tt,rt),rt.delete(J)),u(P,Z,q)}}},6119:(w,k,o)=>{var u=o(84633),x=o(15456),v=o(96517),_=o(92046),m=o(42061),l=o(85647),t=o(41215),c=o(32608),h=o(21503);w.exports=function g(d,p,C){p=p.length?u(p,function(N){return h(N)?function(P){return x(P,1===N.length?N[0]:N)}:N}):[c];var A=-1;p=u(p,l(v));var L=_(d,function(N,P,R){return{criteria:u(p,function(H){return H(N)}),index:++A,value:N}});return m(L,function(N,P){return t(N,P,C)})}},83021:(w,k,o)=>{var u=o(95495),x=o(11172);w.exports=function v(_,m){return u(_,m,function(l,t){return x(_,t)})}},95495:(w,k,o)=>{var u=o(15456),x=o(55963),v=o(65456);w.exports=function _(m,l,t){for(var c=-1,h=l.length,g={};++c{w.exports=function k(o){return function(u){return null==u?void 0:u[o]}}},39222:(w,k,o)=>{var u=o(15456);w.exports=function x(v){return function(_){return u(_,v)}}},16307:w=>{var k=Math.ceil,o=Math.max;w.exports=function u(x,v,_,m){for(var l=-1,t=o(k((v-x)/(_||1)),0),c=Array(t);t--;)c[m?t:++l]=x,x+=_;return c}},13570:w=>{w.exports=function k(o,u,x,v,_){return _(o,function(m,l,t){x=v?(v=!1,m):u(x,m,l,t)}),x}},23269:(w,k,o)=>{var u=o(32608),x=o(53983),v=o(72185);w.exports=function _(m,l){return v(x(m,l,u),m+"")}},55963:(w,k,o)=>{var u=o(89719),x=o(65456),v=o(58442),_=o(25940),m=o(68533);w.exports=function l(t,c,h,g){if(!_(t))return t;for(var d=-1,p=(c=x(c,t)).length,C=p-1,A=t;null!=A&&++d{var u=o(76684),x=o(56713),v=o(32608);w.exports=x?function(m,l){return x(m,"toString",{configurable:!0,enumerable:!1,value:u(l),writable:!0})}:v},42061:w=>{w.exports=function k(o,u){var x=o.length;for(o.sort(u);x--;)o[x]=o[x].value;return o}},85334:w=>{w.exports=function k(o,u){for(var x=-1,v=Array(o);++x{var u=o(60443),x=o(84633),v=o(21503),_=o(44129),l=u?u.prototype:void 0,t=l?l.toString:void 0;w.exports=function c(h){if("string"==typeof h)return h;if(v(h))return x(h,c)+"";if(_(h))return t?t.call(h):"";var g=h+"";return"0"==g&&1/h==-1/0?"-0":g}},83348:(w,k,o)=>{var u=o(42760),x=/^\s+/;w.exports=function v(_){return _&&_.slice(0,u(_)+1).replace(x,"")}},85647:w=>{w.exports=function k(o){return function(u){return o(u)}}},80707:(w,k,o)=>{var u=o(58849),x=o(61253),v=o(37609),_=o(25972),m=o(14575),l=o(24174);w.exports=function c(h,g,d){var p=-1,C=x,A=h.length,L=!0,N=[],P=N;if(d)L=!1,C=v;else if(A>=200){var R=g?null:m(h);if(R)return l(R);L=!1,C=_,P=new u}else P=g?[]:N;t:for(;++p{var u=o(84633);w.exports=function x(v,_){return u(_,function(m){return v[m]})}},38645:w=>{w.exports=function k(o,u,x){for(var v=-1,_=o.length,m=u.length,l={};++v<_;)x(l,o[v],v{w.exports=function k(o,u){return o.has(u)}},21481:(w,k,o)=>{var u=o(32608);w.exports=function x(v){return"function"==typeof v?v:u}},65456:(w,k,o)=>{var u=o(21503),x=o(45352),v=o(32855),_=o(73943);w.exports=function m(l,t){return u(l)?l:x(l,t)?[l]:v(_(l))}},43362:(w,k,o)=>{var u=o(73457);w.exports=function x(v){var _=new v.constructor(v.byteLength);return new u(_).set(new u(v)),_}},19292:(w,k,o)=>{w=o.nmd(w);var u=o(12119),x=k&&!k.nodeType&&k,v=x&&w&&!w.nodeType&&w,m=v&&v.exports===x?u.Buffer:void 0,l=m?m.allocUnsafe:void 0;w.exports=function t(c,h){if(h)return c.slice();var g=c.length,d=l?l(g):new c.constructor(g);return c.copy(d),d}},17e3:(w,k,o)=>{var u=o(43362);w.exports=function x(v,_){var m=_?u(v.buffer):v.buffer;return new v.constructor(m,v.byteOffset,v.byteLength)}},74098:w=>{var k=/\w*$/;w.exports=function o(u){var x=new u.constructor(u.source,k.exec(u));return x.lastIndex=u.lastIndex,x}},62533:(w,k,o)=>{var u=o(60443),x=u?u.prototype:void 0,v=x?x.valueOf:void 0;w.exports=function _(m){return v?Object(v.call(m)):{}}},65208:(w,k,o)=>{var u=o(43362);w.exports=function x(v,_){var m=_?u(v.buffer):v.buffer;return new v.constructor(m,v.byteOffset,v.length)}},13443:(w,k,o)=>{var u=o(44129);w.exports=function x(v,_){if(v!==_){var m=void 0!==v,l=null===v,t=v==v,c=u(v),h=void 0!==_,g=null===_,d=_==_,p=u(_);if(!g&&!p&&!c&&v>_||c&&h&&d&&!g&&!p||l&&h&&d||!m&&d||!t)return 1;if(!l&&!c&&!p&&v<_||p&&m&&t&&!l&&!c||g&&m&&t||!h&&t||!d)return-1}return 0}},41215:(w,k,o)=>{var u=o(13443);w.exports=function x(v,_,m){for(var l=-1,t=v.criteria,c=_.criteria,h=t.length,g=m.length;++l=g?d:d*("desc"==m[l]?-1:1)}return v.index-_.index}},99454:w=>{w.exports=function k(o,u){var x=-1,v=o.length;for(u||(u=Array(v));++x{var u=o(89719),x=o(85683);w.exports=function v(_,m,l,t){var c=!l;l||(l={});for(var h=-1,g=m.length;++h{var u=o(31989),x=o(39383);w.exports=function v(_,m){return u(_,x(_),m)}},59905:(w,k,o)=>{var u=o(31989),x=o(53051);w.exports=function v(_,m){return u(_,x(_),m)}},24610:(w,k,o)=>{var u=o(12119);w.exports=u["__core-js_shared__"]},84944:(w,k,o)=>{var u=o(23269),x=o(93342);w.exports=function v(_){return u(function(m,l){var t=-1,c=l.length,h=c>1?l[c-1]:void 0,g=c>2?l[2]:void 0;for(h=_.length>3&&"function"==typeof h?(c--,h):void 0,g&&x(l[0],l[1],g)&&(h=c<3?void 0:h,c=1),m=Object(m);++t{var u=o(56507);w.exports=function x(v,_){return function(m,l){if(null==m)return m;if(!u(m))return v(m,l);for(var t=m.length,c=_?t:-1,h=Object(m);(_?c--:++c{w.exports=function k(o){return function(u,x,v){for(var _=-1,m=Object(u),l=v(u),t=l.length;t--;){var c=l[o?t:++_];if(!1===x(m[c],c,m))break}return u}}},24653:(w,k,o)=>{var u=o(96517),x=o(56507),v=o(118);w.exports=function _(m){return function(l,t,c){var h=Object(l);if(!x(l)){var g=u(t,3);l=v(l),t=function(p){return g(h[p],p,h)}}var d=m(l,t,c);return d>-1?h[g?l[d]:d]:void 0}}},97509:(w,k,o)=>{var u=o(16307),x=o(93342),v=o(12232);w.exports=function _(m){return function(l,t,c){return c&&"number"!=typeof c&&x(l,t,c)&&(t=c=void 0),l=v(l),void 0===t?(t=l,l=0):t=v(t),c=void 0===c?l{var u=o(46323),x=o(12552),v=o(24174),m=u&&1/v(new u([,-0]))[1]==1/0?function(l){return new u(l)}:x;w.exports=m},56713:(w,k,o)=>{var u=o(53436),x=function(){try{var v=u(Object,"defineProperty");return v({},"",{}),v}catch(_){}}();w.exports=x},63914:(w,k,o)=>{var u=o(58849),x=o(79503),v=o(25972);w.exports=function l(t,c,h,g,d,p){var C=1&h,A=t.length,L=c.length;if(A!=L&&!(C&&L>A))return!1;var N=p.get(t),P=p.get(c);if(N&&P)return N==c&&P==t;var R=-1,Z=!0,H=2&h?new u:void 0;for(p.set(t,c),p.set(c,t);++R{var u=o(60443),x=o(73457),v=o(20217),_=o(63914),m=o(83205),l=o(24174),H=u?u.prototype:void 0,z=H?H.valueOf:void 0;w.exports=function tt(rt,ot,J,et,q,at,Y){switch(J){case"[object DataView]":if(rt.byteLength!=ot.byteLength||rt.byteOffset!=ot.byteOffset)return!1;rt=rt.buffer,ot=ot.buffer;case"[object ArrayBuffer]":return!(rt.byteLength!=ot.byteLength||!at(new x(rt),new x(ot)));case"[object Boolean]":case"[object Date]":case"[object Number]":return v(+rt,+ot);case"[object Error]":return rt.name==ot.name&&rt.message==ot.message;case"[object RegExp]":case"[object String]":return rt==ot+"";case"[object Map]":var K=m;case"[object Set]":if(K||(K=l),rt.size!=ot.size&&!(1&et))return!1;var it=Y.get(rt);if(it)return it==ot;et|=2,Y.set(rt,ot);var G=_(K(rt),K(ot),et,q,at,Y);return Y.delete(rt),G;case"[object Symbol]":if(z)return z.call(rt)==z.call(ot)}return!1}},32286:(w,k,o)=>{var u=o(47597),_=Object.prototype.hasOwnProperty;w.exports=function m(l,t,c,h,g,d){var p=1&c,C=u(l),A=C.length;if(A!=u(t).length&&!p)return!1;for(var P=A;P--;){var R=C[P];if(!(p?R in t:_.call(t,R)))return!1}var Z=d.get(l),H=d.get(t);if(Z&&H)return Z==t&&H==l;var z=!0;d.set(l,t),d.set(t,l);for(var tt=p;++P{var u=o(22274),x=o(53983),v=o(72185);w.exports=function _(m){return v(x(m,void 0,u),m+"")}},79122:w=>{var k="object"==typeof global&&global&&global.Object===Object&&global;w.exports=k},47597:(w,k,o)=>{var u=o(38247),x=o(39383),v=o(118);w.exports=function _(m){return u(m,v,x)}},6967:(w,k,o)=>{var u=o(38247),x=o(53051),v=o(16555);w.exports=function _(m){return u(m,v,x)}},54537:(w,k,o)=>{var u=o(23819);w.exports=function x(v,_){var m=v.__data__;return u(_)?m["string"==typeof _?"string":"hash"]:m.map}},22379:(w,k,o)=>{var u=o(22442),x=o(118);w.exports=function v(_){for(var m=x(_),l=m.length;l--;){var t=m[l],c=_[t];m[l]=[t,c,u(c)]}return m}},53436:(w,k,o)=>{var u=o(37304),x=o(51990);w.exports=function v(_,m){var l=x(_,m);return u(l)?l:void 0}},29519:(w,k,o)=>{var x=o(69385)(Object.getPrototypeOf,Object);w.exports=x},21318:(w,k,o)=>{var u=o(60443),x=Object.prototype,v=x.hasOwnProperty,_=x.toString,m=u?u.toStringTag:void 0;w.exports=function l(t){var c=v.call(t,m),h=t[m];try{t[m]=void 0;var g=!0}catch(p){}var d=_.call(t);return g&&(c?t[m]=h:delete t[m]),d}},39383:(w,k,o)=>{var u=o(69779),x=o(49975),_=Object.prototype.propertyIsEnumerable,m=Object.getOwnPropertySymbols;w.exports=m?function(t){return null==t?[]:(t=Object(t),u(m(t),function(c){return _.call(t,c)}))}:x},53051:(w,k,o)=>{var u=o(85059),x=o(29519),v=o(39383),_=o(49975);w.exports=Object.getOwnPropertySymbols?function(t){for(var c=[];t;)u(c,v(t)),t=x(t);return c}:_},28794:(w,k,o)=>{var u=o(37244),x=o(51501),v=o(44267),_=o(46323),m=o(24243),l=o(93337),t=o(52827),c="[object Map]",g="[object Promise]",d="[object Set]",p="[object WeakMap]",C="[object DataView]",A=t(u),L=t(x),N=t(v),P=t(_),R=t(m),Z=l;(u&&Z(new u(new ArrayBuffer(1)))!=C||x&&Z(new x)!=c||v&&Z(v.resolve())!=g||_&&Z(new _)!=d||m&&Z(new m)!=p)&&(Z=function(H){var z=l(H),tt="[object Object]"==z?H.constructor:void 0,rt=tt?t(tt):"";if(rt)switch(rt){case A:return C;case L:return c;case N:return g;case P:return d;case R:return p}return z}),w.exports=Z},51990:w=>{w.exports=function k(o,u){return null==o?void 0:o[u]}},47283:(w,k,o)=>{var u=o(65456),x=o(77151),v=o(21503),_=o(58442),m=o(96231),l=o(68533);w.exports=function t(c,h,g){for(var d=-1,p=(h=u(h,c)).length,C=!1;++d{var l=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");w.exports=function t(c){return l.test(c)}},64312:(w,k,o)=>{var u=o(60862);w.exports=function x(){this.__data__=u?u(null):{},this.size=0}},46421:w=>{w.exports=function k(o){var u=this.has(o)&&delete this.__data__[o];return this.size-=u?1:0,u}},15764:(w,k,o)=>{var u=o(60862),_=Object.prototype.hasOwnProperty;w.exports=function m(l){var t=this.__data__;if(u){var c=t[l];return"__lodash_hash_undefined__"===c?void 0:c}return _.call(t,l)?t[l]:void 0}},18685:(w,k,o)=>{var u=o(60862),v=Object.prototype.hasOwnProperty;w.exports=function _(m){var l=this.__data__;return u?void 0!==l[m]:v.call(l,m)}},26676:(w,k,o)=>{var u=o(60862);w.exports=function v(_,m){var l=this.__data__;return this.size+=this.has(_)?0:1,l[_]=u&&void 0===m?"__lodash_hash_undefined__":m,this}},76782:w=>{var o=Object.prototype.hasOwnProperty;w.exports=function u(x){var v=x.length,_=new x.constructor(v);return v&&"string"==typeof x[0]&&o.call(x,"index")&&(_.index=x.index,_.input=x.input),_}},37878:(w,k,o)=>{var u=o(43362),x=o(17e3),v=o(74098),_=o(62533),m=o(65208);w.exports=function J(et,q,at){var Y=et.constructor;switch(q){case"[object ArrayBuffer]":return u(et);case"[object Boolean]":case"[object Date]":return new Y(+et);case"[object DataView]":return x(et,at);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return m(et,at);case"[object Map]":case"[object Set]":return new Y;case"[object Number]":case"[object String]":return new Y(et);case"[object RegExp]":return v(et);case"[object Symbol]":return _(et)}}},4264:(w,k,o)=>{var u=o(78858),x=o(29519),v=o(45488);w.exports=function _(m){return"function"!=typeof m.constructor||v(m)?{}:u(x(m))}},75039:(w,k,o)=>{var u=o(60443),x=o(77151),v=o(21503),_=u?u.isConcatSpreadable:void 0;w.exports=function m(l){return v(l)||x(l)||!!(_&&l&&l[_])}},58442:w=>{var o=/^(?:0|[1-9]\d*)$/;w.exports=function u(x,v){var _=typeof x;return!!(v=null==v?9007199254740991:v)&&("number"==_||"symbol"!=_&&o.test(x))&&x>-1&&x%1==0&&x{var u=o(20217),x=o(56507),v=o(58442),_=o(25940);w.exports=function m(l,t,c){if(!_(c))return!1;var h=typeof t;return!!("number"==h?x(c)&&v(t,c.length):"string"==h&&t in c)&&u(c[t],l)}},45352:(w,k,o)=>{var u=o(21503),x=o(44129),v=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_=/^\w*$/;w.exports=function m(l,t){if(u(l))return!1;var c=typeof l;return!("number"!=c&&"symbol"!=c&&"boolean"!=c&&null!=l&&!x(l))||_.test(l)||!v.test(l)||null!=t&&l in Object(t)}},23819:w=>{w.exports=function k(o){var u=typeof o;return"string"==u||"number"==u||"symbol"==u||"boolean"==u?"__proto__"!==o:null===o}},91943:(w,k,o)=>{var _,u=o(24610),x=(_=/[^.]+$/.exec(u&&u.keys&&u.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"";w.exports=function v(_){return!!x&&x in _}},45488:w=>{var k=Object.prototype;w.exports=function o(u){var x=u&&u.constructor;return u===("function"==typeof x&&x.prototype||k)}},22442:(w,k,o)=>{var u=o(25940);w.exports=function x(v){return v==v&&!u(v)}},41840:w=>{w.exports=function k(){this.__data__=[],this.size=0}},34378:(w,k,o)=>{var u=o(43503),v=Array.prototype.splice;w.exports=function _(m){var l=this.__data__,t=u(l,m);return!(t<0||(t==l.length-1?l.pop():v.call(l,t,1),--this.size,0))}},54981:(w,k,o)=>{var u=o(43503);w.exports=function x(v){var _=this.__data__,m=u(_,v);return m<0?void 0:_[m][1]}},67343:(w,k,o)=>{var u=o(43503);w.exports=function x(v){return u(this.__data__,v)>-1}},98895:(w,k,o)=>{var u=o(43503);w.exports=function x(v,_){var m=this.__data__,l=u(m,v);return l<0?(++this.size,m.push([v,_])):m[l][1]=_,this}},10638:(w,k,o)=>{var u=o(54994),x=o(9215),v=o(51501);w.exports=function _(){this.size=0,this.__data__={hash:new u,map:new(v||x),string:new u}}},11184:(w,k,o)=>{var u=o(54537);w.exports=function x(v){var _=u(this,v).delete(v);return this.size-=_?1:0,_}},70866:(w,k,o)=>{var u=o(54537);w.exports=function x(v){return u(this,v).get(v)}},43771:(w,k,o)=>{var u=o(54537);w.exports=function x(v){return u(this,v).has(v)}},51772:(w,k,o)=>{var u=o(54537);w.exports=function x(v,_){var m=u(this,v),l=m.size;return m.set(v,_),this.size+=m.size==l?0:1,this}},83205:w=>{w.exports=function k(o){var u=-1,x=Array(o.size);return o.forEach(function(v,_){x[++u]=[_,v]}),x}},642:w=>{w.exports=function k(o,u){return function(x){return null!=x&&x[o]===u&&(void 0!==u||o in Object(x))}}},90719:(w,k,o)=>{var u=o(30535);w.exports=function v(_){var m=u(_,function(t){return 500===l.size&&l.clear(),t}),l=m.cache;return m}},60862:(w,k,o)=>{var x=o(53436)(Object,"create");w.exports=x},85491:(w,k,o)=>{var x=o(69385)(Object.keys,Object);w.exports=x},32158:w=>{w.exports=function k(o){var u=[];if(null!=o)for(var x in Object(o))u.push(x);return u}},73597:(w,k,o)=>{w=o.nmd(w);var u=o(79122),x=k&&!k.nodeType&&k,v=x&&w&&!w.nodeType&&w,m=v&&v.exports===x&&u.process,l=function(){try{return v&&v.require&&v.require("util").types||m&&m.binding&&m.binding("util")}catch(c){}}();w.exports=l},92902:w=>{var o=Object.prototype.toString;w.exports=function u(x){return o.call(x)}},69385:w=>{w.exports=function k(o,u){return function(x){return o(u(x))}}},53983:(w,k,o)=>{var u=o(26999),x=Math.max;w.exports=function v(_,m,l){return m=x(void 0===m?_.length-1:m,0),function(){for(var t=arguments,c=-1,h=x(t.length-m,0),g=Array(h);++c{var u=o(79122),x="object"==typeof self&&self&&self.Object===Object&&self,v=u||x||Function("return this")();w.exports=v},99351:w=>{w.exports=function k(o,u){if(("constructor"!==u||"function"!=typeof o[u])&&"__proto__"!=u)return o[u]}},4600:w=>{w.exports=function o(u){return this.__data__.set(u,"__lodash_hash_undefined__"),this}},31387:w=>{w.exports=function k(o){return this.__data__.has(o)}},24174:w=>{w.exports=function k(o){var u=-1,x=Array(o.size);return o.forEach(function(v){x[++u]=v}),x}},72185:(w,k,o)=>{var u=o(69510),v=o(10029)(u);w.exports=v},10029:w=>{var u=Date.now;w.exports=function x(v){var _=0,m=0;return function(){var l=u(),t=16-(l-m);if(m=l,t>0){if(++_>=800)return arguments[0]}else _=0;return v.apply(void 0,arguments)}}},13720:(w,k,o)=>{var u=o(9215);w.exports=function x(){this.__data__=new u,this.size=0}},64410:w=>{w.exports=function k(o){var u=this.__data__,x=u.delete(o);return this.size=u.size,x}},45576:w=>{w.exports=function k(o){return this.__data__.get(o)}},22247:w=>{w.exports=function k(o){return this.__data__.has(o)}},41585:(w,k,o)=>{var u=o(9215),x=o(51501),v=o(99850);w.exports=function m(l,t){var c=this.__data__;if(c instanceof u){var h=c.__data__;if(!x||h.length<199)return h.push([l,t]),this.size=++c.size,this;c=this.__data__=new v(h)}return c.set(l,t),this.size=c.size,this}},24977:w=>{w.exports=function k(o,u,x){for(var v=x-1,_=o.length;++v<_;)if(o[v]===u)return v;return-1}},52315:(w,k,o)=>{var u=o(75481),x=o(77609),v=o(81149);w.exports=function _(m){return x(m)?v(m):u(m)}},32855:(w,k,o)=>{var u=o(90719),x=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,v=/\\(\\)?/g,_=u(function(m){var l=[];return 46===m.charCodeAt(0)&&l.push(""),m.replace(x,function(t,c,h,g){l.push(h?g.replace(v,"$1"):c||t)}),l});w.exports=_},68533:(w,k,o)=>{var u=o(44129);w.exports=function v(_){if("string"==typeof _||u(_))return _;var m=_+"";return"0"==m&&1/_==-1/0?"-0":m}},52827:w=>{var o=Function.prototype.toString;w.exports=function u(x){if(null!=x){try{return o.call(x)}catch(v){}try{return x+""}catch(v){}}return""}},42760:w=>{var k=/\s/;w.exports=function o(u){for(var x=u.length;x--&&k.test(u.charAt(x)););return x}},81149:w=>{var k="\\ud800-\\udfff",m="["+k+"]",l="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",t="\\ud83c[\\udffb-\\udfff]",h="[^"+k+"]",g="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",C="(?:"+l+"|"+t+")?",A="[\\ufe0e\\ufe0f]?",N=A+C+"(?:\\u200d(?:"+[h,g,d].join("|")+")"+A+C+")*",P="(?:"+[h+l+"?",l,g,d,m].join("|")+")",R=RegExp(t+"(?="+t+")|"+P+N,"g");w.exports=function Z(H){for(var z=R.lastIndex=0;R.test(H);)++z;return z}},11094:(w,k,o)=>{var u=o(44462);w.exports=function v(_){return u(_,4)}},90733:(w,k,o)=>{var u=o(44462);w.exports=function _(m){return u(m,5)}},76684:w=>{w.exports=function k(o){return function(){return o}}},28800:(w,k,o)=>{var u=o(23269),x=o(20217),v=o(93342),_=o(16555),m=Object.prototype,l=m.hasOwnProperty,t=u(function(c,h){c=Object(c);var g=-1,d=h.length,p=d>2?h[2]:void 0;for(p&&v(h[0],h[1],p)&&(d=1);++g{w.exports=o(89851)},20217:w=>{w.exports=function k(o,u){return o===u||o!=o&&u!=u}},35281:(w,k,o)=>{var u=o(69779),x=o(33609),v=o(96517),_=o(21503);w.exports=function m(l,t){return(_(l)?u:x)(l,v(t,3))}},62516:(w,k,o)=>{var v=o(24653)(o(36397));w.exports=v},36397:(w,k,o)=>{var u=o(65317),x=o(96517),v=o(44401),_=Math.max;w.exports=function m(l,t,c){var h=null==l?0:l.length;if(!h)return-1;var g=null==c?0:v(c);return g<0&&(g=_(h+g,0)),u(l,x(t,3),g)}},22274:(w,k,o)=>{var u=o(50686);w.exports=function x(v){return null!=v&&v.length?u(v,1):[]}},89851:(w,k,o)=>{var u=o(96837),x=o(43132),v=o(21481),_=o(21503);w.exports=function m(l,t){return(_(l)?u:x)(l,v(t))}},41176:(w,k,o)=>{var u=o(30755),x=o(21481),v=o(16555);w.exports=function _(m,l){return null==m?m:u(m,x(l),v)}},8817:(w,k,o)=>{var u=o(15456);w.exports=function x(v,_,m){var l=null==v?void 0:u(v,_);return void 0===l?m:l}},54842:(w,k,o)=>{var u=o(84781),x=o(47283);w.exports=function v(_,m){return null!=_&&x(_,m,u)}},11172:(w,k,o)=>{var u=o(69989),x=o(47283);w.exports=function v(_,m){return null!=_&&x(_,m,u)}},32608:w=>{w.exports=function k(o){return o}},77151:(w,k,o)=>{var u=o(60186),x=o(72671),v=Object.prototype,_=v.hasOwnProperty,m=v.propertyIsEnumerable,l=u(function(){return arguments}())?u:function(t){return x(t)&&_.call(t,"callee")&&!m.call(t,"callee")};w.exports=l},21503:w=>{w.exports=Array.isArray},56507:(w,k,o)=>{var u=o(75946),x=o(96231);w.exports=function v(_){return null!=_&&x(_.length)&&!u(_)}},92377:(w,k,o)=>{var u=o(56507),x=o(72671);w.exports=function v(_){return x(_)&&u(_)}},80891:(w,k,o)=>{w=o.nmd(w);var u=o(12119),x=o(63580),v=k&&!k.nodeType&&k,_=v&&w&&!w.nodeType&&w,l=_&&_.exports===v?u.Buffer:void 0;w.exports=(l?l.isBuffer:void 0)||x},71973:(w,k,o)=>{var u=o(81172),x=o(28794),v=o(77151),_=o(21503),m=o(56507),l=o(80891),t=o(45488),c=o(48159),p=Object.prototype.hasOwnProperty;w.exports=function C(A){if(null==A)return!0;if(m(A)&&(_(A)||"string"==typeof A||"function"==typeof A.splice||l(A)||c(A)||v(A)))return!A.length;var L=x(A);if("[object Map]"==L||"[object Set]"==L)return!A.size;if(t(A))return!u(A).length;for(var N in A)if(p.call(A,N))return!1;return!0}},75946:(w,k,o)=>{var u=o(93337),x=o(25940);w.exports=function t(c){if(!x(c))return!1;var h=u(c);return"[object Function]"==h||"[object GeneratorFunction]"==h||"[object AsyncFunction]"==h||"[object Proxy]"==h}},96231:w=>{w.exports=function o(u){return"number"==typeof u&&u>-1&&u%1==0&&u<=9007199254740991}},13222:(w,k,o)=>{var u=o(97021),x=o(85647),v=o(73597),_=v&&v.isMap,m=_?x(_):u;w.exports=m},25940:w=>{w.exports=function k(o){var u=typeof o;return null!=o&&("object"==u||"function"==u)}},72671:w=>{w.exports=function k(o){return null!=o&&"object"==typeof o}},97614:(w,k,o)=>{var u=o(93337),x=o(29519),v=o(72671),t=Function.prototype.toString,c=Object.prototype.hasOwnProperty,h=t.call(Object);w.exports=function g(d){if(!v(d)||"[object Object]"!=u(d))return!1;var p=x(d);if(null===p)return!0;var C=c.call(p,"constructor")&&p.constructor;return"function"==typeof C&&C instanceof C&&t.call(C)==h}},90799:(w,k,o)=>{var u=o(771),x=o(85647),v=o(73597),_=v&&v.isSet,m=_?x(_):u;w.exports=m},30248:(w,k,o)=>{var u=o(93337),x=o(21503),v=o(72671);w.exports=function m(l){return"string"==typeof l||!x(l)&&v(l)&&"[object String]"==u(l)}},44129:(w,k,o)=>{var u=o(93337),x=o(72671);w.exports=function _(m){return"symbol"==typeof m||x(m)&&"[object Symbol]"==u(m)}},48159:(w,k,o)=>{var u=o(1083),x=o(85647),v=o(73597),_=v&&v.isTypedArray,m=_?x(_):u;w.exports=m},34235:w=>{w.exports=function k(o){return void 0===o}},118:(w,k,o)=>{var u=o(72271),x=o(81172),v=o(56507);w.exports=function _(m){return v(m)?u(m):x(m)}},16555:(w,k,o)=>{var u=o(72271),x=o(92809),v=o(56507);w.exports=function _(m){return v(m)?u(m,!0):x(m)}},25809:w=>{w.exports=function k(o){var u=null==o?0:o.length;return u?o[u-1]:void 0}},19984:(w,k,o)=>{var u=o(84633),x=o(96517),v=o(92046),_=o(21503);w.exports=function m(l,t){return(_(l)?u:v)(l,x(t,3))}},10203:(w,k,o)=>{var u=o(85683),x=o(45184),v=o(96517);w.exports=function _(m,l){var t={};return l=v(l,3),x(m,function(c,h,g){u(t,h,l(c,h,g))}),t}},18176:(w,k,o)=>{var u=o(67308),x=o(31100),v=o(32608);w.exports=function _(m){return m&&m.length?u(m,v,x):void 0}},30535:(w,k,o)=>{var u=o(99850);function v(_,m){if("function"!=typeof _||null!=m&&"function"!=typeof m)throw new TypeError("Expected a function");var l=function(){var t=arguments,c=m?m.apply(this,t):t[0],h=l.cache;if(h.has(c))return h.get(c);var g=_.apply(this,t);return l.cache=h.set(c,g)||h,g};return l.cache=new(v.Cache||u),l}v.Cache=u,w.exports=v},80567:(w,k,o)=>{var u=o(73842),v=o(84944)(function(_,m,l){u(_,m,l)});w.exports=v},29439:(w,k,o)=>{var u=o(67308),x=o(99069),v=o(32608);w.exports=function _(m){return m&&m.length?u(m,v,x):void 0}},29525:(w,k,o)=>{var u=o(67308),x=o(96517),v=o(99069);w.exports=function _(m,l){return m&&m.length?u(m,x(l,2),v):void 0}},12552:w=>{w.exports=function k(){}},31710:(w,k,o)=>{var u=o(12119);w.exports=function(){return u.Date.now()}},16372:(w,k,o)=>{var u=o(83021),v=o(3975)(function(_,m){return null==_?{}:u(_,m)});w.exports=v},87495:(w,k,o)=>{var u=o(11847),x=o(39222),v=o(45352),_=o(68533);w.exports=function m(l){return v(l)?u(_(l)):x(l)}},90361:(w,k,o)=>{var x=o(97509)();w.exports=x},81337:(w,k,o)=>{var u=o(8745),x=o(43132),v=o(96517),_=o(13570),m=o(21503);w.exports=function l(t,c,h){var g=m(t)?u:_,d=arguments.length<3;return g(t,v(c,4),h,d,x)}},55637:(w,k,o)=>{var u=o(81172),x=o(28794),v=o(56507),_=o(30248),m=o(52315);w.exports=function c(h){if(null==h)return 0;if(v(h))return _(h)?m(h):h.length;var g=x(h);return"[object Map]"==g||"[object Set]"==g?h.size:u(h).length}},12906:(w,k,o)=>{var u=o(50686),x=o(6119),v=o(23269),_=o(93342),m=v(function(l,t){if(null==l)return[];var c=t.length;return c>1&&_(l,t[0],t[1])?t=[]:c>2&&_(t[0],t[1],t[2])&&(t=[t[0]]),x(l,u(t,1),[])});w.exports=m},49975:w=>{w.exports=function k(){return[]}},63580:w=>{w.exports=function k(){return!1}},12232:(w,k,o)=>{var u=o(51467),x=1/0;w.exports=function _(m){return m?(m=u(m))===x||m===-x?17976931348623157e292*(m<0?-1:1):m==m?m:0:0===m?m:0}},44401:(w,k,o)=>{var u=o(12232);w.exports=function x(v){var _=u(v),m=_%1;return _==_?m?_-m:_:0}},51467:(w,k,o)=>{var u=o(83348),x=o(25940),v=o(44129),m=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,t=/^0o[0-7]+$/i,c=parseInt;w.exports=function h(g){if("number"==typeof g)return g;if(v(g))return NaN;if(x(g)){var d="function"==typeof g.valueOf?g.valueOf():g;g=x(d)?d+"":d}if("string"!=typeof g)return 0===g?g:+g;g=u(g);var p=l.test(g);return p||t.test(g)?c(g.slice(2),p?2:8):m.test(g)?NaN:+g}},8067:(w,k,o)=>{var u=o(31989),x=o(16555);w.exports=function v(_){return u(_,x(_))}},73943:(w,k,o)=>{var u=o(93935);w.exports=function x(v){return null==v?"":u(v)}},89416:(w,k,o)=>{var u=o(96837),x=o(78858),v=o(45184),_=o(96517),m=o(29519),l=o(21503),t=o(80891),c=o(75946),h=o(25940),g=o(48159);w.exports=function d(p,C,A){var L=l(p),N=L||t(p)||g(p);if(C=_(C,4),null==A){var P=p&&p.constructor;A=N?L?new P:[]:h(p)&&c(P)?x(m(p)):{}}return(N?u:v)(p,function(R,Z,H){return C(A,R,Z,H)}),A}},68921:(w,k,o)=>{var u=o(50686),x=o(23269),v=o(80707),_=o(92377),m=x(function(l){return v(u(l,1,_,!0))});w.exports=m},51541:(w,k,o)=>{var u=o(73943),x=0;w.exports=function v(_){var m=++x;return u(_)+m}},90377:(w,k,o)=>{var u=o(19179),x=o(118);w.exports=function v(_){return null==_?[]:u(_,x(_))}},21617:(w,k,o)=>{var u=o(89719),x=o(38645);w.exports=function v(_,m){return x(_||[],m||[],u)}},34315:(w,k,o)=>{"use strict";const u=Symbol.prototype.valueOf,x=o(52872);w.exports=function v(h,g){switch(x(h)){case"array":return h.slice();case"object":return Object.assign({},h);case"date":return new h.constructor(Number(h));case"map":return new Map(h);case"set":return new Set(h);case"buffer":return function t(h){const g=h.length,d=Buffer.allocUnsafe?Buffer.allocUnsafe(g):Buffer.from(g);return h.copy(d),d}(h);case"symbol":return function c(h){return u?Object(u.call(h)):{}}(h);case"arraybuffer":return function m(h){const g=new h.constructor(h.byteLength);return new Uint8Array(g).set(new Uint8Array(h)),g}(h);case"float32array":case"float64array":case"int16array":case"int32array":case"int8array":case"uint16array":case"uint32array":case"uint8clampedarray":case"uint8array":return function l(h,g){return new h.constructor(h.buffer,h.byteOffset,h.length)}(h);case"regexp":return function _(h){const g=void 0!==h.flags?h.flags:/\w+$/.exec(h)||void 0,d=new h.constructor(h.source,g);return d.lastIndex=h.lastIndex,d}(h);case"error":return Object.create(h);default:return h}}},67824:(w,k,o)=>{"use strict";function u(x){for(var v in x)k.hasOwnProperty(v)||(k[v]=x[v])}Object.defineProperty(k,"__esModule",{value:!0}),u(o(95085)),u(o(26243)),u(o(91786)),u(o(30225)),u(o(76767)),u(o(30345)),u(o(15675)),u(o(86461)),u(o(58802)),u(o(33900)),u(o(88866)),u(o(94655)),u(o(4068)),u(o(33858)),u(o(98237)),u(o(83292))},95085:function(w,k,o){"use strict";var m,u=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var g in h)h.hasOwnProperty(g)&&(c[g]=h[g])})(l,t)},function(l,t){function c(){this.constructor=l}m(l,t),l.prototype=null===t?Object.create(t):(c.prototype=t.prototype,new c)});Object.defineProperty(k,"__esModule",{value:!0});var x=o(15675),v=function(m){function l(t){var c=m.call(this)||this,g=t;return g.trigger&&(c.trigger=g.trigger),g.kick&&(c.kick=g.kick),g.drag&&(c.drag=g.drag),g.on&&(c.on=g.on),c.dragstart=c.dragStart=x.Layout.dragStart,c.dragend=c.dragEnd=x.Layout.dragEnd,c}return u(l,m),l.prototype.trigger=function(t){},l.prototype.kick=function(){},l.prototype.drag=function(){},l.prototype.on=function(t,c){return this},l}(x.Layout);k.LayoutAdaptor=v,k.adaptor=function _(m){return new v(m)}},83292:(w,k,o)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var u=o(15675),x=o(76767);k.gridify=function v(l,t,c,h){l.cola.start(0,0,0,10,!1);var g=function _(l,t,c,h){l.forEach(function(d){d.routerNode={name:d.name,bounds:d.bounds.inflate(-c)}}),t.forEach(function(d){d.routerNode={bounds:d.bounds.inflate(-h),children:(void 0!==d.groups?d.groups.map(function(p){return l.length+p.id}):[]).concat(void 0!==d.leaves?d.leaves.map(function(p){return p.index}):[])}});var g=l.concat(t).map(function(d,p){return d.routerNode.id=p,d.routerNode});return new x.GridRouter(g,{getChildren:function(d){return d.children},getBounds:function(d){return d.bounds}},c-h)}(l.cola.nodes(),l.cola.groups(),c,h);return g.routeEdges(l.powerGraph.powerEdges,t,function(d){return d.source.routerNode.id},function(d){return d.target.routerNode.id})},k.powerGraphGridLayout=function m(l,t,c){var h;l.nodes.forEach(function(C,A){return C.index=A}),(new u.Layout).avoidOverlaps(!1).nodes(l.nodes).links(l.links).powerGraphGroups(function(C){(h=C).groups.forEach(function(A){return A.padding=c})});var g=l.nodes.length,d=[],p=l.nodes.slice(0);return p.forEach(function(C,A){return C.index=A}),h.groups.forEach(function(C){var A=C.index=C.id+g;p.push(C),void 0!==C.leaves&&C.leaves.forEach(function(L){return d.push({source:A,target:L.index})}),void 0!==C.groups&&C.groups.forEach(function(L){return d.push({source:A,target:L.id+g})})}),h.powerEdges.forEach(function(C){d.push({source:C.source.index,target:C.target.index})}),(new u.Layout).size(t).nodes(p).links(d).avoidOverlaps(!1).linkDistance(30).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(100,0,0,0,!1),{cola:(new u.Layout).convergenceThreshold(.001).size(t).avoidOverlaps(!0).nodes(l.nodes).links(l.links).groupCompactness(1e-4).linkDistance(30).symmetricDiffLinkLengths(5).powerGraphGroups(function(C){(h=C).groups.forEach(function(A){A.padding=c})}).start(50,0,100,0,!1),powerGraph:h}}},26243:(w,k,o)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var u=o(49346),x=o(22487);k.d3adaptor=function v(m){return!m||function _(m){return m.version&&null!==m.version.match(/^3\./)}(m)?new u.D3StyleLayoutAdaptor:new x.D3StyleLayoutAdaptor(m)}},49346:function(w,k,o){"use strict";var m,u=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var g in h)h.hasOwnProperty(g)&&(c[g]=h[g])})(l,t)},function(l,t){function c(){this.constructor=l}m(l,t),l.prototype=null===t?Object.create(t):(c.prototype=t.prototype,new c)});Object.defineProperty(k,"__esModule",{value:!0});var x=o(15675),v=function(m){function l(){var t=m.call(this)||this;t.event=d3.dispatch(x.EventType[x.EventType.start],x.EventType[x.EventType.tick],x.EventType[x.EventType.end]);var c=t;return t.drag=function(){if(!g)var g=d3.behavior.drag().origin(x.Layout.dragOrigin).on("dragstart.d3adaptor",x.Layout.dragStart).on("drag.d3adaptor",function(d){x.Layout.drag(d,d3.event),c.resume()}).on("dragend.d3adaptor",x.Layout.dragEnd);if(!arguments.length)return g;this.call(g)},t}return u(l,m),l.prototype.trigger=function(t){var c={type:x.EventType[t.type],alpha:t.alpha,stress:t.stress};this.event[c.type](c)},l.prototype.kick=function(){var t=this;d3.timer(function(){return m.prototype.tick.call(t)})},l.prototype.on=function(t,c){return this.event.on("string"==typeof t?t:x.EventType[t],c),this},l}(x.Layout);k.D3StyleLayoutAdaptor=v,k.d3adaptor=function _(){return new v}},22487:function(w,k,o){"use strict";var _,u=this&&this.__extends||(_=function(m,l){return(_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,c){t.__proto__=c}||function(t,c){for(var h in c)c.hasOwnProperty(h)&&(t[h]=c[h])})(m,l)},function(m,l){function t(){this.constructor=m}_(m,l),m.prototype=null===l?Object.create(l):(t.prototype=l.prototype,new t)});Object.defineProperty(k,"__esModule",{value:!0});var x=o(15675),v=function(_){function m(l){var t=_.call(this)||this;t.d3Context=l,t.event=l.dispatch(x.EventType[x.EventType.start],x.EventType[x.EventType.tick],x.EventType[x.EventType.end]);var c=t;return t.drag=function(){if(!g)var g=l.drag().subject(x.Layout.dragOrigin).on("start.d3adaptor",x.Layout.dragStart).on("drag.d3adaptor",function(d){x.Layout.drag(d,l.event),c.resume()}).on("end.d3adaptor",x.Layout.dragEnd);if(!arguments.length)return g;arguments[0].call(g)},t}return u(m,_),m.prototype.trigger=function(l){var t={type:x.EventType[l.type],alpha:l.alpha,stress:l.stress};this.event.call(t.type,t)},m.prototype.kick=function(){var l=this,t=this.d3Context.timer(function(){return _.prototype.tick.call(l)&&t.stop()})},m.prototype.on=function(l,t){return this.event.on("string"==typeof l?l:x.EventType[l],t),this},m}(x.Layout);k.D3StyleLayoutAdaptor=v},91786:(w,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var o=function(){function v(){this.locks={}}return v.prototype.add=function(_,m){this.locks[_]=m},v.prototype.clear=function(){this.locks={}},v.prototype.isEmpty=function(){for(var _ in this.locks)return!1;return!0},v.prototype.apply=function(_){for(var m in this.locks)_(Number(m),this.locks[m])},v}();k.Locks=o;var u=function(){function v(_,m,l){void 0===l&&(l=null),this.D=m,this.G=l,this.threshold=1e-4,this.numGridSnapNodes=0,this.snapGridSize=100,this.snapStrength=1e3,this.scaleSnapByMaxH=!1,this.random=new x,this.project=null,this.x=_,this.k=_.length;var t=this.n=_[0].length;this.H=new Array(this.k),this.g=new Array(this.k),this.Hd=new Array(this.k),this.a=new Array(this.k),this.b=new Array(this.k),this.c=new Array(this.k),this.d=new Array(this.k),this.e=new Array(this.k),this.ia=new Array(this.k),this.ib=new Array(this.k),this.xtmp=new Array(this.k),this.locks=new o,this.minD=Number.MAX_VALUE;for(var h,c=t;c--;)for(h=t;--h>c;){var g=m[c][h];g>0&&g1e-9)break;var P=this.offsetDir();for(t=0;t1&&R>Z||!isFinite(Z)){for(t=0;t1&&(H=1);var z=Z*Z,tt=2*H*(R-Z)/(z*R),rt=R*R*R,ot=2*-H/(z*rt);for(isFinite(tt)||console.log(tt),t=0;t0?K-(G+1)*et:K-(G-1)*et)&&N<=J&&(this.scaleSnapByMaxH?(this.g[t][p]+=d*at*N,this.H[t][p][p]+=d*at):(this.g[t][p]+=at*N,this.H[t][p][p]+=at))}this.locks.isEmpty()||this.locks.apply(function(ft,It){for(t=0;t0;)for(var c=m;c-- >0;)l(t,c)},v.prototype.matrixApply=function(_){v.mApply(this.k,this.n,_)},v.prototype.computeNextPosition=function(_,m){var l=this;this.computeDerivatives(_);var t=this.computeStepSize(this.g);if(this.stepAndProject(_,m,this.g,t),this.project){this.matrixApply(function(h,g){return l.e[h][g]=_[h][g]-m[h][g]});var c=this.computeStepSize(this.e);c=Math.max(.2,Math.min(c,1)),this.stepAndProject(_,m,this.e,c)}},v.prototype.run=function(_){for(var m=Number.MAX_VALUE,l=!1;!l&&_-- >0;){var t=this.rungeKutta();l=Math.abs(m/t-1)>16)/this.range},v.prototype.getNextBetween=function(_,m){return _+this.getNext()*(m-_)},v}();k.PseudoRandom=x},30225:function(w,k,o){"use strict";var it,u=this&&this.__extends||(it=function(G,M){return(it=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ft,It){ft.__proto__=It}||function(ft,It){for(var Zt in It)It.hasOwnProperty(Zt)&&(ft[Zt]=It[Zt])})(G,M)},function(G,M){function ft(){this.constructor=G}it(G,M),G.prototype=null===M?Object.create(M):(ft.prototype=M.prototype,new ft)});Object.defineProperty(k,"__esModule",{value:!0});var x=o(4068),v=function it(){};k.Point=v;var _=function it(G,M,ft,It){this.x1=G,this.y1=M,this.x2=ft,this.y2=It};k.LineSegment=_;var m=function(it){function G(){return null!==it&&it.apply(this,arguments)||this}return u(G,it),G}(v);function l(it,G,M){return(G.x-it.x)*(M.y-it.y)-(M.x-it.x)*(G.y-it.y)}function t(it,G,M){return l(it,G,M)>0}function c(it,G,M){return l(it,G,M)<0}function C(it,G){var M=G.slice(0);return M.push(G[0]),{rtan:A(it,M),ltan:L(it,M)}}function A(it,G){var ft,It,Zt,ie,M=G.length-1;if(c(it,G[1],G[0])&&!t(it,G[M-1],G[0]))return 0;for(ft=0,It=M;;){if(It-ft==1)return t(it,G[ft],G[It])?ft:It;if((ie=c(it,G[(Zt=Math.floor((ft+It)/2))+1],G[Zt]))&&!t(it,G[Zt-1],G[Zt]))return Zt;t(it,G[ft+1],G[ft])?ie||t(it,G[ft],G[Zt])?It=Zt:ft=Zt:ie&&c(it,G[ft],G[Zt])?It=Zt:ft=Zt}}function L(it,G){var ft,It,Zt,ie,M=G.length-1;if(t(it,G[M-1],G[0])&&!c(it,G[1],G[0]))return 0;for(ft=0,It=M;;){if(It-ft==1)return c(it,G[ft],G[It])?ft:It;if(ie=c(it,G[(Zt=Math.floor((ft+It)/2))+1],G[Zt]),t(it,G[Zt-1],G[Zt])&&!ie)return Zt;c(it,G[ft+1],G[ft])?ie?c(it,G[ft],G[Zt])?It=Zt:ft=Zt:It=Zt:ie?ft=Zt:t(it,G[ft],G[Zt])?It=Zt:ft=Zt}}function N(it,G,M,ft,It,Zt){var Yt,ie;ie=ft(it[Yt=M(G[0],it)],G);for(var Ut=!1;!Ut;){for(Ut=!0;Yt===it.length-1&&(Yt=0),!It(G[ie],it[Yt],it[Yt+1]);)++Yt;for(;0===ie&&(ie=G.length-1),!Zt(it[Yt],G[ie],G[ie-1]);)--ie,Ut=!1}return{t1:Yt,t2:ie}}function R(it,G){return N(it,G,A,L,t,c)}k.PolyPoint=m,k.isLeft=l,k.ConvexHull=function h(it){var ft,G=it.slice(0).sort(function(Jt,ge){return Jt.x!==ge.x?ge.x-Jt.x:ge.y-Jt.y}),M=it.length,Zt=G[0].x;for(ft=1;ft=0&&G[ft].x===pt;ft--);for(Ut=ft+1,ft=Yt;++ft<=Ut;)if(!(l(G[0],G[Ut],G[ft])>=0&&ft1&&!(l(ie[ie.length-2],ie[ie.length-1],G[ft])>0);)ie.length-=1;0!=ft&&ie.push(G[ft])}xt!=Ut&&ie.push(G[xt]);var Nt=ie.length;for(ft=Ut;--ft>=Yt;)if(!(l(G[xt],G[Yt],G[ft])>=0&&ft>Yt)){for(;ie.length>Nt&&!(l(ie[ie.length-2],ie[ie.length-1],G[ft])>0);)ie.length-=1;0!=ft&&ie.push(G[ft])}}return ie},k.clockwiseRadialSweep=function g(it,G,M){G.slice(0).sort(function(ft,It){return Math.atan2(ft.y-it.y,ft.x-it.x)-Math.atan2(It.y-it.y,It.x-it.x)}).forEach(M)},k.tangent_PolyPolyC=N,k.LRtangent_PolyPolyC=function P(it,G){var M=R(G,it);return{t1:M.t2,t2:M.t1}},k.RLtangent_PolyPolyC=R,k.LLtangent_PolyPolyC=function Z(it,G){return N(it,G,L,L,c,c)},k.RRtangent_PolyPolyC=function H(it,G){return N(it,G,A,A,t,t)};var z=function it(G,M){this.t1=G,this.t2=M};k.BiTangent=z;var tt=function it(){};k.BiTangents=tt;var rt=function(it){function G(){return null!==it&&it.apply(this,arguments)||this}return u(G,it),G}(v);k.TVGPoint=rt;var ot=function it(G,M,ft,It){this.id=G,this.polyid=M,this.polyvertid=ft,this.p=It,It.vv=this};k.VisibilityVertex=ot;var J=function(){function it(G,M){this.source=G,this.target=M}return it.prototype.length=function(){var G=this.source.p.x-this.target.p.x,M=this.source.p.y-this.target.p.y;return Math.sqrt(G*G+M*M)},it}();k.VisibilityEdge=J;var et=function(){function it(G,M){if(this.P=G,this.V=[],this.E=[],M)this.V=M.V.slice(0),this.E=M.E.slice(0);else{for(var ft=G.length,It=0;It0&&this.E.push(new J(Zt[Yt-1].vv,Ut))}Zt.length>1&&this.E.push(new J(Zt[0].vv,Zt[Zt.length-1].vv))}for(It=0;It0)return!0;return!1},it}();function q(it,G){for(var M=[],ft=1,It=G.length;ft=0&&_e>=0&&Te<0&&Ze>=0&&yn>=0&&Pe<0?It.ll=new z(Zt,Yt):ge<=0&&_e<=0&&Te>0&&Ze<=0&&yn<=0&&Pe>0?It.rr=new z(Zt,Yt):ge<=0&&_e>0&&Te<=0&&Ze>=0&&yn<0&&Pe>=0?It.rl=new z(Zt,Yt):ge>=0&&_e<0&&Te>=0&&Ze<=0&&yn>0&&Pe<=0&&(It.lr=new z(Zt,Yt))}return It}function K(it,G){return!it.every(function(M){return!function Y(it,G){for(var M=1,ft=G.length;M0)return!0}return!1}},76767:(w,k,o)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var u=o(4068),x=o(98237),v=o(33858),_=function c(h,g,d){this.id=h,this.rect=g,this.children=d,this.leaf=void 0===d||0===d.length};k.NodeWrapper=_;var m=function c(h,g,d,p,C){void 0===p&&(p=null),void 0===C&&(C=null),this.id=h,this.x=g,this.y=d,this.node=p,this.line=C};k.Vert=m;var l=function(){function c(h,g){this.s=h,this.t=g;var d=c.findMatch(h,g),p=g.slice(0).reverse(),C=c.findMatch(h,p);d.length>=C.length?(this.length=d.length,this.si=d.si,this.ti=d.ti,this.reversed=!1):(this.length=C.length,this.si=C.si,this.ti=g.length-C.ti-C.length,this.reversed=!0)}return c.findMatch=function(h,g){for(var d=h.length,p=g.length,C={length:0,si:-1,ti:-1},A=new Array(d),L=0;LC.length&&(C.length=P,C.si=L-P+1,C.ti=N-P+1)}else A[L][N]=0}return C},c.prototype.getSequence=function(){return this.length>=0?this.s.slice(this.si,this.si+this.length):[]},c}();k.LongestCommonSubsequence=l;var t=function(){function c(h,g,d){var p=this;void 0===d&&(d=12),this.originalnodes=h,this.groupPadding=d,this.leaves=null,this.nodes=h.map(function(rt,ot){return new _(ot,g.getBounds(rt),g.getChildren(rt))}),this.leaves=this.nodes.filter(function(rt){return rt.leaf}),this.groups=this.nodes.filter(function(rt){return!rt.leaf}),this.cols=this.getGridLines("x"),this.rows=this.getGridLines("y"),this.groups.forEach(function(rt){return rt.children.forEach(function(ot){return p.nodes[ot].parent=rt})}),this.root={children:[]},this.nodes.forEach(function(rt){void 0===rt.parent&&(rt.parent=p.root,p.root.children.push(rt.id)),rt.ports=[]}),this.backToFront=this.nodes.slice(0),this.backToFront.sort(function(rt,ot){return p.getDepth(rt)-p.getDepth(ot)}),this.backToFront.slice(0).reverse().filter(function(rt){return!rt.leaf}).forEach(function(rt){var ot=u.Rectangle.empty();rt.children.forEach(function(J){return ot=ot.union(p.nodes[J].rect)}),rt.rect=ot.inflate(p.groupPadding)});var A=this.midPoints(this.cols.map(function(rt){return rt.pos})),L=this.midPoints(this.rows.map(function(rt){return rt.pos})),N=A[0],P=A[A.length-1],R=L[0],Z=L[L.length-1],H=this.rows.map(function(rt){return{x1:N,x2:P,y1:rt.pos,y2:rt.pos}}).concat(L.map(function(rt){return{x1:N,x2:P,y1:rt,y2:rt}})),z=this.cols.map(function(rt){return{x1:rt.pos,x2:rt.pos,y1:R,y2:Z}}).concat(A.map(function(rt){return{x1:rt,x2:rt,y1:R,y2:Z}})),tt=H.concat(z);tt.forEach(function(rt){return rt.verts=[]}),this.verts=[],this.edges=[],H.forEach(function(rt){return z.forEach(function(ot){var J=new m(p.verts.length,ot.x1,rt.y1);rt.verts.push(J),ot.verts.push(J),p.verts.push(J);for(var et=p.backToFront.length;et-- >0;){var q=p.backToFront[et],at=q.rect,Y=Math.abs(J.x-at.cx()),K=Math.abs(J.y-at.cy());if(Y0;){var p=d.filter(function(A){return A.rect["overlap"+h.toUpperCase()](d[0].rect)}),C={nodes:p,pos:this.avg(p.map(function(A){return A.rect["c"+h]()}))};g.push(C),C.nodes.forEach(function(A){return d.splice(d.indexOf(A),1)})}return g.sort(function(A,L){return A.pos-L.pos}),g},c.prototype.getDepth=function(h){for(var g=0;h.parent!==this.root;)g++,h=h.parent;return g},c.prototype.midPoints=function(h){for(var g=h[1]-h[0],d=[h[0]-g/2],p=1;p.1)&&R.push(Z={pos:N[0][g],segments:[]}),Z.segments.push(N)}return R},c.nudgeSegs=function(h,g,d,p,C,A){var L=p.length;if(!(L<=1)){for(var N=p.map(function(q){return new x.Variable(q[0][h])}),P=[],R=0;R=0&&P.push(new x.Constraint(N[ot],N[J],A))}new x.Solver(N,P).solve(),N.forEach(function(q,at){var Y=p[at],K=q.position();Y[0][h]=Y[1][h]=K;var ut=d[Y.edgeid];Y.i>0&&(ut[Y.i-1][1][h]=K),Y.iMath.PI||C<-Math.PI)&&(C=p-d),C},c.isLeft=function(h,g,d){return(g.x-h.x)*(d.y-h.y)-(g.y-h.y)*(d.x-h.x)<=0},c.getOrder=function(h){for(var g={},d=0;d=C.length||L.ti+L.length>=A.length)){g.push({l:d,r:p});continue}L.si+L.length>=C.length||L.ti+L.length>=A.length?(N=C[L.si+1],R=C[L.si-1],P=A[L.ti-1]):(N=C[L.si+L.length-2],P=C[L.si+L.length],R=A[L.ti+L.length]),c.isLeft(N,P,R)?g.push({l:p,r:d}):g.push({l:d,r:p})}}return c.getOrder(g)},c.makeSegments=function(h){function g(P){return{x:P.x,y:P.y}}for(var p=[],C=g(h[0]),A=1;A1&&it>1?1e3:0}).reverse().map(function(J){return d.verts[J]});return ot.push(this.nodes[C.id].ports[0]),ot.filter(function(J,et){return!(et0&&J.node===C&&ot[et-1].node===C)})},c.getRoutePath=function(h,g,d,p){var L,N,P,ut,it,C={routepath:"M "+h[0][0].x+" "+h[0][0].y+" ",arrowpath:""};if(h.length>1)for(var A=0;A0?N-=R/Math.abs(R)*g:P-=Z/Math.abs(Z)*g,C.routepath+="L "+N+" "+P+" ";var H=h[A+1],z=H[0].x,tt=H[0].y;R=H[1].x-z,Z=H[1].y-tt;var et,q,J=c.angleBetween2Lines(L,H)<0?1:0;Math.abs(R)>0?(et=z+R/Math.abs(R)*g,q=tt):(et=z,q=tt+Z/Math.abs(Z)*g);var at=Math.abs(et-N),Y=Math.abs(q-P);C.routepath+="A "+at+" "+Y+" 0 0 "+J+" "+et+" "+q+" "}else{var K=[N,P];Math.abs(R)>0?(ut=[N-=R/Math.abs(R)*p,P+d],it=[N,P-d]):(ut=[N+d,P-=Z/Math.abs(Z)*p],it=[N-d,P]),C.routepath+="L "+N+" "+P+" ",p>0&&(C.arrowpath="M "+K[0]+" "+K[1]+" L "+ut[0]+" "+ut[1]+" L "+it[0]+" "+it[1])}}else R=(N=(L=h[0])[1].x)-L[0].x,Z=(P=L[1].y)-L[0].y,K=[N,P],Math.abs(R)>0?(ut=[N-=R/Math.abs(R)*p,P+d],it=[N,P-d]):(ut=[N+d,P-=Z/Math.abs(Z)*p],it=[N-d,P]),C.routepath+="L "+N+" "+P+" ",p>0&&(C.arrowpath="M "+K[0]+" "+K[1]+" L "+ut[0]+" "+ut[1]+" L "+it[0]+" "+it[1]);return C},c}();k.GridRouter=t},30345:(w,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var o_GOLDEN_SECTION=(1+Math.sqrt(5))/2;k.applyPacking=function u(v,_,m,A,C,c){void 0===C&&(C=1),void 0===c&&(c=!0);var d=_,p=m,L=(C=void 0!==C?C:1,A=void 0!==A?A:0,0),N=0,P=0,R=0,Z=[];function rt(q,at){Z=[],L=0,N=0,R=0;for(var Y=0;Y=q.height&&Z[K].x+Z[K].width+q.width+10-at<=1e-4){Y=Z[K];break}Z.push(q),void 0!==Y?(q.x=Y.x+Y.width+10,q.y=Y.bottom,q.space_left=q.height,q.bottom=q.y,Y.space_left-=q.height+10,Y.bottom+=q.height+10):(q.y=R,R+=q.height+10,q.x=0,q.bottom=q.y,q.space_left=q.height),q.y+q.height-N>-1e-4&&(N=q.y+q.height-0),q.x+q.width-L>-1e-4&&(L=q.x+q.width-0)}0!=v.length&&(function H(q){q.forEach(function(Y){!function at(Y){var K=Number.MAX_VALUE,ut=Number.MAX_VALUE,it=0,G=0;Y.array.forEach(function(M){var ft=void 0!==M.width?M.width:A,It=void 0!==M.height?M.height:A;ft/=2,It/=2,it=Math.max(M.x+ft,it),K=Math.min(M.x-ft,K),G=Math.max(M.y+It,G),ut=Math.min(M.y-It,ut)}),Y.width=it-K,Y.height=G-ut}(Y)})}(v),function tt(q,at){var Y=Number.POSITIVE_INFINITY,K=0;q.sort(function(xt,pt){return pt.height-xt.height});for(var ut=ie=P=q.reduce(function(xt,pt){return xt.widthP||Yt>1e-4;){if(1!=It){var ie=it-(it-ut)/o_GOLDEN_SECTION;M=rt(q,ie)}if(0!=It){var Ut=ut+(it-ut)/o_GOLDEN_SECTION;ft=rt(q,Ut)}if(Zt=Math.abs(ie-Ut),Yt=Math.abs(M-ft),Mft?(ut=ie,ie=Ut,M=ft,It=1):(it=Ut,Ut=ie,ft=M,It=0),G++>100)break}rt(q,K)}(v),c&&function z(q){q.forEach(function(at){var Y={x:0,y:0};at.array.forEach(function(it){Y.x+=it.x,Y.y+=it.y}),Y.x/=at.array.length,Y.y/=at.array.length;var ut_x=at.x-(Y.x-at.width/2)+d/2-L/2,ut_y=at.y-(Y.y-at.height/2)+p/2-N/2;at.array.forEach(function(it){it.x+=ut_x,it.y+=ut_y})})}(v))},k.separateGraphs=function x(v,_){for(var m={},l={},t=[],c=0,h=0;h<_.length;h++){var g=_[h],d=g.source,p=g.target;l[d.index]?l[d.index].push(p):l[d.index]=[p],l[p.index]?l[p.index].push(d):l[p.index]=[d]}for(h=0;h{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var c,d,u=o(33900),x=o(58802),v=o(91786),_=o(4068),m=o(33858),l=o(30225),t=o(30345);function h(d){return void 0!==d.leaves||void 0!==d.groups}(d=c=k.EventType||(k.EventType={}))[d.start=0]="start",d[d.tick=1]="tick",d[d.end=2]="end";var g=function(){function d(){var p=this;this._canvasSize=[1,1],this._linkDistance=20,this._defaultNodeSize=10,this._linkLengthCalculator=null,this._linkType=null,this._avoidOverlaps=!1,this._handleDisconnected=!0,this._running=!1,this._nodes=[],this._groups=[],this._rootGroup=null,this._links=[],this._constraints=[],this._distanceMatrix=null,this._descent=null,this._directedLinkConstraints=null,this._threshold=.01,this._visibilityGraph=null,this._groupCompactness=1e-6,this.event=null,this.linkAccessor={getSourceIndex:d.getSourceIndex,getTargetIndex:d.getTargetIndex,setLength:d.setLinkLength,getType:function(C){return"function"==typeof p._linkType?p._linkType(C):0}}}return d.prototype.on=function(p,C){return this.event||(this.event={}),"string"==typeof p?this.event[c[p]]=C:this.event[p]=C,this},d.prototype.trigger=function(p){this.event&&void 0!==this.event[p.type]&&this.event[p.type](p)},d.prototype.kick=function(){for(;!this.tick(););},d.prototype.tick=function(){if(this._alpha0){var C=0;this._links.forEach(function(L){C=Math.max(C,L.source,L.target)}),this._nodes=new Array(++C);for(var A=0;A0?p:0:p>0&&(this._running||(this._running=!0,this.trigger({type:c.start,alpha:this._alpha=p}),this.kick())),this):this._alpha},d.prototype.getLinkLength=function(p){return"function"==typeof this._linkDistance?+this._linkDistance(p):this._linkDistance},d.setLinkLength=function(p,C){p.length=C},d.prototype.getLinkType=function(p){return"function"==typeof this._linkType?this._linkType(p):0},d.prototype.symmetricDiffLinkLengths=function(p,C){var A=this;return void 0===C&&(C=1),this.linkDistance(function(L){return p*L.length}),this._linkLengthCalculator=function(){return x.symmetricDiffLinkLengths(A._links,A.linkAccessor,C)},this},d.prototype.jaccardLinkLengths=function(p,C){var A=this;return void 0===C&&(C=1),this.linkDistance(function(L){return p*L.length}),this._linkLengthCalculator=function(){return x.jaccardLinkLengths(A._links,A.linkAccessor,C)},this},d.prototype.start=function(p,C,A,L,N,P){var R=this;void 0===p&&(p=0),void 0===C&&(C=0),void 0===A&&(A=0),void 0===L&&(L=0),void 0===N&&(N=!0),void 0===P&&(P=!0);var K,z=this.nodes().length,tt=z+2*this._groups.length,ot=this._canvasSize[0],J=this._canvasSize[1],et=new Array(tt),q=new Array(tt),at=null,Y=this._avoidOverlaps;this._nodes.forEach(function(Zt,Yt){Zt.index=Yt,void 0===Zt.x&&(Zt.x=ot/2,Zt.y=J/2),et[Yt]=Zt.x,q[Yt]=Zt.y}),this._linkLengthCalculator&&this._linkLengthCalculator(),this._distanceMatrix?K=this._distanceMatrix:(K=new m.Calculator(tt,this._links,d.getSourceIndex,d.getTargetIndex,function(Zt){return R.getLinkLength(Zt)}).DistanceMatrix(),at=v.Descent.createSquareMatrix(tt,function(){return 2}),this._links.forEach(function(Zt){"number"==typeof Zt.source&&(Zt.source=R._nodes[Zt.source]),"number"==typeof Zt.target&&(Zt.target=R._nodes[Zt.target])}),this._links.forEach(function(Zt){var Yt=d.getSourceIndex(Zt),ie=d.getTargetIndex(Zt);at[Yt][ie]=at[ie][Yt]=Zt.weight||1}));var ut=v.Descent.createSquareMatrix(tt,function(Zt,Yt){return K[Zt][Yt]});if(this._rootGroup&&void 0!==this._rootGroup.groups){var Z=z;this._groups.forEach(function(Yt){(function(Yt,ie,Ut,xt){at[Yt][ie]=at[ie][Yt]=Ut,ut[Yt][ie]=ut[ie][Yt]=.1})(Z,Z+1,R._groupCompactness),et[Z]=0,q[Z++]=0,et[Z]=0,q[Z++]=0})}else this._rootGroup={leaves:this._nodes,groups:[]};var G=this._constraints||[];for(this._directedLinkConstraints&&(this.linkAccessor.getMinSeparation=this._directedLinkConstraints.getMinSeparation,G=G.concat(x.generateDirectedEdgeConstraints(z,this._links,this._directedLinkConstraints.axis,this.linkAccessor))),this.avoidOverlaps(!1),this._descent=new v.Descent([et,q],ut),this._descent.locks.clear(),Z=0;Z0&&(this._descent.project=new _.Projection(this._nodes,this._groups,this._rootGroup,G).projectFunctions()),this._descent.run(C),this.separateOverlappingComponents(ot,J,P),this.avoidOverlaps(Y),Y&&(this._nodes.forEach(function(Zt,Yt){Zt.x=et[Yt],Zt.y=q[Yt]}),this._descent.project=new _.Projection(this._nodes,this._groups,this._rootGroup,G,!0).projectFunctions(),this._nodes.forEach(function(Zt,Yt){et[Yt]=Zt.x,q[Yt]=Zt.y})),this._descent.G=at,this._descent.run(A),L){this._descent.snapStrength=1e3,this._descent.snapGridSize=this._nodes[0].width,this._descent.numGridSnapNodes=z,this._descent.scaleSnapByMaxH=z!=tt;var It=v.Descent.createSquareMatrix(tt,function(Zt,Yt){return Zt>=z||Yt>=z?at[Zt][Yt]:0});this._descent.G=It,this._descent.run(L)}return this.updateNodePositions(),this.separateOverlappingComponents(ot,J,P),N?this.resume():this},d.prototype.initialLayout=function(p,C,A){if(this._groups.length>0&&p>0){var L=this._nodes.length,N=this._links.map(function(R){return{source:R.source.index,target:R.target.index}}),P=this._nodes.map(function(R){return{index:R.index}});this._groups.forEach(function(R,Z){P.push({index:R.index=L+Z})}),this._groups.forEach(function(R,Z){void 0!==R.leaves&&R.leaves.forEach(function(H){return N.push({source:R.index,target:H.index})}),void 0!==R.groups&&R.groups.forEach(function(H){return N.push({source:R.index,target:H.index})})}),(new d).size(this.size()).nodes(P).links(N).avoidOverlaps(!1).linkDistance(this.linkDistance()).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(p,0,0,0,!1),this._nodes.forEach(function(R){C[R.index]=P[R.index].x,A[R.index]=P[R.index].y})}else this._descent.run(p)},d.prototype.separateOverlappingComponents=function(p,C,A){var L=this;if(void 0===A&&(A=!0),!this._distanceMatrix&&this._handleDisconnected){var N=this._descent.x[0],P=this._descent.x[1];this._nodes.forEach(function(Z,H){Z.x=N[H],Z.y=P[H]});var R=t.separateGraphs(this._nodes,this._links);t.applyPacking(R,p,C,this._defaultNodeSize,1,A),this._nodes.forEach(function(Z,H){L._descent.x[0][H]=Z.x,L._descent.x[1][H]=Z.y,Z.bounds&&(Z.bounds.setXCentre(Z.x),Z.bounds.setYCentre(Z.y))})}},d.prototype.resume=function(){return this.alpha(.1)},d.prototype.stop=function(){return this.alpha(0)},d.prototype.prepareEdgeRouting=function(p){void 0===p&&(p=0),this._visibilityGraph=new l.TangentVisibilityGraph(this._nodes.map(function(C){return C.bounds.inflate(-p).vertices()}))},d.prototype.routeEdge=function(p,C,A){void 0===C&&(C=5);var L=[],N=new l.TangentVisibilityGraph(this._visibilityGraph.P,{V:this._visibilityGraph.V,E:this._visibilityGraph.E}),P={x:p.source.x,y:p.source.y},R={x:p.target.x,y:p.target.y},Z=N.addPoint(P,p.source.index),H=N.addPoint(R,p.target.index);N.addEdgeIfVisible(P,R,p.source.index,p.target.index),void 0!==A&&A(N);var J=new m.Calculator(N.V.length,N.E,function(ut){return ut.source.id},function(ut){return ut.target.id},function(ut){return ut.length()}).PathFromNodeToNode(Z.id,H.id);if(1===J.length||J.length===N.V.length){var et=_.makeEdgeBetween(p.source.innerBounds,p.target.innerBounds,C);L=[et.sourceIntersection,et.arrowStart]}else{for(var q=J.length-2,at=N.V[J[q]].p,Y=N.V[J[0]].p,K=(L=[p.source.innerBounds.rayIntersection(at.x,at.y)],q);K>=0;--K)L.push(N.V[J[K]].p);L.push(_.makeEdgeTo(Y,p.target.innerBounds,C))}return L},d.getSourceIndex=function(p){return"number"==typeof p.source?p.source:p.source.index},d.getTargetIndex=function(p){return"number"==typeof p.target?p.target:p.target.index},d.linkId=function(p){return d.getSourceIndex(p)+"-"+d.getTargetIndex(p)},d.dragStart=function(p){h(p)?d.storeOffset(p,d.dragOrigin(p)):(d.stopNode(p),p.fixed|=2)},d.stopNode=function(p){p.px=p.x,p.py=p.y},d.storeOffset=function(p,C){void 0!==p.leaves&&p.leaves.forEach(function(A){A.fixed|=2,d.stopNode(A),A._dragGroupOffsetX=A.x-C.x,A._dragGroupOffsetY=A.y-C.y}),void 0!==p.groups&&p.groups.forEach(function(A){return d.storeOffset(A,C)})},d.dragOrigin=function(p){return h(p)?{x:p.bounds.cx(),y:p.bounds.cy()}:p},d.drag=function(p,C){h(p)?(void 0!==p.leaves&&p.leaves.forEach(function(A){p.bounds.setXCentre(C.x),p.bounds.setYCentre(C.y),A.px=A._dragGroupOffsetX+C.x,A.py=A._dragGroupOffsetY+C.y}),void 0!==p.groups&&p.groups.forEach(function(A){return d.drag(A,C)})):(p.px=C.x,p.py=C.y)},d.dragEnd=function(p){h(p)?(void 0!==p.leaves&&p.leaves.forEach(function(C){d.dragEnd(C),delete C._dragGroupOffsetX,delete C._dragGroupOffsetY}),void 0!==p.groups&&p.groups.forEach(d.dragEnd)):p.fixed&=-7},d.mouseOver=function(p){p.fixed|=4,p.px=p.x,p.py=p.y},d.mouseOut=function(p){p.fixed&=-5},d}();k.Layout=g},86461:(w,k,o)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var u=o(33858),x=o(91786),v=o(4068),_=o(58802),m=function(){function h(g,d){this.source=g,this.target=d}return h.prototype.actualLength=function(g){var d=this;return Math.sqrt(g.reduce(function(p,C){var A=C[d.target]-C[d.source];return p+A*A},0))},h}();k.Link3D=m,k.Node3D=function h(g,d,p){void 0===g&&(g=0),void 0===d&&(d=0),void 0===p&&(p=0),this.x=g,this.y=d,this.z=p};var t=function(){function h(g,d,p){var C=this;void 0===p&&(p=1),this.nodes=g,this.links=d,this.idealLinkLength=p,this.constraints=null,this.useJaccardLinkLengths=!0,this.result=new Array(h.k);for(var A=0;A{"use strict";function o(c,h){var g={};for(var d in c)g[d]={};for(var d in h)g[d]={};return Object.keys(g).length}function u(c,h){var g=0;for(var d in c)void 0!==h[d]&&++g;return g}function v(c,h,g,d){var p=function x(c,h){var g={},d=function(p,C){void 0===g[p]&&(g[p]={}),g[p][C]={}};return c.forEach(function(p){var C=h.getSourceIndex(p),A=h.getTargetIndex(p);d(C,A),d(A,C)}),g}(c,d);c.forEach(function(C){var A=p[d.getSourceIndex(C)],L=p[d.getTargetIndex(C)];d.setLength(C,1+h*g(A,L))})}function t(c,h,g){var d=[],p=0,C=[],A=[];function L(J){J.index=J.lowlink=p++,C.push(J),J.onStack=!0;for(var et=0,q=J.out;et{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var o=function h(g,d,p){this.source=g,this.target=d,this.type=p};k.PowerEdge=o;var u=function(){function h(g,d,p,C){var A=this;if(this.linkAccessor=p,this.modules=new Array(g),this.roots=[],C)this.initModulesFromGroup(C);else{this.roots.push(new m);for(var L=0;L=this.R))return this.merge(p.a,p.b,g),!0}},h.prototype.nEdges=function(g,d){var p=g.incoming.intersection(d.incoming),C=g.outgoing.intersection(d.outgoing);return this.R-p.count()-C.count()},h.prototype.getGroupHierarchy=function(g){var d=this,p=[];return x(this.roots[0],{},p),this.allEdges().forEach(function(L){var N=d.modules[L.source],P=d.modules[L.target];g.push(new o(void 0===N.gid?L.source:p[N.gid],void 0===P.gid?L.target:p[P.gid],L.type))}),p},h.prototype.allEdges=function(){var g=[];return h.getEdges(this.roots[0],g),g},h.getEdges=function(g,d){g.forAll(function(p){p.getEdges(d),h.getEdges(p.children,d)})},h}();function x(h,g,d){h.forAll(function(p){if(p.isLeaf())g.leaves||(g.leaves=[]),g.leaves.push(p.id);else{var C=g;if(p.gid=d.length,!p.isIsland()||p.isPredefined()){if(C={id:p.gid},p.isPredefined())for(var A in p.definition)C[A]=p.definition[A];g.groups||(g.groups=[]),g.groups.push(p.gid),d.push(C)}x(p.children,C,d)}})}k.Configuration=u;var v=function(){function h(g,d,p,C,A){void 0===d&&(d=new l),void 0===p&&(p=new l),void 0===C&&(C=new m),this.id=g,this.outgoing=d,this.incoming=p,this.children=C,this.definition=A}return h.prototype.getEdges=function(g){var d=this;this.outgoing.forAll(function(p,C){p.forAll(function(A){g.push(new o(d.id,A.id,C))})})},h.prototype.isLeaf=function(){return 0===this.children.count()},h.prototype.isIsland=function(){return 0===this.outgoing.count()&&0===this.incoming.count()},h.prototype.isPredefined=function(){return void 0!==this.definition},h}();k.Module=v;var m=function(){function h(){this.table={}}return h.prototype.count=function(){return Object.keys(this.table).length},h.prototype.intersection=function(g){var d=new h;return d.table=function _(h,g){var d={};for(var p in h)p in g&&(d[p]=h[p]);return d}(this.table,g.table),d},h.prototype.intersectionCount=function(g){return this.intersection(g).count()},h.prototype.contains=function(g){return g in this.table},h.prototype.add=function(g){this.table[g.id]=g},h.prototype.remove=function(g){delete this.table[g.id]},h.prototype.forAll=function(g){for(var d in this.table)g(this.table[d])},h.prototype.modules=function(){var g=[];return this.forAll(function(d){d.isPredefined()||g.push(d)}),g},h}();k.ModuleSet=m;var l=function(){function h(){this.sets={},this.n=0}return h.prototype.count=function(){return this.n},h.prototype.contains=function(g){var d=!1;return this.forAllModules(function(p){!d&&p.id==g&&(d=!0)}),d},h.prototype.add=function(g,d){(g in this.sets?this.sets[g]:this.sets[g]=new m).add(d),++this.n},h.prototype.remove=function(g,d){var p=this.sets[g];p.remove(d),0===p.count()&&delete this.sets[g],--this.n},h.prototype.forAll=function(g){for(var d in this.sets)g(this.sets[d],Number(d))},h.prototype.forAllModules=function(g){this.forAll(function(d,p){return d.forAll(g)})},h.prototype.intersection=function(g){var d=new h;return this.forAll(function(p,C){if(C in g.sets){var A=p.intersection(g.sets[C]),L=A.count();L>0&&(d.sets[C]=A,d.n+=L)}}),d},h}();k.LinkSets=l,k.getGroups=function c(h,g,d,p){for(var A=new u(h.length,g,d,p);A.greedyMerge(););var L=[],N=A.getGroupHierarchy(L);return L.forEach(function(P){var R=function(Z){var H=P[Z];"number"==typeof H&&(P[Z]=h[H])};R("source"),R("target")}),{groups:N,powerEdges:L}}},88866:(w,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var o=function(){function x(v){this.elem=v,this.subheaps=[]}return x.prototype.toString=function(v){for(var _="",m=!1,l=0;l0)}return null}}return m.prototype.clear=function(){this._root=null,this.size=0},m.prototype.find=function(l){for(var t=this._root;null!==t;){var c=this._comparator(l,t.data);if(0===c)return t.data;t=t.get_child(c>0)}return null},m.prototype.lowerBound=function(l){return this._bound(l,this._comparator)},m.prototype.upperBound=function(l){var t=this._comparator;return this._bound(l,function c(h,g){return t(g,h)})},m.prototype.min=function(){var l=this._root;if(null===l)return null;for(;null!==l.left;)l=l.left;return l.data},m.prototype.max=function(){var l=this._root;if(null===l)return null;for(;null!==l.right;)l=l.right;return l.data},m.prototype.iterator=function(){return new x(this)},m.prototype.each=function(l){for(var c,t=this.iterator();null!==(c=t.next());)l(c)},m.prototype.reach=function(l){for(var c,t=this.iterator();null!==(c=t.prev());)l(c)},m.prototype._bound=function(l,t){for(var c=this._root,h=this.iterator();null!==c;){var g=this._comparator(l,c.data);if(0===g)return h._cursor=c,h;h._ancestors.push(c),c=c.get_child(g>0)}for(var d=h._ancestors.length-1;d>=0;--d)if(t(l,(c=h._ancestors[d]).data)>0)return h._cursor=c,h._ancestors.length=d,h;return h._ancestors.length=0,h},m}();k.TreeBase=u;var x=function(){function m(l){this._tree=l,this._ancestors=[],this._cursor=null}return m.prototype.data=function(){return null!==this._cursor?this._cursor.data:null},m.prototype.next=function(){if(null===this._cursor){var l=this._tree._root;null!==l&&this._minNode(l)}else if(null===this._cursor.right){var t;do{if(t=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.right===t)}else this._ancestors.push(this._cursor),this._minNode(this._cursor.right);return null!==this._cursor?this._cursor.data:null},m.prototype.prev=function(){if(null===this._cursor){var l=this._tree._root;null!==l&&this._maxNode(l)}else if(null===this._cursor.left){var t;do{if(t=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.left===t)}else this._ancestors.push(this._cursor),this._maxNode(this._cursor.left);return null!==this._cursor?this._cursor.data:null},m.prototype._minNode=function(l){for(;null!==l.left;)this._ancestors.push(l),l=l.left;this._cursor=l},m.prototype._maxNode=function(l){for(;null!==l.right;)this._ancestors.push(l),l=l.right;this._cursor=l},m}();k.Iterator=x;var v=function(){function m(l){this.data=l,this.left=null,this.right=null,this.red=!0}return m.prototype.get_child=function(l){return l?this.right:this.left},m.prototype.set_child=function(l,t){l?this.right=t:this.left=t},m}(),_=function(m){function l(t){var c=m.call(this)||this;return c._root=null,c._comparator=t,c.size=0,c}return o(l,m),l.prototype.insert=function(t){var c=!1;if(null===this._root)this._root=new v(t),c=!0,this.size++;else{var h=new v(void 0),g=!1,d=!1,p=null,C=h,A=null,L=this._root;for(C.right=this._root;;){if(null===L?(L=new v(t),A.set_child(g,L),c=!0,this.size++):l.is_red(L.left)&&l.is_red(L.right)&&(L.red=!0,L.left.red=!1,L.right.red=!1),l.is_red(L)&&l.is_red(A)){var N=C.right===p;L===A.get_child(d)?C.set_child(N,l.single_rotate(p,!d)):C.set_child(N,l.double_rotate(p,!d))}var P=this._comparator(L.data,t);if(0===P)break;d=g,null!==p&&(C=p),p=A,A=L,L=L.get_child(g=P<0)}this._root=h.right}return this._root.red=!1,c},l.prototype.remove=function(t){if(null===this._root)return!1;var c=new v(void 0),h=c;h.right=this._root;for(var g=null,d=null,p=null,C=!0;null!==h.get_child(C);){var A=C;d=g,g=h,h=h.get_child(C);var L=this._comparator(t,h.data);if(C=L>0,0===L&&(p=h),!l.is_red(h)&&!l.is_red(h.get_child(C)))if(l.is_red(h.get_child(!C))){var N=l.single_rotate(h,C);g.set_child(A,N),g=N}else if(!l.is_red(h.get_child(!C))){var P=g.get_child(!A);if(null!==P)if(l.is_red(P.get_child(!A))||l.is_red(P.get_child(A))){var R=d.right===g;l.is_red(P.get_child(A))?d.set_child(R,l.double_rotate(g,A)):l.is_red(P.get_child(!A))&&d.set_child(R,l.single_rotate(g,A));var Z=d.get_child(R);Z.red=!0,h.red=!0,Z.left.red=!1,Z.right.red=!1}else g.red=!1,P.red=!0,h.red=!0}}return null!==p&&(p.data=h.data,g.set_child(g.right===h,h.get_child(null===h.left)),this.size--),this._root=c.right,null!==this._root&&(this._root.red=!1),null!==p},l.is_red=function(t){return null!==t&&t.red},l.single_rotate=function(t,c){var h=t.get_child(!c);return t.set_child(!c,h.get_child(c)),h.set_child(c,t),t.red=!0,h.red=!1,h},l.double_rotate=function(t,c){return t.set_child(!c,l.single_rotate(t.get_child(!c),!c)),l.single_rotate(t,c)},l}(u);k.RBTree=_},4068:function(w,k,o){"use strict";var J,u=this&&this.__extends||(J=function(et,q){return(J=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(at,Y){at.__proto__=Y}||function(at,Y){for(var K in Y)Y.hasOwnProperty(K)&&(at[K]=Y[K])})(et,q)},function(et,q){function at(){this.constructor=et}J(et,q),et.prototype=null===q?Object.create(q):(at.prototype=q.prototype,new at)});Object.defineProperty(k,"__esModule",{value:!0});var x=o(98237),v=o(94655);function _(J){return J.bounds=void 0!==J.leaves?J.leaves.reduce(function(et,q){return q.bounds.union(et)},m.empty()):m.empty(),void 0!==J.groups&&(J.bounds=J.groups.reduce(function(et,q){return _(q).union(et)},J.bounds)),J.bounds=J.bounds.inflate(J.padding),J.bounds}k.computeGroupBounds=_;var m=function(){function J(et,q,at,Y){this.x=et,this.X=q,this.y=at,this.Y=Y}return J.empty=function(){return new J(Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY)},J.prototype.cx=function(){return(this.x+this.X)/2},J.prototype.cy=function(){return(this.y+this.Y)/2},J.prototype.overlapX=function(et){var q=this.cx(),at=et.cx();return q<=at&&et.x0?at[0]:null},J.prototype.vertices=function(){return[{x:this.x,y:this.y},{x:this.X,y:this.y},{x:this.X,y:this.Y},{x:this.x,y:this.Y}]},J.lineIntersection=function(et,q,at,Y,K,ut,it,G){var M=at-et,ft=it-K,It=Y-q,Zt=G-ut,Yt=Zt*M-ft*It;if(0==Yt)return null;var ie=et-K,Ut=q-ut,pt=(ft*Ut-Zt*ie)/Yt,Jt=(M*Ut-It*ie)/Yt;return pt>=0&&pt<=1&&Jt>=0&&Jt<=1?{x:et+pt*M,y:q+pt*It}:null},J.prototype.inflate=function(et){return new J(this.x-et,this.X+et,this.y-et,this.Y+et)},J}();k.Rectangle=m,k.makeEdgeBetween=function l(J,et,q){var at=J.rayIntersection(et.cx(),et.cy())||{x:J.cx(),y:J.cy()},Y=et.rayIntersection(J.cx(),J.cy())||{x:et.cx(),y:et.cy()},K=Y.x-at.x,ut=Y.y-at.y,it=Math.sqrt(K*K+ut*ut),G=it-q;return{sourceIntersection:at,targetIntersection:Y,arrowStart:{x:at.x+G*K/it,y:at.y+G*ut/it}}},k.makeEdgeTo=function t(J,et,q){var at=et.rayIntersection(J.x,J.y);at||(at={x:et.cx(),y:et.cy()});var Y=at.x-J.x,K=at.y-J.y,ut=Math.sqrt(Y*Y+K*K);return{x:at.x-q*Y/ut,y:at.y-q*K/ut}};var c=function J(et,q,at){this.v=et,this.r=q,this.pos=at,this.prev=d(),this.next=d()},h=function J(et,q,at){this.isOpen=et,this.v=q,this.pos=at};function g(J,et){return J.pos>et.pos?1:J.pos0&&(J[at].insert(K),K[Y].insert(J))};q("next","prev"),q("prev","next")}};function A(J,et,q,at){void 0===at&&(at=!1);var Y=J.padding,K=void 0!==J.groups?J.groups.length:0,ut=void 0!==J.leaves?J.leaves.length:0,it=K?J.groups.reduce(function(_e,Te){return _e.concat(A(Te,et,q,!0))},[]):[],G=(at?2:0)+ut+K,M=new Array(G),ft=new Array(G),It=0,Zt=function(_e,Te){ft[It]=_e,M[It++]=Te};if(at){var Yt=J.bounds,ie=et.getCentre(Yt),Ut=et.getSize(Yt)/2,xt=et.getOpen(Yt),pt=et.getClose(Yt),Nt=ie-Ut+Y/2,Jt=ie+Ut-Y/2;J.minVar.desiredPosition=Nt,Zt(et.makeRect(xt,pt,Nt,Y),J.minVar),J.maxVar.desiredPosition=Jt,Zt(et.makeRect(xt,pt,Jt,Y),J.maxVar)}ut&&J.leaves.forEach(function(_e){return Zt(_e.bounds,_e.variable)}),K&&J.groups.forEach(function(_e){var Te=_e.bounds;Zt(et.makeRect(et.getOpen(Te),et.getClose(Te),et.getCentre(Te),et.getSize(Te)),_e.minVar)});var ge=L(ft,M,et,q);return K&&(M.forEach(function(_e){_e.cOut=[],_e.cIn=[]}),ge.forEach(function(_e){_e.left.cOut.push(_e),_e.right.cIn.push(_e)}),J.groups.forEach(function(_e){var Te=(_e.padding-et.getSize(_e.bounds))/2;_e.minVar.cIn.forEach(function(Ze){return Ze.gap+=Te}),_e.minVar.cOut.forEach(function(Ze){Ze.left=_e.maxVar,Ze.gap+=Te})})),it.concat(ge)}function L(J,et,q,at){var Y,K=J.length,ut=2*K;console.assert(et.length>=K);var it=new Array(ut);for(Y=0;Yit[at]&&(it[at]=G)}ut=it})}},J.prototype.createAlignment=function(et){var q=this,at=this.nodes[et.offsets[0].node].variable;this.makeFeasible(et);var Y="x"===et.axis?this.xConstraints:this.yConstraints;et.offsets.slice(1).forEach(function(K){Y.push(new x.Constraint(at,q.nodes[K.node].variable,K.offset,!0))})},J.prototype.createConstraints=function(et){var q=this,at=function(Y){return void 0===Y.type||"separation"===Y.type};this.xConstraints=et.filter(function(Y){return"x"===Y.axis&&at(Y)}).map(function(Y){return q.createSeparation(Y)}),this.yConstraints=et.filter(function(Y){return"y"===Y.axis&&at(Y)}).map(function(Y){return q.createSeparation(Y)}),et.filter(function(Y){return"alignment"===Y.type}).forEach(function(Y){return q.createAlignment(Y)})},J.prototype.setupVariablesAndBounds=function(et,q,at,Y){this.nodes.forEach(function(K,ut){K.fixed?(K.variable.weight=K.fixedWeight?K.fixedWeight:1e3,at[ut]=Y(K)):K.variable.weight=1;var it=(K.width||0)/2,G=(K.height||0)/2,M=et[ut],ft=q[ut];K.bounds=new m(M-it,M+it,ft-G,ft+G)})},J.prototype.xProject=function(et,q,at){!this.rootGroup&&!this.avoidOverlaps&&!this.xConstraints||this.project(et,q,et,at,function(Y){return Y.px},this.xConstraints,H,function(Y){return Y.bounds.setXCentre(at[Y.variable.index]=Y.variable.position())},function(Y){var K=at[Y.minVar.index]=Y.minVar.position(),ut=at[Y.maxVar.index]=Y.maxVar.position(),it=Y.padding/2;Y.bounds.x=K-it,Y.bounds.X=ut+it})},J.prototype.yProject=function(et,q,at){!this.rootGroup&&!this.yConstraints||this.project(et,q,q,at,function(Y){return Y.py},this.yConstraints,z,function(Y){return Y.bounds.setYCentre(at[Y.variable.index]=Y.variable.position())},function(Y){var K=at[Y.minVar.index]=Y.minVar.position(),ut=at[Y.maxVar.index]=Y.maxVar.position(),it=Y.padding/2;Y.bounds.y=K-it,Y.bounds.Y=ut+it})},J.prototype.projectFunctions=function(){var et=this;return[function(q,at,Y){return et.xProject(q,at,Y)},function(q,at,Y){return et.yProject(q,at,Y)}]},J.prototype.project=function(et,q,at,Y,K,ut,it,G,M){this.setupVariablesAndBounds(et,q,Y,K),this.rootGroup&&this.avoidOverlaps&&(_(this.rootGroup),ut=ut.concat(it(this.rootGroup))),this.solve(this.variables,ut,at,Y),this.nodes.forEach(G),this.rootGroup&&this.avoidOverlaps&&(this.groups.forEach(M),_(this.rootGroup))},J.prototype.solve=function(et,q,at,Y){var K=new x.Solver(et,q);K.setStartingPositions(at),K.setDesiredPositions(Y),K.solve()},J}();k.Projection=ot},33858:(w,k,o)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var u=o(88866),x=function l(t,c){this.id=t,this.distance=c},v=function l(t){this.id=t,this.neighbours=[]},_=function l(t,c,h){this.node=t,this.prev=c,this.d=h},m=function(){function l(t,c,h,g,d){this.n=t,this.es=c,this.neighbours=new Array(this.n);for(var p=this.n;p--;)this.neighbours[p]=new v(p);for(p=this.es.length;p--;){var C=this.es[p],A=h(C),L=g(C),N=d(C);this.neighbours[A].neighbours.push(new x(L,N)),this.neighbours[L].neighbours.push(new x(A,N))}}return l.prototype.DistanceMatrix=function(){for(var t=new Array(this.n),c=0;cP&&(L.d=P,L.prev=C,h.reduceKey(L.q,L,function(Z,H){return Z.q=H}))}}return d},l}();k.Calculator=m},98237:(w,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var o=function(){function t(c){this.scale=c,this.AB=0,this.AD=0,this.A2=0}return t.prototype.addVariable=function(c){var h=this.scale/c.scale,d=c.weight;this.AB+=d*h*(c.offset/c.scale),this.AD+=d*h*c.desiredPosition,this.A2+=d*h*h},t.prototype.getPosn=function(){return(this.AD-this.AB)/this.A2},t}();k.PositionStats=o;var u=function(){function t(c,h,g,d){void 0===d&&(d=!1),this.left=c,this.right=h,this.gap=g,this.equality=d,this.active=!1,this.unsatisfiable=!1,this.left=c,this.right=h,this.gap=g,this.equality=d}return t.prototype.slack=function(){return this.unsatisfiable?Number.MAX_VALUE:this.right.scale*this.right.position()-this.gap-this.left.scale*this.left.position()},t}();k.Constraint=u;var x=function(){function t(c,h,g){void 0===h&&(h=1),void 0===g&&(g=1),this.desiredPosition=c,this.weight=h,this.scale=g,this.offset=0}return t.prototype.dfdv=function(){return 2*this.weight*(this.position()-this.desiredPosition)},t.prototype.position=function(){return(this.block.ps.scale*this.block.posn+this.offset)/this.scale},t.prototype.visitNeighbours=function(c,h){var g=function(d,p){return d.active&&c!==p&&h(d,p)};this.cOut.forEach(function(d){return g(d,d.right)}),this.cIn.forEach(function(d){return g(d,d.left)})},t}();k.Variable=x;var v=function(){function t(c){this.vars=[],c.offset=0,this.ps=new o(c.scale),this.addVariable(c)}return t.prototype.addVariable=function(c){c.block=this,this.vars.push(c),this.ps.addVariable(c),this.posn=this.ps.getPosn()},t.prototype.updateWeightedPosition=function(){this.ps.AB=this.ps.AD=this.ps.A2=0;for(var c=0,h=this.vars.length;c=0?this.inactive.push(c):this.bs.merge(c)}}},t.prototype.solve=function(){this.satisfy();for(var c=Number.MAX_VALUE,h=this.bs.cost();Math.abs(c-h)>1e-4;)this.satisfy(),c=h,h=this.bs.cost();return h},t.LAGRANGIAN_TOLERANCE=-1e-4,t.ZERO_UPPERBOUND=-1e-10,t}();k.Solver=m,k.removeOverlapInOneDimension=function l(t,c,h){for(var g=t.map(function(rt){return new x(rt.desiredCenter)}),d=[],p=t.length,C=0;C=Q);)++ct;if(ct-I>16&&b.subarray&&Ve)return Ve.decode(b.subarray(I,ct));for(var yt="";I>10,56320|1023&Se)}}else yt+=String.fromCharCode((31&kt)<<6|Pt)}else yt+=String.fromCharCode(kt)}return yt}function oe(b,I){return b?Mn(En,b,I):""}function fn(b,I,U,Q){if(!(Q>0))return 0;for(var ct=U,yt=U+Q-1,kt=0;kt=55296&&Pt<=57343&&(Pt=65536+((1023&Pt)<<10)|1023&b.charCodeAt(++kt)),Pt<=127){if(U>=yt)break;I[U++]=Pt}else if(Pt<=2047){if(U+1>=yt)break;I[U++]=192|Pt>>6,I[U++]=128|63&Pt}else if(Pt<=65535){if(U+2>=yt)break;I[U++]=224|Pt>>12,I[U++]=128|Pt>>6&63,I[U++]=128|63&Pt}else{if(U+3>=yt)break;I[U++]=240|Pt>>18,I[U++]=128|Pt>>12&63,I[U++]=128|Pt>>6&63,I[U++]=128|63&Pt}}return I[U]=0,U-ct}function ni(b){for(var I=0,U=0;U=55296&&Q<=57343&&(Q=65536+((1023&Q)<<10)|1023&b.charCodeAt(++U)),Q<=127?++I:I+=Q<=2047?2:Q<=65535?3:4}return I}function an(b,I){return b%I>0&&(b+=I-b%I),b}function Rn(b){je=b,M.HEAP8=sn=new Int8Array(b),M.HEAP16=new Int16Array(b),M.HEAP32=Be=new Int32Array(b),M.HEAPU8=En=new Uint8Array(b),M.HEAPU16=new Uint16Array(b),M.HEAPU32=new Uint32Array(b),M.HEAPF32=new Float32Array(b),M.HEAPF64=ci=new Float64Array(b)}var _n,Yn=[],ti=[],Me=[];var ve=0,Ze=null;function nn(b){ve++,M.monitorRunDependencies&&M.monitorRunDependencies(ve)}function Zn(b){if(ve--,M.monitorRunDependencies&&M.monitorRunDependencies(ve),0==ve&&Ze){var I=Ze;Ze=null,I()}}function Dn(b){M.onAbort&&M.onAbort(b),Te(b="Aborted("+b+")"),Fe=!0,b+=". Build with -s ASSERTIONS=1 for more info.";var I=new WebAssembly.RuntimeError(b);throw It(I),I}M.preloadedImages={},M.preloadedAudios={};var vn;function Di(b){return b.startsWith("data:application/octet-stream;base64,")}function ei(b){try{if(b==vn&&Re)return new Uint8Array(Re);throw"both async and sync fetching of the wasm failed"}catch(I){Dn(I)}}Di(vn="expatlib.wasm")||(vn=function pt(b){return M.locateFile?M.locateFile(b,xt):xt+b}(vn));var un,bn,Kn={11694:function(b){var I=M.getCache(M.CExpatJS)[b];if(!I.hasOwnProperty("startElement"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::startElement.";I.startElement()},11912:function(b){var I=M.getCache(M.CExpatJS)[b];if(!I.hasOwnProperty("endElement"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::endElement.";I.endElement()},12124:function(b){var I=M.getCache(M.CExpatJS)[b];if(!I.hasOwnProperty("characterData"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::characterData.";I.characterData()}};function ui(b){for(;b.length>0;){var I=b.shift();if("function"!=typeof I){var U=I.func;"number"==typeof U?void 0===I.arg?Nn(U)():Nn(U)(I.arg):U(void 0===I.arg?null:I.arg)}else I(M)}}function Nn(b){return _n.get(b)}var De={splitPath:function(b){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(b).slice(1)},normalizeArray:function(b,I){for(var U=0,Q=b.length-1;Q>=0;Q--){var ct=b[Q];"."===ct?b.splice(Q,1):".."===ct?(b.splice(Q,1),U++):U&&(b.splice(Q,1),U--)}if(I)for(;U;U--)b.unshift("..");return b},normalize:function(b){var I="/"===b.charAt(0),U="/"===b.substr(-1);return!(b=De.normalizeArray(b.split("/").filter(function(Q){return!!Q}),!I).join("/"))&&!I&&(b="."),b&&U&&(b+="/"),(I?"/":"")+b},dirname:function(b){var I=De.splitPath(b),U=I[0],Q=I[1];return U||Q?(Q&&(Q=Q.substr(0,Q.length-1)),U+Q):"."},basename:function(b){if("/"===b)return"/";var I=(b=(b=De.normalize(b)).replace(/\/$/,"")).lastIndexOf("/");return-1===I?b:b.substr(I+1)},extname:function(b){return De.splitPath(b)[3]},join:function(){var b=Array.prototype.slice.call(arguments,0);return De.normalize(b.join("/"))},join2:function(b,I){return De.normalize(b+"/"+I)}};var Bn={resolve:function(){for(var b="",I=!1,U=arguments.length-1;U>=-1&&!I;U--){var Q=U>=0?arguments[U]:S.cwd();if("string"!=typeof Q)throw new TypeError("Arguments to path.resolve must be strings");if(!Q)return"";b=Q+"/"+b,I="/"===Q.charAt(0)}return(I?"/":"")+(b=De.normalizeArray(b.split("/").filter(function(ct){return!!ct}),!I).join("/"))||"."},relative:function(b,I){function U(Se){for(var Ge=0;Ge=0&&""===Se[Ke];Ke--);return Ge>Ke?[]:Se.slice(Ge,Ke-Ge+1)}b=Bn.resolve(b).substr(1),I=Bn.resolve(I).substr(1);for(var Q=U(b.split("/")),ct=U(I.split("/")),yt=Math.min(Q.length,ct.length),kt=yt,Pt=0;Pt0&&(_e(Mn(b.output,0)),b.output=[])}},default_tty1_ops:{put_char:function(b,I){null===I||10===I?(Te(Mn(b.output,0)),b.output=[]):0!=I&&b.output.push(I)},flush:function(b){b.output&&b.output.length>0&&(Te(Mn(b.output,0)),b.output=[])}}};var X={ops_table:null,mount:function(b){return X.createNode(null,"/",16895,0)},createNode:function(b,I,U,Q){if(S.isBlkdev(U)||S.isFIFO(U))throw new S.ErrnoError(63);X.ops_table||(X.ops_table={dir:{node:{getattr:X.node_ops.getattr,setattr:X.node_ops.setattr,lookup:X.node_ops.lookup,mknod:X.node_ops.mknod,rename:X.node_ops.rename,unlink:X.node_ops.unlink,rmdir:X.node_ops.rmdir,readdir:X.node_ops.readdir,symlink:X.node_ops.symlink},stream:{llseek:X.stream_ops.llseek}},file:{node:{getattr:X.node_ops.getattr,setattr:X.node_ops.setattr},stream:{llseek:X.stream_ops.llseek,read:X.stream_ops.read,write:X.stream_ops.write,allocate:X.stream_ops.allocate,mmap:X.stream_ops.mmap,msync:X.stream_ops.msync}},link:{node:{getattr:X.node_ops.getattr,setattr:X.node_ops.setattr,readlink:X.node_ops.readlink},stream:{}},chrdev:{node:{getattr:X.node_ops.getattr,setattr:X.node_ops.setattr},stream:S.chrdev_stream_ops}});var ct=S.createNode(b,I,U,Q);return S.isDir(ct.mode)?(ct.node_ops=X.ops_table.dir.node,ct.stream_ops=X.ops_table.dir.stream,ct.contents={}):S.isFile(ct.mode)?(ct.node_ops=X.ops_table.file.node,ct.stream_ops=X.ops_table.file.stream,ct.usedBytes=0,ct.contents=null):S.isLink(ct.mode)?(ct.node_ops=X.ops_table.link.node,ct.stream_ops=X.ops_table.link.stream):S.isChrdev(ct.mode)&&(ct.node_ops=X.ops_table.chrdev.node,ct.stream_ops=X.ops_table.chrdev.stream),ct.timestamp=Date.now(),b&&(b.contents[I]=ct,b.timestamp=ct.timestamp),ct},getFileDataAsTypedArray:function(b){return b.contents?b.contents.subarray?b.contents.subarray(0,b.usedBytes):new Uint8Array(b.contents):new Uint8Array(0)},expandFileStorage:function(b,I){var U=b.contents?b.contents.length:0;if(!(U>=I)){I=Math.max(I,U*(U<1048576?2:1.125)>>>0),0!=U&&(I=Math.max(I,256));var ct=b.contents;b.contents=new Uint8Array(I),b.usedBytes>0&&b.contents.set(ct.subarray(0,b.usedBytes),0)}},resizeFileStorage:function(b,I){if(b.usedBytes!=I)if(0==I)b.contents=null,b.usedBytes=0;else{var U=b.contents;b.contents=new Uint8Array(I),U&&b.contents.set(U.subarray(0,Math.min(I,b.usedBytes))),b.usedBytes=I}},node_ops:{getattr:function(b){var I={};return I.dev=S.isChrdev(b.mode)?b.id:1,I.ino=b.id,I.mode=b.mode,I.nlink=1,I.uid=0,I.gid=0,I.rdev=b.rdev,I.size=S.isDir(b.mode)?4096:S.isFile(b.mode)?b.usedBytes:S.isLink(b.mode)?b.link.length:0,I.atime=new Date(b.timestamp),I.mtime=new Date(b.timestamp),I.ctime=new Date(b.timestamp),I.blksize=4096,I.blocks=Math.ceil(I.size/I.blksize),I},setattr:function(b,I){void 0!==I.mode&&(b.mode=I.mode),void 0!==I.timestamp&&(b.timestamp=I.timestamp),void 0!==I.size&&X.resizeFileStorage(b,I.size)},lookup:function(b,I){throw S.genericErrors[44]},mknod:function(b,I,U,Q){return X.createNode(b,I,U,Q)},rename:function(b,I,U){if(S.isDir(b.mode)){var Q;try{Q=S.lookupNode(I,U)}catch(yt){}if(Q)for(var ct in Q.contents)throw new S.ErrnoError(55)}delete b.parent.contents[b.name],b.parent.timestamp=Date.now(),b.name=U,I.contents[U]=b,I.timestamp=b.parent.timestamp,b.parent=I},unlink:function(b,I){delete b.contents[I],b.timestamp=Date.now()},rmdir:function(b,I){var U=S.lookupNode(b,I);for(var Q in U.contents)throw new S.ErrnoError(55);delete b.contents[I],b.timestamp=Date.now()},readdir:function(b){var I=[".",".."];for(var U in b.contents)!b.contents.hasOwnProperty(U)||I.push(U);return I},symlink:function(b,I,U){var Q=X.createNode(b,I,41471,0);return Q.link=U,Q},readlink:function(b){if(!S.isLink(b.mode))throw new S.ErrnoError(28);return b.link}},stream_ops:{read:function(b,I,U,Q,ct){var yt=b.node.contents;if(ct>=b.node.usedBytes)return 0;var kt=Math.min(b.node.usedBytes-ct,Q);if(kt>8&&yt.subarray)I.set(yt.subarray(ct,ct+kt),U);else for(var Pt=0;Pt0||Q+U8)throw new S.ErrnoError(32);for(var ct=De.normalizeArray(b.split("/").filter(function(Pe){return!!Pe}),!1),yt=S.root,kt="/",Pt=0;Pt40)throw new S.ErrnoError(32)}}return{path:kt,node:yt}},getPath:function(b){for(var I;;){if(S.isRoot(b)){var U=b.mount.mountpoint;return I?"/"!==U[U.length-1]?U+"/"+I:U+I:U}I=I?b.name+"/"+I:b.name,b=b.parent}},hashName:function(b,I){for(var U=0,Q=0;Q>>0)%S.nameTable.length},hashAddNode:function(b){var I=S.hashName(b.parent.id,b.name);b.name_next=S.nameTable[I],S.nameTable[I]=b},hashRemoveNode:function(b){var I=S.hashName(b.parent.id,b.name);if(S.nameTable[I]===b)S.nameTable[I]=b.name_next;else for(var U=S.nameTable[I];U;){if(U.name_next===b){U.name_next=b.name_next;break}U=U.name_next}},lookupNode:function(b,I){var U=S.mayLookup(b);if(U)throw new S.ErrnoError(U,b);for(var Q=S.hashName(b.id,I),ct=S.nameTable[Q];ct;ct=ct.name_next)if(ct.parent.id===b.id&&ct.name===I)return ct;return S.lookup(b,I)},createNode:function(b,I,U,Q){var ct=new S.FSNode(b,I,U,Q);return S.hashAddNode(ct),ct},destroyNode:function(b){S.hashRemoveNode(b)},isRoot:function(b){return b===b.parent},isMountpoint:function(b){return!!b.mounted},isFile:function(b){return 32768==(61440&b)},isDir:function(b){return 16384==(61440&b)},isLink:function(b){return 40960==(61440&b)},isChrdev:function(b){return 8192==(61440&b)},isBlkdev:function(b){return 24576==(61440&b)},isFIFO:function(b){return 4096==(61440&b)},isSocket:function(b){return 49152==(49152&b)},flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags:function(b){var I=S.flagModes[b];if(void 0===I)throw new Error("Unknown file open mode: "+b);return I},flagsToPermissionString:function(b){var I=["r","w","rw"][3&b];return 512&b&&(I+="w"),I},nodePermissions:function(b,I){return S.ignorePermissions?0:I.includes("r")&&!(292&b.mode)||I.includes("w")&&!(146&b.mode)||I.includes("x")&&!(73&b.mode)?2:0},mayLookup:function(b){return S.nodePermissions(b,"x")||(b.node_ops.lookup?0:2)},mayCreate:function(b,I){try{return S.lookupNode(b,I),20}catch(Q){}return S.nodePermissions(b,"wx")},mayDelete:function(b,I,U){var Q;try{Q=S.lookupNode(b,I)}catch(yt){return yt.errno}var ct=S.nodePermissions(b,"wx");if(ct)return ct;if(U){if(!S.isDir(Q.mode))return 54;if(S.isRoot(Q)||S.getPath(Q)===S.cwd())return 10}else if(S.isDir(Q.mode))return 31;return 0},mayOpen:function(b,I){return b?S.isLink(b.mode)?32:S.isDir(b.mode)&&("r"!==S.flagsToPermissionString(I)||512&I)?31:S.nodePermissions(b,S.flagsToPermissionString(I)):44},MAX_OPEN_FDS:4096,nextfd:function(b,I){I=I||S.MAX_OPEN_FDS;for(var U=b=b||0;U<=I;U++)if(!S.streams[U])return U;throw new S.ErrnoError(33)},getStream:function(b){return S.streams[b]},createStream:function(b,I,U){S.FSStream||(S.FSStream=function(){},S.FSStream.prototype={object:{get:function(){return this.node},set:function(kt){this.node=kt}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}});var Q=new S.FSStream;for(var ct in b)Q[ct]=b[ct];b=Q;var yt=S.nextfd(I,U);return b.fd=yt,S.streams[yt]=b,b},closeStream:function(b){S.streams[b]=null},chrdev_stream_ops:{open:function(b){var I=S.getDevice(b.node.rdev);b.stream_ops=I.stream_ops,b.stream_ops.open&&b.stream_ops.open(b)},llseek:function(){throw new S.ErrnoError(70)}},major:function(b){return b>>8},minor:function(b){return 255&b},makedev:function(b,I){return b<<8|I},registerDevice:function(b,I){S.devices[b]={stream_ops:I}},getDevice:function(b){return S.devices[b]},getMounts:function(b){for(var I=[],U=[b];U.length;){var Q=U.pop();I.push(Q),U.push.apply(U,Q.mounts)}return I},syncfs:function(b,I){"function"==typeof b&&(I=b,b=!1),S.syncFSRequests++,S.syncFSRequests>1&&Te("warning: "+S.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var U=S.getMounts(S.root.mount),Q=0;function ct(kt){return S.syncFSRequests--,I(kt)}function yt(kt){if(kt)return yt.errored?void 0:(yt.errored=!0,ct(kt));++Q>=U.length&&ct(null)}U.forEach(function(kt){if(!kt.type.syncfs)return yt(null);kt.type.syncfs(kt,b,yt)})},mount:function(b,I,U){var yt,Q="/"===U,ct=!U;if(Q&&S.root)throw new S.ErrnoError(10);if(!Q&&!ct){var kt=S.lookupPath(U,{follow_mount:!1});if(U=kt.path,S.isMountpoint(yt=kt.node))throw new S.ErrnoError(10);if(!S.isDir(yt.mode))throw new S.ErrnoError(54)}var Pt={type:b,opts:I,mountpoint:U,mounts:[]},ae=b.mount(Pt);return ae.mount=Pt,Pt.root=ae,Q?S.root=ae:yt&&(yt.mounted=Pt,yt.mount&&yt.mount.mounts.push(Pt)),ae},unmount:function(b){var I=S.lookupPath(b,{follow_mount:!1});if(!S.isMountpoint(I.node))throw new S.ErrnoError(28);var U=I.node,Q=U.mounted,ct=S.getMounts(Q);Object.keys(S.nameTable).forEach(function(kt){for(var Pt=S.nameTable[kt];Pt;){var ae=Pt.name_next;ct.includes(Pt.mount)&&S.destroyNode(Pt),Pt=ae}}),U.mounted=null;var yt=U.mount.mounts.indexOf(Q);U.mount.mounts.splice(yt,1)},lookup:function(b,I){return b.node_ops.lookup(b,I)},mknod:function(b,I,U){var ct=S.lookupPath(b,{parent:!0}).node,yt=De.basename(b);if(!yt||"."===yt||".."===yt)throw new S.ErrnoError(28);var kt=S.mayCreate(ct,yt);if(kt)throw new S.ErrnoError(kt);if(!ct.node_ops.mknod)throw new S.ErrnoError(63);return ct.node_ops.mknod(ct,yt,I,U)},create:function(b,I){return I=void 0!==I?I:438,I&=4095,S.mknod(b,I|=32768,0)},mkdir:function(b,I){return I=void 0!==I?I:511,I&=1023,S.mknod(b,I|=16384,0)},mkdirTree:function(b,I){for(var U=b.split("/"),Q="",ct=0;ctthis.length-1||Pe<0)){var Xe=Pe%this.chunkSize;return this.getter(Pe/this.chunkSize|0)[Xe]}},yt.prototype.setDataGetter=function(Pe){this.getter=Pe},yt.prototype.cacheLength=function(){var Pe=new XMLHttpRequest;if(Pe.open("HEAD",U,!1),Pe.send(null),!(Pe.status>=200&&Pe.status<300||304===Pe.status))throw new Error("Couldn't load "+U+". Status: "+Pe.status);var Cn,Xe=Number(Pe.getResponseHeader("Content-length")),di=(Cn=Pe.getResponseHeader("Accept-Ranges"))&&"bytes"===Cn,qi=(Cn=Pe.getResponseHeader("Content-Encoding"))&&"gzip"===Cn,ki=1048576;di||(ki=Xe);var ii=this;ii.setDataGetter(function(Oi){var ar=Oi*ki,si=(Oi+1)*ki-1;if(si=Math.min(si,Xe-1),void 0===ii.chunks[Oi]&&(ii.chunks[Oi]=function(Oi,ar){if(Oi>ar)throw new Error("invalid range ("+Oi+", "+ar+") or no bytes requested!");if(ar>Xe-1)throw new Error("only "+Xe+" bytes available! programmer error!");var si=new XMLHttpRequest;if(si.open("GET",U,!1),Xe!==ki&&si.setRequestHeader("Range","bytes="+Oi+"-"+ar),"undefined"!=typeof Uint8Array&&(si.responseType="arraybuffer"),si.overrideMimeType&&si.overrideMimeType("text/plain; charset=x-user-defined"),si.send(null),!(si.status>=200&&si.status<300||304===si.status))throw new Error("Couldn't load "+U+". Status: "+si.status);return void 0!==si.response?new Uint8Array(si.response||[]):ye(si.responseText||"",!0)}(ar,si)),void 0===ii.chunks[Oi])throw new Error("doXHR failed!");return ii.chunks[Oi]}),(qi||!Xe)&&(ki=Xe=1,Xe=this.getter(0).length,ki=Xe,_e("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=Xe,this._chunkSize=ki,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var Pt,ae=S.createFile(b,I,Pt={isDevice:!1,url:U},Q,ct);Pt.contents?ae.contents=Pt.contents:Pt.url&&(ae.contents=null,ae.url=Pt.url),Object.defineProperties(ae,{usedBytes:{get:function(){return this.contents.length}}});var Se={};return Object.keys(ae.stream_ops).forEach(function(Ke){var Pe=ae.stream_ops[Ke];Se[Ke]=function(){return S.forceLoadFile(ae),Pe.apply(null,arguments)}}),Se.read=function(Pe,Xe,Cn,di,qi){S.forceLoadFile(ae);var ki=Pe.node.contents;if(qi>=ki.length)return 0;var fi=Math.min(ki.length-qi,di);if(ki.slice)for(var ii=0;ii>2]=Q.dev,Be[U+4>>2]=0,Be[U+8>>2]=Q.ino,Be[U+12>>2]=Q.mode,Be[U+16>>2]=Q.nlink,Be[U+20>>2]=Q.uid,Be[U+24>>2]=Q.gid,Be[U+28>>2]=Q.rdev,Be[U+32>>2]=0,bn=[Q.size>>>0,(un=Q.size,+Math.abs(un)>=1?un>0?(0|Math.min(+Math.floor(un/4294967296),4294967295))>>>0:~~+Math.ceil((un-+(~~un>>>0))/4294967296)>>>0:0)],Be[U+40>>2]=bn[0],Be[U+44>>2]=bn[1],Be[U+48>>2]=4096,Be[U+52>>2]=Q.blocks,Be[U+56>>2]=Q.atime.getTime()/1e3|0,Be[U+60>>2]=0,Be[U+64>>2]=Q.mtime.getTime()/1e3|0,Be[U+68>>2]=0,Be[U+72>>2]=Q.ctime.getTime()/1e3|0,Be[U+76>>2]=0,bn=[Q.ino>>>0,(un=Q.ino,+Math.abs(un)>=1?un>0?(0|Math.min(+Math.floor(un/4294967296),4294967295))>>>0:~~+Math.ceil((un-+(~~un>>>0))/4294967296)>>>0:0)],Be[U+80>>2]=bn[0],Be[U+84>>2]=bn[1],0},doMsync:function(b,I,U,Q,ct){var yt=En.slice(b,b+U);S.msync(I,yt,ct,U,Q)},doMkdir:function(b,I){return"/"===(b=De.normalize(b))[b.length-1]&&(b=b.substr(0,b.length-1)),S.mkdir(b,I,0),0},doMknod:function(b,I,U){switch(61440&I){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return S.mknod(b,I,U),0},doReadlink:function(b,I,U){if(U<=0)return-28;var Q=S.readlink(b),ct=Math.min(U,ni(Q)),yt=sn[I+ct];return function Wn(b,I,U){return fn(b,En,I,U)}(Q,I,U+1),sn[I+ct]=yt,ct},doAccess:function(b,I){if(-8&I)return-28;var Q=S.lookupPath(b,{follow:!0}).node;if(!Q)return-44;var ct="";return 4&I&&(ct+="r"),2&I&&(ct+="w"),1&I&&(ct+="x"),ct&&S.nodePermissions(Q,ct)?-2:0},doDup:function(b,I,U){var Q=S.getStream(U);return Q&&S.close(Q),S.open(b,I,0,U,U).fd},doReadv:function(b,I,U,Q){for(var ct=0,yt=0;yt>2],ae=S.read(b,sn,Be[I+8*yt>>2],Pt,Q);if(ae<0)return-1;if(ct+=ae,ae>2],Be[I+(8*yt+4)>>2],Q);if(ae<0)return-1;ct+=ae}return ct},varargs:void 0,get:function(){return wt.varargs+=4,Be[wt.varargs-4>>2]},getStr:function(b){return oe(b)},getStreamFromFD:function(b){var I=S.getStream(b);if(!I)throw new S.ErrnoError(8);return I},get64:function(b,I){return b}};var Yt=[];function mt(b){try{return Tn.grow(b-je.byteLength+65535>>>16),Rn(Tn.buffer),1}catch(I){}}var At={};function te(){if(!te.strings){var I={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:ne||"./this.program"};for(var U in At)void 0===At[U]?delete I[U]:I[U]=At[U];var Q=[];for(var U in I)Q.push(U+"="+I[U]);te.strings=Q}return te.strings}var He=function(b,I,U,Q){b||(b=this),this.parent=b,this.mount=b.mount,this.mounted=null,this.id=S.nextInode++,this.name=I,this.mode=U,this.node_ops={},this.stream_ops={},this.rdev=Q};function ye(b,I,U){var Q=U>0?U:ni(b)+1,ct=new Array(Q),yt=fn(b,ct,0,ct.length);return I&&(ct.length=yt),ct}Object.defineProperties(He.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(b){b?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(b){b?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return S.isDir(this.mode)}},isDevice:{get:function(){return S.isChrdev(this.mode)}}}),S.FSNode=He,S.staticInit();var Ye={h:function Ot(b,I,U){wt.varargs=U;try{var Q=wt.getStr(b),ct=U?wt.get():0;return S.open(Q,I,ct).fd}catch(kt){if(void 0===S||!(kt instanceof S.ErrnoError))throw kt;return-kt.errno}},b:function Bt(){Dn("")},a:function qt(b,I,U){var Q=function re(b,I){var U;for(Yt.length=0,I>>=2;U=En[b++];){var Q=U<105;Q&&1&I&&I++,Yt.push(Q?ci[I++>>1]:Be[I]),++I}return Yt}(I,U);return Kn[b].apply(null,Q)},k:function j(b,I,U){En.copyWithin(b,I,I+U)},e:function Ct(b){var I=En.length,U=2147483648;if((b>>>=0)>U)return!1;for(var Q=1;Q<=4;Q*=2){var ct=I*(1+.2/Q);if(ct=Math.min(ct,b+100663296),mt(Math.min(U,an(Math.max(b,ct),65536))))return!0}return!1},f:function Dt(b,I){var U=0;return te().forEach(function(Q,ct){var yt=I+U;Be[b+4*ct>>2]=yt,function Hn(b,I,U){for(var Q=0;Q>0]=b.charCodeAt(Q);U||(sn[I>>0]=0)}(Q,yt),U+=Q.length+1}),0},g:function de(b,I){var U=te();Be[b>>2]=U.length;var Q=0;return U.forEach(function(ct){Q+=ct.length+1}),Be[I>>2]=Q,0},d:function O(b){try{var I=wt.getStreamFromFD(b);return S.close(I),0}catch(U){if(void 0===S||!(U instanceof S.ErrnoError))throw U;return U.errno}},i:function le(b,I,U,Q){try{var ct=wt.getStreamFromFD(b),yt=wt.doReadv(ct,I,U);return Be[Q>>2]=yt,0}catch(kt){if(void 0===S||!(kt instanceof S.ErrnoError))throw kt;return kt.errno}},j:function Le(b,I,U,Q,ct){try{var yt=wt.getStreamFromFD(b),Pt=4294967296*U+(I>>>0),ae=9007199254740992;return Pt<=-ae||Pt>=ae?-61:(S.llseek(yt,Pt,Q),bn=[yt.position>>>0,(un=yt.position,+Math.abs(un)>=1?un>0?(0|Math.min(+Math.floor(un/4294967296),4294967295))>>>0:~~+Math.ceil((un-+(~~un>>>0))/4294967296)>>>0:0)],Be[ct>>2]=bn[0],Be[ct+4>>2]=bn[1],yt.getdents&&0===Pt&&0===Q&&(yt.getdents=null),0)}catch(Se){if(void 0===S||!(Se instanceof S.ErrnoError))throw Se;return Se.errno}},c:function ke(b,I,U,Q){try{var ct=wt.getStreamFromFD(b),yt=wt.doWritev(ct,I,U);return Be[Q>>2]=yt,0}catch(kt){if(void 0===S||!(kt instanceof S.ErrnoError))throw kt;return kt.errno}},l:function rn(b){var I=Date.now();return Be[b>>2]=I/1e3|0,Be[b+4>>2]=I%1e3*1e3|0,0}};(function On(){var b={a:Ye};function I(kt,Pt){M.asm=kt.exports,Rn((Tn=M.asm.m).buffer),_n=M.asm.G,function se(b){ti.unshift(b)}(M.asm.n),Zn()}function U(kt){I(kt.instance)}function Q(kt){return function Ai(){return Re||"function"!=typeof fetch?Promise.resolve().then(function(){return ei(vn)}):fetch(vn,{credentials:"same-origin"}).then(function(b){if(!b.ok)throw"failed to load wasm binary file at '"+vn+"'";return b.arrayBuffer()}).catch(function(){return ei(vn)})}().then(function(Pt){return WebAssembly.instantiate(Pt,b)}).then(function(Pt){return Pt}).then(kt,function(Pt){Te("failed to asynchronously prepare wasm: "+Pt),Dn(Pt)})}if(nn(),M.instantiateWasm)try{return M.instantiateWasm(b,I)}catch(kt){return Te("Module.instantiateWasm callback failed with error: "+kt),!1}return function ct(){return Re||"function"!=typeof WebAssembly.instantiateStreaming||Di(vn)||"function"!=typeof fetch?Q(U):fetch(vn,{credentials:"same-origin"}).then(function(kt){return WebAssembly.instantiateStreaming(kt,b).then(U,function(ae){return Te("wasm streaming compile failed: "+ae),Te("falling back to ArrayBuffer instantiation"),Q(U)})})}().catch(It),{}})(),M.___wasm_call_ctors=function(){return(M.___wasm_call_ctors=M.asm.n).apply(null,arguments)};var qe,nt=M._emscripten_bind_CExpat_CExpat_0=function(){return(nt=M._emscripten_bind_CExpat_CExpat_0=M.asm.o).apply(null,arguments)},_t=M._emscripten_bind_CExpat_version_0=function(){return(_t=M._emscripten_bind_CExpat_version_0=M.asm.p).apply(null,arguments)},gt=M._emscripten_bind_CExpat_create_0=function(){return(gt=M._emscripten_bind_CExpat_create_0=M.asm.q).apply(null,arguments)},St=M._emscripten_bind_CExpat_destroy_0=function(){return(St=M._emscripten_bind_CExpat_destroy_0=M.asm.r).apply(null,arguments)},zt=M._emscripten_bind_CExpat_parse_1=function(){return(zt=M._emscripten_bind_CExpat_parse_1=M.asm.s).apply(null,arguments)},ee=M._emscripten_bind_CExpat_tag_0=function(){return(ee=M._emscripten_bind_CExpat_tag_0=M.asm.t).apply(null,arguments)},Qt=M._emscripten_bind_CExpat_attrs_0=function(){return(Qt=M._emscripten_bind_CExpat_attrs_0=M.asm.u).apply(null,arguments)},me=M._emscripten_bind_CExpat_content_0=function(){return(me=M._emscripten_bind_CExpat_content_0=M.asm.v).apply(null,arguments)},xe=M._emscripten_bind_CExpat_startElement_0=function(){return(xe=M._emscripten_bind_CExpat_startElement_0=M.asm.w).apply(null,arguments)},Wt=M._emscripten_bind_CExpat_endElement_0=function(){return(Wt=M._emscripten_bind_CExpat_endElement_0=M.asm.x).apply(null,arguments)},ce=M._emscripten_bind_CExpat_characterData_0=function(){return(ce=M._emscripten_bind_CExpat_characterData_0=M.asm.y).apply(null,arguments)},Ie=M._emscripten_bind_CExpat___destroy___0=function(){return(Ie=M._emscripten_bind_CExpat___destroy___0=M.asm.z).apply(null,arguments)},Ee=M._emscripten_bind_VoidPtr___destroy___0=function(){return(Ee=M._emscripten_bind_VoidPtr___destroy___0=M.asm.A).apply(null,arguments)},Ue=M._emscripten_bind_CExpatJS_CExpatJS_0=function(){return(Ue=M._emscripten_bind_CExpatJS_CExpatJS_0=M.asm.B).apply(null,arguments)},Jn=M._emscripten_bind_CExpatJS_startElement_0=function(){return(Jn=M._emscripten_bind_CExpatJS_startElement_0=M.asm.C).apply(null,arguments)},Ln=M._emscripten_bind_CExpatJS_endElement_0=function(){return(Ln=M._emscripten_bind_CExpatJS_endElement_0=M.asm.D).apply(null,arguments)},kn=M._emscripten_bind_CExpatJS_characterData_0=function(){return(kn=M._emscripten_bind_CExpatJS_characterData_0=M.asm.E).apply(null,arguments)},ze=M._emscripten_bind_CExpatJS___destroy___0=function(){return(ze=M._emscripten_bind_CExpatJS___destroy___0=M.asm.F).apply(null,arguments)};function Qn(b){function I(){qe||(qe=!0,M.calledRun=!0,!Fe&&(function $n(){!M.noFSInit&&!S.init.initialized&&S.init(),S.ignorePermissions=!1,ui(ti)}(),ft(M),M.onRuntimeInitialized&&M.onRuntimeInitialized(),function Tt(){if(M.postRun)for("function"==typeof M.postRun&&(M.postRun=[M.postRun]);M.postRun.length;)b=M.postRun.shift(),Me.unshift(b);var b;ui(Me)}()))}ve>0||(function Xn(){if(M.preRun)for("function"==typeof M.preRun&&(M.preRun=[M.preRun]);M.preRun.length;)b=M.preRun.shift(),Yn.unshift(b);var b;ui(Yn)}(),ve>0)||(M.setStatus?(M.setStatus("Running..."),setTimeout(function(){setTimeout(function(){M.setStatus("")},1),I()},1)):I())}if(M._malloc=function(){return(M._malloc=M.asm.H).apply(null,arguments)},Ze=function b(){qe||Qn(),qe||(Ze=b)},M.run=Qn,M.preInit)for("function"==typeof M.preInit&&(M.preInit=[M.preInit]);M.preInit.length>0;)M.preInit.pop()();function on(){}function cn(b){return(b||on).__cache__}function Un(b,I){var U=cn(I),Q=U[b];return Q||((Q=Object.create((I||on).prototype)).ptr=b,U[b]=Q)}Qn(),(on.prototype=Object.create(on.prototype)).constructor=on,on.prototype.__class__=on,on.__cache__={},M.WrapperObject=on,M.getCache=cn,M.wrapPointer=Un,M.castObject=function zi(b,I){return Un(b.ptr,I)},M.NULL=Un(0),M.destroy=function hi(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__(),delete cn(b.__class__)[b.ptr]},M.compare=function Hi(b,I){return b.ptr===I.ptr},M.getPointer=function jn(b){return b.ptr},M.getClass=function gi(b){return b.__class__};var xn={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(xn.needed){for(var b=0;b=xn.size?(gn(Q>0),xn.needed+=Q,ct=M._malloc(Q),xn.temps.push(ct)):(ct=xn.buffer+xn.pos,xn.pos+=Q),ct},copy:function(b,I,U){switch(U>>>=0,I.BYTES_PER_ELEMENT){case 2:U>>>=1;break;case 4:U>>>=2;break;case 8:U>>>=3}for(var ct=0;ct=$);)++dt;if(dt-D>16&&y.subarray&&ni)return ni.decode(y.subarray(D,dt));for(var Et="";D>10,56320|1023&We)}}else Et+=String.fromCharCode((31&Lt)<<6|Vt)}else Et+=String.fromCharCode(Lt)}return Et}function an(y,D){return y?Hn(Yn,y,D):""}function je(y,D,B,$){if(!($>0))return 0;for(var dt=B,Et=B+$-1,Lt=0;Lt=55296&&Vt<=57343&&(Vt=65536+((1023&Vt)<<10)|1023&y.charCodeAt(++Lt)),Vt<=127){if(B>=Et)break;D[B++]=Vt}else if(Vt<=2047){if(B+1>=Et)break;D[B++]=192|Vt>>6,D[B++]=128|63&Vt}else if(Vt<=65535){if(B+2>=Et)break;D[B++]=224|Vt>>12,D[B++]=128|Vt>>6&63,D[B++]=128|63&Vt}else{if(B+3>=Et)break;D[B++]=240|Vt>>18,D[B++]=128|Vt>>12&63,D[B++]=128|Vt>>6&63,D[B++]=128|63&Vt}}return D[B]=0,B-dt}function En(y){for(var D=0,B=0;B=55296&&$<=57343&&($=65536+((1023&$)<<10)|1023&y.charCodeAt(++B)),$<=127?++D:D+=$<=2047?2:$<=65535?3:4}return D}function ci(y,D){return y%D>0&&(y+=D-y%D),y}function $n(y){Rn=y,M.HEAP8=_n=new Int8Array(y),M.HEAP16=ti=new Int16Array(y),M.HEAP32=Me=new Int32Array(y),M.HEAPU8=Yn=new Uint8Array(y),M.HEAPU16=new Uint16Array(y),M.HEAPU32=new Uint32Array(y),M.HEAPF32=new Float32Array(y),M.HEAPF64=Xn=new Float64Array(y)}var Tt,Gt=[],se=[],pe=[];var vn=0,ei=null;function On(y){vn++,M.monitorRunDependencies&&M.monitorRunDependencies(vn)}function un(y){if(vn--,M.monitorRunDependencies&&M.monitorRunDependencies(vn),0==vn&&ei){var D=ei;ei=null,D()}}function bn(y){M.onAbort&&M.onAbort(y),Re(y="Aborted("+y+")"),fn=!0,y+=". Build with -s ASSERTIONS=1 for more info.";var D=new WebAssembly.RuntimeError(y);throw It(D),D}M.preloadedImages={},M.preloadedAudios={};var Nn;function ui(y){return y.startsWith("data:application/octet-stream;base64,")}function De(y){try{if(y==Nn&&Ve)return new Uint8Array(Ve);throw"both async and sync fetching of the wasm failed"}catch(D){bn(D)}}ui(Nn="graphvizlib.wasm")||(Nn=function Nt(y){return M.locateFile?M.locateFile(y,pt):pt+y}(Nn));var pn,V,wt,X={161580:function(y,D){var B=an(y),$=an(D);O.createPath("/",qt.dirname(B)),O.writeFile(qt.join("/",B),$)}};function ht(y){for(;y.length>0;){var D=y.shift();if("function"!=typeof D){var B=D.func;"number"==typeof B?void 0===D.arg?S(B)():S(B)(D.arg):B(void 0===D.arg?null:D.arg)}else D(M)}}function S(y){return Tt.get(y)}wt=function(){return performance.now()};function Bt(y){return Me[kt()>>2]=y,y}var qt={splitPath:function(y){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(y).slice(1)},normalizeArray:function(y,D){for(var B=0,$=y.length-1;$>=0;$--){var dt=y[$];"."===dt?y.splice($,1):".."===dt?(y.splice($,1),B++):B&&(y.splice($,1),B--)}if(D)for(;B;B--)y.unshift("..");return y},normalize:function(y){var D="/"===y.charAt(0),B="/"===y.substr(-1);return!(y=qt.normalizeArray(y.split("/").filter(function($){return!!$}),!D).join("/"))&&!D&&(y="."),y&&B&&(y+="/"),(D?"/":"")+y},dirname:function(y){var D=qt.splitPath(y),B=D[0],$=D[1];return B||$?($&&($=$.substr(0,$.length-1)),B+$):"."},basename:function(y){if("/"===y)return"/";var D=(y=(y=qt.normalize(y)).replace(/\/$/,"")).lastIndexOf("/");return-1===D?y:y.substr(D+1)},extname:function(y){return qt.splitPath(y)[3]},join:function(){var y=Array.prototype.slice.call(arguments,0);return qt.normalize(y.join("/"))},join2:function(y,D){return qt.normalize(y+"/"+D)}};var mt={resolve:function(){for(var y="",D=!1,B=arguments.length-1;B>=-1&&!D;B--){var $=B>=0?arguments[B]:O.cwd();if("string"!=typeof $)throw new TypeError("Arguments to path.resolve must be strings");if(!$)return"";y=$+"/"+y,D="/"===$.charAt(0)}return(D?"/":"")+(y=qt.normalizeArray(y.split("/").filter(function(dt){return!!dt}),!D).join("/"))||"."},relative:function(y,D){function B(We){for(var hn=0;hn=0&&""===We[wn];wn--);return hn>wn?[]:We.slice(hn,wn-hn+1)}y=mt.resolve(y).substr(1),D=mt.resolve(D).substr(1);for(var $=B(y.split("/")),dt=B(D.split("/")),Et=Math.min($.length,dt.length),Lt=Et,Vt=0;Vt0&&(Te(Hn(y.output,0)),y.output=[])}},default_tty1_ops:{put_char:function(y,D){null===D||10===D?(Re(Hn(y.output,0)),y.output=[]):0!=D&&y.output.push(D)},flush:function(y){y.output&&y.output.length>0&&(Re(Hn(y.output,0)),y.output=[])}}};function te(y){y=function Xt(y,D){return Math.ceil(y/D)*D}(y,65536);var D=Ge(65536,y);return D?(function At(y,D){Yn.fill(0,y,y+D)}(D,y),D):0}var Dt={ops_table:null,mount:function(y){return Dt.createNode(null,"/",16895,0)},createNode:function(y,D,B,$){if(O.isBlkdev(B)||O.isFIFO(B))throw new O.ErrnoError(63);Dt.ops_table||(Dt.ops_table={dir:{node:{getattr:Dt.node_ops.getattr,setattr:Dt.node_ops.setattr,lookup:Dt.node_ops.lookup,mknod:Dt.node_ops.mknod,rename:Dt.node_ops.rename,unlink:Dt.node_ops.unlink,rmdir:Dt.node_ops.rmdir,readdir:Dt.node_ops.readdir,symlink:Dt.node_ops.symlink},stream:{llseek:Dt.stream_ops.llseek}},file:{node:{getattr:Dt.node_ops.getattr,setattr:Dt.node_ops.setattr},stream:{llseek:Dt.stream_ops.llseek,read:Dt.stream_ops.read,write:Dt.stream_ops.write,allocate:Dt.stream_ops.allocate,mmap:Dt.stream_ops.mmap,msync:Dt.stream_ops.msync}},link:{node:{getattr:Dt.node_ops.getattr,setattr:Dt.node_ops.setattr,readlink:Dt.node_ops.readlink},stream:{}},chrdev:{node:{getattr:Dt.node_ops.getattr,setattr:Dt.node_ops.setattr},stream:O.chrdev_stream_ops}});var dt=O.createNode(y,D,B,$);return O.isDir(dt.mode)?(dt.node_ops=Dt.ops_table.dir.node,dt.stream_ops=Dt.ops_table.dir.stream,dt.contents={}):O.isFile(dt.mode)?(dt.node_ops=Dt.ops_table.file.node,dt.stream_ops=Dt.ops_table.file.stream,dt.usedBytes=0,dt.contents=null):O.isLink(dt.mode)?(dt.node_ops=Dt.ops_table.link.node,dt.stream_ops=Dt.ops_table.link.stream):O.isChrdev(dt.mode)&&(dt.node_ops=Dt.ops_table.chrdev.node,dt.stream_ops=Dt.ops_table.chrdev.stream),dt.timestamp=Date.now(),y&&(y.contents[D]=dt,y.timestamp=dt.timestamp),dt},getFileDataAsTypedArray:function(y){return y.contents?y.contents.subarray?y.contents.subarray(0,y.usedBytes):new Uint8Array(y.contents):new Uint8Array(0)},expandFileStorage:function(y,D){var B=y.contents?y.contents.length:0;if(!(B>=D)){D=Math.max(D,B*(B<1048576?2:1.125)>>>0),0!=B&&(D=Math.max(D,256));var dt=y.contents;y.contents=new Uint8Array(D),y.usedBytes>0&&y.contents.set(dt.subarray(0,y.usedBytes),0)}},resizeFileStorage:function(y,D){if(y.usedBytes!=D)if(0==D)y.contents=null,y.usedBytes=0;else{var B=y.contents;y.contents=new Uint8Array(D),B&&y.contents.set(B.subarray(0,Math.min(D,y.usedBytes))),y.usedBytes=D}},node_ops:{getattr:function(y){var D={};return D.dev=O.isChrdev(y.mode)?y.id:1,D.ino=y.id,D.mode=y.mode,D.nlink=1,D.uid=0,D.gid=0,D.rdev=y.rdev,D.size=O.isDir(y.mode)?4096:O.isFile(y.mode)?y.usedBytes:O.isLink(y.mode)?y.link.length:0,D.atime=new Date(y.timestamp),D.mtime=new Date(y.timestamp),D.ctime=new Date(y.timestamp),D.blksize=4096,D.blocks=Math.ceil(D.size/D.blksize),D},setattr:function(y,D){void 0!==D.mode&&(y.mode=D.mode),void 0!==D.timestamp&&(y.timestamp=D.timestamp),void 0!==D.size&&Dt.resizeFileStorage(y,D.size)},lookup:function(y,D){throw O.genericErrors[44]},mknod:function(y,D,B,$){return Dt.createNode(y,D,B,$)},rename:function(y,D,B){if(O.isDir(y.mode)){var $;try{$=O.lookupNode(D,B)}catch(Et){}if($)for(var dt in $.contents)throw new O.ErrnoError(55)}delete y.parent.contents[y.name],y.parent.timestamp=Date.now(),y.name=B,D.contents[B]=y,D.timestamp=y.parent.timestamp,y.parent=D},unlink:function(y,D){delete y.contents[D],y.timestamp=Date.now()},rmdir:function(y,D){var B=O.lookupNode(y,D);for(var $ in B.contents)throw new O.ErrnoError(55);delete y.contents[D],y.timestamp=Date.now()},readdir:function(y){var D=[".",".."];for(var B in y.contents)!y.contents.hasOwnProperty(B)||D.push(B);return D},symlink:function(y,D,B){var $=Dt.createNode(y,D,41471,0);return $.link=B,$},readlink:function(y){if(!O.isLink(y.mode))throw new O.ErrnoError(28);return y.link}},stream_ops:{read:function(y,D,B,$,dt){var Et=y.node.contents;if(dt>=y.node.usedBytes)return 0;var Lt=Math.min(y.node.usedBytes-dt,$);if(Lt>8&&Et.subarray)D.set(Et.subarray(dt,dt+Lt),B);else for(var Vt=0;Vt0||$+B8)throw new O.ErrnoError(32);for(var dt=qt.normalizeArray(y.split("/").filter(function($e){return!!$e}),!1),Et=O.root,Lt="/",Vt=0;Vt40)throw new O.ErrnoError(32)}}return{path:Lt,node:Et}},getPath:function(y){for(var D;;){if(O.isRoot(y)){var B=y.mount.mountpoint;return D?"/"!==B[B.length-1]?B+"/"+D:B+D:B}D=D?y.name+"/"+D:y.name,y=y.parent}},hashName:function(y,D){for(var B=0,$=0;$>>0)%O.nameTable.length},hashAddNode:function(y){var D=O.hashName(y.parent.id,y.name);y.name_next=O.nameTable[D],O.nameTable[D]=y},hashRemoveNode:function(y){var D=O.hashName(y.parent.id,y.name);if(O.nameTable[D]===y)O.nameTable[D]=y.name_next;else for(var B=O.nameTable[D];B;){if(B.name_next===y){B.name_next=y.name_next;break}B=B.name_next}},lookupNode:function(y,D){var B=O.mayLookup(y);if(B)throw new O.ErrnoError(B,y);for(var $=O.hashName(y.id,D),dt=O.nameTable[$];dt;dt=dt.name_next)if(dt.parent.id===y.id&&dt.name===D)return dt;return O.lookup(y,D)},createNode:function(y,D,B,$){var dt=new O.FSNode(y,D,B,$);return O.hashAddNode(dt),dt},destroyNode:function(y){O.hashRemoveNode(y)},isRoot:function(y){return y===y.parent},isMountpoint:function(y){return!!y.mounted},isFile:function(y){return 32768==(61440&y)},isDir:function(y){return 16384==(61440&y)},isLink:function(y){return 40960==(61440&y)},isChrdev:function(y){return 8192==(61440&y)},isBlkdev:function(y){return 24576==(61440&y)},isFIFO:function(y){return 4096==(61440&y)},isSocket:function(y){return 49152==(49152&y)},flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags:function(y){var D=O.flagModes[y];if(void 0===D)throw new Error("Unknown file open mode: "+y);return D},flagsToPermissionString:function(y){var D=["r","w","rw"][3&y];return 512&y&&(D+="w"),D},nodePermissions:function(y,D){return O.ignorePermissions?0:D.includes("r")&&!(292&y.mode)||D.includes("w")&&!(146&y.mode)||D.includes("x")&&!(73&y.mode)?2:0},mayLookup:function(y){return O.nodePermissions(y,"x")||(y.node_ops.lookup?0:2)},mayCreate:function(y,D){try{return O.lookupNode(y,D),20}catch($){}return O.nodePermissions(y,"wx")},mayDelete:function(y,D,B){var $;try{$=O.lookupNode(y,D)}catch(Et){return Et.errno}var dt=O.nodePermissions(y,"wx");if(dt)return dt;if(B){if(!O.isDir($.mode))return 54;if(O.isRoot($)||O.getPath($)===O.cwd())return 10}else if(O.isDir($.mode))return 31;return 0},mayOpen:function(y,D){return y?O.isLink(y.mode)?32:O.isDir(y.mode)&&("r"!==O.flagsToPermissionString(D)||512&D)?31:O.nodePermissions(y,O.flagsToPermissionString(D)):44},MAX_OPEN_FDS:4096,nextfd:function(y,D){D=D||O.MAX_OPEN_FDS;for(var B=y=y||0;B<=D;B++)if(!O.streams[B])return B;throw new O.ErrnoError(33)},getStream:function(y){return O.streams[y]},createStream:function(y,D,B){O.FSStream||(O.FSStream=function(){},O.FSStream.prototype={object:{get:function(){return this.node},set:function(Lt){this.node=Lt}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}});var $=new O.FSStream;for(var dt in y)$[dt]=y[dt];y=$;var Et=O.nextfd(D,B);return y.fd=Et,O.streams[Et]=y,y},closeStream:function(y){O.streams[y]=null},chrdev_stream_ops:{open:function(y){var D=O.getDevice(y.node.rdev);y.stream_ops=D.stream_ops,y.stream_ops.open&&y.stream_ops.open(y)},llseek:function(){throw new O.ErrnoError(70)}},major:function(y){return y>>8},minor:function(y){return 255&y},makedev:function(y,D){return y<<8|D},registerDevice:function(y,D){O.devices[y]={stream_ops:D}},getDevice:function(y){return O.devices[y]},getMounts:function(y){for(var D=[],B=[y];B.length;){var $=B.pop();D.push($),B.push.apply(B,$.mounts)}return D},syncfs:function(y,D){"function"==typeof y&&(D=y,y=!1),O.syncFSRequests++,O.syncFSRequests>1&&Re("warning: "+O.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var B=O.getMounts(O.root.mount),$=0;function dt(Lt){return O.syncFSRequests--,D(Lt)}function Et(Lt){if(Lt)return Et.errored?void 0:(Et.errored=!0,dt(Lt));++$>=B.length&&dt(null)}B.forEach(function(Lt){if(!Lt.type.syncfs)return Et(null);Lt.type.syncfs(Lt,y,Et)})},mount:function(y,D,B){var Et,$="/"===B,dt=!B;if($&&O.root)throw new O.ErrnoError(10);if(!$&&!dt){var Lt=O.lookupPath(B,{follow_mount:!1});if(B=Lt.path,O.isMountpoint(Et=Lt.node))throw new O.ErrnoError(10);if(!O.isDir(Et.mode))throw new O.ErrnoError(54)}var Vt={type:y,opts:D,mountpoint:B,mounts:[]},ue=y.mount(Vt);return ue.mount=Vt,Vt.root=ue,$?O.root=ue:Et&&(Et.mounted=Vt,Et.mount&&Et.mount.mounts.push(Vt)),ue},unmount:function(y){var D=O.lookupPath(y,{follow_mount:!1});if(!O.isMountpoint(D.node))throw new O.ErrnoError(28);var B=D.node,$=B.mounted,dt=O.getMounts($);Object.keys(O.nameTable).forEach(function(Lt){for(var Vt=O.nameTable[Lt];Vt;){var ue=Vt.name_next;dt.includes(Vt.mount)&&O.destroyNode(Vt),Vt=ue}}),B.mounted=null;var Et=B.mount.mounts.indexOf($);B.mount.mounts.splice(Et,1)},lookup:function(y,D){return y.node_ops.lookup(y,D)},mknod:function(y,D,B){var dt=O.lookupPath(y,{parent:!0}).node,Et=qt.basename(y);if(!Et||"."===Et||".."===Et)throw new O.ErrnoError(28);var Lt=O.mayCreate(dt,Et);if(Lt)throw new O.ErrnoError(Lt);if(!dt.node_ops.mknod)throw new O.ErrnoError(63);return dt.node_ops.mknod(dt,Et,D,B)},create:function(y,D){return D=void 0!==D?D:438,D&=4095,O.mknod(y,D|=32768,0)},mkdir:function(y,D){return D=void 0!==D?D:511,D&=1023,O.mknod(y,D|=16384,0)},mkdirTree:function(y,D){for(var B=y.split("/"),$="",dt=0;dtthis.length-1||$e<0)){var tn=$e%this.chunkSize;return this.getter($e/this.chunkSize|0)[tn]}},Et.prototype.setDataGetter=function($e){this.getter=$e},Et.prototype.cacheLength=function(){var $e=new XMLHttpRequest;if($e.open("HEAD",B,!1),$e.send(null),!($e.status>=200&&$e.status<300||304===$e.status))throw new Error("Couldn't load "+B+". Status: "+$e.status);var In,tn=Number($e.getResponseHeader("Content-length")),Ri=(In=$e.getResponseHeader("Accept-Ranges"))&&"bytes"===In,Tr=(In=$e.getResponseHeader("Content-Encoding"))&&"gzip"===In,Zi=1048576;Ri||(Zi=tn);var Ii=this;Ii.setDataGetter(function($i){var br=$i*Zi,_i=($i+1)*Zi-1;if(_i=Math.min(_i,tn-1),void 0===Ii.chunks[$i]&&(Ii.chunks[$i]=function($i,br){if($i>br)throw new Error("invalid range ("+$i+", "+br+") or no bytes requested!");if(br>tn-1)throw new Error("only "+tn+" bytes available! programmer error!");var _i=new XMLHttpRequest;if(_i.open("GET",B,!1),tn!==Zi&&_i.setRequestHeader("Range","bytes="+$i+"-"+br),"undefined"!=typeof Uint8Array&&(_i.responseType="arraybuffer"),_i.overrideMimeType&&_i.overrideMimeType("text/plain; charset=x-user-defined"),_i.send(null),!(_i.status>=200&&_i.status<300||304===_i.status))throw new Error("Couldn't load "+B+". Status: "+_i.status);return void 0!==_i.response?new Uint8Array(_i.response||[]):Li(_i.responseText||"",!0)}(br,_i)),void 0===Ii.chunks[$i])throw new Error("doXHR failed!");return Ii.chunks[$i]}),(Tr||!tn)&&(Zi=tn=1,tn=this.getter(0).length,Zi=tn,Te("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=tn,this._chunkSize=Zi,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var Vt,ue=O.createFile(y,D,Vt={isDevice:!1,url:B},$,dt);Vt.contents?ue.contents=Vt.contents:Vt.url&&(ue.contents=null,ue.url=Vt.url),Object.defineProperties(ue,{usedBytes:{get:function(){return this.contents.length}}});var We={};return Object.keys(ue.stream_ops).forEach(function(wn){var $e=ue.stream_ops[wn];We[wn]=function(){return O.forceLoadFile(ue),$e.apply(null,arguments)}}),We.read=function($e,tn,In,Ri,Tr){O.forceLoadFile(ue);var Zi=$e.node.contents;if(Tr>=Zi.length)return 0;var kr=Math.min(Zi.length-Tr,Ri);if(Zi.slice)for(var Ii=0;Ii>2]=$.dev,Me[B+4>>2]=0,Me[B+8>>2]=$.ino,Me[B+12>>2]=$.mode,Me[B+16>>2]=$.nlink,Me[B+20>>2]=$.uid,Me[B+24>>2]=$.gid,Me[B+28>>2]=$.rdev,Me[B+32>>2]=0,V=[$.size>>>0,(pn=$.size,+Math.abs(pn)>=1?pn>0?(0|Math.min(+Math.floor(pn/4294967296),4294967295))>>>0:~~+Math.ceil((pn-+(~~pn>>>0))/4294967296)>>>0:0)],Me[B+40>>2]=V[0],Me[B+44>>2]=V[1],Me[B+48>>2]=4096,Me[B+52>>2]=$.blocks,Me[B+56>>2]=$.atime.getTime()/1e3|0,Me[B+60>>2]=0,Me[B+64>>2]=$.mtime.getTime()/1e3|0,Me[B+68>>2]=0,Me[B+72>>2]=$.ctime.getTime()/1e3|0,Me[B+76>>2]=0,V=[$.ino>>>0,(pn=$.ino,+Math.abs(pn)>=1?pn>0?(0|Math.min(+Math.floor(pn/4294967296),4294967295))>>>0:~~+Math.ceil((pn-+(~~pn>>>0))/4294967296)>>>0:0)],Me[B+80>>2]=V[0],Me[B+84>>2]=V[1],0},doMsync:function(y,D,B,$,dt){var Et=Yn.slice(y,y+B);O.msync(D,Et,dt,B,$)},doMkdir:function(y,D){return"/"===(y=qt.normalize(y))[y.length-1]&&(y=y.substr(0,y.length-1)),O.mkdir(y,D,0),0},doMknod:function(y,D,B){switch(61440&D){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return O.mknod(y,D,B),0},doReadlink:function(y,D,B){if(B<=0)return-28;var $=O.readlink(y),dt=Math.min(B,En($)),Et=_n[D+dt];return function sn(y,D,B){return je(y,Yn,D,B)}($,D,B+1),_n[D+dt]=Et,dt},doAccess:function(y,D){if(-8&D)return-28;var $=O.lookupPath(y,{follow:!0}).node;if(!$)return-44;var dt="";return 4&D&&(dt+="r"),2&D&&(dt+="w"),1&D&&(dt+="x"),dt&&O.nodePermissions($,dt)?-2:0},doDup:function(y,D,B){var $=O.getStream(B);return $&&O.close($),O.open(y,D,0,B,B).fd},doReadv:function(y,D,B,$){for(var dt=0,Et=0;Et>2],ue=O.read(y,_n,Me[D+8*Et>>2],Vt,$);if(ue<0)return-1;if(dt+=ue,ue>2],Me[D+(8*Et+4)>>2],$);if(ue<0)return-1;dt+=ue}return dt},varargs:void 0,get:function(){return le.varargs+=4,Me[le.varargs-4>>2]},getStr:function(y){return an(y)},getStreamFromFD:function(y){var D=O.getStream(y);if(!D)throw new O.ErrnoError(8);return D},get64:function(y,D){return y}};var Qt=[];function ce(y){try{return oe.grow(y-Rn.byteLength+65535>>>16),$n(oe.buffer),1}catch(D){}}var Ee={};function Jn(){if(!Jn.strings){var D={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:ne||"./this.program"};for(var B in Ee)void 0===Ee[B]?delete D[B]:D[B]=Ee[B];var $=[];for(var B in D)$.push(B+"="+D[B]);Jn.strings=$}return Jn.strings}var jn=function(y,D,B,$){y||(y=this),this.parent=y,this.mount=y.mount,this.mounted=null,this.id=O.nextInode++,this.name=D,this.mode=B,this.node_ops={},this.stream_ops={},this.rdev=$};function Li(y,D,B){var $=B>0?B:En(y)+1,dt=new Array($),Et=je(y,dt,0,dt.length);return D&&(dt.length=Et),dt}Object.defineProperties(jn.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(y){y?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(y){y?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return O.isDir(this.mode)}},isDevice:{get:function(){return O.isChrdev(this.mode)}}}),O.FSNode=jn,O.staticInit();var Ft={A:function re(y,D){return function Yt(y,D){var B;if(0===y)B=Date.now();else{if(1!==y&&4!==y)return Bt(28),-1;B=wt()}return Me[D>>2]=B/1e3|0,Me[D+4>>2]=B%1e3*1e3*1e3|0,0}(y,D)},B:function Le(y,D){try{return y=le.getStr(y),le.doAccess(y,D)}catch(B){if(void 0===O||!(B instanceof O.ErrnoError))throw B;return-B.errno}},h:function ke(y,D,B){le.varargs=B;try{var $=le.getStreamFromFD(y);switch(D){case 0:return(dt=le.get())<0?-28:O.open($.path,$.flags,0,dt).fd;case 1:case 2:case 6:case 7:return 0;case 3:return $.flags;case 4:var dt=le.get();return $.flags|=dt,0;case 5:return dt=le.get(),ti[dt+0>>1]=2,0;case 16:case 8:default:return-28;case 9:return Bt(28),-1}}catch(Vt){if(void 0===O||!(Vt instanceof O.ErrnoError))throw Vt;return-Vt.errno}},x:function rn(y,D){try{var B=le.getStreamFromFD(y);return le.doStat(O.stat,B.path,D)}catch($){if(void 0===O||!($ instanceof O.ErrnoError))throw $;return-$.errno}},u:function He(y,D,B,$){try{D=le.getStr(D);var dt=256&$,Et=4096&$;return $&=-4353,D=le.calculateAt(y,D,Et),le.doStat(dt?O.lstat:O.stat,D,B)}catch(Lt){if(void 0===O||!(Lt instanceof O.ErrnoError))throw Lt;return-Lt.errno}},y:function Je(y,D,B){le.varargs=B;try{var $=le.getStreamFromFD(y);switch(D){case 21509:case 21505:case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:case 21523:case 21524:return $.tty?0:-59;case 21519:if(!$.tty)return-59;var dt=le.get();return Me[dt>>2]=0,0;case 21520:return $.tty?-28:-59;case 21531:return dt=le.get(),O.ioctl($,D,dt);default:bn("bad ioctl syscall "+D)}}catch(Et){if(void 0===O||!(Et instanceof O.ErrnoError))throw Et;return-Et.errno}},k:function ye(y,D,B,$,dt,Et){try{return function fe(y,D,B,$,dt,Et){Et<<=12;var Lt,Vt=!1;if(0!=(16&$)&&y%65536!=0)return-28;if(0!=(32&$)){if(!(Lt=te(D)))return-48;Vt=!0}else{var ue=O.getStream(dt);if(!ue)return-8;var We=O.mmap(ue,y,D,Et,B,$);Lt=We.ptr,Vt=We.allocated}return le.mappings[Lt]={malloc:Lt,len:D,allocated:Vt,fd:dt,prot:B,flags:$,offset:Et},Lt}(y,D,B,$,dt,Et)}catch(Lt){if(void 0===O||!(Lt instanceof O.ErrnoError))throw Lt;return-Lt.errno}},j:function nt(y,D){try{return function Ye(y,D){var B=le.mappings[y];if(0===D||!B)return-28;if(D===B.len){var $=O.getStream(B.fd);$&&2&B.prot&&le.doMsync(y,$,D,B.flags,B.offset),le.mappings[y]=null,B.allocated&&yt(B.malloc)}return 0}(y,D)}catch(B){if(void 0===O||!(B instanceof O.ErrnoError))throw B;return-B.errno}},e:function _t(y,D,B){le.varargs=B;try{var $=le.getStr(y),dt=B?le.get():0;return O.open($,D,dt).fd}catch(Lt){if(void 0===O||!(Lt instanceof O.ErrnoError))throw Lt;return-Lt.errno}},v:function gt(y,D){try{return y=le.getStr(y),le.doStat(O.stat,y,D)}catch(B){if(void 0===O||!(B instanceof O.ErrnoError))throw B;return-B.errno}},z:function St(y){try{return y=le.getStr(y),O.unlink(y),0}catch(D){if(void 0===O||!(D instanceof O.ErrnoError))throw D;return-D.errno}},r:function zt(){throw"longjmp"},q:function ee(){bn("")},C:function xe(y,D,B){var $=function me(y,D){var B;for(Qt.length=0,D>>=2;B=Yn[y++];){var $=B<105;$&&1&D&&D++,Qt.push($?Xn[D++>>1]:Me[D]),++D}return Qt}(D,B);return X[y].apply(null,$)},o:function Wt(y,D,B){Yn.copyWithin(y,D,D+B)},p:function Ie(y){var D=Yn.length,B=2147483648;if((y>>>=0)>B)return!1;for(var $=1;$<=4;$*=2){var dt=D*(1+.2/$);if(dt=Math.min(dt,y+100663296),ce(Math.min(B,ci(Math.max(y,dt),65536))))return!0}return!1},s:function Ln(y,D){var B=0;return Jn().forEach(function($,dt){var Et=D+B;Me[y+4*dt>>2]=Et,function Be(y,D,B){for(var $=0;$>0]=y.charCodeAt($);B||(_n[D>>0]=0)}($,Et),B+=$.length+1}),0},t:function kn(y,D){var B=Jn();Me[y>>2]=B.length;var $=0;return B.forEach(function(dt){$+=dt.length+1}),Me[D>>2]=$,0},a:function ze(y){!function qi(y,D){!function ki(y){(function Ze(){return Mn||!1})()||(M.onExit&&M.onExit(y),fn=!0),Ut(y,new Cn(y))}(y)}(y)},d:function qe(y){try{var D=le.getStreamFromFD(y);return O.close(D),0}catch(B){if(void 0===O||!(B instanceof O.ErrnoError))throw B;return B.errno}},i:function Qn(y,D,B,$){try{var dt=le.getStreamFromFD(y),Et=le.doReadv(dt,D,B);return Me[$>>2]=Et,0}catch(Lt){if(void 0===O||!(Lt instanceof O.ErrnoError))throw Lt;return Lt.errno}},n:function on(y,D,B,$,dt){try{var Et=le.getStreamFromFD(y),Vt=4294967296*B+(D>>>0),ue=9007199254740992;return Vt<=-ue||Vt>=ue?-61:(O.llseek(Et,Vt,$),V=[Et.position>>>0,(pn=Et.position,+Math.abs(pn)>=1?pn>0?(0|Math.min(+Math.floor(pn/4294967296),4294967295))>>>0:~~+Math.ceil((pn-+(~~pn>>>0))/4294967296)>>>0:0)],Me[dt>>2]=V[0],Me[dt+4>>2]=V[1],Et.getdents&&0===Vt&&0===$&&(Et.getdents=null),0)}catch(We){if(void 0===O||!(We instanceof O.ErrnoError))throw We;return We.errno}},g:function cn(y,D,B,$){try{var dt=le.getStreamFromFD(y),Et=le.doWritev(dt,D,B);return Me[$>>2]=Et,0}catch(Lt){if(void 0===O||!(Lt instanceof O.ErrnoError))throw Lt;return Lt.errno}},c:function Un(){return Tn},w:function zi(y){var D=Date.now();return Me[y>>2]=D/1e3|0,Me[y+4>>2]=D%1e3*1e3|0,0},l:function Pe(y,D,B,$,dt,Et,Lt){var Vt=Pt();try{return S(y)(D,B,$,dt,Et,Lt)}catch(ue){if(ae(Vt),ue!==ue+0&&"longjmp"!==ue)throw ue;Se(1,0)}},m:function Ke(y,D){var B=Pt();try{S(y)(D)}catch($){if(ae(B),$!==$+0&&"longjmp"!==$)throw $;Se(1,0)}},b:function hi(y){!function(y){Tn=y}(y)},f:function Hi(y){var D=Date.now()/1e3|0;return y&&(Me[y>>2]=D),D}};(function Bn(){var y={a:Ft};function D(Lt,Vt){M.asm=Lt.exports,$n((oe=M.asm.D).buffer),Tt=M.asm.M,function qn(y){se.unshift(y)}(M.asm.E),un()}function B(Lt){D(Lt.instance)}function $(Lt){return function Mi(){return Ve||"function"!=typeof fetch?Promise.resolve().then(function(){return De(Nn)}):fetch(Nn,{credentials:"same-origin"}).then(function(y){if(!y.ok)throw"failed to load wasm binary file at '"+Nn+"'";return y.arrayBuffer()}).catch(function(){return De(Nn)})}().then(function(Vt){return WebAssembly.instantiate(Vt,y)}).then(function(Vt){return Vt}).then(Lt,function(Vt){Re("failed to asynchronously prepare wasm: "+Vt),bn(Vt)})}if(On(),M.instantiateWasm)try{return M.instantiateWasm(y,D)}catch(Lt){return Re("Module.instantiateWasm callback failed with error: "+Lt),!1}return function dt(){return Ve||"function"!=typeof WebAssembly.instantiateStreaming||ui(Nn)||"function"!=typeof fetch?$(B):fetch(Nn,{credentials:"same-origin"}).then(function(Lt){return WebAssembly.instantiateStreaming(Lt,y).then(B,function(ue){return Re("wasm streaming compile failed: "+ue),Re("falling back to ArrayBuffer instantiation"),$(B)})})}().catch(It),{}})(),M.___wasm_call_ctors=function(){return(M.___wasm_call_ctors=M.asm.E).apply(null,arguments)};var be=M._emscripten_bind_VoidPtr___destroy___0=function(){return(be=M._emscripten_bind_VoidPtr___destroy___0=M.asm.F).apply(null,arguments)},jt=M._emscripten_bind_Graphviz_Graphviz_2=function(){return(jt=M._emscripten_bind_Graphviz_Graphviz_2=M.asm.G).apply(null,arguments)},b=M._emscripten_bind_Graphviz_version_0=function(){return(b=M._emscripten_bind_Graphviz_version_0=M.asm.H).apply(null,arguments)},I=M._emscripten_bind_Graphviz_lastError_0=function(){return(I=M._emscripten_bind_Graphviz_lastError_0=M.asm.I).apply(null,arguments)},U=M._emscripten_bind_Graphviz_layout_3=function(){return(U=M._emscripten_bind_Graphviz_layout_3=M.asm.J).apply(null,arguments)},Q=M._emscripten_bind_Graphviz_createFile_2=function(){return(Q=M._emscripten_bind_Graphviz_createFile_2=M.asm.K).apply(null,arguments)},ct=M._emscripten_bind_Graphviz___destroy___0=function(){return(ct=M._emscripten_bind_Graphviz___destroy___0=M.asm.L).apply(null,arguments)};M._malloc=function(){return(M._malloc=M.asm.N).apply(null,arguments)};var Xe,yt=M._free=function(){return(yt=M._free=M.asm.O).apply(null,arguments)},kt=M.___errno_location=function(){return(kt=M.___errno_location=M.asm.P).apply(null,arguments)},Pt=M.stackSave=function(){return(Pt=M.stackSave=M.asm.Q).apply(null,arguments)},ae=M.stackRestore=function(){return(ae=M.stackRestore=M.asm.R).apply(null,arguments)},Se=M._setThrew=function(){return(Se=M._setThrew=M.asm.S).apply(null,arguments)},Ge=M._memalign=function(){return(Ge=M._memalign=M.asm.T).apply(null,arguments)};function Cn(y){this.name="ExitStatus",this.message="Program terminated with exit("+y+")",this.status=y}function di(y){function D(){Xe||(Xe=!0,M.calledRun=!0,!fn&&(function nn(){!M.noFSInit&&!O.init.initialized&&O.init(),O.ignorePermissions=!1,ht(se)}(),ft(M),M.onRuntimeInitialized&&M.onRuntimeInitialized(),function Zn(){if(M.postRun)for("function"==typeof M.postRun&&(M.postRun=[M.postRun]);M.postRun.length;)y=M.postRun.shift(),pe.unshift(y);var y;ht(pe)}()))}vn>0||(function Oe(){if(M.preRun)for("function"==typeof M.preRun&&(M.preRun=[M.preRun]);M.preRun.length;)y=M.preRun.shift(),Gt.unshift(y);var y;ht(Gt)}(),vn>0)||(M.setStatus?(M.setStatus("Running..."),setTimeout(function(){setTimeout(function(){M.setStatus("")},1),D()},1)):D())}if(ei=function y(){Xe||di(),Xe||(ei=y)},M.run=di,M.preInit)for("function"==typeof M.preInit&&(M.preInit=[M.preInit]);M.preInit.length>0;)M.preInit.pop()();function fi(){}function ii(y){return(y||fi).__cache__}function Oi(y,D){var B=ii(D),$=B[y];return $||(($=Object.create((D||fi).prototype)).ptr=y,B[y]=$)}di(),(fi.prototype=Object.create(fi.prototype)).constructor=fi,fi.prototype.__class__=fi,fi.__cache__={},M.WrapperObject=fi,M.getCache=ii,M.wrapPointer=Oi,M.castObject=function ar(y,D){return Oi(y.ptr,D)},M.NULL=Oi(0),M.destroy=function si(y){if(!y.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";y.__destroy__(),delete ii(y.__class__)[y.ptr]},M.compare=function os(y,D){return y.ptr===D.ptr},M.getPointer=function Sa(y){return y.ptr},M.getClass=function ls(y){return y.__class__};var Fn={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Fn.needed){for(var y=0;y=Fn.size?(Wn($>0),Fn.needed+=$,dt=M._malloc($),Fn.temps.push(dt)):(dt=Fn.buffer+Fn.pos,Fn.pos+=$),dt},copy:function(y,D,B){switch(B>>>=0,D.BYTES_PER_ELEMENT){case 2:B>>>=1;break;case 4:B>>>=2;break;case 8:B>>>=3}for(var dt=0;dt\n\n')}}function ot(Y,K){var ut=H({images:[],files:[]},K);z(z([],ut.files,!0),function rt(Y){return Y.map(tt)}(ut.images),!0).forEach(function(it){return Y.createFile(it.path,it.data)})}var et={layout:function(Y,K,ut,it){return void 0===K&&(K="svg"),void 0===ut&&(ut="dot"),Y?f(Z,null==it?void 0:it.wasmFolder,null==it?void 0:it.wasmBinary).then(function(G){var M=new G.Graphviz(void 0!==(null==it?void 0:it.yInvert)&&(null==it?void 0:it.yInvert),void 0!==(null==it?void 0:it.nop)?null==it?void 0:it.nop:0);ot(M,it);var ft=M.layout(Y,K,ut);if(G.destroy(M),!ft)throw new Error(G.Graphviz.prototype.lastError());return ft}):Promise.resolve("")},circo:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"circo",ut)},dot:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"dot",ut)},fdp:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"fdp",ut)},sfdp:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"sfdp",ut)},neato:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"neato",ut)},osage:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"osage",ut)},patchwork:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"patchwork",ut)},twopi:function(Y,K,ut){return void 0===K&&(K="svg"),this.layout(Y,K,"twopi",ut)}},q=function(){function Y(K){this._wasm=K}return Y.prototype.layout=function(K,ut,it,G){if(void 0===ut&&(ut="svg"),void 0===it&&(it="dot"),!K)return"";var M=new this._wasm.Graphviz((null==G?void 0:G.yInvert)?1:0,(null==G?void 0:G.nop)?null==G?void 0:G.nop:0);ot(M,G);var ft=M.layout(K,ut,it);if(this._wasm.destroy(M),!ft)throw new Error(this._wasm.Graphviz.prototype.lastError());return ft},Y.prototype.circo=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"circo",it)},Y.prototype.dot=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"dot",it)},Y.prototype.fdp=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"fdp",it)},Y.prototype.sfdp=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"sfdp",it)},Y.prototype.neato=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"neato",it)},Y.prototype.osage=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"osage",it)},Y.prototype.patchwork=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"patchwork",it)},Y.prototype.twopi=function(K,ut,it){return void 0===ut&&(ut="svg"),this.layout(K,ut,"twopi",it)},Y}();o.GraphvizSync=q,o.StackElement=p,o.StackParser=C,o.expatVersion=function L(Y,K){return f(_,Y,K).then(function(ut){return ut.CExpat.prototype.version()})},o.graphviz=et,o.graphvizSync=function at(Y,K){return f(Z,Y,K).then(function(ut){return new q(ut)})},o.graphvizVersion=function J(Y,K){return f(Z,Y,K).then(function(ut){return ut.Graphviz.prototype.version()})},o.parse=N,o.wasmFolder=c,Object.defineProperty(o,"__esModule",{value:!0})}(k)},68484:(w,k,o)=>{"use strict";o.r(k),o.d(k,{AdminModule:()=>Bb});var u={};o.r(u),o.d(u,{forceCenter:()=>zf,forceCollide:()=>hl,forceLink:()=>gl,forceManyBody:()=>vl,forceRadial:()=>gp,forceSimulation:()=>_l,forceX:()=>_p,forceY:()=>vp});var x={};o.r(x),o.d(x,{dispatch:()=>ca.Z});var v={};o.r(v),o.d(v,{interval:()=>yp,now:()=>er.zO,timeout:()=>ua.Z,timer:()=>er.HT,timerFlush:()=>er.R8});var _=o(69808),m=o(11735),l=o(69024),t=o(5e3),c=o(77968),h=o(4235),g=o(25245),f=o(61283),p=o(51062);const C=function(){return{color:"black"}};let A=(()=>{class n{constructor(e,i){this.sideMenuService=e,this.sideMenuItemService=i}ngOnInit(){this.sideMenuService.setAdminItems([])}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(c.D),t.Y36(l.V))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-page"]],decls:7,vars:5,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","admin-theme"],[1,"page-title","d-flex"],["svgIcon","perun-perun-admin",1,"perun-icon","icon-scale",3,"ngStyle"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"perun-web-apps-back-button"),t.TgZ(2,"h1",1),t._UZ(3,"mat-icon",2),t._uU(4),t.ALo(5,"translate"),t.qZA(),t._UZ(6,"app-animated-router-outlet"),t.qZA()),2&e&&(t.xp6(3),t.Q6J("ngStyle",t.DdM(4,C)),t.xp6(1),t.hij(" ",t.lcZ(5,2,"ADMIN.TITLE")," "))},directives:[h.W,g.Hw,_.PC,f.A],pipes:[p.X$],styles:[""]}),n})();var L=o(71135);let N=(()=>{class n{constructor(){this.navItems=[{cssIcon:"perun-attributes",url:"/admin/attributes",label:"MENU_ITEMS.ADMIN.ATTRIBUTES",style:"admin-btn"},{cssIcon:"perun-user",url:"/admin/users",label:"MENU_ITEMS.ADMIN.USERS",style:"admin-btn"},{cssIcon:"perun-owner-grey",url:"/admin/owners",label:"MENU_ITEMS.ADMIN.OWNERS",style:"admin-btn"},{cssIcon:"perun-service",url:"/admin/services",label:"MENU_ITEMS.ADMIN.SERVICES",style:"admin-btn"},{cssIcon:"perun-preview",url:"/admin/visualizer",label:"MENU_ITEMS.ADMIN.VISUALIZER",style:"admin-btn"},{cssIcon:"perun-external-sources",url:"/admin/ext_sources",label:"MENU_ITEMS.ADMIN.EXT_SOURCES",style:"admin-btn"},{cssIcon:"perun-audit-log",url:"/admin/audit_log",label:"MENU_ITEMS.ADMIN.AUDIT_LOG",style:"admin-btn"},{cssIcon:"perun-consent-hubs",url:"/admin/consent_hubs",label:"MENU_ITEMS.ADMIN.CONSENT_HUBS",style:"admin-btn"}]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-overview"]],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("router-component",i.true)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",0),t.qZA()),2&e&&(t.xp6(1),t.Q6J("items",i.navItems)("size","small"))},directives:[L.L],styles:[""]}),n})();var P=o(20449),R=o(48966),Z=o(32075),H=o(36908),z=o(112),tt=o(20773),rt=o(98380),ot=o(47423);function J(n,r){1&n&&t._UZ(0,"mat-spinner",6)}function et(n,r){1&n&&t._UZ(0,"th",16)}function q(n,r){if(1&n&&(t.TgZ(0,"td",17),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.friendlyName)}}function at(n,r){1&n&&t._UZ(0,"tr",18)}function Y(n,r){1&n&&t._UZ(0,"tr",19)}function K(n,r){if(1&n&&(t.TgZ(0,"div",7),t.TgZ(1,"div"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,et,1,0,"th",11),t.YNc(10,q,2,1,"td",12),t.BQk(),t.YNc(11,at,1,0,"tr",13),t.YNc(12,Y,1,0,"tr",14),t.qZA(),t.TgZ(13,"app-alert",15),t._uU(14),t.ALo(15,"translate"),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,6,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TEXT_LINE1")," "),t.xp6(3),t.hij(" ",t.lcZ(6,8,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TEXT_LINE2")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns),t.xp6(2),t.hij(" ",t.lcZ(15,10,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.WARNING")," ")}}let ut=(()=>{class n{constructor(e,i,a,s,d){this.dialogRef=e,this.data=i,this.notificator=a,this.translate=s,this.attributesManager=d,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new Z.by(this.data.attributes)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const e=[];for(const i of this.data.attributes)e.push(i.id);this.attributesManager.deleteAttributeDefinitions(e).subscribe(()=>{this.translate.get("DIALOGS.DELETE_ATTRIBUTE_DEFINITION.SUCCESS").subscribe(i=>{this.notificator.showSuccess(i),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(H.V6),t.Y36(p.sK),t.Y36(z.H8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-delete-attribute-definition-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",1,"mt-3"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,J,1,0,"mat-spinner",1),t.YNc(5,K,16,12,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return i.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return i.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(i.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TITLE")),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.CANCEL")," "),t.xp6(2),t.Q6J("disabled",i.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.CONFIRM")," "))},directives:[R.uh,_.O5,tt.$g,R.xY,Z.BZ,Z.w1,Z.fO,Z.ge,Z.Dz,Z.ev,Z.as,Z.XQ,Z.nj,Z.Gk,rt.w,R.H8,ot.lW],pipes:[p.X$],styles:[""]}),n})();var it=o(45323),G=o(67322),M=o(98833),ft=o(93075),It=o(74533),Zt=o(74107),Ht=o(90508),ne=o(32368),Ut=o(29772),xt=o(77446);function pt(n,r){1&n&&t._UZ(0,"mat-spinner",7)}function Nt(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function Jt(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function ge(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function _e(n,r){if(1&n&&(t.TgZ(0,"mat-option",29),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function Te(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function Re(n,r){if(1&n&&(t.TgZ(0,"mat-option",29),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function Tn(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function Fe(n,r){if(1&n&&(t.TgZ(0,"mat-option",29),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function gn(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function Ve(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",8),t.TgZ(1,"mat-form-field",9),t.TgZ(2,"label"),t.TgZ(3,"input",10),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().attDef.friendlyName=a}),t.ALo(4,"translate"),t.qZA(),t.qZA(),t.YNc(5,Nt,3,3,"mat-error",11),t.qZA(),t._UZ(6,"br"),t.TgZ(7,"mat-form-field",9),t.TgZ(8,"label"),t.TgZ(9,"input",10),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().attDef.displayName=a}),t.ALo(10,"translate"),t.qZA(),t.qZA(),t.YNc(11,Jt,3,3,"mat-error",11),t.qZA(),t._UZ(12,"br"),t.TgZ(13,"mat-form-field",9),t.TgZ(14,"label"),t.TgZ(15,"textarea",12),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().attDef.description=a}),t.ALo(16,"translate"),t._uU(17," "),t.qZA(),t.qZA(),t.YNc(18,ge,3,3,"mat-error",11),t.qZA(),t._UZ(19,"br"),t.TgZ(20,"mat-form-field",9),t.TgZ(21,"mat-placeholder"),t._uU(22),t.ALo(23,"translate"),t.qZA(),t.TgZ(24,"mat-select",13),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().entity=a}),t.YNc(25,_e,2,2,"mat-option",14),t.qZA(),t.YNc(26,Te,3,3,"mat-error",11),t.qZA(),t._UZ(27,"br"),t.TgZ(28,"mat-form-field",9),t.TgZ(29,"mat-placeholder"),t._uU(30),t.ALo(31,"translate"),t.qZA(),t.TgZ(32,"mat-select",13),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().definitionType=a}),t.YNc(33,Re,2,2,"mat-option",14),t.qZA(),t.YNc(34,Tn,3,3,"mat-error",11),t.qZA(),t._UZ(35,"br"),t.TgZ(36,"mat-form-field",9),t.TgZ(37,"mat-placeholder"),t._uU(38),t.ALo(39,"translate"),t.qZA(),t.TgZ(40,"mat-select",13),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().valueType=a}),t.YNc(41,Fe,2,2,"mat-option",14),t.qZA(),t.YNc(42,gn,3,3,"mat-error",11),t.qZA(),t._UZ(43,"br"),t.TgZ(44,"div",15),t.TgZ(45,"p"),t._uU(46),t.ALo(47,"translate"),t.qZA(),t.TgZ(48,"p",16),t.NdJ("click",function(){return t.CHM(e),t.oxw().attDef.unique=!1}),t._uU(49,"OFF"),t.qZA(),t.TgZ(50,"mat-slide-toggle",17),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().attDef.unique=a}),t.ALo(51,"translate"),t._uU(52," ON "),t.qZA(),t.qZA(),t.TgZ(53,"div",18),t.TgZ(54,"p",19),t._uU(55),t.ALo(56,"translate"),t.qZA(),t.TgZ(57,"p",20),t._uU(58),t.ALo(59,"translate"),t.qZA(),t.qZA(),t.TgZ(60,"div",21),t.TgZ(61,"p",22),t._uU(62),t.ALo(63,"translate"),t.qZA(),t.TgZ(64,"mat-checkbox",23),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().readSelf=a}),t.qZA(),t.TgZ(65,"mat-checkbox",24),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().writeSelf=a}),t.qZA(),t.qZA(),t.TgZ(66,"div",21),t.TgZ(67,"p",22),t._uU(68),t.ALo(69,"translate"),t.qZA(),t.TgZ(70,"mat-checkbox",25),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().readSelfPublic=a}),t.qZA(),t.TgZ(71,"mat-checkbox",24),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().writeSelfPublic=a}),t.qZA(),t.qZA(),t.TgZ(72,"div",21),t.TgZ(73,"p",22),t._uU(74),t.ALo(75,"translate"),t.qZA(),t.TgZ(76,"mat-checkbox",26),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().readSelfVo=a}),t.qZA(),t.TgZ(77,"mat-checkbox",24),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().writeSelfVo=a}),t.qZA(),t.qZA(),t.TgZ(78,"div",21),t.TgZ(79,"p",22),t._uU(80),t.ALo(81,"translate"),t.qZA(),t.TgZ(82,"mat-checkbox",27),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().readVo=a}),t.qZA(),t.TgZ(83,"mat-checkbox",24),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().writeVo=a}),t.qZA(),t.qZA(),t.TgZ(84,"div",21),t.TgZ(85,"p",22),t._uU(86),t.ALo(87,"translate"),t.qZA(),t.TgZ(88,"mat-checkbox",28),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().readGroup=a}),t.qZA(),t.TgZ(89,"mat-checkbox",24),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().writeGroup=a}),t.qZA(),t.qZA(),t.TgZ(90,"div",21),t.TgZ(91,"p",22),t._uU(92),t.ALo(93,"translate"),t.qZA(),t.TgZ(94,"mat-checkbox",26),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().readFacility=a}),t.qZA(),t.TgZ(95,"mat-checkbox",24),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().writeFacility=a}),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(3),t.s9C("placeholder",t.lcZ(4,46,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FRIENDLY_NAME")),t.Q6J("ngModel",e.attDef.friendlyName),t.xp6(2),t.Q6J("ngIf",""===e.attDef.friendlyName),t.xp6(4),t.s9C("placeholder",t.lcZ(10,48,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DISPLAY_NAME")),t.Q6J("ngModel",e.attDef.displayName),t.xp6(2),t.Q6J("ngIf",""===e.attDef.displayName),t.xp6(4),t.s9C("placeholder",t.lcZ(16,50,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DESCRIPTION")),t.Q6J("ngModel",e.attDef.description),t.xp6(3),t.Q6J("ngIf",""===e.attDef.description),t.xp6(4),t.Oqu(t.lcZ(23,52,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ENTITY")),t.xp6(2),t.Q6J("ngModel",e.entity),t.xp6(1),t.Q6J("ngForOf",e.entities),t.xp6(1),t.Q6J("ngIf",""===e.attDef.entity),t.xp6(4),t.Oqu(t.lcZ(31,54,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DEFINITION")),t.xp6(2),t.Q6J("ngModel",e.definitionType),t.xp6(1),t.Q6J("ngForOf",e.definitionTypes),t.xp6(1),t.Q6J("ngIf",""===e.definitionType),t.xp6(4),t.Oqu(t.lcZ(39,56,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VALUE_TYPE")),t.xp6(2),t.Q6J("ngModel",e.valueType),t.xp6(1),t.Q6J("ngForOf",e.valueTypes),t.xp6(1),t.Q6J("ngIf",""===e.valueType),t.xp6(4),t.Oqu(t.lcZ(47,58,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.UNIQUE")),t.xp6(4),t.s9C("matTooltip",t.lcZ(51,60,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TOOLTIP_UNIQUE")),t.Q6J("matTooltipDisabled",!e.disableUniqueToggle())("disabled",e.disableUniqueToggle())("ngModel",e.attDef.unique),t.xp6(5),t.Oqu(t.lcZ(56,62,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.READ")),t.xp6(3),t.Oqu(t.lcZ(59,64,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.WRITE")),t.xp6(4),t.Oqu(t.lcZ(63,66,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF")),t.xp6(2),t.Q6J("ngModel",e.readSelf),t.xp6(1),t.Q6J("ngModel",e.writeSelf),t.xp6(3),t.Oqu(t.lcZ(69,68,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_PUBLIC")),t.xp6(2),t.Q6J("ngModel",e.readSelfPublic),t.xp6(1),t.Q6J("ngModel",e.writeSelfPublic),t.xp6(3),t.Oqu(t.lcZ(75,70,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_VO")),t.xp6(2),t.Q6J("ngModel",e.readSelfVo),t.xp6(1),t.Q6J("ngModel",e.writeSelfVo),t.xp6(3),t.Oqu(t.lcZ(81,72,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VO")),t.xp6(2),t.Q6J("ngModel",e.readVo),t.xp6(1),t.Q6J("ngModel",e.writeVo),t.xp6(3),t.Oqu(t.lcZ(87,74,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.GROUP")),t.xp6(2),t.Q6J("ngModel",e.readGroup),t.xp6(1),t.Q6J("ngModel",e.writeGroup),t.xp6(3),t.Oqu(t.lcZ(93,76,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FACILITY")),t.xp6(2),t.Q6J("ngModel",e.readFacility),t.xp6(1),t.Q6J("ngModel",e.writeFacility)}}let Mn=(()=>{class n{constructor(e,i,a,s){this.dialogRef=e,this.notificator=i,this.translate=a,this.attributesManager=s,this.loading=!1,this.entities=["facility","resource","group","group_resource","host","member","member_group","member_resource","user","user_ext_source","user_facility","vo","entityless"],this.definitionTypes=["def","opt","virt","core"],this.definitionType="",this.valueTypes=["String","Integer","Boolean","Array","LinkedHashMap"],this.valueType="",this.readSelf=!1,this.readSelfPublic=!1,this.readSelfVo=!1,this.readVo=!1,this.readGroup=!1,this.readFacility=!1,this.writeSelf=!1,this.writeSelfPublic=!1,this.writeSelfVo=!1,this.writeVo=!1,this.writeGroup=!1,this.writeFacility=!1}ngOnInit(){this.attDef={beanName:"",description:"",displayName:"",entity:"",friendlyName:"",id:void 0,namespace:"",type:"",unique:!1,writable:!1}}onSubmit(){this.loading=!0,this.attDef.namespace="urn:perun:"+this.entity+":attribute-def:"+this.definitionType,this.readValueType(),this.attributesManager.createAttributeDefinition({attribute:this.attDef}).subscribe(e=>{this.attDef=e,this.attributesManager.setAttributeRights({rights:this.readRights()}).subscribe(()=>{this.translate.get("DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SUCCESS").subscribe(i=>{this.notificator.showSuccess(i),this.dialogRef.close(!0)})},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}readRights(){const e=[],i={};i.attributeId=this.attDef.id,i.role=it.u.SELF,i.rights=[],this.readSelf&&i.rights.push("READ"),this.readSelfPublic&&i.rights.push("READ_PUBLIC"),this.readSelfVo&&i.rights.push("READ_VO"),this.writeSelf&&i.rights.push("WRITE"),this.writeSelfPublic&&i.rights.push("WRITE_PUBLIC"),this.writeSelfVo&&i.rights.push("WRITE_VO"),e.push(i);const a={};a.attributeId=this.attDef.id,a.role=it.u.VOADMIN,a.rights=[],this.readVo&&a.rights.push(z.Us.READ),this.writeVo&&a.rights.push(z.Us.WRITE),e.push(a);const s={};s.attributeId=this.attDef.id,s.role=it.u.GROUPADMIN,s.rights=[],this.readGroup&&s.rights.push(z.Us.READ),this.writeGroup&&s.rights.push(z.Us.WRITE),e.push(s);const d={};return d.attributeId=this.attDef.id,d.role=it.u.FACILITYADMIN,d.rights=[],this.readFacility&&d.rights.push(z.Us.READ),this.writeFacility&&d.rights.push(z.Us.WRITE),e.push(d),e}readValueType(){switch(this.valueType){case"String":this.attDef.type="java.lang.String";break;case"Integer":this.attDef.type="java.lang.Integer";break;case"Boolean":this.attDef.type="java.lang.Boolean";break;case"Array":this.attDef.type="java.util.ArrayList";break;case"LinkedHashMap":this.attDef.type="java.util.LinkedHashMap"}}disableConfirmButton(){return""===this.attDef.friendlyName||""===this.attDef.displayName||""===this.attDef.description||""===this.entity||""===this.definitionType||""===this.valueType||this.loading}disableUniqueToggle(){return("virt"===this.definitionType||"entityless"===this.entity)&&(this.attDef.unique=!1,!0)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(H.V6),t.Y36(p.sK),t.Y36(z.H8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-create-attribute-definition-dialog"]],decls:14,vars:16,consts:[[1,"admin-theme"],["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltip","matTooltipDisabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"form-field-width"],["matInput","","required","",1,"form-field-width",3,"ngModel","placeholder","ngModelChange"],[4,"ngIf"],["matInput","","cdkTextareaAutosize","","required","",1,"form-field-width",3,"ngModel","placeholder","ngModelChange"],["required","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"d-flex","flex-row","mt-3"],[1,"pointer","ml-4",3,"click"],["color","accent","matTooltipPosition","above",1,"ml-2",3,"matTooltip","matTooltipDisabled","disabled","ngModel","ngModelChange"],[1,"d-flex","flex-row","mt-2"],[1,"ml-5","pl-4"],[1,"ml-4"],[1,"d-flex","flex-row"],[1,""],[1,"ml-5","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5",3,"ngModel","ngModelChange"],[1,"ml-3",3,"ngModel","ngModelChange"],[1,"ml-4","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5","pl-4",3,"ngModel","ngModelChange"],[1,"ml-4","pl-4",3,"ngModel","ngModelChange"],[3,"value"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"h1",1),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,pt,1,0,"mat-spinner",2),t.YNc(5,Ve,96,78,"div",3),t.TgZ(6,"div",4),t.TgZ(7,"button",5),t.NdJ("click",function(){return i.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",6),t.NdJ("click",function(){return i.onSubmit()}),t.ALo(11,"translate"),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,8,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TITLE")),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(3),t.hij(" ",t.lcZ(9,10,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.CANCEL")," "),t.xp6(2),t.s9C("matTooltip",t.lcZ(11,12,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TOOLTIP_CONFIRM")),t.Q6J("disabled",i.disableConfirmButton())("matTooltipDisabled",!i.disableConfirmButton()),t.xp6(2),t.hij(" ",t.lcZ(13,14,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.CONFIRM")," "))},directives:[R.uh,_.O5,tt.$g,R.xY,G.KE,M.Nt,ft.Fj,ft.Q7,ft.JJ,ft.On,G.TO,It.IC,G.UY,Zt.gD,_.sg,Ht.ey,ne.Rr,Ut.gM,xt.oG,R.H8,ot.lW],pipes:[p.X$],styles:[".unique-toggle-label[_ngcontent-%COMP%]{font-size:1.125rem}.form-field-width[_ngcontent-%COMP%]{width:450px}.pointer[_ngcontent-%COMP%]{cursor:pointer}textarea[cdktextareaautosize].mat-input-element[_ngcontent-%COMP%]{overflow:hidden}"]}),n})();var oe=o(9244),fn=o(10036);function Wn(n,r){1&n&&t._UZ(0,"mat-spinner",7)}function ni(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",8),t.TgZ(1,"app-alert",9),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-form-field",10),t.TgZ(5,"input",11),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().value=a}),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,3,"DIALOGS.IMPORT_ATTRIBUTE.INFO")," "),t.xp6(3),t.Q6J("ngModel",e.value)("placeholder",t.lcZ(6,5,"DIALOGS.IMPORT_ATTRIBUTE.HINT"))}}let Hn=(()=>{class n{constructor(e,i,a,s){this.dialogRef=e,this.notificator=i,this.translate=a,this.attributesManager=s,this.value="",this.loading=!1}create(){try{this.loading=!0,this.attributeData=JSON.parse(this.value),this.attributesManager.createAttributeDefinition({attribute:this.attributeData.attributeDefinition}).subscribe(e=>{for(let i=0;i{this.notificator.showSuccess(this.translate.instant("DIALOGS.IMPORT_ATTRIBUTE_DEFINITION.SUCCESS")),this.dialogRef.close(!0)})},()=>this.loading=!1)}catch(e){console.log(e),this.notificator.showError(e),this.loading=!1}}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(H.V6),t.Y36(p.sK),t.Y36(z.H8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-attribute-import-dialog"]],decls:13,vars:12,consts:[[1,"admin-theme"],["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],["alert_type","info"],[1,"w-100"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"h1",1),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Wn,1,0,"mat-spinner",2),t.YNc(5,ni,7,7,"div",3),t.TgZ(6,"div",4),t.TgZ(7,"button",5),t.NdJ("click",function(){return i.dialogRef.close()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",6),t.NdJ("click",function(){return i.create()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.hij(" ",t.lcZ(3,6,"DIALOGS.IMPORT_ATTRIBUTE.TITLE")," "),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(3),t.hij(" ",t.lcZ(9,8,"DIALOGS.IMPORT_ATTRIBUTE.CANCEL")," "),t.xp6(2),t.Q6J("disabled",0===i.value.trim().length||i.loading),t.xp6(1),t.hij(" ",t.lcZ(12,10,"DIALOGS.IMPORT_ATTRIBUTE.CREATE")," "))},directives:[R.uh,_.O5,tt.$g,R.xY,rt.w,G.KE,M.Nt,ft.Fj,ft.Q7,ft.JJ,ft.On,R.H8,ot.lW],pipes:[p.X$],styles:[""]}),n})();var an=o(96214),je=o(7434),sn=o(84847),En=o(36769),Be=o(69287),ci=o(60205),Rn=o(80255),_n=o(18750),Yn=o(43532);function ti(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"th",22),t.TgZ(1,"mat-checkbox",23),t.NdJ("change",function(a){t.CHM(e);const s=t.oxw(2);return a?s.masterToggle():null}),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function Me(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"td",24),t.TgZ(1,"mat-checkbox",25),t.NdJ("change",function(a){const d=t.CHM(e).$implicit,T=t.oxw(2);return a?T.selection.toggle(d):null})("click",function(a){return a.stopPropagation()}),t.qZA(),t.qZA()}if(2&n){const e=r.$implicit,i=t.oxw(2);t.xp6(1),t.Q6J("aria-label",i.checkboxLabel(e))("checked",i.selection.isSelected(e))}}function Xn(n,r){1&n&&(t.TgZ(0,"th",26),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.KEY")," "))}function $n(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"td",27),t.TgZ(1,"label"),t.TgZ(2,"input",28),t.NdJ("ngModelChange",function(){const s=t.CHM(e).$implicit;return t.oxw(2).onValueChange(s)})("ngModelChange",function(a){return t.CHM(e).$implicit[0]=a}),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=r.$implicit;t.xp6(2),t.Q6J("ngModel",e[0])}}function Tt(n,r){1&n&&(t.TgZ(0,"th",26),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.VALUE")," "))}function Gt(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"td",27),t.TgZ(1,"perun-web-apps-attribute-value",29),t.NdJ("sendEventToParent2",function(){const s=t.CHM(e).$implicit;return t.oxw(2).onValueChange(s)}),t.qZA(),t.qZA()}if(2&n){const e=r.$implicit;t.xp6(1),t.Q6J("attribute",e[1])}}function se(n,r){1&n&&t._UZ(0,"tr",30)}function pe(n,r){1&n&&t._UZ(0,"tr",31)}function ve(n,r){if(1&n&&(t.TgZ(0,"div",10),t.TgZ(1,"perun-web-apps-table-wrapper",11),t.TgZ(2,"table",12),t.ynx(3,13),t.YNc(4,ti,2,3,"th",14),t.YNc(5,Me,2,2,"td",15),t.BQk(),t.ynx(6,16),t.YNc(7,Xn,3,3,"th",17),t.YNc(8,$n,3,1,"td",18),t.BQk(),t.ynx(9,19),t.YNc(10,Tt,3,3,"th",17),t.YNc(11,Gt,2,1,"td",18),t.BQk(),t.YNc(12,se,1,0,"tr",20),t.YNc(13,pe,1,0,"tr",21),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("tableId",e.tableId)("dataLength",e.dataSource.filteredData.length)("hideExport",!0)("pageSizeOptions",e.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",e.dataSource),t.xp6(10),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}function Ze(n,r){1&n&&t._UZ(0,"mat-spinner",32)}function Oe(n,r){1&n&&(t.TgZ(0,"app-alert",33),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.NO_KEYS_WARNING")," "))}let nn=(()=>{class n{constructor(e,i,a,s,d){this.dialogRef=e,this.data=i,this.notificator=a,this.translate=s,this.attributesManager=d,this.switchView=new t.vpe,this.records=[],this.displayedColumns=["select","key","value"],this.dataSource=new Z.by,this.selection=new P.Ov(!0,[]),this.isAddButtonDisabled=!1,this.pageSizeOptions=oe.f7}set matSort(e){this.sort=e}ngOnChanges(){this.ngOnInit()}ngOnInit(){this.loading=!0,this.attDef=this.data.attDef,this.attributesManager.getEntitylessKeys(this.attDef.id).subscribe(e=>{this.attributesManager.getEntitylessAttributesByName(`${this.attDef.namespace}:${this.attDef.friendlyName}`).subscribe(i=>{let a=0;this.records=[];for(const s of e)this.records.push([s,i[a]]),a++;this.dataSource=new Z.by(this.records),this.setDataSource(),this.loading=!1})})}setDataSource(){!this.child||!this.child.paginator||this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}onSave(){this.updateMapAttributes();for(const e of this.selection.selected)this.attributesManager.setEntitylessAttribute({key:e[0],attribute:e[1]}).subscribe(()=>{this.translate.get("SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.SAVE_SUCCESS").subscribe(i=>{this.notificator.showSuccess(i),this.ngOnInit()})});this.selection.clear(),this.isAddButtonDisabled=!1}onRemove(){for(const e of this.selection.selected)this.attributesManager.removeEntitylessAttribute(e[0],e[1].id).subscribe(()=>{this.translate.get("SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.REMOVE_SUCCESS").subscribe(i=>{this.notificator.showSuccess(i),this.ngOnInit()})});this.ngOnInit(),this.selection.clear(),this.isAddButtonDisabled=!1}onAdd(){const e=["",this.attDef];e[1].value=void 0,this.records.unshift(e),this.dataSource.data=this.records,this.setDataSource(),this.selection.clear(),this.selection.select(e),this.isAddButtonDisabled=!0}onCancel(){this.dialogRef.close(!1)}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(e=>this.selection.select(e))}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e[1].id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}onValueChange(e){this.selection.select(e)}updateMapAttributes(){for(const e of this.items.toArray())"java.util.LinkedHashMap"===e.attribute.type&&e.updateMapAttribute()}ngAfterViewInit(){this.children.changes.subscribe(e=>{this.child=e.first,this.dataSource.paginator=this.child.paginator})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(H.V6),t.Y36(p.sK),t.Y36(z.H8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-entityless-attribute-keys-list"]],viewQuery:function(e,i){if(1&e&&(t.Gf(sn.YE,7),t.Gf(oe.l9,5),t.Gf(Rn.Mw,5)),2&e){let a;t.iGM(a=t.CRH())&&(i.matSort=a.first),t.iGM(a=t.CRH())&&(i.children=a),t.iGM(a=t.CRH())&&(i.items=a)}},inputs:{attDef:"attDef",tableId:"tableId"},outputs:{switchView:"switchView"},features:[t.TTD],decls:19,vars:19,consts:[["mat-dialog-title",""],["mat-dialog-actions","",1,"mt-3"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"],["mat-flat-button","","color","accent","matTooltip","save or remove new attribute first","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltipDisabled","click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["mat-dialog-content","",1,"mt-3",3,"hidden"],["class","card mt-3",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn","class","mt-3",4,"ngIf"],[1,"card","mt-3"],[3,"tableId","dataLength","hideExport","pageSizeOptions"],["mat-table","","matSort","","matSortActive","key","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","key"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matInput","","placeholder","New key",1,"mt-2",3,"ngModel","ngModelChange"],[3,"attribute","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],[1,"ml-auto","mr-auto"],["alert_type","warn",1,"mt-3"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.qZA(),t.TgZ(2,"div",1),t.TgZ(3,"button",2),t.NdJ("click",function(){return i.switchView.emit()}),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"button",3),t.NdJ("click",function(){return i.onSave()}),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.TgZ(9,"button",4),t.NdJ("click",function(){return i.onAdd()}),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.TgZ(12,"button",5),t.NdJ("click",function(){return i.onRemove()}),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.qZA(),t.TgZ(15,"div",6),t.YNc(16,ve,14,7,"div",7),t.YNc(17,Ze,1,0,"mat-spinner",8),t.YNc(18,Oe,3,3,"app-alert",9),t.qZA()),2&e&&(t.xp6(1),t.Oqu(i.attDef.namespace+":"+i.attDef.friendlyName),t.xp6(3),t.hij(" ",t.lcZ(5,11,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.CANCEL")," "),t.xp6(3),t.hij(" ",t.lcZ(8,13,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.SAVE")," "),t.xp6(2),t.Q6J("disabled",i.isAddButtonDisabled)("matTooltipDisabled",!i.isAddButtonDisabled),t.xp6(1),t.hij(" ",t.lcZ(11,15,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.ADD")," "),t.xp6(3),t.hij(" ",t.lcZ(14,17,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.REMOVE")," "),t.xp6(2),t.Q6J("hidden",i.loading),t.xp6(1),t.Q6J("ngIf",i.records&&i.records.length),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",0===i.records.length))},directives:[R.uh,R.H8,ot.lW,Ut.gM,R.xY,_.O5,_n.l,Z.BZ,sn.YE,Z.w1,Z.fO,Z.ge,xt.oG,Z.Dz,Z.ev,sn.nU,M.Nt,ft.Fj,ft.JJ,ft.On,Yn.M,Z.as,Z.XQ,Z.nj,Z.Gk,tt.$g,rt.w],pipes:[p.X$],styles:[".mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}"]}),n})();const Zn=["copiedTooltip"];function Dn(n,r){1&n&&t._UZ(0,"mat-spinner",12)}function qn(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function Di(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}const vn=function(){return["id","name","enabled","script"]};function ei(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",13),t.TgZ(1,"mat-form-field",3),t.TgZ(2,"label"),t.TgZ(3,"input",14),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).attDef.displayName=a}),t.ALo(4,"translate"),t.qZA(),t.qZA(),t.YNc(5,qn,3,3,"mat-error",2),t.qZA(),t._UZ(6,"br"),t.TgZ(7,"mat-form-field",3),t.TgZ(8,"label"),t.TgZ(9,"textarea",15),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).attDef.description=a}),t.ALo(10,"translate"),t._uU(11," "),t.qZA(),t.qZA(),t.YNc(12,Di,3,3,"mat-error",2),t.qZA(),t._UZ(13,"br"),t.TgZ(14,"div",16),t.TgZ(15,"p"),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.TgZ(18,"p",17),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).attDef.unique=!1}),t._uU(19,"OFF"),t.qZA(),t.TgZ(20,"mat-slide-toggle",18),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).attDef.unique=a}),t.ALo(21,"translate"),t._uU(22," ON "),t.qZA(),t.qZA(),t.TgZ(23,"div",19),t.TgZ(24,"p",20),t._uU(25),t.ALo(26,"translate"),t.qZA(),t.TgZ(27,"p",21),t._uU(28),t.ALo(29,"translate"),t.qZA(),t.qZA(),t.TgZ(30,"div",22),t.TgZ(31,"p",23),t._uU(32),t.ALo(33,"translate"),t.qZA(),t.TgZ(34,"mat-checkbox",24),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).readSelf=a}),t.qZA(),t.TgZ(35,"mat-checkbox",25),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).writeSelf=a}),t.qZA(),t.qZA(),t.TgZ(36,"div",22),t.TgZ(37,"p",23),t._uU(38),t.ALo(39,"translate"),t.qZA(),t.TgZ(40,"mat-checkbox",26),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).readSelfPublic=a}),t.qZA(),t.TgZ(41,"mat-checkbox",25),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).writeSelfPublic=a}),t.qZA(),t.qZA(),t.TgZ(42,"div",22),t.TgZ(43,"p",23),t._uU(44),t.ALo(45,"translate"),t.qZA(),t.TgZ(46,"mat-checkbox",27),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).readSelfVo=a}),t.qZA(),t.TgZ(47,"mat-checkbox",25),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).writeSelfVo=a}),t.qZA(),t.qZA(),t.TgZ(48,"div",22),t.TgZ(49,"p",23),t._uU(50),t.ALo(51,"translate"),t.qZA(),t.TgZ(52,"mat-checkbox",28),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).readVo=a}),t.qZA(),t.TgZ(53,"mat-checkbox",25),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).writeVo=a}),t.qZA(),t.qZA(),t.TgZ(54,"div",22),t.TgZ(55,"p",23),t._uU(56),t.ALo(57,"translate"),t.qZA(),t.TgZ(58,"mat-checkbox",29),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).readGroup=a}),t.qZA(),t.TgZ(59,"mat-checkbox",25),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).writeGroup=a}),t.qZA(),t.qZA(),t.TgZ(60,"div",22),t.TgZ(61,"p",23),t._uU(62),t.ALo(63,"translate"),t.qZA(),t.TgZ(64,"mat-checkbox",27),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).readFacility=a}),t.qZA(),t.TgZ(65,"mat-checkbox",25),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).writeFacility=a}),t.qZA(),t.qZA(),t.TgZ(66,"div",30),t.TgZ(67,"p"),t._uU(68),t.ALo(69,"translate"),t.qZA(),t._UZ(70,"app-services-list",31),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.xp6(3),t.s9C("placeholder",t.lcZ(4,35,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.DISPLAY_NAME")),t.Q6J("ngModel",e.attDef.displayName),t.xp6(2),t.Q6J("ngIf",""===e.attDef.displayName),t.xp6(4),t.s9C("placeholder",t.lcZ(10,37,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.DESCRIPTION")),t.Q6J("ngModel",e.attDef.description),t.xp6(3),t.Q6J("ngIf",""===e.attDef.description),t.xp6(4),t.Oqu(t.lcZ(17,39,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.UNIQUE")),t.xp6(4),t.s9C("matTooltip",t.lcZ(21,41,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.TOOLTIP_UNIQUE")),t.Q6J("matTooltipDisabled",!e.disableUniqueToggle())("disabled",e.disableUniqueToggle())("ngModel",e.attDef.unique),t.xp6(5),t.Oqu(t.lcZ(26,43,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.READ")),t.xp6(3),t.Oqu(t.lcZ(29,45,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.WRITE")),t.xp6(4),t.Oqu(t.lcZ(33,47,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF")),t.xp6(2),t.Q6J("ngModel",e.readSelf),t.xp6(1),t.Q6J("ngModel",e.writeSelf),t.xp6(3),t.Oqu(t.lcZ(39,49,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_PUBLIC")),t.xp6(2),t.Q6J("ngModel",e.readSelfPublic),t.xp6(1),t.Q6J("ngModel",e.writeSelfPublic),t.xp6(3),t.Oqu(t.lcZ(45,51,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_VO")),t.xp6(2),t.Q6J("ngModel",e.readSelfVo),t.xp6(1),t.Q6J("ngModel",e.writeSelfVo),t.xp6(3),t.Oqu(t.lcZ(51,53,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VO")),t.xp6(2),t.Q6J("ngModel",e.readVo),t.xp6(1),t.Q6J("ngModel",e.writeVo),t.xp6(3),t.Oqu(t.lcZ(57,55,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.GROUP")),t.xp6(2),t.Q6J("ngModel",e.readGroup),t.xp6(1),t.Q6J("ngModel",e.writeGroup),t.xp6(3),t.Oqu(t.lcZ(63,57,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FACILITY")),t.xp6(2),t.Q6J("ngModel",e.readFacility),t.xp6(1),t.Q6J("ngModel",e.writeFacility),t.xp6(3),t.Oqu(t.lcZ(69,59,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SERVICES")),t.xp6(2),t.Q6J("services",e.services)("displayedColumns",t.DdM(61,vn))("disableRouting",!0)}}function Ai(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",32),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).switchShowKeys()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SHOW_KEYS")," "))}function On(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",3),t.TgZ(2,"h1",4),t._uU(3),t.qZA(),t.YNc(4,Dn,1,0,"mat-spinner",5),t.YNc(5,ei,71,62,"div",6),t.TgZ(6,"div",7),t.YNc(7,Ai,3,3,"button",8),t.TgZ(8,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCopy()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSubmit()}),t.ALo(15,"translate"),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(3),t.Oqu(e.attDef.namespace+":"+e.attDef.friendlyName),t.xp6(1),t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading),t.xp6(2),t.Q6J("ngIf","entityless"===e.attDef.entity),t.xp6(2),t.hij(" ",t.lcZ(10,10,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.COPY_FOR_IMPORT")," "),t.xp6(3),t.hij(" ",t.lcZ(13,12,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.CANCEL")," "),t.xp6(2),t.s9C("matTooltip",t.lcZ(15,14,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.TOOLTIP_CONFIRM")),t.Q6J("disabled",e.disableConfirmButton()||e.loading)("matTooltipDisabled",!e.disableConfirmButton()),t.xp6(2),t.hij(" ",t.lcZ(17,16,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.CONFIRM")," ")}}function un(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"app-entityless-attribute-keys-list",33),t.NdJ("switchView",function(){return t.CHM(e),t.oxw().switchShowKeys()}),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("tableId",e.tableId)("attDef",e.attDef)}}let bn=(()=>{class n{constructor(e,i,a,s,d,T,E,F){this.dialog=e,this.dialogRef=i,this.data=a,this.notificator=s,this.translate=d,this.clipboard=T,this.attributesManager=E,this.serviceService=F,this.showKeys=!1,this.activatedComponent="Edit",this.readSelf=!1,this.readSelfPublic=!1,this.readSelfVo=!1,this.readVo=!1,this.readGroup=!1,this.readFacility=!1,this.writeSelf=!1,this.writeSelfPublic=!1,this.writeSelfVo=!1,this.writeVo=!1,this.writeGroup=!1,this.writeFacility=!1,this.tableId=fn.Wv,this.loading=!1}ngOnInit(){this.loading=!0,this.dialogRef.addPanelClass("mat-dialog-height-transition"),this.attDef=this.data.attDef,this.serviceService.getServicesByAttributeDefinition(this.attDef.id).subscribe(e=>{this.services=e,this.attributesManager.getAttributeRights(this.attDef.id).subscribe(i=>{this.fromRightsToCheckboxes(i),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}disableConfirmButton(){return""===this.attDef.displayName||""===this.attDef.description}disableUniqueToggle(){return this.attDef.namespace.includes("virt")||this.attDef.namespace.includes("core")||"entityless"===this.attDef.entity}onSubmit(){this.loading=!0,this.attributesManager.updateAttributeDefinition({attributeDefinition:this.attDef}).subscribe(e=>{this.attDef=e,this.attributesManager.setAttributeRights({rights:this.fromCheckboxesToRights()}).subscribe(()=>{this.translate.get("DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SUCCESS").subscribe(i=>{this.notificator.showSuccess(i),this.dialogRef.close(!0)})},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}fromCheckboxesToRights(){const e=[],i={};i.attributeId=this.attDef.id,i.role=it.u.SELF,i.rights=[],this.readSelf&&i.rights.push("READ"),this.readSelfPublic&&i.rights.push("READ_PUBLIC"),this.readSelfVo&&i.rights.push("READ_VO"),this.writeSelf&&i.rights.push("WRITE"),this.writeSelfPublic&&i.rights.push("WRITE_PUBLIC"),this.writeSelfVo&&i.rights.push("WRITE_VO"),e.push(i);const a={};a.attributeId=this.attDef.id,a.role=it.u.VOADMIN,a.rights=[],this.readVo&&a.rights.push("READ"),this.writeVo&&a.rights.push("WRITE"),e.push(a);const s={};s.attributeId=this.attDef.id,s.role=it.u.GROUPADMIN,s.rights=[],this.readGroup&&s.rights.push(z.Us.READ),this.writeGroup&&s.rights.push("WRITE"),e.push(s);const d={};return d.attributeId=this.attDef.id,d.role=it.u.FACILITYADMIN,d.rights=[],this.readFacility&&d.rights.push("READ"),this.writeFacility&&d.rights.push("WRITE"),e.push(d),e}fromRightsToCheckboxes(e){for(const i of e)switch(i.role){case it.u.SELF:i.rights.includes("READ")&&(this.readSelf=!0),i.rights.includes("READ_PUBLIC")&&(this.readSelfPublic=!0),i.rights.includes("READ_VO")&&(this.readSelfVo=!0),i.rights.includes("WRITE")&&(this.writeSelf=!0),i.rights.includes("WRITE_PUBLIC")&&(this.writeSelfPublic=!0),i.rights.includes("WRITE_VO")&&(this.writeSelfVo=!0);break;case it.u.GROUPADMIN:i.rights.includes("READ")&&(this.readGroup=!0),i.rights.includes("WRITE")&&(this.writeGroup=!0);break;case it.u.FACILITYADMIN:i.rights.includes("READ")&&(this.readFacility=!0),i.rights.includes("WRITE")&&(this.writeFacility=!0);break;case it.u.VOADMIN:i.rights.includes("READ")&&(this.readVo=!0),i.rights.includes("WRITE")&&(this.writeVo=!0)}}switchShowKeys(){this.showKeys=!this.showKeys,this.showKeys?(this.dialogRef.updateSize("800px"),this.activatedComponent="Entityless"):(this.dialogRef.updateSize("700px"),this.activatedComponent="Edit")}onCopy(){const e={attributeDefinition:this.attDef,attributeRights:this.fromCheckboxesToRights()};this.clipboard.copy(JSON.stringify(e))?this.notificator.showSuccess(this.translate.instant("DIALOGS.EDIT_ATTRIBUTE_DEFINITION.COPIED")):this.notificator.showError(this.translate.instant("DIALOGS.EDIT_ATTRIBUTE_DEFINITION.COPY_FAILED"))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.uw),t.Y36(R.so),t.Y36(R.WI),t.Y36(H.V6),t.Y36(p.sK),t.Y36(Be.TU),t.Y36(z.H8),t.Y36(z.KK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-edit-attribute-definition-dialog"]],viewQuery:function(e,i){if(1&e&&t.Gf(Zn,5),2&e){let a;t.iGM(a=t.CRH())&&(i.copiedToolTip=a.first)}},decls:4,vars:2,consts:[[1,"admin-theme"],[1,"parent"],[4,"ngIf"],[1,"width-650"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-flat-button","","class","ml-0",3,"click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","",1,"ml-2",3,"click"],["mat-flat-button","","color","accent","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltip","matTooltipDisabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["matInput","","required","",1,"width-650",3,"ngModel","placeholder","ngModelChange"],["matInput","","cdkTextareaAutosize","","required","",1,"width-650",3,"ngModel","placeholder","ngModelChange"],[1,"d-flex","flex-row","mt-3"],[1,"pointer","ml-4",3,"click"],["color","accent","matTooltipPosition","above",1,"ml-2",3,"matTooltip","matTooltipDisabled","disabled","ngModel","ngModelChange"],[1,"d-flex","flex-row","mt-2"],[1,"ml-5","pl-4"],[1,"ml-4"],[1,"d-flex","flex-row"],[1,""],[1,"ml-5","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5",3,"ngModel","ngModelChange"],[1,"ml-3",3,"ngModel","ngModelChange"],[1,"ml-4","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5","pl-4",3,"ngModel","ngModelChange"],[1,"ml-4","pl-4",3,"ngModel","ngModelChange"],[1,"mt-4"],[3,"services","displayedColumns","disableRouting"],["mat-flat-button","",1,"ml-0",3,"click"],[3,"tableId","attDef","switchView"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.YNc(2,On,18,18,"div",2),t.YNc(3,un,2,2,"div",2),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",!i.showKeys),t.xp6(1),t.Q6J("ngIf",i.showKeys))},directives:[_.O5,R.uh,tt.$g,R.xY,G.KE,M.Nt,ft.Fj,ft.Q7,ft.JJ,ft.On,G.TO,It.IC,ne.Rr,Ut.gM,xt.oG,ci.Q,R.H8,ot.lW,nn],pipes:[p.X$],styles:[".unique-toggle-label[_ngcontent-%COMP%]{font-size:1.125rem}.width-650[_ngcontent-%COMP%]{width:650px!important}.pointer[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%]{overflow:hidden}.parent[_ngcontent-%COMP%]{display:flex}.parent[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{flex:1}textarea[cdktextareaautosize].mat-input-element[_ngcontent-%COMP%]{overflow:hidden}"],data:{animation:[En.SG,En.GH,En.Ls]}}),n})();var Kn=o(70844);let ui=(()=>{class n{transform(e){if(null===e)return null;const i=e;return i.substring(i.lastIndexOf(":")+1,i.length)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"nameSpaceToDef",type:n,pure:!0}),n})(),Nn=(()=>{class n{transform(e){if(null===e)return null;const i=e;return i.substring(i.lastIndexOf(".")+1,i.length)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"attributeTypeClean",type:n,pure:!0}),n})();function De(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"th",19),t.TgZ(1,"mat-checkbox",20),t.NdJ("change",function(a){t.CHM(e);const s=t.oxw();return a?s.masterToggle():null}),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function Mi(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"td",21),t.TgZ(1,"mat-checkbox",22),t.NdJ("change",function(a){const d=t.CHM(e).$implicit,T=t.oxw();return a?T.selection.toggle(d):null})("click",function(a){return a.stopPropagation()}),t.ALo(2,"consentRelatedAttribute"),t.ALo(3,"translate"),t.ALo(4,"consentRelatedAttribute"),t.qZA(),t.qZA()}if(2&n){const e=r.$implicit,i=t.oxw();t.xp6(1),t.Q6J("aria-label",i.checkboxLabel(e))("checked",i.selection.isSelected(e))("disabled",t.Dn7(2,5,e.namespace,i.serviceEnabled,i.consentRequired))("matTooltip",t.lcZ(3,9,"ADMIN.ATTRIBUTES.CONSENT_RELATED_DISABLED"))("matTooltipDisabled",!t.Dn7(4,11,e.namespace,i.serviceEnabled,i.consentRequired))}}function Bn(n,r){1&n&&(t.TgZ(0,"th",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_ID")," "))}function pn(n,r){if(1&n&&(t.TgZ(0,"td",24),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.id)}}function V(n,r){1&n&&(t.TgZ(0,"th",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_FRIENDLY_NAME")," "))}function X(n,r){if(1&n&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.friendlyName)}}function ht(n,r){1&n&&(t.TgZ(0,"th",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_ENTITY")," "))}function S(n,r){if(1&n&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.entity)}}function wt(n,r){1&n&&(t.TgZ(0,"th",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_DEF")," "))}function Ot(n,r){if(1&n&&(t.TgZ(0,"td",25),t._uU(1),t.ALo(2,"nameSpaceToDef"),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(t.lcZ(2,1,e.namespace))}}function Bt(n,r){1&n&&(t.TgZ(0,"th",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_TYPE")," "))}function Yt(n,r){if(1&n&&(t.TgZ(0,"td",25),t._uU(1),t.ALo(2,"attributeTypeClean"),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(t.lcZ(2,1,e.type))}}function re(n,r){1&n&&(t.TgZ(0,"th",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_UNIQUE")," "))}function qt(n,r){if(1&n&&(t.TgZ(0,"td",25),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.unique)}}function j(n,r){1&n&&t._UZ(0,"tr",26)}function mt(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"tr",27),t.NdJ("click",function(){const s=t.CHM(e).$implicit;return t.oxw().onRowClick(s)}),t.qZA()}if(2&n){const e=t.oxw();t.ekj("cursor-pointer",!e.disableRouting)}}function Ct(n,r){1&n&&(t.TgZ(0,"app-alert",28),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.NO_ATTRIBUTES"),"\n"))}function At(n,r){1&n&&(t.TgZ(0,"app-alert",28),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let Xt=(()=>{class n{constructor(e,i,a,s){this.dialog=e,this.authResolver=i,this.tableCheckbox=a,this.consentRelatedPipe=s,this.selection=new P.Ov(!0,[]),this.displayedColumns=["select","id","friendlyName","entity","namespace","type","unique"],this.disableRouting=!1,this.consentRequired=!1,this.serviceEnabled=!1,this.refreshEvent=new t.vpe,this.pageSizeOptions=oe.f7,this.canBeSelected=d=>!this.consentRelatedPipe.transform(d.namespace,this.serviceEnabled,this.consentRequired)}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new Z.by(this.definitions),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(e,i){switch(i){case"id":return e.id.toString();case"friendlyName":return e.friendlyName;case"entity":return e.entity;case"namespace":if(e.namespace){const a=e.namespace;return a.substring(a.lastIndexOf(":")+1,a.length)}return"";case"type":if(e.type){const a=e.type;return a.substring(a.lastIndexOf(".")+1,a.length)}return"";case"unique":return e.unique?"true":"false";default:return""}}exportData(e){(0,oe.O6)((0,oe.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filter=this.filterValue,this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(e,i)=>(0,oe.Sd)(e,i,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,i)=>(0,oe.pR)(e,i,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}onRowClick(e){if(!this.disableRouting){const i=(0,oe.kZ)();i.width="700px",i.data={attDef:e},this.dialog.open(bn,i).afterClosed().subscribe(s=>{s&&(this.selection.clear(),this.refreshEvent.emit())})}}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.uw),t.Y36(H.x4),t.Y36(H.UA),t.Y36(Kn.u))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-attr-def-list"]],viewQuery:function(e,i){if(1&e&&(t.Gf(sn.YE,7),t.Gf(oe.l9,7)),2&e){let a;t.iGM(a=t.CRH())&&(i.matSort=a.first),t.iGM(a=t.CRH())&&(i.child=a.first)}},inputs:{definitions:"definitions",selection:"selection",displayedColumns:"displayedColumns",filterValue:"filterValue",tableId:"tableId",disableRouting:"disableRouting",consentRequired:"consentRequired",serviceEnabled:"serviceEnabled"},outputs:{refreshEvent:"refreshEvent"},features:[t.TTD],decls:29,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","friendlyName"],["mat-cell","",4,"matCellDef"],["matColumnDef","entity"],["matColumnDef","namespace"],["matColumnDef","type"],["matColumnDef","unique"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","click",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["matTooltipPosition","left","color","primary",3,"aria-label","checked","disabled","matTooltip","matTooltipDisabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"click"],["alert_type","warn"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(s){return i.exportData(s)}),t.TgZ(2,"div",2),t.TgZ(3,"table",3),t.ynx(4,4),t.YNc(5,De,2,3,"th",5),t.YNc(6,Mi,5,15,"td",6),t.BQk(),t.ynx(7,7),t.YNc(8,Bn,3,3,"th",8),t.YNc(9,pn,2,1,"td",9),t.BQk(),t.ynx(10,10),t.YNc(11,V,3,3,"th",8),t.YNc(12,X,2,1,"td",11),t.BQk(),t.ynx(13,12),t.YNc(14,ht,3,3,"th",8),t.YNc(15,S,2,1,"td",11),t.BQk(),t.ynx(16,13),t.YNc(17,wt,3,3,"th",8),t.YNc(18,Ot,3,3,"td",11),t.BQk(),t.ynx(19,14),t.YNc(20,Bt,3,3,"th",8),t.YNc(21,Yt,3,3,"td",11),t.BQk(),t.ynx(22,15),t.YNc(23,re,3,3,"th",8),t.YNc(24,qt,2,1,"td",11),t.BQk(),t.YNc(25,j,1,0,"tr",16),t.YNc(26,mt,1,2,"tr",17),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.YNc(27,Ct,3,3,"app-alert",18),t.YNc(28,At,3,3,"app-alert",18)),2&e&&(t.Q6J("hidden",0===i.dataSource.filteredData.length||0===i.definitions.length),t.xp6(1),t.Q6J("tableId",i.tableId)("dataLength",i.dataSource.filteredData.length)("pageSizeOptions",i.pageSizeOptions),t.xp6(2),t.Q6J("dataSource",i.dataSource),t.xp6(22),t.Q6J("matHeaderRowDef",i.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",i.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===i.definitions.length),t.xp6(1),t.Q6J("ngIf",0===i.dataSource.filteredData.length&&0!==i.definitions.length))},directives:[_n.l,Z.BZ,sn.YE,Z.w1,Z.fO,Z.ge,xt.oG,Z.Dz,Z.ev,Ut.gM,sn.nU,Z.as,Z.XQ,Z.nj,Z.Gk,_.O5,rt.w],pipes:[Kn.u,p.X$,ui,Nn],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();function te(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCreate()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.CREATE")," "))}function Dt(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onImport()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.ATTRIBUTES.IMPORT")," "))}function de(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onDelete()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",0===e.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"ADMIN.ATTRIBUTES.DELETE")," ")}}function O(n,r){1&n&&t._UZ(0,"mat-spinner",9)}function le(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"app-attr-def-list",10),t.NdJ("refreshEvent",function(){return t.CHM(e),t.oxw().refreshTable()}),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("tableId",e.tableId)("definitions",e.attrDefinitions)("selection",e.selected)("filterValue",e.filterValue)("disableRouting",!e.authResolver.isPerunAdmin())}}let Le=(()=>{class n{constructor(e,i,a){this.dialog=e,this.attributesManager=i,this.authResolver=a,this.attrDefinitions=[],this.selected=new P.Ov(!0,[]),this.filterValue="",this.tableId=fn.uM}ngOnInit(){this.refreshTable()}onCreate(){const e=(0,oe.kZ)();e.width="500px",this.dialog.open(Mn,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}onDelete(){const e=(0,oe.kZ)();e.width="450px",e.data={attributes:this.selected.selected,theme:"admin-theme"},this.dialog.open(ut,e).afterClosed().subscribe(a=>{a&&(this.refreshTable(),this.selected.clear())})}refreshTable(){this.loading=!0,this.attributesManager.getAllAttributeDefinitions().subscribe(e=>{this.attrDefinitions=e,this.loading=!1})}applyFilter(e){this.filterValue=e}onImport(){const e=(0,oe.kZ)();e.width="700px",this.dialog.open(Hn,e).afterClosed().subscribe(a=>{!0===a&&this.refreshTable()})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.uw),t.Y36(z.H8),t.Y36(H.x4))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-attributes"]],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("router-component",i.true)},decls:11,vars:9,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","definitions","selection","filterValue","disableRouting","refreshEvent",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","definitions","selection","filterValue","disableRouting","refreshEvent"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.YNc(5,te,3,3,"button",2),t.YNc(6,Dt,3,3,"button",2),t.YNc(7,de,3,4,"button",3),t.TgZ(8,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(9,O,1,0,"mat-spinner",5),t.YNc(10,le,1,5,"app-attr-def-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,7,"ADMIN.ATTRIBUTES.TITLE")),t.xp6(3),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("placeholder","ADMIN.ATTRIBUTES.SEARCH"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,_.O5,ot.lW,je.L,tt.$g,Xt],pipes:[p.X$],styles:[""]}),n})(),ke=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-visualizer"]],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("router-component",i.true)},decls:1,vars:0,template:function(e,i){1&e&&t._UZ(0,"app-animated-router-outlet")},directives:[f.A],styles:[""]}),n})();var rn=o(9921);let He=(()=>{class n{constructor(e){this.attributesManager=e}ngOnInit(){this.attributesManager.getAttributeModulesDependenciesGraphText("DOT").subscribe(e=>{const i=e.graph.replace("\\t","").replace("\\n","").replace("\\","");(0,rn.graphviz)("#dependenciesGraph",{zoom:!1}).renderDot(i)})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.H8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-visualizer-attr-modules"]],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("router-component",i.true)},decls:4,vars:3,consts:[[1,"page-subtitle"],["id","dependenciesGraph",1,"card"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t._UZ(3,"div",1)),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.VISUALIZER.ATTR_DEPENDENCIES.TITLE"),"\n"))},pipes:[p.X$],styles:["#dependenciesGraph[_ngcontent-%COMP%]{overflow-y:scroll}"]}),n})(),Je=(()=>{class n{constructor(){this.items=[{cssIcon:"perun-module-dependencies",url:"attrDependencies",label:"MENU_ITEMS.VISUALIZER.ATTR_DEPENDENCIES",style:"admin-btn"},{cssIcon:"perun-user-destination-relationship",url:"userDestinationRelationship",label:"MENU_ITEMS.VISUALIZER.USER_DESTINATION",style:"admin-btn"}]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-visualizer-overview"]],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("router-component",i.true)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",0),t.qZA()),2&e&&(t.xp6(1),t.Q6J("items",i.items)("size","small"))},directives:[L.L],styles:[""]}),n})();var fe=o(80013),ye=o(75778),Ye=o(22868),nt=o(87545),_t=o(92081),gt=o(91079),St=o(79814);function zt(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.Oqu(t.lcZ(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_USER"))}function ee(n,r){1&n&&t._UZ(0,"mat-spinner",17),2&n&&t.Q6J("diameter",20)("strokeWidth",2)}function Qt(n,r){if(1&n&&(t.TgZ(0,"mat-option",18),t.TgZ(1,"span",19),t._uU(2),t.qZA(),t._uU(3),t.qZA()),2&n){const e=r.$implicit;t.Q6J("value",e.firstName+" "+e.lastName),t.xp6(2),t.hij("#",e.id,""),t.xp6(1),t.AsE(" ",e.firstName," ",e.lastName," ")}}function me(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.Oqu(t.lcZ(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_DESTINATION"))}function xe(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.Oqu(t.lcZ(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_SERVICE"))}function Wt(n,r){if(1&n&&(t.TgZ(0,"mat-radio-button",20),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e," ")}}let ce=(()=>{class n{constructor(e,i,a,s,d,T){this.usersService=e,this.translate=i,this.facilityManager=a,this.serviceService=s,this.router=d,this.notificator=T,this.searchField=new ft.NI,this.chosenService="",this.availableServices=[],this.loading=!1,this.destination=""}ngOnInit(){this.searchField.setValue(""),this.users=this.searchField.valueChanges.pipe((0,fe.b)(400),(0,ye.x)(),(0,Ye.b)(()=>this.loading=!0),(0,nt.w)(e=>this.usersService.findUsers(e)),(0,Ye.b)(()=>this.loading=!1)),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.SELECT_NO_SERVICE").subscribe(e=>{this.noServiceText=e,this.availableServices.push(this.noServiceText)})}validateName(e){""!==this.searchField.value?this.usersService.findUsers(this.searchField.value).subscribe(i=>{for(const a of i){if((a.firstName+" "+a.lastName).toLowerCase()===this.searchField.value.toLowerCase()){this.selectedUser=a,e.selected.completed=!0,e.next();break}this.selectedUser=null}this.selectedUser||this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_WRONG_NAME").subscribe(a=>{this.notificator.showError(a)})}):this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_NO_NAME").subscribe(i=>{this.notificator.showError(i)})}validateDestination(e){""!==this.destination?(this.availableServices=[],this.availableServices.push(this.noServiceText),this.chosenService="",this.facilityManager.getFacilitiesByDestination(this.destination).subscribe(i=>{if(0!==i.length){e.selected.completed=!0,e.next();for(const a of i)this.serviceService.getAllRichDestinationsForFacility(a.id).subscribe(s=>{for(const d of s)d.destination===this.destination&&-1===this.availableServices.indexOf(d.service.name)&&this.availableServices.push(d.service.name)})}else this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_WRONG_DESTINATION").subscribe(a=>{this.notificator.showError(a)})})):this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_NO_DESTINATION").subscribe(i=>{this.notificator.showError(i)})}getGraph(){""!==this.chosenService?this.router.navigate(["admin/visualizer/userDestinationRelationship/graph"],this.chosenService===this.noServiceText?{queryParams:{user:this.selectedUser.id,destination:this.destination,service:"noService"}}:{queryParams:{user:this.selectedUser.id,destination:this.destination,service:this.chosenService}}):this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_NOT_CHOSEN_SERVICE").subscribe(e=>{this.notificator.showError(e)})}notCompleted(e){e.selected.completed=!1}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.Fv),t.Y36(p.sK),t.Y36(z.IQ),t.Y36(z.KK),t.Y36(m.F0),t.Y36(H.V6))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-user-destination-relationship"]],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("router-component",i.true)},decls:46,vars:36,consts:[[1,"p-3","card","settings-card","col-12","col-xl-5"],[1,"page-subtitle"],["linear",""],["stepper",""],["completed","false"],["matStepLabel",""],[1,"w-100"],["matInput","","type","text",3,"placeholder","formControl","matAutocomplete","ngModelChange","keydown.enter"],["matSuffix","",3,"diameter","strokeWidth",4,"ngIf"],["align","start"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["mat-stroked-button","",1,"mt-2",3,"click"],["matInput","","type","text",3,"placeholder","ngModel","ngModelChange","keydown.enter"],["mat-stroked-button","","matStepperPrevious","",1,"mt-2"],[1,"mb-2",3,"ngModel","ngModelChange"],["class","flex-column d-flex","color","primary",3,"value",4,"ngFor","ngForOf"],["matSuffix","",3,"diameter","strokeWidth"],[3,"value"],[1,"text-muted"],["color","primary",1,"flex-column","d-flex",3,"value"]],template:function(e,i){if(1&e){const a=t.EpF();t.TgZ(0,"div",0),t.TgZ(1,"h1",1),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-vertical-stepper",2,3),t.TgZ(6,"mat-step",4),t.YNc(7,zt,2,3,"ng-template",5),t.TgZ(8,"mat-form-field",6),t.TgZ(9,"input",7),t.NdJ("ngModelChange",function(){t.CHM(a);const d=t.MAs(5);return i.notCompleted(d)})("keydown.enter",function(){t.CHM(a);const d=t.MAs(5);return i.validateName(d)}),t.ALo(10,"translate"),t.qZA(),t.YNc(11,ee,1,2,"mat-spinner",8),t.TgZ(12,"mat-hint",9),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.TgZ(15,"mat-autocomplete",null,10),t.YNc(17,Qt,4,4,"mat-option",11),t.ALo(18,"async"),t.qZA(),t.qZA(),t.TgZ(19,"div"),t.TgZ(20,"button",12),t.NdJ("click",function(){t.CHM(a);const d=t.MAs(5);return i.validateName(d)}),t._uU(21),t.ALo(22,"translate"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(23,"mat-step",4),t.YNc(24,me,2,3,"ng-template",5),t.TgZ(25,"mat-form-field",6),t.TgZ(26,"input",13),t.NdJ("ngModelChange",function(d){return i.destination=d})("ngModelChange",function(){t.CHM(a);const d=t.MAs(5);return i.notCompleted(d)})("keydown.enter",function(){t.CHM(a);const d=t.MAs(5);return i.validateDestination(d)}),t.ALo(27,"translate"),t.qZA(),t.qZA(),t.TgZ(28,"div"),t.TgZ(29,"button",14),t._uU(30),t.ALo(31,"translate"),t.qZA(),t.TgZ(32,"button",12),t.NdJ("click",function(){t.CHM(a);const d=t.MAs(5);return i.validateDestination(d)}),t._uU(33),t.ALo(34,"translate"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(35,"mat-step"),t.YNc(36,xe,2,3,"ng-template",5),t.TgZ(37,"mat-radio-group",15),t.NdJ("ngModelChange",function(d){return i.chosenService=d}),t.YNc(38,Wt,2,2,"mat-radio-button",16),t.qZA(),t.TgZ(39,"div"),t.TgZ(40,"button",14),t._uU(41),t.ALo(42,"translate"),t.qZA(),t.TgZ(43,"button",12),t.NdJ("click",function(){return i.getGraph()}),t._uU(44),t.ALo(45,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&e){const a=t.MAs(16);t.xp6(2),t.hij(" ",t.lcZ(3,16,"ADMIN.VISUALIZER.USER_DESTINATION.TITLE")," "),t.xp6(7),t.s9C("placeholder",t.lcZ(10,18,"ADMIN.VISUALIZER.USER_DESTINATION.USER_EXAMPLE")),t.Q6J("formControl",i.searchField)("matAutocomplete",a),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(2),t.Oqu(t.lcZ(14,20,"ADMIN.VISUALIZER.USER_DESTINATION.USER_HINT")),t.xp6(4),t.Q6J("ngForOf",t.lcZ(18,22,i.users)),t.xp6(4),t.hij(" ",t.lcZ(22,24,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_NEXT")," "),t.xp6(5),t.s9C("placeholder",t.lcZ(27,26,"ADMIN.VISUALIZER.USER_DESTINATION.DESTINATION_EXAMPLE")),t.Q6J("ngModel",i.destination),t.xp6(4),t.hij(" ",t.lcZ(31,28,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_BACK")," "),t.xp6(3),t.hij(" ",t.lcZ(34,30,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_NEXT")," "),t.xp6(4),t.Q6J("ngModel",i.chosenService),t.xp6(1),t.Q6J("ngForOf",i.availableServices),t.xp6(3),t.hij(" ",t.lcZ(42,32,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_BACK")," "),t.xp6(3),t.hij(" ",t.lcZ(45,34,"ADMIN.VISUALIZER.USER_DESTINATION.SUBMIT_BUTTON")," ")}},directives:[_t.Vq,_t.C0,_t.VY,G.KE,M.Nt,ft.Fj,gt.ZL,ft.JJ,ft.oH,_.O5,tt.$g,G.R9,G.bx,gt.XC,_.sg,Ht.ey,ot.lW,ft.On,_t.fd,St.VQ,St.U0],pipes:[p.X$,_.Ov],styles:[""]}),n})();var Ie=o(70655);function Ee(n,r,e){n._context.bezierCurveTo((2*n._x0+n._x1)/3,(2*n._y0+n._y1)/3,(n._x0+2*n._x1)/3,(n._y0+2*n._y1)/3,(n._x0+4*n._x1+r)/6,(n._y0+4*n._y1+e)/6)}function Ue(n){this._context=n}function Ln(n,r){this._basis=new Ue(n),this._beta=r}Ue.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ee(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,r){switch(n=+n,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ee(this,n,r)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=r}},Ln.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var n=this._x,r=this._y,e=n.length-1;if(e>0)for(var E,i=n[0],a=r[0],s=n[e]-i,d=r[e]-a,T=-1;++T<=e;)this._basis.point(this._beta*n[T]+(1-this._beta)*(i+(E=T/e)*s),this._beta*r[T]+(1-this._beta)*(a+E*d));this._x=this._y=null,this._basis.lineEnd()},point:function(n,r){this._x.push(+n),this._y.push(+r)}};const kn=function n(r){function e(i){return 1===r?new Ue(i):new Ln(i,r)}return e.beta=function(i){return n(+i)},e}(.85);var ze=o(8929),qe=o(41777);function Qn(){}function on(n){return null==n?Qn:function(){return this.querySelector(n)}}function Un(){return[]}function gi(n){return new Array(n.length)}function Li(n,r){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=r}function jt(n,r,e,i,a,s){for(var T,d=0,E=r.length,F=s.length;dr?1:n>=r?0:NaN}Li.prototype={constructor:Li,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,r){return this._parent.insertBefore(n,r)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};var Cn="http://www.w3.org/1999/xhtml";const di={svg:"http://www.w3.org/2000/svg",xhtml:Cn,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function qi(n){var r=n+="",e=r.indexOf(":");return e>=0&&"xmlns"!==(r=n.slice(0,e))&&(n=n.slice(e+1)),di.hasOwnProperty(r)?{space:di[r],local:n}:n}function ki(n){return function(){this.removeAttribute(n)}}function fi(n){return function(){this.removeAttributeNS(n.space,n.local)}}function ii(n,r){return function(){this.setAttribute(n,r)}}function Oi(n,r){return function(){this.setAttributeNS(n.space,n.local,r)}}function ar(n,r){return function(){var e=r.apply(this,arguments);null==e?this.removeAttribute(n):this.setAttribute(n,e)}}function si(n,r){return function(){var e=r.apply(this,arguments);null==e?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,e)}}function Sa(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function ls(n){return function(){this.style.removeProperty(n)}}function Fn(n,r,e){return function(){this.style.setProperty(n,r,e)}}function Lr(n,r,e){return function(){var i=r.apply(this,arguments);null==i?this.style.removeProperty(n):this.style.setProperty(n,i,e)}}function pi(n,r){return n.style.getPropertyValue(r)||Sa(n).getComputedStyle(n,null).getPropertyValue(r)}function y(n){return function(){delete this[n]}}function D(n,r){return function(){this[n]=r}}function B(n,r){return function(){var e=r.apply(this,arguments);null==e?delete this[n]:this[n]=e}}function dt(n){return n.trim().split(/^|\s+/)}function Et(n){return n.classList||new Lt(n)}function Lt(n){this._node=n,this._names=dt(n.getAttribute("class")||"")}function Vt(n,r){for(var e=Et(n),i=-1,a=r.length;++i=0&&(this._names.splice(r,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};var xo={},Ir=null;function Bu(n,r,e){return n=yo(n,r,e),function(i){var a=i.relatedTarget;(!a||a!==this&&!(8&a.compareDocumentPosition(this)))&&n.call(this,i)}}function yo(n,r,e){return function(i){var a=Ir;Ir=i;try{n.call(this,this.__data__,r,e)}finally{Ir=a}}}function Uu(n){return n.trim().split(/^|\s+/).map(function(r){var e="",i=r.indexOf(".");return i>=0&&(e=r.slice(i+1),r=r.slice(0,i)),{type:r,name:e}})}function Gu(n){return function(){var r=this.__on;if(r){for(var s,e=0,i=-1,a=r.length;e=Kt&&(Kt=ie+1);!(Ne=bt[Kt])&&++Kt=0;)(d=i[a])&&(s&&4^d.compareDocumentPosition(s)&&s.parentNode.insertBefore(d,s),s=d);return this},sort:function kt(n){function r(lt,st){return lt&&st?n(lt.__data__,st.__data__):!lt-!st}n||(n=Pt);for(var e=this._groups,i=e.length,a=new Array(i),s=0;s1?this.each((null==r?ls:"function"==typeof r?Lr:Fn)(n,r,null==e?"":e)):pi(this.node(),n)},property:function $(n,r){return arguments.length>1?this.each((null==r?y:"function"==typeof r?B:D)(n,r)):this.node()[n]},classed:function $e(n,r){var e=dt(n+"");if(arguments.length<2){for(var i=Et(this.node()),a=-1,s=e.length;++a0)for(var E,i=n[0],a=r[0],s=n[e]-i,d=r[e]-a,T=-1;++T<=e;)this._basis.point(this._beta*n[T]+(1-this._beta)*(i+(E=T/e)*s),this._beta*r[T]+(1-this._beta)*(a+E*d));this._x=this._y=null,this._basis.lineEnd()},point:function(n,r){this._x.push(+n),this._y.push(+r)}};const $u=function n(r){function e(i){return 1===r?new Da(i):new Ao(i,r)}return e.beta=function(i){return n(+i)},e}(.85);var cs=Math.PI,us=2*cs,Mr=1e-6,Ju=us-Mr;function hs(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Eo(){return new hs}hs.prototype=Eo.prototype={constructor:hs,moveTo:function(n,r){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+r)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(n,r){this._+="L"+(this._x1=+n)+","+(this._y1=+r)},quadraticCurveTo:function(n,r,e,i){this._+="Q"+ +n+","+ +r+","+(this._x1=+e)+","+(this._y1=+i)},bezierCurveTo:function(n,r,e,i,a,s){this._+="C"+ +n+","+ +r+","+ +e+","+ +i+","+(this._x1=+a)+","+(this._y1=+s)},arcTo:function(n,r,e,i,a){var s=this._x1,d=this._y1,T=(e=+e)-(n=+n),E=(i=+i)-(r=+r),F=s-n,W=d-r,lt=F*F+W*W;if((a=+a)<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=n)+","+(this._y1=r);else if(lt>Mr)if(Math.abs(W*T-E*F)>Mr&&a){var st=e-s,vt=i-d,Mt=T*T+E*E,Rt=st*st+vt*vt,bt=Math.sqrt(Mt),$t=Math.sqrt(lt),ie=a*Math.tan((cs-Math.acos((Mt+lt-Rt)/(2*bt*$t)))/2),Kt=ie/$t,Ae=ie/bt;Math.abs(Kt-1)>Mr&&(this._+="L"+(n+Kt*F)+","+(r+Kt*W)),this._+="A"+a+","+a+",0,0,"+ +(W*st>F*vt)+","+(this._x1=n+Ae*T)+","+(this._y1=r+Ae*E)}else this._+="L"+(this._x1=n)+","+(this._y1=r)},arc:function(n,r,e,i,a,s){n=+n,r=+r,s=!!s;var d=(e=+e)*Math.cos(i),T=e*Math.sin(i),E=n+d,F=r+T,W=1^s,lt=s?i-a:a-i;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+E+","+F:(Math.abs(this._x1-E)>Mr||Math.abs(this._y1-F)>Mr)&&(this._+="L"+E+","+F),e&&(lt<0&&(lt=lt%us+us),lt>Ju?this._+="A"+e+","+e+",0,1,"+W+","+(n-d)+","+(r-T)+"A"+e+","+e+",0,1,"+W+","+(this._x1=E)+","+(this._y1=F):lt>Mr&&(this._+="A"+e+","+e+",0,"+ +(lt>=cs)+","+W+","+(this._x1=n+e*Math.cos(a))+","+(this._y1=r+e*Math.sin(a))))},rect:function(n,r,e,i){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+r)+"h"+ +e+"v"+ +i+"h"+-e+"Z"},toString:function(){return this._}};const Qu=Eo;function La(n){return function(){return n}}function So(n){this._context=n}function ju(n){return new So(n)}function qu(n){return n[0]}function Ku(n){return n[1]}So.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,r){switch(n=+n,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 1:this._point=2;default:this._context.lineTo(n,r)}}};var Do=Math.PI;function ko(n){return(1-Math.cos(Do*n))/2}function eh(){}function ds(n){return null==n?eh:function(){return this.querySelector(n)}}function ih(){return[]}function Io(n){return null==n?ih:function(){return this.querySelectorAll(n)}}function Mo(n){return function(){return this.matches(n)}}function Oo(n){return new Array(n.length)}function ka(n,r){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=r}function lh(n,r,e,i,a,s){for(var T,d=0,E=r.length,F=s.length;dr?1:n>=r?0:NaN}ka.prototype={constructor:ka,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,r){return this._parent.insertBefore(n,r)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};var fs="http://www.w3.org/1999/xhtml";const Fo={svg:"http://www.w3.org/2000/svg",xhtml:fs,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ia(n){var r=n+="",e=r.indexOf(":");return e>=0&&"xmlns"!==(r=n.slice(0,e))&&(n=n.slice(e+1)),Fo.hasOwnProperty(r)?{space:Fo[r],local:n}:n}function Ch(n){return function(){this.removeAttribute(n)}}function wh(n){return function(){this.removeAttributeNS(n.space,n.local)}}function Ah(n,r){return function(){this.setAttribute(n,r)}}function Eh(n,r){return function(){this.setAttributeNS(n.space,n.local,r)}}function Sh(n,r){return function(){var e=r.apply(this,arguments);null==e?this.removeAttribute(n):this.setAttribute(n,e)}}function Dh(n,r){return function(){var e=r.apply(this,arguments);null==e?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,e)}}function Po(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function kh(n){return function(){this.style.removeProperty(n)}}function Ih(n,r,e){return function(){this.style.setProperty(n,r,e)}}function Mh(n,r,e){return function(){var i=r.apply(this,arguments);null==i?this.style.removeProperty(n):this.style.setProperty(n,i,e)}}function zr(n,r){return n.style.getPropertyValue(r)||Po(n).getComputedStyle(n,null).getPropertyValue(r)}function Nh(n){return function(){delete this[n]}}function Fh(n,r){return function(){this[n]=r}}function Ph(n,r){return function(){var e=r.apply(this,arguments);null==e?delete this[n]:this[n]=e}}function Ro(n){return n.trim().split(/^|\s+/)}function ps(n){return n.classList||new Zo(n)}function Zo(n){this._node=n,this._names=Ro(n.getAttribute("class")||"")}function Bo(n,r){for(var e=ps(n),i=-1,a=r.length;++i=0&&(this._names.splice(r,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};var Vo={},Or=null;function dd(n,r,e){return n=zo(n,r,e),function(i){var a=i.relatedTarget;(!a||a!==this&&!(8&a.compareDocumentPosition(this)))&&n.call(this,i)}}function zo(n,r,e){return function(i){var a=Or;Or=i;try{n.call(this,this.__data__,r,e)}finally{Or=a}}}function fd(n){return n.trim().split(/^|\s+/).map(function(r){var e="",i=r.indexOf(".");return i>=0&&(e=r.slice(i+1),r=r.slice(0,i)),{type:r,name:e}})}function pd(n){return function(){var r=this.__on;if(r){for(var s,e=0,i=-1,a=r.length;e=Kt&&(Kt=ie+1);!(Ne=bt[Kt])&&++Kt=0;)(d=i[a])&&(s&&4^d.compareDocumentPosition(s)&&s.parentNode.insertBefore(d,s),s=d);return this},sort:function mh(n){function r(lt,st){return lt&&st?n(lt.__data__,st.__data__):!lt-!st}n||(n=gh);for(var e=this._groups,i=e.length,a=new Array(i),s=0;s1?this.each((null==r?kh:"function"==typeof r?Mh:Ih)(n,r,null==e?"":e)):zr(this.node(),n)},property:function Rh(n,r){return arguments.length>1?this.each((null==r?Nh:"function"==typeof r?Ph:Fh)(n,r)):this.node()[n]},classed:function Gh(n,r){var e=Ro(n+"");if(arguments.length<2){for(var i=ps(this.node()),a=-1,s=e.length;++a0)throw new Error("too late; already scheduled");return e}function fr(n,r){var e=nr(n,r);if(e.state>3)throw new Error("too late; already running");return e}function nr(n,r){var e=n.__transition;if(!e||!(e=e[r]))throw new Error("transition not found");return e}var Jo=o(75349);function Ed(n,r){var e,i;return function(){var a=fr(this,n),s=a.tween;if(s!==e)for(var d=0,T=(i=e=s).length;d=0&&(r=r.slice(0,e)),!r||"start"===r})}(r)?_s:fr;return function(){var d=s(this,n),T=d.on;T!==i&&(a=(i=T).copy()).on(r,e),d.on=a}}var af=la.prototype.constructor;function qo(n){return function(){this.style.removeProperty(n)}}function df(n,r,e){return function(i){this.style.setProperty(n,r.call(this,i),e)}}function ff(n,r,e){var i,a;function s(){var d=r.apply(this,arguments);return d!==a&&(i=(a=d)&&df(n,d,e)),i}return s._value=r,s}function vf(n){return function(r){this.textContent=n.call(this,r)}}function xf(n){var r,e;function i(){var a=n.apply(this,arguments);return a!==e&&(r=(e=a)&&vf(a)),r}return i._value=n,i}var Cf=0;function pr(n,r,e,i){this._groups=n,this._parents=r,this._name=e,this._id=i}function Ko(){return++Cf}var Hr=la.prototype;pr.prototype=function wf(n){return la().transition(n)}.prototype={constructor:pr,select:function nf(n){var r=this._name,e=this._id;"function"!=typeof n&&(n=ds(n));for(var i=this._groups,a=i.length,s=new Array(a),d=0;d2&&i.state<5,i.state=6,i.timer.stop(),i.on.call(a?"interrupt":"cancel",n,n.__data__,i.index,i.group),delete e[d]):s=!1;s&&delete n.__transition}}(this,n)})},la.prototype.transition=function Ef(n){var r,e;n instanceof pr?(r=n._id,n=n._name):(r=Ko(),(e=xs).time=(0,er.zO)(),n=null==n?null:n+"");for(var i=this._groups,a=i.length,s=0;s1&&void 0!==arguments[1]?arguments[1]:0;return{a:1,c:0,e:n,b:0,d:1,f:r}}function Za(n,r){switch(arguments.length){case 0:break;case 1:this.range(n);break;default:this.range(r).domain(n)}return this}"function"==typeof Symbol&&Symbol,Math,Math,Math,Math;const ll=Symbol("implicit");function ys(){var n=new Map,r=[],e=[],i=ll;function a(s){var d=s+"",T=n.get(d);if(!T){if(i!==ll)return i;n.set(d,T=r.push(s))}return e[(T-1)%e.length]}return a.domain=function(s){if(!arguments.length)return r.slice();r=[],n=new Map;for(const d of s){const T=d+"";n.has(T)||n.set(T,r.push(d))}return a},a.range=function(s){return arguments.length?(e=Array.from(s),a):e.slice()},a.unknown=function(s){return arguments.length?(i=s,a):i},a.copy=function(){return ys(r,e).unknown(i)},Za.apply(a,arguments),a}var Wr=o(59695);function zf(n,r){var e;function i(){var a,d,s=e.length,T=0,E=0;for(a=0;a=(lt=(T+F)/2))?T=lt:F=lt,(bt=e>=(st=(E+W)/2))?E=st:W=st,a=s,!(s=s[$t=bt<<1|Rt]))return a[$t]=d,n;if(vt=+n._x.call(null,s.data),Mt=+n._y.call(null,s.data),r===vt&&e===Mt)return d.next=s,a?a[$t]=d:n._root=d,n;do{a=a?a[$t]=new Array(4):n._root=new Array(4),(Rt=r>=(lt=(T+F)/2))?T=lt:F=lt,(bt=e>=(st=(E+W)/2))?E=st:W=st}while(($t=bt<<1|Rt)==(ie=(Mt>=st)<<1|vt>=lt));return a[ie]=s,a[$t]=d,n}function Bi(n,r,e,i,a){this.node=n,this.x0=r,this.y0=e,this.x1=i,this.y1=a}function np(n){return n[0]}function rp(n){return n[1]}function Ts(n,r,e){var i=new bs(null==r?np:r,null==e?rp:e,NaN,NaN,NaN,NaN);return null==n?i:i.addAll(n)}function bs(n,r,e,i,a,s){this._x=n,this._y=r,this._x0=e,this._y0=i,this._x1=a,this._y1=s,this._root=void 0}function ul(n){for(var r={data:n.data},e=r;n=n.next;)e=e.next={data:n.data};return r}var Ui=Ts.prototype=bs.prototype;function sp(n){return n.x+n.vx}function op(n){return n.y+n.vy}function hl(n){var r,e,i=1,a=1;function s(){for(var E,W,lt,st,vt,Mt,Rt,F=r.length,bt=0;btst+Sn||Nevt+Sn||Celt.index){var Vn=st-dn.x-dn.vx,zn=vt-dn.y-dn.vy,mi=Vn*Vn+zn*zn;miE.r&&(E.r=E[F].r)}function T(){if(r){var E,W,F=r.length;for(e=new Array(F),E=0;EW&&(W=a),slt&&(lt=s));if(E>W||F>lt)return this;for(this.cover(E,F).cover(W,lt),e=0;en||n>=a||i>r||r>=s;)switch(F=(rW||(T=Mt.y0)>lt||(E=Mt.x1)=$t)<<1|n>=bt)&&(Mt=st[st.length-1],st[st.length-1]=st[st.length-1-Rt],st[st.length-1-Rt]=Mt)}else{var ie=n-+this._x.call(null,vt.data),Kt=r-+this._y.call(null,vt.data),Ae=ie*ie+Kt*Kt;if(Ae=(st=(d+E)/2))?d=st:E=st,(Rt=lt>=(vt=(T+F)/2))?T=vt:F=vt,r=e,!(e=e[bt=Rt<<1|Mt]))return this;if(!e.length)break;(r[bt+1&3]||r[bt+2&3]||r[bt+3&3])&&(i=r,$t=bt)}for(;e.data!==n;)if(a=e,!(e=e.next))return this;return(s=e.next)&&delete e.next,a?(s?a.next=s:delete a.next,this):r?(s?r[bt]=s:delete r[bt],(e=r[0]||r[1]||r[2]||r[3])&&e===(r[3]||r[2]||r[1]||r[0])&&!e.length&&(i?i[$t]=e:this._root=e),this):(this._root=s,this)},Ui.removeAll=function jf(n){for(var r=0,e=n.length;r1?(null==Rt?T.remove(Mt):T.set(Mt,vt(Rt)),r):T.get(Mt)},find:function(Mt,Rt,bt){var Kt,Ae,Ne,Ce,dn,$t=0,ie=n.length;for(null==bt?bt=1/0:bt*=bt,$t=0;$t1?(F.on(Mt,Rt),r):F.on(Mt)}}}function vl(){var n,r,e,a,i=vi(-30),s=1,d=1/0,T=.81;function E(st){var vt,Mt=n.length,Rt=Ts(n,dp,fp).visitAfter(W);for(e=st,vt=0;vt=d)){(st.data!==r||st.next)&&(0===bt&&(Kt+=(bt=Cr())*bt),0===$t&&(Kt+=($t=Cr())*$t),Kt{return(n=Xr||(Xr={})).Both="both",n.Horizontal="horizontal",n.Vertical="vertical",Xr;var n})(),$r=(()=>{return(n=$r||($r={})).UpperLeft="UpperLeft",n.UpperRight="UpperRight",$r;var n})();function Wp(n,r,e){e=e||{};let i,a,s,d=null,T=0;function E(){T=!1===e.leading?0:+new Date,d=null,s=n.apply(i,a)}return function(){const F=+new Date;!T&&!1===e.leading&&(T=F);const W=r-(F-T);return i=this,a=arguments,W<=0?(clearTimeout(d),d=null,T=F,s=n.apply(i,a)):!d&&!1!==e.trailing&&(d=setTimeout(E,W)),s}}function Xp(n,r){return function(i,a,s){return{configurable:!0,enumerable:s.enumerable,get:function(){return Object.defineProperty(this,a,{configurable:!0,enumerable:s.enumerable,value:Wp(s.value,n,r)}),this[a]}}}}let yl=[{name:"vivid",selectable:!0,group:"Ordinal",domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:"Ordinal",domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:"Ordinal",domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:"Ordinal",domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:"Continuous",domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:"Continuous",domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:"Continuous",domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:"Ordinal",domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:"Ordinal",domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:"Ordinal",domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:"Ordinal",domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:"Ordinal",domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:"Ordinal",domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:"Ordinal",domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:"Ordinal",domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class $p{constructor(r,e,i){"string"==typeof r&&(r=yl.find(a=>a.name===r)),this.colorDomain=r.domain,this.domain=e,this.customColors=i,this.scale=this.generateColorScheme(r,this.domain)}generateColorScheme(r,e){return"string"==typeof r&&(r=yl.find(i=>i.name===r)),ys().range(r.domain).domain(e)}getColor(r){if(null==r)throw new Error("Value can not be null");if("function"==typeof this.customColors)return this.customColors(r);const e=r.toString();let i;return this.customColors&&this.customColors.length>0&&(i=this.customColors.find(a=>a.name.toLowerCase()===e.toLowerCase())),i?i.value:this.scale(r)}}let Qp=(()=>{class n{constructor(e,i){this.element=e,this.zone=i,this.visible=new t.vpe,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const e=()=>{if(!this.element)return;const{offsetHeight:i,offsetWidth:a}=this.element.nativeElement;i&&a?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>e(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>e())})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.R0b))},n.\u0275dir=t.lG2({type:n,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),n})();var Jr=(()=>{return(n=Jr||(Jr={})).LEFT_TO_RIGHT="LR",n.RIGHT_TO_LEFT="RL",n.TOP_TO_BOTTOM="TB",n.BOTTOM_TO_TOM="BT",Jr;var n})();function Qr(n){return"string"==typeof n?{id:n,x:0,y:0}:n}function bl(n,r){return"number"==typeof r?n[r]:r}const Cl={dagre:class jp{constructor(){this.defaultSettings={orientation:Jr.LEFT_TO_RIGHT,marginX:20,marginY:20,edgePadding:100,rankPadding:100,nodePadding:50,multigraph:!0,compound:!0},this.settings={}}run(r){this.createDagreGraph(r),Wr.layout(this.dagreGraph),r.edgeLabels=this.dagreGraph._edgeLabels;for(const e in this.dagreGraph._nodes){const i=this.dagreGraph._nodes[e],a=r.nodes.find(s=>s.id===i.id);a.position={x:i.x,y:i.y},a.dimension={width:i.width,height:i.height}}return r}updateEdge(r,e){const i=r.nodes.find(E=>E.id===e.source),a=r.nodes.find(E=>E.id===e.target),s=i.position.y<=a.position.y?-1:1;return e.points=[{x:i.position.x,y:i.position.y-s*(i.dimension.height/2)},{x:a.position.x,y:a.position.y+s*(a.dimension.height/2)}],r}createDagreGraph(r){const e=Object.assign({},this.defaultSettings,this.settings);this.dagreGraph=new Wr.graphlib.Graph({compound:e.compound,multigraph:e.multigraph}),this.dagreGraph.setGraph({rankdir:e.orientation,marginx:e.marginX,marginy:e.marginY,edgesep:e.edgePadding,ranksep:e.rankPadding,nodesep:e.nodePadding,align:e.align,acyclicer:e.acyclicer,ranker:e.ranker,multigraph:e.multigraph,compound:e.compound}),this.dagreGraph.setDefaultEdgeLabel(()=>({})),this.dagreNodes=r.nodes.map(i=>{const a=Object.assign({},i);return a.width=i.dimension.width,a.height=i.dimension.height,a.x=i.position.x,a.y=i.position.y,a}),this.dagreEdges=r.edges.map(i=>{const a=Object.assign({},i);return a.id||(a.id=mr()),a});for(const i of this.dagreNodes)i.width||(i.width=20),i.height||(i.height=30),this.dagreGraph.setNode(i.id,i);for(const i of this.dagreEdges)e.multigraph?this.dagreGraph.setEdge(i.source,i.target,i,i.id):this.dagreGraph.setEdge(i.source,i.target);return this.dagreGraph}},dagreCluster:class qp{constructor(){this.defaultSettings={orientation:Jr.LEFT_TO_RIGHT,marginX:20,marginY:20,edgePadding:100,rankPadding:100,nodePadding:50,multigraph:!0,compound:!0},this.settings={}}run(r){this.createDagreGraph(r),Wr.layout(this.dagreGraph),r.edgeLabels=this.dagreGraph._edgeLabels;const e=i=>{const a=this.dagreGraph._nodes[i.id];return Object.assign(Object.assign({},i),{position:{x:a.x,y:a.y},dimension:{width:a.width,height:a.height}})};return r.clusters=(r.clusters||[]).map(e),r.nodes=r.nodes.map(e),r}updateEdge(r,e){const i=r.nodes.find(E=>E.id===e.source),a=r.nodes.find(E=>E.id===e.target),s=i.position.y<=a.position.y?-1:1;return e.points=[{x:i.position.x,y:i.position.y-s*(i.dimension.height/2)},{x:a.position.x,y:a.position.y+s*(a.dimension.height/2)}],r}createDagreGraph(r){const e=Object.assign({},this.defaultSettings,this.settings);this.dagreGraph=new Wr.graphlib.Graph({compound:e.compound,multigraph:e.multigraph}),this.dagreGraph.setGraph({rankdir:e.orientation,marginx:e.marginX,marginy:e.marginY,edgesep:e.edgePadding,ranksep:e.rankPadding,nodesep:e.nodePadding,align:e.align,acyclicer:e.acyclicer,ranker:e.ranker,multigraph:e.multigraph,compound:e.compound}),this.dagreGraph.setDefaultEdgeLabel(()=>({})),this.dagreNodes=r.nodes.map(i=>{const a=Object.assign({},i);return a.width=i.dimension.width,a.height=i.dimension.height,a.x=i.position.x,a.y=i.position.y,a}),this.dagreClusters=r.clusters||[],this.dagreEdges=r.edges.map(i=>{const a=Object.assign({},i);return a.id||(a.id=mr()),a});for(const i of this.dagreNodes)this.dagreGraph.setNode(i.id,i);for(const i of this.dagreClusters)this.dagreGraph.setNode(i.id,i),i.childNodeIds.forEach(a=>{this.dagreGraph.setParent(a,i.id)});for(const i of this.dagreEdges)e.multigraph?this.dagreGraph.setEdge(i.source,i.target,i,i.id):this.dagreGraph.setEdge(i.source,i.target);return this.dagreGraph}},dagreNodesOnly:class tm{constructor(){this.defaultSettings={orientation:Jr.LEFT_TO_RIGHT,marginX:20,marginY:20,edgePadding:100,rankPadding:100,nodePadding:50,curveDistance:20,multigraph:!0,compound:!0},this.settings={}}run(r){this.createDagreGraph(r),Wr.layout(this.dagreGraph),r.edgeLabels=this.dagreGraph._edgeLabels;for(const e in this.dagreGraph._nodes){const i=this.dagreGraph._nodes[e],a=r.nodes.find(s=>s.id===i.id);a.position={x:i.x,y:i.y},a.dimension={width:i.width,height:i.height}}for(const e of r.edges)this.updateEdge(r,e);return r}updateEdge(r,e){const i=r.nodes.find(Mt=>Mt.id===e.source),a=r.nodes.find(Mt=>Mt.id===e.target),s="BT"===this.settings.orientation||"TB"===this.settings.orientation?"y":"x",d="y"===s?"x":"y",T="y"===s?"height":"width",E=i.position[s]<=a.position[s]?-1:1,F={[d]:i.position[d],[s]:i.position[s]-E*(i.dimension[T]/2)},W={[d]:a.position[d],[s]:a.position[s]+E*(a.dimension[T]/2)},lt=this.settings.curveDistance||this.defaultSettings.curveDistance;e.points=[F,{[d]:F[d],[s]:F[s]-E*lt},{[d]:W[d],[s]:W[s]+E*lt},W];const vt=r.edgeLabels[`${e.source}\x01${e.target}\x01\0`];return vt&&(vt.points=e.points),r}createDagreGraph(r){const e=Object.assign({},this.defaultSettings,this.settings);this.dagreGraph=new Wr.graphlib.Graph({compound:e.compound,multigraph:e.multigraph}),this.dagreGraph.setGraph({rankdir:e.orientation,marginx:e.marginX,marginy:e.marginY,edgesep:e.edgePadding,ranksep:e.rankPadding,nodesep:e.nodePadding,align:e.align,acyclicer:e.acyclicer,ranker:e.ranker,multigraph:e.multigraph,compound:e.compound}),this.dagreGraph.setDefaultEdgeLabel(()=>({})),this.dagreNodes=r.nodes.map(i=>{const a=Object.assign({},i);return a.width=i.dimension.width,a.height=i.dimension.height,a.x=i.position.x,a.y=i.position.y,a}),this.dagreEdges=r.edges.map(i=>{const a=Object.assign({},i);return a.id||(a.id=mr()),a});for(const i of this.dagreNodes)i.width||(i.width=20),i.height||(i.height=30),this.dagreGraph.setNode(i.id,i);for(const i of this.dagreEdges)e.multigraph?this.dagreGraph.setEdge(i.source,i.target,i,i.id):this.dagreGraph.setEdge(i.source,i.target);return this.dagreGraph}},d3ForceDirected:class em{constructor(){this.defaultSettings={force:_l().force("charge",vl().strength(-150)).force("collide",hl(5)),forceLink:gl().id(r=>r.id).distance(()=>100)},this.settings={},this.outputGraph$=new ze.xQ}run(r){return this.inputGraph=r,this.d3Graph={nodes:[...this.inputGraph.nodes.map(e=>Object.assign({},e))],edges:[...this.inputGraph.edges.map(e=>Object.assign({},e))]},this.outputGraph={nodes:[],edges:[],edgeLabels:[]},this.outputGraph$.next(this.outputGraph),this.settings=Object.assign({},this.defaultSettings,this.settings),this.settings.force&&this.settings.force.nodes(this.d3Graph.nodes).force("link",this.settings.forceLink.links(this.d3Graph.edges)).alpha(.5).restart().on("tick",()=>{this.outputGraph$.next(this.d3GraphToOutputGraph(this.d3Graph))}),this.outputGraph$.asObservable()}updateEdge(r,e){const i=Object.assign({},this.defaultSettings,this.settings);return i.force&&i.force.nodes(this.d3Graph.nodes).force("link",i.forceLink.links(this.d3Graph.edges)).alpha(.5).restart().on("tick",()=>{this.outputGraph$.next(this.d3GraphToOutputGraph(this.d3Graph))}),this.outputGraph$.asObservable()}d3GraphToOutputGraph(r){return this.outputGraph.nodes=this.d3Graph.nodes.map(e=>Object.assign(Object.assign({},e),{id:e.id||mr(),position:{x:e.x,y:e.y},dimension:{width:e.dimension&&e.dimension.width||20,height:e.dimension&&e.dimension.height||20},transform:`translate(${e.x-(e.dimension&&e.dimension.width||20)/2||0}, ${e.y-(e.dimension&&e.dimension.height||20)/2||0})`})),this.outputGraph.edges=this.d3Graph.edges.map(e=>Object.assign(Object.assign({},e),{source:Qr(e.source).id,target:Qr(e.target).id,points:[{x:Qr(e.source).x,y:Qr(e.source).y},{x:Qr(e.target).x,y:Qr(e.target).y}]})),this.outputGraph.edgeLabels=this.outputGraph.edges,this.outputGraph}onDragStart(r,e){this.settings.force.alphaTarget(.3).restart();const i=this.d3Graph.nodes.find(a=>a.id===r.id);!i||(this.draggingStart={x:e.x-i.x,y:e.y-i.y},i.fx=e.x-this.draggingStart.x,i.fy=e.y-this.draggingStart.y)}onDrag(r,e){if(!r)return;const i=this.d3Graph.nodes.find(a=>a.id===r.id);!i||(i.fx=e.x-this.draggingStart.x,i.fy=e.y-this.draggingStart.y)}onDragEnd(r,e){if(!r)return;const i=this.d3Graph.nodes.find(a=>a.id===r.id);!i||(this.settings.force.alphaTarget(0),i.fx=void 0,i.fy=void 0)}},colaForceDirected:class nm{constructor(){this.defaultSettings={force:(0,xp.d3adaptor)(Object.assign(Object.assign(Object.assign({},x),u),v)).linkDistance(150).avoidOverlaps(!0),viewDimensions:{width:600,height:600}},this.settings={},this.outputGraph$=new ze.xQ}run(r){return this.inputGraph=r,this.inputGraph.clusters||(this.inputGraph.clusters=[]),this.internalGraph={nodes:[...this.inputGraph.nodes.map(e=>Object.assign(Object.assign({},e),{width:e.dimension?e.dimension.width:20,height:e.dimension?e.dimension.height:20}))],groups:[...this.inputGraph.clusters.map(e=>({padding:5,groups:e.childNodeIds.map(i=>this.inputGraph.clusters.findIndex(a=>a.id===i)).filter(i=>i>=0),leaves:e.childNodeIds.map(i=>this.inputGraph.nodes.findIndex(a=>a.id===i)).filter(i=>i>=0)}))],links:[...this.inputGraph.edges.map(e=>{const i=this.inputGraph.nodes.findIndex(s=>e.source===s.id),a=this.inputGraph.nodes.findIndex(s=>e.target===s.id);if(-1!==i&&-1!==a)return Object.assign(Object.assign({},e),{source:i,target:a})}).filter(e=>!!e)],groupLinks:[...this.inputGraph.edges.map(e=>{const i=this.inputGraph.nodes.findIndex(s=>e.source===s.id),a=this.inputGraph.nodes.findIndex(s=>e.target===s.id);if(!(i>=0&&a>=0))return e}).filter(e=>!!e)]},this.outputGraph={nodes:[],clusters:[],edges:[],edgeLabels:[]},this.outputGraph$.next(this.outputGraph),this.settings=Object.assign({},this.defaultSettings,this.settings),this.settings.force&&(this.settings.force=this.settings.force.nodes(this.internalGraph.nodes).groups(this.internalGraph.groups).links(this.internalGraph.links).alpha(.5).on("tick",()=>{this.settings.onTickListener&&this.settings.onTickListener(this.internalGraph),this.outputGraph$.next(this.internalGraphToOutputGraph(this.internalGraph))}),this.settings.viewDimensions&&(this.settings.force=this.settings.force.size([this.settings.viewDimensions.width,this.settings.viewDimensions.height])),this.settings.forceModifierFn&&(this.settings.force=this.settings.forceModifierFn(this.settings.force)),this.settings.force.start()),this.outputGraph$.asObservable()}updateEdge(r,e){const i=Object.assign({},this.defaultSettings,this.settings);return i.force&&i.force.start(),this.outputGraph$.asObservable()}internalGraphToOutputGraph(r){return this.outputGraph.nodes=r.nodes.map(e=>Object.assign(Object.assign({},e),{id:e.id||mr(),position:{x:e.x,y:e.y},dimension:{width:e.dimension&&e.dimension.width||20,height:e.dimension&&e.dimension.height||20},transform:`translate(${e.x-(e.dimension&&e.dimension.width||20)/2||0}, ${e.y-(e.dimension&&e.dimension.height||20)/2||0})`})),this.outputGraph.edges=r.links.map(e=>{const i=bl(r.nodes,e.source),a=bl(r.nodes,e.target);return Object.assign(Object.assign({},e),{source:i.id,target:a.id,points:[i.bounds.rayIntersection(a.bounds.cx(),a.bounds.cy()),a.bounds.rayIntersection(i.bounds.cx(),i.bounds.cy())]})}).concat(r.groupLinks.map(e=>{const i=r.nodes.find(T=>T.id===e.source),a=r.nodes.find(T=>T.id===e.target),s=i||r.groups.find(T=>T.id===e.source),d=a||r.groups.find(T=>T.id===e.target);return Object.assign(Object.assign({},e),{source:s.id,target:d.id,points:[s.bounds.rayIntersection(d.bounds.cx(),d.bounds.cy()),d.bounds.rayIntersection(s.bounds.cx(),s.bounds.cy())]})})),this.outputGraph.clusters=r.groups.map((e,i)=>Object.assign(Object.assign({},this.inputGraph.clusters[i]),{dimension:{width:e.bounds?e.bounds.width():20,height:e.bounds?e.bounds.height():20},position:{x:e.bounds?e.bounds.x+e.bounds.width()/2:0,y:e.bounds?e.bounds.y+e.bounds.height()/2:0}})),this.outputGraph.edgeLabels=this.outputGraph.edges,this.outputGraph}onDragStart(r,e){const i=this.outputGraph.nodes.findIndex(s=>s.id===r.id),a=this.internalGraph.nodes[i];!a||(this.draggingStart={x:a.x-e.x,y:a.y-e.y},a.fixed=1,this.settings.force.start())}onDrag(r,e){if(!r)return;const i=this.outputGraph.nodes.findIndex(s=>s.id===r.id),a=this.internalGraph.nodes[i];!a||(a.x=this.draggingStart.x+e.x,a.y=this.draggingStart.y+e.y)}onDragEnd(r,e){if(!r)return;const i=this.outputGraph.nodes.findIndex(s=>s.id===r.id),a=this.internalGraph.nodes[i];!a||(a.fixed=0)}}};let wl=(()=>{class n{getLayout(e){if(Cl[e])return new Cl[e];throw new Error(`Unknown layout type '${e}'`)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),im=(()=>{class n{constructor(){this.mouseWheelUp=new t.vpe,this.mouseWheelDown=new t.vpe}onMouseWheelChrome(e){this.mouseWheelFunc(e)}onMouseWheelFirefox(e){this.mouseWheelFunc(e)}onWheel(e){this.mouseWheelFunc(e)}onMouseWheelIE(e){this.mouseWheelFunc(e)}mouseWheelFunc(e){window.event&&(e=window.event);const i=Math.max(-1,Math.min(1,e.wheelDelta||-e.detail||e.deltaY||e.deltaX)),s=e.wheelDelta?i<0:i>0;(e.wheelDelta?i>0:i<0)?this.mouseWheelUp.emit(e):s&&this.mouseWheelDown.emit(e),e.returnValue=!1,e.preventDefault&&e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","mouseWheel",""]],hostBindings:function(e,i){1&e&&t.NdJ("mousewheel",function(s){return i.onMouseWheelChrome(s)})("DOMMouseScroll",function(s){return i.onMouseWheelFirefox(s)})("wheel",function(s){return i.onWheel(s)})("onmousewheel",function(s){return i.onMouseWheelIE(s)})},outputs:{mouseWheelUp:"mouseWheelUp",mouseWheelDown:"mouseWheelDown"}}),n})(),rm=(()=>{class n{constructor(e,i,a,s){this.el=e,this.zone=i,this.cd=a,this.layoutService=s,this.nodes=[],this.clusters=[],this.links=[],this.activeEntries=[],this.draggingEnabled=!0,this.panningEnabled=!0,this.panningAxis=Xr.Both,this.enableZoom=!0,this.zoomSpeed=.1,this.minZoomLevel=.1,this.maxZoomLevel=4,this.autoZoom=!1,this.panOnZoom=!0,this.animate=!1,this.autoCenter=!1,this.enableTrackpadSupport=!1,this.showMiniMap=!1,this.miniMapMaxWidth=100,this.miniMapPosition=$r.UpperRight,this.scheme="cool",this.animations=!0,this.select=new t.vpe,this.activate=new t.vpe,this.deactivate=new t.vpe,this.zoomChange=new t.vpe,this.clickHandler=new t.vpe,this.isMouseMoveCalled=!1,this.graphSubscription=new el.w,this.subscriptions=[],this.isPanning=!1,this.isDragging=!1,this.initialized=!1,this.graphDims={width:0,height:0},this._oldLinks=[],this.oldNodes=new Set,this.oldClusters=new Set,this.transformationMatrix={a:1,c:0,e:0,b:0,d:1,f:0},this._touchLastX=null,this._touchLastY=null,this.minimapScaleCoefficient=3,this.minimapOffsetX=0,this.minimapOffsetY=0,this.isMinimapPanning=!1,this.groupResultsBy=d=>d.label}get zoomLevel(){return this.transformationMatrix.a}set zoomLevel(e){this.zoomTo(Number(e))}get panOffsetX(){return this.transformationMatrix.e}set panOffsetX(e){this.panTo(Number(e),null)}get panOffsetY(){return this.transformationMatrix.f}set panOffsetY(e){this.panTo(null,Number(e))}ngOnInit(){this.update$&&this.subscriptions.push(this.update$.subscribe(()=>{this.update()})),this.center$&&this.subscriptions.push(this.center$.subscribe(()=>{this.center()})),this.zoomToFit$&&this.subscriptions.push(this.zoomToFit$.subscribe(()=>{this.zoomToFit()})),this.panToNode$&&this.subscriptions.push(this.panToNode$.subscribe(e=>{this.panToNodeId(e)})),this.minimapClipPathId=`minimapClip${mr()}`}ngOnChanges(e){this.basicUpdate();const{layoutSettings:a}=e;this.setLayout(this.layout),a&&this.setLayoutSettings(this.layoutSettings),this.update()}setLayout(e){this.initialized=!1,e||(e="dagre"),"string"==typeof e&&(this.layout=this.layoutService.getLayout(e),this.setLayoutSettings(this.layoutSettings))}setLayoutSettings(e){this.layout&&"string"!=typeof this.layout&&(this.layout.settings=e)}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy());for(const e of this.subscriptions)e.unsubscribe();this.subscriptions=null}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new Qp(this.el,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this)),setTimeout(()=>this.update())}update(){this.basicUpdate(),this.curve||(this.curve=$u.beta(1)),this.zone.run(()=>{this.dims=function Jp({width:n,height:r}){let e=n,i=r;return e=Math.max(0,e),i=Math.max(0,i),{width:Math.floor(e),height:Math.floor(i)}}({width:this.width,height:this.height}),this.seriesDomain=this.getSeriesDomain(),this.setColors(),this.createGraph(),this.updateTransform(),this.initialized=!0})}createGraph(){this.graphSubscription.unsubscribe(),this.graphSubscription=new el.w;const e=i=>(i.meta||(i.meta={}),i.id||(i.id=mr()),i.dimension?i.meta.forceDimensions=void 0===i.meta.forceDimensions||i.meta.forceDimensions:(i.dimension={width:this.nodeWidth?this.nodeWidth:30,height:this.nodeHeight?this.nodeHeight:30},i.meta.forceDimensions=!1),i.position={x:0,y:0},i.data=i.data?i.data:{},i);this.graph={nodes:this.nodes.length>0?[...this.nodes].map(e):[],clusters:this.clusters&&this.clusters.length>0?[...this.clusters].map(e):[],edges:this.links.length>0?[...this.links].map(i=>(i.id||(i.id=mr()),i)):[]},requestAnimationFrame(()=>this.draw())}draw(){if(!this.layout||"string"==typeof this.layout)return;this.applyNodeDimensions();const e=this.layout.run(this.graph),i=e instanceof nl.y?e:(0,il.of)(e);this.graphSubscription.add(i.subscribe(a=>{this.graph=a,this.tick()})),0!==this.graph.nodes.length&&i.pipe((0,Df.P)()).subscribe(()=>this.applyNodeDimensions())}tick(){const e=new Set;this.graph.nodes.map(s=>{s.transform=`translate(${s.position.x-s.dimension.width/2||0}, ${s.position.y-s.dimension.height/2||0})`,s.data||(s.data={}),s.data.color=this.colors.getColor(this.groupResultsBy(s)),e.add(s.id)});const i=new Set;(this.graph.clusters||[]).map(s=>{s.transform=`translate(${s.position.x-s.dimension.width/2||0}, ${s.position.y-s.dimension.height/2||0})`,s.data||(s.data={}),s.data.color=this.colors.getColor(this.groupResultsBy(s)),i.add(s.id)}),setTimeout(()=>{this.oldNodes=e,this.oldClusters=i},500);const a=[];for(const s in this.graph.edgeLabels){const d=this.graph.edgeLabels[s],T=s.replace(/[^\w-]*/g,""),E=this.layout&&"string"!=typeof this.layout&&this.layout.settings&&this.layout.settings.multigraph;let F=this._oldLinks.find(E?Rt=>`${Rt.source}${Rt.target}${Rt.id}`===T:Rt=>`${Rt.source}${Rt.target}`===T);const W=this.graph.edges.find(E?Rt=>`${Rt.source}${Rt.target}${Rt.id}`===T:Rt=>`${Rt.source}${Rt.target}`===T);F?F.data&&W&&W.data&&JSON.stringify(F.data)!==JSON.stringify(W.data)&&(F.data=W.data):F=W||d,F.oldLine=F.line;const lt=d.points,st=this.generateLine(lt),vt=Object.assign({},F);vt.line=st,vt.points=lt,this.updateMidpointOnEdge(vt,lt);const Mt=lt[Math.floor(lt.length/2)];Mt&&(vt.textTransform=`translate(${Mt.x||0},${Mt.y||0})`),vt.textAngle=0,vt.oldLine||(vt.oldLine=vt.line),this.calcDominantBaseline(vt),a.push(vt)}this.graph.edges=a,this.graph.edges&&(this._oldLinks=this.graph.edges.map(s=>{const d=Object.assign({},s);return d.oldLine=s.line,d})),this.updateMinimap(),this.autoZoom&&this.zoomToFit(),this.autoCenter&&this.center(),requestAnimationFrame(()=>this.redrawLines()),this.cd.markForCheck()}getMinimapTransform(){switch(this.miniMapPosition){case $r.UpperLeft:return"";case $r.UpperRight:return"translate("+(this.dims.width-this.graphDims.width/this.minimapScaleCoefficient)+",0)";default:return""}}updateGraphDims(){let e=1/0,i=-1/0,a=1/0,s=-1/0;for(let d=0;di?T.position.x+T.dimension.width:i,s=T.position.y+T.dimension.height>s?T.position.y+T.dimension.height:s}e-=100,a-=100,i+=100,s+=100,this.graphDims.width=i-e,this.graphDims.height=s-a,this.minimapOffsetX=e,this.minimapOffsetY=a}updateMinimap(){this.graph.nodes&&this.graph.nodes.length&&(this.updateGraphDims(),this.miniMapMaxWidth&&(this.minimapScaleCoefficient=this.graphDims.width/this.miniMapMaxWidth),this.miniMapMaxHeight&&(this.minimapScaleCoefficient=Math.max(this.minimapScaleCoefficient,this.graphDims.height/this.miniMapMaxHeight)),this.minimapTransform=this.getMinimapTransform())}applyNodeDimensions(){this.nodeElements&&this.nodeElements.length&&this.nodeElements.map(e=>{const i=e.nativeElement,a=this.graph.nodes.find(d=>d.id===i.id);if(!a)return;let s;try{if(s=i.getBBox(),!s.width||!s.height)return}catch(d){return}if(a.dimension.height=this.nodeHeight?a.dimension.height&&a.meta.forceDimensions?a.dimension.height:this.nodeHeight:a.dimension.height&&a.meta.forceDimensions?a.dimension.height:s.height,this.nodeMaxHeight&&(a.dimension.height=Math.max(a.dimension.height,this.nodeMaxHeight)),this.nodeMinHeight&&(a.dimension.height=Math.min(a.dimension.height,this.nodeMinHeight)),this.nodeWidth)a.dimension.width=a.dimension.width&&a.meta.forceDimensions?a.dimension.width:this.nodeWidth;else if(i.getElementsByTagName("text").length){let d;try{for(const T of i.getElementsByTagName("text")){const E=T.getBBox();d?(E.width>d.width&&(d.width=E.width),E.height>d.height&&(d.height=E.height)):d=E}}catch(T){return}a.dimension.width=a.dimension.width&&a.meta.forceDimensions?a.dimension.width:d.width+20}else a.dimension.width=a.dimension.width&&a.meta.forceDimensions?a.dimension.width:s.width;this.nodeMaxWidth&&(a.dimension.width=Math.max(a.dimension.width,this.nodeMaxWidth)),this.nodeMinWidth&&(a.dimension.width=Math.min(a.dimension.width,this.nodeMinWidth))})}redrawLines(e=this.animate){this.linkElements.map(i=>{const a=this.graph.edges.find(s=>s.id===i.nativeElement.id);a&&(Co(i.nativeElement).select(".line").attr("d",a.oldLine).transition().ease(ko).duration(e?500:0).attr("d",a.line),Co(this.el.nativeElement).select(`#${a.id}`).attr("d",a.oldTextPath).transition().ease(ko).duration(e?500:0).attr("d",a.textPath),this.updateMidpointOnEdge(a,a.points))})}calcDominantBaseline(e){const i=e.points[0],a=e.points[e.points.length-1];e.oldTextPath=e.textPath,a.xa.x).y(a=>a.y).curve(this.curve)(e)}onZoom(e,i){if(this.enableTrackpadSupport&&!e.ctrlKey)return void this.pan(-1*e.deltaX,-1*e.deltaY);const a=1+("in"===i?this.zoomSpeed:-this.zoomSpeed),s=this.zoomLevel*a;if(!(s<=this.minZoomLevel||s>=this.maxZoomLevel)&&this.enableZoom)if(!0===this.panOnZoom&&e){const d=e.clientX,T=e.clientY,E=this.el.nativeElement.querySelector("svg"),F=E.querySelector("g.chart"),W=E.createSVGPoint();W.x=d,W.y=T;const lt=W.matrixTransform(F.getScreenCTM().inverse());this.pan(lt.x,lt.y,!0),this.zoom(a),this.pan(-lt.x,-lt.y,!0)}else this.zoom(a)}pan(e,i,a=!1){const s=a?1:this.zoomLevel;this.transformationMatrix=ha(this.transformationMatrix,ol(e/s,i/s)),this.updateTransform()}panTo(e,i){null==e||isNaN(e)||null==i||isNaN(i)||(this.transformationMatrix=ha(this.transformationMatrix,ol((-this.panOffsetX-e*this.zoomLevel+this.dims.width/2)/this.zoomLevel,(-this.panOffsetY-i*this.zoomLevel+this.dims.height/2)/this.zoomLevel)),this.updateTransform())}zoom(e){this.transformationMatrix=ha(this.transformationMatrix,function Rf(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return Pf(r)&&(r=n),{a:n,c:0,e:0,b:0,d:r,f:0}}(e,e)),this.zoomChange.emit(this.zoomLevel),this.updateTransform()}zoomTo(e){this.transformationMatrix.a=isNaN(e)?this.transformationMatrix.a:Number(e),this.transformationMatrix.d=isNaN(e)?this.transformationMatrix.d:Number(e),this.zoomChange.emit(this.zoomLevel),this.updateTransform(),this.update()}onDrag(e){if(!this.draggingEnabled)return;const i=this.draggingNode;this.layout&&"string"!=typeof this.layout&&this.layout.onDrag&&this.layout.onDrag(i,e),i.position.x+=e.movementX/this.zoomLevel,i.position.y+=e.movementY/this.zoomLevel,i.transform=`translate(${i.position.x-i.dimension.width/2}, ${i.position.y-i.dimension.height/2})`;for(const d of this.graph.edges)if((d.target===i.id||d.source===i.id||d.target.id===i.id||d.source.id===i.id)&&this.layout&&"string"!=typeof this.layout){const T=this.layout.updateEdge(this.graph,d),E=T instanceof nl.y?T:(0,il.of)(T);this.graphSubscription.add(E.subscribe(F=>{this.graph=F,this.redrawEdge(d)}))}this.redrawLines(!1),this.updateMinimap()}redrawEdge(e){const i=this.generateLine(e.points);this.calcDominantBaseline(e),e.oldLine=e.line,e.line=i}updateTransform(){this.transform=function Bf(n){return function sl(n){return"matrix("+n.a+","+n.b+","+n.c+","+n.d+","+n.e+","+n.f+")"}(n)}(function Vf(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e10;return{a:Math.round(n.a*r)/r,b:Math.round(n.b*r)/r,c:Math.round(n.c*r)/r,d:Math.round(n.d*r)/r,e:Math.round(n.e*r)/r,f:Math.round(n.f*r)/r}}(this.transformationMatrix,100))}onClick(e){this.select.emit(e)}onActivate(e){this.activeEntries.indexOf(e)>-1||(this.activeEntries=[e,...this.activeEntries],this.activate.emit({value:e,entries:this.activeEntries}))}onDeactivate(e){const i=this.activeEntries.indexOf(e);this.activeEntries.splice(i,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:e,entries:this.activeEntries})}getSeriesDomain(){return this.nodes.map(e=>this.groupResultsBy(e)).reduce((e,i)=>-1!==e.indexOf(i)?e:e.concat([i]),[]).sort()}trackLinkBy(e,i){return i.id}trackNodeBy(e,i){return i.id}setColors(){this.colors=new $p(this.scheme,this.seriesDomain,this.customColors)}onMouseMove(e){this.isMouseMoveCalled=!0,(this.isPanning||this.isMinimapPanning)&&this.panningEnabled?this.panWithConstraints(this.panningAxis,e):this.isDragging&&this.draggingEnabled&&this.onDrag(e)}onMouseDown(e){this.isMouseMoveCalled=!1}graphClick(e){this.isMouseMoveCalled||this.clickHandler.emit(e)}onTouchStart(e){this._touchLastX=e.changedTouches[0].clientX,this._touchLastY=e.changedTouches[0].clientY,this.isPanning=!0}onTouchMove(e){if(this.isPanning&&this.panningEnabled){const i=e.changedTouches[0].clientX,a=e.changedTouches[0].clientY,s=i-this._touchLastX,d=a-this._touchLastY;this._touchLastX=i,this._touchLastY=a,this.pan(s,d)}}onTouchEnd(e){this.isPanning=!1}onMouseUp(e){this.isDragging=!1,this.isPanning=!1,this.isMinimapPanning=!1,this.layout&&"string"!=typeof this.layout&&this.layout.onDragEnd&&this.layout.onDragEnd(this.draggingNode,e)}onNodeMouseDown(e,i){!this.draggingEnabled||(this.isDragging=!0,this.draggingNode=i,this.layout&&"string"!=typeof this.layout&&this.layout.onDragStart&&this.layout.onDragStart(i,e))}onMinimapDragMouseDown(){this.isMinimapPanning=!0}onMinimapPanTo(e){this.panTo((e.offsetX-(this.dims.width-(this.graphDims.width+this.minimapOffsetX)/this.minimapScaleCoefficient))*this.minimapScaleCoefficient,(e.offsetY+this.minimapOffsetY/this.minimapScaleCoefficient)*this.minimapScaleCoefficient),this.isMinimapPanning=!0}center(){this.panTo(this.graphDims.width/2,this.graphDims.height/2)}zoomToFit(){let a=Math.min(this.dims.height/this.graphDims.height,this.dims.width/this.graphDims.width,1);athis.maxZoomLevel&&(a=this.maxZoomLevel),a!==this.zoomLevel&&(this.zoomLevel=a,this.updateTransform(),this.zoomChange.emit(this.zoomLevel))}panToNodeId(e){const i=this.graph.nodes.find(a=>a.id===e);!i||this.panTo(i.position.x,i.position.y)}panWithConstraints(e,i){let a=i.movementX,s=i.movementY;switch(this.isMinimapPanning&&(a=-this.minimapScaleCoefficient*a*this.zoomLevel,s=-this.minimapScaleCoefficient*s*this.zoomLevel),e){case Xr.Horizontal:this.pan(a,0);break;case Xr.Vertical:this.pan(0,s);break;default:this.pan(a,s)}}updateMidpointOnEdge(e,i){if(e&&i)if(i.length%2==1)e.midPoint=i[Math.floor(i.length/2)];else{const a=i[i.length/2],s=i[i.length/2-1];e.midPoint={x:(a.x+s.x)/2,y:(a.y+s.y)/2}}}basicUpdate(){if(this.view)this.width=this.view[0],this.height=this.view[1];else{const e=this.getContainerDims();e&&(this.width=e.width,this.height=e.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let e,i;const a=this.el.nativeElement;if(null!==a.parentNode){const s=a.parentNode.getBoundingClientRect();e=s.width,i=s.height}return e&&i?{width:e,height:i}:null}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){const i=(0,rl.R)(window,"resize").pipe((0,fe.b)(200)).subscribe(a=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=i}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(wl))},n.\u0275cmp=t.Xpm({type:n,selectors:[["ngx-graph"]],contentQueries:function(e,i,a){if(1&e&&(t.Suo(a,Tp,5),t.Suo(a,bp,5),t.Suo(a,Cp,5),t.Suo(a,wp,5),t.Suo(a,Ap,5)),2&e){let s;t.iGM(s=t.CRH())&&(i.linkTemplate=s.first),t.iGM(s=t.CRH())&&(i.nodeTemplate=s.first),t.iGM(s=t.CRH())&&(i.clusterTemplate=s.first),t.iGM(s=t.CRH())&&(i.defsTemplate=s.first),t.iGM(s=t.CRH())&&(i.miniMapNodeTemplate=s.first)}},viewQuery:function(e,i){if(1&e&&(t.Gf(Ep,5),t.Gf(Sp,5)),2&e){let a;t.iGM(a=t.CRH())&&(i.nodeElements=a),t.iGM(a=t.CRH())&&(i.linkElements=a)}},hostBindings:function(e,i){1&e&&t.NdJ("mousemove",function(s){return i.onMouseMove(s)},!1,t.evT)("mousedown",function(s){return i.onMouseDown(s)},!1,t.evT)("click",function(s){return i.graphClick(s)},!1,t.evT)("touchmove",function(s){return i.onTouchMove(s)},!1,t.evT)("mouseup",function(s){return i.onMouseUp(s)},!1,t.evT)},inputs:{nodes:"nodes",clusters:"clusters",links:"links",activeEntries:"activeEntries",curve:"curve",draggingEnabled:"draggingEnabled",nodeHeight:"nodeHeight",nodeMaxHeight:"nodeMaxHeight",nodeMinHeight:"nodeMinHeight",nodeWidth:"nodeWidth",nodeMinWidth:"nodeMinWidth",nodeMaxWidth:"nodeMaxWidth",panningEnabled:"panningEnabled",panningAxis:"panningAxis",enableZoom:"enableZoom",zoomSpeed:"zoomSpeed",minZoomLevel:"minZoomLevel",maxZoomLevel:"maxZoomLevel",autoZoom:"autoZoom",panOnZoom:"panOnZoom",animate:"animate",autoCenter:"autoCenter",update$:"update$",center$:"center$",zoomToFit$:"zoomToFit$",panToNode$:"panToNode$",layout:"layout",layoutSettings:"layoutSettings",enableTrackpadSupport:"enableTrackpadSupport",showMiniMap:"showMiniMap",miniMapMaxWidth:"miniMapMaxWidth",miniMapMaxHeight:"miniMapMaxHeight",miniMapPosition:"miniMapPosition",view:"view",scheme:"scheme",customColors:"customColors",animations:"animations",groupResultsBy:"groupResultsBy",zoomLevel:"zoomLevel",panOffsetX:"panOffsetX",panOffsetY:"panOffsetY"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",zoomChange:"zoomChange",clickHandler:"clickHandler"},features:[t.TTD],ngContentSelectors:Yp,decls:6,vars:11,consts:[["mouseWheel","",1,"ngx-charts-outer",3,"mouseWheelUp","mouseWheelDown"],[1,"ngx-charts"],["class","graph chart",3,"touchstart","touchend",4,"ngIf"],["class","minimap",4,"ngIf"],[1,"graph","chart",3,"touchstart","touchend"],[3,"ngTemplateOutlet",4,"ngIf"],["class","text-path",4,"ngFor","ngForOf"],[1,"panning-rect",3,"mousedown"],[1,"clusters"],["class","node-group",3,"old-node","id","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"links"],["class","link-group",3,"id",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nodes"],["class","node-group",3,"old-node","id","click","mousedown",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],[1,"text-path"],[1,"node-group",3,"id","click"],["clusterElement",""],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["class","node cluster",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"node","cluster"],["alignment-baseline","central"],[1,"link-group",3,"id"],["linkElement",""],["class","edge",4,"ngIf"],[1,"edge"],[1,"node-group",3,"id","click","mousedown"],["nodeElement",""],["r","10",4,"ngIf"],["r","10"],[1,"minimap"],[1,"minimap-background",3,"mousedown"],[1,"minimap-nodes"],["class","node-group",3,"old-node","id",4,"ngFor","ngForOf","ngForTrackBy"],[1,"minimap-drag",3,"mousedown"],[1,"node-group",3,"id"]],template:function(e,i){1&e&&(t.F$t(),t.TgZ(0,"div",0),t.NdJ("mouseWheelUp",function(s){return i.onZoom(s,"in")})("mouseWheelDown",function(s){return i.onZoom(s,"out")}),t.O4$(),t.TgZ(1,"svg",1),t.YNc(2,Bp,12,12,"g",2),t.TgZ(3,"clipPath"),t._UZ(4,"rect"),t.qZA(),t.YNc(5,Hp,6,15,"g",3),t.qZA(),t.qZA()),2&e&&(t.Udp("width",i.width,"px"),t.Q6J("@animationState","active")("@.disabled",!i.animations),t.xp6(1),t.uIk("width",i.width)("height",i.height),t.xp6(1),t.Q6J("ngIf",i.initialized&&i.graph),t.xp6(1),t.uIk("id",i.minimapClipPathId),t.xp6(1),t.uIk("width",i.graphDims.width/i.minimapScaleCoefficient)("height",i.graphDims.height/i.minimapScaleCoefficient),t.xp6(1),t.Q6J("ngIf",i.showMiniMap))},directives:[im,_.O5,_.tP,_.sg],styles:[".minimap .minimap-background{fill:#0000001a}.minimap .minimap-drag{fill:#0003;stroke:#fff;stroke-width:1px;stroke-dasharray:2px;stroke-dashoffset:2px;cursor:pointer}.minimap .minimap-drag.panning{fill:#0000004d}.minimap .minimap-nodes{opacity:.5;pointer-events:none}.graph{-webkit-user-select:none;user-select:none}.graph .edge{stroke:#666;fill:none}.graph .edge .edge-label{stroke:none;font-size:12px;fill:#251e1e}.graph .panning-rect{fill:#0000;cursor:move}.graph .node-group.old-node{transition:transform .5s ease-in-out}.graph .node-group .node:focus{outline:none}.graph .cluster rect{opacity:.2}\n"],encapsulation:2,data:{animation:[(0,qe.X$)("animationState",[(0,qe.eR)(":enter",[(0,qe.oB)({opacity:0}),(0,qe.jt)("500ms 100ms",(0,qe.oB)({opacity:1}))])])]},changeDetection:0}),(0,Ie.gn)([Xp(500)],n.prototype,"updateMinimap",null),n})(),am=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[wl],imports:[[_.ez]]}),n})(),sm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.ez],am]}),n})();var Al=o(47429);function As(n,r,e){n.prototype=r.prototype=e,e.constructor=n}function El(n,r){var e=Object.create(n.prototype);for(var i in r)e[i]=r[i];return e}function fa(){}o(52016);var Ga=1/.7,jr="\\s*([+-]?\\d+)\\s*",ma="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",sr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",cm=/^#([0-9a-f]{3,8})$/,um=new RegExp("^rgb\\("+[jr,jr,jr]+"\\)$"),hm=new RegExp("^rgb\\("+[sr,sr,sr]+"\\)$"),dm=new RegExp("^rgba\\("+[jr,jr,jr,ma]+"\\)$"),fm=new RegExp("^rgba\\("+[sr,sr,sr,ma]+"\\)$"),pm=new RegExp("^hsl\\("+[ma,sr,sr]+"\\)$"),mm=new RegExp("^hsla\\("+[ma,sr,sr,ma]+"\\)$"),Sl={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Dl(){return this.rgb().formatHex()}function Ll(){return this.rgb().formatRgb()}function Fr(n){var r,e;return n=(n+"").trim().toLowerCase(),(r=cm.exec(n))?(e=r[1].length,r=parseInt(r[1],16),6===e?kl(r):3===e?new Wi(r>>8&15|r>>4&240,r>>4&15|240&r,(15&r)<<4|15&r,1):8===e?Va(r>>24&255,r>>16&255,r>>8&255,(255&r)/255):4===e?Va(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|240&r,((15&r)<<4|15&r)/255):null):(r=um.exec(n))?new Wi(r[1],r[2],r[3],1):(r=hm.exec(n))?new Wi(255*r[1]/100,255*r[2]/100,255*r[3]/100,1):(r=dm.exec(n))?Va(r[1],r[2],r[3],r[4]):(r=fm.exec(n))?Va(255*r[1]/100,255*r[2]/100,255*r[3]/100,r[4]):(r=pm.exec(n))?Ol(r[1],r[2]/100,r[3]/100,1):(r=mm.exec(n))?Ol(r[1],r[2]/100,r[3]/100,r[4]):Sl.hasOwnProperty(n)?kl(Sl[n]):"transparent"===n?new Wi(NaN,NaN,NaN,0):null}function kl(n){return new Wi(n>>16&255,n>>8&255,255&n,1)}function Va(n,r,e,i){return i<=0&&(n=r=e=NaN),new Wi(n,r,e,i)}function _m(n){return n instanceof fa||(n=Fr(n)),n?new Wi((n=n.rgb()).r,n.g,n.b,n.opacity):new Wi}function za(n,r,e,i){return 1===arguments.length?_m(n):new Wi(n,r,e,null==i?1:i)}function Wi(n,r,e,i){this.r=+n,this.g=+r,this.b=+e,this.opacity=+i}function Il(){return"#"+Es(this.r)+Es(this.g)+Es(this.b)}function Ml(){var n=this.opacity;return(1===(n=isNaN(n)?1:Math.max(0,Math.min(1,n)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===n?")":", "+n+")")}function Es(n){return((n=Math.max(0,Math.min(255,Math.round(n)||0)))<16?"0":"")+n.toString(16)}function Ol(n,r,e,i){return i<=0?n=r=e=NaN:e<=0||e>=1?n=r=NaN:r<=0&&(n=NaN),new or(n,r,e,i)}function Nl(n){if(n instanceof or)return new or(n.h,n.s,n.l,n.opacity);if(n instanceof fa||(n=Fr(n)),!n)return new or;if(n instanceof or)return n;var r=(n=n.rgb()).r/255,e=n.g/255,i=n.b/255,a=Math.min(r,e,i),s=Math.max(r,e,i),d=NaN,T=s-a,E=(s+a)/2;return T?(d=r===s?(e-i)/T+6*(e0&&E<1?0:d,new or(d,T,E,n.opacity)}function or(n,r,e,i){this.h=+n,this.s=+r,this.l=+e,this.opacity=+i}function Ss(n,r,e){return 255*(n<60?r+(e-r)*n/60:n<180?e:n<240?r+(e-r)*(240-n)/60:r)}function Fl(n,r,e,i,a){var s=n*n,d=s*n;return((1-3*n+3*s-d)*r+(4-6*s+3*d)*e+(1+3*n+3*s-3*d)*i+d*a)/6}As(fa,Fr,{copy:function(n){return Object.assign(new this.constructor,this,n)},displayable:function(){return this.rgb().displayable()},hex:Dl,formatHex:Dl,formatHsl:function gm(){return Nl(this).formatHsl()},formatRgb:Ll,toString:Ll}),As(Wi,za,El(fa,{brighter:function(n){return n=null==n?Ga:Math.pow(Ga,n),new Wi(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new Wi(this.r*n,this.g*n,this.b*n,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Il,formatHex:Il,formatRgb:Ml,toString:Ml})),As(or,function vm(n,r,e,i){return 1===arguments.length?Nl(n):new or(n,r,e,null==i?1:i)},El(fa,{brighter:function(n){return n=null==n?Ga:Math.pow(Ga,n),new or(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new or(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=this.h%360+360*(this.h<0),r=isNaN(n)||isNaN(this.s)?0:this.s,e=this.l,i=e+(e<.5?e:1-e)*r,a=2*e-i;return new Wi(Ss(n>=240?n-240:n+120,a,i),Ss(n,a,i),Ss(n<120?n+240:n-120,a,i),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var n=this.opacity;return(1===(n=isNaN(n)?1:Math.max(0,Math.min(1,n)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===n?")":", "+n+")")}}));const Ds=n=>()=>n;function Rl(n,r){var e=r-n;return e?function Pl(n,r){return function(e){return n+e*r}}(n,e):Ds(isNaN(n)?r:n)}const Ha=function n(r){var e=function bm(n){return 1==(n=+n)?Rl:function(r,e){return e-r?function Tm(n,r,e){return n=Math.pow(n,e),r=Math.pow(r,e)-n,e=1/e,function(i){return Math.pow(n+i*r,e)}}(r,e,n):Ds(isNaN(r)?e:r)}}(r);function i(a,s){var d=e((a=za(a)).r,(s=za(s)).r),T=e(a.g,s.g),E=e(a.b,s.b),F=Rl(a.opacity,s.opacity);return function(W){return a.r=d(W),a.g=T(W),a.b=E(W),a.opacity=F(W),a+""}}return i.gamma=n,i}(1);function Zl(n){return function(r){var d,T,e=r.length,i=new Array(e),a=new Array(e),s=new Array(e);for(d=0;d=1?(e=1,r-1):Math.floor(e*r),a=n[i],s=n[i+1];return Fl((e-i/r)*r,i>0?n[i-1]:2*a-s,a,s,ie&&(s=r.slice(e,s),T[d]?T[d]+=s:T[++d]=s),(i=i[0])===(a=a[0])?T[d]?T[d]+=a:T[++d]=a:(T[++d]=null,E.push({i:d,x:lr(i,a)})),e=ks.lastIndex;return e0)throw new Error("too late; already scheduled");return e}function cr(n,r){var e=rr(n,r);if(e.state>3)throw new Error("too late; already running");return e}function rr(n,r){var e=n.__transition;if(!e||!(e=e[r]))throw new Error("transition not found");return e}var $a,Yl=180/Math.PI,Ps={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Wl(n,r,e,i,a,s){var d,T,E;return(d=Math.sqrt(n*n+r*r))&&(n/=d,r/=d),(E=n*e+r*i)&&(e-=n*E,i-=r*E),(T=Math.sqrt(e*e+i*i))&&(e/=T,i/=T,E/=T),n*i180?W+=360:W-F>180&&(F+=360),st.push({i:lt.push(a(lt)+"rotate(",null,i)-2,x:lr(F,W)})):W&<.push(a(lt)+"rotate("+W+i)}(F.rotate,W.rotate,lt,st),function T(F,W,lt,st){F!==W?st.push({i:lt.push(a(lt)+"skewX(",null,i)-2,x:lr(F,W)}):W&<.push(a(lt)+"skewX("+W+i)}(F.skewX,W.skewX,lt,st),function E(F,W,lt,st,vt,Mt){if(F!==lt||W!==st){var Rt=vt.push(a(vt)+"scale(",null,",",null,")");Mt.push({i:Rt-4,x:lr(F,lt)},{i:Rt-2,x:lr(W,st)})}else(1!==lt||1!==st)&&vt.push(a(vt)+"scale("+lt+","+st+")")}(F.scaleX,F.scaleY,W.scaleX,W.scaleY,lt,st),F=W=null,function(vt){for(var bt,Mt=-1,Rt=st.length;++Mt=0&&(r=r.slice(0,e)),!r||"start"===r})}(r)?Ns:cr;return function(){var d=s(this,n),T=d.on;T!==i&&(a=(i=T).copy()).on(r,e),d.on=a}}var gg=o(29742),vg=o(32037),yg=ga.ZP.prototype.constructor,_a=o(24476);function Ql(n){return function(){this.style.removeProperty(n)}}function Sg(n,r,e){return function(i){this.style.setProperty(n,r.call(this,i),e)}}function Dg(n,r,e){var i,a;function s(){var d=r.apply(this,arguments);return d!==a&&(i=(a=d)&&Sg(n,d,e)),i}return s._value=r,s}function Og(n){return function(r){this.textContent=n.call(this,r)}}function Ng(n){var r,e;function i(){var a=n.apply(this,arguments);return a!==e&&(r=(e=a)&&Og(a)),r}return i._value=n,i}var Zg=0;function gr(n,r,e,i){this._groups=n,this._parents=r,this._name=e,this._id=i}function jl(){return++Zg}var Pr=ga.ZP.prototype;gr.prototype=function Bg(n){return(0,ga.ZP)().transition(n)}.prototype={constructor:gr,select:function _g(n){var r=this._name,e=this._id;"function"!=typeof n&&(n=(0,gg.Z)(n));for(var i=this._groups,a=i.length,s=new Array(a),d=0;d2&&i.state<5,i.state=6,i.timer.stop(),i.on.call(a?"interrupt":"cancel",n,n.__data__,i.index,i.group),delete e[d]):s=!1;s&&delete n.__transition}}(this,n)})},ga.ZP.prototype.transition=function Vg(n){var r,e;n instanceof gr?(r=n._id,n=n._name):(r=jl(),(e=Ug).time=(0,er.zO)(),n=null==n?null:n+"");for(var i=this._groups,a=i.length,s=0;sr?1:n>=r?0:NaN}function Hs(n){let r=n,e=n;function i(d,T,E,F){for(null==E&&(E=0),null==F&&(F=d.length);E>>1;e(d[W],T)<0?E=W+1:F=W}return E}return 1===n.length&&(r=(d,T)=>n(d)-T,e=function t_(n){return(r,e)=>ic(n(r),e)}(n)),{left:i,center:function s(d,T,E,F){null==E&&(E=0),null==F&&(F=d.length);const W=i(d,T,E,F-1);return W>E&&r(d[W-1],T)>-r(d[W],T)?W-1:W},right:function a(d,T,E,F){for(null==E&&(E=0),null==F&&(F=d.length);E>>1;e(d[W],T)>0?F=W:E=W+1}return E}}}["w","e"].map(va),["n","s"].map(va),["n","w","e","s","nw","ne","sw","se"].map(va);var Ys=Math.sqrt(50),Ws=Math.sqrt(10),Xs=Math.sqrt(2);function $s(n,r,e){var i=Math.abs(r-n)/Math.max(0,e),a=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),s=i/a;return s>=Ys?a*=10:s>=Ws?a*=5:s>=Xs&&(a*=2),r0))return E;do{E.push(F=new Date(+s)),r(s,T),n(s)}while(F=d)for(;n(d),!s(d);)d.setTime(d-1)},function(d,T){if(d>=d)if(T<0)for(;++T<=0;)for(;r(d,-1),!s(d););else for(;--T>=0;)for(;r(d,1),!s(d););})},e&&(a.count=function(s,d){return js.setTime(+s),qs.setTime(+d),n(js),n(qs),Math.floor(e(js,qs))},a.every=function(s){return s=Math.floor(s),isFinite(s)&&s>0?s>1?a.filter(i?function(d){return i(d)%s==0}:function(d){return a.count(0,d)%s==0}):a:null}),a}var ja=Ei(function(){},function(n,r){n.setTime(+n+r)},function(n,r){return r-n});ja.every=function(n){return n=Math.floor(n),isFinite(n)&&n>0?n>1?Ei(function(r){r.setTime(Math.floor(r/n)*n)},function(r,e){r.setTime(+r+e*n)},function(r,e){return(e-r)/n}):ja:null};const n_=ja;const xa=Ei(function(n){n.setTime(n-n.getMilliseconds())},function(n,r){n.setTime(+n+r*vr)},function(n,r){return(r-n)/vr},function(n){return n.getUTCSeconds()});const lc=Ei(function(n){n.setTime(n-n.getMilliseconds()-n.getSeconds()*vr)},function(n,r){n.setTime(+n+r*Qi)},function(n,r){return(r-n)/Qi},function(n){return n.getMinutes()});const uc=Ei(function(n){n.setTime(n-n.getMilliseconds()-n.getSeconds()*vr-n.getMinutes()*Qi)},function(n,r){n.setTime(+n+r*xr)},function(n,r){return(r-n)/xr},function(n){return n.getHours()});const dc=Ei(n=>n.setHours(0,0,0,0),(n,r)=>n.setDate(n.getDate()+r),(n,r)=>(r-n-(r.getTimezoneOffset()-n.getTimezoneOffset())*Qi)/Rr,n=>n.getDate()-1);function Zr(n){return Ei(function(r){r.setDate(r.getDate()-(r.getDay()+7-n)%7),r.setHours(0,0,0,0)},function(r,e){r.setDate(r.getDate()+7*e)},function(r,e){return(e-r-(e.getTimezoneOffset()-r.getTimezoneOffset())*Qi)/Js})}var Ks=Zr(0);const pc=(Zr(1),Zr(2),Zr(3),Zr(4),Zr(5),Zr(6),Ei(function(n){n.setDate(1),n.setHours(0,0,0,0)},function(n,r){n.setMonth(n.getMonth()+r)},function(n,r){return r.getMonth()-n.getMonth()+12*(r.getFullYear()-n.getFullYear())},function(n){return n.getMonth()}));var to=Ei(function(n){n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,r){n.setFullYear(n.getFullYear()+r)},function(n,r){return r.getFullYear()-n.getFullYear()},function(n){return n.getFullYear()});to.every=function(n){return isFinite(n=Math.floor(n))&&n>0?Ei(function(r){r.setFullYear(Math.floor(r.getFullYear()/n)*n),r.setMonth(0,1),r.setHours(0,0,0,0)},function(r,e){r.setFullYear(r.getFullYear()+e*n)}):null};const mc=to;const c_=Ei(function(n){n.setUTCSeconds(0,0)},function(n,r){n.setTime(+n+r*Qi)},function(n,r){return(r-n)/Qi},function(n){return n.getUTCMinutes()});const u_=Ei(function(n){n.setUTCMinutes(0,0,0)},function(n,r){n.setTime(+n+r*xr)},function(n,r){return(r-n)/xr},function(n){return n.getUTCHours()});const h_=Ei(function(n){n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCDate(n.getUTCDate()+r)},function(n,r){return(r-n)/Rr},function(n){return n.getUTCDate()-1});function Br(n){return Ei(function(r){r.setUTCDate(r.getUTCDate()-(r.getUTCDay()+7-n)%7),r.setUTCHours(0,0,0,0)},function(r,e){r.setUTCDate(r.getUTCDate()+7*e)},function(r,e){return(e-r)/Js})}var xc=Br(0);const v_=(Br(1),Br(2),Br(3),Br(4),Br(5),Br(6),Ei(function(n){n.setUTCDate(1),n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCMonth(n.getUTCMonth()+r)},function(n,r){return r.getUTCMonth()-n.getUTCMonth()+12*(r.getUTCFullYear()-n.getUTCFullYear())},function(n){return n.getUTCMonth()}));var eo=Ei(function(n){n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCFullYear(n.getUTCFullYear()+r)},function(n,r){return r.getUTCFullYear()-n.getUTCFullYear()},function(n){return n.getUTCFullYear()});eo.every=function(n){return isFinite(n=Math.floor(n))&&n>0?Ei(function(r){r.setUTCFullYear(Math.floor(r.getUTCFullYear()/n)*n),r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},function(r,e){r.setUTCFullYear(r.getUTCFullYear()+e*n)}):null};const x_=eo;function Tc(n,r,e,i,a,s){const d=[[xa,1,vr],[xa,5,5e3],[xa,15,15e3],[xa,30,3e4],[s,1,Qi],[s,5,5*Qi],[s,15,15*Qi],[s,30,30*Qi],[a,1,xr],[a,3,3*xr],[a,6,6*xr],[a,12,12*xr],[i,1,Rr],[i,2,2*Rr],[e,1,Js],[r,1,ac],[r,3,3*ac],[n,1,Qs]];function E(F,W,lt){const st=Math.abs(W-F)/lt,vt=Hs(([,,bt])=>bt).right(d,st);if(vt===d.length)return n.every($s(F/Qs,W/Qs,lt));if(0===vt)return n_.every(Math.max($s(F,W,lt),1));const[Mt,Rt]=d[st/d[vt-1][2]0))return E;do{E.push(F=new Date(+s)),r(s,T),n(s)}while(F=d)for(;n(d),!s(d);)d.setTime(d-1)},function(d,T){if(d>=d)if(T<0)for(;++T<=0;)for(;r(d,-1),!s(d););else for(;--T>=0;)for(;r(d,1),!s(d););})},e&&(a.count=function(s,d){return no.setTime(+s),io.setTime(+d),n(no),n(io),Math.floor(e(no,io))},a.every=function(s){return s=Math.floor(s),isFinite(s)&&s>0?s>1?a.filter(i?function(d){return i(d)%s==0}:function(d){return a.count(0,d)%s==0}):a:null}),a}var wc=6048e5;function Ur(n){return yr(function(r){r.setUTCDate(r.getUTCDate()-(r.getUTCDay()+7-n)%7),r.setUTCHours(0,0,0,0)},function(r,e){r.setUTCDate(r.getUTCDate()+7*e)},function(r,e){return(e-r)/wc})}var Ac=Ur(0),qa=Ur(1),Ka=(Ur(2),Ur(3),Ur(4));const Sc=(Ur(5),Ur(6),yr(function(n){n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCDate(n.getUTCDate()+r)},function(n,r){return(r-n)/864e5},function(n){return n.getUTCDate()-1}));function Gr(n){return yr(function(r){r.setDate(r.getDate()-(r.getDay()+7-n)%7),r.setHours(0,0,0,0)},function(r,e){r.setDate(r.getDate()+7*e)},function(r,e){return(e-r-6e4*(e.getTimezoneOffset()-r.getTimezoneOffset()))/wc})}var Dc=Gr(0),ts=Gr(1),es=(Gr(2),Gr(3),Gr(4));const kc=(Gr(5),Gr(6),yr(function(n){n.setHours(0,0,0,0)},function(n,r){n.setDate(n.getDate()+r)},function(n,r){return(r-n-6e4*(r.getTimezoneOffset()-n.getTimezoneOffset()))/864e5},function(n){return n.getDate()-1}));var ro=yr(function(n){n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,r){n.setFullYear(n.getFullYear()+r)},function(n,r){return r.getFullYear()-n.getFullYear()},function(n){return n.getFullYear()});ro.every=function(n){return isFinite(n=Math.floor(n))&&n>0?yr(function(r){r.setFullYear(Math.floor(r.getFullYear()/n)*n),r.setMonth(0,1),r.setHours(0,0,0,0)},function(r,e){r.setFullYear(r.getFullYear()+e*n)}):null};const ya=ro;var ao=yr(function(n){n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCFullYear(n.getUTCFullYear()+r)},function(n,r){return r.getUTCFullYear()-n.getUTCFullYear()},function(n){return n.getUTCFullYear()});ao.every=function(n){return isFinite(n=Math.floor(n))&&n>0?yr(function(r){r.setUTCFullYear(Math.floor(r.getUTCFullYear()/n)*n),r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},function(r,e){r.setUTCFullYear(r.getUTCFullYear()+e*n)}):null};const Ta=ao;function so(n){if(0<=n.y&&n.y<100){var r=new Date(-1,n.m,n.d,n.H,n.M,n.S,n.L);return r.setFullYear(n.y),r}return new Date(n.y,n.m,n.d,n.H,n.M,n.S,n.L)}function oo(n){if(0<=n.y&&n.y<100){var r=new Date(Date.UTC(-1,n.m,n.d,n.H,n.M,n.S,n.L));return r.setUTCFullYear(n.y),r}return new Date(Date.UTC(n.y,n.m,n.d,n.H,n.M,n.S,n.L))}function ba(n,r,e){return{y:n,m:r,d:e,H:0,M:0,S:0,L:0}}var Ic={"-":"",_:" ",0:"0"},Si=/^\s*\d+/,I_=/^%/,M_=/[\\^$*+?|[\]().{}]/g;function Gn(n,r,e){var i=n<0?"-":"",a=(i?-n:n)+"",s=a.length;return i+(s68?1900:2e3),e+i[0].length):-1}function G_(n,r,e){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(r.slice(e,e+6));return i?(n.Z=i[1]?0:-(i[2]+(i[3]||"00")),e+i[0].length):-1}function V_(n,r,e){var i=Si.exec(r.slice(e,e+1));return i?(n.q=3*i[0]-3,e+i[0].length):-1}function z_(n,r,e){var i=Si.exec(r.slice(e,e+2));return i?(n.m=i[0]-1,e+i[0].length):-1}function Mc(n,r,e){var i=Si.exec(r.slice(e,e+2));return i?(n.d=+i[0],e+i[0].length):-1}function H_(n,r,e){var i=Si.exec(r.slice(e,e+3));return i?(n.m=0,n.d=+i[0],e+i[0].length):-1}function Oc(n,r,e){var i=Si.exec(r.slice(e,e+2));return i?(n.H=+i[0],e+i[0].length):-1}function Y_(n,r,e){var i=Si.exec(r.slice(e,e+2));return i?(n.M=+i[0],e+i[0].length):-1}function W_(n,r,e){var i=Si.exec(r.slice(e,e+2));return i?(n.S=+i[0],e+i[0].length):-1}function X_(n,r,e){var i=Si.exec(r.slice(e,e+3));return i?(n.L=+i[0],e+i[0].length):-1}function $_(n,r,e){var i=Si.exec(r.slice(e,e+6));return i?(n.L=Math.floor(i[0]/1e3),e+i[0].length):-1}function J_(n,r,e){var i=I_.exec(r.slice(e,e+1));return i?e+i[0].length:-1}function Q_(n,r,e){var i=Si.exec(r.slice(e));return i?(n.Q=+i[0],e+i[0].length):-1}function j_(n,r,e){var i=Si.exec(r.slice(e));return i?(n.s=+i[0],e+i[0].length):-1}function Nc(n,r){return Gn(n.getDate(),r,2)}function q_(n,r){return Gn(n.getHours(),r,2)}function K_(n,r){return Gn(n.getHours()%12||12,r,2)}function tv(n,r){return Gn(1+kc.count(ya(n),n),r,3)}function Fc(n,r){return Gn(n.getMilliseconds(),r,3)}function ev(n,r){return Fc(n,r)+"000"}function nv(n,r){return Gn(n.getMonth()+1,r,2)}function iv(n,r){return Gn(n.getMinutes(),r,2)}function rv(n,r){return Gn(n.getSeconds(),r,2)}function av(n){var r=n.getDay();return 0===r?7:r}function sv(n,r){return Gn(Dc.count(ya(n)-1,n),r,2)}function ov(n,r){var e=n.getDay();return n=e>=4||0===e?es(n):es.ceil(n),Gn(es.count(ya(n),n)+(4===ya(n).getDay()),r,2)}function lv(n){return n.getDay()}function cv(n,r){return Gn(ts.count(ya(n)-1,n),r,2)}function uv(n,r){return Gn(n.getFullYear()%100,r,2)}function hv(n,r){return Gn(n.getFullYear()%1e4,r,4)}function dv(n){var r=n.getTimezoneOffset();return(r>0?"-":(r*=-1,"+"))+Gn(r/60|0,"0",2)+Gn(r%60,"0",2)}function Pc(n,r){return Gn(n.getUTCDate(),r,2)}function fv(n,r){return Gn(n.getUTCHours(),r,2)}function pv(n,r){return Gn(n.getUTCHours()%12||12,r,2)}function mv(n,r){return Gn(1+Sc.count(Ta(n),n),r,3)}function Rc(n,r){return Gn(n.getUTCMilliseconds(),r,3)}function gv(n,r){return Rc(n,r)+"000"}function _v(n,r){return Gn(n.getUTCMonth()+1,r,2)}function vv(n,r){return Gn(n.getUTCMinutes(),r,2)}function xv(n,r){return Gn(n.getUTCSeconds(),r,2)}function yv(n){var r=n.getUTCDay();return 0===r?7:r}function Tv(n,r){return Gn(Ac.count(Ta(n)-1,n),r,2)}function bv(n,r){var e=n.getUTCDay();return n=e>=4||0===e?Ka(n):Ka.ceil(n),Gn(Ka.count(Ta(n),n)+(4===Ta(n).getUTCDay()),r,2)}function Cv(n){return n.getUTCDay()}function wv(n,r){return Gn(qa.count(Ta(n)-1,n),r,2)}function Av(n,r){return Gn(n.getUTCFullYear()%100,r,2)}function Ev(n,r){return Gn(n.getUTCFullYear()%1e4,r,4)}function Sv(){return"+0000"}function Zc(){return"%"}function Bc(n){return+n}function Uc(n){return Math.floor(+n/1e3)}!function Iv(n){(function k_(n){var r=n.dateTime,e=n.date,i=n.time,a=n.periods,s=n.days,d=n.shortDays,T=n.months,E=n.shortMonths,F=Ca(a),W=wa(a),lt=Ca(s),st=wa(s),vt=Ca(d),Mt=wa(d),Rt=Ca(T),bt=wa(T),$t=Ca(E),ie=wa(E),Kt={a:function bi(we){return d[we.getDay()]},A:function dr(we){return s[we.getDay()]},b:function Ci(we){return E[we.getMonth()]},B:function wi(we){return T[we.getMonth()]},c:null,d:Nc,e:Nc,f:ev,H:q_,I:K_,j:tv,L:Fc,m:nv,M:iv,p:function oi(we){return a[+(we.getHours()>=12)]},q:function li(we){return 1+~~(we.getMonth()/3)},Q:Bc,s:Uc,S:rv,u:av,U:sv,V:ov,w:lv,W:cv,x:null,X:null,y:uv,Y:hv,Z:dv,"%":Zc},Ae={a:function Aa(we){return d[we.getUTCDay()]},A:function aa(we){return s[we.getUTCDay()]},b:function sa(we){return E[we.getUTCMonth()]},B:function oa(we){return T[we.getUTCMonth()]},c:null,d:Pc,e:Pc,f:gv,H:fv,I:pv,j:mv,L:Rc,m:_v,M:vv,p:function Pi(we){return a[+(we.getUTCHours()>=12)]},q:function ss(we){return 1+~~(we.getUTCMonth()/3)},Q:Bc,s:Uc,S:xv,u:yv,U:Tv,V:bv,w:Cv,W:wv,x:null,X:null,y:Av,Y:Ev,Z:Sv,"%":Zc},Ne={a:function Vn(we,ln,An){var he=vt.exec(ln.slice(An));return he?(we.w=Mt[he[0].toLowerCase()],An+he[0].length):-1},A:function zn(we,ln,An){var he=lt.exec(ln.slice(An));return he?(we.w=st[he[0].toLowerCase()],An+he[0].length):-1},b:function mi(we,ln,An){var he=$t.exec(ln.slice(An));return he?(we.m=ie[he[0].toLowerCase()],An+he[0].length):-1},B:function xi(we,ln,An){var he=Rt.exec(ln.slice(An));return he?(we.m=bt[he[0].toLowerCase()],An+he[0].length):-1},c:function yi(we,ln,An){return yn(we,r,ln,An)},d:Mc,e:Mc,f:$_,H:Oc,I:Oc,j:H_,L:X_,m:z_,M:Y_,p:function Sn(we,ln,An){var he=F.exec(ln.slice(An));return he?(we.p=W[he[0].toLowerCase()],An+he[0].length):-1},q:V_,Q:Q_,s:j_,S:W_,u:F_,U:P_,V:R_,w:N_,W:Z_,x:function hr(we,ln,An){return yn(we,e,ln,An)},X:function Ti(we,ln,An){return yn(we,i,ln,An)},y:U_,Y:B_,Z:G_,"%":J_};function Ce(we,ln){return function(An){var Vi,en,ai,he=[],ri=-1,Pn=0,Gi=we.length;for(An instanceof Date||(An=new Date(+An));++ri53)return null;"w"in he||(he.w=1),"Z"in he?(Gi=(Pn=oo(ba(he.y,0,1))).getUTCDay(),Pn=Gi>4||0===Gi?qa.ceil(Pn):qa(Pn),Pn=Sc.offset(Pn,7*(he.V-1)),he.y=Pn.getUTCFullYear(),he.m=Pn.getUTCMonth(),he.d=Pn.getUTCDate()+(he.w+6)%7):(Gi=(Pn=so(ba(he.y,0,1))).getDay(),Pn=Gi>4||0===Gi?ts.ceil(Pn):ts(Pn),Pn=kc.offset(Pn,7*(he.V-1)),he.y=Pn.getFullYear(),he.m=Pn.getMonth(),he.d=Pn.getDate()+(he.w+6)%7)}else("W"in he||"U"in he)&&("w"in he||(he.w="u"in he?he.u%7:"W"in he?1:0),Gi="Z"in he?oo(ba(he.y,0,1)).getUTCDay():so(ba(he.y,0,1)).getDay(),he.m=0,he.d="W"in he?(he.w+6)%7+7*he.W-(Gi+5)%7:he.w+7*he.U-(Gi+6)%7);return"Z"in he?(he.H+=he.Z/100|0,he.M+=he.Z%100,oo(he)):so(he)}}function yn(we,ln,An,he){for(var Vi,en,ri=0,Pn=ln.length,Gi=An.length;ri=Gi)return-1;if(37===(Vi=ln.charCodeAt(ri++))){if(Vi=ln.charAt(ri++),!(en=Ne[Vi in Ic?ln.charAt(ri++):Vi])||(he=en(we,An,he))<0)return-1}else if(Vi!=An.charCodeAt(he++))return-1}return he}return Kt.x=Ce(e,Kt),Kt.X=Ce(i,Kt),Kt.c=Ce(r,Kt),Ae.x=Ce(e,Ae),Ae.X=Ce(i,Ae),Ae.c=Ce(r,Ae),{format:function(we){var ln=Ce(we+="",Kt);return ln.toString=function(){return we},ln},parse:function(we){var ln=dn(we+="",!1);return ln.toString=function(){return we},ln},utcFormat:function(we){var ln=Ce(we+="",Ae);return ln.toString=function(){return we},ln},utcParse:function(we){var ln=dn(we+="",!0);return ln.toString=function(){return we},ln}}})(n)}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Hs(ic),Hs(function Mv(n){return null===n?NaN:+n}),o(47927),o(32517),o(38914),o(22910),o(65142),o(78986),o(16087);const s0=["caretElm"];function o0(n,r){}const l0=function(n){return{model:n}};function c0(n,r){if(1&n&&(t.TgZ(0,"span"),t.YNc(1,o0,0,0,"ng-template",5),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",e.template)("ngTemplateOutletContext",t.VKq(2,l0,e.context))}}function u0(n,r){if(1&n&&t._UZ(0,"span",6),2&n){const e=t.oxw();t.Q6J("innerHTML",e.title,t.oJD)}}function mx(n,r,e){e=e||{};let i,a,s,d=null,T=0;function E(){T=!1===e.leading?0:+new Date,d=null,s=n.apply(i,a)}return function(){const F=+new Date;!T&&!1===e.leading&&(T=F);const W=r-(F-T);return i=this,a=arguments,W<=0?(clearTimeout(d),d=null,T=F,s=n.apply(i,a)):!d&&!1!==e.trailing&&(d=setTimeout(E,W)),s}}function gx(n,r){return function(i,a,s){return{configurable:!0,enumerable:s.enumerable,get:function(){return Object.defineProperty(this,a,{configurable:!0,enumerable:s.enumerable,value:mx(s.value,n,r)}),this[a]}}}}var mn=(()=>{return(n=mn||(mn={})).Top="top",n.Bottom="bottom",n.Left="left",n.Right="right",n.Center="center",mn;var n})();function Kc(n,r,e){return e===mn.Top?n.top-7:e===mn.Bottom?n.top+n.height-r.height+7:e===mn.Center?n.top+n.height/2-r.height/2:void 0}function tu(n,r,e){return e===mn.Left?n.left-7:e===mn.Right?n.left+n.width-r.width+7:e===mn.Center?n.left+n.width/2-r.width/2:void 0}class Xi{static calculateVerticalAlignment(r,e,i){let a=Kc(r,e,i);return a+e.height>window.innerHeight&&(a=window.innerHeight-e.height),a}static calculateVerticalCaret(r,e,i,a){let s;a===mn.Top&&(s=r.height/2-i.height/2+7),a===mn.Bottom&&(s=e.height-r.height/2-i.height/2-7),a===mn.Center&&(s=e.height/2-i.height/2);const d=Kc(r,e,a);return d+e.height>window.innerHeight&&(s+=d+e.height-window.innerHeight),s}static calculateHorizontalAlignment(r,e,i){let a=tu(r,e,i);return a+e.width>window.innerWidth&&(a=window.innerWidth-e.width),a}static calculateHorizontalCaret(r,e,i,a){let s;a===mn.Left&&(s=r.width/2-i.width/2+7),a===mn.Right&&(s=e.width-r.width/2-i.width/2-7),a===mn.Center&&(s=e.width/2-i.width/2);const d=tu(r,e,a);return d+e.width>window.innerWidth&&(s+=d+e.width-window.innerWidth),s}static shouldFlip(r,e,i,a){let s=!1;return i===mn.Right&&r.left+r.width+e.width+a>window.innerWidth&&(s=!0),i===mn.Left&&r.left-e.width-a<0&&(s=!0),i===mn.Top&&r.top-e.height-a<0&&(s=!0),i===mn.Bottom&&r.top+r.height+e.height+a>window.innerHeight&&(s=!0),s}static positionCaret(r,e,i,a,s){let d=0,T=0;return r===mn.Right?(T=-7,d=Xi.calculateVerticalCaret(i,e,a,s)):r===mn.Left?(T=e.width,d=Xi.calculateVerticalCaret(i,e,a,s)):r===mn.Top?(d=e.height,T=Xi.calculateHorizontalCaret(i,e,a,s)):r===mn.Bottom&&(d=-7,T=Xi.calculateHorizontalCaret(i,e,a,s)),{top:d,left:T}}static positionContent(r,e,i,a,s){let d=0,T=0;return r===mn.Right?(T=i.left+i.width+a,d=Xi.calculateVerticalAlignment(i,e,s)):r===mn.Left?(T=i.left-e.width-a,d=Xi.calculateVerticalAlignment(i,e,s)):r===mn.Top?(d=i.top-e.height-a,T=Xi.calculateHorizontalAlignment(i,e,s)):r===mn.Bottom&&(d=i.top+i.height+a,T=Xi.calculateHorizontalAlignment(i,e,s)),{top:d,left:T}}static determinePlacement(r,e,i,a){if(Xi.shouldFlip(i,e,r,a)){if(r===mn.Right)return mn.Left;if(r===mn.Left)return mn.Right;if(r===mn.Top)return mn.Bottom;if(r===mn.Bottom)return mn.Top}return r}}let _x=(()=>{class n{constructor(e,i,a){this.element=e,this.renderer=i,this.platformId=a}get cssClasses(){let e="ngx-charts-tooltip-content";return e+=` position-${this.placement}`,e+=` type-${this.type}`,e+=` ${this.cssClass}`,e}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,_.NF)(this.platformId))return;const e=this.element.nativeElement,i=this.host.nativeElement.getBoundingClientRect();if(!i.height&&!i.width)return;const a=e.getBoundingClientRect();this.checkFlip(i,a),this.positionContent(e,i,a),this.showCaret&&this.positionCaret(i,a),setTimeout(()=>this.renderer.addClass(e,"animate"),1)}positionContent(e,i,a){const{top:s,left:d}=Xi.positionContent(this.placement,a,i,this.spacing,this.alignment);this.renderer.setStyle(e,"top",`${s}px`),this.renderer.setStyle(e,"left",`${d}px`)}positionCaret(e,i){const a=this.caretElm.nativeElement,s=a.getBoundingClientRect(),{top:d,left:T}=Xi.positionCaret(this.placement,i,e,s,this.alignment);this.renderer.setStyle(a,"top",`${d}px`),this.renderer.setStyle(a,"left",`${T}px`)}checkFlip(e,i){this.placement=Xi.determinePlacement(this.placement,i,e,this.spacing)}onWindowResize(){this.position()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.Lbi))},n.\u0275cmp=t.Xpm({type:n,selectors:[["ngx-tooltip-content"]],viewQuery:function(e,i){if(1&e&&t.Gf(s0,5),2&e){let a;t.iGM(a=t.CRH())&&(i.caretElm=a.first)}},hostVars:2,hostBindings:function(e,i){1&e&&t.NdJ("resize",function(){return i.onWindowResize()},!1,t.Jf7),2&e&&t.Tol(i.cssClasses)},inputs:{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t._UZ(1,"span",0,1),t.TgZ(3,"div",2),t.YNc(4,c0,2,4,"span",3),t.YNc(5,u0,1,1,"span",4),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Gre("tooltip-caret position-",i.placement,""),t.Q6J("hidden",!i.showCaret),t.xp6(3),t.Q6J("ngIf",!i.title),t.xp6(1),t.Q6J("ngIf",i.title))},directives:[_.O5,_.tP],styles:[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;border:1px solid #72809b;box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:rgba(0,0,0,.75);font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{transform:translate(10px)}.ngx-charts-tooltip-content.position-left{transform:translate(-10px)}.ngx-charts-tooltip-content.position-top{transform:translateY(-10px)}.ngx-charts-tooltip-content.position-bottom{transform:translateY(10px)}.ngx-charts-tooltip-content.animate{opacity:1;transition:opacity .3s,transform .3s;transform:translate(0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}\n"],encapsulation:2}),(0,Ie.gn)([gx(100)],n.prototype,"onWindowResize",null),n})(),eu=(()=>{class n{constructor(e,i,a){this.applicationRef=e,this.componentFactoryResolver=i,this.injector=a}static setGlobalRootViewContainer(e){n.globalRootViewContainer=e}getRootViewContainer(){if(this._container)return this._container;if(n.globalRootViewContainer)return n.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(e){this._container=e}getComponentRootNode(e){return function xx(n){return n.element}(e)?e.element.nativeElement:e.hostView&&e.hostView.rootNodes.length>0?e.hostView.rootNodes[0]:e.location.nativeElement}getRootViewContainerNode(e){return this.getComponentRootNode(e)}projectComponentBindings(e,i){if(i){if(void 0!==i.inputs){const a=Object.getOwnPropertyNames(i.inputs);for(const s of a)e.instance[s]=i.inputs[s]}if(void 0!==i.outputs){const a=Object.getOwnPropertyNames(i.outputs);for(const s of a)e.instance[s]=i.outputs[s]}}return e}appendComponent(e,i={},a){a||(a=this.getRootViewContainer());const s=this.getComponentRootNode(a),d=new Al.u0(s,this.componentFactoryResolver,this.applicationRef,this.injector),T=new Al.C5(e),E=d.attach(T);return this.projectComponentBindings(E,i),E}}return n.globalRootViewContainer=null,n.\u0275fac=function(e){return new(e||n)(t.LFG(t.z2F),t.LFG(t._Vd),t.LFG(t.zs3))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),uo=(()=>{class n extends class vx{constructor(r){this.injectionService=r,this.defaults={},this.components=new Map}getByType(r=this.type){return this.components.get(r)}create(r){return this.createByType(this.type,r)}createByType(r,e){e=this.assignDefaults(e);const i=this.injectComponent(r,e);return this.register(r,i),i}destroy(r){const e=this.components.get(r.componentType);if(e&&e.length){const i=e.indexOf(r);i>-1&&(e[i].destroy(),e.splice(i,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(r){const e=this.components.get(r);if(e&&e.length){let i=e.length-1;for(;i>=0;)this.destroy(e[i--])}}injectComponent(r,e){return this.injectionService.appendComponent(r,e)}assignDefaults(r){const e=Object.assign({},this.defaults.inputs),i=Object.assign({},this.defaults.outputs);return!r.inputs&&!r.outputs&&(r={inputs:r}),e&&(r.inputs=Object.assign(Object.assign({},e),r.inputs)),i&&(r.outputs=Object.assign(Object.assign({},i),r.outputs)),r}register(r,e){this.components.has(r)||this.components.set(r,[]),this.components.get(r).push(e)}}{constructor(e){super(e),this.type=_x}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(eu))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),ou=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.ez]]}),n})();var na=(()=>{return(n=na||(na={})).popover="popover",n.tooltip="tooltip",na;var n})(),Er=(()=>{return(n=Er||(Er={}))[n.all="all"]="all",n[n.focus="focus"]="focus",n[n.mouseover="mouseover"]="mouseover",Er;var n})();let mo,fo=(()=>{class n{constructor(e,i,a){this.tooltipService=e,this.viewContainerRef=i,this.renderer=a,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=mn.Top,this.tooltipAlignment=mn.Center,this.tooltipType=na.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=Er.all,this.tooltipImmediateExit=!1,this.show=new t.vpe,this.hide=new t.vpe}get listensForFocus(){return this.tooltipShowEvent===Er.all||this.tooltipShowEvent===Er.focus}get listensForHover(){return this.tooltipShowEvent===Er.all||this.tooltipShowEvent===Er.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(e){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(e))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(e){if(this.component||this.tooltipDisabled)return;const i=e?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?300:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const a=this.createBoundOptions();this.component=this.tooltipService.create(a),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},i)}addHideListeners(e){this.mouseEnterContentEvent=this.renderer.listen(e,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(e,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",i=>{e.contains(i.target)||this.hideTooltip()}))}hideTooltip(e=!1){if(!this.component)return;const i=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),e?i():this.timeout=setTimeout(i,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(uo),t.Y36(t.s_b),t.Y36(t.Qsj))},n.\u0275dir=t.lG2({type:n,selectors:[["","ngx-tooltip",""]],hostBindings:function(e,i){1&e&&t.NdJ("focusin",function(){return i.onFocus()})("blur",function(){return i.onBlur()})("mouseenter",function(){return i.onMouseEnter()})("mouseleave",function(s){return i.onMouseLeave(s.target)})("click",function(){return i.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipTemplate:"tooltipTemplate",tooltipShowEvent:"tooltipShowEvent",tooltipContext:"tooltipContext",tooltipImmediateExit:"tooltipImmediateExit"},outputs:{show:"show",hide:"hide"}}),n})(),lu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[eu,uo],imports:[[_.ez]]}),n})();"undefined"!=typeof window?mo=window:"undefined"!=typeof global&&(mo=global);let ji=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.ez,ou,lu],_.ez,ou,lu]}),n})(),Ix=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),gu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),Mx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),Ox=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),Nx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),_u=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})();Math;let _o=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),Rx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji,_o,_u]]}),n})(),Bx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),Ux=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji]]}),n})(),Gx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ji,_o,gu]]}),n})(),zx=(()=>{class n{constructor(){!function Vx(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[ji,Ix,gu,Mx,Ox,Nx,_u,Rx,Bx,_o,Ux,Gx]}),n})();function Hx(n,r){1&n&&(t.TgZ(0,"div"),t._UZ(1,"mat-spinner",3),t.qZA())}function Yx(n,r){if(1&n&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"strong"),t._uU(4),t.qZA(),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.hij(" ",t.lcZ(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_3")," "),t.xp6(3),t.Oqu(e.service)}}function Wx(n,r){1&n&&(t.O4$(),t.TgZ(0,"marker",10),t._UZ(1,"path",11),t.qZA())}function Xx(n,r){if(1&n&&(t.O4$(),t.TgZ(0,"g",12),t._UZ(1,"rect"),t.TgZ(2,"text",13),t._uU(3),t.qZA(),t.qZA()),2&n){const e=r.$implicit;t.Q6J("tooltipPlacement","top")("tooltipType","tooltip")("tooltipTitle",e.tooltip),t.xp6(1),t.uIk("width",e.dimension.width)("height",e.dimension.height)("fill",e.color),t.xp6(1),t.uIk("x",10)("y",e.dimension.height/2),t.xp6(1),t.hij(" ",e.label," ")}}function $x(n,r){if(1&n&&(t.O4$(),t.TgZ(0,"g",14),t._UZ(1,"path",15),t.TgZ(2,"text",16),t.TgZ(3,"textPath",17),t._uU(4),t.qZA(),t.qZA(),t.qZA()),2&n){const e=r.$implicit;t.xp6(3),t.uIk("href","#"+e.id),t.xp6(1),t.hij(" ",e.label," ")}}const Jx=function(n,r){return[n,r]};function Qx(n,r){if(1&n&&(t.TgZ(0,"div"),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"strong"),t._uU(4),t.qZA(),t._uU(5),t.ALo(6,"translate"),t.TgZ(7,"strong"),t._uU(8),t.qZA(),t.YNc(9,Yx,5,4,"span",4),t.TgZ(10,"div",5),t.TgZ(11,"ngx-graph",6),t.YNc(12,Wx,2,0,"ng-template",null,7,t.W1O),t.YNc(14,Xx,4,9,"ng-template",null,8,t.W1O),t.YNc(16,$x,5,2,"ng-template",null,9,t.W1O),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.hij(" ",t.lcZ(2,12,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_1")," "),t.xp6(3),t.AsE("",e.user.firstName," ",e.user.lastName,""),t.xp6(1),t.hij(" ",t.lcZ(6,14,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_2")," "),t.xp6(3),t.Oqu(e.destination),t.xp6(1),t.Q6J("ngIf","noService"!==e.service),t.xp6(2),t.Q6J("links",e.hierarchialGraph.links)("nodes",e.hierarchialGraph.nodes)("curve",e.curve)("draggingEnabled",!1)("zoomToFit$",e.zoomToFit$)("view",t.WLB(16,Jx,e.innerWidth,e.innerHeight))}}function jx(n,r){if(1&n&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"strong"),t._uU(4),t.qZA(),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.hij(" ",t.lcZ(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_3")," "),t.xp6(3),t.Oqu(e.service)}}function qx(n,r){if(1&n&&(t._uU(0),t.ALo(1,"translate"),t.TgZ(2,"strong"),t._uU(3),t.qZA(),t._uU(4),t.ALo(5,"translate"),t.TgZ(6,"strong"),t._uU(7),t.qZA(),t.YNc(8,jx,5,4,"span",4),t._uU(9),t.ALo(10,"translate")),2&n){const e=t.oxw(2);t.hij(" ",t.lcZ(1,7,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_1")," "),t.xp6(3),t.AsE("",e.user.firstName," ",e.user.lastName,""),t.xp6(1),t.hij(" ",t.lcZ(5,9,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_2")," "),t.xp6(3),t.Oqu(e.destination),t.xp6(1),t.Q6J("ngIf","noService"!==e.service),t.xp6(1),t.hij(" ",t.lcZ(10,11,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_4")," ")}}function Kx(n,r){if(1&n&&(t.YNc(0,Qx,18,19,"div",1),t.YNc(1,qx,11,13,"ng-template",null,2,t.W1O)),2&n){const e=t.MAs(2),i=t.oxw();t.Q6J("ngIf",i.isConnected)("ngIfElse",e)}}let ty=(()=>{class n{constructor(e,i,a,s,d,T,E,F,W){this.route=e,this.facilityManager=i,this.userService=a,this.membersService=s,this.serviceService=d,this.resourceManager=T,this.groupService=E,this.voService=F,this.translate=W,this.idCounter=0,this.isConnected=!1,this.loading=!0,this.hierarchialGraph={nodes:[],links:[]},this.curve=kn,this.zoomToFit$=new ze.xQ}ngOnInit(){this.innerWidth=window.innerWidth<600?window.innerWidth:window.innerWidth-420,this.innerHeight=window.innerHeight,this.getLocalizedNames(),this.route.queryParams.subscribe(e=>{console.log(e),this.destination=e.destination,this.service=e.service,this.userService.getUserById(e.user).subscribe(i=>{this.user=i,this.facilityManager.getFacilitiesByDestination(this.destination).subscribe(a=>{this.facilities=a,this.membersService.getMembersByUser(this.user.id).subscribe(s=>{if(this.membership=s,0===this.membership.length||0===this.facilities.length)return this.loading=!1,void(this.isConnected=!1);this.showGraph()})})})})}showGraph(){const e=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:e,label:this.user.firstName+" "+this.user.lastName,tooltip:this.localUser,color:"#FFFFCC",tip:"user: "+this.user.id}];const T=""+this.id(),E="destination no id";this.hierarchialGraph.nodes="noService"===this.service?[...this.hierarchialGraph.nodes,{id:T,label:this.destination,tooltip:this.localDestination+": "+this.destination,color:"#E0E0E0",tip:E}]:[...this.hierarchialGraph.nodes,{id:T,label:this.service+": "+this.destination,tooltip:this.localService+": "+this.service+", "+this.localDestination+": "+this.destination,color:"#E0E0E0",tip:E}];for(const F of this.facilities)this.serviceService.getAllRichDestinationsForFacility(F.id).subscribe(W=>{this.connectToService(F,W),this.delay(2e3).then(()=>{this.zoomToFit$.next(!0),this.loading=!1})})}connectToService(e,i){this.isConnectedToService(i)&&this.facilityManager.getAssignedResourcesForFacility(e.id).subscribe(a=>{for(let s=0;s{0!==s.length&&this.groupService.getMemberGroups(i.id).subscribe(d=>{const T=this.findConnectedGroups(s,d);if(0!==T.length)for(const E of T)this.connectToResource(e,E,a)})})}connectToResource(e,i,a){this.resourceManager.getAssignedResourcesWithGroup(i.id).subscribe(s=>{const d=this.findConnectedResources(s,a);for(const T of d)this.resourceManager.getAssignedServicesToResource(T.id).subscribe(E=>{this.haveService(E)&&(this.isConnected=!0,this.addNodesToGraph(i.voId,i,T,e))})})}addNodesToGraph(e,i,a,s){if(-1===this.findEntityInGraph("Facility: "+s.id)){const d=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:d,label:this.localFacility+": "+s.name,tooltip:s.description,color:"#FFCCFF",tip:"Facility: "+s.id}];const lt={source:d,target:this.hierarchialGraph.nodes[this.findEntityInGraph("destination no id")].id};this.hierarchialGraph.links=[...this.hierarchialGraph.links,lt]}this.voService.getVoById(e).subscribe(d=>{if(-1===this.findEntityInGraph("Vo: "+d.id)){const E=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:E,label:this.localVo+": "+d.shortName,tooltip:d.name,color:"#E5FFCC",tip:"Vo: "+d.id}];const vt={source:this.hierarchialGraph.nodes[this.findEntityInGraph("user: "+this.user.id)].id,target:E};this.hierarchialGraph.links=[...this.hierarchialGraph.links,vt]}if(-1===this.findEntityInGraph("Group: "+i.id)){const E=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:E,label:this.localGroup+": "+i.name,tooltip:i.description,color:"#CCE5FF",tip:"Group: "+i.id}];const vt={source:this.hierarchialGraph.nodes[this.findEntityInGraph("Vo: "+d.id)].id,target:E};this.hierarchialGraph.links=[...this.hierarchialGraph.links,vt]}const T=this.findEntityInGraph("Resource: "+a.id);if(-1!==T){const E={source:this.hierarchialGraph.nodes[this.findEntityInGraph("Group: "+i.id)].id,target:this.hierarchialGraph.nodes[T].id};this.hierarchialGraph.links=[...this.hierarchialGraph.links,E]}else{const E=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:E,label:this.localResource+": "+a.name,tooltip:a.description,color:"#FFCCCC",tip:"Resource: "+a.id}];const vt={source:this.hierarchialGraph.nodes[this.findEntityInGraph("Group: "+i.id)].id,target:E};this.hierarchialGraph.links=[...this.hierarchialGraph.links,vt];const Mt={source:E,target:this.hierarchialGraph.nodes[this.findEntityInGraph("Facility: "+s.id)].id};this.hierarchialGraph.links=[...this.hierarchialGraph.links,Mt]}})}haveService(e){if("noService"===this.service)return!0;for(const i of e)if(this.service===i.name)return!0;return!1}findConnectedGroups(e,i){const a=[];for(let s=0;ssetTimeout(()=>i(),e)).then(()=>console.log("fired"))})}onResize(){this.innerWidth=window.innerWidth<600?window.innerWidth:window.innerWidth-420,this.innerHeight=window.innerHeight}getLocalizedNames(){this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.USER").subscribe(e=>{this.localUser=e}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.VO").subscribe(e=>{this.localVo=e}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.GROUP").subscribe(e=>{this.localGroup=e}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.RESOURCE").subscribe(e=>{this.localResource=e}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.FACILITY").subscribe(e=>{this.localFacility=e}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.SERVICE").subscribe(e=>{this.localService=e}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.DESTINATION").subscribe(e=>{this.localDestination=e})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(m.gz),t.Y36(z.IQ),t.Y36(z.Fv),t.Y36(z.uq),t.Y36(z.KK),t.Y36(z.xk),t.Y36(z.ff),t.Y36(z.YF),t.Y36(p.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-user-destination-graph"]],hostVars:2,hostBindings:function(e,i){1&e&&t.NdJ("resize",function(s){return i.onResize(s)},!1,t.Jf7),2&e&&t.ekj("router-component",i.true)},decls:6,vars:5,consts:[[1,"page-subtitle"],[4,"ngIf","ngIfElse"],["elseBlock",""],[1,"ml-auto","mr-auto"],[4,"ngIf"],[1,"card","w-100","h-100"],[1,"chart-container",3,"links","nodes","curve","draggingEnabled","zoomToFit$","view"],["defsTemplate",""],["nodeTemplate",""],["linkTemplate",""],["id","arrow","viewBox","0 -5 10 10","refX","8","refY","0","markerWidth","4","markerHeight","4","orient","auto"],["d","M0,-5L10,0L0,5",1,"arrow-head"],["ngx-tooltip","",1,"node",3,"tooltipPlacement","tooltipType","tooltipTitle"],["alignment-baseline","central"],[1,"edge"],["stroke-width","2","marker-end","url(#arrow)",1,"line"],["text-anchor","end",1,"edge-label"],["startOffset","60%",2,"fill","#000"]],template:function(e,i){if(1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,Hx,2,0,"div",1),t.YNc(4,Kx,3,2,"ng-template",null,2,t.W1O)),2&e){const a=t.MAs(5);t.xp6(1),t.hij(" ",t.lcZ(2,3,"ADMIN.VISUALIZER.USER_DESTINATION.TITLE"),"\n"),t.xp6(2),t.Q6J("ngIf",i.loading)("ngIfElse",a)}},directives:[_.O5,tt.$g,rm,fo],pipes:[p.X$],styles:[""]}),n})();var ey=o(25828),ny=o(29862),iy=o(31359);function ry(n,r){1&n&&t._UZ(0,"mat-spinner",3)}function ay(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).editUser()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}const sy=function(){return{color:"black"}},oy=function(n){return["/admin/users",n]};function ly(n,r){if(1&n&&(t.TgZ(0,"div",4),t._UZ(1,"mat-icon",5),t.ALo(2,"translate"),t.TgZ(3,"div",6),t.TgZ(4,"div",7),t.TgZ(5,"a",8),t._uU(6),t.ALo(7,"userFullName"),t.qZA(),t.TgZ(8,"span",9),t._uU(9),t.qZA(),t.YNc(10,ay,3,0,"button",10),t.qZA(),t.TgZ(11,"div"),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"span",11),t._uU(15),t.ALo(16,"translate"),t.ALo(17,"translate"),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.s9C("matTooltip",t.lcZ(2,12,"ADMIN_USER.ENTITY")),t.Q6J("ngStyle",t.DdM(22,sy))("svgIcon",e.svgIcon),t.xp6(4),t.Q6J("routerLink",t.VKq(23,oy,e.user.id)),t.xp6(1),t.hij(" ",t.lcZ(7,14,e.user)," "),t.xp6(3),t.hij(" \xa0#",e.user.id," "),t.xp6(1),t.Q6J("ngIf",e.authResolver.isPerunAdmin()),t.xp6(2),t.AsE("",t.lcZ(13,16,"ADMIN_USER.UUID"),": ",e.user.uuid,""),t.xp6(3),t.lnq(" ",t.lcZ(16,18,"ADMIN_USER.ENTITY"),", ",t.lcZ(17,20,"ADMIN_USER.USER_TYPE"),": ",e.getUserType()," ")}}let cy=(()=>{class n{constructor(e,i,a,s,d,T,E){this.route=e,this.usersService=i,this.sideMenuService=a,this.sideMenuItemService=s,this.dialog=d,this.authResolver=T,this.entityStorageService=E,this.loading=!1,this.svgIcon="perun-user-dark"}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{const i=e.userId;this.entityStorageService.setEntity({id:Number(i),beanName:"User"}),this.path=`/admin/users/${i}`,this.regex="/admin/users/\\d+",this.usersService.getUserById(i).subscribe(a=>{this.user=a,this.user.serviceUser&&(this.svgIcon="perun-service-identity");const s=this.sideMenuItemService.parseUser(a,this.path,this.regex);this.sideMenuService.setAdminItems([s]),this.loading=!1},()=>this.loading=!1)})}editUser(){const e=(0,oe.kZ)();e.width="450px",e.data={theme:"admin-theme",user:this.user},this.dialog.open(ny.x,e).afterClosed().subscribe(a=>{a&&this.usersService.getUserById(this.user.id).subscribe(s=>{this.user=s})})}getUserType(){return this.user.serviceUser?"Service":"Person"}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(m.gz),t.Y36(z.Fv),t.Y36(c.D),t.Y36(l.V),t.Y36(R.uw),t.Y36(H.x4),t.Y36(H.fb))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-user-detail-page"]],decls:5,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],["class","mr-auto ml-auto",4,"ngIf"],["class","d-flex page-title-headtitle",4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],[1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle","svgIcon"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"user-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"perun-web-apps-back-button"),t.YNc(2,ry,1,0,"mat-spinner",1),t.YNc(3,ly,18,25,"div",2),t._UZ(4,"app-animated-router-outlet"),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading&&void 0!==i.user))},directives:[h.W,_.O5,tt.$g,g.Hw,Ut.gM,_.PC,m.yS,ot.lW,f.A],pipes:[p.X$,iy.d],styles:[""]}),n})();var uy=o(17755),hy=o(74837),dy=o(85985),fy=o(98973),py=o(15935);function my(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",5),t.NdJ("click",function(){return t.CHM(e),t.oxw().onLoad()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.EXT_SOURCES.LOAD")," "))}function gy(n,r){1&n&&t._UZ(0,"mat-spinner",6)}const _y=function(){return["id","name","type"]};function vy(n,r){if(1&n&&t._UZ(0,"app-ext-sources-list",7),2&n){const e=t.oxw();t.Q6J("extSources",e.extSources)("filterValue",e.filterValue)("displayedColumns",t.DdM(4,_y))("tableId",e.tableId)}}let xy=(()=>{class n{constructor(e,i,a,s){this.extSourceService=e,this.notificator=i,this.translate=a,this.authResolver=s,this.extSources=[],this.filterValue="",this.loading=!1,this.tableId=fn.qy,this.translate.get("ADMIN.EXT_SOURCES.LOAD_SUCCESS").subscribe(d=>this.loadSuccess=d)}ngOnInit(){this.refreshTable()}applyFilter(e){this.filterValue=e}onLoad(){this.extSourceService.loadExtSourcesDefinitions().subscribe(()=>{this.notificator.showSuccess(this.loadSuccess),this.refreshTable()})}refreshTable(){this.loading=!0,this.extSourceService.getExtSources().subscribe(e=>{this.extSources=e,this.loading=!1})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.KG),t.Y36(H.V6),t.Y36(p.sK),t.Y36(H.x4))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-ext-sources"]],decls:8,vars:7,consts:[[1,"page-subtitle"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"extSources","filterValue","displayedColumns","tableId",4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"extSources","filterValue","displayedColumns","tableId"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,my,3,3,"button",1),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(6,gy,1,0,"mat-spinner",3),t.YNc(7,vy,1,5,"app-ext-sources-list",4),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,5,"ADMIN.EXT_SOURCES.TITLE")),t.xp6(2),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("placeholder","ADMIN.EXT_SOURCES.SEARCH"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[_.O5,ot.lW,je.L,tt.$g,py.D],pipes:[p.X$],styles:[""]}),n})();var yy=o(6097),Ty=o(97453),rs=o(1059),as=o(24850);function by(n,r){1&n&&t._UZ(0,"mat-spinner",7)}function Cy(n,r){if(1&n&&(t.TgZ(0,"mat-option",14),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e.name," ")}}function wy(n,r){if(1&n&&(t.TgZ(0,"div"),t.TgZ(1,"mat-form-field",8),t._UZ(2,"input",9),t.ALo(3,"translate"),t.TgZ(4,"mat-error"),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.TgZ(7,"mat-form-field",8),t._UZ(8,"input",10),t.ALo(9,"translate"),t.TgZ(10,"mat-error"),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.TgZ(13,"mat-autocomplete",11,12),t.YNc(15,Cy,2,2,"mat-option",13),t.ALo(16,"async"),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.MAs(14),i=t.oxw();t.xp6(2),t.s9C("placeholder",t.lcZ(3,9,"DIALOGS.ADD_USER_EXT_SOURCE.LOGIN")),t.Q6J("formControl",i.loginControl),t.xp6(3),t.hij(" ",t.lcZ(6,11,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_LOGIN")," "),t.xp6(3),t.s9C("placeholder",t.lcZ(9,13,"DIALOGS.ADD_USER_EXT_SOURCE.EXT_SOURCE")),t.Q6J("formControl",i.extSourcesControl)("matAutocomplete",e),t.xp6(3),t.hij(" ",t.lcZ(12,15,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_EXT_SOURCE")," "),t.xp6(2),t.Q6J("displayWith",i.displayFn),t.xp6(2),t.Q6J("ngForOf",t.lcZ(16,17,i.filteredExtSources))}}let Ay=(()=>{class n{constructor(e,i,a,s,d,T){this.dialogRef=e,this.data=i,this.extSourcesManagerService=a,this.usersManagerService=s,this.translate=d,this.notificator=T,this.extSources=[],d.get("DIALOGS.ADD_USER_EXT_SOURCE.SUCCESS").subscribe(E=>this.successMessage=E)}ngOnInit(){this.loading=!0,this.loginControl=new ft.NI("",[ft.kI.required,ft.kI.pattern(".*[\\S]+.*")]),this.extSourcesControl=new ft.NI("",[ft.kI.required]),this.loginControl.markAllAsTouched(),this.extSourcesControl.markAllAsTouched(),this.filteredExtSources=this.extSourcesControl.valueChanges.pipe((0,rs.O)(""),(0,as.U)(e=>this._filter(e))),this.extSourcesManagerService.getExtSources().subscribe(e=>{this.extSources=e,this.filteredExtSources=this.extSourcesControl.valueChanges.pipe((0,rs.O)(""),(0,as.U)(i=>this._filter(i))),this.loading=!1},()=>this.loading=!1)}displayFn(e){return e?e.name:null}onCancel(){this.dialogRef.close(!1)}onAdd(){this.loading=!0,this.usersManagerService.addUserExtSource({user:this.data.userId,userExtSource:{beanName:"",extSource:this.extSourcesControl.value,id:0,login:this.loginControl.value,userId:this.data.userId}}).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1)}_filter(e){const i="string"==typeof e?e.toLowerCase():e.name.toLowerCase;return this.extSources.filter(a=>a.name.toLowerCase().includes(i))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(z.KG),t.Y36(z.Fv),t.Y36(p.sK),t.Y36(H.V6))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-add-user-ext-source-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"center-self","w-100"],["matInput","","required","",3,"formControl","placeholder"],["matInput","","type","text","required","",3,"formControl","matAutocomplete","placeholder"],[3,"displayWith"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",1),t.YNc(4,by,1,0,"mat-spinner",2),t.YNc(5,wy,17,19,"div",3),t.qZA(),t.TgZ(6,"div",4),t.TgZ(7,"button",5),t.NdJ("click",function(){return i.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",6),t.NdJ("click",function(){return i.onAdd()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"DIALOGS.ADD_USER_EXT_SOURCE.TITLE")),t.xp6(3),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(3),t.hij(" ",t.lcZ(9,8,"DIALOGS.ADD_USER_EXT_SOURCE.CANCEL")," "),t.xp6(2),t.Q6J("disabled",i.loginControl.invalid||i.extSourcesControl.invalid||i.loading),t.xp6(1),t.hij(" ",t.lcZ(12,10,"DIALOGS.ADD_USER_EXT_SOURCE.ADD")," "))},directives:[R.uh,R.xY,_.O5,tt.$g,G.KE,M.Nt,ft.Fj,ft.Q7,ft.JJ,ft.oH,G.TO,gt.ZL,gt.XC,_.sg,Ht.ey,R.H8,ot.lW],pipes:[p.X$,_.Ov],styles:[".column-size[_ngcontent-%COMP%]{width:10rem!important;font-weight:700}.center-self[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.auto-width[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:auto!important}.auto-width[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{max-width:100%;width:auto}.pre-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),n})();var vu=o(84379),Ey=o(80275);function Sy(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().addIdentity()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"USER_DETAIL.IDENTITIES.ADD"),"\n"))}function Dy(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().removeIdentity()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"USER_DETAIL.IDENTITIES.REMOVE"),"\n")}}function Ly(n,r){1&n&&t._UZ(0,"mat-spinner",10)}function ky(n,r){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-user-ext-sources-list",11),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("displayedColumns",e.displayedColumns)("filterValue",e.filterValue)("selection",e.selection)("userExtSources",e.userExtSources)("tableId",e.tableId)}}let Iy=(()=>{class n{constructor(e,i,a,s,d,T){this.usersManagerService=e,this.storage=i,this.registrarManagerService=a,this.dialog=s,this.route=d,this.authResolver=T,this.userExtSources=[],this.selection=new P.Ov(!1,[]),this.displayedColumns=["select","id","extSourceName","login","lastAccess"],this.tableId=fn.gG,this.filterValue=""}ngOnInit(){this.route.parent.params.subscribe(e=>{this.userId=e.userId}),this.refreshTable()}refreshTable(){this.loading=!0,this.selection.clear(),this.usersManagerService.getRichUserExtSources(this.userId).subscribe(e=>{this.userExtSources=e,this.loading=!1},()=>this.loading=!1)}addIdentity(){const e=(0,oe.kZ)();e.width="1000px",e.data={userId:this.userId},this.dialog.open(Ay,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}removeIdentity(){const e=(0,oe.kZ)();e.width="450px",e.data={showSuccess:!0,theme:"user-theme",userId:this.userId,extSources:this.selection.selected},this.dialog.open(vu.Lc,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.Fv),t.Y36(H.d6),t.Y36(z.tk),t.Y36(R.uw),t.Y36(m.gz),t.Y36(H.x4))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-user-identities"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2 action-button","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],[1,"admin-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","filterValue","selection","userExtSources","tableId"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.YNc(4,Sy,3,3,"button",2),t.YNc(5,Dy,3,4,"button",3),t.TgZ(6,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.TgZ(7,"div",5),t.YNc(8,Ly,1,0,"mat-spinner",6),t.qZA(),t.YNc(9,ky,2,5,"div",7)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"USER_DETAIL.IDENTITIES.TITLE")),t.xp6(3),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("placeholder","USER_DETAIL.IDENTITIES.FILTER_PLACEHOLDER"),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,_.O5,ot.lW,je.L,tt.$g,Ey.j],pipes:[p.X$],styles:[""]}),n})();function My(n,r){1&n&&t._UZ(0,"mat-spinner",4)}function Oy(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",5),t.TgZ(1,"mat-form-field"),t.TgZ(2,"input",6),t.NdJ("change",function(){return t.CHM(e),t.oxw().makePath()}),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-error"),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.TgZ(7,"mat-form-field"),t.TgZ(8,"input",7),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().description=a}),t.ALo(9,"translate"),t.qZA(),t.qZA(),t.TgZ(10,"mat-form-field"),t._UZ(11,"input",8),t.ALo(12,"translate"),t.TgZ(13,"mat-error"),t._uU(14),t.ALo(15,"translate"),t.qZA(),t.qZA(),t.TgZ(16,"mat-form-field"),t._UZ(17,"input",8),t.ALo(18,"translate"),t.TgZ(19,"mat-error"),t._uU(20),t.ALo(21,"translate"),t.qZA(),t.qZA(),t.TgZ(22,"mat-form-field"),t._UZ(23,"input",8),t.ALo(24,"translate"),t.TgZ(25,"mat-error"),t._uU(26),t.ALo(27,"translate"),t.qZA(),t.qZA(),t.TgZ(28,"span",9),t._uU(29),t.ALo(30,"translate"),t.TgZ(31,"mat-checkbox",10),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().status=a}),t._uU(32),t.ALo(33,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.s9C("placeholder",t.lcZ(3,17,"DIALOGS.CREATE_EDIT_SERVICE.NAME")),t.Q6J("formControl",e.nameControl),t.xp6(3),t.Oqu(t.lcZ(6,19,"DIALOGS.CREATE_EDIT_SERVICE.RESTRICTION_NAME")),t.xp6(3),t.s9C("placeholder",t.lcZ(9,21,"DIALOGS.CREATE_EDIT_SERVICE.DESCRIPTION")),t.Q6J("ngModel",e.description),t.xp6(3),t.s9C("placeholder",t.lcZ(12,23,"DIALOGS.CREATE_EDIT_SERVICE.DELAY")),t.Q6J("formControl",e.delayControl),t.xp6(3),t.Oqu(t.lcZ(15,25,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_DELAY")),t.xp6(3),t.s9C("placeholder",t.lcZ(18,27,"DIALOGS.CREATE_EDIT_SERVICE.RECURRENCE")),t.Q6J("formControl",e.recurrenceControl),t.xp6(3),t.Oqu(t.lcZ(21,29,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_RECURRENCE")),t.xp6(3),t.s9C("placeholder",t.lcZ(24,31,"DIALOGS.CREATE_EDIT_SERVICE.PATH")),t.Q6J("formControl",e.pathControl),t.xp6(3),t.Oqu(t.lcZ(27,33,"DIALOGS.CREATE_EDIT_SERVICE.REQUIRE_PATH")),t.xp6(3),t.hij("",t.lcZ(30,35,"DIALOGS.CREATE_EDIT_SERVICE.STATUS")," "),t.xp6(2),t.Q6J("ngModel",e.status),t.xp6(1),t.Oqu(t.lcZ(33,37,"DIALOGS.CREATE_EDIT_SERVICE.STATUS_HINT"))}}function Ny(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",11),t.TgZ(1,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"button",13),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return a.asEdit?a.onEdit():a.onCreate()}),t._uU(5),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,3,"DIALOGS.CREATE_EDIT_SERVICE.CANCEL")," "),t.xp6(2),t.Q6J("disabled",e.nameControl.invalid||e.delayControl.invalid||e.recurrenceControl.invalid||e.pathControl.invalid),t.xp6(1),t.hij(" ",e.buttonText," ")}}let xu=(()=>{class n{constructor(e,i,a,s,d){this.dialogRef=e,this.data=i,this.serviceManager=a,this.notificator=s,this.translate=d,this.loading=!1,this.status=!0,this.nameControl=new ft.NI("",[ft.kI.required,ft.kI.pattern("^[a-zA-Z0-9_]+$")]),this.delayControl=new ft.NI(10,[ft.kI.pattern("^[0-9]*$")]),this.recurrenceControl=new ft.NI(2,[ft.kI.pattern("^[0-9]*$")]),this.pathControl=new ft.NI("",[ft.kI.required]),this.asEdit=!1}ngOnInit(){this.theme=this.data.theme,this.asEdit=void 0!==this.data.service,this.asEdit?(this.nameControl.setValue(this.data.service.name),this.description=this.data.service.description,this.delayControl.setValue(this.data.service.delay),this.recurrenceControl.setValue(this.data.service.recurrence),this.pathControl.setValue(this.data.service.script),this.status=this.data.service.enabled,this.title=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.EDIT_TITLE"),this.buttonText=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.EDIT")):(this.title=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE_TITLE"),this.buttonText=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE"))}onCreate(){this.loading=!0,this.serviceManager.createServiceWithService({service:{name:this.nameControl.value,description:this.description,delay:this.delayControl.value,recurrence:this.recurrenceControl.value,enabled:this.status,script:this.pathControl.value,id:0,beanName:""}}).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE_SUCCESS")),this.dialogRef.close(!0),this.loading=!1})}onEdit(){this.loading=!0,this.serviceManager.updateService({service:{name:this.nameControl.value,description:this.description,delay:this.delayControl.value,recurrence:this.recurrenceControl.value,enabled:this.status,script:this.pathControl.value,id:this.data.service.id,beanName:this.data.service.beanName}}).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.EDIT_SUCCESS")),this.dialogRef.close(!0),this.loading=!1})}onCancel(){this.dialogRef.close(!1)}makePath(){const e="./".concat(this.nameControl.value);this.pathControl.setValue(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(z.KK),t.Y36(H.V6),t.Y36(p.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-create-service-dialog"]],decls:6,vars:7,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"formControl","placeholder","change"],["matInput","",3,"ngModel","placeholder","ngModelChange"],["matInput","","required","",3,"formControl","placeholder"],[1,"d-flex"],[1,"ml-3",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.qZA(),t.YNc(3,My,1,0,"mat-spinner",1),t.YNc(4,Oy,34,39,"div",2),t.YNc(5,Ny,6,5,"div",3),t.qZA()),2&e&&(t.Tol(i.theme),t.xp6(2),t.Oqu(i.title),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[R.uh,_.O5,tt.$g,R.xY,G.KE,M.Nt,ft.Fj,ft.Q7,ft.JJ,ft.oH,G.TO,ft.On,xt.oG,R.H8,ot.lW],pipes:[p.X$],styles:[""]}),n})();var Fy=o(55663);let yu=(()=>{class n{constructor(e,i,a,s,d){this.dialogRef=e,this.data=i,this.serviceManager=a,this.notificator=s,this.translate=d,this.displayedColumns=["name"],this.dataSource=new Z.by(this.data.services),this.loading=!1,this.force=!1,this.relations=[]}ngOnInit(){this.theme=this.data.theme,this.services=this.data.services,this.relations.push(this.translate.instant("DIALOGS.DELETE_SERVICE.DESTINATION_RELATION")),this.anotherMessage=this.translate.instant("DIALOGS.DELETE_SERVICE.MORE_INFORMATION")}onConfirm(){if(0===this.services.length)return this.dialogRef.close(!0),void this.notificator.showSuccess(this.translate.instant("DIALOGS.DELETE_SERVICE.SUCCESS"));this.loading=!0,this.serviceManager.deleteService(this.services.pop().id,this.force).subscribe(()=>{this.onConfirm(),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(e){this.force=e.force,e.deleted?this.onConfirm():this.onCancel()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(z.KK),t.Y36(H.V6),t.Y36(p.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-delete-service-dialog"]],decls:2,vars:8,consts:[[3,"entityNames","entityType","relations","anotherMessage","loading","deleted"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"app-delete-entity-dialog",0),t.NdJ("deleted",function(s){return i.onSubmit(s)}),t.qZA(),t.qZA()),2&e&&(t.Tol(i.theme),t.xp6(1),t.Q6J("entityNames",i.dataSource)("entityType","services")("relations",i.relations)("anotherMessage",i.anotherMessage)("loading",i.loading))},directives:[Fy.e],styles:[""]}),n})();function Py(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().createService()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.SERVICES.CREATE")," "))}function Ry(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().deleteService()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"ADMIN.SERVICES.DELETE")," ")}}function Zy(n,r){1&n&&t._UZ(0,"mat-spinner",9)}function By(n,r){if(1&n&&t._UZ(0,"app-services-list",10),2&n){const e=t.oxw();t.Q6J("tableId",e.tableId)("selection",e.selection)("services",e.services)("filterValue",e.filterValue)}}let Uy=(()=>{class n{constructor(e,i,a){this.serviceManager=e,this.dialog=i,this.authResolver=a,this.selection=new P.Ov(!0,[]),this.loading=!1,this.filterValue="",this.tableId=fn.NL}ngOnInit(){this.serviceManager.getServices().subscribe(e=>{this.services=e,this.refreshTable()})}createService(){const e=(0,oe.kZ)();e.width="600px",e.data={theme:"admin-theme"},this.dialog.open(xu,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}deleteService(){const e=(0,oe.kZ)();e.width="600px",e.data={theme:"admin-theme",services:this.selection.selected},this.dialog.open(yu,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}refreshTable(){this.loading=!0,this.serviceManager.getServices().subscribe(e=>{this.services=e,this.selection.clear(),this.loading=!1})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.KK),t.Y36(R.uw),t.Y36(H.x4))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-services"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","class","action-button mr-2","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"tableId","selection","services","filterValue",4,"ngIf"],["color","accent","mat-flat-button","",1,"action-button","mr-2",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],[3,"tableId","selection","services","filterValue"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.YNc(5,Py,3,3,"button",2),t.YNc(6,Ry,3,4,"button",3),t.TgZ(7,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(8,Zy,1,0,"mat-spinner",5),t.YNc(9,By,1,4,"app-services-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,6,"ADMIN.SERVICES.TITLE")),t.xp6(3),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("placeholder","ADMIN.SERVICES.FILTER"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,_.O5,ot.lW,je.L,tt.$g,ci.Q],pipes:[p.X$],styles:[""]}),n})();var Gy=o(62109);function Vy(n,r){1&n&&t._UZ(0,"mat-spinner",5)}const zy=function(){return["id","name","vo","facility","description"]};function Hy(n,r){if(1&n&&t._UZ(0,"perun-web-apps-resources-list",6),2&n){const e=t.oxw();t.Q6J("tableId",e.tableId)("resources",e.resources)("filterValue",e.filterValue)("displayedColumns",t.DdM(4,zy))}}let Yy=(()=>{class n{constructor(e,i){this.userManager=e,this.route=i,this.resources=[],this.tableId=fn.kO,this.filterValue=""}ngOnInit(){this.refreshTable()}refreshTable(){this.loading=!0,this.route.parent.params.subscribe(e=>{this.userManager.getAssignedRichResourcesForUser(e.userId).subscribe(a=>{this.resources=a,this.loading=!1})})}resourceFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.Fv),t.Y36(m.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-perun-web-apps-user-resources"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","resources","filterValue","displayedColumns",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","resources","filterValue","displayedColumns"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(s){return i.resourceFilter(s)}),t.qZA(),t.YNc(6,Vy,1,0,"mat-spinner",3),t.YNc(7,Hy,1,5,"perun-web-apps-resources-list",4),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,4,"USER_DETAIL.RESOURCES.TITLE")),t.xp6(3),t.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,je.L,_.O5,tt.$g,Gy.C],pipes:[p.X$],styles:[""]}),n})();var Wy=o(61365),Xy=o(71103),$y=o(53984);const Jy=["list"];function Qy(n,r){1&n&&t._UZ(0,"mat-spinner",8)}function jy(n,r){if(1&n&&t._UZ(0,"perun-web-apps-attributes-list",9,10),2&n){const e=t.oxw();t.Q6J("tableId",e.tableId)("attributes",e.attributes)("selection",e.selection)}}let qy=(()=>{class n{constructor(e,i,a,s){this.dialog=e,this.attributesManager=i,this.userService=a,this.route=s,this.loading=!1,this.selection=new P.Ov(!0,[]),this.tableId=fn.rF,this.attributes=[]}ngOnInit(){this.route.params.subscribe(e=>{this.userService.getUserExtSourceById(e.identityId).subscribe(a=>{this.userExtSource=a,this.refreshTable()})})}refreshTable(){this.loading=!0,this.attributesManager.getUserExtSourceAttributes(this.userExtSource.id).subscribe(e=>{this.attributes=(0,oe.MX)(e),this.selection.clear(),this.loading=!1})}onAdd(){const e=(0,oe.kZ)();e.width="1050px",e.data={entityId:this.userExtSource.id,entity:"ues",notEmptyAttributes:this.attributes,style:"user-theme"},this.dialog.open(Xy.n,e).afterClosed().subscribe(a=>{"saved"===a&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const e=(0,oe.kZ)();e.width="450px",e.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(vu.wA,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}onRemove(){const e=(0,oe.kZ)();e.width="450px",e.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(Wy.k,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.uw),t.Y36(z.H8),t.Y36(z.Fv),t.Y36(m.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-identity-detail"]],viewQuery:function(e,i){if(1&e&&t.Gf(Jy,5),2&e){let a;t.iGM(a=t.CRH())&&(i.list=a.first)}},decls:26,vars:32,consts:[[1,"page-subtitle"],[1,"mb-2"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","attributes","selection",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","attributes","selection"],["list",""]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div"),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"div"),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"div",1),t._uU(11),t.ALo(12,"translate"),t.ALo(13,"date"),t.qZA(),t.TgZ(14,"perun-web-apps-refresh-button",2),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.TgZ(15,"button",3),t.NdJ("click",function(){return i.onSave()}),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.TgZ(18,"button",4),t.NdJ("click",function(){return i.onAdd()}),t._uU(19),t.ALo(20,"translate"),t.qZA(),t.TgZ(21,"button",5),t.NdJ("click",function(){return i.onRemove()}),t._uU(22),t.ALo(23,"translate"),t.qZA(),t.YNc(24,Qy,1,0,"mat-spinner",6),t.YNc(25,jy,2,3,"perun-web-apps-attributes-list",7),t.qZA()),2&e&&(t.xp6(2),t.AsE(" ",t.lcZ(3,15,"SHARED.IDENTITY_DETAIL.TITLE")," - ",i.userExtSource?i.userExtSource.extSource.name:""," "),t.xp6(3),t.AsE(" ",t.lcZ(6,17,"SHARED.IDENTITY_DETAIL.TYPE"),": ",i.userExtSource?i.userExtSource.extSource.type:""," "),t.xp6(3),t.AsE(" ",t.lcZ(9,19,"SHARED.IDENTITY_DETAIL.LOGIN"),": ",i.userExtSource?i.userExtSource.login:""," "),t.xp6(3),t.AsE(" ",t.lcZ(12,21,"SHARED.IDENTITY_DETAIL.LAST_ACCESS"),": ",i.userExtSource?t.xi3(13,23,i.userExtSource.lastAccess,"d.M.y H:mm:ss"):""," "),t.xp6(4),t.Q6J("disabled",0===i.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(17,26,"SHARED.IDENTITY_DETAIL.SAVE")," "),t.xp6(3),t.hij(" ",t.lcZ(20,28,"SHARED.IDENTITY_DETAIL.ADD")," "),t.xp6(2),t.Q6J("disabled",0===i.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(23,30,"SHARED.IDENTITY_DETAIL.REMOVE")," "),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,ot.lW,_.O5,tt.$g,$y.p],pipes:[p.X$,_.uU],styles:[""]}),n})();function Ky(n,r){1&n&&t._UZ(0,"mat-spinner",3)}function t1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",15),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).editService()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}function e1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).removeService()}),t.TgZ(1,"mat-icon"),t._uU(2,"delete_forever"),t.qZA(),t.qZA()}}const n1=function(){return{color:"black"}},i1=function(n){return["/admin/services",n]};function r1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",4),t._UZ(1,"mat-icon",5),t.ALo(2,"translate"),t.TgZ(3,"div",6),t.TgZ(4,"div",7),t.TgZ(5,"a",8),t._uU(6),t.qZA(),t.TgZ(7,"span",9),t._uU(8),t.qZA(),t.YNc(9,t1,3,0,"button",10),t.YNc(10,e1,3,0,"button",11),t.qZA(),t.TgZ(11,"span",12),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"div",12),t._uU(15),t.ALo(16,"translate"),t.TgZ(17,"span"),t._uU(18),t.ALo(19,"translate"),t.ALo(20,"translate"),t.TgZ(21,"button",13),t.NdJ("click",function(){return t.CHM(e),t.oxw().changeServiceStatus()}),t.TgZ(22,"mat-icon",14),t._uU(23),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.s9C("matTooltip",t.lcZ(2,12,"SERVICE_DETAIL.ENTITY")),t.Q6J("ngStyle",t.DdM(22,n1)),t.xp6(4),t.Q6J("routerLink",t.VKq(23,i1,e.service.id)),t.xp6(1),t.hij(" ",e.service.name," "),t.xp6(2),t.hij(" \xa0 #",e.service.id," "),t.xp6(1),t.Q6J("ngIf",e.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",e.authResolver.isPerunAdmin()),t.xp6(2),t.AsE(" ",t.lcZ(13,14,"SERVICE_DETAIL.DESCRIPTION"),": ",e.service.description," "),t.xp6(3),t.hij(" ",t.lcZ(16,16,"SERVICE_DETAIL.STATUS"),": "),t.xp6(3),t.hij(" ",e.service.enabled?t.lcZ(19,18,"SERVICE_DETAIL.ENABLED"):t.lcZ(20,20,"SERVICE_DETAIL.DISABLED")," "),t.xp6(5),t.hij(" ",e.service.enabled?"check_circle_outline":"block"," ")}}let a1=(()=>{class n{constructor(e,i,a,s,d,T,E,F,W,lt){this.route=e,this.router=i,this.serviceManager=a,this.sideMenuService=s,this.sideMenuItemService=d,this.dialog=T,this.authResolver=E,this.translate=F,this.notificator=W,this.entityStorageService=lt,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{this.serviceId=e.serviceId,this.refresh()})}refresh(){this.serviceManager.getServiceById(this.serviceId).subscribe(e=>{this.service=e,this.entityStorageService.setEntity({id:e.id,beanName:e.beanName});const i=this.sideMenuItemService.parseService(this.service);this.sideMenuService.setAdminItems([i]),this.loading=!1},()=>this.loading=!1)}editService(){const e=(0,oe.kZ)();e.width="600px",e.data={theme:"service-theme",service:this.service},this.dialog.open(xu,e).afterClosed().subscribe(a=>{a&&this.ngOnInit()})}removeService(){const e=(0,oe.kZ)();e.width="600px",e.data={theme:"service-theme",services:[this.service]},this.dialog.open(yu,e).afterClosed().subscribe(a=>{a&&this.router.navigate(["/admin/services"])})}changeServiceStatus(){this.loading=!0,this.serviceManager.updateService({service:{name:this.service.name,description:this.service.description,delay:this.service.delay,recurrence:this.service.recurrence,enabled:!this.service.enabled,script:this.service.script,id:this.service.id,beanName:this.service.beanName}}).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.STATUS_CHANGE_SUCCESS")),this.refresh()},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(m.gz),t.Y36(m.F0),t.Y36(z.KK),t.Y36(c.D),t.Y36(l.V),t.Y36(R.uw),t.Y36(H.x4),t.Y36(p.sK),t.Y36(H.V6),t.Y36(H.fb))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-service-detail-page"]],decls:5,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","service-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","d-flex page-title-headtitle",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-service",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"service-link",3,"routerLink"],[1,"text-muted"],["aria-label","Edit service","mat-icon-button","",3,"click",4,"ngIf"],["aria-label","Remove service","mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","",3,"click"],[1,"align-content-center"],["aria-label","Edit service","mat-icon-button","",3,"click"],["aria-label","Remove service","mat-icon-button","",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"perun-web-apps-back-button"),t.YNc(2,Ky,1,0,"mat-spinner",1),t.YNc(3,r1,24,25,"div",2),t._UZ(4,"app-animated-router-outlet"),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading&&void 0!==i.service))},directives:[h.W,_.O5,tt.$g,g.Hw,Ut.gM,_.PC,m.yS,ot.lW,f.A],pipes:[p.X$],styles:[""],data:{animation:[En.Ji]}}),n})(),s1=(()=>{class n{constructor(){this.navItems=[]}ngOnInit(){this.initNavItems()}initNavItems(){this.navItems=[{cssIcon:"perun-attributes",url:"required-attributes",label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",style:"service-btn"},{cssIcon:"perun-service_destination",url:"destinations",label:"MENU_ITEMS.SERVICE.DESTINATIONS",style:"service-btn"}]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-service-overview"]],decls:1,vars:2,consts:[[3,"items","size"]],template:function(e,i){1&e&&t._UZ(0,"perun-web-apps-menu-buttons-field",0),2&e&&t.Q6J("items",i.navItems)("size","small")},directives:[L.L],styles:[""]}),n})();var o1=o(5254),l1=o(21406),c1=o(826),u1=o(69054);class d1{constructor(r,e){this.keySelector=r,this.flushes=e}call(r,e){return e.subscribe(new f1(r,this.keySelector,this.flushes))}}class f1 extends c1.L{constructor(r,e,i){super(r),this.keySelector=e,this.values=new Set,i&&this.add((0,u1.D)(this,i))}notifyNext(r,e,i,a,s){this.values.clear()}notifyError(r,e){this._error(r)}_next(r){this.keySelector?this._useKeySelector(r):this._finalizeNext(r,r)}_useKeySelector(r){let e;const{destination:i}=this;try{e=this.keySelector(r)}catch(a){return void i.error(a)}this._finalizeNext(e,r)}_finalizeNext(r,e){const{values:i}=this;i.has(r)||(i.add(r),this.destination.next(e))}}var p1=o(61709),Tu=o(92014),bu=o(92821),m1=o(47314),Cu=o(4843);function _1(n,r){1&n&&t._UZ(0,"mat-spinner",4)}function v1(n,r){1&n&&(t.TgZ(0,"app-alert",9),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.Q6J("alert_type","warn"),t.xp6(1),t.Oqu(t.lcZ(2,2,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.ACTIVE_WARN")))}function x1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",5),t.YNc(1,v1,3,4,"app-alert",6),t.ALo(2,"async"),t.TgZ(3,"perun-web-apps-immediate-filter",7),t.NdJ("filter",function(a){return t.CHM(e),t.oxw().applyFilter(a)}),t.qZA(),t._UZ(4,"app-attr-def-list",8),t.ALo(5,"async"),t.ALo(6,"async"),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",t.lcZ(2,8,e.serviceEnabled$)),t.xp6(2),t.Q6J("placeholder","DIALOGS.ADD_REQUIRED_ATTRIBUTES.FILTER"),t.xp6(1),t.Q6J("selection",e.selection)("definitions",e.attrDefinitions)("disableRouting",!0)("filterValue",e.filterValue)("serviceEnabled",t.lcZ(5,10,e.serviceEnabled$))("consentRequired",t.lcZ(6,12,e.consentRequired$))}}function y1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",10),t.TgZ(1,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAdd()}),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,3,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.CANCEL")," "),t.xp6(2),t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(6,5,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.ADD")," ")}}let T1=(()=>{class n{constructor(e,i,a,s,d,T,E,F){this.dialogRef=e,this.data=i,this.serviceManager=a,this.attributesManager=s,this.facilitiesService=d,this.consentHubService=T,this.notificator=E,this.translate=F,this.consentRequired$=this.facilitiesService.getAssignedFacilitiesByService(this.data.serviceId).pipe((0,l1.b)(o1.D),(0,as.U)(W=>W.id),function h1(n,r){return e=>e.lift(new d1(n,r))}(),(0,p1.zg)(W=>this.consentHubService.getConsentHubByFacility(W)),function g1(n,r){return arguments.length>=2?function(i){return(0,Cu.z)((0,Tu.R)(n,r),(0,bu.h)(1),(0,m1.d)(r))(i)}:function(i){return(0,Cu.z)((0,Tu.R)((a,s,d)=>n(a,s,d+1)),(0,bu.h)(1))(i)}}((W,lt)=>W||lt.enforceConsents,!1),(0,rs.O)(!0)),this.serviceEnabled$=this.serviceManager.getServiceById(this.data.serviceId).pipe((0,as.U)(W=>W.enabled),(0,rs.O)(!0)),this.attrDefinitions=[],this.selection=new P.Ov(!0,[]),this.filterValue="",this.loading=!1}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.serviceId=this.data.serviceId,this.attributesManager.getAllAttributeDefinitions().subscribe(e=>{this.attrDefinitions=e,this.loading=!1})}onAdd(){this.loading=!0;const e=this.selection.selected.map(i=>i.id);this.serviceManager.addRequiredAttributes(this.serviceId,e).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_REQUIRED_ATTRIBUTES.SUCCESS")),this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(z.KK),t.Y36(z.H8),t.Y36(z.IQ),t.Y36(z.WY),t.Y36(H.V6),t.Y36(p.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-add-required-attributes"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"alert_type",4,"ngIf"],[3,"placeholder","filter"],[3,"selection","definitions","disableRouting","filterValue","serviceEnabled","consentRequired"],[3,"alert_type"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,_1,1,0,"mat-spinner",1),t.YNc(5,x1,7,14,"div",2),t.YNc(6,y1,7,7,"div",3),t.qZA()),2&e&&(t.Tol(i.theme),t.xp6(2),t.Oqu(t.lcZ(3,7,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.TITLE")),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[R.uh,_.O5,tt.$g,R.xY,rt.w,je.L,Xt,R.H8,ot.lW],pipes:[p.X$,_.Ov],styles:[""]}),n})();function b1(n,r){1&n&&t._UZ(0,"mat-spinner",6)}function C1(n,r){1&n&&t._UZ(0,"th",15)}function w1(n,r){if(1&n&&(t.TgZ(0,"td",16),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.friendlyName)}}function A1(n,r){1&n&&t._UZ(0,"tr",17)}function E1(n,r){1&n&&t._UZ(0,"tr",18)}function S1(n,r){if(1&n&&(t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,C1,1,0,"th",11),t.YNc(10,w1,2,1,"td",12),t.BQk(),t.YNc(11,A1,1,0,"tr",13),t.YNc(12,E1,1,0,"tr",14),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,5,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.DESCRIPTION")),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.ASK")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let D1=(()=>{class n{constructor(e,i,a,s,d){this.dialogRef=e,this.data=i,this.serviceManager=a,this.notificator=s,this.translate=d,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.serviceId=this.data.serviceId,this.dataSource=new Z.by(this.data.attrDefinitions)}onConfirm(){this.loading=!0;const e=this.dataSource.data.map(i=>i.id);this.serviceManager.removeRequiredAttributes(this.serviceId,e).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.SUCCESS")),this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(z.KK),t.Y36(H.V6),t.Y36(p.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-remove-required-attributes"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,b1,1,0,"mat-spinner",1),t.YNc(5,S1,13,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return i.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return i.onConfirm()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,9,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.TITLE")),t.xp6(2),t.Tol(i.theme),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.CANCEL")," "),t.xp6(2),t.Q6J("disabled",i.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.REMOVE")," "))},directives:[R.uh,_.O5,tt.$g,R.xY,Z.BZ,Z.w1,Z.fO,Z.ge,Z.Dz,Z.ev,Z.as,Z.XQ,Z.nj,Z.Gk,R.H8,ot.lW],pipes:[p.X$],styles:[""]}),n})();function L1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAdd()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.ADD")," "))}function k1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onRemove()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.REMOVE")," ")}}function I1(n,r){1&n&&t._UZ(0,"mat-spinner",9)}function M1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"app-attr-def-list",10),t.NdJ("refreshEvent",function(){return t.CHM(e),t.oxw().refreshTable()}),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("tableId",e.tableId)("definitions",e.attrDefinitions)("selection",e.selection)("filterValue",e.filterValue)("disableRouting",!e.authResolver.isPerunAdmin())}}let O1=(()=>{class n{constructor(e,i,a,s){this.attributeManager=e,this.dialog=i,this.authResolver=a,this.entityStorageService=s,this.loading=!1,this.filterValue="",this.selection=new P.Ov(!0,[]),this.attrDefinitions=[],this.tableId=fn.JO}ngOnInit(){this.loading=!0,this.service=this.entityStorageService.getEntity(),this.refreshTable()}refreshTable(){this.loading=!0,this.attributeManager.getRequiredAttributesDefinition(this.service.id).subscribe(e=>{this.selection.clear(),this.attrDefinitions=e,this.loading=!1})}onAdd(){const e=(0,oe.kZ)();e.width="950px",e.data={serviceId:this.service.id,theme:"service-theme"},this.dialog.open(T1,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}onRemove(){const e=(0,oe.kZ)();e.width="650px",e.data={serviceId:this.service.id,attrDefinitions:this.selection.selected,theme:"service-theme"},this.dialog.open(D1,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.H8),t.Y36(R.uw),t.Y36(H.x4),t.Y36(H.fb))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-service-required-attributes"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","definitions","selection","filterValue","disableRouting","refreshEvent",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","definitions","selection","filterValue","disableRouting","refreshEvent"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.YNc(5,L1,3,3,"button",2),t.YNc(6,k1,3,4,"button",3),t.TgZ(7,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(8,I1,1,0,"mat-spinner",5),t.YNc(9,M1,1,5,"app-attr-def-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,6,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.TITLE")),t.xp6(3),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("placeholder","SERVICE_DETAIL.REQUIRED_ATTRIBUTES.FILTER"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,_.O5,ot.lW,je.L,tt.$g,Xt],pipes:[p.X$],styles:[""]}),n})();var N1=o(46597),F1=o(89466),P1=o(70242);function R1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onRemove()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.REMOVE")," ")}}function Z1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAllow()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.ALLOW")," ")}}function B1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onBlock()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.BLOCK")," ")}}function U1(n,r){1&n&&t._UZ(0,"mat-spinner",9)}const G1=function(){return["select","destinationId","facility","destination","type","status","propagationType"]};function V1(n,r){if(1&n&&t._UZ(0,"app-perun-web-apps-destination-list",10),2&n){const e=t.oxw();t.Q6J("destinations",e.destinations)("selection",e.selection)("tableId",e.tableId)("displayedColumns",t.DdM(5,G1))("filterValue",e.filterValue)}}let z1=(()=>{class n{constructor(e,i,a,s,d,T){this.serviceManager=e,this.notificator=i,this.translate=a,this.dialog=s,this.authResolver=d,this.entityStorageService=T,this.loading=!1,this.filterValue="",this.destinations=[],this.selection=new P.Ov(!0,[]),this.tableId=fn.Cf}ngOnInit(){this.loading=!0,this.service=this.entityStorageService.getEntity(),this.refreshTable()}refreshTable(){this.loading=!0,this.serviceManager.getAllRichDestinationsForService(this.service.id).subscribe(e=>{this.selection.clear(),this.filterValue="",this.destinations=e,this.loading=!1})}blockServiceOnDestinations(e){if(0===e.length)return this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.DESTINATIONS.BLOCK_SUCCESS")),void this.refreshTable();const i=e.pop();this.serviceManager.blockServiceOnDestination(this.service.id,i.id).subscribe(()=>{this.blockServiceOnDestinations(e)},()=>this.loading=!1)}onBlock(){this.loading=!0,this.blockServiceOnDestinations(this.selection.selected)}allowServiceOnDestinations(e){if(0===e.length)return this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.DESTINATIONS.ALLOW_SUCCESS")),void this.refreshTable();const i=e.pop();this.serviceManager.unblockServiceOnDestinationById(this.service.id,i.id).subscribe(()=>{this.allowServiceOnDestinations(e)},()=>this.loading=!1)}onAllow(){this.loading=!0,this.allowServiceOnDestinations(this.selection.selected)}onRemove(){const e=(0,oe.kZ)();e.width="500px",e.data={destinations:this.selection.selected,theme:"admin-theme"},this.dialog.open(F1.u,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.KK),t.Y36(H.V6),t.Y36(p.sK),t.Y36(R.uw),t.Y36(H.x4),t.Y36(H.fb))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-service-destinations"]],decls:11,vars:9,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"destinations","selection","tableId","displayedColumns","filterValue",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"destinations","selection","tableId","displayedColumns","filterValue"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.YNc(5,R1,3,4,"button",2),t.YNc(6,Z1,3,4,"button",3),t.YNc(7,B1,3,4,"button",2),t.TgZ(8,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(9,U1,1,0,"mat-spinner",5),t.YNc(10,V1,1,6,"app-perun-web-apps-destination-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,7,"SERVICE_DETAIL.DESTINATIONS.TITLE")),t.xp6(3),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("ngIf",i.authResolver.isPerunAdmin()),t.xp6(1),t.Q6J("placeholder","SERVICE_DETAIL.DESTINATIONS.FILTER"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,_.O5,ot.lW,je.L,tt.$g,P1.q],pipes:[p.X$],styles:[""]}),n})();function H1(n,r){1&n&&t._UZ(0,"mat-spinner",4)}function Y1(n,r){1&n&&t._UZ(0,"th",13)}function W1(n,r){if(1&n&&(t.TgZ(0,"td",14),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.name)}}function X1(n,r){1&n&&t._UZ(0,"tr",15)}function $1(n,r){1&n&&t._UZ(0,"tr",16)}function J1(n,r){if(1&n&&(t.TgZ(0,"div",5),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",6),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",7),t.ynx(8,8),t.YNc(9,Y1,1,0,"th",9),t.YNc(10,W1,2,1,"td",10),t.BQk(),t.YNc(11,X1,1,0,"tr",11),t.YNc(12,$1,1,0,"tr",12),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,"DIALOGS.DELETE_OWNER.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.DELETE_OWNER.ASK")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}function Q1(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",17),t.TgZ(1,"button",18),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"button",19),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSubmit()}),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,3,"DIALOGS.DELETE_OWNER.CANCEL")," "),t.xp6(2),t.Q6J("disabled",e.loading),t.xp6(1),t.hij(" ",t.lcZ(6,5,"DIALOGS.DELETE_OWNER.DELETE")," ")}}let j1=(()=>{class n{constructor(e,i,a,s,d){this.dialogRef=e,this.data=i,this.notificator=a,this.translate=s,this.ownersManagerService=d,this.displayedColumns=["name"],this.owners=[]}ngOnInit(){this.dataSource=new Z.by(this.data),this.owners=this.data}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.owners.length?this.ownersManagerService.deleteOwner(this.owners.pop().id).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):this.translate.get("DIALOGS.DELETE_OWNER.SUCCESS").subscribe(e=>{this.loading=!1,this.notificator.showSuccess(e),this.dialogRef.close(!0)})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(H.V6),t.Y36(p.sK),t.Y36(z.aC))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-delete-owner-dialog"]],decls:6,vars:6,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,H1,1,0,"mat-spinner",1),t.YNc(4,J1,13,9,"div",2),t.YNc(5,Q1,7,7,"div",3)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,4,"DIALOGS.DELETE_OWNER.TITLE")),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[R.uh,_.O5,tt.$g,R.xY,Z.BZ,Z.w1,Z.fO,Z.ge,Z.Dz,Z.ev,Z.as,Z.XQ,Z.nj,Z.Gk,R.H8,ot.lW],pipes:[p.X$],styles:[""]}),n})();function q1(n,r){1&n&&t._UZ(0,"mat-spinner",4)}function K1(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_OWNER.FILL_CONTACT")," "))}function tT(n,r){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_OWNER.CONTACT_FORMAT")," "))}function eT(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",5),t.TgZ(2,"mat-form-field"),t._UZ(3,"input",6),t.ALo(4,"translate"),t.TgZ(5,"mat-error"),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.qZA(),t.TgZ(8,"mat-form-field"),t._UZ(9,"input",6),t.ALo(10,"translate"),t.YNc(11,K1,3,3,"mat-error",3),t.YNc(12,tT,3,3,"mat-error",3),t.qZA(),t.TgZ(13,"mat-form-field"),t.TgZ(14,"mat-select",7),t.NdJ("valueChange",function(a){return t.CHM(e),t.oxw().type=a}),t.TgZ(15,"mat-option",8),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.TgZ(18,"mat-option",9),t._uU(19),t.ALo(20,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(21,"div",10),t.TgZ(22,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(23),t.ALo(24,"translate"),t.qZA(),t.TgZ(25,"div",12),t.ALo(26,"translate"),t.TgZ(27,"button",13),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSubmit()}),t._uU(28),t.ALo(29,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(3),t.s9C("placeholder",t.lcZ(4,15,"DIALOGS.ADD_OWNER.NAME")),t.Q6J("formControl",e.nameCtrl),t.xp6(3),t.hij(" ",t.lcZ(7,17,"DIALOGS.ADD_OWNER.FILL_NAME")," "),t.xp6(3),t.s9C("placeholder",t.lcZ(10,19,"DIALOGS.ADD_OWNER.CONTACT")),t.Q6J("formControl",e.contactCtrl),t.xp6(2),t.Q6J("ngIf",e.contactCtrl.hasError("required")),t.xp6(1),t.Q6J("ngIf",e.contactCtrl.invalid&&!e.contactCtrl.hasError("required")),t.xp6(2),t.Q6J("value",e.type),t.xp6(2),t.Oqu(t.lcZ(17,21,"DIALOGS.ADD_OWNER.TYPE1")),t.xp6(3),t.Oqu(t.lcZ(20,23,"DIALOGS.ADD_OWNER.TYPE2")),t.xp6(4),t.hij(" ",t.lcZ(24,25,"DIALOGS.ADD_OWNER.CANCEL")," "),t.xp6(2),t.s9C("matTooltip",t.lcZ(26,27,"DIALOGS.ADD_OWNER.TOOLTIP")),t.Q6J("matTooltipDisabled",e.nameCtrl.valid&&e.contactCtrl.valid),t.xp6(2),t.Q6J("disabled",e.nameCtrl.invalid||e.contactCtrl.invalid),t.xp6(1),t.hij(" ",t.lcZ(29,29,"DIALOGS.ADD_OWNER.CREATE")," ")}}let nT=(()=>{class n{constructor(e,i,a,s){this.dialogRef=e,this.notificator=i,this.ownersManagerService=a,this.translate=s,this.type="1",s.get("DIALOGS.ADD_OWNER.SUCCESS").subscribe(d=>this.successMessage=d)}ngOnInit(){this.nameCtrl=new ft.NI(null,[ft.kI.required,ft.kI.pattern("^[\\w.-]+( [\\w.-]+)*$")]),this.contactCtrl=new ft.NI(null,[ft.kI.required,ft.kI.pattern(oe.B2)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.ownersManagerService.createOwner({name:this.nameCtrl.value,contact:this.contactCtrl.value,ownerType:Number(this.type)}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(H.V6),t.Y36(z.aC),t.Y36(p.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-add-owner-dialog"]],decls:6,vars:5,consts:[[1,"admin-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","formControl"],[3,"value","valueChange"],["value","1"],["value","0"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"h1",1),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,q1,1,0,"mat-spinner",2),t.YNc(5,eT,30,31,"div",3),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,3,"DIALOGS.ADD_OWNER.TITLE")),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[R.uh,_.O5,tt.$g,R.xY,G.KE,M.Nt,ft.Fj,ft.Q7,ft.JJ,ft.oH,G.TO,Zt.gD,Ht.ey,R.H8,ot.lW,Ut.gM],pipes:[p.X$],styles:[""]}),n})();var iT=o(23256);function rT(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().addOwner()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"ADMIN.OWNERS.ADD")," "))}function aT(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().removeOwner()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("disabled",!e.selected.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"ADMIN.OWNERS.DELETE")," ")}}function sT(n,r){1&n&&t._UZ(0,"mat-spinner",9)}function oT(n,r){if(1&n&&t._UZ(0,"perun-web-apps-owners-list",10),2&n){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("owners",e.owners)("selection",e.selected)}}let lT=(()=>{class n{constructor(e,i,a){this.ownersManagerService=e,this.dialog=i,this.guiAuthResolver=a,this.owners=[],this.selected=new P.Ov(!0,[]),this.filterValue="",this.tableId=fn.v1}ngOnInit(){this.setAuth(),this.refreshTable()}setAuth(){this.removeAuth=this.guiAuthResolver.isAuthorized("deleteOwner_Owner_policy",[]),this.addAuth=this.guiAuthResolver.isAuthorized("createOwner_Owner_policy",[])}refreshTable(){this.loading=!0,this.ownersManagerService.getAllOwners().subscribe(e=>{this.owners=e,this.selected.clear(),this.loading=!1})}applyFilter(e){this.filterValue=e}addOwner(){const e=(0,oe.kZ)();e.width="400px",e.data={},this.dialog.open(nT,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}removeOwner(){const e=(0,oe.kZ)();e.width="400px",e.data=this.selected.selected,this.dialog.open(j1,e).afterClosed().subscribe(a=>{a&&(this.selected.clear(),this.refreshTable())})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.aC),t.Y36(R.uw),t.Y36(H.x4))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-owners"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","owners","selection",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","owners","selection"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.YNc(5,rT,3,3,"button",2),t.YNc(6,aT,3,4,"button",3),t.TgZ(7,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(8,sT,1,0,"mat-spinner",5),t.YNc(9,oT,1,4,"perun-web-apps-owners-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,6,"ADMIN.OWNERS.TITLE")),t.xp6(3),t.Q6J("ngIf",i.addAuth),t.xp6(1),t.Q6J("ngIf",i.removeAuth),t.xp6(1),t.Q6J("placeholder","ADMIN.OWNERS.FILTER"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,_.O5,ot.lW,je.L,tt.$g,iT.Q],pipes:[p.X$],styles:[""]}),n})();var cT=o(74010);function uT(n,r){1&n&&t._UZ(0,"mat-spinner",5)}function hT(n,r){if(1&n&&t._UZ(0,"perun-web-apps-facilities-list",6),2&n){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("facilities",e.facilities)("displayedColumns",e.displayedColumns)}}let dT=(()=>{class n{constructor(e,i){this.facilityManager=e,this.route=i,this.facilities=[],this.filterValue="",this.tableId=fn.zW,this.displayedColumns=["id","name","description"]}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(e=>{this.userId=e.userId,this.refreshTable()})}refreshTable(){this.loading=!0,this.facilityManager.getAssignedFacilitiesByUser(this.userId).subscribe(e=>{this.facilities=e.map(i=>({facility:i})),this.loading=!1})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.IQ),t.Y36(m.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-user-facilities"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","facilities","displayedColumns",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","facilities","displayedColumns"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(6,uT,1,0,"mat-spinner",3),t.YNc(7,hT,1,4,"perun-web-apps-facilities-list",4),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,4,"USER_DETAIL.FACILITIES.TITLE")),t.xp6(3),t.Q6J("placeholder","USER_DETAIL.FACILITIES.FILTER_PLACEHOLDER"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,je.L,_.O5,tt.$g,cT.X],pipes:[p.X$],styles:[""]}),n})();var fT=o(62707),Sr=o(53251),pT=o(60526),mT=o(24179),gT=o(12651),_T=o(19191);function vT(n,r){1&n&&t._UZ(0,"mat-spinner",6)}function xT(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"perun-web-apps-vo-search-select",7),t.NdJ("voSelected",function(a){return t.CHM(e),t.oxw().loadMember(a)}),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("vos",e.vos)("vo",e.vos[0])}}function yT(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.hij(" ",t.lcZ(1,1,"USER_DETAIL.ACCOUNTS.STATUS")," ")}function TT(n,r){1&n&&t._UZ(0,"mat-spinner",6)}const bT=function(){return["id","recent","name","description","groupStatus","expiration"]};function CT(n,r){if(1&n&&t._UZ(0,"perun-web-apps-groups-list",16),2&n){const e=t.oxw(4);t.Q6J("groups",e.groups)("displayedColumns",t.DdM(2,bT))}}const wT=function(n,r){return["/organizations",n,"members",r]};function AT(n,r){if(1&n&&(t.TgZ(0,"div"),t.TgZ(1,"div",10),t.TgZ(2,"span",11),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"a",12),t._uU(6),t.qZA(),t.qZA(),t._UZ(7,"app-member-overview-membership",13),t.TgZ(8,"p",14),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.YNc(11,CT,1,3,"perun-web-apps-groups-list",15),t.qZA()),2&n){const e=t.oxw(3);t.xp6(3),t.hij("",t.lcZ(4,7,"USER_DETAIL.ACCOUNTS.MEMBER"),":"),t.xp6(2),t.Q6J("routerLink",t.WLB(11,wT,e.selectedVo.id,e.member.id)),t.xp6(1),t.hij("",e.member.id," "),t.xp6(1),t.Q6J("member",e.member)("vo",e.selectedVo),t.xp6(2),t.Oqu(t.lcZ(10,9,"USER_DETAIL.ACCOUNTS.GROUPS")),t.xp6(2),t.Q6J("ngIf",!e.loading)}}function ET(n,r){if(1&n&&(t.YNc(0,TT,1,0,"mat-spinner",1),t.YNc(1,AT,12,14,"div",4)),2&n){const e=t.oxw(2);t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading)}}function ST(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.hij(" ",t.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_ATT")," ")}function DT(n,r){1&n&&t._UZ(0,"mat-spinner")}function LT(n,r){if(1&n&&t._UZ(0,"app-one-entity-attribute-page",18),2&n){const e=t.oxw(3);t.Q6J("entity","member")("entityId",e.member.id)}}function kT(n,r){if(1&n&&(t.YNc(0,DT,1,0,"mat-spinner",4),t.YNc(1,LT,1,2,"app-one-entity-attribute-page",17)),2&n){const e=t.oxw(2);t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading)}}function IT(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.hij(" ",t.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_GROUP_ATT")," ")}function MT(n,r){1&n&&t._UZ(0,"mat-spinner")}function OT(n,r){if(1&n&&t._UZ(0,"app-two-entity-attribute-page",20),2&n){const e=t.oxw(3);t.Q6J("firstEntity","member")("firstEntityId",e.member.id)("secondEntity","group")}}function NT(n,r){if(1&n&&(t.YNc(0,MT,1,0,"mat-spinner",4),t.YNc(1,OT,1,3,"app-two-entity-attribute-page",19)),2&n){const e=t.oxw(2);t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading)}}function FT(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.hij(" ",t.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_RESOURCE_ATT")," ")}function PT(n,r){1&n&&t._UZ(0,"mat-spinner")}function RT(n,r){if(1&n&&t._UZ(0,"app-two-entity-attribute-page",20),2&n){const e=t.oxw(3);t.Q6J("firstEntity","member")("firstEntityId",e.member.id)("secondEntity","resource")}}function ZT(n,r){if(1&n&&(t.YNc(0,PT,1,0,"mat-spinner",4),t.YNc(1,RT,1,3,"app-two-entity-attribute-page",19)),2&n){const e=t.oxw(2);t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading)}}function BT(n,r){1&n&&(t.TgZ(0,"mat-tab-group"),t.TgZ(1,"mat-tab"),t.YNc(2,yT,2,3,"ng-template",8),t.YNc(3,ET,2,2,"ng-template",9),t.qZA(),t.TgZ(4,"mat-tab"),t.YNc(5,ST,2,3,"ng-template",8),t.YNc(6,kT,2,2,"ng-template",9),t.qZA(),t.TgZ(7,"mat-tab"),t.YNc(8,IT,2,3,"ng-template",8),t.YNc(9,NT,2,2,"ng-template",9),t.qZA(),t.TgZ(10,"mat-tab"),t.YNc(11,FT,2,3,"ng-template",8),t.YNc(12,ZT,2,2,"ng-template",9),t.qZA(),t.qZA())}function UT(n,r){1&n&&(t.TgZ(0,"app-alert",21),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"USER_DETAIL.ACCOUNTS.NO_VOS")))}let GT=(()=>{class n{constructor(e,i,a,s){this.route=e,this.usersService=i,this.membersService=a,this.groupService=s,this.initLoading=!1,this.loading=!1,this.vos=[],this.selectedVo=null,this.member=null,this.groups=[]}ngOnInit(){this.initLoading=!0,this.route.parent.params.subscribe(e=>{this.userId=e.userId,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(i=>{this.vos=i,this.initLoading=!1},()=>this.initLoading=!1)})}loadMember(e){this.loading=!0,this.selectedVo=e,this.membersService.getMemberByUser(this.selectedVo.id,this.userId).subscribe(i=>{this.member=i,this.groupService.getMemberRichGroupsWithAttributesByNames(this.member.id,["urn:perun:member_group:attribute-def:virt:groupStatus"]).subscribe(a=>{this.groups=a,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(m.gz),t.Y36(z.Fv),t.Y36(z.uq),t.Y36(z.ff))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-perun-web-apps-user-accounts"]],decls:8,vars:7,consts:[[1,"page-title"],["class","ml-auto mr-auto",4,"ngIf"],[1,"d-flex"],["class","w-50",3,"vos","vo","voSelected",4,"ngIf"],[4,"ngIf"],["alert_type","warn",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"w-50",3,"vos","vo","voSelected"],["matTabLabel",""],["matTabContent",""],[1,"mt-4","mb-4"],[1,"subtitle","mr-2"],["queryParamsHandling","merge",1,"member-link",3,"routerLink"],[3,"member","vo"],[1,"mt-4","subtitle"],[3,"groups","displayedColumns",4,"ngIf"],[3,"groups","displayedColumns"],[3,"entity","entityId",4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity",4,"ngIf"],[3,"firstEntity","firstEntityId","secondEntity"],["alert_type","warn"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,vT,1,0,"mat-spinner",1),t.TgZ(4,"div",2),t.YNc(5,xT,1,2,"perun-web-apps-vo-search-select",3),t.qZA(),t.YNc(6,BT,13,0,"mat-tab-group",4),t.YNc(7,UT,3,3,"app-alert",5)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,5,"USER_DETAIL.ACCOUNTS.TITLE")),t.xp6(2),t.Q6J("ngIf",i.initLoading),t.xp6(2),t.Q6J("ngIf",!(i.initLoading||0===i.vos.length)),t.xp6(1),t.Q6J("ngIf",!(i.initLoading||0===i.vos.length)),t.xp6(1),t.Q6J("ngIf",!i.initLoading&&0===i.vos.length))},directives:[_.O5,tt.$g,fT.M,Sr.SP,Sr.uX,Sr.uD,Sr.Vc,m.yS,pT.b,mT.W,gT.t,_T.Y,rt.w],pipes:[p.X$],styles:[".subtitle[_ngcontent-%COMP%]{font-size:1.2rem}"]}),n})(),wu=(()=>{class n{transform(e){if(e)return e.split(".").pop()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"parseEventName",type:n,pure:!0}),n})();function VT(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.hij(" ",t.lcZ(1,1,"DIALOGS.AUDIT_MESSAGE_DETAIL.OBJECTS")," ")}function zT(n,r){if(1&n&&t._UZ(0,"pre",9),2&n){const e=t.oxw();t.Q6J("innerHTML",e.syntaxHighlight(e.eventData),t.oJD)}}function HT(n,r){1&n&&(t._uU(0),t.ALo(1,"translate")),2&n&&t.hij(" ",t.lcZ(1,1,"DIALOGS.AUDIT_MESSAGE_DETAIL.MESSAGE")," ")}function YT(n,r){if(1&n&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Oqu(e.message)}}let WT=(()=>{class n{constructor(e,i,a){this.dialogRef=e,this.data=i,this.clipboard=a,this.tabIndex=0,this.eventData={}}ngOnInit(){const e=this.data.message.event;this.actor=this.data.message.actor,this.createdAt=this.data.message.createdAt,e.message&&(this.message=e.message,delete e.message),e.name&&(this.title=e.name,delete e.name),this.eventData=e}tabChanged(e){this.tabIndex=e.index}copyObjects(){this.clipboard.copy(JSON.stringify(this.eventData,null,2))}copyMessage(){this.clipboard.copy(this.message)}syntaxHighlight(e){return"string"!=typeof e&&(e=JSON.stringify(e,void 0,2)),(e=e.replace(/&/g,"&").replace(//g,">")).replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)/g,function(i){let a="number";return/^"/.test(i)?a=/:$/.test(i)?"key":"string":/true|false/.test(i)?a="boolean":/null/.test(i)&&(a="null"),''+i+""})}onClose(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI),t.Y36(Be.TU))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-audit-message-detail-dialog"]],decls:26,vars:19,consts:[[1,"admin-theme"],["mat-dialog-title",""],["mat-dialog-content",""],[3,"selectedTabChange"],["matTabLabel",""],["matTabContent",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-button","",3,"click"],[3,"innerHTML"]],template:function(e,i){if(1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"h1",1),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"parseEventName"),t.qZA(),t.TgZ(5,"div",2),t.TgZ(6,"div"),t._uU(7),t.ALo(8,"translate"),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"mat-tab-group",3),t.NdJ("selectedTabChange",function(s){return i.tabChanged(s)}),t.TgZ(11,"mat-tab"),t.YNc(12,VT,2,3,"ng-template",4),t.YNc(13,zT,1,1,"ng-template",5),t.qZA(),t.TgZ(14,"mat-tab"),t.YNc(15,HT,2,3,"ng-template",4),t.YNc(16,YT,2,1,"ng-template",5),t.qZA(),t.qZA(),t.qZA(),t.TgZ(17,"div",6),t.TgZ(18,"button",7),t.NdJ("click",function(){return i.onClose()}),t._uU(19),t.ALo(20,"translate"),t.qZA(),t.TgZ(21,"button",8),t.NdJ("click",function(){return 0===i.tabIndex?i.copyObjects():i.copyMessage()}),t._uU(22),t.ALo(23,"translate"),t.TgZ(24,"mat-icon"),t._uU(25,"content_copy"),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e){let a;t.xp6(2),t.hij(" ",t.lcZ(3,7,null!==(a=t.lcZ(4,9,i.title))&&void 0!==a?a:"DIALOGS.AUDIT_MESSAGE_DETAIL.TITLE")," "),t.xp6(5),t.HOy(" ",t.lcZ(8,11,"DIALOGS.AUDIT_MESSAGE_DETAIL.ACTOR"),": ",i.actor,", ",t.lcZ(9,13,"DIALOGS.AUDIT_MESSAGE_DETAIL.CREATED_AT"),": ",i.createdAt," "),t.xp6(12),t.hij(" ",t.lcZ(20,15,"DIALOGS.AUDIT_MESSAGE_DETAIL.CLOSE")," "),t.xp6(3),t.hij(" ",t.lcZ(23,17,"DIALOGS.AUDIT_MESSAGE_DETAIL.COPY")," ")}},directives:[R.uh,R.xY,Sr.SP,Sr.uX,Sr.uD,Sr.Vc,R.H8,ot.lW,g.Hw],pipes:[p.X$,wu],styles:[".key{color:brown}.string{color:green}.number{color:#ff8c00}.boolean{color:#00f}.null{color:#f0f}\n"],encapsulation:2}),n})();var XT=o(86087),$T=o(36787),JT=o(62383);function QT(n,r){1&n&&(t.TgZ(0,"div",16),t._UZ(1,"mat-spinner",17),t.qZA())}function jT(n,r){1&n&&(t.TgZ(0,"th",18),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"AUDIT_MESSAGES_LIST.ID")," "))}function qT(n,r){if(1&n&&(t.TgZ(0,"td",19),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.hij(" ",e.id," ")}}function KT(n,r){1&n&&(t.TgZ(0,"th",18),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"AUDIT_MESSAGES_LIST.TIMESTAMP")," "))}function tb(n,r){if(1&n&&(t.TgZ(0,"td",19),t._uU(1),t.ALo(2,"parseDate"),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.createdAt,!0)," ")}}function eb(n,r){1&n&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"AUDIT_MESSAGES_LIST.EVENT_NAME")))}function nb(n,r){if(1&n&&(t.TgZ(0,"td",19),t._uU(1),t.ALo(2,"parseEventName"),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,e.event.name)," ")}}function ib(n,r){1&n&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"AUDIT_MESSAGES_LIST.ACTOR")))}function rb(n,r){if(1&n&&(t.TgZ(0,"td",19),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.hij(" ",e.actor," ")}}function ab(n,r){1&n&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"AUDIT_MESSAGES_LIST.MESSAGE")))}function sb(n,r){if(1&n&&(t.TgZ(0,"td",19),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.hij(" ",e.event.message," ")}}function ob(n,r){1&n&&t._UZ(0,"th",20)}function lb(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"td",19),t.TgZ(1,"button",21),t.NdJ("click",function(){const s=t.CHM(e).$implicit;return t.oxw().viewDetails(s)}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.qZA()}2&n&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"AUDIT_MESSAGES_LIST.VIEW_DETAIL")," "))}function cb(n,r){1&n&&t._UZ(0,"tr",22)}function ub(n,r){1&n&&t._UZ(0,"tr",23)}function hb(n,r){1&n&&(t.TgZ(0,"app-alert",24),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_AUDIT_MESSAGES"),"\n"))}let db=(()=>{class n{constructor(e,i,a){this.dialog=e,this.dynamicPaginatingService=i,this.tableConfigService=a,this.pageSizeOptions=oe.f7,this.displayedColumns=["id","timestamp","name","actor","event.message","detail"]}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,$T.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,Ye.b)(()=>this.loadAuditMessagesPage())).subscribe()}ngOnInit(){this.dataSource=new H.Hy(this.dynamicPaginatingService,null),this.dataSource.loadAuditMessages(this.tableConfigService.getTablePageSize(this.tableId),0,"DESCENDING")}ngOnChanges(){this.dataSource&&(this.child.paginator.pageIndex=0,this.loadAuditMessagesPage())}loadAuditMessagesPage(){this.dataSource.loadAuditMessages(this.child.paginator.pageSize,this.child.paginator.pageIndex,"asc"===this.sort.direction?"ASCENDING":"DESCENDING")}viewDetails(e){const i=(0,oe.kZ)(),a=JSON.parse(JSON.stringify(e));i.minWidth="700px",i.maxWidth="1000px",i.data={message:a},this.dialog.open(WT,i)}exportData(e){(0,oe.O6)((0,oe.Xn)(this.dataSource.getData(),this.displayedColumns.filter(i=>"detail"!==i),this.getExportDataForColumn,this),e)}getExportDataForColumn(e,i){switch(i){case"id":return e.id.toString();case"timestamp":return(0,_.p6)(e.createdAt,"d.M.y H.mm.ss","en");case"name":return e.event.name.split(".").pop();case"actor":return e.actor;default:return""}}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.uw),t.Y36(H.ly),t.Y36(fn.dB))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-audit-messages-list"]],viewQuery:function(e,i){if(1&e&&(t.Gf(oe.l9,7),t.Gf(sn.YE,5)),2&e){let a;t.iGM(a=t.CRH())&&(i.child=a.first),t.iGM(a=t.CRH())&&(i.sort=a.first)}},inputs:{tableId:"tableId",refresh:"refresh",displayedColumns:"displayedColumns",searchString:"searchString"},features:[t._Bn([{provide:XT.ye,useClass:H.Be}]),t.TTD],decls:28,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","tableId","exportData"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","id","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","timestamp"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","actor"],["matColumnDef","event.message"],["matColumnDef","detail"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["color","accent","mat-flat-button","",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.ALo(1,"async"),t.TgZ(2,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(s){return i.exportData(s)}),t.YNc(3,QT,2,0,"div",2),t.ALo(4,"async"),t.TgZ(5,"table",3),t.ynx(6,4),t.YNc(7,jT,3,3,"th",5),t.YNc(8,qT,2,1,"td",6),t.BQk(),t.ynx(9,7),t.YNc(10,KT,3,3,"th",5),t.YNc(11,tb,3,4,"td",6),t.BQk(),t.ynx(12,8),t.YNc(13,eb,3,3,"th",9),t.YNc(14,nb,3,3,"td",6),t.BQk(),t.ynx(15,10),t.YNc(16,ib,3,3,"th",9),t.YNc(17,rb,2,1,"td",6),t.BQk(),t.ynx(18,11),t.YNc(19,ab,3,3,"th",9),t.YNc(20,sb,2,1,"td",6),t.BQk(),t.ynx(21,12),t.YNc(22,ob,1,0,"th",9),t.YNc(23,lb,4,3,"td",6),t.BQk(),t.YNc(24,cb,1,0,"tr",13),t.YNc(25,ub,1,0,"tr",14),t.qZA(),t.qZA(),t.qZA(),t.YNc(26,hb,3,3,"app-alert",15),t.ALo(27,"async")),2&e&&(t.Q6J("hidden",0===i.dataSource.allObjectCount&&!1===t.lcZ(1,9,i.dataSource.loading$)),t.xp6(2),t.Q6J("dataLength",i.dataSource.allObjectCount)("pageSizeOptions",i.pageSizeOptions)("tableId",i.tableId),t.xp6(1),t.Q6J("ngIf",t.lcZ(4,11,i.dataSource.loading$)),t.xp6(2),t.Q6J("dataSource",i.dataSource),t.xp6(19),t.Q6J("matHeaderRowDef",i.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",i.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===i.dataSource.allObjectCount&&!1===t.lcZ(27,13,i.dataSource.loading$)))},directives:[_n.l,_.O5,tt.$g,Z.BZ,sn.YE,Z.w1,Z.fO,Z.ge,sn.nU,Z.Dz,Z.ev,ot.lW,Z.as,Z.XQ,Z.nj,Z.Gk,rt.w],pipes:[_.Ov,p.X$,JT.M,wu],styles:[""]}),n})(),fb=(()=>{class n{constructor(){this.tableId=fn.yW,this.refresh=!1}refreshTable(){this.refresh=!this.refresh}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-admin-audit-log"]],decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"refresh","tableId"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t._UZ(4,"app-audit-messages-list",2)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,3,"ADMIN.AUDIT_LOG.TITLE")),t.xp6(3),t.Q6J("refresh",i.refresh)("tableId",i.tableId))},directives:[an.t,db],pipes:[p.X$],styles:[""]}),n})();var pb=o(4834);let mb=(()=>{class n{constructor(e,i){this.dialogRef=e,this.data=i}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R.so),t.Y36(R.WI))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-perun-web-apps-edit-enforce-consents-dialog"]],decls:26,vars:27,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"mt-2","mb-2"],[1,"font-weight-bold","mt-3"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"div",1),t.TgZ(6,"p"),t._uU(7),t.ALo(8,"translate"),t.ALo(9,"translate"),t.qZA(),t._UZ(10,"mat-divider"),t.TgZ(11,"p",2),t._uU(12),t.qZA(),t._UZ(13,"mat-divider"),t.TgZ(14,"div",3),t._uU(15),t.ALo(16,"translate"),t.ALo(17,"translate"),t.qZA(),t.qZA(),t.TgZ(18,"div",4),t.TgZ(19,"button",5),t.NdJ("click",function(){return i.onCancel()}),t._uU(20),t.ALo(21,"translate"),t.qZA(),t.TgZ(22,"button",6),t.NdJ("click",function(){return i.onSubmit()}),t._uU(23),t.ALo(24,"translate"),t.ALo(25,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(i.data.theme),t.xp6(2),t.hij(" ",i.data.enforceConsents?t.lcZ(3,9,"DIALOGS.EDIT_ENFORCE_CONSENTS_FLAG.DISABLE_TITLE"):t.lcZ(4,11,"DIALOGS.EDIT_ENFORCE_CONSENTS_FLAG.ENFORCE_TITLE")," "),t.xp6(5),t.hij(" ",i.data.enforceConsents?t.lcZ(8,13,"DIALOGS.EDIT_ENFORCE_CONSENTS_FLAG.DISABLE_DESCRIPTION"):t.lcZ(9,15,"DIALOGS.EDIT_ENFORCE_CONSENTS_FLAG.ENFORCE_DESCRIPTION")," "),t.xp6(5),t.Oqu(i.data.consentHubName),t.xp6(3),t.hij(" ",i.data.enforceConsents?t.lcZ(16,17,"DIALOGS.EDIT_ENFORCE_CONSENTS_FLAG.DISABLE_BOLD_DESCRIPTION"):t.lcZ(17,19,"DIALOGS.EDIT_ENFORCE_CONSENTS_FLAG.ENFORCE_BOLD_DESCRIPTION")," "),t.xp6(5),t.hij(" ",t.lcZ(21,21,"DIALOGS.EDIT_ENFORCE_CONSENTS_FLAG.CANCEL_BUTTON")," "),t.xp6(3),t.hij(" ",i.data.enforceConsents?t.lcZ(24,23,"DIALOGS.EDIT_ENFORCE_CONSENTS_FLAG.DISABLE_BUTTON"):t.lcZ(25,25,"DIALOGS.EDIT_ENFORCE_CONSENTS_FLAG.ENFORCE_BUTTON")," "))},directives:[R.uh,R.xY,pb.d,R.H8,ot.lW],pipes:[p.X$],styles:[""]}),n})();function gb(n,r){1&n&&(t.TgZ(0,"th",13),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.CONSENT_HUBS_LIST.ID")," "))}function _b(n,r){if(1&n&&(t.TgZ(0,"td",14),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.id)}}function vb(n,r){1&n&&(t.TgZ(0,"th",13),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.CONSENT_HUBS_LIST.NAME")," "))}function xb(n,r){if(1&n&&(t.TgZ(0,"td",15),t._uU(1),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Oqu(e.name)}}function yb(n,r){1&n&&(t.TgZ(0,"th",13),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.CONSENT_HUBS_LIST.ENFORCE_CONSENTS")," "))}function Tb(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"td",15),t.TgZ(1,"mat-slide-toggle",16),t.NdJ("change",function(a){const d=t.CHM(e).$implicit;return t.oxw().changeEnforceFlag(d,a)}),t.qZA(),t.qZA()}if(2&n){const e=r.$implicit;t.xp6(1),t.Q6J("checked",e.enforceConsents)}}function bb(n,r){1&n&&(t.TgZ(0,"th",13),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.CONSENT_HUBS_LIST.FACILITIES")," "))}function Cb(n,r){if(1&n&&(t.TgZ(0,"span"),t._uU(1),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t._UZ(4,"br"),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.hij(" ",e.name," "),t.xp6(2),t.hij(" #",e.id,"")}}function wb(n,r){if(1&n&&(t.TgZ(0,"td",15),t.YNc(1,Cb,5,2,"span",17),t.qZA()),2&n){const e=r.$implicit;t.xp6(1),t.Q6J("ngForOf",e.facilities)}}function Ab(n,r){1&n&&t._UZ(0,"tr",19)}function Eb(n,r){1&n&&t._UZ(0,"tr",20)}function Sb(n,r){1&n&&(t.TgZ(0,"app-alert",21),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.CONSENT_HUBS_LIST.NO_CONSENT_HUBS"),"\n"))}function Db(n,r){1&n&&(t.TgZ(0,"app-alert",21),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED.COMPONENTS.CONSENT_HUBS_LIST.NO_FILTER_RESULTS"),"\n"))}let Lb=(()=>{class n{constructor(e,i,a,s,d){this.tableCheckbox=e,this.dialog=i,this.notificator=a,this.translate=s,this.consentsManager=d,this.filterValue="",this.displayedColumns=["id","name","enforceConsents","facilities"],this.exporting=!1,this.pageSizeOptions=oe.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Z.by(this.consentHubs),this.setDataSource()}getDataForColumn(e,i){switch(i){case"id":return e.id.toString();case"name":return e.name;case"enforceConsents":return e.enforceConsents?"true":"false";case"facilities":{let a="";return e.facilities.forEach(s=>a+=s.name+" #"+s.id+";"),a.slice(0,-1)}default:return""}}exportData(e){(0,oe.O6)((0,oe.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,i)=>(0,oe.Sd)(e,i,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,i)=>(0,oe.pR)(e,i,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}changeEnforceFlag(e,i){i.source.checked=e.enforceConsents;const a=(0,oe.kZ)();a.width="550px",a.data={theme:"admin-theme",enforceConsents:e.enforceConsents,consentHubName:e.name},this.dialog.open(mb,a).afterClosed().subscribe(d=>{d&&(e.enforceConsents=!e.enforceConsents,this.consentsManager.updateConsentHub({consentHub:e}).subscribe(T=>{i.source.checked=T.enforceConsents,e.enforceConsents=T.enforceConsents,this.translate.get("SHARED.COMPONENTS.CONSENT_HUBS_LIST.CHANGE_ENFORCE_CONSENTS_SUCCESS").subscribe(E=>{this.notificator.showSuccess(E)})},()=>e.enforceConsents=!e.enforceConsents))})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(H.UA),t.Y36(R.uw),t.Y36(H.V6),t.Y36(p.sK),t.Y36(z.WY))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-perun-web-apps-consent-hubs-list"]],viewQuery:function(e,i){if(1&e&&(t.Gf(oe.l9,7),t.Gf(sn.YE,7)),2&e){let a;t.iGM(a=t.CRH())&&(i.child=a.first),t.iGM(a=t.CRH())&&(i.matSort=a.first)}},inputs:{consentHubs:"consentHubs",filterValue:"filterValue",displayedColumns:"displayedColumns",tableId:"tableId"},features:[t.TTD],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","enforceConsents"],["matColumnDef","facilities"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[3,"checked","change"],[4,"ngFor","ngForOf"],[1,"text-muted"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(s){return i.exportData(s)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,gb,3,3,"th",4),t.YNc(5,_b,2,1,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,vb,3,3,"th",4),t.YNc(8,xb,2,1,"td",7),t.BQk(),t.ynx(9,8),t.YNc(10,yb,3,3,"th",4),t.YNc(11,Tb,2,1,"td",7),t.BQk(),t.ynx(12,9),t.YNc(13,bb,3,3,"th",4),t.YNc(14,wb,2,1,"td",7),t.BQk(),t.YNc(15,Ab,1,0,"tr",10),t.YNc(16,Eb,1,0,"tr",11),t.qZA(),t.qZA(),t.qZA(),t.YNc(17,Sb,3,3,"app-alert",12),t.YNc(18,Db,3,3,"app-alert",12)),2&e&&(t.Q6J("hidden",0===i.consentHubs.length||0===i.dataSource.filteredData.length),t.xp6(1),t.Q6J("tableId",i.tableId)("dataLength",i.dataSource.filteredData.length)("pageSizeOptions",i.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",i.dataSource),t.xp6(13),t.Q6J("matHeaderRowDef",i.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",i.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===i.consentHubs.length),t.xp6(1),t.Q6J("ngIf",0===i.dataSource.filteredData.length&&0!==i.consentHubs.length))},directives:[_n.l,Z.BZ,sn.YE,Z.w1,Z.fO,Z.ge,sn.nU,Z.Dz,Z.ev,ne.Rr,_.sg,Z.as,Z.XQ,Z.nj,Z.Gk,_.O5,rt.w],pipes:[p.X$],styles:[""]}),n})();function kb(n,r){1&n&&t._UZ(0,"mat-spinner",5)}function Ib(n,r){if(1&n&&t._UZ(0,"app-perun-web-apps-consent-hubs-list",6),2&n){const e=t.oxw();t.Q6J("consentHubs",e.consentHubs)("filterValue",e.filterValue)("tableId",e.tableId)}}const Ob=[{path:"",component:A,children:[{path:"",component:N,data:{animation:"AdminOverviewPage"}},{path:"attributes",component:Le,data:{animation:"AdminAttributesPage"}},{path:"users",component:ey.t,data:{animation:"AdminUsersPage"}},{path:"owners",component:lT,data:{animation:"AdminOwnersPage"}},{path:"services",component:Uy,data:{animation:"AdminServicesPage"}},{path:"audit_log",component:fb,data:{animation:"AdminAuditLogPage"}},{path:"visualizer",component:ke,children:[{path:"",component:Je,data:{animation:"VisualizerOverviewPage"}},{path:"attrDependencies",component:He,data:{animation:"VisualizerAttrModulesPage"}},{path:"userDestinationRelationship",component:ce,data:{animation:"UserDestinationRelationshipPage"}},{path:"userDestinationRelationship/graph",component:ty,data:{animation:"UserDestinationGraphPage"}}]},{path:"ext_sources",component:xy,data:{animation:"AdminExtSourcesPage"}},{path:"consent_hubs",component:(()=>{class n{constructor(e){this.consentsManager=e,this.loading=!1,this.tableId=fn.HE,this.filterValue="",this.consentHubs=[]}ngOnInit(){this.refreshTable()}applyFilter(e){this.filterValue=e}refreshTable(){this.loading=!0,this.consentsManager.getAllConsentHubs().subscribe(e=>{this.consentHubs=e,this.loading=!1})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(z.WY))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-perun-web-apps-admin-consent-hubs"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"consentHubs","filterValue","tableId",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"consentHubs","filterValue","tableId"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return i.refreshTable()}),t.qZA(),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(s){return i.applyFilter(s)}),t.qZA(),t.YNc(6,kb,1,0,"mat-spinner",3),t.YNc(7,Ib,1,3,"app-perun-web-apps-consent-hubs-list",4),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,4,"ADMIN.CONSENT_HUBS.TITLE")),t.xp6(3),t.Q6J("placeholder","ADMIN.CONSENT_HUBS.SEARCH"),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[an.t,je.L,_.O5,tt.$g,Lb],pipes:[p.X$],styles:[""]}),n})(),data:{animation:"AdminConsentHubsPage"}}]},{path:"users/:userId",component:cy,children:[{path:"",component:uy.Z,data:{animation:"UserOverviewPage"}},{path:"accounts",component:GT,data:{animation:"UserAccountsPage"}},{path:"attributes",component:fy.u,data:{animation:"UserAttributesPage"}},{path:"organizations",component:hy.j,data:{animation:"UserOrganizationsPage",showPrincipal:!1}},{path:"groups",component:dy.u,data:{animation:"UserGroupsPage",showPrincipal:!1}},{path:"identities",component:Iy,data:{animation:"UserIdentitiesPage"}},{path:"facilities",component:dT,data:{animation:"UserFacilitiesPage"}},{path:"resources",component:Yy,data:{animation:"UserRoles"}},{path:"identities/:identityId",component:qy,data:{animation:"UserIdentityDetailPage"}},{path:"roles",component:yy.t,data:{animation:"UserRolesPage"}},{path:"service-identities",component:Ty.R,data:{animation:"UserServiceIdentities"}},{path:"associated-users",component:N1.d,data:{animation:"AssociatedUsersPage"}}]},{path:"services/:serviceId",component:a1,children:[{path:"",component:s1,data:{animation:"ServiceOverviewPage"}},{path:"required-attributes",component:O1,data:{animation:"ServiceRequiredAttributesPage"}},{path:"destinations",component:z1,data:{animation:"ServiceDestinationsPage"}}]}];let Nb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[m.Bz.forChild(Ob)],m.Bz]}),n})();var Fb=o(14264),Pb=o(63189),Rb=o(19516),Zb=o(46142);let Bb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[sm,zx,_.ez,Nb,Fb.m,Pb.r,Rn.ez,Rb.d4,Zb.UsersModule]]}),n})()},70242:(w,k,o)=>{"use strict";o.d(k,{q:()=>ne});var u=o(84847),x=o(20449),v=o(32075),_=o(9244),m=o(36908),l=o(5e3),t=o(18750),c=o(77446),h=o(69808),g=o(25245),f=o(29772),p=o(98380),C=o(51062);function A(Ut,xt){if(1&Ut){const pt=l.EpF();l.TgZ(0,"th",21),l.TgZ(1,"mat-checkbox",22),l.NdJ("change",function(Jt){l.CHM(pt);const ge=l.oxw();return Jt?ge.masterToggle():null}),l.qZA(),l.qZA()}if(2&Ut){const pt=l.oxw();l.xp6(1),l.Q6J("aria-label",pt.checkboxLabel())("checked",pt.selection.hasValue()&&pt.isAllSelected())("indeterminate",pt.selection.hasValue()&&!pt.isAllSelected())}}function L(Ut,xt){if(1&Ut){const pt=l.EpF();l.TgZ(0,"td",23),l.TgZ(1,"mat-checkbox",24),l.NdJ("change",function(Jt){const _e=l.CHM(pt).$implicit,Te=l.oxw();return Jt?Te.selection.toggle(_e):null})("click",function(Jt){return Jt.stopPropagation()}),l.qZA(),l.qZA()}if(2&Ut){const pt=xt.$implicit,Nt=l.oxw();l.xp6(1),l.Q6J("aria-label",Nt.checkboxLabel(pt))("checked",Nt.selection.isSelected(pt))}}function N(Ut,xt){1&Ut&&(l.TgZ(0,"th",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.DESTINATION_ID")," "))}function P(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",26),l._uU(1),l.qZA()),2&Ut){const pt=xt.$implicit;l.xp6(1),l.hij(" ",pt.id," ")}}function R(Ut,xt){1&Ut&&(l.TgZ(0,"th",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.SERVICE")," "))}function Z(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",27),l._uU(1),l.qZA()),2&Ut){const pt=xt.$implicit;l.xp6(1),l.Oqu(pt.service.name)}}function H(Ut,xt){1&Ut&&l._UZ(0,"th",28)}function z(Ut,xt){1&Ut&&(l.TgZ(0,"mat-icon",30),l.ALo(1,"translate"),l._uU(2," warning "),l.qZA()),2&Ut&&l.s9C("matTooltip",l.lcZ(1,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.WARN"))}function tt(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",27),l.YNc(1,z,3,3,"mat-icon",29),l.qZA()),2&Ut){const pt=xt.$implicit,Nt=l.oxw();l.xp6(1),l.Q6J("ngIf",!Nt.services.has(pt.service.id))}}function rt(Ut,xt){1&Ut&&(l.TgZ(0,"th",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.FACILITY")," "))}function ot(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",27),l._uU(1),l.qZA()),2&Ut){const pt=xt.$implicit;l.xp6(1),l.Oqu(pt.facility.name)}}function J(Ut,xt){1&Ut&&(l.TgZ(0,"th",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.DESTINATION")," "))}function et(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",27),l._uU(1),l.qZA()),2&Ut){const pt=xt.$implicit;l.xp6(1),l.Oqu(pt.destination)}}function q(Ut,xt){1&Ut&&(l.TgZ(0,"th",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.TYPE")," "))}function at(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",27),l._uU(1),l.qZA()),2&Ut){const pt=xt.$implicit;l.xp6(1),l.Oqu(pt.type.toUpperCase())}}function Y(Ut,xt){1&Ut&&l._UZ(0,"th",28)}function K(Ut,xt){1&Ut&&(l.TgZ(0,"mat-icon",32),l.ALo(1,"translate"),l._uU(2," check_circle_outline "),l.qZA()),2&Ut&&l.s9C("matTooltip",l.lcZ(1,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.ALLOWED"))}function ut(Ut,xt){1&Ut&&(l.TgZ(0,"mat-icon",32),l.ALo(1,"translate"),l._uU(2," block "),l.qZA()),2&Ut&&l.s9C("matTooltip",l.lcZ(1,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.BLOCKED"))}function it(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",27),l.YNc(1,K,3,3,"mat-icon",31),l.YNc(2,ut,3,3,"mat-icon",31),l.qZA()),2&Ut){const pt=xt.$implicit;l.xp6(1),l.Q6J("ngIf",!pt.blocked),l.xp6(1),l.Q6J("ngIf",pt.blocked)}}function G(Ut,xt){1&Ut&&(l.TgZ(0,"th",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.PROPAGATION_TYPE")," "))}function M(Ut,xt){if(1&Ut&&(l.TgZ(0,"td",27),l._uU(1),l.qZA()),2&Ut){const pt=xt.$implicit;l.xp6(1),l.Oqu(pt.propagationType)}}function ft(Ut,xt){1&Ut&&l._UZ(0,"tr",33)}function It(Ut,xt){1&Ut&&l._UZ(0,"tr",34)}function Zt(Ut,xt){1&Ut&&(l.TgZ(0,"app-alert",35),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Ht(Ut,xt){1&Ut&&(l.TgZ(0,"app-alert",35),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&Ut&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.NO_DESTINATIONS"),"\n"))}let ne=(()=>{class Ut{constructor(pt,Nt){this.authResolver=pt,this.tableCheckbox=Nt,this.destinations=[],this.selection=new x.Ov(!0,[]),this.filterValue="",this.pageSizeOptions=_.f7}set matSort(pt){this.sort=pt,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(pt=>"destinationId"!==pt)),this.dataSource=new v.by(this.destinations),this.setDataSource(),this.dataSource.filter=this.filterValue.toLowerCase()}getDataForColumn(pt,Nt){switch(Nt){case"destinationId":return pt.id.toString();case"service":return pt.service.name;case"facility":return pt.facility.name;case"destination":return pt.destination;case"type":return pt.type;case"status":return pt.blocked?"blocked":"allowed";case"propagationType":return pt.propagationType;default:return""}}exportData(pt){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),pt)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(pt,Nt)=>(0,_.Sd)(pt,Nt,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(pt,Nt)=>(0,_.pR)(pt,Nt,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(pt){return pt?`${this.selection.isSelected(pt)?"deselect":"select"} row ${pt.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return Ut.\u0275fac=function(pt){return new(pt||Ut)(l.Y36(m.x4),l.Y36(m.UA))},Ut.\u0275cmp=l.Xpm({type:Ut,selectors:[["app-perun-web-apps-destination-list"]],viewQuery:function(pt,Nt){if(1&pt&&(l.Gf(u.YE,7),l.Gf(_.l9,7)),2&pt){let Jt;l.iGM(Jt=l.CRH())&&(Nt.matSort=Jt.first),l.iGM(Jt=l.CRH())&&(Nt.child=Jt.first)}},inputs:{destinations:"destinations",selection:"selection",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",services:"services"},features:[l.TTD],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","destinationId"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","service"],["mat-cell","",4,"matCellDef"],["matColumnDef","warn"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","facility"],["matColumnDef","destination"],["matColumnDef","type"],["matColumnDef","status"],["matColumnDef","propagationType"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-cell",""],["class","warn","matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",1,"warn",3,"matTooltip"],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(pt,Nt){1&pt&&(l.TgZ(0,"div",0),l.TgZ(1,"perun-web-apps-table-wrapper",1),l.NdJ("exportData",function(ge){return Nt.exportData(ge)}),l.TgZ(2,"table",2),l.ynx(3,3),l.YNc(4,A,2,3,"th",4),l.YNc(5,L,2,2,"td",5),l.BQk(),l.ynx(6,6),l.YNc(7,N,3,3,"th",7),l.YNc(8,P,2,1,"td",8),l.BQk(),l.ynx(9,9),l.YNc(10,R,3,3,"th",7),l.YNc(11,Z,2,1,"td",10),l.BQk(),l.ynx(12,11),l.YNc(13,H,1,0,"th",12),l.YNc(14,tt,2,1,"td",10),l.BQk(),l.ynx(15,13),l.YNc(16,rt,3,3,"th",7),l.YNc(17,ot,2,1,"td",10),l.BQk(),l.ynx(18,14),l.YNc(19,J,3,3,"th",7),l.YNc(20,et,2,1,"td",10),l.BQk(),l.ynx(21,15),l.YNc(22,q,3,3,"th",7),l.YNc(23,at,2,1,"td",10),l.BQk(),l.ynx(24,16),l.YNc(25,Y,1,0,"th",12),l.YNc(26,it,3,2,"td",10),l.BQk(),l.ynx(27,17),l.YNc(28,G,3,3,"th",7),l.YNc(29,M,2,1,"td",10),l.BQk(),l.YNc(30,ft,1,0,"tr",18),l.YNc(31,It,1,0,"tr",19),l.qZA(),l.qZA(),l.qZA(),l.YNc(32,Zt,3,3,"app-alert",20),l.YNc(33,Ht,3,3,"app-alert",20)),2&pt&&(l.Q6J("hidden",0===Nt.dataSource.filteredData.length||0===Nt.destinations.length),l.xp6(1),l.Q6J("tableId",Nt.tableId)("dataLength",Nt.dataSource.filteredData.length)("pageSizeOptions",Nt.pageSizeOptions),l.xp6(1),l.Q6J("dataSource",Nt.dataSource),l.xp6(28),l.Q6J("matHeaderRowDef",Nt.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",Nt.displayedColumns),l.xp6(1),l.Q6J("ngIf",0===Nt.dataSource.filteredData.length&&0!==Nt.destinations.length),l.xp6(1),l.Q6J("ngIf",0===Nt.destinations.length))},directives:[t.l,v.BZ,u.YE,v.w1,v.fO,v.ge,c.oG,v.Dz,v.ev,u.nU,h.O5,g.Hw,f.gM,v.as,v.XQ,v.nj,v.Gk,p.w],pipes:[C.X$],styles:[".warn[_ngcontent-%COMP%]{color:#ebe134}"]}),Ut})()},89466:(w,k,o)=>{"use strict";o.d(k,{u:()=>L});var u=o(112),x=o(48966),v=o(32075),_=o(36908),m=o(5e3),l=o(51062),t=o(69808),c=o(20773),h=o(98380),g=o(70242),f=o(47423);function p(N,P){1&N&&m._UZ(0,"mat-spinner",6)}function C(N,P){if(1&N&&m._UZ(0,"app-perun-web-apps-destination-list",11),2&N){const R=m.oxw(2);m.Q6J("destinations",R.destinations)("displayedColumns",R.displayedColumns)}}function A(N,P){if(1&N&&(m.TgZ(0,"div",7),m.TgZ(1,"app-alert",8),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"p"),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.TgZ(7,"div",9),m._uU(8),m.ALo(9,"translate"),m.qZA(),m.YNc(10,C,1,2,"app-perun-web-apps-destination-list",10),m.qZA()),2&N){const R=m.oxw();m.xp6(2),m.Oqu(m.lcZ(3,4,"DIALOGS.REMOVE_DESTINATIONS.WARNING")),m.xp6(3),m.Oqu(m.lcZ(6,6,"DIALOGS.REMOVE_DESTINATIONS.DESCRIPTION")),m.xp6(3),m.hij(" ",m.lcZ(9,8,"DIALOGS.REMOVE_DESTINATIONS.ASK")," "),m.xp6(2),m.Q6J("ngIf",!R.loading)}}let L=(()=>{class N{constructor(R,Z,H,z,tt){this.dialogRef=R,this.data=Z,this.notificator=H,this.translate=z,this.serviceManager=tt,this.displayedColumns=[],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.destinations=this.data.destinations,this.displayedColumns="admin-theme"===this.theme?["destinationId","facility","destination","type","propagationType"]:["destinationId","service","destination","type","propagationType"],this.dataSource=new v.by(this.data.destinations)}onCancel(){this.dialogRef.close(!1)}deleteDestinations(){if(0===this.destinations.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_DESTINATIONS.SUCCESS")),void this.dialogRef.close(!0);const R=this.destinations.pop();this.serviceManager.removeDestination(R.service.id,R.facility.id,R.destination,R.type).subscribe(()=>{this.deleteDestinations()},()=>this.loading=!1)}onConfirm(){this.loading=!0,this.deleteDestinations()}}return N.\u0275fac=function(R){return new(R||N)(m.Y36(x.so),m.Y36(x.WI),m.Y36(_.V6),m.Y36(l.sK),m.Y36(u.KK))},N.\u0275cmp=m.Xpm({type:N,selectors:[["app-perun-web-apps-remove-destination-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],["alert_type","warn"],[1,"font-weight-bold"],[3,"destinations","displayedColumns",4,"ngIf"],[3,"destinations","displayedColumns"]],template:function(R,Z){1&R&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"div"),m.YNc(4,p,1,0,"mat-spinner",1),m.YNc(5,A,11,10,"div",2),m.TgZ(6,"div",3),m.TgZ(7,"button",4),m.NdJ("click",function(){return Z.onCancel()}),m._uU(8),m.ALo(9,"translate"),m.qZA(),m.TgZ(10,"button",5),m.NdJ("click",function(){return Z.onConfirm()}),m._uU(11),m.ALo(12,"translate"),m.qZA(),m.qZA(),m.qZA()),2&R&&(m.xp6(1),m.Oqu(m.lcZ(2,9,"DIALOGS.REMOVE_DESTINATIONS.TITLE")),m.xp6(2),m.Tol(Z.theme),m.xp6(1),m.Q6J("ngIf",Z.loading),m.xp6(1),m.Q6J("ngIf",!Z.loading),m.xp6(3),m.hij(" ",m.lcZ(9,11,"DIALOGS.REMOVE_DESTINATIONS.CANCEL")," "),m.xp6(2),m.Q6J("disabled",Z.loading),m.xp6(1),m.hij(" ",m.lcZ(12,13,"DIALOGS.REMOVE_DESTINATIONS.CONFIRM")," "))},directives:[x.uh,t.O5,c.$g,x.xY,h.w,g.q,x.H8,f.lW],pipes:[l.X$],styles:[""]}),N})()},23256:(w,k,o)=>{"use strict";o.d(k,{Q:()=>et});var u=o(84847),x=o(20449),v=o(32075),_=o(9244),m=o(36908),l=o(5e3),t=o(18750),c=o(77446),h=o(69808),g=o(98380),f=o(51062);function p(q,at){if(1&q){const Y=l.EpF();l.TgZ(0,"th",16),l.TgZ(1,"mat-checkbox",17),l.NdJ("change",function(ut){l.CHM(Y);const it=l.oxw();return ut?it.masterToggle():null}),l.qZA(),l.qZA()}if(2&q){const Y=l.oxw();l.xp6(1),l.Q6J("aria-label",Y.checkboxLabel())("checked",Y.selection.hasValue()&&Y.isAllSelected())("indeterminate",Y.selection.hasValue()&&!Y.isAllSelected())}}function C(q,at){if(1&q){const Y=l.EpF();l.TgZ(0,"td",18),l.TgZ(1,"mat-checkbox",19),l.NdJ("change",function(ut){const G=l.CHM(Y).$implicit,M=l.oxw();return ut?M.selection.toggle(G):null})("click",function(ut){return ut.stopPropagation()}),l.qZA(),l.qZA()}if(2&q){const Y=at.$implicit,K=l.oxw();l.xp6(1),l.Q6J("aria-label",K.checkboxLabel(Y))("checked",K.selection.isSelected(Y))}}function A(q,at){1&q&&(l.TgZ(0,"th",20),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&q&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.ID")," "))}function L(q,at){if(1&q&&(l.TgZ(0,"td",21),l._uU(1),l.qZA()),2&q){const Y=at.$implicit;l.xp6(1),l.hij(" ",Y.id," ")}}function N(q,at){1&q&&(l.TgZ(0,"th",20),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&q&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NAME")," "))}function P(q,at){if(1&q&&(l.TgZ(0,"td",22),l._uU(1),l.qZA()),2&q){const Y=at.$implicit;l.xp6(1),l.Oqu(Y.name)}}function R(q,at){1&q&&(l.TgZ(0,"th",20),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&q&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.CONTACT")," "))}function Z(q,at){if(1&q&&(l.TgZ(0,"td",22),l._uU(1),l.qZA()),2&q){const Y=at.$implicit;l.xp6(1),l.Oqu(Y.contact)}}function H(q,at){1&q&&(l.TgZ(0,"th",20),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&q&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.TYPE")," "))}function z(q,at){if(1&q&&(l.TgZ(0,"td",22),l._uU(1),l.qZA()),2&q){const Y=at.$implicit;l.xp6(1),l.Oqu(Y.type)}}function tt(q,at){1&q&&l._UZ(0,"tr",23)}function rt(q,at){1&q&&l._UZ(0,"tr",24)}function ot(q,at){1&q&&(l.TgZ(0,"app-alert",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&q&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_OWNERS"),"\n"))}function J(q,at){1&q&&(l.TgZ(0,"app-alert",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&q&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_FILTER_OWNERS"),"\n"))}let et=(()=>{class q{constructor(Y,K){this.authResolver=Y,this.tableCheckbox=K,this.owners=[],this.selection=new x.Ov(!0,[]),this.filterValue="",this.displayedColumns=["select","id","name","contact","type"],this.pageSizeOptions=_.f7}set matSort(Y){this.sort=Y,this.setDataSource()}ngAfterViewInit(){this.setDataSource()}getDataForColumn(Y,K){switch(K){case"id":return Y.id.toString();case"name":return Y.name;case"contact":return Y.contact;case"type":return Y.type;default:return""}}exportData(Y){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),Y)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(Y,K)=>(0,_.Sd)(Y,K,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(Y,K)=>(0,_.pR)(Y,K,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Y=>"id"!==Y)),this.dataSource=new v.by(this.owners),this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(Y){return Y?`${this.selection.isSelected(Y)?"deselect":"select"} row ${Y.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return q.\u0275fac=function(Y){return new(Y||q)(l.Y36(m.x4),l.Y36(m.UA))},q.\u0275cmp=l.Xpm({type:q,selectors:[["perun-web-apps-owners-list"]],viewQuery:function(Y,K){if(1&Y&&(l.Gf(_.l9,7),l.Gf(u.YE,7)),2&Y){let ut;l.iGM(ut=l.CRH())&&(K.child=ut.first),l.iGM(ut=l.CRH())&&(K.matSort=ut.first)}},inputs:{owners:"owners",selection:"selection",tableId:"tableId",filterValue:"filterValue",displayedColumns:"displayedColumns"},features:[l.TTD],decls:22,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","contact"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(Y,K){1&Y&&(l.TgZ(0,"div",0),l.TgZ(1,"perun-web-apps-table-wrapper",1),l.NdJ("exportData",function(it){return K.exportData(it)}),l.TgZ(2,"table",2),l.ynx(3,3),l.YNc(4,p,2,3,"th",4),l.YNc(5,C,2,2,"td",5),l.BQk(),l.ynx(6,6),l.YNc(7,A,3,3,"th",7),l.YNc(8,L,2,1,"td",8),l.BQk(),l.ynx(9,9),l.YNc(10,N,3,3,"th",7),l.YNc(11,P,2,1,"td",10),l.BQk(),l.ynx(12,11),l.YNc(13,R,3,3,"th",7),l.YNc(14,Z,2,1,"td",10),l.BQk(),l.ynx(15,12),l.YNc(16,H,3,3,"th",7),l.YNc(17,z,2,1,"td",10),l.BQk(),l.YNc(18,tt,1,0,"tr",13),l.YNc(19,rt,1,0,"tr",14),l.qZA(),l.qZA(),l.qZA(),l.YNc(20,ot,3,3,"app-alert",15),l.YNc(21,J,3,3,"app-alert",15)),2&Y&&(l.Q6J("hidden",0===K.owners.length||0===K.dataSource.filteredData.length),l.xp6(1),l.Q6J("tableId",K.tableId)("dataLength",K.dataSource.filteredData.length)("pageSizeOptions",K.pageSizeOptions),l.xp6(1),l.Q6J("dataSource",K.dataSource),l.xp6(16),l.Q6J("matHeaderRowDef",K.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",K.displayedColumns),l.xp6(1),l.Q6J("ngIf",!K.owners.length),l.xp6(1),l.Q6J("ngIf",!K.dataSource.filteredData.length&&K.owners.length))},directives:[t.l,v.BZ,u.YE,v.w1,v.fO,v.ge,c.oG,v.Dz,v.ev,u.nU,v.as,v.XQ,v.nj,v.Gk,h.O5,g.w],pipes:[f.X$],styles:[""]}),q})()},16087:(w,k,o)=>{"use strict";const u=o(34315),x=o(52872),v=o(40717);w.exports=function _(t,c){switch(x(t)){case"object":return function m(t,c){if("function"==typeof c)return c(t);if(c||v(t)){const h=new t.constructor;for(let g in t)h[g]=_(t[g],c);return h}return t}(t,c);case"array":return function l(t,c){const h=new t.constructor(t.length);for(let g=0;g{"use strict";o.d(k,{Il:()=>x,xV:()=>v,J5:()=>_,ZP:()=>Z,SU:()=>tt,B8:()=>rt,Ss:()=>ot,Ym:()=>K});var u=o(68884);function x(){}var v=.7,_=1/v,m="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",t="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3,8})$/,h=new RegExp("^rgb\\("+[m,m,m]+"\\)$"),g=new RegExp("^rgb\\("+[t,t,t]+"\\)$"),f=new RegExp("^rgba\\("+[m,m,m,l]+"\\)$"),p=new RegExp("^rgba\\("+[t,t,t,l]+"\\)$"),C=new RegExp("^hsl\\("+[l,t,t]+"\\)$"),A=new RegExp("^hsla\\("+[l,t,t,l]+"\\)$"),L={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function N(){return this.rgb().formatHex()}function R(){return this.rgb().formatRgb()}function Z(G){var M,ft;return G=(G+"").trim().toLowerCase(),(M=c.exec(G))?(ft=M[1].length,M=parseInt(M[1],16),6===ft?H(M):3===ft?new ot(M>>8&15|M>>4&240,M>>4&15|240&M,(15&M)<<4|15&M,1):8===ft?z(M>>24&255,M>>16&255,M>>8&255,(255&M)/255):4===ft?z(M>>12&15|M>>8&240,M>>8&15|M>>4&240,M>>4&15|240&M,((15&M)<<4|15&M)/255):null):(M=h.exec(G))?new ot(M[1],M[2],M[3],1):(M=g.exec(G))?new ot(255*M[1]/100,255*M[2]/100,255*M[3]/100,1):(M=f.exec(G))?z(M[1],M[2],M[3],M[4]):(M=p.exec(G))?z(255*M[1]/100,255*M[2]/100,255*M[3]/100,M[4]):(M=C.exec(G))?at(M[1],M[2]/100,M[3]/100,1):(M=A.exec(G))?at(M[1],M[2]/100,M[3]/100,M[4]):L.hasOwnProperty(G)?H(L[G]):"transparent"===G?new ot(NaN,NaN,NaN,0):null}function H(G){return new ot(G>>16&255,G>>8&255,255&G,1)}function z(G,M,ft,It){return It<=0&&(G=M=ft=NaN),new ot(G,M,ft,It)}function tt(G){return G instanceof x||(G=Z(G)),G?new ot((G=G.rgb()).r,G.g,G.b,G.opacity):new ot}function rt(G,M,ft,It){return 1===arguments.length?tt(G):new ot(G,M,ft,null==It?1:It)}function ot(G,M,ft,It){this.r=+G,this.g=+M,this.b=+ft,this.opacity=+It}function J(){return"#"+q(this.r)+q(this.g)+q(this.b)}function et(){var G=this.opacity;return(1===(G=isNaN(G)?1:Math.max(0,Math.min(1,G)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===G?")":", "+G+")")}function q(G){return((G=Math.max(0,Math.min(255,Math.round(G)||0)))<16?"0":"")+G.toString(16)}function at(G,M,ft,It){return It<=0?G=M=ft=NaN:ft<=0||ft>=1?G=M=NaN:M<=0&&(G=NaN),new ut(G,M,ft,It)}function Y(G){if(G instanceof ut)return new ut(G.h,G.s,G.l,G.opacity);if(G instanceof x||(G=Z(G)),!G)return new ut;if(G instanceof ut)return G;var M=(G=G.rgb()).r/255,ft=G.g/255,It=G.b/255,Zt=Math.min(M,ft,It),Ht=Math.max(M,ft,It),ne=NaN,Ut=Ht-Zt,xt=(Ht+Zt)/2;return Ut?(ne=M===Ht?(ft-It)/Ut+6*(ft0&&xt<1?0:ne,new ut(ne,Ut,xt,G.opacity)}function K(G,M,ft,It){return 1===arguments.length?Y(G):new ut(G,M,ft,null==It?1:It)}function ut(G,M,ft,It){this.h=+G,this.s=+M,this.l=+ft,this.opacity=+It}function it(G,M,ft){return 255*(G<60?M+(ft-M)*G/60:G<180?ft:G<240?M+(ft-M)*(240-G)/60:M)}(0,u.Z)(x,Z,{copy:function(G){return Object.assign(new this.constructor,this,G)},displayable:function(){return this.rgb().displayable()},hex:N,formatHex:N,formatHsl:function P(){return Y(this).formatHsl()},formatRgb:R,toString:R}),(0,u.Z)(ot,rt,(0,u.l)(x,{brighter:function(G){return G=null==G?_:Math.pow(_,G),new ot(this.r*G,this.g*G,this.b*G,this.opacity)},darker:function(G){return G=null==G?v:Math.pow(v,G),new ot(this.r*G,this.g*G,this.b*G,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:J,formatHex:J,formatRgb:et,toString:et})),(0,u.Z)(ut,K,(0,u.l)(x,{brighter:function(G){return G=null==G?_:Math.pow(_,G),new ut(this.h,this.s,this.l*G,this.opacity)},darker:function(G){return G=null==G?v:Math.pow(v,G),new ut(this.h,this.s,this.l*G,this.opacity)},rgb:function(){var G=this.h%360+360*(this.h<0),M=isNaN(G)||isNaN(this.s)?0:this.s,ft=this.l,It=ft+(ft<.5?ft:1-ft)*M,Zt=2*ft-It;return new ot(it(G>=240?G-240:G+120,Zt,It),it(G,Zt,It),it(G<120?G+240:G-120,Zt,It),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var G=this.opacity;return(1===(G=isNaN(G)?1:Math.max(0,Math.min(1,G)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===G?")":", "+G+")")}}))},68884:(w,k,o)=>{"use strict";function u(v,_,m){v.prototype=_.prototype=m,m.constructor=v}function x(v,_){var m=Object.create(v.prototype);for(var l in _)m[l]=_[l];return m}o.d(k,{Z:()=>u,l:()=>x})},25922:(w,k,o)=>{"use strict";o.d(k,{Z:()=>t});var u={value:function(){}};function x(){for(var f,c=0,h=arguments.length,g={};c=0&&(f=g.slice(p+1),g=g.slice(0,p)),g&&!h.hasOwnProperty(g))throw new Error("unknown type: "+g);return{type:g,name:f}})}function m(c,h){for(var p,g=0,f=c.length;g0)for(var p,C,g=new Array(p),f=0;f{"use strict";function v(_){return((_*=2)<=1?_*_*_:(_-=2)*_*_+2)/2}o.d(k,{tw:()=>v})},22910:(w,k,o)=>{"use strict";o.d(k,{WU:()=>v,jH:()=>_,ZP:()=>m});var x,v,_,u=o(4753);function m(l){return x=(0,u.Z)(l),v=x.format,_=x.formatPrefix,x}m({thousands:",",grouping:[3],currency:["$",""]})},68520:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(5326);function x(v){return(v=(0,u.V)(Math.abs(v)))?v[1]:NaN}},5326:(w,k,o)=>{"use strict";function u(v){return Math.abs(v=Math.round(v))>=1e21?v.toLocaleString("en").replace(/,/g,""):v.toString(10)}function x(v,_){if((m=(v=_?v.toExponential(_-1):v.toExponential()).indexOf("e"))<0)return null;var m,l=v.slice(0,m);return[l.length>1?l[0]+l.slice(2):l,+v.slice(m+1)]}o.d(k,{Z:()=>u,V:()=>x})},32517:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x,v:()=>v});var u=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function x(_){if(!(m=u.exec(_)))throw new Error("invalid format: "+_);var m;return new v({fill:m[1],align:m[2],sign:m[3],symbol:m[4],zero:m[5],width:m[6],comma:m[7],precision:m[8]&&m[8].slice(1),trim:m[9],type:m[10]})}function v(_){this.fill=void 0===_.fill?" ":_.fill+"",this.align=void 0===_.align?">":_.align+"",this.sign=void 0===_.sign?"-":_.sign+"",this.symbol=void 0===_.symbol?"":_.symbol+"",this.zero=!!_.zero,this.width=void 0===_.width?void 0:+_.width,this.comma=!!_.comma,this.precision=void 0===_.precision?void 0:+_.precision,this.trim=!!_.trim,this.type=void 0===_.type?"":_.type+""}x.prototype=v.prototype,v.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},41129:(w,k,o)=>{"use strict";o.r(k),o.d(k,{formatDefaultLocale:()=>u.ZP,format:()=>u.WU,formatPrefix:()=>u.jH,formatLocale:()=>x.Z,formatSpecifier:()=>v.Z,FormatSpecifier:()=>v.v,precisionFixed:()=>_.Z,precisionPrefix:()=>m.Z,precisionRound:()=>l.Z});var u=o(22910),x=o(4753),v=o(32517),_=o(78986),m=o(38914),l=o(65142)},4753:(w,k,o)=>{"use strict";o.d(k,{Z:()=>A});var t,u=o(68520),_=o(32517),l=o(5326);function h(L,N){var P=(0,l.V)(L,N);if(!P)return L+"";var R=P[0],Z=P[1];return Z<0?"0."+new Array(-Z).join("0")+R:R.length>Z+1?R.slice(0,Z+1)+"."+R.slice(Z+1):R+new Array(Z-R.length+2).join("0")}const g={"%":(L,N)=>(100*L).toFixed(N),b:L=>Math.round(L).toString(2),c:L=>L+"",d:l.Z,e:(L,N)=>L.toExponential(N),f:(L,N)=>L.toFixed(N),g:(L,N)=>L.toPrecision(N),o:L=>Math.round(L).toString(8),p:(L,N)=>h(100*L,N),r:h,s:function c(L,N){var P=(0,l.V)(L,N);if(!P)return L+"";var R=P[0],Z=P[1],H=Z-(t=3*Math.max(-8,Math.min(8,Math.floor(Z/3))))+1,z=R.length;return H===z?R:H>z?R+new Array(H-z+1).join("0"):H>0?R.slice(0,H)+"."+R.slice(H):"0."+new Array(1-H).join("0")+(0,l.V)(L,Math.max(0,N+H-1))[0]},X:L=>Math.round(L).toString(16).toUpperCase(),x:L=>Math.round(L).toString(16)};function f(L){return L}var p=Array.prototype.map,C=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function A(L){var N=void 0===L.grouping||void 0===L.thousands?f:function x(L,N){return function(P,R){for(var Z=P.length,H=[],z=0,tt=L[0],rt=0;Z>0&&tt>0&&(rt+tt+1>R&&(tt=Math.max(1,R-rt)),H.push(P.substring(Z-=tt,Z+tt)),!((rt+=tt+1)>R));)tt=L[z=(z+1)%L.length];return H.reverse().join(N)}}(p.call(L.grouping,Number),L.thousands+""),P=void 0===L.currency?"":L.currency[0]+"",R=void 0===L.currency?"":L.currency[1]+"",Z=void 0===L.decimal?".":L.decimal+"",H=void 0===L.numerals?f:function v(L){return function(N){return N.replace(/[0-9]/g,function(P){return L[+P]})}}(p.call(L.numerals,String)),z=void 0===L.percent?"%":L.percent+"",tt=void 0===L.minus?"\u2212":L.minus+"",rt=void 0===L.nan?"NaN":L.nan+"";function ot(et){var q=(et=(0,_.Z)(et)).fill,at=et.align,Y=et.sign,K=et.symbol,ut=et.zero,it=et.width,G=et.comma,M=et.precision,ft=et.trim,It=et.type;"n"===It?(G=!0,It="g"):g[It]||(void 0===M&&(M=12),ft=!0,It="g"),(ut||"0"===q&&"="===at)&&(ut=!0,q="0",at="=");var Zt="$"===K?P:"#"===K&&/[boxX]/.test(It)?"0"+It.toLowerCase():"",Ht="$"===K?R:/[%p]/.test(It)?z:"",ne=g[It],Ut=/[defgprs%]/.test(It);function xt(pt){var ge,_e,Te,Nt=Zt,Jt=Ht;if("c"===It)Jt=ne(pt)+Jt,pt="";else{var Re=(pt=+pt)<0||1/pt<0;if(pt=isNaN(pt)?rt:ne(Math.abs(pt),M),ft&&(pt=function m(L){t:for(var Z,N=L.length,P=1,R=-1;P0&&(R=0)}return R>0?L.slice(0,R)+L.slice(Z+1):L}(pt)),Re&&0==+pt&&"+"!==Y&&(Re=!1),Nt=(Re?"("===Y?Y:tt:"-"===Y||"("===Y?"":Y)+Nt,Jt=("s"===It?C[8+t/3]:"")+Jt+(Re&&"("===Y?")":""),Ut)for(ge=-1,_e=pt.length;++ge<_e;)if(48>(Te=pt.charCodeAt(ge))||Te>57){Jt=(46===Te?Z+pt.slice(ge+1):pt.slice(ge))+Jt,pt=pt.slice(0,ge);break}}G&&!ut&&(pt=N(pt,1/0));var Tn=Nt.length+pt.length+Jt.length,Fe=Tn>1)+Nt+pt+Jt+Fe.slice(Tn);break;default:pt=Fe+Nt+pt+Jt}return H(pt)}return M=void 0===M?6:/[gprs]/.test(It)?Math.max(1,Math.min(21,M)):Math.max(0,Math.min(20,M)),xt.toString=function(){return et+""},xt}return{format:ot,formatPrefix:function J(et,q){var at=ot(((et=(0,_.Z)(et)).type="f",et)),Y=3*Math.max(-8,Math.min(8,Math.floor((0,u.Z)(q)/3))),K=Math.pow(10,-Y),ut=C[8+Y/3];return function(it){return at(K*it)+ut}}}}},78986:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(68520);function x(v){return Math.max(0,-(0,u.Z)(Math.abs(v)))}},38914:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(68520);function x(v,_){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,u.Z)(_)/3)))-(0,u.Z)(Math.abs(v)))}},65142:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(68520);function x(v,_){return v=Math.abs(v),_=Math.abs(_)-v,Math.max(0,(0,u.Z)(_)-(0,u.Z)(v))+1}},9921:function(w,k,o){!function(u,x,v,_,m,l,t,c,h,g){"use strict";function f(j){if(j&&j.__esModule)return j;var mt=Object.create(null);return j&&Object.keys(j).forEach(function(Ct){if("default"!==Ct){var At=Object.getOwnPropertyDescriptor(j,Ct);Object.defineProperty(mt,Ct,At.get?At:{enumerable:!0,get:function(){return j[Ct]}})}}),mt.default=j,Object.freeze(mt)}var Ot,p=f(x);function C(j,mt,Ct){return mt in j?Object.defineProperty(j,mt,{value:Ct,enumerable:!0,configurable:!0,writable:!0}):j[mt]=Ct,j}function A(j){return function L(j){if(Array.isArray(j))return R(j)}(j)||function N(j){if("undefined"!=typeof Symbol&&null!=j[Symbol.iterator]||null!=j["@@iterator"])return Array.from(j)}(j)||function P(j,mt){if(j){if("string"==typeof j)return R(j,mt);var Ct=Object.prototype.toString.call(j).slice(8,-1);if("Object"===Ct&&j.constructor&&(Ct=j.constructor.name),"Map"===Ct||"Set"===Ct)return Array.from(j);if("Arguments"===Ct||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ct))return R(j,mt)}}(j)||function Z(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(j,mt){(null==mt||mt>j.length)&&(mt=j.length);for(var Ct=0,At=new Array(mt);Ct1&&void 0!==arguments[1]?arguments[1]:0,Ct=p.select(this),At=j.attributes,Xt=Ct.node().attributes;if(Xt)for(var te=0;te0?Ee.children[0].text:"")}null==Wt.key&&(Xt&&("ellipse"==Ie||"polygon"==Ie)&&(Ie="path"),Wt.key=Ie+"-"+ce)}function He(Wt,ce){Wt.id=(ce?ce.id+".":"")+Wt.key}function Je(Wt){O[Wt.id]=Wt}function fe(Wt,ce){Xt&&Wt.id in le&&("polygon"==ce.tag||"ellipse"==ce.tag||"path"==ce.tag)&&(ce.tag!=Wt.tag||"polygon"==Wt.tag)&&("path"!=ce.tag&&(Wt.alternativeOld=Fe(ce,Wt)),"path"!=Wt.tag&&(Wt.alternativeNew=Fe(Wt,ce)))}function ye(Wt,ce){if(At&&ce&&("path"==ce.tag||Wt.alternativeOld&&"path"==Wt.alternativeOld.tag)){var Ie=(Wt.alternativeNew||Wt).attributes.d;if(Wt.alternativeOld)var Ee=rt(Wt.alternativeOld);else Ee=rt(ce);(Wt.alternativeOld||(Wt.alternativeOld={})).points=function xt(j,mt,Ct,At){for(var Xt=j,te=Xt.cloneNode(),Dt=Xt.getTotalLength(),de=(te.setAttribute("d",mt),te).getTotalLength(),O=[0],le=0,Le=At?Ct:Ct/Math.max(Dt,de);(le+=Le)<1;)O.push(le);return O.push(1),O.map(function(rn){var He=Xt.getPointAtLength(rn*Dt),Je=te.getPointAtLength(rn*de);return[[He.x,He.y],[Je.x,Je.y]]})}(Ee,Ie,te,Dt)}}function Ye(Wt){var Ie=arguments.length>2?arguments[2]:void 0;rn(Wt,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),He(Wt,Ie);var Ue=le[Wt.id];Je(Wt),fe(Wt,Ue),ye(Wt,Ue);var Jn={};Wt.children.forEach(function(Ln){var kn=Ln.tag;("ellipse"==kn||"polygon"==kn)&&(kn="path"),null==Jn[kn]&&(Jn[kn]=0),Ye(Ln,Jn[kn]++,Wt)})}function gt(Wt){(function nt(Wt){if(de&&Wt.parent&&"node"==Wt.parent.attributes.class&&"title"==Wt.tag){if(Wt.children.length>0)var Ee=Wt.children[0].text;else Ee="";Le[Ee]=Wt.parent}})(Wt),function _t(Wt){var Ie=Wt.tag;if(de&&!le[Wt.id]&&Wt.parent&&Jt(Wt)&&("path"==Ie||"polygon"==Ie)){if("polygon"==Ie){var Ue=Wt.parent.children.find(function(jn){return"path"==jn.tag});Ue&&(Wt.totalLength=Ue.totalLength)}var Ln=function _e(j){return function ge(j){return"edge"==j.parent.attributes.class?j.parent:j.parent.parent.parent}(j).children.find(function(mt){return"title"==mt.tag})}(Wt).children[0],kn=Ln.text.split("->");2!=kn.length&&(kn=Ln.text.split("--"));var ze=kn[0],qe=Le[ze],Qn=ke[ze];if(Qn){if((cn=qe.children.findIndex(function(jn,gi){return"g"==jn.tag}))>=0){var on=qe.children[cn].children.findIndex(function(jn,gi){return"a"==jn.tag});qe=qe.children[cn].children[on]}(cn=Qn.children.findIndex(function(jn,gi){return"g"==jn.tag}))>=0&&(on=Qn.children[cn].children.findIndex(function(gi,xn){return"a"==gi.tag}),Qn=Qn.children[cn].children[on]);for(var Un=qe.children,cn=0;cn0&&this._queue.shift().call(this)}function Zn(j,mt,Ct,At){var Xt=[j*Ct-(mt=-mt)*(At=-At),j*At+mt*Ct];return[j=Xt[0],mt=-(mt=Xt[1])]}function Di(j,mt,Ct,At,Xt,te,Dt){var O=z(bn.call(this,te));j.data([O]),at.call(j.node(),O),vn(j,mt,Ct,At,Xt,te,Dt)}function vn(j,mt,Ct,At,Xt,te,Dt){var de=Dt.shortening||0,ke=[[0,-3.5],[10,0],[0,3.5],[0,-3.5]],rn=At-mt,He=Xt-Ct,Je=Math.sqrt(rn*rn+He*He);if(0==Je)var fe=1,ye=0;else fe=rn/Je,ye=He/Je;if(At=mt+(Je-de-10-.1)*fe,Xt=Ct+(Je-de-10-.1)*ye,te.URL||te.tooltip)var Ye=j.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a"),nt=Ye.selectWithoutDataPropagation("path"),_t=Ye.selectWithoutDataPropagation("polygon");else nt=j.selectWithoutDataPropagation("path"),_t=j.selectWithoutDataPropagation("polygon");var gt=g.path();gt.moveTo(mt,Ct),gt.lineTo(At,Xt),nt.attr("d",gt),At=mt+(Je-de-10)*fe,Xt=Ct+(Je-de-10)*ye;for(var St=0;St b ["+mt+"]}","svg","dot"),O=(new window.DOMParser).parseFromString(Dt,"image/svg+xml");return p.select(document.createDocumentFragment()).append(function(){return O.documentElement}).select(".edge")}function Nn(j,mt,Ct,At,Xt,te){var de=z(X.call(this,At,Xt));return j.data([de]),at.call(j.node(),de),De(j,mt,Ct,Xt),this}function De(j,mt,Ct,At,Xt){if(At.URL||At.tooltip)var te=j.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a");else te=j;var Dt=te.selectAll("ellipse,polygon,path,polyline"),de=j.selectWithoutDataPropagation("text");if(0!=Dt.size()){var O=Dt.node().getBBox();O.cx=O.x+O.width/2,O.cy=O.y+O.height/2}else 0!=de.size()&&(O={x:+de.attr("x"),y:+de.attr("y"),width:0,height:0,cx:+de.attr("x"),cy:+de.attr("y")});return Dt.each(function(le,Le){var ke=p.select(this);if(ke.attr("cx"))ke.attr("cx",K(mt)).attr("cy",K(Ct));else if(ke.attr("points")){var rn=ke.attr("points").trim();ke.attr("points",function gn(te,mt,Ct){var Xt,At=(Xt=te.split(" ")).map(function(Dt){return Dt.split(",")});return At=Xt.map(function(Dt){return[K(+mt+ +Dt.split(",")[0]),K(+Ct+ +Dt.split(",")[1])]}),(Xt=At.map(function(Dt){return Dt.join(",")})).join(" ")}(rn,mt-O.cx,Ct-O.cy))}else{var He=ke.attr("d");ke.attr("d",function Ve(j,mt,Ct){(te=j.split(/[A-Z ]/)).shift();var At=j.split(/[^[A-Z ]+/),te=(te.map(function(Dt){return Dt.split(",")}),te.map(function(Dt){return[K(+mt+ +Dt.split(",")[0]),K(+Ct+ +Dt.split(",")[1])]}).map(function(Dt){return Dt.join(",")}));return At.reduce(function(Dt,de,O){return Dt.concat(de,te[O])},[]).join("")}(He,mt-O.cx,Ct-O.cy))}}),0!=de.size()&&de.attr("x",K(+de.attr("x")+mt-O.cx)).attr("y",K(+de.attr("y")+Ct-O.cy)),this}function Bn(){if(!this._drawnNode)return this;var j=this._drawnNode.g;return j.empty()||j.remove(),this._drawnNode=null,this}function V(){return this._drawnNode?this._drawnNode.g:p.select(null)}function X(j,mt){for(var Ct="",At=0,Xt=Object.keys(mt);At2")(rn)+" ",ye+=He+" ".repeat(te-He.length),ye+=h.format(" >5")(Je-Ct)+" ","initEnd"!=He&&(ye+=h.format(" >5")(Je-At.start[fe])),"dataProcessEnd"==He&&(ye+=" prepare "+h.format(" >5")(Je-At.layoutEnd[fe])),"renderEnd"==He&&O._transition&&(ye+=" transition start margin "+h.format(" >5")(O._transition.delay()-(Je-At.renderStart[fe])),le=O._transition.delay(),Le=O._transition.duration()),"transitionStart"==He){var Ye=Je-At.renderStart[fe];ye+=" transition delay "+h.format(" >5")(Je-At.renderStart[fe]),ye+=" expected "+h.format(" >5")(le),ye+=" diff "+h.format(" >5")(Ye-le)}if("transitionEnd"==He){var nt=Je-At.transitionStart[fe];ye+=" transition duration "+h.format(" >5")(nt),ye+=" expected "+h.format(" >5")(Le),ye+=" diff "+h.format(" >5")(nt-Le)}console.log(ye),Ct=Je}:null)},de=0;de5&&void 0!==arguments[5]?arguments[5]:{};if((Xt=Object.assign({},Xt)).style&&Xt.style.includes("invis"))var Dt=p.select(null);else{var le=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),ke=z(bn.call(this,Xt));Dt=le.append("g").data([ke]),at.call(Dt.node(),ke),Di.call(this,Dt,j,mt,Ct,At,Xt,te)}return this._drawnEdge={g:Dt,x1:j,y1:mt,x2:Ct,y2:At,attributes:Xt},this},updateDrawnEdge:function qn(j,mt,Ct,At){var Xt=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},te=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(!this._drawnEdge)throw Error("No edge has been drawn");var Dt=this._drawnEdge.g;return Xt=Object.assign(this._drawnEdge.attributes,Xt),this._drawnEdge.x1=j,this._drawnEdge.y1=mt,this._drawnEdge.x2=Ct,this._drawnEdge.y2=At,!Dt.empty()||Xt.style&&Xt.style.includes("invis")||(Dt=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g").append("g"),this._drawnEdge.g=Dt),Dt.empty()||Di.call(this,Dt,j,mt,Ct,At,Xt,te),this},moveDrawnEdgeEndPoint:function ei(j,mt){var Ct=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this._drawnEdge)throw Error("No edge has been drawn");var At=this._drawnEdge.g,Xt=this._drawnEdge.x1,te=this._drawnEdge.y1,Dt=this._drawnEdge.attributes;return this._drawnEdge.x2=j,this._drawnEdge.y2=mt,vn(At,Xt,te,j,mt,Dt,Ct),this},insertDrawnEdge:function On(j){if(!this._drawnEdge)throw Error("No edge has been drawn");var mt=this._drawnEdge.g;if(mt.empty())return this;mt.selectWithoutDataPropagation("title").text(j);var te=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),Dt=te.datum(),de=this._extractData(mt,Dt.children.length,te.datum());return Dt.children.push(de),et(mt,de),this._drawnEdge=null,this},removeDrawnEdge:Ai},"removeDrawnEdge",Ai),C(Ot,"drawnEdgeSelection",un),C(Ot,"drawnEdgeSelection",un),C(Ot,"drawNode",function Kn(j,mt,Ct){var At=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},Xt=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if((At=Object.assign({},At)).style&&At.style.includes("invis"))var te=p.select(null);else{var O=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),Le=z(X.call(this,Ct,At));te=O.append("g").data([Le]),at.call(te.node(),Le),Nn.call(this,te,j,mt,Ct,At,Xt)}return this._drawnNode={g:te,nodeId:Ct,x:j,y:mt,attributes:At},this}),C(Ot,"updateDrawnNode",function ui(j,mt,Ct){var At=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},Xt=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!this._drawnNode)throw Error("No node has been drawn");var te=this._drawnNode.g;return null==Ct&&(Ct=this._drawnNode.nodeId),At=Object.assign(this._drawnNode.attributes,At),this._drawnNode.nodeId=Ct,this._drawnNode.x=j,this._drawnNode.y=mt,!te.empty()||At.style&&At.style.includes("invis")||(te=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g").append("g"),this._drawnNode.g=te),te.empty()||Nn.call(this,te,j,mt,Ct,At,Xt),this}),C(Ot,"moveDrawnNode",function Mi(j,mt){if(!this._drawnNode)throw Error("No node has been drawn");var Ct=this._drawnNode.g,At=this._drawnNode.attributes;return this._drawnNode.x=j,this._drawnNode.y=mt,Ct.empty()||De(Ct,j,mt,At),this}),C(Ot,"insertDrawnNode",function pn(j){if(!this._drawnNode)throw Error("No node has been drawn");null==j&&(j=this._drawnNode.nodeId);var mt=this._drawnNode.g;if(mt.empty())return this;var Ct=this._drawnNode.attributes;if(mt.selectWithoutDataPropagation("title").text(j),Ct.URL||Ct.tooltip){var te=mt.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a");te.selectWithoutDataPropagation("ellipse,polygon,path,polyline");var Dt=te.selectWithoutDataPropagation("text")}else mt.selectWithoutDataPropagation("ellipse,polygon,path,polyline"),Dt=mt.selectWithoutDataPropagation("text");Dt.text(Ct.label||j);var le=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),Le=le.datum(),ke=this._extractData(mt,Le.children.length,le.datum());return Le.children.push(ke),et(mt,ke),this._drawnNode=null,this}),C(Ot,"removeDrawnNode",Bn),C(Ot,"removeDrawnNode",Bn),C(Ot,"drawnNodeSelection",V),C(Ot,"drawnNodeSelection",V),C(Ot,"graphvizVersion",function Tn(){return this._graphvizVersion}),Ot),x.selection.prototype.graphviz=function re(j){var mt=this.node().__graphviz__;return mt?(mt.options(j),m.timeout(function(){mt._dispatch.call("initEnd",this)}.bind(this),0)):mt=new Bt(this,j),mt},x.selection.prototype.selectWithoutDataPropagation=function qt(j){return p.select(this.size()>0?this.node().querySelector(j):null)},u.graphviz=Yt,Object.defineProperty(u,"__esModule",{value:!0})}(k,o(68557),o(18140),o(35011),o(31566),o(82683),o(60128),o(89397),o(41129),o(12218))},92940:(w,k,o)=>{"use strict";o.d(k,{Z:()=>t});var u={value:()=>{}};function x(){for(var f,c=0,h=arguments.length,g={};c=0&&(f=g.slice(p+1),g=g.slice(0,p)),g&&!h.hasOwnProperty(g))throw new Error("unknown type: "+g);return{type:g,name:f}})}function m(c,h){for(var p,g=0,f=c.length;g0)for(var p,C,g=new Array(p),f=0;f{"use strict";o.r(k),o.d(k,{dispatch:()=>u.Z});var u=o(92940)},97907:(w,k,o)=>{"use strict";function u(v,_,m,l,t){var c=v*v,h=c*v;return((1-3*v+3*c-h)*_+(4-6*c+3*h)*m+(1+3*v+3*c-3*h)*l+h*t)/6}function x(v){var _=v.length-1;return function(m){var l=m<=0?m=0:m>=1?(m=1,_-1):Math.floor(m*_),t=v[l],c=v[l+1];return u((m-l/_)*_,l>0?v[l-1]:2*t-c,t,c,l<_-1?v[l+2]:2*c-t)}}o.d(k,{t:()=>u,Z:()=>x})},77296:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(97907);function x(v){var _=v.length;return function(m){var l=Math.floor(((m%=1)<0?++m:m)*_);return(0,u.t)((m-l/_)*_,v[(l+_-1)%_],v[l%_],v[(l+1)%_],v[(l+2)%_])}}},87237:(w,k,o)=>{"use strict";o.d(k,{wx:()=>_,yi:()=>m,ZP:()=>l});var u=o(89783);function x(t,c){return function(h){return t+h*c}}function _(t,c){var h=c-t;return h?x(t,h>180||h<-180?h-360*Math.round(h/360):h):(0,u.Z)(isNaN(t)?c:t)}function m(t){return 1==(t=+t)?l:function(c,h){return h-c?function v(t,c,h){return t=Math.pow(t,h),c=Math.pow(c,h)-t,h=1/h,function(g){return Math.pow(t+g*c,h)}}(c,h,t):(0,u.Z)(isNaN(c)?h:c)}}function l(t,c){var h=c-t;return h?x(t,h):(0,u.Z)(isNaN(t)?c:t)}},89783:(w,k,o)=>{"use strict";o.d(k,{Z:()=>u});const u=x=>()=>x},82683:(w,k,o)=>{"use strict";o.r(k),o.d(k,{interpolate:()=>p,interpolateArray:()=>m,interpolateBasis:()=>C.Z,interpolateBasisClosed:()=>A.Z,interpolateCubehelix:()=>ti,interpolateCubehelixLong:()=>Me,interpolateDate:()=>t,interpolateDiscrete:()=>L,interpolateHcl:()=>oe,interpolateHclLong:()=>fn,interpolateHsl:()=>et,interpolateHslLong:()=>q,interpolateHue:()=>P,interpolateLab:()=>Ve,interpolateNumber:()=>c.Z,interpolateNumberArray:()=>v,interpolateObject:()=>h,interpolateRgb:()=>x.ZP,interpolateRgbBasis:()=>x.hD,interpolateRgbBasisClosed:()=>x.YD,interpolateRound:()=>R,interpolateString:()=>g.Z,interpolateTransformCss:()=>Z.Y,interpolateTransformSvg:()=>Z.w,interpolateZoom:()=>ot,piecewise:()=>Xn,quantize:()=>$n});var u=o(52786),x=o(8200);function v(Tt,Gt){Gt||(Gt=[]);var ve,se=Tt?Math.min(Gt.length,Tt.length):0,pe=Gt.slice();return function(Ze){for(ve=0;ve.008856451679035631?Math.pow(Tt,1/3):Tt/Zt+ft}function Jt(Tt){return Tt>It?Tt*Tt*Tt:Zt*(Tt-ft)}function ge(Tt){return 255*(Tt<=.0031308?12.92*Tt:1.055*Math.pow(Tt,1/2.4)-.055)}function _e(Tt){return(Tt/=255)<=.04045?Tt/12.92:Math.pow((Tt+.055)/1.055,2.4)}function Te(Tt){if(Tt instanceof Fe)return new Fe(Tt.h,Tt.c,Tt.l,Tt.opacity);if(Tt instanceof pt||(Tt=ne(Tt)),0===Tt.a&&0===Tt.b)return new Fe(NaN,0{"use strict";function u(x,v){return x=+x,v=+v,function(_){return x*(1-_)+v*_}}o.d(k,{Z:()=>u})},8200:(w,k,o)=>{"use strict";o.d(k,{ZP:()=>m,hD:()=>t,YD:()=>c});var u=o(52786),x=o(97907),v=o(77296),_=o(87237);const m=function h(g){var f=(0,_.yi)(g);function p(C,A){var L=f((C=(0,u.B8)(C)).r,(A=(0,u.B8)(A)).r),N=f(C.g,A.g),P=f(C.b,A.b),R=(0,_.ZP)(C.opacity,A.opacity);return function(Z){return C.r=L(Z),C.g=N(Z),C.b=P(Z),C.opacity=R(Z),C+""}}return p.gamma=h,p}(1);function l(h){return function(g){var L,N,f=g.length,p=new Array(f),C=new Array(f),A=new Array(f);for(L=0;L{"use strict";o.d(k,{Z:()=>l});var u=o(37815),x=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,v=new RegExp(x.source,"g");function l(t,c){var g,f,p,h=x.lastIndex=v.lastIndex=0,C=-1,A=[],L=[];for(t+="",c+="";(g=x.exec(t))&&(f=v.exec(c));)(p=f.index)>h&&(p=c.slice(h,p),A[C]?A[C]+=p:A[++C]=p),(g=g[0])===(f=f[0])?A[C]?A[C]+=f:A[++C]=f:(A[++C]=null,L.push({i:C,x:(0,u.Z)(g,f)})),h=v.lastIndex;return h{"use strict";o.d(k,{Y:()=>h,w:()=>g});var m,u=o(37815),x=180/Math.PI,v={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function _(f,p,C,A,L,N){var P,R,Z;return(P=Math.sqrt(f*f+p*p))&&(f/=P,p/=P),(Z=f*C+p*A)&&(C-=f*Z,A-=p*Z),(R=Math.sqrt(C*C+A*A))&&(C/=R,A/=R,Z/=R),f*A180?z+=360:z-H>180&&(H+=360),rt.push({i:tt.push(L(tt)+"rotate(",null,A)-2,x:(0,u.Z)(H,z)})):z&&tt.push(L(tt)+"rotate("+z+A)}(H.rotate,z.rotate,tt,rt),function R(H,z,tt,rt){H!==z?rt.push({i:tt.push(L(tt)+"skewX(",null,A)-2,x:(0,u.Z)(H,z)}):z&&tt.push(L(tt)+"skewX("+z+A)}(H.skewX,z.skewX,tt,rt),function Z(H,z,tt,rt,ot,J){if(H!==tt||z!==rt){var et=ot.push(L(ot)+"scale(",null,",",null,")");J.push({i:et-4,x:(0,u.Z)(H,tt)},{i:et-2,x:(0,u.Z)(z,rt)})}else(1!==tt||1!==rt)&&ot.push(L(ot)+"scale("+tt+","+rt+")")}(H.scaleX,H.scaleY,z.scaleX,z.scaleY,tt,rt),H=z=null,function(ot){for(var q,J=-1,et=rt.length;++J{"use strict";o.r(k),o.d(k,{path:()=>t});const u=Math.PI,x=2*u,v=1e-6,_=x-v;function m(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function l(){return new m}m.prototype=l.prototype={constructor:m,moveTo:function(c,h){this._+="M"+(this._x0=this._x1=+c)+","+(this._y0=this._y1=+h)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(c,h){this._+="L"+(this._x1=+c)+","+(this._y1=+h)},quadraticCurveTo:function(c,h,g,f){this._+="Q"+ +c+","+ +h+","+(this._x1=+g)+","+(this._y1=+f)},bezierCurveTo:function(c,h,g,f,p,C){this._+="C"+ +c+","+ +h+","+ +g+","+ +f+","+(this._x1=+p)+","+(this._y1=+C)},arcTo:function(c,h,g,f,p){var C=this._x1,A=this._y1,L=(g=+g)-(c=+c),N=(f=+f)-(h=+h),P=C-c,R=A-h,Z=P*P+R*R;if((p=+p)<0)throw new Error("negative radius: "+p);if(null===this._x1)this._+="M"+(this._x1=c)+","+(this._y1=h);else if(Z>v)if(Math.abs(R*L-N*P)>v&&p){var H=g-C,z=f-A,tt=L*L+N*N,rt=H*H+z*z,ot=Math.sqrt(tt),J=Math.sqrt(Z),et=p*Math.tan((u-Math.acos((tt+Z-rt)/(2*ot*J)))/2),q=et/J,at=et/ot;Math.abs(q-1)>v&&(this._+="L"+(c+q*P)+","+(h+q*R)),this._+="A"+p+","+p+",0,0,"+ +(R*H>P*z)+","+(this._x1=c+at*L)+","+(this._y1=h+at*N)}else this._+="L"+(this._x1=c)+","+(this._y1=h)},arc:function(c,h,g,f,p,C){c=+c,h=+h,C=!!C;var A=(g=+g)*Math.cos(f),L=g*Math.sin(f),N=c+A,P=h+L,R=1^C,Z=C?f-p:p-f;if(g<0)throw new Error("negative radius: "+g);null===this._x1?this._+="M"+N+","+P:(Math.abs(this._x1-N)>v||Math.abs(this._y1-P)>v)&&(this._+="L"+N+","+P),g&&(Z<0&&(Z=Z%x+x),Z>_?this._+="A"+g+","+g+",0,1,"+R+","+(c-A)+","+(h-L)+"A"+g+","+g+",0,1,"+R+","+(this._x1=N)+","+(this._y1=P):Z>v&&(this._+="A"+g+","+g+",0,"+ +(Z>=u)+","+R+","+(this._x1=c+g*Math.cos(p))+","+(this._y1=h+g*Math.sin(p))))},rect:function(c,h,g,f){this._+="M"+(this._x0=this._x1=+c)+","+(this._y0=this._y1=+h)+"h"+ +g+"v"+ +f+"h"+-g+"Z"},toString:function(){return this._}};const t=l},31566:(w,k,o)=>{"use strict";o.r(k),o.d(k,{interval:()=>v,now:()=>u.zO,timeout:()=>x.Z,timer:()=>u.HT,timerFlush:()=>u.R8});var u=o(78562),x=o(30406);function v(_,m,l){var t=new u.B7,c=m;return null==m?(t.restart(_,m,l),t):(t._restart=t.restart,t.restart=function(h,g,f){g=+g,f=null==f?(0,u.zO)():+f,t._restart(function p(C){C+=c,t._restart(p,c+=g,f),h(C)},g,f)},t.restart(_,m,l),t)}},30406:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(78562);function x(v,_,m){var l=new u.B7;return l.restart(t=>{l.stop(),v(t+_)},_=null==_?0:+_,m),l}},78562:(w,k,o)=>{"use strict";o.d(k,{zO:()=>p,B7:()=>A,HT:()=>L,R8:()=>N});var m,l,u=0,x=0,v=0,t=0,c=0,h=0,g="object"==typeof performance&&performance.now?performance:Date,f="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(z){setTimeout(z,17)};function p(){return c||(f(C),c=g.now()+h)}function C(){c=0}function A(){this._call=this._time=this._next=null}function L(z,tt,rt){var ot=new A;return ot.restart(z,tt,rt),ot}function N(){p(),++u;for(var tt,z=m;z;)(tt=c-z._time)>=0&&z._call.call(null,tt),z=z._next;--u}function P(){c=(t=g.now())+h,u=x=0;try{N()}finally{u=0,function Z(){for(var z,rt,tt=m,ot=1/0;tt;)tt._call?(ot>tt._time&&(ot=tt._time),z=tt,tt=tt._next):(rt=tt._next,tt._next=null,tt=z?z._next=rt:m=rt);l=z,H(ot)}(),c=0}}function R(){var z=g.now(),tt=z-t;tt>1e3&&(h-=tt,t=z)}function H(z){u||(x&&(x=clearTimeout(x)),z-c>24?(z<1/0&&(x=setTimeout(P,z-g.now()-h)),v&&(v=clearInterval(v))):(v||(t=g.now(),v=setInterval(R,1e3)),u=1,f(P)))}A.prototype=L.prototype={constructor:A,restart:function(z,tt,rt){if("function"!=typeof z)throw new TypeError("callback is not a function");rt=(null==rt?p():+rt)+(null==tt?0:+tt),!this._next&&l!==this&&(l?l._next=this:m=this,l=this),this._call=z,this._time=rt,H()},stop:function(){this._call&&(this._call=null,this._time=1/0,H())}}},35011:(w,k,o)=>{"use strict";o.r(k),o.d(k,{active:()=>pn,interrupt:()=>Z,transition:()=>un});var u=o(37853),x=o(92940),v=o(78562),_=o(30406),m=(0,x.Z)("start","end","cancel","interrupt"),l=[];function A(V,X,ht,S,wt,Ot){var Bt=V.__transition;if(Bt){if(ht in Bt)return}else V.__transition={};!function R(V,X,ht){var wt,S=V.__transition;function Bt(qt){var j,mt,Ct,At;if(1!==ht.state)return re();for(j in S)if((At=S[j]).name===ht.name){if(3===At.state)return(0,_.Z)(Bt);4===At.state?(At.state=6,At.timer.stop(),At.on.call("interrupt",V,V.__data__,At.index,At.group),delete S[j]):+j0)throw new Error("too late; already scheduled");return ht}function N(V,X){var ht=P(V,X);if(ht.state>3)throw new Error("too late; already running");return ht}function P(V,X){var ht=V.__transition;if(!ht||!(ht=ht[X]))throw new Error("transition not found");return ht}function Z(V,X){var S,wt,Bt,ht=V.__transition,Ot=!0;if(ht){for(Bt in X=null==X?null:X+"",ht)(S=ht[Bt]).name===X?(wt=S.state>2&&S.state<5,S.state=6,S.timer.stop(),S.on.call(wt?"interrupt":"cancel",V,V.__data__,S.index,S.group),delete ht[Bt]):Ot=!1;Ot&&delete V.__transition}}var z=o(43349),tt=o(36175);function rt(V,X){var ht,S;return function(){var wt=N(this,V),Ot=wt.tween;if(Ot!==ht)for(var Bt=0,Yt=(S=ht=Ot).length;Bt=0&&(X=X.slice(0,ht)),!X||"start"===X})}(X)?L:N;return function(){var Bt=Ot(this,V),Yt=Bt.on;Yt!==S&&(wt=(S=Yt).copy()).on(X,ht),Bt.on=wt}}var En=o(29742),ci=o(32037),_n=u.ZP.prototype.constructor,ti=o(24476);function Xn(V){return function(){this.style.removeProperty(V)}}function pe(V,X,ht){return function(S){this.style.setProperty(V,X.call(this,S),ht)}}function ve(V,X,ht){var S,wt;function Ot(){var Bt=X.apply(this,arguments);return Bt!==wt&&(S=(wt=Bt)&&pe(V,Bt,ht)),S}return Ot._value=X,Ot}function Dn(V){return function(X){this.textContent=V.call(this,X)}}function qn(V){var X,ht;function S(){var wt=V.apply(this,arguments);return wt!==ht&&(X=(ht=wt)&&Dn(wt)),X}return S._value=V,S}var Ai=0;function On(V,X,ht,S){this._groups=V,this._parents=X,this._name=ht,this._id=S}function un(V){return(0,u.ZP)().transition(V)}function bn(){return++Ai}var Kn=u.ZP.prototype;On.prototype=un.prototype={constructor:On,select:function Be(V){var X=this._name,ht=this._id;"function"!=typeof V&&(V=(0,En.Z)(V));for(var S=this._groups,wt=S.length,Ot=new Array(wt),Bt=0;Bt1&&S.name===X)return new On([[V]],Bn,X,+wt);return null}},47927:(w,k,o)=>{"use strict";function u(x){return function(){return x}}o.d(k,{Z:()=>u})},6738:(w,k,o)=>{"use strict";function u(x,v){return x=+x,v=+v,function(_){return x*(1-_)+v*_}}o.d(k,{Z:()=>u})},23534:(w,k,o)=>{"use strict";o.d(k,{ZP:()=>f});var u=o(52786);function x(L,N,P,R,Z){var H=L*L,z=H*L;return((1-3*L+3*H-z)*N+(4-6*H+3*z)*P+(1+3*L+3*H-3*z)*R+z*Z)/6}var m=o(47927);function g(L,N){var P=N-L;return P?function l(L,N){return function(P){return L+P*N}}(L,P):(0,m.Z)(isNaN(L)?N:L)}const f=function L(N){var P=function h(L){return 1==(L=+L)?g:function(N,P){return P-N?function t(L,N,P){return L=Math.pow(L,P),N=Math.pow(N,P)-L,P=1/P,function(R){return Math.pow(L+R*N,P)}}(N,P,L):(0,m.Z)(isNaN(N)?P:N)}}(N);function R(Z,H){var z=P((Z=(0,u.B8)(Z)).r,(H=(0,u.B8)(H)).r),tt=P(Z.g,H.g),rt=P(Z.b,H.b),ot=g(Z.opacity,H.opacity);return function(J){return Z.r=z(J),Z.g=tt(J),Z.b=rt(J),Z.opacity=ot(J),Z+""}}return R.gamma=L,R}(1);function p(L){return function(N){var z,tt,P=N.length,R=new Array(P),Z=new Array(P),H=new Array(P);for(z=0;z=1?(P=1,N-1):Math.floor(P*N),Z=L[R],H=L[R+1];return x((P-R/N)*N,R>0?L[R-1]:2*Z-H,Z,H,R{"use strict";o.d(k,{Z:()=>l});var u=o(6738),x=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,v=new RegExp(x.source,"g");function l(t,c){var g,f,p,h=x.lastIndex=v.lastIndex=0,C=-1,A=[],L=[];for(t+="",c+="";(g=x.exec(t))&&(f=v.exec(c));)(p=f.index)>h&&(p=c.slice(h,p),A[C]?A[C]+=p:A[++C]=p),(g=g[0])===(f=f[0])?A[C]?A[C]+=f:A[++C]=f:(A[++C]=null,L.push({i:C,x:(0,u.Z)(g,f)})),h=v.lastIndex;return h{"use strict";o.d(k,{Y:()=>p,w:()=>C});var m,l,t,c,u=o(6738),x=180/Math.PI,v={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function _(A,L,N,P,R,Z){var H,z,tt;return(H=Math.sqrt(A*A+L*L))&&(A/=H,L/=H),(tt=A*N+L*P)&&(N-=A*tt,P-=L*tt),(z=Math.sqrt(N*N+P*P))&&(N/=z,P/=z,tt/=z),A*P180?ot+=360:ot-rt>180&&(rt+=360),et.push({i:J.push(R(J)+"rotate(",null,P)-2,x:(0,u.Z)(rt,ot)})):ot&&J.push(R(J)+"rotate("+ot+P)}(rt.rotate,ot.rotate,J,et),function z(rt,ot,J,et){rt!==ot?et.push({i:J.push(R(J)+"skewX(",null,P)-2,x:(0,u.Z)(rt,ot)}):ot&&J.push(R(J)+"skewX("+ot+P)}(rt.skewX,ot.skewX,J,et),function tt(rt,ot,J,et,q,at){if(rt!==J||ot!==et){var Y=q.push(R(q)+"scale(",null,",",null,")");at.push({i:Y-4,x:(0,u.Z)(rt,J)},{i:Y-2,x:(0,u.Z)(ot,et)})}else(1!==J||1!==et)&&q.push(R(q)+"scale("+J+","+et+")")}(rt.scaleX,rt.scaleY,ot.scaleX,ot.scaleY,J,et),rt=ot=null,function(q){for(var K,at=-1,Y=et.length;++at{"use strict";function u(x){return"object"==typeof x&&"length"in x?x:Array.from(x)}o.d(k,{Z:()=>u})},7500:(w,k,o)=>{"use strict";o.d(k,{Z:()=>m});var u=o(36175),x=o(53517);function v(l){return function(){var t=this.ownerDocument,c=this.namespaceURI;return c===x.P&&t.documentElement.namespaceURI===x.P?t.createElement(l):t.createElementNS(c,l)}}function _(l){return function(){return this.ownerDocument.createElementNS(l.space,l.local)}}function m(l){var t=(0,u.Z)(l);return(t.local?_:v)(t)}},68557:(w,k,o)=>{"use strict";o.r(k),o.d(k,{create:()=>v,creator:()=>u.Z,local:()=>m,matcher:()=>t.Z,namespace:()=>c.Z,namespaces:()=>h.Z,pointer:()=>g.Z,pointers:()=>p,select:()=>x.Z,selectAll:()=>L,selection:()=>A.ZP,selector:()=>N.Z,selectorAll:()=>P.Z,style:()=>R.S,window:()=>Z.Z});var u=o(7500),x=o(52016);function v(H){return(0,x.Z)((0,u.Z)(H).call(document.documentElement))}var _=0;function m(){return new l}function l(){this._="@"+(++_).toString(36)}l.prototype=m.prototype={constructor:l,get:function(H){for(var z=this._;!(z in H);)if(!(H=H.parentNode))return;return H[z]},set:function(H,z){return H[this._]=z},remove:function(H){return this._ in H&&delete H[this._]},toString:function(){return this._}};var t=o(97905),c=o(36175),h=o(53517),g=o(29132),f=o(75819);function p(H,z){return H.target&&(H=(0,f.Z)(H),void 0===z&&(z=H.currentTarget),H=H.touches||[H]),Array.from(H,tt=>(0,g.Z)(tt,z))}var C=o(34638),A=o(37853);function L(H){return"string"==typeof H?new A.Y1([document.querySelectorAll(H)],[document.documentElement]):new A.Y1([null==H?[]:(0,C.Z)(H)],A.Jz)}var N=o(29742),P=o(32037),R=o(24476),Z=o(2442)},97905:(w,k,o)=>{"use strict";function u(v){return function(){return this.matches(v)}}function x(v){return function(_){return _.matches(v)}}o.d(k,{Z:()=>u,P:()=>x})},36175:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(53517);function x(v){var _=v+="",m=_.indexOf(":");return m>=0&&"xmlns"!==(_=v.slice(0,m))&&(v=v.slice(m+1)),u.Z.hasOwnProperty(_)?{space:u.Z[_],local:v}:v}},53517:(w,k,o)=>{"use strict";o.d(k,{P:()=>u,Z:()=>x});var u="http://www.w3.org/1999/xhtml";const x={svg:"http://www.w3.org/2000/svg",xhtml:u,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},29132:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(75819);function x(v,_){if(v=(0,u.Z)(v),void 0===_&&(_=v.currentTarget),_){var m=_.ownerSVGElement||_;if(m.createSVGPoint){var l=m.createSVGPoint();return l.x=v.clientX,l.y=v.clientY,[(l=l.matrixTransform(_.getScreenCTM().inverse())).x,l.y]}if(_.getBoundingClientRect){var t=_.getBoundingClientRect();return[v.clientX-t.left-_.clientLeft,v.clientY-t.top-_.clientTop]}}return[v.pageX,v.pageY]}},52016:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(37853);function x(v){return"string"==typeof v?new u.Y1([[document.querySelector(v)]],[document.documentElement]):new u.Y1([[v]],u.Jz)}},37853:(w,k,o)=>{"use strict";o.d(k,{Y1:()=>De,ZP:()=>pn,Jz:()=>Nn});var u=o(29742),v=o(34638),_=o(32037),t=o(97905),c=Array.prototype.find;function g(){return this.firstElementChild}var p=Array.prototype.filter;function C(){return this.children}function P(V){return new Array(V.length)}function Z(V,X){this.ownerDocument=V.ownerDocument,this.namespaceURI=V.namespaceURI,this._next=null,this._parent=V,this.__data__=X}function H(V){return function(){return V}}function z(V,X,ht,S,wt,Ot){for(var Yt,Bt=0,re=X.length,qt=Ot.length;BtX?1:V>=X?0:NaN}Z.prototype={constructor:Z,appendChild:function(V){return this._parent.insertBefore(V,this._next)},insertBefore:function(V,X){return this._parent.insertBefore(V,X)},querySelector:function(V){return this._parent.querySelector(V)},querySelectorAll:function(V){return this._parent.querySelectorAll(V)}};var Zt=o(36175);function Ht(V){return function(){this.removeAttribute(V)}}function ne(V){return function(){this.removeAttributeNS(V.space,V.local)}}function Ut(V,X){return function(){this.setAttribute(V,X)}}function xt(V,X){return function(){this.setAttributeNS(V.space,V.local,X)}}function pt(V,X){return function(){var ht=X.apply(this,arguments);null==ht?this.removeAttribute(V):this.setAttribute(V,ht)}}function Nt(V,X){return function(){var ht=X.apply(this,arguments);null==ht?this.removeAttributeNS(V.space,V.local):this.setAttributeNS(V.space,V.local,ht)}}var ge=o(24476);function _e(V){return function(){delete this[V]}}function Te(V,X){return function(){this[V]=X}}function Re(V,X){return function(){var ht=X.apply(this,arguments);null==ht?delete this[V]:this[V]=ht}}function Fe(V){return V.trim().split(/^|\s+/)}function gn(V){return V.classList||new Ve(V)}function Ve(V){this._node=V,this._names=Fe(V.getAttribute("class")||"")}function Mn(V,X){for(var ht=gn(V),S=-1,wt=X.length;++S=0&&(this._names.splice(X,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(V){return this._names.indexOf(V)>=0}};var $n=o(7500);function Gt(){return null}function pe(){var V=this.parentNode;V&&V.removeChild(this)}function Ze(){var V=this.cloneNode(!1),X=this.parentNode;return X?X.insertBefore(V,this.nextSibling):V}function Oe(){var V=this.cloneNode(!0),X=this.parentNode;return X?X.insertBefore(V,this.nextSibling):V}function qn(V){return V.trim().split(/^|\s+/).map(function(X){var ht="",S=X.indexOf(".");return S>=0&&(ht=X.slice(S+1),X=X.slice(0,S)),{type:X,name:ht}})}function Di(V){return function(){var X=this.__on;if(X){for(var Ot,ht=0,S=-1,wt=X.length;ht=le&&(le=O+1);!(ke=Dt[le])&&++le=0;)(Bt=S[wt])&&(Ot&&4^Bt.compareDocumentPosition(Ot)&&Ot.parentNode.insertBefore(Bt,Ot),Ot=Bt);return this},sort:function Y(V){function X(mt,Ct){return mt&&Ct?V(mt.__data__,Ct.__data__):!mt-!Ct}V||(V=K);for(var ht=this._groups,S=ht.length,wt=new Array(S),Ot=0;Ot1?this.each((null==X?_e:"function"==typeof X?Re:Te)(V,X)):this.node()[V]},classed:function Hn(V,X){var ht=Fe(V+"");if(arguments.length<2){for(var S=gn(this.node()),wt=-1,Ot=ht.length;++wt{"use strict";o.d(k,{Z:()=>m,S:()=>l});var u=o(2442);function x(t){return function(){this.style.removeProperty(t)}}function v(t,c,h){return function(){this.style.setProperty(t,c,h)}}function _(t,c,h){return function(){var g=c.apply(this,arguments);null==g?this.style.removeProperty(t):this.style.setProperty(t,g,h)}}function m(t,c,h){return arguments.length>1?this.each((null==c?x:"function"==typeof c?_:v)(t,c,null==h?"":h)):l(this.node(),t)}function l(t,c){return t.style.getPropertyValue(c)||(0,u.Z)(t).getComputedStyle(t,null).getPropertyValue(c)}},29742:(w,k,o)=>{"use strict";function u(){}function x(v){return null==v?u:function(){return this.querySelector(v)}}o.d(k,{Z:()=>x})},32037:(w,k,o)=>{"use strict";function u(){return[]}function x(v){return null==v?u:function(){return this.querySelectorAll(v)}}o.d(k,{Z:()=>x})},75819:(w,k,o)=>{"use strict";function u(x){let v;for(;v=x.sourceEvent;)x=v;return x}o.d(k,{Z:()=>u})},2442:(w,k,o)=>{"use strict";function u(x){return x.ownerDocument&&x.ownerDocument.defaultView||x.document&&x||x.defaultView}o.d(k,{Z:()=>u})},73339:(w,k,o)=>{"use strict";o.d(k,{Z:()=>x});var u=o(49194);function x(v,_,m){var l=new u.B7;return l.restart(function(t){l.stop(),v(t+_)},_=null==_?0:+_,m),l}},49194:(w,k,o)=>{"use strict";o.d(k,{zO:()=>p,B7:()=>A,HT:()=>L,R8:()=>N});var m,l,u=0,x=0,v=0,t=0,c=0,h=0,g="object"==typeof performance&&performance.now?performance:Date,f="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(z){setTimeout(z,17)};function p(){return c||(f(C),c=g.now()+h)}function C(){c=0}function A(){this._call=this._time=this._next=null}function L(z,tt,rt){var ot=new A;return ot.restart(z,tt,rt),ot}function N(){p(),++u;for(var tt,z=m;z;)(tt=c-z._time)>=0&&z._call.call(null,tt),z=z._next;--u}function P(){c=(t=g.now())+h,u=x=0;try{N()}finally{u=0,function Z(){for(var z,rt,tt=m,ot=1/0;tt;)tt._call?(ot>tt._time&&(ot=tt._time),z=tt,tt=tt._next):(rt=tt._next,tt._next=null,tt=z?z._next=rt:m=rt);l=z,H(ot)}(),c=0}}function R(){var z=g.now(),tt=z-t;tt>1e3&&(h-=tt,t=z)}function H(z){u||(x&&(x=clearTimeout(x)),z-c>24?(z<1/0&&(x=setTimeout(P,z-g.now()-h)),v&&(v=clearInterval(v))):(v||(t=g.now(),v=setInterval(R,1e3)),u=1,f(P)))}A.prototype=L.prototype={constructor:A,restart:function(z,tt,rt){if("function"!=typeof z)throw new TypeError("callback is not a function");rt=(null==rt?p():+rt)+(null==tt?0:+tt),!this._next&&l!==this&&(l?l._next=this:m=this,l=this),this._call=z,this._time=rt,H()},stop:function(){this._call&&(this._call=null,this._time=1/0,H())}}},60128:(w,k,o)=>{"use strict";o.r(k),o.d(k,{zoom:()=>Ye,zoomIdentity:()=>de,zoomTransform:()=>O});var u=o(25922),x=o(52016);function _(nt){nt.preventDefault(),nt.stopImmediatePropagation()}function m(nt){var _t=nt.document.documentElement,gt=(0,x.Z)(nt).on("dragstart.drag",_,!0);"onselectstart"in _t?gt.on("selectstart.drag",_,!0):(_t.__noselect=_t.style.MozUserSelect,_t.style.MozUserSelect="none")}function l(nt,_t){var gt=nt.document.documentElement,St=(0,x.Z)(nt).on("dragstart.drag",null);_t&&(St.on("click.drag",_,!0),setTimeout(function(){St.on("click.drag",null)},0)),"onselectstart"in gt?St.on("selectstart.drag",null):(gt.style.MozUserSelect=gt.__noselect,delete gt.__noselect)}var t=Math.SQRT2;function f(nt){return((nt=Math.exp(nt))+1/nt)/2}function A(nt,_t){var Ie,Ee,gt=nt[0],St=nt[1],zt=nt[2],me=_t[2],xe=_t[0]-gt,Wt=_t[1]-St,ce=xe*xe+Wt*Wt;if(ce<1e-12)Ee=Math.log(me/zt)/t,Ie=function(qe){return[gt+qe*xe,St+qe*Wt,zt*Math.exp(t*qe*Ee)]};else{var Ue=Math.sqrt(ce),Jn=(me*me-zt*zt+4*ce)/(2*zt*2*Ue),Ln=(me*me-zt*zt-4*ce)/(2*me*2*Ue),kn=Math.log(Math.sqrt(Jn*Jn+1)-Jn),ze=Math.log(Math.sqrt(Ln*Ln+1)-Ln);Ee=(ze-kn)/t,Ie=function(qe){var Qn=qe*Ee,on=f(kn),cn=zt/(2*Ue)*(on*function C(nt){return((nt=Math.exp(2*nt))-1)/(nt+1)}(t*Qn+kn)-function p(nt){return((nt=Math.exp(nt))-1/nt)/2}(kn));return[gt+cn*xe,St+cn*Wt,zt*on/f(t*Qn+kn)]}}return Ie.duration=1e3*Ee,Ie}var L=o(29132),N=o(37853),P=o(49194),R=o(73339),Z=(0,u.Z)("start","end","cancel","interrupt"),H=[];function at(nt,_t,gt,St,zt,ee){var Qt=nt.__transition;if(Qt){if(gt in Qt)return}else nt.__transition={};!function it(nt,_t,gt){var zt,St=nt.__transition;function Qt(Wt){var ce,Ie,Ee,Ue;if(1!==gt.state)return xe();for(ce in St)if((Ue=St[ce]).name===gt.name){if(3===Ue.state)return(0,R.Z)(Qt);4===Ue.state?(Ue.state=6,Ue.timer.stop(),Ue.on.call("interrupt",nt,nt.__data__,Ue.index,Ue.group),delete St[ce]):+ce<_t&&(Ue.state=6,Ue.timer.stop(),Ue.on.call("cancel",nt,nt.__data__,Ue.index,Ue.group),delete St[ce])}if((0,R.Z)(function(){3===gt.state&&(gt.state=4,gt.timer.restart(me,gt.delay,gt.time),me(Wt))}),gt.state=2,gt.on.call("start",nt,nt.__data__,gt.index,gt.group),2===gt.state){for(gt.state=3,zt=new Array(Ee=gt.tween.length),ce=0,Ie=-1;ce0)throw new Error("too late; already scheduled");return gt}function K(nt,_t){var gt=ut(nt,_t);if(gt.state>3)throw new Error("too late; already running");return gt}function ut(nt,_t){var gt=nt.__transition;if(!gt||!(gt=gt[_t]))throw new Error("transition not found");return gt}function G(nt,_t){var St,zt,Qt,gt=nt.__transition,ee=!0;if(gt){for(Qt in _t=null==_t?null:_t+"",gt)(St=gt[Qt]).name===_t?(zt=St.state>2&&St.state<5,St.state=6,St.timer.stop(),St.on.call(zt?"interrupt":"cancel",nt,nt.__data__,St.index,St.group),delete gt[Qt]):ee=!1;ee&&delete nt.__transition}}var ft=o(75349),It=o(36175);function Zt(nt,_t){var gt,St;return function(){var zt=K(this,nt),ee=zt.tween;if(ee!==gt)for(var Qt=0,me=(St=gt=ee).length;Qt=0&&(_t=_t.slice(0,gt)),!_t||"start"===_t})}(_t)?Y:K;return function(){var Qt=ee(this,nt),me=Qt.on;me!==St&&(zt=(St=me).copy()).on(_t,gt),Qt.on=zt}}var ve=o(29742),Oe=o(32037),Zn=N.ZP.prototype.constructor,qn=o(24476);function vn(nt){return function(){this.style.removeProperty(nt)}}function bn(nt,_t,gt){return function(St){this.style.setProperty(nt,_t.call(this,St),gt)}}function Kn(nt,_t,gt){var St,zt;function ee(){var Qt=_t.apply(this,arguments);return Qt!==zt&&(St=(zt=Qt)&&bn(nt,Qt,gt)),St}return ee._value=_t,ee}function Bn(nt){return function(_t){this.textContent=nt.call(this,_t)}}function pn(nt){var _t,gt;function St(){var zt=nt.apply(this,arguments);return zt!==gt&&(_t=(gt=zt)&&Bn(zt)),_t}return St._value=nt,St}var S=0;function wt(nt,_t,gt,St){this._groups=nt,this._parents=_t,this._name=gt,this._id=St}function Bt(){return++S}var Yt=N.ZP.prototype;wt.prototype=function Ot(nt){return(0,N.ZP)().transition(nt)}.prototype={constructor:wt,select:function Ze(nt){var _t=this._name,gt=this._id;"function"!=typeof nt&&(nt=(0,ve.Z)(nt));for(var St=this._groups,zt=St.length,ee=new Array(zt),Qt=0;Qt()=>nt;function te(nt,{sourceEvent:_t,target:gt,transform:St,dispatch:zt}){Object.defineProperties(this,{type:{value:nt,enumerable:!0,configurable:!0},sourceEvent:{value:_t,enumerable:!0,configurable:!0},target:{value:gt,enumerable:!0,configurable:!0},transform:{value:St,enumerable:!0,configurable:!0},_:{value:zt}})}function Dt(nt,_t,gt){this.k=nt,this.x=_t,this.y=gt}Dt.prototype={constructor:Dt,scale:function(nt){return 1===nt?this:new Dt(this.k*nt,this.x,this.y)},translate:function(nt,_t){return 0===nt&0===_t?this:new Dt(this.k,this.x+this.k*nt,this.y+this.k*_t)},apply:function(nt){return[nt[0]*this.k+this.x,nt[1]*this.k+this.y]},applyX:function(nt){return nt*this.k+this.x},applyY:function(nt){return nt*this.k+this.y},invert:function(nt){return[(nt[0]-this.x)/this.k,(nt[1]-this.y)/this.k]},invertX:function(nt){return(nt-this.x)/this.k},invertY:function(nt){return(nt-this.y)/this.k},rescaleX:function(nt){return nt.copy().domain(nt.range().map(this.invertX,this).map(nt.invert,nt))},rescaleY:function(nt){return nt.copy().domain(nt.range().map(this.invertY,this).map(nt.invert,nt))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var de=new Dt(1,0,0);function O(nt){for(;!nt.__zoom;)if(!(nt=nt.parentNode))return de;return nt.__zoom}function le(nt){nt.stopImmediatePropagation()}function Le(nt){nt.preventDefault(),nt.stopImmediatePropagation()}function ke(nt){return!(nt.ctrlKey&&"wheel"!==nt.type||nt.button)}function rn(){var nt=this;return nt instanceof SVGElement?(nt=nt.ownerSVGElement||nt).hasAttribute("viewBox")?[[(nt=nt.viewBox.baseVal).x,nt.y],[nt.x+nt.width,nt.y+nt.height]]:[[0,0],[nt.width.baseVal.value,nt.height.baseVal.value]]:[[0,0],[nt.clientWidth,nt.clientHeight]]}function He(){return this.__zoom||de}function Je(nt){return-nt.deltaY*(1===nt.deltaMode?.05:nt.deltaMode?1:.002)*(nt.ctrlKey?10:1)}function fe(){return navigator.maxTouchPoints||"ontouchstart"in this}function ye(nt,_t,gt){var St=nt.invertX(_t[0][0])-gt[0][0],zt=nt.invertX(_t[1][0])-gt[1][0],ee=nt.invertY(_t[0][1])-gt[0][1],Qt=nt.invertY(_t[1][1])-gt[1][1];return nt.translate(zt>St?(St+zt)/2:Math.min(0,St)||Math.max(0,zt),Qt>ee?(ee+Qt)/2:Math.min(0,ee)||Math.max(0,Qt))}function Ye(){var ce,Ie,Ee,nt=ke,_t=rn,gt=ye,St=Je,zt=fe,ee=[0,1/0],Qt=[[-1/0,-1/0],[1/0,1/0]],me=250,xe=A,Wt=(0,u.Z)("start","zoom","end"),Ln=0,kn=10;function ze(Ft){Ft.property("__zoom",He).on("wheel.zoom",hi).on("mousedown.zoom",Hi).on("dblclick.zoom",jn).filter(zt).on("touchstart.zoom",gi).on("touchmove.zoom",xn).on("touchend.zoom touchcancel.zoom",Li).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function qe(Ft,be){return(be=Math.max(ee[0],Math.min(ee[1],be)))===Ft.k?Ft:new Dt(be,Ft.x,Ft.y)}function Qn(Ft,be,jt){var b=be[0]-jt[0]*Ft.k,I=be[1]-jt[1]*Ft.k;return b===Ft.x&&I===Ft.y?Ft:new Dt(Ft.k,b,I)}function on(Ft){return[(+Ft[0][0]+ +Ft[1][0])/2,(+Ft[0][1]+ +Ft[1][1])/2]}function cn(Ft,be,jt,b){Ft.on("start.zoom",function(){Un(this,arguments).event(b).start()}).on("interrupt.zoom end.zoom",function(){Un(this,arguments).event(b).end()}).tween("zoom",function(){var I=this,U=arguments,Q=Un(I,U).event(b),ct=_t.apply(I,U),yt=null==jt?on(ct):"function"==typeof jt?jt.apply(I,U):jt,kt=Math.max(ct[1][0]-ct[0][0],ct[1][1]-ct[0][1]),Pt=I.__zoom,ae="function"==typeof be?be.apply(I,U):be,Se=xe(Pt.invert(yt).concat(kt/Pt.k),ae.invert(yt).concat(kt/ae.k));return function(Ge){if(1===Ge)Ge=ae;else{var Ke=Se(Ge),Pe=kt/Ke[2];Ge=new Dt(Pe,yt[0]-Ke[0]*Pe,yt[1]-Ke[1]*Pe)}Q.zoom(null,Ge)}})}function Un(Ft,be,jt){return!jt&&Ft.__zooming||new zi(Ft,be)}function zi(Ft,be){this.that=Ft,this.args=be,this.active=0,this.sourceEvent=null,this.extent=_t.apply(Ft,be),this.taps=0}function hi(Ft,...be){if(nt.apply(this,arguments)){var jt=Un(this,be).event(Ft),b=this.__zoom,I=Math.max(ee[0],Math.min(ee[1],b.k*Math.pow(2,St.apply(this,arguments)))),U=(0,L.Z)(Ft);if(jt.wheel)(jt.mouse[0][0]!==U[0]||jt.mouse[0][1]!==U[1])&&(jt.mouse[1]=b.invert(jt.mouse[0]=U)),clearTimeout(jt.wheel);else{if(b.k===I)return;jt.mouse=[U,b.invert(U)],G(this),jt.start()}Le(Ft),jt.wheel=setTimeout(Q,150),jt.zoom("mouse",gt(Qn(qe(b,I),jt.mouse[0],jt.mouse[1]),jt.extent,Qt))}function Q(){jt.wheel=null,jt.end()}}function Hi(Ft,...be){if(!Ee&&nt.apply(this,arguments)){var jt=Un(this,be,!0).event(Ft),b=(0,x.Z)(Ft.view).on("mousemove.zoom",yt,!0).on("mouseup.zoom",kt,!0),I=(0,L.Z)(Ft,U),U=Ft.currentTarget,Q=Ft.clientX,ct=Ft.clientY;m(Ft.view),le(Ft),jt.mouse=[I,this.__zoom.invert(I)],G(this),jt.start()}function yt(Pt){if(Le(Pt),!jt.moved){var ae=Pt.clientX-Q,Se=Pt.clientY-ct;jt.moved=ae*ae+Se*Se>Ln}jt.event(Pt).zoom("mouse",gt(Qn(jt.that.__zoom,jt.mouse[0]=(0,L.Z)(Pt,U),jt.mouse[1]),jt.extent,Qt))}function kt(Pt){b.on("mousemove.zoom mouseup.zoom",null),l(Pt.view,jt.moved),Le(Pt),jt.event(Pt).end()}}function jn(Ft,...be){if(nt.apply(this,arguments)){var jt=this.__zoom,b=(0,L.Z)(Ft.changedTouches?Ft.changedTouches[0]:Ft,this),I=jt.invert(b),U=jt.k*(Ft.shiftKey?.5:2),Q=gt(Qn(qe(jt,U),b,I),_t.apply(this,be),Qt);Le(Ft),me>0?(0,x.Z)(this).transition().duration(me).call(cn,Q,b,Ft):(0,x.Z)(this).call(ze.transform,Q,b,Ft)}}function gi(Ft,...be){if(nt.apply(this,arguments)){var U,Q,ct,yt,jt=Ft.touches,b=jt.length,I=Un(this,be,Ft.changedTouches.length===b).event(Ft);for(le(Ft),Q=0;Q{w.exports={graphlib:o(36456),layout:o(14850),debug:o(71914),util:{time:o(11510).time,notime:o(11510).notime},version:o(28126)}},12234:(w,k,o)=>{"use strict";var u=o(45760),x=o(67365);w.exports={run:function v(l){var t="greedy"===l.graph().acyclicer?x(l,function c(h){return function(g){return h.edge(g).weight}}(l)):function _(l){var t=[],c={},h={};return u.forEach(l.nodes(),function g(f){u.has(h,f)||(h[f]=!0,c[f]=!0,u.forEach(l.outEdges(f),function(p){u.has(c,p.w)?t.push(p):g(p.w)}),delete c[f])}),t}(l);u.forEach(t,function(h){var g=l.edge(h);l.removeEdge(h),g.forwardName=h.name,g.reversed=!0,l.setEdge(h.w,h.v,g,u.uniqueId("rev"))})},undo:function m(l){u.forEach(l.edges(),function(t){var c=l.edge(t);if(c.reversed){l.removeEdge(t);var h=c.forwardName;delete c.reversed,delete c.forwardName,l.setEdge(t.w,t.v,c,h)}})}}},79999:(w,k,o)=>{var u=o(45760),x=o(11510);function _(m,l,t,c,h,g){var p=h[l][g-1],C=x.addDummyNode(m,"border",{width:0,height:0,rank:g,borderType:l},t);h[l][g]=C,m.setParent(C,c),p&&m.setEdge(p,C,{weight:1})}w.exports=function v(m){u.forEach(m.children(),function l(t){var c=m.children(t),h=m.node(t);if(c.length&&u.forEach(c,l),u.has(h,"minRank")){h.borderLeft=[],h.borderRight=[];for(var g=h.minRank,f=h.maxRank+1;g{"use strict";var u=o(45760);function _(g){u.forEach(g.nodes(),function(f){m(g.node(f))}),u.forEach(g.edges(),function(f){m(g.edge(f))})}function m(g){var f=g.width;g.width=g.height,g.height=f}function t(g){g.y=-g.y}function h(g){var f=g.x;g.x=g.y,g.y=f}w.exports={adjust:function x(g){var f=g.graph().rankdir.toLowerCase();("lr"===f||"rl"===f)&&_(g)},undo:function v(g){var f=g.graph().rankdir.toLowerCase();("bt"===f||"rl"===f)&&function l(g){u.forEach(g.nodes(),function(f){t(g.node(f))}),u.forEach(g.edges(),function(f){var p=g.edge(f);u.forEach(p.points,t),u.has(p,"y")&&t(p)})}(g),("lr"===f||"rl"===f)&&(function c(g){u.forEach(g.nodes(),function(f){h(g.node(f))}),u.forEach(g.edges(),function(f){var p=g.edge(f);u.forEach(p.points,h),u.has(p,"x")&&h(p)})}(g),_(g))}}},3226:w=>{function k(){var x={};x._next=x._prev=x,this._sentinel=x}function o(x){x._prev._next=x._next,x._next._prev=x._prev,delete x._next,delete x._prev}function u(x,v){if("_next"!==x&&"_prev"!==x)return v}w.exports=k,k.prototype.dequeue=function(){var x=this._sentinel,v=x._prev;if(v!==x)return o(v),v},k.prototype.enqueue=function(x){var v=this._sentinel;x._prev&&x._next&&o(x),x._next=v._next,v._next._prev=x,v._next=x,x._prev=v},k.prototype.toString=function(){for(var x=[],v=this._sentinel,_=v._prev;_!==v;)x.push(JSON.stringify(_,u)),_=_._prev;return"["+x.join(", ")+"]"}},71914:(w,k,o)=>{var u=o(45760),x=o(11510),v=o(36456).Graph;w.exports={debugOrdering:function _(m){var l=x.buildLayerMatrix(m),t=new v({compound:!0,multigraph:!0}).setGraph({});return u.forEach(m.nodes(),function(c){t.setNode(c,{label:c}),t.setParent(c,"layer"+m.node(c).rank)}),u.forEach(m.edges(),function(c){t.setEdge(c.v,c.w,{},c.name)}),u.forEach(l,function(c,h){t.setNode("layer"+h,{rank:"same"}),u.reduce(c,function(f,p){return t.setEdge(f,p,{style:"invis"}),p})}),t}}},36456:(w,k,o)=>{var u;try{u=o(85510)}catch(x){}u||(u=window.graphlib),w.exports=u},67365:(w,k,o)=>{var u=o(45760),x=o(36456).Graph,v=o(3226);w.exports=function m(g,f){if(g.nodeCount()<=1)return[];var p=function c(g,f){var p=new x,C=0,A=0;u.forEach(g.nodes(),function(P){p.setNode(P,{v:P,in:0,out:0})}),u.forEach(g.edges(),function(P){var R=p.edge(P.v,P.w)||0,Z=f(P);p.setEdge(P.v,P.w,R+Z),A=Math.max(A,p.node(P.v).out+=Z),C=Math.max(C,p.node(P.w).in+=Z)});var L=u.range(A+C+3).map(function(){return new v}),N=C+1;return u.forEach(p.nodes(),function(P){h(L,N,p.node(P))}),{graph:p,buckets:L,zeroIdx:N}}(g,f||_),C=function l(g,f,p){for(var N,C=[],A=f[f.length-1],L=f[0];g.nodeCount();){for(;N=L.dequeue();)t(g,f,p,N);for(;N=A.dequeue();)t(g,f,p,N);if(g.nodeCount())for(var P=f.length-2;P>0;--P)if(N=f[P].dequeue()){C=C.concat(t(g,f,p,N,!0));break}}return C}(p.graph,p.buckets,p.zeroIdx);return u.flatten(u.map(C,function(A){return g.outEdges(A.v,A.w)}),!0)};var _=u.constant(1);function t(g,f,p,C,A){var L=A?[]:void 0;return u.forEach(g.inEdges(C.v),function(N){var P=g.edge(N),R=g.node(N.v);A&&L.push({v:N.v,w:N.w}),R.out-=P,h(f,p,R)}),u.forEach(g.outEdges(C.v),function(N){var P=g.edge(N),Z=g.node(N.w);Z.in-=P,h(f,p,Z)}),g.removeNode(C.v),L}function h(g,f,p){p.out?p.in?g[p.out-p.in+f].enqueue(p):g[g.length-1].enqueue(p):g[0].enqueue(p)}},14850:(w,k,o)=>{"use strict";var u=o(45760),x=o(12234),v=o(91496),_=o(94124),m=o(11510).normalizeRanks,l=o(60162),t=o(11510).removeEmptyRanks,c=o(1230),h=o(79999),g=o(83870),f=o(32974),p=o(78226),C=o(11510),A=o(36456).Graph;w.exports=function L(xt,pt){var Nt=pt&&pt.debugTiming?C.time:C.notime;Nt("layout",function(){var Jt=Nt(" buildLayoutGraph",function(){return function et(xt){var pt=new A({multigraph:!0,compound:!0}),Nt=Ut(xt.graph());return pt.setGraph(u.merge({},Z,ne(Nt,R),u.pick(Nt,H))),u.forEach(xt.nodes(),function(Jt){var ge=Ut(xt.node(Jt));pt.setNode(Jt,u.defaults(ne(ge,z),tt)),pt.setParent(Jt,xt.parent(Jt))}),u.forEach(xt.edges(),function(Jt){var ge=Ut(xt.edge(Jt));pt.setEdge(Jt,u.merge({},ot,ne(ge,rt),u.pick(ge,J)))}),pt}(xt)});Nt(" runLayout",function(){!function N(xt,pt){pt(" makeSpaceForEdgeLabels",function(){!function q(xt){var pt=xt.graph();pt.ranksep/=2,u.forEach(xt.edges(),function(Nt){var Jt=xt.edge(Nt);Jt.minlen*=2,"c"!==Jt.labelpos.toLowerCase()&&("TB"===pt.rankdir||"BT"===pt.rankdir?Jt.width+=Jt.labeloffset:Jt.height+=Jt.labeloffset)})}(xt)}),pt(" removeSelfEdges",function(){!function It(xt){u.forEach(xt.edges(),function(pt){if(pt.v===pt.w){var Nt=xt.node(pt.v);Nt.selfEdges||(Nt.selfEdges=[]),Nt.selfEdges.push({e:pt,label:xt.edge(pt)}),xt.removeEdge(pt)}})}(xt)}),pt(" acyclic",function(){x.run(xt)}),pt(" nestingGraph.run",function(){c.run(xt)}),pt(" rank",function(){_(C.asNonCompoundGraph(xt))}),pt(" injectEdgeLabelProxies",function(){!function at(xt){u.forEach(xt.edges(),function(pt){var Nt=xt.edge(pt);if(Nt.width&&Nt.height){var Jt=xt.node(pt.v),ge=xt.node(pt.w);C.addDummyNode(xt,"edge-proxy",{rank:(ge.rank-Jt.rank)/2+Jt.rank,e:pt},"_ep")}})}(xt)}),pt(" removeEmptyRanks",function(){t(xt)}),pt(" nestingGraph.cleanup",function(){c.cleanup(xt)}),pt(" normalizeRanks",function(){m(xt)}),pt(" assignRankMinMax",function(){!function Y(xt){var pt=0;u.forEach(xt.nodes(),function(Nt){var Jt=xt.node(Nt);Jt.borderTop&&(Jt.minRank=xt.node(Jt.borderTop).rank,Jt.maxRank=xt.node(Jt.borderBottom).rank,pt=u.max(pt,Jt.maxRank))}),xt.graph().maxRank=pt}(xt)}),pt(" removeEdgeLabelProxies",function(){!function K(xt){u.forEach(xt.nodes(),function(pt){var Nt=xt.node(pt);"edge-proxy"===Nt.dummy&&(xt.edge(Nt.e).labelRank=Nt.rank,xt.removeNode(pt))})}(xt)}),pt(" normalize.run",function(){v.run(xt)}),pt(" parentDummyChains",function(){l(xt)}),pt(" addBorderSegments",function(){h(xt)}),pt(" order",function(){f(xt)}),pt(" insertSelfEdges",function(){!function Zt(xt){var pt=C.buildLayerMatrix(xt);u.forEach(pt,function(Nt){var Jt=0;u.forEach(Nt,function(ge,_e){var Te=xt.node(ge);Te.order=_e+Jt,u.forEach(Te.selfEdges,function(Re){C.addDummyNode(xt,"selfedge",{width:Re.label.width,height:Re.label.height,rank:Te.rank,order:_e+ ++Jt,e:Re.e,label:Re.label},"_se")}),delete Te.selfEdges})})}(xt)}),pt(" adjustCoordinateSystem",function(){g.adjust(xt)}),pt(" position",function(){p(xt)}),pt(" positionSelfEdges",function(){!function Ht(xt){u.forEach(xt.nodes(),function(pt){var Nt=xt.node(pt);if("selfedge"===Nt.dummy){var Jt=xt.node(Nt.e.v),ge=Jt.x+Jt.width/2,_e=Jt.y,Te=Nt.x-ge,Re=Jt.height/2;xt.setEdge(Nt.e,Nt.label),xt.removeNode(pt),Nt.label.points=[{x:ge+2*Te/3,y:_e-Re},{x:ge+5*Te/6,y:_e-Re},{x:ge+Te,y:_e},{x:ge+5*Te/6,y:_e+Re},{x:ge+2*Te/3,y:_e+Re}],Nt.label.x=Nt.x,Nt.label.y=Nt.y}})}(xt)}),pt(" removeBorderNodes",function(){!function ft(xt){u.forEach(xt.nodes(),function(pt){if(xt.children(pt).length){var Nt=xt.node(pt),Jt=xt.node(Nt.borderTop),ge=xt.node(Nt.borderBottom),_e=xt.node(u.last(Nt.borderLeft)),Te=xt.node(u.last(Nt.borderRight));Nt.width=Math.abs(Te.x-_e.x),Nt.height=Math.abs(ge.y-Jt.y),Nt.x=_e.x+Nt.width/2,Nt.y=Jt.y+Nt.height/2}}),u.forEach(xt.nodes(),function(pt){"border"===xt.node(pt).dummy&&xt.removeNode(pt)})}(xt)}),pt(" normalize.undo",function(){v.undo(xt)}),pt(" fixupEdgeLabelCoords",function(){!function G(xt){u.forEach(xt.edges(),function(pt){var Nt=xt.edge(pt);if(u.has(Nt,"x"))switch(("l"===Nt.labelpos||"r"===Nt.labelpos)&&(Nt.width-=Nt.labeloffset),Nt.labelpos){case"l":Nt.x-=Nt.width/2+Nt.labeloffset;break;case"r":Nt.x+=Nt.width/2+Nt.labeloffset}})}(xt)}),pt(" undoCoordinateSystem",function(){g.undo(xt)}),pt(" translateGraph",function(){!function ut(xt){var pt=Number.POSITIVE_INFINITY,Nt=0,Jt=Number.POSITIVE_INFINITY,ge=0,_e=xt.graph(),Te=_e.marginx||0,Re=_e.marginy||0;function Tn(Fe){var gn=Fe.x,Ve=Fe.y,Mn=Fe.width,oe=Fe.height;pt=Math.min(pt,gn-Mn/2),Nt=Math.max(Nt,gn+Mn/2),Jt=Math.min(Jt,Ve-oe/2),ge=Math.max(ge,Ve+oe/2)}u.forEach(xt.nodes(),function(Fe){Tn(xt.node(Fe))}),u.forEach(xt.edges(),function(Fe){var gn=xt.edge(Fe);u.has(gn,"x")&&Tn(gn)}),pt-=Te,Jt-=Re,u.forEach(xt.nodes(),function(Fe){var gn=xt.node(Fe);gn.x-=pt,gn.y-=Jt}),u.forEach(xt.edges(),function(Fe){var gn=xt.edge(Fe);u.forEach(gn.points,function(Ve){Ve.x-=pt,Ve.y-=Jt}),u.has(gn,"x")&&(gn.x-=pt),u.has(gn,"y")&&(gn.y-=Jt)}),_e.width=Nt-pt+Te,_e.height=ge-Jt+Re}(xt)}),pt(" assignNodeIntersects",function(){!function it(xt){u.forEach(xt.edges(),function(pt){var _e,Te,Nt=xt.edge(pt),Jt=xt.node(pt.v),ge=xt.node(pt.w);Nt.points?(_e=Nt.points[0],Te=Nt.points[Nt.points.length-1]):(Nt.points=[],_e=ge,Te=Jt),Nt.points.unshift(C.intersectRect(Jt,_e)),Nt.points.push(C.intersectRect(ge,Te))})}(xt)}),pt(" reversePoints",function(){!function M(xt){u.forEach(xt.edges(),function(pt){var Nt=xt.edge(pt);Nt.reversed&&Nt.points.reverse()})}(xt)}),pt(" acyclic.undo",function(){x.undo(xt)})}(Jt,Nt)}),Nt(" updateInputGraph",function(){!function P(xt,pt){u.forEach(xt.nodes(),function(Nt){var Jt=xt.node(Nt),ge=pt.node(Nt);Jt&&(Jt.x=ge.x,Jt.y=ge.y,pt.children(Nt).length&&(Jt.width=ge.width,Jt.height=ge.height))}),u.forEach(xt.edges(),function(Nt){var Jt=xt.edge(Nt),ge=pt.edge(Nt);Jt.points=ge.points,u.has(ge,"x")&&(Jt.x=ge.x,Jt.y=ge.y)}),xt.graph().width=pt.graph().width,xt.graph().height=pt.graph().height}(xt,Jt)})})};var R=["nodesep","edgesep","ranksep","marginx","marginy"],Z={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},H=["acyclicer","ranker","rankdir","align"],z=["width","height"],tt={width:0,height:0},rt=["minlen","weight","width","height","labeloffset"],ot={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},J=["labelpos"];function ne(xt,pt){return u.mapValues(u.pick(xt,pt),Number)}function Ut(xt){var pt={};return u.forEach(xt,function(Nt,Jt){pt[Jt.toLowerCase()]=Nt}),pt}},45760:(w,k,o)=>{var u;try{u={cloneDeep:o(90733),constant:o(76684),defaults:o(28800),each:o(35474),filter:o(35281),find:o(62516),flatten:o(22274),forEach:o(89851),forIn:o(41176),has:o(54842),isUndefined:o(34235),last:o(25809),map:o(19984),mapValues:o(10203),max:o(18176),merge:o(80567),min:o(29439),minBy:o(29525),now:o(31710),pick:o(16372),range:o(90361),reduce:o(81337),sortBy:o(12906),uniqueId:o(51541),values:o(90377),zipObject:o(21617)}}catch(x){}u||(u=window._),w.exports=u},1230:(w,k,o)=>{var u=o(45760),x=o(11510);function _(c,h,g,f,p,C,A){var L=c.children(A);if(L.length){var N=x.addBorderNode(c,"_bt"),P=x.addBorderNode(c,"_bb"),R=c.node(A);c.setParent(N,A),R.borderTop=N,c.setParent(P,A),R.borderBottom=P,u.forEach(L,function(Z){_(c,h,g,f,p,C,Z);var H=c.node(Z),z=H.borderTop?H.borderTop:Z,tt=H.borderBottom?H.borderBottom:Z,rt=H.borderTop?f:2*f,ot=z!==tt?1:p-C[A]+1;c.setEdge(N,z,{weight:rt,minlen:ot,nestingEdge:!0}),c.setEdge(tt,P,{weight:rt,minlen:ot,nestingEdge:!0})}),c.parent(A)||c.setEdge(h,N,{weight:0,minlen:p+C[A]})}else A!==h&&c.setEdge(h,A,{weight:0,minlen:g})}w.exports={run:function v(c){var h=x.addDummyNode(c,"root",{},"_root"),g=function m(c){var h={};function g(f,p){var C=c.children(f);C&&C.length&&u.forEach(C,function(A){g(A,p+1)}),h[f]=p}return u.forEach(c.children(),function(f){g(f,1)}),h}(c),f=u.max(u.values(g))-1,p=2*f+1;c.graph().nestingRoot=h,u.forEach(c.edges(),function(A){c.edge(A).minlen*=p});var C=function l(c){return u.reduce(c.edges(),function(h,g){return h+c.edge(g).weight},0)}(c)+1;u.forEach(c.children(),function(A){_(c,h,p,C,f,g,A)}),c.graph().nodeRankFactor=p},cleanup:function t(c){var h=c.graph();c.removeNode(h.nestingRoot),delete h.nestingRoot,u.forEach(c.edges(),function(g){c.edge(g).nestingEdge&&c.removeEdge(g)})}}},91496:(w,k,o)=>{"use strict";var u=o(45760),x=o(11510);w.exports={run:function v(l){l.graph().dummyChains=[],u.forEach(l.edges(),function(t){!function _(l,t){var c=t.v,h=l.node(c).rank,g=t.w,f=l.node(g).rank,p=t.name,C=l.edge(t),A=C.labelRank;if(f!==h+1){var L,N,P;for(l.removeEdge(t),P=0,++h;h{var u=o(45760);w.exports=function x(v,_,m){var t,l={};u.forEach(m,function(c){for(var g,f,h=v.parent(c);h;){if((g=v.parent(h))?(f=l[g],l[g]=h):(f=t,t=h),f&&f!==h)return void _.setEdge(f,h);h=g}})}},81323:(w,k,o)=>{var u=o(45760);w.exports=function x(v,_){return u.map(_,function(m){var l=v.inEdges(m);if(l.length){var t=u.reduce(l,function(c,h){var g=v.edge(h),f=v.node(h.v);return{sum:c.sum+g.weight*f.order,weight:c.weight+g.weight}},{sum:0,weight:0});return{v:m,barycenter:t.sum/t.weight,weight:t.weight}}return{v:m}})}},1686:(w,k,o)=>{var u=o(45760),x=o(36456).Graph;w.exports=function v(m,l,t){var c=function _(m){for(var l;m.hasNode(l=u.uniqueId("_root")););return l}(m),h=new x({compound:!0}).setGraph({root:c}).setDefaultNodeLabel(function(g){return m.node(g)});return u.forEach(m.nodes(),function(g){var f=m.node(g),p=m.parent(g);(f.rank===l||f.minRank<=l&&l<=f.maxRank)&&(h.setNode(g),h.setParent(g,p||c),u.forEach(m[t](g),function(C){var A=C.v===g?C.w:C.v,L=h.edge(A,g),N=u.isUndefined(L)?0:L.weight;h.setEdge(A,g,{weight:m.edge(C).weight+N})}),u.has(f,"minRank")&&h.setNode(g,{borderLeft:f.borderLeft[l],borderRight:f.borderRight[l]}))}),h}},18796:(w,k,o)=>{"use strict";var u=o(45760);function v(_,m,l){for(var t=u.zipObject(l,u.map(l,function(C,A){return A})),c=u.flatten(u.map(m,function(C){return u.sortBy(u.map(_.outEdges(C),function(A){return{pos:t[A.w],weight:_.edge(A).weight}}),"pos")}),!0),h=1;h0;)A%2&&(L+=f[A+1]),f[A=A-1>>1]+=C.weight;p+=C.weight*L})),p}w.exports=function x(_,m){for(var l=0,t=1;t{"use strict";var u=o(45760),x=o(49402),v=o(18796),_=o(61057),m=o(1686),l=o(33034),t=o(36456).Graph,c=o(11510);function g(C,A,L){return u.map(A,function(N){return m(C,N,L)})}function f(C,A){var L=new t;u.forEach(C,function(N){var P=N.graph().root,R=_(N,P,L,A);u.forEach(R.vs,function(Z,H){N.node(Z).order=H}),l(N,L,R.vs)})}function p(C,A){u.forEach(A,function(L){u.forEach(L,function(N,P){C.node(N).order=P})})}w.exports=function h(C){var A=c.maxRank(C),L=g(C,u.range(1,A+1),"inEdges"),N=g(C,u.range(A-1,-1,-1),"outEdges"),P=x(C);p(C,P);for(var Z,R=Number.POSITIVE_INFINITY,H=0,z=0;z<4;++H,++z){f(H%2?L:N,H%4>=2),P=c.buildLayerMatrix(C);var tt=v(C,P);tt{"use strict";var u=o(45760);w.exports=function x(v){var _={},m=u.filter(v.nodes(),function(g){return!v.children(g).length}),l=u.max(u.map(m,function(g){return v.node(g).rank})),t=u.map(u.range(l+1),function(){return[]}),h=u.sortBy(m,function(g){return v.node(g).rank});return u.forEach(h,function c(g){if(!u.has(_,g)){_[g]=!0;var f=v.node(g);t[f.rank].push(g),u.forEach(v.successors(g),c)}}),t}},83826:(w,k,o)=>{"use strict";var u=o(45760);w.exports=function x(m,l){var t={};return u.forEach(m,function(h,g){var f=t[h.v]={indegree:0,in:[],out:[],vs:[h.v],i:g};u.isUndefined(h.barycenter)||(f.barycenter=h.barycenter,f.weight=h.weight)}),u.forEach(l.edges(),function(h){var g=t[h.v],f=t[h.w];!u.isUndefined(g)&&!u.isUndefined(f)&&(f.indegree++,g.out.push(t[h.w]))}),function v(m){var l=[];function t(g){return function(f){f.merged||(u.isUndefined(f.barycenter)||u.isUndefined(g.barycenter)||f.barycenter>=g.barycenter)&&function _(m,l){var t=0,c=0;m.weight&&(t+=m.barycenter*m.weight,c+=m.weight),l.weight&&(t+=l.barycenter*l.weight,c+=l.weight),m.vs=l.vs.concat(m.vs),m.barycenter=t/c,m.weight=c,m.i=Math.min(l.i,m.i),l.merged=!0}(g,f)}}function c(g){return function(f){f.in.push(g),0==--f.indegree&&m.push(f)}}for(;m.length;){var h=m.pop();l.push(h),u.forEach(h.in.reverse(),t(h)),u.forEach(h.out,c(h))}return u.map(u.filter(l,function(g){return!g.merged}),function(g){return u.pick(g,["vs","i","barycenter","weight"])})}(u.filter(t,function(h){return!h.indegree}))}},61057:(w,k,o)=>{var u=o(45760),x=o(81323),v=o(83826),_=o(93803);w.exports=function m(c,h,g,f){var p=c.children(h),C=c.node(h),A=C?C.borderLeft:void 0,L=C?C.borderRight:void 0,N={};A&&(p=u.filter(p,function(tt){return tt!==A&&tt!==L}));var P=x(c,p);u.forEach(P,function(tt){if(c.children(tt.v).length){var rt=m(c,tt.v,g,f);N[tt.v]=rt,u.has(rt,"barycenter")&&function t(c,h){u.isUndefined(c.barycenter)?(c.barycenter=h.barycenter,c.weight=h.weight):(c.barycenter=(c.barycenter*c.weight+h.barycenter*h.weight)/(c.weight+h.weight),c.weight+=h.weight)}(tt,rt)}});var R=v(P,g);!function l(c,h){u.forEach(c,function(g){g.vs=u.flatten(g.vs.map(function(f){return h[f]?h[f].vs:f}),!0)})}(R,N);var Z=_(R,f);if(A&&(Z.vs=u.flatten([A,Z.vs,L],!0),c.predecessors(A).length)){var H=c.node(c.predecessors(A)[0]),z=c.node(c.predecessors(L)[0]);u.has(Z,"barycenter")||(Z.barycenter=0,Z.weight=0),Z.barycenter=(Z.barycenter*Z.weight+H.order+z.order)/(Z.weight+2),Z.weight+=2}return Z}},93803:(w,k,o)=>{var u=o(45760),x=o(11510);function _(l,t,c){for(var h;t.length&&(h=u.last(t)).i<=c;)t.pop(),l.push(h.vs),c++;return c}w.exports=function v(l,t){var c=x.partition(l,function(N){return u.has(N,"barycenter")}),h=c.lhs,g=u.sortBy(c.rhs,function(N){return-N.i}),f=[],p=0,C=0,A=0;h.sort(function m(l){return function(t,c){return t.barycenterc.barycenter?1:l?c.i-t.i:t.i-c.i}}(!!t)),A=_(f,g,A),u.forEach(h,function(N){A+=N.vs.length,f.push(N.vs),p+=N.barycenter*N.weight,C+=N.weight,A=_(f,g,A)});var L={vs:u.flatten(f,!0)};return C&&(L.barycenter=p/C,L.weight=C),L}},60162:(w,k,o)=>{var u=o(45760);w.exports=function x(m){var l=function _(m){var l={},t=0;return u.forEach(m.children(),function c(h){var g=t;u.forEach(m.children(h),c),l[h]={low:g,lim:t++}}),l}(m);u.forEach(m.graph().dummyChains,function(t){for(var c=m.node(t),h=c.edgeObj,g=function v(m,l,t,c){var C,A,h=[],g=[],f=Math.min(l[t].low,l[c].low),p=Math.max(l[t].lim,l[c].lim);C=t;do{C=m.parent(C),h.push(C)}while(C&&(l[C].low>f||p>l[C].lim));for(A=C,C=c;(C=m.parent(C))!==A;)g.push(C);return{path:h.concat(g.reverse()),lca:A}}(m,l,h.v,h.w),f=g.path,p=g.lca,C=0,A=f[C],L=!0;t!==h.w;){if(c=m.node(t),L){for(;(A=f[C])!==p&&m.node(A).maxRank{"use strict";var u=o(45760),x=o(36456).Graph,v=o(11510);function _(R,Z){var H={};return u.reduce(Z,function z(tt,rt){var ot=0,J=0,et=tt.length,q=u.last(rt);return u.forEach(rt,function(at,Y){var K=function l(R,Z){if(R.node(Z).dummy)return u.find(R.predecessors(Z),function(H){return R.node(H).dummy})}(R,at),ut=K?R.node(K).order:et;(K||at===q)&&(u.forEach(rt.slice(J,Y+1),function(it){u.forEach(R.predecessors(it),function(G){var M=R.node(G),ft=M.order;(ftq)&&t(H,K,at)})})}return u.reduce(Z,function tt(rt,ot){var et,J=-1,q=0;return u.forEach(ot,function(at,Y){if("border"===R.node(at).dummy){var K=R.predecessors(at);K.length&&(et=R.node(K[0]).order,z(ot,q,Y,J,et),q=Y,J=et)}z(ot,q,ot.length,et,rt.length)}),ot}),H}function t(R,Z,H){if(Z>H){var z=Z;Z=H,H=z}var tt=R[Z];tt||(R[Z]=tt={}),tt[H]=!0}function c(R,Z,H){if(Z>H){var z=Z;Z=H,H=z}return u.has(R[Z],H)}function h(R,Z,H,z){var tt={},rt={},ot={};return u.forEach(Z,function(J){u.forEach(J,function(et,q){tt[et]=et,rt[et]=et,ot[et]=q})}),u.forEach(Z,function(J){var et=-1;u.forEach(J,function(q){var at=z(q);if(at.length)for(var Y=((at=u.sortBy(at,function(G){return ot[G]})).length-1)/2,K=Math.floor(Y),ut=Math.ceil(Y);K<=ut;++K){var it=at[K];rt[q]===q&&et{"use strict";var u=o(45760),x=o(11510),v=o(54058).positionX;w.exports=function _(l){(function m(l){var t=x.buildLayerMatrix(l),c=l.graph().ranksep,h=0;u.forEach(t,function(g){var f=u.max(u.map(g,function(p){return l.node(p).height}));u.forEach(g,function(p){l.node(p).y=h+f/2}),h+=f+c})})(l=x.asNonCompoundGraph(l)),u.forEach(v(l),function(t,c){l.node(c).x=t})}},96632:(w,k,o)=>{"use strict";var u=o(45760),x=o(36456).Graph,v=o(1916).slack;function m(c,h){return u.forEach(c.nodes(),function g(f){u.forEach(h.nodeEdges(f),function(p){var C=p.v,A=f===C?p.w:C;!c.hasNode(A)&&!v(h,p)&&(c.setNode(A,{}),c.setEdge(f,A,{}),g(A))})}),c.nodeCount()}function l(c,h){return u.minBy(h.edges(),function(g){if(c.hasNode(g.v)!==c.hasNode(g.w))return v(h,g)})}function t(c,h,g){u.forEach(c.nodes(),function(f){h.node(f).rank+=g})}w.exports=function _(c){var p,C,h=new x({directed:!1}),g=c.nodes()[0],f=c.nodeCount();for(h.setNode(g,{});m(h,c){"use strict";var x=o(1916).longestPath,v=o(96632),_=o(63804);w.exports=function m(h){switch(h.graph().ranker){case"network-simplex":default:!function c(h){_(h)}(h);break;case"tight-tree":!function t(h){x(h),v(h)}(h);break;case"longest-path":l(h)}};var l=x},63804:(w,k,o)=>{"use strict";var u=o(45760),x=o(96632),v=o(1916).slack,_=o(1916).longestPath,m=o(36456).alg.preorder,l=o(36456).alg.postorder,t=o(11510).simplify;function c(H){H=t(H),_(H);var tt,z=x(H);for(p(z),h(z,H);tt=A(z);)N(z,H,tt,L(z,H,tt))}function h(H,z){var tt=l(H,H.nodes());tt=tt.slice(0,tt.length-1),u.forEach(tt,function(rt){!function g(H,z,tt){var rt=H.node(tt);H.edge(tt,rt.parent).cutvalue=f(H,z,tt)}(H,z,rt)})}function f(H,z,tt){var ot=H.node(tt).parent,J=!0,et=z.edge(tt,ot),q=0;return et||(J=!1,et=z.edge(ot,tt)),q=et.weight,u.forEach(z.nodeEdges(tt),function(at){var Y=at.v===tt,K=Y?at.w:at.v;if(K!==ot){var ut=Y===J,it=z.edge(at).weight;if(q+=ut?it:-it,function R(H,z,tt){return H.hasEdge(z,tt)}(H,tt,K)){var G=H.edge(tt,K).cutvalue;q+=ut?-G:G}}}),q}function p(H,z){arguments.length<2&&(z=H.nodes()[0]),C(H,{},1,z)}function C(H,z,tt,rt,ot){var J=tt,et=H.node(rt);return z[rt]=!0,u.forEach(H.neighbors(rt),function(q){u.has(z,q)||(tt=C(H,z,tt,q,rt))}),et.low=J,et.lim=tt++,ot?et.parent=ot:delete et.parent,tt}function A(H){return u.find(H.edges(),function(z){return H.edge(z).cutvalue<0})}function L(H,z,tt){var rt=tt.v,ot=tt.w;z.hasEdge(rt,ot)||(rt=tt.w,ot=tt.v);var J=H.node(rt),et=H.node(ot),q=J,at=!1;J.lim>et.lim&&(q=et,at=!0);var Y=u.filter(z.edges(),function(K){return at===Z(0,H.node(K.v),q)&&at!==Z(0,H.node(K.w),q)});return u.minBy(Y,function(K){return v(z,K)})}function N(H,z,tt,rt){H.removeEdge(tt.v,tt.w),H.setEdge(rt.v,rt.w,{}),p(H),h(H,z),function P(H,z){var tt=u.find(H.nodes(),function(ot){return!z.node(ot).parent}),rt=m(H,tt);rt=rt.slice(1),u.forEach(rt,function(ot){var J=H.node(ot).parent,et=z.edge(ot,J),q=!1;et||(et=z.edge(J,ot),q=!0),z.node(ot).rank=z.node(J).rank+(q?et.minlen:-et.minlen)})}(H,z)}function Z(H,z,tt){return tt.low<=z.lim&&z.lim<=tt.lim}w.exports=c,c.initLowLimValues=p,c.initCutValues=h,c.calcCutValue=f,c.leaveEdge=A,c.enterEdge=L,c.exchangeEdges=N},1916:(w,k,o)=>{"use strict";var u=o(45760);w.exports={longestPath:function x(_){var m={};u.forEach(_.sources(),function l(t){var c=_.node(t);if(u.has(m,t))return c.rank;m[t]=!0;var h=u.min(u.map(_.outEdges(t),function(g){return l(g.w)-_.edge(g).minlen}));return(h===Number.POSITIVE_INFINITY||null==h)&&(h=0),c.rank=h})},slack:function v(_,m){return _.node(m.w).rank-_.node(m.v).rank-_.edge(m).minlen}}},11510:(w,k,o)=>{"use strict";var u=o(45760),x=o(36456).Graph;function v(P,R,Z,H){var z;do{z=u.uniqueId(H)}while(P.hasNode(z));return Z.dummy=R,P.setNode(z,Z),z}function C(P){return u.max(u.map(P.nodes(),function(R){var Z=P.node(R).rank;if(!u.isUndefined(Z))return Z}))}w.exports={addDummyNode:v,simplify:function _(P){var R=(new x).setGraph(P.graph());return u.forEach(P.nodes(),function(Z){R.setNode(Z,P.node(Z))}),u.forEach(P.edges(),function(Z){var H=R.edge(Z.v,Z.w)||{weight:0,minlen:1},z=P.edge(Z);R.setEdge(Z.v,Z.w,{weight:H.weight+z.weight,minlen:Math.max(H.minlen,z.minlen)})}),R},asNonCompoundGraph:function m(P){var R=new x({multigraph:P.isMultigraph()}).setGraph(P.graph());return u.forEach(P.nodes(),function(Z){P.children(Z).length||R.setNode(Z,P.node(Z))}),u.forEach(P.edges(),function(Z){R.setEdge(Z,P.edge(Z))}),R},successorWeights:function l(P){var R=u.map(P.nodes(),function(Z){var H={};return u.forEach(P.outEdges(Z),function(z){H[z.w]=(H[z.w]||0)+P.edge(z).weight}),H});return u.zipObject(P.nodes(),R)},predecessorWeights:function t(P){var R=u.map(P.nodes(),function(Z){var H={};return u.forEach(P.inEdges(Z),function(z){H[z.v]=(H[z.v]||0)+P.edge(z).weight}),H});return u.zipObject(P.nodes(),R)},intersectRect:function c(P,R){var J,et,Z=P.x,H=P.y,z=R.x-Z,tt=R.y-H,rt=P.width/2,ot=P.height/2;if(!z&&!tt)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(tt)*rt>Math.abs(z)*ot?(tt<0&&(ot=-ot),J=ot*z/tt,et=ot):(z<0&&(rt=-rt),J=rt,et=rt*tt/z),{x:Z+J,y:H+et}},buildLayerMatrix:function h(P){var R=u.map(u.range(C(P)+1),function(){return[]});return u.forEach(P.nodes(),function(Z){var H=P.node(Z),z=H.rank;u.isUndefined(z)||(R[z][H.order]=Z)}),R},normalizeRanks:function g(P){var R=u.min(u.map(P.nodes(),function(Z){return P.node(Z).rank}));u.forEach(P.nodes(),function(Z){var H=P.node(Z);u.has(H,"rank")&&(H.rank-=R)})},removeEmptyRanks:function f(P){var R=u.min(u.map(P.nodes(),function(tt){return P.node(tt).rank})),Z=[];u.forEach(P.nodes(),function(tt){var rt=P.node(tt).rank-R;Z[rt]||(Z[rt]=[]),Z[rt].push(tt)});var H=0,z=P.graph().nodeRankFactor;u.forEach(Z,function(tt,rt){u.isUndefined(tt)&&rt%z!=0?--H:H&&u.forEach(tt,function(ot){P.node(ot).rank+=H})})},addBorderNode:function p(P,R,Z,H){var z={width:0,height:0};return arguments.length>=4&&(z.rank=Z,z.order=H),v(P,"border",z,R)},maxRank:C,partition:function A(P,R){var Z={lhs:[],rhs:[]};return u.forEach(P,function(H){R(H)?Z.lhs.push(H):Z.rhs.push(H)}),Z},time:function L(P,R){var Z=u.now();try{return R()}finally{console.log(P+" time: "+(u.now()-Z)+"ms")}},notime:function N(P,R){return R()}}},28126:w=>{w.exports="0.8.5"},85510:(w,k,o)=>{var u=o(51838);w.exports={Graph:u.Graph,json:o(21088),alg:o(83430),version:u.version}},86730:(w,k,o)=>{var u=o(79138);w.exports=function x(v){var l,_={},m=[];function t(c){u.has(_,c)||(_[c]=!0,l.push(c),u.each(v.successors(c),t),u.each(v.predecessors(c),t))}return u.each(v.nodes(),function(c){l=[],t(c),l.length&&m.push(l)}),m}},22163:(w,k,o)=>{var u=o(79138);function v(_,m,l,t,c,h){u.has(t,m)||(t[m]=!0,l||h.push(m),u.each(c(m),function(g){v(_,g,l,t,c,h)}),l&&h.push(m))}w.exports=function x(_,m,l){u.isArray(m)||(m=[m]);var t=(_.isDirected()?_.successors:_.neighbors).bind(_),c=[],h={};return u.each(m,function(g){if(!_.hasNode(g))throw new Error("Graph does not have node: "+g);v(_,g,"post"===l,h,t,c)}),c}},25668:(w,k,o)=>{var u=o(61718),x=o(79138);w.exports=function v(_,m,l){return x.transform(_.nodes(),function(t,c){t[c]=u(_,c,m,l)},{})}},61718:(w,k,o)=>{var u=o(79138),x=o(31919);w.exports=function _(l,t,c,h){return function m(l,t,c,h){var p,C,g={},f=new x,A=function(L){var N=L.v!==p?L.v:L.w,P=g[N],R=c(L),Z=C.distance+R;if(R<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+L+" Weight: "+R);Z0&&(p=f.removeMin(),(C=g[p]).distance!==Number.POSITIVE_INFINITY);)h(p).forEach(A);return g}(l,String(t),c||v,h||function(g){return l.outEdges(g)})};var v=u.constant(1)},9611:(w,k,o)=>{var u=o(79138),x=o(73585);w.exports=function v(_){return u.filter(x(_),function(m){return m.length>1||1===m.length&&_.hasEdge(m[0],m[0])})}},22881:(w,k,o)=>{var u=o(79138);w.exports=function v(m,l,t){return function _(m,l,t){var c={},h=m.nodes();return h.forEach(function(g){c[g]={},c[g][g]={distance:0},h.forEach(function(f){g!==f&&(c[g][f]={distance:Number.POSITIVE_INFINITY})}),t(g).forEach(function(f){var p=f.v===g?f.w:f.v,C=l(f);c[g][p]={distance:C,predecessor:g}})}),h.forEach(function(g){var f=c[g];h.forEach(function(p){var C=c[p];h.forEach(function(A){var N=f[A],P=C[A],R=C[g].distance+N.distance;R{w.exports={components:o(86730),dijkstra:o(61718),dijkstraAll:o(25668),findCycles:o(9611),floydWarshall:o(22881),isAcyclic:o(46693),postorder:o(46694),preorder:o(5330),prim:o(46823),tarjan:o(73585),topsort:o(52180)}},46693:(w,k,o)=>{var u=o(52180);w.exports=function x(v){try{u(v)}catch(_){if(_ instanceof u.CycleException)return!1;throw _}return!0}},46694:(w,k,o)=>{var u=o(22163);w.exports=function x(v,_){return u(v,_,"post")}},5330:(w,k,o)=>{var u=o(22163);w.exports=function x(v,_){return u(v,_,"pre")}},46823:(w,k,o)=>{var u=o(79138),x=o(66568),v=o(31919);w.exports=function _(m,l){var g,t=new x,c={},h=new v;function f(C){var A=C.v===g?C.w:C.v,L=h.priority(A);if(void 0!==L){var N=l(C);N0;){if(g=h.removeMin(),u.has(c,g))t.setEdge(g,c[g]);else{if(p)throw new Error("Input graph is not connected: "+m);p=!0}m.nodeEdges(g).forEach(f)}return t}},73585:(w,k,o)=>{var u=o(79138);w.exports=function x(v){var _=0,m=[],l={},t=[];function c(h){var g=l[h]={onStack:!0,lowlink:_,index:_++};if(m.push(h),v.successors(h).forEach(function(C){u.has(l,C)?l[C].onStack&&(g.lowlink=Math.min(g.lowlink,l[C].index)):(c(C),g.lowlink=Math.min(g.lowlink,l[C].lowlink))}),g.lowlink===g.index){var p,f=[];do{p=m.pop(),l[p].onStack=!1,f.push(p)}while(h!==p);t.push(f)}}return v.nodes().forEach(function(h){u.has(l,h)||c(h)}),t}},52180:(w,k,o)=>{var u=o(79138);function x(_){var m={},l={},t=[];if(u.each(_.sinks(),function c(h){if(u.has(l,h))throw new v;u.has(m,h)||(l[h]=!0,m[h]=!0,u.each(_.predecessors(h),c),delete l[h],t.push(h))}),u.size(m)!==_.nodeCount())throw new v;return t}function v(){}w.exports=x,x.CycleException=v,v.prototype=new Error},31919:(w,k,o)=>{var u=o(79138);function x(){this._arr=[],this._keyIndices={}}w.exports=x,x.prototype.size=function(){return this._arr.length},x.prototype.keys=function(){return this._arr.map(function(v){return v.key})},x.prototype.has=function(v){return u.has(this._keyIndices,v)},x.prototype.priority=function(v){var _=this._keyIndices[v];if(void 0!==_)return this._arr[_].priority},x.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},x.prototype.add=function(v,_){var m=this._keyIndices;if(v=String(v),!u.has(m,v)){var l=this._arr,t=l.length;return m[v]=t,l.push({key:v,priority:_}),this._decrease(t),!0}return!1},x.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var v=this._arr.pop();return delete this._keyIndices[v.key],this._heapify(0),v.key},x.prototype.decrease=function(v,_){var m=this._keyIndices[v];if(_>this._arr[m].priority)throw new Error("New priority is greater than current priority. Key: "+v+" Old: "+this._arr[m].priority+" New: "+_);this._arr[m].priority=_,this._decrease(m)},x.prototype._heapify=function(v){var _=this._arr,m=2*v,l=m+1,t=v;m<_.length&&(t=_[m].priority<_[t].priority?m:t,l<_.length&&(t=_[l].priority<_[t].priority?l:t),t!==v&&(this._swap(v,t),this._heapify(t)))},x.prototype._decrease=function(v){for(var l,_=this._arr,m=_[v].priority;0!==v&&!(_[l=v>>1].priority{"use strict";var u=o(79138);w.exports=m;var v="\0";function m(f){this._isDirected=!u.has(f,"directed")||f.directed,this._isMultigraph=!!u.has(f,"multigraph")&&f.multigraph,this._isCompound=!!u.has(f,"compound")&&f.compound,this._label=void 0,this._defaultNodeLabelFn=u.constant(void 0),this._defaultEdgeLabelFn=u.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[v]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function l(f,p){f[p]?f[p]++:f[p]=1}function t(f,p){--f[p]||delete f[p]}function c(f,p,C,A){var L=""+p,N=""+C;if(!f&&L>N){var P=L;L=N,N=P}return L+"\x01"+N+"\x01"+(u.isUndefined(A)?"\0":A)}function h(f,p,C,A){var L=""+p,N=""+C;if(!f&&L>N){var P=L;L=N,N=P}var R={v:L,w:N};return A&&(R.name=A),R}function g(f,p){return c(f,p.v,p.w,p.name)}m.prototype._nodeCount=0,m.prototype._edgeCount=0,m.prototype.isDirected=function(){return this._isDirected},m.prototype.isMultigraph=function(){return this._isMultigraph},m.prototype.isCompound=function(){return this._isCompound},m.prototype.setGraph=function(f){return this._label=f,this},m.prototype.graph=function(){return this._label},m.prototype.setDefaultNodeLabel=function(f){return u.isFunction(f)||(f=u.constant(f)),this._defaultNodeLabelFn=f,this},m.prototype.nodeCount=function(){return this._nodeCount},m.prototype.nodes=function(){return u.keys(this._nodes)},m.prototype.sources=function(){var f=this;return u.filter(this.nodes(),function(p){return u.isEmpty(f._in[p])})},m.prototype.sinks=function(){var f=this;return u.filter(this.nodes(),function(p){return u.isEmpty(f._out[p])})},m.prototype.setNodes=function(f,p){var C=arguments,A=this;return u.each(f,function(L){C.length>1?A.setNode(L,p):A.setNode(L)}),this},m.prototype.setNode=function(f,p){return u.has(this._nodes,f)?(arguments.length>1&&(this._nodes[f]=p),this):(this._nodes[f]=arguments.length>1?p:this._defaultNodeLabelFn(f),this._isCompound&&(this._parent[f]=v,this._children[f]={},this._children[v][f]=!0),this._in[f]={},this._preds[f]={},this._out[f]={},this._sucs[f]={},++this._nodeCount,this)},m.prototype.node=function(f){return this._nodes[f]},m.prototype.hasNode=function(f){return u.has(this._nodes,f)},m.prototype.removeNode=function(f){var p=this;if(u.has(this._nodes,f)){var C=function(A){p.removeEdge(p._edgeObjs[A])};delete this._nodes[f],this._isCompound&&(this._removeFromParentsChildList(f),delete this._parent[f],u.each(this.children(f),function(A){p.setParent(A)}),delete this._children[f]),u.each(u.keys(this._in[f]),C),delete this._in[f],delete this._preds[f],u.each(u.keys(this._out[f]),C),delete this._out[f],delete this._sucs[f],--this._nodeCount}return this},m.prototype.setParent=function(f,p){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(u.isUndefined(p))p=v;else{for(var C=p+="";!u.isUndefined(C);C=this.parent(C))if(C===f)throw new Error("Setting "+p+" as parent of "+f+" would create a cycle");this.setNode(p)}return this.setNode(f),this._removeFromParentsChildList(f),this._parent[f]=p,this._children[p][f]=!0,this},m.prototype._removeFromParentsChildList=function(f){delete this._children[this._parent[f]][f]},m.prototype.parent=function(f){if(this._isCompound){var p=this._parent[f];if(p!==v)return p}},m.prototype.children=function(f){if(u.isUndefined(f)&&(f=v),this._isCompound){var p=this._children[f];if(p)return u.keys(p)}else{if(f===v)return this.nodes();if(this.hasNode(f))return[]}},m.prototype.predecessors=function(f){var p=this._preds[f];if(p)return u.keys(p)},m.prototype.successors=function(f){var p=this._sucs[f];if(p)return u.keys(p)},m.prototype.neighbors=function(f){var p=this.predecessors(f);if(p)return u.union(p,this.successors(f))},m.prototype.isLeaf=function(f){return 0===(this.isDirected()?this.successors(f):this.neighbors(f)).length},m.prototype.filterNodes=function(f){var p=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});p.setGraph(this.graph());var C=this;u.each(this._nodes,function(N,P){f(P)&&p.setNode(P,N)}),u.each(this._edgeObjs,function(N){p.hasNode(N.v)&&p.hasNode(N.w)&&p.setEdge(N,C.edge(N))});var A={};function L(N){var P=C.parent(N);return void 0===P||p.hasNode(P)?(A[N]=P,P):P in A?A[P]:L(P)}return this._isCompound&&u.each(p.nodes(),function(N){p.setParent(N,L(N))}),p},m.prototype.setDefaultEdgeLabel=function(f){return u.isFunction(f)||(f=u.constant(f)),this._defaultEdgeLabelFn=f,this},m.prototype.edgeCount=function(){return this._edgeCount},m.prototype.edges=function(){return u.values(this._edgeObjs)},m.prototype.setPath=function(f,p){var C=this,A=arguments;return u.reduce(f,function(L,N){return A.length>1?C.setEdge(L,N,p):C.setEdge(L,N),N}),this},m.prototype.setEdge=function(){var f,p,C,A,L=!1,N=arguments[0];"object"==typeof N&&null!==N&&"v"in N?(f=N.v,p=N.w,C=N.name,2===arguments.length&&(A=arguments[1],L=!0)):(f=N,p=arguments[1],C=arguments[3],arguments.length>2&&(A=arguments[2],L=!0)),f=""+f,p=""+p,u.isUndefined(C)||(C=""+C);var P=c(this._isDirected,f,p,C);if(u.has(this._edgeLabels,P))return L&&(this._edgeLabels[P]=A),this;if(!u.isUndefined(C)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(f),this.setNode(p),this._edgeLabels[P]=L?A:this._defaultEdgeLabelFn(f,p,C);var R=h(this._isDirected,f,p,C);return f=R.v,p=R.w,Object.freeze(R),this._edgeObjs[P]=R,l(this._preds[p],f),l(this._sucs[f],p),this._in[p][P]=R,this._out[f][P]=R,this._edgeCount++,this},m.prototype.edge=function(f,p,C){var A=1===arguments.length?g(this._isDirected,arguments[0]):c(this._isDirected,f,p,C);return this._edgeLabels[A]},m.prototype.hasEdge=function(f,p,C){var A=1===arguments.length?g(this._isDirected,arguments[0]):c(this._isDirected,f,p,C);return u.has(this._edgeLabels,A)},m.prototype.removeEdge=function(f,p,C){var A=1===arguments.length?g(this._isDirected,arguments[0]):c(this._isDirected,f,p,C),L=this._edgeObjs[A];return L&&(f=L.v,p=L.w,delete this._edgeLabels[A],delete this._edgeObjs[A],t(this._preds[p],f),t(this._sucs[f],p),delete this._in[p][A],delete this._out[f][A],this._edgeCount--),this},m.prototype.inEdges=function(f,p){var C=this._in[f];if(C){var A=u.values(C);return p?u.filter(A,function(L){return L.v===p}):A}},m.prototype.outEdges=function(f,p){var C=this._out[f];if(C){var A=u.values(C);return p?u.filter(A,function(L){return L.w===p}):A}},m.prototype.nodeEdges=function(f,p){var C=this.inEdges(f,p);if(C)return C.concat(this.outEdges(f,p))}},51838:(w,k,o)=>{w.exports={Graph:o(66568),version:o(75089)}},21088:(w,k,o)=>{var u=o(79138),x=o(66568);function _(t){return u.map(t.nodes(),function(c){var h=t.node(c),g=t.parent(c),f={v:c};return u.isUndefined(h)||(f.value=h),u.isUndefined(g)||(f.parent=g),f})}function m(t){return u.map(t.edges(),function(c){var h=t.edge(c),g={v:c.v,w:c.w};return u.isUndefined(c.name)||(g.name=c.name),u.isUndefined(h)||(g.value=h),g})}w.exports={write:function v(t){var c={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:_(t),edges:m(t)};return u.isUndefined(t.graph())||(c.value=u.clone(t.graph())),c},read:function l(t){var c=new x(t.options).setGraph(t.value);return u.each(t.nodes,function(h){c.setNode(h.v,h.value),h.parent&&c.setParent(h.v,h.parent)}),u.each(t.edges,function(h){c.setEdge({v:h.v,w:h.w,name:h.name},h.value)}),c}}},79138:(w,k,o)=>{var u;try{u={clone:o(11094),constant:o(76684),each:o(35474),filter:o(35281),has:o(54842),isArray:o(21503),isEmpty:o(71973),isFunction:o(75946),isUndefined:o(34235),keys:o(118),map:o(19984),reduce:o(81337),size:o(55637),transform:o(89416),union:o(68921),values:o(90377)}}catch(x){}u||(u=window._),w.exports=u},75089:w=>{w.exports="2.1.8"},40717:(w,k,o)=>{"use strict";var u=o(50623);function x(v){return!0===u(v)&&"[object Object]"===Object.prototype.toString.call(v)}w.exports=function(_){var m,l;return!(!1===x(_)||(m=_.constructor,"function"!=typeof m)||(l=m.prototype,!1===x(l))||!1===l.hasOwnProperty("isPrototypeOf"))}},50623:w=>{"use strict";w.exports=function(o){return null!=o&&"object"==typeof o&&!1===Array.isArray(o)}},52872:w=>{var k=Object.prototype.toString;function o(h){return"function"==typeof h.constructor?h.constructor.name:null}w.exports=function(g){if(void 0===g)return"undefined";if(null===g)return"null";var f=typeof g;if("boolean"===f)return"boolean";if("string"===f)return"string";if("number"===f)return"number";if("symbol"===f)return"symbol";if("function"===f)return function m(h,g){return"GeneratorFunction"===o(h)}(g)?"generatorfunction":"function";if(function u(h){return Array.isArray?Array.isArray(h):h instanceof Array}(g))return"array";if(function c(h){return!(!h.constructor||"function"!=typeof h.constructor.isBuffer)&&h.constructor.isBuffer(h)}(g))return"buffer";if(function t(h){try{if("number"==typeof h.length&&"function"==typeof h.callee)return!0}catch(g){if(-1!==g.message.indexOf("callee"))return!0}return!1}(g))return"arguments";if(function v(h){return h instanceof Date||"function"==typeof h.toDateString&&"function"==typeof h.getDate&&"function"==typeof h.setDate}(g))return"date";if(function x(h){return h instanceof Error||"string"==typeof h.message&&h.constructor&&"number"==typeof h.constructor.stackTraceLimit}(g))return"error";if(function _(h){return h instanceof RegExp||"string"==typeof h.flags&&"boolean"==typeof h.ignoreCase&&"boolean"==typeof h.multiline&&"boolean"==typeof h.global}(g))return"regexp";switch(o(g)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function l(h){return"function"==typeof h.throw&&"function"==typeof h.return&&"function"==typeof h.next}(g))return"generator";switch(f=k.call(g)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return f.slice(8,-1).toLowerCase().replace(/\s/g,"")}},37244:(w,k,o)=>{var v=o(53436)(o(12119),"DataView");w.exports=v},54994:(w,k,o)=>{var u=o(64312),x=o(46421),v=o(15764),_=o(18685),m=o(26676);function l(t){var c=-1,h=null==t?0:t.length;for(this.clear();++c{var u=o(41840),x=o(34378),v=o(54981),_=o(67343),m=o(98895);function l(t){var c=-1,h=null==t?0:t.length;for(this.clear();++c{var v=o(53436)(o(12119),"Map");w.exports=v},99850:(w,k,o)=>{var u=o(10638),x=o(11184),v=o(70866),_=o(43771),m=o(51772);function l(t){var c=-1,h=null==t?0:t.length;for(this.clear();++c{var v=o(53436)(o(12119),"Promise");w.exports=v},46323:(w,k,o)=>{var v=o(53436)(o(12119),"Set");w.exports=v},58849:(w,k,o)=>{var u=o(99850),x=o(4600),v=o(31387);function _(m){var l=-1,t=null==m?0:m.length;for(this.__data__=new u;++l{var u=o(9215),x=o(13720),v=o(64410),_=o(45576),m=o(22247),l=o(41585);function t(c){var h=this.__data__=new u(c);this.size=h.size}t.prototype.clear=x,t.prototype.delete=v,t.prototype.get=_,t.prototype.has=m,t.prototype.set=l,w.exports=t},60443:(w,k,o)=>{var u=o(12119);w.exports=u.Symbol},73457:(w,k,o)=>{var u=o(12119);w.exports=u.Uint8Array},24243:(w,k,o)=>{var v=o(53436)(o(12119),"WeakMap");w.exports=v},26999:w=>{w.exports=function k(o,u,x){switch(x.length){case 0:return o.call(u);case 1:return o.call(u,x[0]);case 2:return o.call(u,x[0],x[1]);case 3:return o.call(u,x[0],x[1],x[2])}return o.apply(u,x)}},96837:w=>{w.exports=function k(o,u){for(var x=-1,v=null==o?0:o.length;++x{w.exports=function k(o,u){for(var x=-1,v=null==o?0:o.length,_=0,m=[];++x{var u=o(14164);w.exports=function x(v,_){return!(null==v||!v.length)&&u(v,_,0)>-1}},37609:w=>{w.exports=function k(o,u,x){for(var v=-1,_=null==o?0:o.length;++v<_;)if(x(u,o[v]))return!0;return!1}},72271:(w,k,o)=>{var u=o(85334),x=o(77151),v=o(21503),_=o(80891),m=o(58442),l=o(48159),c=Object.prototype.hasOwnProperty;w.exports=function h(g,f){var p=v(g),C=!p&&x(g),A=!p&&!C&&_(g),L=!p&&!C&&!A&&l(g),N=p||C||A||L,P=N?u(g.length,String):[],R=P.length;for(var Z in g)(f||c.call(g,Z))&&(!N||!("length"==Z||A&&("offset"==Z||"parent"==Z)||L&&("buffer"==Z||"byteLength"==Z||"byteOffset"==Z)||m(Z,R)))&&P.push(Z);return P}},84633:w=>{w.exports=function k(o,u){for(var x=-1,v=null==o?0:o.length,_=Array(v);++x{w.exports=function k(o,u){for(var x=-1,v=u.length,_=o.length;++x{w.exports=function k(o,u,x,v){var _=-1,m=null==o?0:o.length;for(v&&m&&(x=o[++_]);++_{w.exports=function k(o,u){for(var x=-1,v=null==o?0:o.length;++x{var x=o(11847)("length");w.exports=x},49276:(w,k,o)=>{var u=o(85683),x=o(20217);w.exports=function v(_,m,l){(void 0!==l&&!x(_[m],l)||void 0===l&&!(m in _))&&u(_,m,l)}},89719:(w,k,o)=>{var u=o(85683),x=o(20217),_=Object.prototype.hasOwnProperty;w.exports=function m(l,t,c){var h=l[t];(!_.call(l,t)||!x(h,c)||void 0===c&&!(t in l))&&u(l,t,c)}},43503:(w,k,o)=>{var u=o(20217);w.exports=function x(v,_){for(var m=v.length;m--;)if(u(v[m][0],_))return m;return-1}},94121:(w,k,o)=>{var u=o(31989),x=o(118);w.exports=function v(_,m){return _&&u(m,x(m),_)}},99287:(w,k,o)=>{var u=o(31989),x=o(16555);w.exports=function v(_,m){return _&&u(m,x(m),_)}},85683:(w,k,o)=>{var u=o(56713);w.exports=function x(v,_,m){"__proto__"==_&&u?u(v,_,{configurable:!0,enumerable:!0,value:m,writable:!0}):v[_]=m}},44462:(w,k,o)=>{var u=o(2858),x=o(96837),v=o(89719),_=o(94121),m=o(99287),l=o(19292),t=o(99454),c=o(84444),h=o(59905),g=o(47597),f=o(6967),p=o(28794),C=o(76782),A=o(37878),L=o(4264),N=o(21503),P=o(80891),R=o(13222),Z=o(25940),H=o(90799),z=o(118),tt=o(16555),et="[object Arguments]",ut="[object Function]",ft="[object Object]",Ve={};Ve[et]=Ve["[object Array]"]=Ve["[object ArrayBuffer]"]=Ve["[object DataView]"]=Ve["[object Boolean]"]=Ve["[object Date]"]=Ve["[object Float32Array]"]=Ve["[object Float64Array]"]=Ve["[object Int8Array]"]=Ve["[object Int16Array]"]=Ve["[object Int32Array]"]=Ve["[object Map]"]=Ve["[object Number]"]=Ve[ft]=Ve["[object RegExp]"]=Ve["[object Set]"]=Ve["[object String]"]=Ve["[object Symbol]"]=Ve["[object Uint8Array]"]=Ve["[object Uint8ClampedArray]"]=Ve["[object Uint16Array]"]=Ve["[object Uint32Array]"]=!0,Ve["[object Error]"]=Ve[ut]=Ve["[object WeakMap]"]=!1,w.exports=function Mn(oe,fn,Wn,ni,Hn,an){var je,sn=1&fn,En=2&fn,Be=4&fn;if(Wn&&(je=Hn?Wn(oe,ni,Hn,an):Wn(oe)),void 0!==je)return je;if(!Z(oe))return oe;var ci=N(oe);if(ci){if(je=C(oe),!sn)return t(oe,je)}else{var Rn=p(oe),_n=Rn==ut||"[object GeneratorFunction]"==Rn;if(P(oe))return l(oe,sn);if(Rn==ft||Rn==et||_n&&!Hn){if(je=En||_n?{}:L(oe),!sn)return En?h(oe,m(je,oe)):c(oe,_(je,oe))}else{if(!Ve[Rn])return Hn?oe:{};je=A(oe,Rn,sn)}}an||(an=new u);var Yn=an.get(oe);if(Yn)return Yn;an.set(oe,je),H(oe)?oe.forEach(function(Xn){je.add(Mn(Xn,fn,Wn,Xn,oe,an))}):R(oe)&&oe.forEach(function(Xn,$n){je.set($n,Mn(Xn,fn,Wn,$n,oe,an))});var Me=ci?void 0:(Be?En?f:g:En?tt:z)(oe);return x(Me||oe,function(Xn,$n){Me&&(Xn=oe[$n=Xn]),v(je,$n,Mn(Xn,fn,Wn,$n,oe,an))}),je}},78858:(w,k,o)=>{var u=o(25940),x=Object.create,v=function(){function _(){}return function(m){if(!u(m))return{};if(x)return x(m);_.prototype=m;var l=new _;return _.prototype=void 0,l}}();w.exports=v},43132:(w,k,o)=>{var u=o(45184),v=o(16539)(u);w.exports=v},67308:(w,k,o)=>{var u=o(44129);w.exports=function x(v,_,m){for(var l=-1,t=v.length;++l{var u=o(43132);w.exports=function x(v,_){var m=[];return u(v,function(l,t,c){_(l,t,c)&&m.push(l)}),m}},65317:w=>{w.exports=function k(o,u,x,v){for(var _=o.length,m=x+(v?1:-1);v?m--:++m<_;)if(u(o[m],m,o))return m;return-1}},50686:(w,k,o)=>{var u=o(85059),x=o(75039);w.exports=function v(_,m,l,t,c){var h=-1,g=_.length;for(l||(l=x),c||(c=[]);++h0&&l(f)?m>1?v(f,m-1,l,t,c):u(c,f):t||(c[c.length]=f)}return c}},30755:(w,k,o)=>{var x=o(40456)();w.exports=x},45184:(w,k,o)=>{var u=o(30755),x=o(118);w.exports=function v(_,m){return _&&u(_,m,x)}},15456:(w,k,o)=>{var u=o(65456),x=o(68533);w.exports=function v(_,m){for(var l=0,t=(m=u(m,_)).length;null!=_&&l{var u=o(85059),x=o(21503);w.exports=function v(_,m,l){var t=m(_);return x(_)?t:u(t,l(_))}},93337:(w,k,o)=>{var u=o(60443),x=o(21318),v=o(92902),l=u?u.toStringTag:void 0;w.exports=function t(c){return null==c?void 0===c?"[object Undefined]":"[object Null]":l&&l in Object(c)?x(c):v(c)}},31100:w=>{w.exports=function k(o,u){return o>u}},84781:w=>{var o=Object.prototype.hasOwnProperty;w.exports=function u(x,v){return null!=x&&o.call(x,v)}},69989:w=>{w.exports=function k(o,u){return null!=o&&u in Object(o)}},14164:(w,k,o)=>{var u=o(65317),x=o(70968),v=o(24977);w.exports=function _(m,l,t){return l==l?v(m,l,t):u(m,x,t)}},60186:(w,k,o)=>{var u=o(93337),x=o(72671);w.exports=function _(m){return x(m)&&"[object Arguments]"==u(m)}},85740:(w,k,o)=>{var u=o(58325),x=o(72671);w.exports=function v(_,m,l,t,c){return _===m||(null==_||null==m||!x(_)&&!x(m)?_!=_&&m!=m:u(_,m,l,t,v,c))}},58325:(w,k,o)=>{var u=o(2858),x=o(63914),v=o(78583),_=o(32286),m=o(28794),l=o(21503),t=o(80891),c=o(48159),g="[object Arguments]",f="[object Array]",p="[object Object]",A=Object.prototype.hasOwnProperty;w.exports=function L(N,P,R,Z,H,z){var tt=l(N),rt=l(P),ot=tt?f:m(N),J=rt?f:m(P),et=(ot=ot==g?p:ot)==p,q=(J=J==g?p:J)==p,at=ot==J;if(at&&t(N)){if(!t(P))return!1;tt=!0,et=!1}if(at&&!et)return z||(z=new u),tt||c(N)?x(N,P,R,Z,H,z):v(N,P,ot,R,Z,H,z);if(!(1&R)){var Y=et&&A.call(N,"__wrapped__"),K=q&&A.call(P,"__wrapped__");if(Y||K){var ut=Y?N.value():N,it=K?P.value():P;return z||(z=new u),H(ut,it,R,Z,z)}}return!!at&&(z||(z=new u),_(N,P,R,Z,H,z))}},97021:(w,k,o)=>{var u=o(28794),x=o(72671);w.exports=function _(m){return x(m)&&"[object Map]"==u(m)}},40431:(w,k,o)=>{var u=o(2858),x=o(85740);w.exports=function m(l,t,c,h){var g=c.length,f=g,p=!h;if(null==l)return!f;for(l=Object(l);g--;){var C=c[g];if(p&&C[2]?C[1]!==l[C[0]]:!(C[0]in l))return!1}for(;++g{w.exports=function k(o){return o!=o}},37304:(w,k,o)=>{var u=o(75946),x=o(91943),v=o(25940),_=o(52827),l=/^\[object .+?Constructor\]$/,f=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");w.exports=function p(C){return!(!v(C)||x(C))&&(u(C)?f:l).test(_(C))}},771:(w,k,o)=>{var u=o(28794),x=o(72671);w.exports=function _(m){return x(m)&&"[object Set]"==u(m)}},1083:(w,k,o)=>{var u=o(93337),x=o(96231),v=o(72671),at={};at["[object Float32Array]"]=at["[object Float64Array]"]=at["[object Int8Array]"]=at["[object Int16Array]"]=at["[object Int32Array]"]=at["[object Uint8Array]"]=at["[object Uint8ClampedArray]"]=at["[object Uint16Array]"]=at["[object Uint32Array]"]=!0,at["[object Arguments]"]=at["[object Array]"]=at["[object ArrayBuffer]"]=at["[object Boolean]"]=at["[object DataView]"]=at["[object Date]"]=at["[object Error]"]=at["[object Function]"]=at["[object Map]"]=at["[object Number]"]=at["[object Object]"]=at["[object RegExp]"]=at["[object Set]"]=at["[object String]"]=at["[object WeakMap]"]=!1,w.exports=function Y(K){return v(K)&&x(K.length)&&!!at[u(K)]}},96517:(w,k,o)=>{var u=o(98133),x=o(9458),v=o(32608),_=o(21503),m=o(87495);w.exports=function l(t){return"function"==typeof t?t:null==t?v:"object"==typeof t?_(t)?x(t[0],t[1]):u(t):m(t)}},81172:(w,k,o)=>{var u=o(45488),x=o(85491),_=Object.prototype.hasOwnProperty;w.exports=function m(l){if(!u(l))return x(l);var t=[];for(var c in Object(l))_.call(l,c)&&"constructor"!=c&&t.push(c);return t}},92809:(w,k,o)=>{var u=o(25940),x=o(45488),v=o(32158),m=Object.prototype.hasOwnProperty;w.exports=function l(t){if(!u(t))return v(t);var c=x(t),h=[];for(var g in t)"constructor"==g&&(c||!m.call(t,g))||h.push(g);return h}},99069:w=>{w.exports=function k(o,u){return o{var u=o(43132),x=o(56507);w.exports=function v(_,m){var l=-1,t=x(_)?Array(_.length):[];return u(_,function(c,h,g){t[++l]=m(c,h,g)}),t}},98133:(w,k,o)=>{var u=o(40431),x=o(22379),v=o(642);w.exports=function _(m){var l=x(m);return 1==l.length&&l[0][2]?v(l[0][0],l[0][1]):function(t){return t===m||u(t,m,l)}}},9458:(w,k,o)=>{var u=o(85740),x=o(8817),v=o(11172),_=o(45352),m=o(22442),l=o(642),t=o(68533);w.exports=function g(f,p){return _(f)&&m(p)?l(t(f),p):function(C){var A=x(C,f);return void 0===A&&A===p?v(C,f):u(p,A,3)}}},73842:(w,k,o)=>{var u=o(2858),x=o(49276),v=o(30755),_=o(33675),m=o(25940),l=o(16555),t=o(99351);w.exports=function c(h,g,f,p,C){h!==g&&v(g,function(A,L){if(C||(C=new u),m(A))_(h,g,L,f,c,p,C);else{var N=p?p(t(h,L),A,L+"",h,g,C):void 0;void 0===N&&(N=A),x(h,L,N)}},l)}},33675:(w,k,o)=>{var u=o(49276),x=o(19292),v=o(65208),_=o(99454),m=o(4264),l=o(77151),t=o(21503),c=o(92377),h=o(80891),g=o(75946),f=o(25940),p=o(97614),C=o(48159),A=o(99351),L=o(8067);w.exports=function N(P,R,Z,H,z,tt,rt){var ot=A(P,Z),J=A(R,Z),et=rt.get(J);if(et)u(P,Z,et);else{var q=tt?tt(ot,J,Z+"",P,R,rt):void 0,at=void 0===q;if(at){var Y=t(J),K=!Y&&h(J),ut=!Y&&!K&&C(J);q=J,Y||K||ut?t(ot)?q=ot:c(ot)?q=_(ot):K?(at=!1,q=x(J,!0)):ut?(at=!1,q=v(J,!0)):q=[]:p(J)||l(J)?(q=ot,l(ot)?q=L(ot):(!f(ot)||g(ot))&&(q=m(J))):at=!1}at&&(rt.set(J,q),z(q,J,H,tt,rt),rt.delete(J)),u(P,Z,q)}}},6119:(w,k,o)=>{var u=o(84633),x=o(15456),v=o(96517),_=o(92046),m=o(42061),l=o(85647),t=o(41215),c=o(32608),h=o(21503);w.exports=function g(f,p,C){p=p.length?u(p,function(N){return h(N)?function(P){return x(P,1===N.length?N[0]:N)}:N}):[c];var A=-1;p=u(p,l(v));var L=_(f,function(N,P,R){return{criteria:u(p,function(H){return H(N)}),index:++A,value:N}});return m(L,function(N,P){return t(N,P,C)})}},83021:(w,k,o)=>{var u=o(95495),x=o(11172);w.exports=function v(_,m){return u(_,m,function(l,t){return x(_,t)})}},95495:(w,k,o)=>{var u=o(15456),x=o(55963),v=o(65456);w.exports=function _(m,l,t){for(var c=-1,h=l.length,g={};++c{w.exports=function k(o){return function(u){return null==u?void 0:u[o]}}},39222:(w,k,o)=>{var u=o(15456);w.exports=function x(v){return function(_){return u(_,v)}}},16307:w=>{var k=Math.ceil,o=Math.max;w.exports=function u(x,v,_,m){for(var l=-1,t=o(k((v-x)/(_||1)),0),c=Array(t);t--;)c[m?t:++l]=x,x+=_;return c}},13570:w=>{w.exports=function k(o,u,x,v,_){return _(o,function(m,l,t){x=v?(v=!1,m):u(x,m,l,t)}),x}},23269:(w,k,o)=>{var u=o(32608),x=o(53983),v=o(72185);w.exports=function _(m,l){return v(x(m,l,u),m+"")}},55963:(w,k,o)=>{var u=o(89719),x=o(65456),v=o(58442),_=o(25940),m=o(68533);w.exports=function l(t,c,h,g){if(!_(t))return t;for(var f=-1,p=(c=x(c,t)).length,C=p-1,A=t;null!=A&&++f{var u=o(76684),x=o(56713),v=o(32608);w.exports=x?function(m,l){return x(m,"toString",{configurable:!0,enumerable:!1,value:u(l),writable:!0})}:v},42061:w=>{w.exports=function k(o,u){var x=o.length;for(o.sort(u);x--;)o[x]=o[x].value;return o}},85334:w=>{w.exports=function k(o,u){for(var x=-1,v=Array(o);++x{var u=o(60443),x=o(84633),v=o(21503),_=o(44129),l=u?u.prototype:void 0,t=l?l.toString:void 0;w.exports=function c(h){if("string"==typeof h)return h;if(v(h))return x(h,c)+"";if(_(h))return t?t.call(h):"";var g=h+"";return"0"==g&&1/h==-1/0?"-0":g}},83348:(w,k,o)=>{var u=o(42760),x=/^\s+/;w.exports=function v(_){return _&&_.slice(0,u(_)+1).replace(x,"")}},85647:w=>{w.exports=function k(o){return function(u){return o(u)}}},80707:(w,k,o)=>{var u=o(58849),x=o(61253),v=o(37609),_=o(25972),m=o(14575),l=o(24174);w.exports=function c(h,g,f){var p=-1,C=x,A=h.length,L=!0,N=[],P=N;if(f)L=!1,C=v;else if(A>=200){var R=g?null:m(h);if(R)return l(R);L=!1,C=_,P=new u}else P=g?[]:N;t:for(;++p{var u=o(84633);w.exports=function x(v,_){return u(_,function(m){return v[m]})}},38645:w=>{w.exports=function k(o,u,x){for(var v=-1,_=o.length,m=u.length,l={};++v<_;)x(l,o[v],v{w.exports=function k(o,u){return o.has(u)}},21481:(w,k,o)=>{var u=o(32608);w.exports=function x(v){return"function"==typeof v?v:u}},65456:(w,k,o)=>{var u=o(21503),x=o(45352),v=o(32855),_=o(73943);w.exports=function m(l,t){return u(l)?l:x(l,t)?[l]:v(_(l))}},43362:(w,k,o)=>{var u=o(73457);w.exports=function x(v){var _=new v.constructor(v.byteLength);return new u(_).set(new u(v)),_}},19292:(w,k,o)=>{w=o.nmd(w);var u=o(12119),x=k&&!k.nodeType&&k,v=x&&w&&!w.nodeType&&w,m=v&&v.exports===x?u.Buffer:void 0,l=m?m.allocUnsafe:void 0;w.exports=function t(c,h){if(h)return c.slice();var g=c.length,f=l?l(g):new c.constructor(g);return c.copy(f),f}},17e3:(w,k,o)=>{var u=o(43362);w.exports=function x(v,_){var m=_?u(v.buffer):v.buffer;return new v.constructor(m,v.byteOffset,v.byteLength)}},74098:w=>{var k=/\w*$/;w.exports=function o(u){var x=new u.constructor(u.source,k.exec(u));return x.lastIndex=u.lastIndex,x}},62533:(w,k,o)=>{var u=o(60443),x=u?u.prototype:void 0,v=x?x.valueOf:void 0;w.exports=function _(m){return v?Object(v.call(m)):{}}},65208:(w,k,o)=>{var u=o(43362);w.exports=function x(v,_){var m=_?u(v.buffer):v.buffer;return new v.constructor(m,v.byteOffset,v.length)}},13443:(w,k,o)=>{var u=o(44129);w.exports=function x(v,_){if(v!==_){var m=void 0!==v,l=null===v,t=v==v,c=u(v),h=void 0!==_,g=null===_,f=_==_,p=u(_);if(!g&&!p&&!c&&v>_||c&&h&&f&&!g&&!p||l&&h&&f||!m&&f||!t)return 1;if(!l&&!c&&!p&&v<_||p&&m&&t&&!l&&!c||g&&m&&t||!h&&t||!f)return-1}return 0}},41215:(w,k,o)=>{var u=o(13443);w.exports=function x(v,_,m){for(var l=-1,t=v.criteria,c=_.criteria,h=t.length,g=m.length;++l=g?f:f*("desc"==m[l]?-1:1)}return v.index-_.index}},99454:w=>{w.exports=function k(o,u){var x=-1,v=o.length;for(u||(u=Array(v));++x{var u=o(89719),x=o(85683);w.exports=function v(_,m,l,t){var c=!l;l||(l={});for(var h=-1,g=m.length;++h{var u=o(31989),x=o(39383);w.exports=function v(_,m){return u(_,x(_),m)}},59905:(w,k,o)=>{var u=o(31989),x=o(53051);w.exports=function v(_,m){return u(_,x(_),m)}},24610:(w,k,o)=>{var u=o(12119);w.exports=u["__core-js_shared__"]},84944:(w,k,o)=>{var u=o(23269),x=o(93342);w.exports=function v(_){return u(function(m,l){var t=-1,c=l.length,h=c>1?l[c-1]:void 0,g=c>2?l[2]:void 0;for(h=_.length>3&&"function"==typeof h?(c--,h):void 0,g&&x(l[0],l[1],g)&&(h=c<3?void 0:h,c=1),m=Object(m);++t{var u=o(56507);w.exports=function x(v,_){return function(m,l){if(null==m)return m;if(!u(m))return v(m,l);for(var t=m.length,c=_?t:-1,h=Object(m);(_?c--:++c{w.exports=function k(o){return function(u,x,v){for(var _=-1,m=Object(u),l=v(u),t=l.length;t--;){var c=l[o?t:++_];if(!1===x(m[c],c,m))break}return u}}},24653:(w,k,o)=>{var u=o(96517),x=o(56507),v=o(118);w.exports=function _(m){return function(l,t,c){var h=Object(l);if(!x(l)){var g=u(t,3);l=v(l),t=function(p){return g(h[p],p,h)}}var f=m(l,t,c);return f>-1?h[g?l[f]:f]:void 0}}},97509:(w,k,o)=>{var u=o(16307),x=o(93342),v=o(12232);w.exports=function _(m){return function(l,t,c){return c&&"number"!=typeof c&&x(l,t,c)&&(t=c=void 0),l=v(l),void 0===t?(t=l,l=0):t=v(t),c=void 0===c?l{var u=o(46323),x=o(12552),v=o(24174),m=u&&1/v(new u([,-0]))[1]==1/0?function(l){return new u(l)}:x;w.exports=m},56713:(w,k,o)=>{var u=o(53436),x=function(){try{var v=u(Object,"defineProperty");return v({},"",{}),v}catch(_){}}();w.exports=x},63914:(w,k,o)=>{var u=o(58849),x=o(79503),v=o(25972);w.exports=function l(t,c,h,g,f,p){var C=1&h,A=t.length,L=c.length;if(A!=L&&!(C&&L>A))return!1;var N=p.get(t),P=p.get(c);if(N&&P)return N==c&&P==t;var R=-1,Z=!0,H=2&h?new u:void 0;for(p.set(t,c),p.set(c,t);++R{var u=o(60443),x=o(73457),v=o(20217),_=o(63914),m=o(83205),l=o(24174),H=u?u.prototype:void 0,z=H?H.valueOf:void 0;w.exports=function tt(rt,ot,J,et,q,at,Y){switch(J){case"[object DataView]":if(rt.byteLength!=ot.byteLength||rt.byteOffset!=ot.byteOffset)return!1;rt=rt.buffer,ot=ot.buffer;case"[object ArrayBuffer]":return!(rt.byteLength!=ot.byteLength||!at(new x(rt),new x(ot)));case"[object Boolean]":case"[object Date]":case"[object Number]":return v(+rt,+ot);case"[object Error]":return rt.name==ot.name&&rt.message==ot.message;case"[object RegExp]":case"[object String]":return rt==ot+"";case"[object Map]":var K=m;case"[object Set]":if(K||(K=l),rt.size!=ot.size&&!(1&et))return!1;var it=Y.get(rt);if(it)return it==ot;et|=2,Y.set(rt,ot);var G=_(K(rt),K(ot),et,q,at,Y);return Y.delete(rt),G;case"[object Symbol]":if(z)return z.call(rt)==z.call(ot)}return!1}},32286:(w,k,o)=>{var u=o(47597),_=Object.prototype.hasOwnProperty;w.exports=function m(l,t,c,h,g,f){var p=1&c,C=u(l),A=C.length;if(A!=u(t).length&&!p)return!1;for(var P=A;P--;){var R=C[P];if(!(p?R in t:_.call(t,R)))return!1}var Z=f.get(l),H=f.get(t);if(Z&&H)return Z==t&&H==l;var z=!0;f.set(l,t),f.set(t,l);for(var tt=p;++P{var u=o(22274),x=o(53983),v=o(72185);w.exports=function _(m){return v(x(m,void 0,u),m+"")}},79122:w=>{var k="object"==typeof global&&global&&global.Object===Object&&global;w.exports=k},47597:(w,k,o)=>{var u=o(38247),x=o(39383),v=o(118);w.exports=function _(m){return u(m,v,x)}},6967:(w,k,o)=>{var u=o(38247),x=o(53051),v=o(16555);w.exports=function _(m){return u(m,v,x)}},54537:(w,k,o)=>{var u=o(23819);w.exports=function x(v,_){var m=v.__data__;return u(_)?m["string"==typeof _?"string":"hash"]:m.map}},22379:(w,k,o)=>{var u=o(22442),x=o(118);w.exports=function v(_){for(var m=x(_),l=m.length;l--;){var t=m[l],c=_[t];m[l]=[t,c,u(c)]}return m}},53436:(w,k,o)=>{var u=o(37304),x=o(51990);w.exports=function v(_,m){var l=x(_,m);return u(l)?l:void 0}},29519:(w,k,o)=>{var x=o(69385)(Object.getPrototypeOf,Object);w.exports=x},21318:(w,k,o)=>{var u=o(60443),x=Object.prototype,v=x.hasOwnProperty,_=x.toString,m=u?u.toStringTag:void 0;w.exports=function l(t){var c=v.call(t,m),h=t[m];try{t[m]=void 0;var g=!0}catch(p){}var f=_.call(t);return g&&(c?t[m]=h:delete t[m]),f}},39383:(w,k,o)=>{var u=o(69779),x=o(49975),_=Object.prototype.propertyIsEnumerable,m=Object.getOwnPropertySymbols;w.exports=m?function(t){return null==t?[]:(t=Object(t),u(m(t),function(c){return _.call(t,c)}))}:x},53051:(w,k,o)=>{var u=o(85059),x=o(29519),v=o(39383),_=o(49975);w.exports=Object.getOwnPropertySymbols?function(t){for(var c=[];t;)u(c,v(t)),t=x(t);return c}:_},28794:(w,k,o)=>{var u=o(37244),x=o(51501),v=o(44267),_=o(46323),m=o(24243),l=o(93337),t=o(52827),c="[object Map]",g="[object Promise]",f="[object Set]",p="[object WeakMap]",C="[object DataView]",A=t(u),L=t(x),N=t(v),P=t(_),R=t(m),Z=l;(u&&Z(new u(new ArrayBuffer(1)))!=C||x&&Z(new x)!=c||v&&Z(v.resolve())!=g||_&&Z(new _)!=f||m&&Z(new m)!=p)&&(Z=function(H){var z=l(H),tt="[object Object]"==z?H.constructor:void 0,rt=tt?t(tt):"";if(rt)switch(rt){case A:return C;case L:return c;case N:return g;case P:return f;case R:return p}return z}),w.exports=Z},51990:w=>{w.exports=function k(o,u){return null==o?void 0:o[u]}},47283:(w,k,o)=>{var u=o(65456),x=o(77151),v=o(21503),_=o(58442),m=o(96231),l=o(68533);w.exports=function t(c,h,g){for(var f=-1,p=(h=u(h,c)).length,C=!1;++f{var l=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");w.exports=function t(c){return l.test(c)}},64312:(w,k,o)=>{var u=o(60862);w.exports=function x(){this.__data__=u?u(null):{},this.size=0}},46421:w=>{w.exports=function k(o){var u=this.has(o)&&delete this.__data__[o];return this.size-=u?1:0,u}},15764:(w,k,o)=>{var u=o(60862),_=Object.prototype.hasOwnProperty;w.exports=function m(l){var t=this.__data__;if(u){var c=t[l];return"__lodash_hash_undefined__"===c?void 0:c}return _.call(t,l)?t[l]:void 0}},18685:(w,k,o)=>{var u=o(60862),v=Object.prototype.hasOwnProperty;w.exports=function _(m){var l=this.__data__;return u?void 0!==l[m]:v.call(l,m)}},26676:(w,k,o)=>{var u=o(60862);w.exports=function v(_,m){var l=this.__data__;return this.size+=this.has(_)?0:1,l[_]=u&&void 0===m?"__lodash_hash_undefined__":m,this}},76782:w=>{var o=Object.prototype.hasOwnProperty;w.exports=function u(x){var v=x.length,_=new x.constructor(v);return v&&"string"==typeof x[0]&&o.call(x,"index")&&(_.index=x.index,_.input=x.input),_}},37878:(w,k,o)=>{var u=o(43362),x=o(17e3),v=o(74098),_=o(62533),m=o(65208);w.exports=function J(et,q,at){var Y=et.constructor;switch(q){case"[object ArrayBuffer]":return u(et);case"[object Boolean]":case"[object Date]":return new Y(+et);case"[object DataView]":return x(et,at);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return m(et,at);case"[object Map]":case"[object Set]":return new Y;case"[object Number]":case"[object String]":return new Y(et);case"[object RegExp]":return v(et);case"[object Symbol]":return _(et)}}},4264:(w,k,o)=>{var u=o(78858),x=o(29519),v=o(45488);w.exports=function _(m){return"function"!=typeof m.constructor||v(m)?{}:u(x(m))}},75039:(w,k,o)=>{var u=o(60443),x=o(77151),v=o(21503),_=u?u.isConcatSpreadable:void 0;w.exports=function m(l){return v(l)||x(l)||!!(_&&l&&l[_])}},58442:w=>{var o=/^(?:0|[1-9]\d*)$/;w.exports=function u(x,v){var _=typeof x;return!!(v=null==v?9007199254740991:v)&&("number"==_||"symbol"!=_&&o.test(x))&&x>-1&&x%1==0&&x{var u=o(20217),x=o(56507),v=o(58442),_=o(25940);w.exports=function m(l,t,c){if(!_(c))return!1;var h=typeof t;return!!("number"==h?x(c)&&v(t,c.length):"string"==h&&t in c)&&u(c[t],l)}},45352:(w,k,o)=>{var u=o(21503),x=o(44129),v=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_=/^\w*$/;w.exports=function m(l,t){if(u(l))return!1;var c=typeof l;return!("number"!=c&&"symbol"!=c&&"boolean"!=c&&null!=l&&!x(l))||_.test(l)||!v.test(l)||null!=t&&l in Object(t)}},23819:w=>{w.exports=function k(o){var u=typeof o;return"string"==u||"number"==u||"symbol"==u||"boolean"==u?"__proto__"!==o:null===o}},91943:(w,k,o)=>{var _,u=o(24610),x=(_=/[^.]+$/.exec(u&&u.keys&&u.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"";w.exports=function v(_){return!!x&&x in _}},45488:w=>{var k=Object.prototype;w.exports=function o(u){var x=u&&u.constructor;return u===("function"==typeof x&&x.prototype||k)}},22442:(w,k,o)=>{var u=o(25940);w.exports=function x(v){return v==v&&!u(v)}},41840:w=>{w.exports=function k(){this.__data__=[],this.size=0}},34378:(w,k,o)=>{var u=o(43503),v=Array.prototype.splice;w.exports=function _(m){var l=this.__data__,t=u(l,m);return!(t<0||(t==l.length-1?l.pop():v.call(l,t,1),--this.size,0))}},54981:(w,k,o)=>{var u=o(43503);w.exports=function x(v){var _=this.__data__,m=u(_,v);return m<0?void 0:_[m][1]}},67343:(w,k,o)=>{var u=o(43503);w.exports=function x(v){return u(this.__data__,v)>-1}},98895:(w,k,o)=>{var u=o(43503);w.exports=function x(v,_){var m=this.__data__,l=u(m,v);return l<0?(++this.size,m.push([v,_])):m[l][1]=_,this}},10638:(w,k,o)=>{var u=o(54994),x=o(9215),v=o(51501);w.exports=function _(){this.size=0,this.__data__={hash:new u,map:new(v||x),string:new u}}},11184:(w,k,o)=>{var u=o(54537);w.exports=function x(v){var _=u(this,v).delete(v);return this.size-=_?1:0,_}},70866:(w,k,o)=>{var u=o(54537);w.exports=function x(v){return u(this,v).get(v)}},43771:(w,k,o)=>{var u=o(54537);w.exports=function x(v){return u(this,v).has(v)}},51772:(w,k,o)=>{var u=o(54537);w.exports=function x(v,_){var m=u(this,v),l=m.size;return m.set(v,_),this.size+=m.size==l?0:1,this}},83205:w=>{w.exports=function k(o){var u=-1,x=Array(o.size);return o.forEach(function(v,_){x[++u]=[_,v]}),x}},642:w=>{w.exports=function k(o,u){return function(x){return null!=x&&x[o]===u&&(void 0!==u||o in Object(x))}}},90719:(w,k,o)=>{var u=o(30535);w.exports=function v(_){var m=u(_,function(t){return 500===l.size&&l.clear(),t}),l=m.cache;return m}},60862:(w,k,o)=>{var x=o(53436)(Object,"create");w.exports=x},85491:(w,k,o)=>{var x=o(69385)(Object.keys,Object);w.exports=x},32158:w=>{w.exports=function k(o){var u=[];if(null!=o)for(var x in Object(o))u.push(x);return u}},73597:(w,k,o)=>{w=o.nmd(w);var u=o(79122),x=k&&!k.nodeType&&k,v=x&&w&&!w.nodeType&&w,m=v&&v.exports===x&&u.process,l=function(){try{return v&&v.require&&v.require("util").types||m&&m.binding&&m.binding("util")}catch(c){}}();w.exports=l},92902:w=>{var o=Object.prototype.toString;w.exports=function u(x){return o.call(x)}},69385:w=>{w.exports=function k(o,u){return function(x){return o(u(x))}}},53983:(w,k,o)=>{var u=o(26999),x=Math.max;w.exports=function v(_,m,l){return m=x(void 0===m?_.length-1:m,0),function(){for(var t=arguments,c=-1,h=x(t.length-m,0),g=Array(h);++c{var u=o(79122),x="object"==typeof self&&self&&self.Object===Object&&self,v=u||x||Function("return this")();w.exports=v},99351:w=>{w.exports=function k(o,u){if(("constructor"!==u||"function"!=typeof o[u])&&"__proto__"!=u)return o[u]}},4600:w=>{w.exports=function o(u){return this.__data__.set(u,"__lodash_hash_undefined__"),this}},31387:w=>{w.exports=function k(o){return this.__data__.has(o)}},24174:w=>{w.exports=function k(o){var u=-1,x=Array(o.size);return o.forEach(function(v){x[++u]=v}),x}},72185:(w,k,o)=>{var u=o(69510),v=o(10029)(u);w.exports=v},10029:w=>{var u=Date.now;w.exports=function x(v){var _=0,m=0;return function(){var l=u(),t=16-(l-m);if(m=l,t>0){if(++_>=800)return arguments[0]}else _=0;return v.apply(void 0,arguments)}}},13720:(w,k,o)=>{var u=o(9215);w.exports=function x(){this.__data__=new u,this.size=0}},64410:w=>{w.exports=function k(o){var u=this.__data__,x=u.delete(o);return this.size=u.size,x}},45576:w=>{w.exports=function k(o){return this.__data__.get(o)}},22247:w=>{w.exports=function k(o){return this.__data__.has(o)}},41585:(w,k,o)=>{var u=o(9215),x=o(51501),v=o(99850);w.exports=function m(l,t){var c=this.__data__;if(c instanceof u){var h=c.__data__;if(!x||h.length<199)return h.push([l,t]),this.size=++c.size,this;c=this.__data__=new v(h)}return c.set(l,t),this.size=c.size,this}},24977:w=>{w.exports=function k(o,u,x){for(var v=x-1,_=o.length;++v<_;)if(o[v]===u)return v;return-1}},52315:(w,k,o)=>{var u=o(75481),x=o(77609),v=o(81149);w.exports=function _(m){return x(m)?v(m):u(m)}},32855:(w,k,o)=>{var u=o(90719),x=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,v=/\\(\\)?/g,_=u(function(m){var l=[];return 46===m.charCodeAt(0)&&l.push(""),m.replace(x,function(t,c,h,g){l.push(h?g.replace(v,"$1"):c||t)}),l});w.exports=_},68533:(w,k,o)=>{var u=o(44129);w.exports=function v(_){if("string"==typeof _||u(_))return _;var m=_+"";return"0"==m&&1/_==-1/0?"-0":m}},52827:w=>{var o=Function.prototype.toString;w.exports=function u(x){if(null!=x){try{return o.call(x)}catch(v){}try{return x+""}catch(v){}}return""}},42760:w=>{var k=/\s/;w.exports=function o(u){for(var x=u.length;x--&&k.test(u.charAt(x)););return x}},81149:w=>{var k="\\ud800-\\udfff",m="["+k+"]",l="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",t="\\ud83c[\\udffb-\\udfff]",h="[^"+k+"]",g="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",C="(?:"+l+"|"+t+")?",A="[\\ufe0e\\ufe0f]?",N=A+C+"(?:\\u200d(?:"+[h,g,f].join("|")+")"+A+C+")*",P="(?:"+[h+l+"?",l,g,f,m].join("|")+")",R=RegExp(t+"(?="+t+")|"+P+N,"g");w.exports=function Z(H){for(var z=R.lastIndex=0;R.test(H);)++z;return z}},11094:(w,k,o)=>{var u=o(44462);w.exports=function v(_){return u(_,4)}},90733:(w,k,o)=>{var u=o(44462);w.exports=function _(m){return u(m,5)}},76684:w=>{w.exports=function k(o){return function(){return o}}},28800:(w,k,o)=>{var u=o(23269),x=o(20217),v=o(93342),_=o(16555),m=Object.prototype,l=m.hasOwnProperty,t=u(function(c,h){c=Object(c);var g=-1,f=h.length,p=f>2?h[2]:void 0;for(p&&v(h[0],h[1],p)&&(f=1);++g{w.exports=o(89851)},20217:w=>{w.exports=function k(o,u){return o===u||o!=o&&u!=u}},35281:(w,k,o)=>{var u=o(69779),x=o(33609),v=o(96517),_=o(21503);w.exports=function m(l,t){return(_(l)?u:x)(l,v(t,3))}},62516:(w,k,o)=>{var v=o(24653)(o(36397));w.exports=v},36397:(w,k,o)=>{var u=o(65317),x=o(96517),v=o(44401),_=Math.max;w.exports=function m(l,t,c){var h=null==l?0:l.length;if(!h)return-1;var g=null==c?0:v(c);return g<0&&(g=_(h+g,0)),u(l,x(t,3),g)}},22274:(w,k,o)=>{var u=o(50686);w.exports=function x(v){return null!=v&&v.length?u(v,1):[]}},89851:(w,k,o)=>{var u=o(96837),x=o(43132),v=o(21481),_=o(21503);w.exports=function m(l,t){return(_(l)?u:x)(l,v(t))}},41176:(w,k,o)=>{var u=o(30755),x=o(21481),v=o(16555);w.exports=function _(m,l){return null==m?m:u(m,x(l),v)}},8817:(w,k,o)=>{var u=o(15456);w.exports=function x(v,_,m){var l=null==v?void 0:u(v,_);return void 0===l?m:l}},54842:(w,k,o)=>{var u=o(84781),x=o(47283);w.exports=function v(_,m){return null!=_&&x(_,m,u)}},11172:(w,k,o)=>{var u=o(69989),x=o(47283);w.exports=function v(_,m){return null!=_&&x(_,m,u)}},32608:w=>{w.exports=function k(o){return o}},77151:(w,k,o)=>{var u=o(60186),x=o(72671),v=Object.prototype,_=v.hasOwnProperty,m=v.propertyIsEnumerable,l=u(function(){return arguments}())?u:function(t){return x(t)&&_.call(t,"callee")&&!m.call(t,"callee")};w.exports=l},21503:w=>{w.exports=Array.isArray},56507:(w,k,o)=>{var u=o(75946),x=o(96231);w.exports=function v(_){return null!=_&&x(_.length)&&!u(_)}},92377:(w,k,o)=>{var u=o(56507),x=o(72671);w.exports=function v(_){return x(_)&&u(_)}},80891:(w,k,o)=>{w=o.nmd(w);var u=o(12119),x=o(63580),v=k&&!k.nodeType&&k,_=v&&w&&!w.nodeType&&w,l=_&&_.exports===v?u.Buffer:void 0;w.exports=(l?l.isBuffer:void 0)||x},71973:(w,k,o)=>{var u=o(81172),x=o(28794),v=o(77151),_=o(21503),m=o(56507),l=o(80891),t=o(45488),c=o(48159),p=Object.prototype.hasOwnProperty;w.exports=function C(A){if(null==A)return!0;if(m(A)&&(_(A)||"string"==typeof A||"function"==typeof A.splice||l(A)||c(A)||v(A)))return!A.length;var L=x(A);if("[object Map]"==L||"[object Set]"==L)return!A.size;if(t(A))return!u(A).length;for(var N in A)if(p.call(A,N))return!1;return!0}},75946:(w,k,o)=>{var u=o(93337),x=o(25940);w.exports=function t(c){if(!x(c))return!1;var h=u(c);return"[object Function]"==h||"[object GeneratorFunction]"==h||"[object AsyncFunction]"==h||"[object Proxy]"==h}},96231:w=>{w.exports=function o(u){return"number"==typeof u&&u>-1&&u%1==0&&u<=9007199254740991}},13222:(w,k,o)=>{var u=o(97021),x=o(85647),v=o(73597),_=v&&v.isMap,m=_?x(_):u;w.exports=m},25940:w=>{w.exports=function k(o){var u=typeof o;return null!=o&&("object"==u||"function"==u)}},72671:w=>{w.exports=function k(o){return null!=o&&"object"==typeof o}},97614:(w,k,o)=>{var u=o(93337),x=o(29519),v=o(72671),t=Function.prototype.toString,c=Object.prototype.hasOwnProperty,h=t.call(Object);w.exports=function g(f){if(!v(f)||"[object Object]"!=u(f))return!1;var p=x(f);if(null===p)return!0;var C=c.call(p,"constructor")&&p.constructor;return"function"==typeof C&&C instanceof C&&t.call(C)==h}},90799:(w,k,o)=>{var u=o(771),x=o(85647),v=o(73597),_=v&&v.isSet,m=_?x(_):u;w.exports=m},30248:(w,k,o)=>{var u=o(93337),x=o(21503),v=o(72671);w.exports=function m(l){return"string"==typeof l||!x(l)&&v(l)&&"[object String]"==u(l)}},44129:(w,k,o)=>{var u=o(93337),x=o(72671);w.exports=function _(m){return"symbol"==typeof m||x(m)&&"[object Symbol]"==u(m)}},48159:(w,k,o)=>{var u=o(1083),x=o(85647),v=o(73597),_=v&&v.isTypedArray,m=_?x(_):u;w.exports=m},34235:w=>{w.exports=function k(o){return void 0===o}},118:(w,k,o)=>{var u=o(72271),x=o(81172),v=o(56507);w.exports=function _(m){return v(m)?u(m):x(m)}},16555:(w,k,o)=>{var u=o(72271),x=o(92809),v=o(56507);w.exports=function _(m){return v(m)?u(m,!0):x(m)}},25809:w=>{w.exports=function k(o){var u=null==o?0:o.length;return u?o[u-1]:void 0}},19984:(w,k,o)=>{var u=o(84633),x=o(96517),v=o(92046),_=o(21503);w.exports=function m(l,t){return(_(l)?u:v)(l,x(t,3))}},10203:(w,k,o)=>{var u=o(85683),x=o(45184),v=o(96517);w.exports=function _(m,l){var t={};return l=v(l,3),x(m,function(c,h,g){u(t,h,l(c,h,g))}),t}},18176:(w,k,o)=>{var u=o(67308),x=o(31100),v=o(32608);w.exports=function _(m){return m&&m.length?u(m,v,x):void 0}},30535:(w,k,o)=>{var u=o(99850);function v(_,m){if("function"!=typeof _||null!=m&&"function"!=typeof m)throw new TypeError("Expected a function");var l=function(){var t=arguments,c=m?m.apply(this,t):t[0],h=l.cache;if(h.has(c))return h.get(c);var g=_.apply(this,t);return l.cache=h.set(c,g)||h,g};return l.cache=new(v.Cache||u),l}v.Cache=u,w.exports=v},80567:(w,k,o)=>{var u=o(73842),v=o(84944)(function(_,m,l){u(_,m,l)});w.exports=v},29439:(w,k,o)=>{var u=o(67308),x=o(99069),v=o(32608);w.exports=function _(m){return m&&m.length?u(m,v,x):void 0}},29525:(w,k,o)=>{var u=o(67308),x=o(96517),v=o(99069);w.exports=function _(m,l){return m&&m.length?u(m,x(l,2),v):void 0}},12552:w=>{w.exports=function k(){}},31710:(w,k,o)=>{var u=o(12119);w.exports=function(){return u.Date.now()}},16372:(w,k,o)=>{var u=o(83021),v=o(3975)(function(_,m){return null==_?{}:u(_,m)});w.exports=v},87495:(w,k,o)=>{var u=o(11847),x=o(39222),v=o(45352),_=o(68533);w.exports=function m(l){return v(l)?u(_(l)):x(l)}},90361:(w,k,o)=>{var x=o(97509)();w.exports=x},81337:(w,k,o)=>{var u=o(8745),x=o(43132),v=o(96517),_=o(13570),m=o(21503);w.exports=function l(t,c,h){var g=m(t)?u:_,f=arguments.length<3;return g(t,v(c,4),h,f,x)}},55637:(w,k,o)=>{var u=o(81172),x=o(28794),v=o(56507),_=o(30248),m=o(52315);w.exports=function c(h){if(null==h)return 0;if(v(h))return _(h)?m(h):h.length;var g=x(h);return"[object Map]"==g||"[object Set]"==g?h.size:u(h).length}},12906:(w,k,o)=>{var u=o(50686),x=o(6119),v=o(23269),_=o(93342),m=v(function(l,t){if(null==l)return[];var c=t.length;return c>1&&_(l,t[0],t[1])?t=[]:c>2&&_(t[0],t[1],t[2])&&(t=[t[0]]),x(l,u(t,1),[])});w.exports=m},49975:w=>{w.exports=function k(){return[]}},63580:w=>{w.exports=function k(){return!1}},12232:(w,k,o)=>{var u=o(51467),x=1/0;w.exports=function _(m){return m?(m=u(m))===x||m===-x?17976931348623157e292*(m<0?-1:1):m==m?m:0:0===m?m:0}},44401:(w,k,o)=>{var u=o(12232);w.exports=function x(v){var _=u(v),m=_%1;return _==_?m?_-m:_:0}},51467:(w,k,o)=>{var u=o(83348),x=o(25940),v=o(44129),m=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,t=/^0o[0-7]+$/i,c=parseInt;w.exports=function h(g){if("number"==typeof g)return g;if(v(g))return NaN;if(x(g)){var f="function"==typeof g.valueOf?g.valueOf():g;g=x(f)?f+"":f}if("string"!=typeof g)return 0===g?g:+g;g=u(g);var p=l.test(g);return p||t.test(g)?c(g.slice(2),p?2:8):m.test(g)?NaN:+g}},8067:(w,k,o)=>{var u=o(31989),x=o(16555);w.exports=function v(_){return u(_,x(_))}},73943:(w,k,o)=>{var u=o(93935);w.exports=function x(v){return null==v?"":u(v)}},89416:(w,k,o)=>{var u=o(96837),x=o(78858),v=o(45184),_=o(96517),m=o(29519),l=o(21503),t=o(80891),c=o(75946),h=o(25940),g=o(48159);w.exports=function f(p,C,A){var L=l(p),N=L||t(p)||g(p);if(C=_(C,4),null==A){var P=p&&p.constructor;A=N?L?new P:[]:h(p)&&c(P)?x(m(p)):{}}return(N?u:v)(p,function(R,Z,H){return C(A,R,Z,H)}),A}},68921:(w,k,o)=>{var u=o(50686),x=o(23269),v=o(80707),_=o(92377),m=x(function(l){return v(u(l,1,_,!0))});w.exports=m},51541:(w,k,o)=>{var u=o(73943),x=0;w.exports=function v(_){var m=++x;return u(_)+m}},90377:(w,k,o)=>{var u=o(19179),x=o(118);w.exports=function v(_){return null==_?[]:u(_,x(_))}},21617:(w,k,o)=>{var u=o(89719),x=o(38645);w.exports=function v(_,m){return x(_||[],m||[],u)}},34315:(w,k,o)=>{"use strict";const u=Symbol.prototype.valueOf,x=o(52872);w.exports=function v(h,g){switch(x(h)){case"array":return h.slice();case"object":return Object.assign({},h);case"date":return new h.constructor(Number(h));case"map":return new Map(h);case"set":return new Set(h);case"buffer":return function t(h){const g=h.length,f=Buffer.allocUnsafe?Buffer.allocUnsafe(g):Buffer.from(g);return h.copy(f),f}(h);case"symbol":return function c(h){return u?Object(u.call(h)):{}}(h);case"arraybuffer":return function m(h){const g=new h.constructor(h.byteLength);return new Uint8Array(g).set(new Uint8Array(h)),g}(h);case"float32array":case"float64array":case"int16array":case"int32array":case"int8array":case"uint16array":case"uint32array":case"uint8clampedarray":case"uint8array":return function l(h,g){return new h.constructor(h.buffer,h.byteOffset,h.length)}(h);case"regexp":return function _(h){const g=void 0!==h.flags?h.flags:/\w+$/.exec(h)||void 0,f=new h.constructor(h.source,g);return f.lastIndex=h.lastIndex,f}(h);case"error":return Object.create(h);default:return h}}},67824:(w,k,o)=>{"use strict";function u(x){for(var v in x)k.hasOwnProperty(v)||(k[v]=x[v])}Object.defineProperty(k,"__esModule",{value:!0}),u(o(95085)),u(o(26243)),u(o(91786)),u(o(30225)),u(o(76767)),u(o(30345)),u(o(15675)),u(o(86461)),u(o(58802)),u(o(33900)),u(o(88866)),u(o(94655)),u(o(4068)),u(o(33858)),u(o(98237)),u(o(83292))},95085:function(w,k,o){"use strict";var m,u=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var g in h)h.hasOwnProperty(g)&&(c[g]=h[g])})(l,t)},function(l,t){function c(){this.constructor=l}m(l,t),l.prototype=null===t?Object.create(t):(c.prototype=t.prototype,new c)});Object.defineProperty(k,"__esModule",{value:!0});var x=o(15675),v=function(m){function l(t){var c=m.call(this)||this,g=t;return g.trigger&&(c.trigger=g.trigger),g.kick&&(c.kick=g.kick),g.drag&&(c.drag=g.drag),g.on&&(c.on=g.on),c.dragstart=c.dragStart=x.Layout.dragStart,c.dragend=c.dragEnd=x.Layout.dragEnd,c}return u(l,m),l.prototype.trigger=function(t){},l.prototype.kick=function(){},l.prototype.drag=function(){},l.prototype.on=function(t,c){return this},l}(x.Layout);k.LayoutAdaptor=v,k.adaptor=function _(m){return new v(m)}},83292:(w,k,o)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var u=o(15675),x=o(76767);k.gridify=function v(l,t,c,h){l.cola.start(0,0,0,10,!1);var g=function _(l,t,c,h){l.forEach(function(f){f.routerNode={name:f.name,bounds:f.bounds.inflate(-c)}}),t.forEach(function(f){f.routerNode={bounds:f.bounds.inflate(-h),children:(void 0!==f.groups?f.groups.map(function(p){return l.length+p.id}):[]).concat(void 0!==f.leaves?f.leaves.map(function(p){return p.index}):[])}});var g=l.concat(t).map(function(f,p){return f.routerNode.id=p,f.routerNode});return new x.GridRouter(g,{getChildren:function(f){return f.children},getBounds:function(f){return f.bounds}},c-h)}(l.cola.nodes(),l.cola.groups(),c,h);return g.routeEdges(l.powerGraph.powerEdges,t,function(f){return f.source.routerNode.id},function(f){return f.target.routerNode.id})},k.powerGraphGridLayout=function m(l,t,c){var h;l.nodes.forEach(function(C,A){return C.index=A}),(new u.Layout).avoidOverlaps(!1).nodes(l.nodes).links(l.links).powerGraphGroups(function(C){(h=C).groups.forEach(function(A){return A.padding=c})});var g=l.nodes.length,f=[],p=l.nodes.slice(0);return p.forEach(function(C,A){return C.index=A}),h.groups.forEach(function(C){var A=C.index=C.id+g;p.push(C),void 0!==C.leaves&&C.leaves.forEach(function(L){return f.push({source:A,target:L.index})}),void 0!==C.groups&&C.groups.forEach(function(L){return f.push({source:A,target:L.id+g})})}),h.powerEdges.forEach(function(C){f.push({source:C.source.index,target:C.target.index})}),(new u.Layout).size(t).nodes(p).links(f).avoidOverlaps(!1).linkDistance(30).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(100,0,0,0,!1),{cola:(new u.Layout).convergenceThreshold(.001).size(t).avoidOverlaps(!0).nodes(l.nodes).links(l.links).groupCompactness(1e-4).linkDistance(30).symmetricDiffLinkLengths(5).powerGraphGroups(function(C){(h=C).groups.forEach(function(A){A.padding=c})}).start(50,0,100,0,!1),powerGraph:h}}},26243:(w,k,o)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var u=o(49346),x=o(22487);k.d3adaptor=function v(m){return!m||function _(m){return m.version&&null!==m.version.match(/^3\./)}(m)?new u.D3StyleLayoutAdaptor:new x.D3StyleLayoutAdaptor(m)}},49346:function(w,k,o){"use strict";var m,u=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var g in h)h.hasOwnProperty(g)&&(c[g]=h[g])})(l,t)},function(l,t){function c(){this.constructor=l}m(l,t),l.prototype=null===t?Object.create(t):(c.prototype=t.prototype,new c)});Object.defineProperty(k,"__esModule",{value:!0});var x=o(15675),v=function(m){function l(){var t=m.call(this)||this;t.event=d3.dispatch(x.EventType[x.EventType.start],x.EventType[x.EventType.tick],x.EventType[x.EventType.end]);var c=t;return t.drag=function(){if(!g)var g=d3.behavior.drag().origin(x.Layout.dragOrigin).on("dragstart.d3adaptor",x.Layout.dragStart).on("drag.d3adaptor",function(f){x.Layout.drag(f,d3.event),c.resume()}).on("dragend.d3adaptor",x.Layout.dragEnd);if(!arguments.length)return g;this.call(g)},t}return u(l,m),l.prototype.trigger=function(t){var c={type:x.EventType[t.type],alpha:t.alpha,stress:t.stress};this.event[c.type](c)},l.prototype.kick=function(){var t=this;d3.timer(function(){return m.prototype.tick.call(t)})},l.prototype.on=function(t,c){return this.event.on("string"==typeof t?t:x.EventType[t],c),this},l}(x.Layout);k.D3StyleLayoutAdaptor=v,k.d3adaptor=function _(){return new v}},22487:function(w,k,o){"use strict";var _,u=this&&this.__extends||(_=function(m,l){return(_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,c){t.__proto__=c}||function(t,c){for(var h in c)c.hasOwnProperty(h)&&(t[h]=c[h])})(m,l)},function(m,l){function t(){this.constructor=m}_(m,l),m.prototype=null===l?Object.create(l):(t.prototype=l.prototype,new t)});Object.defineProperty(k,"__esModule",{value:!0});var x=o(15675),v=function(_){function m(l){var t=_.call(this)||this;t.d3Context=l,t.event=l.dispatch(x.EventType[x.EventType.start],x.EventType[x.EventType.tick],x.EventType[x.EventType.end]);var c=t;return t.drag=function(){if(!g)var g=l.drag().subject(x.Layout.dragOrigin).on("start.d3adaptor",x.Layout.dragStart).on("drag.d3adaptor",function(f){x.Layout.drag(f,l.event),c.resume()}).on("end.d3adaptor",x.Layout.dragEnd);if(!arguments.length)return g;arguments[0].call(g)},t}return u(m,_),m.prototype.trigger=function(l){var t={type:x.EventType[l.type],alpha:l.alpha,stress:l.stress};this.event.call(t.type,t)},m.prototype.kick=function(){var l=this,t=this.d3Context.timer(function(){return _.prototype.tick.call(l)&&t.stop()})},m.prototype.on=function(l,t){return this.event.on("string"==typeof l?l:x.EventType[l],t),this},m}(x.Layout);k.D3StyleLayoutAdaptor=v},91786:(w,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var o=function(){function v(){this.locks={}}return v.prototype.add=function(_,m){this.locks[_]=m},v.prototype.clear=function(){this.locks={}},v.prototype.isEmpty=function(){for(var _ in this.locks)return!1;return!0},v.prototype.apply=function(_){for(var m in this.locks)_(Number(m),this.locks[m])},v}();k.Locks=o;var u=function(){function v(_,m,l){void 0===l&&(l=null),this.D=m,this.G=l,this.threshold=1e-4,this.numGridSnapNodes=0,this.snapGridSize=100,this.snapStrength=1e3,this.scaleSnapByMaxH=!1,this.random=new x,this.project=null,this.x=_,this.k=_.length;var t=this.n=_[0].length;this.H=new Array(this.k),this.g=new Array(this.k),this.Hd=new Array(this.k),this.a=new Array(this.k),this.b=new Array(this.k),this.c=new Array(this.k),this.d=new Array(this.k),this.e=new Array(this.k),this.ia=new Array(this.k),this.ib=new Array(this.k),this.xtmp=new Array(this.k),this.locks=new o,this.minD=Number.MAX_VALUE;for(var h,c=t;c--;)for(h=t;--h>c;){var g=m[c][h];g>0&&g1e-9)break;var P=this.offsetDir();for(t=0;t1&&R>Z||!isFinite(Z)){for(t=0;t1&&(H=1);var z=Z*Z,tt=2*H*(R-Z)/(z*R),rt=R*R*R,ot=2*-H/(z*rt);for(isFinite(tt)||console.log(tt),t=0;t0?K-(G+1)*et:K-(G-1)*et)&&N<=J&&(this.scaleSnapByMaxH?(this.g[t][p]+=f*at*N,this.H[t][p][p]+=f*at):(this.g[t][p]+=at*N,this.H[t][p][p]+=at))}this.locks.isEmpty()||this.locks.apply(function(ft,It){for(t=0;t0;)for(var c=m;c-- >0;)l(t,c)},v.prototype.matrixApply=function(_){v.mApply(this.k,this.n,_)},v.prototype.computeNextPosition=function(_,m){var l=this;this.computeDerivatives(_);var t=this.computeStepSize(this.g);if(this.stepAndProject(_,m,this.g,t),this.project){this.matrixApply(function(h,g){return l.e[h][g]=_[h][g]-m[h][g]});var c=this.computeStepSize(this.e);c=Math.max(.2,Math.min(c,1)),this.stepAndProject(_,m,this.e,c)}},v.prototype.run=function(_){for(var m=Number.MAX_VALUE,l=!1;!l&&_-- >0;){var t=this.rungeKutta();l=Math.abs(m/t-1)>16)/this.range},v.prototype.getNextBetween=function(_,m){return _+this.getNext()*(m-_)},v}();k.PseudoRandom=x},30225:function(w,k,o){"use strict";var it,u=this&&this.__extends||(it=function(G,M){return(it=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ft,It){ft.__proto__=It}||function(ft,It){for(var Zt in It)It.hasOwnProperty(Zt)&&(ft[Zt]=It[Zt])})(G,M)},function(G,M){function ft(){this.constructor=G}it(G,M),G.prototype=null===M?Object.create(M):(ft.prototype=M.prototype,new ft)});Object.defineProperty(k,"__esModule",{value:!0});var x=o(4068),v=function it(){};k.Point=v;var _=function it(G,M,ft,It){this.x1=G,this.y1=M,this.x2=ft,this.y2=It};k.LineSegment=_;var m=function(it){function G(){return null!==it&&it.apply(this,arguments)||this}return u(G,it),G}(v);function l(it,G,M){return(G.x-it.x)*(M.y-it.y)-(M.x-it.x)*(G.y-it.y)}function t(it,G,M){return l(it,G,M)>0}function c(it,G,M){return l(it,G,M)<0}function C(it,G){var M=G.slice(0);return M.push(G[0]),{rtan:A(it,M),ltan:L(it,M)}}function A(it,G){var ft,It,Zt,ne,M=G.length-1;if(c(it,G[1],G[0])&&!t(it,G[M-1],G[0]))return 0;for(ft=0,It=M;;){if(It-ft==1)return t(it,G[ft],G[It])?ft:It;if((ne=c(it,G[(Zt=Math.floor((ft+It)/2))+1],G[Zt]))&&!t(it,G[Zt-1],G[Zt]))return Zt;t(it,G[ft+1],G[ft])?ne||t(it,G[ft],G[Zt])?It=Zt:ft=Zt:ne&&c(it,G[ft],G[Zt])?It=Zt:ft=Zt}}function L(it,G){var ft,It,Zt,ne,M=G.length-1;if(t(it,G[M-1],G[0])&&!c(it,G[1],G[0]))return 0;for(ft=0,It=M;;){if(It-ft==1)return c(it,G[ft],G[It])?ft:It;if(ne=c(it,G[(Zt=Math.floor((ft+It)/2))+1],G[Zt]),t(it,G[Zt-1],G[Zt])&&!ne)return Zt;c(it,G[ft+1],G[ft])?ne?c(it,G[ft],G[Zt])?It=Zt:ft=Zt:It=Zt:ne?ft=Zt:t(it,G[ft],G[Zt])?It=Zt:ft=Zt}}function N(it,G,M,ft,It,Zt){var Ht,ne;ne=ft(it[Ht=M(G[0],it)],G);for(var Ut=!1;!Ut;){for(Ut=!0;Ht===it.length-1&&(Ht=0),!It(G[ne],it[Ht],it[Ht+1]);)++Ht;for(;0===ne&&(ne=G.length-1),!Zt(it[Ht],G[ne],G[ne-1]);)--ne,Ut=!1}return{t1:Ht,t2:ne}}function R(it,G){return N(it,G,A,L,t,c)}k.PolyPoint=m,k.isLeft=l,k.ConvexHull=function h(it){var ft,G=it.slice(0).sort(function(Jt,ge){return Jt.x!==ge.x?ge.x-Jt.x:ge.y-Jt.y}),M=it.length,Zt=G[0].x;for(ft=1;ft=0&&G[ft].x===pt;ft--);for(Ut=ft+1,ft=Ht;++ft<=Ut;)if(!(l(G[0],G[Ut],G[ft])>=0&&ft1&&!(l(ne[ne.length-2],ne[ne.length-1],G[ft])>0);)ne.length-=1;0!=ft&&ne.push(G[ft])}xt!=Ut&&ne.push(G[xt]);var Nt=ne.length;for(ft=Ut;--ft>=Ht;)if(!(l(G[xt],G[Ht],G[ft])>=0&&ft>Ht)){for(;ne.length>Nt&&!(l(ne[ne.length-2],ne[ne.length-1],G[ft])>0);)ne.length-=1;0!=ft&&ne.push(G[ft])}}return ne},k.clockwiseRadialSweep=function g(it,G,M){G.slice(0).sort(function(ft,It){return Math.atan2(ft.y-it.y,ft.x-it.x)-Math.atan2(It.y-it.y,It.x-it.x)}).forEach(M)},k.tangent_PolyPolyC=N,k.LRtangent_PolyPolyC=function P(it,G){var M=R(G,it);return{t1:M.t2,t2:M.t1}},k.RLtangent_PolyPolyC=R,k.LLtangent_PolyPolyC=function Z(it,G){return N(it,G,L,L,c,c)},k.RRtangent_PolyPolyC=function H(it,G){return N(it,G,A,A,t,t)};var z=function it(G,M){this.t1=G,this.t2=M};k.BiTangent=z;var tt=function it(){};k.BiTangents=tt;var rt=function(it){function G(){return null!==it&&it.apply(this,arguments)||this}return u(G,it),G}(v);k.TVGPoint=rt;var ot=function it(G,M,ft,It){this.id=G,this.polyid=M,this.polyvertid=ft,this.p=It,It.vv=this};k.VisibilityVertex=ot;var J=function(){function it(G,M){this.source=G,this.target=M}return it.prototype.length=function(){var G=this.source.p.x-this.target.p.x,M=this.source.p.y-this.target.p.y;return Math.sqrt(G*G+M*M)},it}();k.VisibilityEdge=J;var et=function(){function it(G,M){if(this.P=G,this.V=[],this.E=[],M)this.V=M.V.slice(0),this.E=M.E.slice(0);else{for(var ft=G.length,It=0;It0&&this.E.push(new J(Zt[Ht-1].vv,Ut))}Zt.length>1&&this.E.push(new J(Zt[0].vv,Zt[Zt.length-1].vv))}for(It=0;It0)return!0;return!1},it}();function q(it,G){for(var M=[],ft=1,It=G.length;ft=0&&_e>=0&&Te<0&&Re>=0&&Tn>=0&&Fe<0?It.ll=new z(Zt,Ht):ge<=0&&_e<=0&&Te>0&&Re<=0&&Tn<=0&&Fe>0?It.rr=new z(Zt,Ht):ge<=0&&_e>0&&Te<=0&&Re>=0&&Tn<0&&Fe>=0?It.rl=new z(Zt,Ht):ge>=0&&_e<0&&Te>=0&&Re<=0&&Tn>0&&Fe<=0&&(It.lr=new z(Zt,Ht))}return It}function K(it,G){return!it.every(function(M){return!function Y(it,G){for(var M=1,ft=G.length;M0)return!0}return!1}},76767:(w,k,o)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var u=o(4068),x=o(98237),v=o(33858),_=function c(h,g,f){this.id=h,this.rect=g,this.children=f,this.leaf=void 0===f||0===f.length};k.NodeWrapper=_;var m=function c(h,g,f,p,C){void 0===p&&(p=null),void 0===C&&(C=null),this.id=h,this.x=g,this.y=f,this.node=p,this.line=C};k.Vert=m;var l=function(){function c(h,g){this.s=h,this.t=g;var f=c.findMatch(h,g),p=g.slice(0).reverse(),C=c.findMatch(h,p);f.length>=C.length?(this.length=f.length,this.si=f.si,this.ti=f.ti,this.reversed=!1):(this.length=C.length,this.si=C.si,this.ti=g.length-C.ti-C.length,this.reversed=!0)}return c.findMatch=function(h,g){for(var f=h.length,p=g.length,C={length:0,si:-1,ti:-1},A=new Array(f),L=0;LC.length&&(C.length=P,C.si=L-P+1,C.ti=N-P+1)}else A[L][N]=0}return C},c.prototype.getSequence=function(){return this.length>=0?this.s.slice(this.si,this.si+this.length):[]},c}();k.LongestCommonSubsequence=l;var t=function(){function c(h,g,f){var p=this;void 0===f&&(f=12),this.originalnodes=h,this.groupPadding=f,this.leaves=null,this.nodes=h.map(function(rt,ot){return new _(ot,g.getBounds(rt),g.getChildren(rt))}),this.leaves=this.nodes.filter(function(rt){return rt.leaf}),this.groups=this.nodes.filter(function(rt){return!rt.leaf}),this.cols=this.getGridLines("x"),this.rows=this.getGridLines("y"),this.groups.forEach(function(rt){return rt.children.forEach(function(ot){return p.nodes[ot].parent=rt})}),this.root={children:[]},this.nodes.forEach(function(rt){void 0===rt.parent&&(rt.parent=p.root,p.root.children.push(rt.id)),rt.ports=[]}),this.backToFront=this.nodes.slice(0),this.backToFront.sort(function(rt,ot){return p.getDepth(rt)-p.getDepth(ot)}),this.backToFront.slice(0).reverse().filter(function(rt){return!rt.leaf}).forEach(function(rt){var ot=u.Rectangle.empty();rt.children.forEach(function(J){return ot=ot.union(p.nodes[J].rect)}),rt.rect=ot.inflate(p.groupPadding)});var A=this.midPoints(this.cols.map(function(rt){return rt.pos})),L=this.midPoints(this.rows.map(function(rt){return rt.pos})),N=A[0],P=A[A.length-1],R=L[0],Z=L[L.length-1],H=this.rows.map(function(rt){return{x1:N,x2:P,y1:rt.pos,y2:rt.pos}}).concat(L.map(function(rt){return{x1:N,x2:P,y1:rt,y2:rt}})),z=this.cols.map(function(rt){return{x1:rt.pos,x2:rt.pos,y1:R,y2:Z}}).concat(A.map(function(rt){return{x1:rt,x2:rt,y1:R,y2:Z}})),tt=H.concat(z);tt.forEach(function(rt){return rt.verts=[]}),this.verts=[],this.edges=[],H.forEach(function(rt){return z.forEach(function(ot){var J=new m(p.verts.length,ot.x1,rt.y1);rt.verts.push(J),ot.verts.push(J),p.verts.push(J);for(var et=p.backToFront.length;et-- >0;){var q=p.backToFront[et],at=q.rect,Y=Math.abs(J.x-at.cx()),K=Math.abs(J.y-at.cy());if(Y0;){var p=f.filter(function(A){return A.rect["overlap"+h.toUpperCase()](f[0].rect)}),C={nodes:p,pos:this.avg(p.map(function(A){return A.rect["c"+h]()}))};g.push(C),C.nodes.forEach(function(A){return f.splice(f.indexOf(A),1)})}return g.sort(function(A,L){return A.pos-L.pos}),g},c.prototype.getDepth=function(h){for(var g=0;h.parent!==this.root;)g++,h=h.parent;return g},c.prototype.midPoints=function(h){for(var g=h[1]-h[0],f=[h[0]-g/2],p=1;p.1)&&R.push(Z={pos:N[0][g],segments:[]}),Z.segments.push(N)}return R},c.nudgeSegs=function(h,g,f,p,C,A){var L=p.length;if(!(L<=1)){for(var N=p.map(function(q){return new x.Variable(q[0][h])}),P=[],R=0;R=0&&P.push(new x.Constraint(N[ot],N[J],A))}new x.Solver(N,P).solve(),N.forEach(function(q,at){var Y=p[at],K=q.position();Y[0][h]=Y[1][h]=K;var ut=f[Y.edgeid];Y.i>0&&(ut[Y.i-1][1][h]=K),Y.iMath.PI||C<-Math.PI)&&(C=p-f),C},c.isLeft=function(h,g,f){return(g.x-h.x)*(f.y-h.y)-(g.y-h.y)*(f.x-h.x)<=0},c.getOrder=function(h){for(var g={},f=0;f=C.length||L.ti+L.length>=A.length)){g.push({l:f,r:p});continue}L.si+L.length>=C.length||L.ti+L.length>=A.length?(N=C[L.si+1],R=C[L.si-1],P=A[L.ti-1]):(N=C[L.si+L.length-2],P=C[L.si+L.length],R=A[L.ti+L.length]),c.isLeft(N,P,R)?g.push({l:p,r:f}):g.push({l:f,r:p})}}return c.getOrder(g)},c.makeSegments=function(h){function g(P){return{x:P.x,y:P.y}}for(var p=[],C=g(h[0]),A=1;A1&&it>1?1e3:0}).reverse().map(function(J){return f.verts[J]});return ot.push(this.nodes[C.id].ports[0]),ot.filter(function(J,et){return!(et0&&J.node===C&&ot[et-1].node===C)})},c.getRoutePath=function(h,g,f,p){var L,N,P,ut,it,C={routepath:"M "+h[0][0].x+" "+h[0][0].y+" ",arrowpath:""};if(h.length>1)for(var A=0;A0?N-=R/Math.abs(R)*g:P-=Z/Math.abs(Z)*g,C.routepath+="L "+N+" "+P+" ";var H=h[A+1],z=H[0].x,tt=H[0].y;R=H[1].x-z,Z=H[1].y-tt;var et,q,J=c.angleBetween2Lines(L,H)<0?1:0;Math.abs(R)>0?(et=z+R/Math.abs(R)*g,q=tt):(et=z,q=tt+Z/Math.abs(Z)*g);var at=Math.abs(et-N),Y=Math.abs(q-P);C.routepath+="A "+at+" "+Y+" 0 0 "+J+" "+et+" "+q+" "}else{var K=[N,P];Math.abs(R)>0?(ut=[N-=R/Math.abs(R)*p,P+f],it=[N,P-f]):(ut=[N+f,P-=Z/Math.abs(Z)*p],it=[N-f,P]),C.routepath+="L "+N+" "+P+" ",p>0&&(C.arrowpath="M "+K[0]+" "+K[1]+" L "+ut[0]+" "+ut[1]+" L "+it[0]+" "+it[1])}}else R=(N=(L=h[0])[1].x)-L[0].x,Z=(P=L[1].y)-L[0].y,K=[N,P],Math.abs(R)>0?(ut=[N-=R/Math.abs(R)*p,P+f],it=[N,P-f]):(ut=[N+f,P-=Z/Math.abs(Z)*p],it=[N-f,P]),C.routepath+="L "+N+" "+P+" ",p>0&&(C.arrowpath="M "+K[0]+" "+K[1]+" L "+ut[0]+" "+ut[1]+" L "+it[0]+" "+it[1]);return C},c}();k.GridRouter=t},30345:(w,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var o_GOLDEN_SECTION=(1+Math.sqrt(5))/2;k.applyPacking=function u(v,_,m,A,C,c){void 0===C&&(C=1),void 0===c&&(c=!0);var f=_,p=m,L=(C=void 0!==C?C:1,A=void 0!==A?A:0,0),N=0,P=0,R=0,Z=[];function rt(q,at){Z=[],L=0,N=0,R=0;for(var Y=0;Y=q.height&&Z[K].x+Z[K].width+q.width+10-at<=1e-4){Y=Z[K];break}Z.push(q),void 0!==Y?(q.x=Y.x+Y.width+10,q.y=Y.bottom,q.space_left=q.height,q.bottom=q.y,Y.space_left-=q.height+10,Y.bottom+=q.height+10):(q.y=R,R+=q.height+10,q.x=0,q.bottom=q.y,q.space_left=q.height),q.y+q.height-N>-1e-4&&(N=q.y+q.height-0),q.x+q.width-L>-1e-4&&(L=q.x+q.width-0)}0!=v.length&&(function H(q){q.forEach(function(Y){!function at(Y){var K=Number.MAX_VALUE,ut=Number.MAX_VALUE,it=0,G=0;Y.array.forEach(function(M){var ft=void 0!==M.width?M.width:A,It=void 0!==M.height?M.height:A;ft/=2,It/=2,it=Math.max(M.x+ft,it),K=Math.min(M.x-ft,K),G=Math.max(M.y+It,G),ut=Math.min(M.y-It,ut)}),Y.width=it-K,Y.height=G-ut}(Y)})}(v),function tt(q,at){var Y=Number.POSITIVE_INFINITY,K=0;q.sort(function(xt,pt){return pt.height-xt.height});for(var ut=ne=P=q.reduce(function(xt,pt){return xt.widthP||Ht>1e-4;){if(1!=It){var ne=it-(it-ut)/o_GOLDEN_SECTION;M=rt(q,ne)}if(0!=It){var Ut=ut+(it-ut)/o_GOLDEN_SECTION;ft=rt(q,Ut)}if(Zt=Math.abs(ne-Ut),Ht=Math.abs(M-ft),Mft?(ut=ne,ne=Ut,M=ft,It=1):(it=Ut,Ut=ne,ft=M,It=0),G++>100)break}rt(q,K)}(v),c&&function z(q){q.forEach(function(at){var Y={x:0,y:0};at.array.forEach(function(it){Y.x+=it.x,Y.y+=it.y}),Y.x/=at.array.length,Y.y/=at.array.length;var ut_x=at.x-(Y.x-at.width/2)+f/2-L/2,ut_y=at.y-(Y.y-at.height/2)+p/2-N/2;at.array.forEach(function(it){it.x+=ut_x,it.y+=ut_y})})}(v))},k.separateGraphs=function x(v,_){for(var m={},l={},t=[],c=0,h=0;h<_.length;h++){var g=_[h],f=g.source,p=g.target;l[f.index]?l[f.index].push(p):l[f.index]=[p],l[p.index]?l[p.index].push(f):l[p.index]=[f]}for(h=0;h{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var c,f,u=o(33900),x=o(58802),v=o(91786),_=o(4068),m=o(33858),l=o(30225),t=o(30345);function h(f){return void 0!==f.leaves||void 0!==f.groups}(f=c=k.EventType||(k.EventType={}))[f.start=0]="start",f[f.tick=1]="tick",f[f.end=2]="end";var g=function(){function f(){var p=this;this._canvasSize=[1,1],this._linkDistance=20,this._defaultNodeSize=10,this._linkLengthCalculator=null,this._linkType=null,this._avoidOverlaps=!1,this._handleDisconnected=!0,this._running=!1,this._nodes=[],this._groups=[],this._rootGroup=null,this._links=[],this._constraints=[],this._distanceMatrix=null,this._descent=null,this._directedLinkConstraints=null,this._threshold=.01,this._visibilityGraph=null,this._groupCompactness=1e-6,this.event=null,this.linkAccessor={getSourceIndex:f.getSourceIndex,getTargetIndex:f.getTargetIndex,setLength:f.setLinkLength,getType:function(C){return"function"==typeof p._linkType?p._linkType(C):0}}}return f.prototype.on=function(p,C){return this.event||(this.event={}),"string"==typeof p?this.event[c[p]]=C:this.event[p]=C,this},f.prototype.trigger=function(p){this.event&&void 0!==this.event[p.type]&&this.event[p.type](p)},f.prototype.kick=function(){for(;!this.tick(););},f.prototype.tick=function(){if(this._alpha0){var C=0;this._links.forEach(function(L){C=Math.max(C,L.source,L.target)}),this._nodes=new Array(++C);for(var A=0;A0?p:0:p>0&&(this._running||(this._running=!0,this.trigger({type:c.start,alpha:this._alpha=p}),this.kick())),this):this._alpha},f.prototype.getLinkLength=function(p){return"function"==typeof this._linkDistance?+this._linkDistance(p):this._linkDistance},f.setLinkLength=function(p,C){p.length=C},f.prototype.getLinkType=function(p){return"function"==typeof this._linkType?this._linkType(p):0},f.prototype.symmetricDiffLinkLengths=function(p,C){var A=this;return void 0===C&&(C=1),this.linkDistance(function(L){return p*L.length}),this._linkLengthCalculator=function(){return x.symmetricDiffLinkLengths(A._links,A.linkAccessor,C)},this},f.prototype.jaccardLinkLengths=function(p,C){var A=this;return void 0===C&&(C=1),this.linkDistance(function(L){return p*L.length}),this._linkLengthCalculator=function(){return x.jaccardLinkLengths(A._links,A.linkAccessor,C)},this},f.prototype.start=function(p,C,A,L,N,P){var R=this;void 0===p&&(p=0),void 0===C&&(C=0),void 0===A&&(A=0),void 0===L&&(L=0),void 0===N&&(N=!0),void 0===P&&(P=!0);var K,z=this.nodes().length,tt=z+2*this._groups.length,ot=this._canvasSize[0],J=this._canvasSize[1],et=new Array(tt),q=new Array(tt),at=null,Y=this._avoidOverlaps;this._nodes.forEach(function(Zt,Ht){Zt.index=Ht,void 0===Zt.x&&(Zt.x=ot/2,Zt.y=J/2),et[Ht]=Zt.x,q[Ht]=Zt.y}),this._linkLengthCalculator&&this._linkLengthCalculator(),this._distanceMatrix?K=this._distanceMatrix:(K=new m.Calculator(tt,this._links,f.getSourceIndex,f.getTargetIndex,function(Zt){return R.getLinkLength(Zt)}).DistanceMatrix(),at=v.Descent.createSquareMatrix(tt,function(){return 2}),this._links.forEach(function(Zt){"number"==typeof Zt.source&&(Zt.source=R._nodes[Zt.source]),"number"==typeof Zt.target&&(Zt.target=R._nodes[Zt.target])}),this._links.forEach(function(Zt){var Ht=f.getSourceIndex(Zt),ne=f.getTargetIndex(Zt);at[Ht][ne]=at[ne][Ht]=Zt.weight||1}));var ut=v.Descent.createSquareMatrix(tt,function(Zt,Ht){return K[Zt][Ht]});if(this._rootGroup&&void 0!==this._rootGroup.groups){var Z=z;this._groups.forEach(function(Ht){(function(Ht,ne,Ut,xt){at[Ht][ne]=at[ne][Ht]=Ut,ut[Ht][ne]=ut[ne][Ht]=.1})(Z,Z+1,R._groupCompactness),et[Z]=0,q[Z++]=0,et[Z]=0,q[Z++]=0})}else this._rootGroup={leaves:this._nodes,groups:[]};var G=this._constraints||[];for(this._directedLinkConstraints&&(this.linkAccessor.getMinSeparation=this._directedLinkConstraints.getMinSeparation,G=G.concat(x.generateDirectedEdgeConstraints(z,this._links,this._directedLinkConstraints.axis,this.linkAccessor))),this.avoidOverlaps(!1),this._descent=new v.Descent([et,q],ut),this._descent.locks.clear(),Z=0;Z0&&(this._descent.project=new _.Projection(this._nodes,this._groups,this._rootGroup,G).projectFunctions()),this._descent.run(C),this.separateOverlappingComponents(ot,J,P),this.avoidOverlaps(Y),Y&&(this._nodes.forEach(function(Zt,Ht){Zt.x=et[Ht],Zt.y=q[Ht]}),this._descent.project=new _.Projection(this._nodes,this._groups,this._rootGroup,G,!0).projectFunctions(),this._nodes.forEach(function(Zt,Ht){et[Ht]=Zt.x,q[Ht]=Zt.y})),this._descent.G=at,this._descent.run(A),L){this._descent.snapStrength=1e3,this._descent.snapGridSize=this._nodes[0].width,this._descent.numGridSnapNodes=z,this._descent.scaleSnapByMaxH=z!=tt;var It=v.Descent.createSquareMatrix(tt,function(Zt,Ht){return Zt>=z||Ht>=z?at[Zt][Ht]:0});this._descent.G=It,this._descent.run(L)}return this.updateNodePositions(),this.separateOverlappingComponents(ot,J,P),N?this.resume():this},f.prototype.initialLayout=function(p,C,A){if(this._groups.length>0&&p>0){var L=this._nodes.length,N=this._links.map(function(R){return{source:R.source.index,target:R.target.index}}),P=this._nodes.map(function(R){return{index:R.index}});this._groups.forEach(function(R,Z){P.push({index:R.index=L+Z})}),this._groups.forEach(function(R,Z){void 0!==R.leaves&&R.leaves.forEach(function(H){return N.push({source:R.index,target:H.index})}),void 0!==R.groups&&R.groups.forEach(function(H){return N.push({source:R.index,target:H.index})})}),(new f).size(this.size()).nodes(P).links(N).avoidOverlaps(!1).linkDistance(this.linkDistance()).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(p,0,0,0,!1),this._nodes.forEach(function(R){C[R.index]=P[R.index].x,A[R.index]=P[R.index].y})}else this._descent.run(p)},f.prototype.separateOverlappingComponents=function(p,C,A){var L=this;if(void 0===A&&(A=!0),!this._distanceMatrix&&this._handleDisconnected){var N=this._descent.x[0],P=this._descent.x[1];this._nodes.forEach(function(Z,H){Z.x=N[H],Z.y=P[H]});var R=t.separateGraphs(this._nodes,this._links);t.applyPacking(R,p,C,this._defaultNodeSize,1,A),this._nodes.forEach(function(Z,H){L._descent.x[0][H]=Z.x,L._descent.x[1][H]=Z.y,Z.bounds&&(Z.bounds.setXCentre(Z.x),Z.bounds.setYCentre(Z.y))})}},f.prototype.resume=function(){return this.alpha(.1)},f.prototype.stop=function(){return this.alpha(0)},f.prototype.prepareEdgeRouting=function(p){void 0===p&&(p=0),this._visibilityGraph=new l.TangentVisibilityGraph(this._nodes.map(function(C){return C.bounds.inflate(-p).vertices()}))},f.prototype.routeEdge=function(p,C,A){void 0===C&&(C=5);var L=[],N=new l.TangentVisibilityGraph(this._visibilityGraph.P,{V:this._visibilityGraph.V,E:this._visibilityGraph.E}),P={x:p.source.x,y:p.source.y},R={x:p.target.x,y:p.target.y},Z=N.addPoint(P,p.source.index),H=N.addPoint(R,p.target.index);N.addEdgeIfVisible(P,R,p.source.index,p.target.index),void 0!==A&&A(N);var J=new m.Calculator(N.V.length,N.E,function(ut){return ut.source.id},function(ut){return ut.target.id},function(ut){return ut.length()}).PathFromNodeToNode(Z.id,H.id);if(1===J.length||J.length===N.V.length){var et=_.makeEdgeBetween(p.source.innerBounds,p.target.innerBounds,C);L=[et.sourceIntersection,et.arrowStart]}else{for(var q=J.length-2,at=N.V[J[q]].p,Y=N.V[J[0]].p,K=(L=[p.source.innerBounds.rayIntersection(at.x,at.y)],q);K>=0;--K)L.push(N.V[J[K]].p);L.push(_.makeEdgeTo(Y,p.target.innerBounds,C))}return L},f.getSourceIndex=function(p){return"number"==typeof p.source?p.source:p.source.index},f.getTargetIndex=function(p){return"number"==typeof p.target?p.target:p.target.index},f.linkId=function(p){return f.getSourceIndex(p)+"-"+f.getTargetIndex(p)},f.dragStart=function(p){h(p)?f.storeOffset(p,f.dragOrigin(p)):(f.stopNode(p),p.fixed|=2)},f.stopNode=function(p){p.px=p.x,p.py=p.y},f.storeOffset=function(p,C){void 0!==p.leaves&&p.leaves.forEach(function(A){A.fixed|=2,f.stopNode(A),A._dragGroupOffsetX=A.x-C.x,A._dragGroupOffsetY=A.y-C.y}),void 0!==p.groups&&p.groups.forEach(function(A){return f.storeOffset(A,C)})},f.dragOrigin=function(p){return h(p)?{x:p.bounds.cx(),y:p.bounds.cy()}:p},f.drag=function(p,C){h(p)?(void 0!==p.leaves&&p.leaves.forEach(function(A){p.bounds.setXCentre(C.x),p.bounds.setYCentre(C.y),A.px=A._dragGroupOffsetX+C.x,A.py=A._dragGroupOffsetY+C.y}),void 0!==p.groups&&p.groups.forEach(function(A){return f.drag(A,C)})):(p.px=C.x,p.py=C.y)},f.dragEnd=function(p){h(p)?(void 0!==p.leaves&&p.leaves.forEach(function(C){f.dragEnd(C),delete C._dragGroupOffsetX,delete C._dragGroupOffsetY}),void 0!==p.groups&&p.groups.forEach(f.dragEnd)):p.fixed&=-7},f.mouseOver=function(p){p.fixed|=4,p.px=p.x,p.py=p.y},f.mouseOut=function(p){p.fixed&=-5},f}();k.Layout=g},86461:(w,k,o)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var u=o(33858),x=o(91786),v=o(4068),_=o(58802),m=function(){function h(g,f){this.source=g,this.target=f}return h.prototype.actualLength=function(g){var f=this;return Math.sqrt(g.reduce(function(p,C){var A=C[f.target]-C[f.source];return p+A*A},0))},h}();k.Link3D=m,k.Node3D=function h(g,f,p){void 0===g&&(g=0),void 0===f&&(f=0),void 0===p&&(p=0),this.x=g,this.y=f,this.z=p};var t=function(){function h(g,f,p){var C=this;void 0===p&&(p=1),this.nodes=g,this.links=f,this.idealLinkLength=p,this.constraints=null,this.useJaccardLinkLengths=!0,this.result=new Array(h.k);for(var A=0;A{"use strict";function o(c,h){var g={};for(var f in c)g[f]={};for(var f in h)g[f]={};return Object.keys(g).length}function u(c,h){var g=0;for(var f in c)void 0!==h[f]&&++g;return g}function v(c,h,g,f){var p=function x(c,h){var g={},f=function(p,C){void 0===g[p]&&(g[p]={}),g[p][C]={}};return c.forEach(function(p){var C=h.getSourceIndex(p),A=h.getTargetIndex(p);f(C,A),f(A,C)}),g}(c,f);c.forEach(function(C){var A=p[f.getSourceIndex(C)],L=p[f.getTargetIndex(C)];f.setLength(C,1+h*g(A,L))})}function t(c,h,g){var f=[],p=0,C=[],A=[];function L(J){J.index=J.lowlink=p++,C.push(J),J.onStack=!0;for(var et=0,q=J.out;et{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var o=function h(g,f,p){this.source=g,this.target=f,this.type=p};k.PowerEdge=o;var u=function(){function h(g,f,p,C){var A=this;if(this.linkAccessor=p,this.modules=new Array(g),this.roots=[],C)this.initModulesFromGroup(C);else{this.roots.push(new m);for(var L=0;L=this.R))return this.merge(p.a,p.b,g),!0}},h.prototype.nEdges=function(g,f){var p=g.incoming.intersection(f.incoming),C=g.outgoing.intersection(f.outgoing);return this.R-p.count()-C.count()},h.prototype.getGroupHierarchy=function(g){var f=this,p=[];return x(this.roots[0],{},p),this.allEdges().forEach(function(L){var N=f.modules[L.source],P=f.modules[L.target];g.push(new o(void 0===N.gid?L.source:p[N.gid],void 0===P.gid?L.target:p[P.gid],L.type))}),p},h.prototype.allEdges=function(){var g=[];return h.getEdges(this.roots[0],g),g},h.getEdges=function(g,f){g.forAll(function(p){p.getEdges(f),h.getEdges(p.children,f)})},h}();function x(h,g,f){h.forAll(function(p){if(p.isLeaf())g.leaves||(g.leaves=[]),g.leaves.push(p.id);else{var C=g;if(p.gid=f.length,!p.isIsland()||p.isPredefined()){if(C={id:p.gid},p.isPredefined())for(var A in p.definition)C[A]=p.definition[A];g.groups||(g.groups=[]),g.groups.push(p.gid),f.push(C)}x(p.children,C,f)}})}k.Configuration=u;var v=function(){function h(g,f,p,C,A){void 0===f&&(f=new l),void 0===p&&(p=new l),void 0===C&&(C=new m),this.id=g,this.outgoing=f,this.incoming=p,this.children=C,this.definition=A}return h.prototype.getEdges=function(g){var f=this;this.outgoing.forAll(function(p,C){p.forAll(function(A){g.push(new o(f.id,A.id,C))})})},h.prototype.isLeaf=function(){return 0===this.children.count()},h.prototype.isIsland=function(){return 0===this.outgoing.count()&&0===this.incoming.count()},h.prototype.isPredefined=function(){return void 0!==this.definition},h}();k.Module=v;var m=function(){function h(){this.table={}}return h.prototype.count=function(){return Object.keys(this.table).length},h.prototype.intersection=function(g){var f=new h;return f.table=function _(h,g){var f={};for(var p in h)p in g&&(f[p]=h[p]);return f}(this.table,g.table),f},h.prototype.intersectionCount=function(g){return this.intersection(g).count()},h.prototype.contains=function(g){return g in this.table},h.prototype.add=function(g){this.table[g.id]=g},h.prototype.remove=function(g){delete this.table[g.id]},h.prototype.forAll=function(g){for(var f in this.table)g(this.table[f])},h.prototype.modules=function(){var g=[];return this.forAll(function(f){f.isPredefined()||g.push(f)}),g},h}();k.ModuleSet=m;var l=function(){function h(){this.sets={},this.n=0}return h.prototype.count=function(){return this.n},h.prototype.contains=function(g){var f=!1;return this.forAllModules(function(p){!f&&p.id==g&&(f=!0)}),f},h.prototype.add=function(g,f){(g in this.sets?this.sets[g]:this.sets[g]=new m).add(f),++this.n},h.prototype.remove=function(g,f){var p=this.sets[g];p.remove(f),0===p.count()&&delete this.sets[g],--this.n},h.prototype.forAll=function(g){for(var f in this.sets)g(this.sets[f],Number(f))},h.prototype.forAllModules=function(g){this.forAll(function(f,p){return f.forAll(g)})},h.prototype.intersection=function(g){var f=new h;return this.forAll(function(p,C){if(C in g.sets){var A=p.intersection(g.sets[C]),L=A.count();L>0&&(f.sets[C]=A,f.n+=L)}}),f},h}();k.LinkSets=l,k.getGroups=function c(h,g,f,p){for(var A=new u(h.length,g,f,p);A.greedyMerge(););var L=[],N=A.getGroupHierarchy(L);return L.forEach(function(P){var R=function(Z){var H=P[Z];"number"==typeof H&&(P[Z]=h[H])};R("source"),R("target")}),{groups:N,powerEdges:L}}},88866:(w,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var o=function(){function x(v){this.elem=v,this.subheaps=[]}return x.prototype.toString=function(v){for(var _="",m=!1,l=0;l0)}return null}}return m.prototype.clear=function(){this._root=null,this.size=0},m.prototype.find=function(l){for(var t=this._root;null!==t;){var c=this._comparator(l,t.data);if(0===c)return t.data;t=t.get_child(c>0)}return null},m.prototype.lowerBound=function(l){return this._bound(l,this._comparator)},m.prototype.upperBound=function(l){var t=this._comparator;return this._bound(l,function c(h,g){return t(g,h)})},m.prototype.min=function(){var l=this._root;if(null===l)return null;for(;null!==l.left;)l=l.left;return l.data},m.prototype.max=function(){var l=this._root;if(null===l)return null;for(;null!==l.right;)l=l.right;return l.data},m.prototype.iterator=function(){return new x(this)},m.prototype.each=function(l){for(var c,t=this.iterator();null!==(c=t.next());)l(c)},m.prototype.reach=function(l){for(var c,t=this.iterator();null!==(c=t.prev());)l(c)},m.prototype._bound=function(l,t){for(var c=this._root,h=this.iterator();null!==c;){var g=this._comparator(l,c.data);if(0===g)return h._cursor=c,h;h._ancestors.push(c),c=c.get_child(g>0)}for(var f=h._ancestors.length-1;f>=0;--f)if(t(l,(c=h._ancestors[f]).data)>0)return h._cursor=c,h._ancestors.length=f,h;return h._ancestors.length=0,h},m}();k.TreeBase=u;var x=function(){function m(l){this._tree=l,this._ancestors=[],this._cursor=null}return m.prototype.data=function(){return null!==this._cursor?this._cursor.data:null},m.prototype.next=function(){if(null===this._cursor){var l=this._tree._root;null!==l&&this._minNode(l)}else if(null===this._cursor.right){var t;do{if(t=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.right===t)}else this._ancestors.push(this._cursor),this._minNode(this._cursor.right);return null!==this._cursor?this._cursor.data:null},m.prototype.prev=function(){if(null===this._cursor){var l=this._tree._root;null!==l&&this._maxNode(l)}else if(null===this._cursor.left){var t;do{if(t=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.left===t)}else this._ancestors.push(this._cursor),this._maxNode(this._cursor.left);return null!==this._cursor?this._cursor.data:null},m.prototype._minNode=function(l){for(;null!==l.left;)this._ancestors.push(l),l=l.left;this._cursor=l},m.prototype._maxNode=function(l){for(;null!==l.right;)this._ancestors.push(l),l=l.right;this._cursor=l},m}();k.Iterator=x;var v=function(){function m(l){this.data=l,this.left=null,this.right=null,this.red=!0}return m.prototype.get_child=function(l){return l?this.right:this.left},m.prototype.set_child=function(l,t){l?this.right=t:this.left=t},m}(),_=function(m){function l(t){var c=m.call(this)||this;return c._root=null,c._comparator=t,c.size=0,c}return o(l,m),l.prototype.insert=function(t){var c=!1;if(null===this._root)this._root=new v(t),c=!0,this.size++;else{var h=new v(void 0),g=!1,f=!1,p=null,C=h,A=null,L=this._root;for(C.right=this._root;;){if(null===L?(L=new v(t),A.set_child(g,L),c=!0,this.size++):l.is_red(L.left)&&l.is_red(L.right)&&(L.red=!0,L.left.red=!1,L.right.red=!1),l.is_red(L)&&l.is_red(A)){var N=C.right===p;L===A.get_child(f)?C.set_child(N,l.single_rotate(p,!f)):C.set_child(N,l.double_rotate(p,!f))}var P=this._comparator(L.data,t);if(0===P)break;f=g,null!==p&&(C=p),p=A,A=L,L=L.get_child(g=P<0)}this._root=h.right}return this._root.red=!1,c},l.prototype.remove=function(t){if(null===this._root)return!1;var c=new v(void 0),h=c;h.right=this._root;for(var g=null,f=null,p=null,C=!0;null!==h.get_child(C);){var A=C;f=g,g=h,h=h.get_child(C);var L=this._comparator(t,h.data);if(C=L>0,0===L&&(p=h),!l.is_red(h)&&!l.is_red(h.get_child(C)))if(l.is_red(h.get_child(!C))){var N=l.single_rotate(h,C);g.set_child(A,N),g=N}else if(!l.is_red(h.get_child(!C))){var P=g.get_child(!A);if(null!==P)if(l.is_red(P.get_child(!A))||l.is_red(P.get_child(A))){var R=f.right===g;l.is_red(P.get_child(A))?f.set_child(R,l.double_rotate(g,A)):l.is_red(P.get_child(!A))&&f.set_child(R,l.single_rotate(g,A));var Z=f.get_child(R);Z.red=!0,h.red=!0,Z.left.red=!1,Z.right.red=!1}else g.red=!1,P.red=!0,h.red=!0}}return null!==p&&(p.data=h.data,g.set_child(g.right===h,h.get_child(null===h.left)),this.size--),this._root=c.right,null!==this._root&&(this._root.red=!1),null!==p},l.is_red=function(t){return null!==t&&t.red},l.single_rotate=function(t,c){var h=t.get_child(!c);return t.set_child(!c,h.get_child(c)),h.set_child(c,t),t.red=!0,h.red=!1,h},l.double_rotate=function(t,c){return t.set_child(!c,l.single_rotate(t.get_child(!c),!c)),l.single_rotate(t,c)},l}(u);k.RBTree=_},4068:function(w,k,o){"use strict";var J,u=this&&this.__extends||(J=function(et,q){return(J=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(at,Y){at.__proto__=Y}||function(at,Y){for(var K in Y)Y.hasOwnProperty(K)&&(at[K]=Y[K])})(et,q)},function(et,q){function at(){this.constructor=et}J(et,q),et.prototype=null===q?Object.create(q):(at.prototype=q.prototype,new at)});Object.defineProperty(k,"__esModule",{value:!0});var x=o(98237),v=o(94655);function _(J){return J.bounds=void 0!==J.leaves?J.leaves.reduce(function(et,q){return q.bounds.union(et)},m.empty()):m.empty(),void 0!==J.groups&&(J.bounds=J.groups.reduce(function(et,q){return _(q).union(et)},J.bounds)),J.bounds=J.bounds.inflate(J.padding),J.bounds}k.computeGroupBounds=_;var m=function(){function J(et,q,at,Y){this.x=et,this.X=q,this.y=at,this.Y=Y}return J.empty=function(){return new J(Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY)},J.prototype.cx=function(){return(this.x+this.X)/2},J.prototype.cy=function(){return(this.y+this.Y)/2},J.prototype.overlapX=function(et){var q=this.cx(),at=et.cx();return q<=at&&et.x0?at[0]:null},J.prototype.vertices=function(){return[{x:this.x,y:this.y},{x:this.X,y:this.y},{x:this.X,y:this.Y},{x:this.x,y:this.Y}]},J.lineIntersection=function(et,q,at,Y,K,ut,it,G){var M=at-et,ft=it-K,It=Y-q,Zt=G-ut,Ht=Zt*M-ft*It;if(0==Ht)return null;var ne=et-K,Ut=q-ut,pt=(ft*Ut-Zt*ne)/Ht,Jt=(M*Ut-It*ne)/Ht;return pt>=0&&pt<=1&&Jt>=0&&Jt<=1?{x:et+pt*M,y:q+pt*It}:null},J.prototype.inflate=function(et){return new J(this.x-et,this.X+et,this.y-et,this.Y+et)},J}();k.Rectangle=m,k.makeEdgeBetween=function l(J,et,q){var at=J.rayIntersection(et.cx(),et.cy())||{x:J.cx(),y:J.cy()},Y=et.rayIntersection(J.cx(),J.cy())||{x:et.cx(),y:et.cy()},K=Y.x-at.x,ut=Y.y-at.y,it=Math.sqrt(K*K+ut*ut),G=it-q;return{sourceIntersection:at,targetIntersection:Y,arrowStart:{x:at.x+G*K/it,y:at.y+G*ut/it}}},k.makeEdgeTo=function t(J,et,q){var at=et.rayIntersection(J.x,J.y);at||(at={x:et.cx(),y:et.cy()});var Y=at.x-J.x,K=at.y-J.y,ut=Math.sqrt(Y*Y+K*K);return{x:at.x-q*Y/ut,y:at.y-q*K/ut}};var c=function J(et,q,at){this.v=et,this.r=q,this.pos=at,this.prev=f(),this.next=f()},h=function J(et,q,at){this.isOpen=et,this.v=q,this.pos=at};function g(J,et){return J.pos>et.pos?1:J.pos0&&(J[at].insert(K),K[Y].insert(J))};q("next","prev"),q("prev","next")}};function A(J,et,q,at){void 0===at&&(at=!1);var Y=J.padding,K=void 0!==J.groups?J.groups.length:0,ut=void 0!==J.leaves?J.leaves.length:0,it=K?J.groups.reduce(function(_e,Te){return _e.concat(A(Te,et,q,!0))},[]):[],G=(at?2:0)+ut+K,M=new Array(G),ft=new Array(G),It=0,Zt=function(_e,Te){ft[It]=_e,M[It++]=Te};if(at){var Ht=J.bounds,ne=et.getCentre(Ht),Ut=et.getSize(Ht)/2,xt=et.getOpen(Ht),pt=et.getClose(Ht),Nt=ne-Ut+Y/2,Jt=ne+Ut-Y/2;J.minVar.desiredPosition=Nt,Zt(et.makeRect(xt,pt,Nt,Y),J.minVar),J.maxVar.desiredPosition=Jt,Zt(et.makeRect(xt,pt,Jt,Y),J.maxVar)}ut&&J.leaves.forEach(function(_e){return Zt(_e.bounds,_e.variable)}),K&&J.groups.forEach(function(_e){var Te=_e.bounds;Zt(et.makeRect(et.getOpen(Te),et.getClose(Te),et.getCentre(Te),et.getSize(Te)),_e.minVar)});var ge=L(ft,M,et,q);return K&&(M.forEach(function(_e){_e.cOut=[],_e.cIn=[]}),ge.forEach(function(_e){_e.left.cOut.push(_e),_e.right.cIn.push(_e)}),J.groups.forEach(function(_e){var Te=(_e.padding-et.getSize(_e.bounds))/2;_e.minVar.cIn.forEach(function(Re){return Re.gap+=Te}),_e.minVar.cOut.forEach(function(Re){Re.left=_e.maxVar,Re.gap+=Te})})),it.concat(ge)}function L(J,et,q,at){var Y,K=J.length,ut=2*K;console.assert(et.length>=K);var it=new Array(ut);for(Y=0;Yit[at]&&(it[at]=G)}ut=it})}},J.prototype.createAlignment=function(et){var q=this,at=this.nodes[et.offsets[0].node].variable;this.makeFeasible(et);var Y="x"===et.axis?this.xConstraints:this.yConstraints;et.offsets.slice(1).forEach(function(K){Y.push(new x.Constraint(at,q.nodes[K.node].variable,K.offset,!0))})},J.prototype.createConstraints=function(et){var q=this,at=function(Y){return void 0===Y.type||"separation"===Y.type};this.xConstraints=et.filter(function(Y){return"x"===Y.axis&&at(Y)}).map(function(Y){return q.createSeparation(Y)}),this.yConstraints=et.filter(function(Y){return"y"===Y.axis&&at(Y)}).map(function(Y){return q.createSeparation(Y)}),et.filter(function(Y){return"alignment"===Y.type}).forEach(function(Y){return q.createAlignment(Y)})},J.prototype.setupVariablesAndBounds=function(et,q,at,Y){this.nodes.forEach(function(K,ut){K.fixed?(K.variable.weight=K.fixedWeight?K.fixedWeight:1e3,at[ut]=Y(K)):K.variable.weight=1;var it=(K.width||0)/2,G=(K.height||0)/2,M=et[ut],ft=q[ut];K.bounds=new m(M-it,M+it,ft-G,ft+G)})},J.prototype.xProject=function(et,q,at){!this.rootGroup&&!this.avoidOverlaps&&!this.xConstraints||this.project(et,q,et,at,function(Y){return Y.px},this.xConstraints,H,function(Y){return Y.bounds.setXCentre(at[Y.variable.index]=Y.variable.position())},function(Y){var K=at[Y.minVar.index]=Y.minVar.position(),ut=at[Y.maxVar.index]=Y.maxVar.position(),it=Y.padding/2;Y.bounds.x=K-it,Y.bounds.X=ut+it})},J.prototype.yProject=function(et,q,at){!this.rootGroup&&!this.yConstraints||this.project(et,q,q,at,function(Y){return Y.py},this.yConstraints,z,function(Y){return Y.bounds.setYCentre(at[Y.variable.index]=Y.variable.position())},function(Y){var K=at[Y.minVar.index]=Y.minVar.position(),ut=at[Y.maxVar.index]=Y.maxVar.position(),it=Y.padding/2;Y.bounds.y=K-it,Y.bounds.Y=ut+it})},J.prototype.projectFunctions=function(){var et=this;return[function(q,at,Y){return et.xProject(q,at,Y)},function(q,at,Y){return et.yProject(q,at,Y)}]},J.prototype.project=function(et,q,at,Y,K,ut,it,G,M){this.setupVariablesAndBounds(et,q,Y,K),this.rootGroup&&this.avoidOverlaps&&(_(this.rootGroup),ut=ut.concat(it(this.rootGroup))),this.solve(this.variables,ut,at,Y),this.nodes.forEach(G),this.rootGroup&&this.avoidOverlaps&&(this.groups.forEach(M),_(this.rootGroup))},J.prototype.solve=function(et,q,at,Y){var K=new x.Solver(et,q);K.setStartingPositions(at),K.setDesiredPositions(Y),K.solve()},J}();k.Projection=ot},33858:(w,k,o)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var u=o(88866),x=function l(t,c){this.id=t,this.distance=c},v=function l(t){this.id=t,this.neighbours=[]},_=function l(t,c,h){this.node=t,this.prev=c,this.d=h},m=function(){function l(t,c,h,g,f){this.n=t,this.es=c,this.neighbours=new Array(this.n);for(var p=this.n;p--;)this.neighbours[p]=new v(p);for(p=this.es.length;p--;){var C=this.es[p],A=h(C),L=g(C),N=f(C);this.neighbours[A].neighbours.push(new x(L,N)),this.neighbours[L].neighbours.push(new x(A,N))}}return l.prototype.DistanceMatrix=function(){for(var t=new Array(this.n),c=0;cP&&(L.d=P,L.prev=C,h.reduceKey(L.q,L,function(Z,H){return Z.q=H}))}}return f},l}();k.Calculator=m},98237:(w,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var o=function(){function t(c){this.scale=c,this.AB=0,this.AD=0,this.A2=0}return t.prototype.addVariable=function(c){var h=this.scale/c.scale,f=c.weight;this.AB+=f*h*(c.offset/c.scale),this.AD+=f*h*c.desiredPosition,this.A2+=f*h*h},t.prototype.getPosn=function(){return(this.AD-this.AB)/this.A2},t}();k.PositionStats=o;var u=function(){function t(c,h,g,f){void 0===f&&(f=!1),this.left=c,this.right=h,this.gap=g,this.equality=f,this.active=!1,this.unsatisfiable=!1,this.left=c,this.right=h,this.gap=g,this.equality=f}return t.prototype.slack=function(){return this.unsatisfiable?Number.MAX_VALUE:this.right.scale*this.right.position()-this.gap-this.left.scale*this.left.position()},t}();k.Constraint=u;var x=function(){function t(c,h,g){void 0===h&&(h=1),void 0===g&&(g=1),this.desiredPosition=c,this.weight=h,this.scale=g,this.offset=0}return t.prototype.dfdv=function(){return 2*this.weight*(this.position()-this.desiredPosition)},t.prototype.position=function(){return(this.block.ps.scale*this.block.posn+this.offset)/this.scale},t.prototype.visitNeighbours=function(c,h){var g=function(f,p){return f.active&&c!==p&&h(f,p)};this.cOut.forEach(function(f){return g(f,f.right)}),this.cIn.forEach(function(f){return g(f,f.left)})},t}();k.Variable=x;var v=function(){function t(c){this.vars=[],c.offset=0,this.ps=new o(c.scale),this.addVariable(c)}return t.prototype.addVariable=function(c){c.block=this,this.vars.push(c),this.ps.addVariable(c),this.posn=this.ps.getPosn()},t.prototype.updateWeightedPosition=function(){this.ps.AB=this.ps.AD=this.ps.A2=0;for(var c=0,h=this.vars.length;c=0?this.inactive.push(c):this.bs.merge(c)}}},t.prototype.solve=function(){this.satisfy();for(var c=Number.MAX_VALUE,h=this.bs.cost();Math.abs(c-h)>1e-4;)this.satisfy(),c=h,h=this.bs.cost();return h},t.LAGRANGIAN_TOLERANCE=-1e-4,t.ZERO_UPPERBOUND=-1e-10,t}();k.Solver=m,k.removeOverlapInOneDimension=function l(t,c,h){for(var g=t.map(function(rt){return new x(rt.desiredCenter)}),f=[],p=t.length,C=0;C{s.d(x,{A:()=>A});var l=s(36769),h=s(5e3),L=s(30325);let A=(()=>{class n{constructor(){}prepareRoute(a){return a&&a.activatedRouteData&&a.activatedRouteData.animation}}return n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=h.Xpm({type:n,selectors:[["app-animated-router-outlet"]],decls:3,vars:0,consts:[["outlet","outlet"]],template:function(a,D){1&a&&(h.TgZ(0,"div"),h._UZ(1,"router-outlet",null,0),h.qZA())},directives:[L.lC],styles:[""],data:{animation:[l.Ji]}}),n})()},71103:(W,x,s)=>{s.d(x,{n:()=>b});var l=s(48966),h=s(20449),L=s(36908),A=s(9315),n=s(10036),a=(s(387),s(5e3)),D=s(51062),t=s(7434),w=s(69808),Z=s(98380),N=s(20773),B=s(53984),S=s(47423);const U=["list"];function y(f,v){1&f&&(a.TgZ(0,"app-alert",10),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&f&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE.ERROR_EMPTY_VALUE")," "))}function E(f,v){1&f&&a._UZ(0,"mat-spinner",11)}function R(f,v){if(1&f&&a._UZ(0,"perun-web-apps-attributes-list",12,13),2&f){const p=a.oxw();a.Q6J("tableId",p.tableId)("attributes",p.attributes)("filterValue",p.filterValue)("inDialog",!0)("emptyListText","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY_ATTRIBUTES")("selection",p.selected)}}let b=(()=>{class f{constructor(p,T,u,C,I){this.dialogRef=p,this.data=T,this.attributesManager=u,this.notificator=C,this.translate=I,this.attributes=[],this.selected=new h.Ov(!0,[]),this.showError=!1,this.filterValue="",this.tableId=n.rF,this.translate.get("DIALOGS.CREATE_ATTRIBUTE.SUCCESS_SAVE").subscribe(F=>this.saveSuccessMessage=F)}ngOnInit(){const p=new Array;let T,u,C,I,F,k,J,K;switch(this.data.notEmptyAttributes.forEach(Y=>{p.push(Y.id)}),this.data.entity){case"member":T=this.data.entityId;break;case"user":u=this.data.entityId;break;case"vo":C=this.data.entityId;break;case"group":I=this.data.entityId;break;case"resource":F=this.data.entityId;break;case"facility":k=this.data.entityId;break;case"host":J=this.data.entityId;break;case"ues":K=this.data.entityId}switch(this.data.secondEntity){case"member":T=this.data.secondEntityId;break;case"user":u=this.data.secondEntityId;break;case"vo":C=this.data.secondEntityId;break;case"group":I=this.data.secondEntityId;break;case"resource":F=this.data.secondEntityId;break;case"facility":k=this.data.secondEntityId;break;case"host":J=this.data.secondEntityId;break;case"ues":K=this.data.secondEntityId}this.loading=!0,this.attributesManager.getAttributesDefinitionWithRights(T,u,C,I,F,k,J,K).subscribe(Y=>{this.attributes=Y,this.attributes=this.attributes.filter(Q=>!p.includes(Q.id)&&this.twoEntityValid(Q)),this.loading=!1})}onCancel(){this.dialogRef.close()}onSave(){this.list.updateMapAttributes();let p=!1;for(const T of this.selected.selected)"java.util.ArrayList"===T.type&&0===T.value.length&&(p=!0),void 0===T.value&&(p=!0);if(p)return this.showError=!0,void setTimeout(()=>{this.showError=!1},5e3);switch(this.data.entity){case"facility":this.attributesManager.setFacilityAttributes({facility:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"group":"resource"===this.data.secondEntity?this.attributesManager.setGroupResourceAttributes({group:this.data.entityId,resource:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()}):this.attributesManager.setGroupAttributes({group:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"member":switch(this.data.secondEntity){case"resource":this.attributesManager.setMemberResourceAttributes({member:this.data.entityId,resource:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"group":this.attributesManager.setMemberGroupAttributes({member:this.data.entityId,group:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;default:this.attributesManager.setMemberAttributes({member:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()})}break;case"resource":this.attributesManager.setResourceAttributes({resource:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"user":"facility"===this.data.secondEntity?this.attributesManager.setUserFacilityAttributes({user:this.data.entityId,facility:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()}):this.attributesManager.setUserAttributes({user:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"vo":this.attributesManager.setVoAttributes({vo:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"host":this.attributesManager.setHostAttributes({host:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"ues":this.attributesManager.setUserExtSourceAttributes({userExtSource:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()})}}applyFilter(p){this.filterValue=p}handleSuccess(){this.notificator.showSuccess(this.saveSuccessMessage),this.selected.clear(),this.dialogRef.close("saved")}twoEntityValid(p){return!this.data.secondEntity||p.entity===`${this.data.entity}_${this.data.secondEntity}`}}return f.\u0275fac=function(p){return new(p||f)(a.Y36(l.so),a.Y36(l.WI),a.Y36(A.H8),a.Y36(L.V6),a.Y36(D.sK))},f.\u0275cmp=a.Xpm({type:f,selectors:[["app-create-attribute-dialog"]],viewQuery:function(p,T){if(1&p&&a.Gf(U,5),2&p){let u;a.iGM(u=a.CRH())&&(T.list=u.first)}},decls:17,vars:17,consts:[["mat-dialog-title",""],[1,"page-subtitle"],["data-cy","filter-attributes",1,"font-size-1rem",3,"placeholder","filter"],["class","ml-3 font-size-1rem","alert_type","error",4,"ngIf"],["mat-dialog-content",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","attributes","filterValue","inDialog","emptyListText","selection",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","data-cy","save-selected-attributes","mat-flat-button","",1,"ml-2",3,"disabled","click"],["alert_type","error",1,"ml-3","font-size-1rem"],[1,"ml-auto","mr-auto"],[3,"tableId","attributes","filterValue","inDialog","emptyListText","selection"],["list",""]],template:function(p,T){1&p&&(a.TgZ(0,"div"),a.TgZ(1,"div",0),a.TgZ(2,"h1",1),a._uU(3),a.ALo(4,"translate"),a.qZA(),a.TgZ(5,"perun-web-apps-immediate-filter",2),a.NdJ("filter",function(C){return T.applyFilter(C)}),a.qZA(),a.YNc(6,y,3,3,"app-alert",3),a.qZA(),a.TgZ(7,"div",4),a.YNc(8,E,1,0,"mat-spinner",5),a.YNc(9,R,2,6,"perun-web-apps-attributes-list",6),a.qZA(),a.TgZ(10,"div",7),a.TgZ(11,"button",8),a.NdJ("click",function(){return T.onCancel()}),a._uU(12),a.ALo(13,"translate"),a.qZA(),a.TgZ(14,"button",9),a.NdJ("click",function(){return T.onSave()}),a._uU(15),a.ALo(16,"translate"),a.qZA(),a.qZA(),a.qZA()),2&p&&(a.Tol(T.data.style),a.xp6(3),a.Oqu(a.lcZ(4,11,"DIALOGS.CREATE_ATTRIBUTE.SET_NEW")),a.xp6(2),a.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),a.xp6(1),a.Q6J("ngIf",T.showError),a.xp6(2),a.Q6J("ngIf",T.loading),a.xp6(1),a.Q6J("ngIf",!T.loading),a.xp6(3),a.hij(" ",a.lcZ(13,13,"DIALOGS.CREATE_ATTRIBUTE.CANCEL")," "),a.xp6(2),a.Q6J("disabled",0===T.selected.selected.length),a.xp6(1),a.hij(" ",a.lcZ(16,15,"DIALOGS.CREATE_ATTRIBUTE.SAVE")," "))},directives:[l.uh,t.L,w.O5,Z.w,l.xY,N.$g,B.p,l.H8,S.lW],pipes:[D.X$],styles:[".font-size-1rem[_ngcontent-%COMP%]{font-size:1rem!important}"]}),f})()},61365:(W,x,s)=>{s.d(x,{k:()=>y});var l=s(48966),h=s(32075),L=s(36908),A=s(9315),n=s(5e3),e=s(51062),a=s(69808),D=s(20773),t=s(47423);function w(E,R){1&E&&n._UZ(0,"mat-spinner",6)}function Z(E,R){1&E&&n._UZ(0,"th",15)}function N(E,R){if(1&E&&(n.TgZ(0,"td",16),n._uU(1),n.qZA()),2&E){const b=R.$implicit;n.xp6(1),n.Oqu(b.displayName)}}function B(E,R){1&E&&n._UZ(0,"tr",17)}function S(E,R){1&E&&n._UZ(0,"tr",18)}function U(E,R){if(1&E&&(n.TgZ(0,"div",7),n.TgZ(1,"div"),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"div",8),n._uU(5),n.ALo(6,"translate"),n.qZA(),n.TgZ(7,"table",9),n.ynx(8,10),n.YNc(9,Z,1,0,"th",11),n.YNc(10,N,2,1,"td",12),n.BQk(),n.YNc(11,B,1,0,"tr",13),n.YNc(12,S,1,0,"tr",14),n.qZA(),n.qZA()),2&E){const b=n.oxw();n.xp6(2),n.hij(" ",n.lcZ(3,5,"DIALOGS.DELETE_ATTRIBUTES.DESCRIPTION")," "),n.xp6(3),n.hij(" ",n.lcZ(6,7,"DIALOGS.DELETE_ATTRIBUTES.ASK")," "),n.xp6(2),n.Q6J("dataSource",b.dataSource),n.xp6(4),n.Q6J("matHeaderRowDef",b.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",b.displayedColumns)}}let y=(()=>{class E{constructor(b,f,v,p,T){this.dialogRef=b,this.data=f,this.notificator=v,this.translate=p,this.attributesManager=T,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.dataSource=new h.by(this.data.attributes),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){const b=[];for(const v of this.data.attributes)b.push(v.id);const f={};switch(f[this.data.entity]=this.data.entityId,f.attributes=b,void 0!==this.data.secondEntity&&(f[this.data.secondEntity]=this.data.secondEntityId),this.loading=!0,this.data.entity){case"vo":this.attributesManager.removeVoAttributes(this.data.entityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"group":"resource"===this.data.secondEntity?this.attributesManager.removeGroupResourceAttributes(this.data.entityId,this.data.secondEntityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1):this.attributesManager.removeGroupAttributes(this.data.entityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"user":"facility"===this.data.secondEntity?this.attributesManager.removeUserFacilityAttributes(this.data.entityId,this.data.secondEntityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1):this.attributesManager.removeUserAttributes(this.data.entityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"member":switch(this.data.secondEntity){case"resource":this.attributesManager.removeMemberResourceAttributes(this.data.entityId,this.data.secondEntityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"group":this.attributesManager.removeMemberGroupAttributes(this.data.entityId,this.data.secondEntityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;default:this.attributesManager.removeMemberAttributes(this.data.entityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1)}break;case"facility":this.attributesManager.removeFacilityAttributes(this.data.entityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"host":this.attributesManager.removeHostAttributes(this.data.entityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"ues":this.attributesManager.removeUesAttributes(this.data.entityId,b).subscribe(()=>{this.onSuccess()});break;case"resource":this.attributesManager.removeResourceAttributes(this.data.entityId,b).subscribe(()=>this.onSuccess())}}onSuccess(){this.translate.get("DIALOGS.DELETE_ATTRIBUTES.SUCCESS").subscribe(b=>{this.notificator.showSuccess(b),this.dialogRef.close(!0)})}}return E.\u0275fac=function(b){return new(b||E)(n.Y36(l.so),n.Y36(l.WI),n.Y36(L.V6),n.Y36(e.sK),n.Y36(A.H8))},E.\u0275cmp=n.Xpm({type:E,selectors:[["app-delete-attribute-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-attributes",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(b,f){1&b&&(n.TgZ(0,"div"),n.TgZ(1,"h1",0),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.YNc(4,w,1,0,"mat-spinner",1),n.YNc(5,U,13,9,"div",2),n.TgZ(6,"div",3),n.TgZ(7,"button",4),n.NdJ("click",function(){return f.onCancel()}),n._uU(8),n.ALo(9,"translate"),n.qZA(),n.TgZ(10,"button",5),n.NdJ("click",function(){return f.onSubmit()}),n._uU(11),n.ALo(12,"translate"),n.qZA(),n.qZA(),n.qZA()),2&b&&(n.Tol(f.theme),n.xp6(2),n.Oqu(n.lcZ(3,9,"DIALOGS.DELETE_ATTRIBUTES.TITLE")),n.xp6(2),n.Q6J("ngIf",f.loading),n.xp6(1),n.Q6J("ngIf",!f.loading),n.xp6(3),n.hij(" ",n.lcZ(9,11,"DIALOGS.DELETE_ATTRIBUTES.CANCEL")," "),n.xp6(2),n.Q6J("disabled",f.loading),n.xp6(1),n.hij(" ",n.lcZ(12,13,"DIALOGS.DELETE_ATTRIBUTES.DELETE")," "))},directives:[l.uh,a.O5,D.$g,l.xY,h.BZ,h.w1,h.fO,h.ge,h.Dz,h.ev,h.as,h.XQ,h.nj,h.Gk,l.H8,t.lW],pipes:[e.X$],styles:[""]}),E})()},12651:(W,x,s)=>{s.d(x,{t:()=>v});var l=s(9315),h=s(20449),L=s(9244),A=s(71103),n=s(84379),e=s(61365),D=(s(387),s(10036)),t=s(5e3),w=s(48966),Z=s(96214),N=s(47423),B=s(7434),S=s(69808),U=s(20773),y=s(53984),E=s(51062);const R=["list"];function b(p,T){1&p&&t._UZ(0,"mat-spinner",7)}function f(p,T){if(1&p&&t._UZ(0,"perun-web-apps-attributes-list",8,9),2&p){const u=t.oxw();t.Q6J("tableId",u.tableId)("filterValue",u.filterValue)("attributes",u.attributes)("selection",u.selection)}}let v=(()=>{class p{constructor(u,C){this.attributesManagerService=u,this.dialog=C,this.attributes=[],this.selection=new h.Ov(!0,[]),this.filterValue="",this.tableId=D.rF,this.loading=!1}ngOnInit(){this.refreshTable()}refreshTable(){switch(this.loading=!0,this.entity){case"member":this.attributesManagerService.getMemberAttributes(this.entityId).subscribe(u=>{this.attributes=u,this.selection.clear(),this.loading=!1});break;case"group":this.attributesManagerService.getGroupAttributes(this.entityId).subscribe(u=>{this.attributes=u,this.selection.clear(),this.loading=!1});break;case"user":this.attributesManagerService.getUserAttributes(this.entityId).subscribe(u=>{this.attributes=u,this.selection.clear(),this.loading=!1});break;case"resource":this.attributesManagerService.getResourceAttributes(this.entityId).subscribe(u=>{this.attributes=u,this.selection.clear(),this.loading=!1});break;case"facility":this.attributesManagerService.getFacilityAttributes(this.entityId).subscribe(u=>{this.attributes=u,this.selection.clear(),this.loading=!1});break;case"vo":this.attributesManagerService.getVoAttributes(this.entityId).subscribe(u=>{this.attributes=u,this.selection.clear(),this.loading=!1})}}applyFilter(u){this.filterValue=u}onCreate(){const u=(0,L.kZ)();u.width="1050px",u.data={entityId:this.entityId,entity:this.entity,notEmptyAttributes:this.attributes,style:this.entity+"-theme"},this.dialog.open(A.n,u).afterClosed().subscribe(I=>{I&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const u=(0,L.kZ)();u.width="450px",u.data={entityId:this.entityId,entity:this.entity,attributes:this.selection.selected},this.dialog.open(n.wA,u).afterClosed().subscribe(I=>{I&&this.refreshTable()})}onDelete(){const u=(0,L.kZ)();u.width="450px",u.data={entityId:this.entityId,entity:this.entity,attributes:this.selection.selected},this.dialog.open(e.k,u).afterClosed().subscribe(I=>{I&&this.refreshTable()})}}return p.\u0275fac=function(u){return new(u||p)(t.Y36(l.H8),t.Y36(w.uw))},p.\u0275cmp=t.Xpm({type:p,selectors:[["app-one-entity-attribute-page"]],viewQuery:function(u,C){if(1&u&&t.Gf(R,5),2&u){let I;t.iGM(I=t.CRH())&&(C.list=I.first)}},inputs:{entity:"entity",entityId:"entityId"},decls:13,vars:14,consts:[[1,"mt-2",3,"refresh"],["mat-flat-button","","color","accent","data-cy","add-attributes",1,"mr-2","mt-2","action-button",3,"click"],["mat-flat-button","","color","accent",1,"mr-2","mt-2",3,"disabled","click"],["color","warn","mat-flat-button","","data-cy","remove-attributes",1,"mt-2","mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","attributes","selection",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","attributes","selection"],["list",""]],template:function(u,C){1&u&&(t.TgZ(0,"perun-web-apps-refresh-button",0),t.NdJ("refresh",function(){return C.refreshTable()}),t.qZA(),t.TgZ(1,"button",1),t.NdJ("click",function(){return C.onCreate()}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"button",2),t.NdJ("click",function(){return C.onSave()}),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"button",3),t.NdJ("click",function(){return C.onDelete()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(F){return C.applyFilter(F)}),t.qZA(),t.YNc(11,b,1,0,"mat-spinner",5),t.YNc(12,f,2,4,"perun-web-apps-attributes-list",6)),2&u&&(t.xp6(2),t.hij(" ",t.lcZ(3,8,"USER_DETAIL.SETTINGS.ATTRIBUTES.CREATE"),"\n"),t.xp6(2),t.Q6J("disabled",0===C.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(6,10,"USER_DETAIL.SETTINGS.ATTRIBUTES.SAVE"),"\n"),t.xp6(2),t.Q6J("disabled",0===C.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(9,12,"USER_DETAIL.SETTINGS.ATTRIBUTES.DELETE"),"\n"),t.xp6(2),t.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),t.xp6(1),t.Q6J("ngIf",C.loading),t.xp6(1),t.Q6J("ngIf",!C.loading))},directives:[Z.t,N.lW,B.L,S.O5,U.$g,y.p],pipes:[E.X$],styles:[""]}),p})()},19191:(W,x,s)=>{s.d(x,{Y:()=>z});var l=s(9315),L=(s(387),s(20449)),A=s(61365),n=s(9244),e=s(84379),a=s(71103),D=s(64080),t=s(5e3),w=s(48966),Z=s(69808),N=s(20773),B=s(98380),S=s(82322),U=s(45703),y=s(42377),E=s(51062);let R=(()=>{class _{constructor(){this.memberSelected=new t.vpe,this.memberFullNameFunction=i=>(0,n.bD)(i.user)}ngOnInit(){this.members=this.members.sort(n.fx)}}return _.\u0275fac=function(i){return new(i||_)},_.\u0275cmp=t.Xpm({type:_,selectors:[["perun-web-apps-member-search-select"]],inputs:{members:"members"},outputs:{memberSelected:"memberSelected"},decls:4,vars:12,consts:[[3,"entities","searchFunction","mainTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(i,c){1&i&&(t.TgZ(0,"perun-web-apps-entity-search-select",0),t.NdJ("entitySelected",function(O){return c.memberSelected.emit(O)}),t.ALo(1,"translate"),t.ALo(2,"translate"),t.ALo(3,"translate"),t.qZA()),2&i&&t.Q6J("entities",c.members)("searchFunction",c.memberFullNameFunction)("mainTextFunction",c.memberFullNameFunction)("selectPlaceholder",t.lcZ(1,6,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.SELECT_MEMBER"))("findPlaceholder",t.lcZ(2,8,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.FIND_MEMBER"))("noEntriesText",t.lcZ(3,10,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.NO_MEMBER_FOUND"))},directives:[y.i],pipes:[E.X$],styles:[""]}),_})(),b=(()=>{class _{constructor(){this.facilitySelected=new t.vpe,this.nameFunction=i=>i.name}ngOnInit(){this.facilities=this.facilities.sort(n.aC)}}return _.\u0275fac=function(i){return new(i||_)},_.\u0275cmp=t.Xpm({type:_,selectors:[["perun-web-apps-facility-search-select"]],inputs:{facilities:"facilities"},outputs:{facilitySelected:"facilitySelected"},decls:4,vars:12,consts:[[3,"entities","searchFunction","mainTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(i,c){1&i&&(t.TgZ(0,"perun-web-apps-entity-search-select",0),t.NdJ("entitySelected",function(O){return c.facilitySelected.emit(O)}),t.ALo(1,"translate"),t.ALo(2,"translate"),t.ALo(3,"translate"),t.qZA()),2&i&&t.Q6J("entities",c.facilities)("searchFunction",c.nameFunction)("mainTextFunction",c.nameFunction)("selectPlaceholder",t.lcZ(1,6,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.SELECT_FACILITY"))("findPlaceholder",t.lcZ(2,8,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.FIND_FACILITY"))("noEntriesText",t.lcZ(3,10,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.NO_FACILITY_FOUND"))},directives:[y.i],pipes:[E.X$],styles:[""]}),_})();var f=s(74250),v=s(96214),p=s(47423),T=s(7434),u=s(53984);const C=["list"];function I(_,M){1&_&&t._UZ(0,"mat-spinner",4)}function F(_,M){if(1&_&&(t.TgZ(0,"app-alert",5),t._uU(1),t.qZA()),2&_){const i=t.oxw();t.xp6(1),t.Oqu(i.noEntityMessage)}}function k(_,M){if(1&_){const i=t.EpF();t.TgZ(0,"perun-web-apps-group-search-select",18),t.NdJ("groupSelected",function(d){return t.CHM(i),t.oxw(2).specifySecondEntity(d)}),t.qZA()}if(2&_){const i=t.oxw(2);t.Q6J("groups",i.entityValues)("firstSelectedGroup",i.specificSecondEntity)("displayStatus",!0)}}function J(_,M){if(1&_){const i=t.EpF();t.TgZ(0,"perun-web-apps-resource-search-select",19),t.NdJ("resourceSelected",function(d){return t.CHM(i),t.oxw(2).specifySecondEntity(d)}),t.qZA()}if(2&_){const i=t.oxw(2);t.Q6J("resources",i.entityValues)}}function K(_,M){if(1&_){const i=t.EpF();t.TgZ(0,"perun-web-apps-member-search-select",20),t.NdJ("memberSelected",function(d){return t.CHM(i),t.oxw(2).specifySecondEntity(d)}),t.qZA()}if(2&_){const i=t.oxw(2);t.Q6J("members",i.entityValues)}}function Y(_,M){if(1&_){const i=t.EpF();t.TgZ(0,"perun-web-apps-facility-search-select",21),t.NdJ("facilitySelected",function(d){return t.CHM(i),t.oxw(2).specifySecondEntity(d)}),t.qZA()}if(2&_){const i=t.oxw(2);t.Q6J("facilities",i.entityValues)}}function Q(_,M){if(1&_){const i=t.EpF();t.TgZ(0,"perun-web-apps-user-search-select",22),t.NdJ("userSelected",function(d){return t.CHM(i),t.oxw(2).specifySecondEntity(d)}),t.qZA()}if(2&_){const i=t.oxw(2);t.Q6J("users",i.entityValues)}}function H(_,M){1&_&&t._UZ(0,"mat-spinner",4)}function G(_,M){if(1&_&&t._UZ(0,"perun-web-apps-attributes-list",23,24),2&_){const i=t.oxw(2);t.Q6J("attributes",i.attributes)("filterValue",i.filterValue)("selection",i.selection)}}function $(_,M){if(1&_){const i=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",6),t.YNc(2,k,1,3,"perun-web-apps-group-search-select",7),t.YNc(3,J,1,1,"perun-web-apps-resource-search-select",8),t.YNc(4,K,1,1,"perun-web-apps-member-search-select",9),t.YNc(5,Y,1,1,"perun-web-apps-facility-search-select",10),t.YNc(6,Q,1,1,"perun-web-apps-user-search-select",11),t.qZA(),t.TgZ(7,"perun-web-apps-refresh-button",12),t.NdJ("refresh",function(){t.CHM(i);const d=t.oxw();return d.getAttributes(d.specificSecondEntity.id)}),t.qZA(),t.TgZ(8,"button",13),t.NdJ("click",function(){t.CHM(i);const d=t.oxw();return d.onAdd(d.specificSecondEntity.id)}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"button",14),t.NdJ("click",function(){t.CHM(i);const d=t.oxw();return d.onSave(d.specificSecondEntity.id)}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"button",15),t.NdJ("click",function(){t.CHM(i);const d=t.oxw();return d.onDelete(d.specificSecondEntity.id)}),t._uU(15),t.ALo(16,"translate"),t.qZA(),t.TgZ(17,"perun-web-apps-immediate-filter",16),t.NdJ("filter",function(d){return t.CHM(i),t.oxw().applyFilter(d)}),t.qZA(),t.YNc(18,H,1,0,"mat-spinner",1),t.YNc(19,G,2,3,"perun-web-apps-attributes-list",17),t.qZA()}if(2&_){const i=t.oxw();t.xp6(2),t.Q6J("ngIf","group"===i.secondEntity),t.xp6(1),t.Q6J("ngIf","resource"===i.secondEntity),t.xp6(1),t.Q6J("ngIf","member"===i.secondEntity),t.xp6(1),t.Q6J("ngIf","facility"===i.secondEntity),t.xp6(1),t.Q6J("ngIf","user"===i.secondEntity),t.xp6(3),t.hij(" ",t.lcZ(10,13,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "),t.xp6(2),t.Q6J("disabled",0===i.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(13,15,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," "),t.xp6(2),t.Q6J("disabled",0===i.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(16,17,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," "),t.xp6(2),t.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),t.xp6(1),t.Q6J("ngIf",i.innerLoading),t.xp6(1),t.Q6J("ngIf",!i.innerLoading)}}let z=(()=>{class _{constructor(i,c,d,O,o,g){this.attributesManagerService=i,this.resourcesManagerService=c,this.facilitiesManagerService=d,this.groupsManagerService=O,this.membersManager=o,this.dialog=g,this.entityValues=[],this.attributes=[],this.selection=new L.Ov(!0,[]),this.allowedStatuses=["INVALID","VALID"],this.loading=!1,this.innerLoading=!1,this.filterValue=""}ngOnInit(){this.loadEntityValues(),this.setMessages(this.secondEntity.toLowerCase())}loadEntityValues(){switch(this.loading=!0,this.firstEntity){case"member":switch(this.secondEntity){case"resource":this.resourcesManagerService.getAssignedResourcesWithStatus(this.firstEntityId).subscribe(i=>{this.entityValues=i.map(c=>c.enrichedResource.resource),this.preselectEntity(),this.loading=!1});break;case"group":this.groupsManagerService.getMemberGroups(this.firstEntityId).subscribe(i=>{this.entityValues=i,this.preselectEntity(),this.loading=!1})}break;case"group":switch(this.secondEntity){case"resource":this.resourcesManagerService.getResourceAssignments(this.firstEntityId).subscribe(i=>{this.entityValues=i.map(c=>{const d=c.enrichedResource.resource;return d.status=c.status,d}),this.preselectEntity(),this.loading=!1});break;case"member":this.membersManager.getCompleteRichMembersForGroup(this.firstEntityId,!1,this.allowedStatuses,null,[D.r.MEMBER_CORE_ID]).subscribe(i=>{this.entityValues=i,this.preselectEntity(),this.loading=!1})}break;case"user":this.facilitiesManagerService.getAssignedFacilitiesByUser(this.firstEntityId).subscribe(i=>{this.entityValues=i,this.preselectEntity(),this.loading=!1});break;case"resource":switch(this.secondEntity){case"member":this.resourcesManagerService.getAssignedMembersWithStatus(this.firstEntityId).subscribe(i=>{this.entityValues=i.map(c=>c.richMember),this.preselectEntity(),this.loading=!1});break;case"group":this.resourcesManagerService.getGroupAssignments(this.firstEntityId).subscribe(i=>{this.entityValues=i.map(c=>{const d=c.enrichedGroup.group;return d.status=c.status,d}),this.preselectEntity(),this.loading=!1})}break;case"facility":this.facilitiesManagerService.getAssignedUsers(this.firstEntityId).subscribe(i=>{this.entityValues=i,this.preselectEntity(),this.loading=!1})}}preselectEntity(){0!==this.entityValues.length&&this.findInitiallySelectedEntity()}findInitiallySelectedEntity(){let i=this.entityValues[0];const c=(0,n.vL)(this.entityKey());if(c)for(const d of this.entityValues)if(d.id===c[0]){i=d;break}this.specifySecondEntity(i)}entityKey(){return"group"===this.secondEntity?"groups":""}getAttributes(i){switch(this.innerLoading=!0,this.firstEntity){case"member":switch(this.secondEntity){case"resource":this.attributesManagerService.getMemberResourceAttributes(this.firstEntityId,i).subscribe(c=>{this.attributes=c,this.innerLoading=!1});break;case"group":this.attributesManagerService.getMemberGroupAttributes(this.firstEntityId,i).subscribe(c=>{this.attributes=c,this.innerLoading=!1})}break;case"group":switch(this.secondEntity){case"resource":this.attributesManagerService.getGroupResourceAttributes(this.firstEntityId,i).subscribe(c=>{this.attributes=c,this.innerLoading=!1});break;case"member":this.attributesManagerService.getMemberGroupAttributes(i,this.firstEntityId).subscribe(c=>{this.attributes=c,this.innerLoading=!1})}break;case"user":this.attributesManagerService.getUserFacilityAttributes(this.firstEntityId,i).subscribe(c=>{this.attributes=c,this.innerLoading=!1});break;case"resource":switch(this.secondEntity){case"member":this.attributesManagerService.getMemberResourceAttributes(i,this.firstEntityId).subscribe(c=>{this.attributes=c,this.innerLoading=!1});break;case"group":this.attributesManagerService.getGroupResourceAttributes(i,this.firstEntityId).subscribe(c=>{this.attributes=c,this.innerLoading=!1})}break;case"facility":this.attributesManagerService.getUserFacilityAttributes(i,this.firstEntityId).subscribe(c=>{this.attributes=c,this.innerLoading=!1})}}setMessages(i){this.noEntityMessage=`No ${i} assigned`}onSave(i){this.list.updateMapAttributes();const c=(0,n.kZ)();c.width="450px",c.data={entityId:this.firstEntityId,entity:this.firstEntity,secondEntity:this.secondEntity,secondEntityId:i,attributes:this.selection.selected},this.dialog.open(e.wA,c).afterClosed().subscribe(O=>{O&&(this.selection.clear(),this.getAttributes(i))})}onDelete(i){const c=(0,n.kZ)();c.width="450px",c.data={entityId:this.firstEntityId,entity:this.firstEntity,secondEntity:this.secondEntity,secondEntityId:i,attributes:this.selection.selected,theme:`${this.firstEntity}-theme`},this.dialog.open(A.k,c).afterClosed().subscribe(O=>{O&&(this.selection.clear(),this.getAttributes(i))})}onAdd(i){const c=(0,n.kZ)();c.width="1050px",c.data={entityId:this.firstEntityId,entity:this.firstEntity,secondEntity:this.secondEntity,secondEntityId:i,notEmptyAttributes:this.attributes,style:`${this.firstEntity}-theme`},this.dialog.open(a.n,c).afterClosed().subscribe(O=>{O&&(this.selection.clear(),this.getAttributes(i))})}specifySecondEntity(i){i&&(this.specificSecondEntity=i,this.getAttributes(this.specificSecondEntity.id))}applyFilter(i){this.filterValue=i}}return _.\u0275fac=function(i){return new(i||_)(t.Y36(l.H8),t.Y36(l.xk),t.Y36(l.IQ),t.Y36(l.ff),t.Y36(l.uq),t.Y36(w.uw))},_.\u0275cmp=t.Xpm({type:_,selectors:[["app-two-entity-attribute-page"]],viewQuery:function(i,c){if(1&i&&t.Gf(C,5),2&i){let d;t.iGM(d=t.CRH())&&(c.list=d.first)}},inputs:{firstEntityId:"firstEntityId",firstEntity:"firstEntity",secondEntity:"secondEntity"},decls:4,vars:3,consts:[[1,"mt-3"],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[1,"flex-row"],[3,"groups","firstSelectedGroup","displayStatus","groupSelected",4,"ngIf"],[3,"resources","resourceSelected",4,"ngIf"],[3,"members","memberSelected",4,"ngIf"],[3,"facilities","facilitySelected",4,"ngIf"],[3,"users","userSelected",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],[3,"attributes","filterValue","selection",4,"ngIf"],[3,"groups","firstSelectedGroup","displayStatus","groupSelected"],[3,"resources","resourceSelected"],[3,"members","memberSelected"],[3,"facilities","facilitySelected"],[3,"users","userSelected"],[3,"attributes","filterValue","selection"],["list",""]],template:function(i,c){1&i&&(t.TgZ(0,"div",0),t.YNc(1,I,1,0,"mat-spinner",1),t.YNc(2,F,2,1,"app-alert",2),t.YNc(3,$,20,19,"div",3),t.qZA()),2&i&&(t.xp6(1),t.Q6J("ngIf",c.loading),t.xp6(1),t.Q6J("ngIf",0===c.entityValues.length&&!c.loading),t.xp6(1),t.Q6J("ngIf",0!==c.entityValues.length))},directives:[Z.O5,N.$g,B.w,S.h,U.L,R,b,f.S,v.t,p.lW,T.L,u.p],pipes:[E.X$],styles:[".w-35[_ngcontent-%COMP%]{width:35%}"]}),_})()},64877:(W,x,s)=>{s.d(x,{C:()=>O});var l=s(84847),h=s(32075),L=s(20449),A=s(9244),n=s(36908),e=s(5e3),a=s(18750),D=s(69808),t=s(77446),w=s(25245),Z=s(29772),N=s(50301),B=s(98380),S=s(51062),U=s(31359),y=s(9954),E=s(16119),R=s(7598);function b(o,g){if(1&o){const r=e.EpF();e.TgZ(0,"mat-checkbox",21),e.NdJ("change",function(P){e.CHM(r);const V=e.oxw(2);return P?V.masterToggle():null}),e.qZA()}if(2&o){const r=e.oxw(2);e.Q6J("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function f(o,g){if(1&o&&(e.TgZ(0,"th",19),e.YNc(1,b,1,3,"mat-checkbox",20),e.qZA()),2&o){const r=e.oxw();e.xp6(1),e.Q6J("ngIf",r.selection.isMultipleSelection())}}function v(o,g){if(1&o){const r=e.EpF();e.TgZ(0,"td",22),e.TgZ(1,"mat-checkbox",23),e.NdJ("change",function(P){const j=e.CHM(r).$implicit,X=e.oxw();return P?X.selection.toggle(j):null})("click",function(P){return P.stopPropagation()}),e.ALo(2,"lowercase"),e.qZA(),e.qZA()}if(2&o){const r=g.$implicit,m=e.oxw();e.xp6(1),e.Q2q("data-cy","",e.lcZ(2,4,r.firstName),"-checkbox"),e.Q6J("aria-label",m.checkboxLabel(r))("checked",m.selection.isSelected(r))("disabled",m.disableSelf&&r.id===m.principalId&&!m.authResolver.isPerunAdmin())}}function p(o,g){1&o&&e._UZ(0,"th",24)}function T(o,g){1&o&&(e.TgZ(0,"mat-icon",28),e.ALo(1,"translate"),e._uU(2," account_circle "),e.qZA()),2&o&&e.s9C("matTooltip",e.lcZ(1,1,"MANAGERS_LIST.PERSON"))}function u(o,g){if(1&o&&(e._UZ(0,"mat-icon",29),e.ALo(1,"translate")),2&o){const r=e.oxw(2);e.s9C("matTooltip",e.lcZ(1,2,"MANAGERS_LIST.SERVICE")),e.Q6J("svgIcon",r.svgIcon)}}function C(o,g){if(1&o&&(e.TgZ(0,"td",25),e.YNc(1,T,3,3,"mat-icon",26),e.YNc(2,u,2,4,"mat-icon",27),e.qZA()),2&o){const r=g.$implicit;e.xp6(1),e.Q6J("ngIf",!r.serviceUser),e.xp6(1),e.Q6J("ngIf",r.serviceUser)}}function I(o,g){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MANAGERS_LIST.ID")," "))}function F(o,g){if(1&o&&(e.TgZ(0,"td",25),e._uU(1),e.qZA()),2&o){const r=g.$implicit;e.xp6(1),e.hij(" ",r.id," ")}}function k(o,g){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MANAGERS_LIST.NAME")," "))}function J(o,g){if(1&o&&(e.TgZ(0,"td",31),e._uU(1),e.ALo(2,"userFullName"),e.qZA()),2&o){const r=g.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,r))}}function K(o,g){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MANAGERS_LIST.ORGANIZATION")," "))}function Y(o,g){if(1&o&&(e.TgZ(0,"td",31),e._uU(1),e.ALo(2,"userVo"),e.qZA()),2&o){const r=g.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,r))}}function Q(o,g){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MANAGERS_LIST.EMAIL")," "))}function H(o,g){if(1&o&&(e.TgZ(0,"td",31),e._uU(1),e.ALo(2,"userEmail"),e.qZA()),2&o){const r=g.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,r))}}function G(o,g){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MANAGERS_LIST.LOGINS")," "))}function $(o,g){if(1&o&&(e.TgZ(0,"td",31),e._uU(1),e.ALo(2,"userLogins"),e.qZA()),2&o){const r=g.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,r))}}function z(o,g){1&o&&e._UZ(0,"tr",32)}const _=function(o){return["/admin/users",o]},M=function(o){return["/myProfile/service-identities",o]};function i(o,g){if(1&o&&e._UZ(0,"tr",33),2&o){const r=g.$implicit,m=e.oxw();e.ekj("cursor-pointer",!m.disableRouting),e.Q6J("perunWebAppsForceRouterLink",m.disableRouting?null:m.routeToAdmin?e.VKq(4,_,r.id):e.VKq(6,M,r.id))("perunWebAppsMiddleClickRouterLink",m.disableRouting?null:m.routeToAdmin?e.VKq(8,_,r.id):e.VKq(10,M,r.id))}}function c(o,g){if(1&o&&(e.TgZ(0,"app-alert",34),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o){const r=e.oxw();e.xp6(1),e.hij(" ",r.noUsersFoundLabel?r.noUsersFoundLabel:e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n")}}function d(o,g){1&o&&(e.TgZ(0,"app-alert",34),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let O=(()=>{class o{constructor(r,m,P){this.authResolver=r,this.tableCheckbox=m,this.storeService=P,this.svgIcon="perun-service-identity-black",this.selection=new L.Ov(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.routeToAdmin=!0,this.disableRouting=!1,this.filter="",this.disableSelf=!1,this.pageSizeOptions=A.f7}set matSort(r){this.sort=r}getDataForColumn(r,m){var P;switch(m){case"id":return r.id.toString();case"user":return r.serviceUser?"true":"false";case"name":return r?r.lastName?r.lastName:null!==(P=r.firstName)&&void 0!==P?P:"":"";case"organization":return(0,A.OV)(r);case"email":return(0,A.kN)(r);case"logins":return(0,A.lt)(r);default:return""}}getExportDataForColumn(r,m){switch(m){case"id":return r.id.toString();case"user":return r.serviceUser?"service-user":"user";case"name":return r?(0,A.bD)(r):"";case"organization":return(0,A.OV)(r);case"email":return(0,A.kN)(r);case"logins":return(0,A.lt)(r);default:return""}}exportData(r){(0,A.O6)((0,A.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),r)}setDataSource(){this.dataSource||(this.dataSource=new h.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(r,m)=>(0,A.Sd)(r,m,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(r,m)=>(0,A.pR)(r,m,this.getDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.users}ngOnChanges(){this.principalId=this.storeService.getPerunPrincipal().userId,this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(r=>"id"!==r)),this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filter,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(r){return r?`${this.selection.isSelected(r)?"deselect":"select"} row ${r.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return o.\u0275fac=function(r){return new(r||o)(e.Y36(n.x4),e.Y36(n.UA),e.Y36(n.d6))},o.\u0275cmp=e.Xpm({type:o,selectors:[["app-users-list"]],viewQuery:function(r,m){if(1&r&&(e.Gf(l.YE,7),e.Gf(A.l9,7)),2&r){let P;e.iGM(P=e.CRH())&&(m.matSort=P.first),e.iGM(P=e.CRH())&&(m.child=P.first)}},inputs:{users:"users",selection:"selection",displayedColumns:"displayedColumns",routeToAdmin:"routeToAdmin",disableRouting:"disableRouting",filter:"filter",tableId:"tableId",noUsersFoundLabel:"noUsersFoundLabel",disableSelf:"disableSelf"},features:[e.TTD],decls:28,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","user"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["class","align-bottom",3,"matTooltip",4,"ngIf"],["class","align-bottom",3,"matTooltip","svgIcon",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],[1,"align-bottom",3,"matTooltip","svgIcon"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(r,m){1&r&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(V){return m.exportData(V)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,f,2,1,"th",4),e.YNc(5,v,3,6,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,p,1,0,"th",7),e.YNc(8,C,3,2,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,I,3,3,"th",10),e.YNc(11,F,2,1,"td",8),e.BQk(),e.ynx(12,11),e.YNc(13,k,3,3,"th",10),e.YNc(14,J,3,3,"td",12),e.BQk(),e.ynx(15,13),e.YNc(16,K,3,3,"th",10),e.YNc(17,Y,3,3,"td",12),e.BQk(),e.ynx(18,14),e.YNc(19,Q,3,3,"th",10),e.YNc(20,H,3,3,"td",12),e.BQk(),e.ynx(21,15),e.YNc(22,G,3,3,"th",10),e.YNc(23,$,3,3,"td",12),e.BQk(),e.YNc(24,z,1,0,"tr",16),e.YNc(25,i,1,12,"tr",17),e.qZA(),e.qZA(),e.qZA(),e.YNc(26,c,3,3,"app-alert",18),e.YNc(27,d,3,3,"app-alert",18)),2&r&&(e.Q6J("hidden",0===m.users.length||!m.dataSource||0===m.dataSource.filteredData.length),e.xp6(1),e.Q6J("dataLength",m.dataSource.filteredData.length)("tableId",m.tableId)("pageSizeOptions",m.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",m.dataSource),e.xp6(22),e.Q6J("matHeaderRowDef",m.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",m.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===m.users.length),e.xp6(1),e.Q6J("ngIf",0===m.dataSource.filteredData.length&&0!==m.users.length))},directives:[a.l,h.BZ,l.YE,h.w1,h.fO,h.ge,D.O5,t.oG,h.Dz,h.ev,w.Hw,Z.gM,l.nU,h.as,h.XQ,h.nj,h.Gk,N.Kd,N.YH,B.w],pipes:[D.i8,S.X$,U.d,y.Z,E.S,R.g],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),o})()},71135:(W,x,s)=>{s.d(x,{L:()=>B});var l=s(5e3),h=s(48966),L=s(30325),A=s(69808),n=s(90508),e=s(50301),a=s(25245),D=s(64597),t=s(51062);const w=function(S){return[S]};function Z(S,U){if(1&S&&(l.TgZ(0,"div",3),l.TgZ(1,"a",4),l.ALo(2,"multiWordDataCy"),l.ALo(3,"translate"),l._UZ(4,"mat-icon",5),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.qZA()),2&S){const y=U.$implicit;l.xp6(1),l.Gre("",y.style," item-itself"),l.Q6J("routerLink",y.url)("perunWebAppsMiddleClickRouterLink",l.VKq(14,w,y.url)),l.uIk("data-cy",l.lcZ(2,8,l.lcZ(3,10,y.label))),l.xp6(3),l.Q6J("svgIcon",y.cssIcon),l.xp6(1),l.hij(" ",l.lcZ(6,12,y.label)," ")}}function N(S,U){if(1&S&&(l.TgZ(0,"div",1),l.YNc(1,Z,7,16,"div",2),l.qZA()),2&S){const y=l.oxw();l.xp6(1),l.Q6J("ngForOf",y.items)}}let B=(()=>{class S{constructor(y,E){this.dialog=y,this.route=E,this.size="large"}ngOnInit(){this.route.params.subscribe(y=>{this.voId=y.voId})}}return S.\u0275fac=function(y){return new(y||S)(l.Y36(h.uw),l.Y36(L.gz))},S.\u0275cmp=l.Xpm({type:S,selectors:[["perun-web-apps-menu-buttons-field"]],inputs:{items:"items",size:"size"},decls:1,vars:1,consts:[["class","items-container",4,"ngIf"],[1,"items-container"],["class","item-itself-container","mat-ripple","",4,"ngFor","ngForOf"],["mat-ripple","",1,"item-itself-container"],["queryParamsHandling","merge",3,"routerLink","perunWebAppsMiddleClickRouterLink"],[1,"item-pic","perun-icon",3,"svgIcon"]],template:function(y,E){1&y&&l.YNc(0,N,2,1,"div",0),2&y&&l.Q6J("ngIf","small"===E.size)},directives:[A.O5,A.sg,n.wG,L.yS,e.YH,a.Hw],pipes:[D.R,t.X$],styles:[".items-container[_ngcontent-%COMP%]{display:grid;grid-gap:0;grid-template-columns:repeat(auto-fill,minmax(208px,1fr));margin:0 -8px}@media (max-width: 768px){.items-container[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(148px,1fr))}}.item-pic[_ngcontent-%COMP%]{color:currentColor;transform:scale(3);height:74px;margin-bottom:22px}.item-itself-container[_ngcontent-%COMP%]{margin:8px}.item-itself[_ngcontent-%COMP%]{text-align:center;min-height:186px;height:100%;padding:20px;display:flex;flex-direction:column;align-items:center;font-size:1.25rem}.item-itself[_ngcontent-%COMP%]:hover{text-decoration:none}.item-itself[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:120px;margin-bottom:10px}@media (max-width: 768px){.item-itself[_ngcontent-%COMP%]{min-height:150px;padding:10px}.item-itself[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;margin-bottom:10px}}"]}),S})()},45703:(W,x,s)=>{s.d(x,{L:()=>n});var l=s(5e3),h=s(9244),L=s(42377),A=s(51062);let n=(()=>{class e{constructor(){this.resource=null,this.displayStatus=!0,this.resourceSelected=new l.vpe,this.nameFunction=D=>D.name,this.secondaryFunction=()=>null}ngOnInit(){this.resources=this.resources.sort(h.aC)}}return e.\u0275fac=function(D){return new(D||e)},e.\u0275cmp=l.Xpm({type:e,selectors:[["perun-web-apps-resource-search-select"]],inputs:{resource:"resource",resources:"resources",displayStatus:"displayStatus"},outputs:{resourceSelected:"resourceSelected"},decls:4,vars:15,consts:[[3,"entity","entities","displayStatus","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(D,t){1&D&&(l.TgZ(0,"perun-web-apps-entity-search-select",0),l.NdJ("entitySelected",function(Z){return t.resourceSelected.emit(Z)}),l.ALo(1,"translate"),l.ALo(2,"translate"),l.ALo(3,"translate"),l.qZA()),2&D&&l.Q6J("entity",t.resource)("entities",t.resources)("displayStatus",t.displayStatus)("searchFunction",t.nameFunction)("mainTextFunction",t.nameFunction)("secondaryTextFunction",t.secondaryFunction)("selectPlaceholder",l.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.SELECT_RESOURCE"))("findPlaceholder",l.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.FIND_RESOURCE"))("noEntriesText",l.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.NO_RESOURCE_FOUND"))},directives:[L.i],pipes:[A.X$],styles:[""]}),e})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/50.2f6574a040f40e25.js b/dist/apps/admin-gui/50.2f6574a040f40e25.js new file mode 100644 index 000000000..8d48553cd --- /dev/null +++ b/dist/apps/admin-gui/50.2f6574a040f40e25.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[50],{61283:(W,x,s)=>{s.d(x,{A:()=>A});var c=s(36769),h=s(5e3),L=s(11735);let A=(()=>{class n{constructor(){}prepareRoute(a){return a&&a.activatedRouteData&&a.activatedRouteData.animation}}return n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=h.Xpm({type:n,selectors:[["app-animated-router-outlet"]],decls:3,vars:0,consts:[["outlet","outlet"]],template:function(a,D){1&a&&(h.TgZ(0,"div"),h._UZ(1,"router-outlet",null,0),h.qZA())},directives:[L.lC],styles:[""],data:{animation:[c.Ji]}}),n})()},71103:(W,x,s)=>{s.d(x,{n:()=>b});var c=s(48966),h=s(20449),L=s(36908),A=s(112),n=s(10036),a=(s(80255),s(5e3)),D=s(51062),t=s(7434),N=s(69808),Z=s(98380),I=s(20773),U=s(53984),S=s(47423);const w=["list"];function F(E,v){1&E&&(a.TgZ(0,"app-alert",10),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&E&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE.ERROR_EMPTY_VALUE")," "))}function T(E,v){1&E&&a._UZ(0,"mat-spinner",11)}function R(E,v){if(1&E&&a._UZ(0,"perun-web-apps-attributes-list",12,13),2&E){const p=a.oxw();a.Q6J("tableId",p.tableId)("attributes",p.attributes)("filterValue",p.filterValue)("inDialog",!0)("emptyListText","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY_ATTRIBUTES")("selection",p.selected)}}let b=(()=>{class E{constructor(p,f,u,y,C){this.dialogRef=p,this.data=f,this.attributesManager=u,this.notificator=y,this.translate=C,this.attributes=[],this.selected=new h.Ov(!0,[]),this.showError=!1,this.filterValue="",this.tableId=n.rF,this.translate.get("DIALOGS.CREATE_ATTRIBUTE.SUCCESS_SAVE").subscribe(B=>this.saveSuccessMessage=B)}ngOnInit(){const p=new Array;let f,u,y,C,B,J,k,K;switch(this.data.notEmptyAttributes.forEach(Y=>{p.push(Y.id)}),this.data.entity){case"member":f=this.data.entityId;break;case"user":u=this.data.entityId;break;case"vo":y=this.data.entityId;break;case"group":C=this.data.entityId;break;case"resource":B=this.data.entityId;break;case"facility":J=this.data.entityId;break;case"host":k=this.data.entityId;break;case"ues":K=this.data.entityId}switch(this.data.secondEntity){case"member":f=this.data.secondEntityId;break;case"user":u=this.data.secondEntityId;break;case"vo":y=this.data.secondEntityId;break;case"group":C=this.data.secondEntityId;break;case"resource":B=this.data.secondEntityId;break;case"facility":J=this.data.secondEntityId;break;case"host":k=this.data.secondEntityId;break;case"ues":K=this.data.secondEntityId}this.loading=!0,this.attributesManager.getAttributesDefinitionWithRights(f,u,y,C,B,J,k,K).subscribe(Y=>{this.attributes=Y,this.attributes=this.attributes.filter(Q=>!p.includes(Q.id)&&this.twoEntityValid(Q)),this.loading=!1})}onCancel(){this.dialogRef.close()}onSave(){this.list.updateMapAttributes();let p=!1;for(const f of this.selected.selected)"java.util.ArrayList"===f.type&&0===f.value.length&&(p=!0),void 0===f.value&&(p=!0);if(p)return this.showError=!0,void setTimeout(()=>{this.showError=!1},5e3);switch(this.data.entity){case"facility":this.attributesManager.setFacilityAttributes({facility:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"group":"resource"===this.data.secondEntity?this.attributesManager.setGroupResourceAttributes({group:this.data.entityId,resource:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()}):this.attributesManager.setGroupAttributes({group:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"member":switch(this.data.secondEntity){case"resource":this.attributesManager.setMemberResourceAttributes({member:this.data.entityId,resource:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"group":this.attributesManager.setMemberGroupAttributes({member:this.data.entityId,group:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;default:this.attributesManager.setMemberAttributes({member:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()})}break;case"resource":this.attributesManager.setResourceAttributes({resource:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"user":"facility"===this.data.secondEntity?this.attributesManager.setUserFacilityAttributes({user:this.data.entityId,facility:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()}):this.attributesManager.setUserAttributes({user:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"vo":this.attributesManager.setVoAttributes({vo:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"host":this.attributesManager.setHostAttributes({host:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"ues":this.attributesManager.setUserExtSourceAttributes({userExtSource:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()})}}applyFilter(p){this.filterValue=p}handleSuccess(){this.notificator.showSuccess(this.saveSuccessMessage),this.selected.clear(),this.dialogRef.close("saved")}twoEntityValid(p){return!this.data.secondEntity||p.entity===`${this.data.entity}_${this.data.secondEntity}`}}return E.\u0275fac=function(p){return new(p||E)(a.Y36(c.so),a.Y36(c.WI),a.Y36(A.H8),a.Y36(L.V6),a.Y36(D.sK))},E.\u0275cmp=a.Xpm({type:E,selectors:[["app-create-attribute-dialog"]],viewQuery:function(p,f){if(1&p&&a.Gf(w,5),2&p){let u;a.iGM(u=a.CRH())&&(f.list=u.first)}},decls:17,vars:17,consts:[["mat-dialog-title",""],[1,"page-subtitle"],["data-cy","filter-attributes",1,"font-size-1rem",3,"placeholder","filter"],["class","ml-3 font-size-1rem","alert_type","error",4,"ngIf"],["mat-dialog-content",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","attributes","filterValue","inDialog","emptyListText","selection",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","data-cy","save-selected-attributes","mat-flat-button","",1,"ml-2",3,"disabled","click"],["alert_type","error",1,"ml-3","font-size-1rem"],[1,"ml-auto","mr-auto"],[3,"tableId","attributes","filterValue","inDialog","emptyListText","selection"],["list",""]],template:function(p,f){1&p&&(a.TgZ(0,"div"),a.TgZ(1,"div",0),a.TgZ(2,"h1",1),a._uU(3),a.ALo(4,"translate"),a.qZA(),a.TgZ(5,"perun-web-apps-immediate-filter",2),a.NdJ("filter",function(y){return f.applyFilter(y)}),a.qZA(),a.YNc(6,F,3,3,"app-alert",3),a.qZA(),a.TgZ(7,"div",4),a.YNc(8,T,1,0,"mat-spinner",5),a.YNc(9,R,2,6,"perun-web-apps-attributes-list",6),a.qZA(),a.TgZ(10,"div",7),a.TgZ(11,"button",8),a.NdJ("click",function(){return f.onCancel()}),a._uU(12),a.ALo(13,"translate"),a.qZA(),a.TgZ(14,"button",9),a.NdJ("click",function(){return f.onSave()}),a._uU(15),a.ALo(16,"translate"),a.qZA(),a.qZA(),a.qZA()),2&p&&(a.Tol(f.data.style),a.xp6(3),a.Oqu(a.lcZ(4,11,"DIALOGS.CREATE_ATTRIBUTE.SET_NEW")),a.xp6(2),a.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),a.xp6(1),a.Q6J("ngIf",f.showError),a.xp6(2),a.Q6J("ngIf",f.loading),a.xp6(1),a.Q6J("ngIf",!f.loading),a.xp6(3),a.hij(" ",a.lcZ(13,13,"DIALOGS.CREATE_ATTRIBUTE.CANCEL")," "),a.xp6(2),a.Q6J("disabled",0===f.selected.selected.length),a.xp6(1),a.hij(" ",a.lcZ(16,15,"DIALOGS.CREATE_ATTRIBUTE.SAVE")," "))},directives:[c.uh,t.L,N.O5,Z.w,c.xY,I.$g,U.p,c.H8,S.lW],pipes:[D.X$],styles:[".font-size-1rem[_ngcontent-%COMP%]{font-size:1rem!important}"]}),E})()},61365:(W,x,s)=>{s.d(x,{k:()=>F});var c=s(48966),h=s(32075),L=s(36908),A=s(112),n=s(5e3),e=s(51062),a=s(69808),D=s(20773),t=s(47423);function N(T,R){1&T&&n._UZ(0,"mat-spinner",6)}function Z(T,R){1&T&&n._UZ(0,"th",15)}function I(T,R){if(1&T&&(n.TgZ(0,"td",16),n._uU(1),n.qZA()),2&T){const b=R.$implicit;n.xp6(1),n.Oqu(b.displayName)}}function U(T,R){1&T&&n._UZ(0,"tr",17)}function S(T,R){1&T&&n._UZ(0,"tr",18)}function w(T,R){if(1&T&&(n.TgZ(0,"div",7),n.TgZ(1,"div"),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"div",8),n._uU(5),n.ALo(6,"translate"),n.qZA(),n.TgZ(7,"table",9),n.ynx(8,10),n.YNc(9,Z,1,0,"th",11),n.YNc(10,I,2,1,"td",12),n.BQk(),n.YNc(11,U,1,0,"tr",13),n.YNc(12,S,1,0,"tr",14),n.qZA(),n.qZA()),2&T){const b=n.oxw();n.xp6(2),n.hij(" ",n.lcZ(3,5,"DIALOGS.DELETE_ATTRIBUTES.DESCRIPTION")," "),n.xp6(3),n.hij(" ",n.lcZ(6,7,"DIALOGS.DELETE_ATTRIBUTES.ASK")," "),n.xp6(2),n.Q6J("dataSource",b.dataSource),n.xp6(4),n.Q6J("matHeaderRowDef",b.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",b.displayedColumns)}}let F=(()=>{class T{constructor(b,E,v,p,f){this.dialogRef=b,this.data=E,this.notificator=v,this.translate=p,this.attributesManager=f,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.dataSource=new h.by(this.data.attributes),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){const b=[];for(const v of this.data.attributes)b.push(v.id);const E={};switch(E[this.data.entity]=this.data.entityId,E.attributes=b,void 0!==this.data.secondEntity&&(E[this.data.secondEntity]=this.data.secondEntityId),this.loading=!0,this.data.entity){case"vo":this.attributesManager.removeVoAttributes(this.data.entityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"group":"resource"===this.data.secondEntity?this.attributesManager.removeGroupResourceAttributes(this.data.entityId,this.data.secondEntityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1):this.attributesManager.removeGroupAttributes(this.data.entityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"user":"facility"===this.data.secondEntity?this.attributesManager.removeUserFacilityAttributes(this.data.entityId,this.data.secondEntityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1):this.attributesManager.removeUserAttributes(this.data.entityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"member":switch(this.data.secondEntity){case"resource":this.attributesManager.removeMemberResourceAttributes(this.data.entityId,this.data.secondEntityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"group":this.attributesManager.removeMemberGroupAttributes(this.data.entityId,this.data.secondEntityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;default:this.attributesManager.removeMemberAttributes(this.data.entityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1)}break;case"facility":this.attributesManager.removeFacilityAttributes(this.data.entityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"host":this.attributesManager.removeHostAttributes(this.data.entityId,b).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"ues":this.attributesManager.removeUesAttributes(this.data.entityId,b).subscribe(()=>{this.onSuccess()});break;case"resource":this.attributesManager.removeResourceAttributes(this.data.entityId,b).subscribe(()=>this.onSuccess())}}onSuccess(){this.translate.get("DIALOGS.DELETE_ATTRIBUTES.SUCCESS").subscribe(b=>{this.notificator.showSuccess(b),this.dialogRef.close(!0)})}}return T.\u0275fac=function(b){return new(b||T)(n.Y36(c.so),n.Y36(c.WI),n.Y36(L.V6),n.Y36(e.sK),n.Y36(A.H8))},T.\u0275cmp=n.Xpm({type:T,selectors:[["app-delete-attribute-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-attributes",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(b,E){1&b&&(n.TgZ(0,"div"),n.TgZ(1,"h1",0),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.YNc(4,N,1,0,"mat-spinner",1),n.YNc(5,w,13,9,"div",2),n.TgZ(6,"div",3),n.TgZ(7,"button",4),n.NdJ("click",function(){return E.onCancel()}),n._uU(8),n.ALo(9,"translate"),n.qZA(),n.TgZ(10,"button",5),n.NdJ("click",function(){return E.onSubmit()}),n._uU(11),n.ALo(12,"translate"),n.qZA(),n.qZA(),n.qZA()),2&b&&(n.Tol(E.theme),n.xp6(2),n.Oqu(n.lcZ(3,9,"DIALOGS.DELETE_ATTRIBUTES.TITLE")),n.xp6(2),n.Q6J("ngIf",E.loading),n.xp6(1),n.Q6J("ngIf",!E.loading),n.xp6(3),n.hij(" ",n.lcZ(9,11,"DIALOGS.DELETE_ATTRIBUTES.CANCEL")," "),n.xp6(2),n.Q6J("disabled",E.loading),n.xp6(1),n.hij(" ",n.lcZ(12,13,"DIALOGS.DELETE_ATTRIBUTES.DELETE")," "))},directives:[c.uh,a.O5,D.$g,c.xY,h.BZ,h.w1,h.fO,h.ge,h.Dz,h.ev,h.as,h.XQ,h.nj,h.Gk,c.H8,t.lW],pipes:[e.X$],styles:[""]}),T})()},12651:(W,x,s)=>{s.d(x,{t:()=>v});var c=s(112),h=s(20449),L=s(9244),A=s(71103),n=s(84379),e=s(61365),D=(s(80255),s(10036)),t=s(5e3),N=s(48966),Z=s(96214),I=s(47423),U=s(7434),S=s(69808),w=s(20773),F=s(53984),T=s(51062);const R=["list"];function b(p,f){1&p&&t._UZ(0,"mat-spinner",7)}function E(p,f){if(1&p&&t._UZ(0,"perun-web-apps-attributes-list",8,9),2&p){const u=t.oxw();t.Q6J("tableId",u.tableId)("filterValue",u.filterValue)("attributes",u.attributes)("selection",u.selection)}}let v=(()=>{class p{constructor(u,y){this.attributesManagerService=u,this.dialog=y,this.attributes=[],this.selection=new h.Ov(!0,[]),this.filterValue="",this.tableId=D.rF,this.loading=!1}ngOnInit(){this.refreshTable()}refreshTable(){switch(this.loading=!0,this.entity){case"member":this.attributesManagerService.getMemberAttributes(this.entityId).subscribe(u=>{this.attributes=u,this.selection.clear(),this.loading=!1});break;case"group":this.attributesManagerService.getGroupAttributes(this.entityId).subscribe(u=>{this.attributes=u,this.selection.clear(),this.loading=!1});break;case"user":this.attributesManagerService.getUserAttributes(this.entityId).subscribe(u=>{this.attributes=u,this.selection.clear(),this.loading=!1});break;case"resource":this.attributesManagerService.getResourceAttributes(this.entityId).subscribe(u=>{this.attributes=u,this.selection.clear(),this.loading=!1});break;case"facility":this.attributesManagerService.getFacilityAttributes(this.entityId).subscribe(u=>{this.attributes=u,this.selection.clear(),this.loading=!1});break;case"vo":this.attributesManagerService.getVoAttributes(this.entityId).subscribe(u=>{this.attributes=u,this.selection.clear(),this.loading=!1})}}applyFilter(u){this.filterValue=u}onCreate(){const u=(0,L.kZ)();u.width="1050px",u.data={entityId:this.entityId,entity:this.entity,notEmptyAttributes:this.attributes,style:this.entity+"-theme"},this.dialog.open(A.n,u).afterClosed().subscribe(C=>{C&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const u=(0,L.kZ)();u.width="450px",u.data={entityId:this.entityId,entity:this.entity,attributes:this.selection.selected},this.dialog.open(n.wA,u).afterClosed().subscribe(C=>{C&&this.refreshTable()})}onDelete(){const u=(0,L.kZ)();u.width="450px",u.data={entityId:this.entityId,entity:this.entity,attributes:this.selection.selected},this.dialog.open(e.k,u).afterClosed().subscribe(C=>{C&&this.refreshTable()})}}return p.\u0275fac=function(u){return new(u||p)(t.Y36(c.H8),t.Y36(N.uw))},p.\u0275cmp=t.Xpm({type:p,selectors:[["app-one-entity-attribute-page"]],viewQuery:function(u,y){if(1&u&&t.Gf(R,5),2&u){let C;t.iGM(C=t.CRH())&&(y.list=C.first)}},inputs:{entity:"entity",entityId:"entityId"},decls:13,vars:14,consts:[[1,"mt-2",3,"refresh"],["mat-flat-button","","color","accent","data-cy","add-attributes",1,"mr-2","mt-2","action-button",3,"click"],["mat-flat-button","","color","accent",1,"mr-2","mt-2",3,"disabled","click"],["color","warn","mat-flat-button","","data-cy","remove-attributes",1,"mt-2","mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","attributes","selection",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","attributes","selection"],["list",""]],template:function(u,y){1&u&&(t.TgZ(0,"perun-web-apps-refresh-button",0),t.NdJ("refresh",function(){return y.refreshTable()}),t.qZA(),t.TgZ(1,"button",1),t.NdJ("click",function(){return y.onCreate()}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"button",2),t.NdJ("click",function(){return y.onSave()}),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"button",3),t.NdJ("click",function(){return y.onDelete()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(B){return y.applyFilter(B)}),t.qZA(),t.YNc(11,b,1,0,"mat-spinner",5),t.YNc(12,E,2,4,"perun-web-apps-attributes-list",6)),2&u&&(t.xp6(2),t.hij(" ",t.lcZ(3,8,"USER_DETAIL.SETTINGS.ATTRIBUTES.CREATE"),"\n"),t.xp6(2),t.Q6J("disabled",0===y.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(6,10,"USER_DETAIL.SETTINGS.ATTRIBUTES.SAVE"),"\n"),t.xp6(2),t.Q6J("disabled",0===y.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(9,12,"USER_DETAIL.SETTINGS.ATTRIBUTES.DELETE"),"\n"),t.xp6(2),t.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),t.xp6(1),t.Q6J("ngIf",y.loading),t.xp6(1),t.Q6J("ngIf",!y.loading))},directives:[Z.t,I.lW,U.L,S.O5,w.$g,F.p],pipes:[T.X$],styles:[""]}),p})()},19191:(W,x,s)=>{s.d(x,{Y:()=>z});var c=s(112),L=(s(80255),s(20449)),A=s(61365),n=s(9244),e=s(84379),a=s(71103),D=s(64080),t=s(5e3),N=s(48966),Z=s(69808),I=s(20773),U=s(98380),S=s(82322),w=s(45703),F=s(42377),T=s(51062);let R=(()=>{class _{constructor(){this.memberSelected=new t.vpe,this.memberFullNameFunction=i=>(0,n.bD)(i.user)}ngOnInit(){this.members=this.members.sort(n.fx)}}return _.\u0275fac=function(i){return new(i||_)},_.\u0275cmp=t.Xpm({type:_,selectors:[["perun-web-apps-member-search-select"]],inputs:{members:"members"},outputs:{memberSelected:"memberSelected"},decls:4,vars:12,consts:[[3,"entities","searchFunction","mainTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(i,l){1&i&&(t.TgZ(0,"perun-web-apps-entity-search-select",0),t.NdJ("entitySelected",function(O){return l.memberSelected.emit(O)}),t.ALo(1,"translate"),t.ALo(2,"translate"),t.ALo(3,"translate"),t.qZA()),2&i&&t.Q6J("entities",l.members)("searchFunction",l.memberFullNameFunction)("mainTextFunction",l.memberFullNameFunction)("selectPlaceholder",t.lcZ(1,6,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.SELECT_MEMBER"))("findPlaceholder",t.lcZ(2,8,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.FIND_MEMBER"))("noEntriesText",t.lcZ(3,10,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.NO_MEMBER_FOUND"))},directives:[F.i],pipes:[T.X$],styles:[""]}),_})(),b=(()=>{class _{constructor(){this.facilitySelected=new t.vpe,this.nameFunction=i=>i.name}ngOnInit(){this.facilities=this.facilities.sort(n.aC)}}return _.\u0275fac=function(i){return new(i||_)},_.\u0275cmp=t.Xpm({type:_,selectors:[["perun-web-apps-facility-search-select"]],inputs:{facilities:"facilities"},outputs:{facilitySelected:"facilitySelected"},decls:4,vars:12,consts:[[3,"entities","searchFunction","mainTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(i,l){1&i&&(t.TgZ(0,"perun-web-apps-entity-search-select",0),t.NdJ("entitySelected",function(O){return l.facilitySelected.emit(O)}),t.ALo(1,"translate"),t.ALo(2,"translate"),t.ALo(3,"translate"),t.qZA()),2&i&&t.Q6J("entities",l.facilities)("searchFunction",l.nameFunction)("mainTextFunction",l.nameFunction)("selectPlaceholder",t.lcZ(1,6,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.SELECT_FACILITY"))("findPlaceholder",t.lcZ(2,8,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.FIND_FACILITY"))("noEntriesText",t.lcZ(3,10,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.NO_FACILITY_FOUND"))},directives:[F.i],pipes:[T.X$],styles:[""]}),_})();var E=s(74250),v=s(96214),p=s(47423),f=s(7434),u=s(53984);const y=["list"];function C(_,M){1&_&&t._UZ(0,"mat-spinner",4)}function B(_,M){if(1&_&&(t.TgZ(0,"app-alert",5),t._uU(1),t.qZA()),2&_){const i=t.oxw();t.xp6(1),t.Oqu(i.noEntityMessage)}}function J(_,M){if(1&_){const i=t.EpF();t.TgZ(0,"perun-web-apps-group-search-select",18),t.NdJ("groupSelected",function(d){return t.CHM(i),t.oxw(2).specifySecondEntity(d)}),t.qZA()}if(2&_){const i=t.oxw(2);t.Q6J("groups",i.entityValues)("firstSelectedGroup",i.specificSecondEntity)("displayStatus",!0)}}function k(_,M){if(1&_){const i=t.EpF();t.TgZ(0,"perun-web-apps-resource-search-select",19),t.NdJ("resourceSelected",function(d){return t.CHM(i),t.oxw(2).specifySecondEntity(d)}),t.qZA()}if(2&_){const i=t.oxw(2);t.Q6J("resources",i.entityValues)}}function K(_,M){if(1&_){const i=t.EpF();t.TgZ(0,"perun-web-apps-member-search-select",20),t.NdJ("memberSelected",function(d){return t.CHM(i),t.oxw(2).specifySecondEntity(d)}),t.qZA()}if(2&_){const i=t.oxw(2);t.Q6J("members",i.entityValues)}}function Y(_,M){if(1&_){const i=t.EpF();t.TgZ(0,"perun-web-apps-facility-search-select",21),t.NdJ("facilitySelected",function(d){return t.CHM(i),t.oxw(2).specifySecondEntity(d)}),t.qZA()}if(2&_){const i=t.oxw(2);t.Q6J("facilities",i.entityValues)}}function Q(_,M){if(1&_){const i=t.EpF();t.TgZ(0,"perun-web-apps-user-search-select",22),t.NdJ("userSelected",function(d){return t.CHM(i),t.oxw(2).specifySecondEntity(d)}),t.qZA()}if(2&_){const i=t.oxw(2);t.Q6J("users",i.entityValues)}}function H(_,M){1&_&&t._UZ(0,"mat-spinner",4)}function G(_,M){if(1&_&&t._UZ(0,"perun-web-apps-attributes-list",23,24),2&_){const i=t.oxw(2);t.Q6J("attributes",i.attributes)("filterValue",i.filterValue)("selection",i.selection)}}function $(_,M){if(1&_){const i=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",6),t.YNc(2,J,1,3,"perun-web-apps-group-search-select",7),t.YNc(3,k,1,1,"perun-web-apps-resource-search-select",8),t.YNc(4,K,1,1,"perun-web-apps-member-search-select",9),t.YNc(5,Y,1,1,"perun-web-apps-facility-search-select",10),t.YNc(6,Q,1,1,"perun-web-apps-user-search-select",11),t.qZA(),t.TgZ(7,"perun-web-apps-refresh-button",12),t.NdJ("refresh",function(){t.CHM(i);const d=t.oxw();return d.getAttributes(d.specificSecondEntity.id)}),t.qZA(),t.TgZ(8,"button",13),t.NdJ("click",function(){t.CHM(i);const d=t.oxw();return d.onAdd(d.specificSecondEntity.id)}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"button",14),t.NdJ("click",function(){t.CHM(i);const d=t.oxw();return d.onSave(d.specificSecondEntity.id)}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"button",15),t.NdJ("click",function(){t.CHM(i);const d=t.oxw();return d.onDelete(d.specificSecondEntity.id)}),t._uU(15),t.ALo(16,"translate"),t.qZA(),t.TgZ(17,"perun-web-apps-immediate-filter",16),t.NdJ("filter",function(d){return t.CHM(i),t.oxw().applyFilter(d)}),t.qZA(),t.YNc(18,H,1,0,"mat-spinner",1),t.YNc(19,G,2,3,"perun-web-apps-attributes-list",17),t.qZA()}if(2&_){const i=t.oxw();t.xp6(2),t.Q6J("ngIf","group"===i.secondEntity),t.xp6(1),t.Q6J("ngIf","resource"===i.secondEntity),t.xp6(1),t.Q6J("ngIf","member"===i.secondEntity),t.xp6(1),t.Q6J("ngIf","facility"===i.secondEntity),t.xp6(1),t.Q6J("ngIf","user"===i.secondEntity),t.xp6(3),t.hij(" ",t.lcZ(10,13,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "),t.xp6(2),t.Q6J("disabled",0===i.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(13,15,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," "),t.xp6(2),t.Q6J("disabled",0===i.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(16,17,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," "),t.xp6(2),t.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),t.xp6(1),t.Q6J("ngIf",i.innerLoading),t.xp6(1),t.Q6J("ngIf",!i.innerLoading)}}let z=(()=>{class _{constructor(i,l,d,O,o,g){this.attributesManagerService=i,this.resourcesManagerService=l,this.facilitiesManagerService=d,this.groupsManagerService=O,this.membersManager=o,this.dialog=g,this.entityValues=[],this.attributes=[],this.selection=new L.Ov(!0,[]),this.allowedStatuses=["INVALID","VALID"],this.loading=!1,this.innerLoading=!1,this.filterValue=""}ngOnInit(){this.loadEntityValues(),this.setMessages(this.secondEntity.toLowerCase())}loadEntityValues(){switch(this.loading=!0,this.firstEntity){case"member":switch(this.secondEntity){case"resource":this.resourcesManagerService.getAssignedResourcesWithStatus(this.firstEntityId).subscribe(i=>{this.entityValues=i.map(l=>l.enrichedResource.resource),this.preselectEntity(),this.loading=!1});break;case"group":this.groupsManagerService.getMemberGroups(this.firstEntityId).subscribe(i=>{this.entityValues=i,this.preselectEntity(),this.loading=!1})}break;case"group":switch(this.secondEntity){case"resource":this.resourcesManagerService.getResourceAssignments(this.firstEntityId).subscribe(i=>{this.entityValues=i.map(l=>{const d=l.enrichedResource.resource;return d.status=l.status,d}),this.preselectEntity(),this.loading=!1});break;case"member":this.membersManager.getCompleteRichMembersForGroup(this.firstEntityId,!1,this.allowedStatuses,null,[D.r.MEMBER_CORE_ID]).subscribe(i=>{this.entityValues=i,this.preselectEntity(),this.loading=!1})}break;case"user":this.facilitiesManagerService.getAssignedFacilitiesByUser(this.firstEntityId).subscribe(i=>{this.entityValues=i,this.preselectEntity(),this.loading=!1});break;case"resource":switch(this.secondEntity){case"member":this.resourcesManagerService.getAssignedMembersWithStatus(this.firstEntityId).subscribe(i=>{this.entityValues=i.map(l=>l.richMember),this.preselectEntity(),this.loading=!1});break;case"group":this.resourcesManagerService.getGroupAssignments(this.firstEntityId).subscribe(i=>{this.entityValues=i.map(l=>{const d=l.enrichedGroup.group;return d.status=l.status,d}),this.preselectEntity(),this.loading=!1})}break;case"facility":this.facilitiesManagerService.getAssignedUsers(this.firstEntityId).subscribe(i=>{this.entityValues=i,this.preselectEntity(),this.loading=!1})}}preselectEntity(){0!==this.entityValues.length&&this.findInitiallySelectedEntity()}findInitiallySelectedEntity(){let i=this.entityValues[0];const l=(0,n.vL)(this.entityKey());if(l)for(const d of this.entityValues)if(d.id===l[0]){i=d;break}this.specifySecondEntity(i)}entityKey(){return"group"===this.secondEntity?"groups":""}getAttributes(i){switch(this.innerLoading=!0,this.firstEntity){case"member":switch(this.secondEntity){case"resource":this.attributesManagerService.getMemberResourceAttributes(this.firstEntityId,i).subscribe(l=>{this.attributes=l,this.innerLoading=!1});break;case"group":this.attributesManagerService.getMemberGroupAttributes(this.firstEntityId,i).subscribe(l=>{this.attributes=l,this.innerLoading=!1})}break;case"group":switch(this.secondEntity){case"resource":this.attributesManagerService.getGroupResourceAttributes(this.firstEntityId,i).subscribe(l=>{this.attributes=l,this.innerLoading=!1});break;case"member":this.attributesManagerService.getMemberGroupAttributes(i,this.firstEntityId).subscribe(l=>{this.attributes=l,this.innerLoading=!1})}break;case"user":this.attributesManagerService.getUserFacilityAttributes(this.firstEntityId,i).subscribe(l=>{this.attributes=l,this.innerLoading=!1});break;case"resource":switch(this.secondEntity){case"member":this.attributesManagerService.getMemberResourceAttributes(i,this.firstEntityId).subscribe(l=>{this.attributes=l,this.innerLoading=!1});break;case"group":this.attributesManagerService.getGroupResourceAttributes(i,this.firstEntityId).subscribe(l=>{this.attributes=l,this.innerLoading=!1})}break;case"facility":this.attributesManagerService.getUserFacilityAttributes(i,this.firstEntityId).subscribe(l=>{this.attributes=l,this.innerLoading=!1})}}setMessages(i){this.noEntityMessage=`No ${i} assigned`}onSave(i){this.list.updateMapAttributes();const l=(0,n.kZ)();l.width="450px",l.data={entityId:this.firstEntityId,entity:this.firstEntity,secondEntity:this.secondEntity,secondEntityId:i,attributes:this.selection.selected},this.dialog.open(e.wA,l).afterClosed().subscribe(O=>{O&&(this.selection.clear(),this.getAttributes(i))})}onDelete(i){const l=(0,n.kZ)();l.width="450px",l.data={entityId:this.firstEntityId,entity:this.firstEntity,secondEntity:this.secondEntity,secondEntityId:i,attributes:this.selection.selected,theme:`${this.firstEntity}-theme`},this.dialog.open(A.k,l).afterClosed().subscribe(O=>{O&&(this.selection.clear(),this.getAttributes(i))})}onAdd(i){const l=(0,n.kZ)();l.width="1050px",l.data={entityId:this.firstEntityId,entity:this.firstEntity,secondEntity:this.secondEntity,secondEntityId:i,notEmptyAttributes:this.attributes,style:`${this.firstEntity}-theme`},this.dialog.open(a.n,l).afterClosed().subscribe(O=>{O&&(this.selection.clear(),this.getAttributes(i))})}specifySecondEntity(i){i&&(this.specificSecondEntity=i,this.getAttributes(this.specificSecondEntity.id))}applyFilter(i){this.filterValue=i}}return _.\u0275fac=function(i){return new(i||_)(t.Y36(c.H8),t.Y36(c.xk),t.Y36(c.IQ),t.Y36(c.ff),t.Y36(c.uq),t.Y36(N.uw))},_.\u0275cmp=t.Xpm({type:_,selectors:[["app-two-entity-attribute-page"]],viewQuery:function(i,l){if(1&i&&t.Gf(y,5),2&i){let d;t.iGM(d=t.CRH())&&(l.list=d.first)}},inputs:{firstEntityId:"firstEntityId",firstEntity:"firstEntity",secondEntity:"secondEntity"},decls:4,vars:3,consts:[[1,"mt-3"],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[1,"flex-row"],[3,"groups","firstSelectedGroup","displayStatus","groupSelected",4,"ngIf"],[3,"resources","resourceSelected",4,"ngIf"],[3,"members","memberSelected",4,"ngIf"],[3,"facilities","facilitySelected",4,"ngIf"],[3,"users","userSelected",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],[3,"attributes","filterValue","selection",4,"ngIf"],[3,"groups","firstSelectedGroup","displayStatus","groupSelected"],[3,"resources","resourceSelected"],[3,"members","memberSelected"],[3,"facilities","facilitySelected"],[3,"users","userSelected"],[3,"attributes","filterValue","selection"],["list",""]],template:function(i,l){1&i&&(t.TgZ(0,"div",0),t.YNc(1,C,1,0,"mat-spinner",1),t.YNc(2,B,2,1,"app-alert",2),t.YNc(3,$,20,19,"div",3),t.qZA()),2&i&&(t.xp6(1),t.Q6J("ngIf",l.loading),t.xp6(1),t.Q6J("ngIf",0===l.entityValues.length&&!l.loading),t.xp6(1),t.Q6J("ngIf",0!==l.entityValues.length))},directives:[Z.O5,I.$g,U.w,S.h,w.L,R,b,E.S,v.t,p.lW,f.L,u.p],pipes:[T.X$],styles:[".w-35[_ngcontent-%COMP%]{width:35%}"]}),_})()},64877:(W,x,s)=>{s.d(x,{C:()=>O});var c=s(84847),h=s(32075),L=s(20449),A=s(9244),n=s(36908),e=s(5e3),a=s(18750),D=s(69808),t=s(77446),N=s(25245),Z=s(29772),I=s(50301),U=s(98380),S=s(51062),w=s(31359),F=s(9954),T=s(16119),R=s(7598);function b(o,g){if(1&o){const r=e.EpF();e.TgZ(0,"mat-checkbox",21),e.NdJ("change",function(P){e.CHM(r);const V=e.oxw(2);return P?V.masterToggle():null}),e.qZA()}if(2&o){const r=e.oxw(2);e.Q6J("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function E(o,g){if(1&o&&(e.TgZ(0,"th",19),e.YNc(1,b,1,3,"mat-checkbox",20),e.qZA()),2&o){const r=e.oxw();e.xp6(1),e.Q6J("ngIf",r.selection.isMultipleSelection())}}function v(o,g){if(1&o){const r=e.EpF();e.TgZ(0,"td",22),e.TgZ(1,"mat-checkbox",23),e.NdJ("change",function(P){const j=e.CHM(r).$implicit,X=e.oxw();return P?X.selection.toggle(j):null})("click",function(P){return P.stopPropagation()}),e.ALo(2,"lowercase"),e.qZA(),e.qZA()}if(2&o){const r=g.$implicit,m=e.oxw();e.xp6(1),e.Q2q("data-cy","",e.lcZ(2,4,r.firstName),"-checkbox"),e.Q6J("aria-label",m.checkboxLabel(r))("checked",m.selection.isSelected(r))("disabled",m.disableSelf&&r.id===m.principalId&&!m.authResolver.isPerunAdmin())}}function p(o,g){1&o&&e._UZ(0,"th",24)}function f(o,g){1&o&&(e.TgZ(0,"mat-icon",28),e.ALo(1,"translate"),e._uU(2," account_circle "),e.qZA()),2&o&&e.s9C("matTooltip",e.lcZ(1,1,"MANAGERS_LIST.PERSON"))}function u(o,g){if(1&o&&(e._UZ(0,"mat-icon",29),e.ALo(1,"translate")),2&o){const r=e.oxw(2);e.s9C("matTooltip",e.lcZ(1,2,"MANAGERS_LIST.SERVICE")),e.Q6J("svgIcon",r.svgIcon)}}function y(o,g){if(1&o&&(e.TgZ(0,"td",25),e.YNc(1,f,3,3,"mat-icon",26),e.YNc(2,u,2,4,"mat-icon",27),e.qZA()),2&o){const r=g.$implicit;e.xp6(1),e.Q6J("ngIf",!r.serviceUser),e.xp6(1),e.Q6J("ngIf",r.serviceUser)}}function C(o,g){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MANAGERS_LIST.ID")," "))}function B(o,g){if(1&o&&(e.TgZ(0,"td",25),e._uU(1),e.qZA()),2&o){const r=g.$implicit;e.xp6(1),e.hij(" ",r.id," ")}}function J(o,g){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MANAGERS_LIST.NAME")," "))}function k(o,g){if(1&o&&(e.TgZ(0,"td",31),e._uU(1),e.ALo(2,"userFullName"),e.qZA()),2&o){const r=g.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,r))}}function K(o,g){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MANAGERS_LIST.ORGANIZATION")," "))}function Y(o,g){if(1&o&&(e.TgZ(0,"td",31),e._uU(1),e.ALo(2,"userVo"),e.qZA()),2&o){const r=g.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,r))}}function Q(o,g){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MANAGERS_LIST.EMAIL")," "))}function H(o,g){if(1&o&&(e.TgZ(0,"td",31),e._uU(1),e.ALo(2,"userEmail"),e.qZA()),2&o){const r=g.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,r))}}function G(o,g){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MANAGERS_LIST.LOGINS")," "))}function $(o,g){if(1&o&&(e.TgZ(0,"td",31),e._uU(1),e.ALo(2,"userLogins"),e.qZA()),2&o){const r=g.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,r))}}function z(o,g){1&o&&e._UZ(0,"tr",32)}const _=function(o){return["/admin/users",o]},M=function(o){return["/myProfile/service-identities",o]};function i(o,g){if(1&o&&e._UZ(0,"tr",33),2&o){const r=g.$implicit,m=e.oxw();e.ekj("cursor-pointer",!m.disableRouting),e.Q6J("perunWebAppsForceRouterLink",m.disableRouting?null:m.routeToAdmin?e.VKq(4,_,r.id):e.VKq(6,M,r.id))("perunWebAppsMiddleClickRouterLink",m.disableRouting?null:m.routeToAdmin?e.VKq(8,_,r.id):e.VKq(10,M,r.id))}}function l(o,g){if(1&o&&(e.TgZ(0,"app-alert",34),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o){const r=e.oxw();e.xp6(1),e.hij(" ",r.noUsersFoundLabel?r.noUsersFoundLabel:e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n")}}function d(o,g){1&o&&(e.TgZ(0,"app-alert",34),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let O=(()=>{class o{constructor(r,m,P){this.authResolver=r,this.tableCheckbox=m,this.storeService=P,this.svgIcon="perun-service-identity-black",this.selection=new L.Ov(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.routeToAdmin=!0,this.disableRouting=!1,this.filter="",this.disableSelf=!1,this.pageSizeOptions=A.f7}set matSort(r){this.sort=r}getDataForColumn(r,m){var P;switch(m){case"id":return r.id.toString();case"user":return r.serviceUser?"true":"false";case"name":return r?r.lastName?r.lastName:null!==(P=r.firstName)&&void 0!==P?P:"":"";case"organization":return(0,A.OV)(r);case"email":return(0,A.kN)(r);case"logins":return(0,A.lt)(r);default:return""}}getExportDataForColumn(r,m){switch(m){case"id":return r.id.toString();case"user":return r.serviceUser?"service-user":"user";case"name":return r?(0,A.bD)(r):"";case"organization":return(0,A.OV)(r);case"email":return(0,A.kN)(r);case"logins":return(0,A.lt)(r);default:return""}}exportData(r){(0,A.O6)((0,A.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),r)}setDataSource(){this.dataSource||(this.dataSource=new h.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(r,m)=>(0,A.Sd)(r,m,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(r,m)=>(0,A.pR)(r,m,this.getDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.users}ngOnChanges(){this.principalId=this.storeService.getPerunPrincipal().userId,this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(r=>"id"!==r)),this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filter,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(r){return r?`${this.selection.isSelected(r)?"deselect":"select"} row ${r.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return o.\u0275fac=function(r){return new(r||o)(e.Y36(n.x4),e.Y36(n.UA),e.Y36(n.d6))},o.\u0275cmp=e.Xpm({type:o,selectors:[["app-users-list"]],viewQuery:function(r,m){if(1&r&&(e.Gf(c.YE,7),e.Gf(A.l9,7)),2&r){let P;e.iGM(P=e.CRH())&&(m.matSort=P.first),e.iGM(P=e.CRH())&&(m.child=P.first)}},inputs:{users:"users",selection:"selection",displayedColumns:"displayedColumns",routeToAdmin:"routeToAdmin",disableRouting:"disableRouting",filter:"filter",tableId:"tableId",noUsersFoundLabel:"noUsersFoundLabel",disableSelf:"disableSelf"},features:[e.TTD],decls:28,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","user"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["class","align-bottom",3,"matTooltip",4,"ngIf"],["class","align-bottom",3,"matTooltip","svgIcon",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],[1,"align-bottom",3,"matTooltip","svgIcon"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(r,m){1&r&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(V){return m.exportData(V)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,E,2,1,"th",4),e.YNc(5,v,3,6,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,p,1,0,"th",7),e.YNc(8,y,3,2,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,C,3,3,"th",10),e.YNc(11,B,2,1,"td",8),e.BQk(),e.ynx(12,11),e.YNc(13,J,3,3,"th",10),e.YNc(14,k,3,3,"td",12),e.BQk(),e.ynx(15,13),e.YNc(16,K,3,3,"th",10),e.YNc(17,Y,3,3,"td",12),e.BQk(),e.ynx(18,14),e.YNc(19,Q,3,3,"th",10),e.YNc(20,H,3,3,"td",12),e.BQk(),e.ynx(21,15),e.YNc(22,G,3,3,"th",10),e.YNc(23,$,3,3,"td",12),e.BQk(),e.YNc(24,z,1,0,"tr",16),e.YNc(25,i,1,12,"tr",17),e.qZA(),e.qZA(),e.qZA(),e.YNc(26,l,3,3,"app-alert",18),e.YNc(27,d,3,3,"app-alert",18)),2&r&&(e.Q6J("hidden",0===m.users.length||!m.dataSource||0===m.dataSource.filteredData.length),e.xp6(1),e.Q6J("dataLength",m.dataSource.filteredData.length)("tableId",m.tableId)("pageSizeOptions",m.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",m.dataSource),e.xp6(22),e.Q6J("matHeaderRowDef",m.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",m.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===m.users.length),e.xp6(1),e.Q6J("ngIf",0===m.dataSource.filteredData.length&&0!==m.users.length))},directives:[a.l,h.BZ,c.YE,h.w1,h.fO,h.ge,D.O5,t.oG,h.Dz,h.ev,N.Hw,Z.gM,c.nU,h.as,h.XQ,h.nj,h.Gk,I.Kd,I.YH,U.w],pipes:[D.i8,S.X$,w.d,F.Z,T.S,R.g],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),o})()},71135:(W,x,s)=>{s.d(x,{L:()=>Z});var c=s(5e3),h=s(48966),L=s(11735),A=s(69808),n=s(90508),e=s(25245),a=s(64597),D=s(51062);function t(I,U){if(1&I&&(c.TgZ(0,"div",3),c.TgZ(1,"a",4),c.ALo(2,"multiWordDataCy"),c.ALo(3,"translate"),c._UZ(4,"mat-icon",5),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA()),2&I){const S=U.$implicit;c.xp6(1),c.Gre("",S.style," item-itself"),c.Q6J("routerLink",S.url),c.uIk("data-cy",c.lcZ(2,7,c.lcZ(3,9,S.label))),c.xp6(3),c.Q6J("svgIcon",S.cssIcon),c.xp6(1),c.hij(" ",c.lcZ(6,11,S.label)," ")}}function N(I,U){if(1&I&&(c.TgZ(0,"div",1),c.YNc(1,t,7,13,"div",2),c.qZA()),2&I){const S=c.oxw();c.xp6(1),c.Q6J("ngForOf",S.items)}}let Z=(()=>{class I{constructor(S,w){this.dialog=S,this.route=w,this.size="large"}ngOnInit(){this.route.params.subscribe(S=>{this.voId=S.voId})}}return I.\u0275fac=function(S){return new(S||I)(c.Y36(h.uw),c.Y36(L.gz))},I.\u0275cmp=c.Xpm({type:I,selectors:[["perun-web-apps-menu-buttons-field"]],inputs:{items:"items",size:"size"},decls:1,vars:1,consts:[["class","items-container",4,"ngIf"],[1,"items-container"],["class","item-itself-container","mat-ripple","",4,"ngFor","ngForOf"],["mat-ripple","",1,"item-itself-container"],["queryParamsHandling","merge",3,"routerLink"],[1,"item-pic","perun-icon",3,"svgIcon"]],template:function(S,w){1&S&&c.YNc(0,N,2,1,"div",0),2&S&&c.Q6J("ngIf","small"===w.size)},directives:[A.O5,A.sg,n.wG,L.yS,e.Hw],pipes:[a.R,D.X$],styles:[".items-container[_ngcontent-%COMP%]{display:grid;grid-gap:0;grid-template-columns:repeat(auto-fill,minmax(208px,1fr));margin:0 -8px}@media (max-width: 768px){.items-container[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(148px,1fr))}}.item-pic[_ngcontent-%COMP%]{color:currentColor;transform:scale(3);height:74px;margin-bottom:22px}.item-itself-container[_ngcontent-%COMP%]{margin:8px}.item-itself[_ngcontent-%COMP%]{text-align:center;min-height:186px;height:100%;padding:20px;display:flex;flex-direction:column;align-items:center;font-size:1.25rem}.item-itself[_ngcontent-%COMP%]:hover{text-decoration:none}.item-itself[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:120px;margin-bottom:10px}@media (max-width: 768px){.item-itself[_ngcontent-%COMP%]{min-height:150px;padding:10px}.item-itself[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;margin-bottom:10px}}"]}),I})()},45703:(W,x,s)=>{s.d(x,{L:()=>n});var c=s(5e3),h=s(9244),L=s(42377),A=s(51062);let n=(()=>{class e{constructor(){this.resource=null,this.displayStatus=!0,this.resourceSelected=new c.vpe,this.nameFunction=D=>D.name,this.secondaryFunction=()=>null}ngOnInit(){this.resources=this.resources.sort(h.aC)}}return e.\u0275fac=function(D){return new(D||e)},e.\u0275cmp=c.Xpm({type:e,selectors:[["perun-web-apps-resource-search-select"]],inputs:{resource:"resource",resources:"resources",displayStatus:"displayStatus"},outputs:{resourceSelected:"resourceSelected"},decls:4,vars:15,consts:[[3,"entity","entities","displayStatus","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(D,t){1&D&&(c.TgZ(0,"perun-web-apps-entity-search-select",0),c.NdJ("entitySelected",function(Z){return t.resourceSelected.emit(Z)}),c.ALo(1,"translate"),c.ALo(2,"translate"),c.ALo(3,"translate"),c.qZA()),2&D&&c.Q6J("entity",t.resource)("entities",t.resources)("displayStatus",t.displayStatus)("searchFunction",t.nameFunction)("mainTextFunction",t.nameFunction)("secondaryTextFunction",t.secondaryFunction)("selectPlaceholder",c.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.SELECT_RESOURCE"))("findPlaceholder",c.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.FIND_RESOURCE"))("noEntriesText",c.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.NO_RESOURCE_FOUND"))},directives:[L.i],pipes:[A.X$],styles:[""]}),e})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/892.2e699f7cea038bc2.js b/dist/apps/admin-gui/892.2e699f7cea038bc2.js new file mode 100644 index 000000000..678bf377d --- /dev/null +++ b/dist/apps/admin-gui/892.2e699f7cea038bc2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[892],{36892:(Bl,st,l)=>{l.r(st),l.d(st,{VosModule:()=>kl});var h=l(69808),E=l(11735),Nt=l(25309),j=l(69024),O=l(36769),g=l(112),T=l(9244),u=l(36908),S=l(64080),L=l(84379),Ot=l(41656),t=l(5e3),y=l(77968),p=l(48966),rt=l(15003),H=l(4235),f=l(20773),M=l(25245),N=l(29772),I=l(47423),F=l(61283),_=l(51062),Rt=l(45942),Dt=l(29218),Lt=l(28764);function Mt(i,n){1&i&&t._UZ(0,"mat-spinner",3)}function Pt(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).editGroup()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}function Ut(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",14),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).deleteGroup()}),t.TgZ(1,"mat-icon"),t._uU(2,"delete_forever"),t.qZA(),t.qZA()}}function Gt(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",17),t.NdJ("click",function(){return t.CHM(e),t.oxw(3).onSyncDetail()}),t.ALo(1,"groupSyncIcon"),t.TgZ(2,"mat-icon"),t.ALo(3,"groupSyncIconColor"),t._uU(4),t.ALo(5,"groupSyncIcon"),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(3);t.Q6J("disabled","sync_disabled"===t.lcZ(1,5,e.group)),t.xp6(2),t.Tol(t.lcZ(3,7,e.group)),t.xp6(2),t.hij(" ",t.lcZ(5,9,e.group)," ")}}function wt(i,n){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"span",15),t.ALo(4,"translate"),t.ALo(5,"groupSyncToolTip"),t.YNc(6,Gt,6,11,"button",16),t.qZA(),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.hij(" , ",t.lcZ(2,4,"GROUP_DETAIL.SYNCHRONIZATION"),": "),t.xp6(2),t.Q6J("matTooltipPosition","above")("matTooltip",t.lcZ(4,6,t.lcZ(5,8,e.group))),t.xp6(3),t.Q6J("ngIf",e.syncAuth)}}const yt=function(){return{color:"black"}},qt=function(i,n){return["/organizations",i,"groups",n]},Ft=function(i){return["/organizations",i]};function Vt(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"div",4),t._UZ(2,"mat-icon",5),t.ALo(3,"translate"),t.TgZ(4,"div",6),t.TgZ(5,"div",7),t.TgZ(6,"a",8),t._uU(7),t.qZA(),t.TgZ(8,"span",9),t._uU(9),t.qZA(),t.YNc(10,Pt,3,0,"button",10),t.YNc(11,Ut,3,0,"button",11),t.qZA(),t.TgZ(12,"div"),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.TgZ(15,"span",12),t._uU(16),t.ALo(17,"translate"),t.ALo(18,"translate"),t.TgZ(19,"a",8),t._uU(20),t.qZA(),t._uU(21),t.ALo(22,"translate"),t.YNc(23,wt,7,10,"span",2),t.qZA(),t.qZA(),t.qZA(),t._UZ(24,"app-animated-router-outlet"),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.s9C("matTooltip",t.lcZ(3,16,"GROUP_DETAIL.ENTITY")),t.Q6J("ngStyle",t.DdM(26,yt)),t.xp6(4),t.Q6J("routerLink",t.WLB(27,qt,e.vo.id,e.group.id)),t.xp6(1),t.hij(" ",e.group.shortName," "),t.xp6(2),t.hij(" \xa0#",e.group.id," "),t.xp6(1),t.Q6J("ngIf","members"!==e.group.name&&e.editAuth),t.xp6(1),t.Q6J("ngIf","members"!==e.group.name&&e.deleteAuth),t.xp6(2),t.AsE("",t.lcZ(14,18,"GROUP_DETAIL.UUID"),": ",e.group.uuid,""),t.xp6(3),t.AsE(" ",t.lcZ(17,20,"GROUP_DETAIL.ENTITY"),", ",t.lcZ(18,22,"GROUP_DETAIL.VO_NAME"),": "),t.xp6(3),t.Q6J("routerLink",t.VKq(30,Ft,e.vo.id)),t.xp6(1),t.Oqu(e.vo.name),t.xp6(1),t.AsE(", ",t.lcZ(22,24,"GROUP_DETAIL.DESCRIPTION"),": ",e.group.description," "),t.xp6(2),t.Q6J("ngIf",e.syncEnabled)}}let Yt=(()=>{class i{constructor(e,o,a,s,r,d,A,v,D,nt){this.sideMenuService=e,this.voService=o,this.route=a,this.sideMenuItemService=s,this.groupService=r,this.dialog=d,this.guiAuthResolver=A,this.router=v,this.entityStorageService=D,this.reloadEntityDetail=nt,this.editAuth=!1,this.deleteAuth=!1,this.loading=!1,this.syncAuth=!1,this.syncEnabled=!1,this.attrNames=[S.r.GROUP_SYNC_ENABLED,S.r.GROUP_LAST_SYNC_STATE,S.r.GROUP_LAST_SYNC_TIMESTAMP,S.r.GROUP_STRUCTURE_SYNC_ENABLED,S.r.GROUP_LAST_STRUCTURE_SYNC_STATE,S.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]}ngOnInit(){this.reloadEntityDetail.entityDetailChange.subscribe(()=>{this.reloadData()}),this.reloadData()}isSynchronized(){return this.group.attributes.some(e=>"synchronizationEnabled"===e.friendlyName&&null!==e.value&&"true"===e.value.toString())}onSyncDetail(){const e=(0,T.kZ)();e.data={groupId:this.group.id,theme:"group-theme"},this.dialog.open(L.Bp,e)}editGroup(){const e=(0,T.kZ)();e.width="450px",e.data={theme:"group-theme",group:this.group,dialogType:L.Eg.GROUP},this.dialog.open(L.rd,e).afterClosed().subscribe(a=>{a&&this.groupService.getGroupById(this.group.id).subscribe(s=>{this.group=s,this.setMenuItems()})})}reloadData(){this.loading=!0,this.route.params.subscribe(e=>{const a=e.groupId;this.voService.getVoById(e.voId).subscribe(s=>{this.vo=s,this.groupService.getGroupById(a).subscribe(r=>{this.group=r,this.entityStorageService.setEntity({id:r.id,voId:s.id,parentGroupId:r.parentGroupId,beanName:r.beanName}),(0,T.sF)("groups",this.group),(0,T.XI)(this.group,s.name),this.guiAuthResolver.isAuthorized("getRichGroupByIdWithAttributesByNames_int_List_policy",[this.group])?this.groupService.getRichGroupByIdWithAttributesByNames(a,this.attrNames).subscribe(d=>{this.group=d,this.syncEnabled=this.isSynchronized(),this.syncAuth=this.guiAuthResolver.isAuthorized("forceGroupSynchronization_Group_policy",[this.group])},()=>this.loading=!1):this.syncEnabled=!1,this.editAuth=this.guiAuthResolver.isAuthorized("updateGroup_Group_policy",[this.group]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteGroup_Group_boolean_policy",[this.group]),this.setMenuItems(),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)})}setMenuItems(){const e=this.sideMenuItemService.parseVo(this.vo),o=this.sideMenuItemService.parseGroup(this.group);this.sideMenuService.setAccessMenuItems([e,o])}deleteGroup(){const e=(0,T.kZ)();e.width="500px",e.data={theme:"group-theme",groups:[this.group]},this.dialog.open(Ot.P,e).afterClosed().subscribe(a=>{a&&this.router.navigate(["../"],{relativeTo:this.route})})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(y.D),t.Y36(g.YF),t.Y36(E.gz),t.Y36(j.V),t.Y36(g.ff),t.Y36(p.uw),t.Y36(u.x4),t.Y36(E.F0),t.Y36(u.fb),t.Y36(rt.G))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","group-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-group-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"group-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit group",3,"click",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","","aria-label","Edit group",3,"click"],["mat-icon-button","",3,"click"],[3,"matTooltipPosition","matTooltip"],["mat-icon-button","",3,"disabled","click",4,"ngIf"],["mat-icon-button","",3,"disabled","click"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"perun-web-apps-back-button"),t.YNc(2,Mt,1,0,"mat-spinner",1),t.YNc(3,Vt,25,32,"div",2),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading&&void 0!==o.vo&&void 0!==o.group))},directives:[H.W,h.O5,f.$g,M.Hw,N.gM,h.PC,E.yS,I.lW,F.A],pipes:[_.X$,Rt.r,Dt.J,Lt.F],styles:[""],data:{animation:[O.Ji]}}),i})();function Jt(i,n){1&i&&t._UZ(0,"mat-spinner",3)}const Qt=function(i){return["/admin","users",i]};function kt(i,n){if(1&i&&(t.TgZ(0,"a",8),t._uU(1),t.qZA()),2&i){const e=t.oxw(2);t.Q6J("routerLink",t.VKq(2,Qt,e.member.userId)),t.xp6(1),t.hij(" ",e.member.userId," ")}}function Bt(i,n){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Oqu(e.member.userId)}}const jt=function(){return{color:"black"}},Ht=function(i,n){return["/organizations",i,"members",n]};function $t(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"div",4),t._UZ(2,"mat-icon",5),t.ALo(3,"translate"),t.TgZ(4,"div",6),t.TgZ(5,"div",7),t.TgZ(6,"a",8),t._uU(7),t.qZA(),t.TgZ(8,"span",9),t._uU(9),t.qZA(),t.qZA(),t.TgZ(10,"span",10),t._uU(11),t.ALo(12,"translate"),t.ALo(13,"translate"),t.YNc(14,kt,2,4,"a",11),t.YNc(15,Bt,2,1,"span",2),t.qZA(),t.qZA(),t.qZA(),t._UZ(16,"app-animated-router-outlet"),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.s9C("matTooltip",t.lcZ(3,9,"MEMBER_DETAIL.ENTITY")),t.Q6J("ngStyle",t.DdM(15,jt)),t.xp6(4),t.Q6J("routerLink",t.WLB(16,Ht,e.vo.id,e.member.id)),t.xp6(1),t.hij(" ",e.fullName," "),t.xp6(2),t.hij(" \xa0#",e.member.id," "),t.xp6(2),t.AsE(" ",t.lcZ(12,11,"MEMBER_DETAIL.ENTITY"),", ",t.lcZ(13,13,"MEMBER_DETAIL.USER_ID"),": "),t.xp6(3),t.Q6J("ngIf",e.isAuthorized),t.xp6(1),t.Q6J("ngIf",!e.isAuthorized)}}let zt=(()=>{class i{constructor(e,o,a,s,r,d,A){this.sideMenuItemService=e,this.translate=o,this.sideMenuService=a,this.membersService=s,this.voService=r,this.route=d,this.authResolver=A,this.fullName="",this.isAuthorized=!1,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{const o=e.voId,a=e.memberId;this.isAuthorized=this.authResolver.isPerunAdminOrObserver(),this.voService.getVoById(o).subscribe(s=>{this.vo=s,this.membersService.getRichMemberWithAttributes(a).subscribe(r=>{this.member=r;const d=this.sideMenuItemService.parseVo(this.vo),A=this.sideMenuItemService.parseMember(this.member,this.vo);this.fullName=A.label,this.sideMenuService.setAccessMenuItems([d,A]),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(j.V),t.Y36(_.sK),t.Y36(y.D),t.Y36(g.uq),t.Y36(g.YF),t.Y36(E.gz),t.Y36(u.x4))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-member-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","member-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-user-dark",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"member-link",3,"routerLink"],[1,"text-muted"],[1,"mt-1","entity-info"],["class","member-link","queryParamsHandling","merge",3,"routerLink",4,"ngIf"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"perun-web-apps-back-button"),t.YNc(2,Jt,1,0,"mat-spinner",1),t.YNc(3,$t,17,19,"div",2),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading&&void 0!==o.vo&&void 0!==o.member))},directives:[H.W,h.O5,f.$g,M.Hw,N.gM,h.PC,E.yS,F.A],pipes:[_.X$],styles:[""],data:{animation:[O.Ji]}}),i})();var V=l(71135);function Xt(i,n){1&i&&t._UZ(0,"mat-spinner",2)}function Wt(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",3),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("items",e.navItems)("size","small")}}let Kt=(()=>{class i{constructor(e,o,a,s,r){this.sideMenuService=e,this.voService=o,this.router=a,this.authResolver=s,this.entityStorageService=r,this.items=[],this.navItems=[],this.loading=!1}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.initNavItems(),this.loading=!1}initNavItems(){this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-user",url:`/organizations/${this.vo.id}/members`,label:"MENU_ITEMS.VO.MEMBERS",style:"vo-btn"}),this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-group",url:`/organizations/${this.vo.id}/groups`,label:"MENU_ITEMS.VO.GROUPS",style:"vo-btn"}),this.authResolver.isAuthorized("getRichResources_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-manage-facility",url:`/organizations/${this.vo.id}/resources`,label:"MENU_ITEMS.VO.RESOURCES",style:"vo-btn"}),this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-applications",url:`/organizations/${this.vo.id}/applications`,label:"MENU_ITEMS.VO.APPLICATIONS",style:"vo-btn"}),this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-user",url:`/organizations/${this.vo.id}/sponsoredMembers`,label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",style:"vo-btn"}),this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-service-identity",url:`/organizations/${this.vo.id}/serviceAccounts`,label:"MENU_ITEMS.VO.SERVICE_MEMBERS",style:"vo-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/organizations/${this.vo.id}/attributes`,label:"MENU_ITEMS.VO.ATTRIBUTES",style:"vo-btn"}),this.authResolver.isAuthorized("getMembersCount_Vo_Status_policy",[this.vo])&&this.authResolver.isAuthorized("getMembersCount_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-statistics",url:`/organizations/${this.vo.id}/statistics`,label:"MENU_ITEMS.VO.STATISTICS",style:"vo-btn"}),(this.authResolver.isManagerPagePrivileged(this.vo)||this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[this.vo])||this.authResolver.isThisVoAdminOrObserver(this.vo.id))&&this.navItems.push({cssIcon:"perun-settings2",url:`/organizations/${this.vo.id}/settings`,label:"MENU_ITEMS.VO.SETTINGS",style:"vo-btn"})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(y.D),t.Y36(g.YF),t.Y36(E.F0),t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-overview"]],decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,o){1&e&&(t.YNc(0,Xt,1,0,"mat-spinner",0),t.YNc(1,Wt,2,2,"div",1)),2&e&&(t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,V.L],styles:[""]}),i})();var te=l(4732),ee=l(81847),ie=l(11717);function oe(i,n){1&i&&t._UZ(0,"mat-spinner",3)}function ne(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).editVo()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}function ae(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",14),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).removeVo()}),t.TgZ(1,"mat-icon"),t._uU(2,"delete_forever"),t.qZA(),t.qZA()}}const se=function(){return{color:"black"}},re=function(i){return["/organizations/",i]};function le(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"div",4),t._UZ(2,"mat-icon",5),t.ALo(3,"translate"),t.TgZ(4,"div",6),t.TgZ(5,"div",7),t.TgZ(6,"a",8),t._uU(7),t.qZA(),t.TgZ(8,"span",9),t._uU(9),t.qZA(),t.YNc(10,ne,3,0,"button",10),t.YNc(11,ae,3,0,"button",11),t.qZA(),t.TgZ(12,"span",12),t._uU(13),t.ALo(14,"translate"),t.ALo(15,"translate"),t.qZA(),t.qZA(),t.qZA(),t._UZ(16,"app-animated-router-outlet"),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.s9C("matTooltip",t.lcZ(3,10,"VO_DETAIL.ENTITY")),t.Q6J("ngStyle",t.DdM(16,se)),t.xp6(4),t.Q6J("routerLink",t.VKq(17,re,e.vo.id)),t.xp6(1),t.hij(" ",e.vo.name," "),t.xp6(2),t.hij(" \xa0#",e.vo.id," "),t.xp6(1),t.Q6J("ngIf",e.editAuth),t.xp6(1),t.Q6J("ngIf",e.removeAuth),t.xp6(2),t.lnq(" ",t.lcZ(14,12,"VO_DETAIL.ENTITY"),", ",t.lcZ(15,14,"VO_DETAIL.SHORT_NAME"),": ",e.vo.shortName," ")}}let ce=(()=>{class i{constructor(e,o,a,s,r,d,A,v,D){this.sideMenuService=e,this.voService=o,this.route=a,this.router=s,this.sideMenuItemService=r,this.dialog=d,this.authResolver=A,this.entityStorageService=v,this.reloadEntityDetail=D,this.loading=!1}ngOnInit(){this.reloadData(),this.reloadEntityDetail.entityDetailChange.subscribe(()=>{this.reloadData()})}reloadData(){this.loading=!0,this.route.params.subscribe(e=>{this.voService.getVoById(e.voId).subscribe(a=>{this.vo=a,this.entityStorageService.setEntity({id:a.id,beanName:a.beanName}),this.editAuth=this.authResolver.isAuthorized("updateVo_Vo_policy",[this.vo]),this.removeAuth=this.authResolver.isAuthorized("deleteVo_Vo_policy",[this.vo]),this.setMenuItems(),(0,T.sF)("vos",this.vo),(0,T.XI)(this.vo),this.loading=!1},()=>this.loading=!1)})}editVo(){const e=(0,T.kZ)();e.width="450px",e.data={theme:"vo-theme",vo:this.vo,dialogType:L.Eg.VO},this.dialog.open(L.rd,e).afterClosed().subscribe(a=>{a&&this.voService.getVoById(this.vo.id).subscribe(s=>{this.vo=s,this.setMenuItems()})})}setMenuItems(){const e=this.sideMenuItemService.parseVo(this.vo);this.sideMenuService.setAccessMenuItems([e])}removeVo(){const e=(0,T.kZ)();e.width="500px",e.data={theme:"vo-theme",vos:[this.vo]},this.dialog.open(ie.o,e).afterClosed().subscribe(a=>{a&&this.router.navigate([""])})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(y.D),t.Y36(g.YF),t.Y36(E.gz),t.Y36(E.F0),t.Y36(j.V),t.Y36(p.uw),t.Y36(u.x4),t.Y36(u.fb),t.Y36(rt.G))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","vo-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-vo-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge","data-cy","vo-name-link",1,"vo-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit Vo",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Remove Vo","data-cy","delete-vo",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","","aria-label","Edit Vo",3,"click"],["mat-icon-button","","aria-label","Remove Vo","data-cy","delete-vo",3,"click"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"perun-web-apps-back-button"),t.YNc(2,oe,1,0,"mat-spinner",1),t.YNc(3,le,17,19,"div",2),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading&&void 0!==o.vo))},directives:[H.W,h.O5,f.$g,M.Hw,N.gM,h.PC,E.yS,I.lW,F.A],pipes:[_.X$],styles:[".shortname[_ngcontent-%COMP%]{font-size:medium}"],data:{animation:[O.Ji]}}),i})();var c=l(32075),pe=l(58964),ue=l(19352),Z=l(9224),de=l(60526),lt=l(82322),U=l(98380),_e=l(69773),me=l(21757),ge=l(21330),ct=l(62383);function he(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"perun-web-apps-group-search-select",7),t.NdJ("groupSelected",function(a){return t.CHM(e),t.oxw().groupIsSelected(a)}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("groups",e.groups)("firstSelectedGroup",e.selectedGroup)}}function Te(i,n){1&i&&t._UZ(0,"mat-spinner",8)}function Ae(i,n){1&i&&(t.TgZ(0,"app-alert",9),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.NO_GROUPS_FOUND")))}function fe(i,n){1&i&&t._UZ(0,"th",17)}function Ie(i,n){if(1&i&&(t.TgZ(0,"td",18),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.hij("",e,":")}}function Ee(i,n){1&i&&t._UZ(0,"th",17)}function ve(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",22),t.NdJ("click",function(){return t.CHM(e),t.oxw(4).changeStatus()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}function be(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"i"),t.ALo(2,"memberStatusIconColor"),t._uU(3),t.ALo(4,"memberStatusIcon"),t.qZA(),t.TgZ(5,"b",20),t._uU(6),t.ALo(7,"transformMemberStatus"),t.qZA(),t.YNc(8,ve,3,0,"button",21),t.qZA()),2&i){const e=t.oxw(3);t.xp6(1),t.Gre("material-icons vert-center mr-1 ",t.lcZ(2,6,e.selectedMember.groupStatus),""),t.xp6(2),t.hij(" ",t.lcZ(4,8,e.selectedMember.groupStatus)," "),t.xp6(3),t.hij(" ",t.lcZ(7,10,e.selectedMember.groupStatus)," "),t.xp6(2),t.Q6J("ngIf",e.authResolver.isThisVoAdmin(e.vo.id)||e.authResolver.isThisGroupAdmin(e.selectedGroup.id))}}function Ce(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",22),t.NdJ("click",function(){return t.CHM(e),t.oxw(4).changeExpiration()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}function Se(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"i",2),t._uU(2),t.ALo(3,"parseDate"),t.qZA(),t.YNc(4,Ce,3,0,"button",21),t.qZA()),2&i){const e=t.oxw(3);t.xp6(2),t.hij(" ",t.lcZ(3,2,e.expiration)," "),t.xp6(2),t.Q6J("ngIf",e.authResolver.isThisVoAdmin(e.vo.id)||e.authResolver.isThisGroupAdmin(e.selectedGroup.id))}}function Ze(i,n){if(1&i&&(t.TgZ(0,"td",19),t.YNc(1,be,9,12,"div",6),t.YNc(2,Se,5,4,"div",6),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf","Status"===e),t.xp6(1),t.Q6J("ngIf","Expiration"===e)}}function xe(i,n){1&i&&t._UZ(0,"tr",23)}function Ne(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"table",10),t.ynx(2,11),t.YNc(3,fe,1,0,"th",12),t.YNc(4,Ie,2,1,"td",13),t.BQk(),t.ynx(5,14),t.YNc(6,Ee,1,0,"th",12),t.YNc(7,Ze,3,2,"td",15),t.BQk(),t.YNc(8,xe,1,0,"tr",16),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("dataSource",e.groupMembershipDataSource),t.xp6(7),t.Q6J("matRowDefColumns",e.displayedColumns)}}let Oe=(()=>{class i{constructor(e,o,a,s){this.groupsManager=e,this.authResolver=o,this.translate=a,this.dialog=s,this.noGroups=!1,this.groupMembershipDataSource=new c.by,this.expiration="",this.displayedColumns=["attName","attValue"]}ngOnChanges(){this.loading=!0,this.initLoading=!0,this.groupMembershipDataSource=new c.by(["Status","Expiration"]),this.groupsManager.getMemberGroups(this.member.id).subscribe(e=>{if(this.groups=e,0===this.groups.length)return void(this.noGroups=!0);const o=this.findInitiallySelectedGroupId();this.groupIsSelected(o),this.initLoading=!1})}findInitiallySelectedGroupId(){if(this.recentIds=(0,T.vL)("groups"),this.recentIds){const e=this.groups.find(o=>o.id===this.recentIds[0]);if(e)return e}return this.groups[0]}groupIsSelected(e){this.loading=!0,this.selectedGroup=e,this.groupsManager.getGroupRichMembersByIds(this.selectedGroup.id,[this.member.id],[S.r.MEMBER_DEF_GROUP_EXPIRATION]).subscribe(o=>{this.selectedMember=o[0],this.expirationAtt=this.selectedMember.memberAttributes.find(a=>"groupMembershipExpiration"===a.baseFriendlyName),this.expirationAtt?(this.groupMembershipDataSource=new c.by(["Status","Expiration"]),this.expiration=this.expirationAtt.value?this.expirationAtt.value:this.translate.instant("MEMBER_DETAIL.OVERVIEW.NEVER_EXPIRES")):this.groupMembershipDataSource=new c.by(["Status"]),this.loading=!1})}changeExpiration(e=!1){const o=(0,T.kZ)();o.width="400px",o.data={memberId:this.member.id,groupId:this.selectedGroup.id,expirationAttr:this.expirationAtt,status:this.selectedMember.groupStatus,statusChanged:e},this.dialog.open(L.u3,o).afterClosed().subscribe(s=>{s&&this.groupIsSelected(this.selectedGroup)})}changeStatus(){const e=(0,T.kZ)();e.width="600px",e.data={member:this.selectedMember,voId:this.vo.id,groupId:this.selectedGroup.id},this.dialog.open(L.pf,e).afterClosed().subscribe(a=>{a&&(this.selectedMember=a,this.changeExpiration(!0))})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.ff),t.Y36(u.x4),t.Y36(_.sK),t.Y36(p.uw))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-member-overview-groups"]],inputs:{vo:"vo",member:"member"},features:[t.TTD],decls:11,vars:7,consts:[[1,"mat-elevation-z3","groups-card","mt-4"],[1,"page-subtitle"],[1,"column-center"],[3,"groups","firstSelectedGroup","groupSelected",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[3,"groups","firstSelectedGroup","groupSelected"],[1,"mr-auto","ml-auto"],["alert_type","warn"],["mat-table","",1,"ml-auto","mr-auto",3,"dataSource"],["matColumnDef","attName"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","attValue"],["class","column-center","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],[1,"vert-top"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["mat-row",""]],template:function(e,o){1&e&&(t.TgZ(0,"mat-card",0),t.TgZ(1,"mat-card-header"),t.TgZ(2,"mat-card-title"),t.TgZ(3,"h1",1),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(6,"mat-card-content",2),t.YNc(7,he,1,2,"perun-web-apps-group-search-select",3),t.YNc(8,Te,1,0,"mat-spinner",4),t.YNc(9,Ae,3,3,"app-alert",5),t.YNc(10,Ne,9,2,"div",6),t.qZA(),t.qZA()),2&e&&(t.xp6(4),t.Oqu(t.lcZ(5,5,"MEMBER_DETAIL.OVERVIEW.GROUP_MEMBERSHIP")),t.xp6(3),t.Q6J("ngIf",!o.initLoading),t.xp6(1),t.Q6J("ngIf",(o.loading||o.initLoading)&&!o.noGroups),t.xp6(1),t.Q6J("ngIf",o.noGroups),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[Z.a8,Z.dk,Z.n5,Z.dn,h.O5,lt.h,f.$g,U.w,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,I.lW,M.Hw,c.nj,c.Gk],pipes:[_.X$,_e.u,me.f,ge.r,ct.M],styles:[".groups-card[_ngcontent-%COMP%]{max-width:400px}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}.vert-center[_ngcontent-%COMP%]{vertical-align:middle!important}"]}),i})(),Re=(()=>{class i{transform(e){return(0,T.Cz)(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=t.Yjl({name:"attributeFriendlyName",type:i,pure:!0}),i})();var $=l(31359);function De(i,n){1&i&&t._UZ(0,"mat-spinner",2)}function Le(i,n){1&i&&t._UZ(0,"th",17)}function Me(i,n){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit,o=t.oxw(2);t.xp6(1),t.hij(" ",o.attributes.get(e)[0],": ")}}function Pe(i,n){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"attributeFriendlyName"),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,e),": ")}}function Ue(i,n){if(1&i&&(t.TgZ(0,"td",18),t.YNc(1,Me,2,1,"span",1),t.YNc(2,Pe,3,3,"span",1),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(2);t.xp6(1),t.Q6J("ngIf",null!==o.attributes.get(e)[0]),t.xp6(1),t.Q6J("ngIf",null===o.attributes.get(e)[0])}}function Ge(i,n){1&i&&t._UZ(0,"th",17)}function we(i,n){if(1&i&&(t.TgZ(0,"td",19),t._uU(1),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(2);t.xp6(1),t.hij(" ",o.attributes.get(e)[1]," ")}}function ye(i,n){1&i&&t._UZ(0,"tr",20)}function qe(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"mat-card",5),t.TgZ(1,"mat-card-header"),t.TgZ(2,"mat-card-title"),t.TgZ(3,"h1",6),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(6,"mat-card-content",21),t.TgZ(7,"div",22),t.ALo(8,"translate"),t.TgZ(9,"button",23),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).requestPwdReset()}),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(2);t.xp6(4),t.Oqu(t.lcZ(5,5,"MEMBER_DETAIL.OVERVIEW.RESET_PASSWORD")),t.xp6(3),t.Q6J("matTooltip",t.lcZ(8,7,"MEMBER_DETAIL.OVERVIEW.RESET_DISABLED"))("matTooltipDisabled",e.logins.length>0),t.xp6(2),t.Q6J("disabled",!e.logins.length),t.xp6(1),t.hij(" ",t.lcZ(11,9,"MEMBER_DETAIL.OVERVIEW.SEND_REQUEST")," ")}}function Fe(i,n){1&i&&(t.TgZ(0,"th",17),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.SPONSOR_NAME")," "))}function Ve(i,n){if(1&i&&(t.TgZ(0,"td",33),t._uU(1),t.ALo(2,"userFullName"),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,e.user)," ")}}function Ye(i,n){1&i&&(t.TgZ(0,"th",17),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.EXPIRATION_TABLE")," "))}function Je(i,n){if(1&i&&(t.TgZ(0,"td",33),t.TgZ(1,"span",34),t._uU(2),t.ALo(3,"parseDate"),t.qZA(),t.qZA()),2&i){const e=n.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,e.validityTo))}}function Qe(i,n){1&i&&t._UZ(0,"tr",35)}function ke(i,n){1&i&&t._UZ(0,"tr",20)}const pt=function(){return["sponsors","expiration"]};function Be(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"mat-card-content"),t.TgZ(1,"h6",26),t._uU(2),t.ALo(3,"translate"),t.TgZ(4,"button",27),t.NdJ("click",function(){return t.CHM(e),t.oxw(3).changeSponsors()}),t.TgZ(5,"mat-icon"),t._uU(6,"edit"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(7,"table",28),t.ynx(8,29),t.YNc(9,Fe,3,3,"th",9),t.YNc(10,Ve,3,3,"td",30),t.BQk(),t.ynx(11,31),t.YNc(12,Ye,3,3,"th",9),t.YNc(13,Je,4,3,"td",30),t.BQk(),t.YNc(14,Qe,1,0,"tr",32),t.YNc(15,ke,1,0,"tr",13),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(3);t.xp6(2),t.hij(" ",t.lcZ(3,4,"MEMBER_DETAIL.OVERVIEW.SPONSORS"),": "),t.xp6(5),t.Q6J("dataSource",e.sponsorsDataSource),t.xp6(7),t.Q6J("matHeaderRowDef",t.DdM(6,pt)),t.xp6(1),t.Q6J("matRowDefColumns",t.DdM(7,pt))}}function je(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"mat-card",24),t.TgZ(2,"mat-card-header"),t.TgZ(3,"mat-card-title"),t.TgZ(4,"h1",6),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.TgZ(7,"mat-card-subtitle",25),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.qZA(),t.YNc(10,Be,16,8,"mat-card-content",1),t.qZA(),t.qZA()),2&i){const e=t.oxw(2);t.xp6(5),t.Oqu(t.lcZ(6,3,"MEMBER_DETAIL.OVERVIEW.SPONSORSHIP")),t.xp6(3),t.hij(" ",t.lcZ(9,5,"MEMBER_DETAIL.OVERVIEW.SPONSORED_BY")," "),t.xp6(2),t.Q6J("ngIf",0!==e.sponsors.length)}}function He(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"div",3),t.TgZ(2,"div",4),t.TgZ(3,"mat-card",5),t.TgZ(4,"mat-card-header"),t.TgZ(5,"mat-card-title"),t.TgZ(6,"h1",6),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(9,"mat-card-content"),t.TgZ(10,"table",7),t.ynx(11,8),t.YNc(12,Le,1,0,"th",9),t.YNc(13,Ue,3,2,"td",10),t.BQk(),t.ynx(14,11),t.YNc(15,Ge,1,0,"th",9),t.YNc(16,we,2,1,"td",12),t.BQk(),t.YNc(17,ye,1,0,"tr",13),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(18,"div",4),t._UZ(19,"app-member-overview-membership",14),t._UZ(20,"app-member-overview-groups",14),t.qZA(),t.TgZ(21,"div",4),t.YNc(22,qe,12,11,"mat-card",15),t.YNc(23,je,11,7,"div",1),t.qZA(),t.qZA(),t.TgZ(24,"div"),t._UZ(25,"perun-web-apps-menu-buttons-field",16),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(7),t.Oqu(t.lcZ(8,11,"MEMBER_DETAIL.OVERVIEW.PERSONAL")),t.xp6(3),t.Q6J("dataSource",e.dataSource),t.xp6(7),t.Q6J("matRowDefColumns",e.displayedColumns),t.xp6(2),t.Q6J("member",e.member)("vo",e.vo),t.xp6(1),t.Q6J("member",e.member)("vo",e.vo),t.xp6(2),t.Q6J("ngIf",e.pwdResetAuth),t.xp6(1),t.Q6J("ngIf",e.member.sponsored),t.xp6(2),t.Q6J("items",e.navItems)("size","small")}}let $e=(()=>{class i{constructor(e,o,a,s,r,d,A){this.attributesManager=e,this.membersService=o,this.usersManager=a,this.route=s,this.dialog=r,this.authResolver=d,this.storeService=A,this.expiration="",this.logins=[],this.member=null,this.navItems=[],this.attributeNames=[],this.attributes=new Map,this.dataSource=new c.by,this.displayedColumns=["attName","attValue"],this.sponsors=[],this.sponsorsDataSource=new c.by,this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(e=>{const o=e.memberId;this.attributeNames=this.storeService.getMemberProfileAttributeNames(),this.membersService.getRichMemberWithAttributes(o).subscribe(a=>{const s=this.storeService.get("password_namespace_attributes").map(r=>(r=r.split(":"))[r.length-1]);this.attributesManager.getLogins(a.userId).subscribe(r=>{this.logins=r.filter(d=>s.includes(d.friendlyNameParameter)),this.member=a,this.initAttributes(),this.dataSource=new c.by(Array.from(this.attributes.keys())),this.vo={id:a.voId,beanName:"Vo"},this.pwdResetAuth=this.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[this.vo,this.member]),this.member.sponsored&&this.authResolver.isAuthorized("getSponsorsForMember_Member_List_policy",[this.member])?this.usersManager.getSponsorsForMember(this.member.id,null).subscribe(d=>{this.sponsors=d,this.sponsorsDataSource=new c.by(this.sponsors),this.initNavItems(),this.refreshData()}):(this.initNavItems(),this.refreshData())},()=>this.loading=!1)})})}initAttributes(){this.attributeNames.forEach(e=>{this.attributes.set(e,[null,"-"])}),this.filterAttributes()}filterAttributes(){null!==this.member.memberAttributes&&this.member.memberAttributes.forEach(e=>{this.attributeNames.includes(e.friendlyName)&&this.attributes.set(e.friendlyName,[e.displayName,e.value.toString()])}),null!==this.member.userAttributes&&this.member.userAttributes.forEach(e=>{this.attributeNames.includes(e.friendlyName)&&this.attributes.set(e.friendlyName,[e.displayName,e.value.toString()])})}initNavItems(){this.navItems=[],this.authResolver.isAuthorized("getMemberGroups_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-group",url:`/organizations/${this.member.voId}/members/${this.member.id}/groups`,label:"MENU_ITEMS.MEMBER.GROUPS",style:"member-btn"}),this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-applications",url:`/organizations/${this.member.voId}/members/${this.member.id}/applications`,label:"MENU_ITEMS.MEMBER.APPLICATIONS",style:"member-btn"}),this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-resource",url:`/organizations/${this.member.voId}/members/${this.member.id}/resources`,label:"MENU_ITEMS.MEMBER.RESOURCES",style:"member-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/organizations/${this.vo.id}/members/${this.member.id}/attributes`,label:"MENU_ITEMS.MEMBER.ATTRIBUTES",style:"member-btn"})}refreshData(){this.loading=!0,this.membersService.getRichMemberWithAttributes(this.member.id).subscribe(e=>{this.member=e,this.loading=!1},()=>this.loading=!1)}requestPwdReset(){const e=(0,T.kZ)();e.width="400px",e.data={userId:this.member.userId,memberId:this.member.id,logins:this.logins},this.dialog.open(pe.m,e)}changeSponsors(){const e=(0,T.kZ)();e.width="650px",e.data={sponsors:this.sponsors,member:this.member,theme:"member-theme"},this.dialog.open(ue.H,e).afterClosed().subscribe(a=>{a&&(this.loading=!0,this.membersService.getRichMemberWithAttributes(this.member.id).subscribe(s=>{this.member=s,this.member.sponsored&&this.usersManager.getSponsorsForMember(this.member.id,null).subscribe(r=>{this.sponsors=r,this.sponsorsDataSource.data=this.sponsors}),this.loading=!1}))})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.H8),t.Y36(g.uq),t.Y36(g.Fv),t.Y36(E.gz),t.Y36(p.uw),t.Y36(u.x4),t.Y36(u.d6))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-member-overview"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"member-cards"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"page-subtitle"],["mat-table","",3,"dataSource"],["matColumnDef","attName"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","attValue"],["class","column-center","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"member","vo"],["class","mat-elevation-z3",4,"ngIf"],[3,"items","size"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],["mat-row",""],[1,"column-center"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"action-button",3,"disabled","click"],[1,"mat-elevation-z3","mt-4"],[1,"mt-n3"],[1,"d-flex"],["mat-icon-button","",1,"ml-auto","mt-n2",3,"click"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","sponsors"],["mat-cell","",4,"matCellDef"],["matColumnDef","expiration"],["mat-header-row","",4,"matHeaderRowDef"],["mat-cell",""],[1,"font-italic"],["mat-header-row",""]],template:function(e,o){1&e&&(t.YNc(0,De,1,0,"mat-spinner",0),t.YNc(1,He,26,13,"div",1)),2&e&&(t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,Z.a8,Z.dk,Z.n5,Z.dn,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.nj,c.Gk,de.b,Oe,N.gM,I.lW,Z.$j,M.Hw,c.as,c.XQ,V.L],pipes:[_.X$,Re,$.d,ct.M],styles:[".vert-center[_ngcontent-%COMP%]{vertical-align:inherit!important}.vert-top[_ngcontent-%COMP%]{vertical-align:top}.column-center[_ngcontent-%COMP%]{text-align:center}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}.member-cards[_ngcontent-%COMP%]{margin:0 -1rem}"]}),i})();var ze=l(85243);function Xe(i,n){1&i&&t._UZ(0,"mat-spinner",2)}const We=function(i,n){return["/organizations",i,"groups",n]};function Ke(i,n){if(1&i&&(t.TgZ(0,"p"),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"a",4),t._uU(4),t.qZA(),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.hij(" ",t.lcZ(2,3,"GROUP_DETAIL.SUBGROUP_INFO")," "),t.xp6(2),t.Q6J("routerLink",t.WLB(5,We,e.parentGroup.voId,e.parentGroup.id)),t.xp6(1),t.hij(" ",e.parentGroup.name," ")}}function ti(i,n){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,Ke,5,8,"p",1),t._UZ(2,"perun-web-apps-menu-buttons-field",3),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",null!==e.parentGroup),t.xp6(1),t.Q6J("items",e.navItems)("size","small")}}let ei=(()=>{class i{constructor(e,o,a,s,r,d,A,v){this.route=e,this.groupService=o,this.voService=a,this.guiAuthResolver=s,this.apiRequest=r,this.attributesManager=d,this.notificator=A,this.entityStorageService=v,this.navItems=[],this.parentGroup=null,this.loading=!1}ngOnInit(){this.loading=!0,this.loadData()}loadData(){this.loading=!0,this.route.params.subscribe(e=>{const a=e.groupId;this.voService.getVoById(e.voId).subscribe(s=>{this.groupService.getGroupById(a).subscribe(r=>{if(this.group=r,this.entityStorageService.setEntity({id:r.id,voId:s.id,parentGroupId:r.parentGroupId,beanName:r.beanName}),(0,T.sF)("groups",this.group),(0,T.XI)(this.group,s.name),this.loadParentGroupData(this.group.parentGroupId),null==this.group.parentGroupId)return this.parentGroup=null,this.initNavItems(),void(this.loading=!1);this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)})}loadParentGroupData(e){null!=e&&this.groupService.getGroupById(e).subscribe(o=>{this.parentGroup=o,this.initNavItems(),this.loading=!1},()=>this.loading=!1)}initNavItems(){this.navItems=[],this.guiAuthResolver.isAuthorized("getCompleteRichMembers_Group_List_boolean_policy",[this.group])&&this.navItems.push({cssIcon:"perun-user",url:`/organizations/${this.group.voId}/groups/${this.group.id}/members`,label:"MENU_ITEMS.GROUP.MEMBERS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[this.group])&&"members"!==this.group.name&&this.navItems.push({cssIcon:"perun-group",url:`/organizations/${this.group.voId}/groups/${this.group.id}/subgroups`,label:"MENU_ITEMS.GROUP.SUBGROUPS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getAssignedRichResources_Group_policy",[this.group])&&this.navItems.push({cssIcon:"perun-manage-facility",url:`/organizations/${this.group.voId}/groups/${this.group.id}/resources`,label:"MENU_ITEMS.GROUP.RESOURCES",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[this.group])&&this.navItems.push({cssIcon:"perun-applications",url:`/organizations/${this.group.voId}/groups/${this.group.id}/applications`,label:"MENU_ITEMS.GROUP.APPLICATIONS",style:"group-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/organizations/${this.group.voId}/groups/${this.group.id}/attributes`,label:"MENU_ITEMS.GROUP.ATTRIBUTES",style:"group-btn"});const e=this.guiAuthResolver.isAuthorized("getGroupMembersCount_Group_policy",[this.group]),o=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[this.group]),a=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[this.group]);e&&a&&o&&this.navItems.push({cssIcon:"perun-statistics",url:`/organizations/${this.group.voId}/groups/${this.group.id}/statistics`,label:"MENU_ITEMS.GROUP.STATISTICS",style:"group-btn"});let s=!1;this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(this.group.id,S.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{s=!0},D=>{"HttpErrorResponse"!==D.name&&this.notificator.showRPCError(D)});const r=this.guiAuthResolver.isManagerPagePrivileged(this.group),d=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),A=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),v=this.guiAuthResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[this.group]);(s||r||d||A||v)&&this.navItems.push({cssIcon:"perun-settings2",url:`/organizations/${this.group.voId}/groups/${this.group.id}/settings`,label:"MENU_ITEMS.GROUP.SETTINGS",style:"group-btn"})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(E.gz),t.Y36(g.ff),t.Y36(g.YF),t.Y36(u.x4),t.Y36(u.F5),t.Y36(g.H8),t.Y36(u.V6),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-overview"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"],["queryParamsHandling","merge",1,"group-link",3,"routerLink"]],template:function(e,o){1&e&&(t.YNc(0,Xe,1,0,"mat-spinner",0),t.YNc(1,ti,3,3,"div",1)),2&e&&(t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,E.yS,V.L],pipes:[_.X$],styles:[""]}),i})();var ii=l(15592);let oi=(()=>{class i{constructor(e){this.route=e}ngOnInit(){this.route.parent.params.subscribe(e=>{this.voId=e.voId})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(E.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-resources"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:1,vars:0,template:function(e,o){1&e&&t._UZ(0,"app-animated-router-outlet")},directives:[F.A],styles:[""],data:{animation:[O.Ji]}}),i})();var ni=l(94856);let ai=(()=>{class i{constructor(e,o){this.route=e,this.router=o,this.backButtonRegex=new RegExp("/organizations/\\d+/settings/\\w+$"),this.backButtonDisplayed=!1,this.currentUrl=o.url,this.backButtonDisplayed=this.backButtonRegex.test(this.currentUrl),o.events.subscribe(a=>{a instanceof E.m2&&(this.currentUrl=a.url,this.backButtonDisplayed=this.backButtonRegex.test(this.currentUrl))})}ngOnInit(){this.route.parent.params.subscribe(e=>{this.voId=e.voId})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(E.gz),t.Y36(E.F0))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-settings"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:1,vars:0,template:function(e,o){1&e&&t._UZ(0,"app-animated-router-outlet")},directives:[F.A],styles:[""],data:{animation:[O.Ji]}}),i})();var z=l(12651);let si=(()=>{class i{constructor(e){this.entityStorageService=e}ngOnInit(){this.vo=this.entityStorageService.getEntity()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-attributes"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"entityId","entity"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t._UZ(4,"app-one-entity-attribute-page",1),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,3,"VO_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),t.xp6(2),t.Q6J("entityId",o.vo.id)("entity","vo"))},directives:[z.t],pipes:[_.X$],styles:[""]}),i})();function ri(i,n){1&i&&t._UZ(0,"mat-spinner",2)}function li(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",3),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("items",e.items)("size","small")}}let ci=(()=>{class i{constructor(e,o,a,s,r){this.sideMenuService=e,this.voService=o,this.authResolver=a,this.router=s,this.entityStorageService=r,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.initItems(),this.loading=!1}initItems(){this.items=[];const e=this.authResolver.isThisVoAdminOrObserver(this.vo.id);e&&this.items.push({cssIcon:"perun-group",url:`/organizations/${this.vo.id}/settings/expiration`,label:"MENU_ITEMS.VO.EXPIRATION",style:"vo-btn"}),this.authResolver.isManagerPagePrivileged(this.vo)&&this.items.push({cssIcon:"perun-manager",url:`/organizations/${this.vo.id}/settings/managers`,label:"MENU_ITEMS.VO.MANAGERS",style:"vo-btn"}),e&&this.items.push({cssIcon:"perun-application-form",url:`/organizations/${this.vo.id}/settings/applicationForm`,label:"MENU_ITEMS.VO.APPLICATION_FORM",style:"vo-btn"}),e&&this.items.push({cssIcon:"perun-notification",url:`/organizations/${this.vo.id}/settings/notifications`,label:"MENU_ITEMS.VO.NOTIFICATIONS",style:"vo-btn"}),this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-external-sources",url:`/organizations/${this.vo.id}/settings/extsources`,label:"MENU_ITEMS.VO.EXTSOURCES",style:"vo-btn"})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(y.D),t.Y36(g.YF),t.Y36(u.x4),t.Y36(E.F0),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-settings-overview"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,o){1&e&&(t.YNc(0,ri,1,0,"mat-spinner",0),t.YNc(1,li,2,2,"div",1)),2&e&&(t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,V.L],styles:[""]}),i})();var X=l(32368),m=l(93075),k=l(79814),b=l(67322),G=l(98833),Y=l(74107),J=l(90508);const pi=["*"];let ui=(()=>{class i{constructor(){this.modelChange=new t.vpe}get model(){return this.modelValue}set model(e){this.modelValue=e}ngAfterViewInit(){this.toggle.change.subscribe(()=>this.valueChanged())}valueChanged(){this.modelChange.emit(this.toggle.checked)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-settings-toggle-item"]],viewQuery:function(e,o){if(1&e&&t.Gf(X.Rr,7),2&e){let a;t.iGM(a=t.CRH())&&(o.toggle=a.first)}},inputs:{title:"title",model:"model"},outputs:{modelChange:"modelChange"},ngContentSelectors:pi,decls:8,vars:5,consts:[[1,"mt-3"],[1,"d-flex","flex-row","align-items-baseline","justify-content-between"],[1,"setting-item","clickable",3,"click"],["color","primary",1,"ml-4",3,"ngModel","ngModelChange"],["toggle",""],[1,"ml-1"]],template:function(e,o){if(1&e){const a=t.EpF();t.F$t(),t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"label",2),t.NdJ("click",function(){return t.CHM(a),t.MAs(5).toggle()||o.valueChanged()}),t._uU(3),t.qZA(),t.TgZ(4,"mat-slide-toggle",3,4),t.NdJ("ngModelChange",function(r){return o.modelValue=r}),t.qZA(),t.qZA(),t.TgZ(6,"div",5),t.Hsn(7),t.qZA(),t.qZA()}if(2&e){const a=t.MAs(5);t.xp6(2),t.ekj("unselected-setting",!a.checked),t.xp6(1),t.hij(" ",o.title," "),t.xp6(1),t.Q6J("ngModel",o.modelValue),t.xp6(2),t.Q6J("@openClose",a.checked?"open":"closed")}},directives:[X.Rr,m.JJ,m.On],styles:[""],data:{animation:[O.BQ]}}),i})();var B=l(77446);function di(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",25),t.TgZ(1,"mat-form-field",26),t.TgZ(2,"input",20),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).currentConfiguration.periodStatic=a}),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-hint"),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(2);t.xp6(2),t.s9C("pattern",e.datePattern),t.s9C("placeholder",t.lcZ(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),t.Q6J("ngModel",e.currentConfiguration.periodStatic),t.xp6(3),t.Oqu(t.lcZ(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function _i(i,n){if(1&i&&(t.TgZ(0,"mat-option",27),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e.value),t.xp6(1),t.Oqu(e.text)}}function mi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",18),t.TgZ(1,"mat-form-field",19),t.TgZ(2,"input",20),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).currentConfiguration.periodDynamic=a}),t.ALo(3,"translate"),t.qZA(),t.qZA(),t.TgZ(4,"mat-form-field"),t.TgZ(5,"mat-label"),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"mat-select",8),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).currentConfiguration.periodDynamicUnit=a}),t.YNc(9,_i,2,2,"mat-option",17),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(2);t.xp6(2),t.s9C("pattern",e.dynamicAmountPattern),t.s9C("placeholder",t.lcZ(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),t.Q6J("ngModel",e.currentConfiguration.periodDynamic),t.xp6(4),t.Oqu(t.lcZ(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),t.xp6(2),t.Q6J("ngModel",e.currentConfiguration.periodDynamicUnit),t.xp6(1),t.Q6J("ngForOf",e.amountOptions)}}function gi(i,n){if(1&i&&(t.TgZ(0,"mat-option",27),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function hi(i,n){if(1&i&&(t.TgZ(0,"mat-option",27),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function Ti(i,n){if(1&i&&(t.TgZ(0,"mat-option",27),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e.value),t.xp6(1),t.Oqu(e.text)}}function Ai(i,n){if(1&i&&(t.TgZ(0,"mat-option",27),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e," ")}}function fi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",25),t.TgZ(1,"mat-form-field",26),t.TgZ(2,"input",20),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(3).currentConfiguration.specialLoaPeriodStatic=a}),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-hint"),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(3);t.xp6(2),t.s9C("pattern",e.datePattern),t.s9C("placeholder",t.lcZ(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),t.Q6J("ngModel",e.currentConfiguration.specialLoaPeriodStatic),t.xp6(3),t.Oqu(t.lcZ(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function Ii(i,n){if(1&i&&(t.TgZ(0,"mat-option",27),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e.value),t.xp6(1),t.Oqu(e.text)}}function Ei(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",18),t.TgZ(1,"mat-form-field",19),t.TgZ(2,"input",20),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(3).currentConfiguration.specialLoaPeriodDynamic=a}),t.ALo(3,"translate"),t.qZA(),t.qZA(),t.TgZ(4,"mat-form-field"),t.TgZ(5,"mat-label"),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"mat-select",8),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(3).currentConfiguration.specialLoaPeriodDynamicUnit=a}),t.YNc(9,Ii,2,2,"mat-option",17),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(3);t.xp6(2),t.s9C("pattern",e.dynamicAmountPattern),t.s9C("placeholder",t.lcZ(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),t.Q6J("ngModel",e.currentConfiguration.specialLoaPeriodDynamic),t.xp6(4),t.Oqu(t.lcZ(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),t.xp6(2),t.Q6J("ngModel",e.currentConfiguration.specialLoaPeriodDynamicUnit),t.xp6(1),t.Q6J("ngForOf",e.amountOptions)}}function vi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",28),t.TgZ(1,"mat-radio-group",8),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).currentConfiguration.specialLoaPeriodType=a}),t.TgZ(2,"mat-radio-button",9,29),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"mat-radio-button",11,30),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.qZA(),t.YNc(10,fi,7,8,"div",13),t.YNc(11,Ei,10,10,"div",14),t.TgZ(12,"div"),t.TgZ(13,"mat-checkbox",31),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).currentConfiguration.specialLoaPeriodExtendExpiredMembers=a}),t._uU(14),t.ALo(15,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.MAs(3),o=t.MAs(7),a=t.oxw(2);t.xp6(1),t.Q6J("ngModel",a.currentConfiguration.specialLoaPeriodType),t.xp6(3),t.hij(" ",t.lcZ(5,7,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),t.xp6(4),t.hij(" ",t.lcZ(9,9,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),t.xp6(2),t.Q6J("ngIf",e.checked),t.xp6(1),t.Q6J("ngIf",o.checked),t.xp6(2),t.Q6J("ngModel",a.currentConfiguration.specialLoaPeriodExtendExpiredMembers),t.xp6(1),t.hij(" ",t.lcZ(15,11,"VO_MANAGEMENT.SETTINGS.EXPIRATION.EXTEND_EXPIRED_MEMBERS_CHECKBOX")," ")}}function bi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",1),t.TgZ(1,"div",2),t.TgZ(2,"h1",3),t.NdJ("click",function(){return t.CHM(e),t.MAs(6).toggle()}),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"mat-slide-toggle",4,5),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.enabled=a}),t.qZA(),t.qZA(),t.TgZ(7,"div"),t.TgZ(8,"label",6),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"div",7),t.TgZ(12,"mat-radio-group",8),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.periodType=a}),t.TgZ(13,"mat-radio-button",9,10),t._uU(15),t.ALo(16,"translate"),t.qZA(),t.TgZ(17,"mat-radio-button",11,12),t._uU(19),t.ALo(20,"translate"),t.qZA(),t.qZA(),t.YNc(21,di,7,8,"div",13),t.YNc(22,mi,10,10,"div",14),t.qZA(),t.TgZ(23,"app-settings-toggle-item",15),t.NdJ("modelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.doNotAllowLoasEnabled=a}),t.ALo(24,"translate"),t.TgZ(25,"mat-form-field"),t.TgZ(26,"mat-placeholder"),t._uU(27),t.ALo(28,"translate"),t.qZA(),t.TgZ(29,"mat-select",16),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.doNotAllowLoas=a}),t.YNc(30,gi,2,2,"mat-option",17),t.qZA(),t.qZA(),t.qZA(),t.TgZ(31,"app-settings-toggle-item",15),t.NdJ("modelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.doNotExtendLoasEnabled=a}),t.ALo(32,"translate"),t.TgZ(33,"mat-form-field"),t.TgZ(34,"mat-placeholder"),t._uU(35),t.ALo(36,"translate"),t.qZA(),t.TgZ(37,"mat-select",16),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.doNotExtendLoas=a}),t.YNc(38,hi,2,2,"mat-option",17),t.qZA(),t.qZA(),t.qZA(),t.TgZ(39,"app-settings-toggle-item",15),t.NdJ("modelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.gracePeriodEnabled=a}),t.ALo(40,"translate"),t.TgZ(41,"div",18),t.TgZ(42,"mat-form-field",19),t.TgZ(43,"input",20),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.gracePeriod=a}),t.ALo(44,"translate"),t.qZA(),t.qZA(),t.TgZ(45,"mat-form-field"),t.TgZ(46,"mat-label"),t._uU(47),t.ALo(48,"translate"),t.qZA(),t.TgZ(49,"mat-select",8),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.gracePeriodUnit=a}),t.YNc(50,Ti,2,2,"mat-option",17),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(51,"app-settings-toggle-item",15),t.NdJ("modelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.specialLoaPeriodEnabled=a}),t.ALo(52,"translate"),t.TgZ(53,"div",7),t.TgZ(54,"div"),t.TgZ(55,"mat-form-field"),t.TgZ(56,"mat-label"),t._uU(57),t.ALo(58,"translate"),t.qZA(),t.TgZ(59,"mat-select",8,21),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.specialLoa=a}),t.YNc(61,Ai,2,2,"mat-option",17),t.qZA(),t.qZA(),t.YNc(62,vi,16,13,"div",22),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(63,"div",23),t.ALo(64,"translate"),t.TgZ(65,"button",24),t.NdJ("click",function(){return t.CHM(e),t.oxw().saveChanges()}),t._uU(66),t.ALo(67,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.MAs(6),o=t.MAs(14),a=t.MAs(18),s=t.oxw();t.xp6(2),t.ekj("unselected-setting",!e.checked),t.xp6(1),t.hij(" ",t.lcZ(4,40,"VO_MANAGEMENT.SETTINGS.EXPIRATION.TITLE")," "),t.xp6(2),t.Q6J("ngModel",s.currentConfiguration.enabled),t.xp6(2),t.Q6J("@openClose",e.checked?"open":"closed"),t.xp6(2),t.Oqu(t.lcZ(10,42,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_LABEL")),t.xp6(3),t.Q6J("ngModel",s.currentConfiguration.periodType),t.xp6(3),t.hij(" ",t.lcZ(16,44,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),t.xp6(4),t.hij(" ",t.lcZ(20,46,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),t.xp6(2),t.Q6J("ngIf",o.checked),t.xp6(1),t.Q6J("ngIf",a.checked),t.xp6(1),t.Q6J("model",s.currentConfiguration.doNotAllowLoasEnabled)("title",t.lcZ(24,48,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_LABEL")),t.xp6(4),t.Oqu(t.lcZ(28,50,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_SELECT")),t.xp6(2),t.Q6J("ngModel",s.currentConfiguration.doNotAllowLoas),t.xp6(1),t.Q6J("ngForOf",s.loas),t.xp6(1),t.Q6J("model",s.currentConfiguration.doNotExtendLoasEnabled)("title",t.lcZ(32,52,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_LABEL")),t.xp6(4),t.Oqu(t.lcZ(36,54,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_SELECT")),t.xp6(2),t.Q6J("ngModel",s.currentConfiguration.doNotExtendLoas),t.xp6(1),t.Q6J("ngForOf",s.loas),t.xp6(1),t.Q6J("model",s.currentConfiguration.gracePeriodEnabled)("title",t.lcZ(40,56,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_PERIOD_LABEL")),t.xp6(4),t.s9C("pattern",s.dynamicAmountPattern),t.s9C("placeholder",t.lcZ(44,58,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_VALUE")),t.Q6J("ngModel",s.currentConfiguration.gracePeriod),t.xp6(4),t.Oqu(t.lcZ(48,60,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_TYPE")),t.xp6(2),t.Q6J("ngModel",s.currentConfiguration.gracePeriodUnit),t.xp6(1),t.Q6J("ngForOf",s.amountOptions),t.xp6(1),t.Q6J("model",s.currentConfiguration.specialLoaPeriodEnabled)("title",t.lcZ(52,62,"VO_MANAGEMENT.SETTINGS.EXPIRATION.LOA_PERIOD_LABEL")),t.xp6(6),t.Oqu(t.lcZ(58,64,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SPECIAL_LOA_SELECT")),t.xp6(2),t.Q6J("ngModel",s.currentConfiguration.specialLoa),t.xp6(2),t.Q6J("ngForOf",s.loas),t.xp6(1),t.Q6J("ngIf",null!==s.currentConfiguration.specialLoa),t.xp6(1),t.s9C("matTooltip",t.lcZ(64,66,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERMISSION_DENIED_HINT")),t.Q6J("matTooltipDisabled",s.expirationAttribute.writable)("matTooltipPosition","above"),t.xp6(2),t.Q6J("disabled",!s.areChangesMade()||!s.expirationAttribute.writable),t.xp6(1),t.hij(" ",t.lcZ(67,68,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SAVE")," ")}}let ut=(()=>{class i{constructor(){this.saveAttribute=new t.vpe,this.loas=[0,1,2],this.datePattern="^(3[01]|[12][0-9]|0?[1-9])\\.(1[012]|0?[1-9])\\.$",this.dynamicAmountPattern="^[1-9]+$",this.amountOptions=[{value:"d",text:"Days"},{value:"m",text:"Months"},{value:"y",text:"Years"}]}ngOnInit(){const e=new Map;this.loas.forEach(o=>e.set(o,"")),this.initialConfiguration=this.unParseAttrValue(this.expirationAttribute.value),this.currentConfiguration=this.unParseAttrValue(this.expirationAttribute.value)}ngOnChanges(e){e.expirationAttribute&&(this.initialConfiguration=this.unParseAttrValue(this.expirationAttribute.value))}saveChanges(){this.saveAttribute.emit(this.parseExpirationRulesAttribute())}areChangesMade(){const e=this.parseAttributeValueFromConfig(this.currentConfiguration),o=this.parseAttributeValueFromConfig(this.initialConfiguration);return null===o?null!==e:null===e||e.period!==o.period||e.gracePeriod!==o.gracePeriod||e.doNotExtendLoa!==o.doNotExtendLoa||e.doNotAllowLoa!==o.doNotAllowLoa||e.periodLoa!==o.periodLoa}parseExpirationRulesAttribute(){return this.expirationAttribute.value=this.parseAttributeValueFromConfig(this.currentConfiguration),this.expirationAttribute}parsePeriod(e){switch(e.periodType){case"dynamic":return this.parseDynamicPeriod(e);case"static":return this.parseStaticPeriod(e)}}createInitConfiguration(){const e=new Map;return this.loas.forEach(o=>e.set(o,"")),{enabled:!1,periodType:null,periodStatic:"",periodDynamic:"",periodDynamicUnit:"m",doNotAllowLoas:[],doNotAllowLoasEnabled:!1,doNotExtendLoas:[],doNotExtendLoasEnabled:!1,gracePeriodEnabled:!1,gracePeriod:null,gracePeriodUnit:null,specialLoaPeriodEnabled:!1,specialLoaPeriod:"",specialLoa:null,specialLoaPeriodType:null,specialLoaPeriodDynamic:"",specialLoaPeriodDynamicUnit:"m",specialLoaPeriodStatic:"",specialLoaPeriodExtendExpiredMembers:!1}}unParseAttrValue(e){let o=this.createInitConfiguration();return null==e||(void 0!==e.period&&e.period.length>0&&(o=this.setPeriodValues(e,o)),void 0!==e.doNotAllowLoa&&e.doNotAllowLoa.length>0&&(o=this.setDoNotAllowLoasValues(e,o)),void 0!==e.doNotExtendLoa&&e.doNotExtendLoa.length>0&&(o=this.setDoNotExtendLoasValues(e,o)),void 0!==e.gracePeriod&&e.gracePeriod.length>0&&(o=this.setGracePeriodValues(e,o)),void 0!==e.periodLoa&&e.periodLoa.length>0&&(o=this.setSpecialLoaPeriodValues(e,o))),o}setPeriodValues(e,o){if(o.enabled=!0,e.period.startsWith("+")){o.periodType="dynamic";const a=e.period.charAt(e.period.length-1);o.periodDynamic=e.period.substring(1,e.period.length-1),o.periodDynamicUnit=a}else o.periodType="static",o.periodStatic=e.period;return o}setDoNotAllowLoasValues(e,o){const a=[];return e.doNotAllowLoa.split(",").forEach(s=>a.push(parseInt(s.trim(),10))),o.doNotAllowLoas=a,a.length>0&&(o.doNotAllowLoasEnabled=!0),o}setDoNotExtendLoasValues(e,o){const a=[];return e.doNotExtendLoa.split(",").forEach(s=>a.push(parseInt(s.trim(),10))),o.doNotExtendLoas=a,a.length>0&&(o.doNotExtendLoasEnabled=!0),o}setGracePeriodValues(e,o){o.gracePeriodEnabled=!0;const a=e.gracePeriod.charAt(e.gracePeriod.length-1);return o.gracePeriod=e.gracePeriod.substring(0,e.gracePeriod.length-1),o.gracePeriodUnit=a,o}setSpecialLoaPeriodValues(e,o){o.specialLoa=parseInt(e.periodLoa.substring(0,e.periodLoa.indexOf("|")),10),o.specialLoaPeriodEnabled=!0;let a=e.periodLoa.substring(e.periodLoa.indexOf("|")+1,e.periodLoa.length);if(a.startsWith("+")){a.endsWith(".")&&(o.specialLoaPeriodExtendExpiredMembers=!0,a=a.substring(0,a.length-1)),o.specialLoaPeriodType="dynamic";const s=a.charAt(a.length-1);o.specialLoaPeriodDynamic=a.substring(1,a.length-1),o.specialLoaPeriodDynamicUnit=s}else a.endsWith("..")&&(o.specialLoaPeriodExtendExpiredMembers=!0,a=a.substring(0,a.length-1)),o.specialLoaPeriodType="static",o.specialLoaPeriodStatic=a;return o}parseDynamicPeriod(e){return"+"+e.periodDynamic+e.periodDynamicUnit}parseStaticPeriod(e){return e.periodStatic}parseDontAllowLoas(e){if(!e.doNotAllowLoasEnabled)return null;let o="";return e.doNotAllowLoas.forEach(a=>o+=a+","),o.length>0&&(o=o.substring(0,o.length-1)),o.length>0?o:null}parseDontExtendLoas(e){if(!e.doNotExtendLoasEnabled)return null;let o="";return e.doNotExtendLoas.forEach(a=>o+=a+","),o.length>0&&(o=o.substring(0,o.length-1)),o.length>0?o:null}parseGracePeriod(e){return e.gracePeriodEnabled?e.gracePeriod+e.gracePeriodUnit:null}parseSpecialLoaPeriod(e){if(!e.specialLoaPeriodEnabled)return null;let o=e.specialLoa+"|";switch(e.specialLoaPeriodType){case"static":o+=this.parseSpecialLoaPeriodStatic(e);break;case"dynamic":o+=this.parseSpecialLoaPeriodDynamic(e)}return null!=o&&e.specialLoaPeriodExtendExpiredMembers&&(o+="."),o}parseSpecialLoaPeriodStatic(e){return e.specialLoaPeriodStatic}parseSpecialLoaPeriodDynamic(e){return"+"+e.specialLoaPeriodDynamic+e.specialLoaPeriodDynamicUnit}parseAttributeValueFromConfig(e){if(!e.enabled)return null;const o=this.parsePeriod(e),a=this.parseDontAllowLoas(e),s=this.parseDontExtendLoas(e),r=this.parseGracePeriod(e),d=this.parseSpecialLoaPeriod(e),A={period:o};return null!==s&&(A.doNotExtendLoa=s),null!==a&&(A.doNotAllowLoa=a),null!==r&&(A.gracePeriod=r),null!==d&&(A.periodLoa=d),A}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-expiration-settings"]],inputs:{expirationAttribute:"expirationAttribute"},outputs:{saveAttribute:"saveAttribute"},features:[t.TTD],decls:1,vars:1,consts:[["class","card settings-card col-12 col-md-12 col-xl-6",4,"ngIf"],[1,"card","settings-card","col-12","col-md-12","col-xl-6"],[1,"d-flex","flex-row","align-items-baseline","justify-content-between"],[1,"settings-header",3,"click"],["color","primary",1,"ml-4",3,"ngModel","ngModelChange"],["mainToggle",""],[1,"setting-item","pt-2"],[1,"ml-1"],[3,"ngModel","ngModelChange"],["color","primary","value","static",1,"mr-3"],["staticPeriod",""],["color","primary","value","dynamic"],["dynamicPeriod",""],["class","form-container",4,"ngIf"],["class","d-flex flex-row",4,"ngIf"],[3,"model","title","modelChange"],["multiple","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"d-flex","flex-row"],[1,"mr-2","amount-field"],["matInput","",3,"pattern","ngModel","placeholder","ngModelChange"],["specialLoaSelect",""],["class","mt-2",4,"ngIf"],[1,"ml-auto",3,"matTooltipDisabled","matTooltipPosition","matTooltip"],["mat-flat-button","","color","primary",1,"ml-auto",3,"disabled","click"],[1,"form-container"],[1,"date-field"],[3,"value"],[1,"mt-2"],["loaStaticRadioButton",""],["loaDynamicRadioButton",""],["color","primary",3,"ngModel","ngModelChange"]],template:function(e,o){1&e&&t.YNc(0,bi,68,70,"div",0),2&e&&t.Q6J("ngIf",o.currentConfiguration)},directives:[h.O5,X.Rr,m.JJ,m.On,k.VQ,k.U0,b.KE,G.Nt,m.Fj,m.c5,b.bx,b.hX,Y.gD,h.sg,J.ey,ui,b.UY,B.oG,N.gM,I.lW],pipes:[_.X$],styles:[".period-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:1.5rem}.amount-field[_ngcontent-%COMP%]{width:80px}.date-field[_ngcontent-%COMP%]{width:100%}.settings-header[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:.75rem;font-size:1.25rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.settings-card[_ngcontent-%COMP%]{padding:.5rem 1.5rem}"],data:{animation:[O.BQ]}}),i})();function Ci(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"app-expiration-settings",1),t.NdJ("saveAttribute",function(a){return t.CHM(e),t.oxw().saveExpirationAttribute(a)}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("expirationAttribute",e.expirationAttribute)}}let Si=(()=>{class i{constructor(e,o,a,s,r){this.attributesManager=e,this.translate=o,this.notificator=a,this.apiRequest=s,this.entityStorageService=r,this.translate.get("VO_DETAIL.SETTINGS.EXPIRATION.SUCCESS_MESSAGE").subscribe(d=>this.successMessage=d),this.translate.get("VO_DETAIL.SETTINGS.EXPIRATION.ERROR_MESSAGE").subscribe(d=>this.errorMessage=d)}ngOnInit(){this.vo=this.entityStorageService.getEntity(),this.loadSettings()}loadSettings(){this.attributesManager.getVoAttributeByName(this.vo.id,S.r.VO_DEF_EXPIRATION_RULES).subscribe(e=>{this.expirationAttribute=e})}saveExpirationAttribute(e){this.apiRequest.dontHandleErrorForNext(),this.attributesManager.setVoAttribute({vo:this.vo.id,attribute:e}).subscribe(()=>{this.loadSettings(),this.notificator.showSuccess(this.successMessage)},o=>{console.log(o),this.notificator.showRPCError(o.error,this.errorMessage)})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.H8),t.Y36(_.sK),t.Y36(u.V6),t.Y36(u.F5),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-settings-expiration"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(e,o){1&e&&t.YNc(0,Ci,1,1,"app-expiration-settings",0),2&e&&t.Q6J("ngIf",void 0!==o.expirationAttribute)},directives:[h.O5,ut],styles:[""],data:{animation:[O.BQ]}}),i})();var Zi=l(55857),dt=l(69815);let xi=(()=>{class i{constructor(e,o,a,s){this.dialog=e,this.voService=o,this.guiAuthResolver=a,this.entityStorageService=s,this.availableRoles=[],this.selected="user",this.type="Vo",this.theme="vo-theme"}ngOnInit(){this.vo=this.entityStorageService.getEntity(),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Vo")}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.uw),t.Y36(g.YF),t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-settings-managers"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:1,vars:4,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(e,o){1&e&&t._UZ(0,"app-managers-page",0),2&e&&t.Q6J("complementaryObject",o.vo)("complementaryObjectType",o.type)("theme",o.theme)("availableRoles",o.availableRoles)},directives:[dt.s],styles:[""]}),i})();function Ni(i,n){1&i&&t._UZ(0,"mat-spinner",6)}function Oi(i,n){1&i&&(t.TgZ(0,"mat-option",18),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APPROVABLE_GROUP_APP_USER")))}function Ri(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div"),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"mat-form-field",8),t.TgZ(4,"textarea",19),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).reason=a}),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(2);t.xp6(1),t.hij(" ",t.lcZ(2,2,"DIALOGS.RE_SEND_NOTIFICATION.REASON"),": "),t.xp6(3),t.Q6J("ngModel",e.reason)}}function Di(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",7),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"mat-form-field",8),t.TgZ(4,"mat-select",9),t.NdJ("valueChange",function(a){return t.CHM(e),t.oxw().mailType=a}),t.TgZ(5,"mat-option",10),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.YNc(8,Oi,3,3,"mat-option",11),t.TgZ(9,"mat-option",12),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.TgZ(12,"mat-option",13),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.TgZ(15,"mat-option",14),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.TgZ(18,"mat-option",15),t._uU(19),t.ALo(20,"translate"),t.qZA(),t.TgZ(21,"mat-option",16),t._uU(22),t.ALo(23,"translate"),t.qZA(),t.qZA(),t.qZA(),t.YNc(24,Ri,5,4,"div",17),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.hij(" ",t.lcZ(2,10,"DIALOGS.RE_SEND_NOTIFICATION.SELECT"),": "),t.xp6(3),t.Q6J("value",e.mailType),t.xp6(2),t.Oqu(t.lcZ(7,12,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_USER")),t.xp6(2),t.Q6J("ngIf",e.data.groupId),t.xp6(2),t.Oqu(t.lcZ(11,14,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_VO_ADMIN")),t.xp6(3),t.Oqu(t.lcZ(14,16,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.MAIL_VALIDATION")),t.xp6(3),t.Oqu(t.lcZ(17,18,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_APPROVED_USER")),t.xp6(3),t.Oqu(t.lcZ(20,20,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_REJECTED_USER")),t.xp6(3),t.Oqu(t.lcZ(23,22,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_ERROR_VO_ADMIN")),t.xp6(2),t.Q6J("ngIf","APP_REJECTED_USER"===e.mailType)}}let Li=(()=>{class i{constructor(e,o,a,s,r){this.dialogRef=e,this.data=o,this.translate=a,this.notificator=s,this.registrarManager=r,this.mailType="APP_CREATED_USER",this.reason="",this.loading=!1}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,"APP_REJECTED_USER"===this.mailType?this.registrarManager.sendMessage({appId:this.data.applicationId,mailType:this.mailType,reason:this.reason}).subscribe(()=>{this.translate.get("DIALOGS.RE_SEND_NOTIFICATION.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close()})},()=>this.loading=!1):this.registrarManager.sendMessage({appId:this.data.applicationId,mailType:this.mailType}).subscribe(()=>{this.translate.get("DIALOGS.RE_SEND_NOTIFICATION.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close()})},()=>this.loading=!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(_.sK),t.Y36(u.V6),t.Y36(g.tk))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-application-re-send-notification-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"w-100"],["disableOptionCentering","",3,"value","valueChange"],["value","APP_CREATED_USER"],["value","APPROVABLE_GROUP_APP_USER",4,"ngIf"],["value","APP_CREATED_VO_ADMIN"],["value","MAIL_VALIDATION"],["value","APP_APPROVED_USER"],["value","APP_REJECTED_USER"],["value","APP_ERROR_VO_ADMIN"],[4,"ngIf"],["value","APPROVABLE_GROUP_APP_USER"],["matInput","",3,"ngModel","ngModelChange"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Ni,1,0,"mat-spinner",1),t.YNc(5,Di,25,24,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return o.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Gre("",o.theme,"}"),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.RE_SEND_NOTIFICATION.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.RE_SEND_NOTIFICATION.CANCEL")," "),t.xp6(2),t.Q6J("disabled",o.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.RE_SEND_NOTIFICATION.SEND")," "))},directives:[p.uh,h.O5,f.$g,p.xY,b.KE,Y.gD,J.ey,G.Nt,m.Fj,m.JJ,m.On,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();function Mi(i,n){1&i&&t._UZ(0,"mat-spinner",6)}function Pi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",7),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"mat-form-field",8),t.TgZ(4,"textarea",9),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().reason=a}),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.hij(" ",t.lcZ(2,2,"DIALOGS.REJECT_APPLICATION.TEXT")," "),t.xp6(3),t.Q6J("ngModel",e.reason)}}let Ui=(()=>{class i{constructor(e,o,a,s,r){this.dialogRef=e,this.data=o,this.translate=a,this.notificator=s,this.registrarManager=r,this.reason="",this.loading=!1}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,this.registrarManager.rejectApplication(this.data.applicationId,this.reason).subscribe(()=>{this.translate.get("DIALOGS.REJECT_APPLICATION.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close()})},()=>this.loading=!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(_.sK),t.Y36(u.V6),t.Y36(g.tk))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-application-reject-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"w-100"],["matInput","",3,"ngModel","ngModelChange"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Mi,1,0,"mat-spinner",1),t.YNc(5,Pi,5,4,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return o.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.REJECT_APPLICATION.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.REJECT_APPLICATION.CANCEL")," "),t.xp6(2),t.Q6J("disabled",o.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.REJECT_APPLICATION.SUBMIT")," "))},directives:[p.uh,h.O5,f.$g,p.xY,b.KE,G.Nt,m.Fj,m.JJ,m.On,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();function Gi(i,n){1&i&&t._UZ(0,"mat-spinner",6)}function wi(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.INVALID_EMAIL")))}function yi(i,n){if(1&i&&(t.TgZ(0,"mat-form-field"),t.TgZ(1,"label"),t._UZ(2,"input",9),t.qZA(),t.YNc(3,wi,3,3,"mat-error",8),t.qZA()),2&i){const e=t.oxw(2);t.xp6(2),t.Q6J("formControl",e.emailControl),t.xp6(1),t.Q6J("ngIf",e.emailControl.invalid)}}function qi(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.EMPTY_INPUT")))}function Fi(i,n){if(1&i&&(t.TgZ(0,"mat-form-field"),t._UZ(1,"input",10),t.YNc(2,qi,3,3,"mat-error",8),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("formControl",e.inputControl),t.xp6(1),t.Q6J("ngIf",e.inputControl.invalid)}}function Vi(i,n){if(1&i&&(t.TgZ(0,"div",7),t.YNc(1,yi,4,2,"mat-form-field",8),t.YNc(2,Fi,3,2,"mat-form-field",8),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",null!==e.emailControl),t.xp6(1),t.Q6J("ngIf",null!==e.inputControl)}}let Yi=(()=>{class i{constructor(e,o,a,s,r){this.dialogRef=e,this.data=o,this.notificator=a,this.translateService=s,this.registrarService=r,this.loading=!1,this.inputControl=null,this.emailControl=null}ngOnInit(){this.theme=this.data.theme,this.formItemData=this.data.formItemData,this.itemName=this.getLabel(this.formItemData.formItem),this.itemName.toLowerCase().includes("mail")?this.emailControl=new m.NI(this.formItemData.value,[m.kI.required,m.kI.email]):this.inputControl=new m.NI(this.formItemData.value,[m.kI.required])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.formItemData.value=null!==this.inputControl?this.inputControl.value:this.emailControl.value,this.registrarService.updateFormItemData({appId:this.data.applicationId,data:{id:this.formItemData.id,formItem:this.formItemData.formItem,shortname:this.formItemData.shortname,value:this.formItemData.value,assuranceLevel:this.formItemData.assuranceLevel,prefilledValue:this.formItemData.prefilledValue}}).subscribe(()=>{this.notificator.showSuccess(this.translateService.instant("DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}getLabel(e){return null!==e.i18n.en.label&&0!==e.i18n.en.label.length?e.i18n.en.label:e.shortname}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(u.V6),t.Y36(_.sK),t.Y36(g.tk))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-edit-application-form-item-data-dialog"]],decls:13,vars:16,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[4,"ngIf"],["matInput","","required","",3,"formControl"],["type","text","matInput","","required","",3,"formControl"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Gi,1,0,"mat-spinner",1),t.YNc(5,Vi,3,2,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return o.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.AsE(" ",t.lcZ(3,10,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.TITLE")," ",o.itemName," "),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,12,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.CANCEL")," "),t.xp6(2),t.Q6J("disabled",o.loading||null!==o.inputControl&&o.inputControl.invalid||null!==o.emailControl&&o.emailControl.invalid),t.xp6(1),t.hij(" ",t.lcZ(12,14,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.SUBMIT")," "))},directives:[p.uh,h.O5,f.$g,p.xY,b.KE,G.Nt,m.Fj,m.Q7,m.JJ,m.oH,b.TO,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();var W=l(4834),Ji=l(43157);function Qi(i,n){if(1&i&&(t.TgZ(0,"span",5),t._uU(1),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.hij(" #",e.application.id," ")}}function ki(i,n){1&i&&t._UZ(0,"mat-spinner",6)}function Bi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).verifyApplication()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VERIFY")," "))}function ji(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).approveApplication()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVE")," "))}function Hi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",17),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).rejectApplication()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECT")," "))}function $i(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",17),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).deleteApplication()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE")," "))}function zi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",18),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).resendNotification()}),t.TgZ(1,"i",14),t._uU(2," mail_outline "),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()}2&i&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SEND_NOTIFICATION")," "))}function Xi(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"span",10),t._uU(2),t.ALo(3,"translate"),t.qZA(),t._uU(4),t.qZA()),2&i){const e=t.oxw(2);t.xp6(2),t.Oqu(t.lcZ(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_VO")),t.xp6(2),t.hij(": ",e.application.vo.name," ")}}function Wi(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"span",10),t._uU(2),t.ALo(3,"translate"),t.qZA(),t._uU(4),t.TgZ(5,"span",10),t._uU(6),t.ALo(7,"translate"),t.qZA(),t._uU(8),t.qZA()),2&i){const e=t.oxw(2);t.xp6(2),t.Oqu(t.lcZ(3,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_GROUP")),t.xp6(2),t.hij(": ",e.application.group.name," "),t.xp6(2),t.Oqu(t.lcZ(7,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_IN_VO")),t.xp6(2),t.hij(": ",e.application.vo.name," ")}}function Ki(i,n){1&i&&(t.TgZ(0,"span"),t.TgZ(1,"mat-icon",19),t._uU(2,"arrow_right_alt"),t.qZA(),t._uU(3," Initial "),t.qZA())}function to(i,n){1&i&&(t.TgZ(0,"span"),t.TgZ(1,"mat-icon",19),t._uU(2,"restore"),t.qZA(),t._uU(3," Extension "),t.qZA())}function eo(i,n){1&i&&(t.TgZ(0,"span"),t.TgZ(1,"mat-icon",19),t._uU(2,"nat"),t.qZA(),t._uU(3," Embedded "),t.qZA())}function io(i,n){if(1&i&&(t.TgZ(0,"div",20),t.TgZ(1,"mat-card-title"),t.TgZ(2,"i",21),t._uU(3,"clear"),t.qZA(),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"div"),t.TgZ(7,"span",10),t._uU(8),t.ALo(9,"translate"),t.qZA(),t._uU(10),t.ALo(11,"date"),t.qZA(),t.qZA()),2&i){const e=t.oxw(2);t.xp6(4),t.AsE(" ",t.lcZ(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECTED_BY"),": ",e.getModifiedAtName(e.application.modifiedBy),""),t.xp6(4),t.Oqu(t.lcZ(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),t.xp6(2),t.hij(": ",t.xi3(11,8,e.application.modifiedAt,"d.M.y H:mm:ss")," ")}}function oo(i,n){if(1&i&&(t.TgZ(0,"div",20),t.TgZ(1,"mat-card-title"),t.TgZ(2,"i",22),t._uU(3,"done"),t.qZA(),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"div"),t.TgZ(7,"span",10),t._uU(8),t.ALo(9,"translate"),t.qZA(),t._uU(10),t.ALo(11,"date"),t.qZA(),t.qZA()),2&i){const e=t.oxw(2);t.xp6(4),t.AsE(" ",t.lcZ(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVED_BY"),": ",e.getModifiedAtName(e.application.modifiedBy),""),t.xp6(4),t.Oqu(t.lcZ(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),t.xp6(2),t.hij(": ",t.xi3(11,8,e.application.modifiedAt,"d.M.y H:mm:ss")," ")}}function no(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"span",10),t._uU(2),t.ALo(3,"translate"),t.qZA(),t._uU(4),t.qZA()),2&i){const e=t.oxw(2);t.xp6(2),t.Oqu(t.lcZ(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.MAIL")),t.xp6(2),t.hij(": ",e.userMail," ")}}function ao(i,n){1&i&&t._UZ(0,"th",31)}function so(i,n){if(1&i&&(t.TgZ(0,"td",32),t._uU(1),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(3);t.xp6(1),t.hij(" ",o.getLabel(e.formItem)," ")}}function ro(i,n){1&i&&t._UZ(0,"th",31)}function lo(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",35),t.NdJ("click",function(){t.CHM(e);const a=t.oxw().$implicit;return t.oxw(3).editApplicationData(a)}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}function co(i,n){if(1&i&&(t.TgZ(0,"td",33),t._uU(1),t.YNc(2,lo,3,0,"button",34),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(3);t.xp6(1),t.hij(" ",e.value," "),t.xp6(1),t.Q6J("ngIf",("NEW"===o.application.state||"VERIFIED"===o.application.state)&&"EMBEDDED_GROUP_APPLICATION"!==e.formItem.type)}}function po(i,n){1&i&&t._UZ(0,"tr",36)}function uo(i,n){1&i&&t._UZ(0,"tr",37)}function _o(i,n){if(1&i&&(t.TgZ(0,"table",23),t.ynx(1,24),t.YNc(2,ao,1,0,"th",25),t.YNc(3,so,2,1,"td",26),t.BQk(),t.ynx(4,27),t.YNc(5,ro,1,0,"th",25),t.YNc(6,co,3,2,"td",28),t.BQk(),t.YNc(7,po,1,0,"tr",29),t.YNc(8,uo,1,0,"tr",30),t.qZA()),2&i){const e=t.oxw(2);t.Q6J("dataSource",e.dataSource),t.xp6(7),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}function mo(i,n){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,Bi,3,3,"button",7),t.YNc(2,ji,3,3,"button",7),t.YNc(3,Hi,3,3,"button",8),t.YNc(4,$i,3,3,"button",8),t.YNc(5,zi,5,3,"button",9),t.YNc(6,Xi,5,4,"div",4),t.YNc(7,Wi,9,8,"div",4),t.TgZ(8,"div"),t.TgZ(9,"span",10),t._uU(10),t.ALo(11,"translate"),t.qZA(),t._uU(12,": "),t._UZ(13,"span",11),t.ALo(14,"applicationState"),t.qZA(),t.TgZ(15,"div"),t.TgZ(16,"span",10),t._uU(17),t.ALo(18,"translate"),t.qZA(),t._uU(19,": "),t.YNc(20,Ki,4,0,"span",4),t.YNc(21,to,4,0,"span",4),t.YNc(22,eo,4,0,"span",4),t.qZA(),t.YNc(23,io,12,11,"div",12),t.YNc(24,oo,12,11,"div",12),t.TgZ(25,"div",13),t.TgZ(26,"mat-card-title"),t.TgZ(27,"i",14),t._uU(28,"redo"),t.qZA(),t._uU(29),t.ALo(30,"translate"),t.ALo(31,"userFullName"),t.qZA(),t.YNc(32,no,5,4,"div",4),t.TgZ(33,"div"),t.TgZ(34,"span",10),t._uU(35),t.ALo(36,"translate"),t.qZA(),t._uU(37),t.qZA(),t.TgZ(38,"div"),t.TgZ(39,"span",10),t._uU(40),t.ALo(41,"translate"),t.qZA(),t._uU(42),t.qZA(),t.TgZ(43,"div"),t.TgZ(44,"span",10),t._uU(45),t.ALo(46,"translate"),t.qZA(),t._uU(47),t.ALo(48,"date"),t.qZA(),t.YNc(49,_o,9,3,"table",15),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngIf","NEW"===e.application.state&&e.verifyAuth),t.xp6(1),t.Q6J("ngIf",("VERIFIED"===e.application.state||"NEW"===e.application.state)&&e.approveAuth),t.xp6(1),t.Q6J("ngIf",("VERIFIED"===e.application.state||"NEW"===e.application.state)&&e.rejectAuth),t.xp6(1),t.Q6J("ngIf",("REJECTED"===e.application.state||"NEW"===e.application.state)&&e.deleteAuth),t.xp6(1),t.Q6J("ngIf",e.resendAuth),t.xp6(1),t.Q6J("ngIf",!e.application.group),t.xp6(1),t.Q6J("ngIf",e.application.group),t.xp6(3),t.Oqu(t.lcZ(11,25,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.STATE")),t.xp6(3),t.Q6J("outerHTML",t.lcZ(14,27,e.application.state),t.oJD),t.xp6(4),t.Oqu(t.lcZ(18,29,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TYPE")),t.xp6(3),t.Q6J("ngIf","INITIAL"===e.application.type),t.xp6(1),t.Q6J("ngIf","EXTENSION"===e.application.type),t.xp6(1),t.Q6J("ngIf","EMBEDDED"===e.application.type),t.xp6(1),t.Q6J("ngIf","REJECTED"===e.application.state),t.xp6(1),t.Q6J("ngIf","APPROVED"===e.application.state),t.xp6(5),t.AsE(" ",t.lcZ(30,31,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SUBMITTED_BY"),": ",null===e.application.user?e.submittedBy():t.lcZ(31,33,e.application.user),""),t.xp6(3),t.Q6J("ngIf",e.userMail),t.xp6(3),t.Oqu(t.lcZ(36,35,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.EXT_SRC")),t.xp6(2),t.hij(": ",e.application.extSourceName," "),t.xp6(3),t.Oqu(t.lcZ(41,37,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.LOA")),t.xp6(2),t.hij(": ",e.application.extSourceLoa," "),t.xp6(3),t.Oqu(t.lcZ(46,39,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),t.xp6(2),t.hij(": ",t.xi3(48,41,e.application.createdAt,"d.M.y H:mm:ss")," "),t.xp6(2),t.Q6J("ngIf",0!==e.userData.length)}}let K=(()=>{class i{constructor(e,o,a,s,r,d,A,v){this.registrarManager=e,this.dialog=o,this.translate=a,this.route=s,this.notificator=r,this.router=d,this.authResolver=A,this.usersService=v,this.userData=[],this.displayedColumns=["label","value"],this.loading=!0}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{this.route.parent.params.subscribe(o=>{this.dialogTheme=o.groupId?"group-theme":o.memberId?"member-theme":"vo-theme",this.registrarManager.getApplicationById(e.applicationId).subscribe(s=>{this.application=s,"EMBEDDED"===this.application.type&&this.application.user?this.usersService.getRichUserWithAttributes(this.application.user.id).subscribe(r=>{var d;const A=r.userAttributes.find(v=>"preferredMail"===v.friendlyName);this.userMail=null===(d=null==A?void 0:A.value)||void 0===d?void 0:d.toString(),this.setAuthRights(),this.loading=!1}):this.registrarManager.getApplicationDataById(this.application.id).subscribe(r=>{this.userData=r,this.dataSource=new c.by(this.userData),this.setAuthRights(),this.loading=!1})})})})}setAuthRights(){"group-theme"===this.dialogTheme?(this.verifyAuth=this.authResolver.isAuthorized("group-verifyApplication_int_policy",[this.application.group]),this.approveAuth=this.authResolver.isAuthorized("group-approveApplicationInternal_int_policy",[this.application.group]),this.rejectAuth=this.authResolver.isAuthorized("group-rejectApplication_int_String_policy",[this.application.group]),this.deleteAuth=this.authResolver.isAuthorized("group-deleteApplication_Application_policy",[this.application.group]),this.resendAuth=this.authResolver.isAuthorized("group-sendMessage_Application_MailType_String_policy",[this.application.group])):(this.verifyAuth=this.authResolver.isAuthorized("vo-verifyApplication_int_policy",[this.application.vo]),this.approveAuth=this.authResolver.isAuthorized("vo-approveApplicationInternal_int_policy",[this.application.vo]),this.rejectAuth=this.authResolver.isAuthorized("vo-rejectApplication_int_String_policy",[this.application.vo]),this.deleteAuth=this.authResolver.isAuthorized("vo-deleteApplication_Application_policy",[this.application.vo]),this.resendAuth=this.authResolver.isAuthorized("vo-sendMessage_Application_MailType_String_policy",[this.application.vo]))}getLabel(e){return null!==e.i18n.en.label&&0!==e.i18n.en.label.length?e.i18n.en.label:e.shortname}submittedBy(){return this.application.createdBy.slice(this.application.createdBy.lastIndexOf("=")+1,this.application.createdBy.length)}getModifiedAtName(e){const o=e.lastIndexOf("/CN=");if(-1!==o){const a=e.slice(o+4,e.length).replace("/unstructuredName="," ");return-1!==a.lastIndexOf("\\")?e.slice(e.lastIndexOf("=")+1,e.length):a}return e}resendNotification(){var e;const o=(0,T.kZ)();o.width="500px",o.data={applicationId:this.application.id,theme:this.dialogTheme,groupId:null===(e=this.application.group)||void 0===e?void 0:e.id},this.dialog.open(Li,o)}deleteApplication(){const e=(0,T.kZ)();e.width="450px",e.data={items:[this.application.id],title:"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE_APPLICATION_TITLE",description:"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE_APPLICATION_DESCRIPTION",theme:"vo-theme"},this.dialog.open(L.Tf,e).afterClosed().subscribe(a=>{a&&this.registrarManager.deleteApplication(this.application.id).subscribe(()=>{this.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE_MESSAGE").subscribe(s=>{this.notificator.showSuccess(s),this.router.navigateByUrl(this.router.url.substring(0,this.router.url.lastIndexOf("/")))})})})}rejectApplication(){const e=(0,T.kZ)();e.width="500px",e.data={applicationId:this.application.id,theme:this.dialogTheme},this.dialog.open(Ui,e).afterClosed().subscribe(()=>{this.loading=!0,this.registrarManager.getApplicationById(this.application.id).subscribe(a=>{this.application=a,this.loading=!1},()=>this.loading=!1)})}approveApplication(){this.loading=!0,this.registrarManager.approveApplication(this.application.id).subscribe(()=>{this.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVE_MESSAGE").subscribe(e=>{this.notificator.showSuccess(e)}),this.registrarManager.getApplicationById(this.application.id).subscribe(e=>{this.application=e,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}verifyApplication(){this.registrarManager.verifyApplication(this.application.id).subscribe(()=>{this.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VERIFY_MESSAGE").subscribe(e=>{this.notificator.showSuccess(e)}),this.loading=!0,this.registrarManager.getApplicationById(this.application.id).subscribe(e=>{this.application=e,this.loading=!1})})}editApplicationData(e){const o=(0,T.kZ)();o.width="600px",o.data={theme:this.dialogTheme,applicationId:this.application.id,formItemData:e},this.dialog.open(Yi,o)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.tk),t.Y36(p.uw),t.Y36(_.sK),t.Y36(E.gz),t.Y36(u.V6),t.Y36(E.F0),t.Y36(u.x4),t.Y36(g.Fv))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-application-detail"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:7,vars:6,consts:[[1,"page-subtitle"],["class","text-muted",4,"ngIf"],[1,"mb-4"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"text-muted"],[1,"ml-auto","mr-auto"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","","class","mr-2 mb-2",3,"click",4,"ngIf"],[1,"font-weight-bold"],[3,"outerHTML"],["class","card p-3 mt-2",4,"ngIf"],[1,"card","p-4","mt-2"],[1,"material-icons"],["mat-table","","class","w-100",3,"dataSource",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"click"],["mat-stroked-button","",1,"mr-2","mb-2",3,"click"],[1,"align-text-top"],[1,"card","p-3","mt-2"],[1,"material-icons","red"],[1,"material-icons","green"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","label"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","font-weight-bold",4,"matCellDef"],["matColumnDef","value"],["class","word-break-all","mat-cell","",4,"matCellDef"],["mat-header-row","","class","h-50",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"word-break-all"],["mat-icon-button","","aria-label","Edit Application data",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Edit Application data",3,"click"],["mat-header-row","",1,"h-50"],["mat-row",""]],template:function(e,o){1&e&&(t.TgZ(0,"h2",0),t._uU(1),t.ALo(2,"translate"),t.YNc(3,Qi,2,1,"span",1),t.qZA(),t._UZ(4,"mat-divider",2),t.YNc(5,ki,1,0,"mat-spinner",3),t.YNc(6,mo,50,44,"div",4)),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TITLE")," "),t.xp6(2),t.Q6J("ngIf",!!o.application),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,W.d,f.$g,I.lW,M.Hw,Z.n5,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.as,c.XQ,c.nj,c.Gk],pipes:[_.X$,Ji.h,h.uU,$.d],styles:[""]}),i})();var go=l(96180),ho=l(37240);let To=(()=>{class i{constructor(){}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-settings"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:1,vars:0,template:function(e,o){1&e&&t._UZ(0,"app-animated-router-outlet")},directives:[F.A],styles:[""],data:{animation:[O.Ji]}}),i})();var R=l(53251),_t=l(19191);function Ao(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.hij(" ",t.lcZ(1,1,"GROUP_DETAIL.ENTITY")," ")}function fo(i,n){if(1&i&&t._UZ(0,"app-one-entity-attribute-page",4),2&i){const e=t.oxw();t.Q6J("entity","group")("entityId",e.group.id)}}function Io(i,n){1&i&&(t._uU(0),t.ALo(1,"translate"),t.ALo(2,"translate")),2&i&&t.AsE(" ",t.lcZ(1,2,"GROUP_DETAIL.ENTITY")," - ",t.lcZ(2,4,"MEMBER_DETAIL.ENTITY")," ")}function Eo(i,n){if(1&i&&t._UZ(0,"app-two-entity-attribute-page",5),2&i){const e=t.oxw(2);t.Q6J("firstEntity","group")("firstEntityId",e.group.id)("secondEntity","member")}}function vo(i,n){1&i&&(t.TgZ(0,"mat-tab"),t.YNc(1,Io,3,6,"ng-template",1),t.YNc(2,Eo,1,3,"ng-template",2),t.qZA())}function bo(i,n){1&i&&(t._uU(0),t.ALo(1,"translate"),t.ALo(2,"translate")),2&i&&t.AsE(" ",t.lcZ(1,2,"GROUP_DETAIL.ENTITY")," - ",t.lcZ(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function Co(i,n){if(1&i&&t._UZ(0,"app-two-entity-attribute-page",5),2&i){const e=t.oxw(2);t.Q6J("firstEntity","group")("firstEntityId",e.group.id)("secondEntity","resource")}}function So(i,n){1&i&&(t.TgZ(0,"mat-tab"),t.YNc(1,bo,3,6,"ng-template",1),t.YNc(2,Co,1,3,"ng-template",2),t.qZA())}let Zo=(()=>{class i{constructor(e,o){this.authResolver=e,this.entityStorageService=o}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.groupResourceAttAuth=this.authResolver.isAuthorized("getResourceAssignments_Group_policy",[this.group]),this.groupMemberAttAuth=this.authResolver.isAuthorized("getCompleteRichMembers_Group_List_List_List_boolean_policy",[this.group])}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-attributes"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:10,vars:5,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-tab-group"),t.TgZ(5,"mat-tab"),t.YNc(6,Ao,2,3,"ng-template",1),t.YNc(7,fo,1,2,"ng-template",2),t.qZA(),t.YNc(8,vo,3,0,"mat-tab",3),t.YNc(9,So,3,0,"mat-tab",3),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,3,"GROUP_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),t.xp6(6),t.Q6J("ngIf",o.groupMemberAttAuth),t.xp6(1),t.Q6J("ngIf",o.groupResourceAttAuth))},directives:[R.SP,R.uX,R.uD,R.Vc,z.t,h.O5,_t.Y],pipes:[_.X$],styles:[""]}),i})();function xo(i,n){1&i&&t._UZ(0,"mat-spinner",2)}function No(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",3),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("items",e.items)("size","small")}}let Oo=(()=>{class i{constructor(e,o,a,s,r,d,A,v){this.sideMenuService=e,this.groupService=o,this.router=a,this.guiAuthResolver=s,this.apiRequest=r,this.attributesManager=d,this.notificator=A,this.entityStorageService=v,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.group=this.entityStorageService.getEntity(),this.initItems(),this.loading=!1}initItems(){this.items=[],this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(this.group.id,S.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{this.items.push({cssIcon:"perun-group",url:`/organizations/${this.group.voId}/groups/${this.group.id}/settings/expiration`,label:"MENU_ITEMS.GROUP.EXPIRATION",style:"group-btn"})},e=>{"HttpErrorResponse"!==e.name&&this.notificator.showRPCError(e)}),this.guiAuthResolver.isManagerPagePrivileged(this.group)&&this.items.push({cssIcon:"perun-manager",url:`/organizations/${this.group.voId}/groups/${this.group.id}/settings/managers`,label:"MENU_ITEMS.GROUP.MANAGERS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group])&&this.items.push({cssIcon:"perun-application-form",url:`/organizations/${this.group.voId}/groups/${this.group.id}/settings/applicationForm`,label:"MENU_ITEMS.GROUP.APPLICATION_FORM",style:"group-btn"}),this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group])&&this.items.push({cssIcon:"perun-notification",url:`/organizations/${this.group.voId}/groups/${this.group.id}/settings/notifications`,label:"MENU_ITEMS.GROUP.NOTIFICATIONS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[this.group])&&this.items.push({cssIcon:"perun-group",url:`/organizations/${this.group.voId}/groups/${this.group.id}/settings/relations`,label:"MENU_ITEMS.GROUP.RELATIONS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getGroupExtSources_Group_policy",[this.group])&&this.items.push({cssIcon:"perun-external-sources",url:`/organizations/${this.group.voId}/groups/${this.group.id}/settings/extsources`,label:"MENU_ITEMS.GROUP.EXTSOURCES",style:"group-btn"})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(y.D),t.Y36(g.ff),t.Y36(E.F0),t.Y36(u.x4),t.Y36(u.F5),t.Y36(g.H8),t.Y36(u.V6),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-settings-overview"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,o){1&e&&(t.YNc(0,xo,1,0,"mat-spinner",0),t.YNc(1,No,2,2,"div",1)),2&e&&(t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,V.L],styles:[""]}),i})();var Ro=l(10369);function Do(i,n){1&i&&t._UZ(0,"mat-spinner",3)}function Lo(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).switchToInitial()}),t.TgZ(1,"i",11),t._uU(2,"arrow_right_alt"),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()}2&i&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_INITIAL")," "))}function Mo(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).switchToExtension()}),t.TgZ(1,"i",11),t._uU(2,"cached"),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()}2&i&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_EXTENSION")," "))}function Po(i,n){if(1&i&&(t.TgZ(0,"mat-option",12),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"uppercase"),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",t.lcZ(2,2,t.lcZ(3,4,"SHARED_LIB.LANGUAGES."+e))," ")}}function Uo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function Go(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function wo(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"div",18),t._UZ(5,"input",19),t.qZA(),t.qZA(),t.TgZ(6,"div",20),t.YNc(7,Uo,2,1,"mat-icon",21),t.YNc(8,Go,2,1,"mat-icon",21),t.TgZ(9,"span",22),t._uU(10),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(2),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(2),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function yo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function qo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function Fo(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"div",18),t._UZ(5,"input",24),t._UZ(6,"br"),t._UZ(7,"input",19),t.qZA(),t.qZA(),t.TgZ(8,"div",20),t.YNc(9,yo,2,1,"mat-icon",21),t.YNc(10,qo,2,1,"mat-icon",21),t.TgZ(11,"span",22),t._uU(12),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(2),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(2),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(2),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function Vo(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"input",26),t._uU(2),t._UZ(3,"br"),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(3).$implicit;t.xp6(1),t.Q6J("disabled","ALWAYS"===o.disabled),t.xp6(1),t.hij(" ",e,"")}}function Yo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function Jo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function Qo(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"form",18),t.YNc(5,Vo,4,2,"div",9),t._UZ(6,"input",25),t.ALo(7,"translate"),t.qZA(),t.qZA(),t.TgZ(8,"div",20),t.YNc(9,Yo,2,1,"mat-icon",21),t.YNc(10,Jo,2,1,"mat-icon",21),t.TgZ(11,"span",22),t._uU(12),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(2),t.Q6J("ngForOf",o.getLocalizedOptions(e)),t.xp6(1),t.s9C("value",t.lcZ(7,7,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION")),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(3),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function ko(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"span",27),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(1),t.Q6J("innerHTML",o.getLocalizedLabel(e),t.oJD)}}function Bo(i,n){if(1&i&&(t.TgZ(0,"option"),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.hij(" ",e," ")}}function jo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function Ho(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function $o(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"div",18),t.TgZ(5,"select",28),t.YNc(6,Bo,2,1,"option",9),t.qZA(),t.qZA(),t.qZA(),t.TgZ(7,"div",20),t.YNc(8,jo,2,1,"mat-icon",21),t.YNc(9,Ho,2,1,"mat-icon",21),t.TgZ(10,"span",22),t._uU(11),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(2),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(1),t.Q6J("ngForOf",o.getLocalizedOptions(e)),t.xp6(2),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function zo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function Xo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function Wo(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t._UZ(4,"textarea",29),t.qZA(),t.TgZ(5,"div",20),t.YNc(6,zo,2,1,"mat-icon",21),t.YNc(7,Xo,2,1,"mat-icon",21),t.TgZ(8,"span",22),t._uU(9),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(1),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(2),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function Ko(i,n){if(1&i&&(t.TgZ(0,"option",34),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.hij(" ",e," ")}}function tn(i,n){1&i&&(t.TgZ(0,"div",35),t.TgZ(1,"form"),t._UZ(2,"input",36),t.qZA(),t.qZA())}function en(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function on(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function nn(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"div",18),t.TgZ(5,"select",30),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw(2).$implicit;return t.oxw(2).mapForCombobox[s.id]=a}),t.TgZ(6,"option",31),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.YNc(9,Ko,2,1,"option",32),t.qZA(),t.YNc(10,tn,3,0,"div",33),t.qZA(),t.qZA(),t.TgZ(11,"div",20),t.YNc(12,en,2,1,"mat-icon",21),t.YNc(13,on,2,1,"mat-icon",21),t.TgZ(14,"span",22),t._uU(15),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(2),t.Q6J("ngModel",o.mapForCombobox[e.id])("disabled","ALWAYS"===e.disabled),t.xp6(2),t.hij(" ",t.lcZ(8,9,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")," "),t.xp6(2),t.Q6J("ngForOf",o.getLocalizedOptions(e)),t.xp6(1),t.Q6J("ngIf","true"===o.mapForCombobox[e.id]),t.xp6(2),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function an(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"input",37),t._uU(2),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(3).$implicit;t.xp6(1),t.Q6J("disabled","ALWAYS"===o.disabled),t.xp6(1),t.hij(" ",e," ")}}function sn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function rn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function ln(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"div",18),t.TgZ(5,"form",35),t.YNc(6,an,3,2,"div",9),t.qZA(),t.qZA(),t.qZA(),t.TgZ(7,"div",20),t.YNc(8,sn,2,1,"mat-icon",21),t.YNc(9,rn,2,1,"mat-icon",21),t.TgZ(10,"span",22),t._uU(11),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(3),t.Q6J("ngForOf",o.getLocalizedOptions(e)),t.xp6(2),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function cn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function pn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function un(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"div",18),t.TgZ(5,"form",35),t._UZ(6,"input",37),t._uU(7," example group1 "),t._UZ(8,"br"),t._UZ(9,"input",37),t._uU(10," example group2 "),t._UZ(11,"br"),t._UZ(12,"input",37),t._uU(13," example group3 "),t.qZA(),t.qZA(),t.qZA(),t.TgZ(14,"div",20),t.YNc(15,cn,2,1,"mat-icon",21),t.YNc(16,pn,2,1,"mat-icon",21),t.TgZ(17,"span",22),t._uU(18),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(3),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(3),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(3),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(3),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function dn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",40),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function _n(i,n){if(1&i&&(t.TgZ(0,"mat-icon",40),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function mn(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"button",38),t._uU(2),t.qZA(),t.YNc(3,dn,2,1,"mat-icon",39),t.YNc(4,_n,2,1,"mat-icon",39),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(1),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(1),t.hij(" ",o.getLocalizedLabel(e)," "),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden)}}function gn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",40),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function hn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",40),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function Tn(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"button",38),t._uU(2),t.qZA(),t.YNc(3,gn,2,1,"mat-icon",39),t.YNc(4,hn,2,1,"mat-icon",39),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(1),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(1),t.hij(" ",o.getLocalizedLabel(e)," "),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden)}}function An(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function fn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function In(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"div",18),t.TgZ(5,"select",41),t.TgZ(6,"option",42),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.TgZ(9,"option",43),t._uU(10,"(GMT -12:00) Eniwetok, Kwajalein"),t.qZA(),t.TgZ(11,"option",44),t._uU(12,"(GMT -11:00) Midway Island, Samoa"),t.qZA(),t.TgZ(13,"option",45),t._uU(14,"(GMT -10:00) Hawaii"),t.qZA(),t.TgZ(15,"option",46),t._uU(16,"(GMT -9:30) Taiohae"),t.qZA(),t.TgZ(17,"option",47),t._uU(18,"(GMT -9:00) Alaska"),t.qZA(),t.TgZ(19,"option",48),t._uU(20,"(GMT -8:00) Pacific Time (US & Canada)"),t.qZA(),t.TgZ(21,"option",49),t._uU(22,"(GMT -7:00) Mountain Time (US & Canada)"),t.qZA(),t.TgZ(23,"option",50),t._uU(24," (GMT -6:00) Central Time (US & Canada), Mexico City "),t.qZA(),t.TgZ(25,"option",51),t._uU(26," (GMT -5:00) Eastern Time (US & Canada), Bogota, Lima "),t.qZA(),t.TgZ(27,"option",52),t._uU(28,"(GMT -4:30) Caracas"),t.qZA(),t.TgZ(29,"option",53),t._uU(30,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),t.qZA(),t.TgZ(31,"option",54),t._uU(32,"(GMT -3:30) Newfoundland"),t.qZA(),t.TgZ(33,"option",55),t._uU(34,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),t.qZA(),t.TgZ(35,"option",56),t._uU(36,"(GMT -2:00) Mid-Atlantic"),t.qZA(),t.TgZ(37,"option",57),t._uU(38,"(GMT -1:00) Azores, Cape Verde Islands"),t.qZA(),t.TgZ(39,"option",58),t._uU(40," (GMT) Western Europe Time, London, Lisbon, Casablanca "),t.qZA(),t.TgZ(41,"option",59),t._uU(42,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),t.qZA(),t.TgZ(43,"option",60),t._uU(44,"(GMT +2:00) Kaliningrad, South Africa"),t.qZA(),t.TgZ(45,"option",61),t._uU(46,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),t.qZA(),t.TgZ(47,"option",62),t._uU(48,"(GMT +3:30) Tehran"),t.qZA(),t.TgZ(49,"option",63),t._uU(50,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),t.qZA(),t.TgZ(51,"option",64),t._uU(52,"(GMT +4:30) Kabul"),t.qZA(),t.TgZ(53,"option",65),t._uU(54," (GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent "),t.qZA(),t.TgZ(55,"option",66),t._uU(56,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),t.qZA(),t.TgZ(57,"option",67),t._uU(58,"(GMT +5:45) Kathmandu, Pokhara"),t.qZA(),t.TgZ(59,"option",68),t._uU(60,"(GMT +6:00) Almaty, Dhaka, Colombo"),t.qZA(),t.TgZ(61,"option",69),t._uU(62,"(GMT +6:30) Yangon, Mandalay"),t.qZA(),t.TgZ(63,"option",70),t._uU(64,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),t.qZA(),t.TgZ(65,"option",71),t._uU(66,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),t.qZA(),t.TgZ(67,"option",72),t._uU(68,"(GMT +8:45) Eucla"),t.qZA(),t.TgZ(69,"option",73),t._uU(70,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),t.qZA(),t.TgZ(71,"option",74),t._uU(72,"(GMT +9:30) Adelaide, Darwin"),t.qZA(),t.TgZ(73,"option",75),t._uU(74,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),t.qZA(),t.TgZ(75,"option",76),t._uU(76,"(GMT +10:30) Lord Howe Island"),t.qZA(),t.TgZ(77,"option",77),t._uU(78,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),t.qZA(),t.TgZ(79,"option",78),t._uU(80,"(GMT +11:30) Norfolk Island"),t.qZA(),t.TgZ(81,"option",79),t._uU(82,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),t.qZA(),t.TgZ(83,"option",80),t._uU(84,"(GMT +12:45) Chatham Islands"),t.qZA(),t.TgZ(85,"option",81),t._uU(86,"(GMT +13:00) Apia, Nukualofa"),t.qZA(),t.TgZ(87,"option",82),t._uU(88,"(GMT +14:00) Line Islands, Tokelau"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(89,"div",20),t.YNc(90,An,2,1,"mat-icon",21),t.YNc(91,fn,2,1,"mat-icon",21),t.TgZ(92,"span",22),t._uU(93),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(2),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(2),t.hij(" ",t.lcZ(8,6,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")," "),t.xp6(83),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function En(i,n){if(1&i&&(t.TgZ(0,"div",14),t.YNc(1,wo,11,5,"div",15),t.YNc(2,Fo,13,6,"div",15),t.YNc(3,Qo,13,9,"div",15),t.YNc(4,ko,2,1,"div",2),t.YNc(5,$o,12,6,"div",15),t.YNc(6,Wo,10,5,"div",15),t.YNc(7,nn,16,11,"div",15),t.YNc(8,ln,12,5,"div",15),t.YNc(9,un,19,7,"div",15),t.YNc(10,mn,5,4,"div",15),t.YNc(11,Tn,5,4,"div",2),t.YNc(12,In,94,8,"div",15),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf",("TEXTFIELD"===e.type||"VALIDATED_EMAIL"===e.type||"USERNAME"===e.type)&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","PASSWORD"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","RADIO"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf",("HEADING"===e.type||"HTML_COMMENT"===e.type)&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","SELECTIONBOX"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","TEXTAREA"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","COMBOBOX"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","CHECKBOX"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","SUBMIT_BUTTON"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","AUTO_SUBMIT_BUTTON"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","TIMEZONE"===e.type&&"ALWAYS"!==e.hidden)}}function vn(i,n){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,En,13,12,"div",13),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(2);t.xp6(1),t.Q6J("ngIf",o.isValid(e))}}function bn(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",4),t.YNc(2,Lo,5,3,"button",5),t.YNc(3,Mo,5,3,"button",5),t.TgZ(4,"mat-form-field"),t.TgZ(5,"mat-label"),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"mat-select",6),t.NdJ("valueChange",function(a){return t.CHM(e),t.oxw().currentLanguage=a}),t.YNc(9,Po,4,6,"mat-option",7),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,"div",8),t.YNc(11,vn,2,1,"div",9),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.Q6J("ngIf",!e.initialPage),t.xp6(1),t.Q6J("ngIf",e.initialPage),t.xp6(3),t.Oqu(t.lcZ(7,6,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),t.xp6(2),t.Q6J("value",e.currentLanguage),t.xp6(1),t.Q6J("ngForOf",e.languages),t.xp6(2),t.Q6J("ngForOf",e.applicationFormItems)}}let mt=(()=>{class i{constructor(e,o,a){this.route=e,this.translate=o,this.store=a,this.loading=!0,this.applicationFormItems=[],this.currentLanguage="en",this.languages=["en"],this.initialPage=!0,this.mapForCombobox=new Map}ngOnInit(){this.languages=this.store.get("supported_languages"),this.route.queryParamMap.subscribe(e=>{this.applicationFormItems=JSON.parse(e.get("applicationFormItems")),this.loading=!1})}switchToInitial(){this.initialPage=!0}switchToExtension(){this.initialPage=!1}getLocalizedOptions(e){if(e.i18n[this.currentLanguage]){const o=e.i18n[this.currentLanguage].options;if(null!==o&&""!==o){const a=[];for(const s of o.split("|"))a.push(s.split("#")[1]);return a}}return[]}isValid(e){if(e.forDelete)return!1;for(const o of e.applicationTypes)if("INITIAL"===o&&this.initialPage||"EXTENSION"===o&&!this.initialPage)return!0;return!1}disabledTooltip(e){let o,a,s;switch(e.disabled){case"ALWAYS":return this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.ALWAYS_DISABLED");case"IF_PREFILLED":return o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.DISABLED_WHEN"),a=null===e.hiddenDependencyItemId?"":this.applicationFormItems.find(r=>r.id===e.disabledDependencyItemId).shortname,s=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),`${o} ${a} ${s}`;case"IF_EMPTY":return o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.DISABLED_WHEN"),a=null===e.hiddenDependencyItemId?"":this.applicationFormItems.find(r=>r.id===e.disabledDependencyItemId).shortname,s=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),`${o} ${a} ${s}`;default:return""}}hiddenTooltip(e){let o,a,s;switch(e.hidden){case"ALWAYS":return this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.ALWAYS_HIDDEN");case"IF_PREFILLED":return o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.HIDDEN_WHEN"),a=null===e.hiddenDependencyItemId?"":this.applicationFormItems.find(r=>r.id===e.hiddenDependencyItemId).shortname,s=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),`${o} ${a} ${s}`;case"IF_EMPTY":return o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.HIDDEN_WHEN"),a=null===e.hiddenDependencyItemId?"":this.applicationFormItems.find(r=>r.id===e.hiddenDependencyItemId).shortname,s=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),`${o} ${a} ${s}`;default:return""}}getLocalizedLabel(e){return e.i18n[this.currentLanguage]&&e.i18n[this.currentLanguage].label?e.i18n[this.currentLanguage].label+(e.required?"*":""):e.shortname+(e.required?"*":"")}getLocalizedHint(e){return e.i18n[this.currentLanguage]?e.i18n[this.currentLanguage].help:""}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(E.gz),t.Y36(_.sK),t.Y36(u.d6))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-application-form-preview"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"w-100","mb-2"],["class","mr-2","mat-stroked-button","",3,"click",4,"ngIf"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"card","mb-4","p-5"],[4,"ngFor","ngForOf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"material-icons"],[3,"value"],["class","mb-2",4,"ngIf"],[1,"mb-2"],["class","d-flex",4,"ngIf"],[1,"d-flex"],[1,"w-50","d-flex"],[1,"w-50"],["type","text",1,"w-100",3,"disabled"],[1,"w-50","d-flex","left"],["class","pointer",3,"matTooltip",4,"ngIf"],[1,"ml-2"],[1,"pointer",3,"matTooltip"],["type","text",1,"mb-1","w-100",3,"disabled"],["type","reset",3,"disabled","value"],["type","radio","name","temp",3,"disabled"],[3,"innerHTML"],[1,"w-100",3,"disabled"],[1,"w-50",3,"disabled"],[1,"w-100",3,"ngModel","disabled","ngModelChange"],["value","true","selected",""],["value","false",4,"ngFor","ngForOf"],["class","w-100",4,"ngIf"],["value","false"],[1,"w-100"],["type","text"],["type","checkbox",3,"disabled"],["mat-flat-button","","color","accent",3,"disabled"],["class","pointer left",3,"matTooltip",4,"ngIf"],[1,"pointer","left",3,"matTooltip"],["name","timezone_offset","id","timezone-offset",1,"w-100",3,"disabled"],["value","-12:00","selected","selected"],["value","-12:00"],["value","-11:00"],["value","-10:00"],["value","-09:50"],["value","-09:00"],["value","-08:00"],["value","-07:00"],["value","-06:00"],["value","-05:00"],["value","-04:50"],["value","-04:00"],["value","-03:50"],["value","-03:00"],["value","-02:00"],["value","-01:00"],["value","+00:00"],["value","+01:00"],["value","+02:00"],["value","+03:00"],["value","+03:50"],["value","+04:00"],["value","+04:50"],["value","+05:00"],["value","+05:50"],["value","+05:75"],["value","+06:00"],["value","+06:50"],["value","+07:00"],["value","+08:00"],["value","+08:75"],["value","+09:00"],["value","+09:50"],["value","+10:00"],["value","+10:50"],["value","+11:00"],["value","+11:50"],["value","+12:00"],["value","+12:75"],["value","+13:00"],["value","+14:00"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,Do,1,0,"mat-spinner",1),t.YNc(4,bn,12,8,"div",2)),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,3,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.TITLE"),"\n"),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,I.lW,b.KE,b.hX,Y.gD,h.sg,J.ey,M.Hw,N.gM,m._Y,m.JL,m.F,m.YN,m.Kr,m.EJ,m.JJ,m.On],pipes:[_.X$,h.gd],styles:[".left[_ngcontent-%COMP%]{margin-left:10px}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),i})();function Cn(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.hij(" ",t.lcZ(1,1,"MEMBER_DETAIL.ENTITY")," ")}function Sn(i,n){if(1&i&&t._UZ(0,"app-one-entity-attribute-page",5),2&i){const e=t.oxw();t.Q6J("entity","member")("entityId",e.memberId)}}function Zn(i,n){1&i&&(t._uU(0),t.ALo(1,"translate"),t.ALo(2,"translate")),2&i&&t.AsE(" ",t.lcZ(1,2,"MEMBER_DETAIL.ENTITY")," - ",t.lcZ(2,4,"GROUP_DETAIL.ENTITY")," ")}function xn(i,n){if(1&i&&t._UZ(0,"app-two-entity-attribute-page",6),2&i){const e=t.oxw(2);t.Q6J("firstEntity","member")("firstEntityId",e.memberId)("secondEntity","group")}}function Nn(i,n){1&i&&(t.TgZ(0,"mat-tab"),t.YNc(1,Zn,3,6,"ng-template",1),t.YNc(2,xn,1,3,"ng-template",2),t.qZA())}function On(i,n){1&i&&(t._uU(0),t.ALo(1,"translate"),t.ALo(2,"translate")),2&i&&t.AsE(" ",t.lcZ(1,2,"MEMBER_DETAIL.ENTITY")," - ",t.lcZ(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function Rn(i,n){if(1&i&&t._UZ(0,"app-two-entity-attribute-page",6),2&i){const e=t.oxw(2);t.Q6J("firstEntity","member")("firstEntityId",e.memberId)("secondEntity","resource")}}function Dn(i,n){1&i&&(t.TgZ(0,"mat-tab"),t.YNc(1,On,3,6,"ng-template",1),t.YNc(2,Rn,1,3,"ng-template",2),t.qZA())}function Ln(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.hij(" ",t.lcZ(1,1,"ADMIN_USER.ENTITY")," ")}function Mn(i,n){if(1&i&&t._UZ(0,"app-one-entity-attribute-page",7),2&i){const e=t.oxw();t.Q6J("entityId",e.member.userId)("entity","user")}}function Pn(i,n){1&i&&(t._uU(0),t.ALo(1,"translate"),t.ALo(2,"translate")),2&i&&t.AsE(" ",t.lcZ(1,2,"ADMIN_USER.ENTITY")," - ",t.lcZ(2,4,"FACILITY_DETAIL.ENTITY")," ")}function Un(i,n){if(1&i&&t._UZ(0,"app-two-entity-attribute-page",6),2&i){const e=t.oxw(2);t.Q6J("firstEntity","user")("firstEntityId",e.member.userId)("secondEntity","facility")}}function Gn(i,n){1&i&&(t.TgZ(0,"mat-tab"),t.YNc(1,Pn,3,6,"ng-template",1),t.YNc(2,Un,1,3,"ng-template",2),t.qZA())}let wn=(()=>{class i{constructor(e,o,a){this.route=e,this.authResolver=o,this.memberManager=a}ngOnInit(){this.route.parent.params.subscribe(e=>{this.memberId=e.memberId,this.memberManager.getMemberById(this.memberId).subscribe(o=>{this.member=o,this.memberGroupAttAuth=this.authResolver.isAuthorized("getMemberGroups_Member_policy",[this.member]),this.memberResourceAttAuth=this.authResolver.isAuthorized("getAssignedResourcesWithStatus_Member_policy",[this.member]),this.userFacilityAttAuth=this.authResolver.isAuthorized("getAssignedFacilities_User_policy",[{beanName:"User",id:o.userId}])})})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(E.gz),t.Y36(u.x4),t.Y36(g.uq))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-member-attributes"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:14,vars:6,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[1,"mb-2"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"],[3,"entityId","entity"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-tab-group"),t.TgZ(5,"mat-tab"),t.YNc(6,Cn,2,3,"ng-template",1),t.YNc(7,Sn,1,2,"ng-template",2),t.qZA(),t.YNc(8,Nn,3,0,"mat-tab",3),t.YNc(9,Dn,3,0,"mat-tab",3),t.TgZ(10,"mat-tab",4),t.YNc(11,Ln,2,3,"ng-template",1),t.YNc(12,Mn,1,2,"ng-template",2),t.qZA(),t.YNc(13,Gn,3,0,"mat-tab",3),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,4,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),t.xp6(6),t.Q6J("ngIf",o.memberGroupAttAuth),t.xp6(1),t.Q6J("ngIf",o.memberResourceAttAuth),t.xp6(4),t.Q6J("ngIf",o.userFacilityAttAuth))},directives:[R.SP,R.uX,R.uD,R.Vc,z.t,h.O5,_t.Y],pipes:[_.X$],styles:[""]}),i})(),yn=(()=>{class i{constructor(e,o,a,s){this.sideMenuService=e,this.voService=o,this.authResolver=a,this.entityStorageService=s,this.items=[]}ngOnInit(){this.vo=this.entityStorageService.getEntity(),this.initItems()}initItems(){this.items=[{cssIcon:"perun-resource",url:`/organizations/${this.vo.id}/resources/preview`,label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",style:"vo-btn"}],this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-resource-tags",url:`/organizations/${this.vo.id}/resources/tags`,label:"MENU_ITEMS.VO.RESOURCE_TAGS",style:"vo-btn"}),this.authResolver.isAuthorized("getResourcesState_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-resources-state",url:`/organizations/${this.vo.id}/resources/states`,label:"MENU_ITEMS.VO.RESOURCE_STATES",style:"vo-btn"})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(y.D),t.Y36(g.YF),t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-resources-overview"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",0),t.qZA()),2&e&&(t.xp6(1),t.Q6J("items",o.items)("size","small"))},directives:[V.L],styles:[""]}),i})();var qn=l(68056),Fn=l(24219),x=l(20449),Vn=l(17584);function Yn(i,n){1&i&&t._UZ(0,"mat-spinner",6)}function Jn(i,n){1&i&&t._UZ(0,"th",15)}function Qn(i,n){if(1&i&&(t.TgZ(0,"td",16),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.Oqu(e.tagName)}}function kn(i,n){1&i&&t._UZ(0,"tr",17)}function Bn(i,n){1&i&&t._UZ(0,"tr",18)}function jn(i,n){if(1&i&&(t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,Jn,1,0,"th",11),t.YNc(10,Qn,2,1,"td",12),t.BQk(),t.YNc(11,kn,1,0,"tr",13),t.YNc(12,Bn,1,0,"tr",14),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,"DIALOGS.DELETE_RESOURCE_TAG.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.DELETE_RESOURCE_TAG.ASK")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let Hn=(()=>{class i{constructor(e,o,a){this.dialogRef=e,this.data=o,this.resourceManager=a,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new c.by(this.data.tagsForDelete)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;for(const e of this.data.tagsForDelete)this.resourceManager.deleteResourceTag({resourceTag:e}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.dialogRef.close(!0))}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(g.xk))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-delete-resource-tag-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Yn,1,0,"mat-spinner",1),t.YNc(5,jn,13,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return o.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.DELETE_RESOURCE_TAG.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.DELETE_RESOURCE_TAG.CANCEL")," "),t.xp6(2),t.Q6J("disabled",o.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.DELETE_RESOURCE_TAG.SUBMIT")," "))},directives:[p.uh,h.O5,f.$g,p.xY,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.as,c.XQ,c.nj,c.Gk,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();var C=l(10036),w=l(96214),P=l(7434),$n=l(17672);function zn(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().create()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.CREATE_BUTTON"),"\n"))}function Xn(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().deleteTag()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"VO_DETAIL.RESOURCES.TAGS.DELETE_BUTTON"),"\n")}}function Wn(i,n){1&i&&t._UZ(0,"mat-spinner",9)}function Kn(i,n){if(1&i&&t._UZ(0,"app-resources-tags-list",10),2&i){const e=t.oxw();t.Q6J("selection",e.selection)("tableId",e.tableId)("resourceTags",e.resourceTag)("filterValue",e.filterValue)("displayedColumns",e.displayedColumns)("entity","vo")}}let ta=(()=>{class i{constructor(e,o,a,s,r,d){this.resourceManager=e,this.dialog=o,this.notificator=a,this.translator=s,this.authResolver=r,this.entityStorageService=d,this.loading=!1,this.resourceTag=[],this.selection=new x.Ov(!0,[]),this.tableId=C.O7,this.displayedColumns=[]}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.updateData()}deleteTag(){const e=(0,T.kZ)();e.width="450px",e.data={tagsForDelete:this.selection.selected,theme:"vo-theme"},this.dialog.open(Hn,e).afterClosed().subscribe(a=>{a&&(this.translator.get("VO_DETAIL.RESOURCES.TAGS.DELETE_SUCCESS").subscribe(s=>{this.notificator.showSuccess(s)}),this.updateData())})}create(){const e=(0,T.kZ)();e.width="450px",e.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(Vn.p,e).afterClosed().subscribe(a=>{a&&(this.translator.get("VO_DETAIL.RESOURCES.TAGS.CREATE_SUCCESS").subscribe(s=>{this.notificator.showSuccess(s)}),this.updateData())})}updateData(){this.loading=!0,this.selection.clear(),this.resourceManager.getAllResourcesTagsForVo(this.vo.id).subscribe(e=>{this.resourceTag=e,this.selection.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.displayedColumns=[],this.createAuth=this.authResolver.isAuthorized("createResourceTag_ResourceTag_Vo_policy",[this.vo]),this.deleteAuth=this.authResolver.isAuthorized("deleteResourceTag_ResourceTag_policy",[this.vo]),this.editAuth=this.authResolver.isAuthorized("updateResourceTag_ResourceTag_policy",[this.vo]),this.displayedColumns=this.deleteAuth?["select","id","name"]:["id","name"],this.editAuth&&this.displayedColumns.push("edit")}applyFilter(e){this.filterValue=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.xk),t.Y36(p.uw),t.Y36(u.V6),t.Y36(_.sK),t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-resources-tags"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2 action-button","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"selection","tableId","resourceTags","filterValue","displayedColumns","entity",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"selection","tableId","resourceTags","filterValue","displayedColumns","entity"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return o.updateData()}),t.qZA(),t.YNc(4,zn,3,3,"button",2),t.YNc(5,Xn,3,4,"button",3),t.TgZ(6,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.YNc(7,Wn,1,0,"mat-spinner",5),t.YNc(8,Kn,1,6,"app-resources-tags-list",6)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"VO_DETAIL.RESOURCES.TAGS.TITLE")),t.xp6(3),t.Q6J("ngIf",o.createAuth),t.xp6(1),t.Q6J("ngIf",o.deleteAuth),t.xp6(1),t.Q6J("placeholder","VO_DETAIL.RESOURCES.TAGS.SEARCH"),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[w.t,h.O5,I.lW,P.L,f.$g,$n.o],pipes:[_.X$],styles:[""]}),i})();function ea(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"app-expiration-settings",1),t.NdJ("saveAttribute",function(a){return t.CHM(e),t.oxw().saveExpirationAttribute(a)}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("expirationAttribute",e.expirationAttribute)}}let ia=(()=>{class i{constructor(e,o,a,s,r){this.attributesManager=e,this.translate=o,this.notificator=a,this.apiRequest=s,this.entityStorageService=r,this.translate.get("GROUP_DETAIL.SETTINGS.EXPIRATION.SUCCESS_MESSAGE").subscribe(d=>this.successMessage=d),this.translate.get("GROUP_DETAIL.SETTINGS.EXPIRATION.ERROR_MESSAGE").subscribe(d=>this.errorMessage=d)}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.loadSettings()}loadSettings(){this.attributesManager.getGroupAttributeByName(this.group.id,S.r.GROUP_DEF_EXPIRATION_RULES).subscribe(e=>{this.expirationAttribute=e})}saveExpirationAttribute(e){this.apiRequest.dontHandleErrorForNext(),this.attributesManager.setGroupAttribute({group:this.group.id,attribute:e}).subscribe(()=>{this.loadSettings(),this.notificator.showSuccess(this.successMessage)},o=>this.notificator.showRPCError(o.error,this.errorMessage))}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.H8),t.Y36(_.sK),t.Y36(u.V6),t.Y36(u.F5),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-settings-expiration"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(e,o){1&e&&t.YNc(0,ea,1,1,"app-expiration-settings",0),2&e&&t.Q6J("ngIf",void 0!==o.expirationAttribute)},directives:[h.O5,ut],styles:[""]}),i})(),oa=(()=>{class i{constructor(e,o){this.guiAuthResolver=e,this.entityStorageService=o,this.availableRoles=[],this.selected="user",this.type="Group",this.theme="group-theme"}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Group")}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-settings-managers"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:1,vars:4,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(e,o){1&e&&t._UZ(0,"app-managers-page",0),2&e&&t.Q6J("complementaryObject",o.group)("complementaryObjectType",o.type)("theme",o.theme)("availableRoles",o.availableRoles)},directives:[dt.s],styles:[""]}),i})();function na(i,n){1&i&&t._UZ(0,"mat-spinner",6)}function aa(i,n){1&i&&t._UZ(0,"th",15)}function sa(i,n){if(1&i&&(t.TgZ(0,"td",16),t._uU(1),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(2);t.xp6(1),t.Oqu(o.getMailType(e))}}function ra(i,n){1&i&&t._UZ(0,"tr",17)}function la(i,n){1&i&&t._UZ(0,"tr",18)}function ca(i,n){if(1&i&&(t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,aa,1,0,"th",11),t.YNc(10,sa,2,1,"td",12),t.BQk(),t.YNc(11,ra,1,0,"tr",13),t.YNc(12,la,1,0,"tr",14),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CONFIRMATION")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let gt=(()=>{class i{constructor(e,o,a,s,r){this.dialogRef=e,this.data=o,this.notificator=a,this.translate=s,this.registrarService=r,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new c.by(this.data.mails)}onCancel(){this.dialogRef.close(!1)}onSubmit(){if(this.loading=!0,this.data.groupId)for(const e of this.data.mails)this.registrarService.deleteApplicationMailForGroup(this.data.groupId,e.id).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1);else for(const e of this.data.mails)this.registrarService.deleteApplicationMailForVo(this.data.voId,e.id).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}getMailType(e){let o="";return null==e.mailType||0===e.mailType.length?o="":this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_"+e.mailType).subscribe(a=>{o=a}),o}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(u.V6),t.Y36(_.sK),t.Y36(g.tk))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-delete-notification-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,na,1,0,"mat-spinner",1),t.YNc(5,ca,13,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return o.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CANCEL")," "),t.xp6(2),t.Q6J("disabled",o.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.SUBMIT")," "))},directives:[p.uh,h.O5,f.$g,p.xY,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.as,c.XQ,c.nj,c.Gk,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();var pa=l(74533);function ua(i,n){1&i&&t._UZ(0,"mat-spinner",7)}function da(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",8),t.TgZ(1,"div"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-form-field"),t.TgZ(5,"textarea",9),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().mailFooter=a}),t.qZA(),t.qZA(),t.TgZ(6,"div",10),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.hij("",t.lcZ(3,4,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.LABEL"),":"),t.xp6(3),t.Q6J("cdkTextareaAutosize",!0)("ngModel",e.mailFooter),t.xp6(2),t.hij(" ",t.lcZ(8,6,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.DESCRIPTION")," ")}}let ht=(()=>{class i{constructor(e,o,a,s,r){this.dialogRef=e,this.attributesManager=o,this.translateService=a,this.notificator=s,this.data=r,this.mailFooter="",this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.data.groupId?this.getFooterForGroup():this.getFooterForVo(),this.loading=!1}submit(){this.loading=!0,this.mailAttribute.value=this.mailFooter,this.data.groupId?this.attributesManager.setGroupAttribute({group:this.data.groupId,attribute:this.mailAttribute}).subscribe(()=>{this.notificateSuccess(),this.dialogRef.close()},()=>this.loading=!1):this.attributesManager.setVoAttribute({vo:this.data.voId,attribute:this.mailAttribute}).subscribe(()=>{this.notificateSuccess(),this.dialogRef.close()},()=>this.loading=!1)}cancel(){this.dialogRef.close()}getFooterForVo(){this.attributesManager.getVoAttributeByName(this.data.voId,S.r.VO_DEF_MAIL_FOOTER).subscribe(e=>{this.mailAttribute=e,this.editAuth=this.mailAttribute.writable,this.mailFooter=e.value?e.value:""})}getFooterForGroup(){this.attributesManager.getGroupAttributeByName(this.data.groupId,S.r.GROUP_DEF_MAIL_FOOTER).subscribe(e=>{this.mailAttribute=e,this.editAuth=this.mailAttribute.writable,this.mailFooter=e.value?e.value:""})}notificateSuccess(){this.translateService.get("DIALOGS.NOTIFICATIONS_EDIT_FOOTER.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close()})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(g.H8),t.Y36(_.sK),t.Y36(u.V6),t.Y36(p.WI))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-edit-email-footer-dialog"]],decls:15,vars:20,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"cdkTextareaAutosize","ngModel","ngModelChange"],[1,"mt-2","font-italic","text-muted"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,ua,1,0,"mat-spinner",1),t.YNc(5,da,9,8,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.cancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"div",5),t.ALo(11,"translate"),t.TgZ(12,"button",6),t.NdJ("click",function(){return o.submit()}),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,12,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,14,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.CANCEL_BUTTON")," "),t.xp6(2),t.s9C("matTooltip",t.lcZ(11,16,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.HINT")),t.Q6J("matTooltipDisabled",o.editAuth)("matTooltipPosition","above"),t.xp6(2),t.Q6J("disabled",o.loading||!o.editAuth),t.xp6(1),t.hij(" ",t.lcZ(14,18,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.SUBMIT_BUTTON")," "))},directives:[p.uh,h.O5,f.$g,p.xY,b.KE,G.Nt,pa.IC,m.Fj,m.JJ,m.On,p.H8,I.lW,N.gM],pipes:[_.X$],styles:[""]}),i})();var _a=l(53435);function ma(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",1),t.TgZ(2,"button",2),t.NdJ("click",function(){const s=t.CHM(e).$implicit;return t.oxw().addTag("{"+s[0]+"}")}),t.ALo(3,"translate"),t._uU(4),t.qZA(),t.TgZ(5,"span",3),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.qZA(),t._UZ(8,"mat-divider",4),t.qZA()}if(2&i){const e=n.$implicit;t.xp6(2),t.s9C("matTooltip",t.lcZ(3,3,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TAG_HINT")),t.xp6(2),t.hij(" ",e[0]," "),t.xp6(2),t.hij(" ",t.lcZ(7,5,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL."+e[1])," ")}}let ga=(()=>{class i{constructor(){this.tags=[],this.addedTag=new t.vpe}addTag(e){this.addedTag.emit(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-tag-section"]],inputs:{tags:"tags"},outputs:{addedTag:"addedTag"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[1,"d-flex","flex-row"],["matTooltipPosition","above","mat-flat-button","",1,"tag-text","w-25",3,"matTooltip","click"],[1,"w-75"],[1,"mt-1","mb-1"]],template:function(e,o){1&e&&t.YNc(0,ma,9,7,"div",0),2&e&&t.Q6J("ngForOf",o.tags)},directives:[h.sg,I.lW,N.gM,W.d],pipes:[_.X$],styles:[".tag-text[_ngcontent-%COMP%]{font-size:.9rem;font-weight:700}"]}),i})(),ha=(()=>{class i{constructor(){this.addedTag=new t.vpe,this.applicationRelatedTags=[],this.userRelatedTags=[],this.validationLinksUsersTags=[],this.applicationLinksUsersTags=[],this.applicationLinksAdministratorsTags=[],this.perunLinksAdministratorsTags=[],this.userInvitationsTags=[]}ngOnInit(){this.getApplicationRelatedTags(),this.getUserRelatedTags(),this.getValidationLinksUsersTags(),this.getApplicationLinksUsersTags(),this.getApplicationLinksAdministratorsTags(),this.getPerunLinksAdministratorsTags(),this.getUserInvitationsTags()}getApplicationRelatedTags(){const e=[];e.push(["appId","APPID_DESCRIPTION"]),e.push(["actor","ACTOR_DESCRIPTION"]),e.push(["extSource","EXTSOURCE_DESCRIPTION"]),e.push(["voName","VONAME_DESCRIPTION"]),e.push(["groupName","GROUPNAME_DESCRIPTION"]),e.push(["mailFooter","MAILFOOTER_DESCRIPTION"]),e.push(["errors","ERRORS_DESCRIPTION"]),e.push(["customMessage","CUSTOMMESSAGE_DESCRIPTION"]),e.push(["fromApp-itemName","FROMAPPITEMNAME_DESCRIPTION"]),this.applicationRelatedTags=e}getUserRelatedTags(){const e=[];e.push(["firstName","FIRSTNAME_DESCRIPTION"]),e.push(["lastName","LASTNAME_DESCRIPTION"]),e.push(["displayName","DISPLAYNAME_DESCRIPTION"]),e.push(["mail","MAIL_DESCRIPTION"]),e.push(["phone","PHONE_DESCRIPTION"]),e.push(["login-namespace","LOGINNAMESPACE_DESCRIPTION"]),e.push(["membershipExpiration","MEMBERSHIPEXPIRATION_DESCRIPTION"]),this.userRelatedTags=e}getValidationLinksUsersTags(){const e=[];e.push(["validationLink","VALIDATIONLINK_DESCRIPTION"]),e.push(["validationLink-krb","VALIDATIONKRB_DESCRIPTION"]),e.push(["validationLink-fed","VALIDATIONFED_DESCRIPTION"]),e.push(["validationLink-cert","VALIDATIONCERT_DESCRIPTION"]),e.push(["validationLink-non","VALIDATIONNON_DESCRIPTION"]),e.push(["redirectUrl","REDIRECTURL_DESCRIPTION"]),this.validationLinksUsersTags=e}getApplicationLinksUsersTags(){const e=[];e.push(["appGuiUrl","APPGUIURL_DESCRIPTION"]),e.push(["appGuiUrl-krb","APPGUIURLKRB_DESCRIPTION"]),e.push(["appGuiUrl-fed","APPGUIURLFED_DESCRIPTION"]),e.push(["appGuiUrl-cert","APPGUIURLCERT_DESCRIPTION"]),e.push(["appGuiUrl-non","APPGUIURLNON_DESCRIPTION"]),this.applicationLinksUsersTags=e}getApplicationLinksAdministratorsTags(){const e=[];e.push(["appDetailUrl","APPDETAILURL_DESCRIPTION"]),e.push(["appDetailUrl-krb","APPDETAILURLKRB_DESCRIPTION"]),e.push(["appDetailUrl-fed","APPDETAILURLFED_DESCRIPTION"]),e.push(["appDetailUrl-cert","APPDETAILURLCERT_DESCRIPTION"]),this.applicationLinksAdministratorsTags=e}getPerunLinksAdministratorsTags(){const e=[];e.push(["perunGuiUrl","PERUNGUIURL_DESCRIPTION"]),e.push(["perunGuiUrl-krb","PERUNGUIURLKRB_DESCRIPTION"]),e.push(["perunGuiUrl-fed","PERUNGUIURLFED_DESCRIPTION"]),e.push(["perunGuiUrl-cert","PERUNGUIURLCERT_DESCRIPTION"]),this.perunLinksAdministratorsTags=e}getUserInvitationsTags(){const e=[];e.push(["voName","USER_INVITATIONS_VONAME_DESCRIPTION"]),e.push(["groupName","USER_INVITATIONS_GROUPNAME_DESCRIPTION"]),e.push(["displayName","USER_INVITATIONS_DISPLAYNAME_DESCRIPTION"]),e.push(["mailFooter","USER_INVITATIONS_MAILFOOTER_DESCRIPTION"]),e.push(["invitationLink","INVITATIONLINK_DESCRIPTION"]),e.push(["invitationLink-krb","INVITATIONLINKKRB_DESCRIPTION"]),e.push(["invitationLink-fed","INVITATIONLINKFED_DESCRIPTION"]),e.push(["invitationLink-cert","INVITATIONLINKCERT_DESCRIPTION"]),e.push(["invitationLink-non","INVITATIONLINKNON_DESCRIPTION"]),this.userInvitationsTags=e}addTag(e){this.addedTag.emit(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-tag-bar"]],outputs:{addedTag:"addedTag"},decls:47,vars:46,consts:[["alert_type","info"],["cdkScrollable","",1,"scrollable"],[1,"font-weight-bold"],[3,"tags","addedTag"],[1,"font-weight-bold","pt-2"],[1,"font-italic","text-muted"]],template:function(e,o){1&e&&(t.TgZ(0,"app-alert",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",1),t.TgZ(4,"div",2),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"app-tag-section",3),t.NdJ("addedTag",function(s){return o.addTag(s)}),t.qZA(),t.TgZ(8,"div",4),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"app-tag-section",3),t.NdJ("addedTag",function(s){return o.addTag(s)}),t.qZA(),t.TgZ(12,"div",4),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.TgZ(15,"div",5),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.TgZ(18,"app-tag-section",3),t.NdJ("addedTag",function(s){return o.addTag(s)}),t.qZA(),t.TgZ(19,"div",4),t._uU(20),t.ALo(21,"translate"),t.qZA(),t.TgZ(22,"div",5),t._uU(23),t.ALo(24,"translate"),t.qZA(),t.TgZ(25,"app-tag-section",3),t.NdJ("addedTag",function(s){return o.addTag(s)}),t.qZA(),t.TgZ(26,"div",4),t._uU(27),t.ALo(28,"translate"),t.qZA(),t.TgZ(29,"div",5),t._uU(30),t.ALo(31,"translate"),t.qZA(),t.TgZ(32,"app-tag-section",3),t.NdJ("addedTag",function(s){return o.addTag(s)}),t.qZA(),t.TgZ(33,"div",4),t._uU(34),t.ALo(35,"translate"),t.qZA(),t.TgZ(36,"div",5),t._uU(37),t.ALo(38,"translate"),t.qZA(),t.TgZ(39,"app-tag-section",3),t.NdJ("addedTag",function(s){return o.addTag(s)}),t.qZA(),t.TgZ(40,"div",4),t._uU(41),t.ALo(42,"translate"),t.qZA(),t.TgZ(43,"div",5),t._uU(44),t.ALo(45,"translate"),t.qZA(),t.TgZ(46,"app-tag-section",3),t.NdJ("addedTag",function(s){return o.addTag(s)}),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,20,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TAGS_DESCRIPTION"),"\n"),t.xp6(4),t.hij(" ",t.lcZ(6,22,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_RELATED_SECTION"),": "),t.xp6(2),t.Q6J("tags",o.applicationRelatedTags),t.xp6(2),t.hij(" ",t.lcZ(10,24,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_RELATED_SECTION"),": "),t.xp6(2),t.Q6J("tags",o.userRelatedTags),t.xp6(2),t.hij(" ",t.lcZ(14,26,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_USERS_SECTION"),": "),t.xp6(3),t.hij(" ",t.lcZ(17,28,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_DESCRIPTION")," "),t.xp6(2),t.Q6J("tags",o.validationLinksUsersTags),t.xp6(2),t.hij(" ",t.lcZ(21,30,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_USERS_SECTION"),": "),t.xp6(3),t.hij(" ",t.lcZ(24,32,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_DESCRIPTION")," "),t.xp6(2),t.Q6J("tags",o.applicationLinksUsersTags),t.xp6(2),t.hij(" ",t.lcZ(28,34,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_SECTION"),": "),t.xp6(3),t.hij(" ",t.lcZ(31,36,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_DESCRIPTION")," "),t.xp6(2),t.Q6J("tags",o.applicationLinksAdministratorsTags),t.xp6(2),t.hij(" ",t.lcZ(35,38,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_SECTION"),": "),t.xp6(3),t.hij(" ",t.lcZ(38,40,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_DESCRIPTION")," "),t.xp6(2),t.Q6J("tags",o.perunLinksAdministratorsTags),t.xp6(2),t.hij(" ",t.lcZ(42,42,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_SECTION"),": "),t.xp6(3),t.hij(" ",t.lcZ(45,44,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_DESCRIPTION")," "),t.xp6(2),t.Q6J("tags",o.userInvitationsTags))},directives:[U.w,_a.PQ,ga],pipes:[_.X$],styles:[".scrollable[_ngcontent-%COMP%]{height:370px;overflow:auto}"]}),i})();function Ta(i,n){1&i&&(t.TgZ(0,"div"),t.TgZ(1,"h1",9),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.qZA()),2&i&&(t.xp6(2),t.Oqu(t.lcZ(3,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_CREATE")))}function Aa(i,n){1&i&&(t.TgZ(0,"h1",9),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_EDIT")))}function fa(i,n){1&i&&t._UZ(0,"mat-spinner",10)}function Ia(i,n){1&i&&(t.TgZ(0,"mat-option",37),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APPROVABLE_GROUP_APP_USER")," "))}function Ea(i,n){1&i&&(t.TgZ(0,"div",35),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_EDIT")," "))}function va(i,n){1&i&&(t.TgZ(0,"div",35),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_CREATE")," "))}function ba(i,n){1&i&&(t.TgZ(0,"mat-option",38),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EXTENSION")," "))}function Ca(i,n){1&i&&(t.TgZ(0,"div",35),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_EDIT")," "))}function Sa(i,n){1&i&&(t.TgZ(0,"div",35),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_CREATE")," "))}function Za(i,n){1&i&&t._UZ(0,"mat-divider",52)}function xa(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",40),t.TgZ(1,"div",41),t.TgZ(2,"div",42),t.TgZ(3,"button",43),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(3);return a.showTags=!a.showTags}),t._uU(4),t.ALo(5,"translate"),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"span",44),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"mat-form-field",18),t.TgZ(11,"input",45,46),t.NdJ("focus",function(){return t.CHM(e),t.oxw(3).isTextFocused=!1})("ngModelChange",function(a){t.CHM(e);const s=t.oxw().$implicit;return t.oxw(2).applicationMail.message[s].subject=a}),t.qZA(),t.qZA(),t.qZA(),t.TgZ(13,"div",47),t._uU(14),t.ALo(15,"translate"),t.qZA(),t.TgZ(16,"mat-form-field",18),t.TgZ(17,"textarea",48,49),t.NdJ("focus",function(){return t.CHM(e),t.oxw(3).isTextFocused=!0})("ngModelChange",function(a){t.CHM(e);const s=t.oxw().$implicit;return t.oxw(2).applicationMail.message[s].text=a}),t._uU(19," "),t.qZA(),t.qZA(),t.qZA(),t.YNc(20,Za,1,0,"mat-divider",50),t.TgZ(21,"div"),t.TgZ(22,"app-tag-bar",51),t.NdJ("addedTag",function(a){t.CHM(e);const s=t.MAs(12),r=t.MAs(18),d=t.oxw().$implicit;return t.oxw(2).addTag(s,r,d,a)}),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw().$implicit,o=t.oxw(2);t.xp6(4),t.hij(" ",o.showTags?t.lcZ(5,7,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.HIDE_TAGS"):t.lcZ(6,9,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SHOW_TAGS")," "),t.xp6(4),t.hij(" ",t.lcZ(9,11,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SUBJECT"),": "),t.xp6(3),t.Q6J("ngModel",o.applicationMail.message[e].subject),t.xp6(3),t.hij(" ",t.lcZ(15,13,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TEXT"),": "),t.xp6(3),t.Q6J("ngModel",o.applicationMail.message[e].text),t.xp6(3),t.Q6J("ngIf",o.showTags),t.xp6(1),t.Q6J("@tagsOpenClose",o.showTags?"open":"closed")}}function Na(i,n){1&i&&(t.TgZ(0,"mat-tab",14),t.ALo(1,"translate"),t.ALo(2,"uppercase"),t.YNc(3,xa,23,15,"ng-template",39),t.qZA()),2&i&&t.s9C("label",t.lcZ(1,1,t.lcZ(2,3,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.LANG_"+n.$implicit)))}function Oa(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",11),t.TgZ(1,"div"),t.TgZ(2,"app-alert",12),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.qZA(),t.TgZ(5,"mat-tab-group",13),t.TgZ(6,"mat-tab",14),t.ALo(7,"translate"),t.TgZ(8,"div",15),t.TgZ(9,"span",16),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.TgZ(12,"div",17),t.TgZ(13,"mat-form-field",18),t.TgZ(14,"mat-select",19),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().applicationMail.mailType=a})("selectionChange",function(){return t.CHM(e),t.oxw().notificationExist()}),t.TgZ(15,"mat-option",20),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.YNc(18,Ia,3,3,"mat-option",21),t.TgZ(19,"mat-option",22),t._uU(20),t.ALo(21,"translate"),t.qZA(),t.TgZ(22,"mat-option",23),t._uU(23),t.ALo(24,"translate"),t.qZA(),t.TgZ(25,"mat-option",24),t._uU(26),t.ALo(27,"translate"),t.qZA(),t.TgZ(28,"mat-option",25),t._uU(29),t.ALo(30,"translate"),t.qZA(),t.TgZ(31,"mat-option",26),t._uU(32),t.ALo(33,"translate"),t.qZA(),t.TgZ(34,"mat-option",27),t._uU(35),t.ALo(36,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(37,"div",28),t._UZ(38,"span",29),t.YNc(39,Ea,3,3,"div",30),t.YNc(40,va,3,3,"div",30),t.qZA(),t.TgZ(41,"div",15),t.TgZ(42,"span",31),t._uU(43),t.ALo(44,"translate"),t.qZA(),t.TgZ(45,"div",17),t.TgZ(46,"mat-form-field",18),t.TgZ(47,"mat-select",19),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().applicationMail.appType=a})("selectionChange",function(){return t.CHM(e),t.oxw().notificationExist()}),t.TgZ(48,"mat-option",32),t._uU(49),t.ALo(50,"translate"),t.qZA(),t.YNc(51,ba,3,3,"mat-option",33),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(52,"div",28),t._UZ(53,"span",29),t.YNc(54,Ca,3,3,"div",30),t.YNc(55,Sa,3,3,"div",30),t.qZA(),t.TgZ(56,"div",15),t.TgZ(57,"span",31),t._uU(58),t.ALo(59,"translate"),t.qZA(),t.TgZ(60,"div",17),t.TgZ(61,"mat-checkbox",34),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().applicationMail.send=a}),t.qZA(),t.qZA(),t.qZA(),t.TgZ(62,"div",28),t._UZ(63,"span",29),t.TgZ(64,"div",35),t._uU(65),t.ALo(66,"translate"),t.qZA(),t.qZA(),t.qZA(),t.YNc(67,Na,4,5,"mat-tab",36),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("@openClose",e.invalidNotification?"open":"closed"),t.xp6(2),t.Oqu(t.lcZ(4,27,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INVALID_NOTIFICATION")),t.xp6(3),t.s9C("label",t.lcZ(7,29,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.BASIC_SETTINGS")),t.xp6(4),t.hij("",t.lcZ(11,31,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE")," :"),t.xp6(4),t.Q6J("ngModel",e.applicationMail.mailType)("disabled",!e.data.createMailNotification),t.xp6(2),t.hij(" ",t.lcZ(17,33,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_USER")," "),t.xp6(2),t.Q6J("ngIf",e.data.groupId),t.xp6(2),t.hij(" ",t.lcZ(21,35,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_VO_ADMIN")," "),t.xp6(3),t.hij(" ",t.lcZ(24,37,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_MAIL_VALIDATION")," "),t.xp6(3),t.hij(" ",t.lcZ(27,39,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_APPROVED_USER")," "),t.xp6(3),t.hij(" ",t.lcZ(30,41,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_REJECTED_USER")," "),t.xp6(3),t.hij(" ",t.lcZ(33,43,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_ERROR_VO_ADMIN")," "),t.xp6(3),t.hij(" ",t.lcZ(36,45,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_USER_INVITE")," "),t.xp6(4),t.Q6J("ngIf",!e.data.createMailNotification),t.xp6(1),t.Q6J("ngIf",e.data.createMailNotification),t.xp6(3),t.hij("",t.lcZ(44,47,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE")," :"),t.xp6(4),t.Q6J("ngModel",e.applicationMail.appType)("disabled",!e.data.createMailNotification),t.xp6(2),t.hij(" ",t.lcZ(50,49,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INITIAL")," "),t.xp6(2),t.Q6J("ngIf","USER_INVITE"!==e.applicationMail.mailType),t.xp6(3),t.Q6J("ngIf",!e.data.createMailNotification),t.xp6(1),t.Q6J("ngIf",e.data.createMailNotification),t.xp6(3),t.hij("",t.lcZ(59,51,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED")," :"),t.xp6(3),t.Q6J("ngModel",e.applicationMail.send),t.xp6(4),t.hij(" ",t.lcZ(66,53,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED_DESCRIPTION")," "),t.xp6(2),t.Q6J("ngForOf",e.languages)}}function Ra(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",53),t.NdJ("click",function(){return t.CHM(e),t.oxw().create()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",e.invalidNotification||e.loading),t.xp6(1),t.hij(" ",t.lcZ(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CREATE_BUTTON")," ")}}function Da(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",53),t.NdJ("click",function(){return t.CHM(e),t.oxw().save()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",e.loading||!e.editAuth),t.xp6(1),t.hij(" ",t.lcZ(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SAVE_BUTTON")," ")}}let tt=(()=>{class i{constructor(e,o,a,s,r,d){this.dialogRef=e,this.registrarService=o,this.data=a,this.authResolver=s,this.groupsService=r,this.store=d,this.showTags=!1,this.isTextFocused=!0,this.invalidNotification=!1,this.loading=!1,this.languages=["en"]}ngOnInit(){this.languages=this.store.get("supported_languages"),this.applicationMail=this.data.applicationMail,this.theme=this.data.theme,this.data.groupId?this.groupsService.getGroupById(this.data.groupId).subscribe(e=>{this.editAuth=this.authResolver.isAuthorized("group-addMail_ApplicationForm_ApplicationMail_policy",[e])}):this.data.voId&&(this.editAuth=this.authResolver.isAuthorized("vo-addMail_ApplicationForm_ApplicationMail_policy",[{id:this.data.voId,beanName:"Vo"}]))}cancel(){this.dialogRef.close()}create(){this.notificationExist(),!this.invalidNotification&&(this.loading=!0,this.data.groupId?this.registrarService.addApplicationMailForGroup({group:this.data.groupId,mail:this.applicationMail}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.registrarService.addApplicationMailForVo({vo:this.data.voId,mail:this.applicationMail}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1))}save(){this.loading=!0,this.registrarService.updateApplicationMail({mail:this.applicationMail}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}addTag(e,o,a,s){let r;r=this.isTextFocused?o:e;const d=r.selectionStart;this.isTextFocused?this.applicationMail.message[a].text=this.applicationMail.message[a].text.substring(0,d)+s+this.applicationMail.message[a].text.substring(d):this.applicationMail.message[a].subject=this.applicationMail.message[a].subject.substring(0,d)+s+this.applicationMail.message[a].subject.substring(d),r.focus()}notificationExist(){for(const e of this.data.applicationMails)if(e.mailType===this.applicationMail.mailType&&e.appType===this.applicationMail.appType)return void(this.invalidNotification=!0);this.invalidNotification=!1}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(g.tk),t.Y36(p.WI),t.Y36(u.x4),t.Y36(g.ff),t.Y36(u.d6))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-add-edit-notification-dialog"]],decls:15,vars:17,consts:[[1,"h-100","d-flex","flex-column"],[4,"ngIf","ngIfElse"],["edit",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",1,"d-flex","mt-auto"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-dialog-title",""],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["alert_type","error"],["color","primary"],[3,"label"],[1,"d-flex"],[1,"w-25","m-auto","font-weight-bold"],[1,"w-75"],[1,"w-100"],["disableOptionCentering","",3,"ngModel","disabled","ngModelChange","selectionChange"],["value","APP_CREATED_USER"],["value","APPROVABLE_GROUP_APP_USER",4,"ngIf"],["value","APP_CREATED_VO_ADMIN"],["value","MAIL_VALIDATION"],["value","APP_APPROVED_USER"],["value","APP_REJECTED_USER"],["value","APP_ERROR_VO_ADMIN"],["value","USER_INVITE"],[1,"d-flex","mb-3"],[1,"w-25"],["class","w-75 font-italic text-muted",4,"ngIf"],[1,"w-25","font-weight-bold"],["value","INITIAL"],["value","EXTENSION",4,"ngIf"],[3,"ngModel","ngModelChange"],[1,"w-75","font-italic","text-muted"],[3,"label",4,"ngFor","ngForOf"],["value","APPROVABLE_GROUP_APP_USER"],["value","EXTENSION"],["matTabContent",""],[1,"d-flex","w-100"],[1,"pr-2","w-100"],[1,"pt-2"],["mat-stroked-button","",1,"right-button",3,"click"],[1,"font-weight-bold","pr-2"],["matInput","",3,"ngModel","focus","ngModelChange"],["Input",""],[1,"font-weight-bold"],["matInput","","rows","17",3,"ngModel","focus","ngModelChange"],["Textarea",""],["class","ml-3 mr-3","vertical","true",4,"ngIf"],[3,"addedTag"],["vertical","true",1,"ml-3","mr-3"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,o){if(1&e&&(t.TgZ(0,"div"),t.TgZ(1,"div",0),t.YNc(2,Ta,4,3,"div",1),t.YNc(3,Aa,3,3,"ng-template",null,2,t.W1O),t.YNc(5,fa,1,0,"mat-spinner",3),t.YNc(6,Oa,68,55,"div",4),t.TgZ(7,"div",5),t.TgZ(8,"button",6),t.NdJ("click",function(){return o.cancel()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.YNc(11,Ra,3,4,"button",7),t.TgZ(12,"div",8),t.ALo(13,"translate"),t.YNc(14,Da,3,4,"button",7),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e){const a=t.MAs(4);t.Gre("",o.theme," h-100"),t.xp6(2),t.Q6J("ngIf",o.data.createMailNotification)("ngIfElse",a),t.xp6(3),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(10,13,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CANCEL_BUTTON")," "),t.xp6(2),t.Q6J("ngIf",o.data.createMailNotification),t.xp6(1),t.s9C("matTooltip",t.lcZ(13,15,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EDIT_HINT")),t.Q6J("matTooltipPosition","above")("matTooltipDisabled",o.editAuth),t.xp6(2),t.Q6J("ngIf",!o.data.createMailNotification)}},directives:[h.O5,p.uh,f.$g,p.xY,U.w,R.SP,R.uX,b.KE,Y.gD,m.JJ,m.On,J.ey,B.oG,h.sg,R.Vc,I.lW,G.Nt,m.Fj,W.d,ha,p.H8,N.gM],pipes:[_.X$,h.gd],styles:[".right-button[_ngcontent-%COMP%]{display:block;margin-left:auto}"],data:{animation:[O.es,O.BQ]}}),i})();var La=l(62707);function Ma(i,n){1&i&&t._UZ(0,"mat-spinner",9)}let Tt=(()=>{class i{constructor(e,o,a,s,r,d){this.dialogRef=e,this.voService=o,this.groupService=a,this.translateService=s,this.registrarService=r,this.data=d,this.vos=[],this.groups=[],this.selectedVo=null,this.selectedGroup=null,this.loading=!1,this.nameFunction=A=>A.name}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.translateService.get("DIALOGS.NOTIFICATIONS_COPY_MAILS.NO_GROUP_SELECTED").subscribe(e=>{this.fakeGroup={id:-1,name:e,voId:0,parentGroupId:0,shortName:"",description:"",beanName:"group"},this.selectedGroup=this.fakeGroup,this.voService.getAllVos().subscribe(o=>{this.vos=o,this.vos=o.sort((a,s)=>a.name>s.name?1:a.namethis.loading=!1)}cancel(){this.dialogRef.close(!1)}submit(){this.loading=!0,this.data.groupId?this.selectedGroup===this.fakeGroup?this.registrarService.copyMailsFromVoToGroup(this.selectedVo.id,this.data.groupId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.registrarService.copyMailsFromGroupToGroup(this.selectedGroup.id,this.data.groupId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.selectedGroup===this.fakeGroup?this.registrarService.copyMailsFromVoToVo(this.selectedVo.id,this.data.voId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.registrarService.copyMailsFromGroupToVo(this.selectedGroup.id,this.data.voId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}voSelected(e){this.selectedVo=e,this.getGroups()}getGroups(){null!==this.selectedVo?this.groupService.getAllGroups(this.selectedVo.id).subscribe(e=>{this.groups=[this.fakeGroup].concat(e)}):this.groups=[this.fakeGroup]}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(g.YF),t.Y36(g.ff),t.Y36(_.sK),t.Y36(g.tk),t.Y36(p.WI))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-notifications-copy-mails-dialog"]],decls:22,vars:27,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container",3,"hidden"],[1,"mb-2","font-italic"],[1,"long-input",3,"vos","voSelected"],[1,"long-input",3,"groups","disableAutoSelect","groupSelected"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Ma,1,0,"mat-spinner",1),t.TgZ(5,"div",2),t.TgZ(6,"div",3),t._uU(7),t.ALo(8,"translate"),t.qZA(),t._uU(9),t.ALo(10,"translate"),t.TgZ(11,"perun-web-apps-vo-search-select",4),t.NdJ("voSelected",function(s){return o.voSelected(s)}),t.qZA(),t._uU(12),t.ALo(13,"translate"),t.TgZ(14,"perun-web-apps-group-search-select",5),t.NdJ("groupSelected",function(s){return o.selectedGroup=s}),t.qZA(),t.qZA(),t.TgZ(15,"div",6),t.TgZ(16,"button",7),t.NdJ("click",function(){return o.cancel()}),t._uU(17),t.ALo(18,"translate"),t.qZA(),t.TgZ(19,"button",8),t.NdJ("click",function(){return o.submit()}),t._uU(20),t.ALo(21,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,15,"DIALOGS.NOTIFICATIONS_COPY_MAILS.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("hidden",o.loading),t.xp6(2),t.hij(" ",t.lcZ(8,17,"DIALOGS.NOTIFICATIONS_COPY_MAILS.DESCRIPTION")," "),t.xp6(2),t.hij(" ",t.lcZ(10,19,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SOURCE_VO"),": "),t.xp6(2),t.Q6J("vos",o.vos),t.xp6(1),t.hij(" ",t.lcZ(13,21,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SOURCE_GROUP"),": "),t.xp6(2),t.Q6J("groups",o.groups)("disableAutoSelect",!0),t.xp6(3),t.hij(" ",t.lcZ(18,23,"DIALOGS.NOTIFICATIONS_COPY_MAILS.CANCEL_BUTTON")," "),t.xp6(2),t.Q6J("disabled",null===o.selectedVo||null===o.selectedGroup||o.loading),t.xp6(1),t.hij(" ",t.lcZ(21,25,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SUBMIT_BUTTON")," "))},directives:[p.uh,h.O5,f.$g,p.xY,La.M,lt.h,p.H8,I.lW],pipes:[_.X$],styles:[""],data:{animation:[O.BQ]}}),i})();var et=l(84847),Pa=l(18750);function Ua(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"th",16),t.TgZ(1,"mat-checkbox",17),t.NdJ("change",function(a){t.CHM(e);const s=t.oxw();return a?s.masterToggle():null}),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function Ga(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"td",18),t.TgZ(1,"mat-checkbox",19),t.NdJ("change",function(a){const r=t.CHM(e).$implicit,d=t.oxw();return a?d.toggle(r):null})("click",function(a){return a.stopPropagation()}),t.qZA(),t.qZA()}if(2&i){const e=n.$implicit,o=t.oxw();t.xp6(1),t.Q6J("aria-label",o.checkboxLabel(e))("checked",o.selection.isSelected(e))}}function wa(i,n){1&i&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_EMAIL_ID")," "))}function ya(i,n){if(1&i&&(t.TgZ(0,"td",21),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.hij(" ",e.id," ")}}function qa(i,n){1&i&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_EMAIL_TYPE")," "))}function Fa(i,n){if(1&i&&(t.TgZ(0,"td",22),t._uU(1),t.qZA()),2&i){const e=n.$implicit,o=t.oxw();t.xp6(1),t.Oqu(o.getMailType(e))}}function Va(i,n){1&i&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE")," "))}function Ya(i,n){1&i&&(t.TgZ(0,"div"),t.TgZ(1,"mat-icon",25),t._uU(2,"arrow_right_alt"),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()),2&i&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE_INITIAL")," "))}function Ja(i,n){1&i&&(t.TgZ(0,"mat-icon",26),t._uU(1,"cached"),t.qZA(),t._uU(2),t.ALo(3,"translate")),2&i&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE_EXTENSION")," "))}function Qa(i,n){if(1&i&&(t.TgZ(0,"td",22),t.YNc(1,Ya,5,3,"div",23),t.YNc(2,Ja,4,3,"ng-template",null,24,t.W1O),t.qZA()),2&i){const e=n.$implicit,o=t.MAs(3);t.xp6(1),t.Q6J("ngIf","INITIAL"===e.appType)("ngIfElse",o)}}function ka(i,n){1&i&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_SENDING_ENABLED")," "))}function Ba(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"td",22),t.TgZ(1,"section"),t.TgZ(2,"mat-checkbox",27),t.NdJ("change",function(){const s=t.CHM(e).$implicit;return t.oxw().changeSending(s)})("click",function(a){return a.stopPropagation()}),t.ALo(3,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=n.$implicit,o=t.oxw();t.xp6(2),t.s9C("matTooltip",t.lcZ(3,4,"VO_DETAIL.SETTINGS.NOTIFICATIONS.DISABLED_HINT")),t.Q6J("disabled",o.disableSend)("matTooltipDisabled",!o.disableSend)("ngModel",e.send)}}function ja(i,n){1&i&&t._UZ(0,"tr",28)}function Ha(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"tr",29),t.NdJ("click",function(){const s=t.CHM(e).$implicit;return t.oxw().openApplicationMailDetail(s)}),t.qZA()}2&i&&t.ekj("cursor-pointer",!0)}function $a(i,n){1&i&&(t.TgZ(0,"app-alert",30),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.NO_EMAILS"),"\n"))}let At=(()=>{class i{constructor(e,o,a,s,r,d){this.registrarService=e,this.translate=o,this.notificator=a,this.dialog=s,this.authResolver=r,this.tableCheckbox=d,this.displayedColumns=["select","id","mailType","appType","send"],this.disableSend=!1,this.selection=new x.Ov(!0,[]),this.selectionChange=new t.vpe,this.pageSizeOptions=T.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new c.by(this.applicationMails),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,"",this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,"",this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeSending(e){e.send?this.registrarService.setSendingEnabled({mails:[e],enabled:!1}).subscribe(()=>{e.send=!1}):this.registrarService.setSendingEnabled({mails:[e],enabled:!0}).subscribe(()=>{e.send=!0})}openApplicationMailDetail(e){const o=(0,T.kZ)();o.width="1400px",o.height="700px",o.data={theme:this.theme,voId:this.voId,groupId:this.groupId,createMailNotification:!1,applicationMail:e},this.dialog.open(tt,o).afterClosed().subscribe(s=>{s&&(this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.EDIT_SUCCESS").subscribe(r=>{this.notificator.showSuccess(r)}),this.selection.clear(),this.selectionChange.emit(this.selection),this.update())})}getMailType(e){let o="";return null==e.mailType||0===e.mailType.length?o="":this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_"+e.mailType).subscribe(a=>{o=a}),o}update(){this.groupId?this.registrarService.getApplicationMailsForGroup(this.groupId).subscribe(e=>{this.updateTable(e)}):this.registrarService.getApplicationMailsForVo(this.voId).subscribe(e=>{this.updateTable(e)})}toggle(e){this.selection.toggle(e),this.selectionChange.emit(this.selection)}updateTable(e){this.applicationMails=e,this.dataSource=new c.by(this.applicationMails),this.setDataSource()}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.tk),t.Y36(_.sK),t.Y36(u.V6),t.Y36(p.uw),t.Y36(u.x4),t.Y36(u.UA))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-notification-list"]],viewQuery:function(e,o){if(1&e&&(t.Gf(et.YE,7),t.Gf(T.l9,7)),2&e){let a;t.iGM(a=t.CRH())&&(o.matSort=a.first),t.iGM(a=t.CRH())&&(o.child=a.first)}},inputs:{applicationMails:"applicationMails",voId:"voId",groupId:"groupId",displayedColumns:"displayedColumns",disableSend:"disableSend",selection:"selection",tableId:"tableId",theme:"theme"},outputs:{selectionChange:"selectionChange"},features:[t.TTD],decls:21,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","hideExport","pageSizeOptions"],["mat-table","","matSort","","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","mailType"],["mat-cell","",4,"matCellDef"],["matColumnDef","appType"],["matColumnDef","send"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","click",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[4,"ngIf","ngIfElse"],["extension",""],["matTooltip","Initial","matTooltipPosition","above"],["matTooltip","Extension","matTooltipPosition","above"],[3,"disabled","matTooltipDisabled","ngModel","matTooltip","change","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"click"],["alert_type","warn"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,Ua,2,3,"th",4),t.YNc(5,Ga,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,wa,3,3,"th",7),t.YNc(8,ya,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,qa,3,3,"th",7),t.YNc(11,Fa,2,1,"td",10),t.BQk(),t.ynx(12,11),t.YNc(13,Va,3,3,"th",7),t.YNc(14,Qa,4,2,"td",10),t.BQk(),t.ynx(15,12),t.YNc(16,ka,3,3,"th",7),t.YNc(17,Ba,4,6,"td",10),t.BQk(),t.YNc(18,ja,1,0,"tr",13),t.YNc(19,Ha,1,2,"tr",14),t.qZA(),t.qZA(),t.qZA(),t.YNc(20,$a,3,3,"app-alert",15)),2&e&&(t.Q6J("hidden",0===o.applicationMails.length),t.xp6(1),t.Q6J("tableId",o.tableId)("dataLength",o.dataSource.filteredData.length)("hideExport",!0)("pageSizeOptions",o.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",o.dataSource),t.xp6(16),t.Q6J("matHeaderRowDef",o.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",o.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===o.applicationMails.length))},directives:[Pa.l,c.BZ,et.YE,c.w1,c.fO,c.ge,B.oG,c.Dz,c.ev,et.nU,h.O5,M.Hw,N.gM,m.JJ,m.On,c.as,c.XQ,c.nj,c.Gk,U.w],pipes:[_.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),i})();function za(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().add()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.ADD")," "))}function Xa(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw().remove()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"VO_DETAIL.SETTINGS.NOTIFICATIONS.REMOVE")," ")}}function Wa(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().copy()}),t.TgZ(1,"i",5),t._uU(2,"file_copy"),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()}2&i&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.COPY_FROM_VO")," "))}function Ka(i,n){1&i&&t._UZ(0,"mat-spinner",12)}function ts(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"app-notification-list",13),t.NdJ("selectionChange",function(a){return t.CHM(e),t.oxw().changeSelection(a)}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("applicationMails",e.applicationMails)("tableId",e.tableId)("voId",e.vo.id)("displayedColumns",e.displayedColumns)("disableSend",!e.addAuth)("selection",e.selection)("theme","vo-theme")}}let es=(()=>{class i{constructor(e,o,a,s,r,d,A,v,D){this.route=e,this.registrarService=o,this.translate=a,this.dialog=s,this.notificator=r,this.authResolver=d,this.voService=A,this.store=v,this.entityStorageService=D,this.loading=!1,this.applicationMails=[],this.selection=new x.Ov(!0,[]),this.tableId=C.VR,this.displayedColumns=[]}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.registrarService.getVoApplicationForm(this.vo.id).subscribe(e=>{this.applicationForm=e,this.registrarService.getApplicationMailsForVo(this.vo.id).subscribe(o=>{this.applicationMails=o,this.loading=!1})})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("vo-addMail_ApplicationForm_ApplicationMail_policy",[this.vo]),this.removeAuth=this.authResolver.isAuthorized("vo-deleteMailById_ApplicationForm_Integer_policy",[this.vo]),this.copyAuth=this.authResolver.isAuthorized("copyMailsFromVoToVo_Vo_Vo_policy",[this.vo]),this.displayedColumns=this.removeAuth?["select","id","mailType","appType","send"]:["id","mailType","appType","send"]}add(){const e=this.store.get("supported_languages"),o=(0,T.i5)(e);o.formId=this.applicationForm.id;const a=(0,T.kZ)();a.width="1400px",a.height="700px",a.data={theme:"vo-theme",voId:this.vo.id,createMailNotification:!0,applicationMail:o,applicationMails:this.applicationMails},this.dialog.open(tt,a).afterClosed().subscribe(r=>{r&&(this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.ADD_SUCCESS").subscribe(d=>{this.notificator.showSuccess(d)}),this.selection.clear(),this.updateTable())})}remove(){const e=(0,T.kZ)();e.width="500px",e.data={voId:this.vo.id,mails:this.selection.selected,theme:"vo-theme"},this.dialog.open(gt,e).afterClosed().subscribe(a=>{a&&(this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.DELETE_SUCCESS").subscribe(s=>{this.notificator.showSuccess(s)}),this.selection.clear(),this.updateTable())})}copy(){const e=(0,T.kZ)();e.width="500px",e.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(Tt,e).afterClosed().subscribe(a=>{a&&(this.selection.clear(),this.updateTable())})}updateTable(){this.loading=!0,this.registrarService.getApplicationMailsForVo(this.vo.id).subscribe(e=>{this.applicationMails=e,this.loading=!1})}changeEmailFooter(){const e=(0,T.kZ)();e.width="500px",e.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(ht,e)}changeSelection(e){this.selection=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(E.gz),t.Y36(g.tk),t.Y36(_.sK),t.Y36(p.uw),t.Y36(u.V6),t.Y36(u.x4),t.Y36(g.YF),t.Y36(u.d6),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-settings-notifications"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:14,vars:11,consts:[[1,"page-subtitle"],[1,"w-100","d-flex"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],[1,"material-icons"],["mat-stroked-button","","class","action-button",3,"click",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"applicationMails","tableId","voId","displayedColumns","disableSend","selection","theme","selectionChange",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"applicationMails","tableId","voId","displayedColumns","disableSend","selection","theme","selectionChange"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",1),t.YNc(4,za,3,3,"button",2),t.YNc(5,Xa,3,4,"button",3),t.TgZ(6,"button",4),t.NdJ("click",function(){return o.changeEmailFooter()}),t.TgZ(7,"i",5),t._uU(8,"email"),t.qZA(),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.YNc(11,Wa,5,3,"button",6),t.qZA(),t.YNc(12,Ka,1,0,"mat-spinner",7),t.YNc(13,ts,1,7,"app-notification-list",8)),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,7,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TITLE"),"\n"),t.xp6(3),t.Q6J("ngIf",o.addAuth),t.xp6(1),t.Q6J("ngIf",o.removeAuth),t.xp6(4),t.hij(" ",t.lcZ(10,9,"VO_DETAIL.SETTINGS.NOTIFICATIONS.EMAIL_FOOTER")," "),t.xp6(2),t.Q6J("ngIf",o.copyAuth),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,I.lW,f.$g,At],pipes:[_.X$],styles:[""]}),i})();var is=l(14336);function os(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).add()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.ADD")," "))}function ns(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).remove()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.REMOVE")," ")}}function as(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).copy()}),t.TgZ(1,"i",6),t._uU(2,"file_copy"),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()}2&i&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.COPY_FROM_VO")," "))}function ss(i,n){1&i&&t._UZ(0,"mat-spinner",13)}function rs(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"app-notification-list",14),t.NdJ("selectionChange",function(a){return t.CHM(e),t.oxw(2).changeSelection(a)}),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("disableSend",!e.addAuth)("displayedColumns",e.displayedColumns)("applicationMails",e.applicationMails)("tableId",e.tableId)("groupId",e.group.id)("selection",e.selection)("theme","group-theme")}}function ls(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",2),t.YNc(2,os,3,3,"button",3),t.YNc(3,ns,3,4,"button",4),t.TgZ(4,"button",5),t.NdJ("click",function(){return t.CHM(e),t.oxw().changeEmailFooter()}),t.TgZ(5,"i",6),t._uU(6,"email"),t.qZA(),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.YNc(9,as,5,3,"button",7),t.qZA(),t.YNc(10,ss,1,0,"mat-spinner",8),t.YNc(11,rs,1,7,"app-notification-list",9),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.Q6J("ngIf",e.addAuth),t.xp6(1),t.Q6J("ngIf",e.removeAuth),t.xp6(4),t.hij(" ",t.lcZ(8,6,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.EMAIL_FOOTER")," "),t.xp6(2),t.Q6J("ngIf",e.copyAuth),t.xp6(1),t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading)}}function cs(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",17),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).createEmptyApplicationForm()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.CREATE_APPLICATION_FORM")," "))}function ps(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"app-alert",15),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,cs,3,3,"button",16),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,2,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.NO_APPLICATION_FORM")),t.xp6(2),t.Q6J("ngIf",e.createFormAuth)}}let us=(()=>{class i{constructor(e,o,a,s,r,d,A,v){this.registrarService=e,this.translate=o,this.dialog=a,this.apiRequest=s,this.notificator=r,this.guiAuthResolver=d,this.attributesService=A,this.entityStorageService=v,this.loading=!1,this.applicationMails=[],this.selection=new x.Ov(!0,[]),this.noApplicationForm=!1,this.editEmailFooterAuth=!1,this.addAuth=!1,this.removeAuth=!1,this.copyAuth=!1,this.createFormAuth=!1,this.displayedColumns=[],this.tableId=C.AA}ngOnInit(){this.loading=!0,this.group=this.entityStorageService.getEntity(),this.setAuthRights(),this.apiRequest.dontHandleErrorForNext(),this.registrarService.getGroupApplicationForm(this.group.id).subscribe(e=>{this.applicationForm=e,this.registrarService.getApplicationMailsForGroup(this.group.id).subscribe(o=>{this.applicationMails=o,this.apiRequest.dontHandleErrorForNext(),this.attributesService.getGroupAttributeByName(this.group.id,S.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{this.setAuthRights(),this.loading=!1},a=>{"HttpErrorResponse"!==a.name&&this.notificator.showRPCError(a),this.setAuthRights(),this.loading=!1})})},e=>{"FormNotExistsException"===e.error.name?(this.noApplicationForm=!0,this.setAuthRights(),this.loading=!1):this.notificator.showRPCError(e)})}setAuthRights(){this.createFormAuth=this.guiAuthResolver.isAuthorized("createApplicationFormInGroup_Group_policy",[this.group]),this.addAuth=this.guiAuthResolver.isAuthorized("group-addMail_ApplicationForm_ApplicationMail_policy",[this.group]),this.removeAuth=this.guiAuthResolver.isAuthorized("group-deleteMailById_ApplicationForm_Integer_policy",[this.group]),this.copyAuth=this.guiAuthResolver.isAuthorized("copyMailsFromVoToGroup_Vo_Group_boolean_policy",[this.group]),this.displayedColumns=this.removeAuth?["select","id","mailType","appType","send"]:["id","mailType","appType","send"]}add(){const e=(0,T.i5)();e.formId=this.applicationForm.id;const o=(0,T.kZ)();o.width="1400px",o.height="700px",o.data={theme:"group-theme",voId:this.group.voId,groupId:this.group.id,createMailNotification:!0,applicationMail:e,applicationMails:this.applicationMails},this.dialog.open(tt,o).afterClosed().subscribe(s=>{s&&(this.translate.get("GROUP_DETAIL.SETTINGS.NOTIFICATIONS.ADD_SUCCESS").subscribe(r=>{this.notificator.showSuccess(r)}),this.selection.clear(),this.updateTable())})}remove(){const e=(0,T.kZ)();e.width="500px",e.data={voId:this.group.voId,groupId:this.group.id,mails:this.selection.selected,theme:"group-theme"},this.dialog.open(gt,e).afterClosed().subscribe(a=>{a&&(this.translate.get("GROUP_DETAIL.SETTINGS.NOTIFICATIONS.DELETE_SUCCESS").subscribe(s=>{this.notificator.showSuccess(s)}),this.selection.clear(),this.updateTable())})}copy(){const e=(0,T.kZ)();e.width="500px",e.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(Tt,e).afterClosed().subscribe(a=>{a&&(this.selection.clear(),this.updateTable())})}updateTable(){this.loading=!0,this.registrarService.getApplicationMailsForGroup(this.group.id).subscribe(e=>{this.applicationMails=e,this.loading=!1})}changeEmailFooter(){const e=(0,T.kZ)();e.width="500px",e.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(ht,e)}changeSelection(e){this.selection=e}createEmptyApplicationForm(){this.registrarService.createApplicationFormInGroup(this.group.id).subscribe(()=>{this.noApplicationForm=!1,this.ngOnInit()})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.tk),t.Y36(_.sK),t.Y36(p.uw),t.Y36(u.F5),t.Y36(u.V6),t.Y36(u.x4),t.Y36(g.H8),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-settings-notifications"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],[4,"ngIf"],[1,"w-100","d-flex"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],[1,"material-icons"],["mat-stroked-button","","class","action-button",3,"click",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"disableSend","displayedColumns","applicationMails","tableId","groupId","selection","theme","selectionChange",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"disableSend","displayedColumns","applicationMails","tableId","groupId","selection","theme","selectionChange"],["alert_type","warn"],["mat-stroked-button","",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,ls,12,8,"div",1),t.YNc(4,ps,5,4,"div",1)),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,3,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.TITLE"),"\n"),t.xp6(2),t.Q6J("ngIf",!o.noApplicationForm),t.xp6(1),t.Q6J("ngIf",o.noApplicationForm&&!o.loading))},directives:[h.O5,I.lW,f.$g,At,U.w],pipes:[_.X$],styles:[""]}),i})();var it=l(15935);function ds(i,n){1&i&&t._UZ(0,"mat-spinner",8)}function _s(i,n){if(1&i&&(t.TgZ(0,"div",9),t._UZ(1,"app-ext-sources-list",10),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("tableId",e.tableId)("extSources",e.extSources)("filterValue",e.filterValue)("selection",e.selection)}}let ft=(()=>{class i{constructor(e,o,a,s,r){this.dialogRef=e,this.data=o,this.extSourceService=a,this.notificator=s,this.translate=r,this.extSources=[],this.selection=new x.Ov(!0,[]),this.loading=!1,this.filterValue="",this.tableId=C.BV}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.data.groupId?this.extSourceService.getVoExtSources(this.data.voId).subscribe(e=>{this.extSources=e.filter(o=>!this.data.extSources.some(({id:a})=>a===o.id)),this.loading=!1},()=>this.loading=!1):this.extSourceService.getExtSources().subscribe(e=>{this.extSources=e.filter(o=>!this.data.extSources.some(({id:a})=>a===o.id)),this.loading=!1},()=>this.loading=!1)}applyFilter(e){this.filterValue=e}addVoExtSource(e){if(0===e.length)return void this.translate.get("DIALOGS.ADD_EXT_SOURCES.SUCCESS_ADDED").subscribe(a=>{this.notificator.showSuccess(a),this.dialogRef.close(!0)});const o=e.pop();this.extSourceService.addExtSourceWithVoSource(this.data.voId,o.id).subscribe(()=>{this.addVoExtSource(e)},()=>this.loading=!1)}addGroupExtSource(e){if(0===e.length)return void this.translate.get("DIALOGS.ADD_EXT_SOURCES.SUCCESS_ADDED").subscribe(a=>{this.notificator.showSuccess(a),this.dialogRef.close(!0)});const o=e.pop();this.extSourceService.addExtSourceWithGroupSource(this.data.groupId,o.id).subscribe(()=>{this.addGroupExtSource(e)},()=>this.loading=!1)}onAdd(){this.loading=!0,this.data.groupId?this.addGroupExtSource(this.selection.selected):this.addVoExtSource(this.selection.selected)}onCancel(){this.dialogRef.close(!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(g.KG),t.Y36(u.V6),t.Y36(_.sK))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-add-ext-source-dialog"]],decls:15,vars:16,consts:[["mat-dialog-title",""],[1,"page-subtitle"],[1,"font-size-1rem",3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[3,"tableId","extSources","filterValue","selection"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"div",0),t.TgZ(2,"h1",1),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.qZA(),t.YNc(6,ds,1,0,"mat-spinner",3),t.YNc(7,_s,2,4,"div",4),t.TgZ(8,"div",5),t.TgZ(9,"button",6),t.NdJ("click",function(){return o.onCancel()}),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.TgZ(12,"button",7),t.NdJ("click",function(){return o.onAdd()}),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(3),t.Oqu(t.lcZ(4,10,"DIALOGS.ADD_EXT_SOURCES.TITLE")),t.xp6(2),t.Q6J("placeholder","DIALOGS.ADD_EXT_SOURCES.FILTER"),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(11,12,"DIALOGS.ADD_EXT_SOURCES.CANCEL")," "),t.xp6(2),t.Q6J("disabled",0===o.selection.selected.length||o.loading),t.xp6(1),t.hij(" ",t.lcZ(14,14,"DIALOGS.ADD_EXT_SOURCES.ADD")," "))},directives:[p.uh,P.L,h.O5,f.$g,p.xY,it.D,p.H8,I.lW],pipes:[_.X$],styles:[".font-size-1rem[_ngcontent-%COMP%]{font-size:1rem!important}"]}),i})();function ms(i,n){1&i&&t._UZ(0,"mat-spinner",7)}function gs(i,n){1&i&&(t.TgZ(0,"th",17),t._uU(1,"id"),t.qZA())}function hs(i,n){if(1&i&&(t.TgZ(0,"td",18),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.Oqu(e.id)}}function Ts(i,n){1&i&&(t.TgZ(0,"th",17),t._uU(1,"name"),t.qZA())}function As(i,n){if(1&i&&(t.TgZ(0,"td",18),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.Oqu(e.name)}}function fs(i,n){1&i&&t._UZ(0,"tr",19)}function Is(i,n){1&i&&t._UZ(0,"tr",20)}function Es(i,n){if(1&i&&(t.TgZ(0,"div",8),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",9),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",10),t.ynx(8,11),t.YNc(9,gs,2,0,"th",12),t.YNc(10,hs,2,1,"td",13),t.BQk(),t.ynx(11,14),t.YNc(12,Ts,2,0,"th",12),t.YNc(13,As,2,1,"td",13),t.BQk(),t.YNc(14,fs,1,0,"tr",15),t.YNc(15,Is,1,0,"tr",16),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,"DIALOGS.REMOVE_EXT_SOURCES.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.REMOVE_EXT_SOURCES.ASK")," "),t.xp6(2),t.Q6J("dataSource",e.extSources),t.xp6(7),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let It=(()=>{class i{constructor(e,o,a,s,r,d){this.dialogRef=e,this.data=o,this.extSourceService=a,this.notificator=s,this.tableConfigService=r,this.translate=d,this.extSources=[],this.displayedColumns=["id","name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.extSources=this.data.extSources}removeVoExtSource(){if(0===this.extSources.length)return void this.translate.get("DIALOGS.REMOVE_EXT_SOURCES.SUCCESS_REMOVED").subscribe(o=>{this.notificator.showSuccess(o),this.dialogRef.close(!0)});const e=this.extSources.pop();this.extSourceService.removeExtSourceWithVoSource(this.data.voId,e.id).subscribe(()=>{this.onRemove()},()=>this.loading=!1)}removeGroupExtSource(){if(0===this.extSources.length)return void this.translate.get("DIALOGS.REMOVE_EXT_SOURCES.SUCCESS_REMOVED").subscribe(o=>{this.notificator.showSuccess(o),this.dialogRef.close(!0)});const e=this.extSources.pop();this.extSourceService.removeExtSourceWithGroupSource(this.data.groupId,e.id).subscribe(()=>{this.onRemove()},()=>this.loading=!1)}onRemove(){this.loading=!0,this.data.groupId?this.removeGroupExtSource():this.removeVoExtSource()}onCancel(){this.dialogRef.close(!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(g.KG),t.Y36(u.V6),t.Y36(C.dB),t.Y36(_.sK))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-remove-ext-source-dialog"]],decls:14,vars:14,consts:[["mat-dialog-title",""],[1,"page-subtitle"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"div",0),t.TgZ(2,"h1",1),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.qZA(),t.YNc(5,ms,1,0,"mat-spinner",2),t.YNc(6,Es,16,9,"div",3),t.TgZ(7,"div",4),t.TgZ(8,"button",5),t.NdJ("click",function(){return o.onCancel()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"button",6),t.NdJ("click",function(){return o.onRemove()}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(3),t.Oqu(t.lcZ(4,8,"DIALOGS.REMOVE_EXT_SOURCES.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(10,10,"DIALOGS.REMOVE_EXT_SOURCES.CANCEL")," "),t.xp6(3),t.hij(" ",t.lcZ(13,12,"DIALOGS.REMOVE_EXT_SOURCES.REMOVE")," "))},directives:[p.uh,h.O5,f.$g,p.xY,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.as,c.XQ,c.nj,c.Gk,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();function vs(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAdd()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.EXT_SOURCES.ADD")," "))}function bs(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onRemove()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"VO_DETAIL.SETTINGS.EXT_SOURCES.REMOVE")," ")}}function Cs(i,n){1&i&&t._UZ(0,"mat-spinner",9)}function Ss(i,n){if(1&i&&t._UZ(0,"app-ext-sources-list",10),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("extSources",e.extSources)("displayedColumns",e.displayedColumns)("filterValue",e.filterValue)("selection",e.selection)}}let Zs=(()=>{class i{constructor(e,o,a,s,r,d){this.extSourceService=e,this.dialog=o,this.notificator=a,this.translate=s,this.authResolver=r,this.entityStorageService=d,this.extSources=[],this.selection=new x.Ov(!0,[]),this.filterValue="",this.tableId=C.qV,this.displayedColumns=[],this.translate.get("VO_DETAIL.SETTINGS.EXT_SOURCES.SUCCESS_REMOVED").subscribe(A=>this.successMessage=A)}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addExtSource_Vo_ExtSource_policy",[this.vo]),this.removeAuth=this.authResolver.isAuthorized("removeExtSource_Vo_ExtSource_policy",[this.vo]),this.displayedColumns=this.removeAuth?["select","id","name","type"]:["id","name","type"]}refreshTable(){this.loading=!0,this.extSourceService.getVoExtSources(this.vo.id).subscribe(e=>{this.extSources=e,this.selection.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(e){this.filterValue=e}onAdd(){const e=(0,T.kZ)();e.width="1000px",e.data={voId:this.vo.id,extSources:this.extSources,theme:"vo-theme"},this.dialog.open(ft,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}onRemove(){const e=(0,T.kZ)();e.width="600px",e.data={voId:this.vo.id,extSources:this.selection.selected,theme:"vo-theme"},this.dialog.open(It,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.KG),t.Y36(p.uw),t.Y36(u.V6),t.Y36(_.sK),t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-settings-extsources"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2 action-button","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","extSources","displayedColumns","filterValue","selection",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","extSources","displayedColumns","filterValue","selection"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return o.refreshTable()}),t.qZA(),t.YNc(5,vs,3,3,"button",2),t.YNc(6,bs,3,4,"button",3),t.TgZ(7,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.YNc(8,Cs,1,0,"mat-spinner",5),t.YNc(9,Ss,1,5,"app-ext-sources-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,6,"VO_DETAIL.SETTINGS.EXT_SOURCES.TITLE")),t.xp6(3),t.Q6J("ngIf",o.addAuth),t.xp6(1),t.Q6J("ngIf",o.removeAuth),t.xp6(1),t.Q6J("placeholder","VO_DETAIL.SETTINGS.EXT_SOURCES.FILTER"),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[w.t,h.O5,I.lW,P.L,f.$g,it.D],pipes:[_.X$],styles:[""]}),i})();var Q=l(24179);function xs(i,n){1&i&&t._UZ(0,"mat-spinner",3)}const Ns=function(){return["select","id","name","description"]};function Os(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(a){return t.CHM(e),t.oxw().applyFilter(a)}),t.qZA(),t.TgZ(2,"div",5),t._UZ(3,"perun-web-apps-groups-list",6),t.qZA(),t.TgZ(4,"div",7),t.TgZ(5,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSubmit()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.Tol(e.theme),t.xp6(1),t.Q6J("placeholder","GROUP_DETAIL.SETTINGS.RELATIONS.FILTER"),t.xp6(2),t.Q6J("tableId",e.tableId)("groupsToDisableCheckbox",e.groupsToDisable)("disableGroups",!0)("groups",e.groups)("selection",e.selection)("displayedColumns",t.DdM(21,Ns))("filter",e.filterValue)("disableHeadCheckbox",!0)("disableRouting",!0)("authType","create-relation-dialog"),t.xp6(3),t.hij(" ",t.lcZ(7,17,"DIALOGS.CREATE_RELATION.CANCEL")," "),t.xp6(2),t.Q6J("disabled",e.loading||0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(10,19,"DIALOGS.CREATE_RELATION.CREATE")," ")}}let Rs=(()=>{class i{constructor(e,o,a,s,r,d){this.dialogRef=e,this.groupService=o,this.notificator=a,this.translate=s,this.guiAuthResolver=r,this.data=d,this.selection=new x.Ov(!1,[]),this.filterValue="",this.tableId=C.RS,this.groupsToDisable=new Set,s.get("DIALOGS.CREATE_RELATION.SUCCESS").subscribe(A=>this.successMessage=A)}ngOnInit(){this.loading=!0,this.groupService.getGroupUnions(this.data.group.id,!this.data.reverse).subscribe(e=>{e=e.concat(this.data.groups),this.groupService.getAllGroups(this.data.voId).subscribe(o=>{const a=e.map(s=>s.id);this.groups=o.filter(s=>!a.includes(s.id)&&s.id!==this.data.group.id),this.setGroupsToDisable(),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.groupService.createGroupUnion(this.data.group.id,this.selection.selected[0].id).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}applyFilter(e){this.filterValue=e}setGroupsToDisable(){for(const e of this.groups)this.guiAuthResolver.isAuthorized("createGroupUnion_Group_Group_policy",[this.data.group,e])||this.groupsToDisable.add(e.id)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(g.ff),t.Y36(u.V6),t.Y36(_.sK),t.Y36(u.x4),t.Y36(p.WI))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-create-relation-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"class",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"placeholder","filter"],["mat-dialog-content","",1,"dialog-container"],[3,"tableId","groupsToDisableCheckbox","disableGroups","groups","selection","displayedColumns","filter","disableHeadCheckbox","disableRouting","authType"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,xs,1,0,"mat-spinner",1),t.qZA(),t.YNc(5,Os,11,22,"div",2)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"DIALOGS.CREATE_RELATION.TITLE")),t.xp6(2),t.Tol(o.theme),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[p.uh,h.O5,f.$g,P.L,p.xY,Q.W,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();function Ds(i,n){1&i&&t._UZ(0,"mat-spinner",6)}function Ls(i,n){1&i&&t._UZ(0,"th",15)}function Ms(i,n){if(1&i&&(t.TgZ(0,"td",16),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.Oqu(e.name)}}function Ps(i,n){1&i&&t._UZ(0,"tr",17)}function Us(i,n){1&i&&t._UZ(0,"tr",18)}function Gs(i,n){if(1&i&&(t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,Ls,1,0,"th",11),t.YNc(10,Ms,2,1,"td",12),t.BQk(),t.YNc(11,Ps,1,0,"tr",13),t.YNc(12,Us,1,0,"tr",14),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,"DIALOGS.REMOVE_RELATION.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.REMOVE_RELATION.ASK")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let ws=(()=>{class i{constructor(e,o,a,s,r){this.dialogRef=e,this.data=o,this.notificator=a,this.groupService=s,this.translate=r,this.displayedColumns=["name"],r.get("DIALOGS.REMOVE_RELATION.SUCCESS").subscribe(d=>this.successMessage=d)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new c.by(this.data.groups)}onCancel(){this.dialogRef.close(!1)}onSubmit(){if(this.loading=!0,1===this.data.groups.length)this.groupService.removeGroupUnion(this.data.reverse?this.data.groups[0].id:this.data.groupId,this.data.reverse?this.data.groupId:this.data.groups[0].id).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1);else{const e=this.data.reverse?this.data.groups.shift().id:this.data.groupId,o=this.data.reverse?this.data.groupId:this.data.groups.shift().id;this.groupService.removeGroupUnion(e,o).subscribe(()=>{this.onSubmit(),this.dialogRef.close(!0)},()=>this.loading=!1)}}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(u.V6),t.Y36(g.ff),t.Y36(_.sK))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-remove-relation-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Ds,1,0,"mat-spinner",1),t.YNc(5,Gs,13,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return o.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.REMOVE_RELATION.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.REMOVE_RELATION.CANCEL")," "),t.xp6(2),t.Q6J("disabled",o.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.REMOVE_RELATION.DELETE")," "))},directives:[p.uh,h.O5,f.$g,p.xY,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.as,c.XQ,c.nj,c.Gk,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();var ys=l(80255);const qs=["list"];function Fs(i,n){1&i&&t._UZ(0,"mat-spinner",8)}const Vs=function(){return["select","id","vo","name","description"]};function Ys(i,n){if(1&i&&t._UZ(0,"perun-web-apps-groups-list",9,10),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("groups",e.groups)("parentGroup",e.group)("authType","group-relations")("selection",e.selection)("filter",e.filterValue)("displayedColumns",t.DdM(8,Vs))("disableHeadCheckbox",!0)}}let Js=(()=>{class i{constructor(e,o,a){this.groupService=e,this.dialog=o,this.entityStorageService=a,this.selection=new x.Ov(!0,[]),this.groups=[],this.reverse=!1,this.filterValue="",this.tableId=C._7}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.refreshTable()}onCreate(){const e=(0,T.kZ)();e.width="1050px",e.data={groups:this.groups,theme:"group-theme",group:this.group,voId:this.group.voId,reverse:this.reverse},this.dialog.open(Rs,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}onDelete(){const e=(0,T.kZ)();e.width="450px",e.data={groups:this.selection.selected,theme:"group-theme",groupId:this.group.id,reverse:this.reverse},this.dialog.open(ws,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}refreshTable(){this.loading=!0,this.groupService.getGroupUnions(this.group.id,this.reverse).subscribe(e=>{this.groups=e,this.selection.clear(),this.loading=!1},()=>this.loading=!1)}applyFilter(e){this.filterValue=e}showReverseUnions(){this.reverse=!this.reverse,this.refreshTable()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.ff),t.Y36(p.uw),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-settings-relations"]],viewQuery:function(e,o){if(1&e&&t.Gf(qs,5),2&e){let a;t.iGM(a=t.CRH())&&(o.list=a.first)}},hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:18,vars:20,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"matTooltip","matTooltipDisabled","disabled","click"],[3,"placeholder","filter"],[3,"change"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","groups","parentGroup","authType","selection","filter","displayedColumns","disableHeadCheckbox",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","groups","parentGroup","authType","selection","filter","displayedColumns","disableHeadCheckbox"],["list",""]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return o.refreshTable()}),t.qZA(),t.TgZ(5,"button",2),t.NdJ("click",function(){return o.onCreate()}),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"button",3),t.NdJ("click",function(){return o.onDelete()}),t.ALo(9,"translate"),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.TgZ(12,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.TgZ(13,"mat-checkbox",5),t.NdJ("change",function(){return o.showReverseUnions()}),t._uU(14),t.ALo(15,"translate"),t.qZA(),t.YNc(16,Fs,1,0,"mat-spinner",6),t.YNc(17,Ys,2,9,"perun-web-apps-groups-list",7),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,10,"GROUP_DETAIL.SETTINGS.RELATIONS.TITLE")),t.xp6(4),t.hij(" ",t.lcZ(7,12,"GROUP_DETAIL.SETTINGS.RELATIONS.CREATE")," "),t.xp6(2),t.s9C("matTooltip",t.lcZ(9,14,"GROUP_DETAIL.SETTINGS.RELATIONS.DELETE_TOOLTIP")),t.Q6J("matTooltipDisabled",0===o.selection.selected.length||void 0!==o.list&&o.list.removeAuth)("disabled",0===o.selection.selected.length||void 0!==o.list&&!o.list.removeAuth),t.xp6(2),t.hij(" ",t.lcZ(11,16,"GROUP_DETAIL.SETTINGS.RELATIONS.DELETE")," "),t.xp6(2),t.Q6J("placeholder","GROUP_DETAIL.SETTINGS.RELATIONS.FILTER"),t.xp6(2),t.Oqu(t.lcZ(15,18,"GROUP_DETAIL.SETTINGS.RELATIONS.REVERSE_UNIONS")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[w.t,I.lW,N.gM,P.L,B.oG,h.O5,f.$g,Q.W],pipes:[_.X$],styles:[""]}),i})();var Et=l(64901),Qs=l(9146);function ks(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",6),t.NdJ("click",function(){return t.CHM(e),t.oxw().showAllDetails=!0}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"MEMBER_DETAIL.APPLICATIONS.SHOW_ALL_DETAILS")," "))}function Bs(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",6),t.NdJ("click",function(){return t.CHM(e),t.oxw().showAllDetails=!1}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"MEMBER_DETAIL.APPLICATIONS.SHOW_LESS_DETAILS")," "))}function js(i,n){1&i&&t._UZ(0,"mat-spinner",7)}function Hs(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"app-applications-dynamic-list",8),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("tableId",e.showAllDetails?e.detailTableId:e.tableId)("searchString",e.filterValue)("member",e.member)("displayedColumns",e.showAllDetails?e.detailedDisplayedColumns:e.displayedColumns)("dateFrom",e.dateFrom)("refreshTable",e.refresh)}}let $s=(()=>{class i{constructor(e,o,a){this.registrarManager=e,this.memberManager=o,this.route=a,this.loading=!1,this.displayedColumns=["id","createdAt","type","state","user","groupName","modifiedBy"],this.detailedDisplayedColumns=["id","createdAt","voId","voName","groupId","groupName","type","state","extSourceName","extSourceType","user","createdBy","modifiedBy","modifiedAt","fedInfo"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=C.d7,this.tableId=C.vq,this.dateFrom=new Date("1970-01-01")}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(e=>{this.memberId=e.memberId,this.memberManager.getMemberById(this.memberId).subscribe(o=>{this.member=o,this.loading=!1})})}applyFilter(e){this.filterValue=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.tk),t.Y36(g.uq),t.Y36(E.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-member-applications"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","mat-stroked-button","",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"tableId","searchString","member","displayedColumns","states","dateFrom","refreshTable"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return o.refresh=!o.refresh}),t.qZA(),t.YNc(5,ks,3,3,"button",2),t.YNc(6,Bs,3,3,"button",2),t.TgZ(7,"perun-web-apps-debounce-filter",3),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.qZA(),t.YNc(8,js,1,0,"mat-spinner",4),t.YNc(9,Hs,2,6,"div",5)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"MEMBER_DETAIL.APPLICATIONS.TITLE")),t.xp6(4),t.Q6J("ngIf",!o.showAllDetails),t.xp6(1),t.Q6J("ngIf",o.showAllDetails),t.xp6(1),t.Q6J("placeholder","MEMBER_DETAIL.APPLICATIONS.FILTER"),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[w.t,h.O5,I.lW,Et.P,f.$g,Qs.S],pipes:[_.X$],styles:[""]}),i})();var vt=l(1059),ot=l(24850),q=l(92081),bt=l(91079);function zs(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SELECT_RESOURCE"))}function Xs(i,n){1&i&&t._UZ(0,"mat-spinner",13)}function Ws(i,n){if(1&i&&(t.TgZ(0,"mat-option",24),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e," ")}}function Ks(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"mat-option",25),t.NdJ("click",function(){const s=t.CHM(e).$implicit,r=t.oxw(2);return r.setResource(s),r.stepper.selected.completed=!0}),t._uU(1),t.qZA()}if(2&i){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e.name," ")}}function tr(i,n){if(1&i&&(t.TgZ(0,"div",22),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.Oqu(e.name)}}function er(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"div"),t.TgZ(2,"mat-form-field",14),t._UZ(3,"input",15),t.ALo(4,"translate"),t.TgZ(5,"mat-autocomplete",16,17),t.YNc(7,Ws,2,2,"mat-option",18),t.ALo(8,"async"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(9,"div"),t.TgZ(10,"mat-form-field",14),t.TgZ(11,"mat-select",19),t.ALo(12,"translate"),t.YNc(13,Ks,2,2,"mat-option",20),t.ALo(14,"async"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(15,"div"),t.TgZ(16,"span",21),t._uU(17),t.ALo(18,"translate"),t.qZA(),t.TgZ(19,"div",22),t._uU(20),t.qZA(),t.qZA(),t.TgZ(21,"div"),t.TgZ(22,"span",21),t._uU(23),t.ALo(24,"translate"),t.qZA(),t.YNc(25,tr,2,1,"div",23),t.qZA(),t.qZA()),2&i){const e=t.MAs(6),o=t.oxw();t.xp6(3),t.s9C("placeholder",t.lcZ(4,10,"DIALOGS.ADD_MEMBER_TO_RESOURCE.FILTER")),t.Q6J("formControl",o.facilityCtrl)("matAutocomplete",e),t.xp6(4),t.Q6J("ngForOf",t.lcZ(8,12,o.filteredFacilities)),t.xp6(4),t.s9C("placeholder",t.lcZ(12,14,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SELECTED")),t.xp6(2),t.Q6J("ngForOf",t.lcZ(14,16,o.filteredResources)),t.xp6(4),t.Oqu(t.lcZ(18,18,"DIALOGS.ADD_MEMBER_TO_RESOURCE.DESCRIPTION")),t.xp6(3),t.Oqu(o.description),t.xp6(3),t.Oqu(t.lcZ(24,20,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SERVICES")),t.xp6(2),t.Q6J("ngForOf",o.services)}}function ir(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.ADD_GROUP"))}function or(i,n){1&i&&t._UZ(0,"mat-spinner",13)}const nr=function(){return["select","id","name","description"]};function ar(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-groups-list",26),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("disableGroups",!0)("disableHeadCheckbox",!0)("disableRouting",!0)("groupsToDisableCheckbox",e.membersGroupsId)("groups",e.groups)("displayedColumns",t.DdM(7,nr))("selection",e.selectedGroups)}}function sr(i,n){1&i&&(t.TgZ(0,"app-alert",27),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.NO_GROUPS")," "))}function rr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",28),t.NdJ("click",function(){return t.CHM(e),t.oxw().stepperPrevious()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.BACK")," "))}function lr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",29),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return a.stepperNext(),a.loadGroups()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.ekj("ml-2",void 0!==e.stepper&&0!==e.stepper.selectedIndex)("ml-auto",!(void 0!==e.stepper&&0!==e.stepper.selectedIndex)),t.Q6J("disabled",null===e.selectedResource||e.processing||e.loading),t.xp6(1),t.hij(" ",t.lcZ(2,6,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CONTINUE")," ")}}function cr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",30),t.NdJ("click",function(){return t.CHM(e),t.oxw().onFinish()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selectedGroups.selected.length||e.processing),t.xp6(1),t.hij(" ",t.lcZ(2,2,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SUBMIT")," ")}}let pr=(()=>{class i{constructor(e,o,a,s,r,d,A,v){this.dialogRef=e,this.data=o,this.resourceManager=a,this.groupManager=s,this.notificator=r,this.translate=d,this.authResolver=A,this.cd=v,this.loading=!1,this.processing=!1,this.membersGroupsId=new Set,this.facilityCtrl=new m.NI,this.facilitiesNames=[],this.resources=[],this.selectedResource=null,this.services=[],this.description="",this.groups=[],this.selectedGroups=new x.Ov(!1,[])}ngAfterViewInit(){this.stepper.selectionChange.subscribe(()=>{this.selectedGroups.clear()}),this.cd.detectChanges()}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.resourceManager.getRichResources(this.data.voId).subscribe(e=>{this.resources=e,this.getResourceFacilities(),this.loading=!1},()=>this.loading=!1)}getResourceFacilities(){const e=new Set;for(const o of this.resources)e.add(o.facility.name);this.facilitiesNames=Array.from(e),this.filteredFacilities=this.facilityCtrl.valueChanges.pipe((0,vt.O)(""),(0,ot.U)(o=>this.filterFacilities(o))),this.filteredResources=this.facilityCtrl.valueChanges.pipe((0,vt.O)(""),(0,ot.U)(o=>this.filterResources(o)))}filterFacilities(e){const o=e.toLowerCase();return this.facilitiesNames.filter(s=>s.toLowerCase().indexOf(o)>=0).sort((s,r)=>s.toLowerCase().localeCompare(r.toLowerCase()))}filterResources(e){if(null==e)return this.resources;const o=e.toLowerCase();return this.resources.filter(s=>0===s.facility.name.toLowerCase().indexOf(o)).sort((s,r)=>s.name.toLowerCase().localeCompare(r.name.toLowerCase()))}setResource(e){this.processing=!0,this.selectedResource=e,this.resourceManager.getAssignedServicesToResource(this.selectedResource.id).subscribe(o=>{this.services=o,this.processing=!1},()=>this.processing=!1),this.description=this.selectedResource.description}loadGroups(){this.processing=!0,this.resourceManager.getAssignedGroups(this.selectedResource.id).subscribe(e=>{this.groups=e,this.groupManager.getAllMemberGroups(this.data.memberId).subscribe(o=>{this.membersGroupsId=new Set(o.map(a=>a.id)),this.groups.forEach(a=>{this.authResolver.isAuthorized("addMember_Group_Member_policy",[a])||this.membersGroupsId.add(a.id)}),this.processing=!1},()=>this.processing=!1)})}onFinish(){this.processing=!0,this.groupManager.addMembers(this.selectedGroups.selected[0].id,[this.data.memberId]).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_MEMBER_TO_RESOURCE.SUCCESS")),this.dialogRef.close(!0)},()=>this.processing=!1)}onCancel(){this.dialogRef.close(!1)}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(g.xk),t.Y36(g.ff),t.Y36(u.V6),t.Y36(_.sK),t.Y36(u.x4),t.Y36(t.sBO))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-add-member-to-resource-dialog"]],viewQuery:function(e,o){if(1&e&&t.Gf(q.Vq,5),2&e){let a;t.iGM(a=t.CRH())&&(o.stepper=a.first)}},decls:22,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],["completed","false"],["matStepLabel",""],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],["class","ml-2","color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"input-style"],["aria-label","Number","matInput","","type","text",3,"formControl","matAutocomplete","placeholder"],["autoActiveFirstOption",""],["autoFacility","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["disableOptionCentering","true","required","",3,"placeholder"],[3,"value","click",4,"ngFor","ngForOf"],[1,"font-weight-bold"],[1,"ml-5"],["class","ml-5",4,"ngFor","ngForOf"],[3,"value"],[3,"value","click"],[3,"disableGroups","disableHeadCheckbox","disableRouting","groupsToDisableCheckbox","groups","displayedColumns","selection"],["alert_type","warn"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",3,"disabled","click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",1),t.TgZ(5,"mat-stepper",2),t.TgZ(6,"mat-step",3),t.YNc(7,zs,2,3,"ng-template",4),t.YNc(8,Xs,1,0,"mat-spinner",5),t.YNc(9,er,26,22,"div",6),t.qZA(),t.TgZ(10,"mat-step"),t.YNc(11,ir,2,3,"ng-template",4),t.YNc(12,or,1,0,"mat-spinner",5),t.YNc(13,ar,2,8,"div",6),t.YNc(14,sr,3,3,"app-alert",7),t.qZA(),t.qZA(),t.qZA(),t.TgZ(15,"div",8),t.TgZ(16,"button",9),t.NdJ("click",function(){return o.onCancel()}),t._uU(17),t.ALo(18,"translate"),t.qZA(),t.YNc(19,rr,3,3,"button",10),t.YNc(20,lr,3,8,"button",11),t.YNc(21,cr,3,4,"button",12),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,14,"DIALOGS.ADD_MEMBER_TO_RESOURCE.TITLE")),t.xp6(3),t.Q6J("linear",!0),t.xp6(3),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.Q6J("ngIf",o.processing),t.xp6(1),t.Q6J("ngIf",0!==o.groups.length&&!o.processing),t.xp6(1),t.Q6J("ngIf",0===o.groups.length&&!o.processing),t.xp6(3),t.hij(" ",t.lcZ(18,16,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CANCEL")," "),t.xp6(2),t.Q6J("ngIf",void 0!==o.stepper&&0!==o.stepper.selectedIndex),t.xp6(1),t.Q6J("ngIf",void 0!==o.stepper&&o.stepper.selectedIndex!==o.stepper._steps.length-1),t.xp6(1),t.Q6J("ngIf",void 0!==o.stepper&&o.stepper.selectedIndex===o.stepper._steps.length-1))},directives:[p.uh,p.xY,q.Vq,q.C0,q.VY,h.O5,f.$g,b.KE,G.Nt,m.Fj,bt.ZL,m.JJ,m.oH,bt.XC,h.sg,J.ey,Y.gD,Q.W,U.w,p.H8,I.lW],pipes:[_.X$,h.Ov],styles:[".input-style[_ngcontent-%COMP%]{margin-left:50px;width:75%}"]}),i})();var ur=l(62109);function dr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",6),t.NdJ("click",function(){return t.CHM(e),t.oxw().addResource()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"MEMBER_DETAIL.RESOURCES.ADD")," "))}function _r(i,n){if(1&i&&t._UZ(0,"perun-web-apps-resources-list",7),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("displayedColumns",e.displayedColumns)("routingVo",!0)("disableRouting",!e.routeAuth)("resources",e.resources)}}function mr(i,n){1&i&&t._UZ(0,"mat-spinner",8)}let gr=(()=>{class i{constructor(e,o,a,s,r){this.dialog=e,this.memberManager=o,this.resourceManager=a,this.route=s,this.authResolver=r,this.resources=[],this.filterValue="",this.loading=!1,this.displayedColumns=["id","name","vo","facility","tags","description"],this.tableId=C.aL}ngOnInit(){this.route.parent.params.subscribe(e=>{this.memberManager.getMemberById(e.memberId).subscribe(a=>{this.member=a,this.refreshTable()})})}addResource(){const e=(0,T.kZ)();e.width="1200px",e.data={memberId:this.member.id,voId:this.member.voId,theme:"member-theme"},this.dialog.open(pr,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}refreshTable(){this.loading=!0,this.resourceManager.getAssignedRichResourcesWithMember(this.member.id).subscribe(e=>{this.resources=e,this.setAuthRights(),this.loading=!1})}setAuthRights(){const e={id:this.member.voId,beanName:"Vo"};this.addAuth=this.authResolver.isAuthorized("getRichResources_Vo_policy",[e])&&this.authResolver.isAuthorized("addMembers_Group_List_policy",[e]),0!==this.resources.length&&(this.routeAuth=this.authResolver.isAuthorized("getResourceById_int_policy",[e,this.resources[0]]))}applyFilter(e){this.filterValue=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.uw),t.Y36(g.uq),t.Y36(g.xk),t.Y36(E.gz),t.Y36(u.x4))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-member-resources"]],decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","action-button","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"placeholder","filter"],[3,"tableId","filterValue","displayedColumns","routingVo","disableRouting","resources",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[3,"tableId","filterValue","displayedColumns","routingVo","disableRouting","resources"],[1,"mr-auto","ml-auto"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return o.refreshTable()}),t.qZA(),t.YNc(5,dr,3,3,"button",2),t.TgZ(6,"perun-web-apps-immediate-filter",3),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.YNc(7,_r,1,6,"perun-web-apps-resources-list",4),t.qZA(),t.YNc(8,mr,1,0,"mat-spinner",5)),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,5,"MEMBER_DETAIL.RESOURCES.TITLE")),t.xp6(3),t.Q6J("ngIf",o.addAuth),t.xp6(1),t.Q6J("placeholder","MEMBER_DETAIL.RESOURCES.FILTER"),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(1),t.Q6J("ngIf",o.loading))},directives:[w.t,h.O5,I.lW,P.L,ur.C,f.$g],pipes:[_.X$],styles:[""]}),i})();var hr=l(98918),Tr=l(4675),Ar=l(258),fr=l(60113),Ir=l(16500),Er=l(92090),vr=l(20057),br=l(49546),Cr=l(76023),Sr=l(3246);function Zr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAdd()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.ADD")," "))}function xr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onRemove()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.REMOVE")," ")}}function Nr(i,n){1&i&&t._UZ(0,"mat-spinner",9)}function Or(i,n){if(1&i&&t._UZ(0,"app-ext-sources-list",10),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("extSources",e.extSources)("displayedColumns",e.displayedColumns)("filterValue",e.filterValue)("selection",e.selection)}}let Rr=(()=>{class i{constructor(e,o,a,s,r,d){this.extSourceService=e,this.dialog=o,this.notificator=a,this.translate=s,this.authResolver=r,this.entityStorageService=d,this.extSources=[],this.selection=new x.Ov(!0,[]),this.filterValue="",this.tableId=C.S7,this.displayedColumns=[],this.translate.get("GROUP_DETAIL.SETTINGS.EXT_SOURCES.SUCCESS_REMOVED").subscribe(A=>this.successMessage=A)}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addExtSource_Group_ExtSource_policy",[this.group]),this.removeAuth=this.authResolver.isAuthorized("removeExtSource_Group_ExtSource_policy",[this.group]),this.displayedColumns=this.removeAuth?["select","id","name","type"]:["id","name","type"]}refreshTable(){this.loading=!0,this.extSourceService.getGroupExtSources(this.group.id).subscribe(e=>{this.extSources=e,this.selection.clear(),this.loading=!1})}applyFilter(e){this.filterValue=e}onAdd(){const e=(0,T.kZ)();e.width="1000px",e.data={voId:this.group.voId,groupId:this.group.id,extSources:this.extSources,theme:"group-theme"},this.dialog.open(ft,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}onRemove(){const e=(0,T.kZ)();e.width="600px",e.data={voId:this.group.voId,groupId:this.group.id,extSources:this.selection.selected,theme:"group-theme"},this.dialog.open(It,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.KG),t.Y36(p.uw),t.Y36(u.V6),t.Y36(_.sK),t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-settings-extsources"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2 action-button","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","extSources","displayedColumns","filterValue","selection",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","extSources","displayedColumns","filterValue","selection"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return o.refreshTable()}),t.qZA(),t.YNc(5,Zr,3,3,"button",2),t.YNc(6,xr,3,4,"button",3),t.TgZ(7,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.YNc(8,Nr,1,0,"mat-spinner",5),t.YNc(9,Or,1,5,"app-ext-sources-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,6,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.TITLE")),t.xp6(3),t.Q6J("ngIf",o.addAuth),t.xp6(1),t.Q6J("ngIf",o.removeAuth),t.xp6(1),t.Q6J("placeholder","GROUP_DETAIL.SETTINGS.EXT_SOURCES.FILTER"),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[w.t,h.O5,I.lW,P.L,f.$g,it.D],pipes:[_.X$],styles:[""]}),i})();function Dr(i,n){1&i&&t._UZ(0,"th",9)}function Lr(i,n){if(1&i&&(t.TgZ(0,"td",10),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.hij("",e,":")}}function Mr(i,n){1&i&&t._UZ(0,"th",9)}function Pr(i,n){if(1&i&&(t.TgZ(0,"td",11),t._uU(1),t.qZA()),2&i){const e=n.$implicit,o=t.oxw();t.xp6(1),t.hij(" ",o.statistics.get(e.toLowerCase())," ")}}function Ur(i,n){1&i&&t._UZ(0,"tr",12)}let Ct=(()=>{class i{constructor(){this.rowNames=[],this.title="",this.statistics=new Map,this.dataSource=null,this.displayedColumns=["name","value"]}ngOnInit(){this.dataSource=new c.by(this.rowNames)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-statistics-card"]],inputs:{rowNames:"rowNames",title:"title",statistics:"statistics"},decls:15,vars:5,consts:[[1,"mat-elevation-z3","align-card"],[1,"page-subtitle"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],["mat-row",""]],template:function(e,o){1&e&&(t.TgZ(0,"mat-card",0),t.TgZ(1,"mat-card-header"),t.TgZ(2,"mat-card-title"),t.TgZ(3,"h1",1),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(6,"mat-card-content"),t.TgZ(7,"table",2),t.ynx(8,3),t.YNc(9,Dr,1,0,"th",4),t.YNc(10,Lr,2,1,"td",5),t.BQk(),t.ynx(11,6),t.YNc(12,Mr,1,0,"th",4),t.YNc(13,Pr,2,1,"td",7),t.BQk(),t.YNc(14,Ur,1,0,"tr",8),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(4),t.Oqu(t.lcZ(5,3,o.title)),t.xp6(3),t.Q6J("dataSource",o.dataSource),t.xp6(7),t.Q6J("matRowDefColumns",o.displayedColumns))},directives:[Z.a8,Z.dk,Z.n5,Z.dn,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.nj,c.Gk],pipes:[_.X$],styles:[".align-card[_ngcontent-%COMP%]{margin:1rem 1rem 1rem 0rem;display:inline-block;vertical-align:top}"]}),i})();function Gr(i,n){1&i&&t._UZ(0,"mat-spinner",3)}function wr(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"app-statistics-card",4),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("rowNames",e.rowNames)("statistics",e.membersCount)("title","VO_DETAIL.STATISTICS.MEMBERS_COUNT")}}let yr=(()=>{class i{constructor(e,o){this.voService=e,this.entityStorageService=o,this.loading=!1,this.dataSource=new c.by,this.displayedColumns=["status","count"],this.rowNames=["Members","Valid","Invalid","Expired","Disabled"],this.membersCount=new Map([["members",0],["valid",0],["invalid",0],["expired",0],["disabled",0]])}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.dataSource=new c.by(this.rowNames),this.voService.getVoMembersCountsByStatus(this.vo.id).subscribe(e=>{this.allMembersCount=0;for(const o of Object.keys(e))this.membersCount.set(o.toLowerCase(),e[o]),this.allMembersCount+=e[o];this.membersCount.set("members",this.allMembersCount),this.loading=!1},()=>this.loading=!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.YF),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-statistics"]],decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"rowNames","statistics","title"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,Gr,1,0,"mat-spinner",1),t.YNc(4,wr,2,3,"div",2)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,3,"VO_DETAIL.STATISTICS.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,Ct],pipes:[_.X$],styles:[""]}),i})();function qr(i,n){1&i&&t._UZ(0,"mat-spinner",3)}function Fr(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"app-statistics-card",4),t._UZ(2,"app-statistics-card",4),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("rowNames",e.voStatusCountsRowNames)("statistics",e.membersCountsByVoStatus)("title","GROUP_DETAIL.STATISTICS.VO_STATUS_COUNT"),t.xp6(1),t.Q6J("rowNames",e.groupStatusCountsRowNames)("statistics",e.membersCountsByGroupStatus)("title","GROUP_DETAIL.STATISTICS.GROUP_STATUS_COUNT")}}let Vr=(()=>{class i{constructor(e,o){this.groupService=e,this.entityStorageService=o,this.loading=!1,this.voStatusCountsRowNames=["Members","Valid","Invalid","Expired","Disabled"],this.membersCountsByVoStatus=new Map,this.groupStatusCountsRowNames=["Members","Valid","Expired"],this.membersCountsByGroupStatus=new Map}ngOnInit(){this.loading=!0,this.group=this.entityStorageService.getEntity(),this.groupService.getGroupMembersCount(this.group.id).subscribe(e=>{this.membersCountsByVoStatus.set("members",e),this.membersCountsByGroupStatus.set("members",e),this.groupService.getGroupMembersCountsByVoStatus(this.group.id).subscribe(o=>{Object.entries(o).forEach(([a,s])=>this.membersCountsByVoStatus.set(a.toLowerCase(),s)),this.groupService.getGroupMembersCountsByGroupStatus(this.group.id).subscribe(a=>{Object.entries(a).forEach(([s,r])=>this.membersCountsByGroupStatus.set(s.toLowerCase(),r)),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.ff),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-statistics"]],decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"rowNames","statistics","title"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,qr,1,0,"mat-spinner",1),t.YNc(4,Fr,3,6,"div",2)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,3,"GROUP_DETAIL.STATISTICS.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,Ct],pipes:[_.X$],styles:[""]}),i})();function Yr(i,n){1&i&&t._UZ(0,"mat-spinner",6)}const Jr=function(){return["select","id","name","description"]};function Qr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",7),t.TgZ(1,"perun-web-apps-debounce-filter",8),t.NdJ("filter",function(a){return t.CHM(e),t.oxw().applyFilter(a)}),t.ALo(2,"translate"),t.qZA(),t._UZ(3,"perun-web-apps-groups-list",9),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.s9C("placeholder",t.lcZ(2,8,"DIALOGS.ADD_GROUP_TO_REGISTRATION.FILTER_DESCRIPTION")),t.xp6(2),t.Q6J("tableId",e.tableId)("groups",e.unAssignedGroups)("selection",e.selection)("filter",e.filterValue)("displayedColumns",t.DdM(10,Jr))("disableRouting",!0)("disableMembers",!0)}}let kr=(()=>{class i{constructor(e,o,a,s){this.dialogRef=e,this.data=o,this.groupService=a,this.registrarService=s,this.loading=!1,this.selection=new x.Ov(!0,[]),this.filterValue="",this.tableId=C.Is}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.groupService.getAllGroups(this.data.voId).subscribe(e=>{this.unAssignedGroups=e.filter(o=>this.data.assignedGroups.indexOf(o.id)<=-1),this.loading=!1})}applyFilter(e){this.filterValue=e}onCancel(){this.dialogRef.close(!1)}onAdd(){this.loading=!0,this.registrarService.addGroupsToAutoRegistration(this.selection.selected.map(e=>e.id)).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(g.ff),t.Y36(g.tk))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-add-group-to-registration"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"tableId","groups","selection","filter","displayedColumns","disableRouting","disableMembers"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Yr,1,0,"mat-spinner",1),t.YNc(5,Qr,4,11,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return o.onAdd()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.ADD_GROUP_TO_REGISTRATION.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.ADD_GROUP_TO_REGISTRATION.CANCEL_BUTTON")," "),t.xp6(2),t.Q6J("disabled",0===o.selection.selected.length||o.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.ADD_GROUP_TO_REGISTRATION.ADD_BUTTON")," "))},directives:[p.uh,h.O5,f.$g,p.xY,Et.P,Q.W,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();const Br=["list"];function jr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAddGroup()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.ADD"),"\n"))}function Hr(i,n){1&i&&t._UZ(0,"mat-spinner",10)}const $r=function(){return["select","id","name","description"]};function zr(i,n){if(1&i&&t._UZ(0,"perun-web-apps-groups-list",11,12),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("selection",e.selected)("displayedColumns",t.DdM(7,$r))("disableRouting",!0)("filter",e.filterValue)("authType","application-form-manage-groups")("groups",e.groups)}}let Xr=(()=>{class i{constructor(e,o,a,s){this.registrarService=e,this.authResolver=o,this.dialog=a,this.route=s,this.groups=[],this.selected=new x.Ov(!0,[]),this.tableId=C.CE,this.filterValue=""}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(e=>{this.voId=e.voId,this.loadGroups()})}loadGroups(){this.loading=!0,this.registrarService.getGroupsToAutoRegistration(this.voId).subscribe(e=>{this.groups=e,this.selected.clear(),this.setAuthRights(),this.loading=!1},()=>this.loading=!1)}onAddGroup(){const e=(0,T.kZ)();e.width="900px",e.data={voId:this.voId,assignedGroups:this.groups.map(a=>a.id),theme:"vo-theme"},this.dialog.open(kr,e).afterClosed().subscribe(a=>{a&&this.loadGroups()})}removeGroup(){const e=(0,T.kZ)();e.width="450px",e.data={items:this.selected.selected.map(a=>a.name),title:"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_GROUP_DIALOG_TITLE",description:"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_GROUP_DIALOG_DESCRIPTION",theme:"vo-theme"},this.dialog.open(L.Tf,e).afterClosed().subscribe(a=>{a&&this.registrarService.deleteGroupsFromAutoRegistration(this.selected.selected.map(s=>s.id)).subscribe(()=>{this.loadGroups()})})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addGroupsToAutoRegistration_List_policy",[{id:this.voId,beanName:"Vo"}])}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.tk),t.Y36(u.x4),t.Y36(p.uw),t.Y36(E.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-application-form-manage-groups"]],viewQuery:function(e,o){if(1&e&&t.Gf(Br,5),2&e){let a;t.iGM(a=t.CRH())&&(o.list=a.first)}},decls:17,vars:21,consts:[[1,"page-subtitle"],["alert_type","info"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],["theme","vo-theme",3,"tableId","selection","displayedColumns","disableRouting","filter","authType","groups",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],["theme","vo-theme",3,"tableId","selection","displayedColumns","disableRouting","filter","authType","groups"],["list",""]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"app-alert",1),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"perun-web-apps-refresh-button",2),t.NdJ("refresh",function(){return o.loadGroups()}),t.qZA(),t.YNc(8,jr,3,3,"button",3),t.TgZ(9,"span",4),t.ALo(10,"translate"),t.TgZ(11,"button",5),t.NdJ("click",function(){return o.removeGroup()}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.qZA(),t.TgZ(14,"perun-web-apps-immediate-filter",6),t.NdJ("filter",function(s){return o.filterValue=s}),t.qZA(),t.YNc(15,Hr,1,0,"mat-spinner",7),t.YNc(16,zr,2,8,"perun-web-apps-groups-list",8)),2&e&&(t.xp6(1),t.AsE(" ",t.lcZ(2,11,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE")," - ",t.lcZ(3,13,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.TITLE"),"\n"),t.xp6(4),t.hij(" ",t.lcZ(6,15,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.HELP"),"\n"),t.xp6(3),t.Q6J("ngIf",o.addAuth),t.xp6(1),t.s9C("matTooltip",t.lcZ(10,17,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_PERMISSION_HINT")),t.Q6J("matTooltipDisabled",void 0===o.list||void 0!==o.list&&o.list.removeAuth),t.xp6(2),t.Q6J("disabled",0===o.selected.selected.length||void 0!==o.list&&!o.list.removeAuth),t.xp6(1),t.hij(" ",t.lcZ(13,19,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE")," "),t.xp6(2),t.Q6J("placeholder","VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.FILTER"),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[U.w,w.t,h.O5,I.lW,N.gM,P.L,f.$g,Q.W],pipes:[_.X$],styles:[""]}),i})();var Wr=l(20872),Kr=l(80013),tl=l(72986),el=l(87545),St=l(28499),il=l(13469),Zt=l(14623),xt=l(38383);const ol=["stepper"];function nl(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.CREATE_IDENTITY"))}function al(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function sl(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function rl(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.EMAIL_INVALID")))}function ll(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function cl(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function pl(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.SET_CREDENTIALS"))}function ul(i,n){if(1&i&&(t.TgZ(0,"mat-option",31),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e," ")}}function dl(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function _l(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_EXISTS")))}function ml(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_FORMAT")))}function gl(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_LONG")))}function hl(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_SHORT")))}function Tl(i,n){if(1&i&&(t.TgZ(0,"span",32),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.hij(" ",t.lcZ(2,1,"Not selected"===e.secondFormGroup.get("namespaceCtrl").value?"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_DISABLED":"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_DISABLED_FOR_NAMESPACE")," ")}}function Al(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.ASSOCIATE_USERS"))}function fl(i,n){if(1&i&&(t.TgZ(0,"span",38),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij("#",e.id,"")}}function Il(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"mat-list-item"),t.TgZ(1,"p",33),t._uU(2),t.ALo(3,"userFullName"),t.YNc(4,fl,2,1,"span",34),t.TgZ(5,"span",35),t.ALo(6,"translate"),t.TgZ(7,"button",36),t.NdJ("click",function(){const s=t.CHM(e).$implicit;return t.oxw(2).removeUser(s)}),t.TgZ(8,"mat-icon",37),t._uU(9,"close"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=n.$implicit,o=t.oxw(2);t.xp6(2),t.hij(" ",t.lcZ(3,5,e.user)," "),t.xp6(2),t.Q6J("ngIf",e.id),t.xp6(1),t.Q6J("matTooltipDisabled",o.assignedMembers.length>1)("matTooltip",t.lcZ(6,7,"DIALOGS.CREATE_SERVICE_MEMBER.MINIMAL_USERS")),t.xp6(2),t.Q6J("disabled",1===o.assignedMembers.length)}}function El(i,n){1&i&&t._UZ(0,"mat-spinner",39)}const vl=function(){return["checkbox","id","fullName"]};function bl(i,n){if(1&i&&t._UZ(0,"perun-web-apps-members-list",42),2&i){const e=t.oxw(3);t.Q6J("disableRouting",!0)("displayedColumns",t.DdM(5,vl))("members",e.members)("tableId",e.tableId)("selection",e.selection)}}function Cl(i,n){1&i&&(t.TgZ(0,"app-alert",43),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_INFO")," "))}function Sl(i,n){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,bl,1,6,"perun-web-apps-members-list",40),t.YNc(2,Cl,3,3,"app-alert",41),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.firstSearchDone),t.xp6(1),t.Q6J("ngIf",!e.firstSearchDone)}}function Zl(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",5),t.TgZ(1,"mat-stepper",6,7),t.TgZ(3,"mat-step",8),t.TgZ(4,"form",9),t.YNc(5,nl,2,3,"ng-template",10),t.TgZ(6,"div",11),t.TgZ(7,"mat-form-field"),t.TgZ(8,"mat-label"),t._uU(9),t.ALo(10,"translate"),t.qZA(),t._UZ(11,"input",12),t.YNc(12,al,3,3,"mat-error",13),t.qZA(),t.TgZ(13,"mat-form-field"),t.TgZ(14,"mat-label"),t._uU(15),t.ALo(16,"translate"),t.qZA(),t._UZ(17,"input",14),t.YNc(18,sl,3,3,"mat-error",13),t.YNc(19,rl,3,3,"mat-error",13),t.qZA(),t.TgZ(20,"mat-form-field"),t.TgZ(21,"mat-label"),t._uU(22),t.ALo(23,"translate"),t.qZA(),t._UZ(24,"input",15),t.YNc(25,ll,3,3,"mat-error",13),t.qZA(),t.TgZ(26,"mat-form-field"),t.TgZ(27,"mat-label"),t._uU(28),t.ALo(29,"translate"),t.qZA(),t._UZ(30,"input",16),t.YNc(31,cl,3,3,"mat-error",13),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(32,"mat-step",8),t.TgZ(33,"form",9),t.YNc(34,pl,2,3,"ng-template",10),t.TgZ(35,"div",11),t.TgZ(36,"mat-form-field"),t.TgZ(37,"mat-label"),t._uU(38),t.ALo(39,"translate"),t.qZA(),t.TgZ(40,"mat-select",17),t.NdJ("valueChange",function(a){return t.CHM(e),t.oxw().onNamespaceChanged(a)}),t.YNc(41,ul,2,2,"mat-option",18),t.qZA(),t.qZA(),t.TgZ(42,"mat-form-field",19),t.TgZ(43,"mat-label"),t._uU(44),t.ALo(45,"translate"),t.qZA(),t._UZ(46,"input",20),t.YNc(47,dl,3,3,"mat-error",13),t.YNc(48,_l,3,3,"mat-error",13),t.YNc(49,ml,3,3,"mat-error",13),t.YNc(50,gl,3,3,"mat-error",13),t.YNc(51,hl,3,3,"mat-error",13),t.YNc(52,Tl,3,3,"span",21),t.qZA(),t.TgZ(53,"mat-radio-group",22),t.NdJ("ngModelChange",function(){return t.CHM(e),t.oxw().passwordOptionChanged()}),t.ALo(54,"translate"),t.TgZ(55,"mat-radio-button",23),t._uU(56),t.ALo(57,"translate"),t.qZA(),t.TgZ(58,"mat-radio-button",23),t._uU(59),t.ALo(60,"translate"),t.qZA(),t.qZA(),t.TgZ(61,"div",11),t._UZ(62,"perun-web-apps-password-form",24),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(63,"mat-step"),t.YNc(64,Al,2,3,"ng-template",10),t.TgZ(65,"h6"),t._uU(66),t.ALo(67,"translate"),t.qZA(),t.TgZ(68,"mat-list"),t.YNc(69,Il,10,9,"mat-list-item",25),t.qZA(),t.TgZ(70,"h6",26),t._uU(71),t.ALo(72,"translate"),t.qZA(),t.TgZ(73,"mat-form-field",27),t.TgZ(74,"input",28),t.NdJ("keyup.enter",function(){t.CHM(e);const a=t.oxw();return 0!==a.searchCtrl.value.length&&a.onSearchByString()}),t.ALo(75,"translate"),t.qZA(),t.qZA(),t.TgZ(76,"button",29),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSearchByString()}),t.TgZ(77,"mat-icon"),t._uU(78,"search"),t.qZA(),t.qZA(),t.TgZ(79,"button",30),t.NdJ("click",function(){return t.CHM(e),t.oxw().addUsers()}),t._uU(80),t.ALo(81,"translate"),t.qZA(),t.YNc(82,El,1,0,"mat-spinner",3),t.YNc(83,Sl,3,2,"div",13),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("linear",!0),t.xp6(2),t.Q6J("stepControl",e.firstFormGroup),t.xp6(1),t.Q6J("formGroup",e.firstFormGroup),t.xp6(5),t.Oqu(t.lcZ(10,50,"DIALOGS.CREATE_SERVICE_MEMBER.NAME")),t.xp6(3),t.Q6J("ngIf",e.firstFormGroup.get("nameCtrl").hasError("required")),t.xp6(3),t.Oqu(t.lcZ(16,52,"DIALOGS.CREATE_SERVICE_MEMBER.EMAIL")),t.xp6(3),t.Q6J("ngIf",e.firstFormGroup.get("emailCtrl").hasError("required")),t.xp6(1),t.Q6J("ngIf",e.firstFormGroup.get("emailCtrl").hasError("pattern")),t.xp6(3),t.Oqu(t.lcZ(23,54,"DIALOGS.CREATE_SERVICE_MEMBER.SUBJECT_DN")),t.xp6(2),t.Q6J("required",!!e.firstFormGroup.get("issuerCtrl").value&&0!==e.firstFormGroup.get("issuerCtrl").value.trim().length),t.xp6(1),t.Q6J("ngIf",e.firstFormGroup.get("subjectCtrl").hasError("required")),t.xp6(3),t.Oqu(t.lcZ(29,56,"DIALOGS.CREATE_SERVICE_MEMBER.ISSUER_DN")),t.xp6(2),t.Q6J("required",!!e.firstFormGroup.get("subjectCtrl").value&&0!==e.firstFormGroup.get("subjectCtrl").value.trim().length),t.xp6(1),t.Q6J("ngIf",e.firstFormGroup.get("issuerCtrl").hasError("required")),t.xp6(1),t.Q6J("stepControl",e.secondFormGroup),t.xp6(1),t.Q6J("formGroup",e.secondFormGroup),t.xp6(5),t.Oqu(t.lcZ(39,58,"DIALOGS.CREATE_SERVICE_MEMBER.NAMESPACE")),t.xp6(3),t.Q6J("ngForOf",e.namespaceOptions),t.xp6(1),t.Q6J("floatLabel",e.secondFormGroup.get("loginCtrl").disabled?"always":null),t.xp6(2),t.Oqu(t.lcZ(45,60,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN")),t.xp6(2),t.Q6J("hidden",e.secondFormGroup.get("loginCtrl").disabled),t.xp6(1),t.Q6J("ngIf",e.secondFormGroup.get("loginCtrl").hasError("required")),t.xp6(1),t.Q6J("ngIf",e.secondFormGroup.get("loginCtrl").hasError("loginExists")),t.xp6(1),t.Q6J("ngIf",e.secondFormGroup.get("loginCtrl").hasError("pattern")&&!e.secondFormGroup.get("loginCtrl").hasError("minlength")),t.xp6(1),t.Q6J("ngIf",e.secondFormGroup.get("loginCtrl").hasError("maxlength")),t.xp6(1),t.Q6J("ngIf",e.secondFormGroup.get("loginCtrl").hasError("minlength")),t.xp6(1),t.Q6J("ngIf",e.secondFormGroup.get("loginCtrl").disabled),t.xp6(1),t.s9C("matTooltip",t.lcZ(54,62,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_NOT_SUPPORTED")),t.Q6J("matTooltipDisabled","Not selected"!==e.secondFormGroup.get("namespaceCtrl").value),t.xp6(2),t.Q6J("checked",e.secondFormGroup.get("generatePasswordCtrl").value&&e.secondFormGroup.get("generatePasswordCtrl").enabled)("value",!0),t.xp6(1),t.hij(" ",t.lcZ(57,64,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_RANDOM")," "),t.xp6(2),t.Q6J("checked",!e.secondFormGroup.get("generatePasswordCtrl").value&&e.secondFormGroup.get("generatePasswordCtrl").enabled)("value",!1),t.xp6(1),t.hij(" ",t.lcZ(60,66,"DIALOGS.CREATE_SERVICE_MEMBER.ENTER_PASSWORD")," "),t.xp6(2),t.ekj("input-disabled",e.secondFormGroup.get("generatePasswordCtrl").value),t.xp6(1),t.Q6J("formGroup",e.secondFormGroup)("passwordRequired",!e.secondFormGroup.get("generatePasswordCtrl").value)("namespace",e.selectedNamespace),t.xp6(4),t.Oqu(t.lcZ(67,68,"DIALOGS.CREATE_SERVICE_MEMBER.ASSOCIATED_USERS")),t.xp6(3),t.Q6J("ngForOf",e.assignedMembers),t.xp6(2),t.Oqu(t.lcZ(72,70,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_INFO")),t.xp6(3),t.s9C("placeholder",t.lcZ(75,72,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_PLACEHOLDER")),t.Q6J("formControl",e.searchCtrl),t.xp6(2),t.Q6J("disabled",e.loading||0===e.searchCtrl.value.length),t.xp6(3),t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(81,74,"DIALOGS.CREATE_SERVICE_MEMBER.ADD_USER")," "),t.xp6(2),t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading)}}function xl(i,n){1&i&&t._UZ(0,"mat-spinner",39)}function Nl(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",49),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).stepperPrevious()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.BACK")," "))}function Ol(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",30),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).stepperNext()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw(2);t.ekj("ml-2",void 0!==e.stepper&&0!==e.stepper.selectedIndex)("ml-auto",!(void 0!==e.stepper&&0!==e.stepper.selectedIndex)),t.Q6J("disabled",e.getStepperNextConditions()),t.xp6(1),t.hij(" ",t.lcZ(2,6,"DIALOGS.CREATE_SERVICE_MEMBER.NEXT")," ")}}function Rl(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",50),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).onCreate()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("disabled",e.firstFormGroup.invalid||"Not selected"!==e.secondFormGroup.get("namespaceCtrl").value&&e.secondFormGroup.invalid),t.xp6(1),t.hij(" ",t.lcZ(2,2,"DIALOGS.CREATE_SERVICE_MEMBER.CREATE")," ")}}function Dl(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",44),t.TgZ(1,"button",45),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Nl,3,3,"button",46),t.YNc(5,Ol,3,8,"button",47),t.YNc(6,Rl,3,4,"button",48),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,4,"DIALOGS.CREATE_SERVICE_MEMBER.CANCEL")," "),t.xp6(2),t.Q6J("ngIf",void 0!==e.stepper&&0!==e.stepper.selectedIndex),t.xp6(1),t.Q6J("ngIf",void 0!==e.stepper&&e.stepper.selectedIndex!==e.stepper._steps.length-1),t.xp6(1),t.Q6J("ngIf",void 0!==e.stepper&&e.stepper.selectedIndex===e.stepper._steps.length-1)}}let Ll=(()=>{class i{constructor(e,o,a,s,r,d,A,v,D,nt){this.dialogRef=e,this.data=o,this.membersManagerService=a,this.usersManagerService=s,this.notificator=r,this.translate=d,this.store=A,this.apiRequestConfiguration=v,this._formBuilder=D,this.cd=nt,this.namespaceOptions=[],this.selectedNamespace=null,this.namespaceRules=[],this.parsedRules=new Map,this.firstSearchDone=!1,this.searchCtrl=new m.NI(""),this.members=[],this.selection=new x.Ov(!0,[]),this.tableId=C.j1,this.assignedMembers=[],this.candidate={},this.successMessageMember="",this.successMessagePwd="",this.processing=!1,d.get("DIALOGS.CREATE_SERVICE_MEMBER.SUCCESS_MEMBER").subscribe(at=>this.successMessageMember=at),d.get("DIALOGS.CREATE_SERVICE_MEMBER.SUCCESS_PWD").subscribe(at=>this.successMessagePwd=at)}ngAfterViewInit(){this.cd.detectChanges()}ngOnInit(){this.firstFormGroup=this._formBuilder.group({nameCtrl:["",m.kI.required],emailCtrl:["",[m.kI.required,m.kI.pattern("\\w+([.-]?\\w+)*@\\w+([.-]?\\w+)*(.\\w{2,3})+")]],subjectCtrl:[null],issuerCtrl:[null]}),this.secondFormGroup=this._formBuilder.group({namespaceCtrl:["Not selected"],loginCtrl:["",[m.kI.pattern("^[a-z][a-z0-9_-]+$"),m.kI.maxLength(15),m.kI.minLength(2)]],passwordCtrl:["",m.kI.required,[(0,St.yT)(null,this.usersManagerService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""],generatePasswordCtrl:[!0]},{validators:T.dN.passwordMatchValidator}),this.namespaceOptions=["Not selected"],this.membersManagerService.getAllNamespacesRules().subscribe(o=>{this.namespaceRules=o,this.parseNamespaceRules(),this.loading=!1}),this.onNamespaceChanged("Not selected");const e=this.store.getPerunPrincipal().user;this.membersManagerService.getMembersByUser(e.id).subscribe(o=>{let a={};for(const s of o)s.voId===this.data.voId&&(a=s);a.user=e,this.assignedMembers.push(a)})}existingLoginValidator(){return e=>{let o=this.secondFormGroup.get("namespaceCtrl").value.toLowerCase();return o="not selected"===o?"mu":o,e.valueChanges.pipe((0,Kr.b)(500),(0,tl.q)(1),(0,el.w)(()=>this.usersManagerService.isLoginAvailable(o,e.value).pipe((0,ot.U)(a=>a?null:{loginExists:!0}))))}}onCreate(){this.processing=!0,this.candidate.firstName="",this.candidate.lastName=this.firstFormGroup.get("nameCtrl").value,this.candidate.attributes={},this.candidate.attributes["urn:perun:member:attribute-def:def:mail"]=this.firstFormGroup.get("emailCtrl").value;const e=this.firstFormGroup.get("subjectCtrl");e&&e.value&&(this.candidate.userExtSource={},this.candidate.userExtSource.login=e.value,this.candidate.userExtSource.loa=0,this.candidate.userExtSource.extSource={},this.candidate.userExtSource.extSource.name=this.firstFormGroup.get("issuerCtrl").value,this.candidate.userExtSource.extSource.type="cz.metacentrum.perun.core.impl.ExtSourceX509");const o=this.secondFormGroup.get("namespaceCtrl").value.toLowerCase(),a=this.parsedRules.get(o),s=`urn:perun:user:attribute-def:def:login-namespace:${o}`;"Not selected"!==this.secondFormGroup.get("namespaceCtrl").value&&"disabled"===a.login?this.usersManagerService.generateAccountForName(o,this.firstFormGroup.get("nameCtrl").value).subscribe(r=>{this.candidate.attributes[s]=r[s],this.createSpecificMember()},()=>this.processing=!1):("Not selected"!==this.secondFormGroup.get("namespaceCtrl").value&&(this.candidate.attributes[s]=this.secondFormGroup.get("loginCtrl").value),this.createSpecificMember())}createSpecificMember(){this.membersManagerService.createSpecificMember({vo:this.data.voId,specificUserType:"SERVICE",specificUserOwners:this.assignedMembers.map(e=>e.user),candidate:this.candidate}).subscribe(e=>{this.membersManagerService.validateMemberAsync(e.id).subscribe(o=>{this.notificator.showSuccess(this.successMessageMember),"Not selected"!==this.secondFormGroup.get("namespaceCtrl").value?this.setPassword(o,this.secondFormGroup.get("generatePasswordCtrl").value):(this.dialogRef.close(!0),this.processing=!1)},()=>this.processing=!1)},()=>this.processing=!1)}parseNamespaceRules(){for(const e of this.namespaceRules){this.namespaceOptions.push(e.namespaceName);const o={login:"disabled"};this.parseAttributes(o,e.requiredAttributes,"required"),this.parseAttributes(o,e.optionalAttributes,"optional"),this.parsedRules.set(e.namespaceName,o)}}parseAttributes(e,o,a){for(const s of o)"login"===s&&(e.login=a)}setPassword(e,o){const a=this.secondFormGroup.get("namespaceCtrl").value.toLowerCase(),s=this.secondFormGroup.get("passwordCtrl").value;if(o){if("disabled"===this.parsedRules.get(a).login)return void this.validateMember(e.id);this.usersManagerService.reserveRandomPassword(e.userId,a).subscribe(()=>{this.usersManagerService.validatePasswordForUser(e.userId,a).subscribe(()=>{this.validateMember(e.id,!1)},()=>{this.processing=!1,this.dialogRef.close(!0)})},()=>{this.processing=!1,this.dialogRef.close(!0)})}else this.usersManagerService.reservePasswordForUser(e.userId,a,s).subscribe(()=>{this.usersManagerService.validatePasswordForUser(e.userId,a).subscribe(()=>{this.validateMember(e.id)},()=>{this.processing=!1,this.dialogRef.close(!0)})},()=>{this.processing=!1,this.dialogRef.close(!0)})}validateMember(e,o=!0){this.membersManagerService.validateMemberAsync(e).subscribe(()=>{o&&this.notificator.showSuccess(this.successMessagePwd),this.dialogRef.close(!0),this.processing=!1},()=>{this.processing=!1,this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}onSearchByString(){this.loading=!0,this.membersManagerService.findCompleteRichMembersForVo(this.data.voId,[null],this.searchCtrl.value).subscribe(e=>{this.members=e.filter(o=>!o.user.specificUser),this.firstSearchDone=!0,this.loading=!1})}addUsers(){const e=this.assignedMembers.map(o=>o.id);this.selection.selected.forEach(o=>{e.includes(o.id)||this.assignedMembers.push(o)}),this.selection.clear()}removeUser(e){this.assignedMembers=this.assignedMembers.filter(o=>o.id!==e.id)}onNamespaceChanged(e){this.selectedNamespace=e.toLowerCase();const o=this.secondFormGroup.get("loginCtrl"),a=this.secondFormGroup.get("passwordCtrl"),s=this.secondFormGroup.get("passwordAgainCtrl"),r=this.secondFormGroup.get("generatePasswordCtrl");if("Not selected"!==e){if("disabled"===this.parsedRules.get(this.selectedNamespace).login)o.disable(),o.setValue("");else{const d=[m.kI.required,m.kI.pattern("^[a-z][a-z0-9_-]+$"),m.kI.maxLength(15),m.kI.minLength(2)];(0,T.mH)(o,d,[this.existingLoginValidator()])}(0,T.mH)(r,[]),this.passwordOptionChanged()}else o.disable(),o.setValue(""),a.disable(),a.setValue(""),s.disable(),s.setValue(""),r.disable(),r.dirty||r.setValue(!0)}passwordOptionChanged(){const e=this.secondFormGroup.get("passwordCtrl"),o=this.secondFormGroup.get("passwordAgainCtrl");this.secondFormGroup.get("generatePasswordCtrl").value?(e.disable(),e.setValue(""),o.disable(),o.setValue("")):((0,T.mH)(e,[m.kI.required],[(0,St.yT)(this.selectedNamespace,this.usersManagerService,this.apiRequestConfiguration)]),(0,T.mH)(o,[]))}getStepperNextConditions(){switch(this.stepper.selectedIndex){case 0:return this.firstFormGroup.invalid||this.firstFormGroup.pending;case 1:return this.secondFormGroup.invalid||this.secondFormGroup.pending||"Not selected"===this.secondFormGroup.get("namespaceCtrl").value;default:return!1}}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(g.uq),t.Y36(g.Fv),t.Y36(u.V6),t.Y36(_.sK),t.Y36(u.d6),t.Y36(u.F5),t.Y36(m.qu),t.Y36(t.sBO))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-create-service-member-dialog"]],viewQuery:function(e,o){if(1&e&&t.Gf(ol,5),2&e){let a;t.iGM(a=t.CRH())&&(o.stepper=a.first)}},decls:7,vars:6,consts:[[1,"vo-theme"],[1,"mat-dialog-title"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],["stepper",""],[3,"stepControl"],[3,"formGroup"],["matStepLabel",""],[1,"display-flex"],["formControlName","nameCtrl","matInput","","required",""],[4,"ngIf"],["formControlName","emailCtrl","matInput","","required","","type","email"],["formControlName","subjectCtrl","matInput","",3,"required"],["formControlName","issuerCtrl","matInput","",3,"required"],["formControlName","namespaceCtrl",3,"valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"floatLabel"],["formControlName","loginCtrl","matInput","","required","",3,"hidden"],["class","input-disabled",4,"ngIf"],["formControlName","generatePasswordCtrl","matTooltipPosition","left",1,"display-flex","mt-3",3,"matTooltipDisabled","matTooltip","ngModelChange"],[3,"checked","value"],[3,"formGroup","passwordRequired","namespace"],[4,"ngFor","ngForOf"],[1,"mt-3"],[1,"mr-2","w-50"],["autocomplete","false","matInput","",3,"formControl","placeholder","keyup.enter"],["color","primary","mat-flat-button","",1,"mr-2",3,"disabled","click"],["color","accent","mat-flat-button","",3,"disabled","click"],[3,"value"],[1,"input-disabled"],[1,"truncate","center-content"],["class","text-muted",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["color","warn","mat-icon-button","",1,"ml-1",3,"disabled","click"],[1,"margin-bottom"],[1,"text-muted"],[1,"ml-auto","mr-auto"],[3,"disableRouting","displayedColumns","members","tableId","selection",4,"ngIf"],["alert_type","info",4,"ngIf"],[3,"disableRouting","displayedColumns","members","tableId","selection"],["alert_type","info"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],["class","ml-2","color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"h1",1),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Zl,84,76,"div",2),t.YNc(5,xl,1,0,"mat-spinner",3),t.YNc(6,Dl,7,6,"div",4),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,4,"DIALOGS.CREATE_SERVICE_MEMBER.TITLE")),t.xp6(2),t.Q6J("ngIf",!o.processing),t.xp6(1),t.Q6J("ngIf",o.processing),t.xp6(1),t.Q6J("ngIf",!o.processing))},directives:[h.O5,p.xY,q.Vq,q.C0,m._Y,m.JL,m.sg,q.VY,b.KE,b.hX,m.Fj,G.Nt,m.JJ,m.u,m.Q7,b.TO,Y.gD,h.sg,J.ey,k.VQ,N.gM,k.U0,il.G,Zt.i$,Zt.Tg,I.lW,M.Hw,m.oH,f.$g,xt.O,U.w,p.H8],pipes:[_.X$,$.d],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.input-disabled[_ngcontent-%COMP%]{pointer-events:none;color:#888}.truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}.center-content[_ngcontent-%COMP%]{margin-bottom:auto;margin-top:auto}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}.margin-bottom[_ngcontent-%COMP%]{margin-bottom:6px}"]}),i})();var Ml=l(53455);function Pl(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onRemoveMembers()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",e.selection.isEmpty()),t.xp6(1),t.hij(" ",t.lcZ(2,2,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.DELETE"),"\n")}}function Ul(i,n){1&i&&t._UZ(0,"mat-spinner",8)}const Gl=function(){return["checkbox","id","type","fullName","status"]};function wl(i,n){if(1&i&&t._UZ(0,"perun-web-apps-members-list",9),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("displayedColumns",t.DdM(5,Gl))("selection",e.selection)("filter",e.searchString)("members",e.members)}}let yl=(()=>{class i{constructor(e,o,a,s,r){this.membersManager=e,this.dialog=o,this.authResolver=a,this.authzService=s,this.entityStorageService=r,this.members=[],this.selection=new x.Ov(!0,[]),this.searchString="",this.loading=!1,this.tableId=C._c}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.removeAuth=this.authzService.isAuthorized("deleteMembers_List_policy",[this.vo]),this.refresh()}createServiceMember(){const e=(0,T.kZ)();e.width="750px",e.data={voId:this.vo.id},this.dialog.open(Ll,e).afterClosed().subscribe(a=>{a&&this.refresh()})}onRemoveMembers(){const e=(0,T.kZ)();e.width="450px",e.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(Ml.X,e).afterClosed().subscribe(a=>{a&&(this.refresh(),this.selection.clear())})}applyFilter(e){this.searchString=e}refresh(){this.loading=!0,this.membersManager.findCompleteRichMembersForVo(this.vo.id,[null],"(Service)").subscribe(e=>{this.members=e,this.loading=!1})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.uq),t.Y36(p.uw),t.Y36(u.x4),t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-settings-service-members"]],decls:11,vars:10,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"click"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","displayedColumns","selection","filter","members",4,"ngIf"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","displayedColumns","selection","filter","members"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return o.refresh()}),t.qZA(),t.TgZ(4,"button",2),t.NdJ("click",function(){return o.createServiceMember()}),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.YNc(7,Pl,3,4,"button",3),t.TgZ(8,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.YNc(9,Ul,1,0,"mat-spinner",5),t.YNc(10,wl,1,6,"perun-web-apps-members-list",6)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.TITLE")),t.xp6(4),t.hij(" ",t.lcZ(6,8,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.CREATE"),"\n"),t.xp6(2),t.Q6J("ngIf",o.removeAuth),t.xp6(1),t.Q6J("placeholder","VO_DETAIL.SETTINGS.SERVICE_MEMBERS.FILTER"),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[w.t,I.lW,h.O5,P.L,f.$g,xt.O],pipes:[_.X$],styles:[""]}),i})();const Fl=[{path:"",component:Nt.Y},{path:":voId",component:ce,canActivateChild:[(()=>{class i{constructor(e,o,a,s){this.authResolver=e,this.routePolicyService=o,this.router=a,this.notificator=s}static getBeanName(e){switch(e){case"organizations":return"Vo";case"groups":return"Group";case"facilities":return"Facility";case"resources":return"Resource";case"members":return"Member";default:return""}}static parseUrl(e){const o=e.slice(1).split("/").reverse(),a={key:"",entity:{id:-1,beanName:""}};for(const s of o){if(Number(s)){if(-1===a.entity.id){a.entity.id=Number(s);continue}break}a.key=s.concat("-",a.key)}return a.key=a.key.slice(0,a.key.length-1),a.entity.beanName=i.getBeanName(a.key.split("-")[0]),a}canActivateChild(e,o){if(this.authResolver.isPerunAdminOrObserver())return!0;const a=i.parseUrl(o.url);return!!this.routePolicyService.canNavigate(a.key,a.entity)||(this.notificator.showRouteError(),this.router.parseUrl("/notAuthorized"))}}return i.\u0275fac=function(e){return new(e||i)(t.LFG(u.x4),t.LFG(u.Ip),t.LFG(E.F0),t.LFG(u.V6))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})()],children:[{path:"",component:Kt,data:{animation:"VoOverviewPage"}},{path:"attributes",component:si,data:{animation:"VoAttributesPage"}},{path:"groups",component:te.G,data:{animation:"VoGroupsPage"}},{path:"members",component:ee.y,data:{animation:"VoMembersPage"}},{path:"resources",component:oi,children:[{path:"",component:yn,data:{animation:"VoResourcesOverviewPage"}},{path:"preview",component:qn.z,data:{animation:"VoResourcesPreviewPage"}},{path:"states",component:Fn.z,data:{animation:"VoResourcesStatesPage"}},{path:"tags",component:ta,data:{animation:"VoResourcesTagsPage"}}]},{path:"applications",component:ni.c,data:{animation:"VoApplicationsPage"}},{path:"applications/:applicationId",component:K,data:{animation:"VoApplicationDetailPage"}},{path:"sponsoredMembers",component:Sr.T,data:{animation:"VoSettingsSponsoredMembersPage"}},{path:"serviceAccounts",component:yl,data:{animation:"VoSettingsServiceMembersPage"}},{path:"statistics",component:yr,data:{animation:"VoStatisticsPage"}},{path:"settings",component:ai,children:[{path:"",component:ci,data:{animation:"VoSettingsOverviewPage"}},{path:"expiration",component:Si,data:{animation:"VoSettingsExpirationPage"}},{path:"managers",component:xi,data:{animation:"VoSettingsManagersPage"}},{path:"applicationForm",component:Ro.w,data:{animation:"SettingsApplicationFormPage"}},{path:"applicationForm/preview",component:mt,data:{animation:"SettingsApplicationFormPreviewPage"}},{path:"applicationForm/manageGroups",component:Xr},{path:"notifications",component:es,data:{animation:"SettingsApplicationFormNotificationsPage"}},{path:"extsources",component:Zs,data:{animation:"VoSettingsExtSourcesPage"}}]}]},{path:":voId/members/:memberId",component:zt,children:[{path:"",component:$e,data:{animation:"MemberOverviewPage"}},{path:"attributes",component:wn,data:{animation:"MemberAttributesPage"}},{path:"groups",component:ze.j,data:{animation:"MemberGroupsPage"}},{path:"applications",component:$s,data:{animation:"MemberApplicationsPage"}},{path:"applications/:applicationId",component:K,data:{animation:"MemberApplicationDetailPage"}},{path:"resources",component:gr,data:{animation:"MemberResourcesPage"}}]},{path:":voId/groups/:groupId",component:Yt,children:[{path:"",component:ei,data:{animation:"GroupOverviewPage"}},{path:"members",component:go.y,data:{animation:"GroupMembersPage"}},{path:"subgroups",component:ii.u,data:{animation:"GroupSubgroupsPage"}},{path:"applications",component:Zi.W,data:{animation:"GroupApplicationsPage"}},{path:"resources",component:ho.q,data:{animation:"GroupResourcesPage"}},{path:"attributes",component:Zo,data:{animation:"GroupAttributesPage"}},{path:"statistics",component:Vr,data:{animation:"GroupStatisticsPage"}},{path:"settings",component:To,children:[{path:"",component:Oo,data:{animation:"GroupSettingsOverviewPage"}},{path:"expiration",component:ia,data:{animation:"GroupSettingsExpirationPage"}},{path:"managers",component:oa,data:{animation:"GroupSettingsManagersPage"}},{path:"applicationForm",component:is.Z,data:{animation:"GroupSettingsApplicationFormPage"}},{path:"applicationForm/preview",component:mt},{path:"notifications",component:us,data:{animation:"GroupSettingsNotificationsPage"}},{path:"relations",component:Js,data:{animation:"GroupSettingsRelationsPage"}},{path:"extsources",component:Rr,data:{animation:"GroupSettingsExtsourcesPage"}}]},{path:"applications/:applicationId",component:K,data:{animation:"GroupApplicationDetailPage"}}]},{path:":voId/resources/:resourceId",component:hr.b,children:[{path:"",component:Tr.H,data:{animation:"ResourceOverviewPage"}},{path:"groups",component:Ar.K,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:br.D,data:{animation:"ResourceAssignedServicesComponent"}},{path:"attributes",component:Er.X,data:{animation:"ResourceAttributesPage"}},{path:"members",component:Cr.y,data:{animation:"ResourceAssignedMembersComponent"}},{path:"tags",component:Wr.v,data:{animation:"ResourceTagsComponent"}},{path:"settings",component:fr.t,children:[{path:"",component:Ir.h,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:vr.O,data:{animation:"ResourceSettingsManagersPage"}}]}]}];let Vl=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[[E.Bz.forChild(Fl)],E.Bz]}),i})();var Yl=l(14264),Jl=l(63189),Ql=l(19516);let kl=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[[h.ez,Vl,Yl.m,Jl.r,ys.ez,Ql.d4,T.Je]]}),i})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/892.30b3ccb9e69a8b2b.js b/dist/apps/admin-gui/892.30b3ccb9e69a8b2b.js deleted file mode 100644 index c2289103c..000000000 --- a/dist/apps/admin-gui/892.30b3ccb9e69a8b2b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[892],{36892:(Bl,st,l)=>{l.r(st),l.d(st,{VosModule:()=>kl});var h=l(69808),E=l(30325),Nt=l(25309),j=l(69024),O=l(36769),g=l(9315),T=l(9244),u=l(36908),S=l(64080),L=l(84379),Ot=l(41656),t=l(5e3),y=l(77968),p=l(48966),rt=l(15003),H=l(4235),f=l(20773),M=l(25245),N=l(29772),I=l(47423),F=l(61283),_=l(51062),Rt=l(45942),Dt=l(29218),Lt=l(28764);function Mt(i,n){1&i&&t._UZ(0,"mat-spinner",3)}function Pt(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).editGroup()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}function Ut(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",14),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).deleteGroup()}),t.TgZ(1,"mat-icon"),t._uU(2,"delete_forever"),t.qZA(),t.qZA()}}function Gt(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",17),t.NdJ("click",function(){return t.CHM(e),t.oxw(3).onSyncDetail()}),t.ALo(1,"groupSyncIcon"),t.TgZ(2,"mat-icon"),t.ALo(3,"groupSyncIconColor"),t._uU(4),t.ALo(5,"groupSyncIcon"),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(3);t.Q6J("disabled","sync_disabled"===t.lcZ(1,5,e.group)),t.xp6(2),t.Tol(t.lcZ(3,7,e.group)),t.xp6(2),t.hij(" ",t.lcZ(5,9,e.group)," ")}}function wt(i,n){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"span",15),t.ALo(4,"translate"),t.ALo(5,"groupSyncToolTip"),t.YNc(6,Gt,6,11,"button",16),t.qZA(),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.hij(" , ",t.lcZ(2,4,"GROUP_DETAIL.SYNCHRONIZATION"),": "),t.xp6(2),t.Q6J("matTooltipPosition","above")("matTooltip",t.lcZ(4,6,t.lcZ(5,8,e.group))),t.xp6(3),t.Q6J("ngIf",e.syncAuth)}}const yt=function(){return{color:"black"}},qt=function(i,n){return["/organizations",i,"groups",n]},Ft=function(i){return["/organizations",i]};function Vt(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"div",4),t._UZ(2,"mat-icon",5),t.ALo(3,"translate"),t.TgZ(4,"div",6),t.TgZ(5,"div",7),t.TgZ(6,"a",8),t._uU(7),t.qZA(),t.TgZ(8,"span",9),t._uU(9),t.qZA(),t.YNc(10,Pt,3,0,"button",10),t.YNc(11,Ut,3,0,"button",11),t.qZA(),t.TgZ(12,"div"),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.TgZ(15,"span",12),t._uU(16),t.ALo(17,"translate"),t.ALo(18,"translate"),t.TgZ(19,"a",8),t._uU(20),t.qZA(),t._uU(21),t.ALo(22,"translate"),t.YNc(23,wt,7,10,"span",2),t.qZA(),t.qZA(),t.qZA(),t._UZ(24,"app-animated-router-outlet"),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.s9C("matTooltip",t.lcZ(3,16,"GROUP_DETAIL.ENTITY")),t.Q6J("ngStyle",t.DdM(26,yt)),t.xp6(4),t.Q6J("routerLink",t.WLB(27,qt,e.vo.id,e.group.id)),t.xp6(1),t.hij(" ",e.group.shortName," "),t.xp6(2),t.hij(" \xa0#",e.group.id," "),t.xp6(1),t.Q6J("ngIf","members"!==e.group.name&&e.editAuth),t.xp6(1),t.Q6J("ngIf","members"!==e.group.name&&e.deleteAuth),t.xp6(2),t.AsE("",t.lcZ(14,18,"GROUP_DETAIL.UUID"),": ",e.group.uuid,""),t.xp6(3),t.AsE(" ",t.lcZ(17,20,"GROUP_DETAIL.ENTITY"),", ",t.lcZ(18,22,"GROUP_DETAIL.VO_NAME"),": "),t.xp6(3),t.Q6J("routerLink",t.VKq(30,Ft,e.vo.id)),t.xp6(1),t.Oqu(e.vo.name),t.xp6(1),t.AsE(", ",t.lcZ(22,24,"GROUP_DETAIL.DESCRIPTION"),": ",e.group.description," "),t.xp6(2),t.Q6J("ngIf",e.syncEnabled)}}let Yt=(()=>{class i{constructor(e,o,a,s,r,d,A,v,D,nt){this.sideMenuService=e,this.voService=o,this.route=a,this.sideMenuItemService=s,this.groupService=r,this.dialog=d,this.guiAuthResolver=A,this.router=v,this.entityStorageService=D,this.reloadEntityDetail=nt,this.editAuth=!1,this.deleteAuth=!1,this.loading=!1,this.syncAuth=!1,this.syncEnabled=!1,this.attrNames=[S.r.GROUP_SYNC_ENABLED,S.r.GROUP_LAST_SYNC_STATE,S.r.GROUP_LAST_SYNC_TIMESTAMP,S.r.GROUP_STRUCTURE_SYNC_ENABLED,S.r.GROUP_LAST_STRUCTURE_SYNC_STATE,S.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]}ngOnInit(){this.reloadEntityDetail.entityDetailChange.subscribe(()=>{this.reloadData()}),this.reloadData()}isSynchronized(){return this.group.attributes.some(e=>"synchronizationEnabled"===e.friendlyName&&null!==e.value&&"true"===e.value.toString())}onSyncDetail(){const e=(0,T.kZ)();e.data={groupId:this.group.id,theme:"group-theme"},this.dialog.open(L.Bp,e)}editGroup(){const e=(0,T.kZ)();e.width="450px",e.data={theme:"group-theme",group:this.group,dialogType:L.Eg.GROUP},this.dialog.open(L.rd,e).afterClosed().subscribe(a=>{a&&this.groupService.getGroupById(this.group.id).subscribe(s=>{this.group=s,this.setMenuItems()})})}reloadData(){this.loading=!0,this.route.params.subscribe(e=>{const a=e.groupId;this.voService.getVoById(e.voId).subscribe(s=>{this.vo=s,this.groupService.getGroupById(a).subscribe(r=>{this.group=r,this.entityStorageService.setEntity({id:r.id,voId:s.id,parentGroupId:r.parentGroupId,beanName:r.beanName}),(0,T.sF)("groups",this.group),(0,T.XI)(this.group,s.name),this.guiAuthResolver.isAuthorized("getRichGroupByIdWithAttributesByNames_int_List_policy",[this.group])?this.groupService.getRichGroupByIdWithAttributesByNames(a,this.attrNames).subscribe(d=>{this.group=d,this.syncEnabled=this.isSynchronized(),this.syncAuth=this.guiAuthResolver.isAuthorized("forceGroupSynchronization_Group_policy",[this.group])},()=>this.loading=!1):this.syncEnabled=!1,this.editAuth=this.guiAuthResolver.isAuthorized("updateGroup_Group_policy",[this.group]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteGroup_Group_boolean_policy",[this.group]),this.setMenuItems(),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)})}setMenuItems(){const e=this.sideMenuItemService.parseVo(this.vo),o=this.sideMenuItemService.parseGroup(this.group);this.sideMenuService.setAccessMenuItems([e,o])}deleteGroup(){const e=(0,T.kZ)();e.width="500px",e.data={theme:"group-theme",groups:[this.group]},this.dialog.open(Ot.P,e).afterClosed().subscribe(a=>{a&&this.router.navigate(["../"],{relativeTo:this.route})})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(y.D),t.Y36(g.YF),t.Y36(E.gz),t.Y36(j.V),t.Y36(g.ff),t.Y36(p.uw),t.Y36(u.x4),t.Y36(E.F0),t.Y36(u.fb),t.Y36(rt.G))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","group-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-group-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"group-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit group",3,"click",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","","aria-label","Edit group",3,"click"],["mat-icon-button","",3,"click"],[3,"matTooltipPosition","matTooltip"],["mat-icon-button","",3,"disabled","click",4,"ngIf"],["mat-icon-button","",3,"disabled","click"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"perun-web-apps-back-button"),t.YNc(2,Mt,1,0,"mat-spinner",1),t.YNc(3,Vt,25,32,"div",2),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading&&void 0!==o.vo&&void 0!==o.group))},directives:[H.W,h.O5,f.$g,M.Hw,N.gM,h.PC,E.yS,I.lW,F.A],pipes:[_.X$,Rt.r,Dt.J,Lt.F],styles:[""],data:{animation:[O.Ji]}}),i})();function Jt(i,n){1&i&&t._UZ(0,"mat-spinner",3)}const Qt=function(i){return["/admin","users",i]};function kt(i,n){if(1&i&&(t.TgZ(0,"a",8),t._uU(1),t.qZA()),2&i){const e=t.oxw(2);t.Q6J("routerLink",t.VKq(2,Qt,e.member.userId)),t.xp6(1),t.hij(" ",e.member.userId," ")}}function Bt(i,n){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Oqu(e.member.userId)}}const jt=function(){return{color:"black"}},Ht=function(i,n){return["/organizations",i,"members",n]};function $t(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"div",4),t._UZ(2,"mat-icon",5),t.ALo(3,"translate"),t.TgZ(4,"div",6),t.TgZ(5,"div",7),t.TgZ(6,"a",8),t._uU(7),t.qZA(),t.TgZ(8,"span",9),t._uU(9),t.qZA(),t.qZA(),t.TgZ(10,"span",10),t._uU(11),t.ALo(12,"translate"),t.ALo(13,"translate"),t.YNc(14,kt,2,4,"a",11),t.YNc(15,Bt,2,1,"span",2),t.qZA(),t.qZA(),t.qZA(),t._UZ(16,"app-animated-router-outlet"),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.s9C("matTooltip",t.lcZ(3,9,"MEMBER_DETAIL.ENTITY")),t.Q6J("ngStyle",t.DdM(15,jt)),t.xp6(4),t.Q6J("routerLink",t.WLB(16,Ht,e.vo.id,e.member.id)),t.xp6(1),t.hij(" ",e.fullName," "),t.xp6(2),t.hij(" \xa0#",e.member.id," "),t.xp6(2),t.AsE(" ",t.lcZ(12,11,"MEMBER_DETAIL.ENTITY"),", ",t.lcZ(13,13,"MEMBER_DETAIL.USER_ID"),": "),t.xp6(3),t.Q6J("ngIf",e.isAuthorized),t.xp6(1),t.Q6J("ngIf",!e.isAuthorized)}}let zt=(()=>{class i{constructor(e,o,a,s,r,d,A){this.sideMenuItemService=e,this.translate=o,this.sideMenuService=a,this.membersService=s,this.voService=r,this.route=d,this.authResolver=A,this.fullName="",this.isAuthorized=!1,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{const o=e.voId,a=e.memberId;this.isAuthorized=this.authResolver.isPerunAdminOrObserver(),this.voService.getVoById(o).subscribe(s=>{this.vo=s,this.membersService.getRichMemberWithAttributes(a).subscribe(r=>{this.member=r;const d=this.sideMenuItemService.parseVo(this.vo),A=this.sideMenuItemService.parseMember(this.member,this.vo);this.fullName=A.label,this.sideMenuService.setAccessMenuItems([d,A]),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(j.V),t.Y36(_.sK),t.Y36(y.D),t.Y36(g.uq),t.Y36(g.YF),t.Y36(E.gz),t.Y36(u.x4))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-member-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","member-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-user-dark",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"member-link",3,"routerLink"],[1,"text-muted"],[1,"mt-1","entity-info"],["class","member-link","queryParamsHandling","merge",3,"routerLink",4,"ngIf"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"perun-web-apps-back-button"),t.YNc(2,Jt,1,0,"mat-spinner",1),t.YNc(3,$t,17,19,"div",2),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading&&void 0!==o.vo&&void 0!==o.member))},directives:[H.W,h.O5,f.$g,M.Hw,N.gM,h.PC,E.yS,F.A],pipes:[_.X$],styles:[""],data:{animation:[O.Ji]}}),i})();var V=l(71135);function Xt(i,n){1&i&&t._UZ(0,"mat-spinner",2)}function Wt(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",3),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("items",e.navItems)("size","small")}}let Kt=(()=>{class i{constructor(e,o,a,s,r){this.sideMenuService=e,this.voService=o,this.router=a,this.authResolver=s,this.entityStorageService=r,this.items=[],this.navItems=[],this.loading=!1}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.initNavItems(),this.loading=!1}initNavItems(){this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-user",url:`/organizations/${this.vo.id}/members`,label:"MENU_ITEMS.VO.MEMBERS",style:"vo-btn"}),this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-group",url:`/organizations/${this.vo.id}/groups`,label:"MENU_ITEMS.VO.GROUPS",style:"vo-btn"}),this.authResolver.isAuthorized("getRichResources_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-manage-facility",url:`/organizations/${this.vo.id}/resources`,label:"MENU_ITEMS.VO.RESOURCES",style:"vo-btn"}),this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-applications",url:`/organizations/${this.vo.id}/applications`,label:"MENU_ITEMS.VO.APPLICATIONS",style:"vo-btn"}),this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-user",url:`/organizations/${this.vo.id}/sponsoredMembers`,label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",style:"vo-btn"}),this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-service-identity",url:`/organizations/${this.vo.id}/serviceAccounts`,label:"MENU_ITEMS.VO.SERVICE_MEMBERS",style:"vo-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/organizations/${this.vo.id}/attributes`,label:"MENU_ITEMS.VO.ATTRIBUTES",style:"vo-btn"}),this.authResolver.isAuthorized("getMembersCount_Vo_Status_policy",[this.vo])&&this.authResolver.isAuthorized("getMembersCount_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-statistics",url:`/organizations/${this.vo.id}/statistics`,label:"MENU_ITEMS.VO.STATISTICS",style:"vo-btn"}),(this.authResolver.isManagerPagePrivileged(this.vo)||this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[this.vo])||this.authResolver.isThisVoAdminOrObserver(this.vo.id))&&this.navItems.push({cssIcon:"perun-settings2",url:`/organizations/${this.vo.id}/settings`,label:"MENU_ITEMS.VO.SETTINGS",style:"vo-btn"})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(y.D),t.Y36(g.YF),t.Y36(E.F0),t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-overview"]],decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,o){1&e&&(t.YNc(0,Xt,1,0,"mat-spinner",0),t.YNc(1,Wt,2,2,"div",1)),2&e&&(t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,V.L],styles:[""]}),i})();var te=l(4732),ee=l(81847),ie=l(11717);function oe(i,n){1&i&&t._UZ(0,"mat-spinner",3)}function ne(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).editVo()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}function ae(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",14),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).removeVo()}),t.TgZ(1,"mat-icon"),t._uU(2,"delete_forever"),t.qZA(),t.qZA()}}const se=function(){return{color:"black"}},re=function(i){return["/organizations/",i]};function le(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"div",4),t._UZ(2,"mat-icon",5),t.ALo(3,"translate"),t.TgZ(4,"div",6),t.TgZ(5,"div",7),t.TgZ(6,"a",8),t._uU(7),t.qZA(),t.TgZ(8,"span",9),t._uU(9),t.qZA(),t.YNc(10,ne,3,0,"button",10),t.YNc(11,ae,3,0,"button",11),t.qZA(),t.TgZ(12,"span",12),t._uU(13),t.ALo(14,"translate"),t.ALo(15,"translate"),t.qZA(),t.qZA(),t.qZA(),t._UZ(16,"app-animated-router-outlet"),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.s9C("matTooltip",t.lcZ(3,10,"VO_DETAIL.ENTITY")),t.Q6J("ngStyle",t.DdM(16,se)),t.xp6(4),t.Q6J("routerLink",t.VKq(17,re,e.vo.id)),t.xp6(1),t.hij(" ",e.vo.name," "),t.xp6(2),t.hij(" \xa0#",e.vo.id," "),t.xp6(1),t.Q6J("ngIf",e.editAuth),t.xp6(1),t.Q6J("ngIf",e.removeAuth),t.xp6(2),t.lnq(" ",t.lcZ(14,12,"VO_DETAIL.ENTITY"),", ",t.lcZ(15,14,"VO_DETAIL.SHORT_NAME"),": ",e.vo.shortName," ")}}let ce=(()=>{class i{constructor(e,o,a,s,r,d,A,v,D){this.sideMenuService=e,this.voService=o,this.route=a,this.router=s,this.sideMenuItemService=r,this.dialog=d,this.authResolver=A,this.entityStorageService=v,this.reloadEntityDetail=D,this.loading=!1}ngOnInit(){this.reloadData(),this.reloadEntityDetail.entityDetailChange.subscribe(()=>{this.reloadData()})}reloadData(){this.loading=!0,this.route.params.subscribe(e=>{this.voService.getVoById(e.voId).subscribe(a=>{this.vo=a,this.entityStorageService.setEntity({id:a.id,beanName:a.beanName}),this.editAuth=this.authResolver.isAuthorized("updateVo_Vo_policy",[this.vo]),this.removeAuth=this.authResolver.isAuthorized("deleteVo_Vo_policy",[this.vo]),this.setMenuItems(),(0,T.sF)("vos",this.vo),(0,T.XI)(this.vo),this.loading=!1},()=>this.loading=!1)})}editVo(){const e=(0,T.kZ)();e.width="450px",e.data={theme:"vo-theme",vo:this.vo,dialogType:L.Eg.VO},this.dialog.open(L.rd,e).afterClosed().subscribe(a=>{a&&this.voService.getVoById(this.vo.id).subscribe(s=>{this.vo=s,this.setMenuItems()})})}setMenuItems(){const e=this.sideMenuItemService.parseVo(this.vo);this.sideMenuService.setAccessMenuItems([e])}removeVo(){const e=(0,T.kZ)();e.width="500px",e.data={theme:"vo-theme",vos:[this.vo]},this.dialog.open(ie.o,e).afterClosed().subscribe(a=>{a&&this.router.navigate([""])})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(y.D),t.Y36(g.YF),t.Y36(E.gz),t.Y36(E.F0),t.Y36(j.V),t.Y36(p.uw),t.Y36(u.x4),t.Y36(u.fb),t.Y36(rt.G))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","vo-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-vo-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge","data-cy","vo-name-link",1,"vo-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit Vo",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Remove Vo","data-cy","delete-vo",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","","aria-label","Edit Vo",3,"click"],["mat-icon-button","","aria-label","Remove Vo","data-cy","delete-vo",3,"click"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"perun-web-apps-back-button"),t.YNc(2,oe,1,0,"mat-spinner",1),t.YNc(3,le,17,19,"div",2),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading&&void 0!==o.vo))},directives:[H.W,h.O5,f.$g,M.Hw,N.gM,h.PC,E.yS,I.lW,F.A],pipes:[_.X$],styles:[".shortname[_ngcontent-%COMP%]{font-size:medium}"],data:{animation:[O.Ji]}}),i})();var c=l(32075),pe=l(58964),ue=l(19352),Z=l(9224),de=l(60526),lt=l(82322),U=l(98380),_e=l(69773),me=l(21757),ge=l(21330),ct=l(62383);function he(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"perun-web-apps-group-search-select",7),t.NdJ("groupSelected",function(a){return t.CHM(e),t.oxw().groupIsSelected(a)}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("groups",e.groups)("firstSelectedGroup",e.selectedGroup)}}function Te(i,n){1&i&&t._UZ(0,"mat-spinner",8)}function Ae(i,n){1&i&&(t.TgZ(0,"app-alert",9),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.NO_GROUPS_FOUND")))}function fe(i,n){1&i&&t._UZ(0,"th",17)}function Ie(i,n){if(1&i&&(t.TgZ(0,"td",18),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.hij("",e,":")}}function Ee(i,n){1&i&&t._UZ(0,"th",17)}function ve(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",22),t.NdJ("click",function(){return t.CHM(e),t.oxw(4).changeStatus()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}function be(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"i"),t.ALo(2,"memberStatusIconColor"),t._uU(3),t.ALo(4,"memberStatusIcon"),t.qZA(),t.TgZ(5,"b",20),t._uU(6),t.ALo(7,"transformMemberStatus"),t.qZA(),t.YNc(8,ve,3,0,"button",21),t.qZA()),2&i){const e=t.oxw(3);t.xp6(1),t.Gre("material-icons vert-center mr-1 ",t.lcZ(2,6,e.selectedMember.groupStatus),""),t.xp6(2),t.hij(" ",t.lcZ(4,8,e.selectedMember.groupStatus)," "),t.xp6(3),t.hij(" ",t.lcZ(7,10,e.selectedMember.groupStatus)," "),t.xp6(2),t.Q6J("ngIf",e.authResolver.isThisVoAdmin(e.vo.id)||e.authResolver.isThisGroupAdmin(e.selectedGroup.id))}}function Ce(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",22),t.NdJ("click",function(){return t.CHM(e),t.oxw(4).changeExpiration()}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}function Se(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"i",2),t._uU(2),t.ALo(3,"parseDate"),t.qZA(),t.YNc(4,Ce,3,0,"button",21),t.qZA()),2&i){const e=t.oxw(3);t.xp6(2),t.hij(" ",t.lcZ(3,2,e.expiration)," "),t.xp6(2),t.Q6J("ngIf",e.authResolver.isThisVoAdmin(e.vo.id)||e.authResolver.isThisGroupAdmin(e.selectedGroup.id))}}function Ze(i,n){if(1&i&&(t.TgZ(0,"td",19),t.YNc(1,be,9,12,"div",6),t.YNc(2,Se,5,4,"div",6),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf","Status"===e),t.xp6(1),t.Q6J("ngIf","Expiration"===e)}}function xe(i,n){1&i&&t._UZ(0,"tr",23)}function Ne(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"table",10),t.ynx(2,11),t.YNc(3,fe,1,0,"th",12),t.YNc(4,Ie,2,1,"td",13),t.BQk(),t.ynx(5,14),t.YNc(6,Ee,1,0,"th",12),t.YNc(7,Ze,3,2,"td",15),t.BQk(),t.YNc(8,xe,1,0,"tr",16),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("dataSource",e.groupMembershipDataSource),t.xp6(7),t.Q6J("matRowDefColumns",e.displayedColumns)}}let Oe=(()=>{class i{constructor(e,o,a,s){this.groupsManager=e,this.authResolver=o,this.translate=a,this.dialog=s,this.noGroups=!1,this.groupMembershipDataSource=new c.by,this.expiration="",this.displayedColumns=["attName","attValue"]}ngOnChanges(){this.loading=!0,this.initLoading=!0,this.groupMembershipDataSource=new c.by(["Status","Expiration"]),this.groupsManager.getMemberGroups(this.member.id).subscribe(e=>{if(this.groups=e,0===this.groups.length)return void(this.noGroups=!0);const o=this.findInitiallySelectedGroupId();this.groupIsSelected(o),this.initLoading=!1})}findInitiallySelectedGroupId(){if(this.recentIds=(0,T.vL)("groups"),this.recentIds){const e=this.groups.find(o=>o.id===this.recentIds[0]);if(e)return e}return this.groups[0]}groupIsSelected(e){this.loading=!0,this.selectedGroup=e,this.groupsManager.getGroupRichMembersByIds(this.selectedGroup.id,[this.member.id],[S.r.MEMBER_DEF_GROUP_EXPIRATION]).subscribe(o=>{this.selectedMember=o[0],this.expirationAtt=this.selectedMember.memberAttributes.find(a=>"groupMembershipExpiration"===a.baseFriendlyName),this.expirationAtt?(this.groupMembershipDataSource=new c.by(["Status","Expiration"]),this.expiration=this.expirationAtt.value?this.expirationAtt.value:this.translate.instant("MEMBER_DETAIL.OVERVIEW.NEVER_EXPIRES")):this.groupMembershipDataSource=new c.by(["Status"]),this.loading=!1})}changeExpiration(e=!1){const o=(0,T.kZ)();o.width="400px",o.data={memberId:this.member.id,groupId:this.selectedGroup.id,expirationAttr:this.expirationAtt,status:this.selectedMember.groupStatus,statusChanged:e},this.dialog.open(L.u3,o).afterClosed().subscribe(s=>{s&&this.groupIsSelected(this.selectedGroup)})}changeStatus(){const e=(0,T.kZ)();e.width="600px",e.data={member:this.selectedMember,voId:this.vo.id,groupId:this.selectedGroup.id},this.dialog.open(L.pf,e).afterClosed().subscribe(a=>{a&&(this.selectedMember=a,this.changeExpiration(!0))})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.ff),t.Y36(u.x4),t.Y36(_.sK),t.Y36(p.uw))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-member-overview-groups"]],inputs:{vo:"vo",member:"member"},features:[t.TTD],decls:11,vars:7,consts:[[1,"mat-elevation-z3","groups-card","mt-4"],[1,"page-subtitle"],[1,"column-center"],[3,"groups","firstSelectedGroup","groupSelected",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[3,"groups","firstSelectedGroup","groupSelected"],[1,"mr-auto","ml-auto"],["alert_type","warn"],["mat-table","",1,"ml-auto","mr-auto",3,"dataSource"],["matColumnDef","attName"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","attValue"],["class","column-center","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],[1,"vert-top"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["mat-row",""]],template:function(e,o){1&e&&(t.TgZ(0,"mat-card",0),t.TgZ(1,"mat-card-header"),t.TgZ(2,"mat-card-title"),t.TgZ(3,"h1",1),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(6,"mat-card-content",2),t.YNc(7,he,1,2,"perun-web-apps-group-search-select",3),t.YNc(8,Te,1,0,"mat-spinner",4),t.YNc(9,Ae,3,3,"app-alert",5),t.YNc(10,Ne,9,2,"div",6),t.qZA(),t.qZA()),2&e&&(t.xp6(4),t.Oqu(t.lcZ(5,5,"MEMBER_DETAIL.OVERVIEW.GROUP_MEMBERSHIP")),t.xp6(3),t.Q6J("ngIf",!o.initLoading),t.xp6(1),t.Q6J("ngIf",(o.loading||o.initLoading)&&!o.noGroups),t.xp6(1),t.Q6J("ngIf",o.noGroups),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[Z.a8,Z.dk,Z.n5,Z.dn,h.O5,lt.h,f.$g,U.w,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,I.lW,M.Hw,c.nj,c.Gk],pipes:[_.X$,_e.u,me.f,ge.r,ct.M],styles:[".groups-card[_ngcontent-%COMP%]{max-width:400px}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}.vert-center[_ngcontent-%COMP%]{vertical-align:middle!important}"]}),i})(),Re=(()=>{class i{transform(e){return(0,T.Cz)(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=t.Yjl({name:"attributeFriendlyName",type:i,pure:!0}),i})();var $=l(31359);function De(i,n){1&i&&t._UZ(0,"mat-spinner",2)}function Le(i,n){1&i&&t._UZ(0,"th",17)}function Me(i,n){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit,o=t.oxw(2);t.xp6(1),t.hij(" ",o.attributes.get(e)[0],": ")}}function Pe(i,n){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"attributeFriendlyName"),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,e),": ")}}function Ue(i,n){if(1&i&&(t.TgZ(0,"td",18),t.YNc(1,Me,2,1,"span",1),t.YNc(2,Pe,3,3,"span",1),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(2);t.xp6(1),t.Q6J("ngIf",null!==o.attributes.get(e)[0]),t.xp6(1),t.Q6J("ngIf",null===o.attributes.get(e)[0])}}function Ge(i,n){1&i&&t._UZ(0,"th",17)}function we(i,n){if(1&i&&(t.TgZ(0,"td",19),t._uU(1),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(2);t.xp6(1),t.hij(" ",o.attributes.get(e)[1]," ")}}function ye(i,n){1&i&&t._UZ(0,"tr",20)}function qe(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"mat-card",5),t.TgZ(1,"mat-card-header"),t.TgZ(2,"mat-card-title"),t.TgZ(3,"h1",6),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(6,"mat-card-content",21),t.TgZ(7,"div",22),t.ALo(8,"translate"),t.TgZ(9,"button",23),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).requestPwdReset()}),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(2);t.xp6(4),t.Oqu(t.lcZ(5,5,"MEMBER_DETAIL.OVERVIEW.RESET_PASSWORD")),t.xp6(3),t.Q6J("matTooltip",t.lcZ(8,7,"MEMBER_DETAIL.OVERVIEW.RESET_DISABLED"))("matTooltipDisabled",e.logins.length>0),t.xp6(2),t.Q6J("disabled",!e.logins.length),t.xp6(1),t.hij(" ",t.lcZ(11,9,"MEMBER_DETAIL.OVERVIEW.SEND_REQUEST")," ")}}function Fe(i,n){1&i&&(t.TgZ(0,"th",17),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.SPONSOR_NAME")," "))}function Ve(i,n){if(1&i&&(t.TgZ(0,"td",33),t._uU(1),t.ALo(2,"userFullName"),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,e.user)," ")}}function Ye(i,n){1&i&&(t.TgZ(0,"th",17),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.EXPIRATION_TABLE")," "))}function Je(i,n){if(1&i&&(t.TgZ(0,"td",33),t.TgZ(1,"span",34),t._uU(2),t.ALo(3,"parseDate"),t.qZA(),t.qZA()),2&i){const e=n.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,e.validityTo))}}function Qe(i,n){1&i&&t._UZ(0,"tr",35)}function ke(i,n){1&i&&t._UZ(0,"tr",20)}const pt=function(){return["sponsors","expiration"]};function Be(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"mat-card-content"),t.TgZ(1,"h6",26),t._uU(2),t.ALo(3,"translate"),t.TgZ(4,"button",27),t.NdJ("click",function(){return t.CHM(e),t.oxw(3).changeSponsors()}),t.TgZ(5,"mat-icon"),t._uU(6,"edit"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(7,"table",28),t.ynx(8,29),t.YNc(9,Fe,3,3,"th",9),t.YNc(10,Ve,3,3,"td",30),t.BQk(),t.ynx(11,31),t.YNc(12,Ye,3,3,"th",9),t.YNc(13,Je,4,3,"td",30),t.BQk(),t.YNc(14,Qe,1,0,"tr",32),t.YNc(15,ke,1,0,"tr",13),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(3);t.xp6(2),t.hij(" ",t.lcZ(3,4,"MEMBER_DETAIL.OVERVIEW.SPONSORS"),": "),t.xp6(5),t.Q6J("dataSource",e.sponsorsDataSource),t.xp6(7),t.Q6J("matHeaderRowDef",t.DdM(6,pt)),t.xp6(1),t.Q6J("matRowDefColumns",t.DdM(7,pt))}}function je(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"mat-card",24),t.TgZ(2,"mat-card-header"),t.TgZ(3,"mat-card-title"),t.TgZ(4,"h1",6),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.TgZ(7,"mat-card-subtitle",25),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.qZA(),t.YNc(10,Be,16,8,"mat-card-content",1),t.qZA(),t.qZA()),2&i){const e=t.oxw(2);t.xp6(5),t.Oqu(t.lcZ(6,3,"MEMBER_DETAIL.OVERVIEW.SPONSORSHIP")),t.xp6(3),t.hij(" ",t.lcZ(9,5,"MEMBER_DETAIL.OVERVIEW.SPONSORED_BY")," "),t.xp6(2),t.Q6J("ngIf",0!==e.sponsors.length)}}function He(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"div",3),t.TgZ(2,"div",4),t.TgZ(3,"mat-card",5),t.TgZ(4,"mat-card-header"),t.TgZ(5,"mat-card-title"),t.TgZ(6,"h1",6),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(9,"mat-card-content"),t.TgZ(10,"table",7),t.ynx(11,8),t.YNc(12,Le,1,0,"th",9),t.YNc(13,Ue,3,2,"td",10),t.BQk(),t.ynx(14,11),t.YNc(15,Ge,1,0,"th",9),t.YNc(16,we,2,1,"td",12),t.BQk(),t.YNc(17,ye,1,0,"tr",13),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(18,"div",4),t._UZ(19,"app-member-overview-membership",14),t._UZ(20,"app-member-overview-groups",14),t.qZA(),t.TgZ(21,"div",4),t.YNc(22,qe,12,11,"mat-card",15),t.YNc(23,je,11,7,"div",1),t.qZA(),t.qZA(),t.TgZ(24,"div"),t._UZ(25,"perun-web-apps-menu-buttons-field",16),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(7),t.Oqu(t.lcZ(8,11,"MEMBER_DETAIL.OVERVIEW.PERSONAL")),t.xp6(3),t.Q6J("dataSource",e.dataSource),t.xp6(7),t.Q6J("matRowDefColumns",e.displayedColumns),t.xp6(2),t.Q6J("member",e.member)("vo",e.vo),t.xp6(1),t.Q6J("member",e.member)("vo",e.vo),t.xp6(2),t.Q6J("ngIf",e.pwdResetAuth),t.xp6(1),t.Q6J("ngIf",e.member.sponsored),t.xp6(2),t.Q6J("items",e.navItems)("size","small")}}let $e=(()=>{class i{constructor(e,o,a,s,r,d,A){this.attributesManager=e,this.membersService=o,this.usersManager=a,this.route=s,this.dialog=r,this.authResolver=d,this.storeService=A,this.expiration="",this.logins=[],this.member=null,this.navItems=[],this.attributeNames=[],this.attributes=new Map,this.dataSource=new c.by,this.displayedColumns=["attName","attValue"],this.sponsors=[],this.sponsorsDataSource=new c.by,this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(e=>{const o=e.memberId;this.attributeNames=this.storeService.getMemberProfileAttributeNames(),this.membersService.getRichMemberWithAttributes(o).subscribe(a=>{const s=this.storeService.get("password_namespace_attributes").map(r=>(r=r.split(":"))[r.length-1]);this.attributesManager.getLogins(a.userId).subscribe(r=>{this.logins=r.filter(d=>s.includes(d.friendlyNameParameter)),this.member=a,this.initAttributes(),this.dataSource=new c.by(Array.from(this.attributes.keys())),this.vo={id:a.voId,beanName:"Vo"},this.pwdResetAuth=this.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[this.vo,this.member]),this.member.sponsored&&this.authResolver.isAuthorized("getSponsorsForMember_Member_List_policy",[this.member])?this.usersManager.getSponsorsForMember(this.member.id,null).subscribe(d=>{this.sponsors=d,this.sponsorsDataSource=new c.by(this.sponsors),this.initNavItems(),this.refreshData()}):(this.initNavItems(),this.refreshData())},()=>this.loading=!1)})})}initAttributes(){this.attributeNames.forEach(e=>{this.attributes.set(e,[null,"-"])}),this.filterAttributes()}filterAttributes(){null!==this.member.memberAttributes&&this.member.memberAttributes.forEach(e=>{this.attributeNames.includes(e.friendlyName)&&this.attributes.set(e.friendlyName,[e.displayName,e.value.toString()])}),null!==this.member.userAttributes&&this.member.userAttributes.forEach(e=>{this.attributeNames.includes(e.friendlyName)&&this.attributes.set(e.friendlyName,[e.displayName,e.value.toString()])})}initNavItems(){this.navItems=[],this.authResolver.isAuthorized("getMemberGroups_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-group",url:`/organizations/${this.member.voId}/members/${this.member.id}/groups`,label:"MENU_ITEMS.MEMBER.GROUPS",style:"member-btn"}),this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-applications",url:`/organizations/${this.member.voId}/members/${this.member.id}/applications`,label:"MENU_ITEMS.MEMBER.APPLICATIONS",style:"member-btn"}),this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-resource",url:`/organizations/${this.member.voId}/members/${this.member.id}/resources`,label:"MENU_ITEMS.MEMBER.RESOURCES",style:"member-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/organizations/${this.vo.id}/members/${this.member.id}/attributes`,label:"MENU_ITEMS.MEMBER.ATTRIBUTES",style:"member-btn"})}refreshData(){this.loading=!0,this.membersService.getRichMemberWithAttributes(this.member.id).subscribe(e=>{this.member=e,this.loading=!1},()=>this.loading=!1)}requestPwdReset(){const e=(0,T.kZ)();e.width="400px",e.data={userId:this.member.userId,memberId:this.member.id,logins:this.logins},this.dialog.open(pe.m,e)}changeSponsors(){const e=(0,T.kZ)();e.width="650px",e.data={sponsors:this.sponsors,member:this.member,theme:"member-theme"},this.dialog.open(ue.H,e).afterClosed().subscribe(a=>{a&&(this.loading=!0,this.membersService.getRichMemberWithAttributes(this.member.id).subscribe(s=>{this.member=s,this.member.sponsored&&this.usersManager.getSponsorsForMember(this.member.id,null).subscribe(r=>{this.sponsors=r,this.sponsorsDataSource.data=this.sponsors}),this.loading=!1}))})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.H8),t.Y36(g.uq),t.Y36(g.Fv),t.Y36(E.gz),t.Y36(p.uw),t.Y36(u.x4),t.Y36(u.d6))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-member-overview"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"member-cards"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"page-subtitle"],["mat-table","",3,"dataSource"],["matColumnDef","attName"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","attValue"],["class","column-center","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"member","vo"],["class","mat-elevation-z3",4,"ngIf"],[3,"items","size"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],["mat-row",""],[1,"column-center"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"action-button",3,"disabled","click"],[1,"mat-elevation-z3","mt-4"],[1,"mt-n3"],[1,"d-flex"],["mat-icon-button","",1,"ml-auto","mt-n2",3,"click"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","sponsors"],["mat-cell","",4,"matCellDef"],["matColumnDef","expiration"],["mat-header-row","",4,"matHeaderRowDef"],["mat-cell",""],[1,"font-italic"],["mat-header-row",""]],template:function(e,o){1&e&&(t.YNc(0,De,1,0,"mat-spinner",0),t.YNc(1,He,26,13,"div",1)),2&e&&(t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,Z.a8,Z.dk,Z.n5,Z.dn,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.nj,c.Gk,de.b,Oe,N.gM,I.lW,Z.$j,M.Hw,c.as,c.XQ,V.L],pipes:[_.X$,Re,$.d,ct.M],styles:[".vert-center[_ngcontent-%COMP%]{vertical-align:inherit!important}.vert-top[_ngcontent-%COMP%]{vertical-align:top}.column-center[_ngcontent-%COMP%]{text-align:center}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}.member-cards[_ngcontent-%COMP%]{margin:0 -1rem}"]}),i})();var ze=l(85243);function Xe(i,n){1&i&&t._UZ(0,"mat-spinner",2)}const We=function(i,n){return["/organizations",i,"groups",n]};function Ke(i,n){if(1&i&&(t.TgZ(0,"p"),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"a",4),t._uU(4),t.qZA(),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.hij(" ",t.lcZ(2,3,"GROUP_DETAIL.SUBGROUP_INFO")," "),t.xp6(2),t.Q6J("routerLink",t.WLB(5,We,e.parentGroup.voId,e.parentGroup.id)),t.xp6(1),t.hij(" ",e.parentGroup.name," ")}}function ti(i,n){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,Ke,5,8,"p",1),t._UZ(2,"perun-web-apps-menu-buttons-field",3),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",null!==e.parentGroup),t.xp6(1),t.Q6J("items",e.navItems)("size","small")}}let ei=(()=>{class i{constructor(e,o,a,s,r,d,A,v){this.route=e,this.groupService=o,this.voService=a,this.guiAuthResolver=s,this.apiRequest=r,this.attributesManager=d,this.notificator=A,this.entityStorageService=v,this.navItems=[],this.parentGroup=null,this.loading=!1}ngOnInit(){this.loading=!0,this.loadData()}loadData(){this.loading=!0,this.route.params.subscribe(e=>{const a=e.groupId;this.voService.getVoById(e.voId).subscribe(s=>{this.groupService.getGroupById(a).subscribe(r=>{if(this.group=r,this.entityStorageService.setEntity({id:r.id,voId:s.id,parentGroupId:r.parentGroupId,beanName:r.beanName}),(0,T.sF)("groups",this.group),(0,T.XI)(this.group,s.name),this.loadParentGroupData(this.group.parentGroupId),null==this.group.parentGroupId)return this.parentGroup=null,this.initNavItems(),void(this.loading=!1);this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)})}loadParentGroupData(e){null!=e&&this.groupService.getGroupById(e).subscribe(o=>{this.parentGroup=o,this.initNavItems(),this.loading=!1},()=>this.loading=!1)}initNavItems(){this.navItems=[],this.guiAuthResolver.isAuthorized("getCompleteRichMembers_Group_List_boolean_policy",[this.group])&&this.navItems.push({cssIcon:"perun-user",url:`/organizations/${this.group.voId}/groups/${this.group.id}/members`,label:"MENU_ITEMS.GROUP.MEMBERS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[this.group])&&"members"!==this.group.name&&this.navItems.push({cssIcon:"perun-group",url:`/organizations/${this.group.voId}/groups/${this.group.id}/subgroups`,label:"MENU_ITEMS.GROUP.SUBGROUPS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getAssignedRichResources_Group_policy",[this.group])&&this.navItems.push({cssIcon:"perun-manage-facility",url:`/organizations/${this.group.voId}/groups/${this.group.id}/resources`,label:"MENU_ITEMS.GROUP.RESOURCES",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[this.group])&&this.navItems.push({cssIcon:"perun-applications",url:`/organizations/${this.group.voId}/groups/${this.group.id}/applications`,label:"MENU_ITEMS.GROUP.APPLICATIONS",style:"group-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/organizations/${this.group.voId}/groups/${this.group.id}/attributes`,label:"MENU_ITEMS.GROUP.ATTRIBUTES",style:"group-btn"});const e=this.guiAuthResolver.isAuthorized("getGroupMembersCount_Group_policy",[this.group]),o=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[this.group]),a=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[this.group]);e&&a&&o&&this.navItems.push({cssIcon:"perun-statistics",url:`/organizations/${this.group.voId}/groups/${this.group.id}/statistics`,label:"MENU_ITEMS.GROUP.STATISTICS",style:"group-btn"});let s=!1;this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(this.group.id,S.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{s=!0},D=>{"HttpErrorResponse"!==D.name&&this.notificator.showRPCError(D)});const r=this.guiAuthResolver.isManagerPagePrivileged(this.group),d=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),A=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),v=this.guiAuthResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[this.group]);(s||r||d||A||v)&&this.navItems.push({cssIcon:"perun-settings2",url:`/organizations/${this.group.voId}/groups/${this.group.id}/settings`,label:"MENU_ITEMS.GROUP.SETTINGS",style:"group-btn"})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(E.gz),t.Y36(g.ff),t.Y36(g.YF),t.Y36(u.x4),t.Y36(u.F5),t.Y36(g.H8),t.Y36(u.V6),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-overview"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"],["queryParamsHandling","merge",1,"group-link",3,"routerLink"]],template:function(e,o){1&e&&(t.YNc(0,Xe,1,0,"mat-spinner",0),t.YNc(1,ti,3,3,"div",1)),2&e&&(t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,E.yS,V.L],pipes:[_.X$],styles:[""]}),i})();var ii=l(15592);let oi=(()=>{class i{constructor(e){this.route=e}ngOnInit(){this.route.parent.params.subscribe(e=>{this.voId=e.voId})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(E.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-resources"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:1,vars:0,template:function(e,o){1&e&&t._UZ(0,"app-animated-router-outlet")},directives:[F.A],styles:[""],data:{animation:[O.Ji]}}),i})();var ni=l(94856);let ai=(()=>{class i{constructor(e,o){this.route=e,this.router=o,this.backButtonRegex=new RegExp("/organizations/\\d+/settings/\\w+$"),this.backButtonDisplayed=!1,this.currentUrl=o.url,this.backButtonDisplayed=this.backButtonRegex.test(this.currentUrl),o.events.subscribe(a=>{a instanceof E.m2&&(this.currentUrl=a.url,this.backButtonDisplayed=this.backButtonRegex.test(this.currentUrl))})}ngOnInit(){this.route.parent.params.subscribe(e=>{this.voId=e.voId})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(E.gz),t.Y36(E.F0))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-settings"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:1,vars:0,template:function(e,o){1&e&&t._UZ(0,"app-animated-router-outlet")},directives:[F.A],styles:[""],data:{animation:[O.Ji]}}),i})();var z=l(12651);let si=(()=>{class i{constructor(e){this.entityStorageService=e}ngOnInit(){this.vo=this.entityStorageService.getEntity()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-attributes"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"entityId","entity"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t._UZ(4,"app-one-entity-attribute-page",1),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,3,"VO_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),t.xp6(2),t.Q6J("entityId",o.vo.id)("entity","vo"))},directives:[z.t],pipes:[_.X$],styles:[""]}),i})();function ri(i,n){1&i&&t._UZ(0,"mat-spinner",2)}function li(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",3),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("items",e.items)("size","small")}}let ci=(()=>{class i{constructor(e,o,a,s,r){this.sideMenuService=e,this.voService=o,this.authResolver=a,this.router=s,this.entityStorageService=r,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.initItems(),this.loading=!1}initItems(){this.items=[];const e=this.authResolver.isThisVoAdminOrObserver(this.vo.id);e&&this.items.push({cssIcon:"perun-group",url:`/organizations/${this.vo.id}/settings/expiration`,label:"MENU_ITEMS.VO.EXPIRATION",style:"vo-btn"}),this.authResolver.isManagerPagePrivileged(this.vo)&&this.items.push({cssIcon:"perun-manager",url:`/organizations/${this.vo.id}/settings/managers`,label:"MENU_ITEMS.VO.MANAGERS",style:"vo-btn"}),e&&this.items.push({cssIcon:"perun-application-form",url:`/organizations/${this.vo.id}/settings/applicationForm`,label:"MENU_ITEMS.VO.APPLICATION_FORM",style:"vo-btn"}),e&&this.items.push({cssIcon:"perun-notification",url:`/organizations/${this.vo.id}/settings/notifications`,label:"MENU_ITEMS.VO.NOTIFICATIONS",style:"vo-btn"}),this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-external-sources",url:`/organizations/${this.vo.id}/settings/extsources`,label:"MENU_ITEMS.VO.EXTSOURCES",style:"vo-btn"})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(y.D),t.Y36(g.YF),t.Y36(u.x4),t.Y36(E.F0),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-settings-overview"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,o){1&e&&(t.YNc(0,ri,1,0,"mat-spinner",0),t.YNc(1,li,2,2,"div",1)),2&e&&(t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,V.L],styles:[""]}),i})();var X=l(32368),m=l(93075),k=l(79814),b=l(67322),G=l(98833),Y=l(74107),J=l(90508);const pi=["*"];let ui=(()=>{class i{constructor(){this.modelChange=new t.vpe}get model(){return this.modelValue}set model(e){this.modelValue=e}ngAfterViewInit(){this.toggle.change.subscribe(()=>this.valueChanged())}valueChanged(){this.modelChange.emit(this.toggle.checked)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-settings-toggle-item"]],viewQuery:function(e,o){if(1&e&&t.Gf(X.Rr,7),2&e){let a;t.iGM(a=t.CRH())&&(o.toggle=a.first)}},inputs:{title:"title",model:"model"},outputs:{modelChange:"modelChange"},ngContentSelectors:pi,decls:8,vars:5,consts:[[1,"mt-3"],[1,"d-flex","flex-row","align-items-baseline","justify-content-between"],[1,"setting-item","clickable",3,"click"],["color","primary",1,"ml-4",3,"ngModel","ngModelChange"],["toggle",""],[1,"ml-1"]],template:function(e,o){if(1&e){const a=t.EpF();t.F$t(),t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"label",2),t.NdJ("click",function(){return t.CHM(a),t.MAs(5).toggle()||o.valueChanged()}),t._uU(3),t.qZA(),t.TgZ(4,"mat-slide-toggle",3,4),t.NdJ("ngModelChange",function(r){return o.modelValue=r}),t.qZA(),t.qZA(),t.TgZ(6,"div",5),t.Hsn(7),t.qZA(),t.qZA()}if(2&e){const a=t.MAs(5);t.xp6(2),t.ekj("unselected-setting",!a.checked),t.xp6(1),t.hij(" ",o.title," "),t.xp6(1),t.Q6J("ngModel",o.modelValue),t.xp6(2),t.Q6J("@openClose",a.checked?"open":"closed")}},directives:[X.Rr,m.JJ,m.On],styles:[""],data:{animation:[O.BQ]}}),i})();var B=l(77446);function di(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",25),t.TgZ(1,"mat-form-field",26),t.TgZ(2,"input",20),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).currentConfiguration.periodStatic=a}),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-hint"),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(2);t.xp6(2),t.s9C("pattern",e.datePattern),t.s9C("placeholder",t.lcZ(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),t.Q6J("ngModel",e.currentConfiguration.periodStatic),t.xp6(3),t.Oqu(t.lcZ(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function _i(i,n){if(1&i&&(t.TgZ(0,"mat-option",27),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e.value),t.xp6(1),t.Oqu(e.text)}}function mi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",18),t.TgZ(1,"mat-form-field",19),t.TgZ(2,"input",20),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).currentConfiguration.periodDynamic=a}),t.ALo(3,"translate"),t.qZA(),t.qZA(),t.TgZ(4,"mat-form-field"),t.TgZ(5,"mat-label"),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"mat-select",8),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).currentConfiguration.periodDynamicUnit=a}),t.YNc(9,_i,2,2,"mat-option",17),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(2);t.xp6(2),t.s9C("pattern",e.dynamicAmountPattern),t.s9C("placeholder",t.lcZ(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),t.Q6J("ngModel",e.currentConfiguration.periodDynamic),t.xp6(4),t.Oqu(t.lcZ(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),t.xp6(2),t.Q6J("ngModel",e.currentConfiguration.periodDynamicUnit),t.xp6(1),t.Q6J("ngForOf",e.amountOptions)}}function gi(i,n){if(1&i&&(t.TgZ(0,"mat-option",27),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function hi(i,n){if(1&i&&(t.TgZ(0,"mat-option",27),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function Ti(i,n){if(1&i&&(t.TgZ(0,"mat-option",27),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e.value),t.xp6(1),t.Oqu(e.text)}}function Ai(i,n){if(1&i&&(t.TgZ(0,"mat-option",27),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e," ")}}function fi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",25),t.TgZ(1,"mat-form-field",26),t.TgZ(2,"input",20),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(3).currentConfiguration.specialLoaPeriodStatic=a}),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-hint"),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(3);t.xp6(2),t.s9C("pattern",e.datePattern),t.s9C("placeholder",t.lcZ(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),t.Q6J("ngModel",e.currentConfiguration.specialLoaPeriodStatic),t.xp6(3),t.Oqu(t.lcZ(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function Ii(i,n){if(1&i&&(t.TgZ(0,"mat-option",27),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e.value),t.xp6(1),t.Oqu(e.text)}}function Ei(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",18),t.TgZ(1,"mat-form-field",19),t.TgZ(2,"input",20),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(3).currentConfiguration.specialLoaPeriodDynamic=a}),t.ALo(3,"translate"),t.qZA(),t.qZA(),t.TgZ(4,"mat-form-field"),t.TgZ(5,"mat-label"),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"mat-select",8),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(3).currentConfiguration.specialLoaPeriodDynamicUnit=a}),t.YNc(9,Ii,2,2,"mat-option",17),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(3);t.xp6(2),t.s9C("pattern",e.dynamicAmountPattern),t.s9C("placeholder",t.lcZ(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),t.Q6J("ngModel",e.currentConfiguration.specialLoaPeriodDynamic),t.xp6(4),t.Oqu(t.lcZ(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),t.xp6(2),t.Q6J("ngModel",e.currentConfiguration.specialLoaPeriodDynamicUnit),t.xp6(1),t.Q6J("ngForOf",e.amountOptions)}}function vi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",28),t.TgZ(1,"mat-radio-group",8),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).currentConfiguration.specialLoaPeriodType=a}),t.TgZ(2,"mat-radio-button",9,29),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"mat-radio-button",11,30),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.qZA(),t.YNc(10,fi,7,8,"div",13),t.YNc(11,Ei,10,10,"div",14),t.TgZ(12,"div"),t.TgZ(13,"mat-checkbox",31),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).currentConfiguration.specialLoaPeriodExtendExpiredMembers=a}),t._uU(14),t.ALo(15,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.MAs(3),o=t.MAs(7),a=t.oxw(2);t.xp6(1),t.Q6J("ngModel",a.currentConfiguration.specialLoaPeriodType),t.xp6(3),t.hij(" ",t.lcZ(5,7,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),t.xp6(4),t.hij(" ",t.lcZ(9,9,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),t.xp6(2),t.Q6J("ngIf",e.checked),t.xp6(1),t.Q6J("ngIf",o.checked),t.xp6(2),t.Q6J("ngModel",a.currentConfiguration.specialLoaPeriodExtendExpiredMembers),t.xp6(1),t.hij(" ",t.lcZ(15,11,"VO_MANAGEMENT.SETTINGS.EXPIRATION.EXTEND_EXPIRED_MEMBERS_CHECKBOX")," ")}}function bi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",1),t.TgZ(1,"div",2),t.TgZ(2,"h1",3),t.NdJ("click",function(){return t.CHM(e),t.MAs(6).toggle()}),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"mat-slide-toggle",4,5),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.enabled=a}),t.qZA(),t.qZA(),t.TgZ(7,"div"),t.TgZ(8,"label",6),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"div",7),t.TgZ(12,"mat-radio-group",8),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.periodType=a}),t.TgZ(13,"mat-radio-button",9,10),t._uU(15),t.ALo(16,"translate"),t.qZA(),t.TgZ(17,"mat-radio-button",11,12),t._uU(19),t.ALo(20,"translate"),t.qZA(),t.qZA(),t.YNc(21,di,7,8,"div",13),t.YNc(22,mi,10,10,"div",14),t.qZA(),t.TgZ(23,"app-settings-toggle-item",15),t.NdJ("modelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.doNotAllowLoasEnabled=a}),t.ALo(24,"translate"),t.TgZ(25,"mat-form-field"),t.TgZ(26,"mat-placeholder"),t._uU(27),t.ALo(28,"translate"),t.qZA(),t.TgZ(29,"mat-select",16),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.doNotAllowLoas=a}),t.YNc(30,gi,2,2,"mat-option",17),t.qZA(),t.qZA(),t.qZA(),t.TgZ(31,"app-settings-toggle-item",15),t.NdJ("modelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.doNotExtendLoasEnabled=a}),t.ALo(32,"translate"),t.TgZ(33,"mat-form-field"),t.TgZ(34,"mat-placeholder"),t._uU(35),t.ALo(36,"translate"),t.qZA(),t.TgZ(37,"mat-select",16),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.doNotExtendLoas=a}),t.YNc(38,hi,2,2,"mat-option",17),t.qZA(),t.qZA(),t.qZA(),t.TgZ(39,"app-settings-toggle-item",15),t.NdJ("modelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.gracePeriodEnabled=a}),t.ALo(40,"translate"),t.TgZ(41,"div",18),t.TgZ(42,"mat-form-field",19),t.TgZ(43,"input",20),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.gracePeriod=a}),t.ALo(44,"translate"),t.qZA(),t.qZA(),t.TgZ(45,"mat-form-field"),t.TgZ(46,"mat-label"),t._uU(47),t.ALo(48,"translate"),t.qZA(),t.TgZ(49,"mat-select",8),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.gracePeriodUnit=a}),t.YNc(50,Ti,2,2,"mat-option",17),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(51,"app-settings-toggle-item",15),t.NdJ("modelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.specialLoaPeriodEnabled=a}),t.ALo(52,"translate"),t.TgZ(53,"div",7),t.TgZ(54,"div"),t.TgZ(55,"mat-form-field"),t.TgZ(56,"mat-label"),t._uU(57),t.ALo(58,"translate"),t.qZA(),t.TgZ(59,"mat-select",8,21),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().currentConfiguration.specialLoa=a}),t.YNc(61,Ai,2,2,"mat-option",17),t.qZA(),t.qZA(),t.YNc(62,vi,16,13,"div",22),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(63,"div",23),t.ALo(64,"translate"),t.TgZ(65,"button",24),t.NdJ("click",function(){return t.CHM(e),t.oxw().saveChanges()}),t._uU(66),t.ALo(67,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.MAs(6),o=t.MAs(14),a=t.MAs(18),s=t.oxw();t.xp6(2),t.ekj("unselected-setting",!e.checked),t.xp6(1),t.hij(" ",t.lcZ(4,40,"VO_MANAGEMENT.SETTINGS.EXPIRATION.TITLE")," "),t.xp6(2),t.Q6J("ngModel",s.currentConfiguration.enabled),t.xp6(2),t.Q6J("@openClose",e.checked?"open":"closed"),t.xp6(2),t.Oqu(t.lcZ(10,42,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_LABEL")),t.xp6(3),t.Q6J("ngModel",s.currentConfiguration.periodType),t.xp6(3),t.hij(" ",t.lcZ(16,44,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),t.xp6(4),t.hij(" ",t.lcZ(20,46,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),t.xp6(2),t.Q6J("ngIf",o.checked),t.xp6(1),t.Q6J("ngIf",a.checked),t.xp6(1),t.Q6J("model",s.currentConfiguration.doNotAllowLoasEnabled)("title",t.lcZ(24,48,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_LABEL")),t.xp6(4),t.Oqu(t.lcZ(28,50,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_SELECT")),t.xp6(2),t.Q6J("ngModel",s.currentConfiguration.doNotAllowLoas),t.xp6(1),t.Q6J("ngForOf",s.loas),t.xp6(1),t.Q6J("model",s.currentConfiguration.doNotExtendLoasEnabled)("title",t.lcZ(32,52,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_LABEL")),t.xp6(4),t.Oqu(t.lcZ(36,54,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_SELECT")),t.xp6(2),t.Q6J("ngModel",s.currentConfiguration.doNotExtendLoas),t.xp6(1),t.Q6J("ngForOf",s.loas),t.xp6(1),t.Q6J("model",s.currentConfiguration.gracePeriodEnabled)("title",t.lcZ(40,56,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_PERIOD_LABEL")),t.xp6(4),t.s9C("pattern",s.dynamicAmountPattern),t.s9C("placeholder",t.lcZ(44,58,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_VALUE")),t.Q6J("ngModel",s.currentConfiguration.gracePeriod),t.xp6(4),t.Oqu(t.lcZ(48,60,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_TYPE")),t.xp6(2),t.Q6J("ngModel",s.currentConfiguration.gracePeriodUnit),t.xp6(1),t.Q6J("ngForOf",s.amountOptions),t.xp6(1),t.Q6J("model",s.currentConfiguration.specialLoaPeriodEnabled)("title",t.lcZ(52,62,"VO_MANAGEMENT.SETTINGS.EXPIRATION.LOA_PERIOD_LABEL")),t.xp6(6),t.Oqu(t.lcZ(58,64,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SPECIAL_LOA_SELECT")),t.xp6(2),t.Q6J("ngModel",s.currentConfiguration.specialLoa),t.xp6(2),t.Q6J("ngForOf",s.loas),t.xp6(1),t.Q6J("ngIf",null!==s.currentConfiguration.specialLoa),t.xp6(1),t.s9C("matTooltip",t.lcZ(64,66,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERMISSION_DENIED_HINT")),t.Q6J("matTooltipDisabled",s.expirationAttribute.writable)("matTooltipPosition","above"),t.xp6(2),t.Q6J("disabled",!s.areChangesMade()||!s.expirationAttribute.writable),t.xp6(1),t.hij(" ",t.lcZ(67,68,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SAVE")," ")}}let ut=(()=>{class i{constructor(){this.saveAttribute=new t.vpe,this.loas=[0,1,2],this.datePattern="^(3[01]|[12][0-9]|0?[1-9])\\.(1[012]|0?[1-9])\\.$",this.dynamicAmountPattern="^[1-9]+$",this.amountOptions=[{value:"d",text:"Days"},{value:"m",text:"Months"},{value:"y",text:"Years"}]}ngOnInit(){const e=new Map;this.loas.forEach(o=>e.set(o,"")),this.initialConfiguration=this.unParseAttrValue(this.expirationAttribute.value),this.currentConfiguration=this.unParseAttrValue(this.expirationAttribute.value)}ngOnChanges(e){e.expirationAttribute&&(this.initialConfiguration=this.unParseAttrValue(this.expirationAttribute.value))}saveChanges(){this.saveAttribute.emit(this.parseExpirationRulesAttribute())}areChangesMade(){const e=this.parseAttributeValueFromConfig(this.currentConfiguration),o=this.parseAttributeValueFromConfig(this.initialConfiguration);return null===o?null!==e:null===e||e.period!==o.period||e.gracePeriod!==o.gracePeriod||e.doNotExtendLoa!==o.doNotExtendLoa||e.doNotAllowLoa!==o.doNotAllowLoa||e.periodLoa!==o.periodLoa}parseExpirationRulesAttribute(){return this.expirationAttribute.value=this.parseAttributeValueFromConfig(this.currentConfiguration),this.expirationAttribute}parsePeriod(e){switch(e.periodType){case"dynamic":return this.parseDynamicPeriod(e);case"static":return this.parseStaticPeriod(e)}}createInitConfiguration(){const e=new Map;return this.loas.forEach(o=>e.set(o,"")),{enabled:!1,periodType:null,periodStatic:"",periodDynamic:"",periodDynamicUnit:"m",doNotAllowLoas:[],doNotAllowLoasEnabled:!1,doNotExtendLoas:[],doNotExtendLoasEnabled:!1,gracePeriodEnabled:!1,gracePeriod:null,gracePeriodUnit:null,specialLoaPeriodEnabled:!1,specialLoaPeriod:"",specialLoa:null,specialLoaPeriodType:null,specialLoaPeriodDynamic:"",specialLoaPeriodDynamicUnit:"m",specialLoaPeriodStatic:"",specialLoaPeriodExtendExpiredMembers:!1}}unParseAttrValue(e){let o=this.createInitConfiguration();return null==e||(void 0!==e.period&&e.period.length>0&&(o=this.setPeriodValues(e,o)),void 0!==e.doNotAllowLoa&&e.doNotAllowLoa.length>0&&(o=this.setDoNotAllowLoasValues(e,o)),void 0!==e.doNotExtendLoa&&e.doNotExtendLoa.length>0&&(o=this.setDoNotExtendLoasValues(e,o)),void 0!==e.gracePeriod&&e.gracePeriod.length>0&&(o=this.setGracePeriodValues(e,o)),void 0!==e.periodLoa&&e.periodLoa.length>0&&(o=this.setSpecialLoaPeriodValues(e,o))),o}setPeriodValues(e,o){if(o.enabled=!0,e.period.startsWith("+")){o.periodType="dynamic";const a=e.period.charAt(e.period.length-1);o.periodDynamic=e.period.substring(1,e.period.length-1),o.periodDynamicUnit=a}else o.periodType="static",o.periodStatic=e.period;return o}setDoNotAllowLoasValues(e,o){const a=[];return e.doNotAllowLoa.split(",").forEach(s=>a.push(parseInt(s.trim(),10))),o.doNotAllowLoas=a,a.length>0&&(o.doNotAllowLoasEnabled=!0),o}setDoNotExtendLoasValues(e,o){const a=[];return e.doNotExtendLoa.split(",").forEach(s=>a.push(parseInt(s.trim(),10))),o.doNotExtendLoas=a,a.length>0&&(o.doNotExtendLoasEnabled=!0),o}setGracePeriodValues(e,o){o.gracePeriodEnabled=!0;const a=e.gracePeriod.charAt(e.gracePeriod.length-1);return o.gracePeriod=e.gracePeriod.substring(0,e.gracePeriod.length-1),o.gracePeriodUnit=a,o}setSpecialLoaPeriodValues(e,o){o.specialLoa=parseInt(e.periodLoa.substring(0,e.periodLoa.indexOf("|")),10),o.specialLoaPeriodEnabled=!0;let a=e.periodLoa.substring(e.periodLoa.indexOf("|")+1,e.periodLoa.length);if(a.startsWith("+")){a.endsWith(".")&&(o.specialLoaPeriodExtendExpiredMembers=!0,a=a.substring(0,a.length-1)),o.specialLoaPeriodType="dynamic";const s=a.charAt(a.length-1);o.specialLoaPeriodDynamic=a.substring(1,a.length-1),o.specialLoaPeriodDynamicUnit=s}else a.endsWith("..")&&(o.specialLoaPeriodExtendExpiredMembers=!0,a=a.substring(0,a.length-1)),o.specialLoaPeriodType="static",o.specialLoaPeriodStatic=a;return o}parseDynamicPeriod(e){return"+"+e.periodDynamic+e.periodDynamicUnit}parseStaticPeriod(e){return e.periodStatic}parseDontAllowLoas(e){if(!e.doNotAllowLoasEnabled)return null;let o="";return e.doNotAllowLoas.forEach(a=>o+=a+","),o.length>0&&(o=o.substring(0,o.length-1)),o.length>0?o:null}parseDontExtendLoas(e){if(!e.doNotExtendLoasEnabled)return null;let o="";return e.doNotExtendLoas.forEach(a=>o+=a+","),o.length>0&&(o=o.substring(0,o.length-1)),o.length>0?o:null}parseGracePeriod(e){return e.gracePeriodEnabled?e.gracePeriod+e.gracePeriodUnit:null}parseSpecialLoaPeriod(e){if(!e.specialLoaPeriodEnabled)return null;let o=e.specialLoa+"|";switch(e.specialLoaPeriodType){case"static":o+=this.parseSpecialLoaPeriodStatic(e);break;case"dynamic":o+=this.parseSpecialLoaPeriodDynamic(e)}return null!=o&&e.specialLoaPeriodExtendExpiredMembers&&(o+="."),o}parseSpecialLoaPeriodStatic(e){return e.specialLoaPeriodStatic}parseSpecialLoaPeriodDynamic(e){return"+"+e.specialLoaPeriodDynamic+e.specialLoaPeriodDynamicUnit}parseAttributeValueFromConfig(e){if(!e.enabled)return null;const o=this.parsePeriod(e),a=this.parseDontAllowLoas(e),s=this.parseDontExtendLoas(e),r=this.parseGracePeriod(e),d=this.parseSpecialLoaPeriod(e),A={period:o};return null!==s&&(A.doNotExtendLoa=s),null!==a&&(A.doNotAllowLoa=a),null!==r&&(A.gracePeriod=r),null!==d&&(A.periodLoa=d),A}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-expiration-settings"]],inputs:{expirationAttribute:"expirationAttribute"},outputs:{saveAttribute:"saveAttribute"},features:[t.TTD],decls:1,vars:1,consts:[["class","card settings-card col-12 col-md-12 col-xl-6",4,"ngIf"],[1,"card","settings-card","col-12","col-md-12","col-xl-6"],[1,"d-flex","flex-row","align-items-baseline","justify-content-between"],[1,"settings-header",3,"click"],["color","primary",1,"ml-4",3,"ngModel","ngModelChange"],["mainToggle",""],[1,"setting-item","pt-2"],[1,"ml-1"],[3,"ngModel","ngModelChange"],["color","primary","value","static",1,"mr-3"],["staticPeriod",""],["color","primary","value","dynamic"],["dynamicPeriod",""],["class","form-container",4,"ngIf"],["class","d-flex flex-row",4,"ngIf"],[3,"model","title","modelChange"],["multiple","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"d-flex","flex-row"],[1,"mr-2","amount-field"],["matInput","",3,"pattern","ngModel","placeholder","ngModelChange"],["specialLoaSelect",""],["class","mt-2",4,"ngIf"],[1,"ml-auto",3,"matTooltipDisabled","matTooltipPosition","matTooltip"],["mat-flat-button","","color","primary",1,"ml-auto",3,"disabled","click"],[1,"form-container"],[1,"date-field"],[3,"value"],[1,"mt-2"],["loaStaticRadioButton",""],["loaDynamicRadioButton",""],["color","primary",3,"ngModel","ngModelChange"]],template:function(e,o){1&e&&t.YNc(0,bi,68,70,"div",0),2&e&&t.Q6J("ngIf",o.currentConfiguration)},directives:[h.O5,X.Rr,m.JJ,m.On,k.VQ,k.U0,b.KE,G.Nt,m.Fj,m.c5,b.bx,b.hX,Y.gD,h.sg,J.ey,ui,b.UY,B.oG,N.gM,I.lW],pipes:[_.X$],styles:[".period-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:1.5rem}.amount-field[_ngcontent-%COMP%]{width:80px}.date-field[_ngcontent-%COMP%]{width:100%}.settings-header[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:.75rem;font-size:1.25rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.settings-card[_ngcontent-%COMP%]{padding:.5rem 1.5rem}"],data:{animation:[O.BQ]}}),i})();function Ci(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"app-expiration-settings",1),t.NdJ("saveAttribute",function(a){return t.CHM(e),t.oxw().saveExpirationAttribute(a)}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("expirationAttribute",e.expirationAttribute)}}let Si=(()=>{class i{constructor(e,o,a,s,r){this.attributesManager=e,this.translate=o,this.notificator=a,this.apiRequest=s,this.entityStorageService=r,this.translate.get("VO_DETAIL.SETTINGS.EXPIRATION.SUCCESS_MESSAGE").subscribe(d=>this.successMessage=d),this.translate.get("VO_DETAIL.SETTINGS.EXPIRATION.ERROR_MESSAGE").subscribe(d=>this.errorMessage=d)}ngOnInit(){this.vo=this.entityStorageService.getEntity(),this.loadSettings()}loadSettings(){this.attributesManager.getVoAttributeByName(this.vo.id,S.r.VO_DEF_EXPIRATION_RULES).subscribe(e=>{this.expirationAttribute=e})}saveExpirationAttribute(e){this.apiRequest.dontHandleErrorForNext(),this.attributesManager.setVoAttribute({vo:this.vo.id,attribute:e}).subscribe(()=>{this.loadSettings(),this.notificator.showSuccess(this.successMessage)},o=>{console.log(o),this.notificator.showRPCError(o.error,this.errorMessage)})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.H8),t.Y36(_.sK),t.Y36(u.V6),t.Y36(u.F5),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-settings-expiration"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(e,o){1&e&&t.YNc(0,Ci,1,1,"app-expiration-settings",0),2&e&&t.Q6J("ngIf",void 0!==o.expirationAttribute)},directives:[h.O5,ut],styles:[""],data:{animation:[O.BQ]}}),i})();var Zi=l(55857),dt=l(69815);let xi=(()=>{class i{constructor(e,o,a,s){this.dialog=e,this.voService=o,this.guiAuthResolver=a,this.entityStorageService=s,this.availableRoles=[],this.selected="user",this.type="Vo",this.theme="vo-theme"}ngOnInit(){this.vo=this.entityStorageService.getEntity(),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Vo")}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.uw),t.Y36(g.YF),t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-settings-managers"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:1,vars:4,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(e,o){1&e&&t._UZ(0,"app-managers-page",0),2&e&&t.Q6J("complementaryObject",o.vo)("complementaryObjectType",o.type)("theme",o.theme)("availableRoles",o.availableRoles)},directives:[dt.s],styles:[""]}),i})();function Ni(i,n){1&i&&t._UZ(0,"mat-spinner",6)}function Oi(i,n){1&i&&(t.TgZ(0,"mat-option",18),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APPROVABLE_GROUP_APP_USER")))}function Ri(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div"),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"mat-form-field",8),t.TgZ(4,"textarea",19),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw(2).reason=a}),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(2);t.xp6(1),t.hij(" ",t.lcZ(2,2,"DIALOGS.RE_SEND_NOTIFICATION.REASON"),": "),t.xp6(3),t.Q6J("ngModel",e.reason)}}function Di(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",7),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"mat-form-field",8),t.TgZ(4,"mat-select",9),t.NdJ("valueChange",function(a){return t.CHM(e),t.oxw().mailType=a}),t.TgZ(5,"mat-option",10),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.YNc(8,Oi,3,3,"mat-option",11),t.TgZ(9,"mat-option",12),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.TgZ(12,"mat-option",13),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.TgZ(15,"mat-option",14),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.TgZ(18,"mat-option",15),t._uU(19),t.ALo(20,"translate"),t.qZA(),t.TgZ(21,"mat-option",16),t._uU(22),t.ALo(23,"translate"),t.qZA(),t.qZA(),t.qZA(),t.YNc(24,Ri,5,4,"div",17),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.hij(" ",t.lcZ(2,10,"DIALOGS.RE_SEND_NOTIFICATION.SELECT"),": "),t.xp6(3),t.Q6J("value",e.mailType),t.xp6(2),t.Oqu(t.lcZ(7,12,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_USER")),t.xp6(2),t.Q6J("ngIf",e.data.groupId),t.xp6(2),t.Oqu(t.lcZ(11,14,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_VO_ADMIN")),t.xp6(3),t.Oqu(t.lcZ(14,16,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.MAIL_VALIDATION")),t.xp6(3),t.Oqu(t.lcZ(17,18,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_APPROVED_USER")),t.xp6(3),t.Oqu(t.lcZ(20,20,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_REJECTED_USER")),t.xp6(3),t.Oqu(t.lcZ(23,22,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_ERROR_VO_ADMIN")),t.xp6(2),t.Q6J("ngIf","APP_REJECTED_USER"===e.mailType)}}let Li=(()=>{class i{constructor(e,o,a,s,r){this.dialogRef=e,this.data=o,this.translate=a,this.notificator=s,this.registrarManager=r,this.mailType="APP_CREATED_USER",this.reason="",this.loading=!1}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,"APP_REJECTED_USER"===this.mailType?this.registrarManager.sendMessage({appId:this.data.applicationId,mailType:this.mailType,reason:this.reason}).subscribe(()=>{this.translate.get("DIALOGS.RE_SEND_NOTIFICATION.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close()})},()=>this.loading=!1):this.registrarManager.sendMessage({appId:this.data.applicationId,mailType:this.mailType}).subscribe(()=>{this.translate.get("DIALOGS.RE_SEND_NOTIFICATION.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close()})},()=>this.loading=!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(_.sK),t.Y36(u.V6),t.Y36(g.tk))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-application-re-send-notification-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"w-100"],["disableOptionCentering","",3,"value","valueChange"],["value","APP_CREATED_USER"],["value","APPROVABLE_GROUP_APP_USER",4,"ngIf"],["value","APP_CREATED_VO_ADMIN"],["value","MAIL_VALIDATION"],["value","APP_APPROVED_USER"],["value","APP_REJECTED_USER"],["value","APP_ERROR_VO_ADMIN"],[4,"ngIf"],["value","APPROVABLE_GROUP_APP_USER"],["matInput","",3,"ngModel","ngModelChange"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Ni,1,0,"mat-spinner",1),t.YNc(5,Di,25,24,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return o.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Gre("",o.theme,"}"),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.RE_SEND_NOTIFICATION.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.RE_SEND_NOTIFICATION.CANCEL")," "),t.xp6(2),t.Q6J("disabled",o.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.RE_SEND_NOTIFICATION.SEND")," "))},directives:[p.uh,h.O5,f.$g,p.xY,b.KE,Y.gD,J.ey,G.Nt,m.Fj,m.JJ,m.On,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();function Mi(i,n){1&i&&t._UZ(0,"mat-spinner",6)}function Pi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",7),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"mat-form-field",8),t.TgZ(4,"textarea",9),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().reason=a}),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.hij(" ",t.lcZ(2,2,"DIALOGS.REJECT_APPLICATION.TEXT")," "),t.xp6(3),t.Q6J("ngModel",e.reason)}}let Ui=(()=>{class i{constructor(e,o,a,s,r){this.dialogRef=e,this.data=o,this.translate=a,this.notificator=s,this.registrarManager=r,this.reason="",this.loading=!1}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,this.registrarManager.rejectApplication(this.data.applicationId,this.reason).subscribe(()=>{this.translate.get("DIALOGS.REJECT_APPLICATION.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close()})},()=>this.loading=!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(_.sK),t.Y36(u.V6),t.Y36(g.tk))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-application-reject-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"w-100"],["matInput","",3,"ngModel","ngModelChange"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Mi,1,0,"mat-spinner",1),t.YNc(5,Pi,5,4,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return o.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.REJECT_APPLICATION.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.REJECT_APPLICATION.CANCEL")," "),t.xp6(2),t.Q6J("disabled",o.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.REJECT_APPLICATION.SUBMIT")," "))},directives:[p.uh,h.O5,f.$g,p.xY,b.KE,G.Nt,m.Fj,m.JJ,m.On,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();function Gi(i,n){1&i&&t._UZ(0,"mat-spinner",6)}function wi(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.INVALID_EMAIL")))}function yi(i,n){if(1&i&&(t.TgZ(0,"mat-form-field"),t.TgZ(1,"label"),t._UZ(2,"input",9),t.qZA(),t.YNc(3,wi,3,3,"mat-error",8),t.qZA()),2&i){const e=t.oxw(2);t.xp6(2),t.Q6J("formControl",e.emailControl),t.xp6(1),t.Q6J("ngIf",e.emailControl.invalid)}}function qi(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.EMPTY_INPUT")))}function Fi(i,n){if(1&i&&(t.TgZ(0,"mat-form-field"),t._UZ(1,"input",10),t.YNc(2,qi,3,3,"mat-error",8),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("formControl",e.inputControl),t.xp6(1),t.Q6J("ngIf",e.inputControl.invalid)}}function Vi(i,n){if(1&i&&(t.TgZ(0,"div",7),t.YNc(1,yi,4,2,"mat-form-field",8),t.YNc(2,Fi,3,2,"mat-form-field",8),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",null!==e.emailControl),t.xp6(1),t.Q6J("ngIf",null!==e.inputControl)}}let Yi=(()=>{class i{constructor(e,o,a,s,r){this.dialogRef=e,this.data=o,this.notificator=a,this.translateService=s,this.registrarService=r,this.loading=!1,this.inputControl=null,this.emailControl=null}ngOnInit(){this.theme=this.data.theme,this.formItemData=this.data.formItemData,this.itemName=this.getLabel(this.formItemData.formItem),this.itemName.toLowerCase().includes("mail")?this.emailControl=new m.NI(this.formItemData.value,[m.kI.required,m.kI.email]):this.inputControl=new m.NI(this.formItemData.value,[m.kI.required])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.formItemData.value=null!==this.inputControl?this.inputControl.value:this.emailControl.value,this.registrarService.updateFormItemData({appId:this.data.applicationId,data:{id:this.formItemData.id,formItem:this.formItemData.formItem,shortname:this.formItemData.shortname,value:this.formItemData.value,assuranceLevel:this.formItemData.assuranceLevel,prefilledValue:this.formItemData.prefilledValue}}).subscribe(()=>{this.notificator.showSuccess(this.translateService.instant("DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}getLabel(e){return null!==e.i18n.en.label&&0!==e.i18n.en.label.length?e.i18n.en.label:e.shortname}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(u.V6),t.Y36(_.sK),t.Y36(g.tk))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-edit-application-form-item-data-dialog"]],decls:13,vars:16,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[4,"ngIf"],["matInput","","required","",3,"formControl"],["type","text","matInput","","required","",3,"formControl"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Gi,1,0,"mat-spinner",1),t.YNc(5,Vi,3,2,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return o.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.AsE(" ",t.lcZ(3,10,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.TITLE")," ",o.itemName," "),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,12,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.CANCEL")," "),t.xp6(2),t.Q6J("disabled",o.loading||null!==o.inputControl&&o.inputControl.invalid||null!==o.emailControl&&o.emailControl.invalid),t.xp6(1),t.hij(" ",t.lcZ(12,14,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.SUBMIT")," "))},directives:[p.uh,h.O5,f.$g,p.xY,b.KE,G.Nt,m.Fj,m.Q7,m.JJ,m.oH,b.TO,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();var W=l(4834),Ji=l(43157);function Qi(i,n){if(1&i&&(t.TgZ(0,"span",5),t._uU(1),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.hij(" #",e.application.id," ")}}function ki(i,n){1&i&&t._UZ(0,"mat-spinner",6)}function Bi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).verifyApplication()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VERIFY")," "))}function ji(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).approveApplication()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVE")," "))}function Hi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",17),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).rejectApplication()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECT")," "))}function $i(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",17),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).deleteApplication()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE")," "))}function zi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",18),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).resendNotification()}),t.TgZ(1,"i",14),t._uU(2," mail_outline "),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()}2&i&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SEND_NOTIFICATION")," "))}function Xi(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"span",10),t._uU(2),t.ALo(3,"translate"),t.qZA(),t._uU(4),t.qZA()),2&i){const e=t.oxw(2);t.xp6(2),t.Oqu(t.lcZ(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_VO")),t.xp6(2),t.hij(": ",e.application.vo.name," ")}}function Wi(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"span",10),t._uU(2),t.ALo(3,"translate"),t.qZA(),t._uU(4),t.TgZ(5,"span",10),t._uU(6),t.ALo(7,"translate"),t.qZA(),t._uU(8),t.qZA()),2&i){const e=t.oxw(2);t.xp6(2),t.Oqu(t.lcZ(3,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_GROUP")),t.xp6(2),t.hij(": ",e.application.group.name," "),t.xp6(2),t.Oqu(t.lcZ(7,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_IN_VO")),t.xp6(2),t.hij(": ",e.application.vo.name," ")}}function Ki(i,n){1&i&&(t.TgZ(0,"span"),t.TgZ(1,"mat-icon",19),t._uU(2,"arrow_right_alt"),t.qZA(),t._uU(3," Initial "),t.qZA())}function to(i,n){1&i&&(t.TgZ(0,"span"),t.TgZ(1,"mat-icon",19),t._uU(2,"restore"),t.qZA(),t._uU(3," Extension "),t.qZA())}function eo(i,n){1&i&&(t.TgZ(0,"span"),t.TgZ(1,"mat-icon",19),t._uU(2,"nat"),t.qZA(),t._uU(3," Embedded "),t.qZA())}function io(i,n){if(1&i&&(t.TgZ(0,"div",20),t.TgZ(1,"mat-card-title"),t.TgZ(2,"i",21),t._uU(3,"clear"),t.qZA(),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"div"),t.TgZ(7,"span",10),t._uU(8),t.ALo(9,"translate"),t.qZA(),t._uU(10),t.ALo(11,"date"),t.qZA(),t.qZA()),2&i){const e=t.oxw(2);t.xp6(4),t.AsE(" ",t.lcZ(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECTED_BY"),": ",e.getModifiedAtName(e.application.modifiedBy),""),t.xp6(4),t.Oqu(t.lcZ(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),t.xp6(2),t.hij(": ",t.xi3(11,8,e.application.modifiedAt,"d.M.y H:mm:ss")," ")}}function oo(i,n){if(1&i&&(t.TgZ(0,"div",20),t.TgZ(1,"mat-card-title"),t.TgZ(2,"i",22),t._uU(3,"done"),t.qZA(),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"div"),t.TgZ(7,"span",10),t._uU(8),t.ALo(9,"translate"),t.qZA(),t._uU(10),t.ALo(11,"date"),t.qZA(),t.qZA()),2&i){const e=t.oxw(2);t.xp6(4),t.AsE(" ",t.lcZ(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVED_BY"),": ",e.getModifiedAtName(e.application.modifiedBy),""),t.xp6(4),t.Oqu(t.lcZ(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),t.xp6(2),t.hij(": ",t.xi3(11,8,e.application.modifiedAt,"d.M.y H:mm:ss")," ")}}function no(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"span",10),t._uU(2),t.ALo(3,"translate"),t.qZA(),t._uU(4),t.qZA()),2&i){const e=t.oxw(2);t.xp6(2),t.Oqu(t.lcZ(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.MAIL")),t.xp6(2),t.hij(": ",e.userMail," ")}}function ao(i,n){1&i&&t._UZ(0,"th",31)}function so(i,n){if(1&i&&(t.TgZ(0,"td",32),t._uU(1),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(3);t.xp6(1),t.hij(" ",o.getLabel(e.formItem)," ")}}function ro(i,n){1&i&&t._UZ(0,"th",31)}function lo(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",35),t.NdJ("click",function(){t.CHM(e);const a=t.oxw().$implicit;return t.oxw(3).editApplicationData(a)}),t.TgZ(1,"mat-icon"),t._uU(2,"edit"),t.qZA(),t.qZA()}}function co(i,n){if(1&i&&(t.TgZ(0,"td",33),t._uU(1),t.YNc(2,lo,3,0,"button",34),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(3);t.xp6(1),t.hij(" ",e.value," "),t.xp6(1),t.Q6J("ngIf",("NEW"===o.application.state||"VERIFIED"===o.application.state)&&"EMBEDDED_GROUP_APPLICATION"!==e.formItem.type)}}function po(i,n){1&i&&t._UZ(0,"tr",36)}function uo(i,n){1&i&&t._UZ(0,"tr",37)}function _o(i,n){if(1&i&&(t.TgZ(0,"table",23),t.ynx(1,24),t.YNc(2,ao,1,0,"th",25),t.YNc(3,so,2,1,"td",26),t.BQk(),t.ynx(4,27),t.YNc(5,ro,1,0,"th",25),t.YNc(6,co,3,2,"td",28),t.BQk(),t.YNc(7,po,1,0,"tr",29),t.YNc(8,uo,1,0,"tr",30),t.qZA()),2&i){const e=t.oxw(2);t.Q6J("dataSource",e.dataSource),t.xp6(7),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}function mo(i,n){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,Bi,3,3,"button",7),t.YNc(2,ji,3,3,"button",7),t.YNc(3,Hi,3,3,"button",8),t.YNc(4,$i,3,3,"button",8),t.YNc(5,zi,5,3,"button",9),t.YNc(6,Xi,5,4,"div",4),t.YNc(7,Wi,9,8,"div",4),t.TgZ(8,"div"),t.TgZ(9,"span",10),t._uU(10),t.ALo(11,"translate"),t.qZA(),t._uU(12,": "),t._UZ(13,"span",11),t.ALo(14,"applicationState"),t.qZA(),t.TgZ(15,"div"),t.TgZ(16,"span",10),t._uU(17),t.ALo(18,"translate"),t.qZA(),t._uU(19,": "),t.YNc(20,Ki,4,0,"span",4),t.YNc(21,to,4,0,"span",4),t.YNc(22,eo,4,0,"span",4),t.qZA(),t.YNc(23,io,12,11,"div",12),t.YNc(24,oo,12,11,"div",12),t.TgZ(25,"div",13),t.TgZ(26,"mat-card-title"),t.TgZ(27,"i",14),t._uU(28,"redo"),t.qZA(),t._uU(29),t.ALo(30,"translate"),t.ALo(31,"userFullName"),t.qZA(),t.YNc(32,no,5,4,"div",4),t.TgZ(33,"div"),t.TgZ(34,"span",10),t._uU(35),t.ALo(36,"translate"),t.qZA(),t._uU(37),t.qZA(),t.TgZ(38,"div"),t.TgZ(39,"span",10),t._uU(40),t.ALo(41,"translate"),t.qZA(),t._uU(42),t.qZA(),t.TgZ(43,"div"),t.TgZ(44,"span",10),t._uU(45),t.ALo(46,"translate"),t.qZA(),t._uU(47),t.ALo(48,"date"),t.qZA(),t.YNc(49,_o,9,3,"table",15),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngIf","NEW"===e.application.state&&e.verifyAuth),t.xp6(1),t.Q6J("ngIf",("VERIFIED"===e.application.state||"NEW"===e.application.state)&&e.approveAuth),t.xp6(1),t.Q6J("ngIf",("VERIFIED"===e.application.state||"NEW"===e.application.state)&&e.rejectAuth),t.xp6(1),t.Q6J("ngIf",("REJECTED"===e.application.state||"NEW"===e.application.state)&&e.deleteAuth),t.xp6(1),t.Q6J("ngIf",e.resendAuth),t.xp6(1),t.Q6J("ngIf",!e.application.group),t.xp6(1),t.Q6J("ngIf",e.application.group),t.xp6(3),t.Oqu(t.lcZ(11,25,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.STATE")),t.xp6(3),t.Q6J("outerHTML",t.lcZ(14,27,e.application.state),t.oJD),t.xp6(4),t.Oqu(t.lcZ(18,29,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TYPE")),t.xp6(3),t.Q6J("ngIf","INITIAL"===e.application.type),t.xp6(1),t.Q6J("ngIf","EXTENSION"===e.application.type),t.xp6(1),t.Q6J("ngIf","EMBEDDED"===e.application.type),t.xp6(1),t.Q6J("ngIf","REJECTED"===e.application.state),t.xp6(1),t.Q6J("ngIf","APPROVED"===e.application.state),t.xp6(5),t.AsE(" ",t.lcZ(30,31,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SUBMITTED_BY"),": ",null===e.application.user?e.submittedBy():t.lcZ(31,33,e.application.user),""),t.xp6(3),t.Q6J("ngIf",e.userMail),t.xp6(3),t.Oqu(t.lcZ(36,35,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.EXT_SRC")),t.xp6(2),t.hij(": ",e.application.extSourceName," "),t.xp6(3),t.Oqu(t.lcZ(41,37,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.LOA")),t.xp6(2),t.hij(": ",e.application.extSourceLoa," "),t.xp6(3),t.Oqu(t.lcZ(46,39,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),t.xp6(2),t.hij(": ",t.xi3(48,41,e.application.createdAt,"d.M.y H:mm:ss")," "),t.xp6(2),t.Q6J("ngIf",0!==e.userData.length)}}let K=(()=>{class i{constructor(e,o,a,s,r,d,A,v){this.registrarManager=e,this.dialog=o,this.translate=a,this.route=s,this.notificator=r,this.router=d,this.authResolver=A,this.usersService=v,this.userData=[],this.displayedColumns=["label","value"],this.loading=!0}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{this.route.parent.params.subscribe(o=>{this.dialogTheme=o.groupId?"group-theme":o.memberId?"member-theme":"vo-theme",this.registrarManager.getApplicationById(e.applicationId).subscribe(s=>{this.application=s,"EMBEDDED"===this.application.type&&this.application.user?this.usersService.getRichUserWithAttributes(this.application.user.id).subscribe(r=>{var d;const A=r.userAttributes.find(v=>"preferredMail"===v.friendlyName);this.userMail=null===(d=null==A?void 0:A.value)||void 0===d?void 0:d.toString(),this.setAuthRights(),this.loading=!1}):this.registrarManager.getApplicationDataById(this.application.id).subscribe(r=>{this.userData=r,this.dataSource=new c.by(this.userData),this.setAuthRights(),this.loading=!1})})})})}setAuthRights(){"group-theme"===this.dialogTheme?(this.verifyAuth=this.authResolver.isAuthorized("group-verifyApplication_int_policy",[this.application.group]),this.approveAuth=this.authResolver.isAuthorized("group-approveApplicationInternal_int_policy",[this.application.group]),this.rejectAuth=this.authResolver.isAuthorized("group-rejectApplication_int_String_policy",[this.application.group]),this.deleteAuth=this.authResolver.isAuthorized("group-deleteApplication_Application_policy",[this.application.group]),this.resendAuth=this.authResolver.isAuthorized("group-sendMessage_Application_MailType_String_policy",[this.application.group])):(this.verifyAuth=this.authResolver.isAuthorized("vo-verifyApplication_int_policy",[this.application.vo]),this.approveAuth=this.authResolver.isAuthorized("vo-approveApplicationInternal_int_policy",[this.application.vo]),this.rejectAuth=this.authResolver.isAuthorized("vo-rejectApplication_int_String_policy",[this.application.vo]),this.deleteAuth=this.authResolver.isAuthorized("vo-deleteApplication_Application_policy",[this.application.vo]),this.resendAuth=this.authResolver.isAuthorized("vo-sendMessage_Application_MailType_String_policy",[this.application.vo]))}getLabel(e){return null!==e.i18n.en.label&&0!==e.i18n.en.label.length?e.i18n.en.label:e.shortname}submittedBy(){return this.application.createdBy.slice(this.application.createdBy.lastIndexOf("=")+1,this.application.createdBy.length)}getModifiedAtName(e){const o=e.lastIndexOf("/CN=");if(-1!==o){const a=e.slice(o+4,e.length).replace("/unstructuredName="," ");return-1!==a.lastIndexOf("\\")?e.slice(e.lastIndexOf("=")+1,e.length):a}return e}resendNotification(){var e;const o=(0,T.kZ)();o.width="500px",o.data={applicationId:this.application.id,theme:this.dialogTheme,groupId:null===(e=this.application.group)||void 0===e?void 0:e.id},this.dialog.open(Li,o)}deleteApplication(){const e=(0,T.kZ)();e.width="450px",e.data={items:[this.application.id],title:"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE_APPLICATION_TITLE",description:"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE_APPLICATION_DESCRIPTION",theme:"vo-theme"},this.dialog.open(L.Tf,e).afterClosed().subscribe(a=>{a&&this.registrarManager.deleteApplication(this.application.id).subscribe(()=>{this.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE_MESSAGE").subscribe(s=>{this.notificator.showSuccess(s),this.router.navigateByUrl(this.router.url.substring(0,this.router.url.lastIndexOf("/")))})})})}rejectApplication(){const e=(0,T.kZ)();e.width="500px",e.data={applicationId:this.application.id,theme:this.dialogTheme},this.dialog.open(Ui,e).afterClosed().subscribe(()=>{this.loading=!0,this.registrarManager.getApplicationById(this.application.id).subscribe(a=>{this.application=a,this.loading=!1},()=>this.loading=!1)})}approveApplication(){this.loading=!0,this.registrarManager.approveApplication(this.application.id).subscribe(()=>{this.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVE_MESSAGE").subscribe(e=>{this.notificator.showSuccess(e)}),this.registrarManager.getApplicationById(this.application.id).subscribe(e=>{this.application=e,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}verifyApplication(){this.registrarManager.verifyApplication(this.application.id).subscribe(()=>{this.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VERIFY_MESSAGE").subscribe(e=>{this.notificator.showSuccess(e)}),this.loading=!0,this.registrarManager.getApplicationById(this.application.id).subscribe(e=>{this.application=e,this.loading=!1})})}editApplicationData(e){const o=(0,T.kZ)();o.width="600px",o.data={theme:this.dialogTheme,applicationId:this.application.id,formItemData:e},this.dialog.open(Yi,o)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.tk),t.Y36(p.uw),t.Y36(_.sK),t.Y36(E.gz),t.Y36(u.V6),t.Y36(E.F0),t.Y36(u.x4),t.Y36(g.Fv))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-application-detail"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:7,vars:6,consts:[[1,"page-subtitle"],["class","text-muted",4,"ngIf"],[1,"mb-4"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"text-muted"],[1,"ml-auto","mr-auto"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","","class","mr-2 mb-2",3,"click",4,"ngIf"],[1,"font-weight-bold"],[3,"outerHTML"],["class","card p-3 mt-2",4,"ngIf"],[1,"card","p-4","mt-2"],[1,"material-icons"],["mat-table","","class","w-100",3,"dataSource",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"click"],["mat-stroked-button","",1,"mr-2","mb-2",3,"click"],[1,"align-text-top"],[1,"card","p-3","mt-2"],[1,"material-icons","red"],[1,"material-icons","green"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","label"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","font-weight-bold",4,"matCellDef"],["matColumnDef","value"],["class","word-break-all","mat-cell","",4,"matCellDef"],["mat-header-row","","class","h-50",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"word-break-all"],["mat-icon-button","","aria-label","Edit Application data",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Edit Application data",3,"click"],["mat-header-row","",1,"h-50"],["mat-row",""]],template:function(e,o){1&e&&(t.TgZ(0,"h2",0),t._uU(1),t.ALo(2,"translate"),t.YNc(3,Qi,2,1,"span",1),t.qZA(),t._UZ(4,"mat-divider",2),t.YNc(5,ki,1,0,"mat-spinner",3),t.YNc(6,mo,50,44,"div",4)),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TITLE")," "),t.xp6(2),t.Q6J("ngIf",!!o.application),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,W.d,f.$g,I.lW,M.Hw,Z.n5,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.as,c.XQ,c.nj,c.Gk],pipes:[_.X$,Ji.h,h.uU,$.d],styles:[""]}),i})();var go=l(96180),ho=l(37240);let To=(()=>{class i{constructor(){}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-settings"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:1,vars:0,template:function(e,o){1&e&&t._UZ(0,"app-animated-router-outlet")},directives:[F.A],styles:[""],data:{animation:[O.Ji]}}),i})();var R=l(53251),_t=l(19191);function Ao(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.hij(" ",t.lcZ(1,1,"GROUP_DETAIL.ENTITY")," ")}function fo(i,n){if(1&i&&t._UZ(0,"app-one-entity-attribute-page",4),2&i){const e=t.oxw();t.Q6J("entity","group")("entityId",e.group.id)}}function Io(i,n){1&i&&(t._uU(0),t.ALo(1,"translate"),t.ALo(2,"translate")),2&i&&t.AsE(" ",t.lcZ(1,2,"GROUP_DETAIL.ENTITY")," - ",t.lcZ(2,4,"MEMBER_DETAIL.ENTITY")," ")}function Eo(i,n){if(1&i&&t._UZ(0,"app-two-entity-attribute-page",5),2&i){const e=t.oxw(2);t.Q6J("firstEntity","group")("firstEntityId",e.group.id)("secondEntity","member")}}function vo(i,n){1&i&&(t.TgZ(0,"mat-tab"),t.YNc(1,Io,3,6,"ng-template",1),t.YNc(2,Eo,1,3,"ng-template",2),t.qZA())}function bo(i,n){1&i&&(t._uU(0),t.ALo(1,"translate"),t.ALo(2,"translate")),2&i&&t.AsE(" ",t.lcZ(1,2,"GROUP_DETAIL.ENTITY")," - ",t.lcZ(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function Co(i,n){if(1&i&&t._UZ(0,"app-two-entity-attribute-page",5),2&i){const e=t.oxw(2);t.Q6J("firstEntity","group")("firstEntityId",e.group.id)("secondEntity","resource")}}function So(i,n){1&i&&(t.TgZ(0,"mat-tab"),t.YNc(1,bo,3,6,"ng-template",1),t.YNc(2,Co,1,3,"ng-template",2),t.qZA())}let Zo=(()=>{class i{constructor(e,o){this.authResolver=e,this.entityStorageService=o}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.groupResourceAttAuth=this.authResolver.isAuthorized("getResourceAssignments_Group_policy",[this.group]),this.groupMemberAttAuth=this.authResolver.isAuthorized("getCompleteRichMembers_Group_List_List_List_boolean_policy",[this.group])}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-attributes"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:10,vars:5,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-tab-group"),t.TgZ(5,"mat-tab"),t.YNc(6,Ao,2,3,"ng-template",1),t.YNc(7,fo,1,2,"ng-template",2),t.qZA(),t.YNc(8,vo,3,0,"mat-tab",3),t.YNc(9,So,3,0,"mat-tab",3),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,3,"GROUP_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),t.xp6(6),t.Q6J("ngIf",o.groupMemberAttAuth),t.xp6(1),t.Q6J("ngIf",o.groupResourceAttAuth))},directives:[R.SP,R.uX,R.uD,R.Vc,z.t,h.O5,_t.Y],pipes:[_.X$],styles:[""]}),i})();function xo(i,n){1&i&&t._UZ(0,"mat-spinner",2)}function No(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",3),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("items",e.items)("size","small")}}let Oo=(()=>{class i{constructor(e,o,a,s,r,d,A,v){this.sideMenuService=e,this.groupService=o,this.router=a,this.guiAuthResolver=s,this.apiRequest=r,this.attributesManager=d,this.notificator=A,this.entityStorageService=v,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.group=this.entityStorageService.getEntity(),this.initItems(),this.loading=!1}initItems(){this.items=[],this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(this.group.id,S.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{this.items.push({cssIcon:"perun-group",url:`/organizations/${this.group.voId}/groups/${this.group.id}/settings/expiration`,label:"MENU_ITEMS.GROUP.EXPIRATION",style:"group-btn"})},e=>{"HttpErrorResponse"!==e.name&&this.notificator.showRPCError(e)}),this.guiAuthResolver.isManagerPagePrivileged(this.group)&&this.items.push({cssIcon:"perun-manager",url:`/organizations/${this.group.voId}/groups/${this.group.id}/settings/managers`,label:"MENU_ITEMS.GROUP.MANAGERS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group])&&this.items.push({cssIcon:"perun-application-form",url:`/organizations/${this.group.voId}/groups/${this.group.id}/settings/applicationForm`,label:"MENU_ITEMS.GROUP.APPLICATION_FORM",style:"group-btn"}),this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group])&&this.items.push({cssIcon:"perun-notification",url:`/organizations/${this.group.voId}/groups/${this.group.id}/settings/notifications`,label:"MENU_ITEMS.GROUP.NOTIFICATIONS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[this.group])&&this.items.push({cssIcon:"perun-group",url:`/organizations/${this.group.voId}/groups/${this.group.id}/settings/relations`,label:"MENU_ITEMS.GROUP.RELATIONS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getGroupExtSources_Group_policy",[this.group])&&this.items.push({cssIcon:"perun-external-sources",url:`/organizations/${this.group.voId}/groups/${this.group.id}/settings/extsources`,label:"MENU_ITEMS.GROUP.EXTSOURCES",style:"group-btn"})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(y.D),t.Y36(g.ff),t.Y36(E.F0),t.Y36(u.x4),t.Y36(u.F5),t.Y36(g.H8),t.Y36(u.V6),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-settings-overview"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,o){1&e&&(t.YNc(0,xo,1,0,"mat-spinner",0),t.YNc(1,No,2,2,"div",1)),2&e&&(t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,V.L],styles:[""]}),i})();var Ro=l(10369);function Do(i,n){1&i&&t._UZ(0,"mat-spinner",3)}function Lo(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).switchToInitial()}),t.TgZ(1,"i",11),t._uU(2,"arrow_right_alt"),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()}2&i&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_INITIAL")," "))}function Mo(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).switchToExtension()}),t.TgZ(1,"i",11),t._uU(2,"cached"),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()}2&i&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_EXTENSION")," "))}function Po(i,n){if(1&i&&(t.TgZ(0,"mat-option",12),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"uppercase"),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",t.lcZ(2,2,t.lcZ(3,4,"SHARED_LIB.LANGUAGES."+e))," ")}}function Uo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function Go(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function wo(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"div",18),t._UZ(5,"input",19),t.qZA(),t.qZA(),t.TgZ(6,"div",20),t.YNc(7,Uo,2,1,"mat-icon",21),t.YNc(8,Go,2,1,"mat-icon",21),t.TgZ(9,"span",22),t._uU(10),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(2),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(2),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function yo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function qo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function Fo(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"div",18),t._UZ(5,"input",24),t._UZ(6,"br"),t._UZ(7,"input",19),t.qZA(),t.qZA(),t.TgZ(8,"div",20),t.YNc(9,yo,2,1,"mat-icon",21),t.YNc(10,qo,2,1,"mat-icon",21),t.TgZ(11,"span",22),t._uU(12),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(2),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(2),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(2),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function Vo(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"input",26),t._uU(2),t._UZ(3,"br"),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(3).$implicit;t.xp6(1),t.Q6J("disabled","ALWAYS"===o.disabled),t.xp6(1),t.hij(" ",e,"")}}function Yo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function Jo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function Qo(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"form",18),t.YNc(5,Vo,4,2,"div",9),t._UZ(6,"input",25),t.ALo(7,"translate"),t.qZA(),t.qZA(),t.TgZ(8,"div",20),t.YNc(9,Yo,2,1,"mat-icon",21),t.YNc(10,Jo,2,1,"mat-icon",21),t.TgZ(11,"span",22),t._uU(12),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(2),t.Q6J("ngForOf",o.getLocalizedOptions(e)),t.xp6(1),t.s9C("value",t.lcZ(7,7,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION")),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(3),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function ko(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"span",27),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(1),t.Q6J("innerHTML",o.getLocalizedLabel(e),t.oJD)}}function Bo(i,n){if(1&i&&(t.TgZ(0,"option"),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.hij(" ",e," ")}}function jo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function Ho(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function $o(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"div",18),t.TgZ(5,"select",28),t.YNc(6,Bo,2,1,"option",9),t.qZA(),t.qZA(),t.qZA(),t.TgZ(7,"div",20),t.YNc(8,jo,2,1,"mat-icon",21),t.YNc(9,Ho,2,1,"mat-icon",21),t.TgZ(10,"span",22),t._uU(11),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(2),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(1),t.Q6J("ngForOf",o.getLocalizedOptions(e)),t.xp6(2),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function zo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function Xo(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function Wo(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t._UZ(4,"textarea",29),t.qZA(),t.TgZ(5,"div",20),t.YNc(6,zo,2,1,"mat-icon",21),t.YNc(7,Xo,2,1,"mat-icon",21),t.TgZ(8,"span",22),t._uU(9),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(1),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(2),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function Ko(i,n){if(1&i&&(t.TgZ(0,"option",34),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.hij(" ",e," ")}}function tn(i,n){1&i&&(t.TgZ(0,"div",35),t.TgZ(1,"form"),t._UZ(2,"input",36),t.qZA(),t.qZA())}function en(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function on(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function nn(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"div",18),t.TgZ(5,"select",30),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw(2).$implicit;return t.oxw(2).mapForCombobox[s.id]=a}),t.TgZ(6,"option",31),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.YNc(9,Ko,2,1,"option",32),t.qZA(),t.YNc(10,tn,3,0,"div",33),t.qZA(),t.qZA(),t.TgZ(11,"div",20),t.YNc(12,en,2,1,"mat-icon",21),t.YNc(13,on,2,1,"mat-icon",21),t.TgZ(14,"span",22),t._uU(15),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(2),t.Q6J("ngModel",o.mapForCombobox[e.id])("disabled","ALWAYS"===e.disabled),t.xp6(2),t.hij(" ",t.lcZ(8,9,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")," "),t.xp6(2),t.Q6J("ngForOf",o.getLocalizedOptions(e)),t.xp6(1),t.Q6J("ngIf","true"===o.mapForCombobox[e.id]),t.xp6(2),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function an(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"input",37),t._uU(2),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(3).$implicit;t.xp6(1),t.Q6J("disabled","ALWAYS"===o.disabled),t.xp6(1),t.hij(" ",e," ")}}function sn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function rn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function ln(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"div",18),t.TgZ(5,"form",35),t.YNc(6,an,3,2,"div",9),t.qZA(),t.qZA(),t.qZA(),t.TgZ(7,"div",20),t.YNc(8,sn,2,1,"mat-icon",21),t.YNc(9,rn,2,1,"mat-icon",21),t.TgZ(10,"span",22),t._uU(11),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(3),t.Q6J("ngForOf",o.getLocalizedOptions(e)),t.xp6(2),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function cn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function pn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function un(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"div",18),t.TgZ(5,"form",35),t._UZ(6,"input",37),t._uU(7," example group1 "),t._UZ(8,"br"),t._UZ(9,"input",37),t._uU(10," example group2 "),t._UZ(11,"br"),t._UZ(12,"input",37),t._uU(13," example group3 "),t.qZA(),t.qZA(),t.qZA(),t.TgZ(14,"div",20),t.YNc(15,cn,2,1,"mat-icon",21),t.YNc(16,pn,2,1,"mat-icon",21),t.TgZ(17,"span",22),t._uU(18),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(3),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(3),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(3),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(3),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function dn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",40),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function _n(i,n){if(1&i&&(t.TgZ(0,"mat-icon",40),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function mn(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"button",38),t._uU(2),t.qZA(),t.YNc(3,dn,2,1,"mat-icon",39),t.YNc(4,_n,2,1,"mat-icon",39),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(1),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(1),t.hij(" ",o.getLocalizedLabel(e)," "),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden)}}function gn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",40),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function hn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",40),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function Tn(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"button",38),t._uU(2),t.qZA(),t.YNc(3,gn,2,1,"mat-icon",39),t.YNc(4,hn,2,1,"mat-icon",39),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(1),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(1),t.hij(" ",o.getLocalizedLabel(e)," "),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden)}}function An(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"lock"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.disabledTooltip(e))}}function fn(i,n){if(1&i&&(t.TgZ(0,"mat-icon",23),t._uU(1,"visibility_off"),t.qZA()),2&i){const e=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("matTooltip",o.hiddenTooltip(e))}}function In(i,n){if(1&i&&(t.TgZ(0,"div",16),t.TgZ(1,"div",17),t.TgZ(2,"span",18),t._uU(3),t.qZA(),t.TgZ(4,"div",18),t.TgZ(5,"select",41),t.TgZ(6,"option",42),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.TgZ(9,"option",43),t._uU(10,"(GMT -12:00) Eniwetok, Kwajalein"),t.qZA(),t.TgZ(11,"option",44),t._uU(12,"(GMT -11:00) Midway Island, Samoa"),t.qZA(),t.TgZ(13,"option",45),t._uU(14,"(GMT -10:00) Hawaii"),t.qZA(),t.TgZ(15,"option",46),t._uU(16,"(GMT -9:30) Taiohae"),t.qZA(),t.TgZ(17,"option",47),t._uU(18,"(GMT -9:00) Alaska"),t.qZA(),t.TgZ(19,"option",48),t._uU(20,"(GMT -8:00) Pacific Time (US & Canada)"),t.qZA(),t.TgZ(21,"option",49),t._uU(22,"(GMT -7:00) Mountain Time (US & Canada)"),t.qZA(),t.TgZ(23,"option",50),t._uU(24," (GMT -6:00) Central Time (US & Canada), Mexico City "),t.qZA(),t.TgZ(25,"option",51),t._uU(26," (GMT -5:00) Eastern Time (US & Canada), Bogota, Lima "),t.qZA(),t.TgZ(27,"option",52),t._uU(28,"(GMT -4:30) Caracas"),t.qZA(),t.TgZ(29,"option",53),t._uU(30,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),t.qZA(),t.TgZ(31,"option",54),t._uU(32,"(GMT -3:30) Newfoundland"),t.qZA(),t.TgZ(33,"option",55),t._uU(34,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),t.qZA(),t.TgZ(35,"option",56),t._uU(36,"(GMT -2:00) Mid-Atlantic"),t.qZA(),t.TgZ(37,"option",57),t._uU(38,"(GMT -1:00) Azores, Cape Verde Islands"),t.qZA(),t.TgZ(39,"option",58),t._uU(40," (GMT) Western Europe Time, London, Lisbon, Casablanca "),t.qZA(),t.TgZ(41,"option",59),t._uU(42,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),t.qZA(),t.TgZ(43,"option",60),t._uU(44,"(GMT +2:00) Kaliningrad, South Africa"),t.qZA(),t.TgZ(45,"option",61),t._uU(46,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),t.qZA(),t.TgZ(47,"option",62),t._uU(48,"(GMT +3:30) Tehran"),t.qZA(),t.TgZ(49,"option",63),t._uU(50,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),t.qZA(),t.TgZ(51,"option",64),t._uU(52,"(GMT +4:30) Kabul"),t.qZA(),t.TgZ(53,"option",65),t._uU(54," (GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent "),t.qZA(),t.TgZ(55,"option",66),t._uU(56,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),t.qZA(),t.TgZ(57,"option",67),t._uU(58,"(GMT +5:45) Kathmandu, Pokhara"),t.qZA(),t.TgZ(59,"option",68),t._uU(60,"(GMT +6:00) Almaty, Dhaka, Colombo"),t.qZA(),t.TgZ(61,"option",69),t._uU(62,"(GMT +6:30) Yangon, Mandalay"),t.qZA(),t.TgZ(63,"option",70),t._uU(64,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),t.qZA(),t.TgZ(65,"option",71),t._uU(66,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),t.qZA(),t.TgZ(67,"option",72),t._uU(68,"(GMT +8:45) Eucla"),t.qZA(),t.TgZ(69,"option",73),t._uU(70,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),t.qZA(),t.TgZ(71,"option",74),t._uU(72,"(GMT +9:30) Adelaide, Darwin"),t.qZA(),t.TgZ(73,"option",75),t._uU(74,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),t.qZA(),t.TgZ(75,"option",76),t._uU(76,"(GMT +10:30) Lord Howe Island"),t.qZA(),t.TgZ(77,"option",77),t._uU(78,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),t.qZA(),t.TgZ(79,"option",78),t._uU(80,"(GMT +11:30) Norfolk Island"),t.qZA(),t.TgZ(81,"option",79),t._uU(82,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),t.qZA(),t.TgZ(83,"option",80),t._uU(84,"(GMT +12:45) Chatham Islands"),t.qZA(),t.TgZ(85,"option",81),t._uU(86,"(GMT +13:00) Apia, Nukualofa"),t.qZA(),t.TgZ(87,"option",82),t._uU(88,"(GMT +14:00) Line Islands, Tokelau"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(89,"div",20),t.YNc(90,An,2,1,"mat-icon",21),t.YNc(91,fn,2,1,"mat-icon",21),t.TgZ(92,"span",22),t._uU(93),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2).$implicit,o=t.oxw(2);t.xp6(3),t.Oqu(o.getLocalizedLabel(e)),t.xp6(2),t.Q6J("disabled","ALWAYS"===e.disabled),t.xp6(2),t.hij(" ",t.lcZ(8,6,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")," "),t.xp6(83),t.Q6J("ngIf","NEVER"!==e.disabled),t.xp6(1),t.Q6J("ngIf","NEVER"!==e.hidden),t.xp6(2),t.Oqu(o.getLocalizedHint(e))}}function En(i,n){if(1&i&&(t.TgZ(0,"div",14),t.YNc(1,wo,11,5,"div",15),t.YNc(2,Fo,13,6,"div",15),t.YNc(3,Qo,13,9,"div",15),t.YNc(4,ko,2,1,"div",2),t.YNc(5,$o,12,6,"div",15),t.YNc(6,Wo,10,5,"div",15),t.YNc(7,nn,16,11,"div",15),t.YNc(8,ln,12,5,"div",15),t.YNc(9,un,19,7,"div",15),t.YNc(10,mn,5,4,"div",15),t.YNc(11,Tn,5,4,"div",2),t.YNc(12,In,94,8,"div",15),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf",("TEXTFIELD"===e.type||"VALIDATED_EMAIL"===e.type||"USERNAME"===e.type)&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","PASSWORD"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","RADIO"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf",("HEADING"===e.type||"HTML_COMMENT"===e.type)&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","SELECTIONBOX"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","TEXTAREA"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","COMBOBOX"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","CHECKBOX"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","SUBMIT_BUTTON"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","AUTO_SUBMIT_BUTTON"===e.type&&"ALWAYS"!==e.hidden),t.xp6(1),t.Q6J("ngIf","TIMEZONE"===e.type&&"ALWAYS"!==e.hidden)}}function vn(i,n){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,En,13,12,"div",13),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(2);t.xp6(1),t.Q6J("ngIf",o.isValid(e))}}function bn(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",4),t.YNc(2,Lo,5,3,"button",5),t.YNc(3,Mo,5,3,"button",5),t.TgZ(4,"mat-form-field"),t.TgZ(5,"mat-label"),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"mat-select",6),t.NdJ("valueChange",function(a){return t.CHM(e),t.oxw().currentLanguage=a}),t.YNc(9,Po,4,6,"mat-option",7),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,"div",8),t.YNc(11,vn,2,1,"div",9),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.Q6J("ngIf",!e.initialPage),t.xp6(1),t.Q6J("ngIf",e.initialPage),t.xp6(3),t.Oqu(t.lcZ(7,6,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),t.xp6(2),t.Q6J("value",e.currentLanguage),t.xp6(1),t.Q6J("ngForOf",e.languages),t.xp6(2),t.Q6J("ngForOf",e.applicationFormItems)}}let mt=(()=>{class i{constructor(e,o,a){this.route=e,this.translate=o,this.store=a,this.loading=!0,this.applicationFormItems=[],this.currentLanguage="en",this.languages=["en"],this.initialPage=!0,this.mapForCombobox=new Map}ngOnInit(){this.languages=this.store.get("supported_languages"),this.route.queryParamMap.subscribe(e=>{this.applicationFormItems=JSON.parse(e.get("applicationFormItems")),this.loading=!1})}switchToInitial(){this.initialPage=!0}switchToExtension(){this.initialPage=!1}getLocalizedOptions(e){if(e.i18n[this.currentLanguage]){const o=e.i18n[this.currentLanguage].options;if(null!==o&&""!==o){const a=[];for(const s of o.split("|"))a.push(s.split("#")[1]);return a}}return[]}isValid(e){if(e.forDelete)return!1;for(const o of e.applicationTypes)if("INITIAL"===o&&this.initialPage||"EXTENSION"===o&&!this.initialPage)return!0;return!1}disabledTooltip(e){let o,a,s;switch(e.disabled){case"ALWAYS":return this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.ALWAYS_DISABLED");case"IF_PREFILLED":return o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.DISABLED_WHEN"),a=null===e.hiddenDependencyItemId?"":this.applicationFormItems.find(r=>r.id===e.disabledDependencyItemId).shortname,s=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),`${o} ${a} ${s}`;case"IF_EMPTY":return o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.DISABLED_WHEN"),a=null===e.hiddenDependencyItemId?"":this.applicationFormItems.find(r=>r.id===e.disabledDependencyItemId).shortname,s=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),`${o} ${a} ${s}`;default:return""}}hiddenTooltip(e){let o,a,s;switch(e.hidden){case"ALWAYS":return this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.ALWAYS_HIDDEN");case"IF_PREFILLED":return o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.HIDDEN_WHEN"),a=null===e.hiddenDependencyItemId?"":this.applicationFormItems.find(r=>r.id===e.hiddenDependencyItemId).shortname,s=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),`${o} ${a} ${s}`;case"IF_EMPTY":return o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.HIDDEN_WHEN"),a=null===e.hiddenDependencyItemId?"":this.applicationFormItems.find(r=>r.id===e.hiddenDependencyItemId).shortname,s=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),`${o} ${a} ${s}`;default:return""}}getLocalizedLabel(e){return e.i18n[this.currentLanguage]&&e.i18n[this.currentLanguage].label?e.i18n[this.currentLanguage].label+(e.required?"*":""):e.shortname+(e.required?"*":"")}getLocalizedHint(e){return e.i18n[this.currentLanguage]?e.i18n[this.currentLanguage].help:""}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(E.gz),t.Y36(_.sK),t.Y36(u.d6))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-application-form-preview"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"w-100","mb-2"],["class","mr-2","mat-stroked-button","",3,"click",4,"ngIf"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"card","mb-4","p-5"],[4,"ngFor","ngForOf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"material-icons"],[3,"value"],["class","mb-2",4,"ngIf"],[1,"mb-2"],["class","d-flex",4,"ngIf"],[1,"d-flex"],[1,"w-50","d-flex"],[1,"w-50"],["type","text",1,"w-100",3,"disabled"],[1,"w-50","d-flex","left"],["class","pointer",3,"matTooltip",4,"ngIf"],[1,"ml-2"],[1,"pointer",3,"matTooltip"],["type","text",1,"mb-1","w-100",3,"disabled"],["type","reset",3,"disabled","value"],["type","radio","name","temp",3,"disabled"],[3,"innerHTML"],[1,"w-100",3,"disabled"],[1,"w-50",3,"disabled"],[1,"w-100",3,"ngModel","disabled","ngModelChange"],["value","true","selected",""],["value","false",4,"ngFor","ngForOf"],["class","w-100",4,"ngIf"],["value","false"],[1,"w-100"],["type","text"],["type","checkbox",3,"disabled"],["mat-flat-button","","color","accent",3,"disabled"],["class","pointer left",3,"matTooltip",4,"ngIf"],[1,"pointer","left",3,"matTooltip"],["name","timezone_offset","id","timezone-offset",1,"w-100",3,"disabled"],["value","-12:00","selected","selected"],["value","-12:00"],["value","-11:00"],["value","-10:00"],["value","-09:50"],["value","-09:00"],["value","-08:00"],["value","-07:00"],["value","-06:00"],["value","-05:00"],["value","-04:50"],["value","-04:00"],["value","-03:50"],["value","-03:00"],["value","-02:00"],["value","-01:00"],["value","+00:00"],["value","+01:00"],["value","+02:00"],["value","+03:00"],["value","+03:50"],["value","+04:00"],["value","+04:50"],["value","+05:00"],["value","+05:50"],["value","+05:75"],["value","+06:00"],["value","+06:50"],["value","+07:00"],["value","+08:00"],["value","+08:75"],["value","+09:00"],["value","+09:50"],["value","+10:00"],["value","+10:50"],["value","+11:00"],["value","+11:50"],["value","+12:00"],["value","+12:75"],["value","+13:00"],["value","+14:00"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,Do,1,0,"mat-spinner",1),t.YNc(4,bn,12,8,"div",2)),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,3,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.TITLE"),"\n"),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,I.lW,b.KE,b.hX,Y.gD,h.sg,J.ey,M.Hw,N.gM,m._Y,m.JL,m.F,m.YN,m.Kr,m.EJ,m.JJ,m.On],pipes:[_.X$,h.gd],styles:[".left[_ngcontent-%COMP%]{margin-left:10px}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),i})();function Cn(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.hij(" ",t.lcZ(1,1,"MEMBER_DETAIL.ENTITY")," ")}function Sn(i,n){if(1&i&&t._UZ(0,"app-one-entity-attribute-page",5),2&i){const e=t.oxw();t.Q6J("entity","member")("entityId",e.memberId)}}function Zn(i,n){1&i&&(t._uU(0),t.ALo(1,"translate"),t.ALo(2,"translate")),2&i&&t.AsE(" ",t.lcZ(1,2,"MEMBER_DETAIL.ENTITY")," - ",t.lcZ(2,4,"GROUP_DETAIL.ENTITY")," ")}function xn(i,n){if(1&i&&t._UZ(0,"app-two-entity-attribute-page",6),2&i){const e=t.oxw(2);t.Q6J("firstEntity","member")("firstEntityId",e.memberId)("secondEntity","group")}}function Nn(i,n){1&i&&(t.TgZ(0,"mat-tab"),t.YNc(1,Zn,3,6,"ng-template",1),t.YNc(2,xn,1,3,"ng-template",2),t.qZA())}function On(i,n){1&i&&(t._uU(0),t.ALo(1,"translate"),t.ALo(2,"translate")),2&i&&t.AsE(" ",t.lcZ(1,2,"MEMBER_DETAIL.ENTITY")," - ",t.lcZ(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function Rn(i,n){if(1&i&&t._UZ(0,"app-two-entity-attribute-page",6),2&i){const e=t.oxw(2);t.Q6J("firstEntity","member")("firstEntityId",e.memberId)("secondEntity","resource")}}function Dn(i,n){1&i&&(t.TgZ(0,"mat-tab"),t.YNc(1,On,3,6,"ng-template",1),t.YNc(2,Rn,1,3,"ng-template",2),t.qZA())}function Ln(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.hij(" ",t.lcZ(1,1,"ADMIN_USER.ENTITY")," ")}function Mn(i,n){if(1&i&&t._UZ(0,"app-one-entity-attribute-page",7),2&i){const e=t.oxw();t.Q6J("entityId",e.member.userId)("entity","user")}}function Pn(i,n){1&i&&(t._uU(0),t.ALo(1,"translate"),t.ALo(2,"translate")),2&i&&t.AsE(" ",t.lcZ(1,2,"ADMIN_USER.ENTITY")," - ",t.lcZ(2,4,"FACILITY_DETAIL.ENTITY")," ")}function Un(i,n){if(1&i&&t._UZ(0,"app-two-entity-attribute-page",6),2&i){const e=t.oxw(2);t.Q6J("firstEntity","user")("firstEntityId",e.member.userId)("secondEntity","facility")}}function Gn(i,n){1&i&&(t.TgZ(0,"mat-tab"),t.YNc(1,Pn,3,6,"ng-template",1),t.YNc(2,Un,1,3,"ng-template",2),t.qZA())}let wn=(()=>{class i{constructor(e,o,a){this.route=e,this.authResolver=o,this.memberManager=a}ngOnInit(){this.route.parent.params.subscribe(e=>{this.memberId=e.memberId,this.memberManager.getMemberById(this.memberId).subscribe(o=>{this.member=o,this.memberGroupAttAuth=this.authResolver.isAuthorized("getMemberGroups_Member_policy",[this.member]),this.memberResourceAttAuth=this.authResolver.isAuthorized("getAssignedResourcesWithStatus_Member_policy",[this.member]),this.userFacilityAttAuth=this.authResolver.isAuthorized("getAssignedFacilities_User_policy",[{beanName:"User",id:o.userId}])})})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(E.gz),t.Y36(u.x4),t.Y36(g.uq))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-member-attributes"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:14,vars:6,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[1,"mb-2"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"],[3,"entityId","entity"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-tab-group"),t.TgZ(5,"mat-tab"),t.YNc(6,Cn,2,3,"ng-template",1),t.YNc(7,Sn,1,2,"ng-template",2),t.qZA(),t.YNc(8,Nn,3,0,"mat-tab",3),t.YNc(9,Dn,3,0,"mat-tab",3),t.TgZ(10,"mat-tab",4),t.YNc(11,Ln,2,3,"ng-template",1),t.YNc(12,Mn,1,2,"ng-template",2),t.qZA(),t.YNc(13,Gn,3,0,"mat-tab",3),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,4,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),t.xp6(6),t.Q6J("ngIf",o.memberGroupAttAuth),t.xp6(1),t.Q6J("ngIf",o.memberResourceAttAuth),t.xp6(4),t.Q6J("ngIf",o.userFacilityAttAuth))},directives:[R.SP,R.uX,R.uD,R.Vc,z.t,h.O5,_t.Y],pipes:[_.X$],styles:[""]}),i})(),yn=(()=>{class i{constructor(e,o,a,s){this.sideMenuService=e,this.voService=o,this.authResolver=a,this.entityStorageService=s,this.items=[]}ngOnInit(){this.vo=this.entityStorageService.getEntity(),this.initItems()}initItems(){this.items=[{cssIcon:"perun-resource",url:`/organizations/${this.vo.id}/resources/preview`,label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",style:"vo-btn"}],this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-resource-tags",url:`/organizations/${this.vo.id}/resources/tags`,label:"MENU_ITEMS.VO.RESOURCE_TAGS",style:"vo-btn"}),this.authResolver.isAuthorized("getResourcesState_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-resources-state",url:`/organizations/${this.vo.id}/resources/states`,label:"MENU_ITEMS.VO.RESOURCE_STATES",style:"vo-btn"})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(y.D),t.Y36(g.YF),t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-resources-overview"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-menu-buttons-field",0),t.qZA()),2&e&&(t.xp6(1),t.Q6J("items",o.items)("size","small"))},directives:[V.L],styles:[""]}),i})();var qn=l(68056),Fn=l(24219),x=l(20449),Vn=l(17584);function Yn(i,n){1&i&&t._UZ(0,"mat-spinner",6)}function Jn(i,n){1&i&&t._UZ(0,"th",15)}function Qn(i,n){if(1&i&&(t.TgZ(0,"td",16),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.Oqu(e.tagName)}}function kn(i,n){1&i&&t._UZ(0,"tr",17)}function Bn(i,n){1&i&&t._UZ(0,"tr",18)}function jn(i,n){if(1&i&&(t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,Jn,1,0,"th",11),t.YNc(10,Qn,2,1,"td",12),t.BQk(),t.YNc(11,kn,1,0,"tr",13),t.YNc(12,Bn,1,0,"tr",14),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,"DIALOGS.DELETE_RESOURCE_TAG.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.DELETE_RESOURCE_TAG.ASK")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let Hn=(()=>{class i{constructor(e,o,a){this.dialogRef=e,this.data=o,this.resourceManager=a,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new c.by(this.data.tagsForDelete)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;for(const e of this.data.tagsForDelete)this.resourceManager.deleteResourceTag({resourceTag:e}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.dialogRef.close(!0))}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(g.xk))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-delete-resource-tag-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Yn,1,0,"mat-spinner",1),t.YNc(5,jn,13,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return o.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.DELETE_RESOURCE_TAG.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.DELETE_RESOURCE_TAG.CANCEL")," "),t.xp6(2),t.Q6J("disabled",o.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.DELETE_RESOURCE_TAG.SUBMIT")," "))},directives:[p.uh,h.O5,f.$g,p.xY,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.as,c.XQ,c.nj,c.Gk,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();var C=l(10036),w=l(96214),P=l(7434),$n=l(17672);function zn(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().create()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.CREATE_BUTTON"),"\n"))}function Xn(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().deleteTag()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"VO_DETAIL.RESOURCES.TAGS.DELETE_BUTTON"),"\n")}}function Wn(i,n){1&i&&t._UZ(0,"mat-spinner",9)}function Kn(i,n){if(1&i&&t._UZ(0,"app-resources-tags-list",10),2&i){const e=t.oxw();t.Q6J("selection",e.selection)("tableId",e.tableId)("resourceTags",e.resourceTag)("filterValue",e.filterValue)("displayedColumns",e.displayedColumns)("entity","vo")}}let ta=(()=>{class i{constructor(e,o,a,s,r,d){this.resourceManager=e,this.dialog=o,this.notificator=a,this.translator=s,this.authResolver=r,this.entityStorageService=d,this.loading=!1,this.resourceTag=[],this.selection=new x.Ov(!0,[]),this.tableId=C.O7,this.displayedColumns=[]}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.updateData()}deleteTag(){const e=(0,T.kZ)();e.width="450px",e.data={tagsForDelete:this.selection.selected,theme:"vo-theme"},this.dialog.open(Hn,e).afterClosed().subscribe(a=>{a&&(this.translator.get("VO_DETAIL.RESOURCES.TAGS.DELETE_SUCCESS").subscribe(s=>{this.notificator.showSuccess(s)}),this.updateData())})}create(){const e=(0,T.kZ)();e.width="450px",e.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(Vn.p,e).afterClosed().subscribe(a=>{a&&(this.translator.get("VO_DETAIL.RESOURCES.TAGS.CREATE_SUCCESS").subscribe(s=>{this.notificator.showSuccess(s)}),this.updateData())})}updateData(){this.loading=!0,this.selection.clear(),this.resourceManager.getAllResourcesTagsForVo(this.vo.id).subscribe(e=>{this.resourceTag=e,this.selection.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.displayedColumns=[],this.createAuth=this.authResolver.isAuthorized("createResourceTag_ResourceTag_Vo_policy",[this.vo]),this.deleteAuth=this.authResolver.isAuthorized("deleteResourceTag_ResourceTag_policy",[this.vo]),this.editAuth=this.authResolver.isAuthorized("updateResourceTag_ResourceTag_policy",[this.vo]),this.displayedColumns=this.deleteAuth?["select","id","name"]:["id","name"],this.editAuth&&this.displayedColumns.push("edit")}applyFilter(e){this.filterValue=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.xk),t.Y36(p.uw),t.Y36(u.V6),t.Y36(_.sK),t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-resources-tags"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2 action-button","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"selection","tableId","resourceTags","filterValue","displayedColumns","entity",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"selection","tableId","resourceTags","filterValue","displayedColumns","entity"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return o.updateData()}),t.qZA(),t.YNc(4,zn,3,3,"button",2),t.YNc(5,Xn,3,4,"button",3),t.TgZ(6,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.YNc(7,Wn,1,0,"mat-spinner",5),t.YNc(8,Kn,1,6,"app-resources-tags-list",6)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"VO_DETAIL.RESOURCES.TAGS.TITLE")),t.xp6(3),t.Q6J("ngIf",o.createAuth),t.xp6(1),t.Q6J("ngIf",o.deleteAuth),t.xp6(1),t.Q6J("placeholder","VO_DETAIL.RESOURCES.TAGS.SEARCH"),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[w.t,h.O5,I.lW,P.L,f.$g,$n.o],pipes:[_.X$],styles:[""]}),i})();function ea(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"app-expiration-settings",1),t.NdJ("saveAttribute",function(a){return t.CHM(e),t.oxw().saveExpirationAttribute(a)}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("expirationAttribute",e.expirationAttribute)}}let ia=(()=>{class i{constructor(e,o,a,s,r){this.attributesManager=e,this.translate=o,this.notificator=a,this.apiRequest=s,this.entityStorageService=r,this.translate.get("GROUP_DETAIL.SETTINGS.EXPIRATION.SUCCESS_MESSAGE").subscribe(d=>this.successMessage=d),this.translate.get("GROUP_DETAIL.SETTINGS.EXPIRATION.ERROR_MESSAGE").subscribe(d=>this.errorMessage=d)}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.loadSettings()}loadSettings(){this.attributesManager.getGroupAttributeByName(this.group.id,S.r.GROUP_DEF_EXPIRATION_RULES).subscribe(e=>{this.expirationAttribute=e})}saveExpirationAttribute(e){this.apiRequest.dontHandleErrorForNext(),this.attributesManager.setGroupAttribute({group:this.group.id,attribute:e}).subscribe(()=>{this.loadSettings(),this.notificator.showSuccess(this.successMessage)},o=>this.notificator.showRPCError(o.error,this.errorMessage))}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.H8),t.Y36(_.sK),t.Y36(u.V6),t.Y36(u.F5),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-settings-expiration"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(e,o){1&e&&t.YNc(0,ea,1,1,"app-expiration-settings",0),2&e&&t.Q6J("ngIf",void 0!==o.expirationAttribute)},directives:[h.O5,ut],styles:[""]}),i})(),oa=(()=>{class i{constructor(e,o){this.guiAuthResolver=e,this.entityStorageService=o,this.availableRoles=[],this.selected="user",this.type="Group",this.theme="group-theme"}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Group")}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-settings-managers"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:1,vars:4,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(e,o){1&e&&t._UZ(0,"app-managers-page",0),2&e&&t.Q6J("complementaryObject",o.group)("complementaryObjectType",o.type)("theme",o.theme)("availableRoles",o.availableRoles)},directives:[dt.s],styles:[""]}),i})();function na(i,n){1&i&&t._UZ(0,"mat-spinner",6)}function aa(i,n){1&i&&t._UZ(0,"th",15)}function sa(i,n){if(1&i&&(t.TgZ(0,"td",16),t._uU(1),t.qZA()),2&i){const e=n.$implicit,o=t.oxw(2);t.xp6(1),t.Oqu(o.getMailType(e))}}function ra(i,n){1&i&&t._UZ(0,"tr",17)}function la(i,n){1&i&&t._UZ(0,"tr",18)}function ca(i,n){if(1&i&&(t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,aa,1,0,"th",11),t.YNc(10,sa,2,1,"td",12),t.BQk(),t.YNc(11,ra,1,0,"tr",13),t.YNc(12,la,1,0,"tr",14),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CONFIRMATION")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let gt=(()=>{class i{constructor(e,o,a,s,r){this.dialogRef=e,this.data=o,this.notificator=a,this.translate=s,this.registrarService=r,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new c.by(this.data.mails)}onCancel(){this.dialogRef.close(!1)}onSubmit(){if(this.loading=!0,this.data.groupId)for(const e of this.data.mails)this.registrarService.deleteApplicationMailForGroup(this.data.groupId,e.id).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1);else for(const e of this.data.mails)this.registrarService.deleteApplicationMailForVo(this.data.voId,e.id).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}getMailType(e){let o="";return null==e.mailType||0===e.mailType.length?o="":this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_"+e.mailType).subscribe(a=>{o=a}),o}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(u.V6),t.Y36(_.sK),t.Y36(g.tk))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-delete-notification-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,na,1,0,"mat-spinner",1),t.YNc(5,ca,13,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return o.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CANCEL")," "),t.xp6(2),t.Q6J("disabled",o.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.SUBMIT")," "))},directives:[p.uh,h.O5,f.$g,p.xY,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.as,c.XQ,c.nj,c.Gk,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();var pa=l(74533);function ua(i,n){1&i&&t._UZ(0,"mat-spinner",7)}function da(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",8),t.TgZ(1,"div"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-form-field"),t.TgZ(5,"textarea",9),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().mailFooter=a}),t.qZA(),t.qZA(),t.TgZ(6,"div",10),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.hij("",t.lcZ(3,4,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.LABEL"),":"),t.xp6(3),t.Q6J("cdkTextareaAutosize",!0)("ngModel",e.mailFooter),t.xp6(2),t.hij(" ",t.lcZ(8,6,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.DESCRIPTION")," ")}}let ht=(()=>{class i{constructor(e,o,a,s,r){this.dialogRef=e,this.attributesManager=o,this.translateService=a,this.notificator=s,this.data=r,this.mailFooter="",this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.data.groupId?this.getFooterForGroup():this.getFooterForVo(),this.loading=!1}submit(){this.loading=!0,this.mailAttribute.value=this.mailFooter,this.data.groupId?this.attributesManager.setGroupAttribute({group:this.data.groupId,attribute:this.mailAttribute}).subscribe(()=>{this.notificateSuccess(),this.dialogRef.close()},()=>this.loading=!1):this.attributesManager.setVoAttribute({vo:this.data.voId,attribute:this.mailAttribute}).subscribe(()=>{this.notificateSuccess(),this.dialogRef.close()},()=>this.loading=!1)}cancel(){this.dialogRef.close()}getFooterForVo(){this.attributesManager.getVoAttributeByName(this.data.voId,S.r.VO_DEF_MAIL_FOOTER).subscribe(e=>{this.mailAttribute=e,this.editAuth=this.mailAttribute.writable,this.mailFooter=e.value?e.value:""})}getFooterForGroup(){this.attributesManager.getGroupAttributeByName(this.data.groupId,S.r.GROUP_DEF_MAIL_FOOTER).subscribe(e=>{this.mailAttribute=e,this.editAuth=this.mailAttribute.writable,this.mailFooter=e.value?e.value:""})}notificateSuccess(){this.translateService.get("DIALOGS.NOTIFICATIONS_EDIT_FOOTER.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close()})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(g.H8),t.Y36(_.sK),t.Y36(u.V6),t.Y36(p.WI))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-edit-email-footer-dialog"]],decls:15,vars:20,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"cdkTextareaAutosize","ngModel","ngModelChange"],[1,"mt-2","font-italic","text-muted"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,ua,1,0,"mat-spinner",1),t.YNc(5,da,9,8,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.cancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"div",5),t.ALo(11,"translate"),t.TgZ(12,"button",6),t.NdJ("click",function(){return o.submit()}),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,12,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,14,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.CANCEL_BUTTON")," "),t.xp6(2),t.s9C("matTooltip",t.lcZ(11,16,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.HINT")),t.Q6J("matTooltipDisabled",o.editAuth)("matTooltipPosition","above"),t.xp6(2),t.Q6J("disabled",o.loading||!o.editAuth),t.xp6(1),t.hij(" ",t.lcZ(14,18,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.SUBMIT_BUTTON")," "))},directives:[p.uh,h.O5,f.$g,p.xY,b.KE,G.Nt,pa.IC,m.Fj,m.JJ,m.On,p.H8,I.lW,N.gM],pipes:[_.X$],styles:[""]}),i})();var _a=l(53435);function ma(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",1),t.TgZ(2,"button",2),t.NdJ("click",function(){const s=t.CHM(e).$implicit;return t.oxw().addTag("{"+s[0]+"}")}),t.ALo(3,"translate"),t._uU(4),t.qZA(),t.TgZ(5,"span",3),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.qZA(),t._UZ(8,"mat-divider",4),t.qZA()}if(2&i){const e=n.$implicit;t.xp6(2),t.s9C("matTooltip",t.lcZ(3,3,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TAG_HINT")),t.xp6(2),t.hij(" ",e[0]," "),t.xp6(2),t.hij(" ",t.lcZ(7,5,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL."+e[1])," ")}}let ga=(()=>{class i{constructor(){this.tags=[],this.addedTag=new t.vpe}addTag(e){this.addedTag.emit(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-tag-section"]],inputs:{tags:"tags"},outputs:{addedTag:"addedTag"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[1,"d-flex","flex-row"],["matTooltipPosition","above","mat-flat-button","",1,"tag-text","w-25",3,"matTooltip","click"],[1,"w-75"],[1,"mt-1","mb-1"]],template:function(e,o){1&e&&t.YNc(0,ma,9,7,"div",0),2&e&&t.Q6J("ngForOf",o.tags)},directives:[h.sg,I.lW,N.gM,W.d],pipes:[_.X$],styles:[".tag-text[_ngcontent-%COMP%]{font-size:.9rem;font-weight:700}"]}),i})(),ha=(()=>{class i{constructor(){this.addedTag=new t.vpe,this.applicationRelatedTags=[],this.userRelatedTags=[],this.validationLinksUsersTags=[],this.applicationLinksUsersTags=[],this.applicationLinksAdministratorsTags=[],this.perunLinksAdministratorsTags=[],this.userInvitationsTags=[]}ngOnInit(){this.getApplicationRelatedTags(),this.getUserRelatedTags(),this.getValidationLinksUsersTags(),this.getApplicationLinksUsersTags(),this.getApplicationLinksAdministratorsTags(),this.getPerunLinksAdministratorsTags(),this.getUserInvitationsTags()}getApplicationRelatedTags(){const e=[];e.push(["appId","APPID_DESCRIPTION"]),e.push(["actor","ACTOR_DESCRIPTION"]),e.push(["extSource","EXTSOURCE_DESCRIPTION"]),e.push(["voName","VONAME_DESCRIPTION"]),e.push(["groupName","GROUPNAME_DESCRIPTION"]),e.push(["mailFooter","MAILFOOTER_DESCRIPTION"]),e.push(["errors","ERRORS_DESCRIPTION"]),e.push(["customMessage","CUSTOMMESSAGE_DESCRIPTION"]),e.push(["fromApp-itemName","FROMAPPITEMNAME_DESCRIPTION"]),this.applicationRelatedTags=e}getUserRelatedTags(){const e=[];e.push(["firstName","FIRSTNAME_DESCRIPTION"]),e.push(["lastName","LASTNAME_DESCRIPTION"]),e.push(["displayName","DISPLAYNAME_DESCRIPTION"]),e.push(["mail","MAIL_DESCRIPTION"]),e.push(["phone","PHONE_DESCRIPTION"]),e.push(["login-namespace","LOGINNAMESPACE_DESCRIPTION"]),e.push(["membershipExpiration","MEMBERSHIPEXPIRATION_DESCRIPTION"]),this.userRelatedTags=e}getValidationLinksUsersTags(){const e=[];e.push(["validationLink","VALIDATIONLINK_DESCRIPTION"]),e.push(["validationLink-krb","VALIDATIONKRB_DESCRIPTION"]),e.push(["validationLink-fed","VALIDATIONFED_DESCRIPTION"]),e.push(["validationLink-cert","VALIDATIONCERT_DESCRIPTION"]),e.push(["validationLink-non","VALIDATIONNON_DESCRIPTION"]),e.push(["redirectUrl","REDIRECTURL_DESCRIPTION"]),this.validationLinksUsersTags=e}getApplicationLinksUsersTags(){const e=[];e.push(["appGuiUrl","APPGUIURL_DESCRIPTION"]),e.push(["appGuiUrl-krb","APPGUIURLKRB_DESCRIPTION"]),e.push(["appGuiUrl-fed","APPGUIURLFED_DESCRIPTION"]),e.push(["appGuiUrl-cert","APPGUIURLCERT_DESCRIPTION"]),e.push(["appGuiUrl-non","APPGUIURLNON_DESCRIPTION"]),this.applicationLinksUsersTags=e}getApplicationLinksAdministratorsTags(){const e=[];e.push(["appDetailUrl","APPDETAILURL_DESCRIPTION"]),e.push(["appDetailUrl-krb","APPDETAILURLKRB_DESCRIPTION"]),e.push(["appDetailUrl-fed","APPDETAILURLFED_DESCRIPTION"]),e.push(["appDetailUrl-cert","APPDETAILURLCERT_DESCRIPTION"]),this.applicationLinksAdministratorsTags=e}getPerunLinksAdministratorsTags(){const e=[];e.push(["perunGuiUrl","PERUNGUIURL_DESCRIPTION"]),e.push(["perunGuiUrl-krb","PERUNGUIURLKRB_DESCRIPTION"]),e.push(["perunGuiUrl-fed","PERUNGUIURLFED_DESCRIPTION"]),e.push(["perunGuiUrl-cert","PERUNGUIURLCERT_DESCRIPTION"]),this.perunLinksAdministratorsTags=e}getUserInvitationsTags(){const e=[];e.push(["voName","USER_INVITATIONS_VONAME_DESCRIPTION"]),e.push(["groupName","USER_INVITATIONS_GROUPNAME_DESCRIPTION"]),e.push(["displayName","USER_INVITATIONS_DISPLAYNAME_DESCRIPTION"]),e.push(["mailFooter","USER_INVITATIONS_MAILFOOTER_DESCRIPTION"]),e.push(["invitationLink","INVITATIONLINK_DESCRIPTION"]),e.push(["invitationLink-krb","INVITATIONLINKKRB_DESCRIPTION"]),e.push(["invitationLink-fed","INVITATIONLINKFED_DESCRIPTION"]),e.push(["invitationLink-cert","INVITATIONLINKCERT_DESCRIPTION"]),e.push(["invitationLink-non","INVITATIONLINKNON_DESCRIPTION"]),this.userInvitationsTags=e}addTag(e){this.addedTag.emit(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-tag-bar"]],outputs:{addedTag:"addedTag"},decls:47,vars:46,consts:[["alert_type","info"],["cdkScrollable","",1,"scrollable"],[1,"font-weight-bold"],[3,"tags","addedTag"],[1,"font-weight-bold","pt-2"],[1,"font-italic","text-muted"]],template:function(e,o){1&e&&(t.TgZ(0,"app-alert",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",1),t.TgZ(4,"div",2),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"app-tag-section",3),t.NdJ("addedTag",function(s){return o.addTag(s)}),t.qZA(),t.TgZ(8,"div",4),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"app-tag-section",3),t.NdJ("addedTag",function(s){return o.addTag(s)}),t.qZA(),t.TgZ(12,"div",4),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.TgZ(15,"div",5),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.TgZ(18,"app-tag-section",3),t.NdJ("addedTag",function(s){return o.addTag(s)}),t.qZA(),t.TgZ(19,"div",4),t._uU(20),t.ALo(21,"translate"),t.qZA(),t.TgZ(22,"div",5),t._uU(23),t.ALo(24,"translate"),t.qZA(),t.TgZ(25,"app-tag-section",3),t.NdJ("addedTag",function(s){return o.addTag(s)}),t.qZA(),t.TgZ(26,"div",4),t._uU(27),t.ALo(28,"translate"),t.qZA(),t.TgZ(29,"div",5),t._uU(30),t.ALo(31,"translate"),t.qZA(),t.TgZ(32,"app-tag-section",3),t.NdJ("addedTag",function(s){return o.addTag(s)}),t.qZA(),t.TgZ(33,"div",4),t._uU(34),t.ALo(35,"translate"),t.qZA(),t.TgZ(36,"div",5),t._uU(37),t.ALo(38,"translate"),t.qZA(),t.TgZ(39,"app-tag-section",3),t.NdJ("addedTag",function(s){return o.addTag(s)}),t.qZA(),t.TgZ(40,"div",4),t._uU(41),t.ALo(42,"translate"),t.qZA(),t.TgZ(43,"div",5),t._uU(44),t.ALo(45,"translate"),t.qZA(),t.TgZ(46,"app-tag-section",3),t.NdJ("addedTag",function(s){return o.addTag(s)}),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,20,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TAGS_DESCRIPTION"),"\n"),t.xp6(4),t.hij(" ",t.lcZ(6,22,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_RELATED_SECTION"),": "),t.xp6(2),t.Q6J("tags",o.applicationRelatedTags),t.xp6(2),t.hij(" ",t.lcZ(10,24,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_RELATED_SECTION"),": "),t.xp6(2),t.Q6J("tags",o.userRelatedTags),t.xp6(2),t.hij(" ",t.lcZ(14,26,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_USERS_SECTION"),": "),t.xp6(3),t.hij(" ",t.lcZ(17,28,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_DESCRIPTION")," "),t.xp6(2),t.Q6J("tags",o.validationLinksUsersTags),t.xp6(2),t.hij(" ",t.lcZ(21,30,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_USERS_SECTION"),": "),t.xp6(3),t.hij(" ",t.lcZ(24,32,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_DESCRIPTION")," "),t.xp6(2),t.Q6J("tags",o.applicationLinksUsersTags),t.xp6(2),t.hij(" ",t.lcZ(28,34,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_SECTION"),": "),t.xp6(3),t.hij(" ",t.lcZ(31,36,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_DESCRIPTION")," "),t.xp6(2),t.Q6J("tags",o.applicationLinksAdministratorsTags),t.xp6(2),t.hij(" ",t.lcZ(35,38,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_SECTION"),": "),t.xp6(3),t.hij(" ",t.lcZ(38,40,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_DESCRIPTION")," "),t.xp6(2),t.Q6J("tags",o.perunLinksAdministratorsTags),t.xp6(2),t.hij(" ",t.lcZ(42,42,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_SECTION"),": "),t.xp6(3),t.hij(" ",t.lcZ(45,44,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_DESCRIPTION")," "),t.xp6(2),t.Q6J("tags",o.userInvitationsTags))},directives:[U.w,_a.PQ,ga],pipes:[_.X$],styles:[".scrollable[_ngcontent-%COMP%]{height:370px;overflow:auto}"]}),i})();function Ta(i,n){1&i&&(t.TgZ(0,"div"),t.TgZ(1,"h1",9),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.qZA()),2&i&&(t.xp6(2),t.Oqu(t.lcZ(3,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_CREATE")))}function Aa(i,n){1&i&&(t.TgZ(0,"h1",9),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_EDIT")))}function fa(i,n){1&i&&t._UZ(0,"mat-spinner",10)}function Ia(i,n){1&i&&(t.TgZ(0,"mat-option",37),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APPROVABLE_GROUP_APP_USER")," "))}function Ea(i,n){1&i&&(t.TgZ(0,"div",35),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_EDIT")," "))}function va(i,n){1&i&&(t.TgZ(0,"div",35),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_CREATE")," "))}function ba(i,n){1&i&&(t.TgZ(0,"mat-option",38),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EXTENSION")," "))}function Ca(i,n){1&i&&(t.TgZ(0,"div",35),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_EDIT")," "))}function Sa(i,n){1&i&&(t.TgZ(0,"div",35),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_CREATE")," "))}function Za(i,n){1&i&&t._UZ(0,"mat-divider",52)}function xa(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",40),t.TgZ(1,"div",41),t.TgZ(2,"div",42),t.TgZ(3,"button",43),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(3);return a.showTags=!a.showTags}),t._uU(4),t.ALo(5,"translate"),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"span",44),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"mat-form-field",18),t.TgZ(11,"input",45,46),t.NdJ("focus",function(){return t.CHM(e),t.oxw(3).isTextFocused=!1})("ngModelChange",function(a){t.CHM(e);const s=t.oxw().$implicit;return t.oxw(2).applicationMail.message[s].subject=a}),t.qZA(),t.qZA(),t.qZA(),t.TgZ(13,"div",47),t._uU(14),t.ALo(15,"translate"),t.qZA(),t.TgZ(16,"mat-form-field",18),t.TgZ(17,"textarea",48,49),t.NdJ("focus",function(){return t.CHM(e),t.oxw(3).isTextFocused=!0})("ngModelChange",function(a){t.CHM(e);const s=t.oxw().$implicit;return t.oxw(2).applicationMail.message[s].text=a}),t._uU(19," "),t.qZA(),t.qZA(),t.qZA(),t.YNc(20,Za,1,0,"mat-divider",50),t.TgZ(21,"div"),t.TgZ(22,"app-tag-bar",51),t.NdJ("addedTag",function(a){t.CHM(e);const s=t.MAs(12),r=t.MAs(18),d=t.oxw().$implicit;return t.oxw(2).addTag(s,r,d,a)}),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw().$implicit,o=t.oxw(2);t.xp6(4),t.hij(" ",o.showTags?t.lcZ(5,7,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.HIDE_TAGS"):t.lcZ(6,9,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SHOW_TAGS")," "),t.xp6(4),t.hij(" ",t.lcZ(9,11,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SUBJECT"),": "),t.xp6(3),t.Q6J("ngModel",o.applicationMail.message[e].subject),t.xp6(3),t.hij(" ",t.lcZ(15,13,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TEXT"),": "),t.xp6(3),t.Q6J("ngModel",o.applicationMail.message[e].text),t.xp6(3),t.Q6J("ngIf",o.showTags),t.xp6(1),t.Q6J("@tagsOpenClose",o.showTags?"open":"closed")}}function Na(i,n){1&i&&(t.TgZ(0,"mat-tab",14),t.ALo(1,"translate"),t.ALo(2,"uppercase"),t.YNc(3,xa,23,15,"ng-template",39),t.qZA()),2&i&&t.s9C("label",t.lcZ(1,1,t.lcZ(2,3,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.LANG_"+n.$implicit)))}function Oa(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",11),t.TgZ(1,"div"),t.TgZ(2,"app-alert",12),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.qZA(),t.TgZ(5,"mat-tab-group",13),t.TgZ(6,"mat-tab",14),t.ALo(7,"translate"),t.TgZ(8,"div",15),t.TgZ(9,"span",16),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.TgZ(12,"div",17),t.TgZ(13,"mat-form-field",18),t.TgZ(14,"mat-select",19),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().applicationMail.mailType=a})("selectionChange",function(){return t.CHM(e),t.oxw().notificationExist()}),t.TgZ(15,"mat-option",20),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.YNc(18,Ia,3,3,"mat-option",21),t.TgZ(19,"mat-option",22),t._uU(20),t.ALo(21,"translate"),t.qZA(),t.TgZ(22,"mat-option",23),t._uU(23),t.ALo(24,"translate"),t.qZA(),t.TgZ(25,"mat-option",24),t._uU(26),t.ALo(27,"translate"),t.qZA(),t.TgZ(28,"mat-option",25),t._uU(29),t.ALo(30,"translate"),t.qZA(),t.TgZ(31,"mat-option",26),t._uU(32),t.ALo(33,"translate"),t.qZA(),t.TgZ(34,"mat-option",27),t._uU(35),t.ALo(36,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(37,"div",28),t._UZ(38,"span",29),t.YNc(39,Ea,3,3,"div",30),t.YNc(40,va,3,3,"div",30),t.qZA(),t.TgZ(41,"div",15),t.TgZ(42,"span",31),t._uU(43),t.ALo(44,"translate"),t.qZA(),t.TgZ(45,"div",17),t.TgZ(46,"mat-form-field",18),t.TgZ(47,"mat-select",19),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().applicationMail.appType=a})("selectionChange",function(){return t.CHM(e),t.oxw().notificationExist()}),t.TgZ(48,"mat-option",32),t._uU(49),t.ALo(50,"translate"),t.qZA(),t.YNc(51,ba,3,3,"mat-option",33),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(52,"div",28),t._UZ(53,"span",29),t.YNc(54,Ca,3,3,"div",30),t.YNc(55,Sa,3,3,"div",30),t.qZA(),t.TgZ(56,"div",15),t.TgZ(57,"span",31),t._uU(58),t.ALo(59,"translate"),t.qZA(),t.TgZ(60,"div",17),t.TgZ(61,"mat-checkbox",34),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().applicationMail.send=a}),t.qZA(),t.qZA(),t.qZA(),t.TgZ(62,"div",28),t._UZ(63,"span",29),t.TgZ(64,"div",35),t._uU(65),t.ALo(66,"translate"),t.qZA(),t.qZA(),t.qZA(),t.YNc(67,Na,4,5,"mat-tab",36),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("@openClose",e.invalidNotification?"open":"closed"),t.xp6(2),t.Oqu(t.lcZ(4,27,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INVALID_NOTIFICATION")),t.xp6(3),t.s9C("label",t.lcZ(7,29,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.BASIC_SETTINGS")),t.xp6(4),t.hij("",t.lcZ(11,31,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE")," :"),t.xp6(4),t.Q6J("ngModel",e.applicationMail.mailType)("disabled",!e.data.createMailNotification),t.xp6(2),t.hij(" ",t.lcZ(17,33,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_USER")," "),t.xp6(2),t.Q6J("ngIf",e.data.groupId),t.xp6(2),t.hij(" ",t.lcZ(21,35,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_VO_ADMIN")," "),t.xp6(3),t.hij(" ",t.lcZ(24,37,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_MAIL_VALIDATION")," "),t.xp6(3),t.hij(" ",t.lcZ(27,39,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_APPROVED_USER")," "),t.xp6(3),t.hij(" ",t.lcZ(30,41,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_REJECTED_USER")," "),t.xp6(3),t.hij(" ",t.lcZ(33,43,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_ERROR_VO_ADMIN")," "),t.xp6(3),t.hij(" ",t.lcZ(36,45,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_USER_INVITE")," "),t.xp6(4),t.Q6J("ngIf",!e.data.createMailNotification),t.xp6(1),t.Q6J("ngIf",e.data.createMailNotification),t.xp6(3),t.hij("",t.lcZ(44,47,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE")," :"),t.xp6(4),t.Q6J("ngModel",e.applicationMail.appType)("disabled",!e.data.createMailNotification),t.xp6(2),t.hij(" ",t.lcZ(50,49,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INITIAL")," "),t.xp6(2),t.Q6J("ngIf","USER_INVITE"!==e.applicationMail.mailType),t.xp6(3),t.Q6J("ngIf",!e.data.createMailNotification),t.xp6(1),t.Q6J("ngIf",e.data.createMailNotification),t.xp6(3),t.hij("",t.lcZ(59,51,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED")," :"),t.xp6(3),t.Q6J("ngModel",e.applicationMail.send),t.xp6(4),t.hij(" ",t.lcZ(66,53,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED_DESCRIPTION")," "),t.xp6(2),t.Q6J("ngForOf",e.languages)}}function Ra(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",53),t.NdJ("click",function(){return t.CHM(e),t.oxw().create()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",e.invalidNotification||e.loading),t.xp6(1),t.hij(" ",t.lcZ(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CREATE_BUTTON")," ")}}function Da(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",53),t.NdJ("click",function(){return t.CHM(e),t.oxw().save()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",e.loading||!e.editAuth),t.xp6(1),t.hij(" ",t.lcZ(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SAVE_BUTTON")," ")}}let tt=(()=>{class i{constructor(e,o,a,s,r,d){this.dialogRef=e,this.registrarService=o,this.data=a,this.authResolver=s,this.groupsService=r,this.store=d,this.showTags=!1,this.isTextFocused=!0,this.invalidNotification=!1,this.loading=!1,this.languages=["en"]}ngOnInit(){this.languages=this.store.get("supported_languages"),this.applicationMail=this.data.applicationMail,this.theme=this.data.theme,this.data.groupId?this.groupsService.getGroupById(this.data.groupId).subscribe(e=>{this.editAuth=this.authResolver.isAuthorized("group-addMail_ApplicationForm_ApplicationMail_policy",[e])}):this.data.voId&&(this.editAuth=this.authResolver.isAuthorized("vo-addMail_ApplicationForm_ApplicationMail_policy",[{id:this.data.voId,beanName:"Vo"}]))}cancel(){this.dialogRef.close()}create(){this.notificationExist(),!this.invalidNotification&&(this.loading=!0,this.data.groupId?this.registrarService.addApplicationMailForGroup({group:this.data.groupId,mail:this.applicationMail}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.registrarService.addApplicationMailForVo({vo:this.data.voId,mail:this.applicationMail}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1))}save(){this.loading=!0,this.registrarService.updateApplicationMail({mail:this.applicationMail}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}addTag(e,o,a,s){let r;r=this.isTextFocused?o:e;const d=r.selectionStart;this.isTextFocused?this.applicationMail.message[a].text=this.applicationMail.message[a].text.substring(0,d)+s+this.applicationMail.message[a].text.substring(d):this.applicationMail.message[a].subject=this.applicationMail.message[a].subject.substring(0,d)+s+this.applicationMail.message[a].subject.substring(d),r.focus()}notificationExist(){for(const e of this.data.applicationMails)if(e.mailType===this.applicationMail.mailType&&e.appType===this.applicationMail.appType)return void(this.invalidNotification=!0);this.invalidNotification=!1}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(g.tk),t.Y36(p.WI),t.Y36(u.x4),t.Y36(g.ff),t.Y36(u.d6))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-add-edit-notification-dialog"]],decls:15,vars:17,consts:[[1,"h-100","d-flex","flex-column"],[4,"ngIf","ngIfElse"],["edit",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",1,"d-flex","mt-auto"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-dialog-title",""],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["alert_type","error"],["color","primary"],[3,"label"],[1,"d-flex"],[1,"w-25","m-auto","font-weight-bold"],[1,"w-75"],[1,"w-100"],["disableOptionCentering","",3,"ngModel","disabled","ngModelChange","selectionChange"],["value","APP_CREATED_USER"],["value","APPROVABLE_GROUP_APP_USER",4,"ngIf"],["value","APP_CREATED_VO_ADMIN"],["value","MAIL_VALIDATION"],["value","APP_APPROVED_USER"],["value","APP_REJECTED_USER"],["value","APP_ERROR_VO_ADMIN"],["value","USER_INVITE"],[1,"d-flex","mb-3"],[1,"w-25"],["class","w-75 font-italic text-muted",4,"ngIf"],[1,"w-25","font-weight-bold"],["value","INITIAL"],["value","EXTENSION",4,"ngIf"],[3,"ngModel","ngModelChange"],[1,"w-75","font-italic","text-muted"],[3,"label",4,"ngFor","ngForOf"],["value","APPROVABLE_GROUP_APP_USER"],["value","EXTENSION"],["matTabContent",""],[1,"d-flex","w-100"],[1,"pr-2","w-100"],[1,"pt-2"],["mat-stroked-button","",1,"right-button",3,"click"],[1,"font-weight-bold","pr-2"],["matInput","",3,"ngModel","focus","ngModelChange"],["Input",""],[1,"font-weight-bold"],["matInput","","rows","17",3,"ngModel","focus","ngModelChange"],["Textarea",""],["class","ml-3 mr-3","vertical","true",4,"ngIf"],[3,"addedTag"],["vertical","true",1,"ml-3","mr-3"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,o){if(1&e&&(t.TgZ(0,"div"),t.TgZ(1,"div",0),t.YNc(2,Ta,4,3,"div",1),t.YNc(3,Aa,3,3,"ng-template",null,2,t.W1O),t.YNc(5,fa,1,0,"mat-spinner",3),t.YNc(6,Oa,68,55,"div",4),t.TgZ(7,"div",5),t.TgZ(8,"button",6),t.NdJ("click",function(){return o.cancel()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.YNc(11,Ra,3,4,"button",7),t.TgZ(12,"div",8),t.ALo(13,"translate"),t.YNc(14,Da,3,4,"button",7),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e){const a=t.MAs(4);t.Gre("",o.theme," h-100"),t.xp6(2),t.Q6J("ngIf",o.data.createMailNotification)("ngIfElse",a),t.xp6(3),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(10,13,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CANCEL_BUTTON")," "),t.xp6(2),t.Q6J("ngIf",o.data.createMailNotification),t.xp6(1),t.s9C("matTooltip",t.lcZ(13,15,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EDIT_HINT")),t.Q6J("matTooltipPosition","above")("matTooltipDisabled",o.editAuth),t.xp6(2),t.Q6J("ngIf",!o.data.createMailNotification)}},directives:[h.O5,p.uh,f.$g,p.xY,U.w,R.SP,R.uX,b.KE,Y.gD,m.JJ,m.On,J.ey,B.oG,h.sg,R.Vc,I.lW,G.Nt,m.Fj,W.d,ha,p.H8,N.gM],pipes:[_.X$,h.gd],styles:[".right-button[_ngcontent-%COMP%]{display:block;margin-left:auto}"],data:{animation:[O.es,O.BQ]}}),i})();var La=l(62707);function Ma(i,n){1&i&&t._UZ(0,"mat-spinner",9)}let Tt=(()=>{class i{constructor(e,o,a,s,r,d){this.dialogRef=e,this.voService=o,this.groupService=a,this.translateService=s,this.registrarService=r,this.data=d,this.vos=[],this.groups=[],this.selectedVo=null,this.selectedGroup=null,this.loading=!1,this.nameFunction=A=>A.name}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.translateService.get("DIALOGS.NOTIFICATIONS_COPY_MAILS.NO_GROUP_SELECTED").subscribe(e=>{this.fakeGroup={id:-1,name:e,voId:0,parentGroupId:0,shortName:"",description:"",beanName:"group"},this.selectedGroup=this.fakeGroup,this.voService.getAllVos().subscribe(o=>{this.vos=o,this.vos=o.sort((a,s)=>a.name>s.name?1:a.namethis.loading=!1)}cancel(){this.dialogRef.close(!1)}submit(){this.loading=!0,this.data.groupId?this.selectedGroup===this.fakeGroup?this.registrarService.copyMailsFromVoToGroup(this.selectedVo.id,this.data.groupId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.registrarService.copyMailsFromGroupToGroup(this.selectedGroup.id,this.data.groupId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.selectedGroup===this.fakeGroup?this.registrarService.copyMailsFromVoToVo(this.selectedVo.id,this.data.voId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.registrarService.copyMailsFromGroupToVo(this.selectedGroup.id,this.data.voId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}voSelected(e){this.selectedVo=e,this.getGroups()}getGroups(){null!==this.selectedVo?this.groupService.getAllGroups(this.selectedVo.id).subscribe(e=>{this.groups=[this.fakeGroup].concat(e)}):this.groups=[this.fakeGroup]}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(g.YF),t.Y36(g.ff),t.Y36(_.sK),t.Y36(g.tk),t.Y36(p.WI))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-notifications-copy-mails-dialog"]],decls:22,vars:27,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container",3,"hidden"],[1,"mb-2","font-italic"],[1,"long-input",3,"vos","voSelected"],[1,"long-input",3,"groups","disableAutoSelect","groupSelected"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Ma,1,0,"mat-spinner",1),t.TgZ(5,"div",2),t.TgZ(6,"div",3),t._uU(7),t.ALo(8,"translate"),t.qZA(),t._uU(9),t.ALo(10,"translate"),t.TgZ(11,"perun-web-apps-vo-search-select",4),t.NdJ("voSelected",function(s){return o.voSelected(s)}),t.qZA(),t._uU(12),t.ALo(13,"translate"),t.TgZ(14,"perun-web-apps-group-search-select",5),t.NdJ("groupSelected",function(s){return o.selectedGroup=s}),t.qZA(),t.qZA(),t.TgZ(15,"div",6),t.TgZ(16,"button",7),t.NdJ("click",function(){return o.cancel()}),t._uU(17),t.ALo(18,"translate"),t.qZA(),t.TgZ(19,"button",8),t.NdJ("click",function(){return o.submit()}),t._uU(20),t.ALo(21,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,15,"DIALOGS.NOTIFICATIONS_COPY_MAILS.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("hidden",o.loading),t.xp6(2),t.hij(" ",t.lcZ(8,17,"DIALOGS.NOTIFICATIONS_COPY_MAILS.DESCRIPTION")," "),t.xp6(2),t.hij(" ",t.lcZ(10,19,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SOURCE_VO"),": "),t.xp6(2),t.Q6J("vos",o.vos),t.xp6(1),t.hij(" ",t.lcZ(13,21,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SOURCE_GROUP"),": "),t.xp6(2),t.Q6J("groups",o.groups)("disableAutoSelect",!0),t.xp6(3),t.hij(" ",t.lcZ(18,23,"DIALOGS.NOTIFICATIONS_COPY_MAILS.CANCEL_BUTTON")," "),t.xp6(2),t.Q6J("disabled",null===o.selectedVo||null===o.selectedGroup||o.loading),t.xp6(1),t.hij(" ",t.lcZ(21,25,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SUBMIT_BUTTON")," "))},directives:[p.uh,h.O5,f.$g,p.xY,La.M,lt.h,p.H8,I.lW],pipes:[_.X$],styles:[""],data:{animation:[O.BQ]}}),i})();var et=l(84847),Pa=l(18750);function Ua(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"th",16),t.TgZ(1,"mat-checkbox",17),t.NdJ("change",function(a){t.CHM(e);const s=t.oxw();return a?s.masterToggle():null}),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function Ga(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"td",18),t.TgZ(1,"mat-checkbox",19),t.NdJ("change",function(a){const r=t.CHM(e).$implicit,d=t.oxw();return a?d.toggle(r):null})("click",function(a){return a.stopPropagation()}),t.qZA(),t.qZA()}if(2&i){const e=n.$implicit,o=t.oxw();t.xp6(1),t.Q6J("aria-label",o.checkboxLabel(e))("checked",o.selection.isSelected(e))}}function wa(i,n){1&i&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_EMAIL_ID")," "))}function ya(i,n){if(1&i&&(t.TgZ(0,"td",21),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.hij(" ",e.id," ")}}function qa(i,n){1&i&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_EMAIL_TYPE")," "))}function Fa(i,n){if(1&i&&(t.TgZ(0,"td",22),t._uU(1),t.qZA()),2&i){const e=n.$implicit,o=t.oxw();t.xp6(1),t.Oqu(o.getMailType(e))}}function Va(i,n){1&i&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE")," "))}function Ya(i,n){1&i&&(t.TgZ(0,"div"),t.TgZ(1,"mat-icon",25),t._uU(2,"arrow_right_alt"),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()),2&i&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE_INITIAL")," "))}function Ja(i,n){1&i&&(t.TgZ(0,"mat-icon",26),t._uU(1,"cached"),t.qZA(),t._uU(2),t.ALo(3,"translate")),2&i&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE_EXTENSION")," "))}function Qa(i,n){if(1&i&&(t.TgZ(0,"td",22),t.YNc(1,Ya,5,3,"div",23),t.YNc(2,Ja,4,3,"ng-template",null,24,t.W1O),t.qZA()),2&i){const e=n.$implicit,o=t.MAs(3);t.xp6(1),t.Q6J("ngIf","INITIAL"===e.appType)("ngIfElse",o)}}function ka(i,n){1&i&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_SENDING_ENABLED")," "))}function Ba(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"td",22),t.TgZ(1,"section"),t.TgZ(2,"mat-checkbox",27),t.NdJ("change",function(){const s=t.CHM(e).$implicit;return t.oxw().changeSending(s)})("click",function(a){return a.stopPropagation()}),t.ALo(3,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=n.$implicit,o=t.oxw();t.xp6(2),t.s9C("matTooltip",t.lcZ(3,4,"VO_DETAIL.SETTINGS.NOTIFICATIONS.DISABLED_HINT")),t.Q6J("disabled",o.disableSend)("matTooltipDisabled",!o.disableSend)("ngModel",e.send)}}function ja(i,n){1&i&&t._UZ(0,"tr",28)}function Ha(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"tr",29),t.NdJ("click",function(){const s=t.CHM(e).$implicit;return t.oxw().openApplicationMailDetail(s)}),t.qZA()}2&i&&t.ekj("cursor-pointer",!0)}function $a(i,n){1&i&&(t.TgZ(0,"app-alert",30),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.NO_EMAILS"),"\n"))}let At=(()=>{class i{constructor(e,o,a,s,r,d){this.registrarService=e,this.translate=o,this.notificator=a,this.dialog=s,this.authResolver=r,this.tableCheckbox=d,this.displayedColumns=["select","id","mailType","appType","send"],this.disableSend=!1,this.selection=new x.Ov(!0,[]),this.selectionChange=new t.vpe,this.pageSizeOptions=T.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new c.by(this.applicationMails),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,"",this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,"",this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeSending(e){e.send?this.registrarService.setSendingEnabled({mails:[e],enabled:!1}).subscribe(()=>{e.send=!1}):this.registrarService.setSendingEnabled({mails:[e],enabled:!0}).subscribe(()=>{e.send=!0})}openApplicationMailDetail(e){const o=(0,T.kZ)();o.width="1400px",o.height="700px",o.data={theme:this.theme,voId:this.voId,groupId:this.groupId,createMailNotification:!1,applicationMail:e},this.dialog.open(tt,o).afterClosed().subscribe(s=>{s&&(this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.EDIT_SUCCESS").subscribe(r=>{this.notificator.showSuccess(r)}),this.selection.clear(),this.selectionChange.emit(this.selection),this.update())})}getMailType(e){let o="";return null==e.mailType||0===e.mailType.length?o="":this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_"+e.mailType).subscribe(a=>{o=a}),o}update(){this.groupId?this.registrarService.getApplicationMailsForGroup(this.groupId).subscribe(e=>{this.updateTable(e)}):this.registrarService.getApplicationMailsForVo(this.voId).subscribe(e=>{this.updateTable(e)})}toggle(e){this.selection.toggle(e),this.selectionChange.emit(this.selection)}updateTable(e){this.applicationMails=e,this.dataSource=new c.by(this.applicationMails),this.setDataSource()}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.tk),t.Y36(_.sK),t.Y36(u.V6),t.Y36(p.uw),t.Y36(u.x4),t.Y36(u.UA))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-notification-list"]],viewQuery:function(e,o){if(1&e&&(t.Gf(et.YE,7),t.Gf(T.l9,7)),2&e){let a;t.iGM(a=t.CRH())&&(o.matSort=a.first),t.iGM(a=t.CRH())&&(o.child=a.first)}},inputs:{applicationMails:"applicationMails",voId:"voId",groupId:"groupId",displayedColumns:"displayedColumns",disableSend:"disableSend",selection:"selection",tableId:"tableId",theme:"theme"},outputs:{selectionChange:"selectionChange"},features:[t.TTD],decls:21,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","hideExport","pageSizeOptions"],["mat-table","","matSort","","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","mailType"],["mat-cell","",4,"matCellDef"],["matColumnDef","appType"],["matColumnDef","send"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","click",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[4,"ngIf","ngIfElse"],["extension",""],["matTooltip","Initial","matTooltipPosition","above"],["matTooltip","Extension","matTooltipPosition","above"],[3,"disabled","matTooltipDisabled","ngModel","matTooltip","change","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"click"],["alert_type","warn"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,Ua,2,3,"th",4),t.YNc(5,Ga,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,wa,3,3,"th",7),t.YNc(8,ya,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,qa,3,3,"th",7),t.YNc(11,Fa,2,1,"td",10),t.BQk(),t.ynx(12,11),t.YNc(13,Va,3,3,"th",7),t.YNc(14,Qa,4,2,"td",10),t.BQk(),t.ynx(15,12),t.YNc(16,ka,3,3,"th",7),t.YNc(17,Ba,4,6,"td",10),t.BQk(),t.YNc(18,ja,1,0,"tr",13),t.YNc(19,Ha,1,2,"tr",14),t.qZA(),t.qZA(),t.qZA(),t.YNc(20,$a,3,3,"app-alert",15)),2&e&&(t.Q6J("hidden",0===o.applicationMails.length),t.xp6(1),t.Q6J("tableId",o.tableId)("dataLength",o.dataSource.filteredData.length)("hideExport",!0)("pageSizeOptions",o.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",o.dataSource),t.xp6(16),t.Q6J("matHeaderRowDef",o.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",o.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===o.applicationMails.length))},directives:[Pa.l,c.BZ,et.YE,c.w1,c.fO,c.ge,B.oG,c.Dz,c.ev,et.nU,h.O5,M.Hw,N.gM,m.JJ,m.On,c.as,c.XQ,c.nj,c.Gk,U.w],pipes:[_.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),i})();function za(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().add()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.ADD")," "))}function Xa(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw().remove()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"VO_DETAIL.SETTINGS.NOTIFICATIONS.REMOVE")," ")}}function Wa(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().copy()}),t.TgZ(1,"i",5),t._uU(2,"file_copy"),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()}2&i&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.COPY_FROM_VO")," "))}function Ka(i,n){1&i&&t._UZ(0,"mat-spinner",12)}function ts(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"app-notification-list",13),t.NdJ("selectionChange",function(a){return t.CHM(e),t.oxw().changeSelection(a)}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("applicationMails",e.applicationMails)("tableId",e.tableId)("voId",e.vo.id)("displayedColumns",e.displayedColumns)("disableSend",!e.addAuth)("selection",e.selection)("theme","vo-theme")}}let es=(()=>{class i{constructor(e,o,a,s,r,d,A,v,D){this.route=e,this.registrarService=o,this.translate=a,this.dialog=s,this.notificator=r,this.authResolver=d,this.voService=A,this.store=v,this.entityStorageService=D,this.loading=!1,this.applicationMails=[],this.selection=new x.Ov(!0,[]),this.tableId=C.VR,this.displayedColumns=[]}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.registrarService.getVoApplicationForm(this.vo.id).subscribe(e=>{this.applicationForm=e,this.registrarService.getApplicationMailsForVo(this.vo.id).subscribe(o=>{this.applicationMails=o,this.loading=!1})})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("vo-addMail_ApplicationForm_ApplicationMail_policy",[this.vo]),this.removeAuth=this.authResolver.isAuthorized("vo-deleteMailById_ApplicationForm_Integer_policy",[this.vo]),this.copyAuth=this.authResolver.isAuthorized("copyMailsFromVoToVo_Vo_Vo_policy",[this.vo]),this.displayedColumns=this.removeAuth?["select","id","mailType","appType","send"]:["id","mailType","appType","send"]}add(){const e=this.store.get("supported_languages"),o=(0,T.i5)(e);o.formId=this.applicationForm.id;const a=(0,T.kZ)();a.width="1400px",a.height="700px",a.data={theme:"vo-theme",voId:this.vo.id,createMailNotification:!0,applicationMail:o,applicationMails:this.applicationMails},this.dialog.open(tt,a).afterClosed().subscribe(r=>{r&&(this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.ADD_SUCCESS").subscribe(d=>{this.notificator.showSuccess(d)}),this.selection.clear(),this.updateTable())})}remove(){const e=(0,T.kZ)();e.width="500px",e.data={voId:this.vo.id,mails:this.selection.selected,theme:"vo-theme"},this.dialog.open(gt,e).afterClosed().subscribe(a=>{a&&(this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.DELETE_SUCCESS").subscribe(s=>{this.notificator.showSuccess(s)}),this.selection.clear(),this.updateTable())})}copy(){const e=(0,T.kZ)();e.width="500px",e.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(Tt,e).afterClosed().subscribe(a=>{a&&(this.selection.clear(),this.updateTable())})}updateTable(){this.loading=!0,this.registrarService.getApplicationMailsForVo(this.vo.id).subscribe(e=>{this.applicationMails=e,this.loading=!1})}changeEmailFooter(){const e=(0,T.kZ)();e.width="500px",e.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(ht,e)}changeSelection(e){this.selection=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(E.gz),t.Y36(g.tk),t.Y36(_.sK),t.Y36(p.uw),t.Y36(u.V6),t.Y36(u.x4),t.Y36(g.YF),t.Y36(u.d6),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-settings-notifications"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:14,vars:11,consts:[[1,"page-subtitle"],[1,"w-100","d-flex"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],[1,"material-icons"],["mat-stroked-button","","class","action-button",3,"click",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"applicationMails","tableId","voId","displayedColumns","disableSend","selection","theme","selectionChange",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"applicationMails","tableId","voId","displayedColumns","disableSend","selection","theme","selectionChange"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",1),t.YNc(4,za,3,3,"button",2),t.YNc(5,Xa,3,4,"button",3),t.TgZ(6,"button",4),t.NdJ("click",function(){return o.changeEmailFooter()}),t.TgZ(7,"i",5),t._uU(8,"email"),t.qZA(),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.YNc(11,Wa,5,3,"button",6),t.qZA(),t.YNc(12,Ka,1,0,"mat-spinner",7),t.YNc(13,ts,1,7,"app-notification-list",8)),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,7,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TITLE"),"\n"),t.xp6(3),t.Q6J("ngIf",o.addAuth),t.xp6(1),t.Q6J("ngIf",o.removeAuth),t.xp6(4),t.hij(" ",t.lcZ(10,9,"VO_DETAIL.SETTINGS.NOTIFICATIONS.EMAIL_FOOTER")," "),t.xp6(2),t.Q6J("ngIf",o.copyAuth),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,I.lW,f.$g,At],pipes:[_.X$],styles:[""]}),i})();var is=l(14336);function os(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).add()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.ADD")," "))}function ns(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).remove()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.REMOVE")," ")}}function as(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).copy()}),t.TgZ(1,"i",6),t._uU(2,"file_copy"),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()}2&i&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.COPY_FROM_VO")," "))}function ss(i,n){1&i&&t._UZ(0,"mat-spinner",13)}function rs(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"app-notification-list",14),t.NdJ("selectionChange",function(a){return t.CHM(e),t.oxw(2).changeSelection(a)}),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("disableSend",!e.addAuth)("displayedColumns",e.displayedColumns)("applicationMails",e.applicationMails)("tableId",e.tableId)("groupId",e.group.id)("selection",e.selection)("theme","group-theme")}}function ls(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",2),t.YNc(2,os,3,3,"button",3),t.YNc(3,ns,3,4,"button",4),t.TgZ(4,"button",5),t.NdJ("click",function(){return t.CHM(e),t.oxw().changeEmailFooter()}),t.TgZ(5,"i",6),t._uU(6,"email"),t.qZA(),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.YNc(9,as,5,3,"button",7),t.qZA(),t.YNc(10,ss,1,0,"mat-spinner",8),t.YNc(11,rs,1,7,"app-notification-list",9),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.Q6J("ngIf",e.addAuth),t.xp6(1),t.Q6J("ngIf",e.removeAuth),t.xp6(4),t.hij(" ",t.lcZ(8,6,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.EMAIL_FOOTER")," "),t.xp6(2),t.Q6J("ngIf",e.copyAuth),t.xp6(1),t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading)}}function cs(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",17),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).createEmptyApplicationForm()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.CREATE_APPLICATION_FORM")," "))}function ps(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"app-alert",15),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,cs,3,3,"button",16),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,2,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.NO_APPLICATION_FORM")),t.xp6(2),t.Q6J("ngIf",e.createFormAuth)}}let us=(()=>{class i{constructor(e,o,a,s,r,d,A,v){this.registrarService=e,this.translate=o,this.dialog=a,this.apiRequest=s,this.notificator=r,this.guiAuthResolver=d,this.attributesService=A,this.entityStorageService=v,this.loading=!1,this.applicationMails=[],this.selection=new x.Ov(!0,[]),this.noApplicationForm=!1,this.editEmailFooterAuth=!1,this.addAuth=!1,this.removeAuth=!1,this.copyAuth=!1,this.createFormAuth=!1,this.displayedColumns=[],this.tableId=C.AA}ngOnInit(){this.loading=!0,this.group=this.entityStorageService.getEntity(),this.setAuthRights(),this.apiRequest.dontHandleErrorForNext(),this.registrarService.getGroupApplicationForm(this.group.id).subscribe(e=>{this.applicationForm=e,this.registrarService.getApplicationMailsForGroup(this.group.id).subscribe(o=>{this.applicationMails=o,this.apiRequest.dontHandleErrorForNext(),this.attributesService.getGroupAttributeByName(this.group.id,S.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{this.setAuthRights(),this.loading=!1},a=>{"HttpErrorResponse"!==a.name&&this.notificator.showRPCError(a),this.setAuthRights(),this.loading=!1})})},e=>{"FormNotExistsException"===e.error.name?(this.noApplicationForm=!0,this.setAuthRights(),this.loading=!1):this.notificator.showRPCError(e)})}setAuthRights(){this.createFormAuth=this.guiAuthResolver.isAuthorized("createApplicationFormInGroup_Group_policy",[this.group]),this.addAuth=this.guiAuthResolver.isAuthorized("group-addMail_ApplicationForm_ApplicationMail_policy",[this.group]),this.removeAuth=this.guiAuthResolver.isAuthorized("group-deleteMailById_ApplicationForm_Integer_policy",[this.group]),this.copyAuth=this.guiAuthResolver.isAuthorized("copyMailsFromVoToGroup_Vo_Group_boolean_policy",[this.group]),this.displayedColumns=this.removeAuth?["select","id","mailType","appType","send"]:["id","mailType","appType","send"]}add(){const e=(0,T.i5)();e.formId=this.applicationForm.id;const o=(0,T.kZ)();o.width="1400px",o.height="700px",o.data={theme:"group-theme",voId:this.group.voId,groupId:this.group.id,createMailNotification:!0,applicationMail:e,applicationMails:this.applicationMails},this.dialog.open(tt,o).afterClosed().subscribe(s=>{s&&(this.translate.get("GROUP_DETAIL.SETTINGS.NOTIFICATIONS.ADD_SUCCESS").subscribe(r=>{this.notificator.showSuccess(r)}),this.selection.clear(),this.updateTable())})}remove(){const e=(0,T.kZ)();e.width="500px",e.data={voId:this.group.voId,groupId:this.group.id,mails:this.selection.selected,theme:"group-theme"},this.dialog.open(gt,e).afterClosed().subscribe(a=>{a&&(this.translate.get("GROUP_DETAIL.SETTINGS.NOTIFICATIONS.DELETE_SUCCESS").subscribe(s=>{this.notificator.showSuccess(s)}),this.selection.clear(),this.updateTable())})}copy(){const e=(0,T.kZ)();e.width="500px",e.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(Tt,e).afterClosed().subscribe(a=>{a&&(this.selection.clear(),this.updateTable())})}updateTable(){this.loading=!0,this.registrarService.getApplicationMailsForGroup(this.group.id).subscribe(e=>{this.applicationMails=e,this.loading=!1})}changeEmailFooter(){const e=(0,T.kZ)();e.width="500px",e.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(ht,e)}changeSelection(e){this.selection=e}createEmptyApplicationForm(){this.registrarService.createApplicationFormInGroup(this.group.id).subscribe(()=>{this.noApplicationForm=!1,this.ngOnInit()})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.tk),t.Y36(_.sK),t.Y36(p.uw),t.Y36(u.F5),t.Y36(u.V6),t.Y36(u.x4),t.Y36(g.H8),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-settings-notifications"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],[4,"ngIf"],[1,"w-100","d-flex"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],[1,"material-icons"],["mat-stroked-button","","class","action-button",3,"click",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"disableSend","displayedColumns","applicationMails","tableId","groupId","selection","theme","selectionChange",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"disableSend","displayedColumns","applicationMails","tableId","groupId","selection","theme","selectionChange"],["alert_type","warn"],["mat-stroked-button","",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,ls,12,8,"div",1),t.YNc(4,ps,5,4,"div",1)),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,3,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.TITLE"),"\n"),t.xp6(2),t.Q6J("ngIf",!o.noApplicationForm),t.xp6(1),t.Q6J("ngIf",o.noApplicationForm&&!o.loading))},directives:[h.O5,I.lW,f.$g,At,U.w],pipes:[_.X$],styles:[""]}),i})();var it=l(15935);function ds(i,n){1&i&&t._UZ(0,"mat-spinner",8)}function _s(i,n){if(1&i&&(t.TgZ(0,"div",9),t._UZ(1,"app-ext-sources-list",10),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("tableId",e.tableId)("extSources",e.extSources)("filterValue",e.filterValue)("selection",e.selection)}}let ft=(()=>{class i{constructor(e,o,a,s,r){this.dialogRef=e,this.data=o,this.extSourceService=a,this.notificator=s,this.translate=r,this.extSources=[],this.selection=new x.Ov(!0,[]),this.loading=!1,this.filterValue="",this.tableId=C.BV}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.data.groupId?this.extSourceService.getVoExtSources(this.data.voId).subscribe(e=>{this.extSources=e.filter(o=>!this.data.extSources.some(({id:a})=>a===o.id)),this.loading=!1},()=>this.loading=!1):this.extSourceService.getExtSources().subscribe(e=>{this.extSources=e.filter(o=>!this.data.extSources.some(({id:a})=>a===o.id)),this.loading=!1},()=>this.loading=!1)}applyFilter(e){this.filterValue=e}addVoExtSource(e){if(0===e.length)return void this.translate.get("DIALOGS.ADD_EXT_SOURCES.SUCCESS_ADDED").subscribe(a=>{this.notificator.showSuccess(a),this.dialogRef.close(!0)});const o=e.pop();this.extSourceService.addExtSourceWithVoSource(this.data.voId,o.id).subscribe(()=>{this.addVoExtSource(e)},()=>this.loading=!1)}addGroupExtSource(e){if(0===e.length)return void this.translate.get("DIALOGS.ADD_EXT_SOURCES.SUCCESS_ADDED").subscribe(a=>{this.notificator.showSuccess(a),this.dialogRef.close(!0)});const o=e.pop();this.extSourceService.addExtSourceWithGroupSource(this.data.groupId,o.id).subscribe(()=>{this.addGroupExtSource(e)},()=>this.loading=!1)}onAdd(){this.loading=!0,this.data.groupId?this.addGroupExtSource(this.selection.selected):this.addVoExtSource(this.selection.selected)}onCancel(){this.dialogRef.close(!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(g.KG),t.Y36(u.V6),t.Y36(_.sK))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-add-ext-source-dialog"]],decls:15,vars:16,consts:[["mat-dialog-title",""],[1,"page-subtitle"],[1,"font-size-1rem",3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[3,"tableId","extSources","filterValue","selection"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"div",0),t.TgZ(2,"h1",1),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.qZA(),t.YNc(6,ds,1,0,"mat-spinner",3),t.YNc(7,_s,2,4,"div",4),t.TgZ(8,"div",5),t.TgZ(9,"button",6),t.NdJ("click",function(){return o.onCancel()}),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.TgZ(12,"button",7),t.NdJ("click",function(){return o.onAdd()}),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(3),t.Oqu(t.lcZ(4,10,"DIALOGS.ADD_EXT_SOURCES.TITLE")),t.xp6(2),t.Q6J("placeholder","DIALOGS.ADD_EXT_SOURCES.FILTER"),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(11,12,"DIALOGS.ADD_EXT_SOURCES.CANCEL")," "),t.xp6(2),t.Q6J("disabled",0===o.selection.selected.length||o.loading),t.xp6(1),t.hij(" ",t.lcZ(14,14,"DIALOGS.ADD_EXT_SOURCES.ADD")," "))},directives:[p.uh,P.L,h.O5,f.$g,p.xY,it.D,p.H8,I.lW],pipes:[_.X$],styles:[".font-size-1rem[_ngcontent-%COMP%]{font-size:1rem!important}"]}),i})();function ms(i,n){1&i&&t._UZ(0,"mat-spinner",7)}function gs(i,n){1&i&&(t.TgZ(0,"th",17),t._uU(1,"id"),t.qZA())}function hs(i,n){if(1&i&&(t.TgZ(0,"td",18),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.Oqu(e.id)}}function Ts(i,n){1&i&&(t.TgZ(0,"th",17),t._uU(1,"name"),t.qZA())}function As(i,n){if(1&i&&(t.TgZ(0,"td",18),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.Oqu(e.name)}}function fs(i,n){1&i&&t._UZ(0,"tr",19)}function Is(i,n){1&i&&t._UZ(0,"tr",20)}function Es(i,n){if(1&i&&(t.TgZ(0,"div",8),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",9),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",10),t.ynx(8,11),t.YNc(9,gs,2,0,"th",12),t.YNc(10,hs,2,1,"td",13),t.BQk(),t.ynx(11,14),t.YNc(12,Ts,2,0,"th",12),t.YNc(13,As,2,1,"td",13),t.BQk(),t.YNc(14,fs,1,0,"tr",15),t.YNc(15,Is,1,0,"tr",16),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,"DIALOGS.REMOVE_EXT_SOURCES.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.REMOVE_EXT_SOURCES.ASK")," "),t.xp6(2),t.Q6J("dataSource",e.extSources),t.xp6(7),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let It=(()=>{class i{constructor(e,o,a,s,r,d){this.dialogRef=e,this.data=o,this.extSourceService=a,this.notificator=s,this.tableConfigService=r,this.translate=d,this.extSources=[],this.displayedColumns=["id","name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.extSources=this.data.extSources}removeVoExtSource(){if(0===this.extSources.length)return void this.translate.get("DIALOGS.REMOVE_EXT_SOURCES.SUCCESS_REMOVED").subscribe(o=>{this.notificator.showSuccess(o),this.dialogRef.close(!0)});const e=this.extSources.pop();this.extSourceService.removeExtSourceWithVoSource(this.data.voId,e.id).subscribe(()=>{this.onRemove()},()=>this.loading=!1)}removeGroupExtSource(){if(0===this.extSources.length)return void this.translate.get("DIALOGS.REMOVE_EXT_SOURCES.SUCCESS_REMOVED").subscribe(o=>{this.notificator.showSuccess(o),this.dialogRef.close(!0)});const e=this.extSources.pop();this.extSourceService.removeExtSourceWithGroupSource(this.data.groupId,e.id).subscribe(()=>{this.onRemove()},()=>this.loading=!1)}onRemove(){this.loading=!0,this.data.groupId?this.removeGroupExtSource():this.removeVoExtSource()}onCancel(){this.dialogRef.close(!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(g.KG),t.Y36(u.V6),t.Y36(C.dB),t.Y36(_.sK))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-remove-ext-source-dialog"]],decls:14,vars:14,consts:[["mat-dialog-title",""],[1,"page-subtitle"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"div",0),t.TgZ(2,"h1",1),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.qZA(),t.YNc(5,ms,1,0,"mat-spinner",2),t.YNc(6,Es,16,9,"div",3),t.TgZ(7,"div",4),t.TgZ(8,"button",5),t.NdJ("click",function(){return o.onCancel()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"button",6),t.NdJ("click",function(){return o.onRemove()}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(3),t.Oqu(t.lcZ(4,8,"DIALOGS.REMOVE_EXT_SOURCES.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(10,10,"DIALOGS.REMOVE_EXT_SOURCES.CANCEL")," "),t.xp6(3),t.hij(" ",t.lcZ(13,12,"DIALOGS.REMOVE_EXT_SOURCES.REMOVE")," "))},directives:[p.uh,h.O5,f.$g,p.xY,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.as,c.XQ,c.nj,c.Gk,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();function vs(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAdd()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.EXT_SOURCES.ADD")," "))}function bs(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onRemove()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"VO_DETAIL.SETTINGS.EXT_SOURCES.REMOVE")," ")}}function Cs(i,n){1&i&&t._UZ(0,"mat-spinner",9)}function Ss(i,n){if(1&i&&t._UZ(0,"app-ext-sources-list",10),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("extSources",e.extSources)("displayedColumns",e.displayedColumns)("filterValue",e.filterValue)("selection",e.selection)}}let Zs=(()=>{class i{constructor(e,o,a,s,r,d){this.extSourceService=e,this.dialog=o,this.notificator=a,this.translate=s,this.authResolver=r,this.entityStorageService=d,this.extSources=[],this.selection=new x.Ov(!0,[]),this.filterValue="",this.tableId=C.qV,this.displayedColumns=[],this.translate.get("VO_DETAIL.SETTINGS.EXT_SOURCES.SUCCESS_REMOVED").subscribe(A=>this.successMessage=A)}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addExtSource_Vo_ExtSource_policy",[this.vo]),this.removeAuth=this.authResolver.isAuthorized("removeExtSource_Vo_ExtSource_policy",[this.vo]),this.displayedColumns=this.removeAuth?["select","id","name","type"]:["id","name","type"]}refreshTable(){this.loading=!0,this.extSourceService.getVoExtSources(this.vo.id).subscribe(e=>{this.extSources=e,this.selection.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(e){this.filterValue=e}onAdd(){const e=(0,T.kZ)();e.width="1000px",e.data={voId:this.vo.id,extSources:this.extSources,theme:"vo-theme"},this.dialog.open(ft,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}onRemove(){const e=(0,T.kZ)();e.width="600px",e.data={voId:this.vo.id,extSources:this.selection.selected,theme:"vo-theme"},this.dialog.open(It,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.KG),t.Y36(p.uw),t.Y36(u.V6),t.Y36(_.sK),t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-settings-extsources"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2 action-button","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","extSources","displayedColumns","filterValue","selection",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","extSources","displayedColumns","filterValue","selection"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return o.refreshTable()}),t.qZA(),t.YNc(5,vs,3,3,"button",2),t.YNc(6,bs,3,4,"button",3),t.TgZ(7,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.YNc(8,Cs,1,0,"mat-spinner",5),t.YNc(9,Ss,1,5,"app-ext-sources-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,6,"VO_DETAIL.SETTINGS.EXT_SOURCES.TITLE")),t.xp6(3),t.Q6J("ngIf",o.addAuth),t.xp6(1),t.Q6J("ngIf",o.removeAuth),t.xp6(1),t.Q6J("placeholder","VO_DETAIL.SETTINGS.EXT_SOURCES.FILTER"),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[w.t,h.O5,I.lW,P.L,f.$g,it.D],pipes:[_.X$],styles:[""]}),i})();var Q=l(24179);function xs(i,n){1&i&&t._UZ(0,"mat-spinner",3)}const Ns=function(){return["select","id","name","description"]};function Os(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(a){return t.CHM(e),t.oxw().applyFilter(a)}),t.qZA(),t.TgZ(2,"div",5),t._UZ(3,"perun-web-apps-groups-list",6),t.qZA(),t.TgZ(4,"div",7),t.TgZ(5,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSubmit()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.Tol(e.theme),t.xp6(1),t.Q6J("placeholder","GROUP_DETAIL.SETTINGS.RELATIONS.FILTER"),t.xp6(2),t.Q6J("tableId",e.tableId)("groupsToDisableCheckbox",e.groupsToDisable)("disableGroups",!0)("groups",e.groups)("selection",e.selection)("displayedColumns",t.DdM(21,Ns))("filter",e.filterValue)("disableHeadCheckbox",!0)("disableRouting",!0)("authType","create-relation-dialog"),t.xp6(3),t.hij(" ",t.lcZ(7,17,"DIALOGS.CREATE_RELATION.CANCEL")," "),t.xp6(2),t.Q6J("disabled",e.loading||0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(10,19,"DIALOGS.CREATE_RELATION.CREATE")," ")}}let Rs=(()=>{class i{constructor(e,o,a,s,r,d){this.dialogRef=e,this.groupService=o,this.notificator=a,this.translate=s,this.guiAuthResolver=r,this.data=d,this.selection=new x.Ov(!1,[]),this.filterValue="",this.tableId=C.RS,this.groupsToDisable=new Set,s.get("DIALOGS.CREATE_RELATION.SUCCESS").subscribe(A=>this.successMessage=A)}ngOnInit(){this.loading=!0,this.groupService.getGroupUnions(this.data.group.id,!this.data.reverse).subscribe(e=>{e=e.concat(this.data.groups),this.groupService.getAllGroups(this.data.voId).subscribe(o=>{const a=e.map(s=>s.id);this.groups=o.filter(s=>!a.includes(s.id)&&s.id!==this.data.group.id),this.setGroupsToDisable(),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.groupService.createGroupUnion(this.data.group.id,this.selection.selected[0].id).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}applyFilter(e){this.filterValue=e}setGroupsToDisable(){for(const e of this.groups)this.guiAuthResolver.isAuthorized("createGroupUnion_Group_Group_policy",[this.data.group,e])||this.groupsToDisable.add(e.id)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(g.ff),t.Y36(u.V6),t.Y36(_.sK),t.Y36(u.x4),t.Y36(p.WI))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-create-relation-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"class",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"placeholder","filter"],["mat-dialog-content","",1,"dialog-container"],[3,"tableId","groupsToDisableCheckbox","disableGroups","groups","selection","displayedColumns","filter","disableHeadCheckbox","disableRouting","authType"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.YNc(4,xs,1,0,"mat-spinner",1),t.qZA(),t.YNc(5,Os,11,22,"div",2)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"DIALOGS.CREATE_RELATION.TITLE")),t.xp6(2),t.Tol(o.theme),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[p.uh,h.O5,f.$g,P.L,p.xY,Q.W,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();function Ds(i,n){1&i&&t._UZ(0,"mat-spinner",6)}function Ls(i,n){1&i&&t._UZ(0,"th",15)}function Ms(i,n){if(1&i&&(t.TgZ(0,"td",16),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.Oqu(e.name)}}function Ps(i,n){1&i&&t._UZ(0,"tr",17)}function Us(i,n){1&i&&t._UZ(0,"tr",18)}function Gs(i,n){if(1&i&&(t.TgZ(0,"div",7),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",8),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"table",9),t.ynx(8,10),t.YNc(9,Ls,1,0,"th",11),t.YNc(10,Ms,2,1,"td",12),t.BQk(),t.YNc(11,Ps,1,0,"tr",13),t.YNc(12,Us,1,0,"tr",14),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,"DIALOGS.REMOVE_RELATION.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(6,7,"DIALOGS.REMOVE_RELATION.ASK")," "),t.xp6(2),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let ws=(()=>{class i{constructor(e,o,a,s,r){this.dialogRef=e,this.data=o,this.notificator=a,this.groupService=s,this.translate=r,this.displayedColumns=["name"],r.get("DIALOGS.REMOVE_RELATION.SUCCESS").subscribe(d=>this.successMessage=d)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new c.by(this.data.groups)}onCancel(){this.dialogRef.close(!1)}onSubmit(){if(this.loading=!0,1===this.data.groups.length)this.groupService.removeGroupUnion(this.data.reverse?this.data.groups[0].id:this.data.groupId,this.data.reverse?this.data.groupId:this.data.groups[0].id).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1);else{const e=this.data.reverse?this.data.groups.shift().id:this.data.groupId,o=this.data.reverse?this.data.groupId:this.data.groups.shift().id;this.groupService.removeGroupUnion(e,o).subscribe(()=>{this.onSubmit(),this.dialogRef.close(!0)},()=>this.loading=!1)}}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(u.V6),t.Y36(g.ff),t.Y36(_.sK))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-remove-relation-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Ds,1,0,"mat-spinner",1),t.YNc(5,Gs,13,9,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return o.onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.REMOVE_RELATION.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.REMOVE_RELATION.CANCEL")," "),t.xp6(2),t.Q6J("disabled",o.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.REMOVE_RELATION.DELETE")," "))},directives:[p.uh,h.O5,f.$g,p.xY,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.as,c.XQ,c.nj,c.Gk,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();var ys=l(387);const qs=["list"];function Fs(i,n){1&i&&t._UZ(0,"mat-spinner",8)}const Vs=function(){return["select","id","vo","name","description"]};function Ys(i,n){if(1&i&&t._UZ(0,"perun-web-apps-groups-list",9,10),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("groups",e.groups)("parentGroup",e.group)("authType","group-relations")("selection",e.selection)("filter",e.filterValue)("displayedColumns",t.DdM(8,Vs))("disableHeadCheckbox",!0)}}let Js=(()=>{class i{constructor(e,o,a){this.groupService=e,this.dialog=o,this.entityStorageService=a,this.selection=new x.Ov(!0,[]),this.groups=[],this.reverse=!1,this.filterValue="",this.tableId=C._7}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.refreshTable()}onCreate(){const e=(0,T.kZ)();e.width="1050px",e.data={groups:this.groups,theme:"group-theme",group:this.group,voId:this.group.voId,reverse:this.reverse},this.dialog.open(Rs,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}onDelete(){const e=(0,T.kZ)();e.width="450px",e.data={groups:this.selection.selected,theme:"group-theme",groupId:this.group.id,reverse:this.reverse},this.dialog.open(ws,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}refreshTable(){this.loading=!0,this.groupService.getGroupUnions(this.group.id,this.reverse).subscribe(e=>{this.groups=e,this.selection.clear(),this.loading=!1},()=>this.loading=!1)}applyFilter(e){this.filterValue=e}showReverseUnions(){this.reverse=!this.reverse,this.refreshTable()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.ff),t.Y36(p.uw),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-settings-relations"]],viewQuery:function(e,o){if(1&e&&t.Gf(qs,5),2&e){let a;t.iGM(a=t.CRH())&&(o.list=a.first)}},hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("router-component",o.true)},decls:18,vars:20,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"matTooltip","matTooltipDisabled","disabled","click"],[3,"placeholder","filter"],[3,"change"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","groups","parentGroup","authType","selection","filter","displayedColumns","disableHeadCheckbox",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","groups","parentGroup","authType","selection","filter","displayedColumns","disableHeadCheckbox"],["list",""]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return o.refreshTable()}),t.qZA(),t.TgZ(5,"button",2),t.NdJ("click",function(){return o.onCreate()}),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"button",3),t.NdJ("click",function(){return o.onDelete()}),t.ALo(9,"translate"),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.TgZ(12,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.TgZ(13,"mat-checkbox",5),t.NdJ("change",function(){return o.showReverseUnions()}),t._uU(14),t.ALo(15,"translate"),t.qZA(),t.YNc(16,Fs,1,0,"mat-spinner",6),t.YNc(17,Ys,2,9,"perun-web-apps-groups-list",7),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,10,"GROUP_DETAIL.SETTINGS.RELATIONS.TITLE")),t.xp6(4),t.hij(" ",t.lcZ(7,12,"GROUP_DETAIL.SETTINGS.RELATIONS.CREATE")," "),t.xp6(2),t.s9C("matTooltip",t.lcZ(9,14,"GROUP_DETAIL.SETTINGS.RELATIONS.DELETE_TOOLTIP")),t.Q6J("matTooltipDisabled",0===o.selection.selected.length||void 0!==o.list&&o.list.removeAuth)("disabled",0===o.selection.selected.length||void 0!==o.list&&!o.list.removeAuth),t.xp6(2),t.hij(" ",t.lcZ(11,16,"GROUP_DETAIL.SETTINGS.RELATIONS.DELETE")," "),t.xp6(2),t.Q6J("placeholder","GROUP_DETAIL.SETTINGS.RELATIONS.FILTER"),t.xp6(2),t.Oqu(t.lcZ(15,18,"GROUP_DETAIL.SETTINGS.RELATIONS.REVERSE_UNIONS")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[w.t,I.lW,N.gM,P.L,B.oG,h.O5,f.$g,Q.W],pipes:[_.X$],styles:[""]}),i})();var Et=l(64901),Qs=l(9146);function ks(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",6),t.NdJ("click",function(){return t.CHM(e),t.oxw().showAllDetails=!0}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"MEMBER_DETAIL.APPLICATIONS.SHOW_ALL_DETAILS")," "))}function Bs(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",6),t.NdJ("click",function(){return t.CHM(e),t.oxw().showAllDetails=!1}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"MEMBER_DETAIL.APPLICATIONS.SHOW_LESS_DETAILS")," "))}function js(i,n){1&i&&t._UZ(0,"mat-spinner",7)}function Hs(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"app-applications-dynamic-list",8),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("tableId",e.showAllDetails?e.detailTableId:e.tableId)("searchString",e.filterValue)("member",e.member)("displayedColumns",e.showAllDetails?e.detailedDisplayedColumns:e.displayedColumns)("dateFrom",e.dateFrom)("refreshTable",e.refresh)}}let $s=(()=>{class i{constructor(e,o,a){this.registrarManager=e,this.memberManager=o,this.route=a,this.loading=!1,this.displayedColumns=["id","createdAt","type","state","user","groupName","modifiedBy"],this.detailedDisplayedColumns=["id","createdAt","voId","voName","groupId","groupName","type","state","extSourceName","extSourceType","user","createdBy","modifiedBy","modifiedAt","fedInfo"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=C.d7,this.tableId=C.vq,this.dateFrom=new Date("1970-01-01")}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(e=>{this.memberId=e.memberId,this.memberManager.getMemberById(this.memberId).subscribe(o=>{this.member=o,this.loading=!1})})}applyFilter(e){this.filterValue=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.tk),t.Y36(g.uq),t.Y36(E.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-member-applications"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","mat-stroked-button","",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"tableId","searchString","member","displayedColumns","states","dateFrom","refreshTable"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div"),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return o.refresh=!o.refresh}),t.qZA(),t.YNc(5,ks,3,3,"button",2),t.YNc(6,Bs,3,3,"button",2),t.TgZ(7,"perun-web-apps-debounce-filter",3),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.qZA(),t.YNc(8,js,1,0,"mat-spinner",4),t.YNc(9,Hs,2,6,"div",5)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"MEMBER_DETAIL.APPLICATIONS.TITLE")),t.xp6(4),t.Q6J("ngIf",!o.showAllDetails),t.xp6(1),t.Q6J("ngIf",o.showAllDetails),t.xp6(1),t.Q6J("placeholder","MEMBER_DETAIL.APPLICATIONS.FILTER"),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[w.t,h.O5,I.lW,Et.P,f.$g,Qs.S],pipes:[_.X$],styles:[""]}),i})();var vt=l(1059),ot=l(24850),q=l(92081),bt=l(91079);function zs(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SELECT_RESOURCE"))}function Xs(i,n){1&i&&t._UZ(0,"mat-spinner",13)}function Ws(i,n){if(1&i&&(t.TgZ(0,"mat-option",24),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e," ")}}function Ks(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"mat-option",25),t.NdJ("click",function(){const s=t.CHM(e).$implicit,r=t.oxw(2);return r.setResource(s),r.stepper.selected.completed=!0}),t._uU(1),t.qZA()}if(2&i){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e.name," ")}}function tr(i,n){if(1&i&&(t.TgZ(0,"div",22),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.Oqu(e.name)}}function er(i,n){if(1&i&&(t.TgZ(0,"div"),t.TgZ(1,"div"),t.TgZ(2,"mat-form-field",14),t._UZ(3,"input",15),t.ALo(4,"translate"),t.TgZ(5,"mat-autocomplete",16,17),t.YNc(7,Ws,2,2,"mat-option",18),t.ALo(8,"async"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(9,"div"),t.TgZ(10,"mat-form-field",14),t.TgZ(11,"mat-select",19),t.ALo(12,"translate"),t.YNc(13,Ks,2,2,"mat-option",20),t.ALo(14,"async"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(15,"div"),t.TgZ(16,"span",21),t._uU(17),t.ALo(18,"translate"),t.qZA(),t.TgZ(19,"div",22),t._uU(20),t.qZA(),t.qZA(),t.TgZ(21,"div"),t.TgZ(22,"span",21),t._uU(23),t.ALo(24,"translate"),t.qZA(),t.YNc(25,tr,2,1,"div",23),t.qZA(),t.qZA()),2&i){const e=t.MAs(6),o=t.oxw();t.xp6(3),t.s9C("placeholder",t.lcZ(4,10,"DIALOGS.ADD_MEMBER_TO_RESOURCE.FILTER")),t.Q6J("formControl",o.facilityCtrl)("matAutocomplete",e),t.xp6(4),t.Q6J("ngForOf",t.lcZ(8,12,o.filteredFacilities)),t.xp6(4),t.s9C("placeholder",t.lcZ(12,14,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SELECTED")),t.xp6(2),t.Q6J("ngForOf",t.lcZ(14,16,o.filteredResources)),t.xp6(4),t.Oqu(t.lcZ(18,18,"DIALOGS.ADD_MEMBER_TO_RESOURCE.DESCRIPTION")),t.xp6(3),t.Oqu(o.description),t.xp6(3),t.Oqu(t.lcZ(24,20,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SERVICES")),t.xp6(2),t.Q6J("ngForOf",o.services)}}function ir(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.ADD_GROUP"))}function or(i,n){1&i&&t._UZ(0,"mat-spinner",13)}const nr=function(){return["select","id","name","description"]};function ar(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"perun-web-apps-groups-list",26),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("disableGroups",!0)("disableHeadCheckbox",!0)("disableRouting",!0)("groupsToDisableCheckbox",e.membersGroupsId)("groups",e.groups)("displayedColumns",t.DdM(7,nr))("selection",e.selectedGroups)}}function sr(i,n){1&i&&(t.TgZ(0,"app-alert",27),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.NO_GROUPS")," "))}function rr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",28),t.NdJ("click",function(){return t.CHM(e),t.oxw().stepperPrevious()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.BACK")," "))}function lr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",29),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return a.stepperNext(),a.loadGroups()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.ekj("ml-2",void 0!==e.stepper&&0!==e.stepper.selectedIndex)("ml-auto",!(void 0!==e.stepper&&0!==e.stepper.selectedIndex)),t.Q6J("disabled",null===e.selectedResource||e.processing||e.loading),t.xp6(1),t.hij(" ",t.lcZ(2,6,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CONTINUE")," ")}}function cr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",30),t.NdJ("click",function(){return t.CHM(e),t.oxw().onFinish()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selectedGroups.selected.length||e.processing),t.xp6(1),t.hij(" ",t.lcZ(2,2,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SUBMIT")," ")}}let pr=(()=>{class i{constructor(e,o,a,s,r,d,A,v){this.dialogRef=e,this.data=o,this.resourceManager=a,this.groupManager=s,this.notificator=r,this.translate=d,this.authResolver=A,this.cd=v,this.loading=!1,this.processing=!1,this.membersGroupsId=new Set,this.facilityCtrl=new m.NI,this.facilitiesNames=[],this.resources=[],this.selectedResource=null,this.services=[],this.description="",this.groups=[],this.selectedGroups=new x.Ov(!1,[])}ngAfterViewInit(){this.stepper.selectionChange.subscribe(()=>{this.selectedGroups.clear()}),this.cd.detectChanges()}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.resourceManager.getRichResources(this.data.voId).subscribe(e=>{this.resources=e,this.getResourceFacilities(),this.loading=!1},()=>this.loading=!1)}getResourceFacilities(){const e=new Set;for(const o of this.resources)e.add(o.facility.name);this.facilitiesNames=Array.from(e),this.filteredFacilities=this.facilityCtrl.valueChanges.pipe((0,vt.O)(""),(0,ot.U)(o=>this.filterFacilities(o))),this.filteredResources=this.facilityCtrl.valueChanges.pipe((0,vt.O)(""),(0,ot.U)(o=>this.filterResources(o)))}filterFacilities(e){const o=e.toLowerCase();return this.facilitiesNames.filter(s=>s.toLowerCase().indexOf(o)>=0).sort((s,r)=>s.toLowerCase().localeCompare(r.toLowerCase()))}filterResources(e){if(null==e)return this.resources;const o=e.toLowerCase();return this.resources.filter(s=>0===s.facility.name.toLowerCase().indexOf(o)).sort((s,r)=>s.name.toLowerCase().localeCompare(r.name.toLowerCase()))}setResource(e){this.processing=!0,this.selectedResource=e,this.resourceManager.getAssignedServicesToResource(this.selectedResource.id).subscribe(o=>{this.services=o,this.processing=!1},()=>this.processing=!1),this.description=this.selectedResource.description}loadGroups(){this.processing=!0,this.resourceManager.getAssignedGroups(this.selectedResource.id).subscribe(e=>{this.groups=e,this.groupManager.getAllMemberGroups(this.data.memberId).subscribe(o=>{this.membersGroupsId=new Set(o.map(a=>a.id)),this.groups.forEach(a=>{this.authResolver.isAuthorized("addMember_Group_Member_policy",[a])||this.membersGroupsId.add(a.id)}),this.processing=!1},()=>this.processing=!1)})}onFinish(){this.processing=!0,this.groupManager.addMembers(this.selectedGroups.selected[0].id,[this.data.memberId]).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_MEMBER_TO_RESOURCE.SUCCESS")),this.dialogRef.close(!0)},()=>this.processing=!1)}onCancel(){this.dialogRef.close(!1)}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(g.xk),t.Y36(g.ff),t.Y36(u.V6),t.Y36(_.sK),t.Y36(u.x4),t.Y36(t.sBO))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-add-member-to-resource-dialog"]],viewQuery:function(e,o){if(1&e&&t.Gf(q.Vq,5),2&e){let a;t.iGM(a=t.CRH())&&(o.stepper=a.first)}},decls:22,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],["completed","false"],["matStepLabel",""],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],["class","ml-2","color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"input-style"],["aria-label","Number","matInput","","type","text",3,"formControl","matAutocomplete","placeholder"],["autoActiveFirstOption",""],["autoFacility","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["disableOptionCentering","true","required","",3,"placeholder"],[3,"value","click",4,"ngFor","ngForOf"],[1,"font-weight-bold"],[1,"ml-5"],["class","ml-5",4,"ngFor","ngForOf"],[3,"value"],[3,"value","click"],[3,"disableGroups","disableHeadCheckbox","disableRouting","groupsToDisableCheckbox","groups","displayedColumns","selection"],["alert_type","warn"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",3,"disabled","click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",1),t.TgZ(5,"mat-stepper",2),t.TgZ(6,"mat-step",3),t.YNc(7,zs,2,3,"ng-template",4),t.YNc(8,Xs,1,0,"mat-spinner",5),t.YNc(9,er,26,22,"div",6),t.qZA(),t.TgZ(10,"mat-step"),t.YNc(11,ir,2,3,"ng-template",4),t.YNc(12,or,1,0,"mat-spinner",5),t.YNc(13,ar,2,8,"div",6),t.YNc(14,sr,3,3,"app-alert",7),t.qZA(),t.qZA(),t.qZA(),t.TgZ(15,"div",8),t.TgZ(16,"button",9),t.NdJ("click",function(){return o.onCancel()}),t._uU(17),t.ALo(18,"translate"),t.qZA(),t.YNc(19,rr,3,3,"button",10),t.YNc(20,lr,3,8,"button",11),t.YNc(21,cr,3,4,"button",12),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,14,"DIALOGS.ADD_MEMBER_TO_RESOURCE.TITLE")),t.xp6(3),t.Q6J("linear",!0),t.xp6(3),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.Q6J("ngIf",o.processing),t.xp6(1),t.Q6J("ngIf",0!==o.groups.length&&!o.processing),t.xp6(1),t.Q6J("ngIf",0===o.groups.length&&!o.processing),t.xp6(3),t.hij(" ",t.lcZ(18,16,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CANCEL")," "),t.xp6(2),t.Q6J("ngIf",void 0!==o.stepper&&0!==o.stepper.selectedIndex),t.xp6(1),t.Q6J("ngIf",void 0!==o.stepper&&o.stepper.selectedIndex!==o.stepper._steps.length-1),t.xp6(1),t.Q6J("ngIf",void 0!==o.stepper&&o.stepper.selectedIndex===o.stepper._steps.length-1))},directives:[p.uh,p.xY,q.Vq,q.C0,q.VY,h.O5,f.$g,b.KE,G.Nt,m.Fj,bt.ZL,m.JJ,m.oH,bt.XC,h.sg,J.ey,Y.gD,Q.W,U.w,p.H8,I.lW],pipes:[_.X$,h.Ov],styles:[".input-style[_ngcontent-%COMP%]{margin-left:50px;width:75%}"]}),i})();var ur=l(62109);function dr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",6),t.NdJ("click",function(){return t.CHM(e),t.oxw().addResource()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"MEMBER_DETAIL.RESOURCES.ADD")," "))}function _r(i,n){if(1&i&&t._UZ(0,"perun-web-apps-resources-list",7),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("filterValue",e.filterValue)("displayedColumns",e.displayedColumns)("routingVo",!0)("disableRouting",!e.routeAuth)("resources",e.resources)}}function mr(i,n){1&i&&t._UZ(0,"mat-spinner",8)}let gr=(()=>{class i{constructor(e,o,a,s,r){this.dialog=e,this.memberManager=o,this.resourceManager=a,this.route=s,this.authResolver=r,this.resources=[],this.filterValue="",this.loading=!1,this.displayedColumns=["id","name","vo","facility","tags","description"],this.tableId=C.aL}ngOnInit(){this.route.parent.params.subscribe(e=>{this.memberManager.getMemberById(e.memberId).subscribe(a=>{this.member=a,this.refreshTable()})})}addResource(){const e=(0,T.kZ)();e.width="1200px",e.data={memberId:this.member.id,voId:this.member.voId,theme:"member-theme"},this.dialog.open(pr,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}refreshTable(){this.loading=!0,this.resourceManager.getAssignedRichResourcesWithMember(this.member.id).subscribe(e=>{this.resources=e,this.setAuthRights(),this.loading=!1})}setAuthRights(){const e={id:this.member.voId,beanName:"Vo"};this.addAuth=this.authResolver.isAuthorized("getRichResources_Vo_policy",[e])&&this.authResolver.isAuthorized("addMembers_Group_List_policy",[e]),0!==this.resources.length&&(this.routeAuth=this.authResolver.isAuthorized("getResourceById_int_policy",[e,this.resources[0]]))}applyFilter(e){this.filterValue=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.uw),t.Y36(g.uq),t.Y36(g.xk),t.Y36(E.gz),t.Y36(u.x4))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-member-resources"]],decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","action-button","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"placeholder","filter"],[3,"tableId","filterValue","displayedColumns","routingVo","disableRouting","resources",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[3,"tableId","filterValue","displayedColumns","routingVo","disableRouting","resources"],[1,"mr-auto","ml-auto"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return o.refreshTable()}),t.qZA(),t.YNc(5,dr,3,3,"button",2),t.TgZ(6,"perun-web-apps-immediate-filter",3),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.YNc(7,_r,1,6,"perun-web-apps-resources-list",4),t.qZA(),t.YNc(8,mr,1,0,"mat-spinner",5)),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,5,"MEMBER_DETAIL.RESOURCES.TITLE")),t.xp6(3),t.Q6J("ngIf",o.addAuth),t.xp6(1),t.Q6J("placeholder","MEMBER_DETAIL.RESOURCES.FILTER"),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(1),t.Q6J("ngIf",o.loading))},directives:[w.t,h.O5,I.lW,P.L,ur.C,f.$g],pipes:[_.X$],styles:[""]}),i})();var hr=l(98918),Tr=l(4675),Ar=l(258),fr=l(60113),Ir=l(16500),Er=l(92090),vr=l(20057),br=l(49546),Cr=l(76023),Sr=l(3246);function Zr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAdd()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.ADD")," "))}function xr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().onRemove()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(2,2,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.REMOVE")," ")}}function Nr(i,n){1&i&&t._UZ(0,"mat-spinner",9)}function Or(i,n){if(1&i&&t._UZ(0,"app-ext-sources-list",10),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("extSources",e.extSources)("displayedColumns",e.displayedColumns)("filterValue",e.filterValue)("selection",e.selection)}}let Rr=(()=>{class i{constructor(e,o,a,s,r,d){this.extSourceService=e,this.dialog=o,this.notificator=a,this.translate=s,this.authResolver=r,this.entityStorageService=d,this.extSources=[],this.selection=new x.Ov(!0,[]),this.filterValue="",this.tableId=C.S7,this.displayedColumns=[],this.translate.get("GROUP_DETAIL.SETTINGS.EXT_SOURCES.SUCCESS_REMOVED").subscribe(A=>this.successMessage=A)}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addExtSource_Group_ExtSource_policy",[this.group]),this.removeAuth=this.authResolver.isAuthorized("removeExtSource_Group_ExtSource_policy",[this.group]),this.displayedColumns=this.removeAuth?["select","id","name","type"]:["id","name","type"]}refreshTable(){this.loading=!0,this.extSourceService.getGroupExtSources(this.group.id).subscribe(e=>{this.extSources=e,this.selection.clear(),this.loading=!1})}applyFilter(e){this.filterValue=e}onAdd(){const e=(0,T.kZ)();e.width="1000px",e.data={voId:this.group.voId,groupId:this.group.id,extSources:this.extSources,theme:"group-theme"},this.dialog.open(ft,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}onRemove(){const e=(0,T.kZ)();e.width="600px",e.data={voId:this.group.voId,groupId:this.group.id,extSources:this.selection.selected,theme:"group-theme"},this.dialog.open(It,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.KG),t.Y36(p.uw),t.Y36(u.V6),t.Y36(_.sK),t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-settings-extsources"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2 action-button","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","extSources","displayedColumns","filterValue","selection",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","extSources","displayedColumns","filterValue","selection"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return o.refreshTable()}),t.qZA(),t.YNc(5,Zr,3,3,"button",2),t.YNc(6,xr,3,4,"button",3),t.TgZ(7,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.YNc(8,Nr,1,0,"mat-spinner",5),t.YNc(9,Or,1,5,"app-ext-sources-list",6),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,6,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.TITLE")),t.xp6(3),t.Q6J("ngIf",o.addAuth),t.xp6(1),t.Q6J("ngIf",o.removeAuth),t.xp6(1),t.Q6J("placeholder","GROUP_DETAIL.SETTINGS.EXT_SOURCES.FILTER"),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[w.t,h.O5,I.lW,P.L,f.$g,it.D],pipes:[_.X$],styles:[""]}),i})();function Dr(i,n){1&i&&t._UZ(0,"th",9)}function Lr(i,n){if(1&i&&(t.TgZ(0,"td",10),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.hij("",e,":")}}function Mr(i,n){1&i&&t._UZ(0,"th",9)}function Pr(i,n){if(1&i&&(t.TgZ(0,"td",11),t._uU(1),t.qZA()),2&i){const e=n.$implicit,o=t.oxw();t.xp6(1),t.hij(" ",o.statistics.get(e.toLowerCase())," ")}}function Ur(i,n){1&i&&t._UZ(0,"tr",12)}let Ct=(()=>{class i{constructor(){this.rowNames=[],this.title="",this.statistics=new Map,this.dataSource=null,this.displayedColumns=["name","value"]}ngOnInit(){this.dataSource=new c.by(this.rowNames)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-statistics-card"]],inputs:{rowNames:"rowNames",title:"title",statistics:"statistics"},decls:15,vars:5,consts:[[1,"mat-elevation-z3","align-card"],[1,"page-subtitle"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],["mat-row",""]],template:function(e,o){1&e&&(t.TgZ(0,"mat-card",0),t.TgZ(1,"mat-card-header"),t.TgZ(2,"mat-card-title"),t.TgZ(3,"h1",1),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(6,"mat-card-content"),t.TgZ(7,"table",2),t.ynx(8,3),t.YNc(9,Dr,1,0,"th",4),t.YNc(10,Lr,2,1,"td",5),t.BQk(),t.ynx(11,6),t.YNc(12,Mr,1,0,"th",4),t.YNc(13,Pr,2,1,"td",7),t.BQk(),t.YNc(14,Ur,1,0,"tr",8),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(4),t.Oqu(t.lcZ(5,3,o.title)),t.xp6(3),t.Q6J("dataSource",o.dataSource),t.xp6(7),t.Q6J("matRowDefColumns",o.displayedColumns))},directives:[Z.a8,Z.dk,Z.n5,Z.dn,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.nj,c.Gk],pipes:[_.X$],styles:[".align-card[_ngcontent-%COMP%]{margin:1rem 1rem 1rem 0rem;display:inline-block;vertical-align:top}"]}),i})();function Gr(i,n){1&i&&t._UZ(0,"mat-spinner",3)}function wr(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"app-statistics-card",4),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("rowNames",e.rowNames)("statistics",e.membersCount)("title","VO_DETAIL.STATISTICS.MEMBERS_COUNT")}}let yr=(()=>{class i{constructor(e,o){this.voService=e,this.entityStorageService=o,this.loading=!1,this.dataSource=new c.by,this.displayedColumns=["status","count"],this.rowNames=["Members","Valid","Invalid","Expired","Disabled"],this.membersCount=new Map([["members",0],["valid",0],["invalid",0],["expired",0],["disabled",0]])}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.dataSource=new c.by(this.rowNames),this.voService.getVoMembersCountsByStatus(this.vo.id).subscribe(e=>{this.allMembersCount=0;for(const o of Object.keys(e))this.membersCount.set(o.toLowerCase(),e[o]),this.allMembersCount+=e[o];this.membersCount.set("members",this.allMembersCount),this.loading=!1},()=>this.loading=!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.YF),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-statistics"]],decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"rowNames","statistics","title"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,Gr,1,0,"mat-spinner",1),t.YNc(4,wr,2,3,"div",2)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,3,"VO_DETAIL.STATISTICS.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,Ct],pipes:[_.X$],styles:[""]}),i})();function qr(i,n){1&i&&t._UZ(0,"mat-spinner",3)}function Fr(i,n){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"app-statistics-card",4),t._UZ(2,"app-statistics-card",4),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("rowNames",e.voStatusCountsRowNames)("statistics",e.membersCountsByVoStatus)("title","GROUP_DETAIL.STATISTICS.VO_STATUS_COUNT"),t.xp6(1),t.Q6J("rowNames",e.groupStatusCountsRowNames)("statistics",e.membersCountsByGroupStatus)("title","GROUP_DETAIL.STATISTICS.GROUP_STATUS_COUNT")}}let Vr=(()=>{class i{constructor(e,o){this.groupService=e,this.entityStorageService=o,this.loading=!1,this.voStatusCountsRowNames=["Members","Valid","Invalid","Expired","Disabled"],this.membersCountsByVoStatus=new Map,this.groupStatusCountsRowNames=["Members","Valid","Expired"],this.membersCountsByGroupStatus=new Map}ngOnInit(){this.loading=!0,this.group=this.entityStorageService.getEntity(),this.groupService.getGroupMembersCount(this.group.id).subscribe(e=>{this.membersCountsByVoStatus.set("members",e),this.membersCountsByGroupStatus.set("members",e),this.groupService.getGroupMembersCountsByVoStatus(this.group.id).subscribe(o=>{Object.entries(o).forEach(([a,s])=>this.membersCountsByVoStatus.set(a.toLowerCase(),s)),this.groupService.getGroupMembersCountsByGroupStatus(this.group.id).subscribe(a=>{Object.entries(a).forEach(([s,r])=>this.membersCountsByGroupStatus.set(s.toLowerCase(),r)),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.ff),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-group-statistics"]],decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"rowNames","statistics","title"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,qr,1,0,"mat-spinner",1),t.YNc(4,Fr,3,6,"div",2)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,3,"GROUP_DETAIL.STATISTICS.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[h.O5,f.$g,Ct],pipes:[_.X$],styles:[""]}),i})();function Yr(i,n){1&i&&t._UZ(0,"mat-spinner",6)}const Jr=function(){return["select","id","name","description"]};function Qr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",7),t.TgZ(1,"perun-web-apps-debounce-filter",8),t.NdJ("filter",function(a){return t.CHM(e),t.oxw().applyFilter(a)}),t.ALo(2,"translate"),t.qZA(),t._UZ(3,"perun-web-apps-groups-list",9),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.s9C("placeholder",t.lcZ(2,8,"DIALOGS.ADD_GROUP_TO_REGISTRATION.FILTER_DESCRIPTION")),t.xp6(2),t.Q6J("tableId",e.tableId)("groups",e.unAssignedGroups)("selection",e.selection)("filter",e.filterValue)("displayedColumns",t.DdM(10,Jr))("disableRouting",!0)("disableMembers",!0)}}let kr=(()=>{class i{constructor(e,o,a,s){this.dialogRef=e,this.data=o,this.groupService=a,this.registrarService=s,this.loading=!1,this.selection=new x.Ov(!0,[]),this.filterValue="",this.tableId=C.Is}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.groupService.getAllGroups(this.data.voId).subscribe(e=>{this.unAssignedGroups=e.filter(o=>this.data.assignedGroups.indexOf(o.id)<=-1),this.loading=!1})}applyFilter(e){this.filterValue=e}onCancel(){this.dialogRef.close(!1)}onAdd(){this.loading=!0,this.registrarService.addGroupsToAutoRegistration(this.selection.selected.map(e=>e.id)).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(g.ff),t.Y36(g.tk))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-add-group-to-registration"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"tableId","groups","selection","filter","displayedColumns","disableRouting","disableMembers"]],template:function(e,o){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Yr,1,0,"mat-spinner",1),t.YNc(5,Qr,4,11,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return o.onCancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return o.onAdd()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Tol(o.theme),t.xp6(2),t.Oqu(t.lcZ(3,9,"DIALOGS.ADD_GROUP_TO_REGISTRATION.TITLE")),t.xp6(2),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading),t.xp6(3),t.hij(" ",t.lcZ(9,11,"DIALOGS.ADD_GROUP_TO_REGISTRATION.CANCEL_BUTTON")," "),t.xp6(2),t.Q6J("disabled",0===o.selection.selected.length||o.loading),t.xp6(1),t.hij(" ",t.lcZ(12,13,"DIALOGS.ADD_GROUP_TO_REGISTRATION.ADD_BUTTON")," "))},directives:[p.uh,h.O5,f.$g,p.xY,Et.P,Q.W,p.H8,I.lW],pipes:[_.X$],styles:[""]}),i})();const Br=["list"];function jr(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAddGroup()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.ADD"),"\n"))}function Hr(i,n){1&i&&t._UZ(0,"mat-spinner",10)}const $r=function(){return["select","id","name","description"]};function zr(i,n){if(1&i&&t._UZ(0,"perun-web-apps-groups-list",11,12),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("selection",e.selected)("displayedColumns",t.DdM(7,$r))("disableRouting",!0)("filter",e.filterValue)("authType","application-form-manage-groups")("groups",e.groups)}}let Xr=(()=>{class i{constructor(e,o,a,s){this.registrarService=e,this.authResolver=o,this.dialog=a,this.route=s,this.groups=[],this.selected=new x.Ov(!0,[]),this.tableId=C.CE,this.filterValue=""}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(e=>{this.voId=e.voId,this.loadGroups()})}loadGroups(){this.loading=!0,this.registrarService.getGroupsToAutoRegistration(this.voId).subscribe(e=>{this.groups=e,this.selected.clear(),this.setAuthRights(),this.loading=!1},()=>this.loading=!1)}onAddGroup(){const e=(0,T.kZ)();e.width="900px",e.data={voId:this.voId,assignedGroups:this.groups.map(a=>a.id),theme:"vo-theme"},this.dialog.open(kr,e).afterClosed().subscribe(a=>{a&&this.loadGroups()})}removeGroup(){const e=(0,T.kZ)();e.width="450px",e.data={items:this.selected.selected.map(a=>a.name),title:"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_GROUP_DIALOG_TITLE",description:"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_GROUP_DIALOG_DESCRIPTION",theme:"vo-theme"},this.dialog.open(L.Tf,e).afterClosed().subscribe(a=>{a&&this.registrarService.deleteGroupsFromAutoRegistration(this.selected.selected.map(s=>s.id)).subscribe(()=>{this.loadGroups()})})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addGroupsToAutoRegistration_List_policy",[{id:this.voId,beanName:"Vo"}])}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.tk),t.Y36(u.x4),t.Y36(p.uw),t.Y36(E.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-application-form-manage-groups"]],viewQuery:function(e,o){if(1&e&&t.Gf(Br,5),2&e){let a;t.iGM(a=t.CRH())&&(o.list=a.first)}},decls:17,vars:21,consts:[[1,"page-subtitle"],["alert_type","info"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],["theme","vo-theme",3,"tableId","selection","displayedColumns","disableRouting","filter","authType","groups",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],["theme","vo-theme",3,"tableId","selection","displayedColumns","disableRouting","filter","authType","groups"],["list",""]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"app-alert",1),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"perun-web-apps-refresh-button",2),t.NdJ("refresh",function(){return o.loadGroups()}),t.qZA(),t.YNc(8,jr,3,3,"button",3),t.TgZ(9,"span",4),t.ALo(10,"translate"),t.TgZ(11,"button",5),t.NdJ("click",function(){return o.removeGroup()}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.qZA(),t.TgZ(14,"perun-web-apps-immediate-filter",6),t.NdJ("filter",function(s){return o.filterValue=s}),t.qZA(),t.YNc(15,Hr,1,0,"mat-spinner",7),t.YNc(16,zr,2,8,"perun-web-apps-groups-list",8)),2&e&&(t.xp6(1),t.AsE(" ",t.lcZ(2,11,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE")," - ",t.lcZ(3,13,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.TITLE"),"\n"),t.xp6(4),t.hij(" ",t.lcZ(6,15,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.HELP"),"\n"),t.xp6(3),t.Q6J("ngIf",o.addAuth),t.xp6(1),t.s9C("matTooltip",t.lcZ(10,17,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_PERMISSION_HINT")),t.Q6J("matTooltipDisabled",void 0===o.list||void 0!==o.list&&o.list.removeAuth),t.xp6(2),t.Q6J("disabled",0===o.selected.selected.length||void 0!==o.list&&!o.list.removeAuth),t.xp6(1),t.hij(" ",t.lcZ(13,19,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE")," "),t.xp6(2),t.Q6J("placeholder","VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.FILTER"),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[U.w,w.t,h.O5,I.lW,N.gM,P.L,f.$g,Q.W],pipes:[_.X$],styles:[""]}),i})();var Wr=l(20872),Kr=l(80013),tl=l(72986),el=l(87545),St=l(28499),il=l(13469),Zt=l(14623),xt=l(38383);const ol=["stepper"];function nl(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.CREATE_IDENTITY"))}function al(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function sl(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function rl(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.EMAIL_INVALID")))}function ll(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function cl(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function pl(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.SET_CREDENTIALS"))}function ul(i,n){if(1&i&&(t.TgZ(0,"mat-option",31),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e," ")}}function dl(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function _l(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_EXISTS")))}function ml(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_FORMAT")))}function gl(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_LONG")))}function hl(i,n){1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_SHORT")))}function Tl(i,n){if(1&i&&(t.TgZ(0,"span",32),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.hij(" ",t.lcZ(2,1,"Not selected"===e.secondFormGroup.get("namespaceCtrl").value?"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_DISABLED":"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_DISABLED_FOR_NAMESPACE")," ")}}function Al(i,n){1&i&&(t._uU(0),t.ALo(1,"translate")),2&i&&t.Oqu(t.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.ASSOCIATE_USERS"))}function fl(i,n){if(1&i&&(t.TgZ(0,"span",38),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij("#",e.id,"")}}function Il(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"mat-list-item"),t.TgZ(1,"p",33),t._uU(2),t.ALo(3,"userFullName"),t.YNc(4,fl,2,1,"span",34),t.TgZ(5,"span",35),t.ALo(6,"translate"),t.TgZ(7,"button",36),t.NdJ("click",function(){const s=t.CHM(e).$implicit;return t.oxw(2).removeUser(s)}),t.TgZ(8,"mat-icon",37),t._uU(9,"close"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=n.$implicit,o=t.oxw(2);t.xp6(2),t.hij(" ",t.lcZ(3,5,e.user)," "),t.xp6(2),t.Q6J("ngIf",e.id),t.xp6(1),t.Q6J("matTooltipDisabled",o.assignedMembers.length>1)("matTooltip",t.lcZ(6,7,"DIALOGS.CREATE_SERVICE_MEMBER.MINIMAL_USERS")),t.xp6(2),t.Q6J("disabled",1===o.assignedMembers.length)}}function El(i,n){1&i&&t._UZ(0,"mat-spinner",39)}const vl=function(){return["checkbox","id","fullName"]};function bl(i,n){if(1&i&&t._UZ(0,"perun-web-apps-members-list",42),2&i){const e=t.oxw(3);t.Q6J("disableRouting",!0)("displayedColumns",t.DdM(5,vl))("members",e.members)("tableId",e.tableId)("selection",e.selection)}}function Cl(i,n){1&i&&(t.TgZ(0,"app-alert",43),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_INFO")," "))}function Sl(i,n){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,bl,1,6,"perun-web-apps-members-list",40),t.YNc(2,Cl,3,3,"app-alert",41),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.firstSearchDone),t.xp6(1),t.Q6J("ngIf",!e.firstSearchDone)}}function Zl(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",5),t.TgZ(1,"mat-stepper",6,7),t.TgZ(3,"mat-step",8),t.TgZ(4,"form",9),t.YNc(5,nl,2,3,"ng-template",10),t.TgZ(6,"div",11),t.TgZ(7,"mat-form-field"),t.TgZ(8,"mat-label"),t._uU(9),t.ALo(10,"translate"),t.qZA(),t._UZ(11,"input",12),t.YNc(12,al,3,3,"mat-error",13),t.qZA(),t.TgZ(13,"mat-form-field"),t.TgZ(14,"mat-label"),t._uU(15),t.ALo(16,"translate"),t.qZA(),t._UZ(17,"input",14),t.YNc(18,sl,3,3,"mat-error",13),t.YNc(19,rl,3,3,"mat-error",13),t.qZA(),t.TgZ(20,"mat-form-field"),t.TgZ(21,"mat-label"),t._uU(22),t.ALo(23,"translate"),t.qZA(),t._UZ(24,"input",15),t.YNc(25,ll,3,3,"mat-error",13),t.qZA(),t.TgZ(26,"mat-form-field"),t.TgZ(27,"mat-label"),t._uU(28),t.ALo(29,"translate"),t.qZA(),t._UZ(30,"input",16),t.YNc(31,cl,3,3,"mat-error",13),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(32,"mat-step",8),t.TgZ(33,"form",9),t.YNc(34,pl,2,3,"ng-template",10),t.TgZ(35,"div",11),t.TgZ(36,"mat-form-field"),t.TgZ(37,"mat-label"),t._uU(38),t.ALo(39,"translate"),t.qZA(),t.TgZ(40,"mat-select",17),t.NdJ("valueChange",function(a){return t.CHM(e),t.oxw().onNamespaceChanged(a)}),t.YNc(41,ul,2,2,"mat-option",18),t.qZA(),t.qZA(),t.TgZ(42,"mat-form-field",19),t.TgZ(43,"mat-label"),t._uU(44),t.ALo(45,"translate"),t.qZA(),t._UZ(46,"input",20),t.YNc(47,dl,3,3,"mat-error",13),t.YNc(48,_l,3,3,"mat-error",13),t.YNc(49,ml,3,3,"mat-error",13),t.YNc(50,gl,3,3,"mat-error",13),t.YNc(51,hl,3,3,"mat-error",13),t.YNc(52,Tl,3,3,"span",21),t.qZA(),t.TgZ(53,"mat-radio-group",22),t.NdJ("ngModelChange",function(){return t.CHM(e),t.oxw().passwordOptionChanged()}),t.ALo(54,"translate"),t.TgZ(55,"mat-radio-button",23),t._uU(56),t.ALo(57,"translate"),t.qZA(),t.TgZ(58,"mat-radio-button",23),t._uU(59),t.ALo(60,"translate"),t.qZA(),t.qZA(),t.TgZ(61,"div",11),t._UZ(62,"perun-web-apps-password-form",24),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(63,"mat-step"),t.YNc(64,Al,2,3,"ng-template",10),t.TgZ(65,"h6"),t._uU(66),t.ALo(67,"translate"),t.qZA(),t.TgZ(68,"mat-list"),t.YNc(69,Il,10,9,"mat-list-item",25),t.qZA(),t.TgZ(70,"h6",26),t._uU(71),t.ALo(72,"translate"),t.qZA(),t.TgZ(73,"mat-form-field",27),t.TgZ(74,"input",28),t.NdJ("keyup.enter",function(){t.CHM(e);const a=t.oxw();return 0!==a.searchCtrl.value.length&&a.onSearchByString()}),t.ALo(75,"translate"),t.qZA(),t.qZA(),t.TgZ(76,"button",29),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSearchByString()}),t.TgZ(77,"mat-icon"),t._uU(78,"search"),t.qZA(),t.qZA(),t.TgZ(79,"button",30),t.NdJ("click",function(){return t.CHM(e),t.oxw().addUsers()}),t._uU(80),t.ALo(81,"translate"),t.qZA(),t.YNc(82,El,1,0,"mat-spinner",3),t.YNc(83,Sl,3,2,"div",13),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(1),t.Q6J("linear",!0),t.xp6(2),t.Q6J("stepControl",e.firstFormGroup),t.xp6(1),t.Q6J("formGroup",e.firstFormGroup),t.xp6(5),t.Oqu(t.lcZ(10,50,"DIALOGS.CREATE_SERVICE_MEMBER.NAME")),t.xp6(3),t.Q6J("ngIf",e.firstFormGroup.get("nameCtrl").hasError("required")),t.xp6(3),t.Oqu(t.lcZ(16,52,"DIALOGS.CREATE_SERVICE_MEMBER.EMAIL")),t.xp6(3),t.Q6J("ngIf",e.firstFormGroup.get("emailCtrl").hasError("required")),t.xp6(1),t.Q6J("ngIf",e.firstFormGroup.get("emailCtrl").hasError("pattern")),t.xp6(3),t.Oqu(t.lcZ(23,54,"DIALOGS.CREATE_SERVICE_MEMBER.SUBJECT_DN")),t.xp6(2),t.Q6J("required",!!e.firstFormGroup.get("issuerCtrl").value&&0!==e.firstFormGroup.get("issuerCtrl").value.trim().length),t.xp6(1),t.Q6J("ngIf",e.firstFormGroup.get("subjectCtrl").hasError("required")),t.xp6(3),t.Oqu(t.lcZ(29,56,"DIALOGS.CREATE_SERVICE_MEMBER.ISSUER_DN")),t.xp6(2),t.Q6J("required",!!e.firstFormGroup.get("subjectCtrl").value&&0!==e.firstFormGroup.get("subjectCtrl").value.trim().length),t.xp6(1),t.Q6J("ngIf",e.firstFormGroup.get("issuerCtrl").hasError("required")),t.xp6(1),t.Q6J("stepControl",e.secondFormGroup),t.xp6(1),t.Q6J("formGroup",e.secondFormGroup),t.xp6(5),t.Oqu(t.lcZ(39,58,"DIALOGS.CREATE_SERVICE_MEMBER.NAMESPACE")),t.xp6(3),t.Q6J("ngForOf",e.namespaceOptions),t.xp6(1),t.Q6J("floatLabel",e.secondFormGroup.get("loginCtrl").disabled?"always":null),t.xp6(2),t.Oqu(t.lcZ(45,60,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN")),t.xp6(2),t.Q6J("hidden",e.secondFormGroup.get("loginCtrl").disabled),t.xp6(1),t.Q6J("ngIf",e.secondFormGroup.get("loginCtrl").hasError("required")),t.xp6(1),t.Q6J("ngIf",e.secondFormGroup.get("loginCtrl").hasError("loginExists")),t.xp6(1),t.Q6J("ngIf",e.secondFormGroup.get("loginCtrl").hasError("pattern")&&!e.secondFormGroup.get("loginCtrl").hasError("minlength")),t.xp6(1),t.Q6J("ngIf",e.secondFormGroup.get("loginCtrl").hasError("maxlength")),t.xp6(1),t.Q6J("ngIf",e.secondFormGroup.get("loginCtrl").hasError("minlength")),t.xp6(1),t.Q6J("ngIf",e.secondFormGroup.get("loginCtrl").disabled),t.xp6(1),t.s9C("matTooltip",t.lcZ(54,62,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_NOT_SUPPORTED")),t.Q6J("matTooltipDisabled","Not selected"!==e.secondFormGroup.get("namespaceCtrl").value),t.xp6(2),t.Q6J("checked",e.secondFormGroup.get("generatePasswordCtrl").value&&e.secondFormGroup.get("generatePasswordCtrl").enabled)("value",!0),t.xp6(1),t.hij(" ",t.lcZ(57,64,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_RANDOM")," "),t.xp6(2),t.Q6J("checked",!e.secondFormGroup.get("generatePasswordCtrl").value&&e.secondFormGroup.get("generatePasswordCtrl").enabled)("value",!1),t.xp6(1),t.hij(" ",t.lcZ(60,66,"DIALOGS.CREATE_SERVICE_MEMBER.ENTER_PASSWORD")," "),t.xp6(2),t.ekj("input-disabled",e.secondFormGroup.get("generatePasswordCtrl").value),t.xp6(1),t.Q6J("formGroup",e.secondFormGroup)("passwordRequired",!e.secondFormGroup.get("generatePasswordCtrl").value)("namespace",e.selectedNamespace),t.xp6(4),t.Oqu(t.lcZ(67,68,"DIALOGS.CREATE_SERVICE_MEMBER.ASSOCIATED_USERS")),t.xp6(3),t.Q6J("ngForOf",e.assignedMembers),t.xp6(2),t.Oqu(t.lcZ(72,70,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_INFO")),t.xp6(3),t.s9C("placeholder",t.lcZ(75,72,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_PLACEHOLDER")),t.Q6J("formControl",e.searchCtrl),t.xp6(2),t.Q6J("disabled",e.loading||0===e.searchCtrl.value.length),t.xp6(3),t.Q6J("disabled",0===e.selection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(81,74,"DIALOGS.CREATE_SERVICE_MEMBER.ADD_USER")," "),t.xp6(2),t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading)}}function xl(i,n){1&i&&t._UZ(0,"mat-spinner",39)}function Nl(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",49),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).stepperPrevious()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.BACK")," "))}function Ol(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",30),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).stepperNext()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw(2);t.ekj("ml-2",void 0!==e.stepper&&0!==e.stepper.selectedIndex)("ml-auto",!(void 0!==e.stepper&&0!==e.stepper.selectedIndex)),t.Q6J("disabled",e.getStepperNextConditions()),t.xp6(1),t.hij(" ",t.lcZ(2,6,"DIALOGS.CREATE_SERVICE_MEMBER.NEXT")," ")}}function Rl(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",50),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).onCreate()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("disabled",e.firstFormGroup.invalid||"Not selected"!==e.secondFormGroup.get("namespaceCtrl").value&&e.secondFormGroup.invalid),t.xp6(1),t.hij(" ",t.lcZ(2,2,"DIALOGS.CREATE_SERVICE_MEMBER.CREATE")," ")}}function Dl(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"div",44),t.TgZ(1,"button",45),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Nl,3,3,"button",46),t.YNc(5,Ol,3,8,"button",47),t.YNc(6,Rl,3,4,"button",48),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,4,"DIALOGS.CREATE_SERVICE_MEMBER.CANCEL")," "),t.xp6(2),t.Q6J("ngIf",void 0!==e.stepper&&0!==e.stepper.selectedIndex),t.xp6(1),t.Q6J("ngIf",void 0!==e.stepper&&e.stepper.selectedIndex!==e.stepper._steps.length-1),t.xp6(1),t.Q6J("ngIf",void 0!==e.stepper&&e.stepper.selectedIndex===e.stepper._steps.length-1)}}let Ll=(()=>{class i{constructor(e,o,a,s,r,d,A,v,D,nt){this.dialogRef=e,this.data=o,this.membersManagerService=a,this.usersManagerService=s,this.notificator=r,this.translate=d,this.store=A,this.apiRequestConfiguration=v,this._formBuilder=D,this.cd=nt,this.namespaceOptions=[],this.selectedNamespace=null,this.namespaceRules=[],this.parsedRules=new Map,this.firstSearchDone=!1,this.searchCtrl=new m.NI(""),this.members=[],this.selection=new x.Ov(!0,[]),this.tableId=C.j1,this.assignedMembers=[],this.candidate={},this.successMessageMember="",this.successMessagePwd="",this.processing=!1,d.get("DIALOGS.CREATE_SERVICE_MEMBER.SUCCESS_MEMBER").subscribe(at=>this.successMessageMember=at),d.get("DIALOGS.CREATE_SERVICE_MEMBER.SUCCESS_PWD").subscribe(at=>this.successMessagePwd=at)}ngAfterViewInit(){this.cd.detectChanges()}ngOnInit(){this.firstFormGroup=this._formBuilder.group({nameCtrl:["",m.kI.required],emailCtrl:["",[m.kI.required,m.kI.pattern("\\w+([.-]?\\w+)*@\\w+([.-]?\\w+)*(.\\w{2,3})+")]],subjectCtrl:[null],issuerCtrl:[null]}),this.secondFormGroup=this._formBuilder.group({namespaceCtrl:["Not selected"],loginCtrl:["",[m.kI.pattern("^[a-z][a-z0-9_-]+$"),m.kI.maxLength(15),m.kI.minLength(2)]],passwordCtrl:["",m.kI.required,[(0,St.yT)(null,this.usersManagerService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""],generatePasswordCtrl:[!0]},{validators:T.dN.passwordMatchValidator}),this.namespaceOptions=["Not selected"],this.membersManagerService.getAllNamespacesRules().subscribe(o=>{this.namespaceRules=o,this.parseNamespaceRules(),this.loading=!1}),this.onNamespaceChanged("Not selected");const e=this.store.getPerunPrincipal().user;this.membersManagerService.getMembersByUser(e.id).subscribe(o=>{let a={};for(const s of o)s.voId===this.data.voId&&(a=s);a.user=e,this.assignedMembers.push(a)})}existingLoginValidator(){return e=>{let o=this.secondFormGroup.get("namespaceCtrl").value.toLowerCase();return o="not selected"===o?"mu":o,e.valueChanges.pipe((0,Kr.b)(500),(0,tl.q)(1),(0,el.w)(()=>this.usersManagerService.isLoginAvailable(o,e.value).pipe((0,ot.U)(a=>a?null:{loginExists:!0}))))}}onCreate(){this.processing=!0,this.candidate.firstName="",this.candidate.lastName=this.firstFormGroup.get("nameCtrl").value,this.candidate.attributes={},this.candidate.attributes["urn:perun:member:attribute-def:def:mail"]=this.firstFormGroup.get("emailCtrl").value;const e=this.firstFormGroup.get("subjectCtrl");e&&e.value&&(this.candidate.userExtSource={},this.candidate.userExtSource.login=e.value,this.candidate.userExtSource.loa=0,this.candidate.userExtSource.extSource={},this.candidate.userExtSource.extSource.name=this.firstFormGroup.get("issuerCtrl").value,this.candidate.userExtSource.extSource.type="cz.metacentrum.perun.core.impl.ExtSourceX509");const o=this.secondFormGroup.get("namespaceCtrl").value.toLowerCase(),a=this.parsedRules.get(o),s=`urn:perun:user:attribute-def:def:login-namespace:${o}`;"Not selected"!==this.secondFormGroup.get("namespaceCtrl").value&&"disabled"===a.login?this.usersManagerService.generateAccountForName(o,this.firstFormGroup.get("nameCtrl").value).subscribe(r=>{this.candidate.attributes[s]=r[s],this.createSpecificMember()},()=>this.processing=!1):("Not selected"!==this.secondFormGroup.get("namespaceCtrl").value&&(this.candidate.attributes[s]=this.secondFormGroup.get("loginCtrl").value),this.createSpecificMember())}createSpecificMember(){this.membersManagerService.createSpecificMember({vo:this.data.voId,specificUserType:"SERVICE",specificUserOwners:this.assignedMembers.map(e=>e.user),candidate:this.candidate}).subscribe(e=>{this.membersManagerService.validateMemberAsync(e.id).subscribe(o=>{this.notificator.showSuccess(this.successMessageMember),"Not selected"!==this.secondFormGroup.get("namespaceCtrl").value?this.setPassword(o,this.secondFormGroup.get("generatePasswordCtrl").value):(this.dialogRef.close(!0),this.processing=!1)},()=>this.processing=!1)},()=>this.processing=!1)}parseNamespaceRules(){for(const e of this.namespaceRules){this.namespaceOptions.push(e.namespaceName);const o={login:"disabled"};this.parseAttributes(o,e.requiredAttributes,"required"),this.parseAttributes(o,e.optionalAttributes,"optional"),this.parsedRules.set(e.namespaceName,o)}}parseAttributes(e,o,a){for(const s of o)"login"===s&&(e.login=a)}setPassword(e,o){const a=this.secondFormGroup.get("namespaceCtrl").value.toLowerCase(),s=this.secondFormGroup.get("passwordCtrl").value;if(o){if("disabled"===this.parsedRules.get(a).login)return void this.validateMember(e.id);this.usersManagerService.reserveRandomPassword(e.userId,a).subscribe(()=>{this.usersManagerService.validatePasswordForUser(e.userId,a).subscribe(()=>{this.validateMember(e.id,!1)},()=>{this.processing=!1,this.dialogRef.close(!0)})},()=>{this.processing=!1,this.dialogRef.close(!0)})}else this.usersManagerService.reservePasswordForUser(e.userId,a,s).subscribe(()=>{this.usersManagerService.validatePasswordForUser(e.userId,a).subscribe(()=>{this.validateMember(e.id)},()=>{this.processing=!1,this.dialogRef.close(!0)})},()=>{this.processing=!1,this.dialogRef.close(!0)})}validateMember(e,o=!0){this.membersManagerService.validateMemberAsync(e).subscribe(()=>{o&&this.notificator.showSuccess(this.successMessagePwd),this.dialogRef.close(!0),this.processing=!1},()=>{this.processing=!1,this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}onSearchByString(){this.loading=!0,this.membersManagerService.findCompleteRichMembersForVo(this.data.voId,[null],this.searchCtrl.value).subscribe(e=>{this.members=e.filter(o=>!o.user.specificUser),this.firstSearchDone=!0,this.loading=!1})}addUsers(){const e=this.assignedMembers.map(o=>o.id);this.selection.selected.forEach(o=>{e.includes(o.id)||this.assignedMembers.push(o)}),this.selection.clear()}removeUser(e){this.assignedMembers=this.assignedMembers.filter(o=>o.id!==e.id)}onNamespaceChanged(e){this.selectedNamespace=e.toLowerCase();const o=this.secondFormGroup.get("loginCtrl"),a=this.secondFormGroup.get("passwordCtrl"),s=this.secondFormGroup.get("passwordAgainCtrl"),r=this.secondFormGroup.get("generatePasswordCtrl");if("Not selected"!==e){if("disabled"===this.parsedRules.get(this.selectedNamespace).login)o.disable(),o.setValue("");else{const d=[m.kI.required,m.kI.pattern("^[a-z][a-z0-9_-]+$"),m.kI.maxLength(15),m.kI.minLength(2)];(0,T.mH)(o,d,[this.existingLoginValidator()])}(0,T.mH)(r,[]),this.passwordOptionChanged()}else o.disable(),o.setValue(""),a.disable(),a.setValue(""),s.disable(),s.setValue(""),r.disable(),r.dirty||r.setValue(!0)}passwordOptionChanged(){const e=this.secondFormGroup.get("passwordCtrl"),o=this.secondFormGroup.get("passwordAgainCtrl");this.secondFormGroup.get("generatePasswordCtrl").value?(e.disable(),e.setValue(""),o.disable(),o.setValue("")):((0,T.mH)(e,[m.kI.required],[(0,St.yT)(this.selectedNamespace,this.usersManagerService,this.apiRequestConfiguration)]),(0,T.mH)(o,[]))}getStepperNextConditions(){switch(this.stepper.selectedIndex){case 0:return this.firstFormGroup.invalid||this.firstFormGroup.pending;case 1:return this.secondFormGroup.invalid||this.secondFormGroup.pending||"Not selected"===this.secondFormGroup.get("namespaceCtrl").value;default:return!1}}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(p.so),t.Y36(p.WI),t.Y36(g.uq),t.Y36(g.Fv),t.Y36(u.V6),t.Y36(_.sK),t.Y36(u.d6),t.Y36(u.F5),t.Y36(m.qu),t.Y36(t.sBO))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-create-service-member-dialog"]],viewQuery:function(e,o){if(1&e&&t.Gf(ol,5),2&e){let a;t.iGM(a=t.CRH())&&(o.stepper=a.first)}},decls:7,vars:6,consts:[[1,"vo-theme"],[1,"mat-dialog-title"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],["stepper",""],[3,"stepControl"],[3,"formGroup"],["matStepLabel",""],[1,"display-flex"],["formControlName","nameCtrl","matInput","","required",""],[4,"ngIf"],["formControlName","emailCtrl","matInput","","required","","type","email"],["formControlName","subjectCtrl","matInput","",3,"required"],["formControlName","issuerCtrl","matInput","",3,"required"],["formControlName","namespaceCtrl",3,"valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"floatLabel"],["formControlName","loginCtrl","matInput","","required","",3,"hidden"],["class","input-disabled",4,"ngIf"],["formControlName","generatePasswordCtrl","matTooltipPosition","left",1,"display-flex","mt-3",3,"matTooltipDisabled","matTooltip","ngModelChange"],[3,"checked","value"],[3,"formGroup","passwordRequired","namespace"],[4,"ngFor","ngForOf"],[1,"mt-3"],[1,"mr-2","w-50"],["autocomplete","false","matInput","",3,"formControl","placeholder","keyup.enter"],["color","primary","mat-flat-button","",1,"mr-2",3,"disabled","click"],["color","accent","mat-flat-button","",3,"disabled","click"],[3,"value"],[1,"input-disabled"],[1,"truncate","center-content"],["class","text-muted",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["color","warn","mat-icon-button","",1,"ml-1",3,"disabled","click"],[1,"margin-bottom"],[1,"text-muted"],[1,"ml-auto","mr-auto"],[3,"disableRouting","displayedColumns","members","tableId","selection",4,"ngIf"],["alert_type","info",4,"ngIf"],[3,"disableRouting","displayedColumns","members","tableId","selection"],["alert_type","info"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],["class","ml-2","color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"h1",1),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,Zl,84,76,"div",2),t.YNc(5,xl,1,0,"mat-spinner",3),t.YNc(6,Dl,7,6,"div",4),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,4,"DIALOGS.CREATE_SERVICE_MEMBER.TITLE")),t.xp6(2),t.Q6J("ngIf",!o.processing),t.xp6(1),t.Q6J("ngIf",o.processing),t.xp6(1),t.Q6J("ngIf",!o.processing))},directives:[h.O5,p.xY,q.Vq,q.C0,m._Y,m.JL,m.sg,q.VY,b.KE,b.hX,m.Fj,G.Nt,m.JJ,m.u,m.Q7,b.TO,Y.gD,h.sg,J.ey,k.VQ,N.gM,k.U0,il.G,Zt.i$,Zt.Tg,I.lW,M.Hw,m.oH,f.$g,xt.O,U.w,p.H8],pipes:[_.X$,$.d],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.input-disabled[_ngcontent-%COMP%]{pointer-events:none;color:#888}.truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}.center-content[_ngcontent-%COMP%]{margin-bottom:auto;margin-top:auto}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}.margin-bottom[_ngcontent-%COMP%]{margin-bottom:6px}"]}),i})();var Ml=l(53455);function Pl(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onRemoveMembers()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("disabled",e.selection.isEmpty()),t.xp6(1),t.hij(" ",t.lcZ(2,2,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.DELETE"),"\n")}}function Ul(i,n){1&i&&t._UZ(0,"mat-spinner",8)}const Gl=function(){return["checkbox","id","type","fullName","status"]};function wl(i,n){if(1&i&&t._UZ(0,"perun-web-apps-members-list",9),2&i){const e=t.oxw();t.Q6J("tableId",e.tableId)("displayedColumns",t.DdM(5,Gl))("selection",e.selection)("filter",e.searchString)("members",e.members)}}let yl=(()=>{class i{constructor(e,o,a,s,r){this.membersManager=e,this.dialog=o,this.authResolver=a,this.authzService=s,this.entityStorageService=r,this.members=[],this.selection=new x.Ov(!0,[]),this.searchString="",this.loading=!1,this.tableId=C._c}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.removeAuth=this.authzService.isAuthorized("deleteMembers_List_policy",[this.vo]),this.refresh()}createServiceMember(){const e=(0,T.kZ)();e.width="750px",e.data={voId:this.vo.id},this.dialog.open(Ll,e).afterClosed().subscribe(a=>{a&&this.refresh()})}onRemoveMembers(){const e=(0,T.kZ)();e.width="450px",e.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(Ml.X,e).afterClosed().subscribe(a=>{a&&(this.refresh(),this.selection.clear())})}applyFilter(e){this.searchString=e}refresh(){this.loading=!0,this.membersManager.findCompleteRichMembersForVo(this.vo.id,[null],"(Service)").subscribe(e=>{this.members=e,this.loading=!1})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(g.uq),t.Y36(p.uw),t.Y36(u.x4),t.Y36(u.x4),t.Y36(u.fb))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-vo-settings-service-members"]],decls:11,vars:10,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"click"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","displayedColumns","selection","filter","members",4,"ngIf"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","displayedColumns","selection","filter","members"]],template:function(e,o){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"perun-web-apps-refresh-button",1),t.NdJ("refresh",function(){return o.refresh()}),t.qZA(),t.TgZ(4,"button",2),t.NdJ("click",function(){return o.createServiceMember()}),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.YNc(7,Pl,3,4,"button",3),t.TgZ(8,"perun-web-apps-immediate-filter",4),t.NdJ("filter",function(s){return o.applyFilter(s)}),t.qZA(),t.YNc(9,Ul,1,0,"mat-spinner",5),t.YNc(10,wl,1,6,"perun-web-apps-members-list",6)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.TITLE")),t.xp6(4),t.hij(" ",t.lcZ(6,8,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.CREATE"),"\n"),t.xp6(2),t.Q6J("ngIf",o.removeAuth),t.xp6(1),t.Q6J("placeholder","VO_DETAIL.SETTINGS.SERVICE_MEMBERS.FILTER"),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading))},directives:[w.t,I.lW,h.O5,P.L,f.$g,xt.O],pipes:[_.X$],styles:[""]}),i})();const Fl=[{path:"",component:Nt.Y},{path:":voId",component:ce,canActivateChild:[(()=>{class i{constructor(e,o,a,s){this.authResolver=e,this.routePolicyService=o,this.router=a,this.notificator=s}static getBeanName(e){switch(e){case"organizations":return"Vo";case"groups":return"Group";case"facilities":return"Facility";case"resources":return"Resource";case"members":return"Member";default:return""}}static parseUrl(e){const o=e.slice(1).split("/").reverse(),a={key:"",entity:{id:-1,beanName:""}};for(const s of o){if(Number(s)){if(-1===a.entity.id){a.entity.id=Number(s);continue}break}a.key=s.concat("-",a.key)}return a.key=a.key.slice(0,a.key.length-1),a.entity.beanName=i.getBeanName(a.key.split("-")[0]),a}canActivateChild(e,o){if(this.authResolver.isPerunAdminOrObserver())return!0;const a=i.parseUrl(o.url);return!!this.routePolicyService.canNavigate(a.key,a.entity)||(this.notificator.showRouteError(),this.router.parseUrl("/notAuthorized"))}}return i.\u0275fac=function(e){return new(e||i)(t.LFG(u.x4),t.LFG(u.Ip),t.LFG(E.F0),t.LFG(u.V6))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})()],children:[{path:"",component:Kt,data:{animation:"VoOverviewPage"}},{path:"attributes",component:si,data:{animation:"VoAttributesPage"}},{path:"groups",component:te.G,data:{animation:"VoGroupsPage"}},{path:"members",component:ee.y,data:{animation:"VoMembersPage"}},{path:"resources",component:oi,children:[{path:"",component:yn,data:{animation:"VoResourcesOverviewPage"}},{path:"preview",component:qn.z,data:{animation:"VoResourcesPreviewPage"}},{path:"states",component:Fn.z,data:{animation:"VoResourcesStatesPage"}},{path:"tags",component:ta,data:{animation:"VoResourcesTagsPage"}}]},{path:"applications",component:ni.c,data:{animation:"VoApplicationsPage"}},{path:"applications/:applicationId",component:K,data:{animation:"VoApplicationDetailPage"}},{path:"sponsoredMembers",component:Sr.T,data:{animation:"VoSettingsSponsoredMembersPage"}},{path:"serviceAccounts",component:yl,data:{animation:"VoSettingsServiceMembersPage"}},{path:"statistics",component:yr,data:{animation:"VoStatisticsPage"}},{path:"settings",component:ai,children:[{path:"",component:ci,data:{animation:"VoSettingsOverviewPage"}},{path:"expiration",component:Si,data:{animation:"VoSettingsExpirationPage"}},{path:"managers",component:xi,data:{animation:"VoSettingsManagersPage"}},{path:"applicationForm",component:Ro.w,data:{animation:"SettingsApplicationFormPage"}},{path:"applicationForm/preview",component:mt,data:{animation:"SettingsApplicationFormPreviewPage"}},{path:"applicationForm/manageGroups",component:Xr},{path:"notifications",component:es,data:{animation:"SettingsApplicationFormNotificationsPage"}},{path:"extsources",component:Zs,data:{animation:"VoSettingsExtSourcesPage"}}]}]},{path:":voId/members/:memberId",component:zt,children:[{path:"",component:$e,data:{animation:"MemberOverviewPage"}},{path:"attributes",component:wn,data:{animation:"MemberAttributesPage"}},{path:"groups",component:ze.j,data:{animation:"MemberGroupsPage"}},{path:"applications",component:$s,data:{animation:"MemberApplicationsPage"}},{path:"applications/:applicationId",component:K,data:{animation:"MemberApplicationDetailPage"}},{path:"resources",component:gr,data:{animation:"MemberResourcesPage"}}]},{path:":voId/groups/:groupId",component:Yt,children:[{path:"",component:ei,data:{animation:"GroupOverviewPage"}},{path:"members",component:go.y,data:{animation:"GroupMembersPage"}},{path:"subgroups",component:ii.u,data:{animation:"GroupSubgroupsPage"}},{path:"applications",component:Zi.W,data:{animation:"GroupApplicationsPage"}},{path:"resources",component:ho.q,data:{animation:"GroupResourcesPage"}},{path:"attributes",component:Zo,data:{animation:"GroupAttributesPage"}},{path:"statistics",component:Vr,data:{animation:"GroupStatisticsPage"}},{path:"settings",component:To,children:[{path:"",component:Oo,data:{animation:"GroupSettingsOverviewPage"}},{path:"expiration",component:ia,data:{animation:"GroupSettingsExpirationPage"}},{path:"managers",component:oa,data:{animation:"GroupSettingsManagersPage"}},{path:"applicationForm",component:is.Z,data:{animation:"GroupSettingsApplicationFormPage"}},{path:"applicationForm/preview",component:mt},{path:"notifications",component:us,data:{animation:"GroupSettingsNotificationsPage"}},{path:"relations",component:Js,data:{animation:"GroupSettingsRelationsPage"}},{path:"extsources",component:Rr,data:{animation:"GroupSettingsExtsourcesPage"}}]},{path:"applications/:applicationId",component:K,data:{animation:"GroupApplicationDetailPage"}}]},{path:":voId/resources/:resourceId",component:hr.b,children:[{path:"",component:Tr.H,data:{animation:"ResourceOverviewPage"}},{path:"groups",component:Ar.K,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:br.D,data:{animation:"ResourceAssignedServicesComponent"}},{path:"attributes",component:Er.X,data:{animation:"ResourceAttributesPage"}},{path:"members",component:Cr.y,data:{animation:"ResourceAssignedMembersComponent"}},{path:"tags",component:Wr.v,data:{animation:"ResourceTagsComponent"}},{path:"settings",component:fr.t,children:[{path:"",component:Ir.h,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:vr.O,data:{animation:"ResourceSettingsManagersPage"}}]}]}];let Vl=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[[E.Bz.forChild(Fl)],E.Bz]}),i})();var Yl=l(14264),Jl=l(63189),Ql=l(19516);let kl=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[[h.ez,Vl,Yl.m,Jl.r,ys.ez,Ql.d4,T.Je]]}),i})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/assets/config/defaultConfig.json b/dist/apps/admin-gui/assets/config/defaultConfig.json index 618640d21..8e4ff02da 100644 --- a/dist/apps/admin-gui/assets/config/defaultConfig.json +++ b/dist/apps/admin-gui/assets/config/defaultConfig.json @@ -51,6 +51,7 @@ "skip_oidc": false, "group_name_secondary_regex": "^[-a-zA-Z.0-9_ ]+$", "group_name_error_message": "Name cannot be empty and can contain only characters a-z, A-Z, numbers, spaces, dots, '_' and '-'", + "enforce_consents": false, "footer": { "columns": [ { diff --git a/dist/apps/admin-gui/assets/config/version.json b/dist/apps/admin-gui/assets/config/version.json index 7413cf65c..dead05af7 100644 --- a/dist/apps/admin-gui/assets/config/version.json +++ b/dist/apps/admin-gui/assets/config/version.json @@ -1 +1 @@ -{"version":"6.1.1"} +{"version":"7.0.0"} diff --git a/dist/apps/admin-gui/assets/i18n/en.json b/dist/apps/admin-gui/assets/i18n/en.json index 7d88b4b95..d2ce0015b 100644 --- a/dist/apps/admin-gui/assets/i18n/en.json +++ b/dist/apps/admin-gui/assets/i18n/en.json @@ -894,7 +894,8 @@ "ORGANIZATIONS": "Organizations", "SERVICES": "Services", "OWNERS": "Owners", - "AUDIT_LOG": "Audit log" + "AUDIT_LOG": "Audit log", + "CONSENT_HUBS": "Consent hubs" }, "VISUALIZER": { "ATTR_DEPENDENCIES": "Modules dependencies", @@ -1718,7 +1719,8 @@ "ADD": "Add", "CANCEL": "Cancel", "SUCCESS": "Required attributes were added.", - "FILTER": "Filter" + "FILTER": "Filter", + "ACTIVE_WARN": "Service is active. Some attributes can only be added to disabled services. Preferably disable service before adding required attributes." }, "REMOVE_REQUIRED_ATTRIBUTES": { "TITLE": "Remove required attributes", @@ -2087,6 +2089,17 @@ "DELETE": "Delete with all relations", "KEEP": "Keep facility", "SUCCESS": "Facility was successfully deleted" + }, + "EDIT_ENFORCE_CONSENTS_FLAG": { + "DISABLE_TITLE": "Stop enforcing consents", + "ENFORCE_TITLE": "Enforce consents", + "DISABLE_DESCRIPTION": "You are about to stop enforcing user consent to data processing for the following consent hub:", + "ENFORCE_DESCRIPTION": "You are about to enforce user consent to data processing for the following consent hub:", + "DISABLE_BOLD_DESCRIPTION": "Note that users will not have to grant consent to data processing so they will be propagated to destination services without any consent.", + "ENFORCE_BOLD_DESCRIPTION": "Note that users will start to receive email notifications to grant consent to data processing. Those who do not do so will not be propagated to destination services.", + "CANCEL_BUTTON": "Cancel", + "DISABLE_BUTTON": "Stop enforcing", + "ENFORCE_BUTTON": "Enforce" } }, "MEMBERS_LIST": { @@ -2148,7 +2161,8 @@ "IMPORT": "Import", "DELETE": "Delete", "SEARCH": "Filter by Id, name, entity, definition, or type", - "NO_ATTRIBUTES": "There are no attributes available." + "NO_ATTRIBUTES": "There are no attributes available.", + "CONSENT_RELATED_DISABLED": "Attribute requires user's permission. It can only be added, when service is disabled." }, "USERS": { "TITLE": "Users", @@ -2215,6 +2229,10 @@ }, "AUDIT_LOG": { "TITLE": "Audit log" + }, + "CONSENT_HUBS": { + "TITLE": "Consent hubs", + "SEARCH": "Search by Id, Name or Facilities" } }, "USER_DETAIL": { @@ -2390,6 +2408,8 @@ "SPONSORED_MEMBERS_LIST": { "ID": "Id", "NAME": "Name", + "EMAIL": "Email", + "LOGIN": "Login", "SPONSORS": "Sponsors", "NO_SPONSORED_MEMBERS_WARNING": "No sponsored members found", "PASSWORD_RESET": "Reset password" @@ -2414,6 +2434,15 @@ "DESTINATIONS": "Destinations", "HOSTS": "Hosts", "NO_FACILITIES_WARNING": "No facilities found" + }, + "CONSENT_HUBS_LIST": { + "ID": "Id", + "NAME": "Name", + "ENFORCE_CONSENTS": "Enforce consents", + "FACILITIES": "Facilities", + "NO_CONSENT_HUBS": "No consent hubs found", + "NO_FILTER_RESULTS": "No consent hubs are matching your query", + "CHANGE_ENFORCE_CONSENTS_SUCCESS": "Enforce consents flag was successfully updated" } }, "IDENTITY_DETAIL": { diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/consent-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/consent-white.svg new file mode 100644 index 000000000..039fcd593 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/consent-white.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/roles.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/roles.svg new file mode 100644 index 000000000..8983395cc --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/roles.svg @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/index.html b/dist/apps/admin-gui/index.html index f5c39058d..0c565d229 100644 --- a/dist/apps/admin-gui/index.html +++ b/dist/apps/admin-gui/index.html @@ -14,5 +14,5 @@
- + diff --git a/dist/apps/admin-gui/main.29613357003f9d7b.js b/dist/apps/admin-gui/main.29613357003f9d7b.js deleted file mode 100644 index 067e59322..000000000 --- a/dist/apps/admin-gui/main.29613357003f9d7b.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[179],{25828:(Ke,be,d)=>{"use strict";d.d(be,{t:()=>E});var e=d(10036),f=d(64080),g=d(36908),T=d(5e3),m=d(64901),A=d(77446),s=d(88561),b=d(51062);const O=function(){return["user","id","name","email","logins","organization"]};let E=(()=>{class h{constructor(L){this.storeService=L,this.usersWithoutVo=!1,this.tableId=e.xx,this.attributes=[]}ngOnInit(){this.attributes=[f.r.USER_DEF_ORGANIZATION,f.r.USER_DEF_PREFERRED_MAIL],this.attributes=this.attributes.concat(this.storeService.getLoginAttributeNames())}onSearchByString(L){this.searchString=L}findUsersWithoutVO(){this.usersWithoutVo=!this.usersWithoutVo}}return h.id="AdminUsersComponent",h.\u0275fac=function(L){return new(L||h)(T.Y36(g.d6))},h.\u0275cmp=T.Xpm({type:h,selectors:[["app-admin-users"]],hostVars:2,hostBindings:function(L,V){2&L&&T.ekj("router-component",V.true)},decls:8,vars:15,consts:[[1,"page-subtitle"],[1,"mt-2","search-field",3,"placeholder","filter"],["color","primary",3,"checked","change"],[3,"disableRouting","searchString","withoutVo","displayedColumns","tableId","attrNames"]],template:function(L,V){1&L&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"perun-web-apps-debounce-filter",1),T.NdJ("filter",function(ue){return V.onSearchByString(ue)}),T.qZA(),T.TgZ(4,"mat-checkbox",2),T.NdJ("change",function(){return V.findUsersWithoutVO()}),T._uU(5),T.ALo(6,"translate"),T.qZA(),T._UZ(7,"perun-web-apps-users-dynamic-list",3)),2&L&&(T.xp6(1),T.Oqu(T.lcZ(2,10,"ADMIN.USERS.TITLE")),T.xp6(2),T.Q6J("placeholder","ADMIN.USERS.SEARCH_PLACEHOLDER"),T.xp6(1),T.Q6J("checked",V.usersWithoutVo),T.xp6(1),T.hij(" ",T.lcZ(6,12,"ADMIN.USERS.USERS_WITHOUT_VO"),"\n"),T.xp6(2),T.Q6J("disableRouting",!1)("searchString",V.searchString)("withoutVo",V.usersWithoutVo)("displayedColumns",T.DdM(14,O))("tableId",V.tableId)("attrNames",V.attributes))},directives:[m.P,A.oG,s.M],pipes:[b.X$],styles:[".search-field[_ngcontent-%COMP%]{width:325px}"]}),h})()},72077:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>H});var e=d(36908),f=d(61715),g=d(40520),T=d(9244),m=d(5e3),A=d(48966),s=d(47423),b=d(51062);let O=(()=>{class Q{constructor(se){this.dialogRef=se}onReload(){location.reload()}onClose(){this.dialogRef.close()}}return Q.\u0275fac=function(se){return new(se||Q)(m.Y36(A.so))},Q.\u0275cmp=m.Xpm({type:Q,selectors:[["app-new-version-dialog"]],decls:15,vars:12,consts:[["mat-dialog-title",""],[1,"user-theme"],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(se,ge){1&se&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"div",1),m.TgZ(4,"div",2),m.TgZ(5,"p"),m._uU(6),m.ALo(7,"translate"),m.qZA(),m.qZA(),m.TgZ(8,"div",3),m.TgZ(9,"button",4),m.NdJ("click",function(){return ge.onClose()}),m._uU(10),m.ALo(11,"translate"),m.qZA(),m.TgZ(12,"button",5),m.NdJ("click",function(){return ge.onReload()}),m._uU(13),m.ALo(14,"translate"),m.qZA(),m.qZA(),m.qZA()),2&se&&(m.xp6(1),m.Oqu(m.lcZ(2,4,"DIALOGS.NEW_VERSION.TITLE")),m.xp6(5),m.hij(" ",m.lcZ(7,6,"DIALOGS.NEW_VERSION.DESCRIPTION")," "),m.xp6(4),m.hij(" ",m.lcZ(11,8,"DIALOGS.NEW_VERSION.LATER")," "),m.xp6(3),m.hij(" ",m.lcZ(14,10,"DIALOGS.NEW_VERSION.RELOAD")," "))},directives:[A.uh,A.xY,A.H8,s.lW],pipes:[b.X$],styles:[""]}),Q})();var E=d(30325),h=d(92198);let k=(()=>{class Q{constructor(se,ge){this.router=se,this.routeReuseStrategy=ge;const Ne=ge;se.events.subscribe(Fe=>{Fe instanceof E.OD&&Ne.setLastNavigationType("popstate"===Fe.navigationTrigger?"back":"direct")})}init(){}}return Q.\u0275fac=function(se){return new(se||Q)(m.LFG(E.F0),m.LFG(E.wN))},Q.\u0275prov=m.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})();const L=["footer"];function V(Q,te){if(1&Q&&(m.TgZ(0,"div",3),m.TgZ(1,"mat-icon"),m._uU(2,"alert"),m.qZA(),m._uU(3),m.qZA()),2&Q){const se=m.oxw();m.xp6(3),m.hij(" ",se.warningMessage,"\n")}}const $=function(Q,te){return{top:Q,background:te}},ue=function(Q,te){return{"margin-top":Q,"min-height":te}},ce=function(Q){return{"border-color":Q}},Le=function(Q){return{background:Q}},de=function(Q){return{"background-color":Q}},ke=function(Q){return{"min-height":Q}};function ae(Q,te){if(1&Q&&(m._UZ(0,"app-perun-nav-menu",4),m.TgZ(1,"mat-sidenav-container",5),m.TgZ(2,"mat-sidenav",6,7),m.TgZ(4,"perfect-scrollbar",8),m._UZ(5,"app-side-menu",9),m.qZA(),m.qZA(),m.TgZ(6,"mat-sidenav-content",10),m.TgZ(7,"div",11),m._UZ(8,"router-outlet"),m.qZA(),m.TgZ(9,"div",null,12),m._UZ(11,"perun-web-apps-footer"),m.qZA(),m.qZA(),m.qZA()),2&Q){const se=m.MAs(3),ge=m.oxw();m.Q6J("ngStyle",m.WLB(14,$,ge.getNavMenuTop(),ge.navBackgroundColor))("sideNav",se)("principal",ge.principal),m.xp6(1),m.Q6J("ngStyle",m.WLB(17,ue,ge.getSideNavMarginTop(),ge.getSideNavMinHeight())),m.xp6(1),m.Q6J("ngStyle",m.VKq(20,ce,ge.sideBarBorderColor))("mode",ge.sidebarMode)("opened",!ge.isMobile())("fixedInViewport",!0)("fixedTopGap",ge.getTopGap()),m.xp6(2),m.Q6J("ngStyle",m.VKq(22,Le,ge.sideMenubackgroundColor))("scrollIndicators",!0),m.xp6(1),m.Q6J("sideNav",se),m.xp6(1),m.Q6J("ngStyle",m.VKq(24,de,ge.contentBackgroundColor)),m.xp6(1),m.Q6J("ngStyle",m.VKq(26,ke,ge.contentInnerMinHeight))}}function j(Q,te){1&Q&&m._UZ(0,"perun-web-apps-login-screen-base",13),2&Q&&m.Q6J("application","admin-gui")}let H=(()=>{class Q{constructor(se,ge,Ne,Fe,ne,Me,ve){this.cache=se,this.store=ge,this.http=Ne,this.dialog=Fe,this.router=ne,this.initAuth=Me,this.cd=ve,this.sidebarMode="side",this.navBackgroundColor=this.store.get("theme","nav_bg_color"),this.sideBarBorderColor=this.store.get("theme","sidemenu_border_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.sideMenubackgroundColor=this.store.get("theme","sidemenu_bg_color"),this.displayWarning=this.store.get("display_warning"),this.warningMessage=this.store.get("warning_message"),this.version=d(4147).i8,this.contentInnerMinHeight=this.displayWarning?"calc(100vh - 112px)":"calc(100vh - 64px)",this.cache.init(),this.getScreenSize()}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side",this.lastScreenWidth=window.innerWidth}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}isMobile(){return window.innerWidth<=Q.minWidth}ngOnInit(){this.isLoginScreenShow=this.initAuth.isLoginScreenShown(),this.isServiceAccess=this.initAuth.isServiceAccessLoginScreenShown(),sessionStorage.removeItem("baLogout"),null===sessionStorage.getItem("initPage")&&(sessionStorage.setItem("initPage",location.pathname),sessionStorage.setItem("onInitPage","true")),this.store.setInitialPageId(1),this.principal=this.store.getPerunPrincipal(),this.loadAppVersion(),(0,f.F)(3e4).subscribe(()=>{this.loadAppVersion()}),this.router.events.pipe((0,h.h)(se=>se instanceof E.OD)).subscribe(se=>{this.updateInitAccessedPage(se)})}updateInitAccessedPage(se){se.url===sessionStorage.getItem("initPage")?("imperative"===se.navigationTrigger&&se.id!==this.store.getInitialPageId()&&sessionStorage.setItem("onInitPage","false"),"popstate"===se.navigationTrigger&&(se.restoredState.navigationId===this.store.getInitialPageId()?(sessionStorage.setItem("onInitPage","true"),this.store.setInitialPageId(se.id)):sessionStorage.setItem("onInitPage","false"))):sessionStorage.setItem("onInitPage","false")}loadAppVersion(){const se=new g.WM({"Cache-Control":"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"});this.http.get("/assets/config/version.json",{headers:se}).subscribe(ge=>{const Ne=ge.version;if(Ne)if(this.version&&"SNAPSHOT"!==Ne&&this.version!==Ne){const Fe=(0,T.kZ)();this.dialog.open(O,Fe)}else this.version=Ne},()=>{})}getTopGap(){return this.displayWarning?112:64}getSideNavMarginTop(){return this.displayWarning?"112px":"64px"}getSideNavMinHeight(){return this.displayWarning?"calc(100vh - 112px)":"calc(100vh - 64px)"}getNavMenuTop(){return this.displayWarning?"48px":"0"}ngAfterViewInit(){this.contentInnerMinHeight=this.displayWarning?"calc(100vh - "+this.footer.nativeElement.offsetHeight+"px - 112px)":"calc(100vh - "+this.footer.nativeElement.offsetHeight+"px - 64px)",this.cd.detectChanges()}}return Q.minWidth=992,Q.\u0275fac=function(se){return new(se||Q)(m.Y36(k),m.Y36(e.d6),m.Y36(g.eN),m.Y36(A.uw),m.Y36(E.F0),m.Y36(e.v0),m.Y36(m.sBO))},Q.\u0275cmp=m.Xpm({type:Q,selectors:[["app-root"]],viewQuery:function(se,ge){if(1&se&&m.Gf(L,5),2&se){let Ne;m.iGM(Ne=m.CRH())&&(ge.footer=Ne.first)}},hostBindings:function(se,ge){1&se&&m.NdJ("resize",function(Fe){return ge.getScreenSize(Fe)},!1,m.Jf7)},decls:4,vars:4,consts:[["class","beta-warning",4,"ngIf"],[3,"displayWarning"],[3,"ngIf"],[1,"beta-warning"],["id","nav-menu",1,"mat-elevation-z3",3,"ngStyle","sideNav","principal"],[3,"ngStyle"],[3,"ngStyle","mode","opened","fixedInViewport","fixedTopGap"],["sidenav",""],[3,"ngStyle","scrollIndicators"],[3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],["footer",""],[3,"application"]],template:function(se,ge){1&se&&(m.YNc(0,V,4,1,"div",0),m._UZ(1,"perun-web-apps-notificator",1),m.YNc(2,ae,12,28,"ng-template",2),m.YNc(3,j,1,1,"ng-template",2)),2&se&&(m.Q6J("ngIf",ge.displayWarning),m.xp6(1),m.Q6J("displayWarning",ge.displayWarning),m.xp6(1),m.Q6J("ngIf",!ge.isLoginScreenShow&&!ge.isServiceAccess&&!ge.isServiceLogin()),m.xp6(1),m.Q6J("ngIf",ge.isLoginScreenShow||ge.isServiceAccess||ge.isServiceLogin()))},styles:["#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px}.beta-warning[_ngcontent-%COMP%]{overflow:hidden;height:48px;position:fixed;z-index:999;top:0;background-color:#ffbfc5;width:100%;color:#d32f2f;text-align:center;font-weight:500;padding:6px;line-height:36px;font-size:1rem}"]}),Q})()},77968:(Ke,be,d)=>{"use strict";d.d(be,{D:()=>f});var e=d(5e3);let f=(()=>{class g{constructor(){this.accessItemsChange=new e.vpe,this.facilityItemsChange=new e.vpe,this.adminItemsChange=new e.vpe,this.userItemsChange=new e.vpe,this.resetChange=new e.vpe,this.homeItemsChange=new e.vpe}setHomeItems(m){this.homeItemsChange.emit(m)}setAccessMenuItems(m){this.accessItemsChange.emit(m)}setFacilityMenuItems(m){this.facilityItemsChange.emit(m)}setAdminItems(m){this.adminItemsChange.emit(m)}setUserItems(m){this.userItemsChange.emit(m)}reset(){this.resetChange.emit()}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275prov=e.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},37380:(Ke,be,d)=>{"use strict";d.d(be,{o:()=>Le});var e=d(9315),f=d(10036),g=d(36908),T=d(5e3),m=d(96214),A=d(67322),s=d(74107),b=d(90508),O=d(69808),E=d(7434),h=d(20773),k=d(24179),L=d(51062);function V(de,ke){if(1&de&&(T.TgZ(0,"mat-option",9),T._uU(1),T.qZA()),2&de){const ae=ke.$implicit;T.Q6J("value",ae.id),T.xp6(1),T.hij(" ",ae.name," ")}}function $(de,ke){1&de&&T._UZ(0,"mat-spinner",10)}const ue=function(){return["id","vo","name","description"]};function ce(de,ke){if(1&de&&T._UZ(0,"perun-web-apps-groups-list",11),2&de){const ae=T.oxw();T.Q6J("displayedColumns",T.DdM(6,ue))("groups",ae.groupsToShow)("tableId",ae.tableId)("groupsToDisableRouting",ae.groupsWithoutRouteAuth)("filter",ae.filterValue)("disableMembers",!1)}}let Le=(()=>{class de{constructor(ae,j,H){this.facilityManager=ae,this.authResolver=j,this.entityStorageService=H,this.filterValue="",this.groups=[],this.selected="all",this.groupsToShow=this.groups,this.tableId=f.Aj,this.groupsWithoutRouteAuth=new Set}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.facilityManager.getAllowedVos(this.facility.id).subscribe(ae=>{this.vos=ae,this.refreshTable()})}showGroup(){this.groupsToShow="all"!==this.selected?this.groups.filter(ae=>ae.voId===parseInt(this.selected,10)):this.groups}refreshTable(){this.loading=!0,this.groups=[],this.vos.forEach(ae=>{this.facilityManager.getAllowedGroups(this.facility.id,ae.id).subscribe(j=>{this.groups=this.groups.concat(j),this.groupsToShow=this.groups,this.setAuthRights(ae,j),this.loading=!1})}),0===this.vos.length&&(this.loading=!1)}setAuthRights(ae,j){j.forEach(H=>{this.authResolver.isAuthorized("getGroupById_int_policy",[ae,H])||this.groupsWithoutRouteAuth.add(H.id)})}applyFilter(ae){this.filterValue=ae}}return de.id="FacilityAllowedGroupsComponent",de.\u0275fac=function(ae){return new(ae||de)(T.Y36(e.IQ),T.Y36(g.x4),T.Y36(g.fb))},de.\u0275cmp=T.Xpm({type:de,selectors:[["app-facility-allowed-groups"]],hostVars:2,hostBindings:function(ae,j){2&ae&&T.ekj("router-component",j.true)},inputs:{groups:"groups"},decls:17,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],[1,"mr-2"],[3,"value","valueChange","selectionChange"],["value","all"],[3,"value",4,"ngFor","ngForOf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"displayedColumns","groups","tableId","groupsToDisableRouting","filter","disableMembers",4,"ngIf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","groups","tableId","groupsToDisableRouting","filter","disableMembers"]],template:function(ae,j){1&ae&&(T.TgZ(0,"div"),T.TgZ(1,"h1",0),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.TgZ(4,"perun-web-apps-refresh-button",1),T.NdJ("refresh",function(){return j.refreshTable()}),T.qZA(),T.TgZ(5,"mat-form-field",2),T.TgZ(6,"mat-label"),T._uU(7),T.ALo(8,"translate"),T.qZA(),T.TgZ(9,"mat-select",3),T.NdJ("valueChange",function(Q){return j.selected=Q})("selectionChange",function(){return j.showGroup()}),T.TgZ(10,"mat-option",4),T._uU(11),T.ALo(12,"translate"),T.qZA(),T.YNc(13,V,2,2,"mat-option",5),T.qZA(),T.qZA(),T.TgZ(14,"perun-web-apps-immediate-filter",6),T.NdJ("filter",function(Q){return j.applyFilter(Q)}),T.qZA(),T.YNc(15,$,1,0,"mat-spinner",7),T.YNc(16,ce,1,7,"perun-web-apps-groups-list",8),T.qZA()),2&ae&&(T.xp6(2),T.Oqu(T.lcZ(3,8,"MENU_ITEMS.FACILITY.ALLOWED_GROUPS")),T.xp6(5),T.Oqu(T.lcZ(8,10,"FACILITY_DETAIL.ALLOWED_GROUPS.SHOW_VOS_GROUPS")),T.xp6(2),T.Q6J("value",j.selected),T.xp6(2),T.Oqu(T.lcZ(12,12,"FACILITY_DETAIL.ALLOWED_GROUPS.ALL")),T.xp6(2),T.Q6J("ngForOf",j.vos),T.xp6(1),T.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_GROUPS.FILTER"),T.xp6(1),T.Q6J("ngIf",j.loading),T.xp6(1),T.Q6J("ngIf",!j.loading))},directives:[m.t,A.KE,A.hX,s.gD,b.ey,O.sg,E.L,O.O5,h.$g,k.W],pipes:[L.X$],styles:[""]}),de})()},34904:(Ke,be,d)=>{"use strict";d.d(be,{f:()=>ge});var e=d(20449),f=d(533),g=d(9315),T=d(93075),m=d(48966),A=d(36908),s=d(5e3),b=d(51062),O=d(69808),E=d(20773),h=d(62707),k=d(67322),L=d(98833),V=d(47423);function $(Ne,Fe){1&Ne&&s._UZ(0,"mat-spinner",5)}function ue(Ne,Fe){if(1&Ne){const ne=s.EpF();s.TgZ(0,"div",6),s.TgZ(1,"perun-web-apps-vo-search-select",7),s.NdJ("voSelected",function(ve){return s.CHM(ne),s.oxw().selectedVo=ve}),s.qZA(),s.TgZ(2,"mat-form-field"),s._UZ(3,"input",8),s.ALo(4,"translate"),s.TgZ(5,"mat-error"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.TgZ(8,"mat-form-field"),s._UZ(9,"input",9),s.ALo(10,"translate"),s.TgZ(11,"mat-error"),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&Ne){const ne=s.oxw();s.xp6(1),s.Q6J("vos",ne.vos),s.xp6(2),s.s9C("placeholder",s.lcZ(4,7,"DIALOGS.CREATE_RESOURCE.NAME")),s.Q6J("formControl",ne.nameCtrl),s.xp6(3),s.hij(" ",s.lcZ(7,9,"DIALOGS.CREATE_RESOURCE.INCORRECT_NAME")," "),s.xp6(3),s.s9C("placeholder",s.lcZ(10,11,"DIALOGS.CREATE_RESOURCE.DESCRIPTION")),s.Q6J("formControl",ne.descriptionCtrl),s.xp6(3),s.hij(" ",s.lcZ(13,13,"DIALOGS.CREATE_RESOURCE.FILL_DESCRIPTION")," ")}}let ce=(()=>{class Ne{constructor(ne,Me,ve,me,Te,ee){this.dialogRef=ne,this.data=Me,this.notificator=ve,this.voService=me,this.translate=Te,this.resourcesManager=ee,this.vos=[],this.selectedVo=null,Te.get("DIALOGS.CREATE_RESOURCE.SUCCESS").subscribe(R=>this.successMessage=R)}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voService.getAllVos().subscribe(ne=>{this.vos=ne,this.loading=!1},()=>this.loading=!1),this.nameCtrl=new T.NI(null,[T.kI.required,T.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new T.NI("")}onSubmit(){this.loading=!0,this.resourcesManager.createResource(this.selectedVo.id,this.data.facilityId,this.nameCtrl.value,this.descriptionCtrl.value).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return Ne.\u0275fac=function(ne){return new(ne||Ne)(s.Y36(m.so),s.Y36(m.WI),s.Y36(A.V6),s.Y36(g.YF),s.Y36(b.sK),s.Y36(g.xk))},Ne.\u0275cmp=s.Xpm({type:Ne,selectors:[["app-create-resource-dialog"]],decls:10,vars:12,consts:[["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","data-cy","create-resource-dialog-button","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["data-cy","create-resource-select-vo",1,"long-input",3,"vos","voSelected"],["matInput","","required","","data-cy","create-resource-name-input",3,"placeholder","formControl"],["matInput","",3,"placeholder","formControl"]],template:function(ne,Me){1&ne&&(s.TgZ(0,"div"),s.YNc(1,$,1,0,"mat-spinner",0),s.YNc(2,ue,14,15,"div",1),s.TgZ(3,"div",2),s.TgZ(4,"button",3),s.NdJ("click",function(){return Me.onCancel()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"button",4),s.NdJ("click",function(){return Me.onSubmit()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA(),s.qZA()),2&ne&&(s.Tol(Me.theme),s.xp6(1),s.Q6J("ngIf",Me.loading),s.xp6(1),s.Q6J("ngIf",!Me.loading),s.xp6(3),s.hij(" ",s.lcZ(6,8,"DIALOGS.CREATE_RESOURCE.CANCEL")," "),s.xp6(2),s.Q6J("disabled",Me.nameCtrl.invalid||Me.descriptionCtrl.invalid||null===Me.selectedVo||Me.loading),s.xp6(1),s.hij(" ",s.lcZ(9,10,"DIALOGS.CREATE_RESOURCE.CREATE")," "))},directives:[O.O5,E.$g,m.xY,h.M,k.KE,L.Nt,T.Fj,T.Q7,T.JJ,T.oH,k.TO,m.H8,V.lW],pipes:[b.X$],styles:[".long-input[_ngcontent-%COMP%]{width:100%}"]}),Ne})();var Le=d(10036),de=d(9244),ke=d(96214),ae=d(7434),j=d(62109);function H(Ne,Fe){if(1&Ne){const ne=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(ne),s.oxw().createResource()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&Ne&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"FACILITY_DETAIL.RESOURCES.CREATE")," "))}function Q(Ne,Fe){if(1&Ne){const ne=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(ne),s.oxw().removeResource()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&Ne){const ne=s.oxw();s.Q6J("disabled",0===ne.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"FACILITY_DETAIL.RESOURCES.DELETE")," ")}}function te(Ne,Fe){1&Ne&&s._UZ(0,"mat-spinner",9)}function se(Ne,Fe){if(1&Ne&&s._UZ(0,"perun-web-apps-resources-list",10),2&Ne){const ne=s.oxw();s.Q6J("tableId",ne.tableId)("filterValue",ne.filterValue)("resources",ne.resources)("selection",ne.selected)("disableRouting",!ne.routeAuth)("displayedColumns",ne.displayedColumns)}}let ge=(()=>{class Ne{constructor(ne,Me,ve,me){this.dialog=ne,this.facilitiesManager=Me,this.authResolver=ve,this.entityStorageService=me,this.resources=[],this.selected=new e.Ov(!0,[]),this.filterValue="",this.tableId=Le.CP,this.displayedColumns=["id","vo","facility","description"]}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}removeResource(){const ne=(0,de.kZ)();ne.width="450px",ne.data={theme:"facility-theme",resources:this.selected.selected},this.dialog.open(f.f,ne).afterClosed().subscribe(ve=>{ve&&this.refreshTable()})}refreshTable(){this.loading=!0,this.facilitiesManager.getAssignedRichResourcesForFacility(this.facility.id).subscribe(ne=>{this.resources=ne,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("createResource_Resource_Vo_Facility_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("deleteResource_Resource_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","vo","description"]:["id","name","vo","description"],0!==this.resources.length&&(this.routeAuth=this.authResolver.isAuthorized("getRichResourceById_int_policy",[this.facility,this.resources[0]]))}applyFilter(ne){this.filterValue=ne}createResource(){const ne=(0,de.kZ)();ne.width="1350px",ne.data={facilityId:this.facility.id,theme:"facility-theme"},this.dialog.open(ce,ne).afterClosed().subscribe(ve=>{ve&&this.refreshTable()})}}return Ne.id="FacilityResourcesComponent",Ne.\u0275fac=function(ne){return new(ne||Ne)(s.Y36(m.uw),s.Y36(g.IQ),s.Y36(A.x4),s.Y36(A.fb))},Ne.\u0275cmp=s.Xpm({type:Ne,selectors:[["app-facility-resources"]],hostVars:2,hostBindings:function(ne,Me){2&ne&&s.ekj("router-component",Me.true)},decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","data-cy","create-resource-button","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2","data-cy","delete-resource-button",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","resources","selection","disableRouting","displayedColumns",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","create-resource-button",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-resource-button",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","resources","selection","disableRouting","displayedColumns"]],template:function(ne,Me){1&ne&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return Me.refreshTable()}),s.qZA(),s.YNc(5,H,3,3,"button",2),s.YNc(6,Q,3,4,"button",3),s.TgZ(7,"perun-web-apps-immediate-filter",4),s.NdJ("filter",function(me){return Me.applyFilter(me)}),s.qZA(),s.YNc(8,te,1,0,"mat-spinner",5),s.YNc(9,se,1,6,"perun-web-apps-resources-list",6),s.qZA()),2&ne&&(s.xp6(2),s.Oqu(s.lcZ(3,6,"FACILITY_DETAIL.RESOURCES.TITLE")),s.xp6(3),s.Q6J("ngIf",Me.addAuth),s.xp6(1),s.Q6J("ngIf",Me.removeAuth),s.xp6(1),s.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),s.xp6(1),s.Q6J("ngIf",Me.loading),s.xp6(1),s.Q6J("ngIf",!Me.loading))},directives:[ke.t,O.O5,V.lW,ae.L,E.$g,j.C],pipes:[b.X$],styles:[""]}),Ne})()},86353:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>me});var e=d(9315),f=d(9244),g=d(10036),T=d(20449),m=d(48966),A=d(36908),s=d(93075),b=d(5e3),O=d(51062),E=d(30325),h=d(69808),k=d(20773),L=d(67322),V=d(98833),$=d(74107),ue=d(90508),ce=d(98380),Le=d(47423);function de(Te,ee){1&Te&&b._UZ(0,"mat-spinner",7)}function ke(Te,ee){if(1&Te){const R=b.EpF();b.TgZ(0,"mat-option",16),b.NdJ("click",function(){const He=b.CHM(R).$implicit;return b.oxw(2).srcFacility=He}),b._uU(1),b.qZA()}if(2&Te){const R=ee.$implicit;b.Q6J("value",R),b.xp6(1),b.hij(" ",R.name," ")}}function ae(Te,ee){if(1&Te){const R=b.EpF();b.TgZ(0,"div",8),b.TgZ(1,"mat-form-field"),b._UZ(2,"input",9),b.ALo(3,"translate"),b.TgZ(4,"mat-error"),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.qZA(),b.TgZ(7,"mat-form-field"),b._UZ(8,"input",10),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"mat-form-field"),b.TgZ(11,"mat-select",11),b.ALo(12,"translate"),b.TgZ(13,"mat-option",12),b.NdJ("click",function(){return b.CHM(R),b.oxw().srcFacility=null}),b._uU(14),b.ALo(15,"translate"),b.qZA(),b.YNc(16,ke,2,2,"mat-option",13),b.qZA(),b.qZA(),b.TgZ(17,"app-alert",14),b._UZ(18,"i",15),b.ALo(19,"translate"),b.qZA(),b.qZA()}if(2&Te){const R=b.oxw();b.xp6(2),b.s9C("placeholder",b.lcZ(3,9,"DIALOGS.CREATE_FACILITY.NAME")),b.Q6J("formControl",R.nameControl),b.xp6(3),b.Oqu(b.lcZ(6,11,"DIALOGS.CREATE_FACILITY.REQUIRE_NAME")),b.xp6(3),b.s9C("placeholder",b.lcZ(9,13,"DIALOGS.CREATE_FACILITY.DESCRIPTION")),b.Q6J("formControl",R.descControl),b.xp6(3),b.s9C("placeholder",b.lcZ(12,15,"DIALOGS.CREATE_FACILITY.AS_COPY")),b.xp6(3),b.hij(" ",b.lcZ(15,17,"DIALOGS.CREATE_FACILITY.NO_COPY")," "),b.xp6(2),b.Q6J("ngForOf",R.facilities),b.xp6(2),b.Q6J("innerHTML",b.lcZ(19,19,"DIALOGS.CREATE_FACILITY.HINT"),b.oJD)}}let j=(()=>{class Te{constructor(R,Oe,Ie,He,fe,Ce,Ve){this.dialogRef=R,this.data=Oe,this.facilitiesManager=Ie,this.notificator=He,this.translate=fe,this.router=Ce,this.entityStorageService=Ve,this.nameControl=new s.NI("",[s.kI.required]),this.descControl=new s.NI(""),this.srcFacility=null,this.configure=!1,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.facilitiesManager.getAllFacilities().subscribe(R=>{this.facilities=R,this.loading=!1},()=>this.loading=!1)}copyFacilitySettings(R){this.facilitiesManager.copyAttributes(this.srcFacility.id,R).subscribe(()=>{this.facilitiesManager.copyManagers(this.srcFacility.id,R).subscribe(()=>{this.facilitiesManager.copyOwners(this.srcFacility.id,R).subscribe(()=>{this.handleSuccess(R)},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)}onCreate(R){this.loading=!0,this.configure=R,this.facilitiesManager.createFacility(this.nameControl.value,this.descControl.value).subscribe(Oe=>{this.entityStorageService.setEntity({id:Oe.id,beanName:Oe.beanName}),sessionStorage.setItem("newFacilityId",String(Oe.id)),null!==this.srcFacility?this.copyFacilitySettings(Oe.id):this.handleSuccess(Oe.id)})}handleSuccess(R){this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_FACILITY.SUCCESS")),this.configure&&this.router.navigate(["facilities",R.toString(),"configuration"]),this.dialogRef.close(!0)}onCancel(){this.dialogRef.close(!1)}}return Te.\u0275fac=function(R){return new(R||Te)(b.Y36(m.so),b.Y36(m.WI),b.Y36(e.IQ),b.Y36(A.V6),b.Y36(O.sK),b.Y36(E.F0),b.Y36(A.fb))},Te.\u0275cmp=b.Xpm({type:Te,selectors:[["app-create-facility-dialog"]],decls:16,vars:19,consts:[[1,"mat-dialog-title"],["class","mr-auto ml-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","data-cy","create-facility-button","color","accent",1,"ml2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","data-cy","facility-name-input",3,"formControl","placeholder"],["matInput","","data-cy","facility-description-input",3,"formControl","placeholder"],["disableOptionCentering","true",3,"placeholder"],[3,"click"],[3,"value","click",4,"ngFor","ngForOf"],["alert_type","info"],[3,"innerHTML"],[3,"value","click"]],template:function(R,Oe){1&R&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,de,1,0,"mat-spinner",1),b.YNc(5,ae,20,21,"div",2),b.TgZ(6,"div",3),b.TgZ(7,"button",4),b.NdJ("click",function(){return Oe.onCancel()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Oe.onCreate(!1)}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.TgZ(13,"button",6),b.NdJ("click",function(){return Oe.onCreate(!0)}),b._uU(14),b.ALo(15,"translate"),b.qZA(),b.qZA(),b.qZA()),2&R&&(b.Tol(Oe.theme),b.xp6(2),b.Oqu(b.lcZ(3,11,"DIALOGS.CREATE_FACILITY.TITLE")),b.xp6(2),b.Q6J("ngIf",Oe.loading),b.xp6(1),b.Q6J("ngIf",!Oe.loading),b.xp6(3),b.hij(" ",b.lcZ(9,13,"DIALOGS.CREATE_FACILITY.CANCEL")," "),b.xp6(2),b.Q6J("disabled",0===Oe.nameControl.value.trim().length||Oe.loading),b.xp6(1),b.hij(" ",b.lcZ(12,15,"DIALOGS.CREATE_FACILITY.CREATE")," "),b.xp6(2),b.Q6J("disabled",0===Oe.nameControl.value.trim().length||!!Oe.srcFacility||Oe.loading),b.xp6(1),b.hij(" ",b.lcZ(15,17,"DIALOGS.CREATE_FACILITY.CREATE_AND_CONFIGURE")," "))},directives:[h.O5,k.$g,m.xY,L.KE,V.Nt,s.Fj,s.Q7,s.JJ,s.oH,L.TO,$.gD,ue.ey,h.sg,ce.w,m.H8,Le.lW],pipes:[O.X$],styles:[""]}),Te})();var H=d(54037),Q=d(77968),te=d(4235),se=d(25245),ge=d(96214),Ne=d(7434),Fe=d(74010);function ne(Te,ee){1&Te&&b._UZ(0,"mat-spinner",9)}function Me(Te,ee){if(1&Te&&b._UZ(0,"perun-web-apps-facilities-list",10),2&Te){const R=b.oxw();b.Q6J("tableId",R.tableId)("selection",R.selection)("filterValue",R.filterValue)("facilities",R.facilities)("recentIds",R.recentIds)}}const ve=function(){return{color:"black"}};let me=(()=>{class Te{constructor(R,Oe,Ie){this.facilityManager=R,this.sideMenuService=Oe,this.dialog=Ie,this.facilities=[],this.recentIds=[],this.filterValue="",this.tableId=g.xt,this.selection=new T.Ov(!1,[])}ngOnInit(){this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setFacilityMenuItems([])}refreshTable(){this.loading=!0,this.facilityManager.getEnrichedFacilities().subscribe(R=>{this.selection.clear(),this.facilities=R,this.recentIds=(0,f.vL)("facilities"),this.loading=!1})}onCreate(){const R=(0,f.kZ)();R.width="800px",R.data={theme:"facility-theme"},this.dialog.open(j,R).afterClosed().subscribe(Ie=>{Ie&&(this.loading=!0,this.refreshTable())})}onDelete(){const R=(0,f.kZ)();R.width="500px",R.data={theme:"facility-theme",facility:this.selection.selected[0].facility},this.dialog.open(H.Y,R).afterClosed().subscribe(Ie=>{Ie&&this.refreshTable()})}applyFilter(R){this.filterValue=R}}return Te.id="FacilitySelectPageComponent",Te.\u0275fac=function(R){return new(R||Te)(b.Y36(e.IQ),b.Y36(Q.D),b.Y36(m.uw))},Te.\u0275cmp=b.Xpm({type:Te,selectors:[["app-facility-select-page"]],hostVars:2,hostBindings:function(R,Oe){2&R&&b.ekj("router-component",Oe.true)},decls:16,vars:16,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","facility-theme"],[1,"page-title","d-flex"],["svgIcon","perun-facility-black",1,"perun-icon","icon-scale",3,"ngStyle"],[3,"refresh"],["mat-flat-button","","data-cy","new-facility-button","color","accent",1,"action-button","mr-2",3,"click"],["mat-flat-button","","data-cy","delete-facility-button","color","warn",1,"mr-2",3,"disabled","click"],[3,"autoFocus","placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","selection","filterValue","facilities","recentIds",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","selection","filterValue","facilities","recentIds"]],template:function(R,Oe){1&R&&(b.TgZ(0,"div",0),b._UZ(1,"perun-web-apps-back-button"),b.TgZ(2,"h1",1),b._UZ(3,"mat-icon",2),b._uU(4),b.ALo(5,"translate"),b.qZA(),b.TgZ(6,"perun-web-apps-refresh-button",3),b.NdJ("refresh",function(){return Oe.refreshTable()}),b.qZA(),b.TgZ(7,"button",4),b.NdJ("click",function(){return Oe.onCreate()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Oe.onDelete()}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.TgZ(13,"perun-web-apps-immediate-filter",6),b.NdJ("filter",function(He){return Oe.applyFilter(He)}),b.qZA(),b.YNc(14,ne,1,0,"mat-spinner",7),b.YNc(15,Me,1,5,"perun-web-apps-facilities-list",8),b.qZA()),2&R&&(b.xp6(3),b.Q6J("ngStyle",b.DdM(15,ve)),b.xp6(1),b.hij(" ",b.lcZ(5,9,"FACILITY_MANAGEMENT.TITLE")," "),b.xp6(4),b.hij(" ",b.lcZ(9,11,"FACILITY_MANAGEMENT.CREATE")," "),b.xp6(2),b.Q6J("disabled",0===Oe.selection.selected.length),b.xp6(1),b.hij(" ",b.lcZ(12,13,"FACILITY_MANAGEMENT.DELETE")," "),b.xp6(2),b.Q6J("autoFocus",!0)("placeholder","FACILITY_MANAGEMENT.FILTER_PLACEHOLDER"),b.xp6(1),b.Q6J("ngIf",Oe.loading),b.xp6(1),b.Q6J("ngIf",!Oe.loading))},directives:[te.W,se.Hw,h.PC,ge.t,Le.lW,Ne.L,h.O5,k.$g,Fe.X],pipes:[O.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),Te})()},51076:(Ke,be,d)=>{"use strict";d.d(be,{J:()=>Le});var e=d(48966),f=d(36908),g=d(9315),T=d(9244),m=d(93075),A=d(5e3),s=d(51062),b=d(67322),O=d(98833),E=d(74107),h=d(69808),k=d(90508),L=d(47423),V=d(57706);let $=(()=>{class de{constructor(ae){this.translateService=ae,this.returnData=""}transform(ae){switch(ae){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HEADER").subscribe(j=>{this.returnData=j});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HTML_COMMENT").subscribe(j=>{this.returnData=j});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTFIELD").subscribe(j=>{this.returnData=j});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.VALIDATED_EMAIL").subscribe(j=>{this.returnData=j});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.USERNAME").subscribe(j=>{this.returnData=j});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.PASSWORD").subscribe(j=>{this.returnData=j});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SELECTIONBOX").subscribe(j=>{this.returnData=j});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTAREA").subscribe(j=>{this.returnData=j});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.COMBOBOX").subscribe(j=>{this.returnData=j});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.CHECKBOX").subscribe(j=>{this.returnData=j});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SUBMIT_BUTTON").subscribe(j=>{this.returnData=j});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.RADIO").subscribe(j=>{this.returnData=j});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TIMEZONE").subscribe(j=>{this.returnData=j});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.AUTO_SUBMIT_BUTTON").subscribe(j=>{this.returnData=j});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.EMBEDDED_GROUP_APPLICATION").subscribe(j=>{this.returnData=j});break;default:return ae}return this.returnData}}return de.\u0275fac=function(ae){return new(ae||de)(A.Y36(s.sK,16))},de.\u0275pipe=A.Yjl({name:"applicationFormWidgetDescription",type:de,pure:!0}),de})();function ue(de,ke){if(1&de&&(A.TgZ(0,"mat-option",9),A._uU(1),A.ALo(2,"applicationFormItemType"),A.qZA()),2&de){const ae=ke.$implicit;A.Q6J("value",ae),A.xp6(1),A.hij(" ",A.lcZ(2,2,ae)," ")}}function ce(de,ke){if(1&de&&(A.TgZ(0,"mat-option",9),A._uU(1),A.qZA()),2&de){const ae=ke.$implicit;A.Q6J("value",ae),A.xp6(1),A.hij(" ",ae," ")}}let Le=(()=>{class de{constructor(ae,j,H,Q){this.dialogRef=ae,this.data=j,this.translateService=H,this.store=Q,this.languages=this.store.get("supported_languages"),this.items=[],this.selectedWidget="HEADING",this.widgets=["HEADING","HTML_COMMENT","TEXTFIELD","VALIDATED_EMAIL","USERNAME","PASSWORD","SELECTIONBOX","TEXTAREA","COMBOBOX","CHECKBOX","SUBMIT_BUTTON","RADIO","TIMEZONE","AUTO_SUBMIT_BUTTON","EMBEDDED_GROUP_APPLICATION"]}ngOnInit(){this.translateService.get("DIALOGS.APPLICATION_FORM_ADD_ITEM.INSERT_TO_BEGINNING").subscribe(ae=>{this.nameCtrl=new m.NI("",[m.kI.required,m.kI.pattern(".*[\\S]+.*"),m.kI.maxLength(129)]),this.nameCtrl.markAllAsTouched(),this.items.push(ae);for(const j of this.data.applicationFormItems)this.items.push(j.shortname),j.type===g.Dy.EMBEDDEDGROUPAPPLICATION&&(this.widgets=this.widgets.filter(H=>H!==g.Dy.EMBEDDEDGROUPAPPLICATION));this.selectedItem=ae})}cancel(){this.dialogRef.close(!1)}submit(){const ae=this.createApplicationItem();this.dialogRef.close([this.data.applicationFormItems,ae])}createApplicationItem(){const ae=(0,T.dv)(this.languages);ae.id=this.data.fakeId,ae.shortname=this.nameCtrl.value,ae.type=this.selectedWidget;for(let j=0;j{"use strict";d.d(be,{o:()=>c});var e=d(48966),f=d(36908),g=d(20449),T=d(9315),m=d(64080),A=d(9244),s=d(10036),b=d(84847),O=d(32075),E=d(5e3),h=d(18750),k=d(29772),L=d(77446),V=d(69808),$=d(98380),ue=d(51062),ce=d(69773),Le=d(21757),de=d(31359),ke=d(9954);function ae(u,y){1&u&&E._UZ(0,"th",18)}function j(u,y){if(1&u){const M=E.EpF();E.TgZ(0,"td",19),E.TgZ(1,"div",20),E.ALo(2,"translate"),E.TgZ(3,"mat-checkbox",21),E.NdJ("change",function(et){const pt=E.CHM(M).$implicit,Nt=E.oxw();return et?Nt.itemSelectionToggle(pt):null})("click",function(et){return et.stopPropagation()}),E.ALo(4,"lowercase"),E.ALo(5,"translate"),E.qZA(),E.qZA(),E.qZA()}if(2&u){const M=y.$implicit,re=E.oxw();E.xp6(1),E.Q6J("matTooltip",E.lcZ(2,5,re.getTooltip(M)))("matTooltipDisabled",!re.isCheckboxDisabled(M)),E.xp6(2),E.Q2q("data-cy","",E.lcZ(4,7,E.lcZ(5,9,M.richUser?M.richUser.firstName:M.candidate.firstName)),"-checkbox"),E.Q6J("checked",re.selection.isSelected(M))("disabled",re.isCheckboxDisabled(M))}}function H(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.STATUS")," "))}function Q(u,y){if(1&u&&(E.TgZ(0,"i",25),E.ALo(1,"memberStatusIconColor"),E._uU(2),E.ALo(3,"memberStatusIcon"),E.qZA()),2&u){const M=E.oxw().$implicit;E.Gre("material-icons ",E.lcZ(1,5,M.member.status),""),E.s9C("matTooltip",M.member.status),E.xp6(2),E.hij(" ",E.lcZ(3,7,M.member.status)," ")}}function te(u,y){if(1&u&&(E.TgZ(0,"td",23),E.YNc(1,Q,4,9,"i",24),E.qZA()),2&u){const M=y.$implicit;E.xp6(1),E.Q6J("ngIf",M.member)}}function se(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.NAME")," "))}function ge(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.ALo(2,"userFullName"),E.ALo(3,"userFullName"),E.qZA()),2&u){const M=y.$implicit;E.xp6(1),E.hij(" ",M.richUser?E.lcZ(2,1,M.richUser):E.lcZ(3,3,M.candidate)," ")}}function Ne(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.ORGANIZATION")," "))}function Fe(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.ALo(2,"userVo"),E.qZA()),2&u){const M=y.$implicit,re=E.oxw();E.xp6(1),E.hij(" ",M.richUser?E.lcZ(2,1,M.richUser):re.getOrganization(M.candidate)," ")}}function ne(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.EMAIL")," "))}function Me(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&u){const M=y.$implicit,re=E.oxw();E.xp6(1),E.hij(" ",re.getEmail(M)," ")}}function ve(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.LOGINS")," "))}function me(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&u){const M=y.$implicit,re=E.oxw();E.xp6(1),E.hij(" ",re.getLogins(M)," ")}}function Te(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.ALREADY_MEMBER")," "))}function ee(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&u){const M=y.$implicit,re=E.oxw();E.xp6(1),E.hij(" ",re.getAlreadyMember(M)," ")}}function R(u,y){1&u&&E._UZ(0,"th",22)}function Oe(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&u){const M=y.$implicit;E.xp6(1),E.hij(" ",M.richUser?"Local":"External identity"," ")}}function Ie(u,y){1&u&&E._UZ(0,"tr",26)}function He(u,y){1&u&&E._UZ(0,"tr",27)}function fe(u,y){1&u&&(E.TgZ(0,"app-alert",28),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"DIALOGS.ADD_MEMBERS.NO_USERS_FOUND"),"\n"))}let Ce=(()=>{class u{constructor(M){this.guiAuthResolver=M,this.blockManualAdding=!1,this.displayedColumns=["checkbox","status","fullName","voExtSource","email","logins","alreadyMember","local"],this.pageSizeOptions=A.f7,this.addAuth=!1}set matSort(M){this.sort=M,this.setDataSource()}getDataForColumn(M,re,et){var yt,pt;switch(re){case"status":return M.member&&null!==(yt=M.member.status)&&void 0!==yt?yt:"";case"fullName":{const Nt=M.richUser?M.richUser:M.candidate;return Nt.lastName?Nt.lastName:null!==(pt=Nt.firstName)&&void 0!==pt?pt:""}case"voExtSource":return M.richUser?(0,A.OV)(M.richUser):(0,A.v$)(M.candidate);case"email":return M.richUser||M.member?(0,A.kN)(M.richUser):et.getEmail(M);case"logins":return et.getLogins(M);case"alreadyMember":return et.getAlreadyMember(M);case"local":return M.richUser?"Local":"External identity";default:return M[re]}}getExportDataForColumn(M,re,et){var yt;switch(re){case"status":return M.member&&null!==(yt=M.member.status)&&void 0!==yt?yt:"";case"fullName":return(0,A.bD)(M.richUser?M.richUser:M.candidate);case"voExtSource":return M.richUser?(0,A.OV)(M.richUser):(0,A.v$)(M.candidate);case"email":return M.richUser||M.member?(0,A.kN)(M.richUser):et.getEmail(M);case"logins":return et.getLogins(M);case"alreadyMember":return et.getAlreadyMember(M);case"local":return M.richUser?"Local":"External identity";default:return M[re]}}exportData(M){(0,A.O6)((0,A.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),M)}setDataSource(){null==this.child||!this.child.paginator||this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(M,re)=>(0,A.Sd)(M,re,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(M,re)=>(0,A.pR)(M,re,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}ngAfterViewInit(){this.setDataSource()}ngOnChanges(){this.dataSource=new O.by(this.members),this.setDataSource()}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(M=>this.selection.select(M)),this.setAddAuth()}getEmail(M){let re;if(M.richUser){for(const et of M.richUser.userAttributes)if(et.namespace+":"+et.friendlyName=="urn:perun:user:attribute-def:def:preferredMail"){re=et;break}return null!=re&&null!=re.value&&"null"!==re.value.toString().toLowerCase()?re.value.toString().replace(","," "):""}return(0,A.Jc)(M.candidate)}getOrganization(M){return(0,A.v$)(M)}getLogins(M){if(M.richUser)return this.getLoginsForRichUser(M.richUser);{let re=this.getLoginsForCandidate(M.candidate);return(null==re||""===re)&&(re=M.candidate.userExtSource.login),re}}getLoginsForRichUser(M){let re="";for(const et of M.userAttributes)et.friendlyName.startsWith("login-namespace")&&null!=et.value&&(re.length>0&&(re+=", "),re+=et.friendlyName.substring(16)+": "+et.value);return re}getLoginsForCandidate(M){let et="";for(const yt in M.attributes)Object.prototype.hasOwnProperty.call(M.attributes,yt)&&-1!==yt.indexOf("urn:perun:user:attribute-def:def:login-namespace:")&&null!=M.attributes[yt]&&(et.length>0&&(et+=", "),et+=yt.substring(49)+": "+M.attributes[yt]);return et}getAlreadyMember(M){if("vo"===this.type){if(null!=M.member)return"Member of VO"}else{if(null!=M.member&&0!==M.member.sourceGroupId&&"DIRECT"===M.member.membershipType)return"Member of Group";if(null!=M.member&&0!==M.member.sourceGroupId&&"INDIRECT"===M.member.membershipType)return"Indirect member of Group";if(null!=M.member)return"Member of VO"}return""}isCheckboxDisabled(M){return"vo"===this.type?null!=M.member:M.member?0!==M.member.sourceGroupId&&"DIRECT"===M.member.membershipType:this.blockManualAdding}setAddAuth(){void 0!==this.group&&0!==this.selection.selected.length&&(this.addAuth=!!this.selection.selected[0].member||this.guiAuthResolver.isAuthorized("createMember_Vo_User_List_policy",[this.group])&&this.guiAuthResolver.isAuthorized("createMember_Vo_Candidate_List_policy",[this.group]))}itemSelectionToggle(M){this.selection.toggle(M),this.setAddAuth()}getTooltip(M){return M.member?"MEMBERS_CANDIDATES_LIST.ALREADY_MEMBER":"MEMBERS_CANDIDATES_LIST.ADDING_BLOCKED"}}return u.\u0275fac=function(M){return new(M||u)(E.Y36(f.x4))},u.\u0275cmp=E.Xpm({type:u,selectors:[["app-members-candidates-list"]],viewQuery:function(M,re){if(1&M&&(E.Gf(b.YE,5),E.Gf(A.l9,7)),2&M){let et;E.iGM(et=E.CRH())&&(re.matSort=et.first),E.iGM(et=E.CRH())&&(re.child=et.first)}},inputs:{members:"members",selection:"selection",type:"type",tableId:"tableId",group:"group",blockManualAdding:"blockManualAdding"},features:[E.TTD],decls:30,vars:8,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","voExtSource"],["matColumnDef","email"],["matColumnDef","logins"],["matColumnDef","alreadyMember"],["matColumnDef","local"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["color","primary",3,"checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matTooltipPosition","left",3,"class","matTooltip",4,"ngIf"],["matTooltipPosition","left",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(M,re){1&M&&(E.TgZ(0,"div",0),E.TgZ(1,"perun-web-apps-table-wrapper",1),E.NdJ("exportData",function(yt){return re.exportData(yt)}),E.TgZ(2,"table",2),E.ynx(3,3),E.YNc(4,ae,1,0,"th",4),E.YNc(5,j,6,11,"td",5),E.BQk(),E.ynx(6,6),E.YNc(7,H,3,3,"th",7),E.YNc(8,te,2,1,"td",8),E.BQk(),E.ynx(9,9),E.YNc(10,se,3,3,"th",7),E.YNc(11,ge,4,5,"td",8),E.BQk(),E.ynx(12,10),E.YNc(13,Ne,3,3,"th",7),E.YNc(14,Fe,3,3,"td",8),E.BQk(),E.ynx(15,11),E.YNc(16,ne,3,3,"th",7),E.YNc(17,Me,2,1,"td",8),E.BQk(),E.ynx(18,12),E.YNc(19,ve,3,3,"th",7),E.YNc(20,me,2,1,"td",8),E.BQk(),E.ynx(21,13),E.YNc(22,Te,3,3,"th",7),E.YNc(23,ee,2,1,"td",8),E.BQk(),E.ynx(24,14),E.YNc(25,R,1,0,"th",7),E.YNc(26,Oe,2,1,"td",8),E.BQk(),E.YNc(27,Ie,1,0,"tr",15),E.YNc(28,He,1,0,"tr",16),E.qZA(),E.qZA(),E.qZA(),E.YNc(29,fe,3,3,"app-alert",17)),2&M&&(E.Q6J("hidden",0===re.members.length),E.xp6(1),E.Q6J("tableId",re.tableId)("dataLength",re.dataSource.filteredData.length)("pageSizeOptions",re.pageSizeOptions),E.xp6(1),E.Q6J("dataSource",re.dataSource),E.xp6(25),E.Q6J("matHeaderRowDef",re.displayedColumns),E.xp6(1),E.Q6J("matRowDefColumns",re.displayedColumns),E.xp6(1),E.Q6J("ngIf",0===re.members.length))},directives:[h.l,O.BZ,b.YE,O.w1,O.fO,O.ge,O.Dz,O.ev,k.gM,L.oG,b.nU,V.O5,O.as,O.XQ,O.nj,O.Gk,$.w],pipes:[ue.X$,V.i8,ce.u,Le.f,de.d,ke.Z],styles:[""]}),u})();var Ve=d(93075),Xe=d(30325),tt=d(67322),rt=d(98833),N=d(47423),he=d(20773),D=d(92181);const S=["list"];function I(u,y){1&u&&E._UZ(0,"mat-spinner",10)}function P(u,y){if(1&u&&E._UZ(0,"app-members-candidates-list",13,14),2&u){const M=E.oxw(3);E.Q6J("group",M.data.group)("tableId",M.tableId)("selection",M.selection)("members",M.members)("type",M.data.type)("blockManualAdding",M.manualAddingBlocked)}}function i(u,y){if(1&u&&(E.TgZ(0,"div",11),E.YNc(1,P,2,6,"app-members-candidates-list",12),E.qZA()),2&u){const M=E.oxw(2);E.xp6(1),E.Q6J("ngIf",M.firstSearchDone)}}function r(u,y){if(1&u){const M=E.EpF();E.TgZ(0,"div",4),E.TgZ(1,"mat-form-field",5),E.TgZ(2,"label"),E.TgZ(3,"input",6),E.NdJ("keyup.enter",function(){return E.CHM(M),E.oxw().onSearchByString()}),E.ALo(4,"translate"),E.qZA(),E.qZA(),E.TgZ(5,"mat-error"),E._uU(6),E.ALo(7,"translate"),E.qZA(),E.qZA(),E.TgZ(8,"button",7),E.NdJ("click",function(){return E.CHM(M),E.oxw().onSearchByString()}),E._uU(9),E.ALo(10,"translate"),E.qZA(),E.TgZ(11,"div",8),E.YNc(12,I,1,0,"mat-spinner",2),E.qZA(),E.YNc(13,i,2,1,"div",9),E.qZA()}if(2&u){const M=E.oxw();E.xp6(3),E.s9C("placeholder",E.lcZ(4,7,"DIALOGS.ADD_MEMBERS.DESCRIPTION")),E.Q6J("formControl",M.searchCtrl),E.xp6(3),E.hij(" ",E.lcZ(7,9,"DIALOGS.ADD_MEMBERS.EMPTY_SEARCH_MESSAGE")," "),E.xp6(2),E.Q6J("disabled",M.loading),E.xp6(1),E.hij(" ",E.lcZ(10,11,"DIALOGS.ADD_MEMBERS.SEARCH")," "),E.xp6(3),E.Q6J("ngIf",M.loading),E.xp6(1),E.Q6J("ngIf",!!M.members&&!M.loading)}}function p(u,y){1&u&&E._UZ(0,"mat-spinner",10)}function o(u,y){if(1&u&&(E.TgZ(0,"button",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u){E.oxw();const M=E.MAs(8),re=E.oxw();E.Q6J("disabled",0===re.selection.selected.length||re.loading)("matMenuTriggerFor",M),E.xp6(1),E.hij(" ",E.lcZ(2,3,"DIALOGS.ADD_MEMBERS.INVITE")," ")}}function t(u,y){if(1&u){const M=E.EpF();E.TgZ(0,"button",23),E.NdJ("click",function(){const yt=E.CHM(M).$implicit;return E.oxw(2).onInvite(yt)}),E._uU(1),E.ALo(2,"translate"),E.ALo(3,"translate"),E.ALo(4,"uppercase"),E.ALo(5,"translate"),E.qZA()}if(2&u){const M=y.$implicit;E.xp6(1),E.lnq(" ",E.lcZ(2,3,"DIALOGS.ADD_MEMBERS.INVITE_IN_LANGUAGE")," ",E.lcZ(3,5,E.lcZ(4,7,"SHARED_LIB.LANGUAGES."+M))," ",E.lcZ(5,9,"DIALOGS.ADD_MEMBERS.LANGUAGE")," ")}}function n(u,y){if(1&u){const M=E.EpF();E.TgZ(0,"div",15),E.TgZ(1,"button",16),E.NdJ("click",function(){return E.CHM(M),E.oxw().onCancel()}),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.TgZ(4,"span",17),E.ALo(5,"translate"),E.YNc(6,o,3,5,"button",18),E.TgZ(7,"mat-menu",null,19),E.YNc(9,t,6,11,"button",20),E.qZA(),E.qZA(),E.TgZ(10,"button",21),E.NdJ("click",function(){return E.CHM(M),E.oxw().onAdd()}),E._uU(11),E.ALo(12,"translate"),E.qZA(),E.qZA()}if(2&u){const M=E.oxw();E.xp6(2),E.hij(" ",E.lcZ(3,7,"DIALOGS.ADD_MEMBERS.CANCEL")," "),E.xp6(2),E.s9C("matTooltip",E.lcZ(5,9,"DIALOGS.ADD_MEMBERS.ADD_MEMBER_PERMISSION_TOOLTIP")),E.Q6J("matTooltipDisabled",0===M.selection.selected.length||"group"!==M.data.type||void 0!==M.list&&M.list.addAuth),E.xp6(2),E.Q6J("ngIf","group"!==M.data.type||"group"===M.data.type&&M.inviteAuth),E.xp6(3),E.Q6J("ngForOf",M.languages),E.xp6(1),E.Q6J("disabled",0===M.selection.selected.length||M.loading||"group"===M.data.type&&void 0!==M.list&&!M.list.addAuth),E.xp6(1),E.hij(" ",E.lcZ(12,11,"DIALOGS.ADD_MEMBERS.CREATE")," ")}}let c=(()=>{class u{constructor(M,re,et,yt,pt,Nt,It,Zt,mt,Ht,_t,Je){this.dialogRef=M,this.data=re,this.membersManagerService=et,this.groupService=yt,this.voService=pt,this.registrarManager=Nt,this.translate=It,this.notificator=Zt,this.route=mt,this.router=Ht,this.guiAuthResolver=_t,this.store=Je,this.languages=["en"],this.selection=new g.Ov(!1,[]),this.members=[],this.firstSearchDone=!1,this.tableId=s.tY,this.inviteAuth=!1,this.manualAddingBlocked=!1,It.get("DIALOGS.ADD_MEMBERS.TITLE").subscribe(Lt=>this.title=Lt)}onCancel(){this.dialogRef.close(!1)}onAdd(){this.processing=!0;const M=this.selection.selected[0];"vo"===this.data.type?M.richUser?this.addUserToVo(M):this.addCandidateToVo(M):"group"===this.data.type&&(M.member?this.addMemberToGroup(M):M.richUser?this.addUserToGroup(M):M.candidate&&this.addCandidateToGroup(M))}onInvite(M){this.processing=!0,this.selection.selected[0].richUser?"vo"===this.data.type?this.registrarManager.sendInvitationToExistingUser(this.selection.selected[0].richUser.id,this.data.entityId).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"group"===this.data.type&&this.registrarManager.sendInvitationGroupToExistingUser(this.selection.selected[0].richUser.id,this.data.voId,this.data.group.id).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"vo"===this.data.type?this.registrarManager.sendInvitation((0,A.Jc)(this.selection.selected[0].candidate),M,this.data.voId).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"group"===this.data.type&&this.registrarManager.sendInvitationForGroup((0,A.Jc)(this.selection.selected[0].candidate),M,this.data.voId,this.data.group.id).subscribe(()=>{this.onInviteSuccess()},()=>this.onError())}onSearchByString(){this.searchCtrl.invalid?this.searchCtrl.markAllAsTouched():(this.loading=!0,this.selection.clear(),"vo"===this.data.type?this.voService.getCompleteCandidatesForVo(this.data.entityId,[m.r.USER_DEF_ORGANIZATION,m.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(M=>{this.members=M,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1):this.voService.getCompleteCandidatesForGroup(this.data.entityId,[m.r.USER_DEF_ORGANIZATION,m.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(M=>{this.members=M,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1))}ngOnInit(){this.languages=this.store.get("supported_languages"),this.theme=this.data.theme,this.manualAddingBlocked=this.data.manualAddingBlocked,"group"===this.data.type&&(this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_User_policy",[this.data.group])),this.searchCtrl=new Ve.NI("",[Ve.kI.required,Ve.kI.pattern(".*[\\S]+.*")])}addUserToVo(M){this.membersManagerService.createMemberForUser({vo:this.data.entityId,user:M.richUser.id}).subscribe(re=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(re.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addCandidateToVo(M){this.membersManagerService.createMemberForCandidate({vo:this.data.entityId,candidate:this.createCandidate(M.candidate)}).subscribe(re=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(re.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addUserToGroup(M){this.membersManagerService.createMemberForUser({vo:this.data.voId,user:M.richUser.id,groups:[{id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId}]}).subscribe(et=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(et.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addMemberToGroup(M){this.groupService.addMembers(this.data.entityId,[M.member.id]).subscribe(()=>{this.onAddSuccess()},()=>this.onError())}addCandidateToGroup(M){const re={id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId};this.membersManagerService.createMemberForCandidate({vo:this.data.voId,candidate:this.createCandidate(M.candidate),groups:[re]}).subscribe(et=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(et.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}onAddSuccess(){this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS").subscribe(M=>{this.notificator.showSuccess(M),this.dialogRef.close(!0)})}onError(){this.selection.clear(),this.processing=!1}onInviteSuccess(){this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS_INVITE").subscribe(M=>{this.notificator.showSuccess(M),this.dialogRef.close(!0)})}onValidateSuccess(){this.dialogRef.close(!0)}createCandidate(M){return{userExtSource:M.userExtSource,additionalUserExtSources:M.additionalUserExtSources,attributes:M.attributes,firstName:M.firstName,lastName:M.lastName,middleName:M.middleName,titleBefore:M.titleBefore,titleAfter:M.titleAfter,id:M.id}}}return u.\u0275fac=function(M){return new(M||u)(E.Y36(e.so),E.Y36(e.WI),E.Y36(T.uq),E.Y36(T.ff),E.Y36(T.YF),E.Y36(T.tk),E.Y36(ue.sK),E.Y36(f.V6),E.Y36(Xe.gz),E.Y36(Xe.F0),E.Y36(f.x4),E.Y36(f.d6))},u.\u0275cmp=E.Xpm({type:u,selectors:[["app-add-member-dialog"]],viewQuery:function(M,re){if(1&M&&E.Gf(S,5),2&M){let et;E.iGM(et=E.CRH())&&(re.list=et.first)}},decls:7,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["matInput","","autocomplete","false","data-cy","search-members",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent","data-cy","search-button",1,"ml-auto",3,"disabled","click"],[1,"no-bounce-scrollbar"],["class","mt-3",4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"mt-3"],[3,"group","tableId","selection","members","type","blockManualAdding",4,"ngIf"],[3,"group","tableId","selection","members","type","blockManualAdding"],["list",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["class","ml-2 dropdown-toggle","color","accent","mat-flat-button","",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-flat-button","","color","accent","data-cy","add-button",1,"ml-2",3,"disabled","click"],["color","accent","mat-flat-button","",1,"ml-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",3,"click"]],template:function(M,re){1&M&&(E.TgZ(0,"div"),E.TgZ(1,"h1",0),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.YNc(4,r,14,13,"div",1),E.YNc(5,p,1,0,"mat-spinner",2),E.YNc(6,n,13,13,"div",3),E.qZA()),2&M&&(E.Tol(re.theme),E.xp6(2),E.Oqu(E.lcZ(3,7,"DIALOGS.ADD_MEMBERS.TITLE")),E.xp6(2),E.Q6J("ngIf",!re.processing),E.xp6(1),E.Q6J("ngIf",re.processing),E.xp6(1),E.Q6J("ngIf",!re.processing))},directives:[e.uh,V.O5,e.xY,tt.KE,rt.Nt,Ve.Fj,Ve.JJ,Ve.oH,tt.TO,N.lW,he.$g,Ce,e.H8,k.gM,D.p6,D.VK,V.sg,D.OP],pipes:[ue.X$,V.gd],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}.no-bounce-scrollbar[_ngcontent-%COMP%]{overflow:hidden}"]}),u})()},95502:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>k});var e=d(48966),f=d(9315),g=d(36908),T=d(5e3),m=d(51062),A=d(69808),s=d(20773),b=d(62707),O=d(82322),E=d(47423);function h(L,V){1&L&&T._UZ(0,"mat-spinner",9)}let k=(()=>{class L{constructor($,ue,ce,Le,de,ke,ae,j){this.dialogRef=$,this.voService=ue,this.groupService=ce,this.translateService=Le,this.registrarManager=de,this.notificatorService=ke,this.apiRequest=ae,this.data=j,this.vos=[],this.groups=[],this.selectedGroup=null,this.loading=!1,this.nameFunction=H=>H.name,Le.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUCCESS").subscribe(H=>this.successMessage=H),Le.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.PRIVILEGE").subscribe(H=>this.privilegeMessage=H),Le.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_FORM").subscribe(H=>this.noFormMessage=H)}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.translateService.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_GROUP_SELECTED").subscribe(()=>{this.voService.getMyVos().subscribe($=>{this.vos=$.sort((ue,ce)=>ue.name>ce.name?1:ue.namethis.loading=!1)},()=>this.loading=!1)}cancel(){this.dialogRef.close(!1)}submit(){this.apiRequest.dontHandleErrorForNext(),this.loading=!0,this.data.groupId?null===this.selectedGroup?this.registrarManager.copyFormFromVoToGroup(this.selectedVo.id,this.data.groupId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},$=>{"FormNotExistsException"===$.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===$.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):this.registrarManager.copyFormFromGroupToGroup(this.selectedGroup.id,this.data.groupId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},$=>{"FormNotExistsException"===$.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===$.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):null===this.selectedGroup?this.registrarManager.copyFormFromVoToVo(this.selectedVo.id,this.data.voId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},$=>{"FormNotExistsException"===$.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===$.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):this.registrarManager.copyFormFromGroupToVo(this.selectedGroup.id,this.data.voId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},$=>{"FormNotExistsException"===$.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===$.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1})}voSelected($){this.selectedVo=$,this.getGroups()}getGroups(){void 0!==this.selectedVo?this.groupService.getAllGroups(this.selectedVo.id).subscribe($=>{this.groups=$}):this.groups=[],this.selectedGroup=null}}return L.\u0275fac=function($){return new($||L)(T.Y36(e.so),T.Y36(f.YF),T.Y36(f.ff),T.Y36(m.sK),T.Y36(f.tk),T.Y36(g.V6),T.Y36(g.F5),T.Y36(e.WI))},L.\u0275cmp=T.Xpm({type:L,selectors:[["app-application-form-copy-items-dialog"]],decls:22,vars:27,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container",3,"hidden"],[1,"mb-2","font-italic"],[1,"long-input",3,"vos","voSelected"],[1,"long-input",3,"groups","disableAutoSelect","groupSelected"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"]],template:function($,ue){1&$&&(T.TgZ(0,"div"),T.TgZ(1,"h1",0),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,h,1,0,"mat-spinner",1),T.TgZ(5,"div",2),T.TgZ(6,"div",3),T._uU(7),T.ALo(8,"translate"),T.qZA(),T._uU(9),T.ALo(10,"translate"),T.TgZ(11,"perun-web-apps-vo-search-select",4),T.NdJ("voSelected",function(Le){return ue.voSelected(Le)}),T.qZA(),T._uU(12),T.ALo(13,"translate"),T.TgZ(14,"perun-web-apps-group-search-select",5),T.NdJ("groupSelected",function(Le){return ue.selectedGroup=Le}),T.qZA(),T.qZA(),T.TgZ(15,"div",6),T.TgZ(16,"button",7),T.NdJ("click",function(){return ue.cancel()}),T._uU(17),T.ALo(18,"translate"),T.qZA(),T.TgZ(19,"button",8),T.NdJ("click",function(){return ue.submit()}),T._uU(20),T.ALo(21,"translate"),T.qZA(),T.qZA(),T.qZA()),2&$&&(T.Tol(ue.theme),T.xp6(2),T.Oqu(T.lcZ(3,15,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.TITLE")),T.xp6(2),T.Q6J("ngIf",ue.loading),T.xp6(1),T.Q6J("hidden",ue.loading),T.xp6(2),T.hij(" ",T.lcZ(8,17,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.DESCRIPTION")," "),T.xp6(2),T.hij(" ",T.lcZ(10,19,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_VO"),": "),T.xp6(2),T.Q6J("vos",ue.vos),T.xp6(1),T.hij(" ",T.lcZ(13,21,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_GROUP"),": "),T.xp6(2),T.Q6J("groups",ue.groups)("disableAutoSelect",!0),T.xp6(3),T.hij(" ",T.lcZ(18,23,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.CANCEL_BUTTON")," "),T.xp6(2),T.Q6J("disabled",!ue.selectedVo&&!ue.selectedGroup||ue.loading),T.xp6(1),T.hij(" ",T.lcZ(21,25,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUBMIT_BUTTON")," "))},directives:[e.uh,A.O5,s.$g,e.xY,b.M,O.h,e.H8,E.lW],pipes:[m.X$],styles:[""]}),L})()},81889:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>Le});var e=d(48966),f=d(36908),g=d(9315),T=d(93075),m=d(5e3),A=d(51062),s=d(69808),b=d(20773),O=d(67322),E=d(98833),h=d(77446),k=d(82322),L=d(47423);function V(de,ke){1&de&&m._UZ(0,"mat-spinner",3)}function $(de,ke){if(1&de){const ae=m.EpF();m.TgZ(0,"mat-checkbox",14),m.NdJ("click",function(){return m.CHM(ae),m.oxw(2).loadVoGroups()})("ngModelChange",function(H){return m.CHM(ae),m.oxw(2).asSubgroup=H}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&de){const ae=m.oxw(2);m.Q6J("labelPosition","before")("ngModel",ae.asSubgroup),m.xp6(1),m.hij(" ",m.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function ue(de,ke){if(1&de){const ae=m.EpF();m.TgZ(0,"perun-web-apps-group-search-select",15),m.NdJ("groupSelected",function(H){return m.CHM(ae),m.oxw(2).selectedParent=H}),m.qZA()}if(2&de){const ae=m.oxw(2);m.Q6J("disableAutoSelect",!0)("groups",ae.voGroups)}}function ce(de,ke){if(1&de){const ae=m.EpF();m.TgZ(0,"div"),m.TgZ(1,"div",4),m.TgZ(2,"mat-form-field"),m.TgZ(3,"label",5),m._UZ(4,"input",6),m.ALo(5,"translate"),m.qZA(),m.TgZ(6,"mat-error"),m._uU(7),m.ALo(8,"translate"),m.qZA(),m.qZA(),m.TgZ(9,"mat-form-field",7),m.TgZ(10,"label",5),m.TgZ(11,"textarea",8),m.ALo(12,"translate"),m._uU(13," "),m.qZA(),m.qZA(),m.qZA(),m.YNc(14,$,3,5,"mat-checkbox",9),m.YNc(15,ue,1,2,"perun-web-apps-group-search-select",10),m.qZA(),m.TgZ(16,"div",11),m.TgZ(17,"button",12),m.NdJ("click",function(){return m.CHM(ae),m.oxw().onCancel()}),m._uU(18),m.ALo(19,"translate"),m.qZA(),m.TgZ(20,"button",13),m.NdJ("click",function(){return m.CHM(ae),m.oxw().onSubmit()}),m._uU(21),m.ALo(22,"translate"),m.qZA(),m.qZA(),m.qZA()}if(2&de){const ae=m.oxw();m.xp6(4),m.s9C("placeholder",m.lcZ(5,10,"DIALOGS.CREATE_GROUP.NAME")),m.Q6J("formControl",ae.nameControl),m.xp6(3),m.hij(" ",ae.invalidNameMessage.length?ae.invalidNameMessage:m.lcZ(8,12,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),m.xp6(4),m.s9C("placeholder",m.lcZ(12,14,"DIALOGS.CREATE_GROUP.DESCRIPTION")),m.Q6J("formControl",ae.descriptionControl),m.xp6(3),m.Q6J("ngIf",ae.isNotSubGroup),m.xp6(1),m.Q6J("ngIf",ae.asSubgroup),m.xp6(3),m.hij(" ",m.lcZ(19,16,"DIALOGS.CREATE_GROUP.CANCEL")," "),m.xp6(2),m.Q6J("disabled",ae.nameControl.invalid||ae.descriptionControl.invalid||ae.asSubgroup&&null===ae.selectedParent||ae.loading),m.xp6(1),m.hij(" ",m.lcZ(22,18,"DIALOGS.CREATE_GROUP.CREATE")," ")}}let Le=(()=>{class de{constructor(ae,j,H,Q,te,se){this.dialogRef=ae,this.data=j,this.groupService=H,this.translate=Q,this.notificator=te,this.store=se,this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.secondaryRegex=this.store.get("group_name_secondary_regex"),this.voGroups=[],this.nameFunction=ge=>ge.name,this.isNotSubGroup=null===this.data.parentGroup,this.isNotSubGroup?Q.get("DIALOGS.CREATE_GROUP.TITLE").subscribe(ge=>this.title=ge):Q.get("DIALOGS.CREATE_GROUP.TITLE_SUB_GROUP").subscribe(ge=>{this.title=ge+this.data.parentGroup.name}),Q.get("DIALOGS.CREATE_GROUP.SUCCESS").subscribe(ge=>this.successMessage=ge),Q.get("DIALOGS.CREATE_GROUP.SUCCESS_SUBGROUP").subscribe(ge=>this.successSubGroupMessage=ge)}ngOnInit(){this.theme=this.data.theme,this.invalidNameMessage=this.invalidNameMessage&&this.secondaryRegex?this.invalidNameMessage:"",this.nameControl=new T.NI("",[T.kI.required,T.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),T.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new T.NI(""),this.selectedParent=null}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.isNotSubGroup&&!this.asSubgroup?this.groupService.createGroupWithVoNameDescription(this.data.voId,this.nameControl.value,this.descriptionControl.value).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1):this.groupService.createGroupWithParentGroupNameDescription(this.asSubgroup?this.selectedParent.id:this.data.parentGroup.id,this.nameControl.value,this.descriptionControl.value).subscribe(()=>{this.notificator.showSuccess(this.successSubGroupMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}loadVoGroups(){this.groupService.getAllGroups(this.data.voId).subscribe(ae=>{this.voGroups=ae.filter(j=>"members"!==j.name)})}}return de.\u0275fac=function(ae){return new(ae||de)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.ff),m.Y36(A.sK),m.Y36(f.V6),m.Y36(f.d6))},de.\u0275cmp=m.Xpm({type:de,selectors:[["app-create-group-dialog"]],decls:5,vars:6,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"w-100"],["matInput","","data-cy","group-name","required","",3,"formControl","placeholder"],[1,"mt-4"],["mat-autosize","","matInput","","data-cy","group-description",3,"formControl","placeholder"],[3,"labelPosition","ngModel","click","ngModelChange",4,"ngIf"],["class","long-input",3,"disableAutoSelect","groups","groupSelected",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","data-cy","create-group-button-dialog","mat-flat-button","",1,"ml-2",3,"disabled","click"],[3,"labelPosition","ngModel","click","ngModelChange"],[1,"long-input",3,"disableAutoSelect","groups","groupSelected"]],template:function(ae,j){1&ae&&(m.TgZ(0,"h1",0),m._uU(1),m.qZA(),m.TgZ(2,"div"),m.YNc(3,V,1,0,"mat-spinner",1),m.YNc(4,ce,23,20,"div",2),m.qZA()),2&ae&&(m.xp6(1),m.Oqu(j.title),m.xp6(1),m.Tol(j.theme),m.xp6(1),m.Q6J("ngIf",j.loading),m.xp6(1),m.Q6J("ngIf",!j.loading))},directives:[e.uh,s.O5,b.$g,e.xY,O.KE,E.Nt,T.Fj,T.Q7,T.JJ,T.oH,O.TO,h.oG,T.On,k.h,e.H8,L.lW],pipes:[A.X$],styles:[""]}),de})()},55663:(Ke,be,d)=>{"use strict";d.d(be,{e:()=>Me});var e=d(5e3),f=d(93075),g=d(32075),T=d(69808),m=d(20773),A=d(48966),s=d(47423),b=d(25245),O=d(14623),E=d(98380),h=d(67322),k=d(98833),L=d(51062);function V(ve,me){1&ve&&e._UZ(0,"mat-spinner",2)}function $(ve,me){if(1&ve&&(e.TgZ(0,"div",16),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"translate"),e.TgZ(4,"span",17),e._uU(5),e.ALo(6,"translate"),e.qZA(),e._uU(7),e.ALo(8,"translate"),e.qZA()),2&ve){const Te=e.oxw(2);e.xp6(1),e.lnq(" ",e.lcZ(2,6,"DIALOGS.DELETE_ENTITY.BASIC")," ",e.lcZ(3,8,"DIALOGS.DELETE_ENTITY.ONLY")," ",Te.entityType," "),e.xp6(4),e.Oqu(e.lcZ(6,10,"DIALOGS.DELETE_ENTITY.OR")),e.xp6(2),e.AsE(" ",Te.entityType," ",e.lcZ(8,12,"DIALOGS.DELETE_ENTITY.RELATIONS"),"? ")}}function ue(ve,me){if(1&ve&&(e.TgZ(0,"div",16),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ve){const Te=e.oxw(2);e.xp6(1),e.AsE(" ",e.lcZ(2,2,"DIALOGS.DELETE_ENTITY.BASIC")," ",Te.entityType," ? ")}}function ce(ve,me){1&ve&&e._UZ(0,"th",18)}function Le(ve,me){if(1&ve&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&ve){const Te=me.$implicit;e.xp6(1),e.Oqu(Te.name)}}function de(ve,me){1&ve&&e._UZ(0,"tr",20)}function ke(ve,me){1&ve&&e._UZ(0,"tr",21)}function ae(ve,me){if(1&ve){const Te=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){return e.CHM(Te),e.oxw(2).force=!0}),e.TgZ(1,"mat-icon"),e._uU(2,"warning"),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.ALo(5,"translate"),e.qZA()}2&ve&&(e.xp6(3),e.AsE(" ",e.lcZ(4,2,"DIALOGS.DELETE_ENTITY.DELETE")," ",e.lcZ(5,4,"DIALOGS.DELETE_ENTITY.RELATIONS")," "))}const j=function(){return["name"]};function H(ve,me){if(1&ve){const Te=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"h1",3),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",4),e.YNc(5,$,9,14,"div",5),e.YNc(6,ue,3,4,"div",5),e.TgZ(7,"table",6),e.ynx(8,7),e.YNc(9,ce,1,0,"th",8),e.YNc(10,Le,2,1,"td",9),e.BQk(),e.YNc(11,de,1,0,"tr",10),e.YNc(12,ke,1,0,"tr",11),e.qZA(),e.qZA(),e.TgZ(13,"div",12),e.TgZ(14,"button",13),e.NdJ("click",function(){return e.CHM(Te),e.oxw().onCancel()}),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.TgZ(17,"button",14),e.NdJ("click",function(){return e.CHM(Te),e.oxw().onDelete()}),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,ae,6,6,"button",15),e.qZA(),e.qZA()}if(2&ve){const Te=e.oxw();e.xp6(2),e.AsE("",e.lcZ(3,10,"DIALOGS.DELETE_ENTITY.DELETE")," ",Te.entityType,""),e.xp6(3),e.Q6J("ngIf",!Te.disableForce),e.xp6(1),e.Q6J("ngIf",Te.disableForce),e.xp6(1),e.Q6J("dataSource",Te.entityNames),e.xp6(4),e.Q6J("matHeaderRowDef",e.DdM(16,j)),e.xp6(1),e.Q6J("matRowDefColumns",e.DdM(17,j)),e.xp6(3),e.hij(" ",e.lcZ(16,12,"DIALOGS.DELETE_ENTITY.CANCEL")," "),e.xp6(3),e.hij(" ",e.lcZ(19,14,"DIALOGS.DELETE_ENTITY.DELETE")," "),e.xp6(2),e.Q6J("ngIf",!Te.disableForce)}}function Q(ve,me){if(1&ve&&(e.TgZ(0,"mat-list-item"),e.TgZ(1,"span"),e.TgZ(2,"mat-icon",27),e._uU(3,"fiber_manual_record"),e.qZA(),e._uU(4),e.qZA(),e.qZA()),2&ve){const Te=me.$implicit;e.xp6(4),e.hij(" ",Te," ")}}function te(ve,me){if(1&ve&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&ve){const Te=e.oxw(2);e.xp6(1),e.hij(" ",Te.anotherMessage," ")}}function se(ve,me){1&ve&&e._UZ(0,"th",18)}function ge(ve,me){if(1&ve&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&ve){const Te=me.$implicit;e.xp6(1),e.Oqu(Te.name)}}function Ne(ve,me){1&ve&&e._UZ(0,"tr",20)}function Fe(ve,me){1&ve&&e._UZ(0,"tr",21)}function ne(ve,me){if(1&ve){const Te=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"h1",3),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",16),e._uU(7),e.ALo(8,"translate"),e.TgZ(9,"mat-list"),e.YNc(10,Q,5,1,"mat-list-item",23),e.qZA(),e.YNc(11,te,2,1,"div",1),e.TgZ(12,"app-alert",24),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"table",6),e.ynx(16,7),e.YNc(17,se,1,0,"th",8),e.YNc(18,ge,2,1,"td",9),e.BQk(),e.YNc(19,Ne,1,0,"tr",10),e.YNc(20,Fe,1,0,"tr",11),e.qZA(),e.qZA(),e.TgZ(21,"mat-form-field"),e._UZ(22,"input",25),e.ALo(23,"translate"),e.qZA(),e.qZA(),e.TgZ(24,"div",12),e.TgZ(25,"button",13),e.NdJ("click",function(){return e.CHM(Te),e.oxw().onCancel()}),e._uU(26),e.ALo(27,"translate"),e.qZA(),e.TgZ(28,"button",26),e.NdJ("click",function(){return e.CHM(Te),e.oxw().onDelete()}),e.TgZ(29,"mat-icon"),e._uU(30,"warning"),e.qZA(),e._uU(31),e.ALo(32,"translate"),e.ALo(33,"translate"),e.qZA(),e.qZA(),e.qZA()}if(2&ve){const Te=e.oxw();e.xp6(2),e.lnq(" ",e.lcZ(3,17,"DIALOGS.DELETE_ENTITY.DELETE")," ",Te.entityType," ",e.lcZ(4,19,"DIALOGS.DELETE_ENTITY.RELATIONS")," "),e.xp6(5),e.hij(" ",e.lcZ(8,21,"DIALOGS.DELETE_ENTITY.WARN"),": "),e.xp6(3),e.Q6J("ngForOf",Te.relations),e.xp6(1),e.Q6J("ngIf",Te.anotherMessage),e.xp6(2),e.AsE(" ",e.lcZ(14,23,"DIALOGS.DELETE_ENTITY.ASK")," ",Te.entityType," ? "),e.xp6(2),e.Q6J("dataSource",Te.entityNames),e.xp6(4),e.Q6J("matHeaderRowDef",e.DdM(33,j)),e.xp6(1),e.Q6J("matRowDefColumns",e.DdM(34,j)),e.xp6(2),e.s9C("placeholder",e.lcZ(23,25,"DIALOGS.DELETE_ENTITY.CONTROL")),e.Q6J("formControl",Te.deleteControl),e.xp6(4),e.hij(" ",e.lcZ(27,27,"DIALOGS.DELETE_ENTITY.CANCEL")," "),e.xp6(2),e.Q6J("disabled",Te.deleteControl.invalid),e.xp6(3),e.AsE(" ",e.lcZ(32,29,"DIALOGS.DELETE_ENTITY.DELETE")," ",e.lcZ(33,31,"DIALOGS.DELETE_ENTITY.RELATIONS")," ")}}let Me=(()=>{class ve{constructor(){this.entityNames=new g.by,this.relations=[],this.disableForce=!1,this.loading=!1,this.deleted=new e.vpe,this.force=!1,this.deleteReg=/^DELETE$/,this.deleteControl=new f.NI("",[f.kI.required,f.kI.pattern(this.deleteReg)])}onCancel(){this.deleted.emit({deleted:!1,force:!1})}onDelete(){this.deleted.emit({deleted:!0,force:this.force})}}return ve.\u0275fac=function(Te){return new(Te||ve)},ve.\u0275cmp=e.Xpm({type:ve,selectors:[["app-delete-entity-dialog"]],inputs:{title:"title",entityNames:"entityNames",entityType:"entityType",relations:"relations",anotherMessage:"anotherMessage",disableForce:"disableForce",loading:"loading"},outputs:{deleted:"deleted"},decls:3,vars:3,consts:[["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["class","mb-4",4,"ngIf"],["mat-table","",1,"w-100","table-margin",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-button-dialog",1,"ml-2",3,"click"],["class","ml-2","mat-flat-button","","color","warn","data-cy","force-delete",3,"click",4,"ngIf"],[1,"mb-4"],[1,"font-weight-bold"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-flat-button","","color","warn","data-cy","force-delete",1,"ml-2",3,"click"],[4,"ngFor","ngForOf"],["alert_type","warn"],["data-cy","force-delete-control","matInput","",3,"formControl","placeholder"],["mat-flat-button","","color","warn","data-cy","force-delete-button",1,"ml-2",3,"disabled","click"],[1,"dot-icon"]],template:function(Te,ee){1&Te&&(e.YNc(0,V,1,0,"mat-spinner",0),e.YNc(1,H,21,18,"div",1),e.YNc(2,ne,34,35,"div",1)),2&Te&&(e.Q6J("ngIf",ee.loading),e.xp6(1),e.Q6J("ngIf",!ee.force&&!ee.loading),e.xp6(1),e.Q6J("ngIf",ee.force&&!ee.loading))},directives:[T.O5,m.$g,A.uh,A.xY,g.BZ,g.w1,g.fO,g.ge,g.Dz,g.ev,g.as,g.XQ,g.nj,g.Gk,A.H8,s.lW,b.Hw,O.i$,T.sg,O.Tg,E.w,h.KE,k.Nt,f.Fj,f.JJ,f.oH],pipes:[L.X$],styles:[".dot-icon[_ngcontent-%COMP%]{font-size:small;vertical-align:-1px}.table-margin[_ngcontent-%COMP%]{margin-top:-50px;margin-bottom:20px}"]}),ve})()},54037:(Ke,be,d)=>{"use strict";d.d(be,{Y:()=>b});var e=d(9315),f=d(48966),g=d(36908),T=d(32075),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class O{constructor(h,k,L,V,$){this.dialogRef=h,this.data=k,this.facilitiesManager=L,this.notificator=V,this.translate=$,this.displayedColumns=["name"],this.loading=!1,this.force=!1,this.relations=[]}ngOnInit(){this.theme=this.data.theme,this.facility=this.data.facility,this.dataSource=new T.by([this.facility]),this.relations.push(this.translate.instant("DIALOGS.DELETE_FACILITY.RESOURCE_RELATION"))}onConfirm(){this.loading=!0,this.facilitiesManager.deleteFacility(this.facility.id,this.force).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.DELETE_FACILITY.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(h){this.force=h.force,h.deleted?this.onConfirm():this.onCancel()}}return O.\u0275fac=function(h){return new(h||O)(m.Y36(f.so),m.Y36(f.WI),m.Y36(e.IQ),m.Y36(g.V6),m.Y36(A.sK))},O.\u0275cmp=m.Xpm({type:O,selectors:[["app-delete-facility-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","relations","loading","deleted"]],template:function(h,k){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(V){return k.onSubmit(V)}),m.qZA(),m.qZA()),2&h&&(m.Tol(k.theme),m.xp6(1),m.Q6J("entityNames",k.dataSource)("entityType","facilities")("relations",k.relations)("loading",k.loading))},directives:[s.e],styles:[""]}),O})()},41656:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>b});var e=d(48966),f=d(32075),g=d(36908),T=d(9315),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class O{constructor(h,k,L,V,$){this.dialogRef=h,this.data=k,this.notificator=L,this.translate=V,this.groupService=$,this.displayedColumns=["name"],this.loading=!1,this.relations=[],this.force=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.groups),this.relations.push(this.translate.instant("DIALOGS.DELETE_GROUP.SUBGROUP_RELATION")),this.relations.push(this.translate.instant("DIALOGS.DELETE_GROUP.MEMBER_RELATION"))}onCancel(){this.dialogRef.close(!1)}onDelete(){this.loading=!0;const h=this.data.groups.map(k=>k.id);this.groupService.deleteGroups({groups:h,forceDelete:this.force}).subscribe(()=>{this.translate.get("DIALOGS.DELETE_GROUP.SUCCESS").subscribe(k=>{this.notificator.showSuccess(k),this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}onSubmit(h){this.force=h.force,h.deleted?this.onDelete():this.onCancel()}}return O.\u0275fac=function(h){return new(h||O)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.V6),m.Y36(A.sK),m.Y36(T.ff))},O.\u0275cmp=m.Xpm({type:O,selectors:[["app-delete-group-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","relations","loading","deleted"]],template:function(h,k){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(V){return k.onSubmit(V)}),m.qZA(),m.qZA()),2&h&&(m.Tol(k.theme),m.xp6(1),m.Q6J("entityNames",k.dataSource)("entityType","groups")("relations",k.relations)("loading",k.loading))},directives:[s.e],styles:[""]}),O})()},83491:(Ke,be,d)=>{"use strict";d.d(be,{_:()=>P});var e=d(48966),f=d(9315),g=d(9244),T=d(387),m=d(36908),A=d(5e3),s=d(51062),b=d(69808),O=d(20773),E=d(53251);const h=["*"];let k=(()=>{class i{constructor(){}}return i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=A.Xpm({type:i,selectors:[["app-edit-application-form-item-line"]],inputs:{label:"label",description:"description"},ngContentSelectors:h,decls:9,vars:2,consts:[[1,"d-flex"],[1,"w-25","m-auto","font-weight-bold"],[1,"w-75"],[1,"d-flex","mb-3"],[1,"w-25"],[1,"w-75","font-italic","text-muted"]],template:function(p,o){1&p&&(A.F$t(),A.TgZ(0,"div",0),A.TgZ(1,"span",1),A._uU(2),A.qZA(),A.TgZ(3,"div",2),A.Hsn(4),A.qZA(),A.qZA(),A.TgZ(5,"div",3),A._UZ(6,"span",4),A.TgZ(7,"div",5),A._uU(8),A.qZA(),A.qZA()),2&p&&(A.xp6(2),A.hij("",o.label,":"),A.xp6(6),A.hij(" ",o.description," "))},styles:[""]}),i})();var L=d(67322),V=d(98833),$=d(93075),ue=d(77446),ce=d(52170),Le=d(74107),de=d(90508),ke=d(63312),ae=d(74533),j=d(47423),H=d(29772),Q=d(25245),te=d(57706);let se=(()=>{class i{constructor(p){this.translateService=p}transform(p){switch(p){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED."+p);default:return p}}}return i.\u0275fac=function(p){return new(p||i)(A.Y36(s.sK,16))},i.\u0275pipe=A.Yjl({name:"applicationFormItemDisabled",type:i,pure:!0}),i})(),ge=(()=>{class i{constructor(p){this.translateService=p}transform(p){switch(p){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN."+p);default:return p}}}return i.\u0275fac=function(p){return new(p||i)(A.Y36(s.sK,16))},i.\u0275pipe=A.Yjl({name:"applicationFormItemHidden",type:i,pure:!0}),i})();function Ne(i,r){1&i&&A._UZ(0,"mat-spinner",8)}function Fe(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"section"),A.TgZ(5,"mat-checkbox",22),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw(3).applicationFormItem.updatable=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(3);A.xp6(1),A.Q6J("label",A.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE"))("description",A.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.updatable)}}function ne(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div",13),A.TgZ(1,"mat-form-field",13),A.TgZ(2,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw(3).applicationFormItem.federationAttribute=t}),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(3);A.xp6(2),A.Q6J("ngModel",p.applicationFormItem.federationAttribute)}}function Me(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"section"),A.TgZ(5,"mat-checkbox",22),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.required=t}),A.qZA(),A.qZA(),A.qZA(),A.YNc(6,Fe,6,7,"div",17),A.TgZ(7,"app-edit-application-form-item-line",12),A.ALo(8,"translate"),A.ALo(9,"translate"),A.TgZ(10,"div",13),A.TgZ(11,"perun-web-apps-selection-item-search-select",23),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.perunSourceAttribute=t.value}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(12,"app-edit-application-form-item-line",12),A.ALo(13,"translate"),A.ALo(14,"translate"),A.TgZ(15,"div",13),A.TgZ(16,"perun-web-apps-selection-item-search-select",23),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.perunDestinationAttribute=t.value}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(17,"app-edit-application-form-item-line",12),A.ALo(18,"translate"),A.ALo(19,"translate"),A.TgZ(20,"div",13),A.TgZ(21,"perun-web-apps-selection-item-search-select",24),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(2).changeFederationAttribute(t)}),A.qZA(),A.qZA(),A.YNc(22,ne,3,1,"div",25),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,22,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED"))("description",A.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.required),A.xp6(1),A.Q6J("ngIf",p.typesWithUpdatable.indexOf(p.applicationFormItem.type)>-1),A.xp6(1),A.Q6J("label",A.lcZ(8,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE"))("description",A.lcZ(9,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE_DESCRIPTION")),A.xp6(4),A.Q6J("attributes",p.attributeDefinitions)("selectedAttribute",p.applicationFormItem.perunSourceAttribute)("asGroup",!!p.data.group)("type",p.itemType.SOURCE),A.xp6(1),A.Q6J("label",A.lcZ(13,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE"))("description",A.lcZ(14,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE_DESCRIPTION")),A.xp6(4),A.Q6J("attributes",p.attributeDefinitions)("selectedAttribute",p.applicationFormItem.perunDestinationAttribute)("asGroup",!!p.data.group)("type",p.itemType.DESTINATION),A.xp6(1),A.Q6J("label",A.lcZ(18,34,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE"))("description",A.lcZ(19,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE_DESCRIPTION")),A.xp6(4),A.Q6J("selectedAttribute",p.applicationFormItem.federationAttribute)("asGroup",!!p.data.group)("type",p.itemType.FEDERATION),A.xp6(1),A.Q6J("ngIf"," -- custom value -- "===p.federationAttributeDN)}}function ve(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.regex=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX"))("description",A.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.regex)}}function me(i,r){if(1&i&&(A.TgZ(0,"mat-option",26),A._uU(1),A.ALo(2,"applicationFormItemDisabled"),A.qZA()),2&i){const p=r.$implicit;A.Q6J("value",p),A.xp6(1),A.hij(" ",A.lcZ(2,2,p)," ")}}function Te(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"perun-web-apps-app-form-item-search-select",27),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(3).disabledDependencyItem=t}),A.qZA()}if(2&i){const p=A.oxw(3);A.Q6J("item",p.disabledDependencyItem)("items",p.possibleDependencyItems)}}function ee(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"mat-select",18),A.NdJ("valueChange",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.disabled=t}),A.YNc(6,me,3,4,"mat-option",19),A.qZA(),A.qZA(),A.qZA(),A.TgZ(7,"app-edit-application-form-item-line",12),A.ALo(8,"translate"),A.ALo(9,"translate"),A.TgZ(10,"div",13),A.YNc(11,Te,1,2,"perun-web-apps-app-form-item-search-select",20),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED"))("description",A.lcZ(3,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DESCRIPTION")),A.xp6(4),A.Q6J("value",p.applicationFormItem.disabled),A.xp6(1),A.Q6J("ngForOf",p.disabledValues),A.xp6(1),A.Q6J("label",A.lcZ(8,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY"))("description",A.lcZ(9,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY_DESCRIPTION")),A.xp6(4),A.Q6J("ngIf",null!==p.disabledDependencyItem)}}function R(i,r){if(1&i&&(A.TgZ(0,"mat-option",26),A._uU(1),A.ALo(2,"applicationFormItemHidden"),A.qZA()),2&i){const p=r.$implicit;A.Q6J("value",p),A.xp6(1),A.hij(" ",A.lcZ(2,2,p)," ")}}function Oe(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"perun-web-apps-app-form-item-search-select",27),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(2).hiddenDependencyItem=t}),A.qZA()}if(2&i){const p=A.oxw(2);A.Q6J("item",p.hiddenDependencyItem)("items",p.possibleDependencyItems)}}function Ie(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"textarea",28),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].label=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw().$implicit,o=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT"))("description",A.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT_DESCRIPTION")),A.xp6(4),A.Q6J("cdkTextareaAutosize",!0)("ngModel",o.applicationFormItem.i18n[p].label)}}function He(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"textarea",14),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].label=t}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(6,"app-edit-application-form-item-line",12),A.ALo(7,"translate"),A.ALo(8,"translate"),A.TgZ(9,"mat-form-field",13),A.TgZ(10,"textarea",14),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].help=t}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(11,"app-edit-application-form-item-line",12),A.ALo(12,"translate"),A.ALo(13,"translate"),A.TgZ(14,"mat-form-field",13),A.TgZ(15,"textarea",14),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].errorMessage=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw().$implicit,o=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",A.lcZ(3,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",o.applicationFormItem.i18n[p].label),A.xp6(1),A.Q6J("label",A.lcZ(7,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP"))("description",A.lcZ(8,15,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",o.applicationFormItem.i18n[p].help),A.xp6(1),A.Q6J("label",A.lcZ(12,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR"))("description",A.lcZ(13,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",o.applicationFormItem.i18n[p].errorMessage)}}function fe(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"textarea",14),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].label=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw().$implicit,o=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",A.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_BUTTON_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",o.applicationFormItem.i18n[p].label)}}function Ce(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A._uU(1),A.ALo(2,"translate"),A.TgZ(3,"mat-form-field"),A.TgZ(4,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p).$implicit[0]=t}),A.qZA(),A.qZA(),A._uU(5),A.ALo(6,"translate"),A.TgZ(7,"mat-form-field"),A.TgZ(8,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p).$implicit[1]=t}),A.qZA(),A.qZA(),A.TgZ(9,"button",37),A.NdJ("click",function(){const n=A.CHM(p).$implicit,c=A.oxw(2).$implicit;return A.oxw(2).removeOption(n,c)}),A.ALo(10,"translate"),A.TgZ(11,"mat-icon"),A._uU(12,"clear"),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=r.$implicit;A.xp6(1),A.hij(" ",A.lcZ(2,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.VALUE"),": "),A.xp6(3),A.Q6J("ngModel",p[0]),A.xp6(1),A.hij(" ",A.lcZ(6,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"),": "),A.xp6(3),A.Q6J("ngModel",p[1]),A.xp6(1),A.s9C("matTooltip",A.lcZ(10,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REMOVE_OPTION"))}}function Ve(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"div",29),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"div",30),A._uU(5),A.ALo(6,"translate"),A.qZA(),A.TgZ(7,"div",31),A.TgZ(8,"button",32),A.NdJ("click",function(){A.CHM(p);const t=A.oxw().$implicit;return A.oxw(2).sortOptionsAZ(t)}),A.TgZ(9,"i",33),A._uU(10,"arrow_downward"),A.qZA(),A._uU(11),A.ALo(12,"translate"),A.qZA(),A.TgZ(13,"button",34),A.NdJ("click",function(){A.CHM(p);const t=A.oxw().$implicit;return A.oxw(2).sortOptionsZA(t)}),A.TgZ(14,"i",33),A._uU(15,"arrow_upward"),A.qZA(),A._uU(16),A.ALo(17,"translate"),A.qZA(),A.qZA(),A.YNc(18,Ce,13,11,"div",35),A.TgZ(19,"button",36),A.NdJ("click",function(){A.CHM(p);const t=A.oxw().$implicit;return A.oxw(2).addOption(t)}),A._uU(20),A.ALo(21,"translate"),A.qZA(),A.qZA()}if(2&i){const p=A.oxw().$implicit,o=A.oxw(2);A.xp6(2),A.hij(" ",A.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS"),": "),A.xp6(3),A.hij(" ",A.lcZ(6,8,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS_DESCRIPTION")," "),A.xp6(6),A.hij(" ",A.lcZ(12,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_AZ")," "),A.xp6(5),A.hij(" ",A.lcZ(17,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_ZA")," "),A.xp6(2),A.Q6J("ngForOf",o.options[p]),A.xp6(2),A.hij(" ",A.lcZ(21,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ADD_OPTION")," ")}}const Xe=function(){return["HEADING","HTML_COMMENT"]},tt=function(){return["TEXTFIELD","VALIDATED_EMAIL","USERNAME","PASSWORD","RADIO","TEXTAREA","COMBOBOX","CHECKBOX","TIMEZONE","SELECTIONBOX","EMBEDDED_GROUP_APPLICATION"]},rt=function(){return["SUBMIT_BUTTON","AUTO_SUBMIT_BUTTON"]},N=function(){return["RADIO","COMBOBOX","CHECKBOX","SELECTIONBOX"]};function he(i,r){if(1&i&&(A.TgZ(0,"mat-tab",11),A.ALo(1,"translate"),A.ALo(2,"uppercase"),A.YNc(3,Ie,6,8,"div",17),A.YNc(4,He,16,21,"div",17),A.YNc(5,fe,6,7,"div",17),A.YNc(6,Ve,22,16,"div",17),A.qZA()),2&i){const p=r.$implicit,o=A.oxw(2);A.s9C("label",A.lcZ(1,5,A.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LANGUAGE_"+p))),A.xp6(3),A.Q6J("ngIf",o.isApplicationFormItemOfType(A.DdM(9,Xe))),A.xp6(1),A.Q6J("ngIf",o.isApplicationFormItemOfType(A.DdM(10,tt))),A.xp6(1),A.Q6J("ngIf",o.isApplicationFormItemOfType(A.DdM(11,rt))),A.xp6(1),A.Q6J("ngIf",o.isApplicationFormItemOfType(A.DdM(12,N)))}}const D=function(){return["TEXTFIELD","USERNAME","VALIDATED_EMAIL","PASSWORD","TEXTAREA","TIMEZONE","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]},S=function(){return["TEXTFIELD","USERNAME","PASSWORD","TEXTAREA","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]};function I(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div",9),A.TgZ(1,"mat-tab-group",10),A.TgZ(2,"mat-tab",11),A.ALo(3,"translate"),A.TgZ(4,"app-edit-application-form-item-line",12),A.ALo(5,"translate"),A.ALo(6,"translate"),A.TgZ(7,"mat-form-field",13),A.TgZ(8,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw().applicationFormItem.shortname=t}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(9,"app-edit-application-form-item-line",12),A.ALo(10,"translate"),A.ALo(11,"translate"),A._uU(12),A.ALo(13,"applicationFormItemType"),A.qZA(),A.TgZ(14,"app-edit-application-form-item-line",12),A.ALo(15,"translate"),A.ALo(16,"translate"),A.TgZ(17,"section"),A.TgZ(18,"mat-checkbox",15),A.NdJ("change",function(){return A.CHM(p),A.oxw().onChangingType("INITIAL")}),A._uU(19),A.ALo(20,"translate"),A.qZA(),A.TgZ(21,"mat-checkbox",16),A.NdJ("change",function(){return A.CHM(p),A.oxw().onChangingType("EXTENSION")}),A._uU(22),A.ALo(23,"translate"),A.qZA(),A.qZA(),A.qZA(),A.YNc(24,Me,23,38,"div",17),A.YNc(25,ve,6,7,"div",17),A.YNc(26,ee,12,15,"div",17),A.TgZ(27,"app-edit-application-form-item-line",12),A.ALo(28,"translate"),A.ALo(29,"translate"),A.TgZ(30,"mat-form-field",13),A.TgZ(31,"mat-select",18),A.NdJ("valueChange",function(t){return A.CHM(p),A.oxw().applicationFormItem.hidden=t}),A.YNc(32,R,3,4,"mat-option",19),A.qZA(),A.qZA(),A.qZA(),A.TgZ(33,"app-edit-application-form-item-line",12),A.ALo(34,"translate"),A.ALo(35,"translate"),A.TgZ(36,"div",13),A.YNc(37,Oe,1,2,"perun-web-apps-app-form-item-search-select",20),A.qZA(),A.qZA(),A.qZA(),A.YNc(38,he,7,13,"mat-tab",21),A.qZA(),A.qZA()}if(2&i){const p=A.oxw();A.xp6(2),A.s9C("label",A.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.BASIC_SETTINGS")),A.xp6(2),A.Q6J("label",A.lcZ(5,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME"))("description",A.lcZ(6,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.shortname),A.xp6(1),A.Q6J("label",A.lcZ(10,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET"))("description",A.lcZ(11,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET_DESCRIPTION")),A.xp6(3),A.hij(" ",A.lcZ(13,34,p.applicationFormItem.type)," "),A.xp6(2),A.Q6J("label",A.lcZ(15,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION"))("description",A.lcZ(16,38,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.applicationTypes.includes("INITIAL")),A.xp6(1),A.hij(" ",A.lcZ(20,40,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INITIAL")," "),A.xp6(2),A.Q6J("ngModel",p.applicationFormItem.applicationTypes.includes("EXTENSION")),A.xp6(1),A.hij(" ",A.lcZ(23,42,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.EXTENSION")," "),A.xp6(2),A.Q6J("ngIf",p.isApplicationFormItemOfType(A.DdM(52,D))),A.xp6(1),A.Q6J("ngIf",p.isApplicationFormItemOfType(A.DdM(53,S))),A.xp6(1),A.Q6J("ngIf",p.typesWithDisabled.indexOf(p.applicationFormItem.type)>-1),A.xp6(1),A.Q6J("label",A.lcZ(28,44,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN"))("description",A.lcZ(29,46,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DESCRIPTION")),A.xp6(4),A.Q6J("value",p.applicationFormItem.hidden),A.xp6(1),A.Q6J("ngForOf",p.hiddenValues),A.xp6(1),A.Q6J("label",A.lcZ(34,48,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY"))("description",A.lcZ(35,50,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY_DESCRIPTION")),A.xp6(4),A.Q6J("ngIf",null!==p.hiddenDependencyItem),A.xp6(1),A.Q6J("ngForOf",p.languages)}}let P=(()=>{class i{constructor(p,o,t,n,c,u){this.dialogRef=p,this.data=o,this.attributesManager=t,this.translateService=n,this.store=c,this.cd=u,this.federationAttributeDN="",this.itemType=T.qG,this.loading=!1,this.hiddenValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.disabledValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.possibleDependencyItems=[],this.typesWithUpdatable=["VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","TIMEZONE"],this.typesWithDisabled=["USERNAME","PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX"],this.hiddenDependencyItem=null,this.disabledDependencyItem=null,this.dependencyTypes=["PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","USERNAME"],this.languages=["en"]}ngOnInit(){this.languages=this.store.get("supported_languages"),this.hiddenDependencyItem=this.data.allItems.find(p=>p.id===this.data.applicationFormItem.hiddenDependencyItemId),this.hiddenDependencyItem||(this.hiddenDependencyItem=T.Sx),this.disabledDependencyItem=this.data.allItems.find(p=>p.id===this.data.applicationFormItem.disabledDependencyItemId),this.disabledDependencyItem||(this.disabledDependencyItem=T.Sx),this.theme=this.data.theme,this.possibleDependencyItems=this.getPossibleDepItems(),this.applicationFormItem=(0,g.dv)(this.languages),this.copy(this.data.applicationFormItem,this.applicationFormItem),this.loading=!0,this.attributesManager.getAllAttributeDefinitions().subscribe(p=>{this.attributeDefinitions=p,this.loading=!1},()=>this.loading=!1),null===this.applicationFormItem.perunDestinationAttribute&&(this.applicationFormItem.perunDestinationAttribute=""),null===this.applicationFormItem.perunSourceAttribute&&(this.applicationFormItem.perunSourceAttribute=""),this.getOptions()}getPossibleDepItems(){return[T.Sx].concat(this.data.allItems.filter(p=>this.dependencyTypes.indexOf(p.type)>-1).filter(p=>p.id!==this.data.applicationFormItem.id))}cancel(){this.dialogRef.close()}submit(){this.applicationFormItem.hiddenDependencyItemId=this.hiddenDependencyItem===T.Sx?null:this.hiddenDependencyItem.id,this.applicationFormItem.disabledDependencyItemId=this.disabledDependencyItem===T.Sx?null:this.disabledDependencyItem.id,this.updateOptions(),this.copy(this.applicationFormItem,this.data.applicationFormItem),this.dialogRef.close(!0)}onChangingType(p){if(this.applicationFormItem.applicationTypes.includes(p)){const o=this.applicationFormItem.applicationTypes.indexOf(p);this.applicationFormItem.applicationTypes.splice(o,1)}else this.applicationFormItem.applicationTypes.push(p)}addOption(p){this.options[p].push(["",""])}removeOption(p,o){this.options[o]=this.options[o].filter(t=>!(t[0]===p[0]&&t[1]===p[1]))}updateOption(p){let o="";if(this.options&&this.options[p])for(const t of this.options[p])""!==t[0]&&""!==t[1]&&(o=""===o?t[0]+"#"+t[1]:o+"|"+t[0]+"#"+t[1]);this.applicationFormItem.i18n[p].options=o}updateOptions(){for(const p of this.languages)this.updateOption(p)}changeFederationAttribute(p){this.applicationFormItem.federationAttribute=p.value,this.federationAttributeDN=p.displayName,this.cd.detectChanges()}copy(p,o){o.applicationTypes=p.applicationTypes,o.federationAttribute=p.federationAttribute,o.forDelete=p.forDelete;for(const t of this.languages)o.i18n[t].errorMessage=p.i18n[t].errorMessage,o.i18n[t].help=p.i18n[t].help,o.i18n[t].label=p.i18n[t].label,o.i18n[t].options=p.i18n[t].options;o.id=p.id,o.ordnum=p.ordnum,o.perunDestinationAttribute=p.perunDestinationAttribute,o.perunSourceAttribute=p.perunSourceAttribute,o.regex=p.regex,o.required=p.required,o.shortname=p.shortname,o.type=p.type,o.updatable=p.updatable,o.disabled=p.disabled,o.hidden=p.hidden,o.disabledDependencyItemId=p.disabledDependencyItemId,o.hiddenDependencyItemId=p.hiddenDependencyItemId}sortOptionsAZ(p){this.options[p]=this.options[p].sort((o,t)=>o[1]>t[1]?1:o[1]o[1]>t[1]?-1:o[1]-1}}return i.\u0275fac=function(p){return new(p||i)(A.Y36(e.so),A.Y36(e.WI),A.Y36(f.H8),A.Y36(s.sK),A.Y36(m.d6),A.Y36(A.sBO))},i.\u0275cmp=A.Xpm({type:i,selectors:[["app-edit-application-form-item-dialog"]],decls:16,vars:20,consts:[[1,"h-100","d-flex","flex-column"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",1,"d-flex","mt-auto"],["mat-flat-button","",1,"ml-auto","mt-auto",3,"click"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","accent","data-cy","edit-form-item-button-dialog",1,"ml-2","mt-auto",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["color","primary"],[3,"label"],[3,"label","description"],[1,"w-100"],["matInput","",3,"ngModel","ngModelChange"],[1,"mr-2",3,"ngModel","change"],[3,"ngModel","change"],[4,"ngIf"],["disableOptionCentering","",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"item","items","itemSelected",4,"ngIf"],[3,"label",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],[3,"attributes","selectedAttribute","asGroup","type","itemSelected"],[3,"selectedAttribute","asGroup","type","itemSelected"],["class","w-100",4,"ngIf"],[3,"value"],[3,"item","items","itemSelected"],["matInput","",3,"cdkTextareaAutosize","ngModel","ngModelChange"],[1,"font-weight-bold"],[1,"text-muted","font-italic"],[1,"d-flex","mt-2","mb-2"],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],[1,"material-icons"],["mat-flat-button","",1,"mr-auto",3,"click"],[4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-icon-button","","color","warn",3,"matTooltip","click"]],template:function(p,o){1&p&&(A.TgZ(0,"div"),A.TgZ(1,"div",0),A.TgZ(2,"h1",1),A._uU(3),A.ALo(4,"translate"),A.qZA(),A.YNc(5,Ne,1,0,"mat-spinner",2),A.YNc(6,I,39,54,"div",3),A.TgZ(7,"div",4),A.TgZ(8,"button",5),A.NdJ("click",function(){return o.cancel()}),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.TgZ(11,"div",6),A.ALo(12,"translate"),A.TgZ(13,"button",7),A.NdJ("click",function(){return o.submit()}),A._uU(14),A.ALo(15,"translate"),A.qZA(),A.qZA(),A.qZA(),A.qZA(),A.qZA()),2&p&&(A.Gre("",o.theme," h-100"),A.xp6(3),A.AsE(" ",A.lcZ(4,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.TITLE")," : ",o.applicationFormItem.shortname," "),A.xp6(2),A.Q6J("ngIf",o.loading),A.xp6(1),A.Q6J("ngIf",!o.loading),A.xp6(3),A.hij(" ",A.lcZ(10,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CANCEL_BUTTON")," "),A.xp6(2),A.s9C("matTooltip",A.lcZ(12,16,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON_DISABLED_TOOLTIP")),A.Q6J("matTooltipDisabled",!o.applicationFormItem.required||""!==o.applicationFormItem.perunSourceAttribute||""!==o.applicationFormItem.federationAttribute||"ALWAYS"!==o.applicationFormItem.disabled&&"ALWAYS"!==o.applicationFormItem.hidden),A.xp6(2),A.Q6J("disabled",o.loading||o.applicationFormItem.required&&""===o.applicationFormItem.perunSourceAttribute&&""===o.applicationFormItem.federationAttribute&&("ALWAYS"===o.applicationFormItem.disabled||"ALWAYS"===o.applicationFormItem.hidden)),A.xp6(1),A.hij(" ",A.lcZ(15,18,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON")," "))},directives:[e.uh,b.O5,O.$g,e.xY,E.SP,E.uX,k,L.KE,V.Nt,$.Fj,$.JJ,$.On,ue.oG,ce.$x,Le.gD,b.sg,de.ey,ke.Y,ae.IC,j.lW,H.gM,Q.Hw,e.H8],pipes:[s.X$,te.c,se,ge,b.gd],styles:[""]}),i})()},19352:(Ke,be,d)=>{"use strict";d.d(be,{H:()=>ne});var e=d(9315),f=d(48966),g=d(36908),T=d(32075),m=d(9244),A=d(84379),s=d(69808),b=d(5e3),O=d(51062),E=d(20773),h=d(47423),k=d(25245),L=d(29772),V=d(31359);function $(Me,ve){1&Me&&b._UZ(0,"mat-spinner",6)}function ue(Me,ve){1&Me&&(b.TgZ(0,"th",17),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&Me&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_ID")," "))}function ce(Me,ve){if(1&Me&&(b.TgZ(0,"td",18),b._uU(1),b.qZA()),2&Me){const me=ve.$implicit;b.xp6(1),b.Oqu(me.user.id)}}function Le(Me,ve){1&Me&&(b.TgZ(0,"th",17),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&Me&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_NAME")," "))}function de(Me,ve){if(1&Me&&(b.TgZ(0,"td",18),b._uU(1),b.ALo(2,"userFullName"),b.qZA()),2&Me){const me=ve.$implicit;b.xp6(1),b.Oqu(b.lcZ(2,1,me.user))}}function ke(Me,ve){1&Me&&(b.TgZ(0,"th",17),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&Me&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_EXPIRATION")," "))}function ae(Me,ve){if(1&Me){const me=b.EpF();b.TgZ(0,"button",20),b.NdJ("click",function(){b.CHM(me);const ee=b.oxw().$implicit;return b.oxw(2).changeExpiration(ee)}),b.TgZ(1,"mat-icon"),b._uU(2," today "),b.qZA(),b.qZA()}}function j(Me,ve){if(1&Me&&(b.TgZ(0,"td",18),b.TgZ(1,"span"),b._uU(2),b.qZA(),b.YNc(3,ae,3,0,"button",19),b.qZA()),2&Me){const me=ve.$implicit,Te=b.oxw(2);b.xp6(2),b.Oqu(Te.parseDate(me.validityTo)),b.xp6(1),b.Q6J("ngIf",Te.isExpirationAuthorized(me))}}function H(Me,ve){1&Me&&b._UZ(0,"th",17)}function Q(Me,ve){1&Me&&(b.TgZ(0,"mat-icon",25),b._uU(1,"clear"),b.qZA())}function te(Me,ve){1&Me&&(b.TgZ(0,"mat-icon"),b._uU(1,"settings_backup_restore"),b.qZA())}function se(Me,ve){if(1&Me){const me=b.EpF();b.TgZ(0,"td",18),b.TgZ(1,"div",21),b.ALo(2,"translate"),b.TgZ(3,"button",22),b.NdJ("click",function(){const R=b.CHM(me).$implicit;return b.oxw(2).markSponsor(R)}),b.YNc(4,Q,2,0,"mat-icon",23),b.YNc(5,te,2,0,"mat-icon",24),b.qZA(),b.qZA(),b.qZA()}if(2&Me){const me=ve.$implicit,Te=b.oxw(2);b.xp6(1),b.s9C("matTooltip",b.lcZ(2,6,"DIALOGS.EDIT_MEMBER_SPONSORS.REMOVE_SPONSOR_DISABLED")),b.Q6J("matTooltipPosition","above")("matTooltipDisabled",Te.isRemoveAuthorized(me)),b.xp6(2),b.Q6J("disabled",!Te.isRemoveAuthorized(me)),b.xp6(1),b.Q6J("ngIf",!Te.sponsorsToRemove.has(me.user.id)),b.xp6(1),b.Q6J("ngIf",Te.sponsorsToRemove.has(me.user.id))}}function ge(Me,ve){1&Me&&b._UZ(0,"tr",26)}function Ne(Me,ve){if(1&Me&&b._UZ(0,"tr",27),2&Me){const me=ve.$implicit,Te=b.oxw(2);b.ekj("make-red",Te.sponsorsToRemove.has(me.user.id))}}function Fe(Me,ve){if(1&Me&&(b.TgZ(0,"div",7),b.TgZ(1,"table",8),b.ynx(2,9),b.YNc(3,ue,3,3,"th",10),b.YNc(4,ce,2,1,"td",11),b.BQk(),b.ynx(5,12),b.YNc(6,Le,3,3,"th",10),b.YNc(7,de,3,3,"td",11),b.BQk(),b.ynx(8,13),b.YNc(9,ke,3,3,"th",10),b.YNc(10,j,4,2,"td",11),b.BQk(),b.ynx(11,14),b.YNc(12,H,1,0,"th",10),b.YNc(13,se,6,8,"td",11),b.BQk(),b.YNc(14,ge,1,0,"tr",15),b.YNc(15,Ne,1,2,"tr",16),b.qZA(),b.qZA()),2&Me){const me=b.oxw();b.xp6(1),b.Q6J("dataSource",me.dataSource),b.xp6(13),b.Q6J("matHeaderRowDef",me.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",me.displayedColumns)}}let ne=(()=>{class Me{constructor(me,Te,ee,R,Oe,Ie,He,fe){this.dialogRef=me,this.data=Te,this.memberService=ee,this.userService=R,this.notificator=Oe,this.authResolver=Ie,this.translate=He,this.dialog=fe,this.displayedColumns=["id","name","expiration","remove"],this.loading=!1,this.expirationChanged=!1,this.sponsorsToRemove=new Set}ngOnInit(){this.theme=this.data.theme,this.sponsors=this.data.sponsors,this.dataSource=new T.by(this.data.sponsors),this.vo={beanName:"Vo",id:this.data.member.voId}}markSponsor(me){this.sponsorsToRemove.has(me.user.id)?this.sponsorsToRemove.delete(me.user.id):this.sponsorsToRemove.add(me.user.id)}removeSponsors(me){if(0===me.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.EDIT_MEMBER_SPONSORS.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const Te=me.pop();this.memberService.removeSponsor(this.data.member.id,Te).subscribe(()=>{this.removeSponsors(me)},()=>this.loading=!1)}onSubmit(){this.loading=!0;const me=Array.from(this.sponsorsToRemove);this.removeSponsors(me)}onCancel(){this.dialogRef.close(this.expirationChanged)}isRemoveAuthorized(me){return this.authResolver.isAuthorized("sponsored-removeSponsor_Member_User_policy",[this.data.member])&&this.authResolver.isAuthorized("sponsor-removeSponsor_Member_User_policy",[me.user])}isExpirationAuthorized(me){return this.authResolver.isAuthorized("updateSponsorshipValidity_Member_User_LocalDate",[me.user,this.vo])}parseDate(me){return null===me?"Never expire":(0,s.p6)(me,"d.M.y","en")}changeExpiration(me){const Te=(0,m.kZ)();Te.width="400px",Te.data={memberId:this.data.member.id,sponsor:me},this.dialog.open(A.hd,Te).afterClosed().subscribe(R=>{R&&(this.loading=!0,this.expirationChanged=!0,this.userService.getSponsorsForMember(this.data.member.id,[]).subscribe(Oe=>{this.sponsors=Oe,this.dataSource=new T.by(this.sponsors),this.loading=!1}))})}}return Me.\u0275fac=function(me){return new(me||Me)(b.Y36(f.so),b.Y36(f.WI),b.Y36(e.uq),b.Y36(e.Fv),b.Y36(g.V6),b.Y36(g.x4),b.Y36(O.sK),b.Y36(f.uw))},Me.\u0275cmp=b.Xpm({type:Me,selectors:[["app-edit-member-sponsors-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","expiration"],["matColumnDef","remove"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",3,"make-red",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-icon-button","",1,"btn-delete",3,"disabled","click"],["class","icn-delete","color","warn",4,"ngIf"],[4,"ngIf"],["color","warn",1,"icn-delete"],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(me,Te){1&me&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"div"),b.YNc(4,$,1,0,"mat-spinner",1),b.YNc(5,Fe,16,3,"div",2),b.TgZ(6,"div",3),b.TgZ(7,"button",4),b.NdJ("click",function(){return Te.onCancel()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Te.onSubmit()}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.qZA(),b.qZA()),2&me&&(b.xp6(1),b.Oqu(b.lcZ(2,9,"DIALOGS.EDIT_MEMBER_SPONSORS.TITLE")),b.xp6(2),b.Tol(Te.theme),b.xp6(1),b.Q6J("ngIf",Te.loading),b.xp6(1),b.Q6J("ngIf",!Te.loading),b.xp6(3),b.hij(" ",b.lcZ(9,11,"DIALOGS.EDIT_MEMBER_SPONSORS.CANCEL")," "),b.xp6(2),b.Q6J("disabled",Te.loading||0===Te.sponsorsToRemove.size),b.xp6(1),b.hij(" ",b.lcZ(12,13,"DIALOGS.EDIT_MEMBER_SPONSORS.SUBMIT")," "))},directives:[f.uh,s.O5,E.$g,f.xY,T.BZ,T.w1,T.fO,T.ge,T.Dz,T.ev,h.lW,k.Hw,L.gM,T.as,T.XQ,T.nj,T.Gk,f.H8],pipes:[O.X$,V.d],styles:[".make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.btn-delete[_ngcontent-%COMP%]:disabled .icn-delete[_ngcontent-%COMP%]{color:gray}"]}),Me})()},74414:(Ke,be,d)=>{"use strict";d.d(be,{R:()=>ae});var e=d(48966),f=d(93075),g=d(9315),T=d(36908),m=d(5e3),A=d(51062),s=d(69808),b=d(20773),O=d(67322),E=d(98833),h=d(74107),k=d(90508),L=d(47423);function V(j,H){1&j&&m._UZ(0,"mat-spinner",6)}function $(j,H){1&j&&(m.TgZ(0,"div",14),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&j&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_VO")," "))}function ue(j,H){1&j&&(m.TgZ(0,"div",14),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&j&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_GROUP")," "))}function ce(j,H){1&j&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&j&&(m.xp6(1),m.Oqu(m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.NAME_ERROR")))}function Le(j,H){1&j&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&j&&(m.xp6(1),m.Oqu(m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.EMAIL_ERROR")))}function de(j,H){if(1&j&&(m.TgZ(0,"mat-option",15),m._uU(1),m.ALo(2,"translate"),m.ALo(3,"uppercase"),m.qZA()),2&j){const Q=H.$implicit;m.s9C("value",Q),m.xp6(1),m.Oqu(m.lcZ(2,2,m.lcZ(3,4,"SHARED_LIB.LANGUAGES."+Q)))}}function ke(j,H){if(1&j){const Q=m.EpF();m.TgZ(0,"div",7),m.YNc(1,$,3,3,"div",8),m.YNc(2,ue,3,3,"div",8),m.TgZ(3,"mat-form-field",9),m._UZ(4,"input",10),m.ALo(5,"translate"),m.YNc(6,ce,3,3,"mat-error",11),m.qZA(),m.TgZ(7,"mat-form-field",9),m._UZ(8,"textarea",10),m.ALo(9,"translate"),m.YNc(10,Le,3,3,"mat-error",11),m.qZA(),m.TgZ(11,"mat-form-field",9),m.TgZ(12,"mat-label"),m._uU(13),m.ALo(14,"translate"),m.qZA(),m.TgZ(15,"mat-select",12),m.NdJ("valueChange",function(se){return m.CHM(Q),m.oxw().currentLanguage=se}),m.YNc(16,de,4,6,"mat-option",13),m.qZA(),m.qZA(),m.qZA()}if(2&j){const Q=m.oxw();m.xp6(1),m.Q6J("ngIf",!Q.data.groupId),m.xp6(1),m.Q6J("ngIf",Q.data.groupId),m.xp6(2),m.s9C("placeholder",m.lcZ(5,11,"DIALOGS.INVITE_MEMBER.NAME")),m.Q6J("formControl",Q.name),m.xp6(2),m.Q6J("ngIf",Q.name.invalid),m.xp6(2),m.s9C("placeholder",m.lcZ(9,13,"DIALOGS.INVITE_MEMBER.EMAIL")),m.Q6J("formControl",Q.emailForm),m.xp6(2),m.Q6J("ngIf",Q.emailForm.invalid),m.xp6(3),m.Oqu(m.lcZ(14,15,"DIALOGS.INVITE_MEMBER.LANGUAGE")),m.xp6(2),m.Q6J("value",Q.currentLanguage),m.xp6(1),m.Q6J("ngForOf",Q.languages)}}let ae=(()=>{class j{constructor(Q,te,se,ge,Ne,Fe){this.dialogRef=Q,this.data=te,this.registrarManager=se,this.notificator=ge,this.translate=Ne,this.store=Fe,this.emailForm=new f.NI("",[f.kI.required,f.kI.email]),this.languages=["en"],this.currentLanguage="en",this.name=new f.NI("",f.kI.required),this.loading=!1}ngOnInit(){this.languages=this.store.get("supported_languages"),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.emailForm.invalid||this.name.invalid||(this.data.voId&&!this.data.groupId?(this.loading=!0,this.registrarManager.sendInvitation(this.emailForm.value,this.currentLanguage,this.data.voId).subscribe(()=>{this.translate.get("DIALOGS.INVITE_MEMBER.SUCCESS").subscribe(Q=>{this.notificator.showSuccess(Q),this.dialogRef.close(!0)})},()=>this.loading=!1)):(this.loading=!0,this.registrarManager.sendInvitationForGroup(this.emailForm.value,this.currentLanguage,this.data.voId,this.data.groupId).subscribe(()=>{this.translate.get("DIALOGS.INVITE_MEMBER.SUCCESS").subscribe(Q=>{this.notificator.showSuccess(Q),this.dialogRef.close(!0)})},()=>this.loading=!1)))}}return j.\u0275fac=function(Q){return new(Q||j)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.tk),m.Y36(T.V6),m.Y36(A.sK),m.Y36(T.d6))},j.\u0275cmp=m.Xpm({type:j,selectors:[["app-invite-member-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["class","font-italic",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"font-italic"],[3,"value"]],template:function(Q,te){1&Q&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,V,1,0,"mat-spinner",1),m.YNc(5,ke,17,17,"div",2),m.TgZ(6,"div",3),m.TgZ(7,"button",4),m.NdJ("click",function(){return te.onCancel()}),m._uU(8),m.ALo(9,"translate"),m.qZA(),m.TgZ(10,"button",5),m.NdJ("click",function(){return te.onSubmit()}),m._uU(11),m.ALo(12,"translate"),m.qZA(),m.qZA(),m.qZA()),2&Q&&(m.Tol(te.theme),m.xp6(2),m.Oqu(m.lcZ(3,9,"DIALOGS.INVITE_MEMBER.TITLE")),m.xp6(2),m.Q6J("ngIf",te.loading),m.xp6(1),m.Q6J("ngIf",!te.loading),m.xp6(3),m.hij(" ",m.lcZ(9,11,"DIALOGS.INVITE_MEMBER.CANCEL")," "),m.xp6(2),m.Q6J("disabled",te.emailForm.invalid||te.name.invalid||te.loading),m.xp6(1),m.hij(" ",m.lcZ(12,13,"DIALOGS.INVITE_MEMBER.INVITE")," "))},directives:[e.uh,s.O5,b.$g,e.xY,O.KE,E.Nt,f.Fj,f.Q7,f.JJ,f.oH,O.TO,O.hX,h.gD,s.sg,k.ey,e.H8,L.lW],pipes:[A.X$,s.gd],styles:[""]}),j})()},87842:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>se});var e=d(48966),f=d(93075),g=d(1059),T=d(24850),m=d(36769),A=d(36908),s=d(9315),b=d(5e3),O=d(51062),E=d(79814),h=d(69808),k=d(98380),L=d(67322),V=d(98833),$=d(91079),ue=d(90508),ce=d(20773),Le=d(47423),de=d(29772);function ke(ge,Ne){1&ge&&(b.TgZ(0,"mat-radio-button",12),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ge&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.MOVE_GROUP.NO_GROUP")," "))}function ae(ge,Ne){1&ge&&(b.TgZ(0,"mat-radio-button",13),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ge&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.MOVE_GROUP.TO_GROUP")," "))}function j(ge,Ne){1&ge&&(b.TgZ(0,"app-alert",14),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ge&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.MOVE_GROUP.CANNOT_MOVE")," "))}function H(ge,Ne){if(1&ge){const Fe=b.EpF();b.TgZ(0,"mat-option",20),b.NdJ("click",function(){const ve=b.CHM(Fe).$implicit;return b.oxw(2).selectedGroup=ve}),b.TgZ(1,"span"),b._uU(2),b.qZA(),b.qZA()}if(2&ge){const Fe=Ne.$implicit;b.Q6J("value",Fe),b.xp6(2),b.Oqu(Fe.name)}}function Q(ge,Ne){if(1&ge){const Fe=b.EpF();b.TgZ(0,"mat-form-field",15),b.TgZ(1,"input",16),b.NdJ("change",function(){return b.CHM(Fe),b.oxw().selectedGroup=null}),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"mat-autocomplete",17,18),b.YNc(5,H,3,2,"mat-option",19),b.ALo(6,"async"),b.qZA(),b.qZA()}if(2&ge){const Fe=b.MAs(4),ne=b.oxw();b.Q6J("@openClose","toGroup"===ne.moveOption?"open":"closed"),b.xp6(1),b.s9C("placeholder",b.lcZ(2,6,"DIALOGS.MOVE_GROUP.GROUP_SELECT")),b.Q6J("matAutocomplete",Fe)("formControl",ne.otherGroupsCtrl),b.xp6(2),b.Q6J("displayWith",ne.displayFn),b.xp6(2),b.Q6J("ngForOf",b.lcZ(6,8,ne.filteredGroups))}}function te(ge,Ne){1&ge&&b._UZ(0,"mat-spinner",21)}let se=(()=>{class ge{constructor(Fe,ne,Me,ve,me,Te,ee){this.dialogRef=Fe,this.data=ne,this.groupService=Me,this.notificator=ve,this.translate=me,this.apiRequest=Te,this.authResolver=ee,this.toRootOptionDisabled=!1,this.toGroupOptionDisabled=!1,this.otherGroups=[],this.otherGroupsCtrl=new f.NI(null,[f.kI.required]),this.loading=!1,this.selectedGroup=null,this.translate.get("DIALOGS.MOVE_GROUP.SUCCESS").subscribe(R=>this.successMessage=R),this.translate.get("DIALOGS.MOVE_GROUP.ERROR").subscribe(R=>this.errorMessage=R)}ngOnInit(){this.loading=!0,this.groupService.getAllGroups(this.data.group.voId).subscribe(Fe=>{this.otherGroups=Fe.filter(ne=>ne.id!==this.data.group.id&&"members"!==ne.name&&this.canMove(ne)),0===this.otherGroups.length&&(this.toGroupOptionDisabled=!0),(null===this.data.group.parentGroupId||!this.authResolver.isAuthorized("destination_null-moveGroup_Group_Group_policy",[this.data.group]))&&(this.toRootOptionDisabled=!0,this.moveOption="toGroup"),this.filteredGroups=this.otherGroupsCtrl.valueChanges.pipe((0,g.O)(""),(0,T.U)(ne=>ne?this._filterGroups(ne):this.otherGroups.slice())),this.loading=!1},()=>this.loading=!1)}displayFn(Fe){return Fe&&Fe.name}_filterGroups(Fe){if("object"==typeof Fe)return[];const ne=Fe.toLowerCase();return Fe?this.otherGroups.filter(Me=>Me.name.toLowerCase().indexOf(ne)>-1):this.otherGroups}canMove(Fe){return this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[Fe,this.data.group])&&this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[this.data.group,Fe])}close(){this.dialogRef.close()}confirm(){this.loading=!0,this.apiRequest.dontHandleErrorForNext(),this.groupService.moveGroupWithDestinationGroupMovingGroup(this.data.group.id,this.otherGroupsCtrl.value?this.otherGroupsCtrl.value.id:void 0).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},Fe=>{this.notificator.showRPCError(Fe,this.errorMessage),this.dialogRef.close(!1)})}}return ge.\u0275fac=function(Fe){return new(Fe||ge)(b.Y36(e.so),b.Y36(e.WI),b.Y36(s.ff),b.Y36(A.V6),b.Y36(O.sK),b.Y36(A.F5),b.Y36(A.x4))},ge.\u0275cmp=b.Xpm({type:ge,selectors:[["app-move-group-dialog"]],decls:23,vars:28,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"ngModel","ngModelChange"],["color","primary","value","toRoot","class","move-options",4,"ngIf"],["value","toGroup","color","primary",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","w-100 mt-2",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["color","primary","value","toRoot",1,"move-options"],["value","toGroup","color","primary"],["alert_type","warn"],[1,"w-100","mt-2"],["matInput","","required","",3,"placeholder","matAutocomplete","formControl","change"],[3,"displayWith"],["groupSelectAutocomplete","matAutocomplete"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"],[1,"ml-auto","mr-auto"]],template:function(Fe,ne){1&Fe&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"div",1),b.TgZ(5,"p"),b._uU(6),b.ALo(7,"translate"),b.qZA(),b.TgZ(8,"mat-radio-group",2),b.NdJ("ngModelChange",function(ve){return ne.moveOption=ve}),b.YNc(9,ke,3,3,"mat-radio-button",3),b.YNc(10,ae,3,3,"mat-radio-button",4),b.qZA(),b.YNc(11,j,3,3,"app-alert",5),b.YNc(12,Q,7,10,"mat-form-field",6),b.qZA(),b.YNc(13,te,1,0,"mat-spinner",7),b.TgZ(14,"div",8),b.TgZ(15,"button",9),b.NdJ("click",function(){return ne.close()}),b._uU(16),b.ALo(17,"translate"),b.qZA(),b.TgZ(18,"span",10),b.ALo(19,"translate"),b.TgZ(20,"button",11),b.NdJ("click",function(){return ne.confirm()}),b._uU(21),b.ALo(22,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA()),2&Fe&&(b.Tol(ne.data.theme),b.xp6(2),b.AsE("",b.lcZ(3,18,"DIALOGS.MOVE_GROUP.TITLE"),"",ne.data.group.name,""),b.xp6(4),b.hij(" ",b.lcZ(7,20,"DIALOGS.MOVE_GROUP.INFO")," "),b.xp6(2),b.Q6J("ngModel",ne.moveOption),b.xp6(1),b.Q6J("ngIf",!ne.toRootOptionDisabled),b.xp6(1),b.Q6J("ngIf",!ne.toGroupOptionDisabled),b.xp6(1),b.Q6J("ngIf",ne.toRootOptionDisabled&&ne.toGroupOptionDisabled),b.xp6(1),b.Q6J("ngIf",!ne.toGroupOptionDisabled),b.xp6(1),b.Q6J("ngIf",ne.loading),b.xp6(3),b.hij(" ",b.lcZ(17,22,"DIALOGS.MOVE_GROUP.CANCEL")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(19,24,"DIALOGS.MOVE_GROUP.DISABLED_HINT")),b.Q6J("matTooltipPosition","above")("matTooltipDisabled",null!==ne.selectedGroup||"toRoot"===ne.moveOption),b.xp6(2),b.Q6J("disabled",(ne.otherGroupsCtrl.invalid||null===ne.selectedGroup)&&"toRoot"!==ne.moveOption||ne.loading),b.xp6(1),b.hij(" ",b.lcZ(22,26,"DIALOGS.MOVE_GROUP.CONFIRM")," "))},directives:[e.uh,e.xY,E.VQ,f.JJ,f.On,h.O5,E.U0,k.w,L.KE,V.Nt,$.ZL,f.Fj,f.Q7,f.oH,$.XC,h.sg,ue.ey,ce.$g,e.H8,Le.lW,de.gM],pipes:[O.X$,h.Ov],styles:[".move-options[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}"],data:{animation:[m.BQ]}}),ge})()},58964:(Ke,be,d)=>{"use strict";d.d(be,{m:()=>ce});var e=d(48966),f=d(9315),g=d(36908),T=d(5e3),m=d(51062),A=d(69808),s=d(20773),b=d(67322),O=d(74107),E=d(90508),h=d(47423);function k(Le,de){1&Le&&T._UZ(0,"mat-spinner",7)}function L(Le,de){if(1&Le&&(T.TgZ(0,"mat-option",13),T._uU(1),T.qZA()),2&Le){const ke=de.$implicit;T.Q6J("value",ke),T.xp6(1),T.hij(" ",ke.friendlyNameParameter," ")}}function V(Le,de){if(1&Le&&(T.TgZ(0,"mat-option",13),T._uU(1),T.ALo(2,"translate"),T.ALo(3,"uppercase"),T.qZA()),2&Le){const ke=de.$implicit;T.Q6J("value",ke),T.xp6(1),T.hij(" ",T.lcZ(2,2,T.lcZ(3,4,"SHARED_LIB.LANGUAGES."+ke))," ")}}function $(Le,de){if(1&Le&&(T.TgZ(0,"mat-option",13),T._uU(1),T.qZA()),2&Le){const ke=de.$implicit;T.Q6J("value",ke),T.xp6(1),T.hij(" ",ke," ")}}function ue(Le,de){if(1&Le){const ke=T.EpF();T.TgZ(0,"div",8),T.TgZ(1,"mat-form-field"),T.TgZ(2,"mat-label"),T._uU(3),T.ALo(4,"translate"),T.qZA(),T.TgZ(5,"mat-select",9),T.NdJ("valueChange",function(j){return T.CHM(ke),T.oxw().selectedLogin=j}),T.YNc(6,L,2,2,"mat-option",10),T.qZA(),T.qZA(),T.TgZ(7,"mat-form-field"),T.TgZ(8,"mat-label"),T._uU(9),T.ALo(10,"translate"),T.qZA(),T.TgZ(11,"mat-select",9),T.NdJ("valueChange",function(j){return T.CHM(ke),T.oxw().selectedLang=j}),T.YNc(12,V,4,6,"mat-option",10),T.qZA(),T.qZA(),T.TgZ(13,"mat-form-field"),T.TgZ(14,"mat-label"),T._uU(15),T.ALo(16,"translate"),T.qZA(),T.TgZ(17,"mat-select",9),T.NdJ("valueChange",function(j){return T.CHM(ke),T.oxw().selectedMail=j}),T.YNc(18,$,2,2,"mat-option",10),T.qZA(),T.qZA(),T.TgZ(19,"div",11),T.TgZ(20,"p",12),T._uU(21),T.ALo(22,"translate"),T.qZA(),T.TgZ(23,"p"),T._uU(24),T.qZA(),T.qZA(),T.qZA()}if(2&Le){const ke=T.oxw();T.xp6(3),T.Oqu(T.lcZ(4,11,"DIALOGS.PASSWORD_RESET_REQUEST.NAMESPACE")),T.xp6(2),T.Q6J("value",ke.selectedLogin),T.xp6(1),T.Q6J("ngForOf",ke.logins),T.xp6(3),T.Oqu(T.lcZ(10,13,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),T.xp6(2),T.Q6J("value",ke.selectedLang),T.xp6(1),T.Q6J("ngForOf",ke.languages),T.xp6(3),T.Oqu(T.lcZ(16,15,"DIALOGS.PASSWORD_RESET_REQUEST.EMAIL")),T.xp6(2),T.Q6J("value",ke.selectedMail),T.xp6(1),T.Q6J("ngForOf",ke.mails),T.xp6(3),T.Oqu(T.lcZ(22,17,"DIALOGS.PASSWORD_RESET_REQUEST.LOGIN")),T.xp6(3),T.Oqu(ke.selectedLogin.value)}}let ce=(()=>{class Le{constructor(ke,ae,j,H,Q,te,se){this.dialogRef=ke,this.data=ae,this.membersManagerService=j,this.attributesManagerService=H,this.store=Q,this.translate=te,this.notificator=se,this.languages=this.store.get("supported_languages"),this.selectedLang="en",this.pwdMails=new Map,this.logins=[],this.selectedMail="user:preferredMail",this.mails=[],te.get("DIALOGS.PASSWORD_RESET_REQUEST.SUCCESS").subscribe(ge=>this.successMessage=ge)}ngOnInit(){this.getMailAttributes(),this.logins=this.data.logins,this.selectedLogin=this.logins[0]}getMailAttributes(){this.pwdMails.set("user:preferredMail","urn:perun:user:attribute-def:def:preferredMail"),this.pwdMails.set("member:mail","urn:perun:member:attribute-def:def:mail"),this.mails=Array.from(this.pwdMails.keys()),this.selectedMail="user:preferredMail"}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0;const ke=this.selectedLogin.friendlyNameParameter,j=window.location.href.split("/"),H=j[0]+"//"+j[2];this.membersManagerService.sendPasswordResetLinkEmail(this.data.memberId,ke,this.pwdMails.get(this.selectedMail),this.selectedLang,H).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close()},()=>this.loading=!1)}}return Le.\u0275fac=function(ke){return new(ke||Le)(T.Y36(e.so),T.Y36(e.WI),T.Y36(f.uq),T.Y36(f.H8),T.Y36(g.d6),T.Y36(m.sK),T.Y36(g.V6))},Le.\u0275cmp=T.Xpm({type:Le,selectors:[["app-password-reset-request-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],[1,"member-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container member-theme","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container","member-theme"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"row"],[1,"column-size","ml-3"],[3,"value"]],template:function(ke,ae){1&ke&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"div",1),T.YNc(4,k,1,0,"mat-spinner",2),T.qZA(),T.YNc(5,ue,25,19,"div",3),T.TgZ(6,"div",4),T.TgZ(7,"button",5),T.NdJ("click",function(){return ae.onCancel()}),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.TgZ(10,"button",6),T.NdJ("click",function(){return ae.onSubmit()}),T._uU(11),T.ALo(12,"translate"),T.qZA(),T.qZA()),2&ke&&(T.xp6(1),T.Oqu(T.lcZ(2,6,"DIALOGS.PASSWORD_RESET_REQUEST.TITLE")),T.xp6(3),T.Q6J("ngIf",ae.loading),T.xp6(1),T.Q6J("ngIf",!ae.loading),T.xp6(3),T.hij(" ",T.lcZ(9,8,"DIALOGS.PASSWORD_RESET_REQUEST.CANCEL")," "),T.xp6(2),T.Q6J("disabled",ae.loading),T.xp6(1),T.hij(" ",T.lcZ(12,10,"DIALOGS.PASSWORD_RESET_REQUEST.SEND")," "))},directives:[e.uh,A.O5,s.$g,e.xY,b.KE,b.hX,O.gD,A.sg,E.ey,e.H8,h.lW],pipes:[m.X$,A.gd],styles:[".column-size[_ngcontent-%COMP%]{width:8rem}"]}),Le})()},53455:(Ke,be,d)=>{"use strict";d.d(be,{X:()=>ke});var e=d(48966),f=d(32075),g=d(36908),T=d(9315),m=d(5e3),A=d(51062),s=d(69808),b=d(20773),O=d(47423),E=d(31359);function h(ae,j){1&ae&&m._UZ(0,"th",13)}function k(ae,j){if(1&ae&&(m.TgZ(0,"td",14),m._uU(1),m.qZA()),2&ae){const H=j.$implicit;m.xp6(1),m.Oqu(H.id)}}function L(ae,j){1&ae&&m._UZ(0,"th",13)}function V(ae,j){if(1&ae&&(m.TgZ(0,"td",14),m._uU(1),m.ALo(2,"userFullName"),m.qZA()),2&ae){const H=j.$implicit;m.xp6(1),m.Oqu(m.lcZ(2,1,H.user))}}function $(ae,j){1&ae&&m._UZ(0,"tr",15)}function ue(ae,j){1&ae&&m._UZ(0,"tr",16)}function ce(ae,j){if(1&ae&&(m.TgZ(0,"div",4),m.TgZ(1,"p"),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"div",5),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.TgZ(7,"table",6),m.ynx(8,7),m.YNc(9,h,1,0,"th",8),m.YNc(10,k,2,1,"td",9),m.BQk(),m.ynx(11,10),m.YNc(12,L,1,0,"th",8),m.YNc(13,V,3,3,"td",9),m.BQk(),m.YNc(14,$,1,0,"tr",11),m.YNc(15,ue,1,0,"tr",12),m.qZA(),m.qZA()),2&ae){const H=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,5,H.data.groupId?"DIALOGS.REMOVE_MEMBERS.DESCRIPTION_GROUP":"DIALOGS.REMOVE_MEMBERS.DESCRIPTION")," "),m.xp6(3),m.hij(" ",m.lcZ(6,7,"DIALOGS.REMOVE_MEMBERS.ASK")," "),m.xp6(2),m.Q6J("dataSource",H.dataSource),m.xp6(7),m.Q6J("matHeaderRowDef",H.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",H.displayedColumns)}}function Le(ae,j){1&ae&&m._UZ(0,"mat-spinner",17)}function de(ae,j){if(1&ae){const H=m.EpF();m.TgZ(0,"div",18),m.TgZ(1,"button",19),m.NdJ("click",function(){return m.CHM(H),m.oxw().onCancel()}),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"button",20),m.NdJ("click",function(){return m.CHM(H),m.oxw().onSubmit()}),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.qZA()}if(2&ae){const H=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,2,"DIALOGS.REMOVE_MEMBERS.CANCEL")," "),m.xp6(3),m.hij(" ",m.lcZ(6,4,H.data.groupId?"DIALOGS.REMOVE_MEMBERS.REMOVE_GROUP":"DIALOGS.REMOVE_MEMBERS.REMOVE")," ")}}let ke=(()=>{class ae{constructor(H,Q,te,se,ge,Ne){this.dialogRef=H,this.data=Q,this.membersService=te,this.groupService=se,this.notificator=ge,this.translate=Ne,this.displayedColumns=["id","name"]}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.members)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.groupId?this.groupService.removeMembers(this.data.groupId,this.data.members.map(H=>H.id)).subscribe(()=>this.onSuccess(),()=>this.onError()):this.membersService.deleteMembers(this.data.members.map(H=>H.id)).subscribe(()=>this.onSuccess(),()=>this.onError())}onSuccess(){const H=this.translate.instant(this.data.groupId?"DIALOGS.REMOVE_MEMBERS.SUCCESS_GROUP":"DIALOGS.REMOVE_MEMBERS.SUCCESS");this.notificator.showSuccess(H),this.dialogRef.close(!0),this.loading=!1}onError(){this.loading=!1}}return ae.\u0275fac=function(H){return new(H||ae)(m.Y36(e.so),m.Y36(e.WI),m.Y36(T.uq),m.Y36(T.ff),m.Y36(g.V6),m.Y36(A.sK))},ae.\u0275cmp=m.Xpm({type:ae,selectors:[["app-remove-members-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],[1,"mr-auto","ml-auto"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","remove-members-dialog",1,"ml-2",3,"click"]],template:function(H,Q){1&H&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,ce,16,9,"div",1),m.YNc(5,Le,1,0,"mat-spinner",2),m.YNc(6,de,7,6,"div",3),m.qZA()),2&H&&(m.Tol(Q.theme),m.xp6(2),m.Oqu(m.lcZ(3,7,"DIALOGS.REMOVE_MEMBERS.TITLE")),m.xp6(2),m.Q6J("ngIf",!Q.loading),m.xp6(1),m.Q6J("ngIf",Q.loading),m.xp6(1),m.Q6J("ngIf",!Q.loading))},directives:[e.uh,s.O5,e.xY,f.BZ,f.w1,f.fO,f.ge,f.Dz,f.ev,f.as,f.XQ,f.nj,f.Gk,b.$g,e.H8,O.lW],pipes:[A.X$,E.d],styles:[""]}),ae})()},533:(Ke,be,d)=>{"use strict";d.d(be,{f:()=>b});var e=d(48966),f=d(32075),g=d(36908),T=d(9315),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class O{constructor(h,k,L,V,$){this.dialogRef=h,this.data=k,this.notificator=L,this.translate=V,this.resourcesManager=$,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.resources)}onCancel(){this.dialogRef.close(!1)}onDelete(){this.loading=!0,0===this.data.resources.length?this.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(h=>{this.loading=!1,this.notificator.showSuccess(h),this.dialogRef.close(!0)}):this.resourcesManager.deleteResource(this.data.resources[0].id).subscribe(()=>{this.data.resources.shift(),this.onDelete()},()=>{this.dialogRef.close(!0)})}onSubmit(h){h.deleted?this.onDelete():this.onCancel()}}return O.\u0275fac=function(h){return new(h||O)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.V6),m.Y36(A.sK),m.Y36(T.xk))},O.\u0275cmp=m.Xpm({type:O,selectors:[["app-remove-resource-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","disableForce","loading","deleted"]],template:function(h,k){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(V){return k.onSubmit(V)}),m.qZA(),m.qZA()),2&h&&(m.Tol(k.theme),m.xp6(1),m.Q6J("entityNames",k.dataSource)("entityType","resources")("disableForce",!0)("loading",k.loading))},directives:[s.e],styles:[""]}),O})()},11717:(Ke,be,d)=>{"use strict";d.d(be,{o:()=>b});var e=d(48966),f=d(32075),g=d(36908),T=d(9315),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class O{constructor(h,k,L,V,$){this.dialogRef=h,this.data=k,this.notificator=L,this.voService=V,this.translate=$,this.force=!1,this.displayedColumns=["name"],this.relations=[],$.get("DIALOGS.REMOVE_VO.SUCCESS").subscribe(ue=>this.successMessage=ue)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.vos),this.relations.push(this.translate.instant("DIALOGS.REMOVE_VO.GROUP_RELATION")),this.relations.push(this.translate.instant("DIALOGS.REMOVE_VO.MEMBER_RELATION")),this.relations.push(this.translate.instant("DIALOGS.REMOVE_VO.RESOURCE_RELATION"))}onCancel(){this.dialogRef.close(!1)}onDelete(){this.loading=!0,this.voService.deleteVo(this.data.vos[0].id,this.force).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}onSubmit(h){this.force=h.force,h.deleted?this.onDelete():this.onCancel()}}return O.\u0275fac=function(h){return new(h||O)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.V6),m.Y36(T.YF),m.Y36(A.sK))},O.\u0275cmp=m.Xpm({type:O,selectors:[["app-remove-vo-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","relations","loading","deleted"]],template:function(h,k){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(V){return k.onSubmit(V)}),m.qZA(),m.qZA()),2&h&&(m.Tol(k.theme),m.xp6(1),m.Q6J("entityNames",k.dataSource)("entityType","organizations")("relations",k.relations)("loading",k.loading))},directives:[s.e],styles:[".foo[_ngcontent-%COMP%]{margin-top:20px}"]}),O})()},1186:(Ke,be,d)=>{"use strict";d.d(be,{E:()=>ue});var e=d(48966),f=d(9315),g=d(5e3),T=d(69808),m=d(20773),A=d(67322),s=d(98833),b=d(93075),O=d(74107),E=d(90508),h=d(47423),k=d(51062);function L(ce,Le){1&ce&&g._UZ(0,"mat-spinner",6)}function V(ce,Le){if(1&ce){const de=g.EpF();g.TgZ(0,"div"),g.TgZ(1,"mat-form-field",9),g.TgZ(2,"mat-select",10),g.NdJ("valueChange",function(ae){return g.CHM(de),g.oxw(2).embeddedState=ae}),g.ALo(3,"translate"),g.TgZ(4,"mat-option",11),g._uU(5),g.ALo(6,"translate"),g.qZA(),g.TgZ(7,"mat-option",12),g._uU(8),g.ALo(9,"translate"),g.qZA(),g.qZA(),g.qZA(),g.qZA()}if(2&ce){const de=g.oxw(2);g.xp6(2),g.MGl("placeholder","",g.lcZ(3,4,"DIALOGS.UPDATE_APPLICATION_FORM.EMBEDDED"),":"),g.Q6J("value",de.embeddedState),g.xp6(3),g.Oqu(g.lcZ(6,6,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),g.xp6(3),g.Oqu(g.lcZ(9,8,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL"))}}function $(ce,Le){if(1&ce){const de=g.EpF();g.TgZ(0,"div",7),g.TgZ(1,"mat-form-field"),g.TgZ(2,"input",8),g.NdJ("ngModelChange",function(ae){return g.CHM(de),g.oxw().moduleName=ae}),g.ALo(3,"translate"),g.qZA(),g.qZA(),g.TgZ(4,"mat-form-field",9),g.TgZ(5,"mat-select",10),g.NdJ("valueChange",function(ae){return g.CHM(de),g.oxw().initialState=ae}),g.ALo(6,"translate"),g.TgZ(7,"mat-option",11),g._uU(8),g.ALo(9,"translate"),g.qZA(),g.TgZ(10,"mat-option",12),g._uU(11),g.ALo(12,"translate"),g.qZA(),g.qZA(),g.qZA(),g.TgZ(13,"mat-form-field",9),g.TgZ(14,"mat-select",10),g.NdJ("valueChange",function(ae){return g.CHM(de),g.oxw().extensionState=ae}),g.ALo(15,"translate"),g.TgZ(16,"mat-option",11),g._uU(17),g.ALo(18,"translate"),g.qZA(),g.TgZ(19,"mat-option",12),g._uU(20),g.ALo(21,"translate"),g.qZA(),g.qZA(),g.qZA(),g.YNc(22,V,10,10,"div",13),g.qZA()}if(2&ce){const de=g.oxw();g.xp6(2),g.s9C("placeholder",g.lcZ(3,11,"DIALOGS.UPDATE_APPLICATION_FORM.MODULE_NAME")),g.Q6J("ngModel",de.moduleName),g.xp6(3),g.MGl("placeholder","",g.lcZ(6,13,"DIALOGS.UPDATE_APPLICATION_FORM.INITIAL"),":"),g.Q6J("value",de.initialState),g.xp6(3),g.Oqu(g.lcZ(9,15,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),g.xp6(3),g.Oqu(g.lcZ(12,17,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),g.xp6(3),g.MGl("placeholder","",g.lcZ(15,19,"DIALOGS.UPDATE_APPLICATION_FORM.EXTENSION"),":"),g.Q6J("value",de.extensionState),g.xp6(3),g.Oqu(g.lcZ(18,21,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),g.xp6(3),g.Oqu(g.lcZ(21,23,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),g.xp6(2),g.Q6J("ngIf","group"===de.entity&&de.autoRegistrationEnabled)}}let ue=(()=>{class ce{constructor(de,ke,ae){this.dialogRef=de,this.data=ke,this.registrarManager=ae,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.applicationForm=this.data.applicationForm,this.moduleName=this.applicationForm.moduleClassName,this.initialState=this.applicationForm.automaticApproval?"auto":"manual",this.extensionState=this.applicationForm.automaticApprovalExtension?"auto":"manual",this.embeddedState=this.applicationForm.automaticApprovalEmbedded?"auto":"manual",this.entity=this.data.entity,this.autoRegistrationEnabled=this.data.autoRegistrationEnabled}onCancel(){this.dialogRef.close()}submit(){this.loading=!0,this.applicationForm.moduleClassName=this.moduleName,this.applicationForm.automaticApproval="auto"===this.initialState,this.applicationForm.automaticApprovalExtension="auto"===this.extensionState,this.applicationForm.automaticApprovalEmbedded="auto"===this.embeddedState,this.registrarManager.updateForm({form:this.applicationForm}).subscribe(de=>{this.dialogRef.close(de)},()=>this.loading=!1)}}return ce.\u0275fac=function(de){return new(de||ce)(g.Y36(e.so),g.Y36(e.WI),g.Y36(f.tk))},ce.\u0275cmp=g.Xpm({type:ce,selectors:[["app-update-application-form-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"ngModel","placeholder","ngModelChange"],[1,"w-100"],["disableOptionCentering","",3,"value","placeholder","valueChange"],["value","auto"],["value","manual"],[4,"ngIf"]],template:function(de,ke){1&de&&(g.TgZ(0,"div"),g.TgZ(1,"h1",0),g._uU(2),g.ALo(3,"translate"),g.qZA(),g.YNc(4,L,1,0,"mat-spinner",1),g.YNc(5,$,23,25,"div",2),g.TgZ(6,"div",3),g.TgZ(7,"button",4),g.NdJ("click",function(){return ke.onCancel()}),g._uU(8),g.ALo(9,"translate"),g.qZA(),g.TgZ(10,"button",5),g.NdJ("click",function(){return ke.submit()}),g._uU(11),g.ALo(12,"translate"),g.qZA(),g.qZA(),g.qZA()),2&de&&(g.Tol(ke.theme),g.xp6(2),g.Oqu(g.lcZ(3,9,"DIALOGS.UPDATE_APPLICATION_FORM.TITLE")),g.xp6(2),g.Q6J("ngIf",ke.loading),g.xp6(1),g.Q6J("ngIf",!ke.loading),g.xp6(3),g.hij(" ",g.lcZ(9,11,"DIALOGS.UPDATE_APPLICATION_FORM.CANCEL_BUTTON")," "),g.xp6(2),g.Q6J("disabled",ke.loading),g.xp6(1),g.hij(" ",g.lcZ(12,13,"DIALOGS.UPDATE_APPLICATION_FORM.SUBMIT_BUTTON")," "))},directives:[e.uh,T.O5,m.$g,e.xY,A.KE,s.Nt,b.Fj,b.JJ,b.On,O.gD,E.ey,e.H8,h.lW],pipes:[k.X$],styles:[""]}),ce})()},57706:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>g});var e=d(5e3),f=d(51062);let g=(()=>{class T{constructor(A){this.translateService=A,this.returnData=""}transform(A){switch(A){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HEADER").subscribe(s=>{this.returnData=s});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HTML_COMMENT").subscribe(s=>{this.returnData=s});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTFIELD").subscribe(s=>{this.returnData=s});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.VALIDATED_EMAIL").subscribe(s=>{this.returnData=s});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.USERNAME").subscribe(s=>{this.returnData=s});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.PASSWORD").subscribe(s=>{this.returnData=s});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SELECTIONBOX").subscribe(s=>{this.returnData=s});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTAREA").subscribe(s=>{this.returnData=s});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.COMBOBOX").subscribe(s=>{this.returnData=s});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.CHECKBOX").subscribe(s=>{this.returnData=s});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SUBMIT_BUTTON").subscribe(s=>{this.returnData=s});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.RADIO").subscribe(s=>{this.returnData=s});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TIMEZONE").subscribe(s=>{this.returnData=s});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.AUTO_SUBMIT_BUTTON").subscribe(s=>{this.returnData=s});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.EMBEDDED_GROUP_APPLICATION").subscribe(s=>{this.returnData=s});break;default:return A}return this.returnData}}return T.\u0275fac=function(A){return new(A||T)(e.Y36(f.sK,16))},T.\u0275pipe=e.Yjl({name:"applicationFormItemType",type:T,pure:!0}),T})()},43157:(Ke,be,d)=>{"use strict";d.d(be,{h:()=>g});var e=d(5e3),f=d(51062);let g=(()=>{class T{constructor(A){this.translate=A,this.returnData=""}transform(A){switch(A){case"APPROVED":this.translate.get("VO_DETAIL.APPLICATION.STATE.APPROVED").subscribe(s=>{this.returnData=`done${s}`});break;case"REJECTED":this.translate.get("VO_DETAIL.APPLICATION.STATE.REJECTED").subscribe(s=>{this.returnData=`clear${s}`});break;case"NEW":this.translate.get("VO_DETAIL.APPLICATION.STATE.NEW").subscribe(s=>{this.returnData=`contact_mail ${s}`});break;case"VERIFIED":this.translate.get("VO_DETAIL.APPLICATION.STATE.VERIFIED").subscribe(s=>{this.returnData=`gavel${s}`});break;default:this.returnData=A}return this.returnData}}return T.\u0275fac=function(A){return new(A||T)(e.Y36(f.sK,16))},T.\u0275pipe=e.Yjl({name:"applicationState",type:T,pure:!1}),T})()},37677:(Ke,be,d)=>{"use strict";d.d(be,{A:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){return m.substring(40)}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"extSourceType",type:g,pure:!0}),g})()},14264:(Ke,be,d)=>{"use strict";d.d(be,{m:()=>Z});var e=d(69808),f=d(30325),g=d(91079),T=d(47423),m=d(77446),A=d(90508),s=d(86856),b=d(48966),O=d(4834),E=d(81125),h=d(67322),k=d(25245),L=d(98833),V=d(86087),$=d(85899),ue=d(20773),ce=d(79814),Le=d(74107),de=d(2638),ke=d(32368),ae=d(57261),j=d(84847),H=d(32075),Q=d(53251),te=d(29772),se=d(90149),ge=d(9224),Ne=d(27544),Fe=d(26688),ne=d(92181),Me=d(92081),ve=d(93075),me=d(73228),Te=d(36769),ee=d(36908),R=d(5e3),Oe=d(50301),Ie=d(51062);const He=["collapse"],fe=function(){return{color:"linkTextColor"}};function Ce(G,X){1&G&&(R.TgZ(0,"mat-icon",14),R._uU(1,"keyboard_arrow_right"),R.qZA()),2&G&&R.Q6J("ngStyle",R.DdM(1,fe))}function Ve(G,X){1&G&&(R.TgZ(0,"mat-icon",14),R._uU(1,"keyboard_arrow_down"),R.qZA()),2&G&&R.Q6J("ngStyle",R.DdM(1,fe))}function Xe(G,X){if(1&G&&(R.TgZ(0,"span",12),R.YNc(1,Ce,2,2,"mat-icon",13),R.YNc(2,Ve,2,2,"mat-icon",13),R.qZA()),2&G){const _e=R.oxw().$implicit,Ue=R.oxw(2);R.xp6(1),R.Q6J("ngIf",!Ue.isActive(Ue.currentUrl,_e.showChildrenRegex)),R.xp6(1),R.Q6J("ngIf",Ue.isActive(Ue.currentUrl,_e.showChildrenRegex))}}const tt=function(G,X){return{color:G,"border-color":X}};function rt(G,X){if(1&G){const _e=R.EpF();R.TgZ(0,"a",17),R.NdJ("click",function(){const Ut=R.CHM(_e).$implicit;return R.oxw(4).navigate(Ut.url)}),R._uU(1),R.ALo(2,"translate"),R.qZA()}if(2&G){const _e=X.$implicit,Ue=R.oxw(4);R.ekj("activated",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0===Ue.item.activatedClass),R.Q6J("perunWebAppsMiddleClickRouterLink",_e.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0!==Ue.item.activatedClass?Ue.item.activatedClass:"")("ngStyle",R.WLB(9,tt,Ue.linkTextColor,Ue.linkTextColor)),R.xp6(1),R.hij(" ",R.lcZ(2,7,_e.label)," ")}}function N(G,X){if(1&G&&(R.TgZ(0,"div",15),R.YNc(1,rt,3,12,"a",16),R.qZA()),2&G){const _e=R.oxw().$implicit;R.Q6J("@rollInOut",void 0),R.xp6(1),R.Q6J("ngForOf",null==_e?null:_e.children)}}function he(G,X){if(1&G){const _e=R.EpF();R.TgZ(0,"div"),R.TgZ(1,"a",9),R.NdJ("click",function(){const Ut=R.CHM(_e).$implicit;return R.oxw(2).navigate(Ut.url)}),R._uU(2),R.ALo(3,"translate"),R.YNc(4,Xe,3,2,"span",10),R.qZA(),R.YNc(5,N,2,2,"div",11),R.qZA()}if(2&G){const _e=X.$implicit,Ue=R.oxw(2);R.xp6(1),R.ekj("activated",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0===Ue.item.activatedClass),R.Q6J("perunWebAppsMiddleClickRouterLink",_e.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0!==Ue.item.activatedClass?Ue.item.activatedClass:"")("ngStyle",R.WLB(11,tt,Ue.linkTextColor,Ue.linkTextColor)),R.xp6(1),R.hij(" ",R.lcZ(3,9,_e.label)," "),R.xp6(2),R.Q6J("ngIf",_e.children),R.xp6(1),R.Q6J("ngIf",Ue.isActive(Ue.currentUrl,_e.showChildrenRegex))}}function D(G,X){if(1&G&&(R.TgZ(0,"div"),R.YNc(1,he,6,14,"div",8),R.qZA()),2&G){const _e=R.oxw();R.Q6J("@rollInOut",void 0),R.xp6(1),R.Q6J("ngForOf",_e.item.links)}}const S=function(G,X){return{background:G,"border-top":X}},I=function(G){return{color:G}},P=function(){return{color:"currentColor"}},i=function(G){return{background:G}};let r=(()=>{class G{constructor(_e,Ue){this.router=_e,this.store=Ue,this.expanded=!0,this.linkBgColor=this.store.get("theme","sidemenu_item_links_bg_color"),this.linkTextColor=this.store.get("theme","sidemenu_item_links_text_color"),this.dividerStyle="1px solid "+this.store.get("theme","sidemenu_divider_color"),this.currentUrl=_e.url,_e.events.subscribe(wt=>{wt instanceof f.m2&&(this.currentUrl=wt.url)})}toggle(){void 0!==this.item.baseLink&&this.navigate(this.item.baseLink)}isActive(_e,Ue){return new RegExp(Ue).test(_e)}navigate(_e){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(_e)):this.router.navigate(_e)}}return G.\u0275fac=function(_e){return new(_e||G)(R.Y36(f.F0),R.Y36(ee.d6))},G.\u0275cmp=R.Xpm({type:G,selectors:[["app-side-menu-item"]],viewQuery:function(_e,Ue){if(1&_e&&R.Gf(He,5),2&_e){let wt;R.iGM(wt=R.CRH())&&(Ue.collapseDiv=wt.first)}},inputs:{item:"item",index:"index",showLinks:"showLinks",sideNav:"sideNav"},decls:12,vars:26,consts:[[1,"entity-menu-item"],["matRipple","",1,"entity-menu-item-header",3,"matRippleColor","ngStyle","click"],["matRipple","",3,"perunWebAppsMiddleClickRouterLink"],[1,"entity-menu-item-label",3,"ngStyle"],[1,"perun-icon",3,"ngStyle","svgIcon"],[1,"ml-3"],[3,"ngStyle"],[4,"ngIf"],[4,"ngFor","ngForOf"],["matRipple","",1,"clickable","d-flex",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngClass","ngStyle","click"],["class","ml-auto",4,"ngIf"],["class","entity-menu-item-sub-menu",4,"ngIf"],[1,"ml-auto"],["class","perun-icon icon-beak",3,"ngStyle",4,"ngIf"],[1,"perun-icon","icon-beak",3,"ngStyle"],[1,"entity-menu-item-sub-menu"],["class","entity-menu-item-sub-menu-item clickable","matRipple","",3,"perunWebAppsMiddleClickRouterLink","activated","matRippleColor","ngClass","ngStyle","click",4,"ngFor","ngForOf"],["matRipple","",1,"entity-menu-item-sub-menu-item","clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngClass","ngStyle","click"]],template:function(_e,Ue){1&_e&&(R.TgZ(0,"div",0),R.TgZ(1,"div",1),R.NdJ("click",function(){return Ue.toggle()}),R.TgZ(2,"div",2),R.TgZ(3,"a",3),R.TgZ(4,"div"),R._UZ(5,"mat-icon",4),R.qZA(),R.TgZ(6,"div",5),R._uU(7),R.ALo(8,"translate"),R.qZA(),R.qZA(),R.qZA(),R.qZA(),R.TgZ(9,"div"),R.TgZ(10,"div",6),R.YNc(11,D,2,2,"div",7),R.qZA(),R.qZA(),R.qZA()),2&_e&&(R.xp6(1),R.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",R.WLB(18,S,Ue.item.backgroundColorCss,Ue.index?Ue.dividerStyle:"none")),R.xp6(1),R.Gre("entity-menu-item-link ",Ue.item.labelClass,""),R.Q6J("perunWebAppsMiddleClickRouterLink",Ue.item.baseLink),R.xp6(1),R.Q6J("ngStyle",R.VKq(21,I,Ue.item.textColorCss)),R.xp6(2),R.Q6J("ngStyle",R.DdM(23,P))("svgIcon",Ue.item.icon),R.xp6(2),R.Oqu(R.lcZ(8,16,Ue.item.label)),R.xp6(2),R.Q6J("@openClose",Ue.expanded?"open":"closed"),R.xp6(1),R.Gre("side-entity-menu ",Ue.item.linksClass,""),R.Q6J("ngStyle",R.VKq(24,i,Ue.linkBgColor)),R.xp6(1),R.Q6J("ngIf",Ue.showLinks))},directives:[A.wG,e.PC,Oe.YH,k.Hw,e.O5,e.sg,e.mk],pipes:[Ie.X$],styles:[".entity-menu-item[_ngcontent-%COMP%]{width:300px}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:var(--side-link-hover)!important}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:5px 8px 5px 40px;text-decoration:none;color:#fff;font-size:1rem;display:block}.activated[_ngcontent-%COMP%]{color:#313131!important;border-right:5px solid #313131}.entity-menu-item-header[_ngcontent-%COMP%]{padding:8px 5px 8px 25px;cursor:pointer;-moz-user-select:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent}.entity-menu-item-label[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;word-break:break-word}.entity-menu-item-label[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-link[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;color:#fff}.entity-menu-item-link[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-icon[_ngcontent-%COMP%]{height:2rem}.entity-menu-item-sub-menu[_ngcontent-%COMP%]{overflow:hidden}.entity-menu-item-sub-menu-item[_ngcontent-%COMP%]{padding-left:4rem!important}"],data:{animation:[Te.BQ,Te.Ly]}}),G})(),p=(()=>{class G{transform(_e){if(void 0===_e.value)return"";switch(_e.type){case"java.lang.String":default:return _e.value;case"java.lang.Integer":case"java.lang.Boolean":return _e.value.toString();case"java.util.ArrayList":return this.whenValueIsArray(_e.value);case"java.util.LinkedHashMap":return this.whenValueIsMap(_e.value)}}whenValueIsArray(_e){let Ue="";return _e.forEach(function(wt){Ue=Ue.concat(wt+", ")}),Ue}whenValueIsMap(_e){let Ue="";return _e.forEach((wt,Ut)=>{Ue=Ue.concat(Ut+": "+wt+", ")}),Ue}}return G.\u0275fac=function(_e){return new(_e||G)},G.\u0275pipe=R.Yjl({name:"anyToString",type:G,pure:!0}),G})();const o=["collapse"],t=function(){return{color:"linkTextColor"}};function n(G,X){1&G&&(R.TgZ(0,"mat-icon",12),R._uU(1,"keyboard_arrow_right"),R.qZA()),2&G&&R.Q6J("ngStyle",R.DdM(1,t))}function c(G,X){1&G&&(R.TgZ(0,"mat-icon",12),R._uU(1,"keyboard_arrow_down"),R.qZA()),2&G&&R.Q6J("ngStyle",R.DdM(1,t))}function u(G,X){if(1&G&&(R.TgZ(0,"span",10),R.YNc(1,n,2,2,"mat-icon",11),R.YNc(2,c,2,2,"mat-icon",11),R.qZA()),2&G){const _e=R.oxw().$implicit,Ue=R.oxw();R.xp6(1),R.Q6J("ngIf",!Ue.isActive(Ue.currentUrl,_e.showChildrenRegex)),R.xp6(1),R.Q6J("ngIf",Ue.isActive(Ue.currentUrl,_e.showChildrenRegex))}}const y=function(G,X){return{color:G,"border-color":X}};function M(G,X){if(1&G){const _e=R.EpF();R.TgZ(0,"a",14),R.NdJ("click",function(){const Ut=R.CHM(_e).$implicit;return R.oxw(3).navigate(Ut.url)}),R._uU(1),R.ALo(2,"translate"),R.qZA()}if(2&G){const _e=X.$implicit,Ue=R.oxw(3);R.ekj("activated",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0===Ue.item.activatedClass),R.Q6J("perunWebAppsMiddleClickRouterLink",_e.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",R.WLB(9,y,Ue.linkTextColor,Ue.linkTextColor))("ngClass",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0!==Ue.item.activatedClass?Ue.item.activatedClass:""),R.xp6(1),R.hij(" ",R.lcZ(2,7,_e.label)," ")}}function re(G,X){if(1&G&&(R.TgZ(0,"div"),R.YNc(1,M,3,12,"a",13),R.qZA()),2&G){const _e=R.oxw().$implicit;R.Q6J("@rollInOut",void 0),R.xp6(1),R.Q6J("ngForOf",null==_e?null:_e.children)}}function et(G,X){if(1&G){const _e=R.EpF();R.TgZ(0,"div"),R.TgZ(1,"a",7),R.NdJ("click",function(){const Ut=R.CHM(_e).$implicit;return R.oxw().navigate(Ut.url)}),R._uU(2),R.ALo(3,"translate"),R.YNc(4,u,3,2,"span",8),R.qZA(),R.YNc(5,re,2,2,"div",9),R.qZA()}if(2&G){const _e=X.$implicit,Ue=R.oxw();R.xp6(1),R.ekj("activated",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0===Ue.item.activatedClass),R.Q6J("perunWebAppsMiddleClickRouterLink",_e.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",R.WLB(11,y,Ue.linkTextColor,Ue.linkTextColor))("ngClass",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0!==Ue.item.activatedClass?Ue.item.activatedClass:""),R.xp6(1),R.hij(" ",R.lcZ(3,9,_e.label)," "),R.xp6(2),R.Q6J("ngIf",_e.children),R.xp6(1),R.Q6J("ngIf",Ue.isActive(Ue.currentUrl,_e.showChildrenRegex))}}const yt=function(G){return{background:G}},pt=function(G){return{color:G}},Nt=function(){return{color:"currentColor"}};let It=(()=>{class G{constructor(_e,Ue){this.router=_e,this.store=Ue,this.id="",this.expanded=!1,this.linkBgColor=this.store.get("theme","sidemenu_item_links_bg_color"),this.linkTextColor=this.store.get("theme","sidemenu_item_links_text_color"),this.currentUrl=_e.url,_e.events.subscribe(wt=>{wt instanceof f.m2&&(this.currentUrl=wt.url)})}ngOnInit(){this.expanded=this.showOpen}ngOnChanges(){this.expanded=this.showOpen}toggle(){void 0!==this.item.baseLink?this.navigate(this.item.baseLink):this.expanded=!this.expanded}isActive(_e,Ue){return new RegExp(Ue).test(_e)}getBgClass(){return this.item.baseColorClass?this.isActive(this.currentUrl,this.item.baseColorClassRegex)?this.item.colorClass:this.item.baseColorClass:this.item.colorClass}navigate(_e){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(_e)):this.router.navigate(_e)}}return G.\u0275fac=function(_e){return new(_e||G)(R.Y36(f.F0),R.Y36(ee.d6))},G.\u0275cmp=R.Xpm({type:G,selectors:[["app-side-menu-root-item"]],viewQuery:function(_e,Ue){if(1&_e&&R.Gf(o,5),2&_e){let wt;R.iGM(wt=R.CRH())&&(Ue.collapseDiv=wt.first)}},inputs:{item:"item",index:"index",showOpen:"showOpen",id:"id",sideNav:"sideNav"},features:[R.TTD],decls:12,vars:28,consts:[[1,"entity-menu-item",3,"id"],["matRipple","",1,"entity-menu-item-header",3,"matRippleColor","ngStyle","perunWebAppsMiddleClickRouterLink","click"],[1,"entity-menu-item-label",3,"ngStyle"],[1,"perun-icon",3,"ngStyle","svgIcon"],[1,"ml-3"],[3,"ngStyle"],[4,"ngFor","ngForOf"],["matRipple","",1,"clickable","d-flex",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"],["class","ml-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto"],["class","perun-icon icon-beak",3,"ngStyle",4,"ngIf"],[1,"perun-icon","icon-beak",3,"ngStyle"],["matRipple","","class","pl-5 clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","activated","ngClass","click",4,"ngFor","ngForOf"],["matRipple","",1,"pl-5","clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"]],template:function(_e,Ue){1&_e&&(R.TgZ(0,"div",0),R.TgZ(1,"div",1),R.NdJ("click",function(){return Ue.toggle()}),R.TgZ(2,"div"),R.TgZ(3,"a",2),R.TgZ(4,"div"),R._UZ(5,"mat-icon",3),R.qZA(),R.TgZ(6,"div",4),R._uU(7),R.ALo(8,"translate"),R.qZA(),R.qZA(),R.qZA(),R.qZA(),R.TgZ(9,"div"),R.TgZ(10,"div",5),R.YNc(11,et,6,14,"div",6),R.qZA(),R.qZA(),R.qZA()),2&_e&&(R.s9C("id",Ue.id),R.xp6(1),R.ekj("root-header-activated",Ue.isActive(Ue.currentUrl,Ue.item.baseColorClassRegex)),R.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",R.VKq(21,yt,Ue.item.backgroundColorCss))("perunWebAppsMiddleClickRouterLink",Ue.item.baseLink),R.xp6(1),R.Gre("entity-menu-item-link ",Ue.item.labelClass,""),R.xp6(1),R.Q6J("ngStyle",R.VKq(23,pt,Ue.item.textColorCss)),R.xp6(2),R.Q6J("ngStyle",R.DdM(25,Nt))("svgIcon",Ue.item.icon),R.xp6(2),R.Oqu(R.lcZ(8,19,Ue.item.label)),R.xp6(2),R.Q6J("@openClose",Ue.expanded?"open":"closed"),R.xp6(1),R.Gre("side-entity-menu ",Ue.item.linksClass,""),R.Q6J("ngStyle",R.VKq(26,yt,Ue.linkBgColor)),R.xp6(1),R.Q6J("ngForOf",Ue.item.links))},directives:[A.wG,e.PC,Oe.YH,k.Hw,e.sg,e.mk,e.O5],pipes:[Ie.X$],styles:[".entity-menu-item[_ngcontent-%COMP%]{width:300px}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:5px 8px 5px 32px;text-decoration:none;font-size:1rem;color:#fff;display:block}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:var(--side-link-hover)!important}.root-header-activated[_ngcontent-%COMP%]{background:var(--side-root-item-active)!important}.entity-menu-item-header[_ngcontent-%COMP%]{padding:.5rem .5rem .5rem 1rem;cursor:pointer;-moz-user-select:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent}.entity-menu-item-header[_ngcontent-%COMP%]:hover{background:var(--side-root-item-hover)!important}.entity-menu-item-label[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;color:#fff}.entity-menu-item-label[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-link[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;color:#fff}.entity-menu-item-link[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-icon[_ngcontent-%COMP%]{height:2rem}"],data:{animation:[Te.BQ,Te.Ly]}}),G})();var Zt=d(44409),mt=d(53435),Ht=d(63189),_t=d(37677),Je=d(387),Lt=d(11243),ht=d(19516),Rt=d(43586),qe=d(14623),Ye=d(9244),oe=d(28499);let Z=(()=>{class G{constructor(_e){this.translate=_e,_e.addLangs(["en","cs"])}}return G.\u0275fac=function(_e){return new(_e||G)(R.LFG(Ie.sK))},G.\u0275mod=R.oAB({type:G}),G.\u0275inj=R.cJS({providers:[p,_t.A],imports:[[e.ez,f.Bz,g.Bb,L.c,h.lN,ve.UX,ve.u5,k.Ps,de.SJ,E.To,Ie.aw.forChild({}),T.ot,j.JX,H.p0,Q.Nh,se.dp,T.ot,m.p9,b.Is,Le.LD,ae.ZX,ue.Cq,$.Cv,te.AV,ke.rP,s.FA,A.XK,ce.Fk,O.t,A.si,V.TU,ge.QW,Me.T5,Zt._t,ge.QW,Fe.Hi,ne.Tx,mt.Cl,Ht.r,Ne.g,Je.ez,Lt.r,ht.d4,Rt.Co,qe.ie,Ye.Je,oe.E3],Rt.Co,g.Bb,L.c,f.Bz,ve.UX,ve.u5,k.Ps,de.SJ,Ie.aw,j.JX,H.p0,Q.Nh,se.dp,T.ot,m.p9,b.Is,Le.LD,ae.ZX,ue.Cq,$.Cv,te.AV,ke.rP,s.FA,A.XK,ce.Fk,O.t,ge.QW,Me.T5,A.si,V.TU,Zt._t,Fe.Hi,Fe.Hi,E.To,ne.Tx,mt.Cl,mt.Cl,mt.Cl,Lt.r]}),G})();R.B6R(me.V,[It,e.sg,r,e.O5],[])},69024:(Ke,be,d)=>{"use strict";d.d(be,{V:()=>b});var e=d(36908),f=d(9315),g=d(9244),T=d(19516),m=d(64080),A=d(5e3),s=d(51062);let b=(()=>{class O{constructor(h,k,L,V,$,ue,ce){this.translate=h,this.authResolver=k,this.store=L,this.apiRequest=V,this.attributesManager=$,this.notificator=ue,this.guiAuthResolver=ce,this.baseItemColor=this.store.get("theme","sidemenu_bg_color"),this.voBgColor=this.store.get("theme","sidemenu_vo_bg_color"),this.memberBgColor=this.store.get("theme","sidemenu_member_bg_color"),this.groupBgColor=this.store.get("theme","sidemenu_group_bg_color"),this.facilityBgColor=this.store.get("theme","sidemenu_facility_bg_color"),this.resourceBgColor=this.store.get("theme","sidemenu_resource_bg_color"),this.userBgColor=this.store.get("theme","sidemenu_user_bg_color"),this.serviceBgColor=this.store.get("theme","sidemenu_service_bg_color"),this.baseItemTextColor=this.store.get("theme","sidemenu_text_color"),this.voTextColor=this.store.get("theme","sidemenu_vo_text_color"),this.memberTextColor=this.store.get("theme","sidemenu_member_text_color"),this.groupTextColor=this.store.get("theme","sidemenu_group_text_color"),this.facilityTextColor=this.store.get("theme","sidemenu_facility_text_color"),this.resourceTextColor=this.store.get("theme","sidemenu_resource_text_color"),this.userTextColor=this.store.get("theme","sidemenu_user_text_color"),this.serviceTextColor=this.store.get("theme","sidemenu_service_text_color")}getFacilitiesManagementItem(){return{label:"MAIN_MENU.FACILITIES",colorClass:"base-item-color-activated",icon:"perun-facility-white",baseLink:["/facilities"],links:[],baseColorClass:"base-item-color",baseColorClassRegex:"^/facilities$",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor}}getAccessManagementItem(){return{label:"MAIN_MENU.ACCESS",colorClass:"base-item-color-activated",icon:"perun-vo",links:[],baseLink:["/organizations"],baseColorClass:"base-item-color",baseColorClassRegex:"^/organizations$",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor}}getHomeItem(){return{baseLink:["/home"],label:"MAIN_MENU.HOME",colorClass:"base-item-color-activated",icon:"perun-home-white",baseColorClass:"base-item-color",baseColorClassRegex:"^/home$",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor,links:[]}}getUserItem(){return{baseLink:["/myProfile"],expandable:!1,label:"MAIN_MENU.MY_PROFILE",colorClass:"base-item-color-activated",icon:"perun-user",baseColorClass:"base-item-color",baseColorClassRegex:"^/dont-use$",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor,links:[{label:"MENU_ITEMS.USER.OVERVIEW",url:["/myProfile"],activatedRegex:"^/myProfile$"},{label:"MENU_ITEMS.USER.ORGANIZATIONS",url:["/myProfile/organizations"],activatedRegex:"^/myProfile/organizations$"},{label:"MENU_ITEMS.USER.GROUPS",url:["/myProfile/groups"],activatedRegex:"^/myProfile/groups$"},{label:"MENU_ITEMS.USER.ATTRIBUTES",url:["/myProfile/attributes"],activatedRegex:"^/myProfile/attributes$"},{label:"MENU_ITEMS.USER.ROLES",url:["/myProfile/roles"],activatedRegex:"/myProfile/roles"},{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:["/myProfile/service-identities"],activatedRegex:"^/myProfile/service-identities"},{label:"MENU_ITEMS.USER.SETTINGS",url:["/myProfile/settings"],activatedRegex:"^/myProfile/settings$",children:[{label:"MENU_ITEMS.USER.PASSWORD_RESET",url:["/myProfile/settings/passwordReset"],activatedRegex:"^/myProfile/settings/passwordReset"},{label:"MENU_ITEMS.USER.GUI_CONFIG",url:["/myProfile/settings/guiConfig"],activatedRegex:"/myProfile/settings/guiConfig"}],showChildrenRegex:"/myProfile/settings"}]}}getAdminItem(){return{baseLink:["/admin"],expandable:!1,label:"MAIN_MENU.ADMIN",colorClass:"base-item-color-activated",icon:"perun-perun-admin",baseColorClass:"base-item-color",baseColorClassRegex:"^/dont-use$",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor,links:[{label:"MENU_ITEMS.ADMIN.OVERVIEW",url:["/admin"],activatedRegex:"^/admin$"},{label:"MENU_ITEMS.ADMIN.ATTRIBUTES",url:["/admin/attributes"],activatedRegex:"^/admin/attributes$"},{label:"MENU_ITEMS.ADMIN.USERS",url:["/admin/users"],activatedRegex:"^/admin/users$"},{label:"MENU_ITEMS.ADMIN.OWNERS",url:["/admin/owners"],activatedRegex:"^/admin/owners$"},{label:"MENU_ITEMS.ADMIN.SERVICES",url:["/admin/services"],activatedRegex:"^/admin/services$"},{label:"MENU_ITEMS.ADMIN.VISUALIZER",url:["/admin/visualizer"],activatedRegex:"^/admin/visualizer$",children:[{label:"MENU_ITEMS.VISUALIZER.ATTR_DEPENDENCIES",url:["/admin/visualizer/attrDependencies"],activatedRegex:"^/admin/visualizer/attrDependencies"},{label:this.translate.instant("MENU_ITEMS.VISUALIZER.USER_DESTINATION"),url:["/admin/visualizer/userDestinationRelationship"],activatedRegex:"^/admin/visualizer/userDestinationRelationship"}],showChildrenRegex:"/admin/visualizer"},{label:"MENU_ITEMS.ADMIN.EXT_SOURCES",url:["/admin/ext_sources"],activatedRegex:"^/admin/ext_sources$"},{label:"MENU_ITEMS.ADMIN.AUDIT_LOG",url:["/admin/audit_log"],activatedRegex:"^/admin/audit_log$"}]}}parseFacility(h){return{label:h.name,baseLink:[`/facilities/${h.id}`],backgroundColorCss:this.facilityBgColor,textColorCss:this.facilityTextColor,links:this.getFacilityLinks(h),colorClass:"facility-item",icon:"perun-facility-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseResource(h,k){const L=(new T.r5).transform(h,k);return{label:h.name,baseLink:[L],backgroundColorCss:this.resourceBgColor,textColorCss:this.resourceTextColor,links:this.getResourceLinks(L,k?"/organizations":"/facilities",h),colorClass:"resource-item",icon:"perun-resource-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}getResourceLinks(h,k,L){const V=[{label:"MENU_ITEMS.RESOURCE.OVERVIEW",url:[h],activatedRegex:`${k}/\\d+/resources/\\d+$`}];return this.authResolver.isAuthorized("getAssignedGroups_Resource_policy",[L])&&V.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",url:[h,"groups"],activatedRegex:`${k}/\\d+/resources/\\d+/groups$`}),this.authResolver.isAuthorized("getAssignedServices_Resource_policy",[L])&&V.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",url:[h,"services"],activatedRegex:`${k}/\\d+/resources/\\d+/services$`}),this.authResolver.isAuthorized("getAssignedMembers_Resource_policy",[L])&&V.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",url:[h,"members"],activatedRegex:`${k}/\\d+/resources/\\d+/members$`}),this.authResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[L])&&V.push({label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",url:[h,"tags"],activatedRegex:`${k}/\\d+/resources/\\d+/tags$`}),V.push({label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",url:[h,"attributes"],activatedRegex:`${k}/\\d+/resources/\\d+/attributes$`}),this.authResolver.isManagerPagePrivileged(L)&&V.push({label:"MENU_ITEMS.RESOURCE.SETTINGS",url:[h,"settings"],activatedRegex:`${k}/\\d+/resources/\\d+/settings$`,children:[{label:"MENU_ITEMS.RESOURCE.MANAGERS",url:[h,"settings","managers"],activatedRegex:`${k}/\\d+/resources/\\d+/settings/managers$`}],showChildrenRegex:`${k}/\\d+/resources/\\d+/settings`}),V}parseGroup(h){return{label:h.name,baseLink:[`/organizations/${h.voId}/groups/${h.id}`],backgroundColorCss:this.groupBgColor,textColorCss:this.groupTextColor,links:this.getGroupLinks(h),colorClass:"group-item",icon:"perun-group",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseVo(h){return{label:h.name,baseLink:[`/organizations/${h.id}`],links:this.getVoLinks(h),colorClass:"vo-item",icon:"perun-vo",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.voBgColor,textColorCss:this.voTextColor}}parseMember(h,k){return{label:(0,g.bD)(h.user),baseLink:[`/organizations/${h.voId}/members/${h.id}`],backgroundColorCss:this.memberBgColor,textColorCss:this.memberTextColor,links:this.getMemberLinks(h,k),colorClass:"member-item",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseUser(h,k,L){return{label:(0,g.bD)(h),baseLink:[k],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:this.getUserLinks(h,k,L),colorClass:"user-bg-color",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseServiceIdentity(h){return{label:(0,g.bD)(h),baseLink:[`/myProfile/service-identities/${h.id}`],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:[{label:"MENU_ITEMS.USER.OVERVIEW",url:[`/myProfile/service-identities/${h.id}`],activatedRegex:"/myProfile/service-identities/\\d+$"},{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:[`/myProfile/service-identities/${h.id}/associated-users`],activatedRegex:"/myProfile/service-identities/\\d+/associated-users"}],colorClass:"user-bg-color",icon:"perun-service-identity",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseService(h){return{label:h.name,baseLink:[`/admin/services/${h.id}`],backgroundColorCss:this.serviceBgColor,textColorCss:this.serviceTextColor,links:[{label:"MENU_ITEMS.SERVICE.OVERVIEW",url:[`/admin/services/${h.id}`],activatedRegex:"/admin/services/\\d+$"},{label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",url:[`/admin/services/${h.id}/required-attributes`],activatedRegex:"/admin/services/\\d+/required-attributes"},{label:"MENU_ITEMS.SERVICE.DESTINATIONS",url:[`/admin/services/${h.id}/destinations`],activatedRegex:"/admin/services/\\d+/destinations"}],colorClass:"service-item",icon:"perun-service",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}getVoLinks(h){const k=[];if(k.push({label:"MENU_ITEMS.VO.OVERVIEW",url:[`/organizations/${h.id}`],activatedRegex:"/organizations/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[h])&&k.push({label:"MENU_ITEMS.VO.MEMBERS",url:[`/organizations/${h.id}/members`],activatedRegex:"/organizations/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[h])&&k.push({label:"MENU_ITEMS.VO.GROUPS",url:[`/organizations/${h.id}/groups`],activatedRegex:"/organizations/\\d+/groups$"}),this.authResolver.isAuthorized("getRichResources_Vo_policy",[h])){const ue=[{label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",url:[`/organizations/${h.id}/resources/preview`],activatedRegex:"/organizations/\\d+/resources/preview$"}];this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[h])&&ue.push({label:"MENU_ITEMS.VO.RESOURCE_TAGS",url:[`/organizations/${h.id}/resources/tags`],activatedRegex:"/organizations/\\d+/resources/tags$"}),this.authResolver.isAuthorized("getResourcesState_Vo_policy",[h])&&ue.push({label:"MENU_ITEMS.VO.RESOURCE_STATES",url:[`/organizations/${h.id}/resources/states`],activatedRegex:"/organizations/\\d+/resources/states$"}),k.push({label:"MENU_ITEMS.VO.RESOURCES",url:[`/organizations/${h.id}/resources`],activatedRegex:"/organizations/\\d+/resources$",children:ue,showChildrenRegex:"/organizations/\\d+/resources"})}this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[h])&&k.push({label:"MENU_ITEMS.VO.APPLICATIONS",url:[`/organizations/${h.id}/applications`],activatedRegex:"/organizations/\\d+/applications"}),this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[h])&&k.push({label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",url:[`/organizations/${h.id}/sponsoredMembers`],activatedRegex:"/organizations/\\d+/sponsoredMembers$"}),this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[h])&&k.push({label:"MENU_ITEMS.VO.SERVICE_MEMBERS",url:[`/organizations/${h.id}/serviceAccounts`],activatedRegex:"/organizations/\\d+/serviceAccounts$"}),k.push({label:"MENU_ITEMS.VO.ATTRIBUTES",url:[`/organizations/${h.id}/attributes`],activatedRegex:"/organizations/\\d+/attributes$"}),this.guiAuthResolver.isAuthorized("getMembersCount_Vo_Status_policy",[h])&&this.guiAuthResolver.isAuthorized("getMembersCount_Vo_policy",[h])&&k.push({label:"MENU_ITEMS.VO.STATISTICS",url:[`/organizations/${h.id}/statistics`],activatedRegex:"/organizations/\\d+/statistics"});const L=this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[h]),V=this.authResolver.isManagerPagePrivileged(h),$=this.authResolver.isThisVoAdminOrObserver(h.id);if(V||L||$){const ue=[];$&&ue.push({label:"MENU_ITEMS.VO.EXPIRATION",url:[`/organizations/${h.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/settings/expiration$"}),V&&ue.push({label:"MENU_ITEMS.VO.MANAGERS",url:[`/organizations/${h.id}/settings/managers`],activatedRegex:"/organizations/\\d+/settings/managers$"}),$&&ue.push({label:"MENU_ITEMS.VO.APPLICATION_FORM",url:[`/organizations/${h.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/settings/applicationForm$"}),$&&ue.push({label:"MENU_ITEMS.VO.NOTIFICATIONS",url:[`/organizations/${h.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/settings/notifications$"}),L&&ue.push({label:"MENU_ITEMS.VO.EXTSOURCES",url:[`/organizations/${h.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/settings/extsources$"}),k.push({label:"MENU_ITEMS.VO.SETTINGS",url:[`/organizations/${h.id}/settings`],activatedRegex:"/organizations/\\d+/settings$",children:ue,showChildrenRegex:"/organizations/\\d+/settings"})}return k}getUserLinks(h,k,L){const V=[];return V.push({label:"MENU_ITEMS.USER.OVERVIEW",url:[k],activatedRegex:`${L}$`}),V.push({label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",url:[`${k}/organizations`],activatedRegex:`${L}/organizations`}),V.push({label:"MENU_ITEMS.ADMIN.GROUPS",url:[`${k}/groups`],activatedRegex:`${L}/groups`}),V.push({label:"MENU_ITEMS.USER.ACCOUNTS",url:[`${k}/accounts`],activatedRegex:`${L}/accounts`}),V.push({label:"MENU_ITEMS.USER.IDENTITIES",url:[`${k}/identities`],activatedRegex:`${L}/identities`}),V.push({label:"MENU_ITEMS.USER.FACILITIES",url:[`${k}/facilities`],activatedRegex:`${L}/facilities`}),V.push({label:"MENU_ITEMS.USER.RESOURCES",url:[`${k}/resources`],activatedRegex:`${L}/resources`}),V.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`${k}/attributes`],activatedRegex:`${L}/attributes`}),V.push({label:"MENU_ITEMS.USER.ROLES",url:[`${k}/roles`],activatedRegex:`^${k}/roles`}),V.push(h.serviceUser?{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:[`${k}/associated-users`],activatedRegex:`^${k}/associated-users`}:{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:[`${k}/service-identities`],activatedRegex:`^${k}/service-identities`}),V}getMemberLinks(h,k){const L=[{label:"MENU_ITEMS.MEMBER.OVERVIEW",url:[`/organizations/${h.voId}/members/${h.id}`],activatedRegex:"/organizations/\\d+/members/\\d+$"}];return this.authResolver.isAuthorized("getMemberGroups_Member_policy",[k])&&L.push({label:"MENU_ITEMS.MEMBER.GROUPS",url:[`//organizations/${h.voId}/members/${h.id}/groups`],activatedRegex:"/organizations/\\d+/members/\\d+/groups"}),this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[k])&&L.push({label:"MENU_ITEMS.MEMBER.APPLICATIONS",url:[`//organizations/${h.voId}/members/${h.id}/applications`],activatedRegex:"/organizations/\\d+/members/\\d+/applications"}),this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[k])&&L.push({label:"MENU_ITEMS.MEMBER.RESOURCES",url:[`/organizations/${h.voId}/members/${h.id}/resources`],activatedRegex:"/organizations/\\d+/members/\\d+/resources"}),L.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`/organizations/${h.voId}/members/${h.id}/attributes`],activatedRegex:"/organizations/\\d+/members/\\d+/attributes$"}),L}getFacilityLinks(h){const k=[{label:"MENU_ITEMS.FACILITY.OVERVIEW",url:[`/facilities/${h.id}`],activatedRegex:"/facilities/\\d+$"}];this.authResolver.isAuthorized("getAssignedRichResources_Facility_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.RESOURCES",url:[`/facilities/${h.id}/resources`],activatedRegex:"/facilities/\\d+/resources$"}),this.authResolver.isAuthorized("getAssignedUsers_Facility_Service_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.ALLOWED_USERS",url:[`/facilities/${h.id}/allowed-users`],activatedRegex:"/facilities/\\d+/allowed-users"}),this.authResolver.isAuthorized("getAllowedGroups_Facility_Vo_Service_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.ALLOWED_GROUPS",url:[`/facilities/${h.id}/allowed-groups`],activatedRegex:"/facilities/\\d+/allowed-groups"}),this.authResolver.isAuthorized("getFacilityServicesState_Facility_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.SERVICES_STATUS",url:[`/facilities/${h.id}/services-status`],activatedRegex:"/facilities/\\d+/services-status"}),this.authResolver.isAuthorized("getAllRichDestinations_Facility_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.SERVICES_DESTINATIONS",url:[`/facilities/${h.id}/services-destinations`],activatedRegex:"facilities/\\d+/services-destinations"}),this.authResolver.isFacilityAdmin()&&k.push({label:"MENU_ITEMS.FACILITY.HOSTS",url:[`/facilities/${h.id}/hosts`],activatedRegex:"facilities/\\d+/hosts"}),k.push({label:"MENU_ITEMS.FACILITY.ATTRIBUTES",url:["/facilities",h.id,"attributes"],activatedRegex:"/facilities/\\d+/attributes$"});const L=this.authResolver.isAuthorized("getBansForFacility_int_policy",[h]),V=this.authResolver.isAuthorized("getRichAdmins_Facility_List_boolean_boolean_policy",[h]),$=this.authResolver.isAuthorized("getOwners_Facility_policy",[h]),ue=this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[h]);if(L||V||$||ue){const ce=[];$&&ce.push({label:"MENU_ITEMS.FACILITY.OWNERS",url:["/facilities",h.id,"settings","owners"],activatedRegex:"/facilities/\\d+/settings/owners$"}),V&&ce.push({label:"MENU_ITEMS.FACILITY.MANAGERS",url:["/facilities",h.id,"settings","managers"],activatedRegex:"/facilities/\\d+/settings/managers$"}),ue&&ce.push({label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",url:[`/facilities/${h.id}/settings/security-teams`],activatedRegex:"facilities/\\d+/settings/security-teams"}),L&&ce.push({label:"MENU_ITEMS.FACILITY.BLACKLIST",url:["facilities",h.id,"settings","blacklist"],activatedRegex:"/facilities/\\d+/settings/blacklist"}),k.push({label:"MENU_ITEMS.FACILITY.SETTINGS",url:["/facilities",h.id,"settings"],activatedRegex:"/facilities/\\d+/settings$",children:ce,showChildrenRegex:"/facilities/\\d+/settings"})}return k}getGroupLinks(h){const k=[],L=[];k.push({label:"MENU_ITEMS.GROUP.OVERVIEW",url:[`/organizations/${h.voId}/groups/${h.id}`],activatedRegex:"/organizations/\\d+/groups/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Group_List_boolean_policy",[h])&&k.push({label:"MENU_ITEMS.GROUP.MEMBERS",url:[`/organizations/${h.voId}/groups/${h.id}/members`],activatedRegex:"/organizations/\\d+/groups/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[h])&&"members"!==h.name&&k.push({label:"MENU_ITEMS.GROUP.SUBGROUPS",url:[`/organizations/${h.voId}/groups/${h.id}/subgroups`],activatedRegex:"/organizations/\\d+/groups/\\d+/subgroups$"}),this.authResolver.isAuthorized("getAssignedRichResources_Group_policy",[h])&&k.push({label:"MENU_ITEMS.GROUP.RESOURCES",url:[`/organizations/${h.voId}/groups/${h.id}/resources`],activatedRegex:"/organizations/\\d+/groups/\\d+/resources$"}),this.authResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[h])&&k.push({label:"MENU_ITEMS.GROUP.APPLICATIONS",url:[`/organizations/${h.voId}/groups/${h.id}/applications`],activatedRegex:"/organizations/\\d+/groups/\\d+/applications$"}),k.push({label:"MENU_ITEMS.GROUP.ATTRIBUTES",url:[`/organizations/${h.voId}/groups/${h.id}/attributes`],activatedRegex:"/organizations/\\d+/groups/\\d+/attributes$"});const V=this.guiAuthResolver.isAuthorized("getGroupMembersCount_Group_policy",[h]),$=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[h]),ue=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[h]);return V&&$&&ue&&k.push({label:"MENU_ITEMS.GROUP.STATISTICS",url:[`/organizations/${h.voId}/groups/${h.id}/statistics`],activatedRegex:"/organizations/\\d+/groups/\\d+/statistics"}),this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(h.id,m.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{L.push({label:"MENU_ITEMS.GROUP.EXPIRATION",url:[`/organizations/${h.voId}/groups/${h.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/expiration$"})},ce=>{"HttpErrorResponse"!==ce.name&&this.notificator.showRPCError(ce)}),this.authResolver.isManagerPagePrivileged(h)&&L.push({label:"MENU_ITEMS.GROUP.MANAGERS",url:[`/organizations/${h.voId}/groups/${h.id}/settings/managers`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/managers$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[h])&&L.push({label:"MENU_ITEMS.GROUP.APPLICATION_FORM",url:[`/organizations/${h.voId}/groups/${h.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/applicationForm$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[h])&&L.push({label:"MENU_ITEMS.GROUP.NOTIFICATIONS",url:[`/organizations/${h.voId}/groups/${h.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/notifications$"}),this.authResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[h])&&L.push({label:"MENU_ITEMS.GROUP.RELATIONS",url:[`/organizations/${h.voId}/groups/${h.id}/settings/relations`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/relations$"}),this.authResolver.isAuthorized("getGroupExtSources_Group_policy",[h])&&L.push({label:"MENU_ITEMS.GROUP.EXTSOURCES",url:[`/organizations/${h.voId}/groups/${h.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/extsources$"}),0!==L.length&&k.push({label:"MENU_ITEMS.GROUP.SETTINGS",url:[`/organizations/${h.voId}/groups/${h.id}/settings`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings$",children:L,showChildrenRegex:"/organizations/\\d+/groups/\\d+/settings"}),k}}return O.\u0275fac=function(h){return new(h||O)(A.LFG(s.sK),A.LFG(e.x4),A.LFG(e.d6),A.LFG(e.F5),A.LFG(f.H8),A.LFG(e.V6),A.LFG(e.x4))},O.\u0275prov=A.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})()},73228:(Ke,be,d)=>{"use strict";d.d(be,{V:()=>ue});var e=d(72077),f=d(69024),g=d(36908),T=d(36769),m=d(5e3),A=d(77968);function s(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",10),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw();m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)}}function b(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw();m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)("showLinks",ke===ae.accessItems.length-1)}}function O(ce,Le){if(1&ce&&m._UZ(0,"app-side-menu-root-item",2),2&ce){const de=m.oxw();m.Q6J("id","facilities-item-btn")("sideNav",de.sideNav)("item",de.facilityItem)}}function E(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw(2);m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)("showLinks",ke===ae.facilityItems.length-1)}}function h(ce,Le){if(1&ce&&(m.TgZ(0,"div"),m.YNc(1,E,2,5,"div",3),m.qZA()),2&ce){const de=m.oxw();m.xp6(1),m.Q6J("ngForOf",de.facilityItems)}}function k(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw();m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)("showLinks",ke===ae.userItems.length-1)}}function L(ce,Le){if(1&ce&&m._UZ(0,"app-side-menu-root-item",7),2&ce){const de=m.oxw();m.Q6J("id","admin-item-btn")("sideNav",de.sideNav)("showOpen",de.adminItemOpened)("item",de.adminItem)}}function V(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw(2);m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)("showLinks",!0)}}function $(ce,Le){if(1&ce&&(m.TgZ(0,"div"),m.YNc(1,V,2,5,"div",3),m.qZA()),2&ce){const de=m.oxw();m.xp6(1),m.Q6J("ngForOf",de.adminItems)}}let ue=(()=>{class ce{constructor(de,ke,ae){this.sideMenuService=de,this.sideMenuItemService=ke,this.authResolver=ae,this.accessItems=[],this.facilityItems=[],this.adminItems=[],this.homeItems=[],this.userItems=[],this.accessItem=this.sideMenuItemService.getAccessManagementItem(),this.adminItem=this.sideMenuItemService.getAdminItem(),this.facilityItem=this.sideMenuItemService.getFacilitiesManagementItem(),this.homeItem=this.sideMenuItemService.getHomeItem(),this.userItem=this.sideMenuItemService.getUserItem(),this.mobileView=!0,this.adminItemOpened=!1,this.userItemOpened=!1}ngOnInit(){this.mobileView=window.innerWidth<=e.y.minWidth,this.mobileView?this.sideNav.close():this.sideNav.open(),this.sideMenuService.facilityItemsChange.subscribe(de=>{this.setFacilityItems(de)}),this.sideMenuService.accessItemsChange.subscribe(de=>{this.setAccessItems(de)}),this.sideMenuService.adminItemsChange.subscribe(de=>{this.setAdminItems(de)}),this.sideMenuService.userItemsChange.subscribe(de=>{this.setUserItems(de)}),this.sideMenuService.homeItemsChange.subscribe(de=>{this.setHomeItems(de)}),this.sideMenuService.resetChange.subscribe(()=>{this.reset()})}reset(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptHome(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptFacility(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.userItems,[])}resetExceptAccess(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptAdmin(){this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptUser(){this.adminItemOpened=!1,this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.adminItems,[])}setHomeItems(de){this.resetExceptHome(),this.setNewItems(this.homeItems,de)}setFacilityItems(de){this.resetExceptFacility(),this.setNewItems(this.facilityItems,de)}setAccessItems(de){this.resetExceptAccess(),this.setNewItems(this.accessItems,de)}setUserItems(de){this.userItemOpened=0===de.length,this.resetExceptUser(),this.setNewItems(this.userItems,de)}setAdminItems(de){this.adminItemOpened=0===de.length,this.resetExceptAdmin(),this.setNewItems(this.adminItems,de)}setNewItems(de,ke){const ae=de.length>ke.length?de.length:ke.length;for(let j=0;jde.length-1)de.push(ke[j]);else{if(j>ke.length-1){const H=de.length;for(let Q=0;Q{"use strict";d.d(be,{b:()=>Zt});var e=d(5e3),f=d(44409),g=d(48966),T=d(47423),m=d(51062);let A=(()=>{class mt{constructor(_t){this.dialogRef=_t}onCancel(){this.dialogRef.close(!1)}submit(){this.dialogRef.close(!0)}}return mt.\u0275fac=function(_t){return new(_t||mt)(e.Y36(g.so))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["app-delete-application-form-item-dialog"]],decls:20,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"pb-2","font-weight-bold"],[1,"pb-4","pt-2"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-application-form-item-dialog",1,"ml-2",3,"click"]],template:function(_t,Je){1&_t&&(e.TgZ(0,"h1",0),e._uU(1),e.ALo(2,"translate"),e.qZA(),e.TgZ(3,"div",1),e.TgZ(4,"div",2),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"div"),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"div",3),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.qZA(),e.TgZ(13,"div",4),e.TgZ(14,"button",5),e.NdJ("click",function(){return Je.onCancel()}),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.TgZ(17,"button",6),e.NdJ("click",function(){return Je.submit()}),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.qZA()),2&_t&&(e.xp6(1),e.Oqu(e.lcZ(2,6,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.TITLE")),e.xp6(4),e.hij(" ",e.lcZ(6,8,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_1")," "),e.xp6(3),e.Oqu(e.lcZ(9,10,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_2")),e.xp6(3),e.Oqu(e.lcZ(12,12,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_3")),e.xp6(4),e.hij(" ",e.lcZ(16,14,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.CANCEL_BUTTON")," "),e.xp6(3),e.hij(" ",e.lcZ(19,16,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.SUBMIT_BUTTON")," "))},directives:[g.uh,g.xY,g.H8,T.lW],pipes:[m.X$],styles:[""]}),mt})();var s=d(36908),b=d(83491),O=d(9244),E=d(30325),h=d(69808),k=d(20773),L=d(32075),V=d(25245),$=d(29772),ue=d(93075),ce=d(98380),Le=d(57706),de=d(64597);const ke=["table"];function ae(mt,Ht){1&mt&&e._UZ(0,"mat-spinner",3)}function j(mt,Ht){1&mt&&e._UZ(0,"th",24)}function H(mt,Ht){if(1&mt){const _t=e.EpF();e.TgZ(0,"td",25),e.TgZ(1,"button",26),e.NdJ("mousedown",function(){return e.CHM(_t),e.oxw(2).dragDisabled=!1}),e.TgZ(2,"mat-icon"),e._uU(3,"drag_indicator"),e.qZA(),e.qZA(),e.qZA()}}function Q(mt,Ht){1&mt&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&mt&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SHORTNAME")," "))}function te(mt,Ht){if(1&mt&&(e.TgZ(0,"td",25),e._uU(1),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.AsE(" ",_t.shortname,"",_t.required?"*":""," ")}}function se(mt,Ht){1&mt&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&mt&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPE")," "))}function ge(mt,Ht){if(1&mt&&(e.TgZ(0,"td",25),e._uU(1),e.ALo(2,"applicationFormItemType"),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,_t.type)," ")}}function Ne(mt,Ht){1&mt&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&mt&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HEADER")," "))}function Fe(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"mat-icon",30),e._uU(2,"lock "),e.qZA(),e._UZ(3,"br"),e._uU(4),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(1),e.Q6J("matTooltip",Je.disabledTooltip(_t)),e.xp6(3),e.hij(" ",Je.disabledHiddenDependency(_t,_t.disabled,_t.disabledDependencyItemId)," ")}}function ne(mt,Ht){if(1&mt&&(e.TgZ(0,"td",28),e.YNc(1,Fe,5,2,"div",29),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.Q6J("ngIf","NEVER"!==_t.disabled)}}function Me(mt,Ht){1&mt&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&mt&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN_HEADER")," "))}function ve(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"mat-icon",30),e._uU(2,"visibility_off "),e.qZA(),e._UZ(3,"br"),e._uU(4),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(1),e.Q6J("matTooltip",Je.hiddenTooltip(_t)),e.xp6(3),e.hij(" ",Je.disabledHiddenDependency(_t,_t.hidden,_t.hiddenDependencyItemId)," ")}}function me(mt,Ht){if(1&mt&&(e.TgZ(0,"td",28),e.YNc(1,ve,5,2,"div",29),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.Q6J("ngIf","NEVER"!==_t.hidden)}}function Te(mt,Ht){1&mt&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&mt&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW")," "))}function ee(mt,Ht){1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",31),e.qZA(),e.qZA())}function R(mt,Ht){1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",32),e._UZ(3,"br"),e._UZ(4,"input",31),e.qZA(),e.qZA())}function Oe(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e._UZ(1,"input",35),e._uU(2),e._UZ(3,"br"),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(2),e.hij(" ",_t,"")}}function Ie(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e.YNc(2,Oe,4,1,"div",33),e._UZ(3,"input",34),e.ALo(4,"translate"),e.qZA(),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",Je.getLocalizedOptions(_t)),e.xp6(1),e.s9C("value",e.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION"))}}function He(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e._UZ(1,"span",36),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(1),e.Q6J("innerHTML",Je.getLocalizedLabel(_t),e.oJD)}}function fe(mt,Ht){if(1&mt&&(e.TgZ(0,"option"),e._uU(1),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.hij(" ",_t," ")}}function Ce(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"select"),e.YNc(2,fe,2,1,"option",33),e.qZA(),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",Je.getLocalizedOptions(_t))}}function Ve(mt,Ht){1&mt&&(e.TgZ(0,"div"),e._UZ(1,"textarea"),e.qZA())}function Xe(mt,Ht){if(1&mt&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.hij(" ",_t," ")}}function tt(mt,Ht){1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",31),e.qZA(),e.qZA())}function rt(mt,Ht){if(1&mt){const _t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"select",37),e.NdJ("ngModelChange",function(Lt){e.CHM(_t);const ht=e.oxw().$implicit;return e.oxw(2).mapForCombobox[ht.id]=Lt}),e.YNc(2,Xe,2,1,"option",38),e.TgZ(3,"option",39),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.qZA(),e.YNc(6,tt,3,0,"div",29),e.qZA()}if(2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(1),e.Q6J("ngModel",Je.mapForCombobox[_t.id]),e.xp6(1),e.Q6J("ngForOf",Je.getLocalizedOptions(_t)),e.xp6(2),e.hij(" ",e.lcZ(5,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")," "),e.xp6(2),e.Q6J("ngIf","true"===Je.mapForCombobox[_t.id])}}function N(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e._UZ(1,"input",41),e._uU(2),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(2),e.hij(" ",_t," ")}}function he(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e.YNc(2,N,3,1,"div",33),e.qZA(),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",Je.getLocalizedOptions(_t))}}function D(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"button",42),e._uU(2),e.qZA(),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(2),e.hij(" ",Je.getLocalizedLabel(_t)," ")}}function S(mt,Ht){1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"select",43),e.TgZ(2,"option",44),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"option",45),e._uU(6,"(GMT -12:00) Eniwetok, Kwajalein"),e.qZA(),e.TgZ(7,"option",46),e._uU(8,"(GMT -11:00) Midway Island, Samoa"),e.qZA(),e.TgZ(9,"option",47),e._uU(10,"(GMT -10:00) Hawaii"),e.qZA(),e.TgZ(11,"option",48),e._uU(12,"(GMT -9:30) Taiohae"),e.qZA(),e.TgZ(13,"option",49),e._uU(14,"(GMT -9:00) Alaska"),e.qZA(),e.TgZ(15,"option",50),e._uU(16,"(GMT -8:00) Pacific Time (US & Canada)"),e.qZA(),e.TgZ(17,"option",51),e._uU(18,"(GMT -7:00) Mountain Time (US & Canada)"),e.qZA(),e.TgZ(19,"option",52),e._uU(20," (GMT -6:00) Central Time (US & Canada), Mexico City "),e.qZA(),e.TgZ(21,"option",53),e._uU(22," (GMT -5:00) Eastern Time (US & Canada), Bogota, Lima "),e.qZA(),e.TgZ(23,"option",54),e._uU(24,"(GMT -4:30) Caracas"),e.qZA(),e.TgZ(25,"option",55),e._uU(26,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),e.qZA(),e.TgZ(27,"option",56),e._uU(28,"(GMT -3:30) Newfoundland"),e.qZA(),e.TgZ(29,"option",57),e._uU(30,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),e.qZA(),e.TgZ(31,"option",58),e._uU(32,"(GMT -2:00) Mid-Atlantic"),e.qZA(),e.TgZ(33,"option",59),e._uU(34,"(GMT -1:00) Azores, Cape Verde Islands"),e.qZA(),e.TgZ(35,"option",60),e._uU(36," (GMT) Western Europe Time, London, Lisbon, Casablanca "),e.qZA(),e.TgZ(37,"option",61),e._uU(38,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),e.qZA(),e.TgZ(39,"option",62),e._uU(40,"(GMT +2:00) Kaliningrad, South Africa"),e.qZA(),e.TgZ(41,"option",63),e._uU(42,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),e.qZA(),e.TgZ(43,"option",64),e._uU(44,"(GMT +3:30) Tehran"),e.qZA(),e.TgZ(45,"option",65),e._uU(46,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),e.qZA(),e.TgZ(47,"option",66),e._uU(48,"(GMT +4:30) Kabul"),e.qZA(),e.TgZ(49,"option",67),e._uU(50," (GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent "),e.qZA(),e.TgZ(51,"option",68),e._uU(52,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),e.qZA(),e.TgZ(53,"option",69),e._uU(54,"(GMT +5:45) Kathmandu, Pokhara"),e.qZA(),e.TgZ(55,"option",70),e._uU(56,"(GMT +6:00) Almaty, Dhaka, Colombo"),e.qZA(),e.TgZ(57,"option",71),e._uU(58,"(GMT +6:30) Yangon, Mandalay"),e.qZA(),e.TgZ(59,"option",72),e._uU(60,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),e.qZA(),e.TgZ(61,"option",73),e._uU(62,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),e.qZA(),e.TgZ(63,"option",74),e._uU(64,"(GMT +8:45) Eucla"),e.qZA(),e.TgZ(65,"option",75),e._uU(66,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),e.qZA(),e.TgZ(67,"option",76),e._uU(68,"(GMT +9:30) Adelaide, Darwin"),e.qZA(),e.TgZ(69,"option",77),e._uU(70,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),e.qZA(),e.TgZ(71,"option",78),e._uU(72,"(GMT +10:30) Lord Howe Island"),e.qZA(),e.TgZ(73,"option",79),e._uU(74,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),e.qZA(),e.TgZ(75,"option",80),e._uU(76,"(GMT +11:30) Norfolk Island"),e.qZA(),e.TgZ(77,"option",81),e._uU(78,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),e.qZA(),e.TgZ(79,"option",82),e._uU(80,"(GMT +12:45) Chatham Islands"),e.qZA(),e.TgZ(81,"option",83),e._uU(82,"(GMT +13:00) Apia, Nukualofa"),e.qZA(),e.TgZ(83,"option",84),e._uU(84,"(GMT +14:00) Line Islands, Tokelau"),e.qZA(),e.qZA(),e.qZA()),2&mt&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")," "))}function I(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"button",42),e._uU(2),e.qZA(),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(2),e.hij(" ",Je.getLocalizedLabel(_t)," ")}}function P(mt,Ht){1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",41),e._uU(3," example group1 "),e._UZ(4,"br"),e._UZ(5,"input",41),e._uU(6," example group2 "),e._UZ(7,"br"),e._UZ(8,"input",41),e._uU(9," example group3 "),e.qZA(),e.qZA())}function i(mt,Ht){if(1&mt&&(e.TgZ(0,"td",25),e.YNc(1,ee,3,0,"div",29),e.YNc(2,R,5,0,"div",29),e.YNc(3,Ie,5,4,"div",29),e.YNc(4,He,2,1,"div",29),e.YNc(5,Ce,3,1,"div",29),e.YNc(6,Ve,2,0,"div",29),e.YNc(7,rt,7,6,"div",29),e.YNc(8,he,3,1,"div",29),e.YNc(9,D,3,1,"div",29),e.YNc(10,S,85,3,"div",29),e.YNc(11,I,3,1,"div",29),e.YNc(12,P,10,0,"div",29),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.Q6J("ngIf","TEXTFIELD"===_t.type||"VALIDATED_EMAIL"===_t.type||"USERNAME"===_t.type),e.xp6(1),e.Q6J("ngIf","PASSWORD"===_t.type),e.xp6(1),e.Q6J("ngIf","RADIO"===_t.type),e.xp6(1),e.Q6J("ngIf","HEADING"===_t.type||"HTML_COMMENT"===_t.type),e.xp6(1),e.Q6J("ngIf","SELECTIONBOX"===_t.type),e.xp6(1),e.Q6J("ngIf","TEXTAREA"===_t.type),e.xp6(1),e.Q6J("ngIf","COMBOBOX"===_t.type),e.xp6(1),e.Q6J("ngIf","CHECKBOX"===_t.type),e.xp6(1),e.Q6J("ngIf","SUBMIT_BUTTON"===_t.type),e.xp6(1),e.Q6J("ngIf","TIMEZONE"===_t.type),e.xp6(1),e.Q6J("ngIf","AUTO_SUBMIT_BUTTON"===_t.type),e.xp6(1),e.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===_t.type)}}function r(mt,Ht){1&mt&&e._UZ(0,"th",24)}function p(mt,Ht){if(1&mt){const _t=e.EpF();e.TgZ(0,"button",86),e.NdJ("click",function(){return e.CHM(_t),e.oxw(3).openManagingGroups()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"supervised_user_circle"),e.qZA(),e.qZA()}2&mt&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS"))}function o(mt,Ht){if(1&mt&&(e.TgZ(0,"td",25),e.YNc(1,p,4,3,"button",85),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===_t.type&&!_t.forDelete)}}function t(mt,Ht){1&mt&&e._UZ(0,"th",24)}function n(mt,Ht){if(1&mt){const _t=e.EpF();e.TgZ(0,"button",89),e.NdJ("click",function(){e.CHM(_t);const Lt=e.oxw().$implicit;return e.oxw(2).edit(Lt)}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"edit"),e.qZA(),e.qZA()}2&mt&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.EDIT"))}function c(mt,Ht){1&mt&&(e.TgZ(0,"div",90),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&mt&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MARK_DELETE")," "))}function u(mt,Ht){if(1&mt&&(e.TgZ(0,"td",25),e.YNc(1,n,4,3,"button",87),e.YNc(2,c,3,3,"div",88),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.Q6J("ngIf",!_t.forDelete),e.xp6(1),e.Q6J("ngIf",_t.forDelete)}}function y(mt,Ht){1&mt&&e._UZ(0,"th",24)}function M(mt,Ht){if(1&mt){const _t=e.EpF();e.TgZ(0,"button",92),e.NdJ("click",function(){e.CHM(_t);const Lt=e.oxw().$implicit;return e.oxw(2).delete(Lt)}),e.ALo(1,"multiWordDataCy"),e.ALo(2,"translate"),e.TgZ(3,"mat-icon"),e._uU(4,"delete"),e.qZA(),e.qZA()}if(2&mt){const _t=e.oxw().$implicit;e.Q2q("data-cy","",e.lcZ(1,2,_t.shortname),"-delete"),e.s9C("matTooltip",e.lcZ(2,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DELETE"))}}function re(mt,Ht){if(1&mt){const _t=e.EpF();e.TgZ(0,"button",86),e.NdJ("click",function(){e.CHM(_t);const Lt=e.oxw().$implicit;return e.oxw(2).restore(Lt)}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"settings_backup_restore"),e.qZA(),e.qZA()}2&mt&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.REVERT_DELETE"))}function et(mt,Ht){if(1&mt&&(e.TgZ(0,"td",25),e.YNc(1,M,5,6,"button",91),e.YNc(2,re,4,3,"button",85),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.Q6J("ngIf",!_t.forDelete),e.xp6(1),e.Q6J("ngIf",_t.forDelete)}}function yt(mt,Ht){1&mt&&e._UZ(0,"tr",93)}function pt(mt,Ht){if(1&mt&&e._UZ(0,"tr",94),2&mt){const _t=Ht.$implicit,Je=e.oxw(2);e.ekj("make-green",_t.id<=0)("make-red",_t.forDelete)("make-yellow",-1!==Je.itemsChanged.indexOf(_t.id)&&!_t.forDelete&&_t.id>0),e.Q6J("cdkDragData",_t)}}function Nt(mt,Ht){if(1&mt){const _t=e.EpF();e.TgZ(0,"div",4),e.TgZ(1,"div",5),e.TgZ(2,"div",6),e.TgZ(3,"table",7,8),e.NdJ("cdkDropListDropped",function(Lt){return e.CHM(_t),e.oxw().drop(Lt)}),e.ynx(5,9),e.YNc(6,j,1,0,"th",10),e.YNc(7,H,4,0,"td",11),e.BQk(),e.ynx(8,12),e.YNc(9,Q,3,3,"th",10),e.YNc(10,te,2,2,"td",11),e.BQk(),e.ynx(11,13),e.YNc(12,se,3,3,"th",10),e.YNc(13,ge,3,3,"td",11),e.BQk(),e.ynx(14,14),e.YNc(15,Ne,3,3,"th",15),e.YNc(16,ne,2,1,"td",16),e.BQk(),e.ynx(17,17),e.YNc(18,Me,3,3,"th",15),e.YNc(19,me,2,1,"td",16),e.BQk(),e.ynx(20,18),e.YNc(21,Te,3,3,"th",10),e.YNc(22,i,13,12,"td",11),e.BQk(),e.ynx(23,19),e.YNc(24,r,1,0,"th",10),e.YNc(25,o,2,1,"td",11),e.BQk(),e.ynx(26,20),e.YNc(27,t,1,0,"th",10),e.YNc(28,u,3,2,"td",11),e.BQk(),e.ynx(29,21),e.YNc(30,y,1,0,"th",10),e.YNc(31,et,3,2,"td",11),e.BQk(),e.YNc(32,yt,1,0,"tr",22),e.YNc(33,pt,1,7,"tr",23),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&mt){const _t=e.oxw();e.xp6(3),e.Q6J("cdkDropListDisabled",_t.dragDisabled)("dataSource",_t.dataSource),e.xp6(29),e.Q6J("matHeaderRowDef",_t.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",_t.displayedColumns)}}function It(mt,Ht){1&mt&&(e.TgZ(0,"app-alert",95),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&mt&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM"),"\n"))}let Zt=(()=>{class mt{constructor(_t,Je,Lt,ht){this.dialog=_t,this.notificator=Je,this.router=Lt,this.translate=ht,this.applicationFormItems=[],this.displayedColumns=["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"],this.applicationFormItemsChange=new e.vpe,this.itemsChanged=[],this.dataSource=this.applicationFormItems,this.mapForCombobox=new Map,this.dragDisabled=!0}ngOnInit(){this.ifEmpty=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IF_EMPTY"),this.ifPrefilled=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IF_PREFILLED"),this.alwaysDisabled=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.ALWAYS_DISABLED_HINT"),this.alwaysHidden=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.ALWAYS_HIDDEN_HINT"),this.isDisabledIf=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.DISABLED_IF_HINT"),this.isHiddenIf=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.HIDDEN_IF_HINT"),this.isEmpty=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IS_EMPTY_HINT"),this.isPrefilled=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IS_PREFILLED_HINT")}ngOnChanges(){this.dataSource=this.applicationFormItems,this.refreshApplicationForm&&(this.itemsChanged=[])}disabledHiddenDependency(_t,Je,Lt){let ht="";if("IF_EMPTY"===Je||"IF_PREFILLED"===Je){const Rt=null===Lt?"":this.applicationFormItems.find(qe=>qe.id===Lt).shortname;ht="IF_EMPTY"===Je?`(${this.ifEmpty} ${Rt})`:`(${this.ifPrefilled} ${Rt})`}return ht}disabledTooltip(_t){let Je;switch(_t.disabled){case"ALWAYS":return this.alwaysDisabled;case"IF_EMPTY":return Je=null===_t.disabledDependencyItemId?"":this.applicationFormItems.find(Lt=>Lt.id===_t.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${Je} ${this.isEmpty}`;case"IF_PREFILLED":return Je=null===_t.disabledDependencyItemId?"":this.applicationFormItems.find(Lt=>Lt.id===_t.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${Je} ${this.isPrefilled}`}}hiddenTooltip(_t){let Je;switch(_t.hidden){case"ALWAYS":return this.alwaysHidden;case"IF_EMPTY":return Je=null===_t.hiddenDependencyItemId?"":this.applicationFormItems.find(Lt=>Lt.id===_t.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${Je} ${this.isEmpty}`;case"IF_PREFILLED":return Je=null===_t.hiddenDependencyItemId?"":this.applicationFormItems.find(Lt=>Lt.id===_t.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${Je} ${this.isPrefilled}`}}edit(_t){const Je=(0,O.kZ)();Je.width="600px",Je.height="600px",Je.data={voId:this.applicationForm.vo.id,group:this.applicationForm.group,applicationFormItem:_t,theme:this.theme,allItems:this.applicationFormItems},this.dialog.open(b._,Je).afterClosed().subscribe(ht=>{ht&&(this.itemsChanged.push(_t.id),this.applicationFormItemsChange.emit())})}delete(_t){const Je=(0,O.kZ)();Je.width="500px",this.dialog.open(A,Je).afterClosed().subscribe(ht=>{ht&&(_t.forDelete=!0,0===_t.id&&(this.applicationFormItems.splice(this.applicationFormItems.indexOf(_t),1),this.table.renderRows()),this.applicationFormItemsChange.emit())})}drop(_t){this.dragDisabled=!0;const Je=this.applicationFormItems.indexOf(_t.item.data);(0,f.bA)(this.applicationFormItems,Je,_t.currentIndex),this.itemsChanged.push(this.applicationFormItems[_t.currentIndex].id),this.applicationFormItemsChange.emit(),this.table.renderRows()}getLocalizedOptions(_t){if(_t.i18n[this.translate.getDefaultLang()]){const Je=_t.i18n[this.translate.getDefaultLang()].options;if(null!==Je&&""!==Je){const Lt=[];for(const ht of Je.split("|"))Lt.push(ht.split("#")[1]);return Lt}}return[]}getLocalizedLabel(_t){return _t.i18n[this.translate.getDefaultLang()]?_t.i18n[this.translate.getDefaultLang()].label:_t.shortname}restore(_t){_t.forDelete=!1}openManagingGroups(){this.router.navigate(["/organizations",this.applicationForm.vo.id,"settings","applicationForm","manageGroups"])}}return mt.\u0275fac=function(_t){return new(_t||mt)(e.Y36(g.uw),e.Y36(s.V6),e.Y36(E.F0),e.Y36(m.sK))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["app-application-form-list"]],viewQuery:function(_t,Je){if(1&_t&&e.Gf(ke,5),2&_t){let Lt;e.iGM(Lt=e.CRH())&&(Je.table=Lt.first)}},inputs:{loading:"loading",applicationForm:"applicationForm",applicationFormItems:"applicationFormItems",theme:"theme",displayedColumns:"displayedColumns",refreshApplicationForm:"refreshApplicationForm"},outputs:{applicationFormItemsChange:"applicationFormItemsChange"},features:[e.TTD],decls:3,vars:3,consts:[["class","ml-auto mr-auto",4,"ngIf"],["class","card mt-2",4,"ngIf"],["alert_type","warn",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"card","mt-2"],[1,"card-body","table-theme"],[1,"overflow-auto"],["cdkDropList","","cdkDropListData","dataSource","mat-table","",1,"w-100",3,"cdkDropListDisabled","dataSource","cdkDropListDropped"],["table",""],["matColumnDef","drag"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","shortname"],["matColumnDef","type"],["matColumnDef","disabled"],["class","center","mat-header-cell","",4,"matHeaderCellDef"],["class","center","mat-cell","",4,"matCellDef"],["matColumnDef","hidden"],["matColumnDef","preview"],["matColumnDef","managegroups"],["matColumnDef","edit"],["matColumnDef","delete"],["mat-header-row","",4,"matHeaderRowDef"],["cdkDrag","","mat-row","",3,"cdkDragData","make-green","make-red","make-yellow",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"mousedown"],["mat-header-cell","",1,"center"],["mat-cell","",1,"center"],[4,"ngIf"],[1,"pointer",3,"matTooltip"],["type","text"],["type","text",1,"mb-1"],[4,"ngFor","ngForOf"],["type","reset",3,"value"],["name","temp","type","radio"],[3,"innerHTML"],[3,"ngModel","ngModelChange"],["selected","","value","false",4,"ngFor","ngForOf"],["value","true"],["selected","","value","false"],["type","checkbox"],["color","accent","mat-flat-button",""],["id","timezone-offset","name","timezone_offset",1,"span5"],["selected","selected","value","-12:00"],["value","-12:00"],["value","-11:00"],["value","-10:00"],["value","-09:50"],["value","-09:00"],["value","-08:00"],["value","-07:00"],["value","-06:00"],["value","-05:00"],["value","-04:50"],["value","-04:00"],["value","-03:50"],["value","-03:00"],["value","-02:00"],["value","-01:00"],["value","+00:00"],["value","+01:00"],["value","+02:00"],["value","+03:00"],["value","+03:50"],["value","+04:00"],["value","+04:50"],["value","+05:00"],["value","+05:50"],["value","+05:75"],["value","+06:00"],["value","+06:50"],["value","+07:00"],["value","+08:00"],["value","+08:75"],["value","+09:00"],["value","+09:50"],["value","+10:00"],["value","+10:50"],["value","+11:00"],["value","+11:50"],["value","+12:00"],["value","+12:75"],["value","+13:00"],["value","+14:00"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["class","ml-auto","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["class","font-weight-bold",4,"ngIf"],["mat-icon-button","",1,"ml-auto",3,"matTooltip","click"],[1,"font-weight-bold"],["color","warn","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["color","warn","mat-icon-button","",3,"matTooltip","click"],["mat-header-row",""],["cdkDrag","","mat-row","",3,"cdkDragData"],["alert_type","warn"]],template:function(_t,Je){1&_t&&(e.YNc(0,ae,1,0,"mat-spinner",0),e.YNc(1,Nt,34,4,"div",1),e.YNc(2,It,3,3,"app-alert",2)),2&_t&&(e.Q6J("ngIf",Je.loading),e.xp6(1),e.Q6J("ngIf",0!==Je.applicationFormItems.length&&!Je.loading),e.xp6(1),e.Q6J("ngIf",0===Je.applicationFormItems.length&&!Je.loading))},directives:[h.O5,k.$g,L.BZ,f.Wj,L.w1,L.fO,L.ge,L.Dz,L.ev,T.lW,V.Hw,$.gM,ue._Y,ue.JL,ue.F,h.sg,ue.YN,ue.Kr,ue.EJ,ue.JJ,ue.On,L.as,L.XQ,L.nj,L.Gk,f.Zt,ce.w],pipes:[m.X$,Le.c,de.R],styles:[".cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drop-list-dragging[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.movable-row[_ngcontent-%COMP%]{cursor:move}.make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.make-green[_ngcontent-%COMP%]{background-color:#c8e6c9}.make-yellow[_ngcontent-%COMP%]{background-color:#fff9c4}.center[_ngcontent-%COMP%]{text-align:center}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),mt})()},9146:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>yt});var e=d(9315),f=d(9244),g=d(84847),T=d(36908),m=d(36787),A=d(22868),s=d(69808),b=d(5e3),O=d(10036),E=d(18750),h=d(20773),k=d(32075),L=d(25245),V=d(29772);function $(pt,Nt){1&pt&&(b.TgZ(0,"div"),b.TgZ(1,"mat-icon",1),b._uU(2,"arrow_right_alt"),b.qZA(),b.qZA())}function ue(pt,Nt){1&pt&&(b.TgZ(0,"div"),b.TgZ(1,"mat-icon",2),b._uU(2,"restore"),b.qZA(),b.qZA())}function ce(pt,Nt){1&pt&&(b.TgZ(0,"div"),b.TgZ(1,"mat-icon",3),b._uU(2,"nat"),b.qZA(),b.qZA())}let Le=(()=>{class pt{constructor(){}}return pt.\u0275fac=function(It){return new(It||pt)},pt.\u0275cmp=b.Xpm({type:pt,selectors:[["app-application-type-icon"]],inputs:{applicationType:"applicationType"},decls:4,vars:3,consts:[[4,"ngIf"],["matTooltip","Initial","matTooltipPosition","above"],["matTooltip","Extension","matTooltipPosition","above"],["matTooltip","Embedded","matTooltipPosition","above"]],template:function(It,Zt){1&It&&(b.TgZ(0,"div"),b.YNc(1,$,3,0,"div",0),b.YNc(2,ue,3,0,"div",0),b.YNc(3,ce,3,0,"div",0),b.qZA()),2&It&&(b.xp6(1),b.Q6J("ngIf","INITIAL"===Zt.applicationType),b.xp6(1),b.Q6J("ngIf","EXTENSION"===Zt.applicationType),b.xp6(1),b.Q6J("ngIf","EMBEDDED"===Zt.applicationType))},directives:[s.O5,L.Hw,V.gM],styles:[""]}),pt})();var de=d(50301),ke=d(30325),ae=d(98380),j=d(51062),H=d(43157),Q=d(31359);function te(pt,Nt){1&pt&&(b.TgZ(0,"div",26),b._UZ(1,"mat-spinner",27),b.qZA())}function se(pt,Nt){1&pt&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.ID")," "))}function ge(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(It.id)}}function Ne(pt,Nt){1&pt&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.CREATED_DATE")," "))}function Fe(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.ALo(2,"date"),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(b.xi3(2,1,It.createdAt,"d.M.y"))}}function ne(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.VO_ID")))}function Me(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(It.vo.id)}}function ve(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.VO_NAME")))}function me(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(It.vo.name)}}function Te(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.GROUP_ID")))}function ee(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.hij(" ",It.group?It.group.id:""," ")}}function R(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.GROUP_NAME")))}function Oe(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.hij(" ",It.group?It.group.name:""," ")}}function Ie(pt,Nt){1&pt&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.TYPE")," "))}function He(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._UZ(1,"app-application-type-icon",31),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Q6J("applicationType",It.type)}}function fe(pt,Nt){1&pt&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.STATE")," "))}function Ce(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._UZ(1,"span",32),b.ALo(2,"applicationState"),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Q6J("outerHTML",b.lcZ(2,1,It.state),b.oJD)}}function Ve(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.EXTSOURCENAME")))}function Xe(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(It.extSourceName)}}function tt(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.EXTSOURCETYPE")))}function rt(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(It.extSourceType)}}function N(pt,Nt){1&pt&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.USER")," "))}function he(pt,Nt){if(1&pt&&(b.TgZ(0,"div"),b._uU(1),b.qZA()),2&pt){const It=b.oxw().$implicit;b.xp6(1),b.hij(" ",It.createdBy.slice(It.createdBy.lastIndexOf("=")+1,It.createdBy.length)," ")}}function D(pt,Nt){if(1&pt&&(b._uU(0),b.ALo(1,"userFullName")),2&pt){const It=b.oxw().$implicit;b.hij(" ",b.lcZ(1,1,It.user)," ")}}function S(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b.YNc(1,he,2,1,"div",33),b.YNc(2,D,2,3,"ng-template",null,34,b.W1O),b.qZA()),2&pt){const It=Nt.$implicit,Zt=b.MAs(3);b.xp6(1),b.Q6J("ngIf",null===It.user)("ngIfElse",Zt)}}function I(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.CREATED_BY")))}function P(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.hij(" ",It.createdBy.slice(It.createdBy.lastIndexOf("=")+1,It.createdBy.length)," ")}}function i(pt,Nt){1&pt&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.MODIFIED_BY")," "))}function r(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit,Zt=b.oxw();b.xp6(1),b.Oqu(Zt.getFriendlyName(It.modifiedBy))}}function p(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.MODIFIED_AT")))}function o(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.ALo(2,"date"),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(b.xi3(2,1,It.modifiedAt,"d.M.y"))}}function t(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.FEDINFO")))}function n(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(It.fedInfo)}}function c(pt,Nt){if(1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.qZA()),2&pt){const It=b.oxw().$implicit;b.xp6(1),b.Oqu(It)}}function u(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit,Zt=b.oxw().$implicit,mt=b.oxw();b.xp6(1),b.hij(" ",mt.getValue(It.formData,Zt)," ")}}function y(pt,Nt){1&pt&&(b.ynx(0,35),b.YNc(1,c,2,1,"th",9),b.YNc(2,u,2,1,"td",6),b.BQk()),2&pt&&b.s9C("matColumnDef",Nt.$implicit)}function M(pt,Nt){1&pt&&b._UZ(0,"tr",36)}function re(pt,Nt){if(1&pt&&b._UZ(0,"tr",37),2&pt){const It=Nt.$implicit,Zt=b.oxw();b.ekj("cursor-pointer",!Zt.disableRouting),b.Q6J("perunWebAppsMiddleClickRouterLink",Zt.selectApplication(It))("routerLink",Zt.selectApplication(It))}}function et(pt,Nt){1&pt&&(b.TgZ(0,"app-alert",38),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.Q6J("alert_type","warn"),b.xp6(1),b.hij(" ",b.lcZ(2,2,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND"),"\n"))}let yt=(()=>{class pt{constructor(It,Zt,mt){this.authResolver=It,this.tableConfigService=Zt,this.dynamicPaginatingService=mt,this.displayedColumns=[],this.disableRouting=!1,this.searchString="",this.dateTo=new Date,this.dateFrom=this.yearAgo(),this.refreshTable=!1,this.parsedColumns=[],this.pageSizeOptions=f.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,m.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,A.b)(()=>this.loadApplicationsPage())).subscribe()}ngOnInit(){var It,Zt,mt,Ht;this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(_t=>"id"!==_t)),this.dataSource=new T.Hy(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadApplications(this.tableConfigService.getTablePageSize(this.tableId),0,"DESCENDING",this.getSortDataColumn(),this.searchString,this.includeGroupApps,this.states,this.dateToString(this.dateFrom),this.dateToString(this.dateTo),null!==(Zt=null===(It=this.member)||void 0===It?void 0:It.userId)&&void 0!==Zt?Zt:null,null!==(Ht=null===(mt=this.group)||void 0===mt?void 0:mt.id)&&void 0!==Ht?Ht:null,this.getVoId()),this.dataSource.loading$.subscribe(_t=>{if(_t||!this.displayedColumns.includes("fedInfo"))return;this.displayedColumns=this.displayedColumns.filter(Lt=>!this.parsedColumns.includes(Lt)),this.parsedColumns=[];const Je=this.dataSource.getData()[0];this.parseColumns(Je.formData)})}ngOnChanges(){this.refreshTable=!1,this.dataSource&&(this.child.paginator.pageIndex=0,this.loadApplicationsPage())}loadApplicationsPage(){var It,Zt,mt,Ht;this.dataSource.loadApplications(this.child.paginator.pageSize,this.child.paginator.pageIndex,"asc"===this.sort.direction?"ASCENDING":"DESCENDING",this.getSortDataColumn(),this.searchString,this.includeGroupApps,this.states,this.dateToString(this.dateFrom),this.dateToString(this.dateTo),null!==(Zt=null===(It=this.member)||void 0===It?void 0:It.userId)&&void 0!==Zt?Zt:null,null!==(Ht=null===(mt=this.group)||void 0===mt?void 0:mt.id)&&void 0!==Ht?Ht:null,this.getVoId(),!0)}exportData(It){(0,f.O6)((0,f.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),It)}selectApplication(It){return this.disableRouting?null:this.group?["/organizations",It.vo.id,"groups",this.group.id,"applications",It.id]:this.member?["/organizations",It.vo.id,"members",this.member.id,"applications",It.id]:["/organizations",It.vo.id,"applications",It.id]}getExportDataForColumn(It,Zt){var mt,Ht,_t,Je;switch(Zt){case"id":return It.id.toString();case"voId":return It.vo.id.toString();case"voName":return It.vo.name;case"groupId":return null!==(Ht=null===(mt=It.group)||void 0===mt?void 0:mt.id.toString())&&void 0!==Ht?Ht:"";case"groupName":return null!==(Je=null===(_t=It.group)||void 0===_t?void 0:_t.name)&&void 0!==Je?Je:"";case"type":return It.type;case"fedInfo":return It.fedInfo;case"formData":return this.stringify(It.formData);case"state":return It.state;case"extSourceName":return It.extSourceName;case"extSourceType":return It.extSourceType;case"user":return It.user?(0,f.bD)(It.user):"";case"createdBy":return It.createdBy;case"createdAt":return It.createdAt;case"modifiedBy":return It.modifiedBy;case"modifiedAt":return It.modifiedAt;default:return It[Zt]}}getSortDataColumn(){if(!this.sort)return e.sY.DATECREATED;switch(this.sort.active){case"id":return e.sY.ID;case"createdAt":default:return e.sY.DATECREATED;case"type":return e.sY.TYPE;case"state":return e.sY.STATE;case"user":return e.sY.SUBMITTER;case"groupName":return e.sY.GROUPNAME;case"modifiedBy":return e.sY.MODIFIEDBY}}getFriendlyName(It){const Zt=It.lastIndexOf("/CN=");if(-1!==Zt){const mt=It.slice(Zt+4,It.length).replace("/unstructuredName="," ");return-1!==mt.lastIndexOf("\\")?It.slice(It.lastIndexOf("=")+1,It.length):mt}return It}yearAgo(){const It=new Date;return It.setDate(It.getDate()-365),It}dateToString(It){return(0,s.p6)(It,"yyyy-MM-dd","en-GB")}getVoId(){return this.vo?this.vo.id:this.group?this.group.voId:this.member?this.member.voId:void 0}stringify(It){const Zt=Ht=>Object.entries(Ht).reduce((_t,[Je,Lt])=>_t[Je]instanceof Object?_t[Je]=Zt(_t[Je]):(null==Lt||"null"===Lt||0===Lt.length||(_t[Je]=Lt),_t),{});let mt=JSON.stringify(Zt(It));return mt=mt.replace("{","["),mt=mt.replace("}","]"),mt}getFormDataString(It){return this.stringify(It.formItem)}parseColumns(It){It.forEach(Zt=>{this.displayedColumns.includes(Zt.shortname)||this.displayedColumns.push(Zt.shortname),this.parsedColumns.includes(Zt.shortname)||this.parsedColumns.push(Zt.shortname)})}getValue(It,Zt){var mt;const Ht=It.filter(_t=>_t.shortname===Zt);return 0===Ht.length?"":null!==(mt=Ht[0].value)&&void 0!==mt?mt:Ht[0].prefilledValue}}return pt.\u0275fac=function(It){return new(It||pt)(b.Y36(T.x4),b.Y36(O.dB),b.Y36(T.ly))},pt.\u0275cmp=b.Xpm({type:pt,selectors:[["app-applications-dynamic-list"]],viewQuery:function(It,Zt){if(1&It&&(b.Gf(f.l9,7),b.Gf(g.YE,5)),2&It){let mt;b.iGM(mt=b.CRH())&&(Zt.child=mt.first),b.iGM(mt=b.CRH())&&(Zt.sort=mt.first)}},inputs:{displayedColumns:"displayedColumns",tableId:"tableId",disableRouting:"disableRouting",searchString:"searchString",group:"group",member:"member",vo:"vo",includeGroupApps:"includeGroupApps",states:"states",dateTo:"dateTo",dateFrom:"dateFrom",refreshTable:"refreshTable",parsedColumns:"parsedColumns"},features:[b.TTD],decls:56,vars:16,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","tableId","exportData"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","createdAt","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","createdAt"],["matColumnDef","voId"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","voName"],["matColumnDef","groupId"],["matColumnDef","groupName"],["matColumnDef","type"],["matColumnDef","state"],["matColumnDef","extSourceName"],["matColumnDef","extSourceType"],["matColumnDef","user"],["matColumnDef","createdBy"],["matColumnDef","modifiedBy"],["matColumnDef","modifiedAt"],["matColumnDef","fedInfo"],[3,"matColumnDef",4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell",""],[3,"applicationType"],[3,"outerHTML"],[4,"ngIf","ngIfElse"],["name",""],[3,"matColumnDef"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[3,"alert_type"]],template:function(It,Zt){1&It&&(b.TgZ(0,"div",0),b.ALo(1,"async"),b.TgZ(2,"perun-web-apps-table-wrapper",1),b.NdJ("exportData",function(Ht){return Zt.exportData(Ht)}),b.YNc(3,te,2,0,"div",2),b.ALo(4,"async"),b.TgZ(5,"table",3),b.ynx(6,4),b.YNc(7,se,3,3,"th",5),b.YNc(8,ge,2,1,"td",6),b.BQk(),b.ynx(9,7),b.YNc(10,Ne,3,3,"th",5),b.YNc(11,Fe,3,4,"td",6),b.BQk(),b.ynx(12,8),b.YNc(13,ne,3,3,"th",9),b.YNc(14,Me,2,1,"td",6),b.BQk(),b.ynx(15,10),b.YNc(16,ve,3,3,"th",9),b.YNc(17,me,2,1,"td",6),b.BQk(),b.ynx(18,11),b.YNc(19,Te,3,3,"th",9),b.YNc(20,ee,2,1,"td",6),b.BQk(),b.ynx(21,12),b.YNc(22,R,3,3,"th",9),b.YNc(23,Oe,2,1,"td",6),b.BQk(),b.ynx(24,13),b.YNc(25,Ie,3,3,"th",5),b.YNc(26,He,2,1,"td",6),b.BQk(),b.ynx(27,14),b.YNc(28,fe,3,3,"th",5),b.YNc(29,Ce,3,3,"td",6),b.BQk(),b.ynx(30,15),b.YNc(31,Ve,3,3,"th",9),b.YNc(32,Xe,2,1,"td",6),b.BQk(),b.ynx(33,16),b.YNc(34,tt,3,3,"th",9),b.YNc(35,rt,2,1,"td",6),b.BQk(),b.ynx(36,17),b.YNc(37,N,3,3,"th",5),b.YNc(38,S,4,2,"td",6),b.BQk(),b.ynx(39,18),b.YNc(40,I,3,3,"th",9),b.YNc(41,P,2,1,"td",6),b.BQk(),b.ynx(42,19),b.YNc(43,i,3,3,"th",5),b.YNc(44,r,2,1,"td",6),b.BQk(),b.ynx(45,20),b.YNc(46,p,3,3,"th",9),b.YNc(47,o,3,4,"td",6),b.BQk(),b.ynx(48,21),b.YNc(49,t,3,3,"th",9),b.YNc(50,n,2,1,"td",6),b.BQk(),b.YNc(51,y,3,1,"ng-container",22),b.YNc(52,M,1,0,"tr",23),b.YNc(53,re,1,4,"tr",24),b.qZA(),b.qZA(),b.qZA(),b.YNc(54,et,3,4,"app-alert",25),b.ALo(55,"async")),2&It&&(b.Q6J("hidden",0===Zt.dataSource.allObjectCount&&!1===b.lcZ(1,10,Zt.dataSource.loading$)),b.xp6(2),b.Q6J("dataLength",Zt.dataSource.allObjectCount)("pageSizeOptions",Zt.pageSizeOptions)("tableId",Zt.tableId),b.xp6(1),b.Q6J("ngIf",b.lcZ(4,12,Zt.dataSource.loading$)),b.xp6(2),b.Q6J("dataSource",Zt.dataSource),b.xp6(46),b.Q6J("ngForOf",Zt.parsedColumns),b.xp6(1),b.Q6J("matHeaderRowDef",Zt.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",Zt.displayedColumns),b.xp6(1),b.Q6J("ngIf",0===Zt.dataSource.allObjectCount&&!1===b.lcZ(55,14,Zt.dataSource.loading$)))},directives:[E.l,s.O5,h.$g,k.BZ,g.YE,k.w1,k.fO,k.ge,g.nU,k.Dz,k.ev,Le,s.sg,k.as,k.XQ,k.nj,k.Gk,de.YH,ke.rH,ae.w],pipes:[s.Ov,j.X$,s.uU,H.h,Q.d],styles:[""]}),pt})()},55857:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>Le});var e=d(9315),f=d(10036),g=d(36908),T=d(93075),m=d(69808),A=d(5e3),s=d(96214),b=d(47423),O=d(67322),E=d(74107),h=d(90508),k=d(64901),L=d(39798),V=d(9146),$=d(51062);function ue(de,ke){if(1&de){const ae=A.EpF();A.TgZ(0,"button",14),A.NdJ("click",function(){return A.CHM(ae),A.oxw().showAllDetails=!0}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&de&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function ce(de,ke){if(1&de){const ae=A.EpF();A.TgZ(0,"button",14),A.NdJ("click",function(){return A.CHM(ae),A.oxw().showAllDetails=!1}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&de&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}let Le=(()=>{class de{constructor(ae,j,H){this.registrarManager=ae,this.guiAuthResolver=j,this.entityStorageService=H,this.state="pending",this.currentStates=["NEW","VERIFIED"],this.displayedColumns=["id","createdAt","type","state","createdBy","groupName","modifiedBy"],this.detailedDisplayedColumns=["id","createdAt","voId","voName","groupId","groupName","type","state","extSourceName","extSourceType","user","createdBy","modifiedBy","modifiedAt","fedInfo"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=f.Af,this.tableId=f.gB,this.refresh=!1}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.startDate=new T.NI((0,m.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new T.NI((0,m.p6)(new Date,"yyyy-MM-dd","en-GB"))}select(){switch(this.state){case"approved":this.currentStates=["APPROVED"];break;case"rejected":this.currentStates=["REJECTED"];break;case"wfmv":this.currentStates=["NEW"];break;case"submited":this.currentStates=["VERIFIED"];break;case"pending":this.currentStates=["NEW","VERIFIED"];break;case"all":this.currentStates=null}}yearAgo(){const ae=new Date;return ae.setDate(ae.getDate()-365),ae}applyFilter(ae){this.filterValue=ae}}return de.id="GroupApplicationsComponent",de.\u0275fac=function(ae){return new(ae||de)(A.Y36(e.tk),A.Y36(g.x4),A.Y36(g.fb))},de.\u0275cmp=A.Xpm({type:de,selectors:[["app-group-applications"]],hostVars:2,hostBindings:function(ae,j){2&ae&&A.ekj("router-component",j.true)},decls:34,vars:38,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"w-25","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],[3,"tableId","searchString","displayedColumns","states","dateFrom","dateTo","refreshTable","group"],["mat-stroked-button","",1,"mr-2",3,"click"]],template:function(ae,j){1&ae&&(A.TgZ(0,"h1",0),A._uU(1),A.ALo(2,"translate"),A.qZA(),A.TgZ(3,"div"),A.TgZ(4,"perun-web-apps-refresh-button",1),A.NdJ("refresh",function(){return j.refresh=!j.refresh}),A.qZA(),A.YNc(5,ue,3,3,"button",2),A.YNc(6,ce,3,3,"button",2),A.TgZ(7,"mat-form-field",3),A.TgZ(8,"mat-label"),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.TgZ(11,"mat-select",4),A.NdJ("selectionChange",function(){return j.select()})("valueChange",function(Q){return j.state=Q}),A.TgZ(12,"mat-option",5),A._uU(13),A.ALo(14,"translate"),A.qZA(),A.TgZ(15,"mat-option",6),A._uU(16),A.ALo(17,"translate"),A.qZA(),A.TgZ(18,"mat-option",7),A._uU(19),A.ALo(20,"translate"),A.qZA(),A.TgZ(21,"mat-option",8),A._uU(22),A.ALo(23,"translate"),A.qZA(),A.TgZ(24,"mat-option",9),A._uU(25),A.ALo(26,"translate"),A.qZA(),A.TgZ(27,"mat-option",10),A._uU(28),A.ALo(29,"translate"),A.qZA(),A.qZA(),A.qZA(),A.TgZ(30,"perun-web-apps-debounce-filter",11),A.NdJ("filter",function(Q){return j.applyFilter(Q)}),A.qZA(),A.TgZ(31,"perun-web-apps-date-range",12),A.NdJ("datePicker",function(){return j.select()}),A.qZA(),A.qZA(),A.TgZ(32,"div"),A._UZ(33,"app-applications-dynamic-list",13),A.qZA()),2&ae&&(A.xp6(1),A.Oqu(A.lcZ(2,22,"VO_DETAIL.APPLICATION.TITLE")),A.xp6(4),A.Q6J("ngIf",!j.showAllDetails),A.xp6(1),A.Q6J("ngIf",j.showAllDetails),A.xp6(3),A.Oqu(A.lcZ(10,24,"APPLICATIONS_LIST.STATE")),A.xp6(2),A.Q6J("value",j.state),A.xp6(2),A.Oqu(A.lcZ(14,26,"VO_DETAIL.APPLICATION.SELECTION_ALL")),A.xp6(3),A.Oqu(A.lcZ(17,28,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),A.xp6(3),A.Oqu(A.lcZ(20,30,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),A.xp6(3),A.Oqu(A.lcZ(23,32,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),A.xp6(3),A.Oqu(A.lcZ(26,34,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),A.xp6(3),A.Oqu(A.lcZ(29,36,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),A.xp6(2),A.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),A.xp6(1),A.Q6J("startDate",j.startDate)("endDate",j.endDate),A.xp6(2),A.Q6J("tableId",j.showAllDetails?j.detailTableId:j.tableId)("searchString",j.filterValue)("displayedColumns",j.showAllDetails?j.detailedDisplayedColumns:j.displayedColumns)("states",j.currentStates)("dateFrom",j.startDate.value)("dateTo",j.endDate.value)("refreshTable",j.refresh)("group",j.group))},directives:[s.t,m.O5,b.lW,O.KE,O.hX,E.gD,h.ey,k.P,L.S,V.S],pipes:[$.X$],styles:[""]}),de})()},96180:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>Te});var e=d(20449),f=d(36908),g=d(64080),T=d(97034),m=d(53455),A=d(9315),s=d(10036),b=d(9244),O=d(74414),E=d(93075),h=d(5e3),k=d(48966),L=d(69808),V=d(98380),$=d(96214),ue=d(29772),ce=d(47423),Le=d(67322),de=d(74107),ke=d(90508),ae=d(64901),j=d(20773),H=d(4811),Q=d(51062),te=d(20551);function se(ee,R){1&ee&&(h.TgZ(0,"app-alert",15),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ee&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.MEMBERS.ACTIONS_DISABLED"),"\n"))}function ge(ee,R){if(1&ee){const Oe=h.EpF();h.TgZ(0,"button",16),h.NdJ("click",function(){return h.CHM(Oe),h.oxw().onAddMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ee){const Oe=h.oxw();h.Q6J("disabled",Oe.synchEnabled||Oe.blockGroupManualMemberAdding),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function Ne(ee,R){if(1&ee){const Oe=h.EpF();h.TgZ(0,"button",17),h.NdJ("click",function(){return h.CHM(Oe),h.oxw().onInviteMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ee){const Oe=h.oxw();h.Q6J("disabled",Oe.synchEnabled),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.MEMBERS.INVITE_MEMBER")," ")}}function Fe(ee,R){if(1&ee){const Oe=h.EpF();h.TgZ(0,"button",18),h.NdJ("click",function(){return h.CHM(Oe),h.oxw().onRemoveMembers()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ee){const Oe=h.oxw();h.Q6J("disabled",Oe.selection.isEmpty()||Oe.synchEnabled),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function ne(ee,R){if(1&ee&&(h.TgZ(0,"mat-option",19),h._uU(1),h.ALo(2,"memberStatus"),h.qZA()),2&ee){const Oe=R.$implicit;h.Q6J("value",Oe),h.xp6(1),h.Oqu(h.lcZ(2,2,Oe))}}function Me(ee,R){if(1&ee&&(h.TgZ(0,"mat-option",19),h._uU(1),h.ALo(2,"memberStatus"),h.qZA()),2&ee){const Oe=R.$implicit;h.Q6J("value",Oe),h.xp6(1),h.Oqu(h.lcZ(2,2,Oe))}}function ve(ee,R){1&ee&&h._UZ(0,"mat-spinner",20)}function me(ee,R){if(1&ee&&h._UZ(0,"perun-web-apps-members-dynamic-list",21),2&ee){const Oe=h.oxw();h.Q6J("voId",Oe.group.voId)("groupId",Oe.group.id)("tableId",Oe.tableId)("selection",Oe.selection)("displayedColumns",Oe.displayedColumns)("updateTable",Oe.updateTable)("searchString",Oe.searchString)("selectedStatuses",Oe.selectedStatuses)("selectedGroupStatuses",Oe.selectedGroupStatuses)("attrNames",Oe.memberAttrNames)}}let Te=(()=>{class ee{constructor(Oe,Ie,He,fe,Ce,Ve,Xe,tt){this.groupService=Oe,this.dialog=Ie,this.guiAuthResolver=He,this.storeService=fe,this.attributesManager=Ce,this.apiRequest=Ve,this.notificator=Xe,this.entityStorageService=tt,this.synchEnabled=!1,this.updateTable=!1,this.loading=!1,this.tableId=s.dI,this.memberAttrNames=[g.r.MEMBER_DEF_ORGANIZATION,g.r.MEMBER_DEF_MAIL,g.r.USER_DEF_ORGANIZATION,g.r.USER_DEF_PREFERRED_MAIL,g.r.MEMBER_DEF_EXPIRATION,g.r.MEMBER_DEF_GROUP_EXPIRATION],this.groupAttrNames=[g.r.GROUP_SYNC_ENABLED,g.r.GROUP_LAST_SYNC_STATE,g.r.GROUP_LAST_SYNC_TIMESTAMP,g.r.GROUP_STRUCTURE_SYNC_ENABLED,g.r.GROUP_LAST_STRUCTURE_SYNC_STATE,g.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.statuses=new E.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=["VALID","INVALID"],this.groupStatuses=new E.NI,this.groupStatusList=["VALID","EXPIRED"],this.selectedGroupStatuses=["VALID"]}ngOnInit(){this.loading=!0,this.selection=new e.Ov(!0,[]),this.statuses.setValue(this.selectedStatuses),this.groupStatuses.setValue(this.selectedGroupStatuses),this.memberAttrNames=this.memberAttrNames.concat(this.storeService.getLoginAttributeNames()),this.group=this.entityStorageService.getEntity(),this.setAuthRights(),this.isManualAddingBlocked(this.group.voId,this.group.id).then(()=>this.loadPage(this.group.id))}loadPage(Oe){this.groupService.getRichGroupByIdWithAttributesByNames(Oe,this.groupAttrNames).subscribe(Ie=>{this.group=Ie,this.synchEnabled=this.isSynchronized(),this.loading=!1})}isSynchronized(){return this.group.attributes.some(Oe=>"synchronizationEnabled"===Oe.friendlyName&&null!==Oe.value&&"true"===Oe.value.toString())}setAuthRights(){this.addAuth=this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[this.group]),this.removeAuth=this.guiAuthResolver.isAuthorized("removeMembers_Group_List_policy",[this.group]),this.displayedColumns=this.removeAuth?this.displayedColumns:["id","type","fullName","status","groupStatus","organization","email","logins"],this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_String_String_String_policy",[this.group])}onSearchByString(Oe){this.searchString=Oe,this.updateTable=!this.updateTable}onAddMember(){const Oe=(0,b.kZ)();Oe.width="1000px",Oe.data={voId:this.group.voId,group:this.group,entityId:this.group.id,manualAddingBlocked:this.blockManualMemberAdding,theme:"group-theme",type:"group"},this.dialog.open(T.o,Oe).afterClosed().subscribe(He=>{He&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onRemoveMembers(){const Oe=(0,b.kZ)();Oe.width="450px",Oe.data={groupId:this.group.id,members:this.selection.selected,theme:"group-theme"},this.dialog.open(m.X,Oe).afterClosed().subscribe(He=>{He&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onInviteMember(){const Oe=(0,b.kZ)();Oe.width="650px",Oe.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(O.R,Oe)}displaySelectedStatuses(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?`${this.statuses.value[0]} ${this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""}`:""}displaySelectedGroupStatuses(){return this.selectedGroupStatuses.length===this.groupStatusList.length?"ALL":`${this.groupStatuses.value[0]}`}isManualAddingBlocked(Oe,Ie){return new Promise(He=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(Oe,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(fe=>{this.blockManualMemberAdding=null!==fe.value,this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(Ie,"urn:perun:group:attribute-def:def:blockManualMemberAdding").subscribe(Ce=>{this.blockGroupManualMemberAdding=null!==Ce.value,He()},Ce=>{"PrivilegeException"!==Ce.error.name&&this.notificator.showError(Ce),He()})},fe=>{"PrivilegeException"!==fe.error.name&&this.notificator.showError(fe),He()})})}changeVoStatuses(){this.selectedStatuses=this.statuses.value}changeGroupStatuses(){this.selectedGroupStatuses=this.groupStatuses.value}}return ee.id="GroupMembersComponent",ee.\u0275fac=function(Oe){return new(Oe||ee)(h.Y36(A.ff),h.Y36(k.uw),h.Y36(f.x4),h.Y36(f.d6),h.Y36(A.H8),h.Y36(f.F5),h.Y36(f.V6),h.Y36(f.fb))},ee.\u0275cmp=h.Xpm({type:ee,selectors:[["app-group-members"]],hostVars:2,hostBindings:function(Oe,Ie){2&Oe&&h.ekj("router-component",Ie.true)},decls:38,vars:45,consts:[[1,"page-subtitle"],["alert_type","warn",4,"ngIf"],[1,"align-elements"],[3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],[3,"matTooltip","matTooltipDisabled"],["class","mr-2 action-button","color","accent","data-cy","add-members","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2 action-button","color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2","color","warn","data-cy","remove-members","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","group-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","groupId","tableId","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames",4,"ngIf"],["alert_type","warn"],["color","accent","data-cy","add-members","mat-flat-button","",1,"mr-2","action-button",3,"disabled","click"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"disabled","click"],["color","warn","data-cy","remove-members","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"group-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","groupId","tableId","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames"]],template:function(Oe,Ie){1&Oe&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.YNc(3,se,3,3,"app-alert",1),h.TgZ(4,"div",2),h.TgZ(5,"perun-web-apps-refresh-button",3),h.NdJ("click",function(){return Ie.updateTable=!Ie.updateTable}),h.qZA(),h.TgZ(6,"span",4),h.ALo(7,"translate"),h.TgZ(8,"div",5),h.ALo(9,"translate"),h.YNc(10,ge,3,4,"button",6),h.qZA(),h.qZA(),h.TgZ(11,"span",4),h.ALo(12,"translate"),h.YNc(13,Ne,3,4,"button",7),h.qZA(),h.TgZ(14,"span",4),h.ALo(15,"translate"),h.YNc(16,Fe,3,4,"button",8),h.qZA(),h.TgZ(17,"mat-form-field",9),h.TgZ(18,"mat-label"),h._uU(19),h.ALo(20,"translate"),h.qZA(),h.TgZ(21,"mat-select",10),h.NdJ("closed",function(){return Ie.changeVoStatuses()}),h.TgZ(22,"mat-select-trigger"),h._uU(23),h.ALo(24,"memberStatus"),h.qZA(),h.YNc(25,ne,3,4,"mat-option",11),h.qZA(),h.qZA(),h.TgZ(26,"mat-form-field",9),h.TgZ(27,"mat-label"),h._uU(28),h.ALo(29,"translate"),h.qZA(),h.TgZ(30,"mat-select",10),h.NdJ("closed",function(){return Ie.changeGroupStatuses()}),h.TgZ(31,"mat-select-trigger"),h._uU(32),h.ALo(33,"memberStatus"),h.qZA(),h.YNc(34,Me,3,4,"mat-option",11),h.qZA(),h.qZA(),h.TgZ(35,"perun-web-apps-debounce-filter",12),h.NdJ("filter",function(fe){return Ie.onSearchByString(fe)}),h.qZA(),h.qZA(),h.YNc(36,ve,1,0,"mat-spinner",13),h.YNc(37,me,1,10,"perun-web-apps-members-dynamic-list",14)),2&Oe&&(h.xp6(1),h.Oqu(h.lcZ(2,27,"GROUP_DETAIL.MEMBERS.TITLE")),h.xp6(2),h.Q6J("ngIf",Ie.synchEnabled),h.xp6(3),h.s9C("matTooltip",h.lcZ(7,29,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),h.Q6J("matTooltipDisabled",!Ie.synchEnabled)("matTooltipPosition","above"),h.xp6(2),h.s9C("matTooltip",h.lcZ(9,31,"GROUP_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),h.Q6J("matTooltipDisabled",!Ie.blockGroupManualMemberAdding),h.xp6(2),h.Q6J("ngIf",Ie.addAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(12,33,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),h.Q6J("matTooltipDisabled",!Ie.synchEnabled)("matTooltipPosition","above"),h.xp6(2),h.Q6J("ngIf",Ie.inviteAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(15,35,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),h.Q6J("matTooltipDisabled",!Ie.synchEnabled)("matTooltipPosition","above"),h.xp6(2),h.Q6J("ngIf",Ie.removeAuth),h.xp6(3),h.Oqu(h.lcZ(20,37,"GROUP_DETAIL.MEMBERS.FILTER_STATUS")),h.xp6(2),h.Q6J("formControl",Ie.statuses),h.xp6(2),h.hij(" ",h.lcZ(24,39,Ie.displaySelectedStatuses())," "),h.xp6(2),h.Q6J("ngForOf",Ie.statusList),h.xp6(3),h.Oqu(h.lcZ(29,41,"GROUP_DETAIL.MEMBERS.FILTER_GROUP_STATUS")),h.xp6(2),h.Q6J("formControl",Ie.groupStatuses),h.xp6(2),h.hij(" ",h.lcZ(33,43,Ie.displaySelectedGroupStatuses())," "),h.xp6(2),h.Q6J("ngForOf",Ie.groupStatusList),h.xp6(1),h.Q6J("placeholder","GROUP_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),h.xp6(1),h.Q6J("ngIf",Ie.loading),h.xp6(1),h.Q6J("ngIf",!Ie.loading))},directives:[L.O5,V.w,$.t,ue.gM,ce.lW,Le.KE,Le.hX,de.gD,E.JJ,E.oH,de.$L,L.sg,ke.ey,ae.P,j.$g,H.m],pipes:[Q.X$,te.l],styles:[".search-field[_ngcontent-%COMP%]{width:325px}.align-elements[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.fix-select[_ngcontent-%COMP%]{margin-top:8px}"]}),ee})()},37240:(Ke,be,d)=>{"use strict";d.d(be,{q:()=>he});var e=d(20449),f=d(9315),g=d(10036),T=d(48966),m=d(36908),s=(d(387),d(5e3)),b=d(51062),O=d(69808),E=d(20773),h=d(92081),k=d(64901),L=d(62109),V=d(32368),$=d(93075),ue=d(47423),ce=d(29772);const Le=["list"],de=["stepper"];function ke(D,S){1&D&&s._UZ(0,"mat-spinner",4)}function ae(D,S){1&D&&(s._uU(0),s.ALo(1,"translate")),2&D&&s.Oqu(s.lcZ(1,1,"DIALOGS.ADD_GROUP_RESOURCES.RESOURCES"))}function j(D,S){1&D&&(s._uU(0),s.ALo(1,"translate")),2&D&&s.Oqu(s.lcZ(1,1,"DIALOGS.ADD_GROUP_RESOURCES.OPTIONS"))}const H=function(){return["select","id","name","facility","tags","description"]};function Q(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"div",5),s.TgZ(1,"mat-stepper",6,7),s.TgZ(3,"mat-step",8),s.YNc(4,ae,2,3,"ng-template",9),s.TgZ(5,"perun-web-apps-debounce-filter",10),s.NdJ("filter",function(i){return s.CHM(I),s.oxw().applyFilter(i)}),s.ALo(6,"translate"),s.qZA(),s._UZ(7,"perun-web-apps-resources-list",11,12),s.qZA(),s.TgZ(9,"mat-step"),s.YNc(10,j,2,3,"ng-template",9),s.TgZ(11,"mat-slide-toggle",13),s.NdJ("toggleChange",function(){return s.CHM(I),s.oxw().changeSubgroupsMessage()})("ngModelChange",function(i){return s.CHM(I),s.oxw().autoAssignSubgroups=i}),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.TgZ(14,"div",14),s._UZ(15,"i",15),s.qZA(),s.TgZ(16,"mat-slide-toggle",13),s.NdJ("toggleChange",function(){return s.CHM(I),s.oxw().changeInactiveMessage()})("ngModelChange",function(i){return s.CHM(I),s.oxw().asActive=i}),s._uU(17),s.ALo(18,"translate"),s.qZA(),s.TgZ(19,"div",14),s._uU(20),s.qZA(),s.TgZ(21,"mat-slide-toggle",13),s.NdJ("toggleChange",function(){return s.CHM(I),s.oxw().changeAsyncMessage()})("ngModelChange",function(i){return s.CHM(I),s.oxw().async=i}),s._uU(22),s.ALo(23,"translate"),s.qZA(),s.TgZ(24,"div",14),s._uU(25),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&D){const I=s.MAs(8),P=s.oxw();s.xp6(1),s.Q6J("linear",!0),s.xp6(2),s.Q6J("completed",0!==P.selection.selected.length&&void 0!==I&&I.addAuth),s.xp6(2),s.s9C("placeholder",s.lcZ(6,19,"DIALOGS.ADD_GROUP_RESOURCES.FILTER")),s.xp6(2),s.Q6J("tableId",P.tableId)("resources",P.resources)("disableRouting",!0)("selection",P.selection)("groupToResource",P.data.group)("displayedColumns",s.DdM(27,H))("filterValue",P.filterValue),s.xp6(4),s.Q6J("ngModel",P.autoAssignSubgroups),s.xp6(1),s.hij(" ",s.lcZ(13,21,"DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS")," "),s.xp6(3),s.Q6J("innerHTML",P.autoAssignHint,s.oJD),s.xp6(1),s.Q6J("ngModel",P.asActive),s.xp6(1),s.hij(" ",s.lcZ(18,23,"DIALOGS.ADD_GROUP_RESOURCES.AS_ACTIVE")," "),s.xp6(3),s.hij(" ",P.asActiveHint," "),s.xp6(1),s.Q6J("ngModel",P.async),s.xp6(1),s.hij(" ",s.lcZ(23,25,"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OPT")," "),s.xp6(3),s.hij(" ",P.asyncHint," ")}}function te(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"button",22),s.NdJ("click",function(){return s.CHM(I),s.oxw(2).stepperPrevious()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&D&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.ADD_GROUP_RESOURCES.BACK")," "))}function se(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"button",23),s.NdJ("click",function(){return s.CHM(I),s.oxw(2).stepperNext()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&D){const I=s.oxw(2);s.ekj("ml-2",void 0!==I.stepper&&0!==I.stepper.selectedIndex)("ml-auto",!(void 0!==I.stepper&&0!==I.stepper.selectedIndex)),s.Q6J("disabled",0===I.selection.selected.length||void 0!==I.list&&!I.list.addAuth),s.xp6(1),s.hij(" ",s.lcZ(2,6,"DIALOGS.ADD_GROUP_RESOURCES.NEXT")," ")}}function ge(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"button",24),s.NdJ("click",function(){return s.CHM(I),s.oxw(2).onSubmit()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&D){const I=s.oxw(2);s.Q6J("disabled",0===I.selection.selected.length||I.loading),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.ADD_GROUP_RESOURCES.ADD")," ")}}function Ne(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"div",16),s.TgZ(1,"button",17),s.NdJ("click",function(){return s.CHM(I),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,te,3,3,"button",18),s.YNc(5,se,3,8,"button",19),s.TgZ(6,"span",20),s.ALo(7,"translate"),s.YNc(8,ge,3,4,"button",21),s.qZA(),s.qZA()}if(2&D){const I=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,6,"DIALOGS.ADD_GROUP_RESOURCES.CANCEL")," "),s.xp6(2),s.Q6J("ngIf",void 0!==I.stepper&&0!==I.stepper.selectedIndex),s.xp6(1),s.Q6J("ngIf",void 0!==I.stepper&&I.stepper.selectedIndex!==I.stepper._steps.length-1),s.xp6(1),s.s9C("matTooltip",s.lcZ(7,8,"DIALOGS.ADD_GROUP_RESOURCES.ADD_PERMISSION_TOOLTIP")),s.Q6J("matTooltipDisabled",void 0===I.list||I.list.addAuth),s.xp6(2),s.Q6J("ngIf",void 0!==I.stepper&&I.stepper.selectedIndex===I.stepper._steps.length-1)}}let Fe=(()=>{class D{constructor(I,P,i,r,p,o,t){this.dialogRef=I,this.data=P,this.notificator=i,this.translate=r,this.resourcesManager=p,this.guiAuthResolver=o,this.cd=t,this.filterValue="",this.resources=[],this.selection=new e.Ov(!0,[]),this.theme="",this.async=!0,this.autoAssignSubgroups=!1,this.asActive=!0,this.tableId=g.dK}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.autoAssignHint=this.translate.instant("DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS_OFF_HINT"),this.asActiveHint=this.translate.instant("DIALOGS.ADD_GROUP_RESOURCES.ACTIVE_ON_HINT"),this.asyncHint=this.translate.instant("DIALOGS.ADD_GROUP_RESOURCES.ASYNC_ON_HINT"),this.resourcesManager.getRichResources(this.data.group.voId).subscribe(I=>{this.resourcesManager.getAssignedResourcesWithGroup(this.data.group.id).subscribe(P=>{for(const i of I)-1===P.findIndex(r=>r.id===i.id)&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",[this.data.group,i])&&this.resources.push(i);this.loading=!1,this.cd.detectChanges()},()=>this.loading=!1)},()=>this.loading=!1)}applyFilter(I){this.filterValue=I}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const I=this.selection.selected.map(P=>P.id);this.resourcesManager.assignGroupToResources(this.data.group.id,I,this.async,!this.asActive,this.autoAssignSubgroups).subscribe(()=>{this.translate.get("DIALOGS.ADD_GROUP_RESOURCES.SUCCESS").subscribe(P=>{this.notificator.showSuccess(P),this.dialogRef.close(!0)})},()=>this.loading=!1)}changeSubgroupsMessage(){this.autoAssignHint=this.translate.instant(this.autoAssignSubgroups?"DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS_OFF_HINT":"DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS_ON_HINT")}changeInactiveMessage(){this.asActiveHint=this.translate.instant(this.asActive?"DIALOGS.ADD_GROUP_RESOURCES.ACTIVE_OFF_HINT":"DIALOGS.ADD_GROUP_RESOURCES.ACTIVE_ON_HINT")}changeAsyncMessage(){this.asyncHint=this.translate.instant(this.async?"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OFF_HINT":"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_ON_HINT")}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return D.\u0275fac=function(I){return new(I||D)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.V6),s.Y36(b.sK),s.Y36(f.xk),s.Y36(m.x4),s.Y36(s.sBO))},D.\u0275cmp=s.Xpm({type:D,selectors:[["app-add-group-resource-dialog"]],viewQuery:function(I,P){if(1&I&&(s.Gf(Le,5),s.Gf(de,5)),2&I){let i;s.iGM(i=s.CRH())&&(P.list=i.first),s.iGM(i=s.CRH())&&(P.stepper=i.first)}},decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[3,"linear"],["stepper",""],[3,"completed"],["matStepLabel",""],[3,"placeholder","filter"],[3,"tableId","resources","disableRouting","selection","groupToResource","displayedColumns","filterValue"],["list",""],["labelPosition","before",1,"mt-3","slide-text",3,"ngModel","toggleChange","ngModelChange"],[1,"text-muted","new-line","mt-2"],[3,"innerHTML"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["class","ml-auto","color","accent","mat-flat-button","","type","button",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","","type","button",1,"ml-auto",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(I,P){1&I&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,ke,1,0,"mat-spinner",1),s.YNc(5,Q,26,28,"div",2),s.YNc(6,Ne,9,10,"div",3),s.qZA()),2&I&&(s.Tol(P.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"DIALOGS.ADD_GROUP_RESOURCES.TITLE")),s.xp6(2),s.Q6J("ngIf",P.loading),s.xp6(1),s.Q6J("ngIf",!P.loading),s.xp6(1),s.Q6J("ngIf",!P.loading&&void 0!==P.stepper))},directives:[T.uh,O.O5,E.$g,T.xY,h.Vq,h.C0,h.VY,k.P,L.C,V.Rr,$.JJ,$.On,T.H8,ue.lW,ce.gM],pipes:[b.X$],styles:[""]}),D})();var ne=d(32075);function Me(D,S){1&D&&s._UZ(0,"mat-spinner",4)}function ve(D,S){1&D&&s._UZ(0,"th",13)}function me(D,S){if(1&D&&(s.TgZ(0,"td",14),s._uU(1),s.qZA()),2&D){const I=S.$implicit;s.xp6(1),s.Oqu(I.name)}}function Te(D,S){1&D&&s._UZ(0,"tr",15)}function ee(D,S){1&D&&s._UZ(0,"tr",16)}function R(D,S){if(1&D&&(s.TgZ(0,"div",5),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",6),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",7),s.ynx(8,8),s.YNc(9,ve,1,0,"th",9),s.YNc(10,me,2,1,"td",10),s.BQk(),s.YNc(11,Te,1,0,"tr",11),s.YNc(12,ee,1,0,"tr",12),s.qZA(),s.qZA()),2&D){const I=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,"DIALOGS.REMOVE_RESOURCES.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"DIALOGS.REMOVE_RESOURCES.ASK")," "),s.xp6(2),s.Q6J("dataSource",I.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",I.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",I.displayedColumns)}}function Oe(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"div",17),s.TgZ(1,"button",18),s.NdJ("click",function(){return s.CHM(I),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",19),s.NdJ("click",function(){return s.CHM(I),s.oxw().onSubmit()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&D){const I=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"DIALOGS.REMOVE_RESOURCES.CANCEL")," "),s.xp6(2),s.Q6J("disabled",I.loading),s.xp6(1),s.hij(" ",s.lcZ(6,5,"DIALOGS.REMOVE_RESOURCES.DELETE")," ")}}let Ie=(()=>{class D{constructor(I,P,i,r,p){this.dialogRef=I,this.data=P,this.notificator=i,this.translate=r,this.resourcesManager=p,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new ne.by(this.data.resources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const I=this.data.resources.map(P=>P.id);this.resourcesManager.removeGroupFromResources(this.data.groupId,I).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(P=>{this.loading=!1,this.notificator.showSuccess(P),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return D.\u0275fac=function(I){return new(I||D)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.V6),s.Y36(b.sK),s.Y36(f.xk))},D.\u0275cmp=s.Xpm({type:D,selectors:[["app-remove-group-resource-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(I,P){1&I&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Me,1,0,"mat-spinner",1),s.YNc(5,R,13,9,"div",2),s.YNc(6,Oe,7,7,"div",3),s.qZA()),2&I&&(s.Tol(P.data.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"DIALOGS.REMOVE_RESOURCES.TITLE")),s.xp6(2),s.Q6J("ngIf",P.loading),s.xp6(1),s.Q6J("ngIf",!P.loading),s.xp6(1),s.Q6J("ngIf",!P.loading))},directives:[T.uh,O.O5,E.$g,T.xY,ne.BZ,ne.w1,ne.fO,ne.ge,ne.Dz,ne.ev,ne.as,ne.XQ,ne.nj,ne.Gk,T.H8,ue.lW],pipes:[b.X$],styles:[""]}),D})();var He=d(9244),fe=d(96214),Ce=d(7434);const Ve=["list"];function Xe(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(I),s.oxw().addResource()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&D&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"GROUP_DETAIL.RESOURCES.ADD")," "))}function tt(D,S){1&D&&s._UZ(0,"mat-spinner",9)}const rt=function(){return["select","id","indirectResourceAssigment","name","status","facility","tags","description"]};function N(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"perun-web-apps-resources-list",10,11),s.NdJ("refreshTable",function(){return s.CHM(I),s.oxw().refreshTable()}),s.qZA()}if(2&D){const I=s.oxw();s.Q6J("tableId",I.tableId)("filterValue",I.filterValue)("resources",I.resources)("routingVo",!0)("disableRouting",!I.routingAuth)("selection",I.selected)("groupToResource",I.group)("groupId",I.group.id)("resourcesToDisableCheckbox",I.resourcesToDisable)("displayedColumns",s.DdM(10,rt))}}let he=(()=>{class D{constructor(I,P,i,r,p){this.resourcesManager=I,this.groupService=P,this.dialog=i,this.guiAuthResolver=r,this.entityStorageService=p,this.resources=null,this.selected=new e.Ov(!0,[]),this.filterValue="",this.tableId=g.v1,this.addAuth=!1}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.setAuthorization(),this.refreshTable()}setAuthorization(){null!==this.resources&&0!==this.resources.length&&(this.routingAuth=this.guiAuthResolver.isAuthorized("getResourceById_int_policy",[this.resources[0]])),this.addAuth=this.guiAuthResolver.isAuthorized("getResources_Vo_policy",[this.group])}refreshTable(){this.loading=!0,this.resourcesManager.getResourceAssignments(this.group.id).subscribe(I=>{this.resources=I.map(P=>{const i=P.enrichedResource.resource;return i.facility=P.facility,i.status=P.status,i.resourceTags=P.resourceTags,i.failureCause=P.failureCause,i.sourceGroupId=P.sourceGroupId,i}),this.selected.clear(),this.resourcesToDisable=new Set(this.resources.filter(P=>null!==P.sourceGroupId).map(P=>P.id)),this.setAuthorization(),this.loading=!1})}applyFilter(I){this.filterValue=I}addResource(){const I=(0,He.kZ)();I.width="1000px",I.data={theme:"group-theme",group:this.group},this.dialog.open(Fe,I).afterClosed().subscribe(i=>{i&&this.refreshTable()})}removeResource(){const I=(0,He.kZ)();I.width="450px",I.data={theme:"group-theme",resources:this.selected.selected,groupId:this.group.id},this.dialog.open(Ie,I).afterClosed().subscribe(i=>{i&&(this.selected.clear(),this.refreshTable())})}}return D.id="GroupResourcesComponent",D.\u0275fac=function(I){return new(I||D)(s.Y36(f.xk),s.Y36(f.ff),s.Y36(T.uw),s.Y36(m.x4),s.Y36(m.fb))},D.\u0275cmp=s.Xpm({type:D,selectors:[["app-group-resources"]],viewQuery:function(I,P){if(1&I&&s.Gf(Ve,5),2&I){let i;s.iGM(i=s.CRH())&&(P.list=i.first)}},hostVars:2,hostBindings:function(I,P){2&I&&s.ekj("router-component",P.true)},decls:14,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","resourcesToDisableCheckbox","displayedColumns","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","resourcesToDisableCheckbox","displayedColumns","refreshTable"],["list",""]],template:function(I,P){1&I&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return P.refreshTable()}),s.qZA(),s.YNc(5,Xe,3,3,"button",2),s.TgZ(6,"span",3),s.ALo(7,"translate"),s.TgZ(8,"button",4),s.NdJ("click",function(){return P.removeResource()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.TgZ(11,"perun-web-apps-immediate-filter",5),s.NdJ("filter",function(r){return P.applyFilter(r)}),s.qZA(),s.YNc(12,tt,1,0,"mat-spinner",6),s.YNc(13,N,2,11,"perun-web-apps-resources-list",7),s.qZA()),2&I&&(s.xp6(2),s.Oqu(s.lcZ(3,9,"GROUP_DETAIL.RESOURCES.TITLE")),s.xp6(3),s.Q6J("ngIf",P.addAuth),s.xp6(1),s.s9C("matTooltip",s.lcZ(7,11,"GROUP_DETAIL.RESOURCES.DELETE_PERMISSION_HINT")),s.Q6J("matTooltipDisabled",0===P.selected.selected.length||void 0!==P.list&&P.list.removeAuth),s.xp6(2),s.Q6J("disabled",0===P.selected.selected.length||void 0!==P.list&&!P.list.removeAuth),s.xp6(1),s.hij(" ",s.lcZ(10,13,"GROUP_DETAIL.RESOURCES.DELETE")," "),s.xp6(2),s.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),s.xp6(1),s.Q6J("ngIf",P.loading),s.xp6(1),s.Q6J("ngIf",P.resources&&!P.loading))},directives:[fe.t,O.O5,ue.lW,ce.gM,Ce.L,E.$g,L.C],pipes:[b.X$],styles:[""]}),D})()},14336:(Ke,be,d)=>{"use strict";d.d(be,{Z:()=>Ie});var e=d(36908),f=d(51076),g=d(83491),T=d(95502),m=d(1186),A=d(9315),s=d(9244),b=d(5e3),O=d(48966),E=d(51062),h=d(30325),k=d(69808),L=d(20773),V=d(25245),$=d(29772),ue=d(32368),ce=d(93075),Le=d(47423),de=d(4834),ke=d(96214),ae=d(98380),j=d(157);const H=["autoRegToggle"];function Q(He,fe){1&He&&b._UZ(0,"mat-spinner",3)}function te(He,fe){if(1&He&&(b.TgZ(0,"span"),b._uU(1," , "),b.TgZ(2,"mat-icon",22),b._uU(3,"nat"),b.qZA(),b._uU(4),b.ALo(5,"translate"),b.ALo(6,"translate"),b.qZA()),2&He){const Ce=b.oxw(3);b.xp6(4),b.hij(" ",Ce.applicationForm.automaticApprovalEmbedded?b.lcZ(5,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(6,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," ")}}function se(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"mat-slide-toggle",23,24),b.NdJ("change",function(){return b.CHM(Ce),b.oxw(3).updateAutoRegistration()}),b._uU(3),b.ALo(4,"translate"),b.qZA(),b.qZA()}if(2&He){const Ce=b.oxw(3);b.xp6(1),b.Q6J("disabled",!Ce.changeAutoRegistration)("ngModel",Ce.autoRegistrationEnabled),b.xp6(2),b.hij(" ",b.lcZ(4,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ALLOW_EMBEDDED")," ")}}function ge(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",25),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(3).settings()}),b.TgZ(1,"i",12),b._uU(2,"edit"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&He&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function Ne(He,fe){if(1&He&&(b.TgZ(0,"div",15),b.TgZ(1,"div",16),b.TgZ(2,"div",17),b._uU(3),b.ALo(4,"translate"),b.qZA(),b.TgZ(5,"div"),b.TgZ(6,"span",17),b._uU(7),b.ALo(8,"translate"),b.qZA(),b._uU(9,": "),b.TgZ(10,"mat-icon",18),b._uU(11,"arrow_right_alt"),b.qZA(),b._uU(12),b.ALo(13,"translate"),b.ALo(14,"translate"),b.TgZ(15,"mat-icon",19),b._uU(16,"restore"),b.qZA(),b._uU(17),b.ALo(18,"translate"),b.ALo(19,"translate"),b.YNc(20,te,7,5,"span",2),b.qZA(),b.YNc(21,se,5,5,"div",2),b.qZA(),b.TgZ(22,"div",20),b.YNc(23,ge,5,3,"button",21),b.qZA(),b.qZA()),2&He){const Ce=b.oxw(2);b.xp6(1),b.Q6J("ngClass",Ce.autoRegistrationEnabled?"w-75":"w-50"),b.xp6(2),b.AsE(" ",b.lcZ(4,9,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",Ce.applicationForm.moduleClassName," "),b.xp6(4),b.Oqu(b.lcZ(8,11,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),b.xp6(5),b.hij(" ",Ce.applicationForm.automaticApproval?b.lcZ(13,13,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(14,15,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," , "),b.xp6(5),b.hij(" ",Ce.applicationForm.automaticApprovalExtension?b.lcZ(18,17,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(19,19,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),b.xp6(3),b.Q6J("ngIf",Ce.autoRegistrationEnabled),b.xp6(1),b.Q6J("ngIf",Ce.voHasEmbeddedGroupApplication),b.xp6(2),b.Q6J("ngIf",Ce.editAuth)}}function Fe(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",26),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(2).add()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&He&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function ne(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",27),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(2).save()}),b.TgZ(1,"i",12),b._uU(2,"save"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}if(2&He){const Ce=b.oxw(2);b.Q6J("disabled",!Ce.itemsChanged),b.xp6(3),b.hij(" ",b.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function Me(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",28),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(2).copy()}),b.TgZ(1,"i",12),b._uU(2,"file_copy"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&He&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.COPY_GROUP_BUTTON")," "))}function ve(He,fe){1&He&&(b.TgZ(0,"app-alert",29),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&He&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}const me=function(){return["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]},Te=function(){return["shortname","type","disabled","hidden","preview","managegroups"]};function ee(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"div"),b.YNc(1,Ne,24,21,"div",4),b._UZ(2,"mat-divider",5),b.TgZ(3,"div",6),b.TgZ(4,"perun-web-apps-refresh-button",7),b.NdJ("refresh",function(){return b.CHM(Ce),b.oxw().updateFormItems()}),b.qZA(),b.YNc(5,Fe,3,3,"button",8),b.YNc(6,ne,5,4,"button",9),b.YNc(7,Me,5,3,"button",10),b.TgZ(8,"button",11),b.NdJ("click",function(){return b.CHM(Ce),b.oxw().preview()}),b.TgZ(9,"i",12),b._uU(10,"search"),b.qZA(),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.qZA(),b.YNc(13,ve,3,3,"app-alert",13),b.TgZ(14,"app-application-form-list",14),b.NdJ("applicationFormItemsChange",function(){return b.CHM(Ce),b.oxw().changeItems()}),b.qZA(),b.qZA()}if(2&He){const Ce=b.oxw();b.xp6(1),b.Q6J("ngIf",!Ce.loading),b.xp6(4),b.Q6J("ngIf",Ce.editAuth),b.xp6(1),b.Q6J("ngIf",Ce.editAuth),b.xp6(1),b.Q6J("ngIf",Ce.editAuth),b.xp6(4),b.hij(" ",b.lcZ(12,12,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),b.xp6(2),b.Q6J("ngIf",Ce.editAuth),b.xp6(1),b.Q6J("loading",Ce.loading)("applicationForm",Ce.applicationForm)("applicationFormItems",Ce.applicationFormItems)("theme","group-theme")("displayedColumns",Ce.editAuth?b.DdM(14,me):b.DdM(15,Te))("refreshApplicationForm",Ce.refreshApplicationForm)}}function R(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",32),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(2).createEmptyApplicationForm()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&He&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CREATE_APPLICATION_FORM")," "))}function Oe(He,fe){if(1&He&&(b.TgZ(0,"div"),b.TgZ(1,"app-alert",30),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,R,3,3,"button",31),b.qZA()),2&He){const Ce=b.oxw();b.xp6(2),b.Oqu(b.lcZ(3,2,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM")),b.xp6(2),b.Q6J("ngIf",Ce.createEmptyForm)}}let Ie=(()=>{class He{constructor(Ce,Ve,Xe,tt,rt,N,he,D,S){this.registrarManager=Ce,this.dialog=Ve,this.notificator=Xe,this.translate=tt,this.apiRequest=rt,this.router=N,this.guiAuthResolver=he,this.attributesManager=D,this.entityStorageService=S,this.loading=!1,this.applicationFormItems=[],this.noApplicationForm=!1,this.itemsChanged=!1,this.editAuth=!1,this.createEmptyForm=!1,this.voHasEmbeddedGroupApplication=!1,this.refreshApplicationForm=!1,this.idCounter=-1}ngOnInit(){this.loading=!0,this.group=this.entityStorageService.getEntity(),this.setAuth(),this.apiRequest.dontHandleErrorForNext(),this.registrarManager.getGroupApplicationForm(this.group.id).subscribe(Ce=>{this.applicationForm=Ce,this.registrarManager.getFormItemsForGroup(this.group.id).subscribe(Ve=>{this.applicationFormItems=Ve,this.attributesManager.getGroupAttributeByName(this.group.id,"urn:perun:group:attribute-def:virt:autoRegistrationEnabled").subscribe(Xe=>{this.voHasEmbeddedGroupApplication=null!==Xe.value,this.autoRegistrationEnabled=!!Xe.value,this.loading=!1})},()=>this.loading=!1)},Ce=>{"FormNotExistsException"===Ce.error.name?(this.noApplicationForm=!0,this.loading=!1):this.notificator.showRPCError(Ce.error)})}setAuth(){this.editAuth=this.guiAuthResolver.isAuthorized("group-updateFormItems_ApplicationForm_List_policy",[this.group]),this.createEmptyForm=this.guiAuthResolver.isAuthorized("createApplicationFormInGroup_Group_policy",[this.group]),this.changeAutoRegistration=this.guiAuthResolver.isAuthorized("addGroupsToAutoRegistration_List_policy",[this.group])}add(){let Ce=(0,s.kZ)();Ce.width="500px",Ce.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(f.J,Ce).afterClosed().subscribe(Xe=>{Xe&&(this.applicationFormItems=Object.assign([],Xe[0]),Ce=(0,s.kZ)(),Ce.width="600px",Ce.height="600px",Ce.data={voId:this.group.voId,groupId:this.group.id,applicationFormItem:Xe[1],theme:"group-theme",allItems:this.applicationFormItems},this.dialog.open(g._,Ce),this.itemsChanged=!0)})}copy(){const Ce=(0,s.kZ)();Ce.width="500px",Ce.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(T.W,Ce).afterClosed().subscribe(Xe=>{Xe&&this.updateFormItems()})}settings(){const Ce=(0,s.kZ)();Ce.width="400px",Ce.data={entity:"group",applicationForm:this.applicationForm,theme:"group-theme",autoRegistrationEnabled:this.autoRegistrationEnabled},this.dialog.open(m.E,Ce).afterClosed().subscribe(Xe=>{Xe&&(this.translate.get("GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(tt=>{this.notificator.showSuccess(tt)}),this.applicationForm=Xe)})}preview(){this.router.navigate(["/organizations",this.group.voId,"groups",this.group.id,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}updateFormItems(){this.loading=!0,this.refreshApplicationForm=!0,this.registrarManager.getFormItemsForGroup(this.group.id).subscribe(Ce=>{this.applicationFormItems=Ce,this.itemsChanged=!1,this.refreshApplicationForm=!1,this.loading=!1})}changeItems(){this.itemsChanged=!0}createEmptyApplicationForm(){this.registrarManager.createApplicationFormInGroup(this.group.id).subscribe(()=>{this.noApplicationForm=!1,this.ngOnInit()})}save(){let Ce=0;for(const Ve of this.applicationFormItems)Ve.ordnum=Ce,Ve.forDelete||Ce++;this.registrarManager.updateFormItemsForGroup({group:this.group.id,items:this.applicationFormItems}).subscribe(()=>{this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(Ve=>{this.notificator.showSuccess(Ve)}),this.updateFormItems()})}clear(){this.applicationFormItems=[],this.itemsChanged=!0}updateAutoRegistration(){this.autoRegToggle.setDisabledState(!0),this.autoRegistrationEnabled?this.registrarManager.deleteGroupsFromAutoRegistration([this.group.id]).subscribe(()=>{this.autoRegistrationEnabled=!this.autoRegistrationEnabled,this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(Ce=>{this.notificator.showSuccess(Ce)}),this.autoRegToggle.setDisabledState(!1)},()=>this.autoRegToggle.setDisabledState(!1)):this.registrarManager.addGroupsToAutoRegistration([this.group.id]).subscribe(()=>{this.autoRegistrationEnabled=!this.autoRegistrationEnabled,this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(Ce=>{this.notificator.showSuccess(Ce)}),this.autoRegToggle.setDisabledState(!1)},()=>this.autoRegToggle.setDisabledState(!1))}}return He.id="GroupSettingsApplicationFormComponent",He.\u0275fac=function(Ce){return new(Ce||He)(b.Y36(A.tk),b.Y36(O.uw),b.Y36(e.V6),b.Y36(E.sK),b.Y36(e.F5),b.Y36(h.F0),b.Y36(e.x4),b.Y36(A.H8),b.Y36(e.fb))},He.\u0275cmp=b.Xpm({type:He,selectors:[["app-group-settings-application-form"]],viewQuery:function(Ce,Ve){if(1&Ce&&b.Gf(H,5),2&Ce){let Xe;b.iGM(Xe=b.CRH())&&(Ve.autoRegToggle=Xe.first)}},hostVars:2,hostBindings:function(Ce,Ve){2&Ce&&b.ekj("router-component",Ve.true)},decls:6,vars:6,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["class","d-flex w-50",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","add-form-item",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2","data-cy","save-application-form",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","refreshApplicationForm","applicationFormItemsChange"],[1,"d-flex","w-50"],[3,"ngClass"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto action-button",3,"click",4,"ngIf"],["matTooltip","Embedded",1,"align-text-bottom"],["color","primary",3,"disabled","ngModel","change"],["autoRegToggle",""],["mat-stroked-button","",1,"ml-auto","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","add-form-item",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","save-application-form",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],["alert_type","info"],["alert_type","warn"],["mat-stroked-button","","data-cy","create-empty-form",3,"click",4,"ngIf"],["mat-stroked-button","","data-cy","create-empty-form",3,"click"]],template:function(Ce,Ve){1&Ce&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.YNc(3,Q,1,0,"mat-spinner",1),b.YNc(4,ee,15,16,"div",2),b.YNc(5,Oe,5,4,"div",2)),2&Ce&&(b.xp6(1),b.hij(" ",b.lcZ(2,4,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),b.xp6(2),b.Q6J("ngIf",Ve.loading),b.xp6(1),b.Q6J("ngIf",!Ve.noApplicationForm),b.xp6(1),b.Q6J("ngIf",!Ve.loading&&Ve.noApplicationForm))},directives:[k.O5,L.$g,k.mk,V.Hw,$.gM,ue.Rr,ce.JJ,ce.On,Le.lW,de.d,ke.t,ae.w,j.b],pipes:[E.X$],styles:[""]}),He})()},15592:(Ke,be,d)=>{"use strict";d.d(be,{u:()=>ee});var e=d(81889),f=d(20449),g=d(41656),T=d(9244),m=d(9315),A=d(64080),s=d(10036),b=d(87842),O=d(36908),h=(d(387),d(5e3)),k=d(48966),L=d(96214),V=d(69808),$=d(47423),ue=d(29772),ce=d(64901),Le=d(32368),de=d(93075),ke=d(20773),ae=d(58956),j=d(24179),H=d(51062);const Q=["tree"],te=["list"],se=["toggle"];function ge(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"button",10),h.NdJ("click",function(){return h.CHM(Ie),h.oxw().onCreateGroup()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&R&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.SUBGROUPS.CREATE_GROUP")," "))}function Ne(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(Ie),h.oxw().deleteGroup()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&R){const Ie=h.oxw();h.Q6J("disabled",0===Ie.selected.selected.length||void 0!==Ie.tree&&!Ie.tree.removeAuth||void 0!==Ie.list&&!Ie.list.removeAuth),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.SUBGROUPS.DELETE_GROUP")," ")}}function Fe(R,Oe){1&R&&h._UZ(0,"mat-spinner",12)}function ne(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"perun-web-apps-groups-tree",16,17),h.NdJ("moveGroup",function(fe){return h.CHM(Ie),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Ie),h.oxw(2).refreshTable()}),h.qZA()}if(2&R){const Ie=h.oxw(2);h.Q6J("groups",Ie.groups)("expandAll",Ie.filtering)("hideCheckbox",!Ie.deleteAuth)("selection",Ie.selected)("filterValue",Ie.filterValue)("disableRouting",!Ie.routeAuth)}}const Me=function(){return["select","id","name","description","menu"]},ve=function(){return["id","name","description","menu"]};function me(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"perun-web-apps-groups-list",18,19),h.NdJ("moveGroup",function(fe){return h.CHM(Ie),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Ie),h.oxw(2).refreshTable()}),h.qZA()}if(2&R){const Ie=h.oxw(2);h.Q6J("tableId",Ie.tableId)("groups",Ie.groups)("selection",Ie.selected)("authType","group-subgroups")("disableMembers",!0)("disableRouting",!Ie.routeAuth)("displayedColumns",Ie.deleteAuth?h.DdM(8,Me):h.DdM(9,ve))("filter",Ie.filterValue)}}function Te(R,Oe){if(1&R&&(h.TgZ(0,"div",13),h.YNc(1,ne,2,6,"perun-web-apps-groups-tree",14),h.YNc(2,me,2,10,"perun-web-apps-groups-list",15),h.qZA()),2&R){const Ie=h.oxw();h.xp6(1),h.Q6J("ngIf",!Ie.showGroupList),h.xp6(1),h.Q6J("ngIf",Ie.showGroupList)}}let ee=(()=>{class R{constructor(Ie,He,fe,Ce){this.dialog=Ie,this.groupService=He,this.guiAuthResolver=fe,this.entityStorageService=Ce,this.groups=[],this.selected=new f.Ov(!0,[]),this.showGroupList=!1,this.filtering=!1,this.tableId=s.bf,this.filterValue=""}onCreateGroup(){const Ie=(0,T.kZ)();Ie.width="450px",Ie.data={parentGroup:this.group,theme:"group-theme"},this.dialog.open(e.y,Ie).afterClosed().subscribe(fe=>{fe&&(this.loading=!0,this.refreshTable())})}ngOnInit(){"list"===localStorage.getItem("preferedValue")&&(this.toggle.toggle(),this.selected.clear(),this.showGroupList=!0),this.toggle.change.subscribe(()=>{localStorage.setItem("preferedValue",this.toggle.checked?"list":"tree")}),this.group=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}setAuthRights(){this.createAuth=this.guiAuthResolver.isAuthorized("createGroup_Group_Group_policy",[this.group]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteGroups_List_boolean_policy",[this.group]),0!==this.groups.length&&(this.routeAuth=this.guiAuthResolver.isAuthorized("getGroupById_int_policy",[this.groups[0]]))}deleteGroup(){const Ie=(0,T.kZ)();Ie.width="450px",Ie.data={voId:this.group.id,groups:this.selected.selected,theme:"group-theme"},this.dialog.open(g.P,Ie).afterClosed().subscribe(fe=>{fe&&this.refreshTable()})}refreshTable(){this.loading=!0,this.groupService.getAllRichSubGroupsWithGroupAttributesByNames(this.group.id,[A.r.GROUP_DEF_MAIL_FOOTER,A.r.GROUP_SYNC_ENABLED,A.r.GROUP_LAST_SYNC_STATE,A.r.GROUP_LAST_SYNC_TIMESTAMP,A.r.GROUP_STRUCTURE_SYNC_ENABLED,A.r.GROUP_LAST_STRUCTURE_SYNC_STATE,A.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(Ie=>{this.groups=Ie,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(Ie){this.filterValue=Ie,this.filtering=""!==Ie}onMoveGroup(Ie){const He=(0,T.kZ)();He.width="550px",He.data={group:Ie,theme:"group-theme"},this.dialog.open(b.c,He).afterClosed().subscribe(Ce=>{Ce&&this.refreshTable()})}}return R.id="GroupSubgroupsComponent",R.\u0275fac=function(Ie){return new(Ie||R)(h.Y36(k.uw),h.Y36(m.ff),h.Y36(O.x4),h.Y36(O.fb))},R.\u0275cmp=h.Xpm({type:R,selectors:[["app-group-subgroups"]],viewQuery:function(Ie,He){if(1&Ie&&(h.Gf(Q,5),h.Gf(te,5),h.Gf(se,7)),2&Ie){let fe;h.iGM(fe=h.CRH())&&(He.tree=fe.first),h.iGM(fe=h.CRH())&&(He.list=fe.first),h.iGM(fe=h.CRH())&&(He.toggle=fe.first)}},hostVars:2,hostBindings:function(Ie,He){2&Ie&&h.ekj("router-component",He.true)},decls:19,vars:20,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2 action-button","color","accent","data-cy","new-subgroup-button","mat-flat-button","",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn","class","mr-2","data-cy","delete-group-button",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["color","primary","labelPosition","before",1,"mr-1",3,"ngModel","change","ngModelChange"],["toggle",""],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["color","accent","data-cy","new-subgroup-button","mat-flat-button","",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-group-button",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable",4,"ngIf"],[3,"tableId","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","moveGroup","refreshTable",4,"ngIf"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable"],["tree",""],[3,"tableId","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","moveGroup","refreshTable"],["list",""]],template:function(Ie,He){if(1&Ie&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return He.refreshTable()}),h.qZA(),h.YNc(5,ge,3,3,"button",2),h.TgZ(6,"span",3),h.ALo(7,"translate"),h.YNc(8,Ne,3,4,"button",4),h.qZA(),h.TgZ(9,"perun-web-apps-debounce-filter",5),h.NdJ("filter",function(Ce){return He.applyFilter(Ce)}),h.qZA(),h.TgZ(10,"mat-slide-toggle",6,7),h.NdJ("change",function(){return He.selected.clear()})("ngModelChange",function(Ce){return He.showGroupList=Ce}),h._uU(12),h.ALo(13,"translate"),h.qZA(),h.TgZ(14,"label"),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.YNc(17,Fe,1,0,"mat-spinner",8),h.YNc(18,Te,3,2,"div",9),h.qZA()),2&Ie){const fe=h.MAs(11);h.xp6(2),h.Oqu(h.lcZ(3,12,"GROUP_DETAIL.SUBGROUPS.TITLE")),h.xp6(3),h.Q6J("ngIf",He.createAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(7,14,"GROUP_DETAIL.SUBGROUPS.DELETE_PERMISSION_HINT")),h.Q6J("matTooltipDisabled",void 0===He.tree&&void 0===He.list||void 0!==He.tree&&He.tree.removeAuth||void 0!==He.list&&He.list.removeAuth),h.xp6(2),h.Q6J("ngIf",He.deleteAuth),h.xp6(1),h.Q6J("placeholder","GROUP_DETAIL.SUBGROUPS.FILTER"),h.xp6(1),h.Q6J("ngModel",He.showGroupList),h.xp6(2),h.Oqu(h.lcZ(13,16,"GROUP_DETAIL.SUBGROUPS.TREE_VIEW")),h.xp6(2),h.uIk("for",fe.inputId),h.xp6(1),h.Oqu(h.lcZ(16,18,"GROUP_DETAIL.SUBGROUPS.LIST_VIEW")),h.xp6(2),h.Q6J("ngIf",He.loading),h.xp6(1),h.Q6J("ngIf",!He.loading)}},directives:[L.t,V.O5,$.lW,ue.gM,ce.P,Le.Rr,de.JJ,de.On,ke.$g,ae.I,j.W],pipes:[H.X$],styles:[""]}),R})()},85243:(Ke,be,d)=>{"use strict";d.d(be,{j:()=>Ie});var e=d(9315),f=d(10036),g=d(20449),T=d(9244),m=d(48966),A=d(36908),s=d(64080),b=d(5e3),O=d(51062),E=d(69808),h=d(20773),k=d(7434),L=d(24179),V=d(47423);function $(He,fe){1&He&&b._UZ(0,"mat-spinner",6)}function ue(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"perun-web-apps-immediate-filter",7),b.NdJ("filter",function(Xe){return b.CHM(Ce),b.oxw().applyFilter(Xe)}),b.qZA()}2&He&&b.Q6J("placeholder","DIALOGS.ADD_MEMBER_GROUP.FILTER")}const ce=function(){return["select","id","name","description"]};function Le(He,fe){if(1&He&&b._UZ(0,"perun-web-apps-groups-list",8),2&He){const Ce=b.oxw();b.Q6J("groups",Ce.groups)("selection",Ce.selection)("displayedColumns",b.DdM(8,ce))("filter",Ce.filterValue)("groupsToDisableCheckbox",Ce.membersGroups)("disableGroups",!0)("disableRouting",!0)("disableMembers",!0)}}function de(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"div",9),b.TgZ(1,"button",10),b.NdJ("click",function(){return b.CHM(Ce),b.oxw().onCancel()}),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"button",11),b.NdJ("click",function(){return b.CHM(Ce),b.oxw().onAdd()}),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.qZA()}if(2&He){const Ce=b.oxw();b.xp6(2),b.hij(" ",b.lcZ(3,3,"DIALOGS.ADD_MEMBER_GROUP.CANCEL")," "),b.xp6(2),b.Q6J("disabled",0===Ce.selection.selected.length),b.xp6(1),b.hij(" ",b.lcZ(6,5,"DIALOGS.ADD_MEMBER_GROUP.ADD")," ")}}let ke=(()=>{class He{constructor(Ce,Ve,Xe,tt,rt,N,he){this.dialogRef=Ce,this.data=Ve,this.groupManager=Xe,this.memberManager=tt,this.notificator=rt,this.translate=N,this.authResolver=he,this.loading=!1,this.groups=[],this.selection=new g.Ov(!0,[]),this.attrNames=[s.r.GROUP_SYNC_ENABLED,s.r.GROUP_LAST_SYNC_STATE,s.r.GROUP_LAST_SYNC_TIMESTAMP,s.r.GROUP_STRUCTURE_SYNC_ENABLED,s.r.GROUP_LAST_STRUCTURE_SYNC_STATE,s.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.filterValue=""}ngOnInit(){this.theme=this.data.theme,this.membersGroups=this.data.membersGroups,this.loading=!0,this.memberManager.getMemberById(this.data.memberId).subscribe(Ce=>{this.member=Ce,this.groupManager.getAllRichGroupsWithAttributesByNames(this.member.voId,this.attrNames).subscribe(Ve=>{this.groups=Ve.filter(Xe=>this.authResolver.isAuthorized("addMember_Group_Member_policy",[Xe])),this.loading=!1},()=>this.loading=!1)})}onAdd(){const Ce=this.selection.selected.map(Ve=>Ve.id);this.loading=!0,this.groupManager.addMember(Ce,this.member.id).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_MEMBER_GROUP.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}applyFilter(Ce){this.filterValue=Ce}}return He.\u0275fac=function(Ce){return new(Ce||He)(b.Y36(m.so),b.Y36(m.WI),b.Y36(e.ff),b.Y36(e.uq),b.Y36(A.V6),b.Y36(O.sK),b.Y36(A.x4))},He.\u0275cmp=b.Xpm({type:He,selectors:[["app-add-member-group-dialog"]],decls:9,vars:10,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter",4,"ngIf"],[3,"groups","selection","displayedColumns","filter","groupsToDisableCheckbox","disableGroups","disableRouting","disableMembers",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"placeholder","filter"],[3,"groups","selection","displayedColumns","filter","groupsToDisableCheckbox","disableGroups","disableRouting","disableMembers"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(Ce,Ve){1&Ce&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,$,1,0,"mat-spinner",1),b.TgZ(5,"div",2),b.YNc(6,ue,1,1,"perun-web-apps-immediate-filter",3),b.YNc(7,Le,1,9,"perun-web-apps-groups-list",4),b.qZA(),b.YNc(8,de,7,7,"div",5),b.qZA()),2&Ce&&(b.Tol(Ve.theme),b.xp6(2),b.Oqu(b.lcZ(3,8,"DIALOGS.ADD_MEMBER_GROUP.TITLE")),b.xp6(2),b.Q6J("ngIf",Ve.loading),b.xp6(2),b.Q6J("ngIf",!Ve.loading),b.xp6(1),b.Q6J("ngIf",!Ve.loading),b.xp6(1),b.Q6J("ngIf",!Ve.loading))},directives:[m.uh,E.O5,h.$g,m.xY,k.L,L.W,m.H8,V.lW],pipes:[O.X$],styles:[""]}),He})();var ae=d(32075);function j(He,fe){1&He&&b._UZ(0,"mat-spinner",6)}function H(He,fe){1&He&&b._UZ(0,"th",15)}function Q(He,fe){if(1&He&&(b.TgZ(0,"td",16),b._uU(1),b.qZA()),2&He){const Ce=fe.$implicit;b.xp6(1),b.Oqu(Ce.name)}}function te(He,fe){1&He&&b._UZ(0,"tr",17)}function se(He,fe){1&He&&b._UZ(0,"tr",18)}function ge(He,fe){if(1&He&&(b.TgZ(0,"div",7),b.TgZ(1,"p"),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"div",8),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.TgZ(7,"table",9),b.ynx(8,10),b.YNc(9,H,1,0,"th",11),b.YNc(10,Q,2,1,"td",12),b.BQk(),b.YNc(11,te,1,0,"tr",13),b.YNc(12,se,1,0,"tr",14),b.qZA(),b.qZA()),2&He){const Ce=b.oxw();b.xp6(2),b.Oqu(b.lcZ(3,5,"DIALOGS.REMOVE_MEMBER_GROUP.DESCRIPTION")),b.xp6(3),b.hij(" ",b.lcZ(6,7,"DIALOGS.REMOVE_MEMBER_GROUP.ASK")," "),b.xp6(2),b.Q6J("dataSource",Ce.dataSource),b.xp6(4),b.Q6J("matHeaderRowDef",Ce.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",Ce.displayedColumns)}}let Ne=(()=>{class He{constructor(Ce,Ve,Xe,tt,rt){this.dialogRef=Ce,this.data=Ve,this.groupManager=Xe,this.notificator=tt,this.translate=rt,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new ae.by(this.data.groups)}onRemove(){this.loading=!0;const Ce=this.dataSource.data.map(Ve=>Ve.id);this.groupManager.removeMember(Ce,this.data.memberId).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_MEMBER_GROUP.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return He.\u0275fac=function(Ce){return new(Ce||He)(b.Y36(m.so),b.Y36(m.WI),b.Y36(e.ff),b.Y36(A.V6),b.Y36(O.sK))},He.\u0275cmp=b.Xpm({type:He,selectors:[["app-remove-member-group-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(Ce,Ve){1&Ce&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,j,1,0,"mat-spinner",1),b.YNc(5,ge,13,9,"div",2),b.TgZ(6,"div",3),b.TgZ(7,"button",4),b.NdJ("click",function(){return Ve.onCancel()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Ve.onRemove()}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.qZA(),b.qZA()),2&Ce&&(b.Tol(Ve.theme),b.xp6(2),b.Oqu(b.lcZ(3,9,"DIALOGS.REMOVE_MEMBER_GROUP.TITLE")),b.xp6(2),b.Q6J("ngIf",Ve.loading),b.xp6(1),b.Q6J("ngIf",!Ve.loading),b.xp6(3),b.hij(" ",b.lcZ(9,11,"DIALOGS.REMOVE_MEMBER_GROUP.CANCEL")," "),b.xp6(2),b.Q6J("disabled",Ve.loading),b.xp6(1),b.hij(" ",b.lcZ(12,13,"DIALOGS.REMOVE_MEMBER_GROUP.REMOVE")," "))},directives:[m.uh,E.O5,h.$g,m.xY,ae.BZ,ae.w1,ae.fO,ae.ge,ae.Dz,ae.ev,ae.as,ae.XQ,ae.nj,ae.Gk,m.H8,V.lW],pipes:[O.X$],styles:[""]}),He})();d(387);var ne=d(30325),Me=d(96214),ve=d(29772);const me=["list"];function Te(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",8),b.NdJ("click",function(){return b.CHM(Ce),b.oxw().addGroup()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&He&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"MEMBER_DETAIL.GROUPS.ADD"),"\n"))}function ee(He,fe){1&He&&b._UZ(0,"mat-spinner",9)}const R=function(){return["select","id","vo","name","description","expiration"]};function Oe(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"perun-web-apps-groups-list",10,11),b.NdJ("refreshTable",function(){return b.CHM(Ce),b.oxw().refreshTable()}),b.qZA()}if(2&He){const Ce=b.oxw();b.Q6J("tableId",Ce.tableId)("groups",Ce.groups)("displayedColumns",b.DdM(9,R))("selection",Ce.selection)("filter",Ce.filterValue)("memberId",Ce.memberId)("memberGroupStatus",Ce.member.groupStatus)("disableRouting",!Ce.routeAuth)("authType","member-groups")}}let Ie=(()=>{class He{constructor(Ce,Ve,Xe,tt,rt){this.groupsService=Ce,this.route=Ve,this.dialog=Xe,this.authResolver=tt,this.memberService=rt,this.filterValue="",this.tableId=f.W1,this.selection=new g.Ov(!0,[])}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(Ce=>{this.memberId=Ce.memberId,this.memberService.getMemberById(this.memberId).subscribe(Ve=>{this.member=Ve,this.groupsService.getAllGroups(this.member.voId).subscribe(Xe=>{this.allGroups=Xe,this.refreshTable()})})})}refreshTable(){this.loading=!0,this.groupsService.getMemberRichGroupsWithAttributesByNames(this.memberId,["urn:perun:member_group:attribute-def:def:groupMembershipExpiration"]).subscribe(Ce=>{this.selection.clear(),this.groups=Ce,this.setAuthRights(),this.loading=!1},()=>this.loading=!1)}setAuthRights(){const Ce={id:this.member.voId,beanName:"Vo"};this.addAuth=this.allGroups.reduce((Ve,Xe)=>Ve||this.authResolver.isAuthorized("addMember_Group_Member_policy",[Xe]),!1),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[Ce,this.groups[0]]))}addGroup(){const Ce=(0,T.kZ)();Ce.width="850px",Ce.data={memberId:this.memberId,membersGroups:new Set(this.groups.map(Xe=>Xe.id)),theme:"member-theme"},this.dialog.open(ke,Ce).afterClosed().subscribe(Xe=>{Xe&&this.refreshTable()})}removeGroup(){const Ce=(0,T.kZ)();Ce.width="650px",Ce.data={memberId:this.memberId,groups:this.selection.selected,theme:"member-theme"},this.dialog.open(Ne,Ce).afterClosed().subscribe(Xe=>{Xe&&this.refreshTable()})}applyFilter(Ce){this.filterValue=Ce}}return He.id="MemberGroupsComponent",He.\u0275fac=function(Ce){return new(Ce||He)(b.Y36(e.ff),b.Y36(ne.gz),b.Y36(m.uw),b.Y36(A.x4),b.Y36(e.uq))},He.\u0275cmp=b.Xpm({type:He,selectors:[["app-member-groups"]],viewQuery:function(Ce,Ve){if(1&Ce&&b.Gf(me,5),2&Ce){let Xe;b.iGM(Xe=b.CRH())&&(Ve.list=Xe.first)}},hostVars:2,hostBindings:function(Ce,Ve){2&Ce&&b.ekj("router-component",Ve.true)},decls:13,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"tableId","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],[1,"mr-auto","ml-auto"],[3,"tableId","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","refreshTable"],["list",""]],template:function(Ce,Ve){1&Ce&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"perun-web-apps-refresh-button",1),b.NdJ("refresh",function(){return Ve.refreshTable()}),b.qZA(),b.YNc(4,Te,3,3,"button",2),b.TgZ(5,"span",3),b.ALo(6,"translate"),b.TgZ(7,"button",4),b.NdJ("click",function(){return Ve.removeGroup()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.qZA(),b.TgZ(10,"perun-web-apps-immediate-filter",5),b.NdJ("filter",function(tt){return Ve.applyFilter(tt)}),b.qZA(),b.YNc(11,ee,1,0,"mat-spinner",6),b.YNc(12,Oe,2,10,"perun-web-apps-groups-list",7)),2&Ce&&(b.xp6(1),b.Oqu(b.lcZ(2,9,"MEMBER_DETAIL.GROUPS.TITLE")),b.xp6(3),b.Q6J("ngIf",Ve.addAuth),b.xp6(1),b.s9C("matTooltip",b.lcZ(6,11,"MEMBER_DETAIL.GROUPS.REMOVE_PERMISSION_HINT")),b.Q6J("matTooltipDisabled",void 0===Ve.list||void 0!==Ve.list&&Ve.list.removeAuth),b.xp6(2),b.Q6J("disabled",0===Ve.selection.selected.length||void 0!==Ve.list&&!Ve.list.removeAuth),b.xp6(1),b.hij(" ",b.lcZ(9,13,"MEMBER_DETAIL.GROUPS.REMOVE")," "),b.xp6(2),b.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),b.xp6(1),b.Q6J("ngIf",Ve.loading),b.xp6(1),b.Q6J("ngIf",!Ve.loading))},directives:[Me.t,E.O5,V.lW,ve.gM,k.L,h.$g,L.W],pipes:[O.X$],styles:[""]}),He})()},94856:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>de});var e=d(9315),f=d(10036),g=d(93075),T=d(69808),m=d(36908),A=d(5e3),s=d(96214),b=d(47423),O=d(67322),E=d(74107),h=d(90508),k=d(64901),L=d(39798),V=d(77446),$=d(9146),ue=d(51062);function ce(ke,ae){if(1&ke){const j=A.EpF();A.TgZ(0,"button",15),A.NdJ("click",function(){return A.CHM(j),A.oxw().showDetails(!0)}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&ke&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function Le(ke,ae){if(1&ke){const j=A.EpF();A.TgZ(0,"button",15),A.NdJ("click",function(){return A.CHM(j),A.oxw().showDetails(!1)}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&ke&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}let de=(()=>{class ke{constructor(j,H){this.registrarManager=j,this.entityStorageService=H,this.state="pending",this.currentStates=["NEW","VERIFIED"],this.simpleColumns=["id","createdAt","type","state","createdBy","groupName","modifiedBy"],this.detailedColumns=["id","createdAt","voId","voName","groupId","groupName","type","state","extSourceName","extSourceType","user","createdBy","modifiedBy","modifiedAt","fedInfo"],this.currentColumns=[],this.filterValue="",this.showAllDetails=!1,this.detailTableId=f.Jf,this.tableId=f.Hi,this.showGroupApps=!1,this.refresh=!1}ngOnInit(){this.vo=this.entityStorageService.getEntity(),this.startDate=new g.NI((0,T.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new g.NI((0,T.p6)(new Date,"yyyy-MM-dd","en-GB")),this.currentColumns=this.refreshColumns()}select(){switch(this.state){case"approved":this.currentStates=["APPROVED"];break;case"rejected":this.currentStates=["REJECTED"];break;case"wfmv":this.currentStates=["NEW"];break;case"submited":this.currentStates=["VERIFIED"];break;case"pending":this.currentStates=["NEW","VERIFIED"];break;case"all":this.currentStates=null}}yearAgo(){const j=new Date;return j.setDate(j.getDate()-365),j}showGroupApplications(j){this.showGroupApps=j.checked,this.currentColumns=this.refreshColumns()}showDetails(j){this.showAllDetails=j,this.currentColumns=this.refreshColumns()}applyFilter(j){this.filterValue=j}refreshColumns(){return this.showAllDetails?this.showGroupApps?this.detailedColumns:this.detailedColumns.filter(j=>"groupName"!==j&&"groupId"!==j):this.showGroupApps?this.simpleColumns:this.simpleColumns.filter(j=>"groupName"!==j)}}return ke.id="VoApplicationsComponent",ke.\u0275fac=function(j){return new(j||ke)(A.Y36(e.tk),A.Y36(m.fb))},ke.\u0275cmp=A.Xpm({type:ke,selectors:[["app-vo-applications"]],hostVars:2,hostBindings:function(j,H){2&j&&A.ekj("router-component",H.true)},decls:38,vars:43,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"input-width-250","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],["color","primary",3,"checked","change"],[3,"tableId","searchString","displayedColumns","states","dateFrom","dateTo","includeGroupApps","refreshTable","vo"],["mat-stroked-button","",1,"mr-2",3,"click"]],template:function(j,H){1&j&&(A.TgZ(0,"h1",0),A._uU(1),A.ALo(2,"translate"),A.qZA(),A.TgZ(3,"div"),A.TgZ(4,"perun-web-apps-refresh-button",1),A.NdJ("refresh",function(){return H.refresh=!H.refresh}),A.qZA(),A.YNc(5,ce,3,3,"button",2),A.YNc(6,Le,3,3,"button",2),A.TgZ(7,"mat-form-field",3),A.TgZ(8,"mat-label"),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.TgZ(11,"mat-select",4),A.NdJ("selectionChange",function(){return H.select()})("valueChange",function(te){return H.state=te}),A.TgZ(12,"mat-option",5),A._uU(13),A.ALo(14,"translate"),A.qZA(),A.TgZ(15,"mat-option",6),A._uU(16),A.ALo(17,"translate"),A.qZA(),A.TgZ(18,"mat-option",7),A._uU(19),A.ALo(20,"translate"),A.qZA(),A.TgZ(21,"mat-option",8),A._uU(22),A.ALo(23,"translate"),A.qZA(),A.TgZ(24,"mat-option",9),A._uU(25),A.ALo(26,"translate"),A.qZA(),A.TgZ(27,"mat-option",10),A._uU(28),A.ALo(29,"translate"),A.qZA(),A.qZA(),A.qZA(),A.TgZ(30,"perun-web-apps-debounce-filter",11),A.NdJ("filter",function(te){return H.applyFilter(te)}),A.qZA(),A.TgZ(31,"perun-web-apps-date-range",12),A.NdJ("datePicker",function(){return H.select()}),A.qZA(),A.TgZ(32,"div"),A.TgZ(33,"mat-checkbox",13),A.NdJ("change",function(te){return H.showGroupApplications(te)}),A._uU(34),A.ALo(35,"translate"),A.qZA(),A.qZA(),A.qZA(),A.TgZ(36,"div"),A._UZ(37,"app-applications-dynamic-list",14),A.qZA()),2&j&&(A.xp6(1),A.Oqu(A.lcZ(2,25,"VO_DETAIL.APPLICATION.TITLE")),A.xp6(4),A.Q6J("ngIf",!H.showAllDetails),A.xp6(1),A.Q6J("ngIf",H.showAllDetails),A.xp6(3),A.Oqu(A.lcZ(10,27,"APPLICATIONS_LIST.STATE")),A.xp6(2),A.Q6J("value",H.state),A.xp6(2),A.Oqu(A.lcZ(14,29,"VO_DETAIL.APPLICATION.SELECTION_ALL")),A.xp6(3),A.Oqu(A.lcZ(17,31,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),A.xp6(3),A.Oqu(A.lcZ(20,33,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),A.xp6(3),A.Oqu(A.lcZ(23,35,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),A.xp6(3),A.Oqu(A.lcZ(26,37,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),A.xp6(3),A.Oqu(A.lcZ(29,39,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),A.xp6(2),A.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),A.xp6(1),A.Q6J("startDate",H.startDate)("endDate",H.endDate),A.xp6(2),A.Q6J("checked",H.showGroupApps),A.xp6(1),A.hij(" ",A.lcZ(35,41,"VO_DETAIL.APPLICATION.SHOW_GROUP_APPLICATIONS")," "),A.xp6(3),A.Q6J("tableId",H.showAllDetails?H.detailTableId:H.tableId)("searchString",H.filterValue)("displayedColumns",H.currentColumns)("states",H.currentStates)("dateFrom",H.startDate.value)("dateTo",H.endDate.value)("includeGroupApps",H.showGroupApps)("refreshTable",H.refresh)("vo",H.vo))},directives:[s.t,T.O5,b.lW,O.KE,O.hX,E.gD,h.ey,k.P,L.S,V.oG,$.S],pipes:[ue.X$],styles:[""]}),ke})()},4732:(Ke,be,d)=>{"use strict";d.d(be,{G:()=>ee});var e=d(81889),f=d(41656),g=d(20449),T=d(87842),m=d(9244),A=d(9315),s=d(10036),b=d(64080),O=d(36908),h=(d(387),d(5e3)),k=d(48966),L=d(96214),V=d(69808),$=d(47423),ue=d(29772),ce=d(64901),Le=d(32368),de=d(93075),ke=d(20773),ae=d(58956),j=d(24179),H=d(98380),Q=d(51062);const te=["toggle"],se=["tree"],ge=["list"];function Ne(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(Ie),h.oxw().onCreateGroup()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&R&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.GROUPS.CREATE_GROUP")," "))}function Fe(R,Oe){1&R&&h._UZ(0,"mat-spinner",12)}function ne(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"perun-web-apps-groups-tree",16,17),h.NdJ("moveGroup",function(fe){return h.CHM(Ie),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Ie),h.oxw(2).loadAllGroups()}),h.qZA()}if(2&R){const Ie=h.oxw(2);h.Q6J("groups",Ie.groups)("expandAll",Ie.filtering)("vo",Ie.vo)("selection",Ie.selected)("disableRouting",!Ie.routeAuth)("filterValue",Ie.filterValue)}}const Me=function(){return["select","id","name","description","menu"]};function ve(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"perun-web-apps-groups-list",18,19),h.NdJ("moveGroup",function(fe){return h.CHM(Ie),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Ie),h.oxw(2).loadAllGroups()}),h.qZA()}if(2&R){const Ie=h.oxw(2);h.Q6J("tableId",Ie.tableId)("groups",Ie.groups)("selection",Ie.selected)("disableMembers",!0)("displayedColumns",h.DdM(8,Me))("disableRouting",!Ie.routeAuth)("authType","vo-groups")("filter",Ie.filterValue)}}function me(R,Oe){if(1&R&&(h.TgZ(0,"div",13),h.YNc(1,ne,2,6,"perun-web-apps-groups-tree",14),h.YNc(2,ve,2,9,"perun-web-apps-groups-list",15),h.qZA()),2&R){const Ie=h.oxw();h.xp6(1),h.Q6J("ngIf",!Ie.showGroupList),h.xp6(1),h.Q6J("ngIf",Ie.showGroupList)}}function Te(R,Oe){1&R&&(h.TgZ(0,"app-alert",20),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&R&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.GROUPS.NO_GROUPS")," "))}let ee=(()=>{class R{constructor(Ie,He,fe,Ce){this.dialog=Ie,this.groupService=He,this.authResolver=fe,this.entityStorageService=Ce,this.groups=[],this.showGroupList=!1,this.selected=new g.Ov(!0,[]),this.filtering=!1,this.filterValue="",this.tableId=s.rc}onCreateGroup(){const Ie=(0,m.kZ)();Ie.width="450px",Ie.data={voId:this.vo.id,parentGroup:null,theme:"vo-theme"},this.dialog.open(e.y,Ie).afterClosed().subscribe(fe=>{fe&&(this.loading=!0,this.loadAllGroups())})}ngOnInit(){this.loading=!0,"list"===localStorage.getItem("preferedValue")&&(this.toggle.toggle(),this.selected.clear(),this.showGroupList=!0),this.toggle.change.subscribe(()=>{localStorage.setItem("preferedValue",this.toggle.checked?"list":"tree"),this.loadAllGroups()}),this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.loadAllGroups()}setAuthRights(){this.createAuth=this.authResolver.isAuthorized("createGroup_Vo_Group_policy",[this.vo]),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[this.vo,this.groups[0]]))}disableRemove(){return void 0!==this.tree&&!this.tree.removeAuth||void 0!==this.list&&!this.list.removeAuth}disableTooltip(){return void 0!==this.tree&&this.tree.removeAuth||void 0!==this.list&&this.list.removeAuth}deleteGroup(){const Ie=(0,m.kZ)();Ie.width="450px",Ie.data={voId:this.vo.id,groups:this.selected.selected,theme:"vo-theme"},this.dialog.open(f.P,Ie).afterClosed().subscribe(fe=>{fe&&this.loadAllGroups()})}removeAllGroups(){this.selected.clear()}onMoveGroup(Ie){const He=(0,m.kZ)();He.width="550px",He.data={group:Ie,theme:"vo-theme"},this.dialog.open(T.c,He).afterClosed().subscribe(Ce=>{Ce&&this.loadAllGroups()})}loadAllGroups(){this.loading=!0,this.groupService.getAllRichGroupsWithAttributesByNames(this.vo.id,[b.r.GROUP_SYNC_ENABLED,b.r.GROUP_LAST_SYNC_STATE,b.r.GROUP_LAST_SYNC_TIMESTAMP,b.r.GROUP_STRUCTURE_SYNC_ENABLED,b.r.GROUP_LAST_STRUCTURE_SYNC_STATE,b.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(Ie=>{this.groups=Ie,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(Ie){this.filterValue=Ie,this.filtering=""!==Ie}}return R.id="VoGroupsComponent",R.\u0275fac=function(Ie){return new(Ie||R)(h.Y36(k.uw),h.Y36(A.ff),h.Y36(O.x4),h.Y36(O.fb))},R.\u0275cmp=h.Xpm({type:R,selectors:[["app-vo-groups"]],viewQuery:function(Ie,He){if(1&Ie&&(h.Gf(te,7),h.Gf(se,5),h.Gf(ge,5)),2&Ie){let fe;h.iGM(fe=h.CRH())&&(He.toggle=fe.first),h.iGM(fe=h.CRH())&&(He.tree=fe.first),h.iGM(fe=h.CRH())&&(He.list=fe.first)}},hostVars:2,hostBindings:function(Ie,He){2&Ie&&h.ekj("router-component",He.true)},decls:22,vars:24,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","create-group-button",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn","data-cy","delete-group-button",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["color","primary","labelPosition","before",1,"mr-1",3,"ngModel","change","ngModelChange"],["toggle",""],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","create-group-button",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"tableId","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable"],["tree",""],["theme","vo-theme",3,"tableId","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","moveGroup","refreshTable"],["list",""],["alert_type","warn"]],template:function(Ie,He){if(1&Ie&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return He.loadAllGroups()}),h.qZA(),h.YNc(5,Ne,3,3,"button",2),h.TgZ(6,"span",3),h.ALo(7,"translate"),h.TgZ(8,"button",4),h.NdJ("click",function(){return He.deleteGroup()}),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.qZA(),h.TgZ(11,"perun-web-apps-debounce-filter",5),h.NdJ("filter",function(Ce){return He.applyFilter(Ce)}),h.qZA(),h.TgZ(12,"mat-slide-toggle",6,7),h.NdJ("change",function(){return He.removeAllGroups()})("ngModelChange",function(Ce){return He.showGroupList=Ce}),h._uU(14),h.ALo(15,"translate"),h.qZA(),h.TgZ(16,"label"),h._uU(17),h.ALo(18,"translate"),h.qZA(),h.YNc(19,Fe,1,0,"mat-spinner",8),h.YNc(20,me,3,2,"div",9),h.YNc(21,Te,3,3,"app-alert",10),h.qZA()),2&Ie){const fe=h.MAs(13);h.xp6(2),h.Oqu(h.lcZ(3,14,"VO_DETAIL.GROUPS.TITLE")),h.xp6(3),h.Q6J("ngIf",He.createAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(7,16,"VO_DETAIL.GROUPS.DELETE_PERMISSION_HINT")),h.Q6J("matTooltipDisabled",void 0===He.tree&&void 0===He.list||He.disableTooltip()),h.xp6(2),h.Q6J("disabled",0===He.selected.selected.length||He.disableRemove()),h.xp6(1),h.hij(" ",h.lcZ(10,18,"VO_DETAIL.GROUPS.DELETE_GROUP")," "),h.xp6(2),h.Q6J("placeholder","VO_DETAIL.GROUPS.FILTER"),h.xp6(1),h.Q6J("ngModel",He.showGroupList),h.xp6(2),h.Oqu(h.lcZ(15,20,"VO_DETAIL.GROUPS.TREE_VIEW")),h.xp6(2),h.uIk("for",fe.inputId),h.xp6(1),h.Oqu(h.lcZ(18,22,"VO_DETAIL.GROUPS.LIST_VIEW")),h.xp6(2),h.Q6J("ngIf",He.loading),h.xp6(1),h.Q6J("ngIf",!He.loading&&0!==He.groups.length),h.xp6(1),h.Q6J("ngIf",0===He.groups.length&&!He.loading)}},directives:[L.t,V.O5,$.lW,ue.gM,ce.P,Le.Rr,de.JJ,de.On,ke.$g,ae.I,j.W,H.w],pipes:[Q.X$],styles:[""]}),R})()},81847:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>Me});var e=d(20449),f=d(36908),g=d(53455),T=d(97034),m=d(9315),A=d(64080),s=d(93075),b=d(10036),O=d(9244),E=d(74414),h=d(5e3),k=d(48966),L=d(96214),V=d(29772),$=d(69808),ue=d(47423),ce=d(67322),Le=d(74107),de=d(90508),ke=d(64901),ae=d(20773),j=d(4811),H=d(51062),Q=d(20551);function te(ve,me){if(1&ve){const Te=h.EpF();h.TgZ(0,"button",14),h.NdJ("click",function(){return h.CHM(Te),h.oxw().onAddMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ve){const Te=h.oxw();h.Q6J("disabled",Te.blockManualMemberAdding),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function se(ve,me){if(1&ve){const Te=h.EpF();h.TgZ(0,"button",15),h.NdJ("click",function(){return h.CHM(Te),h.oxw().onInviteMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&ve&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.MEMBERS.INVITE")," "))}function ge(ve,me){if(1&ve){const Te=h.EpF();h.TgZ(0,"button",16),h.NdJ("click",function(){return h.CHM(Te),h.oxw().onRemoveMembers()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ve){const Te=h.oxw();h.Q6J("disabled",Te.selection.isEmpty()),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function Ne(ve,me){if(1&ve&&(h.TgZ(0,"mat-option",17),h._uU(1),h.ALo(2,"memberStatus"),h.qZA()),2&ve){const Te=me.$implicit;h.Q6J("value",Te),h.xp6(1),h.Oqu(h.lcZ(2,2,Te))}}function Fe(ve,me){1&ve&&h._UZ(0,"mat-spinner",18)}function ne(ve,me){if(1&ve&&h._UZ(0,"perun-web-apps-members-dynamic-list",19),2&ve){const Te=h.oxw();h.Q6J("voId",Te.vo.id)("tableId",Te.tableId)("selection",Te.selection)("displayedColumns",Te.displayedColumns)("attrNames",Te.attrNames)("searchString",Te.searchString)("selectedStatuses",Te.selectedStatuses)("updateTable",Te.updateTable)}}let Me=(()=>{class ve{constructor(Te,ee,R,Oe,Ie,He,fe){this.notificator=Te,this.dialog=ee,this.authzService=R,this.storeService=Oe,this.attributesManager=Ie,this.apiRequest=He,this.entityStorageService=fe,this.members=null,this.selection=new e.Ov(!0,[]),this.loading=!1,this.attrNames=[A.r.MEMBER_DEF_ORGANIZATION,A.r.MEMBER_DEF_MAIL,A.r.USER_DEF_ORGANIZATION,A.r.USER_DEF_PREFERRED_MAIL,A.r.MEMBER_DEF_EXPIRATION],this.statuses=new s.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=[],this.tableId=b.j1,this.displayedColumns=["checkbox","id","fullName","status","organization","email","logins"],this.updateTable=!1}ngOnInit(){this.loading=!0,this.statuses.setValue(this.selectedStatuses),this.attrNames=this.attrNames.concat(this.storeService.getLoginAttributeNames()),this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.isManualAddingBlocked(this.vo.id).then(()=>this.loading=!1)}setAuthRights(){this.addAuth=this.authzService.isAuthorized("createMember_Vo_User_List_policy",[this.vo])&&this.authzService.isAuthorized("createMember_Vo_Candidate_List_policy",[this.vo]),this.removeAuth=this.authzService.isAuthorized("deleteMembers_List_policy",[this.vo]),this.displayedColumns=this.removeAuth?this.displayedColumns:["id","fullName","status","organization","email","logins"],null!==this.members&&0!==this.members.length&&(this.routeAuth=this.authzService.isAuthorized("getMemberById_int_policy",[this.vo,this.members[0]])),this.inviteAuth=this.authzService.isAuthorized("vo-sendInvitation_Vo_Group_String_String_String_policy",[this.vo])}onSearchByString(Te){this.searchString=Te,this.updateTable=!this.updateTable}onAddMember(){const Te=(0,O.kZ)();Te.width="1000px",Te.data={entityId:this.vo.id,voId:this.vo.id,theme:"vo-theme",type:"vo"},this.dialog.open(T.o,Te).afterClosed().subscribe(R=>{R&&(this.updateTable=!this.updateTable,this.selection.clear())})}onRemoveMembers(){const Te=(0,O.kZ)();Te.width="450px",Te.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(g.X,Te).afterClosed().subscribe(R=>{R&&(this.updateTable=!this.updateTable,this.selection.clear())})}onInviteMember(){const Te=(0,O.kZ)();Te.width="650px",Te.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(E.R,Te)}displaySelectedStatuses(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?`${this.statuses.value[0]} ${this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""}`:""}isManualAddingBlocked(Te){return new Promise(ee=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(Te,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(R=>{this.blockManualMemberAdding=null!==R.value,ee()},R=>{"PrivilegeException"!==R.error.name&&this.notificator.showError(R),ee()})})}changeStatuses(){this.selectedStatuses=this.statuses.value}}return ve.id="VoMembersComponent",ve.\u0275fac=function(Te){return new(Te||ve)(h.Y36(f.V6),h.Y36(k.uw),h.Y36(f.x4),h.Y36(f.d6),h.Y36(m.H8),h.Y36(f.F5),h.Y36(f.fb))},ve.\u0275cmp=h.Xpm({type:ve,selectors:[["app-vo-members"]],hostVars:2,hostBindings:function(Te,ee){2&Te&&h.ekj("router-component",ee.true)},decls:23,vars:21,consts:[[1,"vo-theme"],[1,"page-subtitle"],[1,"align-elements"],[3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","add-members",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2","data-cy","remove-members",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","vo-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","tableId","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","add-members",1,"mr-2","action-button",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn","data-cy","remove-members",1,"mr-2",3,"disabled","click"],[1,"vo-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","tableId","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable"]],template:function(Te,ee){1&Te&&(h.TgZ(0,"div",0),h.TgZ(1,"h1",1),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",2),h.TgZ(5,"perun-web-apps-refresh-button",3),h.NdJ("click",function(){return ee.updateTable=!ee.updateTable}),h.qZA(),h.TgZ(6,"div",4),h.ALo(7,"translate"),h.YNc(8,te,3,4,"button",5),h.qZA(),h.YNc(9,se,3,3,"button",6),h.YNc(10,ge,3,4,"button",7),h.TgZ(11,"mat-form-field",8),h.TgZ(12,"mat-label"),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.TgZ(15,"mat-select",9),h.NdJ("closed",function(){return ee.changeStatuses()}),h.TgZ(16,"mat-select-trigger"),h._uU(17),h.ALo(18,"memberStatus"),h.qZA(),h.YNc(19,Ne,3,4,"mat-option",10),h.qZA(),h.qZA(),h.TgZ(20,"perun-web-apps-debounce-filter",11),h.NdJ("filter",function(Oe){return ee.onSearchByString(Oe)}),h.qZA(),h.qZA(),h.YNc(21,Fe,1,0,"mat-spinner",12),h.YNc(22,ne,1,8,"perun-web-apps-members-dynamic-list",13),h.qZA()),2&Te&&(h.xp6(2),h.Oqu(h.lcZ(3,13,"VO_DETAIL.MEMBERS.TITLE")),h.xp6(4),h.s9C("matTooltip",h.lcZ(7,15,"VO_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),h.Q6J("matTooltipDisabled",!ee.blockManualMemberAdding),h.xp6(2),h.Q6J("ngIf",ee.addAuth),h.xp6(1),h.Q6J("ngIf",ee.inviteAuth),h.xp6(1),h.Q6J("ngIf",ee.removeAuth),h.xp6(3),h.Oqu(h.lcZ(14,17,"VO_DETAIL.MEMBERS.FILTER_STATUS")),h.xp6(2),h.Q6J("formControl",ee.statuses),h.xp6(2),h.hij(" ",h.lcZ(18,19,ee.displaySelectedStatuses())," "),h.xp6(2),h.Q6J("ngForOf",ee.statusList),h.xp6(1),h.Q6J("placeholder","VO_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),h.xp6(1),h.Q6J("ngIf",ee.loading),h.xp6(1),h.Q6J("ngIf",!ee.loading))},directives:[L.t,V.gM,$.O5,ue.lW,ce.KE,ce.hX,Le.gD,s.JJ,s.oH,Le.$L,$.sg,de.ey,ke.P,ae.$g,j.m],pipes:[H.X$,Q.l],styles:[".search-field[_ngcontent-%COMP%]{width:325px}.align-elements[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.fix-select[_ngcontent-%COMP%]{margin-top:8px}"]}),ve})()},68056:(Ke,be,d)=>{"use strict";d.d(be,{z:()=>de});var e=d(20449),f=d(9315),g=d(533),T=d(10036),m=d(9244),A=d(36908),s=d(5e3),b=d(48966),O=d(96214),E=d(69808),h=d(47423),k=d(7434),L=d(20773),V=d(62109),$=d(51062);function ue(ke,ae){if(1&ke){const j=s.EpF();s.TgZ(0,"button",6),s.NdJ("click",function(){return s.CHM(j),s.oxw().deleteSelectedResources()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&ke){const j=s.oxw();s.Q6J("disabled",0===j.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"VO_DETAIL.RESOURCES.LIST.DELETE")," ")}}function ce(ke,ae){1&ke&&s._UZ(0,"mat-spinner",7)}function Le(ke,ae){if(1&ke&&s._UZ(0,"perun-web-apps-resources-list",8),2&ke){const j=s.oxw();s.Q6J("tableId",j.tableId)("filterValue",j.filterValue)("resources",j.resources)("routingVo",!0)("disableRouting",!j.routeAuth)("selection",j.selected)("displayedColumns",j.displayedColumns)}}let de=(()=>{class ke{constructor(j,H,Q,te){this.resourcesManager=j,this.dialog=H,this.authResolver=Q,this.entityStorageService=te,this.resources=[],this.selected=new e.Ov(!0,[]),this.filterValue="",this.displayedColumns=[],this.tableId=T.nT,this.routeAuth=!1}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}setAuthRights(){this.removeAuth=this.authResolver.isAuthorized("deleteResource_Resource_policy",[this.vo]),0!==this.resources.length&&(this.routeAuth=this.authResolver.isAuthorized("getResourceById_int_policy",[this.vo,this.resources[0]])),this.displayedColumns=this.removeAuth?["select","id","name","facility","tags","description"]:["id","name","facility","tags","description"]}refreshTable(){this.loading=!0,this.resourcesManager.getRichResources(this.vo.id).subscribe(j=>{this.resources=j,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(j){this.filterValue=j}deleteSelectedResources(){const j=(0,m.kZ)();j.width="450px",j.data={theme:"vo-theme",resources:this.selected.selected},this.dialog.open(g.f,j).afterClosed().subscribe(Q=>{Q&&this.refreshTable()})}}return ke.id="VoResourcesPreviewComponent",ke.\u0275fac=function(j){return new(j||ke)(s.Y36(f.xk),s.Y36(b.uw),s.Y36(A.x4),s.Y36(A.fb))},ke.\u0275cmp=s.Xpm({type:ke,selectors:[["app-vo-resources-preview"]],hostVars:2,hostBindings:function(j,H){2&j&&s.ekj("router-component",H.true)},decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","displayedColumns",4,"ngIf"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","displayedColumns"]],template:function(j,H){1&j&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return H.refreshTable()}),s.qZA(),s.YNc(5,ue,3,4,"button",2),s.TgZ(6,"perun-web-apps-immediate-filter",3),s.NdJ("filter",function(te){return H.applyFilter(te)}),s.qZA(),s.YNc(7,ce,1,0,"mat-spinner",4),s.YNc(8,Le,1,7,"perun-web-apps-resources-list",5),s.qZA()),2&j&&(s.xp6(2),s.Oqu(s.lcZ(3,5,"VO_DETAIL.RESOURCES.LIST.TITLE")),s.xp6(3),s.Q6J("ngIf",H.removeAuth),s.xp6(1),s.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),s.xp6(1),s.Q6J("ngIf",H.loading),s.xp6(1),s.Q6J("ngIf",!H.loading))},directives:[O.t,E.O5,h.lW,k.L,L.$g,V.C],pipes:[$.X$],styles:[""]}),ke})()},24219:(Ke,be,d)=>{"use strict";d.d(be,{z:()=>D});var e=d(36908),f=d(9315),g=d(5e3),T=d(96214),m=d(53251),A=d(69808),s=d(98380),b=d(32075),O=d(20773),E=d(81125),h=d(4834),k=d(51062);function L(S,I){1&S&&g._UZ(0,"mat-spinner",2)}function V(S,I){if(1&S&&(g.TgZ(0,"mat-panel-description"),g.TgZ(1,"div"),g.TgZ(2,"i",10),g._uU(3," error "),g.qZA(),g._uU(4),g.ALo(5,"translate"),g.ALo(6,"translate"),g.qZA(),g.qZA()),2&S){const P=g.oxw().$implicit,i=g.oxw(2);g.xp6(4),g.HOy(" ",i.getErrorCountStates(P)," ",g.lcZ(5,4,"VO_DETAIL.RESOURCES.STATES.FROM")," ",P.taskList.length," ",g.lcZ(6,6,"VO_DETAIL.RESOURCES.STATES.TASKS_WITH_ERROR_STATE")," ")}}function $(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ID")," "))}function ue(S,I){if(1&S&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&S){const P=I.$implicit;g.xp6(1),g.Oqu(P.id)}}function ce(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SERVICE")," "))}function Le(S,I){if(1&S&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&S){const P=I.$implicit;g.xp6(1),g.Oqu(P.service.name)}}function de(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STATUS")," "))}function ke(S,I){if(1&S&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&S){const P=I.$implicit;g.xp6(1),g.Oqu(P.status)}}function ae(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SCHEDULED")," "))}function j(S,I){if(1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&S){const P=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,P.schedule,"d.M.y H:mm:ss")," ")}}function H(S,I){1&S&&(g._uU(0),g.ALo(1,"translate")),2&S&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function Q(S,I){if(1&S&&(g.TgZ(0,"td",24),g.YNc(1,j,3,4,"div",25),g.YNc(2,H,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&S){const P=I.$implicit,i=g.MAs(3);g.xp6(1),g.Q6J("ngIf",P.schedule)("ngIfElse",i)}}function te(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STARTED")," "))}function se(S,I){if(1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&S){const P=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,P.schedule,"d.M.y H:mm:ss")," ")}}function ge(S,I){1&S&&(g._uU(0),g.ALo(1,"translate")),2&S&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function Ne(S,I){if(1&S&&(g.TgZ(0,"td",24),g.YNc(1,se,3,4,"div",25),g.YNc(2,ge,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&S){const P=I.$implicit,i=g.MAs(3);g.xp6(1),g.Q6J("ngIf",P.startTime)("ngIfElse",i)}}function Fe(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ENDED")," "))}function ne(S,I){if(1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&S){const P=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,P.schedule,"d.M.y H:mm:ss")," ")}}function Me(S,I){1&S&&(g._uU(0),g.ALo(1,"translate")),2&S&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function ve(S,I){if(1&S&&(g.TgZ(0,"td",24),g.YNc(1,ne,3,4,"div",25),g.YNc(2,Me,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&S){const P=I.$implicit,i=g.MAs(3);g.xp6(1),g.Q6J("ngIf",P.endTime)("ngIfElse",i)}}function me(S,I){1&S&&g._UZ(0,"tr",28)}const Te=function(S,I,P){return{redTableItem:S,greenTableItem:I,yellowTableItem:P}};function ee(S,I){if(1&S&&g._UZ(0,"tr",29),2&S){const P=I.$implicit;g.Q6J("ngClass",g.kEZ(1,Te,"ERROR"===P.status||"SENDERROR"===P.status||"GENERROR"===P.status,"DONE"===P.status,"WARNING"===P.status))}}function R(S,I){if(1&S&&(g.TgZ(0,"table",12),g.ynx(1,13),g.YNc(2,$,3,3,"th",14),g.YNc(3,ue,2,1,"td",15),g.BQk(),g.ynx(4,16),g.YNc(5,ce,3,3,"th",14),g.YNc(6,Le,2,1,"td",15),g.BQk(),g.ynx(7,17),g.YNc(8,de,3,3,"th",14),g.YNc(9,ke,2,1,"td",15),g.BQk(),g.ynx(10,18),g.YNc(11,ae,3,3,"th",14),g.YNc(12,Q,4,2,"td",15),g.BQk(),g.ynx(13,19),g.YNc(14,te,3,3,"th",14),g.YNc(15,Ne,4,2,"td",15),g.BQk(),g.ynx(16,20),g.YNc(17,Fe,3,3,"th",14),g.YNc(18,ve,4,2,"td",15),g.BQk(),g.YNc(19,me,1,0,"tr",21),g.YNc(20,ee,1,5,"tr",22),g.qZA()),2&S){const P=g.oxw(2).$implicit,i=g.oxw(2);g.Q6J("dataSource",i.datasources[i.propagation.indexOf(P)]),g.xp6(19),g.Q6J("matHeaderRowDef",i.displayedColumns),g.xp6(1),g.Q6J("matRowDefColumns",i.displayedColumns)}}function Oe(S,I){1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_TASKS")," "))}function Ie(S,I){if(1&S&&(g._UZ(0,"mat-divider"),g.YNc(1,R,21,3,"table",11),g.YNc(2,Oe,3,3,"div",8)),2&S){const P=g.oxw().$implicit;g.xp6(1),g.Q6J("ngIf",0!==P.taskList.length),g.xp6(1),g.Q6J("ngIf",0===P.taskList.length)}}function He(S,I){if(1&S&&(g.TgZ(0,"mat-expansion-panel"),g.TgZ(1,"mat-expansion-panel-header"),g.TgZ(2,"mat-panel-title"),g._UZ(3,"img",6),g.TgZ(4,"div",7),g._uU(5),g.qZA(),g.qZA(),g.YNc(6,V,7,8,"mat-panel-description",8),g.qZA(),g.YNc(7,Ie,3,2,"ng-template",9),g.qZA()),2&S){const P=I.$implicit,i=g.oxw(2);g.xp6(5),g.hij(" ",P.resource.name," "),g.xp6(1),g.Q6J("ngIf",0!==i.getErrorCountStates(P))}}function fe(S,I){if(1&S&&(g.TgZ(0,"div",3),g.TgZ(1,"mat-accordion",4),g.YNc(2,He,8,2,"mat-expansion-panel",5),g.qZA(),g.qZA()),2&S){const P=g.oxw();g.xp6(2),g.Q6J("ngForOf",P.propagation)}}let Ce=(()=>{class S{constructor(){this.propagation=[],this.loading=!1,this.datasources=[],this.displayedColumns=["id","service","status","scheduled","started","ended"]}getErrorCountStates(P){let i=0;for(const r of P.taskList)("ERROR"===r.status||"GENERROR"===r.status||"SENDERROR"===r.status)&&i++;return i}getDataSource(){this.datasources=[];for(const P of this.propagation)this.datasources.push(new b.by(P.taskList))}ngOnChanges(){this.getDataSource()}}return S.\u0275fac=function(P){return new(P||S)},S.\u0275cmp=g.Xpm({type:S,selectors:[["app-state-tab"]],inputs:{propagation:"propagation",loading:"loading"},features:[g.TTD],decls:2,vars:2,consts:[["class","ml-auto mr-auto",4,"ngIf"],["class","p-2",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"p-2"],["multi","true","togglePosition","before",1,"headers-align"],[4,"ngFor","ngForOf"],["src","assets/img/PerunWebImages/resource-black.svg","height","28","width","28"],[1,"ml-2"],[4,"ngIf"],["matExpansionPanelContent",""],[1,"material-icons","red"],["mat-table","","class","w-100",3,"dataSource",4,"ngIf"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","service"],["matColumnDef","status"],["matColumnDef","scheduled"],["matColumnDef","started"],["matColumnDef","ended"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf","ngIfElse"],["class","font-italic"],["notYet",""],["mat-header-row",""],["mat-row","",3,"ngClass"]],template:function(P,i){1&P&&(g.YNc(0,L,1,0,"mat-spinner",0),g.YNc(1,fe,3,1,"div",1)),2&P&&(g.Q6J("ngIf",i.loading),g.xp6(1),g.Q6J("ngIf",!i.loading))},directives:[A.O5,O.$g,E.pp,A.sg,E.ib,E.yz,E.yK,E.u4,E.HS,h.d,b.BZ,b.w1,b.fO,b.ge,b.Dz,b.ev,b.as,b.XQ,b.nj,b.Gk,A.mk],pipes:[k.X$,A.uU],styles:[".greenTableItem[_ngcontent-%COMP%]{background-color:#c4ffcb}.yellowTableItem[_ngcontent-%COMP%]{background-color:#fffde7}.redTableItem[_ngcontent-%COMP%]{background-color:#ffcdd2}.headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%], .headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-basis:0}.headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{margin-left:15%;justify-content:space-between;align-items:center}"]}),S})();function Ve(S,I){if(1&S&&(g._uU(0),g.ALo(1,"translate"),g.TgZ(2,"span",5),g._uU(3),g.qZA()),2&S){const P=g.oxw();g.hij(" ",g.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.ERROR_RESOURCES")," "),g.xp6(3),g.Oqu(P.errorPropagation.length)}}function Xe(S,I){1&S&&(g.TgZ(0,"app-alert",8),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_ERROR")," "))}function tt(S,I){if(1&S&&(g.YNc(0,Xe,3,3,"app-alert",6),g._UZ(1,"app-state-tab",7)),2&S){const P=g.oxw();g.Q6J("ngIf",!P.loading&&0===P.errorPropagation.length),g.xp6(1),g.Q6J("loading",P.loading)("propagation",P.errorPropagation)}}function rt(S,I){if(1&S&&(g._uU(0),g.ALo(1,"translate"),g.TgZ(2,"span",9),g._uU(3),g.qZA()),2&S){const P=g.oxw();g.hij(" ",g.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.OK_RESOURCES")," "),g.xp6(3),g.Oqu(P.okPropagation.length)}}function N(S,I){1&S&&(g.TgZ(0,"app-alert",8),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_OK")," "))}function he(S,I){if(1&S&&(g.YNc(0,N,3,3,"app-alert",6),g._UZ(1,"app-state-tab",7)),2&S){const P=g.oxw();g.Q6J("ngIf",!P.loading&&0===P.okPropagation.length),g.xp6(1),g.Q6J("loading",P.loading)("propagation",P.okPropagation)}}let D=(()=>{class S{constructor(P,i){this.taskService=P,this.entityStorageService=i,this.loading=!1,this.okPropagation=[],this.errorPropagation=[],this.resourceStates=[],this.selectedIndex=0}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.refreshTable()}refreshTable(){this.loading=!0,this.taskService.getAllResourcesState(this.vo.id).subscribe(P=>{this.resourceStates=P,this.okPropagation=[],this.errorPropagation=[];for(const i of P){let r=!0;for(const p of i.taskList)if("ERROR"===p.status||"GENERROR"===p.status||"SENDERROR"===p.status){r=!1;break}r?this.okPropagation.push(i):this.errorPropagation.push(i)}this.loading=!1},()=>this.loading=!1)}}return S.id="VoResourcesStatesComponent",S.\u0275fac=function(P){return new(P||S)(g.Y36(f.Ob),g.Y36(e.fb))},S.\u0275cmp=g.Xpm({type:S,selectors:[["app-vo-resources-states"]],hostVars:2,hostBindings:function(P,i){2&P&&g.ekj("router-component",i.true)},decls:11,vars:4,consts:[[1,"page-subtitle"],[3,"refresh"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],["matTabContent",""],[1,"badge","badge-danger","ml-1"],["alert_type","warn",4,"ngIf"],[3,"loading","propagation"],["alert_type","warn"],[1,"badge","badge-success","ml-1"]],template:function(P,i){1&P&&(g.TgZ(0,"h1",0),g._uU(1),g.ALo(2,"translate"),g.qZA(),g.TgZ(3,"perun-web-apps-refresh-button",1),g.NdJ("refresh",function(){return i.refreshTable()}),g.qZA(),g.TgZ(4,"mat-tab-group",2),g.NdJ("selectedIndexChange",function(p){return i.selectedIndex=p}),g.TgZ(5,"mat-tab"),g.YNc(6,Ve,4,4,"ng-template",3),g.YNc(7,tt,2,3,"ng-template",4),g.qZA(),g.TgZ(8,"mat-tab"),g.YNc(9,rt,4,4,"ng-template",3),g.YNc(10,he,2,3,"ng-template",4),g.qZA(),g.qZA()),2&P&&(g.xp6(1),g.Oqu(g.lcZ(2,2,"VO_DETAIL.RESOURCES.STATES.TITLE")),g.xp6(3),g.Q6J("selectedIndex",i.selectedIndex))},directives:[T.t,m.SP,m.uX,m.uD,m.Vc,A.O5,s.w,Ce],pipes:[k.X$],styles:[""]}),S})()},10369:(Ke,be,d)=>{"use strict";d.d(be,{w:()=>Ne});var e=d(1186),f=d(36908),g=d(95502),T=d(51076),m=d(83491),A=d(9315),s=d(9244),b=d(5e3),O=d(48966),E=d(51062),h=d(30325),k=d(69808),L=d(20773),V=d(25245),$=d(29772),ue=d(47423),ce=d(4834),Le=d(96214),de=d(98380),ke=d(157);function ae(Fe,ne){1&Fe&&b._UZ(0,"mat-spinner",13)}function j(Fe,ne){if(1&Fe){const Me=b.EpF();b.TgZ(0,"button",21),b.NdJ("click",function(){return b.CHM(Me),b.oxw(2).settings()}),b.TgZ(1,"i",10),b._uU(2,"edit"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&Fe&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function H(Fe,ne){if(1&Fe&&(b.TgZ(0,"div",14),b.TgZ(1,"div",15),b.TgZ(2,"div",16),b._uU(3),b.ALo(4,"translate"),b.qZA(),b.TgZ(5,"div"),b.TgZ(6,"span",16),b._uU(7),b.ALo(8,"translate"),b.qZA(),b._uU(9,": "),b.TgZ(10,"mat-icon",17),b._uU(11,"arrow_right_alt"),b.qZA(),b._uU(12),b.ALo(13,"translate"),b.ALo(14,"translate"),b.TgZ(15,"mat-icon",18),b._uU(16,"restore"),b.qZA(),b._uU(17),b.ALo(18,"translate"),b.ALo(19,"translate"),b.qZA(),b.qZA(),b.TgZ(20,"div",19),b.YNc(21,j,5,3,"button",20),b.qZA(),b.qZA()),2&Fe){const Me=b.oxw();b.xp6(3),b.AsE(" ",b.lcZ(4,6,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",Me.applicationForm.moduleClassName," "),b.xp6(4),b.Oqu(b.lcZ(8,8,"VO_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),b.xp6(5),b.hij(" ",Me.applicationForm.automaticApproval?b.lcZ(13,10,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(14,12,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," , "),b.xp6(5),b.hij(" ",Me.applicationForm.automaticApprovalExtension?b.lcZ(18,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(19,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),b.xp6(4),b.Q6J("ngIf",Me.editAuth)}}function Q(Fe,ne){if(1&Fe){const Me=b.EpF();b.TgZ(0,"button",22),b.NdJ("click",function(){return b.CHM(Me),b.oxw().add()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&Fe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function te(Fe,ne){if(1&Fe){const Me=b.EpF();b.TgZ(0,"button",23),b.NdJ("click",function(){return b.CHM(Me),b.oxw().save()}),b.TgZ(1,"i",10),b._uU(2,"save"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}if(2&Fe){const Me=b.oxw();b.Q6J("disabled",!Me.itemsChanged),b.xp6(3),b.hij(" ",b.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function se(Fe,ne){if(1&Fe){const Me=b.EpF();b.TgZ(0,"button",24),b.NdJ("click",function(){return b.CHM(Me),b.oxw().copy()}),b.TgZ(1,"i",10),b._uU(2,"file_copy"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&Fe&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.COPY_VO_BUTTON")," "))}function ge(Fe,ne){1&Fe&&(b.TgZ(0,"app-alert",25),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&Fe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}let Ne=(()=>{class Fe{constructor(Me,ve,me,Te,ee,R,Oe,Ie){this.registrarManager=Me,this.dialog=ve,this.notificator=me,this.translate=Te,this.router=ee,this.authResolver=R,this.voService=Oe,this.entityStorageService=Ie,this.loading=!1,this.applicationFormItems=[],this.itemsChanged=!1,this.displayedColumns=[],this.refreshApplicationForm=!1,this.idCounter=-1}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.registrarManager.getVoApplicationForm(this.vo.id).subscribe(Me=>{this.applicationForm=Me,this.registrarManager.getFormItemsForVo(this.vo.id).subscribe(ve=>{this.applicationFormItems=ve,this.loading=!1})})}setAuthRights(){this.editAuth=this.authResolver.isAuthorized("vo-updateFormItems_ApplicationForm_List_policy",[this.vo]),this.displayedColumns=this.editAuth?["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]:["shortname","type","disabled","hidden","preview","managegroups"]}add(){let Me=(0,s.kZ)();Me.width="500px",Me.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(T.J,Me).afterClosed().subscribe(me=>{me&&(this.applicationFormItems=Object.assign([],me[0]),Me=(0,s.kZ)(),Me.width="600px",Me.height="600px",Me.data={voId:this.vo.id,applicationFormItem:me[1],theme:"vo-theme",allItems:this.applicationFormItems},this.dialog.open(m._,Me),this.itemsChanged=!0)})}copy(){const Me=(0,s.kZ)();Me.width="500px",Me.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(g.W,Me).afterClosed().subscribe(me=>{me&&this.updateFormItems()})}settings(){const Me=(0,s.kZ)();Me.width="400px",Me.data={entity:"vo",applicationForm:this.applicationForm,theme:"vo-theme"},this.dialog.open(e.E,Me).afterClosed().subscribe(me=>{me&&(this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(Te=>{this.notificator.showSuccess(Te)}),this.applicationForm=me)})}preview(){this.router.navigate(["/organizations",this.vo.id,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}updateFormItems(){this.loading=!0,this.refreshApplicationForm=!0,this.registrarManager.getFormItemsForVo(this.vo.id).subscribe(Me=>{this.applicationFormItems=Me,this.itemsChanged=!1,this.setAuthRights(),this.refreshApplicationForm=!1,this.loading=!1})}changeItems(){this.itemsChanged=!0}save(){let Me=0;for(const ve of this.applicationFormItems)ve.ordnum=Me,ve.forDelete||Me++;this.registrarManager.updateFormItemsForVo({vo:this.vo.id,items:this.applicationFormItems}).subscribe(()=>{this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(ve=>{this.notificator.showSuccess(ve)}),this.updateFormItems()})}clear(){this.applicationFormItems.forEach(Me=>Me.forDelete=!0),this.itemsChanged=!0}}return Fe.id="VoSettingsApplicationFormComponent",Fe.\u0275fac=function(Me){return new(Me||Fe)(b.Y36(A.tk),b.Y36(O.uw),b.Y36(f.V6),b.Y36(E.sK),b.Y36(h.F0),b.Y36(f.x4),b.Y36(A.YF),b.Y36(f.fb))},Fe.\u0275cmp=b.Xpm({type:Fe,selectors:[["app-vo-settings-application-form"]],hostVars:2,hostBindings:function(Me,ve){2&Me&&b.ekj("router-component",ve.true)},decls:19,vars:18,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],["class","d-flex w-50",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","add-form-item",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2","data-cy","save-application-form",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","refreshApplicationForm","applicationFormItemsChange"],[1,"ml-auto","mr-auto"],[1,"d-flex","w-50"],[1,"w-50"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto action-button",3,"click",4,"ngIf"],["mat-stroked-button","",1,"ml-auto","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","add-form-item",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","save-application-form",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],["alert_type","info"]],template:function(Me,ve){1&Me&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.YNc(3,ae,1,0,"mat-spinner",1),b.TgZ(4,"div"),b.YNc(5,H,22,18,"div",2),b._UZ(6,"mat-divider",3),b.TgZ(7,"div",4),b.TgZ(8,"perun-web-apps-refresh-button",5),b.NdJ("refresh",function(){return ve.updateFormItems()}),b.qZA(),b.YNc(9,Q,3,3,"button",6),b.YNc(10,te,5,4,"button",7),b.YNc(11,se,5,3,"button",8),b.TgZ(12,"button",9),b.NdJ("click",function(){return ve.preview()}),b.TgZ(13,"i",10),b._uU(14,"search"),b.qZA(),b._uU(15),b.ALo(16,"translate"),b.qZA(),b.qZA(),b.YNc(17,ge,3,3,"app-alert",11),b.TgZ(18,"app-application-form-list",12),b.NdJ("applicationFormItemsChange",function(){return ve.changeItems()}),b.qZA(),b.qZA()),2&Me&&(b.xp6(1),b.hij(" ",b.lcZ(2,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),b.xp6(2),b.Q6J("ngIf",ve.loading),b.xp6(2),b.Q6J("ngIf",!ve.loading),b.xp6(4),b.Q6J("ngIf",ve.editAuth),b.xp6(1),b.Q6J("ngIf",ve.editAuth),b.xp6(1),b.Q6J("ngIf",ve.editAuth),b.xp6(4),b.hij(" ",b.lcZ(16,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),b.xp6(2),b.Q6J("ngIf",ve.editAuth),b.xp6(1),b.Q6J("loading",ve.loading)("applicationForm",ve.applicationForm)("applicationFormItems",ve.applicationFormItems)("theme","vo-theme")("displayedColumns",ve.displayedColumns)("refreshApplicationForm",ve.refreshApplicationForm))},directives:[k.O5,L.$g,V.Hw,$.gM,ue.lW,ce.d,Le.t,de.w,ke.b],pipes:[E.X$],styles:[""]}),Fe})()},3246:(Ke,be,d)=>{"use strict";d.d(be,{T:()=>qi});var e=d(9315),f=d(20449),g=d(10036),T=d(9244),m=d(48966),A=d(36908),s=d(93075),b=d(69808),O=d(45323),E=d(28499),h=d(5e3),k=d(51062),L=d(20773),V=d(92081),$=d(98380),ue=d(67322),ce=d(98833),Le=d(74107),de=d(90508),ke=d(29772),ae=d(77446),j=d(13469),H=d(79814),Q=d(74250),te=d(86856);let se=(()=>{class Ct{constructor(){this.expiration="never",this.expirationControl=new s.NI(null),this.datePicker=new h.vpe}ngOnInit(){const Y=new Date;this.minDate=new Date(Y.getFullYear(),Y.getMonth(),Y.getDate()),this.expirationControl.setValue((0,b.p6)(this.minDate,"yyyy-MM-dd","en-GB"))}setExpiration(){this.expiration=(0,b.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB"),this.expirationControl.setValue((0,b.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB")),this.emitDate()}emitDate(){"never"!==this.expiration&&""===this.expirationControl.value||this.datePicker.emit(this.expiration)}}return Ct.\u0275fac=function(Y){return new(Y||Ct)},Ct.\u0275cmp=h.Xpm({type:Ct,selectors:[["perun-web-apps-expiration-select"]],inputs:{expiration:"expiration"},outputs:{datePicker:"datePicker"},decls:13,vars:14,consts:[[1,"d-flex","flex-column",3,"ngModel","ngModelChange","change"],["value","never"],[3,"value"],["color","primary",1,"cursor-pointer","mr-3",3,"click"],["readonly","","matInput","",1,"disable",3,"min","formControl","matDatepicker","dateChange"],["matSuffix","",3,"for","disabled"],[3,"disabled"],["picker",""]],template:function(Y,lt){if(1&Y){const we=h.EpF();h.TgZ(0,"mat-radio-group",0),h.NdJ("ngModelChange",function(zt){return lt.expiration=zt})("change",function(){return lt.emitDate()}),h.TgZ(1,"mat-radio-button",1),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-radio-button",2),h.TgZ(5,"mat-form-field",3),h.NdJ("click",function(){return h.CHM(we),h.MAs(12).open()}),h.TgZ(6,"mat-label"),h._uU(7),h.ALo(8,"translate"),h.qZA(),h.TgZ(9,"input",4),h.NdJ("dateChange",function(){return lt.setExpiration()}),h.qZA(),h._UZ(10,"mat-datepicker-toggle",5),h._UZ(11,"mat-datepicker",6,7),h.qZA(),h.qZA(),h.qZA()}if(2&Y){const we=h.MAs(12);h.Q6J("ngModel",lt.expiration),h.xp6(2),h.hij(" ",h.lcZ(3,10,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),h.xp6(2),h.s9C("value",lt.expirationControl.value),h.xp6(3),h.Oqu(h.lcZ(8,12,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),h.xp6(2),h.Q6J("min",lt.minDate)("formControl",lt.expirationControl)("matDatepicker",we),h.xp6(1),h.Q6J("for",we)("disabled",!1),h.xp6(1),h.Q6J("disabled",!1)}},directives:[H.VQ,s.JJ,s.On,H.U0,ue.KE,ue.hX,ce.Nt,s.Fj,te.hl,s.oH,te.nW,ue.R9,te.Mq],pipes:[k.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),Ct})();var ge=d(25245),Ne=d(47423),Fe=d(31359);const ne=["stepper"];function Me(Ct,$t){1&Ct&&(h.TgZ(0,"h1",4),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE")," "))}function ve(Ct,$t){1&Ct&&h._UZ(0,"mat-spinner",5)}function me(Ct,$t){1&Ct&&(h._uU(0),h.ALo(1,"translate")),2&Ct&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_LABEL"))}function Te(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",34),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function ee(Ct,$t){1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function R(Ct,$t){1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function Oe(Ct,$t){1&Ct&&(h._uU(0),h.ALo(1,"translate")),2&Ct&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_LABEL"))}function Ie(Ct,$t){if(1&Ct&&(h.TgZ(0,"mat-option",35),h._uU(1),h.qZA()),2&Ct){const Y=$t.$implicit;h.Q6J("value",Y),h.xp6(1),h.hij(" ",Y," ")}}function He(Ct,$t){1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_ERROR")," "))}function fe(Ct,$t){1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function Ce(Ct,$t){1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL_ERROR")," "))}function Ve(Ct,$t){1&Ct&&(h._uU(0),h.ALo(1,"translate")),2&Ct&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_LABEL"))}function Xe(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"perun-web-apps-user-search-select",36),h.NdJ("userSelected",function(we){return h.CHM(Y),h.oxw(2).selectedSponsor=we}),h.qZA(),h.qZA()}if(2&Ct){const Y=h.oxw(2);h.xp6(1),h.Q6J("users",Y.voSponsors)("disableAutoSelect",!0)}}function tt(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div",6),h.TgZ(1,"mat-stepper",7,8),h.TgZ(3,"mat-step",9),h.YNc(4,me,2,3,"ng-template",10),h.YNc(5,Te,3,3,"app-alert",11),h.TgZ(6,"form",12),h.TgZ(7,"h5",13),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"mat-form-field",14),h._UZ(11,"input",15),h.ALo(12,"translate"),h.YNc(13,ee,3,3,"mat-error",16),h.qZA(),h.TgZ(14,"mat-form-field"),h._UZ(15,"input",17),h.ALo(16,"translate"),h.YNc(17,R,3,3,"mat-error",16),h.qZA(),h.TgZ(18,"mat-form-field"),h._UZ(19,"input",18),h.ALo(20,"translate"),h.qZA(),h.TgZ(21,"mat-form-field"),h._UZ(22,"input",19),h.ALo(23,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(24,"mat-step",9),h.YNc(25,Oe,2,3,"ng-template",10),h.TgZ(26,"h5",13),h._uU(27),h.ALo(28,"translate"),h.qZA(),h.TgZ(29,"form",20),h.TgZ(30,"mat-form-field"),h.TgZ(31,"mat-select",21),h.NdJ("valueChange",function(we){return h.CHM(Y),h.oxw().onNamespaceChanged(we)}),h.ALo(32,"translate"),h.YNc(33,Ie,2,2,"mat-option",22),h.qZA(),h.YNc(34,He,3,3,"mat-error",16),h.qZA(),h.TgZ(35,"mat-form-field",23),h.ALo(36,"translate"),h._UZ(37,"input",24),h.ALo(38,"translate"),h.YNc(39,fe,3,3,"mat-error",16),h.qZA(),h.TgZ(40,"mat-form-field"),h._UZ(41,"input",25),h.ALo(42,"translate"),h.YNc(43,Ce,3,3,"mat-error",16),h.qZA(),h.TgZ(44,"span",23),h.ALo(45,"translate"),h.TgZ(46,"mat-checkbox",26),h.NdJ("change",function(){return h.CHM(Y),h.oxw().passwordResetChange()}),h._uU(47),h.ALo(48,"translate"),h.qZA(),h.qZA(),h._UZ(49,"perun-web-apps-password-form",27),h.qZA(),h.qZA(),h.TgZ(50,"mat-step"),h.YNc(51,Ve,2,3,"ng-template",10),h.TgZ(52,"div",28),h.TgZ(53,"h5",13),h._uU(54),h.ALo(55,"translate"),h.qZA(),h.TgZ(56,"div",14),h.TgZ(57,"h6"),h._uU(58),h.ALo(59,"translate"),h.qZA(),h.TgZ(60,"mat-radio-group",29),h.NdJ("ngModelChange",function(we){return h.CHM(Y),h.oxw().sponsorType=we}),h.TgZ(61,"span",30),h.ALo(62,"translate"),h.TgZ(63,"mat-radio-button",31),h.NdJ("click",function(){return h.CHM(Y),h.oxw().selectedSponsor=null}),h._uU(64),h.ALo(65,"translate"),h.qZA(),h.qZA(),h.TgZ(66,"span",30),h.ALo(67,"translate"),h.TgZ(68,"mat-radio-button",32),h._uU(69),h.ALo(70,"translate"),h.qZA(),h.qZA(),h.qZA(),h.YNc(71,Xe,2,2,"div",16),h.qZA(),h.TgZ(72,"h6",14),h._uU(73),h.ALo(74,"translate"),h.qZA(),h.TgZ(75,"perun-web-apps-expiration-select",33),h.NdJ("datePicker",function(we){return h.CHM(Y),h.oxw().setExpiration(we)}),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&Ct){const Y=h.oxw();h.xp6(1),h.Q6J("linear",!0),h.xp6(2),h.Q6J("stepControl",Y.userControl),h.xp6(2),h.Q6J("ngIf",Y.functionalityNotSupported),h.xp6(1),h.Q6J("formGroup",Y.userControl),h.xp6(2),h.hij(" ",h.lcZ(9,42,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_TITLE")," "),h.xp6(3),h.s9C("placeholder",h.lcZ(12,44,"DIALOGS.CREATE_SPONSORED_MEMBER.FIRST_NAME")),h.xp6(2),h.Q6J("ngIf",Y.userControl.hasError("required","firstName")),h.xp6(2),h.s9C("placeholder",h.lcZ(16,46,"DIALOGS.CREATE_SPONSORED_MEMBER.LAST_NAME")),h.xp6(2),h.Q6J("ngIf",Y.userControl.hasError("required","lastName")),h.xp6(2),h.s9C("placeholder",h.lcZ(20,48,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_BEFORE")),h.xp6(3),h.s9C("placeholder",h.lcZ(23,50,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_AFTER")),h.xp6(2),h.Q6J("stepControl",Y.namespaceControl),h.xp6(3),h.Oqu(h.lcZ(28,52,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_TITLE")),h.xp6(2),h.Q6J("formGroup",Y.namespaceControl),h.xp6(2),h.s9C("placeholder",h.lcZ(32,54,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE")),h.xp6(2),h.Q6J("ngForOf",Y.namespaceOptions),h.xp6(1),h.Q6J("ngIf",Y.namespaceControl.hasError("required","namespace")),h.xp6(1),h.s9C("matTooltip",h.lcZ(36,56,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN_DISABLED")),h.Q6J("matTooltipDisabled",Y.namespaceControl.get("login").enabled),h.xp6(2),h.s9C("placeholder",h.lcZ(38,58,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN")),h.xp6(2),h.Q6J("ngIf",Y.namespaceControl.hasError("required","login")),h.xp6(2),h.s9C("placeholder",h.lcZ(42,60,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL")),h.xp6(2),h.Q6J("ngIf",Y.namespaceControl.hasError("required","email")||Y.namespaceControl.hasError("pattern","email")),h.xp6(1),h.s9C("matTooltip",h.lcZ(45,62,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET_DISABLED")),h.Q6J("matTooltipDisabled",Y.namespaceControl.get("passwordReset").enabled),h.xp6(3),h.hij("",h.lcZ(48,64,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET")," "),h.xp6(2),h.Q6J("formGroup",Y.namespaceControl)("tooltipPwdViaEmail",Y.namespaceControl.get("passwordReset").value)("namespace",Y.selectedNamespace),h.xp6(5),h.Oqu(h.lcZ(55,66,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_TITLE")),h.xp6(4),h.Oqu(h.lcZ(59,68,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SPONSOR")),h.xp6(2),h.Q6J("ngModel",Y.sponsorType),h.xp6(1),h.s9C("matTooltip",h.lcZ(62,70,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF_DISABLED")),h.Q6J("matTooltipDisabled",Y.isSponsor),h.xp6(2),h.Q6J("disabled",!Y.isSponsor),h.xp6(1),h.hij(" ",h.lcZ(65,72,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(67,74,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER_DISABLED")),h.Q6J("matTooltipDisabled",Y.isPerunAdmin),h.xp6(2),h.Q6J("disabled",!Y.isPerunAdmin),h.xp6(1),h.hij(" ",h.lcZ(70,76,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER")," "),h.xp6(2),h.Q6J("ngIf","other"===Y.sponsorType),h.xp6(2),h.Oqu(h.lcZ(74,78,"DIALOGS.CREATE_SPONSORED_MEMBER.EXPIRATION"))}}function rt(Ct,$t){if(1&Ct&&(h.TgZ(0,"div",6),h.TgZ(1,"div",37),h.TgZ(2,"mat-icon",38),h._uU(3,"done"),h.qZA(),h._uU(4),h.ALo(5,"translate"),h.TgZ(6,"i"),h._uU(7),h.ALo(8,"userFullName"),h.qZA(),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.TgZ(11,"div"),h._uU(12),h.ALo(13,"translate"),h.qZA(),h.TgZ(14,"div"),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.TgZ(17,"app-alert",39),h._uU(18),h.ALo(19,"translate"),h.qZA(),h.qZA()),2&Ct){const Y=h.oxw();h.xp6(4),h.hij(" ",h.lcZ(5,8,"DIALOGS.CREATE_SPONSORED_MEMBER.USER")," "),h.xp6(3),h.Oqu(h.lcZ(8,10,Y.createdMember.user)),h.xp6(2),h.hij(" ",h.lcZ(10,12,"DIALOGS.CREATE_SPONSORED_MEMBER.WAS_CREATED")," "),h.xp6(3),h.AsE("",h.lcZ(13,14,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN"),": ",Y.loginThatWasSet,""),h.xp6(3),h.AsE(" ",h.lcZ(16,16,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")," : ",Y.namespaceControl.get("passwordCtrl").value," "),h.xp6(3),h.Oqu(h.lcZ(19,18,"DIALOGS.CREATE_SPONSORED_MEMBER.COPY_INFORMATION"))}}function N(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div",40),h.TgZ(1,"button",41),h.NdJ("click",function(){return h.CHM(Y),h.oxw().onCancel()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.qZA()}2&Ct&&(h.xp6(2),h.hij(" ",h.lcZ(3,1,"DIALOGS.CREATE_SPONSORED_MEMBER.OK")," "))}function he(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",41),h.NdJ("click",function(){return h.CHM(Y),h.oxw(2).stepperPrevious()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "))}function D(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",46),h.NdJ("click",function(){return h.CHM(Y),h.oxw(2).stepperNext()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&Ct){const Y=h.oxw(2);h.ekj("ml-2",void 0!==Y.stepper&&0!==Y.stepper.selectedIndex)("ml-auto",!(void 0!==Y.stepper&&0!==Y.stepper.selectedIndex)),h.Q6J("disabled",Y.getStepperNextConditions()),h.xp6(1),h.hij(" ",h.lcZ(2,6,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," ")}}function S(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",47),h.NdJ("click",function(){return h.CHM(Y),h.oxw(2).onConfirm()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&Ct){const Y=h.oxw(2);h.Q6J("disabled",null===Y.sponsorType||"other"===Y.sponsorType&&null===Y.selectedSponsor),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.CREATE_SPONSORED_MEMBER.SUBMIT")," ")}}function I(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div",40),h.TgZ(1,"button",42),h.NdJ("click",function(){return h.CHM(Y),h.oxw().onCancel()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,he,3,3,"button",43),h.YNc(5,D,3,8,"button",44),h.YNc(6,S,3,4,"button",45),h.qZA()}if(2&Ct){const Y=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,4,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),h.xp6(2),h.Q6J("ngIf",void 0!==Y.stepper&&0!==Y.stepper.selectedIndex),h.xp6(1),h.Q6J("ngIf",void 0!==Y.stepper&&Y.stepper.selectedIndex!==Y.stepper._steps.length-1),h.xp6(1),h.Q6J("ngIf",void 0!==Y.stepper&&Y.stepper.selectedIndex===Y.stepper._steps.length-1)}}let P=(()=>{class Ct{constructor(Y,lt,we,ct,zt,Jt,di,Oi,zi,mn,In){this.dialogRef=Y,this.data=lt,this.membersService=we,this.apiRequestConfiguration=ct,this.usersService=zt,this.store=Jt,this.translator=di,this.authzService=Oi,this.guiAuthResolver=zi,this.formBuilder=mn,this.cd=In,this.loading=!1,this.functionalityNotSupported=!1,this.loginThatWasSet="",this.successfullyCreated=!1,this.namespaceOptions=[],this.namespaceRules=[],this.selectedNamespace=null,this.parsedRules=new Map,this.userControl=null,this.namespaceControl=null,this.voSponsors=[],this.selectedSponsor=null,this.sponsorType="self",this.isSponsor=!1,this.isPerunAdmin=!1,this.expiration="never"}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voSponsors=this.data.sponsors,this.isSponsor=this.guiAuthResolver.principalHasRole(O.u.SPONSOR,"Vo",this.data.voId),this.isPerunAdmin=this.guiAuthResolver.isPerunAdmin(),this.sponsorType=this.isSponsor?"self":"other",this.userControl=this.formBuilder.group({firstName:["",s.kI.required],lastName:["",s.kI.required],titleBefore:[""],titleAfter:[""]}),this.namespaceControl=this.formBuilder.group({namespace:["",s.kI.required],login:["",[s.kI.required]],passwordCtrl:["",s.kI.required,[(0,E.yT)(null,this.usersService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""],passwordReset:[!1,[]],email:["",[s.kI.required,s.kI.pattern(T.B2)]]},{validators:T.dN.passwordMatchValidator}),this.membersService.getAllNamespacesRules().subscribe(Y=>{this.store.get("allow_empty_sponsor_namespace")&&this.namespaceRules.push({namespaceName:"No namespace",requiredAttributes:[],optionalAttributes:[]}),this.namespaceRules=this.namespaceRules.concat(Y),this.parseNamespaceRules(),0===this.namespaceOptions.length&&(this.functionalityNotSupported=!0),this.loading=!1,this.cd.detectChanges()})}parseNamespaceRules(){for(const Y of this.namespaceRules){this.namespaceOptions.push(Y.namespaceName);const lt={login:"disabled",password:"disabled"};this.parseAttributes(lt,Y.requiredAttributes,"required"),this.parseAttributes(lt,Y.optionalAttributes,"optional"),this.parsedRules.set(Y.namespaceName,lt)}}parseAttributes(Y,lt,we){for(const ct of lt)switch(ct){case"login":Y.login=we;break;case"password":Y.password=we}}onConfirm(){this.loading=!0;const Y={vo:this.data.voId,userData:{firstName:this.userControl.get("firstName").value,lastName:this.userControl.get("lastName").value,titleAfter:this.userControl.get("titleAfter").value,titleBefore:this.userControl.get("titleBefore").value,email:this.namespaceControl.get("email").value},sponsor:"other"===this.sponsorType?this.selectedSponsor.id:this.store.getPerunPrincipal().userId},lt=this.namespaceControl.get("namespace").value,we=this.parsedRules.get(lt);"No namespace"!==lt&&(Y.userData.namespace=lt),"disabled"!==we.login&&(Y.userData.login=this.namespaceControl.get("login").value),"disabled"!==we.password&&(Y.sendActivationLink=this.namespaceControl.get("passwordReset").value,Y.userData.password=this.namespaceControl.get("passwordCtrl").value),"never"!==this.expiration&&(Y.validityTo=this.expiration),this.membersService.createSponsoredMember(Y).subscribe(ct=>{this.successfullyCreated=!0,this.dialogRef.updateSize("600px"),this.createdMember=ct,!!ct&&!!ct.userAttributes&&ct.userAttributes.filter(zt=>"login-namespace"===zt.baseFriendlyName).filter(zt=>zt.friendlyNameParameter===lt).filter(zt=>null!==zt.value).forEach(zt=>{this.loginThatWasSet=zt.value.toString()}),this.loading=!1},()=>{this.loading=!1})}onCancel(){this.successfullyCreated?this.dialogRef.close(!0):this.dialogRef.close()}onNamespaceChanged(Y){this.selectedNamespace=Y;const lt=this.parsedRules.get(Y),we=this.namespaceControl.get("login"),ct=this.namespaceControl.get("passwordCtrl"),zt=this.namespaceControl.get("passwordAgainCtrl"),Jt=this.namespaceControl.get("passwordReset");"disabled"!==lt.login?(0,T.mH)(we,"optional"===lt.login?[]:[s.kI.required]):(we.disable(),we.setValue("")),"disabled"!==lt.password?((0,T.mH)(ct,"optional"===lt.password?[]:[s.kI.required],[(0,E.yT)(Y,this.usersService,this.apiRequestConfiguration)]),(0,T.mH)(zt,[]),(0,T.mH)(Jt,[]),this.namespaceControl.get("passwordReset").setValue(!1)):(ct.disable(),ct.setValue(""),zt.disable(),zt.setValue(""),Jt.disable(),Jt.setValue(!1))}passwordResetChange(){const Y=this.namespaceControl.get("passwordCtrl"),lt=this.namespaceControl.get("passwordAgainCtrl");this.namespaceControl.get("passwordReset").value?(Y.disable(),Y.setValue(""),lt.disable(),lt.setValue("")):(Y.enable(),lt.enable())}setExpiration(Y){this.expiration="never"===Y?"never":(0,b.p6)(Y,"yyyy-MM-dd","en-GB")}getStepperNextConditions(){switch(this.stepper.selectedIndex){case 0:return this.userControl.invalid;case 1:return this.namespaceControl.invalid||this.namespaceControl.get("passwordCtrl").pending;default:return!1}}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return Ct.\u0275fac=function(Y){return new(Y||Ct)(h.Y36(m.so),h.Y36(m.WI),h.Y36(e.uq),h.Y36(A.F5),h.Y36(e.Fv),h.Y36(A.d6),h.Y36(k.sK),h.Y36(e.Ct),h.Y36(A.x4),h.Y36(s.qu),h.Y36(h.sBO))},Ct.\u0275cmp=h.Xpm({type:Ct,selectors:[["app-create-sponsored-member-dialog"]],viewQuery:function(Y,lt){if(1&Y&&h.Gf(ne,5),2&Y){let we;h.iGM(we=h.CRH())&&(lt.stepper=we.first)}},decls:7,vars:9,consts:[["mat-dialog-title","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-title",""],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],["stepper",""],[3,"stepControl"],["matStepLabel",""],["alert_type","error",4,"ngIf"],[1,"dialog-container",3,"formGroup"],[1,"mt-2"],[1,"mt-4"],["matInput","","formControlName","firstName","required","",3,"placeholder"],[4,"ngIf"],["matInput","","formControlName","lastName","required","",3,"placeholder"],["matInput","","formControlName","titleBefore",3,"placeholder"],["matInput","","formControlName","titleAfter",3,"placeholder"],[1,"dialog-container","mt-4",3,"formGroup"],["required","","formControlName","namespace",3,"placeholder","valueChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltipPosition","left",3,"matTooltip","matTooltipDisabled"],["matInput","","required","","formControlName","login",3,"placeholder"],["matInput","","required","","formControlName","email",3,"placeholder"],["labelPosition","before","formControlName","passwordReset",3,"change"],[3,"formGroup","tooltipPwdViaEmail","namespace"],[1,"dialog-container"],[1,"dialog-container",3,"ngModel","ngModelChange"],["matTooltipPosition","before",3,"matTooltip","matTooltipDisabled"],["value","self",3,"disabled","click"],["value","other",3,"disabled"],[1,"mt-2",3,"datePicker"],["alert_type","error"],[3,"value"],[3,"users","disableAutoSelect","userSelected"],[1,"bigger-font","mb-2"],[1,"mr-2","mb-2"],["alert_type","warn"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","","type","button",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],["class","ml-2","color","accent","mat-flat-button","","type","button",3,"disabled","click",4,"ngIf"],["color","accent","mat-flat-button","","type","button",3,"disabled","click"],["color","accent","mat-flat-button","","type","button",1,"ml-2",3,"disabled","click"]],template:function(Y,lt){1&Y&&(h.TgZ(0,"div"),h.YNc(1,Me,3,3,"h1",0),h.YNc(2,ve,1,0,"mat-spinner",1),h.YNc(3,tt,76,80,"div",2),h.YNc(4,rt,20,20,"div",2),h.YNc(5,N,4,3,"div",3),h.YNc(6,I,7,6,"div",3),h.qZA()),2&Y&&(h.Tol(lt.theme),h.xp6(1),h.Q6J("ngIf",!lt.successfullyCreated),h.xp6(1),h.Q6J("ngIf",lt.loading),h.xp6(1),h.Q6J("ngIf",!lt.loading&&!lt.successfullyCreated),h.xp6(1),h.Q6J("ngIf",!lt.loading&<.successfullyCreated),h.xp6(1),h.Q6J("ngIf",lt.successfullyCreated),h.xp6(1),h.Q6J("ngIf",!lt.loading&&!lt.successfullyCreated))},directives:[b.O5,m.uh,L.$g,m.xY,V.Vq,V.C0,V.VY,$.w,s._Y,s.JL,s.sg,ue.KE,ce.Nt,s.Fj,s.JJ,s.u,s.Q7,ue.TO,Le.gD,b.sg,de.ey,ke.gM,ae.oG,j.G,H.VQ,s.On,H.U0,Q.S,se,ge.Hw,m.H8,Ne.lW],pipes:[k.X$,Fe.d],styles:[".bigger-font[_ngcontent-%COMP%]{font-size:1.5rem}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:8px}mat-icon[_ngcontent-%COMP%]{color:#28a745;font-size:36px;vertical-align:bottom}"]}),Ct})();var i=d(64080),r=d(61150),p=d(7434),o=d(24179),t=d(92181);const n=["stepper"];function c(Ct,$t){1&Ct&&h._UZ(0,"mat-spinner",4)}function u(Ct,$t){1&Ct&&(h._uU(0),h.ALo(1,"translate")),2&Ct&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_LABEL"))}function y(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",29),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function M(Ct,$t){if(1&Ct&&(h.TgZ(0,"mat-option",30),h._uU(1),h.qZA()),2&Ct){const Y=$t.$implicit;h.Q6J("value",Y),h.xp6(1),h.hij(" ",Y," ")}}function re(Ct,$t){1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE_ERROR")," "))}function et(Ct,$t){1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMES_ERROR")," "))}function yt(Ct,$t){if(1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct){const Y=h.oxw(3);h.xp6(1),h.AsE(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_FORMAT"),": ",Y.usersInfoFormGroup.get("sponsoredMembers").getError("invalidFormat").value," ")}}function pt(Ct,$t){if(1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct){const Y=h.oxw(3);h.xp6(1),h.AsE(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_EMAIL"),": ",Y.usersInfoFormGroup.get("sponsoredMembers").getError("invalidEmail").value," ")}}function Nt(Ct,$t){if(1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct){const Y=h.oxw(3);h.xp6(1),h.AsE(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_LOGIN"),": ",Y.usersInfoFormGroup.get("sponsoredMembers").getError("invalidLogin").value," ")}}function It(Ct,$t){1&Ct&&(h._uU(0),h.ALo(1,"translate")),2&Ct&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_LABEL"))}function Zt(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",31),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_NAMESPACE_PASSWORD_INFO")," "))}function mt(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"mat-radio-group",32),h.NdJ("ngModelChange",function(we){return h.CHM(Y),h.oxw(3).passwordReset=we}),h.TgZ(1,"mat-radio-button",33),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-radio-button",34),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.qZA()}if(2&Ct){const Y=h.oxw(3);h.Q6J("ngModel",Y.passwordReset),h.xp6(2),h.hij(" ",h.lcZ(3,3,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GENERATE_PASSWORD")," "),h.xp6(3),h.hij(" ",h.lcZ(6,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_RESET")," ")}}function Ht(Ct,$t){1&Ct&&(h._uU(0),h.ALo(1,"translate")),2&Ct&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION_LABEL"))}function _t(Ct,$t){1&Ct&&(h._uU(0),h.ALo(1,"translate")),2&Ct&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUPS_LABEL"))}function Je(Ct,$t){1&Ct&&(h.TgZ(0,"div"),h.TgZ(1,"app-alert",35),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.qZA()),2&Ct&&(h.xp6(2),h.Oqu(h.lcZ(3,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DONT_ASSIGN_INFO")))}function Lt(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"h5",36),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-create-group-form",37),h.NdJ("nameChanged",function(we){return h.CHM(Y),h.oxw(3).name=we})("descriptionChanged",function(we){return h.CHM(Y),h.oxw(3).description=we})("parentGroupChanged",function(we){return h.CHM(Y),h.oxw(3).parentGroup=we})("asSubgroupChanged",function(we){return h.CHM(Y),h.oxw(3).asSubGroup=we}),h.qZA(),h.qZA()}if(2&Ct){const Y=h.oxw(3);h.xp6(2),h.hij(" ",h.lcZ(3,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CREATE_NEW_GROUP")," "),h.xp6(2),h.Q6J("voGroups",Y.allVoGroups)}}const ht=function(){return["select","id","name","description"]};function Rt(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"h5",36),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-immediate-filter",38),h.NdJ("filter",function(we){return h.CHM(Y),h.oxw(3).applyFilter(we)}),h.qZA(),h._UZ(5,"perun-web-apps-groups-list",39),h.qZA()}if(2&Ct){const Y=h.oxw(3);h.xp6(2),h.hij(" ",h.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SELECT_EXISTING_GROUPS")," "),h.xp6(2),h.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),h.xp6(1),h.Q6J("groups",Y.assignableGroups)("selection",Y.selection)("displayedColumns",h.DdM(10,ht))("disableRouting",!0)("tableId",Y.tableId)("filter",Y.filterValue)}}function qe(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"mat-stepper",8,9),h.TgZ(2,"mat-step",10),h.YNc(3,u,2,3,"ng-template",11),h.YNc(4,y,3,3,"app-alert",12),h.TgZ(5,"h5",13),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"form",14),h.TgZ(9,"mat-form-field"),h.TgZ(10,"mat-select",15),h.ALo(11,"translate"),h.YNc(12,M,2,2,"mat-option",16),h.qZA(),h.YNc(13,re,3,3,"mat-error",7),h.qZA(),h.TgZ(14,"div"),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.TgZ(17,"div",17),h._uU(18),h.qZA(),h.TgZ(19,"mat-form-field",18),h.TgZ(20,"mat-label"),h._uU(21),h.ALo(22,"translate"),h.qZA(),h.TgZ(23,"textarea",19),h._uU(24," "),h.qZA(),h.YNc(25,et,3,3,"mat-error",7),h.YNc(26,yt,3,4,"mat-error",7),h.YNc(27,pt,3,4,"mat-error",7),h.YNc(28,Nt,3,4,"mat-error",7),h.qZA(),h.qZA(),h.qZA(),h.TgZ(29,"mat-step"),h.YNc(30,It,2,3,"ng-template",11),h.TgZ(31,"div",13),h.TgZ(32,"h5",20),h._uU(33),h.ALo(34,"translate"),h.qZA(),h.YNc(35,Zt,3,3,"app-alert",21),h.YNc(36,mt,7,7,"mat-radio-group",22),h.qZA(),h.qZA(),h.TgZ(37,"mat-step"),h.YNc(38,Ht,2,3,"ng-template",11),h.TgZ(39,"div",13),h.TgZ(40,"h5",20),h._uU(41),h.ALo(42,"translate"),h.qZA(),h.TgZ(43,"perun-web-apps-expiration-select",23),h.NdJ("datePicker",function(we){return h.CHM(Y),h.oxw(2).setExpiration(we)}),h.qZA(),h.qZA(),h.qZA(),h.TgZ(44,"mat-step"),h.YNc(45,_t,2,3,"ng-template",11),h.TgZ(46,"div",13),h.TgZ(47,"h5",20),h._uU(48),h.ALo(49,"translate"),h.qZA(),h.TgZ(50,"mat-radio-group",24),h.NdJ("change",function(){return h.CHM(Y),h.oxw(2).groupAssigmentChanged()})("ngModelChange",function(we){return h.CHM(Y),h.oxw(2).groupAssignment=we}),h.TgZ(51,"mat-radio-button",25),h._uU(52),h.ALo(53,"translate"),h.qZA(),h.TgZ(54,"span",26),h.ALo(55,"translate"),h.TgZ(56,"mat-radio-button",27),h._uU(57),h.ALo(58,"translate"),h.qZA(),h.qZA(),h.TgZ(59,"span",26),h.ALo(60,"translate"),h.TgZ(61,"mat-radio-button",28),h._uU(62),h.ALo(63,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.YNc(64,Je,4,3,"div",7),h.YNc(65,Lt,5,4,"div",7),h.YNc(66,Rt,6,11,"div",7),h.qZA(),h.qZA()}if(2&Ct){const Y=h.oxw(2);h.Q6J("linear",!0),h.xp6(2),h.Q6J("stepControl",Y.usersInfoFormGroup),h.xp6(2),h.Q6J("ngIf",Y.functionalityNotSupported),h.xp6(2),h.Oqu(h.lcZ(7,35,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_INFO")),h.xp6(2),h.Q6J("formGroup",Y.usersInfoFormGroup),h.xp6(2),h.s9C("placeholder",h.lcZ(11,37,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE")),h.xp6(2),h.Q6J("ngForOf",Y.namespaceOptions),h.xp6(1),h.Q6J("ngIf",Y.usersInfoFormGroup.hasError("required","namespace")),h.xp6(2),h.Oqu(h.lcZ(16,39,"DIALOGS.GENERATE_SPONSORED_MEMBERS.HINT")),h.xp6(3),h.hij(" ",Y.getSelectedNamespaceRules().csvGenHeaderDescription," "),h.xp6(3),h.Oqu(h.lcZ(22,41,"DIALOGS.GENERATE_SPONSORED_MEMBERS.INSERT_HERE")),h.xp6(2),h.s9C("placeholder",Y.getSelectedNamespaceRules().csvGenPlaceholder),h.xp6(2),h.Q6J("ngIf",Y.usersInfoFormGroup.hasError("required","sponsoredMembers")),h.xp6(1),h.Q6J("ngIf",Y.usersInfoFormGroup.hasError("invalidFormat","sponsoredMembers")),h.xp6(1),h.Q6J("ngIf",Y.usersInfoFormGroup.hasError("invalidEmail","sponsoredMembers")),h.xp6(1),h.Q6J("ngIf",Y.usersInfoFormGroup.hasError("invalidLogin","sponsoredMembers")),h.xp6(5),h.hij(" ",h.lcZ(34,43,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_MANAGEMENT")," "),h.xp6(2),h.Q6J("ngIf","No namespace"===Y.getSelectedNamespaceRules().namespaceName),h.xp6(1),h.Q6J("ngIf","No namespace"!==Y.getSelectedNamespaceRules().namespaceName),h.xp6(5),h.Oqu(h.lcZ(42,45,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION")),h.xp6(2),h.Q6J("expiration",Y.expiration),h.xp6(5),h.Oqu(h.lcZ(49,47,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUP_ASSIGMENT")),h.xp6(2),h.Q6J("ngModel",Y.groupAssignment),h.xp6(2),h.hij(" ",h.lcZ(53,49,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_ASSIGN")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(55,51,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_NEW")),h.Q6J("matTooltipDisabled",!Y.manualMemberAddingBlocked&&Y.createGroupAuth),h.xp6(2),h.Q6J("disabled",Y.manualMemberAddingBlocked||!Y.createGroupAuth),h.xp6(1),h.hij(" ",h.lcZ(58,53,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_TO_NEW")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(60,55,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_EXISTING")),h.Q6J("matTooltipDisabled",!Y.manualMemberAddingBlocked&&0!==Y.assignableGroups.length),h.xp6(2),h.Q6J("disabled",Y.manualMemberAddingBlocked||0===Y.assignableGroups.length),h.xp6(1),h.hij(" ",h.lcZ(63,57,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_EXISTING")," "),h.xp6(2),h.Q6J("ngIf","none"===Y.groupAssignment),h.xp6(1),h.Q6J("ngIf","new"===Y.groupAssignment),h.xp6(1),h.Q6J("ngIf","existing"===Y.groupAssignment)}}function Ye(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",41),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.Q6J("alert_type","success"),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUCCESS")," "))}function oe(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",41),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.Q6J("alert_type","warn"),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.FINISHED_WITH_ERRORS")," "))}function Z(Ct,$t){if(1&Ct&&(h.TgZ(0,"div"),h.YNc(1,Ye,3,4,"app-alert",40),h.YNc(2,oe,3,4,"app-alert",40),h.qZA()),2&Ct){const Y=h.oxw(2);h.xp6(1),h.Q6J("ngIf",!1===Y.finishedWithErrors),h.xp6(1),h.Q6J("ngIf",Y.finishedWithErrors)}}function G(Ct,$t){if(1&Ct&&(h.TgZ(0,"div",5),h.YNc(1,qe,67,59,"mat-stepper",6),h.YNc(2,Z,3,2,"div",7),h.qZA()),2&Ct){const Y=h.oxw();h.xp6(1),h.Q6J("ngIf","user-input"===Y.state),h.xp6(1),h.Q6J("ngIf","results"===Y.state)}}function X(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",47),h.NdJ("click",function(){return h.CHM(Y),h.oxw(2).stepperPrevious()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "))}function _e(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",48),h.NdJ("click",function(){return h.CHM(Y),h.oxw(2).stepperNext()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&Ct){const Y=h.oxw(2);h.ekj("ml-2",void 0!==Y.stepper&&0!==Y.stepper.selectedIndex)("ml-auto",!(void 0!==Y.stepper&&0!==Y.stepper.selectedIndex)),h.Q6J("disabled",Y.getStepperNextConditions()),h.xp6(1),h.hij(" ",h.lcZ(2,6,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," ")}}function Ue(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",48),h.NdJ("click",function(){return h.CHM(Y),h.oxw(2).onSubmit()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&Ct){const Y=h.oxw(2);h.Q6J("disabled",null===Y.groupAssignment||"existing"===Y.groupAssignment&&0===Y.selection.selected.length||"new"===Y.groupAssignment&&(0===Y.name.length||0===Y.description.length)||!0===Y.asSubGroup&&null===Y.parentGroup),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUBMIT")," ")}}function wt(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div",42),h.TgZ(1,"button",43),h.NdJ("click",function(){return h.CHM(Y),h.oxw().onCancel()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,X,3,3,"button",44),h.YNc(5,_e,3,8,"button",45),h.YNc(6,Ue,3,4,"button",46),h.qZA()}if(2&Ct){const Y=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,4,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),h.xp6(2),h.Q6J("ngIf",void 0!==Y.stepper&&0!==Y.stepper.selectedIndex),h.xp6(1),h.Q6J("ngIf",void 0!==Y.stepper&&Y.stepper.selectedIndex!==Y.stepper._steps.length-1),h.xp6(1),h.Q6J("ngIf",void 0!==Y.stepper&&Y.stepper.selectedIndex===Y.stepper._steps.length-1)}}function Ut(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div",42),h.TgZ(1,"button",43),h.NdJ("click",function(){return h.CHM(Y),h.oxw().onClose()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"button",49),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"mat-menu",null,50),h.TgZ(9,"button",51),h.NdJ("click",function(){return h.CHM(Y),h.oxw().generatePdf()}),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.TgZ(12,"button",51),h.NdJ("click",function(){return h.CHM(Y),h.oxw().downloadCsv()}),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&Ct){const Y=h.MAs(8);h.xp6(2),h.hij(" ",h.lcZ(3,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CLOSE")," "),h.xp6(2),h.Q6J("matMenuTriggerFor",Y),h.xp6(1),h.hij(" ",h.lcZ(6,7,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD")," "),h.xp6(5),h.hij(" ",h.lcZ(11,9,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD_PDF")," "),h.xp6(3),h.hij(" ",h.lcZ(14,11,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD_CSV")," ")}}let Vt=(()=>{class Ct{constructor(Y,lt,we,ct,zt,Jt,di,Oi,zi,mn,In,Wi){this.dialogRef=Y,this.data=lt,this.store=we,this.membersService=ct,this.notificator=zt,this.translate=Jt,this.guiAuthResolver=di,this.groupsService=Oi,this.attributesService=zi,this.formBuilder=mn,this.sponsoredMembersPDFService=In,this.cd=Wi,this.loading=!1,this.functionalityNotSupported=!1,this.namespaceOptions=[],this.namespaceRules=[],this.state="user-input",this.passwordReset="generate",this.groupAssignment=null,this.expiration="never",this.assignableGroups=[],this.allVoGroups=[],this.selection=new f.Ov(!0,[]),this.manualMemberAddingBlocked=!1,this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null,this.groupIds=[],this.submitDisabled=!1,this.filterValue="",this.tableId=g.rc,this.finishedWithErrors=!1,this.groupAttrNames=[i.r.GROUP_SYNC_ENABLED,i.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING]}static didSomeGenerationFailed(Y){return Y.forEach(lt=>{if("OK"!==lt.status)return!0}),!1}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.createGroupAuth=this.guiAuthResolver.isAuthorized("createGroup_Vo_Group_policy",[{id:this.data.voId,beanName:"Vo"}]),this.usersInfoFormGroup=this.formBuilder.group({namespace:["",s.kI.required],sponsoredMembers:["",[s.kI.required,this.userInputValidator()]]}),this.usersInfoFormGroup.controls.namespace.valueChanges.subscribe({next:()=>{this.usersInfoFormGroup.controls.sponsoredMembers.updateValueAndValidity()}}),this.attributesService.getVoAttributes(this.data.voId).subscribe(Y=>{this.manualMemberAddingBlocked=this.hasAttributeEnabled(Y,"blockManualMemberAdding"),!0!==this.manualMemberAddingBlocked?this.groupsService.getAllRichGroupsWithAttributesByNames(this.data.voId,this.groupAttrNames).subscribe(lt=>{this.allVoGroups=lt.filter(we=>"members"!==we.name),this.assignableGroups=this.filterAssignableGroups(lt),this.membersService.getAllNamespacesRules().subscribe(we=>{this.store.get("allow_empty_sponsor_namespace")&&this.namespaceRules.push({namespaceName:"No namespace",csvGenHeader:"firstname;lastname;urn:perun:user:attribute-def:def:preferredMail",csvGenPlaceholder:"John;Doe;john@mail.cz",csvGenHeaderDescription:"First name;Last name;Email"}),this.namespaceRules=this.namespaceRules.concat(we),this.namespaceRules.forEach(ct=>this.namespaceOptions.push(ct.namespaceName)),0===this.namespaceOptions.length?this.functionalityNotSupported=!0:this.usersInfoFormGroup.setValue({namespace:this.namespaceOptions[0],sponsoredMembers:""}),this.loading=!1,this.cd.detectChanges()})},()=>this.loading=!1):(this.loading=!1,this.cd.detectChanges())},()=>this.loading=!1)}filterAssignableGroups(Y){const lt=[];for(const we of Y)!this.hasAttributeEnabled(we.attributes,"synchronizationEnabled")&&!this.hasAttributeEnabled(we.attributes,"blockManualMemberAdding")&&this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[we])&<.push(we);return lt}hasAttributeEnabled(Y,lt){return Y.some(we=>we.friendlyName===lt&&null!==we.value&&"true"===we.value.toString())}createOutputObjects(Y){let lt="",we="",ct="",zt="";const Jt=[];return Y.forEach(di=>{lt=di.name.replace(";"," ").split(";")[0],we=di.status,ct=di.login?di.login:ct,zt=di.password?di.password:zt,Jt.push({name:lt,status:we,login:ct,password:zt})}),Jt}onGenerate(){this.loading=!0;const Y=this.usersInfoFormGroup.get("sponsoredMembers").value.split("\n"),lt=this.getSelectedNamespaceRules().csvGenHeader,we=[];for(const zt of Y){const Jt=this.parseMemberLine(zt);if("format"===Jt||"email"===Jt)return void(this.loading=!1);""!==Jt&&we.push(Jt)}const ct={data:we,header:lt,namespace:"",sponsor:this.store.getPerunPrincipal().userId,vo:this.data.voId,sendActivationLinks:"reset"===this.passwordReset};"none"!==this.groupAssignment&&(ct.groups=this.groupIds),"never"!==this.expiration&&(ct.validityTo=(0,b.p6)(this.expiration,"yyyy-MM-dd","en-GB")),"No namespace"!==this.usersInfoFormGroup.get("namespace").value&&(ct.namespace=this.usersInfoFormGroup.get("namespace").value),this.membersService.createSponsoredMembersFromCSV(ct).subscribe(zt=>{this.state="results",this.finishedWithErrors=Ct.didSomeGenerationFailed(zt),this.loading=!1,this.resultData=zt},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onClose(){this.dialogRef.close(!0)}parseMemberLine(Y){const lt=Y.trim();if(""===lt)return"";const we=lt.split(";"),ct=this.getSelectedNamespaceRules().csvGenHeader.split(";");if(we.length!==ct.length)return"format";if("mail"===ct[2].slice(ct[2].length-4).toLowerCase()&&!we[2].trim().match(T.B2))return"email";if("login"===ct[3]&&""===we[3].trim())return"login";let zt="";for(const Jt of we)zt+=Jt.trim()+";";return zt.slice(0,-1)}userInputValidator(){return Y=>{const lt=Y.value.split("\n");for(const we of lt){const ct=this.parseMemberLine(we);if("format"===ct)return{invalidFormat:{value:we}};if("email"===ct)return{invalidEmail:{value:we}};if("login"===ct)return{invalidLogin:{value:we}}}return null}}setExpiration(Y){this.expiration="never"===Y?"never":(0,b.p6)(Y,"yyyy-MM-dd","en-GB")}applyFilter(Y){this.filterValue=Y}groupAssigmentChanged(){this.selection.clear(),this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null}onSubmit(){this.loading=!0,"new"===this.groupAssignment?this.asSubGroup?this.groupsService.createGroupWithParentGroupNameDescription(this.parentGroup.id,this.name,this.description).subscribe(Y=>{this.groupIds.push(Y.id),this.onGenerate()},()=>this.loading=!1):this.groupsService.createGroupWithVoNameDescription(this.data.voId,this.name,this.description).subscribe(Y=>{this.groupIds.push(Y.id),this.onGenerate()},()=>this.loading=!1):("existing"===this.groupAssignment&&(this.groupIds=this.selection.selected.map(Y=>Y.id)),this.onGenerate())}getSelectedNamespaceRules(){return this.namespaceRules.find(Y=>Y.namespaceName===this.usersInfoFormGroup.get("namespace").value)}generatePdf(){if(!this.resultData)throw new Error("Cannot generate pdf because there is no result");this.loading=!0,this.sponsoredMembersPDFService.generate(this.resultData).then(()=>this.loading=!1)}downloadCsv(){if(!this.resultData)throw new Error("Cannot generate pdf because there is no result");(0,T.O6)(this.createOutputObjects(this.resultData),"csv","member-logins")}getStepperNextConditions(){switch(this.stepper.selectedIndex){case 0:return this.usersInfoFormGroup.invalid;case 1:return null===this.passwordReset;case 2:return null===this.expiration;default:return!1}}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return Ct.\u0275fac=function(Y){return new(Y||Ct)(h.Y36(m.so),h.Y36(m.WI),h.Y36(A.d6),h.Y36(e.uq),h.Y36(A.V6),h.Y36(k.sK),h.Y36(A.x4),h.Y36(e.ff),h.Y36(e.H8),h.Y36(s.qu),h.Y36(A.HV),h.Y36(h.sBO))},Ct.\u0275cmp=h.Xpm({type:Ct,selectors:[["app-generate-sponsored-members-dialog"]],viewQuery:function(Y,lt){if(1&Y&&h.Gf(n,5),2&Y){let we;h.iGM(we=h.CRH())&&(lt.stepper=we.first)}},decls:8,vars:10,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear",4,"ngIf"],[4,"ngIf"],[3,"linear"],["stepper",""],[3,"stepControl"],["matStepLabel",""],["alert_type","error",4,"ngIf"],[1,"mt-2"],[1,"flex-container","mt-2",3,"formGroup"],["required","","formControlName","namespace",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[1,"font-weight-bold"],[1,"pt-2"],["id","voGenerateSponsoredMembers","name","voGenerateSponsoredMembers","rows","8","cols","50","matInput","","formControlName","sponsoredMembers",1,"md-textarea","form-control",3,"placeholder"],[1,"mb-4"],["alert_type","info",4,"ngIf"],[3,"ngModel","ngModelChange",4,"ngIf"],[3,"expiration","datePicker"],[1,"flex-container",3,"ngModel","change","ngModelChange"],["value","none"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["value","new",3,"disabled"],["value","existing",3,"disabled"],["alert_type","error"],[3,"value"],["alert_type","info"],[3,"ngModel","ngModelChange"],["value","generate"],["value","reset"],["alert_type","info",1,"mt-4"],[1,"mt-4"],[3,"voGroups","nameChanged","descriptionChanged","parentGroupChanged","asSubgroupChanged"],[3,"placeholder","filter"],[3,"groups","selection","displayedColumns","disableRouting","tableId","filter"],[3,"alert_type",4,"ngIf"],[3,"alert_type"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],["color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-auto","dropdown-toggle",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(Y,lt){1&Y&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,c,1,0,"mat-spinner",1),h.YNc(5,G,3,2,"div",2),h.YNc(6,wt,7,6,"div",3),h.YNc(7,Ut,15,13,"div",3),h.qZA()),2&Y&&(h.Tol(lt.theme),h.xp6(2),h.Oqu(h.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.TITLE")),h.xp6(2),h.Q6J("ngIf",lt.loading),h.xp6(1),h.Q6J("ngIf",!lt.loading),h.xp6(1),h.Q6J("ngIf",!lt.loading&&void 0!==lt.stepper&&"results"!==lt.state),h.xp6(1),h.Q6J("ngIf","results"===lt.state))},directives:[m.uh,b.O5,L.$g,m.xY,V.Vq,V.C0,V.VY,$.w,s._Y,s.JL,s.sg,ue.KE,Le.gD,s.Q7,s.JJ,s.u,b.sg,de.ey,ue.TO,ue.hX,ce.Nt,s.Fj,H.VQ,s.On,H.U0,se,ke.gM,r.r,p.L,o.W,m.H8,Ne.lW,t.p6,t.VK,t.OP],pipes:[k.X$],styles:[".flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),Ct})();var Dt=d(38383);function Et(Ct,$t){1&Ct&&h._UZ(0,"mat-spinner",12)}const At=function(){return["checkbox","id","fullName","status","sponsored","email"]};function Ot(Ct,$t){if(1&Ct&&h._UZ(0,"perun-web-apps-members-list",13),2&Ct){const Y=h.oxw();h.Q6J("tableId",Y.tableId)("hidden",Y.loading)("members",Y.members)("selection",Y.selection)("displayedColumns",h.DdM(6,At))("disableRouting",!0)}}function Kt(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",14),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.SPONSOR_EXISTING_MEMBER.BEGIN_SEARCH")," "))}let li=(()=>{class Ct{constructor(Y,lt,we,ct,zt,Jt){this.dialogRef=Y,this.data=lt,this.store=we,this.membersService=ct,this.notificator=zt,this.translate=Jt,this.loading=!1,this.tableId=g.US,this.expiration="never",this.searchCtrl=new s.NI("",[s.kI.required]),this.firstSearchDone=!1,this.members=[],this.selection=new f.Ov(!0,[])}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}sponsor(Y){if(this.loading=!0,0===Y.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.SPONSOR_EXISTING_MEMBER.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const lt=Y.pop();lt.sponsored?this.membersService.sponsorMember(lt.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(Y)},()=>this.loading=!1):this.membersService.setSponsorshipForMember(lt.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(Y)},()=>this.loading=!1)}onSubmit(){this.loading=!0;const Y=Array.from(this.selection.selected);this.expiration="never"===this.expiration?null:this.expiration,this.sponsor(Y)}setExpiration(Y){this.expiration="never"===Y?"never":(0,b.p6)(Y,"yyyy-MM-dd","en-GB")}onSearchByString(){this.searchCtrl.invalid?this.searchCtrl.markAllAsTouched():(this.firstSearchDone=!0,this.loading=!0,this.selection.clear(),this.membersService.findCompleteRichMembersForVo(this.data.voId,[i.r.MEMBER_DEF_EXPIRATION,i.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(lt=>{this.members=lt,this.loading=!1},()=>this.loading=!1))}}return Ct.\u0275fac=function(Y){return new(Y||Ct)(h.Y36(m.so),h.Y36(m.WI),h.Y36(A.d6),h.Y36(e.uq),h.Y36(A.V6),h.Y36(k.sK))},Ct.\u0275cmp=h.Xpm({type:Ct,selectors:[["app-sponsor-existing-member-dialog"]],decls:31,vars:30,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"ml-auto",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","hidden","members","selection","displayedColumns","disableRouting",4,"ngIf"],["alert_type","info",4,"ngIf"],[3,"datePicker"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","hidden","members","selection","displayedColumns","disableRouting"],["alert_type","info"]],template:function(Y,lt){1&Y&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",1),h.TgZ(5,"mat-form-field",2),h.TgZ(6,"label"),h.TgZ(7,"input",3),h.NdJ("keyup.enter",function(){return lt.onSearchByString()}),h.ALo(8,"translate"),h.qZA(),h.qZA(),h.TgZ(9,"mat-error"),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.qZA(),h.TgZ(12,"button",4),h.NdJ("click",function(){return lt.onSearchByString()}),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.YNc(15,Et,1,0,"mat-spinner",5),h.YNc(16,Ot,1,7,"perun-web-apps-members-list",6),h.YNc(17,Kt,3,3,"app-alert",7),h.TgZ(18,"div"),h._UZ(19,"br"),h.TgZ(20,"h6"),h._uU(21),h.ALo(22,"translate"),h.qZA(),h.TgZ(23,"perun-web-apps-expiration-select",8),h.NdJ("datePicker",function(ct){return lt.setExpiration(ct)}),h.qZA(),h.qZA(),h.qZA(),h.TgZ(24,"div",9),h.TgZ(25,"button",10),h.NdJ("click",function(){return lt.onCancel()}),h._uU(26),h.ALo(27,"translate"),h.qZA(),h.TgZ(28,"button",11),h.NdJ("click",function(){return lt.onSubmit()}),h._uU(29),h.ALo(30,"translate"),h.qZA(),h.qZA(),h.qZA()),2&Y&&(h.Tol(lt.theme),h.xp6(2),h.Oqu(h.lcZ(3,16,"DIALOGS.SPONSOR_EXISTING_MEMBER.TITLE")),h.xp6(5),h.s9C("placeholder",h.lcZ(8,18,"DIALOGS.SPONSOR_EXISTING_MEMBER.DESCRIPTION")),h.Q6J("formControl",lt.searchCtrl),h.xp6(3),h.hij(" ",h.lcZ(11,20,"DIALOGS.SPONSOR_EXISTING_MEMBER.EMPTY_SEARCH_MESSAGE")," "),h.xp6(2),h.Q6J("disabled",lt.loading),h.xp6(1),h.hij(" ",h.lcZ(14,22,"DIALOGS.SPONSOR_EXISTING_MEMBER.SEARCH")," "),h.xp6(2),h.Q6J("ngIf",lt.loading),h.xp6(1),h.Q6J("ngIf",lt.firstSearchDone),h.xp6(1),h.Q6J("ngIf",!lt.firstSearchDone),h.xp6(4),h.Oqu(h.lcZ(22,24,"DIALOGS.SPONSOR_EXISTING_MEMBER.EXPIRATION")),h.xp6(5),h.hij(" ",h.lcZ(27,26,"DIALOGS.SPONSOR_EXISTING_MEMBER.CANCEL")," "),h.xp6(2),h.Q6J("disabled",lt.loading||0===lt.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(30,28,"DIALOGS.SPONSOR_EXISTING_MEMBER.SPONSOR")," "))},directives:[m.uh,m.xY,ue.KE,ce.Nt,s.Fj,s.JJ,s.oH,ue.TO,Ne.lW,b.O5,L.$g,Dt.O,$.w,se,m.H8],pipes:[k.X$],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}"]}),Ct})();var fi=d(96214),Ci=d(84847),Si=d(32075),Vi=d(19352),nn=d(58964),$i=d(18750),Yi=d(50301),bn=d(30325);function Qi(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"th",16),h.TgZ(1,"mat-checkbox",17),h.NdJ("change",function(we){h.CHM(Y);const ct=h.oxw();return we?ct.masterToggle():null}),h.qZA(),h.qZA()}if(2&Ct){const Y=h.oxw();h.xp6(1),h.Q6J("aria-label",Y.checkboxLabel())("checked",Y.selection.hasValue()&&Y.isAllSelected())("indeterminate",Y.selection.hasValue()&&!Y.isAllSelected())}}function We(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"td",18),h.TgZ(1,"mat-checkbox",19),h.NdJ("change",function(we){const zt=h.CHM(Y).$implicit,Jt=h.oxw();return we?Jt.selection.toggle(zt):null})("click",function(we){return we.stopPropagation()}),h.qZA(),h.qZA()}if(2&Ct){const Y=$t.$implicit,lt=h.oxw();h.xp6(1),h.Q6J("aria-label",lt.checkboxLabel(Y))("checked",lt.selection.isSelected(Y))}}function Tt(Ct,$t){1&Ct&&(h.TgZ(0,"th",20),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.ID")," "))}function Qe(Ct,$t){if(1&Ct&&(h.TgZ(0,"td",21),h._uU(1),h.qZA()),2&Ct){const Y=$t.$implicit;h.xp6(1),h.hij(" ",Y.member.id," ")}}function Ze(Ct,$t){1&Ct&&(h.TgZ(0,"th",20),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NAME")," "))}function gt(Ct,$t){if(1&Ct&&(h.TgZ(0,"td",22),h._uU(1),h.ALo(2,"userFullName"),h.qZA()),2&Ct){const Y=$t.$implicit;h.xp6(1),h.hij(" ",h.lcZ(2,1,Y.member.user)," ")}}function F(Ct,$t){1&Ct&&(h.TgZ(0,"th",20),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.SPONSORS")," "))}function Be(Ct,$t){if(1&Ct&&(h.TgZ(0,"span"),h._uU(1),h.ALo(2,"userFullName"),h._UZ(3,"br"),h.qZA()),2&Ct){const Y=$t.$implicit;h.xp6(1),h.hij(" ",h.lcZ(2,1,Y.user),"")}}function ut(Ct,$t){if(1&Ct&&(h.TgZ(0,"td",22),h.YNc(1,Be,4,3,"span",23),h.qZA()),2&Ct){const Y=$t.$implicit;h.xp6(1),h.Q6J("ngForOf",Y.sponsors)}}function Mt(Ct,$t){1&Ct&&h._UZ(0,"th",20)}function ei(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"span",26),h.ALo(1,"translate"),h.TgZ(2,"button",27),h.NdJ("mouseenter",function(){return h.CHM(Y),h.oxw(2).disableRouting=!0})("mouseleave",function(){h.CHM(Y);const we=h.oxw(2);return we.disableRouting=we.routingStrategy})("click",function(){h.CHM(Y);const we=h.oxw().$implicit;return h.oxw().resetPassword(we)}),h.TgZ(3,"mat-icon"),h._uU(4,"vpn_key"),h.qZA(),h.qZA(),h.qZA()}if(2&Ct){const Y=h.oxw(2);h.Q6J("matTooltipPosition","above")("matTooltip",h.lcZ(1,3,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.PASSWORD_RESET")),h.xp6(2),h.Q6J("disabled",Y.loading)}}function Qt(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"td",22),h.TgZ(1,"button",24),h.NdJ("click",function(){const ct=h.CHM(Y).$implicit;return h.oxw().showSponsors(ct)})("mouseenter",function(){return h.CHM(Y),h.oxw().disableRouting=!0})("mouseleave",function(){h.CHM(Y);const we=h.oxw();return we.disableRouting=we.routingStrategy}),h.TgZ(2,"mat-icon"),h._uU(3,"edit"),h.qZA(),h.qZA(),h.YNc(4,ei,5,5,"span",25),h.qZA()}if(2&Ct){const Y=$t.$implicit,lt=h.oxw();h.xp6(4),h.Q6J("ngIf",lt.passwdResetAuth(Y))}}function Ri(Ct,$t){1&Ct&&h._UZ(0,"tr",28)}const bi=function(Ct,$t){return["/organizations",Ct,"members",$t]};function Li(Ct,$t){if(1&Ct&&h._UZ(0,"tr",29),2&Ct){const Y=$t.$implicit,lt=h.oxw();h.ekj("cursor-pointer",!lt.disableRouting)("disable-outline",lt.disableRouting),h.Q6J("perunWebAppsMiddleClickRouterLink",lt.disableRouting?null:h.WLB(6,bi,Y.member.voId,Y.member.id))("routerLink",lt.disableRouting?null:h.WLB(9,bi,Y.member.voId,Y.member.id))}}function Ji(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",30),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Ni(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",30),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NO_SPONSORED_MEMBERS_WARNING"),"\n"))}let Hi=(()=>{class Ct{constructor(Y,lt,we,ct,zt){this.dialog=Y,this.authResolver=lt,this.storeService=we,this.attributesManager=ct,this.tableCheckbox=zt,this.sponsoredMembers=[],this.filterValue="",this.displayedColumns=["id","name","sponsors","menu"],this.disableRouting=!1,this.refreshTable=new h.vpe,this.loading=!1,this.routingStrategy=!1,this.pageSizeOptions=T.f7}set matSort(Y){this.sort=Y}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Y=>"id"!==Y)),this.setDataSource(),this.routingStrategy=this.disableRouting}getSortDataForColumn(Y,lt){var we;switch(lt){case"id":return Y.member.id.toString();case"name":return Y.member.user?Y.member.user.lastName?Y.member.user.lastName:null!==(we=Y.member.user.firstName)&&void 0!==we?we:"":"";case"sponsors":return Y.sponsors.length.toString();default:return""}}getDataForColumn(Y,lt){switch(lt){case"id":return Y.member.id.toString();case"name":return Y.member.user?(0,T.bD)(Y.member.user):"";case"sponsors":return Y.sponsors.map(we=>(0,T.bD)(we.user)).join();default:return""}}exportData(Y){(0,T.O6)((0,T.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),Y)}setDataSource(){this.dataSource||(this.dataSource=new Si.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(Y,lt)=>(0,T.Sd)(Y,lt,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(Y,lt)=>(0,T.pR)(Y,lt,this.getSortDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.sponsoredMembers}showSponsors(Y){const lt=(0,T.kZ)();lt.width="650px",lt.data={sponsors:Y.sponsors,member:Y.member,theme:"vo-theme"},this.dialog.open(Vi.H,lt).afterClosed().subscribe(ct=>{ct&&this.refreshTable.emit()})}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(Y){return Y?`${this.selection.isSelected(Y)?"deselect":"select"} row ${Y.member.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}resetPassword(Y){this.loading=!0;const lt=this.storeService.get("password_namespace_attributes").map(we=>(we=we.split(":"))[we.length-1]);this.attributesManager.getLogins(Y.member.userId).subscribe(we=>{const ct=we.filter(di=>lt.includes(di.friendlyNameParameter)),zt=(0,T.kZ)();zt.width="400px",zt.data={userId:Y.member.userId,memberId:Y.member.id,logins:ct},this.dialog.open(nn.m,zt).afterClosed().subscribe(()=>{this.loading=!1})},()=>this.loading=!1)}passwdResetAuth(Y){return this.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[{id:Y.member.voId,beanName:"Vo"},Y.member])}}return Ct.\u0275fac=function(Y){return new(Y||Ct)(h.Y36(m.uw),h.Y36(A.x4),h.Y36(A.d6),h.Y36(e.H8),h.Y36(A.UA))},Ct.\u0275cmp=h.Xpm({type:Ct,selectors:[["app-sponsored-members-list"]],viewQuery:function(Y,lt){if(1&Y&&(h.Gf(Ci.YE,7),h.Gf(T.l9,7)),2&Y){let we;h.iGM(we=h.CRH())&&(lt.matSort=we.first),h.iGM(we=h.CRH())&&(lt.child=we.first)}},inputs:{sponsoredMembers:"sponsoredMembers",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",disableRouting:"disableRouting",tableId:"tableId"},outputs:{refreshTable:"refreshTable"},features:[h.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","sponsors"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[4,"ngFor","ngForOf"],["aria-label","sponsors of member","mat-icon-button","",1,"dark-hover-list-item",3,"click","mouseenter","mouseleave"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],["aria-label","sponsors of member","mat-icon-button","",1,"dark-hover-list-item",3,"disabled","mouseenter","mouseleave","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(Y,lt){1&Y&&(h.TgZ(0,"div",0),h.TgZ(1,"perun-web-apps-table-wrapper",1),h.NdJ("exportData",function(ct){return lt.exportData(ct)}),h.TgZ(2,"table",2),h.ynx(3,3),h.YNc(4,Qi,2,3,"th",4),h.YNc(5,We,2,2,"td",5),h.BQk(),h.ynx(6,6),h.YNc(7,Tt,3,3,"th",7),h.YNc(8,Qe,2,1,"td",8),h.BQk(),h.ynx(9,9),h.YNc(10,Ze,3,3,"th",7),h.YNc(11,gt,3,3,"td",10),h.BQk(),h.ynx(12,11),h.YNc(13,F,3,3,"th",7),h.YNc(14,ut,2,1,"td",10),h.BQk(),h.ynx(15,12),h.YNc(16,Mt,1,0,"th",7),h.YNc(17,Qt,5,1,"td",10),h.BQk(),h.YNc(18,Ri,1,0,"tr",13),h.YNc(19,Li,1,12,"tr",14),h.qZA(),h.qZA(),h.qZA(),h.YNc(20,Ji,3,3,"app-alert",15),h.YNc(21,Ni,3,3,"app-alert",15)),2&Y&&(h.Q6J("hidden",0===lt.dataSource.filteredData.length||0===lt.sponsoredMembers.length),h.xp6(1),h.Q6J("tableId",lt.tableId)("dataLength",lt.dataSource.filteredData.length)("pageSizeOptions",lt.pageSizeOptions),h.xp6(1),h.Q6J("dataSource",lt.dataSource),h.xp6(16),h.Q6J("matHeaderRowDef",lt.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",lt.displayedColumns),h.xp6(1),h.Q6J("ngIf",0===lt.dataSource.filteredData.length&&0!==lt.sponsoredMembers.length),h.xp6(1),h.Q6J("ngIf",0===lt.sponsoredMembers.length))},directives:[$i.l,Si.BZ,Ci.YE,Si.w1,Si.fO,Si.ge,ae.oG,Si.Dz,Si.ev,Ci.nU,b.sg,Ne.lW,ge.Hw,b.O5,ke.gM,Si.as,Si.XQ,Si.nj,Si.Gk,Yi.YH,bn.rH,$.w],pipes:[k.X$,Fe.d],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),Ct})();function pn(Ct,$t){if(1&Ct&&(h.TgZ(0,"button",10),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct){const Y=h.oxw(),lt=h.MAs(9);h.Q6J("disabled",Y.findSponsorsAuth&&0===Y.voSponsors.length)("matMenuTriggerFor",lt),h.xp6(1),h.hij(" ",h.lcZ(2,3,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE")," ")}}function Pi(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(Y),h.oxw().onCreate()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE_ONE")," "))}function Ti(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(Y),h.oxw().onGenerate()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.GENERATE")," "))}function Ui(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",12),h.NdJ("click",function(){return h.CHM(Y),h.oxw().onSponsorExistingMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.SPONSOR_EXISTING")," "))}function fn(Ct,$t){1&Ct&&h._UZ(0,"mat-spinner",13)}function sn(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"app-sponsored-members-list",14),h.NdJ("refreshTable",function(){return h.CHM(Y),h.oxw().refresh()}),h.qZA()}if(2&Ct){const Y=h.oxw();h.Q6J("sponsoredMembers",Y.members)("disableRouting",!Y.routeAuth)("selection",Y.selection)("filterValue",Y.searchString)("tableId",Y.tableId)}}let qi=(()=>{class Ct{constructor(Y,lt,we,ct,zt,Jt){this.membersManager=Y,this.dialog=lt,this.authResolver=we,this.storeService=ct,this.authzResolver=zt,this.entityStorageService=Jt,this.members=[],this.voSponsors=[],this.attrNames=[],this.selection=new f.Ov(!0,[]),this.searchString="",this.loading=!1,this.tableId=g.Bf}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights();const Y=["SPONSOR"],lt=new Map;this.authResolver.getRolesAuthorization(Y,this.vo,lt),this.findSponsorsAuth=lt.get(Y[0]).readAuth,this.findSponsorsAuth?this.authzResolver.getAuthzRichAdmins(O.u.SPONSOR,this.vo.id,"Vo",[i.r.USER_DEF_PREFERRED_MAIL],!1,!1).subscribe(ct=>{this.voSponsors=ct,this.refresh()}):this.refresh()}setAuthRights(){this.createAuth=this.authResolver.isAuthorized("createSponsoredMember_Vo_String_Map_String_User_LocalDate_policy",[this.vo,this.storeService.getPerunPrincipal().user]),this.generateAuth=this.authResolver.isAuthorized("createSponsoredMembers_Vo_String_List_User_policy",[this.vo,this.storeService.getPerunPrincipal().user]),this.setSponsorshipAuth=this.authResolver.isAuthorized("setSponsorshipForMember_Member_User_LocalDate_policy",[this.vo,this.storeService.getPerunPrincipal().user]),null!==this.members&&0!==this.members.length&&(this.routeAuth=this.authResolver.isAuthorized("getMemberById_int_policy",[this.vo,this.members[0].member]))}onCreate(){const Y=(0,T.kZ)();Y.width="620px",Y.data={entityId:this.vo.id,voId:this.vo.id,sponsors:this.voSponsors,theme:"vo-theme"},this.dialog.open(P,Y).afterClosed().subscribe(we=>{we&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(ct=>{this.storeService.setPerunPrincipal(ct),this.refresh()}))})}onGenerate(){const Y=(0,T.kZ)();Y.width="750px",Y.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(Vt,Y).afterClosed().subscribe(we=>{we&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(ct=>{this.storeService.setPerunPrincipal(ct),this.refresh()}))})}onSponsorExistingMember(){const Y=(0,T.kZ)();Y.width="650px",Y.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(li,Y).afterClosed().subscribe(we=>{we&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(ct=>{this.storeService.setPerunPrincipal(ct),this.refresh()}))})}refresh(){this.loading=!0,this.membersManager.getSponsoredMembersAndTheirSponsors(this.vo.id,this.attrNames).subscribe(Y=>{this.selection.clear(),this.members=Y,this.setAuthRights(),this.loading=!1})}applyFilter(Y){this.searchString=Y}}return Ct.id="VoSponsoredMembersComponent",Ct.\u0275fac=function(Y){return new(Y||Ct)(h.Y36(e.uq),h.Y36(m.uw),h.Y36(A.x4),h.Y36(A.d6),h.Y36(e.Ct),h.Y36(A.fb))},Ct.\u0275cmp=h.Xpm({type:Ct,selectors:[["app-vo-settings-sponsored-members"]],hostVars:2,hostBindings:function(Y,lt){2&Y&&h.ekj("router-component",lt.true)},decls:16,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2 dropdown-toggle",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","","class","action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"sponsoredMembers","disableRouting","selection","filterValue","tableId","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",1,"action-button",3,"click"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"sponsoredMembers","disableRouting","selection","filterValue","tableId","refreshTable"]],template:function(Y,lt){1&Y&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return lt.refresh()}),h.qZA(),h.TgZ(5,"span",2),h.ALo(6,"translate"),h.YNc(7,pn,3,5,"button",3),h.qZA(),h.TgZ(8,"mat-menu",null,4),h.YNc(10,Pi,3,3,"button",5),h.YNc(11,Ti,3,3,"button",5),h.qZA(),h.YNc(12,Ui,3,3,"button",6),h.TgZ(13,"perun-web-apps-immediate-filter",7),h.NdJ("filter",function(ct){return lt.applyFilter(ct)}),h.qZA(),h.YNc(14,fn,1,0,"mat-spinner",8),h.YNc(15,sn,1,5,"app-sponsored-members-list",9),h.qZA()),2&Y&&(h.xp6(2),h.Oqu(h.lcZ(3,10,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.TITLE")),h.xp6(3),h.s9C("matTooltip",h.lcZ(6,12,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.NO_SPONSORS")),h.Q6J("matTooltipDisabled",!(lt.findSponsorsAuth&&0===lt.voSponsors.length)),h.xp6(2),h.Q6J("ngIf",lt.createAuth||lt.generateAuth),h.xp6(3),h.Q6J("ngIf",lt.createAuth),h.xp6(1),h.Q6J("ngIf",lt.generateAuth),h.xp6(1),h.Q6J("ngIf",lt.setSponsorshipAuth),h.xp6(1),h.Q6J("placeholder","VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.FILTER"),h.xp6(1),h.Q6J("ngIf",lt.loading),h.xp6(1),h.Q6J("ngIf",!lt.loading))},directives:[fi.t,ke.gM,b.O5,Ne.lW,t.p6,t.VK,t.OP,p.L,L.$g,Hi],pipes:[k.X$],styles:[""]}),Ct})()},25309:(Ke,be,d)=>{"use strict";d.d(be,{Y:()=>ve});var e=d(9315),f=d(9244),g=d(36908),T=d(11717),m=d(20449),A=d(48966),s=d(93075),b=d(5e3),O=d(51062),E=d(30325),h=d(69808),k=d(20773),L=d(67322),V=d(98833),$=d(47423),ue=d(29772);function ce(me,Te){1&me&&b._UZ(0,"mat-spinner",3)}function Le(me,Te){if(1&me){const ee=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"div",4),b.TgZ(2,"mat-form-field"),b._UZ(3,"input",5),b.ALo(4,"translate"),b.TgZ(5,"mat-error"),b._uU(6),b.ALo(7,"translate"),b.qZA(),b.qZA(),b.TgZ(8,"mat-form-field"),b._UZ(9,"input",6),b.ALo(10,"translate"),b.TgZ(11,"mat-error"),b._uU(12),b.ALo(13,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(14,"div",7),b.TgZ(15,"button",8),b.NdJ("click",function(){return b.CHM(ee),b.oxw().onCancel()}),b._uU(16),b.ALo(17,"translate"),b.qZA(),b.TgZ(18,"div",9),b.ALo(19,"translate"),b.TgZ(20,"button",10),b.NdJ("click",function(){return b.CHM(ee),b.oxw().onSubmit()}),b._uU(21),b.ALo(22,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&me){const ee=b.oxw();b.xp6(3),b.s9C("placeholder",b.lcZ(4,11,"DIALOGS.CREATE_VO.FULL_NAME")),b.Q6J("formControl",ee.fullNameCtrl),b.xp6(3),b.hij(" ",b.lcZ(7,13,"DIALOGS.CREATE_VO.FILL_FULL_NAME")," "),b.xp6(3),b.s9C("placeholder",b.lcZ(10,15,"DIALOGS.CREATE_VO.SHORT_NAME")),b.Q6J("formControl",ee.shortNameCtrl),b.xp6(3),b.hij(" ",b.lcZ(13,17,"DIALOGS.CREATE_VO.FILL_SHORT_NAME")," "),b.xp6(4),b.hij(" ",b.lcZ(17,19,"DIALOGS.CREATE_VO.CANCEL")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(19,21,"DIALOGS.CREATE_VO.TOOLTIP")),b.Q6J("matTooltipDisabled",ee.shortNameCtrl.valid&&ee.fullNameCtrl.valid),b.xp6(2),b.Q6J("disabled",ee.shortNameCtrl.invalid||ee.fullNameCtrl.invalid),b.xp6(1),b.hij(" ",b.lcZ(22,23,"DIALOGS.CREATE_VO.CREATE")," ")}}let de=(()=>{class me{constructor(ee,R,Oe,Ie,He,fe){this.dialogRef=ee,this.data=R,this.notificator=Oe,this.voService=Ie,this.translate=He,this.router=fe,He.get("DIALOGS.CREATE_VO.SUCCESS").subscribe(Ce=>this.successMessage=Ce)}ngOnInit(){this.theme=this.data.theme,this.shortNameCtrl=new s.NI(null,[s.kI.required,s.kI.pattern("^[\\w.-]+$"),s.kI.maxLength(33)]),this.fullNameCtrl=new s.NI(null,[s.kI.required,s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.voService.createVoWithName(this.fullNameCtrl.value,this.shortNameCtrl.value).subscribe(ee=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0),this.router.navigate(["/organizations",ee.id])},()=>this.loading=!1)}}return me.\u0275fac=function(ee){return new(ee||me)(b.Y36(A.so),b.Y36(A.WI),b.Y36(g.V6),b.Y36(e.YF),b.Y36(O.sK),b.Y36(E.F0))},me.\u0275cmp=b.Xpm({type:me,selectors:[["app-create-vo-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","data-cy","vo-name-input",3,"placeholder","formControl"],["matInput","","required","","data-cy","vo-shortname-input",3,"placeholder","formControl"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","data-cy","create-vo-button",1,"ml-2",3,"disabled","click"]],template:function(ee,R){1&ee&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,ce,1,0,"mat-spinner",1),b.YNc(5,Le,23,25,"div",2),b.qZA()),2&ee&&(b.Tol(R.theme),b.xp6(2),b.Oqu(b.lcZ(3,6,"DIALOGS.CREATE_VO.TITLE")),b.xp6(2),b.Q6J("ngIf",R.loading),b.xp6(1),b.Q6J("ngIf",!R.loading))},directives:[A.uh,h.O5,k.$g,A.xY,L.KE,V.Nt,s.Fj,s.Q7,s.JJ,s.oH,L.TO,A.H8,$.lW,ue.gM],pipes:[O.X$],styles:[".mat-dialog-content[_ngcontent-%COMP%]{height:auto}@media (min-width: 421px) and (max-width: 755px){.mat-dialog-content[_ngcontent-%COMP%]{height:150px}}@media (max-width: 420px){.mat-dialog-content[_ngcontent-%COMP%]{height:175px}}"]}),me})();var ke=d(10036),ae=d(77968),j=d(4235),H=d(25245),Q=d(96214),te=d(7434),se=d(87831);function ge(me,Te){if(1&me){const ee=b.EpF();b.TgZ(0,"button",9),b.NdJ("click",function(){return b.CHM(ee),b.oxw().onCreateVo()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&me&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_MANAGEMENT.CREATE_VO")," "))}function Ne(me,Te){if(1&me){const ee=b.EpF();b.TgZ(0,"button",10),b.NdJ("click",function(){return b.CHM(ee),b.oxw().onRemoveVo()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}if(2&me){const ee=b.oxw();b.Q6J("disabled",0===ee.selection.selected.length),b.xp6(1),b.hij(" ",b.lcZ(2,2,"VO_MANAGEMENT.REMOVE_VO")," ")}}function Fe(me,Te){1&me&&b._UZ(0,"mat-spinner",11)}function ne(me,Te){if(1&me&&b._UZ(0,"perun-web-apps-vos-list",12),2&me){const ee=b.oxw();b.Q6J("tableId",ee.tableId)("displayedColumns",ee.displayedColumns)("filterValue",ee.filterValue)("recentIds",ee.recentIds)("selection",ee.selection)("vos",ee.vos)}}const Me=function(){return{color:"black"}};let ve=(()=>{class me{constructor(ee,R,Oe,Ie,He,fe){this.sideMenuService=ee,this.voService=R,this.guiAuthResolver=Oe,this.dialog=Ie,this.notificator=He,this.apiRequest=fe,this.vos=[],this.recentIds=[],this.filterValue="",this.tableId=ke.tw}ngOnInit(){this.loading=!0,this.selection=new m.Ov(!1,[]),this.createAuth=this.guiAuthResolver.isAuthorized("createVo_Vo_policy",[]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteVo_Vo_policy",[]),this.displayedColumns=this.deleteAuth?["checkbox","id","recent","shortName","name"]:["id","recent","shortName","name"],this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setAccessMenuItems([])}refreshTable(){this.loading=!0,this.selection.clear(),this.apiRequest.dontHandleErrorForNext(),this.voService.getMyVos().subscribe(ee=>{this.vos=ee,this.recentIds=(0,f.vL)("vos"),this.loading=!1},ee=>{"PrivilegeException"===ee.error.name?(this.vos=[],this.loading=!1):this.notificator.showRPCError(ee)})}applyFilter(ee){this.filterValue=ee}onCreateVo(){const ee=(0,f.kZ)();ee.width="610px",ee.data={theme:"vo-theme"},this.dialog.open(de,ee).afterClosed().subscribe(Oe=>{Oe&&(this.loading=!0,this.refreshTable())})}onRemoveVo(){const ee=(0,f.kZ)();ee.width="500px",ee.data={theme:"vo-theme",vos:[this.selection.selected[0]]},this.dialog.open(T.o,ee).afterClosed().subscribe(Oe=>{Oe&&this.refreshTable()})}}return me.id="VoSelectPageComponent",me.\u0275fac=function(ee){return new(ee||me)(b.Y36(ae.D),b.Y36(e.YF),b.Y36(g.x4),b.Y36(A.uw),b.Y36(g.V6),b.Y36(g.F5))},me.\u0275cmp=b.Xpm({type:me,selectors:[["app-vo-select-page"]],hostVars:2,hostBindings:function(ee,R){2&ee&&b.ekj("router-component",R.true)},decls:12,vars:11,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","vo-theme"],[1,"page-title","d-flex"],["svgIcon","perun-vo-black",1,"perun-icon","icon-scale",3,"ngStyle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","new-vo-button",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"autoFocus","placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","displayedColumns","filterValue","recentIds","selection","vos",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","new-vo-button",1,"mr-2","action-button",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","displayedColumns","filterValue","recentIds","selection","vos"]],template:function(ee,R){1&ee&&(b.TgZ(0,"div",0),b._UZ(1,"perun-web-apps-back-button"),b.TgZ(2,"h1",1),b._UZ(3,"mat-icon",2),b._uU(4),b.ALo(5,"translate"),b.qZA(),b.TgZ(6,"perun-web-apps-refresh-button",3),b.NdJ("refresh",function(){return R.refreshTable()}),b.qZA(),b.YNc(7,ge,3,3,"button",4),b.YNc(8,Ne,3,4,"button",5),b.TgZ(9,"perun-web-apps-immediate-filter",6),b.NdJ("filter",function(Ie){return R.applyFilter(Ie)}),b.qZA(),b.YNc(10,Fe,1,0,"mat-spinner",7),b.YNc(11,ne,1,6,"perun-web-apps-vos-list",8),b.qZA()),2&ee&&(b.xp6(3),b.Q6J("ngStyle",b.DdM(10,Me)),b.xp6(1),b.hij(" ",b.lcZ(5,8,"VO_MANAGEMENT.TITLE")," "),b.xp6(3),b.Q6J("ngIf",R.createAuth),b.xp6(1),b.Q6J("ngIf",R.deleteAuth),b.xp6(1),b.Q6J("autoFocus",!0)("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER"),b.xp6(1),b.Q6J("ngIf",R.loading),b.xp6(1),b.Q6J("ngIf",!R.loading))},directives:[j.W,H.Hw,h.PC,Q.t,h.O5,$.lW,te.L,k.$g,se.Z],pipes:[O.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),me})()},9193:(Ke,be,d)=>{"use strict";var e=d(22313),f=d(5e3),g=d(30325);let T=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-auth-callback"]],decls:0,vars:0,template:function(Re,at){},styles:[""]}),le})();var m=d(9315),A=d(36908),s=d(9244),b=d(84379),O=d(77968),E=d(51062),h=d(48966),k=d(2638),L=d(77446),V=d(93075),$=d(69808),ue=d(25245),ce=d(47423),Le=d(20773),de=d(98380),ke=d(90508),ae=d(50301),j=d(29772);function H(le,$e){1&le&&f._UZ(0,"mat-spinner",3)}function Q(le,$e){1&le&&(f.TgZ(0,"app-alert",4),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"USER_DETAIL.DASHBOARD.NO_RECENTLY_VIEWED")))}const te=function(le){return[le]};function se(le,$e){if(1&le&&(f.TgZ(0,"div",7),f.TgZ(1,"a",8),f.TgZ(2,"span",9),f._uU(3),f.qZA(),f._UZ(4,"mat-icon",10),f.TgZ(5,"p",11),f._uU(6),f.qZA(),f.qZA(),f.qZA()),2&le){const Re=$e.$implicit;f.xp6(1),f.Gre("",Re.style," item-itself"),f.s9C("matTooltip",Re.tooltip),f.Q6J("routerLink",Re.url)("perunWebAppsMiddleClickRouterLink",f.VKq(9,te,Re.url)),f.xp6(2),f.Oqu(Re.type),f.xp6(1),f.Q6J("svgIcon",Re.cssIcon),f.xp6(2),f.Oqu(Re.label)}}function ge(le,$e){if(1&le&&(f.TgZ(0,"div",5),f.YNc(1,se,7,11,"div",6),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("ngForOf",Re.items)}}let Ne=(()=>{class le{constructor(Re,at,kt,Yt){this.vosManager=Re,this.groupsManager=at,this.authResolver=kt,this.facilitiesManager=Yt,this.items=[],this.vosIds=[],this.groupsIds=[],this.facilitiesIds=[],this.existingRecentIds=[],this.vos=[],this.groups=[],this.facilities=[]}ngOnInit(){this.loading=!0,this.recentItems=(0,s.vL)("recent");for(const Re of this.recentItems)switch(Re.type){case"Vo":this.vosIds.push(Re.id);break;case"Group":this.groupsIds.push(Re.id);break;case"Facility":this.facilitiesIds.push(Re.id)}0===this.vosIds.length&&this.vosIds.push(-1),0===this.groupsIds.length&&this.groupsIds.push(-1),0===this.facilitiesIds.length&&this.facilitiesIds.push(-1),this.getVos()}getVos(){this.authResolver.isAuthorized("getVosByIds_List_policy",[])?this.vosManager.getVosByIds(this.vosIds).subscribe(Re=>{this.vos=Re,this.getGroups()}):this.getGroups()}getGroups(){this.authResolver.isAuthorized("getGroupsByIds_List_policy",[])?this.groupsManager.getGroupsByIds(this.groupsIds).subscribe(Re=>{this.groups=Re,this.getFacilities()}):this.getFacilities()}getFacilities(){this.authResolver.isAuthorized("getFacilitiesByIds_List_policy",[])?this.facilitiesManager.getFacilitiesByIds(this.facilitiesIds).subscribe(Re=>{this.facilities=Re,this.addRecentlyViewedToDashboard()}):this.addRecentlyViewedToDashboard()}addRecentlyViewedToDashboard(){for(const Re of this.recentItems)switch(Re.type){case"Vo":{const at=this.vos.filter(kt=>kt.id===Re.id)[0];at&&this.items.push({cssIcon:"perun-vo",url:`/organizations/${at.id}`,label:at.name,tooltip:at.name,style:"vo-btn",type:"Organization"});break}case"Group":{const at=this.groups.filter(kt=>kt.id===Re.id)[0];at&&this.items.push({cssIcon:"perun-group",url:`/organizations/${at.voId}/groups/${at.id}`,label:at.shortName,tooltip:`${Re.voName} : ${at.name.replace(/:/g," : ")}`,style:"group-btn",type:"Group"});break}case"Facility":{const at=this.facilities.filter(kt=>kt.id===Re.id)[0];at&&this.items.push({cssIcon:"perun-facility-white",url:`/facilities/${at.id}`,label:at.name,tooltip:at.name,style:"facility-btn",type:"Facility"});break}}this.loading=!1}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(m.YF),f.Y36(m.ff),f.Y36(A.x4),f.Y36(m.IQ))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-dashboard-recently-viewed-button-field"]],decls:3,vars:3,consts:[["class","ml-auto mr-auto",4,"ngIf"],["alert_type","info",4,"ngIf"],["class","items-container",4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","info"],[1,"items-container"],["class","item-itself-container","mat-ripple","",4,"ngFor","ngForOf"],["mat-ripple","",1,"item-itself-container"],["queryParamsHandling","merge",3,"routerLink","perunWebAppsMiddleClickRouterLink","matTooltip"],[1,"item-type"],[1,"item-pic","perun-icon",3,"svgIcon"],[1,"truncate"]],template:function(Re,at){1&Re&&(f.YNc(0,H,1,0,"mat-spinner",0),f.YNc(1,Q,3,3,"app-alert",1),f.YNc(2,ge,2,1,"div",2)),2&Re&&(f.Q6J("ngIf",at.loading),f.xp6(1),f.Q6J("ngIf",0===at.items.length&&!at.loading),f.xp6(1),f.Q6J("ngIf",at.items.length>0))},directives:[$.O5,Le.$g,de.w,$.sg,ke.wG,g.yS,ae.YH,j.gM,ue.Hw],pipes:[E.X$],styles:[".items-container[_ngcontent-%COMP%]{display:grid;grid-gap:0;grid-template-columns:repeat(auto-fill,minmax(208px,1fr));margin:0 -8px}@media (max-width: 768px){.items-container[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(148px,1fr))}}.item-pic[_ngcontent-%COMP%]{color:currentColor;transform:scale(3);height:74px;margin-bottom:22px;align-self:center}.item-itself-container[_ngcontent-%COMP%]{margin:8px}.item-itself[_ngcontent-%COMP%]{text-align:center;min-height:186px;height:100%;padding:20px;display:flex;flex-direction:column;font-size:1.25rem;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.item-itself[_ngcontent-%COMP%]:hover{text-decoration:none}.item-itself[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:120px;margin-bottom:10px}@media (max-width: 768px){.item-itself[_ngcontent-%COMP%]{min-height:150px;padding:10px;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.item-itself[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;margin-bottom:10px}}.item-type[_ngcontent-%COMP%]{font-size:.75rem}.truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}"]}),le})();var Fe=d(87831),ne=d(24179),Me=d(62109),ve=d(74010);function me(le,$e){1&le&&f._UZ(0,"mat-spinner",7)}const Te=function(){return["id","recent","shortName","name"]};function ee(le,$e){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-vos-list",8),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("displayedColumns",f.DdM(4,Te))("recentIds",Re.recentIds)("vos",Re.objects)}}const R=function(){return["id","recent","vo","name","description"]};function Oe(le,$e){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-groups-list",9),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("groups",Re.objects)("recentIds",Re.recentIds)("displayedColumns",f.DdM(4,R))}}const Ie=function(){return["id","recent","name","vo","facility"]};function He(le,$e){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-resources-list",10),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("resources",Re.objects)("displayedColumns",f.DdM(5,Ie))("recentIds",Re.recentIds)("routingVo",!0)}}const fe=function(){return["id","recent","name","description"]};function Ce(le,$e){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-facilities-list",11),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("facilities",Re.objects)("recentIds",Re.recentIds)("displayedColumns",f.DdM(4,fe))}}function Ve(le,$e){if(1&le&&(f.TgZ(0,"div"),f.YNc(1,ee,2,5,"span",6),f.YNc(2,Oe,2,5,"span",6),f.YNc(3,He,2,6,"span",6),f.YNc(4,Ce,2,5,"span",6),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("ngIf","Vo"===Re.primaryObject),f.xp6(1),f.Q6J("ngIf","Group"===Re.primaryObject),f.xp6(1),f.Q6J("ngIf","Resource"===Re.primaryObject),f.xp6(1),f.Q6J("ngIf","Facility"===Re.primaryObject)}}let Xe=(()=>{class le{constructor(Re,at,kt){this.authzResolver=Re,this.guiAuthResolver=at,this.resourceService=kt,this.loading=!1,this.recentIds=[]}ngOnInit(){this.loading=!0,this.primaryObject=this.guiAuthResolver.getPrimaryObjectOfRole(this.roleName),this.svgIcon="perun-"+this.primaryObject.toLowerCase()+"-black",this.title="USER_DETAIL.DASHBOARD.CARD_TITLE_"+this.roleName,this.roleTooltipInfo="USER_DETAIL.DASHBOARD.ROLE_INFO_"+this.roleName,this.getObjects()}getObjects(){switch(this.primaryObject){case"Vo":this.authzResolver.getVosWhereUserIsInRoles([this.roleName]).subscribe(Re=>{this.objects=Re,this.recentIds=(0,s.vL)("vos"),this.loading=!1});break;case"Group":this.authzResolver.getGroupsWhereUserIsInRoles([this.roleName]).subscribe(Re=>{this.objects=Re,this.recentIds=(0,s.vL)("groups"),this.loading=!1});break;case"Resource":this.resourceService.getRichResourcesByIds(this.role[this.primaryObject]).subscribe(Re=>{this.objects=Re,this.recentIds=(0,s.vL)("resources"),this.loading=!1});break;case"Facility":this.authzResolver.getFacilitiesWhereUserIsInRoles([this.roleName]).subscribe(Re=>{this.objects=Re.map(at=>({facility:at})),this.recentIds=(0,s.vL)("facilities"),this.loading=!1});break;default:this.objects=[],this.loading=!1}}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(m.Ct),f.Y36(A.x4),f.Y36(m.xk))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-dashboard-card"]],inputs:{role:"role",roleName:"roleName"},decls:11,vars:9,consts:[[1,"card","p-3"],[1,"flex-column","card-title"],[1,"cover-image",3,"svgIcon"],["matTooltipPosition","above",3,"matTooltip"],[1,"dashboard-icon"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSizeOptions","displayedColumns","recentIds","vos"],[3,"pageSizeOptions","groups","recentIds","displayedColumns"],[3,"pageSizeOptions","resources","displayedColumns","recentIds","routingVo"],[3,"pageSizeOptions","facilities","recentIds","displayedColumns"]],template:function(Re,at){1&Re&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f._UZ(2,"mat-icon",2),f._uU(3),f.ALo(4,"translate"),f.TgZ(5,"span",3),f.ALo(6,"translate"),f.TgZ(7,"mat-icon",4),f._uU(8,"info_outline"),f.qZA(),f.qZA(),f.qZA(),f.YNc(9,me,1,0,"mat-spinner",5),f.YNc(10,Ve,5,4,"div",6),f.qZA()),2&Re&&(f.xp6(2),f.Q6J("svgIcon",at.svgIcon),f.xp6(1),f.hij(" ",f.lcZ(4,5,at.title)," "),f.xp6(2),f.s9C("matTooltip",f.lcZ(6,7,at.roleTooltipInfo)),f.xp6(4),f.Q6J("ngIf",at.loading),f.xp6(1),f.Q6J("ngIf",!at.loading))},directives:[ue.Hw,j.gM,$.O5,Le.$g,Fe.Z,ne.W,Me.C,ve.X],pipes:[E.X$],styles:[".dashboard-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}.card-title[_ngcontent-%COMP%]{font-size:1.4rem;flex-wrap:wrap}.cover-image[_ngcontent-%COMP%]{transform:scale(1.8);margin-left:.9rem;margin-right:.7rem}"]}),le})();var tt=d(31359);function rt(le,$e){if(1&le){const Re=f.EpF();f.TgZ(0,"div"),f.TgZ(1,"mat-checkbox",8),f.NdJ("change",function(kt){const ni=f.CHM(Re).$implicit,ui=f.oxw();return kt?ui.changeRoleView(ni):null}),f._uU(2),f.ALo(3,"translate"),f.qZA(),f.qZA()}if(2&le){const Re=$e.$implicit,at=f.oxw();f.xp6(1),f.Q6J("checked",at.isRoleShowed(Re)),f.xp6(1),f.Oqu(f.lcZ(3,2,"USER_DETAIL.DASHBOARD.CARD_TITLE_"+Re))}}function N(le,$e){if(1&le){const Re=f.EpF();f.TgZ(0,"button",15),f.NdJ("click",function(){return f.CHM(Re),f.oxw(2).rightSettingOpened=!0}),f.TgZ(1,"mat-icon"),f._uU(2,"settings"),f.qZA(),f.qZA()}}function he(le,$e){1&le&&(f.TgZ(0,"span"),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO_NO_USER_PROFILE")))}function D(le,$e){1&le&&(f.TgZ(0,"span"),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO")))}function S(le,$e){if(1&le){const Re=f.EpF();f.TgZ(0,"button",23),f.NdJ("click",function(){return f.CHM(Re),f.oxw(3).goToUserProfile()}),f.TgZ(1,"mat-icon",24),f._uU(2,"exit_to_app"),f.qZA(),f._uU(3),f.ALo(4,"translate"),f.qZA()}if(2&le){const Re=f.oxw(3);f.xp6(3),f.AsE("",f.lcZ(4,2,"USER_DETAIL.DASHBOARD.GO_TO_USER_PROFILE")," ",Re.userProfileName," ")}}const I=function(){return["/myProfile"]};function P(le,$e){if(1&le&&(f.TgZ(0,"div"),f.TgZ(1,"div",16),f.TgZ(2,"div",17),f._uU(3),f.ALo(4,"translate"),f.qZA(),f.TgZ(5,"div",18),f.YNc(6,he,3,3,"span",14),f.YNc(7,D,3,3,"span",14),f.qZA(),f.TgZ(8,"div",19),f.TgZ(9,"button",20),f._UZ(10,"mat-icon",21),f._uU(11),f.ALo(12,"translate"),f.qZA(),f.YNc(13,S,5,4,"button",22),f.qZA(),f.qZA(),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(3),f.hij(" ",f.lcZ(4,6,"USER_DETAIL.DASHBOARD.NOT_MANAGER")," "),f.xp6(3),f.Q6J("ngIf",!Re.userProfileUrl),f.xp6(1),f.Q6J("ngIf",Re.userProfileUrl),f.xp6(2),f.Q6J("routerLink",f.DdM(10,I)),f.xp6(2),f.hij(" ",f.lcZ(12,8,"USER_DETAIL.DASHBOARD.GO_TO_MY_PROFILE")," "),f.xp6(2),f.Q6J("ngIf",Re.userProfileUrl)}}function i(le,$e){1&le&&(f.TgZ(0,"span"),f.TgZ(1,"div",3),f._uU(2),f.ALo(3,"translate"),f.qZA(),f._UZ(4,"app-perun-web-apps-dashboard-recently-viewed-button-field"),f.qZA()),2&le&&(f.xp6(2),f.hij(" ",f.lcZ(3,1,"USER_DETAIL.DASHBOARD.RECENTLY_VIEWED")," "))}function r(le,$e){1&le&&(f.TgZ(0,"div",27),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.hij(" ",f.lcZ(2,1,"USER_DETAIL.DASHBOARD.MANAGEABLE_ENTITIES")," "))}function p(le,$e){if(1&le&&f._UZ(0,"app-perun-web-apps-dashboard-card",30),2&le){const Re=f.oxw().$implicit,at=f.oxw(3);f.Q6J("roleName",Re)("role",at.roles[Re])}}function o(le,$e){if(1&le&&(f.TgZ(0,"div",28),f.YNc(1,p,1,2,"app-perun-web-apps-dashboard-card",29),f.qZA()),2&le){const Re=$e.$implicit,at=f.oxw(3);f.xp6(1),f.Q6J("ngIf",at.isRoleShowed(Re))}}function t(le,$e){if(1&le&&(f.TgZ(0,"div"),f.YNc(1,i,5,3,"span",14),f.YNc(2,r,3,3,"div",25),f.TgZ(3,"div"),f.YNc(4,o,2,1,"div",26),f.qZA(),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("ngIf",Re.recentlyViewedShow),f.xp6(1),f.Q6J("ngIf",Re.rolesToHide.toString()!==Re.roleNames.toString()),f.xp6(2),f.Q6J("ngForOf",Re.roleNames)}}function n(le,$e){if(1&le&&(f.TgZ(0,"div",9),f.TgZ(1,"h1",10),f._UZ(2,"mat-icon",11),f.TgZ(3,"span",12),f._uU(4),f.ALo(5,"translate"),f.ALo(6,"userFullName"),f.qZA(),f.YNc(7,N,3,0,"button",13),f.qZA(),f.YNc(8,P,14,11,"div",14),f.YNc(9,t,5,3,"div",14),f.qZA()),2&le){const Re=f.oxw();f.xp6(4),f.AsE("",f.lcZ(5,5,"USER_DETAIL.DASHBOARD.TITLE")," ",f.lcZ(6,7,Re.user),""),f.xp6(3),f.Q6J("ngIf",!Re.isOnlySelfRole),f.xp6(1),f.Q6J("ngIf",Re.isOnlySelfRole),f.xp6(1),f.Q6J("ngIf",!Re.isOnlySelfRole)}}let c=(()=>{class le{constructor(Re,at,kt,Yt,ni,ui,oi,Di,Zi,en){this.userManager=Re,this.storeService=at,this.sideMenuService=kt,this.route=Yt,this.router=ni,this.notificator=ui,this.translateService=oi,this.dialog=Di,this.apiRequestConfiguration=Zi,this.otherApplicationService=en,this.roles={},this.userProfileUrl="",this.isOnlySelfRole=!1,this.rightSettingOpened=!1,this.recentlyViewedShow=!0,this.rolesToHide=[],this.allowedRoles=["VOADMIN","GROUPADMIN","FACILITYADMIN","SPONSOR","RESOURCEADMIN","TOPGROUPCREATOR","VOOBSERVER","GROUPOBSERVER","FACILITYOBSERVER","RESOURCEOBSERVER"],oi.get("USER_DETAIL.DASHBOARD.MAIL_CHANGE_SUCCESS").subscribe(Nn=>this.mailSuccessMessage=Nn)}ngOnInit(){this.sideMenuService.setHomeItems([]),this.validatePreferredMailChange(),this.user=this.storeService.getPerunPrincipal().user,this.roles=this.storeService.getPerunPrincipal().roles,this.getUserProfile();const Re=Object.keys(this.roles);this.isOnlySelfRole=Re.toString()===["SELF"].toString(),this.roleNames=this.allowedRoles.filter(at=>Re.includes(at)),this.getDashboardSettings()}validatePreferredMailChange(){const Re=this.route.snapshot.queryParamMap,at=Re.get("token"),kt=Re.get("u");at&&kt&&(this.apiRequestConfiguration.dontHandleErrorForNext(),this.userManager.validatePreferredEmailChangeWithToken(at,Number.parseInt(kt,10)).subscribe(()=>{this.notificator.showSuccess(this.mailSuccessMessage),this.router.navigate([],{replaceUrl:!0})},()=>{const Yt=(0,s.kZ)();Yt.width="600px",this.dialog.open(b.qD,Yt).afterClosed().subscribe(()=>{this.getDashboardSettings()})}))}goToUserProfile(){window.open(this.userProfileUrl)}recentlyViewedChanged(){localStorage.setItem("showRecentlyViewed",JSON.stringify(this.recentlyViewedShow))}getDashboardSettings(){const Re=JSON.parse(localStorage.getItem("showRecentlyViewed"));this.recentlyViewedShow=null===Re||Re;const at=JSON.parse(localStorage.getItem("rolesToHide"));this.rolesToHide=null===at?[]:at}changeRoleView(Re){if(this.isRoleShowed(Re)){const at=[];for(const kt of this.roleNames)this.isRoleShowed(kt)||at.push(kt),kt===Re&&at.push(kt);this.rolesToHide=at}else this.rolesToHide=this.rolesToHide.filter(at=>at!==Re);localStorage.setItem("rolesToHide",JSON.stringify(this.rolesToHide))}isRoleShowed(Re){for(const at of this.rolesToHide)if(at===Re)return!1;return!0}getUserProfile(){this.userProfileUrl=this.otherApplicationService.getUrlForOtherApplication("profile"),this.userProfileName=this.storeService.get("profile_label_en")}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(m.Fv),f.Y36(A.d6),f.Y36(O.D),f.Y36(g.gz),f.Y36(g.F0),f.Y36(A.V6),f.Y36(E.sK),f.Y36(h.uw),f.Y36(A.F5),f.Y36(A.jq))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-user-dashboard"]],hostVars:2,hostBindings:function(Re,at){2&Re&&f.ekj("router-component",at.true)},decls:16,vars:13,consts:[["hasBackdrop","true",1,"dashboard"],["mode","over","position","end",3,"opened","openedChange"],[1,"m-4","user-theme"],[1,"page-subtitle"],[3,"ngModel","ngModelChange","change"],[1,"text-bigger","mt-1","mb-1"],[4,"ngFor","ngForOf"],["class","container-fluid pl-xl-5 pr-xl-5 user-theme",4,"ngIf"],[3,"checked","change"],[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],[1,"page-title","d-flex"],["svgIcon","perun-home-white",1,"home-image","perun-icon"],["data-cy","dashboard-welcome",1,"pt-1"],["mat-stroked-button","","class","ml-auto text-bigger",3,"click",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"ml-auto","text-bigger",3,"click"],[1,"card","m-3","p-5"],[1,"text-align"],[1,"text-align","pt-3"],[1,"mx-auto","pt-3"],["mat-stroked-button","",1,"text-bigger",3,"routerLink"],["svgIcon","perun-user-dark",1,"mr-1","user-icon","perun-icon"],["mat-stroked-button","","class","text-bigger ml-2 mt-2",3,"click",4,"ngIf"],["mat-stroked-button","",1,"text-bigger","ml-2","mt-2",3,"click"],[1,"mr-1"],["class","page-subtitle mt-4",4,"ngIf"],["class","mb-3",4,"ngFor","ngForOf"],[1,"page-subtitle","mt-4"],[1,"mb-3"],[3,"roleName","role",4,"ngIf"],[3,"roleName","role"]],template:function(Re,at){1&Re&&(f.TgZ(0,"mat-sidenav-container",0),f.TgZ(1,"mat-sidenav",1),f.NdJ("openedChange",function(Yt){return at.rightSettingOpened=Yt}),f.TgZ(2,"div",2),f.TgZ(3,"div",3),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div"),f.TgZ(7,"mat-checkbox",4),f.NdJ("ngModelChange",function(Yt){return at.recentlyViewedShow=Yt})("change",function(Yt){return Yt?at.recentlyViewedChanged():null}),f._uU(8),f.ALo(9,"translate"),f.qZA(),f.qZA(),f.TgZ(10,"div",5),f._uU(11),f.ALo(12,"translate"),f.qZA(),f.YNc(13,rt,4,4,"div",6),f.qZA(),f.qZA(),f.TgZ(14,"mat-sidenav-content"),f.YNc(15,n,10,9,"div",7),f.qZA(),f.qZA()),2&Re&&(f.xp6(1),f.Q6J("opened",at.rightSettingOpened),f.xp6(3),f.Oqu(f.lcZ(5,7,"USER_DETAIL.DASHBOARD.DASHBOARD_SETTINGS")),f.xp6(3),f.Q6J("ngModel",at.recentlyViewedShow),f.xp6(1),f.Oqu(f.lcZ(9,9,"USER_DETAIL.DASHBOARD.SHOW_RECENTLY_VIEWED")),f.xp6(3),f.Oqu(f.lcZ(12,11,"USER_DETAIL.DASHBOARD.SHOW_ROLES")),f.xp6(2),f.Q6J("ngForOf",at.roleNames),f.xp6(2),f.Q6J("ngIf",void 0!==at.user))},directives:[k.TM,k.JX,L.oG,V.JJ,V.On,$.sg,k.Rh,$.O5,ue.Hw,ce.lW,g.rH,Ne,Xe],pipes:[E.X$,tt.d],styles:[".dashboard-container[_ngcontent-%COMP%]{-moz-columns:300px 2;columns:300px 2;-moz-column-gap:1rem;column-gap:1rem;margin:0}.dashboard-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:0 1rem 1rem 0;display:inline-block;min-width:300px;width:100%}.home-image[_ngcontent-%COMP%]{transform:scale(1.4);margin-right:.7rem;margin-left:.6rem}.text-align[_ngcontent-%COMP%]{text-align:center;font-size:1.25rem}.text-bigger[_ngcontent-%COMP%]{font-size:1.1rem}.user-icon[_ngcontent-%COMP%]{vertical-align:top}.dashboard[_ngcontent-%COMP%]{position:relative;min-height:calc(100vh - 234px);margin-bottom:-60px!important;padding-bottom:50px;top:-10px!important;left:0;right:0}"]}),le})();var u=d(4235);let y=(()=>{class le{constructor(){}}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-not-found-page"]],decls:5,vars:3,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5"],[1,"page-title"]],template:function(Re,at){1&Re&&(f.TgZ(0,"div",0),f._UZ(1,"perun-web-apps-back-button"),f.TgZ(2,"h1",1),f._uU(3),f.ALo(4,"translate"),f.qZA(),f.qZA()),2&Re&&(f.xp6(3),f.Oqu(f.lcZ(4,1,"GENERAL.PAGE_NOT_FOUND.TITLE")))},directives:[u.W],pipes:[E.X$],styles:[""]}),le})();var M=d(387),re=d(67322),et=d(98833),yt=d(63189);let pt=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[$.ez,ce.ot,ue.Ps,g.Bz,M.ez,E.aw,re.lN,V.UX,et.c,yt.r]]}),le})(),Nt=(()=>{class le{constructor(Re){this.auth=Re}startAuth(){this.auth.startAuthentication()}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(A.e8))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],[1,"mb-3"],["mat-raised-button","","color","primary",3,"click"]],template:function(Re,at){1&Re&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.TgZ(2,"div",2),f.TgZ(3,"h4",3),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"button",4),f.NdJ("click",function(){return at.startAuth()}),f._uU(7),f.ALo(8,"translate"),f.TgZ(9,"mat-icon"),f._uU(10," login "),f.qZA(),f.qZA(),f.qZA(),f.qZA(),f.qZA()),2&Re&&(f.xp6(4),f.hij(" ",f.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),f.xp6(3),f.hij(" ",f.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[ce.lW,ue.Hw],pipes:[E.X$],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),le})();var It=d(41619);function Zt(le,$e){if(1&le&&(f.TgZ(0,"div",8),f._UZ(1,"div",9),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("innerHTML",Re.logo,f.oJD)}}function mt(le,$e){if(1&le&&(f.TgZ(0,"div",10),f._UZ(1,"div",11),f._UZ(2,"mat-icon",12),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("innerHTML",Re.logo,f.oJD)}}function Ht(le,$e){if(1&le&&(f.TgZ(0,"div",8),f._UZ(1,"a",9),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("innerHTML",Re.logo,f.oJD)}}const _t=function(le){return{color:le}};function Je(le,$e){if(1&le&&(f.TgZ(0,"p",13),f._uU(1),f.qZA()),2&le){const Re=f.oxw();f.Q6J("ngStyle",f.VKq(2,_t,Re.textColor)),f.xp6(1),f.hij(" ",Re.headerTitle," ")}}const Lt=function(le,$e){return{background:le,color:$e}},ht=function(le,$e){return{"min-height":le,"background-color":$e}};let Rt=(()=>{class le{constructor(Re,at,kt,Yt){this.storeService=Re,this.sanitizer=at,this.preferredLangService=kt,this.translateService=Yt,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){if(this.headerBackgroundColor=this.storeService.get("theme","nav_bg_color"),this.headerTextColor=this.storeService.get("theme","nav_text_color"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.textColor=this.headerTitle?this.storeService.get("theme","header_text_color"):"","user-profile"===this.application){const Re=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(Re)}}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(A.d6),f.Y36(e.H7),f.Y36(A.BN),f.Y36(E.sK))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(Re,at){1&Re&&(f.TgZ(0,"div",0),f.YNc(1,Zt,2,1,"div",1),f.YNc(2,mt,3,1,"div",2),f.YNc(3,Ht,2,1,"div",1),f.YNc(4,Je,2,4,"p",3),f.qZA(),f.TgZ(5,"div",4),f.TgZ(6,"div",5),f.TgZ(7,"div",6),f._UZ(8,"router-outlet"),f.qZA(),f.TgZ(9,"div",7),f._UZ(10,"perun-web-apps-footer"),f.qZA(),f.qZA(),f.qZA()),2&Re&&(f.Q6J("ngStyle",f.WLB(6,Lt,at.headerBackgroundColor,at.headerTextColor)),f.xp6(1),f.Q6J("ngIf","admin-gui"===at.application),f.xp6(1),f.Q6J("ngIf","publications"===at.application),f.xp6(1),f.Q6J("ngIf","user-profile"===at.application),f.xp6(1),f.Q6J("ngIf",!!at.headerTitle),f.xp6(2),f.Q6J("ngStyle",f.WLB(9,ht,at.getContentInnerMinHeight(),at.contentBackgroundColor)))},directives:[$.PC,$.O5,ue.Hw,g.lC,It.$],styles:["#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content[_ngcontent-%COMP%]{width:100%;min-height:calc(100vh - 64px);margin-top:64px}#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width: 768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),le})();function qe(le,$e){1&le&&(f.TgZ(0,"app-alert",8),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.hij(" ",f.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}const oe=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"redirect",component:M.t$},{path:"api-callback",component:T},{path:"login",component:Nt},{path:"service-access",component:(()=>{class le{constructor(Re,at,kt){this.authzService=Re,this.dialog=at,this.translate=kt,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new V.NI(null,[V.kI.required]),this.passwordCtrl=new V.NI(null,[V.kI.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(Re=>{sessionStorage.setItem("baPrincipal",JSON.stringify(Re)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(m.Ct),f.Y36(h.uw),f.Y36(E.sK))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-login-screen-service-access"]],decls:28,vars:23,consts:[[1,"container","login-con","vo-theme","top-padding"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],["alert_type","error",4,"ngIf"],["appearance","outline"],["matInput","","required","",3,"formControl"],["matInput","","required","",3,"formControl","type"],["mat-raised-button","",1,"black",3,"disabled","click"],["alert_type","error"]],template:function(Re,at){1&Re&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.TgZ(2,"div",2),f.TgZ(3,"h2"),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.YNc(6,qe,3,3,"app-alert",3),f.TgZ(7,"mat-form-field",4),f.TgZ(8,"mat-label"),f._uU(9),f.ALo(10,"translate"),f.qZA(),f._UZ(11,"input",5),f.TgZ(12,"mat-error"),f._uU(13),f.ALo(14,"translate"),f.qZA(),f.qZA(),f.TgZ(15,"mat-form-field",4),f.TgZ(16,"mat-label"),f._uU(17),f.ALo(18,"translate"),f.qZA(),f._UZ(19,"input",6),f.TgZ(20,"mat-error"),f._uU(21),f.ALo(22,"translate"),f.qZA(),f.qZA(),f.TgZ(23,"button",7),f.NdJ("click",function(){return at.startAuth()}),f._uU(24),f.ALo(25,"translate"),f.TgZ(26,"mat-icon"),f._uU(27," login "),f.qZA(),f.qZA(),f.qZA(),f.qZA(),f.qZA()),2&Re&&(f.xp6(4),f.Oqu(f.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),f.xp6(2),f.Q6J("ngIf",at.wrongUsernameOrPassword),f.xp6(3),f.Oqu(f.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),f.xp6(2),f.Q6J("formControl",at.usernameCtrl),f.xp6(2),f.hij(" ",f.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),f.xp6(4),f.Oqu(f.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),f.xp6(2),f.Q6J("formControl",at.passwordCtrl)("type","password"),f.xp6(2),f.hij(" ",f.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),f.xp6(2),f.Q6J("disabled",at.usernameCtrl.invalid||at.passwordCtrl.invalid),f.xp6(1),f.hij(" ",f.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[$.O5,de.w,re.KE,re.hX,et.Nt,V.Fj,V.Q7,V.JJ,V.oH,re.TO,ce.lW,ue.Hw],pipes:[E.X$],styles:[".top-padding[_ngcontent-%COMP%]{padding:120px 0}mat-form-field.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:250px}.black[_ngcontent-%COMP%]{background-color:#000;color:#fff}"]}),le})()},{path:"organizations",loadChildren:()=>Promise.all([d.e(50),d.e(176),d.e(243),d.e(892)]).then(d.bind(d,36892)).then(le=>le.VosModule)},{path:"admin",loadChildren:()=>Promise.all([d.e(50),d.e(142),d.e(176),d.e(385)]).then(d.bind(d,23385)).then(le=>le.AdminModule)},{path:"facilities",loadChildren:()=>Promise.all([d.e(50),d.e(142),d.e(176),d.e(385),d.e(243),d.e(358)]).then(d.bind(d,17358)).then(le=>le.FacilitiesModule)},{path:"myProfile",loadChildren:()=>Promise.all([d.e(50),d.e(142)]).then(d.bind(d,46142)).then(le=>le.UsersModule)},{path:"home",component:c},{path:"notAuthorized",component:M.y9},{path:"**",component:y}];let Z=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[g.Bz.forRoot(oe,{preloadingStrategy:g.GZ,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],g.Bz]}),le})();var G=d(72077),X=d(14264);class _e{constructor($e,Re="/assets/i18n/",at=".json"){this.http=$e,this.prefix=Re,this.suffix=at}getTranslation($e){return this.http.get(`${this.prefix}${$e}${this.suffix}`)}}var Ue=d(40520),wt=d(76360);let Ut=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({providers:[A.e8],imports:[[$.ez]]}),le})();var Vt=d(81847),Dt=d(4732),Et=d(94856),At=d(55857),Ot=d(37240),Kt=d(15592),li=d(96180),fi=d(37380),Ci=d(34904),Si=d(85243),Vi=d(68056),nn=d(24219),$i=d(25828),Yi=d(10369),bn=d(14336),Qi=d(25309),We=d(86353),Tt=d(3246);let Ze=(()=>{class le{constructor(){this.allowCachePages=[{type:"vo",components:[Vt.y.id,Dt.G.id,Et.c.id,Vi.z.id,nn.z.id,Yi.w.id,Tt.T.id]},{type:"group",components:[li.y.id,Kt.u.id,Ot.q.id,At.W.id,bn.Z.id]},{type:"facility",components:[fi.o.id,Ci.f.id]},{type:"member",components:[Si.j.id]},{type:"admin",components:[$i.t.id]},{type:"entitySelect",components:[Qi.Y.id,We.P.id]}],this.cacheTimeMs=3e5,this.resets=[{lastValue:null,resetType:"vo",resetPath:":voId",param:"voId"},{lastValue:null,resetType:"group",resetPath:":voId/groups/:groupId",param:"groupId"},{lastValue:null,resetType:"facility",resetPath:":facilityId",param:"facilityId"},{lastValue:null,resetType:"member",resetPath:":voId/members/:memberId",param:"memberId"},{lastValue:null,resetType:"admin",resetPath:"admin/users"}],this.isUserNavigatingBack=!1,this.typeToComponentToHandlers=new Map;for(const Re of this.allowCachePages)this.typeToComponentToHandlers.set(Re.type,new Map)}setLastNavigationType(Re){this.isUserNavigatingBack="back"===Re}checkResets(Re){const at=this.getPath(Re);for(const kt of this.resets)if(kt.resetPath===at){const Yt=Re.params[kt.param];null!==kt.lastValue&&kt.lastValue!==Yt&&this.typeToComponentToHandlers.get(kt.resetType).clear(),kt.lastValue=Yt}}shouldReuseRoute(Re,at){return this.checkResets(at),Re.routeConfig===at.routeConfig}retrieve(Re){if(Re.component){const at=this.getComponentName(Re.component);for(const kt of this.allowCachePages)if(-1!==kt.components.indexOf(at)){const Yt=this.typeToComponentToHandlers.get(kt.type).get(at);return void 0===Yt?null:Yt.routeHandle}}return null}shouldAttach(Re){if(!this.isUserNavigatingBack)return!1;if(Re.component){const at=this.getComponentName(Re.component);for(const kt of this.allowCachePages){const Yt=this.typeToComponentToHandlers.get(kt.type).get(at);if(void 0!==Yt&&this.getCurrentTimestamp()-Yt.saveTimeStamp0;)document.getElementsByTagName("mat-tooltip-component")[0].remove();const kt=this.getComponentType(Re);this.typeToComponentToHandlers.get(kt).set(this.getComponentName(Re.component),{routeHandle:at,saveTimeStamp:this.getCurrentTimestamp()})}}getCurrentTimestamp(){return+Date.now()}getComponentName(Re){return Re.id}getComponentType(Re){const at=this.getComponentName(Re.component);for(const kt of this.allowCachePages)if(-1!==kt.components.indexOf(at))return kt.type;return null}getPath(Re){return null!==Re.routeConfig&&null!==Re.routeConfig.path?Re.routeConfig.path:""}}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275prov=f.Yz7({token:le,factory:le.\u0275fac}),le})();const gt=new f.OlP("perun-api-service");let F=(()=>{class le{constructor(Re,at,kt,Yt,ni){this.http=Re,this.storeService=at,this.authzSevice=kt,this.titleService=Yt,this.utilsService=ni}initializeColors(Re,at){return new Promise(kt=>{at.forEach(Yt=>{const ni=this.storeService.get("theme",Yt.configValue);document.documentElement.style.setProperty(Yt.cssVariable,ni)}),Re.forEach(Yt=>{const ni=this.storeService.get("theme",Yt.configValue);document.documentElement.style.setProperty(Yt.cssVariable,ni),this.setEntityTheme(Yt.entity,ni)}),kt()})}setEntityTheme(Re,at){const kt=function Be(le){return[ut(tinycolor(le).lighten(52),"50"),ut(tinycolor(le).lighten(37),"100"),ut(tinycolor(le).lighten(26),"200"),ut(tinycolor(le).lighten(12),"300"),ut(tinycolor(le).lighten(6),"400"),ut(tinycolor(le),"500"),ut(tinycolor(le).darken(6),"600"),ut(tinycolor(le).darken(12),"700"),ut(tinycolor(le).darken(18),"800"),ut(tinycolor(le).darken(24),"900"),ut(tinycolor(le).lighten(50).saturate(30),"A100"),ut(tinycolor(le).lighten(30).saturate(30),"A200"),ut(tinycolor(le).lighten(10).saturate(15),"A400"),ut(tinycolor(le).lighten(5).saturate(5),"A700")]}(at);for(const Yt of kt){const oi=`--${Re}-theme-primary-contrast-${Yt.name}`,Di=Yt.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${Re}-theme-primary-${Yt.name}`,`${Yt.red},${Yt.green},${Yt.blue}`),document.documentElement.style.setProperty(oi,Di)}}loadAppDefaultConfig(){return new Promise(Re=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(at=>{this.storeService.setDefaultConfig(at),Re()})})}loadAppInstanceConfig(){return new Promise(Re=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(at=>{this.storeService.setInstanceConfig(at);const kt=document.location.hostname;void 0!==at.brandings&&void 0!==at.brandings[kt]&&this.storeService.setBanding(kt),Re()},()=>{console.log("instance config not detected"),Re()})})}getNoCacheHeaders(){return new Ue.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(Re=>{const at=document.querySelector("link[rel*='icon']")||document.createElement("link");at.type="image/x-icon",at.rel="shortcut icon",at.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(at),Re()})}setApiUrl(){return new Promise(Re=>{let at=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(at=at.replace("oauth","ba")),this.authzSevice.configuration.basePath=at,this.titleService.setTitle(this.storeService.get("document_title")),Re()})}loadAppsConfig(){return new Promise((Re,at)=>{this.utilsService.getAppsConfig().subscribe(kt=>{this.storeService.setAppsConfig(kt),Re()},kt=>at(kt))})}}return le.\u0275fac=function(Re){return new(Re||le)(f.LFG(Ue.eN),f.LFG(A.d6),f.LFG(m.Ct),f.LFG(e.Dx),f.LFG(m.FW))},le.\u0275prov=f.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();function ut(le,$e){const Re=tinycolor(le),at=Re.toRgb();return{name:$e,hex:Re.toHexString(),darkContrast:Re.isLight(),red:at.r,green:at.g,blue:at.b}}let Mt=(()=>{class le{constructor(Re,at){this.data=Re,this.location=at}redirect(){this.location.go("/"),location.reload()}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(h.WI),f.Y36($.Ye))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-prevent-proxy-overload-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(Re,at){1&Re&&(f.TgZ(0,"h2"),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.TgZ(3,"p"),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div"),f.TgZ(7,"button",0),f.NdJ("click",function(){return at.redirect()}),f._uU(8),f.ALo(9,"translate"),f.qZA(),f.qZA()),2&Re&&(f.xp6(1),f.hij(" ",f.lcZ(2,3,at.data.title),"\n"),f.xp6(3),f.hij(" ",f.lcZ(5,5,at.data.message),"\n"),f.xp6(4),f.hij(" ",f.lcZ(9,7,at.data.action)," "))},pipes:[E.X$],styles:[""]}),le})(),ei=(()=>{class le{constructor(Re,at){this.dialogRef=Re,this.data=at}refresh(){location.reload()}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(h.so),f.Y36(h.WI))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-server-down-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(Re,at){1&Re&&(f.TgZ(0,"h2"),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.TgZ(3,"p"),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div"),f.TgZ(7,"button",0),f.NdJ("click",function(){return at.refresh()}),f._uU(8),f.ALo(9,"translate"),f.qZA(),f.qZA()),2&Re&&(f.xp6(1),f.hij(" ",f.lcZ(2,3,at.data.title),"\n"),f.xp6(3),f.hij(" ",f.lcZ(5,5,at.data.message),"\n"),f.xp6(4),f.hij(" ",f.lcZ(9,7,at.data.action)," "))},pipes:[E.X$],styles:[""]}),le})(),Qt=(()=>{class le{constructor(Re,at,kt,Yt,ni,ui){this.initAuthService=Re,this.appConfigService=at,this.authzSevice=kt,this.dialog=Yt,this.location=ni,this.guiAuthResolver=ui,this.entityColorConfigs=[{entity:"vo",configValue:"vo_color",cssVariable:"--vo-color"},{entity:"group",configValue:"group_color",cssVariable:"--group-color"},{entity:"user",configValue:"user_color",cssVariable:"--user-color"},{entity:"member",configValue:"member_color",cssVariable:"--member-color"},{entity:"facility",configValue:"facility_color",cssVariable:"--facility-color"},{entity:"resource",configValue:"resource_color",cssVariable:"--resource-color"},{entity:"admin",configValue:"admin_color",cssVariable:"--admin-color"},{entity:"service",configValue:"service_color",cssVariable:"--service-color"}],this.colorConfigs=[{configValue:"sidemenu_hover_color",cssVariable:"--side-root-item-hover"},{configValue:"sidemenu_root_active_color",cssVariable:"--side-root-item-active"},{configValue:"sidemenu-link-active",cssVariable:"--side-link-active"},{configValue:"sidemenu-link-hover",cssVariable:"--side-link-hover"}]}initialize(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>this.initAuthService.verifyAuth()).catch(Re=>{if("Invalid path"!==Re)throw console.error(Re),this.location.go("/"),location.reload(),Re;this.handleErr(Re)}).then(Re=>Re?this.initAuthService.loadPrincipal().catch(at=>this.handleErr(at)).then(()=>this.loadPolicies()).then(()=>this.appConfigService.loadAppsConfig()).then(()=>this.guiAuthResolver.loadRolesManagementRules()):this.initAuthService.handleAuthStart())}handleErr(Re){const at=(0,s.kZ)();throw"Invalid path"===Re?(at.data={title:"GENERAL.PROXY_OVERLOAD_PREVENTION.TITLE",message:"GENERAL.PROXY_OVERLOAD_PREVENTION.MESSAGE",action:"GENERAL.PROXY_OVERLOAD_PREVENTION.ACTION"},this.dialog.open(Mt,at)):(at.data={title:"GENERAL.PRINCIPAL_ERROR.TITLE",message:0===Re.status?"GENERAL.PRINCIPAL_ERROR.MESSAGE":Re.message,action:"GENERAL.PRINCIPAL_ERROR.ACTION"},this.dialog.open(ei,at)),console.error(Re),Re}loadPolicies(){return new Promise((Re,at)=>{this.authzSevice.getAllPolicies().subscribe(kt=>{this.guiAuthResolver.setPerunPolicies(kt),Re()},kt=>at(kt))})}}return le.\u0275fac=function(Re){return new(Re||le)(f.LFG(A.v0),f.LFG(F),f.LFG(m.Ct),f.LFG(h.uw),f.LFG($.Ye),f.LFG(A.x4))},le.\u0275prov=f.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})(),Ri=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[$.ez,h.Is,ce.ot,E.aw]]}),le})();var bi=d(8929),Li=d(23753),Ji=d(36787),Ni=d(57138),Hi=d(7625),pn=d(75778),Pi=d(77604);function Ti(le){return getComputedStyle(le)}function Ui(le,$e){for(var Re in $e){var at=$e[Re];"number"==typeof at&&(at+="px"),le.style[Re]=at}return le}function fn(le){var $e=document.createElement("div");return $e.className=le,$e}var sn="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function qi(le,$e){if(!sn)throw new Error("No element matching method supported");return sn.call(le,$e)}function Ct(le){le.remove?le.remove():le.parentNode&&le.parentNode.removeChild(le)}function $t(le,$e){return Array.prototype.filter.call(le.children,function(Re){return qi(Re,$e)})}var Y_element_thumb=function(le){return"ps__thumb-"+le},Y_element_rail=function(le){return"ps__rail-"+le},Y_element_consuming="ps__child--consume",Y_state_focus="ps--focus",Y_state_clicking="ps--clicking",Y_state_active=function(le){return"ps--active-"+le},Y_state_scrolling=function(le){return"ps--scrolling-"+le},lt={x:null,y:null};function we(le,$e){var Re=le.element.classList,at=Y_state_scrolling($e);Re.contains(at)?clearTimeout(lt[$e]):Re.add(at)}function ct(le,$e){lt[$e]=setTimeout(function(){return le.isAlive&&le.element.classList.remove(Y_state_scrolling($e))},le.settings.scrollingThreshold)}var Jt=function($e){this.element=$e,this.handlers={}},di={isEmpty:{configurable:!0}};Jt.prototype.bind=function($e,Re){void 0===this.handlers[$e]&&(this.handlers[$e]=[]),this.handlers[$e].push(Re),this.element.addEventListener($e,Re,!1)},Jt.prototype.unbind=function($e,Re){var at=this;this.handlers[$e]=this.handlers[$e].filter(function(kt){return!(!Re||kt===Re)||(at.element.removeEventListener($e,kt,!1),!1)})},Jt.prototype.unbindAll=function(){for(var $e in this.handlers)this.unbind($e)},di.isEmpty.get=function(){var le=this;return Object.keys(this.handlers).every(function($e){return 0===le.handlers[$e].length})},Object.defineProperties(Jt.prototype,di);var Oi=function(){this.eventElements=[]};function zi(le){if("function"==typeof window.CustomEvent)return new CustomEvent(le);var $e=document.createEvent("CustomEvent");return $e.initCustomEvent(le,!1,!1,void 0),$e}function mn(le,$e,Re,at,kt){var Yt;if(void 0===at&&(at=!0),void 0===kt&&(kt=!1),"top"===$e)Yt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==$e)throw new Error("A proper axis should be provided");Yt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function In(le,$e,Re,at,kt){var Yt=Re[0],ni=Re[1],ui=Re[2],oi=Re[3],Di=Re[4],Zi=Re[5];void 0===at&&(at=!0),void 0===kt&&(kt=!1);var en=le.element;le.reach[oi]=null,en[ui]<1&&(le.reach[oi]="start"),en[ui]>le[Yt]-le[ni]-1&&(le.reach[oi]="end"),$e&&(en.dispatchEvent(zi("ps-scroll-"+oi)),$e<0?en.dispatchEvent(zi("ps-scroll-"+Di)):$e>0&&en.dispatchEvent(zi("ps-scroll-"+Zi)),at&&function zt(le,$e){we(le,$e),ct(le,$e)}(le,oi)),le.reach[oi]&&($e||kt)&&en.dispatchEvent(zi("ps-"+oi+"-reach-"+le.reach[oi]))}(le,Re,Yt,at,kt)}function Wi(le){return parseInt(le,10)||0}Oi.prototype.eventElement=function($e){var Re=this.eventElements.filter(function(at){return at.element===$e})[0];return Re||(Re=new Jt($e),this.eventElements.push(Re)),Re},Oi.prototype.bind=function($e,Re,at){this.eventElement($e).bind(Re,at)},Oi.prototype.unbind=function($e,Re,at){var kt=this.eventElement($e);kt.unbind(Re,at),kt.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(kt),1)},Oi.prototype.unbindAll=function(){this.eventElements.forEach(function($e){return $e.unbindAll()}),this.eventElements=[]},Oi.prototype.once=function($e,Re,at){var kt=this.eventElement($e),Yt=function(ni){kt.unbind(Re,Yt),at(ni)};kt.bind(Re,Yt)};var kn={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function Rn(le){var $e=le.element,Re=Math.floor($e.scrollTop),at=$e.getBoundingClientRect();le.containerWidth=Math.ceil(at.width),le.containerHeight=Math.ceil(at.height),le.contentWidth=$e.scrollWidth,le.contentHeight=$e.scrollHeight,$e.contains(le.scrollbarXRail)||($t($e,Y_element_rail("x")).forEach(function(kt){return Ct(kt)}),$e.appendChild(le.scrollbarXRail)),$e.contains(le.scrollbarYRail)||($t($e,Y_element_rail("y")).forEach(function(kt){return Ct(kt)}),$e.appendChild(le.scrollbarYRail)),!le.settings.suppressScrollX&&le.containerWidth+le.settings.scrollXMarginOffset=le.railXWidth-le.scrollbarXWidth&&(le.scrollbarXLeft=le.railXWidth-le.scrollbarXWidth),le.scrollbarYTop>=le.railYHeight-le.scrollbarYHeight&&(le.scrollbarYTop=le.railYHeight-le.scrollbarYHeight),function bs(le,$e){var Re={width:$e.railXWidth},at=Math.floor(le.scrollTop);Re.left=$e.isRtl?$e.negativeScrollAdjustment+le.scrollLeft+$e.containerWidth-$e.contentWidth:le.scrollLeft,$e.isScrollbarXUsingBottom?Re.bottom=$e.scrollbarXBottom-at:Re.top=$e.scrollbarXTop+at,Ui($e.scrollbarXRail,Re);var kt={top:at,height:$e.railYHeight};$e.isScrollbarYUsingRight?kt.right=$e.isRtl?$e.contentWidth-($e.negativeScrollAdjustment+le.scrollLeft)-$e.scrollbarYRight-$e.scrollbarYOuterWidth-9:$e.scrollbarYRight-le.scrollLeft:kt.left=$e.isRtl?$e.negativeScrollAdjustment+le.scrollLeft+2*$e.containerWidth-$e.contentWidth-$e.scrollbarYLeft-$e.scrollbarYOuterWidth:$e.scrollbarYLeft+le.scrollLeft,Ui($e.scrollbarYRail,kt),Ui($e.scrollbarX,{left:$e.scrollbarXLeft,width:$e.scrollbarXWidth-$e.railBorderXWidth}),Ui($e.scrollbarY,{top:$e.scrollbarYTop,height:$e.scrollbarYHeight-$e.railBorderYWidth})}($e,le),le.scrollbarXActive?$e.classList.add(Y_state_active("x")):($e.classList.remove(Y_state_active("x")),le.scrollbarXWidth=0,le.scrollbarXLeft=0,$e.scrollLeft=!0===le.isRtl?le.contentWidth:0),le.scrollbarYActive?$e.classList.add(Y_state_active("y")):($e.classList.remove(Y_state_active("y")),le.scrollbarYHeight=0,le.scrollbarYTop=0,$e.scrollTop=0)}function Gn(le,$e){return le.settings.minScrollbarLength&&($e=Math.max($e,le.settings.minScrollbarLength)),le.settings.maxScrollbarLength&&($e=Math.min($e,le.settings.maxScrollbarLength)),$e}function ss(le,$e){var Re=$e[0],at=$e[1],kt=$e[2],Yt=$e[3],ni=$e[4],ui=$e[5],oi=$e[6],Di=$e[7],Zi=$e[8],en=le.element,Nn=null,us=null,Ii=null;function on(Xi){Xi.touches&&Xi.touches[0]&&(Xi[kt]=Xi.touches[0].pageY),en[oi]=Nn+Ii*(Xi[kt]-us),we(le,Di),Rn(le),Xi.stopPropagation(),Xi.preventDefault()}function Gi(){ct(le,Di),le[Zi].classList.remove(Y_state_clicking),le.event.unbind(le.ownerDocument,"mousemove",on)}function rn(Xi,Yn){Nn=en[oi],Yn&&Xi.touches&&(Xi[kt]=Xi.touches[0].pageY),us=Xi[kt],Ii=(le[at]-le[Re])/(le[Yt]-le[ui]),Yn?le.event.bind(le.ownerDocument,"touchmove",on):(le.event.bind(le.ownerDocument,"mousemove",on),le.event.once(le.ownerDocument,"mouseup",Gi),Xi.preventDefault()),le[Zi].classList.add(Y_state_clicking),Xi.stopPropagation()}le.event.bind(le[ni],"mousedown",function(Xi){rn(Xi)}),le.event.bind(le[ni],"touchstart",function(Xi){rn(Xi,!0)})}var gn={"click-rail":function ys(le){le.event.bind(le.scrollbarY,"mousedown",function(Re){return Re.stopPropagation()}),le.event.bind(le.scrollbarYRail,"mousedown",function(Re){var at=Re.pageY-window.pageYOffset-le.scrollbarYRail.getBoundingClientRect().top;le.element.scrollTop+=(at>le.scrollbarYTop?1:-1)*le.containerHeight,Rn(le),Re.stopPropagation()}),le.event.bind(le.scrollbarX,"mousedown",function(Re){return Re.stopPropagation()}),le.event.bind(le.scrollbarXRail,"mousedown",function(Re){var at=Re.pageX-window.pageXOffset-le.scrollbarXRail.getBoundingClientRect().left;le.element.scrollLeft+=(at>le.scrollbarXLeft?1:-1)*le.containerWidth,Rn(le),Re.stopPropagation()})},"drag-thumb":function vs(le){ss(le,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),ss(le,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function os(le){var $e=le.element;le.event.bind(le.ownerDocument,"keydown",function(Yt){if(!(Yt.isDefaultPrevented&&Yt.isDefaultPrevented()||Yt.defaultPrevented)&&(qi($e,":hover")||qi(le.scrollbarX,":focus")||qi(le.scrollbarY,":focus"))){var ni=document.activeElement?document.activeElement:le.ownerDocument.activeElement;if(ni){if("IFRAME"===ni.tagName)ni=ni.contentDocument.activeElement;else for(;ni.shadowRoot;)ni=ni.shadowRoot.activeElement;if(function $n(le){return qi(le,"input,[contenteditable]")||qi(le,"select,[contenteditable]")||qi(le,"textarea,[contenteditable]")||qi(le,"button,[contenteditable]")}(ni))return}var ui=0,oi=0;switch(Yt.which){case 37:ui=Yt.metaKey?-le.contentWidth:Yt.altKey?-le.containerWidth:-30;break;case 38:oi=Yt.metaKey?le.contentHeight:Yt.altKey?le.containerHeight:30;break;case 39:ui=Yt.metaKey?le.contentWidth:Yt.altKey?le.containerWidth:30;break;case 40:oi=Yt.metaKey?-le.contentHeight:Yt.altKey?-le.containerHeight:-30;break;case 32:oi=Yt.shiftKey?le.containerHeight:-le.containerHeight;break;case 33:oi=le.containerHeight;break;case 34:oi=-le.containerHeight;break;case 36:oi=le.contentHeight;break;case 35:oi=-le.contentHeight;break;default:return}le.settings.suppressScrollX&&0!==ui||le.settings.suppressScrollY&&0!==oi||($e.scrollTop-=oi,$e.scrollLeft+=ui,Rn(le),function kt(Yt,ni){var ui=Math.floor($e.scrollTop);if(0===Yt){if(!le.scrollbarYActive)return!1;if(0===ui&&ni>0||ui>=le.contentHeight-le.containerHeight&&ni<0)return!le.settings.wheelPropagation}var oi=$e.scrollLeft;if(0===ni){if(!le.scrollbarXActive)return!1;if(0===oi&&Yt<0||oi>=le.contentWidth-le.containerWidth&&Yt>0)return!le.settings.wheelPropagation}return!0}(ui,oi)&&Yt.preventDefault())}})},wheel:function Ts(le){var $e=le.element;function Yt(ni){var ui=function at(ni){var ui=ni.deltaX,oi=-1*ni.deltaY;return(void 0===ui||void 0===oi)&&(ui=-1*ni.wheelDeltaX/6,oi=ni.wheelDeltaY/6),ni.deltaMode&&1===ni.deltaMode&&(ui*=10,oi*=10),ui!=ui&&oi!=oi&&(ui=0,oi=ni.wheelDelta),ni.shiftKey?[-oi,-ui]:[ui,oi]}(ni),oi=ui[0],Di=ui[1];if(!function kt(ni,ui,oi){if(!kn.isWebKit&&$e.querySelector("select:focus"))return!0;if(!$e.contains(ni))return!1;for(var Di=ni;Di&&Di!==$e;){if(Di.classList.contains(Y_element_consuming))return!0;var Zi=Ti(Di);if(oi&&Zi.overflowY.match(/(scroll|auto)/)){var en=Di.scrollHeight-Di.clientHeight;if(en>0&&(Di.scrollTop>0&&oi<0||Di.scrollTop0))return!0}if(ui&&Zi.overflowX.match(/(scroll|auto)/)){var Nn=Di.scrollWidth-Di.clientWidth;if(Nn>0&&(Di.scrollLeft>0&&ui<0||Di.scrollLeft0))return!0}Di=Di.parentNode}return!1}(ni.target,oi,Di)){var Zi=!1;le.settings.useBothWheelAxes?le.scrollbarYActive&&!le.scrollbarXActive?(Di?$e.scrollTop-=Di*le.settings.wheelSpeed:$e.scrollTop+=oi*le.settings.wheelSpeed,Zi=!0):le.scrollbarXActive&&!le.scrollbarYActive&&(oi?$e.scrollLeft+=oi*le.settings.wheelSpeed:$e.scrollLeft-=Di*le.settings.wheelSpeed,Zi=!0):($e.scrollTop-=Di*le.settings.wheelSpeed,$e.scrollLeft+=oi*le.settings.wheelSpeed),Rn(le),Zi=Zi||function Re(ni,ui){var oi=Math.floor($e.scrollTop),Di=0===$e.scrollTop,Zi=oi+$e.offsetHeight===$e.scrollHeight,en=0===$e.scrollLeft,Nn=$e.scrollLeft+$e.offsetWidth===$e.scrollWidth;return!(Math.abs(ui)>Math.abs(ni)?Di||Zi:en||Nn)||!le.settings.wheelPropagation}(oi,Di),Zi&&!ni.ctrlKey&&(ni.stopPropagation(),ni.preventDefault())}}void 0!==window.onwheel?le.event.bind($e,"wheel",Yt):void 0!==window.onmousewheel&&le.event.bind($e,"mousewheel",Yt)},touch:function wn(le){if(kn.supportsTouch||kn.supportsIePointer){var $e=le.element,kt={},Yt=0,ni={},ui=null;kn.supportsTouch?(le.event.bind($e,"touchstart",Zi),le.event.bind($e,"touchmove",Nn),le.event.bind($e,"touchend",us)):kn.supportsIePointer&&(window.PointerEvent?(le.event.bind($e,"pointerdown",Zi),le.event.bind($e,"pointermove",Nn),le.event.bind($e,"pointerup",us)):window.MSPointerEvent&&(le.event.bind($e,"MSPointerDown",Zi),le.event.bind($e,"MSPointerMove",Nn),le.event.bind($e,"MSPointerUp",us)))}function at(Ii,on){$e.scrollTop-=on,$e.scrollLeft-=Ii,Rn(le)}function oi(Ii){return Ii.targetTouches?Ii.targetTouches[0]:Ii}function Di(Ii){return!(Ii.pointerType&&"pen"===Ii.pointerType&&0===Ii.buttons||!(Ii.targetTouches&&1===Ii.targetTouches.length||Ii.pointerType&&"mouse"!==Ii.pointerType&&Ii.pointerType!==Ii.MSPOINTER_TYPE_MOUSE))}function Zi(Ii){if(Di(Ii)){var on=oi(Ii);kt.pageX=on.pageX,kt.pageY=on.pageY,Yt=(new Date).getTime(),null!==ui&&clearInterval(ui)}}function Nn(Ii){if(Di(Ii)){var on=oi(Ii),Gi={pageX:on.pageX,pageY:on.pageY},rn=Gi.pageX-kt.pageX,Xi=Gi.pageY-kt.pageY;if(function en(Ii,on,Gi){if(!$e.contains(Ii))return!1;for(var rn=Ii;rn&&rn!==$e;){if(rn.classList.contains(Y_element_consuming))return!0;var Xi=Ti(rn);if(Gi&&Xi.overflowY.match(/(scroll|auto)/)){var Yn=rn.scrollHeight-rn.clientHeight;if(Yn>0&&(rn.scrollTop>0&&Gi<0||rn.scrollTop0))return!0}if(on&&Xi.overflowX.match(/(scroll|auto)/)){var vn=rn.scrollWidth-rn.clientWidth;if(vn>0&&(rn.scrollLeft>0&&on<0||rn.scrollLeft0))return!0}rn=rn.parentNode}return!1}(Ii.target,rn,Xi))return;at(rn,Xi),kt=Gi;var Yn=(new Date).getTime(),vn=Yn-Yt;vn>0&&(ni.x=rn/vn,ni.y=Xi/vn,Yt=Yn),function Re(Ii,on){var Gi=Math.floor($e.scrollTop),rn=$e.scrollLeft,Xi=Math.abs(Ii),Yn=Math.abs(on);if(Yn>Xi){if(on<0&&Gi===le.contentHeight-le.containerHeight||on>0&&0===Gi)return 0===window.scrollY&&on>0&&kn.isChrome}else if(Xi>Yn&&(Ii<0&&rn===le.contentWidth-le.containerWidth||Ii>0&&0===rn))return!0;return!0}(rn,Xi)&&Ii.preventDefault()}}function us(){le.settings.swipeEasing&&(clearInterval(ui),ui=setInterval(function(){le.isInitialized?clearInterval(ui):ni.x||ni.y?Math.abs(ni.x)<.01&&Math.abs(ni.y)<.01?clearInterval(ui):(at(30*ni.x,30*ni.y),ni.x*=.8,ni.y*=.8):clearInterval(ui)},10))}}},Fn=function($e,Re){var at=this;if(void 0===Re&&(Re={}),"string"==typeof $e&&($e=document.querySelector($e)),!$e||!$e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var kt in this.element=$e,$e.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},Re)this.settings[kt]=Re[kt];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var Zi,Di,Yt=function(){return $e.classList.add(Y_state_focus)},ni=function(){return $e.classList.remove(Y_state_focus)};this.isRtl="rtl"===Ti($e).direction,!0===this.isRtl&&$e.classList.add("ps__rtl"),this.isNegativeScroll=(Di=$e.scrollLeft,$e.scrollLeft=-1,Zi=$e.scrollLeft<0,$e.scrollLeft=Di,Zi),this.negativeScrollAdjustment=this.isNegativeScroll?$e.scrollWidth-$e.clientWidth:0,this.event=new Oi,this.ownerDocument=$e.ownerDocument||document,this.scrollbarXRail=fn(Y_element_rail("x")),$e.appendChild(this.scrollbarXRail),this.scrollbarX=fn(Y_element_thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Yt),this.event.bind(this.scrollbarX,"blur",ni),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var ui=Ti(this.scrollbarXRail);this.scrollbarXBottom=parseInt(ui.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Wi(ui.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Wi(ui.borderLeftWidth)+Wi(ui.borderRightWidth),Ui(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Wi(ui.marginLeft)+Wi(ui.marginRight),Ui(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=fn(Y_element_rail("y")),$e.appendChild(this.scrollbarYRail),this.scrollbarY=fn(Y_element_thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Yt),this.event.bind(this.scrollbarY,"blur",ni),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var oi=Ti(this.scrollbarYRail);this.scrollbarYRight=parseInt(oi.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Wi(oi.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function Zn(le){var $e=Ti(le);return Wi($e.width)+Wi($e.paddingLeft)+Wi($e.paddingRight)+Wi($e.borderLeftWidth)+Wi($e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Wi(oi.borderTopWidth)+Wi(oi.borderBottomWidth),Ui(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Wi(oi.marginTop)+Wi(oi.marginBottom),Ui(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:$e.scrollLeft<=0?"start":$e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:$e.scrollTop<=0?"start":$e.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Di){return gn[Di](at)}),this.lastScrollTop=Math.floor($e.scrollTop),this.lastScrollLeft=$e.scrollLeft,this.event.bind(this.element,"scroll",function(Di){return at.onScroll(Di)}),Rn(this)};Fn.prototype.update=function(){!this.isAlive||(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,Ui(this.scrollbarXRail,{display:"block"}),Ui(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Wi(Ti(this.scrollbarXRail).marginLeft)+Wi(Ti(this.scrollbarXRail).marginRight),this.railYMarginHeight=Wi(Ti(this.scrollbarYRail).marginTop)+Wi(Ti(this.scrollbarYRail).marginBottom),Ui(this.scrollbarXRail,{display:"none"}),Ui(this.scrollbarYRail,{display:"none"}),Rn(this),mn(this,"top",0,!1,!0),mn(this,"left",0,!1,!0),Ui(this.scrollbarXRail,{display:""}),Ui(this.scrollbarYRail,{display:""}))},Fn.prototype.onScroll=function($e){!this.isAlive||(Rn(this),mn(this,"top",this.element.scrollTop-this.lastScrollTop),mn(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Fn.prototype.destroy=function(){!this.isAlive||(this.event.unbindAll(),Ct(this.scrollbarX),Ct(this.scrollbarY),Ct(this.scrollbarXRail),Ct(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Fn.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function($e){return!$e.match(/^ps([-_].+|)$/)}).join(" ")};const Jn=Fn;var Qn=function(){if("undefined"!=typeof Map)return Map;function le($e,Re){var at=-1;return $e.some(function(kt,Yt){return kt[0]===Re&&(at=Yt,!0)}),at}return function(){function $e(){this.__entries__=[]}return Object.defineProperty($e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),$e.prototype.get=function(Re){var at=le(this.__entries__,Re),kt=this.__entries__[at];return kt&&kt[1]},$e.prototype.set=function(Re,at){var kt=le(this.__entries__,Re);~kt?this.__entries__[kt][1]=at:this.__entries__.push([Re,at])},$e.prototype.delete=function(Re){var at=this.__entries__,kt=le(at,Re);~kt&&at.splice(kt,1)},$e.prototype.has=function(Re){return!!~le(this.__entries__,Re)},$e.prototype.clear=function(){this.__entries__.splice(0)},$e.prototype.forEach=function(Re,at){void 0===at&&(at=null);for(var kt=0,Yt=this.__entries__;kt0},le.prototype.connect_=function(){!Xn||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),_n?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},le.prototype.disconnect_=function(){!Xn||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},le.prototype.onTransitionEnd_=function($e){var Re=$e.propertyName,at=void 0===Re?"":Re;ps.some(function(Yt){return!!~at.indexOf(Yt)})&&this.refresh()},le.getInstance=function(){return this.instance_||(this.instance_=new le),this.instance_},le.instance_=null,le}(),Es=function(le,$e){for(var Re=0,at=Object.keys($e);Re0},le}(),ii="undefined"!=typeof WeakMap?new WeakMap:new Qn,ai=function le($e){if(!(this instanceof le))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Re=es.getInstance(),at=new jt($e,Re,this);ii.set(this,at)};["observe","unobserve","disconnect"].forEach(function(le){ai.prototype[le]=function(){var $e;return($e=ii.get(this))[le].apply($e,arguments)}});const mi=void 0!==Ln.ResizeObserver?Ln.ResizeObserver:ai;function yi(le,$e){if(1&le&&(f.TgZ(0,"div",3),f._UZ(1,"div",4),f._UZ(2,"div",5),f._UZ(3,"div",6),f._UZ(4,"div",7),f.qZA()),2&le){const Re=f.oxw();f.ekj("ps-at-top",Re.states.top)("ps-at-left",Re.states.left)("ps-at-right",Re.states.right)("ps-at-bottom",Re.states.bottom),f.xp6(1),f.ekj("ps-indicator-show",Re.indicatorY&&Re.interaction),f.xp6(1),f.ekj("ps-indicator-show",Re.indicatorX&&Re.interaction),f.xp6(1),f.ekj("ps-indicator-show",Re.indicatorX&&Re.interaction),f.xp6(1),f.ekj("ps-indicator-show",Re.indicatorY&&Re.interaction)}}const xi=["*"],xe=new f.OlP("PERFECT_SCROLLBAR_CONFIG");class Ee{constructor($e,Re,at,kt){this.x=$e,this.y=Re,this.w=at,this.h=kt}}class ye{constructor($e,Re){this.x=$e,this.y=Re}}const st=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Bt{constructor($e={}){this.assign($e)}assign($e={}){for(const Re in $e)this[Re]=$e[Re]}}let ci=(()=>{class le{constructor(Re,at,kt,Yt,ni){this.zone=Re,this.differs=at,this.elementRef=kt,this.platformId=Yt,this.defaults=ni,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new bi.xQ,this.disabled=!1,this.psScrollY=new f.vpe,this.psScrollX=new f.vpe,this.psScrollUp=new f.vpe,this.psScrollDown=new f.vpe,this.psScrollLeft=new f.vpe,this.psScrollRight=new f.vpe,this.psYReachEnd=new f.vpe,this.psYReachStart=new f.vpe,this.psXReachEnd=new f.vpe,this.psXReachStart=new f.vpe}ngOnInit(){if(!this.disabled&&(0,$.NF)(this.platformId)){const Re=new Bt(this.defaults);Re.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new Jn(this.elementRef.nativeElement,Re)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new mi(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{st.forEach(at=>{const kt=at.replace(/([A-Z])/g,Yt=>`-${Yt.toLowerCase()}`);(0,Li.R)(this.elementRef.nativeElement,kt).pipe((0,Ni.e)(20),(0,Hi.R)(this.ngDestroy)).subscribe(Yt=>{this[at].emit(Yt)})})})}}ngOnDestroy(){(0,$.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&"undefined"!=typeof window&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,$.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(Re){Re.disabled&&!Re.disabled.isFirstChange()&&(0,$.NF)(this.platformId)&&Re.disabled.currentValue!==Re.disabled.previousValue&&(!0===Re.disabled.currentValue?this.ngOnDestroy():!1===Re.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){"undefined"!=typeof window&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch(Re){}},0))}geometry(Re="scroll"){return new Ee(this.elementRef.nativeElement[Re+"Left"],this.elementRef.nativeElement[Re+"Top"],this.elementRef.nativeElement[Re+"Width"],this.elementRef.nativeElement[Re+"Height"])}position(Re=!1){return!Re&&this.instance?new ye(this.instance.reach.x||0,this.instance.reach.y||0):new ye(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(Re="any"){const at=this.elementRef.nativeElement;return"any"===Re?at.classList.contains("ps--active-x")||at.classList.contains("ps--active-y"):"both"===Re?at.classList.contains("ps--active-x")&&at.classList.contains("ps--active-y"):at.classList.contains("ps--active-"+Re)}scrollTo(Re,at,kt){this.disabled||(null==at&&null==kt?this.animateScrolling("scrollTop",Re,kt):(null!=Re&&this.animateScrolling("scrollLeft",Re,kt),null!=at&&this.animateScrolling("scrollTop",at,kt)))}scrollToX(Re,at){this.animateScrolling("scrollLeft",Re,at)}scrollToY(Re,at){this.animateScrolling("scrollTop",Re,at)}scrollToTop(Re,at){this.animateScrolling("scrollTop",Re||0,at)}scrollToLeft(Re,at){this.animateScrolling("scrollLeft",Re||0,at)}scrollToRight(Re,at){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(Re||0),at)}scrollToBottom(Re,at){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(Re||0),at)}scrollToElement(Re,at,kt){if("string"==typeof Re&&(Re=this.elementRef.nativeElement.querySelector(Re)),Re){const Yt=Re.getBoundingClientRect(),ni=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",Yt.left-ni.left+this.elementRef.nativeElement.scrollLeft+(at||0),kt),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",Yt.top-ni.top+this.elementRef.nativeElement.scrollTop+(at||0),kt)}}animateScrolling(Re,at,kt){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),kt&&"undefined"!=typeof window){if(at!==this.elementRef.nativeElement[Re]){let Yt=0,ni=0,ui=performance.now(),oi=this.elementRef.nativeElement[Re];const Di=(oi-at)/2,Zi=en=>{ni+=Math.PI/(kt/(en-ui)),Yt=Math.round(at+Di+Di*Math.cos(ni)),this.elementRef.nativeElement[Re]===oi&&(ni>=Math.PI?this.animateScrolling(Re,at,0):(this.elementRef.nativeElement[Re]=Yt,oi=this.elementRef.nativeElement[Re],ui=en,this.animation=window.requestAnimationFrame(Zi)))};window.requestAnimationFrame(Zi)}}else this.elementRef.nativeElement[Re]=at}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(f.R0b),f.Y36(f.aQg),f.Y36(f.SBq),f.Y36(f.Lbi),f.Y36(xe,8))},le.\u0275dir=f.lG2({type:le,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[f.TTD]}),le})(),Bi=(()=>{class le{constructor(Re,at,kt){this.zone=Re,this.cdRef=at,this.platformId=kt,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new bi.xQ,this.stateUpdate=new bi.xQ,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new f.vpe,this.psScrollX=new f.vpe,this.psScrollUp=new f.vpe,this.psScrollDown=new f.vpe,this.psScrollLeft=new f.vpe,this.psScrollRight=new f.vpe,this.psYReachEnd=new f.vpe,this.psYReachStart=new f.vpe,this.psXReachEnd=new f.vpe,this.psXReachStart=new f.vpe}ngOnInit(){(0,$.NF)(this.platformId)&&(this.stateUpdate.pipe((0,Hi.R)(this.ngDestroy),(0,pn.x)((Re,at)=>Re===at&&!this.stateTimeout)).subscribe(Re=>{this.stateTimeout&&"undefined"!=typeof window&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===Re||"y"===Re?(this.interaction=!1,"x"===Re?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===Re&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===Re||"right"===Re?(this.states.left=!1,this.states.right=!1,this.states[Re]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===Re||"bottom"===Re)&&(this.states.top=!1,this.states.bottom=!1,this.states[Re]=!0,this.autoPropagation&&this.usePropagationY&&(this.indicatorY=!0)),this.autoPropagation&&"undefined"!=typeof window&&(this.stateTimeout=window.setTimeout(()=>{this.indicatorX=!1,this.indicatorY=!1,this.stateTimeout=null,this.interaction&&(this.states.left||this.states.right)&&(this.allowPropagationX=!0),this.interaction&&(this.states.top||this.states.bottom)&&(this.allowPropagationY=!0),this.cdRef.markForCheck()},500))),this.cdRef.markForCheck(),this.cdRef.detectChanges()}),this.zone.runOutsideAngular(()=>{if(this.directiveRef){const Re=this.directiveRef.elementRef.nativeElement;(0,Li.R)(Re,"wheel").pipe((0,Hi.R)(this.ngDestroy)).subscribe(at=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(at,at.deltaX,at.deltaY)}),(0,Li.R)(Re,"touchmove").pipe((0,Hi.R)(this.ngDestroy)).subscribe(at=>{if(!this.disabled&&this.autoPropagation){const kt=at.touches[0].clientX,Yt=at.touches[0].clientY;this.checkPropagation(at,kt-this.scrollPositionX,Yt-this.scrollPositionY),this.scrollPositionX=kt,this.scrollPositionY=Yt}}),(0,Ji.T)((0,Li.R)(Re,"ps-scroll-x").pipe((0,Pi.h)("x")),(0,Li.R)(Re,"ps-scroll-y").pipe((0,Pi.h)("y")),(0,Li.R)(Re,"ps-x-reach-end").pipe((0,Pi.h)("right")),(0,Li.R)(Re,"ps-y-reach-end").pipe((0,Pi.h)("bottom")),(0,Li.R)(Re,"ps-x-reach-start").pipe((0,Pi.h)("left")),(0,Li.R)(Re,"ps-y-reach-start").pipe((0,Pi.h)("top"))).pipe((0,Hi.R)(this.ngDestroy)).subscribe(at=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(at)})}}),window.setTimeout(()=>{st.forEach(Re=>{this.directiveRef&&(this.directiveRef[Re]=this[Re])})},0))}ngOnDestroy(){(0,$.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&"undefined"!=typeof window&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,$.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const Re=this.directiveRef.elementRef.nativeElement;this.usePropagationX=Re.classList.contains("ps--active-x"),this.usePropagationY=Re.classList.contains("ps--active-y")}}checkPropagation(Re,at,kt){this.interaction=!0;const Yt=at<0?-1:1,ni=kt<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Yt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==ni))&&(Re.preventDefault(),Re.stopPropagation()),at&&(this.scrollDirectionX=Yt),kt&&(this.scrollDirectionY=ni),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(f.R0b),f.Y36(f.sBO),f.Y36(f.Lbi))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perfect-scrollbar"]],viewQuery:function(Re,at){if(1&Re&&f.Gf(ci,7),2&Re){let kt;f.iGM(kt=f.CRH())&&(at.directiveRef=kt.first)}},hostVars:4,hostBindings:function(Re,at){2&Re&&f.ekj("ps-show-limits",at.autoPropagation)("ps-show-active",at.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:xi,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(Re,at){1&Re&&(f.F$t(),f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.Hsn(2),f.qZA(),f.YNc(3,yi,5,16,"div",2),f.qZA()),2&Re&&(f.ekj("ps",at.usePSClass),f.Q6J("perfectScrollbar",at.config)("disabled",at.disabled),f.xp6(3),f.Q6J("ngIf",at.scrollIndicators))},directives:[ci,$.O5],styles:["perfect-scrollbar{display:block;height:100%;max-height:100%;max-width:100%;overflow:hidden;position:relative;width:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:flex;flex-direction:column;height:auto;min-height:0;min-width:0}perfect-scrollbar[fxflex]>.ps{-webkit-box-flex:1;flex:1 1 auto;height:auto;min-height:0;min-width:0;width:auto}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{-webkit-box-align:inherit;-webkit-box-flex:1;-webkit-box-pack:inherit;align-content:inherit;align-items:inherit;display:flex;flex:1 1 auto;flex-direction:inherit;height:100%;justify-content:inherit;width:100%},perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important}perfect-scrollbar>.ps{display:block;height:100%;max-height:100%;max-width:100%;position:static;width:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{bottom:0;display:block;left:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{opacity:0;position:absolute;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{left:0;min-height:24px;min-width:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{min-height:100%;min-width:24px;top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{cursor:default;left:auto!important;right:0!important;top:0!important;transition:width .2s linear,opacity .2s linear,background-color .2s linear;width:10px}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{bottom:0!important;cursor:default;height:10px;left:0!important;top:auto!important;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x,perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y{background-color:#eee;opacity:.9}perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x,perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{background:linear-gradient(180deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{background:linear-gradient(0deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{background:linear-gradient(90deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{background:linear-gradient(270deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:linear-gradient(180deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:linear-gradient(0deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:linear-gradient(90deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:linear-gradient(270deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show{opacity:1}",".ps{-ms-overflow-style:none;-ms-touch-action:auto;overflow:hidden!important;overflow-anchor:none;touch-action:auto}.ps__rail-x{bottom:0;height:15px}.ps__rail-x,.ps__rail-y{-webkit-transition:background-color .2s linear,opacity .2s linear;display:none;opacity:0;position:absolute;transition:background-color .2s linear,opacity .2s linear}.ps__rail-y{right:0;width:15px}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{background-color:transparent;display:block}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{-webkit-transition:background-color .2s linear,height .2s ease-in-out;bottom:2px;height:6px;transition:background-color .2s linear,height .2s ease-in-out}.ps__thumb-x,.ps__thumb-y{background-color:#aaa;border-radius:6px;position:absolute}.ps__thumb-y{-webkit-transition:background-color .2s linear,width .2s ease-in-out;right:2px;transition:background-color .2s linear,width .2s ease-in-out;width:6px}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ps{overflow:auto!important}}"],encapsulation:2}),le})(),On=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[$.ez],$.ez]}),le})();var Kn=d(86114),zn=d(36769),Ws=d(22465);function ti(le,$e){if(1&le){const Re=f.EpF();f.TgZ(0,"div"),f.TgZ(1,"perun-web-apps-notification",2),f.NdJ("closeNotification",function(){const Yt=f.CHM(Re).index;return f.oxw().removeNotification(Yt)}),f.qZA(),f.qZA()}if(2&le){const Re=$e.$implicit;f.Q6J("@flyInOut",void 0),f.xp6(1),f.Q6J("data",Re)("newNotification",!0)}}const si=function(le){return{top:le}};let vi=(()=>{class le{constructor(Re,at){this.notificator=Re,this.notificationStorageService=at,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(kt=>{this.processNotification(kt)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(Re){this.notifications.push(Re),this.notificationStorageService.storeNotification(Re)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(Re){this.notifications.splice(Re,1)}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(A.V6),f.Y36(A.SZ))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-notificator"]],hostBindings:function(Re,at){1&Re&&f.NdJ("resize",function(Yt){return at.getScreenSize(Yt)},!1,f.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(Re,at){1&Re&&(f.TgZ(0,"div",0),f.YNc(1,ti,2,3,"div",1),f.qZA()),2&Re&&(f.Q6J("ngStyle",f.VKq(2,si,at.getNotificatorTop())),f.xp6(1),f.Q6J("ngForOf",at.notifications))},directives:[$.PC,$.sg,Ws.c],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width: 768px){#notificator[_ngcontent-%COMP%]{width:100%;top:auto;top:initial;bottom:0}}"],data:{animation:[zn.Pd]}}),le})();var gi=d(53435);function Fi(le,$e){if(1&le&&(f.TgZ(0,"div",9),f._UZ(1,"perun-web-apps-notification",10),f.qZA()),2&le){const Re=$e.$implicit;f.xp6(1),f.Q6J("data",Re)("inDialog",!0)}}function un(le,$e){if(1&le&&(f.TgZ(0,"div",6),f.TgZ(1,"cdk-virtual-scroll-viewport",7),f.YNc(2,Fi,2,2,"div",8),f.qZA(),f.qZA()),2&le){const Re=f.oxw();f.xp6(2),f.Q6J("cdkVirtualForOf",Re.notifications)}}function An(le,$e){1&le&&(f.TgZ(0,"app-alert",11),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"DIALOGS.NOTIFICATION_LIST.NO_NOTIFICATIONS_ALERT")))}let Dn=(()=>{class le{constructor(Re,at){this.dialogRef=Re,this.notificationStorageService=at}ngOnInit(){this.notifications=this.notificationStorageService.getNotifications()}onCancel(){this.dialogRef.close()}onClear(){this.notificationStorageService.clearNotifications(),this.notifications=[]}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(h.so),f.Y36(A.SZ))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-show-notification-history-dialog"]],decls:12,vars:11,consts:[["mat-dialog-title",""],["class","hide-horizontal-scrollbar",4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","",1,"ml-2",3,"click"],[1,"hide-horizontal-scrollbar"],["itemSize","50",1,"viewport"],["class","mb-1",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"mb-1"],[3,"data","inDialog"],["alert_type","warn"]],template:function(Re,at){1&Re&&(f.TgZ(0,"h1",0),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.YNc(3,un,3,1,"div",1),f.YNc(4,An,3,3,"app-alert",2),f.TgZ(5,"div",3),f.TgZ(6,"button",4),f.NdJ("click",function(){return at.onClear()}),f._uU(7),f.ALo(8,"translate"),f.qZA(),f.TgZ(9,"button",5),f.NdJ("click",function(){return at.onCancel()}),f._uU(10),f.ALo(11,"translate"),f.qZA(),f.qZA()),2&Re&&(f.xp6(1),f.Oqu(f.lcZ(2,5,"DIALOGS.NOTIFICATION_LIST.TITLE")),f.xp6(2),f.Q6J("ngIf",0!==at.notifications.length),f.xp6(1),f.Q6J("ngIf",0===at.notifications.length),f.xp6(3),f.hij(" ",f.lcZ(8,7,"DIALOGS.NOTIFICATION_LIST.CLEAR")," "),f.xp6(3),f.hij(" ",f.lcZ(11,9,"DIALOGS.NOTIFICATION_LIST.CANCEL")," "))},directives:[h.uh,$.O5,gi.N7,gi.xd,gi.x0,Ws.c,de.w,h.H8,ce.lW],pipes:[E.X$],styles:[".viewport[_ngcontent-%COMP%]{height:400px;width:470px}.hide-horizontal-scrollbar[_ngcontent-%COMP%]{overflow-x:hidden}"]}),le})();var Vn=d(27544),dn=d(52314);function io(le,$e){1&le&&(f.TgZ(0,"div",10),f.TgZ(1,"span",11),f._uU(2," ~ \u{1f5f2}\xa0 "),f.qZA(),f.TgZ(3,"span",12),f._uU(4," DEVEL "),f.qZA(),f.TgZ(5,"span",11),f._uU(6," \xa0\u{1f5f2} ~ "),f.qZA(),f.qZA())}const rs=function(le){return{color:le}},yn=function(){return["/home"]};let hn=(()=>{class le{constructor(Re,at,kt,Yt,ni,ui,oi,Di,Zi,en){this.storeService=Re,this.authService=at,this.authzResolverService=kt,this.dialog=Yt,this.notificator=ni,this.translateService=ui,this.store=oi,this.sanitizer=Di,this.notificationStorageService=Zi,this.otherApplicationService=en,this.logoutEnabled=!0,this.navTextColor=this.store.get("theme","nav_text_color"),this.iconColor=this.store.get("theme","nav_icon_color"),this.isDevel=!1}ngOnInit(){this.isDevel=this.storeService.get("is_devel"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.store.get("logo")),this.logoutEnabled=this.storeService.get("log_out_enabled"),this.profileLabel=this.storeService.get("profile_label_en"),this.profileUrl=this.otherApplicationService.getUrlForOtherApplication("profile")}showNotificationHistory(){this.notificationStorageService.newNotificationsCount=0;const Re=(0,s.kZ)();Re.width="520px",this.dialog.open(Dn,Re)}getNewNotificationsCount(){return this.notificationStorageService.newNotificationsCount}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(A.d6),f.Y36(A.e8),f.Y36(m.Ct),f.Y36(h.uw),f.Y36(A.V6),f.Y36(E.sK),f.Y36(A.d6),f.Y36(e.H7),f.Y36(A.SZ),f.Y36(A.jq))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-nav-menu"]],inputs:{sideNav:"sideNav",principal:"principal"},decls:13,vars:28,consts:[["id","nav-menu-icons",3,"ngStyle"],["mat-icon-button","",1,"mr-2","mt-auto","mb-auto",3,"click"],[3,"ngStyle"],["queryParamsHandling","merge",1,"mt-auto","mb-auto",3,"routerLink"],[1,"logo-container",3,"innerHTML"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"ngStyle"],["mat-icon-button","",3,"matTooltip","click"],["matBadgeColor","warn",3,"ngStyle","matBadge","matBadgeHidden"],[3,"url","label","user","logoutEnabled","iconColor","textColor"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(Re,at){1&Re&&(f.TgZ(0,"div",0),f.TgZ(1,"button",1),f.NdJ("click",function(){return at.sideNav.toggle()}),f.TgZ(2,"mat-icon",2),f._uU(3," menu "),f.qZA(),f.qZA(),f.TgZ(4,"a",3),f._UZ(5,"div",4),f.qZA(),f.qZA(),f.YNc(6,io,7,0,"div",5),f.TgZ(7,"div",6),f.TgZ(8,"button",7),f.NdJ("click",function(){return at.showNotificationHistory()}),f.ALo(9,"translate"),f.TgZ(10,"mat-icon",8),f._uU(11),f.qZA(),f.qZA(),f._UZ(12,"perun-web-apps-header-menu",9),f.qZA()),2&Re&&(f.Q6J("ngStyle",f.VKq(19,rs,at.navTextColor)),f.xp6(2),f.Q6J("ngStyle",f.VKq(21,rs,at.iconColor)),f.xp6(2),f.Q6J("routerLink",f.DdM(23,yn)),f.xp6(1),f.Q6J("innerHTML",at.logo,f.oJD),f.xp6(1),f.Q6J("ngIf",at.isDevel),f.xp6(1),f.Q6J("ngStyle",f.VKq(24,rs,at.navTextColor)),f.xp6(1),f.Q6J("matTooltip",f.lcZ(9,17,"NAV.NOTIFICATIONS_TOOLTIP")),f.xp6(2),f.s9C("matBadge",at.getNewNotificationsCount()>5?"5+":at.getNewNotificationsCount()),f.Q6J("ngStyle",f.VKq(26,rs,at.iconColor))("matBadgeHidden",0===at.getNewNotificationsCount()),f.xp6(1),f.hij(" ",at.getNewNotificationsCount()?"notifications_active":"notifications"," "),f.xp6(1),f.Q6J("url",at.profileUrl)("label",at.profileLabel)("user",at.principal.user)("logoutEnabled",at.logoutEnabled)("iconColor",at.iconColor)("textColor",at.navTextColor))},directives:[$.PC,ce.lW,ue.Hw,g.yS,$.O5,j.gM,Vn.k,dn.X],pipes:[E.X$],styles:["#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-icons[_ngcontent-%COMP%]{margin-left:8px;display:flex;flex-direction:row;width:200px}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}#nav-link-items[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}#nav-link-items[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:0 1rem;line-height:64px;text-align:center;height:64px;display:block}"]}),le})();var Tn=d(73228);const as={provide:Ue.TP,useExisting:(0,f.Gpc)(()=>A.yC),multi:!0};function cs(le){return new _e(le,"./assets/i18n/",".json")}function ls(le){const $e={basePath:le.get("api_url")};return new m.VK($e)}const Kr=le=>()=>le.initialize(),ao={suppressScrollX:!0};let yo=(()=>{class le{constructor(Re,at){this.customIconService=Re,this.translate=at,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return le.\u0275fac=function(Re){return new(Re||le)(f.LFG(A.EB),f.LFG(E.sK))},le.\u0275mod=f.oAB({type:le,bootstrap:[G.y]}),le.\u0275inj=f.cJS({providers:[Qt,{provide:f.ip1,useFactory:Kr,multi:!0,deps:[Qt]},{provide:m.VK,useFactory:ls,deps:[A.d6]},{provide:g.wN,useClass:Ze},A.EB,{provide:gt,useClass:A.sM},A.yC,as,{provide:xe,useValue:ao}],imports:[[wt.PW,e.b2,Ue.JF,X.m,Ut,Z,ue.Ps,Ri,E.aw.forRoot({loader:{provide:E.Zw,useFactory:cs,deps:[Ue.eN]}}),m.au,On,M.ez,pt,Kn.zr.forRoot()]]}),le})();f.B6R(G.y,[$.O5,ue.Hw,vi,hn,$.PC,k.TM,k.JX,Bi,Tn.V,k.Rh,g.lC,It.$,Rt],[]),(0,f.G48)(),e.q6().bootstrapModule(yo).catch(le=>console.error(le))},11243:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>g});var e=d(69808),f=d(5e3);let g=(()=>{class T{}return T.\u0275fac=function(A){return new(A||T)},T.\u0275mod=f.oAB({type:T}),T.\u0275inj=f.cJS({imports:[[e.ez]]}),T})()},6335:(Ke,be,d)=>{"use strict";d.d(be,{Rc:()=>f,pI:()=>g,Ng:()=>T});var e=d(5e3);const f="GUI_CONFIG.PREF_PAGE_SIZE",g="GUI_CONFIG.PREF_PAGE_SIZE.";let T=(()=>{class m{constructor(){}getString(s){return localStorage.getItem(s)}getNumber(s){return parseInt(localStorage.getItem(s),10)}setNumber(s,b){localStorage.setItem(s,b.toString())}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})()},10036:(Ke,be,d)=>{"use strict";d.d(be,{dB:()=>g,CP:()=>T,tw:()=>m,nT:()=>A,YF:()=>s,gc:()=>b,v1:()=>O,AA:()=>E,VR:()=>h,uM:()=>k,xx:()=>L,H2:()=>V,xt:()=>$,dI:()=>ue,j1:()=>ce,Wv:()=>Le,qy:()=>de,BV:()=>ke,qV:()=>ae,tY:()=>j,Af:()=>H,O7:()=>Q,gB:()=>te,Hi:()=>se,Jf:()=>ge,W1:()=>Ne,rF:()=>Fe,Aj:()=>ne,Ad:()=>Me,kZ:()=>ve,cL:()=>me,RS:()=>Te,HC:()=>ee,KE:()=>R,Sb:()=>Oe,_7:()=>Ie,bf:()=>He,rc:()=>fe,Cf:()=>Ce,eq:()=>N,NG:()=>he,O9:()=>D,d7:()=>S,vq:()=>I,NL:()=>P,kO:()=>i,aL:()=>r,DR:()=>p,uC:()=>o,JO:()=>t,oK:()=>n,Iz:()=>c,It:()=>u,z6:()=>y,iQ:()=>M,e5:()=>re,Bf:()=>et,zp:()=>Nt,US:()=>It,gG:()=>Zt,$V:()=>mt,S7:()=>Ht,zW:()=>Lt,CE:()=>Rt,Is:()=>qe,M8:()=>Z,g:()=>G,_c:()=>X,dK:()=>_e,yW:()=>Ue});var e=d(6335),f=d(5e3);let g=(()=>{class wt{constructor(Vt){this.guiConfigService=Vt}getTablePageSize(Vt){const Dt=this.guiConfigService.getNumber(e.pI+Vt);if(!isNaN(Dt))return Dt;const Et=this.guiConfigService.getNumber(e.Rc);return isNaN(Et)?10:Et}setTablePageSize(Vt,Dt){this.guiConfigService.setNumber(e.pI+Vt,Dt)}}return wt.\u0275fac=function(Vt){return new(Vt||wt)(f.LFG(e.Ng))},wt.\u0275prov=f.Yz7({token:wt,factory:wt.\u0275fac,providedIn:"root"}),wt})();const T="0",m="1",A="2",s="3",b="4",O="5",E="6",h="7",k="8",L="9",V="10",$="11",ue="12",ce="13",Le="14",de="15",ke="16",ae="17",j="18",H="19",Q="20",te="21",se="22",ge="23",Ne="24",Fe="25",ne="26",Me="27",ve="28",me="29",Te="30",ee="31",R="32",Oe="33",Ie="34",He="35",fe="36",Ce="37",N="42",he="43",D="44",S="45",I="46",P="47",i="48",r="49",p="50",o="51",t="52",n="53",c="54",u="55",y="56",M="57",re="58",et="59",Nt="62",It="63",Zt="64",mt="65",Ht="66",Lt="69",Rt="71",qe="72",Z="75",G="76",X="77",_e="78",Ue="79"},36769:(Ke,be,d)=>{"use strict";d.d(be,{Ji:()=>m,Pd:()=>g,BQ:()=>f,Ly:()=>T,GH:()=>b,Ls:()=>O,SG:()=>s,es:()=>A});var e=d(41777);const f=(0,e.X$)("openClose",[(0,e.SB)("open",(0,e.oB)({overflow:"hidden"})),(0,e.SB)("closed",(0,e.oB)({height:"0px",overflow:"hidden"})),(0,e.eR)("open <=> closed",[(0,e.jt)(".3s ease-in")])]),g=(0,e.X$)("flyInOut",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)(".25s")]),(0,e.eR)(":leave",[(0,e.jt)(".5s",(0,e.oB)({transform:"translateX(100%)"}))])]),T=(0,e.X$)("rollInOut",[(0,e.eR)(":enter",[(0,e.oB)({height:"0px"}),(0,e.jt)(".25s")]),(0,e.eR)(":leave",[(0,e.jt)(".25s",(0,e.oB)({height:"0px"}))])]),m=(0,e.X$)("routeAnimations",[(0,e.eR)("* => *",[(0,e.oB)({position:"relative"}),(0,e.IO)(":enter",[(0,e.oB)({width:"100%",opacity:0})],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({position:"absolute",width:"100%",opacity:1}),(0,e.jt)("0.15s",(0,e.oB)({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),(0,e.IO)(":enter",[(0,e.oB)({position:"absolute",width:"100%",opacity:0}),(0,e.jt)("0.15s",(0,e.oB)({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),A=(0,e.X$)("tagsOpenClose",[(0,e.SB)("open",(0,e.oB)({})),(0,e.SB)("closed",(0,e.oB)({width:"0px",height:"0px"})),(0,e.eR)("open <=> closed",[(0,e.jt)(".3s ease-in")])]),s=(0,e.X$)("switchAnimations",[(0,e.eR)("true => false",[(0,e.IO)(":enter, :leave",(0,e.oB)({})),(0,e.ru)([(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(-100%)"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0%)",position:"absolute"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(100%)"}))],{optional:!0})])]),(0,e.eR)("false => true",[(0,e.IO)(":enter, :leave",(0,e.oB)({})),(0,e.ru)([(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0%)",position:"absolute"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(-100%)"}))],{optional:!0})])])]),b=(0,e.X$)("slideInOutLeft",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(-100%)",position:"relative"}),(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(0%)"}))]),(0,e.eR)(":leave",[(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(-100%)"}))])]),O=(0,e.X$)("slideInOutRight",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(100%)",position:"fixed"}),(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(0%)"}))]),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateX(-100%)",position:"relative"}),(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(100%)"}))])])},387:(Ke,be,d)=>{"use strict";d.d(be,{Mw:()=>ee.M,qG:()=>It.qG,Sx:()=>pt.S,y9:()=>Zt,Nj:()=>u,ez:()=>me,t$:()=>y});var e=d(69808),f=d(77446),g=d(32075),T=d(51062),m=d(30325),A=d(84847),s=d(86087),b=d(20773),O=d(63189),E=d(25245),h=d(92181),k=d(47423),L=d(29772),V=d(67322),$=d(93075),ue=d(98833),ce=d(26688),Le=d(44409),de=d(90508),ke=d(19516),ae=d(69287),j=d(90149),H=d(86856),Q=d(79814),te=d(74107),se=d(43586),ge=d(53435),Ne=d(48966),Fe=d(9244),ne=d(5e3);let Me=(()=>{class mt extends de.LF{format(_t,Je){return"input"===Je?`${_t.getDate().toString()}.${(_t.getMonth()+1).toString()}.${_t.getFullYear()}`:_t.toDateString()}}return mt.\u0275fac=function(){let Ht;return function(Je){return(Ht||(Ht=ne.n5z(mt)))(Je||mt)}}(),mt.\u0275prov=ne.Yz7({token:mt,factory:mt.\u0275fac}),mt})();const ve={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let me=(()=>{class mt{}return mt.\u0275fac=function(_t){return new(_t||mt)},mt.\u0275mod=ne.oAB({type:mt}),mt.\u0275inj=ne.cJS({providers:[{provide:de._A,useClass:Me},{provide:de.sG,useValue:ve}],imports:[[e.ez,f.p9,g.p0,$.u5,ce.Hi,Le._t,T.aw,m.Bz,A.JX,s.TU,b.Cq,O.r,E.Ps,h.Tx,k.ot,L.AV,V.lN,$.UX,ue.c,de.si,ke.d4,ae.Iq,j.dp,H.FA,Q.Fk,de.Ng,te.LD,se.Co,ge.Cl,Ne.Is,Fe.Je]]}),mt})();d(53984);var ee=d(43532),Xe=(d(38719),d(21963),d(28820),d(63167),d(62109),d(22465),d(80275),d(9315)),tt=d(36908),rt=d(84379),N=d(98380),he=d(34447);function D(mt,Ht){1&mt&&(ne.TgZ(0,"app-alert"),ne._uU(1),ne.ALo(2,"translate"),ne.ALo(3,"customTranslate"),ne.qZA()),2&mt&&(ne.xp6(1),ne.Oqu(ne.lcZ(2,1,ne.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function S(mt,Ht){1&mt&&(ne.TgZ(0,"th",16),ne._uU(1),ne.ALo(2,"translate"),ne.ALo(3,"customTranslate"),ne.qZA()),2&mt&&(ne.xp6(1),ne.hij(" ",ne.lcZ(2,1,ne.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))," "))}function I(mt,Ht){if(1&mt&&(ne.TgZ(0,"td",17),ne._uU(1),ne.qZA()),2&mt){const _t=Ht.$implicit;ne.xp6(1),ne.Oqu(_t.friendlyNameParameter)}}function P(mt,Ht){1&mt&&(ne.TgZ(0,"th",16),ne._uU(1),ne.ALo(2,"translate"),ne.ALo(3,"customTranslate"),ne.qZA()),2&mt&&(ne.xp6(1),ne.hij(" ",ne.lcZ(2,1,ne.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))," "))}function i(mt,Ht){if(1&mt&&(ne.TgZ(0,"td",18),ne._uU(1),ne.qZA()),2&mt){const _t=Ht.$implicit;ne.xp6(1),ne.Oqu(_t.value)}}function r(mt,Ht){1&mt&&ne._UZ(0,"th",16)}function p(mt,Ht){if(1&mt){const _t=ne.EpF();ne.TgZ(0,"td",19),ne.TgZ(1,"button",20),ne.NdJ("click",function(){const ht=ne.CHM(_t).$implicit;return ne.oxw().resetPassword(ht.friendlyNameParameter)}),ne._uU(2),ne.ALo(3,"translate"),ne.ALo(4,"customTranslate"),ne.qZA(),ne.qZA()}if(2&mt){const _t=Ht.$implicit,Je=ne.oxw();ne.xp6(1),ne.Q6J("disabled",!Je.logins.includes(_t)),ne.xp6(1),ne.hij(" ",ne.lcZ(3,2,ne.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.RESET_PASSWORD"))," ")}}function o(mt,Ht){1&mt&&ne._UZ(0,"th",16)}function t(mt,Ht){if(1&mt){const _t=ne.EpF();ne.TgZ(0,"td",19),ne.TgZ(1,"button",21),ne.NdJ("click",function(){const ht=ne.CHM(_t).$implicit;return ne.oxw().changePassword(ht)}),ne._uU(2),ne.ALo(3,"translate"),ne.ALo(4,"customTranslate"),ne.qZA(),ne.qZA()}if(2&mt){const _t=Ht.$implicit,Je=ne.oxw();ne.xp6(1),ne.Q6J("disabled",!Je.logins.includes(_t)),ne.xp6(1),ne.hij(" ",ne.lcZ(3,2,ne.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD"))," ")}}function n(mt,Ht){1&mt&&ne._UZ(0,"tr",22)}function c(mt,Ht){1&mt&&ne._UZ(0,"tr",23)}let u=(()=>{class mt{constructor(_t,Je,Lt,ht,Rt,qe){this.attributesManagerService=_t,this.store=Je,this.dialog=Lt,this.route=ht,this.router=Rt,this.otherApplicationService=qe,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","reset","change"]}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(_t=>{const Je=this.nameSpaces.map(Rt=>{const qe=Rt.split(":");return qe[qe.length-1]});this.logins=_t.filter(Rt=>Je.includes(Rt.friendlyNameParameter)),this.dataSource=new g.by(_t);const ht=this.route.snapshot.queryParamMap.get("namespace");if(ht){const Rt=this.logins.find(qe=>qe.friendlyNameParameter===ht);Rt&&this.changePassword(Rt)}})}resetPassword(_t){window.open(this.otherApplicationService.getUrlForOtherApplication("pwdReset",_t),"_blank")}changePassword(_t){this.router.navigate([],{queryParams:{namespace:_t.friendlyNameParameter},queryParamsHandling:"merge"});const Je=(0,Fe.kZ)();Je.width="600px",Je.data={login:_t.value,namespace:_t.friendlyName.split(":")[1]},this.dialog.open(rt.xF,Je).afterClosed().subscribe(()=>{this.router.navigate([],{queryParams:{namespace:null},queryParamsHandling:"merge"})})}}return mt.\u0275fac=function(_t){return new(_t||mt)(ne.Y36(Xe.H8),ne.Y36(tt.d6),ne.Y36(Ne.uw),ne.Y36(m.gz),ne.Y36(m.F0),ne.Y36(tt.jq))},mt.\u0275cmp=ne.Xpm({type:mt,selectors:[["perun-web-apps-password-reset"]],decls:23,vars:9,consts:[[1,"page-subtitle"],[4,"ngIf"],[1,"card","mt-2","table-size-fix"],[1,"card-body"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","value","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","namespace"],["mat-header-cell","",4,"matHeaderCellDef"],["class","w-25","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","w-50","mat-cell","",4,"matCellDef"],["matColumnDef","reset"],["mat-cell","",4,"matCellDef"],["matColumnDef","change"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"w-25"],["mat-cell","",1,"w-50"],["mat-cell",""],["color","accent","mat-flat-button","",3,"disabled","click"],["color","accent","mat-flat-button","",1,"action-button",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(_t,Je){1&_t&&(ne.TgZ(0,"h1",0),ne._uU(1),ne.ALo(2,"translate"),ne.ALo(3,"customTranslate"),ne.qZA(),ne.YNc(4,D,4,5,"app-alert",1),ne.TgZ(5,"div",2),ne.TgZ(6,"div",3),ne.TgZ(7,"div",4),ne.TgZ(8,"table",5),ne.ynx(9,6),ne.YNc(10,S,4,5,"th",7),ne.YNc(11,I,2,1,"td",8),ne.BQk(),ne.ynx(12,9),ne.YNc(13,P,4,5,"th",7),ne.YNc(14,i,2,1,"td",10),ne.BQk(),ne.ynx(15,11),ne.YNc(16,r,1,0,"th",7),ne.YNc(17,p,5,6,"td",12),ne.BQk(),ne.ynx(18,13),ne.YNc(19,o,1,0,"th",7),ne.YNc(20,t,5,6,"td",12),ne.BQk(),ne.YNc(21,n,1,0,"tr",14),ne.YNc(22,c,1,0,"tr",15),ne.qZA(),ne.qZA(),ne.qZA(),ne.qZA()),2&_t&&(ne.xp6(1),ne.hij(" ",ne.lcZ(2,5,ne.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE")),"\n"),ne.xp6(3),ne.Q6J("ngIf",!Je.logins.length),ne.xp6(4),ne.Q6J("dataSource",Je.dataSource),ne.xp6(13),ne.Q6J("matHeaderRowDef",Je.displayedColumns),ne.xp6(1),ne.Q6J("matRowDefColumns",Je.displayedColumns))},directives:[e.O5,N.w,g.BZ,A.YE,g.w1,g.fO,g.ge,g.Dz,g.ev,k.lW,g.as,g.XQ,g.nj,g.Gk],pipes:[T.X$,he.a],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:#0000000d}"]}),mt})(),y=(()=>{class mt{constructor(_t,Je,Lt,ht){this.router=_t,this.route=Je,this.location=Lt,this.forceRoute=ht}ngOnInit(){"back"!==this.forceRoute.getLastState()?this.route.queryParams.subscribe(_t=>{this.router.navigate([_t.redirectTo])}):this.location.back()}}return mt.\u0275fac=function(_t){return new(_t||mt)(ne.Y36(m.F0),ne.Y36(m.gz),ne.Y36(e.Ye),ne.Y36(tt.xw))},mt.\u0275cmp=ne.Xpm({type:mt,selectors:[["perun-web-apps-redirect-page"]],decls:0,vars:0,template:function(_t,Je){},styles:[""]}),mt})();d(24179),d(58956),d(41619),d(61150);var pt=d(63312),It=(d(52314),d(52170));let Zt=(()=>{class mt{constructor(_t){this.router=_t}redirectToHome(){this.router.navigate(["/home"],{queryParamsHandling:"merge"})}}return mt.\u0275fac=function(_t){return new(_t||mt)(ne.Y36(m.F0))},mt.\u0275cmp=ne.Xpm({type:mt,selectors:[["perun-web-apps-not-authorized-page"]],decls:10,vars:9,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5"],[1,"page-title"],["mat-stroked-button","",1,"mt-2",3,"click"]],template:function(_t,Je){1&_t&&(ne.TgZ(0,"div",0),ne.TgZ(1,"h1",1),ne._uU(2),ne.ALo(3,"translate"),ne.qZA(),ne.TgZ(4,"div"),ne._uU(5),ne.ALo(6,"translate"),ne.qZA(),ne.TgZ(7,"button",2),ne.NdJ("click",function(){return Je.redirectToHome()}),ne._uU(8),ne.ALo(9,"translate"),ne.qZA(),ne.qZA()),2&_t&&(ne.xp6(2),ne.Oqu(ne.lcZ(3,3,"GENERAL.NOT_AUTHORIZED_PAGE.TITLE")),ne.xp6(3),ne.Oqu(ne.lcZ(6,5,"GENERAL.NOT_AUTHORIZED_PAGE.DESC")),ne.xp6(3),ne.hij(" ",ne.lcZ(9,7,"GENERAL.NOT_AUTHORIZED_PAGE.REDIRECT")," "))},directives:[k.lW],pipes:[T.X$],styles:[""]}),mt})()},63312:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>m,Y:()=>A});var e=d(5e3),g=(d(9315),d(51062)),T=d(42377);const m={};let A=(()=>{class s{constructor(O){this.translate=O,this.item=null,this.itemSelected=new e.vpe,this.nameFunction=E=>E===m?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM"):E.shortname,this.secondaryFunction=E=>E===m?"":E.id<0?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NEW_ITEM"):"#"+E.id,this.searchFunction=E=>E===m?"":E.shortname+E.id}}return s.\u0275fac=function(O){return new(O||s)(e.Y36(g.sK))},s.\u0275cmp=e.Xpm({type:s,selectors:[["perun-web-apps-app-form-item-search-select"]],inputs:{items:"items",item:"item"},outputs:{itemSelected:"itemSelected"},decls:4,vars:15,consts:[[3,"entities","searchFunction","mainTextFunction","secondaryTextFunction","entity","disableAutoSelect","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(O,E){1&O&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(k){return E.itemSelected.emit(k)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&O&&e.Q6J("entities",E.items)("searchFunction",E.searchFunction)("mainTextFunction",E.nameFunction)("secondaryTextFunction",E.secondaryFunction)("entity",E.item)("disableAutoSelect",!0)("selectPlaceholder",e.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.SELECT_ITEM"))("findPlaceholder",e.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.FIND_ITEM"))("noEntriesText",e.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM_FOUND"))},directives:[T.i],pipes:[g.X$],styles:[""]}),s})()},38719:(Ke,be,d)=>{"use strict";d.d(be,{u:()=>E});var e=d(5e3),f=d(9244),g=d(69808),T=d(77446),m=d(93075),A=d(67322),s=d(64597);function b(h,k){if(1&h){const L=e.EpF();e.TgZ(0,"mat-checkbox",2),e.NdJ("change",function(){return e.CHM(L),e.oxw()._sendEventToParent()})("ngModelChange",function($){return e.CHM(L),e.oxw().attribute.value=$}),e.ALo(1,"multiWordDataCy"),e.qZA()}if(2&h){const L=e.oxw();e.Q2q("data-cy","",e.lcZ(1,2,L.attribute.displayName),"-value"),e.Q6J("ngModel",L.attribute.value)}}function O(h,k){if(1&h&&(e.TgZ(0,"mat-label"),e._uU(1),e.qZA()),2&h){const L=e.oxw();e.xp6(1),e.Oqu(L.attribute.value)}}let E=(()=>{class h{constructor(){this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.readonly||(this.readonly=(0,f.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return h.\u0275fac=function(L){return new(L||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["perun-web-apps-attribute-value-boolean"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:2,consts:[[3,"ngModel","change","ngModelChange",4,"ngIf"],[4,"ngIf"],[3,"ngModel","change","ngModelChange"]],template:function(L,V){1&L&&(e.TgZ(0,"div"),e.YNc(1,b,2,4,"mat-checkbox",0),e.YNc(2,O,2,1,"mat-label",1),e.qZA()),2&L&&(e.xp6(1),e.Q6J("ngIf",!V.readonly),e.xp6(1),e.Q6J("ngIf",V.readonly))},directives:[g.O5,T.oG,m.JJ,m.On,A.hX],pipes:[s.R],styles:[""]}),h})()},21963:(Ke,be,d)=>{"use strict";d.d(be,{H:()=>j});var e=d(5e3),f=d(91159),g=d(44409),T=d(84379),m=d(9244),A=d(48966),s=d(26688),b=d(69808),O=d(25245),E=d(29772),h=d(47423),k=d(67322),L=d(98833);function V(H,Q){if(1&H){const te=e.EpF();e.TgZ(0,"mat-icon",9),e.NdJ("mousedown",function(){return e.CHM(te),e.oxw(2).dragDisabled=!1}),e._uU(1,"drag_indicator"),e.qZA()}}function $(H,Q){if(1&H){const te=e.EpF();e.TgZ(0,"mat-icon",10),e.NdJ("click",function(){e.CHM(te);const ge=e.oxw().$implicit;return e.oxw().edit(ge)}),e._uU(1,"edit"),e.qZA()}}function ue(H,Q){if(1&H){const te=e.EpF();e.TgZ(0,"mat-icon",11),e.NdJ("click",function(){e.CHM(te);const ge=e.oxw().$implicit;return e.oxw().remove(ge)}),e._uU(1,"cancel"),e.qZA()}}function ce(H,Q){if(1&H){const te=e.EpF();e.TgZ(0,"mat-chip",4),e.NdJ("removed",function(){const Ne=e.CHM(te).$implicit,Fe=e.oxw();return Fe.remove(Ne),Fe._sendEventToParent()}),e.YNc(1,V,2,0,"mat-icon",5),e.TgZ(2,"div",6),e.NdJ("click",function(){const Ne=e.CHM(te).$implicit,Fe=e.oxw();return Fe.readonly&&void 0!==Fe.attribute.displayName&&Fe.showValue(Ne,Fe.attribute.displayName)}),e._uU(3),e.qZA(),e.YNc(4,$,2,0,"mat-icon",7),e.YNc(5,ue,2,0,"mat-icon",8),e.qZA()}if(2&H){const te=Q.$implicit,se=e.oxw();e.Q6J("selectable",se.selectable)("cdkDragData",te)("removable",se.removable),e.xp6(1),e.Q6J("ngIf",se.removable),e.xp6(1),e.ekj("cursor-pointer",se.readonly&&void 0!==se.attribute.displayName),e.xp6(1),e.hij(" ",te," "),e.xp6(1),e.Q6J("ngIf",se.removable),e.xp6(1),e.Q6J("ngIf",se.removable)}}function Le(H,Q){1&H&&(e.TgZ(0,"mat-icon"),e._uU(1,"more_horiz"),e.qZA())}function de(H,Q){1&H&&(e.TgZ(0,"mat-icon"),e._uU(1,"keyboard_arrow_up"),e.qZA())}function ke(H,Q){if(1&H){const te=e.EpF();e.TgZ(0,"div",12),e.TgZ(1,"span",13),e.TgZ(2,"button",14),e.NdJ("click",function(){return e.CHM(te),e.oxw().onShowChange()}),e.YNc(3,Le,2,0,"mat-icon",15),e.YNc(4,de,2,0,"mat-icon",15),e.qZA(),e.qZA(),e.qZA()}if(2&H){const te=e.oxw();e.xp6(1),e.Q6J("matTooltip",te.showMore?"Show less":"Show more")("matTooltipPosition","above"),e.xp6(2),e.Q6J("ngIf",!te.showMore),e.xp6(1),e.Q6J("ngIf",te.showMore)}}function ae(H,Q){if(1&H){const te=e.EpF();e.TgZ(0,"mat-form-field",12),e.TgZ(1,"input",16),e.NdJ("matChipInputTokenEnd",function(ge){return e.CHM(te),e.oxw().add(ge)})("change",function(){return e.CHM(te),e.oxw()._sendEventToParent()}),e.qZA(),e.qZA()}if(2&H){const te=e.oxw(),se=e.MAs(2);e.xp6(1),e.Q6J("matChipInputFor",se)("matChipInputSeparatorKeyCodes",te.separatorKeysCodes)("matChipInputAddOnBlur",te.addOnBlur)}}let j=(()=>{class H{constructor(te){this.dialog=te,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[f.K5,f.OC],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new e.vpe,this.readonly=!1}ngOnInit(){this.removable=!(0,m.Hm)(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,m.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(te){const se=te.input,ge=te.value;(ge||"").trim()&&(this.attribute.value.push(ge.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),se&&(se.value=""),this.sendEventToParent.emit()}remove(te){const se=(0,m.kZ)();se.width="400px",se.data={name:te},this.dialog.open(T.Wr,se).afterClosed().subscribe(Ne=>{if(Ne){const Fe=this.attribute.value.indexOf(te);this.attribute.value.splice(Fe,1),this.values=Object.values(this.attribute.value),this.sendEventToParent.emit()}})}drop(te){this.dragDisabled=!0,(0,g.bA)(this.attribute.value,te.previousIndex,te.currentIndex),this.values=Object.values(this.attribute.value)}edit(te){const se=this.attribute.value.indexOf(te),ge=(0,m.kZ)();ge.width="600px",ge.data={attribute:this.attribute,index:se},this.dialog.open(T.r2,ge).afterClosed().subscribe(Fe=>{Fe&&(this.values=Object.values(this.attribute.value),this.sendEventToParent.emit())})}showValue(te,se){const ge=(0,m.kZ)();ge.width="350px",ge.data={value:te,title:se},this.dialog.open(T.mk,ge)}setItemsShown(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}onShowChange(){this.showMore=!this.showMore,this.setItemsShown()}}return H.\u0275fac=function(te){return new(te||H)(e.Y36(A.uw))},H.\u0275cmp=e.Xpm({type:H,selectors:[["perun-web-apps-attribute-value-list"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:6,vars:4,consts:[["cdkDropList","","cdkDropListOrientation","vertical",1,"mat-chip-list-stacked",3,"cdkDropListDisabled","cdkDropListDropped"],["chipList",""],["class","chip-word-break","cdkDrag","",3,"selectable","cdkDragData","removable","removed",4,"ngFor","ngForOf"],["class","w-100",4,"ngIf"],["cdkDrag","",1,"chip-word-break",3,"selectable","cdkDragData","removable","removed"],["class","handle-icon",3,"mousedown",4,"ngIf"],[1,"chip-text","overflow-ellipsis",3,"click"],["class","edit-delete-icon ml-2",3,"click",4,"ngIf"],["class","edit-delete-icon",3,"click",4,"ngIf"],[1,"handle-icon",3,"mousedown"],[1,"edit-delete-icon","ml-2",3,"click"],[1,"edit-delete-icon",3,"click"],[1,"w-100"],[3,"matTooltip","matTooltipPosition"],["mat-icon-button","",1,"ml-auto",3,"click"],[4,"ngIf"],["matInput","","placeholder","New value",1,"w-100","m-0",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(te,se){1&te&&(e.TgZ(0,"div"),e.TgZ(1,"mat-chip-list",0,1),e.NdJ("cdkDropListDropped",function(Ne){return se.drop(Ne),se._sendEventToParent()}),e.YNc(3,ce,6,9,"mat-chip",2),e.YNc(4,ke,5,4,"div",3),e.YNc(5,ae,2,3,"mat-form-field",3),e.qZA(),e.qZA()),2&te&&(e.xp6(1),e.Q6J("cdkDropListDisabled",se.dragDisabled),e.xp6(2),e.Q6J("ngForOf",se.values.slice(0,se.itemsShown)),e.xp6(1),e.Q6J("ngIf",se.values.length>se.defaultItemsShown),e.xp6(1),e.Q6J("ngIf",!se.readonly))},directives:[s.qn,g.Wj,b.sg,s.HS,g.Zt,b.O5,O.Hw,E.gM,h.lW,k.KE,L.Nt,s.oH],styles:[".chip-word-break[_ngcontent-%COMP%]{word-break:break-all}.chip-text[_ngcontent-%COMP%]{display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical;overflow:hidden}.mat-chip-list[_ngcontent-%COMP%] .mat-chip[_ngcontent-%COMP%]{width:auto;min-width:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.chip-word-break[_ngcontent-%COMP%] .cdk-drop-list-dragging[_ngcontent-%COMP%] .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.example-box[_ngcontent-%COMP%]:last-child{border:none}.edit-delete-icon[_ngcontent-%COMP%]{font-size:18px;justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;justify-content:center;align-items:center;display:flex;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),H})()},28820:(Ke,be,d)=>{"use strict";d.d(be,{$:()=>Le});var e=d(84379),f=d(9244),g=d(5e3),T=d(48966),m=d(93075),A=d(69808),s=d(67322),b=d(98833),O=d(47423),E=d(25245),h=d(29772);function k(de,ke){if(1&de){const ae=g.EpF();g.TgZ(0,"button",15),g.NdJ("click",function(){g.CHM(ae);const H=g.oxw().index;return g.oxw().removeValue(H)}),g.TgZ(1,"mat-icon"),g._uU(2," indeterminate_check_box "),g.qZA(),g.qZA()}}function L(de,ke){if(1&de){const ae=g.EpF();g.TgZ(0,"div",9),g.TgZ(1,"mat-form-field",10),g._UZ(2,"label",11),g.TgZ(3,"input",12),g.NdJ("click",function(){const Q=g.CHM(ae).index,te=g.oxw();return te.readonly&&te.attribute.displayName&&te.showValue(te.keys[Q],te.attribute.displayName)})("ngModelChange",function(H){const te=g.CHM(ae).index;return g.oxw().keys[te]=H}),g.qZA(),g.qZA(),g.TgZ(4,"mat-form-field",10),g._UZ(5,"label",11),g.TgZ(6,"input",13),g.NdJ("click",function(){const Q=g.CHM(ae).$implicit,te=g.oxw();return te.readonly&&void 0!==te.attribute.displayName&&te.showValue(Q,te.attribute.displayName)})("ngModelChange",function(H){const te=g.CHM(ae).index;return g.oxw().values[te]=H}),g.qZA(),g.qZA(),g.YNc(7,k,3,0,"button",14),g.qZA()}if(2&de){const ae=ke.index,j=g.oxw();g.xp6(1),g.s9C("appearance",j.readonly?"none":"standard"),g.xp6(1),g.hYB("for","",j.attribute.id,"-key-",ae,""),g.xp6(1),g.ekj("cursor-pointer",j.readonly&&void 0!==j.attribute.displayName),g.hYB("id","",j.attribute.id,"-key-",ae,""),g.MGl("name","key-",ae,""),g.Q6J("ngModel",j.keys[ae])("readonly",j.readonly),g.xp6(1),g.s9C("appearance",j.readonly?"none":"standard"),g.xp6(1),g.hYB("for","",j.attribute.id,"-value-",ae,""),g.xp6(1),g.ekj("cursor-pointer",j.readonly&&void 0!==j.attribute.displayName),g.MGl("name","value-",ae,""),g.hYB("id","",j.attribute.id,"-value-",ae,""),g.Q6J("readonly",j.readonly)("ngModel",j.values[ae]),g.xp6(1),g.Q6J("ngIf",!j.readonly)}}function V(de,ke){1&de&&(g.TgZ(0,"mat-icon"),g._uU(1,"more_horiz"),g.qZA())}function $(de,ke){1&de&&(g.TgZ(0,"mat-icon"),g._uU(1,"keyboard_arrow_up"),g.qZA())}function ue(de,ke){if(1&de){const ae=g.EpF();g.TgZ(0,"button",16),g.NdJ("click",function(){return g.CHM(ae),g.oxw().onShowChange()}),g.YNc(1,V,2,0,"mat-icon",17),g.YNc(2,$,2,0,"mat-icon",17),g.qZA()}if(2&de){const ae=g.oxw();g.xp6(1),g.Q6J("ngIf",!ae.showMore),g.xp6(1),g.Q6J("ngIf",ae.showMore)}}function ce(de,ke){if(1&de){const ae=g.EpF();g.TgZ(0,"button",18),g.NdJ("click",function(){return g.CHM(ae),g.oxw().addValue()}),g.TgZ(1,"mat-icon"),g._uU(2," add_box "),g.qZA(),g.qZA()}}let Le=(()=>{class de{constructor(ae){this.dialog=ae,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}ngOnInit(){if(this.attribute.value){const ae=this.attribute.value;for(const[j,H]of Object.entries(ae))this.keys.push(j),this.values.push(H)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,f.Hm)(this.attribute))}customTrackBy(ae){return ae}addValue(){this.keys.push(""),this.values.push(""),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())}removeValue(ae){this.keys.splice(ae,1),this.values.splice(ae,1)}updateAttribute(){const ae={};for(let j=0;jj.defaultItemsShown),g.xp6(1),g.Q6J("ngIf",!j.readonly))},directives:[m._Y,m.JL,m.F,A.sg,s.KE,b.Nt,m.Fj,m.Q7,m.JJ,m.On,A.O5,O.lW,E.Hw,h.gM],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}.input-margin[_ngcontent-%COMP%]{margin-bottom:-30px}.btn-margin[_ngcontent-%COMP%]{margin-top:10px}"]}),de})()},63167:(Ke,be,d)=>{"use strict";d.d(be,{_:()=>O});var e=d(5e3),f=d(9244),g=d(84379),T=d(48966),m=d(67322),A=d(98833),s=d(93075),b=d(64597);let O=(()=>{class E{constructor(k){this.dialog=k,this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=(0,f.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(k,L){const V=(0,f.kZ)();V.width="350px",V.data={value:k,title:L},this.dialog.open(g.mk,V)}}return E.\u0275fac=function(k){return new(k||E)(e.Y36(T.uw))},E.\u0275cmp=e.Xpm({type:E,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:8,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(k,L){1&k&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"input",1),e.NdJ("click",function(){return L.readonly&&void 0!==L.value&&L.showValue(L.value,L.attribute.displayName)})("ngModelChange",function($){return L.attribute.value=$})("keydown",function(){return L._sendEventToParent()}),e.ALo(2,"multiWordDataCy"),e.qZA(),e.qZA()),2&k&&(e.s9C("appearance",L.readonly?"none":"standard"),e.xp6(1),e.ekj("cursor-pointer",L.readonly&&void 0!==L.value),e.Q2q("data-cy","",e.lcZ(2,6,L.attribute.displayName),"-value"),e.Q6J("readonly",L.readonly)("ngModel",L.attribute.value))},directives:[m.KE,A.Nt,s.Fj,s.JJ,s.On],pipes:[b.R],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),E})()},43532:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>ke});var e=d(5e3),f=d(28820),g=d(69808),T=d(38719),m=d(21963),A=d(63167),s=d(9244),b=d(84379),O=d(48966),E=d(67322),h=d(98833),k=d(93075);let L=(()=>{class ae{constructor(H){this.dialog=H,this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.readonly||(this.readonly=(0,s.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(H){const Q=(0,s.kZ)();Q.width="350px",Q.data={value:H.value,title:H.displayName},this.dialog.open(b.mk,Q)}}return ae.\u0275fac=function(H){return new(H||ae)(e.Y36(O.uw))},ae.\u0275cmp=e.Xpm({type:ae,selectors:[["perun-web-apps-attribute-value-integer"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","number",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(H,Q){1&H&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"input",1),e.NdJ("click",function(){return Q.readonly&&void 0!==Q.attribute.value&&Q.showValue(Q.attribute)})("ngModelChange",function(se){return Q.attribute.value=se})("keydown",function(){return Q._sendEventToParent()}),e.qZA(),e.qZA()),2&H&&(e.s9C("appearance",Q.readonly?"none":"standard"),e.xp6(1),e.ekj("cursor-pointer",Q.readonly&&void 0!==Q.attribute.value),e.Q6J("readonly",Q.readonly)("ngModel",Q.attribute.value))},directives:[E.KE,h.Nt,k.wV,k.Fj,k.JJ,k.On],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),ae})();const V=["map"];function $(ae,j){if(1&ae){const H=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-boolean",3),e.NdJ("sendEventToParent",function(){return e.CHM(H),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}function ue(ae,j){if(1&ae){const H=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-list",3),e.NdJ("sendEventToParent",function(){return e.CHM(H),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}function ce(ae,j){if(1&ae&&e._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}function Le(ae,j){if(1&ae){const H=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-string",3),e.NdJ("sendEventToParent",function(){return e.CHM(H),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}function de(ae,j){if(1&ae){const H=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-integer",3),e.NdJ("sendEventToParent",function(){return e.CHM(H),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}let ke=(()=>{class ae{constructor(){this.readonly=!1,this.sendEventToParent2=new e.vpe}updateMapAttribute(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}_sendEventToParent2(){this.sendEventToParent2.emit()}}return ae.\u0275fac=function(H){return new(H||ae)},ae.\u0275cmp=e.Xpm({type:ae,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(H,Q){if(1&H&&e.Gf(V,5),2&H){let te;e.iGM(te=e.CRH())&&(Q.mapComponent=te.first)}},inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent2:"sendEventToParent2"},decls:7,vars:5,consts:[[3,"attribute","readonly","sendEventToParent",4,"ngIf"],[3,"click"],[3,"attribute","readonly",4,"ngIf"],[3,"attribute","readonly","sendEventToParent"],[3,"attribute","readonly"],["map",""]],template:function(H,Q){1&H&&(e.TgZ(0,"div"),e.YNc(1,$,1,2,"perun-web-apps-attribute-value-boolean",0),e.YNc(2,ue,1,2,"perun-web-apps-attribute-value-list",0),e.TgZ(3,"div",1),e.NdJ("click",function(){return Q._sendEventToParent2()}),e.YNc(4,ce,2,2,"perun-web-apps-attribute-value-map",2),e.qZA(),e.YNc(5,Le,1,2,"perun-web-apps-attribute-value-string",0),e.YNc(6,de,1,2,"perun-web-apps-attribute-value-integer",0),e.qZA()),2&H&&(e.xp6(1),e.Q6J("ngIf","java.lang.Boolean"===Q.attribute.type),e.xp6(1),e.Q6J("ngIf","java.util.ArrayList"===Q.attribute.type),e.xp6(2),e.Q6J("ngIf","java.util.LinkedHashMap"===Q.attribute.type),e.xp6(1),e.Q6J("ngIf","java.lang.String"===Q.attribute.type||"java.lang.LargeString"===Q.attribute.type),e.xp6(1),e.Q6J("ngIf","java.lang.Integer"===Q.attribute.type))},directives:[g.O5,T.u,m.H,f.$,A._,L],styles:[""]}),ae})()},53984:(Ke,be,d)=>{"use strict";d.d(be,{p:()=>ne});var e=d(84847),f=d(32075),g=d(20449),T=d(43532),m=d(9244),A=d(36908),s=d(5e3),b=d(18750),O=d(77446),E=d(29772),h=d(69808),k=d(98380),L=d(64597);let V=(()=>{class Me{transform(me){return"virt"===me.namespace.split(":")[4]}}return Me.\u0275fac=function(me){return new(me||Me)},Me.\u0275pipe=s.Yjl({name:"isVirtualAttribute",type:Me,pure:!0}),Me})();var $=d(51062);function ue(Me,ve){if(1&Me){const me=s.EpF();s.TgZ(0,"th",17),s.TgZ(1,"mat-checkbox",18),s.NdJ("change",function(ee){s.CHM(me);const R=s.oxw();return ee?R.masterToggle():null}),s.qZA(),s.qZA()}if(2&Me){const me=s.oxw();s.xp6(1),s.Q6J("checked",me.selection.hasValue()&&me.isAllSelected())("indeterminate",me.selection.hasValue()&&!me.isAllSelected())("aria-label",me.checkboxLabel())}}function ce(Me,ve){if(1&Me){const me=s.EpF();s.TgZ(0,"td",19),s.TgZ(1,"mat-checkbox",20),s.NdJ("click",function(ee){return ee.stopPropagation()})("change",function(ee){const Oe=s.CHM(me).$implicit,Ie=s.oxw();return ee?Ie.selection.toggle(Oe):null}),s.ALo(2,"multiWordDataCy"),s.ALo(3,"isVirtualAttribute"),s.qZA(),s.qZA()}if(2&Me){const me=ve.$implicit,Te=s.oxw();s.xp6(1),s.Q2q("data-cy","",s.lcZ(2,4,me.displayName),"-checkbox"),s.Q6J("checked",Te.selection.isSelected(me))("disabled",s.lcZ(3,6,me)||!me.writable)("aria-label",Te.checkboxLabel(me))}}function Le(Me,ve){1&Me&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")," "))}function de(Me,ve){if(1&Me&&(s.TgZ(0,"td",22),s._uU(1),s.qZA()),2&Me){const me=ve.$implicit;s.xp6(1),s.Oqu(me.id)}}function ke(Me,ve){1&Me&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")," "))}function ae(Me,ve){if(1&Me&&(s.TgZ(0,"td",23),s.TgZ(1,"div",24),s._uU(2),s.qZA(),s.qZA()),2&Me){const me=ve.$implicit,Te=s.oxw();s.xp6(1),s.s9C("matTooltip",Te.getAttributeFullName(me)),s.xp6(1),s.hij(" ",me.displayName," ")}}function j(Me,ve){1&Me&&(s.TgZ(0,"th",25),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")," "))}function H(Me,ve){if(1&Me){const me=s.EpF();s.TgZ(0,"td",23),s.TgZ(1,"perun-web-apps-attribute-value",26),s.NdJ("sendEventToParent2",function(){const R=s.CHM(me).$implicit;return s.oxw().onValueChange(R)}),s.qZA(),s.qZA()}if(2&Me){const me=ve.$implicit,Te=s.oxw();s.xp6(1),s.Q6J("attribute",me)("readonly",Te.readonly||!me.writable)}}function Q(Me,ve){1&Me&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")," "))}function te(Me,ve){if(1&Me&&(s.TgZ(0,"td",23),s._uU(1),s.qZA()),2&Me){const me=ve.$implicit;s.xp6(1),s.Oqu(me.description)}}function se(Me,ve){1&Me&&s._UZ(0,"tr",27)}function ge(Me,ve){if(1&Me&&(s._UZ(0,"tr",28),s.ALo(1,"translate")),2&Me){const me=ve.$implicit,Te=s.oxw();s.s9C("matTooltip",s.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),s.Q6J("matTooltipPosition","before")("matTooltipDisabled",me.writable||Te.readonly)}}function Ne(Me,ve){1&Me&&(s.TgZ(0,"app-alert",29),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Fe(Me,ve){if(1&Me&&(s.TgZ(0,"app-alert",29),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me){const me=s.oxw();s.xp6(1),s.hij(" ",s.lcZ(2,1,me.emptyListText),"\n")}}let ne=(()=>{class Me{constructor(me,Te){this.authResolver=me,this.tableCheckbox=Te,this.attributes=[],this.selection=new g.Ov(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.readonly=!1,this.hiddenColumns=[],this.emptyListText="SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY_SETTINGS",this.pageSizeOptions=m.f7}set matSort(me){this.sort=me,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(me=>"id"!==me)),this.dataSource=new f.by((0,m.MX)(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(me,Te){switch(Te){case"id":return me.id.toString();case"displayName":return me.displayName;case"description":return me.description;case"value":return JSON.stringify(me.value);case"urn":return me.namespace+":"+me.baseFriendlyName;default:return""}}exportData(me){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),me)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(me=>!this.hiddenColumns.includes(me)),this.dataSource&&(this.dataSource.filterPredicate=(me,Te)=>(0,m.Sd)(me,Te,this.displayedColumns.concat("urn"),this.getDataForColumn,this),this.dataSource.sortData=(me,Te)=>(0,m.pR)(me,Te,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(me){return me?`${this.selection.isSelected(me)?"deselect":"select"} row ${me.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}updateMapAttributes(){for(const me of this.items.toArray())"java.util.LinkedHashMap"===me.attribute.type&&me.updateMapAttribute()}onValueChange(me){this.canBeSelected(me)&&this.selection.select(me)}canBeSelected(me){return!(0,m.Hm)(me)&&me.writable}getAttributeFullName(me){return`${me.namespace}:${me.friendlyName}`}}return Me.\u0275fac=function(me){return new(me||Me)(s.Y36(A.x4),s.Y36(A.UA))},Me.\u0275cmp=s.Xpm({type:Me,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(me,Te){if(1&me&&(s.Gf(e.YE,7),s.Gf(m.l9,7),s.Gf(T.M,5)),2&me){let ee;s.iGM(ee=s.CRH())&&(Te.matSort=ee.first),s.iGM(ee=s.CRH())&&(Te.child=ee.first),s.iGM(ee=s.CRH())&&(Te.items=ee)}},inputs:{attributes:"attributes",selection:"selection",displayedColumns:"displayedColumns",inDialog:"inDialog",filterValue:"filterValue",tableId:"tableId",readonly:"readonly",hiddenColumns:"hiddenColumns",emptyListText:"emptyListText"},features:[s.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size align-checkbox",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","displayName"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"checked","disabled","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["matTooltipClass","urn-tooltip",3,"matTooltip"],["mat-header-cell",""],[3,"attribute","readonly","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["alert_type","warn"]],template:function(me,Te){1&me&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(R){return Te.exportData(R)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,ue,2,3,"th",4),s.YNc(5,ce,4,8,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,Le,3,3,"th",7),s.YNc(8,de,2,1,"td",8),s.BQk(),s.ynx(9,9),s.YNc(10,ke,3,3,"th",7),s.YNc(11,ae,3,2,"td",10),s.BQk(),s.ynx(12,11),s.YNc(13,j,3,3,"th",12),s.YNc(14,H,2,2,"td",10),s.BQk(),s.ynx(15,13),s.YNc(16,Q,3,3,"th",7),s.YNc(17,te,2,1,"td",10),s.BQk(),s.YNc(18,se,1,0,"tr",14),s.YNc(19,ge,2,5,"tr",15),s.qZA(),s.qZA(),s.qZA(),s.YNc(20,Ne,3,3,"app-alert",16),s.YNc(21,Fe,3,3,"app-alert",16)),2&me&&(s.Q6J("hidden",0===Te.dataSource.filteredData.length),s.xp6(1),s.Q6J("tableId",Te.tableId)("dataLength",Te.dataSource.filteredData.length)("pageSizeOptions",Te.pageSizeOptions),s.xp6(1),s.Q6J("dataSource",Te.dataSource),s.xp6(16),s.Q6J("matHeaderRowDef",Te.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",Te.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===Te.dataSource.filteredData.length&&0!==Te.dataSource.data.length),s.xp6(1),s.Q6J("ngIf",0===Te.dataSource.data.length))},directives:[b.l,f.BZ,e.YE,f.w1,f.fO,f.ge,O.oG,f.Dz,f.ev,e.nU,E.gM,T.M,f.as,f.XQ,f.nj,f.Gk,h.O5,k.w],pipes:[L.R,V,$.X$],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-row[_ngcontent-%COMP%]{height:auto}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.mat-column-value[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:300px!important}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important} .urn-tooltip{max-width:800px!important}"]}),Me})()},4235:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>O});var e=d(36908),f=d(5e3),g=d(69808),T=d(47423),m=d(29772),A=d(25245),s=d(51062);const b=function(E){return{color:E}};let O=(()=>{class E{constructor(k,L){this.location=k,this.storeService=L}ngOnInit(){this.backButtonColor=this.storeService.get("theme","back_button_color")}goBack(){"false"===sessionStorage.getItem("onInitPage")&&this.location.back()}}return E.\u0275fac=function(k){return new(k||E)(f.Y36(g.Ye),f.Y36(e.d6))},E.\u0275cmp=f.Xpm({type:E,selectors:[["perun-web-apps-back-button"]],decls:4,vars:6,consts:[["mat-stroked-button","",1,"mb-2","mt-2",3,"ngStyle","matTooltip","click"],[1,"rotate"]],template:function(k,L){1&k&&(f.TgZ(0,"button",0),f.NdJ("click",function(){return L.goBack()}),f.ALo(1,"translate"),f.TgZ(2,"mat-icon",1),f._uU(3,"arrow_right_alt"),f.qZA(),f.qZA()),2&k&&(f.s9C("matTooltip",f.lcZ(1,2,"Back")),f.Q6J("ngStyle",f.VKq(4,b,L.backButtonColor)))},directives:[T.lW,g.PC,m.gM,A.Hw],pipes:[s.X$],styles:[".rotate[_ngcontent-%COMP%]{transform:rotate(180deg) scale(1.5)}"]}),E})()},61150:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>k});var e=d(5e3),f=d(93075),g=d(36908),T=d(67322),m=d(98833),A=d(69808),s=d(77446),b=d(82322),O=d(51062);function E(L,V){if(1&L){const $=e.EpF();e.TgZ(0,"mat-checkbox",7),e.NdJ("change",function(){return e.CHM($),e.oxw().emitAsSubGroup()})("ngModelChange",function(ce){return e.CHM($),e.oxw().asSubgroup=ce}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&L){const $=e.oxw();e.Q6J("labelPosition","before")("ngModel",$.asSubgroup),e.xp6(1),e.hij(" ",e.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function h(L,V){if(1&L){const $=e.EpF();e.TgZ(0,"perun-web-apps-group-search-select",8),e.NdJ("groupSelected",function(ce){return e.CHM($),e.oxw().emitParentGroup(ce)}),e.qZA()}if(2&L){const $=e.oxw();e.Q6J("disableAutoSelect",!0)("groups",$.voGroups)}}let k=(()=>{class L{constructor($){this.store=$,this.parentGroup=null,this.voGroups=[],this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.secondaryRegex=this.store.get("group_name_secondary_regex"),this.nameChanged=new e.vpe,this.descriptionChanged=new e.vpe,this.parentGroupChanged=new e.vpe,this.asSubgroupChanged=new e.vpe}ngOnInit(){this.isNotSubGroup=null===this.parentGroup,this.nameControl=new f.NI("",[f.kI.required,f.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),f.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new f.NI("",[f.kI.required,f.kI.maxLength(129)]),this.selectedParent=null,this.voGroups=this.voGroups.filter($=>"members"!==$.name)}emitName(){this.nameChanged.emit(this.nameControl.invalid?"":this.nameControl.value)}emitDescription(){this.descriptionChanged.emit(this.descriptionControl.invalid?"":this.descriptionControl.value)}emitParentGroup($){this.selectedParent=$,this.parentGroupChanged.emit($)}emitAsSubGroup(){this.asSubgroup||this.emitParentGroup(null),this.asSubgroupChanged.emit(this.asSubgroup)}}return L.\u0275fac=function($){return new($||L)(e.Y36(g.d6))},L.\u0275cmp=e.Xpm({type:L,selectors:[["perun-web-apps-create-group-form"]],inputs:{parentGroup:"parentGroup",voGroups:"voGroups"},outputs:{nameChanged:"nameChanged",descriptionChanged:"descriptionChanged",parentGroupChanged:"parentGroupChanged",asSubgroupChanged:"asSubgroupChanged"},decls:17,vars:16,consts:[[1,"dialog-container"],[3,"keyup"],[1,"w-100"],["matInput","","required","",3,"formControl","placeholder"],[1,"mt-4",3,"keyup"],[3,"labelPosition","ngModel","change","ngModelChange",4,"ngIf"],["class","long-input",3,"disableAutoSelect","groups","groupSelected",4,"ngIf"],[3,"labelPosition","ngModel","change","ngModelChange"],[1,"long-input",3,"disableAutoSelect","groups","groupSelected"]],template:function($,ue){1&$&&(e.TgZ(0,"div",0),e.TgZ(1,"mat-form-field",1),e.NdJ("keyup",function(){return ue.emitName()}),e.TgZ(2,"label",2),e._UZ(3,"input",3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-error"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.qZA(),e.TgZ(8,"mat-form-field",4),e.NdJ("keyup",function(){return ue.emitDescription()}),e.TgZ(9,"label",2),e._UZ(10,"textarea",3),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"mat-error"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.qZA(),e.YNc(15,E,3,5,"mat-checkbox",5),e.YNc(16,h,1,2,"perun-web-apps-group-search-select",6),e.qZA()),2&$&&(e.xp6(3),e.s9C("placeholder",e.lcZ(4,8,"DIALOGS.CREATE_GROUP.NAME")),e.Q6J("formControl",ue.nameControl),e.xp6(3),e.hij(" ",ue.invalidNameMessage.length?ue.invalidNameMessage:e.lcZ(7,10,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),e.xp6(4),e.s9C("placeholder",e.lcZ(11,12,"DIALOGS.CREATE_GROUP.DESCRIPTION")),e.Q6J("formControl",ue.descriptionControl),e.xp6(3),e.hij(" ",e.lcZ(14,14,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),e.xp6(2),e.Q6J("ngIf",ue.isNotSubGroup),e.xp6(1),e.Q6J("ngIf",ue.asSubgroup))},directives:[T.KE,m.Nt,f.Fj,f.Q7,f.JJ,f.oH,T.TO,A.O5,s.oG,f.On,b.h],pipes:[O.X$],styles:[""]}),L})()},39798:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>s});var e=d(5e3),f=d(67322),g=d(98833),T=d(86856),m=d(93075),A=d(51062);let s=(()=>{class b{constructor(){this.datePicker=new e.vpe}ngOnInit(){this.startMinDate=new Date(2e3,0,1),this.endMaxDate=new Date,this.startMaxDate=this.endDate.value,this.endMinDate=this.startDate.value}dateChange(){this.datePicker.emit(),this.startMaxDate=this.endDate.value,this.endMinDate=this.startDate.value}}return b.\u0275fac=function(E){return new(E||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["perun-web-apps-date-range"]],inputs:{startDate:"startDate",endDate:"endDate"},outputs:{datePicker:"datePicker"},decls:16,vars:16,consts:[["appearance","standard",1,"mr-2",3,"click"],["matInput","","readonly","",3,"matDatepicker","min","max","formControl","dateChange"],["matSuffix","",3,"for"],["datePickerStart",""],["appearance","standard",3,"click"],["datePickerEnd",""]],template:function(E,h){if(1&E){const k=e.EpF();e.TgZ(0,"mat-form-field",0),e.NdJ("click",function(){return e.CHM(k),e.MAs(7).open()}),e.TgZ(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"input",1),e.NdJ("dateChange",function(){return h.dateChange()}),e.qZA(),e._UZ(5,"mat-datepicker-toggle",2),e._UZ(6,"mat-datepicker",null,3),e.qZA(),e.TgZ(8,"mat-form-field",4),e.NdJ("click",function(){return e.CHM(k),e.MAs(15).open()}),e.TgZ(9,"mat-label"),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"input",1),e.NdJ("dateChange",function(){return h.dateChange()}),e.qZA(),e._UZ(13,"mat-datepicker-toggle",2),e._UZ(14,"mat-datepicker",null,5),e.qZA()}if(2&E){const k=e.MAs(7),L=e.MAs(15);e.xp6(2),e.Oqu(e.lcZ(3,12,"VO_DETAIL.APPLICATION.DATE.START")),e.xp6(2),e.Q6J("matDatepicker",k)("min",h.startMinDate)("max",h.startMaxDate)("formControl",h.startDate),e.xp6(1),e.Q6J("for",k),e.xp6(5),e.Oqu(e.lcZ(11,14,"VO_DETAIL.APPLICATION.DATE.END")),e.xp6(2),e.Q6J("matDatepicker",L)("min",h.endMinDate)("max",h.endMaxDate)("formControl",h.endDate),e.xp6(1),e.Q6J("for",L)}},directives:[f.KE,f.hX,g.Nt,T.hl,m.Fj,m.JJ,m.oH,T.nW,f.R9,T.Mq],pipes:[A.X$],styles:[""]}),b})()},64901:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>E});var e=d(5e3),f=d(23753),g=d(24850),T=d(80013),m=d(75778),A=d(67322),s=d(98833),b=d(51062);const O=["groupFilterInput"];let E=(()=>{class h{constructor(){this.filter=new e.vpe}ngOnInit(){(0,f.R)(this.groupFilterInput.nativeElement,"keyup").pipe((0,g.U)(L=>L.target.value),(0,T.b)(500),(0,m.x)()).subscribe(L=>{this.filter.emit(L)})}}return h.\u0275fac=function(L){return new(L||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(L,V){if(1&L&&e.Gf(O,7),2&L){let $;e.iGM($=e.CRH())&&(V.groupFilterInput=$.first)}},inputs:{placeholder:"placeholder"},outputs:{filter:"filter"},decls:4,vars:3,consts:[[1,"filter-field","mr-2"],["matInput","",3,"placeholder"],["groupFilterInput",""]],template:function(L,V){1&L&&(e.TgZ(0,"mat-form-field",0),e._UZ(1,"input",1,2),e.ALo(3,"translate"),e.qZA()),2&L&&(e.xp6(1),e.s9C("placeholder",e.lcZ(3,1,V.placeholder)))},directives:[A.KE,s.Nt],pipes:[b.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),h})()},42377:(Ke,be,d)=>{"use strict";d.d(be,{i:()=>Le});var e=d(5e3),f=d(93075),g=d(96831),T=d(8929),m=d(7625),A=d(67322),s=d(74107),b=d(69808),O=d(90508),E=d(43586),h=d(53435);const k=["scrollViewport"];function L(de,ke){if(1&de&&(e.TgZ(0,"mat-select-trigger"),e._uU(1),e.qZA()),2&de){const ae=e.oxw();e.xp6(1),e.hij(" ",ae.multipleSelectedText()," ")}}function V(de,ke){if(1&de&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&de){const ae=e.oxw(2);e.Tol(ae.colorByStatus(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)),e.xp6(1),e.hij(" ",ae.statusTextFunction(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)?"("+ae.statusTextFunction(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)+")":""," ")}}function $(de,ke){if(1&de&&(e.TgZ(0,"mat-option",8),e._uU(1),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,V,2,4,"span",10),e.qZA()),2&de){const ae=e.oxw();e.Q6J("value",null==ae.entitiesCtrl?null:ae.entitiesCtrl.value),e.xp6(1),e.hij(" ",ae.mainTextFunction(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)," "),e.xp6(2),e.Oqu(ae.secondaryTextFunction(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)),e.xp6(1),e.Q6J("ngIf",ae.displayStatus)}}function ue(de,ke){if(1&de&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&de){const ae=e.oxw().$implicit,j=e.oxw();e.Tol(j.colorByStatus(ae)),e.xp6(1),e.hij(" ",j.statusTextFunction(ae)?"("+j.statusTextFunction(ae)+")":""," ")}}function ce(de,ke){if(1&de&&(e.TgZ(0,"mat-option",11),e._uU(1),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,ue,2,4,"span",10),e.qZA()),2&de){const ae=ke.$implicit,j=e.oxw();e.Tol(j.theme),e.Q6J("value",ae),e.xp6(1),e.hij(" ",j.mainTextFunction(ae)," "),e.xp6(2),e.Oqu(j.secondaryTextFunction(ae)),e.xp6(1),e.Q6J("ngIf",j.displayStatus)}}let Le=(()=>{class de{constructor(ae){this.cd=ae,this.selectPlaceholder="Select",this.findPlaceholder="Find...",this.noEntriesText="Nothing found",this.disableAutoSelect=!1,this.entity=null,this.displayStatus=!1,this.multiple=!1,this.theme="",this.entitySelected=new e.vpe,this.entitiesCtrl=new f.NI,this.entityFilterCtrl=new f.NI,this.filteredEntities=new g.t(1),this.entitiesLen=0,this._onDestroy=new T.xQ,this.mainTextFunction=j=>JSON.stringify(j),this.secondaryTextFunction=j=>"#"+j.id+(j.description?" "+j.description:""),this.statusTextFunction=j=>j.status}ngOnInit(){this.entitiesCtrl.valueChanges.subscribe(ae=>this.entitySelected.emit(ae)),!this.disableAutoSelect&&null===this.entity&&this.entitiesCtrl.setValue(this.entities[0]),this.filteredEntities.subscribe(ae=>this.entitiesLen=ae.length),this.entityFilterCtrl.valueChanges.pipe((0,m.R)(this._onDestroy)).subscribe(()=>{this.filterEntites()}),null!==this.entity&&this.entitiesCtrl.setValue(this.entity)}colorByStatus(ae){switch(ae.status){case"ACTIVE":return"green";case"INACTIVE":return"grey";case"FAILED":return"red";case"PROCESSING":return"black"}}ngOnChanges(ae){null!==this.entity&&this.entitiesCtrl.setValue(this.entity),ae.entities&&this.filteredEntities.next(this.entities.slice())}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}filterEntites(){if(!this.entities)return;let ae=this.entityFilterCtrl.value;if(!ae)return this.filteredEntities.next(this.entities.slice()),void this.cd.detectChanges();ae=this.normalize(ae),this.filteredEntities.next(this.entities.filter(j=>this.normalize(this.searchFunction(j)).indexOf(ae)>=0)),this.cd.detectChanges()}normalize(ae){return ae.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()}openChange(){this.scrollViewport.scrollToIndex(0),this.scrollViewport.checkViewportSize()}getViewportHeight(){let ae=48*this.entitiesLen;return ae>192&&(ae=192),this.scrollViewport&&this.scrollViewport.checkViewportSize(),ae}multipleSelectedText(){if(this.entitiesCtrl.value&&0!==this.entitiesCtrl.value.length)return this.entitiesCtrl.value.length===this.entities.length?"ALL":this.entitiesCtrl.value.length>1?this.mainTextFunction(this.entitiesCtrl.value[0])+` + ${this.entitiesCtrl.value.length-1} other(s)`:this.mainTextFunction(this.entitiesCtrl.value[0])+" "+this.secondaryTextFunction(this.entitiesCtrl.value[0])}}return de.\u0275fac=function(ae){return new(ae||de)(e.Y36(e.sBO))},de.\u0275cmp=e.Xpm({type:de,selectors:[["perun-web-apps-entity-search-select"]],viewQuery:function(ae,j){if(1&ae&&e.Gf(k,5),2&ae){let H;e.iGM(H=e.CRH())&&(j.scrollViewport=H.first)}},inputs:{entities:"entities",selectPlaceholder:"selectPlaceholder",findPlaceholder:"findPlaceholder",noEntriesText:"noEntriesText",disableAutoSelect:"disableAutoSelect",entity:"entity",displayStatus:"displayStatus",multiple:"multiple",theme:"theme",searchFunction:"searchFunction",mainTextFunction:"mainTextFunction",secondaryTextFunction:"secondaryTextFunction"},outputs:{entitySelected:"entitySelected"},features:[e.TTD],decls:10,vars:16,consts:[[1,"w-100"],[3,"placeholder","formControl","multiple","openedChange"],[4,"ngIf"],[3,"placeholderLabel","noEntriesFoundLabel","clearSearchInput","formControl"],["class","selected-options-bottom",3,"value",4,"ngIf"],["itemSize","48",3,"minBufferPx","maxBufferPx"],["scrollViewport",""],[3,"class","value",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"selected-options-bottom",3,"value"],[1,"text-muted"],[3,"class",4,"ngIf"],[3,"value"]],template:function(ae,j){1&ae&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"mat-select",1),e.NdJ("openedChange",function(){return j.openChange()}),e.YNc(2,L,2,1,"mat-select-trigger",2),e.TgZ(3,"mat-option"),e._UZ(4,"ngx-mat-select-search",3),e.qZA(),e.YNc(5,$,5,4,"mat-option",4),e.TgZ(6,"cdk-virtual-scroll-viewport",5,6),e.YNc(8,ce,5,7,"mat-option",7),e.ALo(9,"async"),e.qZA(),e.qZA(),e.qZA()),2&ae&&(e.xp6(1),e.s9C("placeholder",j.selectPlaceholder),e.Q6J("formControl",j.entitiesCtrl)("multiple",j.multiple),e.xp6(1),e.Q6J("ngIf",j.multiple),e.xp6(2),e.s9C("placeholderLabel",j.findPlaceholder),e.s9C("noEntriesFoundLabel",j.noEntriesText),e.Q6J("clearSearchInput",!1)("formControl",j.entityFilterCtrl),e.xp6(1),e.Q6J("ngIf",null==j.entitiesCtrl?null:j.entitiesCtrl.value),e.xp6(1),e.Udp("height",j.getViewportHeight(),"px"),e.Q6J("minBufferPx",240)("maxBufferPx",480),e.xp6(2),e.Q6J("cdkVirtualForOf",e.lcZ(9,14,j.filteredEntities)))},directives:[A.KE,s.gD,f.JJ,f.oH,b.O5,s.$L,O.ey,E.nu,h.N7,h.xd,h.x0],pipes:[b.Ov],styles:[".selected-options-bottom[_ngcontent-%COMP%]{visibility:hidden;position:absolute}.green[_ngcontent-%COMP%]{color:green}.grey[_ngcontent-%COMP%]{color:gray}.red[_ngcontent-%COMP%]{color:red}.black[_ngcontent-%COMP%]{color:#000}"]}),de})()},74010:(Ke,be,d)=>{"use strict";d.d(be,{X:()=>he});var e=d(84847),f=d(32075),g=d(9244),T=d(36908),m=d(5e3),A=d(18750),s=d(77446),b=d(10441),O=d(93075),E=d(69808),h=d(29772),k=d(47423),L=d(25245);function V(D,S){if(1&D&&(m.TgZ(0,"div",6),m._uU(1),m.qZA()),2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.hij(" ",I[P.paramName]," ")}}function $(D,S){1&D&&(m.TgZ(0,"mat-icon"),m._uU(1,"more_horiz"),m.qZA())}function ue(D,S){1&D&&(m.TgZ(0,"mat-icon"),m._uU(1,"keyboard_arrow_up"),m.qZA())}function ce(D,S){if(1&D){const I=m.EpF();m.TgZ(0,"button",7),m.NdJ("click",function(){return m.CHM(I),m.oxw().onShowChange()}),m.YNc(1,$,2,0,"mat-icon",8),m.YNc(2,ue,2,0,"mat-icon",8),m.qZA()}if(2&D){const I=m.oxw();m.xp6(1),m.Q6J("ngIf",!I.showMore),m.xp6(1),m.Q6J("ngIf",I.showMore)}}let Le=(()=>{class D{constructor(){this.objects=[],this.filterValue="",this.paramName="",this.showMore=!1,this.defaultItemsShown=3}ngOnInit(){this.itemsShown=this.defaultItemsShown}ngOnChanges(){this.itemsShown=this.defaultItemsShown,this.showMore=!1}onShowChange(){this.showMore=!this.showMore,this.itemsShown=this.showMore?this.objects.length:this.defaultItemsShown}}return D.\u0275fac=function(I){return new(I||D)},D.\u0275cmp=m.Xpm({type:D,selectors:[["perun-web-apps-object-list-values"]],inputs:{objects:"objects",filterValue:"filterValue",paramName:"paramName"},features:[m.TTD],decls:7,vars:4,consts:[[1,"d-flex","w-100"],[1,"w-100"],[1,"mr-5"],["class","d-flex mb-1",4,"ngFor","ngForOf"],[3,"matTooltip","matTooltipPosition"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"d-flex","mb-1"],["mat-icon-button","",3,"click"],[4,"ngIf"]],template:function(I,P){1&I&&(m.TgZ(0,"form",0),m.TgZ(1,"div",1),m.TgZ(2,"div",2),m.YNc(3,V,2,1,"div",3),m.qZA(),m.TgZ(4,"div"),m.TgZ(5,"span",4),m.YNc(6,ce,3,2,"button",5),m.qZA(),m.qZA(),m.qZA(),m.qZA()),2&I&&(m.xp6(3),m.Q6J("ngForOf",P.objects.slice(0,P.itemsShown)),m.xp6(2),m.Q6J("matTooltip",P.showMore?"Show less":"Show more")("matTooltipPosition","above"),m.xp6(1),m.Q6J("ngIf",P.objects.length>P.defaultItemsShown))},directives:[O._Y,O.JL,O.F,E.sg,h.gM,E.O5,k.lW,L.Hw],styles:[""]}),D})();var de=d(50301),ke=d(30325),ae=d(98380),j=d(51062),H=d(53561);let Q=(()=>{class D{transform(I,P,i){return I.filter(r=>r[i].includes(P)).filter((r,p,o)=>o.findIndex(t=>t[i]===r[i])===p)}}return D.\u0275fac=function(I){return new(I||D)},D.\u0275pipe=m.Yjl({name:"filterUniqueObjects",type:D,pure:!0}),D})();function te(D,S){1&D&&m._UZ(0,"th",20)}function se(D,S){if(1&D){const I=m.EpF();m.TgZ(0,"td",21),m.TgZ(1,"mat-checkbox",22),m.NdJ("change",function(i){const p=m.CHM(I).$implicit,o=m.oxw();return i?o.selection.toggle(p):null})("click",function(i){return i.stopPropagation()}),m.qZA(),m.qZA()}if(2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.Q2q("data-cy","",I.facility.name,"-checkbox"),m.Q6J("aria-label",P.checkboxLabel(I))("checked",P.selection.isSelected(I))}}function ge(D,S){1&D&&(m.TgZ(0,"th",23),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.ID")," "))}function Ne(D,S){if(1&D&&(m.TgZ(0,"td",24),m._uU(1),m.qZA()),2&D){const I=S.$implicit;m.xp6(1),m.hij(" ",I.facility.id," ")}}function Fe(D,S){1&D&&m._UZ(0,"th",25)}function ne(D,S){if(1&D&&(m.TgZ(0,"td",26),m._UZ(1,"perun-web-apps-recently-viewed-icon",27),m.qZA()),2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.Q6J("id",I.facility.id)("recentIds",P.recentIds)}}function Me(D,S){1&D&&(m.TgZ(0,"th",23),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.NAME")," "))}function ve(D,S){if(1&D&&(m.TgZ(0,"td",26),m._uU(1),m.qZA()),2&D){const I=S.$implicit;m.uIk("data-cy",I.facility.name),m.xp6(1),m.hij(" ",I.facility.name," ")}}function me(D,S){1&D&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESCRIPTION")," "))}function Te(D,S){if(1&D&&(m.TgZ(0,"td",26),m._uU(1),m.qZA()),2&D){const I=S.$implicit;m.xp6(1),m.Oqu(I.facility.description)}}function ee(D,S){1&D&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.TECHNICAL_OWNERS")," "))}function R(D,S){if(1&D&&(m.TgZ(0,"td",26),m._uU(1),m.ALo(2,"technicalOwners"),m.qZA()),2&D){const I=S.$implicit;m.xp6(1),m.Oqu(m.lcZ(2,1,I.owners))}}function Oe(D,S){1&D&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESTINATIONS")," "))}function Ie(D,S){if(1&D){const I=m.EpF();m.TgZ(0,"td",26),m.TgZ(1,"perun-web-apps-object-list-values",28),m.NdJ("mouseenter",function(){return m.CHM(I),m.oxw().disableRouting=!0})("mouseleave",function(){return m.CHM(I),m.oxw().disableRouting=!1}),m.ALo(2,"filterUniqueObjects"),m.qZA(),m.qZA()}if(2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.Q6J("objects",m.Dn7(2,2,I.destinations,P.filterValue,"destination"))("paramName","destination")}}function He(D,S){1&D&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.HOSTS")," "))}function fe(D,S){if(1&D){const I=m.EpF();m.TgZ(0,"td",26),m.TgZ(1,"perun-web-apps-object-list-values",28),m.NdJ("mouseenter",function(){return m.CHM(I),m.oxw().disableRouting=!0})("mouseleave",function(){return m.CHM(I),m.oxw().disableRouting=!1}),m.ALo(2,"filterUniqueObjects"),m.qZA(),m.qZA()}if(2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.Q6J("objects",m.Dn7(2,2,I.hosts,P.filterValue,"hostname"))("paramName","hostname")}}function Ce(D,S){1&D&&m._UZ(0,"tr",29)}const Ve=function(D){return["/facilities",D]},Xe=function(){return[]};function tt(D,S){if(1&D&&m._UZ(0,"tr",30),2&D){const I=S.$implicit,P=m.oxw();m.Q6J("perunWebAppsMiddleClickRouterLink",m.VKq(2,Ve,I.facility.id))("routerLink",P.disableRouting?m.DdM(4,Xe):m.VKq(5,Ve,I.facility.id))}}function rt(D,S){1&D&&(m.TgZ(0,"app-alert",31),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function N(D,S){1&D&&(m.TgZ(0,"app-alert",31),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FACILITIES"),"\n"))}let he=(()=>{class D{constructor(I){this.authResolver=I,this.displayedColumns=["select","id","recent","name","description","technicalOwners","destinations","hosts"],this.pageSizeOptions=g.f7}set matSort(I){this.sort=I}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(I=>"id"!==I)),this.setDataSource()}getDataForColumn(I,P,i){switch(P){case"id":return I.facility.id.toString();case"name":return I.facility.name;case"description":return I.facility.description;case"technicalOwners":return(0,g.te)(I.owners);case"recent":return i.recentIds&&i.recentIds.indexOf(I.facility.id)>-1?"#".repeat(i.recentIds.indexOf(I.facility.id)):I.name;case"destinations":return I.destinations.map(r=>r.destination).join(" ; ");case"hosts":return I.hosts.map(r=>r.hostname).join(" ; ");default:return I[P]}}exportData(I){(0,g.O6)((0,g.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),I)}setDataSource(){this.dataSource||(this.dataSource=new f.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(I,P)=>(0,g.Sd)(I,P,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(I,P)=>(0,g.pR)(I,P,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.facilities}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(I=>this.selection.select(I))}checkboxLabel(I){return I?`${this.selection.isSelected(I)?"deselect":"select"} row ${I.facility.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return D.\u0275fac=function(I){return new(I||D)(m.Y36(T.x4))},D.\u0275cmp=m.Xpm({type:D,selectors:[["perun-web-apps-facilities-list"]],viewQuery:function(I,P){if(1&I&&(m.Gf(e.YE,7),m.Gf(g.l9,7)),2&I){let i;m.iGM(i=m.CRH())&&(P.matSort=i.first),m.iGM(i=m.CRH())&&(P.child=i.first)}},inputs:{facilities:"facilities",recentIds:"recentIds",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",selection:"selection",pageSizeOptions:"pageSizeOptions"},features:[m.TTD],decls:31,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","description"],["matColumnDef","technicalOwners"],["matColumnDef","destinations"],["matColumnDef","hosts"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"id","recentIds"],[3,"objects","paramName","mouseenter","mouseleave"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(I,P){1&I&&(m.TgZ(0,"div",0),m.TgZ(1,"perun-web-apps-table-wrapper",1),m.NdJ("exportData",function(r){return P.exportData(r)}),m.TgZ(2,"table",2),m.ynx(3,3),m.YNc(4,te,1,0,"th",4),m.YNc(5,se,2,3,"td",5),m.BQk(),m.ynx(6,6),m.YNc(7,ge,3,3,"th",7),m.YNc(8,Ne,2,1,"td",8),m.BQk(),m.ynx(9,9),m.YNc(10,Fe,1,0,"th",10),m.YNc(11,ne,2,2,"td",11),m.BQk(),m.ynx(12,12),m.YNc(13,Me,3,3,"th",7),m.YNc(14,ve,2,2,"td",11),m.BQk(),m.ynx(15,13),m.YNc(16,me,3,3,"th",10),m.YNc(17,Te,2,1,"td",11),m.BQk(),m.ynx(18,14),m.YNc(19,ee,3,3,"th",10),m.YNc(20,R,3,3,"td",11),m.BQk(),m.ynx(21,15),m.YNc(22,Oe,3,3,"th",10),m.YNc(23,Ie,3,6,"td",11),m.BQk(),m.ynx(24,16),m.YNc(25,He,3,3,"th",10),m.YNc(26,fe,3,6,"td",11),m.BQk(),m.YNc(27,Ce,1,0,"tr",17),m.YNc(28,tt,1,7,"tr",18),m.qZA(),m.qZA(),m.qZA(),m.YNc(29,rt,3,3,"app-alert",19),m.YNc(30,N,3,3,"app-alert",19)),2&I&&(m.Q6J("hidden",!P.dataSource||0===P.dataSource.filteredData.length||0===P.facilities.length),m.xp6(1),m.Q6J("tableId",P.tableId)("dataLength",P.dataSource.filteredData.length)("pageSizeOptions",P.pageSizeOptions),m.xp6(1),m.Q6J("dataSource",P.dataSource),m.xp6(25),m.Q6J("matHeaderRowDef",P.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",P.displayedColumns),m.xp6(1),m.Q6J("ngIf",0===P.dataSource.filteredData.length&&0!==P.facilities.length),m.xp6(1),m.Q6J("ngIf",0===P.facilities.length))},directives:[A.l,f.BZ,e.YE,f.w1,f.fO,f.ge,f.Dz,f.ev,s.oG,e.nU,b.W,Le,f.as,f.XQ,f.nj,f.Gk,de.YH,ke.rH,E.O5,ae.w],pipes:[j.X$,H.J,Q],styles:["tr[_ngcontent-%COMP%]{cursor:pointer}"]}),D})()},13449:(Ke,be,d)=>{"use strict";d.d(be,{i:()=>ae});var e=d(5e3),f=d(36908),g=d(69808),T=d(47423),m=d(69287),A=d(29772),s=d(25245),b=d(92181),O=d(51062),E=d(45942),h=d(29218),k=d(28764);function L(j,H){if(1&j){const Q=e.EpF();e.TgZ(0,"span",5),e.ALo(1,"translate"),e.ALo(2,"groupSyncToolTip"),e.TgZ(3,"button",6),e.NdJ("click",function(){return e.CHM(Q),e.oxw(2).onSyncDetail()}),e.ALo(4,"groupSyncIcon"),e.TgZ(5,"mat-icon"),e.ALo(6,"groupSyncIconColor"),e._uU(7),e.ALo(8,"groupSyncIcon"),e.qZA(),e.qZA(),e.qZA()}if(2&j){const Q=e.oxw(2);e.Q6J("matTooltipPosition","above")("matTooltip",e.lcZ(1,7,e.lcZ(2,9,Q.group))),e.xp6(3),e.Q6J("disabled","sync_disabled"===e.lcZ(4,11,Q.group)),e.xp6(2),e.Tol(e.lcZ(6,13,Q.group)),e.xp6(2),e.hij(" ",e.lcZ(8,15,Q.group)," ")}}function V(j,H){if(1&j){const Q=e.EpF();e.TgZ(0,"span",5),e.ALo(1,"translate"),e.TgZ(2,"button",6),e.NdJ("click",function(){return e.CHM(Q),e.oxw(2).onMoveGroup()}),e.TgZ(3,"mat-icon"),e._uU(4,"arrow_right_alt"),e.qZA(),e.qZA(),e.qZA()}if(2&j){const Q=e.oxw(2);e.s9C("matTooltip",e.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE")),e.Q6J("matTooltipPosition","above"),e.xp6(2),e.Q6J("disabled",Q.disabled)}}function $(j,H){if(1&j){const Q=e.EpF();e.TgZ(0,"span",5),e.ALo(1,"translate"),e.TgZ(2,"button",6),e.NdJ("click",function(){return e.CHM(Q),e.oxw(2).onChangeNameDescription()}),e.TgZ(3,"mat-icon"),e._uU(4,"text_format"),e.qZA(),e.qZA(),e.qZA()}if(2&j){const Q=e.oxw(2);e.s9C("matTooltip",e.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME")),e.Q6J("matTooltipPosition","above"),e.xp6(2),e.Q6J("disabled",Q.disabled)}}function ue(j,H){if(1&j&&(e.TgZ(0,"div",2),e.TgZ(1,"button",3),e.ALo(2,"translate"),e.TgZ(3,"mat-icon"),e._uU(4," file_copy "),e.qZA(),e.qZA(),e.YNc(5,L,9,17,"span",4),e.YNc(6,V,5,5,"span",4),e.YNc(7,$,5,5,"span",4),e.qZA()),2&j){const Q=e.oxw();e.xp6(1),e.s9C("matTooltip",e.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),e.Q6J("cdkCopyToClipboard",Q.group.name)("matTooltipPosition","above"),e.xp6(4),e.Q6J("ngIf",Q.syncAuth),e.xp6(1),e.Q6J("ngIf",Q.moveAuth),e.xp6(1),e.Q6J("ngIf",Q.editAuth)}}function ce(j,H){if(1&j){const Q=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(Q),e.oxw(2).onSyncDetail()}),e.ALo(1,"groupSyncIcon"),e.TgZ(2,"mat-icon"),e.ALo(3,"groupSyncIconColor"),e._uU(4),e.ALo(5,"groupSyncIcon"),e.qZA(),e.TgZ(6,"span"),e._uU(7),e.ALo(8,"translate"),e.ALo(9,"groupSyncToolTip"),e.qZA(),e.qZA()}if(2&j){const Q=e.oxw(2);e.Q6J("disabled","sync_disabled"===e.lcZ(1,6,Q.group)),e.xp6(2),e.Tol(e.lcZ(3,8,Q.group)),e.xp6(2),e.hij(" ",e.lcZ(5,10,Q.group)," "),e.xp6(3),e.Oqu(e.lcZ(8,12,e.lcZ(9,14,Q.group)))}}function Le(j,H){if(1&j){const Q=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(Q),e.oxw(2).onMoveGroup()}),e.TgZ(1,"mat-icon"),e._uU(2,"arrow_right_alt"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.qZA()}if(2&j){const Q=e.oxw(2);e.Q6J("disabled",Q.disabled),e.xp6(4),e.Oqu(e.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE"))}}function de(j,H){if(1&j){const Q=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(Q),e.oxw(2).onChangeNameDescription()}),e.TgZ(1,"mat-icon"),e._uU(2,"text_format"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.qZA()}if(2&j){const Q=e.oxw(2);e.Q6J("disabled",Q.disabled),e.xp6(4),e.Oqu(e.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME"))}}function ke(j,H){if(1&j&&(e.TgZ(0,"div"),e.TgZ(1,"button",7),e.TgZ(2,"mat-icon"),e._uU(3,"more_vert"),e.qZA(),e.qZA(),e.TgZ(4,"mat-menu",null,8),e.TgZ(6,"button",9),e.TgZ(7,"mat-icon"),e._uU(8," file_copy "),e.qZA(),e.TgZ(9,"span"),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.qZA(),e.YNc(12,ce,10,16,"button",10),e.YNc(13,Le,6,4,"button",10),e.YNc(14,de,6,4,"button",10),e.qZA(),e.qZA()),2&j){const Q=e.MAs(5),te=e.oxw();e.xp6(1),e.Q6J("mat-menu-trigger-for",Q),e.xp6(5),e.Q6J("cdkCopyToClipboard",te.group.name),e.xp6(4),e.Oqu(e.lcZ(11,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),e.xp6(2),e.Q6J("ngIf",te.syncAuth),e.xp6(1),e.Q6J("ngIf",te.moveAuth),e.xp6(1),e.Q6J("ngIf",te.editAuth)}}let ae=(()=>{class j{constructor(Q){this.authResolver=Q,this.disabled=!1,this.moveGroup=new e.vpe,this.syncGroup=new e.vpe,this.changeNameDescription=new e.vpe}ngOnInit(){this.syncAuth=this.authResolver.isAuthorized("forceGroupSynchronization_Group_policy",[this.group]),this.editAuth=this.authResolver.isAuthorized("updateGroup_Group_policy",[this.group]),this.moveAuth=this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[this.group])||this.authResolver.isAuthorized("destination_null-moveGroup_Group_Group_policy",[this.group])}onMoveGroup(){this.moveGroup.emit()}onSyncDetail(){this.syncGroup.emit()}onChangeNameDescription(){this.changeNameDescription.emit()}}return j.\u0275fac=function(Q){return new(Q||j)(e.Y36(f.x4))},j.\u0275cmp=e.Xpm({type:j,selectors:[["perun-web-apps-group-menu"]],inputs:{group:"group",disabled:"disabled",displayButtons:"displayButtons"},outputs:{moveGroup:"moveGroup",syncGroup:"syncGroup",changeNameDescription:"changeNameDescription"},decls:2,vars:2,consts:[["class","buttons-container",4,"ngIf"],[4,"ngIf"],[1,"buttons-container"],["mat-icon-button","",1,"ml-auto","horiz_right",3,"cdkCopyToClipboard","matTooltipPosition","matTooltip"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],["mat-icon-button","",3,"disabled","click"],["mat-icon-button","",3,"mat-menu-trigger-for"],["groupMenu","matMenu"],["mat-menu-item","",3,"cdkCopyToClipboard"],["mat-menu-item","",3,"disabled","click",4,"ngIf"],["mat-menu-item","",3,"disabled","click"]],template:function(Q,te){1&Q&&(e.YNc(0,ue,8,8,"div",0),e.YNc(1,ke,15,8,"div",1)),2&Q&&(e.Q6J("ngIf",te.displayButtons),e.xp6(1),e.Q6J("ngIf",!te.displayButtons))},directives:[g.O5,T.lW,m.i3,A.gM,s.Hw,b.p6,b.VK,b.OP],pipes:[O.X$,E.r,h.J,k.F],styles:[".buttons-container[_ngcontent-%COMP%]{white-space:nowrap;width:160px}.horiz_right[_ngcontent-%COMP%]{float:right}"]}),j})()},8223:(Ke,be,d)=>{"use strict";d.d(be,{x:()=>L});var e=d(5e3),f=d(9244),g=d(84379),T=d(48966),m=d(69808),A=d(29772),s=d(25245),b=d(51062);function O(V,$){if(1&V){const ue=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(ue),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",4),e._uU(3,"check_circle_outline"),e.qZA(),e.qZA()}2&V&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function E(V,$){if(1&V){const ue=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(ue),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",5),e._uU(3,"block"),e.qZA(),e.qZA()}2&V&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function h(V,$){if(1&V){const ue=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(ue),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",6),e._uU(3,"report"),e.qZA(),e.qZA()}if(2&V){const ue=e.oxw();e.hYB("matTooltip","",e.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",ue.failureCause,"")}}function k(V,$){1&V&&(e.TgZ(0,"span",7),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",8),e._uU(3,"autorenew"),e.qZA(),e.qZA()),2&V&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}let L=(()=>{class V{constructor(ue){this.dialog=ue,this.status="",this.statusChange=new e.vpe}changeStatus(){const ue=(0,f.kZ)();ue.width="500px",ue.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(g.Qu,ue).afterClosed().subscribe(Le=>{Le&&this.statusChange.emit()})}}return V.\u0275fac=function(ue){return new(ue||V)(e.Y36(T.uw))},V.\u0275cmp=e.Xpm({type:V,selectors:[["perun-web-apps-group-resource-status"]],inputs:{status:"status",groupId:"groupId",resourceId:"resourceId",theme:"theme",failureCause:"failureCause"},outputs:{statusChange:"statusChange"},decls:5,vars:4,consts:[[1,"flex-container"],["matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip","click"],[1,"green"],[1,"grey"],[1,"red"],["matTooltipPosition","above",3,"matTooltip"],[1,"black"]],template:function(ue,ce){1&ue&&(e.TgZ(0,"div",0),e.YNc(1,O,4,3,"span",1),e.YNc(2,E,4,3,"span",1),e.YNc(3,h,4,4,"span",1),e.YNc(4,k,4,3,"span",2),e.qZA()),2&ue&&(e.xp6(1),e.Q6J("ngIf","ACTIVE"===ce.status),e.xp6(1),e.Q6J("ngIf","INACTIVE"===ce.status),e.xp6(1),e.Q6J("ngIf","FAILED"===ce.status),e.xp6(1),e.Q6J("ngIf","PROCESSING"===ce.status))},directives:[m.O5,A.gM,s.Hw],pipes:[b.X$],styles:[""]}),V})()},82322:(Ke,be,d)=>{"use strict";d.d(be,{h:()=>m});var e=d(5e3),f=d(9244),g=d(42377),T=d(51062);let m=(()=>{class A{constructor(){this.groupSelected=new e.vpe,this.disableAutoSelect=!1,this.displayStatus=!1,this.nameFunction=b=>b.name}ngOnInit(){this.groups=this.groups.sort(f.aC)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275cmp=e.Xpm({type:A,selectors:[["perun-web-apps-group-search-select"]],inputs:{groups:"groups",disableAutoSelect:"disableAutoSelect",firstSelectedGroup:"firstSelectedGroup",displayStatus:"displayStatus"},outputs:{groupSelected:"groupSelected"},decls:4,vars:15,consts:[[1,"long-input",3,"entities","entity","displayStatus","disableAutoSelect","mainTextFunction","searchFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(b,O){if(1&b&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(h){return O.groupSelected.emit(h)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&b){let E;e.Q6J("entities",O.groups)("entity",null!==(E=O.firstSelectedGroup)&&void 0!==E?E:null)("displayStatus",O.displayStatus)("disableAutoSelect",O.disableAutoSelect)("mainTextFunction",O.nameFunction)("searchFunction",O.nameFunction)("selectPlaceholder",e.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.SELECT_GROUP"))("findPlaceholder",e.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.FIND_GROUP"))("noEntriesText",e.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.NO_GROUP_FOUND"))}},directives:[g.i],pipes:[T.X$],styles:[""]}),A})()},24179:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>c});var e=d(5e3),f=d(84847),g=d(32075),T=d(20449),m=d(9315),A=d(9244),s=d(84379),b=d(36908),O=d(69808),E=d(48966),h=d(18750),k=d(77446),L=d(29772),V=d(10441),$=d(25245),ue=d(8223),ce=d(47423),Le=d(13449),de=d(50301),ke=d(30325),ae=d(98380),j=d(51062),H=d(69773),Q=d(21757),te=d(62383);let se=(()=>{class u{transform(M){const re=M.attributes.find(et=>"groupMembershipExpiration"===et.baseFriendlyName);return re&&re.value?re.value:"Never"}}return u.\u0275fac=function(M){return new(M||u)},u.\u0275pipe=e.Yjl({name:"groupExpiration",type:u,pure:!0}),u})();function ge(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"mat-checkbox",26),e.NdJ("change",function(et){e.CHM(M);const yt=e.oxw(2);return et?yt.masterToggle():null}),e.qZA()}if(2&u){const M=e.oxw(2);e.Q6J("aria-label",M.checkboxLabel())("checked",M.selection.hasValue()&&M.isAllSelected())("indeterminate",M.selection.hasValue()&&!M.isAllSelected())}}function Ne(u,y){if(1&u&&(e.TgZ(0,"th",24),e.YNc(1,ge,1,3,"mat-checkbox",25),e.qZA()),2&u){const M=e.oxw();e.xp6(1),e.Q6J("ngIf",!M.disableHeadCheckbox)}}function Fe(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"td",27),e.TgZ(1,"span",28),e.ALo(2,"translate"),e.TgZ(3,"mat-checkbox",29),e.NdJ("change",function(et){const pt=e.CHM(M).$implicit,Nt=e.oxw();return et?Nt.itemSelectionToggle(pt):null})("click",function(et){return et.stopPropagation()}),e.qZA(),e.qZA(),e.qZA()}if(2&u){const M=y.$implicit,re=e.oxw();e.xp6(1),e.s9C("matTooltip",e.lcZ(2,7,re.getCheckboxTooltipMessage(M))),e.Q6J("matTooltipPosition","above")("matTooltipDisabled",!re.disableSelect(M)),e.xp6(2),e.Q2q("data-cy","",M.name,"-checkbox"),e.Q6J("aria-label",re.checkboxLabel(M))("checked",re.selection.isSelected(M))("disabled","members"===M.name&&re.disableMembers||re.disableSelect(M))}}function ne(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_ID")," "))}function Me(u,y){if(1&u&&(e.TgZ(0,"td",31),e._uU(1),e.qZA()),2&u){const M=y.$implicit;e.xp6(1),e.Oqu(M.id)}}function ve(u,y){1&u&&e._UZ(0,"th",32)}function me(u,y){if(1&u&&(e.TgZ(0,"td",33),e._UZ(1,"perun-web-apps-recently-viewed-icon",34),e.qZA()),2&u){const M=y.$implicit,re=e.oxw();e.xp6(1),e.Q6J("recentIds",re.recentIds)("id",M.id)}}function Te(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_VO_NAME")," "))}function ee(u,y){if(1&u&&(e.TgZ(0,"td",31),e._uU(1),e.qZA()),2&u){const M=y.$implicit,re=e.oxw();e.xp6(1),e.hij(" ",re.voNames.get(M.voId)," ")}}function R(u,y){1&u&&e._UZ(0,"th",32)}function Oe(u,y){1&u&&(e.TgZ(0,"mat-icon",36),e.ALo(1,"translate"),e._uU(2,"account_tree"),e.qZA()),2&u&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.INDIRECT_GROUP"))}function Ie(u,y){1&u&&(e.TgZ(0,"mat-icon",36),e.ALo(1,"translate"),e._uU(2,"alt_route"),e.qZA()),2&u&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.MULTIPLE_ASSIGNMENTS"))}function He(u,y){if(1&u&&(e.TgZ(0,"td",33),e.YNc(1,Oe,3,3,"mat-icon",35),e.YNc(2,Ie,3,3,"mat-icon",35),e.qZA()),2&u){const M=y.$implicit;e.xp6(1),e.Q6J("ngIf",M.sourceGroupId&&!M.moreTypesOfAssignment),e.xp6(1),e.Q6J("ngIf",M.moreTypesOfAssignment)}}function fe(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_NAME")," "))}function Ce(u,y){if(1&u&&(e.TgZ(0,"td",33),e._uU(1),e.qZA()),2&u){const M=y.$implicit;e.uIk("data-cy",M.name),e.xp6(1),e.hij(" ",M.name," ")}}function Ve(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")," "))}function Xe(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"td",37),e.TgZ(1,"perun-web-apps-group-resource-status",38),e.NdJ("mouseenter",function(){return e.CHM(M),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(M);const et=e.oxw();return et.disabledRouting=et.disableRouting})("statusChange",function(){return e.CHM(M),e.oxw().refreshTable.emit()}),e.qZA(),e.qZA()}if(2&u){const M=y.$implicit,re=e.oxw();e.xp6(1),e.Q6J("theme","resource-theme")("groupId",M.id)("resourceId",re.resourceId)("failureCause",M.failureCause)("status",M.status)}}function tt(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")," "))}function rt(u,y){if(1&u&&(e.TgZ(0,"td",33),e.TgZ(1,"i",39),e.ALo(2,"memberStatusIconColor"),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"memberStatusIcon"),e.qZA(),e.qZA(),e.qZA()),2&u){const M=y.$implicit,re=e.oxw();e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,re.getStatusAttribute(M)),""),e.s9C("matTooltip",re.getStatusAttribute(M)),e.xp6(3),e.hij(" ",e.lcZ(5,7,re.getStatusAttribute(M))," ")}}function N(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_DESCRIPTION")," "))}function he(u,y){if(1&u&&(e.TgZ(0,"td",37),e._uU(1),e.qZA()),2&u){const M=y.$implicit;e.xp6(1),e.Oqu(M.description)}}function D(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_EXPIRATION")," "))}function S(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"button",41),e.NdJ("click",function(){e.CHM(M);const et=e.oxw().$implicit;return e.oxw().changeExpiration(et)})("mouseenter",function(){return e.CHM(M),e.oxw(2).disabledRouting=!0})("mouseleave",function(){e.CHM(M);const et=e.oxw(2);return et.disabledRouting=et.disableRouting}),e.TgZ(1,"mat-icon"),e._uU(2,"edit"),e.qZA(),e.qZA()}}function I(u,y){if(1&u&&(e.TgZ(0,"td",37),e._uU(1),e.ALo(2,"parseDate"),e.ALo(3,"groupExpiration"),e.YNc(4,S,3,0,"button",40),e.qZA()),2&u){const M=y.$implicit,re=e.oxw();e.xp6(1),e.hij(" ",e.lcZ(2,2,e.lcZ(3,4,M))," "),e.xp6(3),e.Q6J("ngIf",re.canManageGroup(M))}}function P(u,y){1&u&&e._UZ(0,"th",32)}function i(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"td",33),e.TgZ(1,"perun-web-apps-group-menu",42),e.NdJ("mouseenter",function(){return e.CHM(M),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(M);const et=e.oxw();return et.disabledRouting=et.disableRouting})("moveGroup",function(){const yt=e.CHM(M).$implicit;return e.oxw().onMoveGroup(yt)})("changeNameDescription",function(){const yt=e.CHM(M).$implicit;return e.oxw().onChangeNameDescription(yt)})("syncGroup",function(){const yt=e.CHM(M).$implicit;return e.oxw().onSyncDetail(yt)}),e.qZA(),e.qZA()}if(2&u){const M=y.$implicit,re=e.oxw();e.xp6(1),e.Q6J("disabled","members"===M.name)("displayButtons",re.displayButtons)("group",M)}}function r(u,y){1&u&&e._UZ(0,"tr",43)}const p=function(u,y){return["/organizations",u,"groups",y]};function o(u,y){if(1&u&&e._UZ(0,"tr",44),2&u){const M=y.$implicit,re=e.oxw();e.ekj("cursor-pointer",!re.disableRouting&&!re.groupsToDisableRouting.has(M.id))("disable-outline",re.disabledRouting||re.groupsToDisableRouting.has(M.id)),e.Q6J("perunWebAppsMiddleClickRouterLink",re.disabledRouting||re.groupsToDisableRouting.has(M.id)?null:e.WLB(6,p,M.voId,M.id))("routerLink",re.disabledRouting||re.groupsToDisableRouting.has(M.id)?null:e.WLB(9,p,M.voId,M.id))}}function t(u,y){1&u&&(e.TgZ(0,"app-alert",45),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_GROUPS"),"\n"))}function n(u,y){1&u&&(e.TgZ(0,"app-alert",45),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let c=(()=>{class u{constructor(M,re,et,yt,pt){this.dialog=M,this.authResolver=re,this.voService=et,this.tableCheckbox=yt,this.changeDetector=pt,this.displayButtons=window.innerWidth>800,this.theme="group-theme",this.moveGroup=new e.vpe,this.groups=[],this.selection=new T.Ov(!0,[]),this.hasMembersGroup=!1,this.displayedColumns=["select","id","recent","vo","indirectGroupAssigment","name","status","groupStatus","description","expiration","menu"],this.groupsToDisableCheckbox=new Set,this.groupsToDisableRouting=new Set,this.filter="",this.disableRouting=!1,this.pageSizeOptions=A.f7,this.recentIds=[],this.resourceId=null,this.refreshTable=new e.vpe,this.disabledRouting=!1,this.voIds=new Set,this.voNames=new Map,this.canBeSelected=Nt=>!("members"===Nt.name&&this.disableMembers||this.disableSelect(Nt))}set matSort(M){this.sort=M}shouldHideButtons(){this.displayButtons=window.innerWidth>800}ngOnChanges(){this.disabledRouting=this.disableRouting,this.hasMembersGroup=this.checkIfHasMembersGroup(),this.updateVoNames(),this.setDataSource(),this.authType&&(this.removeAuth=this.setAuth())}checkIfHasMembersGroup(){for(const M of this.groups)if("members"===M.name)return!0;return!1}getDataForColumn(M,re,et){switch(re){case"id":return M.id.toString();case"vo":return et.voNames.get(M.voId);case"name":return M.name;case"description":return M.description;case"expiration":{const yt=(0,A.x2)(M);return(0,A.sG)(yt)}case"recent":return"";case"status":return M.status;case"uuid":return M.uuid;default:return M[re]}}getSortDataForColumn(M,re,et){switch(re){case"id":return M.id.toString();case"vo":return et.voNames.get(M.voId);case"name":return M.name;case"description":return M.description;case"expiration":{const yt=(0,A.x2)(M);return yt&&"never"!==yt.toLowerCase()?(0,O.p6)(yt,"yyyy.MM.dd","en"):yt}case"recent":return et.recentIds&&et.recentIds.indexOf(M.id)>-1?"#".repeat(et.recentIds.indexOf(M.id)):M.name;case"status":return M.status;default:return M[re]}}exportData(M){(0,A.O6)((0,A.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),M)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(M,re)=>(0,A.Sd)(M,re,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(M,re)=>(0,A.pR)(M,re,this.getSortDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.groups}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.authType&&(this.removeAuth=this.setAuth())}checkboxLabel(M){return M?`${this.selection.isSelected(M)?"deselect":"select"} row ${M.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}disableSelect(M){return this.disableGroups&&(this.groupsToDisableCheckbox.has(M.id)||this.isSynchronized(M))}ngAfterViewInit(){void 0===this.vo&&0!==this.groups.length&&(this.vo={id:this.groups[0].voId,beanName:"Vo"}),this.shouldHideButtons(),this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(M=>"id"!==M),this.changeDetector.detectChanges())}onMoveGroup(M){this.moveGroup.emit(M)}onSyncDetail(M){const re=(0,A.kZ)();re.data={groupId:M.id,theme:this.theme},this.dialog.open(s.Bp,re)}onChangeNameDescription(M){const re=(0,A.kZ)();re.data={theme:"group-theme",group:M,dialogType:s.Eg.GROUP},this.dialog.open(s.rd,re).afterClosed().subscribe(yt=>{yt&&this.refreshTable.emit()})}setAuth(){return"group-subgroups"===this.authType?this.selection.selected.reduce((M,re)=>M&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[re]),!0):"group-relations"===this.authType?this.selection.selected.reduce((M,re)=>M&&this.authResolver.isAuthorized("removeGroupUnion_Group_Group_policy",[this.parentGroup,re]),!0):"vo-groups"===this.authType?this.selection.selected.reduce((M,re)=>M&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[this.vo,re]),!0):"member-groups"===this.authType?this.selection.selected.reduce((M,re)=>M&&this.authResolver.isAuthorized("removeMember_Member_List_policy",[re]),!0):"application-form-manage-groups"===this.authType?this.selection.selected.reduce((M,re)=>M&&this.authResolver.isAuthorized("deleteGroupsFromAutoRegistration_List_policy",[this.vo,re]),!0):void 0}itemSelectionToggle(M){this.selection.toggle(M),this.removeAuth=this.setAuth()}isSynchronized(M){return!!M.attributes&&M.attributes.some(re=>"synchronizationEnabled"===re.friendlyName&&null!==re.value&&"true"===re.value.toString())}getCheckboxTooltipMessage(M){return"create-relation-dialog"===this.authType?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.CREATE_RELATION_AUTH_TOOLTIP":this.isSynchronized(M)?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.SYNCHRONIZED_GROUP":M.sourceGroupId?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.INDIRECT_GROUP":"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.ALREADY_MEMBER_TOOLTIP"}updateVoNames(){this.displayedColumns.includes("vo")&&(this.groups.forEach(M=>{this.voIds.has(M.voId)||this.voIds.add(M.voId)}),this.voIds.size>0&&this.voService.getVosByIds([...this.voIds]).subscribe(M=>{M.forEach(re=>{this.voNames.set(re.id,re.name)})}))}changeExpiration(M){const re=M.attributes.find(pt=>"groupMembershipExpiration"===pt.baseFriendlyName),et=(0,A.kZ)();et.width="400px",et.data={memberId:this.memberId,groupId:M.id,expirationAttr:re,mode:"group",status:this.memberGroupStatus},this.dialog.open(s.u3,et).afterClosed().subscribe(pt=>{pt&&this.refreshTable.emit()})}canManageGroup(M){return this.authResolver.isThisGroupAdmin(M.id)||this.authResolver.isThisVoAdmin(M.voId)}getStatusAttribute(M){return M.attributes.find(re=>"groupStatus"===re.baseFriendlyName).value.toString()}}return u.\u0275fac=function(M){return new(M||u)(e.Y36(E.uw),e.Y36(b.x4),e.Y36(m.YF),e.Y36(b.UA),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["perun-web-apps-groups-list"]],viewQuery:function(M,re){if(1&M&&(e.Gf(f.YE,7),e.Gf(A.l9,7)),2&M){let et;e.iGM(et=e.CRH())&&(re.matSort=et.first),e.iGM(et=e.CRH())&&(re.child=et.first)}},hostBindings:function(M,re){1&M&&e.NdJ("resize",function(yt){return re.shouldHideButtons(yt)},!1,e.Jf7)},inputs:{theme:"theme",groups:"groups",selection:"selection",displayedColumns:"displayedColumns",disableMembers:"disableMembers",disableGroups:"disableGroups",groupsToDisableCheckbox:"groupsToDisableCheckbox",groupsToDisableRouting:"groupsToDisableRouting",filter:"filter",disableHeadCheckbox:"disableHeadCheckbox",parentGroup:"parentGroup",disableRouting:"disableRouting",authType:"authType",memberId:"memberId",memberGroupStatus:"memberGroupStatus",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",resourceId:"resourceId",tableId:"tableId"},outputs:{moveGroup:"moveGroup",refreshTable:"refreshTable"},features:[e.TTD],decls:40,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","tableId","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","vo"],["matColumnDef","indirectGroupAssigment"],["matColumnDef","name"],["matColumnDef","status"],["class","wrap-content","mat-cell","",4,"matCellDef"],["matColumnDef","groupStatus"],["matColumnDef","description"],["matColumnDef","expiration"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"],["mat-cell","",1,"wrap-content"],[3,"theme","groupId","resourceId","failureCause","status","mouseenter","mouseleave","statusChange"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip"],["mat-icon-button","",3,"click","mouseenter","mouseleave",4,"ngIf"],["mat-icon-button","",3,"click","mouseenter","mouseleave"],[3,"disabled","displayButtons","group","mouseenter","mouseleave","moveGroup","changeNameDescription","syncGroup"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(M,re){1&M&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(yt){return re.exportData(yt)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,Ne,2,1,"th",4),e.YNc(5,Fe,4,9,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,ne,3,3,"th",7),e.YNc(8,Me,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,ve,1,0,"th",10),e.YNc(11,me,2,2,"td",11),e.BQk(),e.ynx(12,12),e.YNc(13,Te,3,3,"th",7),e.YNc(14,ee,2,1,"td",8),e.BQk(),e.ynx(15,13),e.YNc(16,R,1,0,"th",10),e.YNc(17,He,3,2,"td",11),e.BQk(),e.ynx(18,14),e.YNc(19,fe,3,3,"th",7),e.YNc(20,Ce,2,2,"td",11),e.BQk(),e.ynx(21,15),e.YNc(22,Ve,3,3,"th",7),e.YNc(23,Xe,2,5,"td",16),e.BQk(),e.ynx(24,17),e.YNc(25,tt,3,3,"th",7),e.YNc(26,rt,6,9,"td",11),e.BQk(),e.ynx(27,18),e.YNc(28,N,3,3,"th",7),e.YNc(29,he,2,1,"td",16),e.BQk(),e.ynx(30,19),e.YNc(31,D,3,3,"th",7),e.YNc(32,I,5,6,"td",16),e.BQk(),e.ynx(33,20),e.YNc(34,P,1,0,"th",10),e.YNc(35,i,2,3,"td",11),e.BQk(),e.YNc(36,r,1,0,"tr",21),e.YNc(37,o,1,12,"tr",22),e.qZA(),e.qZA(),e.qZA(),e.YNc(38,t,3,3,"app-alert",23),e.YNc(39,n,3,3,"app-alert",23)),2&M&&(e.Q6J("hidden",0===re.groups.length||!re.dataSource||0===re.dataSource.filteredData.length),e.xp6(1),e.Q6J("dataLength",re.dataSource.filteredData.length)("pageSizeOptions",re.pageSizeOptions)("tableId",re.tableId),e.xp6(1),e.Q6J("dataSource",re.dataSource),e.xp6(34),e.Q6J("matHeaderRowDef",re.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",re.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===re.groups.length),e.xp6(1),e.Q6J("ngIf",0===re.dataSource.filteredData.length&&0!==re.groups.length))},directives:[h.l,g.BZ,f.YE,g.w1,g.fO,g.ge,O.O5,k.oG,g.Dz,g.ev,L.gM,f.nU,V.W,$.Hw,ue.x,ce.lW,Le.i,g.as,g.XQ,g.nj,g.Gk,de.YH,ke.rH,ae.w],pipes:[j.X$,H.u,Q.f,te.M,se],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important}.static-column-size[_ngcontent-%COMP%]{width:80px}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),u})()},58956:(Ke,be,d)=>{"use strict";d.d(be,{I:()=>Fe});var e=d(5e3),f=d(90149),g=d(28258),T=d(20449);class m{constructor(Me){this.id=Me.id,this.name=Me.name,this.parentGroupId=Me.parentGroupId,this.voId=Me.voId,this.shortName=Me.shortName,this.description=Me.description,this.attributes=Me.attributes,this.beanName=Me.beanName}addChild(Me){null==this.children?this.children=[Me]:this.children.push(Me)}}var A=d(9244),s=d(84379),b=d(36908),O=d(48966),E=d(69808),h=d(53435),k=d(77446),L=d(30325),V=d(47423),$=d(25245),ue=d(29772),ce=d(13449),Le=d(98380),de=d(51062);const ke=["scrollViewport"];function ae(ne,Me){if(1&ne){const ve=e.EpF();e.TgZ(0,"mat-checkbox",19),e.NdJ("change",function(){e.CHM(ve);const Te=e.oxw().$implicit;return e.oxw(2).itemSelectionToggle(Te)}),e.qZA()}if(2&ne){const ve=e.oxw().$implicit,me=e.oxw(2);e.Q2q("data-cy","",ve.name,"-checkbox"),e.Q6J("disabled","members"===ve.fullName)("checked",me.selection.isSelected(ve))("indeterminate",me.descendantsPartiallySelected(ve))}}function j(ne,Me){if(1&ne&&(e.TgZ(0,"mat-icon",20),e._uU(1),e.qZA()),2&ne){const ve=e.oxw().$implicit,me=e.oxw(2);e.xp6(1),e.hij(" ",me.treeControl.isExpanded(ve)?"expand_more":"chevron_right"," ")}}function H(ne,Me){if(1&ne&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&ne){const ve=e.oxw().$implicit;e.xp6(1),e.hij(" #",ve.id," ")}}const Q=function(ne,Me){return["/organizations",ne,"groups",Me]};function te(ne,Me){if(1&ne){const ve=e.EpF();e.ynx(0),e.TgZ(1,"div",6),e.YNc(2,ae,1,4,"mat-checkbox",7),e.TgZ(3,"a",8),e.TgZ(4,"button",9),e.NdJ("mouseenter",function(){return e.CHM(ve),e.oxw(2).disableRouting=!0})("mouseleave",function(){return e.CHM(ve),e.oxw(2).disableRouting=!1})("click",function(){const ee=e.CHM(ve).$implicit;return e.oxw(2).treeControl.toggle(ee)}),e.YNc(5,j,2,1,"mat-icon",10),e.qZA(),e.TgZ(6,"div",11),e.TgZ(7,"span",12),e._uU(8),e.qZA(),e.YNc(9,H,2,1,"span",13),e.qZA(),e.TgZ(10,"div",14,15),e.TgZ(12,"span",16),e._uU(13),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"div",17),e.TgZ(15,"perun-web-apps-group-menu",18),e.NdJ("moveGroup",function(){const ee=e.CHM(ve).$implicit;return e.oxw(2).onMoveGroup(ee)})("syncGroup",function(){const ee=e.CHM(ve).$implicit;return e.oxw(2).onSyncDetail(ee)})("changeNameDescription",function(){const ee=e.CHM(ve).$implicit;return e.oxw(2).onChangeNameDescription(ee)}),e.qZA(),e.qZA(),e.qZA(),e.BQk()}if(2&ne){const ve=Me.$implicit,me=e.oxw(2);e.xp6(1),e.Udp("padding-left",24*ve.level+"px"),e.xp6(1),e.Q6J("ngIf",!me.hideCheckbox),e.xp6(1),e.Q6J("routerLink",me.disableRouting?null:e.WLB(15,Q,ve.voId,ve.id)),e.xp6(1),e.Q6J("disabled",!ve.expandable),e.uIk("aria-label","toggle "+ve.name),e.xp6(1),e.Q6J("ngIf",ve.expandable),e.xp6(2),e.uIk("data-cy",ve.name),e.xp6(1),e.hij(" ",ve.name," "),e.xp6(1),e.Q6J("ngIf",me.authResolver.isPerunAdminOrObserver()),e.xp6(3),e.s9C("matTooltip",ve.description),e.xp6(1),e.hij(" ",ve.description," "),e.xp6(2),e.Q6J("disabled","members"===ve.fullName)("displayButtons",me.displayButtons)("group",ve)}}const se=function(ne){return{height:ne}};function ge(ne,Me){if(1&ne&&(e.TgZ(0,"div",2),e.TgZ(1,"cdk-virtual-scroll-viewport",3,4),e.YNc(3,te,16,18,"ng-container",5),e.qZA(),e.qZA()),2&ne){const ve=e.oxw();e.xp6(1),e.Q6J("minBufferPx",240)("maxBufferPx",480)("ngStyle",e.VKq(4,se,ve.getTreeViewHeight())),e.xp6(2),e.Q6J("cdkVirtualForOf",ve.dataSource)}}function Ne(ne,Me){1&ne&&(e.TgZ(0,"app-alert",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ne&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let Fe=(()=>{class ne{constructor(ve,me,Te){this.cd=ve,this.dialog=me,this.authResolver=Te,this.transformer=(ee,R)=>({expandable:!!ee.children&&ee.children.length>0,name:ee.shortName,fullName:ee.name,parentGroupId:ee.parentGroupId,level:R,id:ee.id,voId:ee.voId,attributes:ee.attributes,beanName:ee.beanName,description:ee.description}),this.displayButtons=window.innerWidth>600,this.theme="group-theme",this.moveGroup=new e.vpe,this.refreshTable=new e.vpe,this.expandAll=!1,this.disableRouting=!1,this.selection=new T.Ov(!0,[]),this.hideCheckbox=!1,this.treeControl=new g.C2(ee=>ee.level,ee=>ee.expandable),this.treeFlattener=new f.JZ(this.transformer,ee=>ee.level,ee=>ee.expandable,ee=>ee.children),this.dataSource=new f.kc(this.treeControl,this.treeFlattener),this.hasChild=(ee,R)=>R.expandable,this.getLevel=ee=>ee.level}shouldHideButtons(){this.displayButtons=window.innerWidth>600}ngOnChanges(){if(this.expandAll){this.filteredGroups=this.groups.filter(ve=>{var me,Te;return(null===(me=ve.name)||void 0===me?void 0:me.toLowerCase().includes(this.filterValue.toLowerCase()))||(null===(Te=ve.description)||void 0===Te?void 0:Te.toLowerCase().includes(this.filterValue.toLowerCase()))||ve.id.toString().includes(this.filterValue.toLowerCase())||ve.uuid.toLowerCase().includes(this.filterValue.toLowerCase())});for(const ve of this.filteredGroups)ve.parentGroupId&&(this.filteredGroups=this.filteredGroups.concat((0,A.oU)(ve.parentGroupId,this.groups)))}else this.filteredGroups=this.groups;this.createGroupTrees(this.filteredGroups),this.expandAll&&this.treeControl.expandAll(),this.removeAuth=this.setRemoveAuth()}onSyncDetail(ve){const me=(0,A.kZ)();me.data={groupId:ve.id,theme:this.theme},this.dialog.open(s.Bp,me)}onChangeNameDescription(ve){const me=(0,A.kZ)();me.data={theme:"group-theme",group:ve,dialogType:s.Eg.GROUP},this.dialog.open(s.rd,me).afterClosed().subscribe(ee=>{ee&&this.refreshTable.emit()})}createGroupTrees(ve){const me=new Map;for(const R of ve)me.set(R.id,new m(R));const Te=new Set;me.forEach((R,Oe,Ie)=>{const He=Ie.get(R.parentGroupId);void 0!==He&&(He.addChild(R),Ie.set(R.parentGroupId,He)),null!==R.parentGroupId&&void 0===He&&Te.add(R.id)});const ee=[];me.forEach(R=>{(null===R.parentGroupId||Te.has(R.id))&&ee.push(R)}),this.dataSource.data=ee,this.cd.detectChanges()}getParentNode(ve){const me=this.getLevel(ve);if(me<1)return null;for(let ee=this.treeControl.dataNodes.indexOf(ve)-1;ee>=0;ee--){const R=this.treeControl.dataNodes[ee];if(this.getLevel(R)this.selection.isSelected(R));me&&!ee&&this.selection.deselect(ve)}checkAllParentsSelection(ve){let me=this.getParentNode(ve);for(;me;)this.checkRootNodeSelection(me),me=this.getParentNode(me);this.removeAuth=this.setRemoveAuth()}descendantsPartiallySelected(ve){return this.treeControl.getDescendants(ve).some(ee=>this.selection.isSelected(ee))&&!this.selection.isSelected(ve)}itemSelectionToggle(ve){this.selection.toggle(ve);const me=this.treeControl.getDescendants(ve);this.selection.isSelected(ve)?this.selection.select(...me):this.selection.deselect(...me),me.every(Te=>this.selection.isSelected(Te)),this.checkAllParentsSelection(ve)}setRemoveAuth(){return this.selection.selected.reduce(void 0!==this.vo?(ve,me)=>ve&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[this.vo,me]):(ve,me)=>ve&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[me]),!0)}onMoveGroup(ve){this.moveGroup.emit(ve)}getTreeViewHeight(){let ve=0;this.scrollViewport&&(ve=this.scrollViewport.getDataLength());let me=48*ve;return me>672&&(me=696),this.scrollViewport&&this.scrollViewport.checkViewportSize(),me+"px"}}return ne.\u0275fac=function(ve){return new(ve||ne)(e.Y36(e.sBO),e.Y36(O.uw),e.Y36(b.x4))},ne.\u0275cmp=e.Xpm({type:ne,selectors:[["perun-web-apps-groups-tree"]],viewQuery:function(ve,me){if(1&ve&&e.Gf(ke,5),2&ve){let Te;e.iGM(Te=e.CRH())&&(me.scrollViewport=Te.first)}},hostBindings:function(ve,me){1&ve&&e.NdJ("resize",function(ee){return me.shouldHideButtons(ee)},!1,e.Jf7)},inputs:{theme:"theme",groups:"groups",filterValue:"filterValue",expandAll:"expandAll",disableRouting:"disableRouting",selection:"selection",hideCheckbox:"hideCheckbox",vo:"vo"},outputs:{moveGroup:"moveGroup",refreshTable:"refreshTable"},features:[e.TTD],decls:2,vars:2,consts:[["class","card mt-2",4,"ngIf"],["alert_type","warn",4,"ngIf"],[1,"card","mt-2"],["itemSize","48",1,"virtual-scroll-container",3,"minBufferPx","maxBufferPx","ngStyle"],["scrollViewport",""],[4,"cdkVirtualFor","cdkVirtualForOf"],[1,"node"],["color","primary","class","no-label-margin-bottom ml-4",3,"disabled","checked","indeterminate","change",4,"ngIf"],["queryParamsHandling","merge",1,"group-item-content","text-format",3,"routerLink"],["mat-icon-button","",3,"disabled","mouseenter","mouseleave","click"],["class","mat-icon-rtl-mirror",4,"ngIf"],[1,"w-50"],[1,"mr-2"],["class","text-muted",4,"ngIf"],[1,"w-50","text-muted","description-text"],["rootDescription",""],["matTooltipPosition","before",3,"matTooltip"],[1,"group-buttons"],[3,"disabled","displayButtons","group","moveGroup","syncGroup","changeNameDescription"],["color","primary",1,"no-label-margin-bottom","ml-4",3,"disabled","checked","indeterminate","change"],[1,"mat-icon-rtl-mirror"],[1,"text-muted"],["alert_type","warn"]],template:function(ve,me){1&ve&&(e.YNc(0,ge,4,6,"div",0),e.YNc(1,Ne,3,3,"app-alert",1)),2&ve&&(e.Q6J("ngIf",0!==me.filteredGroups.length),e.xp6(1),e.Q6J("ngIf",0===me.filteredGroups.length))},directives:[E.O5,h.N7,h.xd,E.PC,h.x0,k.oG,L.yS,V.lW,$.Hw,ue.gM,ce.i,Le.w],pipes:[de.X$],styles:[".group-tree-node[_ngcontent-%COMP%]:hover{background-color:#0000000d}.group-item-content[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:48px;flex:1;overflow:hidden;word-wrap:break-word}mat-tree-node[_ngcontent-%COMP%]{cursor:pointer}.description-text[_ngcontent-%COMP%]{display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.virtual-scroll-container[_ngcontent-%COMP%]{overflow:auto}cdk-tree-node[_ngcontent-%COMP%]{display:block}.node[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:48px;flex:1;word-wrap:break-word;cursor:pointer}.node[_ngcontent-%COMP%]:hover{background-color:#0000000d}.text-format[_ngcontent-%COMP%]{text-decoration:none;color:#000;font-weight:400!important}"]}),ne})()},52314:(Ke,be,d)=>{"use strict";d.d(be,{X:()=>L});var e=d(9315),f=d(36908),g=d(5e3),T=d(51062),m=d(69808),A=d(47423),s=d(92181),b=d(29772),O=d(25245);const E=function(V){return{color:V}};function h(V,$){if(1&V&&(g.TgZ(0,"button",8),g.ALo(1,"translate"),g.TgZ(2,"mat-icon",4),g._uU(3," apps "),g.qZA(),g.qZA()),2&V){const ue=g.oxw(),ce=g.MAs(2);g.Q6J("matMenuTriggerFor",ce)("matTooltip",g.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),g.xp6(2),g.Q6J("ngStyle",g.VKq(5,E,ue.iconColor))}}function k(V,$){if(1&V){const ue=g.EpF();g.TgZ(0,"button",2),g.NdJ("click",function(){return g.CHM(ue),g.oxw().onLogOut()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}2&V&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"NAV.LOGOUT")," "))}let L=(()=>{class V{constructor(ue,ce,Le,de){this.authService=ue,this.authzResolverService=ce,this.notificator=Le,this.translateService=de}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return V.\u0275fac=function(ue){return new(ue||V)(g.Y36(f.e8),g.Y36(e.Ct),g.Y36(f.V6),g.Y36(T.sK))},V.\u0275cmp=g.Xpm({type:V,selectors:[["perun-web-apps-header-menu"]],inputs:{user:"user",iconColor:"iconColor",textColor:"textColor",logoutEnabled:"logoutEnabled",url:"url",label:"label"},decls:14,vars:15,consts:[["mat-icon-button","",3,"matMenuTriggerFor","matTooltip",4,"ngIf"],["appsMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],[1,"d-none","d-lg-inline",3,"ngStyle"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"]],template:function(ue,ce){if(1&ue&&(g.YNc(0,h,4,7,"button",0),g.TgZ(1,"mat-menu",null,1),g.TgZ(3,"button",2),g.NdJ("click",function(){return ce.redirectToUrl()}),g.TgZ(4,"span"),g._uU(5),g.qZA(),g.qZA(),g.qZA(),g.TgZ(6,"button",3),g.TgZ(7,"mat-icon",4),g._uU(8," person "),g.qZA(),g.TgZ(9,"span",5),g._uU(10),g.qZA(),g.qZA(),g.TgZ(11,"mat-menu",null,6),g.YNc(13,k,3,3,"button",7),g.qZA()),2&ue){const Le=g.MAs(12);g.Q6J("ngIf",ce.url),g.xp6(5),g.Oqu(ce.label),g.xp6(1),g.Q6J("matMenuTriggerFor",Le),g.xp6(1),g.Q6J("ngStyle",g.VKq(11,E,ce.iconColor)),g.xp6(2),g.Q6J("ngStyle",g.VKq(13,E,ce.textColor)),g.xp6(1),g.xDo(" ",ce.user.titleBefore," ",ce.user.firstName," ",ce.user.middleName," ",ce.user.lastName," ",ce.user.titleAfter," "),g.xp6(3),g.Q6J("ngIf",ce.logoutEnabled)}},directives:[m.O5,A.lW,s.p6,b.gM,O.Hw,m.PC,s.VK,s.OP],pipes:[T.X$],styles:["@media (max-width: 991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),V})()},7434:(Ke,be,d)=>{"use strict";d.d(be,{L:()=>E});var e=d(5e3),f=d(93075),g=d(67322),T=d(69808),m=d(98833),A=d(50301),s=d(51062);function b(h,k){if(1&h&&(e._UZ(0,"input",3),e.ALo(1,"translate")),2&h){const L=e.oxw();e.s9C("placeholder",e.lcZ(1,2,L.placeholder)),e.Q6J("formControl",L.formControl)}}function O(h,k){if(1&h&&(e._UZ(0,"input",4),e.ALo(1,"translate")),2&h){const L=e.oxw();e.s9C("placeholder",e.lcZ(1,2,L.placeholder)),e.Q6J("formControl",L.formControl)}}let E=(()=>{class h{constructor(){this.filter=new e.vpe,this.autoFocus=!1,this.formControl=new f.NI}ngOnInit(){this.formControl.valueChanges.subscribe(L=>{let V=L.trim();V=V.toLowerCase(),this.filter.emit(V)})}}return h.\u0275fac=function(L){return new(L||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","mr-2"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(L,V){1&L&&(e.TgZ(0,"mat-form-field",0),e.YNc(1,b,2,4,"input",1),e.YNc(2,O,2,4,"input",2),e.qZA()),2&L&&(e.xp6(1),e.Q6J("ngIf",V.autoFocus),e.xp6(1),e.Q6J("ngIf",!V.autoFocus))},directives:[g.KE,T.O5,m.Nt,f.Fj,A.hT,f.JJ,f.oH],pipes:[s.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),h})()},4811:(Ke,be,d)=>{"use strict";d.d(be,{m:()=>i});var e=d(84847),f=d(9244),g=d(84379),T=d(36908),m=d(36787),A=d(22868),s=d(5e3),b=d(48966),O=d(10036),E=d(18750),h=d(69808),k=d(20773),L=d(32075),V=d(77446),$=d(25245),ue=d(29772),ce=d(50301),Le=d(30325),de=d(98380),ke=d(51062),ae=d(31359),j=d(69773),H=d(12856),Q=d(21757),te=d(96974),se=d(20919),ge=d(5865);function Ne(r,p){1&r&&(s.TgZ(0,"div",22),s._UZ(1,"mat-spinner",23),s.qZA())}function Fe(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"th",24),s.TgZ(1,"mat-checkbox",25),s.NdJ("change",function(n){s.CHM(o);const c=s.oxw();return n?c.masterToggle():null}),s.qZA(),s.qZA()}if(2&r){const o=s.oxw();s.xp6(1),s.Q6J("aria-label",o.checkboxLabel())("checked",o.selection.hasValue()&&o.isAllSelected())("indeterminate",o.selection.hasValue()&&!o.isAllSelected())}}function ne(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"td",26),s.TgZ(1,"mat-checkbox",27),s.NdJ("change",function(n){const u=s.CHM(o).$implicit,y=s.oxw();return n?y.selection.toggle(u):null})("click",function(n){return n.stopPropagation()}),s.ALo(2,"lowercase"),s.qZA(),s.qZA()}if(2&r){const o=p.$implicit,t=s.oxw();s.xp6(1),s.Q2q("data-cy","",s.lcZ(2,3,o.user.firstName),"-checkbox"),s.Q6J("aria-label",t.checkboxLabel(o))("checked",t.selection.isSelected(o))}}function Me(r,p){1&r&&(s.TgZ(0,"th",28),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.ID")))}function ve(r,p){if(1&r&&(s.TgZ(0,"td",29),s._uU(1),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(o.id)}}function me(r,p){1&r&&s._UZ(0,"th",28)}function Te(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"mat-icon",32),s.NdJ("click",function(n){s.CHM(o);const c=s.oxw().$implicit;return s.oxw().viewMemberGroupTree(n,c)}),s.ALo(1,"translate"),s._uU(2,"transfer_within_a_station"),s.qZA()}2&r&&s.Q6J("matTooltip",s.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function ee(r,p){if(1&r&&(s.TgZ(0,"td",30),s.YNc(1,Te,3,3,"mat-icon",31),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Q6J("ngIf","DIRECT"!==o.membershipType)}}function R(r,p){1&r&&(s.TgZ(0,"th",28),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"MEMBERS_LIST.NAME")," "))}function Oe(r,p){if(1&r&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"userFullName"),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,o.user))}}function Ie(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.STATUS")))}function He(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"td",30),s.TgZ(1,"i",34),s.NdJ("click",function(n){const u=s.CHM(o).$implicit;return s.oxw().changeStatus(n,u)}),s.ALo(2,"memberStatusIconColor"),s.ALo(3,"memberStatusTooltip"),s.TgZ(4,"span"),s._uU(5),s.ALo(6,"memberStatusIcon"),s.qZA(),s.qZA(),s.qZA()}if(2&r){const o=p.$implicit;s.xp6(1),s.Gre("material-icons ",s.lcZ(2,5,o.status),""),s.s9C("matTooltip",s.xi3(3,7,o,!1)),s.xp6(4),s.hij(" ",s.lcZ(6,10,o.status)," ")}}function fe(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function Ce(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"td",30),s.TgZ(1,"i",34),s.NdJ("click",function(n){const u=s.CHM(o).$implicit,y=s.oxw();return y.changeStatus(n,u,y.groupId)}),s.ALo(2,"memberStatusIconColor"),s.ALo(3,"memberStatusTooltip"),s.TgZ(4,"span"),s._uU(5),s.ALo(6,"memberStatusIcon"),s.qZA(),s.qZA(),s.qZA()}if(2&r){const o=p.$implicit;s.xp6(1),s.Gre("material-icons ",s.lcZ(2,5,o.groupStatus),""),s.s9C("matTooltip",s.xi3(3,7,o,!0)),s.xp6(4),s.hij(" ",s.lcZ(6,10,o.groupStatus)," ")}}function Ve(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")))}function Xe(r,p){if(1&r&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"memberOrganization"),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,o))}}function tt(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.EMAIL")))}function rt(r,p){if(1&r&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"memberEmail"),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,o))}}function N(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function he(r,p){if(1&r&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"memberLogins"),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,o))}}function D(r,p){1&r&&s._UZ(0,"tr",35)}const S=function(r,p){return["/organizations",r,"members",p]};function I(r,p){if(1&r&&s._UZ(0,"tr",36),2&r){const o=p.$implicit,t=s.oxw();s.ekj("cursor-pointer",t.dataSource.routeAuth)("italic_font","INDIRECT"===o.membershipType)("disable-outline",!t.dataSource.routeAuth),s.Q6J("perunWebAppsMiddleClickRouterLink",t.dataSource.routeAuth?s.WLB(8,S,o.voId,o.id):null)("routerLink",t.dataSource.routeAuth?s.WLB(11,S,o.voId,o.id):null)}}function P(r,p){1&r&&(s.TgZ(0,"app-alert",37),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let i=(()=>{class r{constructor(o,t,n,c,u){this.dialog=o,this.authResolver=t,this.tableCheckbox=n,this.tableConfigService=c,this.dynamicPaginatingService=u,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.selectedGroupStatuses=[],this.pageSizeOptions=f.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,m.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,A.b)(()=>this.loadMembersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(o=>"id"!==o)),this.dataSource=new T.Hy(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadMembers(this.voId,this.attrNames,"ASCENDING",0,this.tableConfigService.getTablePageSize(this.tableId),"NAME",this.selectedStatuses,this.searchString,this.groupId,this.selectedGroupStatuses)}ngOnChanges(){this.dataSource&&(this.child.paginator.pageIndex=0,this.loadMembersPage())}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.getData().forEach(o=>this.selection.select(o))}isAllSelected(){return this.selection.selected.length===this.child.paginator.pageSize}checkboxLabel(o){return o?`${this.selection.isSelected(o)?"deselect":"select"} row ${o.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(o,t,n){o.stopPropagation();const c=(0,f.kZ)();c.width="500px",c.data={member:t,voId:this.voId,groupId:n};const u=n?t.groupStatus:t.status;this.dialog.open(g.pf,c).afterClosed().subscribe(M=>{if(M){const re=n?M.groupStatus:M.status;"VALID"===u&&("EXPIRED"===re||"DISABLED"===re)||"VALID"===re?(n?t.groupStatus=re:t.status=re,this.changeExpiration(t,n)):this.loadMembersPage()}})}changeExpiration(o,t){const n=o.memberAttributes.find(t?y=>"groupMembershipExpiration"===y.friendlyName:y=>"membershipExpiration"===y.friendlyName),c=(0,f.kZ)();let u;c.width="400px",c.data={voId:this.voId,groupId:t,memberId:o.id,expirationAttr:n,status:t?o.groupStatus:o.status,statusChanged:!0},u=this.dialog.open(t?g.u3:g.kZ,c),u.afterClosed().subscribe(()=>{this.loadMembersPage()})}loadMembersPage(){this.dataSource.loadMembers(this.voId,this.attrNames,"asc"===this.sort.direction?"ASCENDING":"DESCENDING",this.child.paginator.pageIndex,this.child.paginator.pageSize,"fullName"===this.sort.active?"NAME":"ID",this.selectedStatuses,this.searchString,this.groupId,this.selectedGroupStatuses)}exportData(o){(0,f.O6)((0,f.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),o)}getExportDataForColumn(o,t){switch(t){case"id":return o.id.toString();case"fullName":return o.user?(0,f.bD)(o.user):"";case"status":return o.status;case"groupStatus":return o.groupStatus;case"organization":return(0,f.Gw)(o);case"email":return(0,f.g$)(o);case"logins":return(0,f.lt)(o);default:return""}}viewMemberGroupTree(o,t){o.stopPropagation();const n=(0,f.kZ)();n.width="800px",n.data={member:t,groupId:this.groupId},this.dialog.open(g.jd,n)}}return r.\u0275fac=function(o){return new(o||r)(s.Y36(b.uw),s.Y36(T.x4),s.Y36(T.UA),s.Y36(O.dB),s.Y36(T.ly))},r.\u0275cmp=s.Xpm({type:r,selectors:[["perun-web-apps-members-dynamic-list"]],viewQuery:function(o,t){if(1&o&&(s.Gf(f.l9,7),s.Gf(e.YE,5)),2&o){let n;s.iGM(n=s.CRH())&&(t.child=n.first),s.iGM(n=s.CRH())&&(t.sort=n.first)}},inputs:{selection:"selection",displayedColumns:"displayedColumns",voId:"voId",groupId:"groupId",selectedGroupStatuses:"selectedGroupStatuses",attrNames:"attrNames",searchString:"searchString",selectedStatuses:"selectedStatuses",tableId:"tableId",updateTable:"updateTable"},features:[s.TTD],decls:37,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","groupStatus"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","italic_font","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[3,"matTooltip","click",4,"ngIf"],[3,"matTooltip","click"],["mat-header-cell",""],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(o,t){1&o&&(s.TgZ(0,"div",0),s.ALo(1,"async"),s.TgZ(2,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(c){return t.exportData(c)}),s.YNc(3,Ne,2,0,"div",2),s.ALo(4,"async"),s.TgZ(5,"table",3),s.ynx(6,4),s.YNc(7,Fe,2,3,"th",5),s.YNc(8,ne,3,5,"td",6),s.BQk(),s.ynx(9,7),s.YNc(10,Me,3,3,"th",8),s.YNc(11,ve,2,1,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,me,1,0,"th",8),s.YNc(14,ee,2,1,"td",11),s.BQk(),s.ynx(15,12),s.YNc(16,R,3,3,"th",8),s.YNc(17,Oe,3,3,"td",11),s.BQk(),s.ynx(18,13),s.YNc(19,Ie,3,3,"th",14),s.YNc(20,He,7,12,"td",11),s.BQk(),s.ynx(21,15),s.YNc(22,fe,3,3,"th",14),s.YNc(23,Ce,7,12,"td",11),s.BQk(),s.ynx(24,16),s.YNc(25,Ve,3,3,"th",14),s.YNc(26,Xe,3,3,"td",11),s.BQk(),s.ynx(27,17),s.YNc(28,tt,3,3,"th",14),s.YNc(29,rt,3,3,"td",11),s.BQk(),s.ynx(30,18),s.YNc(31,N,3,3,"th",14),s.YNc(32,he,3,3,"td",11),s.BQk(),s.YNc(33,D,1,0,"tr",19),s.YNc(34,I,1,14,"tr",20),s.qZA(),s.qZA(),s.qZA(),s.YNc(35,P,3,3,"app-alert",21),s.ALo(36,"async")),2&o&&(s.Q6J("hidden",0===t.dataSource.allObjectCount&&!1===s.lcZ(1,9,t.dataSource.loading$)),s.xp6(2),s.Q6J("tableId",t.tableId)("dataLength",t.dataSource.allObjectCount)("pageSizeOptions",t.pageSizeOptions),s.xp6(1),s.Q6J("ngIf",s.lcZ(4,11,t.dataSource.loading$)),s.xp6(2),s.Q6J("dataSource",t.dataSource),s.xp6(28),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===t.dataSource.allObjectCount&&!1===s.lcZ(36,13,t.dataSource.loading$)))},directives:[E.l,h.O5,k.$g,L.BZ,e.YE,L.w1,L.fO,L.ge,V.oG,L.Dz,L.ev,e.nU,$.Hw,ue.gM,L.as,L.XQ,L.nj,L.Gk,ce.YH,Le.rH,de.w],pipes:[h.Ov,h.i8,ke.X$,ae.d,j.u,H.i,Q.f,te.M,se.D,ge.p],styles:[".italic_font[_ngcontent-%COMP%]{font-style:italic}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),r})()},38383:(Ke,be,d)=>{"use strict";d.d(be,{O:()=>i});var e=d(5e3),f=d(84847),g=d(32075),T=d(20449),m=d(9244),A=d(84379),s=d(36908),b=d(48966),O=d(30325),E=d(18750),h=d(77446),k=d(29772),L=d(69808),V=d(25245),$=d(50301),ue=d(98380),ce=d(51062),Le=d(31359),de=d(69773),ke=d(12856),ae=d(21757),j=d(96974),H=d(20919),Q=d(5865);function te(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"th",24),e.TgZ(1,"mat-checkbox",25),e.NdJ("change",function(n){e.CHM(o);const c=e.oxw();return n?c.masterToggle():null}),e.qZA(),e.qZA()}if(2&r){const o=e.oxw();e.xp6(1),e.Q6J("aria-label",o.checkboxLabel())("checked",o.selection.hasValue()&&o.isAllSelected())("indeterminate",o.selection.hasValue()&&!o.isAllSelected())}}function se(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"td",26),e.TgZ(1,"mat-checkbox",27),e.NdJ("change",function(n){const u=e.CHM(o).$implicit,y=e.oxw();return n?y.selection.toggle(u):null})("click",function(n){return n.stopPropagation()}),e.ALo(2,"translate"),e.qZA(),e.qZA()}if(2&r){const o=p.$implicit,t=e.oxw();e.xp6(1),e.Q6J("aria-label",t.checkboxLabel(o))("checked",t.selection.isSelected(o))("disabled","DIRECT"!==o.membershipType)("matTooltip","DIRECT"!==o.membershipType?e.lcZ(2,4,"MEMBERS_LIST.CHECKBOX_TOOLTIP"):"")}}function ge(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"MEMBERS_LIST.ID")))}function Ne(r,p){if(1&r&&(e.TgZ(0,"td",29),e._uU(1),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(o.id)}}function Fe(r,p){1&r&&e._UZ(0,"th",28)}function ne(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"mat-icon",32),e.NdJ("click",function(){e.CHM(o);const n=e.oxw().$implicit;return e.oxw().viewMemberGroupTree(n)})("mouseenter",function(){return e.CHM(o),e.oxw(2).disableRouting=!0})("mouseleave",function(){e.CHM(o);const n=e.oxw(2);return n.disableRouting=n.disabledRouting}),e.ALo(1,"translate"),e._uU(2,"transfer_within_a_station"),e.qZA()}2&r&&e.Q6J("matTooltip",e.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function Me(r,p){if(1&r&&(e.TgZ(0,"td",30),e.YNc(1,ne,3,3,"mat-icon",31),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Q6J("ngIf","DIRECT"!==o.membershipType)}}function ve(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.NAME")," "))}function me(r,p){if(1&r&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"userFullName"),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,o.user))}}function Te(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.STATUS")," "))}function ee(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"td",30),e.TgZ(1,"i",33),e.NdJ("click",function(n){const u=e.CHM(o).$implicit;return e.oxw().changeStatus(n,u)}),e.ALo(2,"memberStatusIconColor"),e.ALo(3,"memberStatusTooltip"),e.TgZ(4,"span"),e._uU(5),e.ALo(6,"memberStatusIcon"),e.qZA(),e.qZA(),e.qZA()}if(2&r){const o=p.$implicit;e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,o.status),""),e.s9C("matTooltip",e.xi3(3,7,o,!1)),e.xp6(4),e.hij(" ",e.lcZ(6,10,o.status)," ")}}function R(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")," "))}function Oe(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"td",30),e.TgZ(1,"i",33),e.NdJ("click",function(n){const u=e.CHM(o).$implicit;return e.oxw().changeStatus(n,u)}),e.ALo(2,"memberStatusIconColor"),e.ALo(3,"memberStatusTooltip"),e.TgZ(4,"span"),e._uU(5),e.ALo(6,"memberStatusIcon"),e.qZA(),e.qZA(),e.qZA()}if(2&r){const o=p.$implicit;e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,o.groupStatus),""),e.s9C("matTooltip",e.xi3(3,7,o,!0)),e.xp6(4),e.hij(" ",e.lcZ(6,10,o.groupStatus)," ")}}function Ie(r,p){1&r&&(e.TgZ(0,"th",34),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.ALREADY_SPONSORED")," "))}function He(r,p){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"check_circle_outline"),e.qZA())}function fe(r,p){if(1&r&&(e.TgZ(0,"td",35),e.YNc(1,He,2,0,"mat-icon",36),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Q6J("ngIf",o.sponsored)}}function Ce(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")," "))}function Ve(r,p){if(1&r&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"memberOrganization"),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,o))}}function Xe(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.EMAIL")," "))}function tt(r,p){if(1&r&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"memberEmail"),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,o))}}function rt(r,p){1&r&&(e.TgZ(0,"th",37),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function N(r,p){if(1&r&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"memberLogins"),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,o))}}function he(r,p){1&r&&e._UZ(0,"tr",38)}const D=function(r,p){return["/organizations",r,"members",p]};function S(r,p){if(1&r&&e._UZ(0,"tr",39),2&r){const o=p.$implicit,t=e.oxw();e.ekj("cursor-pointer",!t.disabledRouting)("disable-outline",t.disableRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",t.disableRouting?null:e.WLB(6,D,o.voId,o.id))("routerLink",t.disableRouting?null:e.WLB(9,D,o.voId,o.id))}}function I(r,p){1&r&&(e.TgZ(0,"app-alert",40),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function P(r,p){1&r&&(e.TgZ(0,"app-alert",40),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let i=(()=>{class r{constructor(o,t,n,c){this.dialog=o,this.authResolver=t,this.tableCheckbox=n,this.route=c,this.selection=new T.Ov,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","sponsored","organization","email","logins"],this.disableRouting=!1,this.filter="",this.updateTable=new e.vpe,this.pageSizeOptions=m.f7,this.canBeSelected=u=>"DIRECT"===u.membershipType}set matSort(o){this.sort=o}getSortDataForColumn(o,t,n){var c;switch(t){case"id":return o.id.toString();case"fullName":return o.user?o.user.lastName?o.user.lastName:null!==(c=o.user.firstName)&&void 0!==c?c:"":"";case"status":return n.showGroupStatuses?o.groupStatus:o.status;case"organization":return(0,m.Gw)(o);case"email":return(0,m.g$)(o);default:return""}}getFilterDataForColumn(o,t){switch(t){case"fullName":return o.user?(0,m.bD)(o.user):"";case"email":return(0,m.g$)(o);case"logins":return(0,m.lt)(o);default:return""}}getExportDataForColumn(o,t,n){switch(t){case"id":return o.id.toString();case"fullName":return o.user?(0,m.bD)(o.user):"";case"status":return n.showGroupStatuses?o.groupStatus:o.status;case"organization":return(0,m.Gw)(o);case"email":return(0,m.g$)(o);case"logins":return(0,m.lt)(o);default:return""}}exportData(o){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),o)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(o,t)=>(0,m.Sd)(o,t,this.displayedColumns,this.getFilterDataForColumn,this),this.dataSource.sortData=(o,t)=>(0,m.pR)(o,t,this.getSortDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.members}ngAfterViewInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(o=>"id"!==o))}ngOnChanges(){var o;this.setDataSource(),this.disabledRouting=this.disableRouting,null===(o=this.route.parent)||void 0===o||o.params.subscribe(t=>{t.groupId&&(this.groupId=t.groupId)})}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(o){return o?`${this.selection.isSelected(o)?"deselect":"select"} row ${o.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(o,t){if(o.stopPropagation(),"INVALID"===t.status){const n=(0,m.kZ)();n.width="500px",n.data={member:t},this.dialog.open(A.pf,n).afterClosed().subscribe(u=>{u&&this.updateTable.emit(!0)})}}viewMemberGroupTree(o){const t=(0,m.kZ)();t.width="800px",t.data={member:o,groupId:this.groupId},this.dialog.open(A.jd,t)}}return r.\u0275fac=function(o){return new(o||r)(e.Y36(b.uw),e.Y36(s.x4),e.Y36(s.UA),e.Y36(O.gz))},r.\u0275cmp=e.Xpm({type:r,selectors:[["perun-web-apps-members-list"]],viewQuery:function(o,t){if(1&o&&(e.Gf(f.YE,7),e.Gf(m.l9,7)),2&o){let n;e.iGM(n=e.CRH())&&(t.matSort=n.first),e.iGM(n=e.CRH())&&(t.child=n.first)}},inputs:{showGroupStatuses:"showGroupStatuses",members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",disableRouting:"disableRouting",filter:"filter"},outputs:{updateTable:"updateTable"},features:[e.TTD],decls:37,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["matColumnDef","groupStatus"],["matColumnDef","sponsored"],["class","center new-line","mat-header-cell","",4,"matHeaderCellDef"],["class","center","mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","disabled","matTooltip","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[3,"matTooltip","click","mouseenter","mouseleave",4,"ngIf"],[3,"matTooltip","click","mouseenter","mouseleave"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip","click"],["mat-header-cell","",1,"center","new-line"],["mat-cell","",1,"center"],[4,"ngIf"],["mat-header-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(o,t){1&o&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(c){return t.exportData(c)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,te,2,3,"th",4),e.YNc(5,se,3,6,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,ge,3,3,"th",7),e.YNc(8,Ne,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,Fe,1,0,"th",7),e.YNc(11,Me,2,1,"td",10),e.BQk(),e.ynx(12,11),e.YNc(13,ve,3,3,"th",7),e.YNc(14,me,3,3,"td",10),e.BQk(),e.ynx(15,12),e.YNc(16,Te,3,3,"th",7),e.YNc(17,ee,7,12,"td",10),e.BQk(),e.ynx(18,13),e.YNc(19,R,3,3,"th",7),e.YNc(20,Oe,7,12,"td",10),e.BQk(),e.ynx(21,14),e.YNc(22,Ie,3,3,"th",15),e.YNc(23,fe,2,1,"td",16),e.BQk(),e.ynx(24,17),e.YNc(25,Ce,3,3,"th",7),e.YNc(26,Ve,3,3,"td",10),e.BQk(),e.ynx(27,18),e.YNc(28,Xe,3,3,"th",7),e.YNc(29,tt,3,3,"td",10),e.BQk(),e.ynx(30,19),e.YNc(31,rt,3,3,"th",20),e.YNc(32,N,3,3,"td",10),e.BQk(),e.YNc(33,he,1,0,"tr",21),e.YNc(34,S,1,12,"tr",22),e.qZA(),e.qZA(),e.qZA(),e.YNc(35,I,3,3,"app-alert",23),e.YNc(36,P,3,3,"app-alert",23)),2&o&&(e.Q6J("hidden",0===t.members.length||!t.dataSource||0===t.dataSource.filteredData.length),e.xp6(1),e.Q6J("dataLength",t.dataSource.filteredData.length)("tableId",t.tableId)("pageSizeOptions",t.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",t.dataSource),e.xp6(31),e.Q6J("matHeaderRowDef",t.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",t.displayedColumns),e.xp6(1),e.Q6J("ngIf",0!==t.members.length&&0===t.dataSource.filteredData.length),e.xp6(1),e.Q6J("ngIf",0===t.members.length))},directives:[E.l,g.BZ,f.YE,g.w1,g.fO,g.ge,h.oG,g.Dz,g.ev,k.gM,f.nU,L.O5,V.Hw,g.as,g.XQ,g.nj,g.Gk,$.YH,O.rH,ue.w],pipes:[ce.X$,Le.d,de.u,ke.i,ae.f,j.M,H.D,Q.p],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important} .status-tooltip{white-space:pre-line}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.center[_ngcontent-%COMP%]{text-align:center}.new-line[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),r})()},22465:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>h});var e=d(5e3),f=d(36908),g=d(9244),T=d(84379),m=d(48966),A=d(69808),s=d(25245),b=d(51062);function O(k,L){if(1&k&&(e.TgZ(0,"div",5),e.TgZ(1,"mat-icon"),e._uU(2),e.qZA(),e.qZA()),2&k){const V=e.oxw();e.xp6(2),e.Oqu(V.data.icon)}}function E(k,L){if(1&k&&(e.TgZ(0,"div",6),e._uU(1),e.qZA()),2&k){const V=e.oxw();e.xp6(1),e.hij(" ",V.showTimestamp()," ")}}let h=(()=>{class k{constructor(V,$){this.dialog=V,this.notificationStorageService=$,this.newNotification=!1,this.closeNotification=new e.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}doAction(){if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{const V=(0,g.kZ)();V.width="550px",V.data=this.data,V.autoFocus=!1,this.dialog.open(T.FM,V).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){(0,g.ys)(this.data.delay,()=>{!this.alreadyClosed&&!this.waiting&&this.closeSelf()})}showTimestamp(){const[V,$]=this.data.timeStamp.split(":");return $.length<2?V+":0"+$:this.data.timeStamp}}return k.\u0275fac=function(V){return new(V||k)(e.Y36(m.uw),e.Y36(f.SZ))},k.\u0275cmp=e.Xpm({type:k,selectors:[["perun-web-apps-notification"]],inputs:{data:"data",inDialog:"inDialog",newNotification:"newNotification"},outputs:{closeNotification:"closeNotification"},decls:9,vars:14,consts:[[1,"notification-container",3,"click"],["class","notification-icon",4,"ngIf"],[1,"notification-text","clickable"],["class","ml-auto mr-5 mt-auto mb-auto",4,"ngIf"],[1,"notification-action","mt-auto","mb-auto",3,"hidden","click"],[1,"notification-icon"],[1,"ml-auto","mr-5","mt-auto","mb-auto"]],template:function(V,$){1&V&&(e.TgZ(0,"div"),e.TgZ(1,"div",0),e.NdJ("click",function(){return $.alreadyClosed||$.waiting?"":$.closeSelf()}),e.YNc(2,O,3,1,"div",1),e.TgZ(3,"div",2),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.YNc(6,E,2,1,"div",3),e.TgZ(7,"div",4),e.NdJ("click",function(){return $.waiting=!0,$.doAction()}),e._uU(8),e.qZA(),e.qZA(),e.qZA()),2&V&&(e.Gre("notification ",$.inDialog?"":"mat-elevation-z7",""),e.ekj("error","error"===$.data.type)("success","success"===$.data.type),e.xp6(2),e.Q6J("ngIf",null!==$.data.icon),e.xp6(2),e.hij(" ",e.lcZ(5,12,$.data.title)," "),e.xp6(2),e.Q6J("ngIf",$.inDialog),e.xp6(1),e.Q6J("hidden",$.alreadyPressed),e.xp6(1),e.hij(" ",$.data.actionText," "))},directives:[A.O5,s.Hw],pipes:[b.X$],styles:[".notification[_ngcontent-%COMP%]{width:450px;margin-bottom:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff}.notification-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;padding:16px}.notification-text[_ngcontent-%COMP%]{font-size:1.1em}.notification-action[_ngcontent-%COMP%]{margin-left:auto;text-decoration:underline;cursor:pointer}@media (max-width: 768px){.notification[_ngcontent-%COMP%]{width:100%}}.notification.error[_ngcontent-%COMP%]{background-color:#d32f2f}.notification.success[_ngcontent-%COMP%]{background-color:#288619}.notification-icon[_ngcontent-%COMP%]{padding-right:8px;color:#fff}"]}),k})()},41619:(Ke,be,d)=>{"use strict";d.d(be,{$:()=>me});var e=d(36908),f=d(9315),g=d(5e3),T=d(48966),m=d(51062),A=d(67322),s=d(98833),b=d(93075),O=d(69808),E=d(47423);function h(Te,ee){1&Te&&(g.TgZ(0,"mat-error"),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&Te&&(g.xp6(1),g.Oqu(g.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let k=(()=>{class Te{constructor(R,Oe,Ie,He,fe){this.dialogRef=R,this.translate=Oe,this.notificator=Ie,this.rtMessages=He,this.storeService=fe,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(R=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+R.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+d(4147).i8}close(){this.dialogRef.close()}}return Te.\u0275fac=function(R){return new(R||Te)(g.Y36(T.so),g.Y36(m.sK),g.Y36(e.V6),g.Y36(f.Hr),g.Y36(e.d6))},Te.\u0275cmp=g.Xpm({type:Te,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(R,Oe){if(1&R&&(g.TgZ(0,"h1",0),g._uU(1),g.ALo(2,"translate"),g.qZA(),g.TgZ(3,"div",1),g.TgZ(4,"mat-form-field"),g.TgZ(5,"mat-label"),g._uU(6),g.ALo(7,"translate"),g.qZA(),g.TgZ(8,"input",2,3),g.NdJ("ngModelChange",function(He){return Oe.subject=He}),g.qZA(),g.YNc(10,h,3,3,"mat-error",4),g.qZA(),g.TgZ(11,"mat-form-field"),g.TgZ(12,"mat-label"),g._uU(13),g.ALo(14,"translate"),g.qZA(),g.TgZ(15,"textarea",5),g.NdJ("ngModelChange",function(He){return Oe.message=He}),g.ALo(16,"translate"),g._uU(17," "),g.qZA(),g.TgZ(18,"mat-hint"),g._uU(19),g.ALo(20,"translate"),g.qZA(),g.qZA(),g.qZA(),g.TgZ(21,"div",6),g.TgZ(22,"div",7),g.TgZ(23,"button",8),g.NdJ("click",function(){return Oe.close()}),g._uU(24),g.ALo(25,"translate"),g.qZA(),g.TgZ(26,"button",9),g.NdJ("click",function(){return Oe.sendBugReport()}),g._uU(27),g.ALo(28,"translate"),g.qZA(),g.qZA(),g.qZA()),2&R){const Ie=g.MAs(9);g.xp6(1),g.Oqu(g.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),g.xp6(5),g.Oqu(g.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),g.xp6(2),g.Q6J("ngModel",Oe.subject),g.xp6(2),g.Q6J("ngIf",Ie.invalid),g.xp6(3),g.Oqu(g.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),g.xp6(2),g.s9C("placeholder",g.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),g.Q6J("ngModel",Oe.message),g.xp6(4),g.Oqu(g.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),g.xp6(5),g.hij(" ",g.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),g.xp6(2),g.Q6J("disabled",Ie.invalid),g.xp6(1),g.hij(" ",g.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[T.uh,T.xY,A.KE,A.hX,s.Nt,b.Fj,b.Q7,b.JJ,b.On,O.O5,A.TO,A.bx,T.H8,E.lW],pipes:[m.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),Te})();var L=d(9244);let V=(()=>{class Te{transform(R,Oe,Ie){return R[`${Ie}_${Oe}`]}}return Te.\u0275fac=function(R){return new(R||Te)},Te.\u0275pipe=g.Yjl({name:"localisedText",type:Te,pure:!0}),Te})(),$=(()=>{class Te{transform(R,Oe){return R["link_"+Oe]||R.link_en}}return Te.\u0275fac=function(R){return new(R||Te)},Te.\u0275pipe=g.Yjl({name:"localisedLink",type:Te,pure:!0}),Te})(),ue=(()=>{class Te{transform(R){return R.includes("/")?R:"/assets/config/"+R}}return Te.\u0275fac=function(R){return new(R||Te)},Te.\u0275pipe=g.Yjl({name:"footerLogoPath",type:Te,pure:!0}),Te})();function ce(Te,ee){if(1&Te&&(g.TgZ(0,"a",13),g.ALo(1,"localisedLink"),g._UZ(2,"img",14),g.ALo(3,"footerLogoPath"),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("href",g.xi3(1,2,R,Oe.language),g.LSH),g.xp6(2),g.s9C("src",g.lcZ(3,5,R.logo),g.LSH)}}function Le(Te,ee){if(1&Te&&(g.TgZ(0,"span"),g._UZ(1,"img",14),g.ALo(2,"footerLogoPath"),g.qZA()),2&Te){const R=g.oxw().$implicit;g.xp6(1),g.s9C("src",g.lcZ(2,1,R.logo),g.LSH)}}function de(Te,ee){if(1&Te&&(g.TgZ(0,"div"),g.YNc(1,ce,4,7,"a",11),g.ALo(2,"localisedLink"),g.YNc(3,Le,3,3,"span",12),g.ALo(4,"localisedLink"),g.qZA()),2&Te){const R=ee.$implicit,Oe=g.oxw(3);g.xp6(1),g.Q6J("ngIf",g.xi3(2,2,R,Oe.language)),g.xp6(2),g.Q6J("ngIf",!g.xi3(4,5,R,Oe.language))}}const ke=function(Te){return{"min-height":Te}};function ae(Te,ee){if(1&Te&&(g.TgZ(0,"div",10),g.YNc(1,de,5,8,"div",5),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw();g.Q6J("ngStyle",g.VKq(2,ke,Oe.columnContentHeight+"px")),g.xp6(1),g.Q6J("ngForOf",R.elements)}}const j=function(Te){return{color:Te}};function H(Te,ee){if(1&Te&&(g.TgZ(0,"i",20),g._uU(1),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("ngStyle",g.VKq(2,j,Oe.linksTextColor)),g.xp6(1),g.hij(" ",R.icon," ")}}function Q(Te,ee){if(1&Te){const R=g.EpF();g.TgZ(0,"span",21),g.NdJ("click",function(){g.CHM(R);const Ie=g.oxw().$implicit;return g.oxw(3).openDialog(Ie.dialog)}),g._uU(1),g.ALo(2,"localisedText"),g.qZA()}if(2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("ngStyle",g.VKq(6,j,Oe.linksTextColor)),g.xp6(1),g.hij("",g.Dn7(2,2,R,Oe.language,"label")," ")}}function te(Te,ee){if(1&Te&&(g.TgZ(0,"a",22),g.ALo(1,"localisedLink"),g._uU(2),g.ALo(3,"localisedText"),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("href",g.xi3(1,3,R,Oe.language),g.LSH)("ngStyle",g.VKq(10,j,Oe.linksTextColor)),g.xp6(2),g.Oqu(g.Dn7(3,6,R,Oe.language,"label"))}}function se(Te,ee){if(1&Te&&(g.TgZ(0,"span",10),g._uU(1),g.ALo(2,"localisedText"),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("ngStyle",g.VKq(6,j,Oe.linksTextColor)),g.xp6(1),g.Oqu(g.Dn7(2,2,R,Oe.language,"label"))}}function ge(Te,ee){if(1&Te&&(g.TgZ(0,"div",16),g.YNc(1,H,2,4,"i",17),g.YNc(2,Q,3,8,"span",18),g.YNc(3,te,4,12,"a",19),g.ALo(4,"localisedLink"),g.YNc(5,se,3,8,"span",9),g.ALo(6,"localisedLink"),g.qZA()),2&Te){const R=ee.$implicit,Oe=g.oxw(3);g.xp6(1),g.Q6J("ngIf",R.icon),g.xp6(1),g.Q6J("ngIf",R.dialog),g.xp6(1),g.Q6J("ngIf",g.xi3(4,4,R,Oe.language)&&!R.dialog),g.xp6(2),g.Q6J("ngIf",!g.xi3(6,7,R,Oe.language)&&!R.dialog)}}const Ne=function(Te){return{height:Te}};function Fe(Te,ee){if(1&Te&&(g.TgZ(0,"div",10),g.YNc(1,ge,7,10,"div",15),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw();g.Q6J("ngStyle",g.VKq(2,Ne,Oe.columnContentHeight+"px")),g.xp6(1),g.Q6J("ngForOf",R.elements)}}function ne(Te,ee){if(1&Te&&(g.TgZ(0,"div",7),g.TgZ(1,"h6",8),g._uU(2),g.ALo(3,"localisedText"),g.qZA(),g.YNc(4,ae,2,4,"div",9),g.YNc(5,Fe,2,4,"div",9),g.qZA()),2&Te){const R=ee.$implicit,Oe=g.oxw();g.ekj("my-auto",Oe.containsLogos),g.xp6(1),g.Q6J("ngStyle",g.VKq(10,j,Oe.headersTextColor)),g.xp6(1),g.hij(" ",g.Dn7(3,6,R,Oe.language,"title")," "),g.xp6(2),g.Q6J("ngIf",R.logos),g.xp6(1),g.Q6J("ngIf",R.elements&&!R.logos)}}function Me(Te,ee){if(1&Te&&(g.TgZ(0,"span"),g.TgZ(1,"a",6),g._uU(2),g.qZA(),g.qZA()),2&Te){const R=ee.$implicit,Oe=ee.index,Ie=g.oxw();g.xp6(1),g.Q6J("href",R.url,g.LSH)("ngStyle",g.VKq(3,j,Ie.copyrightTextColor)),g.xp6(1),g.Oqu(Oe?", "+R.name:R.name)}}const ve=function(Te){return{background:Te}};let me=(()=>{class Te{constructor(R,Oe,Ie){this.storeService=R,this.translateService=Oe,this.dialog=Ie,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(R=>{this.language=R.lang}),this.version=d(4147).i8,this.items=this.storeService.get("footer","columns");for(const R of this.items)R.logos?this.containsLogos=!0:25*R.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*R.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(R){const Oe=(0,L.kZ)();"reportIssue"===R&&(Oe.width="550px",this.dialog.open(k,Oe))}}return Te.\u0275fac=function(R){return new(R||Te)(g.Y36(e.d6),g.Y36(m.sK),g.Y36(T.uw))},Te.\u0275cmp=g.Xpm({type:Te,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(R,Oe){1&R&&(g.TgZ(0,"footer",0),g.TgZ(1,"div",1),g.YNc(2,ne,6,12,"div",2),g.qZA(),g._UZ(3,"hr",3),g.TgZ(4,"div",4),g._uU(5),g.YNc(6,Me,3,5,"span",5),g._uU(7," Version "),g.TgZ(8,"a",6),g._uU(9),g.qZA(),g.qZA(),g.qZA()),2&R&&(g.Q6J("ngStyle",g.VKq(8,ve,Oe.bgColor)),g.xp6(2),g.Q6J("ngForOf",Oe.items),g.xp6(2),g.Q6J("ngStyle",g.VKq(10,j,Oe.copyrightTextColor)),g.xp6(1),g.hij(" \xa9 ",Oe.currentYear," Copyright: "),g.xp6(1),g.Q6J("ngForOf",Oe.copyrightItems),g.xp6(2),g.Q6J("href",Oe.githubRepository,g.LSH)("ngStyle",g.VKq(12,j,Oe.copyrightTextColor)),g.xp6(1),g.Oqu(Oe.version))},directives:[O.PC,O.sg,O.O5],pipes:[V,$,ue],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}"]}),Te})()},10441:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>s});var e=d(5e3),f=d(69808),g=d(25245),T=d(29772),m=d(51062);function A(b,O){1&b&&(e.TgZ(0,"mat-icon",1),e.ALo(1,"translate"),e._uU(2," visibility\n"),e.qZA()),2&b&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}let s=(()=>{class b{constructor(){this.recentIds=[]}}return b.\u0275fac=function(E){return new(E||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["perun-web-apps-recently-viewed-icon"]],inputs:{recentIds:"recentIds",id:"id"},decls:1,vars:1,consts:[["class","align-bottom disabled-icon",3,"matTooltip",4,"ngIf"],[1,"align-bottom","disabled-icon",3,"matTooltip"]],template:function(E,h){1&E&&e.YNc(0,A,3,3,"mat-icon",0),2&E&&e.Q6J("ngIf",h.recentIds.indexOf(h.id)>-1)},directives:[f.O5,g.Hw,T.gM],pipes:[m.X$],styles:[".disabled-icon[_ngcontent-%COMP%]{color:#00000042}"]}),b})()},96214:(Ke,be,d)=>{"use strict";d.d(be,{t:()=>A});var e=d(5e3),f=d(47423),g=d(29772),T=d(25245),m=d(51062);let A=(()=>{class s{constructor(){this.refresh=new e.vpe}onClickbutton(O){this.refresh.emit(O)}}return s.\u0275fac=function(O){return new(O||s)},s.\u0275cmp=e.Xpm({type:s,selectors:[["perun-web-apps-refresh-button"]],inputs:{disabled:"disabled"},outputs:{refresh:"refresh"},decls:3,vars:5,consts:[["mat-stroked-button","","data-cy","refresh-button",1,"mr-2",3,"disabled","matTooltip","click"],[1,"center-icon","perun-icon",3,"svgIcon"]],template:function(O,E){1&O&&(e.TgZ(0,"button",0),e.NdJ("click",function(k){return E.onClickbutton(k)}),e.ALo(1,"translate"),e._UZ(2,"mat-icon",1),e.qZA()),2&O&&(e.s9C("matTooltip",e.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),e.Q6J("disabled",E.disabled),e.xp6(2),e.s9C("svgIcon",E.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[f.lW,g.gM,T.Hw],pipes:[m.X$],styles:[".center-icon[_ngcontent-%COMP%]{display:inline-flex}.perun-icon[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%]{fill:currentColor}"]}),s})()},62109:(Ke,be,d)=>{"use strict";d.d(be,{C:()=>N});var e=d(5e3),f=d(84847),g=d(32075),T=d(20449),m=d(9244),A=d(36908),s=d(18750),b=d(77446),O=d(29772),E=d(10441),h=d(69808),k=d(25245),L=d(8223),V=d(50301),$=d(30325),ue=d(98380),ce=d(51062);let Le=(()=>{class he{transform(S){if(null==S)return null;let P="";return S.forEach(function(i){P=P.concat(i.tagName)}),P}}return he.\u0275fac=function(S){return new(S||he)},he.\u0275pipe=e.Yjl({name:"resourceTagsToString",type:he,pure:!0}),he})();var de=d(82895);function ke(he,D){if(1&he){const S=e.EpF();e.TgZ(0,"th",22),e.TgZ(1,"mat-checkbox",23),e.NdJ("change",function(P){e.CHM(S);const i=e.oxw();return P?i.masterToggle():null}),e.qZA(),e.qZA()}if(2&he){const S=e.oxw();e.xp6(1),e.Q6J("aria-label",S.checkboxLabel())("checked",S.selection.hasValue()&&S.isAllSelected())("indeterminate",S.selection.hasValue()&&!S.isAllSelected())}}function ae(he,D){if(1&he){const S=e.EpF();e.TgZ(0,"td",24),e.TgZ(1,"span",25),e.ALo(2,"translate"),e.TgZ(3,"mat-checkbox",26),e.NdJ("change",function(P){const r=e.CHM(S).$implicit,p=e.oxw();return P?p.itemSelectionToggle(r):null})("click",function(P){return P.stopPropagation()}),e.qZA(),e.qZA(),e.qZA()}if(2&he){const S=D.$implicit,I=e.oxw();e.xp6(1),e.s9C("matTooltip",e.lcZ(2,7,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE")),e.Q6J("matTooltipPosition","above")("matTooltipDisabled",!I.disableSelect(S)),e.xp6(2),e.Q2q("data-cy","",S.name,"-checkbox"),e.Q6J("aria-label",I.checkboxLabel(S))("checked",I.selection.isSelected(S))("disabled",I.disableSelect(S))}}function j(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")," "))}function H(he,D){if(1&he&&(e.TgZ(0,"td",28),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.id)}}function Q(he,D){1&he&&e._UZ(0,"th",29)}function te(he,D){if(1&he&&(e.TgZ(0,"td",30),e._UZ(1,"perun-web-apps-recently-viewed-icon",31),e.qZA()),2&he){const S=D.$implicit,I=e.oxw();e.xp6(1),e.Q6J("recentIds",I.recentIds)("id",S.id)}}function se(he,D){1&he&&e._UZ(0,"th",29)}function ge(he,D){1&he&&(e.TgZ(0,"mat-icon",33),e.ALo(1,"translate"),e._uU(2,"account_tree"),e.qZA()),2&he&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE"))}function Ne(he,D){if(1&he&&(e.TgZ(0,"td",30),e.YNc(1,ge,3,3,"mat-icon",32),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Q6J("ngIf",S.sourceGroupId)}}function Fe(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")," "))}function ne(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.name)}}function Me(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")," "))}function ve(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.vo.name)}}function me(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")," "))}function Te(he,D){if(1&he){const S=e.EpF();e.TgZ(0,"td",30),e.TgZ(1,"perun-web-apps-group-resource-status",34),e.NdJ("mouseenter",function(){return e.CHM(S),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(S);const P=e.oxw();return P.disabledRouting=P.disableRouting})("statusChange",function(){return e.CHM(S),e.oxw().refreshTable.emit()}),e.qZA(),e.qZA()}if(2&he){const S=D.$implicit,I=e.oxw();e.xp6(1),e.Q6J("theme","group-theme")("resourceId",S.id)("groupId",I.groupId)("failureCause",S.failureCause)("status",S.status)}}function ee(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")," "))}function R(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.facility.name)}}function Oe(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")," "))}function Ie(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"resourceTagsToString"),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,S.resourceTags)," ")}}function He(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")," "))}function fe(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.description)}}function Ce(he,D){1&he&&e._UZ(0,"tr",35)}const Ve=function(he){return[he]};function Xe(he,D){if(1&he&&(e._UZ(0,"tr",36),e.ALo(1,"getResourceRoute"),e.ALo(2,"getResourceRoute")),2&he){const S=D.$implicit,I=e.oxw();e.ekj("cursor-pointer",!I.disableRouting)("disable-outline",I.disabledRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",e.VKq(12,Ve,I.disabledRouting?null:e.xi3(1,6,S,I.routingVo)))("routerLink",I.disabledRouting?null:e.xi3(2,9,S,I.routingVo))}}function tt(he,D){1&he&&(e.TgZ(0,"app-alert",37),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function rt(he,D){1&he&&(e.TgZ(0,"app-alert",37),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let N=(()=>{class he{constructor(S,I){this.guiAuthResolver=S,this.tableCheckbox=I,this.resources=[],this.selection=new T.Ov(!0,[]),this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","indirectResourceAssigment","name","vo","status","facility","tags","description"],this.pageSizeOptions=m.f7,this.groupId=null,this.resourcesToDisableCheckbox=new Set,this.refreshTable=new e.vpe,this.allSelected=new e.vpe,this.removeAuth=!1,this.addAuth=!1,this.canBeSelected=P=>!this.disableSelect(P)}set matSort(S){this.sort=S}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(S=>"id"!==S)),this.setDataSource(),this.setAuth()}getDataForColumn(S,I,P){switch(I){case"id":return S.id.toString();case"vo":return S.vo.name;case"name":return S.name;case"facility":return S.facility.name;case"description":return S.description;case"recent":return P.recentIds&&P.recentIds.indexOf(S.id)>-1?"#".repeat(P.recentIds.indexOf(S.id)):S.name;case"tags":{if(!S.resourceTags)return S[I];let r="";return S.resourceTags.forEach(function(p){r=r.concat(p.tagName)}),r}case"status":return S.status;case"uuid":return S.uuid;default:return S[I]}}exportData(S){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),S)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(S,I)=>(0,m.Sd)(S,I,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(S,I)=>(0,m.pR)(S,I,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}isAllSelected(){const S=this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected);return this.allSelected.emit(S),S}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.setAuth()}checkboxLabel(S){return S?`${this.selection.isSelected(S)?"deselect":"select"} row ${S.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}setAuth(){const S=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce((I,P)=>I&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",S.concat([P])),!0),this.addAuth=this.selection.selected.reduce((I,P)=>I&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",S.concat([P])),!0)}itemSelectionToggle(S){this.selection.toggle(S),this.setAuth()}disableSelect(S){return this.resourcesToDisableCheckbox.has(S.id)}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(A.x4),e.Y36(A.UA))},he.\u0275cmp=e.Xpm({type:he,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(S,I){if(1&S&&(e.Gf(f.YE,7),e.Gf(m.l9,7)),2&S){let P;e.iGM(P=e.CRH())&&(I.matSort=P.first),e.iGM(P=e.CRH())&&(I.child=P.first)}},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId",resourcesToDisableCheckbox:"resourcesToDisableCheckbox",tableId:"tableId"},outputs:{refreshTable:"refreshTable",allSelected:"allSelected"},features:[e.TTD],decls:37,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","indirectResourceAssigment"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"],[3,"theme","resourceId","groupId","failureCause","status","mouseenter","mouseleave","statusChange"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(S,I){1&S&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(i){return I.exportData(i)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,ke,2,3,"th",4),e.YNc(5,ae,4,9,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,j,3,3,"th",7),e.YNc(8,H,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,Q,1,0,"th",10),e.YNc(11,te,2,2,"td",11),e.BQk(),e.ynx(12,12),e.YNc(13,se,1,0,"th",10),e.YNc(14,Ne,2,1,"td",11),e.BQk(),e.ynx(15,13),e.YNc(16,Fe,3,3,"th",7),e.YNc(17,ne,2,1,"td",11),e.BQk(),e.ynx(18,14),e.YNc(19,Me,3,3,"th",7),e.YNc(20,ve,2,1,"td",11),e.BQk(),e.ynx(21,15),e.YNc(22,me,3,3,"th",7),e.YNc(23,Te,2,5,"td",11),e.BQk(),e.ynx(24,16),e.YNc(25,ee,3,3,"th",7),e.YNc(26,R,2,1,"td",11),e.BQk(),e.ynx(27,17),e.YNc(28,Oe,3,3,"th",7),e.YNc(29,Ie,3,3,"td",11),e.BQk(),e.ynx(30,18),e.YNc(31,He,3,3,"th",7),e.YNc(32,fe,2,1,"td",11),e.BQk(),e.YNc(33,Ce,1,0,"tr",19),e.YNc(34,Xe,3,14,"tr",20),e.qZA(),e.qZA(),e.qZA(),e.YNc(35,tt,3,3,"app-alert",21),e.YNc(36,rt,3,3,"app-alert",21)),2&S&&(e.Q6J("hidden",0===I.dataSource.filteredData.length||0===I.resources.length),e.xp6(1),e.Q6J("dataLength",I.dataSource.filteredData.length)("tableId",I.tableId)("pageSizeOptions",I.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",I.dataSource),e.xp6(31),e.Q6J("matHeaderRowDef",I.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",I.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===I.dataSource.filteredData.length&&0!==I.resources.length),e.xp6(1),e.Q6J("ngIf",0===I.resources.length))},directives:[s.l,g.BZ,f.YE,g.w1,g.fO,g.ge,b.oG,g.Dz,g.ev,O.gM,f.nU,E.W,h.O5,k.Hw,L.x,g.as,g.XQ,g.nj,g.Gk,V.YH,$.rH,ue.w],pipes:[ce.X$,Le,de.r],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.filter-input[_ngcontent-%COMP%]{width:300px!important}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),he})()},52170:(Ke,be,d)=>{"use strict";d.d(be,{qG:()=>m,$x:()=>A});var e=d(5e3),f=d(51062),g=d(42377);class T{constructor(b,O){this.value=O,this.displayName=b}}var m=(()=>{return(s=m||(m={}))[s.SOURCE=0]="SOURCE",s[s.DESTINATION=1]="DESTINATION",s[s.FEDERATION=2]="FEDERATION",m;var s})();let A=(()=>{class s{constructor(O){this.translateService=O,this.attributes=[],this.asGroup=!1,this.itemSelected=new e.vpe,this.items=[],this.nameFunction=E=>E.displayName,this.shortNameFunction=()=>null,this.searchFunction=E=>E.displayName}static getDefinition(O){const E=O.namespace.split(":");return null===E[4]?"null":E[4]}ngOnInit(){this.type===m.FEDERATION?(this.getFederationAttributes(),this.getFederationAttribute()):this.createSelectionItems(),this.sortAttributes(this.items)}createSelectionItems(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(O=>{const E=new T(O,"");this.items.push(E),this.item=E});for(const O of this.attributes){const E=new T(O.friendlyName+" ("+O.entity+" / "+s.getDefinition(O)+")",O.namespace+":"+O.friendlyName);E.value===this.selectedAttribute&&(this.item=E),("user"===O.entity.toLowerCase()||"member"===O.entity.toLowerCase()||"vo"===O.entity.toLowerCase()&&this.type===m.SOURCE||"group"===O.entity.toLowerCase()&&this.asGroup&&this.type===m.SOURCE)&&this.items.push(E)}}getFederationAttributes(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(O=>{this.items.push(new T(O,"")),this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.CUSTOM_VALUE").subscribe(E=>{this.items.push(new T(E,"custom")),this.items.push(new T("Display name","displayName")),this.items.push(new T("Common name","cn")),this.items.push(new T("Mail","mail")),this.items.push(new T("Organization","o")),this.items.push(new T("Level of Assurance (LoA)","loa")),this.items.push(new T("First name","givenName")),this.items.push(new T("Surname","sn")),this.items.push(new T("EPPN","eppn")),this.items.push(new T("IdP Category","md_entityCategory")),this.items.push(new T("IdP Affiliation","affiliation")),this.items.push(new T("EduPersonScopedAffiliation","eduPersonScopedAffiliation")),this.items.push(new T("Forwarded Affiliation from Proxy","forwardedScopedAffiliation")),this.items.push(new T("schacHomeOrganization","schacHomeOrganization")),this.items.push(new T("Login","uid")),this.items.push(new T("Alternative login name","alternativeLoginName"))})})}getFederationAttribute(){for(const O of this.items)if(O.value===this.selectedAttribute)return void(this.item=O);this.item=this.items[1],this.item.value=this.selectedAttribute}sortAttributes(O){O.sort((E,h)=>""===E.value?-1:""===h.value?1:E.displayName.localeCompare(h.displayName))}}return s.\u0275fac=function(O){return new(O||s)(e.Y36(f.sK))},s.\u0275cmp=e.Xpm({type:s,selectors:[["perun-web-apps-selection-item-search-select"]],inputs:{attributes:"attributes",selectedAttribute:"selectedAttribute",type:"type",asGroup:"asGroup"},outputs:{itemSelected:"itemSelected"},decls:4,vars:14,consts:[[3,"entities","entity","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(O,E){1&O&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(k){return E.itemSelected.emit(k)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&O&&e.Q6J("entities",E.items)("entity",E.item)("searchFunction",E.searchFunction)("mainTextFunction",E.nameFunction)("secondaryTextFunction",E.shortNameFunction)("selectPlaceholder",e.lcZ(1,8,"SHARED_LIB.PERUN.COMPONENTS.SELECTION_ITEM_SEARCH_SELECT.SELECT_ITEM"))("findPlaceholder",e.lcZ(2,10,"SHARED_LIB.PERUN.COMPONENTS.SELECTION_ITEM_SEARCH_SELECT.FIND_ITEM"))("noEntriesText",e.lcZ(3,12,"SHARED_LIB.PERUN.COMPONENTS.SELECTION_ITEM_SEARCH_SELECT.NO_ITEM_FOUND"))},directives:[g.i],pipes:[f.X$],styles:[""]}),s})()},80275:(Ke,be,d)=>{"use strict";d.d(be,{j:()=>Te});var e=d(20449),f=d(84847),g=d(32075),T=d(36908),m=d(9244),A=d(5e3),s=d(30325),b=d(18750),O=d(29772),E=d(77446),h=d(50301),k=d(69808),L=d(98380),V=d(51062),$=d(34447);let ue=(()=>{class ee{transform(Oe){const Ie=Oe.find(He=>"mail"===He.friendlyName);return Ie?Ie.value.toString():"N/A"}}return ee.\u0275fac=function(Oe){return new(Oe||ee)},ee.\u0275pipe=A.Yjl({name:"getMailFromAttributes",type:ee,pure:!0}),ee})();function ce(ee,R){1&ee&&A._UZ(0,"th",18)}function Le(ee,R){if(1&ee){const Oe=A.EpF();A.TgZ(0,"td",19),A.TgZ(1,"span",20),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.TgZ(4,"mat-checkbox",21),A.NdJ("change",function(He){const Ce=A.CHM(Oe).$implicit,Ve=A.oxw();return He?Ve.selection.toggle(Ce):null})("click",function(He){return He.stopPropagation()}),A.qZA(),A.qZA(),A.qZA()}if(2&ee){const Oe=R.$implicit,Ie=A.oxw();A.xp6(1),A.s9C("matTooltip",A.lcZ(2,6,A.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.CANNOT_BE_DELETED_TOOLTIP"))),A.Q6J("matTooltipPosition","above")("matTooltipDisabled",!Oe.userExtSource.persistent),A.xp6(3),A.Q6J("aria-label",Ie.checkboxLabel(Oe))("checked",Ie.selection.isSelected(Oe))("disabled",Oe.userExtSource.persistent)}}function de(ee,R){1&ee&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&ee&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))," "))}function ke(ee,R){if(1&ee&&(A.TgZ(0,"td",23),A._uU(1),A.qZA()),2&ee){const Oe=R.$implicit;A.xp6(1),A.hij(" ",Oe.userExtSource.id," ")}}function ae(ee,R){1&ee&&(A.TgZ(0,"th",24),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&ee&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))," "))}function j(ee,R){if(1&ee&&(A.TgZ(0,"td",23),A._uU(1),A.ALo(2,"getMailFromAttributes"),A.qZA()),2&ee){const Oe=R.$implicit;A.xp6(1),A.hij(" ",A.lcZ(2,1,Oe.attributes)," ")}}function H(ee,R){if(1&ee&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&ee){const Oe=A.oxw();A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,Oe.extSourceNameHeader?Oe.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME"))," ")}}function Q(ee,R){if(1&ee&&(A.TgZ(0,"td",23),A._uU(1),A.qZA()),2&ee){const Oe=R.$implicit;A.xp6(1),A.hij(" ",Oe.userExtSource.extSource.name," ")}}function te(ee,R){if(1&ee&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&ee){const Oe=A.oxw();A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,Oe.loginHeader?Oe.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN"))," ")}}function se(ee,R){if(1&ee&&(A.TgZ(0,"td",23),A._uU(1),A.qZA()),2&ee){const Oe=R.$implicit;A.xp6(1),A.hij(" ",Oe.userExtSource.login," ")}}function ge(ee,R){1&ee&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&ee&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))," "))}function Ne(ee,R){if(1&ee&&(A.TgZ(0,"td",25),A._uU(1),A.ALo(2,"date"),A.qZA()),2&ee){const Oe=R.$implicit;A.xp6(1),A.hij(" ",A.xi3(2,1,Oe.userExtSource.lastAccess,"d.M.y H:mm:ss")," ")}}function Fe(ee,R){1&ee&&A._UZ(0,"tr",26)}const ne=function(ee,R){return["/admin","users",ee,"identities",R]};function Me(ee,R){if(1&ee&&A._UZ(0,"tr",27),2&ee){const Oe=R.$implicit,Ie=A.oxw();A.ekj("cursor-pointer",!Ie.disableRouting)("disable-outline",Ie.disableRouting),A.Q6J("perunWebAppsMiddleClickRouterLink",Ie.disableRouting?null:A.WLB(6,ne,Ie.userId,Oe.userExtSource.id))("routerLink",Ie.disableRouting?null:A.WLB(9,ne,Ie.userId,Oe.userExtSource.id))}}function ve(ee,R){1&ee&&(A.TgZ(0,"app-alert",28),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&ee&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function me(ee,R){1&ee&&(A.TgZ(0,"app-alert",28),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&ee&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let Te=(()=>{class ee{constructor(Oe,Ie){this.route=Oe,this.authResolver=Ie,this.selection=new e.Ov,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSizeOptions=m.f7}set matSort(Oe){this.sort=Oe,this.setDataSource()}ngOnInit(){this.disableRouting||this.route.parent.params.subscribe(Oe=>{this.userId=Oe.userId}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Oe=>"id"!==Oe)),this.dataSource=new g.by(this.userExtSources),this.setDataSource()}getDataForColumn(Oe,Ie){switch(Ie){case"id":return Oe.userExtSource.id.toString();case"mail":{const He=Oe.attributes.find(fe=>"mail"===fe.friendlyName);return He?He.value.toString():"N/A"}case"extSourceName":return Oe.userExtSource.extSource.name;case"login":return Oe.userExtSource.login;case"lastAccess":return Oe.userExtSource.lastAccess.split(".")[0];default:return Oe[Ie]}}exportData(Oe){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),Oe)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(Oe,Ie)=>(0,m.Sd)(Oe,Ie,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(Oe,Ie)=>(0,m.pR)(Oe,Ie,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(Oe){return`${this.selection.isSelected(Oe.userExtSource)?"deselect":"select"} row ${Oe.userExtSource.id+1}`}}return ee.\u0275fac=function(Oe){return new(Oe||ee)(A.Y36(s.gz),A.Y36(T.x4))},ee.\u0275cmp=A.Xpm({type:ee,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(Oe,Ie){if(1&Oe&&(A.Gf(m.l9,7),A.Gf(f.YE,7)),2&Oe){let He;A.iGM(He=A.CRH())&&(Ie.child=He.first),A.iGM(He=A.CRH())&&(Ie.matSort=He.first)}},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",tableId:"tableId",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},features:[A.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","extSourceName"],["matColumnDef","login"],["matColumnDef","lastAccess",1,"pl-3"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(Oe,Ie){1&Oe&&(A.TgZ(0,"div",0),A.TgZ(1,"perun-web-apps-table-wrapper",1),A.NdJ("exportData",function(fe){return Ie.exportData(fe)}),A.TgZ(2,"table",2),A.ynx(3,3),A.YNc(4,ce,1,0,"th",4),A.YNc(5,Le,5,10,"td",5),A.BQk(),A.ynx(6,6),A.YNc(7,de,4,5,"th",7),A.YNc(8,ke,2,1,"td",8),A.BQk(),A.ynx(9,9),A.YNc(10,ae,4,5,"th",10),A.YNc(11,j,3,3,"td",8),A.BQk(),A.ynx(12,11),A.YNc(13,H,4,5,"th",7),A.YNc(14,Q,2,1,"td",8),A.BQk(),A.ynx(15,12),A.YNc(16,te,4,5,"th",7),A.YNc(17,se,2,1,"td",8),A.BQk(),A.ynx(18,13),A.YNc(19,ge,4,5,"th",7),A.YNc(20,Ne,3,4,"td",14),A.BQk(),A.YNc(21,Fe,1,0,"tr",15),A.YNc(22,Me,1,12,"tr",16),A.qZA(),A.qZA(),A.qZA(),A.YNc(23,ve,3,3,"app-alert",17),A.YNc(24,me,4,5,"app-alert",17)),2&Oe&&(A.Q6J("hidden",0===Ie.userExtSources.length||0===Ie.dataSource.filteredData.length),A.xp6(1),A.Q6J("tableId",Ie.tableId)("dataLength",Ie.dataSource.filteredData.length)("pageSizeOptions",Ie.pageSizeOptions),A.xp6(1),A.Q6J("dataSource",Ie.dataSource),A.xp6(19),A.Q6J("matHeaderRowDef",Ie.displayedColumns),A.xp6(1),A.Q6J("matRowDefColumns",Ie.displayedColumns),A.xp6(1),A.Q6J("ngIf",0===Ie.dataSource.filteredData.length&&0!==Ie.userExtSources.length),A.xp6(1),A.Q6J("ngIf",0===Ie.userExtSources.length))},directives:[b.l,g.BZ,f.YE,g.w1,g.fO,g.ge,g.Dz,g.ev,O.gM,E.oG,f.nU,g.as,g.XQ,g.nj,g.Gk,h.YH,s.rH,k.O5,L.w],pipes:[V.X$,$.a,ue,k.uU],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),ee})()},74250:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>m});var e=d(5e3),f=d(9244),g=d(42377),T=d(51062);let m=(()=>{class A{constructor(){this.disableAutoSelect=!1,this.userSelected=new e.vpe,this.userFullNameFunction=f.bD}ngOnInit(){this.users=this.users.sort(f.fx)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275cmp=e.Xpm({type:A,selectors:[["perun-web-apps-user-search-select"]],inputs:{users:"users",disableAutoSelect:"disableAutoSelect"},outputs:{userSelected:"userSelected"},decls:4,vars:13,consts:[[3,"entities","disableAutoSelect","searchFunction","mainTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(b,O){1&b&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(h){return O.userSelected.emit(h)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&b&&e.Q6J("entities",O.users)("disableAutoSelect",O.disableAutoSelect)("searchFunction",O.userFullNameFunction)("mainTextFunction",O.userFullNameFunction)("selectPlaceholder",e.lcZ(1,7,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.SELECT_USER"))("findPlaceholder",e.lcZ(2,9,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.FIND_USER"))("noEntriesText",e.lcZ(3,11,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.NO_USER_FOUND"))},directives:[g.i],pipes:[T.X$],styles:[""]}),A})()},88561:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>rt});var e=d(20449),f=d(9244),g=d(84847),T=d(36908),m=d(36787),A=d(22868),s=d(5e3),b=d(10036),O=d(18750),E=d(69808),h=d(20773),k=d(32075),L=d(77446),V=d(25245),$=d(29772),ue=d(50301),ce=d(98380),Le=d(51062),de=d(31359),ke=d(9954),ae=d(16119),j=d(7598);function H(N,he){1&N&&(s.TgZ(0,"div",20),s._UZ(1,"mat-spinner",21),s.qZA())}function Q(N,he){if(1&N){const D=s.EpF();s.TgZ(0,"mat-checkbox",24),s.NdJ("change",function(I){s.CHM(D);const P=s.oxw(2);return I?P.masterToggle():null}),s.qZA()}if(2&N){const D=s.oxw(2);s.Q6J("aria-label",D.checkboxLabel())("checked",D.selection.hasValue()&&D.isAllSelected())("indeterminate",D.selection.hasValue()&&!D.isAllSelected())}}function te(N,he){if(1&N&&(s.TgZ(0,"th",22),s.YNc(1,Q,1,3,"mat-checkbox",23),s.qZA()),2&N){const D=s.oxw();s.xp6(1),s.Q6J("ngIf",D.selection.isMultipleSelection())}}function se(N,he){if(1&N){const D=s.EpF();s.TgZ(0,"td",25),s.TgZ(1,"mat-checkbox",26),s.NdJ("change",function(I){const i=s.CHM(D).$implicit,r=s.oxw();return I?r.selection.toggle(i):null})("click",function(I){return I.stopPropagation()}),s.qZA(),s.qZA()}if(2&N){const D=he.$implicit,S=s.oxw();s.xp6(1),s.Q6J("aria-label",S.checkboxLabel(D))("checked",S.selection.isSelected(D))}}function ge(N,he){1&N&&s._UZ(0,"th",27)}function Ne(N,he){1&N&&(s.TgZ(0,"mat-icon",31),s.ALo(1,"translate"),s._uU(2," account_circle "),s.qZA()),2&N&&s.s9C("matTooltip",s.lcZ(1,1,"MANAGERS_LIST.PERSON"))}function Fe(N,he){if(1&N&&(s._UZ(0,"mat-icon",32),s.ALo(1,"translate")),2&N){const D=s.oxw(2);s.s9C("matTooltip",s.lcZ(1,2,"MANAGERS_LIST.SERVICE")),s.Q6J("svgIcon",D.svgIcon)}}function ne(N,he){if(1&N&&(s.TgZ(0,"td",28),s.YNc(1,Ne,3,3,"mat-icon",29),s.YNc(2,Fe,2,4,"mat-icon",30),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Q6J("ngIf",!D.serviceUser),s.xp6(1),s.Q6J("ngIf",D.serviceUser)}}function Me(N,he){1&N&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"MANAGERS_LIST.ID")," "))}function ve(N,he){if(1&N&&(s.TgZ(0,"td",28),s._uU(1),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.hij(" ",D.id," ")}}function me(N,he){1&N&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"MANAGERS_LIST.NAME")," "))}function Te(N,he){if(1&N&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userFullName"),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,D))}}function ee(N,he){1&N&&(s.TgZ(0,"th",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MANAGERS_LIST.ORGANIZATION")))}function R(N,he){if(1&N&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userVo"),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,D))}}function Oe(N,he){1&N&&(s.TgZ(0,"th",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MANAGERS_LIST.EMAIL")))}function Ie(N,he){if(1&N&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userEmail"),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,D))}}function He(N,he){1&N&&(s.TgZ(0,"th",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MANAGERS_LIST.LOGINS")))}function fe(N,he){if(1&N&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userLogins"),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,D))}}function Ce(N,he){1&N&&s._UZ(0,"tr",35)}const Ve=function(N){return["/admin/users",N]};function Xe(N,he){if(1&N&&s._UZ(0,"tr",36),2&N){const D=he.$implicit,S=s.oxw();s.ekj("cursor-pointer",!S.disableRouting),s.Q6J("perunWebAppsForceRouterLink",S.disableRouting?null:s.VKq(4,Ve,D.id))("perunWebAppsMiddleClickRouterLink",S.disableRouting?null:s.VKq(6,Ve,D.id))}}function tt(N,he){1&N&&(s.TgZ(0,"app-alert",37),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.Q6J("alert_type","warn"),s.xp6(1),s.hij(" ",s.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n"))}let rt=(()=>{class N{constructor(D,S,I,P){this.authResolver=D,this.tableCheckbox=S,this.tableConfigService=I,this.dynamicPaginatingService=P,this.svgIcon="perun-service-identity-black",this.selection=new e.Ov(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.disableRouting=!1,this.searchString="",this.attrNames=[],this.pageSizeOptions=f.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,m.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,A.b)(()=>this.loadUsersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(D=>"id"!==D)),this.dataSource=new T.Hy(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadUsers(this.attrNames,this.tableConfigService.getTablePageSize(this.tableId),0,"ASCENDING","NAME",this.searchString,this.withoutVo,this.facilityId,this.voId,this.resourceId,this.serviceId,this.onlyAllowed)}ngOnChanges(){this.dataSource&&(this.child.paginator.pageIndex=0,this.loadUsersPage())}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.getData().forEach(D=>this.selection.select(D))}isAllSelected(){return this.selection.selected.length===this.child.paginator.pageSize}checkboxLabel(D){return D?`${this.selection.isSelected(D)?"deselect":"select"} row ${D.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}loadUsersPage(){this.dataSource.loadUsers(this.attrNames,this.child.paginator.pageSize,this.child.paginator.pageIndex,"asc"===this.sort.direction?"ASCENDING":"DESCENDING","name"===this.sort.active?"NAME":"ID",this.searchString,this.withoutVo,this.facilityId,this.voId,this.resourceId,this.serviceId,this.onlyAllowed)}exportData(D){(0,f.O6)((0,f.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),D)}getExportDataForColumn(D,S){switch(S){case"id":return D.id.toString();case"user":return D.serviceUser?"service-user":"user";case"name":return D?(0,f.bD)(D):"";case"organization":return(0,f.OV)(D);case"email":return(0,f.kN)(D);case"logins":return(0,f.lt)(D);default:return""}}}return N.\u0275fac=function(D){return new(D||N)(s.Y36(T.x4),s.Y36(T.UA),s.Y36(b.dB),s.Y36(T.ly))},N.\u0275cmp=s.Xpm({type:N,selectors:[["perun-web-apps-users-dynamic-list"]],viewQuery:function(D,S){if(1&D&&(s.Gf(f.l9,7),s.Gf(g.YE,5)),2&D){let I;s.iGM(I=s.CRH())&&(S.child=I.first),s.iGM(I=s.CRH())&&(S.sort=I.first)}},inputs:{selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",disableRouting:"disableRouting",searchString:"searchString",attrNames:"attrNames",withoutVo:"withoutVo",updateTable:"updateTable",facilityId:"facilityId",voId:"voId",resourceId:"resourceId",serviceId:"serviceId",onlyAllowed:"onlyAllowed"},features:[s.TTD],decls:31,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","user"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["class","align-bottom",3,"matTooltip",4,"ngIf"],["class","align-bottom",3,"matTooltip","svgIcon",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],[1,"align-bottom",3,"matTooltip","svgIcon"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink"],[3,"alert_type"]],template:function(D,S){1&D&&(s.TgZ(0,"div",0),s.ALo(1,"async"),s.TgZ(2,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(P){return S.exportData(P)}),s.YNc(3,H,2,0,"div",2),s.ALo(4,"async"),s.TgZ(5,"table",3),s.ynx(6,4),s.YNc(7,te,2,1,"th",5),s.YNc(8,se,2,2,"td",6),s.BQk(),s.ynx(9,7),s.YNc(10,ge,1,0,"th",8),s.YNc(11,ne,3,2,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,Me,3,3,"th",11),s.YNc(14,ve,2,1,"td",9),s.BQk(),s.ynx(15,12),s.YNc(16,me,3,3,"th",11),s.YNc(17,Te,3,3,"td",13),s.BQk(),s.ynx(18,14),s.YNc(19,ee,3,3,"th",8),s.YNc(20,R,3,3,"td",13),s.BQk(),s.ynx(21,15),s.YNc(22,Oe,3,3,"th",8),s.YNc(23,Ie,3,3,"td",13),s.BQk(),s.ynx(24,16),s.YNc(25,He,3,3,"th",8),s.YNc(26,fe,3,3,"td",13),s.BQk(),s.YNc(27,Ce,1,0,"tr",17),s.YNc(28,Xe,1,8,"tr",18),s.qZA(),s.qZA(),s.qZA(),s.YNc(29,tt,3,4,"app-alert",19),s.ALo(30,"async")),2&D&&(s.Q6J("hidden",0===S.dataSource.allObjectCount&&!1===s.lcZ(1,9,S.dataSource.loading$)),s.xp6(2),s.Q6J("tableId",S.tableId)("dataLength",S.dataSource.allObjectCount)("pageSizeOptions",S.pageSizeOptions),s.xp6(1),s.Q6J("ngIf",s.lcZ(4,11,S.dataSource.loading$)),s.xp6(2),s.Q6J("dataSource",S.dataSource),s.xp6(22),s.Q6J("matHeaderRowDef",S.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",S.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===S.dataSource.allObjectCount&&!1===s.lcZ(30,13,S.dataSource.loading$)))},directives:[O.l,E.O5,h.$g,k.BZ,g.YE,k.w1,k.fO,k.ge,L.oG,k.Dz,k.ev,V.Hw,$.gM,g.nU,k.as,k.XQ,k.nj,k.Gk,ue.Kd,ue.YH,ce.w],pipes:[E.Ov,Le.X$,de.d,ke.Z,ae.S,j.g],styles:[".italic_font[_ngcontent-%COMP%]{font-style:italic}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),N})()},62707:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>T});var e=d(5e3),f=d(42377),g=d(51062);let T=(()=>{class m{constructor(){this.voSelected=new e.vpe,this.nameFunction=s=>s.name,this.shortNameFunction=s=>s.shortName,this.searchFunction=s=>s.name+s.shortName+s.id}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275cmp=e.Xpm({type:m,selectors:[["perun-web-apps-vo-search-select"]],inputs:{vo:"vo",vos:"vos"},outputs:{voSelected:"voSelected"},decls:4,vars:14,consts:[[3,"entity","entities","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(s,b){1&s&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(E){return b.voSelected.emit(E)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&s&&e.Q6J("entity",b.vo)("entities",b.vos)("searchFunction",b.searchFunction)("mainTextFunction",b.nameFunction)("secondaryTextFunction",b.shortNameFunction)("selectPlaceholder",e.lcZ(1,8,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.SELECT_VO"))("findPlaceholder",e.lcZ(2,10,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.FIND_VO"))("noEntriesText",e.lcZ(3,12,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.NO_VO_FOUND"))},directives:[f.i],pipes:[g.X$],styles:[""]}),m})()},87831:(Ke,be,d)=>{"use strict";d.d(be,{Z:()=>Fe});var e=d(84847),f=d(32075),g=d(9244),T=d(36908),m=d(5e3),A=d(18750),s=d(77446),b=d(10441),O=d(50301),E=d(30325),h=d(69808),k=d(98380),L=d(51062);function V(ne,Me){1&ne&&m._UZ(0,"th",18)}function $(ne,Me){if(1&ne){const ve=m.EpF();m.TgZ(0,"td",19),m.TgZ(1,"mat-checkbox",20),m.NdJ("change",function(Te){const R=m.CHM(ve).$implicit,Oe=m.oxw();return Te?Oe.selection.toggle(R):null})("click",function(Te){return Te.stopPropagation()}),m.qZA(),m.qZA()}if(2&ne){const ve=Me.$implicit,me=m.oxw();m.xp6(1),m.Q6J("aria-label",me.checkboxLabel(ve))("checked",me.selection.isSelected(ve))}}function ue(ne,Me){1&ne&&(m.TgZ(0,"th",21),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ne&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.ID")," "))}function ce(ne,Me){if(1&ne&&(m.TgZ(0,"td",22),m._uU(1),m.qZA()),2&ne){const ve=Me.$implicit;m.xp6(1),m.Oqu(ve.id)}}function Le(ne,Me){1&ne&&m._UZ(0,"th",23)}function de(ne,Me){if(1&ne&&(m.TgZ(0,"td",24),m._UZ(1,"perun-web-apps-recently-viewed-icon",25),m.qZA()),2&ne){const ve=Me.$implicit,me=m.oxw();m.xp6(1),m.Q6J("recentIds",me.recentIds)("id",ve.id)}}function ke(ne,Me){1&ne&&(m.TgZ(0,"th",21),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ne&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.SHORTNAME")," "))}function ae(ne,Me){if(1&ne&&(m.TgZ(0,"td",24),m._uU(1),m.qZA()),2&ne){const ve=Me.$implicit;m.uIk("data-cy",ve.shortName),m.xp6(1),m.Oqu(ve.shortName)}}function j(ne,Me){1&ne&&(m.TgZ(0,"th",21),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ne&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.NAME")," "))}function H(ne,Me){if(1&ne&&(m.TgZ(0,"td",24),m._uU(1),m.qZA()),2&ne){const ve=Me.$implicit;m.xp6(1),m.Oqu(ve.name)}}function Q(ne,Me){1&ne&&m._UZ(0,"tr",26)}const te=function(ne){return["/organizations",ne]};function se(ne,Me){if(1&ne&&m._UZ(0,"tr",27),2&ne){const ve=Me.$implicit,me=m.oxw();m.ekj("disable-outline",me.disableRouting),m.Q6J("perunWebAppsMiddleClickRouterLink",me.disableRouting?null:m.VKq(4,te,ve.id))("routerLink",me.disableRouting?null:m.VKq(6,te,ve.id))}}function ge(ne,Me){1&ne&&(m.TgZ(0,"app-alert",28),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ne&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Ne(ne,Me){1&ne&&(m.TgZ(0,"app-alert",29),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ne&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_ORGANIZATIONS"),"\n"))}let Fe=(()=>{class ne{constructor(ve){this.authResolver=ve,this.vos=[],this.displayedColumns=[],this.disableRouting=!1,this.pageSizeOptions=g.f7}set matSort(ve){this.sort=ve}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(ve=>"id"!==ve)),this.setDataSource()}getDataForColumn(ve,me,Te){switch(me){case"id":return ve.id.toString();case"shortName":return ve.shortName;case"name":return ve.name;case"recent":return Te.recentIds&&Te.recentIds.indexOf(ve.id)>-1?"#".repeat(Te.recentIds.indexOf(ve.id)):ve.name;default:return ve[me]}}exportData(ve){(0,g.O6)((0,g.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),ve)}setDataSource(){this.dataSource||(this.dataSource=new f.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(ve,me)=>(0,g.Sd)(ve,me,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(ve,me)=>(0,g.pR)(ve,me,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.vos}checkboxLabel(ve){return`${this.selection.isSelected(ve)?"deselect":"select"} row ${ve.id+1}`}}return ne.\u0275fac=function(ve){return new(ve||ne)(m.Y36(T.x4))},ne.\u0275cmp=m.Xpm({type:ne,selectors:[["perun-web-apps-vos-list"]],viewQuery:function(ve,me){if(1&ve&&(m.Gf(e.YE,7),m.Gf(g.l9,7)),2&ve){let Te;m.iGM(Te=m.CRH())&&(me.matSort=Te.first),m.iGM(Te=m.CRH())&&(me.child=Te.first)}},inputs:{vos:"vos",recentIds:"recentIds",filterValue:"filterValue",selection:"selection",displayedColumns:"displayedColumns",disableRouting:"disableRouting",pageSizeOptions:"pageSizeOptions",tableId:"tableId"},features:[m.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","shortName"],["matColumnDef","name"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn","data-cy","no-filter-result",4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn","data-cy","no-filter-result"],["alert_type","warn"]],template:function(ve,me){1&ve&&(m.TgZ(0,"div",0),m.TgZ(1,"perun-web-apps-table-wrapper",1),m.NdJ("exportData",function(ee){return me.exportData(ee)}),m.TgZ(2,"table",2),m.ynx(3,3),m.YNc(4,V,1,0,"th",4),m.YNc(5,$,2,2,"td",5),m.BQk(),m.ynx(6,6),m.YNc(7,ue,3,3,"th",7),m.YNc(8,ce,2,1,"td",8),m.BQk(),m.ynx(9,9),m.YNc(10,Le,1,0,"th",10),m.YNc(11,de,2,2,"td",11),m.BQk(),m.ynx(12,12),m.YNc(13,ke,3,3,"th",7),m.YNc(14,ae,2,2,"td",11),m.BQk(),m.ynx(15,13),m.YNc(16,j,3,3,"th",7),m.YNc(17,H,2,1,"td",11),m.BQk(),m.YNc(18,Q,1,0,"tr",14),m.YNc(19,se,1,8,"tr",15),m.qZA(),m.qZA(),m.qZA(),m.YNc(20,ge,3,3,"app-alert",16),m.YNc(21,Ne,3,3,"app-alert",17)),2&ve&&(m.Q6J("hidden",0===me.dataSource.filteredData.length||0===me.vos.length),m.xp6(1),m.Q6J("dataLength",me.dataSource.filteredData.length)("tableId",me.tableId)("pageSizeOptions",me.pageSizeOptions),m.xp6(1),m.Q6J("dataSource",me.dataSource),m.xp6(16),m.Q6J("matHeaderRowDef",me.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",me.displayedColumns),m.xp6(1),m.Q6J("ngIf",0===me.dataSource.filteredData.length&&0!==me.vos.length),m.xp6(1),m.Q6J("ngIf",0===me.vos.length))},directives:[A.l,f.BZ,e.YE,f.w1,f.fO,f.ge,f.Dz,f.ev,s.oG,e.nU,b.W,f.as,f.XQ,f.nj,f.Gk,O.YH,E.rH,h.O5,k.w],pipes:[L.X$],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important}.static-column-size[_ngcontent-%COMP%]{width:80px}.disable-outline[_ngcontent-%COMP%]{outline:none!important}tr[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),ne})()},84379:(Ke,be,d)=>{"use strict";d.d(be,{Wr:()=>It,r2:()=>Nt,gr:()=>_t,u3:()=>gt,Qu:()=>$t,pf:()=>j,xF:()=>Qt,hd:()=>Hi,kZ:()=>Li,wA:()=>pt,rd:()=>Te,Eg:()=>me,Bp:()=>Ve,qD:()=>Vi,jd:()=>Ci,FM:()=>D,Lc:()=>n,mk:()=>y,Tf:()=>oe}),d(19516);var f=d(28499),T=d(48966),m=d(9315),A=d(36908),s=d(5e3),b=d(51062),O=d(69808),E=d(20773),h=d(67322),k=d(74107),L=d(90508),V=d(47423),$=d(20551);function ue(Y,lt){1&Y&&s._UZ(0,"mat-spinner",6)}function ce(Y,lt){if(1&Y&&(s.TgZ(0,"mat-option",17),s._uU(1),s.ALo(2,"memberStatus"),s.qZA()),2&Y){const we=lt.$implicit;s.Q6J("value",we),s.xp6(1),s.Oqu(s.lcZ(2,2,we))}}function Le(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"mat-form-field",14),s.TgZ(1,"mat-label"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-select",15),s.NdJ("selectionChange",function(zt){return s.CHM(we),s.oxw(3).changeStatus(zt)}),s.YNc(5,ce,3,4,"mat-option",16),s.qZA(),s.qZA()}if(2&Y){const we=s.oxw(3);s.xp6(2),s.Oqu(s.lcZ(3,2,"DIALOGS.CHANGE_STATUS.SELECT_STATUS")),s.xp6(3),s.Q6J("ngForOf",we.allStatuses)}}function de(Y,lt){if(1&Y&&(s.TgZ(0,"div",8),s._uU(1),s.ALo(2,"translate"),s.YNc(3,Le,6,4,"mat-form-field",13),s.qZA()),2&Y){const we=s.oxw(2);s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," "),s.xp6(2),s.Q6J("ngIf",!we.loading)}}function ke(Y,lt){if(1&Y&&(s.TgZ(0,"div",8),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"memberStatus"),s.qZA()),2&Y){const we=s.oxw(2);s.xp6(1),s.AsE(" ",s.lcZ(2,2,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," ",s.lcZ(3,4,we.allStatuses[0])," ")}}function ae(Y,lt){if(1&Y&&(s.TgZ(0,"div",7),s.TgZ(1,"div",8),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"memberStatus"),s.qZA(),s.TgZ(5,"div",9),s._uU(6),s.qZA(),s.YNc(7,de,4,4,"div",10),s.YNc(8,ke,4,6,"div",10),s.TgZ(9,"div",11),s._UZ(10,"i",12),s.qZA(),s.qZA()),2&Y){const we=s.oxw();s.xp6(2),s.AsE(" ",s.lcZ(3,6,"DIALOGS.CHANGE_STATUS.CURRENT_STATUS")," ",s.lcZ(4,8,we.actualStatus)," "),s.xp6(4),s.Oqu(we.description),s.xp6(1),s.Q6J("ngIf",we.allStatuses.length>1),s.xp6(1),s.Q6J("ngIf",1===we.allStatuses.length),s.xp6(2),s.Q6J("innerHTML",we.changeMessage,s.oJD)}}let j=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi){this.dialogRef=we,this.data=ct,this.memberManager=zt,this.groupsManager=Jt,this.notificatorService=di,this.translate=Oi,this.loading=!1,this.allStatuses=["VALID","INVALID","EXPIRED","DISABLED"]}ngOnInit(){switch(this.data.groupId?(this.theme="group-theme",this.actualStatus=this.data.member.groupStatus):(this.theme="vo-theme",this.actualStatus=this.data.member.status),this.changeStatusButton=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_STATUS"),this.changeStatusWithExpButton=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_STATUS_WITH_EXPIRATION"),this.submitButtonText=this.changeStatusButton,this.data.groupId?("VALID"===this.actualStatus?(this.allStatuses=["EXPIRED"],this.selectedStatus="EXPIRED"):(this.allStatuses=["VALID"],this.selectedStatus="VALID"),this.submitButtonText=this.changeStatusWithExpButton,this.changeStatusMessage(this.actualStatus,this.selectedStatus)):this.allStatuses="INVALID"===this.actualStatus?["VALID","EXPIRED"]:this.allStatuses.filter(we=>we!==this.actualStatus),this.actualStatus){case"VALID":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.VALID_DESCRIPTION");break;case"INVALID":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.INVALID_DESCRIPTION");break;case"EXPIRED":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.EXPIRED_DESCRIPTION");break;case"DISABLED":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.DISABLED_DESCRIPTION");break;default:this.description=""}}changeStatus(we){this.selectedStatus=we.value,this.submitButtonText="VALID"===this.actualStatus&&"EXPIRED"===this.selectedStatus||"VALID"===this.actualStatus&&"DISABLED"===this.selectedStatus||"VALID"===this.selectedStatus?this.changeStatusWithExpButton:this.changeStatusButton,this.changeStatusMessage(this.actualStatus,this.selectedStatus)}changeStatusMessage(we,ct){if("VALID"===we)switch(ct){case"INVALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_VALID_TO_INVALID");break;case"EXPIRED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_VALID_TO_EXPIRED");break;case"DISABLED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_VALID_TO_DISABLED");break;default:this.changeMessage=""}else switch(ct){case"VALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_VALID");break;case"INVALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_INVALID");break;case"EXPIRED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_EXPIRED");break;case"DISABLED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_DISABLED");break;default:this.changeMessage=""}}cancel(){this.dialogRef.close()}submit(){this.loading=!0,this.data.groupId?this.groupsManager.setGroupsMemberStatus(this.data.member.id,this.data.groupId,this.selectedStatus).subscribe(we=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(ct=>{this.notificatorService.showSuccess(ct),this.dialogRef.close(we)})},()=>this.loading=!1):this.memberManager.setStatus(this.data.member.id,this.selectedStatus).subscribe(we=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(ct=>{this.notificatorService.showSuccess(ct),this.dialogRef.close(we)})},()=>this.loading=!1)}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.uq),s.Y36(m.ff),s.Y36(A.V6),s.Y36(b.sK))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-member-status-dialog"]],decls:12,vars:13,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-weight-bold","pb-1"],[1,"text-muted","pb-3"],["class","font-weight-bold pb-1",4,"ngIf"],[1,"text-muted","new-line"],[3,"innerHTML"],["class","mr-2 mt-2",4,"ngIf"],[1,"mr-2","mt-2"],[3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(we,ct){1&we&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,ue,1,0,"mat-spinner",1),s.YNc(5,ae,11,10,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return ct.cancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return ct.submit()}),s._uU(11),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.Tol(ct.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,"DIALOGS.CHANGE_STATUS.TITLE")),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"DIALOGS.CHANGE_STATUS.CANCEL")," "),s.xp6(2),s.Q6J("disabled",ct.loading||!ct.selectedStatus),s.xp6(1),s.hij(" ",ct.submitButtonText," "))},directives:[T.uh,O.O5,E.$g,T.xY,h.KE,h.hX,k.gD,O.sg,L.ey,T.H8,V.lW],pipes:[b.X$,$.l],styles:[".new-line[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),Y})();var H=d(93075),Q=d(98833);function te(Y,lt){1&Y&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_FACILITY")," "))}function se(Y,lt){1&Y&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_RESOURCE")," "))}function ge(Y,lt){1&Y&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_VO")," "))}function Ne(Y,lt){1&Y&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_GROUP")," "))}function Fe(Y,lt){1&Y&&s._UZ(0,"mat-spinner",8)}function ne(Y,lt){if(1&Y&&(s.TgZ(0,"mat-form-field"),s._UZ(1,"input",13),s.ALo(2,"translate"),s.qZA()),2&Y){const we=s.oxw(2);s.xp6(1),s.MGl("placeholder","",s.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SHORT_NAME"),":"),s.Q6J("value",we.shortName)}}function Me(Y,lt){if(1&Y&&(s.TgZ(0,"mat-form-field",14),s._UZ(1,"textarea",15),s.ALo(2,"translate"),s.qZA()),2&Y){const we=s.oxw(2);s.xp6(1),s.MGl("placeholder","",s.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.DESCRIPTION"),":"),s.Q6J("formControl",we.descriptionCtrl)}}function ve(Y,lt){if(1&Y&&(s.TgZ(0,"div",9),s.YNc(1,ne,3,4,"mat-form-field",10),s.TgZ(2,"mat-form-field"),s._UZ(3,"input",11),s.ALo(4,"translate"),s.TgZ(5,"mat-error"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.YNc(8,Me,3,4,"mat-form-field",12),s.qZA()),2&Y){const we=s.oxw();s.xp6(1),s.Q6J("ngIf",2===we.dialogType),s.xp6(2),s.MGl("placeholder","",s.lcZ(4,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.NAME"),":"),s.Q6J("formControl",we.nameCtrl),s.xp6(3),s.hij(" ",we.invalidNameMessage.length?we.invalidNameMessage:s.lcZ(7,7,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_NAME")," "),s.xp6(2),s.Q6J("ngIf",2!==we.dialogType)}}var me=(()=>{return(Y=me||(me={}))[Y.FACILITY=0]="FACILITY",Y[Y.RESOURCE=1]="RESOURCE",Y[Y.VO=2]="VO",Y[Y.GROUP=3]="GROUP",me;var Y})();let Te=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi,zi,mn,In){this.dialogRef=we,this.data=ct,this.notificator=zt,this.translateService=Jt,this.facilitiesManager=di,this.resourcesManager=Oi,this.groupsManager=zi,this.vosManager=mn,this.store=In,this.invalidNameMessage=this.data.dialogType===me.GROUP?this.store.get("group_name_error_message"):"",this.loading=!1,this.secondaryRegex=this.data.dialogType===me.GROUP?this.store.get("group_name_secondary_regex"):""}ngOnInit(){switch(this.theme=this.data.theme,this.dialogType=this.data.dialogType,this.dialogType){case me.FACILITY:this.nameCtrl=new H.NI(this.data.facility.name,[H.kI.required,H.kI.pattern(".*[\\S]+.*"),H.kI.maxLength(129)]),this.descriptionCtrl=new H.NI(this.data.facility.description);break;case me.RESOURCE:this.nameCtrl=new H.NI(this.data.resource.name,[H.kI.required,H.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new H.NI(this.data.resource.description);break;case me.GROUP:{const we=this.data.group.name.split(":");this.nameCtrl=new H.NI(we[we.length-1],[H.kI.required,H.kI.pattern(".*[\\S]+.*"),H.kI.pattern(this.secondaryRegex),H.kI.maxLength(129)]),this.descriptionCtrl=new H.NI(this.data.group.description);break}case me.VO:this.shortName=this.data.vo.shortName,this.nameCtrl=new H.NI(this.data.vo.name,[H.kI.required,H.kI.pattern(".*[\\S]+.*"),H.kI.maxLength(129)]),this.descriptionCtrl=new H.NI}}cancel(){this.dialogRef.close(!1)}submit(){switch(this.loading=!0,this.dialogType){case me.FACILITY:this.editFacility();break;case me.RESOURCE:this.editResource();break;case me.GROUP:this.editGroup();break;case me.VO:this.editVo()}}editResource(){this.data.resource.name=this.nameCtrl.value,this.data.resource.description=this.descriptionCtrl.value,this.resourcesManager.updateResource({resource:this.data.resource}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.RESOURCE_SUCCESS").subscribe(we=>{this.notificator.showSuccess(we),this.dialogRef.close(!0)})},()=>this.loading=!1)}editFacility(){this.data.facility.name=this.nameCtrl.value,this.data.facility.description=this.descriptionCtrl.value,this.facilitiesManager.updateFacility({facility:this.data.facility}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FACILITY_SUCCESS").subscribe(we=>{this.notificator.showSuccess(we),this.dialogRef.close(!0)})},()=>this.loading=!1)}editGroup(){this.groupsManager.getGroupById(this.data.group.id).subscribe(we=>{const ct=we;ct.name=this.nameCtrl.value,ct.description=this.descriptionCtrl.value,this.groupsManager.updateGroup({group:ct}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.GROUP_SUCCESS").subscribe(zt=>{this.notificator.showSuccess(zt),this.dialogRef.close(!0)})},()=>this.loading=!1)},()=>this.loading=!1)}editVo(){this.data.vo.name=this.nameCtrl.value,this.vosManager.updateVo({vo:this.data.vo}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.VO_SUCCESS").subscribe(we=>{this.notificator.showSuccess(we),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(A.V6),s.Y36(b.sK),s.Y36(m.IQ),s.Y36(m.xk),s.Y36(m.ff),s.Y36(m.YF),s.Y36(A.d6))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-edit-facility-resource-group-vo-dialog"]],decls:15,vars:16,consts:[["mat-dialog-title","",4,"ngIf"],["mat-dialog-content",""],["class","mr-auto ml-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["mat-dialog-title",""],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[4,"ngIf"],["matInput","","required","",3,"formControl","placeholder"],["class","mt-3",4,"ngIf"],["disabled","","matInput","","required","",3,"value","placeholder"],[1,"mt-3"],["mat-autosize","","matInput","",1,"overflow-hidden",3,"formControl","placeholder"]],template:function(we,ct){1&we&&(s.TgZ(0,"div"),s.YNc(1,te,3,3,"h1",0),s.YNc(2,se,3,3,"h1",0),s.YNc(3,ge,3,3,"h1",0),s.YNc(4,Ne,3,3,"h1",0),s.TgZ(5,"div",1),s.YNc(6,Fe,1,0,"mat-spinner",2),s.YNc(7,ve,9,9,"div",3),s.qZA(),s.TgZ(8,"div",4),s.TgZ(9,"button",5),s.NdJ("click",function(){return ct.cancel()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"button",6),s.NdJ("click",function(){return ct.submit()}),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.Tol(ct.theme),s.xp6(1),s.Q6J("ngIf",0===ct.dialogType),s.xp6(1),s.Q6J("ngIf",1===ct.dialogType),s.xp6(1),s.Q6J("ngIf",2===ct.dialogType),s.xp6(1),s.Q6J("ngIf",3===ct.dialogType),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading),s.xp6(3),s.hij(" ",s.lcZ(11,12,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.CANCEL_BUTTON")," "),s.xp6(2),s.Q6J("disabled",ct.loading||ct.nameCtrl.invalid||ct.descriptionCtrl.invalid),s.xp6(1),s.hij(" ",s.lcZ(14,14,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SUBMIT_BUTTON")," "))},directives:[O.O5,T.uh,T.xY,E.$g,h.KE,Q.Nt,H.Fj,H.Q7,H.JJ,H.oH,h.TO,T.H8,V.lW],pipes:[b.X$],styles:[""]}),Y})();var ee=d(64080),R=d(9244),Oe=d(25245);function Ie(Y,lt){1&Y&&s._UZ(0,"mat-spinner",8)}function He(Y,lt){if(1&Y&&(s.TgZ(0,"div",9),s.TgZ(1,"span"),s._uU(2),s.ALo(3,"translate"),s.TgZ(4,"b"),s._uU(5),s.qZA(),s.qZA(),s._UZ(6,"br"),s.TgZ(7,"span"),s._uU(8),s.ALo(9,"translate"),s.TgZ(10,"b"),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s._UZ(13,"br"),s.TgZ(14,"span"),s._uU(15),s.ALo(16,"translate"),s.TgZ(17,"b"),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.qZA(),s._UZ(20,"br"),s.TgZ(21,"span"),s._uU(22),s.ALo(23,"translate"),s.TgZ(24,"b"),s._uU(25),s.ALo(26,"translate"),s.qZA(),s.qZA(),s.qZA()),2&Y){const we=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,8,"DIALOGS.GROUP_SYNC_DETAIL.GROUP_NAME")," "),s.xp6(3),s.Oqu(we.group.name),s.xp6(3),s.hij(" ",s.lcZ(9,10,"DIALOGS.GROUP_SYNC_DETAIL.SYNCHRONIZATION")," "),s.xp6(3),s.Oqu(s.lcZ(12,12,we.getSynchronizationType())),s.xp6(4),s.hij(" ",s.lcZ(16,14,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_STATE")," "),s.xp6(3),s.Oqu(s.lcZ(19,16,we.getLastSyncState())),s.xp6(4),s.hij(" ",s.lcZ(23,18,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_TIME")," "),s.xp6(3),s.Oqu(s.lcZ(26,20,we.getLastSyncTime()))}}function fe(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"button",10),s.NdJ("click",function(){return s.CHM(we),s.oxw().onForceStructure()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&Y){const we=s.oxw();s.Q6J("disabled",we.loading),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE_STRUCTURE")," ")}}function Ce(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"button",10),s.NdJ("click",function(){return s.CHM(we),s.oxw().onForce()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&Y){const we=s.oxw();s.Q6J("disabled",we.loading),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE")," ")}}let Ve=(()=>{class Y{constructor(we,ct,zt,Jt){this.dialogRef=we,this.data=ct,this.groupService=zt,this.notificator=Jt,this.loading=!0}ngOnInit(){this.theme=this.data.theme,this.loadGroup()}onForceStructure(){this.loading=!0,this.groupService.forceGroupStructureSynchronization(this.data.groupId).subscribe(()=>{this.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.STRUCT_FORCE_SUCCESS"),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(null)}onForce(){this.loading=!0,this.isBasic()&&this.groupService.forceGroupSynchronization(this.group.id).subscribe(()=>{this.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.FORCE_SUCCESS"),this.refresh()},()=>this.loading=!1),this.isStructured()&&this.groupService.forceGroupStructureSynchronization(this.group.id).subscribe(()=>{this.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.FORCE_SUCCESS"),this.refresh()},()=>this.loading=!1)}getSynchronizationType(){return this.isBasic()?"DIALOGS.GROUP_SYNC_DETAIL.NORMAL_SYNC":this.isStructured()?"DIALOGS.GROUP_SYNC_DETAIL.STRUCT_SYNC":"N/A"}isBasic(){return"BASIC"===this.type}isStructured(){return"STRUCTURED"===this.type}getLastSyncState(){return this.isBasic()?""!==this.lastSyncState?this.lastSyncState:"OK":this.isStructured()?""!==this.lastStructSyncState?this.lastStructSyncState:"OK":"N/A"}getLastSyncTime(){return this.isBasic()?this.lastSyncTime:this.isStructured()?this.lastStructSyncTime:"N/A"}refresh(){this.loadGroup()}loadGroup(){this.loading=!0,this.groupService.getRichGroupByIdWithAttributesByNames(this.data.groupId,[ee.r.GROUP_SYNC_ENABLED,ee.r.GROUP_LAST_SYNC_STATE,ee.r.GROUP_LAST_SYNC_TIMESTAMP,ee.r.GROUP_STRUCTURE_SYNC_ENABLED,ee.r.GROUP_LAST_STRUCTURE_SYNC_STATE,ee.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(we=>{this.group=we,this.syncEnabled=(0,R.IL)(this.group.attributes,ee.r.GROUP_SYNC_ENABLED).value,this.lastSyncState=(0,R.IL)(this.group.attributes,ee.r.GROUP_LAST_SYNC_STATE).value,this.lastSyncTime=(0,R.IL)(this.group.attributes,ee.r.GROUP_LAST_SYNC_TIMESTAMP).value,this.structSyncEnabled=(0,R.IL)(this.group.attributes,ee.r.GROUP_STRUCTURE_SYNC_ENABLED).value,this.lastStructSyncState=(0,R.IL)(this.group.attributes,ee.r.GROUP_LAST_STRUCTURE_SYNC_STATE).value,this.lastStructSyncTime=(0,R.IL)(this.group.attributes,ee.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP).value,null!==this.syncEnabled&&"true"===this.syncEnabled&&(this.type="BASIC"),null!==this.structSyncEnabled&&this.structSyncEnabled&&(this.type="STRUCTURED"),this.loading=!1})}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.ff),s.Y36(A.V6))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-group-sync-detail-dialog"]],decls:16,vars:13,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-icon-button","",3,"click"],["class","ml-2","mat-flat-button","",3,"disabled","click",4,"ngIf"],["mat-flat-button","",1,"ml-2",3,"click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(we,ct){1&we&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Ie,1,0,"mat-spinner",1),s.YNc(5,He,27,22,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"div",4),s.TgZ(8,"button",5),s.NdJ("click",function(){return ct.refresh()}),s.TgZ(9,"mat-icon"),s._uU(10,"refresh"),s.qZA(),s.qZA(),s.YNc(11,fe,3,4,"button",6),s.YNc(12,Ce,3,4,"button",6),s.TgZ(13,"button",7),s.NdJ("click",function(){return ct.onCancel()}),s._uU(14),s.ALo(15,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.Tol(ct.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,"DIALOGS.GROUP_SYNC_DETAIL.TITLE")),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading),s.xp6(6),s.Q6J("ngIf",ct.isStructured()),s.xp6(1),s.Q6J("ngIf",ct.isBasic()||ct.isStructured()),s.xp6(2),s.hij(" ",s.lcZ(15,11,"DIALOGS.GROUP_SYNC_DETAIL.CANCEL")," "))},directives:[T.uh,O.O5,E.$g,T.xY,T.H8,V.lW,Oe.Hw],pipes:[b.X$],styles:[""]}),Y})();function Xe(Y,lt){1&Y&&s._UZ(0,"mat-spinner",7)}function tt(Y,lt){1&Y&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function rt(Y,lt){1&Y&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function N(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"div",8),s.TgZ(1,"mat-form-field"),s.TgZ(2,"mat-label"),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"input",9,10),s.NdJ("ngModelChange",function(zt){return s.CHM(we),s.oxw().subject=zt}),s.qZA(),s.YNc(7,tt,3,3,"mat-error",11),s.qZA(),s.TgZ(8,"mat-form-field"),s.TgZ(9,"mat-label"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"textarea",12,13),s.NdJ("ngModelChange",function(zt){return s.CHM(we),s.oxw().message=zt}),s.ALo(14,"translate"),s._uU(15," "),s.qZA(),s.YNc(16,rt,3,3,"mat-error",11),s.qZA(),s.qZA()}if(2&Y){const we=s.MAs(6),ct=s.MAs(13),zt=s.oxw();s.xp6(3),s.Oqu(s.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),s.xp6(2),s.Q6J("ngModel",zt.subject),s.xp6(2),s.Q6J("ngIf",we.invalid),s.xp6(3),s.Oqu(s.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),s.xp6(2),s.s9C("placeholder",s.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),s.Q6J("ngModel",zt.message),s.xp6(4),s.Q6J("ngIf",ct.invalid)}}let he=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi){this.dialogRef=we,this.translate=ct,this.notificator=zt,this.rtMessages=Jt,this.data=di,this.storeService=Oi,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(we=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+we.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const we=this.storeService.get("config");let ct=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(ct=ct.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),ct=ct.concat(this.data.error.message+"\nPerun instance: "+we+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const zt=/"password":".+?"/;let Jt=JSON.stringify(this.data.error.payload);Jt=Jt.replace(zt,'"password":"####"'),ct=ct.concat("Payload:\n"+Jt+"\n\n")}return ct=ct.concat("Sended from new Perun Gui, version: "+d(4147).i8),ct.split("\n").join("\n ")}parseMethod(we){return we&&this.methodRegexp.exec(we)[1]}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(b.sK),s.Y36(A.V6),s.Y36(m.Hr),s.Y36(T.WI),s.Y36(A.d6))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-bug-report-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"],["messageModel","ngModel"]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.YNc(3,Xe,1,0,"mat-spinner",1),s.YNc(4,N,17,13,"div",2),s.TgZ(5,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"button",5),s.NdJ("click",function(){return ct.dialogRef.close()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",6),s.NdJ("click",function(){return ct.sendBugReport()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(s.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading),s.xp6(4),s.hij(" ",s.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),s.xp6(2),s.Q6J("disabled",""===ct.message||""===ct.subject||ct.loading),s.xp6(1),s.hij(" ",s.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[T.uh,O.O5,E.$g,T.xY,h.KE,h.hX,Q.Nt,H.Fj,H.Q7,H.JJ,H.On,h.TO,T.H8,V.lW],pipes:[b.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),Y})(),D=(()=>{class Y{constructor(we,ct,zt){this.dialogRef=we,this.dialog=ct,this.data=zt}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const we=(0,R.kZ)();we.width="550px",we.data={error:this.data.error},we.autoFocus=!1,this.dialog.open(he,we)}),this.dialogRef.close()}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.uw),s.Y36(T.WI))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-notification-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"hidden","click"],["autofocus","","mat-button","",1,"ml-2",3,"click"]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.qZA(),s.TgZ(2,"div",1),s._uU(3),s.qZA(),s.TgZ(4,"div",2),s.TgZ(5,"div",3),s.TgZ(6,"button",4),s.NdJ("click",function(){return ct.onBugReportClick()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",5),s.NdJ("click",function(){return ct.onCloseClick()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(ct.data.title),s.xp6(2),s.hij(" ",ct.data.description,"\n"),s.xp6(3),s.Q6J("hidden","error"!==ct.data.type),s.xp6(1),s.hij(" ",s.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),s.xp6(3),s.hij(" ",s.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[T.uh,T.xY,T.H8,V.lW],pipes:[b.X$],styles:[""]}),Y})();var S=d(32075),I=d(34447);function P(Y,lt){1&Y&&s._UZ(0,"mat-spinner",3)}function i(Y,lt){1&Y&&s._UZ(0,"th",15)}function r(Y,lt){if(1&Y&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&Y){const we=lt.$implicit;s.xp6(1),s.hij(" ",we.userExtSource.extSource.name," ")}}function p(Y,lt){1&Y&&s._UZ(0,"tr",17)}function o(Y,lt){1&Y&&s._UZ(0,"tr",18)}function t(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div",4),s.TgZ(2,"p"),s._uU(3),s.ALo(4,"translate"),s.ALo(5,"customTranslate"),s.qZA(),s.TgZ(6,"div",5),s._uU(7),s.ALo(8,"translate"),s.ALo(9,"customTranslate"),s.qZA(),s.TgZ(10,"table",6),s.ynx(11,7),s.YNc(12,i,1,0,"th",8),s.YNc(13,r,2,1,"td",9),s.BQk(),s.YNc(14,p,1,0,"tr",10),s.YNc(15,o,1,0,"tr",11),s.qZA(),s.qZA(),s.TgZ(16,"div",12),s.TgZ(17,"button",13),s.NdJ("click",function(){return s.CHM(we),s.oxw().onCancel()}),s._uU(18),s.ALo(19,"translate"),s.ALo(20,"customTranslate"),s.qZA(),s.TgZ(21,"button",14),s.NdJ("click",function(){return s.CHM(we),s.oxw().onSubmit()}),s._uU(22),s.ALo(23,"translate"),s.ALo(24,"customTranslate"),s.qZA(),s.qZA(),s.qZA()}if(2&Y){const we=s.oxw();s.xp6(3),s.hij(" ",s.lcZ(4,7,s.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),s.xp6(4),s.hij(" ",s.lcZ(8,11,s.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),s.xp6(3),s.Q6J("dataSource",we.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",we.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",we.displayedColumns),s.xp6(3),s.hij(" ",s.lcZ(19,15,s.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),s.xp6(4),s.hij(" ",s.lcZ(23,19,s.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let n=(()=>{class Y{constructor(we,ct,zt,Jt,di){this.dialogRef=we,this.data=ct,this.usersManagerService=zt,this.translate=Jt,this.notificator=di,this.force=!1,this.displayedColumns=["name"],Jt.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(Oi=>this.successMessage=Oi)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new S.by(this.data.extSources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.extSources.length?this.usersManagerService.removeUserExtSource(this.data.userId,this.data.extSources.pop().userExtSource.id,this.force).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):(this.loading=!1,this.data.showSuccess&&this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.Fv),s.Y36(b.sK),s.Y36(A.V6))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-remove-user-ext-source-dialog"]],decls:7,vars:10,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div"),s.YNc(5,P,1,0,"mat-spinner",1),s.YNc(6,t,25,23,"div",2),s.qZA()),2&we&&(s.xp6(1),s.hij(" ",s.lcZ(2,6,s.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE")),"\n"),s.xp6(3),s.Tol(ct.theme),s.xp6(1),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading))},directives:[T.uh,O.O5,E.$g,T.xY,S.BZ,S.w1,S.fO,S.ge,S.Dz,S.ev,S.as,S.XQ,S.nj,S.Gk,T.H8,V.lW],pipes:[b.X$,I.a],styles:[""]}),Y})();var c=d(74533),u=d(69287);let y=(()=>{class Y{constructor(we,ct){this.dialogRef=we,this.data=ct}ngOnInit(){this.value=this.data.value,this.title=this.data.title}onCancel(){this.dialogRef.close()}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-show-value-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","overflow-hidden"],["cdkTextareaAutosize","","matInput","","readonly","",1,"w-100","display-fix"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"cdkCopyToClipboard"]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.qZA(),s.TgZ(2,"div",1),s.TgZ(3,"textarea",2),s._uU(4),s.qZA(),s.qZA(),s.TgZ(5,"div",3),s.TgZ(6,"button",4),s.NdJ("click",function(){return ct.onCancel()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",5),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(ct.title),s.xp6(3),s.Oqu(ct.value),s.xp6(3),s.hij(" ",s.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),s.xp6(2),s.Q6J("cdkCopyToClipboard",ct.value),s.xp6(1),s.hij(" ",s.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[T.uh,T.xY,c.IC,Q.Nt,T.H8,V.lW,u.i3],pipes:[b.X$],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),Y})();function M(Y,lt){1&Y&&s._UZ(0,"th",12)}function re(Y,lt){if(1&Y&&(s.TgZ(0,"td",13),s._uU(1),s.qZA()),2&Y){const we=lt.$implicit;s.xp6(1),s.Oqu(we.displayName)}}function et(Y,lt){1&Y&&s._UZ(0,"tr",14)}function yt(Y,lt){1&Y&&s._UZ(0,"tr",15)}let pt=(()=>{class Y{constructor(we,ct,zt,Jt,di){this.dialogRef=we,this.data=ct,this.notificator=zt,this.translate=Jt,this.attributesManager=di,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new S.by(this.data.attributes)}onCancel(){this.dialogRef.close(!1)}onSubmit(){const we=[];for(const zt of this.data.attributes)we.push(zt.id);const ct={};switch(ct[this.data.entity]=this.data.entityId,ct.attributes=we,void 0!==this.data.secondEntity&&(ct[this.data.secondEntity]=this.data.secondEntityId),this.data.entity){case"vo":this.attributesManager.setVoAttributes({vo:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"group":"resource"===this.data.secondEntity?this.attributesManager.setGroupResourceAttributes({group:this.data.entityId,resource:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess()):this.attributesManager.setGroupAttributes({group:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"user":"facility"===this.data.secondEntity?this.attributesManager.setUserFacilityAttributes({user:this.data.entityId,facility:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess()):this.attributesManager.setUserAttributes({user:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"member":switch(this.data.secondEntity){case"resource":this.attributesManager.setMemberResourceAttributes({member:this.data.entityId,resource:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess());break;case"group":this.attributesManager.setMemberGroupAttributes({member:this.data.entityId,group:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess());break;default:this.attributesManager.setMemberAttributes({member:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()})}break;case"facility":this.attributesManager.setFacilityAttributes({facility:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"host":this.attributesManager.setHostAttributes({host:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"ues":this.attributesManager.setUserExtSourceAttributes({userExtSource:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"resource":this.attributesManager.setResourceAttributes({resource:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess())}}onSuccess(){this.translate.get("DIALOGS.EDIT_ATTRIBUTES.SUCCESS").subscribe(we=>{this.notificator.showSuccess(we),this.dialogRef.close(!0)})}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(A.V6),s.Y36(b.sK),s.Y36(m.H8))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-edit-attribute-dialog"]],decls:23,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"div"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"div",2),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"table",3),s.ynx(11,4),s.YNc(12,M,1,0,"th",5),s.YNc(13,re,2,1,"td",6),s.BQk(),s.YNc(14,et,1,0,"tr",7),s.YNc(15,yt,1,0,"tr",8),s.qZA(),s.qZA(),s.TgZ(16,"div",9),s.TgZ(17,"button",10),s.NdJ("click",function(){return ct.onCancel()}),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.TgZ(20,"button",11),s.NdJ("click",function(){return ct.onSubmit()}),s._uU(21),s.ALo(22,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(s.lcZ(2,8,"DIALOGS.EDIT_ATTRIBUTES.TITLE")),s.xp6(4),s.hij(" ",s.lcZ(6,10,"DIALOGS.EDIT_ATTRIBUTES.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(9,12,"DIALOGS.EDIT_ATTRIBUTES.ASK")," "),s.xp6(2),s.Q6J("dataSource",ct.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",ct.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",ct.displayedColumns),s.xp6(3),s.hij(" ",s.lcZ(19,14,"DIALOGS.EDIT_ATTRIBUTES.CANCEL")," "),s.xp6(3),s.hij(" ",s.lcZ(22,16,"DIALOGS.EDIT_ATTRIBUTES.SAVE")," "))},directives:[T.uh,T.xY,S.BZ,S.w1,S.fO,S.ge,S.Dz,S.ev,S.as,S.XQ,S.nj,S.Gk,T.H8,V.lW],pipes:[b.X$],styles:[""]}),Y})(),Nt=(()=>{class Y{constructor(we,ct){this.dialogRef=we,this.data=ct,this.attributeValue=""}ngOnInit(){this.attributeValue=this.data.attribute.value[this.data.index]}cancel(){this.dialogRef.close()}submit(){this.data.attribute.value[this.data.index]=this.attributeValue,this.dialogRef.close(!0)}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-attribute-value-list-edit-dialog"]],decls:13,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["cdkTextareaAutosize","true","matInput","",3,"ngModel","ngModelChange"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"]],template:function(we,ct){1&we&&(s.TgZ(0,"h5",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"mat-form-field"),s.TgZ(5,"textarea",2),s.NdJ("ngModelChange",function(Jt){return ct.attributeValue=Jt}),s.qZA(),s.qZA(),s.qZA(),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return ct.cancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return ct.submit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.hij(" ",s.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE"),"\n"),s.xp6(4),s.Q6J("ngModel",ct.attributeValue),s.xp6(3),s.hij(" ",s.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),s.xp6(3),s.hij(" ",s.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[T.uh,T.xY,h.KE,c.IC,Q.Nt,H.Fj,H.JJ,H.On,T.H8,V.lW],pipes:[b.X$],styles:[""]}),Y})(),It=(()=>{class Y{constructor(we,ct){this.dialogRef=we,this.data=ct}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-attribute-value-list-delete-dialog"]],decls:16,vars:13,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"mt-2","font-weight-bold"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"]],template:function(we,ct){1&we&&(s.TgZ(0,"h5",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"div"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"div",2),s._uU(8),s.qZA(),s.qZA(),s.TgZ(9,"div",3),s.TgZ(10,"button",4),s.NdJ("click",function(){return ct.cancel()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.TgZ(13,"button",5),s.NdJ("click",function(){return ct.submit()}),s._uU(14),s.ALo(15,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.hij(" ",s.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE"),"\n"),s.xp6(4),s.hij(" ",s.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),s.xp6(3),s.hij(" ",ct.data.name," "),s.xp6(3),s.hij(" ",s.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),s.xp6(3),s.hij(" ",s.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[T.uh,T.xY,T.H8,V.lW],pipes:[b.X$],styles:[""]}),Y})();var Zt=d(98380);function mt(Y,lt){if(1&Y&&(s.TgZ(0,"app-alert",9),s._uU(1),s.qZA()),2&Y){const we=s.oxw();s.xp6(1),s.Oqu(we.pendingEmailsMessage)}}function Ht(Y,lt){1&Y&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let _t=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi){this.dialogRef=we,this.data=ct,this.translate=zt,this.notificator=Jt,this.usersManagerService=di,this.authService=Oi,this.pendingMails=[],zt.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(zi=>this.successMessage=zi),zt.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(zi=>this.pendingEmailsMessageStart=zi),zt.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(zi=>this.pendingEmailsMessageEnd=zi)}ngOnInit(){this.emailControl=new H.NI(null,[H.kI.required,H.kI.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(we=>{this.pendingMails=we.filter((zt,Jt,di)=>Jt===di.indexOf(zt));let ct="";this.pendingMails.forEach(zt=>ct+=`${zt===this.pendingMails[0]?"":", "}${zt}`),console.log(ct),this.pendingEmailsMessage=this.pendingEmailsMessageStart+ct+this.pendingEmailsMessageEnd})}onCancel(){this.dialogRef.close()}onSubmit(){const ct=window.location.href.split("/");this.usersManagerService.requestPreferredEmailChange(this.data.userId,this.emailControl.value,this.translate.currentLang,"",ct[0]+"//"+ct[2],this.authService.getIdpFilter()).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(b.sK),s.Y36(A.V6),s.Y36(m.Fv),s.Y36(A.e8))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-email-dialog"]],decls:21,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],["alert_type","warn",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["alert_type","warn"]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div",1),s.YNc(5,mt,2,1,"app-alert",2),s.TgZ(6,"mat-form-field",3),s.TgZ(7,"label",3),s._UZ(8,"input",4),s.ALo(9,"translate"),s.ALo(10,"customTranslate"),s.qZA(),s.YNc(11,Ht,4,5,"mat-error",5),s.qZA(),s.qZA(),s.TgZ(12,"div",6),s.TgZ(13,"button",7),s.NdJ("click",function(){return ct.onCancel()}),s._uU(14),s.ALo(15,"translate"),s.ALo(16,"customTranslate"),s.qZA(),s.TgZ(17,"button",8),s.NdJ("click",function(){return ct.onSubmit()}),s._uU(18),s.ALo(19,"translate"),s.ALo(20,"customTranslate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(s.lcZ(2,8,s.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),s.xp6(4),s.Q6J("ngIf",ct.pendingMails.length),s.xp6(3),s.s9C("placeholder",s.lcZ(9,12,s.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),s.Q6J("formControl",ct.emailControl),s.xp6(3),s.Q6J("ngIf",ct.emailControl.invalid),s.xp6(3),s.hij(" ",s.lcZ(15,16,s.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),s.xp6(3),s.Q6J("disabled",!ct.emailControl.valid),s.xp6(1),s.hij(" ",s.lcZ(19,20,s.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[T.uh,T.xY,O.O5,Zt.w,h.KE,Q.Nt,H.Fj,H.Q7,H.JJ,H.oH,h.TO,T.H8,V.lW],pipes:[b.X$,I.a],styles:[""]}),Y})();function Je(Y,lt){1&Y&&s._UZ(0,"mat-spinner",6)}function Lt(Y,lt){1&Y&&s._UZ(0,"th",15)}function ht(Y,lt){if(1&Y&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&Y){const we=lt.$implicit;s.xp6(1),s.Oqu(we)}}function Rt(Y,lt){1&Y&&s._UZ(0,"tr",17)}function qe(Y,lt){1&Y&&s._UZ(0,"tr",18)}function Ye(Y,lt){if(1&Y&&(s.TgZ(0,"div",7),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",8),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",9),s.ynx(8,10),s.YNc(9,Lt,1,0,"th",11),s.YNc(10,ht,2,1,"td",12),s.BQk(),s.YNc(11,Rt,1,0,"tr",13),s.YNc(12,qe,1,0,"tr",14),s.qZA(),s.qZA()),2&Y){const we=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,we.data.description)," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),s.xp6(2),s.Q6J("dataSource",we.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",we.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",we.displayedColumns)}}let oe=(()=>{class Y{constructor(we,ct){this.dialogRef=we,this.data=ct,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new S.by(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-universal-remove-items-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(we,ct){1&we&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Je,1,0,"mat-spinner",1),s.YNc(5,Ye,13,9,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return ct.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return ct.onSubmit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.Tol(ct.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,ct.data.title)),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),s.xp6(2),s.Q6J("disabled",ct.loading),s.xp6(1),s.hij(" ",s.lcZ(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[T.uh,O.O5,E.$g,T.xY,S.BZ,S.w1,S.fO,S.ge,S.Dz,S.ev,S.as,S.XQ,S.nj,S.Gk,T.H8,V.lW],pipes:[b.X$],styles:[""]}),Y})();var Z=d(28258),G=d(90149);let X=(()=>{class Y{transform(we){const ct=we.split(":");return ct[ct.length-1]}}return Y.\u0275fac=function(we){return new(we||Y)},Y.\u0275pipe=s.Yjl({name:"parseGroupName",type:Y,pure:!0}),Y})();function _e(Y,lt){1&Y&&s._UZ(0,"mat-spinner",7)}function Ue(Y,lt){1&Y&&(s.TgZ(0,"app-alert"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.NO_PATHS")))}function wt(Y,lt){1&Y&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function Ut(Y,lt){1&Y&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}const Vt=function(Y){return{"min-width":Y}};function Dt(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"mat-tree-node",16),s.TgZ(1,"li",17),s.TgZ(2,"div",18),s.NdJ("click",function(){const Jt=s.CHM(we).$implicit;return s.oxw(3).navigate(Jt.id,Jt.include)}),s._UZ(3,"button",19),s.TgZ(4,"div",20),s.TgZ(5,"span"),s._uU(6),s.ALo(7,"parseGroupName"),s.qZA(),s.YNc(8,wt,3,3,"span",21),s.YNc(9,Ut,3,3,"span",21),s.qZA(),s.TgZ(10,"span",22),s._uU(11),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&Y){const we=lt.$implicit,ct=s.oxw(3);s.xp6(2),s.ekj("cursor-pointer",we.direct||we.include)("act-disabled",!we.direct&&!we.include),s.xp6(2),s.Q6J("ngStyle",s.VKq(11,Vt,ct.getMinWidth(we.level))),s.xp6(2),s.Oqu(s.lcZ(7,9,we.name)),s.xp6(2),s.Q6J("ngIf",we.direct),s.xp6(1),s.Q6J("ngIf",we.include),s.xp6(2),s.Oqu(we.description)}}function Et(Y,lt){1&Y&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function At(Y,lt){1&Y&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}function Ot(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"mat-nested-tree-node"),s.TgZ(1,"li"),s.TgZ(2,"div",17),s.TgZ(3,"button",24),s.TgZ(4,"mat-icon",25),s._uU(5),s.qZA(),s.qZA(),s.TgZ(6,"div",18),s.NdJ("click",function(){const Jt=s.CHM(we).$implicit;return s.oxw(3).navigate(Jt.id,Jt.include)}),s.TgZ(7,"div",20),s.TgZ(8,"span"),s._uU(9),s.ALo(10,"parseGroupName"),s.qZA(),s.YNc(11,Et,3,3,"span",21),s.YNc(12,At,3,3,"span",21),s.qZA(),s.TgZ(13,"span",22),s._uU(14),s.qZA(),s.qZA(),s.qZA(),s.TgZ(15,"ul"),s.GkF(16,26),s.qZA(),s.qZA(),s.qZA()}if(2&Y){const we=lt.$implicit,ct=s.oxw(3);s.xp6(3),s.uIk("aria-label","Toggle "+we.name),s.xp6(2),s.hij(" ",ct.treeControl.isExpanded(we)?"expand_more":"chevron_right"," "),s.xp6(1),s.ekj("cursor-pointer",we.direct||we.include)("act-disabled",!we.direct&&!we.include),s.xp6(1),s.Q6J("ngStyle",s.VKq(15,Vt,ct.getMinWidth(we.level))),s.xp6(2),s.Oqu(s.lcZ(10,13,we.name)),s.xp6(2),s.Q6J("ngIf",we.direct),s.xp6(1),s.Q6J("ngIf",we.include),s.xp6(2),s.Oqu(we.description),s.xp6(1),s.ekj("example-tree-invisible",!ct.treeControl.isExpanded(we))}}function Kt(Y,lt){if(1&Y&&(s.TgZ(0,"mat-tree",13),s.YNc(1,Dt,12,13,"mat-tree-node",14),s.YNc(2,Ot,17,17,"mat-nested-tree-node",15),s.qZA()),2&Y){const we=s.oxw(2);s.Q6J("dataSource",we.dataSource)("treeControl",we.treeControl),s.xp6(2),s.Q6J("matTreeNodeDefWhen",we.hasChild)}}function li(Y,lt){if(1&Y&&(s.TgZ(0,"div",8),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-form-field",9),s._UZ(5,"input",10),s.ALo(6,"translate"),s.qZA(),s.YNc(7,Ue,3,3,"app-alert",11),s.YNc(8,Kt,3,3,"mat-tree",12),s.qZA()),2&Y){const we=s.oxw();s.xp6(2),s.Oqu(s.lcZ(3,5,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INFO")),s.xp6(3),s.s9C("placeholder",s.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.FILTER")),s.Q6J("formControl",we.formControl),s.xp6(2),s.Q6J("ngIf",!we.dataSource.data.length),s.xp6(1),s.Q6J("ngIf",we.dataSource.data.length)}}const fi=function(Y){return{name:Y}};let Ci=(()=>{class Y{constructor(we,ct,zt){this.dialogRef=we,this.data=ct,this.groupsManagerService=zt,this.treeControl=new Z.VY(Jt=>Jt.children),this.dataSource=new G.WX,this.groupTree=[],this.paths=[],this.formControl=new H.NI(""),this.userName="",this.hasChild=(Jt,di)=>!!di.children&&di.children.length>0}recursiveSearch(we,ct,zt){for(let di=0;di{this.groupTree=this.recursiveSearch(this.groupTree,ct,0)}),this.groupTree.length&&(this.groupTree=this.groupTree[0].children)}ngOnInit(){this.loading=!0,this.groupsManagerService.getIndirectMembershipPaths(this.data.member.id,this.data.groupId).subscribe(we=>{this.paths=we,this.createGroupTree(this.paths),this.dataSource.data=this.groupTree,this.loading=!1}),this.formControl.valueChanges.subscribe(we=>{const ct=we.trim().toLowerCase(),zt=this.paths.filter(Jt=>Jt.filter(di=>di.name.includes(ct)).length);this.createGroupTree(zt),this.dataSource.data=this.groupTree}),this.userName=(0,R.bD)(this.data.member.user)}onCancel(){this.dialogRef.close()}navigate(we,ct=!1){window.open(`/organizations/${this.data.member.voId}/groups/${we}${ct?"/settings/relations":""}`,"_blank")}getMinWidth(we){return 400-40*we+"px"}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.ff))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-member-tree-view-dialog"]],decls:11,vars:11,consts:[[1,"group-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","mr-0",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-flat-button","",3,"click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"mr-0"],[1,"filter-field","ml-2"],["matInput","",3,"formControl","placeholder"],[4,"ngIf"],["class","example-tree",3,"dataSource","treeControl",4,"ngIf"],[1,"example-tree",3,"dataSource","treeControl"],["matTreeNodeToggle","",4,"matTreeNodeDef"],[4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle",""],[1,"mat-tree-node"],[1,"row","flex-nowrap",3,"click"],["mat-icon-button",""],[1,"mt-auto","mb-auto",3,"ngStyle"],["class","text-muted ml-2",4,"ngIf"],[1,"text-muted","ml-3"],[1,"text-muted","ml-2"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mr-3"],["matTreeNodeOutlet",""]],template:function(we,ct){1&we&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,_e,1,0,"mat-spinner",2),s.YNc(5,li,9,9,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"div",5),s.TgZ(8,"button",6),s.NdJ("click",function(){return ct.onCancel()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.xp6(2),s.hij(" ",s.xi3(3,4,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.TITLE",s.VKq(9,fi,ct.userName))," "),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading),s.xp6(4),s.hij(" ",s.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.CLOSE")," "))},directives:[T.uh,O.O5,E.$g,T.xY,h.KE,Q.Nt,H.Fj,H.JJ,H.oH,Zt.w,G.gi,G.fQ,G.uo,G.eu,V.lW,O.PC,G.GZ,Oe.Hw,G.Ar,T.H8],pipes:[b.X$,X],styles:[".example-tree-invisible[_ngcontent-%COMP%]{display:none}.example-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .example-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.act-disabled[_ngcontent-%COMP%]{pointer-events:none}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),Y})();var Si=d(30325);let Vi=(()=>{class Y{constructor(we,ct){this.dialogRef=we,this.router=ct}onClose(){this.router.navigate([]),this.dialogRef.close()}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(Si.F0))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-mail-change-failed-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["alert_type","error"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"app-alert",2),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.TgZ(7,"div",3),s.TgZ(8,"button",4),s.NdJ("click",function(){return ct.onClose()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.hij(" ",s.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE"),"\n"),s.xp6(4),s.Oqu(s.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),s.xp6(4),s.hij(" ",s.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[T.uh,T.xY,Zt.w,T.H8,V.lW],pipes:[b.X$],styles:[""]}),Y})();var nn=d(79814),$i=d(86856),Yi=d(62383);function bn(Y,lt){1&Y&&(s.TgZ(0,"mat-radio-button",16),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.VO_RULES")," "))}function Qi(Y,lt){1&Y&&(s.TgZ(0,"mat-radio-button",17),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.GROUP_RULES")," "))}function We(Y,lt){1&Y&&(s.TgZ(0,"app-alert",18),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.STATUS_CHANGE_INFO")))}let Tt=(()=>{class Y{constructor(we){this.dialogRef=we,this.canExtendMembership=!1,this.expirationChanged=new s.vpe,this.statusChange=new s.vpe,this.expirationControl=new H.NI(null)}ngOnInit(){const we=new Date;this.currentDate=(0,O.p6)(new Date(we.getFullYear(),we.getMonth(),we.getDate()),"yyyy-MM-dd","en_US"),"never"!==this.newExpiration&&this.expirationControl.setValue(this.newExpiration)}parseDate(we){return(0,O.p6)(we,"yyyy-MM-dd","en_US")}onChange(){"EXPIRED"===this.status&&("never"===this.newExpiration||this.parseDate(this.expirationControl.value)>this.currentDate)&&this.statusChange.emit(!0),this.expirationChanged.emit(this.newExpiration)}onCancel(){this.dialogRef.close({success:!1})}setExpiration(){this.newExpiration=(0,O.p6)(this.expirationControl.value,"yyyy-MM-dd","en"),this.expirationControl.setValue((0,O.p6)(this.expirationControl.value,"yyyy-MM-dd","en"))}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-expiration-dialog"]],inputs:{currentExpiration:"currentExpiration",newExpiration:"newExpiration",canExtendMembership:"canExtendMembership",minDate:"minDate",maxDate:"maxDate",mode:"mode",status:"status"},outputs:{expirationChanged:"expirationChanged",statusChange:"statusChange"},decls:37,vars:37,consts:[[1,"member-theme"],["mat-dialog-content",""],[1,"d-flex","flex-column",3,"ngModel","ngModelChange"],[3,"value"],["color","primary",1,"cursor-pointer",3,"click"],["readonly","","matInput","",1,"disable",3,"min","max","formControl","matDatepicker","dateChange"],["matSuffix","",3,"for","disabled"],[3,"disabled"],["picker",""],["class","bottom-padding","value","voRules",4,"ngIf"],["class","bottom-padding","value","groupRules",4,"ngIf"],["value","never"],["alert_type","info",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["value","voRules",1,"bottom-padding"],["value","groupRules",1,"bottom-padding"],["alert_type","info"]],template:function(we,ct){if(1&we){const zt=s.EpF();s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"p"),s.TgZ(3,"strong"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s._uU(6),s.ALo(7,"parseDate"),s.qZA(),s.TgZ(8,"p"),s.TgZ(9,"strong"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s._uU(12),s.ALo(13,"parseDate"),s.qZA(),s.TgZ(14,"mat-radio-group",2),s.NdJ("ngModelChange",function(di){return ct.newExpiration=di}),s.TgZ(15,"mat-radio-button",3),s.TgZ(16,"mat-form-field",4),s.NdJ("click",function(){return s.CHM(zt),s.MAs(23).open()}),s.TgZ(17,"mat-label"),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.TgZ(20,"input",5),s.NdJ("dateChange",function(){return ct.setExpiration()}),s.qZA(),s._UZ(21,"mat-datepicker-toggle",6),s._UZ(22,"mat-datepicker",7,8),s.qZA(),s.qZA(),s.YNc(24,bn,3,3,"mat-radio-button",9),s.YNc(25,Qi,3,3,"mat-radio-button",10),s.TgZ(26,"mat-radio-button",11),s._uU(27),s.ALo(28,"translate"),s.qZA(),s.qZA(),s.YNc(29,We,3,3,"app-alert",12),s.qZA(),s.TgZ(30,"div",13),s.TgZ(31,"button",14),s.NdJ("click",function(){return ct.onCancel()}),s._uU(32),s.ALo(33,"translate"),s.qZA(),s.TgZ(34,"button",15),s.NdJ("click",function(){return ct.onChange()}),s._uU(35),s.ALo(36,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&we){const zt=s.MAs(23);s.xp6(4),s.Oqu(s.lcZ(5,21,"DIALOGS.CHANGE_EXPIRATION.CURRENT_EXPIRATION")),s.xp6(2),s.hij(" ",s.lcZ(7,23,ct.currentExpiration)," "),s.xp6(4),s.Oqu(s.lcZ(11,25,"DIALOGS.CHANGE_EXPIRATION.NEW_EXPIRATION")),s.xp6(2),s.hij(" ",ct.newExpiration?s.lcZ(13,27,ct.newExpiration):"never"," "),s.xp6(2),s.Q6J("ngModel",ct.newExpiration),s.xp6(1),s.s9C("value",ct.expirationControl.value),s.xp6(3),s.Oqu(s.lcZ(19,29,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),s.xp6(2),s.Q6J("min",ct.minDate)("max",ct.maxDate)("formControl",ct.expirationControl)("matDatepicker",zt),s.xp6(1),s.Q6J("for",zt)("disabled",!1),s.xp6(1),s.Q6J("disabled",!1),s.xp6(2),s.Q6J("ngIf",ct.canExtendMembership&&"vo"===ct.mode),s.xp6(1),s.Q6J("ngIf",ct.canExtendMembership&&"group"===ct.mode),s.xp6(2),s.hij(" ",s.lcZ(28,31,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),s.xp6(2),s.Q6J("ngIf","EXPIRED"===ct.status&&("never"===ct.newExpiration||ct.parseDate(ct.expirationControl.value)>ct.currentDate)),s.xp6(3),s.hij(" ",s.lcZ(33,33,"DIALOGS.CHANGE_EXPIRATION.CANCEL")," "),s.xp6(2),s.Q6J("disabled",ct.expirationControl.invalid),s.xp6(1),s.hij(" ",s.lcZ(36,35,"DIALOGS.CHANGE_EXPIRATION.SAVE")," ")}},directives:[T.xY,nn.VQ,H.JJ,H.On,nn.U0,h.KE,h.hX,Q.Nt,H.Fj,$i.hl,H.oH,$i.nW,h.R9,$i.Mq,O.O5,Zt.w,T.H8,V.lW],pipes:[b.X$,Yi.M],styles:[".disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.bottom-padding[_ngcontent-%COMP%]{padding-bottom:20px} .mat-form-field.mat-focused .mat-form-field-underline{display:none}"]}),Y})();function Qe(Y,lt){1&Y&&s._UZ(0,"mat-spinner",4)}function Ze(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"perun-web-apps-change-expiration-dialog",5),s.NdJ("statusChange",function(){return s.CHM(we),s.oxw().changeStatus=!0})("expirationChanged",function(zt){return s.CHM(we),s.oxw().onExpirationChanged(zt)}),s.qZA()}if(2&Y){const we=s.oxw();s.Q6J("minDate",we.minDate)("maxDate",we.maxDate)("currentExpiration",we.currentExpiration)("newExpiration",we.newExpiration)("canExtendMembership",we.canExtendMembership)("mode","group")("status",we.status)}}let gt=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi,zi){this.dialogRef=we,this.data=ct,this.attributesManagerService=zt,this.memberManager=Jt,this.groupManager=di,this.translate=Oi,this.notificator=zi,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,Oi.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(mn=>this.successMessage=mn)}ngOnInit(){this.status=this.data.status,this.loading=!0;const we=new Date;"VALID"!==this.data.status?this.maxDate="EXPIRED"===this.data.status?void 0:new Date(we.getFullYear(),we.getMonth(),we.getDate()):this.minDate=new Date(we.getFullYear(),we.getMonth(),we.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&("VALID"!==this.data.status?(this.newExpiration=(0,O.p6)(we,"yyyy-MM-dd","en"),this.maxDate=we):this.newExpiration="never"),"VALID"===this.data.status?this.attributesManagerService.getGroupAttributeByName(this.data.groupId,ee.r.GROUP_DEF_EXPIRATION_RULES).subscribe(ct=>{null!==ct.value?this.groupManager.canExtendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(zt=>{this.canExtendMembership=!!zt,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(we){this.loading=!0,"groupRules"===we?this.groupManager.extendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0})},()=>this.loading=!1):(this.expirationAttr.value="never"===we?null:we,this.attributesManagerService.setMemberGroupAttributes({member:this.data.memberId,group:this.data.groupId,attributes:[this.expirationAttr]}).subscribe(()=>{this.changeStatus&&"EXPIRED"===this.status?this.groupManager.setGroupsMemberStatus(this.data.memberId,this.data.groupId,"VALID").subscribe(ct=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(zt=>{this.notificator.showSuccess(zt),this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0,member:ct})})},()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0}))},()=>this.loading=!1))}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.H8),s.Y36(m.uq),s.Y36(m.ff),s.Y36(b.sK),s.Y36(A.V6))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-group-expiration-dialog"]],decls:6,vars:5,consts:[[1,"member-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged"]],template:function(we,ct){1&we&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Qe,1,0,"mat-spinner",2),s.YNc(5,Ze,1,7,"perun-web-apps-change-expiration-dialog",3),s.qZA()),2&we&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.CHANGE_GROUP_EXPIRATION.TITLE")),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading))},directives:[T.uh,O.O5,E.$g,Tt],pipes:[b.X$],styles:[""]}),Y})();var F=d(13469);function Be(Y,lt){1&Y&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function ut(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"form",5),s.TgZ(1,"div",6),s.TgZ(2,"mat-form-field"),s.TgZ(3,"mat-label"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s._UZ(6,"input",7),s.TgZ(7,"mat-icon",8),s.NdJ("click",function(){s.CHM(we);const zt=s.oxw();return zt.showOldPassword=!zt.showOldPassword}),s._uU(8),s.qZA(),s.YNc(9,Be,3,3,"mat-error",9),s.qZA(),s._UZ(10,"perun-web-apps-password-form",10),s.qZA(),s.qZA()}if(2&Y){const we=s.oxw();s.Q6J("formGroup",we.formGroup),s.xp6(4),s.Oqu(s.lcZ(5,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.OLD_PASSWORD")),s.xp6(2),s.Q6J("type",we.showOldPassword?"text":"password"),s.xp6(2),s.hij(" ",we.showOldPassword?"visibility_off":"visibility"," "),s.xp6(1),s.Q6J("ngIf",we.oldPwd.hasError("required")),s.xp6(1),s.Q6J("formGroup",we.formGroup)("namespace",we.data.namespace)}}function Mt(Y,lt){1&Y&&s._UZ(0,"mat-spinner",11)}function ei(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"div",12),s.TgZ(1,"div",13),s.TgZ(2,"button",14),s.NdJ("click",function(){return s.CHM(we),s.oxw().close()}),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"button",15),s.NdJ("click",function(){return s.CHM(we),s.oxw().changePassword()}),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&Y){const we=s.oxw();s.xp6(3),s.hij(" ",s.lcZ(4,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CANCEL")," "),s.xp6(2),s.Q6J("disabled",we.formGroup.invalid||we.formGroup.pending),s.xp6(1),s.hij(" ",s.lcZ(7,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CHANGE")," ")}}let Qt=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi,zi){this.dialogRef=we,this.data=ct,this._formBuilder=zt,this.usersManagerService=Jt,this.apiRequestConfiguration=di,this.notificator=Oi,this.translate=zi,this.showOldPassword=!1,zi.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(mn=>this.successMessage=mn)}ngOnInit(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",H.kI.required],passwordCtrl:["",H.kI.required,[(0,f.yT)(this.data.namespace,this.usersManagerService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""]},{validators:R.dN.passwordMatchValidator}),this.oldPwd=this.formGroup.get("oldPasswordCtrl"),this.newPwd=this.formGroup.get("passwordCtrl"),this.newPwdAgain=this.formGroup.get("passwordAgainCtrl")}close(){this.dialogRef.close(!1)}changePassword(){this.loading=!0,this.usersManagerService.changePasswordForLogin(this.data.login,this.data.namespace,this.newPwd.value,this.oldPwd.value,!0).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)})}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(H.qu),s.Y36(m.Fv),s.Y36(A.F5),s.Y36(A.V6),s.Y36(b.sK))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-password-dialog"]],decls:7,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],[3,"formGroup",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[3,"formGroup"],[1,"display-flex"],["formControlName","oldPasswordCtrl","matInput","","required","",3,"type"],["matSuffix","",3,"click"],[4,"ngIf"],[3,"formGroup","namespace"],[1,"ml-auto","mr-auto"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.YNc(4,ut,11,9,"form",2),s.YNc(5,Mt,1,0,"mat-spinner",3),s.qZA(),s.YNc(6,ei,8,7,"div",4)),2&we&&(s.xp6(1),s.Oqu(s.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.TITLE")),s.xp6(3),s.Q6J("ngIf",!ct.loading),s.xp6(1),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading))},directives:[T.uh,T.xY,O.O5,H._Y,H.JL,H.sg,h.KE,h.hX,H.Fj,Q.Nt,H.JJ,H.u,H.Q7,Oe.Hw,h.R9,h.TO,F.G,E.$g,T.H8,V.lW],pipes:[b.X$],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}"]}),Y})();function Ri(Y,lt){1&Y&&s._UZ(0,"mat-spinner",4)}function bi(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"perun-web-apps-change-expiration-dialog",5),s.NdJ("statusChange",function(){return s.CHM(we),s.oxw().changeStatus=!0})("expirationChanged",function(zt){return s.CHM(we),s.oxw().onExpirationChanged(zt)}),s.qZA()}if(2&Y){const we=s.oxw();s.Q6J("minDate",we.minDate)("maxDate",we.maxDate)("currentExpiration",we.currentExpiration)("newExpiration",we.newExpiration)("canExtendMembership",we.canExtendMembership)("mode","vo")("status",we.status)}}let Li=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi){this.dialogRef=we,this.data=ct,this.attributesManagerService=zt,this.memberManager=Jt,this.translate=di,this.notificator=Oi,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,di.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(zi=>this.successMessage=zi)}ngOnInit(){this.status=this.data.status,this.loading=!0;const we=new Date;"VALID"!==this.data.status?this.maxDate="EXPIRED"===this.data.status?void 0:new Date(we.getFullYear(),we.getMonth(),we.getDate()):this.minDate=new Date(we.getFullYear(),we.getMonth(),we.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&("VALID"!==this.data.status?(this.newExpiration=(0,O.p6)(we,"yyyy-MM-dd","en"),this.maxDate=we):this.newExpiration="never"),"VALID"===this.data.status?this.attributesManagerService.getVoAttributeByName(this.data.voId,ee.r.VO_DEF_EXPIRATION_RULES).subscribe(ct=>{null!==ct.value?this.memberManager.canExtendMembership(this.data.memberId).subscribe(zt=>{this.canExtendMembership=!!zt,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(we){this.loading=!0,"voRules"===we?this.memberManager.extendMembership(this.data.memberId).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0})},()=>this.loading=!1):(this.expirationAttr.value="never"===we?null:we,this.attributesManagerService.setMemberAttribute({member:this.data.memberId,attribute:this.expirationAttr}).subscribe(()=>{this.changeStatus&&"EXPIRED"===this.status?this.memberManager.setStatus(this.data.memberId,"VALID").subscribe(ct=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(zt=>{this.notificator.showSuccess(zt),this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0,member:ct})})},()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0}))},()=>this.loading=!1))}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.H8),s.Y36(m.uq),s.Y36(b.sK),s.Y36(A.V6))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-vo-expiration-dialog"]],decls:6,vars:5,consts:[[1,"member-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged"]],template:function(we,ct){1&we&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Ri,1,0,"mat-spinner",2),s.YNc(5,bi,1,7,"perun-web-apps-change-expiration-dialog",3),s.qZA()),2&we&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.CHANGE_VO_EXPIRATION.TITLE")),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading))},directives:[T.uh,O.O5,E.$g,Tt],pipes:[b.X$],styles:[""]}),Y})();function Ji(Y,lt){1&Y&&s._UZ(0,"mat-spinner",4)}function Ni(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"perun-web-apps-change-expiration-dialog",5),s.NdJ("expirationChanged",function(zt){return s.CHM(we),s.oxw().onExpirationChanged(zt)}),s.qZA()}if(2&Y){const we=s.oxw();s.Q6J("minDate",we.minDate)("currentExpiration",we.currentExpiration)("newExpiration",we.newExpiration)("mode","sponsor")}}let Hi=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi,zi){this.dialogRef=we,this.data=ct,this.attributesManagerService=zt,this.memberManager=Jt,this.groupManager=di,this.translate=Oi,this.notificator=zi,this.loading=!1,Oi.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(mn=>this.successMessage=mn)}ngOnInit(){this.loading=!0,this.currentExpiration=this.data.sponsor.validityTo?this.data.sponsor.validityTo:"never",this.newExpiration=this.currentExpiration;const we=new Date;this.minDate=new Date(we.getFullYear(),we.getMonth(),we.getDate()),this.loading=!1}onExpirationChanged(we){this.loading=!0,this.memberManager.updateSponsorshipValidity(this.data.memberId,this.data.sponsor.user.id,"never"===we?null:we).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1)}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.H8),s.Y36(m.uq),s.Y36(m.ff),s.Y36(b.sK),s.Y36(A.V6))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-sponsorship-expiration-dialog"]],decls:6,vars:5,consts:[[1,"member-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"minDate","currentExpiration","newExpiration","mode","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","currentExpiration","newExpiration","mode","expirationChanged"]],template:function(we,ct){1&we&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Ji,1,0,"mat-spinner",2),s.YNc(5,Ni,1,4,"perun-web-apps-change-expiration-dialog",3),s.qZA()),2&we&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.CHANGE_SPONSORSHIP_EXPIRATION.TITLE")),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading))},directives:[T.uh,O.O5,E.$g,Tt],pipes:[b.X$],styles:[""]}),Y})();function pn(Y,lt){1&Y&&s._UZ(0,"mat-spinner",4)}function Pi(Y,lt){1&Y&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function Ti(Y,lt){1&Y&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function Ui(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"mat-radio-group",12),s.NdJ("ngModelChange",function(zt){return s.CHM(we),s.oxw(2).asyncValidation=zt}),s.TgZ(1,"span",13),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-radio-button",14),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"mat-radio-button",14),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA()}if(2&Y){const we=s.oxw(2);s.Q6J("ngModel",we.asyncValidation),s.xp6(2),s.hij(" ",s.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE")," : "),s.xp6(2),s.Q6J("value",!1),s.xp6(1),s.hij(" ",s.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),s.xp6(2),s.Q6J("value",!0),s.xp6(1),s.hij(" ",s.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function fn(Y,lt){1&Y&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function sn(Y,lt){1&Y&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function qi(Y,lt){if(1&Y&&(s.TgZ(0,"div",5),s.TgZ(1,"p",6),s._uU(2),s.TgZ(3,"span",7),s._uU(4),s.qZA(),s._uU(5),s.TgZ(6,"span",7),s._uU(7),s.qZA(),s.qZA(),s.TgZ(8,"p"),s.TgZ(9,"strong",8),s._uU(10),s.ALo(11,"translate"),s.qZA(),s._uU(12),s.qZA(),s.TgZ(13,"p"),s.TgZ(14,"strong",8),s._uU(15),s.ALo(16,"translate"),s.qZA(),s._uU(17),s.qZA(),s.YNc(18,Pi,3,3,"span",9),s.YNc(19,Ti,3,3,"span",9),s.YNc(20,Ui,10,12,"mat-radio-group",10),s.YNc(21,fn,3,3,"span",9),s.YNc(22,sn,3,3,"span",9),s.qZA()),2&Y){const we=s.oxw();s.xp6(2),s.hij(" ",we.group.name," "),s.xp6(2),s.hij("#",we.group.id,""),s.xp6(1),s.hij(" - ",we.resource.name," "),s.xp6(2),s.hij("#",we.resource.id,""),s.xp6(3),s.hij(" ",s.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT")," : "),s.xp6(2),s.hij(" ",we.status," "),s.xp6(3),s.hij(" ",s.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW")," : "),s.xp6(2),s.hij(" ",we.getReversedStatus()," "),s.xp6(1),s.Q6J("ngIf","INACTIVE"===we.status||"FAILED"===we.status),s.xp6(1),s.Q6J("ngIf","ACTIVE"===we.status),s.xp6(1),s.Q6J("ngIf","INACTIVE"===we.status||"FAILED"===we.status),s.xp6(1),s.Q6J("ngIf",("INACTIVE"===we.status||"FAILED"===we.status)&&!1===we.asyncValidation),s.xp6(1),s.Q6J("ngIf",("INACTIVE"===we.status||"FAILED"===we.status)&&!0===we.asyncValidation)}}function Ct(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"div",15),s.TgZ(1,"button",16),s.NdJ("click",function(){return s.CHM(we),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",17),s.NdJ("click",function(){return s.CHM(we),s.oxw().onSubmit()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&Y){const we=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),s.xp6(2),s.Q6J("disabled",we.loading),s.xp6(1),s.hij(" ",s.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG."+("ACTIVE"===we.status?"DEACTIVATE":"ACTIVATE"))," ")}}let $t=(()=>{class Y{constructor(we,ct,zt,Jt){this.dialogRef=we,this.data=ct,this.resourceService=zt,this.groupService=Jt,this.loading=!1,this.asyncValidation=!1,this.resource=null,this.group=null}ngOnInit(){this.loading=!0,this.status=this.data.status,this.theme=this.data.theme,this.resourceService.getResourceById(this.data.resourceId).subscribe(we=>{this.resource=we,this.groupService.getGroupById(this.data.groupId).subscribe(ct=>{this.group=ct,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,"ACTIVE"===this.status?this.resourceService.deactivateGroupResourceAssignment(this.data.groupId,this.data.resourceId).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1):this.resourceService.activateGroupResourceAssignment(this.data.groupId,this.data.resourceId,this.asyncValidation).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}getReversedStatus(){return"ACTIVE"===this.status?"INACTIVE":"ACTIVE"}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.xk),s.Y36(m.ff))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-group-resource-assigment-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"mb-4"],[1,"text-muted","id-font"],[1,"mr-2"],["class","text-muted",4,"ngIf"],["class","d-flex flex-column mt-3",3,"ngModel","ngModelChange",4,"ngIf"],[1,"text-muted"],[1,"d-flex","flex-column","mt-3",3,"ngModel","ngModelChange"],[1,"font-weight-bold"],[3,"value"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["mat-flat-button","","color","accent",3,"disabled","click"]],template:function(we,ct){1&we&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,pn,1,0,"mat-spinner",1),s.YNc(5,qi,23,17,"div",2),s.YNc(6,Ct,7,7,"div",3),s.qZA()),2&we&&(s.Tol(ct.theme),s.xp6(2),s.hij(" ",s.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")," "),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading))},directives:[T.uh,O.O5,E.$g,T.xY,nn.VQ,H.JJ,H.On,nn.U0,T.H8,V.lW],pipes:[b.X$],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),Y})()},50301:(Ke,be,d)=>{"use strict";d.d(be,{hT:()=>f,Kd:()=>T,YH:()=>m});var e=d(5e3);let f=(()=>{class A{constructor(b){this.elementRef=b}ngOnInit(){this.elementRef.nativeElement.focus()}}return A.\u0275fac=function(b){return new(b||A)(e.Y36(e.SBq))},A.\u0275dir=e.lG2({type:A,selectors:[["","perunWebAppsAutoFocus",""]]}),A})();var g=d(36908);let T=(()=>{class A{constructor(b,O){this.el=b,this.router=O}onClick(){this.router.forceNavigate(this.perunWebAppsForceRouterLink)}}return A.\u0275fac=function(b){return new(b||A)(e.Y36(e.SBq),e.Y36(g.xw))},A.\u0275dir=e.lG2({type:A,selectors:[["","perunWebAppsForceRouterLink",""]],hostBindings:function(b,O){1&b&&e.NdJ("click",function(){return O.onClick()})},inputs:{perunWebAppsForceRouterLink:"perunWebAppsForceRouterLink"}}),A})(),m=(()=>{class A{constructor(){}onClick(b){if(1===b.button&&null!=this.perunWebAppsMiddleClickRouterLink){const O=this.perunWebAppsMiddleClickRouterLink.join("/"),E=location.search;window.open(O+E)}}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275dir=e.lG2({type:A,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(b,O){1&b&&e.NdJ("mouseup",function(h){return O.onClick(h)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),A})()},45323:(Ke,be,d)=>{"use strict";d.d(be,{u:()=>e});var e=(()=>{return(f=e||(e={})).PERUNADMIN="PERUNADMIN",f.PERUNOBSERVER="PERUNOBSERVER",f.VOADMIN="VOADMIN",f.GROUPADMIN="GROUPADMIN",f.SELF="SELF",f.FACILITYADMIN="FACILITYADMIN",f.FACILITIYOBSERVER="FACILITYOBSERVER",f.RESOURCEADMIN="RESOURCEADMIN",f.RESOURCESELFSERVICE="RESOURCESELFSERVICE",f.REGISTRAR="REGISTRAR",f.ENGINE="ENGINE",f.RPC="RPC",f.NOTIFICATIONS="NOTIFICATIONS",f.SERVICEUSER="SERVICEUSER",f.SPONSOR="SPONSOR",f.VOOBSERVER="VOOBSERVER",f.TOPGROUPCREATOR="TOPGROUPCREATOR",f.SECURITYADMIN="SECURITYADMIN",f.CABINETADMIN="CABINETADMIN",f.UNKNOWNROLENAME="UNKNOWNROLENAME",e;var f})()},28499:(Ke,be,d)=>{"use strict";d.d(be,{E3:()=>h,yT:()=>k.y});var e=d(69808),f=d(67322),g=d(29772),T=d(93075),m=d(98833),A=d(51062),s=d(20773),b=d(25245),O=d(63189),E=d(5e3);let h=(()=>{class V{}return V.\u0275fac=function(ue){return new(ue||V)},V.\u0275mod=E.oAB({type:V}),V.\u0275inj=E.cJS({providers:[],imports:[[e.ez,f.lN,g.AV,T.UX,m.c,A.aw,s.Cq,b.Ps,O.r]]}),V})();var k=d(47549);d(13469)},13469:(Ke,be,d)=>{"use strict";d.d(be,{G:()=>ke});var e=d(47549),f=d(36908),g=d(9315),T=d(5e3),m=d(51062),A=d(93075),s=d(67322),b=d(29772),O=d(98833),E=d(69808),h=d(20773),k=d(25245),L=d(98380);function V(ae,j){1&ae&&T._UZ(0,"mat-spinner",12),2&ae&&T.Q6J("diameter",18)}function $(ae,j){if(1&ae&&(T.TgZ(0,"mat-icon",13),T._uU(1," error "),T.qZA()),2&ae){const H=T.oxw();T.Q6J("matTooltip",H.getErrorTooltip())("matTooltipDisabled",!H.formGroup.get("passwordCtrl").hasError("backendError"))}}function ue(ae,j){1&ae&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&ae&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function ce(ae,j){if(1&ae&&(T.TgZ(0,"mat-error",14),T._uU(1),T.qZA()),2&ae){const H=T.oxw();T.Q6J("matTooltip",H.getErrorTooltip()),T.xp6(1),T.Oqu(H.getErrorTooltip())}}function Le(ae,j){1&ae&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&ae&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function de(ae,j){1&ae&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&ae&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let ke=(()=>{class ae{constructor(H,Q,te){this.translator=H,this.usersManagerService=Q,this.store=te,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.multiLanguage=!1,this.language="en",this.allPasswordRequirements=this.store.get("password_requirements_help"),this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new e.S}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(H=>{const Q=H.userAttributes.find(te=>"preferredLanguage"===te.friendlyName);this.language=Q&&Q.value?Q.value.toString():"en","en"!==this.language&&(this.allPasswordRequirements=this.store.get(`password_requirements_help_${this.language}`)),this.changeHelp()}):this.changeHelp()}ngOnChanges(){this.allPasswordRequirements=this.store.get("en"!==this.language?`password_requirements_help_${this.language}`:"password_requirements_help"),this.changeHelp()}getPasswordDisabledTooltip(){return this.translator.instant(this.tooltipPwdViaEmail?"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_VIA_EMAIL":"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_DISABLED")}getErrorTooltip(){let H=this.formGroup.get("passwordCtrl").getError("backendError");return H&&(H=H.replace(":null","")),H}changeHelp(){this.passwordRequirement=this.allPasswordRequirements.find(H=>H.split(":")[0]===this.namespace),this.passwordRequirement=void 0===this.passwordRequirement?this.allPasswordRequirements.find(H=>"default"===H.split(":")[0]).split(/:(.+)/)[1]:this.passwordRequirement.split(/:(.+)/)[1]}}return ae.\u0275fac=function(H){return new(H||ae)(T.Y36(m.sK),T.Y36(g.Fv),T.Y36(f.d6))},ae.\u0275cmp=T.Xpm({type:ae,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[T.TTD],decls:21,vars:23,consts:[[3,"formGroup"],["matTooltipPosition","left",1,"max-width",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","passwordCtrl",3,"type","required","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["matSuffix","",3,"click"],["color","warn","matSuffix","","class","error-icon",3,"matTooltip","matTooltipDisabled",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","after",3,"matTooltip",4,"ngIf"],[1,"max-width"],["matInput","","formControlName","passwordAgainCtrl",3,"type","required"],["alert_type","info"],[3,"innerHTML"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",1,"error-icon",3,"matTooltip","matTooltipDisabled"],["matTooltipPosition","after",3,"matTooltip"]],template:function(H,Q){1&H&&(T.TgZ(0,"div",0),T.TgZ(1,"mat-form-field",1),T._UZ(2,"input",2),T.ALo(3,"translate"),T.YNc(4,V,1,1,"mat-spinner",3),T.TgZ(5,"mat-icon",4),T.NdJ("click",function(){return Q.showNewPassword=!Q.showNewPassword}),T._uU(6),T.qZA(),T.YNc(7,$,2,2,"mat-icon",5),T.YNc(8,ue,3,3,"mat-error",6),T.YNc(9,ce,2,2,"mat-error",7),T.qZA(),T.TgZ(10,"mat-form-field",8),T.TgZ(11,"mat-label"),T._uU(12),T.ALo(13,"translate"),T.qZA(),T._UZ(14,"input",9),T.TgZ(15,"mat-icon",4),T.NdJ("click",function(){return Q.showPasswordConfirm=!Q.showPasswordConfirm}),T._uU(16),T.qZA(),T.YNc(17,Le,3,3,"mat-error",6),T.YNc(18,de,3,3,"mat-error",6),T.qZA(),T.TgZ(19,"app-alert",10),T._UZ(20,"div",11),T.qZA(),T.qZA()),2&H&&(T.Q6J("formGroup",Q.formGroup),T.xp6(1),T.Q6J("matTooltip",Q.getPasswordDisabledTooltip())("matTooltipDisabled",Q.formGroup.get("passwordCtrl").enabled),T.xp6(1),T.s9C("placeholder",T.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),T.Q6J("type",Q.showNewPassword?"text":"password")("required",Q.passwordRequired)("errorStateMatcher",Q.passwordStateMatcher),T.xp6(2),T.Q6J("ngIf",Q.formGroup.get("passwordCtrl").pending),T.xp6(2),T.hij(" ",Q.showNewPassword?"visibility_off":"visibility"," "),T.xp6(1),T.Q6J("ngIf",Q.formGroup.get("passwordCtrl").dirty&&null!==Q.formGroup.get("passwordCtrl").errors),T.xp6(1),T.Q6J("ngIf",Q.formGroup.get("passwordCtrl").hasError("required")),T.xp6(1),T.Q6J("ngIf",Q.formGroup.get("passwordCtrl").hasError("backendError")),T.xp6(3),T.Oqu(T.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),T.xp6(2),T.Q6J("type",Q.showPasswordConfirm?"text":"password")("required",Q.passwordRequired),T.xp6(2),T.hij(" ",Q.showPasswordConfirm?"visibility_off":"visibility"," "),T.xp6(1),T.Q6J("ngIf",Q.formGroup.get("passwordAgainCtrl").hasError("required")),T.xp6(1),T.Q6J("ngIf",Q.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),T.xp6(2),T.Q6J("innerHTML",Q.passwordRequirement,T.oJD))},directives:[A.JL,A.sg,s.KE,b.gM,O.Nt,A.Fj,A.JJ,A.u,A.Q7,E.O5,h.$g,s.R9,k.Hw,s.TO,s.hX,L.w],pipes:[m.X$],styles:[".max-width[_ngcontent-%COMP%]{width:100%!important}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:5px}.error-icon[_ngcontent-%COMP%]{margin-left:5px}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:static!important;position:initial!important;display:block;margin-top:-1px}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper, [_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:static!important;position:initial!important;display:table}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}"]}),ae})()},47549:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>A,y:()=>s});var e=d(98723),f=d(21086),g=d(87545),T=d(24850),m=d(27221);class A{isErrorState(O){return!!(O&&O.invalid&&O.dirty)}}const s=(b,O,E,h=500)=>k=>(0,e.H)(h).pipe((0,g.w)(()=>(E.dontHandleErrorForNext(),b&&"No namespace"!==b?O.checkPasswordStrength(k.value,b):(0,f.of)(null))),(0,T.U)(()=>null),(0,m.K)(L=>(0,f.of)({backendError:L.error.message.substr(L.error.message.indexOf(":")+1)})))},9315:(Ke,be,d)=>{"use strict";d.d(be,{Us:()=>Ne,au:()=>S,sY:()=>Me,H8:()=>s,jw:()=>b,Ct:()=>O,VK:()=>A,KG:()=>k,IQ:()=>L,ff:()=>$,uq:()=>ce,aC:()=>Le,Hr:()=>de,tk:()=>ke,xk:()=>ae,KK:()=>j,Ob:()=>H,Dy:()=>rt,Fv:()=>Q,FW:()=>te,YF:()=>se});var e=d(40520);class f{encodeKey(P){return encodeURIComponent(P)}encodeValue(P){return encodeURIComponent(P)}decodeKey(P){return decodeURIComponent(P)}decodeValue(P){return decodeURIComponent(P)}}var g=d(5e3);const T=new g.OlP("basePath");class A{constructor(P={}){this.apiKeys=P.apiKeys,this.username=P.username,this.password=P.password,this.accessToken=P.accessToken,this.basePath=P.basePath,this.withCredentials=P.withCredentials,this.encoder=P.encoder}selectHeaderContentType(P){if(0===P.length)return;const i=P.find(r=>this.isJsonMime(r));return void 0===i?P[0]:i}selectHeaderAccept(P){if(0===P.length)return;const i=P.find(r=>this.isJsonMime(r));return void 0===i?P[0]:i}isJsonMime(P){const i=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==P&&(i.test(P)||"application/json-patch+json"===P.toLowerCase())}}let s=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}convertAttributeToNonunique(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeDefinition",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}convertAttributeToUnique(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeDefinition",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}createAttributeDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteAttributeDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attribute",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteAttributeDefinitions(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("attributes[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllAttributeDefinitions(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAttribute(i,r,p,o,t,n,c,u,y,M,re,et="body",yt=!1){let pt=new e.LE({encoder:this.encoder});null!=i&&(pt=pt.set("attributeName",i)),null!=r&&(pt=pt.set("attributeId",r)),null!=p&&(pt=pt.set("facility",p)),null!=o&&(pt=pt.set("user",o)),null!=t&&(pt=pt.set("vo",t)),null!=n&&(pt=pt.set("resource",n)),null!=c&&(pt=pt.set("member",c)),null!=u&&(pt=pt.set("group",u)),null!=y&&(pt=pt.set("host",y)),null!=M&&(pt=pt.set("userExtSource",M)),null!=re&&(pt=pt.set("key",re));let Nt=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Nt=Nt.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Nt=Nt.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const mt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Nt=Nt.set("Authorization","Bearer "+mt)}const Zt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Zt&&(Nt=Nt.set("Accept",Zt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:pt,withCredentials:this.configuration.withCredentials,headers:Nt,observe:et,reportProgress:yt})}getAttributeDefinitionById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributeDefinitionByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributeDefinitionsByNamespace(i,r="body",p=!1){if(null==i)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("namespace",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributeModulesDependenciesForAttributeGraphText(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==r)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("format",i)),null!=r&&(t=t.set("attrName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAttributeModulesDependenciesGraphText(i,r="body",p=!1){if(null==i)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("format",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributePolicyCollections(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributeRights(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributesDefinitionWithRights(i,r,p,o,t,n,c,u,y="body",M=!1){let re=new e.LE({encoder:this.encoder});null!=i&&(re=re.set("member",i)),null!=r&&(re=re.set("user",r)),null!=p&&(re=re.set("vo",p)),null!=o&&(re=re.set("group",o)),null!=t&&(re=re.set("resource",t)),null!=n&&(re=re.set("facility",n)),null!=c&&(re=re.set("host",c)),null!=u&&(re=re.set("userExtSource",u));let et=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(et=et.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(et=et.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Nt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;et=et.set("Authorization","Bearer "+Nt)}const pt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==pt&&(et=et.set("Accept",pt)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:re,withCredentials:this.configuration.withCredentials,headers:et,observe:y,reportProgress:M})}getEntitylessAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("key",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getEntitylessAttributesByKey(i,r="body",p=!1){if(null==i)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("key",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getEntitylessAttributesByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attrName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getEntitylessAttributesWithKeys(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("attrName",i)),r&&r.forEach(y=>{t=t.append("keys[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getEntitylessKeys(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeDefinition",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityResourceUserMemberAttributes(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==p)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("facility",i)),null!=r&&(c=c.set("resource",r)),null!=p&&(c=c.set("user",p)),null!=o&&(c=c.set("member",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getFacilityUserAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==r)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupResourceAttributeById(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==p)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attributeId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getGroupResourceAttributeByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==p)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attributeName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getGroupResourceAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getHostAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getHostAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getHostAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("host",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getLogins(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getLogins.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMemberAndUserAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==r)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("workWithUserAttributes",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberAndUserAttributesByNames(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==p)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),r&&r.forEach(M=>{n=n.append("attrNames[]",M)}),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMemberAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberGroupAndUserAttributesByNames(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("member",i)),null!=r&&(c=c.set("group",r)),p&&p.forEach(re=>{c=c.append("attrNames[]",re)}),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getMemberGroupAttributeById(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==p)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("attributeId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberGroupAttributeByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==p)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("attributeName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberGroupAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberGroupAttributesByNames(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),p&&p.forEach(M=>{n=n.append("attrNames[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAndUserFacilityAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==p)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAndUserFacilityAttributesByNames(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("member",i)),null!=r&&(c=c.set("resource",r)),p&&p.forEach(re=>{c=c.append("attrNames[]",re)}),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getMemberResourceAttributeById(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==p)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attributeId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAttributeByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==p)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attributeName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRequiredAttributesFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRequiredAttributesFacilityService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesFacilityServices(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("services[]",y)}),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesGroupResourceService(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==p)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("group",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRequiredAttributesHostService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==r)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("host",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("workWithUserAttributes",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesMemberGroup(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRequiredAttributesMemberGroupResourceService(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==p)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("service",i)),null!=r&&(u=u.set("resource",r)),null!=p&&(u=u.set("group",p)),null!=o&&(u=u.set("member",o)),null!=t&&(u=u.set("workWithUserAttributes",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}getRequiredAttributesMemberGroupService(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==p)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("service",i)),null!=r&&(c=c.set("group",r)),null!=p&&(c=c.set("member",p)),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getRequiredAttributesMemberResource(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRequiredAttributesMemberResourceService(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==p)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("service",i)),null!=r&&(c=c.set("resource",r)),null!=p&&(c=c.set("member",p)),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getRequiredAttributesResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRequiredAttributesResourceService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesResourceServices(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("services[]",y)}),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRequiredAttributesUserFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesVoService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("vo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourceAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceGroupAndGroupAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==p)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("resource",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("workWithGroupAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getResourceGroupAndGroupAttributesByNames(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("resource",i)),null!=r&&(c=c.set("group",r)),p&&p.forEach(re=>{c=c.append("attrNames[]",re)}),null!=o&&(c=c.set("workWithGroupAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getResourceGroupAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceGroupMemberAttributesByNames(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==p)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("resource",i)),null!=r&&(c=c.set("group",r)),null!=p&&(c=c.set("member",p)),o&&o.forEach(re=>{c=c.append("attrNames[]",re)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getUserAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSourceAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSourceAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("userExtSource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserExtSourceAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserFacilityAttributeById(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==p)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("attributeId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getUserFacilityAttributeByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==p)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("attributeName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getUserFacilityAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getVoAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getVoAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getVoAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeAttributesForFacilityResourceGroupUserMember(i,r,p,o,t,n,c="body",u=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==p)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==n)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let y=new e.LE({encoder:this.encoder});null!=i&&(y=y.set("facility",i)),null!=r&&(y=y.set("resource",r)),null!=p&&(y=y.set("group",p)),null!=o&&(y=y.set("user",o)),null!=t&&(y=y.set("member",t)),n&&n.forEach(yt=>{y=y.append("attributes[]",yt)});let M=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(M=M.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(M=M.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const yt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;M=M.set("Authorization","Bearer "+yt)}const et=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==et&&(M=M.set("Accept",et)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:y,withCredentials:this.configuration.withCredentials,headers:M,observe:c,reportProgress:u})}removeAttributesForFacilityResourceUserMember(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==p)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==o)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("facility",i)),null!=r&&(u=u.set("resource",r)),null!=p&&(u=u.set("user",p)),null!=o&&(u=u.set("member",o)),t&&t.forEach(et=>{u=u.append("attributes[]",et)});let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}removeEntitylessAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("key",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupResourceAttribute(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==p)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attribute",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeGroupResourceAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),p&&p.forEach(M=>{n=n.append("attributes[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeGroupResourceAttributesWorkWithGroupAttributes(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("group",i)),null!=r&&(c=c.set("resource",r)),p&&p.forEach(re=>{c=c.append("attributes[]",re)}),null!=o&&(c=c.set("workWithGroupAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}removeHostAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeHostAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMemberAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMemberAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMemberAttributesWorkWithUserAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==p)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),r&&r.forEach(M=>{n=n.append("attributes[]",M)}),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberGroupAttribute(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==p)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("attribute",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberGroupAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),p&&p.forEach(M=>{n=n.append("attributes[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberGroupAttributesWorkWithUserAttributes(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("member",i)),null!=r&&(c=c.set("group",r)),p&&p.forEach(re=>{c=c.append("attributes[]",re)}),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}removeMemberResourceAttribute(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==p)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attribute",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberResourceAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),p&&p.forEach(M=>{n=n.append("attributes[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeResourceAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeResourceAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUesAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserExtSourceAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserFacilityAttribute(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==p)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("attribute",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeUserFacilityAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("facility",r)),p&&p.forEach(M=>{n=n.append("attributes[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeVoAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeVoAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}setAttributePolicyCollections(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setAttributeRights(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setEntitylessAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityResourceGroupUserMemberAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityResourceUserMemberAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setGroupAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setGroupResourceAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setGroupResourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setHostAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setHostAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberGroupAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberGroupWithUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberResourceAndUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberResourceAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberResourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberWithUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setResourceAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setResourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setResourceGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setResourceGroupWithGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserExtSourceAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserExtSourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserFacilityAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserFacilityAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setVoAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setVoAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateAttributeDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),b=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}auditMessagesManagerLog(i,r="body",p=!1){if(null==i)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("msg",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/log`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}createAuditerConsumer(i,r="body",p=!1){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("consumerName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/createAuditerConsumer`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllAuditerConsumers(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAuditerMessagesCount(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getLastMessageId(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getMessages(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("count",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessages`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMessagesByCount(i,r="body",p=!1){if(null==i)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("count",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesByCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMessagesPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetMessagesPage was null or undefined when calling getMessagesPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}pollConsumerMessages(i,r="body",p=!1){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("consumerName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/pollConsumerMessages`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}setLastProcessedId(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==r)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("consumerName",i)),null!=r&&(t=t.set("lastProcessedId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/setLastProcessedId`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),O=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getAllPolicies(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllRolesManagementRules(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAuthzAdminGroups(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==r)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==p)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("role",i)),null!=r&&(n=n.set("complementaryObjectId",r)),null!=p&&(n=n.set("complementaryObjectName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAuthzRichAdmins(i,r,p,o,t,n,c="body",u=!1){if(null==i)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==r)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==p)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==o)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let y=new e.LE({encoder:this.encoder});null!=i&&(y=y.set("role",i)),null!=r&&(y=y.set("complementaryObjectId",r)),null!=p&&(y=y.set("complementaryObjectName",p)),o&&o.forEach(yt=>{y=y.append("specificAttributes",yt)}),null!=t&&(y=y.set("allUserAttributes",t)),null!=n&&(y=y.set("onlyDirectAdmins",n));let M=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(M=M.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(M=M.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const yt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;M=M.set("Authorization","Bearer "+yt)}const et=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==et&&(M=M.set("Accept",et)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:y,withCredentials:this.configuration.withCredentials,headers:M,observe:c,reportProgress:u})}getFacilitiesWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupRoleNames(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupRoles(i,r="body",p=!1){if(null==i)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("groupId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupsWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getLoggedUser(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getMembersWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getPerunPrincipal(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPrincipalRoleNames(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getResourcesWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSecurityTeamsWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserRoleNames(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserRoles(i,r="body",p=!1){if(null==i)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("userId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVosWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}isFacilityAdmin(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}isGroupAdmin(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}isPerunAdmin(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}isVoAdmin(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}keepAlive(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}loadAuthorizationComponents(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}setRoleWithGroupComplementaryObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setRoleWithUserComplementaryObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}unsetRoleWithGroupComplementaryObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}unsetRoleWithUserComplementaryObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),E=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}createAutorship(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createCategoryCat(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createCategoryNR(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createPublication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createPublicationSystem(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createThanks(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteAuthorship(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==r)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("publicationId",i)),null!=r&&(t=t.set("userId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteCategory(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deletePublication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deletePublicationSystem(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteThanks(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findAllAuthors(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}findAuthorsByPublicationId(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findExternalPublications(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==r)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==p)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==o)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("user",i)),null!=r&&(c=c.set("yearSince",r)),null!=p&&(c=c.set("yearTill",p)),null!=o&&(c=c.set("pubSysNamespace",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}findNewAuthors(i,r="body",p=!1){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("searchString",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findPublicationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findPublicationsByFilter(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let n=new e.LE({encoder:this.encoder});null!=r&&(n=n.set("yearSince",r)),null!=p&&(n=n.set("yearTill",p)),null!=i&&(n=n.set("userId",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}findPublicationsByGUIFilter(i,r,p,o,t,n,c,u,y,M="body",re=!1){let et=new e.LE({encoder:this.encoder});null!=i&&(et=et.set("title",i)),null!=r&&(et=et.set("isbn",r)),null!=p&&(et=et.set("doi",p)),null!=o&&(et=et.set("id",o)),null!=t&&(et=et.set("year",t)),null!=n&&(et=et.set("category",n)),null!=c&&(et=et.set("yearSince",c)),null!=u&&(et=et.set("yearTill",u)),null!=y&&(et=et.set("userId",y));let yt=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(yt=yt.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(yt=yt.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const It="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;yt=yt.set("Authorization","Bearer "+It)}const Nt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Nt&&(yt=yt.set("Accept",Nt)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:et,withCredentials:this.configuration.withCredentials,headers:yt,observe:M,reportProgress:re})}findSimilarPublications(i,r,p,o="body",t=!1){let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("title",i)),null!=r&&(n=n.set("doi",r)),null!=p&&(n=n.set("isbn",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getCategories(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPublicationSystems(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getRank(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRank.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichThanksByPublicationId(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}lockPublications(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateCategory(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updatePublication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updatePublicationSystem(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),h=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getCurrentDatabaseVersion(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getDatabaseDriverInformation(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getDatabaseInformation(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getTimeOfQueryPerformance(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),k=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addExtSourceWithGroupSource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("source",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addExtSourceWithVoSource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("source",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createExtSourceFromExtSourceObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createExtSourceWithNameType(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==r)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("name",i)),null!=r&&(t=t.set("type",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteExtSource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getExtSourceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getExtSourceByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("name",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getExtSources(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getGroupExtSources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoExtSources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}loadExtSourcesDefinitions(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}removeExtSourceWithGroupSource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("source",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeExtSourceWithVoSource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("source",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),L=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addFacilityAdminGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityAdminGroupByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityAdminUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityAdminUserByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityOwnerByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityOwnerByFacilityNameOwnerName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityOwnerByOwnerName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addHost(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==r)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("hostname",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addHostByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==r)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("hostname",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addHosts(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==r)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("hostnames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addHostsByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==r)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("hostnames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}assignSecurityTeam(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("securityTeam",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}assignSecurityTeamByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("securityTeam",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyAttributesByDestinationName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyAttributesBySourceDestinationNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyAttributesBySourceName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyManagers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyManagersByDestinationName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyManagersBySourceDestinationNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyManagersBySourceName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyOwners(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyOwnersByDestinationName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyOwnersBySourceDestinationNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyOwnersBySourceName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("name",i)),null!=r&&(t=t.set("description",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteFacilityByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllFacilities(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllowedGroups(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("service",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedGroupsByFacilityName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("service",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedRichGroupsWithAttributes(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("facility",i)),r&&r.forEach(re=>{c=c.append("attrNames[]",re)}),null!=p&&(c=c.set("vo",p)),null!=o&&(c=c.set("service",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getAllowedRichGroupsWithAttributesByFacilityName(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("facility",i)),r&&r.forEach(re=>{c=c.append("attrNames[]",re)}),null!=p&&(c=c.set("vo",p)),null!=o&&(c=c.set("service",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getAllowedUsersOfFacility(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("service",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedUsersOfFacilityByFacilityName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("service",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedVos(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllowedVosByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedFacilitiesByGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedFacilitiesByMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedFacilitiesByService(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedFacilitiesByUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesByAssignedServiceForFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==r)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAssignedResourcesForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesForFacilityByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesForFacilityByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedSecurityTeams(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedSecurityTeamsByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedUsers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAssignedUsersByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getBansForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facilityId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getBansForUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getEnrichedFacilities(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getEnrichedHosts(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilitiesByAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==r)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("attributeName",i)),null!=r&&(t=t.set("attributeValue",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilitiesByDestination(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("destination",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilitiesByHostName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("hostname",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilitiesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilitiesCount(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getFacilitiesWhereUserIsAdmin(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAdminGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAdminUsers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("onlyDirectAdmins",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityAdminUsersByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("onlyDirectAdmins",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityBan(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("name",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityForHost(i,r="body",p=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("host",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityOwners(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityOwnersByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getHostById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHosts(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostsByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostsByHostname(i,r="body",p=!1){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("hostname",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostsCount(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostsCountByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getOwnerFacilities(i,r="body",p=!1){if(null==i)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("owner",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichFacilities(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}removeBanByUserIdFacilityId(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAdminGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAdminGroupByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAdminUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAdminUserByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeFacilityOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityOwnerByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityOwnerByFacilityNameOwnerName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityOwnerByOwnerName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeHost(i,r="body",p=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHost.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("host",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeHostByHostname(i,r="body",p=!1){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("hostname",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeHosts(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==r)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("hosts[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeHostsByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==r)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("hosts[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeSecurityTeam(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("securityTeam",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeSecurityTeamByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("securityTeam",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}setFacilityBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFacilityBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),V=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getFacilityAdminGroupsByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),$=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling addMember.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("groups[]",y)}),null!=r&&(t=t.set("member",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addMembers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==r)throw new Error("Required parameter members was null or undefined when calling addMembers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("members[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}canExtendMembershipInGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createGroupUnion(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==r)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resultGroup",i)),null!=r&&(t=t.set("operandGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createGroupWithParentGroupNameDescription(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==r)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==p)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("parentGroup",i)),null!=r&&(n=n.set("name",r)),null!=p&&(n=n.set("description",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}createGroupWithVoNameDescription(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==r)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==p)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("name",r)),null!=p&&(n=n.set("description",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}deleteGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}extendMembershipInGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}forceAllSubGroupsSynchronization(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}forceGroupStructureSynchronization(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}forceGroupSynchronization(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllGroupsFromAllVos(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllMemberGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllRichGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("attrNames[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllRichGroupsWithAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllRichSubGroupsWithGroupAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==r)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("name",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupMemberById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==r)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("member",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupMembersCount(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupMembersCountsByGroupStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupMembersCountsByVoStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupRichMembersByIds(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==r)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),r&&r.forEach(M=>{n=n.append("members[]",M)}),p&&p.forEach(M=>{n=n.append("attrNames[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getGroupUnions(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==r)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("reverseDirection",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupsByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupsPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getIndirectMembershipPaths(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMemberRichGroupsWithAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRichGroupByIdWithAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("groupId",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSubgroupsPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}isGroupMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==r)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}moveGroupWithDestinationGroupMovingGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("destinationGroup",r)),null!=i&&(t=t.set("movingGroup",i));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupUnion(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==r)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resultGroup",i)),null!=r&&(t=t.set("operandGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeMember.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("groups[]",y)}),null!=r&&(t=t.set("member",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMembers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==r)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("members[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}setGroupsMemberStatus(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==r)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==p)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("status",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}updateGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ue=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getGroupMemberData(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/integrationManager/getGroupMemberData`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ce=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}canExtendMembership(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}createMemberForCandidate(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createMemberForUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createMemberFromExtSource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createSpecificMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createSponsoredMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createSponsoredMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createSponsoredMembersFromCSV(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("members[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}extendMembership(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findCompleteRichMembersByAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(M=>{n=n.append("attrsNames[]",M)}),null!=r&&(n=n.set("searchString",r)),p&&p.forEach(M=>{n=n.append("allowedStatuses[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}findCompleteRichMembersForGroup(i,r,p,o,t,n,c="body",u=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==r)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==o)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let y=new e.LE({encoder:this.encoder});null!=i&&(y=y.set("group",i)),r&&r.forEach(yt=>{y=y.append("attrsNames[]",yt)}),t&&t.forEach(yt=>{y=y.append("allowedStatuses[]",yt)}),n&&n.forEach(yt=>{y=y.append("allowedGroupStatuses[]",yt)}),null!=p&&(y=y.set("searchString",p)),null!=o&&(y=y.set("lookingInParentGroup",o));let M=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(M=M.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(M=M.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const yt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;M=M.set("Authorization","Bearer "+yt)}const et=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==et&&(M=M.set("Accept",et)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:y,withCredentials:this.configuration.withCredentials,headers:M,observe:c,reportProgress:u})}findCompleteRichMembersForVo(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==r)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),r&&r.forEach(re=>{c=c.append("attrsNames[]",re)}),o&&o.forEach(re=>{c=c.append("allowedStatuses[]",re)}),null!=p&&(c=c.set("searchString",p));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}findMembersInVo(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("searchString",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}findSponsoredCompleteRichMembersForVo(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==r)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==o)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),r&&r.forEach(re=>{c=c.append("attrsNames[]",re)}),null!=p&&(c=c.set("searchString",p)),null!=o&&(c=c.set("onlySponsored",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getAllMembers(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllNamespacesRules(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllSponsoredMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllSponsoredMembersAndTheirSponsors(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getCompleteRichMembersForGroup(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==r)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("group",i)),p&&p.forEach(et=>{u=u.append("allowedStatuses[]",et)}),o&&o.forEach(et=>{u=u.append("allowedGroupStatuses[]",et)}),null!=r&&(u=u.set("lookingInParentGroup",r)),t&&t.forEach(et=>{u=u.append("attrsNames[]",et)});let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}getCompleteRichMembersForGroupResource(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==p)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==o)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("group",i)),null!=r&&(c=c.set("resource",r)),p&&p.forEach(re=>{c=c.append("attrsNames[]",re)}),o&&o.forEach(re=>{c=c.append("allowedStatuses[]",re)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getCompleteRichMembersForVo(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),r&&r.forEach(M=>{n=n.append("allowedStatuses[]",M)}),p&&p.forEach(M=>{n=n.append("attrsNames[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberByExtSourceNameAndExtLogin(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==r)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==p)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("extLogin",r)),null!=p&&(n=n.set("extSourceName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMemberByUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMembers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("status",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMembersByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMembersByUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMembersCount(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMembersPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getMembersWithStatusCount(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==r)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("status",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRichMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichMemberWithAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichMembersByIds(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("ids[]",y)}),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSponsoredMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getSponsoredMembersAndTheirSponsors(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSponsorsByMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSponsorsByVo(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==r)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==p)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),null!=r&&(c=c.set("extSourceName",r)),null!=p&&(c=c.set("extLogin",p)),o&&o.forEach(re=>{c=c.append("attrNames[]",re)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}moveMembership(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==r)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==p)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("sourceUser",r)),null!=p&&(n=n.set("targetUser",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeSponsor(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("sponsor",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}sendAccountActivationLinkEmail(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==p)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==o)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("member",i)),null!=r&&(c=c.set("namespace",r)),null!=p&&(c=c.set("emailAttributeURN",p)),null!=o&&(c=c.set("language",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}sendPasswordResetLinkEmail(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==p)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==o)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("member",i)),null!=r&&(u=u.set("namespace",r)),null!=p&&(u=u.set("emailAttributeURN",p)),null!=o&&(u=u.set("language",o)),null!=t&&(u=u.set("baseUrl",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}setSponsoredMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setSponsorshipForMember(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("sponsoredMember",i)),null!=r&&(n=n.set("sponsor",r)),null!=p&&(n=n.set("validityTo",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}setStatus(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==r)throw new Error("Required parameter status was null or undefined when calling setStatus.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("status",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}sponsorMember(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("sponsor",r)),null!=p&&(n=n.set("validityTo",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}updateSponsorshipValidity(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("sponsor",r)),null!=p&&(n=n.set("validityTo",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}validateMemberAsync(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Le=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}createOwner(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("owner",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllOwners(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getOwnerById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getOwnerByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("owner",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),de=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}sentMessageToRTWithMemberQueue(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==r)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==p)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("memberId",i)),null!=r&&(c=c.set("queue",r)),null!=p&&(c=c.set("subject",p)),null!=o&&(c=c.set("text",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}sentMessageToRTWithQueue(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==r)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==p)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("queue",i)),null!=r&&(n=n.set("subject",r)),null!=p&&(n=n.set("text",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}sentMessageToRTWithVo(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==r)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==p)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("voId",i)),null!=r&&(n=n.set("subject",r)),null!=p&&(n=n.set("text",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}sentMessageToRTWithVoQueue(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==r)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==p)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("voId",i)),null!=r&&(c=c.set("queue",r)),null!=p&&(c=c.set("subject",p)),null!=o&&(c=c.set("text",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ke=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addApplicationMailForGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}addApplicationMailForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}addGroupsToAutoRegistration(i,r="body",p=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("groups[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}approveApplication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}checkForSimilarUsersWithAuthInfo(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}consolidateIdentityUsingToken(i,r="body",p=!1){if(null==i)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("token",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}copyFormFromGroupToGroup(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromGroup",i)),null!=r&&(t=t.set("toGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyFormFromGroupToVo(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromGroup",i)),null!=r&&(t=t.set("toVo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyFormFromVoToGroup(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromVo",i)),null!=r&&(t=t.set("toGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyFormFromVoToVo(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromVo",i)),null!=r&&(t=t.set("toVo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyMailsFromGroupToGroup(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromGroup",i)),null!=r&&(t=t.set("toGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyMailsFromGroupToVo(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromGroup",i)),null!=r&&(t=t.set("toVo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyMailsFromVoToGroup(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromVo",i)),null!=r&&(t=t.set("toGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyMailsFromVoToVo(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromVo",i)),null!=r&&(t=t.set("toVo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createApplicationFormInGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}createApplicationFormInVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteApplication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteApplicationMailForGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==r)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("id",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteApplicationMailForVo(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==r)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("id",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteGroupsFromAutoRegistration(i,r="body",p=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("groups[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationDataById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationMailsForGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationMailsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationsForGroup(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("group",i)),r&&r.forEach(re=>{c=c.append("state[]",re)}),null!=p&&(c=c.set("dateFrom",p)),null!=o&&(c=c.set("dateTo",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getApplicationsForMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getApplicationsForVo(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),r&&r.forEach(re=>{c=c.append("state[]",re)}),null!=p&&(c=c.set("dateFrom",p)),null!=o&&(c=c.set("dateTo",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getApplicationsPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getConsolidatorToken(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getFormItemsForGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFormItemsForGroupWithType(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("type",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFormItemsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFormItemsForVoWithType(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("type",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupApplicationForm(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupsToAutoRegistration(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoApplicationForm(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}rejectApplication(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("id",i)),null!=r&&(t=t.set("reason",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}sendInvitation(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==r)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let c=new e.LE({encoder:this.encoder});null!=p&&(c=c.set("voId",p)),null!=o&&(c=c.set("name",o)),null!=i&&(c=c.set("email",i)),null!=r&&(c=c.set("language",r));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}sendInvitationForGroup(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==r)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let u=new e.LE({encoder:this.encoder});null!=p&&(u=u.set("voId",p)),null!=o&&(u=u.set("groupId",o)),null!=t&&(u=u.set("name",t)),null!=i&&(u=u.set("email",i)),null!=r&&(u=u.set("language",r));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}sendInvitationGroupToExistingUser(i,r,p,o="body",t=!1){let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("userId",i)),null!=r&&(n=n.set("voId",r)),null!=p&&(n=n.set("groupId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}sendInvitationToExistingUser(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userId",i)),null!=r&&(t=t.set("voId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}sendMessage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setSendingEnabled(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}submitApplication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateApplicationMail(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateForm(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFormItemData(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFormItemsData(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFormItemsForGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFormItemsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}verifyApplication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ae=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}activateGroupResourceAssignment(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("async",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}addAdminToGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addAdminToUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addResourceSelfServiceGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addResourceSelfServiceUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}allowGroupsToResources(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(M=>{n=n.append("groups[]",M)}),r&&r.forEach(M=>{n=n.append("resources[]",M)}),null!=p&&(n=n.set("async",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}assignGroupToResource(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("group",i)),null!=r&&(u=u.set("resource",r)),null!=p&&(u=u.set("async",p)),null!=o&&(u=u.set("assignInactive",o)),null!=t&&(u=u.set("autoAssignSubgroups",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}assignGroupToResources(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("group",i)),r&&r.forEach(et=>{u=u.append("resources[]",et)}),null!=p&&(u=u.set("async",p)),null!=o&&(u=u.set("assignInactive",o)),null!=t&&(u=u.set("autoAssignSubgroups",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}assignGroupsToResource(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let u=new e.LE({encoder:this.encoder});i&&i.forEach(et=>{u=u.append("groups[]",et)}),null!=r&&(u=u.set("resource",r)),null!=p&&(u=u.set("async",p)),null!=o&&(u=u.set("assignInactive",o)),null!=t&&(u=u.set("autoAssignSubgroups",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}assignResourceTagToResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}assignService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==r)throw new Error("Required parameter service was null or undefined when calling assignService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}assignServices(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==r)throw new Error("Required parameter services was null or undefined when calling assignServices.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("services[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}assignServicesPackage(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==r)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("servicesPackage",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createResource(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==p)throw new Error("Required parameter name was null or undefined when calling createResource.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),null!=r&&(c=c.set("facility",r)),null!=p&&(c=c.set("name",p)),null!=o&&(c=c.set("description",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}createResourceTagWithResourceTag(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createResourceTagWithTagName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("tagName",i)),null!=r&&(t=t.set("vo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deactivateGroupResourceAssignment(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteAllResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteAllResourcesTagsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteResourceTag(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getAdminGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAdmins(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("onlyDirectAdmins",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllResourcesByResourceTag(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getAllResourcesTagsForResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllResourcesTagsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllResourcesWhereUserIsAdmin(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllowedMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllowedResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllowedUsersOfResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedGroups(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("member",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAssignedMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedMembersWithStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesWithGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesWithMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesWithStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesWithGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesWithMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesWithMemberService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==r)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAssignedServicesToResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getBansForMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getBansForResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getEnrichedResourceById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("id",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getEnrichedResourcesForFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getEnrichedResourcesForVo(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupAssignments(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceAssignments(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceBan(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourceByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==p)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("name",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourcesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourcesCountForAll(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getResourcesCountForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourcesFromVoWhereUserIsAdmin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==r)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourcesWhereGroupIsAdmin(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==p)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("group",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getResourcesWhereUserIsAdmin(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==p)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("user",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRichAdmins(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==r)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==p)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("resource",i)),r&&r.forEach(re=>{c=c.append("specificAttributes",re)}),null!=p&&(c=c.set("allUserAttributes",p)),null!=o&&(c=c.set("onlyDirectAdmins",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getRichResourceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichResourcesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeAllResourceTagsFromResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeBanByMemberAndResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupAdminResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupFromResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupFromResources(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("resources[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupsFromResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("groups[]",y)}),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeResourceBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeResourceSelfServiceGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeResourceSelfServiceUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeResourceTagFromResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}removeService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==r)throw new Error("Required parameter service was null or undefined when calling removeService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeServices(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==r)throw new Error("Required parameter services was null or undefined when calling removeServices.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("services[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeServicesPackage(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==r)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("servicesPackage",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserAdminResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}setResourceBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}unallowGroupsFromResources(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("groups[]",y)}),r&&r.forEach(y=>{t=t.append("resources[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}updateResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateResourceBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateResourceTag(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),j=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addDestination(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==p)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==o)throw new Error("Required parameter type was null or undefined when calling addDestination.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("service",i)),null!=r&&(u=u.set("facility",r)),null!=p&&(u=u.set("destination",p)),null!=o&&(u=u.set("type",o)),null!=t&&(u=u.set("propagationType",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}addDestinationToMultipleServices(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}addDestinationsDefinedByHostsOnFacilityWithFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addDestinationsForAllServicesOnFacility(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==p)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("facility",i)),null!=r&&(c=c.set("destination",r)),null!=p&&(c=c.set("type",p)),null!=o&&(c=c.set("propagationType",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}addRequiredAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addRequiredAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addServiceToServicesPackage(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==r)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("servicesPackage",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}blockAllServicesOnDestinationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("destination",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}blockAllServicesOnDestinationByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==r)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("destination",i)),null!=r&&(t=t.set("destinationType",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}blockAllServicesOnFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}blockServiceOnDestination(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("destination",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}blockServiceOnDestinationWithNameAndType(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==p)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("destination",r)),null!=p&&(n=n.set("destinationType",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}blockServiceOnFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createService(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==r)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==p)throw new Error("Required parameter script was null or undefined when calling createService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("name",i)),null!=r&&(n=n.set("description",r)),null!=p&&(n=n.set("script",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}createServiceWithService(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createServicesPackage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createServicesPackageByNameAndDescription(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==r)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("name",i)),null!=r&&(t=t.set("description",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling deleteService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteServicesPackage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("servicesPackage",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}forceServicePropagation(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllDestinations(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllRichDestinationsForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllRichDestinationsForService(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedServices(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getDataWithGroups(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getDataWithVos(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getDestinationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getDestinations(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getDestinationsCount(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getFacilitiesDestinations(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAssignedServicesForGUI(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFlatData(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getHashedDataWithGroups(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getHashedHierarchicalData(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getHierarchicalData(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRichDestinations(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getServiceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServiceByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("name",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServices(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getServicesBlockedOnDestination(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("destination",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesBlockedOnFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesByAttributeDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeDefinition",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesFromServicesPackage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("servicesPackage",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesPackageById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("servicesPackage",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesPackageByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("name",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesPackages(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}isServiceBlockedOnDestination(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("destination",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}isServiceBlockedOnFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}planServicePropagation(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeAllDestinations(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeAllRequiredAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeDestination(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==p)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==o)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("service",i)),null!=r&&(c=c.set("facility",r)),null!=p&&(c=c.set("destination",p)),null!=o&&(c=c.set("type",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}removeRequiredAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeRequiredAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeServiceFromServicesPackage(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==r)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("servicesPackage",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}unblockAllServicesOnDestinationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("destination",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}unblockAllServicesOnDestinationByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==r)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("destination",i)),null!=r&&(t=t.set("destinationType",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}unblockAllServicesOnFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}unblockServiceOnDestinationById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("destination",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}unblockServiceOnDestinationByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==p)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("destination",r)),null!=p&&(n=n.set("destinationType",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}unblockServiceOnFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}updateService(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateServicesPackage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),H=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}countTasks(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}deleteTask(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteTaskResultById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteTaskResultsIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteTaskResultsNames(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getAllFacilitiesStates(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllResourcesState(i,r="body",p=!1){if(null==i)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("voId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityServicesState(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityState(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTask(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getTask.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getTaskById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResultById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("taskResult",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResults(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getTaskResultsByTask(i,r="body",p=!1){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("task",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResultsForDestinations(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("destinations[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResultsForGUIByTask(i,r="body",p=!1){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("task",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResultsForGUIByTaskAndDestination(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("task",i)),null!=r&&(t=t.set("destination",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getTaskResultsForGUIByTaskOnlyNewest(i,r="body",p=!1){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("task",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}isThereSuchTask(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}listAllTasks(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}listAllTasksForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}suspendTasksPropagation(i,r="body",p=!1){if(null==i)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("suspend",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Q=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addSpecificUserOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==r)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("specificUser",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addUserExtSource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}anonymizeUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}changeNonAuthzPasswordByToken(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==r)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("token",i)),null!=r&&(n=n.set("password",r)),null!=p&&(n=n.set("lang",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}changePasswordForLogin(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==p)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("login",i)),null!=r&&(u=u.set("namespace",r)),null!=p&&(u=u.set("newPassword",p)),null!=o&&(u=u.set("oldPassword",o)),null!=t&&(u=u.set("checkOldPassword",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}changePasswordForUser(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==p)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("user",i)),null!=r&&(u=u.set("namespace",r)),null!=p&&(u=u.set("newPassword",p)),null!=o&&(u=u.set("oldPassword",o)),null!=t&&(u=u.set("checkOldPassword",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}checkPasswordResetRequestByTokenIsValid(i,r="body",p=!1){if(null==i)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("token",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}checkPasswordStrength(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("password",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createAlternativePassword(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==r)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==p)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==o)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("user",i)),null!=r&&(c=c.set("description",r)),null!=p&&(c=c.set("loginNamespace",p)),null!=o&&(c=c.set("password",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}createServiceUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteAlternativePassword(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==r)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==p)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("loginNamespace",r)),null!=p&&(n=n.set("passwordId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}deletePasswordForLogin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("login",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deletePasswordForUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}findRichUsers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("searchString",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findRichUsersWithAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("searchString",i)),r&&r.forEach(y=>{t=t.append("attrsNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}findUsers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("searchString",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}generateAccountForName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("namespace",i)),null!=r&&(t=t.set("name",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllRichUsersWithAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("includedSpecificUsers",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesForUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupsForFacilityWhereUserIsActive(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupsForResourceWhereUserIsActive(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupsInVoWhereUserIsAdmin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("vo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupsWhereUserIsAdmin(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getPendingPreferredEmailChanges(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUserExtSources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUserWithAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUsersByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUsersWithAttributesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUsersWithoutVoWithAttributes(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("attrsNames[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getSpecificUsersByUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getSponsorsForMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSponsorsForMemberByVoAndLogin(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==r)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==p)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),null!=r&&(c=c.set("extSourceName",r)),null!=p&&(c=c.set("extLogin",p)),o&&o.forEach(re=>{c=c.append("attrNames[]",re)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getUserByExtSourceNameAndExtLogin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==r)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("extLogin",i)),null!=r&&(t=t.set("extSourceName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getUserById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserExtSourceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("userExtSource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserExtSourceByUniqueAttributeValueAndAttributeId(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==r)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("attributeId",i)),null!=r&&(t=t.set("attributeValue",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSourceByUniqueAttributeValueAndAttributeName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==r)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("attributeName",i)),null!=r&&(t=t.set("attributeValue",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserExtSourcesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUsers(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getUsersByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUsersBySpecificUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("specificUser",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUsersPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getVosWhereUserIsAdmin(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVosWhereUserIsMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}isLoginAvailable(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==r)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("loginNamespace",i)),null!=r&&(t=t.set("login",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}loginExist(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeSpecificUserOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==r)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("specificUser",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserExtSource(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==r)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("userExtSource",r)),null!=p&&(n=n.set("force",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}requestPreferredEmailChange(i,r,p,o,t,n,c="body",u=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==r)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let y=new e.LE({encoder:this.encoder});null!=i&&(y=y.set("user",i)),null!=r&&(y=y.set("email",r)),null!=p&&(y=y.set("lang",p)),null!=o&&(y=y.set("linkPath",o)),null!=t&&(y=y.set("customUrl",t)),null!=n&&(y=y.set("idpFilter",n));let M=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(M=M.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(M=M.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const yt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;M=M.set("Authorization","Bearer "+yt)}const et=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==et&&(M=M.set("Accept",et)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:y,withCredentials:this.configuration.withCredentials,headers:M,observe:c,reportProgress:u})}reservePasswordForLogin(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==p)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("login",i)),null!=r&&(n=n.set("namespace",r)),null!=p&&(n=n.set("password",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}reservePasswordForUser(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==p)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("namespace",r)),null!=p&&(n=n.set("password",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}reserveRandomPassword(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}updateUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}validatePasswordForLogin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("login",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}validatePasswordForUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}validatePreferredEmailChangeWithToken(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==r)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("token",i)),null!=r&&(t=t.set("u",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),te=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getAppsConfig(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getGuiConfiguration(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPerunRPCVersion(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPerunStatistics(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPerunStatus(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPerunSystemTimeInMillis(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),se=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addSponsorRoleToGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addSponsorRoleToUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addVoAdminGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addVoAdminUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createVoWithName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==r)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("name",i)),null!=r&&(t=t.set("shortName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createVoWithVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteVo(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}findCandidates(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("id",i)),null!=r&&(n=n.set("searchString",r)),null!=p&&(n=n.set("maxNumOfResults",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}findCandidatesForGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("searchString",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllVos(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getCompleteCandidatesForGroup(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),r&&r.forEach(M=>{n=n.append("attrNames[]",M)}),null!=p&&(n=n.set("searchString",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getCompleteCandidatesForVo(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),r&&r.forEach(M=>{n=n.append("attrNames[]",M)}),null!=p&&(n=n.set("searchString",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMyVos(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getRichAdminsForVo(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==p)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==o)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("vo",i)),null!=r&&(u=u.set("role",r)),p&&p.forEach(et=>{u=u.append("specificAttributes",et)}),null!=o&&(u=u.set("allUserAttributes",o)),null!=t&&(u=u.set("onlyDirectAdmins",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}getVoAdminGroups(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==r)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("role",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getVoAdminUsers(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==r)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==p)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("role",r)),null!=p&&(n=n.set("onlyDirectAdmins",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getVoBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoBanForMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoBansForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getVoById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoByShortName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("shortName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoMembersCountsByStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVosByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVosCount(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}removeSponsorRoleFromGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeSponsorRoleFromUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeVoAdminGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeVoAdminUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeVoBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeVoBanForMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}setVoBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();const Ne={WRITE:"WRITE",WRITEVO:"WRITE_VO",WRITEPUBLIC:"WRITE_PUBLIC",READ:"READ",READVO:"READ_VO",READPUBLIC:"READ_PUBLIC"},Me={ID:"ID",DATECREATED:"DATE_CREATED",TYPE:"TYPE",STATE:"STATE",SUBMITTER:"SUBMITTER",GROUPNAME:"GROUP_NAME",MODIFIEDBY:"MODIFIED_BY"},rt={HTMLCOMMENT:"HTML_COMMENT",SUBMITBUTTON:"SUBMIT_BUTTON",AUTOSUBMITBUTTON:"AUTO_SUBMIT_BUTTON",PASSWORD:"PASSWORD",VALIDATEDEMAIL:"VALIDATED_EMAIL",TEXTFIELD:"TEXTFIELD",TEXTAREA:"TEXTAREA",CHECKBOX:"CHECKBOX",RADIO:"RADIO",SELECTIONBOX:"SELECTIONBOX",COMBOBOX:"COMBOBOX",USERNAME:"USERNAME",HEADING:"HEADING",TIMEZONE:"TIMEZONE",EMBEDDEDGROUPAPPLICATION:"EMBEDDED_GROUP_APPLICATION"};let S=(()=>{class I{constructor(i,r){if(i)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!r)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(i){return{ngModule:I,providers:[{provide:A,useFactory:i}]}}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(I,12),g.LFG(e.eN,8))},I.\u0275mod=g.oAB({type:I}),I.\u0275inj=g.cJS({providers:[s,b,O,E,h,k,L,V,$,ue,ce,Le,de,ke,ae,j,H,Q,te,se],imports:[[]]}),I})()},19516:(Ke,be,d)=>{"use strict";d.d(be,{r5:()=>A.r,d4:()=>g,dp:()=>T.d});var e=d(69808),f=d(5e3);let g=(()=>{class V{}return V.\u0275fac=function(ue){return new(ue||V)},V.\u0275mod=f.oAB({type:V}),V.\u0275inj=f.cJS({imports:[[e.ez]]}),V})();var T=d(31359),A=(d(34447),d(82895));d(12856),d(20919),d(5865),d(53561),d(16119),d(7598),d(9954)},34447:(Ke,be,d)=>{"use strict";d.d(be,{a:()=>T});var e=d(36908),f=d(5e3),g=d(51062);let T=(()=>{class m{constructor(s,b){this.translate=s,this.storage=b}transform(s,b="en"){const O=this.storage.get("custom_labels");if(O){const E=Object.keys(O);for(const h of E){const k=this.storage.get("custom_labels",h);if(k.label===s)return k[b]}}return s}}return m.\u0275fac=function(s){return new(s||m)(f.Y36(g.sK,16),f.Y36(e.d6,16))},m.\u0275pipe=f.Yjl({name:"customTranslate",type:m,pure:!0}),m})()},82895:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m,A){return A?`/organizations/${m.voId}/resources/${m.id}`:`/facilities/${m.facilityId}/resources/${m.id}`}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"getResourceRoute",type:g,pure:!0}),g})()},28764:(Ke,be,d)=>{"use strict";d.d(be,{F:()=>T});var e=d(9244),f=d(64080),g=d(5e3);let T=(()=>{class m{transform(s){if(null==s||null==s.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const b=(0,e.IL)(s.attributes,f.r.GROUP_SYNC_ENABLED),O=(0,e.IL)(s.attributes,f.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===b&&null===O)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const E=O.value;if("true"===b.value){const k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_STATE),L=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_TIMESTAMP),V=k.value,$=L.value;return null!=V&&V.trim().length>0?"red":null!==$&&$.trim().length>0?"green":""}if(E){const k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_STATE),L=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),V=k.value,$=L.value;return null!=V&&V.trim().length>0?"red":null!==$&&$.trim().length>0?"green":""}return""}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275pipe=g.Yjl({name:"groupSyncIconColor",type:m,pure:!0}),m})()},29218:(Ke,be,d)=>{"use strict";d.d(be,{J:()=>T});var e=d(64080),f=d(9244),g=d(5e3);let T=(()=>{class m{transform(s){if(null==s||null==s.attributes)return"";const b=(0,f.IL)(s.attributes,e.r.GROUP_SYNC_ENABLED),O=(0,f.IL)(s.attributes,e.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===b&&null===O)return"";const E=O.value;if("true"===b.value){const k=(0,f.IL)(s.attributes,e.r.GROUP_LAST_SYNC_STATE),L=(0,f.IL)(s.attributes,e.r.GROUP_LAST_SYNC_TIMESTAMP),V=k.value,$=L.value;return null!=V&&V.trim().length>0?"sync_problem":(null!==$&&$.trim(),"sync")}if(E){const k=(0,f.IL)(s.attributes,e.r.GROUP_LAST_STRUCTURE_SYNC_STATE),L=(0,f.IL)(s.attributes,e.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),V=k.value,$=L.value;return null!=V&&V.trim().length>0?"sync_problem":(null!==$&&$.trim(),"sync")}return"sync_disabled"}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275pipe=g.Yjl({name:"groupSyncIcon",type:m,pure:!0}),m})()},45942:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>T});var e=d(9244),f=d(64080),g=d(5e3);let T=(()=>{class m{transform(s){if(null==s||null==s.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const b=(0,e.IL)(s.attributes,f.r.GROUP_SYNC_ENABLED),O=(0,e.IL)(s.attributes,f.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===b&&null===O)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const E=O.value;if("true"===b.value){const k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_STATE),L=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_TIMESTAMP),V=k.value,$=L.value;return null!=V&&V.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==$&&$.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}if(E){const k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_STATE),L=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),V=k.value,$=L.value;return null!=V&&V.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==$&&$.trim().length>0?"VO_DETAIL.GROUPS.GROUP_STRUCTURE_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED"}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275pipe=g.Yjl({name:"groupSyncToolTip",type:m,pure:!0}),m})()},20919:(Ke,be,d)=>{"use strict";d.d(be,{D:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.g$)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"memberEmail",type:T,pure:!0}),T})()},5865:(Ke,be,d)=>{"use strict";d.d(be,{p:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.lt)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"memberLogins",type:T,pure:!0}),T})()},96974:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.Gw)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"memberOrganization",type:T,pure:!0}),T})()},69773:(Ke,be,d)=>{"use strict";d.d(be,{u:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){switch(m){case"VALID":return"green";case"INVALID":return"red";default:return""}}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"memberStatusIconColor",type:g,pure:!0}),g})()},21757:(Ke,be,d)=>{"use strict";d.d(be,{f:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){switch(m){case"VALID":return"verified_user";case"INVALID":return"report";case"EXPIRED":return"schedule";case"DISABLED":return"delete";default:return m}}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"memberStatusIcon",type:g,pure:!0}),g})()},12856:(Ke,be,d)=>{"use strict";d.d(be,{i:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A,s){let b=null,O=null;null!==A.memberAttributes&&(b=A.memberAttributes.find(h=>"membershipExpiration"===h.friendlyName),O=A.memberAttributes.find(h=>"groupMembershipExpiration"===h.friendlyName));let E="";return E=s?`\n Group status: ${(0,e.Oe)(A.groupStatus)}, Expiration: ${O&&O.value?O.value:"never"}`:`Status: ${(0,e.Oe)(A.status,A.groupStatus)}\n Vo status: ${(0,e.Oe)(A.status)}, Expiration: ${b&&b.value?b.value:"never"}`,E}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"memberStatusTooltip",type:T,pure:!0}),T})()},20551:(Ke,be,d)=>{"use strict";d.d(be,{l:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){return m.replace("VALID","ACTIVE")}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"memberStatus",type:g,pure:!0}),g})()},64597:(Ke,be,d)=>{"use strict";d.d(be,{R:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){return m.replace(/\s/g,"-").toLowerCase()}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"multiWordDataCy",type:g,pure:!0}),g})()},62383:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>g});var e=d(69808),f=d(5e3);let g=(()=>{class T{transform(A,s){return"voRules"===A?"Vo rules":"groupRules"===A?"Group rules":A&&"never"!==A.toLowerCase()?(0,e.p6)(A.replace(" ","T"),"d.M.yyyy "+(s?"H:mm:ss":""),"en"):"never"}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"parseDate",type:T,pure:!0}),T})()},53561:(Ke,be,d)=>{"use strict";d.d(be,{J:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.te)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"technicalOwners",type:T,pure:!0}),T})()},16119:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.kN)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"userEmail",type:T,pure:!0}),T})()},31359:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){let s="";return null!==m.titleBefore&&(s+=m.titleBefore+" "),null!==m.firstName&&(s+=m.firstName+" "),null!==m.middleName&&(s+=m.middleName+" "),null!==m.lastName&&(s+=m.lastName+" "),null!==m.titleAfter&&(s+=m.titleAfter+" "),s.endsWith(" ")&&(s=s.substring(0,s.length-1)),s}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"userFullName",type:g,pure:!0}),g})()},7598:(Ke,be,d)=>{"use strict";d.d(be,{g:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.$0)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"userLogins",type:T,pure:!0}),T})()},9954:(Ke,be,d)=>{"use strict";d.d(be,{Z:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.OV)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"userVo",type:T,pure:!0}),T})()},36908:(Ke,be,d)=>{"use strict";d.d(be,{yC:()=>se,F5:()=>Q,sM:()=>Fe,e8:()=>E,EB:()=>Le,Be:()=>Xe,Hy:()=>R,ly:()=>ve,fb:()=>tt,xw:()=>ne,x4:()=>T,v0:()=>V,SZ:()=>ge,V6:()=>te,jq:()=>Ce,BN:()=>Oe,Ip:()=>rt,HV:()=>fe,d6:()=>s,UA:()=>Me});var e=d(9315),f=d(45323),g=d(5e3);let T=(()=>{class N{constructor(D){this.authzSevice=D,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(D){this.principal=D,this.initData(D)}setPerunPolicies(D){this.perunPolicies=D}getPerunPolicies(){return this.perunPolicies}isAuthorized(D,S){if(null===this.principal.roles)return!1;const I=this.fetchPolicyWithAllIncludedPolicies(D);let P=[];for(const r of I)P=P.concat(r.perunRoles);const i=this.fetchAllRelatedObjects(S);return this.resolveAuthorization(P,i)}resolveAuthorization(D,S){for(const I of D){let P=!0;for(const i of Object.keys(I)){const r=I[i];if(null===r)this.principalRoles.has(i)||(P=!1);else if(S[r]){for(const p of S[r])if(!this.principalHasRole(i,r,p)){P=!1;break}}else P=!1;if(!P)break}if(P)return!0}return!1}fetchAllRelatedObjects(D){const S={};for(const I of D){let P=I.beanName;switch(I.beanName.startsWith("Rich")&&(P=I.beanName.substring(4)),S[P]?S[P].push(I.id):S[P]=[I.id],P){case"Member":S.User?S.User.push(I.userId):S.User=[I.userId],S.Vo?S.Vo.push(I.voId):S.Vo=[I.voId];break;case"Group":case"ResourceTag":S.Vo?S.Vo.push(I.voId):S.Vo=[I.voId];break;case"Resource":S.Facility?S.Facility.push(I.facilityId):S.Facility=[I.facilityId],S.Vo?S.Vo.push(I.voId):S.Vo=[I.voId]}}return S}principalHasRole(D,S,I){let P=S;return S.startsWith("Rich")&&(P=S.substring(4)),!(!this.principal.roles[D]||!this.principal.roles[D][P])&&this.principal.roles[D][P].includes(Number(I.toString()))}fetchPolicyWithAllIncludedPolicies(D){const S=new Map;let I=[];for(I.push(D);0!==I.length;){const i=I.shift();if(S.has(i)){console.log("Policy {} creates a cycle in the included policies of the policy {}",i,D);continue}const r=this.getPerunPolicy(i);if(!r)return[];S.set(i,r),I=I.concat(r.includePolicies)}const P=[];for(const i of S.values())P.push(i);return P}getPerunPolicy(D){for(const S of this.perunPolicies)if(S.policyName===D)return S;return console.log("policy with name"+D+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER,f.u.FACILITYADMIN,f.u.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(f.u.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.VOADMIN)}isThisVoAdminOrObserver(D){return this.editableVos.includes(Number(D.toString()))||this.observableVos.includes(Number(D.toString()))||this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER)}isThisVoAdmin(D){return this.editableVos.includes(D)||this.principalRoles.has(f.u.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(f.u.SPONSOR)}isThisGroupAdmin(D){return this.editableGroups.includes(D)||this.principalRoles.has(f.u.PERUNADMIN)}isGroupAdminInThisVo(D){return this.hasGroupInTheseVos.includes(D)}isFacilityAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.FACILITYADMIN)}isThisFacilityAdmin(D){return this.editableFacilities.includes(D)||this.principalRoles.has(f.u.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(f.u.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.VOOBSERVER,f.u.PERUNOBSERVER)}isThisVoObserver(D){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER)||this.observableVos.includes(D)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((D,S)=>{this.authzSevice.getAllRolesManagementRules().subscribe(I=>{this.allRolesManagementRules=I,D()},I=>S(I))})}assignAvailableRoles(D,S){this.allRolesManagementRules.forEach(I=>{I.primaryObject===S&&D.push(I.roleName)}),D.sort(),"Vo"===S&&this.voCustomSort(D)}isManagerPagePrivileged(D){const S=[];let I=D.beanName;I.startsWith("Rich")&&(I=I.substr(4)),this.assignAvailableRoles(S,I);const P=new Map;this.getRolesAuthorization(S,D,P);for(const i of P.values())if(i.readAuth||i.manageAuth)return!0;return!1}getRolesAuthorization(D,S,I){for(const P of D){let i=[],r=[],p=[];for(const c of this.allRolesManagementRules)if(c.roleName===P){i=i.concat(c.privilegedRolesToRead),r=r.concat(c.privilegedRolesToManage);for(const u of Object.keys(c.entitiesToManage))p="User"===u?[u].concat(p):p.concat(u);break}const o=this.fetchAllRelatedObjects([S]),t=this.resolveAuthorization(i,o),n=this.resolveAuthorization(r,o);I.set(P,{readAuth:t,manageAuth:n,modes:p})}}voCustomSort(D){for(let S=0;S{class N{constructor(){this.branding=""}setInstanceConfig(D){this.instanceConfig=D}setDefaultConfig(D){this.defaultConfig=D}getAppsConfig(){return this.appsConfig}setAppsConfig(D){this.appsConfig=D}setPerunPrincipal(D){this.principal=D}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(D){this.initialPageId=D}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(D){this.branding=D}skipOidc(){return this.get("skip_oidc")}get(...D){let S;if(""!==this.branding){const I=this.instanceConfig.brandings[this.branding];for(let P=0;P{class N{constructor(D,S,I,P,i){this.injector=D,this.store=S,this.dialog=I,this.route=P,this.oauthService=i,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(A.F0),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(r=>{r.idpFilter&&(this.filterShortname=r.idpFilter)})}getClientConfig(){const D=this.setIdpFilter(),S=D?{acr_values:D}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(S.prompt="consent"),sessionStorage.getItem("mfa_route")&&(S.acr_values="https://refeds.org/profile/mfa",S.prompt="login",S.max_age="0"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:S}}setIdpFilter(){const D=location.search.substr(1).split("&");this.filterShortname=null;const S=this.store.get("oidc_client","filters");if(!S)return null;let I=null;return D.forEach(P=>{const i=P.split("=");"idpFilter"===i[0]&&S[i[1]]&&(this.filterShortname=i[1],I=S[i[1]])}),S.default&&!I?(this.filterShortname="default",S.default):I}startIdpFilterKeeper(){this.router.events.pipe((0,m.h)(D=>D instanceof A.m2)).subscribe(()=>{const D={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===D.idpFilter?{}:D,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const D=location.pathname,S=location.search.substr(1);return"/api-callback"===D?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(D,S).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(D=>!!D&&(this.oauthService.events.pipe((0,m.h)(S=>"token_expires"===S.type)).subscribe(()=>{this.oauthService.refreshToken().then(S=>{localStorage.setItem("refresh_token",S.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(D){const S=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===D)return!0;for(const I of S)if(D.startsWith(I))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(D=>D)):Promise.resolve()}verifyAuthentication(D,S){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(I=>I?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(D)?(sessionStorage.setItem("auth:redirect",D),sessionStorage.setItem("auth:queryParams",S),!1):new Promise((P,i)=>i("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const D=sessionStorage.getItem("mfa_route");if(D)return this.router.navigate([D],{replaceUrl:!0});let S=sessionStorage.getItem("auth:redirect");const I=sessionStorage.getItem("auth:queryParams");let P=[];I&&(P=I.split("&"));const i={};return P.forEach(r=>{const p=r.split("=");i[p[0]]=p[1]}),(!S||"/login"===S)&&(S="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),i.idpFilter&&(this.filterShortname=i.idpFilter),this.router.navigate([S],{queryParams:i,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(g.zs3),g.LFG(s),g.LFG(b.uw),g.LFG(A.gz),g.LFG(O.Ct))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var h=d(51062);let k=(()=>{class N{constructor(D){this.dialogRef=D}}return N.\u0275fac=function(D){return new(D||N)(g.Y36(b.so))},N.\u0275cmp=g.Xpm({type:N,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(D,S){1&D&&(g.TgZ(0,"h2",0),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&D&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[b.xY],pipes:[h.X$],styles:[""]}),N})();var L=d(9244);let V=(()=>{class N{constructor(D,S,I,P,i,r){this.authService=D,this.storeService=S,this.authResolver=I,this.authzService=P,this.dialog=i,this.router=r,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(D){this.loginScreenShown=D}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(D=>D(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(D=>{if(null===D.user){const S=(0,L.kZ)();this.dialog.open(k,S)}else this.storeService.setPerunPrincipal(D),this.authResolver.init(D)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(D=>{D()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const D=location.search.substr(1).split("&"),S={};for(const I of D){const P=I.split("=");S[P[0]]=P[1]}return this.router.navigate(["login"],{queryParams:S,queryParamsHandling:"merge"}).then(()=>null)}}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(E),g.LFG(s),g.LFG(T),g.LFG(e.Ct),g.LFG(b.uw),g.LFG(A.F0))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var $=d(25245),ue=d(22313);let Le=(()=>{class N{constructor(D,S){this.matIconRegistry=D,this.domSanitizer=S,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"}]}registerPerunRefreshIcon(){this.customIcons.forEach(D=>{this.matIconRegistry.addSvgIcon(D.name,this.domSanitizer.bypassSecurityTrustResourceUrl(D.url))})}}return N.\u0275fac=function(D){return new(D||N)(g.LFG($.jv),g.LFG(ue.H7))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac}),N})();var de=d(40520),ke=d(61737),ae=d(22868),j=d(47423);let H=(()=>{class N{constructor(D){this.dialogRef=D}close(){this.dialogRef.close(!0)}}return N.\u0275fac=function(D){return new(D||N)(g.Y36(b.so))},N.\u0275cmp=g.Xpm({type:N,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(D,S){1&D&&(g.TgZ(0,"h1",0),g._uU(1),g.ALo(2,"translate"),g.qZA(),g.TgZ(3,"div",1),g._uU(4),g.ALo(5,"translate"),g.qZA(),g.TgZ(6,"div",2),g.TgZ(7,"div",3),g.TgZ(8,"button",4),g.NdJ("click",function(){return S.close()}),g._uU(9),g.ALo(10,"translate"),g.qZA(),g.qZA(),g.qZA()),2&D&&(g.xp6(1),g.Oqu(g.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),g.xp6(3),g.hij(" ",g.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),g.xp6(5),g.hij(" ",g.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[b.uh,b.xY,b.H8,j.lW],pipes:[h.X$],styles:[""]}),N})(),Q=(()=>{class N{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const D=this.handleNextError;return this.handleNextError=!0,D}}return N.\u0275fac=function(D){return new(D||N)},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),te=(()=>{class N{constructor(D){this.translate=D,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new g.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(D,S=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===D.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===D.name?S:S+"\n"+D.name,D,D.message)}showRouteError(){const D=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),S=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(D,null,S)}showError(D,S,I,P,i){this.addNotification.emit({type:"error",error:S,description:I,title:D,actionText:void 0===P&&void 0!==I?this.getDefaultActionMessage():P,delay:this.defaultErrorDelayMs,icon:"error_outline",action:i,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(D,S,I,P){this.addNotification.emit({type:"success",description:S,title:D,actionText:void 0===I&&void 0!==S?this.getDefaultActionMessage():I,delay:this.defaultSuccessDelayMs,icon:"done",action:P,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(h.sK))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),se=(()=>{class N{constructor(D,S,I,P,i,r){this.authService=D,this.apiRequestConfiguration=S,this.notificator=I,this.store=P,this.dialog=i,this.initAuthService=r}intercept(D,S){const I=this.store.get("api_url");if(-1!==D.url.indexOf("i18n")&&(D=D.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==I&&-1!==D.url.toString().indexOf(I)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const r=(0,L.kZ)();r.width="450px",this.dialog.open(H,r).afterClosed().subscribe(()=>{sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}D=this.initAuthService.isServiceAccess()?D.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):D.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const P=this.apiRequestConfiguration.shouldHandleError(),i="POST"===D.method&&!this.store.skipOidc()&&this.isCallToPerunApi(D.url);return S.handle(D).pipe((0,ae.b)(r=>{r instanceof de.Zn&&i&&this.initAuthService.loadPrincipal()},r=>{const p=this.formatErrors(r,D);return void 0===p?(0,ke._)(r):P?void this.notificator.showRPCError(p):(0,ke._)(p)}))}isCallToPerunApi(D){return D.startsWith(this.store.get("api_url"))}formatErrors(D,S){let I;if(console.error(D),D.error.errorId?I=D.error:D.errorId&&(I=JSON.parse(D.error)),void 0!==I)return I.urlWithParams=S.urlWithParams,I.call=S.url,I.payload=S.body,I}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(E),g.LFG(Q),g.LFG(te),g.LFG(s),g.LFG(b.uw),g.LFG(V))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac}),N})(),ge=(()=>{class N{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(D){this.newNotificationsCount++,this.notificationData.push(D)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return N.\u0275fac=function(D){return new(D||N)},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var Ne=d(27221);let Fe=(()=>{class N{constructor(D,S,I,P){this.http=D,this.notificator=S,this.authService=I,this.storeService=P}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(D,S,I,P){const i=D.error;return i.call=S,i.payload=I,P&&this.notificator.showRPCError(D.error),(0,ke._)(i)}getHeaders(){let D=new de.WM;return D=D.set("Authorization",this.authService.getAuthorizationHeaderValue()),D}get(D,S=!0){const I=`${this.getApiUrl()}${D}`;return this.http.get(I,{headers:this.getHeaders()}).pipe((0,Ne.K)(P=>this.formatErrors(P,I,null,S)))}put(D,S={},I=!0){const P=`${this.getApiUrl()}${D}`,i=JSON.stringify(S);return this.http.put(P,i,{headers:this.getHeaders()}).pipe((0,Ne.K)(r=>this.formatErrors(r,P,i,I)))}post(D,S={},I=!0){const P=`${this.getApiUrl()}${D}`,i=JSON.stringify(S);let r=this.getHeaders();return r=r.set("Content-Type","application/json; charset=utf-8"),this.http.post(P,i,{headers:r}).pipe((0,Ne.K)(p=>this.formatErrors(p,P,i,I)))}delete(D,S=!0){const I=`${this.getApiUrl()}${D}`;return this.http.delete(I,{headers:this.getHeaders()}).pipe((0,Ne.K)(P=>this.formatErrors(P,I,null,S)))}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(de.eN),g.LFG(te),g.LFG(E),g.LFG(s))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),ne=(()=>{class N{constructor(D){this.router=D,this.lastState="forward",this.history=new Set,D.events.subscribe(S=>{S instanceof A.OD&&("popstate"===S.navigationTrigger?this.history.has(S.restoredState.navigationId)?(this.lastState="back",this.history.delete(S.restoredState.navigationId)):(this.lastState="forward",this.history.add(S.id)):(this.history.add(S.id),this.lastState="forward"))})}forceNavigate(D,S){if(null===D)return;let I="";D.forEach(P=>I+="/"+P),I.length>0&&(I=I.substring(1)),void 0===S&&(S={}),S.queryParams={redirectTo:I},this.router.navigate(["redirect"],S)}getLastState(){return this.lastState}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(A.F0))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),Me=(()=>{class N{constructor(){}isAllSelectedWithDisabledCheckbox(D,S,I,P,i,r,p,o){return this.numSelected=D,this.numCanBeSelected=0,this.pageStart=i*I,this.pageEnd=this.pageStart+I,this.pageIterator=0,this.dataLength=""===S?r.data.length:r.filteredData.length,P||(this.modulo=this.dataLength%I,this.pageEnd=0===this.modulo?this.pageStart+I:this.pageStart+this.modulo),r.sortData(r.filteredData,p).forEach(t=>{this.pageStart<=this.pageIterator&&this.pageIterator{o?t(n)&&this.pageStart<=this.pageIterator&&this.pageIterator{class N{constructor(D,S,I,P){this.membersService=D,this.usersService=S,this.auditMessagesManagerService=I,this.registrarService=P}getMembers(D,S,I,P,i,r,p,o,t,n){return this.membersService.getMembersPage({vo:D,attrNames:S,query:{pageSize:i,offset:P*i,order:I,sortColumn:r,statuses:p,searchString:o,groupId:t,groupStatuses:n}})}getUsers(D,S,I,P,i,r,p,o,t,n,c,u){return this.usersService.getUsersPage({attrNames:D,query:{offset:P*I,pageSize:P,order:S,sortColumn:i,searchString:r,withoutVo:p,facilityId:o,voId:t,resourceId:n,serviceId:c,onlyAllowed:u}})}getAuditMessages(D,S,I){return this.auditMessagesManagerService.getMessagesPage({query:{offset:I*S,pageSize:I,order:D}})}getApplications(D,S,I,P,i,r,p,o,t,n,c,u,y){return this.registrarService.getApplicationsPage({vo:c,query:{pageSize:D,offset:S*D,order:I,sortColumn:P,searchString:r,includeGroupApplications:i,getDetails:y,states:p,dateFrom:o,dateTo:t,userId:n,groupId:u}})}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(e.uq),g.LFG(e.Fv),g.LFG(e.jw),g.LFG(e.tk))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var me=d(591),Te=d(21086),ee=d(40537);class R{constructor(he,D){this.dynamicPaginatingService=he,this.authzService=D,this.dataSubject=new me.X([]),this.loadingSubject=new me.X(!1),this.loading$=this.loadingSubject.asObservable(),this.allObjectCount=0,this.routeAuth=!0}loadMembers(he,D,S,I,P,i,r,p,o,t){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const n=this.latestQueryTime;this.dynamicPaginatingService.getMembers(he,D,S,I,P,i,r,p,o,t).pipe((0,Ne.K)(()=>(0,Te.of)([])),(0,ee.x)(()=>this.loadingSubject.next(!1))).subscribe(c=>{if(this.latestQueryTime<=n){const u=c.data;null!==u&&0!==u.length&&(this.routeAuth=this.authzService.isAuthorized("getMemberById_int_policy",[{beanName:"Vo",id:he},u[0]])),this.allObjectCount=c.totalCount,this.dataSubject.next(u)}})}loadUsers(he,D,S,I,P,i,r,p,o,t,n,c){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const u=this.latestQueryTime;this.dynamicPaginatingService.getUsers(he,I,S,D,P,i,r,p,o,t,n,c).pipe((0,Ne.K)(()=>(0,Te.of)([])),(0,ee.x)(()=>this.loadingSubject.next(!1))).subscribe(y=>{if(this.latestQueryTime<=u){const M=y.data;this.allObjectCount=y.totalCount,this.dataSubject.next(M)}})}loadAuditMessages(he,D,S){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const I=this.latestQueryTime;this.dynamicPaginatingService.getAuditMessages(S,D,he).pipe((0,Ne.K)(()=>(0,Te.of)([])),(0,ee.x)(()=>this.loadingSubject.next(!1))).subscribe(P=>{if(this.latestQueryTime<=I){const i=P.data;this.allObjectCount=P.totalCount,this.dataSubject.next(i)}})}loadApplications(he,D,S,I,P,i,r,p,o,t,n,c,u){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const y=this.latestQueryTime;this.dynamicPaginatingService.getApplications(he,D,S,I,i,P,r,p,o,t,c,n,null!=u&&u).pipe((0,Ne.K)(()=>(0,Te.of)([])),(0,ee.x)(()=>this.loadingSubject.next(!1))).subscribe(M=>{if(this.latestQueryTime<=y){const re=M.data;if(null!==re&&0!==re.length){const et=re;this.routeAuth=et[0].group?this.authzService.isAuthorized("getApplicationsForGroup_Group_List_policy",[et[0].group]):this.authzService.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[et[0].vo])}this.allObjectCount=M.totalCount,this.dataSubject.next(re)}})}connect(){return this.dataSubject.asObservable()}disconnect(){this.dataSubject.complete(),this.loadingSubject.complete()}getData(){return this.dataSubject.value}}let Oe=(()=>{class N{constructor(D,S){this.route=D,this.store=S}getPreferredLanguage(D){const S=this.store.get("supported_languages"),I=navigator.languages.map(r=>r.split("-")[0]),P=location.search.substr(1).split("&");let i=null;for(const r of P){const p=r.split("=");"lang"===p[0]&&(i=p[1])}return i&&S.includes(i)?i:D&&S.includes(D)?D:I&&S.includes(I[0])?I[0]:"en"}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(A.gz),g.LFG(s))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var Ie=d(70655);let He=(()=>{class N{constructor(){}loadPdfMake(){return(0,Ie.mG)(this,void 0,void 0,function*(){if(!this.pdfMake){const D=yield d.e(641).then(d.t.bind(d,54641,23)),S=yield d.e(493).then(d.t.bind(d,58493,19));this.pdfMake=D.default,this.pdfMake.vfs=S.default.pdfMake.vfs}})}generatePdf(D){return(0,Ie.mG)(this,void 0,void 0,function*(){yield this.loadPdfMake(),this.pdfMake.createPdf(D).open()})}}return N.\u0275fac=function(D){return new(D||N)},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),fe=(()=>{class N{constructor(D){this.pdfService=D}static generateTableForUser(D){const S=D.name.replace(";"," ").split(";")[0];return"OK"!==D.status?this.generateErrorRowForUser(S,D.status):N.generateRowForUser(S,D.login,D.password)}static generateErrorRowForUser(D,S){return{table:{heights:[30,1,1],widths:[249,249],body:[[{text:D,colSpan:1,alignment:"center",bold:!0,fontSize:12,margin:[20,25],color:"red"},{text:S,alignment:"center",bold:!0,color:"red"}]]}}}static generateRowForUser(D,S,I){return{table:{heights:[30,0],widths:[120,120,120,120],body:[[N.generateNameCell(D),{},N.getPasswordLabelCell(),N.generatePasswordCell(I)],[N.getLoginLabelCell(),N.generateLoginCell(S),{},{}]]}}}static generateNameCell(D){return{text:D,colSpan:2,alignment:"center",border:[!0,!0,!0,!1],bold:!0,fontSize:12,margin:[10,10]}}static generatePasswordCell(D){return{text:null==D?"N/A":D,border:[!1,!0,!0,!0],bold:!0,margin:[0,25],rowSpan:2,alignment:"left"}}static generateLoginCell(D){return{text:null==D?"N/A":D,border:[!1,!1,!0,!0],bold:!0}}static getLoginLabelCell(){return{text:"Login:",border:[!0,!1,!1,!0],alignment:"right",margin:[0,0,0,10]}}static getPasswordLabelCell(){return{text:"Password:",border:[!0,!0,!1,!0],alignment:"right",margin:[0,25],rowSpan:2}}generate(D){return(0,Ie.mG)(this,void 0,void 0,function*(){const S=[];for(const P of D)S.push(N.generateTableForUser(P));return this.pdfService.generatePdf({content:S})})}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(He))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),Ce=(()=>{class N{constructor(D){this.storeService=D}static getBrandContainingDomain(D,S){for(const I of D)if(I.newApps.admin===S||I.newApps.profile===S||I.newApps.pwdReset===S)return I;return D[0]}getUrlForOtherApplication(D,S){const P=window.location.href.split("/"),i=P[0]+"//"+P[2],r=N.getBrandContainingDomain(this.storeService.getAppsConfig().brands,i);let p;if(r.newApps[D])p=r.newApps[D],"pwdReset"===D&&(p+=`?login-namespace=${S}`);else switch(p=r.oldGuiDomain+"/fed",D){case"admin":p+="/gui/";break;case"profile":p+="/profile/";break;case"pwdReset":p+=`/pwd-reset/?login-namespace=${S}`}return p}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(s))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var Ve=d(86087);let Xe=(()=>{class N extends Ve.ye{constructor(){super(...arguments),this.getRangeLabel=function(D,S,I){let P;return P=I<1e3?I:I<1e4?"1 000":I<1e5?"10 000":"100 000",`${D*S+1} \u2013 ${(D+1)*S} of ${P} +`}}}return N.\u0275fac=function(){let he;return function(S){return(he||(he=g.n5z(N)))(S||N)}}(),N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac}),N})(),tt=(()=>{class N{setEntity(D){this.entity=D}getEntity(){return this.entity}}return N.\u0275fac=function(D){return new(D||N)},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),rt=(()=>{class N{constructor(D){this.authResolver=D,this.routePolicies=new Map([["organizations-members",S=>this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[S])],["organizations-groups",S=>this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[S])],["organizations-resources",S=>this.authResolver.isAuthorized("getRichResources_Vo_policy",[S])||this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[S])||this.authResolver.isAuthorized("getResourcesState_Vo_policy",[S])],["organizations-resources-preview",S=>this.authResolver.isAuthorized("getRichResources_Vo_policy",[S])],["organizations-resources-tags",S=>this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[S])],["organizations-resources-states",S=>this.authResolver.isAuthorized("getResourcesState_Vo_policy",[S])],["organizations-applications",S=>this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[S])],["organizations-sponsoredMembers",S=>this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[S])],["organizations-serviceAccounts",S=>this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[S])],["organizations-attributes",()=>!0],["organizations-statistics",S=>this.authResolver.isAuthorized("getMembersCount_Vo_Status_policy",[S])&&this.authResolver.isAuthorized("getMembersCount_Vo_policy",[S])],["organizations-settings",S=>this.authResolver.isManagerPagePrivileged(S)||this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[S])||this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-expiration",S=>this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-managers",S=>this.authResolver.isManagerPagePrivileged(S)],["organizations-settings-applicationForm",S=>this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-notifications",S=>this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-extsources",S=>this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[S])]])}canNavigate(D,S){const I=this.routePolicies.get(D);return!I||I(S)}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(T))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})()},64080:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>e});let e=(()=>{class f{}return f.MEMBER_DEF_EXPIRATION="urn:perun:member:attribute-def:def:membershipExpiration",f.MEMBER_DEF_GROUP_EXPIRATION="urn:perun:member_group:attribute-def:def:groupMembershipExpiration",f.MEMBER_DEF_ORGANIZATION="urn:perun:member:attribute-def:def:organization",f.MEMBER_DEF_MAIL="urn:perun:member:attribute-def:def:mail",f.MEMBER_CORE_ID="urn:perun:member:attribute-def:core:id",f.VO_DEF_EXPIRATION_RULES="urn:perun:vo:attribute-def:def:membershipExpirationRules",f.VO_DEF_MAIL_FOOTER="urn:perun:vo:attribute-def:def:mailFooter",f.VO_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:vo:attribute-def:def:blockManualMemberAdding",f.USER_DEF_ORGANIZATION="urn:perun:user:attribute-def:def:organization",f.USER_DEF_PREFERRED_MAIL="urn:perun:user:attribute-def:def:preferredMail",f.GROUP_DEF_EXPIRATION_RULES="urn:perun:group:attribute-def:def:groupMembershipExpirationRules",f.GROUP_DEF_MAIL_FOOTER="urn:perun:group:attribute-def:def:mailFooter",f.GROUP_SYNC_ENABLED="urn:perun:group:attribute-def:def:synchronizationEnabled",f.GROUP_LAST_SYNC_STATE="urn:perun:group:attribute-def:def:lastSynchronizationState",f.GROUP_LAST_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastSynchronizationTimestamp",f.GROUP_STRUCTURE_SYNC_ENABLED="urn:perun:group:attribute-def:def:groupStructureSynchronizationEnabled",f.GROUP_LAST_STRUCTURE_SYNC_STATE="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationState",f.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationTimestamp",f.GROUP_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:group:attribute-def:def:blockManualMemberAdding",f.UES_DEF_MAIL="urn:perun:ues:attribute-def:def:mail",f.UES_DEF_ORGANIZATION="urn:perun:ues:attribute-def:def:o",f})()},9244:(Ke,be,d)=>{"use strict";d.d(be,{dN:()=>h,Je:()=>b,f7:()=>O.f7,l9:()=>E.l,sF:()=>O.sF,XI:()=>O.XI,aC:()=>O.aC,fx:()=>O.fx,dv:()=>O.dv,i5:()=>O.i5,Sd:()=>O.Sd,pR:()=>O.pR,ys:()=>O.ys,O6:()=>O.O6,B2:()=>O.B2,mH:()=>O.mH,MX:()=>O.MX,oU:()=>O.oU,IL:()=>O.IL,Jc:()=>O.Jc,Xn:()=>O.Xn,kZ:()=>O.kZ,v$:()=>O.v$,x2:()=>O.x2,vL:()=>O.vL,Hm:()=>O.Hm,Cz:()=>O.Cz,sG:()=>O.sG,g$:()=>O.g$,bD:()=>O.bD,lt:()=>O.lt,Oe:()=>O.Oe,hu:()=>O.hu,Gw:()=>O.Gw,te:()=>O.te,kN:()=>O.kN,$0:()=>O.$0,OV:()=>O.OV});var e=d(86087),f=d(92181),g=d(25245),T=d(47423),m=d(51062),A=d(69808),s=d(5e3);let b=(()=>{class k{}return k.\u0275fac=function(V){return new(V||k)},k.\u0275mod=s.oAB({type:k}),k.\u0275inj=s.cJS({providers:[],imports:[[e.TU,f.Tx,g.Ps,T.ot,m.aw,A.ez]]}),k})();var O=d(17218),E=d(18750);class h{static passwordMatchValidator(L){const V=L.get("passwordCtrl").value,$=L.get("passwordAgainCtrl").value;return L.get("passwordAgainCtrl").setErrors(V!==$?{noPasswordMatch:!0}:null),null}static patternValidator(L){return V=>{if(!V.value)return null;let $=0;for(const ue of L)$+=ue.test(V.value)?1:0;return $>=3?null:{isWeak:!0}}}}},17218:(Ke,be,d)=>{"use strict";d.d(be,{f7:()=>A,B2:()=>s,g$:()=>b,kN:()=>O,$0:()=>E,lt:()=>h,bD:()=>L,hu:()=>V,Cz:()=>$,te:()=>ce,ys:()=>Le,vL:()=>ke,sF:()=>ae,XI:()=>j,OV:()=>te,MX:()=>se,oU:()=>ge,IL:()=>Ne,Jc:()=>Fe,v$:()=>ne,i5:()=>Te,kZ:()=>ee,dv:()=>R,Hm:()=>Oe,Oe:()=>Ie,Gw:()=>He,x2:()=>fe,sG:()=>Ce,pR:()=>Xe,Sd:()=>tt,Xn:()=>N,O6:()=>he,aC:()=>D,fx:()=>S,mH:()=>I});var e=d(70655),f=d(48966),g=d(69808),T=d(94327);const A=[5,10,25,100],s=/^(([^<>+()[\]\\.,;:\s@"-#$%&=]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]+))$/;function b(P){let i="";return P&&null!==P.userAttributes&&(P.userAttributes.forEach(r=>{"preferredMail"===r.friendlyName&&(i=r.value)}),i&&0===i.length&&null!==P.memberAttributes&&P.memberAttributes.forEach(r=>{"mail"===r.friendlyName&&null!==r.value&&(i=r.value)})),i}function O(P){let i="";return P&&P.userAttributes.forEach(r=>{"preferredMail"===r.friendlyName&&(i=r.value)}),i}function E(P){let i="";return!!P&&!!P.userAttributes&&P.userAttributes.filter(r=>"login-namespace"===r.baseFriendlyName).filter(r=>null!==r.value).forEach(r=>{i+=r.friendlyNameParameter+": "+r.value+", "}),i.endsWith(", ")&&(i=i.substring(0,i.length-2)),i}function h(P){let i="";return!!P&&!!P.userAttributes&&P.userAttributes.filter(r=>"login-namespace"===r.baseFriendlyName).filter(r=>null!==r.value).forEach(r=>{i+=r.friendlyNameParameter+": "+r.value+", "}),i.endsWith(", ")&&(i=i.substring(0,i.length-2)),i}function L(P){let i="";return null!==P.titleBefore&&(i+=P.titleBefore+" "),null!==P.firstName&&(i+=P.firstName+" "),null!==P.middleName&&(i+=P.middleName+" "),null!==P.lastName&&(i+=P.lastName+" "),null!==P.titleAfter&&(i+=P.titleAfter+" "),i.endsWith(" ")&&(i=i.substring(0,i.length-1)),i}function V(P){let i="";return null!==P.firstName&&(i+=P.firstName+" "),null!==P.middleName&&(i+=P.middleName+" "),null!==P.lastName&&(i+=P.lastName+" "),i.endsWith(" ")&&(i=i.substring(0,i.length-1)),i}function $(P){let i="";return P.split(/(?=[A-Z])/g).forEach(p=>{i=i.concat(p.toLowerCase()),i=i.concat(" ")}),i=i.charAt(0).toUpperCase()+i.slice(1,i.length-1),i}function ce(P){let i="";for(const r of P)"technical"===r.type&&(i+=r.name+", ");return i.endsWith(", ")&&(i=i.substring(0,i.length-2)),i}function Le(P,i){return(0,e.mG)(this,void 0,void 0,function*(){yield function de(P){return new Promise(i=>setTimeout(i,P))}(P),i()})}function ke(P){return JSON.parse(localStorage.getItem(P))||[]}function ae(P,i){if(null===localStorage.getItem(P)){const r=[];r.unshift(i.id),localStorage.setItem(P,JSON.stringify(r))}else{const r=JSON.parse(localStorage.getItem(P)),p=function Q(P,i){for(let r=0;r0&&r.splice(p,1),0!==p&&r.unshift(i.id),r.length>5&&r.pop(),localStorage.setItem(P,JSON.stringify(r))}}function j(P,i){if(null===localStorage.getItem("recent")){let r;r="Group"===P.beanName?[{id:P.id,name:P.shortName,fullName:P.name,type:P.beanName,voId:P.voId,voName:i}]:[{id:P.id,name:P.name,type:P.beanName,voId:P.voId}],localStorage.setItem("recent",JSON.stringify(r))}else{const r=JSON.parse(localStorage.getItem("recent"));let p;p="Group"===P.beanName?{id:P.id,name:P.shortName,fullName:P.name,type:P.beanName,voId:P.voId,voName:i}:{id:P.id,name:P.name,type:P.beanName,voId:P.voId};const o=function H(P,i){for(let r=0;r0&&r.splice(o,1),0!==o&&r.unshift(p),r.length>5&&r.pop(),localStorage.setItem("recent",JSON.stringify(r))}}function te(P){let i="";return P&&P.userAttributes.forEach(r=>{"organization"===r.friendlyName&&(i=r.value)}),i}function se(P){return P.filter(i=>!i.namespace.includes("def:core"))}function ge(P,i){const r=i.find(p=>p.id===P);return r?r.parentGroupId?ge(r.parentGroupId,i).concat(r):[r]:[]}function Ne(P,i){for(const r of P)if(r.namespace+":"+r.friendlyName===i)return r;return null}function Fe(P){return null!=P.attributes["urn:perun:member:attribute-def:def:mail"]?P.attributes["urn:perun:member:attribute-def:def:mail"]:null!=P.attributes["urn:perun:user:attribute-def:def:preferredMail"]?P.attributes["urn:perun:user:attribute-def:def:preferredMail"]:""}function ne(P){return P.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceX509".toLowerCase()?function Me(P){if(P.includes("/CN=")){const i=P.split("/");for(const r in i)if(r.startsWith("CN="))return ve(r.substring(3))}return P}(P.userExtSource.extSource.name):P.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceIdp".toLowerCase()?function me(P){switch(P){case"https://idp.upce.cz/idp/shibboleth":return"University in Pardubice";case"https://idp.slu.cz/idp/shibboleth":return"University in Opava";case"https://login.feld.cvut.cz/idp/shibboleth":return"Faculty of Electrical Engineering, Czech Technical University In Prague";case"https://www.vutbr.cz/SSO/saml2/idp":return"Brno University of Technology";case"https://shibboleth.nkp.cz/idp/shibboleth":return"The National Library of the Czech Republic";case"https://idp2.civ.cvut.cz/idp/shibboleth":return"Czech Technical University In Prague";case"https://shibbo.tul.cz/idp/shibboleth":return"Technical University of Liberec";case"https://idp.mendelu.cz/idp/shibboleth":return"Mendel University in Brno";case"https://cas.cuni.cz/idp/shibboleth":return"Charles University in Prague";case"https://wsso.vscht.cz/idp/shibboleth":return"Institute of Chemical Technology Prague";case"https://idp.vsb.cz/idp/shibboleth":return"VSB \u2013 Technical University of Ostrava";case"https://whoami.cesnet.cz/idp/shibboleth":return"CESNET";case"https://helium.jcu.cz/idp/shibboleth":return"University of South Bohemia";case"https://idp.ujep.cz/idp/shibboleth":return"Jan Evangelista Purkyne University in Usti nad Labem";case"https://idp.amu.cz/idp/shibboleth":return"Academy of Performing Arts in Prague";case"https://idp.lib.cas.cz/idp/shibboleth":return"Academy of Sciences Library";case"https://shibboleth.mzk.cz/simplesaml/metadata.xml":return"Moravian Library";case"https://idp2.ics.muni.cz/idp/shibboleth":return"Masaryk University";case"https://idp.upol.cz/idp/shibboleth":return"Palacky University, Olomouc";case"https://idp.fnplzen.cz/idp/shibboleth":return"FN Plzen";case"https://id.vse.cz/idp/shibboleth":return"University of Economics, Prague";case"https://shib.zcu.cz/idp/shibboleth":return"University of West Bohemia";case"https://idptoo.osu.cz/simplesaml/saml2/idp/metadata.php":return"University of Ostrava";case"https://login.ics.muni.cz/idp/shibboleth":return"MetaCentrum";case"https://idp.hostel.eduid.cz/idp/shibboleth":return"eduID.cz Hostel";case"https://shibboleth.techlib.cz/idp/shibboleth":return"National Library of Technology";case"https://eduid.jamu.cz/idp/shibboleth":return"Janacek Academy of Music and Performing Arts in Brno";case"https://marisa.uochb.cas.cz/simplesaml/saml2/idp/metadata.php":return"Institute of Organic Chemistry and Biochemistry AS CR";case"https://shibboleth.utb.cz/idp/shibboleth":return"Tomas Bata University in Zlin";case"https://engine.elixir-czech.org/authentication/idp/metadata":case"@elixir-europe.org":return"Elixir Europe";case"https://login.elixir-czech.org/idp":return"Elixir Czech";case"https://mojeid.cz/saml/idp.xml":case"@mojeid.extidp.cesnet.cz":return"MojeID";case"https://www.egi.eu/idp/shibboleth":return"EGI SSO";case"@google.extidp.cesnet.cz":return"Google";case"@facebook.extidp.cesnet.cz":return"Facebook";case"@linkedin.extidp.cesnet.cz":return"LinkedIn";case"@twitter.extidp.cesnet.cz":return"Twitter";case"@seznam.extidp.cesnet.cz":return"Seznam";case"@github.extidp.cesnet.cz":return"GitHub";case"@orcid.extidp.cesnet.cz":return"OrcID";default:return P}}(P.userExtSource.extSource.name):P.userExtSource.extSource.name}function ve(P){return decodeURIComponent(P.replace(/\\x/g,"%"))}function Te(P=["en","cs"]){const i={appType:"INITIAL",formId:0,mailType:"APP_CREATED_USER",send:!0,message:{}};return P.forEach(r=>{i.message[r]={locale:r,subject:"",text:""}}),i}function ee(){const P=new f.vA;return P.disableClose=!0,P.autoFocus=!1,P}function R(P){const i={applicationTypes:["INITIAL","EXTENSION"],federationAttribute:"",i18n:{},id:0,ordnum:0,perunDestinationAttribute:null,perunSourceAttribute:null,regex:"",required:!1,updatable:!0,disabled:"NEVER",hidden:"NEVER",disabledDependencyItemId:null,hiddenDependencyItemId:null,shortname:"",type:null};for(const r of P)i.i18n[r]={locale:r,errorMessage:"",help:"",label:"",options:""};return i}function Oe(P){return"virt"===P.namespace.split(":")[4]}function Ie(P,i){return"valid"!==P.toLowerCase()||i&&"valid"!==P.toLowerCase()?P:"ACTIVE"}function He(P){let i="";return P&&null!==P.memberAttributes&&(P.memberAttributes.forEach(r=>{"organization"===r.friendlyName&&null!==r.value&&(i=r.value)}),0===i.length&&null!==P.userAttributes&&P.userAttributes.forEach(r=>{"organization"===r.friendlyName&&(i=r.value)})),i}function fe(P){const i=P.attributes.find(r=>"groupMembershipExpiration"===r.baseFriendlyName);return i&&i.value?i.value:"Never"}function Ce(P){return P&&"never"!==P.toLowerCase()?(0,g.p6)(P,"d.M.yyyy","en"):P}const Ve=new Intl.Collator("cs",{numeric:!0});function Xe(P,i,r,p){const o=i.active,t=i.direction;return o&&""!==t?P.sort((n,c)=>{const u=r(n,o,p),y=r(c,o,p);return Ve.compare(u,y)*("asc"===t?1:-1)}):P}function tt(P,i,r,p,o,t){i=i.toLowerCase();let n="";return r.forEach(c=>{n+=";"+p(P,c,o)}),t&&(n+=";"+p(P,"uuid",o)),-1!==n.toLowerCase().indexOf(i)}function N(P,i,r,p){const o=[],t=["checkbox","select","edit","menu","cite","extend","recent"];return i=i.filter(n=>!t.includes(n)),P.forEach(n=>{const c={};i.forEach(u=>{var y;c[u]=(null!==(y=r(n,u,p))&&void 0!==y?y:"").split('"').join("''").trim()}),o.push(c)}),o}function he(P,i="csv",r="export"){if("csv"===i){const p=(u,y)=>null===y?"":y,o=Object.keys(P[0]),t=P.map(u=>o.map(y=>JSON.stringify(u[y],p)).join(","));t.unshift(o.join(",").split(" ").join("_").split('"').join("''"));const n=t.join("\r\n"),c=new Blob([n],{type:"text/csv"});(0,T.saveAs)(c,`${r}.${i}`)}}function D(P,i){return P.name.toLowerCase()>i.name.toLowerCase()?1:P.name.toLowerCase()===i.name.toLowerCase()?0:-1}function S(P,i){var r,p,o,t;let n,c;return P.user?(n=P.user.lastName?P.user.lastName:null!==(r=P.user.firstName)&&void 0!==r?r:"",c=i.user.lastName?i.user.lastName:null!==(p=i.user.firstName)&&void 0!==p?p:""):(n=P.lastName?P.lastName:null!==(o=P.firstName)&&void 0!==o?o:"",c=i.lastName?i.lastName:null!==(t=i.firstName)&&void 0!==t?t:""),n>c?1:n===c?0:-1}function I(P,i,r=[]){P.enable(),P.clearValidators(),P.clearAsyncValidators(),P.setValidators(i),P.setAsyncValidators(r),P.updateValueAndValidity()}},18750:(Ke,be,d)=>{"use strict";d.d(be,{l:()=>V});var e=d(5e3),f=d(86087),g=d(17218),T=d(10036),m=d(69808),A=d(47423),s=d(92181),b=d(25245),O=d(51062);let E=(()=>{class ${constructor(){this.exportData=new e.vpe}}return $.\u0275fac=function(ce){return new(ce||$)},$.\u0275cmp=e.Xpm({type:$,selectors:[["perun-web-apps-table-options"]],outputs:{exportData:"exportData"},decls:13,vars:5,consts:[[1,"position-right"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["exportOptions","matMenu"],["mat-menu-item","",3,"click"]],template:function(ce,Le){if(1&ce&&(e.TgZ(0,"div",0),e.TgZ(1,"button",1),e.TgZ(2,"mat-icon"),e._uU(3,"more_vert"),e.qZA(),e.qZA(),e.TgZ(4,"mat-menu",null,2),e.TgZ(6,"button",3),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.qZA(),e.TgZ(9,"mat-menu",null,4),e.TgZ(11,"button",5),e.NdJ("click",function(){return Le.exportData.emit("csv")}),e._uU(12,"Csv"),e.qZA(),e.qZA(),e.qZA()),2&ce){const de=e.MAs(5),ke=e.MAs(10);e.xp6(1),e.Q6J("matMenuTriggerFor",de),e.xp6(5),e.Q6J("matMenuTriggerFor",ke),e.xp6(1),e.hij(" ",e.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[A.lW,s.p6,b.Hw,s.VK,s.OP],pipes:[O.X$],styles:[""]}),$})();function h($,ue){if(1&$){const ce=e.EpF();e.TgZ(0,"perun-web-apps-table-options",6),e.NdJ("exportData",function(de){return e.CHM(ce),e.oxw().exportData.emit(de)}),e.qZA()}}function k($,ue){if(1&$){const ce=e.EpF();e.TgZ(0,"perun-web-apps-table-options",6),e.NdJ("exportData",function(de){return e.CHM(ce),e.oxw().exportData.emit(de)}),e.qZA()}}const L=["*"];let V=(()=>{class ${constructor(ce){this.tableConfigService=ce,this.hideExport=!1,this.pageSizeOptions=g.f7,this.dataLength=0,this.exportData=new e.vpe,this.pageSize=5}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}set matPaginator(ce){this.paginator=ce}pageChangedTop(ce){this.pageSize=ce.pageSize,this.tableConfigService.setTablePageSize(this.tableId,ce.pageSize)}pageChangedBottom(ce){this.paginator.pageSize=ce.pageSize,this.paginator.pageIndex=ce.pageIndex,this.paginator.page.emit(ce),this.pageSize=ce.pageSize,this.tableId&&this.tableConfigService.setTablePageSize(this.tableId,ce.pageSize)}}return $.\u0275fac=function(ce){return new(ce||$)(e.Y36(T.dB))},$.\u0275cmp=e.Xpm({type:$,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(ce,Le){if(1&ce&&e.Gf(f.NW,7),2&ce){let de;e.iGM(de=e.CRH())&&(Le.matPaginator=de.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:L,decls:9,vars:9,consts:[[1,"card-body","pt-0"],[1,"row","justify-content-end","align-items-center"],[3,"length","pageSizeOptions","pageSize","page"],[3,"exportData",4,"ngIf"],[1,"overflow-auto","border-top"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],[3,"exportData"]],template:function(ce,Le){1&ce&&(e.F$t(),e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"mat-paginator",2),e.NdJ("page",function(ke){return Le.pageChangedTop(ke)}),e.qZA(),e.YNc(3,h,1,0,"perun-web-apps-table-options",3),e.qZA(),e.TgZ(4,"div",4),e.Hsn(5),e.qZA(),e.TgZ(6,"div",1),e.TgZ(7,"mat-paginator",5),e.NdJ("page",function(ke){return Le.pageChangedBottom(ke)}),e.qZA(),e.YNc(8,k,1,0,"perun-web-apps-table-options",3),e.qZA(),e.qZA()),2&ce&&(e.xp6(2),e.Q6J("length",Le.dataLength)("pageSizeOptions",Le.pageSizeOptions)("pageSize",Le.pageSize),e.xp6(1),e.Q6J("ngIf",!Le.hideExport),e.xp6(4),e.Q6J("length",Le.paginator.length)("pageIndex",Le.paginator.pageIndex)("pageSizeOptions",Le.paginator.pageSizeOptions)("pageSize",Le.paginator.pageSize),e.xp6(1),e.Q6J("ngIf",!Le.hideExport))},directives:[f.NW,m.O5,E],styles:[""]}),$})()},98380:(Ke,be,d)=>{"use strict";d.d(be,{w:()=>O});var e=d(5e3),f=d(69808),g=d(25245);function T(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," info "),e.qZA())}function m(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," warning "),e.qZA())}function A(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," dangerous "),e.qZA())}function s(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," check_circle "),e.qZA())}const b=["*"];let O=(()=>{class E{constructor(){}}return E.\u0275fac=function(k){return new(k||E)},E.\u0275cmp=e.Xpm({type:E,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:b,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(k,L){1&k&&(e.F$t(),e.TgZ(0,"div",0),e.YNc(1,T,2,0,"mat-icon",1),e.YNc(2,m,2,0,"mat-icon",1),e.YNc(3,A,2,0,"mat-icon",1),e.YNc(4,s,2,0,"mat-icon",1),e.Hsn(5),e.qZA()),2&k&&(e.ekj("warn-alert","warn"===L.alert_type)("error-alert","error"===L.alert_type)("success-alert","success"===L.alert_type)("info-alert","info"===L.alert_type),e.xp6(1),e.Q6J("ngIf","info"===L.alert_type),e.xp6(1),e.Q6J("ngIf","warn"===L.alert_type),e.xp6(1),e.Q6J("ngIf","error"===L.alert_type),e.xp6(1),e.Q6J("ngIf","success"===L.alert_type))},directives:[f.O5,g.Hw],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),E})()},63189:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>T});var e=d(25245),f=d(69808),g=d(5e3);let T=(()=>{class m{}return m.\u0275fac=function(s){return new(s||m)},m.\u0275mod=g.oAB({type:m}),m.\u0275inj=g.cJS({imports:[[e.Ps,f.ez]]}),m})()},1302:function(Ke,be,d){var e;!function(f,g){var T={};!function(f){"use strict";f.__esModule=!0,f.digestLength=32,f.blockSize=64;var g=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function T(L,V,$,ue,ce){for(var Le,de,ke,ae,j,H,Q,te,se,ge,Ne,Fe,ne;ce>=64;){for(Le=V[0],de=V[1],ke=V[2],ae=V[3],j=V[4],H=V[5],Q=V[6],te=V[7],ge=0;ge<16;ge++)L[ge]=(255&$[Ne=ue+4*ge])<<24|(255&$[Ne+1])<<16|(255&$[Ne+2])<<8|255&$[Ne+3];for(ge=16;ge<64;ge++)L[ge]=((Fe=((se=L[ge-2])>>>17|se<<15)^(se>>>19|se<<13)^se>>>10)+L[ge-7]|0)+((ne=((se=L[ge-15])>>>7|se<<25)^(se>>>18|se<<14)^se>>>3)+L[ge-16]|0);for(ge=0;ge<64;ge++)Fe=(((j>>>6|j<<26)^(j>>>11|j<<21)^(j>>>25|j<<7))+(j&H^~j&Q)|0)+(te+(g[ge]+L[ge]|0)|0)|0,ne=((Le>>>2|Le<<30)^(Le>>>13|Le<<19)^(Le>>>22|Le<<10))+(Le&de^Le&ke^de&ke)|0,te=Q,Q=H,H=j,j=ae+Fe|0,ae=ke,ke=de,de=Le,Le=Fe+ne|0;V[0]+=Le,V[1]+=de,V[2]+=ke,V[3]+=ae,V[4]+=j,V[5]+=H,V[6]+=Q,V[7]+=te,ue+=64,ce-=64}return ue}var m=function(){function L(){this.digestLength=f.digestLength,this.blockSize=f.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return L.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},L.prototype.clean=function(){for(var V=0;V0){for(;this.bufferLength<64&&$>0;)this.buffer[this.bufferLength++]=V[ue++],$--;64===this.bufferLength&&(T(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for($>=64&&(ue=T(this.temp,this.state,V,ue,$),$%=64);$>0;)this.buffer[this.bufferLength++]=V[ue++],$--;return this},L.prototype.finish=function(V){if(!this.finished){var $=this.bytesHashed,ue=this.bufferLength,ce=$/536870912|0,Le=$<<3,de=$%64<56?64:128;this.buffer[ue]=128;for(var ke=ue+1;ke>>24&255,this.buffer[de-7]=ce>>>16&255,this.buffer[de-6]=ce>>>8&255,this.buffer[de-5]=ce>>>0&255,this.buffer[de-4]=Le>>>24&255,this.buffer[de-3]=Le>>>16&255,this.buffer[de-2]=Le>>>8&255,this.buffer[de-1]=Le>>>0&255,T(this.temp,this.state,this.buffer,0,de),this.finished=!0}for(ke=0;ke<8;ke++)V[4*ke+0]=this.state[ke]>>>24&255,V[4*ke+1]=this.state[ke]>>>16&255,V[4*ke+2]=this.state[ke]>>>8&255,V[4*ke+3]=this.state[ke]>>>0&255;return this},L.prototype.digest=function(){var V=new Uint8Array(this.digestLength);return this.finish(V),V},L.prototype._saveState=function(V){for(var $=0;$this.blockSize)(new m).update(V).finish($).clean();else for(var ue=0;ue1&&V.update(L),$&&V.update($),V.update(ue),V.finish(L),ue[0]++}f.HMAC=A,f.hash=s,f.default=s,f.hmac=b;var E=new Uint8Array(f.digestLength);f.hkdf=function h(L,V,$,ue){void 0===V&&(V=E),void 0===ue&&(ue=32);for(var ce=new Uint8Array([1]),Le=b(V,L),de=new A(Le),ke=new Uint8Array(de.digestLength),ae=ke.length,j=new Uint8Array(ue),H=0;H>>24&255,de[1]=Q>>>16&255,de[2]=Q>>>8&255,de[3]=Q>>>0&255,ce.reset(),ce.update(V),ce.update(de),ce.finish(ae);for(var te=0;te=h.status}function A(E){try{E.dispatchEvent(new MouseEvent("click"))}catch(k){var h=document.createEvent("MouseEvents");h.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),E.dispatchEvent(h)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,b=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),O=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!b?function(E,h,k){var L=s.URL||s.webkitURL,V=document.createElement("a");V.download=h=h||E.name||"download",V.rel="noopener","string"==typeof E?(V.href=E,V.origin===location.origin?A(V):m(V.href)?T(E,h,k):A(V,V.target="_blank")):(V.href=L.createObjectURL(E),setTimeout(function(){L.revokeObjectURL(V.href)},4e4),setTimeout(function(){A(V)},0))}:"msSaveOrOpenBlob"in navigator?function(E,h,k){if(h=h||E.name||"download","string"!=typeof E)navigator.msSaveOrOpenBlob(function g(E,h){return void 0===h?h={autoBom:!1}:"object"!=typeof h&&(console.warn("Deprecated: Expected third argument to be a object"),h={autoBom:!h}),h.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(E.type)?new Blob(["\ufeff",E],{type:E.type}):E}(E,k),h);else if(m(E))T(E,h,k);else{var L=document.createElement("a");L.href=E,L.target="_blank",setTimeout(function(){A(L)})}}:function(E,h,k,L){if((L=L||open("","_blank"))&&(L.document.title=L.document.body.innerText="downloading..."),"string"==typeof E)return T(E,h,k);var V="application/octet-stream"===E.type,$=/constructor/i.test(s.HTMLElement)||s.safari,ue=/CriOS\/[\d]+/.test(navigator.userAgent);if((ue||V&&$||b)&&"undefined"!=typeof FileReader){var ce=new FileReader;ce.onloadend=function(){var ke=ce.result;ke=ue?ke:ke.replace(/^data:[^;]*;/,"data:attachment/file;"),L?L.location.href=ke:location=ke,L=null},ce.readAsDataURL(E)}else{var Le=s.URL||s.webkitURL,de=Le.createObjectURL(E);L?L.location=de:location.href=de,L=null,setTimeout(function(){Le.revokeObjectURL(de)},4e4)}});s.saveAs=O.saveAs=O,Ke.exports=O}.apply(be,[]))&&(Ke.exports=f)},591:(Ke,be,d)=>{"use strict";d.d(be,{X:()=>g});var e=d(8929),f=d(95279);class g extends e.xQ{constructor(m){super(),this._value=m}get value(){return this.getValue()}_subscribe(m){const A=super._subscribe(m);return A&&!A.closed&&m.next(this._value),A}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new f.N;return this._value}next(m){super.next(this._value=m)}}},51869:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>f});var e=d(43489);class f extends e.L{constructor(T,m,A){super(),this.parent=T,this.outerValue=m,this.outerIndex=A,this.index=0}_next(T){this.parent.notifyNext(this.outerValue,T,this.outerIndex,this.index++,this)}_error(T){this.parent.notifyError(T,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},29312:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>m});var e=d(68896),f=d(21086),g=d(61737);class m{constructor(s,b,O){this.kind=s,this.value=b,this.error=O,this.hasValue="N"===s}observe(s){switch(this.kind){case"N":return s.next&&s.next(this.value);case"E":return s.error&&s.error(this.error);case"C":return s.complete&&s.complete()}}do(s,b,O){switch(this.kind){case"N":return s&&s(this.value);case"E":return b&&b(this.error);case"C":return O&&O()}}accept(s,b,O){return s&&"function"==typeof s.next?this.observe(s):this.do(s,b,O)}toObservable(){switch(this.kind){case"N":return(0,f.of)(this.value);case"E":return(0,g._)(this.error);case"C":return(0,e.c)()}throw new Error("unexpected notification kind value")}static createNext(s){return void 0!==s?new m("N",s):m.undefinedValueNotification}static createError(s){return new m("E",void 0,s)}static createComplete(){return m.completeNotification}}m.completeNotification=new m("C"),m.undefinedValueNotification=new m("N",void 0)},32916:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>h});var e=d(43489),g=d(57668),T=d(73292),A=d(93821),s=d(35379);var E=d(92830);let h=(()=>{class L{constructor($){this._isScalar=!1,$&&(this._subscribe=$)}lift($){const ue=new L;return ue.source=this,ue.operator=$,ue}subscribe($,ue,ce){const{operator:Le}=this,de=function m(L,V,$){if(L){if(L instanceof e.L)return L;if(L[g.b])return L[g.b]()}return L||V||$?new e.L(L,V,$):new e.L(T.c)}($,ue,ce);if(de.add(Le?Le.call(de,this.source):this.source||E.v.useDeprecatedSynchronousErrorHandling&&!de.syncErrorThrowable?this._subscribe(de):this._trySubscribe(de)),E.v.useDeprecatedSynchronousErrorHandling&&de.syncErrorThrowable&&(de.syncErrorThrowable=!1,de.syncErrorThrown))throw de.syncErrorValue;return de}_trySubscribe($){try{return this._subscribe($)}catch(ue){E.v.useDeprecatedSynchronousErrorHandling&&($.syncErrorThrown=!0,$.syncErrorValue=ue),function f(L){for(;L;){const{closed:V,destination:$,isStopped:ue}=L;if(V||ue)return!1;L=$&&$ instanceof e.L?$:null}return!0}($)?$.error(ue):console.warn(ue)}}forEach($,ue){return new(ue=k(ue))((ce,Le)=>{let de;de=this.subscribe(ke=>{try{$(ke)}catch(ae){Le(ae),de&&de.unsubscribe()}},Le,ce)})}_subscribe($){const{source:ue}=this;return ue&&ue.subscribe($)}[A.L](){return this}pipe(...$){return 0===$.length?this:function O(L){return 0===L.length?s.y:1===L.length?L[0]:function($){return L.reduce((ue,ce)=>ce(ue),$)}}($)(this)}toPromise($){return new($=k($))((ue,ce)=>{let Le;this.subscribe(de=>Le=de,de=>ce(de),()=>ue(Le))})}}return L.create=V=>new L(V),L})();function k(L){if(L||(L=E.v.Promise||Promise),!L)throw new Error("no Promise impl found");return L}},73292:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>g});var e=d(92830),f=d(22782);const g={closed:!0,next(T){},error(T){if(e.v.useDeprecatedSynchronousErrorHandling)throw T;(0,f.z)(T)},complete(){}}},826:(Ke,be,d)=>{"use strict";d.d(be,{L:()=>f});var e=d(43489);class f extends e.L{notifyNext(T,m,A,s,b){this.destination.next(m)}notifyError(T,m){this.destination.error(T)}notifyComplete(T){this.destination.complete()}}},96831:(Ke,be,d)=>{"use strict";d.d(be,{t:()=>ue});var e=d(8929),f=d(56686),T=d(32268);const A=new class m extends T.v{}(class g extends f.o{constructor(de,ke){super(de,ke),this.scheduler=de,this.work=ke}schedule(de,ke=0){return ke>0?super.schedule(de,ke):(this.delay=ke,this.state=de,this.scheduler.flush(this),this)}execute(de,ke){return ke>0||this.closed?super.execute(de,ke):this._execute(de,ke)}requestAsyncId(de,ke,ae=0){return null!==ae&&ae>0||null===ae&&this.delay>0?super.requestAsyncId(de,ke,ae):de.flush(this)}});var s=d(42654),b=d(43489),O=d(29312);class k extends b.L{constructor(de,ke,ae=0){super(de),this.scheduler=ke,this.delay=ae}static dispatch(de){const{notification:ke,destination:ae}=de;ke.observe(ae),this.unsubscribe()}scheduleMessage(de){this.destination.add(this.scheduler.schedule(k.dispatch,this.delay,new L(de,this.destination)))}_next(de){this.scheduleMessage(O.P.createNext(de))}_error(de){this.scheduleMessage(O.P.createError(de)),this.unsubscribe()}_complete(){this.scheduleMessage(O.P.createComplete()),this.unsubscribe()}}class L{constructor(de,ke){this.notification=de,this.destination=ke}}var V=d(95279),$=d(45283);class ue extends e.xQ{constructor(de=Number.POSITIVE_INFINITY,ke=Number.POSITIVE_INFINITY,ae){super(),this.scheduler=ae,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=de<1?1:de,this._windowTime=ke<1?1:ke,ke===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(de){const ke=this._events;ke.push(de),ke.length>this._bufferSize&&ke.shift(),super.next(de)}nextTimeWindow(de){this._events.push(new ce(this._getNow(),de)),this._trimBufferThenGetEvents(),super.next(de)}_subscribe(de){const ke=this._infiniteTimeWindow,ae=ke?this._events:this._trimBufferThenGetEvents(),j=this.scheduler,H=ae.length;let Q;if(this.closed)throw new V.N;if(this.isStopped||this.hasError?Q=s.w.EMPTY:(this.observers.push(de),Q=new $.W(this,de)),j&&de.add(de=new k(de,j)),ke)for(let te=0;teke&&(Q=Math.max(Q,H-ke)),Q>0&&j.splice(0,Q),j}}class ce{constructor(de,ke){this.time=de,this.value=ke}}},8929:(Ke,be,d)=>{"use strict";d.d(be,{Yc:()=>s,xQ:()=>b});var e=d(32916),f=d(43489),g=d(42654),T=d(95279),m=d(45283),A=d(57668);class s extends f.L{constructor(h){super(h),this.destination=h}}let b=(()=>{class E extends e.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[A.b](){return new s(this)}lift(k){const L=new O(this,this);return L.operator=k,L}next(k){if(this.closed)throw new T.N;if(!this.isStopped){const{observers:L}=this,V=L.length,$=L.slice();for(let ue=0;uenew O(h,k),E})();class O extends b{constructor(h,k){super(),this.destination=h,this.source=k}next(h){const{destination:k}=this;k&&k.next&&k.next(h)}error(h){const{destination:k}=this;k&&k.error&&this.destination.error(h)}complete(){const{destination:h}=this;h&&h.complete&&this.destination.complete()}_subscribe(h){const{source:k}=this;return k?this.source.subscribe(h):g.w.EMPTY}}},45283:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>f});var e=d(42654);class f extends e.w{constructor(T,m){super(),this.subject=T,this.subscriber=m,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const T=this.subject,m=T.observers;if(this.subject=null,!m||0===m.length||T.isStopped||T.closed)return;const A=m.indexOf(this.subscriber);-1!==A&&m.splice(A,1)}}},43489:(Ke,be,d)=>{"use strict";d.d(be,{L:()=>s});var e=d(67043),f=d(73292),g=d(42654),T=d(57668),m=d(92830),A=d(22782);class s extends g.w{constructor(E,h,k){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=f.c;break;case 1:if(!E){this.destination=f.c;break}if("object"==typeof E){E instanceof s?(this.syncErrorThrowable=E.syncErrorThrowable,this.destination=E,E.add(this)):(this.syncErrorThrowable=!0,this.destination=new b(this,E));break}default:this.syncErrorThrowable=!0,this.destination=new b(this,E,h,k)}}[T.b](){return this}static create(E,h,k){const L=new s(E,h,k);return L.syncErrorThrowable=!1,L}next(E){this.isStopped||this._next(E)}error(E){this.isStopped||(this.isStopped=!0,this._error(E))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(E){this.destination.next(E)}_error(E){this.destination.error(E),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:E}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=E,this}}class b extends s{constructor(E,h,k,L){super(),this._parentSubscriber=E;let V,$=this;(0,e.m)(h)?V=h:h&&(V=h.next,k=h.error,L=h.complete,h!==f.c&&($=Object.create(h),(0,e.m)($.unsubscribe)&&this.add($.unsubscribe.bind($)),$.unsubscribe=this.unsubscribe.bind(this))),this._context=$,this._next=V,this._error=k,this._complete=L}next(E){if(!this.isStopped&&this._next){const{_parentSubscriber:h}=this;m.v.useDeprecatedSynchronousErrorHandling&&h.syncErrorThrowable?this.__tryOrSetError(h,this._next,E)&&this.unsubscribe():this.__tryOrUnsub(this._next,E)}}error(E){if(!this.isStopped){const{_parentSubscriber:h}=this,{useDeprecatedSynchronousErrorHandling:k}=m.v;if(this._error)k&&h.syncErrorThrowable?(this.__tryOrSetError(h,this._error,E),this.unsubscribe()):(this.__tryOrUnsub(this._error,E),this.unsubscribe());else if(h.syncErrorThrowable)k?(h.syncErrorValue=E,h.syncErrorThrown=!0):(0,A.z)(E),this.unsubscribe();else{if(this.unsubscribe(),k)throw E;(0,A.z)(E)}}}complete(){if(!this.isStopped){const{_parentSubscriber:E}=this;if(this._complete){const h=()=>this._complete.call(this._context);m.v.useDeprecatedSynchronousErrorHandling&&E.syncErrorThrowable?(this.__tryOrSetError(E,h),this.unsubscribe()):(this.__tryOrUnsub(h),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(E,h){try{E.call(this._context,h)}catch(k){if(this.unsubscribe(),m.v.useDeprecatedSynchronousErrorHandling)throw k;(0,A.z)(k)}}__tryOrSetError(E,h,k){if(!m.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{h.call(this._context,k)}catch(L){return m.v.useDeprecatedSynchronousErrorHandling?(E.syncErrorValue=L,E.syncErrorThrown=!0,!0):((0,A.z)(L),!0)}return!1}_unsubscribe(){const{_parentSubscriber:E}=this;this._context=null,this._parentSubscriber=null,E.unsubscribe()}}},42654:(Ke,be,d)=>{"use strict";d.d(be,{w:()=>A});var e=d(66688),f=d(57830),g=d(67043);const m=(()=>{function b(O){return Error.call(this),this.message=O?`${O.length} errors occurred during unsubscription:\n${O.map((E,h)=>`${h+1}) ${E.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=O,this}return b.prototype=Object.create(Error.prototype),b})();class A{constructor(O){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,O&&(this._unsubscribe=O)}unsubscribe(){let O;if(this.closed)return;let{_parentOrParents:E,_unsubscribe:h,_subscriptions:k}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,E instanceof A)E.remove(this);else if(null!==E)for(let L=0;LO.concat(E instanceof m?E.errors:E),[])}A.EMPTY=((b=new A).closed=!0,b)},92830:(Ke,be,d)=>{"use strict";d.d(be,{v:()=>f});let e=!1;const f={Promise:void 0,set useDeprecatedSynchronousErrorHandling(g){if(g){const T=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+T.stack)}else e&&console.log("RxJS: Back to a better error behavior. Thank you. <3");e=g},get useDeprecatedSynchronousErrorHandling(){return e}}},71762:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>m,N:()=>A});var e=d(8929),f=d(32916),g=d(42654),T=d(74327);class m extends f.y{constructor(h,k){super(),this.source=h,this.subjectFactory=k,this._refCount=0,this._isComplete=!1}_subscribe(h){return this.getSubject().subscribe(h)}getSubject(){const h=this._subject;return(!h||h.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let h=this._connection;return h||(this._isComplete=!1,h=this._connection=new g.w,h.add(this.source.subscribe(new s(this.getSubject(),this))),h.closed&&(this._connection=null,h=g.w.EMPTY)),h}refCount(){return(0,T.x)()(this)}}const A=(()=>{const E=m.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:E._subscribe},_isComplete:{value:E._isComplete,writable:!0},getSubject:{value:E.getSubject},connect:{value:E.connect},refCount:{value:E.refCount}}})();class s extends e.Yc{constructor(h,k){super(h),this.connectable=k}_error(h){this._unsubscribe(),super._error(h)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const h=this.connectable;if(h){this.connectable=null;const k=h._connection;h._refCount=0,h._subject=null,h._connection=null,k&&k.unsubscribe()}}}},36053:(Ke,be,d)=>{"use strict";d.d(be,{aj:()=>s});var e=d(72866),f=d(66688),g=d(826),T=d(69054),m=d(33009);const A={};function s(...E){let h=null,k=null;return(0,e.K)(E[E.length-1])&&(k=E.pop()),"function"==typeof E[E.length-1]&&(h=E.pop()),1===E.length&&(0,f.k)(E[0])&&(E=E[0]),(0,m.n)(E,k).lift(new b(h))}class b{constructor(h){this.resultSelector=h}call(h,k){return k.subscribe(new O(h,this.resultSelector))}}class O extends g.L{constructor(h,k){super(h),this.resultSelector=k,this.active=0,this.values=[],this.observables=[]}_next(h){this.values.push(A),this.observables.push(h)}_complete(){const h=this.observables,k=h.length;if(0===k)this.destination.complete();else{this.active=k,this.toRespond=k;for(let L=0;L{"use strict";d.d(be,{z:()=>T});var e=d(21086),f=d(89146);function T(...m){return function g(){return(0,f.J)(1)}()((0,e.of)(...m))}},88514:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>T});var e=d(32916),f=d(5254),g=d(68896);function T(m){return new e.y(A=>{let s;try{s=m()}catch(O){return void A.error(O)}return(s?(0,f.D)(s):(0,g.c)()).subscribe(A)})}},68896:(Ke,be,d)=>{"use strict";d.d(be,{E:()=>f,c:()=>g});var e=d(32916);const f=new e.y(m=>m.complete());function g(m){return m?function T(m){return new e.y(A=>m.schedule(()=>A.complete()))}(m):f}},30567:(Ke,be,d)=>{"use strict";d.d(be,{D:()=>A});var e=d(32916),f=d(66688),g=d(24850),T=d(57830),m=d(5254);function A(...b){if(1===b.length){const O=b[0];if((0,f.k)(O))return s(O,null);if((0,T.K)(O)&&Object.getPrototypeOf(O)===Object.prototype){const E=Object.keys(O);return s(E.map(h=>O[h]),E)}}if("function"==typeof b[b.length-1]){const O=b.pop();return s(b=1===b.length&&(0,f.k)(b[0])?b[0]:b,null).pipe((0,g.U)(E=>O(...E)))}return s(b,null)}function s(b,O){return new e.y(E=>{const h=b.length;if(0===h)return void E.complete();const k=new Array(h);let L=0,V=0;for(let $=0;${ce||(ce=!0,V++),k[$]=Le},error:Le=>E.error(Le),complete:()=>{L++,(L===h||!ce)&&(V===h&&E.next(O?O.reduce((Le,de,ke)=>(Le[de]=k[ke],Le),{}):k),E.complete())}}))}})}},5254:(Ke,be,d)=>{"use strict";d.d(be,{D:()=>$});var e=d(32916),f=d(59249),g=d(42654),T=d(93821),s=d(66454),b=d(5430),h=d(98955),k=d(58515);function $(ue,ce){return ce?function V(ue,ce){if(null!=ue){if(function E(ue){return ue&&"function"==typeof ue[T.L]}(ue))return function m(ue,ce){return new e.y(Le=>{const de=new g.w;return de.add(ce.schedule(()=>{const ke=ue[T.L]();de.add(ke.subscribe({next(ae){de.add(ce.schedule(()=>Le.next(ae)))},error(ae){de.add(ce.schedule(()=>Le.error(ae)))},complete(){de.add(ce.schedule(()=>Le.complete()))}}))})),de})}(ue,ce);if((0,h.t)(ue))return function A(ue,ce){return new e.y(Le=>{const de=new g.w;return de.add(ce.schedule(()=>ue.then(ke=>{de.add(ce.schedule(()=>{Le.next(ke),de.add(ce.schedule(()=>Le.complete()))}))},ke=>{de.add(ce.schedule(()=>Le.error(ke)))}))),de})}(ue,ce);if((0,k.z)(ue))return(0,s.r)(ue,ce);if(function L(ue){return ue&&"function"==typeof ue[b.hZ]}(ue)||"string"==typeof ue)return function O(ue,ce){if(!ue)throw new Error("Iterable cannot be null");return new e.y(Le=>{const de=new g.w;let ke;return de.add(()=>{ke&&"function"==typeof ke.return&&ke.return()}),de.add(ce.schedule(()=>{ke=ue[b.hZ](),de.add(ce.schedule(function(){if(Le.closed)return;let ae,j;try{const H=ke.next();ae=H.value,j=H.done}catch(H){return void Le.error(H)}j?Le.complete():(Le.next(ae),this.schedule())}))})),de})}(ue,ce)}throw new TypeError((null!==ue&&typeof ue||ue)+" is not observable")}(ue,ce):ue instanceof e.y?ue:new e.y((0,f.s)(ue))}},33009:(Ke,be,d)=>{"use strict";d.d(be,{n:()=>T});var e=d(32916),f=d(13650),g=d(66454);function T(m,A){return A?(0,g.r)(m,A):new e.y((0,f.V)(m))}},23753:(Ke,be,d)=>{"use strict";d.d(be,{R:()=>A});var e=d(32916),f=d(66688),g=d(67043),T=d(24850);function A(h,k,L,V){return(0,g.m)(L)&&(V=L,L=void 0),V?A(h,k,L).pipe((0,T.U)($=>(0,f.k)($)?V(...$):V($))):new e.y($=>{s(h,k,function ue(ce){$.next(arguments.length>1?Array.prototype.slice.call(arguments):ce)},$,L)})}function s(h,k,L,V,$){let ue;if(function E(h){return h&&"function"==typeof h.addEventListener&&"function"==typeof h.removeEventListener}(h)){const ce=h;h.addEventListener(k,L,$),ue=()=>ce.removeEventListener(k,L,$)}else if(function O(h){return h&&"function"==typeof h.on&&"function"==typeof h.off}(h)){const ce=h;h.on(k,L),ue=()=>ce.off(k,L)}else if(function b(h){return h&&"function"==typeof h.addListener&&"function"==typeof h.removeListener}(h)){const ce=h;h.addListener(k,L),ue=()=>ce.removeListener(k,L)}else{if(!h||!h.length)throw new TypeError("Invalid event target");for(let ce=0,Le=h.length;ce{"use strict";d.d(be,{F:()=>T});var e=d(32916),f=d(20353),g=d(84241);function T(A=0,s=f.P){return(!(0,g.k)(A)||A<0)&&(A=0),(!s||"function"!=typeof s.schedule)&&(s=f.P),new e.y(b=>(b.add(s.schedule(m,A,{subscriber:b,counter:0,period:A})),b))}function m(A){const{subscriber:s,counter:b,period:O}=A;s.next(b),this.schedule({subscriber:s,counter:b+1,period:O},O)}},36787:(Ke,be,d)=>{"use strict";d.d(be,{T:()=>m});var e=d(32916),f=d(72866),g=d(89146),T=d(33009);function m(...A){let s=Number.POSITIVE_INFINITY,b=null,O=A[A.length-1];return(0,f.K)(O)?(b=A.pop(),A.length>1&&"number"==typeof A[A.length-1]&&(s=A.pop())):"number"==typeof O&&(s=A.pop()),null===b&&1===A.length&&A[0]instanceof e.y?A[0]:(0,g.J)(s)((0,T.n)(A,b))}},21086:(Ke,be,d)=>{"use strict";d.d(be,{of:()=>T});var e=d(72866),f=d(33009),g=d(66454);function T(...m){let A=m[m.length-1];return(0,e.K)(A)?(m.pop(),(0,g.r)(m,A)):(0,f.n)(m)}},61946:(Ke,be,d)=>{"use strict";d.d(be,{S3:()=>m});var e=d(66688),f=d(33009),g=d(826),T=d(69054);function m(...b){if(1===b.length){if(!(0,e.k)(b[0]))return b[0];b=b[0]}return(0,f.n)(b,void 0).lift(new A)}class A{call(O,E){return E.subscribe(new s(O))}}class s extends g.L{constructor(O){super(O),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(O){this.observables.push(O)}_complete(){const O=this.observables,E=O.length;if(0===E)this.destination.complete();else{for(let h=0;h{"use strict";d.d(be,{_:()=>f});var e=d(32916);function f(T,m){return new e.y(m?A=>m.schedule(g,0,{error:T,subscriber:A}):A=>A.error(T))}function g({error:T,subscriber:m}){m.error(T)}},98723:(Ke,be,d)=>{"use strict";d.d(be,{H:()=>m});var e=d(32916),f=d(20353),g=d(84241),T=d(72866);function m(s=0,b,O){let E=-1;return(0,g.k)(b)?E=Number(b)<1?1:Number(b):(0,T.K)(b)&&(O=b),(0,T.K)(O)||(O=f.P),new e.y(h=>{const k=(0,g.k)(s)?s:+s-O.now();return O.schedule(A,k,{index:0,period:E,subscriber:h})})}function A(s){const{index:b,period:O,subscriber:E}=s;if(E.next(b),!E.closed){if(-1===O)return E.complete();s.index=b+1,this.schedule(s,O)}}},57138:(Ke,be,d)=>{"use strict";d.d(be,{e:()=>b});var e=d(20353),f=d(826),g=d(69054);class m{constructor(E){this.durationSelector=E}call(E,h){return h.subscribe(new A(E,this.durationSelector))}}class A extends f.L{constructor(E,h){super(E),this.durationSelector=h,this.hasValue=!1}_next(E){if(this.value=E,this.hasValue=!0,!this.throttled){let h;try{const{durationSelector:L}=this;h=L(E)}catch(L){return this.destination.error(L)}const k=(0,g.D)(this,h);!k||k.closed?this.clearThrottle():this.add(this.throttled=k)}}clearThrottle(){const{value:E,hasValue:h,throttled:k}=this;k&&(this.remove(k),this.throttled=null,k.unsubscribe()),h&&(this.value=null,this.hasValue=!1,this.destination.next(E))}notifyNext(E,h,k,L){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var s=d(98723);function b(O,E=e.P){return function T(O){return function(h){return h.lift(new m(O))}}(()=>(0,s.H)(O,E))}},27221:(Ke,be,d)=>{"use strict";d.d(be,{K:()=>T});var e=d(826),f=d(51869),g=d(69054);function T(s){return function(O){const E=new m(s),h=O.lift(E);return E.caught=h}}class m{constructor(b){this.selector=b}call(b,O){return O.subscribe(new A(b,this.selector,this.caught))}}class A extends e.L{constructor(b,O,E){super(b),this.selector=O,this.caught=E}error(b){if(!this.isStopped){let O;try{O=this.selector(b,this.caught)}catch(k){return void super.error(k)}this._unsubscribeAndRecycle();const E=new f.d(this,void 0,void 0);this.add(E);const h=(0,g.D)(this,O,void 0,void 0,E);h!==E&&this.add(h)}}}},21406:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>f});var e=d(61709);function f(g,T){return(0,e.zg)(g,T,1)}},80013:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>g});var e=d(43489),f=d(20353);function g(s,b=f.P){return O=>O.lift(new T(s,b))}class T{constructor(b,O){this.dueTime=b,this.scheduler=O}call(b,O){return O.subscribe(new m(b,this.dueTime,this.scheduler))}}class m extends e.L{constructor(b,O,E){super(b),this.dueTime=O,this.scheduler=E,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(b){this.clearDebounce(),this.lastValue=b,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(A,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:b}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(b)}}clearDebounce(){const b=this.debouncedSubscription;null!==b&&(this.remove(b),b.unsubscribe(),this.debouncedSubscription=null)}}function A(s){s.debouncedNext()}},47314:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>f});var e=d(43489);function f(m=null){return A=>A.lift(new g(m))}class g{constructor(A){this.defaultValue=A}call(A,s){return s.subscribe(new T(A,this.defaultValue))}}class T extends e.L{constructor(A,s){super(A),this.defaultValue=s,this.isEmpty=!0}_next(A){this.isEmpty=!1,this.destination.next(A)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},40943:(Ke,be,d)=>{"use strict";d.d(be,{g:()=>m});var e=d(20353),f=d(82697),g=d(43489),T=d(29312);function m(O,E=e.P){const k=(0,f.J)(O)?+O-E.now():Math.abs(O);return L=>L.lift(new A(k,E))}class A{constructor(E,h){this.delay=E,this.scheduler=h}call(E,h){return h.subscribe(new s(E,this.delay,this.scheduler))}}class s extends g.L{constructor(E,h,k){super(E),this.delay=h,this.scheduler=k,this.queue=[],this.active=!1,this.errored=!1}static dispatch(E){const h=E.source,k=h.queue,L=E.scheduler,V=E.destination;for(;k.length>0&&k[0].time-L.now()<=0;)k.shift().notification.observe(V);if(k.length>0){const $=Math.max(0,k[0].time-L.now());this.schedule(E,$)}else this.unsubscribe(),h.active=!1}_schedule(E){this.active=!0,this.destination.add(E.schedule(s.dispatch,this.delay,{source:this,destination:this.destination,scheduler:E}))}scheduleNotification(E){if(!0===this.errored)return;const h=this.scheduler,k=new b(h.now()+this.delay,E);this.queue.push(k),!1===this.active&&this._schedule(h)}_next(E){this.scheduleNotification(T.P.createNext(E))}_error(E){this.errored=!0,this.queue=[],this.destination.error(E),this.unsubscribe()}_complete(){this.scheduleNotification(T.P.createComplete()),this.unsubscribe()}}class b{constructor(E,h){this.time=E,this.notification=h}}},75778:(Ke,be,d)=>{"use strict";d.d(be,{x:()=>f});var e=d(43489);function f(m,A){return s=>s.lift(new g(m,A))}class g{constructor(A,s){this.compare=A,this.keySelector=s}call(A,s){return s.subscribe(new T(A,this.compare,this.keySelector))}}class T extends e.L{constructor(A,s,b){super(A),this.keySelector=b,this.hasKey=!1,"function"==typeof s&&(this.compare=s)}compare(A,s){return A===s}_next(A){let s;try{const{keySelector:O}=this;s=O?O(A):A}catch(O){return this.destination.error(O)}let b=!1;if(this.hasKey)try{const{compare:O}=this;b=O(this.key,s)}catch(O){return this.destination.error(O)}else this.hasKey=!0;b||(this.key=s,this.destination.next(A))}}},92198:(Ke,be,d)=>{"use strict";d.d(be,{h:()=>f});var e=d(43489);function f(m,A){return function(b){return b.lift(new g(m,A))}}class g{constructor(A,s){this.predicate=A,this.thisArg=s}call(A,s){return s.subscribe(new T(A,this.predicate,this.thisArg))}}class T extends e.L{constructor(A,s,b){super(A),this.predicate=s,this.thisArg=b,this.count=0}_next(A){let s;try{s=this.predicate.call(this.thisArg,A,this.count++)}catch(b){return void this.destination.error(b)}s&&this.destination.next(A)}}},40537:(Ke,be,d)=>{"use strict";d.d(be,{x:()=>g});var e=d(43489),f=d(42654);function g(A){return s=>s.lift(new T(A))}class T{constructor(s){this.callback=s}call(s,b){return b.subscribe(new m(s,this.callback))}}class m extends e.L{constructor(s,b){super(s),this.add(new f.w(b))}}},87224:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>s});var e=d(84450),f=d(92198),g=d(72986),T=d(47314),m=d(34907),A=d(35379);function s(b,O){const E=arguments.length>=2;return h=>h.pipe(b?(0,f.h)((k,L)=>b(k,L,h)):A.y,(0,g.q)(1),E?(0,T.d)(O):(0,m.T)(()=>new e.K))}},24850:(Ke,be,d)=>{"use strict";d.d(be,{U:()=>f});var e=d(43489);function f(m,A){return function(b){if("function"!=typeof m)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return b.lift(new g(m,A))}}class g{constructor(A,s){this.project=A,this.thisArg=s}call(A,s){return s.subscribe(new T(A,this.project,this.thisArg))}}class T extends e.L{constructor(A,s,b){super(A),this.project=s,this.count=0,this.thisArg=b||this}_next(A){let s;try{s=this.project.call(this.thisArg,A,this.count++)}catch(b){return void this.destination.error(b)}this.destination.next(s)}}},77604:(Ke,be,d)=>{"use strict";d.d(be,{h:()=>f});var e=d(43489);function f(m){return A=>A.lift(new g(m))}class g{constructor(A){this.value=A}call(A,s){return s.subscribe(new T(A,this.value))}}class T extends e.L{constructor(A,s){super(A),this.value=s}_next(A){this.destination.next(this.value)}}},89146:(Ke,be,d)=>{"use strict";d.d(be,{J:()=>g});var e=d(61709),f=d(35379);function g(T=Number.POSITIVE_INFINITY){return(0,e.zg)(f.y,T)}},61709:(Ke,be,d)=>{"use strict";d.d(be,{zg:()=>A});var e=d(69054),f=d(826),g=d(51869),T=d(24850),m=d(5254);function A(O,E,h=Number.POSITIVE_INFINITY){return"function"==typeof E?k=>k.pipe(A((L,V)=>(0,m.D)(O(L,V)).pipe((0,T.U)(($,ue)=>E(L,$,V,ue))),h)):("number"==typeof E&&(h=E),k=>k.lift(new s(O,h)))}class s{constructor(E,h=Number.POSITIVE_INFINITY){this.project=E,this.concurrent=h}call(E,h){return h.subscribe(new b(E,this.project,this.concurrent))}}class b extends f.L{constructor(E,h,k=Number.POSITIVE_INFINITY){super(E),this.project=h,this.concurrent=k,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(E){this.active0?this._next(h.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},74327:(Ke,be,d)=>{"use strict";d.d(be,{x:()=>f});var e=d(43489);function f(){return function(A){return A.lift(new g(A))}}class g{constructor(A){this.connectable=A}call(A,s){const{connectable:b}=this;b._refCount++;const O=new T(A,b),E=s.subscribe(O);return O.closed||(O.connection=b.connect()),E}}class T extends e.L{constructor(A,s){super(A),this.connectable=s}_unsubscribe(){const{connectable:A}=this;if(!A)return void(this.connection=null);this.connectable=null;const s=A._refCount;if(s<=0)return void(this.connection=null);if(A._refCount=s-1,s>1)return void(this.connection=null);const{connection:b}=this,O=A._connection;this.connection=null,O&&(!b||O===b)&&O.unsubscribe()}}},12474:(Ke,be,d)=>{"use strict";d.d(be,{B:()=>s});var e=d(71762);class g{constructor(O,E){this.subjectFactory=O,this.selector=E}call(O,E){const{selector:h}=this,k=this.subjectFactory(),L=h(k).subscribe(O);return L.add(E.subscribe(k)),L}}var T=d(74327),m=d(8929);function A(){return new m.xQ}function s(){return b=>(0,T.x)()(function f(b,O){return function(h){let k;if(k="function"==typeof b?b:function(){return b},"function"==typeof O)return h.lift(new g(k,O));const L=Object.create(h,e.N);return L.source=h,L.subjectFactory=k,L}}(A)(b))}},5154:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>f});var e=d(96831);function f(T,m,A){let s;return s=T&&"object"==typeof T?T:{bufferSize:T,windowTime:m,refCount:!1,scheduler:A},b=>b.lift(function g({bufferSize:T=Number.POSITIVE_INFINITY,windowTime:m=Number.POSITIVE_INFINITY,refCount:A,scheduler:s}){let b,E,O=0,h=!1,k=!1;return function(V){O++,(!b||h)&&(h=!1,b=new e.t(T,m,s),E=V.subscribe({next(ue){b.next(ue)},error(ue){h=!0,b.error(ue)},complete(){k=!0,E=void 0,b.complete()}}));const $=b.subscribe(this);this.add(()=>{O--,$.unsubscribe(),E&&!k&&A&&0===O&&(E.unsubscribe(),E=void 0,b=void 0)})}}(s))}},31307:(Ke,be,d)=>{"use strict";d.d(be,{T:()=>f});var e=d(43489);function f(m){return A=>A.lift(new g(m))}class g{constructor(A){this.total=A}call(A,s){return s.subscribe(new T(A,this.total))}}class T extends e.L{constructor(A,s){super(A),this.total=s,this.count=0}_next(A){++this.count>this.total&&this.destination.next(A)}}},1059:(Ke,be,d)=>{"use strict";d.d(be,{O:()=>g});var e=d(61221),f=d(72866);function g(...T){const m=T[T.length-1];return(0,f.K)(m)?(T.pop(),A=>(0,e.z)(T,A,m)):A=>(0,e.z)(T,A)}},87545:(Ke,be,d)=>{"use strict";d.d(be,{w:()=>A});var e=d(826),f=d(51869),g=d(69054),T=d(24850),m=d(5254);function A(O,E){return"function"==typeof E?h=>h.pipe(A((k,L)=>(0,m.D)(O(k,L)).pipe((0,T.U)((V,$)=>E(k,V,L,$))))):h=>h.lift(new s(O))}class s{constructor(E){this.project=E}call(E,h){return h.subscribe(new b(E,this.project))}}class b extends e.L{constructor(E,h){super(E),this.project=h,this.index=0}_next(E){let h;const k=this.index++;try{h=this.project(E,k)}catch(L){return void this.destination.error(L)}this._innerSub(h,E,k)}_innerSub(E,h,k){const L=this.innerSubscription;L&&L.unsubscribe();const V=new f.d(this,h,k),$=this.destination;$.add(V),this.innerSubscription=(0,g.D)(this,E,void 0,void 0,V),this.innerSubscription!==V&&$.add(this.innerSubscription)}_complete(){const{innerSubscription:E}=this;(!E||E.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(E){this.destination.remove(E),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(E,h,k,L,V){this.destination.next(h)}}},72986:(Ke,be,d)=>{"use strict";d.d(be,{q:()=>T});var e=d(43489),f=d(94231),g=d(68896);function T(s){return b=>0===s?(0,g.c)():b.lift(new m(s))}class m{constructor(b){if(this.total=b,this.total<0)throw new f.W}call(b,O){return O.subscribe(new A(b,this.total))}}class A extends e.L{constructor(b,O){super(b),this.total=O,this.count=0}_next(b){const O=this.total,E=++this.count;E<=O&&(this.destination.next(b),E===O&&(this.destination.complete(),this.unsubscribe()))}}},7625:(Ke,be,d)=>{"use strict";d.d(be,{R:()=>g});var e=d(826),f=d(69054);function g(A){return s=>s.lift(new T(A))}class T{constructor(s){this.notifier=s}call(s,b){const O=new m(s),E=(0,f.D)(O,this.notifier);return E&&!O.seenValue?(O.add(E),b.subscribe(O)):O}}class m extends e.L{constructor(s){super(s),this.seenValue=!1}notifyNext(s,b,O,E,h){this.seenValue=!0,this.complete()}notifyComplete(){}}},22868:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>T});var e=d(43489);function f(){}var g=d(67043);function T(s,b,O){return function(h){return h.lift(new m(s,b,O))}}class m{constructor(b,O,E){this.nextOrObserver=b,this.error=O,this.complete=E}call(b,O){return O.subscribe(new A(b,this.nextOrObserver,this.error,this.complete))}}class A extends e.L{constructor(b,O,E,h){super(b),this._tapNext=f,this._tapError=f,this._tapComplete=f,this._tapError=E||f,this._tapComplete=h||f,(0,g.m)(O)?(this._context=this,this._tapNext=O):O&&(this._context=O,this._tapNext=O.next||f,this._tapError=O.error||f,this._tapComplete=O.complete||f)}_next(b){try{this._tapNext.call(this._context,b)}catch(O){return void this.destination.error(O)}this.destination.next(b)}_error(b){try{this._tapError.call(this._context,b)}catch(O){return void this.destination.error(O)}this.destination.error(b)}_complete(){try{this._tapComplete.call(this._context)}catch(b){return void this.destination.error(b)}return this.destination.complete()}}},34907:(Ke,be,d)=>{"use strict";d.d(be,{T:()=>g});var e=d(84450),f=d(43489);function g(s=A){return b=>b.lift(new T(s))}class T{constructor(b){this.errorFactory=b}call(b,O){return O.subscribe(new m(b,this.errorFactory))}}class m extends f.L{constructor(b,O){super(b),this.errorFactory=O,this.hasValue=!1}_next(b){this.hasValue=!0,this.destination.next(b)}_complete(){if(this.hasValue)return this.destination.complete();{let b;try{b=this.errorFactory()}catch(O){b=O}this.destination.error(b)}}}function A(){return new e.K}},46227:(Ke,be,d)=>{"use strict";d.d(be,{V:()=>h});var e=d(20353);const g=(()=>{function k(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return k.prototype=Object.create(Error.prototype),k})();var T=d(82697),m=d(826),A=d(69054);class b{constructor(L,V,$,ue){this.waitFor=L,this.absoluteTimeout=V,this.withObservable=$,this.scheduler=ue}call(L,V){return V.subscribe(new O(L,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class O extends m.L{constructor(L,V,$,ue,ce){super(L),this.absoluteTimeout=V,this.waitFor=$,this.withObservable=ue,this.scheduler=ce,this.action=null,this.scheduleTimeout()}static dispatchTimeout(L){const{withObservable:V}=L;L._unsubscribeAndRecycle(),L.add((0,A.D)(L,V))}scheduleTimeout(){const{action:L}=this;L?this.action=L.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(O.dispatchTimeout,this.waitFor,this))}_next(L){this.absoluteTimeout||this.scheduleTimeout(),super._next(L)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var E=d(61737);function h(k,L=e.P){return function s(k,L,V=e.P){return $=>{let ue=(0,T.J)(k),ce=ue?+k-V.now():Math.abs(k);return $.lift(new b(ce,ue,L,V))}}(k,(0,E._)(new g),L)}},66454:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>g});var e=d(32916),f=d(42654);function g(T,m){return new e.y(A=>{const s=new f.w;let b=0;return s.add(m.schedule(function(){b!==T.length?(A.next(T[b++]),A.closed||s.add(this.schedule())):A.complete()})),s})}},56686:(Ke,be,d)=>{"use strict";d.d(be,{o:()=>g});var e=d(42654);class f extends e.w{constructor(m,A){super()}schedule(m,A=0){return this}}class g extends f{constructor(m,A){super(m,A),this.scheduler=m,this.work=A,this.pending=!1}schedule(m,A=0){if(this.closed)return this;this.state=m;const s=this.id,b=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(b,s,A)),this.pending=!0,this.delay=A,this.id=this.id||this.requestAsyncId(b,this.id,A),this}requestAsyncId(m,A,s=0){return setInterval(m.flush.bind(m,this),s)}recycleAsyncId(m,A,s=0){if(null!==s&&this.delay===s&&!1===this.pending)return A;clearInterval(A)}execute(m,A){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const s=this._execute(m,A);if(s)return s;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(m,A){let b,s=!1;try{this.work(m)}catch(O){s=!0,b=!!O&&O||new Error(O)}if(s)return this.unsubscribe(),b}_unsubscribe(){const m=this.id,A=this.scheduler,s=A.actions,b=s.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==b&&s.splice(b,1),null!=m&&(this.id=this.recycleAsyncId(A,m,null)),this.delay=null}}},32268:(Ke,be,d)=>{"use strict";d.d(be,{v:()=>f});let e=(()=>{class g{constructor(m,A=g.now){this.SchedulerAction=m,this.now=A}schedule(m,A=0,s){return new this.SchedulerAction(this,m).schedule(s,A)}}return g.now=()=>Date.now(),g})();class f extends e{constructor(T,m=e.now){super(T,()=>f.delegate&&f.delegate!==this?f.delegate.now():m()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(T,m=0,A){return f.delegate&&f.delegate!==this?f.delegate.schedule(T,m,A):super.schedule(T,m,A)}flush(T){const{actions:m}=this;if(this.active)return void m.push(T);let A;this.active=!0;do{if(A=T.execute(T.state,T.delay))break}while(T=m.shift());if(this.active=!1,A){for(;T=m.shift();)T.unsubscribe();throw A}}}},90352:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>m});var e=d(56686),g=d(32268);const m=new class T extends g.v{flush(s){this.active=!0,this.scheduled=void 0;const{actions:b}=this;let O,E=-1,h=b.length;s=s||b.shift();do{if(O=s.execute(s.state,s.delay))break}while(++E0?super.requestAsyncId(s,b,O):(s.actions.push(this),s.scheduled||(s.scheduled=requestAnimationFrame(()=>s.flush(null))))}recycleAsyncId(s,b,O=0){if(null!==O&&O>0||null===O&&this.delay>0)return super.recycleAsyncId(s,b,O);0===s.actions.length&&(cancelAnimationFrame(b),s.scheduled=void 0)}})},8139:(Ke,be,d)=>{"use strict";d.d(be,{e:()=>h});let e=1;const f=Promise.resolve(),g={};function T(k){return k in g&&(delete g[k],!0)}const m={setImmediate(k){const L=e++;return g[L]=!0,f.then(()=>T(L)&&k()),L},clearImmediate(k){T(k)}};var s=d(56686),O=d(32268);const h=new class E extends O.v{flush(L){this.active=!0,this.scheduled=void 0;const{actions:V}=this;let $,ue=-1,ce=V.length;L=L||V.shift();do{if($=L.execute(L.state,L.delay))break}while(++ue0?super.requestAsyncId(L,V,$):(L.actions.push(this),L.scheduled||(L.scheduled=m.setImmediate(L.flush.bind(L,null))))}recycleAsyncId(L,V,$=0){if(null!==$&&$>0||null===$&&this.delay>0)return super.recycleAsyncId(L,V,$);0===L.actions.length&&(m.clearImmediate(V),L.scheduled=void 0)}})},20353:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>g});var e=d(56686);const g=new(d(32268).v)(e.o)},5430:(Ke,be,d)=>{"use strict";d.d(be,{hZ:()=>f});const f=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},93821:(Ke,be,d)=>{"use strict";d.d(be,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},57668:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>e});const e="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},94231:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>f});const f=(()=>{function g(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return g.prototype=Object.create(Error.prototype),g})()},84450:(Ke,be,d)=>{"use strict";d.d(be,{K:()=>f});const f=(()=>{function g(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return g.prototype=Object.create(Error.prototype),g})()},95279:(Ke,be,d)=>{"use strict";d.d(be,{N:()=>f});const f=(()=>{function g(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return g.prototype=Object.create(Error.prototype),g})()},22782:(Ke,be,d)=>{"use strict";function e(f){setTimeout(()=>{throw f},0)}d.d(be,{z:()=>e})},35379:(Ke,be,d)=>{"use strict";function e(f){return f}d.d(be,{y:()=>e})},66688:(Ke,be,d)=>{"use strict";d.d(be,{k:()=>e});const e=Array.isArray||(f=>f&&"number"==typeof f.length)},58515:(Ke,be,d)=>{"use strict";d.d(be,{z:()=>e});const e=f=>f&&"number"==typeof f.length&&"function"!=typeof f},82697:(Ke,be,d)=>{"use strict";function e(f){return f instanceof Date&&!isNaN(+f)}d.d(be,{J:()=>e})},67043:(Ke,be,d)=>{"use strict";function e(f){return"function"==typeof f}d.d(be,{m:()=>e})},84241:(Ke,be,d)=>{"use strict";d.d(be,{k:()=>f});var e=d(66688);function f(g){return!(0,e.k)(g)&&g-parseFloat(g)+1>=0}},57830:(Ke,be,d)=>{"use strict";function e(f){return null!==f&&"object"==typeof f}d.d(be,{K:()=>e})},54715:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>f});var e=d(32916);function f(g){return!!g&&(g instanceof e.y||"function"==typeof g.lift&&"function"==typeof g.subscribe)}},98955:(Ke,be,d)=>{"use strict";function e(f){return!!f&&"function"!=typeof f.subscribe&&"function"==typeof f.then}d.d(be,{t:()=>e})},72866:(Ke,be,d)=>{"use strict";function e(f){return f&&"function"==typeof f.schedule}d.d(be,{K:()=>e})},59249:(Ke,be,d)=>{"use strict";d.d(be,{s:()=>h});var e=d(13650),f=d(22782),T=d(5430),A=d(93821),b=d(58515),O=d(98955),E=d(57830);const h=k=>{if(k&&"function"==typeof k[A.L])return(k=>L=>{const V=k[A.L]();if("function"!=typeof V.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return V.subscribe(L)})(k);if((0,b.z)(k))return(0,e.V)(k);if((0,O.t)(k))return(k=>L=>(k.then(V=>{L.closed||(L.next(V),L.complete())},V=>L.error(V)).then(null,f.z),L))(k);if(k&&"function"==typeof k[T.hZ])return(k=>L=>{const V=k[T.hZ]();for(;;){const $=V.next();if($.done){L.complete();break}if(L.next($.value),L.closed)break}return"function"==typeof V.return&&L.add(()=>{V.return&&V.return()}),L})(k);{const V=`You provided ${(0,E.K)(k)?"an invalid object":`'${k}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(V)}}},13650:(Ke,be,d)=>{"use strict";d.d(be,{V:()=>e});const e=f=>g=>{for(let T=0,m=f.length;T{"use strict";d.d(be,{D:()=>T});var e=d(51869),f=d(59249),g=d(32916);function T(m,A,s,b,O=new e.d(m,s,b)){if(!O.closed)return A instanceof g.y?A.subscribe(O):(0,f.s)(A)(O)}},70655:(Ke,be,d)=>{"use strict";function m(ge,Ne,Fe,ne){var me,Me=arguments.length,ve=Me<3?Ne:null===ne?ne=Object.getOwnPropertyDescriptor(Ne,Fe):ne;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ve=Reflect.decorate(ge,Ne,Fe,ne);else for(var Te=ge.length-1;Te>=0;Te--)(me=ge[Te])&&(ve=(Me<3?me(ve):Me>3?me(Ne,Fe,ve):me(Ne,Fe))||ve);return Me>3&&ve&&Object.defineProperty(Ne,Fe,ve),ve}function b(ge,Ne,Fe,ne){return new(Fe||(Fe=Promise))(function(ve,me){function Te(Oe){try{R(ne.next(Oe))}catch(Ie){me(Ie)}}function ee(Oe){try{R(ne.throw(Oe))}catch(Ie){me(Ie)}}function R(Oe){Oe.done?ve(Oe.value):function Me(ve){return ve instanceof Fe?ve:new Fe(function(me){me(ve)})}(Oe.value).then(Te,ee)}R((ne=ne.apply(ge,Ne||[])).next())})}d.d(be,{gn:()=>m,mG:()=>b})},41777:(Ke,be,d)=>{"use strict";d.d(be,{l3:()=>g,_j:()=>e,LC:()=>f,ZN:()=>Le,jt:()=>m,pV:()=>L,ru:()=>A,F4:()=>E,IO:()=>$,vP:()=>s,SB:()=>O,oB:()=>b,eR:()=>h,X$:()=>T,ZE:()=>de,k1:()=>ke});class e{}class f{}const g="*";function T(ae,j){return{type:7,name:ae,definitions:j,options:{}}}function m(ae,j=null){return{type:4,styles:j,timings:ae}}function A(ae,j=null){return{type:3,steps:ae,options:j}}function s(ae,j=null){return{type:2,steps:ae,options:j}}function b(ae){return{type:6,styles:ae,offset:null}}function O(ae,j,H){return{type:0,name:ae,styles:j,options:H}}function E(ae){return{type:5,steps:ae}}function h(ae,j,H=null){return{type:1,expr:ae,animation:j,options:H}}function L(ae=null){return{type:9,options:ae}}function $(ae,j,H=null){return{type:11,selector:ae,animation:j,options:H}}function ce(ae){Promise.resolve(null).then(ae)}class Le{constructor(j=0,H=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=j+H}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(j=>j()),this._onDoneFns=[])}onStart(j){this._onStartFns.push(j)}onDone(j){this._onDoneFns.push(j)}onDestroy(j){this._onDestroyFns.push(j)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ce(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(j=>j()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(j=>j()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(j){this._position=this.totalTime?j*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(j){const H="start"==j?this._onStartFns:this._onDoneFns;H.forEach(Q=>Q()),H.length=0}}class de{constructor(j){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=j;let H=0,Q=0,te=0;const se=this.players.length;0==se?ce(()=>this._onFinish()):this.players.forEach(ge=>{ge.onDone(()=>{++H==se&&this._onFinish()}),ge.onDestroy(()=>{++Q==se&&this._onDestroy()}),ge.onStart(()=>{++te==se&&this._onStart()})}),this.totalTime=this.players.reduce((ge,Ne)=>Math.max(ge,Ne.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(j=>j()),this._onDoneFns=[])}init(){this.players.forEach(j=>j.init())}onStart(j){this._onStartFns.push(j)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(j=>j()),this._onStartFns=[])}onDone(j){this._onDoneFns.push(j)}onDestroy(j){this._onDestroyFns.push(j)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(j=>j.play())}pause(){this.players.forEach(j=>j.pause())}restart(){this.players.forEach(j=>j.restart())}finish(){this._onFinish(),this.players.forEach(j=>j.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(j=>j.destroy()),this._onDestroyFns.forEach(j=>j()),this._onDestroyFns=[])}reset(){this.players.forEach(j=>j.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(j){const H=j*this.totalTime;this.players.forEach(Q=>{const te=Q.totalTime?Math.min(1,H/Q.totalTime):1;Q.setPosition(te)})}getPosition(){const j=this.players.reduce((H,Q)=>null===H||Q.totalTime>H.totalTime?Q:H,null);return null!=j?j.getPosition():0}beforeDestroy(){this.players.forEach(j=>{j.beforeDestroy&&j.beforeDestroy()})}triggerCallback(j){const H="start"==j?this._onStartFns:this._onDoneFns;H.forEach(Q=>Q()),H.length=0}}const ke="!"},15664:(Ke,be,d)=>{"use strict";d.d(be,{rt:()=>Rt,s1:()=>Me,$s:()=>ge,Qr:()=>Nt,kH:()=>Ht,mK:()=>S,Em:()=>ve,tE:()=>mt,qV:()=>D,qm:()=>ht,ic:()=>Te,Kd:()=>pt,X6:()=>o,yG:()=>t});var e=d(69808),f=d(5e3),g=d(70925),T=d(8929),m=d(42654),A=d(591),s=d(21086),b=d(91159),O=d(22868),E=d(80013),h=d(92198),k=d(24850),L=d(72986),V=d(31307),$=d(75778),ue=d(7625),ce=d(63191),Le=d(17144);function j(qe,Ye){return(qe.getAttribute(Ye)||"").match(/\S+/g)||[]}const Q="cdk-describedby-message",te="cdk-describedby-host";let se=0,ge=(()=>{class qe{constructor(oe,Z){this._platform=Z,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+se++,this._document=oe}describe(oe,Z,G){if(!this._canBeDescribed(oe,Z))return;const X=Ne(Z,G);"string"!=typeof Z?(Fe(Z),this._messageRegistry.set(X,{messageElement:Z,referenceCount:0})):this._messageRegistry.has(X)||this._createMessageElement(Z,G),this._isElementDescribedByMessage(oe,X)||this._addMessageReference(oe,X)}removeDescription(oe,Z,G){var X;if(!Z||!this._isElementNode(oe))return;const _e=Ne(Z,G);if(this._isElementDescribedByMessage(oe,_e)&&this._removeMessageReference(oe,_e),"string"==typeof Z){const Ue=this._messageRegistry.get(_e);Ue&&0===Ue.referenceCount&&this._deleteMessageElement(_e)}0===(null===(X=this._messagesContainer)||void 0===X?void 0:X.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var oe;const Z=this._document.querySelectorAll(`[${te}="${this._id}"]`);for(let G=0;G0!=G.indexOf(Q));oe.setAttribute("aria-describedby",Z.join(" "))}_addMessageReference(oe,Z){const G=this._messageRegistry.get(Z);(function ke(qe,Ye,oe){const Z=j(qe,Ye);Z.some(G=>G.trim()==oe.trim())||(Z.push(oe.trim()),qe.setAttribute(Ye,Z.join(" ")))})(oe,"aria-describedby",G.messageElement.id),oe.setAttribute(te,this._id),G.referenceCount++}_removeMessageReference(oe,Z){const G=this._messageRegistry.get(Z);G.referenceCount--,function ae(qe,Ye,oe){const G=j(qe,Ye).filter(X=>X!=oe.trim());G.length?qe.setAttribute(Ye,G.join(" ")):qe.removeAttribute(Ye)}(oe,"aria-describedby",G.messageElement.id),oe.removeAttribute(te)}_isElementDescribedByMessage(oe,Z){const G=j(oe,"aria-describedby"),X=this._messageRegistry.get(Z),_e=X&&X.messageElement.id;return!!_e&&-1!=G.indexOf(_e)}_canBeDescribed(oe,Z){if(!this._isElementNode(oe))return!1;if(Z&&"object"==typeof Z)return!0;const G=null==Z?"":`${Z}`.trim(),X=oe.getAttribute("aria-label");return!(!G||X&&X.trim()===G)}_isElementNode(oe){return oe.nodeType===this._document.ELEMENT_NODE}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.LFG(e.K0),f.LFG(g.t4))},qe.\u0275prov=f.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"}),qe})();function Ne(qe,Ye){return"string"==typeof qe?`${Ye||""}/${qe}`:qe}function Fe(qe){qe.id||(qe.id=`${Q}-${se++}`)}class ne{constructor(Ye){this._items=Ye,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new T.xQ,this._typeaheadSubscription=m.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=oe=>oe.disabled,this._pressedLetters=[],this.tabOut=new T.xQ,this.change=new T.xQ,Ye instanceof f.n_E&&Ye.changes.subscribe(oe=>{if(this._activeItem){const G=oe.toArray().indexOf(this._activeItem);G>-1&&G!==this._activeItemIndex&&(this._activeItemIndex=G)}})}skipPredicate(Ye){return this._skipPredicateFn=Ye,this}withWrap(Ye=!0){return this._wrap=Ye,this}withVerticalOrientation(Ye=!0){return this._vertical=Ye,this}withHorizontalOrientation(Ye){return this._horizontal=Ye,this}withAllowedModifierKeys(Ye){return this._allowedModifierKeys=Ye,this}withTypeAhead(Ye=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,O.b)(oe=>this._pressedLetters.push(oe)),(0,E.b)(Ye),(0,h.h)(()=>this._pressedLetters.length>0),(0,k.U)(()=>this._pressedLetters.join(""))).subscribe(oe=>{const Z=this._getItemsArray();for(let G=1;G!Ye[X]||this._allowedModifierKeys.indexOf(X)>-1);switch(oe){case b.Mf:return void this.tabOut.next();case b.JH:if(this._vertical&&G){this.setNextItemActive();break}return;case b.LH:if(this._vertical&&G){this.setPreviousItemActive();break}return;case b.SV:if(this._horizontal&&G){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case b.oh:if(this._horizontal&&G){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case b.Sd:if(this._homeAndEnd&&G){this.setFirstItemActive();break}return;case b.uR:if(this._homeAndEnd&&G){this.setLastItemActive();break}return;default:return void((G||(0,b.Vb)(Ye,"shiftKey"))&&(Ye.key&&1===Ye.key.length?this._letterKeyStream.next(Ye.key.toLocaleUpperCase()):(oe>=b.A&&oe<=b.Z||oe>=b.xE&&oe<=b.aO)&&this._letterKeyStream.next(String.fromCharCode(oe))))}this._pressedLetters=[],Ye.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(Ye){const oe=this._getItemsArray(),Z="number"==typeof Ye?Ye:oe.indexOf(Ye),G=oe[Z];this._activeItem=null==G?null:G,this._activeItemIndex=Z}_setActiveItemByDelta(Ye){this._wrap?this._setActiveInWrapMode(Ye):this._setActiveInDefaultMode(Ye)}_setActiveInWrapMode(Ye){const oe=this._getItemsArray();for(let Z=1;Z<=oe.length;Z++){const G=(this._activeItemIndex+Ye*Z+oe.length)%oe.length;if(!this._skipPredicateFn(oe[G]))return void this.setActiveItem(G)}}_setActiveInDefaultMode(Ye){this._setActiveItemByIndex(this._activeItemIndex+Ye,Ye)}_setActiveItemByIndex(Ye,oe){const Z=this._getItemsArray();if(Z[Ye]){for(;this._skipPredicateFn(Z[Ye]);)if(!Z[Ye+=oe])return;this.setActiveItem(Ye)}}_getItemsArray(){return this._items instanceof f.n_E?this._items.toArray():this._items}}class Me extends ne{setActiveItem(Ye){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Ye),this.activeItem&&this.activeItem.setActiveStyles()}}class ve extends ne{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Ye){return this._origin=Ye,this}setActiveItem(Ye){super.setActiveItem(Ye),this.activeItem&&this.activeItem.focus(this._origin)}}let Te=(()=>{class qe{constructor(oe){this._platform=oe}isDisabled(oe){return oe.hasAttribute("disabled")}isVisible(oe){return function R(qe){return!!(qe.offsetWidth||qe.offsetHeight||"function"==typeof qe.getClientRects&&qe.getClientRects().length)}(oe)&&"visible"===getComputedStyle(oe).visibility}isTabbable(oe){if(!this._platform.isBrowser)return!1;const Z=function ee(qe){try{return qe.frameElement}catch(Ye){return null}}(function N(qe){return qe.ownerDocument&&qe.ownerDocument.defaultView||window}(oe));if(Z&&(-1===Xe(Z)||!this.isVisible(Z)))return!1;let G=oe.nodeName.toLowerCase(),X=Xe(oe);return oe.hasAttribute("contenteditable")?-1!==X:!("iframe"===G||"object"===G||this._platform.WEBKIT&&this._platform.IOS&&!function tt(qe){let Ye=qe.nodeName.toLowerCase(),oe="input"===Ye&&qe.type;return"text"===oe||"password"===oe||"select"===Ye||"textarea"===Ye}(oe))&&("audio"===G?!!oe.hasAttribute("controls")&&-1!==X:"video"===G?-1!==X&&(null!==X||this._platform.FIREFOX||oe.hasAttribute("controls")):oe.tabIndex>=0)}isFocusable(oe,Z){return function rt(qe){return!function Ie(qe){return function fe(qe){return"input"==qe.nodeName.toLowerCase()}(qe)&&"hidden"==qe.type}(qe)&&(function Oe(qe){let Ye=qe.nodeName.toLowerCase();return"input"===Ye||"select"===Ye||"button"===Ye||"textarea"===Ye}(qe)||function He(qe){return function Ce(qe){return"a"==qe.nodeName.toLowerCase()}(qe)&&qe.hasAttribute("href")}(qe)||qe.hasAttribute("contenteditable")||Ve(qe))}(oe)&&!this.isDisabled(oe)&&((null==Z?void 0:Z.ignoreVisibility)||this.isVisible(oe))}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.LFG(g.t4))},qe.\u0275prov=f.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"}),qe})();function Ve(qe){if(!qe.hasAttribute("tabindex")||void 0===qe.tabIndex)return!1;let Ye=qe.getAttribute("tabindex");return!(!Ye||isNaN(parseInt(Ye,10)))}function Xe(qe){if(!Ve(qe))return null;const Ye=parseInt(qe.getAttribute("tabindex")||"",10);return isNaN(Ye)?-1:Ye}class he{constructor(Ye,oe,Z,G,X=!1){this._element=Ye,this._checker=oe,this._ngZone=Z,this._document=G,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,X||this.attachAnchors()}get enabled(){return this._enabled}set enabled(Ye){this._enabled=Ye,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ye,this._startAnchor),this._toggleAnchorTabIndex(Ye,this._endAnchor))}destroy(){const Ye=this._startAnchor,oe=this._endAnchor;Ye&&(Ye.removeEventListener("focus",this.startAnchorListener),Ye.remove()),oe&&(oe.removeEventListener("focus",this.endAnchorListener),oe.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(Ye){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusInitialElement(Ye)))})}focusFirstTabbableElementWhenReady(Ye){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusFirstTabbableElement(Ye)))})}focusLastTabbableElementWhenReady(Ye){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusLastTabbableElement(Ye)))})}_getRegionBoundary(Ye){const oe=this._element.querySelectorAll(`[cdk-focus-region-${Ye}], [cdkFocusRegion${Ye}], [cdk-focus-${Ye}]`);return"start"==Ye?oe.length?oe[0]:this._getFirstTabbableElement(this._element):oe.length?oe[oe.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Ye){const oe=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(oe){if(!this._checker.isFocusable(oe)){const Z=this._getFirstTabbableElement(oe);return null==Z||Z.focus(Ye),!!Z}return oe.focus(Ye),!0}return this.focusFirstTabbableElement(Ye)}focusFirstTabbableElement(Ye){const oe=this._getRegionBoundary("start");return oe&&oe.focus(Ye),!!oe}focusLastTabbableElement(Ye){const oe=this._getRegionBoundary("end");return oe&&oe.focus(Ye),!!oe}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Ye){if(this._checker.isFocusable(Ye)&&this._checker.isTabbable(Ye))return Ye;const oe=Ye.children;for(let Z=0;Z=0;Z--){const G=oe[Z].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(oe[Z]):null;if(G)return G}return null}_createAnchor(){const Ye=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Ye),Ye.classList.add("cdk-visually-hidden"),Ye.classList.add("cdk-focus-trap-anchor"),Ye.setAttribute("aria-hidden","true"),Ye}_toggleAnchorTabIndex(Ye,oe){Ye?oe.setAttribute("tabindex","0"):oe.removeAttribute("tabindex")}toggleAnchors(Ye){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ye,this._startAnchor),this._toggleAnchorTabIndex(Ye,this._endAnchor))}_executeOnStable(Ye){this._ngZone.isStable?Ye():this._ngZone.onStable.pipe((0,L.q)(1)).subscribe(Ye)}}let D=(()=>{class qe{constructor(oe,Z,G){this._checker=oe,this._ngZone=Z,this._document=G}create(oe,Z=!1){return new he(oe,this._checker,this._ngZone,this._document,Z)}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.LFG(Te),f.LFG(f.R0b),f.LFG(e.K0))},qe.\u0275prov=f.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"}),qe})(),S=(()=>{class qe{constructor(oe,Z,G){this._elementRef=oe,this._focusTrapFactory=Z,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(oe){this.focusTrap.enabled=(0,ce.Ig)(oe)}get autoCapture(){return this._autoCapture}set autoCapture(oe){this._autoCapture=(0,ce.Ig)(oe)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(oe){const Z=oe.autoCapture;Z&&!Z.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,g.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.Y36(f.SBq),f.Y36(D),f.Y36(e.K0))},qe.\u0275dir=f.lG2({type:qe,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[f.TTD]}),qe})();function o(qe){return 0===qe.buttons||0===qe.offsetX&&0===qe.offsetY}function t(qe){const Ye=qe.touches&&qe.touches[0]||qe.changedTouches&&qe.changedTouches[0];return!(!Ye||-1!==Ye.identifier||null!=Ye.radiusX&&1!==Ye.radiusX||null!=Ye.radiusY&&1!==Ye.radiusY)}const n=new f.OlP("cdk-input-modality-detector-options"),c={ignoreKeys:[b.zL,b.jx,b.b2,b.MW,b.JU]},y=(0,g.i$)({passive:!0,capture:!0});let M=(()=>{class qe{constructor(oe,Z,G,X){this._platform=oe,this._mostRecentTarget=null,this._modality=new A.X(null),this._lastTouchMs=0,this._onKeydown=_e=>{var Ue,wt;(null===(wt=null===(Ue=this._options)||void 0===Ue?void 0:Ue.ignoreKeys)||void 0===wt?void 0:wt.some(Ut=>Ut===_e.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(_e))},this._onMousedown=_e=>{Date.now()-this._lastTouchMs<650||(this._modality.next(o(_e)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(_e))},this._onTouchstart=_e=>{t(_e)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(_e))},this._options=Object.assign(Object.assign({},c),X),this.modalityDetected=this._modality.pipe((0,V.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,$.x)()),oe.isBrowser&&Z.runOutsideAngular(()=>{G.addEventListener("keydown",this._onKeydown,y),G.addEventListener("mousedown",this._onMousedown,y),G.addEventListener("touchstart",this._onTouchstart,y)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,y),document.removeEventListener("mousedown",this._onMousedown,y),document.removeEventListener("touchstart",this._onTouchstart,y))}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.LFG(g.t4),f.LFG(f.R0b),f.LFG(e.K0),f.LFG(n,8))},qe.\u0275prov=f.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"}),qe})();const re=new f.OlP("liveAnnouncerElement",{providedIn:"root",factory:function et(){return null}}),yt=new f.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let pt=(()=>{class qe{constructor(oe,Z,G,X){this._ngZone=Z,this._defaultOptions=X,this._document=G,this._liveElement=oe||this._createLiveElement()}announce(oe,...Z){const G=this._defaultOptions;let X,_e;return 1===Z.length&&"number"==typeof Z[0]?_e=Z[0]:[X,_e]=Z,this.clear(),clearTimeout(this._previousTimeout),X||(X=G&&G.politeness?G.politeness:"polite"),null==_e&&G&&(_e=G.duration),this._liveElement.setAttribute("aria-live",X),this._ngZone.runOutsideAngular(()=>new Promise(Ue=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=oe,Ue(),"number"==typeof _e&&(this._previousTimeout=setTimeout(()=>this.clear(),_e))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var oe;clearTimeout(this._previousTimeout),null===(oe=this._liveElement)||void 0===oe||oe.remove(),this._liveElement=null}_createLiveElement(){const oe="cdk-live-announcer-element",Z=this._document.getElementsByClassName(oe),G=this._document.createElement("div");for(let X=0;X{class qe{constructor(oe,Z,G,X){this._elementRef=oe,this._liveAnnouncer=Z,this._contentObserver=G,this._ngZone=X,this._politeness="polite"}get politeness(){return this._politeness}set politeness(oe){this._politeness="off"===oe||"assertive"===oe?oe:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const Z=this._elementRef.nativeElement.textContent;Z!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(Z,this._politeness),this._previousAnnouncedText=Z)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.Y36(f.SBq),f.Y36(pt),f.Y36(Le.yq),f.Y36(f.R0b))},qe.\u0275dir=f.lG2({type:qe,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),qe})();const It=new f.OlP("cdk-focus-monitor-default-options"),Zt=(0,g.i$)({passive:!0,capture:!0});let mt=(()=>{class qe{constructor(oe,Z,G,X,_e){this._ngZone=oe,this._platform=Z,this._inputModalityDetector=G,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new T.xQ,this._rootNodeFocusAndBlurListener=Ue=>{const wt=(0,g.sA)(Ue),Ut="focus"===Ue.type?this._onFocus:this._onBlur;for(let Vt=wt;Vt;Vt=Vt.parentElement)Ut.call(this,Ue,Vt)},this._document=X,this._detectionMode=(null==_e?void 0:_e.detectionMode)||0}monitor(oe,Z=!1){const G=(0,ce.fI)(oe);if(!this._platform.isBrowser||1!==G.nodeType)return(0,s.of)(null);const X=(0,g.kV)(G)||this._getDocument(),_e=this._elementInfo.get(G);if(_e)return Z&&(_e.checkChildren=!0),_e.subject;const Ue={checkChildren:Z,subject:new T.xQ,rootNode:X};return this._elementInfo.set(G,Ue),this._registerGlobalListeners(Ue),Ue.subject}stopMonitoring(oe){const Z=(0,ce.fI)(oe),G=this._elementInfo.get(Z);G&&(G.subject.complete(),this._setClasses(Z),this._elementInfo.delete(Z),this._removeGlobalListeners(G))}focusVia(oe,Z,G){const X=(0,ce.fI)(oe);X===this._getDocument().activeElement?this._getClosestElementsInfo(X).forEach(([Ue,wt])=>this._originChanged(Ue,Z,wt)):(this._setOrigin(Z),"function"==typeof X.focus&&X.focus(G))}ngOnDestroy(){this._elementInfo.forEach((oe,Z)=>this.stopMonitoring(Z))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(oe){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(oe)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(oe){return 1===this._detectionMode||!!(null==oe?void 0:oe.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(oe,Z){oe.classList.toggle("cdk-focused",!!Z),oe.classList.toggle("cdk-touch-focused","touch"===Z),oe.classList.toggle("cdk-keyboard-focused","keyboard"===Z),oe.classList.toggle("cdk-mouse-focused","mouse"===Z),oe.classList.toggle("cdk-program-focused","program"===Z)}_setOrigin(oe,Z=!1){this._ngZone.runOutsideAngular(()=>{this._origin=oe,this._originFromTouchInteraction="touch"===oe&&Z,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(oe,Z){const G=this._elementInfo.get(Z),X=(0,g.sA)(oe);!G||!G.checkChildren&&Z!==X||this._originChanged(Z,this._getFocusOrigin(X),G)}_onBlur(oe,Z){const G=this._elementInfo.get(Z);!G||G.checkChildren&&oe.relatedTarget instanceof Node&&Z.contains(oe.relatedTarget)||(this._setClasses(Z),this._emitOrigin(G.subject,null))}_emitOrigin(oe,Z){this._ngZone.run(()=>oe.next(Z))}_registerGlobalListeners(oe){if(!this._platform.isBrowser)return;const Z=oe.rootNode,G=this._rootNodeFocusListenerCount.get(Z)||0;G||this._ngZone.runOutsideAngular(()=>{Z.addEventListener("focus",this._rootNodeFocusAndBlurListener,Zt),Z.addEventListener("blur",this._rootNodeFocusAndBlurListener,Zt)}),this._rootNodeFocusListenerCount.set(Z,G+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,ue.R)(this._stopInputModalityDetector)).subscribe(X=>{this._setOrigin(X,!0)}))}_removeGlobalListeners(oe){const Z=oe.rootNode;if(this._rootNodeFocusListenerCount.has(Z)){const G=this._rootNodeFocusListenerCount.get(Z);G>1?this._rootNodeFocusListenerCount.set(Z,G-1):(Z.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Zt),Z.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Zt),this._rootNodeFocusListenerCount.delete(Z))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(oe,Z,G){this._setClasses(oe,Z),this._emitOrigin(G.subject,Z),this._lastFocusOrigin=Z}_getClosestElementsInfo(oe){const Z=[];return this._elementInfo.forEach((G,X)=>{(X===oe||G.checkChildren&&X.contains(oe))&&Z.push([X,G])}),Z}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.LFG(f.R0b),f.LFG(g.t4),f.LFG(M),f.LFG(e.K0,8),f.LFG(It,8))},qe.\u0275prov=f.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"}),qe})(),Ht=(()=>{class qe{constructor(oe,Z){this._elementRef=oe,this._focusMonitor=Z,this.cdkFocusChange=new f.vpe}ngAfterViewInit(){const oe=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(oe,1===oe.nodeType&&oe.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Z=>this.cdkFocusChange.emit(Z))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.Y36(f.SBq),f.Y36(mt))},qe.\u0275dir=f.lG2({type:qe,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),qe})();const _t="cdk-high-contrast-black-on-white",Je="cdk-high-contrast-white-on-black",Lt="cdk-high-contrast-active";let ht=(()=>{class qe{constructor(oe,Z){this._platform=oe,this._document=Z}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const oe=this._document.createElement("div");oe.style.backgroundColor="rgb(1,2,3)",oe.style.position="absolute",this._document.body.appendChild(oe);const Z=this._document.defaultView||window,G=Z&&Z.getComputedStyle?Z.getComputedStyle(oe):null,X=(G&&G.backgroundColor||"").replace(/ /g,"");switch(oe.remove(),X){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const oe=this._document.body.classList;oe.remove(Lt),oe.remove(_t),oe.remove(Je),this._hasCheckedHighContrastMode=!0;const Z=this.getHighContrastMode();1===Z?(oe.add(Lt),oe.add(_t)):2===Z&&(oe.add(Lt),oe.add(Je))}}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.LFG(g.t4),f.LFG(e.K0))},qe.\u0275prov=f.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"}),qe})(),Rt=(()=>{class qe{constructor(oe){oe._applyBodyHighContrastModeCssClasses()}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.LFG(ht))},qe.\u0275mod=f.oAB({type:qe}),qe.\u0275inj=f.cJS({imports:[[g.ud,Le.Q8]]}),qe})()},50226:(Ke,be,d)=>{"use strict";d.d(be,{vT:()=>O,Is:()=>s});var e=d(5e3),f=d(69808);const g=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function T(){return(0,e.f3M)(f.K0)}}),m=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let s=(()=>{class E{constructor(k){if(this.value="ltr",this.change=new e.vpe,k){const V=k.documentElement?k.documentElement.dir:null;this.value=function A(E){const h=(null==E?void 0:E.toLowerCase())||"";return"auto"===h&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?m.test(navigator.language)?"rtl":"ltr":"rtl"===h?"rtl":"ltr"}((k.body?k.body.dir:null)||V||"ltr")}}ngOnDestroy(){this.change.complete()}}return E.\u0275fac=function(k){return new(k||E)(e.LFG(g,8))},E.\u0275prov=e.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),O=(()=>{class E{}return E.\u0275fac=function(k){return new(k||E)},E.\u0275mod=e.oAB({type:E}),E.\u0275inj=e.cJS({}),E})()},69287:(Ke,be,d)=>{"use strict";d.d(be,{i3:()=>A,TU:()=>T,Iq:()=>s});var e=d(69808),f=d(5e3);class g{constructor(O,E){this._document=E;const h=this._textarea=this._document.createElement("textarea"),k=h.style;k.position="fixed",k.top=k.opacity="0",k.left="-999em",h.setAttribute("aria-hidden","true"),h.value=O,this._document.body.appendChild(h)}copy(){const O=this._textarea;let E=!1;try{if(O){const h=this._document.activeElement;O.select(),O.setSelectionRange(0,O.value.length),E=this._document.execCommand("copy"),h&&h.focus()}}catch(h){}return E}destroy(){const O=this._textarea;O&&(O.remove(),this._textarea=void 0)}}let T=(()=>{class b{constructor(E){this._document=E}copy(E){const h=this.beginCopy(E),k=h.copy();return h.destroy(),k}beginCopy(E){return new g(E,this._document)}}return b.\u0275fac=function(E){return new(E||b)(f.LFG(e.K0))},b.\u0275prov=f.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})();const m=new f.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let A=(()=>{class b{constructor(E,h,k){this._clipboard=E,this._ngZone=h,this.text="",this.attempts=1,this.copied=new f.vpe,this._pending=new Set,k&&null!=k.attempts&&(this.attempts=k.attempts)}copy(E=this.attempts){if(E>1){let h=E;const k=this._clipboard.beginCopy(this.text);this._pending.add(k);const L=()=>{const V=k.copy();V||!--h||this._destroyed?(this._currentTimeout=null,this._pending.delete(k),k.destroy(),this.copied.emit(V)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(L,1))};L()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(E=>E.destroy()),this._pending.clear(),this._destroyed=!0}}return b.\u0275fac=function(E){return new(E||b)(f.Y36(T),f.Y36(f.R0b),f.Y36(m,8))},b.\u0275dir=f.lG2({type:b,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(E,h){1&E&&f.NdJ("click",function(){return h.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),b})(),s=(()=>{class b{}return b.\u0275fac=function(E){return new(E||b)},b.\u0275mod=f.oAB({type:b}),b.\u0275inj=f.cJS({}),b})()},63191:(Ke,be,d)=>{"use strict";d.d(be,{t6:()=>T,Eq:()=>m,Ig:()=>f,HM:()=>A,fI:()=>s,su:()=>g,du:()=>b});var e=d(5e3);function f(O){return null!=O&&"false"!=`${O}`}function g(O,E=0){return T(O)?Number(O):E}function T(O){return!isNaN(parseFloat(O))&&!isNaN(Number(O))}function m(O){return Array.isArray(O)?O:[O]}function A(O){return null==O?"":"string"==typeof O?O:`${O}px`}function s(O){return O instanceof e.SBq?O.nativeElement:O}function b(O,E=/\s+/){const h=[];if(null!=O){const k=Array.isArray(O)?O:`${O}`.split(E);for(const L of k){const V=`${L}`.trim();V&&h.push(V)}}return h}},20449:(Ke,be,d)=>{"use strict";d.d(be,{P3:()=>s,o2:()=>m,Ov:()=>E,A8:()=>k,yy:()=>b,eX:()=>O,k:()=>L,Z9:()=>A});var e=d(54715),f=d(21086),g=d(8929),T=d(5e3);class m{}function A(V){return V&&"function"==typeof V.connect}class s extends m{constructor($){super(),this._data=$}connect(){return(0,e.b)(this._data)?this._data:(0,f.of)(this._data)}disconnect(){}}class b{applyChanges($,ue,ce,Le,de){$.forEachOperation((ke,ae,j)=>{let H,Q;if(null==ke.previousIndex){const te=ce(ke,ae,j);H=ue.createEmbeddedView(te.templateRef,te.context,te.index),Q=1}else null==j?(ue.remove(ae),Q=3):(H=ue.get(ae),ue.move(H,j),Q=2);de&&de({context:null==H?void 0:H.context,operation:Q,record:ke})})}detach(){}}class O{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges($,ue,ce,Le,de){$.forEachOperation((ke,ae,j)=>{let H,Q;null==ke.previousIndex?(H=this._insertView(()=>ce(ke,ae,j),j,ue,Le(ke)),Q=H?1:0):null==j?(this._detachAndCacheView(ae,ue),Q=3):(H=this._moveView(ae,j,ue,Le(ke)),Q=2),de&&de({context:null==H?void 0:H.context,operation:Q,record:ke})})}detach(){for(const $ of this._viewCache)$.destroy();this._viewCache=[]}_insertView($,ue,ce,Le){const de=this._insertViewFromCache(ue,ce);if(de)return void(de.context.$implicit=Le);const ke=$();return ce.createEmbeddedView(ke.templateRef,ke.context,ke.index)}_detachAndCacheView($,ue){const ce=ue.detach($);this._maybeCacheView(ce,ue)}_moveView($,ue,ce,Le){const de=ce.get($);return ce.move(de,ue),de.context.$implicit=Le,de}_maybeCacheView($,ue){if(this._viewCache.lengththis._markSelected(Le)):this._markSelected(ue[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...$){this._verifyValueAssignment($),$.forEach(ue=>this._markSelected(ue)),this._emitChangeEvent()}deselect(...$){this._verifyValueAssignment($),$.forEach(ue=>this._unmarkSelected(ue)),this._emitChangeEvent()}toggle($){this.isSelected($)?this.deselect($):this.select($)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected($){return this._selection.has($)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort($){this._multiple&&this.selected&&this._selected.sort($)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected($){this.isSelected($)||(this._multiple||this._unmarkAll(),this._selection.add($),this._emitChanges&&this._selectedToEmit.push($))}_unmarkSelected($){this.isSelected($)&&(this._selection.delete($),this._emitChanges&&this._deselectedToEmit.push($))}_unmarkAll(){this.isEmpty()||this._selection.forEach($=>this._unmarkSelected($))}_verifyValueAssignment($){}}let k=(()=>{class V{constructor(){this._listeners=[]}notify(ue,ce){for(let Le of this._listeners)Le(ue,ce)}listen(ue){return this._listeners.push(ue),()=>{this._listeners=this._listeners.filter(ce=>ue!==ce)}}ngOnDestroy(){this._listeners=[]}}return V.\u0275fac=function(ue){return new(ue||V)},V.\u0275prov=T.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})();const L=new T.OlP("_ViewRepeater")},44409:(Ke,be,d)=>{"use strict";d.d(be,{Zt:()=>qe,Wj:()=>Zt,_t:()=>Ye,bA:()=>he});var e=d(5e3),f=d(69808),g=d(70925),T=d(63191),m=d(15664),A=d(8929),s=d(42654),b=d(61715),O=d(90352),E=d(32916),h=d(36787),k=d(7625),L=d(1059),V=d(24850),$=d(72986),ue=d(22868),ce=d(87545),Le=d(53435),de=d(50226);function ke(oe,Z,G){for(let X in Z)if(Z.hasOwnProperty(X)){const _e=Z[X];_e?oe.setProperty(X,_e,(null==G?void 0:G.has(X))?"important":""):oe.removeProperty(X)}return oe}function ae(oe,Z){const G=Z?"":"none";ke(oe.style,{"touch-action":Z?"":"none","-webkit-user-drag":Z?"":"none","-webkit-tap-highlight-color":Z?"":"transparent","user-select":G,"-ms-user-select":G,"-webkit-user-select":G,"-moz-user-select":G})}function j(oe,Z,G){ke(oe.style,{position:Z?"":"fixed",top:Z?"":"0",opacity:Z?"":"0",left:Z?"":"-999em"},G)}function H(oe,Z){return Z&&"none"!=Z?oe+" "+Z:oe}function Q(oe){const Z=oe.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(oe)*Z}function se(oe,Z){return oe.getPropertyValue(Z).split(",").map(X=>X.trim())}function ge(oe){const Z=oe.getBoundingClientRect();return{top:Z.top,right:Z.right,bottom:Z.bottom,left:Z.left,width:Z.width,height:Z.height,x:Z.x,y:Z.y}}function Ne(oe,Z,G){const{top:X,bottom:_e,left:Ue,right:wt}=oe;return G>=X&&G<=_e&&Z>=Ue&&Z<=wt}function Fe(oe,Z,G){oe.top+=Z,oe.bottom=oe.top+oe.height,oe.left+=G,oe.right=oe.left+oe.width}function ne(oe,Z,G,X){const{top:_e,right:Ue,bottom:wt,left:Ut,width:Vt,height:Dt}=oe,Et=Vt*Z,At=Dt*Z;return X>_e-At&&XUt-Et&&G{this.positions.set(G,{scrollPosition:{top:G.scrollTop,left:G.scrollLeft},clientRect:ge(G)})})}handleScroll(Z){const G=(0,g.sA)(Z),X=this.positions.get(G);if(!X)return null;const _e=X.scrollPosition;let Ue,wt;if(G===this._document){const Dt=this._viewportRuler.getViewportScrollPosition();Ue=Dt.top,wt=Dt.left}else Ue=G.scrollTop,wt=G.scrollLeft;const Ut=_e.top-Ue,Vt=_e.left-wt;return this.positions.forEach((Dt,Et)=>{Dt.clientRect&&G!==Et&&G.contains(Et)&&Fe(Dt.clientRect,Ut,Vt)}),_e.top=Ue,_e.left=wt,{top:Ut,left:Vt}}}function ve(oe){const Z=oe.cloneNode(!0),G=Z.querySelectorAll("[id]"),X=oe.nodeName.toLowerCase();Z.removeAttribute("id");for(let _e=0;_e{if(this.beforeStarted.next(),this._handles.length){const Vt=this._handles.find(Dt=>Ut.target&&(Ut.target===Dt||Dt.contains(Ut.target)));Vt&&!this._disabledHandles.has(Vt)&&!this.disabled&&this._initializeDragSequence(Vt,Ut)}else this.disabled||this._initializeDragSequence(this._rootElement,Ut)},this._pointerMove=Ut=>{const Vt=this._getPointerPositionOnPage(Ut);if(!this._hasStartedDragging){if(Math.abs(Vt.x-this._pickupPositionOnPage.x)+Math.abs(Vt.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Kt=Date.now()>=this._dragStartTime+this._getDragStartDelay(Ut),li=this._dropContainer;if(!Kt)return void this._endDragSequence(Ut);(!li||!li.isDragging()&&!li.isReceiving())&&(Ut.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(Ut)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),Ut.preventDefault();const Dt=this._getConstrainedPointerPosition(Vt);if(this._hasMoved=!0,this._lastKnownPointerPosition=Vt,this._updatePointerDirectionDelta(Dt),this._dropContainer)this._updateActiveDropContainer(Dt,Vt);else{const Et=this._activeTransform;Et.x=Dt.x-this._pickupPositionOnPage.x+this._passiveTransform.x,Et.y=Dt.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(Et.x,Et.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:Dt,event:Ut,distance:this._getDragDistance(Dt),delta:this._pointerDirectionDelta})})},this._pointerUp=Ut=>{this._endDragSequence(Ut)},this.withRootElement(Z).withParent(G.parentDragRef||null),this._parentPositions=new Me(X,Ue),wt.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(Z){const G=(0,T.Ig)(Z);G!==this._disabled&&(this._disabled=G,this._toggleNativeDragInteractions(),this._handles.forEach(X=>ae(X,G)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(Z){this._handles=Z.map(X=>(0,T.fI)(X)),this._handles.forEach(X=>ae(X,this.disabled)),this._toggleNativeDragInteractions();const G=new Set;return this._disabledHandles.forEach(X=>{this._handles.indexOf(X)>-1&&G.add(X)}),this._disabledHandles=G,this}withPreviewTemplate(Z){return this._previewTemplate=Z,this}withPlaceholderTemplate(Z){return this._placeholderTemplate=Z,this}withRootElement(Z){const G=(0,T.fI)(Z);return G!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{G.addEventListener("mousedown",this._pointerDown,Ie),G.addEventListener("touchstart",this._pointerDown,Oe)}),this._initialTransform=void 0,this._rootElement=G),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(Z){return this._boundaryElement=Z?(0,T.fI)(Z):null,this._resizeSubscription.unsubscribe(),Z&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(Z){return this._parentDragRef=Z,this}dispose(){var Z,G;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(Z=this._rootElement)||void 0===Z||Z.remove()),null===(G=this._anchor)||void 0===G||G.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(Z){!this._disabledHandles.has(Z)&&this._handles.indexOf(Z)>-1&&(this._disabledHandles.add(Z),ae(Z,!0))}enableHandle(Z){this._disabledHandles.has(Z)&&(this._disabledHandles.delete(Z),ae(Z,this.disabled))}withDirection(Z){return this._direction=Z,this}_withDropContainer(Z){this._dropContainer=Z}getFreeDragPosition(){const Z=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:Z.x,y:Z.y}}setFreeDragPosition(Z){return this._activeTransform={x:0,y:0},this._passiveTransform.x=Z.x,this._passiveTransform.y=Z.y,this._dropContainer||this._applyRootElementTransform(Z.x,Z.y),this}withPreviewContainer(Z){return this._previewContainer=Z,this}_sortFromLastPointerPosition(){const Z=this._lastKnownPointerPosition;Z&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(Z),Z)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var Z,G;null===(Z=this._preview)||void 0===Z||Z.remove(),null===(G=this._previewRef)||void 0===G||G.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var Z,G;null===(Z=this._placeholder)||void 0===Z||Z.remove(),null===(G=this._placeholderRef)||void 0===G||G.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(Z){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(Z),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const G=this._getPointerPositionOnPage(Z);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(G),dropPoint:G})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(Z){tt(Z)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const G=this._dropContainer;if(G){const X=this._rootElement,_e=X.parentNode,Ue=this._placeholder=this._createPlaceholderElement(),wt=this._anchor=this._anchor||this._document.createComment(""),Ut=this._getShadowRoot();_e.insertBefore(wt,X),this._initialTransform=X.style.transform||"",this._preview=this._createPreviewElement(),j(X,!1,fe),this._document.body.appendChild(_e.replaceChild(Ue,X)),this._getPreviewInsertionPoint(_e,Ut).appendChild(this._preview),this.started.next({source:this}),G.start(),this._initialContainer=G,this._initialIndex=G.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(G?G.getScrollableParents():[])}_initializeDragSequence(Z,G){this._parentDragRef&&G.stopPropagation();const X=this.isDragging(),_e=tt(G),Ue=!_e&&0!==G.button,wt=this._rootElement,Ut=(0,g.sA)(G),Vt=!_e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),Dt=_e?(0,m.yG)(G):(0,m.X6)(G);if(Ut&&Ut.draggable&&"mousedown"===G.type&&G.preventDefault(),X||Ue||Vt||Dt)return;if(this._handles.length){const Ot=wt.style;this._rootElementTapHighlight=Ot.webkitTapHighlightColor||"",Ot.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Ot=>this._updateOnScroll(Ot)),this._boundaryElement&&(this._boundaryRect=ge(this._boundaryElement));const Et=this._previewTemplate;this._pickupPositionInElement=Et&&Et.template&&!Et.matchSize?{x:0,y:0}:this._getPointerPositionInElement(Z,G);const At=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(G);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:At.x,y:At.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,G)}_cleanupDragArtifacts(Z){j(this._rootElement,!0,fe),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const G=this._dropContainer,X=G.getItemIndex(this),_e=this._getPointerPositionOnPage(Z),Ue=this._getDragDistance(_e),wt=G._isOverContainer(_e.x,_e.y);this.ended.next({source:this,distance:Ue,dropPoint:_e}),this.dropped.next({item:this,currentIndex:X,previousIndex:this._initialIndex,container:G,previousContainer:this._initialContainer,isPointerOverContainer:wt,distance:Ue,dropPoint:_e}),G.drop(this,X,this._initialIndex,this._initialContainer,wt,Ue,_e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:Z,y:G},{x:X,y:_e}){let Ue=this._initialContainer._getSiblingContainerFromPosition(this,Z,G);!Ue&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(Z,G)&&(Ue=this._initialContainer),Ue&&Ue!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=Ue,this._dropContainer.enter(this,Z,G,Ue===this._initialContainer&&Ue.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:Ue,currentIndex:Ue.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(X,_e),this._dropContainer._sortItem(this,Z,G,this._pointerDirectionDelta),this._applyPreviewTransform(Z-this._pickupPositionInElement.x,G-this._pickupPositionInElement.y))}_createPreviewElement(){const Z=this._previewTemplate,G=this.previewClass,X=Z?Z.template:null;let _e;if(X&&Z){const Ue=Z.matchSize?this._rootElement.getBoundingClientRect():null,wt=Z.viewContainer.createEmbeddedView(X,Z.context);wt.detectChanges(),_e=rt(wt,this._document),this._previewRef=wt,Z.matchSize?N(_e,Ue):_e.style.transform=Ve(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const Ue=this._rootElement;_e=ve(Ue),N(_e,Ue.getBoundingClientRect()),this._initialTransform&&(_e.style.transform=this._initialTransform)}return ke(_e.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},fe),ae(_e,!1),_e.classList.add("cdk-drag-preview"),_e.setAttribute("dir",this._direction),G&&(Array.isArray(G)?G.forEach(Ue=>_e.classList.add(Ue)):_e.classList.add(G)),_e}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const Z=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(Z.left,Z.top);const G=function te(oe){const Z=getComputedStyle(oe),G=se(Z,"transition-property"),X=G.find(Ut=>"transform"===Ut||"all"===Ut);if(!X)return 0;const _e=G.indexOf(X),Ue=se(Z,"transition-duration"),wt=se(Z,"transition-delay");return Q(Ue[_e])+Q(wt[_e])}(this._preview);return 0===G?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(X=>{const _e=wt=>{var Ut;(!wt||(0,g.sA)(wt)===this._preview&&"transform"===wt.propertyName)&&(null===(Ut=this._preview)||void 0===Ut||Ut.removeEventListener("transitionend",_e),X(),clearTimeout(Ue))},Ue=setTimeout(_e,1.5*G);this._preview.addEventListener("transitionend",_e)}))}_createPlaceholderElement(){const Z=this._placeholderTemplate,G=Z?Z.template:null;let X;return G?(this._placeholderRef=Z.viewContainer.createEmbeddedView(G,Z.context),this._placeholderRef.detectChanges(),X=rt(this._placeholderRef,this._document)):X=ve(this._rootElement),X.classList.add("cdk-drag-placeholder"),X}_getPointerPositionInElement(Z,G){const X=this._rootElement.getBoundingClientRect(),_e=Z===this._rootElement?null:Z,Ue=_e?_e.getBoundingClientRect():X,wt=tt(G)?G.targetTouches[0]:G,Ut=this._getViewportScrollPosition();return{x:Ue.left-X.left+(wt.pageX-Ue.left-Ut.left),y:Ue.top-X.top+(wt.pageY-Ue.top-Ut.top)}}_getPointerPositionOnPage(Z){const G=this._getViewportScrollPosition(),X=tt(Z)?Z.touches[0]||Z.changedTouches[0]||{pageX:0,pageY:0}:Z,_e=X.pageX-G.left,Ue=X.pageY-G.top;if(this._ownerSVGElement){const wt=this._ownerSVGElement.getScreenCTM();if(wt){const Ut=this._ownerSVGElement.createSVGPoint();return Ut.x=_e,Ut.y=Ue,Ut.matrixTransform(wt.inverse())}}return{x:_e,y:Ue}}_getConstrainedPointerPosition(Z){const G=this._dropContainer?this._dropContainer.lockAxis:null;let{x:X,y:_e}=this.constrainPosition?this.constrainPosition(Z,this):Z;if("x"===this.lockAxis||"x"===G?_e=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===G)&&(X=this._pickupPositionOnPage.x),this._boundaryRect){const{x:Ue,y:wt}=this._pickupPositionInElement,Ut=this._boundaryRect,Vt=this._previewRect,Dt=Ut.top+wt,Et=Ut.bottom-(Vt.height-wt);X=Xe(X,Ut.left+Ue,Ut.right-(Vt.width-Ue)),_e=Xe(_e,Dt,Et)}return{x:X,y:_e}}_updatePointerDirectionDelta(Z){const{x:G,y:X}=Z,_e=this._pointerDirectionDelta,Ue=this._pointerPositionAtLastDirectionChange,wt=Math.abs(G-Ue.x),Ut=Math.abs(X-Ue.y);return wt>this._config.pointerDirectionChangeThreshold&&(_e.x=G>Ue.x?1:-1,Ue.x=G),Ut>this._config.pointerDirectionChangeThreshold&&(_e.y=X>Ue.y?1:-1,Ue.y=X),_e}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const Z=this._handles.length>0||!this.isDragging();Z!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=Z,ae(this._rootElement,Z))}_removeRootElementListeners(Z){Z.removeEventListener("mousedown",this._pointerDown,Ie),Z.removeEventListener("touchstart",this._pointerDown,Oe)}_applyRootElementTransform(Z,G){const X=Ve(Z,G),_e=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=_e.transform&&"none"!=_e.transform?_e.transform:""),_e.transform=H(X,this._initialTransform)}_applyPreviewTransform(Z,G){var X;const _e=(null===(X=this._previewTemplate)||void 0===X?void 0:X.template)?void 0:this._initialTransform,Ue=Ve(Z,G);this._preview.style.transform=H(Ue,_e)}_getDragDistance(Z){const G=this._pickupPositionOnPage;return G?{x:Z.x-G.x,y:Z.y-G.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:Z,y:G}=this._passiveTransform;if(0===Z&&0===G||this.isDragging()||!this._boundaryElement)return;const X=this._boundaryElement.getBoundingClientRect(),_e=this._rootElement.getBoundingClientRect();if(0===X.width&&0===X.height||0===_e.width&&0===_e.height)return;const Ue=X.left-_e.left,wt=_e.right-X.right,Ut=X.top-_e.top,Vt=_e.bottom-X.bottom;X.width>_e.width?(Ue>0&&(Z+=Ue),wt>0&&(Z-=wt)):Z=0,X.height>_e.height?(Ut>0&&(G+=Ut),Vt>0&&(G-=Vt)):G=0,(Z!==this._passiveTransform.x||G!==this._passiveTransform.y)&&this.setFreeDragPosition({y:G,x:Z})}_getDragStartDelay(Z){const G=this.dragStartDelay;return"number"==typeof G?G:tt(Z)?G.touch:G?G.mouse:0}_updateOnScroll(Z){const G=this._parentPositions.handleScroll(Z);if(G){const X=(0,g.sA)(Z);this._boundaryRect&&X!==this._boundaryElement&&X.contains(this._boundaryElement)&&Fe(this._boundaryRect,G.top,G.left),this._pickupPositionOnPage.x+=G.left,this._pickupPositionOnPage.y+=G.top,this._dropContainer||(this._activeTransform.x-=G.left,this._activeTransform.y-=G.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const Z=this._parentPositions.positions.get(this._document);return Z?Z.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,g.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(Z,G){const X=this._previewContainer||"global";if("parent"===X)return Z;if("global"===X){const _e=this._document;return G||_e.fullscreenElement||_e.webkitFullscreenElement||_e.mozFullScreenElement||_e.msFullscreenElement||_e.body}return(0,T.fI)(X)}}function Ve(oe,Z){return`translate3d(${Math.round(oe)}px, ${Math.round(Z)}px, 0)`}function Xe(oe,Z,G){return Math.max(Z,Math.min(G,oe))}function tt(oe){return"t"===oe.type[0]}function rt(oe,Z){const G=oe.rootNodes;if(1===G.length&&G[0].nodeType===Z.ELEMENT_NODE)return G[0];const X=Z.createElement("div");return G.forEach(_e=>X.appendChild(_e)),X}function N(oe,Z){oe.style.width=`${Z.width}px`,oe.style.height=`${Z.height}px`,oe.style.transform=Ve(Z.left,Z.top)}function he(oe,Z,G){const X=I(Z,oe.length-1),_e=I(G,oe.length-1);if(X===_e)return;const Ue=oe[X],wt=_e!0,this.sortPredicate=()=>!0,this.beforeStarted=new A.xQ,this.entered=new A.xQ,this.exited=new A.xQ,this.dropped=new A.xQ,this.sorted=new A.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=s.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new A.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,b.F)(0,O.r).pipe((0,k.R)(this._stopScrollTimers)).subscribe(()=>{const wt=this._scrollNode,Ut=this.autoScrollStep;1===this._verticalScrollDirection?wt.scrollBy(0,-Ut):2===this._verticalScrollDirection&&wt.scrollBy(0,Ut),1===this._horizontalScrollDirection?wt.scrollBy(-Ut,0):2===this._horizontalScrollDirection&&wt.scrollBy(Ut,0)})},this.element=(0,T.fI)(Z),this._document=X,this.withScrollableParents([this.element]),G.registerDropContainer(this),this._parentPositions=new Me(X,Ue)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(Z,G,X,_e){let Ue;this._draggingStarted(),null==_e?(Ue=this.sortingDisabled?this._draggables.indexOf(Z):-1,-1===Ue&&(Ue=this._getItemIndexFromPointerPosition(Z,G,X))):Ue=_e;const wt=this._activeDraggables,Ut=wt.indexOf(Z),Vt=Z.getPlaceholderElement();let Dt=wt[Ue];if(Dt===Z&&(Dt=wt[Ue+1]),!Dt&&(null==Ue||-1===Ue||Ue-1&&wt.splice(Ut,1),Dt&&!this._dragDropRegistry.isDragging(Dt)){const Et=Dt.getRootElement();Et.parentElement.insertBefore(Vt,Et),wt.splice(Ue,0,Z)}else(0,T.fI)(this.element).appendChild(Vt),wt.push(Z);Vt.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:Z,container:this,currentIndex:this.getItemIndex(Z)})}exit(Z){this._reset(),this.exited.next({item:Z,container:this})}drop(Z,G,X,_e,Ue,wt,Ut){this._reset(),this.dropped.next({item:Z,currentIndex:G,previousIndex:X,container:this,previousContainer:_e,isPointerOverContainer:Ue,distance:wt,dropPoint:Ut})}withItems(Z){const G=this._draggables;return this._draggables=Z,Z.forEach(X=>X._withDropContainer(this)),this.isDragging()&&(G.filter(_e=>_e.isDragging()).every(_e=>-1===Z.indexOf(_e))?this._reset():this._cacheItems()),this}withDirection(Z){return this._direction=Z,this}connectedTo(Z){return this._siblings=Z.slice(),this}withOrientation(Z){return this._orientation=Z,this}withScrollableParents(Z){const G=(0,T.fI)(this.element);return this._scrollableElements=-1===Z.indexOf(G)?[G,...Z]:Z.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(Z){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(X=>X.drag===Z):this._draggables.indexOf(Z)}isReceiving(){return this._activeSiblings.size>0}_sortItem(Z,G,X,_e){if(this.sortingDisabled||!this._clientRect||!ne(this._clientRect,.05,G,X))return;const Ue=this._itemPositions,wt=this._getItemIndexFromPointerPosition(Z,G,X,_e);if(-1===wt&&Ue.length>0)return;const Ut="horizontal"===this._orientation,Vt=Ue.findIndex(Ci=>Ci.drag===Z),Dt=Ue[wt],At=Dt.clientRect,Ot=Vt>wt?1:-1,Kt=this._getItemOffsetPx(Ue[Vt].clientRect,At,Ot),li=this._getSiblingOffsetPx(Vt,Ue,Ot),fi=Ue.slice();he(Ue,Vt,wt),this.sorted.next({previousIndex:Vt,currentIndex:wt,container:this,item:Z}),Ue.forEach((Ci,Si)=>{if(fi[Si]===Ci)return;const Vi=Ci.drag===Z,nn=Vi?Kt:li,$i=Vi?Z.getPlaceholderElement():Ci.drag.getRootElement();Ci.offset+=nn,Ut?($i.style.transform=H(`translate3d(${Math.round(Ci.offset)}px, 0, 0)`,Ci.initialTransform),Fe(Ci.clientRect,0,nn)):($i.style.transform=H(`translate3d(0, ${Math.round(Ci.offset)}px, 0)`,Ci.initialTransform),Fe(Ci.clientRect,nn,0))}),this._previousSwap.overlaps=Ne(At,G,X),this._previousSwap.drag=Dt.drag,this._previousSwap.delta=Ut?_e.x:_e.y}_startScrollingIfNecessary(Z,G){if(this.autoScrollDisabled)return;let X,_e=0,Ue=0;if(this._parentPositions.positions.forEach((wt,Ut)=>{Ut===this._document||!wt.clientRect||X||ne(wt.clientRect,.05,Z,G)&&([_e,Ue]=function t(oe,Z,G,X){const _e=p(Z,X),Ue=o(Z,G);let wt=0,Ut=0;if(_e){const Vt=oe.scrollTop;1===_e?Vt>0&&(wt=1):oe.scrollHeight-Vt>oe.clientHeight&&(wt=2)}if(Ue){const Vt=oe.scrollLeft;1===Ue?Vt>0&&(Ut=1):oe.scrollWidth-Vt>oe.clientWidth&&(Ut=2)}return[wt,Ut]}(Ut,wt.clientRect,Z,G),(_e||Ue)&&(X=Ut))}),!_e&&!Ue){const{width:wt,height:Ut}=this._viewportRuler.getViewportSize(),Vt={width:wt,height:Ut,top:0,right:wt,bottom:Ut,left:0};_e=p(Vt,G),Ue=o(Vt,Z),X=window}X&&(_e!==this._verticalScrollDirection||Ue!==this._horizontalScrollDirection||X!==this._scrollNode)&&(this._verticalScrollDirection=_e,this._horizontalScrollDirection=Ue,this._scrollNode=X,(_e||Ue)&&X?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const Z=(0,T.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=Z.msScrollSnapType||Z.scrollSnapType||"",Z.scrollSnapType=Z.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const Z=(0,T.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(Z).clientRect}_cacheItemPositions(){const Z="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(G=>{const X=G.getVisibleElement();return{drag:G,offset:0,initialTransform:X.style.transform||"",clientRect:ge(X)}}).sort((G,X)=>Z?G.clientRect.left-X.clientRect.left:G.clientRect.top-X.clientRect.top)}_reset(){this._isDragging=!1;const Z=(0,T.fI)(this.element).style;Z.scrollSnapType=Z.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(G=>{var X;const _e=G.getRootElement();if(_e){const Ue=null===(X=this._itemPositions.find(wt=>wt.drag===G))||void 0===X?void 0:X.initialTransform;_e.style.transform=Ue||""}}),this._siblings.forEach(G=>G._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(Z,G,X){const _e="horizontal"===this._orientation,Ue=G[Z].clientRect,wt=G[Z+-1*X];let Ut=Ue[_e?"width":"height"]*X;if(wt){const Vt=_e?"left":"top",Dt=_e?"right":"bottom";-1===X?Ut-=wt.clientRect[Vt]-Ue[Dt]:Ut+=Ue[Vt]-wt.clientRect[Dt]}return Ut}_getItemOffsetPx(Z,G,X){const _e="horizontal"===this._orientation;let Ue=_e?G.left-Z.left:G.top-Z.top;return-1===X&&(Ue+=_e?G.width-Z.width:G.height-Z.height),Ue}_shouldEnterAsFirstChild(Z,G){if(!this._activeDraggables.length)return!1;const X=this._itemPositions,_e="horizontal"===this._orientation;if(X[0].drag!==this._activeDraggables[0]){const wt=X[X.length-1].clientRect;return _e?Z>=wt.right:G>=wt.bottom}{const wt=X[0].clientRect;return _e?Z<=wt.left:G<=wt.top}}_getItemIndexFromPointerPosition(Z,G,X,_e){const Ue="horizontal"===this._orientation,wt=this._itemPositions.findIndex(({drag:Ut,clientRect:Vt})=>{if(Ut===Z)return!1;if(_e){const Dt=Ue?_e.x:_e.y;if(Ut===this._previousSwap.drag&&this._previousSwap.overlaps&&Dt===this._previousSwap.delta)return!1}return Ue?G>=Math.floor(Vt.left)&&G=Math.floor(Vt.top)&&X_e._canReceive(Z,G,X))}_canReceive(Z,G,X){if(!this._clientRect||!Ne(this._clientRect,G,X)||!this.enterPredicate(Z,this))return!1;const _e=this._getShadowRoot().elementFromPoint(G,X);if(!_e)return!1;const Ue=(0,T.fI)(this.element);return _e===Ue||Ue.contains(_e)}_startReceiving(Z,G){const X=this._activeSiblings;!X.has(Z)&&G.every(_e=>this.enterPredicate(_e,this)||this._draggables.indexOf(_e)>-1)&&(X.add(Z),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(Z){this._activeSiblings.delete(Z),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Z=>{if(this.isDragging()){const G=this._parentPositions.handleScroll(Z);G&&(this._itemPositions.forEach(({clientRect:X})=>{Fe(X,G.top,G.left)}),this._itemPositions.forEach(({drag:X})=>{this._dragDropRegistry.isDragging(X)&&X._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const Z=(0,g.kV)((0,T.fI)(this.element));this._cachedShadowRoot=Z||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const Z=this._activeDraggables.filter(G=>G.isDragging());this._siblings.forEach(G=>G._startReceiving(this,Z))}}function p(oe,Z){const{top:G,bottom:X,height:_e}=oe,Ue=.05*_e;return Z>=G-Ue&&Z<=G+Ue?1:Z>=X-Ue&&Z<=X+Ue?2:0}function o(oe,Z){const{left:G,right:X,width:_e}=oe,Ue=.05*_e;return Z>=G-Ue&&Z<=G+Ue?1:Z>=X-Ue&&Z<=X+Ue?2:0}const n=(0,g.i$)({passive:!1,capture:!0});let c=(()=>{class oe{constructor(G,X){this._ngZone=G,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=_e=>_e.isDragging(),this.pointerMove=new A.xQ,this.pointerUp=new A.xQ,this.scroll=new A.xQ,this._preventDefaultWhileDragging=_e=>{this._activeDragInstances.length>0&&_e.preventDefault()},this._persistentTouchmoveListener=_e=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&_e.preventDefault(),this.pointerMove.next(_e))},this._document=X}registerDropContainer(G){this._dropInstances.has(G)||this._dropInstances.add(G)}registerDragItem(G){this._dragInstances.add(G),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,n)})}removeDropContainer(G){this._dropInstances.delete(G)}removeDragItem(G){this._dragInstances.delete(G),this.stopDragging(G),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,n)}startDragging(G,X){if(!(this._activeDragInstances.indexOf(G)>-1)&&(this._activeDragInstances.push(G),1===this._activeDragInstances.length)){const _e=X.type.startsWith("touch");this._globalListeners.set(_e?"touchend":"mouseup",{handler:Ue=>this.pointerUp.next(Ue),options:!0}).set("scroll",{handler:Ue=>this.scroll.next(Ue),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:n}),_e||this._globalListeners.set("mousemove",{handler:Ue=>this.pointerMove.next(Ue),options:n}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((Ue,wt)=>{this._document.addEventListener(wt,Ue.handler,Ue.options)})})}}stopDragging(G){const X=this._activeDragInstances.indexOf(G);X>-1&&(this._activeDragInstances.splice(X,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(G){return this._activeDragInstances.indexOf(G)>-1}scrolled(G){const X=[this.scroll];return G&&G!==this._document&&X.push(new E.y(_e=>this._ngZone.runOutsideAngular(()=>{const wt=Ut=>{this._activeDragInstances.length&&_e.next(Ut)};return G.addEventListener("scroll",wt,!0),()=>{G.removeEventListener("scroll",wt,!0)}}))),(0,h.T)(...X)}ngOnDestroy(){this._dragInstances.forEach(G=>this.removeDragItem(G)),this._dropInstances.forEach(G=>this.removeDropContainer(G)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((G,X)=>{this._document.removeEventListener(X,G.handler,G.options)}),this._globalListeners.clear()}}return oe.\u0275fac=function(G){return new(G||oe)(e.LFG(e.R0b),e.LFG(f.K0))},oe.\u0275prov=e.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();const u={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let y=(()=>{class oe{constructor(G,X,_e,Ue){this._document=G,this._ngZone=X,this._viewportRuler=_e,this._dragDropRegistry=Ue}createDrag(G,X=u){return new Ce(G,X,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(G){return new r(G,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return oe.\u0275fac=function(G){return new(G||oe)(e.LFG(f.K0),e.LFG(e.R0b),e.LFG(Le.rL),e.LFG(c))},oe.\u0275prov=e.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();const M=new e.OlP("CDK_DRAG_PARENT"),re=new e.OlP("CdkDropListGroup"),yt=new e.OlP("CDK_DRAG_CONFIG");let Nt=0;const It=new e.OlP("CdkDropList");let Zt=(()=>{class oe{constructor(G,X,_e,Ue,wt,Ut,Vt){this.element=G,this._changeDetectorRef=_e,this._scrollDispatcher=Ue,this._dir=wt,this._group=Ut,this._destroyed=new A.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+Nt++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.sorted=new e.vpe,this._unsortedItems=new Set,this._dropListRef=X.createDropList(G),this._dropListRef.data=this,Vt&&this._assignDefaults(Vt),this._dropListRef.enterPredicate=(Dt,Et)=>this.enterPredicate(Dt.data,Et.data),this._dropListRef.sortPredicate=(Dt,Et,At)=>this.sortPredicate(Dt,Et.data,At.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),oe._dropLists.push(this),Ut&&Ut._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(G){this._dropListRef.disabled=this._disabled=(0,T.Ig)(G)}addItem(G){this._unsortedItems.add(G),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(G){this._unsortedItems.delete(G),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((G,X)=>G._dragRef.getVisibleElement().compareDocumentPosition(X._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const G=oe._dropLists.indexOf(this);G>-1&&oe._dropLists.splice(G,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(G){this._dir&&this._dir.change.pipe((0,L.O)(this._dir.value),(0,k.R)(this._destroyed)).subscribe(X=>G.withDirection(X)),G.beforeStarted.subscribe(()=>{const X=(0,T.Eq)(this.connectedTo).map(_e=>"string"==typeof _e?oe._dropLists.find(wt=>wt.id===_e):_e);if(this._group&&this._group._items.forEach(_e=>{-1===X.indexOf(_e)&&X.push(_e)}),!this._scrollableParentsResolved){const _e=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(Ue=>Ue.getElementRef().nativeElement);this._dropListRef.withScrollableParents(_e),this._scrollableParentsResolved=!0}G.disabled=this.disabled,G.lockAxis=this.lockAxis,G.sortingDisabled=(0,T.Ig)(this.sortingDisabled),G.autoScrollDisabled=(0,T.Ig)(this.autoScrollDisabled),G.autoScrollStep=(0,T.su)(this.autoScrollStep,2),G.connectedTo(X.filter(_e=>_e&&_e!==this).map(_e=>_e._dropListRef)).withOrientation(this.orientation)})}_handleEvents(G){G.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),G.entered.subscribe(X=>{this.entered.emit({container:this,item:X.item.data,currentIndex:X.currentIndex})}),G.exited.subscribe(X=>{this.exited.emit({container:this,item:X.item.data}),this._changeDetectorRef.markForCheck()}),G.sorted.subscribe(X=>{this.sorted.emit({previousIndex:X.previousIndex,currentIndex:X.currentIndex,container:this,item:X.item.data})}),G.dropped.subscribe(X=>{this.dropped.emit({previousIndex:X.previousIndex,currentIndex:X.currentIndex,previousContainer:X.previousContainer.data,container:X.container.data,item:X.item.data,isPointerOverContainer:X.isPointerOverContainer,distance:X.distance,dropPoint:X.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(G){const{lockAxis:X,draggingDisabled:_e,sortingDisabled:Ue,listAutoScrollDisabled:wt,listOrientation:Ut}=G;this.disabled=null!=_e&&_e,this.sortingDisabled=null!=Ue&&Ue,this.autoScrollDisabled=null!=wt&&wt,this.orientation=Ut||"vertical",X&&(this.lockAxis=X)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(G=>G._dragRef))}}return oe._dropLists=[],oe.\u0275fac=function(G){return new(G||oe)(e.Y36(e.SBq),e.Y36(y),e.Y36(e.sBO),e.Y36(Le.mF),e.Y36(de.Is,8),e.Y36(re,12),e.Y36(yt,8))},oe.\u0275dir=e.lG2({type:oe,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(G,X){2&G&&(e.uIk("id",X.id),e.ekj("cdk-drop-list-disabled",X.disabled)("cdk-drop-list-dragging",X._dropListRef.isDragging())("cdk-drop-list-receiving",X._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[e._Bn([{provide:re,useValue:void 0},{provide:It,useExisting:oe}])]}),oe})();const mt=new e.OlP("CdkDragHandle"),_t=new e.OlP("CdkDragPlaceholder"),Lt=new e.OlP("CdkDragPreview");let qe=(()=>{class oe{constructor(G,X,_e,Ue,wt,Ut,Vt,Dt,Et,At,Ot){this.element=G,this.dropContainer=X,this._ngZone=Ue,this._viewContainerRef=wt,this._dir=Vt,this._changeDetectorRef=Et,this._selfHandle=At,this._parentDrag=Ot,this._destroyed=new A.xQ,this.started=new e.vpe,this.released=new e.vpe,this.ended=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.dropped=new e.vpe,this.moved=new E.y(Kt=>{const li=this._dragRef.moved.pipe((0,V.U)(fi=>({source:this,pointerPosition:fi.pointerPosition,event:fi.event,delta:fi.delta,distance:fi.distance}))).subscribe(Kt);return()=>{li.unsubscribe()}}),this._dragRef=Dt.createDrag(G,{dragStartThreshold:Ut&&null!=Ut.dragStartThreshold?Ut.dragStartThreshold:5,pointerDirectionChangeThreshold:Ut&&null!=Ut.pointerDirectionChangeThreshold?Ut.pointerDirectionChangeThreshold:5,zIndex:null==Ut?void 0:Ut.zIndex}),this._dragRef.data=this,oe._dragInstances.push(this),Ut&&this._assignDefaults(Ut),X&&(this._dragRef._withDropContainer(X._dropListRef),X.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(G){this._disabled=(0,T.Ig)(G),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,$.q)(1),(0,k.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(G){const X=G.rootElementSelector,_e=G.freeDragPosition;X&&!X.firstChange&&this._updateRootElement(),_e&&!_e.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const G=oe._dragInstances.indexOf(this);G>-1&&oe._dragInstances.splice(G,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var G;const X=this.element.nativeElement;let _e=X;this.rootElementSelector&&(_e=void 0!==X.closest?X.closest(this.rootElementSelector):null===(G=X.parentElement)||void 0===G?void 0:G.closest(this.rootElementSelector)),this._dragRef.withRootElement(_e||X)}_getBoundaryElement(){const G=this.boundaryElement;return G?"string"==typeof G?this.element.nativeElement.closest(G):(0,T.fI)(G):null}_syncInputs(G){G.beforeStarted.subscribe(()=>{if(!G.isDragging()){const X=this._dir,_e=this.dragStartDelay,Ue=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,wt=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;G.disabled=this.disabled,G.lockAxis=this.lockAxis,G.dragStartDelay="object"==typeof _e&&_e?_e:(0,T.su)(_e),G.constrainPosition=this.constrainPosition,G.previewClass=this.previewClass,G.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(Ue).withPreviewTemplate(wt).withPreviewContainer(this.previewContainer||"global"),X&&G.withDirection(X.value)}}),G.beforeStarted.pipe((0,$.q)(1)).subscribe(()=>{var X;if(this._parentDrag)return void G.withParent(this._parentDrag._dragRef);let _e=this.element.nativeElement.parentElement;for(;_e;){if(_e.classList.contains("cdk-drag")){G.withParent((null===(X=oe._dragInstances.find(Ue=>Ue.element.nativeElement===_e))||void 0===X?void 0:X._dragRef)||null);break}_e=_e.parentElement}})}_handleEvents(G){G.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),G.released.subscribe(()=>{this.released.emit({source:this})}),G.ended.subscribe(X=>{this.ended.emit({source:this,distance:X.distance,dropPoint:X.dropPoint}),this._changeDetectorRef.markForCheck()}),G.entered.subscribe(X=>{this.entered.emit({container:X.container.data,item:this,currentIndex:X.currentIndex})}),G.exited.subscribe(X=>{this.exited.emit({container:X.container.data,item:this})}),G.dropped.subscribe(X=>{this.dropped.emit({previousIndex:X.previousIndex,currentIndex:X.currentIndex,previousContainer:X.previousContainer.data,container:X.container.data,isPointerOverContainer:X.isPointerOverContainer,item:this,distance:X.distance,dropPoint:X.dropPoint})})}_assignDefaults(G){const{lockAxis:X,dragStartDelay:_e,constrainPosition:Ue,previewClass:wt,boundaryElement:Ut,draggingDisabled:Vt,rootElementSelector:Dt,previewContainer:Et}=G;this.disabled=null!=Vt&&Vt,this.dragStartDelay=_e||0,X&&(this.lockAxis=X),Ue&&(this.constrainPosition=Ue),wt&&(this.previewClass=wt),Ut&&(this.boundaryElement=Ut),Dt&&(this.rootElementSelector=Dt),Et&&(this.previewContainer=Et)}_setupHandlesListener(){this._handles.changes.pipe((0,L.O)(this._handles),(0,ue.b)(G=>{const X=G.filter(_e=>_e._parentDrag===this).map(_e=>_e.element);this._selfHandle&&this.rootElementSelector&&X.push(this.element),this._dragRef.withHandles(X)}),(0,ce.w)(G=>(0,h.T)(...G.map(X=>X._stateChanges.pipe((0,L.O)(X))))),(0,k.R)(this._destroyed)).subscribe(G=>{const X=this._dragRef,_e=G.element.nativeElement;G.disabled?X.disableHandle(_e):X.enableHandle(_e)})}}return oe._dragInstances=[],oe.\u0275fac=function(G){return new(G||oe)(e.Y36(e.SBq),e.Y36(It,12),e.Y36(f.K0),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(yt,8),e.Y36(de.Is,8),e.Y36(y),e.Y36(e.sBO),e.Y36(mt,10),e.Y36(M,12))},oe.\u0275dir=e.lG2({type:oe,selectors:[["","cdkDrag",""]],contentQueries:function(G,X,_e){if(1&G&&(e.Suo(_e,Lt,5),e.Suo(_e,_t,5),e.Suo(_e,mt,5)),2&G){let Ue;e.iGM(Ue=e.CRH())&&(X._previewTemplate=Ue.first),e.iGM(Ue=e.CRH())&&(X._placeholderTemplate=Ue.first),e.iGM(Ue=e.CRH())&&(X._handles=Ue)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(G,X){2&G&&e.ekj("cdk-drag-disabled",X.disabled)("cdk-drag-dragging",X._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[e._Bn([{provide:M,useExisting:oe}]),e.TTD]}),oe})(),Ye=(()=>{class oe{}return oe.\u0275fac=function(G){return new(G||oe)},oe.\u0275mod=e.oAB({type:oe}),oe.\u0275inj=e.cJS({providers:[y],imports:[Le.ZD]}),oe})()},91159:(Ke,be,d)=>{"use strict";d.d(be,{A:()=>He,zL:()=>b,ZH:()=>f,OC:()=>ut,jx:()=>s,yY:()=>Q,JH:()=>ke,uR:()=>$,K5:()=>m,hY:()=>h,Sd:()=>ue,oh:()=>ce,b2:()=>pn,MW:()=>pt,aO:()=>Te,VM:()=>V,Ku:()=>L,SV:()=>de,JU:()=>A,L_:()=>k,Mf:()=>g,LH:()=>Le,Z:()=>yt,xE:()=>te,Vb:()=>Pi});const f=8,g=9,m=13,A=16,s=17,b=18,h=27,k=32,L=33,V=34,$=35,ue=36,ce=37,Le=38,de=39,ke=40,Q=46,te=48,Te=57,He=65,yt=90,pt=91,ut=188,pn=224;function Pi(Ti,...Ui){return Ui.length?Ui.some(fn=>Ti[fn]):Ti.altKey||Ti.shiftKey||Ti.ctrlKey||Ti.metaKey}},17144:(Ke,be,d)=>{"use strict";d.d(be,{wD:()=>b,yq:()=>s,Q8:()=>O});var e=d(63191),f=d(5e3),g=d(32916),T=d(8929),m=d(80013);let A=(()=>{class E{create(k){return"undefined"==typeof MutationObserver?null:new MutationObserver(k)}}return E.\u0275fac=function(k){return new(k||E)},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),s=(()=>{class E{constructor(k){this._mutationObserverFactory=k,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((k,L)=>this._cleanupObserver(L))}observe(k){const L=(0,e.fI)(k);return new g.y(V=>{const ue=this._observeElement(L).subscribe(V);return()=>{ue.unsubscribe(),this._unobserveElement(L)}})}_observeElement(k){if(this._observedElements.has(k))this._observedElements.get(k).count++;else{const L=new T.xQ,V=this._mutationObserverFactory.create($=>L.next($));V&&V.observe(k,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(k,{observer:V,stream:L,count:1})}return this._observedElements.get(k).stream}_unobserveElement(k){this._observedElements.has(k)&&(this._observedElements.get(k).count--,this._observedElements.get(k).count||this._cleanupObserver(k))}_cleanupObserver(k){if(this._observedElements.has(k)){const{observer:L,stream:V}=this._observedElements.get(k);L&&L.disconnect(),V.complete(),this._observedElements.delete(k)}}}return E.\u0275fac=function(k){return new(k||E)(f.LFG(A))},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),b=(()=>{class E{constructor(k,L,V){this._contentObserver=k,this._elementRef=L,this._ngZone=V,this.event=new f.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(k){this._disabled=(0,e.Ig)(k),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(k){this._debounce=(0,e.su)(k),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const k=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?k.pipe((0,m.b)(this.debounce)):k).subscribe(this.event)})}_unsubscribe(){var k;null===(k=this._currentSubscription)||void 0===k||k.unsubscribe()}}return E.\u0275fac=function(k){return new(k||E)(f.Y36(s),f.Y36(f.SBq),f.Y36(f.R0b))},E.\u0275dir=f.lG2({type:E,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),E})(),O=(()=>{class E{}return E.\u0275fac=function(k){return new(k||E)},E.\u0275mod=f.oAB({type:E}),E.\u0275inj=f.cJS({providers:[A]}),E})()},92845:(Ke,be,d)=>{"use strict";d.d(be,{pI:()=>i,xu:()=>P,_G:()=>Oe,aV:()=>D,X_:()=>ge,Xj:()=>Te,U8:()=>o});var e=d(53435),f=d(69808),g=d(5e3),T=d(63191),m=d(70925),A=d(50226),s=d(47429),b=d(8929),O=d(42654),E=d(36787),h=d(43489);class L{constructor(c,u){this.predicate=c,this.inclusive=u}call(c,u){return u.subscribe(new V(c,this.predicate,this.inclusive))}}class V extends h.L{constructor(c,u,y){super(c),this.predicate=u,this.inclusive=y,this.index=0}_next(c){const u=this.destination;let y;try{y=this.predicate(c,this.index++)}catch(M){return void u.error(M)}this.nextOrComplete(c,y)}nextOrComplete(c,u){const y=this.destination;Boolean(u)?y.next(c):(this.inclusive&&y.next(c),y.complete())}}var $=d(72986),ue=d(7625),ce=d(91159);const Le=(0,m.Mq)();class de{constructor(c,u){this._viewportRuler=c,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=u}attach(){}enable(){if(this._canBeEnabled()){const c=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=c.style.left||"",this._previousHTMLStyles.top=c.style.top||"",c.style.left=(0,T.HM)(-this._previousScrollPosition.left),c.style.top=(0,T.HM)(-this._previousScrollPosition.top),c.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const c=this._document.documentElement,y=c.style,M=this._document.body.style,re=y.scrollBehavior||"",et=M.scrollBehavior||"";this._isEnabled=!1,y.left=this._previousHTMLStyles.left,y.top=this._previousHTMLStyles.top,c.classList.remove("cdk-global-scrollblock"),Le&&(y.scrollBehavior=M.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Le&&(y.scrollBehavior=re,M.scrollBehavior=et)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const u=this._document.body,y=this._viewportRuler.getViewportSize();return u.scrollHeight>y.height||u.scrollWidth>y.width}}class ae{constructor(c,u,y,M){this._scrollDispatcher=c,this._ngZone=u,this._viewportRuler=y,this._config=M,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(c){this._overlayRef=c}enable(){if(this._scrollSubscription)return;const c=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=c.subscribe(()=>{const u=this._viewportRuler.getViewportScrollPosition().top;Math.abs(u-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=c.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class j{enable(){}disable(){}attach(){}}function H(n,c){return c.some(u=>n.bottomu.bottom||n.rightu.right)}function Q(n,c){return c.some(u=>n.topu.bottom||n.leftu.right)}class te{constructor(c,u,y,M){this._scrollDispatcher=c,this._viewportRuler=u,this._ngZone=y,this._config=M,this._scrollSubscription=null}attach(c){this._overlayRef=c}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const u=this._overlayRef.overlayElement.getBoundingClientRect(),{width:y,height:M}=this._viewportRuler.getViewportSize();H(u,[{width:y,height:M,bottom:M,right:y,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let se=(()=>{class n{constructor(u,y,M,re){this._scrollDispatcher=u,this._viewportRuler=y,this._ngZone=M,this.noop=()=>new j,this.close=et=>new ae(this._scrollDispatcher,this._ngZone,this._viewportRuler,et),this.block=()=>new de(this._viewportRuler,this._document),this.reposition=et=>new te(this._scrollDispatcher,this._viewportRuler,this._ngZone,et),this._document=re}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(e.mF),g.LFG(e.rL),g.LFG(g.R0b),g.LFG(f.K0))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class ge{constructor(c){if(this.scrollStrategy=new j,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,c){const u=Object.keys(c);for(const y of u)void 0!==c[y]&&(this[y]=c[y])}}}class ne{constructor(c,u){this.connectionPair=c,this.scrollableViewProperties=u}}class me{constructor(c,u,y,M,re,et,yt,pt,Nt){this._portalOutlet=c,this._host=u,this._pane=y,this._config=M,this._ngZone=re,this._keyboardDispatcher=et,this._document=yt,this._location=pt,this._outsideClickDispatcher=Nt,this._backdropElement=null,this._backdropClick=new b.xQ,this._attachments=new b.xQ,this._detachments=new b.xQ,this._locationChanges=O.w.EMPTY,this._backdropClickHandler=It=>this._backdropClick.next(It),this._keydownEvents=new b.xQ,this._outsidePointerEvents=new b.xQ,M.scrollStrategy&&(this._scrollStrategy=M.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=M.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(c){let u=this._portalOutlet.attach(c);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,$.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),u}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const c=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),c}dispose(){var c;const u=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(c=this._host)||void 0===c||c.remove(),this._previousHostParent=this._pane=this._host=null,u&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(c){c!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=c,this.hasAttached()&&(c.attach(this),this.updatePosition()))}updateSize(c){this._config=Object.assign(Object.assign({},this._config),c),this._updateElementSize()}setDirection(c){this._config=Object.assign(Object.assign({},this._config),{direction:c}),this._updateElementDirection()}addPanelClass(c){this._pane&&this._toggleClasses(this._pane,c,!0)}removePanelClass(c){this._pane&&this._toggleClasses(this._pane,c,!1)}getDirection(){const c=this._config.direction;return c?"string"==typeof c?c:c.value:"ltr"}updateScrollStrategy(c){c!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=c,this.hasAttached()&&(c.attach(this),c.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const c=this._pane.style;c.width=(0,T.HM)(this._config.width),c.height=(0,T.HM)(this._config.height),c.minWidth=(0,T.HM)(this._config.minWidth),c.minHeight=(0,T.HM)(this._config.minHeight),c.maxWidth=(0,T.HM)(this._config.maxWidth),c.maxHeight=(0,T.HM)(this._config.maxHeight)}_togglePointerEvents(c){this._pane.style.pointerEvents=c?"":"none"}_attachBackdrop(){const c="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(c)})}):this._backdropElement.classList.add(c)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const c=this._backdropElement;if(!c)return;let u;const y=()=>{c&&(c.removeEventListener("click",this._backdropClickHandler),c.removeEventListener("transitionend",y),this._disposeBackdrop(c)),this._config.backdropClass&&this._toggleClasses(c,this._config.backdropClass,!1),clearTimeout(u)};c.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{c.addEventListener("transitionend",y)}),c.style.pointerEvents="none",u=this._ngZone.runOutsideAngular(()=>setTimeout(y,500))}_toggleClasses(c,u,y){const M=(0,T.Eq)(u||[]).filter(re=>!!re);M.length&&(y?c.classList.add(...M):c.classList.remove(...M))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const c=this._ngZone.onStable.pipe((0,ue.R)((0,E.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),c.unsubscribe())})})}_disposeScrollStrategy(){const c=this._scrollStrategy;c&&(c.disable(),c.detach&&c.detach())}_disposeBackdrop(c){c&&(c.remove(),this._backdropElement===c&&(this._backdropElement=null))}}let Te=(()=>{class n{constructor(u,y){this._platform=y,this._document=u}ngOnDestroy(){var u;null===(u=this._containerElement)||void 0===u||u.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const u="cdk-overlay-container";if(this._platform.isBrowser||(0,m.Oy)()){const M=this._document.querySelectorAll(`.${u}[platform="server"], .${u}[platform="test"]`);for(let re=0;re{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const c=this._originRect,u=this._overlayRect,y=this._viewportRect,M=this._containerRect,re=[];let et;for(let yt of this._preferredPositions){let pt=this._getOriginPoint(c,M,yt),Nt=this._getOverlayPoint(pt,u,yt),It=this._getOverlayFit(Nt,u,y,yt);if(It.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(yt,pt);this._canFitWithFlexibleDimensions(It,Nt,y)?re.push({position:yt,origin:pt,overlayRect:u,boundingBoxRect:this._calculateBoundingBoxRect(pt,yt)}):(!et||et.overlayFit.visibleAreapt&&(pt=It,yt=Nt)}return this._isPushed=!1,void this._applyPosition(yt.position,yt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(et.position,et.originPoint);this._applyPosition(et.position,et.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ie(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ee),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const c=this._lastPosition;if(c){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const u=this._getOriginPoint(this._originRect,this._containerRect,c);this._applyPosition(c,u)}else this.apply()}withScrollableContainers(c){return this._scrollables=c,this}withPositions(c){return this._preferredPositions=c,-1===c.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(c){return this._viewportMargin=c,this}withFlexibleDimensions(c=!0){return this._hasFlexibleDimensions=c,this}withGrowAfterOpen(c=!0){return this._growAfterOpen=c,this}withPush(c=!0){return this._canPush=c,this}withLockedPosition(c=!0){return this._positionLocked=c,this}setOrigin(c){return this._origin=c,this}withDefaultOffsetX(c){return this._offsetX=c,this}withDefaultOffsetY(c){return this._offsetY=c,this}withTransformOriginOn(c){return this._transformOriginSelector=c,this}_getOriginPoint(c,u,y){let M,re;if("center"==y.originX)M=c.left+c.width/2;else{const et=this._isRtl()?c.right:c.left,yt=this._isRtl()?c.left:c.right;M="start"==y.originX?et:yt}return u.left<0&&(M-=u.left),re="center"==y.originY?c.top+c.height/2:"top"==y.originY?c.top:c.bottom,u.top<0&&(re-=u.top),{x:M,y:re}}_getOverlayPoint(c,u,y){let M,re;return M="center"==y.overlayX?-u.width/2:"start"===y.overlayX?this._isRtl()?-u.width:0:this._isRtl()?0:-u.width,re="center"==y.overlayY?-u.height/2:"top"==y.overlayY?0:-u.height,{x:c.x+M,y:c.y+re}}_getOverlayFit(c,u,y,M){const re=fe(u);let{x:et,y:yt}=c,pt=this._getOffset(M,"x"),Nt=this._getOffset(M,"y");pt&&(et+=pt),Nt&&(yt+=Nt);let mt=0-yt,Ht=yt+re.height-y.height,_t=this._subtractOverflows(re.width,0-et,et+re.width-y.width),Je=this._subtractOverflows(re.height,mt,Ht),Lt=_t*Je;return{visibleArea:Lt,isCompletelyWithinViewport:re.width*re.height===Lt,fitsInViewportVertically:Je===re.height,fitsInViewportHorizontally:_t==re.width}}_canFitWithFlexibleDimensions(c,u,y){if(this._hasFlexibleDimensions){const M=y.bottom-u.y,re=y.right-u.x,et=He(this._overlayRef.getConfig().minHeight),yt=He(this._overlayRef.getConfig().minWidth),Nt=c.fitsInViewportHorizontally||null!=yt&&yt<=re;return(c.fitsInViewportVertically||null!=et&&et<=M)&&Nt}return!1}_pushOverlayOnScreen(c,u,y){if(this._previousPushAmount&&this._positionLocked)return{x:c.x+this._previousPushAmount.x,y:c.y+this._previousPushAmount.y};const M=fe(u),re=this._viewportRect,et=Math.max(c.x+M.width-re.width,0),yt=Math.max(c.y+M.height-re.height,0),pt=Math.max(re.top-y.top-c.y,0),Nt=Math.max(re.left-y.left-c.x,0);let It=0,Zt=0;return It=M.width<=re.width?Nt||-et:c.x_t&&!this._isInitialRender&&!this._growAfterOpen&&(et=c.y-_t/2)}if("end"===u.overlayX&&!M||"start"===u.overlayX&&M)mt=y.width-c.x+this._viewportMargin,It=c.x-this._viewportMargin;else if("start"===u.overlayX&&!M||"end"===u.overlayX&&M)Zt=c.x,It=y.right-c.x;else{const Ht=Math.min(y.right-c.x+y.left,c.x),_t=this._lastBoundingBoxSize.width;It=2*Ht,Zt=c.x-Ht,It>_t&&!this._isInitialRender&&!this._growAfterOpen&&(Zt=c.x-_t/2)}return{top:et,left:Zt,bottom:yt,right:mt,width:It,height:re}}_setBoundingBoxStyles(c,u){const y=this._calculateBoundingBoxRect(c,u);!this._isInitialRender&&!this._growAfterOpen&&(y.height=Math.min(y.height,this._lastBoundingBoxSize.height),y.width=Math.min(y.width,this._lastBoundingBoxSize.width));const M={};if(this._hasExactPosition())M.top=M.left="0",M.bottom=M.right=M.maxHeight=M.maxWidth="",M.width=M.height="100%";else{const re=this._overlayRef.getConfig().maxHeight,et=this._overlayRef.getConfig().maxWidth;M.height=(0,T.HM)(y.height),M.top=(0,T.HM)(y.top),M.bottom=(0,T.HM)(y.bottom),M.width=(0,T.HM)(y.width),M.left=(0,T.HM)(y.left),M.right=(0,T.HM)(y.right),M.alignItems="center"===u.overlayX?"center":"end"===u.overlayX?"flex-end":"flex-start",M.justifyContent="center"===u.overlayY?"center":"bottom"===u.overlayY?"flex-end":"flex-start",re&&(M.maxHeight=(0,T.HM)(re)),et&&(M.maxWidth=(0,T.HM)(et))}this._lastBoundingBoxSize=y,Ie(this._boundingBox.style,M)}_resetBoundingBoxStyles(){Ie(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ie(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(c,u){const y={},M=this._hasExactPosition(),re=this._hasFlexibleDimensions,et=this._overlayRef.getConfig();if(M){const It=this._viewportRuler.getViewportScrollPosition();Ie(y,this._getExactOverlayY(u,c,It)),Ie(y,this._getExactOverlayX(u,c,It))}else y.position="static";let yt="",pt=this._getOffset(u,"x"),Nt=this._getOffset(u,"y");pt&&(yt+=`translateX(${pt}px) `),Nt&&(yt+=`translateY(${Nt}px)`),y.transform=yt.trim(),et.maxHeight&&(M?y.maxHeight=(0,T.HM)(et.maxHeight):re&&(y.maxHeight="")),et.maxWidth&&(M?y.maxWidth=(0,T.HM)(et.maxWidth):re&&(y.maxWidth="")),Ie(this._pane.style,y)}_getExactOverlayY(c,u,y){let M={top:"",bottom:""},re=this._getOverlayPoint(u,this._overlayRect,c);return this._isPushed&&(re=this._pushOverlayOnScreen(re,this._overlayRect,y)),"bottom"===c.overlayY?M.bottom=this._document.documentElement.clientHeight-(re.y+this._overlayRect.height)+"px":M.top=(0,T.HM)(re.y),M}_getExactOverlayX(c,u,y){let et,M={left:"",right:""},re=this._getOverlayPoint(u,this._overlayRect,c);return this._isPushed&&(re=this._pushOverlayOnScreen(re,this._overlayRect,y)),et=this._isRtl()?"end"===c.overlayX?"left":"right":"end"===c.overlayX?"right":"left","right"===et?M.right=this._document.documentElement.clientWidth-(re.x+this._overlayRect.width)+"px":M.left=(0,T.HM)(re.x),M}_getScrollVisibility(){const c=this._getOriginRect(),u=this._pane.getBoundingClientRect(),y=this._scrollables.map(M=>M.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Q(c,y),isOriginOutsideView:H(c,y),isOverlayClipped:Q(u,y),isOverlayOutsideView:H(u,y)}}_subtractOverflows(c,...u){return u.reduce((y,M)=>y-Math.max(M,0),c)}_getNarrowedViewportRect(){const c=this._document.documentElement.clientWidth,u=this._document.documentElement.clientHeight,y=this._viewportRuler.getViewportScrollPosition();return{top:y.top+this._viewportMargin,left:y.left+this._viewportMargin,right:y.left+c-this._viewportMargin,bottom:y.top+u-this._viewportMargin,width:c-2*this._viewportMargin,height:u-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(c,u){return"x"===u?null==c.offsetX?this._offsetX:c.offsetX:null==c.offsetY?this._offsetY:c.offsetY}_validatePositions(){}_addPanelClasses(c){this._pane&&(0,T.Eq)(c).forEach(u=>{""!==u&&-1===this._appliedPanelClasses.indexOf(u)&&(this._appliedPanelClasses.push(u),this._pane.classList.add(u))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(c=>{this._pane.classList.remove(c)}),this._appliedPanelClasses=[])}_getOriginRect(){const c=this._origin;if(c instanceof g.SBq)return c.nativeElement.getBoundingClientRect();if(c instanceof Element)return c.getBoundingClientRect();const u=c.width||0,y=c.height||0;return{top:c.y,bottom:c.y+y,left:c.x,right:c.x+u,height:y,width:u}}}function Ie(n,c){for(let u in c)c.hasOwnProperty(u)&&(n[u]=c[u]);return n}function He(n){if("number"!=typeof n&&null!=n){const[c,u]=n.split(R);return u&&"px"!==u?null:parseFloat(c)}return n||null}function fe(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const Ce="cdk-global-overlay-wrapper";class Ve{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(c){const u=c.getConfig();this._overlayRef=c,this._width&&!u.width&&c.updateSize({width:this._width}),this._height&&!u.height&&c.updateSize({height:this._height}),c.hostElement.classList.add(Ce),this._isDisposed=!1}top(c=""){return this._bottomOffset="",this._topOffset=c,this._alignItems="flex-start",this}left(c=""){return this._rightOffset="",this._leftOffset=c,this._justifyContent="flex-start",this}bottom(c=""){return this._topOffset="",this._bottomOffset=c,this._alignItems="flex-end",this}right(c=""){return this._leftOffset="",this._rightOffset=c,this._justifyContent="flex-end",this}width(c=""){return this._overlayRef?this._overlayRef.updateSize({width:c}):this._width=c,this}height(c=""){return this._overlayRef?this._overlayRef.updateSize({height:c}):this._height=c,this}centerHorizontally(c=""){return this.left(c),this._justifyContent="center",this}centerVertically(c=""){return this.top(c),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const c=this._overlayRef.overlayElement.style,u=this._overlayRef.hostElement.style,y=this._overlayRef.getConfig(),{width:M,height:re,maxWidth:et,maxHeight:yt}=y,pt=!("100%"!==M&&"100vw"!==M||et&&"100%"!==et&&"100vw"!==et),Nt=!("100%"!==re&&"100vh"!==re||yt&&"100%"!==yt&&"100vh"!==yt);c.position=this._cssPosition,c.marginLeft=pt?"0":this._leftOffset,c.marginTop=Nt?"0":this._topOffset,c.marginBottom=this._bottomOffset,c.marginRight=this._rightOffset,pt?u.justifyContent="flex-start":"center"===this._justifyContent?u.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?u.justifyContent="flex-end":"flex-end"===this._justifyContent&&(u.justifyContent="flex-start"):u.justifyContent=this._justifyContent,u.alignItems=Nt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const c=this._overlayRef.overlayElement.style,u=this._overlayRef.hostElement,y=u.style;u.classList.remove(Ce),y.justifyContent=y.alignItems=c.marginTop=c.marginBottom=c.marginLeft=c.marginRight=c.position="",this._overlayRef=null,this._isDisposed=!0}}let Xe=(()=>{class n{constructor(u,y,M,re){this._viewportRuler=u,this._document=y,this._platform=M,this._overlayContainer=re}global(){return new Ve}flexibleConnectedTo(u){return new Oe(u,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(e.rL),g.LFG(f.K0),g.LFG(m.t4),g.LFG(Te))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),tt=(()=>{class n{constructor(u){this._attachedOverlays=[],this._document=u}ngOnDestroy(){this.detach()}add(u){this.remove(u),this._attachedOverlays.push(u)}remove(u){const y=this._attachedOverlays.indexOf(u);y>-1&&this._attachedOverlays.splice(y,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(f.K0))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rt=(()=>{class n extends tt{constructor(u){super(u),this._keydownListener=y=>{const M=this._attachedOverlays;for(let re=M.length-1;re>-1;re--)if(M[re]._keydownEvents.observers.length>0){M[re]._keydownEvents.next(y);break}}}add(u){super.add(u),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(f.K0))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),N=(()=>{class n extends tt{constructor(u,y){super(u),this._platform=y,this._cursorStyleIsSet=!1,this._pointerDownListener=M=>{this._pointerDownEventTarget=(0,m.sA)(M)},this._clickListener=M=>{const re=(0,m.sA)(M),et="click"===M.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:re;this._pointerDownEventTarget=null;const yt=this._attachedOverlays.slice();for(let pt=yt.length-1;pt>-1;pt--){const Nt=yt[pt];if(!(Nt._outsidePointerEvents.observers.length<1)&&Nt.hasAttached()){if(Nt.overlayElement.contains(re)||Nt.overlayElement.contains(et))break;Nt._outsidePointerEvents.next(M)}}}}add(u){if(super.add(u),!this._isAttached){const y=this._document.body;y.addEventListener("pointerdown",this._pointerDownListener,!0),y.addEventListener("click",this._clickListener,!0),y.addEventListener("auxclick",this._clickListener,!0),y.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=y.style.cursor,y.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const u=this._document.body;u.removeEventListener("pointerdown",this._pointerDownListener,!0),u.removeEventListener("click",this._clickListener,!0),u.removeEventListener("auxclick",this._clickListener,!0),u.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(u.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(f.K0),g.LFG(m.t4))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),he=0,D=(()=>{class n{constructor(u,y,M,re,et,yt,pt,Nt,It,Zt,mt){this.scrollStrategies=u,this._overlayContainer=y,this._componentFactoryResolver=M,this._positionBuilder=re,this._keyboardDispatcher=et,this._injector=yt,this._ngZone=pt,this._document=Nt,this._directionality=It,this._location=Zt,this._outsideClickDispatcher=mt}create(u){const y=this._createHostElement(),M=this._createPaneElement(y),re=this._createPortalOutlet(M),et=new ge(u);return et.direction=et.direction||this._directionality.value,new me(re,y,M,et,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(u){const y=this._document.createElement("div");return y.id="cdk-overlay-"+he++,y.classList.add("cdk-overlay-pane"),u.appendChild(y),y}_createHostElement(){const u=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(u),u}_createPortalOutlet(u){return this._appRef||(this._appRef=this._injector.get(g.z2F)),new s.u0(u,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(se),g.LFG(Te),g.LFG(g._Vd),g.LFG(Xe),g.LFG(rt),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(f.K0),g.LFG(A.Is),g.LFG(f.Ye),g.LFG(N))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac}),n})();const S=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],I=new g.OlP("cdk-connected-overlay-scroll-strategy");let P=(()=>{class n{constructor(u){this.elementRef=u}}return n.\u0275fac=function(u){return new(u||n)(g.Y36(g.SBq))},n.\u0275dir=g.lG2({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),i=(()=>{class n{constructor(u,y,M,re,et){this._overlay=u,this._dir=et,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=O.w.EMPTY,this._attachSubscription=O.w.EMPTY,this._detachSubscription=O.w.EMPTY,this._positionSubscription=O.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new g.vpe,this.positionChange=new g.vpe,this.attach=new g.vpe,this.detach=new g.vpe,this.overlayKeydown=new g.vpe,this.overlayOutsideClick=new g.vpe,this._templatePortal=new s.UE(y,M),this._scrollStrategyFactory=re,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(u){this._offsetX=u,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(u){this._offsetY=u,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(u){this._hasBackdrop=(0,T.Ig)(u)}get lockPosition(){return this._lockPosition}set lockPosition(u){this._lockPosition=(0,T.Ig)(u)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(u){this._flexibleDimensions=(0,T.Ig)(u)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(u){this._growAfterOpen=(0,T.Ig)(u)}get push(){return this._push}set push(u){this._push=(0,T.Ig)(u)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(u){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),u.origin&&this.open&&this._position.apply()),u.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=S);const u=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=u.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=u.detachments().subscribe(()=>this.detach.emit()),u.keydownEvents().subscribe(y=>{this.overlayKeydown.next(y),y.keyCode===ce.hY&&!this.disableClose&&!(0,ce.Vb)(y)&&(y.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(y=>{this.overlayOutsideClick.next(y)})}_buildConfig(){const u=this._position=this.positionStrategy||this._createPositionStrategy(),y=new ge({direction:this._dir,positionStrategy:u,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(y.width=this.width),(this.height||0===this.height)&&(y.height=this.height),(this.minWidth||0===this.minWidth)&&(y.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(y.minHeight=this.minHeight),this.backdropClass&&(y.backdropClass=this.backdropClass),this.panelClass&&(y.panelClass=this.panelClass),y}_updatePositionStrategy(u){const y=this.positions.map(M=>({originX:M.originX,originY:M.originY,overlayX:M.overlayX,overlayY:M.overlayY,offsetX:M.offsetX||this.offsetX,offsetY:M.offsetY||this.offsetY,panelClass:M.panelClass||void 0}));return u.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(y).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const u=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(u),u}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof P?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(u=>{this.backdropClick.emit(u)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function k(n,c=!1){return u=>u.lift(new L(n,c))}(()=>this.positionChange.observers.length>0)).subscribe(u=>{this.positionChange.emit(u),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(u){return new(u||n)(g.Y36(D),g.Y36(g.Rgc),g.Y36(g.s_b),g.Y36(I),g.Y36(A.Is,8))},n.\u0275dir=g.lG2({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[g.TTD]}),n})();const p={provide:I,deps:[D],useFactory:function r(n){return()=>n.scrollStrategies.reposition()}};let o=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275mod=g.oAB({type:n}),n.\u0275inj=g.cJS({providers:[D,p],imports:[[A.vT,s.eL,e.Cl],e.Cl]}),n})()},70925:(Ke,be,d)=>{"use strict";d.d(be,{t4:()=>T,ud:()=>m,sA:()=>ke,ht:()=>de,kV:()=>Le,Oy:()=>ae,_i:()=>$,qK:()=>b,i$:()=>h,Mq:()=>V});var e=d(5e3),f=d(69808);let g;try{g="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(j){g=!1}let A,T=(()=>{class j{constructor(Q){this._platformId=Q,this.isBrowser=this._platformId?(0,f.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!g)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return j.\u0275fac=function(Q){return new(Q||j)(e.LFG(e.Lbi))},j.\u0275prov=e.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),m=(()=>{class j{}return j.\u0275fac=function(Q){return new(Q||j)},j.\u0275mod=e.oAB({type:j}),j.\u0275inj=e.cJS({}),j})();const s=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function b(){if(A)return A;if("object"!=typeof document||!document)return A=new Set(s),A;let j=document.createElement("input");return A=new Set(s.filter(H=>(j.setAttribute("type",H),j.type===H))),A}let O,k,L,ue;function h(j){return function E(){if(null==O&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>O=!0}))}finally{O=O||!1}return O}()?j:!!j.capture}function V(){if(null==L){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return L=!1,L;if("scrollBehavior"in document.documentElement.style)L=!0;else{const j=Element.prototype.scrollTo;L=!!j&&!/\{\s*\[native code\]\s*\}/.test(j.toString())}}return L}function $(){if("object"!=typeof document||!document)return 0;if(null==k){const j=document.createElement("div"),H=j.style;j.dir="rtl",H.width="1px",H.overflow="auto",H.visibility="hidden",H.pointerEvents="none",H.position="absolute";const Q=document.createElement("div"),te=Q.style;te.width="2px",te.height="1px",j.appendChild(Q),document.body.appendChild(j),k=0,0===j.scrollLeft&&(j.scrollLeft=1,k=0===j.scrollLeft?1:2),j.remove()}return k}function Le(j){if(function ce(){if(null==ue){const j="undefined"!=typeof document?document.head:null;ue=!(!j||!j.createShadowRoot&&!j.attachShadow)}return ue}()){const H=j.getRootNode?j.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&H instanceof ShadowRoot)return H}return null}function de(){let j="undefined"!=typeof document&&document?document.activeElement:null;for(;j&&j.shadowRoot;){const H=j.shadowRoot.activeElement;if(H===j)break;j=H}return j}function ke(j){return j.composedPath?j.composedPath()[0]:j.target}function ae(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},47429:(Ke,be,d)=>{"use strict";d.d(be,{en:()=>L,ig:()=>ce,Pl:()=>de,C5:()=>E,u0:()=>$,eL:()=>ae,UE:()=>h});var e=d(5e3),f=d(69808);class O{attach(Q){return this._attachedHost=Q,Q.attach(this)}detach(){let Q=this._attachedHost;null!=Q&&(this._attachedHost=null,Q.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Q){this._attachedHost=Q}}class E extends O{constructor(Q,te,se,ge){super(),this.component=Q,this.viewContainerRef=te,this.injector=se,this.componentFactoryResolver=ge}}class h extends O{constructor(Q,te,se){super(),this.templateRef=Q,this.viewContainerRef=te,this.context=se}get origin(){return this.templateRef.elementRef}attach(Q,te=this.context){return this.context=te,super.attach(Q)}detach(){return this.context=void 0,super.detach()}}class k extends O{constructor(Q){super(),this.element=Q instanceof e.SBq?Q.nativeElement:Q}}class L{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Q){return Q instanceof E?(this._attachedPortal=Q,this.attachComponentPortal(Q)):Q instanceof h?(this._attachedPortal=Q,this.attachTemplatePortal(Q)):this.attachDomPortal&&Q instanceof k?(this._attachedPortal=Q,this.attachDomPortal(Q)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Q){this._disposeFn=Q}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class $ extends L{constructor(Q,te,se,ge,Ne){super(),this.outletElement=Q,this._componentFactoryResolver=te,this._appRef=se,this._defaultInjector=ge,this.attachDomPortal=Fe=>{const ne=Fe.element,Me=this._document.createComment("dom-portal");ne.parentNode.insertBefore(Me,ne),this.outletElement.appendChild(ne),this._attachedPortal=Fe,super.setDisposeFn(()=>{Me.parentNode&&Me.parentNode.replaceChild(ne,Me)})},this._document=Ne}attachComponentPortal(Q){const se=(Q.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Q.component);let ge;return Q.viewContainerRef?(ge=Q.viewContainerRef.createComponent(se,Q.viewContainerRef.length,Q.injector||Q.viewContainerRef.injector),this.setDisposeFn(()=>ge.destroy())):(ge=se.create(Q.injector||this._defaultInjector),this._appRef.attachView(ge.hostView),this.setDisposeFn(()=>{this._appRef.detachView(ge.hostView),ge.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ge)),this._attachedPortal=Q,ge}attachTemplatePortal(Q){let te=Q.viewContainerRef,se=te.createEmbeddedView(Q.templateRef,Q.context);return se.rootNodes.forEach(ge=>this.outletElement.appendChild(ge)),se.detectChanges(),this.setDisposeFn(()=>{let ge=te.indexOf(se);-1!==ge&&te.remove(ge)}),this._attachedPortal=Q,se}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Q){return Q.hostView.rootNodes[0]}}let ce=(()=>{class H extends h{constructor(te,se){super(te,se)}}return H.\u0275fac=function(te){return new(te||H)(e.Y36(e.Rgc),e.Y36(e.s_b))},H.\u0275dir=e.lG2({type:H,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[e.qOj]}),H})(),de=(()=>{class H extends L{constructor(te,se,ge){super(),this._componentFactoryResolver=te,this._viewContainerRef=se,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=Ne=>{const Fe=Ne.element,ne=this._document.createComment("dom-portal");Ne.setAttachedHost(this),Fe.parentNode.insertBefore(ne,Fe),this._getRootNode().appendChild(Fe),this._attachedPortal=Ne,super.setDisposeFn(()=>{ne.parentNode&&ne.parentNode.replaceChild(Fe,ne)})},this._document=ge}get portal(){return this._attachedPortal}set portal(te){this.hasAttached()&&!te&&!this._isInitialized||(this.hasAttached()&&super.detach(),te&&super.attach(te),this._attachedPortal=te||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(te){te.setAttachedHost(this);const se=null!=te.viewContainerRef?te.viewContainerRef:this._viewContainerRef,Ne=(te.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(te.component),Fe=se.createComponent(Ne,se.length,te.injector||se.injector);return se!==this._viewContainerRef&&this._getRootNode().appendChild(Fe.hostView.rootNodes[0]),super.setDisposeFn(()=>Fe.destroy()),this._attachedPortal=te,this._attachedRef=Fe,this.attached.emit(Fe),Fe}attachTemplatePortal(te){te.setAttachedHost(this);const se=this._viewContainerRef.createEmbeddedView(te.templateRef,te.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=te,this._attachedRef=se,this.attached.emit(se),se}_getRootNode(){const te=this._viewContainerRef.element.nativeElement;return te.nodeType===te.ELEMENT_NODE?te:te.parentNode}}return H.\u0275fac=function(te){return new(te||H)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(f.K0))},H.\u0275dir=e.lG2({type:H,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]}),H})(),ae=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=e.oAB({type:H}),H.\u0275inj=e.cJS({}),H})()},53435:(Ke,be,d)=>{"use strict";d.d(be,{xd:()=>Me,PQ:()=>Te,ZD:()=>Ve,x0:()=>Ce,N7:()=>He,mF:()=>me,Cl:()=>Xe,rL:()=>R});var e=d(63191),f=d(5e3),g=d(8929),T=d(21086),m=d(32916),A=d(23753),s=d(90352),b=d(8139),O=d(42654),E=d(54715),h=d(43489);class L{call(rt,N){return N.subscribe(new V(rt))}}class V extends h.L{constructor(rt){super(rt),this.hasPrev=!1}_next(rt){let N;this.hasPrev?N=[this.prev,rt]:this.hasPrev=!0,this.prev=rt,N&&this.destination.next(N)}}var $=d(75778),ue=d(57138),ce=d(92198),Le=d(7625),de=d(1059),ke=d(87545),ae=d(5154),j=d(69808),H=d(70925),Q=d(50226),te=d(20449);const se=["contentWrapper"],ge=["*"],Ne=new f.OlP("VIRTUAL_SCROLL_STRATEGY");class Fe{constructor(rt,N,he){this._scrolledIndexChange=new g.xQ,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,$.x)()),this._viewport=null,this._itemSize=rt,this._minBufferPx=N,this._maxBufferPx=he}attach(rt){this._viewport=rt,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(rt,N,he){this._itemSize=rt,this._minBufferPx=N,this._maxBufferPx=he,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(rt,N){this._viewport&&this._viewport.scrollToOffset(rt*this._itemSize,N)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const rt=this._viewport.getRenderedRange(),N={start:rt.start,end:rt.end},he=this._viewport.getViewportSize(),D=this._viewport.getDataLength();let S=this._viewport.measureScrollOffset(),I=this._itemSize>0?S/this._itemSize:0;if(N.end>D){const i=Math.ceil(he/this._itemSize),r=Math.max(0,Math.min(I,D-i));I!=r&&(I=r,S=r*this._itemSize,N.start=Math.floor(I)),N.end=Math.max(0,Math.min(D,N.start+i))}const P=S-N.start*this._itemSize;if(P0&&(N.end=Math.min(D,N.end+r),N.start=Math.max(0,Math.floor(I-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(N),this._viewport.setRenderedContentOffset(this._itemSize*N.start),this._scrolledIndexChange.next(Math.floor(I))}}function ne(tt){return tt._scrollStrategy}let Me=(()=>{class tt{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Fe(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(N){this._itemSize=(0,e.su)(N)}get minBufferPx(){return this._minBufferPx}set minBufferPx(N){this._minBufferPx=(0,e.su)(N)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(N){this._maxBufferPx=(0,e.su)(N)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275dir=f.lG2({type:tt,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[f._Bn([{provide:Ne,useFactory:ne,deps:[(0,f.Gpc)(()=>tt)]}]),f.TTD]}),tt})(),me=(()=>{class tt{constructor(N,he,D){this._ngZone=N,this._platform=he,this._scrolled=new g.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=D}register(N){this.scrollContainers.has(N)||this.scrollContainers.set(N,N.elementScrolled().subscribe(()=>this._scrolled.next(N)))}deregister(N){const he=this.scrollContainers.get(N);he&&(he.unsubscribe(),this.scrollContainers.delete(N))}scrolled(N=20){return this._platform.isBrowser?new m.y(he=>{this._globalSubscription||this._addGlobalListener();const D=N>0?this._scrolled.pipe((0,ue.e)(N)).subscribe(he):this._scrolled.subscribe(he);return this._scrolledCount++,()=>{D.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,T.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((N,he)=>this.deregister(he)),this._scrolled.complete()}ancestorScrolled(N,he){const D=this.getAncestorScrollContainers(N);return this.scrolled(he).pipe((0,ce.h)(S=>!S||D.indexOf(S)>-1))}getAncestorScrollContainers(N){const he=[];return this.scrollContainers.forEach((D,S)=>{this._scrollableContainsElement(S,N)&&he.push(S)}),he}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(N,he){let D=(0,e.fI)(he),S=N.getElementRef().nativeElement;do{if(D==S)return!0}while(D=D.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const N=this._getWindow();return(0,A.R)(N.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return tt.\u0275fac=function(N){return new(N||tt)(f.LFG(f.R0b),f.LFG(H.t4),f.LFG(j.K0,8))},tt.\u0275prov=f.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})(),Te=(()=>{class tt{constructor(N,he,D,S){this.elementRef=N,this.scrollDispatcher=he,this.ngZone=D,this.dir=S,this._destroyed=new g.xQ,this._elementScrolled=new m.y(I=>this.ngZone.runOutsideAngular(()=>(0,A.R)(this.elementRef.nativeElement,"scroll").pipe((0,Le.R)(this._destroyed)).subscribe(I)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(N){const he=this.elementRef.nativeElement,D=this.dir&&"rtl"==this.dir.value;null==N.left&&(N.left=D?N.end:N.start),null==N.right&&(N.right=D?N.start:N.end),null!=N.bottom&&(N.top=he.scrollHeight-he.clientHeight-N.bottom),D&&0!=(0,H._i)()?(null!=N.left&&(N.right=he.scrollWidth-he.clientWidth-N.left),2==(0,H._i)()?N.left=N.right:1==(0,H._i)()&&(N.left=N.right?-N.right:N.right)):null!=N.right&&(N.left=he.scrollWidth-he.clientWidth-N.right),this._applyScrollToOptions(N)}_applyScrollToOptions(N){const he=this.elementRef.nativeElement;(0,H.Mq)()?he.scrollTo(N):(null!=N.top&&(he.scrollTop=N.top),null!=N.left&&(he.scrollLeft=N.left))}measureScrollOffset(N){const he="left",D="right",S=this.elementRef.nativeElement;if("top"==N)return S.scrollTop;if("bottom"==N)return S.scrollHeight-S.clientHeight-S.scrollTop;const I=this.dir&&"rtl"==this.dir.value;return"start"==N?N=I?D:he:"end"==N&&(N=I?he:D),I&&2==(0,H._i)()?N==he?S.scrollWidth-S.clientWidth-S.scrollLeft:S.scrollLeft:I&&1==(0,H._i)()?N==he?S.scrollLeft+S.scrollWidth-S.clientWidth:-S.scrollLeft:N==he?S.scrollLeft:S.scrollWidth-S.clientWidth-S.scrollLeft}}return tt.\u0275fac=function(N){return new(N||tt)(f.Y36(f.SBq),f.Y36(me),f.Y36(f.R0b),f.Y36(Q.Is,8))},tt.\u0275dir=f.lG2({type:tt,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),tt})(),R=(()=>{class tt{constructor(N,he,D){this._platform=N,this._change=new g.xQ,this._changeListener=S=>{this._change.next(S)},this._document=D,he.runOutsideAngular(()=>{if(N.isBrowser){const S=this._getWindow();S.addEventListener("resize",this._changeListener),S.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const N=this._getWindow();N.removeEventListener("resize",this._changeListener),N.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const N={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),N}getViewportRect(){const N=this.getViewportScrollPosition(),{width:he,height:D}=this.getViewportSize();return{top:N.top,left:N.left,bottom:N.top+D,right:N.left+he,height:D,width:he}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const N=this._document,he=this._getWindow(),D=N.documentElement,S=D.getBoundingClientRect();return{top:-S.top||N.body.scrollTop||he.scrollY||D.scrollTop||0,left:-S.left||N.body.scrollLeft||he.scrollX||D.scrollLeft||0}}change(N=20){return N>0?this._change.pipe((0,ue.e)(N)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const N=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:N.innerWidth,height:N.innerHeight}:{width:0,height:0}}}return tt.\u0275fac=function(N){return new(N||tt)(f.LFG(H.t4),f.LFG(f.R0b),f.LFG(j.K0,8))},tt.\u0275prov=f.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})();const Ie="undefined"!=typeof requestAnimationFrame?s.r:b.e;let He=(()=>{class tt extends Te{constructor(N,he,D,S,I,P,i){super(N,P,D,I),this.elementRef=N,this._changeDetectorRef=he,this._scrollStrategy=S,this._detachedSubject=new g.xQ,this._renderedRangeSubject=new g.xQ,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new m.y(r=>this._scrollStrategy.scrolledIndexChange.subscribe(p=>Promise.resolve().then(()=>this.ngZone.run(()=>r.next(p))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=O.w.EMPTY,this._viewportChanges=i.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(N){this._orientation!==N&&(this._orientation=N,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(N){this._appendOnly=(0,e.Ig)(N)}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe((0,de.O)(null),(0,ue.e)(0,Ie)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(N){this.ngZone.runOutsideAngular(()=>{this._forOf=N,this._forOf.dataStream.pipe((0,Le.R)(this._detachedSubject)).subscribe(he=>{const D=he.length;D!==this._dataLength&&(this._dataLength=D,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(N){this._totalContentSize!==N&&(this._totalContentSize=N,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(N){(function Oe(tt,rt){return tt.start==rt.start&&tt.end==rt.end})(this._renderedRange,N)||(this.appendOnly&&(N={start:0,end:Math.max(this._renderedRange.end,N.end)}),this._renderedRangeSubject.next(this._renderedRange=N),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(N,he="to-start"){const S="horizontal"==this.orientation,I=S?"X":"Y";let i=`translate${I}(${Number((S&&this.dir&&"rtl"==this.dir.value?-1:1)*N)}px)`;this._renderedContentOffset=N=this.appendOnly&&"to-start"===he?0:N,"to-end"===he&&(i+=` translate${I}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=i&&(this._renderedContentTransform=i,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(N,he="auto"){const D={behavior:he};"horizontal"===this.orientation?D.start=N:D.top=N,this.scrollTo(D)}scrollToIndex(N,he="auto"){this._scrollStrategy.scrollToIndex(N,he)}measureScrollOffset(N){return super.measureScrollOffset(N||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const N=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?N.offsetWidth:N.offsetHeight}measureRangeSize(N){return this._forOf?this._forOf.measureRangeSize(N,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const N=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?N.clientWidth:N.clientHeight}_markChangeDetectionNeeded(N){N&&this._runAfterChangeDetection.push(N),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const N=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const he of N)he()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return tt.\u0275fac=function(N){return new(N||tt)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(f.R0b),f.Y36(Ne,8),f.Y36(Q.Is,8),f.Y36(me),f.Y36(R))},tt.\u0275cmp=f.Xpm({type:tt,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(N,he){if(1&N&&f.Gf(se,7),2&N){let D;f.iGM(D=f.CRH())&&(he._contentWrapper=D.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(N,he){2&N&&f.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===he.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==he.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[f._Bn([{provide:Te,useExisting:tt}]),f.qOj],ngContentSelectors:ge,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(N,he){1&N&&(f.F$t(),f.TgZ(0,"div",0,1),f.Hsn(2),f.qZA(),f._UZ(3,"div",2)),2&N&&(f.xp6(3),f.Udp("width",he._totalContentWidth)("height",he._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),tt})();function fe(tt,rt,N){if(!N.getBoundingClientRect)return 0;const D=N.getBoundingClientRect();return"horizontal"===tt?"start"===rt?D.left:D.right:"start"===rt?D.top:D.bottom}let Ce=(()=>{class tt{constructor(N,he,D,S,I,P){this._viewContainerRef=N,this._template=he,this._differs=D,this._viewRepeater=S,this._viewport=I,this.viewChange=new g.xQ,this._dataSourceChanges=new g.xQ,this.dataStream=this._dataSourceChanges.pipe((0,de.O)(null),function k(){return tt=>tt.lift(new L)}(),(0,ke.w)(([i,r])=>this._changeDataSource(i,r)),(0,ae.d)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new g.xQ,this.dataStream.subscribe(i=>{this._data=i,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,Le.R)(this._destroyed)).subscribe(i=>{this._renderedRange=i,P.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(N){this._cdkVirtualForOf=N,(0,te.Z9)(N)?this._dataSourceChanges.next(N):this._dataSourceChanges.next(new te.P3((0,E.b)(N)?N:Array.from(N||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(N){this._needsUpdate=!0,this._cdkVirtualForTrackBy=N?(he,D)=>N(he+(this._renderedRange?this._renderedRange.start:0),D):void 0}set cdkVirtualForTemplate(N){N&&(this._needsUpdate=!0,this._template=N)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(N){this._viewRepeater.viewCacheSize=(0,e.su)(N)}measureRangeSize(N,he){if(N.start>=N.end)return 0;const D=N.start-this._renderedRange.start,S=N.end-N.start;let I,P;for(let i=0;i-1;i--){const r=this._viewContainerRef.get(i+D);if(r&&r.rootNodes.length){P=r.rootNodes[r.rootNodes.length-1];break}}return I&&P?fe(he,"end",P)-fe(he,"start",I):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const N=this._differ.diff(this._renderedItems);N?this._applyChanges(N):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((N,he)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(N,he):he)),this._needsUpdate=!0)}_changeDataSource(N,he){return N&&N.disconnect(this),this._needsUpdate=!0,he?he.connect(this):(0,T.of)()}_updateContext(){const N=this._data.length;let he=this._viewContainerRef.length;for(;he--;){const D=this._viewContainerRef.get(he);D.context.index=this._renderedRange.start+he,D.context.count=N,this._updateComputedContextProperties(D.context),D.detectChanges()}}_applyChanges(N){this._viewRepeater.applyChanges(N,this._viewContainerRef,(S,I,P)=>this._getEmbeddedViewArgs(S,P),S=>S.item),N.forEachIdentityChange(S=>{this._viewContainerRef.get(S.currentIndex).context.$implicit=S.item});const he=this._data.length;let D=this._viewContainerRef.length;for(;D--;){const S=this._viewContainerRef.get(D);S.context.index=this._renderedRange.start+D,S.context.count=he,this._updateComputedContextProperties(S.context)}}_updateComputedContextProperties(N){N.first=0===N.index,N.last=N.index===N.count-1,N.even=N.index%2==0,N.odd=!N.even}_getEmbeddedViewArgs(N,he){return{templateRef:this._template,context:{$implicit:N.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:he}}}return tt.\u0275fac=function(N){return new(N||tt)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(f.ZZ4),f.Y36(te.k),f.Y36(He,4),f.Y36(f.R0b))},tt.\u0275dir=f.lG2({type:tt,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[f._Bn([{provide:te.k,useClass:te.eX}])]}),tt})(),Ve=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275mod=f.oAB({type:tt}),tt.\u0275inj=f.cJS({}),tt})(),Xe=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275mod=f.oAB({type:tt}),tt.\u0275inj=f.cJS({imports:[[Q.vT,H.ud,Ve],Q.vT,Ve]}),tt})()},74533:(Ke,be,d)=>{"use strict";d.d(be,{Lq:()=>h,IC:()=>L,Ky:()=>V});var e=d(70925),f=d(5e3),g=d(63191),T=d(68896),m=d(8929),A=d(23753),s=d(57138),b=d(7625),O=d(69808);const E=(0,e.i$)({passive:!0});let h=(()=>{class ${constructor(ce,Le){this._platform=ce,this._ngZone=Le,this._monitoredElements=new Map}monitor(ce){if(!this._platform.isBrowser)return T.E;const Le=(0,g.fI)(ce),de=this._monitoredElements.get(Le);if(de)return de.subject;const ke=new m.xQ,ae="cdk-text-field-autofilled",j=H=>{"cdk-text-field-autofill-start"!==H.animationName||Le.classList.contains(ae)?"cdk-text-field-autofill-end"===H.animationName&&Le.classList.contains(ae)&&(Le.classList.remove(ae),this._ngZone.run(()=>ke.next({target:H.target,isAutofilled:!1}))):(Le.classList.add(ae),this._ngZone.run(()=>ke.next({target:H.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Le.addEventListener("animationstart",j,E),Le.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Le,{subject:ke,unlisten:()=>{Le.removeEventListener("animationstart",j,E)}}),ke}stopMonitoring(ce){const Le=(0,g.fI)(ce),de=this._monitoredElements.get(Le);de&&(de.unlisten(),de.subject.complete(),Le.classList.remove("cdk-text-field-autofill-monitored"),Le.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Le))}ngOnDestroy(){this._monitoredElements.forEach((ce,Le)=>this.stopMonitoring(Le))}}return $.\u0275fac=function(ce){return new(ce||$)(f.LFG(e.t4),f.LFG(f.R0b))},$.\u0275prov=f.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$})(),L=(()=>{class ${constructor(ce,Le,de,ke){this._elementRef=ce,this._platform=Le,this._ngZone=de,this._destroyed=new m.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=ae=>{this._hasFocus="focus"===ae.type},this._document=ke,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(ce){this._minRows=(0,g.su)(ce),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(ce){this._maxRows=(0,g.su)(ce),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(ce){ce=(0,g.Ig)(ce),this._enabled!==ce&&((this._enabled=ce)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(ce){this._cachedPlaceholderHeight=void 0,ce?this._textareaElement.setAttribute("placeholder",ce):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const ce=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;ce&&(this._textareaElement.style.minHeight=ce)}_setMaxHeight(){const ce=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;ce&&(this._textareaElement.style.maxHeight=ce)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const ce=this._getWindow();(0,A.R)(ce,"resize").pipe((0,s.e)(16),(0,b.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let ce=this._textareaElement.cloneNode(!1);ce.rows=1,ce.style.position="absolute",ce.style.visibility="hidden",ce.style.border="none",ce.style.padding="0",ce.style.height="",ce.style.minHeight="",ce.style.maxHeight="",ce.style.overflow="hidden",this._textareaElement.parentNode.appendChild(ce),this._cachedLineHeight=ce.clientHeight,ce.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const ce=this._textareaElement,Le=ce.style.marginBottom||"",de=this._platform.FIREFOX,ke=de&&this._hasFocus,ae=de?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";ke&&(ce.style.marginBottom=`${ce.clientHeight}px`),ce.classList.add(ae);const j=ce.scrollHeight-4;return ce.classList.remove(ae),ke&&(ce.style.marginBottom=Le),j}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const ce=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=ce}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(ce=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const Le=this._elementRef.nativeElement,de=Le.value;if(!ce&&this._minRows===this._previousMinRows&&de===this._previousValue)return;const ke=this._measureScrollHeight(),ae=Math.max(ke,this._cachedPlaceholderHeight||0);Le.style.height=`${ae}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(Le)):setTimeout(()=>this._scrollToCaretPosition(Le))}),this._previousValue=de,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(ce){const{selectionStart:Le,selectionEnd:de}=ce;!this._destroyed.isStopped&&this._hasFocus&&ce.setSelectionRange(Le,de)}}return $.\u0275fac=function(ce){return new(ce||$)(f.Y36(f.SBq),f.Y36(e.t4),f.Y36(f.R0b),f.Y36(O.K0,8))},$.\u0275dir=f.lG2({type:$,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(ce,Le){1&ce&&f.NdJ("input",function(){return Le._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),$})(),V=(()=>{class ${}return $.\u0275fac=function(ce){return new(ce||$)},$.\u0275mod=f.oAB({type:$}),$.\u0275inj=f.cJS({imports:[[e.ud]]}),$})()},28258:(Ke,be,d)=>{"use strict";d.d(be,{HI:()=>$,Xx:()=>Ne,_0:()=>Q,nZ:()=>me,Hs:()=>te,rO:()=>Le,cu:()=>ue,XJ:()=>ne,Ud:()=>Me,C2:()=>L,VY:()=>V});var e=d(20449),f=d(54715),g=d(8929),T=d(591),m=d(21086),A=d(72986),s=d(92198),b=d(7625),O=d(5e3),E=d(63191),h=d(50226);class k{constructor(){this.expansionModel=new e.Ov(!0)}toggle(ee){this.expansionModel.toggle(this._trackByValue(ee))}expand(ee){this.expansionModel.select(this._trackByValue(ee))}collapse(ee){this.expansionModel.deselect(this._trackByValue(ee))}isExpanded(ee){return this.expansionModel.isSelected(this._trackByValue(ee))}toggleDescendants(ee){this.expansionModel.isSelected(this._trackByValue(ee))?this.collapseDescendants(ee):this.expandDescendants(ee)}collapseAll(){this.expansionModel.clear()}expandDescendants(ee){let R=[ee];R.push(...this.getDescendants(ee)),this.expansionModel.select(...R.map(Oe=>this._trackByValue(Oe)))}collapseDescendants(ee){let R=[ee];R.push(...this.getDescendants(ee)),this.expansionModel.deselect(...R.map(Oe=>this._trackByValue(Oe)))}_trackByValue(ee){return this.trackBy?this.trackBy(ee):ee}}class L extends k{constructor(ee,R,Oe){super(),this.getLevel=ee,this.isExpandable=R,this.options=Oe,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(ee){const Oe=[];for(let Ie=this.dataNodes.indexOf(ee)+1;Iethis._trackByValue(ee)))}}class V extends k{constructor(ee,R){super(),this.getChildren=ee,this.options=R,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const ee=this.dataNodes.reduce((R,Oe)=>[...R,...this.getDescendants(Oe),Oe],[]);this.expansionModel.select(...ee.map(R=>this._trackByValue(R)))}getDescendants(ee){const R=[];return this._getDescendants(R,ee),R.splice(1)}_getDescendants(ee,R){ee.push(R);const Oe=this.getChildren(R);Array.isArray(Oe)?Oe.forEach(Ie=>this._getDescendants(ee,Ie)):(0,f.b)(Oe)&&Oe.pipe((0,A.q)(1),(0,s.h)(Boolean)).subscribe(Ie=>{for(const He of Ie)this._getDescendants(ee,He)})}}const $=new O.OlP("CDK_TREE_NODE_OUTLET_NODE");let ue=(()=>{class Te{constructor(R,Oe){this.viewContainer=R,this._node=Oe}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.s_b),O.Y36($,8))},Te.\u0275dir=O.lG2({type:Te,selectors:[["","cdkTreeNodeOutlet",""]]}),Te})();class ce{constructor(ee){this.$implicit=ee}}let Le=(()=>{class Te{constructor(R){this.template=R}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.Rgc))},Te.\u0275dir=O.lG2({type:Te,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),Te})(),Q=(()=>{class Te{constructor(R,Oe){this._differs=R,this._changeDetectorRef=Oe,this._onDestroy=new g.xQ,this._levels=new Map,this.viewChange=new T.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(R){this._dataSource!==R&&this._switchDataSource(R)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const R=this._nodeDefs.filter(Oe=>!Oe.when);this._defaultNodeDef=R[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(R){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),R||this._nodeOutlet.viewContainer.clear(),this._dataSource=R,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let R;(0,e.Z9)(this._dataSource)?R=this._dataSource.connect(this):(0,f.b)(this._dataSource)?R=this._dataSource:Array.isArray(this._dataSource)&&(R=(0,m.of)(this._dataSource)),R&&(this._dataSubscription=R.pipe((0,b.R)(this._onDestroy)).subscribe(Oe=>this.renderNodeChanges(Oe)))}renderNodeChanges(R,Oe=this._dataDiffer,Ie=this._nodeOutlet.viewContainer,He){const fe=Oe.diff(R);!fe||(fe.forEachOperation((Ce,Ve,Xe)=>{if(null==Ce.previousIndex)this.insertNode(R[Xe],Xe,Ie,He);else if(null==Xe)Ie.remove(Ve),this._levels.delete(Ce.item);else{const tt=Ie.get(Ve);Ie.move(tt,Xe)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(R,Oe){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(He=>He.when&&He.when(Oe,R))||this._defaultNodeDef}insertNode(R,Oe,Ie,He){const fe=this._getNodeDef(R,Oe),Ce=new ce(R);Ce.level=this.treeControl.getLevel?this.treeControl.getLevel(R):void 0!==He&&this._levels.has(He)?this._levels.get(He)+1:0,this._levels.set(R,Ce.level),(Ie||this._nodeOutlet.viewContainer).createEmbeddedView(fe.template,Ce,Oe),te.mostRecentTreeNode&&(te.mostRecentTreeNode.data=R)}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.ZZ4),O.Y36(O.sBO))},Te.\u0275cmp=O.Xpm({type:Te,selectors:[["cdk-tree"]],contentQueries:function(R,Oe,Ie){if(1&R&&O.Suo(Ie,Le,5),2&R){let He;O.iGM(He=O.CRH())&&(Oe._nodeDefs=He)}},viewQuery:function(R,Oe){if(1&R&&O.Gf(ue,7),2&R){let Ie;O.iGM(Ie=O.CRH())&&(Oe._nodeOutlet=Ie.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(R,Oe){1&R&&O.GkF(0,0)},directives:[ue],encapsulation:2}),Te})(),te=(()=>{class Te{constructor(R,Oe){this._elementRef=R,this._tree=Oe,this._destroyed=new g.xQ,this._dataChanges=new g.xQ,Te.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(R){this._elementRef.nativeElement.setAttribute("role",R)}get data(){return this._data}set data(R){R!==this._data&&(this._data=R,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function se(Te){let ee=Te.parentElement;for(;ee&&!ge(ee);)ee=ee.parentElement;return ee?ee.classList.contains("cdk-nested-tree-node")?(0,E.su)(ee.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){Te.mostRecentTreeNode===this&&(Te.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return Te.mostRecentTreeNode=null,Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.SBq),O.Y36(Q))},Te.\u0275dir=O.lG2({type:Te,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(R,Oe){2&R&&O.uIk("aria-expanded",Oe.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),Te})();function ge(Te){const ee=Te.classList;return!(!(null==ee?void 0:ee.contains("cdk-nested-tree-node"))&&!(null==ee?void 0:ee.contains("cdk-tree")))}let Ne=(()=>{class Te extends te{constructor(R,Oe,Ie){super(R,Oe),this._differs=Ie}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const R=this._tree.treeControl.getChildren(this.data);Array.isArray(R)?this.updateChildrenNodes(R):(0,f.b)(R)&&R.pipe((0,b.R)(this._destroyed)).subscribe(Oe=>this.updateChildrenNodes(Oe)),this.nodeOutlet.changes.pipe((0,b.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(R){const Oe=this._getNodeOutlet();R&&(this._children=R),Oe&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,Oe.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const R=this._getNodeOutlet();R&&(R.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const R=this.nodeOutlet;return R&&R.find(Oe=>!Oe._node||Oe._node===this)}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.SBq),O.Y36(Q),O.Y36(O.ZZ4))},Te.\u0275dir=O.lG2({type:Te,selectors:[["cdk-nested-tree-node"]],contentQueries:function(R,Oe,Ie){if(1&R&&O.Suo(Ie,ue,5),2&R){let He;O.iGM(He=O.CRH())&&(Oe.nodeOutlet=He)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[O._Bn([{provide:te,useExisting:Te},{provide:$,useExisting:Te}]),O.qOj]}),Te})();const Fe=/([A-Za-z%]+)$/;let ne=(()=>{class Te{constructor(R,Oe,Ie,He){this._treeNode=R,this._tree=Oe,this._element=Ie,this._dir=He,this._destroyed=new g.xQ,this.indentUnits="px",this._indent=40,this._setPadding(),He&&He.change.pipe((0,b.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),R._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(R){this._setLevelInput(R)}get indent(){return this._indent}set indent(R){this._setIndentInput(R)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const R=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,Oe=null==this._level?R:this._level;return"number"==typeof Oe?`${Oe*this._indent}${this.indentUnits}`:null}_setPadding(R=!1){const Oe=this._paddingIndent();if(Oe!==this._currentPadding||R){const Ie=this._element.nativeElement,He=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",fe="paddingLeft"===He?"paddingRight":"paddingLeft";Ie.style[He]=Oe||"",Ie.style[fe]="",this._currentPadding=Oe}}_setLevelInput(R){this._level=(0,E.su)(R,null),this._setPadding()}_setIndentInput(R){let Oe=R,Ie="px";if("string"==typeof R){const He=R.split(Fe);Oe=He[0],Ie=He[1]||Ie}this.indentUnits=Ie,this._indent=(0,E.su)(Oe),this._setPadding()}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(te),O.Y36(Q),O.Y36(O.SBq),O.Y36(h.Is,8))},Te.\u0275dir=O.lG2({type:Te,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),Te})(),Me=(()=>{class Te{constructor(R,Oe){this._tree=R,this._treeNode=Oe,this._recursive=!1}get recursive(){return this._recursive}set recursive(R){this._recursive=(0,E.Ig)(R)}_toggle(R){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),R.stopPropagation()}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(Q),O.Y36(te))},Te.\u0275dir=O.lG2({type:Te,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(R,Oe){1&R&&O.NdJ("click",function(He){return Oe._toggle(He)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),Te})(),me=(()=>{class Te{}return Te.\u0275fac=function(R){return new(R||Te)},Te.\u0275mod=O.oAB({type:Te}),Te.\u0275inj=O.cJS({}),Te})()},69808:(Ke,be,d)=>{"use strict";d.d(be,{mr:()=>de,Ov:()=>In,ez:()=>Hn,K0:()=>s,uU:()=>Gn,Do:()=>ae,V_:()=>E,Ye:()=>j,S$:()=>ce,i8:()=>Wi,mk:()=>bi,sg:()=>Ni,O5:()=>Pi,PC:()=>we,RF:()=>sn,n9:()=>qi,ED:()=>Ct,tP:()=>ct,b0:()=>ke,lw:()=>b,gd:()=>kn,EM:()=>ot,JF:()=>ft,p6:()=>Nt,NF:()=>_n,PM:()=>es,w_:()=>A,bD:()=>hs,q:()=>g,Mx:()=>Ri,HT:()=>m});var e=d(5e3);let f=null;function g(){return f}function m(q){f||(f=q)}class A{}const s=new e.OlP("DocumentToken");let b=(()=>{class q{historyGo(ie){throw new Error("Not implemented")}}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275prov=e.Yz7({token:q,factory:function(){return function O(){return(0,e.LFG)(h)}()},providedIn:"platform"}),q})();const E=new e.OlP("Location Initialized");let h=(()=>{class q extends b{constructor(ie){super(),this._doc=ie,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(ie){const Ge=g().getGlobalEventTarget(this._doc,"window");return Ge.addEventListener("popstate",ie,!1),()=>Ge.removeEventListener("popstate",ie)}onHashChange(ie){const Ge=g().getGlobalEventTarget(this._doc,"window");return Ge.addEventListener("hashchange",ie,!1),()=>Ge.removeEventListener("hashchange",ie)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(ie){this.location.pathname=ie}pushState(ie,Ge,bt){k()?this._history.pushState(ie,Ge,bt):this.location.hash=bt}replaceState(ie,Ge,bt){k()?this._history.replaceState(ie,Ge,bt):this.location.hash=bt}forward(){this._history.forward()}back(){this._history.back()}historyGo(ie=0){this._history.go(ie)}getState(){return this._history.state}}return q.\u0275fac=function(ie){return new(ie||q)(e.LFG(s))},q.\u0275prov=e.Yz7({token:q,factory:function(){return function L(){return new h((0,e.LFG)(s))}()},providedIn:"platform"}),q})();function k(){return!!window.history.pushState}function V(q,De){if(0==q.length)return De;if(0==De.length)return q;let ie=0;return q.endsWith("/")&&ie++,De.startsWith("/")&&ie++,2==ie?q+De.substring(1):1==ie?q+De:q+"/"+De}function $(q){const De=q.match(/#|\?|$/),ie=De&&De.index||q.length;return q.slice(0,ie-("/"===q[ie-1]?1:0))+q.slice(ie)}function ue(q){return q&&"?"!==q[0]?"?"+q:q}let ce=(()=>{class q{historyGo(ie){throw new Error("Not implemented")}}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275prov=e.Yz7({token:q,factory:function(){return function Le(q){const De=(0,e.LFG)(s).location;return new ke((0,e.LFG)(b),De&&De.origin||"")}()},providedIn:"root"}),q})();const de=new e.OlP("appBaseHref");let ke=(()=>{class q extends ce{constructor(ie,Ge){if(super(),this._platformLocation=ie,this._removeListenerFns=[],null==Ge&&(Ge=this._platformLocation.getBaseHrefFromDOM()),null==Ge)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=Ge}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ie){this._removeListenerFns.push(this._platformLocation.onPopState(ie),this._platformLocation.onHashChange(ie))}getBaseHref(){return this._baseHref}prepareExternalUrl(ie){return V(this._baseHref,ie)}path(ie=!1){const Ge=this._platformLocation.pathname+ue(this._platformLocation.search),bt=this._platformLocation.hash;return bt&&ie?`${Ge}${bt}`:Ge}pushState(ie,Ge,bt,Ft){const jt=this.prepareExternalUrl(bt+ue(Ft));this._platformLocation.pushState(ie,Ge,jt)}replaceState(ie,Ge,bt,Ft){const jt=this.prepareExternalUrl(bt+ue(Ft));this._platformLocation.replaceState(ie,Ge,jt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(ie=0){var Ge,bt;null===(bt=(Ge=this._platformLocation).historyGo)||void 0===bt||bt.call(Ge,ie)}}return q.\u0275fac=function(ie){return new(ie||q)(e.LFG(b),e.LFG(de,8))},q.\u0275prov=e.Yz7({token:q,factory:q.\u0275fac}),q})(),ae=(()=>{class q extends ce{constructor(ie,Ge){super(),this._platformLocation=ie,this._baseHref="",this._removeListenerFns=[],null!=Ge&&(this._baseHref=Ge)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ie){this._removeListenerFns.push(this._platformLocation.onPopState(ie),this._platformLocation.onHashChange(ie))}getBaseHref(){return this._baseHref}path(ie=!1){let Ge=this._platformLocation.hash;return null==Ge&&(Ge="#"),Ge.length>0?Ge.substring(1):Ge}prepareExternalUrl(ie){const Ge=V(this._baseHref,ie);return Ge.length>0?"#"+Ge:Ge}pushState(ie,Ge,bt,Ft){let jt=this.prepareExternalUrl(bt+ue(Ft));0==jt.length&&(jt=this._platformLocation.pathname),this._platformLocation.pushState(ie,Ge,jt)}replaceState(ie,Ge,bt,Ft){let jt=this.prepareExternalUrl(bt+ue(Ft));0==jt.length&&(jt=this._platformLocation.pathname),this._platformLocation.replaceState(ie,Ge,jt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(ie=0){var Ge,bt;null===(bt=(Ge=this._platformLocation).historyGo)||void 0===bt||bt.call(Ge,ie)}}return q.\u0275fac=function(ie){return new(ie||q)(e.LFG(b),e.LFG(de,8))},q.\u0275prov=e.Yz7({token:q,factory:q.\u0275fac}),q})(),j=(()=>{class q{constructor(ie,Ge){this._subject=new e.vpe,this._urlChangeListeners=[],this._platformStrategy=ie;const bt=this._platformStrategy.getBaseHref();this._platformLocation=Ge,this._baseHref=$(te(bt)),this._platformStrategy.onPopState(Ft=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ft.state,type:Ft.type})})}path(ie=!1){return this.normalize(this._platformStrategy.path(ie))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(ie,Ge=""){return this.path()==this.normalize(ie+ue(Ge))}normalize(ie){return q.stripTrailingSlash(function Q(q,De){return q&&De.startsWith(q)?De.substring(q.length):De}(this._baseHref,te(ie)))}prepareExternalUrl(ie){return ie&&"/"!==ie[0]&&(ie="/"+ie),this._platformStrategy.prepareExternalUrl(ie)}go(ie,Ge="",bt=null){this._platformStrategy.pushState(bt,"",ie,Ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(ie+ue(Ge)),bt)}replaceState(ie,Ge="",bt=null){this._platformStrategy.replaceState(bt,"",ie,Ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(ie+ue(Ge)),bt)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(ie=0){var Ge,bt;null===(bt=(Ge=this._platformStrategy).historyGo)||void 0===bt||bt.call(Ge,ie)}onUrlChange(ie){this._urlChangeListeners.push(ie),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Ge=>{this._notifyUrlChangeListeners(Ge.url,Ge.state)}))}_notifyUrlChangeListeners(ie="",Ge){this._urlChangeListeners.forEach(bt=>bt(ie,Ge))}subscribe(ie,Ge,bt){return this._subject.subscribe({next:ie,error:Ge,complete:bt})}}return q.normalizeQueryParams=ue,q.joinWithSlash=V,q.stripTrailingSlash=$,q.\u0275fac=function(ie){return new(ie||q)(e.LFG(ce),e.LFG(b))},q.\u0275prov=e.Yz7({token:q,factory:function(){return function H(){return new j((0,e.LFG)(ce),(0,e.LFG)(b))}()},providedIn:"root"}),q})();function te(q){return q.replace(/\/index.html$/,"")}var Ne=(()=>((Ne=Ne||{})[Ne.Zero=0]="Zero",Ne[Ne.One=1]="One",Ne[Ne.Two=2]="Two",Ne[Ne.Few=3]="Few",Ne[Ne.Many=4]="Many",Ne[Ne.Other=5]="Other",Ne))(),Fe=(()=>((Fe=Fe||{})[Fe.Format=0]="Format",Fe[Fe.Standalone=1]="Standalone",Fe))(),ne=(()=>((ne=ne||{})[ne.Narrow=0]="Narrow",ne[ne.Abbreviated=1]="Abbreviated",ne[ne.Wide=2]="Wide",ne[ne.Short=3]="Short",ne))(),Me=(()=>((Me=Me||{})[Me.Short=0]="Short",Me[Me.Medium=1]="Medium",Me[Me.Long=2]="Long",Me[Me.Full=3]="Full",Me))(),ve=(()=>((ve=ve||{})[ve.Decimal=0]="Decimal",ve[ve.Group=1]="Group",ve[ve.List=2]="List",ve[ve.PercentSign=3]="PercentSign",ve[ve.PlusSign=4]="PlusSign",ve[ve.MinusSign=5]="MinusSign",ve[ve.Exponential=6]="Exponential",ve[ve.SuperscriptingExponent=7]="SuperscriptingExponent",ve[ve.PerMille=8]="PerMille",ve[ve.Infinity=9]="Infinity",ve[ve.NaN=10]="NaN",ve[ve.TimeSeparator=11]="TimeSeparator",ve[ve.CurrencyDecimal=12]="CurrencyDecimal",ve[ve.CurrencyGroup=13]="CurrencyGroup",ve))();function Ce(q,De){return o((0,e.cg1)(q)[e.wAp.DateFormat],De)}function Ve(q,De){return o((0,e.cg1)(q)[e.wAp.TimeFormat],De)}function Xe(q,De){return o((0,e.cg1)(q)[e.wAp.DateTimeFormat],De)}function tt(q,De){const ie=(0,e.cg1)(q),Ge=ie[e.wAp.NumberSymbols][De];if(void 0===Ge){if(De===ve.CurrencyDecimal)return ie[e.wAp.NumberSymbols][ve.Decimal];if(De===ve.CurrencyGroup)return ie[e.wAp.NumberSymbols][ve.Group]}return Ge}const I=e.kL8;function P(q){if(!q[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${q[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function o(q,De){for(let ie=De;ie>-1;ie--)if(void 0!==q[ie])return q[ie];throw new Error("Locale data API: locale data undefined")}function t(q){const[De,ie]=q.split(":");return{hours:+De,minutes:+ie}}const y=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,M={},re=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var et=(()=>((et=et||{})[et.Short=0]="Short",et[et.ShortGMT=1]="ShortGMT",et[et.Long=2]="Long",et[et.Extended=3]="Extended",et))(),yt=(()=>((yt=yt||{})[yt.FullYear=0]="FullYear",yt[yt.Month=1]="Month",yt[yt.Date=2]="Date",yt[yt.Hours=3]="Hours",yt[yt.Minutes=4]="Minutes",yt[yt.Seconds=5]="Seconds",yt[yt.FractionalSeconds=6]="FractionalSeconds",yt[yt.Day=7]="Day",yt))(),pt=(()=>((pt=pt||{})[pt.DayPeriods=0]="DayPeriods",pt[pt.Days=1]="Days",pt[pt.Months=2]="Months",pt[pt.Eras=3]="Eras",pt))();function Nt(q,De,ie,Ge){let bt=function Et(q){if(Ot(q))return q;if("number"==typeof q&&!isNaN(q))return new Date(q);if("string"==typeof q){if(q=q.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(q)){const[bt,Ft=1,jt=1]=q.split("-").map(ii=>+ii);return It(bt,Ft-1,jt)}const ie=parseFloat(q);if(!isNaN(q-ie))return new Date(ie);let Ge;if(Ge=q.match(y))return function At(q){const De=new Date(0);let ie=0,Ge=0;const bt=q[8]?De.setUTCFullYear:De.setFullYear,Ft=q[8]?De.setUTCHours:De.setHours;q[9]&&(ie=Number(q[9]+q[10]),Ge=Number(q[9]+q[11])),bt.call(De,Number(q[1]),Number(q[2])-1,Number(q[3]));const jt=Number(q[4]||0)-ie,ii=Number(q[5]||0)-Ge,ai=Number(q[6]||0),hi=Math.floor(1e3*parseFloat("0."+(q[7]||0)));return Ft.call(De,jt,ii,ai,hi),De}(Ge)}const De=new Date(q);if(!Ot(De))throw new Error(`Unable to convert "${q}" into a date`);return De}(q);De=Zt(ie,De)||De;let ii,jt=[];for(;De;){if(ii=re.exec(De),!ii){jt.push(De);break}{jt=jt.concat(ii.slice(1));const mi=jt.pop();if(!mi)break;De=mi}}let ai=bt.getTimezoneOffset();Ge&&(ai=Ut(Ge,ai),bt=function Dt(q,De,ie){const Ge=ie?-1:1,bt=q.getTimezoneOffset();return function Vt(q,De){return(q=new Date(q.getTime())).setMinutes(q.getMinutes()+De),q}(q,Ge*(Ut(De,bt)-bt))}(bt,Ge,!0));let hi="";return jt.forEach(mi=>{const yi=function wt(q){if(Ue[q])return Ue[q];let De;switch(q){case"G":case"GG":case"GGG":De=ht(pt.Eras,ne.Abbreviated);break;case"GGGG":De=ht(pt.Eras,ne.Wide);break;case"GGGGG":De=ht(pt.Eras,ne.Narrow);break;case"y":De=Je(yt.FullYear,1,0,!1,!0);break;case"yy":De=Je(yt.FullYear,2,0,!0,!0);break;case"yyy":De=Je(yt.FullYear,3,0,!1,!0);break;case"yyyy":De=Je(yt.FullYear,4,0,!1,!0);break;case"Y":De=_e(1);break;case"YY":De=_e(2,!0);break;case"YYY":De=_e(3);break;case"YYYY":De=_e(4);break;case"M":case"L":De=Je(yt.Month,1,1);break;case"MM":case"LL":De=Je(yt.Month,2,1);break;case"MMM":De=ht(pt.Months,ne.Abbreviated);break;case"MMMM":De=ht(pt.Months,ne.Wide);break;case"MMMMM":De=ht(pt.Months,ne.Narrow);break;case"LLL":De=ht(pt.Months,ne.Abbreviated,Fe.Standalone);break;case"LLLL":De=ht(pt.Months,ne.Wide,Fe.Standalone);break;case"LLLLL":De=ht(pt.Months,ne.Narrow,Fe.Standalone);break;case"w":De=X(1);break;case"ww":De=X(2);break;case"W":De=X(1,!0);break;case"d":De=Je(yt.Date,1);break;case"dd":De=Je(yt.Date,2);break;case"c":case"cc":De=Je(yt.Day,1);break;case"ccc":De=ht(pt.Days,ne.Abbreviated,Fe.Standalone);break;case"cccc":De=ht(pt.Days,ne.Wide,Fe.Standalone);break;case"ccccc":De=ht(pt.Days,ne.Narrow,Fe.Standalone);break;case"cccccc":De=ht(pt.Days,ne.Short,Fe.Standalone);break;case"E":case"EE":case"EEE":De=ht(pt.Days,ne.Abbreviated);break;case"EEEE":De=ht(pt.Days,ne.Wide);break;case"EEEEE":De=ht(pt.Days,ne.Narrow);break;case"EEEEEE":De=ht(pt.Days,ne.Short);break;case"a":case"aa":case"aaa":De=ht(pt.DayPeriods,ne.Abbreviated);break;case"aaaa":De=ht(pt.DayPeriods,ne.Wide);break;case"aaaaa":De=ht(pt.DayPeriods,ne.Narrow);break;case"b":case"bb":case"bbb":De=ht(pt.DayPeriods,ne.Abbreviated,Fe.Standalone,!0);break;case"bbbb":De=ht(pt.DayPeriods,ne.Wide,Fe.Standalone,!0);break;case"bbbbb":De=ht(pt.DayPeriods,ne.Narrow,Fe.Standalone,!0);break;case"B":case"BB":case"BBB":De=ht(pt.DayPeriods,ne.Abbreviated,Fe.Format,!0);break;case"BBBB":De=ht(pt.DayPeriods,ne.Wide,Fe.Format,!0);break;case"BBBBB":De=ht(pt.DayPeriods,ne.Narrow,Fe.Format,!0);break;case"h":De=Je(yt.Hours,1,-12);break;case"hh":De=Je(yt.Hours,2,-12);break;case"H":De=Je(yt.Hours,1);break;case"HH":De=Je(yt.Hours,2);break;case"m":De=Je(yt.Minutes,1);break;case"mm":De=Je(yt.Minutes,2);break;case"s":De=Je(yt.Seconds,1);break;case"ss":De=Je(yt.Seconds,2);break;case"S":De=Je(yt.FractionalSeconds,1);break;case"SS":De=Je(yt.FractionalSeconds,2);break;case"SSS":De=Je(yt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":De=qe(et.Short);break;case"ZZZZZ":De=qe(et.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":De=qe(et.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":De=qe(et.Long);break;default:return null}return Ue[q]=De,De}(mi);hi+=yi?yi(bt,ie,ai):"''"===mi?"'":mi.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),hi}function It(q,De,ie){const Ge=new Date(0);return Ge.setFullYear(q,De,ie),Ge.setHours(0,0,0),Ge}function Zt(q,De){const ie=function Te(q){return(0,e.cg1)(q)[e.wAp.LocaleId]}(q);if(M[ie]=M[ie]||{},M[ie][De])return M[ie][De];let Ge="";switch(De){case"shortDate":Ge=Ce(q,Me.Short);break;case"mediumDate":Ge=Ce(q,Me.Medium);break;case"longDate":Ge=Ce(q,Me.Long);break;case"fullDate":Ge=Ce(q,Me.Full);break;case"shortTime":Ge=Ve(q,Me.Short);break;case"mediumTime":Ge=Ve(q,Me.Medium);break;case"longTime":Ge=Ve(q,Me.Long);break;case"fullTime":Ge=Ve(q,Me.Full);break;case"short":const bt=Zt(q,"shortTime"),Ft=Zt(q,"shortDate");Ge=mt(Xe(q,Me.Short),[bt,Ft]);break;case"medium":const jt=Zt(q,"mediumTime"),ii=Zt(q,"mediumDate");Ge=mt(Xe(q,Me.Medium),[jt,ii]);break;case"long":const ai=Zt(q,"longTime"),hi=Zt(q,"longDate");Ge=mt(Xe(q,Me.Long),[ai,hi]);break;case"full":const mi=Zt(q,"fullTime"),yi=Zt(q,"fullDate");Ge=mt(Xe(q,Me.Full),[mi,yi])}return Ge&&(M[ie][De]=Ge),Ge}function mt(q,De){return De&&(q=q.replace(/\{([^}]+)}/g,function(ie,Ge){return null!=De&&Ge in De?De[Ge]:ie})),q}function Ht(q,De,ie="-",Ge,bt){let Ft="";(q<0||bt&&q<=0)&&(bt?q=1-q:(q=-q,Ft=ie));let jt=String(q);for(;jt.length0||ii>-ie)&&(ii+=ie),q===yt.Hours)0===ii&&-12===ie&&(ii=12);else if(q===yt.FractionalSeconds)return function _t(q,De){return Ht(q,3).substr(0,De)}(ii,De);const ai=tt(jt,ve.MinusSign);return Ht(ii,De,ai,Ge,bt)}}function ht(q,De,ie=Fe.Format,Ge=!1){return function(bt,Ft){return function Rt(q,De,ie,Ge,bt,Ft){switch(ie){case pt.Months:return function Oe(q,De,ie){const Ge=(0,e.cg1)(q),Ft=o([Ge[e.wAp.MonthsFormat],Ge[e.wAp.MonthsStandalone]],De);return o(Ft,ie)}(De,bt,Ge)[q.getMonth()];case pt.Days:return function R(q,De,ie){const Ge=(0,e.cg1)(q),Ft=o([Ge[e.wAp.DaysFormat],Ge[e.wAp.DaysStandalone]],De);return o(Ft,ie)}(De,bt,Ge)[q.getDay()];case pt.DayPeriods:const jt=q.getHours(),ii=q.getMinutes();if(Ft){const hi=function i(q){const De=(0,e.cg1)(q);return P(De),(De[e.wAp.ExtraData][2]||[]).map(Ge=>"string"==typeof Ge?t(Ge):[t(Ge[0]),t(Ge[1])])}(De),mi=function r(q,De,ie){const Ge=(0,e.cg1)(q);P(Ge);const Ft=o([Ge[e.wAp.ExtraData][0],Ge[e.wAp.ExtraData][1]],De)||[];return o(Ft,ie)||[]}(De,bt,Ge),yi=hi.findIndex(xi=>{if(Array.isArray(xi)){const[xe,Ee]=xi,ye=jt>=xe.hours&&ii>=xe.minutes,st=jt0?Math.floor(bt/60):Math.ceil(bt/60);switch(q){case et.Short:return(bt>=0?"+":"")+Ht(jt,2,Ft)+Ht(Math.abs(bt%60),2,Ft);case et.ShortGMT:return"GMT"+(bt>=0?"+":"")+Ht(jt,1,Ft);case et.Long:return"GMT"+(bt>=0?"+":"")+Ht(jt,2,Ft)+":"+Ht(Math.abs(bt%60),2,Ft);case et.Extended:return 0===Ge?"Z":(bt>=0?"+":"")+Ht(jt,2,Ft)+":"+Ht(Math.abs(bt%60),2,Ft);default:throw new Error(`Unknown zone width "${q}"`)}}}function G(q){return It(q.getFullYear(),q.getMonth(),q.getDate()+(4-q.getDay()))}function X(q,De=!1){return function(ie,Ge){let bt;if(De){const Ft=new Date(ie.getFullYear(),ie.getMonth(),1).getDay()-1,jt=ie.getDate();bt=1+Math.floor((jt+Ft)/7)}else{const Ft=G(ie),jt=function Z(q){const De=It(q,0,1).getDay();return It(q,0,1+(De<=4?4:11)-De)}(Ft.getFullYear()),ii=Ft.getTime()-jt.getTime();bt=1+Math.round(ii/6048e5)}return Ht(bt,q,tt(Ge,ve.MinusSign))}}function _e(q,De=!1){return function(ie,Ge){return Ht(G(ie).getFullYear(),q,tt(Ge,ve.MinusSign),De)}}const Ue={};function Ut(q,De){q=q.replace(/:/g,"");const ie=Date.parse("Jan 01, 1970 00:00:00 "+q)/6e4;return isNaN(ie)?De:ie}function Ot(q){return q instanceof Date&&!isNaN(q.valueOf())}class ut{}let ei=(()=>{class q extends ut{constructor(ie){super(),this.locale=ie}getPluralCategory(ie,Ge){switch(I(Ge||this.locale)(ie)){case Ne.Zero:return"zero";case Ne.One:return"one";case Ne.Two:return"two";case Ne.Few:return"few";case Ne.Many:return"many";default:return"other"}}}return q.\u0275fac=function(ie){return new(ie||q)(e.LFG(e.soG))},q.\u0275prov=e.Yz7({token:q,factory:q.\u0275fac}),q})();function Ri(q,De){De=encodeURIComponent(De);for(const ie of q.split(";")){const Ge=ie.indexOf("="),[bt,Ft]=-1==Ge?[ie,""]:[ie.slice(0,Ge),ie.slice(Ge+1)];if(bt.trim()===De)return decodeURIComponent(Ft)}return null}let bi=(()=>{class q{constructor(ie,Ge,bt,Ft){this._iterableDiffers=ie,this._keyValueDiffers=Ge,this._ngEl=bt,this._renderer=Ft,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(ie){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof ie?ie.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(ie){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof ie?ie.split(/\s+/):ie,this._rawClass&&((0,e.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const ie=this._iterableDiffer.diff(this._rawClass);ie&&this._applyIterableChanges(ie)}else if(this._keyValueDiffer){const ie=this._keyValueDiffer.diff(this._rawClass);ie&&this._applyKeyValueChanges(ie)}}_applyKeyValueChanges(ie){ie.forEachAddedItem(Ge=>this._toggleClass(Ge.key,Ge.currentValue)),ie.forEachChangedItem(Ge=>this._toggleClass(Ge.key,Ge.currentValue)),ie.forEachRemovedItem(Ge=>{Ge.previousValue&&this._toggleClass(Ge.key,!1)})}_applyIterableChanges(ie){ie.forEachAddedItem(Ge=>{if("string"!=typeof Ge.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,e.AaK)(Ge.item)}`);this._toggleClass(Ge.item,!0)}),ie.forEachRemovedItem(Ge=>this._toggleClass(Ge.item,!1))}_applyClasses(ie){ie&&(Array.isArray(ie)||ie instanceof Set?ie.forEach(Ge=>this._toggleClass(Ge,!0)):Object.keys(ie).forEach(Ge=>this._toggleClass(Ge,!!ie[Ge])))}_removeClasses(ie){ie&&(Array.isArray(ie)||ie instanceof Set?ie.forEach(Ge=>this._toggleClass(Ge,!1)):Object.keys(ie).forEach(Ge=>this._toggleClass(Ge,!1)))}_toggleClass(ie,Ge){(ie=ie.trim())&&ie.split(/\s+/g).forEach(bt=>{Ge?this._renderer.addClass(this._ngEl.nativeElement,bt):this._renderer.removeClass(this._ngEl.nativeElement,bt)})}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),q})();class Ji{constructor(De,ie,Ge,bt){this.$implicit=De,this.ngForOf=ie,this.index=Ge,this.count=bt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ni=(()=>{class q{constructor(ie,Ge,bt){this._viewContainer=ie,this._template=Ge,this._differs=bt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(ie){this._ngForOf=ie,this._ngForOfDirty=!0}set ngForTrackBy(ie){this._trackByFn=ie}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(ie){ie&&(this._template=ie)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const ie=this._ngForOf;!this._differ&&ie&&(this._differ=this._differs.find(ie).create(this.ngForTrackBy))}if(this._differ){const ie=this._differ.diff(this._ngForOf);ie&&this._applyChanges(ie)}}_applyChanges(ie){const Ge=this._viewContainer;ie.forEachOperation((bt,Ft,jt)=>{if(null==bt.previousIndex)Ge.createEmbeddedView(this._template,new Ji(bt.item,this._ngForOf,-1,-1),null===jt?void 0:jt);else if(null==jt)Ge.remove(null===Ft?void 0:Ft);else if(null!==Ft){const ii=Ge.get(Ft);Ge.move(ii,jt),Hi(ii,bt)}});for(let bt=0,Ft=Ge.length;bt{Hi(Ge.get(bt.currentIndex),bt)})}static ngTemplateContextGuard(ie,Ge){return!0}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),q})();function Hi(q,De){q.context.$implicit=De.item}let Pi=(()=>{class q{constructor(ie,Ge){this._viewContainer=ie,this._context=new Ti,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ge}set ngIf(ie){this._context.$implicit=this._context.ngIf=ie,this._updateView()}set ngIfThen(ie){Ui("ngIfThen",ie),this._thenTemplateRef=ie,this._thenViewRef=null,this._updateView()}set ngIfElse(ie){Ui("ngIfElse",ie),this._elseTemplateRef=ie,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(ie,Ge){return!0}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b),e.Y36(e.Rgc))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),q})();class Ti{constructor(){this.$implicit=null,this.ngIf=null}}function Ui(q,De){if(De&&!De.createEmbeddedView)throw new Error(`${q} must be a TemplateRef, but received '${(0,e.AaK)(De)}'.`)}class fn{constructor(De,ie){this._viewContainerRef=De,this._templateRef=ie,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(De){De&&!this._created?this.create():!De&&this._created&&this.destroy()}}let sn=(()=>{class q{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(ie){this._ngSwitch=ie,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(ie){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(ie)}_matchCase(ie){const Ge=ie==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Ge,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Ge}_updateDefaultCases(ie){if(this._defaultViews&&ie!==this._defaultUsed){this._defaultUsed=ie;for(let Ge=0;Ge{class q{constructor(ie,Ge,bt){this.ngSwitch=bt,bt._addCase(),this._view=new fn(ie,Ge)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(sn,9))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),q})(),Ct=(()=>{class q{constructor(ie,Ge,bt){bt._addDefault(new fn(ie,Ge))}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(sn,9))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngSwitchDefault",""]]}),q})(),we=(()=>{class q{constructor(ie,Ge,bt){this._ngEl=ie,this._differs=Ge,this._renderer=bt,this._ngStyle=null,this._differ=null}set ngStyle(ie){this._ngStyle=ie,!this._differ&&ie&&(this._differ=this._differs.find(ie).create())}ngDoCheck(){if(this._differ){const ie=this._differ.diff(this._ngStyle);ie&&this._applyChanges(ie)}}_setStyle(ie,Ge){const[bt,Ft]=ie.split(".");null!=(Ge=null!=Ge&&Ft?`${Ge}${Ft}`:Ge)?this._renderer.setStyle(this._ngEl.nativeElement,bt,Ge):this._renderer.removeStyle(this._ngEl.nativeElement,bt)}_applyChanges(ie){ie.forEachRemovedItem(Ge=>this._setStyle(Ge.key,null)),ie.forEachAddedItem(Ge=>this._setStyle(Ge.key,Ge.currentValue)),ie.forEachChangedItem(Ge=>this._setStyle(Ge.key,Ge.currentValue))}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),q})(),ct=(()=>{class q{constructor(ie){this._viewContainerRef=ie,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(ie){if(ie.ngTemplateOutlet){const Ge=this._viewContainerRef;this._viewRef&&Ge.remove(Ge.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?Ge.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&ie.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[e.TTD]}),q})();function Jt(q,De){return new e.vHH(2100,"")}class di{createSubscription(De,ie){return De.subscribe({next:ie,error:Ge=>{throw Ge}})}dispose(De){De.unsubscribe()}onDestroy(De){De.unsubscribe()}}class Oi{createSubscription(De,ie){return De.then(ie,Ge=>{throw Ge})}dispose(De){}onDestroy(De){}}const zi=new Oi,mn=new di;let In=(()=>{class q{constructor(ie){this._ref=ie,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(ie){return this._obj?ie!==this._obj?(this._dispose(),this.transform(ie)):this._latestValue:(ie&&this._subscribe(ie),this._latestValue)}_subscribe(ie){this._obj=ie,this._strategy=this._selectStrategy(ie),this._subscription=this._strategy.createSubscription(ie,Ge=>this._updateLatestValue(ie,Ge))}_selectStrategy(ie){if((0,e.QGY)(ie))return zi;if((0,e.F4k)(ie))return mn;throw Jt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(ie,Ge){ie===this._obj&&(this._latestValue=Ge,this._ref.markForCheck())}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.sBO,16))},q.\u0275pipe=e.Yjl({name:"async",type:q,pure:!1}),q})(),Wi=(()=>{class q{transform(ie){if(null==ie)return null;if("string"!=typeof ie)throw Jt();return ie.toLowerCase()}}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275pipe=e.Yjl({name:"lowercase",type:q,pure:!0}),q})(),kn=(()=>{class q{transform(ie){if(null==ie)return null;if("string"!=typeof ie)throw Jt();return ie.toUpperCase()}}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275pipe=e.Yjl({name:"uppercase",type:q,pure:!0}),q})();const Rn=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Gn=(()=>{class q{constructor(ie,Ge){this.locale=ie,this.defaultTimezone=Ge}transform(ie,Ge="mediumDate",bt,Ft){var jt;if(null==ie||""===ie||ie!=ie)return null;try{return Nt(ie,Ge,Ft||this.locale,null!==(jt=null!=bt?bt:this.defaultTimezone)&&void 0!==jt?jt:void 0)}catch(ii){throw Jt()}}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.soG,16),e.Y36(Rn,24))},q.\u0275pipe=e.Yjl({name:"date",type:q,pure:!0}),q})(),Hn=(()=>{class q{}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275mod=e.oAB({type:q}),q.\u0275inj=e.cJS({providers:[{provide:ut,useClass:ei}]}),q})();const hs="browser";function _n(q){return q===hs}function es(q){return"server"===q}let ot=(()=>{class q{}return q.\u0275prov=(0,e.Yz7)({token:q,providedIn:"root",factory:()=>new B((0,e.LFG)(s),window)}),q})();class B{constructor(De,ie){this.document=De,this.window=ie,this.offset=()=>[0,0]}setOffset(De){this.offset=Array.isArray(De)?()=>De:De}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(De){this.supportsScrolling()&&this.window.scrollTo(De[0],De[1])}scrollToAnchor(De){if(!this.supportsScrolling())return;const ie=function Se(q,De){const ie=q.getElementById(De)||q.getElementsByName(De)[0];if(ie)return ie;if("function"==typeof q.createTreeWalker&&q.body&&(q.body.createShadowRoot||q.body.attachShadow)){const Ge=q.createTreeWalker(q.body,NodeFilter.SHOW_ELEMENT);let bt=Ge.currentNode;for(;bt;){const Ft=bt.shadowRoot;if(Ft){const jt=Ft.getElementById(De)||Ft.querySelector(`[name="${De}"]`);if(jt)return jt}bt=Ge.nextNode()}}return null}(this.document,De);ie&&(this.scrollToElement(ie),ie.focus())}setHistoryScrollRestoration(De){if(this.supportScrollRestoration()){const ie=this.window.history;ie&&ie.scrollRestoration&&(ie.scrollRestoration=De)}}scrollToElement(De){const ie=De.getBoundingClientRect(),Ge=ie.left+this.window.pageXOffset,bt=ie.top+this.window.pageYOffset,Ft=this.offset();this.window.scrollTo(Ge-Ft[0],bt-Ft[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const De=U(this.window.history)||U(Object.getPrototypeOf(this.window.history));return!(!De||!De.writable&&!De.set)}catch(De){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(De){return!1}}}function U(q){return Object.getOwnPropertyDescriptor(q,"scrollRestoration")}class ft{}},40520:(Ke,be,d)=>{"use strict";d.d(be,{TP:()=>Te,eN:()=>ve,JF:()=>o,WM:()=>E,LE:()=>ce,Zn:()=>Fe});var e=d(69808),f=d(5e3),g=d(21086),T=d(32916),m=d(21406),A=d(92198),s=d(24850);class b{}class O{}class E{constructor(u){this.normalizedNames=new Map,this.lazyUpdate=null,u?this.lazyInit="string"==typeof u?()=>{this.headers=new Map,u.split("\n").forEach(y=>{const M=y.indexOf(":");if(M>0){const re=y.slice(0,M),et=re.toLowerCase(),yt=y.slice(M+1).trim();this.maybeSetNormalizedName(re,et),this.headers.has(et)?this.headers.get(et).push(yt):this.headers.set(et,[yt])}})}:()=>{this.headers=new Map,Object.keys(u).forEach(y=>{let M=u[y];const re=y.toLowerCase();"string"==typeof M&&(M=[M]),M.length>0&&(this.headers.set(re,M),this.maybeSetNormalizedName(y,re))})}:this.headers=new Map}has(u){return this.init(),this.headers.has(u.toLowerCase())}get(u){this.init();const y=this.headers.get(u.toLowerCase());return y&&y.length>0?y[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(u){return this.init(),this.headers.get(u.toLowerCase())||null}append(u,y){return this.clone({name:u,value:y,op:"a"})}set(u,y){return this.clone({name:u,value:y,op:"s"})}delete(u,y){return this.clone({name:u,value:y,op:"d"})}maybeSetNormalizedName(u,y){this.normalizedNames.has(y)||this.normalizedNames.set(y,u)}init(){this.lazyInit&&(this.lazyInit instanceof E?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(u=>this.applyUpdate(u)),this.lazyUpdate=null))}copyFrom(u){u.init(),Array.from(u.headers.keys()).forEach(y=>{this.headers.set(y,u.headers.get(y)),this.normalizedNames.set(y,u.normalizedNames.get(y))})}clone(u){const y=new E;return y.lazyInit=this.lazyInit&&this.lazyInit instanceof E?this.lazyInit:this,y.lazyUpdate=(this.lazyUpdate||[]).concat([u]),y}applyUpdate(u){const y=u.name.toLowerCase();switch(u.op){case"a":case"s":let M=u.value;if("string"==typeof M&&(M=[M]),0===M.length)return;this.maybeSetNormalizedName(u.name,y);const re=("a"===u.op?this.headers.get(y):void 0)||[];re.push(...M),this.headers.set(y,re);break;case"d":const et=u.value;if(et){let yt=this.headers.get(y);if(!yt)return;yt=yt.filter(pt=>-1===et.indexOf(pt)),0===yt.length?(this.headers.delete(y),this.normalizedNames.delete(y)):this.headers.set(y,yt)}else this.headers.delete(y),this.normalizedNames.delete(y)}}forEach(u){this.init(),Array.from(this.normalizedNames.keys()).forEach(y=>u(this.normalizedNames.get(y),this.headers.get(y)))}}class h{encodeKey(u){return $(u)}encodeValue(u){return $(u)}decodeKey(u){return decodeURIComponent(u)}decodeValue(u){return decodeURIComponent(u)}}const L=/%(\d[a-f0-9])/gi,V={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function $(c){return encodeURIComponent(c).replace(L,(u,y)=>{var M;return null!==(M=V[y])&&void 0!==M?M:u})}function ue(c){return`${c}`}class ce{constructor(u={}){if(this.updates=null,this.cloneFrom=null,this.encoder=u.encoder||new h,u.fromString){if(u.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function k(c,u){const y=new Map;return c.length>0&&c.replace(/^\?/,"").split("&").forEach(re=>{const et=re.indexOf("="),[yt,pt]=-1==et?[u.decodeKey(re),""]:[u.decodeKey(re.slice(0,et)),u.decodeValue(re.slice(et+1))],Nt=y.get(yt)||[];Nt.push(pt),y.set(yt,Nt)}),y}(u.fromString,this.encoder)}else u.fromObject?(this.map=new Map,Object.keys(u.fromObject).forEach(y=>{const M=u.fromObject[y];this.map.set(y,Array.isArray(M)?M:[M])})):this.map=null}has(u){return this.init(),this.map.has(u)}get(u){this.init();const y=this.map.get(u);return y?y[0]:null}getAll(u){return this.init(),this.map.get(u)||null}keys(){return this.init(),Array.from(this.map.keys())}append(u,y){return this.clone({param:u,value:y,op:"a"})}appendAll(u){const y=[];return Object.keys(u).forEach(M=>{const re=u[M];Array.isArray(re)?re.forEach(et=>{y.push({param:M,value:et,op:"a"})}):y.push({param:M,value:re,op:"a"})}),this.clone(y)}set(u,y){return this.clone({param:u,value:y,op:"s"})}delete(u,y){return this.clone({param:u,value:y,op:"d"})}toString(){return this.init(),this.keys().map(u=>{const y=this.encoder.encodeKey(u);return this.map.get(u).map(M=>y+"="+this.encoder.encodeValue(M)).join("&")}).filter(u=>""!==u).join("&")}clone(u){const y=new ce({encoder:this.encoder});return y.cloneFrom=this.cloneFrom||this,y.updates=(this.updates||[]).concat(u),y}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(u=>this.map.set(u,this.cloneFrom.map.get(u))),this.updates.forEach(u=>{switch(u.op){case"a":case"s":const y=("a"===u.op?this.map.get(u.param):void 0)||[];y.push(ue(u.value)),this.map.set(u.param,y);break;case"d":if(void 0===u.value){this.map.delete(u.param);break}{let M=this.map.get(u.param)||[];const re=M.indexOf(ue(u.value));-1!==re&&M.splice(re,1),M.length>0?this.map.set(u.param,M):this.map.delete(u.param)}}}),this.cloneFrom=this.updates=null)}}class de{constructor(){this.map=new Map}set(u,y){return this.map.set(u,y),this}get(u){return this.map.has(u)||this.map.set(u,u.defaultValue()),this.map.get(u)}delete(u){return this.map.delete(u),this}has(u){return this.map.has(u)}keys(){return this.map.keys()}}function ae(c){return"undefined"!=typeof ArrayBuffer&&c instanceof ArrayBuffer}function j(c){return"undefined"!=typeof Blob&&c instanceof Blob}function H(c){return"undefined"!=typeof FormData&&c instanceof FormData}class te{constructor(u,y,M,re){let et;if(this.url=y,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=u.toUpperCase(),function ke(c){switch(c){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||re?(this.body=void 0!==M?M:null,et=re):et=M,et&&(this.reportProgress=!!et.reportProgress,this.withCredentials=!!et.withCredentials,et.responseType&&(this.responseType=et.responseType),et.headers&&(this.headers=et.headers),et.context&&(this.context=et.context),et.params&&(this.params=et.params)),this.headers||(this.headers=new E),this.context||(this.context=new de),this.params){const yt=this.params.toString();if(0===yt.length)this.urlWithParams=y;else{const pt=y.indexOf("?");this.urlWithParams=y+(-1===pt?"?":ptHt.set(_t,u.setHeaders[_t]),It)),u.setParams&&(Zt=Object.keys(u.setParams).reduce((Ht,_t)=>Ht.set(_t,u.setParams[_t]),Zt)),new te(M,re,yt,{params:Zt,headers:It,context:mt,reportProgress:Nt,responseType:et,withCredentials:pt})}}var se=(()=>((se=se||{})[se.Sent=0]="Sent",se[se.UploadProgress=1]="UploadProgress",se[se.ResponseHeader=2]="ResponseHeader",se[se.DownloadProgress=3]="DownloadProgress",se[se.Response=4]="Response",se[se.User=5]="User",se))();class ge{constructor(u,y=200,M="OK"){this.headers=u.headers||new E,this.status=void 0!==u.status?u.status:y,this.statusText=u.statusText||M,this.url=u.url||null,this.ok=this.status>=200&&this.status<300}}class Ne extends ge{constructor(u={}){super(u),this.type=se.ResponseHeader}clone(u={}){return new Ne({headers:u.headers||this.headers,status:void 0!==u.status?u.status:this.status,statusText:u.statusText||this.statusText,url:u.url||this.url||void 0})}}class Fe extends ge{constructor(u={}){super(u),this.type=se.Response,this.body=void 0!==u.body?u.body:null}clone(u={}){return new Fe({body:void 0!==u.body?u.body:this.body,headers:u.headers||this.headers,status:void 0!==u.status?u.status:this.status,statusText:u.statusText||this.statusText,url:u.url||this.url||void 0})}}class ne extends ge{constructor(u){super(u,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${u.url||"(unknown url)"}`:`Http failure response for ${u.url||"(unknown url)"}: ${u.status} ${u.statusText}`,this.error=u.error||null}}function Me(c,u){return{body:u,headers:c.headers,context:c.context,observe:c.observe,params:c.params,reportProgress:c.reportProgress,responseType:c.responseType,withCredentials:c.withCredentials}}let ve=(()=>{class c{constructor(y){this.handler=y}request(y,M,re={}){let et;if(y instanceof te)et=y;else{let Nt,It;Nt=re.headers instanceof E?re.headers:new E(re.headers),re.params&&(It=re.params instanceof ce?re.params:new ce({fromObject:re.params})),et=new te(y,M,void 0!==re.body?re.body:null,{headers:Nt,context:re.context,params:It,reportProgress:re.reportProgress,responseType:re.responseType||"json",withCredentials:re.withCredentials})}const yt=(0,g.of)(et).pipe((0,m.b)(Nt=>this.handler.handle(Nt)));if(y instanceof te||"events"===re.observe)return yt;const pt=yt.pipe((0,A.h)(Nt=>Nt instanceof Fe));switch(re.observe||"body"){case"body":switch(et.responseType){case"arraybuffer":return pt.pipe((0,s.U)(Nt=>{if(null!==Nt.body&&!(Nt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Nt.body}));case"blob":return pt.pipe((0,s.U)(Nt=>{if(null!==Nt.body&&!(Nt.body instanceof Blob))throw new Error("Response is not a Blob.");return Nt.body}));case"text":return pt.pipe((0,s.U)(Nt=>{if(null!==Nt.body&&"string"!=typeof Nt.body)throw new Error("Response is not a string.");return Nt.body}));default:return pt.pipe((0,s.U)(Nt=>Nt.body))}case"response":return pt;default:throw new Error(`Unreachable: unhandled observe type ${re.observe}}`)}}delete(y,M={}){return this.request("DELETE",y,M)}get(y,M={}){return this.request("GET",y,M)}head(y,M={}){return this.request("HEAD",y,M)}jsonp(y,M){return this.request("JSONP",y,{params:(new ce).append(M,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(y,M={}){return this.request("OPTIONS",y,M)}patch(y,M,re={}){return this.request("PATCH",y,Me(re,M))}post(y,M,re={}){return this.request("POST",y,Me(re,M))}put(y,M,re={}){return this.request("PUT",y,Me(re,M))}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(b))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})();class me{constructor(u,y){this.next=u,this.interceptor=y}handle(u){return this.interceptor.intercept(u,this.next)}}const Te=new f.OlP("HTTP_INTERCEPTORS");let ee=(()=>{class c{intercept(y,M){return M.handle(y)}}return c.\u0275fac=function(y){return new(y||c)},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})();const Xe=/^\)\]\}',?\n/;let rt=(()=>{class c{constructor(y){this.xhrFactory=y}handle(y){if("JSONP"===y.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new T.y(M=>{const re=this.xhrFactory.build();if(re.open(y.method,y.urlWithParams),y.withCredentials&&(re.withCredentials=!0),y.headers.forEach((_t,Je)=>re.setRequestHeader(_t,Je.join(","))),y.headers.has("Accept")||re.setRequestHeader("Accept","application/json, text/plain, */*"),!y.headers.has("Content-Type")){const _t=y.detectContentTypeHeader();null!==_t&&re.setRequestHeader("Content-Type",_t)}if(y.responseType){const _t=y.responseType.toLowerCase();re.responseType="json"!==_t?_t:"text"}const et=y.serializeBody();let yt=null;const pt=()=>{if(null!==yt)return yt;const _t=re.statusText||"OK",Je=new E(re.getAllResponseHeaders()),Lt=function tt(c){return"responseURL"in c&&c.responseURL?c.responseURL:/^X-Request-URL:/m.test(c.getAllResponseHeaders())?c.getResponseHeader("X-Request-URL"):null}(re)||y.url;return yt=new Ne({headers:Je,status:re.status,statusText:_t,url:Lt}),yt},Nt=()=>{let{headers:_t,status:Je,statusText:Lt,url:ht}=pt(),Rt=null;204!==Je&&(Rt=void 0===re.response?re.responseText:re.response),0===Je&&(Je=Rt?200:0);let qe=Je>=200&&Je<300;if("json"===y.responseType&&"string"==typeof Rt){const Ye=Rt;Rt=Rt.replace(Xe,"");try{Rt=""!==Rt?JSON.parse(Rt):null}catch(oe){Rt=Ye,qe&&(qe=!1,Rt={error:oe,text:Rt})}}qe?(M.next(new Fe({body:Rt,headers:_t,status:Je,statusText:Lt,url:ht||void 0})),M.complete()):M.error(new ne({error:Rt,headers:_t,status:Je,statusText:Lt,url:ht||void 0}))},It=_t=>{const{url:Je}=pt(),Lt=new ne({error:_t,status:re.status||0,statusText:re.statusText||"Unknown Error",url:Je||void 0});M.error(Lt)};let Zt=!1;const mt=_t=>{Zt||(M.next(pt()),Zt=!0);let Je={type:se.DownloadProgress,loaded:_t.loaded};_t.lengthComputable&&(Je.total=_t.total),"text"===y.responseType&&!!re.responseText&&(Je.partialText=re.responseText),M.next(Je)},Ht=_t=>{let Je={type:se.UploadProgress,loaded:_t.loaded};_t.lengthComputable&&(Je.total=_t.total),M.next(Je)};return re.addEventListener("load",Nt),re.addEventListener("error",It),re.addEventListener("timeout",It),re.addEventListener("abort",It),y.reportProgress&&(re.addEventListener("progress",mt),null!==et&&re.upload&&re.upload.addEventListener("progress",Ht)),re.send(et),M.next({type:se.Sent}),()=>{re.removeEventListener("error",It),re.removeEventListener("abort",It),re.removeEventListener("load",Nt),re.removeEventListener("timeout",It),y.reportProgress&&(re.removeEventListener("progress",mt),null!==et&&re.upload&&re.upload.removeEventListener("progress",Ht)),re.readyState!==re.DONE&&re.abort()}})}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(e.JF))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})();const N=new f.OlP("XSRF_COOKIE_NAME"),he=new f.OlP("XSRF_HEADER_NAME");class D{}let S=(()=>{class c{constructor(y,M,re){this.doc=y,this.platform=M,this.cookieName=re,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const y=this.doc.cookie||"";return y!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,e.Mx)(y,this.cookieName),this.lastCookieString=y),this.lastToken}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(e.K0),f.LFG(f.Lbi),f.LFG(N))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})(),I=(()=>{class c{constructor(y,M){this.tokenService=y,this.headerName=M}intercept(y,M){const re=y.url.toLowerCase();if("GET"===y.method||"HEAD"===y.method||re.startsWith("http://")||re.startsWith("https://"))return M.handle(y);const et=this.tokenService.getToken();return null!==et&&!y.headers.has(this.headerName)&&(y=y.clone({headers:y.headers.set(this.headerName,et)})),M.handle(y)}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(D),f.LFG(he))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})(),P=(()=>{class c{constructor(y,M){this.backend=y,this.injector=M,this.chain=null}handle(y){if(null===this.chain){const M=this.injector.get(Te,[]);this.chain=M.reduceRight((re,et)=>new me(re,et),this.backend)}return this.chain.handle(y)}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(O),f.LFG(f.zs3))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})(),p=(()=>{class c{static disable(){return{ngModule:c,providers:[{provide:I,useClass:ee}]}}static withOptions(y={}){return{ngModule:c,providers:[y.cookieName?{provide:N,useValue:y.cookieName}:[],y.headerName?{provide:he,useValue:y.headerName}:[]]}}}return c.\u0275fac=function(y){return new(y||c)},c.\u0275mod=f.oAB({type:c}),c.\u0275inj=f.cJS({providers:[I,{provide:Te,useExisting:I,multi:!0},{provide:D,useClass:S},{provide:N,useValue:"XSRF-TOKEN"},{provide:he,useValue:"X-XSRF-TOKEN"}]}),c})(),o=(()=>{class c{}return c.\u0275fac=function(y){return new(y||c)},c.\u0275mod=f.oAB({type:c}),c.\u0275inj=f.cJS({providers:[ve,{provide:b,useClass:P},rt,{provide:O,useExisting:rt}],imports:[[p.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),c})()},5e3:(Ke,be,d)=>{"use strict";d.d(be,{deG:()=>kg,tb:()=>lg,AFp:()=>rg,ip1:()=>Vl,CZH:()=>sr,hGG:()=>ZT,z2F:()=>jr,sBO:()=>AT,Sil:()=>ql,_Vd:()=>Br,EJc:()=>dg,SBq:()=>Fr,qLn:()=>Cr,vpe:()=>qs,tBr:()=>_r,XFs:()=>r,OlP:()=>Cn,zs3:()=>Ms,ZZ4:()=>Ba,aQg:()=>Fa,soG:()=>ka,YKP:()=>ff,h0i:()=>tr,PXZ:()=>dT,R0b:()=>_s,FiY:()=>po,Lbi:()=>cg,g9A:()=>ag,n_E:()=>Ma,Qsj:()=>Qy,FYo:()=>uf,JOm:()=>Gs,q3G:()=>Mn,tp0:()=>Io,Rgc:()=>Zr,dDg:()=>fg,GfV:()=>df,s_b:()=>Ra,ifc:()=>et,eFA:()=>_g,G48:()=>_T,Gpc:()=>h,f3M:()=>qg,_c5:()=>LT,VLi:()=>cT,c2e:()=>ug,zSh:()=>Zc,wAp:()=>Mi,vHH:()=>$,EiD:()=>Uu,mCW:()=>br,qzn:()=>Po,JVY:()=>pm,pB0:()=>_m,eBb:()=>gm,L6k:()=>fm,LAX:()=>mm,cg1:()=>El,kL8:()=>xp,yhl:()=>Pu,dqk:()=>Zt,sIi:()=>Ir,CqO:()=>Kh,QGY:()=>cl,F4k:()=>jh,RDi:()=>U,AaK:()=>b,z3N:()=>Xs,qOj:()=>Yc,TTD:()=>Jn,_Bn:()=>af,xp6:()=>Cd,uIk:()=>$c,Q2q:()=>Jc,Tol:()=>dp,Gre:()=>Cp,ekj:()=>gl,Suo:()=>Ff,Xpm:()=>G,lG2:()=>Et,Yz7:()=>Ce,cJS:()=>Xe,oAB:()=>Ut,Yjl:()=>At,Y36:()=>Or,_UZ:()=>zh,GkF:()=>Zh,BQk:()=>al,ynx:()=>rl,qZA:()=>ol,TgZ:()=>sl,EpF:()=>Gh,n5z:()=>Xr,Ikx:()=>Tl,LFG:()=>Bn,$8M:()=>Ga,$Z:()=>Uh,NdJ:()=>ll,CRH:()=>Hf,kcU:()=>Yn,O4$:()=>rn,oxw:()=>qh,ALo:()=>Df,lcZ:()=>Mf,xi3:()=>If,Dn7:()=>Rf,Hsn:()=>$h,F$t:()=>Wh,Q6J:()=>il,s9C:()=>hl,MGl:()=>ba,hYB:()=>pl,DdM:()=>Af,VKq:()=>bf,WLB:()=>yf,kEZ:()=>vf,iGM:()=>Nf,MAs:()=>Ih,evT:()=>Ju,Jf7:()=>$u,CHM:()=>vi,oJD:()=>zu,LSH:()=>nc,B6R:()=>X,kYT:()=>Vt,Udp:()=>fl,WFA:()=>ul,d8E:()=>Cl,YNc:()=>Mh,W1O:()=>Gf,_uU:()=>Ap,Oqu:()=>_l,hij:()=>va,AsE:()=>Al,lnq:()=>bl,HOy:()=>yl,xDo:()=>vl,Gf:()=>Bf});var e=d(8929),f=d(42654),g=d(32916),T=d(36787),m=d(12474);function A(a){for(let l in a)if(a[l]===A)return l;throw Error("Could not find renamed property on target object.")}function s(a,l){for(const _ in l)l.hasOwnProperty(_)&&!a.hasOwnProperty(_)&&(a[_]=l[_])}function b(a){if("string"==typeof a)return a;if(Array.isArray(a))return"["+a.map(b).join(", ")+"]";if(null==a)return""+a;if(a.overriddenName)return`${a.overriddenName}`;if(a.name)return`${a.name}`;const l=a.toString();if(null==l)return""+l;const _=l.indexOf("\n");return-1===_?l:l.substring(0,_)}function O(a,l){return null==a||""===a?null===l?"":l:null==l||""===l?a:a+" "+l}const E=A({__forward_ref__:A});function h(a){return a.__forward_ref__=h,a.toString=function(){return b(this())},a}function k(a){return L(a)?a():a}function L(a){return"function"==typeof a&&a.hasOwnProperty(E)&&a.__forward_ref__===h}class $ extends Error{constructor(l,_){super(function ue(a,l){return`NG0${Math.abs(a)}${l?": "+l:""}`}(l,_)),this.code=l}}function ce(a){return"string"==typeof a?a:null==a?"":String(a)}function Le(a){return"function"==typeof a?a.name||a.toString():"object"==typeof a&&null!=a&&"function"==typeof a.type?a.type.name||a.type.toString():ce(a)}function j(a,l){const _=l?` in ${l}`:"";throw new $(-201,`No provider for ${Le(a)} found${_}`)}function R(a,l){null==a&&function Oe(a,l,_,v){throw new Error(`ASSERTION ERROR: ${a}`+(null==v?"":` [Expected=> ${_} ${v} ${l} <=Actual]`))}(l,a,null,"!=")}function Ce(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}}function Xe(a){return{providers:a.providers||[],imports:a.imports||[]}}function tt(a){return rt(a,S)||rt(a,P)}function rt(a,l){return a.hasOwnProperty(l)?a[l]:null}function D(a){return a&&(a.hasOwnProperty(I)||a.hasOwnProperty(i))?a[I]:null}const S=A({\u0275prov:A}),I=A({\u0275inj:A}),P=A({ngInjectableDef:A}),i=A({ngInjectorDef:A});var r=(()=>((r=r||{})[r.Default=0]="Default",r[r.Host=1]="Host",r[r.Self=2]="Self",r[r.SkipSelf=4]="SkipSelf",r[r.Optional=8]="Optional",r))();let p;function t(a){const l=p;return p=a,l}function n(a,l,_){const v=tt(a);return v&&"root"==v.providedIn?void 0===v.value?v.value=v.factory():v.value:_&r.Optional?null:void 0!==l?l:void j(b(a),"Injector")}function u(a){return{toString:a}.toString()}var y=(()=>((y=y||{})[y.OnPush=0]="OnPush",y[y.Default=1]="Default",y))(),et=(()=>{return(a=et||(et={}))[a.Emulated=0]="Emulated",a[a.None=2]="None",a[a.ShadowDom=3]="ShadowDom",et;var a})();const yt="undefined"!=typeof globalThis&&globalThis,pt="undefined"!=typeof window&&window,Nt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Zt=yt||"undefined"!=typeof global&&global||pt||Nt,_t={},Je=[],Lt=A({\u0275cmp:A}),ht=A({\u0275dir:A}),Rt=A({\u0275pipe:A}),qe=A({\u0275mod:A}),Ye=A({\u0275fac:A}),oe=A({__NG_ELEMENT_ID__:A});let Z=0;function G(a){return u(()=>{const _={},v={type:a.type,providersResolver:null,decls:a.decls,vars:a.vars,factory:null,template:a.template||null,consts:a.consts||null,ngContentSelectors:a.ngContentSelectors,hostBindings:a.hostBindings||null,hostVars:a.hostVars||0,hostAttrs:a.hostAttrs||null,contentQueries:a.contentQueries||null,declaredInputs:_,inputs:null,outputs:null,exportAs:a.exportAs||null,onPush:a.changeDetection===y.OnPush,directiveDefs:null,pipeDefs:null,selectors:a.selectors||Je,viewQuery:a.viewQuery||null,features:a.features||null,data:a.data||{},encapsulation:a.encapsulation||et.Emulated,id:"c",styles:a.styles||Je,_:null,setInput:null,schemas:a.schemas||null,tView:null},C=a.directives,w=a.features,x=a.pipes;return v.id+=Z++,v.inputs=Dt(a.inputs,_),v.outputs=Dt(a.outputs),w&&w.forEach(J=>J(v)),v.directiveDefs=C?()=>("function"==typeof C?C():C).map(_e):null,v.pipeDefs=x?()=>("function"==typeof x?x():x).map(Ue):null,v})}function X(a,l,_){const v=a.\u0275cmp;v.directiveDefs=()=>l.map(_e),v.pipeDefs=()=>_.map(Ue)}function _e(a){return Ot(a)||function Kt(a){return a[ht]||null}(a)}function Ue(a){return function li(a){return a[Rt]||null}(a)}const wt={};function Ut(a){return u(()=>{const l={type:a.type,bootstrap:a.bootstrap||Je,declarations:a.declarations||Je,imports:a.imports||Je,exports:a.exports||Je,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null};return null!=a.id&&(wt[a.id]=a.type),l})}function Vt(a,l){return u(()=>{const _=fi(a,!0);_.declarations=l.declarations||Je,_.imports=l.imports||Je,_.exports=l.exports||Je})}function Dt(a,l){if(null==a)return _t;const _={};for(const v in a)if(a.hasOwnProperty(v)){let C=a[v],w=C;Array.isArray(C)&&(w=C[1],C=C[0]),_[C]=v,l&&(l[C]=w)}return _}const Et=G;function At(a){return{type:a.type,name:a.name,factory:null,pure:!1!==a.pure,onDestroy:a.type.prototype.ngOnDestroy||null}}function Ot(a){return a[Lt]||null}function fi(a,l){const _=a[qe]||null;if(!_&&!0===l)throw new Error(`Type ${b(a)} does not have '\u0275mod' property.`);return _}function sn(a){return Array.isArray(a)&&"object"==typeof a[1]}function qi(a){return Array.isArray(a)&&!0===a[1]}function Ct(a){return 0!=(8&a.flags)}function $t(a){return 2==(2&a.flags)}function Y(a){return 1==(1&a.flags)}function lt(a){return null!==a.template}function we(a){return 0!=(512&a[2])}function gn(a,l){return a.hasOwnProperty(Ye)?a[Ye]:null}class Fn{constructor(l,_,v){this.previousValue=l,this.currentValue=_,this.firstChange=v}isFirstChange(){return this.firstChange}}function Jn(){return Qn}function Qn(a){return a.type.prototype.ngOnChanges&&(a.setInput=Ln),Xn}function Xn(){const a=hs(this),l=null==a?void 0:a.current;if(l){const _=a.previous;if(_===_t)a.previous=l;else for(let v in l)_[v]=l[v];a.current=null,this.ngOnChanges(l)}}function Ln(a,l,_,v){const C=hs(a)||function jn(a,l){return a[Hn]=l}(a,{previous:_t,current:null}),w=C.current||(C.current={}),x=C.previous,J=this.declaredInputs[_],Ae=x[J];w[J]=new Fn(Ae&&Ae.currentValue,l,x===_t),a[v]=l}Jn.ngInherit=!0;const Hn="__ngSimpleChanges__";function hs(a){return a[Hn]||null}let B;function U(a){B=a}function Se(){return void 0!==B?B:"undefined"!=typeof document?document:void 0}function ft(a){return!!a.listen}const q={createRenderer:(a,l)=>Se()};function ie(a){for(;Array.isArray(a);)a=a[0];return a}function Ft(a,l){return ie(l[a])}function jt(a,l){return ie(l[a.index])}function ai(a,l){return a.data[l]}function hi(a,l){return a[l]}function mi(a,l){const _=l[a];return sn(_)?_:_[0]}function yi(a){return 4==(4&a[2])}function xi(a){return 128==(128&a[2])}function Ee(a,l){return null==l?null:a[l]}function ye(a){a[18]=0}function st(a,l){a[5]+=l;let _=a,v=a[3];for(;null!==v&&(1===l&&1===_[5]||-1===l&&0===_[5]);)v[5]+=l,_=v,v=v[3]}const Bt={lFrame:oi(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Kn(){return Bt.bindingsEnabled}function ti(){return Bt.lFrame.lView}function si(){return Bt.lFrame.tView}function vi(a){return Bt.lFrame.contextLView=a,a[8]}function gi(){let a=Fi();for(;null!==a&&64===a.type;)a=a.parent;return a}function Fi(){return Bt.lFrame.currentTNode}function An(a,l){const _=Bt.lFrame;_.currentTNode=a,_.isParent=l}function Dn(){return Bt.lFrame.isParent}function Vn(){Bt.lFrame.isParent=!1}function rs(){return Bt.isInCheckNoChangesMode}function yn(a){Bt.isInCheckNoChangesMode=a}function hn(){const a=Bt.lFrame;let l=a.bindingRootIndex;return-1===l&&(l=a.bindingRootIndex=a.tView.bindingStartIndex),l}function Tn(){return Bt.lFrame.bindingIndex}function cs(){return Bt.lFrame.bindingIndex++}function ls(a){const l=Bt.lFrame,_=l.bindingIndex;return l.bindingIndex=l.bindingIndex+a,_}function yo(a,l){const _=Bt.lFrame;_.bindingIndex=_.bindingRootIndex=a,le(l)}function le(a){Bt.lFrame.currentDirectiveIndex=a}function $e(a){const l=Bt.lFrame.currentDirectiveIndex;return-1===l?null:a[l]}function Re(){return Bt.lFrame.currentQueryIndex}function at(a){Bt.lFrame.currentQueryIndex=a}function kt(a){const l=a[1];return 2===l.type?l.declTNode:1===l.type?a[6]:null}function Yt(a,l,_){if(_&r.SkipSelf){let C=l,w=a;for(;!(C=C.parent,null!==C||_&r.Host||(C=kt(w),null===C||(w=w[15],10&C.type))););if(null===C)return!1;l=C,a=w}const v=Bt.lFrame=ui();return v.currentTNode=l,v.lView=a,!0}function ni(a){const l=ui(),_=a[1];Bt.lFrame=l,l.currentTNode=_.firstChild,l.lView=a,l.tView=_,l.contextLView=a,l.bindingIndex=_.bindingStartIndex,l.inI18n=!1}function ui(){const a=Bt.lFrame,l=null===a?null:a.child;return null===l?oi(a):l}function oi(a){const l={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:a,child:null,inI18n:!1};return null!==a&&(a.child=l),l}function Di(){const a=Bt.lFrame;return Bt.lFrame=a.parent,a.currentTNode=null,a.lView=null,a}const Zi=Di;function en(){const a=Di();a.isParent=!0,a.tView=null,a.selectedIndex=-1,a.contextLView=null,a.elementDepthCount=0,a.currentDirectiveIndex=-1,a.currentNamespace=null,a.bindingRootIndex=-1,a.bindingIndex=-1,a.currentQueryIndex=0}function Ii(){return Bt.lFrame.selectedIndex}function on(a){Bt.lFrame.selectedIndex=a}function Gi(){const a=Bt.lFrame;return ai(a.tView,a.selectedIndex)}function rn(){Bt.lFrame.currentNamespace="svg"}function Yn(){!function vn(){Bt.lFrame.currentNamespace=null}()}function $s(a,l){for(let _=l.directiveStart,v=l.directiveEnd;_=v)break}else l[Ae]<0&&(a[18]+=65536),(J>11>16&&(3&a[2])===l){a[2]+=2048;try{w.call(J)}finally{}}}else try{w.call(J)}finally{}}class Qs{constructor(l,_,v){this.factory=l,this.resolving=!1,this.canSeeViewProviders=_,this.injectImpl=v}}function Co(a,l,_){const v=ft(a);let C=0;for(;C<_.length;){const w=_[C];if("number"==typeof w){if(0!==w)break;C++;const x=_[C++],J=_[C++],Ae=_[C++];v?a.setAttribute(l,J,Ae,x):l.setAttributeNS(x,J,Ae)}else{const x=w,J=_[++C];cr(x)?v&&a.setProperty(l,x,J):v?a.setAttribute(l,x,J):l.setAttribute(x,J),C++}}return C}function $r(a){return 3===a||4===a||6===a}function cr(a){return 64===a.charCodeAt(0)}function co(a,l){if(null!==l&&0!==l.length)if(null===a||0===a.length)a=l.slice();else{let _=-1;for(let v=0;vl){x=w-1;break}}}for(;w>16}(a),v=l;for(;_>0;)v=v[15],_--;return v}let ur=!0;function lo(a){const l=ur;return ur=a,l}let W=0;function Pe(a,l){const _=dt(a,l);if(-1!==_)return _;const v=l[1];v.firstCreatePass&&(a.injectorIndex=l.length,ze(v.data,a),ze(l,null),ze(v.blueprint,null));const C=St(a,l),w=a.injectorIndex;if(Qr(C)){const x=no(C),J=so(C,l),Ae=J[1].data;for(let je=0;je<8;je++)l[w+je]=J[x+je]|Ae[x+je]}return l[w+8]=C,w}function ze(a,l){a.push(0,0,0,0,0,0,0,0,l)}function dt(a,l){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===l[a.injectorIndex+8]?-1:a.injectorIndex}function St(a,l){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;let _=0,v=null,C=l;for(;null!==C;){const w=C[1],x=w.type;if(v=2===x?w.declTNode:1===x?C[6]:null,null===v)return-1;if(_++,C=C[15],-1!==v.injectorIndex)return v.injectorIndex|_<<16}return-1}function xt(a,l,_){!function z(a,l,_){let v;"string"==typeof _?v=_.charCodeAt(0)||0:_.hasOwnProperty(oe)&&(v=_[oe]),null==v&&(v=_[oe]=W++);const C=255&v;l.data[a+(C>>5)]|=1<=0?255&l:an:l}(_);if("function"==typeof w){if(!Yt(l,a,v))return v&r.Host?_i(C,_,v):ji(l,_,v,C);try{const x=w(v);if(null!=x||v&r.Optional)return x;j(_)}finally{Zi()}}else if("number"==typeof w){let x=null,J=dt(a,l),Ae=-1,je=v&r.Host?l[16][6]:null;for((-1===J||v&r.SkipSelf)&&(Ae=-1===J?St(a,l):l[J+8],-1!==Ae&&Ss(v,!1)?(x=l[1],J=no(Ae),l=so(Ae,l)):J=-1);-1!==J;){const it=l[1];if(ho(w,J,it.data)){const vt=uo(J,l,_,x,v,je);if(vt!==tn)return vt}Ae=l[J+8],-1!==Ae&&Ss(v,l[1].data[J+8]===je)&&ho(w,J,l)?(x=it,J=no(Ae),l=so(Ae,l)):J=-1}}}return ji(l,_,v,C)}const tn={};function an(){return new fs(gi(),ti())}function uo(a,l,_,v,C,w){const x=l[1],J=x.data[a+8],it=ds(J,x,_,null==v?$t(J)&&ur:v!=x&&0!=(3&J.type),C&r.Host&&w===J);return null!==it?ts(l,x,it,J):tn}function ds(a,l,_,v,C){const w=a.providerIndexes,x=l.data,J=1048575&w,Ae=a.directiveStart,it=w>>20,Pt=C?J+it:a.directiveEnd;for(let Gt=v?J:J+it;Gt=Ae&&Wt.type===_)return Gt}if(C){const Gt=x[Ae];if(Gt&<(Gt)&&Gt.type===_)return Ae}return null}function ts(a,l,_,v){let C=a[_];const w=l.data;if(function qr(a){return a instanceof Qs}(C)){const x=C;x.resolving&&function de(a,l){const _=l?`. Dependency path: ${l.join(" > ")} > ${a}`:"";throw new $(-200,`Circular dependency in DI detected for ${a}${_}`)}(Le(w[_]));const J=lo(x.canSeeViewProviders);x.resolving=!0;const Ae=x.injectImpl?t(x.injectImpl):null;Yt(a,v,r.Default);try{C=a[_]=x.factory(void 0,w,a,v),l.firstCreatePass&&_>=v.directiveStart&&function vo(a,l,_){const{ngOnChanges:v,ngOnInit:C,ngDoCheck:w}=l.type.prototype;if(v){const x=Qn(l);(_.preOrderHooks||(_.preOrderHooks=[])).push(a,x),(_.preOrderCheckHooks||(_.preOrderCheckHooks=[])).push(a,x)}C&&(_.preOrderHooks||(_.preOrderHooks=[])).push(0-a,C),w&&((_.preOrderHooks||(_.preOrderHooks=[])).push(a,w),(_.preOrderCheckHooks||(_.preOrderCheckHooks=[])).push(a,w))}(_,w[_],l)}finally{null!==Ae&&t(Ae),lo(J),x.resolving=!1,Zi()}}return C}function ho(a,l,_){return!!(_[l+(a>>5)]&1<{const l=a.prototype.constructor,_=l[Ye]||Za(l),v=Object.prototype;let C=Object.getPrototypeOf(a.prototype).constructor;for(;C&&C!==v;){const w=C[Ye]||Za(C);if(w&&w!==_)return w;C=Object.getPrototypeOf(C)}return w=>new w})}function Za(a){return L(a)?()=>{const l=Za(k(a));return l&&l()}:gn(a)}function Ga(a){return function qt(a,l){if("class"===l)return a.classes;if("style"===l)return a.styles;const _=a.attrs;if(_){const v=_.length;let C=0;for(;C{const v=function ja(a){return function(..._){if(a){const v=a(..._);for(const C in v)this[C]=v[C]}}}(l);function C(...w){if(this instanceof C)return v.apply(this,w),this;const x=new C(...w);return J.annotation=x,J;function J(Ae,je,it){const vt=Ae.hasOwnProperty(wo)?Ae[wo]:Object.defineProperty(Ae,wo,{value:[]})[wo];for(;vt.length<=it;)vt.push(null);return(vt[it]=vt[it]||[]).push(x),Ae}}return _&&(C.prototype=Object.create(_.prototype)),C.prototype.ngMetadataName=a,C.annotationCls=C,C})}class Cn{constructor(l,_){this._desc=l,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof _?this.__NG_ELEMENT_ID__=_:void 0!==_&&(this.\u0275prov=Ce({token:this,providedIn:_.providedIn||"root",factory:_.factory}))}toString(){return`InjectionToken ${this._desc}`}}const kg=new Cn("AnalyzeForEntryComponents");function Ds(a,l){void 0===l&&(l=a);for(let _=0;_Array.isArray(_)?Us(_,l):l(_))}function _u(a,l,_){l>=a.length?a.push(_):a.splice(l,0,_)}function ea(a,l){return l>=a.length-1?a.pop():a.splice(l,1)[0]}function pr(a,l){const _=[];for(let v=0;v=0?a[1|v]=_:(v=~v,function Bg(a,l,_,v){let C=a.length;if(C==l)a.push(_,v);else if(1===C)a.push(v,a[0]),a[0]=_;else{for(C--,a.push(a[C-1],a[C]);C>l;)a[C]=a[C-2],C--;a[l]=_,a[l+1]=v}}(a,v,l,_)),v}function Va(a,l){const _=Mo(a,l);if(_>=0)return a[1|_]}function Mo(a,l){return function yu(a,l,_){let v=0,C=a.length>>_;for(;C!==v;){const w=v+(C-v>>1),x=a[w<<_];if(l===x)return w<<_;x>l?C=w:v=w+1}return~(C<<_)}(a,l,1)}const fr={},qa="__NG_DI_FLAG__",ia="ngTempTokenPath",jg=/\n/gm,Tu="__source",Vg=A({provide:String,useValue:A});let gr;function Cu(a){const l=gr;return gr=a,l}function Yg(a,l=r.Default){if(void 0===gr)throw new $(203,"");return null===gr?n(a,void 0,l):gr.get(a,l&r.Optional?null:void 0,l)}function Bn(a,l=r.Default){return(function o(){return p}()||Yg)(k(a),l)}const qg=Bn;function Wa(a){const l=[];for(let _=0;_({token:a})),-1),po=mr(Do("Optional"),8),Io=mr(Do("SkipSelf"),4);let sa,oa;function Oo(a){var l;return(null===(l=function Ja(){if(void 0===sa&&(sa=null,Zt.trustedTypes))try{sa=Zt.trustedTypes.createPolicy("angular",{createHTML:a=>a,createScript:a=>a,createScriptURL:a=>a})}catch(a){}return sa}())||void 0===l?void 0:l.createHTML(a))||a}function Iu(a){var l;return(null===(l=function Qa(){if(void 0===oa&&(oa=null,Zt.trustedTypes))try{oa=Zt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:a=>a,createScript:a=>a,createScriptURL:a=>a})}catch(a){}return oa}())||void 0===l?void 0:l.createHTML(a))||a}class fo{constructor(l){this.changingThisBreaksApplicationSecurity=l}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class cm extends fo{getTypeName(){return"HTML"}}class lm extends fo{getTypeName(){return"Style"}}class um extends fo{getTypeName(){return"Script"}}class dm extends fo{getTypeName(){return"URL"}}class hm extends fo{getTypeName(){return"ResourceURL"}}function Xs(a){return a instanceof fo?a.changingThisBreaksApplicationSecurity:a}function Po(a,l){const _=Pu(a);if(null!=_&&_!==l){if("ResourceURL"===_&&"URL"===l)return!0;throw new Error(`Required a safe ${l}, got a ${_} (see https://g.co/ng/security#xss)`)}return _===l}function Pu(a){return a instanceof fo&&a.getTypeName()||null}function pm(a){return new cm(a)}function fm(a){return new lm(a)}function gm(a){return new um(a)}function mm(a){return new dm(a)}function _m(a){return new hm(a)}class Am{constructor(l){this.inertDocumentHelper=l}getInertBodyElement(l){l=""+l;try{const _=(new window.DOMParser).parseFromString(Oo(l),"text/html").body;return null===_?this.inertDocumentHelper.getInertBodyElement(l):(_.removeChild(_.firstChild),_)}catch(_){return null}}}class bm{constructor(l){if(this.defaultDoc=l,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const _=this.inertDocument.createElement("html");this.inertDocument.appendChild(_);const v=this.inertDocument.createElement("body");_.appendChild(v)}}getInertBodyElement(l){const _=this.inertDocument.createElement("template");if("content"in _)return _.innerHTML=Oo(l),_;const v=this.inertDocument.createElement("body");return v.innerHTML=Oo(l),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(v),v}stripCustomNsAttrs(l){const _=l.attributes;for(let C=_.length-1;0br(l.trim())).join(", ")),this.buf.push(" ",x,'="',Hu(Ae),'"')}var a;return this.buf.push(">"),!0}endElement(l){const _=l.nodeName.toLowerCase();Xa.hasOwnProperty(_)&&!Lu.hasOwnProperty(_)&&(this.buf.push(""))}chars(l){this.buf.push(Hu(l))}checkClobberedElement(l,_){if(_&&(l.compareDocumentPosition(_)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${l.outerHTML}`);return _}}const wm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Sm=/([^\#-~ |!])/g;function Hu(a){return a.replace(/&/g,"&").replace(wm,function(l){return"&#"+(1024*(l.charCodeAt(0)-55296)+(l.charCodeAt(1)-56320)+65536)+";"}).replace(Sm,function(l){return"&#"+l.charCodeAt(0)+";"}).replace(//g,">")}let ra;function Uu(a,l){let _=null;try{ra=ra||function xu(a){const l=new bm(a);return function ym(){try{return!!(new window.DOMParser).parseFromString(Oo(""),"text/html")}catch(a){return!1}}()?new Am(l):l}(a);let v=l?String(l):"";_=ra.getInertBodyElement(v);let C=5,w=v;do{if(0===C)throw new Error("Failed to sanitize html because the input is unstable");C--,v=w,w=_.innerHTML,_=ra.getInertBodyElement(v)}while(v!==w);return Oo((new Em).sanitizeChildren(ic(_)||_))}finally{if(_){const v=ic(_)||_;for(;v.firstChild;)v.removeChild(v.firstChild)}}}function ic(a){return"content"in a&&function Dm(a){return a.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===a.nodeName}(a)?a.content:null}var Mn=(()=>((Mn=Mn||{})[Mn.NONE=0]="NONE",Mn[Mn.HTML=1]="HTML",Mn[Mn.STYLE=2]="STYLE",Mn[Mn.SCRIPT=3]="SCRIPT",Mn[Mn.URL=4]="URL",Mn[Mn.RESOURCE_URL=5]="RESOURCE_URL",Mn))();function zu(a){const l=vr();return l?Iu(l.sanitize(Mn.HTML,a)||""):Po(a,"HTML")?Iu(Xs(a)):Uu(Se(),ce(a))}function nc(a){const l=vr();return l?l.sanitize(Mn.URL,a)||"":Po(a,"URL")?Xs(a):br(ce(a))}function vr(){const a=ti();return a&&a[12]}const ju="__ngContext__";function qn(a,l){a[ju]=l}function oc(a){const l=function Tr(a){return a[ju]||null}(a);return l?Array.isArray(l)?l:l.lView:null}function ac(a){return a.ngOriginalError}function Gm(a,...l){a.error(...l)}class Cr{constructor(){this._console=console}handleError(l){const _=this._findOriginalError(l),v=function Zm(a){return a&&a.ngErrorLogger||Gm}(l);v(this._console,"ERROR",l),_&&v(this._console,"ORIGINAL ERROR",_)}_findOriginalError(l){let _=l&&ac(l);for(;_&&ac(_);)_=ac(_);return _||null}}const Wu=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Zt))();function $u(a){return a.ownerDocument.defaultView}function Ju(a){return a.ownerDocument}function Zs(a){return a instanceof Function?a():a}var Gs=(()=>((Gs=Gs||{})[Gs.Important=1]="Important",Gs[Gs.DashCase=2]="DashCase",Gs))();function lc(a,l){return undefined(a,l)}function Er(a){const l=a[3];return qi(l)?l[3]:l}function uc(a){return id(a[13])}function dc(a){return id(a[4])}function id(a){for(;null!==a&&!qi(a);)a=a[4];return a}function ko(a,l,_,v,C){if(null!=v){let w,x=!1;qi(v)?w=v:sn(v)&&(x=!0,v=v[0]);const J=ie(v);0===a&&null!==_?null==C?cd(l,_,J):go(l,_,J,C||null,!0):1===a&&null!==_?go(l,_,J,C||null,!0):2===a?function gd(a,l,_){const v=aa(a,l);v&&function u_(a,l,_,v){ft(a)?a.removeChild(l,_,v):l.removeChild(_)}(a,v,l,_)}(l,J,x):3===a&&l.destroyNode(J),null!=w&&function p_(a,l,_,v,C){const w=_[7];w!==ie(_)&&ko(l,a,v,w,C);for(let J=10;J<_.length;J++){const Ae=_[J];wr(Ae[1],Ae,a,l,v,w)}}(l,a,w,_,C)}}function pc(a,l,_){if(ft(a))return a.createElement(l,_);{const v=null!==_?function ot(a){const l=a.toLowerCase();return"svg"===l?"http://www.w3.org/2000/svg":"math"===l?"http://www.w3.org/1998/MathML/":null}(_):null;return null===v?a.createElement(l):a.createElementNS(v,l)}}function sd(a,l){const _=a[9],v=_.indexOf(l),C=l[3];1024&l[2]&&(l[2]&=-1025,st(C,-1)),_.splice(v,1)}function fc(a,l){if(a.length<=10)return;const _=10+l,v=a[_];if(v){const C=v[17];null!==C&&C!==a&&sd(C,v),l>0&&(a[_-1][4]=v[4]);const w=ea(a,10+l);!function i_(a,l){wr(a,l,l[11],2,null,null),l[0]=null,l[6]=null}(v[1],v);const x=w[19];null!==x&&x.detachView(w[1]),v[3]=null,v[4]=null,v[2]&=-129}return v}function od(a,l){if(!(256&l[2])){const _=l[11];ft(_)&&_.destroyNode&&wr(a,l,_,3,null,null),function o_(a){let l=a[13];if(!l)return gc(a[1],a);for(;l;){let _=null;if(sn(l))_=l[13];else{const v=l[10];v&&(_=v)}if(!_){for(;l&&!l[4]&&l!==a;)sn(l)&&gc(l[1],l),l=l[3];null===l&&(l=a),sn(l)&&gc(l[1],l),_=l&&l[4]}l=_}}(l)}}function gc(a,l){if(!(256&l[2])){l[2]&=-129,l[2]|=256,function l_(a,l){let _;if(null!=a&&null!=(_=a.destroyHooks))for(let v=0;v<_.length;v+=2){const C=l[_[v]];if(!(C instanceof Qs)){const w=_[v+1];if(Array.isArray(w))for(let x=0;x=0?v[C=je]():v[C=-je].unsubscribe(),w+=2}else{const x=v[C=_[w+1]];_[w].call(x)}if(null!==v){for(let w=C+1;ww?"":C[vt+1].toLowerCase();const Gt=8&v?Pt:null;if(Gt&&-1!==Ad(Gt,je,0)||2&v&&je!==Pt){if(Ps(v))return!1;x=!0}}}}else{if(!x&&!Ps(v)&&!Ps(Ae))return!1;if(x&&Ps(Ae))continue;x=!1,v=Ae|1&v}}return Ps(v)||x}function Ps(a){return 0==(1&a)}function A_(a,l,_,v){if(null===l)return-1;let C=0;if(v||!_){let w=!1;for(;C-1)for(_++;_0?'="'+J+'"':"")+"]"}else 8&v?C+="."+x:4&v&&(C+=" "+x);else""!==C&&!Ps(x)&&(l+=Td(w,C),C=""),v=x,w=w||!Ps(v);_++}return""!==C&&(l+=Td(w,C)),l}const ki={};function Cd(a){Ed(si(),ti(),Ii()+a,rs())}function Ed(a,l,_,v){if(!v)if(3==(3&l[2])){const w=a.preOrderCheckHooks;null!==w&&Js(l,w,_)}else{const w=a.preOrderHooks;null!==w&&Rs(l,w,0,_)}on(_)}function ua(a,l){return a<<17|l<<2}function xs(a){return a>>17&32767}function yc(a){return 2|a}function eo(a){return(131068&a)>>2}function vc(a,l){return-131069&a|l<<2}function Tc(a){return 1|a}function Ld(a,l){const _=a.contentQueries;if(null!==_)for(let v=0;v<_.length;v+=2){const C=_[v],w=_[v+1];if(-1!==w){const x=a.data[w];at(C),x.contentQueries(2,l[w],w)}}}function Sr(a,l,_,v,C,w,x,J,Ae,je){const it=l.blueprint.slice();return it[0]=C,it[2]=140|v,ye(it),it[3]=it[15]=a,it[8]=_,it[10]=x||a&&a[10],it[11]=J||a&&a[11],it[12]=Ae||a&&a[12]||null,it[9]=je||a&&a[9]||null,it[6]=w,it[16]=2==l.type?a[16]:it,it}function Lo(a,l,_,v,C){let w=a.data[l];if(null===w)w=function Oc(a,l,_,v,C){const w=Fi(),x=Dn(),Ae=a.data[l]=function z_(a,l,_,v,C,w){return{type:_,index:v,insertBeforeIndex:null,injectorIndex:l?l.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:C,attrs:w,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:l,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,x?w:w&&w.parent,_,l,v,C);return null===a.firstChild&&(a.firstChild=Ae),null!==w&&(x?null==w.child&&null!==Ae.parent&&(w.child=Ae):null===w.next&&(w.next=Ae)),Ae}(a,l,_,v,C),function Kr(){return Bt.lFrame.inI18n}()&&(w.flags|=64);else if(64&w.type){w.type=_,w.value=v,w.attrs=C;const x=function un(){const a=Bt.lFrame,l=a.currentTNode;return a.isParent?l:l.parent}();w.injectorIndex=null===x?-1:x.injectorIndex}return An(w,!0),w}function No(a,l,_,v){if(0===_)return-1;const C=l.length;for(let w=0;w<_;w++)l.push(v),a.blueprint.push(v),a.data.push(null);return C}function Dr(a,l,_){ni(l);try{const v=a.viewQuery;null!==v&&Uc(1,v,_);const C=a.template;null!==C&&Nd(a,l,C,1,_),a.firstCreatePass&&(a.firstCreatePass=!1),a.staticContentQueries&&Ld(a,l),a.staticViewQueries&&Uc(2,a.viewQuery,_);const w=a.components;null!==w&&function F_(a,l){for(let _=0;_20&&Ed(a,l,20,rs()),_(v,C)}finally{on(w)}}function Bd(a,l,_){if(Ct(l)){const C=l.directiveEnd;for(let w=l.directiveStart;w0;){const _=a[--l];if("number"==typeof _&&_<0)return _}return 0})(J)!=Ae&&J.push(Ae),J.push(v,C,x)}}function Kd(a,l){null!==a.hostBindings&&a.hostBindings(1,l)}function Vd(a,l){l.flags|=2,(a.components||(a.components=[])).push(l.index)}function Q_(a,l,_){if(_){if(l.exportAs)for(let v=0;v0&&Nc(_)}}function Nc(a){for(let v=uc(a);null!==v;v=dc(v))for(let C=10;C0&&Nc(w)}const _=a[1].components;if(null!==_)for(let v=0;v<_.length;v++){const C=mi(_[v],a);xi(C)&&C[5]>0&&Nc(C)}}function oA(a,l){const _=mi(l,a),v=_[1];(function rA(a,l){for(let _=l.length;_Promise.resolve(null))();function Jd(a){return a[7]||(a[7]=[])}function Qd(a){return a.cleanup||(a.cleanup=[])}function Xd(a,l,_){return(null===a||lt(a))&&(_=function Ge(a){for(;Array.isArray(a);){if("object"==typeof a[1])return a;a=a[0]}return null}(_[l.index])),_[11]}function eh(a,l){const _=a[9],v=_?_.get(Cr,null):null;v&&v.handleError(l)}function th(a,l,_,v,C){for(let w=0;w<_.length;){const x=_[w++],J=_[w++],Ae=l[x],je=a.data[x];null!==je.setInput?je.setInput(Ae,C,v,J):Ae[J]=C}}function to(a,l,_){const v=Ft(l,a);!function nd(a,l,_){ft(a)?a.setValue(l,_):l.textContent=_}(a[11],v,_)}function ga(a,l,_){let v=_?a.styles:null,C=_?a.classes:null,w=0;if(null!==l)for(let x=0;xthis.processProvider(J,l,_)),Us([l],J=>this.processInjectorType(J,[],w)),this.records.set(zc,Fo(void 0,this));const x=this.records.get(Zc);this.scope=null!=x?x.value:null,this.source=C||("object"==typeof l?null:b(l))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(l=>l.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(l,_=fr,v=r.Default){this.assertNotDestroyed();const C=Cu(this),w=t(void 0);try{if(!(v&r.SkipSelf)){let J=this.records.get(l);if(void 0===J){const Ae=function TA(a){return"function"==typeof a||"object"==typeof a&&a instanceof Cn}(l)&&tt(l);J=Ae&&this.injectableDefInScope(Ae)?Fo(jc(l),Mr):null,this.records.set(l,J)}if(null!=J)return this.hydrate(l,J)}return(v&r.Self?nh():this.parent).get(l,_=v&r.Optional&&_===fr?null:_)}catch(x){if("NullInjectorError"===x.name){if((x[ia]=x[ia]||[]).unshift(b(l)),C)throw x;return function $g(a,l,_,v){const C=a[ia];throw l[Tu]&&C.unshift(l[Tu]),a.message=function Jg(a,l,_,v=null){a=a&&"\n"===a.charAt(0)&&"\u0275"==a.charAt(1)?a.substr(2):a;let C=b(l);if(Array.isArray(l))C=l.map(b).join(" -> ");else if("object"==typeof l){let w=[];for(let x in l)if(l.hasOwnProperty(x)){let J=l[x];w.push(x+":"+("string"==typeof J?JSON.stringify(J):b(J)))}C=`{${w.join(", ")}}`}return`${_}${v?"("+v+")":""}[${C}]: ${a.replace(jg,"\n ")}`}("\n"+a.message,C,_,v),a.ngTokenPath=C,a[ia]=null,a}(x,l,"R3InjectorError",this.source)}throw x}finally{t(w),Cu(C)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(l=>this.get(l))}toString(){const l=[];return this.records.forEach((v,C)=>l.push(b(C))),`R3Injector[${l.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new $(205,!1)}processInjectorType(l,_,v){if(!(l=k(l)))return!1;let C=D(l);const w=null==C&&l.ngModule||void 0,x=void 0===w?l:w,J=-1!==v.indexOf(x);if(void 0!==w&&(C=D(w)),null==C)return!1;if(null!=C.imports&&!J){let it;v.push(x);try{Us(C.imports,vt=>{this.processInjectorType(vt,_,v)&&(void 0===it&&(it=[]),it.push(vt))})}finally{}if(void 0!==it)for(let vt=0;vtthis.processProvider(Wt,Pt,Gt||Je))}}this.injectorDefTypes.add(x);const Ae=gn(x)||(()=>new x);this.records.set(x,Fo(Ae,Mr));const je=C.providers;if(null!=je&&!J){const it=l;Us(je,vt=>this.processProvider(vt,it,je))}return void 0!==w&&void 0!==l.providers}processProvider(l,_,v){let C=Ho(l=k(l))?l:k(l&&l.provide);const w=function mA(a,l,_){return ah(a)?Fo(void 0,a.useValue):Fo(rh(a),Mr)}(l);if(Ho(l)||!0!==l.multi)this.records.get(C);else{let x=this.records.get(C);x||(x=Fo(void 0,Mr,!0),x.factory=()=>Wa(x.multi),this.records.set(C,x)),C=l,x.multi.push(l)}this.records.set(C,w)}hydrate(l,_){return _.value===Mr&&(_.value=pA,_.value=_.factory()),"object"==typeof _.value&&_.value&&function vA(a){return null!==a&&"object"==typeof a&&"function"==typeof a.ngOnDestroy}(_.value)&&this.onDestroy.add(_.value),_.value}injectableDefInScope(l){if(!l.providedIn)return!1;const _=k(l.providedIn);return"string"==typeof _?"any"===_||_===this.scope:this.injectorDefTypes.has(_)}}function jc(a){const l=tt(a),_=null!==l?l.factory:gn(a);if(null!==_)return _;if(a instanceof Cn)throw new $(204,!1);if(a instanceof Function)return function gA(a){const l=a.length;if(l>0)throw pr(l,"?"),new $(204,!1);const _=function N(a){const l=a&&(a[S]||a[P]);if(l){const _=function he(a){if(a.hasOwnProperty("name"))return a.name;const l=(""+a).match(/^function\s*([^\s(]+)/);return null===l?"":l[1]}(a);return console.warn(`DEPRECATED: DI is instantiating a token "${_}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${_}" class.`),l}return null}(a);return null!==_?()=>_.factory(a):()=>new a}(a);throw new $(204,!1)}function rh(a,l,_){let v;if(Ho(a)){const C=k(a);return gn(C)||jc(C)}if(ah(a))v=()=>k(a.useValue);else if(function AA(a){return!(!a||!a.useFactory)}(a))v=()=>a.useFactory(...Wa(a.deps||[]));else if(function _A(a){return!(!a||!a.useExisting)}(a))v=()=>Bn(k(a.useExisting));else{const C=k(a&&(a.useClass||a.provide));if(!function yA(a){return!!a.deps}(a))return gn(C)||jc(C);v=()=>new C(...Wa(a.deps))}return v}function Fo(a,l,_=!1){return{factory:a,value:l,multi:_?[]:void 0}}function ah(a){return null!==a&&"object"==typeof a&&Vg in a}function Ho(a){return"function"==typeof a}let Ms=(()=>{class a{static create(_,v){var C;if(Array.isArray(_))return sh({name:""},v,_,"");{const w=null!==(C=_.name)&&void 0!==C?C:"";return sh({name:w},_.parent,_.providers,w)}}}return a.THROW_IF_NOT_FOUND=fr,a.NULL=new ih,a.\u0275prov=Ce({token:a,providedIn:"any",factory:()=>Bn(zc)}),a.__NG_ELEMENT_ID__=-1,a})();function RA(a,l){$s(oc(a)[1],gi())}function Yc(a){let l=function bh(a){return Object.getPrototypeOf(a.prototype).constructor}(a.type),_=!0;const v=[a];for(;l;){let C;if(lt(a))C=l.\u0275cmp||l.\u0275dir;else{if(l.\u0275cmp)throw new $(903,"");C=l.\u0275dir}if(C){if(_){v.push(C);const x=a;x.inputs=qc(a.inputs),x.declaredInputs=qc(a.declaredInputs),x.outputs=qc(a.outputs);const J=C.hostBindings;J&&kA(a,J);const Ae=C.viewQuery,je=C.contentQueries;if(Ae&&PA(a,Ae),je&&xA(a,je),s(a.inputs,C.inputs),s(a.declaredInputs,C.declaredInputs),s(a.outputs,C.outputs),lt(C)&&C.data.animation){const it=a.data;it.animation=(it.animation||[]).concat(C.data.animation)}}const w=C.features;if(w)for(let x=0;x=0;v--){const C=a[v];C.hostVars=l+=C.hostVars,C.hostAttrs=co(C.hostAttrs,_=co(_,C.hostAttrs))}}(v)}function qc(a){return a===_t?{}:a===Je?[]:a}function PA(a,l){const _=a.viewQuery;a.viewQuery=_?(v,C)=>{l(v,C),_(v,C)}:l}function xA(a,l){const _=a.contentQueries;a.contentQueries=_?(v,C,w)=>{l(v,C,w),_(v,C,w)}:l}function kA(a,l){const _=a.hostBindings;a.hostBindings=_?(v,C)=>{l(v,C),_(v,C)}:l}let ma=null;function Uo(){if(!ma){const a=Zt.Symbol;if(a&&a.iterator)ma=a.iterator;else{const l=Object.getOwnPropertyNames(Map.prototype);for(let _=0;_J(ie(Ki[v.index])):v.index;if(ft(_)){let Ki=null;if(!J&&Ae&&(Ki=function ub(a,l,_,v){const C=a.cleanup;if(null!=C)for(let w=0;wAe?J[Ae]:null}"string"==typeof x&&(w+=2)}return null}(a,l,C,v.index)),null!==Ki)(Ki.__ngLastListenerFn__||Ki).__ngNextListenerFn__=w,Ki.__ngLastListenerFn__=w,Gt=!1;else{w=dl(v,l,vt,w,!1);const cn=_.listen(Ai,C,w);Pt.push(w,cn),it&&it.push(C,wi,Xt,Xt+1)}}else w=dl(v,l,vt,w,!0),Ai.addEventListener(C,w,x),Pt.push(w),it&&it.push(C,wi,Xt,x)}else w=dl(v,l,vt,w,!1);const Wt=v.outputs;let ri;if(Gt&&null!==Wt&&(ri=Wt[C])){const pi=ri.length;if(pi)for(let Ai=0;Ai0;)l=l[15],a--;return l}(a,Bt.lFrame.contextLView))[8]}(a)}function db(a,l){let _=null;const v=function b_(a){const l=a.attrs;if(null!=l){const _=l.indexOf(5);if(0==(1&_))return l[_+1]}return null}(a);for(let C=0;C=0}const xn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function op(a){return a.substring(xn.key,xn.keyEnd)}function rp(a,l){const _=xn.textEnd;return _===l?-1:(l=xn.keyEnd=function Ab(a,l,_){for(;l<_&&a.charCodeAt(l)>32;)l++;return l}(a,xn.key=l,_),Jo(a,l,_))}function Jo(a,l,_){for(;l<_&&a.charCodeAt(l)<=32;)l++;return l}function fl(a,l,_){return Ls(a,l,_,!1),fl}function gl(a,l){return Ls(a,l,null,!0),gl}function dp(a){Ns(gs,Ys,a,!0)}function Ys(a,l){for(let _=function mb(a){return function cp(a){xn.key=0,xn.keyEnd=0,xn.value=0,xn.valueEnd=0,xn.textEnd=a.length}(a),rp(a,Jo(a,0,xn.textEnd))}(l);_>=0;_=rp(l,_))gs(a,op(l),!0)}function Ls(a,l,_,v){const C=ti(),w=si(),x=ls(2);w.firstUpdatePass&&pp(w,a,x,v),l!==ki&&Wn(C,x,l)&&gp(w,w.data[Ii()],C,C[11],a,C[x+1]=function Mb(a,l){return null==a||("string"==typeof l?a+=l:"object"==typeof a&&(a=b(Xs(a)))),a}(l,_),v,x)}function Ns(a,l,_,v){const C=si(),w=ls(2);C.firstUpdatePass&&pp(C,null,w,v);const x=ti();if(_!==ki&&Wn(x,w,_)){const J=C.data[Ii()];if(_p(J,v)&&!hp(C,w)){let Ae=v?J.classesWithoutHost:J.stylesWithoutHost;null!==Ae&&(_=O(Ae,_||"")),nl(C,J,x,_,v)}else!function Db(a,l,_,v,C,w,x,J){C===ki&&(C=Je);let Ae=0,je=0,it=0=a.expandoStartIndex}function pp(a,l,_,v){const C=a.data;if(null===C[_+1]){const w=C[Ii()],x=hp(a,_);_p(w,v)&&null===l&&!x&&(l=!1),l=function Tb(a,l,_,v){const C=$e(a);let w=v?l.residualClasses:l.residualStyles;if(null===C)0===(v?l.classBindings:l.styleBindings)&&(_=Pr(_=ml(null,a,l,_,v),l.attrs,v),w=null);else{const x=l.directiveStylingLast;if(-1===x||a[x]!==C)if(_=ml(C,a,l,_,v),null===w){let Ae=function Cb(a,l,_){const v=_?l.classBindings:l.styleBindings;if(0!==eo(v))return a[xs(v)]}(a,l,v);void 0!==Ae&&Array.isArray(Ae)&&(Ae=ml(null,a,l,Ae[1],v),Ae=Pr(Ae,l.attrs,v),function Eb(a,l,_,v){a[xs(_?l.classBindings:l.styleBindings)]=v}(a,l,v,Ae))}else w=function wb(a,l,_){let v;const C=l.directiveEnd;for(let w=1+l.directiveStylingLast;w0)&&(je=!0)}else it=_;if(C)if(0!==Ae){const Pt=xs(a[J+1]);a[v+1]=ua(Pt,J),0!==Pt&&(a[Pt+1]=vc(a[Pt+1],v)),a[J+1]=function S_(a,l){return 131071&a|l<<17}(a[J+1],v)}else a[v+1]=ua(J,0),0!==J&&(a[J+1]=vc(a[J+1],v)),J=v;else a[v+1]=ua(Ae,0),0===J?J=v:a[Ae+1]=vc(a[Ae+1],v),Ae=v;je&&(a[v+1]=yc(a[v+1])),sp(a,it,v,!0),sp(a,it,v,!1),function pb(a,l,_,v,C){const w=C?a.residualClasses:a.residualStyles;null!=w&&"string"==typeof l&&Mo(w,l)>=0&&(_[v+1]=Tc(_[v+1]))}(l,it,a,v,w),x=ua(J,Ae),w?l.classBindings=x:l.styleBindings=x}(C,w,l,_,x,v)}}function ml(a,l,_,v,C){let w=null;const x=_.directiveEnd;let J=_.directiveStylingLast;for(-1===J?J=_.directiveStart:J++;J0;){const Ae=a[C],je=Array.isArray(Ae),it=je?Ae[1]:Ae,vt=null===it;let Pt=_[C+1];Pt===ki&&(Pt=vt?Je:void 0);let Gt=vt?Va(Pt,v):it===v?Pt:void 0;if(je&&!ya(Gt)&&(Gt=Va(Ae,v)),ya(Gt)&&(J=Gt,x))return J;const Wt=a[C+1];C=x?xs(Wt):eo(Wt)}if(null!==l){let Ae=w?l.residualClasses:l.residualStyles;null!=Ae&&(J=Va(Ae,v))}return J}function ya(a){return void 0!==a}function _p(a,l){return 0!=(a.flags&(l?16:32))}function Ap(a,l=""){const _=ti(),v=si(),C=a+20,w=v.firstCreatePass?Lo(v,C,1,l,null):v.data[C],x=_[C]=function hc(a,l){return ft(a)?a.createText(l):a.createTextNode(l)}(_[11],l);ca(v,_,x,w),An(w,!1)}function _l(a){return va("",a,""),_l}function va(a,l,_){const v=ti(),C=Zo(v,a,l,_);return C!==ki&&to(v,Ii(),C),va}function Al(a,l,_,v,C){const w=ti(),x=Go(w,a,l,_,v,C);return x!==ki&&to(w,Ii(),x),Al}function bl(a,l,_,v,C,w,x){const J=ti(),Ae=function jo(a,l,_,v,C,w,x,J){const je=_a(a,Tn(),_,C,x);return ls(3),je?l+ce(_)+v+ce(C)+w+ce(x)+J:ki}(J,a,l,_,v,C,w,x);return Ae!==ki&&to(J,Ii(),Ae),bl}function yl(a,l,_,v,C,w,x,J,Ae){const je=ti(),it=function Ko(a,l,_,v,C,w,x,J,Ae,je){const vt=Is(a,Tn(),_,C,x,Ae);return ls(4),vt?l+ce(_)+v+ce(C)+w+ce(x)+J+ce(Ae)+je:ki}(je,a,l,_,v,C,w,x,J,Ae);return it!==ki&&to(je,Ii(),it),yl}function vl(a,l,_,v,C,w,x,J,Ae,je,it){const vt=ti(),Pt=function Vo(a,l,_,v,C,w,x,J,Ae,je,it,vt){const Pt=Tn();let Gt=Is(a,Pt,_,C,x,Ae);return Gt=Wn(a,Pt+4,it)||Gt,ls(5),Gt?l+ce(_)+v+ce(C)+w+ce(x)+J+ce(Ae)+je+ce(it)+vt:ki}(vt,a,l,_,v,C,w,x,J,Ae,je,it);return Pt!==ki&&to(vt,Ii(),Pt),vl}function Cp(a,l,_){Ns(gs,Ys,Zo(ti(),a,l,_),!0)}function Tl(a,l,_){const v=ti();return Wn(v,cs(),l)&&ms(si(),Gi(),v,a,l,v[11],_,!0),Tl}function Cl(a,l,_){const v=ti();if(Wn(v,cs(),l)){const w=si(),x=Gi();ms(w,x,v,a,l,Xd($e(w.data),x,v),_,!0)}return Cl}const _o=void 0;var Yb=["en",[["a","p"],["AM","PM"],_o],[["AM","PM"],_o,_o],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],_o,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],_o,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",_o,"{1} 'at' {0}",_o],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Vb(a){const _=Math.floor(Math.abs(a)),v=a.toString().replace(/^[^.]*\.?/,"").length;return 1===_&&0===v?1:5}];let Qo={};function El(a){const l=function qb(a){return a.toLowerCase().replace(/_/g,"-")}(a);let _=kp(l);if(_)return _;const v=l.split("-")[0];if(_=kp(v),_)return _;if("en"===v)return Yb;throw new Error(`Missing locale data for the locale "${a}".`)}function xp(a){return El(a)[Mi.PluralCase]}function kp(a){return a in Qo||(Qo[a]=Zt.ng&&Zt.ng.common&&Zt.ng.common.locales&&Zt.ng.common.locales[a]),Qo[a]}var Mi=(()=>((Mi=Mi||{})[Mi.LocaleId=0]="LocaleId",Mi[Mi.DayPeriodsFormat=1]="DayPeriodsFormat",Mi[Mi.DayPeriodsStandalone=2]="DayPeriodsStandalone",Mi[Mi.DaysFormat=3]="DaysFormat",Mi[Mi.DaysStandalone=4]="DaysStandalone",Mi[Mi.MonthsFormat=5]="MonthsFormat",Mi[Mi.MonthsStandalone=6]="MonthsStandalone",Mi[Mi.Eras=7]="Eras",Mi[Mi.FirstDayOfWeek=8]="FirstDayOfWeek",Mi[Mi.WeekendRange=9]="WeekendRange",Mi[Mi.DateFormat=10]="DateFormat",Mi[Mi.TimeFormat=11]="TimeFormat",Mi[Mi.DateTimeFormat=12]="DateTimeFormat",Mi[Mi.NumberSymbols=13]="NumberSymbols",Mi[Mi.NumberFormats=14]="NumberFormats",Mi[Mi.CurrencyCode=15]="CurrencyCode",Mi[Mi.CurrencySymbol=16]="CurrencySymbol",Mi[Mi.CurrencyName=17]="CurrencyName",Mi[Mi.Currencies=18]="Currencies",Mi[Mi.Directionality=19]="Directionality",Mi[Mi.PluralCase=20]="PluralCase",Mi[Mi.ExtraData=21]="ExtraData",Mi))();const Ta="en-US";let Lp=Ta;function Dl(a,l,_,v,C){if(a=k(a),Array.isArray(a))for(let w=0;w>20;if(Ho(a)||!a.multi){const Gt=new Qs(Ae,C,Or),Wt=Il(J,l,C?it:it+Pt,vt);-1===Wt?(xt(Pe(je,x),w,J),Ml(w,a,l.length),l.push(J),je.directiveStart++,je.directiveEnd++,C&&(je.providerIndexes+=1048576),_.push(Gt),x.push(Gt)):(_[Wt]=Gt,x[Wt]=Gt)}else{const Gt=Il(J,l,it+Pt,vt),Wt=Il(J,l,it,it+Pt),ri=Gt>=0&&_[Gt],pi=Wt>=0&&_[Wt];if(C&&!pi||!C&&!ri){xt(Pe(je,x),w,J);const Ai=function Vy(a,l,_,v,C){const w=new Qs(a,_,Or);return w.multi=[],w.index=l,w.componentProviders=0,rf(w,C,v&&!_),w}(C?Ky:jy,_.length,C,v,Ae);!C&&pi&&(_[Wt].providerFactory=Ai),Ml(w,a,l.length,0),l.push(J),je.directiveStart++,je.directiveEnd++,C&&(je.providerIndexes+=1048576),_.push(Ai),x.push(Ai)}else Ml(w,a,Gt>-1?Gt:Wt,rf(_[C?Wt:Gt],Ae,!C&&v));!C&&v&&pi&&_[Wt].componentProviders++}}}function Ml(a,l,_,v){const C=Ho(l),w=function bA(a){return!!a.useClass}(l);if(C||w){const Ae=(w?k(l.useClass):l).prototype.ngOnDestroy;if(Ae){const je=a.destroyHooks||(a.destroyHooks=[]);if(!C&&l.multi){const it=je.indexOf(_);-1===it?je.push(_,[v,Ae]):je[it+1].push(v,Ae)}else je.push(_,Ae)}}}function rf(a,l,_){return _&&a.componentProviders++,a.multi.push(l)-1}function Il(a,l,_,v){for(let C=_;C{_.providersResolver=(v,C)=>function Gy(a,l,_){const v=si();if(v.firstCreatePass){const C=lt(a);Dl(_,v.data,v.blueprint,C,!0),Dl(l,v.data,v.blueprint,C,!1)}}(v,C?C(a):a,l)}}class cf{}class Wy{resolveComponentFactory(l){throw function qy(a){const l=Error(`No component factory found for ${b(a)}. Did you add it to @NgModule.entryComponents?`);return l.ngComponent=a,l}(l)}}let Br=(()=>{class a{}return a.NULL=new Wy,a})();function $y(){return er(gi(),ti())}function er(a,l){return new Fr(jt(a,l))}let Fr=(()=>{class a{constructor(_){this.nativeElement=_}}return a.__NG_ELEMENT_ID__=$y,a})();function Jy(a){return a instanceof Fr?a.nativeElement:a}class uf{}let Qy=(()=>{class a{}return a.__NG_ELEMENT_ID__=()=>function ev(){const a=ti(),_=mi(gi().index,a);return function Xy(a){return a[11]}(sn(_)?_:a)}(),a})(),tv=(()=>{class a{}return a.\u0275prov=Ce({token:a,providedIn:"root",factory:()=>null}),a})();class df{constructor(l){this.full=l,this.major=l.split(".")[0],this.minor=l.split(".")[1],this.patch=l.split(".").slice(2).join(".")}}const iv=new df("13.2.2"),Ol={};function Da(a,l,_,v,C=!1){for(;null!==_;){const w=l[_.index];if(null!==w&&v.push(ie(w)),qi(w))for(let J=10;J-1&&(fc(l,v),ea(_,v))}this._attachedToViewContainer=!1}od(this._lView[1],this._lView)}onDestroy(l){zd(this._lView[1],this._lView,null,l)}markForCheck(){Bc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Hc(this._lView[1],this._lView,this.context)}checkNoChanges(){!function cA(a,l,_){yn(!0);try{Hc(a,l,_)}finally{yn(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new $(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function s_(a,l){wr(a,l,l[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(l){if(this._attachedToViewContainer)throw new $(902,"");this._appRef=l}}class nv extends Hr{constructor(l){super(l),this._view=l}detectChanges(){$d(this._view)}checkNoChanges(){!function lA(a){yn(!0);try{$d(a)}finally{yn(!1)}}(this._view)}get context(){return null}}class hf extends Br{constructor(l){super(),this.ngModule=l}resolveComponentFactory(l){const _=Ot(l);return new Pl(_,this.ngModule)}}function pf(a){const l=[];for(let _ in a)a.hasOwnProperty(_)&&l.push({propName:a[_],templateName:_});return l}const ov=new Cn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Wu});class Pl extends cf{constructor(l,_){super(),this.componentDef=l,this.ngModule=_,this.componentType=l.type,this.selector=function E_(a){return a.map(C_).join(",")}(l.selectors),this.ngContentSelectors=l.ngContentSelectors?l.ngContentSelectors:[],this.isBoundToModule=!!_}get inputs(){return pf(this.componentDef.inputs)}get outputs(){return pf(this.componentDef.outputs)}create(l,_,v,C){const w=(C=C||this.ngModule)?function rv(a,l){return{get:(_,v,C)=>{const w=a.get(_,Ol,C);return w!==Ol||v===Ol?w:l.get(_,v,C)}}}(l,C.injector):l,x=w.get(uf,q),J=w.get(tv,null),Ae=x.createRenderer(null,this.componentDef),je=this.componentDef.selectors[0][0]||"div",it=v?function Ud(a,l,_){if(ft(a))return a.selectRootElement(l,_===et.ShadowDom);let v="string"==typeof l?a.querySelector(l):l;return v.textContent="",v}(Ae,v,this.componentDef.encapsulation):pc(x.createRenderer(null,this.componentDef),je,function sv(a){const l=a.toLowerCase();return"svg"===l?"svg":"math"===l?"math":null}(je)),vt=this.componentDef.onPush?576:528,Pt=function Ah(a,l){return{components:[],scheduler:a||Wu,clean:uA,playerHandler:l||null,flags:0}}(),Gt=pa(0,null,null,1,0,null,null,null,null,null),Wt=Sr(null,Gt,Pt,vt,null,null,x,Ae,J,w);let ri,pi;ni(Wt);try{const Ai=function mh(a,l,_,v,C,w){const x=_[1];_[20]=a;const Ae=Lo(x,20,2,"#host",null),je=Ae.mergedAttrs=l.hostAttrs;null!==je&&(ga(Ae,je,!0),null!==a&&(Co(C,a,je),null!==Ae.classes&&bc(C,a,Ae.classes),null!==Ae.styles&&_d(C,a,Ae.styles)));const it=v.createRenderer(a,l),vt=Sr(_,Fd(l),null,l.onPush?64:16,_[20],Ae,v,it,w||null,null);return x.firstCreatePass&&(xt(Pe(Ae,_),x,l.type),Vd(x,Ae),Yd(Ae,_.length,1)),fa(_,vt),_[20]=vt}(it,this.componentDef,Wt,x,Ae);if(it)if(v)Co(Ae,it,["ng-version",iv.full]);else{const{attrs:Xt,classes:wi}=function w_(a){const l=[],_=[];let v=1,C=2;for(;v0&&bc(Ae,it,wi.join(" "))}if(pi=ai(Gt,20),void 0!==_){const Xt=pi.projection=[];for(let wi=0;wiAe(x,l)),l.contentQueries){const Ae=gi();l.contentQueries(1,x,Ae.directiveStart)}const J=gi();return!w.firstCreatePass||null===l.hostBindings&&null===l.hostAttrs||(on(J.index),jd(_[1],J,0,J.directiveStart,J.directiveEnd,l),Kd(l,x)),x}(Ai,this.componentDef,Wt,Pt,[RA]),Dr(Gt,Wt,null)}finally{en()}return new cv(this.componentType,ri,er(pi,Wt),Wt,pi)}}class cv extends class Yy{}{constructor(l,_,v,C,w){super(),this.location=v,this._rootLView=C,this._tNode=w,this.instance=_,this.hostView=this.changeDetectorRef=new nv(C),this.componentType=l}get injector(){return new fs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(l){this.hostView.onDestroy(l)}}class tr{}class ff{}const ir=new Map;class _f extends tr{constructor(l,_){super(),this._parent=_,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new hf(this);const v=fi(l);this._bootstrapComponents=Zs(v.bootstrap),this._r3Injector=oh(l,_,[{provide:tr,useValue:this},{provide:Br,useValue:this.componentFactoryResolver}],b(l)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(l)}get(l,_=Ms.THROW_IF_NOT_FOUND,v=r.Default){return l===Ms||l===tr||l===zc?this:this._r3Injector.get(l,_,v)}destroy(){const l=this._r3Injector;!l.destroyed&&l.destroy(),this.destroyCbs.forEach(_=>_()),this.destroyCbs=null}onDestroy(l){this.destroyCbs.push(l)}}class xl extends ff{constructor(l){super(),this.moduleType=l,null!==fi(l)&&function uv(a){const l=new Set;!function _(v){const C=fi(v,!0),w=C.id;null!==w&&(function gf(a,l,_){if(l&&l!==_)throw new Error(`Duplicate module registered for ${a} - ${b(l)} vs ${b(l.name)}`)}(w,ir.get(w),v),ir.set(w,v));const x=Zs(C.imports);for(const J of x)l.has(J)||(l.add(J),_(J))}(a)}(l)}create(l){return new _f(this.moduleType,l)}}function Af(a,l,_){const v=hn()+a,C=ti();return C[v]===ki?Ks(C,v,_?l.call(_):l()):function Rr(a,l){return a[l]}(C,v)}function bf(a,l,_,v){return Tf(ti(),hn(),a,l,_,v)}function yf(a,l,_,v,C){return Cf(ti(),hn(),a,l,_,v,C)}function vf(a,l,_,v,C,w){return Ef(ti(),hn(),a,l,_,v,C,w)}function Ur(a,l){const _=a[l];return _===ki?void 0:_}function Tf(a,l,_,v,C,w){const x=l+_;return Wn(a,x,C)?Ks(a,x+1,w?v.call(w,C):v(C)):Ur(a,x+1)}function Cf(a,l,_,v,C,w,x){const J=l+_;return mo(a,J,C,w)?Ks(a,J+2,x?v.call(x,C,w):v(C,w)):Ur(a,J+2)}function Ef(a,l,_,v,C,w,x,J){const Ae=l+_;return _a(a,Ae,C,w,x)?Ks(a,Ae+3,J?v.call(J,C,w,x):v(C,w,x)):Ur(a,Ae+3)}function Df(a,l){const _=si();let v;const C=a+20;_.firstCreatePass?(v=function _v(a,l){if(l)for(let _=l.length-1;_>=0;_--){const v=l[_];if(a===v.name)return v}}(l,_.pipeRegistry),_.data[C]=v,v.onDestroy&&(_.destroyHooks||(_.destroyHooks=[])).push(C,v.onDestroy)):v=_.data[C];const w=v.factory||(v.factory=gn(v.type)),x=t(Or);try{const J=lo(!1),Ae=w();return lo(J),function ZA(a,l,_,v){_>=a.data.length&&(a.data[_]=null,a.blueprint[_]=null),l[_]=v}(_,ti(),C,Ae),Ae}finally{t(x)}}function Mf(a,l,_){const v=a+20,C=ti(),w=hi(C,v);return zr(C,v)?Tf(C,hn(),l,w.transform,_,w):w.transform(_)}function If(a,l,_,v){const C=a+20,w=ti(),x=hi(w,C);return zr(w,C)?Cf(w,hn(),l,x.transform,_,v,x):x.transform(_,v)}function Rf(a,l,_,v,C){const w=a+20,x=ti(),J=hi(x,w);return zr(x,w)?Ef(x,hn(),l,J.transform,_,v,C,J):J.transform(_,v,C)}function zr(a,l){return a[1].data[l].pure}function kl(a){return l=>{setTimeout(a,void 0,l)}}const qs=class yv extends e.xQ{constructor(l=!1){super(),this.__isAsync=l}emit(l){super.next(l)}subscribe(l,_,v){var C,w,x;let J=l,Ae=_||(()=>null),je=v;if(l&&"object"==typeof l){const vt=l;J=null===(C=vt.next)||void 0===C?void 0:C.bind(vt),Ae=null===(w=vt.error)||void 0===w?void 0:w.bind(vt),je=null===(x=vt.complete)||void 0===x?void 0:x.bind(vt)}this.__isAsync&&(Ae=kl(Ae),J&&(J=kl(J)),je&&(je=kl(je)));const it=super.subscribe({next:J,error:Ae,complete:je});return l instanceof f.w&&l.add(it),it}};function vv(){return this._results[Uo()]()}class Ma{constructor(l=!1){this._emitDistinctChangesOnly=l,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const _=Uo(),v=Ma.prototype;v[_]||(v[_]=vv)}get changes(){return this._changes||(this._changes=new qs)}get(l){return this._results[l]}map(l){return this._results.map(l)}filter(l){return this._results.filter(l)}find(l){return this._results.find(l)}reduce(l,_){return this._results.reduce(l,_)}forEach(l){this._results.forEach(l)}some(l){return this._results.some(l)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(l,_){const v=this;v.dirty=!1;const C=Ds(l);(this._changesDetected=!function Lg(a,l,_){if(a.length!==l.length)return!1;for(let v=0;v{class a{}return a.__NG_ELEMENT_ID__=Ev,a})();const Tv=Zr,Cv=class extends Tv{constructor(l,_,v){super(),this._declarationLView=l,this._declarationTContainer=_,this.elementRef=v}createEmbeddedView(l){const _=this._declarationTContainer.tViews,v=Sr(this._declarationLView,_,l,16,null,_.declTNode,null,null,null,null);v[17]=this._declarationLView[this._declarationTContainer.index];const w=this._declarationLView[19];return null!==w&&(v[19]=w.createEmbeddedView(_)),Dr(_,v,l),new Hr(v)}};function Ev(){return Ia(gi(),ti())}function Ia(a,l){return 4&a.type?new Cv(l,a,er(a,l)):null}let Ra=(()=>{class a{}return a.__NG_ELEMENT_ID__=wv,a})();function wv(){return xf(gi(),ti())}const Sv=Ra,Of=class extends Sv{constructor(l,_,v){super(),this._lContainer=l,this._hostTNode=_,this._hostLView=v}get element(){return er(this._hostTNode,this._hostLView)}get injector(){return new fs(this._hostTNode,this._hostLView)}get parentInjector(){const l=St(this._hostTNode,this._hostLView);if(Qr(l)){const _=so(l,this._hostLView),v=no(l);return new fs(_[1].data[v+8],_)}return new fs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(l){const _=Pf(this._lContainer);return null!==_&&_[l]||null}get length(){return this._lContainer.length-10}createEmbeddedView(l,_,v){const C=l.createEmbeddedView(_||{});return this.insert(C,v),C}createComponent(l,_,v,C,w){const x=l&&!function hr(a){return"function"==typeof a}(l);let J;if(x)J=_;else{const vt=_||{};J=vt.index,v=vt.injector,C=vt.projectableNodes,w=vt.ngModuleRef}const Ae=x?l:new Pl(Ot(l)),je=v||this.parentInjector;if(!w&&null==Ae.ngModule&&je){const vt=je.get(tr,null);vt&&(w=vt)}const it=Ae.create(je,C,void 0,w);return this.insert(it.hostView,J),it}insert(l,_){const v=l._lView,C=v[1];if(function xe(a){return qi(a[3])}(v)){const it=this.indexOf(l);if(-1!==it)this.detach(it);else{const vt=v[3],Pt=new Of(vt,vt[6],vt[3]);Pt.detach(Pt.indexOf(l))}}const w=this._adjustIndex(_),x=this._lContainer;!function r_(a,l,_,v){const C=10+v,w=_.length;v>0&&(_[C-1][4]=l),v0)v.push(x[J/2]);else{const je=w[J+1],it=l[-Ae];for(let vt=10;vt{class a{constructor(_){this.appInits=_,this.resolve=xa,this.reject=xa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((v,C)=>{this.resolve=v,this.reject=C})}runInitializers(){if(this.initialized)return;const _=[],v=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let C=0;C{w.subscribe({complete:J,error:Ae})});_.push(x)}}Promise.all(_).then(()=>{v()}).catch(C=>{this.reject(C)}),0===_.length&&v(),this.initialized=!0}}return a.\u0275fac=function(_){return new(_||a)(Bn(Vl,8))},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();const rg=new Cn("AppId"),Qv={provide:rg,useFactory:function Jv(){return`${Yl()}${Yl()}${Yl()}`},deps:[]};function Yl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ag=new Cn("Platform Initializer"),cg=new Cn("Platform ID"),lg=new Cn("appBootstrapListener");let ug=(()=>{class a{log(_){console.log(_)}warn(_){console.warn(_)}}return a.\u0275fac=function(_){return new(_||a)},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();const ka=new Cn("LocaleId"),dg=new Cn("DefaultCurrencyCode");class Xv{constructor(l,_){this.ngModuleFactory=l,this.componentFactories=_}}let ql=(()=>{class a{compileModuleSync(_){return new xl(_)}compileModuleAsync(_){return Promise.resolve(this.compileModuleSync(_))}compileModuleAndAllComponentsSync(_){const v=this.compileModuleSync(_),w=Zs(fi(_).declarations).reduce((x,J)=>{const Ae=Ot(J);return Ae&&x.push(new Pl(Ae)),x},[]);return new Xv(v,w)}compileModuleAndAllComponentsAsync(_){return Promise.resolve(this.compileModuleAndAllComponentsSync(_))}clearCache(){}clearCacheFor(_){}getModuleId(_){}}return a.\u0275fac=function(_){return new(_||a)},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();const tT=(()=>Promise.resolve(0))();function Wl(a){"undefined"==typeof Zone?tT.then(()=>{a&&a.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",a)}class _s{constructor({enableLongStackTrace:l=!1,shouldCoalesceEventChangeDetection:_=!1,shouldCoalesceRunChangeDetection:v=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new qs(!1),this.onMicrotaskEmpty=new qs(!1),this.onStable=new qs(!1),this.onError=new qs(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const C=this;C._nesting=0,C._outer=C._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(C._inner=C._inner.fork(new Zone.TaskTrackingZoneSpec)),l&&Zone.longStackTraceZoneSpec&&(C._inner=C._inner.fork(Zone.longStackTraceZoneSpec)),C.shouldCoalesceEventChangeDetection=!v&&_,C.shouldCoalesceRunChangeDetection=v,C.lastRequestAnimationFrameId=-1,C.nativeRequestAnimationFrame=function iT(){let a=Zt.requestAnimationFrame,l=Zt.cancelAnimationFrame;if("undefined"!=typeof Zone&&a&&l){const _=a[Zone.__symbol__("OriginalDelegate")];_&&(a=_);const v=l[Zone.__symbol__("OriginalDelegate")];v&&(l=v)}return{nativeRequestAnimationFrame:a,nativeCancelAnimationFrame:l}}().nativeRequestAnimationFrame,function oT(a){const l=()=>{!function sT(a){a.isCheckStableRunning||-1!==a.lastRequestAnimationFrameId||(a.lastRequestAnimationFrameId=a.nativeRequestAnimationFrame.call(Zt,()=>{a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{a.lastRequestAnimationFrameId=-1,Jl(a),a.isCheckStableRunning=!0,$l(a),a.isCheckStableRunning=!1},void 0,()=>{},()=>{})),a.fakeTopEventTask.invoke()}),Jl(a))}(a)};a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(_,v,C,w,x,J)=>{try{return hg(a),_.invokeTask(C,w,x,J)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===w.type||a.shouldCoalesceRunChangeDetection)&&l(),pg(a)}},onInvoke:(_,v,C,w,x,J,Ae)=>{try{return hg(a),_.invoke(C,w,x,J,Ae)}finally{a.shouldCoalesceRunChangeDetection&&l(),pg(a)}},onHasTask:(_,v,C,w)=>{_.hasTask(C,w),v===C&&("microTask"==w.change?(a._hasPendingMicrotasks=w.microTask,Jl(a),$l(a)):"macroTask"==w.change&&(a.hasPendingMacrotasks=w.macroTask))},onHandleError:(_,v,C,w)=>(_.handleError(C,w),a.runOutsideAngular(()=>a.onError.emit(w)),!1)})}(C)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_s.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(_s.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(l,_,v){return this._inner.run(l,_,v)}runTask(l,_,v,C){const w=this._inner,x=w.scheduleEventTask("NgZoneEvent: "+C,l,nT,xa,xa);try{return w.runTask(x,_,v)}finally{w.cancelTask(x)}}runGuarded(l,_,v){return this._inner.runGuarded(l,_,v)}runOutsideAngular(l){return this._outer.run(l)}}const nT={};function $l(a){if(0==a._nesting&&!a.hasPendingMicrotasks&&!a.isStable)try{a._nesting++,a.onMicrotaskEmpty.emit(null)}finally{if(a._nesting--,!a.hasPendingMicrotasks)try{a.runOutsideAngular(()=>a.onStable.emit(null))}finally{a.isStable=!0}}}function Jl(a){a.hasPendingMicrotasks=!!(a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId)}function hg(a){a._nesting++,a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))}function pg(a){a._nesting--,$l(a)}class rT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qs,this.onMicrotaskEmpty=new qs,this.onStable=new qs,this.onError=new qs}run(l,_,v){return l.apply(_,v)}runGuarded(l,_,v){return l.apply(_,v)}runOutsideAngular(l){return l()}runTask(l,_,v,C){return l.apply(_,v)}}let fg=(()=>{class a{constructor(_){this._ngZone=_,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),_.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{_s.assertNotInAngularZone(),Wl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Wl(()=>{for(;0!==this._callbacks.length;){let _=this._callbacks.pop();clearTimeout(_.timeoutId),_.doneCb(this._didWork)}this._didWork=!1});else{let _=this.getPendingTasks();this._callbacks=this._callbacks.filter(v=>!v.updateCb||!v.updateCb(_)||(clearTimeout(v.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(_=>({source:_.source,creationLocation:_.creationLocation,data:_.data})):[]}addCallback(_,v,C){let w=-1;v&&v>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(x=>x.timeoutId!==w),_(this._didWork,this.getPendingTasks())},v)),this._callbacks.push({doneCb:_,timeoutId:w,updateCb:C})}whenStable(_,v,C){if(C&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(_,v,C),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(_,v,C){return[]}}return a.\u0275fac=function(_){return new(_||a)(Bn(_s))},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})(),gg=(()=>{class a{constructor(){this._applications=new Map,Ql.addToWindow(this)}registerApplication(_,v){this._applications.set(_,v)}unregisterApplication(_){this._applications.delete(_)}unregisterAllApplications(){this._applications.clear()}getTestability(_){return this._applications.get(_)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(_,v=!0){return Ql.findTestabilityInTree(this,_,v)}}return a.\u0275fac=function(_){return new(_||a)},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();class aT{addToWindow(l){}findTestabilityInTree(l,_,v){return null}}function cT(a){Ql=a}let Bs,Ql=new aT;const mg=new Cn("AllowMultipleToken");class dT{constructor(l,_){this.name=l,this.token=_}}function _g(a,l,_=[]){const v=`Platform: ${l}`,C=new Cn(v);return(w=[])=>{let x=Ag();if(!x||x.injector.get(mg,!1))if(a)a(_.concat(w).concat({provide:C,useValue:!0}));else{const J=_.concat(w).concat({provide:C,useValue:!0},{provide:Zc,useValue:"platform"});!function hT(a){if(Bs&&!Bs.destroyed&&!Bs.injector.get(mg,!1))throw new $(400,"");Bs=a.get(bg);const l=a.get(ag,null);l&&l.forEach(_=>_())}(Ms.create({providers:J,name:v}))}return function pT(a){const l=Ag();if(!l)throw new $(401,"");return l}()}}function Ag(){return Bs&&!Bs.destroyed?Bs:null}let bg=(()=>{class a{constructor(_){this._injector=_,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(_,v){const J=function fT(a,l){let _;return _="noop"===a?new rT:("zone.js"===a?void 0:a)||new _s({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==l?void 0:l.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==l?void 0:l.ngZoneRunCoalescing)}),_}(v?v.ngZone:void 0,{ngZoneEventCoalescing:v&&v.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:v&&v.ngZoneRunCoalescing||!1}),Ae=[{provide:_s,useValue:J}];return J.run(()=>{const je=Ms.create({providers:Ae,parent:this.injector,name:_.moduleType.name}),it=_.create(je),vt=it.injector.get(Cr,null);if(!vt)throw new $(402,"");return J.runOutsideAngular(()=>{const Pt=J.onError.subscribe({next:Gt=>{vt.handleError(Gt)}});it.onDestroy(()=>{Xl(this._modules,it),Pt.unsubscribe()})}),function gT(a,l,_){try{const v=_();return cl(v)?v.catch(C=>{throw l.runOutsideAngular(()=>a.handleError(C)),C}):v}catch(v){throw l.runOutsideAngular(()=>a.handleError(v)),v}}(vt,J,()=>{const Pt=it.injector.get(sr);return Pt.runInitializers(),Pt.donePromise.then(()=>(function Qb(a){R(a,"Expected localeId to be defined"),"string"==typeof a&&(Lp=a.toLowerCase().replace(/_/g,"-"))}(it.injector.get(ka,Ta)||Ta),this._moduleDoBootstrap(it),it))})})}bootstrapModule(_,v=[]){const C=yg({},v);return function lT(a,l,_){const v=new xl(_);return Promise.resolve(v)}(0,0,_).then(w=>this.bootstrapModuleFactory(w,C))}_moduleDoBootstrap(_){const v=_.injector.get(jr);if(_._bootstrapComponents.length>0)_._bootstrapComponents.forEach(C=>v.bootstrap(C));else{if(!_.instance.ngDoBootstrap)throw new $(403,"");_.instance.ngDoBootstrap(v)}this._modules.push(_)}onDestroy(_){this._destroyListeners.push(_)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new $(404,"");this._modules.slice().forEach(_=>_.destroy()),this._destroyListeners.forEach(_=>_()),this._destroyed=!0}get destroyed(){return this._destroyed}}return a.\u0275fac=function(_){return new(_||a)(Bn(Ms))},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();function yg(a,l){return Array.isArray(l)?l.reduce(yg,a):Object.assign(Object.assign({},a),l)}let jr=(()=>{class a{constructor(_,v,C,w,x){this._zone=_,this._injector=v,this._exceptionHandler=C,this._componentFactoryResolver=w,this._initStatus=x,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const J=new g.y(je=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{je.next(this._stable),je.complete()})}),Ae=new g.y(je=>{let it;this._zone.runOutsideAngular(()=>{it=this._zone.onStable.subscribe(()=>{_s.assertNotInAngularZone(),Wl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,je.next(!0))})})});const vt=this._zone.onUnstable.subscribe(()=>{_s.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{je.next(!1)}))});return()=>{it.unsubscribe(),vt.unsubscribe()}});this.isStable=(0,T.T)(J,Ae.pipe((0,m.B)()))}bootstrap(_,v){if(!this._initStatus.done)throw new $(405,"");let C;C=_ instanceof cf?_:this._componentFactoryResolver.resolveComponentFactory(_),this.componentTypes.push(C.componentType);const w=function uT(a){return a.isBoundToModule}(C)?void 0:this._injector.get(tr),J=C.create(Ms.NULL,[],v||C.selector,w),Ae=J.location.nativeElement,je=J.injector.get(fg,null),it=je&&J.injector.get(gg);return je&&it&&it.registerApplication(Ae,je),J.onDestroy(()=>{this.detachView(J.hostView),Xl(this.components,J),it&&it.unregisterApplication(Ae)}),this._loadComponent(J),J}tick(){if(this._runningTick)throw new $(101,"");try{this._runningTick=!0;for(let _ of this._views)_.detectChanges()}catch(_){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(_))}finally{this._runningTick=!1}}attachView(_){const v=_;this._views.push(v),v.attachToAppRef(this)}detachView(_){const v=_;Xl(this._views,v),v.detachFromAppRef()}_loadComponent(_){this.attachView(_.hostView),this.tick(),this.components.push(_),this._injector.get(lg,[]).concat(this._bootstrapListeners).forEach(C=>C(_))}ngOnDestroy(){this._views.slice().forEach(_=>_.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return a.\u0275fac=function(_){return new(_||a)(Bn(_s),Bn(Ms),Bn(Cr),Bn(Br),Bn(sr))},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();function Xl(a,l){const _=a.indexOf(l);_>-1&&a.splice(_,1)}let Tg=!0;function _T(){Tg=!1}let AT=(()=>{class a{}return a.__NG_ELEMENT_ID__=bT,a})();function bT(a){return function yT(a,l,_){if($t(a)&&!_){const v=mi(a.index,l);return new Hr(v,v)}return 47&a.type?new Hr(l[16],l):null}(gi(),ti(),16==(16&a))}class Dg{constructor(){}supports(l){return Ir(l)}create(l){return new ST(l)}}const wT=(a,l)=>l;class ST{constructor(l){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=l||wT}forEachItem(l){let _;for(_=this._itHead;null!==_;_=_._next)l(_)}forEachOperation(l){let _=this._itHead,v=this._removalsHead,C=0,w=null;for(;_||v;){const x=!v||_&&_.currentIndex{x=this._trackByFn(C,J),null!==_&&Object.is(_.trackById,x)?(v&&(_=this._verifyReinsertion(_,J,x,C)),Object.is(_.item,J)||this._addIdentityChange(_,J)):(_=this._mismatch(_,J,x,C),v=!0),_=_._next,C++}),this.length=C;return this._truncate(_),this.collection=l,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let l;for(l=this._previousItHead=this._itHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._additionsHead;null!==l;l=l._nextAdded)l.previousIndex=l.currentIndex;for(this._additionsHead=this._additionsTail=null,l=this._movesHead;null!==l;l=l._nextMoved)l.previousIndex=l.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(l,_,v,C){let w;return null===l?w=this._itTail:(w=l._prev,this._remove(l)),null!==(l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(v,null))?(Object.is(l.item,_)||this._addIdentityChange(l,_),this._reinsertAfter(l,w,C)):null!==(l=null===this._linkedRecords?null:this._linkedRecords.get(v,C))?(Object.is(l.item,_)||this._addIdentityChange(l,_),this._moveAfter(l,w,C)):l=this._addAfter(new DT(_,v),w,C),l}_verifyReinsertion(l,_,v,C){let w=null===this._unlinkedRecords?null:this._unlinkedRecords.get(v,null);return null!==w?l=this._reinsertAfter(w,l._prev,C):l.currentIndex!=C&&(l.currentIndex=C,this._addToMoves(l,C)),l}_truncate(l){for(;null!==l;){const _=l._next;this._addToRemovals(this._unlink(l)),l=_}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(l,_,v){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(l);const C=l._prevRemoved,w=l._nextRemoved;return null===C?this._removalsHead=w:C._nextRemoved=w,null===w?this._removalsTail=C:w._prevRemoved=C,this._insertAfter(l,_,v),this._addToMoves(l,v),l}_moveAfter(l,_,v){return this._unlink(l),this._insertAfter(l,_,v),this._addToMoves(l,v),l}_addAfter(l,_,v){return this._insertAfter(l,_,v),this._additionsTail=null===this._additionsTail?this._additionsHead=l:this._additionsTail._nextAdded=l,l}_insertAfter(l,_,v){const C=null===_?this._itHead:_._next;return l._next=C,l._prev=_,null===C?this._itTail=l:C._prev=l,null===_?this._itHead=l:_._next=l,null===this._linkedRecords&&(this._linkedRecords=new Mg),this._linkedRecords.put(l),l.currentIndex=v,l}_remove(l){return this._addToRemovals(this._unlink(l))}_unlink(l){null!==this._linkedRecords&&this._linkedRecords.remove(l);const _=l._prev,v=l._next;return null===_?this._itHead=v:_._next=v,null===v?this._itTail=_:v._prev=_,l}_addToMoves(l,_){return l.previousIndex===_||(this._movesTail=null===this._movesTail?this._movesHead=l:this._movesTail._nextMoved=l),l}_addToRemovals(l){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Mg),this._unlinkedRecords.put(l),l.currentIndex=null,l._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=l,l._prevRemoved=null):(l._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=l),l}_addIdentityChange(l,_){return l.item=_,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=l:this._identityChangesTail._nextIdentityChange=l,l}}class DT{constructor(l,_){this.item=l,this.trackById=_,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class MT{constructor(){this._head=null,this._tail=null}add(l){null===this._head?(this._head=this._tail=l,l._nextDup=null,l._prevDup=null):(this._tail._nextDup=l,l._prevDup=this._tail,l._nextDup=null,this._tail=l)}get(l,_){let v;for(v=this._head;null!==v;v=v._nextDup)if((null===_||_<=v.currentIndex)&&Object.is(v.trackById,l))return v;return null}remove(l){const _=l._prevDup,v=l._nextDup;return null===_?this._head=v:_._nextDup=v,null===v?this._tail=_:v._prevDup=_,null===this._head}}class Mg{constructor(){this.map=new Map}put(l){const _=l.trackById;let v=this.map.get(_);v||(v=new MT,this.map.set(_,v)),v.add(l)}get(l,_){const C=this.map.get(l);return C?C.get(l,_):null}remove(l){const _=l.trackById;return this.map.get(_).remove(l)&&this.map.delete(_),l}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ig(a,l,_){const v=a.previousIndex;if(null===v)return v;let C=0;return _&&v<_.length&&(C=_[v]),v+l+C}class Rg{constructor(){}supports(l){return l instanceof Map||Wc(l)}create(){return new IT}}class IT{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(l){let _;for(_=this._mapHead;null!==_;_=_._next)l(_)}forEachPreviousItem(l){let _;for(_=this._previousMapHead;null!==_;_=_._nextPrevious)l(_)}forEachChangedItem(l){let _;for(_=this._changesHead;null!==_;_=_._nextChanged)l(_)}forEachAddedItem(l){let _;for(_=this._additionsHead;null!==_;_=_._nextAdded)l(_)}forEachRemovedItem(l){let _;for(_=this._removalsHead;null!==_;_=_._nextRemoved)l(_)}diff(l){if(l){if(!(l instanceof Map||Wc(l)))throw new $(900,"")}else l=new Map;return this.check(l)?this:null}onDestroy(){}check(l){this._reset();let _=this._mapHead;if(this._appendAfter=null,this._forEach(l,(v,C)=>{if(_&&_.key===C)this._maybeAddToChanges(_,v),this._appendAfter=_,_=_._next;else{const w=this._getOrCreateRecordForKey(C,v);_=this._insertBeforeOrAppend(_,w)}}),_){_._prev&&(_._prev._next=null),this._removalsHead=_;for(let v=_;null!==v;v=v._nextRemoved)v===this._mapHead&&(this._mapHead=null),this._records.delete(v.key),v._nextRemoved=v._next,v.previousValue=v.currentValue,v.currentValue=null,v._prev=null,v._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(l,_){if(l){const v=l._prev;return _._next=l,_._prev=v,l._prev=_,v&&(v._next=_),l===this._mapHead&&(this._mapHead=_),this._appendAfter=l,l}return this._appendAfter?(this._appendAfter._next=_,_._prev=this._appendAfter):this._mapHead=_,this._appendAfter=_,null}_getOrCreateRecordForKey(l,_){if(this._records.has(l)){const C=this._records.get(l);this._maybeAddToChanges(C,_);const w=C._prev,x=C._next;return w&&(w._next=x),x&&(x._prev=w),C._next=null,C._prev=null,C}const v=new RT(l);return this._records.set(l,v),v.currentValue=_,this._addToAdditions(v),v}_reset(){if(this.isDirty){let l;for(this._previousMapHead=this._mapHead,l=this._previousMapHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._changesHead;null!==l;l=l._nextChanged)l.previousValue=l.currentValue;for(l=this._additionsHead;null!=l;l=l._nextAdded)l.previousValue=l.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(l,_){Object.is(_,l.currentValue)||(l.previousValue=l.currentValue,l.currentValue=_,this._addToChanges(l))}_addToAdditions(l){null===this._additionsHead?this._additionsHead=this._additionsTail=l:(this._additionsTail._nextAdded=l,this._additionsTail=l)}_addToChanges(l){null===this._changesHead?this._changesHead=this._changesTail=l:(this._changesTail._nextChanged=l,this._changesTail=l)}_forEach(l,_){l instanceof Map?l.forEach(_):Object.keys(l).forEach(v=>_(l[v],v))}}class RT{constructor(l){this.key=l,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Og(){return new Ba([new Dg])}let Ba=(()=>{class a{constructor(_){this.factories=_}static create(_,v){if(null!=v){const C=v.factories.slice();_=_.concat(C)}return new a(_)}static extend(_){return{provide:a,useFactory:v=>a.create(_,v||Og()),deps:[[a,new Io,new po]]}}find(_){const v=this.factories.find(C=>C.supports(_));if(null!=v)return v;throw new $(901,"")}}return a.\u0275prov=Ce({token:a,providedIn:"root",factory:Og}),a})();function Pg(){return new Fa([new Rg])}let Fa=(()=>{class a{constructor(_){this.factories=_}static create(_,v){if(v){const C=v.factories.slice();_=_.concat(C)}return new a(_)}static extend(_){return{provide:a,useFactory:v=>a.create(_,v||Pg()),deps:[[a,new Io,new po]]}}find(_){const v=this.factories.find(w=>w.supports(_));if(v)return v;throw new $(901,"")}}return a.\u0275prov=Ce({token:a,providedIn:"root",factory:Pg}),a})();const OT=[new Rg],xT=new Ba([new Dg]),kT=new Fa(OT),LT=_g(null,"core",[{provide:cg,useValue:"unknown"},{provide:bg,deps:[Ms]},{provide:gg,deps:[]},{provide:ug,deps:[]}]),UT=[{provide:jr,useClass:jr,deps:[_s,Ms,Cr,Br,sr]},{provide:ov,deps:[_s],useFactory:function zT(a){let l=[];return a.onStable.subscribe(()=>{for(;l.length;)l.pop()()}),function(_){l.push(_)}}},{provide:sr,useClass:sr,deps:[[new po,Vl]]},{provide:ql,useClass:ql,deps:[]},Qv,{provide:Ba,useFactory:function NT(){return xT},deps:[]},{provide:Fa,useFactory:function BT(){return kT},deps:[]},{provide:ka,useFactory:function FT(a){return a||function HT(){return"undefined"!=typeof $localize&&$localize.locale||Ta}()},deps:[[new _r(ka),new po,new Io]]},{provide:dg,useValue:"USD"}];let ZT=(()=>{class a{constructor(_){}}return a.\u0275fac=function(_){return new(_||a)(Bn(jr))},a.\u0275mod=Ut({type:a}),a.\u0275inj=Xe({providers:UT}),a})()},93075:(Ke,be,d)=>{"use strict";d.d(be,{Zs:()=>B,Fj:()=>V,qu:()=>yi,NI:()=>Mt,oH:()=>In,u:()=>vs,sg:()=>$n,u5:()=>ai,Cf:()=>ce,JU:()=>b,a5:()=>D,JJ:()=>r,JL:()=>p,F:()=>Li,On:()=>qi,YN:()=>Cs,wV:()=>Y,c5:()=>Ge,UX:()=>hi,Q7:()=>ot,EJ:()=>wn,kI:()=>ke,_Y:()=>Ct,Kr:()=>Ln});var e=d(5e3),f=d(69808),g=d(5254),T=d(30567),m=d(24850);let A=(()=>{class xe{constructor(ye,st){this._renderer=ye,this._elementRef=st,this.onChange=Bt=>{},this.onTouched=()=>{}}setProperty(ye,st){this._renderer.setProperty(this._elementRef.nativeElement,ye,st)}registerOnTouched(ye){this.onTouched=ye}registerOnChange(ye){this.onChange=ye}setDisabledState(ye){this.setProperty("disabled",ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(e.Qsj),e.Y36(e.SBq))},xe.\u0275dir=e.lG2({type:xe}),xe})(),s=(()=>{class xe extends A{}return xe.\u0275fac=function(){let Ee;return function(st){return(Ee||(Ee=e.n5z(xe)))(st||xe)}}(),xe.\u0275dir=e.lG2({type:xe,features:[e.qOj]}),xe})();const b=new e.OlP("NgValueAccessor"),h={provide:b,useExisting:(0,e.Gpc)(()=>V),multi:!0},L=new e.OlP("CompositionEventMode");let V=(()=>{class xe extends A{constructor(ye,st,Bt){super(ye,st),this._compositionMode=Bt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function k(){const xe=(0,f.q)()?(0,f.q)().getUserAgent():"";return/android (\d+)/.test(xe.toLowerCase())}())}writeValue(ye){this.setProperty("value",null==ye?"":ye)}_handleInput(ye){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ye)}_compositionStart(){this._composing=!0}_compositionEnd(ye){this._composing=!1,this._compositionMode&&this.onChange(ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(L,8))},xe.\u0275dir=e.lG2({type:xe,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(ye,st){1&ye&&e.NdJ("input",function(ci){return st._handleInput(ci.target.value)})("blur",function(){return st.onTouched()})("compositionstart",function(){return st._compositionStart()})("compositionend",function(ci){return st._compositionEnd(ci.target.value)})},features:[e._Bn([h]),e.qOj]}),xe})();function $(xe){return null==xe||0===xe.length}function ue(xe){return null!=xe&&"number"==typeof xe.length}const ce=new e.OlP("NgValidators"),Le=new e.OlP("NgAsyncValidators"),de=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ke{static min(Ee){return function ae(xe){return Ee=>{if($(Ee.value)||$(xe))return null;const ye=parseFloat(Ee.value);return!isNaN(ye)&&ye{if($(Ee.value)||$(xe))return null;const ye=parseFloat(Ee.value);return!isNaN(ye)&&ye>xe?{max:{max:xe,actual:Ee.value}}:null}}(Ee)}static required(Ee){return H(Ee)}static requiredTrue(Ee){return Q(Ee)}static email(Ee){return function te(xe){return $(xe.value)||de.test(xe.value)?null:{email:!0}}(Ee)}static minLength(Ee){return function se(xe){return Ee=>$(Ee.value)||!ue(Ee.value)?null:Ee.value.lengthue(Ee.value)&&Ee.value.length>xe?{maxlength:{requiredLength:xe,actualLength:Ee.value.length}}:null}(Ee)}static pattern(Ee){return Ne(Ee)}static nullValidator(Ee){return null}static compose(Ee){return R(Ee)}static composeAsync(Ee){return Ie(Ee)}}function H(xe){return $(xe.value)?{required:!0}:null}function Q(xe){return!0===xe.value?null:{required:!0}}function Ne(xe){if(!xe)return Fe;let Ee,ye;return"string"==typeof xe?(ye="","^"!==xe.charAt(0)&&(ye+="^"),ye+=xe,"$"!==xe.charAt(xe.length-1)&&(ye+="$"),Ee=new RegExp(ye)):(ye=xe.toString(),Ee=xe),st=>{if($(st.value))return null;const Bt=st.value;return Ee.test(Bt)?null:{pattern:{requiredPattern:ye,actualValue:Bt}}}}function Fe(xe){return null}function ne(xe){return null!=xe}function Me(xe){const Ee=(0,e.QGY)(xe)?(0,g.D)(xe):xe;return(0,e.CqO)(Ee),Ee}function ve(xe){let Ee={};return xe.forEach(ye=>{Ee=null!=ye?Object.assign(Object.assign({},Ee),ye):Ee}),0===Object.keys(Ee).length?null:Ee}function me(xe,Ee){return Ee.map(ye=>ye(xe))}function ee(xe){return xe.map(Ee=>function Te(xe){return!xe.validate}(Ee)?Ee:ye=>Ee.validate(ye))}function R(xe){if(!xe)return null;const Ee=xe.filter(ne);return 0==Ee.length?null:function(ye){return ve(me(ye,Ee))}}function Oe(xe){return null!=xe?R(ee(xe)):null}function Ie(xe){if(!xe)return null;const Ee=xe.filter(ne);return 0==Ee.length?null:function(ye){const st=me(ye,Ee).map(Me);return(0,T.D)(st).pipe((0,m.U)(ve))}}function He(xe){return null!=xe?Ie(ee(xe)):null}function fe(xe,Ee){return null===xe?[Ee]:Array.isArray(xe)?[...xe,Ee]:[xe,Ee]}function Ce(xe){return xe._rawValidators}function Ve(xe){return xe._rawAsyncValidators}function Xe(xe){return xe?Array.isArray(xe)?xe:[xe]:[]}function tt(xe,Ee){return Array.isArray(xe)?xe.includes(Ee):xe===Ee}function rt(xe,Ee){const ye=Xe(Ee);return Xe(xe).forEach(Bt=>{tt(ye,Bt)||ye.push(Bt)}),ye}function N(xe,Ee){return Xe(Ee).filter(ye=>!tt(xe,ye))}class he{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(Ee){this._rawValidators=Ee||[],this._composedValidatorFn=Oe(this._rawValidators)}_setAsyncValidators(Ee){this._rawAsyncValidators=Ee||[],this._composedAsyncValidatorFn=He(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Ee){this._onDestroyCallbacks.push(Ee)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ee=>Ee()),this._onDestroyCallbacks=[]}reset(Ee){this.control&&this.control.reset(Ee)}hasError(Ee,ye){return!!this.control&&this.control.hasError(Ee,ye)}getError(Ee,ye){return this.control?this.control.getError(Ee,ye):null}}class D extends he{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class S extends he{get formDirective(){return null}get path(){return null}}class I{constructor(Ee){this._cd=Ee}is(Ee){var ye,st,Bt;return"submitted"===Ee?!!(null===(ye=this._cd)||void 0===ye?void 0:ye.submitted):!!(null===(Bt=null===(st=this._cd)||void 0===st?void 0:st.control)||void 0===Bt?void 0:Bt[Ee])}}let r=(()=>{class xe extends I{constructor(ye){super(ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(D,2))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ye,st){2&ye&&e.ekj("ng-untouched",st.is("untouched"))("ng-touched",st.is("touched"))("ng-pristine",st.is("pristine"))("ng-dirty",st.is("dirty"))("ng-valid",st.is("valid"))("ng-invalid",st.is("invalid"))("ng-pending",st.is("pending"))},features:[e.qOj]}),xe})(),p=(()=>{class xe extends I{constructor(ye){super(ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(S,10))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ye,st){2&ye&&e.ekj("ng-untouched",st.is("untouched"))("ng-touched",st.is("touched"))("ng-pristine",st.is("pristine"))("ng-dirty",st.is("dirty"))("ng-valid",st.is("valid"))("ng-invalid",st.is("invalid"))("ng-pending",st.is("pending"))("ng-submitted",st.is("submitted"))},features:[e.qOj]}),xe})();function _t(xe,Ee){return[...Ee.path,xe]}function Je(xe,Ee){qe(xe,Ee),Ee.valueAccessor.writeValue(xe.value),function oe(xe,Ee){Ee.valueAccessor.registerOnChange(ye=>{xe._pendingValue=ye,xe._pendingChange=!0,xe._pendingDirty=!0,"change"===xe.updateOn&&G(xe,Ee)})}(xe,Ee),function X(xe,Ee){const ye=(st,Bt)=>{Ee.valueAccessor.writeValue(st),Bt&&Ee.viewToModelUpdate(st)};xe.registerOnChange(ye),Ee._registerOnDestroy(()=>{xe._unregisterOnChange(ye)})}(xe,Ee),function Z(xe,Ee){Ee.valueAccessor.registerOnTouched(()=>{xe._pendingTouched=!0,"blur"===xe.updateOn&&xe._pendingChange&&G(xe,Ee),"submit"!==xe.updateOn&&xe.markAsTouched()})}(xe,Ee),function Rt(xe,Ee){if(Ee.valueAccessor.setDisabledState){const ye=st=>{Ee.valueAccessor.setDisabledState(st)};xe.registerOnDisabledChange(ye),Ee._registerOnDestroy(()=>{xe._unregisterOnDisabledChange(ye)})}}(xe,Ee)}function Lt(xe,Ee,ye=!0){const st=()=>{};Ee.valueAccessor&&(Ee.valueAccessor.registerOnChange(st),Ee.valueAccessor.registerOnTouched(st)),Ye(xe,Ee),xe&&(Ee._invokeOnDestroyCallbacks(),xe._registerOnCollectionChange(()=>{}))}function ht(xe,Ee){xe.forEach(ye=>{ye.registerOnValidatorChange&&ye.registerOnValidatorChange(Ee)})}function qe(xe,Ee){const ye=Ce(xe);null!==Ee.validator?xe.setValidators(fe(ye,Ee.validator)):"function"==typeof ye&&xe.setValidators([ye]);const st=Ve(xe);null!==Ee.asyncValidator?xe.setAsyncValidators(fe(st,Ee.asyncValidator)):"function"==typeof st&&xe.setAsyncValidators([st]);const Bt=()=>xe.updateValueAndValidity();ht(Ee._rawValidators,Bt),ht(Ee._rawAsyncValidators,Bt)}function Ye(xe,Ee){let ye=!1;if(null!==xe){if(null!==Ee.validator){const Bt=Ce(xe);if(Array.isArray(Bt)&&Bt.length>0){const ci=Bt.filter(Bi=>Bi!==Ee.validator);ci.length!==Bt.length&&(ye=!0,xe.setValidators(ci))}}if(null!==Ee.asyncValidator){const Bt=Ve(xe);if(Array.isArray(Bt)&&Bt.length>0){const ci=Bt.filter(Bi=>Bi!==Ee.asyncValidator);ci.length!==Bt.length&&(ye=!0,xe.setAsyncValidators(ci))}}}const st=()=>{};return ht(Ee._rawValidators,st),ht(Ee._rawAsyncValidators,st),ye}function G(xe,Ee){xe._pendingDirty&&xe.markAsDirty(),xe.setValue(xe._pendingValue,{emitModelToViewChange:!1}),Ee.viewToModelUpdate(xe._pendingValue),xe._pendingChange=!1}function _e(xe,Ee){qe(xe,Ee)}function Vt(xe,Ee){if(!xe.hasOwnProperty("model"))return!1;const ye=xe.model;return!!ye.isFirstChange()||!Object.is(Ee,ye.currentValue)}function Et(xe,Ee){xe._syncPendingControls(),Ee.forEach(ye=>{const st=ye.control;"submit"===st.updateOn&&st._pendingChange&&(ye.viewToModelUpdate(st._pendingValue),st._pendingChange=!1)})}function At(xe,Ee){if(!Ee)return null;let ye,st,Bt;return Array.isArray(Ee),Ee.forEach(ci=>{ci.constructor===V?ye=ci:function Dt(xe){return Object.getPrototypeOf(xe.constructor)===s}(ci)?st=ci:Bt=ci}),Bt||st||ye||null}function Ot(xe,Ee){const ye=xe.indexOf(Ee);ye>-1&&xe.splice(ye,1)}const fi="VALID",Ci="INVALID",Si="PENDING",Vi="DISABLED";function $i(xe){return(We(xe)?xe.validators:xe)||null}function Yi(xe){return Array.isArray(xe)?Oe(xe):xe||null}function bn(xe,Ee){return(We(Ee)?Ee.asyncValidators:xe)||null}function Qi(xe){return Array.isArray(xe)?He(xe):xe||null}function We(xe){return null!=xe&&!Array.isArray(xe)&&"object"==typeof xe}const Tt=xe=>xe instanceof Mt,Qe=xe=>xe instanceof ei,Ze=xe=>xe instanceof Qt;function gt(xe){return Tt(xe)?xe.value:xe.getRawValue()}function F(xe,Ee){const ye=Qe(xe),st=xe.controls;if(!(ye?Object.keys(st):st).length)throw new e.vHH(1e3,"");if(!st[Ee])throw new e.vHH(1001,"")}function Be(xe,Ee){Qe(xe),xe._forEachChild((st,Bt)=>{if(void 0===Ee[Bt])throw new e.vHH(1002,"")})}class ut{constructor(Ee,ye){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=Ee,this._rawAsyncValidators=ye,this._composedValidatorFn=Yi(this._rawValidators),this._composedAsyncValidatorFn=Qi(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(Ee){this._rawValidators=this._composedValidatorFn=Ee}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ee){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ee}get parent(){return this._parent}get valid(){return this.status===fi}get invalid(){return this.status===Ci}get pending(){return this.status==Si}get disabled(){return this.status===Vi}get enabled(){return this.status!==Vi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ee){this._rawValidators=Ee,this._composedValidatorFn=Yi(Ee)}setAsyncValidators(Ee){this._rawAsyncValidators=Ee,this._composedAsyncValidatorFn=Qi(Ee)}addValidators(Ee){this.setValidators(rt(Ee,this._rawValidators))}addAsyncValidators(Ee){this.setAsyncValidators(rt(Ee,this._rawAsyncValidators))}removeValidators(Ee){this.setValidators(N(Ee,this._rawValidators))}removeAsyncValidators(Ee){this.setAsyncValidators(N(Ee,this._rawAsyncValidators))}hasValidator(Ee){return tt(this._rawValidators,Ee)}hasAsyncValidator(Ee){return tt(this._rawAsyncValidators,Ee)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ee={}){this.touched=!0,this._parent&&!Ee.onlySelf&&this._parent.markAsTouched(Ee)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Ee=>Ee.markAllAsTouched())}markAsUntouched(Ee={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ye=>{ye.markAsUntouched({onlySelf:!0})}),this._parent&&!Ee.onlySelf&&this._parent._updateTouched(Ee)}markAsDirty(Ee={}){this.pristine=!1,this._parent&&!Ee.onlySelf&&this._parent.markAsDirty(Ee)}markAsPristine(Ee={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ye=>{ye.markAsPristine({onlySelf:!0})}),this._parent&&!Ee.onlySelf&&this._parent._updatePristine(Ee)}markAsPending(Ee={}){this.status=Si,!1!==Ee.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Ee.onlySelf&&this._parent.markAsPending(Ee)}disable(Ee={}){const ye=this._parentMarkedDirty(Ee.onlySelf);this.status=Vi,this.errors=null,this._forEachChild(st=>{st.disable(Object.assign(Object.assign({},Ee),{onlySelf:!0}))}),this._updateValue(),!1!==Ee.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},Ee),{skipPristineCheck:ye})),this._onDisabledChange.forEach(st=>st(!0))}enable(Ee={}){const ye=this._parentMarkedDirty(Ee.onlySelf);this.status=fi,this._forEachChild(st=>{st.enable(Object.assign(Object.assign({},Ee),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ee.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},Ee),{skipPristineCheck:ye})),this._onDisabledChange.forEach(st=>st(!1))}_updateAncestors(Ee){this._parent&&!Ee.onlySelf&&(this._parent.updateValueAndValidity(Ee),Ee.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Ee){this._parent=Ee}updateValueAndValidity(Ee={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===fi||this.status===Si)&&this._runAsyncValidator(Ee.emitEvent)),!1!==Ee.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ee.onlySelf&&this._parent.updateValueAndValidity(Ee)}_updateTreeValidity(Ee={emitEvent:!0}){this._forEachChild(ye=>ye._updateTreeValidity(Ee)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ee.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Vi:fi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ee){if(this.asyncValidator){this.status=Si,this._hasOwnPendingAsyncValidator=!0;const ye=Me(this.asyncValidator(this));this._asyncValidationSubscription=ye.subscribe(st=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(st,{emitEvent:Ee})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Ee,ye={}){this.errors=Ee,this._updateControlsErrors(!1!==ye.emitEvent)}get(Ee){return function nn(xe,Ee,ye){if(null==Ee||(Array.isArray(Ee)||(Ee=Ee.split(ye)),Array.isArray(Ee)&&0===Ee.length))return null;let st=xe;return Ee.forEach(Bt=>{st=Qe(st)?st.controls.hasOwnProperty(Bt)?st.controls[Bt]:null:Ze(st)&&st.at(Bt)||null}),st}(this,Ee,".")}getError(Ee,ye){const st=ye?this.get(ye):this;return st&&st.errors?st.errors[Ee]:null}hasError(Ee,ye){return!!this.getError(Ee,ye)}get root(){let Ee=this;for(;Ee._parent;)Ee=Ee._parent;return Ee}_updateControlsErrors(Ee){this.status=this._calculateStatus(),Ee&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Ee)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?Vi:this.errors?Ci:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Si)?Si:this._anyControlsHaveStatus(Ci)?Ci:fi}_anyControlsHaveStatus(Ee){return this._anyControls(ye=>ye.status===Ee)}_anyControlsDirty(){return this._anyControls(Ee=>Ee.dirty)}_anyControlsTouched(){return this._anyControls(Ee=>Ee.touched)}_updatePristine(Ee={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Ee.onlySelf&&this._parent._updatePristine(Ee)}_updateTouched(Ee={}){this.touched=this._anyControlsTouched(),this._parent&&!Ee.onlySelf&&this._parent._updateTouched(Ee)}_isBoxedValue(Ee){return"object"==typeof Ee&&null!==Ee&&2===Object.keys(Ee).length&&"value"in Ee&&"disabled"in Ee}_registerOnCollectionChange(Ee){this._onCollectionChange=Ee}_setUpdateStrategy(Ee){We(Ee)&&null!=Ee.updateOn&&(this._updateOn=Ee.updateOn)}_parentMarkedDirty(Ee){return!Ee&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Mt extends ut{constructor(Ee=null,ye,st){super($i(ye),bn(st,ye)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Ee),this._setUpdateStrategy(ye),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),We(ye)&&ye.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(Ee)?Ee.value:Ee)}setValue(Ee,ye={}){this.value=this._pendingValue=Ee,this._onChange.length&&!1!==ye.emitModelToViewChange&&this._onChange.forEach(st=>st(this.value,!1!==ye.emitViewToModelChange)),this.updateValueAndValidity(ye)}patchValue(Ee,ye={}){this.setValue(Ee,ye)}reset(Ee=this.defaultValue,ye={}){this._applyFormState(Ee),this.markAsPristine(ye),this.markAsUntouched(ye),this.setValue(this.value,ye),this._pendingChange=!1}_updateValue(){}_anyControls(Ee){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ee){this._onChange.push(Ee)}_unregisterOnChange(Ee){Ot(this._onChange,Ee)}registerOnDisabledChange(Ee){this._onDisabledChange.push(Ee)}_unregisterOnDisabledChange(Ee){Ot(this._onDisabledChange,Ee)}_forEachChild(Ee){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(Ee){this._isBoxedValue(Ee)?(this.value=this._pendingValue=Ee.value,Ee.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ee}}class ei extends ut{constructor(Ee,ye,st){super($i(ye),bn(st,ye)),this.controls=Ee,this._initObservables(),this._setUpdateStrategy(ye),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Ee,ye){return this.controls[Ee]?this.controls[Ee]:(this.controls[Ee]=ye,ye.setParent(this),ye._registerOnCollectionChange(this._onCollectionChange),ye)}addControl(Ee,ye,st={}){this.registerControl(Ee,ye),this.updateValueAndValidity({emitEvent:st.emitEvent}),this._onCollectionChange()}removeControl(Ee,ye={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),delete this.controls[Ee],this.updateValueAndValidity({emitEvent:ye.emitEvent}),this._onCollectionChange()}setControl(Ee,ye,st={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),delete this.controls[Ee],ye&&this.registerControl(Ee,ye),this.updateValueAndValidity({emitEvent:st.emitEvent}),this._onCollectionChange()}contains(Ee){return this.controls.hasOwnProperty(Ee)&&this.controls[Ee].enabled}setValue(Ee,ye={}){Be(this,Ee),Object.keys(Ee).forEach(st=>{F(this,st),this.controls[st].setValue(Ee[st],{onlySelf:!0,emitEvent:ye.emitEvent})}),this.updateValueAndValidity(ye)}patchValue(Ee,ye={}){null!=Ee&&(Object.keys(Ee).forEach(st=>{this.controls[st]&&this.controls[st].patchValue(Ee[st],{onlySelf:!0,emitEvent:ye.emitEvent})}),this.updateValueAndValidity(ye))}reset(Ee={},ye={}){this._forEachChild((st,Bt)=>{st.reset(Ee[Bt],{onlySelf:!0,emitEvent:ye.emitEvent})}),this._updatePristine(ye),this._updateTouched(ye),this.updateValueAndValidity(ye)}getRawValue(){return this._reduceChildren({},(Ee,ye,st)=>(Ee[st]=gt(ye),Ee))}_syncPendingControls(){let Ee=this._reduceChildren(!1,(ye,st)=>!!st._syncPendingControls()||ye);return Ee&&this.updateValueAndValidity({onlySelf:!0}),Ee}_forEachChild(Ee){Object.keys(this.controls).forEach(ye=>{const st=this.controls[ye];st&&Ee(st,ye)})}_setUpControls(){this._forEachChild(Ee=>{Ee.setParent(this),Ee._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ee){for(const ye of Object.keys(this.controls)){const st=this.controls[ye];if(this.contains(ye)&&Ee(st))return!0}return!1}_reduceValue(){return this._reduceChildren({},(Ee,ye,st)=>((ye.enabled||this.disabled)&&(Ee[st]=ye.value),Ee))}_reduceChildren(Ee,ye){let st=Ee;return this._forEachChild((Bt,ci)=>{st=ye(st,Bt,ci)}),st}_allControlsDisabled(){for(const Ee of Object.keys(this.controls))if(this.controls[Ee].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Qt extends ut{constructor(Ee,ye,st){super($i(ye),bn(st,ye)),this.controls=Ee,this._initObservables(),this._setUpdateStrategy(ye),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Ee){return this.controls[Ee]}push(Ee,ye={}){this.controls.push(Ee),this._registerControl(Ee),this.updateValueAndValidity({emitEvent:ye.emitEvent}),this._onCollectionChange()}insert(Ee,ye,st={}){this.controls.splice(Ee,0,ye),this._registerControl(ye),this.updateValueAndValidity({emitEvent:st.emitEvent})}removeAt(Ee,ye={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),this.controls.splice(Ee,1),this.updateValueAndValidity({emitEvent:ye.emitEvent})}setControl(Ee,ye,st={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),this.controls.splice(Ee,1),ye&&(this.controls.splice(Ee,0,ye),this._registerControl(ye)),this.updateValueAndValidity({emitEvent:st.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ee,ye={}){Be(this,Ee),Ee.forEach((st,Bt)=>{F(this,Bt),this.at(Bt).setValue(st,{onlySelf:!0,emitEvent:ye.emitEvent})}),this.updateValueAndValidity(ye)}patchValue(Ee,ye={}){null!=Ee&&(Ee.forEach((st,Bt)=>{this.at(Bt)&&this.at(Bt).patchValue(st,{onlySelf:!0,emitEvent:ye.emitEvent})}),this.updateValueAndValidity(ye))}reset(Ee=[],ye={}){this._forEachChild((st,Bt)=>{st.reset(Ee[Bt],{onlySelf:!0,emitEvent:ye.emitEvent})}),this._updatePristine(ye),this._updateTouched(ye),this.updateValueAndValidity(ye)}getRawValue(){return this.controls.map(Ee=>gt(Ee))}clear(Ee={}){this.controls.length<1||(this._forEachChild(ye=>ye._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ee.emitEvent}))}_syncPendingControls(){let Ee=this.controls.reduce((ye,st)=>!!st._syncPendingControls()||ye,!1);return Ee&&this.updateValueAndValidity({onlySelf:!0}),Ee}_forEachChild(Ee){this.controls.forEach((ye,st)=>{Ee(ye,st)})}_updateValue(){this.value=this.controls.filter(Ee=>Ee.enabled||this.disabled).map(Ee=>Ee.value)}_anyControls(Ee){return this.controls.some(ye=>ye.enabled&&Ee(ye))}_setUpControls(){this._forEachChild(Ee=>this._registerControl(Ee))}_allControlsDisabled(){for(const Ee of this.controls)if(Ee.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ee){Ee.setParent(this),Ee._registerOnCollectionChange(this._onCollectionChange)}}const Ri={provide:S,useExisting:(0,e.Gpc)(()=>Li)},bi=(()=>Promise.resolve(null))();let Li=(()=>{class xe extends S{constructor(ye,st){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new ei({},Oe(ye),He(st))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ye){bi.then(()=>{const st=this._findContainer(ye.path);ye.control=st.registerControl(ye.name,ye.control),Je(ye.control,ye),ye.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ye)})}getControl(ye){return this.form.get(ye.path)}removeControl(ye){bi.then(()=>{const st=this._findContainer(ye.path);st&&st.removeControl(ye.name),this._directives.delete(ye)})}addFormGroup(ye){bi.then(()=>{const st=this._findContainer(ye.path),Bt=new ei({});_e(Bt,ye),st.registerControl(ye.name,Bt),Bt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ye){bi.then(()=>{const st=this._findContainer(ye.path);st&&st.removeControl(ye.name)})}getFormGroup(ye){return this.form.get(ye.path)}updateModel(ye,st){bi.then(()=>{this.form.get(ye.path).setValue(st)})}setValue(ye){this.control.setValue(ye)}onSubmit(ye){return this.submitted=!0,Et(this.form,this._directives),this.ngSubmit.emit(ye),!1}onReset(){this.resetForm()}resetForm(ye){this.form.reset(ye),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ye){return ye.pop(),ye.length?this.form.get(ye):this.form}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(ce,10),e.Y36(Le,10))},xe.\u0275dir=e.lG2({type:xe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(ye,st){1&ye&&e.NdJ("submit",function(ci){return st.onSubmit(ci)})("reset",function(){return st.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Ri]),e.qOj]}),xe})();const fn={provide:D,useExisting:(0,e.Gpc)(()=>qi)},sn=(()=>Promise.resolve(null))();let qi=(()=>{class xe extends D{constructor(ye,st,Bt,ci,Bi){super(),this._changeDetectorRef=Bi,this.control=new Mt,this._registered=!1,this.update=new e.vpe,this._parent=ye,this._setValidators(st),this._setAsyncValidators(Bt),this.valueAccessor=At(0,ci)}ngOnChanges(ye){if(this._checkForErrors(),!this._registered||"name"in ye){if(this._registered&&(this._checkName(),this.formDirective)){const st=ye.name.previousValue;this.formDirective.removeControl({name:st,path:this._getPath(st)})}this._setUpControl()}"isDisabled"in ye&&this._updateDisabled(ye),Vt(ye,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(ye){this.viewModel=ye,this.update.emit(ye)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Je(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(ye){sn.then(()=>{var st;this.control.setValue(ye,{emitViewToModelChange:!1}),null===(st=this._changeDetectorRef)||void 0===st||st.markForCheck()})}_updateDisabled(ye){const st=ye.isDisabled.currentValue,Bt=""===st||st&&"false"!==st;sn.then(()=>{var ci;Bt&&!this.control.disabled?this.control.disable():!Bt&&this.control.disabled&&this.control.enable(),null===(ci=this._changeDetectorRef)||void 0===ci||ci.markForCheck()})}_getPath(ye){return this._parent?_t(ye,this._parent):[ye]}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(S,9),e.Y36(ce,10),e.Y36(Le,10),e.Y36(b,10),e.Y36(e.sBO,8))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([fn]),e.qOj,e.TTD]}),xe})(),Ct=(()=>{class xe{}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275dir=e.lG2({type:xe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),xe})();const $t={provide:b,useExisting:(0,e.Gpc)(()=>Y),multi:!0};let Y=(()=>{class xe extends s{writeValue(ye){this.setProperty("value",null==ye?"":ye)}registerOnChange(ye){this.onChange=st=>{ye(""==st?null:parseFloat(st))}}}return xe.\u0275fac=function(){let Ee;return function(st){return(Ee||(Ee=e.n5z(xe)))(st||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(ye,st){1&ye&&e.NdJ("input",function(ci){return st.onChange(ci.target.value)})("blur",function(){return st.onTouched()})},features:[e._Bn([$t]),e.qOj]}),xe})(),ct=(()=>{class xe{}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275mod=e.oAB({type:xe}),xe.\u0275inj=e.cJS({}),xe})();const zi=new e.OlP("NgModelWithFormControlWarning"),mn={provide:D,useExisting:(0,e.Gpc)(()=>In)};let In=(()=>{class xe extends D{constructor(ye,st,Bt,ci){super(),this._ngModelWarningConfig=ci,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(ye),this._setAsyncValidators(st),this.valueAccessor=At(0,Bt)}set isDisabled(ye){}ngOnChanges(ye){if(this._isControlChanged(ye)){const st=ye.form.previousValue;st&&Lt(st,this,!1),Je(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Vt(ye,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Lt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ye){this.viewModel=ye,this.update.emit(ye)}_isControlChanged(ye){return ye.hasOwnProperty("form")}}return xe._ngModelWarningSentOnce=!1,xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(ce,10),e.Y36(Le,10),e.Y36(b,10),e.Y36(zi,8))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([mn]),e.qOj,e.TTD]}),xe})();const Wi={provide:S,useExisting:(0,e.Gpc)(()=>$n)};let $n=(()=>{class xe extends S{constructor(ye,st){super(),this.validators=ye,this.asyncValidators=st,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(ye),this._setAsyncValidators(st)}ngOnChanges(ye){this._checkFormPresent(),ye.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ye(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ye){const st=this.form.get(ye.path);return Je(st,ye),st.updateValueAndValidity({emitEvent:!1}),this.directives.push(ye),st}getControl(ye){return this.form.get(ye.path)}removeControl(ye){Lt(ye.control||null,ye,!1),Ot(this.directives,ye)}addFormGroup(ye){this._setUpFormContainer(ye)}removeFormGroup(ye){this._cleanUpFormContainer(ye)}getFormGroup(ye){return this.form.get(ye.path)}addFormArray(ye){this._setUpFormContainer(ye)}removeFormArray(ye){this._cleanUpFormContainer(ye)}getFormArray(ye){return this.form.get(ye.path)}updateModel(ye,st){this.form.get(ye.path).setValue(st)}onSubmit(ye){return this.submitted=!0,Et(this.form,this.directives),this.ngSubmit.emit(ye),!1}onReset(){this.resetForm()}resetForm(ye){this.form.reset(ye),this.submitted=!1}_updateDomValue(){this.directives.forEach(ye=>{const st=ye.control,Bt=this.form.get(ye.path);st!==Bt&&(Lt(st||null,ye),Tt(Bt)&&(Je(Bt,ye),ye.control=Bt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ye){const st=this.form.get(ye.path);_e(st,ye),st.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ye){if(this.form){const st=this.form.get(ye.path);st&&function Ue(xe,Ee){return Ye(xe,Ee)}(st,ye)&&st.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){qe(this.form,this),this._oldForm&&Ye(this._oldForm,this)}_checkFormPresent(){}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(ce,10),e.Y36(Le,10))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formGroup",""]],hostBindings:function(ye,st){1&ye&&e.NdJ("submit",function(ci){return st.onSubmit(ci)})("reset",function(){return st.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Wi]),e.qOj,e.TTD]}),xe})();const ys={provide:D,useExisting:(0,e.Gpc)(()=>vs)};let vs=(()=>{class xe extends D{constructor(ye,st,Bt,ci,Bi){super(),this._ngModelWarningConfig=Bi,this._added=!1,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=ye,this._setValidators(st),this._setAsyncValidators(Bt),this.valueAccessor=At(0,ci)}set isDisabled(ye){}ngOnChanges(ye){this._added||this._setUpControl(),Vt(ye,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ye){this.viewModel=ye,this.update.emit(ye)}get path(){return _t(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return xe._ngModelWarningSentOnce=!1,xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(S,13),e.Y36(ce,10),e.Y36(Le,10),e.Y36(b,10),e.Y36(zi,8))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([ys]),e.qOj,e.TTD]}),xe})();const ss={provide:b,useExisting:(0,e.Gpc)(()=>wn),multi:!0};function os(xe,Ee){return null==xe?`${Ee}`:(Ee&&"object"==typeof Ee&&(Ee="Object"),`${xe}: ${Ee}`.slice(0,50))}let wn=(()=>{class xe extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ye){this._compareWith=ye}writeValue(ye){this.value=ye;const Bt=os(this._getOptionId(ye),ye);this.setProperty("value",Bt)}registerOnChange(ye){this.onChange=st=>{this.value=this._getOptionValue(st),ye(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ye){for(const st of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(st),ye))return st;return null}_getOptionValue(ye){const st=function Ts(xe){return xe.split(":")[0]}(ye);return this._optionMap.has(st)?this._optionMap.get(st):ye}}return xe.\u0275fac=function(){let Ee;return function(st){return(Ee||(Ee=e.n5z(xe)))(st||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(ye,st){1&ye&&e.NdJ("change",function(ci){return st.onChange(ci.target.value)})("blur",function(){return st.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([ss]),e.qOj]}),xe})(),Cs=(()=>{class xe{constructor(ye,st,Bt){this._element=ye,this._renderer=st,this._select=Bt,this._select&&(this.id=this._select._registerOption())}set ngValue(ye){null!=this._select&&(this._select._optionMap.set(this.id,ye),this._setElementValue(os(this.id,ye)),this._select.writeValue(this._select.value))}set value(ye){this._setElementValue(ye),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ye){this._renderer.setProperty(this._element.nativeElement,"value",ye)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(wn,9))},xe.\u0275dir=e.lG2({type:xe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),xe})();const gn={provide:b,useExisting:(0,e.Gpc)(()=>Xn),multi:!0};function Fn(xe,Ee){return null==xe?`${Ee}`:("string"==typeof Ee&&(Ee=`'${Ee}'`),Ee&&"object"==typeof Ee&&(Ee="Object"),`${xe}: ${Ee}`.slice(0,50))}let Xn=(()=>{class xe extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ye){this._compareWith=ye}writeValue(ye){let st;if(this.value=ye,Array.isArray(ye)){const Bt=ye.map(ci=>this._getOptionId(ci));st=(ci,Bi)=>{ci._setSelected(Bt.indexOf(Bi.toString())>-1)}}else st=(Bt,ci)=>{Bt._setSelected(!1)};this._optionMap.forEach(st)}registerOnChange(ye){this.onChange=st=>{const Bt=[],ci=st.selectedOptions;if(void 0!==ci){const Bi=ci;for(let ln=0;ln{class xe{constructor(ye,st,Bt){this._element=ye,this._renderer=st,this._select=Bt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ye){null!=this._select&&(this._value=ye,this._setElementValue(Fn(this.id,ye)),this._select.writeValue(this._select.value))}set value(ye){this._select?(this._value=ye,this._setElementValue(Fn(this.id,ye)),this._select.writeValue(this._select.value)):this._setElementValue(ye)}_setElementValue(ye){this._renderer.setProperty(this._element.nativeElement,"value",ye)}_setSelected(ye){this._renderer.setProperty(this._element.nativeElement,"selected",ye)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(Xn,9))},xe.\u0275dir=e.lG2({type:xe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),xe})(),Sn=(()=>{class xe{constructor(){this._validator=Fe}ngOnChanges(ye){if(this.inputName in ye){const st=this.normalizeInput(ye[this.inputName].currentValue);this._enabled=this.enabled(st),this._validator=this._enabled?this.createValidator(st):Fe,this._onChange&&this._onChange()}}validate(ye){return this._validator(ye)}registerOnValidatorChange(ye){this._onChange=ye}enabled(ye){return null!=ye}}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275dir=e.lG2({type:xe,features:[e.TTD]}),xe})();const Un={provide:ce,useExisting:(0,e.Gpc)(()=>ot),multi:!0},ws={provide:ce,useExisting:(0,e.Gpc)(()=>B),multi:!0};let ot=(()=>{class xe extends Sn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=ye=>function hs(xe){return null!=xe&&!1!==xe&&"false"!=`${xe}`}(ye),this.createValidator=ye=>H}enabled(ye){return ye}}return xe.\u0275fac=function(){let Ee;return function(st){return(Ee||(Ee=e.n5z(xe)))(st||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(ye,st){2&ye&&e.uIk("required",st._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([Un]),e.qOj]}),xe})(),B=(()=>{class xe extends ot{constructor(){super(...arguments),this.createValidator=ye=>Q}}return xe.\u0275fac=function(){let Ee;return function(st){return(Ee||(Ee=e.n5z(xe)))(st||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(ye,st){2&ye&&e.uIk("required",st._enabled?"":null)},features:[e._Bn([ws]),e.qOj]}),xe})();const ie={provide:ce,useExisting:(0,e.Gpc)(()=>Ge),multi:!0};let Ge=(()=>{class xe extends Sn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ye=>ye,this.createValidator=ye=>Ne(ye)}}return xe.\u0275fac=function(){let Ee;return function(st){return(Ee||(Ee=e.n5z(xe)))(st||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(ye,st){2&ye&&e.uIk("pattern",st._enabled?st.pattern:null)},inputs:{pattern:"pattern"},features:[e._Bn([ie]),e.qOj]}),xe})(),ii=(()=>{class xe{}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275mod=e.oAB({type:xe}),xe.\u0275inj=e.cJS({imports:[[ct]]}),xe})(),ai=(()=>{class xe{}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275mod=e.oAB({type:xe}),xe.\u0275inj=e.cJS({imports:[ii]}),xe})(),hi=(()=>{class xe{static withConfig(ye){return{ngModule:xe,providers:[{provide:zi,useValue:ye.warnOnNgModelWithFormControl}]}}}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275mod=e.oAB({type:xe}),xe.\u0275inj=e.cJS({imports:[ii]}),xe})(),yi=(()=>{class xe{group(ye,st=null){const Bt=this._reduceControls(ye);let ln,ci=null,Bi=null;return null!=st&&(function mi(xe){return void 0!==xe.asyncValidators||void 0!==xe.validators||void 0!==xe.updateOn}(st)?(ci=null!=st.validators?st.validators:null,Bi=null!=st.asyncValidators?st.asyncValidators:null,ln=null!=st.updateOn?st.updateOn:void 0):(ci=null!=st.validator?st.validator:null,Bi=null!=st.asyncValidator?st.asyncValidator:null)),new ei(Bt,{asyncValidators:Bi,updateOn:ln,validators:ci})}control(ye,st,Bt){return new Mt(ye,st,Bt)}array(ye,st,Bt){const ci=ye.map(Bi=>this._createControl(Bi));return new Qt(ci,st,Bt)}_reduceControls(ye){const st={};return Object.keys(ye).forEach(Bt=>{st[Bt]=this._createControl(ye[Bt])}),st}_createControl(ye){return Tt(ye)||Qe(ye)||Ze(ye)?ye:Array.isArray(ye)?this.control(ye[0],ye.length>1?ye[1]:null,ye.length>2?ye[2]:null):this.control(ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275prov=e.Yz7({token:xe,factory:xe.\u0275fac,providedIn:hi}),xe})()},91079:(Ke,be,d)=>{"use strict";d.d(be,{XC:()=>R,Bb:()=>N,ZL:()=>Xe});var e=d(15664),f=d(63191),g=d(5e3),T=d(90508),m=d(42654),A=d(8929),s=d(88514),b=d(36787),O=d(21086),E=d(23753),h=d(70925),k=d(69808),L=d(92845),V=d(53435),$=d(91159),ue=d(47429),ce=d(93075),Le=d(67322),de=d(1059),ke=d(87545),ae=d(72986),j=d(92198),H=d(24850),Q=d(22868),te=d(40943),se=d(50226);const ge=["panel"];function Ne(he,D){if(1&he&&(g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA()),2&he){const S=D.id,I=g.oxw();g.Q6J("id",I.id)("ngClass",I._classList),g.uIk("aria-label",I.ariaLabel||null)("aria-labelledby",I._getPanelAriaLabelledby(S))}}const Fe=["*"];let ne=0;class Me{constructor(D,S){this.source=D,this.option=S}}const ve=(0,T.Kr)(class{}),me=new g.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function Te(){return{autoActiveFirstOption:!1}}});let ee=(()=>{class he extends ve{constructor(S,I,P,i){super(),this._changeDetectorRef=S,this._elementRef=I,this._activeOptionChanges=m.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new g.vpe,this.opened=new g.vpe,this.closed=new g.vpe,this.optionActivated=new g.vpe,this._classList={},this.id="mat-autocomplete-"+ne++,this.inertGroups=(null==i?void 0:i.SAFARI)||!1,this._autoActiveFirstOption=!!P.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(S){this._autoActiveFirstOption=(0,f.Ig)(S)}set classList(S){this._classList=S&&S.length?(0,f.du)(S).reduce((I,P)=>(I[P]=!0,I),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new e.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(S=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[S]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(S){this.panel&&(this.panel.nativeElement.scrollTop=S)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(S){const I=new Me(this,S);this.optionSelected.emit(I)}_getPanelAriaLabelledby(S){return this.ariaLabel?null:this.ariaLabelledby?(S?S+" ":"")+this.ariaLabelledby:S}_setVisibilityClasses(S){S[this._visibleClass]=this.showPanel,S[this._hiddenClass]=!this.showPanel}}return he.\u0275fac=function(S){return new(S||he)(g.Y36(g.sBO),g.Y36(g.SBq),g.Y36(me),g.Y36(h.t4))},he.\u0275dir=g.lG2({type:he,viewQuery:function(S,I){if(1&S&&(g.Gf(g.Rgc,7),g.Gf(ge,5)),2&S){let P;g.iGM(P=g.CRH())&&(I.template=P.first),g.iGM(P=g.CRH())&&(I.panel=P.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[g.qOj]}),he})(),R=(()=>{class he extends ee{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return he.\u0275fac=function(){let D;return function(I){return(D||(D=g.n5z(he)))(I||he)}}(),he.\u0275cmp=g.Xpm({type:he,selectors:[["mat-autocomplete"]],contentQueries:function(S,I,P){if(1&S&&(g.Suo(P,T.K7,5),g.Suo(P,T.ey,5)),2&S){let i;g.iGM(i=g.CRH())&&(I.optionGroups=i),g.iGM(i=g.CRH())&&(I.options=i)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[g._Bn([{provide:T.HF,useExisting:he}]),g.qOj],ngContentSelectors:Fe,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(S,I){1&S&&(g.F$t(),g.YNc(0,Ne,3,4,"ng-template"))},directives:[k.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),he})();const Oe=new g.OlP("mat-autocomplete-scroll-strategy"),He={provide:Oe,deps:[L.aV],useFactory:function Ie(he){return()=>he.scrollStrategies.reposition()}},fe={provide:ce.JU,useExisting:(0,g.Gpc)(()=>Xe),multi:!0};let Ve=(()=>{class he{constructor(S,I,P,i,r,p,o,t,n,c,u){this._element=S,this._overlay=I,this._viewContainerRef=P,this._zone=i,this._changeDetectorRef=r,this._dir=o,this._formField=t,this._document=n,this._viewportRuler=c,this._defaults=u,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=m.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new A.xQ,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,s.P)(()=>{const y=this.autocomplete?this.autocomplete.options:null;return y?y.changes.pipe((0,de.O)(y),(0,ke.w)(()=>(0,b.T)(...y.map(M=>M.onSelectionChange)))):this._zone.onStable.pipe((0,ae.q)(1),(0,ke.w)(()=>this.optionSelections))}),this._scrollStrategy=p}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(S){this._autocompleteDisabled=(0,f.Ig)(S)}ngAfterViewInit(){const S=this._getWindow();void 0!==S&&this._zone.runOutsideAngular(()=>S.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(S){S.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const S=this._getWindow();void 0!==S&&S.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,b.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,j.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,j.h)(()=>this._overlayAttached)):(0,O.of)()).pipe((0,H.U)(S=>S instanceof T.rN?S:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,b.T)((0,E.R)(this._document,"click"),(0,E.R)(this._document,"auxclick"),(0,E.R)(this._document,"touchend")).pipe((0,j.h)(S=>{const I=(0,h.sA)(S),P=this._formField?this._formField._elementRef.nativeElement:null,i=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&I!==this._element.nativeElement&&(!P||!P.contains(I))&&(!i||!i.contains(I))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(I)}))}writeValue(S){Promise.resolve().then(()=>this._setTriggerValue(S))}registerOnChange(S){this._onChange=S}registerOnTouched(S){this._onTouched=S}setDisabledState(S){this._element.nativeElement.disabled=S}_handleKeydown(S){const I=S.keyCode;if(I===$.hY&&!(0,$.Vb)(S)&&S.preventDefault(),this.activeOption&&I===$.K5&&this.panelOpen&&!(0,$.Vb)(S))this.activeOption._selectViaInteraction(),this._resetActiveItem(),S.preventDefault();else if(this.autocomplete){const P=this.autocomplete._keyManager.activeItem,i=I===$.LH||I===$.JH;this.panelOpen||I===$.Mf?this.autocomplete._keyManager.onKeydown(S):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==P)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(S){let I=S.target,P=I.value;"number"===I.type&&(P=""==P?null:parseFloat(P)),this._previousValue!==P&&(this._previousValue=P,this._onChange(P),this._canOpen()&&this._document.activeElement===S.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(S=!1){this._formField&&"auto"===this._formField.floatLabel&&(S?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const S=this._zone.onStable.pipe((0,ae.q)(1)),I=this.autocomplete.options.changes.pipe((0,Q.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,te.g)(0));return(0,b.T)(S,I).pipe((0,ke.w)(()=>{const P=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),P!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,ae.q)(1)).subscribe(P=>this._setValueAndClose(P))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(S){const I=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(S):S,P=null!=I?I:"";this._formField?this._formField._control.value=P:this._element.nativeElement.value=P,this._previousValue=P}_setValueAndClose(S){const I=S&&S.source;I&&(this._clearPreviousSelectedOption(I),this._setTriggerValue(I.value),this._onChange(I.value),this.autocomplete._emitSelectEvent(I),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(S){this.autocomplete.options.forEach(I=>{I!==S&&I.selected&&I.deselect()})}_attachOverlay(){var S;let I=this._overlayRef;I?(this._positionStrategy.setOrigin(this._getConnectedElement()),I.updateSize({width:this._getPanelWidth()})):(this._portal=new ue.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(S=this._formField)||void 0===S?void 0:S.getLabelId()}),I=this._overlay.create(this._getOverlayConfig()),this._overlayRef=I,I.keydownEvents().subscribe(i=>{(i.keyCode===$.hY&&!(0,$.Vb)(i)||i.keyCode===$.LH&&(0,$.Vb)(i,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),i.stopPropagation(),i.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&I&&I.updateSize({width:this._getPanelWidth()})})),I&&!I.hasAttached()&&(I.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const P=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&P!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var S;return new L.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(S=this._defaults)||void 0===S?void 0:S.overlayPanelClass})}_getOverlayPosition(){const S=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(S),this._positionStrategy=S,S}_setStrategyPositions(S){const I=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],P=this._aboveClass,i=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:P},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:P}];let r;r="above"===this.position?i:"below"===this.position?I:[...I,...i],S.withPositions(r)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const S=this.autocomplete;S.autoActiveFirstOption?S._keyManager.setFirstItemActive():S._keyManager.setActiveItem(-1)}_canOpen(){const S=this._element.nativeElement;return!S.readOnly&&!S.disabled&&!this._autocompleteDisabled}_getWindow(){var S;return(null===(S=this._document)||void 0===S?void 0:S.defaultView)||window}_scrollToOption(S){const I=this.autocomplete,P=(0,T.CB)(S,I.options,I.optionGroups);if(0===S&&1===P)I._setScrollTop(0);else if(I.panel){const i=I.options.toArray()[S];if(i){const r=i._getHostElement(),p=(0,T.jH)(r.offsetTop,r.offsetHeight,I._getScrollTop(),I.panel.nativeElement.offsetHeight);I._setScrollTop(p)}}}}return he.\u0275fac=function(S){return new(S||he)(g.Y36(g.SBq),g.Y36(L.aV),g.Y36(g.s_b),g.Y36(g.R0b),g.Y36(g.sBO),g.Y36(Oe),g.Y36(se.Is,8),g.Y36(Le.G_,9),g.Y36(k.K0,8),g.Y36(V.rL),g.Y36(me,8))},he.\u0275dir=g.lG2({type:he,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[g.TTD]}),he})(),Xe=(()=>{class he extends Ve{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return he.\u0275fac=function(){let D;return function(I){return(D||(D=g.n5z(he)))(I||he)}}(),he.\u0275dir=g.lG2({type:he,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(S,I){1&S&&g.NdJ("focusin",function(){return I._handleFocus()})("blur",function(){return I._onTouched()})("input",function(i){return I._handleInput(i)})("keydown",function(i){return I._handleKeydown(i)}),2&S&&g.uIk("autocomplete",I.autocompleteAttribute)("role",I.autocompleteDisabled?null:"combobox")("aria-autocomplete",I.autocompleteDisabled?null:"list")("aria-activedescendant",I.panelOpen&&I.activeOption?I.activeOption.id:null)("aria-expanded",I.autocompleteDisabled?null:I.panelOpen.toString())("aria-owns",I.autocompleteDisabled||!I.panelOpen||null==I.autocomplete?null:I.autocomplete.id)("aria-haspopup",!I.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[g._Bn([fe]),g.qOj]}),he})(),N=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275mod=g.oAB({type:he}),he.\u0275inj=g.cJS({providers:[He],imports:[[L.U8,T.Ng,T.BQ,k.ez],V.ZD,T.Ng,T.BQ]}),he})()},27544:(Ke,be,d)=>{"use strict";d.d(be,{k:()=>O,g:()=>E});var e=d(5e3),f=d(90508),g=d(15664),T=d(63191),m=d(76360);let A=0;const s=(0,f.Id)(class{}),b="mat-badge-content";let O=(()=>{class h extends s{constructor(L,V,$,ue,ce){super(),this._ngZone=L,this._elementRef=V,this._ariaDescriber=$,this._renderer=ue,this._animationMode=ce,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=A++,this._isInitialized=!1}get color(){return this._color}set color(L){this._setColor(L),this._color=L}get overlap(){return this._overlap}set overlap(L){this._overlap=(0,T.Ig)(L)}get content(){return this._content}set content(L){this._updateRenderedContent(L)}get description(){return this._description}set description(L){this._updateHostAriaDescription(L)}get hidden(){return this._hidden}set hidden(L){this._hidden=(0,T.Ig)(L)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const L=this._renderer.createElement("span"),V="mat-badge-active";return L.setAttribute("id",`mat-badge-content-${this._id}`),L.setAttribute("aria-hidden","true"),L.classList.add(b),"NoopAnimations"===this._animationMode&&L.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(L),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{L.classList.add(V)})}):L.classList.add(V),L}_updateRenderedContent(L){const V=`${null!=L?L:""}`.trim();this._isInitialized&&V&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=V),this._content=V}_updateHostAriaDescription(L){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),L&&this._ariaDescriber.describe(this._elementRef.nativeElement,L),this._description=L}_setColor(L){const V=this._elementRef.nativeElement.classList;V.remove(`mat-badge-${this._color}`),L&&V.add(`mat-badge-${L}`)}_clearExistingBadges(){const L=this._elementRef.nativeElement.querySelectorAll(`:scope > .${b}`);for(const V of Array.from(L))V!==this._badgeElement&&V.remove()}}return h.\u0275fac=function(L){return new(L||h)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(g.$s),e.Y36(e.Qsj),e.Y36(m.Qb,8))},h.\u0275dir=e.lG2({type:h,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(L,V){2&L&&e.ekj("mat-badge-overlap",V.overlap)("mat-badge-above",V.isAbove())("mat-badge-below",!V.isAbove())("mat-badge-before",!V.isAfter())("mat-badge-after",V.isAfter())("mat-badge-small","small"===V.size)("mat-badge-medium","medium"===V.size)("mat-badge-large","large"===V.size)("mat-badge-hidden",V.hidden||!V.content)("mat-badge-disabled",V.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[e.qOj]}),h})(),E=(()=>{class h{}return h.\u0275fac=function(L){return new(L||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[[g.rt,f.BQ],f.BQ]}),h})()},47423:(Ke,be,d)=>{"use strict";d.d(be,{lW:()=>h,ot:()=>L});var e=d(5e3),f=d(90508),g=d(76360),T=d(15664);const m=["mat-button",""],A=["*"],O=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],E=(0,f.pj)((0,f.Id)((0,f.Kr)(class{constructor(V){this._elementRef=V}})));let h=(()=>{class V extends E{constructor(ue,ce,Le){super(ue),this._focusMonitor=ce,this._animationMode=Le,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const de of O)this._hasHostAttributes(de)&&this._getHostElement().classList.add(de);ue.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(ue,ce){ue?this._focusMonitor.focusVia(this._getHostElement(),ue,ce):this._getHostElement().focus(ce)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...ue){return ue.some(ce=>this._getHostElement().hasAttribute(ce))}}return V.\u0275fac=function(ue){return new(ue||V)(e.Y36(e.SBq),e.Y36(T.tE),e.Y36(g.Qb,8))},V.\u0275cmp=e.Xpm({type:V,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(ue,ce){if(1&ue&&e.Gf(f.wG,5),2&ue){let Le;e.iGM(Le=e.CRH())&&(ce.ripple=Le.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(ue,ce){2&ue&&(e.uIk("disabled",ce.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===ce._animationMode)("mat-button-disabled",ce.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:m,ngContentSelectors:A,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(ue,ce){1&ue&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA(),e._UZ(2,"span",1),e._UZ(3,"span",2)),2&ue&&(e.xp6(2),e.ekj("mat-button-ripple-round",ce.isRoundButton||ce.isIconButton),e.Q6J("matRippleDisabled",ce._isRippleDisabled())("matRippleCentered",ce.isIconButton)("matRippleTrigger",ce._getHostElement()))},directives:[f.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),V})(),L=(()=>{class V{}return V.\u0275fac=function(ue){return new(ue||V)},V.\u0275mod=e.oAB({type:V}),V.\u0275inj=e.cJS({imports:[[f.si,f.BQ],f.BQ]}),V})()},9224:(Ke,be,d)=>{"use strict";d.d(be,{a8:()=>ae,kc:()=>ke,dn:()=>E,dk:()=>j,QW:()=>Q,$j:()=>k,n5:()=>h});var e=d(5e3),f=d(76360),g=d(90508);const T=["*",[["mat-card-footer"]]],m=["*","mat-card-footer"],A=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],s=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let E=(()=>{class te{}return te.\u0275fac=function(ge){return new(ge||te)},te.\u0275dir=e.lG2({type:te,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),te})(),h=(()=>{class te{}return te.\u0275fac=function(ge){return new(ge||te)},te.\u0275dir=e.lG2({type:te,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),te})(),k=(()=>{class te{}return te.\u0275fac=function(ge){return new(ge||te)},te.\u0275dir=e.lG2({type:te,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),te})(),ke=(()=>{class te{}return te.\u0275fac=function(ge){return new(ge||te)},te.\u0275dir=e.lG2({type:te,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),te})(),ae=(()=>{class te{constructor(ge){this._animationMode=ge}}return te.\u0275fac=function(ge){return new(ge||te)(e.Y36(f.Qb,8))},te.\u0275cmp=e.Xpm({type:te,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(ge,Ne){2&ge&&e.ekj("_mat-animation-noopable","NoopAnimations"===Ne._animationMode)},exportAs:["matCard"],ngContentSelectors:m,decls:2,vars:0,template:function(ge,Ne){1&ge&&(e.F$t(T),e.Hsn(0),e.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-animation-noopable.mat-card{transition:none;animation:none}.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}\n"],encapsulation:2,changeDetection:0}),te})(),j=(()=>{class te{}return te.\u0275fac=function(ge){return new(ge||te)},te.\u0275cmp=e.Xpm({type:te,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:s,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(ge,Ne){1&ge&&(e.F$t(A),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0}),te})(),Q=(()=>{class te{}return te.\u0275fac=function(ge){return new(ge||te)},te.\u0275mod=e.oAB({type:te}),te.\u0275inj=e.cJS({imports:[[g.BQ],g.BQ]}),te})()},77446:(Ke,be,d)=>{"use strict";d.d(be,{oG:()=>Le,p9:()=>j});var e=d(63191),f=d(5e3),g=d(93075),T=d(90508),m=d(76360),A=d(15664),s=d(17144);const b=["input"],O=function(H){return{enterDuration:H}},E=["*"],h=new f.OlP("mat-checkbox-default-options",{providedIn:"root",factory:k});function k(){return{color:"accent",clickAction:"check-indeterminate"}}let L=0;const V=k(),$={provide:g.JU,useExisting:(0,f.Gpc)(()=>Le),multi:!0};class ue{}const ce=(0,T.sb)((0,T.pj)((0,T.Kr)((0,T.Id)(class{constructor(H){this._elementRef=H}}))));let Le=(()=>{class H extends ce{constructor(te,se,ge,Ne,Fe,ne,Me){super(te),this._changeDetectorRef=se,this._focusMonitor=ge,this._ngZone=Ne,this._animationMode=ne,this._options=Me,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++L,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new f.vpe,this.indeterminateChange=new f.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||V,this.color=this.defaultColor=this._options.color||V.color,this.tabIndex=parseInt(Fe)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(te){this._required=(0,e.Ig)(te)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(te=>{te||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(te){te!=this.checked&&(this._checked=te,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(te){const se=(0,e.Ig)(te);se!==this.disabled&&(this._disabled=se,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(te){const se=te!=this._indeterminate;this._indeterminate=(0,e.Ig)(te),se&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(te){this.checked=!!te}registerOnChange(te){this._controlValueAccessorChangeFn=te}registerOnTouched(te){this._onTouched=te}setDisabledState(te){this.disabled=te}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(te){let se=this._currentCheckState,ge=this._elementRef.nativeElement;if(se!==te&&(this._currentAnimationClass.length>0&&ge.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(se,te),this._currentCheckState=te,this._currentAnimationClass.length>0)){ge.classList.add(this._currentAnimationClass);const Ne=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{ge.classList.remove(Ne)},1e3)})}}_emitChangeEvent(){const te=new ue;te.source=this,te.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(te),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(te){var se;const ge=null===(se=this._options)||void 0===se?void 0:se.clickAction;te.stopPropagation(),this.disabled||"noop"===ge?!this.disabled&&"noop"===ge&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==ge&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(te,se){te?this._focusMonitor.focusVia(this._inputElement,te,se):this._inputElement.nativeElement.focus(se)}_onInteractionEvent(te){te.stopPropagation()}_getAnimationClassForCheckStateTransition(te,se){if("NoopAnimations"===this._animationMode)return"";let ge="";switch(te){case 0:if(1===se)ge="unchecked-checked";else{if(3!=se)return"";ge="unchecked-indeterminate"}break;case 2:ge=1===se?"unchecked-checked":"unchecked-indeterminate";break;case 1:ge=2===se?"checked-unchecked":"checked-indeterminate";break;case 3:ge=1===se?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${ge}`}_syncIndeterminate(te){const se=this._inputElement;se&&(se.nativeElement.indeterminate=te)}}return H.\u0275fac=function(te){return new(te||H)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(A.tE),f.Y36(f.R0b),f.$8M("tabindex"),f.Y36(m.Qb,8),f.Y36(h,8))},H.\u0275cmp=f.Xpm({type:H,selectors:[["mat-checkbox"]],viewQuery:function(te,se){if(1&te&&(f.Gf(b,5),f.Gf(T.wG,5)),2&te){let ge;f.iGM(ge=f.CRH())&&(se._inputElement=ge.first),f.iGM(ge=f.CRH())&&(se.ripple=ge.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(te,se){2&te&&(f.Ikx("id",se.id),f.uIk("tabindex",null),f.ekj("mat-checkbox-indeterminate",se.indeterminate)("mat-checkbox-checked",se.checked)("mat-checkbox-disabled",se.disabled)("mat-checkbox-label-before","before"==se.labelPosition)("_mat-animation-noopable","NoopAnimations"===se._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[f._Bn([$]),f.qOj],ngContentSelectors:E,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(te,se){if(1&te&&(f.F$t(),f.TgZ(0,"label",0,1),f.TgZ(2,"span",2),f.TgZ(3,"input",3,4),f.NdJ("change",function(Ne){return se._onInteractionEvent(Ne)})("click",function(Ne){return se._onInputClick(Ne)}),f.qZA(),f.TgZ(5,"span",5),f._UZ(6,"span",6),f.qZA(),f._UZ(7,"span",7),f.TgZ(8,"span",8),f.O4$(),f.TgZ(9,"svg",9),f._UZ(10,"path",10),f.qZA(),f.kcU(),f._UZ(11,"span",11),f.qZA(),f.qZA(),f.TgZ(12,"span",12,13),f.NdJ("cdkObserveContent",function(){return se._onLabelTextChange()}),f.TgZ(14,"span",14),f._uU(15,"\xa0"),f.qZA(),f.Hsn(16),f.qZA(),f.qZA()),2&te){const ge=f.MAs(1),Ne=f.MAs(13);f.uIk("for",se.inputId),f.xp6(2),f.ekj("mat-checkbox-inner-container-no-side-margin",!Ne.textContent||!Ne.textContent.trim()),f.xp6(1),f.Q6J("id",se.inputId)("required",se.required)("checked",se.checked)("disabled",se.disabled)("tabIndex",se.tabIndex),f.uIk("value",se.value)("name",se.name)("aria-label",se.ariaLabel||null)("aria-labelledby",se.ariaLabelledby)("aria-checked",se._getAriaChecked())("aria-describedby",se.ariaDescribedby),f.xp6(2),f.Q6J("matRippleTrigger",ge)("matRippleDisabled",se._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",f.VKq(19,O,"NoopAnimations"===se._animationMode?0:150))}},directives:[T.wG,s.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),H})(),ae=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({}),H})(),j=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({imports:[[T.si,T.BQ,s.Q8,ae],T.BQ,ae]}),H})()},26688:(Ke,be,d)=>{"use strict";d.d(be,{HS:()=>ge,oH:()=>Me,qn:()=>ee,Hi:()=>Oe});var e=d(91159),f=d(5e3),g=d(90508),T=d(63191),m=d(69808),A=d(76360),s=d(8929),b=d(36787),O=d(72986),E=d(7625),h=d(1059),k=d(70925),L=d(15664),V=d(20449),$=d(93075),ue=d(67322),ce=d(50226);const Le=["*"],ke=new f.OlP("MatChipRemove"),ae=new f.OlP("MatChipAvatar"),j=new f.OlP("MatChipTrailingIcon");class H{constructor(He){this._elementRef=He}}const Q=(0,g.sb)((0,g.pj)((0,g.Kr)(H),"primary"),-1);let ge=(()=>{class Ie extends Q{constructor(fe,Ce,Ve,Xe,tt,rt,N,he){super(fe),this._ngZone=Ce,this._changeDetectorRef=tt,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new s.xQ,this._onBlur=new s.xQ,this.selectionChange=new f.vpe,this.destroyed=new f.vpe,this.removed=new f.vpe,this._addHostClassName(),this._chipRippleTarget=rt.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new g.IR(this,Ce,this._chipRippleTarget,Ve),this._chipRipple.setupTriggerEvents(fe),this.rippleConfig=Xe||{},this._animationsDisabled="NoopAnimations"===N,this.tabIndex=null!=he&&parseInt(he)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(fe){const Ce=(0,T.Ig)(fe);Ce!==this._selected&&(this._selected=Ce,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(fe){this._value=fe}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(fe){this._selectable=(0,T.Ig)(fe)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(fe){this._disabled=(0,T.Ig)(fe)}get removable(){return this._removable}set removable(fe){this._removable=(0,T.Ig)(fe)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const fe="mat-basic-chip",Ce=this._elementRef.nativeElement;Ce.hasAttribute(fe)||Ce.tagName.toLowerCase()===fe?Ce.classList.add(fe):Ce.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(fe=!1){return this._selected=!this.selected,this._dispatchSelectionChange(fe),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(fe){this.disabled&&fe.preventDefault()}_handleKeydown(fe){if(!this.disabled)switch(fe.keyCode){case e.yY:case e.ZH:this.remove(),fe.preventDefault();break;case e.L_:this.selectable&&this.toggleSelected(!0),fe.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,O.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(fe=!1){this.selectionChange.emit({source:this,isUserInput:fe,selected:this._selected})}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq),f.Y36(f.R0b),f.Y36(k.t4),f.Y36(g.Y2,8),f.Y36(f.sBO),f.Y36(m.K0),f.Y36(A.Qb,8),f.$8M("tabindex"))},Ie.\u0275dir=f.lG2({type:Ie,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(fe,Ce,Ve){if(1&fe&&(f.Suo(Ve,ae,5),f.Suo(Ve,j,5),f.Suo(Ve,ke,5)),2&fe){let Xe;f.iGM(Xe=f.CRH())&&(Ce.avatar=Xe.first),f.iGM(Xe=f.CRH())&&(Ce.trailingIcon=Xe.first),f.iGM(Xe=f.CRH())&&(Ce.removeIcon=Xe.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(fe,Ce){1&fe&&f.NdJ("click",function(Xe){return Ce._handleClick(Xe)})("keydown",function(Xe){return Ce._handleKeydown(Xe)})("focus",function(){return Ce.focus()})("blur",function(){return Ce._blur()}),2&fe&&(f.uIk("tabindex",Ce.disabled?null:Ce.tabIndex)("disabled",Ce.disabled||null)("aria-disabled",Ce.disabled.toString())("aria-selected",Ce.ariaSelected),f.ekj("mat-chip-selected",Ce.selected)("mat-chip-with-avatar",Ce.avatar)("mat-chip-with-trailing-icon",Ce.trailingIcon||Ce.removeIcon)("mat-chip-disabled",Ce.disabled)("_mat-animation-noopable",Ce._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[f.qOj]}),Ie})();const Fe=new f.OlP("mat-chips-default-options");let ne=0,Me=(()=>{class Ie{constructor(fe,Ce){this._elementRef=fe,this._defaultOptions=Ce,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new f.vpe,this.placeholder="",this.id="mat-chip-list-input-"+ne++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(fe){fe&&(this._chipList=fe,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(fe){this._addOnBlur=(0,T.Ig)(fe)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(fe){this._disabled=(0,T.Ig)(fe)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(fe){if(fe){if(fe.keyCode===e.Mf&&!(0,e.Vb)(fe,"shiftKey")&&this._chipList._allowFocusEscape(),fe.keyCode===e.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void fe.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(fe)}_keyup(fe){!this._focusLastChipOnBackspace&&fe.keyCode===e.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,fe.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(fe){!this.inputElement.value&&!!fe&&this._chipList._keydown(fe),(!fe||this._isSeparatorKey(fe))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==fe||fe.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(fe){this.inputElement.focus(fe)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(fe){return!(0,e.Vb)(fe)&&new Set(this.separatorKeyCodes).has(fe.keyCode)}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq),f.Y36(Fe))},Ie.\u0275dir=f.lG2({type:Ie,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(fe,Ce){1&fe&&f.NdJ("keydown",function(Xe){return Ce._keydown(Xe)})("keyup",function(Xe){return Ce._keyup(Xe)})("blur",function(){return Ce._blur()})("focus",function(){return Ce._focus()})("input",function(){return Ce._onInput()}),2&fe&&(f.Ikx("id",Ce.id),f.uIk("disabled",Ce.disabled||null)("placeholder",Ce.placeholder||null)("aria-invalid",Ce._chipList&&Ce._chipList.ngControl?Ce._chipList.ngControl.invalid:null)("aria-required",Ce._chipList&&Ce._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[f.TTD]}),Ie})();const ve=(0,g.FD)(class{constructor(Ie,He,fe,Ce){this._defaultErrorStateMatcher=Ie,this._parentForm=He,this._parentFormGroup=fe,this.ngControl=Ce}});let me=0;class Te{constructor(He,fe){this.source=He,this.value=fe}}let ee=(()=>{class Ie extends ve{constructor(fe,Ce,Ve,Xe,tt,rt,N){super(rt,Xe,tt,N),this._elementRef=fe,this._changeDetectorRef=Ce,this._dir=Ve,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new s.xQ,this._uid="mat-chip-list-"+me++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(he,D)=>he===D,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new f.vpe,this.valueChange=new f.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var fe,Ce;return this.multiple?(null===(fe=this._selectionModel)||void 0===fe?void 0:fe.selected)||[]:null===(Ce=this._selectionModel)||void 0===Ce?void 0:Ce.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(fe){this._multiple=(0,T.Ig)(fe),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(fe){this._compareWith=fe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(fe){this.writeValue(fe),this._value=fe}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var fe,Ce,Ve,Xe;return null!==(Xe=null!==(fe=this._required)&&void 0!==fe?fe:null===(Ve=null===(Ce=this.ngControl)||void 0===Ce?void 0:Ce.control)||void 0===Ve?void 0:Ve.hasValidator($.kI.required))&&void 0!==Xe&&Xe}set required(fe){this._required=(0,T.Ig)(fe),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(fe){this._placeholder=fe,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(fe){this._disabled=(0,T.Ig)(fe),this._syncChipsState()}get selectable(){return this._selectable}set selectable(fe){this._selectable=(0,T.Ig)(fe),this.chips&&this.chips.forEach(Ce=>Ce.chipListSelectable=this._selectable)}set tabIndex(fe){this._userTabIndex=fe,this._tabIndex=fe}get chipSelectionChanges(){return(0,b.T)(...this.chips.map(fe=>fe.selectionChange))}get chipFocusChanges(){return(0,b.T)(...this.chips.map(fe=>fe._onFocus))}get chipBlurChanges(){return(0,b.T)(...this.chips.map(fe=>fe._onBlur))}get chipRemoveChanges(){return(0,b.T)(...this.chips.map(fe=>fe.destroyed))}ngAfterContentInit(){this._keyManager=new L.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,E.R)(this._destroyed)).subscribe(fe=>this._keyManager.withHorizontalOrientation(fe)),this._keyManager.tabOut.pipe((0,E.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,h.O)(null),(0,E.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new V.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(fe){this._chipInput=fe,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",fe.id)}setDescribedByIds(fe){this._ariaDescribedby=fe.join(" ")}writeValue(fe){this.chips&&this._setSelectionByValue(fe,!1)}registerOnChange(fe){this._onChange=fe}registerOnTouched(fe){this._onTouched=fe}setDisabledState(fe){this.disabled=fe,this.stateChanges.next()}onContainerClick(fe){this._originatesFromChip(fe)||this.focus()}focus(fe){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(fe),this.stateChanges.next()))}_focusInput(fe){this._chipInput&&this._chipInput.focus(fe)}_keydown(fe){const Ce=fe.target;Ce&&Ce.classList.contains("mat-chip")&&(this._keyManager.onKeydown(fe),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const fe=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(fe)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(fe){return fe>=0&&feVe.deselect()),Array.isArray(fe))fe.forEach(Ve=>this._selectValue(Ve,Ce)),this._sortValues();else{const Ve=this._selectValue(fe,Ce);Ve&&Ce&&this._keyManager.setActiveItem(Ve)}}_selectValue(fe,Ce=!0){const Ve=this.chips.find(Xe=>null!=Xe.value&&this._compareWith(Xe.value,fe));return Ve&&(Ce?Ve.selectViaInteraction():Ve.select(),this._selectionModel.select(Ve)),Ve}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(fe){this._selectionModel.clear(),this.chips.forEach(Ce=>{Ce!==fe&&Ce.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(fe=>{fe.selected&&this._selectionModel.select(fe)}),this.stateChanges.next())}_propagateChanges(fe){let Ce=null;Ce=Array.isArray(this.selected)?this.selected.map(Ve=>Ve.value):this.selected?this.selected.value:fe,this._value=Ce,this.change.emit(new Te(this,Ce)),this.valueChange.emit(Ce),this._onChange(Ce),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(fe=>{fe.source.selected?this._selectionModel.select(fe.source):this._selectionModel.deselect(fe.source),this.multiple||this.chips.forEach(Ce=>{!this._selectionModel.isSelected(Ce)&&Ce.selected&&Ce.deselect()}),fe.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(fe=>{let Ce=this.chips.toArray().indexOf(fe.chip);this._isValidIndex(Ce)&&this._keyManager.updateActiveItem(Ce),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(fe=>{const Ce=fe.chip,Ve=this.chips.toArray().indexOf(fe.chip);this._isValidIndex(Ve)&&Ce._hasFocus&&(this._lastDestroyedChipIndex=Ve)})}_originatesFromChip(fe){let Ce=fe.target;for(;Ce&&Ce!==this._elementRef.nativeElement;){if(Ce.classList.contains("mat-chip"))return!0;Ce=Ce.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(fe=>fe._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(fe=>{fe._chipListDisabled=this._disabled,fe._chipListMultiple=this.multiple})}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(ce.Is,8),f.Y36($.F,8),f.Y36($.sg,8),f.Y36(g.rD),f.Y36($.a5,10))},Ie.\u0275cmp=f.Xpm({type:Ie,selectors:[["mat-chip-list"]],contentQueries:function(fe,Ce,Ve){if(1&fe&&f.Suo(Ve,ge,5),2&fe){let Xe;f.iGM(Xe=f.CRH())&&(Ce.chips=Xe)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(fe,Ce){1&fe&&f.NdJ("focus",function(){return Ce.focus()})("blur",function(){return Ce._blur()})("keydown",function(Xe){return Ce._keydown(Xe)}),2&fe&&(f.Ikx("id",Ce._uid),f.uIk("tabindex",Ce.disabled?null:Ce._tabIndex)("aria-describedby",Ce._ariaDescribedby||null)("aria-required",Ce.role?Ce.required:null)("aria-disabled",Ce.disabled.toString())("aria-invalid",Ce.errorState)("aria-multiselectable",Ce.multiple)("role",Ce.role)("aria-orientation",Ce.ariaOrientation),f.ekj("mat-chip-list-disabled",Ce.disabled)("mat-chip-list-invalid",Ce.errorState)("mat-chip-list-required",Ce.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[f._Bn([{provide:ue.Eo,useExisting:Ie}]),f.qOj],ngContentSelectors:Le,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(fe,Ce){1&fe&&(f.F$t(),f.TgZ(0,"div",0),f.Hsn(1),f.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),Ie})(),Oe=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275mod=f.oAB({type:Ie}),Ie.\u0275inj=f.cJS({providers:[g.rD,{provide:Fe,useValue:{separatorKeyCodes:[e.K5]}}],imports:[[g.BQ]]}),Ie})()},90508:(Ke,be,d)=>{"use strict";d.d(be,{yN:()=>de,mZ:()=>ke,_A:()=>ee,rD:()=>tt,sG:()=>R,K7:()=>It,HF:()=>et,Y2:()=>c,BQ:()=>H,X2:()=>rt,uc:()=>D,XK:()=>Ve,ey:()=>Je,Ng:()=>Rt,rN:()=>Ht,nP:()=>M,us:()=>re,wG:()=>u,si:()=>y,LF:()=>He,IR:()=>o,CB:()=>Lt,jH:()=>ht,pj:()=>Ne,Kr:()=>Fe,Id:()=>ge,FD:()=>Me,dB:()=>ve,sb:()=>ne,E0:()=>N});var e=d(5e3),f=d(50226),T=d(69808),m=d(70925),A=d(15664),s=d(63191),b=d(8929),O=d(32916),E=d(1059),h=d(76360),k=d(91159);function $(qe,Ye){if(1&qe&&e._UZ(0,"mat-pseudo-checkbox",4),2&qe){const oe=e.oxw();e.Q6J("state",oe.selected?"checked":"unchecked")("disabled",oe.disabled)}}function ue(qe,Ye){if(1&qe&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&qe){const oe=e.oxw();e.xp6(1),e.hij("(",oe.group.label,")")}}const ce=["*"];let de=(()=>{class qe{}return qe.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",qe.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",qe.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",qe.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",qe})(),ke=(()=>{class qe{}return qe.COMPLEX="375ms",qe.ENTERING="225ms",qe.EXITING="195ms",qe})();const j=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function ae(){return!0}});let H=(()=>{class qe{constructor(oe,Z,G){this._sanityChecks=Z,this._document=G,this._hasDoneGlobalChecks=!1,oe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(oe){return!(0,m.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[oe])}}return qe.\u0275fac=function(oe){return new(oe||qe)(e.LFG(A.qm),e.LFG(j,8),e.LFG(T.K0))},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[f.vT],f.vT]}),qe})();function ge(qe){return class extends qe{constructor(...Ye){super(...Ye),this._disabled=!1}get disabled(){return this._disabled}set disabled(Ye){this._disabled=(0,s.Ig)(Ye)}}}function Ne(qe,Ye){return class extends qe{constructor(...oe){super(...oe),this.defaultColor=Ye,this.color=Ye}get color(){return this._color}set color(oe){const Z=oe||this.defaultColor;Z!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Z&&this._elementRef.nativeElement.classList.add(`mat-${Z}`),this._color=Z)}}}function Fe(qe){return class extends qe{constructor(...Ye){super(...Ye),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ye){this._disableRipple=(0,s.Ig)(Ye)}}}function ne(qe,Ye=0){return class extends qe{constructor(...oe){super(...oe),this._tabIndex=Ye,this.defaultTabIndex=Ye}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(oe){this._tabIndex=null!=oe?(0,s.su)(oe):this.defaultTabIndex}}}function Me(qe){return class extends qe{constructor(...Ye){super(...Ye),this.stateChanges=new b.xQ,this.errorState=!1}updateErrorState(){const Ye=this.errorState,X=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);X!==Ye&&(this.errorState=X,this.stateChanges.next())}}}function ve(qe){return class extends qe{constructor(...Ye){super(...Ye),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new O.y(oe=>{this._isInitialized?this._notifySubscriber(oe):this._pendingSubscribers.push(oe)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Ye){Ye.next(),Ye.complete()}}}const me=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Te(){return(0,e.f3M)(e.soG)}});class ee{constructor(){this._localeChanges=new b.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(Ye){return this.isDateInstance(Ye)&&this.isValid(Ye)?Ye:null}deserialize(Ye){return null==Ye||this.isDateInstance(Ye)&&this.isValid(Ye)?Ye:this.invalid()}setLocale(Ye){this.locale=Ye,this._localeChanges.next()}compareDate(Ye,oe){return this.getYear(Ye)-this.getYear(oe)||this.getMonth(Ye)-this.getMonth(oe)||this.getDate(Ye)-this.getDate(oe)}sameDate(Ye,oe){if(Ye&&oe){let Z=this.isValid(Ye),G=this.isValid(oe);return Z&&G?!this.compareDate(Ye,oe):Z==G}return Ye==oe}clampDate(Ye,oe,Z){return oe&&this.compareDate(Ye,oe)<0?oe:Z&&this.compareDate(Ye,Z)>0?Z:Ye}}const R=new e.OlP("mat-date-formats"),Oe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Ie(qe,Ye){const oe=Array(qe);for(let Z=0;Z{class qe extends ee{constructor(oe,Z){super(),this.useUtcForDisplay=!1,super.setLocale(oe)}getYear(oe){return oe.getFullYear()}getMonth(oe){return oe.getMonth()}getDate(oe){return oe.getDate()}getDayOfWeek(oe){return oe.getDay()}getMonthNames(oe){const Z=new Intl.DateTimeFormat(this.locale,{month:oe,timeZone:"utc"});return Ie(12,G=>this._format(Z,new Date(2017,G,1)))}getDateNames(){const oe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ie(31,Z=>this._format(oe,new Date(2017,0,Z+1)))}getDayOfWeekNames(oe){const Z=new Intl.DateTimeFormat(this.locale,{weekday:oe,timeZone:"utc"});return Ie(7,G=>this._format(Z,new Date(2017,0,G+1)))}getYearName(oe){const Z=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(Z,oe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(oe){return this.getDate(this._createDateWithOverflow(this.getYear(oe),this.getMonth(oe)+1,0))}clone(oe){return new Date(oe.getTime())}createDate(oe,Z,G){let X=this._createDateWithOverflow(oe,Z,G);return X.getMonth(),X}today(){return new Date}parse(oe){return"number"==typeof oe?new Date(oe):oe?new Date(Date.parse(oe)):null}format(oe,Z){if(!this.isValid(oe))throw Error("NativeDateAdapter: Cannot format invalid date.");const G=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},Z),{timeZone:"utc"}));return this._format(G,oe)}addCalendarYears(oe,Z){return this.addCalendarMonths(oe,12*Z)}addCalendarMonths(oe,Z){let G=this._createDateWithOverflow(this.getYear(oe),this.getMonth(oe)+Z,this.getDate(oe));return this.getMonth(G)!=((this.getMonth(oe)+Z)%12+12)%12&&(G=this._createDateWithOverflow(this.getYear(G),this.getMonth(G),0)),G}addCalendarDays(oe,Z){return this._createDateWithOverflow(this.getYear(oe),this.getMonth(oe),this.getDate(oe)+Z)}toIso8601(oe){return[oe.getUTCFullYear(),this._2digit(oe.getUTCMonth()+1),this._2digit(oe.getUTCDate())].join("-")}deserialize(oe){if("string"==typeof oe){if(!oe)return null;if(Oe.test(oe)){let Z=new Date(oe);if(this.isValid(Z))return Z}}return super.deserialize(oe)}isDateInstance(oe){return oe instanceof Date}isValid(oe){return!isNaN(oe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(oe,Z,G){const X=new Date;return X.setFullYear(oe,Z,G),X.setHours(0,0,0,0),X}_2digit(oe){return("00"+oe).slice(-2)}_format(oe,Z){const G=new Date;return G.setUTCFullYear(Z.getFullYear(),Z.getMonth(),Z.getDate()),G.setUTCHours(Z.getHours(),Z.getMinutes(),Z.getSeconds(),Z.getMilliseconds()),oe.format(G)}}return qe.\u0275fac=function(oe){return new(oe||qe)(e.LFG(me,8),e.LFG(m.t4))},qe.\u0275prov=e.Yz7({token:qe,factory:qe.\u0275fac}),qe})();const fe={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Ce=(()=>{class qe{}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({providers:[{provide:ee,useClass:He}],imports:[[m.ud]]}),qe})(),Ve=(()=>{class qe{}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({providers:[{provide:R,useValue:fe}],imports:[[Ce]]}),qe})(),tt=(()=>{class qe{isErrorState(oe,Z){return!!(oe&&oe.invalid&&(oe.touched||Z&&Z.submitted))}}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275prov=e.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"}),qe})(),rt=(()=>{class qe{}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275dir=e.lG2({type:qe,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),qe})();function N(qe,Ye,oe="mat"){qe.changes.pipe((0,E.O)(qe)).subscribe(({length:Z})=>{he(Ye,`${oe}-2-line`,!1),he(Ye,`${oe}-3-line`,!1),he(Ye,`${oe}-multi-line`,!1),2===Z||3===Z?he(Ye,`${oe}-${Z}-line`,!0):Z>3&&he(Ye,`${oe}-multi-line`,!0)})}function he(qe,Ye,oe){qe.nativeElement.classList.toggle(Ye,oe)}let D=(()=>{class qe{}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[H],H]}),qe})();class S{constructor(Ye,oe,Z){this._renderer=Ye,this.element=oe,this.config=Z,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const I={enterDuration:225,exitDuration:150},i=(0,m.i$)({passive:!0}),r=["mousedown","touchstart"],p=["mouseup","mouseleave","touchend","touchcancel"];class o{constructor(Ye,oe,Z,G){this._target=Ye,this._ngZone=oe,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,G.isBrowser&&(this._containerElement=(0,s.fI)(Z))}fadeInRipple(Ye,oe,Z={}){const G=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),X=Object.assign(Object.assign({},I),Z.animation);Z.centered&&(Ye=G.left+G.width/2,oe=G.top+G.height/2);const _e=Z.radius||function n(qe,Ye,oe){const Z=Math.max(Math.abs(qe-oe.left),Math.abs(qe-oe.right)),G=Math.max(Math.abs(Ye-oe.top),Math.abs(Ye-oe.bottom));return Math.sqrt(Z*Z+G*G)}(Ye,oe,G),Ue=Ye-G.left,wt=oe-G.top,Ut=X.enterDuration,Vt=document.createElement("div");Vt.classList.add("mat-ripple-element"),Vt.style.left=Ue-_e+"px",Vt.style.top=wt-_e+"px",Vt.style.height=2*_e+"px",Vt.style.width=2*_e+"px",null!=Z.color&&(Vt.style.backgroundColor=Z.color),Vt.style.transitionDuration=`${Ut}ms`,this._containerElement.appendChild(Vt),function t(qe){window.getComputedStyle(qe).getPropertyValue("opacity")}(Vt),Vt.style.transform="scale(1)";const Dt=new S(this,Vt,Z);return Dt.state=0,this._activeRipples.add(Dt),Z.persistent||(this._mostRecentTransientRipple=Dt),this._runTimeoutOutsideZone(()=>{const Et=Dt===this._mostRecentTransientRipple;Dt.state=1,!Z.persistent&&(!Et||!this._isPointerDown)&&Dt.fadeOut()},Ut),Dt}fadeOutRipple(Ye){const oe=this._activeRipples.delete(Ye);if(Ye===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!oe)return;const Z=Ye.element,G=Object.assign(Object.assign({},I),Ye.config.animation);Z.style.transitionDuration=`${G.exitDuration}ms`,Z.style.opacity="0",Ye.state=2,this._runTimeoutOutsideZone(()=>{Ye.state=3,Z.remove()},G.exitDuration)}fadeOutAll(){this._activeRipples.forEach(Ye=>Ye.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(Ye=>{Ye.config.persistent||Ye.fadeOut()})}setupTriggerEvents(Ye){const oe=(0,s.fI)(Ye);!oe||oe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=oe,this._registerEvents(r))}handleEvent(Ye){"mousedown"===Ye.type?this._onMousedown(Ye):"touchstart"===Ye.type?this._onTouchStart(Ye):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(p),this._pointerUpEventsRegistered=!0)}_onMousedown(Ye){const oe=(0,A.X6)(Ye),Z=this._lastTouchStartEvent&&Date.now(){!Ye.config.persistent&&(1===Ye.state||Ye.config.terminateOnPointerUp&&0===Ye.state)&&Ye.fadeOut()}))}_runTimeoutOutsideZone(Ye,oe=0){this._ngZone.runOutsideAngular(()=>setTimeout(Ye,oe))}_registerEvents(Ye){this._ngZone.runOutsideAngular(()=>{Ye.forEach(oe=>{this._triggerElement.addEventListener(oe,this,i)})})}_removeTriggerEvents(){this._triggerElement&&(r.forEach(Ye=>{this._triggerElement.removeEventListener(Ye,this,i)}),this._pointerUpEventsRegistered&&p.forEach(Ye=>{this._triggerElement.removeEventListener(Ye,this,i)}))}}const c=new e.OlP("mat-ripple-global-options");let u=(()=>{class qe{constructor(oe,Z,G,X,_e){this._elementRef=oe,this._animationMode=_e,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=X||{},this._rippleRenderer=new o(this,Z,oe,G)}get disabled(){return this._disabled}set disabled(oe){oe&&this.fadeOutAllNonPersistent(),this._disabled=oe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(oe){this._trigger=oe,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(oe,Z=0,G){return"number"==typeof oe?this._rippleRenderer.fadeInRipple(oe,Z,Object.assign(Object.assign({},this.rippleConfig),G)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),oe))}}return qe.\u0275fac=function(oe){return new(oe||qe)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(m.t4),e.Y36(c,8),e.Y36(h.Qb,8))},qe.\u0275dir=e.lG2({type:qe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(oe,Z){2&oe&&e.ekj("mat-ripple-unbounded",Z.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),qe})(),y=(()=>{class qe{}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[H,m.ud],H]}),qe})(),M=(()=>{class qe{constructor(oe){this._animationMode=oe,this.state="unchecked",this.disabled=!1}}return qe.\u0275fac=function(oe){return new(oe||qe)(e.Y36(h.Qb,8))},qe.\u0275cmp=e.Xpm({type:qe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(oe,Z){2&oe&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===Z.state)("mat-pseudo-checkbox-checked","checked"===Z.state)("mat-pseudo-checkbox-disabled",Z.disabled)("_mat-animation-noopable","NoopAnimations"===Z._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(oe,Z){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),qe})(),re=(()=>{class qe{}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[H]]}),qe})();const et=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),It=new e.OlP("MatOptgroup");let mt=0;class Ht{constructor(Ye,oe=!1){this.source=Ye,this.isUserInput=oe}}let _t=(()=>{class qe{constructor(oe,Z,G,X){this._element=oe,this._changeDetectorRef=Z,this._parent=G,this.group=X,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+mt++,this.onSelectionChange=new e.vpe,this._stateChanges=new b.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(oe){this._disabled=(0,s.Ig)(oe)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(oe,Z){const G=this._getHostElement();"function"==typeof G.focus&&G.focus(Z)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(oe){(oe.keyCode===k.K5||oe.keyCode===k.L_)&&!(0,k.Vb)(oe)&&(this._selectViaInteraction(),oe.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const oe=this.viewValue;oe!==this._mostRecentViewValue&&(this._mostRecentViewValue=oe,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(oe=!1){this.onSelectionChange.emit(new Ht(this,oe))}}return qe.\u0275fac=function(oe){e.$Z()},qe.\u0275dir=e.lG2({type:qe,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),qe})(),Je=(()=>{class qe extends _t{constructor(oe,Z,G,X){super(oe,Z,G,X)}}return qe.\u0275fac=function(oe){return new(oe||qe)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(et,8),e.Y36(It,8))},qe.\u0275cmp=e.Xpm({type:qe,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(oe,Z){1&oe&&e.NdJ("click",function(){return Z._selectViaInteraction()})("keydown",function(X){return Z._handleKeydown(X)}),2&oe&&(e.Ikx("id",Z.id),e.uIk("tabindex",Z._getTabIndex())("aria-selected",Z._getAriaSelected())("aria-disabled",Z.disabled.toString()),e.ekj("mat-selected",Z.selected)("mat-option-multiple",Z.multiple)("mat-active",Z.active)("mat-option-disabled",Z.disabled))},exportAs:["matOption"],features:[e.qOj],ngContentSelectors:ce,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(oe,Z){1&oe&&(e.F$t(),e.YNc(0,$,1,2,"mat-pseudo-checkbox",0),e.TgZ(1,"span",1),e.Hsn(2),e.qZA(),e.YNc(3,ue,2,1,"span",2),e._UZ(4,"div",3)),2&oe&&(e.Q6J("ngIf",Z.multiple),e.xp6(3),e.Q6J("ngIf",Z.group&&Z.group._inert),e.xp6(1),e.Q6J("matRippleTrigger",Z._getHostElement())("matRippleDisabled",Z.disabled||Z.disableRipple))},directives:[M,T.O5,u],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),qe})();function Lt(qe,Ye,oe){if(oe.length){let Z=Ye.toArray(),G=oe.toArray(),X=0;for(let _e=0;_eoe+Z?Math.max(0,qe-Z+Ye):oe}let Rt=(()=>{class qe{}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[y,T.ez,H,re]]}),qe})()},86856:(Ke,be,d)=>{"use strict";d.d(be,{Mq:()=>wt,hl:()=>Ot,FA:()=>Qe,nW:()=>li});var e=d(15664),f=d(92845),g=d(47429),T=d(69808),m=d(5e3),A=d(47423),s=d(53435),b=d(90508),O=d(8929),E=d(42654),h=d(36787),k=d(21086),L=d(91159),V=d(72986),$=d(1059),ue=d(92198),ce=d(50226),Le=d(63191),de=d(70925),ke=d(41777),ae=d(93075),j=d(67322),H=d(98833);const Q=["mat-calendar-body",""];function te(Ze,gt){if(1&Ze&&(m.TgZ(0,"tr",2),m.TgZ(1,"td",3),m._uU(2),m.qZA(),m.qZA()),2&Ze){const F=m.oxw();m.xp6(1),m.Udp("padding-top",F._cellPadding)("padding-bottom",F._cellPadding),m.uIk("colspan",F.numCols),m.xp6(1),m.hij(" ",F.label," ")}}function se(Ze,gt){if(1&Ze&&(m.TgZ(0,"td",3),m._uU(1),m.qZA()),2&Ze){const F=m.oxw(2);m.Udp("padding-top",F._cellPadding)("padding-bottom",F._cellPadding),m.uIk("colspan",F._firstRowOffset),m.xp6(1),m.hij(" ",F._firstRowOffset>=F.labelMinRequiredCells?F.label:""," ")}}function ge(Ze,gt){if(1&Ze){const F=m.EpF();m.TgZ(0,"td",7),m.TgZ(1,"button",8),m.NdJ("click",function(ut){const ei=m.CHM(F).$implicit;return m.oxw(2)._cellClicked(ei,ut)}),m.TgZ(2,"div",9),m._uU(3),m.qZA(),m._UZ(4,"div",10),m.qZA(),m.qZA()}if(2&Ze){const F=gt.$implicit,Be=gt.index,ut=m.oxw().index,Mt=m.oxw();m.Udp("width",Mt._cellWidth)("padding-top",Mt._cellPadding)("padding-bottom",Mt._cellPadding),m.uIk("data-mat-row",ut)("data-mat-col",Be),m.xp6(1),m.ekj("mat-calendar-body-disabled",!F.enabled)("mat-calendar-body-active",Mt._isActiveCell(ut,Be))("mat-calendar-body-range-start",Mt._isRangeStart(F.compareValue))("mat-calendar-body-range-end",Mt._isRangeEnd(F.compareValue))("mat-calendar-body-in-range",Mt._isInRange(F.compareValue))("mat-calendar-body-comparison-bridge-start",Mt._isComparisonBridgeStart(F.compareValue,ut,Be))("mat-calendar-body-comparison-bridge-end",Mt._isComparisonBridgeEnd(F.compareValue,ut,Be))("mat-calendar-body-comparison-start",Mt._isComparisonStart(F.compareValue))("mat-calendar-body-comparison-end",Mt._isComparisonEnd(F.compareValue))("mat-calendar-body-in-comparison-range",Mt._isInComparisonRange(F.compareValue))("mat-calendar-body-preview-start",Mt._isPreviewStart(F.compareValue))("mat-calendar-body-preview-end",Mt._isPreviewEnd(F.compareValue))("mat-calendar-body-in-preview",Mt._isInPreview(F.compareValue)),m.Q6J("ngClass",F.cssClasses)("tabindex",Mt._isActiveCell(ut,Be)?0:-1),m.uIk("aria-label",F.ariaLabel)("aria-disabled",!F.enabled||null)("aria-pressed",Mt._isSelected(F.compareValue))("aria-current",Mt.todayValue===F.compareValue?"date":null),m.xp6(1),m.ekj("mat-calendar-body-selected",Mt._isSelected(F.compareValue))("mat-calendar-body-comparison-identical",Mt._isComparisonIdentical(F.compareValue))("mat-calendar-body-today",Mt.todayValue===F.compareValue),m.xp6(1),m.hij(" ",F.displayValue," ")}}function Ne(Ze,gt){if(1&Ze&&(m.TgZ(0,"tr",4),m.YNc(1,se,2,6,"td",5),m.YNc(2,ge,5,47,"td",6),m.qZA()),2&Ze){const F=gt.$implicit,Be=gt.index,ut=m.oxw();m.xp6(1),m.Q6J("ngIf",0===Be&&ut._firstRowOffset),m.xp6(1),m.Q6J("ngForOf",F)}}function Fe(Ze,gt){if(1&Ze&&(m.TgZ(0,"th",5),m._uU(1),m.qZA()),2&Ze){const F=gt.$implicit;m.uIk("aria-label",F.long),m.xp6(1),m.hij(" ",F.narrow," ")}}const ne=["*"];function Me(Ze,gt){}function ve(Ze,gt){if(1&Ze){const F=m.EpF();m.TgZ(0,"mat-month-view",5),m.NdJ("activeDateChange",function(ut){return m.CHM(F),m.oxw().activeDate=ut})("_userSelection",function(ut){return m.CHM(F),m.oxw()._dateSelected(ut)}),m.qZA()}if(2&Ze){const F=m.oxw();m.Q6J("activeDate",F.activeDate)("selected",F.selected)("dateFilter",F.dateFilter)("maxDate",F.maxDate)("minDate",F.minDate)("dateClass",F.dateClass)("comparisonStart",F.comparisonStart)("comparisonEnd",F.comparisonEnd)}}function me(Ze,gt){if(1&Ze){const F=m.EpF();m.TgZ(0,"mat-year-view",6),m.NdJ("activeDateChange",function(ut){return m.CHM(F),m.oxw().activeDate=ut})("monthSelected",function(ut){return m.CHM(F),m.oxw()._monthSelectedInYearView(ut)})("selectedChange",function(ut){return m.CHM(F),m.oxw()._goToDateInView(ut,"month")}),m.qZA()}if(2&Ze){const F=m.oxw();m.Q6J("activeDate",F.activeDate)("selected",F.selected)("dateFilter",F.dateFilter)("maxDate",F.maxDate)("minDate",F.minDate)("dateClass",F.dateClass)}}function Te(Ze,gt){if(1&Ze){const F=m.EpF();m.TgZ(0,"mat-multi-year-view",7),m.NdJ("activeDateChange",function(ut){return m.CHM(F),m.oxw().activeDate=ut})("yearSelected",function(ut){return m.CHM(F),m.oxw()._yearSelectedInMultiYearView(ut)})("selectedChange",function(ut){return m.CHM(F),m.oxw()._goToDateInView(ut,"year")}),m.qZA()}if(2&Ze){const F=m.oxw();m.Q6J("activeDate",F.activeDate)("selected",F.selected)("dateFilter",F.dateFilter)("maxDate",F.maxDate)("minDate",F.minDate)("dateClass",F.dateClass)}}function ee(Ze,gt){}const R=["button"];function Oe(Ze,gt){1&Ze&&(m.O4$(),m.TgZ(0,"svg",3),m._UZ(1,"path",4),m.qZA())}const Ie=[[["","matDatepickerToggleIcon",""]]],He=["[matDatepickerToggleIcon]"];class tt{constructor(gt,F,Be,ut,Mt={},ei=gt,Qt){this.value=gt,this.displayValue=F,this.ariaLabel=Be,this.enabled=ut,this.cssClasses=Mt,this.compareValue=ei,this.rawValue=Qt}}let rt=(()=>{class Ze{constructor(F,Be){this._elementRef=F,this._ngZone=Be,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new m.vpe,this.previewChange=new m.vpe,this._enterHandler=ut=>{if(this._skipNextFocus&&"focus"===ut.type)this._skipNextFocus=!1;else if(ut.target&&this.isRange){const Mt=this._getCellFromElement(ut.target);Mt&&this._ngZone.run(()=>this.previewChange.emit({value:Mt.enabled?Mt:null,event:ut}))}},this._leaveHandler=ut=>{null!==this.previewEnd&&this.isRange&&ut.target&&this._getCellFromElement(ut.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:ut}))},Be.runOutsideAngular(()=>{const ut=F.nativeElement;ut.addEventListener("mouseenter",this._enterHandler,!0),ut.addEventListener("focus",this._enterHandler,!0),ut.addEventListener("mouseleave",this._leaveHandler,!0),ut.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(F,Be){F.enabled&&this.selectedValueChange.emit({value:F.value,event:Be})}_isSelected(F){return this.startValue===F||this.endValue===F}ngOnChanges(F){const Be=F.numCols,{rows:ut,numCols:Mt}=this;(F.rows||Be)&&(this._firstRowOffset=ut&&ut.length&&ut[0].length?Mt-ut[0].length:0),(F.cellAspectRatio||Be||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Mt+"%"),(Be||!this._cellWidth)&&(this._cellWidth=100/Mt+"%")}ngOnDestroy(){const F=this._elementRef.nativeElement;F.removeEventListener("mouseenter",this._enterHandler,!0),F.removeEventListener("focus",this._enterHandler,!0),F.removeEventListener("mouseleave",this._leaveHandler,!0),F.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(F,Be){let ut=F*this.numCols+Be;return F&&(ut-=this._firstRowOffset),ut==this.activeCell}_focusActiveCell(F=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,V.q)(1)).subscribe(()=>{const Be=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");Be&&(F||(this._skipNextFocus=!0),Be.focus())})})}_isRangeStart(F){return he(F,this.startValue,this.endValue)}_isRangeEnd(F){return D(F,this.startValue,this.endValue)}_isInRange(F){return S(F,this.startValue,this.endValue,this.isRange)}_isComparisonStart(F){return he(F,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(F,Be,ut){if(!this._isComparisonStart(F)||this._isRangeStart(F)||!this._isInRange(F))return!1;let Mt=this.rows[Be][ut-1];if(!Mt){const ei=this.rows[Be-1];Mt=ei&&ei[ei.length-1]}return Mt&&!this._isRangeEnd(Mt.compareValue)}_isComparisonBridgeEnd(F,Be,ut){if(!this._isComparisonEnd(F)||this._isRangeEnd(F)||!this._isInRange(F))return!1;let Mt=this.rows[Be][ut+1];if(!Mt){const ei=this.rows[Be+1];Mt=ei&&ei[0]}return Mt&&!this._isRangeStart(Mt.compareValue)}_isComparisonEnd(F){return D(F,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(F){return S(F,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(F){return this.comparisonStart===this.comparisonEnd&&F===this.comparisonStart}_isPreviewStart(F){return he(F,this.previewStart,this.previewEnd)}_isPreviewEnd(F){return D(F,this.previewStart,this.previewEnd)}_isInPreview(F){return S(F,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(F){let Be;if(N(F)?Be=F:N(F.parentNode)&&(Be=F.parentNode),Be){const ut=Be.getAttribute("data-mat-row"),Mt=Be.getAttribute("data-mat-col");if(ut&&Mt)return this.rows[parseInt(ut)][parseInt(Mt)]}return null}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.SBq),m.Y36(m.R0b))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[m.TTD],attrs:Q,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(F,Be){1&F&&(m.YNc(0,te,3,6,"tr",0),m.YNc(1,Ne,3,2,"tr",1)),2&F&&(m.Q6J("ngIf",Be._firstRowOffset.mat-calendar-body-cell-content,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content{outline:dotted 2px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected{outline:solid 3px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],encapsulation:2,changeDetection:0}),Ze})();function N(Ze){return"TD"===Ze.nodeName}function he(Ze,gt,F){return null!==F&>!==F&&Ze=gt&&Ze===F}function S(Ze,gt,F,Be){return Be&&null!==gt&&null!==F&>!==F&&Ze>=gt&&Ze<=F}class I{constructor(gt,F){this.start=gt,this.end=F}}let P=(()=>{class Ze{constructor(F,Be){this.selection=F,this._adapter=Be,this._selectionChanged=new O.xQ,this.selectionChanged=this._selectionChanged,this.selection=F}updateSelection(F,Be){const ut=this.selection;this.selection=F,this._selectionChanged.next({selection:F,source:Be,oldValue:ut})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(F){return this._adapter.isDateInstance(F)&&this._adapter.isValid(F)}}return Ze.\u0275fac=function(F){m.$Z()},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})(),i=(()=>{class Ze extends P{constructor(F){super(null,F)}add(F){super.updateSelection(F,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const F=new Ze(this._adapter);return F.updateSelection(this.selection,this),F}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.LFG(b._A))},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const o={provide:P,deps:[[new m.FiY,new m.tp0,P],b._A],useFactory:function p(Ze,gt){return Ze||new i(gt)}},c=new m.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let et=(()=>{class Ze{constructor(F,Be,ut,Mt,ei){this._changeDetectorRef=F,this._dateFormats=Be,this._dateAdapter=ut,this._dir=Mt,this._rangeStrategy=ei,this._rerenderSubscription=E.w.EMPTY,this.selectedChange=new m.vpe,this._userSelection=new m.vpe,this.activeDateChange=new m.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(F){const Be=this._activeDate,ut=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ut,this.minDate,this.maxDate),this._hasSameMonthAndYear(Be,this._activeDate)||this._init()}get selected(){return this._selected}set selected(F){this._selected=F instanceof I?F:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(F){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get maxDate(){return this._maxDate}set maxDate(F){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,$.O)(null)).subscribe(()=>this._init())}ngOnChanges(F){const Be=F.comparisonStart||F.comparisonEnd;Be&&!Be.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(F){const Be=F.value,ut=this._dateAdapter.getYear(this.activeDate),Mt=this._dateAdapter.getMonth(this.activeDate),ei=this._dateAdapter.createDate(ut,Mt,Be);let Qt,Ri;this._selected instanceof I?(Qt=this._getDateInCurrentMonth(this._selected.start),Ri=this._getDateInCurrentMonth(this._selected.end)):Qt=Ri=this._getDateInCurrentMonth(this._selected),(Qt!==Be||Ri!==Be)&&this.selectedChange.emit(ei),this._userSelection.emit({value:ei,event:F.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(F){const Be=this._activeDate,ut=this._isRtl();switch(F.keyCode){case L.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ut?1:-1);break;case L.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ut?-1:1);break;case L.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case L.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case L.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case L.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case L.Ku:this.activeDate=F.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case L.VM:this.activeDate=F.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case L.K5:case L.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&F.preventDefault());case L.hY:return void(null!=this._previewEnd&&!(0,L.Vb)(F)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:F}),F.preventDefault(),F.stopPropagation()));default:return}this._dateAdapter.compareDate(Be,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),F.preventDefault()}_handleCalendarBodyKeyup(F){(F.keyCode===L.L_||F.keyCode===L.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:F}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let F=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(F)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(F){this._matCalendarBody._focusActiveCell(F)}_previewChanged({event:F,value:Be}){if(this._rangeStrategy){const Mt=this._rangeStrategy.createPreview(Be?Be.rawValue:null,this.selected,F);this._previewStart=this._getCellCompareValue(Mt.start),this._previewEnd=this._getCellCompareValue(Mt.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const F=this._dateAdapter.getFirstDayOfWeek(),Be=this._dateAdapter.getDayOfWeekNames("narrow");let Mt=this._dateAdapter.getDayOfWeekNames("long").map((ei,Qt)=>({long:ei,narrow:Be[Qt]}));this._weekdays=Mt.slice(F).concat(Mt.slice(0,F))}_createWeekCells(){const F=this._dateAdapter.getNumDaysInMonth(this.activeDate),Be=this._dateAdapter.getDateNames();this._weeks=[[]];for(let ut=0,Mt=this._firstWeekOffset;ut=0)&&(!this.maxDate||this._dateAdapter.compareDate(F,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(F))}_getDateInCurrentMonth(F){return F&&this._hasSameMonthAndYear(F,this.activeDate)?this._dateAdapter.getDate(F):null}_hasSameMonthAndYear(F,Be){return!(!F||!Be||this._dateAdapter.getMonth(F)!=this._dateAdapter.getMonth(Be)||this._dateAdapter.getYear(F)!=this._dateAdapter.getYear(Be))}_getCellCompareValue(F){if(F){const Be=this._dateAdapter.getYear(F),ut=this._dateAdapter.getMonth(F),Mt=this._dateAdapter.getDate(F);return new Date(Be,ut,Mt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(F){F instanceof I?(this._rangeStart=this._getCellCompareValue(F.start),this._rangeEnd=this._getCellCompareValue(F.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(F),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(F){return!this.dateFilter||this.dateFilter(F)}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.sBO),m.Y36(b.sG,8),m.Y36(b._A,8),m.Y36(ce.Is,8),m.Y36(c,8))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-month-view"]],viewQuery:function(F,Be){if(1&F&&m.Gf(rt,5),2&F){let ut;m.iGM(ut=m.CRH())&&(Be._matCalendarBody=ut.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[m.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keyup","keydown"],["scope","col"]],template:function(F,Be){1&F&&(m.TgZ(0,"table",0),m.TgZ(1,"thead",1),m.TgZ(2,"tr"),m.YNc(3,Fe,2,2,"th",2),m.qZA(),m.TgZ(4,"tr"),m._UZ(5,"th",3),m.qZA(),m.qZA(),m.TgZ(6,"tbody",4),m.NdJ("selectedValueChange",function(Mt){return Be._dateSelected(Mt)})("previewChange",function(Mt){return Be._previewChanged(Mt)})("keyup",function(Mt){return Be._handleCalendarBodyKeyup(Mt)})("keydown",function(Mt){return Be._handleCalendarBodyKeydown(Mt)}),m.qZA(),m.qZA()),2&F&&(m.xp6(3),m.Q6J("ngForOf",Be._weekdays),m.xp6(3),m.Q6J("label",Be._monthLabel)("rows",Be._weeks)("todayValue",Be._todayDate)("startValue",Be._rangeStart)("endValue",Be._rangeEnd)("comparisonStart",Be._comparisonRangeStart)("comparisonEnd",Be._comparisonRangeEnd)("previewStart",Be._previewStart)("previewEnd",Be._previewEnd)("isRange",Be._isRange)("labelMinRequiredCells",3)("activeCell",Be._dateAdapter.getDate(Be.activeDate)-1))},directives:[rt,T.sg],encapsulation:2,changeDetection:0}),Ze})(),Nt=(()=>{class Ze{constructor(F,Be,ut){this._changeDetectorRef=F,this._dateAdapter=Be,this._dir=ut,this._rerenderSubscription=E.w.EMPTY,this.selectedChange=new m.vpe,this.yearSelected=new m.vpe,this.activeDateChange=new m.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(F){let Be=this._activeDate;const ut=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ut,this.minDate,this.maxDate),It(this._dateAdapter,Be,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(F){this._selected=F instanceof I?F:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F)),this._setSelectedYear(F)}get minDate(){return this._minDate}set minDate(F){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get maxDate(){return this._maxDate}set maxDate(F){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,$.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const Be=this._dateAdapter.getYear(this._activeDate)-Zt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let ut=0,Mt=[];ut<24;ut++)Mt.push(Be+ut),4==Mt.length&&(this._years.push(Mt.map(ei=>this._createCellForYear(ei))),Mt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(F){const Be=F.value;this.yearSelected.emit(this._dateAdapter.createDate(Be,0,1));let ut=this._dateAdapter.getMonth(this.activeDate),Mt=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Be,ut,1));this.selectedChange.emit(this._dateAdapter.createDate(Be,ut,Math.min(this._dateAdapter.getDate(this.activeDate),Mt)))}_handleCalendarBodyKeydown(F){const Be=this._activeDate,ut=this._isRtl();switch(F.keyCode){case L.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ut?1:-1);break;case L.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ut?-1:1);break;case L.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case L.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case L.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Zt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case L.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Zt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case L.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F.altKey?-240:-24);break;case L.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F.altKey?240:24);break;case L.K5:case L.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Be,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),F.preventDefault()}_handleCalendarBodyKeyup(F){(F.keyCode===L.L_||F.keyCode===L.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:F}),this._selectionKeyPressed=!1)}_getActiveCell(){return Zt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(F){const Be=this._dateAdapter.createDate(F,0,1),ut=this._dateAdapter.getYearName(Be),Mt=this.dateClass?this.dateClass(Be,"multi-year"):void 0;return new tt(F,ut,ut,this._shouldEnableYear(F),Mt)}_shouldEnableYear(F){if(null==F||this.maxDate&&F>this._dateAdapter.getYear(this.maxDate)||this.minDate&&F{class Ze{constructor(F,Be,ut,Mt){this._changeDetectorRef=F,this._dateFormats=Be,this._dateAdapter=ut,this._dir=Mt,this._rerenderSubscription=E.w.EMPTY,this.selectedChange=new m.vpe,this.monthSelected=new m.vpe,this.activeDateChange=new m.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(F){let Be=this._activeDate;const ut=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ut,this.minDate,this.maxDate),this._dateAdapter.getYear(Be)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(F){this._selected=F instanceof I?F:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F)),this._setSelectedMonth(F)}get minDate(){return this._minDate}set minDate(F){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get maxDate(){return this._maxDate}set maxDate(F){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,$.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(F){const Be=F.value,ut=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Be,1);this.monthSelected.emit(ut);const Mt=this._dateAdapter.getNumDaysInMonth(ut);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Be,Math.min(this._dateAdapter.getDate(this.activeDate),Mt)))}_handleCalendarBodyKeydown(F){const Be=this._activeDate,ut=this._isRtl();switch(F.keyCode){case L.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ut?1:-1);break;case L.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ut?-1:1);break;case L.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case L.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case L.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case L.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case L.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F.altKey?-10:-1);break;case L.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F.altKey?10:1);break;case L.K5:case L.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Be,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),F.preventDefault()}_handleCalendarBodyKeyup(F){(F.keyCode===L.L_||F.keyCode===L.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:F}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let F=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(Be=>Be.map(ut=>this._createCellForMonth(ut,F[ut]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(F){return F&&this._dateAdapter.getYear(F)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(F):null}_createCellForMonth(F,Be){const ut=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),F,1),Mt=this._dateAdapter.format(ut,this._dateFormats.display.monthYearA11yLabel),ei=this.dateClass?this.dateClass(ut,"year"):void 0;return new tt(F,Be.toLocaleUpperCase(),Mt,this._shouldEnableMonth(F),ei)}_shouldEnableMonth(F){const Be=this._dateAdapter.getYear(this.activeDate);if(null==F||this._isYearAndMonthAfterMaxDate(Be,F)||this._isYearAndMonthBeforeMinDate(Be,F))return!1;if(!this.dateFilter)return!0;for(let Mt=this._dateAdapter.createDate(Be,F,1);this._dateAdapter.getMonth(Mt)==F;Mt=this._dateAdapter.addCalendarDays(Mt,1))if(this.dateFilter(Mt))return!0;return!1}_isYearAndMonthAfterMaxDate(F,Be){if(this.maxDate){const ut=this._dateAdapter.getYear(this.maxDate),Mt=this._dateAdapter.getMonth(this.maxDate);return F>ut||F===ut&&Be>Mt}return!1}_isYearAndMonthBeforeMinDate(F,Be){if(this.minDate){const ut=this._dateAdapter.getYear(this.minDate),Mt=this._dateAdapter.getMonth(this.minDate);return F{class Ze{constructor(){this.changes=new O.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(F,Be){return`${F} \u2013 ${Be}`}}return Ze.\u0275fac=function(F){return new(F||Ze)},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})(),Lt=0,ht=(()=>{class Ze{constructor(F,Be,ut,Mt,ei){this._intl=F,this.calendar=Be,this._dateAdapter=ut,this._dateFormats=Mt,this._buttonDescriptionId="mat-calendar-button-"+Lt++,this.calendar.stateChanges.subscribe(()=>ei.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const Be=this._dateAdapter.getYear(this.calendar.activeDate)-Zt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),ut=Be+24-1,Mt=this._dateAdapter.getYearName(this._dateAdapter.createDate(Be,0,1)),ei=this._dateAdapter.getYearName(this._dateAdapter.createDate(ut,0,1));return this._intl.formatYearRange(Mt,ei)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(F,Be){return"month"==this.calendar.currentView?this._dateAdapter.getYear(F)==this._dateAdapter.getYear(Be)&&this._dateAdapter.getMonth(F)==this._dateAdapter.getMonth(Be):"year"==this.calendar.currentView?this._dateAdapter.getYear(F)==this._dateAdapter.getYear(Be):It(this._dateAdapter,F,Be,this.calendar.minDate,this.calendar.maxDate)}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(Je),m.Y36((0,m.Gpc)(()=>Rt)),m.Y36(b._A,8),m.Y36(b.sG,8),m.Y36(m.sBO))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:ne,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(F,Be){1&F&&(m.F$t(),m.TgZ(0,"div",0),m.TgZ(1,"div",1),m.TgZ(2,"button",2),m.NdJ("click",function(){return Be.currentPeriodClicked()}),m.TgZ(3,"span"),m._uU(4),m.qZA(),m.O4$(),m.TgZ(5,"svg",3),m._UZ(6,"polygon",4),m.qZA(),m.qZA(),m.kcU(),m._UZ(7,"div",5),m.Hsn(8),m.TgZ(9,"button",6),m.NdJ("click",function(){return Be.previousClicked()}),m.qZA(),m.TgZ(10,"button",7),m.NdJ("click",function(){return Be.nextClicked()}),m.qZA(),m.qZA(),m.qZA()),2&F&&(m.xp6(2),m.uIk("aria-label",Be.periodButtonLabel)("aria-describedby",Be._buttonDescriptionId),m.xp6(1),m.uIk("id",Be._buttonDescriptionId),m.xp6(1),m.Oqu(Be.periodButtonText),m.xp6(1),m.ekj("mat-calendar-invert","month"!==Be.calendar.currentView),m.xp6(4),m.Q6J("disabled",!Be.previousEnabled()),m.uIk("aria-label",Be.prevButtonLabel),m.xp6(1),m.Q6J("disabled",!Be.nextEnabled()),m.uIk("aria-label",Be.nextButtonLabel))},directives:[A.lW,e.Qr],encapsulation:2,changeDetection:0}),Ze})(),Rt=(()=>{class Ze{constructor(F,Be,ut,Mt){this._dateAdapter=Be,this._dateFormats=ut,this._changeDetectorRef=Mt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new m.vpe,this.yearSelected=new m.vpe,this.monthSelected=new m.vpe,this.viewChanged=new m.vpe(!0),this._userSelection=new m.vpe,this.stateChanges=new O.xQ,this._intlChanges=F.changes.subscribe(()=>{Mt.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(F){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get selected(){return this._selected}set selected(F){this._selected=F instanceof I?F:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get minDate(){return this._minDate}set minDate(F){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get maxDate(){return this._maxDate}set maxDate(F){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get activeDate(){return this._clampedActiveDate}set activeDate(F){this._clampedActiveDate=this._dateAdapter.clampDate(F,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(F){const Be=this._currentView!==F?F:null;this._currentView=F,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),Be&&this.viewChanged.emit(Be)}ngAfterContentInit(){this._calendarHeaderPortal=new g.C5(this.headerComponent||ht),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(F){const Be=F.minDate||F.maxDate||F.dateFilter;if(Be&&!Be.firstChange){const ut=this._getCurrentViewComponent();ut&&(this._changeDetectorRef.detectChanges(),ut._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(F){const Be=F.value;(this.selected instanceof I||Be&&!this._dateAdapter.sameDate(Be,this.selected))&&this.selectedChange.emit(Be),this._userSelection.emit(F)}_yearSelectedInMultiYearView(F){this.yearSelected.emit(F)}_monthSelectedInYearView(F){this.monthSelected.emit(F)}_goToDateInView(F,Be){this.activeDate=F,this.currentView=Be}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(Je),m.Y36(b._A,8),m.Y36(b.sG,8),m.Y36(m.sBO))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-calendar"]],viewQuery:function(F,Be){if(1&F&&(m.Gf(et,5),m.Gf(_t,5),m.Gf(Nt,5)),2&F){let ut;m.iGM(ut=m.CRH())&&(Be.monthView=ut.first),m.iGM(ut=m.CRH())&&(Be.yearView=ut.first),m.iGM(ut=m.CRH())&&(Be.multiYearView=ut.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[m._Bn([o]),m.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(F,Be){1&F&&(m.YNc(0,Me,0,0,"ng-template",0),m.TgZ(1,"div",1),m.YNc(2,ve,1,8,"mat-month-view",2),m.YNc(3,me,1,6,"mat-year-view",3),m.YNc(4,Te,1,6,"mat-multi-year-view",4),m.qZA()),2&F&&(m.Q6J("cdkPortalOutlet",Be._calendarHeaderPortal),m.xp6(1),m.Q6J("ngSwitch",Be.currentView),m.xp6(1),m.Q6J("ngSwitchCase","month"),m.xp6(1),m.Q6J("ngSwitchCase","year"),m.xp6(1),m.Q6J("ngSwitchCase","multi-year"))},directives:[et,_t,Nt,g.Pl,e.kH,T.RF,T.n9],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),Ze})();const qe={transformPanel:(0,ke.X$)("transformPanel",[(0,ke.eR)("void => enter-dropdown",(0,ke.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ke.F4)([(0,ke.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ke.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ke.eR)("void => enter-dialog",(0,ke.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ke.F4)([(0,ke.oB)({opacity:0,transform:"scale(0.7)"}),(0,ke.oB)({transform:"none",opacity:1})]))),(0,ke.eR)("* => void",(0,ke.jt)("100ms linear",(0,ke.oB)({opacity:0})))]),fadeInCalendar:(0,ke.X$)("fadeInCalendar",[(0,ke.SB)("void",(0,ke.oB)({opacity:0})),(0,ke.SB)("enter",(0,ke.oB)({opacity:1})),(0,ke.eR)("void => *",(0,ke.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Ye=0;const oe=new m.OlP("mat-datepicker-scroll-strategy"),G={provide:oe,deps:[f.aV],useFactory:function Z(Ze){return()=>Ze.scrollStrategies.reposition()}},X=(0,b.pj)(class{constructor(Ze){this._elementRef=Ze}});let _e=(()=>{class Ze extends X{constructor(F,Be,ut,Mt,ei,Qt){super(F),this._changeDetectorRef=Be,this._globalModel=ut,this._dateAdapter=Mt,this._rangeSelectionStrategy=ei,this._subscriptions=new E.w,this._animationDone=new O.xQ,this._actionsPortal=null,this._closeButtonText=Qt.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(F){const Be=this._model.selection,ut=F.value,Mt=Be instanceof I;if(Mt&&this._rangeSelectionStrategy){const ei=this._rangeSelectionStrategy.selectionFinished(ut,Be,F.event);this._model.updateSelection(ei,this)}else ut&&(Mt||!this._dateAdapter.sameDate(ut,Be))&&this._model.add(ut);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(P),m.Y36(b._A),m.Y36(c,8),m.Y36(Je))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-datepicker-content"]],viewQuery:function(F,Be){if(1&F&&m.Gf(Rt,5),2&F){let ut;m.iGM(ut=m.CRH())&&(Be._calendar=ut.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(F,Be){1&F&&m.WFA("@transformPanel.done",function(){return Be._animationDone.next()}),2&F&&(m.d8E("@transformPanel",Be._animationState),m.ekj("mat-datepicker-content-touch",Be.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[m.qOj],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(F,Be){if(1&F&&(m.TgZ(0,"div",0),m.TgZ(1,"mat-calendar",1),m.NdJ("yearSelected",function(Mt){return Be.datepicker._selectYear(Mt)})("monthSelected",function(Mt){return Be.datepicker._selectMonth(Mt)})("viewChanged",function(Mt){return Be.datepicker._viewChanged(Mt)})("_userSelection",function(Mt){return Be._handleUserSelection(Mt)}),m.qZA(),m.YNc(2,ee,0,0,"ng-template",2),m.TgZ(3,"button",3),m.NdJ("focus",function(){return Be._closeButtonFocused=!0})("blur",function(){return Be._closeButtonFocused=!1})("click",function(){return Be.datepicker.close()}),m._uU(4),m.qZA(),m.qZA()),2&F){let ut;m.ekj("mat-datepicker-content-container-with-custom-header",Be.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Be._actionsPortal),m.uIk("aria-modal",!0)("aria-labelledby",null!==(ut=Be._dialogLabelId)&&void 0!==ut?ut:void 0),m.xp6(1),m.Q6J("id",Be.datepicker.id)("ngClass",Be.datepicker.panelClass)("startAt",Be.datepicker.startAt)("startView",Be.datepicker.startView)("minDate",Be.datepicker._getMinDate())("maxDate",Be.datepicker._getMaxDate())("dateFilter",Be.datepicker._getDateFilter())("headerComponent",Be.datepicker.calendarHeaderComponent)("selected",Be._getSelected())("dateClass",Be.datepicker.dateClass)("comparisonStart",Be.comparisonStart)("comparisonEnd",Be.comparisonEnd)("@fadeInCalendar","enter"),m.xp6(1),m.Q6J("cdkPortalOutlet",Be._actionsPortal),m.xp6(1),m.ekj("cdk-visually-hidden",!Be._closeButtonFocused),m.Q6J("color",Be.color||"primary"),m.xp6(1),m.Oqu(Be._closeButtonText)}},directives:[Rt,A.lW,e.mK,T.mk,g.Pl],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[qe.transformPanel,qe.fadeInCalendar]},changeDetection:0}),Ze})(),Ue=(()=>{class Ze{constructor(F,Be,ut,Mt,ei,Qt,Ri){this._overlay=F,this._ngZone=Be,this._viewContainerRef=ut,this._dateAdapter=ei,this._dir=Qt,this._model=Ri,this._inputStateChanges=E.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new m.vpe,this.monthSelected=new m.vpe,this.viewChanged=new m.vpe(!0),this.openedStream=new m.vpe,this.closedStream=new m.vpe,this._opened=!1,this.id="mat-datepicker-"+Ye++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new O.xQ,this._scrollStrategy=Mt}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(F){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(F){this._color=F}get touchUi(){return this._touchUi}set touchUi(F){this._touchUi=(0,Le.Ig)(F)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(F){const Be=(0,Le.Ig)(F);Be!==this._disabled&&(this._disabled=Be,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(F){this._restoreFocus=(0,Le.Ig)(F)}get panelClass(){return this._panelClass}set panelClass(F){this._panelClass=(0,Le.du)(F)}get opened(){return this._opened}set opened(F){(0,Le.Ig)(F)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(F){const Be=F.xPosition||F.yPosition;if(Be&&!Be.firstChange&&this._overlayRef){const ut=this._overlayRef.getConfig().positionStrategy;ut instanceof f._G&&(this._setConnectedPositions(ut),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(F){this._model.add(F)}_selectYear(F){this.yearSelected.emit(F)}_selectMonth(F){this.monthSelected.emit(F)}_viewChanged(F){this.viewChanged.emit(F)}registerInput(F){return this._inputStateChanges.unsubscribe(),this.datepickerInput=F,this._inputStateChanges=F.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(F){this._actionsPortal=F}removeActions(F){F===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,de.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const Be=this._componentRef.instance;Be._startExitAnimation(),Be._animationDone.pipe((0,V.q)(1)).subscribe(()=>this._destroyOverlay())}const F=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(F)):F()}_applyPendingSelection(){var F,Be;null===(Be=null===(F=this._componentRef)||void 0===F?void 0:F.instance)||void 0===Be||Be._applyPendingSelection()}_forwardContentValues(F){F.datepicker=this,F.color=this.color,F._actionsPortal=this._actionsPortal,F._dialogLabelId=this.datepickerInput.getOverlayLabelId()}_openOverlay(){this._destroyOverlay();const F=this.touchUi,Be=new g.C5(_e,this._viewContainerRef),ut=this._overlayRef=this._overlay.create(new f.X_({positionStrategy:F?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[F?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:F?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(F?"dialog":"popup")}));this._getCloseStream(ut).subscribe(Mt=>{Mt&&Mt.preventDefault(),this.close()}),this._componentRef=ut.attach(Be),this._forwardContentValues(this._componentRef.instance),F||this._ngZone.onStable.pipe((0,V.q)(1)).subscribe(()=>ut.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const F=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(F)}_setConnectedPositions(F){const Be="end"===this.xPosition?"end":"start",ut="start"===Be?"end":"start",Mt="above"===this.yPosition?"bottom":"top",ei="top"===Mt?"bottom":"top";return F.withPositions([{originX:Be,originY:ei,overlayX:Be,overlayY:Mt},{originX:Be,originY:Mt,overlayX:Be,overlayY:ei},{originX:ut,originY:ei,overlayX:ut,overlayY:Mt},{originX:ut,originY:Mt,overlayX:ut,overlayY:ei}])}_getCloseStream(F){return(0,h.T)(F.backdropClick(),F.detachments(),F.keydownEvents().pipe((0,ue.h)(Be=>Be.keyCode===L.hY&&!(0,L.Vb)(Be)||this.datepickerInput&&(0,L.Vb)(Be,"altKey")&&Be.keyCode===L.LH)))}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(f.aV),m.Y36(m.R0b),m.Y36(m.s_b),m.Y36(oe),m.Y36(b._A,8),m.Y36(ce.Is,8),m.Y36(P))},Ze.\u0275dir=m.lG2({type:Ze,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[m.TTD]}),Ze})(),wt=(()=>{class Ze extends Ue{}return Ze.\u0275fac=function(){let gt;return function(Be){return(gt||(gt=m.n5z(Ze)))(Be||Ze)}}(),Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[m._Bn([o,{provide:Ue,useExisting:Ze}]),m.qOj],decls:0,vars:0,template:function(F,Be){},encapsulation:2,changeDetection:0}),Ze})();class Ut{constructor(gt,F){this.target=gt,this.targetElement=F,this.value=this.target.value}}let Vt=(()=>{class Ze{constructor(F,Be,ut){this._elementRef=F,this._dateAdapter=Be,this._dateFormats=ut,this.dateChange=new m.vpe,this.dateInput=new m.vpe,this.stateChanges=new O.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=E.w.EMPTY,this._localeSubscription=E.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Mt=>{const ei=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Mt.value));return!ei||this._matchesFilter(ei)?null:{matDatepickerFilter:!0}},this._minValidator=Mt=>{const ei=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Mt.value)),Qt=this._getMinDate();return!Qt||!ei||this._dateAdapter.compareDate(Qt,ei)<=0?null:{matDatepickerMin:{min:Qt,actual:ei}}},this._maxValidator=Mt=>{const ei=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Mt.value)),Qt=this._getMaxDate();return!Qt||!ei||this._dateAdapter.compareDate(Qt,ei)>=0?null:{matDatepickerMax:{max:Qt,actual:ei}}},this._lastValueValid=!1,this._localeSubscription=Be.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(F){this._assignValueProgrammatically(F)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(F){const Be=(0,Le.Ig)(F),ut=this._elementRef.nativeElement;this._disabled!==Be&&(this._disabled=Be,this.stateChanges.next(void 0)),Be&&this._isInitialized&&ut.blur&&ut.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(F){this._model=F,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(Be=>{if(this._shouldHandleChangeEvent(Be)){const ut=this._getValueFromModel(Be.selection);this._lastValueValid=this._isValidValue(ut),this._cvaOnChange(ut),this._onTouched(),this._formatValue(ut),this.dateInput.emit(new Ut(this,this._elementRef.nativeElement)),this.dateChange.emit(new Ut(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(F){(function Dt(Ze,gt){const F=Object.keys(Ze);for(let Be of F){const{previousValue:ut,currentValue:Mt}=Ze[Be];if(!gt.isDateInstance(ut)||!gt.isDateInstance(Mt))return!0;if(!gt.sameDate(ut,Mt))return!0}return!1})(F,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(F){this._validatorOnChange=F}validate(F){return this._validator?this._validator(F):null}writeValue(F){this._assignValueProgrammatically(F)}registerOnChange(F){this._cvaOnChange=F}registerOnTouched(F){this._onTouched=F}setDisabledState(F){this.disabled=F}_onKeydown(F){F.altKey&&F.keyCode===L.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),F.preventDefault())}_onInput(F){const Be=this._lastValueValid;let ut=this._dateAdapter.parse(F,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(ut),ut=this._dateAdapter.getValidDateOrNull(ut),this._dateAdapter.sameDate(ut,this.value)?(F&&!this.value&&this._cvaOnChange(ut),Be!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(ut),this._cvaOnChange(ut),this.dateInput.emit(new Ut(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Ut(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(F){this._elementRef.nativeElement.value=F?this._dateAdapter.format(F,this._dateFormats.display.dateInput):""}_assignValue(F){this._model?(this._assignValueToModel(F),this._pendingValue=null):this._pendingValue=F}_isValidValue(F){return!F||this._dateAdapter.isValid(F)}_parentDisabled(){return!1}_assignValueProgrammatically(F){F=this._dateAdapter.deserialize(F),this._lastValueValid=this._isValidValue(F),F=this._dateAdapter.getValidDateOrNull(F),this._assignValue(F),this._formatValue(F)}_matchesFilter(F){const Be=this._getDateFilter();return!Be||Be(F)}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.SBq),m.Y36(b._A,8),m.Y36(b.sG,8))},Ze.\u0275dir=m.lG2({type:Ze,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[m.TTD]}),Ze})();const Et={provide:ae.JU,useExisting:(0,m.Gpc)(()=>Ot),multi:!0},At={provide:ae.Cf,useExisting:(0,m.Gpc)(()=>Ot),multi:!0};let Ot=(()=>{class Ze extends Vt{constructor(F,Be,ut,Mt){super(F,Be,ut),this._formField=Mt,this._closedSubscription=E.w.EMPTY,this._validator=ae.kI.compose(super._getValidators())}set matDatepicker(F){F&&(this._datepicker=F,this._closedSubscription=F.closedStream.subscribe(()=>this._onTouched()),this._registerModel(F.registerInput(this)))}get min(){return this._min}set min(F){const Be=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F));this._dateAdapter.sameDate(Be,this._min)||(this._min=Be,this._validatorOnChange())}get max(){return this._max}set max(F){const Be=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F));this._dateAdapter.sameDate(Be,this._max)||(this._max=Be,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(F){const Be=this._matchesFilter(this.value);this._dateFilter=F,this._matchesFilter(this.value)!==Be&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(F){return F}_assignValueToModel(F){this._model&&this._model.updateSelection(F,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(F){return F.source!==this}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.SBq),m.Y36(b._A,8),m.Y36(b.sG,8),m.Y36(j.G_,8))},Ze.\u0275dir=m.lG2({type:Ze,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(F,Be){1&F&&m.NdJ("input",function(Mt){return Be._onInput(Mt.target.value)})("change",function(){return Be._onChange()})("blur",function(){return Be._onBlur()})("keydown",function(Mt){return Be._onKeydown(Mt)}),2&F&&(m.Ikx("disabled",Be.disabled),m.uIk("aria-haspopup",Be._datepicker?"dialog":null)("aria-owns",(null==Be._datepicker?null:Be._datepicker.opened)&&Be._datepicker.id||null)("min",Be.min?Be._dateAdapter.toIso8601(Be.min):null)("max",Be.max?Be._dateAdapter.toIso8601(Be.max):null)("data-mat-calendar",Be._datepicker?Be._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[m._Bn([Et,At,{provide:H.Jk,useExisting:Ze}]),m.qOj]}),Ze})(),Kt=(()=>{class Ze{}return Ze.\u0275fac=function(F){return new(F||Ze)},Ze.\u0275dir=m.lG2({type:Ze,selectors:[["","matDatepickerToggleIcon",""]]}),Ze})(),li=(()=>{class Ze{constructor(F,Be,ut){this._intl=F,this._changeDetectorRef=Be,this._stateChanges=E.w.EMPTY;const Mt=Number(ut);this.tabIndex=Mt||0===Mt?Mt:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(F){this._disabled=(0,Le.Ig)(F)}ngOnChanges(F){F.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(F){this.datepicker&&!this.disabled&&(this.datepicker.open(),F.stopPropagation())}_watchStateChanges(){const F=this.datepicker?this.datepicker.stateChanges:(0,k.of)(),Be=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,k.of)(),ut=this.datepicker?(0,h.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,k.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,h.T)(this._intl.changes,F,Be,ut).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(Je),m.Y36(m.sBO),m.$8M("tabindex"))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-datepicker-toggle"]],contentQueries:function(F,Be,ut){if(1&F&&m.Suo(ut,Kt,5),2&F){let Mt;m.iGM(Mt=m.CRH())&&(Be._customIcon=Mt.first)}},viewQuery:function(F,Be){if(1&F&&m.Gf(R,5),2&F){let ut;m.iGM(ut=m.CRH())&&(Be._button=ut.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(F,Be){1&F&&m.NdJ("click",function(Mt){return Be._open(Mt)}),2&F&&(m.uIk("tabindex",null)("data-mat-calendar",Be.datepicker?Be.datepicker.id:null),m.ekj("mat-datepicker-toggle-active",Be.datepicker&&Be.datepicker.opened)("mat-accent",Be.datepicker&&"accent"===Be.datepicker.color)("mat-warn",Be.datepicker&&"warn"===Be.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[m.TTD],ngContentSelectors:He,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(F,Be){1&F&&(m.F$t(Ie),m.TgZ(0,"button",0,1),m.YNc(2,Oe,2,0,"svg",2),m.Hsn(3),m.qZA()),2&F&&(m.Q6J("disabled",Be.disabled)("disableRipple",Be.disableRipple),m.uIk("aria-haspopup",Be.datepicker?"dialog":null)("aria-label",Be.ariaLabel||Be._intl.openCalendarLabel)("tabindex",Be.disabled?-1:Be.tabIndex),m.xp6(2),m.Q6J("ngIf",!Be._customIcon))},directives:[A.lW,T.O5],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),Ze})(),Qe=(()=>{class Ze{}return Ze.\u0275fac=function(F){return new(F||Ze)},Ze.\u0275mod=m.oAB({type:Ze}),Ze.\u0275inj=m.cJS({providers:[Je,G],imports:[[T.ez,A.ot,f.U8,e.rt,g.eL,b.BQ],s.ZD]}),Ze})()},48966:(Ke,be,d)=>{"use strict";d.d(be,{WI:()=>Ne,uw:()=>ee,H8:()=>Ce,vA:()=>ke,xY:()=>fe,Is:()=>Xe,so:()=>se,uh:()=>He});var e=d(92845),f=d(47429),g=d(5e3),T=d(90508),m=d(50226),A=d(8929),s=d(88514),b=d(42654),O=d(21086),E=d(92198),h=d(72986),k=d(1059),L=d(70925),V=d(69808),$=d(41777),ue=d(15664),ce=d(91159),Le=d(76360);function de(tt,rt){}class ke{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const ae={dialogContainer:(0,$.X$)("dialogContainer",[(0,$.SB)("void, exit",(0,$.oB)({opacity:0,transform:"scale(0.7)"})),(0,$.SB)("enter",(0,$.oB)({transform:"none"})),(0,$.eR)("* => enter",(0,$.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,$.oB)({transform:"none",opacity:1}))),(0,$.eR)("* => void, * => exit",(0,$.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,$.oB)({opacity:0})))])};let H=(()=>{class tt extends f.en{constructor(N,he,D,S,I,P,i,r){super(),this._elementRef=N,this._focusTrapFactory=he,this._changeDetectorRef=D,this._config=I,this._interactivityChecker=P,this._ngZone=i,this._focusMonitor=r,this._animationStateChanged=new g.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=p=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(p)),this._ariaLabelledBy=I.ariaLabelledBy||null,this._document=S}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(N){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(N)}attachTemplatePortal(N){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(N)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(N,he){this._interactivityChecker.isFocusable(N)||(N.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{N.addEventListener("blur",()=>N.removeAttribute("tabindex")),N.addEventListener("mousedown",()=>N.removeAttribute("tabindex"))})),N.focus(he)}_focusByCssSelector(N,he){let D=this._elementRef.nativeElement.querySelector(N);D&&this._forceFocus(D,he)}_trapFocus(){const N=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||N.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(he=>{he||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const N=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&N&&"function"==typeof N.focus){const he=(0,L.ht)(),D=this._elementRef.nativeElement;(!he||he===this._document.body||he===D||D.contains(he))&&(this._focusMonitor?(this._focusMonitor.focusVia(N,this._closeInteractionType),this._closeInteractionType=null):N.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,L.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const N=this._elementRef.nativeElement,he=(0,L.ht)();return N===he||N.contains(he)}}return tt.\u0275fac=function(N){return new(N||tt)(g.Y36(g.SBq),g.Y36(ue.qV),g.Y36(g.sBO),g.Y36(V.K0,8),g.Y36(ke),g.Y36(ue.ic),g.Y36(g.R0b),g.Y36(ue.tE))},tt.\u0275dir=g.lG2({type:tt,viewQuery:function(N,he){if(1&N&&g.Gf(f.Pl,7),2&N){let D;g.iGM(D=g.CRH())&&(he._portalOutlet=D.first)}},features:[g.qOj]}),tt})(),Q=(()=>{class tt extends H{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:N,totalTime:he}){"enter"===N?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:he})):"exit"===N&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:he}))}_onAnimationStart({toState:N,totalTime:he}){"enter"===N?this._animationStateChanged.next({state:"opening",totalTime:he}):("exit"===N||"void"===N)&&this._animationStateChanged.next({state:"closing",totalTime:he})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return tt.\u0275fac=function(){let rt;return function(he){return(rt||(rt=g.n5z(tt)))(he||tt)}}(),tt.\u0275cmp=g.Xpm({type:tt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(N,he){1&N&&g.WFA("@dialogContainer.start",function(S){return he._onAnimationStart(S)})("@dialogContainer.done",function(S){return he._onAnimationDone(S)}),2&N&&(g.Ikx("id",he._id),g.uIk("role",he._config.role)("aria-labelledby",he._config.ariaLabel?null:he._ariaLabelledBy)("aria-label",he._config.ariaLabel)("aria-describedby",he._config.ariaDescribedBy||null),g.d8E("@dialogContainer",he._state))},features:[g.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(N,he){1&N&&g.YNc(0,de,0,0,"ng-template",0)},directives:[f.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[ae.dialogContainer]}}),tt})(),te=0;class se{constructor(rt,N,he="mat-dialog-"+te++){this._overlayRef=rt,this._containerInstance=N,this.id=he,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new A.xQ,this._afterClosed=new A.xQ,this._beforeClosed=new A.xQ,this._state=0,N._id=he,N._animationStateChanged.pipe((0,E.h)(D=>"opened"===D.state),(0,h.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),N._animationStateChanged.pipe((0,E.h)(D=>"closed"===D.state),(0,h.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),rt.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),rt.keydownEvents().pipe((0,E.h)(D=>D.keyCode===ce.hY&&!this.disableClose&&!(0,ce.Vb)(D))).subscribe(D=>{D.preventDefault(),ge(this,"keyboard")}),rt.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():ge(this,"mouse")})}close(rt){this._result=rt,this._containerInstance._animationStateChanged.pipe((0,E.h)(N=>"closing"===N.state),(0,h.q)(1)).subscribe(N=>{this._beforeClosed.next(rt),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),N.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(rt){let N=this._getPositionStrategy();return rt&&(rt.left||rt.right)?rt.left?N.left(rt.left):N.right(rt.right):N.centerHorizontally(),rt&&(rt.top||rt.bottom)?rt.top?N.top(rt.top):N.bottom(rt.bottom):N.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(rt="",N=""){return this._overlayRef.updateSize({width:rt,height:N}),this._overlayRef.updatePosition(),this}addPanelClass(rt){return this._overlayRef.addPanelClass(rt),this}removePanelClass(rt){return this._overlayRef.removePanelClass(rt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function ge(tt,rt,N){return void 0!==tt._containerInstance&&(tt._containerInstance._closeInteractionType=rt),tt.close(N)}const Ne=new g.OlP("MatDialogData"),Fe=new g.OlP("mat-dialog-default-options"),ne=new g.OlP("mat-dialog-scroll-strategy"),me={provide:ne,deps:[e.aV],useFactory:function ve(tt){return()=>tt.scrollStrategies.block()}};let Te=(()=>{class tt{constructor(N,he,D,S,I,P,i,r,p,o){this._overlay=N,this._injector=he,this._defaultOptions=D,this._parentDialog=S,this._overlayContainer=I,this._dialogRefConstructor=i,this._dialogContainerType=r,this._dialogDataToken=p,this._animationMode=o,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new A.xQ,this._afterOpenedAtThisLevel=new A.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=(0,s.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,k.O)(void 0))),this._scrollStrategy=P}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const N=this._parentDialog;return N?N._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(N,he){if(he=function R(tt,rt){return Object.assign(Object.assign({},rt),tt)}(he,this._defaultOptions||new ke),he.id&&this.getDialogById(he.id),this._dialogAnimatingOpen)return this._lastDialogRef;const D=this._createOverlay(he),S=this._attachDialogContainer(D,he);if("NoopAnimations"!==this._animationMode){const P=S._animationStateChanged.subscribe(i=>{"opening"===i.state&&(this._dialogAnimatingOpen=!0),"opened"===i.state&&(this._dialogAnimatingOpen=!1,P.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new b.w),this._animationStateSubscriptions.add(P)}const I=this._attachDialogContent(N,S,D,he);return this._lastDialogRef=I,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(I),I.afterClosed().subscribe(()=>this._removeOpenDialog(I)),this.afterOpened.next(I),S._initializeWithAttachedContent(),I}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(N){return this.openDialogs.find(he=>he.id===N)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(N){const he=this._getOverlayConfig(N);return this._overlay.create(he)}_getOverlayConfig(N){const he=new e.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:N.scrollStrategy||this._scrollStrategy(),panelClass:N.panelClass,hasBackdrop:N.hasBackdrop,direction:N.direction,minWidth:N.minWidth,minHeight:N.minHeight,maxWidth:N.maxWidth,maxHeight:N.maxHeight,disposeOnNavigation:N.closeOnNavigation});return N.backdropClass&&(he.backdropClass=N.backdropClass),he}_attachDialogContainer(N,he){const S=g.zs3.create({parent:he&&he.viewContainerRef&&he.viewContainerRef.injector||this._injector,providers:[{provide:ke,useValue:he}]}),I=new f.C5(this._dialogContainerType,he.viewContainerRef,S,he.componentFactoryResolver);return N.attach(I).instance}_attachDialogContent(N,he,D,S){const I=new this._dialogRefConstructor(D,he,S.id);if(N instanceof g.Rgc)he.attachTemplatePortal(new f.UE(N,null,{$implicit:S.data,dialogRef:I}));else{const P=this._createInjector(S,I,he),i=he.attachComponentPortal(new f.C5(N,S.viewContainerRef,P));I.componentInstance=i.instance}return I.updateSize(S.width,S.height).updatePosition(S.position),I}_createInjector(N,he,D){const S=N&&N.viewContainerRef&&N.viewContainerRef.injector,I=[{provide:this._dialogContainerType,useValue:D},{provide:this._dialogDataToken,useValue:N.data},{provide:this._dialogRefConstructor,useValue:he}];return N.direction&&(!S||!S.get(m.Is,null,g.XFs.Optional))&&I.push({provide:m.Is,useValue:{value:N.direction,change:(0,O.of)()}}),g.zs3.create({parent:S||this._injector,providers:I})}_removeOpenDialog(N){const he=this.openDialogs.indexOf(N);he>-1&&(this.openDialogs.splice(he,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((D,S)=>{D?S.setAttribute("aria-hidden",D):S.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const N=this._overlayContainer.getContainerElement();if(N.parentElement){const he=N.parentElement.children;for(let D=he.length-1;D>-1;D--){let S=he[D];S!==N&&"SCRIPT"!==S.nodeName&&"STYLE"!==S.nodeName&&!S.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(S,S.getAttribute("aria-hidden")),S.setAttribute("aria-hidden","true"))}}}_closeDialogs(N){let he=N.length;for(;he--;)N[he].close()}}return tt.\u0275fac=function(N){g.$Z()},tt.\u0275dir=g.lG2({type:tt}),tt})(),ee=(()=>{class tt extends Te{constructor(N,he,D,S,I,P,i,r){super(N,he,S,P,i,I,se,Q,Ne,r)}}return tt.\u0275fac=function(N){return new(N||tt)(g.LFG(e.aV),g.LFG(g.zs3),g.LFG(V.Ye,8),g.LFG(Fe,8),g.LFG(ne),g.LFG(tt,12),g.LFG(e.Xj),g.LFG(Le.Qb,8))},tt.\u0275prov=g.Yz7({token:tt,factory:tt.\u0275fac}),tt})(),Oe=0,He=(()=>{class tt{constructor(N,he,D){this._dialogRef=N,this._elementRef=he,this._dialog=D,this.id="mat-dialog-title-"+Oe++}ngOnInit(){this._dialogRef||(this._dialogRef=function Ve(tt,rt){let N=tt.nativeElement.parentElement;for(;N&&!N.classList.contains("mat-dialog-container");)N=N.parentElement;return N?rt.find(he=>he.id===N.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const N=this._dialogRef._containerInstance;N&&!N._ariaLabelledBy&&(N._ariaLabelledBy=this.id)})}}return tt.\u0275fac=function(N){return new(N||tt)(g.Y36(se,8),g.Y36(g.SBq),g.Y36(ee))},tt.\u0275dir=g.lG2({type:tt,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(N,he){2&N&&g.Ikx("id",he.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),tt})(),fe=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275dir=g.lG2({type:tt,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),tt})(),Ce=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275dir=g.lG2({type:tt,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),tt})(),Xe=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275mod=g.oAB({type:tt}),tt.\u0275inj=g.cJS({providers:[ee,me],imports:[[e.U8,f.eL,T.BQ],T.BQ]}),tt})()},4834:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>T,t:()=>m});var e=d(5e3),f=d(63191),g=d(90508);let T=(()=>{class A{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(b){this._vertical=(0,f.Ig)(b)}get inset(){return this._inset}set inset(b){this._inset=(0,f.Ig)(b)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275cmp=e.Xpm({type:A,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(b,O){2&b&&(e.uIk("aria-orientation",O.vertical?"vertical":"horizontal"),e.ekj("mat-divider-vertical",O.vertical)("mat-divider-horizontal",!O.vertical)("mat-divider-inset",O.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(b,O){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),A})(),m=(()=>{class A{}return A.\u0275fac=function(b){return new(b||A)},A.\u0275mod=e.oAB({type:A}),A.\u0275inj=e.cJS({imports:[[g.BQ],g.BQ]}),A})()},81125:(Ke,be,d)=>{"use strict";d.d(be,{pp:()=>rt,To:()=>N,ib:()=>Ie,HS:()=>ee,u4:()=>Xe,yz:()=>Ve,yK:()=>tt});var e=d(5e3),f=d(63191),g=d(8929),T=d(42654),m=d(20449);let A=0;const s=new e.OlP("CdkAccordion");let b=(()=>{class he{constructor(){this._stateChanges=new g.xQ,this._openCloseAllActions=new g.xQ,this.id="cdk-accordion-"+A++,this._multi=!1}get multi(){return this._multi}set multi(S){this._multi=(0,f.Ig)(S)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(S){this._stateChanges.next(S)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return he.\u0275fac=function(S){return new(S||he)},he.\u0275dir=e.lG2({type:he,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[e._Bn([{provide:s,useExisting:he}]),e.TTD]}),he})(),O=0,E=(()=>{class he{constructor(S,I,P){this.accordion=S,this._changeDetectorRef=I,this._expansionDispatcher=P,this._openCloseAllSubscription=T.w.EMPTY,this.closed=new e.vpe,this.opened=new e.vpe,this.destroyed=new e.vpe,this.expandedChange=new e.vpe,this.id="cdk-accordion-child-"+O++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=P.listen((i,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==i&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(S){S=(0,f.Ig)(S),this._expanded!==S&&(this._expanded=S,this.expandedChange.emit(S),S?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(S){this._disabled=(0,f.Ig)(S)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(S=>{this.disabled||(this.expanded=S)})}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(s,12),e.Y36(e.sBO),e.Y36(m.A8))},he.\u0275dir=e.lG2({type:he,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[e._Bn([{provide:s,useValue:void 0}])]}),he})(),h=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275mod=e.oAB({type:he}),he.\u0275inj=e.cJS({}),he})();var k=d(47429),L=d(69808),V=d(90508),$=d(15664),ue=d(75778),ce=d(1059),Le=d(92198),de=d(72986),ke=d(91159),ae=d(76360),j=d(68896),H=d(36787),Q=d(41777);const te=["body"];function se(he,D){}const ge=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Ne=["mat-expansion-panel-header","*","mat-action-row"];function Fe(he,D){if(1&he&&e._UZ(0,"span",2),2&he){const S=e.oxw();e.Q6J("@indicatorRotate",S._getExpandedState())}}const ne=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Me=["mat-panel-title","mat-panel-description","*"],ve=new e.OlP("MAT_ACCORDION"),me="225ms cubic-bezier(0.4,0.0,0.2,1)",Te={indicatorRotate:(0,Q.X$)("indicatorRotate",[(0,Q.SB)("collapsed, void",(0,Q.oB)({transform:"rotate(0deg)"})),(0,Q.SB)("expanded",(0,Q.oB)({transform:"rotate(180deg)"})),(0,Q.eR)("expanded <=> collapsed, void => collapsed",(0,Q.jt)(me))]),bodyExpansion:(0,Q.X$)("bodyExpansion",[(0,Q.SB)("collapsed, void",(0,Q.oB)({height:"0px",visibility:"hidden"})),(0,Q.SB)("expanded",(0,Q.oB)({height:"*",visibility:"visible"})),(0,Q.eR)("expanded <=> collapsed, void => collapsed",(0,Q.jt)(me))])};let ee=(()=>{class he{constructor(S){this._template=S}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(e.Rgc))},he.\u0275dir=e.lG2({type:he,selectors:[["ng-template","matExpansionPanelContent",""]]}),he})(),R=0;const Oe=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Ie=(()=>{class he extends E{constructor(S,I,P,i,r,p,o){super(S,I,P),this._viewContainerRef=i,this._animationMode=p,this._hideToggle=!1,this.afterExpand=new e.vpe,this.afterCollapse=new e.vpe,this._inputChanges=new g.xQ,this._headerId="mat-expansion-panel-header-"+R++,this._bodyAnimationDone=new g.xQ,this.accordion=S,this._document=r,this._bodyAnimationDone.pipe((0,ue.x)((t,n)=>t.fromState===n.fromState&&t.toState===n.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),o&&(this.hideToggle=o.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(S){this._hideToggle=(0,f.Ig)(S)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(S){this._togglePosition=S}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe((0,ce.O)(null),(0,Le.h)(()=>this.expanded&&!this._portal),(0,de.q)(1)).subscribe(()=>{this._portal=new k.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(S){this._inputChanges.next(S)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const S=this._document.activeElement,I=this._body.nativeElement;return S===I||I.contains(S)}return!1}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(ve,12),e.Y36(e.sBO),e.Y36(m.A8),e.Y36(e.s_b),e.Y36(L.K0),e.Y36(ae.Qb,8),e.Y36(Oe,8))},he.\u0275cmp=e.Xpm({type:he,selectors:[["mat-expansion-panel"]],contentQueries:function(S,I,P){if(1&S&&e.Suo(P,ee,5),2&S){let i;e.iGM(i=e.CRH())&&(I._lazyContent=i.first)}},viewQuery:function(S,I){if(1&S&&e.Gf(te,5),2&S){let P;e.iGM(P=e.CRH())&&(I._body=P.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(S,I){2&S&&e.ekj("mat-expanded",I.expanded)("_mat-animation-noopable","NoopAnimations"===I._animationMode)("mat-expansion-panel-spacing",I._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[e._Bn([{provide:ve,useValue:void 0}]),e.qOj,e.TTD],ngContentSelectors:Ne,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(S,I){1&S&&(e.F$t(ge),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(i){return I._bodyAnimationDone.next(i)}),e.TgZ(3,"div",2),e.Hsn(4,1),e.YNc(5,se,0,0,"ng-template",3),e.qZA(),e.Hsn(6,2),e.qZA()),2&S&&(e.xp6(1),e.Q6J("@bodyExpansion",I._getExpandedState())("id",I.id),e.uIk("aria-labelledby",I._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",I._portal))},directives:[k.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Te.bodyExpansion]},changeDetection:0}),he})();class fe{}const Ce=(0,V.sb)(fe);let Ve=(()=>{class he extends Ce{constructor(S,I,P,i,r,p,o){super(),this.panel=S,this._element=I,this._focusMonitor=P,this._changeDetectorRef=i,this._animationMode=p,this._parentChangeSubscription=T.w.EMPTY;const t=S.accordion?S.accordion._stateChanges.pipe((0,Le.h)(n=>!(!n.hideToggle&&!n.togglePosition))):j.E;this.tabIndex=parseInt(o||"")||0,this._parentChangeSubscription=(0,H.T)(S.opened,S.closed,t,S._inputChanges.pipe((0,Le.h)(n=>!!(n.hideToggle||n.disabled||n.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),S.closed.pipe((0,Le.h)(()=>S._containsFocus())).subscribe(()=>P.focusVia(I,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const S=this._isExpanded();return S&&this.expandedHeight?this.expandedHeight:!S&&this.collapsedHeight?this.collapsedHeight:null}_keydown(S){switch(S.keyCode){case ke.L_:case ke.K5:(0,ke.Vb)(S)||(S.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(S))}}focus(S,I){S?this._focusMonitor.focusVia(this._element,S,I):this._element.nativeElement.focus(I)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(S=>{S&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(Ie,1),e.Y36(e.SBq),e.Y36($.tE),e.Y36(e.sBO),e.Y36(Oe,8),e.Y36(ae.Qb,8),e.$8M("tabindex"))},he.\u0275cmp=e.Xpm({type:he,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(S,I){1&S&&e.NdJ("click",function(){return I._toggle()})("keydown",function(i){return I._keydown(i)}),2&S&&(e.uIk("id",I.panel._headerId)("tabindex",I.tabIndex)("aria-controls",I._getPanelId())("aria-expanded",I._isExpanded())("aria-disabled",I.panel.disabled),e.Udp("height",I._getHeaderHeight()),e.ekj("mat-expanded",I._isExpanded())("mat-expansion-toggle-indicator-after","after"===I._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===I._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===I._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:Me,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(S,I){1&S&&(e.F$t(ne),e.TgZ(0,"span",0),e.Hsn(1),e.Hsn(2,1),e.Hsn(3,2),e.qZA(),e.YNc(4,Fe,1,1,"span",1)),2&S&&(e.xp6(4),e.Q6J("ngIf",I._showToggle()))},directives:[L.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[Te.indicatorRotate]},changeDetection:0}),he})(),Xe=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275dir=e.lG2({type:he,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),he})(),tt=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275dir=e.lG2({type:he,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),he})(),rt=(()=>{class he extends b{constructor(){super(...arguments),this._ownHeaders=new e.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(S){this._hideToggle=(0,f.Ig)(S)}ngAfterContentInit(){this._headers.changes.pipe((0,ce.O)(this._headers)).subscribe(S=>{this._ownHeaders.reset(S.filter(I=>I.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new $.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(S){this._keyManager.onKeydown(S)}_handleHeaderFocus(S){this._keyManager.updateActiveItem(S)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return he.\u0275fac=function(){let D;return function(I){return(D||(D=e.n5z(he)))(I||he)}}(),he.\u0275dir=e.lG2({type:he,selectors:[["mat-accordion"]],contentQueries:function(S,I,P){if(1&S&&e.Suo(P,Ve,5),2&S){let i;e.iGM(i=e.CRH())&&(I._headers=i)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(S,I){2&S&&e.ekj("mat-accordion-multi",I.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[e._Bn([{provide:ve,useExisting:he}]),e.qOj]}),he})(),N=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275mod=e.oAB({type:he}),he.\u0275inj=e.cJS({imports:[[L.ez,V.BQ,h,k.eL]]}),he})()},67322:(Ke,be,d)=>{"use strict";d.d(be,{G_:()=>p,TO:()=>Te,KE:()=>o,Eo:()=>R,lN:()=>t,bx:()=>Ve,hX:()=>Xe,UY:()=>tt,R9:()=>D});var e=d(17144),f=d(69808),g=d(5e3),T=d(90508),m=d(63191),A=d(8929),s=d(36787),b=d(23753),O=d(1059),E=d(7625),h=d(72986),k=d(41777),L=d(76360),V=d(50226),$=d(70925);const ue=["connectionContainer"],ce=["inputContainer"],Le=["label"];function de(n,c){1&n&&(g.ynx(0),g.TgZ(1,"div",14),g._UZ(2,"div",15),g._UZ(3,"div",16),g._UZ(4,"div",17),g.qZA(),g.TgZ(5,"div",18),g._UZ(6,"div",15),g._UZ(7,"div",16),g._UZ(8,"div",17),g.qZA(),g.BQk())}function ke(n,c){if(1&n){const u=g.EpF();g.TgZ(0,"div",19),g.NdJ("cdkObserveContent",function(){return g.CHM(u),g.oxw().updateOutlineGap()}),g.Hsn(1,1),g.qZA()}if(2&n){const u=g.oxw();g.Q6J("cdkObserveContentDisabled","outline"!=u.appearance)}}function ae(n,c){if(1&n&&(g.ynx(0),g.Hsn(1,2),g.TgZ(2,"span"),g._uU(3),g.qZA(),g.BQk()),2&n){const u=g.oxw(2);g.xp6(3),g.Oqu(u._control.placeholder)}}function j(n,c){1&n&&g.Hsn(0,3,["*ngSwitchCase","true"])}function H(n,c){1&n&&(g.TgZ(0,"span",23),g._uU(1," *"),g.qZA())}function Q(n,c){if(1&n){const u=g.EpF();g.TgZ(0,"label",20,21),g.NdJ("cdkObserveContent",function(){return g.CHM(u),g.oxw().updateOutlineGap()}),g.YNc(2,ae,4,1,"ng-container",12),g.YNc(3,j,1,0,"ng-content",12),g.YNc(4,H,2,0,"span",22),g.qZA()}if(2&n){const u=g.oxw();g.ekj("mat-empty",u._control.empty&&!u._shouldAlwaysFloat())("mat-form-field-empty",u._control.empty&&!u._shouldAlwaysFloat())("mat-accent","accent"==u.color)("mat-warn","warn"==u.color),g.Q6J("cdkObserveContentDisabled","outline"!=u.appearance)("id",u._labelId)("ngSwitch",u._hasLabel()),g.uIk("for",u._control.id)("aria-owns",u._control.id),g.xp6(2),g.Q6J("ngSwitchCase",!1),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngIf",!u.hideRequiredMarker&&u._control.required&&!u._control.disabled)}}function te(n,c){1&n&&(g.TgZ(0,"div",24),g.Hsn(1,4),g.qZA())}function se(n,c){if(1&n&&(g.TgZ(0,"div",25),g._UZ(1,"span",26),g.qZA()),2&n){const u=g.oxw();g.xp6(1),g.ekj("mat-accent","accent"==u.color)("mat-warn","warn"==u.color)}}function ge(n,c){if(1&n&&(g.TgZ(0,"div"),g.Hsn(1,5),g.qZA()),2&n){const u=g.oxw();g.Q6J("@transitionMessages",u._subscriptAnimationState)}}function Ne(n,c){if(1&n&&(g.TgZ(0,"div",30),g._uU(1),g.qZA()),2&n){const u=g.oxw(2);g.Q6J("id",u._hintLabelId),g.xp6(1),g.Oqu(u.hintLabel)}}function Fe(n,c){if(1&n&&(g.TgZ(0,"div",27),g.YNc(1,Ne,2,2,"div",28),g.Hsn(2,6),g._UZ(3,"div",29),g.Hsn(4,7),g.qZA()),2&n){const u=g.oxw();g.Q6J("@transitionMessages",u._subscriptAnimationState),g.xp6(1),g.Q6J("ngIf",u.hintLabel)}}const ne=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Me=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let ve=0;const me=new g.OlP("MatError");let Te=(()=>{class n{constructor(u,y){this.id="mat-error-"+ve++,u||y.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(u){return new(u||n)(g.$8M("aria-live"),g.Y36(g.SBq))},n.\u0275dir=g.lG2({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(u,y){2&u&&g.uIk("id",y.id)},inputs:{id:"id"},features:[g._Bn([{provide:me,useExisting:n}])]}),n})();const ee={transitionMessages:(0,k.X$)("transitionMessages",[(0,k.SB)("enter",(0,k.oB)({opacity:1,transform:"translateY(0%)"})),(0,k.eR)("void => enter",[(0,k.oB)({opacity:0,transform:"translateY(-5px)"}),(0,k.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let R=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n}),n})(),fe=0;const Ce=new g.OlP("MatHint");let Ve=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+fe++}}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(u,y){2&u&&(g.uIk("id",y.id)("align",null),g.ekj("mat-form-field-hint-end","end"===y.align))},inputs:{align:"align",id:"id"},features:[g._Bn([{provide:Ce,useExisting:n}])]}),n})(),Xe=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n,selectors:[["mat-label"]]}),n})(),tt=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const rt=new g.OlP("MatPrefix"),he=new g.OlP("MatSuffix");let D=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n,selectors:[["","matSuffix",""]],features:[g._Bn([{provide:he,useExisting:n}])]}),n})(),S=0;const i=(0,T.pj)(class{constructor(n){this._elementRef=n}},"primary"),r=new g.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),p=new g.OlP("MatFormField");let o=(()=>{class n extends i{constructor(u,y,M,re,et,yt,pt){super(u),this._changeDetectorRef=y,this._dir=M,this._defaults=re,this._platform=et,this._ngZone=yt,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new A.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+S++,this._labelId="mat-form-field-label-"+S++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==pt,this.appearance=re&&re.appearance?re.appearance:"legacy",this._hideRequiredMarker=!(!re||null==re.hideRequiredMarker)&&re.hideRequiredMarker}get appearance(){return this._appearance}set appearance(u){const y=this._appearance;this._appearance=u||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&y!==u&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(u){this._hideRequiredMarker=(0,m.Ig)(u)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(u){this._hintLabel=u,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(u){u!==this._floatLabel&&(this._floatLabel=u||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(u){this._explicitFormFieldControl=u}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const u=this._control;u.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${u.controlType}`),u.stateChanges.pipe((0,O.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),u.ngControl&&u.ngControl.valueChanges&&u.ngControl.valueChanges.pipe((0,E.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,E.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,s.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,O.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,O.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,E.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(u){const y=this._control?this._control.ngControl:null;return y&&y[u]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,b.R)(this._label.nativeElement,"transitionend").pipe((0,h.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let u=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&u.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const y=this._hintChildren?this._hintChildren.find(re=>"start"===re.align):null,M=this._hintChildren?this._hintChildren.find(re=>"end"===re.align):null;y?u.push(y.id):this._hintLabel&&u.push(this._hintLabelId),M&&u.push(M.id)}else this._errorChildren&&u.push(...this._errorChildren.map(y=>y.id));this._control.setDescribedByIds(u)}}_validateControlChild(){}updateOutlineGap(){const u=this._label?this._label.nativeElement:null,y=this._connectionContainerRef.nativeElement,M=".mat-form-field-outline-start",re=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!u||!u.children.length||!u.textContent.trim()){const It=y.querySelectorAll(`${M}, ${re}`);for(let Zt=0;Zt0?.75*_t+10:0}for(let It=0;It{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275mod=g.oAB({type:n}),n.\u0275inj=g.cJS({imports:[[f.ez,T.BQ,e.Q8],T.BQ]}),n})()},25245:(Ke,be,d)=>{"use strict";d.d(be,{Hw:()=>Ie,Ps:()=>He,jv:()=>se});var e=d(5e3),f=d(90508),g=d(63191),T=d(69808),m=d(21086),A=d(61737),s=d(30567),b=d(42654),O=d(22868),E=d(24850),h=d(27221),k=d(40537),L=d(12474),V=d(72986),$=d(40520),ue=d(22313);const ce=["*"];let Le;function ke(fe){var Ce;return(null===(Ce=function de(){if(void 0===Le&&(Le=null,"undefined"!=typeof window)){const fe=window;void 0!==fe.trustedTypes&&(Le=fe.trustedTypes.createPolicy("angular#components",{createHTML:Ce=>Ce}))}return Le}())||void 0===Ce?void 0:Ce.createHTML(fe))||fe}function ae(fe){return Error(`Unable to find icon with the name "${fe}"`)}function H(fe){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${fe}".`)}function Q(fe){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${fe}".`)}class te{constructor(Ce,Ve,Xe){this.url=Ce,this.svgText=Ve,this.options=Xe}}let se=(()=>{class fe{constructor(Ve,Xe,tt,rt){this._httpClient=Ve,this._sanitizer=Xe,this._errorHandler=rt,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=tt}addSvgIcon(Ve,Xe,tt){return this.addSvgIconInNamespace("",Ve,Xe,tt)}addSvgIconLiteral(Ve,Xe,tt){return this.addSvgIconLiteralInNamespace("",Ve,Xe,tt)}addSvgIconInNamespace(Ve,Xe,tt,rt){return this._addSvgIconConfig(Ve,Xe,new te(tt,null,rt))}addSvgIconResolver(Ve){return this._resolvers.push(Ve),this}addSvgIconLiteralInNamespace(Ve,Xe,tt,rt){const N=this._sanitizer.sanitize(e.q3G.HTML,tt);if(!N)throw Q(tt);const he=ke(N);return this._addSvgIconConfig(Ve,Xe,new te("",he,rt))}addSvgIconSet(Ve,Xe){return this.addSvgIconSetInNamespace("",Ve,Xe)}addSvgIconSetLiteral(Ve,Xe){return this.addSvgIconSetLiteralInNamespace("",Ve,Xe)}addSvgIconSetInNamespace(Ve,Xe,tt){return this._addSvgIconSetConfig(Ve,new te(Xe,null,tt))}addSvgIconSetLiteralInNamespace(Ve,Xe,tt){const rt=this._sanitizer.sanitize(e.q3G.HTML,Xe);if(!rt)throw Q(Xe);const N=ke(rt);return this._addSvgIconSetConfig(Ve,new te("",N,tt))}registerFontClassAlias(Ve,Xe=Ve){return this._fontCssClassesByAlias.set(Ve,Xe),this}classNameForFontAlias(Ve){return this._fontCssClassesByAlias.get(Ve)||Ve}setDefaultFontSetClass(Ve){return this._defaultFontSetClass=Ve,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ve){const Xe=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Ve);if(!Xe)throw H(Ve);const tt=this._cachedIconsByUrl.get(Xe);return tt?(0,m.of)(Fe(tt)):this._loadSvgIconFromConfig(new te(Ve,null)).pipe((0,O.b)(rt=>this._cachedIconsByUrl.set(Xe,rt)),(0,E.U)(rt=>Fe(rt)))}getNamedSvgIcon(Ve,Xe=""){const tt=ne(Xe,Ve);let rt=this._svgIconConfigs.get(tt);if(rt)return this._getSvgFromConfig(rt);if(rt=this._getIconConfigFromResolvers(Xe,Ve),rt)return this._svgIconConfigs.set(tt,rt),this._getSvgFromConfig(rt);const N=this._iconSetConfigs.get(Xe);return N?this._getSvgFromIconSetConfigs(Ve,N):(0,A._)(ae(tt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ve){return Ve.svgText?(0,m.of)(Fe(this._svgElementFromConfig(Ve))):this._loadSvgIconFromConfig(Ve).pipe((0,E.U)(Xe=>Fe(Xe)))}_getSvgFromIconSetConfigs(Ve,Xe){const tt=this._extractIconWithNameFromAnySet(Ve,Xe);if(tt)return(0,m.of)(tt);const rt=Xe.filter(N=>!N.svgText).map(N=>this._loadSvgIconSetFromConfig(N).pipe((0,h.K)(he=>{const S=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,N.url)} failed: ${he.message}`;return this._errorHandler.handleError(new Error(S)),(0,m.of)(null)})));return(0,s.D)(rt).pipe((0,E.U)(()=>{const N=this._extractIconWithNameFromAnySet(Ve,Xe);if(!N)throw ae(Ve);return N}))}_extractIconWithNameFromAnySet(Ve,Xe){for(let tt=Xe.length-1;tt>=0;tt--){const rt=Xe[tt];if(rt.svgText&&rt.svgText.toString().indexOf(Ve)>-1){const N=this._svgElementFromConfig(rt),he=this._extractSvgIconFromSet(N,Ve,rt.options);if(he)return he}}return null}_loadSvgIconFromConfig(Ve){return this._fetchIcon(Ve).pipe((0,O.b)(Xe=>Ve.svgText=Xe),(0,E.U)(()=>this._svgElementFromConfig(Ve)))}_loadSvgIconSetFromConfig(Ve){return Ve.svgText?(0,m.of)(null):this._fetchIcon(Ve).pipe((0,O.b)(Xe=>Ve.svgText=Xe))}_extractSvgIconFromSet(Ve,Xe,tt){const rt=Ve.querySelector(`[id="${Xe}"]`);if(!rt)return null;const N=rt.cloneNode(!0);if(N.removeAttribute("id"),"svg"===N.nodeName.toLowerCase())return this._setSvgAttributes(N,tt);if("symbol"===N.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(N),tt);const he=this._svgElementFromString(ke(""));return he.appendChild(N),this._setSvgAttributes(he,tt)}_svgElementFromString(Ve){const Xe=this._document.createElement("DIV");Xe.innerHTML=Ve;const tt=Xe.querySelector("svg");if(!tt)throw Error(" tag not found");return tt}_toSvgElement(Ve){const Xe=this._svgElementFromString(ke("")),tt=Ve.attributes;for(let rt=0;rtke(I)),(0,k.x)(()=>this._inProgressUrlFetches.delete(he)),(0,L.B)());return this._inProgressUrlFetches.set(he,S),S}_addSvgIconConfig(Ve,Xe,tt){return this._svgIconConfigs.set(ne(Ve,Xe),tt),this}_addSvgIconSetConfig(Ve,Xe){const tt=this._iconSetConfigs.get(Ve);return tt?tt.push(Xe):this._iconSetConfigs.set(Ve,[Xe]),this}_svgElementFromConfig(Ve){if(!Ve.svgElement){const Xe=this._svgElementFromString(Ve.svgText);this._setSvgAttributes(Xe,Ve.options),Ve.svgElement=Xe}return Ve.svgElement}_getIconConfigFromResolvers(Ve,Xe){for(let tt=0;ttCe?Ce.pathname+Ce.search:""}}}),ee=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],R=ee.map(fe=>`[${fe}]`).join(", "),Oe=/^url\(['"]?#(.*?)['"]?\)$/;let Ie=(()=>{class fe extends ve{constructor(Ve,Xe,tt,rt,N){super(Ve),this._iconRegistry=Xe,this._location=rt,this._errorHandler=N,this._inline=!1,this._currentIconFetch=b.w.EMPTY,tt||Ve.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Ve){this._inline=(0,g.Ig)(Ve)}get svgIcon(){return this._svgIcon}set svgIcon(Ve){Ve!==this._svgIcon&&(Ve?this._updateSvgIcon(Ve):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ve)}get fontSet(){return this._fontSet}set fontSet(Ve){const Xe=this._cleanupFontValue(Ve);Xe!==this._fontSet&&(this._fontSet=Xe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ve){const Xe=this._cleanupFontValue(Ve);Xe!==this._fontIcon&&(this._fontIcon=Xe,this._updateFontIconClasses())}_splitIconName(Ve){if(!Ve)return["",""];const Xe=Ve.split(":");switch(Xe.length){case 1:return["",Xe[0]];case 2:return Xe;default:throw Error(`Invalid icon name: "${Ve}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ve=this._elementsWithExternalReferences;if(Ve&&Ve.size){const Xe=this._location.getPathname();Xe!==this._previousPath&&(this._previousPath=Xe,this._prependPathToReferences(Xe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ve){this._clearSvgElement();const Xe=Ve.querySelectorAll("style");for(let rt=0;rt{tt.forEach(N=>{rt.setAttribute(N.name,`url('${Ve}#${N.value}')`)})})}_cacheChildrenWithExternalReferences(Ve){const Xe=Ve.querySelectorAll(R),tt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let rt=0;rt{const he=Xe[rt],D=he.getAttribute(N),S=D?D.match(Oe):null;if(S){let I=tt.get(he);I||(I=[],tt.set(he,I)),I.push({name:N,value:S[1]})}})}_updateSvgIcon(Ve){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ve){const[Xe,tt]=this._splitIconName(Ve);Xe&&(this._svgNamespace=Xe),tt&&(this._svgName=tt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(tt,Xe).pipe((0,V.q)(1)).subscribe(rt=>this._setSvgElement(rt),rt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Xe}:${tt}! ${rt.message}`))})}}}return fe.\u0275fac=function(Ve){return new(Ve||fe)(e.Y36(e.SBq),e.Y36(se),e.$8M("aria-hidden"),e.Y36(me),e.Y36(e.qLn))},fe.\u0275cmp=e.Xpm({type:fe,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(Ve,Xe){2&Ve&&(e.uIk("data-mat-icon-type",Xe._usingFontIcon()?"font":"svg")("data-mat-icon-name",Xe._svgName||Xe.fontIcon)("data-mat-icon-namespace",Xe._svgNamespace||Xe.fontSet),e.ekj("mat-icon-inline",Xe.inline)("mat-icon-no-color","primary"!==Xe.color&&"accent"!==Xe.color&&"warn"!==Xe.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:ce,decls:1,vars:0,template:function(Ve,Xe){1&Ve&&(e.F$t(),e.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),fe})(),He=(()=>{class fe{}return fe.\u0275fac=function(Ve){return new(Ve||fe)},fe.\u0275mod=e.oAB({type:fe}),fe.\u0275inj=e.cJS({imports:[[f.BQ],f.BQ]}),fe})()},98833:(Ke,be,d)=>{"use strict";d.d(be,{Jk:()=>E,Nt:()=>V,c:()=>$});var e=d(63191),f=d(70925),g=d(5e3),T=d(93075),m=d(90508),A=d(67322),s=d(8929),b=d(74533);const E=new g.OlP("MAT_INPUT_VALUE_ACCESSOR"),h=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let k=0;const L=(0,m.FD)(class{constructor(ue,ce,Le,de){this._defaultErrorStateMatcher=ue,this._parentForm=ce,this._parentFormGroup=Le,this.ngControl=de}});let V=(()=>{class ue extends L{constructor(Le,de,ke,ae,j,H,Q,te,se,ge){super(H,ae,j,ke),this._elementRef=Le,this._platform=de,this._autofillMonitor=te,this._formField=ge,this._uid="mat-input-"+k++,this.focused=!1,this.stateChanges=new s.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(ne=>(0,f.qK)().has(ne));const Ne=this._elementRef.nativeElement,Fe=Ne.nodeName.toLowerCase();this._inputValueAccessor=Q||Ne,this._previousNativeValue=this.value,this.id=this.id,de.IOS&&se.runOutsideAngular(()=>{Le.nativeElement.addEventListener("keyup",ne=>{const Me=ne.target;!Me.value&&0===Me.selectionStart&&0===Me.selectionEnd&&(Me.setSelectionRange(1,1),Me.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Fe,this._isTextarea="textarea"===Fe,this._isInFormField=!!ge,this._isNativeSelect&&(this.controlType=Ne.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(Le){this._disabled=(0,e.Ig)(Le),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(Le){this._id=Le||this._uid}get required(){var Le,de,ke,ae;return null!==(ae=null!==(Le=this._required)&&void 0!==Le?Le:null===(ke=null===(de=this.ngControl)||void 0===de?void 0:de.control)||void 0===ke?void 0:ke.hasValidator(T.kI.required))&&void 0!==ae&&ae}set required(Le){this._required=(0,e.Ig)(Le)}get type(){return this._type}set type(Le){this._type=Le||"text",this._validateType(),!this._isTextarea&&(0,f.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(Le){Le!==this.value&&(this._inputValueAccessor.value=Le,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(Le){this._readonly=(0,e.Ig)(Le)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(Le=>{this.autofilled=Le.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(Le){this._elementRef.nativeElement.focus(Le)}_focusChanged(Le){Le!==this.focused&&(this.focused=Le,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var Le,de;const ke=(null===(de=null===(Le=this._formField)||void 0===Le?void 0:Le._hideControlPlaceholder)||void 0===de?void 0:de.call(Le))?null:this.placeholder;if(ke!==this._previousPlaceholder){const ae=this._elementRef.nativeElement;this._previousPlaceholder=ke,ke?ae.setAttribute("placeholder",ke):ae.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const Le=this._elementRef.nativeElement.value;this._previousNativeValue!==Le&&(this._previousNativeValue=Le,this.stateChanges.next())}_validateType(){h.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let Le=this._elementRef.nativeElement.validity;return Le&&Le.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const Le=this._elementRef.nativeElement,de=Le.options[0];return this.focused||Le.multiple||!this.empty||!!(Le.selectedIndex>-1&&de&&de.label)}return this.focused||!this.empty}setDescribedByIds(Le){Le.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Le.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const Le=this._elementRef.nativeElement;return this._isNativeSelect&&(Le.multiple||Le.size>1)}}return ue.\u0275fac=function(Le){return new(Le||ue)(g.Y36(g.SBq),g.Y36(f.t4),g.Y36(T.a5,10),g.Y36(T.F,8),g.Y36(T.sg,8),g.Y36(m.rD),g.Y36(E,10),g.Y36(b.Lq),g.Y36(g.R0b),g.Y36(A.G_,8))},ue.\u0275dir=g.lG2({type:ue,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(Le,de){1&Le&&g.NdJ("focus",function(){return de._focusChanged(!0)})("blur",function(){return de._focusChanged(!1)})("input",function(){return de._onInput()}),2&Le&&(g.Ikx("disabled",de.disabled)("required",de.required),g.uIk("id",de.id)("data-placeholder",de.placeholder)("name",de.name||null)("readonly",de.readonly&&!de._isNativeSelect||null)("aria-invalid",de.empty&&de.required?null:de.errorState)("aria-required",de.required),g.ekj("mat-input-server",de._isServer)("mat-native-select-inline",de._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[g._Bn([{provide:A.Eo,useExisting:ue}]),g.qOj,g.TTD]}),ue})(),$=(()=>{class ue{}return ue.\u0275fac=function(Le){return new(Le||ue)},ue.\u0275mod=g.oAB({type:ue}),ue.\u0275inj=g.cJS({providers:[m.rD],imports:[[b.Ky,A.lN,m.BQ],b.Ky,A.lN]}),ue})()},14623:(Ke,be,d)=>{"use strict";d.d(be,{i$:()=>se,Tg:()=>ne,ie:()=>Oe});var e=d(69808),f=d(5e3),g=d(90508),T=d(63191),m=d(8929),A=d(7625),k=(d(1059),d(15664),d(20449),d(91159),d(93075),d(4834));const L=["*"],$=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],ue=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],ae=(0,g.Id)((0,g.Kr)(class{})),j=(0,g.Kr)(class{}),H=new f.OlP("MatList"),Q=new f.OlP("MatNavList");let se=(()=>{class Ie extends ae{constructor(fe){super(),this._elementRef=fe,this._stateChanges=new m.xQ,"action-list"===this._getListType()&&fe.nativeElement.classList.add("mat-action-list")}_getListType(){const fe=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===fe?"list":"mat-action-list"===fe?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq))},Ie.\u0275cmp=f.Xpm({type:Ie,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[f._Bn([{provide:H,useExisting:Ie}]),f.qOj,f.TTD],ngContentSelectors:L,decls:1,vars:0,template:function(fe,Ce){1&fe&&(f.F$t(),f.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),Ie})(),ge=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275dir=f.lG2({type:Ie,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),Ie})(),Ne=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275dir=f.lG2({type:Ie,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),Ie})(),ne=(()=>{class Ie extends j{constructor(fe,Ce,Ve,Xe){super(),this._element=fe,this._isInteractiveList=!1,this._destroyed=new m.xQ,this._disabled=!1,this._isInteractiveList=!!(Ve||Xe&&"action-list"===Xe._getListType()),this._list=Ve||Xe;const tt=this._getHostElement();"button"===tt.nodeName.toLowerCase()&&!tt.hasAttribute("type")&&tt.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,A.R)(this._destroyed)).subscribe(()=>{Ce.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(fe){this._disabled=(0,T.Ig)(fe)}ngAfterContentInit(){(0,g.E0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(Q,8),f.Y36(H,8))},Ie.\u0275cmp=f.Xpm({type:Ie,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(fe,Ce,Ve){if(1&fe&&(f.Suo(Ve,ge,5),f.Suo(Ve,Ne,5),f.Suo(Ve,g.X2,5)),2&fe){let Xe;f.iGM(Xe=f.CRH())&&(Ce._avatar=Xe.first),f.iGM(Xe=f.CRH())&&(Ce._icon=Xe.first),f.iGM(Xe=f.CRH())&&(Ce._lines=Xe)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(fe,Ce){2&fe&&f.ekj("mat-list-item-disabled",Ce.disabled)("mat-list-item-avatar",Ce._avatar||Ce._icon)("mat-list-item-with-avatar",Ce._avatar||Ce._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[f.qOj],ngContentSelectors:ue,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(fe,Ce){1&fe&&(f.F$t($),f.TgZ(0,"span",0),f._UZ(1,"span",1),f.Hsn(2),f.TgZ(3,"span",2),f.Hsn(4,1),f.qZA(),f.Hsn(5,2),f.qZA()),2&fe&&(f.xp6(1),f.Q6J("matRippleTrigger",Ce._getHostElement())("matRippleDisabled",Ce._isRippleDisabled()))},directives:[g.wG],encapsulation:2,changeDetection:0}),Ie})(),Oe=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275mod=f.oAB({type:Ie}),Ie.\u0275inj=f.cJS({imports:[[g.uc,g.si,g.BQ,g.us,e.ez],g.uc,g.BQ,g.us,k.t]}),Ie})()},92181:(Ke,be,d)=>{"use strict";d.d(be,{VK:()=>rt,OP:()=>fe,Tx:()=>r,p6:()=>i});var e=d(15664),f=d(63191),g=d(91159),T=d(5e3),m=d(8929),A=d(42654),s=d(36787),b=d(21086),O=d(8139),E=d(1059),h=d(87545),k=d(72986),L=d(7625),V=d(92198),$=d(40943),ue=d(41777),ce=d(47429),Le=d(69808),de=d(90508),ke=d(92845),ae=d(70925),j=d(50226),H=d(53435);const Q=["mat-menu-item",""];function te(p,o){1&p&&(T.O4$(),T.TgZ(0,"svg",2),T._UZ(1,"polygon",3),T.qZA())}const se=["*"];function ge(p,o){if(1&p){const t=T.EpF();T.TgZ(0,"div",0),T.NdJ("keydown",function(c){return T.CHM(t),T.oxw()._handleKeydown(c)})("click",function(){return T.CHM(t),T.oxw().closed.emit("click")})("@transformMenu.start",function(c){return T.CHM(t),T.oxw()._onAnimationStart(c)})("@transformMenu.done",function(c){return T.CHM(t),T.oxw()._onAnimationDone(c)}),T.TgZ(1,"div",1),T.Hsn(2),T.qZA(),T.qZA()}if(2&p){const t=T.oxw();T.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),T.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const Ne={transformMenu:(0,ue.X$)("transformMenu",[(0,ue.SB)("void",(0,ue.oB)({opacity:0,transform:"scale(0.8)"})),(0,ue.eR)("void => enter",(0,ue.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ue.oB)({opacity:1,transform:"scale(1)"}))),(0,ue.eR)("* => void",(0,ue.jt)("100ms 25ms linear",(0,ue.oB)({opacity:0})))]),fadeInItems:(0,ue.X$)("fadeInItems",[(0,ue.SB)("showing",(0,ue.oB)({opacity:1})),(0,ue.eR)("void => *",[(0,ue.oB)({opacity:0}),(0,ue.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Me=new T.OlP("MatMenuContent"),Ie=new T.OlP("MAT_MENU_PANEL"),He=(0,de.Kr)((0,de.Id)(class{}));let fe=(()=>{class p extends He{constructor(t,n,c,u,y){var M;super(),this._elementRef=t,this._focusMonitor=c,this._parentMenu=u,this._changeDetectorRef=y,this.role="menuitem",this._hovered=new m.xQ,this._focused=new m.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(M=null==u?void 0:u.addItem)||void 0===M||M.call(u,this)}focus(t,n){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,n):this._getHostElement().focus(n),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t;const n=this._elementRef.nativeElement.cloneNode(!0),c=n.querySelectorAll("mat-icon, .material-icons");for(let u=0;u{class p{constructor(t,n,c){this._elementRef=t,this._ngZone=n,this._defaultOptions=c,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new T.n_E,this._tabSubscription=A.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new m.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new T.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Xe++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=(0,f.Ig)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,f.Ig)(t)}set panelClass(t){const n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(c=>{this._classList[c]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(c=>{this._classList[c]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new e.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,E.O)(this._directDescendantItems),(0,h.w)(t=>(0,s.T)(...t.map(n=>n._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,E.O)(this._directDescendantItems),(0,h.w)(n=>(0,s.T)(...n.map(c=>c._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const n=t.keyCode,c=this._keyManager;switch(n){case g.hY:(0,g.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case g.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case g.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(n===g.LH||n===g.JH)&&c.setFocusOrigin("keyboard"),void c.onKeydown(t)}t.stopPropagation()}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const n=this._keyManager;if(n.setFocusOrigin(t).setFirstItemActive(),!n.activeItem&&this._directDescendantItems.length){let c=this._directDescendantItems.first._getHostElement().parentElement;for(;c;){if("menu"===c.getAttribute("role")){c.focus();break}c=c.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const n=Math.min(this._baseElevation+t,24),c=`${this._elevationPrefix}${n}`,u=Object.keys(this._classList).find(y=>y.startsWith(this._elevationPrefix));(!u||u===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[c]=!0,this._previousElevation=c)}setPositionClasses(t=this.xPosition,n=this.yPosition){const c=this._classList;c["mat-menu-before"]="before"===t,c["mat-menu-after"]="after"===t,c["mat-menu-above"]="above"===n,c["mat-menu-below"]="below"===n}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,E.O)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return p.\u0275fac=function(t){return new(t||p)(T.Y36(T.SBq),T.Y36(T.R0b),T.Y36(Ce))},p.\u0275dir=T.lG2({type:p,contentQueries:function(t,n,c){if(1&t&&(T.Suo(c,Me,5),T.Suo(c,fe,5),T.Suo(c,fe,4)),2&t){let u;T.iGM(u=T.CRH())&&(n.lazyContent=u.first),T.iGM(u=T.CRH())&&(n._allItems=u),T.iGM(u=T.CRH())&&(n.items=u)}},viewQuery:function(t,n){if(1&t&&T.Gf(T.Rgc,5),2&t){let c;T.iGM(c=T.CRH())&&(n.templateRef=c.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),p})(),rt=(()=>{class p extends tt{constructor(t,n,c){super(t,n,c),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return p.\u0275fac=function(t){return new(t||p)(T.Y36(T.SBq),T.Y36(T.R0b),T.Y36(Ce))},p.\u0275cmp=T.Xpm({type:p,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,n){2&t&&T.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[T._Bn([{provide:Ie,useExisting:p}]),T.qOj],ngContentSelectors:se,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,n){1&t&&(T.F$t(),T.YNc(0,ge,3,6,"ng-template"))},directives:[Le.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[Ne.transformMenu,Ne.fadeInItems]},changeDetection:0}),p})();const N=new T.OlP("mat-menu-scroll-strategy"),D={provide:N,deps:[ke.aV],useFactory:function he(p){return()=>p.scrollStrategies.reposition()}},I=(0,ae.i$)({passive:!0});let P=(()=>{class p{constructor(t,n,c,u,y,M,re,et){this._overlay=t,this._element=n,this._viewContainerRef=c,this._menuItemInstance=M,this._dir=re,this._focusMonitor=et,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=A.w.EMPTY,this._hoverSubscription=A.w.EMPTY,this._menuCloseSubscription=A.w.EMPTY,this._handleTouchStart=yt=>{(0,e.yG)(yt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new T.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new T.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=u,this._parentMaterialMenu=y instanceof tt?y:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,I),M&&(M._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(n=>{this._destroyMenu(n),("click"===n||"tab"===n)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,I),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),n=t.getConfig(),c=n.positionStrategy;this._setPosition(c),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof tt&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe((0,L.R)(this.menu.close)).subscribe(()=>{c.withLockedPosition(!1).reapplyLastPosition(),c.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(t,n){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,n):this._element.nativeElement.focus(n)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===t||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,n instanceof tt?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe((0,V.h)(c=>"void"===c.toState),(0,k.q)(1),(0,L.R)(n.lazyContent._attached)).subscribe({next:()=>n.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n.lazyContent&&n.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,n=this.menu.parentMenu;for(;n;)t++,n=n.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new ke.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(n=>{this.menu.setPositionClasses("start"===n.connectionPair.overlayX?"after":"before","top"===n.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[n,c]="before"===this.menu.xPosition?["end","start"]:["start","end"],[u,y]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[M,re]=[u,y],[et,yt]=[n,c],pt=0;this.triggersSubmenu()?(yt=n="before"===this.menu.xPosition?"start":"end",c=et="end"===n?"start":"end",pt="bottom"===u?8:-8):this.menu.overlapTrigger||(M="top"===u?"bottom":"top",re="top"===y?"bottom":"top"),t.withPositions([{originX:n,originY:M,overlayX:et,overlayY:u,offsetY:pt},{originX:c,originY:M,overlayX:yt,overlayY:u,offsetY:pt},{originX:n,originY:re,overlayX:et,overlayY:y,offsetY:-pt},{originX:c,originY:re,overlayX:yt,overlayY:y,offsetY:-pt}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),c=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,b.of)(),u=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,V.h)(y=>y!==this._menuItemInstance),(0,V.h)(()=>this._menuOpen)):(0,b.of)();return(0,s.T)(t,c,u,n)}_handleMousedown(t){(0,e.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const n=t.keyCode;(n===g.K5||n===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(n===g.SV&&"ltr"===this.dir||n===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,V.h)(t=>t===this._menuItemInstance&&!t.disabled),(0,$.g)(0,O.e)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof tt&&this.menu._isAnimating?this.menu._animationDone.pipe((0,k.q)(1),(0,$.g)(0,O.e),(0,L.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new ce.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return p.\u0275fac=function(t){return new(t||p)(T.Y36(ke.aV),T.Y36(T.SBq),T.Y36(T.s_b),T.Y36(N),T.Y36(Ie,8),T.Y36(fe,10),T.Y36(j.Is,8),T.Y36(e.tE))},p.\u0275dir=T.lG2({type:p,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(t,n){1&t&&T.NdJ("click",function(u){return n._handleClick(u)})("mousedown",function(u){return n._handleMousedown(u)})("keydown",function(u){return n._handleKeydown(u)}),2&t&&T.uIk("aria-expanded",n.menuOpen||null)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),p})(),i=(()=>{class p extends P{}return p.\u0275fac=function(){let o;return function(n){return(o||(o=T.n5z(p)))(n||p)}}(),p.\u0275dir=T.lG2({type:p,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[T.qOj]}),p})(),r=(()=>{class p{}return p.\u0275fac=function(t){return new(t||p)},p.\u0275mod=T.oAB({type:p}),p.\u0275inj=T.cJS({providers:[D],imports:[[Le.ez,de.BQ,de.si,ke.U8],H.ZD,de.BQ]}),p})()},86087:(Ke,be,d)=>{"use strict";d.d(be,{NW:()=>Q,ye:()=>ue,TU:()=>te});var e=d(69808),f=d(5e3),g=d(90508),T=d(47423),m=d(74107),A=d(29772),s=d(63191),b=d(8929),O=d(67322);function E(se,ge){if(1&se&&(f.TgZ(0,"mat-option",19),f._uU(1),f.qZA()),2&se){const Ne=ge.$implicit;f.Q6J("value",Ne),f.xp6(1),f.hij(" ",Ne," ")}}function h(se,ge){if(1&se){const Ne=f.EpF();f.TgZ(0,"mat-form-field",16),f.TgZ(1,"mat-select",17),f.NdJ("selectionChange",function(ne){return f.CHM(Ne),f.oxw(2)._changePageSize(ne.value)}),f.YNc(2,E,2,2,"mat-option",18),f.qZA(),f.qZA()}if(2&se){const Ne=f.oxw(2);f.Q6J("appearance",Ne._formFieldAppearance)("color",Ne.color),f.xp6(1),f.Q6J("value",Ne.pageSize)("disabled",Ne.disabled)("aria-label",Ne._intl.itemsPerPageLabel),f.xp6(1),f.Q6J("ngForOf",Ne._displayedPageSizeOptions)}}function k(se,ge){if(1&se&&(f.TgZ(0,"div",20),f._uU(1),f.qZA()),2&se){const Ne=f.oxw(2);f.xp6(1),f.Oqu(Ne.pageSize)}}function L(se,ge){if(1&se&&(f.TgZ(0,"div",12),f.TgZ(1,"div",13),f._uU(2),f.qZA(),f.YNc(3,h,3,6,"mat-form-field",14),f.YNc(4,k,2,1,"div",15),f.qZA()),2&se){const Ne=f.oxw();f.xp6(2),f.hij(" ",Ne._intl.itemsPerPageLabel," "),f.xp6(1),f.Q6J("ngIf",Ne._displayedPageSizeOptions.length>1),f.xp6(1),f.Q6J("ngIf",Ne._displayedPageSizeOptions.length<=1)}}function V(se,ge){if(1&se){const Ne=f.EpF();f.TgZ(0,"button",21),f.NdJ("click",function(){return f.CHM(Ne),f.oxw().firstPage()}),f.O4$(),f.TgZ(1,"svg",7),f._UZ(2,"path",22),f.qZA(),f.qZA()}if(2&se){const Ne=f.oxw();f.Q6J("matTooltip",Ne._intl.firstPageLabel)("matTooltipDisabled",Ne._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Ne._previousButtonsDisabled()),f.uIk("aria-label",Ne._intl.firstPageLabel)}}function $(se,ge){if(1&se){const Ne=f.EpF();f.O4$(),f.kcU(),f.TgZ(0,"button",23),f.NdJ("click",function(){return f.CHM(Ne),f.oxw().lastPage()}),f.O4$(),f.TgZ(1,"svg",7),f._UZ(2,"path",24),f.qZA(),f.qZA()}if(2&se){const Ne=f.oxw();f.Q6J("matTooltip",Ne._intl.lastPageLabel)("matTooltipDisabled",Ne._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Ne._nextButtonsDisabled()),f.uIk("aria-label",Ne._intl.lastPageLabel)}}let ue=(()=>{class se{constructor(){this.changes=new b.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(Ne,Fe,ne)=>{if(0==ne||0==Fe)return`0 of ${ne}`;const Me=Ne*Fe;return`${Me+1} \u2013 ${Me<(ne=Math.max(ne,0))?Math.min(Me+Fe,ne):Me+Fe} of ${ne}`}}}return se.\u0275fac=function(Ne){return new(Ne||se)},se.\u0275prov=f.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();const Le={provide:ue,deps:[[new f.FiY,new f.tp0,ue]],useFactory:function ce(se){return se||new ue}},ae=new f.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),j=(0,g.Id)((0,g.dB)(class{}));let H=(()=>{class se extends j{constructor(Ne,Fe,ne){if(super(),this._intl=Ne,this._changeDetectorRef=Fe,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new f.vpe,this._intlChanges=Ne.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),ne){const{pageSize:Me,pageSizeOptions:ve,hidePageSize:me,showFirstLastButtons:Te}=ne;null!=Me&&(this._pageSize=Me),null!=ve&&(this._pageSizeOptions=ve),null!=me&&(this._hidePageSize=me),null!=Te&&(this._showFirstLastButtons=Te)}}get pageIndex(){return this._pageIndex}set pageIndex(Ne){this._pageIndex=Math.max((0,s.su)(Ne),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Ne){this._length=(0,s.su)(Ne),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Ne){this._pageSize=Math.max((0,s.su)(Ne),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Ne){this._pageSizeOptions=(Ne||[]).map(Fe=>(0,s.su)(Fe)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Ne){this._hidePageSize=(0,s.Ig)(Ne)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Ne){this._showFirstLastButtons=(0,s.Ig)(Ne)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Ne=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Ne)}previousPage(){if(!this.hasPreviousPage())return;const Ne=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Ne)}firstPage(){if(!this.hasPreviousPage())return;const Ne=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Ne)}lastPage(){if(!this.hasNextPage())return;const Ne=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Ne)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Ne=this.getNumberOfPages()-1;return this.pageIndexNe-Fe),this._changeDetectorRef.markForCheck())}_emitPageEvent(Ne){this.page.emit({previousPageIndex:Ne,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return se.\u0275fac=function(Ne){f.$Z()},se.\u0275dir=f.lG2({type:se,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[f.qOj]}),se})(),Q=(()=>{class se extends H{constructor(Ne,Fe,ne){super(Ne,Fe,ne),ne&&null!=ne.formFieldAppearance&&(this._formFieldAppearance=ne.formFieldAppearance)}}return se.\u0275fac=function(Ne){return new(Ne||se)(f.Y36(ue),f.Y36(f.sBO),f.Y36(ae,8))},se.\u0275cmp=f.Xpm({type:se,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[f.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(Ne,Fe){1&Ne&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.YNc(2,L,5,3,"div",2),f.TgZ(3,"div",3),f.TgZ(4,"div",4),f._uU(5),f.qZA(),f.YNc(6,V,3,5,"button",5),f.TgZ(7,"button",6),f.NdJ("click",function(){return Fe.previousPage()}),f.O4$(),f.TgZ(8,"svg",7),f._UZ(9,"path",8),f.qZA(),f.qZA(),f.kcU(),f.TgZ(10,"button",9),f.NdJ("click",function(){return Fe.nextPage()}),f.O4$(),f.TgZ(11,"svg",7),f._UZ(12,"path",10),f.qZA(),f.qZA(),f.YNc(13,$,3,5,"button",11),f.qZA(),f.qZA(),f.qZA()),2&Ne&&(f.xp6(2),f.Q6J("ngIf",!Fe.hidePageSize),f.xp6(3),f.hij(" ",Fe._intl.getRangeLabel(Fe.pageIndex,Fe.pageSize,Fe.length)," "),f.xp6(1),f.Q6J("ngIf",Fe.showFirstLastButtons),f.xp6(1),f.Q6J("matTooltip",Fe._intl.previousPageLabel)("matTooltipDisabled",Fe._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Fe._previousButtonsDisabled()),f.uIk("aria-label",Fe._intl.previousPageLabel),f.xp6(3),f.Q6J("matTooltip",Fe._intl.nextPageLabel)("matTooltipDisabled",Fe._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Fe._nextButtonsDisabled()),f.uIk("aria-label",Fe._intl.nextPageLabel),f.xp6(3),f.Q6J("ngIf",Fe.showFirstLastButtons))},directives:[O.KE,m.gD,g.ey,T.lW,e.O5,e.sg,A.gM],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),se})(),te=(()=>{class se{}return se.\u0275fac=function(Ne){return new(Ne||se)},se.\u0275mod=f.oAB({type:se}),se.\u0275inj=f.cJS({providers:[Le],imports:[[e.ez,T.ot,m.LD,A.AV,g.BQ]]}),se})()},85899:(Ke,be,d)=>{"use strict";d.d(be,{Cv:()=>k});var e=d(5e3),f=d(69808),g=d(90508);let k=(()=>{class L{}return L.\u0275fac=function($){return new($||L)},L.\u0275mod=e.oAB({type:L}),L.\u0275inj=e.cJS({imports:[[f.ez,g.BQ],g.BQ]}),L})()},20773:(Ke,be,d)=>{"use strict";d.d(be,{Cq:()=>j,$g:()=>ae});var e=d(5e3),f=d(69808),g=d(90508),T=d(63191),m=d(70925),A=d(76360),s=d(42654),b=d(53435);function O(H,Q){if(1&H&&(e.O4$(),e._UZ(0,"circle",4)),2&H){const te=e.oxw(),se=e.MAs(1);e.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+te._spinnerAnimationLabel)("stroke-dashoffset",te._getStrokeDashOffset(),"px")("stroke-dasharray",te._getStrokeCircumference(),"px")("stroke-width",te._getCircleStrokeWidth(),"%")("transform-origin",te._getCircleTransformOrigin(se)),e.uIk("r",te._getCircleRadius())}}function E(H,Q){if(1&H&&(e.O4$(),e._UZ(0,"circle",4)),2&H){const te=e.oxw(),se=e.MAs(1);e.Udp("stroke-dashoffset",te._getStrokeDashOffset(),"px")("stroke-dasharray",te._getStrokeCircumference(),"px")("stroke-width",te._getCircleStrokeWidth(),"%")("transform-origin",te._getCircleTransformOrigin(se)),e.uIk("r",te._getCircleRadius())}}function h(H,Q){if(1&H&&(e.O4$(),e._UZ(0,"circle",4)),2&H){const te=e.oxw(),se=e.MAs(1);e.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+te._spinnerAnimationLabel)("stroke-dashoffset",te._getStrokeDashOffset(),"px")("stroke-dasharray",te._getStrokeCircumference(),"px")("stroke-width",te._getCircleStrokeWidth(),"%")("transform-origin",te._getCircleTransformOrigin(se)),e.uIk("r",te._getCircleRadius())}}function k(H,Q){if(1&H&&(e.O4$(),e._UZ(0,"circle",4)),2&H){const te=e.oxw(),se=e.MAs(1);e.Udp("stroke-dashoffset",te._getStrokeDashOffset(),"px")("stroke-dasharray",te._getStrokeCircumference(),"px")("stroke-width",te._getCircleStrokeWidth(),"%")("transform-origin",te._getCircleTransformOrigin(se)),e.uIk("r",te._getCircleRadius())}}const ue=(0,g.pj)(class{constructor(H){this._elementRef=H}},"primary"),ce=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function Le(){return{diameter:100}}});class ke extends ue{constructor(Q,te,se,ge,Ne,Fe,ne,Me){super(Q),this._document=se,this._diameter=100,this._value=0,this._resizeSubscription=s.w.EMPTY,this.mode="determinate";const ve=ke._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),ve.has(se.head)||ve.set(se.head,new Set([100])),this._noopAnimations="NoopAnimations"===ge&&!!Ne&&!Ne._forceAnimations,Ne&&(Ne.diameter&&(this.diameter=Ne.diameter),Ne.strokeWidth&&(this.strokeWidth=Ne.strokeWidth)),te.isBrowser&&te.SAFARI&&ne&&Fe&&Me&&(this._resizeSubscription=ne.change(150).subscribe(()=>{"indeterminate"===this.mode&&Me.run(()=>Fe.markForCheck())}))}get diameter(){return this._diameter}set diameter(Q){this._diameter=(0,T.su)(Q),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(Q){this._strokeWidth=(0,T.su)(Q)}get value(){return"determinate"===this.mode?this._value:0}set value(Q){this._value=Math.max(0,Math.min(100,(0,T.su)(Q)))}ngOnInit(){const Q=this._elementRef.nativeElement;this._styleRoot=(0,m.kV)(Q)||this._document.head,this._attachStyleNode(),Q.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const Q=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${Q} ${Q}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(Q){var te;const se=50*(null!==(te=Q.currentScale)&&void 0!==te?te:1);return`${se}% ${se}%`}_attachStyleNode(){const Q=this._styleRoot,te=this._diameter,se=ke._diameters;let ge=se.get(Q);if(!ge||!ge.has(te)){const Ne=this._document.createElement("style");Ne.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),Ne.textContent=this._getAnimationText(),Q.appendChild(Ne),ge||(ge=new Set,se.set(Q,ge)),ge.add(te)}}_getAnimationText(){const Q=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*Q).replace(/END_VALUE/g,""+.2*Q).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}ke._diameters=new WeakMap,ke.\u0275fac=function(Q){return new(Q||ke)(e.Y36(e.SBq),e.Y36(m.t4),e.Y36(f.K0,8),e.Y36(A.Qb,8),e.Y36(ce),e.Y36(e.sBO),e.Y36(b.rL),e.Y36(e.R0b))},ke.\u0275cmp=e.Xpm({type:ke,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(Q,te){2&Q&&(e.uIk("aria-valuemin","determinate"===te.mode?0:null)("aria-valuemax","determinate"===te.mode?100:null)("aria-valuenow","determinate"===te.mode?te.value:null)("mode",te.mode),e.Udp("width",te.diameter,"px")("height",te.diameter,"px"),e.ekj("_mat-animation-noopable",te._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[e.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(Q,te){1&Q&&(e.O4$(),e.TgZ(0,"svg",0,1),e.YNc(2,O,1,11,"circle",2),e.YNc(3,E,1,9,"circle",3),e.qZA()),2&Q&&(e.Udp("width",te.diameter,"px")("height",te.diameter,"px"),e.Q6J("ngSwitch","indeterminate"===te.mode),e.uIk("viewBox",te._getViewBox()),e.xp6(2),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1))},directives:[f.RF,f.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let ae=(()=>{class H extends ke{constructor(te,se,ge,Ne,Fe,ne,Me,ve){super(te,se,ge,Ne,Fe,ne,Me,ve),this.mode="indeterminate"}}return H.\u0275fac=function(te){return new(te||H)(e.Y36(e.SBq),e.Y36(m.t4),e.Y36(f.K0,8),e.Y36(A.Qb,8),e.Y36(ce),e.Y36(e.sBO),e.Y36(b.rL),e.Y36(e.R0b))},H.\u0275cmp=e.Xpm({type:H,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(te,se){2&te&&(e.Udp("width",se.diameter,"px")("height",se.diameter,"px"),e.ekj("_mat-animation-noopable",se._noopAnimations))},inputs:{color:"color"},features:[e.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(te,se){1&te&&(e.O4$(),e.TgZ(0,"svg",0,1),e.YNc(2,h,1,11,"circle",2),e.YNc(3,k,1,9,"circle",3),e.qZA()),2&te&&(e.Udp("width",se.diameter,"px")("height",se.diameter,"px"),e.Q6J("ngSwitch","indeterminate"===se.mode),e.uIk("viewBox",se._getViewBox()),e.xp6(2),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1))},directives:[f.RF,f.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),H})(),j=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=e.oAB({type:H}),H.\u0275inj=e.cJS({imports:[[g.BQ,f.ez],g.BQ]}),H})()},79814:(Ke,be,d)=>{"use strict";d.d(be,{U0:()=>j,VQ:()=>Le,Fk:()=>H});var e=d(5e3),f=d(90508),g=d(63191),T=d(93075),m=d(76360),A=d(15664),s=d(20449);const b=["input"],O=function(Q){return{enterDuration:Q}},E=["*"],h=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function k(){return{color:"accent"}}});let L=0;const V={provide:T.JU,useExisting:(0,e.Gpc)(()=>Le),multi:!0};class ${constructor(te,se){this.source=te,this.value=se}}const ue=new e.OlP("MatRadioGroup");let ce=(()=>{class Q{constructor(se){this._changeDetector=se,this._value=null,this._name="mat-radio-group-"+L++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.vpe}get name(){return this._name}set name(se){this._name=se,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(se){this._labelPosition="before"===se?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(se){this._value!==se&&(this._value=se,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(se){this._selected=se,this.value=se?se.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(se){this._disabled=(0,g.Ig)(se),this._markRadiosForCheck()}get required(){return this._required}set required(se){this._required=(0,g.Ig)(se),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(se=>{se.name=this.name,se._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(ge=>{ge.checked=this.value===ge.value,ge.checked&&(this._selected=ge)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new $(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(se=>se._markForCheck())}writeValue(se){this.value=se,this._changeDetector.markForCheck()}registerOnChange(se){this._controlValueAccessorChangeFn=se}registerOnTouched(se){this.onTouched=se}setDisabledState(se){this.disabled=se,this._changeDetector.markForCheck()}}return Q.\u0275fac=function(se){return new(se||Q)(e.Y36(e.sBO))},Q.\u0275dir=e.lG2({type:Q,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),Q})(),Le=(()=>{class Q extends ce{}return Q.\u0275fac=function(){let te;return function(ge){return(te||(te=e.n5z(Q)))(ge||Q)}}(),Q.\u0275dir=e.lG2({type:Q,selectors:[["mat-radio-group"]],contentQueries:function(se,ge,Ne){if(1&se&&e.Suo(Ne,j,5),2&se){let Fe;e.iGM(Fe=e.CRH())&&(ge._radios=Fe)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[e._Bn([V,{provide:ue,useExisting:Q}]),e.qOj]}),Q})();class de{constructor(te){this._elementRef=te}}const ke=(0,f.Kr)((0,f.sb)(de));let ae=(()=>{class Q extends ke{constructor(se,ge,Ne,Fe,ne,Me,ve,me){super(ge),this._changeDetector=Ne,this._focusMonitor=Fe,this._radioDispatcher=ne,this._providerOverride=ve,this._uniqueId="mat-radio-"+ ++L,this.id=this._uniqueId,this.change=new e.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=se,this._noopAnimations="NoopAnimations"===Me,me&&(this.tabIndex=(0,g.su)(me,0)),this._removeUniqueSelectionListener=ne.listen((Te,ee)=>{Te!==this.id&&ee===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(se){const ge=(0,g.Ig)(se);this._checked!==ge&&(this._checked=ge,ge&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!ge&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),ge&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(se){this._value!==se&&(this._value=se,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===se),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(se){this._labelPosition=se}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(se){this._setDisabled((0,g.Ig)(se))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(se){this._required=(0,g.Ig)(se)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(se){this._color=se}get inputId(){return`${this.id||this._uniqueId}-input`}focus(se,ge){ge?this._focusMonitor.focusVia(this._inputElement,ge,se):this._inputElement.nativeElement.focus(se)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(se=>{!se&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new $(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(se){se.stopPropagation()}_onInputInteraction(se){if(se.stopPropagation(),!this.checked&&!this.disabled){const ge=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),ge&&this.radioGroup._emitChangeEvent())}}_setDisabled(se){this._disabled!==se&&(this._disabled=se,this._changeDetector.markForCheck())}}return Q.\u0275fac=function(se){e.$Z()},Q.\u0275dir=e.lG2({type:Q,viewQuery:function(se,ge){if(1&se&&e.Gf(b,5),2&se){let Ne;e.iGM(Ne=e.CRH())&&(ge._inputElement=Ne.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[e.qOj]}),Q})(),j=(()=>{class Q extends ae{constructor(se,ge,Ne,Fe,ne,Me,ve,me){super(se,ge,Ne,Fe,ne,Me,ve,me)}}return Q.\u0275fac=function(se){return new(se||Q)(e.Y36(ue,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(A.tE),e.Y36(s.A8),e.Y36(m.Qb,8),e.Y36(h,8),e.$8M("tabindex"))},Q.\u0275cmp=e.Xpm({type:Q,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(se,ge){1&se&&e.NdJ("focus",function(){return ge._inputElement.nativeElement.focus()}),2&se&&(e.uIk("tabindex",null)("id",ge.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-radio-checked",ge.checked)("mat-radio-disabled",ge.disabled)("_mat-animation-noopable",ge._noopAnimations)("mat-primary","primary"===ge.color)("mat-accent","accent"===ge.color)("mat-warn","warn"===ge.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:E,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(se,ge){if(1&se&&(e.F$t(),e.TgZ(0,"label",0,1),e.TgZ(2,"span",2),e._UZ(3,"span",3),e._UZ(4,"span",4),e.TgZ(5,"input",5,6),e.NdJ("change",function(Fe){return ge._onInputInteraction(Fe)})("click",function(Fe){return ge._onInputClick(Fe)}),e.qZA(),e.TgZ(7,"span",7),e._UZ(8,"span",8),e.qZA(),e.qZA(),e.TgZ(9,"span",9),e.TgZ(10,"span",10),e._uU(11,"\xa0"),e.qZA(),e.Hsn(12),e.qZA(),e.qZA()),2&se){const Ne=e.MAs(1);e.uIk("for",ge.inputId),e.xp6(5),e.Q6J("id",ge.inputId)("checked",ge.checked)("disabled",ge.disabled)("tabIndex",ge.tabIndex)("required",ge.required),e.uIk("name",ge.name)("value",ge.value)("aria-label",ge.ariaLabel)("aria-labelledby",ge.ariaLabelledby)("aria-describedby",ge.ariaDescribedby),e.xp6(2),e.Q6J("matRippleTrigger",Ne)("matRippleDisabled",ge._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",e.VKq(18,O,ge._noopAnimations?0:150)),e.xp6(2),e.ekj("mat-radio-label-before","before"==ge.labelPosition)}},directives:[f.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),Q})(),H=(()=>{class Q{}return Q.\u0275fac=function(se){return new(se||Q)},Q.\u0275mod=e.oAB({type:Q}),Q.\u0275inj=e.cJS({imports:[[f.si,f.BQ],f.BQ]}),Q})()},74107:(Ke,be,d)=>{"use strict";d.d(be,{gD:()=>r,LD:()=>p,$L:()=>P});var e=d(92845),f=d(69808),g=d(5e3),T=d(90508),m=d(67322),A=d(53435),s=d(15664),b=d(63191),O=d(20449),E=d(91159),h=d(93075),k=d(8929),L=d(88514),V=d(36787),$=d(1059),ue=d(87545),ce=d(72986),Le=d(92198),de=d(24850),ke=d(75778),ae=d(7625),j=d(41777),H=d(50226);const Q=["trigger"],te=["panel"];function se(o,t){if(1&o&&(g.TgZ(0,"span",8),g._uU(1),g.qZA()),2&o){const n=g.oxw();g.xp6(1),g.Oqu(n.placeholder)}}function ge(o,t){if(1&o&&(g.TgZ(0,"span",12),g._uU(1),g.qZA()),2&o){const n=g.oxw(2);g.xp6(1),g.Oqu(n.triggerValue)}}function Ne(o,t){1&o&&g.Hsn(0,0,["*ngSwitchCase","true"])}function Fe(o,t){if(1&o&&(g.TgZ(0,"span",9),g.YNc(1,ge,2,1,"span",10),g.YNc(2,Ne,1,0,"ng-content",11),g.qZA()),2&o){const n=g.oxw();g.Q6J("ngSwitch",!!n.customTrigger),g.xp6(2),g.Q6J("ngSwitchCase",!0)}}function ne(o,t){if(1&o){const n=g.EpF();g.TgZ(0,"div",13),g.TgZ(1,"div",14,15),g.NdJ("@transformPanel.done",function(u){return g.CHM(n),g.oxw()._panelDoneAnimatingStream.next(u.toState)})("keydown",function(u){return g.CHM(n),g.oxw()._handleKeydown(u)}),g.Hsn(3,1),g.qZA(),g.qZA()}if(2&o){const n=g.oxw();g.Q6J("@transformPanelWrap",void 0),g.xp6(1),g.Gre("mat-select-panel ",n._getPanelTheme(),""),g.Udp("transform-origin",n._transformOrigin)("font-size",n._triggerFontSize,"px"),g.Q6J("ngClass",n.panelClass)("@transformPanel",n.multiple?"showing-multiple":"showing"),g.uIk("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}const Me=[[["mat-select-trigger"]],"*"],ve=["mat-select-trigger","*"],me={transformPanelWrap:(0,j.X$)("transformPanelWrap",[(0,j.eR)("* => void",(0,j.IO)("@transformPanel",[(0,j.pV)()],{optional:!0}))]),transformPanel:(0,j.X$)("transformPanel",[(0,j.SB)("void",(0,j.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,j.SB)("showing",(0,j.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,j.SB)("showing-multiple",(0,j.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,j.eR)("void => *",(0,j.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,j.eR)("* => void",(0,j.jt)("100ms 25ms linear",(0,j.oB)({opacity:0})))])};let Oe=0;const tt=new g.OlP("mat-select-scroll-strategy"),N=new g.OlP("MAT_SELECT_CONFIG"),he={provide:tt,deps:[e.aV],useFactory:function rt(o){return()=>o.scrollStrategies.reposition()}};class D{constructor(t,n){this.source=t,this.value=n}}const S=(0,T.Kr)((0,T.sb)((0,T.Id)((0,T.FD)(class{constructor(o,t,n,c,u){this._elementRef=o,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=c,this.ngControl=u}})))),I=new g.OlP("MatSelectTrigger");let P=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275dir=g.lG2({type:o,selectors:[["mat-select-trigger"]],features:[g._Bn([{provide:I,useExisting:o}])]}),o})(),i=(()=>{class o extends S{constructor(n,c,u,y,M,re,et,yt,pt,Nt,It,Zt,mt,Ht){var _t,Je,Lt;super(M,y,et,yt,Nt),this._viewportRuler=n,this._changeDetectorRef=c,this._ngZone=u,this._dir=re,this._parentFormField=pt,this._liveAnnouncer=mt,this._defaultOptions=Ht,this._panelOpen=!1,this._compareWith=(ht,Rt)=>ht===Rt,this._uid="mat-select-"+Oe++,this._triggerAriaLabelledBy=null,this._destroy=new k.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Oe++,this._panelDoneAnimatingStream=new k.xQ,this._overlayPanelClass=(null===(_t=this._defaultOptions)||void 0===_t?void 0:_t.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Lt=null===(Je=this._defaultOptions)||void 0===Je?void 0:Je.disableOptionCentering)&&void 0!==Lt&&Lt,this.ariaLabel="",this.optionSelectionChanges=(0,L.P)(()=>{const ht=this.options;return ht?ht.changes.pipe((0,$.O)(ht),(0,ue.w)(()=>(0,V.T)(...ht.map(Rt=>Rt.onSelectionChange)))):this._ngZone.onStable.pipe((0,ce.q)(1),(0,ue.w)(()=>this.optionSelectionChanges))}),this.openedChange=new g.vpe,this._openedStream=this.openedChange.pipe((0,Le.h)(ht=>ht),(0,de.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Le.h)(ht=>!ht),(0,de.U)(()=>{})),this.selectionChange=new g.vpe,this.valueChange=new g.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Ht?void 0:Ht.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Ht.typeaheadDebounceInterval),this._scrollStrategyFactory=Zt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(It)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(n){this._placeholder=n,this.stateChanges.next()}get required(){var n,c,u,y;return null!==(y=null!==(n=this._required)&&void 0!==n?n:null===(u=null===(c=this.ngControl)||void 0===c?void 0:c.control)||void 0===u?void 0:u.hasValidator(h.kI.required))&&void 0!==y&&y}set required(n){this._required=(0,b.Ig)(n),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(n){this._multiple=(0,b.Ig)(n)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(n){this._disableOptionCentering=(0,b.Ig)(n)}get compareWith(){return this._compareWith}set compareWith(n){this._compareWith=n,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(n){(n!==this._value||this._multiple&&Array.isArray(n))&&(this.options&&this._setSelectionByValue(n),this._value=n)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(n){this._typeaheadDebounceInterval=(0,b.su)(n)}get id(){return this._id}set id(n){this._id=n||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new O.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ke.x)(),(0,ae.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,ae.R)(this._destroy)).subscribe(n=>{n.added.forEach(c=>c.select()),n.removed.forEach(c=>c.deselect())}),this.options.changes.pipe((0,$.O)(null),(0,ae.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const n=this._getTriggerAriaLabelledby();if(n!==this._triggerAriaLabelledBy){const c=this._elementRef.nativeElement;this._triggerAriaLabelledBy=n,n?c.setAttribute("aria-labelledby",n):c.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(n){n.disabled&&this.stateChanges.next(),n.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(n){this.value=n}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this.disabled=n,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var n,c;return this.multiple?(null===(n=this._selectionModel)||void 0===n?void 0:n.selected)||[]:null===(c=this._selectionModel)||void 0===c?void 0:c.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const n=this._selectionModel.selected.map(c=>c.viewValue);return this._isRtl()&&n.reverse(),n.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(n){this.disabled||(this.panelOpen?this._handleOpenKeydown(n):this._handleClosedKeydown(n))}_handleClosedKeydown(n){const c=n.keyCode,u=c===E.JH||c===E.LH||c===E.oh||c===E.SV,y=c===E.K5||c===E.L_,M=this._keyManager;if(!M.isTyping()&&y&&!(0,E.Vb)(n)||(this.multiple||n.altKey)&&u)n.preventDefault(),this.open();else if(!this.multiple){const re=this.selected;M.onKeydown(n);const et=this.selected;et&&re!==et&&this._liveAnnouncer.announce(et.viewValue,1e4)}}_handleOpenKeydown(n){const c=this._keyManager,u=n.keyCode,y=u===E.JH||u===E.LH,M=c.isTyping();if(y&&n.altKey)n.preventDefault(),this.close();else if(M||u!==E.K5&&u!==E.L_||!c.activeItem||(0,E.Vb)(n))if(!M&&this._multiple&&u===E.A&&n.ctrlKey){n.preventDefault();const re=this.options.some(et=>!et.disabled&&!et.selected);this.options.forEach(et=>{et.disabled||(re?et.select():et.deselect())})}else{const re=c.activeItemIndex;c.onKeydown(n),this._multiple&&y&&n.shiftKey&&c.activeItem&&c.activeItemIndex!==re&&c.activeItem._selectViaInteraction()}else n.preventDefault(),c.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,ce.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(n){if(this._selectionModel.selected.forEach(c=>c.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&n)Array.isArray(n),n.forEach(c=>this._selectValue(c)),this._sortValues();else{const c=this._selectValue(n);c?this._keyManager.updateActiveItem(c):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(n){const c=this.options.find(u=>{if(this._selectionModel.isSelected(u))return!1;try{return null!=u.value&&this._compareWith(u.value,n)}catch(y){return!1}});return c&&this._selectionModel.select(c),c}_initKeyManager(){this._keyManager=new s.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,ae.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,ae.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const n=(0,V.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ae.R)(n)).subscribe(c=>{this._onSelect(c.source,c.isUserInput),c.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,V.T)(...this.options.map(c=>c._stateChanges)).pipe((0,ae.R)(n)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(n,c){const u=this._selectionModel.isSelected(n);null!=n.value||this._multiple?(u!==n.selected&&(n.selected?this._selectionModel.select(n):this._selectionModel.deselect(n)),c&&this._keyManager.setActiveItem(n),this.multiple&&(this._sortValues(),c&&this.focus())):(n.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(n.value)),u!==this._selectionModel.isSelected(n)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const n=this.options.toArray();this._selectionModel.sort((c,u)=>this.sortComparator?this.sortComparator(c,u,n):n.indexOf(c)-n.indexOf(u)),this.stateChanges.next()}}_propagateChanges(n){let c=null;c=this.multiple?this.selected.map(u=>u.value):this.selected?this.selected.value:n,this._value=c,this.valueChange.emit(c),this._onChange(c),this.selectionChange.emit(this._getChangeEvent(c)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var n;return!this._panelOpen&&!this.disabled&&(null===(n=this.options)||void 0===n?void 0:n.length)>0}focus(n){this._elementRef.nativeElement.focus(n)}_getPanelAriaLabelledby(){var n;if(this.ariaLabel)return null;const c=null===(n=this._parentFormField)||void 0===n?void 0:n.getLabelId();return this.ariaLabelledby?(c?c+" ":"")+this.ariaLabelledby:c}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var n;if(this.ariaLabel)return null;const c=null===(n=this._parentFormField)||void 0===n?void 0:n.getLabelId();let u=(c?c+" ":"")+this._valueId;return this.ariaLabelledby&&(u+=" "+this.ariaLabelledby),u}_panelDoneAnimating(n){this.openedChange.emit(n)}setDescribedByIds(n){this._ariaDescribedby=n.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return o.\u0275fac=function(n){return new(n||o)(g.Y36(A.rL),g.Y36(g.sBO),g.Y36(g.R0b),g.Y36(T.rD),g.Y36(g.SBq),g.Y36(H.Is,8),g.Y36(h.F,8),g.Y36(h.sg,8),g.Y36(m.G_,8),g.Y36(h.a5,10),g.$8M("tabindex"),g.Y36(tt),g.Y36(s.Kd),g.Y36(N,8))},o.\u0275dir=g.lG2({type:o,viewQuery:function(n,c){if(1&n&&(g.Gf(Q,5),g.Gf(te,5),g.Gf(e.pI,5)),2&n){let u;g.iGM(u=g.CRH())&&(c.trigger=u.first),g.iGM(u=g.CRH())&&(c.panel=u.first),g.iGM(u=g.CRH())&&(c._overlayDir=u.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[g.qOj,g.TTD]}),o})(),r=(()=>{class o extends i{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(n,c,u){const y=this._getItemHeight();return Math.min(Math.max(0,y*n-c+y/2),u)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,ae.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,ce.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(n){const c=(0,T.CB)(n,this.options,this.optionGroups),u=this._getItemHeight();this.panel.nativeElement.scrollTop=0===n&&1===c?0:(0,T.jH)((n+c)*u,u,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(n){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(n)}_getChangeEvent(n){return new D(this,n)}_calculateOverlayOffsetX(){const n=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),c=this._viewportRuler.getViewportSize(),u=this._isRtl(),y=this.multiple?56:32;let M;if(this.multiple)M=40;else if(this.disableOptionCentering)M=16;else{let yt=this._selectionModel.selected[0]||this.options.first;M=yt&&yt.group?32:16}u||(M*=-1);const re=0-(n.left+M-(u?y:0)),et=n.right+M-c.width+(u?0:y);re>0?M+=re+8:et>0&&(M-=et+8),this._overlayDir.offsetX=Math.round(M),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(n,c,u){const y=this._getItemHeight(),M=(y-this._triggerRect.height)/2,re=Math.floor(256/y);let et;return this.disableOptionCentering?0:(et=0===this._scrollTop?n*y:this._scrollTop===u?(n-(this._getItemCount()-re))*y+(y-(this._getItemCount()*y-256)%y):c-y/2,Math.round(-1*et-M))}_checkOverlayWithinViewport(n){const c=this._getItemHeight(),u=this._viewportRuler.getViewportSize(),y=this._triggerRect.top-8,M=u.height-this._triggerRect.bottom-8,re=Math.abs(this._offsetY),yt=Math.min(this._getItemCount()*c,256)-re-this._triggerRect.height;yt>M?this._adjustPanelUp(yt,M):re>y?this._adjustPanelDown(re,y,n):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(n,c){const u=Math.round(n-c);this._scrollTop-=u,this._offsetY-=u,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(n,c,u){const y=Math.round(n-c);if(this._scrollTop+=y,this._offsetY+=y,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=u)return this._scrollTop=u,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const n=this._getItemHeight(),c=this._getItemCount(),u=Math.min(c*n,256),M=c*n-u;let re;re=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),re+=(0,T.CB)(re,this.options,this.optionGroups);const et=u/2;this._scrollTop=this._calculateOverlayScroll(re,et,M),this._offsetY=this._calculateOverlayOffsetY(re,et,M),this._checkOverlayWithinViewport(M)}_getOriginBasedOnOption(){const n=this._getItemHeight(),c=(n-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-c+n/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return o.\u0275fac=function(){let t;return function(c){return(t||(t=g.n5z(o)))(c||o)}}(),o.\u0275cmp=g.Xpm({type:o,selectors:[["mat-select"]],contentQueries:function(n,c,u){if(1&n&&(g.Suo(u,I,5),g.Suo(u,T.ey,5),g.Suo(u,T.K7,5)),2&n){let y;g.iGM(y=g.CRH())&&(c.customTrigger=y.first),g.iGM(y=g.CRH())&&(c.options=y),g.iGM(y=g.CRH())&&(c.optionGroups=y)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(n,c){1&n&&g.NdJ("keydown",function(y){return c._handleKeydown(y)})("focus",function(){return c._onFocus()})("blur",function(){return c._onBlur()}),2&n&&(g.uIk("id",c.id)("tabindex",c.tabIndex)("aria-controls",c.panelOpen?c.id+"-panel":null)("aria-expanded",c.panelOpen)("aria-label",c.ariaLabel||null)("aria-required",c.required.toString())("aria-disabled",c.disabled.toString())("aria-invalid",c.errorState)("aria-describedby",c._ariaDescribedby||null)("aria-activedescendant",c._getAriaActiveDescendant()),g.ekj("mat-select-disabled",c.disabled)("mat-select-invalid",c.errorState)("mat-select-required",c.required)("mat-select-empty",c.empty)("mat-select-multiple",c.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[g._Bn([{provide:m.Eo,useExisting:o},{provide:T.HF,useExisting:o}]),g.qOj],ngContentSelectors:ve,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(n,c){if(1&n&&(g.F$t(Me),g.TgZ(0,"div",0,1),g.NdJ("click",function(){return c.toggle()}),g.TgZ(3,"div",2),g.YNc(4,se,2,1,"span",3),g.YNc(5,Fe,3,2,"span",4),g.qZA(),g.TgZ(6,"div",5),g._UZ(7,"div",6),g.qZA(),g.qZA(),g.YNc(8,ne,4,14,"ng-template",7),g.NdJ("backdropClick",function(){return c.close()})("attach",function(){return c._onAttached()})("detach",function(){return c.close()})),2&n){const u=g.MAs(1);g.uIk("aria-owns",c.panelOpen?c.id+"-panel":null),g.xp6(3),g.Q6J("ngSwitch",c.empty),g.uIk("id",c._valueId),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngSwitchCase",!1),g.xp6(3),g.Q6J("cdkConnectedOverlayPanelClass",c._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",c._scrollStrategy)("cdkConnectedOverlayOrigin",u)("cdkConnectedOverlayOpen",c.panelOpen)("cdkConnectedOverlayPositions",c._positions)("cdkConnectedOverlayMinWidth",null==c._triggerRect?null:c._triggerRect.width)("cdkConnectedOverlayOffsetY",c._offsetY)}},directives:[e.xu,f.RF,f.n9,f.ED,e.pI,f.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[me.transformPanelWrap,me.transformPanel]},changeDetection:0}),o})(),p=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=g.oAB({type:o}),o.\u0275inj=g.cJS({providers:[he],imports:[[f.ez,e.U8,T.Ng,T.BQ],A.ZD,m.lN,T.Ng,T.BQ]}),o})()},2638:(Ke,be,d)=>{"use strict";d.d(be,{JX:()=>Xe,TM:()=>tt,Rh:()=>Ve,SJ:()=>rt});var e=d(70925),f=d(53435),g=d(69808),T=d(5e3),m=d(90508),A=d(63191),s=d(91159),b=d(8929),O=d(23753),E=d(36787),h=d(92198),k=d(24850),L=d(77604),V=d(7625),$=d(75778),ue=d(72986),ce=d(1059),Le=d(80013),de=d(41777),ke=d(76360),ae=d(15664),j=d(50226);const H=["*"],Q=["content"];function te(N,he){if(1&N){const D=T.EpF();T.TgZ(0,"div",2),T.NdJ("click",function(){return T.CHM(D),T.oxw()._onBackdropClicked()}),T.qZA()}if(2&N){const D=T.oxw();T.ekj("mat-drawer-shown",D._isShowingBackdrop())}}function se(N,he){1&N&&(T.TgZ(0,"mat-drawer-content"),T.Hsn(1,2),T.qZA())}const ge=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Ne=["mat-drawer","mat-drawer-content","*"];function Fe(N,he){if(1&N){const D=T.EpF();T.TgZ(0,"div",2),T.NdJ("click",function(){return T.CHM(D),T.oxw()._onBackdropClicked()}),T.qZA()}if(2&N){const D=T.oxw();T.ekj("mat-drawer-shown",D._isShowingBackdrop())}}function ne(N,he){1&N&&(T.TgZ(0,"mat-sidenav-content"),T.Hsn(1,2),T.qZA())}const Me=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],ve=["mat-sidenav","mat-sidenav-content","*"],Te={transformDrawer:(0,de.X$)("transform",[(0,de.SB)("open, open-instant",(0,de.oB)({transform:"none",visibility:"visible"})),(0,de.SB)("void",(0,de.oB)({"box-shadow":"none",visibility:"hidden"})),(0,de.eR)("void => open-instant",(0,de.jt)("0ms")),(0,de.eR)("void <=> open, open-instant => void",(0,de.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},R=new T.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Ie(){return!1}}),Oe=new T.OlP("MAT_DRAWER_CONTAINER");let He=(()=>{class N extends f.PQ{constructor(D,S,I,P,i){super(I,P,i),this._changeDetectorRef=D,this._container=S}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return N.\u0275fac=function(D){return new(D||N)(T.Y36(T.sBO),T.Y36((0,T.Gpc)(()=>Ce)),T.Y36(T.SBq),T.Y36(f.mF),T.Y36(T.R0b))},N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(D,S){2&D&&T.Udp("margin-left",S._container._contentMargins.left,"px")("margin-right",S._container._contentMargins.right,"px")},features:[T._Bn([{provide:f.PQ,useExisting:N}]),T.qOj],ngContentSelectors:H,decls:1,vars:0,template:function(D,S){1&D&&(T.F$t(),T.Hsn(0))},encapsulation:2,changeDetection:0}),N})(),fe=(()=>{class N{constructor(D,S,I,P,i,r,p,o){this._elementRef=D,this._focusTrapFactory=S,this._focusMonitor=I,this._platform=P,this._ngZone=i,this._interactivityChecker=r,this._doc=p,this._container=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new b.xQ,this._animationEnd=new b.xQ,this._animationState="void",this.openedChange=new T.vpe(!0),this._openedStream=this.openedChange.pipe((0,h.h)(t=>t),(0,k.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,h.h)(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),(0,L.h)(void 0)),this._closedStream=this.openedChange.pipe((0,h.h)(t=>!t),(0,k.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,h.h)(t=>t.fromState!==t.toState&&"void"===t.toState),(0,L.h)(void 0)),this._destroyed=new b.xQ,this.onPositionChanged=new T.vpe,this._modeChanged=new b.xQ,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,O.R)(this._elementRef.nativeElement,"keydown").pipe((0,h.h)(t=>t.keyCode===s.hY&&!this.disableClose&&!(0,s.Vb)(t)),(0,V.R)(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe((0,$.x)((t,n)=>t.fromState===n.fromState&&t.toState===n.toState)).subscribe(t=>{const{fromState:n,toState:c}=t;(0===c.indexOf("open")&&"void"===n||"void"===c&&0===n.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(D){(D="end"===D?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(D),this._position=D,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(D){this._mode=D,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(D){this._disableClose=(0,A.Ig)(D)}get autoFocus(){const D=this._autoFocus;return null==D?"side"===this.mode?"dialog":"first-tabbable":D}set autoFocus(D){("true"===D||"false"===D||null==D)&&(D=(0,A.Ig)(D)),this._autoFocus=D}get opened(){return this._opened}set opened(D){this.toggle((0,A.Ig)(D))}_forceFocus(D,S){this._interactivityChecker.isFocusable(D)||(D.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{D.addEventListener("blur",()=>D.removeAttribute("tabindex")),D.addEventListener("mousedown",()=>D.removeAttribute("tabindex"))})),D.focus(S)}_focusByCssSelector(D,S){let I=this._elementRef.nativeElement.querySelector(D);I&&this._forceFocus(I,S)}_takeFocus(){if(!this._focusTrap)return;const D=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(S=>{!S&&"function"==typeof this._elementRef.nativeElement.focus&&D.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(D){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,D):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const D=this._doc.activeElement;return!!D&&this._elementRef.nativeElement.contains(D)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var D;this._focusTrap&&this._focusTrap.destroy(),null===(D=this._anchor)||void 0===D||D.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(D){return this.toggle(!0,D)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(D=!this.opened,S){D&&S&&(this._openedVia=S);const I=this._setOpen(D,!D&&this._isFocusWithinDrawer(),this._openedVia||"program");return D||(this._openedVia=null),I}_setOpen(D,S,I){return this._opened=D,D?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",S&&this._restoreFocus(I)),this._updateFocusTrapState(),new Promise(P=>{this.openedChange.pipe((0,ue.q)(1)).subscribe(i=>P(i?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(D){const S=this._elementRef.nativeElement,I=S.parentNode;"end"===D?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),I.insertBefore(this._anchor,S)),I.appendChild(S)):this._anchor&&this._anchor.parentNode.insertBefore(S,this._anchor)}}return N.\u0275fac=function(D){return new(D||N)(T.Y36(T.SBq),T.Y36(ae.qV),T.Y36(ae.tE),T.Y36(e.t4),T.Y36(T.R0b),T.Y36(ae.ic),T.Y36(g.K0,8),T.Y36(Oe,8))},N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-drawer"]],viewQuery:function(D,S){if(1&D&&T.Gf(Q,5),2&D){let I;T.iGM(I=T.CRH())&&(S._content=I.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(D,S){1&D&&T.WFA("@transform.start",function(P){return S._animationStarted.next(P)})("@transform.done",function(P){return S._animationEnd.next(P)}),2&D&&(T.uIk("align",null),T.d8E("@transform",S._animationState),T.ekj("mat-drawer-end","end"===S.position)("mat-drawer-over","over"===S.mode)("mat-drawer-push","push"===S.mode)("mat-drawer-side","side"===S.mode)("mat-drawer-opened",S.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:H,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(D,S){1&D&&(T.F$t(),T.TgZ(0,"div",0,1),T.Hsn(2),T.qZA())},directives:[f.PQ],encapsulation:2,data:{animation:[Te.transformDrawer]},changeDetection:0}),N})(),Ce=(()=>{class N{constructor(D,S,I,P,i,r=!1,p){this._dir=D,this._element=S,this._ngZone=I,this._changeDetectorRef=P,this._animationMode=p,this._drawers=new T.n_E,this.backdropClick=new T.vpe,this._destroyed=new b.xQ,this._doCheckSubject=new b.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new b.xQ,D&&D.change.pipe((0,V.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),i.change().pipe((0,V.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=r}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(D){this._autosize=(0,A.Ig)(D)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(D){this._backdropOverride=null==D?null:(0,A.Ig)(D)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,ce.O)(this._allDrawers),(0,V.R)(this._destroyed)).subscribe(D=>{this._drawers.reset(D.filter(S=>!S._container||S._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,ce.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(D=>{this._watchDrawerToggle(D),this._watchDrawerPosition(D),this._watchDrawerMode(D)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Le.b)(10),(0,V.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(D=>D.open())}close(){this._drawers.forEach(D=>D.close())}updateContentMargins(){let D=0,S=0;if(this._left&&this._left.opened)if("side"==this._left.mode)D+=this._left._getWidth();else if("push"==this._left.mode){const I=this._left._getWidth();D+=I,S-=I}if(this._right&&this._right.opened)if("side"==this._right.mode)S+=this._right._getWidth();else if("push"==this._right.mode){const I=this._right._getWidth();S+=I,D-=I}D=D||null,S=S||null,(D!==this._contentMargins.left||S!==this._contentMargins.right)&&(this._contentMargins={left:D,right:S},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(D){D._animationStarted.pipe((0,h.h)(S=>S.fromState!==S.toState),(0,V.R)(this._drawers.changes)).subscribe(S=>{"open-instant"!==S.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==D.mode&&D.openedChange.pipe((0,V.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(D.opened))}_watchDrawerPosition(D){!D||D.onPositionChanged.pipe((0,V.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,ue.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(D){D&&D._modeChanged.pipe((0,V.R)((0,E.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(D){const S=this._element.nativeElement.classList,I="mat-drawer-container-has-open";D?S.add(I):S.remove(I)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(D=>{"end"==D.position?this._end=D:this._start=D}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(D=>D&&!D.disableClose&&this._canHaveBackdrop(D)).forEach(D=>D._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(D){return"side"!==D.mode||!!this._backdropOverride}_isDrawerOpen(D){return null!=D&&D.opened}}return N.\u0275fac=function(D){return new(D||N)(T.Y36(j.Is,8),T.Y36(T.SBq),T.Y36(T.R0b),T.Y36(T.sBO),T.Y36(f.rL),T.Y36(R),T.Y36(ke.Qb,8))},N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-drawer-container"]],contentQueries:function(D,S,I){if(1&D&&(T.Suo(I,He,5),T.Suo(I,fe,5)),2&D){let P;T.iGM(P=T.CRH())&&(S._content=P.first),T.iGM(P=T.CRH())&&(S._allDrawers=P)}},viewQuery:function(D,S){if(1&D&&T.Gf(He,5),2&D){let I;T.iGM(I=T.CRH())&&(S._userContent=I.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(D,S){2&D&&T.ekj("mat-drawer-container-explicit-backdrop",S._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[T._Bn([{provide:Oe,useExisting:N}])],ngContentSelectors:Ne,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(D,S){1&D&&(T.F$t(ge),T.YNc(0,te,1,2,"div",0),T.Hsn(1),T.Hsn(2,1),T.YNc(3,se,2,0,"mat-drawer-content",1)),2&D&&(T.Q6J("ngIf",S.hasBackdrop),T.xp6(3),T.Q6J("ngIf",!S._content))},directives:[He,g.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),N})(),Ve=(()=>{class N extends He{constructor(D,S,I,P,i){super(D,S,I,P,i)}}return N.\u0275fac=function(D){return new(D||N)(T.Y36(T.sBO),T.Y36((0,T.Gpc)(()=>tt)),T.Y36(T.SBq),T.Y36(f.mF),T.Y36(T.R0b))},N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(D,S){2&D&&T.Udp("margin-left",S._container._contentMargins.left,"px")("margin-right",S._container._contentMargins.right,"px")},features:[T._Bn([{provide:f.PQ,useExisting:N}]),T.qOj],ngContentSelectors:H,decls:1,vars:0,template:function(D,S){1&D&&(T.F$t(),T.Hsn(0))},encapsulation:2,changeDetection:0}),N})(),Xe=(()=>{class N extends fe{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(D){this._fixedInViewport=(0,A.Ig)(D)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(D){this._fixedTopGap=(0,A.su)(D)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(D){this._fixedBottomGap=(0,A.su)(D)}}return N.\u0275fac=function(){let he;return function(S){return(he||(he=T.n5z(N)))(S||N)}}(),N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(D,S){2&D&&(T.uIk("align",null),T.Udp("top",S.fixedInViewport?S.fixedTopGap:null,"px")("bottom",S.fixedInViewport?S.fixedBottomGap:null,"px"),T.ekj("mat-drawer-end","end"===S.position)("mat-drawer-over","over"===S.mode)("mat-drawer-push","push"===S.mode)("mat-drawer-side","side"===S.mode)("mat-drawer-opened",S.opened)("mat-sidenav-fixed",S.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[T.qOj],ngContentSelectors:H,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(D,S){1&D&&(T.F$t(),T.TgZ(0,"div",0,1),T.Hsn(2),T.qZA())},directives:[f.PQ],encapsulation:2,data:{animation:[Te.transformDrawer]},changeDetection:0}),N})(),tt=(()=>{class N extends Ce{}return N.\u0275fac=function(){let he;return function(S){return(he||(he=T.n5z(N)))(S||N)}}(),N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-sidenav-container"]],contentQueries:function(D,S,I){if(1&D&&(T.Suo(I,Ve,5),T.Suo(I,Xe,5)),2&D){let P;T.iGM(P=T.CRH())&&(S._content=P.first),T.iGM(P=T.CRH())&&(S._allDrawers=P)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(D,S){2&D&&T.ekj("mat-drawer-container-explicit-backdrop",S._backdropOverride)},exportAs:["matSidenavContainer"],features:[T._Bn([{provide:Oe,useExisting:N}]),T.qOj],ngContentSelectors:ve,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(D,S){1&D&&(T.F$t(Me),T.YNc(0,Fe,1,2,"div",0),T.Hsn(1),T.Hsn(2,1),T.YNc(3,ne,2,0,"mat-sidenav-content",1)),2&D&&(T.Q6J("ngIf",S.hasBackdrop),T.xp6(3),T.Q6J("ngIf",!S._content))},directives:[Ve,g.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),N})(),rt=(()=>{class N{}return N.\u0275fac=function(D){return new(D||N)},N.\u0275mod=T.oAB({type:N}),N.\u0275inj=T.cJS({imports:[[g.ez,m.BQ,e.ud,f.ZD],f.ZD,m.BQ]}),N})()},32368:(Ke,be,d)=>{"use strict";d.d(be,{Rr:()=>Le,rP:()=>j});var e=d(17144),f=d(5e3),g=d(90508),T=d(63191),m=d(93075),A=d(76360),s=d(15664);const b=["thumbContainer"],O=["toggleBar"],E=["input"],h=function(H){return{enterDuration:H}},k=["*"],L=new f.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let V=0;const $={provide:m.JU,useExisting:(0,f.Gpc)(()=>Le),multi:!0};class ue{constructor(Q,te){this.source=Q,this.checked=te}}const ce=(0,g.sb)((0,g.pj)((0,g.Kr)((0,g.Id)(class{constructor(H){this._elementRef=H}}))));let Le=(()=>{class H extends ce{constructor(te,se,ge,Ne,Fe,ne){super(te),this._focusMonitor=se,this._changeDetectorRef=ge,this.defaults=Fe,this._onChange=Me=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++V,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new f.vpe,this.toggleChange=new f.vpe,this.tabIndex=parseInt(Ne)||0,this.color=this.defaultColor=Fe.color||"accent",this._noopAnimations="NoopAnimations"===ne}get required(){return this._required}set required(te){this._required=(0,T.Ig)(te)}get checked(){return this._checked}set checked(te){this._checked=(0,T.Ig)(te),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(te=>{te||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(te){te.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(te){te.stopPropagation()}writeValue(te){this.checked=!!te}registerOnChange(te){this._onChange=te}registerOnTouched(te){this._onTouched=te}setDisabledState(te){this.disabled=te,this._changeDetectorRef.markForCheck()}focus(te,se){se?this._focusMonitor.focusVia(this._inputElement,se,te):this._inputElement.nativeElement.focus(te)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new ue(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return H.\u0275fac=function(te){return new(te||H)(f.Y36(f.SBq),f.Y36(s.tE),f.Y36(f.sBO),f.$8M("tabindex"),f.Y36(L),f.Y36(A.Qb,8))},H.\u0275cmp=f.Xpm({type:H,selectors:[["mat-slide-toggle"]],viewQuery:function(te,se){if(1&te&&(f.Gf(b,5),f.Gf(O,5),f.Gf(E,5)),2&te){let ge;f.iGM(ge=f.CRH())&&(se._thumbEl=ge.first),f.iGM(ge=f.CRH())&&(se._thumbBarEl=ge.first),f.iGM(ge=f.CRH())&&(se._inputElement=ge.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(te,se){2&te&&(f.Ikx("id",se.id),f.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),f.ekj("mat-checked",se.checked)("mat-disabled",se.disabled)("mat-slide-toggle-label-before","before"==se.labelPosition)("_mat-animation-noopable",se._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[f._Bn([$]),f.qOj],ngContentSelectors:k,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(te,se){if(1&te&&(f.F$t(),f.TgZ(0,"label",0,1),f.TgZ(2,"span",2,3),f.TgZ(4,"input",4,5),f.NdJ("change",function(Ne){return se._onChangeEvent(Ne)})("click",function(Ne){return se._onInputClick(Ne)}),f.qZA(),f.TgZ(6,"span",6,7),f._UZ(8,"span",8),f.TgZ(9,"span",9),f._UZ(10,"span",10),f.qZA(),f.qZA(),f.qZA(),f.TgZ(11,"span",11,12),f.NdJ("cdkObserveContent",function(){return se._onLabelTextChange()}),f.TgZ(13,"span",13),f._uU(14,"\xa0"),f.qZA(),f.Hsn(15),f.qZA(),f.qZA()),2&te){const ge=f.MAs(1),Ne=f.MAs(12);f.uIk("for",se.inputId),f.xp6(2),f.ekj("mat-slide-toggle-bar-no-side-margin",!Ne.textContent||!Ne.textContent.trim()),f.xp6(2),f.Q6J("id",se.inputId)("required",se.required)("tabIndex",se.tabIndex)("checked",se.checked)("disabled",se.disabled),f.uIk("name",se.name)("aria-checked",se.checked)("aria-label",se.ariaLabel)("aria-labelledby",se.ariaLabelledby)("aria-describedby",se.ariaDescribedby),f.xp6(5),f.Q6J("matRippleTrigger",ge)("matRippleDisabled",se.disableRipple||se.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",f.VKq(18,h,se._noopAnimations?0:150))}},directives:[g.wG,e.wD],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),H})(),ae=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({}),H})(),j=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({imports:[[ae,g.si,g.BQ,e.Q8],ae,g.BQ]}),H})()},57261:(Ke,be,d)=>{"use strict";d.d(be,{ZX:()=>ce});var e=d(92845),f=d(47429),g=d(69808),T=d(5e3),m=d(90508),A=d(47423);d(41777);let ce=(()=>{class j{}return j.\u0275fac=function(Q){return new(Q||j)},j.\u0275mod=T.oAB({type:j}),j.\u0275inj=T.cJS({imports:[[e.U8,f.eL,g.ez,A.ot,m.BQ],m.BQ]}),j})()},84847:(Ke,be,d)=>{"use strict";d.d(be,{YE:()=>Q,nU:()=>ge,JX:()=>Ne});var e=d(5e3),f=d(63191),g=d(91159),T=d(90508),m=d(8929),A=d(36787),s=d(41777),b=d(15664),O=d(69808);const E=["mat-sort-header",""];function h(Fe,ne){if(1&Fe){const Me=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){return e.CHM(Me),e.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return e.CHM(Me),e.oxw()._disableViewStateAnimation=!1}),e._UZ(1,"div",4),e.TgZ(2,"div",5),e._UZ(3,"div",6),e._UZ(4,"div",7),e._UZ(5,"div",8),e.qZA(),e.qZA()}if(2&Fe){const Me=e.oxw();e.Q6J("@arrowOpacity",Me._getArrowViewState())("@arrowPosition",Me._getArrowViewState())("@allowChildren",Me._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",Me._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",Me._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",Me._getArrowDirectionState())}}const k=["*"],L=T.mZ.ENTERING+" "+T.yN.STANDARD_CURVE,V={indicator:(0,s.X$)("indicator",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"translateY(0px)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"translateY(10px)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(L))]),leftPointer:(0,s.X$)("leftPointer",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"rotate(-45deg)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"rotate(45deg)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(L))]),rightPointer:(0,s.X$)("rightPointer",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"rotate(45deg)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"rotate(-45deg)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(L))]),arrowOpacity:(0,s.X$)("arrowOpacity",[(0,s.SB)("desc-to-active, asc-to-active, active",(0,s.oB)({opacity:1})),(0,s.SB)("desc-to-hint, asc-to-hint, hint",(0,s.oB)({opacity:.54})),(0,s.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,s.oB)({opacity:0})),(0,s.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,s.jt)("0ms")),(0,s.eR)("* <=> *",(0,s.jt)(L))]),arrowPosition:(0,s.X$)("arrowPosition",[(0,s.eR)("* => desc-to-hint, * => desc-to-active",(0,s.jt)(L,(0,s.F4)([(0,s.oB)({transform:"translateY(-25%)"}),(0,s.oB)({transform:"translateY(0)"})]))),(0,s.eR)("* => hint-to-desc, * => active-to-desc",(0,s.jt)(L,(0,s.F4)([(0,s.oB)({transform:"translateY(0)"}),(0,s.oB)({transform:"translateY(25%)"})]))),(0,s.eR)("* => asc-to-hint, * => asc-to-active",(0,s.jt)(L,(0,s.F4)([(0,s.oB)({transform:"translateY(25%)"}),(0,s.oB)({transform:"translateY(0)"})]))),(0,s.eR)("* => hint-to-asc, * => active-to-asc",(0,s.jt)(L,(0,s.F4)([(0,s.oB)({transform:"translateY(0)"}),(0,s.oB)({transform:"translateY(-25%)"})]))),(0,s.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,s.oB)({transform:"translateY(0)"})),(0,s.SB)("hint-to-desc, active-to-desc, desc",(0,s.oB)({transform:"translateY(-25%)"})),(0,s.SB)("hint-to-asc, active-to-asc, asc",(0,s.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,s.X$)("allowChildren",[(0,s.eR)("* <=> *",[(0,s.IO)("@*",(0,s.pV)(),{optional:!0})])])};let de=(()=>{class Fe{constructor(){this.changes=new m.xQ}}return Fe.\u0275fac=function(Me){return new(Me||Fe)},Fe.\u0275prov=e.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})();const ae={provide:de,deps:[[new e.FiY,new e.tp0,de]],useFactory:function ke(Fe){return Fe||new de}},j=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),H=(0,T.dB)((0,T.Id)(class{}));let Q=(()=>{class Fe extends H{constructor(Me){super(),this._defaultOptions=Me,this.sortables=new Map,this._stateChanges=new m.xQ,this.start="asc",this._direction="",this.sortChange=new e.vpe}get direction(){return this._direction}set direction(Me){this._direction=Me}get disableClear(){return this._disableClear}set disableClear(Me){this._disableClear=(0,f.Ig)(Me)}register(Me){this.sortables.set(Me.id,Me)}deregister(Me){this.sortables.delete(Me.id)}sort(Me){this.active!=Me.id?(this.active=Me.id,this.direction=Me.start?Me.start:this.start):this.direction=this.getNextSortDirection(Me),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(Me){var ve,me,Te;if(!Me)return"";const ee=null!==(me=null!==(ve=null==Me?void 0:Me.disableClear)&&void 0!==ve?ve:this.disableClear)&&void 0!==me?me:!!(null===(Te=this._defaultOptions)||void 0===Te?void 0:Te.disableClear);let R=function te(Fe,ne){let Me=["asc","desc"];return"desc"==Fe&&Me.reverse(),ne||Me.push(""),Me}(Me.start||this.start,ee),Oe=R.indexOf(this.direction)+1;return Oe>=R.length&&(Oe=0),R[Oe]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Fe.\u0275fac=function(Me){return new(Me||Fe)(e.Y36(j,8))},Fe.\u0275dir=e.lG2({type:Fe,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[e.qOj,e.TTD]}),Fe})();const se=(0,T.Id)(class{});let ge=(()=>{class Fe extends se{constructor(Me,ve,me,Te,ee,R,Oe){super(),this._intl=Me,this._changeDetectorRef=ve,this._sort=me,this._columnDef=Te,this._focusMonitor=ee,this._elementRef=R,this._ariaDescriber=Oe,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(Me){this._updateSortActionDescription(Me)}get disableClear(){return this._disableClear}set disableClear(Me){this._disableClear=(0,f.Ig)(Me)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Me=>{const ve=!!Me;ve!==this._showIndicatorHint&&(this._setIndicatorHintVisible(ve),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(Me){this._isDisabled()&&Me||(this._showIndicatorHint=Me,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(Me){this._viewState=Me||{},this._disableViewStateAnimation&&(this._viewState={toState:Me.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(Me){!this._isDisabled()&&(Me.keyCode===g.L_||Me.keyCode===g.K5)&&(Me.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const Me=this._viewState.fromState;return(Me?`${Me}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(Me){var ve,me;this._sortButton&&(null===(ve=this._ariaDescriber)||void 0===ve||ve.removeDescription(this._sortButton,this._sortActionDescription),null===(me=this._ariaDescriber)||void 0===me||me.describe(this._sortButton,Me)),this._sortActionDescription=Me}_handleStateChanges(){this._rerenderSubscription=(0,A.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return Fe.\u0275fac=function(Me){return new(Me||Fe)(e.Y36(de),e.Y36(e.sBO),e.Y36(Q,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(b.tE),e.Y36(e.SBq),e.Y36(b.$s,8))},Fe.\u0275cmp=e.Xpm({type:Fe,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(Me,ve){1&Me&&e.NdJ("click",function(){return ve._handleClick()})("keydown",function(Te){return ve._handleKeydown(Te)})("mouseenter",function(){return ve._setIndicatorHintVisible(!0)})("mouseleave",function(){return ve._setIndicatorHintVisible(!1)}),2&Me&&(e.uIk("aria-sort",ve._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",ve._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:E,ngContentSelectors:k,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(Me,ve){1&Me&&(e.F$t(),e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,h,6,6,"div",2),e.qZA()),2&Me&&(e.ekj("mat-sort-header-sorted",ve._isSorted())("mat-sort-header-position-before","before"==ve.arrowPosition),e.uIk("tabindex",ve._isDisabled()?null:0),e.xp6(3),e.Q6J("ngIf",ve._renderArrow()))},directives:[O.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[V.indicator,V.leftPointer,V.rightPointer,V.arrowOpacity,V.arrowPosition,V.allowChildren]},changeDetection:0}),Fe})(),Ne=(()=>{class Fe{}return Fe.\u0275fac=function(Me){return new(Me||Fe)},Fe.\u0275mod=e.oAB({type:Fe}),Fe.\u0275inj=e.cJS({providers:[ae],imports:[[O.ez,T.BQ]]}),Fe})()},92081:(Ke,be,d)=>{"use strict";d.d(be,{C0:()=>yt,BY:()=>et,VY:()=>o,Vq:()=>Zt,T5:()=>_t,fd:()=>Ht});var e=d(47429),f=d(15664),g=d(63191),T=d(91159),m=d(69808),A=d(5e3),s=d(70925),b=d(8929),O=d(21086),E=d(1059),h=d(7625),k=d(50226);function L(Je,Lt){1&Je&&A.Hsn(0)}const V=["*"];let $=(()=>{class Je{constructor(ht){this._elementRef=ht}focus(){this._elementRef.nativeElement.focus()}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36(A.SBq))},Je.\u0275dir=A.lG2({type:Je,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),Je})(),ue=(()=>{class Je{constructor(ht){this.template=ht}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36(A.Rgc))},Je.\u0275dir=A.lG2({type:Je,selectors:[["","cdkStepLabel",""]]}),Je})(),ce=0;const ke=new A.OlP("STEPPER_GLOBAL_OPTIONS");let ae=(()=>{class Je{constructor(ht,Rt){this._stepper=ht,this.interacted=!1,this.interactedStream=new A.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=Rt||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(ht){this._editable=(0,g.Ig)(ht)}get optional(){return this._optional}set optional(ht){this._optional=(0,g.Ig)(ht)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(ht){this._completedOverride=(0,g.Ig)(ht)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(ht){this._customError=(0,g.Ig)(ht)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){var ht;return null!==(ht=this._stepperOptions.showError)&&void 0!==ht?ht:null!=this._customError}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36((0,A.Gpc)(()=>j)),A.Y36(ke,8))},Je.\u0275cmp=A.Xpm({type:Je,selectors:[["cdk-step"]],contentQueries:function(ht,Rt,qe){if(1&ht&&A.Suo(qe,ue,5),2&ht){let Ye;A.iGM(Ye=A.CRH())&&(Rt.stepLabel=Ye.first)}},viewQuery:function(ht,Rt){if(1&ht&&A.Gf(A.Rgc,7),2&ht){let qe;A.iGM(qe=A.CRH())&&(Rt.content=qe.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[A.TTD],ngContentSelectors:V,decls:1,vars:0,template:function(ht,Rt){1&ht&&(A.F$t(),A.YNc(0,L,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),Je})(),j=(()=>{class Je{constructor(ht,Rt,qe,Ye){this._dir=ht,this._changeDetectorRef=Rt,this._elementRef=qe,this._destroyed=new b.xQ,this.steps=new A.n_E,this._sortedHeaders=new A.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new A.vpe,this._orientation="horizontal",this._groupId=ce++}get linear(){return this._linear}set linear(ht){this._linear=(0,g.Ig)(ht)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ht){var Rt;const qe=(0,g.su)(ht);this.steps&&this._steps?(this._isValidIndex(qe),null===(Rt=this.selected)||void 0===Rt||Rt._markAsInteracted(),this._selectedIndex!==qe&&!this._anyControlsInvalidOrPending(qe)&&(qe>=this._selectedIndex||this.steps.toArray()[qe].editable)&&this._updateSelectedItemIndex(qe)):this._selectedIndex=qe}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(ht){this.selectedIndex=ht&&this.steps?this.steps.toArray().indexOf(ht):-1}get orientation(){return this._orientation}set orientation(ht){this._orientation=ht,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===ht)}ngAfterContentInit(){this._steps.changes.pipe((0,E.O)(this._steps),(0,h.R)(this._destroyed)).subscribe(ht=>{this.steps.reset(ht.filter(Rt=>Rt._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,E.O)(this._stepHeader),(0,h.R)(this._destroyed)).subscribe(ht=>{this._sortedHeaders.reset(ht.toArray().sort((Rt,qe)=>Rt._elementRef.nativeElement.compareDocumentPosition(qe._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new f.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,O.of)()).pipe((0,E.O)(this._layoutDirection()),(0,h.R)(this._destroyed)).subscribe(ht=>this._keyManager.withHorizontalOrientation(ht)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(ht=>ht.reset()),this._stateChanged()}_getStepLabelId(ht){return`cdk-step-label-${this._groupId}-${ht}`}_getStepContentId(ht){return`cdk-step-content-${this._groupId}-${ht}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(ht){const Rt=ht-this._selectedIndex;return Rt<0?"rtl"===this._layoutDirection()?"next":"previous":Rt>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(ht,Rt="number"){const qe=this.steps.toArray()[ht],Ye=this._isCurrentStep(ht);return qe._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(qe,Ye):this._getGuidelineLogic(qe,Ye,Rt)}_getDefaultIndicatorLogic(ht,Rt){return ht._showError()&&ht.hasError&&!Rt?"error":!ht.completed||Rt?"number":ht.editable?"edit":"done"}_getGuidelineLogic(ht,Rt,qe="number"){return ht._showError()&&ht.hasError&&!Rt?"error":ht.completed&&!Rt?"done":ht.completed&&Rt?qe:ht.editable&&Rt?"edit":qe}_isCurrentStep(ht){return this._selectedIndex===ht}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(ht){const Rt=this.steps.toArray();this.selectionChange.emit({selectedIndex:ht,previouslySelectedIndex:this._selectedIndex,selectedStep:Rt[ht],previouslySelectedStep:Rt[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(ht):this._keyManager.updateActiveItem(ht),this._selectedIndex=ht,this._stateChanged()}_onKeydown(ht){const Rt=(0,T.Vb)(ht),qe=ht.keyCode,Ye=this._keyManager;null==Ye.activeItemIndex||Rt||qe!==T.L_&&qe!==T.K5?Ye.onKeydown(ht):(this.selectedIndex=Ye.activeItemIndex,ht.preventDefault())}_anyControlsInvalidOrPending(ht){return!!(this._linear&&ht>=0)&&this.steps.toArray().slice(0,ht).some(Rt=>{const qe=Rt.stepControl;return(qe?qe.invalid||qe.pending||!Rt.interacted:!Rt.completed)&&!Rt.optional&&!Rt._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const ht=this._elementRef.nativeElement,Rt=(0,s.ht)();return ht===Rt||ht.contains(Rt)}_isValidIndex(ht){return ht>-1&&(!this.steps||ht{class Je{constructor(ht){this._stepper=ht,this.type="button"}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36(j))},Je.\u0275dir=A.lG2({type:Je,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(ht,Rt){1&ht&&A.NdJ("click",function(){return Rt._stepper.previous()}),2&ht&&A.Ikx("type",Rt.type)},inputs:{type:"type"}}),Je})(),te=(()=>{class Je{}return Je.\u0275fac=function(ht){return new(ht||Je)},Je.\u0275mod=A.oAB({type:Je}),Je.\u0275inj=A.cJS({imports:[[k.vT]]}),Je})();var se=d(47423),ge=d(90508),Ne=d(25245),Fe=d(42654),ne=d(87545),Me=d(24850),ve=d(75778),me=d(41777);function Te(Je,Lt){if(1&Je&&A.GkF(0,8),2&Je){const ht=A.oxw();A.Q6J("ngTemplateOutlet",ht.iconOverrides[ht.state])("ngTemplateOutletContext",ht._getIconContext())}}function ee(Je,Lt){if(1&Je&&(A.TgZ(0,"span",13),A._uU(1),A.qZA()),2&Je){const ht=A.oxw(2);A.xp6(1),A.Oqu(ht._getDefaultTextForState(ht.state))}}function R(Je,Lt){if(1&Je&&(A.TgZ(0,"span",14),A._uU(1),A.qZA()),2&Je){const ht=A.oxw(2);A.xp6(1),A.Oqu(ht._intl.completedLabel)}}function Oe(Je,Lt){if(1&Je&&(A.TgZ(0,"span",14),A._uU(1),A.qZA()),2&Je){const ht=A.oxw(2);A.xp6(1),A.Oqu(ht._intl.editableLabel)}}function Ie(Je,Lt){if(1&Je&&(A.TgZ(0,"mat-icon",13),A._uU(1),A.qZA()),2&Je){const ht=A.oxw(2);A.xp6(1),A.Oqu(ht._getDefaultTextForState(ht.state))}}function He(Je,Lt){if(1&Je&&(A.ynx(0,9),A.YNc(1,ee,2,1,"span",10),A.YNc(2,R,2,1,"span",11),A.YNc(3,Oe,2,1,"span",11),A.YNc(4,Ie,2,1,"mat-icon",12),A.BQk()),2&Je){const ht=A.oxw();A.Q6J("ngSwitch",ht.state),A.xp6(1),A.Q6J("ngSwitchCase","number"),A.xp6(1),A.Q6J("ngIf","done"===ht.state),A.xp6(1),A.Q6J("ngIf","edit"===ht.state)}}function fe(Je,Lt){if(1&Je&&(A.TgZ(0,"div",15),A.GkF(1,16),A.qZA()),2&Je){const ht=A.oxw();A.xp6(1),A.Q6J("ngTemplateOutlet",ht._templateLabel().template)}}function Ce(Je,Lt){if(1&Je&&(A.TgZ(0,"div",15),A._uU(1),A.qZA()),2&Je){const ht=A.oxw();A.xp6(1),A.Oqu(ht.label)}}function Ve(Je,Lt){if(1&Je&&(A.TgZ(0,"div",17),A._uU(1),A.qZA()),2&Je){const ht=A.oxw();A.xp6(1),A.Oqu(ht._intl.optionalLabel)}}function Xe(Je,Lt){if(1&Je&&(A.TgZ(0,"div",18),A._uU(1),A.qZA()),2&Je){const ht=A.oxw();A.xp6(1),A.Oqu(ht.errorMessage)}}function tt(Je,Lt){}function rt(Je,Lt){if(1&Je&&(A.Hsn(0),A.YNc(1,tt,0,0,"ng-template",0)),2&Je){const ht=A.oxw();A.xp6(1),A.Q6J("cdkPortalOutlet",ht._portal)}}const N=["*"];function he(Je,Lt){1&Je&&A._UZ(0,"div",9)}const D=function(Je,Lt){return{step:Je,i:Lt}};function S(Je,Lt){if(1&Je&&(A.ynx(0),A.GkF(1,7),A.YNc(2,he,1,0,"div",8),A.BQk()),2&Je){const ht=Lt.$implicit,Rt=Lt.index,qe=Lt.last;A.oxw(2);const Ye=A.MAs(4);A.xp6(1),A.Q6J("ngTemplateOutlet",Ye)("ngTemplateOutletContext",A.WLB(3,D,ht,Rt)),A.xp6(1),A.Q6J("ngIf",!qe)}}function I(Je,Lt){if(1&Je){const ht=A.EpF();A.TgZ(0,"div",10),A.NdJ("@horizontalStepTransition.done",function(qe){return A.CHM(ht),A.oxw(2)._animationDone.next(qe)}),A.GkF(1,11),A.qZA()}if(2&Je){const ht=Lt.$implicit,Rt=Lt.index,qe=A.oxw(2);A.Q6J("@horizontalStepTransition",qe._getAnimationDirection(Rt))("id",qe._getStepContentId(Rt)),A.uIk("aria-labelledby",qe._getStepLabelId(Rt))("aria-expanded",qe.selectedIndex===Rt),A.xp6(1),A.Q6J("ngTemplateOutlet",ht.content)}}function P(Je,Lt){if(1&Je&&(A.ynx(0),A.TgZ(1,"div",3),A.YNc(2,S,3,6,"ng-container",4),A.qZA(),A.TgZ(3,"div",5),A.YNc(4,I,2,5,"div",6),A.qZA(),A.BQk()),2&Je){const ht=A.oxw();A.xp6(2),A.Q6J("ngForOf",ht.steps),A.xp6(2),A.Q6J("ngForOf",ht.steps)}}function i(Je,Lt){if(1&Je){const ht=A.EpF();A.TgZ(0,"div",13),A.GkF(1,7),A.TgZ(2,"div",14),A.TgZ(3,"div",15),A.NdJ("@verticalStepTransition.done",function(qe){return A.CHM(ht),A.oxw(2)._animationDone.next(qe)}),A.TgZ(4,"div",16),A.GkF(5,11),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&Je){const ht=Lt.$implicit,Rt=Lt.index,qe=Lt.last,Ye=A.oxw(2),oe=A.MAs(4);A.xp6(1),A.Q6J("ngTemplateOutlet",oe)("ngTemplateOutletContext",A.WLB(9,D,ht,Rt)),A.xp6(1),A.ekj("mat-stepper-vertical-line",!qe),A.xp6(1),A.Q6J("@verticalStepTransition",Ye._getAnimationDirection(Rt))("id",Ye._getStepContentId(Rt)),A.uIk("aria-labelledby",Ye._getStepLabelId(Rt))("aria-expanded",Ye.selectedIndex===Rt),A.xp6(2),A.Q6J("ngTemplateOutlet",ht.content)}}function r(Je,Lt){if(1&Je&&(A.ynx(0),A.YNc(1,i,6,12,"div",12),A.BQk()),2&Je){const ht=A.oxw();A.xp6(1),A.Q6J("ngForOf",ht.steps)}}function p(Je,Lt){if(1&Je){const ht=A.EpF();A.TgZ(0,"mat-step-header",17),A.NdJ("click",function(){return A.CHM(ht).step.select()})("keydown",function(qe){return A.CHM(ht),A.oxw()._onKeydown(qe)}),A.qZA()}if(2&Je){const ht=Lt.step,Rt=Lt.i,qe=A.oxw();A.ekj("mat-horizontal-stepper-header","horizontal"===qe.orientation)("mat-vertical-stepper-header","vertical"===qe.orientation),A.Q6J("tabIndex",qe._getFocusIndex()===Rt?0:-1)("id",qe._getStepLabelId(Rt))("index",Rt)("state",qe._getIndicatorType(Rt,ht.state))("label",ht.stepLabel||ht.label)("selected",qe.selectedIndex===Rt)("active",qe._stepIsNavigable(Rt,ht))("optional",ht.optional)("errorMessage",ht.errorMessage)("iconOverrides",qe._iconOverrides)("disableRipple",qe.disableRipple||!qe._stepIsNavigable(Rt,ht))("color",ht.color||qe.color),A.uIk("aria-posinset",Rt+1)("aria-setsize",qe.steps.length)("aria-controls",qe._getStepContentId(Rt))("aria-selected",qe.selectedIndex==Rt)("aria-label",ht.ariaLabel||null)("aria-labelledby",!ht.ariaLabel&&ht.ariaLabelledby?ht.ariaLabelledby:null)("aria-disabled",!qe._stepIsNavigable(Rt,ht)||null)}}let o=(()=>{class Je extends ue{}return Je.\u0275fac=function(){let Lt;return function(Rt){return(Lt||(Lt=A.n5z(Je)))(Rt||Je)}}(),Je.\u0275dir=A.lG2({type:Je,selectors:[["","matStepLabel",""]],features:[A.qOj]}),Je})(),t=(()=>{class Je{constructor(){this.changes=new b.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return Je.\u0275fac=function(ht){return new(ht||Je)},Je.\u0275prov=A.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})();const c={provide:t,deps:[[new A.FiY,new A.tp0,t]],useFactory:function n(Je){return Je||new t}},u=(0,ge.pj)(class extends ${constructor(Lt){super(Lt)}},"primary");let y=(()=>{class Je extends u{constructor(ht,Rt,qe,Ye){super(qe),this._intl=ht,this._focusMonitor=Rt,this._intlSubscription=ht.changes.subscribe(()=>Ye.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(ht,Rt){ht?this._focusMonitor.focusVia(this._elementRef,ht,Rt):this._elementRef.nativeElement.focus(Rt)}_stringLabel(){return this.label instanceof o?null:this.label}_templateLabel(){return this.label instanceof o?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(ht){return"number"==ht?`${this.index+1}`:"edit"==ht?"create":"error"==ht?"warning":ht}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36(t),A.Y36(f.tE),A.Y36(A.SBq),A.Y36(A.sBO))},Je.\u0275cmp=A.Xpm({type:Je,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[A.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(ht,Rt){1&ht&&(A._UZ(0,"div",0),A.TgZ(1,"div"),A.TgZ(2,"div",1),A.YNc(3,Te,1,2,"ng-container",2),A.YNc(4,He,5,4,"ng-container",3),A.qZA(),A.qZA(),A.TgZ(5,"div",4),A.YNc(6,fe,2,1,"div",5),A.YNc(7,Ce,2,1,"div",5),A.YNc(8,Ve,2,1,"div",6),A.YNc(9,Xe,2,1,"div",7),A.qZA()),2&ht&&(A.Q6J("matRippleTrigger",Rt._getHostElement())("matRippleDisabled",Rt.disableRipple),A.xp6(1),A.Gre("mat-step-icon-state-",Rt.state," mat-step-icon"),A.ekj("mat-step-icon-selected",Rt.selected),A.xp6(1),A.Q6J("ngSwitch",!(!Rt.iconOverrides||!Rt.iconOverrides[Rt.state])),A.xp6(1),A.Q6J("ngSwitchCase",!0),A.xp6(2),A.ekj("mat-step-label-active",Rt.active)("mat-step-label-selected",Rt.selected)("mat-step-label-error","error"==Rt.state),A.xp6(1),A.Q6J("ngIf",Rt._templateLabel()),A.xp6(1),A.Q6J("ngIf",Rt._stringLabel()),A.xp6(1),A.Q6J("ngIf",Rt.optional&&"error"!=Rt.state),A.xp6(1),A.Q6J("ngIf","error"==Rt.state))},directives:[Ne.Hw,ge.wG,m.RF,m.n9,m.tP,m.ED,m.O5],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header.cdk-keyboard-focused,.cdk-high-contrast-active .mat-step-header.cdk-program-focused{outline:solid 3px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),Je})();const M={horizontalStepTransition:(0,me.X$)("horizontalStepTransition",[(0,me.SB)("previous",(0,me.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,me.SB)("current",(0,me.oB)({transform:"none",visibility:"inherit"})),(0,me.SB)("next",(0,me.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,me.eR)("* => *",(0,me.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:(0,me.X$)("verticalStepTransition",[(0,me.SB)("previous",(0,me.oB)({height:"0px",visibility:"hidden"})),(0,me.SB)("next",(0,me.oB)({height:"0px",visibility:"hidden"})),(0,me.SB)("current",(0,me.oB)({height:"*",visibility:"inherit"})),(0,me.eR)("* <=> current",(0,me.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let re=(()=>{class Je{constructor(ht){this.templateRef=ht}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36(A.Rgc))},Je.\u0275dir=A.lG2({type:Je,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),Je})(),et=(()=>{class Je{constructor(ht){this._template=ht}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36(A.Rgc))},Je.\u0275dir=A.lG2({type:Je,selectors:[["ng-template","matStepContent",""]]}),Je})(),yt=(()=>{class Je extends ae{constructor(ht,Rt,qe,Ye){super(ht,Ye),this._errorStateMatcher=Rt,this._viewContainerRef=qe,this._isSelected=Fe.w.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,ne.w)(()=>this._stepper.selectionChange.pipe((0,Me.U)(ht=>ht.selectedStep===this),(0,E.O)(this._stepper.selected===this)))).subscribe(ht=>{ht&&this._lazyContent&&!this._portal&&(this._portal=new e.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(ht,Rt){return this._errorStateMatcher.isErrorState(ht,Rt)||!!(ht&&ht.invalid&&this.interacted)}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36((0,A.Gpc)(()=>Zt)),A.Y36(ge.rD,4),A.Y36(A.s_b),A.Y36(ke,8))},Je.\u0275cmp=A.Xpm({type:Je,selectors:[["mat-step"]],contentQueries:function(ht,Rt,qe){if(1&ht&&(A.Suo(qe,o,5),A.Suo(qe,et,5)),2&ht){let Ye;A.iGM(Ye=A.CRH())&&(Rt.stepLabel=Ye.first),A.iGM(Ye=A.CRH())&&(Rt._lazyContent=Ye.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[A._Bn([{provide:ge.rD,useExisting:Je},{provide:ae,useExisting:Je}]),A.qOj],ngContentSelectors:N,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(ht,Rt){1&ht&&(A.F$t(),A.YNc(0,rt,2,1,"ng-template"))},directives:[e.Pl],encapsulation:2,changeDetection:0}),Je})(),pt=(()=>{class Je extends j{}return Je.\u0275fac=function(){let Lt;return function(Rt){return(Lt||(Lt=A.n5z(Je)))(Rt||Je)}}(),Je.\u0275dir=A.lG2({type:Je,features:[A.qOj]}),Je})(),Nt=(()=>{class Je extends pt{}return Je.\u0275fac=function(){let Lt;return function(Rt){return(Lt||(Lt=A.n5z(Je)))(Rt||Je)}}(),Je.\u0275dir=A.lG2({type:Je,selectors:[["mat-horizontal-stepper"]],features:[A.qOj]}),Je})(),It=(()=>{class Je extends pt{}return Je.\u0275fac=function(){let Lt;return function(Rt){return(Lt||(Lt=A.n5z(Je)))(Rt||Je)}}(),Je.\u0275dir=A.lG2({type:Je,selectors:[["mat-vertical-stepper"]],features:[A.qOj]}),Je})(),Zt=(()=>{class Je extends j{constructor(ht,Rt,qe,Ye){super(ht,Rt,qe,Ye),this.steps=new A.n_E,this.animationDone=new A.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new b.xQ;const oe=qe.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===oe?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:ht,templateRef:Rt})=>this._iconOverrides[ht]=Rt),this.steps.changes.pipe((0,h.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,ve.x)((ht,Rt)=>ht.fromState===Rt.fromState&&ht.toState===Rt.toState),(0,h.R)(this._destroyed)).subscribe(ht=>{"current"===ht.toState&&this.animationDone.emit()})}_stepIsNavigable(ht,Rt){return Rt.completed||this.selectedIndex===ht||!this.linear}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36(k.Is,8),A.Y36(A.sBO),A.Y36(A.SBq),A.Y36(m.K0))},Je.\u0275cmp=A.Xpm({type:Je,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(ht,Rt,qe){if(1&ht&&(A.Suo(qe,yt,5),A.Suo(qe,re,5)),2&ht){let Ye;A.iGM(Ye=A.CRH())&&(Rt._steps=Ye),A.iGM(Ye=A.CRH())&&(Rt._icons=Ye)}},viewQuery:function(ht,Rt){if(1&ht&&A.Gf(y,5),2&ht){let qe;A.iGM(qe=A.CRH())&&(Rt._stepHeader=qe)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(ht,Rt){2&ht&&(A.uIk("aria-orientation",Rt.orientation),A.ekj("mat-stepper-horizontal","horizontal"===Rt.orientation)("mat-stepper-vertical","vertical"===Rt.orientation)("mat-stepper-label-position-end","horizontal"===Rt.orientation&&"end"==Rt.labelPosition)("mat-stepper-label-position-bottom","horizontal"===Rt.orientation&&"bottom"==Rt.labelPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[A._Bn([{provide:j,useExisting:Je},{provide:Nt,useExisting:Je},{provide:It,useExisting:Je}]),A.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(ht,Rt){1&ht&&(A.ynx(0,0),A.YNc(1,P,5,2,"ng-container",1),A.YNc(2,r,2,1,"ng-container",1),A.BQk(),A.YNc(3,p,1,23,"ng-template",null,2,A.W1O)),2&ht&&(A.Q6J("ngSwitch",Rt.orientation),A.xp6(1),A.Q6J("ngSwitchCase","horizontal"),A.xp6(1),A.Q6J("ngSwitchCase","vertical"))},directives:[y,m.RF,m.n9,m.sg,m.tP,m.O5],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],encapsulation:2,data:{animation:[M.horizontalStepTransition,M.verticalStepTransition]},changeDetection:0}),Je})(),Ht=(()=>{class Je extends Q{}return Je.\u0275fac=function(){let Lt;return function(Rt){return(Lt||(Lt=A.n5z(Je)))(Rt||Je)}}(),Je.\u0275dir=A.lG2({type:Je,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(ht,Rt){2&ht&&A.Ikx("type",Rt.type)},inputs:{type:"type"},features:[A.qOj]}),Je})(),_t=(()=>{class Je{}return Je.\u0275fac=function(ht){return new(ht||Je)},Je.\u0275mod=A.oAB({type:Je}),Je.\u0275inj=A.cJS({providers:[c,ge.rD],imports:[[ge.BQ,m.ez,e.eL,se.ot,te,Ne.Ps,ge.si],ge.BQ]}),Je})()},32075:(Ke,be,d)=>{"use strict";d.d(be,{ev:()=>Et,Dz:()=>_e,w1:()=>Ut,ge:()=>Vt,fO:()=>Ue,XQ:()=>li,as:()=>At,Gk:()=>Ci,nj:()=>Kt,BZ:()=>X,by:()=>Qi,p0:()=>$i});var e=d(5e3),f=d(63191),g=d(20449),T=d(69808),m=d(8929),A=d(5254),s=d(591),b=d(54715),O=d(21086),E=d(7625),h=d(72986),k=d(50226),L=d(70925),V=d(53435);const $=[[["caption"]],[["colgroup"],["col"]]],ue=["caption","colgroup, col"];function de(We){return class extends We{constructor(...Tt){super(...Tt),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Tt){const Qe=this._sticky;this._sticky=(0,f.Ig)(Tt),this._hasStickyChanged=Qe!==this._sticky}hasStickyChanged(){const Tt=this._hasStickyChanged;return this._hasStickyChanged=!1,Tt}resetStickyChanged(){this._hasStickyChanged=!1}}}const ke=new e.OlP("CDK_TABLE");let j=(()=>{class We{constructor(Qe){this.template=Qe}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkCellDef",""]]}),We})(),H=(()=>{class We{constructor(Qe){this.template=Qe}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkHeaderCellDef",""]]}),We})(),Q=(()=>{class We{constructor(Qe){this.template=Qe}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkFooterCellDef",""]]}),We})();class te{}const se=de(te);let ge=(()=>{class We extends se{constructor(Qe){super(),this._table=Qe,this._stickyEnd=!1}get name(){return this._name}set name(Qe){this._setNameInput(Qe)}get stickyEnd(){return this._stickyEnd}set stickyEnd(Qe){const Ze=this._stickyEnd;this._stickyEnd=(0,f.Ig)(Qe),this._hasStickyChanged=Ze!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(Qe){Qe&&(this._name=Qe,this.cssClassFriendlyName=Qe.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(ke,8))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkColumnDef",""]],contentQueries:function(Qe,Ze,gt){if(1&Qe&&(e.Suo(gt,j,5),e.Suo(gt,H,5),e.Suo(gt,Q,5)),2&Qe){let F;e.iGM(F=e.CRH())&&(Ze.cell=F.first),e.iGM(F=e.CRH())&&(Ze.headerCell=F.first),e.iGM(F=e.CRH())&&(Ze.footerCell=F.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:We}]),e.qOj]}),We})();class Ne{constructor(Tt,Qe){Qe.nativeElement.classList.add(...Tt._columnCssClassName)}}let Fe=(()=>{class We extends Ne{constructor(Qe,Ze){super(Qe,Ze)}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(ge),e.Y36(e.SBq))},We.\u0275dir=e.lG2({type:We,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]}),We})(),Me=(()=>{class We extends Ne{constructor(Qe,Ze){var gt;if(super(Qe,Ze),1===(null===(gt=Qe._table)||void 0===gt?void 0:gt._elementRef.nativeElement.nodeType)){const F=Qe._table._elementRef.nativeElement.getAttribute("role");Ze.nativeElement.setAttribute("role","grid"===F||"treegrid"===F?"gridcell":"cell")}}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(ge),e.Y36(e.SBq))},We.\u0275dir=e.lG2({type:We,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]}),We})();class ve{constructor(){this.tasks=[],this.endTasks=[]}}const me=new e.OlP("_COALESCED_STYLE_SCHEDULER");let Te=(()=>{class We{constructor(Qe){this._ngZone=Qe,this._currentSchedule=null,this._destroyed=new m.xQ}schedule(Qe){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(Qe)}scheduleEnd(Qe){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(Qe)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ve,this._getScheduleObservable().pipe((0,E.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const Qe=this._currentSchedule;this._currentSchedule=new ve;for(const Ze of Qe.tasks)Ze();for(const Ze of Qe.endTasks)Ze()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,A.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,h.q)(1))}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.LFG(e.R0b))},We.\u0275prov=e.Yz7({token:We,factory:We.\u0275fac}),We})(),R=(()=>{class We{constructor(Qe,Ze){this.template=Qe,this._differs=Ze}ngOnChanges(Qe){if(!this._columnsDiffer){const Ze=Qe.columns&&Qe.columns.currentValue||[];this._columnsDiffer=this._differs.find(Ze).create(),this._columnsDiffer.diff(Ze)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(Qe){return this instanceof He?Qe.headerCell.template:this instanceof Ve?Qe.footerCell.template:Qe.cell.template}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc),e.Y36(e.ZZ4))},We.\u0275dir=e.lG2({type:We,features:[e.TTD]}),We})();class Oe extends R{}const Ie=de(Oe);let He=(()=>{class We extends Ie{constructor(Qe,Ze,gt){super(Qe,Ze),this._table=gt}ngOnChanges(Qe){super.ngOnChanges(Qe)}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ke,8))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),We})();class fe extends R{}const Ce=de(fe);let Ve=(()=>{class We extends Ce{constructor(Qe,Ze,gt){super(Qe,Ze),this._table=gt}ngOnChanges(Qe){super.ngOnChanges(Qe)}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ke,8))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),We})(),Xe=(()=>{class We extends R{constructor(Qe,Ze,gt){super(Qe,Ze),this._table=gt}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ke,8))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]}),We})(),tt=(()=>{class We{constructor(Qe){this._viewContainer=Qe,We.mostRecentCellOutlet=this}ngOnDestroy(){We.mostRecentCellOutlet===this&&(We.mostRecentCellOutlet=null)}}return We.mostRecentCellOutlet=null,We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.s_b))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkCellOutlet",""]]}),We})(),rt=(()=>{class We{}return We.\u0275fac=function(Qe){return new(Qe||We)},We.\u0275cmp=e.Xpm({type:We,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Ze){1&Qe&&e.GkF(0,0)},directives:[tt],encapsulation:2}),We})(),he=(()=>{class We{}return We.\u0275fac=function(Qe){return new(Qe||We)},We.\u0275cmp=e.Xpm({type:We,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Ze){1&Qe&&e.GkF(0,0)},directives:[tt],encapsulation:2}),We})(),D=(()=>{class We{constructor(Qe){this.templateRef=Qe,this._contentClassName="cdk-no-data-row"}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc))},We.\u0275dir=e.lG2({type:We,selectors:[["ng-template","cdkNoDataRow",""]]}),We})();const S=["top","bottom","left","right"];class I{constructor(Tt,Qe,Ze,gt,F=!0,Be=!0,ut){this._isNativeHtmlTable=Tt,this._stickCellCss=Qe,this.direction=Ze,this._coalescedStyleScheduler=gt,this._isBrowser=F,this._needsPositionStickyOnElement=Be,this._positionListener=ut,this._cachedCellWidths=[],this._borderCellCss={top:`${Qe}-border-elem-top`,bottom:`${Qe}-border-elem-bottom`,left:`${Qe}-border-elem-left`,right:`${Qe}-border-elem-right`}}clearStickyPositioning(Tt,Qe){const Ze=[];for(const gt of Tt)if(gt.nodeType===gt.ELEMENT_NODE){Ze.push(gt);for(let F=0;F{for(const gt of Ze)this._removeStickyStyle(gt,Qe)})}updateStickyColumns(Tt,Qe,Ze,gt=!0){if(!Tt.length||!this._isBrowser||!Qe.some(bi=>bi)&&!Ze.some(bi=>bi))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const F=Tt[0],Be=F.children.length,ut=this._getCellWidths(F,gt),Mt=this._getStickyStartColumnPositions(ut,Qe),ei=this._getStickyEndColumnPositions(ut,Ze),Qt=Qe.lastIndexOf(!0),Ri=Ze.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const bi="rtl"===this.direction,Li=bi?"right":"left",Ji=bi?"left":"right";for(const Ni of Tt)for(let Hi=0;HiQe[Hi]?Ni:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Ri?[]:ut.slice(Ri).map((Ni,Hi)=>Ze[Hi+Ri]?Ni:null).reverse()}))})}stickRows(Tt,Qe,Ze){if(!this._isBrowser)return;const gt="bottom"===Ze?Tt.slice().reverse():Tt,F="bottom"===Ze?Qe.slice().reverse():Qe,Be=[],ut=[],Mt=[];for(let Qt=0,Ri=0;Qt{var Qt,Ri;for(let bi=0;bi{Qe.some(gt=>!gt)?this._removeStickyStyle(Ze,["bottom"]):this._addStickyStyle(Ze,"bottom",0,!1)})}_removeStickyStyle(Tt,Qe){for(const gt of Qe)Tt.style[gt]="",Tt.classList.remove(this._borderCellCss[gt]);S.some(gt=>-1===Qe.indexOf(gt)&&Tt.style[gt])?Tt.style.zIndex=this._getCalculatedZIndex(Tt):(Tt.style.zIndex="",this._needsPositionStickyOnElement&&(Tt.style.position=""),Tt.classList.remove(this._stickCellCss))}_addStickyStyle(Tt,Qe,Ze,gt){Tt.classList.add(this._stickCellCss),gt&&Tt.classList.add(this._borderCellCss[Qe]),Tt.style[Qe]=`${Ze}px`,Tt.style.zIndex=this._getCalculatedZIndex(Tt),this._needsPositionStickyOnElement&&(Tt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Tt){const Qe={top:100,bottom:10,left:1,right:1};let Ze=0;for(const gt of S)Tt.style[gt]&&(Ze+=Qe[gt]);return Ze?`${Ze}`:""}_getCellWidths(Tt,Qe=!0){if(!Qe&&this._cachedCellWidths.length)return this._cachedCellWidths;const Ze=[],gt=Tt.children;for(let F=0;F0;F--)Qe[F]&&(Ze[F]=gt,gt+=Tt[F]);return Ze}}const u=new e.OlP("CDK_SPL");let M=(()=>{class We{constructor(Qe,Ze){this.viewContainer=Qe,this.elementRef=Ze}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.s_b),e.Y36(e.SBq))},We.\u0275dir=e.lG2({type:We,selectors:[["","rowOutlet",""]]}),We})(),re=(()=>{class We{constructor(Qe,Ze){this.viewContainer=Qe,this.elementRef=Ze}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.s_b),e.Y36(e.SBq))},We.\u0275dir=e.lG2({type:We,selectors:[["","headerRowOutlet",""]]}),We})(),et=(()=>{class We{constructor(Qe,Ze){this.viewContainer=Qe,this.elementRef=Ze}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.s_b),e.Y36(e.SBq))},We.\u0275dir=e.lG2({type:We,selectors:[["","footerRowOutlet",""]]}),We})(),yt=(()=>{class We{constructor(Qe,Ze){this.viewContainer=Qe,this.elementRef=Ze}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.s_b),e.Y36(e.SBq))},We.\u0275dir=e.lG2({type:We,selectors:[["","noDataRowOutlet",""]]}),We})(),It=(()=>{class We{constructor(Qe,Ze,gt,F,Be,ut,Mt,ei,Qt,Ri,bi,Li){this._differs=Qe,this._changeDetectorRef=Ze,this._elementRef=gt,this._dir=Be,this._platform=Mt,this._viewRepeater=ei,this._coalescedStyleScheduler=Qt,this._viewportRuler=Ri,this._stickyPositioningListener=bi,this._ngZone=Li,this._onDestroy=new m.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new e.vpe,this.viewChange=new s.X({start:0,end:Number.MAX_VALUE}),F||this._elementRef.nativeElement.setAttribute("role","table"),this._document=ut,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(Qe){this._trackByFn=Qe}get dataSource(){return this._dataSource}set dataSource(Qe){this._dataSource!==Qe&&this._switchDataSource(Qe)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(Qe){this._multiTemplateDataRows=(0,f.Ig)(Qe),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(Qe){this._fixedLayout=(0,f.Ig)(Qe),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((Qe,Ze)=>this.trackBy?this.trackBy(Ze.dataIndex,Ze.data):Ze),this._viewportRuler.change().pipe((0,E.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Ze=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Ze,this._forceRecalculateCellWidths=Ze,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(Qe=>{Qe.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const Qe=this._dataDiffer.diff(this._renderRows);if(!Qe)return this._updateNoDataRow(),void this.contentChanged.next();const Ze=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(Qe,Ze,(gt,F,Be)=>this._getEmbeddedViewArgs(gt.item,Be),gt=>gt.item.data,gt=>{1===gt.operation&>.context&&this._renderCellTemplateForItem(gt.record.item.rowDef,gt.context)}),this._updateRowIndexContext(),Qe.forEachIdentityChange(gt=>{Ze.get(gt.currentIndex).context.$implicit=gt.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,h.q)(1),(0,E.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(Qe){this._customColumnDefs.add(Qe)}removeColumnDef(Qe){this._customColumnDefs.delete(Qe)}addRowDef(Qe){this._customRowDefs.add(Qe)}removeRowDef(Qe){this._customRowDefs.delete(Qe)}addHeaderRowDef(Qe){this._customHeaderRowDefs.add(Qe),this._headerRowDefChanged=!0}removeHeaderRowDef(Qe){this._customHeaderRowDefs.delete(Qe),this._headerRowDefChanged=!0}addFooterRowDef(Qe){this._customFooterRowDefs.add(Qe),this._footerRowDefChanged=!0}removeFooterRowDef(Qe){this._customFooterRowDefs.delete(Qe),this._footerRowDefChanged=!0}setNoDataRow(Qe){this._customNoDataRow=Qe}updateStickyHeaderRowStyles(){const Qe=this._getRenderedRows(this._headerRowOutlet),gt=this._elementRef.nativeElement.querySelector("thead");gt&&(gt.style.display=Qe.length?"":"none");const F=this._headerRowDefs.map(Be=>Be.sticky);this._stickyStyler.clearStickyPositioning(Qe,["top"]),this._stickyStyler.stickRows(Qe,F,"top"),this._headerRowDefs.forEach(Be=>Be.resetStickyChanged())}updateStickyFooterRowStyles(){const Qe=this._getRenderedRows(this._footerRowOutlet),gt=this._elementRef.nativeElement.querySelector("tfoot");gt&&(gt.style.display=Qe.length?"":"none");const F=this._footerRowDefs.map(Be=>Be.sticky);this._stickyStyler.clearStickyPositioning(Qe,["bottom"]),this._stickyStyler.stickRows(Qe,F,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,F),this._footerRowDefs.forEach(Be=>Be.resetStickyChanged())}updateStickyColumnStyles(){const Qe=this._getRenderedRows(this._headerRowOutlet),Ze=this._getRenderedRows(this._rowOutlet),gt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...Qe,...Ze,...gt],["left","right"]),this._stickyColumnStylesNeedReset=!1),Qe.forEach((F,Be)=>{this._addStickyColumnStyles([F],this._headerRowDefs[Be])}),this._rowDefs.forEach(F=>{const Be=[];for(let ut=0;ut{this._addStickyColumnStyles([F],this._footerRowDefs[Be])}),Array.from(this._columnDefsByName.values()).forEach(F=>F.resetStickyChanged())}_getAllRenderRows(){const Qe=[],Ze=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let gt=0;gt{const ut=gt&>.has(Be)?gt.get(Be):[];if(ut.length){const Mt=ut.shift();return Mt.dataIndex=Ze,Mt}return{data:Qe,rowDef:Be,dataIndex:Ze}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Zt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Ze=>{this._columnDefsByName.has(Ze.name),this._columnDefsByName.set(Ze.name,Ze)})}_cacheRowDefs(){this._headerRowDefs=Zt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Zt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Zt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const Qe=this._rowDefs.filter(Ze=>!Ze.when);this._defaultRowDef=Qe[0]}_renderUpdatedColumns(){const Qe=(Be,ut)=>Be||!!ut.getColumnsDiff(),Ze=this._rowDefs.reduce(Qe,!1);Ze&&this._forceRenderDataRows();const gt=this._headerRowDefs.reduce(Qe,!1);gt&&this._forceRenderHeaderRows();const F=this._footerRowDefs.reduce(Qe,!1);return F&&this._forceRenderFooterRows(),Ze||gt||F}_switchDataSource(Qe){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),Qe||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=Qe}_observeRenderChanges(){if(!this.dataSource)return;let Qe;(0,g.Z9)(this.dataSource)?Qe=this.dataSource.connect(this):(0,b.b)(this.dataSource)?Qe=this.dataSource:Array.isArray(this.dataSource)&&(Qe=(0,O.of)(this.dataSource)),this._renderChangeSubscription=Qe.pipe((0,E.R)(this._onDestroy)).subscribe(Ze=>{this._data=Ze||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((Qe,Ze)=>this._renderRow(this._headerRowOutlet,Qe,Ze)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((Qe,Ze)=>this._renderRow(this._footerRowOutlet,Qe,Ze)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(Qe,Ze){const gt=Array.from(Ze.columns||[]).map(ut=>this._columnDefsByName.get(ut)),F=gt.map(ut=>ut.sticky),Be=gt.map(ut=>ut.stickyEnd);this._stickyStyler.updateStickyColumns(Qe,F,Be,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(Qe){const Ze=[];for(let gt=0;gt!F.when||F.when(Ze,Qe));else{let F=this._rowDefs.find(Be=>Be.when&&Be.when(Ze,Qe))||this._defaultRowDef;F&>.push(F)}return gt}_getEmbeddedViewArgs(Qe,Ze){return{templateRef:Qe.rowDef.template,context:{$implicit:Qe.data},index:Ze}}_renderRow(Qe,Ze,gt,F={}){const Be=Qe.viewContainer.createEmbeddedView(Ze.template,F,gt);return this._renderCellTemplateForItem(Ze,F),Be}_renderCellTemplateForItem(Qe,Ze){for(let gt of this._getCellTemplates(Qe))tt.mostRecentCellOutlet&&tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(gt,Ze);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const Qe=this._rowOutlet.viewContainer;for(let Ze=0,gt=Qe.length;Ze{const gt=this._columnDefsByName.get(Ze);return Qe.extractCellTemplate(gt)}):[]}_applyNativeTableSections(){const Qe=this._document.createDocumentFragment(),Ze=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const gt of Ze){const F=this._document.createElement(gt.tag);F.setAttribute("role","rowgroup");for(const Be of gt.outlets)F.appendChild(Be.elementRef.nativeElement);Qe.appendChild(F)}this._elementRef.nativeElement.appendChild(Qe)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const Qe=(Ze,gt)=>Ze||gt.hasStickyChanged();this._headerRowDefs.reduce(Qe,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(Qe,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(Qe,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new I(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,O.of)()).pipe((0,E.R)(this._onDestroy)).subscribe(Ze=>{this._stickyStyler.direction=Ze,this.updateStickyColumnStyles()})}_getOwnDefs(Qe){return Qe.filter(Ze=>!Ze._table||Ze._table===this)}_updateNoDataRow(){const Qe=this._customNoDataRow||this._noDataRow;if(!Qe)return;const Ze=0===this._rowOutlet.viewContainer.length;if(Ze===this._isShowingNoDataRow)return;const gt=this._noDataRowOutlet.viewContainer;if(Ze){const F=gt.createEmbeddedView(Qe.templateRef),Be=F.rootNodes[0];1===F.rootNodes.length&&(null==Be?void 0:Be.nodeType)===this._document.ELEMENT_NODE&&(Be.setAttribute("role","row"),Be.classList.add(Qe._contentClassName))}else gt.clear();this._isShowingNoDataRow=Ze}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(k.Is,8),e.Y36(T.K0),e.Y36(L.t4),e.Y36(g.k),e.Y36(me),e.Y36(V.rL),e.Y36(u,12),e.Y36(e.R0b,8))},We.\u0275cmp=e.Xpm({type:We,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(Qe,Ze,gt){if(1&Qe&&(e.Suo(gt,D,5),e.Suo(gt,ge,5),e.Suo(gt,Xe,5),e.Suo(gt,He,5),e.Suo(gt,Ve,5)),2&Qe){let F;e.iGM(F=e.CRH())&&(Ze._noDataRow=F.first),e.iGM(F=e.CRH())&&(Ze._contentColumnDefs=F),e.iGM(F=e.CRH())&&(Ze._contentRowDefs=F),e.iGM(F=e.CRH())&&(Ze._contentHeaderRowDefs=F),e.iGM(F=e.CRH())&&(Ze._contentFooterRowDefs=F)}},viewQuery:function(Qe,Ze){if(1&Qe&&(e.Gf(M,7),e.Gf(re,7),e.Gf(et,7),e.Gf(yt,7)),2&Qe){let gt;e.iGM(gt=e.CRH())&&(Ze._rowOutlet=gt.first),e.iGM(gt=e.CRH())&&(Ze._headerRowOutlet=gt.first),e.iGM(gt=e.CRH())&&(Ze._footerRowOutlet=gt.first),e.iGM(gt=e.CRH())&&(Ze._noDataRowOutlet=gt.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(Qe,Ze){2&Qe&&e.ekj("cdk-table-fixed-layout",Ze.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:ke,useExisting:We},{provide:g.k,useClass:g.yy},{provide:me,useClass:Te},{provide:u,useValue:null}])],ngContentSelectors:ue,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Qe,Ze){1&Qe&&(e.F$t($),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[re,M,yt,et],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),We})();function Zt(We,Tt){return We.concat(Array.from(Tt))}let _t=(()=>{class We{}return We.\u0275fac=function(Qe){return new(Qe||We)},We.\u0275mod=e.oAB({type:We}),We.\u0275inj=e.cJS({imports:[[V.Cl]]}),We})();var Je=d(90508),Lt=d(36787),ht=d(36053),Rt=d(24850);const qe=[[["caption"]],[["colgroup"],["col"]]],Ye=["caption","colgroup, col"];let X=(()=>{class We extends It{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275cmp=e.Xpm({type:We,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(Qe,Ze){2&Qe&&e.ekj("mat-table-fixed-layout",Ze.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:g.k,useClass:g.yy},{provide:It,useExisting:We},{provide:ke,useExisting:We},{provide:me,useClass:Te},{provide:u,useValue:null}]),e.qOj],ngContentSelectors:Ye,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Qe,Ze){1&Qe&&(e.F$t(qe),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[re,M,yt,et],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),We})(),_e=(()=>{class We extends j{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:j,useExisting:We}]),e.qOj]}),We})(),Ue=(()=>{class We extends H{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:H,useExisting:We}]),e.qOj]}),We})(),Ut=(()=>{class We extends ge{get name(){return this._name}set name(Qe){this._setNameInput(Qe)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:ge,useExisting:We},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:We}]),e.qOj]}),We})(),Vt=(()=>{class We extends Fe{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[e.qOj]}),We})(),Et=(()=>{class We extends Me{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[e.qOj]}),We})(),At=(()=>{class We extends He{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:He,useExisting:We}]),e.qOj]}),We})(),Kt=(()=>{class We extends Xe{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:Xe,useExisting:We}]),e.qOj]}),We})(),li=(()=>{class We extends rt{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275cmp=e.Xpm({type:We,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:rt,useExisting:We}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Ze){1&Qe&&e.GkF(0,0)},directives:[tt],encapsulation:2}),We})(),Ci=(()=>{class We extends he{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275cmp=e.Xpm({type:We,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[e._Bn([{provide:he,useExisting:We}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Ze){1&Qe&&e.GkF(0,0)},directives:[tt],encapsulation:2}),We})(),$i=(()=>{class We{}return We.\u0275fac=function(Qe){return new(Qe||We)},We.\u0275mod=e.oAB({type:We}),We.\u0275inj=e.cJS({imports:[[_t,Je.BQ],Je.BQ]}),We})();class bn extends g.o2{constructor(Tt=[]){super(),this._renderData=new s.X([]),this._filter=new s.X(""),this._internalPageChanges=new m.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(Qe,Ze)=>{const gt=Qe[Ze];if((0,f.t6)(gt)){const F=Number(gt);return F<9007199254740991?F:gt}return gt},this.sortData=(Qe,Ze)=>{const gt=Ze.active,F=Ze.direction;return gt&&""!=F?Qe.sort((Be,ut)=>{let Mt=this.sortingDataAccessor(Be,gt),ei=this.sortingDataAccessor(ut,gt);const Qt=typeof Mt,Ri=typeof ei;Qt!==Ri&&("number"===Qt&&(Mt+=""),"number"===Ri&&(ei+=""));let bi=0;return null!=Mt&&null!=ei?Mt>ei?bi=1:Mt{const gt=Object.keys(Qe).reduce((Be,ut)=>Be+Qe[ut]+"\u25ec","").toLowerCase(),F=Ze.trim().toLowerCase();return-1!=gt.indexOf(F)},this._data=new s.X(Tt),this._updateChangeSubscription()}get data(){return this._data.value}set data(Tt){Tt=Array.isArray(Tt)?Tt:[],this._data.next(Tt),this._renderChangesSubscription||this._filterData(Tt)}get filter(){return this._filter.value}set filter(Tt){this._filter.next(Tt),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Tt){this._sort=Tt,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Tt){this._paginator=Tt,this._updateChangeSubscription()}_updateChangeSubscription(){var Tt;const Qe=this._sort?(0,Lt.T)(this._sort.sortChange,this._sort.initialized):(0,O.of)(null),Ze=this._paginator?(0,Lt.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,O.of)(null),F=(0,ht.aj)([this._data,this._filter]).pipe((0,Rt.U)(([Mt])=>this._filterData(Mt))),Be=(0,ht.aj)([F,Qe]).pipe((0,Rt.U)(([Mt])=>this._orderData(Mt))),ut=(0,ht.aj)([Be,Ze]).pipe((0,Rt.U)(([Mt])=>this._pageData(Mt)));null===(Tt=this._renderChangesSubscription)||void 0===Tt||Tt.unsubscribe(),this._renderChangesSubscription=ut.subscribe(Mt=>this._renderData.next(Mt))}_filterData(Tt){return this.filteredData=null==this.filter||""===this.filter?Tt:Tt.filter(Qe=>this.filterPredicate(Qe,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Tt){return this.sort?this.sortData(Tt.slice(),this.sort):Tt}_pageData(Tt){if(!this.paginator)return Tt;const Qe=this.paginator.pageIndex*this.paginator.pageSize;return Tt.slice(Qe,Qe+this.paginator.pageSize)}_updatePaginator(Tt){Promise.resolve().then(()=>{const Qe=this.paginator;if(Qe&&(Qe.length=Tt,Qe.pageIndex>0)){const Ze=Math.ceil(Qe.length/Qe.pageSize)-1||0,gt=Math.min(Qe.pageIndex,Ze);gt!==Qe.pageIndex&&(Qe.pageIndex=gt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var Tt;null===(Tt=this._renderChangesSubscription)||void 0===Tt||Tt.unsubscribe(),this._renderChangesSubscription=null}}class Qi extends bn{}},53251:(Ke,be,d)=>{"use strict";d.d(be,{uX:()=>P,Vc:()=>rt,SP:()=>Ht,uD:()=>D,Nh:()=>oe});var e=d(15664),f=d(17144),g=d(47429),T=d(69808),m=d(5e3),A=d(90508),s=d(76360),b=d(8929),O=d(42654),E=d(23753),h=d(21086),k=d(36787),L=d(98723),V=d(41777),$=d(1059),ue=d(75778),ce=d(7625),Le=d(50226),de=d(63191),ke=d(91159),ae=d(70925),j=d(53435);function H(Z,G){1&Z&&m.Hsn(0)}const Q=["*"];function te(Z,G){}const se=function(Z){return{animationDuration:Z}},ge=function(Z,G){return{value:Z,params:G}},Ne=["tabListContainer"],Fe=["tabList"],ne=["tabListInner"],Me=["nextPaginator"],ve=["previousPaginator"],me=["tabBodyWrapper"],Te=["tabHeader"];function ee(Z,G){}function R(Z,G){if(1&Z&&m.YNc(0,ee,0,0,"ng-template",10),2&Z){const X=m.oxw().$implicit;m.Q6J("cdkPortalOutlet",X.templateLabel)}}function Oe(Z,G){if(1&Z&&m._uU(0),2&Z){const X=m.oxw().$implicit;m.Oqu(X.textLabel)}}function Ie(Z,G){if(1&Z){const X=m.EpF();m.TgZ(0,"div",6),m.NdJ("click",function(){const Ue=m.CHM(X),wt=Ue.$implicit,Ut=Ue.index,Vt=m.oxw(),Dt=m.MAs(1);return Vt._handleClick(wt,Dt,Ut)})("cdkFocusChange",function(Ue){const Ut=m.CHM(X).index;return m.oxw()._tabFocusChanged(Ue,Ut)}),m.TgZ(1,"div",7),m.YNc(2,R,1,1,"ng-template",8),m.YNc(3,Oe,1,1,"ng-template",null,9,m.W1O),m.qZA(),m.qZA()}if(2&Z){const X=G.$implicit,_e=G.index,Ue=m.MAs(4),wt=m.oxw();m.ekj("mat-tab-label-active",wt.selectedIndex===_e),m.Q6J("id",wt._getTabLabelId(_e))("ngClass",X.labelClass)("disabled",X.disabled)("matRippleDisabled",X.disabled||wt.disableRipple),m.uIk("tabIndex",wt._getTabIndex(X,_e))("aria-posinset",_e+1)("aria-setsize",wt._tabs.length)("aria-controls",wt._getTabContentId(_e))("aria-selected",wt.selectedIndex===_e)("aria-label",X.ariaLabel||null)("aria-labelledby",!X.ariaLabel&&X.ariaLabelledby?X.ariaLabelledby:null),m.xp6(2),m.Q6J("ngIf",X.templateLabel)("ngIfElse",Ue)}}function He(Z,G){if(1&Z){const X=m.EpF();m.TgZ(0,"mat-tab-body",11),m.NdJ("_onCentered",function(){return m.CHM(X),m.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(Ue){return m.CHM(X),m.oxw()._setTabBodyWrapperHeight(Ue)}),m.qZA()}if(2&Z){const X=G.$implicit,_e=G.index,Ue=m.oxw();m.ekj("mat-tab-body-active",Ue.selectedIndex===_e),m.Q6J("id",Ue._getTabContentId(_e))("ngClass",X.bodyClass)("content",X.content)("position",X.position)("origin",X.origin)("animationDuration",Ue.animationDuration),m.uIk("tabindex",null!=Ue.contentTabIndex&&Ue.selectedIndex===_e?Ue.contentTabIndex:null)("aria-labelledby",Ue._getTabLabelId(_e))}}const Ce=new m.OlP("MatInkBarPositioner",{providedIn:"root",factory:function Ve(){return G=>({left:G?(G.offsetLeft||0)+"px":"0",width:G?(G.offsetWidth||0)+"px":"0"})}});let Xe=(()=>{class Z{constructor(X,_e,Ue,wt){this._elementRef=X,this._ngZone=_e,this._inkBarPositioner=Ue,this._animationMode=wt}alignToElement(X){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(X))}):this._setStyles(X)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(X){const _e=this._inkBarPositioner(X),Ue=this._elementRef.nativeElement;Ue.style.left=_e.left,Ue.style.width=_e.width}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(m.R0b),m.Y36(Ce),m.Y36(s.Qb,8))},Z.\u0275dir=m.lG2({type:Z,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(X,_e){2&X&&m.ekj("_mat-animation-noopable","NoopAnimations"===_e._animationMode)}}),Z})();const tt=new m.OlP("MatTabContent");let rt=(()=>{class Z{constructor(X){this.template=X}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.Rgc))},Z.\u0275dir=m.lG2({type:Z,selectors:[["","matTabContent",""]],features:[m._Bn([{provide:tt,useExisting:Z}])]}),Z})();const N=new m.OlP("MatTabLabel"),he=new m.OlP("MAT_TAB");let D=(()=>{class Z extends g.ig{constructor(X,_e,Ue){super(X,_e),this._closestTab=Ue}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.Rgc),m.Y36(m.s_b),m.Y36(he,8))},Z.\u0275dir=m.lG2({type:Z,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[m._Bn([{provide:N,useExisting:Z}]),m.qOj]}),Z})();const S=(0,A.Id)(class{}),I=new m.OlP("MAT_TAB_GROUP");let P=(()=>{class Z extends S{constructor(X,_e){super(),this._viewContainerRef=X,this._closestTabGroup=_e,this.textLabel="",this._contentPortal=null,this._stateChanges=new b.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(X){this._setTemplateLabelInput(X)}get content(){return this._contentPortal}ngOnChanges(X){(X.hasOwnProperty("textLabel")||X.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new g.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(X){X&&X._closestTab===this&&(this._templateLabel=X)}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.s_b),m.Y36(I,8))},Z.\u0275cmp=m.Xpm({type:Z,selectors:[["mat-tab"]],contentQueries:function(X,_e,Ue){if(1&X&&(m.Suo(Ue,N,5),m.Suo(Ue,tt,7,m.Rgc)),2&X){let wt;m.iGM(wt=m.CRH())&&(_e.templateLabel=wt.first),m.iGM(wt=m.CRH())&&(_e._explicitContent=wt.first)}},viewQuery:function(X,_e){if(1&X&&m.Gf(m.Rgc,7),2&X){let Ue;m.iGM(Ue=m.CRH())&&(_e._implicitContent=Ue.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[m._Bn([{provide:he,useExisting:Z}]),m.qOj,m.TTD],ngContentSelectors:Q,decls:1,vars:0,template:function(X,_e){1&X&&(m.F$t(),m.YNc(0,H,1,0,"ng-template"))},encapsulation:2}),Z})();const i={translateTab:(0,V.X$)("translateTab",[(0,V.SB)("center, void, left-origin-center, right-origin-center",(0,V.oB)({transform:"none"})),(0,V.SB)("left",(0,V.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,V.SB)("right",(0,V.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,V.eR)("* => left, * => right, left => center, right => center",(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,V.eR)("void => left-origin-center",[(0,V.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,V.eR)("void => right-origin-center",[(0,V.oB)({transform:"translate3d(100%, 0, 0)"}),(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let r=(()=>{class Z extends g.Pl{constructor(X,_e,Ue,wt){super(X,_e,wt),this._host=Ue,this._centeringSub=O.w.EMPTY,this._leavingSub=O.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,$.O)(this._host._isCenterPosition(this._host._position))).subscribe(X=>{X&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m._Vd),m.Y36(m.s_b),m.Y36((0,m.Gpc)(()=>o)),m.Y36(T.K0))},Z.\u0275dir=m.lG2({type:Z,selectors:[["","matTabBodyHost",""]],features:[m.qOj]}),Z})(),p=(()=>{class Z{constructor(X,_e,Ue){this._elementRef=X,this._dir=_e,this._dirChangeSubscription=O.w.EMPTY,this._translateTabComplete=new b.xQ,this._onCentering=new m.vpe,this._beforeCentering=new m.vpe,this._afterLeavingCenter=new m.vpe,this._onCentered=new m.vpe(!0),this.animationDuration="500ms",_e&&(this._dirChangeSubscription=_e.change.subscribe(wt=>{this._computePositionAnimationState(wt),Ue.markForCheck()})),this._translateTabComplete.pipe((0,ue.x)((wt,Ut)=>wt.fromState===Ut.fromState&&wt.toState===Ut.toState)).subscribe(wt=>{this._isCenterPosition(wt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(wt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(X){this._positionIndex=X,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(X){const _e=this._isCenterPosition(X.toState);this._beforeCentering.emit(_e),_e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(X){return"center"==X||"left-origin-center"==X||"right-origin-center"==X}_computePositionAnimationState(X=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==X?"left":"right":this._positionIndex>0?"ltr"==X?"right":"left":"center"}_computePositionFromOrigin(X){const _e=this._getLayoutDirection();return"ltr"==_e&&X<=0||"rtl"==_e&&X>0?"left-origin-center":"right-origin-center"}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(Le.Is,8),m.Y36(m.sBO))},Z.\u0275dir=m.lG2({type:Z,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Z})(),o=(()=>{class Z extends p{constructor(X,_e,Ue){super(X,_e,Ue)}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(Le.Is,8),m.Y36(m.sBO))},Z.\u0275cmp=m.Xpm({type:Z,selectors:[["mat-tab-body"]],viewQuery:function(X,_e){if(1&X&&m.Gf(g.Pl,5),2&X){let Ue;m.iGM(Ue=m.CRH())&&(_e._portalHost=Ue.first)}},hostAttrs:[1,"mat-tab-body"],features:[m.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(X,_e){1&X&&(m.TgZ(0,"div",0,1),m.NdJ("@translateTab.start",function(wt){return _e._onTranslateTabStarted(wt)})("@translateTab.done",function(wt){return _e._translateTabComplete.next(wt)}),m.YNc(2,te,0,0,"ng-template",2),m.qZA()),2&X&&m.Q6J("@translateTab",m.WLB(3,ge,_e._position,m.VKq(1,se,_e.animationDuration)))},directives:[r],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[i.translateTab]}}),Z})();const t=new m.OlP("MAT_TABS_CONFIG"),n=(0,A.Id)(class{});let c=(()=>{class Z extends n{constructor(X){super(),this.elementRef=X}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq))},Z.\u0275dir=m.lG2({type:Z,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(X,_e){2&X&&(m.uIk("aria-disabled",!!_e.disabled),m.ekj("mat-tab-disabled",_e.disabled))},inputs:{disabled:"disabled"},features:[m.qOj]}),Z})();const u=(0,ae.i$)({passive:!0});let et=(()=>{class Z{constructor(X,_e,Ue,wt,Ut,Vt,Dt){this._elementRef=X,this._changeDetectorRef=_e,this._viewportRuler=Ue,this._dir=wt,this._ngZone=Ut,this._platform=Vt,this._animationMode=Dt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new b.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new b.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new m.vpe,this.indexFocused=new m.vpe,Ut.runOutsideAngular(()=>{(0,E.R)(X.nativeElement,"mouseleave").pipe((0,ce.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(X){X=(0,de.su)(X),this._selectedIndex!=X&&(this._selectedIndexChanged=!0,this._selectedIndex=X,this._keyManager&&this._keyManager.updateActiveItem(X))}ngAfterViewInit(){(0,E.R)(this._previousPaginator.nativeElement,"touchstart",u).pipe((0,ce.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,E.R)(this._nextPaginator.nativeElement,"touchstart",u).pipe((0,ce.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const X=this._dir?this._dir.change:(0,h.of)("ltr"),_e=this._viewportRuler.change(150),Ue=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new e.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(Ue):Ue(),(0,k.T)(X,_e,this._items.changes).pipe((0,ce.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(Ue)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,ce.R)(this._destroyed)).subscribe(wt=>{this.indexFocused.emit(wt),this._setTabFocus(wt)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(X){if(!(0,ke.Vb)(X))switch(X.keyCode){case ke.K5:case ke.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(X));break;default:this._keyManager.onKeydown(X)}}_onContentChanges(){const X=this._elementRef.nativeElement.textContent;X!==this._currentTextContent&&(this._currentTextContent=X||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(X){!this._isValidIndex(X)||this.focusIndex===X||!this._keyManager||this._keyManager.setActiveItem(X)}_isValidIndex(X){if(!this._items)return!0;const _e=this._items?this._items.toArray()[X]:null;return!!_e&&!_e.disabled}_setTabFocus(X){if(this._showPaginationControls&&this._scrollToLabel(X),this._items&&this._items.length){this._items.toArray()[X].focus();const _e=this._tabListContainer.nativeElement;_e.scrollLeft="ltr"==this._getLayoutDirection()?0:_e.scrollWidth-_e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const X=this.scrollDistance,_e="ltr"===this._getLayoutDirection()?-X:X;this._tabList.nativeElement.style.transform=`translateX(${Math.round(_e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(X){this._scrollTo(X)}_scrollHeader(X){return this._scrollTo(this._scrollDistance+("before"==X?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(X){this._stopInterval(),this._scrollHeader(X)}_scrollToLabel(X){if(this.disablePagination)return;const _e=this._items?this._items.toArray()[X]:null;if(!_e)return;const Ue=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:wt,offsetWidth:Ut}=_e.elementRef.nativeElement;let Vt,Dt;"ltr"==this._getLayoutDirection()?(Vt=wt,Dt=Vt+Ut):(Dt=this._tabListInner.nativeElement.offsetWidth-wt,Vt=Dt-Ut);const Et=this.scrollDistance,At=this.scrollDistance+Ue;VtAt&&(this.scrollDistance+=Dt-At+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const X=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;X||(this.scrollDistance=0),X!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=X}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const X=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,_e=X?X.elementRef.nativeElement:null;_e?this._inkBar.alignToElement(_e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(X,_e){_e&&null!=_e.button&&0!==_e.button||(this._stopInterval(),(0,L.H)(650,100).pipe((0,ce.R)((0,k.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Ue,distance:wt}=this._scrollHeader(X);(0===wt||wt>=Ue)&&this._stopInterval()}))}_scrollTo(X){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const _e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(_e,X)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:_e,distance:this._scrollDistance}}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(j.rL),m.Y36(Le.Is,8),m.Y36(m.R0b),m.Y36(ae.t4),m.Y36(s.Qb,8))},Z.\u0275dir=m.lG2({type:Z,inputs:{disablePagination:"disablePagination"}}),Z})(),yt=(()=>{class Z extends et{constructor(X,_e,Ue,wt,Ut,Vt,Dt){super(X,_e,Ue,wt,Ut,Vt,Dt),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(X){this._disableRipple=(0,de.Ig)(X)}_itemSelected(X){X.preventDefault()}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(j.rL),m.Y36(Le.Is,8),m.Y36(m.R0b),m.Y36(ae.t4),m.Y36(s.Qb,8))},Z.\u0275dir=m.lG2({type:Z,inputs:{disableRipple:"disableRipple"},features:[m.qOj]}),Z})(),pt=(()=>{class Z extends yt{constructor(X,_e,Ue,wt,Ut,Vt,Dt){super(X,_e,Ue,wt,Ut,Vt,Dt)}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(j.rL),m.Y36(Le.Is,8),m.Y36(m.R0b),m.Y36(ae.t4),m.Y36(s.Qb,8))},Z.\u0275cmp=m.Xpm({type:Z,selectors:[["mat-tab-header"]],contentQueries:function(X,_e,Ue){if(1&X&&m.Suo(Ue,c,4),2&X){let wt;m.iGM(wt=m.CRH())&&(_e._items=wt)}},viewQuery:function(X,_e){if(1&X&&(m.Gf(Xe,7),m.Gf(Ne,7),m.Gf(Fe,7),m.Gf(ne,7),m.Gf(Me,5),m.Gf(ve,5)),2&X){let Ue;m.iGM(Ue=m.CRH())&&(_e._inkBar=Ue.first),m.iGM(Ue=m.CRH())&&(_e._tabListContainer=Ue.first),m.iGM(Ue=m.CRH())&&(_e._tabList=Ue.first),m.iGM(Ue=m.CRH())&&(_e._tabListInner=Ue.first),m.iGM(Ue=m.CRH())&&(_e._nextPaginator=Ue.first),m.iGM(Ue=m.CRH())&&(_e._previousPaginator=Ue.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(X,_e){2&X&&m.ekj("mat-tab-header-pagination-controls-enabled",_e._showPaginationControls)("mat-tab-header-rtl","rtl"==_e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[m.qOj],ngContentSelectors:Q,decls:14,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(X,_e){1&X&&(m.F$t(),m.TgZ(0,"div",0,1),m.NdJ("click",function(){return _e._handlePaginatorClick("before")})("mousedown",function(wt){return _e._handlePaginatorPress("before",wt)})("touchend",function(){return _e._stopInterval()}),m._UZ(2,"div",2),m.qZA(),m.TgZ(3,"div",3,4),m.NdJ("keydown",function(wt){return _e._handleKeydown(wt)}),m.TgZ(5,"div",5,6),m.NdJ("cdkObserveContent",function(){return _e._onContentChanges()}),m.TgZ(7,"div",7,8),m.Hsn(9),m.qZA(),m._UZ(10,"mat-ink-bar"),m.qZA(),m.qZA(),m.TgZ(11,"div",9,10),m.NdJ("mousedown",function(wt){return _e._handlePaginatorPress("after",wt)})("click",function(){return _e._handlePaginatorClick("after")})("touchend",function(){return _e._stopInterval()}),m._UZ(13,"div",2),m.qZA()),2&X&&(m.ekj("mat-tab-header-pagination-disabled",_e._disableScrollBefore),m.Q6J("matRippleDisabled",_e._disableScrollBefore||_e.disableRipple),m.xp6(5),m.ekj("_mat-animation-noopable","NoopAnimations"===_e._animationMode),m.xp6(6),m.ekj("mat-tab-header-pagination-disabled",_e._disableScrollAfter),m.Q6J("matRippleDisabled",_e._disableScrollAfter||_e.disableRipple))},directives:[A.wG,f.wD,Xe],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),Z})(),Nt=0;class It{}const Zt=(0,A.pj)((0,A.Kr)(class{constructor(Z){this._elementRef=Z}}),"primary");let mt=(()=>{class Z extends Zt{constructor(X,_e,Ue,wt){var Ut;super(X),this._changeDetectorRef=_e,this._animationMode=wt,this._tabs=new m.n_E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=O.w.EMPTY,this._tabLabelSubscription=O.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new m.vpe,this.focusChange=new m.vpe,this.animationDone=new m.vpe,this.selectedTabChange=new m.vpe(!0),this._groupId=Nt++,this.animationDuration=Ue&&Ue.animationDuration?Ue.animationDuration:"500ms",this.disablePagination=!(!Ue||null==Ue.disablePagination)&&Ue.disablePagination,this.dynamicHeight=!(!Ue||null==Ue.dynamicHeight)&&Ue.dynamicHeight,this.contentTabIndex=null!==(Ut=null==Ue?void 0:Ue.contentTabIndex)&&void 0!==Ut?Ut:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(X){this._dynamicHeight=(0,de.Ig)(X)}get selectedIndex(){return this._selectedIndex}set selectedIndex(X){this._indexToSelect=(0,de.su)(X,null)}get animationDuration(){return this._animationDuration}set animationDuration(X){this._animationDuration=/^\d+$/.test(X+"")?X+"ms":X}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(X){this._contentTabIndex=(0,de.su)(X,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(X){const _e=this._elementRef.nativeElement;_e.classList.remove(`mat-background-${this.backgroundColor}`),X&&_e.classList.add(`mat-background-${X}`),this._backgroundColor=X}ngAfterContentChecked(){const X=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=X){const _e=null==this._selectedIndex;if(!_e){this.selectedTabChange.emit(this._createChangeEvent(X));const Ue=this._tabBodyWrapper.nativeElement;Ue.style.minHeight=Ue.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Ue,wt)=>Ue.isActive=wt===X),_e||(this.selectedIndexChange.emit(X),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((_e,Ue)=>{_e.position=Ue-X,null!=this._selectedIndex&&0==_e.position&&!_e.origin&&(_e.origin=X-this._selectedIndex)}),this._selectedIndex!==X&&(this._selectedIndex=X,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const _e=this._tabs.toArray();for(let Ue=0;Ue<_e.length;Ue++)if(_e[Ue].isActive){this._indexToSelect=this._selectedIndex=Ue;break}}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,$.O)(this._allTabs)).subscribe(X=>{this._tabs.reset(X.filter(_e=>_e._closestTabGroup===this||!_e._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(X){const _e=this._tabHeader;_e&&(_e.focusIndex=X)}_focusChanged(X){this.focusChange.emit(this._createChangeEvent(X))}_createChangeEvent(X){const _e=new It;return _e.index=X,this._tabs&&this._tabs.length&&(_e.tab=this._tabs.toArray()[X]),_e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,k.T)(...this._tabs.map(X=>X._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(X){return Math.min(this._tabs.length-1,Math.max(X||0,0))}_getTabLabelId(X){return`mat-tab-label-${this._groupId}-${X}`}_getTabContentId(X){return`mat-tab-content-${this._groupId}-${X}`}_setTabBodyWrapperHeight(X){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const _e=this._tabBodyWrapper.nativeElement;_e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(_e.style.height=X+"px")}_removeTabBodyWrapperHeight(){const X=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=X.clientHeight,X.style.height="",this.animationDone.emit()}_handleClick(X,_e,Ue){X.disabled||(this.selectedIndex=_e.focusIndex=Ue)}_getTabIndex(X,_e){return X.disabled?null:this.selectedIndex===_e?0:-1}_tabFocusChanged(X,_e){X&&"mouse"!==X&&"touch"!==X&&(this._tabHeader.focusIndex=_e)}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(t,8),m.Y36(s.Qb,8))},Z.\u0275dir=m.lG2({type:Z,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[m.qOj]}),Z})(),Ht=(()=>{class Z extends mt{constructor(X,_e,Ue,wt){super(X,_e,Ue,wt)}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(t,8),m.Y36(s.Qb,8))},Z.\u0275cmp=m.Xpm({type:Z,selectors:[["mat-tab-group"]],contentQueries:function(X,_e,Ue){if(1&X&&m.Suo(Ue,P,5),2&X){let wt;m.iGM(wt=m.CRH())&&(_e._allTabs=wt)}},viewQuery:function(X,_e){if(1&X&&(m.Gf(me,5),m.Gf(Te,5)),2&X){let Ue;m.iGM(Ue=m.CRH())&&(_e._tabBodyWrapper=Ue.first),m.iGM(Ue=m.CRH())&&(_e._tabHeader=Ue.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(X,_e){2&X&&m.ekj("mat-tab-group-dynamic-height",_e.dynamicHeight)("mat-tab-group-inverted-header","below"===_e.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[m._Bn([{provide:I,useExisting:Z}]),m.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(X,_e){1&X&&(m.TgZ(0,"mat-tab-header",0,1),m.NdJ("indexFocused",function(wt){return _e._focusChanged(wt)})("selectFocusedIndex",function(wt){return _e.selectedIndex=wt}),m.YNc(2,Ie,5,15,"div",2),m.qZA(),m.TgZ(3,"div",3,4),m.YNc(5,He,1,10,"mat-tab-body",5),m.qZA()),2&X&&(m.Q6J("selectedIndex",_e.selectedIndex||0)("disableRipple",_e.disableRipple)("disablePagination",_e.disablePagination),m.xp6(2),m.Q6J("ngForOf",_e._tabs),m.xp6(1),m.ekj("_mat-animation-noopable","NoopAnimations"===_e._animationMode),m.xp6(2),m.Q6J("ngForOf",_e._tabs))},directives:[pt,o,T.sg,c,A.wG,e.kH,T.mk,T.O5,g.Pl],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),Z})(),oe=(()=>{class Z{}return Z.\u0275fac=function(X){return new(X||Z)},Z.\u0275mod=m.oAB({type:Z}),Z.\u0275inj=m.cJS({imports:[[T.ez,A.BQ,g.eL,A.si,f.Q8,e.rt],A.BQ]}),Z})()},29772:(Ke,be,d)=>{"use strict";d.d(be,{gM:()=>rt,AV:()=>D});var e=d(92845),f=d(15664),g=d(69808),T=d(5e3),m=d(90508),A=d(53435),s=d(63191),b=d(91159),O=d(8929),E=d(36053),h=d(61221),k=d(32916),L=d(72986),V=d(31307),$=d(80013),ue=d(24850),ce=d(1059),Le=d(7625),de=d(70925);const ae=new Set;let j,H=(()=>{class S{constructor(P){this._platform=P,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):te}matchMedia(P){return(this._platform.WEBKIT||this._platform.BLINK)&&function Q(S){if(!ae.has(S))try{j||(j=document.createElement("style"),j.setAttribute("type","text/css"),document.head.appendChild(j)),j.sheet&&(j.sheet.insertRule(`@media ${S} {body{ }}`,0),ae.add(S))}catch(I){console.error(I)}}(P),this._matchMedia(P)}}return S.\u0275fac=function(P){return new(P||S)(T.LFG(de.t4))},S.\u0275prov=T.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})();function te(S){return{matches:"all"===S||""===S,media:S,addListener:()=>{},removeListener:()=>{}}}let se=(()=>{class S{constructor(P,i){this._mediaMatcher=P,this._zone=i,this._queries=new Map,this._destroySubject=new O.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(P){return ge((0,s.Eq)(P)).some(r=>this._registerQuery(r).mql.matches)}observe(P){const r=ge((0,s.Eq)(P)).map(o=>this._registerQuery(o).observable);let p=(0,E.aj)(r);return p=(0,h.z)(p.pipe((0,L.q)(1)),p.pipe((0,V.T)(1),(0,$.b)(0))),p.pipe((0,ue.U)(o=>{const t={matches:!1,breakpoints:{}};return o.forEach(({matches:n,query:c})=>{t.matches=t.matches||n,t.breakpoints[c]=n}),t}))}_registerQuery(P){if(this._queries.has(P))return this._queries.get(P);const i=this._mediaMatcher.matchMedia(P),p={observable:new k.y(o=>{const t=n=>this._zone.run(()=>o.next(n));return i.addListener(t),()=>{i.removeListener(t)}}).pipe((0,ce.O)(i),(0,ue.U)(({matches:o})=>({query:P,matches:o})),(0,Le.R)(this._destroySubject)),mql:i};return this._queries.set(P,p),p}}return S.\u0275fac=function(P){return new(P||S)(T.LFG(H),T.LFG(T.R0b))},S.\u0275prov=T.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})();function ge(S){return S.map(I=>I.split(",")).reduce((I,P)=>I.concat(P)).map(I=>I.trim())}var Fe=d(47429),ne=d(41777),Me=d(50226);const ve={tooltipState:(0,ne.X$)("state",[(0,ne.SB)("initial, void, hidden",(0,ne.oB)({opacity:0,transform:"scale(0)"})),(0,ne.SB)("visible",(0,ne.oB)({transform:"scale(1)"})),(0,ne.eR)("* => visible",(0,ne.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.F4)([(0,ne.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,ne.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,ne.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,ne.eR)("* => hidden",(0,ne.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.oB)({opacity:0})))])},ee="tooltip-panel",R=(0,de.i$)({passive:!0}),He=new T.OlP("mat-tooltip-scroll-strategy"),Ce={provide:He,deps:[e.aV],useFactory:function fe(S){return()=>S.scrollStrategies.reposition({scrollThrottle:20})}},Ve=new T.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Xe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let tt=(()=>{class S{constructor(P,i,r,p,o,t,n,c,u,y,M,re){this._overlay=P,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=p,this._ngZone=o,this._platform=t,this._ariaDescriber=n,this._focusMonitor=c,this._dir=y,this._defaultOptions=M,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 O.xQ,this._scrollStrategy=u,this._document=re,M&&(M.position&&(this.position=M.position),M.touchGestures&&(this.touchGestures=M.touchGestures)),y.change.pipe((0,Le.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(P){var i;P!==this._position&&(this._position=P,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(i=this._tooltipInstance)||void 0===i||i.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(P){this._disabled=(0,s.Ig)(P),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(P){this._showDelay=(0,s.su)(P)}get hideDelay(){return this._hideDelay}set hideDelay(P){this._hideDelay=(0,s.su)(P)}get message(){return this._message}set message(P){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=P?String(P).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(P){this._tooltipClass=P,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,Le.R)(this._destroyed)).subscribe(P=>{P?"keyboard"===P&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const P=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{P.removeEventListener(i,r,R)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(P,this.message,"tooltip"),this._focusMonitor.stopMonitoring(P)}show(P=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const i=this._createOverlay();this._detach(),this._portal=this._portal||new Fe.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=i.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,Le.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(P)}hide(P=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(P)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const P=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(P);return i.positionChanges.pipe((0,Le.R)(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:`${this._cssClassPrefix}-${ee}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,Le.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,Le.R)(this._destroyed)).subscribe(()=>{var r;return null===(r=this._tooltipInstance)||void 0===r?void 0:r._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,Le.R)(this._destroyed)).subscribe(r=>{this._isTooltipVisible()&&r.keyCode===b.hY&&!(0,b.Vb)(r)&&(r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(P){const i=P.getConfig().positionStrategy,r=this._getOrigin(),p=this._getOverlayPosition();i.withPositions([this._addOffset(Object.assign(Object.assign({},r.main),p.main)),this._addOffset(Object.assign(Object.assign({},r.fallback),p.fallback))])}_addOffset(P){return P}_getOrigin(){const P=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&P||"right"==i&&!P?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&P||"left"==i&&!P)&&(r={originX:"end",originY:"center"});const{x:p,y:o}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:p,originY:o}}}_getOverlayPosition(){const P=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&P||"right"==i&&!P?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&P||"left"==i&&!P)&&(r={overlayX:"start",overlayY:"center"});const{x:p,y:o}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:p,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,L.q)(1),(0,Le.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(P){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=P,this._tooltipInstance._markForCheck())}_invertPosition(P,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===P?P="start":"start"===P&&(P="end"),{x:P,y:i}}_updateCurrentPositionClass(P){const{overlayY:i,originX:r,originY:p}=P;let o;if(o="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===p?"above":"below",o!==this._currentPosition){const t=this._overlayRef;if(t){const n=`${this._cssClassPrefix}-${ee}-`;t.removePanelClass(n+this._currentPosition),t.addPanelClass(n+o)}this._currentPosition=o}}_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 P=[];if(this._platformSupportsMouseEvents())P.push(["mouseleave",()=>this.hide()],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};P.push(["touchend",i],["touchcancel",i])}this._addListeners(P),this._passiveListeners.push(...P)}_addListeners(P){P.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,R)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(P){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(P.clientX,P.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const P=this.touchGestures;if("off"!==P){const i=this._elementRef.nativeElement,r=i.style;("on"===P||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===P||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return S.\u0275fac=function(P){T.$Z()},S.\u0275dir=T.lG2({type:S,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),S})(),rt=(()=>{class S extends tt{constructor(P,i,r,p,o,t,n,c,u,y,M,re){super(P,i,r,p,o,t,n,c,u,y,M,re),this._tooltipComponent=he}}return S.\u0275fac=function(P){return new(P||S)(T.Y36(e.aV),T.Y36(T.SBq),T.Y36(A.mF),T.Y36(T.s_b),T.Y36(T.R0b),T.Y36(de.t4),T.Y36(f.$s),T.Y36(f.tE),T.Y36(He),T.Y36(Me.Is,8),T.Y36(Ve,8),T.Y36(g.K0))},S.\u0275dir=T.lG2({type:S,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[T.qOj]}),S})(),N=(()=>{class S{constructor(P){this._changeDetectorRef=P,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new O.xQ}show(P){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},P)}hide(P){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},P)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(P){const i=P.toState;"hidden"===i&&!this.isVisible()&&this._onHide.next(),("visible"===i||"hidden"===i)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return S.\u0275fac=function(P){return new(P||S)(T.Y36(T.sBO))},S.\u0275dir=T.lG2({type:S}),S})(),he=(()=>{class S extends N{constructor(P,i){super(P),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return S.\u0275fac=function(P){return new(P||S)(T.Y36(T.sBO),T.Y36(se))},S.\u0275cmp=T.Xpm({type:S,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(P,i){2&P&&T.Udp("zoom","visible"===i._visibility?1:null)},features:[T.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(P,i){if(1&P&&(T.TgZ(0,"div",0),T.NdJ("@state.start",function(){return i._animationStart()})("@state.done",function(p){return i._animationDone(p)}),T.ALo(1,"async"),T._uU(2),T.qZA()),2&P){let r;T.ekj("mat-tooltip-handset",null==(r=T.lcZ(1,5,i._isHandset))?null:r.matches),T.Q6J("ngClass",i.tooltipClass)("@state",i._visibility),T.xp6(2),T.Oqu(i.message)}},directives:[g.mk],pipes:[g.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[ve.tooltipState]},changeDetection:0}),S})(),D=(()=>{class S{}return S.\u0275fac=function(P){return new(P||S)},S.\u0275mod=T.oAB({type:S}),S.\u0275inj=T.cJS({providers:[Ce],imports:[[f.rt,g.ez,e.U8,m.BQ],m.BQ,A.ZD]}),S})()},90149:(Ke,be,d)=>{"use strict";d.d(be,{GZ:()=>L,gi:()=>ue,kc:()=>ae,JZ:()=>ke,dp:()=>de,WX:()=>j,uo:()=>h,fQ:()=>k,Ar:()=>$,eu:()=>ce});var e=d(28258),f=d(5e3),g=d(90508),T=d(63191),m=d(20449),A=d(591),s=d(36787),b=d(72986),O=d(24850);const E=(0,g.sb)((0,g.Id)(e.Hs));let h=(()=>{class H extends E{constructor(te,se,ge){super(te,se),this.tabIndex=Number(ge)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return H.\u0275fac=function(te){return new(te||H)(f.Y36(f.SBq),f.Y36(e._0),f.$8M("tabindex"))},H.\u0275dir=f.lG2({type:H,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[f._Bn([{provide:e.Hs,useExisting:H}]),f.qOj]}),H})(),k=(()=>{class H extends e.rO{}return H.\u0275fac=function(){let Q;return function(se){return(Q||(Q=f.n5z(H)))(se||H)}}(),H.\u0275dir=f.lG2({type:H,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[f._Bn([{provide:e.rO,useExisting:H}]),f.qOj]}),H})(),L=(()=>{class H extends e.Xx{constructor(te,se,ge,Ne){super(te,se,ge),this._disabled=!1,this.tabIndex=Number(Ne)||0}get disabled(){return this._disabled}set disabled(te){this._disabled=(0,T.Ig)(te)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(te){this._tabIndex=null!=te?te:0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return H.\u0275fac=function(te){return new(te||H)(f.Y36(f.SBq),f.Y36(e._0),f.Y36(f.ZZ4),f.$8M("tabindex"))},H.\u0275dir=f.lG2({type:H,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[f._Bn([{provide:e.Xx,useExisting:H},{provide:e.Hs,useExisting:H},{provide:e.HI,useExisting:H}]),f.qOj]}),H})(),$=(()=>{class H{constructor(te,se){this.viewContainer=te,this._node=se}}return H.\u0275fac=function(te){return new(te||H)(f.Y36(f.s_b),f.Y36(e.HI,8))},H.\u0275dir=f.lG2({type:H,selectors:[["","matTreeNodeOutlet",""]],features:[f._Bn([{provide:e.cu,useExisting:H}])]}),H})(),ue=(()=>{class H extends e._0{}return H.\u0275fac=function(){let Q;return function(se){return(Q||(Q=f.n5z(H)))(se||H)}}(),H.\u0275cmp=f.Xpm({type:H,selectors:[["mat-tree"]],viewQuery:function(te,se){if(1&te&&f.Gf($,7),2&te){let ge;f.iGM(ge=f.CRH())&&(se._nodeOutlet=ge.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[f._Bn([{provide:e._0,useExisting:H}]),f.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(te,se){1&te&&f.GkF(0,0)},directives:[$],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2}),H})(),ce=(()=>{class H extends e.Ud{}return H.\u0275fac=function(){let Q;return function(se){return(Q||(Q=f.n5z(H)))(se||H)}}(),H.\u0275dir=f.lG2({type:H,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[f._Bn([{provide:e.Ud,useExisting:H}]),f.qOj]}),H})(),de=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({imports:[[e.nZ,g.BQ],g.BQ]}),H})();class ke{constructor(Q,te,se,ge){this.transformFunction=Q,this.getLevel=te,this.isExpandable=se,this.getChildren=ge}_flattenNode(Q,te,se,ge){const Ne=this.transformFunction(Q,te);if(se.push(Ne),this.isExpandable(Ne)){const Fe=this.getChildren(Q);Fe&&(Array.isArray(Fe)?this._flattenChildren(Fe,te,se,ge):Fe.pipe((0,b.q)(1)).subscribe(ne=>{this._flattenChildren(ne,te,se,ge)}))}return se}_flattenChildren(Q,te,se,ge){Q.forEach((Ne,Fe)=>{let ne=ge.slice();ne.push(Fe!=Q.length-1),this._flattenNode(Ne,te+1,se,ne)})}flattenNodes(Q){let te=[];return Q.forEach(se=>this._flattenNode(se,0,te,[])),te}expandFlattenedNodes(Q,te){let se=[],ge=[];return ge[0]=!0,Q.forEach(Ne=>{let Fe=!0;for(let ne=0;ne<=this.getLevel(Ne);ne++)Fe=Fe&&ge[ne];Fe&&se.push(Ne),this.isExpandable(Ne)&&(ge[this.getLevel(Ne)+1]=te.isExpanded(Ne))}),se}}class ae extends m.o2{constructor(Q,te,se){super(),this._treeControl=Q,this._treeFlattener=te,this._flattenedData=new A.X([]),this._expandedData=new A.X([]),this._data=new A.X([]),se&&(this.data=se)}get data(){return this._data.value}set data(Q){this._data.next(Q),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}connect(Q){return(0,s.T)(Q.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,O.U)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}class j extends m.o2{constructor(){super(...arguments),this._data=new A.X([])}get data(){return this._data.value}set data(Q){this._data.next(Q)}connect(Q){return(0,s.T)(Q.viewChange,this._data).pipe((0,O.U)(()=>this.data))}disconnect(){}}},76360:(Ke,be,d)=>{"use strict";d.d(be,{Qb:()=>ps,PW:()=>Un});var e=d(5e3),f=d(22313),g=d(41777);function T(){return"undefined"!=typeof window&&void 0!==window.document}function m(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function A(ot){switch(ot.length){case 0:return new g.ZN;case 1:return ot[0];default:return new g.ZE(ot)}}function s(ot,B,U,Se,nt={},ft={}){const q=[],De=[];let ie=-1,Ge=null;if(Se.forEach(bt=>{const Ft=bt.offset,jt=Ft==ie,ii=jt&&Ge||{};Object.keys(bt).forEach(ai=>{let hi=ai,mi=bt[ai];if("offset"!==ai)switch(hi=B.normalizePropertyName(hi,q),mi){case g.k1:mi=nt[ai];break;case g.l3:mi=ft[ai];break;default:mi=B.normalizeStyleValue(ai,hi,mi,q)}ii[hi]=mi}),jt||De.push(ii),Ge=ii,ie=Ft}),q.length){const bt="\n - ";throw new Error(`Unable to animate due to the following errors:${bt}${q.join(bt)}`)}return De}function b(ot,B,U,Se){switch(B){case"start":ot.onStart(()=>Se(U&&O(U,"start",ot)));break;case"done":ot.onDone(()=>Se(U&&O(U,"done",ot)));break;case"destroy":ot.onDestroy(()=>Se(U&&O(U,"destroy",ot)))}}function O(ot,B,U){const Se=U.totalTime,ft=E(ot.element,ot.triggerName,ot.fromState,ot.toState,B||ot.phaseName,null==Se?ot.totalTime:Se,!!U.disabled),q=ot._data;return null!=q&&(ft._data=q),ft}function E(ot,B,U,Se,nt="",ft=0,q){return{element:ot,triggerName:B,fromState:U,toState:Se,phaseName:nt,totalTime:ft,disabled:!!q}}function h(ot,B,U){let Se;return ot instanceof Map?(Se=ot.get(B),Se||ot.set(B,Se=U)):(Se=ot[B],Se||(Se=ot[B]=U)),Se}function k(ot){const B=ot.indexOf(":");return[ot.substring(1,B),ot.substr(B+1)]}let L=(ot,B)=>!1,V=(ot,B,U)=>[];(m()||"undefined"!=typeof Element)&&(L=T()?(ot,B)=>{for(;B&&B!==document.documentElement;){if(B===ot)return!0;B=B.parentNode||B.host}return!1}:(ot,B)=>ot.contains(B),V=(ot,B,U)=>{if(U)return Array.from(ot.querySelectorAll(B));const Se=ot.querySelector(B);return Se?[Se]:[]});let ce=null,Le=!1;function de(ot){ce||(ce=function ke(){return"undefined"!=typeof document?document.body:null}()||{},Le=!!ce.style&&"WebkitAppearance"in ce.style);let B=!0;return ce.style&&!function ue(ot){return"ebkit"==ot.substring(1,6)}(ot)&&(B=ot in ce.style,!B&&Le&&(B="Webkit"+ot.charAt(0).toUpperCase()+ot.substr(1)in ce.style)),B}const ae=L,j=V;let Q=(()=>{class ot{validateStyleProperty(U){return de(U)}matchesElement(U,Se){return!1}containsElement(U,Se){return ae(U,Se)}query(U,Se,nt){return j(U,Se,nt)}computeStyle(U,Se,nt){return nt||""}animate(U,Se,nt,ft,q,De=[],ie){return new g.ZN(nt,ft)}}return ot.\u0275fac=function(U){return new(U||ot)},ot.\u0275prov=e.Yz7({token:ot,factory:ot.\u0275fac}),ot})(),te=(()=>{class ot{}return ot.NOOP=new Q,ot})();const Fe="ng-enter",ne="ng-leave",Me="ng-trigger",ve=".ng-trigger",me="ng-animating",Te=".ng-animating";function ee(ot){if("number"==typeof ot)return ot;const B=ot.match(/^(-?[\.\d]+)(m?s)/);return!B||B.length<2?0:R(parseFloat(B[1]),B[2])}function R(ot,B){return"s"===B?1e3*ot:ot}function Oe(ot,B,U){return ot.hasOwnProperty("duration")?ot:function Ie(ot,B,U){let nt,ft=0,q="";if("string"==typeof ot){const De=ot.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===De)return B.push(`The provided timing value "${ot}" is invalid.`),{duration:0,delay:0,easing:""};nt=R(parseFloat(De[1]),De[2]);const ie=De[3];null!=ie&&(ft=R(parseFloat(ie),De[4]));const Ge=De[5];Ge&&(q=Ge)}else nt=ot;if(!U){let De=!1,ie=B.length;nt<0&&(B.push("Duration values below 0 are not allowed for this animation step."),De=!0),ft<0&&(B.push("Delay values below 0 are not allowed for this animation step."),De=!0),De&&B.splice(ie,0,`The provided timing value "${ot}" is invalid.`)}return{duration:nt,delay:ft,easing:q}}(ot,B,U)}function He(ot,B={}){return Object.keys(ot).forEach(U=>{B[U]=ot[U]}),B}function Ce(ot,B,U={}){if(B)for(let Se in ot)U[Se]=ot[Se];else He(ot,U);return U}function Ve(ot,B,U){return U?B+":"+U+";":""}function Xe(ot){let B="";for(let U=0;U{const nt=r(Se);U&&!U.hasOwnProperty(Se)&&(U[Se]=ot.style[nt]),ot.style[nt]=B[Se]}),m()&&Xe(ot))}function rt(ot,B){ot.style&&(Object.keys(B).forEach(U=>{const Se=r(U);ot.style[Se]=""}),m()&&Xe(ot))}function N(ot){return Array.isArray(ot)?1==ot.length?ot[0]:(0,g.vP)(ot):ot}const D=new RegExp("{{\\s*(.+?)\\s*}}","g");function S(ot){let B=[];if("string"==typeof ot){let U;for(;U=D.exec(ot);)B.push(U[1]);D.lastIndex=0}return B}function I(ot,B,U){const Se=ot.toString(),nt=Se.replace(D,(ft,q)=>{let De=B[q];return B.hasOwnProperty(q)||(U.push(`Please provide a value for the animation param ${q}`),De=""),De.toString()});return nt==Se?ot:nt}function P(ot){const B=[];let U=ot.next();for(;!U.done;)B.push(U.value),U=ot.next();return B}const i=/-+([a-z0-9])/g;function r(ot){return ot.replace(i,(...B)=>B[1].toUpperCase())}function p(ot){return ot.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function n(ot,B,U){switch(B.type){case 7:return ot.visitTrigger(B,U);case 0:return ot.visitState(B,U);case 1:return ot.visitTransition(B,U);case 2:return ot.visitSequence(B,U);case 3:return ot.visitGroup(B,U);case 4:return ot.visitAnimate(B,U);case 5:return ot.visitKeyframes(B,U);case 6:return ot.visitStyle(B,U);case 8:return ot.visitReference(B,U);case 9:return ot.visitAnimateChild(B,U);case 10:return ot.visitAnimateRef(B,U);case 11:return ot.visitQuery(B,U);case 12:return ot.visitStagger(B,U);default:throw new Error(`Unable to resolve animation metadata node #${B.type}`)}}function c(ot,B){return window.getComputedStyle(ot)[B]}const u="*";function y(ot,B){const U=[];return"string"==typeof ot?ot.split(/\s*,\s*/).forEach(Se=>function M(ot,B,U){if(":"==ot[0]){const ie=function re(ot,B){switch(ot){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(U,Se)=>parseFloat(Se)>parseFloat(U);case":decrement":return(U,Se)=>parseFloat(Se) *"}}(ot,U);if("function"==typeof ie)return void B.push(ie);ot=ie}const Se=ot.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==Se||Se.length<4)return U.push(`The provided transition expression "${ot}" is not supported`),B;const nt=Se[1],ft=Se[2],q=Se[3];B.push(pt(nt,q));"<"==ft[0]&&!(nt==u&&q==u)&&B.push(pt(q,nt))}(Se,U,B)):U.push(ot),U}const et=new Set(["true","1"]),yt=new Set(["false","0"]);function pt(ot,B){const U=et.has(ot)||yt.has(ot),Se=et.has(B)||yt.has(B);return(nt,ft)=>{let q=ot==u||ot==nt,De=B==u||B==ft;return!q&&U&&"boolean"==typeof nt&&(q=nt?et.has(ot):yt.has(ot)),!De&&Se&&"boolean"==typeof ft&&(De=ft?et.has(B):yt.has(B)),q&&De}}const It=new RegExp("s*:selfs*,?","g");function Zt(ot,B,U){return new Ht(ot).build(B,U)}class Ht{constructor(B){this._driver=B}build(B,U){const Se=new Lt(U);return this._resetContextStyleTimingState(Se),n(this,N(B),Se)}_resetContextStyleTimingState(B){B.currentQuerySelector="",B.collectedStyles={},B.collectedStyles[""]={},B.currentTime=0}visitTrigger(B,U){let Se=U.queryCount=0,nt=U.depCount=0;const ft=[],q=[];return"@"==B.name.charAt(0)&&U.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),B.definitions.forEach(De=>{if(this._resetContextStyleTimingState(U),0==De.type){const ie=De,Ge=ie.name;Ge.toString().split(/\s*,\s*/).forEach(bt=>{ie.name=bt,ft.push(this.visitState(ie,U))}),ie.name=Ge}else if(1==De.type){const ie=this.visitTransition(De,U);Se+=ie.queryCount,nt+=ie.depCount,q.push(ie)}else U.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:B.name,states:ft,transitions:q,queryCount:Se,depCount:nt,options:null}}visitState(B,U){const Se=this.visitStyle(B.styles,U),nt=B.options&&B.options.params||null;if(Se.containsDynamicStyles){const ft=new Set,q=nt||{};if(Se.styles.forEach(De=>{if(Rt(De)){const ie=De;Object.keys(ie).forEach(Ge=>{S(ie[Ge]).forEach(bt=>{q.hasOwnProperty(bt)||ft.add(bt)})})}}),ft.size){const De=P(ft.values());U.errors.push(`state("${B.name}", ...) must define default values for all the following style substitutions: ${De.join(", ")}`)}}return{type:0,name:B.name,style:Se,options:nt?{params:nt}:null}}visitTransition(B,U){U.queryCount=0,U.depCount=0;const Se=n(this,N(B.animation),U);return{type:1,matchers:y(B.expr,U.errors),animation:Se,queryCount:U.queryCount,depCount:U.depCount,options:Ye(B.options)}}visitSequence(B,U){return{type:2,steps:B.steps.map(Se=>n(this,Se,U)),options:Ye(B.options)}}visitGroup(B,U){const Se=U.currentTime;let nt=0;const ft=B.steps.map(q=>{U.currentTime=Se;const De=n(this,q,U);return nt=Math.max(nt,U.currentTime),De});return U.currentTime=nt,{type:3,steps:ft,options:Ye(B.options)}}visitAnimate(B,U){const Se=function qe(ot,B){let U=null;if(ot.hasOwnProperty("duration"))U=ot;else if("number"==typeof ot)return oe(Oe(ot,B).duration,0,"");const Se=ot;if(Se.split(/\s+/).some(ft=>"{"==ft.charAt(0)&&"{"==ft.charAt(1))){const ft=oe(0,0,"");return ft.dynamic=!0,ft.strValue=Se,ft}return U=U||Oe(Se,B),oe(U.duration,U.delay,U.easing)}(B.timings,U.errors);U.currentAnimateTimings=Se;let nt,ft=B.styles?B.styles:(0,g.oB)({});if(5==ft.type)nt=this.visitKeyframes(ft,U);else{let q=B.styles,De=!1;if(!q){De=!0;const Ge={};Se.easing&&(Ge.easing=Se.easing),q=(0,g.oB)(Ge)}U.currentTime+=Se.duration+Se.delay;const ie=this.visitStyle(q,U);ie.isEmptyStep=De,nt=ie}return U.currentAnimateTimings=null,{type:4,timings:Se,style:nt,options:null}}visitStyle(B,U){const Se=this._makeStyleAst(B,U);return this._validateStyleAst(Se,U),Se}_makeStyleAst(B,U){const Se=[];Array.isArray(B.styles)?B.styles.forEach(q=>{"string"==typeof q?q==g.l3?Se.push(q):U.errors.push(`The provided style string value ${q} is not allowed.`):Se.push(q)}):Se.push(B.styles);let nt=!1,ft=null;return Se.forEach(q=>{if(Rt(q)){const De=q,ie=De.easing;if(ie&&(ft=ie,delete De.easing),!nt)for(let Ge in De)if(De[Ge].toString().indexOf("{{")>=0){nt=!0;break}}}),{type:6,styles:Se,easing:ft,offset:B.offset,containsDynamicStyles:nt,options:null}}_validateStyleAst(B,U){const Se=U.currentAnimateTimings;let nt=U.currentTime,ft=U.currentTime;Se&&ft>0&&(ft-=Se.duration+Se.delay),B.styles.forEach(q=>{"string"!=typeof q&&Object.keys(q).forEach(De=>{if(!this._driver.validateStyleProperty(De))return void U.errors.push(`The provided animation property "${De}" is not a supported CSS property for animations`);const ie=U.collectedStyles[U.currentQuerySelector],Ge=ie[De];let bt=!0;Ge&&(ft!=nt&&ft>=Ge.startTime&&nt<=Ge.endTime&&(U.errors.push(`The CSS property "${De}" that exists between the times of "${Ge.startTime}ms" and "${Ge.endTime}ms" is also being animated in a parallel animation between the times of "${ft}ms" and "${nt}ms"`),bt=!1),ft=Ge.startTime),bt&&(ie[De]={startTime:ft,endTime:nt}),U.options&&function he(ot,B,U){const Se=B.params||{},nt=S(ot);nt.length&&nt.forEach(ft=>{Se.hasOwnProperty(ft)||U.push(`Unable to resolve the local animation param ${ft} in the given list of values`)})}(q[De],U.options,U.errors)})})}visitKeyframes(B,U){const Se={type:5,styles:[],options:null};if(!U.currentAnimateTimings)return U.errors.push("keyframes() must be placed inside of a call to animate()"),Se;let ft=0;const q=[];let De=!1,ie=!1,Ge=0;const bt=B.steps.map(yi=>{const xi=this._makeStyleAst(yi,U);let xe=null!=xi.offset?xi.offset:function ht(ot){if("string"==typeof ot)return null;let B=null;if(Array.isArray(ot))ot.forEach(U=>{if(Rt(U)&&U.hasOwnProperty("offset")){const Se=U;B=parseFloat(Se.offset),delete Se.offset}});else if(Rt(ot)&&ot.hasOwnProperty("offset")){const U=ot;B=parseFloat(U.offset),delete U.offset}return B}(xi.styles),Ee=0;return null!=xe&&(ft++,Ee=xi.offset=xe),ie=ie||Ee<0||Ee>1,De=De||Ee0&&ft{const xe=jt>0?xi==ii?1:jt*xi:q[xi],Ee=xe*mi;U.currentTime=ai+hi.delay+Ee,hi.duration=Ee,this._validateStyleAst(yi,U),yi.offset=xe,Se.styles.push(yi)}),Se}visitReference(B,U){return{type:8,animation:n(this,N(B.animation),U),options:Ye(B.options)}}visitAnimateChild(B,U){return U.depCount++,{type:9,options:Ye(B.options)}}visitAnimateRef(B,U){return{type:10,animation:this.visitReference(B.animation,U),options:Ye(B.options)}}visitQuery(B,U){const Se=U.currentQuerySelector,nt=B.options||{};U.queryCount++,U.currentQuery=B;const[ft,q]=function _t(ot){const B=!!ot.split(/\s*,\s*/).find(U=>":self"==U);return B&&(ot=ot.replace(It,"")),ot=ot.replace(/@\*/g,ve).replace(/@\w+/g,U=>ve+"-"+U.substr(1)).replace(/:animating/g,Te),[ot,B]}(B.selector);U.currentQuerySelector=Se.length?Se+" "+ft:ft,h(U.collectedStyles,U.currentQuerySelector,{});const De=n(this,N(B.animation),U);return U.currentQuery=null,U.currentQuerySelector=Se,{type:11,selector:ft,limit:nt.limit||0,optional:!!nt.optional,includeSelf:q,animation:De,originalSelector:B.selector,options:Ye(B.options)}}visitStagger(B,U){U.currentQuery||U.errors.push("stagger() can only be used inside of query()");const Se="full"===B.timings?{duration:0,delay:0,easing:"full"}:Oe(B.timings,U.errors,!0);return{type:12,animation:n(this,N(B.animation),U),timings:Se,options:null}}}class Lt{constructor(B){this.errors=B,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Rt(ot){return!Array.isArray(ot)&&"object"==typeof ot}function Ye(ot){return ot?(ot=He(ot)).params&&(ot.params=function Je(ot){return ot?He(ot):null}(ot.params)):ot={},ot}function oe(ot,B,U){return{duration:ot,delay:B,easing:U}}function Z(ot,B,U,Se,nt,ft,q=null,De=!1){return{type:1,element:ot,keyframes:B,preStyleProps:U,postStyleProps:Se,duration:nt,delay:ft,totalTime:nt+ft,easing:q,subTimeline:De}}class G{constructor(){this._map=new Map}get(B){return this._map.get(B)||[]}append(B,U){let Se=this._map.get(B);Se||this._map.set(B,Se=[]),Se.push(...U)}has(B){return this._map.has(B)}clear(){this._map.clear()}}const Ue=new RegExp(":enter","g"),Ut=new RegExp(":leave","g");function Vt(ot,B,U,Se,nt,ft={},q={},De,ie,Ge=[]){return(new Dt).buildKeyframes(ot,B,U,Se,nt,ft,q,De,ie,Ge)}class Dt{buildKeyframes(B,U,Se,nt,ft,q,De,ie,Ge,bt=[]){Ge=Ge||new G;const Ft=new At(B,U,Ge,nt,ft,bt,[]);Ft.options=ie,Ft.currentTimeline.setStyles([q],null,Ft.errors,ie),n(this,Se,Ft);const jt=Ft.timelines.filter(ii=>ii.containsAnimation());if(Object.keys(De).length){let ii;for(let ai=jt.length-1;ai>=0;ai--){const hi=jt[ai];if(hi.element===U){ii=hi;break}}ii&&!ii.allowOnlyTimelineStyles()&&ii.setStyles([De],null,Ft.errors,ie)}return jt.length?jt.map(ii=>ii.buildKeyframes()):[Z(U,[],[],[],0,0,"",!1)]}visitTrigger(B,U){}visitState(B,U){}visitTransition(B,U){}visitAnimateChild(B,U){const Se=U.subInstructions.get(U.element);if(Se){const nt=U.createSubContext(B.options),ft=U.currentTimeline.currentTime,q=this._visitSubInstructions(Se,nt,nt.options);ft!=q&&U.transformIntoNewTimeline(q)}U.previousNode=B}visitAnimateRef(B,U){const Se=U.createSubContext(B.options);Se.transformIntoNewTimeline(),this.visitReference(B.animation,Se),U.transformIntoNewTimeline(Se.currentTimeline.currentTime),U.previousNode=B}_visitSubInstructions(B,U,Se){let ft=U.currentTimeline.currentTime;const q=null!=Se.duration?ee(Se.duration):null,De=null!=Se.delay?ee(Se.delay):null;return 0!==q&&B.forEach(ie=>{const Ge=U.appendInstructionToTimeline(ie,q,De);ft=Math.max(ft,Ge.duration+Ge.delay)}),ft}visitReference(B,U){U.updateOptions(B.options,!0),n(this,B.animation,U),U.previousNode=B}visitSequence(B,U){const Se=U.subContextCount;let nt=U;const ft=B.options;if(ft&&(ft.params||ft.delay)&&(nt=U.createSubContext(ft),nt.transformIntoNewTimeline(),null!=ft.delay)){6==nt.previousNode.type&&(nt.currentTimeline.snapshotCurrentStyles(),nt.previousNode=Et);const q=ee(ft.delay);nt.delayNextStep(q)}B.steps.length&&(B.steps.forEach(q=>n(this,q,nt)),nt.currentTimeline.applyStylesToKeyframe(),nt.subContextCount>Se&&nt.transformIntoNewTimeline()),U.previousNode=B}visitGroup(B,U){const Se=[];let nt=U.currentTimeline.currentTime;const ft=B.options&&B.options.delay?ee(B.options.delay):0;B.steps.forEach(q=>{const De=U.createSubContext(B.options);ft&&De.delayNextStep(ft),n(this,q,De),nt=Math.max(nt,De.currentTimeline.currentTime),Se.push(De.currentTimeline)}),Se.forEach(q=>U.currentTimeline.mergeTimelineCollectedStyles(q)),U.transformIntoNewTimeline(nt),U.previousNode=B}_visitTiming(B,U){if(B.dynamic){const Se=B.strValue;return Oe(U.params?I(Se,U.params,U.errors):Se,U.errors)}return{duration:B.duration,delay:B.delay,easing:B.easing}}visitAnimate(B,U){const Se=U.currentAnimateTimings=this._visitTiming(B.timings,U),nt=U.currentTimeline;Se.delay&&(U.incrementTime(Se.delay),nt.snapshotCurrentStyles());const ft=B.style;5==ft.type?this.visitKeyframes(ft,U):(U.incrementTime(Se.duration),this.visitStyle(ft,U),nt.applyStylesToKeyframe()),U.currentAnimateTimings=null,U.previousNode=B}visitStyle(B,U){const Se=U.currentTimeline,nt=U.currentAnimateTimings;!nt&&Se.getCurrentStyleProperties().length&&Se.forwardFrame();const ft=nt&&nt.easing||B.easing;B.isEmptyStep?Se.applyEmptyStep(ft):Se.setStyles(B.styles,ft,U.errors,U.options),U.previousNode=B}visitKeyframes(B,U){const Se=U.currentAnimateTimings,nt=U.currentTimeline.duration,ft=Se.duration,De=U.createSubContext().currentTimeline;De.easing=Se.easing,B.styles.forEach(ie=>{De.forwardTime((ie.offset||0)*ft),De.setStyles(ie.styles,ie.easing,U.errors,U.options),De.applyStylesToKeyframe()}),U.currentTimeline.mergeTimelineCollectedStyles(De),U.transformIntoNewTimeline(nt+ft),U.previousNode=B}visitQuery(B,U){const Se=U.currentTimeline.currentTime,nt=B.options||{},ft=nt.delay?ee(nt.delay):0;ft&&(6===U.previousNode.type||0==Se&&U.currentTimeline.getCurrentStyleProperties().length)&&(U.currentTimeline.snapshotCurrentStyles(),U.previousNode=Et);let q=Se;const De=U.invokeQuery(B.selector,B.originalSelector,B.limit,B.includeSelf,!!nt.optional,U.errors);U.currentQueryTotal=De.length;let ie=null;De.forEach((Ge,bt)=>{U.currentQueryIndex=bt;const Ft=U.createSubContext(B.options,Ge);ft&&Ft.delayNextStep(ft),Ge===U.element&&(ie=Ft.currentTimeline),n(this,B.animation,Ft),Ft.currentTimeline.applyStylesToKeyframe(),q=Math.max(q,Ft.currentTimeline.currentTime)}),U.currentQueryIndex=0,U.currentQueryTotal=0,U.transformIntoNewTimeline(q),ie&&(U.currentTimeline.mergeTimelineCollectedStyles(ie),U.currentTimeline.snapshotCurrentStyles()),U.previousNode=B}visitStagger(B,U){const Se=U.parentContext,nt=U.currentTimeline,ft=B.timings,q=Math.abs(ft.duration),De=q*(U.currentQueryTotal-1);let ie=q*U.currentQueryIndex;switch(ft.duration<0?"reverse":ft.easing){case"reverse":ie=De-ie;break;case"full":ie=Se.currentStaggerTime}const bt=U.currentTimeline;ie&&bt.delayNextStep(ie);const Ft=bt.currentTime;n(this,B.animation,U),U.previousNode=B,Se.currentStaggerTime=nt.currentTime-Ft+(nt.startTime-Se.currentTimeline.startTime)}}const Et={};class At{constructor(B,U,Se,nt,ft,q,De,ie){this._driver=B,this.element=U,this.subInstructions=Se,this._enterClassName=nt,this._leaveClassName=ft,this.errors=q,this.timelines=De,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Et,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ie||new Ot(this._driver,U,0),De.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(B,U){if(!B)return;const Se=B;let nt=this.options;null!=Se.duration&&(nt.duration=ee(Se.duration)),null!=Se.delay&&(nt.delay=ee(Se.delay));const ft=Se.params;if(ft){let q=nt.params;q||(q=this.options.params={}),Object.keys(ft).forEach(De=>{(!U||!q.hasOwnProperty(De))&&(q[De]=I(ft[De],q,this.errors))})}}_copyOptions(){const B={};if(this.options){const U=this.options.params;if(U){const Se=B.params={};Object.keys(U).forEach(nt=>{Se[nt]=U[nt]})}}return B}createSubContext(B=null,U,Se){const nt=U||this.element,ft=new At(this._driver,nt,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(nt,Se||0));return ft.previousNode=this.previousNode,ft.currentAnimateTimings=this.currentAnimateTimings,ft.options=this._copyOptions(),ft.updateOptions(B),ft.currentQueryIndex=this.currentQueryIndex,ft.currentQueryTotal=this.currentQueryTotal,ft.parentContext=this,this.subContextCount++,ft}transformIntoNewTimeline(B){return this.previousNode=Et,this.currentTimeline=this.currentTimeline.fork(this.element,B),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(B,U,Se){const nt={duration:null!=U?U:B.duration,delay:this.currentTimeline.currentTime+(null!=Se?Se:0)+B.delay,easing:""},ft=new Kt(this._driver,B.element,B.keyframes,B.preStyleProps,B.postStyleProps,nt,B.stretchStartingKeyframe);return this.timelines.push(ft),nt}incrementTime(B){this.currentTimeline.forwardTime(this.currentTimeline.duration+B)}delayNextStep(B){B>0&&this.currentTimeline.delayNextStep(B)}invokeQuery(B,U,Se,nt,ft,q){let De=[];if(nt&&De.push(this.element),B.length>0){B=(B=B.replace(Ue,"."+this._enterClassName)).replace(Ut,"."+this._leaveClassName);let Ge=this._driver.query(this.element,B,1!=Se);0!==Se&&(Ge=Se<0?Ge.slice(Ge.length+Se,Ge.length):Ge.slice(0,Se)),De.push(...Ge)}return!ft&&0==De.length&&q.push(`\`query("${U}")\` returned zero elements. (Use \`query("${U}", { optional: true })\` if you wish to allow this.)`),De}}class Ot{constructor(B,U,Se,nt){this._driver=B,this.element=U,this.startTime=Se,this._elementTimelineStylesLookup=nt,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(U),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(U,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(B){const U=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||U?(this.forwardTime(this.currentTime+B),U&&this.snapshotCurrentStyles()):this.startTime+=B}fork(B,U){return this.applyStylesToKeyframe(),new Ot(this._driver,B,U||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(B){this.applyStylesToKeyframe(),this.duration=B,this._loadKeyframe()}_updateStyle(B,U){this._localTimelineStyles[B]=U,this._globalTimelineStyles[B]=U,this._styleSummary[B]={time:this.currentTime,value:U}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(B){B&&(this._previousKeyframe.easing=B),Object.keys(this._globalTimelineStyles).forEach(U=>{this._backFill[U]=this._globalTimelineStyles[U]||g.l3,this._currentKeyframe[U]=g.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(B,U,Se,nt){U&&(this._previousKeyframe.easing=U);const ft=nt&&nt.params||{},q=function fi(ot,B){const U={};let Se;return ot.forEach(nt=>{"*"===nt?(Se=Se||Object.keys(B),Se.forEach(ft=>{U[ft]=g.l3})):Ce(nt,!1,U)}),U}(B,this._globalTimelineStyles);Object.keys(q).forEach(De=>{const ie=I(q[De],ft,Se);this._pendingStyles[De]=ie,this._localTimelineStyles.hasOwnProperty(De)||(this._backFill[De]=this._globalTimelineStyles.hasOwnProperty(De)?this._globalTimelineStyles[De]:g.l3),this._updateStyle(De,ie)})}applyStylesToKeyframe(){const B=this._pendingStyles,U=Object.keys(B);0!=U.length&&(this._pendingStyles={},U.forEach(Se=>{this._currentKeyframe[Se]=B[Se]}),Object.keys(this._localTimelineStyles).forEach(Se=>{this._currentKeyframe.hasOwnProperty(Se)||(this._currentKeyframe[Se]=this._localTimelineStyles[Se])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(B=>{const U=this._localTimelineStyles[B];this._pendingStyles[B]=U,this._updateStyle(B,U)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const B=[];for(let U in this._currentKeyframe)B.push(U);return B}mergeTimelineCollectedStyles(B){Object.keys(B._styleSummary).forEach(U=>{const Se=this._styleSummary[U],nt=B._styleSummary[U];(!Se||nt.time>Se.time)&&this._updateStyle(U,nt.value)})}buildKeyframes(){this.applyStylesToKeyframe();const B=new Set,U=new Set,Se=1===this._keyframes.size&&0===this.duration;let nt=[];this._keyframes.forEach((De,ie)=>{const Ge=Ce(De,!0);Object.keys(Ge).forEach(bt=>{const Ft=Ge[bt];Ft==g.k1?B.add(bt):Ft==g.l3&&U.add(bt)}),Se||(Ge.offset=ie/this.duration),nt.push(Ge)});const ft=B.size?P(B.values()):[],q=U.size?P(U.values()):[];if(Se){const De=nt[0],ie=He(De);De.offset=0,ie.offset=1,nt=[De,ie]}return Z(this.element,nt,ft,q,this.duration,this.startTime,this.easing,!1)}}class Kt extends Ot{constructor(B,U,Se,nt,ft,q,De=!1){super(B,U,q.delay),this.keyframes=Se,this.preStyleProps=nt,this.postStyleProps=ft,this._stretchStartingKeyframe=De,this.timings={duration:q.duration,delay:q.delay,easing:q.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let B=this.keyframes,{delay:U,duration:Se,easing:nt}=this.timings;if(this._stretchStartingKeyframe&&U){const ft=[],q=Se+U,De=U/q,ie=Ce(B[0],!1);ie.offset=0,ft.push(ie);const Ge=Ce(B[0],!1);Ge.offset=li(De),ft.push(Ge);const bt=B.length-1;for(let Ft=1;Ft<=bt;Ft++){let jt=Ce(B[Ft],!1);jt.offset=li((U+jt.offset*Se)/q),ft.push(jt)}Se=q,U=0,nt="",B=ft}return Z(this.element,B,this.preStyleProps,this.postStyleProps,Se,U,nt,!0)}}function li(ot,B=3){const U=Math.pow(10,B-1);return Math.round(ot*U)/U}class Si{}class nn extends Si{normalizePropertyName(B,U){return r(B)}normalizeStyleValue(B,U,Se,nt){let ft="";const q=Se.toString().trim();if($i[U]&&0!==Se&&"0"!==Se)if("number"==typeof Se)ft="px";else{const De=Se.match(/^[+-]?[\d\.]+([a-z]*)$/);De&&0==De[1].length&&nt.push(`Please provide a CSS unit value for ${B}:${Se}`)}return q+ft}}const $i=(()=>function Yi(ot){const B={};return ot.forEach(U=>B[U]=!0),B}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function bn(ot,B,U,Se,nt,ft,q,De,ie,Ge,bt,Ft,jt){return{type:0,element:ot,triggerName:B,isRemovalTransition:nt,fromState:U,fromStyles:ft,toState:Se,toStyles:q,timelines:De,queriedElements:ie,preStyleProps:Ge,postStyleProps:bt,totalTime:Ft,errors:jt}}const Qi={};class We{constructor(B,U,Se){this._triggerName=B,this.ast=U,this._stateStyles=Se}match(B,U,Se,nt){return function Tt(ot,B,U,Se,nt){return ot.some(ft=>ft(B,U,Se,nt))}(this.ast.matchers,B,U,Se,nt)}buildStyles(B,U,Se){const nt=this._stateStyles["*"],ft=this._stateStyles[B],q=nt?nt.buildStyles(U,Se):{};return ft?ft.buildStyles(U,Se):q}build(B,U,Se,nt,ft,q,De,ie,Ge,bt){const Ft=[],jt=this.ast.options&&this.ast.options.params||Qi,ai=this.buildStyles(Se,De&&De.params||Qi,Ft),hi=ie&&ie.params||Qi,mi=this.buildStyles(nt,hi,Ft),yi=new Set,xi=new Map,xe=new Map,Ee="void"===nt,ye={params:Object.assign(Object.assign({},jt),hi)},st=bt?[]:Vt(B,U,this.ast.animation,ft,q,ai,mi,ye,Ge,Ft);let Bt=0;if(st.forEach(Bi=>{Bt=Math.max(Bi.duration+Bi.delay,Bt)}),Ft.length)return bn(U,this._triggerName,Se,nt,Ee,ai,mi,[],[],xi,xe,Bt,Ft);st.forEach(Bi=>{const ln=Bi.element,On=h(xi,ln,{});Bi.preStyleProps.forEach(zn=>On[zn]=!0);const Kn=h(xe,ln,{});Bi.postStyleProps.forEach(zn=>Kn[zn]=!0),ln!==U&&yi.add(ln)});const ci=P(yi.values());return bn(U,this._triggerName,Se,nt,Ee,ai,mi,st,ci,xi,xe,Bt)}}class Qe{constructor(B,U,Se){this.styles=B,this.defaultParams=U,this.normalizer=Se}buildStyles(B,U){const Se={},nt=He(this.defaultParams);return Object.keys(B).forEach(ft=>{const q=B[ft];null!=q&&(nt[ft]=q)}),this.styles.styles.forEach(ft=>{if("string"!=typeof ft){const q=ft;Object.keys(q).forEach(De=>{let ie=q[De];ie.length>1&&(ie=I(ie,nt,U));const Ge=this.normalizer.normalizePropertyName(De,U);ie=this.normalizer.normalizeStyleValue(De,Ge,ie,U),Se[Ge]=ie})}}),Se}}class gt{constructor(B,U,Se){this.name=B,this.ast=U,this._normalizer=Se,this.transitionFactories=[],this.states={},U.states.forEach(nt=>{this.states[nt.name]=new Qe(nt.style,nt.options&&nt.options.params||{},Se)}),Be(this.states,"true","1"),Be(this.states,"false","0"),U.transitions.forEach(nt=>{this.transitionFactories.push(new We(B,nt,this.states))}),this.fallbackTransition=function F(ot,B,U){return new We(ot,{type:1,animation:{type:2,steps:[],options:null},matchers:[(q,De)=>!0],options:null,queryCount:0,depCount:0},B)}(B,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(B,U,Se,nt){return this.transitionFactories.find(q=>q.match(B,U,Se,nt))||null}matchStyles(B,U,Se){return this.fallbackTransition.buildStyles(B,U,Se)}}function Be(ot,B,U){ot.hasOwnProperty(B)?ot.hasOwnProperty(U)||(ot[U]=ot[B]):ot.hasOwnProperty(U)&&(ot[B]=ot[U])}const ut=new G;class Mt{constructor(B,U,Se){this.bodyNode=B,this._driver=U,this._normalizer=Se,this._animations={},this._playersById={},this.players=[]}register(B,U){const Se=[],nt=Zt(this._driver,U,Se);if(Se.length)throw new Error(`Unable to build the animation due to the following errors: ${Se.join("\n")}`);this._animations[B]=nt}_buildPlayer(B,U,Se){const nt=B.element,ft=s(0,this._normalizer,0,B.keyframes,U,Se);return this._driver.animate(nt,ft,B.duration,B.delay,B.easing,[],!0)}create(B,U,Se={}){const nt=[],ft=this._animations[B];let q;const De=new Map;if(ft?(q=Vt(this._driver,U,ft,Fe,ne,{},{},Se,ut,nt),q.forEach(bt=>{const Ft=h(De,bt.element,{});bt.postStyleProps.forEach(jt=>Ft[jt]=null)})):(nt.push("The requested animation doesn't exist or has already been destroyed"),q=[]),nt.length)throw new Error(`Unable to create the animation due to the following errors: ${nt.join("\n")}`);De.forEach((bt,Ft)=>{Object.keys(bt).forEach(jt=>{bt[jt]=this._driver.computeStyle(Ft,jt,g.l3)})});const Ge=A(q.map(bt=>{const Ft=De.get(bt.element);return this._buildPlayer(bt,{},Ft)}));return this._playersById[B]=Ge,Ge.onDestroy(()=>this.destroy(B)),this.players.push(Ge),Ge}destroy(B){const U=this._getPlayer(B);U.destroy(),delete this._playersById[B];const Se=this.players.indexOf(U);Se>=0&&this.players.splice(Se,1)}_getPlayer(B){const U=this._playersById[B];if(!U)throw new Error(`Unable to find the timeline player referenced by ${B}`);return U}listen(B,U,Se,nt){const ft=E(U,"","","");return b(this._getPlayer(B),Se,ft,nt),()=>{}}command(B,U,Se,nt){if("register"==Se)return void this.register(B,nt[0]);if("create"==Se)return void this.create(B,U,nt[0]||{});const ft=this._getPlayer(B);switch(Se){case"play":ft.play();break;case"pause":ft.pause();break;case"reset":ft.reset();break;case"restart":ft.restart();break;case"finish":ft.finish();break;case"init":ft.init();break;case"setPosition":ft.setPosition(parseFloat(nt[0]));break;case"destroy":this.destroy(B)}}}const ei="ng-animate-queued",Ri="ng-animate-disabled",Ni=[],Hi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},pn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Pi="__ng_removed";class Ti{constructor(B,U=""){this.namespaceId=U;const Se=B&&B.hasOwnProperty("value");if(this.value=function Y(ot){return null!=ot?ot:null}(Se?B.value:B),Se){const ft=He(B);delete ft.value,this.options=ft}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(B){const U=B.params;if(U){const Se=this.options.params;Object.keys(U).forEach(nt=>{null==Se[nt]&&(Se[nt]=U[nt])})}}}const Ui="void",fn=new Ti(Ui);class sn{constructor(B,U,Se){this.id=B,this.hostElement=U,this._engine=Se,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+B,di(U,this._hostClassName)}listen(B,U,Se,nt){if(!this._triggers.hasOwnProperty(U))throw new Error(`Unable to listen on the animation trigger event "${Se}" because the animation trigger "${U}" doesn't exist!`);if(null==Se||0==Se.length)throw new Error(`Unable to listen on the animation trigger "${U}" because the provided event is undefined!`);if(!function we(ot){return"start"==ot||"done"==ot}(Se))throw new Error(`The provided animation trigger event "${Se}" for the animation trigger "${U}" is not supported!`);const ft=h(this._elementListeners,B,[]),q={name:U,phase:Se,callback:nt};ft.push(q);const De=h(this._engine.statesByElement,B,{});return De.hasOwnProperty(U)||(di(B,Me),di(B,Me+"-"+U),De[U]=fn),()=>{this._engine.afterFlush(()=>{const ie=ft.indexOf(q);ie>=0&&ft.splice(ie,1),this._triggers[U]||delete De[U]})}}register(B,U){return!this._triggers[B]&&(this._triggers[B]=U,!0)}_getTrigger(B){const U=this._triggers[B];if(!U)throw new Error(`The provided animation trigger "${B}" has not been registered!`);return U}trigger(B,U,Se,nt=!0){const ft=this._getTrigger(U),q=new Ct(this.id,U,B);let De=this._engine.statesByElement.get(B);De||(di(B,Me),di(B,Me+"-"+U),this._engine.statesByElement.set(B,De={}));let ie=De[U];const Ge=new Ti(Se,this.id);if(!(Se&&Se.hasOwnProperty("value"))&&ie&&Ge.absorbOptions(ie.options),De[U]=Ge,ie||(ie=fn),Ge.value!==Ui&&ie.value===Ge.value){if(!function Wi(ot,B){const U=Object.keys(ot),Se=Object.keys(B);if(U.length!=Se.length)return!1;for(let nt=0;nt{rt(B,mi),tt(B,yi)})}return}const jt=h(this._engine.playersByElement,B,[]);jt.forEach(hi=>{hi.namespaceId==this.id&&hi.triggerName==U&&hi.queued&&hi.destroy()});let ii=ft.matchTransition(ie.value,Ge.value,B,Ge.params),ai=!1;if(!ii){if(!nt)return;ii=ft.fallbackTransition,ai=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:U,transition:ii,fromState:ie,toState:Ge,player:q,isFallbackTransition:ai}),ai||(di(B,ei),q.onStart(()=>{Oi(B,ei)})),q.onDone(()=>{let hi=this.players.indexOf(q);hi>=0&&this.players.splice(hi,1);const mi=this._engine.playersByElement.get(B);if(mi){let yi=mi.indexOf(q);yi>=0&&mi.splice(yi,1)}}),this.players.push(q),jt.push(q),q}deregister(B){delete this._triggers[B],this._engine.statesByElement.forEach((U,Se)=>{delete U[B]}),this._elementListeners.forEach((U,Se)=>{this._elementListeners.set(Se,U.filter(nt=>nt.name!=B))})}clearElementCache(B){this._engine.statesByElement.delete(B),this._elementListeners.delete(B);const U=this._engine.playersByElement.get(B);U&&(U.forEach(Se=>Se.destroy()),this._engine.playersByElement.delete(B))}_signalRemovalForInnerTriggers(B,U){const Se=this._engine.driver.query(B,ve,!0);Se.forEach(nt=>{if(nt[Pi])return;const ft=this._engine.fetchNamespacesByElement(nt);ft.size?ft.forEach(q=>q.triggerLeaveAnimation(nt,U,!1,!0)):this.clearElementCache(nt)}),this._engine.afterFlushAnimationsDone(()=>Se.forEach(nt=>this.clearElementCache(nt)))}triggerLeaveAnimation(B,U,Se,nt){const ft=this._engine.statesByElement.get(B),q=new Map;if(ft){const De=[];if(Object.keys(ft).forEach(ie=>{if(q.set(ie,ft[ie].value),this._triggers[ie]){const Ge=this.trigger(B,ie,Ui,nt);Ge&&De.push(Ge)}}),De.length)return this._engine.markElementAsRemoved(this.id,B,!0,U,q),Se&&A(De).onDone(()=>this._engine.processLeaveNode(B)),!0}return!1}prepareLeaveAnimationListeners(B){const U=this._elementListeners.get(B),Se=this._engine.statesByElement.get(B);if(U&&Se){const nt=new Set;U.forEach(ft=>{const q=ft.name;if(nt.has(q))return;nt.add(q);const ie=this._triggers[q].fallbackTransition,Ge=Se[q]||fn,bt=new Ti(Ui),Ft=new Ct(this.id,q,B);this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:q,transition:ie,fromState:Ge,toState:bt,player:Ft,isFallbackTransition:!0})})}}removeNode(B,U){const Se=this._engine;if(B.childElementCount&&this._signalRemovalForInnerTriggers(B,U),this.triggerLeaveAnimation(B,U,!0))return;let nt=!1;if(Se.totalAnimations){const ft=Se.players.length?Se.playersByQueriedElement.get(B):[];if(ft&&ft.length)nt=!0;else{let q=B;for(;q=q.parentNode;)if(Se.statesByElement.get(q)){nt=!0;break}}}if(this.prepareLeaveAnimationListeners(B),nt)Se.markElementAsRemoved(this.id,B,!1,U);else{const ft=B[Pi];(!ft||ft===Hi)&&(Se.afterFlush(()=>this.clearElementCache(B)),Se.destroyInnerAnimations(B),Se._onRemovalComplete(B,U))}}insertNode(B,U){di(B,this._hostClassName)}drainQueuedTransitions(B){const U=[];return this._queue.forEach(Se=>{const nt=Se.player;if(nt.destroyed)return;const ft=Se.element,q=this._elementListeners.get(ft);q&&q.forEach(De=>{if(De.name==Se.triggerName){const ie=E(ft,Se.triggerName,Se.fromState.value,Se.toState.value);ie._data=B,b(Se.player,De.phase,ie,De.callback)}}),nt.markedForDestroy?this._engine.afterFlush(()=>{nt.destroy()}):U.push(Se)}),this._queue=[],U.sort((Se,nt)=>{const ft=Se.transition.ast.depCount,q=nt.transition.ast.depCount;return 0==ft||0==q?ft-q:this._engine.driver.containsElement(Se.element,nt.element)?1:-1})}destroy(B){this.players.forEach(U=>U.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,B)}elementContainsData(B){let U=!1;return this._elementListeners.has(B)&&(U=!0),U=!!this._queue.find(Se=>Se.element===B)||U,U}}class qi{constructor(B,U,Se){this.bodyNode=B,this.driver=U,this._normalizer=Se,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(nt,ft)=>{}}_onRemovalComplete(B,U){this.onRemovalComplete(B,U)}get queuedPlayers(){const B=[];return this._namespaceList.forEach(U=>{U.players.forEach(Se=>{Se.queued&&B.push(Se)})}),B}createNamespace(B,U){const Se=new sn(B,U,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,U)?this._balanceNamespaceList(Se,U):(this.newHostElements.set(U,Se),this.collectEnterElement(U)),this._namespaceLookup[B]=Se}_balanceNamespaceList(B,U){const Se=this._namespaceList.length-1;if(Se>=0){let nt=!1;for(let ft=Se;ft>=0;ft--)if(this.driver.containsElement(this._namespaceList[ft].hostElement,U)){this._namespaceList.splice(ft+1,0,B),nt=!0;break}nt||this._namespaceList.splice(0,0,B)}else this._namespaceList.push(B);return this.namespacesByHostElement.set(U,B),B}register(B,U){let Se=this._namespaceLookup[B];return Se||(Se=this.createNamespace(B,U)),Se}registerTrigger(B,U,Se){let nt=this._namespaceLookup[B];nt&&nt.register(U,Se)&&this.totalAnimations++}destroy(B,U){if(!B)return;const Se=this._fetchNamespace(B);this.afterFlush(()=>{this.namespacesByHostElement.delete(Se.hostElement),delete this._namespaceLookup[B];const nt=this._namespaceList.indexOf(Se);nt>=0&&this._namespaceList.splice(nt,1)}),this.afterFlushAnimationsDone(()=>Se.destroy(U))}_fetchNamespace(B){return this._namespaceLookup[B]}fetchNamespacesByElement(B){const U=new Set,Se=this.statesByElement.get(B);if(Se){const nt=Object.keys(Se);for(let ft=0;ft=0&&this.collectedLeaveElements.splice(q,1)}if(B){const q=this._fetchNamespace(B);q&&q.insertNode(U,Se)}nt&&this.collectEnterElement(U)}collectEnterElement(B){this.collectedEnterElements.push(B)}markElementAsDisabled(B,U){U?this.disabledNodes.has(B)||(this.disabledNodes.add(B),di(B,Ri)):this.disabledNodes.has(B)&&(this.disabledNodes.delete(B),Oi(B,Ri))}removeNode(B,U,Se,nt){if(lt(U)){const ft=B?this._fetchNamespace(B):null;if(ft?ft.removeNode(U,nt):this.markElementAsRemoved(B,U,!1,nt),Se){const q=this.namespacesByHostElement.get(U);q&&q.id!==B&&q.removeNode(U,nt)}}else this._onRemovalComplete(U,nt)}markElementAsRemoved(B,U,Se,nt,ft){this.collectedLeaveElements.push(U),U[Pi]={namespaceId:B,setForRemoval:nt,hasAnimation:Se,removedBeforeQueried:!1,previousTriggersValues:ft}}listen(B,U,Se,nt,ft){return lt(U)?this._fetchNamespace(B).listen(U,Se,nt,ft):()=>{}}_buildInstruction(B,U,Se,nt,ft){return B.transition.build(this.driver,B.element,B.fromState.value,B.toState.value,Se,nt,B.fromState.options,B.toState.options,U,ft)}destroyInnerAnimations(B){let U=this.driver.query(B,ve,!0);U.forEach(Se=>this.destroyActiveAnimationsForElement(Se)),0!=this.playersByQueriedElement.size&&(U=this.driver.query(B,Te,!0),U.forEach(Se=>this.finishActiveQueriedAnimationOnElement(Se)))}destroyActiveAnimationsForElement(B){const U=this.playersByElement.get(B);U&&U.forEach(Se=>{Se.queued?Se.markedForDestroy=!0:Se.destroy()})}finishActiveQueriedAnimationOnElement(B){const U=this.playersByQueriedElement.get(B);U&&U.forEach(Se=>Se.finish())}whenRenderingDone(){return new Promise(B=>{if(this.players.length)return A(this.players).onDone(()=>B());B()})}processLeaveNode(B){var U;const Se=B[Pi];if(Se&&Se.setForRemoval){if(B[Pi]=Hi,Se.namespaceId){this.destroyInnerAnimations(B);const nt=this._fetchNamespace(Se.namespaceId);nt&&nt.clearElementCache(B)}this._onRemovalComplete(B,Se.setForRemoval)}(null===(U=B.classList)||void 0===U?void 0:U.contains(Ri))&&this.markElementAsDisabled(B,!1),this.driver.query(B,".ng-animate-disabled",!0).forEach(nt=>{this.markElementAsDisabled(nt,!1)})}flush(B=-1){let U=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Se,nt)=>this._balanceNamespaceList(Se,nt)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Se=0;SeSe()),this._flushFns=[],this._whenQuietFns.length){const Se=this._whenQuietFns;this._whenQuietFns=[],U.length?A(U).onDone(()=>{Se.forEach(nt=>nt())}):Se.forEach(nt=>nt())}}reportError(B){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${B.join("\n")}`)}_flushAnimations(B,U){const Se=new G,nt=[],ft=new Map,q=[],De=new Map,ie=new Map,Ge=new Map,bt=new Set;this.disabledNodes.forEach(si=>{bt.add(si);const vi=this.driver.query(si,".ng-animate-queued",!0);for(let gi=0;gi{const gi=Fe+hi++;ai.set(vi,gi),si.forEach(Fi=>di(Fi,gi))});const mi=[],yi=new Set,xi=new Set;for(let si=0;siyi.add(Fi)):xi.add(vi))}const xe=new Map,Ee=Jt(jt,Array.from(yi));Ee.forEach((si,vi)=>{const gi=ne+hi++;xe.set(vi,gi),si.forEach(Fi=>di(Fi,gi))}),B.push(()=>{ii.forEach((si,vi)=>{const gi=ai.get(vi);si.forEach(Fi=>Oi(Fi,gi))}),Ee.forEach((si,vi)=>{const gi=xe.get(vi);si.forEach(Fi=>Oi(Fi,gi))}),mi.forEach(si=>{this.processLeaveNode(si)})});const ye=[],st=[];for(let si=this._namespaceList.length-1;si>=0;si--)this._namespaceList[si].drainQueuedTransitions(U).forEach(gi=>{const Fi=gi.player,un=gi.element;if(ye.push(Fi),this.collectedEnterElements.length){const yn=un[Pi];if(yn&&yn.setForMove){if(yn.previousTriggersValues&&yn.previousTriggersValues.has(gi.triggerName)){const hn=yn.previousTriggersValues.get(gi.triggerName),Tn=this.statesByElement.get(gi.element);Tn&&Tn[gi.triggerName]&&(Tn[gi.triggerName].value=hn)}return void Fi.destroy()}}const An=!Ft||!this.driver.containsElement(Ft,un),Dn=xe.get(un),Vn=ai.get(un),dn=this._buildInstruction(gi,Se,Vn,Dn,An);if(dn.errors&&dn.errors.length)return void st.push(dn);if(An)return Fi.onStart(()=>rt(un,dn.fromStyles)),Fi.onDestroy(()=>tt(un,dn.toStyles)),void nt.push(Fi);if(gi.isFallbackTransition)return Fi.onStart(()=>rt(un,dn.fromStyles)),Fi.onDestroy(()=>tt(un,dn.toStyles)),void nt.push(Fi);const io=[];dn.timelines.forEach(yn=>{yn.stretchStartingKeyframe=!0,this.disabledNodes.has(yn.element)||io.push(yn)}),dn.timelines=io,Se.append(un,dn.timelines),q.push({instruction:dn,player:Fi,element:un}),dn.queriedElements.forEach(yn=>h(De,yn,[]).push(Fi)),dn.preStyleProps.forEach((yn,hn)=>{const Tn=Object.keys(yn);if(Tn.length){let as=ie.get(hn);as||ie.set(hn,as=new Set),Tn.forEach(cs=>as.add(cs))}}),dn.postStyleProps.forEach((yn,hn)=>{const Tn=Object.keys(yn);let as=Ge.get(hn);as||Ge.set(hn,as=new Set),Tn.forEach(cs=>as.add(cs))})});if(st.length){const si=[];st.forEach(vi=>{si.push(`@${vi.triggerName} has failed due to:\n`),vi.errors.forEach(gi=>si.push(`- ${gi}\n`))}),ye.forEach(vi=>vi.destroy()),this.reportError(si)}const Bt=new Map,ci=new Map;q.forEach(si=>{const vi=si.element;Se.has(vi)&&(ci.set(vi,vi),this._beforeAnimationBuild(si.player.namespaceId,si.instruction,Bt))}),nt.forEach(si=>{const vi=si.element;this._getPreviousPlayers(vi,!1,si.namespaceId,si.triggerName,null).forEach(Fi=>{h(Bt,vi,[]).push(Fi),Fi.destroy()})});const Bi=mi.filter(si=>$n(si,ie,Ge)),ln=new Map;zt(ln,this.driver,xi,Ge,g.l3).forEach(si=>{$n(si,ie,Ge)&&Bi.push(si)});const Kn=new Map;ii.forEach((si,vi)=>{zt(Kn,this.driver,new Set(si),ie,g.k1)}),Bi.forEach(si=>{const vi=ln.get(si),gi=Kn.get(si);ln.set(si,Object.assign(Object.assign({},vi),gi))});const zn=[],Ws=[],ti={};q.forEach(si=>{const{element:vi,player:gi,instruction:Fi}=si;if(Se.has(vi)){if(bt.has(vi))return gi.onDestroy(()=>tt(vi,Fi.toStyles)),gi.disabled=!0,gi.overrideTotalTime(Fi.totalTime),void nt.push(gi);let un=ti;if(ci.size>1){let Dn=vi;const Vn=[];for(;Dn=Dn.parentNode;){const dn=ci.get(Dn);if(dn){un=dn;break}Vn.push(Dn)}Vn.forEach(dn=>ci.set(dn,un))}const An=this._buildAnimation(gi.namespaceId,Fi,Bt,ft,Kn,ln);if(gi.setRealPlayer(An),un===ti)zn.push(gi);else{const Dn=this.playersByElement.get(un);Dn&&Dn.length&&(gi.parentPlayer=A(Dn)),nt.push(gi)}}else rt(vi,Fi.fromStyles),gi.onDestroy(()=>tt(vi,Fi.toStyles)),Ws.push(gi),bt.has(vi)&&nt.push(gi)}),Ws.forEach(si=>{const vi=ft.get(si.element);if(vi&&vi.length){const gi=A(vi);si.setRealPlayer(gi)}}),nt.forEach(si=>{si.parentPlayer?si.syncPlayerEvents(si.parentPlayer):si.destroy()});for(let si=0;si!An.destroyed);un.length?zi(this,vi,un):this.processLeaveNode(vi)}return mi.length=0,zn.forEach(si=>{this.players.push(si),si.onDone(()=>{si.destroy();const vi=this.players.indexOf(si);this.players.splice(vi,1)}),si.play()}),zn}elementContainsData(B,U){let Se=!1;const nt=U[Pi];return nt&&nt.setForRemoval&&(Se=!0),this.playersByElement.has(U)&&(Se=!0),this.playersByQueriedElement.has(U)&&(Se=!0),this.statesByElement.has(U)&&(Se=!0),this._fetchNamespace(B).elementContainsData(U)||Se}afterFlush(B){this._flushFns.push(B)}afterFlushAnimationsDone(B){this._whenQuietFns.push(B)}_getPreviousPlayers(B,U,Se,nt,ft){let q=[];if(U){const De=this.playersByQueriedElement.get(B);De&&(q=De)}else{const De=this.playersByElement.get(B);if(De){const ie=!ft||ft==Ui;De.forEach(Ge=>{Ge.queued||!ie&&Ge.triggerName!=nt||q.push(Ge)})}}return(Se||nt)&&(q=q.filter(De=>!(Se&&Se!=De.namespaceId||nt&&nt!=De.triggerName))),q}_beforeAnimationBuild(B,U,Se){const ft=U.element,q=U.isRemovalTransition?void 0:B,De=U.isRemovalTransition?void 0:U.triggerName;for(const ie of U.timelines){const Ge=ie.element,bt=Ge!==ft,Ft=h(Se,Ge,[]);this._getPreviousPlayers(Ge,bt,q,De,U.toState).forEach(ii=>{const ai=ii.getRealPlayer();ai.beforeDestroy&&ai.beforeDestroy(),ii.destroy(),Ft.push(ii)})}rt(ft,U.fromStyles)}_buildAnimation(B,U,Se,nt,ft,q){const De=U.triggerName,ie=U.element,Ge=[],bt=new Set,Ft=new Set,jt=U.timelines.map(ai=>{const hi=ai.element;bt.add(hi);const mi=hi[Pi];if(mi&&mi.removedBeforeQueried)return new g.ZN(ai.duration,ai.delay);const yi=hi!==ie,xi=function mn(ot){const B=[];return In(ot,B),B}((Se.get(hi)||Ni).map(Bt=>Bt.getRealPlayer())).filter(Bt=>!!Bt.element&&Bt.element===hi),xe=ft.get(hi),Ee=q.get(hi),ye=s(0,this._normalizer,0,ai.keyframes,xe,Ee),st=this._buildPlayer(ai,ye,xi);if(ai.subTimeline&&nt&&Ft.add(hi),yi){const Bt=new Ct(B,De,hi);Bt.setRealPlayer(st),Ge.push(Bt)}return st});Ge.forEach(ai=>{h(this.playersByQueriedElement,ai.element,[]).push(ai),ai.onDone(()=>function $t(ot,B,U){let Se;if(ot instanceof Map){if(Se=ot.get(B),Se){if(Se.length){const nt=Se.indexOf(U);Se.splice(nt,1)}0==Se.length&&ot.delete(B)}}else if(Se=ot[B],Se){if(Se.length){const nt=Se.indexOf(U);Se.splice(nt,1)}0==Se.length&&delete ot[B]}return Se}(this.playersByQueriedElement,ai.element,ai))}),bt.forEach(ai=>di(ai,me));const ii=A(jt);return ii.onDestroy(()=>{bt.forEach(ai=>Oi(ai,me)),tt(ie,U.toStyles)}),Ft.forEach(ai=>{h(nt,ai,[]).push(ii)}),ii}_buildPlayer(B,U,Se){return U.length>0?this.driver.animate(B.element,U,B.duration,B.delay,B.easing,Se):new g.ZN(B.duration,B.delay)}}class Ct{constructor(B,U,Se){this.namespaceId=B,this.triggerName=U,this.element=Se,this._player=new g.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(B){this._containsRealPlayer||(this._player=B,Object.keys(this._queuedCallbacks).forEach(U=>{this._queuedCallbacks[U].forEach(Se=>b(B,U,void 0,Se))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(B.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(B){this.totalTime=B}syncPlayerEvents(B){const U=this._player;U.triggerCallback&&B.onStart(()=>U.triggerCallback("start")),B.onDone(()=>this.finish()),B.onDestroy(()=>this.destroy())}_queueEvent(B,U){h(this._queuedCallbacks,B,[]).push(U)}onDone(B){this.queued&&this._queueEvent("done",B),this._player.onDone(B)}onStart(B){this.queued&&this._queueEvent("start",B),this._player.onStart(B)}onDestroy(B){this.queued&&this._queueEvent("destroy",B),this._player.onDestroy(B)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(B){this.queued||this._player.setPosition(B)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(B){const U=this._player;U.triggerCallback&&U.triggerCallback(B)}}function lt(ot){return ot&&1===ot.nodeType}function ct(ot,B){const U=ot.style.display;return ot.style.display=null!=B?B:"none",U}function zt(ot,B,U,Se,nt){const ft=[];U.forEach(ie=>ft.push(ct(ie)));const q=[];Se.forEach((ie,Ge)=>{const bt={};ie.forEach(Ft=>{const jt=bt[Ft]=B.computeStyle(Ge,Ft,nt);(!jt||0==jt.length)&&(Ge[Pi]=pn,q.push(Ge))}),ot.set(Ge,bt)});let De=0;return U.forEach(ie=>ct(ie,ft[De++])),q}function Jt(ot,B){const U=new Map;if(ot.forEach(De=>U.set(De,[])),0==B.length)return U;const nt=new Set(B),ft=new Map;function q(De){if(!De)return 1;let ie=ft.get(De);if(ie)return ie;const Ge=De.parentNode;return ie=U.has(Ge)?Ge:nt.has(Ge)?1:q(Ge),ft.set(De,ie),ie}return B.forEach(De=>{const ie=q(De);1!==ie&&U.get(ie).push(De)}),U}function di(ot,B){var U;null===(U=ot.classList)||void 0===U||U.add(B)}function Oi(ot,B){var U;null===(U=ot.classList)||void 0===U||U.remove(B)}function zi(ot,B,U){A(U).onDone(()=>ot.processLeaveNode(B))}function In(ot,B){for(let U=0;Unt.add(ft)):B.set(ot,Se),U.delete(ot),!0}class Zn{constructor(B,U,Se){this.bodyNode=B,this._driver=U,this._normalizer=Se,this._triggerCache={},this.onRemovalComplete=(nt,ft)=>{},this._transitionEngine=new qi(B,U,Se),this._timelineEngine=new Mt(B,U,Se),this._transitionEngine.onRemovalComplete=(nt,ft)=>this.onRemovalComplete(nt,ft)}registerTrigger(B,U,Se,nt,ft){const q=B+"-"+nt;let De=this._triggerCache[q];if(!De){const ie=[],Ge=Zt(this._driver,ft,ie);if(ie.length)throw new Error(`The animation trigger "${nt}" has failed to build due to the following errors:\n - ${ie.join("\n - ")}`);De=function Ze(ot,B,U){return new gt(ot,B,U)}(nt,Ge,this._normalizer),this._triggerCache[q]=De}this._transitionEngine.registerTrigger(U,nt,De)}register(B,U){this._transitionEngine.register(B,U)}destroy(B,U){this._transitionEngine.destroy(B,U)}onInsert(B,U,Se,nt){this._transitionEngine.insertNode(B,U,Se,nt)}onRemove(B,U,Se,nt){this._transitionEngine.removeNode(B,U,nt||!1,Se)}disableAnimations(B,U){this._transitionEngine.markElementAsDisabled(B,U)}process(B,U,Se,nt){if("@"==Se.charAt(0)){const[ft,q]=k(Se);this._timelineEngine.command(ft,U,q,nt)}else this._transitionEngine.trigger(B,U,Se,nt)}listen(B,U,Se,nt,ft){if("@"==Se.charAt(0)){const[q,De]=k(Se);return this._timelineEngine.listen(q,U,De,ft)}return this._transitionEngine.listen(B,U,Se,nt,ft)}flush(B=-1){this._transitionEngine.flush(B)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Rn=(()=>{class ot{constructor(U,Se,nt){this._element=U,this._startStyles=Se,this._endStyles=nt,this._state=0;let ft=ot.initialStylesByElement.get(U);ft||ot.initialStylesByElement.set(U,ft={}),this._initialStyles=ft}start(){this._state<1&&(this._startStyles&&tt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tt(this._element,this._initialStyles),this._endStyles&&(tt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ot.initialStylesByElement.delete(this._element),this._startStyles&&(rt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(rt(this._element,this._endStyles),this._endStyles=null),tt(this._element,this._initialStyles),this._state=3)}}return ot.initialStylesByElement=new WeakMap,ot})();function Gn(ot){let B=null;const U=Object.keys(ot);for(let Se=0;SeB()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const B=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,B,this.options),this._finalKeyframe=B.length?B[B.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(B,U,Se){return B.animate(U,Se)}onStart(B){this._onStartFns.push(B)}onDone(B){this._onDoneFns.push(B)}onDestroy(B){this._onDestroyFns.push(B)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(B=>B()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(B=>B()),this._onDestroyFns=[])}setPosition(B){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=B*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const B={};if(this.hasStarted()){const U=this._finalKeyframe;Object.keys(U).forEach(Se=>{"offset"!=Se&&(B[Se]=this._finished?U[Se]:c(this.element,Se))})}this.currentSnapshot=B}triggerCallback(B){const U="start"==B?this._onStartFns:this._onDoneFns;U.forEach(Se=>Se()),U.length=0}}class vs{validateStyleProperty(B){return de(B)}matchesElement(B,U){return!1}containsElement(B,U){return ae(B,U)}query(B,U,Se){return j(B,U,Se)}computeStyle(B,U,Se){return window.getComputedStyle(B)[U]}animate(B,U,Se,nt,ft,q=[]){const ie={duration:Se,delay:nt,fill:0==nt?"both":"forwards"};ft&&(ie.easing=ft);const Ge={},bt=q.filter(jt=>jt instanceof ys);(function o(ot,B){return 0===ot||0===B})(Se,nt)&&bt.forEach(jt=>{let ii=jt.currentSnapshot;Object.keys(ii).forEach(ai=>Ge[ai]=ii[ai])}),U=function t(ot,B,U){const Se=Object.keys(U);if(Se.length&&B.length){let ft=B[0],q=[];if(Se.forEach(De=>{ft.hasOwnProperty(De)||q.push(De),ft[De]=U[De]}),q.length)for(var nt=1;ntCe(jt,!1)),Ge);const Ft=function kn(ot,B){let U=null,Se=null;return Array.isArray(B)&&B.length?(U=Gn(B[0]),B.length>1&&(Se=Gn(B[B.length-1]))):B&&(U=Gn(B)),U||Se?new Rn(ot,U,Se):null}(B,U);return new ys(B,U,ie,Ft)}}var ss=d(69808);let os=(()=>{class ot extends g._j{constructor(U,Se){super(),this._nextAnimationId=0,this._renderer=U.createRenderer(Se.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(U){const Se=this._nextAnimationId.toString();this._nextAnimationId++;const nt=Array.isArray(U)?(0,g.vP)(U):U;return Cs(this._renderer,null,Se,"register",[nt]),new Ts(Se,this._renderer)}}return ot.\u0275fac=function(U){return new(U||ot)(e.LFG(e.FYo),e.LFG(ss.K0))},ot.\u0275prov=e.Yz7({token:ot,factory:ot.\u0275fac}),ot})();class Ts extends g.LC{constructor(B,U){super(),this._id=B,this._renderer=U}create(B,U){return new wn(this._id,B,U||{},this._renderer)}}class wn{constructor(B,U,Se,nt){this.id=B,this.element=U,this._renderer=nt,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",Se)}_listen(B,U){return this._renderer.listen(this.element,`@@${this.id}:${B}`,U)}_command(B,...U){return Cs(this._renderer,this.element,this.id,B,U)}onDone(B){this._listen("done",B)}onStart(B){this._listen("start",B)}onDestroy(B){this._listen("destroy",B)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(B){this._command("setPosition",B)}getPosition(){var B,U;return null!==(U=null===(B=this._renderer.engine.players[+this.id])||void 0===B?void 0:B.getPosition())&&void 0!==U?U:0}}function Cs(ot,B,U,Se,nt){return ot.setProperty(B,`@@${U}:${Se}`,nt)}const Fn="@.disabled";let Jn=(()=>{class ot{constructor(U,Se,nt){this.delegate=U,this.engine=Se,this._zone=nt,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),Se.onRemovalComplete=(ft,q)=>{const De=null==q?void 0:q.parentNode(ft);De&&q.removeChild(De,ft)}}createRenderer(U,Se){const ft=this.delegate.createRenderer(U,Se);if(!(U&&Se&&Se.data&&Se.data.animation)){let bt=this._rendererCache.get(ft);return bt||(bt=new Qn("",ft,this.engine),this._rendererCache.set(ft,bt)),bt}const q=Se.id,De=Se.id+"-"+this._currentId;this._currentId++,this.engine.register(De,U);const ie=bt=>{Array.isArray(bt)?bt.forEach(ie):this.engine.registerTrigger(q,De,U,bt.name,bt)};return Se.data.animation.forEach(ie),new Xn(this,De,ft,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(U,Se,nt){U>=0&&USe(nt)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(ft=>{const[q,De]=ft;q(De)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([Se,nt]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return ot.\u0275fac=function(U){return new(U||ot)(e.LFG(e.FYo),e.LFG(Zn),e.LFG(e.R0b))},ot.\u0275prov=e.Yz7({token:ot,factory:ot.\u0275fac}),ot})();class Qn{constructor(B,U,Se){this.namespaceId=B,this.delegate=U,this.engine=Se,this.destroyNode=this.delegate.destroyNode?nt=>U.destroyNode(nt):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(B,U){return this.delegate.createElement(B,U)}createComment(B){return this.delegate.createComment(B)}createText(B){return this.delegate.createText(B)}appendChild(B,U){this.delegate.appendChild(B,U),this.engine.onInsert(this.namespaceId,U,B,!1)}insertBefore(B,U,Se,nt=!0){this.delegate.insertBefore(B,U,Se),this.engine.onInsert(this.namespaceId,U,B,nt)}removeChild(B,U,Se){this.engine.onRemove(this.namespaceId,U,this.delegate,Se)}selectRootElement(B,U){return this.delegate.selectRootElement(B,U)}parentNode(B){return this.delegate.parentNode(B)}nextSibling(B){return this.delegate.nextSibling(B)}setAttribute(B,U,Se,nt){this.delegate.setAttribute(B,U,Se,nt)}removeAttribute(B,U,Se){this.delegate.removeAttribute(B,U,Se)}addClass(B,U){this.delegate.addClass(B,U)}removeClass(B,U){this.delegate.removeClass(B,U)}setStyle(B,U,Se,nt){this.delegate.setStyle(B,U,Se,nt)}removeStyle(B,U,Se){this.delegate.removeStyle(B,U,Se)}setProperty(B,U,Se){"@"==U.charAt(0)&&U==Fn?this.disableAnimations(B,!!Se):this.delegate.setProperty(B,U,Se)}setValue(B,U){this.delegate.setValue(B,U)}listen(B,U,Se){return this.delegate.listen(B,U,Se)}disableAnimations(B,U){this.engine.disableAnimations(B,U)}}class Xn extends Qn{constructor(B,U,Se,nt){super(U,Se,nt),this.factory=B,this.namespaceId=U}setProperty(B,U,Se){"@"==U.charAt(0)?"."==U.charAt(1)&&U==Fn?this.disableAnimations(B,Se=void 0===Se||!!Se):this.engine.process(this.namespaceId,B,U.substr(1),Se):this.delegate.setProperty(B,U,Se)}listen(B,U,Se){if("@"==U.charAt(0)){const nt=function Ln(ot){switch(ot){case"body":return document.body;case"document":return document;case"window":return window;default:return ot}}(B);let ft=U.substr(1),q="";return"@"!=ft.charAt(0)&&([ft,q]=function Hn(ot){const B=ot.indexOf(".");return[ot.substring(0,B),ot.substr(B+1)]}(ft)),this.engine.listen(this.namespaceId,nt,ft,q,De=>{this.factory.scheduleListenerCallback(De._data||-1,Se,De)})}return this.delegate.listen(B,U,Se)}}let hs=(()=>{class ot extends Zn{constructor(U,Se,nt){super(U.body,Se,nt)}ngOnDestroy(){this.flush()}}return ot.\u0275fac=function(U){return new(U||ot)(e.LFG(ss.K0),e.LFG(te),e.LFG(Si))},ot.\u0275prov=e.Yz7({token:ot,factory:ot.\u0275fac}),ot})();const ps=new e.OlP("AnimationModuleType"),_n=[{provide:g._j,useClass:os},{provide:Si,useFactory:function jn(){return new nn}},{provide:Zn,useClass:hs},{provide:e.FYo,useFactory:function Sn(ot,B,U){return new Jn(ot,B,U)},deps:[f.se,Zn,e.R0b]}],es=[{provide:te,useFactory:()=>new vs},{provide:ps,useValue:"BrowserAnimations"},..._n],Es=[{provide:te,useClass:Q},{provide:ps,useValue:"NoopAnimations"},..._n];let Un=(()=>{class ot{static withConfig(U){return{ngModule:ot,providers:U.disableAnimations?Es:es}}}return ot.\u0275fac=function(U){return new(U||ot)},ot.\u0275mod=e.oAB({type:ot}),ot.\u0275inj=e.cJS({providers:es,imports:[f.b2]}),ot})()},22313:(Ke,be,d)=>{"use strict";d.d(be,{b2:()=>P,H7:()=>Ue,Dx:()=>t,q6:()=>S,se:()=>Me});var e=d(69808),f=d(5e3);class g extends e.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class T extends g{static makeCurrent(){(0,e.HT)(new T)}onAndCancel(Et,At,Ot){return Et.addEventListener(At,Ot,!1),()=>{Et.removeEventListener(At,Ot,!1)}}dispatchEvent(Et,At){Et.dispatchEvent(At)}remove(Et){Et.parentNode&&Et.parentNode.removeChild(Et)}createElement(Et,At){return(At=At||this.getDefaultDocument()).createElement(Et)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Et){return Et.nodeType===Node.ELEMENT_NODE}isShadowRoot(Et){return Et instanceof DocumentFragment}getGlobalEventTarget(Et,At){return"window"===At?window:"document"===At?Et:"body"===At?Et.body:null}getBaseHref(Et){const At=function A(){return m=m||document.querySelector("base"),m?m.getAttribute("href"):null}();return null==At?null:function b(Dt){s=s||document.createElement("a"),s.setAttribute("href",Dt);const Et=s.pathname;return"/"===Et.charAt(0)?Et:`/${Et}`}(At)}resetBaseElement(){m=null}getUserAgent(){return window.navigator.userAgent}getCookie(Et){return(0,e.Mx)(document.cookie,Et)}}let s,m=null;const O=new f.OlP("TRANSITION_ID"),h=[{provide:f.ip1,useFactory:function E(Dt,Et,At){return()=>{At.get(f.CZH).donePromise.then(()=>{const Ot=(0,e.q)(),Kt=Et.querySelectorAll(`style[ng-transition="${Dt}"]`);for(let li=0;li{const li=Et.findTestabilityInTree(Ot,Kt);if(null==li)throw new Error("Could not find testability for element.");return li},f.dqk.getAllAngularTestabilities=()=>Et.getAllTestabilities(),f.dqk.getAllAngularRootElements=()=>Et.getAllRootElements(),f.dqk.frameworkStabilizers||(f.dqk.frameworkStabilizers=[]),f.dqk.frameworkStabilizers.push(Ot=>{const Kt=f.dqk.getAllAngularTestabilities();let li=Kt.length,fi=!1;const Ci=function(Si){fi=fi||Si,li--,0==li&&Ot(fi)};Kt.forEach(function(Si){Si.whenStable(Ci)})})}findTestabilityInTree(Et,At,Ot){if(null==At)return null;const Kt=Et.getTestability(At);return null!=Kt?Kt:Ot?(0,e.q)().isShadowRoot(At)?this.findTestabilityInTree(Et,At.host,!0):this.findTestabilityInTree(Et,At.parentElement,!0):null}}let L=(()=>{class Dt{build(){return new XMLHttpRequest}}return Dt.\u0275fac=function(At){return new(At||Dt)},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();const V=new f.OlP("EventManagerPlugins");let $=(()=>{class Dt{constructor(At,Ot){this._zone=Ot,this._eventNameToPlugin=new Map,At.forEach(Kt=>Kt.manager=this),this._plugins=At.slice().reverse()}addEventListener(At,Ot,Kt){return this._findPluginFor(Ot).addEventListener(At,Ot,Kt)}addGlobalEventListener(At,Ot,Kt){return this._findPluginFor(Ot).addGlobalEventListener(At,Ot,Kt)}getZone(){return this._zone}_findPluginFor(At){const Ot=this._eventNameToPlugin.get(At);if(Ot)return Ot;const Kt=this._plugins;for(let li=0;li{class Dt{constructor(){this._stylesSet=new Set}addStyles(At){const Ot=new Set;At.forEach(Kt=>{this._stylesSet.has(Kt)||(this._stylesSet.add(Kt),Ot.add(Kt))}),this.onStylesAdded(Ot)}onStylesAdded(At){}getAllStyles(){return Array.from(this._stylesSet)}}return Dt.\u0275fac=function(At){return new(At||Dt)},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})(),Le=(()=>{class Dt extends ce{constructor(At){super(),this._doc=At,this._hostNodes=new Map,this._hostNodes.set(At.head,[])}_addStylesToHost(At,Ot,Kt){At.forEach(li=>{const fi=this._doc.createElement("style");fi.textContent=li,Kt.push(Ot.appendChild(fi))})}addHost(At){const Ot=[];this._addStylesToHost(this._stylesSet,At,Ot),this._hostNodes.set(At,Ot)}removeHost(At){const Ot=this._hostNodes.get(At);Ot&&Ot.forEach(de),this._hostNodes.delete(At)}onStylesAdded(At){this._hostNodes.forEach((Ot,Kt)=>{this._addStylesToHost(At,Kt,Ot)})}ngOnDestroy(){this._hostNodes.forEach(At=>At.forEach(de))}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();function de(Dt){(0,e.q)().remove(Dt)}const ke={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ae=/%COMP%/g,H="%COMP%",Q=`_nghost-${H}`,te=`_ngcontent-${H}`;function Ne(Dt,Et,At){for(let Ot=0;Ot{if("__ngUnwrap__"===Et)return Dt;!1===Dt(Et)&&(Et.preventDefault(),Et.returnValue=!1)}}let Me=(()=>{class Dt{constructor(At,Ot,Kt){this.eventManager=At,this.sharedStylesHost=Ot,this.appId=Kt,this.rendererByCompId=new Map,this.defaultRenderer=new ve(At)}createRenderer(At,Ot){if(!At||!Ot)return this.defaultRenderer;switch(Ot.encapsulation){case f.ifc.Emulated:{let Kt=this.rendererByCompId.get(Ot.id);return Kt||(Kt=new ee(this.eventManager,this.sharedStylesHost,Ot,this.appId),this.rendererByCompId.set(Ot.id,Kt)),Kt.applyToHost(At),Kt}case 1:case f.ifc.ShadowDom:return new R(this.eventManager,this.sharedStylesHost,At,Ot);default:if(!this.rendererByCompId.has(Ot.id)){const Kt=Ne(Ot.id,Ot.styles,[]);this.sharedStylesHost.addStyles(Kt),this.rendererByCompId.set(Ot.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG($),f.LFG(Le),f.LFG(f.AFp))},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();class ve{constructor(Et){this.eventManager=Et,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Et,At){return At?document.createElementNS(ke[At]||At,Et):document.createElement(Et)}createComment(Et){return document.createComment(Et)}createText(Et){return document.createTextNode(Et)}appendChild(Et,At){Et.appendChild(At)}insertBefore(Et,At,Ot){Et&&Et.insertBefore(At,Ot)}removeChild(Et,At){Et&&Et.removeChild(At)}selectRootElement(Et,At){let Ot="string"==typeof Et?document.querySelector(Et):Et;if(!Ot)throw new Error(`The selector "${Et}" did not match any elements`);return At||(Ot.textContent=""),Ot}parentNode(Et){return Et.parentNode}nextSibling(Et){return Et.nextSibling}setAttribute(Et,At,Ot,Kt){if(Kt){At=Kt+":"+At;const li=ke[Kt];li?Et.setAttributeNS(li,At,Ot):Et.setAttribute(At,Ot)}else Et.setAttribute(At,Ot)}removeAttribute(Et,At,Ot){if(Ot){const Kt=ke[Ot];Kt?Et.removeAttributeNS(Kt,At):Et.removeAttribute(`${Ot}:${At}`)}else Et.removeAttribute(At)}addClass(Et,At){Et.classList.add(At)}removeClass(Et,At){Et.classList.remove(At)}setStyle(Et,At,Ot,Kt){Kt&(f.JOm.DashCase|f.JOm.Important)?Et.style.setProperty(At,Ot,Kt&f.JOm.Important?"important":""):Et.style[At]=Ot}removeStyle(Et,At,Ot){Ot&f.JOm.DashCase?Et.style.removeProperty(At):Et.style[At]=""}setProperty(Et,At,Ot){Et[At]=Ot}setValue(Et,At){Et.nodeValue=At}listen(Et,At,Ot){return"string"==typeof Et?this.eventManager.addGlobalEventListener(Et,At,Fe(Ot)):this.eventManager.addEventListener(Et,At,Fe(Ot))}}class ee extends ve{constructor(Et,At,Ot,Kt){super(Et),this.component=Ot;const li=Ne(Kt+"-"+Ot.id,Ot.styles,[]);At.addStyles(li),this.contentAttr=function se(Dt){return te.replace(ae,Dt)}(Kt+"-"+Ot.id),this.hostAttr=function ge(Dt){return Q.replace(ae,Dt)}(Kt+"-"+Ot.id)}applyToHost(Et){super.setAttribute(Et,this.hostAttr,"")}createElement(Et,At){const Ot=super.createElement(Et,At);return super.setAttribute(Ot,this.contentAttr,""),Ot}}class R extends ve{constructor(Et,At,Ot,Kt){super(Et),this.sharedStylesHost=At,this.hostEl=Ot,this.shadowRoot=Ot.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const li=Ne(Kt.id,Kt.styles,[]);for(let fi=0;fi{class Dt extends ue{constructor(At){super(At)}supports(At){return!0}addEventListener(At,Ot,Kt){return At.addEventListener(Ot,Kt,!1),()=>this.removeEventListener(At,Ot,Kt)}removeEventListener(At,Ot,Kt){return At.removeEventListener(Ot,Kt)}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();const Ie=["alt","control","meta","shift"],fe={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ce={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ve={alt:Dt=>Dt.altKey,control:Dt=>Dt.ctrlKey,meta:Dt=>Dt.metaKey,shift:Dt=>Dt.shiftKey};let Xe=(()=>{class Dt extends ue{constructor(At){super(At)}supports(At){return null!=Dt.parseEventName(At)}addEventListener(At,Ot,Kt){const li=Dt.parseEventName(Ot),fi=Dt.eventCallback(li.fullKey,Kt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.q)().onAndCancel(At,li.domEventName,fi))}static parseEventName(At){const Ot=At.toLowerCase().split("."),Kt=Ot.shift();if(0===Ot.length||"keydown"!==Kt&&"keyup"!==Kt)return null;const li=Dt._normalizeKey(Ot.pop());let fi="";if(Ie.forEach(Si=>{const Vi=Ot.indexOf(Si);Vi>-1&&(Ot.splice(Vi,1),fi+=Si+".")}),fi+=li,0!=Ot.length||0===li.length)return null;const Ci={};return Ci.domEventName=Kt,Ci.fullKey=fi,Ci}static getEventFullKey(At){let Ot="",Kt=function tt(Dt){let Et=Dt.key;if(null==Et){if(Et=Dt.keyIdentifier,null==Et)return"Unidentified";Et.startsWith("U+")&&(Et=String.fromCharCode(parseInt(Et.substring(2),16)),3===Dt.location&&Ce.hasOwnProperty(Et)&&(Et=Ce[Et]))}return fe[Et]||Et}(At);return Kt=Kt.toLowerCase()," "===Kt?Kt="space":"."===Kt&&(Kt="dot"),Ie.forEach(li=>{li!=Kt&&Ve[li](At)&&(Ot+=li+".")}),Ot+=Kt,Ot}static eventCallback(At,Ot,Kt){return li=>{Dt.getEventFullKey(li)===At&&Kt.runGuarded(()=>Ot(li))}}static _normalizeKey(At){return"esc"===At?"escape":At}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();const S=(0,f.eFA)(f._c5,"browser",[{provide:f.Lbi,useValue:e.bD},{provide:f.g9A,useValue:function rt(){T.makeCurrent(),k.init()},multi:!0},{provide:e.K0,useFactory:function he(){return(0,f.RDi)(document),document},deps:[]}]),I=[{provide:f.zSh,useValue:"root"},{provide:f.qLn,useFactory:function N(){return new f.qLn},deps:[]},{provide:V,useClass:Oe,multi:!0,deps:[e.K0,f.R0b,f.Lbi]},{provide:V,useClass:Xe,multi:!0,deps:[e.K0]},{provide:Me,useClass:Me,deps:[$,Le,f.AFp]},{provide:f.FYo,useExisting:Me},{provide:ce,useExisting:Le},{provide:Le,useClass:Le,deps:[e.K0]},{provide:f.dDg,useClass:f.dDg,deps:[f.R0b]},{provide:$,useClass:$,deps:[V,f.R0b]},{provide:e.JF,useClass:L,deps:[]}];let P=(()=>{class Dt{constructor(At){if(At)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(At){return{ngModule:Dt,providers:[{provide:f.AFp,useValue:At.appId},{provide:O,useExisting:f.AFp},h]}}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(Dt,12))},Dt.\u0275mod=f.oAB({type:Dt}),Dt.\u0275inj=f.cJS({providers:I,imports:[e.ez,f.hGG]}),Dt})(),t=(()=>{class Dt{constructor(At){this._doc=At}getTitle(){return this._doc.title}setTitle(At){this._doc.title=At||""}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:function(At){let Ot=null;return Ot=At?new At:function o(){return new t((0,f.LFG)(e.K0))}(),Ot},providedIn:"root"}),Dt})();"undefined"!=typeof window&&window;let Ue=(()=>{class Dt{}return Dt.\u0275fac=function(At){return new(At||Dt)},Dt.\u0275prov=f.Yz7({token:Dt,factory:function(At){let Ot=null;return Ot=At?new(At||Dt):f.LFG(Ut),Ot},providedIn:"root"}),Dt})(),Ut=(()=>{class Dt extends Ue{constructor(At){super(),this._doc=At}sanitize(At,Ot){if(null==Ot)return null;switch(At){case f.q3G.NONE:return Ot;case f.q3G.HTML:return(0,f.qzn)(Ot,"HTML")?(0,f.z3N)(Ot):(0,f.EiD)(this._doc,String(Ot)).toString();case f.q3G.STYLE:return(0,f.qzn)(Ot,"Style")?(0,f.z3N)(Ot):Ot;case f.q3G.SCRIPT:if((0,f.qzn)(Ot,"Script"))return(0,f.z3N)(Ot);throw new Error("unsafe value used in a script context");case f.q3G.URL:return(0,f.yhl)(Ot),(0,f.qzn)(Ot,"URL")?(0,f.z3N)(Ot):(0,f.mCW)(String(Ot));case f.q3G.RESOURCE_URL:if((0,f.qzn)(Ot,"ResourceURL"))return(0,f.z3N)(Ot);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${At} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(At){return(0,f.JVY)(At)}bypassSecurityTrustStyle(At){return(0,f.L6k)(At)}bypassSecurityTrustScript(At){return(0,f.eBb)(At)}bypassSecurityTrustUrl(At){return(0,f.LAX)(At)}bypassSecurityTrustResourceUrl(At){return(0,f.pB0)(At)}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:function(At){let Ot=null;return Ot=At?new At:function wt(Dt){return new Ut(Dt.get(e.K0))}(f.LFG(f.zs3)),Ot},providedIn:"root"}),Dt})()},30325:(Ke,be,d)=>{"use strict";d.d(be,{gz:()=>Ji,m2:()=>Ce,OD:()=>fe,GZ:()=>Qs,wN:()=>oi,F0:()=>vn,rH:()=>$s,yS:()=>Js,Bz:()=>fu,lC:()=>Sn});var e=d(5e3),f=d(5254),g=d(21086),T=d(591),m=d(36053),A=d(32916),s=d(84450),b=d(61221),O=d(88514),E=d(68896),h=d(71762),k=d(8929),L=d(43489);function V(pe,W){let z=!1;return arguments.length>=2&&(z=!0),function(ze){return ze.lift(new $(pe,W,z))}}class ${constructor(W,z,Pe=!1){this.accumulator=W,this.seed=z,this.hasSeed=Pe}call(W,z){return z.subscribe(new ue(W,this.accumulator,this.seed,this.hasSeed))}}class ue extends L.L{constructor(W,z,Pe,ze){super(W),this.accumulator=z,this._seed=Pe,this.hasSeed=ze,this.index=0}get seed(){return this._seed}set seed(W){this.hasSeed=!0,this._seed=W}_next(W){if(this.hasSeed)return this._tryNext(W);this.seed=W,this.destination.next(W)}_tryNext(W){const z=this.index++;let Pe;try{Pe=this.accumulator(this.seed,W,z)}catch(ze){this.destination.error(ze)}this.seed=Pe,this.destination.next(Pe)}}var ce=d(92198),Le=d(94231);function de(pe){return function(z){return 0===pe?(0,E.c)():z.lift(new ke(pe))}}class ke{constructor(W){if(this.total=W,this.total<0)throw new Le.W}call(W,z){return z.subscribe(new ae(W,this.total))}}class ae extends L.L{constructor(W,z){super(W),this.total=z,this.ring=new Array,this.count=0}_next(W){const z=this.ring,Pe=this.total,ze=this.count++;z.length0){const Pe=this.count>=this.total?this.total:this.count,ze=this.ring;for(let dt=0;dtpe.length||"full"===z.pathMatch&&(W.hasChildren()||Pe.lengthPe[dt]===ze)}return pe===W}function Nt(pe){return Array.prototype.concat.apply([],pe)}function It(pe){return pe.length>0?pe[pe.length-1]:null}function mt(pe,W){for(const z in pe)pe.hasOwnProperty(z)&&W(pe[z],z)}function Ht(pe){return(0,e.CqO)(pe)?pe:(0,e.QGY)(pe)?(0,f.D)(Promise.resolve(pe)):(0,g.of)(pe)}const Je={exact:function qe(pe,W,z){if(!Ut(pe.segments,W.segments)||!G(pe.segments,W.segments,z)||pe.numberOfChildren!==W.numberOfChildren)return!1;for(const Pe in W.children)if(!pe.children[Pe]||!qe(pe.children[Pe],W.children[Pe],z))return!1;return!0},subset:oe},Lt={exact:function Rt(pe,W){return yt(pe,W)},subset:function Ye(pe,W){return Object.keys(W).length<=Object.keys(pe).length&&Object.keys(W).every(z=>pt(pe[z],W[z]))},ignored:()=>!0};function ht(pe,W,z){return Je[z.paths](pe.root,W.root,z.matrixParams)&&Lt[z.queryParams](pe.queryParams,W.queryParams)&&!("exact"===z.fragment&&pe.fragment!==W.fragment)}function oe(pe,W,z){return Z(pe,W,W.segments,z)}function Z(pe,W,z,Pe){if(pe.segments.length>z.length){const ze=pe.segments.slice(0,z.length);return!(!Ut(ze,z)||W.hasChildren()||!G(ze,z,Pe))}if(pe.segments.length===z.length){if(!Ut(pe.segments,z)||!G(pe.segments,z,Pe))return!1;for(const ze in W.children)if(!pe.children[ze]||!oe(pe.children[ze],W.children[ze],Pe))return!1;return!0}{const ze=z.slice(0,pe.segments.length),dt=z.slice(pe.segments.length);return!!(Ut(pe.segments,ze)&&G(pe.segments,ze,Pe)&&pe.children[t])&&Z(pe.children[t],W,dt,Pe)}}function G(pe,W,z){return W.every((Pe,ze)=>Lt[z](pe[ze].parameters,Pe.parameters))}class X{constructor(W,z,Pe){this.root=W,this.queryParams=z,this.fragment=Pe}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=c(this.queryParams)),this._queryParamMap}toString(){return At.serialize(this)}}class _e{constructor(W,z){this.segments=W,this.children=z,this.parent=null,mt(z,(Pe,ze)=>Pe.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ot(this)}}class Ue{constructor(W,z){this.path=W,this.parameters=z}get parameterMap(){return this._parameterMap||(this._parameterMap=c(this.parameters)),this._parameterMap}toString(){return $i(this)}}function Ut(pe,W){return pe.length===W.length&&pe.every((z,Pe)=>z.path===W[Pe].path)}class Dt{}class Et{parse(W){const z=new F(W);return new X(z.parseRootSegment(),z.parseQueryParams(),z.parseFragment())}serialize(W){const z=`/${Kt(W.root,!0)}`,Pe=function bn(pe){const W=Object.keys(pe).map(z=>{const Pe=pe[z];return Array.isArray(Pe)?Pe.map(ze=>`${fi(z)}=${fi(ze)}`).join("&"):`${fi(z)}=${fi(Pe)}`}).filter(z=>!!z);return W.length?`?${W.join("&")}`:""}(W.queryParams);return`${z}${Pe}${"string"==typeof W.fragment?`#${function Ci(pe){return encodeURI(pe)}(W.fragment)}`:""}`}}const At=new Et;function Ot(pe){return pe.segments.map(W=>$i(W)).join("/")}function Kt(pe,W){if(!pe.hasChildren())return Ot(pe);if(W){const z=pe.children[t]?Kt(pe.children[t],!1):"",Pe=[];return mt(pe.children,(ze,dt)=>{dt!==t&&Pe.push(`${dt}:${Kt(ze,!1)}`)}),Pe.length>0?`${z}(${Pe.join("//")})`:z}{const z=function Vt(pe,W){let z=[];return mt(pe.children,(Pe,ze)=>{ze===t&&(z=z.concat(W(Pe,ze)))}),mt(pe.children,(Pe,ze)=>{ze!==t&&(z=z.concat(W(Pe,ze)))}),z}(pe,(Pe,ze)=>ze===t?[Kt(pe.children[t],!1)]:[`${ze}:${Kt(Pe,!1)}`]);return 1===Object.keys(pe.children).length&&null!=pe.children[t]?`${Ot(pe)}/${z[0]}`:`${Ot(pe)}/(${z.join("//")})`}}function li(pe){return encodeURIComponent(pe).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fi(pe){return li(pe).replace(/%3B/gi,";")}function Si(pe){return li(pe).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vi(pe){return decodeURIComponent(pe)}function nn(pe){return Vi(pe.replace(/\+/g,"%20"))}function $i(pe){return`${Si(pe.path)}${function Yi(pe){return Object.keys(pe).map(W=>`;${Si(W)}=${Si(pe[W])}`).join("")}(pe.parameters)}`}const Qi=/^[^\/()?;=#]+/;function We(pe){const W=pe.match(Qi);return W?W[0]:""}const Tt=/^[^=?&#]+/,Ze=/^[^&#]+/;class F{constructor(W){this.url=W,this.remaining=W}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new _e([],{}):new _e([],this.parseChildren())}parseQueryParams(){const W={};if(this.consumeOptional("?"))do{this.parseQueryParam(W)}while(this.consumeOptional("&"));return W}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const W=[];for(this.peekStartsWith("(")||W.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),W.push(this.parseSegment());let z={};this.peekStartsWith("/(")&&(this.capture("/"),z=this.parseParens(!0));let Pe={};return this.peekStartsWith("(")&&(Pe=this.parseParens(!1)),(W.length>0||Object.keys(z).length>0)&&(Pe[t]=new _e(W,z)),Pe}parseSegment(){const W=We(this.remaining);if(""===W&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(W),new Ue(Vi(W),this.parseMatrixParams())}parseMatrixParams(){const W={};for(;this.consumeOptional(";");)this.parseParam(W);return W}parseParam(W){const z=We(this.remaining);if(!z)return;this.capture(z);let Pe="";if(this.consumeOptional("=")){const ze=We(this.remaining);ze&&(Pe=ze,this.capture(Pe))}W[Vi(z)]=Vi(Pe)}parseQueryParam(W){const z=function Qe(pe){const W=pe.match(Tt);return W?W[0]:""}(this.remaining);if(!z)return;this.capture(z);let Pe="";if(this.consumeOptional("=")){const St=function gt(pe){const W=pe.match(Ze);return W?W[0]:""}(this.remaining);St&&(Pe=St,this.capture(Pe))}const ze=nn(z),dt=nn(Pe);if(W.hasOwnProperty(ze)){let St=W[ze];Array.isArray(St)||(St=[St],W[ze]=St),St.push(dt)}else W[ze]=dt}parseParens(W){const z={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Pe=We(this.remaining),ze=this.remaining[Pe.length];if("/"!==ze&&")"!==ze&&";"!==ze)throw new Error(`Cannot parse url '${this.url}'`);let dt;Pe.indexOf(":")>-1?(dt=Pe.substr(0,Pe.indexOf(":")),this.capture(dt),this.capture(":")):W&&(dt=t);const St=this.parseChildren();z[dt]=1===Object.keys(St).length?St[t]:new _e([],St),this.consumeOptional("//")}return z}peekStartsWith(W){return this.remaining.startsWith(W)}consumeOptional(W){return!!this.peekStartsWith(W)&&(this.remaining=this.remaining.substring(W.length),!0)}capture(W){if(!this.consumeOptional(W))throw new Error(`Expected "${W}".`)}}class Be{constructor(W){this._root=W}get root(){return this._root.value}parent(W){const z=this.pathFromRoot(W);return z.length>1?z[z.length-2]:null}children(W){const z=ut(W,this._root);return z?z.children.map(Pe=>Pe.value):[]}firstChild(W){const z=ut(W,this._root);return z&&z.children.length>0?z.children[0].value:null}siblings(W){const z=Mt(W,this._root);return z.length<2?[]:z[z.length-2].children.map(ze=>ze.value).filter(ze=>ze!==W)}pathFromRoot(W){return Mt(W,this._root).map(z=>z.value)}}function ut(pe,W){if(pe===W.value)return W;for(const z of W.children){const Pe=ut(pe,z);if(Pe)return Pe}return null}function Mt(pe,W){if(pe===W.value)return[W];for(const z of W.children){const Pe=Mt(pe,z);if(Pe.length)return Pe.unshift(W),Pe}return[]}class ei{constructor(W,z){this.value=W,this.children=z}toString(){return`TreeNode(${this.value})`}}function Qt(pe){const W={};return pe&&pe.children.forEach(z=>W[z.value.outlet]=z),W}class Ri extends Be{constructor(W,z){super(W),this.snapshot=z,Ti(this,W)}toString(){return this.snapshot.toString()}}function bi(pe,W){const z=function Li(pe,W){const St=new pn([],{},{},"",{},t,W,null,pe.root,-1,{});return new Pi("",new ei(St,[]))}(pe,W),Pe=new T.X([new Ue("",{})]),ze=new T.X({}),dt=new T.X({}),St=new T.X({}),xt=new T.X(""),qt=new Ji(Pe,ze,St,xt,dt,t,W,z.root);return qt.snapshot=z.root,new Ri(new ei(qt,[]),z)}class Ji{constructor(W,z,Pe,ze,dt,St,xt,qt){this.url=W,this.params=z,this.queryParams=Pe,this.fragment=ze,this.data=dt,this.outlet=St,this.component=xt,this._futureSnapshot=qt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,se.U)(W=>c(W)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,se.U)(W=>c(W)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ni(pe,W="emptyOnly"){const z=pe.pathFromRoot;let Pe=0;if("always"!==W)for(Pe=z.length-1;Pe>=1;){const ze=z[Pe],dt=z[Pe-1];if(ze.routeConfig&&""===ze.routeConfig.path)Pe--;else{if(dt.component)break;Pe--}}return function Hi(pe){return pe.reduce((W,z)=>({params:Object.assign(Object.assign({},W.params),z.params),data:Object.assign(Object.assign({},W.data),z.data),resolve:Object.assign(Object.assign({},W.resolve),z._resolvedData)}),{params:{},data:{},resolve:{}})}(z.slice(Pe))}class pn{constructor(W,z,Pe,ze,dt,St,xt,qt,_i,ji,Ei){this.url=W,this.params=z,this.queryParams=Pe,this.fragment=ze,this.data=dt,this.outlet=St,this.component=xt,this.routeConfig=qt,this._urlSegment=_i,this._lastPathIndex=ji,this._resolve=Ei}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=c(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=c(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Pe=>Pe.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Pi extends Be{constructor(W,z){super(z),this.url=W,Ti(this,z)}toString(){return Ui(this._root)}}function Ti(pe,W){W.value._routerState=pe,W.children.forEach(z=>Ti(pe,z))}function Ui(pe){const W=pe.children.length>0?` { ${pe.children.map(Ui).join(", ")} } `:"";return`${pe.value}${W}`}function fn(pe){if(pe.snapshot){const W=pe.snapshot,z=pe._futureSnapshot;pe.snapshot=z,yt(W.queryParams,z.queryParams)||pe.queryParams.next(z.queryParams),W.fragment!==z.fragment&&pe.fragment.next(z.fragment),yt(W.params,z.params)||pe.params.next(z.params),function et(pe,W){if(pe.length!==W.length)return!1;for(let z=0;zyt(z.parameters,W[Pe].parameters))}(pe.url,W.url);return z&&!(!pe.parent!=!W.parent)&&(!pe.parent||sn(pe.parent,W.parent))}function Ct(pe,W,z){if(z&&pe.shouldReuseRoute(W.value,z.value.snapshot)){const Pe=z.value;Pe._futureSnapshot=W.value;const ze=function $t(pe,W,z){return W.children.map(Pe=>{for(const ze of z.children)if(pe.shouldReuseRoute(Pe.value,ze.value.snapshot))return Ct(pe,Pe,ze);return Ct(pe,Pe)})}(pe,W,z);return new ei(Pe,ze)}{if(pe.shouldAttach(W.value)){const dt=pe.retrieve(W.value);if(null!==dt){const St=dt.route;return St.value._futureSnapshot=W.value,St.children=W.children.map(xt=>Ct(pe,xt)),St}}const Pe=function Y(pe){return new Ji(new T.X(pe.url),new T.X(pe.params),new T.X(pe.queryParams),new T.X(pe.fragment),new T.X(pe.data),pe.outlet,pe.component,pe)}(W.value),ze=W.children.map(dt=>Ct(pe,dt));return new ei(Pe,ze)}}function we(pe){return"object"==typeof pe&&null!=pe&&!pe.outlets&&!pe.segmentPath}function ct(pe){return"object"==typeof pe&&null!=pe&&pe.outlets}function zt(pe,W,z,Pe,ze){let dt={};return Pe&&mt(Pe,(St,xt)=>{dt[xt]=Array.isArray(St)?St.map(qt=>`${qt}`):`${St}`}),new X(z.root===pe?W:Jt(z.root,pe,W),dt,ze)}function Jt(pe,W,z){const Pe={};return mt(pe.children,(ze,dt)=>{Pe[dt]=ze===W?z:Jt(ze,W,z)}),new _e(pe.segments,Pe)}class di{constructor(W,z,Pe){if(this.isAbsolute=W,this.numberOfDoubleDots=z,this.commands=Pe,W&&Pe.length>0&&we(Pe[0]))throw new Error("Root segment cannot have matrix parameters");const ze=Pe.find(ct);if(ze&&ze!==It(Pe))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class zi{constructor(W,z,Pe){this.segmentGroup=W,this.processChildren=z,this.index=Pe}}function $n(pe,W,z){if(pe||(pe=new _e([],{})),0===pe.segments.length&&pe.hasChildren())return Zn(pe,W,z);const Pe=function kn(pe,W,z){let Pe=0,ze=W;const dt={match:!1,pathIndex:0,commandIndex:0};for(;ze=z.length)return dt;const St=pe.segments[ze],xt=z[Pe];if(ct(xt))break;const qt=`${xt}`,_i=Pe0&&void 0===qt)break;if(qt&&_i&&"object"==typeof _i&&void 0===_i.outlets){if(!ys(qt,_i,St))return dt;Pe+=2}else{if(!ys(qt,{},St))return dt;Pe++}ze++}return{match:!0,pathIndex:ze,commandIndex:Pe}}(pe,W,z),ze=z.slice(Pe.commandIndex);if(Pe.match&&Pe.pathIndex{"string"==typeof dt&&(dt=[dt]),null!==dt&&(ze[St]=$n(pe.children[St],W,dt))}),mt(pe.children,(dt,St)=>{void 0===Pe[St]&&(ze[St]=dt)}),new _e(pe.segments,ze)}}function Rn(pe,W,z){const Pe=pe.segments.slice(0,W);let ze=0;for(;ze{"string"==typeof z&&(z=[z]),null!==z&&(W[Pe]=Rn(new _e([],{}),0,z))}),W}function bs(pe){const W={};return mt(pe,(z,Pe)=>W[Pe]=`${z}`),W}function ys(pe,W,z){return pe==z.path&&yt(W,z.parameters)}class ss{constructor(W,z,Pe,ze){this.routeReuseStrategy=W,this.futureState=z,this.currState=Pe,this.forwardEvent=ze}activate(W){const z=this.futureState._root,Pe=this.currState?this.currState._root:null;this.deactivateChildRoutes(z,Pe,W),fn(this.futureState.root),this.activateChildRoutes(z,Pe,W)}deactivateChildRoutes(W,z,Pe){const ze=Qt(z);W.children.forEach(dt=>{const St=dt.value.outlet;this.deactivateRoutes(dt,ze[St],Pe),delete ze[St]}),mt(ze,(dt,St)=>{this.deactivateRouteAndItsChildren(dt,Pe)})}deactivateRoutes(W,z,Pe){const ze=W.value,dt=z?z.value:null;if(ze===dt)if(ze.component){const St=Pe.getContext(ze.outlet);St&&this.deactivateChildRoutes(W,z,St.children)}else this.deactivateChildRoutes(W,z,Pe);else dt&&this.deactivateRouteAndItsChildren(z,Pe)}deactivateRouteAndItsChildren(W,z){W.value.component&&this.routeReuseStrategy.shouldDetach(W.value.snapshot)?this.detachAndStoreRouteSubtree(W,z):this.deactivateRouteAndOutlet(W,z)}detachAndStoreRouteSubtree(W,z){const Pe=z.getContext(W.value.outlet),ze=Pe&&W.value.component?Pe.children:z,dt=Qt(W);for(const St of Object.keys(dt))this.deactivateRouteAndItsChildren(dt[St],ze);if(Pe&&Pe.outlet){const St=Pe.outlet.detach(),xt=Pe.children.onOutletDeactivated();this.routeReuseStrategy.store(W.value.snapshot,{componentRef:St,route:W,contexts:xt})}}deactivateRouteAndOutlet(W,z){const Pe=z.getContext(W.value.outlet),ze=Pe&&W.value.component?Pe.children:z,dt=Qt(W);for(const St of Object.keys(dt))this.deactivateRouteAndItsChildren(dt[St],ze);Pe&&Pe.outlet&&(Pe.outlet.deactivate(),Pe.children.onOutletDeactivated(),Pe.attachRef=null,Pe.resolver=null,Pe.route=null)}activateChildRoutes(W,z,Pe){const ze=Qt(z);W.children.forEach(dt=>{this.activateRoutes(dt,ze[dt.value.outlet],Pe),this.forwardEvent(new p(dt.value.snapshot))}),W.children.length&&this.forwardEvent(new i(W.value.snapshot))}activateRoutes(W,z,Pe){const ze=W.value,dt=z?z.value:null;if(fn(ze),ze===dt)if(ze.component){const St=Pe.getOrCreateContext(ze.outlet);this.activateChildRoutes(W,z,St.children)}else this.activateChildRoutes(W,z,Pe);else if(ze.component){const St=Pe.getOrCreateContext(ze.outlet);if(this.routeReuseStrategy.shouldAttach(ze.snapshot)){const xt=this.routeReuseStrategy.retrieve(ze.snapshot);this.routeReuseStrategy.store(ze.snapshot,null),St.children.onOutletReAttached(xt.contexts),St.attachRef=xt.componentRef,St.route=xt.route.value,St.outlet&&St.outlet.attach(xt.componentRef,xt.route.value),fn(xt.route.value),this.activateChildRoutes(W,null,St.children)}else{const xt=function os(pe){for(let W=pe.parent;W;W=W.parent){const z=W.routeConfig;if(z&&z._loadedConfig)return z._loadedConfig;if(z&&z.component)return null}return null}(ze.snapshot),qt=xt?xt.module.componentFactoryResolver:null;St.attachRef=null,St.route=ze,St.resolver=qt,St.outlet&&St.outlet.activateWith(ze,qt),this.activateChildRoutes(W,null,St.children)}}else this.activateChildRoutes(W,null,Pe)}}class Ts{constructor(W,z){this.routes=W,this.module=z}}function wn(pe){return"function"==typeof pe}function gn(pe){return pe instanceof X}const Ln=Symbol("INITIAL_VALUE");function Hn(){return(0,ge.w)(pe=>(0,m.aj)(pe.map(W=>W.pipe((0,Ne.q)(1),(0,Fe.O)(Ln)))).pipe(V((W,z)=>{let Pe=!1;return z.reduce((ze,dt,St)=>ze!==Ln?ze:(dt===Ln&&(Pe=!0),Pe||!1!==dt&&St!==z.length-1&&!gn(dt)?ze:dt),W)},Ln),(0,ce.h)(W=>W!==Ln),(0,se.U)(W=>gn(W)?W:!0===W),(0,Ne.q)(1)))}class hs{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new jn,this.attachRef=null}}class jn{constructor(){this.contexts=new Map}onChildOutletCreated(W,z){const Pe=this.getOrCreateContext(W);Pe.outlet=z,this.contexts.set(W,Pe)}onChildOutletDestroyed(W){const z=this.getContext(W);z&&(z.outlet=null,z.attachRef=null)}onOutletDeactivated(){const W=this.contexts;return this.contexts=new Map,W}onOutletReAttached(W){this.contexts=W}getOrCreateContext(W){let z=this.getContext(W);return z||(z=new hs,this.contexts.set(W,z)),z}getContext(W){return this.contexts.get(W)||null}}let Sn=(()=>{class pe{constructor(z,Pe,ze,dt,St){this.parentContexts=z,this.location=Pe,this.resolver=ze,this.changeDetector=St,this.activated=null,this._activatedRoute=null,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.name=dt||t,z.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const z=this.parentContexts.getContext(this.name);z&&z.route&&(z.attachRef?this.attach(z.attachRef,z.route):this.activateWith(z.route,z.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const z=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(z.instance),z}attach(z,Pe){this.activated=z,this._activatedRoute=Pe,this.location.insert(z.hostView),this.attachEvents.emit(z.instance)}deactivate(){if(this.activated){const z=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(z)}}activateWith(z,Pe){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=z;const St=(Pe=Pe||this.resolver).resolveComponentFactory(z._futureSnapshot.routeConfig.component),xt=this.parentContexts.getOrCreateContext(this.name).children,qt=new ps(z,xt,this.location.injector);this.activated=this.location.createComponent(St,this.location.length,qt),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return pe.\u0275fac=function(z){return new(z||pe)(e.Y36(jn),e.Y36(e.s_b),e.Y36(e._Vd),e.$8M("name"),e.Y36(e.sBO))},pe.\u0275dir=e.lG2({type:pe,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),pe})();class ps{constructor(W,z,Pe){this.route=W,this.childContexts=z,this.parent=Pe}get(W,z){return W===Ji?this.route:W===jn?this.childContexts:this.parent.get(W,z)}}let _n=(()=>{class pe{}return pe.\u0275fac=function(z){return new(z||pe)},pe.\u0275cmp=e.Xpm({type:pe,selectors:[["ng-component"]],decls:1,vars:0,template:function(z,Pe){1&z&&e._UZ(0,"router-outlet")},directives:[Sn],encapsulation:2}),pe})();function es(pe,W=""){for(let z=0;zot(Pe)===W);return z.push(...pe.filter(Pe=>ot(Pe)!==W)),z}const U={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Se(pe,W,z){var Pe;if(""===W.path)return"full"===W.pathMatch&&(pe.hasChildren()||z.length>0)?Object.assign({},U):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const dt=(W.matcher||re)(z,pe,W);if(!dt)return Object.assign({},U);const St={};mt(dt.posParams,(qt,_i)=>{St[_i]=qt.path});const xt=dt.consumed.length>0?Object.assign(Object.assign({},St),dt.consumed[dt.consumed.length-1].parameters):St;return{matched:!0,consumedSegments:dt.consumed,lastChild:dt.consumed.length,parameters:xt,positionalParamSegments:null!==(Pe=dt.posParams)&&void 0!==Pe?Pe:{}}}function nt(pe,W,z,Pe,ze="corrected"){if(z.length>0&&function De(pe,W,z){return z.some(Pe=>Ge(pe,W,Pe)&&ot(Pe)!==t)}(pe,z,Pe)){const St=new _e(W,function q(pe,W,z,Pe){const ze={};ze[t]=Pe,Pe._sourceSegment=pe,Pe._segmentIndexShift=W.length;for(const dt of z)if(""===dt.path&&ot(dt)!==t){const St=new _e([],{});St._sourceSegment=pe,St._segmentIndexShift=W.length,ze[ot(dt)]=St}return ze}(pe,W,Pe,new _e(z,pe.children)));return St._sourceSegment=pe,St._segmentIndexShift=W.length,{segmentGroup:St,slicedSegments:[]}}if(0===z.length&&function ie(pe,W,z){return z.some(Pe=>Ge(pe,W,Pe))}(pe,z,Pe)){const St=new _e(pe.segments,function ft(pe,W,z,Pe,ze,dt){const St={};for(const xt of Pe)if(Ge(pe,z,xt)&&!ze[ot(xt)]){const qt=new _e([],{});qt._sourceSegment=pe,qt._segmentIndexShift="legacy"===dt?pe.segments.length:W.length,St[ot(xt)]=qt}return Object.assign(Object.assign({},ze),St)}(pe,W,z,Pe,pe.children,ze));return St._sourceSegment=pe,St._segmentIndexShift=W.length,{segmentGroup:St,slicedSegments:z}}const dt=new _e(pe.segments,pe.children);return dt._sourceSegment=pe,dt._segmentIndexShift=W.length,{segmentGroup:dt,slicedSegments:z}}function Ge(pe,W,z){return(!(pe.hasChildren()||W.length>0)||"full"!==z.pathMatch)&&""===z.path}function bt(pe,W,z,Pe){return!!(ot(pe)===Pe||Pe!==t&&Ge(W,z,pe))&&("**"===pe.path||Se(W,pe,z).matched)}function Ft(pe,W,z){return 0===W.length&&!pe.children[z]}class jt{constructor(W){this.segmentGroup=W||null}}class ii{constructor(W){this.urlTree=W}}function ai(pe){return new A.y(W=>W.error(new jt(pe)))}function hi(pe){return new A.y(W=>W.error(new ii(pe)))}function mi(pe){return new A.y(W=>W.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${pe}'`)))}class xe{constructor(W,z,Pe,ze,dt){this.configLoader=z,this.urlSerializer=Pe,this.urlTree=ze,this.config=dt,this.allowRedirects=!0,this.ngModule=W.get(e.h0i)}apply(){const W=nt(this.urlTree.root,[],[],this.config).segmentGroup,z=new _e(W.segments,W.children);return this.expandSegmentGroup(this.ngModule,this.config,z,t).pipe((0,se.U)(dt=>this.createUrlTree(ye(dt),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,ne.K)(dt=>{if(dt instanceof ii)return this.allowRedirects=!1,this.match(dt.urlTree);throw dt instanceof jt?this.noMatchError(dt):dt}))}match(W){return this.expandSegmentGroup(this.ngModule,this.config,W.root,t).pipe((0,se.U)(ze=>this.createUrlTree(ye(ze),W.queryParams,W.fragment))).pipe((0,ne.K)(ze=>{throw ze instanceof jt?this.noMatchError(ze):ze}))}noMatchError(W){return new Error(`Cannot match any routes. URL Segment: '${W.segmentGroup}'`)}createUrlTree(W,z,Pe){const ze=W.segments.length>0?new _e([],{[t]:W}):W;return new X(ze,z,Pe)}expandSegmentGroup(W,z,Pe,ze){return 0===Pe.segments.length&&Pe.hasChildren()?this.expandChildren(W,z,Pe).pipe((0,se.U)(dt=>new _e([],dt))):this.expandSegment(W,Pe,z,Pe.segments,ze,!0)}expandChildren(W,z,Pe){const ze=[];for(const dt of Object.keys(Pe.children))"primary"===dt?ze.unshift(dt):ze.push(dt);return(0,f.D)(ze).pipe((0,Me.b)(dt=>{const St=Pe.children[dt],xt=B(z,dt);return this.expandSegmentGroup(W,xt,St,dt).pipe((0,se.U)(qt=>({segment:qt,outlet:dt})))}),V((dt,St)=>(dt[St.outlet]=St.segment,dt),{}),function te(pe,W){const z=arguments.length>=2;return Pe=>Pe.pipe(pe?(0,ce.h)((ze,dt)=>pe(ze,dt,Pe)):Q.y,de(1),z?(0,H.d)(W):(0,j.T)(()=>new s.K))}())}expandSegment(W,z,Pe,ze,dt,St){return(0,f.D)(Pe).pipe((0,Me.b)(xt=>this.expandSegmentAgainstRoute(W,z,Pe,xt,ze,dt,St).pipe((0,ne.K)(_i=>{if(_i instanceof jt)return(0,g.of)(null);throw _i}))),(0,ve.P)(xt=>!!xt),(0,ne.K)((xt,qt)=>{if(xt instanceof s.K||"EmptyError"===xt.name){if(Ft(z,ze,dt))return(0,g.of)(new _e([],{}));throw new jt(z)}throw xt}))}expandSegmentAgainstRoute(W,z,Pe,ze,dt,St,xt){return bt(ze,z,dt,St)?void 0===ze.redirectTo?this.matchSegmentAgainstRoute(W,z,ze,dt,St):xt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(W,z,Pe,ze,dt,St):ai(z):ai(z)}expandSegmentAgainstRouteUsingRedirect(W,z,Pe,ze,dt,St){return"**"===ze.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(W,Pe,ze,St):this.expandRegularSegmentAgainstRouteUsingRedirect(W,z,Pe,ze,dt,St)}expandWildCardWithParamsAgainstRouteUsingRedirect(W,z,Pe,ze){const dt=this.applyRedirectCommands([],Pe.redirectTo,{});return Pe.redirectTo.startsWith("/")?hi(dt):this.lineralizeSegments(Pe,dt).pipe((0,me.zg)(St=>{const xt=new _e(St,{});return this.expandSegment(W,xt,z,St,ze,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(W,z,Pe,ze,dt,St){const{matched:xt,consumedSegments:qt,lastChild:_i,positionalParamSegments:ji}=Se(z,ze,dt);if(!xt)return ai(z);const Ei=this.applyRedirectCommands(qt,ze.redirectTo,ji);return ze.redirectTo.startsWith("/")?hi(Ei):this.lineralizeSegments(ze,Ei).pipe((0,me.zg)(tn=>this.expandSegment(W,z,Pe,tn.concat(dt.slice(_i)),St,!1)))}matchSegmentAgainstRoute(W,z,Pe,ze,dt){if("**"===Pe.path)return Pe.loadChildren?(Pe._loadedConfig?(0,g.of)(Pe._loadedConfig):this.configLoader.load(W.injector,Pe)).pipe((0,se.U)(tn=>(Pe._loadedConfig=tn,new _e(ze,{})))):(0,g.of)(new _e(ze,{}));const{matched:St,consumedSegments:xt,lastChild:qt}=Se(z,Pe,ze);if(!St)return ai(z);const _i=ze.slice(qt);return this.getChildConfig(W,Pe,ze).pipe((0,me.zg)(Ei=>{const tn=Ei.module,an=Ei.routes,{segmentGroup:uo,slicedSegments:ds}=nt(z,xt,_i,an),ts=new _e(uo.segments,uo.children);if(0===ds.length&&ts.hasChildren())return this.expandChildren(tn,an,ts).pipe((0,se.U)(fs=>new _e(xt,fs)));if(0===an.length&&0===ds.length)return(0,g.of)(new _e(xt,{}));const Hs=ot(Pe)===dt;return this.expandSegment(tn,ts,an,ds,Hs?t:dt,!0).pipe((0,se.U)(Ss=>new _e(xt.concat(Ss.segments),Ss.children)))}))}getChildConfig(W,z,Pe){return z.children?(0,g.of)(new Ts(z.children,W)):z.loadChildren?void 0!==z._loadedConfig?(0,g.of)(z._loadedConfig):this.runCanLoadGuards(W.injector,z,Pe).pipe((0,me.zg)(ze=>ze?this.configLoader.load(W.injector,z).pipe((0,se.U)(dt=>(z._loadedConfig=dt,dt))):function yi(pe){return new A.y(W=>W.error(y(`Cannot load children because the guard of the route "path: '${pe.path}'" returned false`)))}(z))):(0,g.of)(new Ts([],W))}runCanLoadGuards(W,z,Pe){const ze=z.canLoad;if(!ze||0===ze.length)return(0,g.of)(!0);const dt=ze.map(St=>{const xt=W.get(St);let qt;if(function Fn(pe){return pe&&wn(pe.canLoad)}(xt))qt=xt.canLoad(z,Pe);else{if(!wn(xt))throw new Error("Invalid CanLoad guard");qt=xt(z,Pe)}return Ht(qt)});return(0,g.of)(dt).pipe(Hn(),(0,Te.b)(St=>{if(!gn(St))return;const xt=y(`Redirecting to "${this.urlSerializer.serialize(St)}"`);throw xt.url=St,xt}),(0,se.U)(St=>!0===St))}lineralizeSegments(W,z){let Pe=[],ze=z.root;for(;;){if(Pe=Pe.concat(ze.segments),0===ze.numberOfChildren)return(0,g.of)(Pe);if(ze.numberOfChildren>1||!ze.children[t])return mi(W.redirectTo);ze=ze.children[t]}}applyRedirectCommands(W,z,Pe){return this.applyRedirectCreatreUrlTree(z,this.urlSerializer.parse(z),W,Pe)}applyRedirectCreatreUrlTree(W,z,Pe,ze){const dt=this.createSegmentGroup(W,z.root,Pe,ze);return new X(dt,this.createQueryParams(z.queryParams,this.urlTree.queryParams),z.fragment)}createQueryParams(W,z){const Pe={};return mt(W,(ze,dt)=>{if("string"==typeof ze&&ze.startsWith(":")){const xt=ze.substring(1);Pe[dt]=z[xt]}else Pe[dt]=ze}),Pe}createSegmentGroup(W,z,Pe,ze){const dt=this.createSegments(W,z.segments,Pe,ze);let St={};return mt(z.children,(xt,qt)=>{St[qt]=this.createSegmentGroup(W,xt,Pe,ze)}),new _e(dt,St)}createSegments(W,z,Pe,ze){return z.map(dt=>dt.path.startsWith(":")?this.findPosParam(W,dt,ze):this.findOrReturn(dt,Pe))}findPosParam(W,z,Pe){const ze=Pe[z.path.substring(1)];if(!ze)throw new Error(`Cannot redirect to '${W}'. Cannot find '${z.path}'.`);return ze}findOrReturn(W,z){let Pe=0;for(const ze of z){if(ze.path===W.path)return z.splice(Pe),ze;Pe++}return W}}function ye(pe){const W={};for(const Pe of Object.keys(pe.children)){const dt=ye(pe.children[Pe]);(dt.segments.length>0||dt.hasChildren())&&(W[Pe]=dt)}return function Ee(pe){if(1===pe.numberOfChildren&&pe.children[t]){const W=pe.children[t];return new _e(pe.segments.concat(W.segments),W.children)}return pe}(new _e(pe.segments,W))}class Bt{constructor(W){this.path=W,this.route=this.path[this.path.length-1]}}class ci{constructor(W,z){this.component=W,this.route=z}}function Bi(pe,W,z){const Pe=pe._root;return zn(Pe,W?W._root:null,z,[Pe.value])}function On(pe,W,z){const Pe=function Kn(pe){if(!pe)return null;for(let W=pe.parent;W;W=W.parent){const z=W.routeConfig;if(z&&z._loadedConfig)return z._loadedConfig}return null}(W);return(Pe?Pe.module.injector:z).get(pe)}function zn(pe,W,z,Pe,ze={canDeactivateChecks:[],canActivateChecks:[]}){const dt=Qt(W);return pe.children.forEach(St=>{(function Ws(pe,W,z,Pe,ze={canDeactivateChecks:[],canActivateChecks:[]}){const dt=pe.value,St=W?W.value:null,xt=z?z.getContext(pe.value.outlet):null;if(St&&dt.routeConfig===St.routeConfig){const qt=function ti(pe,W,z){if("function"==typeof z)return z(pe,W);switch(z){case"pathParamsChange":return!Ut(pe.url,W.url);case"pathParamsOrQueryParamsChange":return!Ut(pe.url,W.url)||!yt(pe.queryParams,W.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sn(pe,W)||!yt(pe.queryParams,W.queryParams);default:return!sn(pe,W)}}(St,dt,dt.routeConfig.runGuardsAndResolvers);qt?ze.canActivateChecks.push(new Bt(Pe)):(dt.data=St.data,dt._resolvedData=St._resolvedData),zn(pe,W,dt.component?xt?xt.children:null:z,Pe,ze),qt&&xt&&xt.outlet&&xt.outlet.isActivated&&ze.canDeactivateChecks.push(new ci(xt.outlet.component,St))}else St&&si(W,xt,ze),ze.canActivateChecks.push(new Bt(Pe)),zn(pe,null,dt.component?xt?xt.children:null:z,Pe,ze)})(St,dt[St.value.outlet],z,Pe.concat([St.value]),ze),delete dt[St.value.outlet]}),mt(dt,(St,xt)=>si(St,z.getContext(xt),ze)),ze}function si(pe,W,z){const Pe=Qt(pe),ze=pe.value;mt(Pe,(dt,St)=>{si(dt,ze.component?W?W.children.getContext(St):null:W,z)}),z.canDeactivateChecks.push(new ci(ze.component&&W&&W.outlet&&W.outlet.isActivated?W.outlet.component:null,ze))}class io{}function rs(pe){return new A.y(W=>W.error(pe))}class hn{constructor(W,z,Pe,ze,dt,St){this.rootComponentType=W,this.config=z,this.urlTree=Pe,this.url=ze,this.paramsInheritanceStrategy=dt,this.relativeLinkResolution=St}recognize(){const W=nt(this.urlTree.root,[],[],this.config.filter(St=>void 0===St.redirectTo),this.relativeLinkResolution).segmentGroup,z=this.processSegmentGroup(this.config,W,t);if(null===z)return null;const Pe=new pn([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},t,this.rootComponentType,null,this.urlTree.root,-1,{}),ze=new ei(Pe,z),dt=new Pi(this.url,ze);return this.inheritParamsAndData(dt._root),dt}inheritParamsAndData(W){const z=W.value,Pe=Ni(z,this.paramsInheritanceStrategy);z.params=Object.freeze(Pe.params),z.data=Object.freeze(Pe.data),W.children.forEach(ze=>this.inheritParamsAndData(ze))}processSegmentGroup(W,z,Pe){return 0===z.segments.length&&z.hasChildren()?this.processChildren(W,z):this.processSegment(W,z,z.segments,Pe)}processChildren(W,z){const Pe=[];for(const dt of Object.keys(z.children)){const St=z.children[dt],xt=B(W,dt),qt=this.processSegmentGroup(xt,St,dt);if(null===qt)return null;Pe.push(...qt)}const ze=ls(Pe);return function Tn(pe){pe.sort((W,z)=>W.value.outlet===t?-1:z.value.outlet===t?1:W.value.outlet.localeCompare(z.value.outlet))}(ze),ze}processSegment(W,z,Pe,ze){for(const dt of W){const St=this.processSegmentAgainstRoute(dt,z,Pe,ze);if(null!==St)return St}return Ft(z,Pe,ze)?[]:null}processSegmentAgainstRoute(W,z,Pe,ze){if(W.redirectTo||!bt(W,z,Pe,ze))return null;let dt,St=[],xt=[];if("**"===W.path){const an=Pe.length>0?It(Pe).parameters:{};dt=new pn(Pe,an,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,or(W),ot(W),W.component,W,ao(z),yo(z)+Pe.length,le(W))}else{const an=Se(z,W,Pe);if(!an.matched)return null;St=an.consumedSegments,xt=Pe.slice(an.lastChild),dt=new pn(St,an.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,or(W),ot(W),W.component,W,ao(z),yo(z)+St.length,le(W))}const qt=function as(pe){return pe.children?pe.children:pe.loadChildren?pe._loadedConfig.routes:[]}(W),{segmentGroup:_i,slicedSegments:ji}=nt(z,St,xt,qt.filter(an=>void 0===an.redirectTo),this.relativeLinkResolution);if(0===ji.length&&_i.hasChildren()){const an=this.processChildren(qt,_i);return null===an?null:[new ei(dt,an)]}if(0===qt.length&&0===ji.length)return[new ei(dt,[])];const Ei=ot(W)===ze,tn=this.processSegment(qt,_i,ji,Ei?t:ze);return null===tn?null:[new ei(dt,tn)]}}function cs(pe){const W=pe.value.routeConfig;return W&&""===W.path&&void 0===W.redirectTo}function ls(pe){const W=[],z=new Set;for(const Pe of pe){if(!cs(Pe)){W.push(Pe);continue}const ze=W.find(dt=>Pe.value.routeConfig===dt.value.routeConfig);void 0!==ze?(ze.children.push(...Pe.children),z.add(ze)):W.push(Pe)}for(const Pe of z){const ze=ls(Pe.children);W.push(new ei(Pe.value,ze))}return W.filter(Pe=>!z.has(Pe))}function ao(pe){let W=pe;for(;W._sourceSegment;)W=W._sourceSegment;return W}function yo(pe){let W=pe,z=W._segmentIndexShift?W._segmentIndexShift:0;for(;W._sourceSegment;)W=W._sourceSegment,z+=W._segmentIndexShift?W._segmentIndexShift:0;return z-1}function or(pe){return pe.data||{}}function le(pe){return pe.resolve||{}}function Yt(pe){return[...Object.keys(pe),...Object.getOwnPropertySymbols(pe)]}function ui(pe){return(0,ge.w)(W=>{const z=pe(W);return z?(0,f.D)(z).pipe((0,se.U)(()=>W)):(0,g.of)(W)})}class oi{}class Zi extends class Di{shouldDetach(W){return!1}store(W,z){}shouldAttach(W){return!1}retrieve(W){return null}shouldReuseRoute(W,z){return W.routeConfig===z.routeConfig}}{}const en=new e.OlP("ROUTES");class Nn{constructor(W,z,Pe,ze){this.injector=W,this.compiler=z,this.onLoadStartListener=Pe,this.onLoadEndListener=ze}load(W,z){if(z._loader$)return z._loader$;this.onLoadStartListener&&this.onLoadStartListener(z);const ze=this.loadModuleFactory(z.loadChildren).pipe((0,se.U)(dt=>{this.onLoadEndListener&&this.onLoadEndListener(z);const St=dt.create(W);return new Ts(Nt(St.injector.get(en,void 0,e.XFs.Self|e.XFs.Optional)).map(ws),St)}),(0,ne.K)(dt=>{throw z._loader$=void 0,dt}));return z._loader$=new h.c(ze,()=>new k.xQ).pipe((0,ee.x)()),z._loader$}loadModuleFactory(W){return Ht(W()).pipe((0,me.zg)(z=>z instanceof e.YKP?(0,g.of)(z):(0,f.D)(this.compiler.compileModuleAsync(z))))}}class Ii{shouldProcessUrl(W){return!0}extract(W){return W}merge(W,z){return W}}function on(pe){throw pe}function Gi(pe,W,z){return W.parse("/")}function rn(pe,W){return(0,g.of)(null)}const Xi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Yn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let vn=(()=>{class pe{constructor(z,Pe,ze,dt,St,xt,qt){this.rootComponentType=z,this.urlSerializer=Pe,this.rootContexts=ze,this.location=dt,this.config=qt,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new k.xQ,this.errorHandler=on,this.malformedUriErrorHandler=Gi,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:rn,afterPreactivation:rn},this.urlHandlingStrategy=new Ii,this.routeReuseStrategy=new Zi,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=St.get(e.h0i),this.console=St.get(e.c2e);const Ei=St.get(e.R0b);this.isNgZoneEnabled=Ei instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(qt),this.currentUrlTree=function _t(){return new X(new _e([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Nn(St,xt,tn=>this.triggerEvent(new S(tn)),tn=>this.triggerEvent(new I(tn))),this.routerState=bi(this.currentUrlTree,this.rootComponentType),this.transitions=new T.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var z;return null===(z=this.location.getState())||void 0===z?void 0:z.\u0275routerPageId}setupNavigations(z){const Pe=this.events;return z.pipe((0,ce.h)(ze=>0!==ze.id),(0,se.U)(ze=>Object.assign(Object.assign({},ze),{extractedUrl:this.urlHandlingStrategy.extract(ze.rawUrl)})),(0,ge.w)(ze=>{let dt=!1,St=!1;return(0,g.of)(ze).pipe((0,Te.b)(xt=>{this.currentNavigation={id:xt.id,initialUrl:xt.currentRawUrl,extractedUrl:xt.extractedUrl,trigger:xt.source,extras:xt.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,ge.w)(xt=>{const qt=this.browserUrlTree.toString(),_i=!this.navigated||xt.extractedUrl.toString()!==qt||qt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||_i)&&this.urlHandlingStrategy.shouldProcessUrl(xt.rawUrl))return vo(xt.source)&&(this.browserUrlTree=xt.extractedUrl),(0,g.of)(xt).pipe((0,ge.w)(Ei=>{const tn=this.transitions.getValue();return Pe.next(new fe(Ei.id,this.serializeUrl(Ei.extractedUrl),Ei.source,Ei.restoredState)),tn!==this.transitions.getValue()?E.E:Promise.resolve(Ei)}),function st(pe,W,z,Pe){return(0,ge.w)(ze=>function xi(pe,W,z,Pe,ze){return new xe(pe,W,z,Pe,ze).apply()}(pe,W,z,ze.extractedUrl,Pe).pipe((0,se.U)(dt=>Object.assign(Object.assign({},ze),{urlAfterRedirects:dt}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Te.b)(Ei=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:Ei.urlAfterRedirects})}),function $e(pe,W,z,Pe,ze){return(0,me.zg)(dt=>function yn(pe,W,z,Pe,ze="emptyOnly",dt="legacy"){try{const St=new hn(pe,W,z,Pe,ze,dt).recognize();return null===St?rs(new io):(0,g.of)(St)}catch(St){return rs(St)}}(pe,W,dt.urlAfterRedirects,z(dt.urlAfterRedirects),Pe,ze).pipe((0,se.U)(St=>Object.assign(Object.assign({},dt),{targetSnapshot:St}))))}(this.rootComponentType,this.config,Ei=>this.serializeUrl(Ei),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Te.b)(Ei=>{if("eager"===this.urlUpdateStrategy){if(!Ei.extras.skipLocationChange){const an=this.urlHandlingStrategy.merge(Ei.urlAfterRedirects,Ei.rawUrl);this.setBrowserUrl(an,Ei)}this.browserUrlTree=Ei.urlAfterRedirects}const tn=new tt(Ei.id,this.serializeUrl(Ei.extractedUrl),this.serializeUrl(Ei.urlAfterRedirects),Ei.targetSnapshot);Pe.next(tn)}));if(_i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:tn,extractedUrl:an,source:uo,restoredState:ds,extras:ts}=xt,Hs=new fe(tn,this.serializeUrl(an),uo,ds);Pe.next(Hs);const ho=bi(an,this.rootComponentType).snapshot;return(0,g.of)(Object.assign(Object.assign({},xt),{targetSnapshot:ho,urlAfterRedirects:an,extras:Object.assign(Object.assign({},ts),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=xt.rawUrl,xt.resolve(null),E.E}),ui(xt=>{const{targetSnapshot:qt,id:_i,extractedUrl:ji,rawUrl:Ei,extras:{skipLocationChange:tn,replaceUrl:an}}=xt;return this.hooks.beforePreactivation(qt,{navigationId:_i,appliedUrlTree:ji,rawUrlTree:Ei,skipLocationChange:!!tn,replaceUrl:!!an})}),(0,Te.b)(xt=>{const qt=new rt(xt.id,this.serializeUrl(xt.extractedUrl),this.serializeUrl(xt.urlAfterRedirects),xt.targetSnapshot);this.triggerEvent(qt)}),(0,se.U)(xt=>Object.assign(Object.assign({},xt),{guards:Bi(xt.targetSnapshot,xt.currentSnapshot,this.rootContexts)})),function vi(pe,W){return(0,me.zg)(z=>{const{targetSnapshot:Pe,currentSnapshot:ze,guards:{canActivateChecks:dt,canDeactivateChecks:St}}=z;return 0===St.length&&0===dt.length?(0,g.of)(Object.assign(Object.assign({},z),{guardsResult:!0})):function gi(pe,W,z,Pe){return(0,f.D)(pe).pipe((0,me.zg)(ze=>function dn(pe,W,z,Pe,ze){const dt=W&&W.routeConfig?W.routeConfig.canDeactivate:null;if(!dt||0===dt.length)return(0,g.of)(!0);const St=dt.map(xt=>{const qt=On(xt,W,ze);let _i;if(function Xn(pe){return pe&&wn(pe.canDeactivate)}(qt))_i=Ht(qt.canDeactivate(pe,W,z,Pe));else{if(!wn(qt))throw new Error("Invalid CanDeactivate guard");_i=Ht(qt(pe,W,z,Pe))}return _i.pipe((0,ve.P)())});return(0,g.of)(St).pipe(Hn())}(ze.component,ze.route,z,W,Pe)),(0,ve.P)(ze=>!0!==ze,!0))}(St,Pe,ze,pe).pipe((0,me.zg)(xt=>xt&&function Cs(pe){return"boolean"==typeof pe}(xt)?function Fi(pe,W,z,Pe){return(0,f.D)(W).pipe((0,Me.b)(ze=>(0,b.z)(function An(pe,W){return null!==pe&&W&&W(new P(pe)),(0,g.of)(!0)}(ze.route.parent,Pe),function un(pe,W){return null!==pe&&W&&W(new r(pe)),(0,g.of)(!0)}(ze.route,Pe),function Vn(pe,W,z){const Pe=W[W.length-1],dt=W.slice(0,W.length-1).reverse().map(St=>function ln(pe){const W=pe.routeConfig?pe.routeConfig.canActivateChild:null;return W&&0!==W.length?{node:pe,guards:W}:null}(St)).filter(St=>null!==St).map(St=>(0,O.P)(()=>{const xt=St.guards.map(qt=>{const _i=On(qt,St.node,z);let ji;if(function Qn(pe){return pe&&wn(pe.canActivateChild)}(_i))ji=Ht(_i.canActivateChild(Pe,pe));else{if(!wn(_i))throw new Error("Invalid CanActivateChild guard");ji=Ht(_i(Pe,pe))}return ji.pipe((0,ve.P)())});return(0,g.of)(xt).pipe(Hn())}));return(0,g.of)(dt).pipe(Hn())}(pe,ze.path,z),function Dn(pe,W,z){const Pe=W.routeConfig?W.routeConfig.canActivate:null;if(!Pe||0===Pe.length)return(0,g.of)(!0);const ze=Pe.map(dt=>(0,O.P)(()=>{const St=On(dt,W,z);let xt;if(function Jn(pe){return pe&&wn(pe.canActivate)}(St))xt=Ht(St.canActivate(W,pe));else{if(!wn(St))throw new Error("Invalid CanActivate guard");xt=Ht(St(W,pe))}return xt.pipe((0,ve.P)())}));return(0,g.of)(ze).pipe(Hn())}(pe,ze.route,z))),(0,ve.P)(ze=>!0!==ze,!0))}(Pe,dt,pe,W):(0,g.of)(xt)),(0,se.U)(xt=>Object.assign(Object.assign({},z),{guardsResult:xt})))})}(this.ngModule.injector,xt=>this.triggerEvent(xt)),(0,Te.b)(xt=>{if(gn(xt.guardsResult)){const _i=y(`Redirecting to "${this.serializeUrl(xt.guardsResult)}"`);throw _i.url=xt.guardsResult,_i}const qt=new N(xt.id,this.serializeUrl(xt.extractedUrl),this.serializeUrl(xt.urlAfterRedirects),xt.targetSnapshot,!!xt.guardsResult);this.triggerEvent(qt)}),(0,ce.h)(xt=>!!xt.guardsResult||(this.restoreHistory(xt),this.cancelNavigationTransition(xt,""),!1)),ui(xt=>{if(xt.guards.canActivateChecks.length)return(0,g.of)(xt).pipe((0,Te.b)(qt=>{const _i=new he(qt.id,this.serializeUrl(qt.extractedUrl),this.serializeUrl(qt.urlAfterRedirects),qt.targetSnapshot);this.triggerEvent(_i)}),(0,ge.w)(qt=>{let _i=!1;return(0,g.of)(qt).pipe(function Re(pe,W){return(0,me.zg)(z=>{const{targetSnapshot:Pe,guards:{canActivateChecks:ze}}=z;if(!ze.length)return(0,g.of)(z);let dt=0;return(0,f.D)(ze).pipe((0,Me.b)(St=>function at(pe,W,z,Pe){return function kt(pe,W,z,Pe){const ze=Yt(pe);if(0===ze.length)return(0,g.of)({});const dt={};return(0,f.D)(ze).pipe((0,me.zg)(St=>function ni(pe,W,z,Pe){const ze=On(pe,W,Pe);return Ht(ze.resolve?ze.resolve(W,z):ze(W,z))}(pe[St],W,z,Pe).pipe((0,Te.b)(xt=>{dt[St]=xt}))),de(1),(0,me.zg)(()=>Yt(dt).length===ze.length?(0,g.of)(dt):E.E))}(pe._resolve,pe,W,Pe).pipe((0,se.U)(dt=>(pe._resolvedData=dt,pe.data=Object.assign(Object.assign({},pe.data),Ni(pe,z).resolve),null)))}(St.route,Pe,pe,W)),(0,Te.b)(()=>dt++),de(1),(0,me.zg)(St=>dt===ze.length?(0,g.of)(z):E.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Te.b)({next:()=>_i=!0,complete:()=>{_i||(this.restoreHistory(qt),this.cancelNavigationTransition(qt,"At least one route resolver didn't emit any value."))}}))}),(0,Te.b)(qt=>{const _i=new D(qt.id,this.serializeUrl(qt.extractedUrl),this.serializeUrl(qt.urlAfterRedirects),qt.targetSnapshot);this.triggerEvent(_i)}))}),ui(xt=>{const{targetSnapshot:qt,id:_i,extractedUrl:ji,rawUrl:Ei,extras:{skipLocationChange:tn,replaceUrl:an}}=xt;return this.hooks.afterPreactivation(qt,{navigationId:_i,appliedUrlTree:ji,rawUrlTree:Ei,skipLocationChange:!!tn,replaceUrl:!!an})}),(0,se.U)(xt=>{const qt=function qi(pe,W,z){const Pe=Ct(pe,W._root,z?z._root:void 0);return new Ri(Pe,W)}(this.routeReuseStrategy,xt.targetSnapshot,xt.currentRouterState);return Object.assign(Object.assign({},xt),{targetRouterState:qt})}),(0,Te.b)(xt=>{this.currentUrlTree=xt.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(xt.urlAfterRedirects,xt.rawUrl),this.routerState=xt.targetRouterState,"deferred"===this.urlUpdateStrategy&&(xt.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,xt),this.browserUrlTree=xt.urlAfterRedirects)}),((pe,W,z)=>(0,se.U)(Pe=>(new ss(W,Pe.targetRouterState,Pe.currentRouterState,z).activate(pe),Pe)))(this.rootContexts,this.routeReuseStrategy,xt=>this.triggerEvent(xt)),(0,Te.b)({next(){dt=!0},complete(){dt=!0}}),(0,R.x)(()=>{var xt;dt||St||this.cancelNavigationTransition(ze,`Navigation ID ${ze.id} is not equal to the current navigation id ${this.navigationId}`),(null===(xt=this.currentNavigation)||void 0===xt?void 0:xt.id)===ze.id&&(this.currentNavigation=null)}),(0,ne.K)(xt=>{if(St=!0,function M(pe){return pe&&pe[u]}(xt)){const qt=gn(xt.url);qt||(this.navigated=!0,this.restoreHistory(ze,!0));const _i=new Ve(ze.id,this.serializeUrl(ze.extractedUrl),xt.message);Pe.next(_i),qt?setTimeout(()=>{const ji=this.urlHandlingStrategy.merge(xt.url,this.rawUrlTree),Ei={skipLocationChange:ze.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||vo(ze.source)};this.scheduleNavigation(ji,"imperative",null,Ei,{resolve:ze.resolve,reject:ze.reject,promise:ze.promise})},0):ze.resolve(!1)}else{this.restoreHistory(ze,!0);const qt=new Xe(ze.id,this.serializeUrl(ze.extractedUrl),xt);Pe.next(qt);try{ze.resolve(this.errorHandler(xt))}catch(_i){ze.reject(_i)}}return E.E}))}))}resetRootComponentType(z){this.rootComponentType=z,this.routerState.root.component=this.rootComponentType}setTransition(z){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),z))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(z=>{const Pe="popstate"===z.type?"popstate":"hashchange";"popstate"===Pe&&setTimeout(()=>{var ze;const dt={replaceUrl:!0},St=(null===(ze=z.state)||void 0===ze?void 0:ze.navigationId)?z.state:null;if(St){const qt=Object.assign({},St);delete qt.navigationId,delete qt.\u0275routerPageId,0!==Object.keys(qt).length&&(dt.state=qt)}const xt=this.parseUrl(z.url);this.scheduleNavigation(xt,Pe,St,dt)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(z){this.events.next(z)}resetConfig(z){es(z),this.config=z.map(ws),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(z,Pe={}){const{relativeTo:ze,queryParams:dt,fragment:St,queryParamsHandling:xt,preserveFragment:qt}=Pe,_i=ze||this.routerState.root,ji=qt?this.currentUrlTree.fragment:St;let Ei=null;switch(xt){case"merge":Ei=Object.assign(Object.assign({},this.currentUrlTree.queryParams),dt);break;case"preserve":Ei=this.currentUrlTree.queryParams;break;default:Ei=dt||null}return null!==Ei&&(Ei=this.removeEmptyProps(Ei)),function lt(pe,W,z,Pe,ze){if(0===z.length)return zt(W.root,W.root,W,Pe,ze);const dt=function Oi(pe){if("string"==typeof pe[0]&&1===pe.length&&"/"===pe[0])return new di(!0,0,pe);let W=0,z=!1;const Pe=pe.reduce((ze,dt,St)=>{if("object"==typeof dt&&null!=dt){if(dt.outlets){const xt={};return mt(dt.outlets,(qt,_i)=>{xt[_i]="string"==typeof qt?qt.split("/"):qt}),[...ze,{outlets:xt}]}if(dt.segmentPath)return[...ze,dt.segmentPath]}return"string"!=typeof dt?[...ze,dt]:0===St?(dt.split("/").forEach((xt,qt)=>{0==qt&&"."===xt||(0==qt&&""===xt?z=!0:".."===xt?W++:""!=xt&&ze.push(xt))}),ze):[...ze,dt]},[]);return new di(z,W,Pe)}(z);if(dt.toRoot())return zt(W.root,new _e([],{}),W,Pe,ze);const St=function mn(pe,W,z){if(pe.isAbsolute)return new zi(W.root,!0,0);if(-1===z.snapshot._lastPathIndex){const dt=z.snapshot._urlSegment;return new zi(dt,dt===W.root,0)}const Pe=we(pe.commands[0])?0:1;return function In(pe,W,z){let Pe=pe,ze=W,dt=z;for(;dt>ze;){if(dt-=ze,Pe=Pe.parent,!Pe)throw new Error("Invalid number of '../'");ze=Pe.segments.length}return new zi(Pe,!1,ze-dt)}(z.snapshot._urlSegment,z.snapshot._lastPathIndex+Pe,pe.numberOfDoubleDots)}(dt,W,pe),xt=St.processChildren?Zn(St.segmentGroup,St.index,dt.commands):$n(St.segmentGroup,St.index,dt.commands);return zt(St.segmentGroup,xt,W,Pe,ze)}(_i,this.currentUrlTree,z,Ei,null!=ji?ji:null)}navigateByUrl(z,Pe={skipLocationChange:!1}){const ze=gn(z)?z:this.parseUrl(z),dt=this.urlHandlingStrategy.merge(ze,this.rawUrlTree);return this.scheduleNavigation(dt,"imperative",null,Pe)}navigate(z,Pe={skipLocationChange:!1}){return function Ha(pe){for(let W=0;W{const dt=z[ze];return null!=dt&&(Pe[ze]=dt),Pe},{})}processNavigations(){this.navigations.subscribe(z=>{this.navigated=!0,this.lastSuccessfulId=z.id,this.currentPageId=z.targetPageId,this.events.next(new Ce(z.id,this.serializeUrl(z.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,z.resolve(!0)},z=>{this.console.warn(`Unhandled Navigation Error: ${z}`)})}scheduleNavigation(z,Pe,ze,dt,St){var xt,qt,_i;if(this.disposed)return Promise.resolve(!1);const ji=this.transitions.value,Ei=vo(Pe)&&ji&&!vo(ji.source),tn=ji.rawUrl.toString()===z.toString(),an=ji.id===(null===(xt=this.currentNavigation)||void 0===xt?void 0:xt.id);if(Ei&&tn&&an)return Promise.resolve(!0);let ds,ts,Hs;St?(ds=St.resolve,ts=St.reject,Hs=St.promise):Hs=new Promise((fs,Xr)=>{ds=fs,ts=Xr});const ho=++this.navigationId;let Ss;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(ze=this.location.getState()),Ss=ze&&ze.\u0275routerPageId?ze.\u0275routerPageId:dt.replaceUrl||dt.skipLocationChange?null!==(qt=this.browserPageId)&&void 0!==qt?qt:0:(null!==(_i=this.browserPageId)&&void 0!==_i?_i:0)+1):Ss=0,this.setTransition({id:ho,targetPageId:Ss,source:Pe,restoredState:ze,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:z,extras:dt,resolve:ds,reject:ts,promise:Hs,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Hs.catch(fs=>Promise.reject(fs))}setBrowserUrl(z,Pe){const ze=this.urlSerializer.serialize(z),dt=Object.assign(Object.assign({},Pe.extras.state),this.generateNgRouterState(Pe.id,Pe.targetPageId));this.location.isCurrentPathEqualTo(ze)||Pe.extras.replaceUrl?this.location.replaceState(ze,"",dt):this.location.go(ze,"",dt)}restoreHistory(z,Pe=!1){var ze,dt;if("computed"===this.canceledNavigationResolution){const St=this.currentPageId-z.targetPageId;"popstate"!==z.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(ze=this.currentNavigation)||void 0===ze?void 0:ze.finalUrl)||0===St?this.currentUrlTree===(null===(dt=this.currentNavigation)||void 0===dt?void 0:dt.finalUrl)&&0===St&&(this.resetState(z),this.browserUrlTree=z.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(St)}else"replace"===this.canceledNavigationResolution&&(Pe&&this.resetState(z),this.resetUrlToCurrentUrlTree())}resetState(z){this.routerState=z.currentRouterState,this.currentUrlTree=z.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,z.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(z,Pe){const ze=new Ve(z.id,this.serializeUrl(z.extractedUrl),Pe);this.triggerEvent(ze),z.resolve(!1)}generateNgRouterState(z,Pe){return"computed"===this.canceledNavigationResolution?{navigationId:z,\u0275routerPageId:Pe}:{navigationId:z}}}return pe.\u0275fac=function(z){e.$Z()},pe.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac}),pe})();function vo(pe){return"imperative"!==pe}let $s=(()=>{class pe{constructor(z,Pe,ze,dt,St){this.router=z,this.route=Pe,this.tabIndexAttribute=ze,this.renderer=dt,this.el=St,this.commands=null,this.onChanges=new k.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(z){if(null!=this.tabIndexAttribute)return;const Pe=this.renderer,ze=this.el.nativeElement;null!==z?Pe.setAttribute(ze,"tabindex",z):Pe.removeAttribute(ze,"tabindex")}ngOnChanges(z){this.onChanges.next(this)}set routerLink(z){null!=z?(this.commands=Array.isArray(z)?z:[z],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const z={skipLocationChange:Rs(this.skipLocationChange),replaceUrl:Rs(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,z),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Rs(this.preserveFragment)})}}return pe.\u0275fac=function(z){return new(z||pe)(e.Y36(vn),e.Y36(Ji),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq))},pe.\u0275dir=e.lG2({type:pe,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(z,Pe){1&z&&e.NdJ("click",function(){return Pe.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[e.TTD]}),pe})(),Js=(()=>{class pe{constructor(z,Pe,ze){this.router=z,this.route=Pe,this.locationStrategy=ze,this.commands=null,this.href=null,this.onChanges=new k.xQ,this.subscription=z.events.subscribe(dt=>{dt instanceof Ce&&this.updateTargetUrlAndHref()})}set routerLink(z){this.commands=null!=z?Array.isArray(z)?z:[z]:null}ngOnChanges(z){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(z,Pe,ze,dt,St){if(0!==z||Pe||ze||dt||St||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const xt={skipLocationChange:Rs(this.skipLocationChange),replaceUrl:Rs(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,xt),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Rs(this.preserveFragment)})}}return pe.\u0275fac=function(z){return new(z||pe)(e.Y36(vn),e.Y36(Ji),e.Y36(Ie.S$))},pe.\u0275dir=e.lG2({type:pe,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(z,Pe){1&z&&e.NdJ("click",function(dt){return Pe.onClick(dt.button,dt.ctrlKey,dt.shiftKey,dt.altKey,dt.metaKey)}),2&z&&e.uIk("target",Pe.target)("href",Pe.href,e.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[e.TTD]}),pe})();function Rs(pe){return""===pe||!!pe}class Yr{}class Qs{preload(W,z){return(0,g.of)(null)}}let qr=(()=>{class pe{constructor(z,Pe,ze,dt){this.router=z,this.injector=ze,this.preloadingStrategy=dt,this.loader=new Nn(ze,Pe,qt=>z.triggerEvent(new S(qt)),qt=>z.triggerEvent(new I(qt)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,ce.h)(z=>z instanceof Ce),(0,Me.b)(()=>this.preload())).subscribe(()=>{})}preload(){const z=this.injector.get(e.h0i);return this.processRoutes(z,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(z,Pe){const ze=[];for(const dt of Pe)if(dt.loadChildren&&!dt.canLoad&&dt._loadedConfig){const St=dt._loadedConfig;ze.push(this.processRoutes(St.module,St.routes))}else dt.loadChildren&&!dt.canLoad?ze.push(this.preloadConfig(z,dt)):dt.children&&ze.push(this.processRoutes(z,dt.children));return(0,f.D)(ze).pipe((0,Oe.J)(),(0,se.U)(dt=>{}))}preloadConfig(z,Pe){return this.preloadingStrategy.preload(Pe,()=>(Pe._loadedConfig?(0,g.of)(Pe._loadedConfig):this.loader.load(z.injector,Pe)).pipe((0,me.zg)(dt=>(Pe._loadedConfig=dt,this.processRoutes(dt.module,dt.routes)))))}}return pe.\u0275fac=function(z){return new(z||pe)(e.LFG(vn),e.LFG(e.Sil),e.LFG(e.zs3),e.LFG(Yr))},pe.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac}),pe})(),ar=(()=>{class pe{constructor(z,Pe,ze={}){this.router=z,this.viewportScroller=Pe,this.options=ze,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},ze.scrollPositionRestoration=ze.scrollPositionRestoration||"disabled",ze.anchorScrolling=ze.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(z=>{z instanceof fe?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=z.navigationTrigger,this.restoredId=z.restoredState?z.restoredState.navigationId:0):z instanceof Ce&&(this.lastId=z.id,this.scheduleScrollEvent(z,this.router.parseUrl(z.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(z=>{z instanceof o&&(z.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(z.position):z.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(z.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(z,Pe){this.router.triggerEvent(new o(z,"popstate"===this.lastSource?this.store[this.restoredId]:null,Pe))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return pe.\u0275fac=function(z){e.$Z()},pe.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac}),pe})();const Os=new e.OlP("ROUTER_CONFIGURATION"),Wr=new e.OlP("ROUTER_FORROOT_GUARD"),Ua=[Ie.Ye,{provide:Dt,useClass:Et},{provide:vn,useFactory:function Jr(pe,W,z,Pe,ze,dt,St={},xt,qt){const _i=new vn(null,pe,W,z,Pe,ze,Nt(dt));return xt&&(_i.urlHandlingStrategy=xt),qt&&(_i.routeReuseStrategy=qt),function Qr(pe,W){pe.errorHandler&&(W.errorHandler=pe.errorHandler),pe.malformedUriErrorHandler&&(W.malformedUriErrorHandler=pe.malformedUriErrorHandler),pe.onSameUrlNavigation&&(W.onSameUrlNavigation=pe.onSameUrlNavigation),pe.paramsInheritanceStrategy&&(W.paramsInheritanceStrategy=pe.paramsInheritanceStrategy),pe.relativeLinkResolution&&(W.relativeLinkResolution=pe.relativeLinkResolution),pe.urlUpdateStrategy&&(W.urlUpdateStrategy=pe.urlUpdateStrategy),pe.canceledNavigationResolution&&(W.canceledNavigationResolution=pe.canceledNavigationResolution)}(St,_i),St.enableTracing&&_i.events.subscribe(ji=>{var Ei,tn;null===(Ei=console.group)||void 0===Ei||Ei.call(console,`Router Event: ${ji.constructor.name}`),console.log(ji.toString()),console.log(ji),null===(tn=console.groupEnd)||void 0===tn||tn.call(console)}),_i},deps:[Dt,jn,Ie.Ye,e.zs3,e.Sil,en,Os,[class us{},new e.FiY],[oi,new e.FiY]]},jn,{provide:Ji,useFactory:function no(pe){return pe.routerState.root},deps:[vn]},qr,Qs,class Fs{preload(W,z){return z().pipe((0,ne.K)(()=>(0,g.of)(null)))}},{provide:Os,useValue:{enableTracing:!1}}];function pu(){return new e.PXZ("Router",vn)}let fu=(()=>{class pe{constructor(z,Pe){}static forRoot(z,Pe){return{ngModule:pe,providers:[Ua,co(z),{provide:Wr,useFactory:cr,deps:[[vn,new e.FiY,new e.tp0]]},{provide:Os,useValue:Pe||{}},{provide:Ie.S$,useFactory:$r,deps:[Ie.lw,[new e.tBr(Ie.mr),new e.FiY],Os]},{provide:ar,useFactory:Co,deps:[vn,Ie.EM,Os]},{provide:Yr,useExisting:Pe&&Pe.preloadingStrategy?Pe.preloadingStrategy:Qs},{provide:e.PXZ,multi:!0,useFactory:pu},[lr,{provide:e.ip1,multi:!0,useFactory:so,deps:[lr]},{provide:lo,useFactory:ur,deps:[lr]},{provide:e.tb,multi:!0,useExisting:lo}]]}}static forChild(z){return{ngModule:pe,providers:[co(z)]}}}return pe.\u0275fac=function(z){return new(z||pe)(e.LFG(Wr,8),e.LFG(vn,8))},pe.\u0275mod=e.oAB({type:pe}),pe.\u0275inj=e.cJS({}),pe})();function Co(pe,W,z){return z.scrollOffset&&W.setOffset(z.scrollOffset),new ar(pe,W,z)}function $r(pe,W,z={}){return z.useHash?new Ie.Do(pe,W):new Ie.b0(pe,W)}function cr(pe){return"guarded"}function co(pe){return[{provide:e.deG,multi:!0,useValue:pe},{provide:en,multi:!0,useValue:pe}]}let lr=(()=>{class pe{constructor(z){this.injector=z,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new k.xQ}appInitializer(){return this.injector.get(Ie.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let Pe=null;const ze=new Promise(xt=>Pe=xt),dt=this.injector.get(vn),St=this.injector.get(Os);return"disabled"===St.initialNavigation?(dt.setUpLocationChangeListener(),Pe(!0)):"enabled"===St.initialNavigation||"enabledBlocking"===St.initialNavigation?(dt.hooks.afterPreactivation=()=>this.initNavigation?(0,g.of)(null):(this.initNavigation=!0,Pe(!0),this.resultOfPreactivationDone),dt.initialNavigation()):Pe(!0),ze})}bootstrapListener(z){const Pe=this.injector.get(Os),ze=this.injector.get(qr),dt=this.injector.get(ar),St=this.injector.get(vn),xt=this.injector.get(e.z2F);z===xt.components[0]&&(("enabledNonBlocking"===Pe.initialNavigation||void 0===Pe.initialNavigation)&&St.initialNavigation(),ze.setUpPreloading(),dt.init(),St.resetRootComponentType(xt.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return pe.\u0275fac=function(z){return new(z||pe)(e.LFG(e.zs3))},pe.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac}),pe})();function so(pe){return pe.appInitializer.bind(pe)}function ur(pe){return pe.bootstrapListener.bind(pe)}const lo=new e.OlP("Router Initializer")},51062:(Ke,be,d)=>{"use strict";d.d(be,{Zw:()=>k,aw:()=>ve,X$:()=>Me,sK:()=>Fe});var e=d(5e3),f=d(21086),g=d(54715),T=d(30567),m=d(61221),A=d(88514),s=d(72986),b=d(5154),O=d(24850),E=d(21406),h=d(87545);class k{}let L=(()=>{class me extends k{getTranslation(ee){return(0,f.of)({})}}return me.\u0275fac=function(){let Te;return function(R){return(Te||(Te=e.n5z(me)))(R||me)}}(),me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();class V{}let $=(()=>{class me{handle(ee){return ee.key}}return me.\u0275fac=function(ee){return new(ee||me)},me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();function ue(me,Te){if(me===Te)return!0;if(null===me||null===Te)return!1;if(me!=me&&Te!=Te)return!0;let Oe,Ie,He,ee=typeof me;if(ee==typeof Te&&"object"==ee){if(!Array.isArray(me)){if(Array.isArray(Te))return!1;for(Ie in He=Object.create(null),me){if(!ue(me[Ie],Te[Ie]))return!1;He[Ie]=!0}for(Ie in Te)if(!(Ie in He)&&void 0!==Te[Ie])return!1;return!0}if(!Array.isArray(Te))return!1;if((Oe=me.length)==Te.length){for(Ie=0;Ie{Le(Te[R])?R in me?ee[R]=de(me[R],Te[R]):Object.assign(ee,{[R]:Te[R]}):Object.assign(ee,{[R]:Te[R]})}),ee}class ke{}let ae=(()=>{class me extends ke{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(ee,R){let Oe;return Oe="string"==typeof ee?this.interpolateString(ee,R):"function"==typeof ee?this.interpolateFunction(ee,R):ee,Oe}getValue(ee,R){let Oe="string"==typeof R?R.split("."):[R];R="";do{R+=Oe.shift(),!ce(ee)||!ce(ee[R])||"object"!=typeof ee[R]&&Oe.length?Oe.length?R+=".":ee=void 0:(ee=ee[R],R="")}while(Oe.length);return ee}interpolateFunction(ee,R){return ee(R)}interpolateString(ee,R){return R?ee.replace(this.templateMatcher,(Oe,Ie)=>{let He=this.getValue(R,Ie);return ce(He)?He:Oe}):ee}}return me.\u0275fac=function(){let Te;return function(R){return(Te||(Te=e.n5z(me)))(R||me)}}(),me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();class j{}let H=(()=>{class me extends j{compile(ee,R){return ee}compileTranslations(ee,R){return ee}}return me.\u0275fac=function(){let Te;return function(R){return(Te||(Te=e.n5z(me)))(R||me)}}(),me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();class Q{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new e.vpe,this.onLangChange=new e.vpe,this.onDefaultLangChange=new e.vpe}}const te=new e.OlP("USE_STORE"),se=new e.OlP("USE_DEFAULT_LANG"),ge=new e.OlP("DEFAULT_LANGUAGE"),Ne=new e.OlP("USE_EXTEND");let Fe=(()=>{class me{constructor(ee,R,Oe,Ie,He,fe=!0,Ce=!1,Ve=!1,Xe){this.store=ee,this.currentLoader=R,this.compiler=Oe,this.parser=Ie,this.missingTranslationHandler=He,this.useDefaultLang=fe,this.isolate=Ce,this.extend=Ve,this.pending=!1,this._onTranslationChange=new e.vpe,this._onLangChange=new e.vpe,this._onDefaultLangChange=new e.vpe,this._langs=[],this._translations={},this._translationRequests={},Xe&&this.setDefaultLang(Xe)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(ee){this.isolate?this._defaultLang=ee:this.store.defaultLang=ee}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(ee){this.isolate?this._currentLang=ee:this.store.currentLang=ee}get langs(){return this.isolate?this._langs:this.store.langs}set langs(ee){this.isolate?this._langs=ee:this.store.langs=ee}get translations(){return this.isolate?this._translations:this.store.translations}set translations(ee){this.isolate?this._translations=ee:this.store.translations=ee}setDefaultLang(ee){if(ee===this.defaultLang)return;let R=this.retrieveTranslations(ee);void 0!==R?(null==this.defaultLang&&(this.defaultLang=ee),R.pipe((0,s.q)(1)).subscribe(Oe=>{this.changeDefaultLang(ee)})):this.changeDefaultLang(ee)}getDefaultLang(){return this.defaultLang}use(ee){if(ee===this.currentLang)return(0,f.of)(this.translations[ee]);let R=this.retrieveTranslations(ee);return void 0!==R?(this.currentLang||(this.currentLang=ee),R.pipe((0,s.q)(1)).subscribe(Oe=>{this.changeLang(ee)}),R):(this.changeLang(ee),(0,f.of)(this.translations[ee]))}retrieveTranslations(ee){let R;return(void 0===this.translations[ee]||this.extend)&&(this._translationRequests[ee]=this._translationRequests[ee]||this.getTranslation(ee),R=this._translationRequests[ee]),R}getTranslation(ee){this.pending=!0;const R=this.currentLoader.getTranslation(ee).pipe((0,b.d)(1),(0,s.q)(1));return this.loadingTranslations=R.pipe((0,O.U)(Oe=>this.compiler.compileTranslations(Oe,ee)),(0,b.d)(1),(0,s.q)(1)),this.loadingTranslations.subscribe({next:Oe=>{this.translations[ee]=this.extend&&this.translations[ee]?Object.assign(Object.assign({},Oe),this.translations[ee]):Oe,this.updateLangs(),this.pending=!1},error:Oe=>{this.pending=!1}}),R}setTranslation(ee,R,Oe=!1){R=this.compiler.compileTranslations(R,ee),this.translations[ee]=(Oe||this.extend)&&this.translations[ee]?de(this.translations[ee],R):R,this.updateLangs(),this.onTranslationChange.emit({lang:ee,translations:this.translations[ee]})}getLangs(){return this.langs}addLangs(ee){ee.forEach(R=>{-1===this.langs.indexOf(R)&&this.langs.push(R)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(ee,R,Oe){let Ie;if(R instanceof Array){let He={},fe=!1;for(let Ce of R)He[Ce]=this.getParsedResult(ee,Ce,Oe),(0,g.b)(He[Ce])&&(fe=!0);if(fe){const Ce=R.map(Ve=>(0,g.b)(He[Ve])?He[Ve]:(0,f.of)(He[Ve]));return(0,T.D)(Ce).pipe((0,O.U)(Ve=>{let Xe={};return Ve.forEach((tt,rt)=>{Xe[R[rt]]=tt}),Xe}))}return He}if(ee&&(Ie=this.parser.interpolate(this.parser.getValue(ee,R),Oe)),void 0===Ie&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Ie=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],R),Oe)),void 0===Ie){let He={key:R,translateService:this};void 0!==Oe&&(He.interpolateParams=Oe),Ie=this.missingTranslationHandler.handle(He)}return void 0!==Ie?Ie:R}get(ee,R){if(!ce(ee)||!ee.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,E.b)(Oe=>(Oe=this.getParsedResult(Oe,ee,R),(0,g.b)(Oe)?Oe:(0,f.of)(Oe))));{let Oe=this.getParsedResult(this.translations[this.currentLang],ee,R);return(0,g.b)(Oe)?Oe:(0,f.of)(Oe)}}getStreamOnTranslationChange(ee,R){if(!ce(ee)||!ee.length)throw new Error('Parameter "key" required');return(0,m.z)((0,A.P)(()=>this.get(ee,R)),this.onTranslationChange.pipe((0,h.w)(Oe=>{const Ie=this.getParsedResult(Oe.translations,ee,R);return"function"==typeof Ie.subscribe?Ie:(0,f.of)(Ie)})))}stream(ee,R){if(!ce(ee)||!ee.length)throw new Error('Parameter "key" required');return(0,m.z)((0,A.P)(()=>this.get(ee,R)),this.onLangChange.pipe((0,h.w)(Oe=>{const Ie=this.getParsedResult(Oe.translations,ee,R);return(0,g.b)(Ie)?Ie:(0,f.of)(Ie)})))}instant(ee,R){if(!ce(ee)||!ee.length)throw new Error('Parameter "key" required');let Oe=this.getParsedResult(this.translations[this.currentLang],ee,R);if((0,g.b)(Oe)){if(ee instanceof Array){let Ie={};return ee.forEach((He,fe)=>{Ie[ee[fe]]=ee[fe]}),Ie}return ee}return Oe}set(ee,R,Oe=this.currentLang){this.translations[Oe][ee]=this.compiler.compile(R,Oe),this.updateLangs(),this.onTranslationChange.emit({lang:Oe,translations:this.translations[Oe]})}changeLang(ee){this.currentLang=ee,this.onLangChange.emit({lang:ee,translations:this.translations[ee]}),null==this.defaultLang&&this.changeDefaultLang(ee)}changeDefaultLang(ee){this.defaultLang=ee,this.onDefaultLangChange.emit({lang:ee,translations:this.translations[ee]})}reloadLang(ee){return this.resetLang(ee),this.getTranslation(ee)}resetLang(ee){this._translationRequests[ee]=void 0,this.translations[ee]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let ee=window.navigator.languages?window.navigator.languages[0]:null;return ee=ee||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==ee?(-1!==ee.indexOf("-")&&(ee=ee.split("-")[0]),-1!==ee.indexOf("_")&&(ee=ee.split("_")[0]),ee):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let ee=window.navigator.languages?window.navigator.languages[0]:null;return ee=ee||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,ee}}return me.\u0275fac=function(ee){return new(ee||me)(e.LFG(Q),e.LFG(k),e.LFG(j),e.LFG(ke),e.LFG(V),e.LFG(se),e.LFG(te),e.LFG(Ne),e.LFG(ge))},me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})(),Me=(()=>{class me{constructor(ee,R){this.translate=ee,this._ref=R,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(ee,R,Oe){let Ie=He=>{this.value=void 0!==He?He:ee,this.lastKey=ee,this._ref.markForCheck()};if(Oe){let He=this.translate.getParsedResult(Oe,ee,R);(0,g.b)(He.subscribe)?He.subscribe(Ie):Ie(He)}this.translate.get(ee,R).subscribe(Ie)}transform(ee,...R){if(!ee||!ee.length)return ee;if(ue(ee,this.lastKey)&&ue(R,this.lastParams))return this.value;let Oe;if(ce(R[0])&&R.length)if("string"==typeof R[0]&&R[0].length){let Ie=R[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Oe=JSON.parse(Ie)}catch(He){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${R[0]}`)}}else"object"==typeof R[0]&&!Array.isArray(R[0])&&(Oe=R[0]);return this.lastKey=ee,this.lastParams=R,this.updateValue(ee,Oe),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Ie=>{this.lastKey&&Ie.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(ee,Oe,Ie.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Ie=>{this.lastKey&&(this.lastKey=null,this.updateValue(ee,Oe,Ie.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(ee,Oe))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return me.\u0275fac=function(ee){return new(ee||me)(e.Y36(Fe,16),e.Y36(e.sBO,16))},me.\u0275pipe=e.Yjl({name:"translate",type:me,pure:!1}),me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})(),ve=(()=>{class me{static forRoot(ee={}){return{ngModule:me,providers:[ee.loader||{provide:k,useClass:L},ee.compiler||{provide:j,useClass:H},ee.parser||{provide:ke,useClass:ae},ee.missingTranslationHandler||{provide:V,useClass:$},Q,{provide:te,useValue:ee.isolate},{provide:se,useValue:ee.useDefaultLang},{provide:Ne,useValue:ee.extend},{provide:ge,useValue:ee.defaultLanguage},Fe]}}static forChild(ee={}){return{ngModule:me,providers:[ee.loader||{provide:k,useClass:L},ee.compiler||{provide:j,useClass:H},ee.parser||{provide:ke,useClass:ae},ee.missingTranslationHandler||{provide:V,useClass:$},{provide:te,useValue:ee.isolate},{provide:se,useValue:ee.useDefaultLang},{provide:Ne,useValue:ee.extend},{provide:ge,useValue:ee.defaultLanguage},Fe]}}}return me.\u0275fac=function(ee){return new(ee||me)},me.\u0275mod=e.oAB({type:me}),me.\u0275inj=e.cJS({}),me})()},86114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(69808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(40520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(70655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(21086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(61946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(61737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(36053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(36787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(92198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(22868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(80013),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(40943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(87545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(24850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(87224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(27221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(46227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(72986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(61709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class Ke extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return Ke.\u0275fac=function(){let be;return function(e){return(be||(be=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(Ke)))(e||Ke)}}(),Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class Ke{constructor(){this.data=new Map}getItem(d){return this.data.get(d)}removeItem(d){this.data.delete(d)}setItem(d,e){this.data.set(d,e)}}return Ke.\u0275fac=function(d){return new(d||Ke)},Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class ReceivedTokens{}class OAuthEvent{constructor(be){this.type=be}}class OAuthSuccessEvent extends OAuthEvent{constructor(be,d=null){super(be),this.info=d}}class OAuthInfoEvent extends OAuthEvent{constructor(be,d=null){super(be),this.info=d}}class OAuthErrorEvent extends OAuthEvent{constructor(be,d,e=null){super(be),this.reason=d,this.params=e}}function b64DecodeUnicode(Ke){const be=Ke.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(be).split("").map(function(d){return"%"+("00"+d.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(Ke){return btoa(Ke).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(be){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=d=>{location.href=d},be&&Object.assign(this,be)}}class WebHttpUrlEncodingCodec{encodeKey(be){return encodeURIComponent(be)}encodeValue(be){return encodeURIComponent(be)}decodeKey(be){return decodeURIComponent(be)}decodeValue(be){return decodeURIComponent(be)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(be){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let d=this.inferHashAlgorithm(be.idTokenHeader),e=yield this.calcHash(be.accessToken,d),g=base64UrlEncode(e.substr(0,e.length/2)),T=be.idTokenClaims.at_hash.replace(/=/g,"");return g!==T&&(console.error("exptected at_hash: "+g),console.error("actual at_hash: "+T)),g===T})}inferHashAlgorithm(be){let d=be.alg;if(!d.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+d);return"sha-"+d.substr(2)}}let UrlHelperService=(()=>{class Ke{getHashFragmentParams(d){let e=d||window.location.hash;if(e=decodeURIComponent(e),0!==e.indexOf("#"))return{};const f=e.indexOf("?");return e=e.substr(f>-1?f+1:1),this.parseQueryString(e)}parseQueryString(d){const e={};let f,g,T,m,A,s,b;if(null===d)return e;f=d.split("&");for(let O=0;O>6,g[m++]=128|63&A):A<55296||A>=57344?(g[m++]=224|A>>12,g[m++]=128|A>>6&63,g[m++]=128|63&A):(A=65536+((1023&A)<<10|1023&Ke.charCodeAt(++e)),g[m++]=240|A>>18,g[m++]=128|A>>12&63,g[m++]=128|A>>6&63,g[m++]=128|63&A);Ke=g}else{if("object"!==f)throw new Error(ERROR);if(null===Ke)throw new Error(ERROR);if(ARRAY_BUFFER&&Ke.constructor===ArrayBuffer)Ke=new Uint8Array(Ke);else if(!(Array.isArray(Ke)||ARRAY_BUFFER&&ArrayBuffer.isView(Ke)))throw new Error(ERROR)}Ke.length>64&&(Ke=new Sha256(be,!0).update(Ke).array());var s=[],b=[];for(e=0;e<64;++e){var O=Ke[e]||0;s[e]=92^O,b[e]=54^O}Sha256.call(this,be,d),this.update(b),this.oKeyPad=s,this.inner=!0,this.sharedMemory=d}Sha256.prototype.update=function(Ke){if(!this.finalized){var be,d=typeof Ke;if("string"!==d){if("object"!==d)throw new Error(ERROR);if(null===Ke)throw new Error(ERROR);if(ARRAY_BUFFER&&Ke.constructor===ArrayBuffer)Ke=new Uint8Array(Ke);else if(!(Array.isArray(Ke)||ARRAY_BUFFER&&ArrayBuffer.isView(Ke)))throw new Error(ERROR);be=!0}for(var e,g,f=0,T=Ke.length,m=this.blocks;f>2]|=Ke[f]<>2]|=e<>2]|=(192|e>>6)<>2]|=(128|63&e)<=57344?(m[g>>2]|=(224|e>>12)<>2]|=(128|e>>6&63)<>2]|=(128|63&e)<>2]|=(240|e>>18)<>2]|=(128|e>>12&63)<>2]|=(128|e>>6&63)<>2]|=(128|63&e)<=64?(this.block=m[16],this.start=g-64,this.hash(),this.hashed=!0):this.start=g}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Ke=this.blocks,be=this.lastByteIndex;Ke[16]=this.block,Ke[be>>2]|=EXTRA[3&be],this.block=Ke[16],be>=56&&(this.hashed||this.hash(),Ke[0]=this.block,Ke[16]=Ke[1]=Ke[2]=Ke[3]=Ke[4]=Ke[5]=Ke[6]=Ke[7]=Ke[8]=Ke[9]=Ke[10]=Ke[11]=Ke[12]=Ke[13]=Ke[14]=Ke[15]=0),Ke[14]=this.hBytes<<3|this.bytes>>>29,Ke[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var s,h,V,$,ue,ce,Ke=this.h0,be=this.h1,d=this.h2,e=this.h3,f=this.h4,g=this.h5,T=this.h6,m=this.h7,A=this.blocks;for(s=16;s<64;++s)A[s]=A[s-16]+(((h=A[s-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3)+A[s-7]+(((h=A[s-2])>>>17|h<<15)^(h>>>19|h<<13)^h>>>10)<<0;for(ce=be&d,s=0;s<64;s+=4)this.first?(this.is224?(V=300032,m=(h=A[0]-1413257819)-150054599<<0,e=h+24177077<<0):(V=704751109,m=(h=A[0]-210244248)-1521486534<<0,e=h+143694565<<0),this.first=!1):(m=e+(h=m+((f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&g^~f&T)+K[s]+A[s])<<0,e=h+(((Ke>>>2|Ke<<30)^(Ke>>>13|Ke<<19)^(Ke>>>22|Ke<<10))+((V=Ke&be)^Ke&d^ce))<<0),T=d+(h=T+((m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&f^~m&g)+K[s+1]+A[s+1])<<0,d=h+(((e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10))+(($=e&Ke)^e&be^V))<<0,g=be+(h=g+((T>>>6|T<<26)^(T>>>11|T<<21)^(T>>>25|T<<7))+(T&m^~T&f)+K[s+2]+A[s+2])<<0,be=h+(((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+((ue=d&e)^d&Ke^$))<<0,f=Ke+(h=f+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&T^~g&m)+K[s+3]+A[s+3])<<0,Ke=h+(((be>>>2|be<<30)^(be>>>13|be<<19)^(be>>>22|be<<10))+((ce=be&d)^be&e^ue))<<0;this.h0=this.h0+Ke<<0,this.h1=this.h1+be<<0,this.h2=this.h2+d<<0,this.h3=this.h3+e<<0,this.h4=this.h4+f<<0,this.h5=this.h5+g<<0,this.h6=this.h6+T<<0,this.h7=this.h7+m<<0},Sha256.prototype.hex=function(){this.finalize();var Ke=this.h0,be=this.h1,d=this.h2,e=this.h3,f=this.h4,g=this.h5,T=this.h6,m=this.h7,A=HEX_CHARS[Ke>>28&15]+HEX_CHARS[Ke>>24&15]+HEX_CHARS[Ke>>20&15]+HEX_CHARS[Ke>>16&15]+HEX_CHARS[Ke>>12&15]+HEX_CHARS[Ke>>8&15]+HEX_CHARS[Ke>>4&15]+HEX_CHARS[15&Ke]+HEX_CHARS[be>>28&15]+HEX_CHARS[be>>24&15]+HEX_CHARS[be>>20&15]+HEX_CHARS[be>>16&15]+HEX_CHARS[be>>12&15]+HEX_CHARS[be>>8&15]+HEX_CHARS[be>>4&15]+HEX_CHARS[15&be]+HEX_CHARS[d>>28&15]+HEX_CHARS[d>>24&15]+HEX_CHARS[d>>20&15]+HEX_CHARS[d>>16&15]+HEX_CHARS[d>>12&15]+HEX_CHARS[d>>8&15]+HEX_CHARS[d>>4&15]+HEX_CHARS[15&d]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[f>>28&15]+HEX_CHARS[f>>24&15]+HEX_CHARS[f>>20&15]+HEX_CHARS[f>>16&15]+HEX_CHARS[f>>12&15]+HEX_CHARS[f>>8&15]+HEX_CHARS[f>>4&15]+HEX_CHARS[15&f]+HEX_CHARS[g>>28&15]+HEX_CHARS[g>>24&15]+HEX_CHARS[g>>20&15]+HEX_CHARS[g>>16&15]+HEX_CHARS[g>>12&15]+HEX_CHARS[g>>8&15]+HEX_CHARS[g>>4&15]+HEX_CHARS[15&g]+HEX_CHARS[T>>28&15]+HEX_CHARS[T>>24&15]+HEX_CHARS[T>>20&15]+HEX_CHARS[T>>16&15]+HEX_CHARS[T>>12&15]+HEX_CHARS[T>>8&15]+HEX_CHARS[T>>4&15]+HEX_CHARS[15&T];return this.is224||(A+=HEX_CHARS[m>>28&15]+HEX_CHARS[m>>24&15]+HEX_CHARS[m>>20&15]+HEX_CHARS[m>>16&15]+HEX_CHARS[m>>12&15]+HEX_CHARS[m>>8&15]+HEX_CHARS[m>>4&15]+HEX_CHARS[15&m]),A},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var Ke=this.h0,be=this.h1,d=this.h2,e=this.h3,f=this.h4,g=this.h5,T=this.h6,m=this.h7,A=[Ke>>24&255,Ke>>16&255,Ke>>8&255,255&Ke,be>>24&255,be>>16&255,be>>8&255,255&be,d>>24&255,d>>16&255,d>>8&255,255&d,e>>24&255,e>>16&255,e>>8&255,255&e,f>>24&255,f>>16&255,f>>8&255,255&f,g>>24&255,g>>16&255,g>>8&255,255&g,T>>24&255,T>>16&255,T>>8&255,255&T];return this.is224||A.push(m>>24&255,m>>16&255,m>>8&255,255&m),A},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var Ke=new ArrayBuffer(this.is224?28:32),be=new DataView(Ke);return be.setUint32(0,this.h0),be.setUint32(4,this.h1),be.setUint32(8,this.h2),be.setUint32(12,this.h3),be.setUint32(16,this.h4),be.setUint32(20,this.h5),be.setUint32(24,this.h6),this.is224||be.setUint32(28,this.h7),Ke},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var Ke=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(Ke),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(Ke){if("string"!=typeof Ke)throw new TypeError("expected string");var be,d=Ke,e=new Uint8Array(d.length);for(be=0;be{class Ke{calcHash(d,e){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(d)))})}toHashString2(d){let e="";for(let f of d)e+=String.fromCharCode(f);return e}toHashString(d){const e=new Uint8Array(d);let f="";for(let g of e)f+=String.fromCharCode(g);return f}}return Ke.\u0275fac=function(d){return new(d||Ke)},Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})(),OAuthService=(()=>{class Ke extends AuthConfig{constructor(d,e,f,g,T,m,A,s,b,O){var E;super(),this.ngZone=d,this.http=e,this.config=T,this.urlHelper=m,this.logger=A,this.crypto=s,this.dateTimeService=O,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=b,T||(T={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),g&&(this.tokenValidationHandler=g),T&&this.configure(T);try{f?this.setStorage(f):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(h){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",h)}if(this.checkLocalStorageAccessable()){const h=null===(E=null==window?void 0:window.navigator)||void 0===E?void 0:E.userAgent;((null==h?void 0:h.includes("MSIE "))||(null==h?void 0:h.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const d="test";try{return void 0!==window.localStorage&&(localStorage.setItem(d,d),localStorage.removeItem(d),!0)}catch(e){return!1}}configure(d){Object.assign(this,new AuthConfig,d),this.config=Object.assign({},new AuthConfig,d),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(d=>"token_received"===d.type)).subscribe(d=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(d={},e,f=!0){let g=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(T=>{"token_received"===T.type?g=!0:"logout"===T.type&&(g=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(T=>"token_expires"===T.type&&(null==e||"any"===e||T.info===e)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(T=>{g&&this.refreshInternal(d,f).catch(m=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(d,e){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(d,e):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(d=null){return this.loadDiscoveryDocument().then(e=>this.tryLogin(d))}loadDiscoveryDocumentAndLogin(d=null){return this.loadDiscoveryDocumentAndTryLogin(d=d||{}).then(e=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof d.state?d.state:""),!1))}debug(...d){this.showDebugInformation&&this.logger.debug.apply(this.logger,d)}validateUrlFromDiscoveryDocument(d){const e=[],f=this.validateUrlForHttps(d),g=this.validateUrlAgainstIssuer(d);return f||e.push("https for all urls required. Also for urls received by discovery."),g||e.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),e}validateUrlForHttps(d){if(!d)return!0;const e=d.toLowerCase();return!(!1!==this.requireHttps&&(!e.match(/^http:\/\/localhost($|[:\/])/)&&!e.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||e.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(d,e){if(!d)throw new Error(`'${e}' should not be null`);if(!this.validateUrlForHttps(d))throw new Error(`'${e}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(d){return!this.strictDiscoveryDocumentValidation||!d||d.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(d=>"token_received"===d.type)).subscribe(d=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const d=this.getAccessTokenExpiration(),e=this.getAccessTokenStoredAt(),f=this.calcTimeout(e,d);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(f)).subscribe(g=>{this.ngZone.run(()=>{this.eventsSubject.next(g)})})})}setupIdTokenTimer(){const d=this.getIdTokenExpiration(),e=this.getIdTokenStoredAt(),f=this.calcTimeout(e,d);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(f)).subscribe(g=>{this.ngZone.run(()=>{this.eventsSubject.next(g)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(d,e){const f=this.dateTimeService.now();return Math.max(0,(e-d)*this.timeoutFactor-(f-d))}setStorage(d){this._storage=d,this.configChanged()}loadDiscoveryDocument(d=null){return new Promise((e,f)=>{d||((d=this.issuer||"").endsWith("/")||(d+="/"),d+=".well-known/openid-configuration"),this.validateUrlForHttps(d)?this.http.get(d).subscribe(g=>{if(!this.validateDiscoveryDocument(g))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void f("discovery_document_validation_error");this.loginUrl=g.authorization_endpoint,this.logoutUrl=g.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=g.grant_types_supported,this.issuer=g.issuer,this.tokenEndpoint=g.token_endpoint,this.userinfoEndpoint=g.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=g.jwks_uri,this.sessionCheckIFrameUrl=g.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(g),this.revocationEndpoint=g.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(T=>{const A=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:g,jwks:T});this.eventsSubject.next(A),e(A)}).catch(T=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",T)),f(T)})},g=>{this.logger.error("error loading discovery document",g),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",g)),f(g)}):f("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((d,e)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(f=>{this.jwks=f,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),d(f)},f=>{this.logger.error("error loading jwks",f),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",f)),e(f)}):d(null)})}validateDiscoveryDocument(d){let e;return this.skipIssuerCheck||d.issuer===this.issuer?(e=this.validateUrlFromDiscoveryDocument(d.authorization_endpoint),e.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(d.end_session_endpoint),e.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(d.token_endpoint),e.length>0&&this.logger.error("error validating token_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(d.revocation_endpoint),e.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(d.userinfo_endpoint),e.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(d.jwks_uri),e.length>0?(this.logger.error("error validating jwks_uri in discovery document",e),!1):(this.sessionChecksEnabled&&!d.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+d.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(d,e,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(d,e,f).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((d,e)=>{const f=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:f,observe:"response",responseType:"text"}).subscribe(g=>{if(this.debug("userinfo received",JSON.stringify(g)),g.headers.get("content-type").startsWith("application/json")){let T=JSON.parse(g.body);const m=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!m.sub||T.sub!==m.sub))return void e("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");T=Object.assign({},m,T),this._storage.setItem("id_token_claims_obj",JSON.stringify(T)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),d({info:T})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),d(JSON.parse(g.body))},g=>{this.logger.error("error loading user info",g),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",g)),e(g)})})}fetchTokenUsingPasswordFlow(d,e,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:d,password:e},f)}fetchTokenUsingGrant(d,e,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let g=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",d).set("scope",this.scope);if(this.useHttpBasicAuth){const T=btoa(`${this.clientId}:${this.dummyClientSecret}`);f=f.set("Authorization","Basic "+T)}if(this.useHttpBasicAuth||(g=g.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(g=g.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const T of Object.getOwnPropertyNames(this.customQueryParams))g=g.set(T,this.customQueryParams[T]);for(const T of Object.keys(e))g=g.set(T,e[T]);return f=f.set("Content-Type","application/x-www-form-urlencoded"),new Promise((T,m)=>{this.http.post(this.tokenEndpoint,g,{headers:f}).subscribe(A=>{this.debug("tokenResponse",A),this.storeAccessTokenResponse(A.access_token,A.refresh_token,A.expires_in||this.fallbackAccessTokenExpirationTimeInSec,A.scope,this.extractRecognizedCustomParameters(A)),this.oidc&&A.id_token&&this.processIdToken(A.id_token,A.access_token).then(s=>{this.storeIdToken(s),T(A)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),T(A)},A=>{this.logger.error("Error performing ${grantType} flow",A),this.eventsSubject.next(new OAuthErrorEvent("token_error",A)),m(A)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((d,e)=>{let f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),g=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const T=btoa(`${this.clientId}:${this.dummyClientSecret}`);g=g.set("Authorization","Basic "+T)}if(this.useHttpBasicAuth||(f=f.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(f=f.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const T of Object.getOwnPropertyNames(this.customQueryParams))f=f.set(T,this.customQueryParams[T]);this.http.post(this.tokenEndpoint,f,{headers:g}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(T=>T.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(T.id_token,T.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(m=>this.storeIdToken(m)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(m=>T)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(T))).subscribe(T=>{this.debug("refresh tokenResponse",T),this.storeAccessTokenResponse(T.access_token,T.refresh_token,T.expires_in||this.fallbackAccessTokenExpirationTimeInSec,T.scope,this.extractRecognizedCustomParameters(T)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),d(T)},T=>{this.logger.error("Error refreshing token",T),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",T)),e(T)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=d=>{const e=this.processMessageEventMessage(d);this.tryLogin({customHashFragment:e,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(f=>this.debug("tryLogin during silent refresh failed",f))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(d={},e=!0){const f=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(d.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const g=this.document.getElementById(this.silentRefreshIFrameName);g&&this.document.body.removeChild(g),this.silentRefreshSubject=f.sub;const T=this.document.createElement("iframe");T.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,e,d).then(O=>{T.setAttribute("src",O),this.silentRefreshShowIFrame||(T.style.display="none"),this.document.body.appendChild(T)});const A=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>O instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),s=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_received"===O.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),b=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([A,s,b]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(O=>{if(O instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===O.type||(O=new OAuthErrorEvent("silent_refresh_error",O)),this.eventsSubject.next(O),O;return"token_received"===O.type&&(O=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(O)),O})).toPromise()}initImplicitFlowInPopup(d){return this.initLoginFlowInPopup(d)}initLoginFlowInPopup(d){return d=d||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(e=>new Promise((f,g)=>{let A,m=null;d.windowRef?d.windowRef&&!d.windowRef.closed&&(m=d.windowRef,m.location.href=e):m=window.open(e,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(d));const s=k=>{this.tryLogin({customHashFragment:k,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{O(),f(!0)},L=>{O(),g(L)})};m?A=window.setInterval(()=>{(!m||m.closed)&&(O(),g(new OAuthErrorEvent("popup_closed",{})))},500):g(new OAuthErrorEvent("popup_blocked",{}));const O=()=>{window.clearInterval(A),window.removeEventListener("storage",h),window.removeEventListener("message",E),null!==m&&m.close(),m=null},E=k=>{const L=this.processMessageEventMessage(k);L&&null!==L?(window.removeEventListener("storage",h),s(L)):console.log("false event firing")},h=k=>{"auth_hash"===k.key&&(window.removeEventListener("message",E),s(k.newValue))};window.addEventListener("message",E),window.addEventListener("storage",h)}))}calculatePopupFeatures(d){const e=d.height||470,f=d.width||500,g=window.screenLeft+(window.outerWidth-f)/2;return`location=no,toolbar=no,width=${f},height=${e},top=${window.screenTop+(window.outerHeight-e)/2},left=${g}`}processMessageEventMessage(d){let e="#";if(this.silentRefreshMessagePrefix&&(e+=this.silentRefreshMessagePrefix),!d||!d.data||"string"!=typeof d.data)return;const f=d.data;return f.startsWith(e)?"#"+f.substr(e.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=d=>{const e=d.origin.toLowerCase(),f=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),f.startsWith(e)){switch(d.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",d)}else this.debug("sessionCheckEventListener","wrong origin",e,"expected",f,"event",d)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(d=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(d=>{this.debug("token refresh after session change worked")}).catch(d=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(d=>"silently_refreshed"===d.type||"silent_refresh_timeout"===d.type||"silent_refresh_error"===d.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(d=>{"silently_refreshed"!==d.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const d=this.document.getElementById(this.sessionCheckIFrameName);d&&this.document.body.removeChild(d);const e=this.document.createElement("iframe");e.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),e.setAttribute("src",this.sessionCheckIFrameUrl),e.style.display="none",this.document.body.appendChild(e),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const d=this.document.getElementById(this.sessionCheckIFrameName);d||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const e=this.getSessionState();e||this.stopSessionCheckTimer(),d.contentWindow.postMessage(this.clientId+" "+e,this.issuer)}createLoginUrl(d="",e="",f="",g=!1,T={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const m=this;let A;A=f||this.redirectUri;const s=yield this.createAndSaveNonce();if(d=d?s+this.config.nonceStateSeparator+encodeURIComponent(d):s,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const b=m.loginUrl.indexOf("?")>-1?"&":"?";let O=m.scope;this.oidc&&!O.match(/(^|\s)openid($|\s)/)&&(O="openid "+O);let E=m.loginUrl+b+"response_type="+encodeURIComponent(m.responseType)+"&client_id="+encodeURIComponent(m.clientId)+"&state="+encodeURIComponent(d)+"&redirect_uri="+encodeURIComponent(A)+"&scope="+encodeURIComponent(O);if(this.responseType.includes("code")&&!this.disablePKCE){const[h,k]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",k):this._storage.setItem("PKCE_verifier",k),E+="&code_challenge="+h,E+="&code_challenge_method=S256"}e&&(E+="&login_hint="+encodeURIComponent(e)),m.resource&&(E+="&resource="+encodeURIComponent(m.resource)),m.oidc&&(E+="&nonce="+encodeURIComponent(s)),g&&(E+="&prompt=none");for(const h of Object.keys(T))E+="&"+encodeURIComponent(h)+"="+encodeURIComponent(T[h]);if(this.customQueryParams)for(const h of Object.getOwnPropertyNames(this.customQueryParams))E+="&"+h+"="+encodeURIComponent(this.customQueryParams[h]);return E})}initImplicitFlowInternal(d="",e=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let f={},g=null;"string"==typeof e?g=e:"object"==typeof e&&(f=e),this.createLoginUrl(d,g,null,!1,f).then(this.config.openUri).catch(T=>{console.error("Error in initImplicitFlow",T),this.inImplicitFlow=!1})}initImplicitFlow(d="",e=""){""!==this.loginUrl?this.initImplicitFlowInternal(d,e):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(f=>"discovery_document_loaded"===f.type)).subscribe(f=>this.initImplicitFlowInternal(d,e))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(d){const e=this;if(d.onTokenReceived){const f={idClaims:e.getIdentityClaims(),idToken:e.getIdToken(),accessToken:e.getAccessToken(),state:e.state};d.onTokenReceived(f)}}storeAccessTokenResponse(d,e,f,g,T){if(this._storage.setItem("access_token",d),g&&!Array.isArray(g)?this._storage.setItem("granted_scopes",JSON.stringify(g.split(" "))):g&&Array.isArray(g)&&this._storage.setItem("granted_scopes",JSON.stringify(g)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),f){const m=1e3*f,s=this.dateTimeService.new().getTime()+m;this._storage.setItem("expires_at",""+s)}e&&this._storage.setItem("refresh_token",e),T&&T.forEach((m,A)=>{this._storage.setItem(A,m)})}tryLogin(d=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(d).then(e=>!0):this.tryLoginImplicitFlow(d)}parseQueryString(d){return d&&0!==d.length?("?"===d.charAt(0)&&(d=d.substr(1)),this.urlHelper.parseQueryString(d)):{}}tryLoginCodeFlow(d=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const e=(d=d||{}).customHashFragment?d.customHashFragment.substring(1):window.location.search,f=this.getCodePartsFromUrl(e),g=f.code,T=f.state,m=f.session_state;if(!d.preventClearHashAfterLogin){const b=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,b)}let[A,s]=this.parseState(T);if(this.state=s,f.error){this.debug("error trying to login"),this.handleLoginError(d,f);const b=new OAuthErrorEvent("code_error",{},f);return this.eventsSubject.next(b),Promise.reject(b)}if(!d.disableNonceCheck){if(!A)return this.saveRequestedRoute(),Promise.resolve();if(!d.disableOAuth2StateCheck&&!this.validateNonce(A)){const O=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(O),Promise.reject(O)}return this.storeSessionState(m),g&&(yield this.getTokenFromCode(g,d),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const d=this._storage.getItem("requested_route");d&&history.replaceState(null,"",window.location.origin+d)}getCodePartsFromUrl(d){return d&&0!==d.length?("?"===d.charAt(0)&&(d=d.substr(1)),this.urlHelper.parseQueryString(d)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(d,e){let f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",d).set("redirect_uri",e.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let g;g=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),g?f=f.set("code_verifier",g):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(f,e)}fetchAndProcessToken(d,e){e=e||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let f=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const g=btoa(`${this.clientId}:${this.dummyClientSecret}`);f=f.set("Authorization","Basic "+g)}return this.useHttpBasicAuth||(d=d.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(d=d.set("client_secret",this.dummyClientSecret)),new Promise((g,T)=>{if(this.customQueryParams)for(let m of Object.getOwnPropertyNames(this.customQueryParams))d=d.set(m,this.customQueryParams[m]);this.http.post(this.tokenEndpoint,d,{headers:f}).subscribe(m=>{this.debug("refresh tokenResponse",m),this.storeAccessTokenResponse(m.access_token,m.refresh_token,m.expires_in||this.fallbackAccessTokenExpirationTimeInSec,m.scope,this.extractRecognizedCustomParameters(m)),this.oidc&&m.id_token?this.processIdToken(m.id_token,m.access_token,e.disableNonceCheck).then(A=>{this.storeIdToken(A),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),g(m)}).catch(A=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",A)),console.error("Error validating tokens"),console.error(A),T(A)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),g(m))},m=>{console.error("Error getting token",m),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",m)),T(m)})})}tryLoginImplicitFlow(d=null){let e;e=(d=d||{}).customHashFragment?this.urlHelper.getHashFragmentParams(d.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",e);const f=e.state;let[g,T]=this.parseState(f);if(this.state=T,e.error){this.debug("error trying to login"),this.handleLoginError(d,e);const O=new OAuthErrorEvent("token_error",{},e);return this.eventsSubject.next(O),Promise.reject(O)}const m=e.access_token,A=e.id_token,s=e.session_state,b=e.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!m||this.requestAccessToken&&!d.disableOAuth2StateCheck&&!f||this.oidc&&!A)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!s&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!d.disableNonceCheck&&!this.validateNonce(g)){const E=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(E),Promise.reject(E)}return this.requestAccessToken&&this.storeAccessTokenResponse(m,null,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,b),this.oidc?this.processIdToken(A,m,d.disableNonceCheck).then(O=>d.validationHandler?d.validationHandler({accessToken:m,idClaims:O.idTokenClaims,idToken:O.idToken,state:f}).then(E=>O):O).then(O=>(this.storeIdToken(O),this.storeSessionState(s),this.clearHashAfterLogin&&!d.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(d),this.inImplicitFlow=!1,!0)).catch(O=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",O)),this.logger.error("Error validating tokens"),this.logger.error(O),Promise.reject(O))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!d.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(d),Promise.resolve(!0))}parseState(d){let e=d,f="";if(d){const g=d.indexOf(this.config.nonceStateSeparator);g>-1&&(e=d.substr(0,g),f=d.substr(g+this.config.nonceStateSeparator.length))}return[e,f]}validateNonce(d){let e;return e=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),e===d||(console.error("Validating access_token failed, wrong state/nonce.",e,d),!1)}storeIdToken(d){this._storage.setItem("id_token",d.idToken),this._storage.setItem("id_token_claims_obj",d.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+d.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(d){this._storage.setItem("session_state",d)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(d,e){d.onLoginError&&d.onLoginError(e),this.clearHashAfterLogin&&!d.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(d=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:d}processIdToken(d,e,f=!1){const g=d.split("."),m=b64DecodeUnicode(this.padBase64(g[0])),A=JSON.parse(m),b=b64DecodeUnicode(this.padBase64(g[1])),O=JSON.parse(b);let E;if(E=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(O.aud)){if(O.aud.every(ue=>ue!==this.clientId)){const ue="Wrong audience: "+O.aud.join(",");return this.logger.warn(ue),Promise.reject(ue)}}else if(O.aud!==this.clientId){const ue="Wrong audience: "+O.aud;return this.logger.warn(ue),Promise.reject(ue)}if(!O.sub){const ue="No sub claim in id_token";return this.logger.warn(ue),Promise.reject(ue)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==O.sub){const ue=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${O.sub}`;return this.logger.warn(ue),Promise.reject(ue)}if(!O.iat){const ue="No iat claim in id_token";return this.logger.warn(ue),Promise.reject(ue)}if(!this.skipIssuerCheck&&O.iss!==this.issuer){const ue="Wrong issuer: "+O.iss;return this.logger.warn(ue),Promise.reject(ue)}if(!f&&O.nonce!==E){const ue="Wrong nonce: "+O.nonce;return this.logger.warn(ue),Promise.reject(ue)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!O.at_hash){const ue="An at_hash is needed!";return this.logger.warn(ue),Promise.reject(ue)}const h=this.dateTimeService.now(),k=1e3*O.iat,L=1e3*O.exp,V=this.getClockSkewInMsec();if(k-V>=h||L+V<=h){const ue="Token has expired";return console.error(ue),console.error({now:h,issuedAtMSec:k,expiresAtMSec:L}),Promise.reject(ue)}const $={accessToken:e,idToken:d,jwks:this.jwks,idTokenClaims:O,idTokenHeader:A,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature($).then(ue=>({idToken:d,idTokenClaims:O,idTokenClaimsJson:b,idTokenHeader:A,idTokenHeaderJson:m,idTokenExpiresAt:L})):this.checkAtHash($).then(ue=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ue){const ce="Wrong at_hash";return this.logger.warn(ce),Promise.reject(ce)}return this.checkSignature($).then(ce=>{const de={idToken:d,idTokenClaims:O,idTokenClaimsJson:b,idTokenHeader:A,idTokenHeaderJson:m,idTokenExpiresAt:L};return this.disableAtHashCheck?de:this.checkAtHash($).then(ke=>{if(this.requestAccessToken&&!ke){const ae="Wrong at_hash";return this.logger.warn(ae),Promise.reject(ae)}return de})})})}getIdentityClaims(){const d=this._storage.getItem("id_token_claims_obj");return d?JSON.parse(d):null}getGrantedScopes(){const d=this._storage.getItem("granted_scopes");return d?JSON.parse(d):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(d){for(;d.length%4!=0;)d+="=";return d}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const d=this._storage.getItem("expires_at"),e=this.dateTimeService.new();return!(d&&parseInt(d,10)=0&&null!==this._storage.getItem(d)?JSON.parse(this._storage.getItem(d)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(d={},e=""){let f=!1;"boolean"==typeof d&&(f=d,d={});const g=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(m=>this._storage.removeItem(m)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||f||!g&&!this.postLogoutRedirectUri)return;let T;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)T=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(g)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let m=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});g&&(m=m.set("id_token_hint",g));const A=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";A&&(m=m.set("post_logout_redirect_uri",A),e&&(m=m.set("state",e)));for(let s in d)m=m.set(s,d[s]);T=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+m.toString()}this.config.openUri(T)}createAndSaveNonce(){const d=this;return this.createNonce().then(function(e){return d.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",e):d._storage.setItem("nonce",e),e})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const d=this.document.getElementById(this.silentRefreshIFrameName);d&&d.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const e=this.document.getElementById(this.sessionCheckIFrameName);e&&e.remove()}createNonce(){return new Promise(d=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let f=45,g="";const T="undefined"==typeof self?null:self.crypto||self.msCrypto;if(T){let m=new Uint8Array(f);T.getRandomValues(m),m.map||(m.map=Array.prototype.map),m=m.map(A=>e.charCodeAt(A%e.length)),g=String.fromCharCode.apply(null,m)}else for(;0"discovery_document_loaded"===f.type)).subscribe(f=>this.initCodeFlowInternal(d,e))}initCodeFlowInternal(d="",e={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let f={},g=null;"string"==typeof e?g=e:"object"==typeof e&&(f=e),this.createLoginUrl(d,g,null,!1,f).then(this.config.openUri).catch(T=>{console.error("Error in initAuthorizationCodeFlow"),console.error(T)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const d=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(d,"sha-256")),d]})}extractRecognizedCustomParameters(d){let e=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(f=>{d[f]&&e.set(f,JSON.stringify(d[f]))}),e}revokeTokenAndLogout(d={},e=!1){let f=this.revocationEndpoint,g=this.getAccessToken(),T=this.getRefreshToken();if(!g)return;let m=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),A=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const s=btoa(`${this.clientId}:${this.dummyClientSecret}`);A=A.set("Authorization","Basic "+s)}if(this.useHttpBasicAuth||(m=m.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(m=m.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const s of Object.getOwnPropertyNames(this.customQueryParams))m=m.set(s,this.customQueryParams[s]);return new Promise((s,b)=>{let O,E;if(g){let h=m.set("token",g).set("token_type_hint","access_token");O=this.http.post(f,h,{headers:A})}else O=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(T){let h=m.set("token",T).set("token_type_hint","refresh_token");E=this.http.post(f,h,{headers:A})}else E=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);e&&(O=O.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(h=>0===h.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(h))),E=E.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(h=>0===h.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(h)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([O,E]).subscribe(h=>{this.logOut(d),s(h),this.logger.info("Token successfully revoked")},h=>{this.logger.error("Error revoking token",h),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",h)),b(h)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Ke.\u0275fac=function(d){return new(d||Ke)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(be){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(be)}}let DefaultOAuthInterceptor=(()=>{class Ke{constructor(d,e,f){this.oAuthService=d,this.errorHandler=e,this.moduleConfig=f}checkUrl(d){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(d):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(e=>d.toLowerCase().startsWith(e.toLowerCase()))}intercept(d,e){const f=d.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(f)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(T=>!!T)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(T=>"token_received"===T.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(T=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(T=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(T=>{if(T){const A=d.headers.set("Authorization","Bearer "+T);d=d.clone({headers:A})}return e.handle(d).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(m=>this.errorHandler.handleError(m)))})):e.handle(d).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(T=>this.errorHandler.handleError(T))):e.handle(d)}}return Ke.\u0275fac=function(d){return new(d||Ke)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class NullValidationHandler{validateSignature(be){return Promise.resolve(null)}validateAtHash(be){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class Ke{static forRoot(d=null,e=NullValidationHandler){return{ngModule:Ke,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:e},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:d},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return Ke.\u0275fac=function(d){return new(d||Ke)},Ke.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:Ke}),Ke.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),Ke})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},43586:(Ke,be,d)=>{"use strict";d.d(be,{nu:()=>fe,Co:()=>Ve});var e=d(5e3),f=d(93075),g=d(90508),T=d(74107),m=d(67322),A=d(91159),s=d(591),b=d(21086),O=d(36053),E=d(8929),h=d(87545),k=d(24850),L=d(1059),V=d(40943),$=d(7625),ue=d(72986),ce=d(92198),Le=d(22868),de=d(53435),ke=d(15664),ae=d(77446),j=d(20773),H=d(47423),Q=d(25245),te=d(69808),se=d(29772);const ge=["searchSelectInput"],Ne=["innerSelectSearch"];function Fe(Xe,tt){if(1&Xe){const rt=e.EpF();e.TgZ(0,"mat-checkbox",9),e.NdJ("change",function(he){return e.CHM(rt),e.oxw()._emitSelectAllBooleanToParent(he.checked)}),e.qZA()}if(2&Xe){const rt=e.oxw();e.Q6J("color",null==rt.matFormField?null:rt.matFormField.color)("checked",rt.toggleAllCheckboxChecked)("indeterminate",rt.toggleAllCheckboxIndeterminate)("matTooltip",rt.toggleAllCheckboxTooltipMessage)("matTooltipPosition",rt.toogleAllCheckboxTooltipPosition)}}function ne(Xe,tt){1&Xe&&e._UZ(0,"mat-spinner",10)}function Me(Xe,tt){1&Xe&&e.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function ve(Xe,tt){1&Xe&&(e.TgZ(0,"mat-icon"),e._uU(1,"close"),e.qZA())}function me(Xe,tt){if(1&Xe){const rt=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(rt),e.oxw()._reset(!0)}),e.YNc(1,Me,1,0,"ng-content",12),e.YNc(2,ve,2,0,"ng-template",null,13,e.W1O),e.qZA()}if(2&Xe){const rt=e.MAs(3),N=e.oxw();e.xp6(1),e.Q6J("ngIf",N.clearIcon)("ngIfElse",rt)}}function Te(Xe,tt){if(1&Xe&&(e.TgZ(0,"div",14),e._uU(1),e.qZA()),2&Xe){const rt=e.oxw();e.xp6(1),e.hij(" ",rt.noEntriesFoundLabel,"\n")}}const ee=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]]],R=function(Xe,tt){return{"mat-select-search-inner-multiple":Xe,"mat-select-search-inner-toggle-all":tt}},Oe=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]"];let Ie=(()=>{class Xe{}return Xe.\u0275fac=function(rt){return new(rt||Xe)},Xe.\u0275dir=e.lG2({type:Xe,selectors:[["","ngxMatSelectSearchClear",""]]}),Xe})(),fe=(()=>{class Xe{constructor(rt,N,he,D=null,S,I=null){this.matSelect=rt,this.changeDetectorRef=N,this._viewportRuler=he,this.matOption=D,this.liveAnnouncer=S,this.matFormField=I,this.placeholderLabel="Suche",this.type="text",this.noEntriesFoundLabel="Keine Optionen gefunden",this.indexAndLengthScreenReaderText=" of ",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toogleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new e.vpe,this.onTouched=P=>{},this._options$=new s.X(null),this.optionsList$=this._options$.pipe((0,h.w)(P=>P?P.changes.pipe((0,k.U)(i=>i.toArray()),(0,L.O)(P.toArray())):(0,b.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,k.U)(P=>P?P.length:0)),this._formControl=new f.NI(""),this._showNoEntriesFound$=(0,O.aj)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,k.U)(([P,i])=>this.noEntriesFoundLabel&&P&&i===this.getOptionsLengthOffset())),this._onDestroy=new E.xQ}get isInsideMatOption(){return!!this.matOption}get value(){return this._formControl.value}set _options(rt){this._options$.next(rt)}get _options(){return this._options$.getValue()}ngOnInit(){const rt="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(rt):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,rt]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[rt]=!0):this.matSelect.panelClass=rt,this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe((0,V.g)(1),(0,$.R)(this._onDestroy)).subscribe(N=>{N?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,ue.q)(1)).pipe((0,$.R)(this._onDestroy)).subscribe(()=>{this.matSelect._keyManager?this.matSelect._keyManager.change.pipe((0,$.R)(this._onDestroy)).subscribe(()=>this.adjustScrollTopToFitActiveOptionIntoView()):console.log("_keyManager was not initialized."),this._options=this.matSelect.options;let N=this._options.toArray()[this.getOptionsLengthOffset()];this._options.changes.pipe((0,$.R)(this._onDestroy)).subscribe(()=>{setTimeout(()=>{const he=this._options.toArray(),D=he[this.getOptionsLengthOffset()],S=this.matSelect._keyManager;S&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(N,D)||!S.activeItem||!he.find(P=>this.matSelect.compareWith(P,S.activeItem)))&&S.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()}),this.disableScrollToActiveOnOptionsChanged||this.adjustScrollTopToFitActiveOptionIntoView()),N=D})})}),this._showNoEntriesFound$.pipe((0,$.R)(this._onDestroy)).subscribe(N=>{this.matOption&&(N?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,$.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,$.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(rt){this.toggleAll.emit(rt)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(rt){(rt.key&&1===rt.key.length||rt.keyCode>=A.A&&rt.keyCode<=A.Z||rt.keyCode>=A.xE&&rt.keyCode<=A.aO||rt.keyCode===A.L_||this.preventHomeEndKeyPropagation&&(rt.keyCode===A.Sd||rt.keyCode===A.uR))&&rt.stopPropagation(),this.matSelect.multiple&&rt.key&&rt.keyCode===A.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&rt.keyCode===A.hY&&this.value&&(this._reset(!0),rt.stopPropagation())}_handleKeyup(rt){if(rt.keyCode===A.LH||rt.keyCode===A.JH){const N=this.matSelect._getAriaActiveDescendant(),he=this._options.toArray().findIndex(D=>D.id===N);if(-1!==he){const D=this._options.toArray()[he];this.liveAnnouncer.announce(D.viewValue+" "+this.getAriaIndex(he)+this.indexAndLengthScreenReaderText+this.getAriaLength())}}}getAriaIndex(rt){return 0===this.getOptionsLengthOffset()?rt+1:rt}getAriaLength(){return this._options.toArray().length-this.getOptionsLengthOffset()}writeValue(rt){this._lastExternalInputValue=rt,this._formControl.setValue(rt),this.changeDetectorRef.markForCheck()}onBlur(){this.onTouched()}registerOnChange(rt){this._formControl.valueChanges.pipe((0,ce.h)(N=>N!==this._lastExternalInputValue),(0,Le.b)(()=>this._lastExternalInputValue=void 0),(0,$.R)(this._onDestroy)).subscribe(rt)}registerOnTouched(rt){this.onTouched=rt}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const rt=this.matSelect.panel.nativeElement,N=rt.scrollTop;this.searchSelectInput.nativeElement.focus(),rt.scrollTop=N}_reset(rt){this._formControl.setValue(""),rt&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,$.R)(this._onDestroy)).subscribe(rt=>{let N=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!rt||!Array.isArray(rt))&&(rt=[]);const he=this.matSelect.options.map(D=>D.value);this.previousSelectedValues.forEach(D=>{!rt.some(S=>this.matSelect.compareWith(S,D))&&!he.some(S=>this.matSelect.compareWith(S,D))&&(rt.push(D),N=!0)})}this.previousSelectedValues=rt,N&&this.matSelect._onChange(rt)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}adjustScrollTopToFitActiveOptionIntoView(){if(this.matSelect.panel&&this.matSelect.options.length>0){const rt=this.getMatOptionHeight(),N=this.matSelect._keyManager.activeItemIndex||0,he=(0,g.CB)(N,this.matSelect.options,this.matSelect.optionGroups),D=(this.matOption?-1:0)+he+N,S=this.matSelect.panel.nativeElement.scrollTop,I=this.innerSelectSearch.nativeElement.offsetHeight,P=Math.floor((256-I)/rt),i=Math.round((S+I)/rt)-1;i>=D?this.matSelect.panel.nativeElement.scrollTop=D*rt:i+P<=D&&(this.matSelect.panel.nativeElement.scrollTop=(D+1)*rt-(256-I))}}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let N,rt=this.innerSelectSearch.nativeElement;for(;rt=rt.parentElement;)if(rt.classList.contains("mat-select-panel")){N=rt;break}N&&(this.innerSelectSearch.nativeElement.style.width=N.clientWidth+"px")}getMatOptionHeight(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}getOptionsLengthOffset(){return this.matOption?1:0}}return Xe.\u0275fac=function(rt){return new(rt||Xe)(e.Y36(T.gD),e.Y36(e.sBO),e.Y36(de.rL),e.Y36(g.ey,8),e.Y36(ke.Kd),e.Y36(m.KE,8))},Xe.\u0275cmp=e.Xpm({type:Xe,selectors:[["ngx-mat-select-search"]],contentQueries:function(rt,N,he){if(1&rt&&e.Suo(he,Ie,5),2&rt){let D;e.iGM(D=e.CRH())&&(N.clearIcon=D.first)}},viewQuery:function(rt,N){if(1&rt&&(e.Gf(ge,7,e.SBq),e.Gf(Ne,7,e.SBq)),2&rt){let he;e.iGM(he=e.CRH())&&(N.searchSelectInput=he.first),e.iGM(he=e.CRH())&&(N.innerSelectSearch=he.first)}},hostVars:2,hostBindings:function(rt,N){2&rt&&e.ekj("mat-select-search-inside-mat-option",N.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",noEntriesFoundLabel:"noEntriesFoundLabel",indexAndLengthScreenReaderText:"indexAndLengthScreenReaderText",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toogleAllCheckboxTooltipPosition:"toogleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[e._Bn([{provide:f.JU,useExisting:(0,e.Gpc)(()=>Xe),multi:!0}])],ngContentSelectors:Oe,decls:11,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input","mat-input-element",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[1,"mat-select-search-no-entries-found"]],template:function(rt,N){1&rt&&(e.F$t(ee),e._UZ(0,"input",0),e.TgZ(1,"div",1,2),e.YNc(3,Fe,1,5,"mat-checkbox",3),e.TgZ(4,"input",4,5),e.NdJ("keydown",function(D){return N._handleKeydown(D)})("keyup",function(D){return N._handleKeyup(D)})("blur",function(){return N.onBlur()}),e.qZA(),e.YNc(6,ne,1,0,"mat-spinner",6),e.YNc(7,me,4,2,"button",7),e.Hsn(8),e.qZA(),e.YNc(9,Te,2,1,"div",8),e.ALo(10,"async")),2&rt&&(e.xp6(1),e.Q6J("ngClass",e.WLB(11,R,N.matSelect.multiple,N._isToggleAllCheckboxVisible())),e.xp6(2),e.Q6J("ngIf",N._isToggleAllCheckboxVisible()),e.xp6(1),e.Q6J("type",N.type)("formControl",N._formControl)("placeholder",N.placeholderLabel),e.uIk("aria-label",N.ariaLabel),e.xp6(2),e.Q6J("ngIf",N.searching),e.xp6(1),e.Q6J("ngIf",!N.hideClearSearchButton&&N.value&&!N.searching),e.xp6(2),e.Q6J("ngIf",e.lcZ(10,9,N._showNoEntriesFound$)))},directives:[ae.oG,j.$g,H.lW,Q.Hw,te.mk,te.O5,se.gM,f.Fj,f.JJ,f.oH],pipes:[te.Ov],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;border-bottom-width:1px;border-bottom-style:solid;z-index:100;font-size:inherit;box-shadow:none;border-radius:4px 4px 0 0;-webkit-transform:translate3d(0,0,0)}.mat-select-search-inner.mat-select-search-inner-multiple[_ngcontent-%COMP%]{width:100%}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{flex-basis:auto}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{-ms-user-select:text} .mat-select-search-panel{transform:none!important;overflow-x:hidden}.mat-select-search-input[_ngcontent-%COMP%]{padding:16px 44px 16px 16px;box-sizing:border-box;width:100%}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding:16px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0;height:3em;line-height:3em}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{top:3px} .mat-option[aria-disabled=true].contains-mat-select-search{position:static;padding:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-option-pseudo-checkbox{display:none} .mat-option[aria-disabled=true].contains-mat-select-search.mat-select-search-no-entries-found{height:6em}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:16px;padding-bottom:2px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:16px}"],changeDetection:0}),Xe})(),Ve=(()=>{class Xe{}return Xe.\u0275fac=function(rt){return new(rt||Xe)},Xe.\u0275mod=e.oAB({type:Xe}),Xe.\u0275inj=e.cJS({imports:[[te.ez,f.UX,H.ot,ae.p9,Q.Ps,j.Cq,se.AV]]}),Xe})()},4147:Ke=>{"use strict";Ke.exports={i8:"6.1.1"}}},Ke=>{Ke(Ke.s=9193)}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/main.ec14d8783ca85d8a.js b/dist/apps/admin-gui/main.ec14d8783ca85d8a.js new file mode 100644 index 000000000..17980a934 --- /dev/null +++ b/dist/apps/admin-gui/main.ec14d8783ca85d8a.js @@ -0,0 +1 @@ +(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[179],{25828:(Ze,ge,d)=>{"use strict";d.d(ge,{t:()=>E});var e=d(10036),f=d(64080),g=d(36908),v=d(5e3),m=d(64901),A=d(77446),s=d(88561),b=d(51062);const R=function(){return["user","id","name","email","logins","organization"]};let E=(()=>{class h{constructor(k){this.storeService=k,this.usersWithoutVo=!1,this.tableId=e.xx,this.attributes=[]}ngOnInit(){this.attributes=[f.r.USER_DEF_ORGANIZATION,f.r.USER_DEF_PREFERRED_MAIL],this.attributes=this.attributes.concat(this.storeService.getLoginAttributeNames())}onSearchByString(k){this.searchString=k}findUsersWithoutVO(){this.usersWithoutVo=!this.usersWithoutVo}}return h.id="AdminUsersComponent",h.\u0275fac=function(k){return new(k||h)(v.Y36(g.d6))},h.\u0275cmp=v.Xpm({type:h,selectors:[["app-admin-users"]],hostVars:2,hostBindings:function(k,G){2&k&&v.ekj("router-component",G.true)},decls:8,vars:16,consts:[[1,"page-subtitle"],[1,"mt-2","search-field",3,"autoFocus","placeholder","filter"],["color","primary",3,"checked","change"],[3,"disableRouting","searchString","withoutVo","displayedColumns","tableId","attrNames"]],template:function(k,G){1&k&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"perun-web-apps-debounce-filter",1),v.NdJ("filter",function(he){return G.onSearchByString(he)}),v.qZA(),v.TgZ(4,"mat-checkbox",2),v.NdJ("change",function(){return G.findUsersWithoutVO()}),v._uU(5),v.ALo(6,"translate"),v.qZA(),v._UZ(7,"perun-web-apps-users-dynamic-list",3)),2&k&&(v.xp6(1),v.Oqu(v.lcZ(2,11,"ADMIN.USERS.TITLE")),v.xp6(2),v.Q6J("autoFocus",!0)("placeholder","ADMIN.USERS.SEARCH_PLACEHOLDER"),v.xp6(1),v.Q6J("checked",G.usersWithoutVo),v.xp6(1),v.hij(" ",v.lcZ(6,13,"ADMIN.USERS.USERS_WITHOUT_VO"),"\n"),v.xp6(2),v.Q6J("disableRouting",!1)("searchString",G.searchString)("withoutVo",G.usersWithoutVo)("displayedColumns",v.DdM(15,R))("tableId",G.tableId)("attrNames",G.attributes))},directives:[m.P,A.oG,s.M],pipes:[b.X$],styles:[".search-field[_ngcontent-%COMP%]{width:325px}"]}),h})()},72077:(Ze,ge,d)=>{"use strict";d.d(ge,{y:()=>F});var e=d(36908),f=d(61715),g=d(40520),v=d(9244),m=d(5e3),A=d(48966),s=d(47423),b=d(51062);let R=(()=>{class W{constructor(ae){this.dialogRef=ae}onReload(){location.reload()}onClose(){this.dialogRef.close()}}return W.\u0275fac=function(ae){return new(ae||W)(m.Y36(A.so))},W.\u0275cmp=m.Xpm({type:W,selectors:[["app-new-version-dialog"]],decls:15,vars:12,consts:[["mat-dialog-title",""],[1,"user-theme"],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(ae,pe){1&ae&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"div",1),m.TgZ(4,"div",2),m.TgZ(5,"p"),m._uU(6),m.ALo(7,"translate"),m.qZA(),m.qZA(),m.TgZ(8,"div",3),m.TgZ(9,"button",4),m.NdJ("click",function(){return pe.onClose()}),m._uU(10),m.ALo(11,"translate"),m.qZA(),m.TgZ(12,"button",5),m.NdJ("click",function(){return pe.onReload()}),m._uU(13),m.ALo(14,"translate"),m.qZA(),m.qZA(),m.qZA()),2&ae&&(m.xp6(1),m.Oqu(m.lcZ(2,4,"DIALOGS.NEW_VERSION.TITLE")),m.xp6(5),m.hij(" ",m.lcZ(7,6,"DIALOGS.NEW_VERSION.DESCRIPTION")," "),m.xp6(4),m.hij(" ",m.lcZ(11,8,"DIALOGS.NEW_VERSION.LATER")," "),m.xp6(3),m.hij(" ",m.lcZ(14,10,"DIALOGS.NEW_VERSION.RELOAD")," "))},directives:[A.uh,A.xY,A.H8,s.lW],pipes:[b.X$],styles:[""]}),W})();var E=d(11735),h=d(92198);let x=(()=>{class W{constructor(ae,pe){this.router=ae,this.routeReuseStrategy=pe;const Be=pe;ae.events.subscribe(Fe=>{Fe instanceof E.OD&&Be.setLastNavigationType("popstate"===Fe.navigationTrigger?"back":"direct")})}init(){}}return W.\u0275fac=function(ae){return new(ae||W)(m.LFG(E.F0),m.LFG(E.wN))},W.\u0275prov=m.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();const k=["footer"];function G(W,te){if(1&W&&(m.TgZ(0,"div",3),m.TgZ(1,"mat-icon"),m._uU(2,"alert"),m.qZA(),m._uU(3),m.qZA()),2&W){const ae=m.oxw();m.xp6(3),m.hij(" ",ae.warningMessage,"\n")}}const X=function(W,te){return{top:W,background:te}},he=function(W,te){return{"margin-top":W,"min-height":te}},re=function(W){return{"border-color":W}},Ne=function(W){return{background:W}},ce=function(W){return{"background-color":W}},Pe=function(W){return{"min-height":W}};function se(W,te){if(1&W&&(m._UZ(0,"app-perun-nav-menu",4),m.TgZ(1,"mat-sidenav-container",5),m.TgZ(2,"mat-sidenav",6,7),m.TgZ(4,"perfect-scrollbar",8),m._UZ(5,"app-side-menu",9),m.qZA(),m.qZA(),m.TgZ(6,"mat-sidenav-content",10),m.TgZ(7,"div",11),m._UZ(8,"router-outlet"),m.qZA(),m.TgZ(9,"div",null,12),m._UZ(11,"perun-web-apps-footer"),m.qZA(),m.qZA(),m.qZA()),2&W){const ae=m.MAs(3),pe=m.oxw();m.Q6J("ngStyle",m.WLB(14,X,pe.getNavMenuTop(),pe.navBackgroundColor))("sideNav",ae)("principal",pe.principal),m.xp6(1),m.Q6J("ngStyle",m.WLB(17,he,pe.getSideNavMarginTop(),pe.getSideNavMinHeight())),m.xp6(1),m.Q6J("ngStyle",m.VKq(20,re,pe.sideBarBorderColor))("mode",pe.sidebarMode)("opened",!pe.isMobile())("fixedInViewport",!0)("fixedTopGap",pe.getTopGap()),m.xp6(2),m.Q6J("ngStyle",m.VKq(22,Ne,pe.sideMenubackgroundColor))("scrollIndicators",!0),m.xp6(1),m.Q6J("sideNav",ae),m.xp6(1),m.Q6J("ngStyle",m.VKq(24,ce,pe.contentBackgroundColor)),m.xp6(1),m.Q6J("ngStyle",m.VKq(26,Pe,pe.contentInnerMinHeight))}}function V(W,te){1&W&&m._UZ(0,"perun-web-apps-login-screen-base",13),2&W&&m.Q6J("application","admin-gui")}let F=(()=>{class W{constructor(ae,pe,Be,Fe,ke,De,be){this.cache=ae,this.store=pe,this.http=Be,this.dialog=Fe,this.router=ke,this.initAuth=De,this.cd=be,this.sidebarMode="side",this.navBackgroundColor=this.store.get("theme","nav_bg_color"),this.sideBarBorderColor=this.store.get("theme","sidemenu_border_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.sideMenubackgroundColor=this.store.get("theme","sidemenu_bg_color"),this.displayWarning=this.store.get("display_warning"),this.warningMessage=this.store.get("warning_message"),this.version=d(4147).i8,this.contentInnerMinHeight=this.displayWarning?"calc(100vh - 112px)":"calc(100vh - 64px)",this.cache.init(),this.getScreenSize()}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side",this.lastScreenWidth=window.innerWidth}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}isMobile(){return window.innerWidth<=W.minWidth}ngOnInit(){this.isLoginScreenShow=this.initAuth.isLoginScreenShown(),this.isServiceAccess=this.initAuth.isServiceAccessLoginScreenShown(),sessionStorage.removeItem("baLogout"),null===sessionStorage.getItem("initPage")&&(sessionStorage.setItem("initPage",location.pathname),sessionStorage.setItem("onInitPage","true")),this.store.setInitialPageId(1),this.principal=this.store.getPerunPrincipal(),this.loadAppVersion(),(0,f.F)(3e4).subscribe(()=>{this.loadAppVersion()}),this.router.events.pipe((0,h.h)(ae=>ae instanceof E.OD)).subscribe(ae=>{this.updateInitAccessedPage(ae)})}updateInitAccessedPage(ae){ae.url===sessionStorage.getItem("initPage")?("imperative"===ae.navigationTrigger&&ae.id!==this.store.getInitialPageId()&&sessionStorage.setItem("onInitPage","false"),"popstate"===ae.navigationTrigger&&(ae.restoredState.navigationId===this.store.getInitialPageId()?(sessionStorage.setItem("onInitPage","true"),this.store.setInitialPageId(ae.id)):sessionStorage.setItem("onInitPage","false"))):sessionStorage.setItem("onInitPage","false")}loadAppVersion(){const ae=new g.WM({"Cache-Control":"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"});this.http.get("/assets/config/version.json",{headers:ae}).subscribe(pe=>{const Be=pe.version;if(Be)if(this.version&&"SNAPSHOT"!==Be&&this.version!==Be){const Fe=(0,v.kZ)();this.dialog.open(R,Fe)}else this.version=Be},()=>{})}getTopGap(){return this.displayWarning?112:64}getSideNavMarginTop(){return this.displayWarning?"112px":"64px"}getSideNavMinHeight(){return this.displayWarning?"calc(100vh - 112px)":"calc(100vh - 64px)"}getNavMenuTop(){return this.displayWarning?"48px":"0"}ngAfterViewInit(){this.contentInnerMinHeight=this.displayWarning?"calc(100vh - "+this.footer.nativeElement.offsetHeight+"px - 112px)":"calc(100vh - "+this.footer.nativeElement.offsetHeight+"px - 64px)",this.cd.detectChanges()}}return W.minWidth=992,W.\u0275fac=function(ae){return new(ae||W)(m.Y36(x),m.Y36(e.d6),m.Y36(g.eN),m.Y36(A.uw),m.Y36(E.F0),m.Y36(e.v0),m.Y36(m.sBO))},W.\u0275cmp=m.Xpm({type:W,selectors:[["app-root"]],viewQuery:function(ae,pe){if(1&ae&&m.Gf(k,5),2&ae){let Be;m.iGM(Be=m.CRH())&&(pe.footer=Be.first)}},hostBindings:function(ae,pe){1&ae&&m.NdJ("resize",function(Fe){return pe.getScreenSize(Fe)},!1,m.Jf7)},decls:4,vars:4,consts:[["class","beta-warning",4,"ngIf"],[3,"displayWarning"],[3,"ngIf"],[1,"beta-warning"],["id","nav-menu",1,"mat-elevation-z3",3,"ngStyle","sideNav","principal"],[3,"ngStyle"],[3,"ngStyle","mode","opened","fixedInViewport","fixedTopGap"],["sidenav",""],[3,"ngStyle","scrollIndicators"],[3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],["footer",""],[3,"application"]],template:function(ae,pe){1&ae&&(m.YNc(0,G,4,1,"div",0),m._UZ(1,"perun-web-apps-notificator",1),m.YNc(2,se,12,28,"ng-template",2),m.YNc(3,V,1,1,"ng-template",2)),2&ae&&(m.Q6J("ngIf",pe.displayWarning),m.xp6(1),m.Q6J("displayWarning",pe.displayWarning),m.xp6(1),m.Q6J("ngIf",!pe.isLoginScreenShow&&!pe.isServiceAccess&&!pe.isServiceLogin()),m.xp6(1),m.Q6J("ngIf",pe.isLoginScreenShow||pe.isServiceAccess||pe.isServiceLogin()))},styles:["#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px}.beta-warning[_ngcontent-%COMP%]{overflow:hidden;height:48px;position:fixed;z-index:999;top:0;background-color:#ffbfc5;width:100%;color:#d32f2f;text-align:center;font-weight:500;padding:6px;line-height:36px;font-size:1rem}"]}),W})()},77968:(Ze,ge,d)=>{"use strict";d.d(ge,{D:()=>f});var e=d(5e3);let f=(()=>{class g{constructor(){this.accessItemsChange=new e.vpe,this.facilityItemsChange=new e.vpe,this.adminItemsChange=new e.vpe,this.userItemsChange=new e.vpe,this.resetChange=new e.vpe,this.homeItemsChange=new e.vpe}setHomeItems(m){this.homeItemsChange.emit(m)}setAccessMenuItems(m){this.accessItemsChange.emit(m)}setFacilityMenuItems(m){this.facilityItemsChange.emit(m)}setAdminItems(m){this.adminItemsChange.emit(m)}setUserItems(m){this.userItemsChange.emit(m)}reset(){this.resetChange.emit()}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275prov=e.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},37380:(Ze,ge,d)=>{"use strict";d.d(ge,{o:()=>Ne});var e=d(112),f=d(10036),g=d(36908),v=d(5e3),m=d(96214),A=d(67322),s=d(74107),b=d(90508),R=d(69808),E=d(7434),h=d(20773),x=d(24179),k=d(51062);function G(ce,Pe){if(1&ce&&(v.TgZ(0,"mat-option",9),v._uU(1),v.qZA()),2&ce){const se=Pe.$implicit;v.Q6J("value",se.id),v.xp6(1),v.hij(" ",se.name," ")}}function X(ce,Pe){1&ce&&v._UZ(0,"mat-spinner",10)}const he=function(){return["id","vo","name","description"]};function re(ce,Pe){if(1&ce&&v._UZ(0,"perun-web-apps-groups-list",11),2&ce){const se=v.oxw();v.Q6J("displayedColumns",v.DdM(6,he))("groups",se.groupsToShow)("tableId",se.tableId)("groupsToDisableRouting",se.groupsWithoutRouteAuth)("filter",se.filterValue)("disableMembers",!1)}}let Ne=(()=>{class ce{constructor(se,V,F){this.facilityManager=se,this.authResolver=V,this.entityStorageService=F,this.filterValue="",this.groups=[],this.selected="all",this.groupsToShow=this.groups,this.tableId=f.Aj,this.groupsWithoutRouteAuth=new Set}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.facilityManager.getAllowedVos(this.facility.id).subscribe(se=>{this.vos=se,this.refreshTable()})}showGroup(){this.groupsToShow="all"!==this.selected?this.groups.filter(se=>se.voId===parseInt(this.selected,10)):this.groups}refreshTable(){this.loading=!0,this.groups=[],this.vos.forEach(se=>{this.facilityManager.getAllowedGroups(this.facility.id,se.id).subscribe(V=>{this.groups=this.groups.concat(V),this.groupsToShow=this.groups,this.setAuthRights(se,V),this.loading=!1})}),0===this.vos.length&&(this.loading=!1)}setAuthRights(se,V){V.forEach(F=>{this.authResolver.isAuthorized("getGroupById_int_policy",[se,F])||this.groupsWithoutRouteAuth.add(F.id)})}applyFilter(se){this.filterValue=se}}return ce.id="FacilityAllowedGroupsComponent",ce.\u0275fac=function(se){return new(se||ce)(v.Y36(e.IQ),v.Y36(g.x4),v.Y36(g.fb))},ce.\u0275cmp=v.Xpm({type:ce,selectors:[["app-facility-allowed-groups"]],hostVars:2,hostBindings:function(se,V){2&se&&v.ekj("router-component",V.true)},inputs:{groups:"groups"},decls:17,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],[1,"mr-2"],[3,"value","valueChange","selectionChange"],["value","all"],[3,"value",4,"ngFor","ngForOf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"displayedColumns","groups","tableId","groupsToDisableRouting","filter","disableMembers",4,"ngIf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","groups","tableId","groupsToDisableRouting","filter","disableMembers"]],template:function(se,V){1&se&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.TgZ(4,"perun-web-apps-refresh-button",1),v.NdJ("refresh",function(){return V.refreshTable()}),v.qZA(),v.TgZ(5,"mat-form-field",2),v.TgZ(6,"mat-label"),v._uU(7),v.ALo(8,"translate"),v.qZA(),v.TgZ(9,"mat-select",3),v.NdJ("valueChange",function(W){return V.selected=W})("selectionChange",function(){return V.showGroup()}),v.TgZ(10,"mat-option",4),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.YNc(13,G,2,2,"mat-option",5),v.qZA(),v.qZA(),v.TgZ(14,"perun-web-apps-immediate-filter",6),v.NdJ("filter",function(W){return V.applyFilter(W)}),v.qZA(),v.YNc(15,X,1,0,"mat-spinner",7),v.YNc(16,re,1,7,"perun-web-apps-groups-list",8),v.qZA()),2&se&&(v.xp6(2),v.Oqu(v.lcZ(3,8,"MENU_ITEMS.FACILITY.ALLOWED_GROUPS")),v.xp6(5),v.Oqu(v.lcZ(8,10,"FACILITY_DETAIL.ALLOWED_GROUPS.SHOW_VOS_GROUPS")),v.xp6(2),v.Q6J("value",V.selected),v.xp6(2),v.Oqu(v.lcZ(12,12,"FACILITY_DETAIL.ALLOWED_GROUPS.ALL")),v.xp6(2),v.Q6J("ngForOf",V.vos),v.xp6(1),v.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_GROUPS.FILTER"),v.xp6(1),v.Q6J("ngIf",V.loading),v.xp6(1),v.Q6J("ngIf",!V.loading))},directives:[m.t,A.KE,A.hX,s.gD,b.ey,R.sg,E.L,R.O5,h.$g,x.W],pipes:[k.X$],styles:[""]}),ce})()},34904:(Ze,ge,d)=>{"use strict";d.d(ge,{f:()=>pe});var e=d(20449),f=d(533),g=d(112),v=d(93075),m=d(48966),A=d(36908),s=d(5e3),b=d(51062),R=d(69808),E=d(20773),h=d(62707),x=d(67322),k=d(98833),G=d(47423);function X(Be,Fe){1&Be&&s._UZ(0,"mat-spinner",5)}function he(Be,Fe){if(1&Be){const ke=s.EpF();s.TgZ(0,"div",6),s.TgZ(1,"perun-web-apps-vo-search-select",7),s.NdJ("voSelected",function(be){return s.CHM(ke),s.oxw().selectedVo=be}),s.qZA(),s.TgZ(2,"mat-form-field"),s._UZ(3,"input",8),s.ALo(4,"translate"),s.TgZ(5,"mat-error"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.TgZ(8,"mat-form-field"),s._UZ(9,"input",9),s.ALo(10,"translate"),s.TgZ(11,"mat-error"),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&Be){const ke=s.oxw();s.xp6(1),s.Q6J("vos",ke.vos),s.xp6(2),s.s9C("placeholder",s.lcZ(4,7,"DIALOGS.CREATE_RESOURCE.NAME")),s.Q6J("formControl",ke.nameCtrl),s.xp6(3),s.hij(" ",s.lcZ(7,9,"DIALOGS.CREATE_RESOURCE.INCORRECT_NAME")," "),s.xp6(3),s.s9C("placeholder",s.lcZ(10,11,"DIALOGS.CREATE_RESOURCE.DESCRIPTION")),s.Q6J("formControl",ke.descriptionCtrl),s.xp6(3),s.hij(" ",s.lcZ(13,13,"DIALOGS.CREATE_RESOURCE.FILL_DESCRIPTION")," ")}}let re=(()=>{class Be{constructor(ke,De,be,z,Ce,J){this.dialogRef=ke,this.data=De,this.notificator=be,this.voService=z,this.translate=Ce,this.resourcesManager=J,this.vos=[],this.selectedVo=null,Ce.get("DIALOGS.CREATE_RESOURCE.SUCCESS").subscribe(I=>this.successMessage=I)}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voService.getAllVos().subscribe(ke=>{this.vos=ke,this.loading=!1},()=>this.loading=!1),this.nameCtrl=new v.NI(null,[v.kI.required,v.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new v.NI("")}onSubmit(){this.loading=!0,this.resourcesManager.createResource(this.selectedVo.id,this.data.facilityId,this.nameCtrl.value,this.descriptionCtrl.value).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return Be.\u0275fac=function(ke){return new(ke||Be)(s.Y36(m.so),s.Y36(m.WI),s.Y36(A.V6),s.Y36(g.YF),s.Y36(b.sK),s.Y36(g.xk))},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["app-create-resource-dialog"]],decls:10,vars:12,consts:[["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","data-cy","create-resource-dialog-button","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["data-cy","create-resource-select-vo",1,"long-input",3,"vos","voSelected"],["matInput","","required","","data-cy","create-resource-name-input",3,"placeholder","formControl"],["matInput","",3,"placeholder","formControl"]],template:function(ke,De){1&ke&&(s.TgZ(0,"div"),s.YNc(1,X,1,0,"mat-spinner",0),s.YNc(2,he,14,15,"div",1),s.TgZ(3,"div",2),s.TgZ(4,"button",3),s.NdJ("click",function(){return De.onCancel()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"button",4),s.NdJ("click",function(){return De.onSubmit()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA(),s.qZA()),2&ke&&(s.Tol(De.theme),s.xp6(1),s.Q6J("ngIf",De.loading),s.xp6(1),s.Q6J("ngIf",!De.loading),s.xp6(3),s.hij(" ",s.lcZ(6,8,"DIALOGS.CREATE_RESOURCE.CANCEL")," "),s.xp6(2),s.Q6J("disabled",De.nameCtrl.invalid||De.descriptionCtrl.invalid||null===De.selectedVo||De.loading),s.xp6(1),s.hij(" ",s.lcZ(9,10,"DIALOGS.CREATE_RESOURCE.CREATE")," "))},directives:[R.O5,E.$g,m.xY,h.M,x.KE,k.Nt,v.Fj,v.Q7,v.JJ,v.oH,x.TO,m.H8,G.lW],pipes:[b.X$],styles:[".long-input[_ngcontent-%COMP%]{width:100%}"]}),Be})();var Ne=d(10036),ce=d(9244),Pe=d(96214),se=d(7434),V=d(62109);function F(Be,Fe){if(1&Be){const ke=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(ke),s.oxw().createResource()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&Be&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"FACILITY_DETAIL.RESOURCES.CREATE")," "))}function W(Be,Fe){if(1&Be){const ke=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(ke),s.oxw().removeResource()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&Be){const ke=s.oxw();s.Q6J("disabled",0===ke.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"FACILITY_DETAIL.RESOURCES.DELETE")," ")}}function te(Be,Fe){1&Be&&s._UZ(0,"mat-spinner",9)}function ae(Be,Fe){if(1&Be&&s._UZ(0,"perun-web-apps-resources-list",10),2&Be){const ke=s.oxw();s.Q6J("tableId",ke.tableId)("filterValue",ke.filterValue)("resources",ke.resources)("selection",ke.selected)("disableRouting",!ke.routeAuth)("displayedColumns",ke.displayedColumns)}}let pe=(()=>{class Be{constructor(ke,De,be,z){this.dialog=ke,this.facilitiesManager=De,this.authResolver=be,this.entityStorageService=z,this.resources=[],this.selected=new e.Ov(!0,[]),this.filterValue="",this.tableId=Ne.CP,this.displayedColumns=["id","vo","facility","description"]}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}removeResource(){const ke=(0,ce.kZ)();ke.width="450px",ke.data={theme:"facility-theme",resources:this.selected.selected},this.dialog.open(f.f,ke).afterClosed().subscribe(be=>{be&&this.refreshTable()})}refreshTable(){this.loading=!0,this.facilitiesManager.getAssignedRichResourcesForFacility(this.facility.id).subscribe(ke=>{this.resources=ke,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("createResource_Resource_Vo_Facility_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("deleteResource_Resource_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","vo","description"]:["id","name","vo","description"],0!==this.resources.length&&(this.routeAuth=this.authResolver.isAuthorized("getRichResourceById_int_policy",[this.facility,this.resources[0]]))}applyFilter(ke){this.filterValue=ke}createResource(){const ke=(0,ce.kZ)();ke.width="1350px",ke.data={facilityId:this.facility.id,theme:"facility-theme"},this.dialog.open(re,ke).afterClosed().subscribe(be=>{be&&this.refreshTable()})}}return Be.id="FacilityResourcesComponent",Be.\u0275fac=function(ke){return new(ke||Be)(s.Y36(m.uw),s.Y36(g.IQ),s.Y36(A.x4),s.Y36(A.fb))},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["app-facility-resources"]],hostVars:2,hostBindings:function(ke,De){2&ke&&s.ekj("router-component",De.true)},decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","data-cy","create-resource-button","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2","data-cy","delete-resource-button",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","resources","selection","disableRouting","displayedColumns",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","create-resource-button",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-resource-button",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","resources","selection","disableRouting","displayedColumns"]],template:function(ke,De){1&ke&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return De.refreshTable()}),s.qZA(),s.YNc(5,F,3,3,"button",2),s.YNc(6,W,3,4,"button",3),s.TgZ(7,"perun-web-apps-immediate-filter",4),s.NdJ("filter",function(z){return De.applyFilter(z)}),s.qZA(),s.YNc(8,te,1,0,"mat-spinner",5),s.YNc(9,ae,1,6,"perun-web-apps-resources-list",6),s.qZA()),2&ke&&(s.xp6(2),s.Oqu(s.lcZ(3,6,"FACILITY_DETAIL.RESOURCES.TITLE")),s.xp6(3),s.Q6J("ngIf",De.addAuth),s.xp6(1),s.Q6J("ngIf",De.removeAuth),s.xp6(1),s.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),s.xp6(1),s.Q6J("ngIf",De.loading),s.xp6(1),s.Q6J("ngIf",!De.loading))},directives:[Pe.t,R.O5,G.lW,se.L,E.$g,V.C],pipes:[b.X$],styles:[""]}),Be})()},86353:(Ze,ge,d)=>{"use strict";d.d(ge,{P:()=>z});var e=d(112),f=d(9244),g=d(10036),v=d(20449),m=d(48966),A=d(36908),s=d(93075),b=d(5e3),R=d(51062),E=d(11735),h=d(69808),x=d(20773),k=d(67322),G=d(98833),X=d(74107),he=d(90508),re=d(98380),Ne=d(47423);function ce(Ce,J){1&Ce&&b._UZ(0,"mat-spinner",7)}function Pe(Ce,J){if(1&Ce){const I=b.EpF();b.TgZ(0,"mat-option",16),b.NdJ("click",function(){const ze=b.CHM(I).$implicit;return b.oxw(2).srcFacility=ze}),b._uU(1),b.qZA()}if(2&Ce){const I=J.$implicit;b.Q6J("value",I),b.xp6(1),b.hij(" ",I.name," ")}}function se(Ce,J){if(1&Ce){const I=b.EpF();b.TgZ(0,"div",8),b.TgZ(1,"mat-form-field"),b._UZ(2,"input",9),b.ALo(3,"translate"),b.TgZ(4,"mat-error"),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.qZA(),b.TgZ(7,"mat-form-field"),b._UZ(8,"input",10),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"mat-form-field"),b.TgZ(11,"mat-select",11),b.ALo(12,"translate"),b.TgZ(13,"mat-option",12),b.NdJ("click",function(){return b.CHM(I),b.oxw().srcFacility=null}),b._uU(14),b.ALo(15,"translate"),b.qZA(),b.YNc(16,Pe,2,2,"mat-option",13),b.qZA(),b.qZA(),b.TgZ(17,"app-alert",14),b._UZ(18,"i",15),b.ALo(19,"translate"),b.qZA(),b.qZA()}if(2&Ce){const I=b.oxw();b.xp6(2),b.s9C("placeholder",b.lcZ(3,9,"DIALOGS.CREATE_FACILITY.NAME")),b.Q6J("formControl",I.nameControl),b.xp6(3),b.Oqu(b.lcZ(6,11,"DIALOGS.CREATE_FACILITY.REQUIRE_NAME")),b.xp6(3),b.s9C("placeholder",b.lcZ(9,13,"DIALOGS.CREATE_FACILITY.DESCRIPTION")),b.Q6J("formControl",I.descControl),b.xp6(3),b.s9C("placeholder",b.lcZ(12,15,"DIALOGS.CREATE_FACILITY.AS_COPY")),b.xp6(3),b.hij(" ",b.lcZ(15,17,"DIALOGS.CREATE_FACILITY.NO_COPY")," "),b.xp6(2),b.Q6J("ngForOf",I.facilities),b.xp6(2),b.Q6J("innerHTML",b.lcZ(19,19,"DIALOGS.CREATE_FACILITY.HINT"),b.oJD)}}let V=(()=>{class Ce{constructor(I,Ie,Re,ze,fe,ve,We){this.dialogRef=I,this.data=Ie,this.facilitiesManager=Re,this.notificator=ze,this.translate=fe,this.router=ve,this.entityStorageService=We,this.nameControl=new s.NI("",[s.kI.required]),this.descControl=new s.NI(""),this.srcFacility=null,this.configure=!1,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.facilitiesManager.getAllFacilities().subscribe(I=>{this.facilities=I,this.loading=!1},()=>this.loading=!1)}copyFacilitySettings(I){this.facilitiesManager.copyAttributes(this.srcFacility.id,I).subscribe(()=>{this.facilitiesManager.copyManagers(this.srcFacility.id,I).subscribe(()=>{this.facilitiesManager.copyOwners(this.srcFacility.id,I).subscribe(()=>{this.handleSuccess(I)},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)}onCreate(I){this.loading=!0,this.configure=I,this.facilitiesManager.createFacility(this.nameControl.value,this.descControl.value).subscribe(Ie=>{this.entityStorageService.setEntity({id:Ie.id,beanName:Ie.beanName}),sessionStorage.setItem("newFacilityId",String(Ie.id)),null!==this.srcFacility?this.copyFacilitySettings(Ie.id):this.handleSuccess(Ie.id)})}handleSuccess(I){this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_FACILITY.SUCCESS")),this.configure&&this.router.navigate(["facilities",I.toString(),"configuration"]),this.dialogRef.close(!0)}onCancel(){this.dialogRef.close(!1)}}return Ce.\u0275fac=function(I){return new(I||Ce)(b.Y36(m.so),b.Y36(m.WI),b.Y36(e.IQ),b.Y36(A.V6),b.Y36(R.sK),b.Y36(E.F0),b.Y36(A.fb))},Ce.\u0275cmp=b.Xpm({type:Ce,selectors:[["app-create-facility-dialog"]],decls:16,vars:19,consts:[[1,"mat-dialog-title"],["class","mr-auto ml-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","data-cy","create-facility-button","color","accent",1,"ml2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","data-cy","facility-name-input",3,"formControl","placeholder"],["matInput","","data-cy","facility-description-input",3,"formControl","placeholder"],["disableOptionCentering","true",3,"placeholder"],[3,"click"],[3,"value","click",4,"ngFor","ngForOf"],["alert_type","info"],[3,"innerHTML"],[3,"value","click"]],template:function(I,Ie){1&I&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,ce,1,0,"mat-spinner",1),b.YNc(5,se,20,21,"div",2),b.TgZ(6,"div",3),b.TgZ(7,"button",4),b.NdJ("click",function(){return Ie.onCancel()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Ie.onCreate(!1)}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.TgZ(13,"button",6),b.NdJ("click",function(){return Ie.onCreate(!0)}),b._uU(14),b.ALo(15,"translate"),b.qZA(),b.qZA(),b.qZA()),2&I&&(b.Tol(Ie.theme),b.xp6(2),b.Oqu(b.lcZ(3,11,"DIALOGS.CREATE_FACILITY.TITLE")),b.xp6(2),b.Q6J("ngIf",Ie.loading),b.xp6(1),b.Q6J("ngIf",!Ie.loading),b.xp6(3),b.hij(" ",b.lcZ(9,13,"DIALOGS.CREATE_FACILITY.CANCEL")," "),b.xp6(2),b.Q6J("disabled",0===Ie.nameControl.value.trim().length||Ie.loading),b.xp6(1),b.hij(" ",b.lcZ(12,15,"DIALOGS.CREATE_FACILITY.CREATE")," "),b.xp6(2),b.Q6J("disabled",0===Ie.nameControl.value.trim().length||!!Ie.srcFacility||Ie.loading),b.xp6(1),b.hij(" ",b.lcZ(15,17,"DIALOGS.CREATE_FACILITY.CREATE_AND_CONFIGURE")," "))},directives:[h.O5,x.$g,m.xY,k.KE,G.Nt,s.Fj,s.Q7,s.JJ,s.oH,k.TO,X.gD,he.ey,h.sg,re.w,m.H8,Ne.lW],pipes:[R.X$],styles:[""]}),Ce})();var F=d(54037),W=d(77968),te=d(4235),ae=d(25245),pe=d(96214),Be=d(7434),Fe=d(74010);function ke(Ce,J){1&Ce&&b._UZ(0,"mat-spinner",9)}function De(Ce,J){if(1&Ce&&b._UZ(0,"perun-web-apps-facilities-list",10),2&Ce){const I=b.oxw();b.Q6J("tableId",I.tableId)("selection",I.selection)("filterValue",I.filterValue)("facilities",I.facilities)("recentIds",I.recentIds)}}const be=function(){return{color:"black"}};let z=(()=>{class Ce{constructor(I,Ie,Re){this.facilityManager=I,this.sideMenuService=Ie,this.dialog=Re,this.facilities=[],this.recentIds=[],this.filterValue="",this.tableId=g.xt,this.selection=new v.Ov(!1,[])}ngOnInit(){this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setFacilityMenuItems([])}refreshTable(){this.loading=!0,this.facilityManager.getEnrichedFacilities().subscribe(I=>{this.selection.clear(),this.facilities=I,this.recentIds=(0,f.vL)("facilities"),this.loading=!1})}onCreate(){const I=(0,f.kZ)();I.width="800px",I.data={theme:"facility-theme"},this.dialog.open(V,I).afterClosed().subscribe(Re=>{Re&&(this.loading=!0,this.refreshTable())})}onDelete(){const I=(0,f.kZ)();I.width="500px",I.data={theme:"facility-theme",facility:this.selection.selected[0].facility},this.dialog.open(F.Y,I).afterClosed().subscribe(Re=>{Re&&this.refreshTable()})}applyFilter(I){this.filterValue=I}}return Ce.id="FacilitySelectPageComponent",Ce.\u0275fac=function(I){return new(I||Ce)(b.Y36(e.IQ),b.Y36(W.D),b.Y36(m.uw))},Ce.\u0275cmp=b.Xpm({type:Ce,selectors:[["app-facility-select-page"]],hostVars:2,hostBindings:function(I,Ie){2&I&&b.ekj("router-component",Ie.true)},decls:16,vars:16,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","facility-theme"],[1,"page-title","d-flex"],["svgIcon","perun-facility-black",1,"perun-icon","icon-scale",3,"ngStyle"],[3,"refresh"],["mat-flat-button","","data-cy","new-facility-button","color","accent",1,"action-button","mr-2",3,"click"],["mat-flat-button","","data-cy","delete-facility-button","color","warn",1,"mr-2",3,"disabled","click"],[3,"autoFocus","placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","selection","filterValue","facilities","recentIds",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","selection","filterValue","facilities","recentIds"]],template:function(I,Ie){1&I&&(b.TgZ(0,"div",0),b._UZ(1,"perun-web-apps-back-button"),b.TgZ(2,"h1",1),b._UZ(3,"mat-icon",2),b._uU(4),b.ALo(5,"translate"),b.qZA(),b.TgZ(6,"perun-web-apps-refresh-button",3),b.NdJ("refresh",function(){return Ie.refreshTable()}),b.qZA(),b.TgZ(7,"button",4),b.NdJ("click",function(){return Ie.onCreate()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Ie.onDelete()}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.TgZ(13,"perun-web-apps-immediate-filter",6),b.NdJ("filter",function(ze){return Ie.applyFilter(ze)}),b.qZA(),b.YNc(14,ke,1,0,"mat-spinner",7),b.YNc(15,De,1,5,"perun-web-apps-facilities-list",8),b.qZA()),2&I&&(b.xp6(3),b.Q6J("ngStyle",b.DdM(15,be)),b.xp6(1),b.hij(" ",b.lcZ(5,9,"FACILITY_MANAGEMENT.TITLE")," "),b.xp6(4),b.hij(" ",b.lcZ(9,11,"FACILITY_MANAGEMENT.CREATE")," "),b.xp6(2),b.Q6J("disabled",0===Ie.selection.selected.length),b.xp6(1),b.hij(" ",b.lcZ(12,13,"FACILITY_MANAGEMENT.DELETE")," "),b.xp6(2),b.Q6J("autoFocus",!0)("placeholder","FACILITY_MANAGEMENT.FILTER_PLACEHOLDER"),b.xp6(1),b.Q6J("ngIf",Ie.loading),b.xp6(1),b.Q6J("ngIf",!Ie.loading))},directives:[te.W,ae.Hw,h.PC,pe.t,Ne.lW,Be.L,h.O5,x.$g,Fe.X],pipes:[R.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),Ce})()},51076:(Ze,ge,d)=>{"use strict";d.d(ge,{J:()=>Ne});var e=d(48966),f=d(36908),g=d(112),v=d(9244),m=d(93075),A=d(5e3),s=d(51062),b=d(67322),R=d(98833),E=d(74107),h=d(69808),x=d(90508),k=d(47423),G=d(57706);let X=(()=>{class ce{constructor(se){this.translateService=se,this.returnData=""}transform(se){switch(se){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HEADER").subscribe(V=>{this.returnData=V});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HTML_COMMENT").subscribe(V=>{this.returnData=V});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTFIELD").subscribe(V=>{this.returnData=V});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.VALIDATED_EMAIL").subscribe(V=>{this.returnData=V});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.USERNAME").subscribe(V=>{this.returnData=V});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.PASSWORD").subscribe(V=>{this.returnData=V});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SELECTIONBOX").subscribe(V=>{this.returnData=V});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTAREA").subscribe(V=>{this.returnData=V});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.COMBOBOX").subscribe(V=>{this.returnData=V});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.CHECKBOX").subscribe(V=>{this.returnData=V});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SUBMIT_BUTTON").subscribe(V=>{this.returnData=V});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.RADIO").subscribe(V=>{this.returnData=V});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TIMEZONE").subscribe(V=>{this.returnData=V});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.AUTO_SUBMIT_BUTTON").subscribe(V=>{this.returnData=V});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.EMBEDDED_GROUP_APPLICATION").subscribe(V=>{this.returnData=V});break;default:return se}return this.returnData}}return ce.\u0275fac=function(se){return new(se||ce)(A.Y36(s.sK,16))},ce.\u0275pipe=A.Yjl({name:"applicationFormWidgetDescription",type:ce,pure:!0}),ce})();function he(ce,Pe){if(1&ce&&(A.TgZ(0,"mat-option",9),A._uU(1),A.ALo(2,"applicationFormItemType"),A.qZA()),2&ce){const se=Pe.$implicit;A.Q6J("value",se),A.xp6(1),A.hij(" ",A.lcZ(2,2,se)," ")}}function re(ce,Pe){if(1&ce&&(A.TgZ(0,"mat-option",9),A._uU(1),A.qZA()),2&ce){const se=Pe.$implicit;A.Q6J("value",se),A.xp6(1),A.hij(" ",se," ")}}let Ne=(()=>{class ce{constructor(se,V,F,W){this.dialogRef=se,this.data=V,this.translateService=F,this.store=W,this.languages=this.store.get("supported_languages"),this.items=[],this.selectedWidget="HEADING",this.widgets=["HEADING","HTML_COMMENT","TEXTFIELD","VALIDATED_EMAIL","USERNAME","PASSWORD","SELECTIONBOX","TEXTAREA","COMBOBOX","CHECKBOX","SUBMIT_BUTTON","RADIO","TIMEZONE","AUTO_SUBMIT_BUTTON","EMBEDDED_GROUP_APPLICATION"]}ngOnInit(){this.translateService.get("DIALOGS.APPLICATION_FORM_ADD_ITEM.INSERT_TO_BEGINNING").subscribe(se=>{this.nameCtrl=new m.NI("",[m.kI.required,m.kI.pattern(".*[\\S]+.*"),m.kI.maxLength(129)]),this.nameCtrl.markAllAsTouched(),this.items.push(se);for(const V of this.data.applicationFormItems)this.items.push(V.shortname),V.type===g.Dy.EMBEDDEDGROUPAPPLICATION&&(this.widgets=this.widgets.filter(F=>F!==g.Dy.EMBEDDEDGROUPAPPLICATION));this.selectedItem=se})}cancel(){this.dialogRef.close(!1)}submit(){const se=this.createApplicationItem();this.dialogRef.close([this.data.applicationFormItems,se])}createApplicationItem(){const se=(0,v.dv)(this.languages);se.id=this.data.fakeId,se.shortname=this.nameCtrl.value,se.type=this.selectedWidget;for(let V=0;V{"use strict";d.d(ge,{o:()=>o});var e=d(48966),f=d(36908),g=d(20449),v=d(112),m=d(64080),A=d(9244),s=d(10036),b=d(84847),R=d(32075),E=d(5e3),h=d(18750),x=d(29772),k=d(77446),G=d(69808),X=d(98380),he=d(51062),re=d(69773),Ne=d(21757),ce=d(31359),Pe=d(9954);function se(t,i){1&t&&E._UZ(0,"th",18)}function V(t,i){if(1&t){const c=E.EpF();E.TgZ(0,"td",19),E.TgZ(1,"div",20),E.ALo(2,"translate"),E.TgZ(3,"mat-checkbox",21),E.NdJ("change",function(T){const je=E.CHM(c).$implicit,Et=E.oxw();return T?Et.itemSelectionToggle(je):null})("click",function(T){return T.stopPropagation()}),E.ALo(4,"lowercase"),E.ALo(5,"translate"),E.qZA(),E.qZA(),E.qZA()}if(2&t){const c=i.$implicit,p=E.oxw();E.xp6(1),E.Q6J("matTooltip",E.lcZ(2,5,p.getTooltip(c)))("matTooltipDisabled",!p.isCheckboxDisabled(c)),E.xp6(2),E.Q2q("data-cy","",E.lcZ(4,7,E.lcZ(5,9,c.richUser?c.richUser.firstName:c.candidate.firstName)),"-checkbox"),E.Q6J("checked",p.selection.isSelected(c))("disabled",p.isCheckboxDisabled(c))}}function F(t,i){1&t&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&t&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.STATUS")," "))}function W(t,i){if(1&t&&(E.TgZ(0,"i",25),E.ALo(1,"memberStatusIconColor"),E._uU(2),E.ALo(3,"memberStatusIcon"),E.qZA()),2&t){const c=E.oxw().$implicit;E.Gre("material-icons ",E.lcZ(1,5,c.member.status),""),E.s9C("matTooltip",c.member.status),E.xp6(2),E.hij(" ",E.lcZ(3,7,c.member.status)," ")}}function te(t,i){if(1&t&&(E.TgZ(0,"td",23),E.YNc(1,W,4,9,"i",24),E.qZA()),2&t){const c=i.$implicit;E.xp6(1),E.Q6J("ngIf",c.member)}}function ae(t,i){1&t&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&t&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.NAME")," "))}function pe(t,i){if(1&t&&(E.TgZ(0,"td",23),E._uU(1),E.ALo(2,"userFullName"),E.ALo(3,"userFullName"),E.qZA()),2&t){const c=i.$implicit;E.xp6(1),E.hij(" ",c.richUser?E.lcZ(2,1,c.richUser):E.lcZ(3,3,c.candidate)," ")}}function Be(t,i){1&t&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&t&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.ORGANIZATION")," "))}function Fe(t,i){if(1&t&&(E.TgZ(0,"td",23),E._uU(1),E.ALo(2,"userVo"),E.qZA()),2&t){const c=i.$implicit,p=E.oxw();E.xp6(1),E.hij(" ",c.richUser?E.lcZ(2,1,c.richUser):p.getOrganization(c.candidate)," ")}}function ke(t,i){1&t&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&t&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.EMAIL")," "))}function De(t,i){if(1&t&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&t){const c=i.$implicit,p=E.oxw();E.xp6(1),E.hij(" ",p.getEmail(c)," ")}}function be(t,i){1&t&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&t&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.LOGINS")," "))}function z(t,i){if(1&t&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&t){const c=i.$implicit,p=E.oxw();E.xp6(1),E.hij(" ",p.getLogins(c)," ")}}function Ce(t,i){1&t&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&t&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.ALREADY_MEMBER")," "))}function J(t,i){if(1&t&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&t){const c=i.$implicit,p=E.oxw();E.xp6(1),E.hij(" ",p.getAlreadyMember(c)," ")}}function I(t,i){1&t&&E._UZ(0,"th",22)}function Ie(t,i){if(1&t&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&t){const c=i.$implicit;E.xp6(1),E.hij(" ",c.richUser?"Local":"External identity"," ")}}function Re(t,i){1&t&&E._UZ(0,"tr",26)}function ze(t,i){1&t&&E._UZ(0,"tr",27)}function fe(t,i){1&t&&(E.TgZ(0,"app-alert",28),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&t&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"DIALOGS.ADD_MEMBERS.NO_USERS_FOUND"),"\n"))}let ve=(()=>{class t{constructor(c){this.guiAuthResolver=c,this.blockManualAdding=!1,this.displayedColumns=["checkbox","status","fullName","voExtSource","email","logins","alreadyMember","local"],this.pageSizeOptions=A.f7,this.addAuth=!1}set matSort(c){this.sort=c,this.setDataSource()}getDataForColumn(c,p,T){var Se,je;switch(p){case"status":return c.member&&null!==(Se=c.member.status)&&void 0!==Se?Se:"";case"fullName":{const Et=c.richUser?c.richUser:c.candidate;return Et.lastName?Et.lastName:null!==(je=Et.firstName)&&void 0!==je?je:""}case"voExtSource":return c.richUser?(0,A.OV)(c.richUser):(0,A.v$)(c.candidate);case"email":return c.richUser||c.member?(0,A.kN)(c.richUser):T.getEmail(c);case"logins":return T.getLogins(c);case"alreadyMember":return T.getAlreadyMember(c);case"local":return c.richUser?"Local":"External identity";default:return c[p]}}getExportDataForColumn(c,p,T){var Se;switch(p){case"status":return c.member&&null!==(Se=c.member.status)&&void 0!==Se?Se:"";case"fullName":return(0,A.bD)(c.richUser?c.richUser:c.candidate);case"voExtSource":return c.richUser?(0,A.OV)(c.richUser):(0,A.v$)(c.candidate);case"email":return c.richUser||c.member?(0,A.kN)(c.richUser):T.getEmail(c);case"logins":return T.getLogins(c);case"alreadyMember":return T.getAlreadyMember(c);case"local":return c.richUser?"Local":"External identity";default:return c[p]}}exportData(c){(0,A.O6)((0,A.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),c)}setDataSource(){null==this.child||!this.child.paginator||this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(c,p)=>(0,A.Sd)(c,p,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(c,p)=>(0,A.pR)(c,p,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}ngAfterViewInit(){this.setDataSource()}ngOnChanges(){this.dataSource=new R.by(this.members),this.setDataSource()}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(c=>this.selection.select(c)),this.setAddAuth()}getEmail(c){let p;if(c.richUser){for(const T of c.richUser.userAttributes)if(T.namespace+":"+T.friendlyName=="urn:perun:user:attribute-def:def:preferredMail"){p=T;break}return null!=p&&null!=p.value&&"null"!==p.value.toString().toLowerCase()?p.value.toString().replace(","," "):""}return(0,A.Jc)(c.candidate)}getOrganization(c){return(0,A.v$)(c)}getLogins(c){if(c.richUser)return this.getLoginsForRichUser(c.richUser);{let p=this.getLoginsForCandidate(c.candidate);return(null==p||""===p)&&(p=c.candidate.userExtSource.login),p}}getLoginsForRichUser(c){let p="";for(const T of c.userAttributes)T.friendlyName.startsWith("login-namespace")&&null!=T.value&&(p.length>0&&(p+=", "),p+=T.friendlyName.substring(16)+": "+T.value);return p}getLoginsForCandidate(c){let T="";for(const Se in c.attributes)Object.prototype.hasOwnProperty.call(c.attributes,Se)&&-1!==Se.indexOf("urn:perun:user:attribute-def:def:login-namespace:")&&null!=c.attributes[Se]&&(T.length>0&&(T+=", "),T+=Se.substring(49)+": "+c.attributes[Se]);return T}getAlreadyMember(c){if("vo"===this.type){if(null!=c.member)return"Member of VO"}else{if(null!=c.member&&0!==c.member.sourceGroupId&&"DIRECT"===c.member.membershipType)return"Member of Group";if(null!=c.member&&0!==c.member.sourceGroupId&&"INDIRECT"===c.member.membershipType)return"Indirect member of Group";if(null!=c.member)return"Member of VO"}return""}isCheckboxDisabled(c){return"vo"===this.type?null!=c.member:c.member?0!==c.member.sourceGroupId&&"DIRECT"===c.member.membershipType:this.blockManualAdding}setAddAuth(){void 0!==this.group&&0!==this.selection.selected.length&&(this.addAuth=!!this.selection.selected[0].member||this.guiAuthResolver.isAuthorized("createMember_Vo_User_List_policy",[this.group])&&this.guiAuthResolver.isAuthorized("createMember_Vo_Candidate_List_policy",[this.group]))}itemSelectionToggle(c){this.selection.toggle(c),this.setAddAuth()}getTooltip(c){return c.member?"MEMBERS_CANDIDATES_LIST.ALREADY_MEMBER":"MEMBERS_CANDIDATES_LIST.ADDING_BLOCKED"}}return t.\u0275fac=function(c){return new(c||t)(E.Y36(f.x4))},t.\u0275cmp=E.Xpm({type:t,selectors:[["app-members-candidates-list"]],viewQuery:function(c,p){if(1&c&&(E.Gf(b.YE,5),E.Gf(A.l9,7)),2&c){let T;E.iGM(T=E.CRH())&&(p.matSort=T.first),E.iGM(T=E.CRH())&&(p.child=T.first)}},inputs:{members:"members",selection:"selection",type:"type",tableId:"tableId",group:"group",blockManualAdding:"blockManualAdding"},features:[E.TTD],decls:30,vars:8,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","voExtSource"],["matColumnDef","email"],["matColumnDef","logins"],["matColumnDef","alreadyMember"],["matColumnDef","local"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["color","primary",3,"checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matTooltipPosition","left",3,"class","matTooltip",4,"ngIf"],["matTooltipPosition","left",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(c,p){1&c&&(E.TgZ(0,"div",0),E.TgZ(1,"perun-web-apps-table-wrapper",1),E.NdJ("exportData",function(Se){return p.exportData(Se)}),E.TgZ(2,"table",2),E.ynx(3,3),E.YNc(4,se,1,0,"th",4),E.YNc(5,V,6,11,"td",5),E.BQk(),E.ynx(6,6),E.YNc(7,F,3,3,"th",7),E.YNc(8,te,2,1,"td",8),E.BQk(),E.ynx(9,9),E.YNc(10,ae,3,3,"th",7),E.YNc(11,pe,4,5,"td",8),E.BQk(),E.ynx(12,10),E.YNc(13,Be,3,3,"th",7),E.YNc(14,Fe,3,3,"td",8),E.BQk(),E.ynx(15,11),E.YNc(16,ke,3,3,"th",7),E.YNc(17,De,2,1,"td",8),E.BQk(),E.ynx(18,12),E.YNc(19,be,3,3,"th",7),E.YNc(20,z,2,1,"td",8),E.BQk(),E.ynx(21,13),E.YNc(22,Ce,3,3,"th",7),E.YNc(23,J,2,1,"td",8),E.BQk(),E.ynx(24,14),E.YNc(25,I,1,0,"th",7),E.YNc(26,Ie,2,1,"td",8),E.BQk(),E.YNc(27,Re,1,0,"tr",15),E.YNc(28,ze,1,0,"tr",16),E.qZA(),E.qZA(),E.qZA(),E.YNc(29,fe,3,3,"app-alert",17)),2&c&&(E.Q6J("hidden",0===p.members.length),E.xp6(1),E.Q6J("tableId",p.tableId)("dataLength",p.dataSource.filteredData.length)("pageSizeOptions",p.pageSizeOptions),E.xp6(1),E.Q6J("dataSource",p.dataSource),E.xp6(25),E.Q6J("matHeaderRowDef",p.displayedColumns),E.xp6(1),E.Q6J("matRowDefColumns",p.displayedColumns),E.xp6(1),E.Q6J("ngIf",0===p.members.length))},directives:[h.l,R.BZ,b.YE,R.w1,R.fO,R.ge,R.Dz,R.ev,x.gM,k.oG,b.nU,G.O5,R.as,R.XQ,R.nj,R.Gk,X.w],pipes:[he.X$,G.i8,re.u,Ne.f,ce.d,Pe.Z],styles:[""]}),t})();var We=d(93075),nt=d(11735),st=d(67322),dt=d(98833),L=d(47423),de=d(20773),M=d(92181);const S=["list"];function P(t,i){1&t&&E._UZ(0,"mat-spinner",10)}function N(t,i){if(1&t&&E._UZ(0,"app-members-candidates-list",13,14),2&t){const c=E.oxw(3);E.Q6J("group",c.data.group)("tableId",c.tableId)("selection",c.selection)("members",c.members)("type",c.data.type)("blockManualAdding",c.manualAddingBlocked)}}function ne(t,i){if(1&t&&(E.TgZ(0,"div",11),E.YNc(1,N,2,6,"app-members-candidates-list",12),E.qZA()),2&t){const c=E.oxw(2);E.xp6(1),E.Q6J("ngIf",c.firstSearchDone)}}function j(t,i){if(1&t){const c=E.EpF();E.TgZ(0,"div",4),E.TgZ(1,"mat-form-field",5),E.TgZ(2,"label"),E.TgZ(3,"input",6),E.NdJ("keyup.enter",function(){return E.CHM(c),E.oxw().onSearchByString()}),E.ALo(4,"translate"),E.qZA(),E.qZA(),E.TgZ(5,"mat-error"),E._uU(6),E.ALo(7,"translate"),E.qZA(),E.qZA(),E.TgZ(8,"button",7),E.NdJ("click",function(){return E.CHM(c),E.oxw().onSearchByString()}),E._uU(9),E.ALo(10,"translate"),E.qZA(),E.TgZ(11,"div",8),E.YNc(12,P,1,0,"mat-spinner",2),E.qZA(),E.YNc(13,ne,2,1,"div",9),E.qZA()}if(2&t){const c=E.oxw();E.xp6(3),E.s9C("placeholder",E.lcZ(4,7,"DIALOGS.ADD_MEMBERS.DESCRIPTION")),E.Q6J("formControl",c.searchCtrl),E.xp6(3),E.hij(" ",E.lcZ(7,9,"DIALOGS.ADD_MEMBERS.EMPTY_SEARCH_MESSAGE")," "),E.xp6(2),E.Q6J("disabled",c.loading),E.xp6(1),E.hij(" ",E.lcZ(10,11,"DIALOGS.ADD_MEMBERS.SEARCH")," "),E.xp6(3),E.Q6J("ngIf",c.loading),E.xp6(1),E.Q6J("ngIf",!!c.members&&!c.loading)}}function Te(t,i){1&t&&E._UZ(0,"mat-spinner",10)}function n(t,i){if(1&t&&(E.TgZ(0,"button",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&t){E.oxw();const c=E.MAs(8),p=E.oxw();E.Q6J("disabled",0===p.selection.selected.length||p.loading)("matMenuTriggerFor",c),E.xp6(1),E.hij(" ",E.lcZ(2,3,"DIALOGS.ADD_MEMBERS.INVITE")," ")}}function r(t,i){if(1&t){const c=E.EpF();E.TgZ(0,"button",23),E.NdJ("click",function(){const Se=E.CHM(c).$implicit;return E.oxw(2).onInvite(Se)}),E._uU(1),E.ALo(2,"translate"),E.ALo(3,"translate"),E.ALo(4,"uppercase"),E.ALo(5,"translate"),E.qZA()}if(2&t){const c=i.$implicit;E.xp6(1),E.lnq(" ",E.lcZ(2,3,"DIALOGS.ADD_MEMBERS.INVITE_IN_LANGUAGE")," ",E.lcZ(3,5,E.lcZ(4,7,"SHARED_LIB.LANGUAGES."+c))," ",E.lcZ(5,9,"DIALOGS.ADD_MEMBERS.LANGUAGE")," ")}}function u(t,i){if(1&t){const c=E.EpF();E.TgZ(0,"div",15),E.TgZ(1,"button",16),E.NdJ("click",function(){return E.CHM(c),E.oxw().onCancel()}),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.TgZ(4,"span",17),E.ALo(5,"translate"),E.YNc(6,n,3,5,"button",18),E.TgZ(7,"mat-menu",null,19),E.YNc(9,r,6,11,"button",20),E.qZA(),E.qZA(),E.TgZ(10,"button",21),E.NdJ("click",function(){return E.CHM(c),E.oxw().onAdd()}),E._uU(11),E.ALo(12,"translate"),E.qZA(),E.qZA()}if(2&t){const c=E.oxw();E.xp6(2),E.hij(" ",E.lcZ(3,7,"DIALOGS.ADD_MEMBERS.CANCEL")," "),E.xp6(2),E.s9C("matTooltip",E.lcZ(5,9,"DIALOGS.ADD_MEMBERS.ADD_MEMBER_PERMISSION_TOOLTIP")),E.Q6J("matTooltipDisabled",0===c.selection.selected.length||"group"!==c.data.type||void 0!==c.list&&c.list.addAuth),E.xp6(2),E.Q6J("ngIf","group"!==c.data.type||"group"===c.data.type&&c.inviteAuth),E.xp6(3),E.Q6J("ngForOf",c.languages),E.xp6(1),E.Q6J("disabled",0===c.selection.selected.length||c.loading||"group"===c.data.type&&void 0!==c.list&&!c.list.addAuth),E.xp6(1),E.hij(" ",E.lcZ(12,11,"DIALOGS.ADD_MEMBERS.CREATE")," ")}}let o=(()=>{class t{constructor(c,p,T,Se,je,Et,St,Ft,It,Vt,Mt,at){this.dialogRef=c,this.data=p,this.membersManagerService=T,this.groupService=Se,this.voService=je,this.registrarManager=Et,this.translate=St,this.notificator=Ft,this.route=It,this.router=Vt,this.guiAuthResolver=Mt,this.store=at,this.languages=["en"],this.selection=new g.Ov(!1,[]),this.members=[],this.firstSearchDone=!1,this.tableId=s.tY,this.inviteAuth=!1,this.manualAddingBlocked=!1,St.get("DIALOGS.ADD_MEMBERS.TITLE").subscribe(Ut=>this.title=Ut)}onCancel(){this.dialogRef.close(!1)}onAdd(){this.processing=!0;const c=this.selection.selected[0];"vo"===this.data.type?c.richUser?this.addUserToVo(c):this.addCandidateToVo(c):"group"===this.data.type&&(c.member?this.addMemberToGroup(c):c.richUser?this.addUserToGroup(c):c.candidate&&this.addCandidateToGroup(c))}onInvite(c){this.processing=!0,this.selection.selected[0].richUser?"vo"===this.data.type?this.registrarManager.sendInvitationToExistingUser(this.selection.selected[0].richUser.id,this.data.entityId).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"group"===this.data.type&&this.registrarManager.sendInvitationGroupToExistingUser(this.selection.selected[0].richUser.id,this.data.voId,this.data.group.id).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"vo"===this.data.type?this.registrarManager.sendInvitation((0,A.Jc)(this.selection.selected[0].candidate),c,this.data.voId).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"group"===this.data.type&&this.registrarManager.sendInvitationForGroup((0,A.Jc)(this.selection.selected[0].candidate),c,this.data.voId,this.data.group.id).subscribe(()=>{this.onInviteSuccess()},()=>this.onError())}onSearchByString(){this.searchCtrl.invalid?this.searchCtrl.markAllAsTouched():(this.loading=!0,this.selection.clear(),"vo"===this.data.type?this.voService.getCompleteCandidatesForVo(this.data.entityId,[m.r.USER_DEF_ORGANIZATION,m.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(c=>{this.members=c,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1):this.voService.getCompleteCandidatesForGroup(this.data.entityId,[m.r.USER_DEF_ORGANIZATION,m.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(c=>{this.members=c,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1))}ngOnInit(){this.languages=this.store.get("supported_languages"),this.theme=this.data.theme,this.manualAddingBlocked=this.data.manualAddingBlocked,"group"===this.data.type&&(this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_User_policy",[this.data.group])),this.searchCtrl=new We.NI("",[We.kI.required,We.kI.pattern(".*[\\S]+.*")])}addUserToVo(c){this.membersManagerService.createMemberForUser({vo:this.data.entityId,user:c.richUser.id}).subscribe(p=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(p.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addCandidateToVo(c){this.membersManagerService.createMemberForCandidate({vo:this.data.entityId,candidate:this.createCandidate(c.candidate)}).subscribe(p=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(p.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addUserToGroup(c){this.membersManagerService.createMemberForUser({vo:this.data.voId,user:c.richUser.id,groups:[{id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId}]}).subscribe(T=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(T.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addMemberToGroup(c){this.groupService.addMembers(this.data.entityId,[c.member.id]).subscribe(()=>{this.onAddSuccess()},()=>this.onError())}addCandidateToGroup(c){const p={id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId};this.membersManagerService.createMemberForCandidate({vo:this.data.voId,candidate:this.createCandidate(c.candidate),groups:[p]}).subscribe(T=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(T.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}onAddSuccess(){this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS").subscribe(c=>{this.notificator.showSuccess(c),this.dialogRef.close(!0)})}onError(){this.selection.clear(),this.processing=!1}onInviteSuccess(){this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS_INVITE").subscribe(c=>{this.notificator.showSuccess(c),this.dialogRef.close(!0)})}onValidateSuccess(){this.dialogRef.close(!0)}createCandidate(c){return{userExtSource:c.userExtSource,additionalUserExtSources:c.additionalUserExtSources,attributes:c.attributes,firstName:c.firstName,lastName:c.lastName,middleName:c.middleName,titleBefore:c.titleBefore,titleAfter:c.titleAfter,id:c.id}}}return t.\u0275fac=function(c){return new(c||t)(E.Y36(e.so),E.Y36(e.WI),E.Y36(v.uq),E.Y36(v.ff),E.Y36(v.YF),E.Y36(v.tk),E.Y36(he.sK),E.Y36(f.V6),E.Y36(nt.gz),E.Y36(nt.F0),E.Y36(f.x4),E.Y36(f.d6))},t.\u0275cmp=E.Xpm({type:t,selectors:[["app-add-member-dialog"]],viewQuery:function(c,p){if(1&c&&E.Gf(S,5),2&c){let T;E.iGM(T=E.CRH())&&(p.list=T.first)}},decls:7,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["matInput","","autocomplete","false","data-cy","search-members",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent","data-cy","search-button",1,"ml-auto",3,"disabled","click"],[1,"no-bounce-scrollbar"],["class","mt-3",4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"mt-3"],[3,"group","tableId","selection","members","type","blockManualAdding",4,"ngIf"],[3,"group","tableId","selection","members","type","blockManualAdding"],["list",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["class","ml-2 dropdown-toggle","color","accent","mat-flat-button","",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-flat-button","","color","accent","data-cy","add-button",1,"ml-2",3,"disabled","click"],["color","accent","mat-flat-button","",1,"ml-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",3,"click"]],template:function(c,p){1&c&&(E.TgZ(0,"div"),E.TgZ(1,"h1",0),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.YNc(4,j,14,13,"div",1),E.YNc(5,Te,1,0,"mat-spinner",2),E.YNc(6,u,13,13,"div",3),E.qZA()),2&c&&(E.Tol(p.theme),E.xp6(2),E.Oqu(E.lcZ(3,7,"DIALOGS.ADD_MEMBERS.TITLE")),E.xp6(2),E.Q6J("ngIf",!p.processing),E.xp6(1),E.Q6J("ngIf",p.processing),E.xp6(1),E.Q6J("ngIf",!p.processing))},directives:[e.uh,G.O5,e.xY,st.KE,dt.Nt,We.Fj,We.JJ,We.oH,st.TO,L.lW,de.$g,ve,e.H8,x.gM,M.p6,M.VK,G.sg,M.OP],pipes:[he.X$,G.gd],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}.no-bounce-scrollbar[_ngcontent-%COMP%]{overflow:hidden}"]}),t})()},95502:(Ze,ge,d)=>{"use strict";d.d(ge,{W:()=>x});var e=d(48966),f=d(112),g=d(36908),v=d(5e3),m=d(51062),A=d(69808),s=d(20773),b=d(62707),R=d(82322),E=d(47423);function h(k,G){1&k&&v._UZ(0,"mat-spinner",9)}let x=(()=>{class k{constructor(X,he,re,Ne,ce,Pe,se,V){this.dialogRef=X,this.voService=he,this.groupService=re,this.translateService=Ne,this.registrarManager=ce,this.notificatorService=Pe,this.apiRequest=se,this.data=V,this.vos=[],this.groups=[],this.selectedGroup=null,this.loading=!1,this.nameFunction=F=>F.name,Ne.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUCCESS").subscribe(F=>this.successMessage=F),Ne.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.PRIVILEGE").subscribe(F=>this.privilegeMessage=F),Ne.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_FORM").subscribe(F=>this.noFormMessage=F)}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.translateService.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_GROUP_SELECTED").subscribe(()=>{this.voService.getMyVos().subscribe(X=>{this.vos=X.sort((he,re)=>he.name>re.name?1:he.namethis.loading=!1)},()=>this.loading=!1)}cancel(){this.dialogRef.close(!1)}submit(){this.apiRequest.dontHandleErrorForNext(),this.loading=!0,this.data.groupId?null===this.selectedGroup?this.registrarManager.copyFormFromVoToGroup(this.selectedVo.id,this.data.groupId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},X=>{"FormNotExistsException"===X.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===X.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):this.registrarManager.copyFormFromGroupToGroup(this.selectedGroup.id,this.data.groupId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},X=>{"FormNotExistsException"===X.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===X.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):null===this.selectedGroup?this.registrarManager.copyFormFromVoToVo(this.selectedVo.id,this.data.voId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},X=>{"FormNotExistsException"===X.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===X.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):this.registrarManager.copyFormFromGroupToVo(this.selectedGroup.id,this.data.voId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},X=>{"FormNotExistsException"===X.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===X.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1})}voSelected(X){this.selectedVo=X,this.getGroups()}getGroups(){void 0!==this.selectedVo?this.groupService.getAllGroups(this.selectedVo.id).subscribe(X=>{this.groups=X}):this.groups=[],this.selectedGroup=null}}return k.\u0275fac=function(X){return new(X||k)(v.Y36(e.so),v.Y36(f.YF),v.Y36(f.ff),v.Y36(m.sK),v.Y36(f.tk),v.Y36(g.V6),v.Y36(g.F5),v.Y36(e.WI))},k.\u0275cmp=v.Xpm({type:k,selectors:[["app-application-form-copy-items-dialog"]],decls:22,vars:27,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container",3,"hidden"],[1,"mb-2","font-italic"],[1,"long-input",3,"vos","voSelected"],[1,"long-input",3,"groups","disableAutoSelect","groupSelected"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"]],template:function(X,he){1&X&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.YNc(4,h,1,0,"mat-spinner",1),v.TgZ(5,"div",2),v.TgZ(6,"div",3),v._uU(7),v.ALo(8,"translate"),v.qZA(),v._uU(9),v.ALo(10,"translate"),v.TgZ(11,"perun-web-apps-vo-search-select",4),v.NdJ("voSelected",function(Ne){return he.voSelected(Ne)}),v.qZA(),v._uU(12),v.ALo(13,"translate"),v.TgZ(14,"perun-web-apps-group-search-select",5),v.NdJ("groupSelected",function(Ne){return he.selectedGroup=Ne}),v.qZA(),v.qZA(),v.TgZ(15,"div",6),v.TgZ(16,"button",7),v.NdJ("click",function(){return he.cancel()}),v._uU(17),v.ALo(18,"translate"),v.qZA(),v.TgZ(19,"button",8),v.NdJ("click",function(){return he.submit()}),v._uU(20),v.ALo(21,"translate"),v.qZA(),v.qZA(),v.qZA()),2&X&&(v.Tol(he.theme),v.xp6(2),v.Oqu(v.lcZ(3,15,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.TITLE")),v.xp6(2),v.Q6J("ngIf",he.loading),v.xp6(1),v.Q6J("hidden",he.loading),v.xp6(2),v.hij(" ",v.lcZ(8,17,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.DESCRIPTION")," "),v.xp6(2),v.hij(" ",v.lcZ(10,19,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_VO"),": "),v.xp6(2),v.Q6J("vos",he.vos),v.xp6(1),v.hij(" ",v.lcZ(13,21,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_GROUP"),": "),v.xp6(2),v.Q6J("groups",he.groups)("disableAutoSelect",!0),v.xp6(3),v.hij(" ",v.lcZ(18,23,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.CANCEL_BUTTON")," "),v.xp6(2),v.Q6J("disabled",!he.selectedVo&&!he.selectedGroup||he.loading),v.xp6(1),v.hij(" ",v.lcZ(21,25,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUBMIT_BUTTON")," "))},directives:[e.uh,A.O5,s.$g,e.xY,b.M,R.h,e.H8,E.lW],pipes:[m.X$],styles:[""]}),k})()},81889:(Ze,ge,d)=>{"use strict";d.d(ge,{y:()=>Ne});var e=d(48966),f=d(36908),g=d(112),v=d(93075),m=d(5e3),A=d(51062),s=d(69808),b=d(20773),R=d(67322),E=d(98833),h=d(77446),x=d(82322),k=d(47423);function G(ce,Pe){1&ce&&m._UZ(0,"mat-spinner",3)}function X(ce,Pe){if(1&ce){const se=m.EpF();m.TgZ(0,"mat-checkbox",14),m.NdJ("click",function(){return m.CHM(se),m.oxw(2).loadVoGroups()})("ngModelChange",function(F){return m.CHM(se),m.oxw(2).asSubgroup=F}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&ce){const se=m.oxw(2);m.Q6J("labelPosition","before")("ngModel",se.asSubgroup),m.xp6(1),m.hij(" ",m.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function he(ce,Pe){if(1&ce){const se=m.EpF();m.TgZ(0,"perun-web-apps-group-search-select",15),m.NdJ("groupSelected",function(F){return m.CHM(se),m.oxw(2).selectedParent=F}),m.qZA()}if(2&ce){const se=m.oxw(2);m.Q6J("disableAutoSelect",!0)("groups",se.voGroups)}}function re(ce,Pe){if(1&ce){const se=m.EpF();m.TgZ(0,"div"),m.TgZ(1,"div",4),m.TgZ(2,"mat-form-field"),m.TgZ(3,"label",5),m._UZ(4,"input",6),m.ALo(5,"translate"),m.qZA(),m.TgZ(6,"mat-error"),m._uU(7),m.ALo(8,"translate"),m.qZA(),m.qZA(),m.TgZ(9,"mat-form-field",7),m.TgZ(10,"label",5),m.TgZ(11,"textarea",8),m.ALo(12,"translate"),m._uU(13," "),m.qZA(),m.qZA(),m.qZA(),m.YNc(14,X,3,5,"mat-checkbox",9),m.YNc(15,he,1,2,"perun-web-apps-group-search-select",10),m.qZA(),m.TgZ(16,"div",11),m.TgZ(17,"button",12),m.NdJ("click",function(){return m.CHM(se),m.oxw().onCancel()}),m._uU(18),m.ALo(19,"translate"),m.qZA(),m.TgZ(20,"button",13),m.NdJ("click",function(){return m.CHM(se),m.oxw().onSubmit()}),m._uU(21),m.ALo(22,"translate"),m.qZA(),m.qZA(),m.qZA()}if(2&ce){const se=m.oxw();m.xp6(4),m.s9C("placeholder",m.lcZ(5,10,"DIALOGS.CREATE_GROUP.NAME")),m.Q6J("formControl",se.nameControl),m.xp6(3),m.hij(" ",se.invalidNameMessage.length?se.invalidNameMessage:m.lcZ(8,12,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),m.xp6(4),m.s9C("placeholder",m.lcZ(12,14,"DIALOGS.CREATE_GROUP.DESCRIPTION")),m.Q6J("formControl",se.descriptionControl),m.xp6(3),m.Q6J("ngIf",se.isNotSubGroup),m.xp6(1),m.Q6J("ngIf",se.asSubgroup),m.xp6(3),m.hij(" ",m.lcZ(19,16,"DIALOGS.CREATE_GROUP.CANCEL")," "),m.xp6(2),m.Q6J("disabled",se.nameControl.invalid||se.descriptionControl.invalid||se.asSubgroup&&null===se.selectedParent||se.loading),m.xp6(1),m.hij(" ",m.lcZ(22,18,"DIALOGS.CREATE_GROUP.CREATE")," ")}}let Ne=(()=>{class ce{constructor(se,V,F,W,te,ae){this.dialogRef=se,this.data=V,this.groupService=F,this.translate=W,this.notificator=te,this.store=ae,this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.secondaryRegex=this.store.get("group_name_secondary_regex"),this.voGroups=[],this.nameFunction=pe=>pe.name,this.isNotSubGroup=null===this.data.parentGroup,this.isNotSubGroup?W.get("DIALOGS.CREATE_GROUP.TITLE").subscribe(pe=>this.title=pe):W.get("DIALOGS.CREATE_GROUP.TITLE_SUB_GROUP").subscribe(pe=>{this.title=pe+this.data.parentGroup.name}),W.get("DIALOGS.CREATE_GROUP.SUCCESS").subscribe(pe=>this.successMessage=pe),W.get("DIALOGS.CREATE_GROUP.SUCCESS_SUBGROUP").subscribe(pe=>this.successSubGroupMessage=pe)}ngOnInit(){this.theme=this.data.theme,this.invalidNameMessage=this.invalidNameMessage&&this.secondaryRegex?this.invalidNameMessage:"",this.nameControl=new v.NI("",[v.kI.required,v.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),v.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new v.NI(""),this.selectedParent=null}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.isNotSubGroup&&!this.asSubgroup?this.groupService.createGroupWithVoNameDescription(this.data.voId,this.nameControl.value,this.descriptionControl.value).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1):this.groupService.createGroupWithParentGroupNameDescription(this.asSubgroup?this.selectedParent.id:this.data.parentGroup.id,this.nameControl.value,this.descriptionControl.value).subscribe(()=>{this.notificator.showSuccess(this.successSubGroupMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}loadVoGroups(){this.groupService.getAllGroups(this.data.voId).subscribe(se=>{this.voGroups=se.filter(V=>"members"!==V.name)})}}return ce.\u0275fac=function(se){return new(se||ce)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.ff),m.Y36(A.sK),m.Y36(f.V6),m.Y36(f.d6))},ce.\u0275cmp=m.Xpm({type:ce,selectors:[["app-create-group-dialog"]],decls:5,vars:6,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"w-100"],["matInput","","data-cy","group-name","required","",3,"formControl","placeholder"],[1,"mt-4"],["mat-autosize","","matInput","","data-cy","group-description",3,"formControl","placeholder"],[3,"labelPosition","ngModel","click","ngModelChange",4,"ngIf"],["class","long-input",3,"disableAutoSelect","groups","groupSelected",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","data-cy","create-group-button-dialog","mat-flat-button","",1,"ml-2",3,"disabled","click"],[3,"labelPosition","ngModel","click","ngModelChange"],[1,"long-input",3,"disableAutoSelect","groups","groupSelected"]],template:function(se,V){1&se&&(m.TgZ(0,"h1",0),m._uU(1),m.qZA(),m.TgZ(2,"div"),m.YNc(3,G,1,0,"mat-spinner",1),m.YNc(4,re,23,20,"div",2),m.qZA()),2&se&&(m.xp6(1),m.Oqu(V.title),m.xp6(1),m.Tol(V.theme),m.xp6(1),m.Q6J("ngIf",V.loading),m.xp6(1),m.Q6J("ngIf",!V.loading))},directives:[e.uh,s.O5,b.$g,e.xY,R.KE,E.Nt,v.Fj,v.Q7,v.JJ,v.oH,R.TO,h.oG,v.On,x.h,e.H8,k.lW],pipes:[A.X$],styles:[""]}),ce})()},55663:(Ze,ge,d)=>{"use strict";d.d(ge,{e:()=>De});var e=d(5e3),f=d(93075),g=d(32075),v=d(69808),m=d(20773),A=d(48966),s=d(47423),b=d(25245),R=d(14623),E=d(98380),h=d(67322),x=d(98833),k=d(51062);function G(be,z){1&be&&e._UZ(0,"mat-spinner",2)}function X(be,z){if(1&be&&(e.TgZ(0,"div",16),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"translate"),e.TgZ(4,"span",17),e._uU(5),e.ALo(6,"translate"),e.qZA(),e._uU(7),e.ALo(8,"translate"),e.qZA()),2&be){const Ce=e.oxw(2);e.xp6(1),e.lnq(" ",e.lcZ(2,6,"DIALOGS.DELETE_ENTITY.BASIC")," ",e.lcZ(3,8,"DIALOGS.DELETE_ENTITY.ONLY")," ",Ce.entityType," "),e.xp6(4),e.Oqu(e.lcZ(6,10,"DIALOGS.DELETE_ENTITY.OR")),e.xp6(2),e.AsE(" ",Ce.entityType," ",e.lcZ(8,12,"DIALOGS.DELETE_ENTITY.RELATIONS"),"? ")}}function he(be,z){if(1&be&&(e.TgZ(0,"div",16),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&be){const Ce=e.oxw(2);e.xp6(1),e.AsE(" ",e.lcZ(2,2,"DIALOGS.DELETE_ENTITY.BASIC")," ",Ce.entityType," ? ")}}function re(be,z){1&be&&e._UZ(0,"th",18)}function Ne(be,z){if(1&be&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&be){const Ce=z.$implicit;e.xp6(1),e.Oqu(Ce.name)}}function ce(be,z){1&be&&e._UZ(0,"tr",20)}function Pe(be,z){1&be&&e._UZ(0,"tr",21)}function se(be,z){if(1&be){const Ce=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){return e.CHM(Ce),e.oxw(2).force=!0}),e.TgZ(1,"mat-icon"),e._uU(2,"warning"),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.ALo(5,"translate"),e.qZA()}2&be&&(e.xp6(3),e.AsE(" ",e.lcZ(4,2,"DIALOGS.DELETE_ENTITY.DELETE")," ",e.lcZ(5,4,"DIALOGS.DELETE_ENTITY.RELATIONS")," "))}const V=function(){return["name"]};function F(be,z){if(1&be){const Ce=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"h1",3),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",4),e.YNc(5,X,9,14,"div",5),e.YNc(6,he,3,4,"div",5),e.TgZ(7,"table",6),e.ynx(8,7),e.YNc(9,re,1,0,"th",8),e.YNc(10,Ne,2,1,"td",9),e.BQk(),e.YNc(11,ce,1,0,"tr",10),e.YNc(12,Pe,1,0,"tr",11),e.qZA(),e.qZA(),e.TgZ(13,"div",12),e.TgZ(14,"button",13),e.NdJ("click",function(){return e.CHM(Ce),e.oxw().onCancel()}),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.TgZ(17,"button",14),e.NdJ("click",function(){return e.CHM(Ce),e.oxw().onDelete()}),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,se,6,6,"button",15),e.qZA(),e.qZA()}if(2&be){const Ce=e.oxw();e.xp6(2),e.AsE("",e.lcZ(3,10,"DIALOGS.DELETE_ENTITY.DELETE")," ",Ce.entityType,""),e.xp6(3),e.Q6J("ngIf",!Ce.disableForce),e.xp6(1),e.Q6J("ngIf",Ce.disableForce),e.xp6(1),e.Q6J("dataSource",Ce.entityNames),e.xp6(4),e.Q6J("matHeaderRowDef",e.DdM(16,V)),e.xp6(1),e.Q6J("matRowDefColumns",e.DdM(17,V)),e.xp6(3),e.hij(" ",e.lcZ(16,12,"DIALOGS.DELETE_ENTITY.CANCEL")," "),e.xp6(3),e.hij(" ",e.lcZ(19,14,"DIALOGS.DELETE_ENTITY.DELETE")," "),e.xp6(2),e.Q6J("ngIf",!Ce.disableForce)}}function W(be,z){if(1&be&&(e.TgZ(0,"mat-list-item"),e.TgZ(1,"span"),e.TgZ(2,"mat-icon",27),e._uU(3,"fiber_manual_record"),e.qZA(),e._uU(4),e.qZA(),e.qZA()),2&be){const Ce=z.$implicit;e.xp6(4),e.hij(" ",Ce," ")}}function te(be,z){if(1&be&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&be){const Ce=e.oxw(2);e.xp6(1),e.hij(" ",Ce.anotherMessage," ")}}function ae(be,z){1&be&&e._UZ(0,"th",18)}function pe(be,z){if(1&be&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&be){const Ce=z.$implicit;e.xp6(1),e.Oqu(Ce.name)}}function Be(be,z){1&be&&e._UZ(0,"tr",20)}function Fe(be,z){1&be&&e._UZ(0,"tr",21)}function ke(be,z){if(1&be){const Ce=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"h1",3),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",16),e._uU(7),e.ALo(8,"translate"),e.TgZ(9,"mat-list"),e.YNc(10,W,5,1,"mat-list-item",23),e.qZA(),e.YNc(11,te,2,1,"div",1),e.TgZ(12,"app-alert",24),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"table",6),e.ynx(16,7),e.YNc(17,ae,1,0,"th",8),e.YNc(18,pe,2,1,"td",9),e.BQk(),e.YNc(19,Be,1,0,"tr",10),e.YNc(20,Fe,1,0,"tr",11),e.qZA(),e.qZA(),e.TgZ(21,"mat-form-field"),e._UZ(22,"input",25),e.ALo(23,"translate"),e.qZA(),e.qZA(),e.TgZ(24,"div",12),e.TgZ(25,"button",13),e.NdJ("click",function(){return e.CHM(Ce),e.oxw().onCancel()}),e._uU(26),e.ALo(27,"translate"),e.qZA(),e.TgZ(28,"button",26),e.NdJ("click",function(){return e.CHM(Ce),e.oxw().onDelete()}),e.TgZ(29,"mat-icon"),e._uU(30,"warning"),e.qZA(),e._uU(31),e.ALo(32,"translate"),e.ALo(33,"translate"),e.qZA(),e.qZA(),e.qZA()}if(2&be){const Ce=e.oxw();e.xp6(2),e.lnq(" ",e.lcZ(3,17,"DIALOGS.DELETE_ENTITY.DELETE")," ",Ce.entityType," ",e.lcZ(4,19,"DIALOGS.DELETE_ENTITY.RELATIONS")," "),e.xp6(5),e.hij(" ",e.lcZ(8,21,"DIALOGS.DELETE_ENTITY.WARN"),": "),e.xp6(3),e.Q6J("ngForOf",Ce.relations),e.xp6(1),e.Q6J("ngIf",Ce.anotherMessage),e.xp6(2),e.AsE(" ",e.lcZ(14,23,"DIALOGS.DELETE_ENTITY.ASK")," ",Ce.entityType," ? "),e.xp6(2),e.Q6J("dataSource",Ce.entityNames),e.xp6(4),e.Q6J("matHeaderRowDef",e.DdM(33,V)),e.xp6(1),e.Q6J("matRowDefColumns",e.DdM(34,V)),e.xp6(2),e.s9C("placeholder",e.lcZ(23,25,"DIALOGS.DELETE_ENTITY.CONTROL")),e.Q6J("formControl",Ce.deleteControl),e.xp6(4),e.hij(" ",e.lcZ(27,27,"DIALOGS.DELETE_ENTITY.CANCEL")," "),e.xp6(2),e.Q6J("disabled",Ce.deleteControl.invalid),e.xp6(3),e.AsE(" ",e.lcZ(32,29,"DIALOGS.DELETE_ENTITY.DELETE")," ",e.lcZ(33,31,"DIALOGS.DELETE_ENTITY.RELATIONS")," ")}}let De=(()=>{class be{constructor(){this.entityNames=new g.by,this.relations=[],this.disableForce=!1,this.loading=!1,this.deleted=new e.vpe,this.force=!1,this.deleteReg=/^DELETE$/,this.deleteControl=new f.NI("",[f.kI.required,f.kI.pattern(this.deleteReg)])}onCancel(){this.deleted.emit({deleted:!1,force:!1})}onDelete(){this.deleted.emit({deleted:!0,force:this.force})}}return be.\u0275fac=function(Ce){return new(Ce||be)},be.\u0275cmp=e.Xpm({type:be,selectors:[["app-delete-entity-dialog"]],inputs:{title:"title",entityNames:"entityNames",entityType:"entityType",relations:"relations",anotherMessage:"anotherMessage",disableForce:"disableForce",loading:"loading"},outputs:{deleted:"deleted"},decls:3,vars:3,consts:[["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["class","mb-4",4,"ngIf"],["mat-table","",1,"w-100","table-margin",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-button-dialog",1,"ml-2",3,"click"],["class","ml-2","mat-flat-button","","color","warn","data-cy","force-delete",3,"click",4,"ngIf"],[1,"mb-4"],[1,"font-weight-bold"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-flat-button","","color","warn","data-cy","force-delete",1,"ml-2",3,"click"],[4,"ngFor","ngForOf"],["alert_type","warn"],["data-cy","force-delete-control","matInput","",3,"formControl","placeholder"],["mat-flat-button","","color","warn","data-cy","force-delete-button",1,"ml-2",3,"disabled","click"],[1,"dot-icon"]],template:function(Ce,J){1&Ce&&(e.YNc(0,G,1,0,"mat-spinner",0),e.YNc(1,F,21,18,"div",1),e.YNc(2,ke,34,35,"div",1)),2&Ce&&(e.Q6J("ngIf",J.loading),e.xp6(1),e.Q6J("ngIf",!J.force&&!J.loading),e.xp6(1),e.Q6J("ngIf",J.force&&!J.loading))},directives:[v.O5,m.$g,A.uh,A.xY,g.BZ,g.w1,g.fO,g.ge,g.Dz,g.ev,g.as,g.XQ,g.nj,g.Gk,A.H8,s.lW,b.Hw,R.i$,v.sg,R.Tg,E.w,h.KE,x.Nt,f.Fj,f.JJ,f.oH],pipes:[k.X$],styles:[".dot-icon[_ngcontent-%COMP%]{font-size:small;vertical-align:-1px}.table-margin[_ngcontent-%COMP%]{margin-top:-50px;margin-bottom:20px}"]}),be})()},54037:(Ze,ge,d)=>{"use strict";d.d(ge,{Y:()=>b});var e=d(112),f=d(48966),g=d(36908),v=d(32075),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class R{constructor(h,x,k,G,X){this.dialogRef=h,this.data=x,this.facilitiesManager=k,this.notificator=G,this.translate=X,this.displayedColumns=["name"],this.loading=!1,this.force=!1,this.relations=[]}ngOnInit(){this.theme=this.data.theme,this.facility=this.data.facility,this.dataSource=new v.by([this.facility]),this.relations.push(this.translate.instant("DIALOGS.DELETE_FACILITY.RESOURCE_RELATION"))}onConfirm(){this.loading=!0,this.facilitiesManager.deleteFacility(this.facility.id,this.force).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.DELETE_FACILITY.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(h){this.force=h.force,h.deleted?this.onConfirm():this.onCancel()}}return R.\u0275fac=function(h){return new(h||R)(m.Y36(f.so),m.Y36(f.WI),m.Y36(e.IQ),m.Y36(g.V6),m.Y36(A.sK))},R.\u0275cmp=m.Xpm({type:R,selectors:[["app-delete-facility-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","relations","loading","deleted"]],template:function(h,x){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(G){return x.onSubmit(G)}),m.qZA(),m.qZA()),2&h&&(m.Tol(x.theme),m.xp6(1),m.Q6J("entityNames",x.dataSource)("entityType","facilities")("relations",x.relations)("loading",x.loading))},directives:[s.e],styles:[""]}),R})()},41656:(Ze,ge,d)=>{"use strict";d.d(ge,{P:()=>b});var e=d(48966),f=d(32075),g=d(36908),v=d(112),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class R{constructor(h,x,k,G,X){this.dialogRef=h,this.data=x,this.notificator=k,this.translate=G,this.groupService=X,this.displayedColumns=["name"],this.loading=!1,this.relations=[],this.force=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.groups),this.relations.push(this.translate.instant("DIALOGS.DELETE_GROUP.SUBGROUP_RELATION")),this.relations.push(this.translate.instant("DIALOGS.DELETE_GROUP.MEMBER_RELATION"))}onCancel(){this.dialogRef.close(!1)}onDelete(){this.loading=!0;const h=this.data.groups.map(x=>x.id);this.groupService.deleteGroups({groups:h,forceDelete:this.force}).subscribe(()=>{this.translate.get("DIALOGS.DELETE_GROUP.SUCCESS").subscribe(x=>{this.notificator.showSuccess(x),this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}onSubmit(h){this.force=h.force,h.deleted?this.onDelete():this.onCancel()}}return R.\u0275fac=function(h){return new(h||R)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.V6),m.Y36(A.sK),m.Y36(v.ff))},R.\u0275cmp=m.Xpm({type:R,selectors:[["app-delete-group-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","relations","loading","deleted"]],template:function(h,x){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(G){return x.onSubmit(G)}),m.qZA(),m.qZA()),2&h&&(m.Tol(x.theme),m.xp6(1),m.Q6J("entityNames",x.dataSource)("entityType","groups")("relations",x.relations)("loading",x.loading))},directives:[s.e],styles:[""]}),R})()},83491:(Ze,ge,d)=>{"use strict";d.d(ge,{_:()=>N});var e=d(48966),f=d(112),g=d(9244),v=d(80255),m=d(36908),A=d(5e3),s=d(51062),b=d(69808),R=d(20773),E=d(53251);const h=["*"];let x=(()=>{class ne{constructor(){}}return ne.\u0275fac=function(Te){return new(Te||ne)},ne.\u0275cmp=A.Xpm({type:ne,selectors:[["app-edit-application-form-item-line"]],inputs:{label:"label",description:"description"},ngContentSelectors:h,decls:9,vars:2,consts:[[1,"d-flex"],[1,"w-25","m-auto","font-weight-bold"],[1,"w-75"],[1,"d-flex","mb-3"],[1,"w-25"],[1,"w-75","font-italic","text-muted"]],template:function(Te,n){1&Te&&(A.F$t(),A.TgZ(0,"div",0),A.TgZ(1,"span",1),A._uU(2),A.qZA(),A.TgZ(3,"div",2),A.Hsn(4),A.qZA(),A.qZA(),A.TgZ(5,"div",3),A._UZ(6,"span",4),A.TgZ(7,"div",5),A._uU(8),A.qZA(),A.qZA()),2&Te&&(A.xp6(2),A.hij("",n.label,":"),A.xp6(6),A.hij(" ",n.description," "))},styles:[""]}),ne})();var k=d(67322),G=d(98833),X=d(93075),he=d(77446),re=d(52170),Ne=d(74107),ce=d(90508),Pe=d(63312),se=d(74533),V=d(47423),F=d(29772),W=d(25245),te=d(57706);let ae=(()=>{class ne{constructor(Te){this.translateService=Te}transform(Te){switch(Te){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED."+Te);default:return Te}}}return ne.\u0275fac=function(Te){return new(Te||ne)(A.Y36(s.sK,16))},ne.\u0275pipe=A.Yjl({name:"applicationFormItemDisabled",type:ne,pure:!0}),ne})(),pe=(()=>{class ne{constructor(Te){this.translateService=Te}transform(Te){switch(Te){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN."+Te);default:return Te}}}return ne.\u0275fac=function(Te){return new(Te||ne)(A.Y36(s.sK,16))},ne.\u0275pipe=A.Yjl({name:"applicationFormItemHidden",type:ne,pure:!0}),ne})();function Be(ne,j){1&ne&&A._UZ(0,"mat-spinner",8)}function Fe(ne,j){if(1&ne){const Te=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"section"),A.TgZ(5,"mat-checkbox",22),A.NdJ("ngModelChange",function(r){return A.CHM(Te),A.oxw(3).applicationFormItem.updatable=r}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&ne){const Te=A.oxw(3);A.xp6(1),A.Q6J("label",A.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE"))("description",A.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",Te.applicationFormItem.updatable)}}function ke(ne,j){if(1&ne){const Te=A.EpF();A.TgZ(0,"div",13),A.TgZ(1,"mat-form-field",13),A.TgZ(2,"input",14),A.NdJ("ngModelChange",function(r){return A.CHM(Te),A.oxw(3).applicationFormItem.federationAttribute=r}),A.qZA(),A.qZA(),A.qZA()}if(2&ne){const Te=A.oxw(3);A.xp6(2),A.Q6J("ngModel",Te.applicationFormItem.federationAttribute)}}function De(ne,j){if(1&ne){const Te=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"section"),A.TgZ(5,"mat-checkbox",22),A.NdJ("ngModelChange",function(r){return A.CHM(Te),A.oxw(2).applicationFormItem.required=r}),A.qZA(),A.qZA(),A.qZA(),A.YNc(6,Fe,6,7,"div",17),A.TgZ(7,"app-edit-application-form-item-line",12),A.ALo(8,"translate"),A.ALo(9,"translate"),A.TgZ(10,"div",13),A.TgZ(11,"perun-web-apps-selection-item-search-select",23),A.NdJ("itemSelected",function(r){return A.CHM(Te),A.oxw(2).applicationFormItem.perunSourceAttribute=r.value}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(12,"app-edit-application-form-item-line",12),A.ALo(13,"translate"),A.ALo(14,"translate"),A.TgZ(15,"div",13),A.TgZ(16,"perun-web-apps-selection-item-search-select",23),A.NdJ("itemSelected",function(r){return A.CHM(Te),A.oxw(2).applicationFormItem.perunDestinationAttribute=r.value}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(17,"app-edit-application-form-item-line",12),A.ALo(18,"translate"),A.ALo(19,"translate"),A.TgZ(20,"div",13),A.TgZ(21,"perun-web-apps-selection-item-search-select",24),A.NdJ("itemSelected",function(r){return A.CHM(Te),A.oxw(2).changeFederationAttribute(r)}),A.qZA(),A.qZA(),A.YNc(22,ke,3,1,"div",25),A.qZA(),A.qZA()}if(2&ne){const Te=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,22,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED"))("description",A.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",Te.applicationFormItem.required),A.xp6(1),A.Q6J("ngIf",Te.typesWithUpdatable.indexOf(Te.applicationFormItem.type)>-1),A.xp6(1),A.Q6J("label",A.lcZ(8,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE"))("description",A.lcZ(9,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE_DESCRIPTION")),A.xp6(4),A.Q6J("attributes",Te.attributeDefinitions)("selectedAttribute",Te.applicationFormItem.perunSourceAttribute)("asGroup",!!Te.data.group)("type",Te.itemType.SOURCE),A.xp6(1),A.Q6J("label",A.lcZ(13,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE"))("description",A.lcZ(14,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE_DESCRIPTION")),A.xp6(4),A.Q6J("attributes",Te.attributeDefinitions)("selectedAttribute",Te.applicationFormItem.perunDestinationAttribute)("asGroup",!!Te.data.group)("type",Te.itemType.DESTINATION),A.xp6(1),A.Q6J("label",A.lcZ(18,34,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE"))("description",A.lcZ(19,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE_DESCRIPTION")),A.xp6(4),A.Q6J("selectedAttribute",Te.applicationFormItem.federationAttribute)("asGroup",!!Te.data.group)("type",Te.itemType.FEDERATION),A.xp6(1),A.Q6J("ngIf"," -- custom value -- "===Te.federationAttributeDN)}}function be(ne,j){if(1&ne){const Te=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"input",14),A.NdJ("ngModelChange",function(r){return A.CHM(Te),A.oxw(2).applicationFormItem.regex=r}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&ne){const Te=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX"))("description",A.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",Te.applicationFormItem.regex)}}function z(ne,j){if(1&ne&&(A.TgZ(0,"mat-option",26),A._uU(1),A.ALo(2,"applicationFormItemDisabled"),A.qZA()),2&ne){const Te=j.$implicit;A.Q6J("value",Te),A.xp6(1),A.hij(" ",A.lcZ(2,2,Te)," ")}}function Ce(ne,j){if(1&ne){const Te=A.EpF();A.TgZ(0,"perun-web-apps-app-form-item-search-select",27),A.NdJ("itemSelected",function(r){return A.CHM(Te),A.oxw(3).disabledDependencyItem=r}),A.qZA()}if(2&ne){const Te=A.oxw(3);A.Q6J("item",Te.disabledDependencyItem)("items",Te.possibleDependencyItems)}}function J(ne,j){if(1&ne){const Te=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"mat-select",18),A.NdJ("valueChange",function(r){return A.CHM(Te),A.oxw(2).applicationFormItem.disabled=r}),A.YNc(6,z,3,4,"mat-option",19),A.qZA(),A.qZA(),A.qZA(),A.TgZ(7,"app-edit-application-form-item-line",12),A.ALo(8,"translate"),A.ALo(9,"translate"),A.TgZ(10,"div",13),A.YNc(11,Ce,1,2,"perun-web-apps-app-form-item-search-select",20),A.qZA(),A.qZA(),A.qZA()}if(2&ne){const Te=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED"))("description",A.lcZ(3,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DESCRIPTION")),A.xp6(4),A.Q6J("value",Te.applicationFormItem.disabled),A.xp6(1),A.Q6J("ngForOf",Te.disabledValues),A.xp6(1),A.Q6J("label",A.lcZ(8,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY"))("description",A.lcZ(9,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY_DESCRIPTION")),A.xp6(4),A.Q6J("ngIf",null!==Te.disabledDependencyItem)}}function I(ne,j){if(1&ne&&(A.TgZ(0,"mat-option",26),A._uU(1),A.ALo(2,"applicationFormItemHidden"),A.qZA()),2&ne){const Te=j.$implicit;A.Q6J("value",Te),A.xp6(1),A.hij(" ",A.lcZ(2,2,Te)," ")}}function Ie(ne,j){if(1&ne){const Te=A.EpF();A.TgZ(0,"perun-web-apps-app-form-item-search-select",27),A.NdJ("itemSelected",function(r){return A.CHM(Te),A.oxw(2).hiddenDependencyItem=r}),A.qZA()}if(2&ne){const Te=A.oxw(2);A.Q6J("item",Te.hiddenDependencyItem)("items",Te.possibleDependencyItems)}}function Re(ne,j){if(1&ne){const Te=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"textarea",28),A.NdJ("ngModelChange",function(r){A.CHM(Te);const u=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[u].label=r}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&ne){const Te=A.oxw().$implicit,n=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT"))("description",A.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT_DESCRIPTION")),A.xp6(4),A.Q6J("cdkTextareaAutosize",!0)("ngModel",n.applicationFormItem.i18n[Te].label)}}function ze(ne,j){if(1&ne){const Te=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"textarea",14),A.NdJ("ngModelChange",function(r){A.CHM(Te);const u=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[u].label=r}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(6,"app-edit-application-form-item-line",12),A.ALo(7,"translate"),A.ALo(8,"translate"),A.TgZ(9,"mat-form-field",13),A.TgZ(10,"textarea",14),A.NdJ("ngModelChange",function(r){A.CHM(Te);const u=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[u].help=r}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(11,"app-edit-application-form-item-line",12),A.ALo(12,"translate"),A.ALo(13,"translate"),A.TgZ(14,"mat-form-field",13),A.TgZ(15,"textarea",14),A.NdJ("ngModelChange",function(r){A.CHM(Te);const u=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[u].errorMessage=r}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&ne){const Te=A.oxw().$implicit,n=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",A.lcZ(3,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",n.applicationFormItem.i18n[Te].label),A.xp6(1),A.Q6J("label",A.lcZ(7,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP"))("description",A.lcZ(8,15,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",n.applicationFormItem.i18n[Te].help),A.xp6(1),A.Q6J("label",A.lcZ(12,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR"))("description",A.lcZ(13,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",n.applicationFormItem.i18n[Te].errorMessage)}}function fe(ne,j){if(1&ne){const Te=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"textarea",14),A.NdJ("ngModelChange",function(r){A.CHM(Te);const u=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[u].label=r}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&ne){const Te=A.oxw().$implicit,n=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",A.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_BUTTON_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",n.applicationFormItem.i18n[Te].label)}}function ve(ne,j){if(1&ne){const Te=A.EpF();A.TgZ(0,"div"),A._uU(1),A.ALo(2,"translate"),A.TgZ(3,"mat-form-field"),A.TgZ(4,"input",14),A.NdJ("ngModelChange",function(r){return A.CHM(Te).$implicit[0]=r}),A.qZA(),A.qZA(),A._uU(5),A.ALo(6,"translate"),A.TgZ(7,"mat-form-field"),A.TgZ(8,"input",14),A.NdJ("ngModelChange",function(r){return A.CHM(Te).$implicit[1]=r}),A.qZA(),A.qZA(),A.TgZ(9,"button",37),A.NdJ("click",function(){const u=A.CHM(Te).$implicit,o=A.oxw(2).$implicit;return A.oxw(2).removeOption(u,o)}),A.ALo(10,"translate"),A.TgZ(11,"mat-icon"),A._uU(12,"clear"),A.qZA(),A.qZA(),A.qZA()}if(2&ne){const Te=j.$implicit;A.xp6(1),A.hij(" ",A.lcZ(2,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.VALUE"),": "),A.xp6(3),A.Q6J("ngModel",Te[0]),A.xp6(1),A.hij(" ",A.lcZ(6,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"),": "),A.xp6(3),A.Q6J("ngModel",Te[1]),A.xp6(1),A.s9C("matTooltip",A.lcZ(10,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REMOVE_OPTION"))}}function We(ne,j){if(1&ne){const Te=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"div",29),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"div",30),A._uU(5),A.ALo(6,"translate"),A.qZA(),A.TgZ(7,"div",31),A.TgZ(8,"button",32),A.NdJ("click",function(){A.CHM(Te);const r=A.oxw().$implicit;return A.oxw(2).sortOptionsAZ(r)}),A.TgZ(9,"i",33),A._uU(10,"arrow_downward"),A.qZA(),A._uU(11),A.ALo(12,"translate"),A.qZA(),A.TgZ(13,"button",34),A.NdJ("click",function(){A.CHM(Te);const r=A.oxw().$implicit;return A.oxw(2).sortOptionsZA(r)}),A.TgZ(14,"i",33),A._uU(15,"arrow_upward"),A.qZA(),A._uU(16),A.ALo(17,"translate"),A.qZA(),A.qZA(),A.YNc(18,ve,13,11,"div",35),A.TgZ(19,"button",36),A.NdJ("click",function(){A.CHM(Te);const r=A.oxw().$implicit;return A.oxw(2).addOption(r)}),A._uU(20),A.ALo(21,"translate"),A.qZA(),A.qZA()}if(2&ne){const Te=A.oxw().$implicit,n=A.oxw(2);A.xp6(2),A.hij(" ",A.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS"),": "),A.xp6(3),A.hij(" ",A.lcZ(6,8,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS_DESCRIPTION")," "),A.xp6(6),A.hij(" ",A.lcZ(12,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_AZ")," "),A.xp6(5),A.hij(" ",A.lcZ(17,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_ZA")," "),A.xp6(2),A.Q6J("ngForOf",n.options[Te]),A.xp6(2),A.hij(" ",A.lcZ(21,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ADD_OPTION")," ")}}const nt=function(){return["HEADING","HTML_COMMENT"]},st=function(){return["TEXTFIELD","VALIDATED_EMAIL","USERNAME","PASSWORD","RADIO","TEXTAREA","COMBOBOX","CHECKBOX","TIMEZONE","SELECTIONBOX","EMBEDDED_GROUP_APPLICATION"]},dt=function(){return["SUBMIT_BUTTON","AUTO_SUBMIT_BUTTON"]},L=function(){return["RADIO","COMBOBOX","CHECKBOX","SELECTIONBOX"]};function de(ne,j){if(1&ne&&(A.TgZ(0,"mat-tab",11),A.ALo(1,"translate"),A.ALo(2,"uppercase"),A.YNc(3,Re,6,8,"div",17),A.YNc(4,ze,16,21,"div",17),A.YNc(5,fe,6,7,"div",17),A.YNc(6,We,22,16,"div",17),A.qZA()),2&ne){const Te=j.$implicit,n=A.oxw(2);A.s9C("label",A.lcZ(1,5,A.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LANGUAGE_"+Te))),A.xp6(3),A.Q6J("ngIf",n.isApplicationFormItemOfType(A.DdM(9,nt))),A.xp6(1),A.Q6J("ngIf",n.isApplicationFormItemOfType(A.DdM(10,st))),A.xp6(1),A.Q6J("ngIf",n.isApplicationFormItemOfType(A.DdM(11,dt))),A.xp6(1),A.Q6J("ngIf",n.isApplicationFormItemOfType(A.DdM(12,L)))}}const M=function(){return["TEXTFIELD","USERNAME","VALIDATED_EMAIL","PASSWORD","TEXTAREA","TIMEZONE","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]},S=function(){return["TEXTFIELD","USERNAME","PASSWORD","TEXTAREA","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]};function P(ne,j){if(1&ne){const Te=A.EpF();A.TgZ(0,"div",9),A.TgZ(1,"mat-tab-group",10),A.TgZ(2,"mat-tab",11),A.ALo(3,"translate"),A.TgZ(4,"app-edit-application-form-item-line",12),A.ALo(5,"translate"),A.ALo(6,"translate"),A.TgZ(7,"mat-form-field",13),A.TgZ(8,"input",14),A.NdJ("ngModelChange",function(r){return A.CHM(Te),A.oxw().applicationFormItem.shortname=r}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(9,"app-edit-application-form-item-line",12),A.ALo(10,"translate"),A.ALo(11,"translate"),A._uU(12),A.ALo(13,"applicationFormItemType"),A.qZA(),A.TgZ(14,"app-edit-application-form-item-line",12),A.ALo(15,"translate"),A.ALo(16,"translate"),A.TgZ(17,"section"),A.TgZ(18,"mat-checkbox",15),A.NdJ("change",function(){return A.CHM(Te),A.oxw().onChangingType("INITIAL")}),A._uU(19),A.ALo(20,"translate"),A.qZA(),A.TgZ(21,"mat-checkbox",16),A.NdJ("change",function(){return A.CHM(Te),A.oxw().onChangingType("EXTENSION")}),A._uU(22),A.ALo(23,"translate"),A.qZA(),A.qZA(),A.qZA(),A.YNc(24,De,23,38,"div",17),A.YNc(25,be,6,7,"div",17),A.YNc(26,J,12,15,"div",17),A.TgZ(27,"app-edit-application-form-item-line",12),A.ALo(28,"translate"),A.ALo(29,"translate"),A.TgZ(30,"mat-form-field",13),A.TgZ(31,"mat-select",18),A.NdJ("valueChange",function(r){return A.CHM(Te),A.oxw().applicationFormItem.hidden=r}),A.YNc(32,I,3,4,"mat-option",19),A.qZA(),A.qZA(),A.qZA(),A.TgZ(33,"app-edit-application-form-item-line",12),A.ALo(34,"translate"),A.ALo(35,"translate"),A.TgZ(36,"div",13),A.YNc(37,Ie,1,2,"perun-web-apps-app-form-item-search-select",20),A.qZA(),A.qZA(),A.qZA(),A.YNc(38,de,7,13,"mat-tab",21),A.qZA(),A.qZA()}if(2&ne){const Te=A.oxw();A.xp6(2),A.s9C("label",A.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.BASIC_SETTINGS")),A.xp6(2),A.Q6J("label",A.lcZ(5,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME"))("description",A.lcZ(6,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",Te.applicationFormItem.shortname),A.xp6(1),A.Q6J("label",A.lcZ(10,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET"))("description",A.lcZ(11,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET_DESCRIPTION")),A.xp6(3),A.hij(" ",A.lcZ(13,34,Te.applicationFormItem.type)," "),A.xp6(2),A.Q6J("label",A.lcZ(15,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION"))("description",A.lcZ(16,38,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",Te.applicationFormItem.applicationTypes.includes("INITIAL")),A.xp6(1),A.hij(" ",A.lcZ(20,40,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INITIAL")," "),A.xp6(2),A.Q6J("ngModel",Te.applicationFormItem.applicationTypes.includes("EXTENSION")),A.xp6(1),A.hij(" ",A.lcZ(23,42,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.EXTENSION")," "),A.xp6(2),A.Q6J("ngIf",Te.isApplicationFormItemOfType(A.DdM(52,M))),A.xp6(1),A.Q6J("ngIf",Te.isApplicationFormItemOfType(A.DdM(53,S))),A.xp6(1),A.Q6J("ngIf",Te.typesWithDisabled.indexOf(Te.applicationFormItem.type)>-1),A.xp6(1),A.Q6J("label",A.lcZ(28,44,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN"))("description",A.lcZ(29,46,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DESCRIPTION")),A.xp6(4),A.Q6J("value",Te.applicationFormItem.hidden),A.xp6(1),A.Q6J("ngForOf",Te.hiddenValues),A.xp6(1),A.Q6J("label",A.lcZ(34,48,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY"))("description",A.lcZ(35,50,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY_DESCRIPTION")),A.xp6(4),A.Q6J("ngIf",null!==Te.hiddenDependencyItem),A.xp6(1),A.Q6J("ngForOf",Te.languages)}}let N=(()=>{class ne{constructor(Te,n,r,u,o,t){this.dialogRef=Te,this.data=n,this.attributesManager=r,this.translateService=u,this.store=o,this.cd=t,this.federationAttributeDN="",this.itemType=v.qG,this.loading=!1,this.hiddenValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.disabledValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.possibleDependencyItems=[],this.typesWithUpdatable=["VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","TIMEZONE"],this.typesWithDisabled=["USERNAME","PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX"],this.hiddenDependencyItem=null,this.disabledDependencyItem=null,this.dependencyTypes=["PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","USERNAME"],this.languages=["en"]}ngOnInit(){this.languages=this.store.get("supported_languages"),this.hiddenDependencyItem=this.data.allItems.find(Te=>Te.id===this.data.applicationFormItem.hiddenDependencyItemId),this.hiddenDependencyItem||(this.hiddenDependencyItem=v.Sx),this.disabledDependencyItem=this.data.allItems.find(Te=>Te.id===this.data.applicationFormItem.disabledDependencyItemId),this.disabledDependencyItem||(this.disabledDependencyItem=v.Sx),this.theme=this.data.theme,this.possibleDependencyItems=this.getPossibleDepItems(),this.applicationFormItem=(0,g.dv)(this.languages),this.copy(this.data.applicationFormItem,this.applicationFormItem),this.loading=!0,this.attributesManager.getAllAttributeDefinitions().subscribe(Te=>{this.attributeDefinitions=Te,this.loading=!1},()=>this.loading=!1),null===this.applicationFormItem.perunDestinationAttribute&&(this.applicationFormItem.perunDestinationAttribute=""),null===this.applicationFormItem.perunSourceAttribute&&(this.applicationFormItem.perunSourceAttribute=""),this.getOptions()}getPossibleDepItems(){return[v.Sx].concat(this.data.allItems.filter(Te=>this.dependencyTypes.indexOf(Te.type)>-1).filter(Te=>Te.id!==this.data.applicationFormItem.id))}cancel(){this.dialogRef.close()}submit(){this.applicationFormItem.hiddenDependencyItemId=this.hiddenDependencyItem===v.Sx?null:this.hiddenDependencyItem.id,this.applicationFormItem.disabledDependencyItemId=this.disabledDependencyItem===v.Sx?null:this.disabledDependencyItem.id,this.updateOptions(),this.copy(this.applicationFormItem,this.data.applicationFormItem),this.dialogRef.close(!0)}onChangingType(Te){if(this.applicationFormItem.applicationTypes.includes(Te)){const n=this.applicationFormItem.applicationTypes.indexOf(Te);this.applicationFormItem.applicationTypes.splice(n,1)}else this.applicationFormItem.applicationTypes.push(Te)}addOption(Te){this.options[Te].push(["",""])}removeOption(Te,n){this.options[n]=this.options[n].filter(r=>!(r[0]===Te[0]&&r[1]===Te[1]))}updateOption(Te){let n="";if(this.options&&this.options[Te])for(const r of this.options[Te])""!==r[0]&&""!==r[1]&&(n=""===n?r[0]+"#"+r[1]:n+"|"+r[0]+"#"+r[1]);this.applicationFormItem.i18n[Te].options=n}updateOptions(){for(const Te of this.languages)this.updateOption(Te)}changeFederationAttribute(Te){this.applicationFormItem.federationAttribute=Te.value,this.federationAttributeDN=Te.displayName,this.cd.detectChanges()}copy(Te,n){n.applicationTypes=Te.applicationTypes,n.federationAttribute=Te.federationAttribute,n.forDelete=Te.forDelete;for(const r of this.languages)n.i18n[r].errorMessage=Te.i18n[r].errorMessage,n.i18n[r].help=Te.i18n[r].help,n.i18n[r].label=Te.i18n[r].label,n.i18n[r].options=Te.i18n[r].options;n.id=Te.id,n.ordnum=Te.ordnum,n.perunDestinationAttribute=Te.perunDestinationAttribute,n.perunSourceAttribute=Te.perunSourceAttribute,n.regex=Te.regex,n.required=Te.required,n.shortname=Te.shortname,n.type=Te.type,n.updatable=Te.updatable,n.disabled=Te.disabled,n.hidden=Te.hidden,n.disabledDependencyItemId=Te.disabledDependencyItemId,n.hiddenDependencyItemId=Te.hiddenDependencyItemId}sortOptionsAZ(Te){this.options[Te]=this.options[Te].sort((n,r)=>n[1]>r[1]?1:n[1]n[1]>r[1]?-1:n[1]-1}}return ne.\u0275fac=function(Te){return new(Te||ne)(A.Y36(e.so),A.Y36(e.WI),A.Y36(f.H8),A.Y36(s.sK),A.Y36(m.d6),A.Y36(A.sBO))},ne.\u0275cmp=A.Xpm({type:ne,selectors:[["app-edit-application-form-item-dialog"]],decls:16,vars:20,consts:[[1,"h-100","d-flex","flex-column"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",1,"d-flex","mt-auto"],["mat-flat-button","",1,"ml-auto","mt-auto",3,"click"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","accent","data-cy","edit-form-item-button-dialog",1,"ml-2","mt-auto",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["color","primary"],[3,"label"],[3,"label","description"],[1,"w-100"],["matInput","",3,"ngModel","ngModelChange"],[1,"mr-2",3,"ngModel","change"],[3,"ngModel","change"],[4,"ngIf"],["disableOptionCentering","",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"item","items","itemSelected",4,"ngIf"],[3,"label",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],[3,"attributes","selectedAttribute","asGroup","type","itemSelected"],[3,"selectedAttribute","asGroup","type","itemSelected"],["class","w-100",4,"ngIf"],[3,"value"],[3,"item","items","itemSelected"],["matInput","",3,"cdkTextareaAutosize","ngModel","ngModelChange"],[1,"font-weight-bold"],[1,"text-muted","font-italic"],[1,"d-flex","mt-2","mb-2"],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],[1,"material-icons"],["mat-flat-button","",1,"mr-auto",3,"click"],[4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-icon-button","","color","warn",3,"matTooltip","click"]],template:function(Te,n){1&Te&&(A.TgZ(0,"div"),A.TgZ(1,"div",0),A.TgZ(2,"h1",1),A._uU(3),A.ALo(4,"translate"),A.qZA(),A.YNc(5,Be,1,0,"mat-spinner",2),A.YNc(6,P,39,54,"div",3),A.TgZ(7,"div",4),A.TgZ(8,"button",5),A.NdJ("click",function(){return n.cancel()}),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.TgZ(11,"div",6),A.ALo(12,"translate"),A.TgZ(13,"button",7),A.NdJ("click",function(){return n.submit()}),A._uU(14),A.ALo(15,"translate"),A.qZA(),A.qZA(),A.qZA(),A.qZA(),A.qZA()),2&Te&&(A.Gre("",n.theme," h-100"),A.xp6(3),A.AsE(" ",A.lcZ(4,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.TITLE")," : ",n.applicationFormItem.shortname," "),A.xp6(2),A.Q6J("ngIf",n.loading),A.xp6(1),A.Q6J("ngIf",!n.loading),A.xp6(3),A.hij(" ",A.lcZ(10,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CANCEL_BUTTON")," "),A.xp6(2),A.s9C("matTooltip",A.lcZ(12,16,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON_DISABLED_TOOLTIP")),A.Q6J("matTooltipDisabled",!n.applicationFormItem.required||""!==n.applicationFormItem.perunSourceAttribute||""!==n.applicationFormItem.federationAttribute||"ALWAYS"!==n.applicationFormItem.disabled&&"ALWAYS"!==n.applicationFormItem.hidden),A.xp6(2),A.Q6J("disabled",n.loading||n.applicationFormItem.required&&""===n.applicationFormItem.perunSourceAttribute&&""===n.applicationFormItem.federationAttribute&&("ALWAYS"===n.applicationFormItem.disabled||"ALWAYS"===n.applicationFormItem.hidden)),A.xp6(1),A.hij(" ",A.lcZ(15,18,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON")," "))},directives:[e.uh,b.O5,R.$g,e.xY,E.SP,E.uX,x,k.KE,G.Nt,X.Fj,X.JJ,X.On,he.oG,re.$x,Ne.gD,b.sg,ce.ey,Pe.Y,se.IC,V.lW,F.gM,W.Hw,e.H8],pipes:[s.X$,te.c,ae,pe,b.gd],styles:[""]}),ne})()},19352:(Ze,ge,d)=>{"use strict";d.d(ge,{H:()=>ke});var e=d(112),f=d(48966),g=d(36908),v=d(32075),m=d(9244),A=d(84379),s=d(69808),b=d(5e3),R=d(51062),E=d(20773),h=d(47423),x=d(25245),k=d(29772),G=d(31359);function X(De,be){1&De&&b._UZ(0,"mat-spinner",6)}function he(De,be){1&De&&(b.TgZ(0,"th",17),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&De&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_ID")," "))}function re(De,be){if(1&De&&(b.TgZ(0,"td",18),b._uU(1),b.qZA()),2&De){const z=be.$implicit;b.xp6(1),b.Oqu(z.user.id)}}function Ne(De,be){1&De&&(b.TgZ(0,"th",17),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&De&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_NAME")," "))}function ce(De,be){if(1&De&&(b.TgZ(0,"td",18),b._uU(1),b.ALo(2,"userFullName"),b.qZA()),2&De){const z=be.$implicit;b.xp6(1),b.Oqu(b.lcZ(2,1,z.user))}}function Pe(De,be){1&De&&(b.TgZ(0,"th",17),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&De&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_EXPIRATION")," "))}function se(De,be){if(1&De){const z=b.EpF();b.TgZ(0,"button",20),b.NdJ("click",function(){b.CHM(z);const J=b.oxw().$implicit;return b.oxw(2).changeExpiration(J)}),b.TgZ(1,"mat-icon"),b._uU(2," today "),b.qZA(),b.qZA()}}function V(De,be){if(1&De&&(b.TgZ(0,"td",18),b.TgZ(1,"span"),b._uU(2),b.qZA(),b.YNc(3,se,3,0,"button",19),b.qZA()),2&De){const z=be.$implicit,Ce=b.oxw(2);b.xp6(2),b.Oqu(Ce.parseDate(z.validityTo)),b.xp6(1),b.Q6J("ngIf",Ce.isExpirationAuthorized(z))}}function F(De,be){1&De&&b._UZ(0,"th",17)}function W(De,be){1&De&&(b.TgZ(0,"mat-icon",25),b._uU(1,"clear"),b.qZA())}function te(De,be){1&De&&(b.TgZ(0,"mat-icon"),b._uU(1,"settings_backup_restore"),b.qZA())}function ae(De,be){if(1&De){const z=b.EpF();b.TgZ(0,"td",18),b.TgZ(1,"div",21),b.ALo(2,"translate"),b.TgZ(3,"button",22),b.NdJ("click",function(){const I=b.CHM(z).$implicit;return b.oxw(2).markSponsor(I)}),b.YNc(4,W,2,0,"mat-icon",23),b.YNc(5,te,2,0,"mat-icon",24),b.qZA(),b.qZA(),b.qZA()}if(2&De){const z=be.$implicit,Ce=b.oxw(2);b.xp6(1),b.s9C("matTooltip",b.lcZ(2,6,"DIALOGS.EDIT_MEMBER_SPONSORS.REMOVE_SPONSOR_DISABLED")),b.Q6J("matTooltipPosition","above")("matTooltipDisabled",Ce.isRemoveAuthorized(z)),b.xp6(2),b.Q6J("disabled",!Ce.isRemoveAuthorized(z)),b.xp6(1),b.Q6J("ngIf",!Ce.sponsorsToRemove.has(z.user.id)),b.xp6(1),b.Q6J("ngIf",Ce.sponsorsToRemove.has(z.user.id))}}function pe(De,be){1&De&&b._UZ(0,"tr",26)}function Be(De,be){if(1&De&&b._UZ(0,"tr",27),2&De){const z=be.$implicit,Ce=b.oxw(2);b.ekj("make-red",Ce.sponsorsToRemove.has(z.user.id))}}function Fe(De,be){if(1&De&&(b.TgZ(0,"div",7),b.TgZ(1,"table",8),b.ynx(2,9),b.YNc(3,he,3,3,"th",10),b.YNc(4,re,2,1,"td",11),b.BQk(),b.ynx(5,12),b.YNc(6,Ne,3,3,"th",10),b.YNc(7,ce,3,3,"td",11),b.BQk(),b.ynx(8,13),b.YNc(9,Pe,3,3,"th",10),b.YNc(10,V,4,2,"td",11),b.BQk(),b.ynx(11,14),b.YNc(12,F,1,0,"th",10),b.YNc(13,ae,6,8,"td",11),b.BQk(),b.YNc(14,pe,1,0,"tr",15),b.YNc(15,Be,1,2,"tr",16),b.qZA(),b.qZA()),2&De){const z=b.oxw();b.xp6(1),b.Q6J("dataSource",z.dataSource),b.xp6(13),b.Q6J("matHeaderRowDef",z.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",z.displayedColumns)}}let ke=(()=>{class De{constructor(z,Ce,J,I,Ie,Re,ze,fe){this.dialogRef=z,this.data=Ce,this.memberService=J,this.userService=I,this.notificator=Ie,this.authResolver=Re,this.translate=ze,this.dialog=fe,this.displayedColumns=["id","name","expiration","remove"],this.loading=!1,this.expirationChanged=!1,this.sponsorsToRemove=new Set}ngOnInit(){this.theme=this.data.theme,this.sponsors=this.data.sponsors,this.dataSource=new v.by(this.data.sponsors),this.vo={beanName:"Vo",id:this.data.member.voId}}markSponsor(z){this.sponsorsToRemove.has(z.user.id)?this.sponsorsToRemove.delete(z.user.id):this.sponsorsToRemove.add(z.user.id)}removeSponsors(z){if(0===z.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.EDIT_MEMBER_SPONSORS.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const Ce=z.pop();this.memberService.removeSponsor(this.data.member.id,Ce).subscribe(()=>{this.removeSponsors(z)},()=>this.loading=!1)}onSubmit(){this.loading=!0;const z=Array.from(this.sponsorsToRemove);this.removeSponsors(z)}onCancel(){this.dialogRef.close(this.expirationChanged)}isRemoveAuthorized(z){return this.authResolver.isAuthorized("sponsored-removeSponsor_Member_User_policy",[this.data.member])&&this.authResolver.isAuthorized("sponsor-removeSponsor_Member_User_policy",[z.user])}isExpirationAuthorized(z){return this.authResolver.isAuthorized("updateSponsorshipValidity_Member_User_LocalDate",[z.user,this.vo])}parseDate(z){return null===z?"Never expire":(0,s.p6)(z,"d.M.y","en")}changeExpiration(z){const Ce=(0,m.kZ)();Ce.width="400px",Ce.data={memberId:this.data.member.id,sponsor:z},this.dialog.open(A.hd,Ce).afterClosed().subscribe(I=>{I&&(this.loading=!0,this.expirationChanged=!0,this.userService.getSponsorsForMember(this.data.member.id,[]).subscribe(Ie=>{this.sponsors=Ie,this.dataSource=new v.by(this.sponsors),this.loading=!1}))})}}return De.\u0275fac=function(z){return new(z||De)(b.Y36(f.so),b.Y36(f.WI),b.Y36(e.uq),b.Y36(e.Fv),b.Y36(g.V6),b.Y36(g.x4),b.Y36(R.sK),b.Y36(f.uw))},De.\u0275cmp=b.Xpm({type:De,selectors:[["app-edit-member-sponsors-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","expiration"],["matColumnDef","remove"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",3,"make-red",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-icon-button","",1,"btn-delete",3,"disabled","click"],["class","icn-delete","color","warn",4,"ngIf"],[4,"ngIf"],["color","warn",1,"icn-delete"],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(z,Ce){1&z&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"div"),b.YNc(4,X,1,0,"mat-spinner",1),b.YNc(5,Fe,16,3,"div",2),b.TgZ(6,"div",3),b.TgZ(7,"button",4),b.NdJ("click",function(){return Ce.onCancel()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Ce.onSubmit()}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.qZA(),b.qZA()),2&z&&(b.xp6(1),b.Oqu(b.lcZ(2,9,"DIALOGS.EDIT_MEMBER_SPONSORS.TITLE")),b.xp6(2),b.Tol(Ce.theme),b.xp6(1),b.Q6J("ngIf",Ce.loading),b.xp6(1),b.Q6J("ngIf",!Ce.loading),b.xp6(3),b.hij(" ",b.lcZ(9,11,"DIALOGS.EDIT_MEMBER_SPONSORS.CANCEL")," "),b.xp6(2),b.Q6J("disabled",Ce.loading||0===Ce.sponsorsToRemove.size),b.xp6(1),b.hij(" ",b.lcZ(12,13,"DIALOGS.EDIT_MEMBER_SPONSORS.SUBMIT")," "))},directives:[f.uh,s.O5,E.$g,f.xY,v.BZ,v.w1,v.fO,v.ge,v.Dz,v.ev,h.lW,x.Hw,k.gM,v.as,v.XQ,v.nj,v.Gk,f.H8],pipes:[R.X$,G.d],styles:[".make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.btn-delete[_ngcontent-%COMP%]:disabled .icn-delete[_ngcontent-%COMP%]{color:gray}"]}),De})()},74414:(Ze,ge,d)=>{"use strict";d.d(ge,{R:()=>se});var e=d(48966),f=d(93075),g=d(112),v=d(36908),m=d(5e3),A=d(51062),s=d(69808),b=d(20773),R=d(67322),E=d(98833),h=d(74107),x=d(90508),k=d(47423);function G(V,F){1&V&&m._UZ(0,"mat-spinner",6)}function X(V,F){1&V&&(m.TgZ(0,"div",14),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&V&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_VO")," "))}function he(V,F){1&V&&(m.TgZ(0,"div",14),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&V&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_GROUP")," "))}function re(V,F){1&V&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&V&&(m.xp6(1),m.Oqu(m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.NAME_ERROR")))}function Ne(V,F){1&V&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&V&&(m.xp6(1),m.Oqu(m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.EMAIL_ERROR")))}function ce(V,F){if(1&V&&(m.TgZ(0,"mat-option",15),m._uU(1),m.ALo(2,"translate"),m.ALo(3,"uppercase"),m.qZA()),2&V){const W=F.$implicit;m.s9C("value",W),m.xp6(1),m.Oqu(m.lcZ(2,2,m.lcZ(3,4,"SHARED_LIB.LANGUAGES."+W)))}}function Pe(V,F){if(1&V){const W=m.EpF();m.TgZ(0,"div",7),m.YNc(1,X,3,3,"div",8),m.YNc(2,he,3,3,"div",8),m.TgZ(3,"mat-form-field",9),m._UZ(4,"input",10),m.ALo(5,"translate"),m.YNc(6,re,3,3,"mat-error",11),m.qZA(),m.TgZ(7,"mat-form-field",9),m._UZ(8,"textarea",10),m.ALo(9,"translate"),m.YNc(10,Ne,3,3,"mat-error",11),m.qZA(),m.TgZ(11,"mat-form-field",9),m.TgZ(12,"mat-label"),m._uU(13),m.ALo(14,"translate"),m.qZA(),m.TgZ(15,"mat-select",12),m.NdJ("valueChange",function(ae){return m.CHM(W),m.oxw().currentLanguage=ae}),m.YNc(16,ce,4,6,"mat-option",13),m.qZA(),m.qZA(),m.qZA()}if(2&V){const W=m.oxw();m.xp6(1),m.Q6J("ngIf",!W.data.groupId),m.xp6(1),m.Q6J("ngIf",W.data.groupId),m.xp6(2),m.s9C("placeholder",m.lcZ(5,11,"DIALOGS.INVITE_MEMBER.NAME")),m.Q6J("formControl",W.name),m.xp6(2),m.Q6J("ngIf",W.name.invalid),m.xp6(2),m.s9C("placeholder",m.lcZ(9,13,"DIALOGS.INVITE_MEMBER.EMAIL")),m.Q6J("formControl",W.emailForm),m.xp6(2),m.Q6J("ngIf",W.emailForm.invalid),m.xp6(3),m.Oqu(m.lcZ(14,15,"DIALOGS.INVITE_MEMBER.LANGUAGE")),m.xp6(2),m.Q6J("value",W.currentLanguage),m.xp6(1),m.Q6J("ngForOf",W.languages)}}let se=(()=>{class V{constructor(W,te,ae,pe,Be,Fe){this.dialogRef=W,this.data=te,this.registrarManager=ae,this.notificator=pe,this.translate=Be,this.store=Fe,this.emailForm=new f.NI("",[f.kI.required,f.kI.email]),this.languages=["en"],this.currentLanguage="en",this.name=new f.NI("",f.kI.required),this.loading=!1}ngOnInit(){this.languages=this.store.get("supported_languages"),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.emailForm.invalid||this.name.invalid||(this.data.voId&&!this.data.groupId?(this.loading=!0,this.registrarManager.sendInvitation(this.emailForm.value,this.currentLanguage,this.data.voId).subscribe(()=>{this.translate.get("DIALOGS.INVITE_MEMBER.SUCCESS").subscribe(W=>{this.notificator.showSuccess(W),this.dialogRef.close(!0)})},()=>this.loading=!1)):(this.loading=!0,this.registrarManager.sendInvitationForGroup(this.emailForm.value,this.currentLanguage,this.data.voId,this.data.groupId).subscribe(()=>{this.translate.get("DIALOGS.INVITE_MEMBER.SUCCESS").subscribe(W=>{this.notificator.showSuccess(W),this.dialogRef.close(!0)})},()=>this.loading=!1)))}}return V.\u0275fac=function(W){return new(W||V)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.tk),m.Y36(v.V6),m.Y36(A.sK),m.Y36(v.d6))},V.\u0275cmp=m.Xpm({type:V,selectors:[["app-invite-member-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["class","font-italic",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"font-italic"],[3,"value"]],template:function(W,te){1&W&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,G,1,0,"mat-spinner",1),m.YNc(5,Pe,17,17,"div",2),m.TgZ(6,"div",3),m.TgZ(7,"button",4),m.NdJ("click",function(){return te.onCancel()}),m._uU(8),m.ALo(9,"translate"),m.qZA(),m.TgZ(10,"button",5),m.NdJ("click",function(){return te.onSubmit()}),m._uU(11),m.ALo(12,"translate"),m.qZA(),m.qZA(),m.qZA()),2&W&&(m.Tol(te.theme),m.xp6(2),m.Oqu(m.lcZ(3,9,"DIALOGS.INVITE_MEMBER.TITLE")),m.xp6(2),m.Q6J("ngIf",te.loading),m.xp6(1),m.Q6J("ngIf",!te.loading),m.xp6(3),m.hij(" ",m.lcZ(9,11,"DIALOGS.INVITE_MEMBER.CANCEL")," "),m.xp6(2),m.Q6J("disabled",te.emailForm.invalid||te.name.invalid||te.loading),m.xp6(1),m.hij(" ",m.lcZ(12,13,"DIALOGS.INVITE_MEMBER.INVITE")," "))},directives:[e.uh,s.O5,b.$g,e.xY,R.KE,E.Nt,f.Fj,f.Q7,f.JJ,f.oH,R.TO,R.hX,h.gD,s.sg,x.ey,e.H8,k.lW],pipes:[A.X$,s.gd],styles:[""]}),V})()},87842:(Ze,ge,d)=>{"use strict";d.d(ge,{c:()=>ae});var e=d(48966),f=d(93075),g=d(1059),v=d(24850),m=d(36769),A=d(36908),s=d(112),b=d(5e3),R=d(51062),E=d(79814),h=d(69808),x=d(98380),k=d(67322),G=d(98833),X=d(91079),he=d(90508),re=d(20773),Ne=d(47423),ce=d(29772);function Pe(pe,Be){1&pe&&(b.TgZ(0,"mat-radio-button",12),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.MOVE_GROUP.NO_GROUP")," "))}function se(pe,Be){1&pe&&(b.TgZ(0,"mat-radio-button",13),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.MOVE_GROUP.TO_GROUP")," "))}function V(pe,Be){1&pe&&(b.TgZ(0,"app-alert",14),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.MOVE_GROUP.CANNOT_MOVE")," "))}function F(pe,Be){if(1&pe){const Fe=b.EpF();b.TgZ(0,"mat-option",20),b.NdJ("click",function(){const be=b.CHM(Fe).$implicit;return b.oxw(2).selectedGroup=be}),b.TgZ(1,"span"),b._uU(2),b.qZA(),b.qZA()}if(2&pe){const Fe=Be.$implicit;b.Q6J("value",Fe),b.xp6(2),b.Oqu(Fe.name)}}function W(pe,Be){if(1&pe){const Fe=b.EpF();b.TgZ(0,"mat-form-field",15),b.TgZ(1,"input",16),b.NdJ("change",function(){return b.CHM(Fe),b.oxw().selectedGroup=null}),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"mat-autocomplete",17,18),b.YNc(5,F,3,2,"mat-option",19),b.ALo(6,"async"),b.qZA(),b.qZA()}if(2&pe){const Fe=b.MAs(4),ke=b.oxw();b.Q6J("@openClose","toGroup"===ke.moveOption?"open":"closed"),b.xp6(1),b.s9C("placeholder",b.lcZ(2,6,"DIALOGS.MOVE_GROUP.GROUP_SELECT")),b.Q6J("matAutocomplete",Fe)("formControl",ke.otherGroupsCtrl),b.xp6(2),b.Q6J("displayWith",ke.displayFn),b.xp6(2),b.Q6J("ngForOf",b.lcZ(6,8,ke.filteredGroups))}}function te(pe,Be){1&pe&&b._UZ(0,"mat-spinner",21)}let ae=(()=>{class pe{constructor(Fe,ke,De,be,z,Ce,J){this.dialogRef=Fe,this.data=ke,this.groupService=De,this.notificator=be,this.translate=z,this.apiRequest=Ce,this.authResolver=J,this.toRootOptionDisabled=!1,this.toGroupOptionDisabled=!1,this.otherGroups=[],this.otherGroupsCtrl=new f.NI(null,[f.kI.required]),this.loading=!1,this.selectedGroup=null,this.translate.get("DIALOGS.MOVE_GROUP.SUCCESS").subscribe(I=>this.successMessage=I),this.translate.get("DIALOGS.MOVE_GROUP.ERROR").subscribe(I=>this.errorMessage=I)}ngOnInit(){this.loading=!0,this.groupService.getAllGroups(this.data.group.voId).subscribe(Fe=>{this.otherGroups=Fe.filter(ke=>ke.id!==this.data.group.id&&"members"!==ke.name&&this.canMove(ke)),0===this.otherGroups.length&&(this.toGroupOptionDisabled=!0),(null===this.data.group.parentGroupId||!this.authResolver.isAuthorized("destination_null-moveGroup_Group_Group_policy",[this.data.group]))&&(this.toRootOptionDisabled=!0,this.moveOption="toGroup"),this.filteredGroups=this.otherGroupsCtrl.valueChanges.pipe((0,g.O)(""),(0,v.U)(ke=>ke?this._filterGroups(ke):this.otherGroups.slice())),this.loading=!1},()=>this.loading=!1)}displayFn(Fe){return Fe&&Fe.name}_filterGroups(Fe){if("object"==typeof Fe)return[];const ke=Fe.toLowerCase();return Fe?this.otherGroups.filter(De=>De.name.toLowerCase().indexOf(ke)>-1):this.otherGroups}canMove(Fe){return this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[Fe,this.data.group])&&this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[this.data.group,Fe])}close(){this.dialogRef.close()}confirm(){this.loading=!0,this.apiRequest.dontHandleErrorForNext(),this.groupService.moveGroupWithDestinationGroupMovingGroup(this.data.group.id,this.otherGroupsCtrl.value?this.otherGroupsCtrl.value.id:void 0).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},Fe=>{this.notificator.showRPCError(Fe,this.errorMessage),this.dialogRef.close(!1)})}}return pe.\u0275fac=function(Fe){return new(Fe||pe)(b.Y36(e.so),b.Y36(e.WI),b.Y36(s.ff),b.Y36(A.V6),b.Y36(R.sK),b.Y36(A.F5),b.Y36(A.x4))},pe.\u0275cmp=b.Xpm({type:pe,selectors:[["app-move-group-dialog"]],decls:23,vars:28,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"ngModel","ngModelChange"],["color","primary","value","toRoot","class","move-options",4,"ngIf"],["value","toGroup","color","primary",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","w-100 mt-2",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["color","primary","value","toRoot",1,"move-options"],["value","toGroup","color","primary"],["alert_type","warn"],[1,"w-100","mt-2"],["matInput","","required","",3,"placeholder","matAutocomplete","formControl","change"],[3,"displayWith"],["groupSelectAutocomplete","matAutocomplete"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"],[1,"ml-auto","mr-auto"]],template:function(Fe,ke){1&Fe&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"div",1),b.TgZ(5,"p"),b._uU(6),b.ALo(7,"translate"),b.qZA(),b.TgZ(8,"mat-radio-group",2),b.NdJ("ngModelChange",function(be){return ke.moveOption=be}),b.YNc(9,Pe,3,3,"mat-radio-button",3),b.YNc(10,se,3,3,"mat-radio-button",4),b.qZA(),b.YNc(11,V,3,3,"app-alert",5),b.YNc(12,W,7,10,"mat-form-field",6),b.qZA(),b.YNc(13,te,1,0,"mat-spinner",7),b.TgZ(14,"div",8),b.TgZ(15,"button",9),b.NdJ("click",function(){return ke.close()}),b._uU(16),b.ALo(17,"translate"),b.qZA(),b.TgZ(18,"span",10),b.ALo(19,"translate"),b.TgZ(20,"button",11),b.NdJ("click",function(){return ke.confirm()}),b._uU(21),b.ALo(22,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA()),2&Fe&&(b.Tol(ke.data.theme),b.xp6(2),b.AsE("",b.lcZ(3,18,"DIALOGS.MOVE_GROUP.TITLE"),"",ke.data.group.name,""),b.xp6(4),b.hij(" ",b.lcZ(7,20,"DIALOGS.MOVE_GROUP.INFO")," "),b.xp6(2),b.Q6J("ngModel",ke.moveOption),b.xp6(1),b.Q6J("ngIf",!ke.toRootOptionDisabled),b.xp6(1),b.Q6J("ngIf",!ke.toGroupOptionDisabled),b.xp6(1),b.Q6J("ngIf",ke.toRootOptionDisabled&&ke.toGroupOptionDisabled),b.xp6(1),b.Q6J("ngIf",!ke.toGroupOptionDisabled),b.xp6(1),b.Q6J("ngIf",ke.loading),b.xp6(3),b.hij(" ",b.lcZ(17,22,"DIALOGS.MOVE_GROUP.CANCEL")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(19,24,"DIALOGS.MOVE_GROUP.DISABLED_HINT")),b.Q6J("matTooltipPosition","above")("matTooltipDisabled",null!==ke.selectedGroup||"toRoot"===ke.moveOption),b.xp6(2),b.Q6J("disabled",(ke.otherGroupsCtrl.invalid||null===ke.selectedGroup)&&"toRoot"!==ke.moveOption||ke.loading),b.xp6(1),b.hij(" ",b.lcZ(22,26,"DIALOGS.MOVE_GROUP.CONFIRM")," "))},directives:[e.uh,e.xY,E.VQ,f.JJ,f.On,h.O5,E.U0,x.w,k.KE,G.Nt,X.ZL,f.Fj,f.Q7,f.oH,X.XC,h.sg,he.ey,re.$g,e.H8,Ne.lW,ce.gM],pipes:[R.X$,h.Ov],styles:[".move-options[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}"],data:{animation:[m.BQ]}}),pe})()},58964:(Ze,ge,d)=>{"use strict";d.d(ge,{m:()=>re});var e=d(48966),f=d(112),g=d(36908),v=d(5e3),m=d(51062),A=d(69808),s=d(20773),b=d(67322),R=d(74107),E=d(90508),h=d(47423);function x(Ne,ce){1&Ne&&v._UZ(0,"mat-spinner",7)}function k(Ne,ce){if(1&Ne&&(v.TgZ(0,"mat-option",13),v._uU(1),v.qZA()),2&Ne){const Pe=ce.$implicit;v.Q6J("value",Pe),v.xp6(1),v.hij(" ",Pe.friendlyNameParameter," ")}}function G(Ne,ce){if(1&Ne&&(v.TgZ(0,"mat-option",13),v._uU(1),v.ALo(2,"translate"),v.ALo(3,"uppercase"),v.qZA()),2&Ne){const Pe=ce.$implicit;v.Q6J("value",Pe),v.xp6(1),v.hij(" ",v.lcZ(2,2,v.lcZ(3,4,"SHARED_LIB.LANGUAGES."+Pe))," ")}}function X(Ne,ce){if(1&Ne&&(v.TgZ(0,"mat-option",13),v._uU(1),v.qZA()),2&Ne){const Pe=ce.$implicit;v.Q6J("value",Pe),v.xp6(1),v.hij(" ",Pe," ")}}function he(Ne,ce){if(1&Ne){const Pe=v.EpF();v.TgZ(0,"div",8),v.TgZ(1,"mat-form-field"),v.TgZ(2,"mat-label"),v._uU(3),v.ALo(4,"translate"),v.qZA(),v.TgZ(5,"mat-select",9),v.NdJ("valueChange",function(V){return v.CHM(Pe),v.oxw().selectedLogin=V}),v.YNc(6,k,2,2,"mat-option",10),v.qZA(),v.qZA(),v.TgZ(7,"mat-form-field"),v.TgZ(8,"mat-label"),v._uU(9),v.ALo(10,"translate"),v.qZA(),v.TgZ(11,"mat-select",9),v.NdJ("valueChange",function(V){return v.CHM(Pe),v.oxw().selectedLang=V}),v.YNc(12,G,4,6,"mat-option",10),v.qZA(),v.qZA(),v.TgZ(13,"mat-form-field"),v.TgZ(14,"mat-label"),v._uU(15),v.ALo(16,"translate"),v.qZA(),v.TgZ(17,"mat-select",9),v.NdJ("valueChange",function(V){return v.CHM(Pe),v.oxw().selectedMail=V}),v.YNc(18,X,2,2,"mat-option",10),v.qZA(),v.qZA(),v.TgZ(19,"div",11),v.TgZ(20,"p",12),v._uU(21),v.ALo(22,"translate"),v.qZA(),v.TgZ(23,"p"),v._uU(24),v.qZA(),v.qZA(),v.qZA()}if(2&Ne){const Pe=v.oxw();v.xp6(3),v.Oqu(v.lcZ(4,11,"DIALOGS.PASSWORD_RESET_REQUEST.NAMESPACE")),v.xp6(2),v.Q6J("value",Pe.selectedLogin),v.xp6(1),v.Q6J("ngForOf",Pe.logins),v.xp6(3),v.Oqu(v.lcZ(10,13,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),v.xp6(2),v.Q6J("value",Pe.selectedLang),v.xp6(1),v.Q6J("ngForOf",Pe.languages),v.xp6(3),v.Oqu(v.lcZ(16,15,"DIALOGS.PASSWORD_RESET_REQUEST.EMAIL")),v.xp6(2),v.Q6J("value",Pe.selectedMail),v.xp6(1),v.Q6J("ngForOf",Pe.mails),v.xp6(3),v.Oqu(v.lcZ(22,17,"DIALOGS.PASSWORD_RESET_REQUEST.LOGIN")),v.xp6(3),v.Oqu(Pe.selectedLogin.value)}}let re=(()=>{class Ne{constructor(Pe,se,V,F,W,te,ae){this.dialogRef=Pe,this.data=se,this.membersManagerService=V,this.attributesManagerService=F,this.store=W,this.translate=te,this.notificator=ae,this.languages=this.store.get("supported_languages"),this.selectedLang="en",this.pwdMails=new Map,this.logins=[],this.selectedMail="user:preferredMail",this.mails=[],te.get("DIALOGS.PASSWORD_RESET_REQUEST.SUCCESS").subscribe(pe=>this.successMessage=pe)}ngOnInit(){this.getMailAttributes(),this.logins=this.data.logins,this.selectedLogin=this.logins[0]}getMailAttributes(){this.pwdMails.set("user:preferredMail","urn:perun:user:attribute-def:def:preferredMail"),this.pwdMails.set("member:mail","urn:perun:member:attribute-def:def:mail"),this.mails=Array.from(this.pwdMails.keys()),this.selectedMail="user:preferredMail"}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0;const Pe=this.selectedLogin.friendlyNameParameter,V=window.location.href.split("/"),F=V[0]+"//"+V[2];this.membersManagerService.sendPasswordResetLinkEmail(this.data.memberId,Pe,this.pwdMails.get(this.selectedMail),this.selectedLang,F).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close()},()=>this.loading=!1)}}return Ne.\u0275fac=function(Pe){return new(Pe||Ne)(v.Y36(e.so),v.Y36(e.WI),v.Y36(f.uq),v.Y36(f.H8),v.Y36(g.d6),v.Y36(m.sK),v.Y36(g.V6))},Ne.\u0275cmp=v.Xpm({type:Ne,selectors:[["app-password-reset-request-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],[1,"member-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container member-theme","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container","member-theme"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"row"],[1,"column-size","ml-3"],[3,"value"]],template:function(Pe,se){1&Pe&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"div",1),v.YNc(4,x,1,0,"mat-spinner",2),v.qZA(),v.YNc(5,he,25,19,"div",3),v.TgZ(6,"div",4),v.TgZ(7,"button",5),v.NdJ("click",function(){return se.onCancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",6),v.NdJ("click",function(){return se.onSubmit()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA()),2&Pe&&(v.xp6(1),v.Oqu(v.lcZ(2,6,"DIALOGS.PASSWORD_RESET_REQUEST.TITLE")),v.xp6(3),v.Q6J("ngIf",se.loading),v.xp6(1),v.Q6J("ngIf",!se.loading),v.xp6(3),v.hij(" ",v.lcZ(9,8,"DIALOGS.PASSWORD_RESET_REQUEST.CANCEL")," "),v.xp6(2),v.Q6J("disabled",se.loading),v.xp6(1),v.hij(" ",v.lcZ(12,10,"DIALOGS.PASSWORD_RESET_REQUEST.SEND")," "))},directives:[e.uh,A.O5,s.$g,e.xY,b.KE,b.hX,R.gD,A.sg,E.ey,e.H8,h.lW],pipes:[m.X$,A.gd],styles:[".column-size[_ngcontent-%COMP%]{width:8rem}"]}),Ne})()},53455:(Ze,ge,d)=>{"use strict";d.d(ge,{X:()=>Pe});var e=d(48966),f=d(32075),g=d(36908),v=d(112),m=d(5e3),A=d(51062),s=d(69808),b=d(20773),R=d(47423),E=d(31359);function h(se,V){1&se&&m._UZ(0,"th",13)}function x(se,V){if(1&se&&(m.TgZ(0,"td",14),m._uU(1),m.qZA()),2&se){const F=V.$implicit;m.xp6(1),m.Oqu(F.id)}}function k(se,V){1&se&&m._UZ(0,"th",13)}function G(se,V){if(1&se&&(m.TgZ(0,"td",14),m._uU(1),m.ALo(2,"userFullName"),m.qZA()),2&se){const F=V.$implicit;m.xp6(1),m.Oqu(m.lcZ(2,1,F.user))}}function X(se,V){1&se&&m._UZ(0,"tr",15)}function he(se,V){1&se&&m._UZ(0,"tr",16)}function re(se,V){if(1&se&&(m.TgZ(0,"div",4),m.TgZ(1,"p"),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"div",5),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.TgZ(7,"table",6),m.ynx(8,7),m.YNc(9,h,1,0,"th",8),m.YNc(10,x,2,1,"td",9),m.BQk(),m.ynx(11,10),m.YNc(12,k,1,0,"th",8),m.YNc(13,G,3,3,"td",9),m.BQk(),m.YNc(14,X,1,0,"tr",11),m.YNc(15,he,1,0,"tr",12),m.qZA(),m.qZA()),2&se){const F=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,5,F.data.groupId?"DIALOGS.REMOVE_MEMBERS.DESCRIPTION_GROUP":"DIALOGS.REMOVE_MEMBERS.DESCRIPTION")," "),m.xp6(3),m.hij(" ",m.lcZ(6,7,"DIALOGS.REMOVE_MEMBERS.ASK")," "),m.xp6(2),m.Q6J("dataSource",F.dataSource),m.xp6(7),m.Q6J("matHeaderRowDef",F.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",F.displayedColumns)}}function Ne(se,V){1&se&&m._UZ(0,"mat-spinner",17)}function ce(se,V){if(1&se){const F=m.EpF();m.TgZ(0,"div",18),m.TgZ(1,"button",19),m.NdJ("click",function(){return m.CHM(F),m.oxw().onCancel()}),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"button",20),m.NdJ("click",function(){return m.CHM(F),m.oxw().onSubmit()}),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.qZA()}if(2&se){const F=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,2,"DIALOGS.REMOVE_MEMBERS.CANCEL")," "),m.xp6(3),m.hij(" ",m.lcZ(6,4,F.data.groupId?"DIALOGS.REMOVE_MEMBERS.REMOVE_GROUP":"DIALOGS.REMOVE_MEMBERS.REMOVE")," ")}}let Pe=(()=>{class se{constructor(F,W,te,ae,pe,Be){this.dialogRef=F,this.data=W,this.membersService=te,this.groupService=ae,this.notificator=pe,this.translate=Be,this.displayedColumns=["id","name"]}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.members)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.groupId?this.groupService.removeMembers(this.data.groupId,this.data.members.map(F=>F.id)).subscribe(()=>this.onSuccess(),()=>this.onError()):this.membersService.deleteMembers(this.data.members.map(F=>F.id)).subscribe(()=>this.onSuccess(),()=>this.onError())}onSuccess(){const F=this.translate.instant(this.data.groupId?"DIALOGS.REMOVE_MEMBERS.SUCCESS_GROUP":"DIALOGS.REMOVE_MEMBERS.SUCCESS");this.notificator.showSuccess(F),this.dialogRef.close(!0),this.loading=!1}onError(){this.loading=!1}}return se.\u0275fac=function(F){return new(F||se)(m.Y36(e.so),m.Y36(e.WI),m.Y36(v.uq),m.Y36(v.ff),m.Y36(g.V6),m.Y36(A.sK))},se.\u0275cmp=m.Xpm({type:se,selectors:[["app-remove-members-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],[1,"mr-auto","ml-auto"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","remove-members-dialog",1,"ml-2",3,"click"]],template:function(F,W){1&F&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,re,16,9,"div",1),m.YNc(5,Ne,1,0,"mat-spinner",2),m.YNc(6,ce,7,6,"div",3),m.qZA()),2&F&&(m.Tol(W.theme),m.xp6(2),m.Oqu(m.lcZ(3,7,"DIALOGS.REMOVE_MEMBERS.TITLE")),m.xp6(2),m.Q6J("ngIf",!W.loading),m.xp6(1),m.Q6J("ngIf",W.loading),m.xp6(1),m.Q6J("ngIf",!W.loading))},directives:[e.uh,s.O5,e.xY,f.BZ,f.w1,f.fO,f.ge,f.Dz,f.ev,f.as,f.XQ,f.nj,f.Gk,b.$g,e.H8,R.lW],pipes:[A.X$,E.d],styles:[""]}),se})()},533:(Ze,ge,d)=>{"use strict";d.d(ge,{f:()=>b});var e=d(48966),f=d(32075),g=d(36908),v=d(112),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class R{constructor(h,x,k,G,X){this.dialogRef=h,this.data=x,this.notificator=k,this.translate=G,this.resourcesManager=X,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.resources)}onCancel(){this.dialogRef.close(!1)}onDelete(){this.loading=!0,0===this.data.resources.length?this.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(h=>{this.loading=!1,this.notificator.showSuccess(h),this.dialogRef.close(!0)}):this.resourcesManager.deleteResource(this.data.resources[0].id).subscribe(()=>{this.data.resources.shift(),this.onDelete()},()=>{this.dialogRef.close(!0)})}onSubmit(h){h.deleted?this.onDelete():this.onCancel()}}return R.\u0275fac=function(h){return new(h||R)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.V6),m.Y36(A.sK),m.Y36(v.xk))},R.\u0275cmp=m.Xpm({type:R,selectors:[["app-remove-resource-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","disableForce","loading","deleted"]],template:function(h,x){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(G){return x.onSubmit(G)}),m.qZA(),m.qZA()),2&h&&(m.Tol(x.theme),m.xp6(1),m.Q6J("entityNames",x.dataSource)("entityType","resources")("disableForce",!0)("loading",x.loading))},directives:[s.e],styles:[""]}),R})()},11717:(Ze,ge,d)=>{"use strict";d.d(ge,{o:()=>b});var e=d(48966),f=d(32075),g=d(36908),v=d(112),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class R{constructor(h,x,k,G,X){this.dialogRef=h,this.data=x,this.notificator=k,this.voService=G,this.translate=X,this.force=!1,this.displayedColumns=["name"],this.relations=[],X.get("DIALOGS.REMOVE_VO.SUCCESS").subscribe(he=>this.successMessage=he)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.vos),this.relations.push(this.translate.instant("DIALOGS.REMOVE_VO.GROUP_RELATION")),this.relations.push(this.translate.instant("DIALOGS.REMOVE_VO.MEMBER_RELATION")),this.relations.push(this.translate.instant("DIALOGS.REMOVE_VO.RESOURCE_RELATION"))}onCancel(){this.dialogRef.close(!1)}onDelete(){this.loading=!0,this.voService.deleteVo(this.data.vos[0].id,this.force).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}onSubmit(h){this.force=h.force,h.deleted?this.onDelete():this.onCancel()}}return R.\u0275fac=function(h){return new(h||R)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.V6),m.Y36(v.YF),m.Y36(A.sK))},R.\u0275cmp=m.Xpm({type:R,selectors:[["app-remove-vo-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","relations","loading","deleted"]],template:function(h,x){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(G){return x.onSubmit(G)}),m.qZA(),m.qZA()),2&h&&(m.Tol(x.theme),m.xp6(1),m.Q6J("entityNames",x.dataSource)("entityType","organizations")("relations",x.relations)("loading",x.loading))},directives:[s.e],styles:[".foo[_ngcontent-%COMP%]{margin-top:20px}"]}),R})()},1186:(Ze,ge,d)=>{"use strict";d.d(ge,{E:()=>he});var e=d(48966),f=d(112),g=d(5e3),v=d(69808),m=d(20773),A=d(67322),s=d(98833),b=d(93075),R=d(74107),E=d(90508),h=d(47423),x=d(51062);function k(re,Ne){1&re&&g._UZ(0,"mat-spinner",6)}function G(re,Ne){if(1&re){const ce=g.EpF();g.TgZ(0,"div"),g.TgZ(1,"mat-form-field",9),g.TgZ(2,"mat-select",10),g.NdJ("valueChange",function(se){return g.CHM(ce),g.oxw(2).embeddedState=se}),g.ALo(3,"translate"),g.TgZ(4,"mat-option",11),g._uU(5),g.ALo(6,"translate"),g.qZA(),g.TgZ(7,"mat-option",12),g._uU(8),g.ALo(9,"translate"),g.qZA(),g.qZA(),g.qZA(),g.qZA()}if(2&re){const ce=g.oxw(2);g.xp6(2),g.MGl("placeholder","",g.lcZ(3,4,"DIALOGS.UPDATE_APPLICATION_FORM.EMBEDDED"),":"),g.Q6J("value",ce.embeddedState),g.xp6(3),g.Oqu(g.lcZ(6,6,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),g.xp6(3),g.Oqu(g.lcZ(9,8,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL"))}}function X(re,Ne){if(1&re){const ce=g.EpF();g.TgZ(0,"div",7),g.TgZ(1,"mat-form-field"),g.TgZ(2,"input",8),g.NdJ("ngModelChange",function(se){return g.CHM(ce),g.oxw().moduleName=se}),g.ALo(3,"translate"),g.qZA(),g.qZA(),g.TgZ(4,"mat-form-field",9),g.TgZ(5,"mat-select",10),g.NdJ("valueChange",function(se){return g.CHM(ce),g.oxw().initialState=se}),g.ALo(6,"translate"),g.TgZ(7,"mat-option",11),g._uU(8),g.ALo(9,"translate"),g.qZA(),g.TgZ(10,"mat-option",12),g._uU(11),g.ALo(12,"translate"),g.qZA(),g.qZA(),g.qZA(),g.TgZ(13,"mat-form-field",9),g.TgZ(14,"mat-select",10),g.NdJ("valueChange",function(se){return g.CHM(ce),g.oxw().extensionState=se}),g.ALo(15,"translate"),g.TgZ(16,"mat-option",11),g._uU(17),g.ALo(18,"translate"),g.qZA(),g.TgZ(19,"mat-option",12),g._uU(20),g.ALo(21,"translate"),g.qZA(),g.qZA(),g.qZA(),g.YNc(22,G,10,10,"div",13),g.qZA()}if(2&re){const ce=g.oxw();g.xp6(2),g.s9C("placeholder",g.lcZ(3,11,"DIALOGS.UPDATE_APPLICATION_FORM.MODULE_NAME")),g.Q6J("ngModel",ce.moduleName),g.xp6(3),g.MGl("placeholder","",g.lcZ(6,13,"DIALOGS.UPDATE_APPLICATION_FORM.INITIAL"),":"),g.Q6J("value",ce.initialState),g.xp6(3),g.Oqu(g.lcZ(9,15,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),g.xp6(3),g.Oqu(g.lcZ(12,17,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),g.xp6(3),g.MGl("placeholder","",g.lcZ(15,19,"DIALOGS.UPDATE_APPLICATION_FORM.EXTENSION"),":"),g.Q6J("value",ce.extensionState),g.xp6(3),g.Oqu(g.lcZ(18,21,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),g.xp6(3),g.Oqu(g.lcZ(21,23,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),g.xp6(2),g.Q6J("ngIf","group"===ce.entity&&ce.autoRegistrationEnabled)}}let he=(()=>{class re{constructor(ce,Pe,se){this.dialogRef=ce,this.data=Pe,this.registrarManager=se,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.applicationForm=this.data.applicationForm,this.moduleName=this.applicationForm.moduleClassName,this.initialState=this.applicationForm.automaticApproval?"auto":"manual",this.extensionState=this.applicationForm.automaticApprovalExtension?"auto":"manual",this.embeddedState=this.applicationForm.automaticApprovalEmbedded?"auto":"manual",this.entity=this.data.entity,this.autoRegistrationEnabled=this.data.autoRegistrationEnabled}onCancel(){this.dialogRef.close()}submit(){this.loading=!0,this.applicationForm.moduleClassName=this.moduleName,this.applicationForm.automaticApproval="auto"===this.initialState,this.applicationForm.automaticApprovalExtension="auto"===this.extensionState,this.applicationForm.automaticApprovalEmbedded="auto"===this.embeddedState,this.registrarManager.updateForm({form:this.applicationForm}).subscribe(ce=>{this.dialogRef.close(ce)},()=>this.loading=!1)}}return re.\u0275fac=function(ce){return new(ce||re)(g.Y36(e.so),g.Y36(e.WI),g.Y36(f.tk))},re.\u0275cmp=g.Xpm({type:re,selectors:[["app-update-application-form-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"ngModel","placeholder","ngModelChange"],[1,"w-100"],["disableOptionCentering","",3,"value","placeholder","valueChange"],["value","auto"],["value","manual"],[4,"ngIf"]],template:function(ce,Pe){1&ce&&(g.TgZ(0,"div"),g.TgZ(1,"h1",0),g._uU(2),g.ALo(3,"translate"),g.qZA(),g.YNc(4,k,1,0,"mat-spinner",1),g.YNc(5,X,23,25,"div",2),g.TgZ(6,"div",3),g.TgZ(7,"button",4),g.NdJ("click",function(){return Pe.onCancel()}),g._uU(8),g.ALo(9,"translate"),g.qZA(),g.TgZ(10,"button",5),g.NdJ("click",function(){return Pe.submit()}),g._uU(11),g.ALo(12,"translate"),g.qZA(),g.qZA(),g.qZA()),2&ce&&(g.Tol(Pe.theme),g.xp6(2),g.Oqu(g.lcZ(3,9,"DIALOGS.UPDATE_APPLICATION_FORM.TITLE")),g.xp6(2),g.Q6J("ngIf",Pe.loading),g.xp6(1),g.Q6J("ngIf",!Pe.loading),g.xp6(3),g.hij(" ",g.lcZ(9,11,"DIALOGS.UPDATE_APPLICATION_FORM.CANCEL_BUTTON")," "),g.xp6(2),g.Q6J("disabled",Pe.loading),g.xp6(1),g.hij(" ",g.lcZ(12,13,"DIALOGS.UPDATE_APPLICATION_FORM.SUBMIT_BUTTON")," "))},directives:[e.uh,v.O5,m.$g,e.xY,A.KE,s.Nt,b.Fj,b.JJ,b.On,R.gD,E.ey,e.H8,h.lW],pipes:[x.X$],styles:[""]}),re})()},57706:(Ze,ge,d)=>{"use strict";d.d(ge,{c:()=>g});var e=d(5e3),f=d(51062);let g=(()=>{class v{constructor(A){this.translateService=A,this.returnData=""}transform(A){switch(A){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HEADER").subscribe(s=>{this.returnData=s});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HTML_COMMENT").subscribe(s=>{this.returnData=s});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTFIELD").subscribe(s=>{this.returnData=s});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.VALIDATED_EMAIL").subscribe(s=>{this.returnData=s});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.USERNAME").subscribe(s=>{this.returnData=s});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.PASSWORD").subscribe(s=>{this.returnData=s});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SELECTIONBOX").subscribe(s=>{this.returnData=s});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTAREA").subscribe(s=>{this.returnData=s});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.COMBOBOX").subscribe(s=>{this.returnData=s});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.CHECKBOX").subscribe(s=>{this.returnData=s});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SUBMIT_BUTTON").subscribe(s=>{this.returnData=s});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.RADIO").subscribe(s=>{this.returnData=s});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TIMEZONE").subscribe(s=>{this.returnData=s});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.AUTO_SUBMIT_BUTTON").subscribe(s=>{this.returnData=s});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.EMBEDDED_GROUP_APPLICATION").subscribe(s=>{this.returnData=s});break;default:return A}return this.returnData}}return v.\u0275fac=function(A){return new(A||v)(e.Y36(f.sK,16))},v.\u0275pipe=e.Yjl({name:"applicationFormItemType",type:v,pure:!0}),v})()},43157:(Ze,ge,d)=>{"use strict";d.d(ge,{h:()=>g});var e=d(5e3),f=d(51062);let g=(()=>{class v{constructor(A){this.translate=A,this.returnData=""}transform(A){switch(A){case"APPROVED":this.translate.get("VO_DETAIL.APPLICATION.STATE.APPROVED").subscribe(s=>{this.returnData=`done${s}`});break;case"REJECTED":this.translate.get("VO_DETAIL.APPLICATION.STATE.REJECTED").subscribe(s=>{this.returnData=`clear${s}`});break;case"NEW":this.translate.get("VO_DETAIL.APPLICATION.STATE.NEW").subscribe(s=>{this.returnData=`contact_mail ${s}`});break;case"VERIFIED":this.translate.get("VO_DETAIL.APPLICATION.STATE.VERIFIED").subscribe(s=>{this.returnData=`gavel${s}`});break;default:this.returnData=A}return this.returnData}}return v.\u0275fac=function(A){return new(A||v)(e.Y36(f.sK,16))},v.\u0275pipe=e.Yjl({name:"applicationState",type:v,pure:!1}),v})()},70844:(Ze,ge,d)=>{"use strict";d.d(ge,{u:()=>g});var e=d(36908),f=d(5e3);let g=(()=>{class v{constructor(A){this.storeService=A,this.USER_CONSENT_RELATED_ATT_NAMESPACE=["urn:perun:user_facility:attribute-def","urn:perun:user:attribute-def","urn:perun:member:attribute-def","urn:perun:member_group:attribute-def","urn:perun:member_resource:attribute-def","urn:perun:ues:attribute-def"]}transform(A,s,b){return!!(this.storeService.get("enforce_consents")&&b&&s)&&this.USER_CONSENT_RELATED_ATT_NAMESPACE.reduce((E,h)=>E||A.startsWith(h),!1)}}return v.\u0275fac=function(A){return new(A||v)(f.Y36(e.d6,16))},v.\u0275pipe=f.Yjl({name:"consentRelatedAttribute",type:v,pure:!0}),v})()},37677:(Ze,ge,d)=>{"use strict";d.d(ge,{A:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){return m.substring(40)}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"extSourceType",type:g,pure:!0}),g})()},14264:(Ze,ge,d)=>{"use strict";d.d(ge,{m:()=>ee});var e=d(69808),f=d(11735),g=d(91079),v=d(47423),m=d(77446),A=d(90508),s=d(86856),b=d(48966),R=d(4834),E=d(81125),h=d(67322),x=d(25245),k=d(98833),G=d(86087),X=d(85899),he=d(20773),re=d(79814),Ne=d(74107),ce=d(2638),Pe=d(32368),se=d(57261),V=d(84847),F=d(32075),W=d(53251),te=d(29772),ae=d(90149),pe=d(9224),Be=d(27544),Fe=d(26688),ke=d(92181),De=d(92081),be=d(93075),z=d(73228),Ce=d(36769),J=d(36908),I=d(5e3),Ie=d(50301),Re=d(51062);const ze=["collapse"],fe=function(){return{color:"linkTextColor"}};function ve(Y,Le){1&Y&&(I.TgZ(0,"mat-icon",14),I._uU(1,"keyboard_arrow_right"),I.qZA()),2&Y&&I.Q6J("ngStyle",I.DdM(1,fe))}function We(Y,Le){1&Y&&(I.TgZ(0,"mat-icon",14),I._uU(1,"keyboard_arrow_down"),I.qZA()),2&Y&&I.Q6J("ngStyle",I.DdM(1,fe))}function nt(Y,Le){if(1&Y&&(I.TgZ(0,"span",12),I.YNc(1,ve,2,2,"mat-icon",13),I.YNc(2,We,2,2,"mat-icon",13),I.qZA()),2&Y){const Ye=I.oxw().$implicit,mt=I.oxw(2);I.xp6(1),I.Q6J("ngIf",!mt.isActive(mt.currentUrl,Ye.showChildrenRegex)),I.xp6(1),I.Q6J("ngIf",mt.isActive(mt.currentUrl,Ye.showChildrenRegex))}}const st=function(Y,Le){return{color:Y,"border-color":Le}};function dt(Y,Le){if(1&Y){const Ye=I.EpF();I.TgZ(0,"a",17),I.NdJ("click",function(){const qt=I.CHM(Ye).$implicit;return I.oxw(4).navigate(qt.url)}),I._uU(1),I.ALo(2,"translate"),I.qZA()}if(2&Y){const Ye=Le.$implicit,mt=I.oxw(4);I.ekj("activated",mt.isActive(mt.currentUrl,Ye.activatedRegex)&&void 0===mt.item.activatedClass),I.Q6J("perunWebAppsMiddleClickRouterLink",Ye.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",mt.isActive(mt.currentUrl,Ye.activatedRegex)&&void 0!==mt.item.activatedClass?mt.item.activatedClass:"")("ngStyle",I.WLB(9,st,mt.linkTextColor,mt.linkTextColor)),I.xp6(1),I.hij(" ",I.lcZ(2,7,Ye.label)," ")}}function L(Y,Le){if(1&Y&&(I.TgZ(0,"div",15),I.YNc(1,dt,3,12,"a",16),I.qZA()),2&Y){const Ye=I.oxw().$implicit;I.Q6J("@rollInOut",void 0),I.xp6(1),I.Q6J("ngForOf",null==Ye?null:Ye.children)}}function de(Y,Le){if(1&Y){const Ye=I.EpF();I.TgZ(0,"div"),I.TgZ(1,"a",9),I.NdJ("click",function(){const qt=I.CHM(Ye).$implicit;return I.oxw(2).navigate(qt.url)}),I._uU(2),I.ALo(3,"translate"),I.YNc(4,nt,3,2,"span",10),I.qZA(),I.YNc(5,L,2,2,"div",11),I.qZA()}if(2&Y){const Ye=Le.$implicit,mt=I.oxw(2);I.xp6(1),I.ekj("activated",mt.isActive(mt.currentUrl,Ye.activatedRegex)&&void 0===mt.item.activatedClass),I.Q6J("perunWebAppsMiddleClickRouterLink",Ye.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",mt.isActive(mt.currentUrl,Ye.activatedRegex)&&void 0!==mt.item.activatedClass?mt.item.activatedClass:"")("ngStyle",I.WLB(11,st,mt.linkTextColor,mt.linkTextColor)),I.xp6(1),I.hij(" ",I.lcZ(3,9,Ye.label)," "),I.xp6(2),I.Q6J("ngIf",Ye.children),I.xp6(1),I.Q6J("ngIf",mt.isActive(mt.currentUrl,Ye.showChildrenRegex))}}function M(Y,Le){if(1&Y&&(I.TgZ(0,"div"),I.YNc(1,de,6,14,"div",8),I.qZA()),2&Y){const Ye=I.oxw();I.Q6J("@rollInOut",void 0),I.xp6(1),I.Q6J("ngForOf",Ye.item.links)}}const S=function(Y,Le){return{background:Y,"border-top":Le}},P=function(Y){return{color:Y}},N=function(){return{color:"currentColor"}},ne=function(Y){return{background:Y}};let j=(()=>{class Y{constructor(Ye,mt){this.router=Ye,this.store=mt,this.expanded=!0,this.linkBgColor=this.store.get("theme","sidemenu_item_links_bg_color"),this.linkTextColor=this.store.get("theme","sidemenu_item_links_text_color"),this.dividerStyle="1px solid "+this.store.get("theme","sidemenu_divider_color"),this.currentUrl=Ye.url,Ye.events.subscribe(Ht=>{Ht instanceof f.m2&&(this.currentUrl=Ht.url)})}toggle(){void 0!==this.item.baseLink&&this.navigate(this.item.baseLink)}isActive(Ye,mt){return new RegExp(mt).test(Ye)}navigate(Ye){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(Ye)):this.router.navigate(Ye)}}return Y.\u0275fac=function(Ye){return new(Ye||Y)(I.Y36(f.F0),I.Y36(J.d6))},Y.\u0275cmp=I.Xpm({type:Y,selectors:[["app-side-menu-item"]],viewQuery:function(Ye,mt){if(1&Ye&&I.Gf(ze,5),2&Ye){let Ht;I.iGM(Ht=I.CRH())&&(mt.collapseDiv=Ht.first)}},inputs:{item:"item",index:"index",showLinks:"showLinks",sideNav:"sideNav"},decls:12,vars:26,consts:[[1,"entity-menu-item"],["matRipple","",1,"entity-menu-item-header",3,"matRippleColor","ngStyle","click"],["matRipple","",3,"perunWebAppsMiddleClickRouterLink"],[1,"entity-menu-item-label",3,"ngStyle"],[1,"perun-icon",3,"ngStyle","svgIcon"],[1,"ml-3"],[3,"ngStyle"],[4,"ngIf"],[4,"ngFor","ngForOf"],["matRipple","",1,"clickable","d-flex",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngClass","ngStyle","click"],["class","ml-auto",4,"ngIf"],["class","entity-menu-item-sub-menu",4,"ngIf"],[1,"ml-auto"],["class","perun-icon icon-beak",3,"ngStyle",4,"ngIf"],[1,"perun-icon","icon-beak",3,"ngStyle"],[1,"entity-menu-item-sub-menu"],["class","entity-menu-item-sub-menu-item clickable","matRipple","",3,"perunWebAppsMiddleClickRouterLink","activated","matRippleColor","ngClass","ngStyle","click",4,"ngFor","ngForOf"],["matRipple","",1,"entity-menu-item-sub-menu-item","clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngClass","ngStyle","click"]],template:function(Ye,mt){1&Ye&&(I.TgZ(0,"div",0),I.TgZ(1,"div",1),I.NdJ("click",function(){return mt.toggle()}),I.TgZ(2,"div",2),I.TgZ(3,"a",3),I.TgZ(4,"div"),I._UZ(5,"mat-icon",4),I.qZA(),I.TgZ(6,"div",5),I._uU(7),I.ALo(8,"translate"),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(9,"div"),I.TgZ(10,"div",6),I.YNc(11,M,2,2,"div",7),I.qZA(),I.qZA(),I.qZA()),2&Ye&&(I.xp6(1),I.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",I.WLB(18,S,mt.item.backgroundColorCss,mt.index?mt.dividerStyle:"none")),I.xp6(1),I.Gre("entity-menu-item-link ",mt.item.labelClass,""),I.Q6J("perunWebAppsMiddleClickRouterLink",mt.item.baseLink),I.xp6(1),I.Q6J("ngStyle",I.VKq(21,P,mt.item.textColorCss)),I.xp6(2),I.Q6J("ngStyle",I.DdM(23,N))("svgIcon",mt.item.icon),I.xp6(2),I.Oqu(I.lcZ(8,16,mt.item.label)),I.xp6(2),I.Q6J("@openClose",mt.expanded?"open":"closed"),I.xp6(1),I.Gre("side-entity-menu ",mt.item.linksClass,""),I.Q6J("ngStyle",I.VKq(24,ne,mt.linkBgColor)),I.xp6(1),I.Q6J("ngIf",mt.showLinks))},directives:[A.wG,e.PC,Ie.YH,x.Hw,e.O5,e.sg,e.mk],pipes:[Re.X$],styles:[".entity-menu-item[_ngcontent-%COMP%]{width:300px}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:var(--side-link-hover)!important}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:5px 8px 5px 40px;text-decoration:none;color:#fff;font-size:1rem;display:block}.activated[_ngcontent-%COMP%]{color:#313131!important;border-right:5px solid #313131}.entity-menu-item-header[_ngcontent-%COMP%]{padding:8px 5px 8px 25px;cursor:pointer;-moz-user-select:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent}.entity-menu-item-label[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;word-break:break-word}.entity-menu-item-label[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-link[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;color:#fff}.entity-menu-item-link[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-icon[_ngcontent-%COMP%]{height:2rem}.entity-menu-item-sub-menu[_ngcontent-%COMP%]{overflow:hidden}.entity-menu-item-sub-menu-item[_ngcontent-%COMP%]{padding-left:4rem!important}"],data:{animation:[Ce.BQ,Ce.Ly]}}),Y})(),Te=(()=>{class Y{transform(Ye){if(void 0===Ye.value)return"";switch(Ye.type){case"java.lang.String":default:return Ye.value;case"java.lang.Integer":case"java.lang.Boolean":return Ye.value.toString();case"java.util.ArrayList":return this.whenValueIsArray(Ye.value);case"java.util.LinkedHashMap":return this.whenValueIsMap(Ye.value)}}whenValueIsArray(Ye){let mt="";return Ye.forEach(function(Ht){mt=mt.concat(Ht+", ")}),mt}whenValueIsMap(Ye){let mt="";return Ye.forEach((Ht,qt)=>{mt=mt.concat(qt+": "+Ht+", ")}),mt}}return Y.\u0275fac=function(Ye){return new(Ye||Y)},Y.\u0275pipe=I.Yjl({name:"anyToString",type:Y,pure:!0}),Y})();const n=["collapse"],r=function(){return{color:"linkTextColor"}};function u(Y,Le){1&Y&&(I.TgZ(0,"mat-icon",12),I._uU(1,"keyboard_arrow_right"),I.qZA()),2&Y&&I.Q6J("ngStyle",I.DdM(1,r))}function o(Y,Le){1&Y&&(I.TgZ(0,"mat-icon",12),I._uU(1,"keyboard_arrow_down"),I.qZA()),2&Y&&I.Q6J("ngStyle",I.DdM(1,r))}function t(Y,Le){if(1&Y&&(I.TgZ(0,"span",10),I.YNc(1,u,2,2,"mat-icon",11),I.YNc(2,o,2,2,"mat-icon",11),I.qZA()),2&Y){const Ye=I.oxw().$implicit,mt=I.oxw();I.xp6(1),I.Q6J("ngIf",!mt.isActive(mt.currentUrl,Ye.showChildrenRegex)),I.xp6(1),I.Q6J("ngIf",mt.isActive(mt.currentUrl,Ye.showChildrenRegex))}}const i=function(Y,Le){return{color:Y,"border-color":Le}};function c(Y,Le){if(1&Y){const Ye=I.EpF();I.TgZ(0,"a",14),I.NdJ("click",function(){const qt=I.CHM(Ye).$implicit;return I.oxw(3).navigate(qt.url)}),I._uU(1),I.ALo(2,"translate"),I.qZA()}if(2&Y){const Ye=Le.$implicit,mt=I.oxw(3);I.ekj("activated",mt.isActive(mt.currentUrl,Ye.activatedRegex)&&void 0===mt.item.activatedClass),I.Q6J("perunWebAppsMiddleClickRouterLink",Ye.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",I.WLB(9,i,mt.linkTextColor,mt.linkTextColor))("ngClass",mt.isActive(mt.currentUrl,Ye.activatedRegex)&&void 0!==mt.item.activatedClass?mt.item.activatedClass:""),I.xp6(1),I.hij(" ",I.lcZ(2,7,Ye.label)," ")}}function p(Y,Le){if(1&Y&&(I.TgZ(0,"div"),I.YNc(1,c,3,12,"a",13),I.qZA()),2&Y){const Ye=I.oxw().$implicit;I.Q6J("@rollInOut",void 0),I.xp6(1),I.Q6J("ngForOf",null==Ye?null:Ye.children)}}function T(Y,Le){if(1&Y){const Ye=I.EpF();I.TgZ(0,"div"),I.TgZ(1,"a",7),I.NdJ("click",function(){const qt=I.CHM(Ye).$implicit;return I.oxw().navigate(qt.url)}),I._uU(2),I.ALo(3,"translate"),I.YNc(4,t,3,2,"span",8),I.qZA(),I.YNc(5,p,2,2,"div",9),I.qZA()}if(2&Y){const Ye=Le.$implicit,mt=I.oxw();I.xp6(1),I.ekj("activated",mt.isActive(mt.currentUrl,Ye.activatedRegex)&&void 0===mt.item.activatedClass),I.Q6J("perunWebAppsMiddleClickRouterLink",Ye.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",I.WLB(11,i,mt.linkTextColor,mt.linkTextColor))("ngClass",mt.isActive(mt.currentUrl,Ye.activatedRegex)&&void 0!==mt.item.activatedClass?mt.item.activatedClass:""),I.xp6(1),I.hij(" ",I.lcZ(3,9,Ye.label)," "),I.xp6(2),I.Q6J("ngIf",Ye.children),I.xp6(1),I.Q6J("ngIf",mt.isActive(mt.currentUrl,Ye.showChildrenRegex))}}const Se=function(Y){return{background:Y}},je=function(Y){return{color:Y}},Et=function(){return{color:"currentColor"}};let St=(()=>{class Y{constructor(Ye,mt){this.router=Ye,this.store=mt,this.id="",this.expanded=!1,this.linkBgColor=this.store.get("theme","sidemenu_item_links_bg_color"),this.linkTextColor=this.store.get("theme","sidemenu_item_links_text_color"),this.currentUrl=Ye.url,Ye.events.subscribe(Ht=>{Ht instanceof f.m2&&(this.currentUrl=Ht.url)})}ngOnInit(){this.expanded=this.showOpen}ngOnChanges(){this.expanded=this.showOpen}toggle(){void 0!==this.item.baseLink?this.navigate(this.item.baseLink):this.expanded=!this.expanded}isActive(Ye,mt){return new RegExp(mt).test(Ye)}getBgClass(){return this.item.baseColorClass?this.isActive(this.currentUrl,this.item.baseColorClassRegex)?this.item.colorClass:this.item.baseColorClass:this.item.colorClass}navigate(Ye){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(Ye)):this.router.navigate(Ye)}}return Y.\u0275fac=function(Ye){return new(Ye||Y)(I.Y36(f.F0),I.Y36(J.d6))},Y.\u0275cmp=I.Xpm({type:Y,selectors:[["app-side-menu-root-item"]],viewQuery:function(Ye,mt){if(1&Ye&&I.Gf(n,5),2&Ye){let Ht;I.iGM(Ht=I.CRH())&&(mt.collapseDiv=Ht.first)}},inputs:{item:"item",index:"index",showOpen:"showOpen",id:"id",sideNav:"sideNav"},features:[I.TTD],decls:12,vars:28,consts:[[1,"entity-menu-item",3,"id"],["matRipple","",1,"entity-menu-item-header",3,"matRippleColor","ngStyle","perunWebAppsMiddleClickRouterLink","click"],[1,"entity-menu-item-label",3,"ngStyle"],[1,"perun-icon",3,"ngStyle","svgIcon"],[1,"ml-3"],[3,"ngStyle"],[4,"ngFor","ngForOf"],["matRipple","",1,"clickable","d-flex",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"],["class","ml-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto"],["class","perun-icon icon-beak",3,"ngStyle",4,"ngIf"],[1,"perun-icon","icon-beak",3,"ngStyle"],["matRipple","","class","pl-5 clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","activated","ngClass","click",4,"ngFor","ngForOf"],["matRipple","",1,"pl-5","clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"]],template:function(Ye,mt){1&Ye&&(I.TgZ(0,"div",0),I.TgZ(1,"div",1),I.NdJ("click",function(){return mt.toggle()}),I.TgZ(2,"div"),I.TgZ(3,"a",2),I.TgZ(4,"div"),I._UZ(5,"mat-icon",3),I.qZA(),I.TgZ(6,"div",4),I._uU(7),I.ALo(8,"translate"),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(9,"div"),I.TgZ(10,"div",5),I.YNc(11,T,6,14,"div",6),I.qZA(),I.qZA(),I.qZA()),2&Ye&&(I.s9C("id",mt.id),I.xp6(1),I.ekj("root-header-activated",mt.isActive(mt.currentUrl,mt.item.baseColorClassRegex)),I.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",I.VKq(21,Se,mt.item.backgroundColorCss))("perunWebAppsMiddleClickRouterLink",mt.item.baseLink),I.xp6(1),I.Gre("entity-menu-item-link ",mt.item.labelClass,""),I.xp6(1),I.Q6J("ngStyle",I.VKq(23,je,mt.item.textColorCss)),I.xp6(2),I.Q6J("ngStyle",I.DdM(25,Et))("svgIcon",mt.item.icon),I.xp6(2),I.Oqu(I.lcZ(8,19,mt.item.label)),I.xp6(2),I.Q6J("@openClose",mt.expanded?"open":"closed"),I.xp6(1),I.Gre("side-entity-menu ",mt.item.linksClass,""),I.Q6J("ngStyle",I.VKq(26,Se,mt.linkBgColor)),I.xp6(1),I.Q6J("ngForOf",mt.item.links))},directives:[A.wG,e.PC,Ie.YH,x.Hw,e.sg,e.mk,e.O5],pipes:[Re.X$],styles:[".entity-menu-item[_ngcontent-%COMP%]{width:300px}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:5px 8px 5px 32px;text-decoration:none;font-size:1rem;color:#fff;display:block}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:var(--side-link-hover)!important}.root-header-activated[_ngcontent-%COMP%]{background:var(--side-root-item-active)!important}.entity-menu-item-header[_ngcontent-%COMP%]{padding:.5rem .5rem .5rem 1rem;cursor:pointer;-moz-user-select:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent}.entity-menu-item-header[_ngcontent-%COMP%]:hover{background:var(--side-root-item-hover)!important}.entity-menu-item-label[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;color:#fff}.entity-menu-item-label[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-link[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;color:#fff}.entity-menu-item-link[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-icon[_ngcontent-%COMP%]{height:2rem}"],data:{animation:[Ce.BQ,Ce.Ly]}}),Y})();var Ft=d(44409),It=d(53435),Vt=d(63189),Mt=d(37677),at=d(80255),Ut=d(11243),gt=d(19516),xt=d(43586),Ve=d(14623),$e=d(9244),oe=d(28499),H=d(70844);let ee=(()=>{class Y{constructor(Ye){this.translate=Ye,Ye.addLangs(["en","cs"])}}return Y.\u0275fac=function(Ye){return new(Ye||Y)(I.LFG(Re.sK))},Y.\u0275mod=I.oAB({type:Y}),Y.\u0275inj=I.cJS({providers:[Te,Mt.A,H.u],imports:[[e.ez,f.Bz,g.Bb,k.c,h.lN,be.UX,be.u5,x.Ps,ce.SJ,E.To,Re.aw.forChild({}),v.ot,V.JX,F.p0,W.Nh,ae.dp,v.ot,m.p9,b.Is,Ne.LD,se.ZX,he.Cq,X.Cv,te.AV,Pe.rP,s.FA,A.XK,re.Fk,R.t,A.si,G.TU,pe.QW,De.T5,Ft._t,pe.QW,Fe.Hi,ke.Tx,It.Cl,Vt.r,Be.g,at.ez,Ut.r,gt.d4,xt.Co,Ve.ie,$e.Je,oe.E3],xt.Co,g.Bb,k.c,f.Bz,be.UX,be.u5,x.Ps,ce.SJ,Re.aw,V.JX,F.p0,W.Nh,ae.dp,v.ot,m.p9,b.Is,Ne.LD,se.ZX,he.Cq,X.Cv,te.AV,Pe.rP,s.FA,A.XK,re.Fk,R.t,pe.QW,De.T5,A.si,G.TU,Ft._t,Fe.Hi,Fe.Hi,E.To,ke.Tx,It.Cl,It.Cl,It.Cl,Ut.r]}),Y})();I.B6R(z.V,[St,e.sg,j,e.O5],[])},69024:(Ze,ge,d)=>{"use strict";d.d(ge,{V:()=>b});var e=d(36908),f=d(112),g=d(9244),v=d(19516),m=d(64080),A=d(5e3),s=d(51062);let b=(()=>{class R{constructor(h,x,k,G,X,he,re){this.translate=h,this.authResolver=x,this.store=k,this.apiRequest=G,this.attributesManager=X,this.notificator=he,this.guiAuthResolver=re,this.baseItemColor=this.store.get("theme","sidemenu_bg_color"),this.voBgColor=this.store.get("theme","sidemenu_vo_bg_color"),this.memberBgColor=this.store.get("theme","sidemenu_member_bg_color"),this.groupBgColor=this.store.get("theme","sidemenu_group_bg_color"),this.facilityBgColor=this.store.get("theme","sidemenu_facility_bg_color"),this.resourceBgColor=this.store.get("theme","sidemenu_resource_bg_color"),this.userBgColor=this.store.get("theme","sidemenu_user_bg_color"),this.serviceBgColor=this.store.get("theme","sidemenu_service_bg_color"),this.baseItemTextColor=this.store.get("theme","sidemenu_text_color"),this.voTextColor=this.store.get("theme","sidemenu_vo_text_color"),this.memberTextColor=this.store.get("theme","sidemenu_member_text_color"),this.groupTextColor=this.store.get("theme","sidemenu_group_text_color"),this.facilityTextColor=this.store.get("theme","sidemenu_facility_text_color"),this.resourceTextColor=this.store.get("theme","sidemenu_resource_text_color"),this.userTextColor=this.store.get("theme","sidemenu_user_text_color"),this.serviceTextColor=this.store.get("theme","sidemenu_service_text_color")}getFacilitiesManagementItem(){return{label:"MAIN_MENU.FACILITIES",colorClass:"base-item-color-activated",icon:"perun-facility-white",baseLink:["/facilities"],links:[],baseColorClass:"base-item-color",baseColorClassRegex:"^/facilities$",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor}}getAccessManagementItem(){return{label:"MAIN_MENU.ACCESS",colorClass:"base-item-color-activated",icon:"perun-vo",links:[],baseLink:["/organizations"],baseColorClass:"base-item-color",baseColorClassRegex:"^/organizations$",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor}}getHomeItem(){return{baseLink:["/home"],label:"MAIN_MENU.HOME",colorClass:"base-item-color-activated",icon:"perun-home-white",baseColorClass:"base-item-color",baseColorClassRegex:"^/home$",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor,links:[]}}getUserItem(){return{baseLink:["/myProfile"],expandable:!1,label:"MAIN_MENU.MY_PROFILE",colorClass:"base-item-color-activated",icon:"perun-user",baseColorClass:"base-item-color",baseColorClassRegex:"^/dont-use$",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor,links:[{label:"MENU_ITEMS.USER.OVERVIEW",url:["/myProfile"],activatedRegex:"^/myProfile$"},{label:"MENU_ITEMS.USER.ORGANIZATIONS",url:["/myProfile/organizations"],activatedRegex:"^/myProfile/organizations$"},{label:"MENU_ITEMS.USER.GROUPS",url:["/myProfile/groups"],activatedRegex:"^/myProfile/groups$"},{label:"MENU_ITEMS.USER.ATTRIBUTES",url:["/myProfile/attributes"],activatedRegex:"^/myProfile/attributes$"},{label:"MENU_ITEMS.USER.ROLES",url:["/myProfile/roles"],activatedRegex:"/myProfile/roles"},{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:["/myProfile/service-identities"],activatedRegex:"^/myProfile/service-identities"},{label:"MENU_ITEMS.USER.SETTINGS",url:["/myProfile/settings"],activatedRegex:"^/myProfile/settings$",children:[{label:"MENU_ITEMS.USER.PASSWORD_RESET",url:["/myProfile/settings/passwordReset"],activatedRegex:"^/myProfile/settings/passwordReset"},{label:"MENU_ITEMS.USER.GUI_CONFIG",url:["/myProfile/settings/guiConfig"],activatedRegex:"/myProfile/settings/guiConfig"}],showChildrenRegex:"/myProfile/settings"}]}}getAdminItem(){return{baseLink:["/admin"],expandable:!1,label:"MAIN_MENU.ADMIN",colorClass:"base-item-color-activated",icon:"perun-perun-admin",baseColorClass:"base-item-color",baseColorClassRegex:"^/dont-use$",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor,links:[{label:"MENU_ITEMS.ADMIN.OVERVIEW",url:["/admin"],activatedRegex:"^/admin$"},{label:"MENU_ITEMS.ADMIN.ATTRIBUTES",url:["/admin/attributes"],activatedRegex:"^/admin/attributes$"},{label:"MENU_ITEMS.ADMIN.USERS",url:["/admin/users"],activatedRegex:"^/admin/users$"},{label:"MENU_ITEMS.ADMIN.OWNERS",url:["/admin/owners"],activatedRegex:"^/admin/owners$"},{label:"MENU_ITEMS.ADMIN.SERVICES",url:["/admin/services"],activatedRegex:"^/admin/services$"},{label:"MENU_ITEMS.ADMIN.VISUALIZER",url:["/admin/visualizer"],activatedRegex:"^/admin/visualizer$",children:[{label:"MENU_ITEMS.VISUALIZER.ATTR_DEPENDENCIES",url:["/admin/visualizer/attrDependencies"],activatedRegex:"^/admin/visualizer/attrDependencies"},{label:this.translate.instant("MENU_ITEMS.VISUALIZER.USER_DESTINATION"),url:["/admin/visualizer/userDestinationRelationship"],activatedRegex:"^/admin/visualizer/userDestinationRelationship"}],showChildrenRegex:"/admin/visualizer"},{label:"MENU_ITEMS.ADMIN.EXT_SOURCES",url:["/admin/ext_sources"],activatedRegex:"^/admin/ext_sources$"},{label:"MENU_ITEMS.ADMIN.AUDIT_LOG",url:["/admin/audit_log"],activatedRegex:"^/admin/audit_log$"},{label:"MENU_ITEMS.ADMIN.CONSENT_HUBS",url:["/admin/consent_hubs"],activatedRegex:"^/admin/consent_hubs$"}]}}parseFacility(h){return{label:h.name,baseLink:[`/facilities/${h.id}`],backgroundColorCss:this.facilityBgColor,textColorCss:this.facilityTextColor,links:this.getFacilityLinks(h),colorClass:"facility-item",icon:"perun-facility-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseResource(h,x){const k=(new v.r5).transform(h,x);return{label:h.name,baseLink:[k],backgroundColorCss:this.resourceBgColor,textColorCss:this.resourceTextColor,links:this.getResourceLinks(k,x?"/organizations":"/facilities",h),colorClass:"resource-item",icon:"perun-resource-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}getResourceLinks(h,x,k){const G=[{label:"MENU_ITEMS.RESOURCE.OVERVIEW",url:[h],activatedRegex:`${x}/\\d+/resources/\\d+$`}];return this.authResolver.isAuthorized("getAssignedGroups_Resource_policy",[k])&&G.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",url:[h,"groups"],activatedRegex:`${x}/\\d+/resources/\\d+/groups$`}),this.authResolver.isAuthorized("getAssignedServices_Resource_policy",[k])&&G.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",url:[h,"services"],activatedRegex:`${x}/\\d+/resources/\\d+/services$`}),this.authResolver.isAuthorized("getAssignedMembers_Resource_policy",[k])&&G.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",url:[h,"members"],activatedRegex:`${x}/\\d+/resources/\\d+/members$`}),this.authResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[k])&&G.push({label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",url:[h,"tags"],activatedRegex:`${x}/\\d+/resources/\\d+/tags$`}),G.push({label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",url:[h,"attributes"],activatedRegex:`${x}/\\d+/resources/\\d+/attributes$`}),this.authResolver.isManagerPagePrivileged(k)&&G.push({label:"MENU_ITEMS.RESOURCE.SETTINGS",url:[h,"settings"],activatedRegex:`${x}/\\d+/resources/\\d+/settings$`,children:[{label:"MENU_ITEMS.RESOURCE.MANAGERS",url:[h,"settings","managers"],activatedRegex:`${x}/\\d+/resources/\\d+/settings/managers$`}],showChildrenRegex:`${x}/\\d+/resources/\\d+/settings`}),G}parseGroup(h){return{label:h.name,baseLink:[`/organizations/${h.voId}/groups/${h.id}`],backgroundColorCss:this.groupBgColor,textColorCss:this.groupTextColor,links:this.getGroupLinks(h),colorClass:"group-item",icon:"perun-group",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseVo(h){return{label:h.name,baseLink:[`/organizations/${h.id}`],links:this.getVoLinks(h),colorClass:"vo-item",icon:"perun-vo",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.voBgColor,textColorCss:this.voTextColor}}parseMember(h,x){return{label:(0,g.bD)(h.user),baseLink:[`/organizations/${h.voId}/members/${h.id}`],backgroundColorCss:this.memberBgColor,textColorCss:this.memberTextColor,links:this.getMemberLinks(h,x),colorClass:"member-item",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseUser(h,x,k){return{label:(0,g.bD)(h),baseLink:[x],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:this.getUserLinks(h,x,k),colorClass:"user-bg-color",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseServiceIdentity(h){return{label:(0,g.bD)(h),baseLink:[`/myProfile/service-identities/${h.id}`],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:[{label:"MENU_ITEMS.USER.OVERVIEW",url:[`/myProfile/service-identities/${h.id}`],activatedRegex:"/myProfile/service-identities/\\d+$"},{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:[`/myProfile/service-identities/${h.id}/associated-users`],activatedRegex:"/myProfile/service-identities/\\d+/associated-users"}],colorClass:"user-bg-color",icon:"perun-service-identity",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseService(h){return{label:h.name,baseLink:[`/admin/services/${h.id}`],backgroundColorCss:this.serviceBgColor,textColorCss:this.serviceTextColor,links:[{label:"MENU_ITEMS.SERVICE.OVERVIEW",url:[`/admin/services/${h.id}`],activatedRegex:"/admin/services/\\d+$"},{label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",url:[`/admin/services/${h.id}/required-attributes`],activatedRegex:"/admin/services/\\d+/required-attributes"},{label:"MENU_ITEMS.SERVICE.DESTINATIONS",url:[`/admin/services/${h.id}/destinations`],activatedRegex:"/admin/services/\\d+/destinations"}],colorClass:"service-item",icon:"perun-service",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}getVoLinks(h){const x=[];if(x.push({label:"MENU_ITEMS.VO.OVERVIEW",url:[`/organizations/${h.id}`],activatedRegex:"/organizations/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[h])&&x.push({label:"MENU_ITEMS.VO.MEMBERS",url:[`/organizations/${h.id}/members`],activatedRegex:"/organizations/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[h])&&x.push({label:"MENU_ITEMS.VO.GROUPS",url:[`/organizations/${h.id}/groups`],activatedRegex:"/organizations/\\d+/groups$"}),this.authResolver.isAuthorized("getRichResources_Vo_policy",[h])){const he=[{label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",url:[`/organizations/${h.id}/resources/preview`],activatedRegex:"/organizations/\\d+/resources/preview$"}];this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[h])&&he.push({label:"MENU_ITEMS.VO.RESOURCE_TAGS",url:[`/organizations/${h.id}/resources/tags`],activatedRegex:"/organizations/\\d+/resources/tags$"}),this.authResolver.isAuthorized("getResourcesState_Vo_policy",[h])&&he.push({label:"MENU_ITEMS.VO.RESOURCE_STATES",url:[`/organizations/${h.id}/resources/states`],activatedRegex:"/organizations/\\d+/resources/states$"}),x.push({label:"MENU_ITEMS.VO.RESOURCES",url:[`/organizations/${h.id}/resources`],activatedRegex:"/organizations/\\d+/resources$",children:he,showChildrenRegex:"/organizations/\\d+/resources"})}this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[h])&&x.push({label:"MENU_ITEMS.VO.APPLICATIONS",url:[`/organizations/${h.id}/applications`],activatedRegex:"/organizations/\\d+/applications"}),this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[h])&&x.push({label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",url:[`/organizations/${h.id}/sponsoredMembers`],activatedRegex:"/organizations/\\d+/sponsoredMembers$"}),this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[h])&&x.push({label:"MENU_ITEMS.VO.SERVICE_MEMBERS",url:[`/organizations/${h.id}/serviceAccounts`],activatedRegex:"/organizations/\\d+/serviceAccounts$"}),x.push({label:"MENU_ITEMS.VO.ATTRIBUTES",url:[`/organizations/${h.id}/attributes`],activatedRegex:"/organizations/\\d+/attributes$"}),this.guiAuthResolver.isAuthorized("getMembersCount_Vo_Status_policy",[h])&&this.guiAuthResolver.isAuthorized("getMembersCount_Vo_policy",[h])&&x.push({label:"MENU_ITEMS.VO.STATISTICS",url:[`/organizations/${h.id}/statistics`],activatedRegex:"/organizations/\\d+/statistics"});const k=this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[h]),G=this.authResolver.isManagerPagePrivileged(h),X=this.authResolver.isThisVoAdminOrObserver(h.id);if(G||k||X){const he=[];X&&he.push({label:"MENU_ITEMS.VO.EXPIRATION",url:[`/organizations/${h.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/settings/expiration$"}),G&&he.push({label:"MENU_ITEMS.VO.MANAGERS",url:[`/organizations/${h.id}/settings/managers`],activatedRegex:"/organizations/\\d+/settings/managers$"}),X&&he.push({label:"MENU_ITEMS.VO.APPLICATION_FORM",url:[`/organizations/${h.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/settings/applicationForm$"}),X&&he.push({label:"MENU_ITEMS.VO.NOTIFICATIONS",url:[`/organizations/${h.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/settings/notifications$"}),k&&he.push({label:"MENU_ITEMS.VO.EXTSOURCES",url:[`/organizations/${h.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/settings/extsources$"}),x.push({label:"MENU_ITEMS.VO.SETTINGS",url:[`/organizations/${h.id}/settings`],activatedRegex:"/organizations/\\d+/settings$",children:he,showChildrenRegex:"/organizations/\\d+/settings"})}return x}getUserLinks(h,x,k){const G=[];return G.push({label:"MENU_ITEMS.USER.OVERVIEW",url:[x],activatedRegex:`${k}$`}),G.push({label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",url:[`${x}/organizations`],activatedRegex:`${k}/organizations`}),G.push({label:"MENU_ITEMS.ADMIN.GROUPS",url:[`${x}/groups`],activatedRegex:`${k}/groups`}),G.push({label:"MENU_ITEMS.USER.ACCOUNTS",url:[`${x}/accounts`],activatedRegex:`${k}/accounts`}),G.push({label:"MENU_ITEMS.USER.IDENTITIES",url:[`${x}/identities`],activatedRegex:`${k}/identities`}),G.push({label:"MENU_ITEMS.USER.FACILITIES",url:[`${x}/facilities`],activatedRegex:`${k}/facilities`}),G.push({label:"MENU_ITEMS.USER.RESOURCES",url:[`${x}/resources`],activatedRegex:`${k}/resources`}),G.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`${x}/attributes`],activatedRegex:`${k}/attributes`}),G.push({label:"MENU_ITEMS.USER.ROLES",url:[`${x}/roles`],activatedRegex:`^${x}/roles`}),G.push(h.serviceUser?{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:[`${x}/associated-users`],activatedRegex:`^${x}/associated-users`}:{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:[`${x}/service-identities`],activatedRegex:`^${x}/service-identities`}),G}getMemberLinks(h,x){const k=[{label:"MENU_ITEMS.MEMBER.OVERVIEW",url:[`/organizations/${h.voId}/members/${h.id}`],activatedRegex:"/organizations/\\d+/members/\\d+$"}];return this.authResolver.isAuthorized("getMemberGroups_Member_policy",[x])&&k.push({label:"MENU_ITEMS.MEMBER.GROUPS",url:[`//organizations/${h.voId}/members/${h.id}/groups`],activatedRegex:"/organizations/\\d+/members/\\d+/groups"}),this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[x])&&k.push({label:"MENU_ITEMS.MEMBER.APPLICATIONS",url:[`//organizations/${h.voId}/members/${h.id}/applications`],activatedRegex:"/organizations/\\d+/members/\\d+/applications"}),this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[x])&&k.push({label:"MENU_ITEMS.MEMBER.RESOURCES",url:[`/organizations/${h.voId}/members/${h.id}/resources`],activatedRegex:"/organizations/\\d+/members/\\d+/resources"}),k.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`/organizations/${h.voId}/members/${h.id}/attributes`],activatedRegex:"/organizations/\\d+/members/\\d+/attributes$"}),k}getFacilityLinks(h){const x=[{label:"MENU_ITEMS.FACILITY.OVERVIEW",url:[`/facilities/${h.id}`],activatedRegex:"/facilities/\\d+$"}];this.authResolver.isAuthorized("getAssignedRichResources_Facility_policy",[h])&&x.push({label:"MENU_ITEMS.FACILITY.RESOURCES",url:[`/facilities/${h.id}/resources`],activatedRegex:"/facilities/\\d+/resources$"}),this.authResolver.isAuthorized("getAssignedUsers_Facility_Service_policy",[h])&&x.push({label:"MENU_ITEMS.FACILITY.ALLOWED_USERS",url:[`/facilities/${h.id}/allowed-users`],activatedRegex:"/facilities/\\d+/allowed-users"}),this.authResolver.isAuthorized("getAllowedGroups_Facility_Vo_Service_policy",[h])&&x.push({label:"MENU_ITEMS.FACILITY.ALLOWED_GROUPS",url:[`/facilities/${h.id}/allowed-groups`],activatedRegex:"/facilities/\\d+/allowed-groups"}),this.authResolver.isAuthorized("getFacilityServicesState_Facility_policy",[h])&&x.push({label:"MENU_ITEMS.FACILITY.SERVICES_STATUS",url:[`/facilities/${h.id}/services-status`],activatedRegex:"/facilities/\\d+/services-status"}),this.authResolver.isAuthorized("getAllRichDestinations_Facility_policy",[h])&&x.push({label:"MENU_ITEMS.FACILITY.SERVICES_DESTINATIONS",url:[`/facilities/${h.id}/services-destinations`],activatedRegex:"facilities/\\d+/services-destinations"}),this.authResolver.isFacilityAdmin()&&x.push({label:"MENU_ITEMS.FACILITY.HOSTS",url:[`/facilities/${h.id}/hosts`],activatedRegex:"facilities/\\d+/hosts"}),x.push({label:"MENU_ITEMS.FACILITY.ATTRIBUTES",url:["/facilities",h.id,"attributes"],activatedRegex:"/facilities/\\d+/attributes$"});const k=this.authResolver.isAuthorized("getBansForFacility_int_policy",[h]),G=this.authResolver.isAuthorized("getRichAdmins_Facility_List_boolean_boolean_policy",[h]),X=this.authResolver.isAuthorized("getOwners_Facility_policy",[h]),he=this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[h]);if(k||G||X||he){const re=[];X&&re.push({label:"MENU_ITEMS.FACILITY.OWNERS",url:["/facilities",h.id,"settings","owners"],activatedRegex:"/facilities/\\d+/settings/owners$"}),G&&re.push({label:"MENU_ITEMS.FACILITY.MANAGERS",url:["/facilities",h.id,"settings","managers"],activatedRegex:"/facilities/\\d+/settings/managers$"}),he&&re.push({label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",url:[`/facilities/${h.id}/settings/security-teams`],activatedRegex:"facilities/\\d+/settings/security-teams"}),k&&re.push({label:"MENU_ITEMS.FACILITY.BLACKLIST",url:["facilities",h.id,"settings","blacklist"],activatedRegex:"/facilities/\\d+/settings/blacklist"}),x.push({label:"MENU_ITEMS.FACILITY.SETTINGS",url:["/facilities",h.id,"settings"],activatedRegex:"/facilities/\\d+/settings$",children:re,showChildrenRegex:"/facilities/\\d+/settings"})}return x}getGroupLinks(h){const x=[],k=[];x.push({label:"MENU_ITEMS.GROUP.OVERVIEW",url:[`/organizations/${h.voId}/groups/${h.id}`],activatedRegex:"/organizations/\\d+/groups/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Group_List_boolean_policy",[h])&&x.push({label:"MENU_ITEMS.GROUP.MEMBERS",url:[`/organizations/${h.voId}/groups/${h.id}/members`],activatedRegex:"/organizations/\\d+/groups/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[h])&&"members"!==h.name&&x.push({label:"MENU_ITEMS.GROUP.SUBGROUPS",url:[`/organizations/${h.voId}/groups/${h.id}/subgroups`],activatedRegex:"/organizations/\\d+/groups/\\d+/subgroups$"}),this.authResolver.isAuthorized("getAssignedRichResources_Group_policy",[h])&&x.push({label:"MENU_ITEMS.GROUP.RESOURCES",url:[`/organizations/${h.voId}/groups/${h.id}/resources`],activatedRegex:"/organizations/\\d+/groups/\\d+/resources$"}),this.authResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[h])&&x.push({label:"MENU_ITEMS.GROUP.APPLICATIONS",url:[`/organizations/${h.voId}/groups/${h.id}/applications`],activatedRegex:"/organizations/\\d+/groups/\\d+/applications$"}),x.push({label:"MENU_ITEMS.GROUP.ATTRIBUTES",url:[`/organizations/${h.voId}/groups/${h.id}/attributes`],activatedRegex:"/organizations/\\d+/groups/\\d+/attributes$"});const G=this.guiAuthResolver.isAuthorized("getGroupMembersCount_Group_policy",[h]),X=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[h]),he=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[h]);return G&&X&&he&&x.push({label:"MENU_ITEMS.GROUP.STATISTICS",url:[`/organizations/${h.voId}/groups/${h.id}/statistics`],activatedRegex:"/organizations/\\d+/groups/\\d+/statistics"}),this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(h.id,m.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{k.push({label:"MENU_ITEMS.GROUP.EXPIRATION",url:[`/organizations/${h.voId}/groups/${h.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/expiration$"})},re=>{"HttpErrorResponse"!==re.name&&this.notificator.showRPCError(re)}),this.authResolver.isManagerPagePrivileged(h)&&k.push({label:"MENU_ITEMS.GROUP.MANAGERS",url:[`/organizations/${h.voId}/groups/${h.id}/settings/managers`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/managers$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[h])&&k.push({label:"MENU_ITEMS.GROUP.APPLICATION_FORM",url:[`/organizations/${h.voId}/groups/${h.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/applicationForm$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[h])&&k.push({label:"MENU_ITEMS.GROUP.NOTIFICATIONS",url:[`/organizations/${h.voId}/groups/${h.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/notifications$"}),this.authResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[h])&&k.push({label:"MENU_ITEMS.GROUP.RELATIONS",url:[`/organizations/${h.voId}/groups/${h.id}/settings/relations`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/relations$"}),this.authResolver.isAuthorized("getGroupExtSources_Group_policy",[h])&&k.push({label:"MENU_ITEMS.GROUP.EXTSOURCES",url:[`/organizations/${h.voId}/groups/${h.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/extsources$"}),0!==k.length&&x.push({label:"MENU_ITEMS.GROUP.SETTINGS",url:[`/organizations/${h.voId}/groups/${h.id}/settings`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings$",children:k,showChildrenRegex:"/organizations/\\d+/groups/\\d+/settings"}),x}}return R.\u0275fac=function(h){return new(h||R)(A.LFG(s.sK),A.LFG(e.x4),A.LFG(e.d6),A.LFG(e.F5),A.LFG(f.H8),A.LFG(e.V6),A.LFG(e.x4))},R.\u0275prov=A.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})()},73228:(Ze,ge,d)=>{"use strict";d.d(ge,{V:()=>he});var e=d(72077),f=d(69024),g=d(36908),v=d(36769),m=d(5e3),A=d(77968);function s(re,Ne){if(1&re&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",10),m.qZA()),2&re){const ce=Ne.$implicit,Pe=Ne.index,se=m.oxw();m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",se.sideNav)("item",ce)("index",Pe)}}function b(re,Ne){if(1&re&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&re){const ce=Ne.$implicit,Pe=Ne.index,se=m.oxw();m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",se.sideNav)("item",ce)("index",Pe)("showLinks",Pe===se.accessItems.length-1)}}function R(re,Ne){if(1&re&&m._UZ(0,"app-side-menu-root-item",2),2&re){const ce=m.oxw();m.Q6J("id","facilities-item-btn")("sideNav",ce.sideNav)("item",ce.facilityItem)}}function E(re,Ne){if(1&re&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&re){const ce=Ne.$implicit,Pe=Ne.index,se=m.oxw(2);m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",se.sideNav)("item",ce)("index",Pe)("showLinks",Pe===se.facilityItems.length-1)}}function h(re,Ne){if(1&re&&(m.TgZ(0,"div"),m.YNc(1,E,2,5,"div",3),m.qZA()),2&re){const ce=m.oxw();m.xp6(1),m.Q6J("ngForOf",ce.facilityItems)}}function x(re,Ne){if(1&re&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&re){const ce=Ne.$implicit,Pe=Ne.index,se=m.oxw();m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",se.sideNav)("item",ce)("index",Pe)("showLinks",Pe===se.userItems.length-1)}}function k(re,Ne){if(1&re&&m._UZ(0,"app-side-menu-root-item",7),2&re){const ce=m.oxw();m.Q6J("id","admin-item-btn")("sideNav",ce.sideNav)("showOpen",ce.adminItemOpened)("item",ce.adminItem)}}function G(re,Ne){if(1&re&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&re){const ce=Ne.$implicit,Pe=Ne.index,se=m.oxw(2);m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",se.sideNav)("item",ce)("index",Pe)("showLinks",!0)}}function X(re,Ne){if(1&re&&(m.TgZ(0,"div"),m.YNc(1,G,2,5,"div",3),m.qZA()),2&re){const ce=m.oxw();m.xp6(1),m.Q6J("ngForOf",ce.adminItems)}}let he=(()=>{class re{constructor(ce,Pe,se){this.sideMenuService=ce,this.sideMenuItemService=Pe,this.authResolver=se,this.accessItems=[],this.facilityItems=[],this.adminItems=[],this.homeItems=[],this.userItems=[],this.accessItem=this.sideMenuItemService.getAccessManagementItem(),this.adminItem=this.sideMenuItemService.getAdminItem(),this.facilityItem=this.sideMenuItemService.getFacilitiesManagementItem(),this.homeItem=this.sideMenuItemService.getHomeItem(),this.userItem=this.sideMenuItemService.getUserItem(),this.mobileView=!0,this.adminItemOpened=!1,this.userItemOpened=!1}ngOnInit(){this.mobileView=window.innerWidth<=e.y.minWidth,this.mobileView?this.sideNav.close():this.sideNav.open(),this.sideMenuService.facilityItemsChange.subscribe(ce=>{this.setFacilityItems(ce)}),this.sideMenuService.accessItemsChange.subscribe(ce=>{this.setAccessItems(ce)}),this.sideMenuService.adminItemsChange.subscribe(ce=>{this.setAdminItems(ce)}),this.sideMenuService.userItemsChange.subscribe(ce=>{this.setUserItems(ce)}),this.sideMenuService.homeItemsChange.subscribe(ce=>{this.setHomeItems(ce)}),this.sideMenuService.resetChange.subscribe(()=>{this.reset()})}reset(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptHome(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptFacility(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.userItems,[])}resetExceptAccess(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptAdmin(){this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptUser(){this.adminItemOpened=!1,this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.adminItems,[])}setHomeItems(ce){this.resetExceptHome(),this.setNewItems(this.homeItems,ce)}setFacilityItems(ce){this.resetExceptFacility(),this.setNewItems(this.facilityItems,ce)}setAccessItems(ce){this.resetExceptAccess(),this.setNewItems(this.accessItems,ce)}setUserItems(ce){this.userItemOpened=0===ce.length,this.resetExceptUser(),this.setNewItems(this.userItems,ce)}setAdminItems(ce){this.adminItemOpened=0===ce.length,this.resetExceptAdmin(),this.setNewItems(this.adminItems,ce)}setNewItems(ce,Pe){const se=ce.length>Pe.length?ce.length:Pe.length;for(let V=0;Vce.length-1)ce.push(Pe[V]);else{if(V>Pe.length-1){const F=ce.length;for(let W=0;W{"use strict";d.d(ge,{b:()=>Ft});var e=d(5e3),f=d(44409),g=d(48966),v=d(47423),m=d(51062);let A=(()=>{class It{constructor(Mt){this.dialogRef=Mt}onCancel(){this.dialogRef.close(!1)}submit(){this.dialogRef.close(!0)}}return It.\u0275fac=function(Mt){return new(Mt||It)(e.Y36(g.so))},It.\u0275cmp=e.Xpm({type:It,selectors:[["app-delete-application-form-item-dialog"]],decls:20,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"pb-2","font-weight-bold"],[1,"pb-4","pt-2"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-application-form-item-dialog",1,"ml-2",3,"click"]],template:function(Mt,at){1&Mt&&(e.TgZ(0,"h1",0),e._uU(1),e.ALo(2,"translate"),e.qZA(),e.TgZ(3,"div",1),e.TgZ(4,"div",2),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"div"),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"div",3),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.qZA(),e.TgZ(13,"div",4),e.TgZ(14,"button",5),e.NdJ("click",function(){return at.onCancel()}),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.TgZ(17,"button",6),e.NdJ("click",function(){return at.submit()}),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.qZA()),2&Mt&&(e.xp6(1),e.Oqu(e.lcZ(2,6,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.TITLE")),e.xp6(4),e.hij(" ",e.lcZ(6,8,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_1")," "),e.xp6(3),e.Oqu(e.lcZ(9,10,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_2")),e.xp6(3),e.Oqu(e.lcZ(12,12,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_3")),e.xp6(4),e.hij(" ",e.lcZ(16,14,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.CANCEL_BUTTON")," "),e.xp6(3),e.hij(" ",e.lcZ(19,16,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.SUBMIT_BUTTON")," "))},directives:[g.uh,g.xY,g.H8,v.lW],pipes:[m.X$],styles:[""]}),It})();var s=d(36908),b=d(83491),R=d(9244),E=d(11735),h=d(69808),x=d(20773),k=d(32075),G=d(25245),X=d(29772),he=d(93075),re=d(98380),Ne=d(57706),ce=d(64597);const Pe=["table"];function se(It,Vt){1&It&&e._UZ(0,"mat-spinner",3)}function V(It,Vt){1&It&&e._UZ(0,"th",24)}function F(It,Vt){if(1&It){const Mt=e.EpF();e.TgZ(0,"td",25),e.TgZ(1,"button",26),e.NdJ("mousedown",function(){return e.CHM(Mt),e.oxw(2).dragDisabled=!1}),e.TgZ(2,"mat-icon"),e._uU(3,"drag_indicator"),e.qZA(),e.qZA(),e.qZA()}}function W(It,Vt){1&It&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&It&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SHORTNAME")," "))}function te(It,Vt){if(1&It&&(e.TgZ(0,"td",25),e._uU(1),e.qZA()),2&It){const Mt=Vt.$implicit;e.xp6(1),e.AsE(" ",Mt.shortname,"",Mt.required?"*":""," ")}}function ae(It,Vt){1&It&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&It&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPE")," "))}function pe(It,Vt){if(1&It&&(e.TgZ(0,"td",25),e._uU(1),e.ALo(2,"applicationFormItemType"),e.qZA()),2&It){const Mt=Vt.$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,Mt.type)," ")}}function Be(It,Vt){1&It&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&It&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HEADER")," "))}function Fe(It,Vt){if(1&It&&(e.TgZ(0,"div"),e.TgZ(1,"mat-icon",30),e._uU(2,"lock "),e.qZA(),e._UZ(3,"br"),e._uU(4),e.qZA()),2&It){const Mt=e.oxw().$implicit,at=e.oxw(2);e.xp6(1),e.Q6J("matTooltip",at.disabledTooltip(Mt)),e.xp6(3),e.hij(" ",at.disabledHiddenDependency(Mt,Mt.disabled,Mt.disabledDependencyItemId)," ")}}function ke(It,Vt){if(1&It&&(e.TgZ(0,"td",28),e.YNc(1,Fe,5,2,"div",29),e.qZA()),2&It){const Mt=Vt.$implicit;e.xp6(1),e.Q6J("ngIf","NEVER"!==Mt.disabled)}}function De(It,Vt){1&It&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&It&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN_HEADER")," "))}function be(It,Vt){if(1&It&&(e.TgZ(0,"div"),e.TgZ(1,"mat-icon",30),e._uU(2,"visibility_off "),e.qZA(),e._UZ(3,"br"),e._uU(4),e.qZA()),2&It){const Mt=e.oxw().$implicit,at=e.oxw(2);e.xp6(1),e.Q6J("matTooltip",at.hiddenTooltip(Mt)),e.xp6(3),e.hij(" ",at.disabledHiddenDependency(Mt,Mt.hidden,Mt.hiddenDependencyItemId)," ")}}function z(It,Vt){if(1&It&&(e.TgZ(0,"td",28),e.YNc(1,be,5,2,"div",29),e.qZA()),2&It){const Mt=Vt.$implicit;e.xp6(1),e.Q6J("ngIf","NEVER"!==Mt.hidden)}}function Ce(It,Vt){1&It&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&It&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW")," "))}function J(It,Vt){1&It&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",31),e.qZA(),e.qZA())}function I(It,Vt){1&It&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",32),e._UZ(3,"br"),e._UZ(4,"input",31),e.qZA(),e.qZA())}function Ie(It,Vt){if(1&It&&(e.TgZ(0,"div"),e._UZ(1,"input",35),e._uU(2),e._UZ(3,"br"),e.qZA()),2&It){const Mt=Vt.$implicit;e.xp6(2),e.hij(" ",Mt,"")}}function Re(It,Vt){if(1&It&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e.YNc(2,Ie,4,1,"div",33),e._UZ(3,"input",34),e.ALo(4,"translate"),e.qZA(),e.qZA()),2&It){const Mt=e.oxw().$implicit,at=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",at.getLocalizedOptions(Mt)),e.xp6(1),e.s9C("value",e.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION"))}}function ze(It,Vt){if(1&It&&(e.TgZ(0,"div"),e._UZ(1,"span",36),e.qZA()),2&It){const Mt=e.oxw().$implicit,at=e.oxw(2);e.xp6(1),e.Q6J("innerHTML",at.getLocalizedLabel(Mt),e.oJD)}}function fe(It,Vt){if(1&It&&(e.TgZ(0,"option"),e._uU(1),e.qZA()),2&It){const Mt=Vt.$implicit;e.xp6(1),e.hij(" ",Mt," ")}}function ve(It,Vt){if(1&It&&(e.TgZ(0,"div"),e.TgZ(1,"select"),e.YNc(2,fe,2,1,"option",33),e.qZA(),e.qZA()),2&It){const Mt=e.oxw().$implicit,at=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",at.getLocalizedOptions(Mt))}}function We(It,Vt){1&It&&(e.TgZ(0,"div"),e._UZ(1,"textarea"),e.qZA())}function nt(It,Vt){if(1&It&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&It){const Mt=Vt.$implicit;e.xp6(1),e.hij(" ",Mt," ")}}function st(It,Vt){1&It&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",31),e.qZA(),e.qZA())}function dt(It,Vt){if(1&It){const Mt=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"select",37),e.NdJ("ngModelChange",function(Ut){e.CHM(Mt);const gt=e.oxw().$implicit;return e.oxw(2).mapForCombobox[gt.id]=Ut}),e.YNc(2,nt,2,1,"option",38),e.TgZ(3,"option",39),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.qZA(),e.YNc(6,st,3,0,"div",29),e.qZA()}if(2&It){const Mt=e.oxw().$implicit,at=e.oxw(2);e.xp6(1),e.Q6J("ngModel",at.mapForCombobox[Mt.id]),e.xp6(1),e.Q6J("ngForOf",at.getLocalizedOptions(Mt)),e.xp6(2),e.hij(" ",e.lcZ(5,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")," "),e.xp6(2),e.Q6J("ngIf","true"===at.mapForCombobox[Mt.id])}}function L(It,Vt){if(1&It&&(e.TgZ(0,"div"),e._UZ(1,"input",41),e._uU(2),e.qZA()),2&It){const Mt=Vt.$implicit;e.xp6(2),e.hij(" ",Mt," ")}}function de(It,Vt){if(1&It&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e.YNc(2,L,3,1,"div",33),e.qZA(),e.qZA()),2&It){const Mt=e.oxw().$implicit,at=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",at.getLocalizedOptions(Mt))}}function M(It,Vt){if(1&It&&(e.TgZ(0,"div"),e.TgZ(1,"button",42),e._uU(2),e.qZA(),e.qZA()),2&It){const Mt=e.oxw().$implicit,at=e.oxw(2);e.xp6(2),e.hij(" ",at.getLocalizedLabel(Mt)," ")}}function S(It,Vt){1&It&&(e.TgZ(0,"div"),e.TgZ(1,"select",43),e.TgZ(2,"option",44),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"option",45),e._uU(6,"(GMT -12:00) Eniwetok, Kwajalein"),e.qZA(),e.TgZ(7,"option",46),e._uU(8,"(GMT -11:00) Midway Island, Samoa"),e.qZA(),e.TgZ(9,"option",47),e._uU(10,"(GMT -10:00) Hawaii"),e.qZA(),e.TgZ(11,"option",48),e._uU(12,"(GMT -9:30) Taiohae"),e.qZA(),e.TgZ(13,"option",49),e._uU(14,"(GMT -9:00) Alaska"),e.qZA(),e.TgZ(15,"option",50),e._uU(16,"(GMT -8:00) Pacific Time (US & Canada)"),e.qZA(),e.TgZ(17,"option",51),e._uU(18,"(GMT -7:00) Mountain Time (US & Canada)"),e.qZA(),e.TgZ(19,"option",52),e._uU(20," (GMT -6:00) Central Time (US & Canada), Mexico City "),e.qZA(),e.TgZ(21,"option",53),e._uU(22," (GMT -5:00) Eastern Time (US & Canada), Bogota, Lima "),e.qZA(),e.TgZ(23,"option",54),e._uU(24,"(GMT -4:30) Caracas"),e.qZA(),e.TgZ(25,"option",55),e._uU(26,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),e.qZA(),e.TgZ(27,"option",56),e._uU(28,"(GMT -3:30) Newfoundland"),e.qZA(),e.TgZ(29,"option",57),e._uU(30,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),e.qZA(),e.TgZ(31,"option",58),e._uU(32,"(GMT -2:00) Mid-Atlantic"),e.qZA(),e.TgZ(33,"option",59),e._uU(34,"(GMT -1:00) Azores, Cape Verde Islands"),e.qZA(),e.TgZ(35,"option",60),e._uU(36," (GMT) Western Europe Time, London, Lisbon, Casablanca "),e.qZA(),e.TgZ(37,"option",61),e._uU(38,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),e.qZA(),e.TgZ(39,"option",62),e._uU(40,"(GMT +2:00) Kaliningrad, South Africa"),e.qZA(),e.TgZ(41,"option",63),e._uU(42,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),e.qZA(),e.TgZ(43,"option",64),e._uU(44,"(GMT +3:30) Tehran"),e.qZA(),e.TgZ(45,"option",65),e._uU(46,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),e.qZA(),e.TgZ(47,"option",66),e._uU(48,"(GMT +4:30) Kabul"),e.qZA(),e.TgZ(49,"option",67),e._uU(50," (GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent "),e.qZA(),e.TgZ(51,"option",68),e._uU(52,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),e.qZA(),e.TgZ(53,"option",69),e._uU(54,"(GMT +5:45) Kathmandu, Pokhara"),e.qZA(),e.TgZ(55,"option",70),e._uU(56,"(GMT +6:00) Almaty, Dhaka, Colombo"),e.qZA(),e.TgZ(57,"option",71),e._uU(58,"(GMT +6:30) Yangon, Mandalay"),e.qZA(),e.TgZ(59,"option",72),e._uU(60,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),e.qZA(),e.TgZ(61,"option",73),e._uU(62,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),e.qZA(),e.TgZ(63,"option",74),e._uU(64,"(GMT +8:45) Eucla"),e.qZA(),e.TgZ(65,"option",75),e._uU(66,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),e.qZA(),e.TgZ(67,"option",76),e._uU(68,"(GMT +9:30) Adelaide, Darwin"),e.qZA(),e.TgZ(69,"option",77),e._uU(70,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),e.qZA(),e.TgZ(71,"option",78),e._uU(72,"(GMT +10:30) Lord Howe Island"),e.qZA(),e.TgZ(73,"option",79),e._uU(74,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),e.qZA(),e.TgZ(75,"option",80),e._uU(76,"(GMT +11:30) Norfolk Island"),e.qZA(),e.TgZ(77,"option",81),e._uU(78,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),e.qZA(),e.TgZ(79,"option",82),e._uU(80,"(GMT +12:45) Chatham Islands"),e.qZA(),e.TgZ(81,"option",83),e._uU(82,"(GMT +13:00) Apia, Nukualofa"),e.qZA(),e.TgZ(83,"option",84),e._uU(84,"(GMT +14:00) Line Islands, Tokelau"),e.qZA(),e.qZA(),e.qZA()),2&It&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")," "))}function P(It,Vt){if(1&It&&(e.TgZ(0,"div"),e.TgZ(1,"button",42),e._uU(2),e.qZA(),e.qZA()),2&It){const Mt=e.oxw().$implicit,at=e.oxw(2);e.xp6(2),e.hij(" ",at.getLocalizedLabel(Mt)," ")}}function N(It,Vt){1&It&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",41),e._uU(3," example group1 "),e._UZ(4,"br"),e._UZ(5,"input",41),e._uU(6," example group2 "),e._UZ(7,"br"),e._UZ(8,"input",41),e._uU(9," example group3 "),e.qZA(),e.qZA())}function ne(It,Vt){if(1&It&&(e.TgZ(0,"td",25),e.YNc(1,J,3,0,"div",29),e.YNc(2,I,5,0,"div",29),e.YNc(3,Re,5,4,"div",29),e.YNc(4,ze,2,1,"div",29),e.YNc(5,ve,3,1,"div",29),e.YNc(6,We,2,0,"div",29),e.YNc(7,dt,7,6,"div",29),e.YNc(8,de,3,1,"div",29),e.YNc(9,M,3,1,"div",29),e.YNc(10,S,85,3,"div",29),e.YNc(11,P,3,1,"div",29),e.YNc(12,N,10,0,"div",29),e.qZA()),2&It){const Mt=Vt.$implicit;e.xp6(1),e.Q6J("ngIf","TEXTFIELD"===Mt.type||"VALIDATED_EMAIL"===Mt.type||"USERNAME"===Mt.type),e.xp6(1),e.Q6J("ngIf","PASSWORD"===Mt.type),e.xp6(1),e.Q6J("ngIf","RADIO"===Mt.type),e.xp6(1),e.Q6J("ngIf","HEADING"===Mt.type||"HTML_COMMENT"===Mt.type),e.xp6(1),e.Q6J("ngIf","SELECTIONBOX"===Mt.type),e.xp6(1),e.Q6J("ngIf","TEXTAREA"===Mt.type),e.xp6(1),e.Q6J("ngIf","COMBOBOX"===Mt.type),e.xp6(1),e.Q6J("ngIf","CHECKBOX"===Mt.type),e.xp6(1),e.Q6J("ngIf","SUBMIT_BUTTON"===Mt.type),e.xp6(1),e.Q6J("ngIf","TIMEZONE"===Mt.type),e.xp6(1),e.Q6J("ngIf","AUTO_SUBMIT_BUTTON"===Mt.type),e.xp6(1),e.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===Mt.type)}}function j(It,Vt){1&It&&e._UZ(0,"th",24)}function Te(It,Vt){if(1&It){const Mt=e.EpF();e.TgZ(0,"button",86),e.NdJ("click",function(){return e.CHM(Mt),e.oxw(3).openManagingGroups()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"supervised_user_circle"),e.qZA(),e.qZA()}2&It&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS"))}function n(It,Vt){if(1&It&&(e.TgZ(0,"td",25),e.YNc(1,Te,4,3,"button",85),e.qZA()),2&It){const Mt=Vt.$implicit;e.xp6(1),e.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===Mt.type&&!Mt.forDelete)}}function r(It,Vt){1&It&&e._UZ(0,"th",24)}function u(It,Vt){if(1&It){const Mt=e.EpF();e.TgZ(0,"button",89),e.NdJ("click",function(){e.CHM(Mt);const Ut=e.oxw().$implicit;return e.oxw(2).edit(Ut)}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"edit"),e.qZA(),e.qZA()}2&It&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.EDIT"))}function o(It,Vt){1&It&&(e.TgZ(0,"div",90),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&It&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MARK_DELETE")," "))}function t(It,Vt){if(1&It&&(e.TgZ(0,"td",25),e.YNc(1,u,4,3,"button",87),e.YNc(2,o,3,3,"div",88),e.qZA()),2&It){const Mt=Vt.$implicit;e.xp6(1),e.Q6J("ngIf",!Mt.forDelete),e.xp6(1),e.Q6J("ngIf",Mt.forDelete)}}function i(It,Vt){1&It&&e._UZ(0,"th",24)}function c(It,Vt){if(1&It){const Mt=e.EpF();e.TgZ(0,"button",92),e.NdJ("click",function(){e.CHM(Mt);const Ut=e.oxw().$implicit;return e.oxw(2).delete(Ut)}),e.ALo(1,"multiWordDataCy"),e.ALo(2,"translate"),e.TgZ(3,"mat-icon"),e._uU(4,"delete"),e.qZA(),e.qZA()}if(2&It){const Mt=e.oxw().$implicit;e.Q2q("data-cy","",e.lcZ(1,2,Mt.shortname),"-delete"),e.s9C("matTooltip",e.lcZ(2,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DELETE"))}}function p(It,Vt){if(1&It){const Mt=e.EpF();e.TgZ(0,"button",86),e.NdJ("click",function(){e.CHM(Mt);const Ut=e.oxw().$implicit;return e.oxw(2).restore(Ut)}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"settings_backup_restore"),e.qZA(),e.qZA()}2&It&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.REVERT_DELETE"))}function T(It,Vt){if(1&It&&(e.TgZ(0,"td",25),e.YNc(1,c,5,6,"button",91),e.YNc(2,p,4,3,"button",85),e.qZA()),2&It){const Mt=Vt.$implicit;e.xp6(1),e.Q6J("ngIf",!Mt.forDelete),e.xp6(1),e.Q6J("ngIf",Mt.forDelete)}}function Se(It,Vt){1&It&&e._UZ(0,"tr",93)}function je(It,Vt){if(1&It&&e._UZ(0,"tr",94),2&It){const Mt=Vt.$implicit,at=e.oxw(2);e.ekj("make-green",Mt.id<=0)("make-red",Mt.forDelete)("make-yellow",-1!==at.itemsChanged.indexOf(Mt.id)&&!Mt.forDelete&&Mt.id>0),e.Q6J("cdkDragData",Mt)}}function Et(It,Vt){if(1&It){const Mt=e.EpF();e.TgZ(0,"div",4),e.TgZ(1,"div",5),e.TgZ(2,"div",6),e.TgZ(3,"table",7,8),e.NdJ("cdkDropListDropped",function(Ut){return e.CHM(Mt),e.oxw().drop(Ut)}),e.ynx(5,9),e.YNc(6,V,1,0,"th",10),e.YNc(7,F,4,0,"td",11),e.BQk(),e.ynx(8,12),e.YNc(9,W,3,3,"th",10),e.YNc(10,te,2,2,"td",11),e.BQk(),e.ynx(11,13),e.YNc(12,ae,3,3,"th",10),e.YNc(13,pe,3,3,"td",11),e.BQk(),e.ynx(14,14),e.YNc(15,Be,3,3,"th",15),e.YNc(16,ke,2,1,"td",16),e.BQk(),e.ynx(17,17),e.YNc(18,De,3,3,"th",15),e.YNc(19,z,2,1,"td",16),e.BQk(),e.ynx(20,18),e.YNc(21,Ce,3,3,"th",10),e.YNc(22,ne,13,12,"td",11),e.BQk(),e.ynx(23,19),e.YNc(24,j,1,0,"th",10),e.YNc(25,n,2,1,"td",11),e.BQk(),e.ynx(26,20),e.YNc(27,r,1,0,"th",10),e.YNc(28,t,3,2,"td",11),e.BQk(),e.ynx(29,21),e.YNc(30,i,1,0,"th",10),e.YNc(31,T,3,2,"td",11),e.BQk(),e.YNc(32,Se,1,0,"tr",22),e.YNc(33,je,1,7,"tr",23),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&It){const Mt=e.oxw();e.xp6(3),e.Q6J("cdkDropListDisabled",Mt.dragDisabled)("dataSource",Mt.dataSource),e.xp6(29),e.Q6J("matHeaderRowDef",Mt.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",Mt.displayedColumns)}}function St(It,Vt){1&It&&(e.TgZ(0,"app-alert",95),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&It&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM"),"\n"))}let Ft=(()=>{class It{constructor(Mt,at,Ut,gt){this.dialog=Mt,this.notificator=at,this.router=Ut,this.translate=gt,this.applicationFormItems=[],this.displayedColumns=["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"],this.applicationFormItemsChange=new e.vpe,this.itemsChanged=[],this.dataSource=this.applicationFormItems,this.mapForCombobox=new Map,this.dragDisabled=!0}ngOnInit(){this.ifEmpty=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IF_EMPTY"),this.ifPrefilled=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IF_PREFILLED"),this.alwaysDisabled=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.ALWAYS_DISABLED_HINT"),this.alwaysHidden=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.ALWAYS_HIDDEN_HINT"),this.isDisabledIf=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.DISABLED_IF_HINT"),this.isHiddenIf=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.HIDDEN_IF_HINT"),this.isEmpty=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IS_EMPTY_HINT"),this.isPrefilled=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IS_PREFILLED_HINT")}ngOnChanges(){this.dataSource=this.applicationFormItems,this.refreshApplicationForm&&(this.itemsChanged=[])}disabledHiddenDependency(Mt,at,Ut){let gt="";if("IF_EMPTY"===at||"IF_PREFILLED"===at){const xt=null===Ut?"":this.applicationFormItems.find(Ve=>Ve.id===Ut).shortname;gt="IF_EMPTY"===at?`(${this.ifEmpty} ${xt})`:`(${this.ifPrefilled} ${xt})`}return gt}disabledTooltip(Mt){let at;switch(Mt.disabled){case"ALWAYS":return this.alwaysDisabled;case"IF_EMPTY":return at=null===Mt.disabledDependencyItemId?"":this.applicationFormItems.find(Ut=>Ut.id===Mt.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${at} ${this.isEmpty}`;case"IF_PREFILLED":return at=null===Mt.disabledDependencyItemId?"":this.applicationFormItems.find(Ut=>Ut.id===Mt.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${at} ${this.isPrefilled}`}}hiddenTooltip(Mt){let at;switch(Mt.hidden){case"ALWAYS":return this.alwaysHidden;case"IF_EMPTY":return at=null===Mt.hiddenDependencyItemId?"":this.applicationFormItems.find(Ut=>Ut.id===Mt.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${at} ${this.isEmpty}`;case"IF_PREFILLED":return at=null===Mt.hiddenDependencyItemId?"":this.applicationFormItems.find(Ut=>Ut.id===Mt.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${at} ${this.isPrefilled}`}}edit(Mt){const at=(0,R.kZ)();at.width="600px",at.height="600px",at.data={voId:this.applicationForm.vo.id,group:this.applicationForm.group,applicationFormItem:Mt,theme:this.theme,allItems:this.applicationFormItems},this.dialog.open(b._,at).afterClosed().subscribe(gt=>{gt&&(this.itemsChanged.push(Mt.id),this.applicationFormItemsChange.emit())})}delete(Mt){const at=(0,R.kZ)();at.width="500px",this.dialog.open(A,at).afterClosed().subscribe(gt=>{gt&&(Mt.forDelete=!0,0===Mt.id&&(this.applicationFormItems.splice(this.applicationFormItems.indexOf(Mt),1),this.table.renderRows()),this.applicationFormItemsChange.emit())})}drop(Mt){this.dragDisabled=!0;const at=this.applicationFormItems.indexOf(Mt.item.data);(0,f.bA)(this.applicationFormItems,at,Mt.currentIndex),this.itemsChanged.push(this.applicationFormItems[Mt.currentIndex].id),this.applicationFormItemsChange.emit(),this.table.renderRows()}getLocalizedOptions(Mt){if(Mt.i18n[this.translate.getDefaultLang()]){const at=Mt.i18n[this.translate.getDefaultLang()].options;if(null!==at&&""!==at){const Ut=[];for(const gt of at.split("|"))Ut.push(gt.split("#")[1]);return Ut}}return[]}getLocalizedLabel(Mt){return Mt.i18n[this.translate.getDefaultLang()]?Mt.i18n[this.translate.getDefaultLang()].label:Mt.shortname}restore(Mt){Mt.forDelete=!1}openManagingGroups(){this.router.navigate(["/organizations",this.applicationForm.vo.id,"settings","applicationForm","manageGroups"])}}return It.\u0275fac=function(Mt){return new(Mt||It)(e.Y36(g.uw),e.Y36(s.V6),e.Y36(E.F0),e.Y36(m.sK))},It.\u0275cmp=e.Xpm({type:It,selectors:[["app-application-form-list"]],viewQuery:function(Mt,at){if(1&Mt&&e.Gf(Pe,5),2&Mt){let Ut;e.iGM(Ut=e.CRH())&&(at.table=Ut.first)}},inputs:{loading:"loading",applicationForm:"applicationForm",applicationFormItems:"applicationFormItems",theme:"theme",displayedColumns:"displayedColumns",refreshApplicationForm:"refreshApplicationForm"},outputs:{applicationFormItemsChange:"applicationFormItemsChange"},features:[e.TTD],decls:3,vars:3,consts:[["class","ml-auto mr-auto",4,"ngIf"],["class","card mt-2",4,"ngIf"],["alert_type","warn",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"card","mt-2"],[1,"card-body","table-theme"],[1,"overflow-auto"],["cdkDropList","","cdkDropListData","dataSource","mat-table","",1,"w-100",3,"cdkDropListDisabled","dataSource","cdkDropListDropped"],["table",""],["matColumnDef","drag"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","shortname"],["matColumnDef","type"],["matColumnDef","disabled"],["class","center","mat-header-cell","",4,"matHeaderCellDef"],["class","center","mat-cell","",4,"matCellDef"],["matColumnDef","hidden"],["matColumnDef","preview"],["matColumnDef","managegroups"],["matColumnDef","edit"],["matColumnDef","delete"],["mat-header-row","",4,"matHeaderRowDef"],["cdkDrag","","mat-row","",3,"cdkDragData","make-green","make-red","make-yellow",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"mousedown"],["mat-header-cell","",1,"center"],["mat-cell","",1,"center"],[4,"ngIf"],[1,"pointer",3,"matTooltip"],["type","text"],["type","text",1,"mb-1"],[4,"ngFor","ngForOf"],["type","reset",3,"value"],["name","temp","type","radio"],[3,"innerHTML"],[3,"ngModel","ngModelChange"],["selected","","value","false",4,"ngFor","ngForOf"],["value","true"],["selected","","value","false"],["type","checkbox"],["color","accent","mat-flat-button",""],["id","timezone-offset","name","timezone_offset",1,"span5"],["selected","selected","value","-12:00"],["value","-12:00"],["value","-11:00"],["value","-10:00"],["value","-09:50"],["value","-09:00"],["value","-08:00"],["value","-07:00"],["value","-06:00"],["value","-05:00"],["value","-04:50"],["value","-04:00"],["value","-03:50"],["value","-03:00"],["value","-02:00"],["value","-01:00"],["value","+00:00"],["value","+01:00"],["value","+02:00"],["value","+03:00"],["value","+03:50"],["value","+04:00"],["value","+04:50"],["value","+05:00"],["value","+05:50"],["value","+05:75"],["value","+06:00"],["value","+06:50"],["value","+07:00"],["value","+08:00"],["value","+08:75"],["value","+09:00"],["value","+09:50"],["value","+10:00"],["value","+10:50"],["value","+11:00"],["value","+11:50"],["value","+12:00"],["value","+12:75"],["value","+13:00"],["value","+14:00"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["class","ml-auto","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["class","font-weight-bold",4,"ngIf"],["mat-icon-button","",1,"ml-auto",3,"matTooltip","click"],[1,"font-weight-bold"],["color","warn","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["color","warn","mat-icon-button","",3,"matTooltip","click"],["mat-header-row",""],["cdkDrag","","mat-row","",3,"cdkDragData"],["alert_type","warn"]],template:function(Mt,at){1&Mt&&(e.YNc(0,se,1,0,"mat-spinner",0),e.YNc(1,Et,34,4,"div",1),e.YNc(2,St,3,3,"app-alert",2)),2&Mt&&(e.Q6J("ngIf",at.loading),e.xp6(1),e.Q6J("ngIf",0!==at.applicationFormItems.length&&!at.loading),e.xp6(1),e.Q6J("ngIf",0===at.applicationFormItems.length&&!at.loading))},directives:[h.O5,x.$g,k.BZ,f.Wj,k.w1,k.fO,k.ge,k.Dz,k.ev,v.lW,G.Hw,X.gM,he._Y,he.JL,he.F,h.sg,he.YN,he.Kr,he.EJ,he.JJ,he.On,k.as,k.XQ,k.nj,k.Gk,f.Zt,re.w],pipes:[m.X$,Ne.c,ce.R],styles:[".cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drop-list-dragging[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.movable-row[_ngcontent-%COMP%]{cursor:move}.make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.make-green[_ngcontent-%COMP%]{background-color:#c8e6c9}.make-yellow[_ngcontent-%COMP%]{background-color:#fff9c4}.center[_ngcontent-%COMP%]{text-align:center}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),It})()},9146:(Ze,ge,d)=>{"use strict";d.d(ge,{S:()=>Se});var e=d(112),f=d(9244),g=d(84847),v=d(36908),m=d(36787),A=d(22868),s=d(69808),b=d(5e3),R=d(10036),E=d(18750),h=d(20773),x=d(32075),k=d(25245),G=d(29772);function X(je,Et){1&je&&(b.TgZ(0,"div"),b.TgZ(1,"mat-icon",1),b._uU(2,"arrow_right_alt"),b.qZA(),b.qZA())}function he(je,Et){1&je&&(b.TgZ(0,"div"),b.TgZ(1,"mat-icon",2),b._uU(2,"restore"),b.qZA(),b.qZA())}function re(je,Et){1&je&&(b.TgZ(0,"div"),b.TgZ(1,"mat-icon",3),b._uU(2,"nat"),b.qZA(),b.qZA())}let Ne=(()=>{class je{constructor(){}}return je.\u0275fac=function(St){return new(St||je)},je.\u0275cmp=b.Xpm({type:je,selectors:[["app-application-type-icon"]],inputs:{applicationType:"applicationType"},decls:4,vars:3,consts:[[4,"ngIf"],["matTooltip","Initial","matTooltipPosition","above"],["matTooltip","Extension","matTooltipPosition","above"],["matTooltip","Embedded","matTooltipPosition","above"]],template:function(St,Ft){1&St&&(b.TgZ(0,"div"),b.YNc(1,X,3,0,"div",0),b.YNc(2,he,3,0,"div",0),b.YNc(3,re,3,0,"div",0),b.qZA()),2&St&&(b.xp6(1),b.Q6J("ngIf","INITIAL"===Ft.applicationType),b.xp6(1),b.Q6J("ngIf","EXTENSION"===Ft.applicationType),b.xp6(1),b.Q6J("ngIf","EMBEDDED"===Ft.applicationType))},directives:[s.O5,k.Hw,G.gM],styles:[""]}),je})();var ce=d(50301),Pe=d(11735),se=d(98380),V=d(51062),F=d(43157),W=d(31359);function te(je,Et){1&je&&(b.TgZ(0,"div",26),b._UZ(1,"mat-spinner",27),b.qZA())}function ae(je,Et){1&je&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.ID")," "))}function pe(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&je){const St=Et.$implicit;b.xp6(1),b.Oqu(St.id)}}function Be(je,Et){1&je&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.CREATED_DATE")," "))}function Fe(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._uU(1),b.ALo(2,"date"),b.qZA()),2&je){const St=Et.$implicit;b.xp6(1),b.Oqu(b.xi3(2,1,St.createdAt,"d.M.y"))}}function ke(je,Et){1&je&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.VO_ID")))}function De(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&je){const St=Et.$implicit;b.xp6(1),b.Oqu(St.vo.id)}}function be(je,Et){1&je&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.VO_NAME")))}function z(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&je){const St=Et.$implicit;b.xp6(1),b.Oqu(St.vo.name)}}function Ce(je,Et){1&je&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.GROUP_ID")))}function J(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&je){const St=Et.$implicit;b.xp6(1),b.hij(" ",St.group?St.group.id:""," ")}}function I(je,Et){1&je&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.GROUP_NAME")))}function Ie(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&je){const St=Et.$implicit;b.xp6(1),b.hij(" ",St.group?St.group.name:""," ")}}function Re(je,Et){1&je&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.TYPE")," "))}function ze(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._UZ(1,"app-application-type-icon",31),b.qZA()),2&je){const St=Et.$implicit;b.xp6(1),b.Q6J("applicationType",St.type)}}function fe(je,Et){1&je&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.STATE")," "))}function ve(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._UZ(1,"span",32),b.ALo(2,"applicationState"),b.qZA()),2&je){const St=Et.$implicit;b.xp6(1),b.Q6J("outerHTML",b.lcZ(2,1,St.state),b.oJD)}}function We(je,Et){1&je&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.EXTSOURCENAME")))}function nt(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&je){const St=Et.$implicit;b.xp6(1),b.Oqu(St.extSourceName)}}function st(je,Et){1&je&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.EXTSOURCETYPE")))}function dt(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&je){const St=Et.$implicit;b.xp6(1),b.Oqu(St.extSourceType)}}function L(je,Et){1&je&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.USER")," "))}function de(je,Et){if(1&je&&(b.TgZ(0,"div"),b._uU(1),b.qZA()),2&je){const St=b.oxw().$implicit;b.xp6(1),b.hij(" ",St.createdBy.slice(St.createdBy.lastIndexOf("=")+1,St.createdBy.length)," ")}}function M(je,Et){if(1&je&&(b._uU(0),b.ALo(1,"userFullName")),2&je){const St=b.oxw().$implicit;b.hij(" ",b.lcZ(1,1,St.user)," ")}}function S(je,Et){if(1&je&&(b.TgZ(0,"td",29),b.YNc(1,de,2,1,"div",33),b.YNc(2,M,2,3,"ng-template",null,34,b.W1O),b.qZA()),2&je){const St=Et.$implicit,Ft=b.MAs(3);b.xp6(1),b.Q6J("ngIf",null===St.user)("ngIfElse",Ft)}}function P(je,Et){1&je&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.CREATED_BY")))}function N(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&je){const St=Et.$implicit;b.xp6(1),b.hij(" ",St.createdBy.slice(St.createdBy.lastIndexOf("=")+1,St.createdBy.length)," ")}}function ne(je,Et){1&je&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.MODIFIED_BY")," "))}function j(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&je){const St=Et.$implicit,Ft=b.oxw();b.xp6(1),b.Oqu(Ft.getFriendlyName(St.modifiedBy))}}function Te(je,Et){1&je&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.MODIFIED_AT")))}function n(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._uU(1),b.ALo(2,"date"),b.qZA()),2&je){const St=Et.$implicit;b.xp6(1),b.Oqu(b.xi3(2,1,St.modifiedAt,"d.M.y"))}}function r(je,Et){1&je&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.FEDINFO")))}function u(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&je){const St=Et.$implicit;b.xp6(1),b.Oqu(St.fedInfo)}}function o(je,Et){if(1&je&&(b.TgZ(0,"th",30),b._uU(1),b.qZA()),2&je){const St=b.oxw().$implicit;b.xp6(1),b.Oqu(St)}}function t(je,Et){if(1&je&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&je){const St=Et.$implicit,Ft=b.oxw().$implicit,It=b.oxw();b.xp6(1),b.hij(" ",It.getValue(St.formData,Ft)," ")}}function i(je,Et){1&je&&(b.ynx(0,35),b.YNc(1,o,2,1,"th",9),b.YNc(2,t,2,1,"td",6),b.BQk()),2&je&&b.s9C("matColumnDef",Et.$implicit)}function c(je,Et){1&je&&b._UZ(0,"tr",36)}function p(je,Et){if(1&je&&b._UZ(0,"tr",37),2&je){const St=Et.$implicit,Ft=b.oxw();b.ekj("cursor-pointer",!Ft.disableRouting),b.Q6J("perunWebAppsMiddleClickRouterLink",Ft.selectApplication(St))("routerLink",Ft.selectApplication(St))}}function T(je,Et){1&je&&(b.TgZ(0,"app-alert",38),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&je&&(b.Q6J("alert_type","warn"),b.xp6(1),b.hij(" ",b.lcZ(2,2,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND"),"\n"))}let Se=(()=>{class je{constructor(St,Ft,It){this.authResolver=St,this.tableConfigService=Ft,this.dynamicPaginatingService=It,this.displayedColumns=[],this.disableRouting=!1,this.searchString="",this.dateTo=new Date,this.dateFrom=this.yearAgo(),this.refreshTable=!1,this.parsedColumns=[],this.pageSizeOptions=f.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,m.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,A.b)(()=>this.loadApplicationsPage())).subscribe()}ngOnInit(){var St,Ft,It,Vt;this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Mt=>"id"!==Mt)),this.dataSource=new v.Hy(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadApplications(this.tableConfigService.getTablePageSize(this.tableId),0,"DESCENDING",this.getSortDataColumn(),this.searchString,this.includeGroupApps,this.states,this.dateToString(this.dateFrom),this.dateToString(this.dateTo),null!==(Ft=null===(St=this.member)||void 0===St?void 0:St.userId)&&void 0!==Ft?Ft:null,null!==(Vt=null===(It=this.group)||void 0===It?void 0:It.id)&&void 0!==Vt?Vt:null,this.getVoId()),this.dataSource.loading$.subscribe(Mt=>{if(Mt||!this.displayedColumns.includes("fedInfo"))return;this.displayedColumns=this.displayedColumns.filter(Ut=>!this.parsedColumns.includes(Ut)),this.parsedColumns=[];const at=this.dataSource.getData()[0];this.parseColumns(at.formData)})}ngOnChanges(){this.refreshTable=!1,this.dataSource&&(this.child.paginator.pageIndex=0,this.loadApplicationsPage())}loadApplicationsPage(){var St,Ft,It,Vt;this.dataSource.loadApplications(this.child.paginator.pageSize,this.child.paginator.pageIndex,"asc"===this.sort.direction?"ASCENDING":"DESCENDING",this.getSortDataColumn(),this.searchString,this.includeGroupApps,this.states,this.dateToString(this.dateFrom),this.dateToString(this.dateTo),null!==(Ft=null===(St=this.member)||void 0===St?void 0:St.userId)&&void 0!==Ft?Ft:null,null!==(Vt=null===(It=this.group)||void 0===It?void 0:It.id)&&void 0!==Vt?Vt:null,this.getVoId(),!0)}exportData(St){(0,f.O6)((0,f.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),St)}selectApplication(St){return this.disableRouting?null:this.group?["/organizations",St.vo.id,"groups",this.group.id,"applications",St.id]:this.member?["/organizations",St.vo.id,"members",this.member.id,"applications",St.id]:["/organizations",St.vo.id,"applications",St.id]}getExportDataForColumn(St,Ft){var It,Vt,Mt,at;switch(Ft){case"id":return St.id.toString();case"voId":return St.vo.id.toString();case"voName":return St.vo.name;case"groupId":return null!==(Vt=null===(It=St.group)||void 0===It?void 0:It.id.toString())&&void 0!==Vt?Vt:"";case"groupName":return null!==(at=null===(Mt=St.group)||void 0===Mt?void 0:Mt.name)&&void 0!==at?at:"";case"type":return St.type;case"fedInfo":return St.fedInfo;case"formData":return this.stringify(St.formData);case"state":return St.state;case"extSourceName":return St.extSourceName;case"extSourceType":return St.extSourceType;case"user":return St.user?(0,f.bD)(St.user):"";case"createdBy":return St.createdBy;case"createdAt":return St.createdAt;case"modifiedBy":return St.modifiedBy;case"modifiedAt":return St.modifiedAt;default:return St[Ft]}}getSortDataColumn(){if(!this.sort)return e.sY.DATECREATED;switch(this.sort.active){case"id":return e.sY.ID;case"createdAt":default:return e.sY.DATECREATED;case"type":return e.sY.TYPE;case"state":return e.sY.STATE;case"user":return e.sY.SUBMITTER;case"groupName":return e.sY.GROUPNAME;case"modifiedBy":return e.sY.MODIFIEDBY}}getFriendlyName(St){const Ft=St.lastIndexOf("/CN=");if(-1!==Ft){const It=St.slice(Ft+4,St.length).replace("/unstructuredName="," ");return-1!==It.lastIndexOf("\\")?St.slice(St.lastIndexOf("=")+1,St.length):It}return St}yearAgo(){const St=new Date;return St.setDate(St.getDate()-365),St}dateToString(St){return(0,s.p6)(St,"yyyy-MM-dd","en-GB")}getVoId(){return this.vo?this.vo.id:this.group?this.group.voId:this.member?this.member.voId:void 0}stringify(St){const Ft=Vt=>Object.entries(Vt).reduce((Mt,[at,Ut])=>Mt[at]instanceof Object?Mt[at]=Ft(Mt[at]):(null==Ut||"null"===Ut||0===Ut.length||(Mt[at]=Ut),Mt),{});let It=JSON.stringify(Ft(St));return It=It.replace("{","["),It=It.replace("}","]"),It}getFormDataString(St){return this.stringify(St.formItem)}parseColumns(St){St.forEach(Ft=>{this.displayedColumns.includes(Ft.shortname)||this.displayedColumns.push(Ft.shortname),this.parsedColumns.includes(Ft.shortname)||this.parsedColumns.push(Ft.shortname)})}getValue(St,Ft){var It;const Vt=St.filter(Mt=>Mt.shortname===Ft);return 0===Vt.length?"":null!==(It=Vt[0].value)&&void 0!==It?It:Vt[0].prefilledValue}}return je.\u0275fac=function(St){return new(St||je)(b.Y36(v.x4),b.Y36(R.dB),b.Y36(v.ly))},je.\u0275cmp=b.Xpm({type:je,selectors:[["app-applications-dynamic-list"]],viewQuery:function(St,Ft){if(1&St&&(b.Gf(f.l9,7),b.Gf(g.YE,5)),2&St){let It;b.iGM(It=b.CRH())&&(Ft.child=It.first),b.iGM(It=b.CRH())&&(Ft.sort=It.first)}},inputs:{displayedColumns:"displayedColumns",tableId:"tableId",disableRouting:"disableRouting",searchString:"searchString",group:"group",member:"member",vo:"vo",includeGroupApps:"includeGroupApps",states:"states",dateTo:"dateTo",dateFrom:"dateFrom",refreshTable:"refreshTable",parsedColumns:"parsedColumns"},features:[b.TTD],decls:56,vars:16,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","tableId","exportData"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","createdAt","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","createdAt"],["matColumnDef","voId"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","voName"],["matColumnDef","groupId"],["matColumnDef","groupName"],["matColumnDef","type"],["matColumnDef","state"],["matColumnDef","extSourceName"],["matColumnDef","extSourceType"],["matColumnDef","user"],["matColumnDef","createdBy"],["matColumnDef","modifiedBy"],["matColumnDef","modifiedAt"],["matColumnDef","fedInfo"],[3,"matColumnDef",4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell",""],[3,"applicationType"],[3,"outerHTML"],[4,"ngIf","ngIfElse"],["name",""],[3,"matColumnDef"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[3,"alert_type"]],template:function(St,Ft){1&St&&(b.TgZ(0,"div",0),b.ALo(1,"async"),b.TgZ(2,"perun-web-apps-table-wrapper",1),b.NdJ("exportData",function(Vt){return Ft.exportData(Vt)}),b.YNc(3,te,2,0,"div",2),b.ALo(4,"async"),b.TgZ(5,"table",3),b.ynx(6,4),b.YNc(7,ae,3,3,"th",5),b.YNc(8,pe,2,1,"td",6),b.BQk(),b.ynx(9,7),b.YNc(10,Be,3,3,"th",5),b.YNc(11,Fe,3,4,"td",6),b.BQk(),b.ynx(12,8),b.YNc(13,ke,3,3,"th",9),b.YNc(14,De,2,1,"td",6),b.BQk(),b.ynx(15,10),b.YNc(16,be,3,3,"th",9),b.YNc(17,z,2,1,"td",6),b.BQk(),b.ynx(18,11),b.YNc(19,Ce,3,3,"th",9),b.YNc(20,J,2,1,"td",6),b.BQk(),b.ynx(21,12),b.YNc(22,I,3,3,"th",9),b.YNc(23,Ie,2,1,"td",6),b.BQk(),b.ynx(24,13),b.YNc(25,Re,3,3,"th",5),b.YNc(26,ze,2,1,"td",6),b.BQk(),b.ynx(27,14),b.YNc(28,fe,3,3,"th",5),b.YNc(29,ve,3,3,"td",6),b.BQk(),b.ynx(30,15),b.YNc(31,We,3,3,"th",9),b.YNc(32,nt,2,1,"td",6),b.BQk(),b.ynx(33,16),b.YNc(34,st,3,3,"th",9),b.YNc(35,dt,2,1,"td",6),b.BQk(),b.ynx(36,17),b.YNc(37,L,3,3,"th",5),b.YNc(38,S,4,2,"td",6),b.BQk(),b.ynx(39,18),b.YNc(40,P,3,3,"th",9),b.YNc(41,N,2,1,"td",6),b.BQk(),b.ynx(42,19),b.YNc(43,ne,3,3,"th",5),b.YNc(44,j,2,1,"td",6),b.BQk(),b.ynx(45,20),b.YNc(46,Te,3,3,"th",9),b.YNc(47,n,3,4,"td",6),b.BQk(),b.ynx(48,21),b.YNc(49,r,3,3,"th",9),b.YNc(50,u,2,1,"td",6),b.BQk(),b.YNc(51,i,3,1,"ng-container",22),b.YNc(52,c,1,0,"tr",23),b.YNc(53,p,1,4,"tr",24),b.qZA(),b.qZA(),b.qZA(),b.YNc(54,T,3,4,"app-alert",25),b.ALo(55,"async")),2&St&&(b.Q6J("hidden",0===Ft.dataSource.allObjectCount&&!1===b.lcZ(1,10,Ft.dataSource.loading$)),b.xp6(2),b.Q6J("dataLength",Ft.dataSource.allObjectCount)("pageSizeOptions",Ft.pageSizeOptions)("tableId",Ft.tableId),b.xp6(1),b.Q6J("ngIf",b.lcZ(4,12,Ft.dataSource.loading$)),b.xp6(2),b.Q6J("dataSource",Ft.dataSource),b.xp6(46),b.Q6J("ngForOf",Ft.parsedColumns),b.xp6(1),b.Q6J("matHeaderRowDef",Ft.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",Ft.displayedColumns),b.xp6(1),b.Q6J("ngIf",0===Ft.dataSource.allObjectCount&&!1===b.lcZ(55,14,Ft.dataSource.loading$)))},directives:[E.l,s.O5,h.$g,x.BZ,g.YE,x.w1,x.fO,x.ge,g.nU,x.Dz,x.ev,Ne,s.sg,x.as,x.XQ,x.nj,x.Gk,ce.YH,Pe.rH,se.w],pipes:[s.Ov,V.X$,s.uU,F.h,W.d],styles:[""]}),je})()},55857:(Ze,ge,d)=>{"use strict";d.d(ge,{W:()=>Ne});var e=d(112),f=d(10036),g=d(36908),v=d(93075),m=d(69808),A=d(5e3),s=d(96214),b=d(47423),R=d(67322),E=d(74107),h=d(90508),x=d(64901),k=d(39798),G=d(9146),X=d(51062);function he(ce,Pe){if(1&ce){const se=A.EpF();A.TgZ(0,"button",14),A.NdJ("click",function(){return A.CHM(se),A.oxw().showAllDetails=!0}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&ce&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function re(ce,Pe){if(1&ce){const se=A.EpF();A.TgZ(0,"button",14),A.NdJ("click",function(){return A.CHM(se),A.oxw().showAllDetails=!1}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&ce&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}let Ne=(()=>{class ce{constructor(se,V,F){this.registrarManager=se,this.guiAuthResolver=V,this.entityStorageService=F,this.state="pending",this.currentStates=["NEW","VERIFIED"],this.displayedColumns=["id","createdAt","type","state","createdBy","groupName","modifiedBy"],this.detailedDisplayedColumns=["id","createdAt","voId","voName","groupId","groupName","type","state","extSourceName","extSourceType","user","createdBy","modifiedBy","modifiedAt","fedInfo"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=f.Af,this.tableId=f.gB,this.refresh=!1}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.startDate=new v.NI((0,m.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new v.NI((0,m.p6)(new Date,"yyyy-MM-dd","en-GB"))}select(){switch(this.state){case"approved":this.currentStates=["APPROVED"];break;case"rejected":this.currentStates=["REJECTED"];break;case"wfmv":this.currentStates=["NEW"];break;case"submited":this.currentStates=["VERIFIED"];break;case"pending":this.currentStates=["NEW","VERIFIED"];break;case"all":this.currentStates=null}}yearAgo(){const se=new Date;return se.setDate(se.getDate()-365),se}applyFilter(se){this.filterValue=se}}return ce.id="GroupApplicationsComponent",ce.\u0275fac=function(se){return new(se||ce)(A.Y36(e.tk),A.Y36(g.x4),A.Y36(g.fb))},ce.\u0275cmp=A.Xpm({type:ce,selectors:[["app-group-applications"]],hostVars:2,hostBindings:function(se,V){2&se&&A.ekj("router-component",V.true)},decls:34,vars:38,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"w-25","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],[3,"tableId","searchString","displayedColumns","states","dateFrom","dateTo","refreshTable","group"],["mat-stroked-button","",1,"mr-2",3,"click"]],template:function(se,V){1&se&&(A.TgZ(0,"h1",0),A._uU(1),A.ALo(2,"translate"),A.qZA(),A.TgZ(3,"div"),A.TgZ(4,"perun-web-apps-refresh-button",1),A.NdJ("refresh",function(){return V.refresh=!V.refresh}),A.qZA(),A.YNc(5,he,3,3,"button",2),A.YNc(6,re,3,3,"button",2),A.TgZ(7,"mat-form-field",3),A.TgZ(8,"mat-label"),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.TgZ(11,"mat-select",4),A.NdJ("selectionChange",function(){return V.select()})("valueChange",function(W){return V.state=W}),A.TgZ(12,"mat-option",5),A._uU(13),A.ALo(14,"translate"),A.qZA(),A.TgZ(15,"mat-option",6),A._uU(16),A.ALo(17,"translate"),A.qZA(),A.TgZ(18,"mat-option",7),A._uU(19),A.ALo(20,"translate"),A.qZA(),A.TgZ(21,"mat-option",8),A._uU(22),A.ALo(23,"translate"),A.qZA(),A.TgZ(24,"mat-option",9),A._uU(25),A.ALo(26,"translate"),A.qZA(),A.TgZ(27,"mat-option",10),A._uU(28),A.ALo(29,"translate"),A.qZA(),A.qZA(),A.qZA(),A.TgZ(30,"perun-web-apps-debounce-filter",11),A.NdJ("filter",function(W){return V.applyFilter(W)}),A.qZA(),A.TgZ(31,"perun-web-apps-date-range",12),A.NdJ("datePicker",function(){return V.select()}),A.qZA(),A.qZA(),A.TgZ(32,"div"),A._UZ(33,"app-applications-dynamic-list",13),A.qZA()),2&se&&(A.xp6(1),A.Oqu(A.lcZ(2,22,"VO_DETAIL.APPLICATION.TITLE")),A.xp6(4),A.Q6J("ngIf",!V.showAllDetails),A.xp6(1),A.Q6J("ngIf",V.showAllDetails),A.xp6(3),A.Oqu(A.lcZ(10,24,"APPLICATIONS_LIST.STATE")),A.xp6(2),A.Q6J("value",V.state),A.xp6(2),A.Oqu(A.lcZ(14,26,"VO_DETAIL.APPLICATION.SELECTION_ALL")),A.xp6(3),A.Oqu(A.lcZ(17,28,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),A.xp6(3),A.Oqu(A.lcZ(20,30,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),A.xp6(3),A.Oqu(A.lcZ(23,32,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),A.xp6(3),A.Oqu(A.lcZ(26,34,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),A.xp6(3),A.Oqu(A.lcZ(29,36,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),A.xp6(2),A.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),A.xp6(1),A.Q6J("startDate",V.startDate)("endDate",V.endDate),A.xp6(2),A.Q6J("tableId",V.showAllDetails?V.detailTableId:V.tableId)("searchString",V.filterValue)("displayedColumns",V.showAllDetails?V.detailedDisplayedColumns:V.displayedColumns)("states",V.currentStates)("dateFrom",V.startDate.value)("dateTo",V.endDate.value)("refreshTable",V.refresh)("group",V.group))},directives:[s.t,m.O5,b.lW,R.KE,R.hX,E.gD,h.ey,x.P,k.S,G.S],pipes:[X.X$],styles:[""]}),ce})()},96180:(Ze,ge,d)=>{"use strict";d.d(ge,{y:()=>Ce});var e=d(20449),f=d(36908),g=d(64080),v=d(97034),m=d(53455),A=d(112),s=d(10036),b=d(9244),R=d(74414),E=d(93075),h=d(5e3),x=d(48966),k=d(69808),G=d(98380),X=d(96214),he=d(29772),re=d(47423),Ne=d(67322),ce=d(74107),Pe=d(90508),se=d(64901),V=d(20773),F=d(4811),W=d(51062),te=d(20551);function ae(J,I){1&J&&(h.TgZ(0,"app-alert",15),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&J&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.MEMBERS.ACTIONS_DISABLED"),"\n"))}function pe(J,I){if(1&J){const Ie=h.EpF();h.TgZ(0,"button",16),h.NdJ("click",function(){return h.CHM(Ie),h.oxw().onAddMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&J){const Ie=h.oxw();h.Q6J("disabled",Ie.synchEnabled||Ie.blockGroupManualMemberAdding),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function Be(J,I){if(1&J){const Ie=h.EpF();h.TgZ(0,"button",17),h.NdJ("click",function(){return h.CHM(Ie),h.oxw().onInviteMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&J){const Ie=h.oxw();h.Q6J("disabled",Ie.synchEnabled),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.MEMBERS.INVITE_MEMBER")," ")}}function Fe(J,I){if(1&J){const Ie=h.EpF();h.TgZ(0,"button",18),h.NdJ("click",function(){return h.CHM(Ie),h.oxw().onRemoveMembers()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&J){const Ie=h.oxw();h.Q6J("disabled",Ie.selection.isEmpty()||Ie.synchEnabled),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function ke(J,I){if(1&J&&(h.TgZ(0,"mat-option",19),h._uU(1),h.ALo(2,"memberStatus"),h.qZA()),2&J){const Ie=I.$implicit;h.Q6J("value",Ie),h.xp6(1),h.Oqu(h.lcZ(2,2,Ie))}}function De(J,I){if(1&J&&(h.TgZ(0,"mat-option",19),h._uU(1),h.ALo(2,"memberStatus"),h.qZA()),2&J){const Ie=I.$implicit;h.Q6J("value",Ie),h.xp6(1),h.Oqu(h.lcZ(2,2,Ie))}}function be(J,I){1&J&&h._UZ(0,"mat-spinner",20)}function z(J,I){if(1&J&&h._UZ(0,"perun-web-apps-members-dynamic-list",21),2&J){const Ie=h.oxw();h.Q6J("voId",Ie.group.voId)("groupId",Ie.group.id)("tableId",Ie.tableId)("selection",Ie.selection)("displayedColumns",Ie.displayedColumns)("updateTable",Ie.updateTable)("searchString",Ie.searchString)("selectedStatuses",Ie.selectedStatuses)("selectedGroupStatuses",Ie.selectedGroupStatuses)("attrNames",Ie.memberAttrNames)}}let Ce=(()=>{class J{constructor(Ie,Re,ze,fe,ve,We,nt,st){this.groupService=Ie,this.dialog=Re,this.guiAuthResolver=ze,this.storeService=fe,this.attributesManager=ve,this.apiRequest=We,this.notificator=nt,this.entityStorageService=st,this.synchEnabled=!1,this.updateTable=!1,this.loading=!1,this.tableId=s.dI,this.memberAttrNames=[g.r.MEMBER_DEF_ORGANIZATION,g.r.MEMBER_DEF_MAIL,g.r.USER_DEF_ORGANIZATION,g.r.USER_DEF_PREFERRED_MAIL,g.r.MEMBER_DEF_EXPIRATION,g.r.MEMBER_DEF_GROUP_EXPIRATION],this.groupAttrNames=[g.r.GROUP_SYNC_ENABLED,g.r.GROUP_LAST_SYNC_STATE,g.r.GROUP_LAST_SYNC_TIMESTAMP,g.r.GROUP_STRUCTURE_SYNC_ENABLED,g.r.GROUP_LAST_STRUCTURE_SYNC_STATE,g.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.statuses=new E.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=["VALID","INVALID"],this.groupStatuses=new E.NI,this.groupStatusList=["VALID","EXPIRED"],this.selectedGroupStatuses=["VALID"]}ngOnInit(){this.loading=!0,this.selection=new e.Ov(!0,[]),this.statuses.setValue(this.selectedStatuses),this.groupStatuses.setValue(this.selectedGroupStatuses),this.memberAttrNames=this.memberAttrNames.concat(this.storeService.getLoginAttributeNames()),this.group=this.entityStorageService.getEntity(),this.setAuthRights(),this.isManualAddingBlocked(this.group.voId,this.group.id).then(()=>this.loadPage(this.group.id))}loadPage(Ie){this.groupService.getRichGroupByIdWithAttributesByNames(Ie,this.groupAttrNames).subscribe(Re=>{this.group=Re,this.synchEnabled=this.isSynchronized(),this.loading=!1})}isSynchronized(){return this.group.attributes.some(Ie=>"synchronizationEnabled"===Ie.friendlyName&&null!==Ie.value&&"true"===Ie.value.toString())}setAuthRights(){this.addAuth=this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[this.group]),this.removeAuth=this.guiAuthResolver.isAuthorized("removeMembers_Group_List_policy",[this.group]),this.displayedColumns=this.removeAuth?this.displayedColumns:["id","type","fullName","status","groupStatus","organization","email","logins"],this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_String_String_String_policy",[this.group])}onSearchByString(Ie){this.searchString=Ie,this.updateTable=!this.updateTable}onAddMember(){const Ie=(0,b.kZ)();Ie.width="1000px",Ie.data={voId:this.group.voId,group:this.group,entityId:this.group.id,manualAddingBlocked:this.blockManualMemberAdding,theme:"group-theme",type:"group"},this.dialog.open(v.o,Ie).afterClosed().subscribe(ze=>{ze&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onRemoveMembers(){const Ie=(0,b.kZ)();Ie.width="450px",Ie.data={groupId:this.group.id,members:this.selection.selected,theme:"group-theme"},this.dialog.open(m.X,Ie).afterClosed().subscribe(ze=>{ze&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onInviteMember(){const Ie=(0,b.kZ)();Ie.width="650px",Ie.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(R.R,Ie)}displaySelectedStatuses(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?`${this.statuses.value[0]} ${this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""}`:""}displaySelectedGroupStatuses(){return this.selectedGroupStatuses.length===this.groupStatusList.length?"ALL":`${this.groupStatuses.value[0]}`}isManualAddingBlocked(Ie,Re){return new Promise(ze=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(Ie,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(fe=>{this.blockManualMemberAdding=null!==fe.value,this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(Re,"urn:perun:group:attribute-def:def:blockManualMemberAdding").subscribe(ve=>{this.blockGroupManualMemberAdding=null!==ve.value,ze()},ve=>{"PrivilegeException"!==ve.error.name&&this.notificator.showError(ve),ze()})},fe=>{"PrivilegeException"!==fe.error.name&&this.notificator.showError(fe),ze()})})}changeVoStatuses(){this.selectedStatuses=this.statuses.value}changeGroupStatuses(){this.selectedGroupStatuses=this.groupStatuses.value}}return J.id="GroupMembersComponent",J.\u0275fac=function(Ie){return new(Ie||J)(h.Y36(A.ff),h.Y36(x.uw),h.Y36(f.x4),h.Y36(f.d6),h.Y36(A.H8),h.Y36(f.F5),h.Y36(f.V6),h.Y36(f.fb))},J.\u0275cmp=h.Xpm({type:J,selectors:[["app-group-members"]],hostVars:2,hostBindings:function(Ie,Re){2&Ie&&h.ekj("router-component",Re.true)},decls:38,vars:45,consts:[[1,"page-subtitle"],["alert_type","warn",4,"ngIf"],[1,"align-elements"],[3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],[3,"matTooltip","matTooltipDisabled"],["class","mr-2 action-button","color","accent","data-cy","add-members","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2 action-button","color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2","color","warn","data-cy","remove-members","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","group-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","groupId","tableId","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames",4,"ngIf"],["alert_type","warn"],["color","accent","data-cy","add-members","mat-flat-button","",1,"mr-2","action-button",3,"disabled","click"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"disabled","click"],["color","warn","data-cy","remove-members","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"group-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","groupId","tableId","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames"]],template:function(Ie,Re){1&Ie&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.YNc(3,ae,3,3,"app-alert",1),h.TgZ(4,"div",2),h.TgZ(5,"perun-web-apps-refresh-button",3),h.NdJ("click",function(){return Re.updateTable=!Re.updateTable}),h.qZA(),h.TgZ(6,"span",4),h.ALo(7,"translate"),h.TgZ(8,"div",5),h.ALo(9,"translate"),h.YNc(10,pe,3,4,"button",6),h.qZA(),h.qZA(),h.TgZ(11,"span",4),h.ALo(12,"translate"),h.YNc(13,Be,3,4,"button",7),h.qZA(),h.TgZ(14,"span",4),h.ALo(15,"translate"),h.YNc(16,Fe,3,4,"button",8),h.qZA(),h.TgZ(17,"mat-form-field",9),h.TgZ(18,"mat-label"),h._uU(19),h.ALo(20,"translate"),h.qZA(),h.TgZ(21,"mat-select",10),h.NdJ("closed",function(){return Re.changeVoStatuses()}),h.TgZ(22,"mat-select-trigger"),h._uU(23),h.ALo(24,"memberStatus"),h.qZA(),h.YNc(25,ke,3,4,"mat-option",11),h.qZA(),h.qZA(),h.TgZ(26,"mat-form-field",9),h.TgZ(27,"mat-label"),h._uU(28),h.ALo(29,"translate"),h.qZA(),h.TgZ(30,"mat-select",10),h.NdJ("closed",function(){return Re.changeGroupStatuses()}),h.TgZ(31,"mat-select-trigger"),h._uU(32),h.ALo(33,"memberStatus"),h.qZA(),h.YNc(34,De,3,4,"mat-option",11),h.qZA(),h.qZA(),h.TgZ(35,"perun-web-apps-debounce-filter",12),h.NdJ("filter",function(fe){return Re.onSearchByString(fe)}),h.qZA(),h.qZA(),h.YNc(36,be,1,0,"mat-spinner",13),h.YNc(37,z,1,10,"perun-web-apps-members-dynamic-list",14)),2&Ie&&(h.xp6(1),h.Oqu(h.lcZ(2,27,"GROUP_DETAIL.MEMBERS.TITLE")),h.xp6(2),h.Q6J("ngIf",Re.synchEnabled),h.xp6(3),h.s9C("matTooltip",h.lcZ(7,29,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),h.Q6J("matTooltipDisabled",!Re.synchEnabled)("matTooltipPosition","above"),h.xp6(2),h.s9C("matTooltip",h.lcZ(9,31,"GROUP_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),h.Q6J("matTooltipDisabled",!Re.blockGroupManualMemberAdding),h.xp6(2),h.Q6J("ngIf",Re.addAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(12,33,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),h.Q6J("matTooltipDisabled",!Re.synchEnabled)("matTooltipPosition","above"),h.xp6(2),h.Q6J("ngIf",Re.inviteAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(15,35,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),h.Q6J("matTooltipDisabled",!Re.synchEnabled)("matTooltipPosition","above"),h.xp6(2),h.Q6J("ngIf",Re.removeAuth),h.xp6(3),h.Oqu(h.lcZ(20,37,"GROUP_DETAIL.MEMBERS.FILTER_STATUS")),h.xp6(2),h.Q6J("formControl",Re.statuses),h.xp6(2),h.hij(" ",h.lcZ(24,39,Re.displaySelectedStatuses())," "),h.xp6(2),h.Q6J("ngForOf",Re.statusList),h.xp6(3),h.Oqu(h.lcZ(29,41,"GROUP_DETAIL.MEMBERS.FILTER_GROUP_STATUS")),h.xp6(2),h.Q6J("formControl",Re.groupStatuses),h.xp6(2),h.hij(" ",h.lcZ(33,43,Re.displaySelectedGroupStatuses())," "),h.xp6(2),h.Q6J("ngForOf",Re.groupStatusList),h.xp6(1),h.Q6J("placeholder","GROUP_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),h.xp6(1),h.Q6J("ngIf",Re.loading),h.xp6(1),h.Q6J("ngIf",!Re.loading))},directives:[k.O5,G.w,X.t,he.gM,re.lW,Ne.KE,Ne.hX,ce.gD,E.JJ,E.oH,ce.$L,k.sg,Pe.ey,se.P,V.$g,F.m],pipes:[W.X$,te.l],styles:[".search-field[_ngcontent-%COMP%]{width:325px}.align-elements[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.fix-select[_ngcontent-%COMP%]{margin-top:8px}"]}),J})()},37240:(Ze,ge,d)=>{"use strict";d.d(ge,{q:()=>de});var e=d(20449),f=d(112),g=d(10036),v=d(48966),m=d(36908),s=(d(80255),d(5e3)),b=d(51062),R=d(69808),E=d(20773),h=d(92081),x=d(64901),k=d(62109),G=d(32368),X=d(93075),he=d(47423),re=d(29772);const Ne=["list"],ce=["stepper"];function Pe(M,S){1&M&&s._UZ(0,"mat-spinner",4)}function se(M,S){1&M&&(s._uU(0),s.ALo(1,"translate")),2&M&&s.Oqu(s.lcZ(1,1,"DIALOGS.ADD_GROUP_RESOURCES.RESOURCES"))}function V(M,S){1&M&&(s._uU(0),s.ALo(1,"translate")),2&M&&s.Oqu(s.lcZ(1,1,"DIALOGS.ADD_GROUP_RESOURCES.OPTIONS"))}const F=function(){return["select","id","name","facility","tags","description"]};function W(M,S){if(1&M){const P=s.EpF();s.TgZ(0,"div",5),s.TgZ(1,"mat-stepper",6,7),s.TgZ(3,"mat-step",8),s.YNc(4,se,2,3,"ng-template",9),s.TgZ(5,"perun-web-apps-debounce-filter",10),s.NdJ("filter",function(ne){return s.CHM(P),s.oxw().applyFilter(ne)}),s.ALo(6,"translate"),s.qZA(),s._UZ(7,"perun-web-apps-resources-list",11,12),s.qZA(),s.TgZ(9,"mat-step"),s.YNc(10,V,2,3,"ng-template",9),s.TgZ(11,"mat-slide-toggle",13),s.NdJ("toggleChange",function(){return s.CHM(P),s.oxw().changeSubgroupsMessage()})("ngModelChange",function(ne){return s.CHM(P),s.oxw().autoAssignSubgroups=ne}),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.TgZ(14,"div",14),s._UZ(15,"i",15),s.qZA(),s.TgZ(16,"mat-slide-toggle",13),s.NdJ("toggleChange",function(){return s.CHM(P),s.oxw().changeInactiveMessage()})("ngModelChange",function(ne){return s.CHM(P),s.oxw().asActive=ne}),s._uU(17),s.ALo(18,"translate"),s.qZA(),s.TgZ(19,"div",14),s._uU(20),s.qZA(),s.TgZ(21,"mat-slide-toggle",13),s.NdJ("toggleChange",function(){return s.CHM(P),s.oxw().changeAsyncMessage()})("ngModelChange",function(ne){return s.CHM(P),s.oxw().async=ne}),s._uU(22),s.ALo(23,"translate"),s.qZA(),s.TgZ(24,"div",14),s._uU(25),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&M){const P=s.MAs(8),N=s.oxw();s.xp6(1),s.Q6J("linear",!0),s.xp6(2),s.Q6J("completed",0!==N.selection.selected.length&&void 0!==P&&P.addAuth),s.xp6(2),s.s9C("placeholder",s.lcZ(6,19,"DIALOGS.ADD_GROUP_RESOURCES.FILTER")),s.xp6(2),s.Q6J("tableId",N.tableId)("resources",N.resources)("disableRouting",!0)("selection",N.selection)("groupToResource",N.data.group)("displayedColumns",s.DdM(27,F))("filterValue",N.filterValue),s.xp6(4),s.Q6J("ngModel",N.autoAssignSubgroups),s.xp6(1),s.hij(" ",s.lcZ(13,21,"DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS")," "),s.xp6(3),s.Q6J("innerHTML",N.autoAssignHint,s.oJD),s.xp6(1),s.Q6J("ngModel",N.asActive),s.xp6(1),s.hij(" ",s.lcZ(18,23,"DIALOGS.ADD_GROUP_RESOURCES.AS_ACTIVE")," "),s.xp6(3),s.hij(" ",N.asActiveHint," "),s.xp6(1),s.Q6J("ngModel",N.async),s.xp6(1),s.hij(" ",s.lcZ(23,25,"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OPT")," "),s.xp6(3),s.hij(" ",N.asyncHint," ")}}function te(M,S){if(1&M){const P=s.EpF();s.TgZ(0,"button",22),s.NdJ("click",function(){return s.CHM(P),s.oxw(2).stepperPrevious()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&M&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.ADD_GROUP_RESOURCES.BACK")," "))}function ae(M,S){if(1&M){const P=s.EpF();s.TgZ(0,"button",23),s.NdJ("click",function(){return s.CHM(P),s.oxw(2).stepperNext()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&M){const P=s.oxw(2);s.ekj("ml-2",void 0!==P.stepper&&0!==P.stepper.selectedIndex)("ml-auto",!(void 0!==P.stepper&&0!==P.stepper.selectedIndex)),s.Q6J("disabled",0===P.selection.selected.length||void 0!==P.list&&!P.list.addAuth),s.xp6(1),s.hij(" ",s.lcZ(2,6,"DIALOGS.ADD_GROUP_RESOURCES.NEXT")," ")}}function pe(M,S){if(1&M){const P=s.EpF();s.TgZ(0,"button",24),s.NdJ("click",function(){return s.CHM(P),s.oxw(2).onSubmit()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&M){const P=s.oxw(2);s.Q6J("disabled",0===P.selection.selected.length||P.loading),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.ADD_GROUP_RESOURCES.ADD")," ")}}function Be(M,S){if(1&M){const P=s.EpF();s.TgZ(0,"div",16),s.TgZ(1,"button",17),s.NdJ("click",function(){return s.CHM(P),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,te,3,3,"button",18),s.YNc(5,ae,3,8,"button",19),s.TgZ(6,"span",20),s.ALo(7,"translate"),s.YNc(8,pe,3,4,"button",21),s.qZA(),s.qZA()}if(2&M){const P=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,6,"DIALOGS.ADD_GROUP_RESOURCES.CANCEL")," "),s.xp6(2),s.Q6J("ngIf",void 0!==P.stepper&&0!==P.stepper.selectedIndex),s.xp6(1),s.Q6J("ngIf",void 0!==P.stepper&&P.stepper.selectedIndex!==P.stepper._steps.length-1),s.xp6(1),s.s9C("matTooltip",s.lcZ(7,8,"DIALOGS.ADD_GROUP_RESOURCES.ADD_PERMISSION_TOOLTIP")),s.Q6J("matTooltipDisabled",void 0===P.list||P.list.addAuth),s.xp6(2),s.Q6J("ngIf",void 0!==P.stepper&&P.stepper.selectedIndex===P.stepper._steps.length-1)}}let Fe=(()=>{class M{constructor(P,N,ne,j,Te,n,r){this.dialogRef=P,this.data=N,this.notificator=ne,this.translate=j,this.resourcesManager=Te,this.guiAuthResolver=n,this.cd=r,this.filterValue="",this.resources=[],this.selection=new e.Ov(!0,[]),this.theme="",this.async=!0,this.autoAssignSubgroups=!1,this.asActive=!0,this.tableId=g.dK}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.autoAssignHint=this.translate.instant("DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS_OFF_HINT"),this.asActiveHint=this.translate.instant("DIALOGS.ADD_GROUP_RESOURCES.ACTIVE_ON_HINT"),this.asyncHint=this.translate.instant("DIALOGS.ADD_GROUP_RESOURCES.ASYNC_ON_HINT"),this.resourcesManager.getRichResources(this.data.group.voId).subscribe(P=>{this.resourcesManager.getAssignedResourcesWithGroup(this.data.group.id).subscribe(N=>{for(const ne of P)-1===N.findIndex(j=>j.id===ne.id)&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",[this.data.group,ne])&&this.resources.push(ne);this.loading=!1,this.cd.detectChanges()},()=>this.loading=!1)},()=>this.loading=!1)}applyFilter(P){this.filterValue=P}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const P=this.selection.selected.map(N=>N.id);this.resourcesManager.assignGroupToResources(this.data.group.id,P,this.async,!this.asActive,this.autoAssignSubgroups).subscribe(()=>{this.translate.get("DIALOGS.ADD_GROUP_RESOURCES.SUCCESS").subscribe(N=>{this.notificator.showSuccess(N),this.dialogRef.close(!0)})},()=>this.loading=!1)}changeSubgroupsMessage(){this.autoAssignHint=this.translate.instant(this.autoAssignSubgroups?"DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS_OFF_HINT":"DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS_ON_HINT")}changeInactiveMessage(){this.asActiveHint=this.translate.instant(this.asActive?"DIALOGS.ADD_GROUP_RESOURCES.ACTIVE_OFF_HINT":"DIALOGS.ADD_GROUP_RESOURCES.ACTIVE_ON_HINT")}changeAsyncMessage(){this.asyncHint=this.translate.instant(this.async?"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OFF_HINT":"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_ON_HINT")}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return M.\u0275fac=function(P){return new(P||M)(s.Y36(v.so),s.Y36(v.WI),s.Y36(m.V6),s.Y36(b.sK),s.Y36(f.xk),s.Y36(m.x4),s.Y36(s.sBO))},M.\u0275cmp=s.Xpm({type:M,selectors:[["app-add-group-resource-dialog"]],viewQuery:function(P,N){if(1&P&&(s.Gf(Ne,5),s.Gf(ce,5)),2&P){let ne;s.iGM(ne=s.CRH())&&(N.list=ne.first),s.iGM(ne=s.CRH())&&(N.stepper=ne.first)}},decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[3,"linear"],["stepper",""],[3,"completed"],["matStepLabel",""],[3,"placeholder","filter"],[3,"tableId","resources","disableRouting","selection","groupToResource","displayedColumns","filterValue"],["list",""],["labelPosition","before",1,"mt-3","slide-text",3,"ngModel","toggleChange","ngModelChange"],[1,"text-muted","new-line","mt-2"],[3,"innerHTML"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["class","ml-auto","color","accent","mat-flat-button","","type","button",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","","type","button",1,"ml-auto",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(P,N){1&P&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Pe,1,0,"mat-spinner",1),s.YNc(5,W,26,28,"div",2),s.YNc(6,Be,9,10,"div",3),s.qZA()),2&P&&(s.Tol(N.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"DIALOGS.ADD_GROUP_RESOURCES.TITLE")),s.xp6(2),s.Q6J("ngIf",N.loading),s.xp6(1),s.Q6J("ngIf",!N.loading),s.xp6(1),s.Q6J("ngIf",!N.loading&&void 0!==N.stepper))},directives:[v.uh,R.O5,E.$g,v.xY,h.Vq,h.C0,h.VY,x.P,k.C,G.Rr,X.JJ,X.On,v.H8,he.lW,re.gM],pipes:[b.X$],styles:[""]}),M})();var ke=d(32075);function De(M,S){1&M&&s._UZ(0,"mat-spinner",4)}function be(M,S){1&M&&s._UZ(0,"th",13)}function z(M,S){if(1&M&&(s.TgZ(0,"td",14),s._uU(1),s.qZA()),2&M){const P=S.$implicit;s.xp6(1),s.Oqu(P.name)}}function Ce(M,S){1&M&&s._UZ(0,"tr",15)}function J(M,S){1&M&&s._UZ(0,"tr",16)}function I(M,S){if(1&M&&(s.TgZ(0,"div",5),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",6),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",7),s.ynx(8,8),s.YNc(9,be,1,0,"th",9),s.YNc(10,z,2,1,"td",10),s.BQk(),s.YNc(11,Ce,1,0,"tr",11),s.YNc(12,J,1,0,"tr",12),s.qZA(),s.qZA()),2&M){const P=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,"DIALOGS.REMOVE_RESOURCES.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"DIALOGS.REMOVE_RESOURCES.ASK")," "),s.xp6(2),s.Q6J("dataSource",P.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",P.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",P.displayedColumns)}}function Ie(M,S){if(1&M){const P=s.EpF();s.TgZ(0,"div",17),s.TgZ(1,"button",18),s.NdJ("click",function(){return s.CHM(P),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",19),s.NdJ("click",function(){return s.CHM(P),s.oxw().onSubmit()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&M){const P=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"DIALOGS.REMOVE_RESOURCES.CANCEL")," "),s.xp6(2),s.Q6J("disabled",P.loading),s.xp6(1),s.hij(" ",s.lcZ(6,5,"DIALOGS.REMOVE_RESOURCES.DELETE")," ")}}let Re=(()=>{class M{constructor(P,N,ne,j,Te){this.dialogRef=P,this.data=N,this.notificator=ne,this.translate=j,this.resourcesManager=Te,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new ke.by(this.data.resources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const P=this.data.resources.map(N=>N.id);this.resourcesManager.removeGroupFromResources(this.data.groupId,P).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(N=>{this.loading=!1,this.notificator.showSuccess(N),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return M.\u0275fac=function(P){return new(P||M)(s.Y36(v.so),s.Y36(v.WI),s.Y36(m.V6),s.Y36(b.sK),s.Y36(f.xk))},M.\u0275cmp=s.Xpm({type:M,selectors:[["app-remove-group-resource-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(P,N){1&P&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,De,1,0,"mat-spinner",1),s.YNc(5,I,13,9,"div",2),s.YNc(6,Ie,7,7,"div",3),s.qZA()),2&P&&(s.Tol(N.data.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"DIALOGS.REMOVE_RESOURCES.TITLE")),s.xp6(2),s.Q6J("ngIf",N.loading),s.xp6(1),s.Q6J("ngIf",!N.loading),s.xp6(1),s.Q6J("ngIf",!N.loading))},directives:[v.uh,R.O5,E.$g,v.xY,ke.BZ,ke.w1,ke.fO,ke.ge,ke.Dz,ke.ev,ke.as,ke.XQ,ke.nj,ke.Gk,v.H8,he.lW],pipes:[b.X$],styles:[""]}),M})();var ze=d(9244),fe=d(96214),ve=d(7434);const We=["list"];function nt(M,S){if(1&M){const P=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(P),s.oxw().addResource()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&M&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"GROUP_DETAIL.RESOURCES.ADD")," "))}function st(M,S){1&M&&s._UZ(0,"mat-spinner",9)}const dt=function(){return["select","id","indirectResourceAssigment","name","status","facility","tags","description"]};function L(M,S){if(1&M){const P=s.EpF();s.TgZ(0,"perun-web-apps-resources-list",10,11),s.NdJ("refreshTable",function(){return s.CHM(P),s.oxw().refreshTable()}),s.qZA()}if(2&M){const P=s.oxw();s.Q6J("tableId",P.tableId)("filterValue",P.filterValue)("resources",P.resources)("routingVo",!0)("disableRouting",!P.routingAuth)("selection",P.selected)("groupToResource",P.group)("groupId",P.group.id)("resourcesToDisableCheckbox",P.resourcesToDisable)("displayedColumns",s.DdM(10,dt))}}let de=(()=>{class M{constructor(P,N,ne,j,Te){this.resourcesManager=P,this.groupService=N,this.dialog=ne,this.guiAuthResolver=j,this.entityStorageService=Te,this.resources=null,this.selected=new e.Ov(!0,[]),this.filterValue="",this.tableId=g.v1,this.addAuth=!1}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.setAuthorization(),this.refreshTable()}setAuthorization(){null!==this.resources&&0!==this.resources.length&&(this.routingAuth=this.guiAuthResolver.isAuthorized("getResourceById_int_policy",[this.resources[0]])),this.addAuth=this.guiAuthResolver.isAuthorized("getResources_Vo_policy",[this.group])}refreshTable(){this.loading=!0,this.resourcesManager.getResourceAssignments(this.group.id).subscribe(P=>{this.resources=P.map(N=>{const ne=N.enrichedResource.resource;return ne.facility=N.facility,ne.status=N.status,ne.resourceTags=N.resourceTags,ne.failureCause=N.failureCause,ne.sourceGroupId=N.sourceGroupId,ne}),this.selected.clear(),this.resourcesToDisable=new Set(this.resources.filter(N=>null!==N.sourceGroupId).map(N=>N.id)),this.setAuthorization(),this.loading=!1})}applyFilter(P){this.filterValue=P}addResource(){const P=(0,ze.kZ)();P.width="1000px",P.data={theme:"group-theme",group:this.group},this.dialog.open(Fe,P).afterClosed().subscribe(ne=>{ne&&this.refreshTable()})}removeResource(){const P=(0,ze.kZ)();P.width="450px",P.data={theme:"group-theme",resources:this.selected.selected,groupId:this.group.id},this.dialog.open(Re,P).afterClosed().subscribe(ne=>{ne&&(this.selected.clear(),this.refreshTable())})}}return M.id="GroupResourcesComponent",M.\u0275fac=function(P){return new(P||M)(s.Y36(f.xk),s.Y36(f.ff),s.Y36(v.uw),s.Y36(m.x4),s.Y36(m.fb))},M.\u0275cmp=s.Xpm({type:M,selectors:[["app-group-resources"]],viewQuery:function(P,N){if(1&P&&s.Gf(We,5),2&P){let ne;s.iGM(ne=s.CRH())&&(N.list=ne.first)}},hostVars:2,hostBindings:function(P,N){2&P&&s.ekj("router-component",N.true)},decls:14,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","resourcesToDisableCheckbox","displayedColumns","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","resourcesToDisableCheckbox","displayedColumns","refreshTable"],["list",""]],template:function(P,N){1&P&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return N.refreshTable()}),s.qZA(),s.YNc(5,nt,3,3,"button",2),s.TgZ(6,"span",3),s.ALo(7,"translate"),s.TgZ(8,"button",4),s.NdJ("click",function(){return N.removeResource()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.TgZ(11,"perun-web-apps-immediate-filter",5),s.NdJ("filter",function(j){return N.applyFilter(j)}),s.qZA(),s.YNc(12,st,1,0,"mat-spinner",6),s.YNc(13,L,2,11,"perun-web-apps-resources-list",7),s.qZA()),2&P&&(s.xp6(2),s.Oqu(s.lcZ(3,9,"GROUP_DETAIL.RESOURCES.TITLE")),s.xp6(3),s.Q6J("ngIf",N.addAuth),s.xp6(1),s.s9C("matTooltip",s.lcZ(7,11,"GROUP_DETAIL.RESOURCES.DELETE_PERMISSION_HINT")),s.Q6J("matTooltipDisabled",0===N.selected.selected.length||void 0!==N.list&&N.list.removeAuth),s.xp6(2),s.Q6J("disabled",0===N.selected.selected.length||void 0!==N.list&&!N.list.removeAuth),s.xp6(1),s.hij(" ",s.lcZ(10,13,"GROUP_DETAIL.RESOURCES.DELETE")," "),s.xp6(2),s.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),s.xp6(1),s.Q6J("ngIf",N.loading),s.xp6(1),s.Q6J("ngIf",N.resources&&!N.loading))},directives:[fe.t,R.O5,he.lW,re.gM,ve.L,E.$g,k.C],pipes:[b.X$],styles:[""]}),M})()},14336:(Ze,ge,d)=>{"use strict";d.d(ge,{Z:()=>Re});var e=d(36908),f=d(51076),g=d(83491),v=d(95502),m=d(1186),A=d(112),s=d(9244),b=d(5e3),R=d(48966),E=d(51062),h=d(11735),x=d(69808),k=d(20773),G=d(25245),X=d(29772),he=d(32368),re=d(93075),Ne=d(47423),ce=d(4834),Pe=d(96214),se=d(98380),V=d(157);const F=["autoRegToggle"];function W(ze,fe){1&ze&&b._UZ(0,"mat-spinner",3)}function te(ze,fe){if(1&ze&&(b.TgZ(0,"span"),b._uU(1," , "),b.TgZ(2,"mat-icon",22),b._uU(3,"nat"),b.qZA(),b._uU(4),b.ALo(5,"translate"),b.ALo(6,"translate"),b.qZA()),2&ze){const ve=b.oxw(3);b.xp6(4),b.hij(" ",ve.applicationForm.automaticApprovalEmbedded?b.lcZ(5,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(6,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," ")}}function ae(ze,fe){if(1&ze){const ve=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"mat-slide-toggle",23,24),b.NdJ("change",function(){return b.CHM(ve),b.oxw(3).updateAutoRegistration()}),b._uU(3),b.ALo(4,"translate"),b.qZA(),b.qZA()}if(2&ze){const ve=b.oxw(3);b.xp6(1),b.Q6J("disabled",!ve.changeAutoRegistration)("ngModel",ve.autoRegistrationEnabled),b.xp6(2),b.hij(" ",b.lcZ(4,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ALLOW_EMBEDDED")," ")}}function pe(ze,fe){if(1&ze){const ve=b.EpF();b.TgZ(0,"button",25),b.NdJ("click",function(){return b.CHM(ve),b.oxw(3).settings()}),b.TgZ(1,"i",12),b._uU(2,"edit"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&ze&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function Be(ze,fe){if(1&ze&&(b.TgZ(0,"div",15),b.TgZ(1,"div",16),b.TgZ(2,"div",17),b._uU(3),b.ALo(4,"translate"),b.qZA(),b.TgZ(5,"div"),b.TgZ(6,"span",17),b._uU(7),b.ALo(8,"translate"),b.qZA(),b._uU(9,": "),b.TgZ(10,"mat-icon",18),b._uU(11,"arrow_right_alt"),b.qZA(),b._uU(12),b.ALo(13,"translate"),b.ALo(14,"translate"),b.TgZ(15,"mat-icon",19),b._uU(16,"restore"),b.qZA(),b._uU(17),b.ALo(18,"translate"),b.ALo(19,"translate"),b.YNc(20,te,7,5,"span",2),b.qZA(),b.YNc(21,ae,5,5,"div",2),b.qZA(),b.TgZ(22,"div",20),b.YNc(23,pe,5,3,"button",21),b.qZA(),b.qZA()),2&ze){const ve=b.oxw(2);b.xp6(1),b.Q6J("ngClass",ve.autoRegistrationEnabled?"w-75":"w-50"),b.xp6(2),b.AsE(" ",b.lcZ(4,9,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",ve.applicationForm.moduleClassName," "),b.xp6(4),b.Oqu(b.lcZ(8,11,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),b.xp6(5),b.hij(" ",ve.applicationForm.automaticApproval?b.lcZ(13,13,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(14,15,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," , "),b.xp6(5),b.hij(" ",ve.applicationForm.automaticApprovalExtension?b.lcZ(18,17,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(19,19,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),b.xp6(3),b.Q6J("ngIf",ve.autoRegistrationEnabled),b.xp6(1),b.Q6J("ngIf",ve.voHasEmbeddedGroupApplication),b.xp6(2),b.Q6J("ngIf",ve.editAuth)}}function Fe(ze,fe){if(1&ze){const ve=b.EpF();b.TgZ(0,"button",26),b.NdJ("click",function(){return b.CHM(ve),b.oxw(2).add()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&ze&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function ke(ze,fe){if(1&ze){const ve=b.EpF();b.TgZ(0,"button",27),b.NdJ("click",function(){return b.CHM(ve),b.oxw(2).save()}),b.TgZ(1,"i",12),b._uU(2,"save"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}if(2&ze){const ve=b.oxw(2);b.Q6J("disabled",!ve.itemsChanged),b.xp6(3),b.hij(" ",b.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function De(ze,fe){if(1&ze){const ve=b.EpF();b.TgZ(0,"button",28),b.NdJ("click",function(){return b.CHM(ve),b.oxw(2).copy()}),b.TgZ(1,"i",12),b._uU(2,"file_copy"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&ze&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.COPY_GROUP_BUTTON")," "))}function be(ze,fe){1&ze&&(b.TgZ(0,"app-alert",29),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ze&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}const z=function(){return["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]},Ce=function(){return["shortname","type","disabled","hidden","preview","managegroups"]};function J(ze,fe){if(1&ze){const ve=b.EpF();b.TgZ(0,"div"),b.YNc(1,Be,24,21,"div",4),b._UZ(2,"mat-divider",5),b.TgZ(3,"div",6),b.TgZ(4,"perun-web-apps-refresh-button",7),b.NdJ("refresh",function(){return b.CHM(ve),b.oxw().updateFormItems()}),b.qZA(),b.YNc(5,Fe,3,3,"button",8),b.YNc(6,ke,5,4,"button",9),b.YNc(7,De,5,3,"button",10),b.TgZ(8,"button",11),b.NdJ("click",function(){return b.CHM(ve),b.oxw().preview()}),b.TgZ(9,"i",12),b._uU(10,"search"),b.qZA(),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.qZA(),b.YNc(13,be,3,3,"app-alert",13),b.TgZ(14,"app-application-form-list",14),b.NdJ("applicationFormItemsChange",function(){return b.CHM(ve),b.oxw().changeItems()}),b.qZA(),b.qZA()}if(2&ze){const ve=b.oxw();b.xp6(1),b.Q6J("ngIf",!ve.loading),b.xp6(4),b.Q6J("ngIf",ve.editAuth),b.xp6(1),b.Q6J("ngIf",ve.editAuth),b.xp6(1),b.Q6J("ngIf",ve.editAuth),b.xp6(4),b.hij(" ",b.lcZ(12,12,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),b.xp6(2),b.Q6J("ngIf",ve.editAuth),b.xp6(1),b.Q6J("loading",ve.loading)("applicationForm",ve.applicationForm)("applicationFormItems",ve.applicationFormItems)("theme","group-theme")("displayedColumns",ve.editAuth?b.DdM(14,z):b.DdM(15,Ce))("refreshApplicationForm",ve.refreshApplicationForm)}}function I(ze,fe){if(1&ze){const ve=b.EpF();b.TgZ(0,"button",32),b.NdJ("click",function(){return b.CHM(ve),b.oxw(2).createEmptyApplicationForm()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&ze&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CREATE_APPLICATION_FORM")," "))}function Ie(ze,fe){if(1&ze&&(b.TgZ(0,"div"),b.TgZ(1,"app-alert",30),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,I,3,3,"button",31),b.qZA()),2&ze){const ve=b.oxw();b.xp6(2),b.Oqu(b.lcZ(3,2,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM")),b.xp6(2),b.Q6J("ngIf",ve.createEmptyForm)}}let Re=(()=>{class ze{constructor(ve,We,nt,st,dt,L,de,M,S){this.registrarManager=ve,this.dialog=We,this.notificator=nt,this.translate=st,this.apiRequest=dt,this.router=L,this.guiAuthResolver=de,this.attributesManager=M,this.entityStorageService=S,this.loading=!1,this.applicationFormItems=[],this.noApplicationForm=!1,this.itemsChanged=!1,this.editAuth=!1,this.createEmptyForm=!1,this.voHasEmbeddedGroupApplication=!1,this.refreshApplicationForm=!1,this.idCounter=-1}ngOnInit(){this.loading=!0,this.group=this.entityStorageService.getEntity(),this.setAuth(),this.apiRequest.dontHandleErrorForNext(),this.registrarManager.getGroupApplicationForm(this.group.id).subscribe(ve=>{this.applicationForm=ve,this.registrarManager.getFormItemsForGroup(this.group.id).subscribe(We=>{this.applicationFormItems=We,this.attributesManager.getGroupAttributeByName(this.group.id,"urn:perun:group:attribute-def:virt:autoRegistrationEnabled").subscribe(nt=>{this.voHasEmbeddedGroupApplication=null!==nt.value,this.autoRegistrationEnabled=!!nt.value,this.loading=!1})},()=>this.loading=!1)},ve=>{"FormNotExistsException"===ve.error.name?(this.noApplicationForm=!0,this.loading=!1):this.notificator.showRPCError(ve.error)})}setAuth(){this.editAuth=this.guiAuthResolver.isAuthorized("group-updateFormItems_ApplicationForm_List_policy",[this.group]),this.createEmptyForm=this.guiAuthResolver.isAuthorized("createApplicationFormInGroup_Group_policy",[this.group]),this.changeAutoRegistration=this.guiAuthResolver.isAuthorized("addGroupsToAutoRegistration_List_policy",[this.group])}add(){let ve=(0,s.kZ)();ve.width="500px",ve.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(f.J,ve).afterClosed().subscribe(nt=>{nt&&(this.applicationFormItems=Object.assign([],nt[0]),ve=(0,s.kZ)(),ve.width="600px",ve.height="600px",ve.data={voId:this.group.voId,groupId:this.group.id,applicationFormItem:nt[1],theme:"group-theme",allItems:this.applicationFormItems},this.dialog.open(g._,ve),this.itemsChanged=!0)})}copy(){const ve=(0,s.kZ)();ve.width="500px",ve.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(v.W,ve).afterClosed().subscribe(nt=>{nt&&this.updateFormItems()})}settings(){const ve=(0,s.kZ)();ve.width="400px",ve.data={entity:"group",applicationForm:this.applicationForm,theme:"group-theme",autoRegistrationEnabled:this.autoRegistrationEnabled},this.dialog.open(m.E,ve).afterClosed().subscribe(nt=>{nt&&(this.translate.get("GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(st=>{this.notificator.showSuccess(st)}),this.applicationForm=nt)})}preview(){this.router.navigate(["/organizations",this.group.voId,"groups",this.group.id,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}updateFormItems(){this.loading=!0,this.refreshApplicationForm=!0,this.registrarManager.getFormItemsForGroup(this.group.id).subscribe(ve=>{this.applicationFormItems=ve,this.itemsChanged=!1,this.refreshApplicationForm=!1,this.loading=!1})}changeItems(){this.itemsChanged=!0}createEmptyApplicationForm(){this.registrarManager.createApplicationFormInGroup(this.group.id).subscribe(()=>{this.noApplicationForm=!1,this.ngOnInit()})}save(){let ve=0;for(const We of this.applicationFormItems)We.ordnum=ve,We.forDelete||ve++;this.registrarManager.updateFormItemsForGroup({group:this.group.id,items:this.applicationFormItems}).subscribe(()=>{this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(We=>{this.notificator.showSuccess(We)}),this.updateFormItems()})}clear(){this.applicationFormItems=[],this.itemsChanged=!0}updateAutoRegistration(){this.autoRegToggle.setDisabledState(!0),this.autoRegistrationEnabled?this.registrarManager.deleteGroupsFromAutoRegistration([this.group.id]).subscribe(()=>{this.autoRegistrationEnabled=!this.autoRegistrationEnabled,this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(ve=>{this.notificator.showSuccess(ve)}),this.autoRegToggle.setDisabledState(!1)},()=>this.autoRegToggle.setDisabledState(!1)):this.registrarManager.addGroupsToAutoRegistration([this.group.id]).subscribe(()=>{this.autoRegistrationEnabled=!this.autoRegistrationEnabled,this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(ve=>{this.notificator.showSuccess(ve)}),this.autoRegToggle.setDisabledState(!1)},()=>this.autoRegToggle.setDisabledState(!1))}}return ze.id="GroupSettingsApplicationFormComponent",ze.\u0275fac=function(ve){return new(ve||ze)(b.Y36(A.tk),b.Y36(R.uw),b.Y36(e.V6),b.Y36(E.sK),b.Y36(e.F5),b.Y36(h.F0),b.Y36(e.x4),b.Y36(A.H8),b.Y36(e.fb))},ze.\u0275cmp=b.Xpm({type:ze,selectors:[["app-group-settings-application-form"]],viewQuery:function(ve,We){if(1&ve&&b.Gf(F,5),2&ve){let nt;b.iGM(nt=b.CRH())&&(We.autoRegToggle=nt.first)}},hostVars:2,hostBindings:function(ve,We){2&ve&&b.ekj("router-component",We.true)},decls:6,vars:6,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["class","d-flex w-50",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","add-form-item",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2","data-cy","save-application-form",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","refreshApplicationForm","applicationFormItemsChange"],[1,"d-flex","w-50"],[3,"ngClass"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto action-button",3,"click",4,"ngIf"],["matTooltip","Embedded",1,"align-text-bottom"],["color","primary",3,"disabled","ngModel","change"],["autoRegToggle",""],["mat-stroked-button","",1,"ml-auto","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","add-form-item",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","save-application-form",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],["alert_type","info"],["alert_type","warn"],["mat-stroked-button","","data-cy","create-empty-form",3,"click",4,"ngIf"],["mat-stroked-button","","data-cy","create-empty-form",3,"click"]],template:function(ve,We){1&ve&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.YNc(3,W,1,0,"mat-spinner",1),b.YNc(4,J,15,16,"div",2),b.YNc(5,Ie,5,4,"div",2)),2&ve&&(b.xp6(1),b.hij(" ",b.lcZ(2,4,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),b.xp6(2),b.Q6J("ngIf",We.loading),b.xp6(1),b.Q6J("ngIf",!We.noApplicationForm),b.xp6(1),b.Q6J("ngIf",!We.loading&&We.noApplicationForm))},directives:[x.O5,k.$g,x.mk,G.Hw,X.gM,he.Rr,re.JJ,re.On,Ne.lW,ce.d,Pe.t,se.w,V.b],pipes:[E.X$],styles:[""]}),ze})()},15592:(Ze,ge,d)=>{"use strict";d.d(ge,{u:()=>J});var e=d(81889),f=d(20449),g=d(41656),v=d(9244),m=d(112),A=d(64080),s=d(10036),b=d(87842),R=d(36908),h=(d(80255),d(5e3)),x=d(48966),k=d(96214),G=d(69808),X=d(47423),he=d(29772),re=d(64901),Ne=d(32368),ce=d(93075),Pe=d(20773),se=d(58956),V=d(24179),F=d(51062);const W=["tree"],te=["list"],ae=["toggle"];function pe(I,Ie){if(1&I){const Re=h.EpF();h.TgZ(0,"button",10),h.NdJ("click",function(){return h.CHM(Re),h.oxw().onCreateGroup()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&I&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.SUBGROUPS.CREATE_GROUP")," "))}function Be(I,Ie){if(1&I){const Re=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(Re),h.oxw().deleteGroup()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&I){const Re=h.oxw();h.Q6J("disabled",0===Re.selected.selected.length||void 0!==Re.tree&&!Re.tree.removeAuth||void 0!==Re.list&&!Re.list.removeAuth),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.SUBGROUPS.DELETE_GROUP")," ")}}function Fe(I,Ie){1&I&&h._UZ(0,"mat-spinner",12)}function ke(I,Ie){if(1&I){const Re=h.EpF();h.TgZ(0,"perun-web-apps-groups-tree",16,17),h.NdJ("moveGroup",function(fe){return h.CHM(Re),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Re),h.oxw(2).refreshTable()}),h.qZA()}if(2&I){const Re=h.oxw(2);h.Q6J("groups",Re.groups)("expandAll",Re.filtering)("hideCheckbox",!Re.deleteAuth)("selection",Re.selected)("filterValue",Re.filterValue)("disableRouting",!Re.routeAuth)}}const De=function(){return["select","id","name","description","menu"]},be=function(){return["id","name","description","menu"]};function z(I,Ie){if(1&I){const Re=h.EpF();h.TgZ(0,"perun-web-apps-groups-list",18,19),h.NdJ("moveGroup",function(fe){return h.CHM(Re),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Re),h.oxw(2).refreshTable()}),h.qZA()}if(2&I){const Re=h.oxw(2);h.Q6J("tableId",Re.tableId)("groups",Re.groups)("selection",Re.selected)("authType","group-subgroups")("disableMembers",!0)("disableRouting",!Re.routeAuth)("displayedColumns",Re.deleteAuth?h.DdM(8,De):h.DdM(9,be))("filter",Re.filterValue)}}function Ce(I,Ie){if(1&I&&(h.TgZ(0,"div",13),h.YNc(1,ke,2,6,"perun-web-apps-groups-tree",14),h.YNc(2,z,2,10,"perun-web-apps-groups-list",15),h.qZA()),2&I){const Re=h.oxw();h.xp6(1),h.Q6J("ngIf",!Re.showGroupList),h.xp6(1),h.Q6J("ngIf",Re.showGroupList)}}let J=(()=>{class I{constructor(Re,ze,fe,ve){this.dialog=Re,this.groupService=ze,this.guiAuthResolver=fe,this.entityStorageService=ve,this.groups=[],this.selected=new f.Ov(!0,[]),this.showGroupList=!1,this.filtering=!1,this.tableId=s.bf,this.filterValue=""}onCreateGroup(){const Re=(0,v.kZ)();Re.width="450px",Re.data={parentGroup:this.group,theme:"group-theme"},this.dialog.open(e.y,Re).afterClosed().subscribe(fe=>{fe&&(this.loading=!0,this.refreshTable())})}ngOnInit(){"list"===localStorage.getItem("preferedValue")&&(this.toggle.toggle(),this.selected.clear(),this.showGroupList=!0),this.toggle.change.subscribe(()=>{localStorage.setItem("preferedValue",this.toggle.checked?"list":"tree")}),this.group=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}setAuthRights(){this.createAuth=this.guiAuthResolver.isAuthorized("createGroup_Group_Group_policy",[this.group]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteGroups_List_boolean_policy",[this.group]),0!==this.groups.length&&(this.routeAuth=this.guiAuthResolver.isAuthorized("getGroupById_int_policy",[this.groups[0]]))}deleteGroup(){const Re=(0,v.kZ)();Re.width="450px",Re.data={voId:this.group.id,groups:this.selected.selected,theme:"group-theme"},this.dialog.open(g.P,Re).afterClosed().subscribe(fe=>{fe&&this.refreshTable()})}refreshTable(){this.loading=!0,this.groupService.getAllRichSubGroupsWithGroupAttributesByNames(this.group.id,[A.r.GROUP_DEF_MAIL_FOOTER,A.r.GROUP_SYNC_ENABLED,A.r.GROUP_LAST_SYNC_STATE,A.r.GROUP_LAST_SYNC_TIMESTAMP,A.r.GROUP_STRUCTURE_SYNC_ENABLED,A.r.GROUP_LAST_STRUCTURE_SYNC_STATE,A.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(Re=>{this.groups=Re,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(Re){this.filterValue=Re,this.filtering=""!==Re}onMoveGroup(Re){const ze=(0,v.kZ)();ze.width="550px",ze.data={group:Re,theme:"group-theme"},this.dialog.open(b.c,ze).afterClosed().subscribe(ve=>{ve&&this.refreshTable()})}}return I.id="GroupSubgroupsComponent",I.\u0275fac=function(Re){return new(Re||I)(h.Y36(x.uw),h.Y36(m.ff),h.Y36(R.x4),h.Y36(R.fb))},I.\u0275cmp=h.Xpm({type:I,selectors:[["app-group-subgroups"]],viewQuery:function(Re,ze){if(1&Re&&(h.Gf(W,5),h.Gf(te,5),h.Gf(ae,7)),2&Re){let fe;h.iGM(fe=h.CRH())&&(ze.tree=fe.first),h.iGM(fe=h.CRH())&&(ze.list=fe.first),h.iGM(fe=h.CRH())&&(ze.toggle=fe.first)}},hostVars:2,hostBindings:function(Re,ze){2&Re&&h.ekj("router-component",ze.true)},decls:19,vars:20,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2 action-button","color","accent","data-cy","new-subgroup-button","mat-flat-button","",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn","class","mr-2","data-cy","delete-group-button",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["color","primary","labelPosition","before",1,"mr-1",3,"ngModel","change","ngModelChange"],["toggle",""],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["color","accent","data-cy","new-subgroup-button","mat-flat-button","",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-group-button",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable",4,"ngIf"],[3,"tableId","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","moveGroup","refreshTable",4,"ngIf"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable"],["tree",""],[3,"tableId","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","moveGroup","refreshTable"],["list",""]],template:function(Re,ze){if(1&Re&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return ze.refreshTable()}),h.qZA(),h.YNc(5,pe,3,3,"button",2),h.TgZ(6,"span",3),h.ALo(7,"translate"),h.YNc(8,Be,3,4,"button",4),h.qZA(),h.TgZ(9,"perun-web-apps-debounce-filter",5),h.NdJ("filter",function(ve){return ze.applyFilter(ve)}),h.qZA(),h.TgZ(10,"mat-slide-toggle",6,7),h.NdJ("change",function(){return ze.selected.clear()})("ngModelChange",function(ve){return ze.showGroupList=ve}),h._uU(12),h.ALo(13,"translate"),h.qZA(),h.TgZ(14,"label"),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.YNc(17,Fe,1,0,"mat-spinner",8),h.YNc(18,Ce,3,2,"div",9),h.qZA()),2&Re){const fe=h.MAs(11);h.xp6(2),h.Oqu(h.lcZ(3,12,"GROUP_DETAIL.SUBGROUPS.TITLE")),h.xp6(3),h.Q6J("ngIf",ze.createAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(7,14,"GROUP_DETAIL.SUBGROUPS.DELETE_PERMISSION_HINT")),h.Q6J("matTooltipDisabled",void 0===ze.tree&&void 0===ze.list||void 0!==ze.tree&&ze.tree.removeAuth||void 0!==ze.list&&ze.list.removeAuth),h.xp6(2),h.Q6J("ngIf",ze.deleteAuth),h.xp6(1),h.Q6J("placeholder","GROUP_DETAIL.SUBGROUPS.FILTER"),h.xp6(1),h.Q6J("ngModel",ze.showGroupList),h.xp6(2),h.Oqu(h.lcZ(13,16,"GROUP_DETAIL.SUBGROUPS.TREE_VIEW")),h.xp6(2),h.uIk("for",fe.inputId),h.xp6(1),h.Oqu(h.lcZ(16,18,"GROUP_DETAIL.SUBGROUPS.LIST_VIEW")),h.xp6(2),h.Q6J("ngIf",ze.loading),h.xp6(1),h.Q6J("ngIf",!ze.loading)}},directives:[k.t,G.O5,X.lW,he.gM,re.P,Ne.Rr,ce.JJ,ce.On,Pe.$g,se.I,V.W],pipes:[F.X$],styles:[""]}),I})()},85243:(Ze,ge,d)=>{"use strict";d.d(ge,{j:()=>Re});var e=d(112),f=d(10036),g=d(20449),v=d(9244),m=d(48966),A=d(36908),s=d(64080),b=d(5e3),R=d(51062),E=d(69808),h=d(20773),x=d(7434),k=d(24179),G=d(47423);function X(ze,fe){1&ze&&b._UZ(0,"mat-spinner",6)}function he(ze,fe){if(1&ze){const ve=b.EpF();b.TgZ(0,"perun-web-apps-immediate-filter",7),b.NdJ("filter",function(nt){return b.CHM(ve),b.oxw().applyFilter(nt)}),b.qZA()}2&ze&&b.Q6J("placeholder","DIALOGS.ADD_MEMBER_GROUP.FILTER")}const re=function(){return["select","id","name","description"]};function Ne(ze,fe){if(1&ze&&b._UZ(0,"perun-web-apps-groups-list",8),2&ze){const ve=b.oxw();b.Q6J("groups",ve.groups)("selection",ve.selection)("displayedColumns",b.DdM(8,re))("filter",ve.filterValue)("groupsToDisableCheckbox",ve.membersGroups)("disableGroups",!0)("disableRouting",!0)("disableMembers",!0)}}function ce(ze,fe){if(1&ze){const ve=b.EpF();b.TgZ(0,"div",9),b.TgZ(1,"button",10),b.NdJ("click",function(){return b.CHM(ve),b.oxw().onCancel()}),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"button",11),b.NdJ("click",function(){return b.CHM(ve),b.oxw().onAdd()}),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.qZA()}if(2&ze){const ve=b.oxw();b.xp6(2),b.hij(" ",b.lcZ(3,3,"DIALOGS.ADD_MEMBER_GROUP.CANCEL")," "),b.xp6(2),b.Q6J("disabled",0===ve.selection.selected.length),b.xp6(1),b.hij(" ",b.lcZ(6,5,"DIALOGS.ADD_MEMBER_GROUP.ADD")," ")}}let Pe=(()=>{class ze{constructor(ve,We,nt,st,dt,L,de){this.dialogRef=ve,this.data=We,this.groupManager=nt,this.memberManager=st,this.notificator=dt,this.translate=L,this.authResolver=de,this.loading=!1,this.groups=[],this.selection=new g.Ov(!0,[]),this.attrNames=[s.r.GROUP_SYNC_ENABLED,s.r.GROUP_LAST_SYNC_STATE,s.r.GROUP_LAST_SYNC_TIMESTAMP,s.r.GROUP_STRUCTURE_SYNC_ENABLED,s.r.GROUP_LAST_STRUCTURE_SYNC_STATE,s.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.filterValue=""}ngOnInit(){this.theme=this.data.theme,this.membersGroups=this.data.membersGroups,this.loading=!0,this.memberManager.getMemberById(this.data.memberId).subscribe(ve=>{this.member=ve,this.groupManager.getAllRichGroupsWithAttributesByNames(this.member.voId,this.attrNames).subscribe(We=>{this.groups=We.filter(nt=>this.authResolver.isAuthorized("addMember_Group_Member_policy",[nt])),this.loading=!1},()=>this.loading=!1)})}onAdd(){const ve=this.selection.selected.map(We=>We.id);this.loading=!0,this.groupManager.addMember(ve,this.member.id).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_MEMBER_GROUP.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}applyFilter(ve){this.filterValue=ve}}return ze.\u0275fac=function(ve){return new(ve||ze)(b.Y36(m.so),b.Y36(m.WI),b.Y36(e.ff),b.Y36(e.uq),b.Y36(A.V6),b.Y36(R.sK),b.Y36(A.x4))},ze.\u0275cmp=b.Xpm({type:ze,selectors:[["app-add-member-group-dialog"]],decls:9,vars:10,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter",4,"ngIf"],[3,"groups","selection","displayedColumns","filter","groupsToDisableCheckbox","disableGroups","disableRouting","disableMembers",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"placeholder","filter"],[3,"groups","selection","displayedColumns","filter","groupsToDisableCheckbox","disableGroups","disableRouting","disableMembers"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(ve,We){1&ve&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,X,1,0,"mat-spinner",1),b.TgZ(5,"div",2),b.YNc(6,he,1,1,"perun-web-apps-immediate-filter",3),b.YNc(7,Ne,1,9,"perun-web-apps-groups-list",4),b.qZA(),b.YNc(8,ce,7,7,"div",5),b.qZA()),2&ve&&(b.Tol(We.theme),b.xp6(2),b.Oqu(b.lcZ(3,8,"DIALOGS.ADD_MEMBER_GROUP.TITLE")),b.xp6(2),b.Q6J("ngIf",We.loading),b.xp6(2),b.Q6J("ngIf",!We.loading),b.xp6(1),b.Q6J("ngIf",!We.loading),b.xp6(1),b.Q6J("ngIf",!We.loading))},directives:[m.uh,E.O5,h.$g,m.xY,x.L,k.W,m.H8,G.lW],pipes:[R.X$],styles:[""]}),ze})();var se=d(32075);function V(ze,fe){1&ze&&b._UZ(0,"mat-spinner",6)}function F(ze,fe){1&ze&&b._UZ(0,"th",15)}function W(ze,fe){if(1&ze&&(b.TgZ(0,"td",16),b._uU(1),b.qZA()),2&ze){const ve=fe.$implicit;b.xp6(1),b.Oqu(ve.name)}}function te(ze,fe){1&ze&&b._UZ(0,"tr",17)}function ae(ze,fe){1&ze&&b._UZ(0,"tr",18)}function pe(ze,fe){if(1&ze&&(b.TgZ(0,"div",7),b.TgZ(1,"p"),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"div",8),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.TgZ(7,"table",9),b.ynx(8,10),b.YNc(9,F,1,0,"th",11),b.YNc(10,W,2,1,"td",12),b.BQk(),b.YNc(11,te,1,0,"tr",13),b.YNc(12,ae,1,0,"tr",14),b.qZA(),b.qZA()),2&ze){const ve=b.oxw();b.xp6(2),b.Oqu(b.lcZ(3,5,"DIALOGS.REMOVE_MEMBER_GROUP.DESCRIPTION")),b.xp6(3),b.hij(" ",b.lcZ(6,7,"DIALOGS.REMOVE_MEMBER_GROUP.ASK")," "),b.xp6(2),b.Q6J("dataSource",ve.dataSource),b.xp6(4),b.Q6J("matHeaderRowDef",ve.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",ve.displayedColumns)}}let Be=(()=>{class ze{constructor(ve,We,nt,st,dt){this.dialogRef=ve,this.data=We,this.groupManager=nt,this.notificator=st,this.translate=dt,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new se.by(this.data.groups)}onRemove(){this.loading=!0;const ve=this.dataSource.data.map(We=>We.id);this.groupManager.removeMember(ve,this.data.memberId).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_MEMBER_GROUP.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return ze.\u0275fac=function(ve){return new(ve||ze)(b.Y36(m.so),b.Y36(m.WI),b.Y36(e.ff),b.Y36(A.V6),b.Y36(R.sK))},ze.\u0275cmp=b.Xpm({type:ze,selectors:[["app-remove-member-group-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(ve,We){1&ve&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,V,1,0,"mat-spinner",1),b.YNc(5,pe,13,9,"div",2),b.TgZ(6,"div",3),b.TgZ(7,"button",4),b.NdJ("click",function(){return We.onCancel()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return We.onRemove()}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.qZA(),b.qZA()),2&ve&&(b.Tol(We.theme),b.xp6(2),b.Oqu(b.lcZ(3,9,"DIALOGS.REMOVE_MEMBER_GROUP.TITLE")),b.xp6(2),b.Q6J("ngIf",We.loading),b.xp6(1),b.Q6J("ngIf",!We.loading),b.xp6(3),b.hij(" ",b.lcZ(9,11,"DIALOGS.REMOVE_MEMBER_GROUP.CANCEL")," "),b.xp6(2),b.Q6J("disabled",We.loading),b.xp6(1),b.hij(" ",b.lcZ(12,13,"DIALOGS.REMOVE_MEMBER_GROUP.REMOVE")," "))},directives:[m.uh,E.O5,h.$g,m.xY,se.BZ,se.w1,se.fO,se.ge,se.Dz,se.ev,se.as,se.XQ,se.nj,se.Gk,m.H8,G.lW],pipes:[R.X$],styles:[""]}),ze})();d(80255);var ke=d(11735),De=d(96214),be=d(29772);const z=["list"];function Ce(ze,fe){if(1&ze){const ve=b.EpF();b.TgZ(0,"button",8),b.NdJ("click",function(){return b.CHM(ve),b.oxw().addGroup()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&ze&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"MEMBER_DETAIL.GROUPS.ADD"),"\n"))}function J(ze,fe){1&ze&&b._UZ(0,"mat-spinner",9)}const I=function(){return["select","id","vo","name","description","expiration"]};function Ie(ze,fe){if(1&ze){const ve=b.EpF();b.TgZ(0,"perun-web-apps-groups-list",10,11),b.NdJ("refreshTable",function(){return b.CHM(ve),b.oxw().refreshTable()}),b.qZA()}if(2&ze){const ve=b.oxw();b.Q6J("tableId",ve.tableId)("groups",ve.groups)("displayedColumns",b.DdM(9,I))("selection",ve.selection)("filter",ve.filterValue)("memberId",ve.memberId)("memberGroupStatus",ve.member.groupStatus)("disableRouting",!ve.routeAuth)("authType","member-groups")}}let Re=(()=>{class ze{constructor(ve,We,nt,st,dt){this.groupsService=ve,this.route=We,this.dialog=nt,this.authResolver=st,this.memberService=dt,this.filterValue="",this.tableId=f.W1,this.selection=new g.Ov(!0,[])}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(ve=>{this.memberId=ve.memberId,this.memberService.getMemberById(this.memberId).subscribe(We=>{this.member=We,this.groupsService.getAllGroups(this.member.voId).subscribe(nt=>{this.allGroups=nt,this.refreshTable()})})})}refreshTable(){this.loading=!0,this.groupsService.getMemberRichGroupsWithAttributesByNames(this.memberId,["urn:perun:member_group:attribute-def:def:groupMembershipExpiration"]).subscribe(ve=>{this.selection.clear(),this.groups=ve,this.setAuthRights(),this.loading=!1},()=>this.loading=!1)}setAuthRights(){const ve={id:this.member.voId,beanName:"Vo"};this.addAuth=this.allGroups.reduce((We,nt)=>We||this.authResolver.isAuthorized("addMember_Group_Member_policy",[nt]),!1),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[ve,this.groups[0]]))}addGroup(){const ve=(0,v.kZ)();ve.width="850px",ve.data={memberId:this.memberId,membersGroups:new Set(this.groups.map(nt=>nt.id)),theme:"member-theme"},this.dialog.open(Pe,ve).afterClosed().subscribe(nt=>{nt&&this.refreshTable()})}removeGroup(){const ve=(0,v.kZ)();ve.width="650px",ve.data={memberId:this.memberId,groups:this.selection.selected,theme:"member-theme"},this.dialog.open(Be,ve).afterClosed().subscribe(nt=>{nt&&this.refreshTable()})}applyFilter(ve){this.filterValue=ve}}return ze.id="MemberGroupsComponent",ze.\u0275fac=function(ve){return new(ve||ze)(b.Y36(e.ff),b.Y36(ke.gz),b.Y36(m.uw),b.Y36(A.x4),b.Y36(e.uq))},ze.\u0275cmp=b.Xpm({type:ze,selectors:[["app-member-groups"]],viewQuery:function(ve,We){if(1&ve&&b.Gf(z,5),2&ve){let nt;b.iGM(nt=b.CRH())&&(We.list=nt.first)}},hostVars:2,hostBindings:function(ve,We){2&ve&&b.ekj("router-component",We.true)},decls:13,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"tableId","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],[1,"mr-auto","ml-auto"],[3,"tableId","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","refreshTable"],["list",""]],template:function(ve,We){1&ve&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"perun-web-apps-refresh-button",1),b.NdJ("refresh",function(){return We.refreshTable()}),b.qZA(),b.YNc(4,Ce,3,3,"button",2),b.TgZ(5,"span",3),b.ALo(6,"translate"),b.TgZ(7,"button",4),b.NdJ("click",function(){return We.removeGroup()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.qZA(),b.TgZ(10,"perun-web-apps-immediate-filter",5),b.NdJ("filter",function(st){return We.applyFilter(st)}),b.qZA(),b.YNc(11,J,1,0,"mat-spinner",6),b.YNc(12,Ie,2,10,"perun-web-apps-groups-list",7)),2&ve&&(b.xp6(1),b.Oqu(b.lcZ(2,9,"MEMBER_DETAIL.GROUPS.TITLE")),b.xp6(3),b.Q6J("ngIf",We.addAuth),b.xp6(1),b.s9C("matTooltip",b.lcZ(6,11,"MEMBER_DETAIL.GROUPS.REMOVE_PERMISSION_HINT")),b.Q6J("matTooltipDisabled",void 0===We.list||void 0!==We.list&&We.list.removeAuth),b.xp6(2),b.Q6J("disabled",0===We.selection.selected.length||void 0!==We.list&&!We.list.removeAuth),b.xp6(1),b.hij(" ",b.lcZ(9,13,"MEMBER_DETAIL.GROUPS.REMOVE")," "),b.xp6(2),b.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),b.xp6(1),b.Q6J("ngIf",We.loading),b.xp6(1),b.Q6J("ngIf",!We.loading))},directives:[De.t,E.O5,G.lW,be.gM,x.L,h.$g,k.W],pipes:[R.X$],styles:[""]}),ze})()},94856:(Ze,ge,d)=>{"use strict";d.d(ge,{c:()=>ce});var e=d(112),f=d(10036),g=d(93075),v=d(69808),m=d(36908),A=d(5e3),s=d(96214),b=d(47423),R=d(67322),E=d(74107),h=d(90508),x=d(64901),k=d(39798),G=d(77446),X=d(9146),he=d(51062);function re(Pe,se){if(1&Pe){const V=A.EpF();A.TgZ(0,"button",15),A.NdJ("click",function(){return A.CHM(V),A.oxw().showDetails(!0)}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&Pe&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function Ne(Pe,se){if(1&Pe){const V=A.EpF();A.TgZ(0,"button",15),A.NdJ("click",function(){return A.CHM(V),A.oxw().showDetails(!1)}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&Pe&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}let ce=(()=>{class Pe{constructor(V,F){this.registrarManager=V,this.entityStorageService=F,this.state="pending",this.currentStates=["NEW","VERIFIED"],this.simpleColumns=["id","createdAt","type","state","createdBy","groupName","modifiedBy"],this.detailedColumns=["id","createdAt","voId","voName","groupId","groupName","type","state","extSourceName","extSourceType","user","createdBy","modifiedBy","modifiedAt","fedInfo"],this.currentColumns=[],this.filterValue="",this.showAllDetails=!1,this.detailTableId=f.Jf,this.tableId=f.Hi,this.showGroupApps=!1,this.refresh=!1}ngOnInit(){this.vo=this.entityStorageService.getEntity(),this.startDate=new g.NI((0,v.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new g.NI((0,v.p6)(new Date,"yyyy-MM-dd","en-GB")),this.currentColumns=this.refreshColumns()}select(){switch(this.state){case"approved":this.currentStates=["APPROVED"];break;case"rejected":this.currentStates=["REJECTED"];break;case"wfmv":this.currentStates=["NEW"];break;case"submited":this.currentStates=["VERIFIED"];break;case"pending":this.currentStates=["NEW","VERIFIED"];break;case"all":this.currentStates=null}}yearAgo(){const V=new Date;return V.setDate(V.getDate()-365),V}showGroupApplications(V){this.showGroupApps=V.checked,this.currentColumns=this.refreshColumns()}showDetails(V){this.showAllDetails=V,this.currentColumns=this.refreshColumns()}applyFilter(V){this.filterValue=V}refreshColumns(){return this.showAllDetails?this.showGroupApps?this.detailedColumns:this.detailedColumns.filter(V=>"groupName"!==V&&"groupId"!==V):this.showGroupApps?this.simpleColumns:this.simpleColumns.filter(V=>"groupName"!==V)}}return Pe.id="VoApplicationsComponent",Pe.\u0275fac=function(V){return new(V||Pe)(A.Y36(e.tk),A.Y36(m.fb))},Pe.\u0275cmp=A.Xpm({type:Pe,selectors:[["app-vo-applications"]],hostVars:2,hostBindings:function(V,F){2&V&&A.ekj("router-component",F.true)},decls:38,vars:43,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"input-width-250","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],["color","primary",3,"checked","change"],[3,"tableId","searchString","displayedColumns","states","dateFrom","dateTo","includeGroupApps","refreshTable","vo"],["mat-stroked-button","",1,"mr-2",3,"click"]],template:function(V,F){1&V&&(A.TgZ(0,"h1",0),A._uU(1),A.ALo(2,"translate"),A.qZA(),A.TgZ(3,"div"),A.TgZ(4,"perun-web-apps-refresh-button",1),A.NdJ("refresh",function(){return F.refresh=!F.refresh}),A.qZA(),A.YNc(5,re,3,3,"button",2),A.YNc(6,Ne,3,3,"button",2),A.TgZ(7,"mat-form-field",3),A.TgZ(8,"mat-label"),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.TgZ(11,"mat-select",4),A.NdJ("selectionChange",function(){return F.select()})("valueChange",function(te){return F.state=te}),A.TgZ(12,"mat-option",5),A._uU(13),A.ALo(14,"translate"),A.qZA(),A.TgZ(15,"mat-option",6),A._uU(16),A.ALo(17,"translate"),A.qZA(),A.TgZ(18,"mat-option",7),A._uU(19),A.ALo(20,"translate"),A.qZA(),A.TgZ(21,"mat-option",8),A._uU(22),A.ALo(23,"translate"),A.qZA(),A.TgZ(24,"mat-option",9),A._uU(25),A.ALo(26,"translate"),A.qZA(),A.TgZ(27,"mat-option",10),A._uU(28),A.ALo(29,"translate"),A.qZA(),A.qZA(),A.qZA(),A.TgZ(30,"perun-web-apps-debounce-filter",11),A.NdJ("filter",function(te){return F.applyFilter(te)}),A.qZA(),A.TgZ(31,"perun-web-apps-date-range",12),A.NdJ("datePicker",function(){return F.select()}),A.qZA(),A.TgZ(32,"div"),A.TgZ(33,"mat-checkbox",13),A.NdJ("change",function(te){return F.showGroupApplications(te)}),A._uU(34),A.ALo(35,"translate"),A.qZA(),A.qZA(),A.qZA(),A.TgZ(36,"div"),A._UZ(37,"app-applications-dynamic-list",14),A.qZA()),2&V&&(A.xp6(1),A.Oqu(A.lcZ(2,25,"VO_DETAIL.APPLICATION.TITLE")),A.xp6(4),A.Q6J("ngIf",!F.showAllDetails),A.xp6(1),A.Q6J("ngIf",F.showAllDetails),A.xp6(3),A.Oqu(A.lcZ(10,27,"APPLICATIONS_LIST.STATE")),A.xp6(2),A.Q6J("value",F.state),A.xp6(2),A.Oqu(A.lcZ(14,29,"VO_DETAIL.APPLICATION.SELECTION_ALL")),A.xp6(3),A.Oqu(A.lcZ(17,31,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),A.xp6(3),A.Oqu(A.lcZ(20,33,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),A.xp6(3),A.Oqu(A.lcZ(23,35,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),A.xp6(3),A.Oqu(A.lcZ(26,37,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),A.xp6(3),A.Oqu(A.lcZ(29,39,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),A.xp6(2),A.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),A.xp6(1),A.Q6J("startDate",F.startDate)("endDate",F.endDate),A.xp6(2),A.Q6J("checked",F.showGroupApps),A.xp6(1),A.hij(" ",A.lcZ(35,41,"VO_DETAIL.APPLICATION.SHOW_GROUP_APPLICATIONS")," "),A.xp6(3),A.Q6J("tableId",F.showAllDetails?F.detailTableId:F.tableId)("searchString",F.filterValue)("displayedColumns",F.currentColumns)("states",F.currentStates)("dateFrom",F.startDate.value)("dateTo",F.endDate.value)("includeGroupApps",F.showGroupApps)("refreshTable",F.refresh)("vo",F.vo))},directives:[s.t,v.O5,b.lW,R.KE,R.hX,E.gD,h.ey,x.P,k.S,G.oG,X.S],pipes:[he.X$],styles:[""]}),Pe})()},4732:(Ze,ge,d)=>{"use strict";d.d(ge,{G:()=>J});var e=d(81889),f=d(41656),g=d(20449),v=d(87842),m=d(9244),A=d(112),s=d(10036),b=d(64080),R=d(36908),h=(d(80255),d(5e3)),x=d(48966),k=d(96214),G=d(69808),X=d(47423),he=d(29772),re=d(64901),Ne=d(32368),ce=d(93075),Pe=d(20773),se=d(58956),V=d(24179),F=d(98380),W=d(51062);const te=["toggle"],ae=["tree"],pe=["list"];function Be(I,Ie){if(1&I){const Re=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(Re),h.oxw().onCreateGroup()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&I&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.GROUPS.CREATE_GROUP")," "))}function Fe(I,Ie){1&I&&h._UZ(0,"mat-spinner",12)}function ke(I,Ie){if(1&I){const Re=h.EpF();h.TgZ(0,"perun-web-apps-groups-tree",16,17),h.NdJ("moveGroup",function(fe){return h.CHM(Re),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Re),h.oxw(2).loadAllGroups()}),h.qZA()}if(2&I){const Re=h.oxw(2);h.Q6J("groups",Re.groups)("expandAll",Re.filtering)("vo",Re.vo)("selection",Re.selected)("disableRouting",!Re.routeAuth)("filterValue",Re.filterValue)}}const De=function(){return["select","id","name","description","menu"]};function be(I,Ie){if(1&I){const Re=h.EpF();h.TgZ(0,"perun-web-apps-groups-list",18,19),h.NdJ("moveGroup",function(fe){return h.CHM(Re),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Re),h.oxw(2).loadAllGroups()}),h.qZA()}if(2&I){const Re=h.oxw(2);h.Q6J("tableId",Re.tableId)("groups",Re.groups)("selection",Re.selected)("disableMembers",!0)("displayedColumns",h.DdM(8,De))("disableRouting",!Re.routeAuth)("authType","vo-groups")("filter",Re.filterValue)}}function z(I,Ie){if(1&I&&(h.TgZ(0,"div",13),h.YNc(1,ke,2,6,"perun-web-apps-groups-tree",14),h.YNc(2,be,2,9,"perun-web-apps-groups-list",15),h.qZA()),2&I){const Re=h.oxw();h.xp6(1),h.Q6J("ngIf",!Re.showGroupList),h.xp6(1),h.Q6J("ngIf",Re.showGroupList)}}function Ce(I,Ie){1&I&&(h.TgZ(0,"app-alert",20),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&I&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.GROUPS.NO_GROUPS")," "))}let J=(()=>{class I{constructor(Re,ze,fe,ve){this.dialog=Re,this.groupService=ze,this.authResolver=fe,this.entityStorageService=ve,this.groups=[],this.showGroupList=!1,this.selected=new g.Ov(!0,[]),this.filtering=!1,this.filterValue="",this.tableId=s.rc}onCreateGroup(){const Re=(0,m.kZ)();Re.width="450px",Re.data={voId:this.vo.id,parentGroup:null,theme:"vo-theme"},this.dialog.open(e.y,Re).afterClosed().subscribe(fe=>{fe&&(this.loading=!0,this.loadAllGroups())})}ngOnInit(){this.loading=!0,"list"===localStorage.getItem("preferedValue")&&(this.toggle.toggle(),this.selected.clear(),this.showGroupList=!0),this.toggle.change.subscribe(()=>{localStorage.setItem("preferedValue",this.toggle.checked?"list":"tree"),this.loadAllGroups()}),this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.loadAllGroups()}setAuthRights(){this.createAuth=this.authResolver.isAuthorized("createGroup_Vo_Group_policy",[this.vo]),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[this.vo,this.groups[0]]))}disableRemove(){return void 0!==this.tree&&!this.tree.removeAuth||void 0!==this.list&&!this.list.removeAuth}disableTooltip(){return void 0!==this.tree&&this.tree.removeAuth||void 0!==this.list&&this.list.removeAuth}deleteGroup(){const Re=(0,m.kZ)();Re.width="450px",Re.data={voId:this.vo.id,groups:this.selected.selected,theme:"vo-theme"},this.dialog.open(f.P,Re).afterClosed().subscribe(fe=>{fe&&this.loadAllGroups()})}removeAllGroups(){this.selected.clear()}onMoveGroup(Re){const ze=(0,m.kZ)();ze.width="550px",ze.data={group:Re,theme:"vo-theme"},this.dialog.open(v.c,ze).afterClosed().subscribe(ve=>{ve&&this.loadAllGroups()})}loadAllGroups(){this.loading=!0,this.groupService.getAllRichGroupsWithAttributesByNames(this.vo.id,[b.r.GROUP_SYNC_ENABLED,b.r.GROUP_LAST_SYNC_STATE,b.r.GROUP_LAST_SYNC_TIMESTAMP,b.r.GROUP_STRUCTURE_SYNC_ENABLED,b.r.GROUP_LAST_STRUCTURE_SYNC_STATE,b.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(Re=>{this.groups=Re,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(Re){this.filterValue=Re,this.filtering=""!==Re}}return I.id="VoGroupsComponent",I.\u0275fac=function(Re){return new(Re||I)(h.Y36(x.uw),h.Y36(A.ff),h.Y36(R.x4),h.Y36(R.fb))},I.\u0275cmp=h.Xpm({type:I,selectors:[["app-vo-groups"]],viewQuery:function(Re,ze){if(1&Re&&(h.Gf(te,7),h.Gf(ae,5),h.Gf(pe,5)),2&Re){let fe;h.iGM(fe=h.CRH())&&(ze.toggle=fe.first),h.iGM(fe=h.CRH())&&(ze.tree=fe.first),h.iGM(fe=h.CRH())&&(ze.list=fe.first)}},hostVars:2,hostBindings:function(Re,ze){2&Re&&h.ekj("router-component",ze.true)},decls:22,vars:24,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","create-group-button",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn","data-cy","delete-group-button",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["color","primary","labelPosition","before",1,"mr-1",3,"ngModel","change","ngModelChange"],["toggle",""],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","create-group-button",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"tableId","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable"],["tree",""],["theme","vo-theme",3,"tableId","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","moveGroup","refreshTable"],["list",""],["alert_type","warn"]],template:function(Re,ze){if(1&Re&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return ze.loadAllGroups()}),h.qZA(),h.YNc(5,Be,3,3,"button",2),h.TgZ(6,"span",3),h.ALo(7,"translate"),h.TgZ(8,"button",4),h.NdJ("click",function(){return ze.deleteGroup()}),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.qZA(),h.TgZ(11,"perun-web-apps-debounce-filter",5),h.NdJ("filter",function(ve){return ze.applyFilter(ve)}),h.qZA(),h.TgZ(12,"mat-slide-toggle",6,7),h.NdJ("change",function(){return ze.removeAllGroups()})("ngModelChange",function(ve){return ze.showGroupList=ve}),h._uU(14),h.ALo(15,"translate"),h.qZA(),h.TgZ(16,"label"),h._uU(17),h.ALo(18,"translate"),h.qZA(),h.YNc(19,Fe,1,0,"mat-spinner",8),h.YNc(20,z,3,2,"div",9),h.YNc(21,Ce,3,3,"app-alert",10),h.qZA()),2&Re){const fe=h.MAs(13);h.xp6(2),h.Oqu(h.lcZ(3,14,"VO_DETAIL.GROUPS.TITLE")),h.xp6(3),h.Q6J("ngIf",ze.createAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(7,16,"VO_DETAIL.GROUPS.DELETE_PERMISSION_HINT")),h.Q6J("matTooltipDisabled",void 0===ze.tree&&void 0===ze.list||ze.disableTooltip()),h.xp6(2),h.Q6J("disabled",0===ze.selected.selected.length||ze.disableRemove()),h.xp6(1),h.hij(" ",h.lcZ(10,18,"VO_DETAIL.GROUPS.DELETE_GROUP")," "),h.xp6(2),h.Q6J("placeholder","VO_DETAIL.GROUPS.FILTER"),h.xp6(1),h.Q6J("ngModel",ze.showGroupList),h.xp6(2),h.Oqu(h.lcZ(15,20,"VO_DETAIL.GROUPS.TREE_VIEW")),h.xp6(2),h.uIk("for",fe.inputId),h.xp6(1),h.Oqu(h.lcZ(18,22,"VO_DETAIL.GROUPS.LIST_VIEW")),h.xp6(2),h.Q6J("ngIf",ze.loading),h.xp6(1),h.Q6J("ngIf",!ze.loading&&0!==ze.groups.length),h.xp6(1),h.Q6J("ngIf",0===ze.groups.length&&!ze.loading)}},directives:[k.t,G.O5,X.lW,he.gM,re.P,Ne.Rr,ce.JJ,ce.On,Pe.$g,se.I,V.W,F.w],pipes:[W.X$],styles:[""]}),I})()},81847:(Ze,ge,d)=>{"use strict";d.d(ge,{y:()=>De});var e=d(20449),f=d(36908),g=d(53455),v=d(97034),m=d(112),A=d(64080),s=d(93075),b=d(10036),R=d(9244),E=d(74414),h=d(5e3),x=d(48966),k=d(96214),G=d(29772),X=d(69808),he=d(47423),re=d(67322),Ne=d(74107),ce=d(90508),Pe=d(64901),se=d(20773),V=d(4811),F=d(51062),W=d(20551);function te(be,z){if(1&be){const Ce=h.EpF();h.TgZ(0,"button",14),h.NdJ("click",function(){return h.CHM(Ce),h.oxw().onAddMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&be){const Ce=h.oxw();h.Q6J("disabled",Ce.blockManualMemberAdding),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function ae(be,z){if(1&be){const Ce=h.EpF();h.TgZ(0,"button",15),h.NdJ("click",function(){return h.CHM(Ce),h.oxw().onInviteMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&be&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.MEMBERS.INVITE")," "))}function pe(be,z){if(1&be){const Ce=h.EpF();h.TgZ(0,"button",16),h.NdJ("click",function(){return h.CHM(Ce),h.oxw().onRemoveMembers()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&be){const Ce=h.oxw();h.Q6J("disabled",Ce.selection.isEmpty()),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function Be(be,z){if(1&be&&(h.TgZ(0,"mat-option",17),h._uU(1),h.ALo(2,"memberStatus"),h.qZA()),2&be){const Ce=z.$implicit;h.Q6J("value",Ce),h.xp6(1),h.Oqu(h.lcZ(2,2,Ce))}}function Fe(be,z){1&be&&h._UZ(0,"mat-spinner",18)}function ke(be,z){if(1&be&&h._UZ(0,"perun-web-apps-members-dynamic-list",19),2&be){const Ce=h.oxw();h.Q6J("voId",Ce.vo.id)("tableId",Ce.tableId)("selection",Ce.selection)("displayedColumns",Ce.displayedColumns)("attrNames",Ce.attrNames)("searchString",Ce.searchString)("selectedStatuses",Ce.selectedStatuses)("updateTable",Ce.updateTable)}}let De=(()=>{class be{constructor(Ce,J,I,Ie,Re,ze,fe){this.notificator=Ce,this.dialog=J,this.authzService=I,this.storeService=Ie,this.attributesManager=Re,this.apiRequest=ze,this.entityStorageService=fe,this.members=null,this.selection=new e.Ov(!0,[]),this.loading=!1,this.attrNames=[A.r.MEMBER_DEF_ORGANIZATION,A.r.MEMBER_DEF_MAIL,A.r.USER_DEF_ORGANIZATION,A.r.USER_DEF_PREFERRED_MAIL,A.r.MEMBER_DEF_EXPIRATION],this.statuses=new s.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=[],this.tableId=b.j1,this.displayedColumns=["checkbox","id","fullName","status","organization","email","logins"],this.updateTable=!1}ngOnInit(){this.loading=!0,this.statuses.setValue(this.selectedStatuses),this.attrNames=this.attrNames.concat(this.storeService.getLoginAttributeNames()),this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.isManualAddingBlocked(this.vo.id).then(()=>this.loading=!1)}setAuthRights(){this.addAuth=this.authzService.isAuthorized("createMember_Vo_User_List_policy",[this.vo])&&this.authzService.isAuthorized("createMember_Vo_Candidate_List_policy",[this.vo]),this.removeAuth=this.authzService.isAuthorized("deleteMembers_List_policy",[this.vo]),this.displayedColumns=this.removeAuth?this.displayedColumns:["id","fullName","status","organization","email","logins"],null!==this.members&&0!==this.members.length&&(this.routeAuth=this.authzService.isAuthorized("getMemberById_int_policy",[this.vo,this.members[0]])),this.inviteAuth=this.authzService.isAuthorized("vo-sendInvitation_Vo_Group_String_String_String_policy",[this.vo])}onSearchByString(Ce){this.searchString=Ce,this.updateTable=!this.updateTable}onAddMember(){const Ce=(0,R.kZ)();Ce.width="1000px",Ce.data={entityId:this.vo.id,voId:this.vo.id,theme:"vo-theme",type:"vo"},this.dialog.open(v.o,Ce).afterClosed().subscribe(I=>{I&&(this.updateTable=!this.updateTable,this.selection.clear())})}onRemoveMembers(){const Ce=(0,R.kZ)();Ce.width="450px",Ce.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(g.X,Ce).afterClosed().subscribe(I=>{I&&(this.updateTable=!this.updateTable,this.selection.clear())})}onInviteMember(){const Ce=(0,R.kZ)();Ce.width="650px",Ce.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(E.R,Ce)}displaySelectedStatuses(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?`${this.statuses.value[0]} ${this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""}`:""}isManualAddingBlocked(Ce){return new Promise(J=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(Ce,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(I=>{this.blockManualMemberAdding=null!==I.value,J()},I=>{"PrivilegeException"!==I.error.name&&this.notificator.showError(I),J()})})}changeStatuses(){this.selectedStatuses=this.statuses.value}}return be.id="VoMembersComponent",be.\u0275fac=function(Ce){return new(Ce||be)(h.Y36(f.V6),h.Y36(x.uw),h.Y36(f.x4),h.Y36(f.d6),h.Y36(m.H8),h.Y36(f.F5),h.Y36(f.fb))},be.\u0275cmp=h.Xpm({type:be,selectors:[["app-vo-members"]],hostVars:2,hostBindings:function(Ce,J){2&Ce&&h.ekj("router-component",J.true)},decls:23,vars:21,consts:[[1,"vo-theme"],[1,"page-subtitle"],[1,"align-elements"],[3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","add-members",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2","data-cy","remove-members",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","vo-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","tableId","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","add-members",1,"mr-2","action-button",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn","data-cy","remove-members",1,"mr-2",3,"disabled","click"],[1,"vo-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","tableId","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable"]],template:function(Ce,J){1&Ce&&(h.TgZ(0,"div",0),h.TgZ(1,"h1",1),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",2),h.TgZ(5,"perun-web-apps-refresh-button",3),h.NdJ("click",function(){return J.updateTable=!J.updateTable}),h.qZA(),h.TgZ(6,"div",4),h.ALo(7,"translate"),h.YNc(8,te,3,4,"button",5),h.qZA(),h.YNc(9,ae,3,3,"button",6),h.YNc(10,pe,3,4,"button",7),h.TgZ(11,"mat-form-field",8),h.TgZ(12,"mat-label"),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.TgZ(15,"mat-select",9),h.NdJ("closed",function(){return J.changeStatuses()}),h.TgZ(16,"mat-select-trigger"),h._uU(17),h.ALo(18,"memberStatus"),h.qZA(),h.YNc(19,Be,3,4,"mat-option",10),h.qZA(),h.qZA(),h.TgZ(20,"perun-web-apps-debounce-filter",11),h.NdJ("filter",function(Ie){return J.onSearchByString(Ie)}),h.qZA(),h.qZA(),h.YNc(21,Fe,1,0,"mat-spinner",12),h.YNc(22,ke,1,8,"perun-web-apps-members-dynamic-list",13),h.qZA()),2&Ce&&(h.xp6(2),h.Oqu(h.lcZ(3,13,"VO_DETAIL.MEMBERS.TITLE")),h.xp6(4),h.s9C("matTooltip",h.lcZ(7,15,"VO_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),h.Q6J("matTooltipDisabled",!J.blockManualMemberAdding),h.xp6(2),h.Q6J("ngIf",J.addAuth),h.xp6(1),h.Q6J("ngIf",J.inviteAuth),h.xp6(1),h.Q6J("ngIf",J.removeAuth),h.xp6(3),h.Oqu(h.lcZ(14,17,"VO_DETAIL.MEMBERS.FILTER_STATUS")),h.xp6(2),h.Q6J("formControl",J.statuses),h.xp6(2),h.hij(" ",h.lcZ(18,19,J.displaySelectedStatuses())," "),h.xp6(2),h.Q6J("ngForOf",J.statusList),h.xp6(1),h.Q6J("placeholder","VO_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),h.xp6(1),h.Q6J("ngIf",J.loading),h.xp6(1),h.Q6J("ngIf",!J.loading))},directives:[k.t,G.gM,X.O5,he.lW,re.KE,re.hX,Ne.gD,s.JJ,s.oH,Ne.$L,X.sg,ce.ey,Pe.P,se.$g,V.m],pipes:[F.X$,W.l],styles:[".search-field[_ngcontent-%COMP%]{width:325px}.align-elements[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.fix-select[_ngcontent-%COMP%]{margin-top:8px}"]}),be})()},68056:(Ze,ge,d)=>{"use strict";d.d(ge,{z:()=>ce});var e=d(20449),f=d(112),g=d(533),v=d(10036),m=d(9244),A=d(36908),s=d(5e3),b=d(48966),R=d(96214),E=d(69808),h=d(47423),x=d(7434),k=d(20773),G=d(62109),X=d(51062);function he(Pe,se){if(1&Pe){const V=s.EpF();s.TgZ(0,"button",6),s.NdJ("click",function(){return s.CHM(V),s.oxw().deleteSelectedResources()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&Pe){const V=s.oxw();s.Q6J("disabled",0===V.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"VO_DETAIL.RESOURCES.LIST.DELETE")," ")}}function re(Pe,se){1&Pe&&s._UZ(0,"mat-spinner",7)}function Ne(Pe,se){if(1&Pe&&s._UZ(0,"perun-web-apps-resources-list",8),2&Pe){const V=s.oxw();s.Q6J("tableId",V.tableId)("filterValue",V.filterValue)("resources",V.resources)("routingVo",!0)("disableRouting",!V.routeAuth)("selection",V.selected)("displayedColumns",V.displayedColumns)}}let ce=(()=>{class Pe{constructor(V,F,W,te){this.resourcesManager=V,this.dialog=F,this.authResolver=W,this.entityStorageService=te,this.resources=[],this.selected=new e.Ov(!0,[]),this.filterValue="",this.displayedColumns=[],this.tableId=v.nT,this.routeAuth=!1}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}setAuthRights(){this.removeAuth=this.authResolver.isAuthorized("deleteResource_Resource_policy",[this.vo]),0!==this.resources.length&&(this.routeAuth=this.authResolver.isAuthorized("getResourceById_int_policy",[this.vo,this.resources[0]])),this.displayedColumns=this.removeAuth?["select","id","name","facility","tags","description"]:["id","name","facility","tags","description"]}refreshTable(){this.loading=!0,this.resourcesManager.getRichResources(this.vo.id).subscribe(V=>{this.resources=V,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(V){this.filterValue=V}deleteSelectedResources(){const V=(0,m.kZ)();V.width="450px",V.data={theme:"vo-theme",resources:this.selected.selected},this.dialog.open(g.f,V).afterClosed().subscribe(W=>{W&&this.refreshTable()})}}return Pe.id="VoResourcesPreviewComponent",Pe.\u0275fac=function(V){return new(V||Pe)(s.Y36(f.xk),s.Y36(b.uw),s.Y36(A.x4),s.Y36(A.fb))},Pe.\u0275cmp=s.Xpm({type:Pe,selectors:[["app-vo-resources-preview"]],hostVars:2,hostBindings:function(V,F){2&V&&s.ekj("router-component",F.true)},decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","displayedColumns",4,"ngIf"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","displayedColumns"]],template:function(V,F){1&V&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return F.refreshTable()}),s.qZA(),s.YNc(5,he,3,4,"button",2),s.TgZ(6,"perun-web-apps-immediate-filter",3),s.NdJ("filter",function(te){return F.applyFilter(te)}),s.qZA(),s.YNc(7,re,1,0,"mat-spinner",4),s.YNc(8,Ne,1,7,"perun-web-apps-resources-list",5),s.qZA()),2&V&&(s.xp6(2),s.Oqu(s.lcZ(3,5,"VO_DETAIL.RESOURCES.LIST.TITLE")),s.xp6(3),s.Q6J("ngIf",F.removeAuth),s.xp6(1),s.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),s.xp6(1),s.Q6J("ngIf",F.loading),s.xp6(1),s.Q6J("ngIf",!F.loading))},directives:[R.t,E.O5,h.lW,x.L,k.$g,G.C],pipes:[X.X$],styles:[""]}),Pe})()},24219:(Ze,ge,d)=>{"use strict";d.d(ge,{z:()=>M});var e=d(36908),f=d(112),g=d(5e3),v=d(96214),m=d(53251),A=d(69808),s=d(98380),b=d(32075),R=d(20773),E=d(81125),h=d(4834),x=d(51062);function k(S,P){1&S&&g._UZ(0,"mat-spinner",2)}function G(S,P){if(1&S&&(g.TgZ(0,"mat-panel-description"),g.TgZ(1,"div"),g.TgZ(2,"i",10),g._uU(3," error "),g.qZA(),g._uU(4),g.ALo(5,"translate"),g.ALo(6,"translate"),g.qZA(),g.qZA()),2&S){const N=g.oxw().$implicit,ne=g.oxw(2);g.xp6(4),g.HOy(" ",ne.getErrorCountStates(N)," ",g.lcZ(5,4,"VO_DETAIL.RESOURCES.STATES.FROM")," ",N.taskList.length," ",g.lcZ(6,6,"VO_DETAIL.RESOURCES.STATES.TASKS_WITH_ERROR_STATE")," ")}}function X(S,P){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ID")," "))}function he(S,P){if(1&S&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&S){const N=P.$implicit;g.xp6(1),g.Oqu(N.id)}}function re(S,P){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SERVICE")," "))}function Ne(S,P){if(1&S&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&S){const N=P.$implicit;g.xp6(1),g.Oqu(N.service.name)}}function ce(S,P){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STATUS")," "))}function Pe(S,P){if(1&S&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&S){const N=P.$implicit;g.xp6(1),g.Oqu(N.status)}}function se(S,P){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SCHEDULED")," "))}function V(S,P){if(1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&S){const N=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,N.schedule,"d.M.y H:mm:ss")," ")}}function F(S,P){1&S&&(g._uU(0),g.ALo(1,"translate")),2&S&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function W(S,P){if(1&S&&(g.TgZ(0,"td",24),g.YNc(1,V,3,4,"div",25),g.YNc(2,F,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&S){const N=P.$implicit,ne=g.MAs(3);g.xp6(1),g.Q6J("ngIf",N.schedule)("ngIfElse",ne)}}function te(S,P){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STARTED")," "))}function ae(S,P){if(1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&S){const N=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,N.schedule,"d.M.y H:mm:ss")," ")}}function pe(S,P){1&S&&(g._uU(0),g.ALo(1,"translate")),2&S&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function Be(S,P){if(1&S&&(g.TgZ(0,"td",24),g.YNc(1,ae,3,4,"div",25),g.YNc(2,pe,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&S){const N=P.$implicit,ne=g.MAs(3);g.xp6(1),g.Q6J("ngIf",N.startTime)("ngIfElse",ne)}}function Fe(S,P){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ENDED")," "))}function ke(S,P){if(1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&S){const N=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,N.schedule,"d.M.y H:mm:ss")," ")}}function De(S,P){1&S&&(g._uU(0),g.ALo(1,"translate")),2&S&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function be(S,P){if(1&S&&(g.TgZ(0,"td",24),g.YNc(1,ke,3,4,"div",25),g.YNc(2,De,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&S){const N=P.$implicit,ne=g.MAs(3);g.xp6(1),g.Q6J("ngIf",N.endTime)("ngIfElse",ne)}}function z(S,P){1&S&&g._UZ(0,"tr",28)}const Ce=function(S,P,N){return{redTableItem:S,greenTableItem:P,yellowTableItem:N}};function J(S,P){if(1&S&&g._UZ(0,"tr",29),2&S){const N=P.$implicit;g.Q6J("ngClass",g.kEZ(1,Ce,"ERROR"===N.status||"SENDERROR"===N.status||"GENERROR"===N.status,"DONE"===N.status,"WARNING"===N.status))}}function I(S,P){if(1&S&&(g.TgZ(0,"table",12),g.ynx(1,13),g.YNc(2,X,3,3,"th",14),g.YNc(3,he,2,1,"td",15),g.BQk(),g.ynx(4,16),g.YNc(5,re,3,3,"th",14),g.YNc(6,Ne,2,1,"td",15),g.BQk(),g.ynx(7,17),g.YNc(8,ce,3,3,"th",14),g.YNc(9,Pe,2,1,"td",15),g.BQk(),g.ynx(10,18),g.YNc(11,se,3,3,"th",14),g.YNc(12,W,4,2,"td",15),g.BQk(),g.ynx(13,19),g.YNc(14,te,3,3,"th",14),g.YNc(15,Be,4,2,"td",15),g.BQk(),g.ynx(16,20),g.YNc(17,Fe,3,3,"th",14),g.YNc(18,be,4,2,"td",15),g.BQk(),g.YNc(19,z,1,0,"tr",21),g.YNc(20,J,1,5,"tr",22),g.qZA()),2&S){const N=g.oxw(2).$implicit,ne=g.oxw(2);g.Q6J("dataSource",ne.datasources[ne.propagation.indexOf(N)]),g.xp6(19),g.Q6J("matHeaderRowDef",ne.displayedColumns),g.xp6(1),g.Q6J("matRowDefColumns",ne.displayedColumns)}}function Ie(S,P){1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_TASKS")," "))}function Re(S,P){if(1&S&&(g._UZ(0,"mat-divider"),g.YNc(1,I,21,3,"table",11),g.YNc(2,Ie,3,3,"div",8)),2&S){const N=g.oxw().$implicit;g.xp6(1),g.Q6J("ngIf",0!==N.taskList.length),g.xp6(1),g.Q6J("ngIf",0===N.taskList.length)}}function ze(S,P){if(1&S&&(g.TgZ(0,"mat-expansion-panel"),g.TgZ(1,"mat-expansion-panel-header"),g.TgZ(2,"mat-panel-title"),g._UZ(3,"img",6),g.TgZ(4,"div",7),g._uU(5),g.qZA(),g.qZA(),g.YNc(6,G,7,8,"mat-panel-description",8),g.qZA(),g.YNc(7,Re,3,2,"ng-template",9),g.qZA()),2&S){const N=P.$implicit,ne=g.oxw(2);g.xp6(5),g.hij(" ",N.resource.name," "),g.xp6(1),g.Q6J("ngIf",0!==ne.getErrorCountStates(N))}}function fe(S,P){if(1&S&&(g.TgZ(0,"div",3),g.TgZ(1,"mat-accordion",4),g.YNc(2,ze,8,2,"mat-expansion-panel",5),g.qZA(),g.qZA()),2&S){const N=g.oxw();g.xp6(2),g.Q6J("ngForOf",N.propagation)}}let ve=(()=>{class S{constructor(){this.propagation=[],this.loading=!1,this.datasources=[],this.displayedColumns=["id","service","status","scheduled","started","ended"]}getErrorCountStates(N){let ne=0;for(const j of N.taskList)("ERROR"===j.status||"GENERROR"===j.status||"SENDERROR"===j.status)&&ne++;return ne}getDataSource(){this.datasources=[];for(const N of this.propagation)this.datasources.push(new b.by(N.taskList))}ngOnChanges(){this.getDataSource()}}return S.\u0275fac=function(N){return new(N||S)},S.\u0275cmp=g.Xpm({type:S,selectors:[["app-state-tab"]],inputs:{propagation:"propagation",loading:"loading"},features:[g.TTD],decls:2,vars:2,consts:[["class","ml-auto mr-auto",4,"ngIf"],["class","p-2",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"p-2"],["multi","true","togglePosition","before",1,"headers-align"],[4,"ngFor","ngForOf"],["src","assets/img/PerunWebImages/resource-black.svg","height","28","width","28"],[1,"ml-2"],[4,"ngIf"],["matExpansionPanelContent",""],[1,"material-icons","red"],["mat-table","","class","w-100",3,"dataSource",4,"ngIf"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","service"],["matColumnDef","status"],["matColumnDef","scheduled"],["matColumnDef","started"],["matColumnDef","ended"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf","ngIfElse"],["class","font-italic"],["notYet",""],["mat-header-row",""],["mat-row","",3,"ngClass"]],template:function(N,ne){1&N&&(g.YNc(0,k,1,0,"mat-spinner",0),g.YNc(1,fe,3,1,"div",1)),2&N&&(g.Q6J("ngIf",ne.loading),g.xp6(1),g.Q6J("ngIf",!ne.loading))},directives:[A.O5,R.$g,E.pp,A.sg,E.ib,E.yz,E.yK,E.u4,E.HS,h.d,b.BZ,b.w1,b.fO,b.ge,b.Dz,b.ev,b.as,b.XQ,b.nj,b.Gk,A.mk],pipes:[x.X$,A.uU],styles:[".greenTableItem[_ngcontent-%COMP%]{background-color:#c4ffcb}.yellowTableItem[_ngcontent-%COMP%]{background-color:#fffde7}.redTableItem[_ngcontent-%COMP%]{background-color:#ffcdd2}.headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%], .headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-basis:0}.headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{margin-left:15%;justify-content:space-between;align-items:center}"]}),S})();function We(S,P){if(1&S&&(g._uU(0),g.ALo(1,"translate"),g.TgZ(2,"span",5),g._uU(3),g.qZA()),2&S){const N=g.oxw();g.hij(" ",g.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.ERROR_RESOURCES")," "),g.xp6(3),g.Oqu(N.errorPropagation.length)}}function nt(S,P){1&S&&(g.TgZ(0,"app-alert",8),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_ERROR")," "))}function st(S,P){if(1&S&&(g.YNc(0,nt,3,3,"app-alert",6),g._UZ(1,"app-state-tab",7)),2&S){const N=g.oxw();g.Q6J("ngIf",!N.loading&&0===N.errorPropagation.length),g.xp6(1),g.Q6J("loading",N.loading)("propagation",N.errorPropagation)}}function dt(S,P){if(1&S&&(g._uU(0),g.ALo(1,"translate"),g.TgZ(2,"span",9),g._uU(3),g.qZA()),2&S){const N=g.oxw();g.hij(" ",g.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.OK_RESOURCES")," "),g.xp6(3),g.Oqu(N.okPropagation.length)}}function L(S,P){1&S&&(g.TgZ(0,"app-alert",8),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_OK")," "))}function de(S,P){if(1&S&&(g.YNc(0,L,3,3,"app-alert",6),g._UZ(1,"app-state-tab",7)),2&S){const N=g.oxw();g.Q6J("ngIf",!N.loading&&0===N.okPropagation.length),g.xp6(1),g.Q6J("loading",N.loading)("propagation",N.okPropagation)}}let M=(()=>{class S{constructor(N,ne){this.taskService=N,this.entityStorageService=ne,this.loading=!1,this.okPropagation=[],this.errorPropagation=[],this.resourceStates=[],this.selectedIndex=0}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.refreshTable()}refreshTable(){this.loading=!0,this.taskService.getAllResourcesState(this.vo.id).subscribe(N=>{this.resourceStates=N,this.okPropagation=[],this.errorPropagation=[];for(const ne of N){let j=!0;for(const Te of ne.taskList)if("ERROR"===Te.status||"GENERROR"===Te.status||"SENDERROR"===Te.status){j=!1;break}j?this.okPropagation.push(ne):this.errorPropagation.push(ne)}this.loading=!1},()=>this.loading=!1)}}return S.id="VoResourcesStatesComponent",S.\u0275fac=function(N){return new(N||S)(g.Y36(f.Ob),g.Y36(e.fb))},S.\u0275cmp=g.Xpm({type:S,selectors:[["app-vo-resources-states"]],hostVars:2,hostBindings:function(N,ne){2&N&&g.ekj("router-component",ne.true)},decls:11,vars:4,consts:[[1,"page-subtitle"],[3,"refresh"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],["matTabContent",""],[1,"badge","badge-danger","ml-1"],["alert_type","warn",4,"ngIf"],[3,"loading","propagation"],["alert_type","warn"],[1,"badge","badge-success","ml-1"]],template:function(N,ne){1&N&&(g.TgZ(0,"h1",0),g._uU(1),g.ALo(2,"translate"),g.qZA(),g.TgZ(3,"perun-web-apps-refresh-button",1),g.NdJ("refresh",function(){return ne.refreshTable()}),g.qZA(),g.TgZ(4,"mat-tab-group",2),g.NdJ("selectedIndexChange",function(Te){return ne.selectedIndex=Te}),g.TgZ(5,"mat-tab"),g.YNc(6,We,4,4,"ng-template",3),g.YNc(7,st,2,3,"ng-template",4),g.qZA(),g.TgZ(8,"mat-tab"),g.YNc(9,dt,4,4,"ng-template",3),g.YNc(10,de,2,3,"ng-template",4),g.qZA(),g.qZA()),2&N&&(g.xp6(1),g.Oqu(g.lcZ(2,2,"VO_DETAIL.RESOURCES.STATES.TITLE")),g.xp6(3),g.Q6J("selectedIndex",ne.selectedIndex))},directives:[v.t,m.SP,m.uX,m.uD,m.Vc,A.O5,s.w,ve],pipes:[x.X$],styles:[""]}),S})()},10369:(Ze,ge,d)=>{"use strict";d.d(ge,{w:()=>Be});var e=d(1186),f=d(36908),g=d(95502),v=d(51076),m=d(83491),A=d(112),s=d(9244),b=d(5e3),R=d(48966),E=d(51062),h=d(11735),x=d(69808),k=d(20773),G=d(25245),X=d(29772),he=d(47423),re=d(4834),Ne=d(96214),ce=d(98380),Pe=d(157);function se(Fe,ke){1&Fe&&b._UZ(0,"mat-spinner",13)}function V(Fe,ke){if(1&Fe){const De=b.EpF();b.TgZ(0,"button",21),b.NdJ("click",function(){return b.CHM(De),b.oxw(2).settings()}),b.TgZ(1,"i",10),b._uU(2,"edit"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&Fe&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function F(Fe,ke){if(1&Fe&&(b.TgZ(0,"div",14),b.TgZ(1,"div",15),b.TgZ(2,"div",16),b._uU(3),b.ALo(4,"translate"),b.qZA(),b.TgZ(5,"div"),b.TgZ(6,"span",16),b._uU(7),b.ALo(8,"translate"),b.qZA(),b._uU(9,": "),b.TgZ(10,"mat-icon",17),b._uU(11,"arrow_right_alt"),b.qZA(),b._uU(12),b.ALo(13,"translate"),b.ALo(14,"translate"),b.TgZ(15,"mat-icon",18),b._uU(16,"restore"),b.qZA(),b._uU(17),b.ALo(18,"translate"),b.ALo(19,"translate"),b.qZA(),b.qZA(),b.TgZ(20,"div",19),b.YNc(21,V,5,3,"button",20),b.qZA(),b.qZA()),2&Fe){const De=b.oxw();b.xp6(3),b.AsE(" ",b.lcZ(4,6,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",De.applicationForm.moduleClassName," "),b.xp6(4),b.Oqu(b.lcZ(8,8,"VO_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),b.xp6(5),b.hij(" ",De.applicationForm.automaticApproval?b.lcZ(13,10,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(14,12,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," , "),b.xp6(5),b.hij(" ",De.applicationForm.automaticApprovalExtension?b.lcZ(18,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(19,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),b.xp6(4),b.Q6J("ngIf",De.editAuth)}}function W(Fe,ke){if(1&Fe){const De=b.EpF();b.TgZ(0,"button",22),b.NdJ("click",function(){return b.CHM(De),b.oxw().add()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&Fe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function te(Fe,ke){if(1&Fe){const De=b.EpF();b.TgZ(0,"button",23),b.NdJ("click",function(){return b.CHM(De),b.oxw().save()}),b.TgZ(1,"i",10),b._uU(2,"save"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}if(2&Fe){const De=b.oxw();b.Q6J("disabled",!De.itemsChanged),b.xp6(3),b.hij(" ",b.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function ae(Fe,ke){if(1&Fe){const De=b.EpF();b.TgZ(0,"button",24),b.NdJ("click",function(){return b.CHM(De),b.oxw().copy()}),b.TgZ(1,"i",10),b._uU(2,"file_copy"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&Fe&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.COPY_VO_BUTTON")," "))}function pe(Fe,ke){1&Fe&&(b.TgZ(0,"app-alert",25),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&Fe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}let Be=(()=>{class Fe{constructor(De,be,z,Ce,J,I,Ie,Re){this.registrarManager=De,this.dialog=be,this.notificator=z,this.translate=Ce,this.router=J,this.authResolver=I,this.voService=Ie,this.entityStorageService=Re,this.loading=!1,this.applicationFormItems=[],this.itemsChanged=!1,this.displayedColumns=[],this.refreshApplicationForm=!1,this.idCounter=-1}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.registrarManager.getVoApplicationForm(this.vo.id).subscribe(De=>{this.applicationForm=De,this.registrarManager.getFormItemsForVo(this.vo.id).subscribe(be=>{this.applicationFormItems=be,this.loading=!1})})}setAuthRights(){this.editAuth=this.authResolver.isAuthorized("vo-updateFormItems_ApplicationForm_List_policy",[this.vo]),this.displayedColumns=this.editAuth?["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]:["shortname","type","disabled","hidden","preview","managegroups"]}add(){let De=(0,s.kZ)();De.width="500px",De.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(v.J,De).afterClosed().subscribe(z=>{z&&(this.applicationFormItems=Object.assign([],z[0]),De=(0,s.kZ)(),De.width="600px",De.height="600px",De.data={voId:this.vo.id,applicationFormItem:z[1],theme:"vo-theme",allItems:this.applicationFormItems},this.dialog.open(m._,De),this.itemsChanged=!0)})}copy(){const De=(0,s.kZ)();De.width="500px",De.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(g.W,De).afterClosed().subscribe(z=>{z&&this.updateFormItems()})}settings(){const De=(0,s.kZ)();De.width="400px",De.data={entity:"vo",applicationForm:this.applicationForm,theme:"vo-theme"},this.dialog.open(e.E,De).afterClosed().subscribe(z=>{z&&(this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(Ce=>{this.notificator.showSuccess(Ce)}),this.applicationForm=z)})}preview(){this.router.navigate(["/organizations",this.vo.id,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}updateFormItems(){this.loading=!0,this.refreshApplicationForm=!0,this.registrarManager.getFormItemsForVo(this.vo.id).subscribe(De=>{this.applicationFormItems=De,this.itemsChanged=!1,this.setAuthRights(),this.refreshApplicationForm=!1,this.loading=!1})}changeItems(){this.itemsChanged=!0}save(){let De=0;for(const be of this.applicationFormItems)be.ordnum=De,be.forDelete||De++;this.registrarManager.updateFormItemsForVo({vo:this.vo.id,items:this.applicationFormItems}).subscribe(()=>{this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(be=>{this.notificator.showSuccess(be)}),this.updateFormItems()})}clear(){this.applicationFormItems.forEach(De=>De.forDelete=!0),this.itemsChanged=!0}}return Fe.id="VoSettingsApplicationFormComponent",Fe.\u0275fac=function(De){return new(De||Fe)(b.Y36(A.tk),b.Y36(R.uw),b.Y36(f.V6),b.Y36(E.sK),b.Y36(h.F0),b.Y36(f.x4),b.Y36(A.YF),b.Y36(f.fb))},Fe.\u0275cmp=b.Xpm({type:Fe,selectors:[["app-vo-settings-application-form"]],hostVars:2,hostBindings:function(De,be){2&De&&b.ekj("router-component",be.true)},decls:19,vars:18,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],["class","d-flex w-50",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","add-form-item",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2","data-cy","save-application-form",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","refreshApplicationForm","applicationFormItemsChange"],[1,"ml-auto","mr-auto"],[1,"d-flex","w-50"],[1,"w-50"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto action-button",3,"click",4,"ngIf"],["mat-stroked-button","",1,"ml-auto","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","add-form-item",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","save-application-form",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],["alert_type","info"]],template:function(De,be){1&De&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.YNc(3,se,1,0,"mat-spinner",1),b.TgZ(4,"div"),b.YNc(5,F,22,18,"div",2),b._UZ(6,"mat-divider",3),b.TgZ(7,"div",4),b.TgZ(8,"perun-web-apps-refresh-button",5),b.NdJ("refresh",function(){return be.updateFormItems()}),b.qZA(),b.YNc(9,W,3,3,"button",6),b.YNc(10,te,5,4,"button",7),b.YNc(11,ae,5,3,"button",8),b.TgZ(12,"button",9),b.NdJ("click",function(){return be.preview()}),b.TgZ(13,"i",10),b._uU(14,"search"),b.qZA(),b._uU(15),b.ALo(16,"translate"),b.qZA(),b.qZA(),b.YNc(17,pe,3,3,"app-alert",11),b.TgZ(18,"app-application-form-list",12),b.NdJ("applicationFormItemsChange",function(){return be.changeItems()}),b.qZA(),b.qZA()),2&De&&(b.xp6(1),b.hij(" ",b.lcZ(2,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),b.xp6(2),b.Q6J("ngIf",be.loading),b.xp6(2),b.Q6J("ngIf",!be.loading),b.xp6(4),b.Q6J("ngIf",be.editAuth),b.xp6(1),b.Q6J("ngIf",be.editAuth),b.xp6(1),b.Q6J("ngIf",be.editAuth),b.xp6(4),b.hij(" ",b.lcZ(16,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),b.xp6(2),b.Q6J("ngIf",be.editAuth),b.xp6(1),b.Q6J("loading",be.loading)("applicationForm",be.applicationForm)("applicationFormItems",be.applicationFormItems)("theme","vo-theme")("displayedColumns",be.displayedColumns)("refreshApplicationForm",be.refreshApplicationForm))},directives:[x.O5,k.$g,G.Hw,X.gM,he.lW,re.d,Ne.t,ce.w,Pe.b],pipes:[E.X$],styles:[""]}),Fe})()},3246:(Ze,ge,d)=>{"use strict";d.d(ge,{T:()=>Tt});var e=d(112),f=d(20449),g=d(10036),v=d(9244),m=d(48966),A=d(36908),s=d(93075),b=d(69808),R=d(45323),E=d(28499),h=d(5e3),x=d(51062),k=d(20773),G=d(92081),X=d(98380),he=d(67322),re=d(98833),Ne=d(74107),ce=d(90508),Pe=d(29772),se=d(77446),V=d(13469),F=d(79814),W=d(74250),te=d(86856);let ae=(()=>{class ot{constructor(){this.expiration="never",this.expirationControl=new s.NI(null),this.datePicker=new h.vpe}ngOnInit(){const Ue=new Date;this.minDate=new Date(Ue.getFullYear(),Ue.getMonth(),Ue.getDate()),this.expirationControl.setValue((0,b.p6)(this.minDate,"yyyy-MM-dd","en-GB"))}setExpiration(){this.expiration=(0,b.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB"),this.expirationControl.setValue((0,b.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB")),this.emitDate()}emitDate(){"never"!==this.expiration&&""===this.expirationControl.value||this.datePicker.emit(this.expiration)}}return ot.\u0275fac=function(Ue){return new(Ue||ot)},ot.\u0275cmp=h.Xpm({type:ot,selectors:[["perun-web-apps-expiration-select"]],inputs:{expiration:"expiration"},outputs:{datePicker:"datePicker"},decls:13,vars:14,consts:[[1,"d-flex","flex-column",3,"ngModel","ngModelChange","change"],["value","never"],[3,"value"],["color","primary",1,"cursor-pointer","mr-3",3,"click"],["readonly","","matInput","",1,"disable",3,"min","formControl","matDatepicker","dateChange"],["matSuffix","",3,"for","disabled"],[3,"disabled"],["picker",""]],template:function(Ue,Pt){if(1&Ue){const Gt=h.EpF();h.TgZ(0,"mat-radio-group",0),h.NdJ("ngModelChange",function(Ci){return Pt.expiration=Ci})("change",function(){return Pt.emitDate()}),h.TgZ(1,"mat-radio-button",1),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-radio-button",2),h.TgZ(5,"mat-form-field",3),h.NdJ("click",function(){return h.CHM(Gt),h.MAs(12).open()}),h.TgZ(6,"mat-label"),h._uU(7),h.ALo(8,"translate"),h.qZA(),h.TgZ(9,"input",4),h.NdJ("dateChange",function(){return Pt.setExpiration()}),h.qZA(),h._UZ(10,"mat-datepicker-toggle",5),h._UZ(11,"mat-datepicker",6,7),h.qZA(),h.qZA(),h.qZA()}if(2&Ue){const Gt=h.MAs(12);h.Q6J("ngModel",Pt.expiration),h.xp6(2),h.hij(" ",h.lcZ(3,10,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),h.xp6(2),h.s9C("value",Pt.expirationControl.value),h.xp6(3),h.Oqu(h.lcZ(8,12,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),h.xp6(2),h.Q6J("min",Pt.minDate)("formControl",Pt.expirationControl)("matDatepicker",Gt),h.xp6(1),h.Q6J("for",Gt)("disabled",!1),h.xp6(1),h.Q6J("disabled",!1)}},directives:[F.VQ,s.JJ,s.On,F.U0,he.KE,he.hX,re.Nt,s.Fj,te.hl,s.oH,te.nW,he.R9,te.Mq],pipes:[x.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),ot})();var pe=d(25245),Be=d(47423),Fe=d(31359);const ke=["stepper"];function De(ot,zt){1&ot&&(h.TgZ(0,"h1",4),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE")," "))}function be(ot,zt){1&ot&&h._UZ(0,"mat-spinner",5)}function z(ot,zt){1&ot&&(h._uU(0),h.ALo(1,"translate")),2&ot&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_LABEL"))}function Ce(ot,zt){1&ot&&(h.TgZ(0,"app-alert",34),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function J(ot,zt){1&ot&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function I(ot,zt){1&ot&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function Ie(ot,zt){1&ot&&(h._uU(0),h.ALo(1,"translate")),2&ot&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_LABEL"))}function Re(ot,zt){if(1&ot&&(h.TgZ(0,"mat-option",35),h._uU(1),h.qZA()),2&ot){const Ue=zt.$implicit;h.Q6J("value",Ue),h.xp6(1),h.hij(" ",Ue," ")}}function ze(ot,zt){1&ot&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_ERROR")," "))}function fe(ot,zt){1&ot&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function ve(ot,zt){1&ot&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL_ERROR")," "))}function We(ot,zt){1&ot&&(h._uU(0),h.ALo(1,"translate")),2&ot&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_LABEL"))}function nt(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"perun-web-apps-user-search-select",36),h.NdJ("userSelected",function(Gt){return h.CHM(Ue),h.oxw(2).selectedSponsor=Gt}),h.qZA(),h.qZA()}if(2&ot){const Ue=h.oxw(2);h.xp6(1),h.Q6J("users",Ue.voSponsors)("disableAutoSelect",!0)}}function st(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"div",6),h.TgZ(1,"mat-stepper",7,8),h.TgZ(3,"mat-step",9),h.YNc(4,z,2,3,"ng-template",10),h.YNc(5,Ce,3,3,"app-alert",11),h.TgZ(6,"form",12),h.TgZ(7,"h5",13),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"mat-form-field",14),h._UZ(11,"input",15),h.ALo(12,"translate"),h.YNc(13,J,3,3,"mat-error",16),h.qZA(),h.TgZ(14,"mat-form-field"),h._UZ(15,"input",17),h.ALo(16,"translate"),h.YNc(17,I,3,3,"mat-error",16),h.qZA(),h.TgZ(18,"mat-form-field"),h._UZ(19,"input",18),h.ALo(20,"translate"),h.qZA(),h.TgZ(21,"mat-form-field"),h._UZ(22,"input",19),h.ALo(23,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(24,"mat-step",9),h.YNc(25,Ie,2,3,"ng-template",10),h.TgZ(26,"h5",13),h._uU(27),h.ALo(28,"translate"),h.qZA(),h.TgZ(29,"form",20),h.TgZ(30,"mat-form-field"),h.TgZ(31,"mat-select",21),h.NdJ("valueChange",function(Gt){return h.CHM(Ue),h.oxw().onNamespaceChanged(Gt)}),h.ALo(32,"translate"),h.YNc(33,Re,2,2,"mat-option",22),h.qZA(),h.YNc(34,ze,3,3,"mat-error",16),h.qZA(),h.TgZ(35,"mat-form-field",23),h.ALo(36,"translate"),h._UZ(37,"input",24),h.ALo(38,"translate"),h.YNc(39,fe,3,3,"mat-error",16),h.qZA(),h.TgZ(40,"mat-form-field"),h._UZ(41,"input",25),h.ALo(42,"translate"),h.YNc(43,ve,3,3,"mat-error",16),h.qZA(),h.TgZ(44,"span",23),h.ALo(45,"translate"),h.TgZ(46,"mat-checkbox",26),h.NdJ("change",function(){return h.CHM(Ue),h.oxw().passwordResetChange()}),h._uU(47),h.ALo(48,"translate"),h.qZA(),h.qZA(),h._UZ(49,"perun-web-apps-password-form",27),h.qZA(),h.qZA(),h.TgZ(50,"mat-step"),h.YNc(51,We,2,3,"ng-template",10),h.TgZ(52,"div",28),h.TgZ(53,"h5",13),h._uU(54),h.ALo(55,"translate"),h.qZA(),h.TgZ(56,"div",14),h.TgZ(57,"h6"),h._uU(58),h.ALo(59,"translate"),h.qZA(),h.TgZ(60,"mat-radio-group",29),h.NdJ("ngModelChange",function(Gt){return h.CHM(Ue),h.oxw().sponsorType=Gt}),h.TgZ(61,"span",30),h.ALo(62,"translate"),h.TgZ(63,"mat-radio-button",31),h.NdJ("click",function(){return h.CHM(Ue),h.oxw().selectedSponsor=null}),h._uU(64),h.ALo(65,"translate"),h.qZA(),h.qZA(),h.TgZ(66,"span",30),h.ALo(67,"translate"),h.TgZ(68,"mat-radio-button",32),h._uU(69),h.ALo(70,"translate"),h.qZA(),h.qZA(),h.qZA(),h.YNc(71,nt,2,2,"div",16),h.qZA(),h.TgZ(72,"h6",14),h._uU(73),h.ALo(74,"translate"),h.qZA(),h.TgZ(75,"perun-web-apps-expiration-select",33),h.NdJ("datePicker",function(Gt){return h.CHM(Ue),h.oxw().setExpiration(Gt)}),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&ot){const Ue=h.oxw();h.xp6(1),h.Q6J("linear",!0),h.xp6(2),h.Q6J("stepControl",Ue.userControl),h.xp6(2),h.Q6J("ngIf",Ue.functionalityNotSupported),h.xp6(1),h.Q6J("formGroup",Ue.userControl),h.xp6(2),h.hij(" ",h.lcZ(9,42,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_TITLE")," "),h.xp6(3),h.s9C("placeholder",h.lcZ(12,44,"DIALOGS.CREATE_SPONSORED_MEMBER.FIRST_NAME")),h.xp6(2),h.Q6J("ngIf",Ue.userControl.hasError("required","firstName")),h.xp6(2),h.s9C("placeholder",h.lcZ(16,46,"DIALOGS.CREATE_SPONSORED_MEMBER.LAST_NAME")),h.xp6(2),h.Q6J("ngIf",Ue.userControl.hasError("required","lastName")),h.xp6(2),h.s9C("placeholder",h.lcZ(20,48,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_BEFORE")),h.xp6(3),h.s9C("placeholder",h.lcZ(23,50,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_AFTER")),h.xp6(2),h.Q6J("stepControl",Ue.namespaceControl),h.xp6(3),h.Oqu(h.lcZ(28,52,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_TITLE")),h.xp6(2),h.Q6J("formGroup",Ue.namespaceControl),h.xp6(2),h.s9C("placeholder",h.lcZ(32,54,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE")),h.xp6(2),h.Q6J("ngForOf",Ue.namespaceOptions),h.xp6(1),h.Q6J("ngIf",Ue.namespaceControl.hasError("required","namespace")),h.xp6(1),h.s9C("matTooltip",h.lcZ(36,56,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN_DISABLED")),h.Q6J("matTooltipDisabled",Ue.namespaceControl.get("login").enabled),h.xp6(2),h.s9C("placeholder",h.lcZ(38,58,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN")),h.xp6(2),h.Q6J("ngIf",Ue.namespaceControl.hasError("required","login")),h.xp6(2),h.s9C("placeholder",h.lcZ(42,60,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL")),h.xp6(2),h.Q6J("ngIf",Ue.namespaceControl.hasError("required","email")||Ue.namespaceControl.hasError("pattern","email")),h.xp6(1),h.s9C("matTooltip",h.lcZ(45,62,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET_DISABLED")),h.Q6J("matTooltipDisabled",Ue.namespaceControl.get("passwordReset").enabled),h.xp6(3),h.hij("",h.lcZ(48,64,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET")," "),h.xp6(2),h.Q6J("formGroup",Ue.namespaceControl)("tooltipPwdViaEmail",Ue.namespaceControl.get("passwordReset").value)("namespace",Ue.selectedNamespace),h.xp6(5),h.Oqu(h.lcZ(55,66,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_TITLE")),h.xp6(4),h.Oqu(h.lcZ(59,68,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SPONSOR")),h.xp6(2),h.Q6J("ngModel",Ue.sponsorType),h.xp6(1),h.s9C("matTooltip",h.lcZ(62,70,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF_DISABLED")),h.Q6J("matTooltipDisabled",Ue.isSponsor),h.xp6(2),h.Q6J("disabled",!Ue.isSponsor),h.xp6(1),h.hij(" ",h.lcZ(65,72,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(67,74,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER_DISABLED")),h.Q6J("matTooltipDisabled",Ue.isPerunAdmin),h.xp6(2),h.Q6J("disabled",!Ue.isPerunAdmin),h.xp6(1),h.hij(" ",h.lcZ(70,76,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER")," "),h.xp6(2),h.Q6J("ngIf","other"===Ue.sponsorType),h.xp6(2),h.Oqu(h.lcZ(74,78,"DIALOGS.CREATE_SPONSORED_MEMBER.EXPIRATION"))}}function dt(ot,zt){if(1&ot&&(h.TgZ(0,"div",6),h.TgZ(1,"div",37),h.TgZ(2,"mat-icon",38),h._uU(3,"done"),h.qZA(),h._uU(4),h.ALo(5,"translate"),h.TgZ(6,"i"),h._uU(7),h.ALo(8,"userFullName"),h.qZA(),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.TgZ(11,"div"),h._uU(12),h.ALo(13,"translate"),h.qZA(),h.TgZ(14,"div"),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.TgZ(17,"app-alert",39),h._uU(18),h.ALo(19,"translate"),h.qZA(),h.qZA()),2&ot){const Ue=h.oxw();h.xp6(4),h.hij(" ",h.lcZ(5,8,"DIALOGS.CREATE_SPONSORED_MEMBER.USER")," "),h.xp6(3),h.Oqu(h.lcZ(8,10,Ue.createdMember.user)),h.xp6(2),h.hij(" ",h.lcZ(10,12,"DIALOGS.CREATE_SPONSORED_MEMBER.WAS_CREATED")," "),h.xp6(3),h.AsE("",h.lcZ(13,14,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN"),": ",Ue.loginThatWasSet,""),h.xp6(3),h.AsE(" ",h.lcZ(16,16,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")," : ",Ue.namespaceControl.get("passwordCtrl").value," "),h.xp6(3),h.Oqu(h.lcZ(19,18,"DIALOGS.CREATE_SPONSORED_MEMBER.COPY_INFORMATION"))}}function L(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"div",40),h.TgZ(1,"button",41),h.NdJ("click",function(){return h.CHM(Ue),h.oxw().onCancel()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.qZA()}2&ot&&(h.xp6(2),h.hij(" ",h.lcZ(3,1,"DIALOGS.CREATE_SPONSORED_MEMBER.OK")," "))}function de(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"button",41),h.NdJ("click",function(){return h.CHM(Ue),h.oxw(2).stepperPrevious()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "))}function M(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"button",46),h.NdJ("click",function(){return h.CHM(Ue),h.oxw(2).stepperNext()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ot){const Ue=h.oxw(2);h.ekj("ml-2",void 0!==Ue.stepper&&0!==Ue.stepper.selectedIndex)("ml-auto",!(void 0!==Ue.stepper&&0!==Ue.stepper.selectedIndex)),h.Q6J("disabled",Ue.getStepperNextConditions()),h.xp6(1),h.hij(" ",h.lcZ(2,6,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," ")}}function S(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"button",47),h.NdJ("click",function(){return h.CHM(Ue),h.oxw(2).onConfirm()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ot){const Ue=h.oxw(2);h.Q6J("disabled",null===Ue.sponsorType||"other"===Ue.sponsorType&&null===Ue.selectedSponsor),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.CREATE_SPONSORED_MEMBER.SUBMIT")," ")}}function P(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"div",40),h.TgZ(1,"button",42),h.NdJ("click",function(){return h.CHM(Ue),h.oxw().onCancel()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,de,3,3,"button",43),h.YNc(5,M,3,8,"button",44),h.YNc(6,S,3,4,"button",45),h.qZA()}if(2&ot){const Ue=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,4,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),h.xp6(2),h.Q6J("ngIf",void 0!==Ue.stepper&&0!==Ue.stepper.selectedIndex),h.xp6(1),h.Q6J("ngIf",void 0!==Ue.stepper&&Ue.stepper.selectedIndex!==Ue.stepper._steps.length-1),h.xp6(1),h.Q6J("ngIf",void 0!==Ue.stepper&&Ue.stepper.selectedIndex===Ue.stepper._steps.length-1)}}let N=(()=>{class ot{constructor(Ue,Pt,Gt,Qt,Ci,ji,Ki,An,Un,io,Mn){this.dialogRef=Ue,this.data=Pt,this.membersService=Gt,this.apiRequestConfiguration=Qt,this.usersService=Ci,this.store=ji,this.translator=Ki,this.authzService=An,this.guiAuthResolver=Un,this.formBuilder=io,this.cd=Mn,this.loading=!1,this.functionalityNotSupported=!1,this.loginThatWasSet="",this.successfullyCreated=!1,this.namespaceOptions=[],this.namespaceRules=[],this.selectedNamespace=null,this.parsedRules=new Map,this.userControl=null,this.namespaceControl=null,this.voSponsors=[],this.selectedSponsor=null,this.sponsorType="self",this.isSponsor=!1,this.isPerunAdmin=!1,this.expiration="never"}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voSponsors=this.data.sponsors,this.isSponsor=this.guiAuthResolver.principalHasRole(R.u.SPONSOR,"Vo",this.data.voId),this.isPerunAdmin=this.guiAuthResolver.isPerunAdmin(),this.sponsorType=this.isSponsor?"self":"other",this.userControl=this.formBuilder.group({firstName:["",s.kI.required],lastName:["",s.kI.required],titleBefore:[""],titleAfter:[""]}),this.namespaceControl=this.formBuilder.group({namespace:["",s.kI.required],login:["",[s.kI.required]],passwordCtrl:["",s.kI.required,[(0,E.yT)(null,this.usersService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""],passwordReset:[!1,[]],email:["",[s.kI.required,s.kI.pattern(v.B2)]]},{validators:v.dN.passwordMatchValidator}),this.membersService.getAllNamespacesRules().subscribe(Ue=>{this.store.get("allow_empty_sponsor_namespace")&&this.namespaceRules.push({namespaceName:"No namespace",requiredAttributes:[],optionalAttributes:[]}),this.namespaceRules=this.namespaceRules.concat(Ue),this.parseNamespaceRules(),0===this.namespaceOptions.length&&(this.functionalityNotSupported=!0),this.loading=!1,this.cd.detectChanges()})}parseNamespaceRules(){for(const Ue of this.namespaceRules){this.namespaceOptions.push(Ue.namespaceName);const Pt={login:"disabled",password:"disabled"};this.parseAttributes(Pt,Ue.requiredAttributes,"required"),this.parseAttributes(Pt,Ue.optionalAttributes,"optional"),this.parsedRules.set(Ue.namespaceName,Pt)}}parseAttributes(Ue,Pt,Gt){for(const Qt of Pt)switch(Qt){case"login":Ue.login=Gt;break;case"password":Ue.password=Gt}}onConfirm(){this.loading=!0;const Ue={vo:this.data.voId,userData:{firstName:this.userControl.get("firstName").value,lastName:this.userControl.get("lastName").value,titleAfter:this.userControl.get("titleAfter").value,titleBefore:this.userControl.get("titleBefore").value,email:this.namespaceControl.get("email").value},sponsor:"other"===this.sponsorType?this.selectedSponsor.id:this.store.getPerunPrincipal().userId},Pt=this.namespaceControl.get("namespace").value,Gt=this.parsedRules.get(Pt);"No namespace"!==Pt&&(Ue.userData.namespace=Pt),"disabled"!==Gt.login&&(Ue.userData.login=this.namespaceControl.get("login").value),"disabled"!==Gt.password&&(Ue.sendActivationLink=this.namespaceControl.get("passwordReset").value,Ue.userData.password=this.namespaceControl.get("passwordCtrl").value),"never"!==this.expiration&&(Ue.validityTo=this.expiration),this.membersService.createSponsoredMember(Ue).subscribe(Qt=>{this.successfullyCreated=!0,this.dialogRef.updateSize("600px"),this.createdMember=Qt,!!Qt&&!!Qt.userAttributes&&Qt.userAttributes.filter(Ci=>"login-namespace"===Ci.baseFriendlyName).filter(Ci=>Ci.friendlyNameParameter===Pt).filter(Ci=>null!==Ci.value).forEach(Ci=>{this.loginThatWasSet=Ci.value.toString()}),this.loading=!1},()=>{this.loading=!1})}onCancel(){this.successfullyCreated?this.dialogRef.close(!0):this.dialogRef.close()}onNamespaceChanged(Ue){this.selectedNamespace=Ue;const Pt=this.parsedRules.get(Ue),Gt=this.namespaceControl.get("login"),Qt=this.namespaceControl.get("passwordCtrl"),Ci=this.namespaceControl.get("passwordAgainCtrl"),ji=this.namespaceControl.get("passwordReset");"disabled"!==Pt.login?(0,v.mH)(Gt,"optional"===Pt.login?[]:[s.kI.required]):(Gt.disable(),Gt.setValue("")),"disabled"!==Pt.password?((0,v.mH)(Qt,"optional"===Pt.password?[]:[s.kI.required],[(0,E.yT)(Ue,this.usersService,this.apiRequestConfiguration)]),(0,v.mH)(Ci,[]),(0,v.mH)(ji,[]),this.namespaceControl.get("passwordReset").setValue(!1)):(Qt.disable(),Qt.setValue(""),Ci.disable(),Ci.setValue(""),ji.disable(),ji.setValue(!1))}passwordResetChange(){const Ue=this.namespaceControl.get("passwordCtrl"),Pt=this.namespaceControl.get("passwordAgainCtrl");this.namespaceControl.get("passwordReset").value?(Ue.disable(),Ue.setValue(""),Pt.disable(),Pt.setValue("")):(Ue.enable(),Pt.enable())}setExpiration(Ue){this.expiration="never"===Ue?"never":(0,b.p6)(Ue,"yyyy-MM-dd","en-GB")}getStepperNextConditions(){switch(this.stepper.selectedIndex){case 0:return this.userControl.invalid;case 1:return this.namespaceControl.invalid||this.namespaceControl.get("passwordCtrl").pending;default:return!1}}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return ot.\u0275fac=function(Ue){return new(Ue||ot)(h.Y36(m.so),h.Y36(m.WI),h.Y36(e.uq),h.Y36(A.F5),h.Y36(e.Fv),h.Y36(A.d6),h.Y36(x.sK),h.Y36(e.Ct),h.Y36(A.x4),h.Y36(s.qu),h.Y36(h.sBO))},ot.\u0275cmp=h.Xpm({type:ot,selectors:[["app-create-sponsored-member-dialog"]],viewQuery:function(Ue,Pt){if(1&Ue&&h.Gf(ke,5),2&Ue){let Gt;h.iGM(Gt=h.CRH())&&(Pt.stepper=Gt.first)}},decls:7,vars:9,consts:[["mat-dialog-title","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-title",""],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],["stepper",""],[3,"stepControl"],["matStepLabel",""],["alert_type","error",4,"ngIf"],[1,"dialog-container",3,"formGroup"],[1,"mt-2"],[1,"mt-4"],["matInput","","formControlName","firstName","required","",3,"placeholder"],[4,"ngIf"],["matInput","","formControlName","lastName","required","",3,"placeholder"],["matInput","","formControlName","titleBefore",3,"placeholder"],["matInput","","formControlName","titleAfter",3,"placeholder"],[1,"dialog-container","mt-4",3,"formGroup"],["required","","formControlName","namespace",3,"placeholder","valueChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltipPosition","left",3,"matTooltip","matTooltipDisabled"],["matInput","","required","","formControlName","login",3,"placeholder"],["matInput","","required","","formControlName","email",3,"placeholder"],["labelPosition","before","formControlName","passwordReset",3,"change"],[3,"formGroup","tooltipPwdViaEmail","namespace"],[1,"dialog-container"],[1,"dialog-container",3,"ngModel","ngModelChange"],["matTooltipPosition","before",3,"matTooltip","matTooltipDisabled"],["value","self",3,"disabled","click"],["value","other",3,"disabled"],[1,"mt-2",3,"datePicker"],["alert_type","error"],[3,"value"],[3,"users","disableAutoSelect","userSelected"],[1,"bigger-font","mb-2"],[1,"mr-2","mb-2"],["alert_type","warn"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","","type","button",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],["class","ml-2","color","accent","mat-flat-button","","type","button",3,"disabled","click",4,"ngIf"],["color","accent","mat-flat-button","","type","button",3,"disabled","click"],["color","accent","mat-flat-button","","type","button",1,"ml-2",3,"disabled","click"]],template:function(Ue,Pt){1&Ue&&(h.TgZ(0,"div"),h.YNc(1,De,3,3,"h1",0),h.YNc(2,be,1,0,"mat-spinner",1),h.YNc(3,st,76,80,"div",2),h.YNc(4,dt,20,20,"div",2),h.YNc(5,L,4,3,"div",3),h.YNc(6,P,7,6,"div",3),h.qZA()),2&Ue&&(h.Tol(Pt.theme),h.xp6(1),h.Q6J("ngIf",!Pt.successfullyCreated),h.xp6(1),h.Q6J("ngIf",Pt.loading),h.xp6(1),h.Q6J("ngIf",!Pt.loading&&!Pt.successfullyCreated),h.xp6(1),h.Q6J("ngIf",!Pt.loading&&Pt.successfullyCreated),h.xp6(1),h.Q6J("ngIf",Pt.successfullyCreated),h.xp6(1),h.Q6J("ngIf",!Pt.loading&&!Pt.successfullyCreated))},directives:[b.O5,m.uh,k.$g,m.xY,G.Vq,G.C0,G.VY,X.w,s._Y,s.JL,s.sg,he.KE,re.Nt,s.Fj,s.JJ,s.u,s.Q7,he.TO,Ne.gD,b.sg,ce.ey,Pe.gM,se.oG,V.G,F.VQ,s.On,F.U0,W.S,ae,pe.Hw,m.H8,Be.lW],pipes:[x.X$,Fe.d],styles:[".bigger-font[_ngcontent-%COMP%]{font-size:1.5rem}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:8px}mat-icon[_ngcontent-%COMP%]{color:#28a745;font-size:36px;vertical-align:bottom}"]}),ot})();var ne=d(64080),j=d(61150),Te=d(7434),n=d(24179),r=d(92181);const u=["stepper"];function o(ot,zt){1&ot&&h._UZ(0,"mat-spinner",4)}function t(ot,zt){1&ot&&(h._uU(0),h.ALo(1,"translate")),2&ot&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_LABEL"))}function i(ot,zt){1&ot&&(h.TgZ(0,"app-alert",29),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function c(ot,zt){if(1&ot&&(h.TgZ(0,"mat-option",30),h._uU(1),h.qZA()),2&ot){const Ue=zt.$implicit;h.Q6J("value",Ue),h.xp6(1),h.hij(" ",Ue," ")}}function p(ot,zt){1&ot&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE_ERROR")," "))}function T(ot,zt){1&ot&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMES_ERROR")," "))}function Se(ot,zt){if(1&ot&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot){const Ue=h.oxw(3);h.xp6(1),h.AsE(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_FORMAT"),": ",Ue.usersInfoFormGroup.get("sponsoredMembers").getError("invalidFormat").value," ")}}function je(ot,zt){if(1&ot&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot){const Ue=h.oxw(3);h.xp6(1),h.AsE(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_EMAIL"),": ",Ue.usersInfoFormGroup.get("sponsoredMembers").getError("invalidEmail").value," ")}}function Et(ot,zt){if(1&ot&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot){const Ue=h.oxw(3);h.xp6(1),h.AsE(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_LOGIN"),": ",Ue.usersInfoFormGroup.get("sponsoredMembers").getError("invalidLogin").value," ")}}function St(ot,zt){1&ot&&(h._uU(0),h.ALo(1,"translate")),2&ot&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_LABEL"))}function Ft(ot,zt){1&ot&&(h.TgZ(0,"app-alert",31),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_NAMESPACE_PASSWORD_INFO")," "))}function It(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"mat-radio-group",32),h.NdJ("ngModelChange",function(Gt){return h.CHM(Ue),h.oxw(3).passwordReset=Gt}),h.TgZ(1,"mat-radio-button",33),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-radio-button",34),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.qZA()}if(2&ot){const Ue=h.oxw(3);h.Q6J("ngModel",Ue.passwordReset),h.xp6(2),h.hij(" ",h.lcZ(3,3,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GENERATE_PASSWORD")," "),h.xp6(3),h.hij(" ",h.lcZ(6,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_RESET")," ")}}function Vt(ot,zt){1&ot&&(h._uU(0),h.ALo(1,"translate")),2&ot&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION_LABEL"))}function Mt(ot,zt){1&ot&&(h._uU(0),h.ALo(1,"translate")),2&ot&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUPS_LABEL"))}function at(ot,zt){1&ot&&(h.TgZ(0,"div"),h.TgZ(1,"app-alert",35),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.qZA()),2&ot&&(h.xp6(2),h.Oqu(h.lcZ(3,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DONT_ASSIGN_INFO")))}function Ut(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"h5",36),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-create-group-form",37),h.NdJ("nameChanged",function(Gt){return h.CHM(Ue),h.oxw(3).name=Gt})("descriptionChanged",function(Gt){return h.CHM(Ue),h.oxw(3).description=Gt})("parentGroupChanged",function(Gt){return h.CHM(Ue),h.oxw(3).parentGroup=Gt})("asSubgroupChanged",function(Gt){return h.CHM(Ue),h.oxw(3).asSubGroup=Gt}),h.qZA(),h.qZA()}if(2&ot){const Ue=h.oxw(3);h.xp6(2),h.hij(" ",h.lcZ(3,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CREATE_NEW_GROUP")," "),h.xp6(2),h.Q6J("voGroups",Ue.allVoGroups)}}const gt=function(){return["select","id","name","description"]};function xt(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"h5",36),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-immediate-filter",38),h.NdJ("filter",function(Gt){return h.CHM(Ue),h.oxw(3).applyFilter(Gt)}),h.qZA(),h._UZ(5,"perun-web-apps-groups-list",39),h.qZA()}if(2&ot){const Ue=h.oxw(3);h.xp6(2),h.hij(" ",h.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SELECT_EXISTING_GROUPS")," "),h.xp6(2),h.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),h.xp6(1),h.Q6J("groups",Ue.assignableGroups)("selection",Ue.selection)("displayedColumns",h.DdM(10,gt))("disableRouting",!0)("tableId",Ue.tableId)("filter",Ue.filterValue)}}function Ve(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"mat-stepper",8,9),h.TgZ(2,"mat-step",10),h.YNc(3,t,2,3,"ng-template",11),h.YNc(4,i,3,3,"app-alert",12),h.TgZ(5,"h5",13),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"form",14),h.TgZ(9,"mat-form-field"),h.TgZ(10,"mat-select",15),h.ALo(11,"translate"),h.YNc(12,c,2,2,"mat-option",16),h.qZA(),h.YNc(13,p,3,3,"mat-error",7),h.qZA(),h.TgZ(14,"div"),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.TgZ(17,"div",17),h._uU(18),h.qZA(),h.TgZ(19,"mat-form-field",18),h.TgZ(20,"mat-label"),h._uU(21),h.ALo(22,"translate"),h.qZA(),h.TgZ(23,"textarea",19),h._uU(24," "),h.qZA(),h.YNc(25,T,3,3,"mat-error",7),h.YNc(26,Se,3,4,"mat-error",7),h.YNc(27,je,3,4,"mat-error",7),h.YNc(28,Et,3,4,"mat-error",7),h.qZA(),h.qZA(),h.qZA(),h.TgZ(29,"mat-step"),h.YNc(30,St,2,3,"ng-template",11),h.TgZ(31,"div",13),h.TgZ(32,"h5",20),h._uU(33),h.ALo(34,"translate"),h.qZA(),h.YNc(35,Ft,3,3,"app-alert",21),h.YNc(36,It,7,7,"mat-radio-group",22),h.qZA(),h.qZA(),h.TgZ(37,"mat-step"),h.YNc(38,Vt,2,3,"ng-template",11),h.TgZ(39,"div",13),h.TgZ(40,"h5",20),h._uU(41),h.ALo(42,"translate"),h.qZA(),h.TgZ(43,"perun-web-apps-expiration-select",23),h.NdJ("datePicker",function(Gt){return h.CHM(Ue),h.oxw(2).setExpiration(Gt)}),h.qZA(),h.qZA(),h.qZA(),h.TgZ(44,"mat-step"),h.YNc(45,Mt,2,3,"ng-template",11),h.TgZ(46,"div",13),h.TgZ(47,"h5",20),h._uU(48),h.ALo(49,"translate"),h.qZA(),h.TgZ(50,"mat-radio-group",24),h.NdJ("change",function(){return h.CHM(Ue),h.oxw(2).groupAssigmentChanged()})("ngModelChange",function(Gt){return h.CHM(Ue),h.oxw(2).groupAssignment=Gt}),h.TgZ(51,"mat-radio-button",25),h._uU(52),h.ALo(53,"translate"),h.qZA(),h.TgZ(54,"span",26),h.ALo(55,"translate"),h.TgZ(56,"mat-radio-button",27),h._uU(57),h.ALo(58,"translate"),h.qZA(),h.qZA(),h.TgZ(59,"span",26),h.ALo(60,"translate"),h.TgZ(61,"mat-radio-button",28),h._uU(62),h.ALo(63,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.YNc(64,at,4,3,"div",7),h.YNc(65,Ut,5,4,"div",7),h.YNc(66,xt,6,11,"div",7),h.qZA(),h.qZA()}if(2&ot){const Ue=h.oxw(2);h.Q6J("linear",!0),h.xp6(2),h.Q6J("stepControl",Ue.usersInfoFormGroup),h.xp6(2),h.Q6J("ngIf",Ue.functionalityNotSupported),h.xp6(2),h.Oqu(h.lcZ(7,35,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_INFO")),h.xp6(2),h.Q6J("formGroup",Ue.usersInfoFormGroup),h.xp6(2),h.s9C("placeholder",h.lcZ(11,37,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE")),h.xp6(2),h.Q6J("ngForOf",Ue.namespaceOptions),h.xp6(1),h.Q6J("ngIf",Ue.usersInfoFormGroup.hasError("required","namespace")),h.xp6(2),h.Oqu(h.lcZ(16,39,"DIALOGS.GENERATE_SPONSORED_MEMBERS.HINT")),h.xp6(3),h.hij(" ",Ue.getSelectedNamespaceRules().csvGenHeaderDescription," "),h.xp6(3),h.Oqu(h.lcZ(22,41,"DIALOGS.GENERATE_SPONSORED_MEMBERS.INSERT_HERE")),h.xp6(2),h.s9C("placeholder",Ue.getSelectedNamespaceRules().csvGenPlaceholder),h.xp6(2),h.Q6J("ngIf",Ue.usersInfoFormGroup.hasError("required","sponsoredMembers")),h.xp6(1),h.Q6J("ngIf",Ue.usersInfoFormGroup.hasError("invalidFormat","sponsoredMembers")),h.xp6(1),h.Q6J("ngIf",Ue.usersInfoFormGroup.hasError("invalidEmail","sponsoredMembers")),h.xp6(1),h.Q6J("ngIf",Ue.usersInfoFormGroup.hasError("invalidLogin","sponsoredMembers")),h.xp6(5),h.hij(" ",h.lcZ(34,43,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_MANAGEMENT")," "),h.xp6(2),h.Q6J("ngIf","No namespace"===Ue.getSelectedNamespaceRules().namespaceName),h.xp6(1),h.Q6J("ngIf","No namespace"!==Ue.getSelectedNamespaceRules().namespaceName),h.xp6(5),h.Oqu(h.lcZ(42,45,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION")),h.xp6(2),h.Q6J("expiration",Ue.expiration),h.xp6(5),h.Oqu(h.lcZ(49,47,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUP_ASSIGMENT")),h.xp6(2),h.Q6J("ngModel",Ue.groupAssignment),h.xp6(2),h.hij(" ",h.lcZ(53,49,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_ASSIGN")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(55,51,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_NEW")),h.Q6J("matTooltipDisabled",!Ue.manualMemberAddingBlocked&&Ue.createGroupAuth),h.xp6(2),h.Q6J("disabled",Ue.manualMemberAddingBlocked||!Ue.createGroupAuth),h.xp6(1),h.hij(" ",h.lcZ(58,53,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_TO_NEW")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(60,55,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_EXISTING")),h.Q6J("matTooltipDisabled",!Ue.manualMemberAddingBlocked&&0!==Ue.assignableGroups.length),h.xp6(2),h.Q6J("disabled",Ue.manualMemberAddingBlocked||0===Ue.assignableGroups.length),h.xp6(1),h.hij(" ",h.lcZ(63,57,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_EXISTING")," "),h.xp6(2),h.Q6J("ngIf","none"===Ue.groupAssignment),h.xp6(1),h.Q6J("ngIf","new"===Ue.groupAssignment),h.xp6(1),h.Q6J("ngIf","existing"===Ue.groupAssignment)}}function $e(ot,zt){1&ot&&(h.TgZ(0,"app-alert",41),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.Q6J("alert_type","success"),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUCCESS")," "))}function oe(ot,zt){1&ot&&(h.TgZ(0,"app-alert",41),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.Q6J("alert_type","warn"),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.FINISHED_WITH_ERRORS")," "))}function H(ot,zt){if(1&ot&&(h.TgZ(0,"div"),h.YNc(1,$e,3,4,"app-alert",40),h.YNc(2,oe,3,4,"app-alert",40),h.qZA()),2&ot){const Ue=h.oxw(2);h.xp6(1),h.Q6J("ngIf",!1===Ue.finishedWithErrors),h.xp6(1),h.Q6J("ngIf",Ue.finishedWithErrors)}}function ee(ot,zt){if(1&ot&&(h.TgZ(0,"div",5),h.YNc(1,Ve,67,59,"mat-stepper",6),h.YNc(2,H,3,2,"div",7),h.qZA()),2&ot){const Ue=h.oxw();h.xp6(1),h.Q6J("ngIf","user-input"===Ue.state),h.xp6(1),h.Q6J("ngIf","results"===Ue.state)}}function Y(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"button",47),h.NdJ("click",function(){return h.CHM(Ue),h.oxw(2).stepperPrevious()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "))}function Le(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"button",48),h.NdJ("click",function(){return h.CHM(Ue),h.oxw(2).stepperNext()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ot){const Ue=h.oxw(2);h.ekj("ml-2",void 0!==Ue.stepper&&0!==Ue.stepper.selectedIndex)("ml-auto",!(void 0!==Ue.stepper&&0!==Ue.stepper.selectedIndex)),h.Q6J("disabled",Ue.getStepperNextConditions()),h.xp6(1),h.hij(" ",h.lcZ(2,6,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," ")}}function Ye(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"button",48),h.NdJ("click",function(){return h.CHM(Ue),h.oxw(2).onSubmit()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ot){const Ue=h.oxw(2);h.Q6J("disabled",null===Ue.groupAssignment||"existing"===Ue.groupAssignment&&0===Ue.selection.selected.length||"new"===Ue.groupAssignment&&(0===Ue.name.length||0===Ue.description.length)||!0===Ue.asSubGroup&&null===Ue.parentGroup),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUBMIT")," ")}}function mt(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"div",42),h.TgZ(1,"button",43),h.NdJ("click",function(){return h.CHM(Ue),h.oxw().onCancel()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,Y,3,3,"button",44),h.YNc(5,Le,3,8,"button",45),h.YNc(6,Ye,3,4,"button",46),h.qZA()}if(2&ot){const Ue=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,4,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),h.xp6(2),h.Q6J("ngIf",void 0!==Ue.stepper&&0!==Ue.stepper.selectedIndex),h.xp6(1),h.Q6J("ngIf",void 0!==Ue.stepper&&Ue.stepper.selectedIndex!==Ue.stepper._steps.length-1),h.xp6(1),h.Q6J("ngIf",void 0!==Ue.stepper&&Ue.stepper.selectedIndex===Ue.stepper._steps.length-1)}}function Ht(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"div",42),h.TgZ(1,"button",43),h.NdJ("click",function(){return h.CHM(Ue),h.oxw().onClose()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"button",49),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"mat-menu",null,50),h.TgZ(9,"button",51),h.NdJ("click",function(){return h.CHM(Ue),h.oxw().generatePdf()}),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.TgZ(12,"button",51),h.NdJ("click",function(){return h.CHM(Ue),h.oxw().downloadCsv()}),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&ot){const Ue=h.MAs(8);h.xp6(2),h.hij(" ",h.lcZ(3,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CLOSE")," "),h.xp6(2),h.Q6J("matMenuTriggerFor",Ue),h.xp6(1),h.hij(" ",h.lcZ(6,7,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD")," "),h.xp6(5),h.hij(" ",h.lcZ(11,9,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD_PDF")," "),h.xp6(3),h.hij(" ",h.lcZ(14,11,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD_CSV")," ")}}let qt=(()=>{class ot{constructor(Ue,Pt,Gt,Qt,Ci,ji,Ki,An,Un,io,Mn,On){this.dialogRef=Ue,this.data=Pt,this.store=Gt,this.membersService=Qt,this.notificator=Ci,this.translate=ji,this.guiAuthResolver=Ki,this.groupsService=An,this.attributesService=Un,this.formBuilder=io,this.sponsoredMembersPDFService=Mn,this.cd=On,this.loading=!1,this.functionalityNotSupported=!1,this.namespaceOptions=[],this.namespaceRules=[],this.state="user-input",this.passwordReset="generate",this.groupAssignment=null,this.expiration="never",this.assignableGroups=[],this.allVoGroups=[],this.selection=new f.Ov(!0,[]),this.manualMemberAddingBlocked=!1,this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null,this.groupIds=[],this.submitDisabled=!1,this.filterValue="",this.tableId=g.rc,this.finishedWithErrors=!1,this.groupAttrNames=[ne.r.GROUP_SYNC_ENABLED,ne.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING]}static didSomeGenerationFailed(Ue){return Ue.forEach(Pt=>{if("OK"!==Pt.status)return!0}),!1}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.createGroupAuth=this.guiAuthResolver.isAuthorized("createGroup_Vo_Group_policy",[{id:this.data.voId,beanName:"Vo"}]),this.usersInfoFormGroup=this.formBuilder.group({namespace:["",s.kI.required],sponsoredMembers:["",[s.kI.required,this.userInputValidator()]]}),this.usersInfoFormGroup.controls.namespace.valueChanges.subscribe({next:()=>{this.usersInfoFormGroup.controls.sponsoredMembers.updateValueAndValidity()}}),this.attributesService.getVoAttributes(this.data.voId).subscribe(Ue=>{this.manualMemberAddingBlocked=this.hasAttributeEnabled(Ue,"blockManualMemberAdding"),!0!==this.manualMemberAddingBlocked?this.groupsService.getAllRichGroupsWithAttributesByNames(this.data.voId,this.groupAttrNames).subscribe(Pt=>{this.allVoGroups=Pt.filter(Gt=>"members"!==Gt.name),this.assignableGroups=this.filterAssignableGroups(Pt),this.membersService.getAllNamespacesRules().subscribe(Gt=>{this.store.get("allow_empty_sponsor_namespace")&&this.namespaceRules.push({namespaceName:"No namespace",csvGenHeader:"firstname;lastname;urn:perun:user:attribute-def:def:preferredMail",csvGenPlaceholder:"John;Doe;john@mail.cz",csvGenHeaderDescription:"First name;Last name;Email"}),this.namespaceRules=this.namespaceRules.concat(Gt),this.namespaceRules.forEach(Qt=>this.namespaceOptions.push(Qt.namespaceName)),0===this.namespaceOptions.length?this.functionalityNotSupported=!0:this.usersInfoFormGroup.setValue({namespace:this.namespaceOptions[0],sponsoredMembers:""}),this.loading=!1,this.cd.detectChanges()})},()=>this.loading=!1):(this.loading=!1,this.cd.detectChanges())},()=>this.loading=!1)}filterAssignableGroups(Ue){const Pt=[];for(const Gt of Ue)!this.hasAttributeEnabled(Gt.attributes,"synchronizationEnabled")&&!this.hasAttributeEnabled(Gt.attributes,"blockManualMemberAdding")&&this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[Gt])&&Pt.push(Gt);return Pt}hasAttributeEnabled(Ue,Pt){return Ue.some(Gt=>Gt.friendlyName===Pt&&null!==Gt.value&&"true"===Gt.value.toString())}createOutputObjects(Ue){let Pt="",Gt="",Qt="",Ci="";const ji=[];return Ue.forEach(Ki=>{Pt=Ki.name.replace(";"," ").split(";")[0],Gt=Ki.status,Qt=Ki.login?Ki.login:Qt,Ci=Ki.password?Ki.password:Ci,ji.push({name:Pt,status:Gt,login:Qt,password:Ci})}),ji}onGenerate(){this.loading=!0;const Ue=this.usersInfoFormGroup.get("sponsoredMembers").value.split("\n"),Pt=this.getSelectedNamespaceRules().csvGenHeader,Gt=[];for(const Ci of Ue){const ji=this.parseMemberLine(Ci);if("format"===ji||"email"===ji)return void(this.loading=!1);""!==ji&&Gt.push(ji)}const Qt={data:Gt,header:Pt,namespace:"",sponsor:this.store.getPerunPrincipal().userId,vo:this.data.voId,sendActivationLinks:"reset"===this.passwordReset};"none"!==this.groupAssignment&&(Qt.groups=this.groupIds),"never"!==this.expiration&&(Qt.validityTo=(0,b.p6)(this.expiration,"yyyy-MM-dd","en-GB")),"No namespace"!==this.usersInfoFormGroup.get("namespace").value&&(Qt.namespace=this.usersInfoFormGroup.get("namespace").value),this.membersService.createSponsoredMembersFromCSV(Qt).subscribe(Ci=>{this.state="results",this.finishedWithErrors=ot.didSomeGenerationFailed(Ci),this.loading=!1,this.resultData=Ci},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onClose(){this.dialogRef.close(!0)}parseMemberLine(Ue){const Pt=Ue.trim();if(""===Pt)return"";const Gt=Pt.split(";"),Qt=this.getSelectedNamespaceRules().csvGenHeader.split(";");if(Gt.length!==Qt.length)return"format";if("mail"===Qt[2].slice(Qt[2].length-4).toLowerCase()&&!Gt[2].trim().match(v.B2))return"email";if("login"===Qt[3]&&""===Gt[3].trim())return"login";let Ci="";for(const ji of Gt)Ci+=ji.trim()+";";return Ci.slice(0,-1)}userInputValidator(){return Ue=>{const Pt=Ue.value.split("\n");for(const Gt of Pt){const Qt=this.parseMemberLine(Gt);if("format"===Qt)return{invalidFormat:{value:Gt}};if("email"===Qt)return{invalidEmail:{value:Gt}};if("login"===Qt)return{invalidLogin:{value:Gt}}}return null}}setExpiration(Ue){this.expiration="never"===Ue?"never":(0,b.p6)(Ue,"yyyy-MM-dd","en-GB")}applyFilter(Ue){this.filterValue=Ue}groupAssigmentChanged(){this.selection.clear(),this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null}onSubmit(){this.loading=!0,"new"===this.groupAssignment?this.asSubGroup?this.groupsService.createGroupWithParentGroupNameDescription(this.parentGroup.id,this.name,this.description).subscribe(Ue=>{this.groupIds.push(Ue.id),this.onGenerate()},()=>this.loading=!1):this.groupsService.createGroupWithVoNameDescription(this.data.voId,this.name,this.description).subscribe(Ue=>{this.groupIds.push(Ue.id),this.onGenerate()},()=>this.loading=!1):("existing"===this.groupAssignment&&(this.groupIds=this.selection.selected.map(Ue=>Ue.id)),this.onGenerate())}getSelectedNamespaceRules(){return this.namespaceRules.find(Ue=>Ue.namespaceName===this.usersInfoFormGroup.get("namespace").value)}generatePdf(){if(!this.resultData)throw new Error("Cannot generate pdf because there is no result");this.loading=!0,this.sponsoredMembersPDFService.generate(this.resultData).then(()=>this.loading=!1)}downloadCsv(){if(!this.resultData)throw new Error("Cannot generate pdf because there is no result");(0,v.O6)(this.createOutputObjects(this.resultData),"csv","member-logins")}getStepperNextConditions(){switch(this.stepper.selectedIndex){case 0:return this.usersInfoFormGroup.invalid;case 1:return null===this.passwordReset;case 2:return null===this.expiration;default:return!1}}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return ot.\u0275fac=function(Ue){return new(Ue||ot)(h.Y36(m.so),h.Y36(m.WI),h.Y36(A.d6),h.Y36(e.uq),h.Y36(A.V6),h.Y36(x.sK),h.Y36(A.x4),h.Y36(e.ff),h.Y36(e.H8),h.Y36(s.qu),h.Y36(A.HV),h.Y36(h.sBO))},ot.\u0275cmp=h.Xpm({type:ot,selectors:[["app-generate-sponsored-members-dialog"]],viewQuery:function(Ue,Pt){if(1&Ue&&h.Gf(u,5),2&Ue){let Gt;h.iGM(Gt=h.CRH())&&(Pt.stepper=Gt.first)}},decls:8,vars:10,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear",4,"ngIf"],[4,"ngIf"],[3,"linear"],["stepper",""],[3,"stepControl"],["matStepLabel",""],["alert_type","error",4,"ngIf"],[1,"mt-2"],[1,"flex-container","mt-2",3,"formGroup"],["required","","formControlName","namespace",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[1,"font-weight-bold"],[1,"pt-2"],["id","voGenerateSponsoredMembers","name","voGenerateSponsoredMembers","rows","8","cols","50","matInput","","formControlName","sponsoredMembers",1,"md-textarea","form-control",3,"placeholder"],[1,"mb-4"],["alert_type","info",4,"ngIf"],[3,"ngModel","ngModelChange",4,"ngIf"],[3,"expiration","datePicker"],[1,"flex-container",3,"ngModel","change","ngModelChange"],["value","none"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["value","new",3,"disabled"],["value","existing",3,"disabled"],["alert_type","error"],[3,"value"],["alert_type","info"],[3,"ngModel","ngModelChange"],["value","generate"],["value","reset"],["alert_type","info",1,"mt-4"],[1,"mt-4"],[3,"voGroups","nameChanged","descriptionChanged","parentGroupChanged","asSubgroupChanged"],[3,"placeholder","filter"],[3,"groups","selection","displayedColumns","disableRouting","tableId","filter"],[3,"alert_type",4,"ngIf"],[3,"alert_type"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],["color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-auto","dropdown-toggle",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(Ue,Pt){1&Ue&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,o,1,0,"mat-spinner",1),h.YNc(5,ee,3,2,"div",2),h.YNc(6,mt,7,6,"div",3),h.YNc(7,Ht,15,13,"div",3),h.qZA()),2&Ue&&(h.Tol(Pt.theme),h.xp6(2),h.Oqu(h.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.TITLE")),h.xp6(2),h.Q6J("ngIf",Pt.loading),h.xp6(1),h.Q6J("ngIf",!Pt.loading),h.xp6(1),h.Q6J("ngIf",!Pt.loading&&void 0!==Pt.stepper&&"results"!==Pt.state),h.xp6(1),h.Q6J("ngIf","results"===Pt.state))},directives:[m.uh,b.O5,k.$g,m.xY,G.Vq,G.C0,G.VY,X.w,s._Y,s.JL,s.sg,he.KE,Ne.gD,s.Q7,s.JJ,s.u,b.sg,ce.ey,he.TO,he.hX,re.Nt,s.Fj,F.VQ,s.On,F.U0,ae,Pe.gM,j.r,Te.L,n.W,m.H8,Be.lW,r.p6,r.VK,r.OP],pipes:[x.X$],styles:[".flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),ot})();var Dt=d(38383);function wt(ot,zt){1&ot&&h._UZ(0,"mat-spinner",12)}const At=function(){return["checkbox","id","fullName","status","sponsored","email"]};function Ot(ot,zt){if(1&ot&&h._UZ(0,"perun-web-apps-members-list",13),2&ot){const Ue=h.oxw();h.Q6J("tableId",Ue.tableId)("hidden",Ue.loading)("members",Ue.members)("selection",Ue.selection)("displayedColumns",h.DdM(6,At))("disableRouting",!0)}}function Wt(ot,zt){1&ot&&(h.TgZ(0,"app-alert",14),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.SPONSOR_EXISTING_MEMBER.BEGIN_SEARCH")," "))}let li=(()=>{class ot{constructor(Ue,Pt,Gt,Qt,Ci,ji){this.dialogRef=Ue,this.data=Pt,this.store=Gt,this.membersService=Qt,this.notificator=Ci,this.translate=ji,this.loading=!1,this.tableId=g.US,this.expiration="never",this.searchCtrl=new s.NI("",[s.kI.required]),this.firstSearchDone=!1,this.members=[],this.selection=new f.Ov(!0,[])}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}sponsor(Ue){if(this.loading=!0,0===Ue.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.SPONSOR_EXISTING_MEMBER.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const Pt=Ue.pop();Pt.sponsored?this.membersService.sponsorMember(Pt.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(Ue)},()=>this.loading=!1):this.membersService.setSponsorshipForMember(Pt.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(Ue)},()=>this.loading=!1)}onSubmit(){this.loading=!0;const Ue=Array.from(this.selection.selected);this.expiration="never"===this.expiration?null:this.expiration,this.sponsor(Ue)}setExpiration(Ue){this.expiration="never"===Ue?"never":(0,b.p6)(Ue,"yyyy-MM-dd","en-GB")}onSearchByString(){this.searchCtrl.invalid?this.searchCtrl.markAllAsTouched():(this.firstSearchDone=!0,this.loading=!0,this.selection.clear(),this.membersService.findCompleteRichMembersForVo(this.data.voId,[ne.r.MEMBER_DEF_EXPIRATION,ne.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(Pt=>{this.members=Pt,this.loading=!1},()=>this.loading=!1))}}return ot.\u0275fac=function(Ue){return new(Ue||ot)(h.Y36(m.so),h.Y36(m.WI),h.Y36(A.d6),h.Y36(e.uq),h.Y36(A.V6),h.Y36(x.sK))},ot.\u0275cmp=h.Xpm({type:ot,selectors:[["app-sponsor-existing-member-dialog"]],decls:31,vars:30,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"ml-auto",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","hidden","members","selection","displayedColumns","disableRouting",4,"ngIf"],["alert_type","info",4,"ngIf"],[3,"datePicker"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","hidden","members","selection","displayedColumns","disableRouting"],["alert_type","info"]],template:function(Ue,Pt){1&Ue&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",1),h.TgZ(5,"mat-form-field",2),h.TgZ(6,"label"),h.TgZ(7,"input",3),h.NdJ("keyup.enter",function(){return Pt.onSearchByString()}),h.ALo(8,"translate"),h.qZA(),h.qZA(),h.TgZ(9,"mat-error"),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.qZA(),h.TgZ(12,"button",4),h.NdJ("click",function(){return Pt.onSearchByString()}),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.YNc(15,wt,1,0,"mat-spinner",5),h.YNc(16,Ot,1,7,"perun-web-apps-members-list",6),h.YNc(17,Wt,3,3,"app-alert",7),h.TgZ(18,"div"),h._UZ(19,"br"),h.TgZ(20,"h6"),h._uU(21),h.ALo(22,"translate"),h.qZA(),h.TgZ(23,"perun-web-apps-expiration-select",8),h.NdJ("datePicker",function(Qt){return Pt.setExpiration(Qt)}),h.qZA(),h.qZA(),h.qZA(),h.TgZ(24,"div",9),h.TgZ(25,"button",10),h.NdJ("click",function(){return Pt.onCancel()}),h._uU(26),h.ALo(27,"translate"),h.qZA(),h.TgZ(28,"button",11),h.NdJ("click",function(){return Pt.onSubmit()}),h._uU(29),h.ALo(30,"translate"),h.qZA(),h.qZA(),h.qZA()),2&Ue&&(h.Tol(Pt.theme),h.xp6(2),h.Oqu(h.lcZ(3,16,"DIALOGS.SPONSOR_EXISTING_MEMBER.TITLE")),h.xp6(5),h.s9C("placeholder",h.lcZ(8,18,"DIALOGS.SPONSOR_EXISTING_MEMBER.DESCRIPTION")),h.Q6J("formControl",Pt.searchCtrl),h.xp6(3),h.hij(" ",h.lcZ(11,20,"DIALOGS.SPONSOR_EXISTING_MEMBER.EMPTY_SEARCH_MESSAGE")," "),h.xp6(2),h.Q6J("disabled",Pt.loading),h.xp6(1),h.hij(" ",h.lcZ(14,22,"DIALOGS.SPONSOR_EXISTING_MEMBER.SEARCH")," "),h.xp6(2),h.Q6J("ngIf",Pt.loading),h.xp6(1),h.Q6J("ngIf",Pt.firstSearchDone),h.xp6(1),h.Q6J("ngIf",!Pt.firstSearchDone),h.xp6(4),h.Oqu(h.lcZ(22,24,"DIALOGS.SPONSOR_EXISTING_MEMBER.EXPIRATION")),h.xp6(5),h.hij(" ",h.lcZ(27,26,"DIALOGS.SPONSOR_EXISTING_MEMBER.CANCEL")," "),h.xp6(2),h.Q6J("disabled",Pt.loading||0===Pt.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(30,28,"DIALOGS.SPONSOR_EXISTING_MEMBER.SPONSOR")," "))},directives:[m.uh,m.xY,he.KE,re.Nt,s.Fj,s.JJ,s.oH,he.TO,Be.lW,b.O5,k.$g,Dt.O,X.w,ae,m.H8],pipes:[x.X$],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}"]}),ot})();var gi=d(96214),Ti=d(84847),Ri=d(32075),Gi=d(19352),an=d(58964),Qi=d(18750),Wi=d(50301),mn=d(11735),Xi=d(20919),et=d(5865);function Ct(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"th",19),h.TgZ(1,"mat-checkbox",20),h.NdJ("change",function(Gt){h.CHM(Ue);const Qt=h.oxw();return Gt?Qt.masterToggle():null}),h.qZA(),h.qZA()}if(2&ot){const Ue=h.oxw();h.xp6(1),h.Q6J("aria-label",Ue.checkboxLabel())("checked",Ue.selection.hasValue()&&Ue.isAllSelected())("indeterminate",Ue.selection.hasValue()&&!Ue.isAllSelected())}}function tt(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"td",21),h.TgZ(1,"mat-checkbox",22),h.NdJ("change",function(Gt){const Ci=h.CHM(Ue).$implicit,ji=h.oxw();return Gt?ji.selection.toggle(Ci):null})("click",function(Gt){return Gt.stopPropagation()}),h.qZA(),h.qZA()}if(2&ot){const Ue=zt.$implicit,Pt=h.oxw();h.xp6(1),h.Q6J("aria-label",Pt.checkboxLabel(Ue))("checked",Pt.selection.isSelected(Ue))}}function He(ot,zt){1&ot&&(h.TgZ(0,"th",23),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.ID")," "))}function Qe(ot,zt){if(1&ot&&(h.TgZ(0,"td",24),h._uU(1),h.qZA()),2&ot){const Ue=zt.$implicit;h.xp6(1),h.hij(" ",Ue.member.id," ")}}function D(ot,zt){1&ot&&(h.TgZ(0,"th",23),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NAME")," "))}function ue(ot,zt){if(1&ot&&(h.TgZ(0,"td",25),h._uU(1),h.ALo(2,"userFullName"),h.qZA()),2&ot){const Ue=zt.$implicit;h.xp6(1),h.hij(" ",h.lcZ(2,1,Ue.member.user)," ")}}function Xe(ot,zt){1&ot&&(h.TgZ(0,"th",26),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.EMAIL")," "))}function bt(ot,zt){if(1&ot&&(h.TgZ(0,"td",25),h._uU(1),h.ALo(2,"memberEmail"),h.qZA()),2&ot){const Ue=zt.$implicit;h.xp6(1),h.Oqu(h.lcZ(2,1,Ue.member))}}function Jt(ot,zt){1&ot&&(h.TgZ(0,"th",26),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.LOGIN")," "))}function ti(ot,zt){if(1&ot&&(h.TgZ(0,"td",25),h._uU(1),h.ALo(2,"memberLogins"),h.qZA()),2&ot){const Ue=zt.$implicit;h.xp6(1),h.hij(" ",h.lcZ(2,1,Ue.member)," ")}}function bi(ot,zt){1&ot&&(h.TgZ(0,"th",23),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.SPONSORS")," "))}function wi(ot,zt){if(1&ot&&(h.TgZ(0,"span"),h._uU(1),h.ALo(2,"userFullName"),h._UZ(3,"br"),h.qZA()),2&ot){const Ue=zt.$implicit;h.xp6(1),h.hij(" ",h.lcZ(2,1,Ue.user),"")}}function en(ot,zt){if(1&ot&&(h.TgZ(0,"td",25),h.YNc(1,wi,4,3,"span",27),h.qZA()),2&ot){const Ue=zt.$implicit;h.xp6(1),h.Q6J("ngForOf",Ue.sponsors)}}function on(ot,zt){1&ot&&h._UZ(0,"th",23)}function Hi(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"span",30),h.ALo(1,"translate"),h.TgZ(2,"button",31),h.NdJ("mouseenter",function(){return h.CHM(Ue),h.oxw(2).disableRouting=!0})("mouseleave",function(){h.CHM(Ue);const Gt=h.oxw(2);return Gt.disableRouting=Gt.routingStrategy})("click",function(){h.CHM(Ue);const Gt=h.oxw().$implicit;return h.oxw().resetPassword(Gt)}),h.TgZ(3,"mat-icon"),h._uU(4,"vpn_key"),h.qZA(),h.qZA(),h.qZA()}if(2&ot){const Ue=h.oxw(2);h.Q6J("matTooltipPosition","above")("matTooltip",h.lcZ(1,3,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.PASSWORD_RESET")),h.xp6(2),h.Q6J("disabled",Ue.loading)}}function Bi(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"td",25),h.TgZ(1,"button",28),h.NdJ("click",function(){const Qt=h.CHM(Ue).$implicit;return h.oxw().showSponsors(Qt)})("mouseenter",function(){return h.CHM(Ue),h.oxw().disableRouting=!0})("mouseleave",function(){h.CHM(Ue);const Gt=h.oxw();return Gt.disableRouting=Gt.routingStrategy}),h.TgZ(2,"mat-icon"),h._uU(3,"edit"),h.qZA(),h.qZA(),h.YNc(4,Hi,5,5,"span",29),h.qZA()}if(2&ot){const Ue=zt.$implicit,Pt=h.oxw();h.xp6(4),h.Q6J("ngIf",Pt.passwdResetAuth(Ue))}}function cn(ot,zt){1&ot&&h._UZ(0,"tr",32)}const Di=function(ot,zt){return["/organizations",ot,"members",zt]};function xi(ot,zt){if(1&ot&&h._UZ(0,"tr",33),2&ot){const Ue=zt.$implicit,Pt=h.oxw();h.ekj("cursor-pointer",!Pt.disableRouting)("disable-outline",Pt.disableRouting),h.Q6J("perunWebAppsMiddleClickRouterLink",Pt.disableRouting?null:h.WLB(6,Di,Ue.member.voId,Ue.member.id))("routerLink",Pt.disableRouting?null:h.WLB(9,Di,Ue.member.voId,Ue.member.id))}}function _n(ot,zt){1&ot&&(h.TgZ(0,"app-alert",34),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function hn(ot,zt){1&ot&&(h.TgZ(0,"app-alert",34),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NO_SPONSORED_MEMBERS_WARNING"),"\n"))}let $i=(()=>{class ot{constructor(Ue,Pt,Gt,Qt,Ci){this.dialog=Ue,this.authResolver=Pt,this.storeService=Gt,this.attributesManager=Qt,this.tableCheckbox=Ci,this.sponsoredMembers=[],this.filterValue="",this.displayedColumns=["id","name","email","logins","sponsors","menu"],this.disableRouting=!1,this.refreshTable=new h.vpe,this.loading=!1,this.routingStrategy=!1,this.pageSizeOptions=v.f7}set matSort(Ue){this.sort=Ue}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Ue=>"id"!==Ue)),this.setDataSource(),this.routingStrategy=this.disableRouting}getSortDataForColumn(Ue,Pt){var Gt;switch(Pt){case"id":return Ue.member.id.toString();case"name":return Ue.member.user?Ue.member.user.lastName?Ue.member.user.lastName:null!==(Gt=Ue.member.user.firstName)&&void 0!==Gt?Gt:"":"";case"sponsors":return Ue.sponsors.length.toString();default:return""}}getDataForColumn(Ue,Pt){switch(Pt){case"id":return Ue.member.id.toString();case"name":return Ue.member.user?(0,v.bD)(Ue.member.user):"";case"sponsors":return Ue.sponsors.map(Gt=>(0,v.bD)(Gt.user)).join();default:return""}}exportData(Ue){(0,v.O6)((0,v.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),Ue)}setDataSource(){this.dataSource||(this.dataSource=new Ri.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(Ue,Pt)=>(0,v.Sd)(Ue,Pt,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(Ue,Pt)=>(0,v.pR)(Ue,Pt,this.getSortDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.sponsoredMembers}showSponsors(Ue){const Pt=(0,v.kZ)();Pt.width="650px",Pt.data={sponsors:Ue.sponsors,member:Ue.member,theme:"vo-theme"},this.dialog.open(Gi.H,Pt).afterClosed().subscribe(Qt=>{Qt&&this.refreshTable.emit()})}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(Ue){return Ue?`${this.selection.isSelected(Ue)?"deselect":"select"} row ${Ue.member.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}resetPassword(Ue){this.loading=!0;const Pt=this.storeService.get("password_namespace_attributes").map(Gt=>(Gt=Gt.split(":"))[Gt.length-1]);this.attributesManager.getLogins(Ue.member.userId).subscribe(Gt=>{const Qt=Gt.filter(Ki=>Pt.includes(Ki.friendlyNameParameter)),Ci=(0,v.kZ)();Ci.width="400px",Ci.data={userId:Ue.member.userId,memberId:Ue.member.id,logins:Qt},this.dialog.open(an.m,Ci).afterClosed().subscribe(()=>{this.loading=!1})},()=>this.loading=!1)}passwdResetAuth(Ue){return this.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[{id:Ue.member.voId,beanName:"Vo"},Ue.member])}}return ot.\u0275fac=function(Ue){return new(Ue||ot)(h.Y36(m.uw),h.Y36(A.x4),h.Y36(A.d6),h.Y36(e.H8),h.Y36(A.UA))},ot.\u0275cmp=h.Xpm({type:ot,selectors:[["app-sponsored-members-list"]],viewQuery:function(Ue,Pt){if(1&Ue&&(h.Gf(Ti.YE,7),h.Gf(v.l9,7)),2&Ue){let Gt;h.iGM(Gt=h.CRH())&&(Pt.matSort=Gt.first),h.iGM(Gt=h.CRH())&&(Pt.child=Gt.first)}},inputs:{sponsoredMembers:"sponsoredMembers",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",disableRouting:"disableRouting",tableId:"tableId"},outputs:{refreshTable:"refreshTable"},features:[h.TTD],decls:28,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","email"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","logins"],["matColumnDef","sponsors"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-cell",""],[4,"ngFor","ngForOf"],["aria-label","sponsors of member","mat-icon-button","",1,"dark-hover-list-item",3,"click","mouseenter","mouseleave"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],["aria-label","sponsors of member","mat-icon-button","",1,"dark-hover-list-item",3,"disabled","mouseenter","mouseleave","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(Ue,Pt){1&Ue&&(h.TgZ(0,"div",0),h.TgZ(1,"perun-web-apps-table-wrapper",1),h.NdJ("exportData",function(Qt){return Pt.exportData(Qt)}),h.TgZ(2,"table",2),h.ynx(3,3),h.YNc(4,Ct,2,3,"th",4),h.YNc(5,tt,2,2,"td",5),h.BQk(),h.ynx(6,6),h.YNc(7,He,3,3,"th",7),h.YNc(8,Qe,2,1,"td",8),h.BQk(),h.ynx(9,9),h.YNc(10,D,3,3,"th",7),h.YNc(11,ue,3,3,"td",10),h.BQk(),h.ynx(12,11),h.YNc(13,Xe,3,3,"th",12),h.YNc(14,bt,3,3,"td",10),h.BQk(),h.ynx(15,13),h.YNc(16,Jt,3,3,"th",12),h.YNc(17,ti,3,3,"td",10),h.BQk(),h.ynx(18,14),h.YNc(19,bi,3,3,"th",7),h.YNc(20,en,2,1,"td",10),h.BQk(),h.ynx(21,15),h.YNc(22,on,1,0,"th",7),h.YNc(23,Bi,5,1,"td",10),h.BQk(),h.YNc(24,cn,1,0,"tr",16),h.YNc(25,xi,1,12,"tr",17),h.qZA(),h.qZA(),h.qZA(),h.YNc(26,_n,3,3,"app-alert",18),h.YNc(27,hn,3,3,"app-alert",18)),2&Ue&&(h.Q6J("hidden",0===Pt.dataSource.filteredData.length||0===Pt.sponsoredMembers.length),h.xp6(1),h.Q6J("tableId",Pt.tableId)("dataLength",Pt.dataSource.filteredData.length)("pageSizeOptions",Pt.pageSizeOptions),h.xp6(1),h.Q6J("dataSource",Pt.dataSource),h.xp6(22),h.Q6J("matHeaderRowDef",Pt.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",Pt.displayedColumns),h.xp6(1),h.Q6J("ngIf",0===Pt.dataSource.filteredData.length&&0!==Pt.sponsoredMembers.length),h.xp6(1),h.Q6J("ngIf",0===Pt.sponsoredMembers.length))},directives:[Qi.l,Ri.BZ,Ti.YE,Ri.w1,Ri.fO,Ri.ge,se.oG,Ri.Dz,Ri.ev,Ti.nU,b.sg,Be.lW,pe.Hw,b.O5,Pe.gM,Ri.as,Ri.XQ,Ri.nj,Ri.Gk,Wi.YH,mn.rH,X.w],pipes:[x.X$,Fe.d,Xi.D,et.p],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),ot})();function sn(ot,zt){if(1&ot&&(h.TgZ(0,"button",10),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ot){const Ue=h.oxw(),Pt=h.MAs(9);h.Q6J("disabled",Ue.findSponsorsAuth&&0===Ue.voSponsors.length)("matMenuTriggerFor",Pt),h.xp6(1),h.hij(" ",h.lcZ(2,3,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE")," ")}}function Fi(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(Ue),h.oxw().onCreate()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE_ONE")," "))}function Ln(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(Ue),h.oxw().onGenerate()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.GENERATE")," "))}function pt(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"button",12),h.NdJ("click",function(){return h.CHM(Ue),h.oxw().onSponsorExistingMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&ot&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.SPONSOR_EXISTING")," "))}function Kt(ot,zt){1&ot&&h._UZ(0,"mat-spinner",13)}function Je(ot,zt){if(1&ot){const Ue=h.EpF();h.TgZ(0,"app-sponsored-members-list",14),h.NdJ("refreshTable",function(){return h.CHM(Ue),h.oxw().refresh()}),h.qZA()}if(2&ot){const Ue=h.oxw();h.Q6J("sponsoredMembers",Ue.members)("disableRouting",!Ue.routeAuth)("selection",Ue.selection)("filterValue",Ue.searchString)("tableId",Ue.tableId)}}let Tt=(()=>{class ot{constructor(Ue,Pt,Gt,Qt,Ci,ji){this.membersManager=Ue,this.dialog=Pt,this.authResolver=Gt,this.storeService=Qt,this.authzResolver=Ci,this.entityStorageService=ji,this.members=[],this.voSponsors=[],this.attrNames=[ne.r.USER_DEF_PREFERRED_MAIL],this.selection=new f.Ov(!0,[]),this.searchString="",this.loading=!1,this.tableId=g.Bf}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.attrNames=this.attrNames.concat(this.storeService.getLoginAttributeNames()),this.setAuthRights();const Ue=["SPONSOR"],Pt=new Map;this.authResolver.getRolesAuthorization(Ue,this.vo,Pt),this.findSponsorsAuth=Pt.get(Ue[0]).readAuth,this.findSponsorsAuth?this.authzResolver.getAuthzRichAdmins(R.u.SPONSOR,this.vo.id,"Vo",[ne.r.USER_DEF_PREFERRED_MAIL],!1,!1).subscribe(Qt=>{this.voSponsors=Qt,this.refresh()}):this.refresh()}setAuthRights(){this.createAuth=this.authResolver.isAuthorized("createSponsoredMember_Vo_String_Map_String_User_LocalDate_policy",[this.vo,this.storeService.getPerunPrincipal().user]),this.generateAuth=this.authResolver.isAuthorized("createSponsoredMembers_Vo_String_List_User_policy",[this.vo,this.storeService.getPerunPrincipal().user]),this.setSponsorshipAuth=this.authResolver.isAuthorized("setSponsorshipForMember_Member_User_LocalDate_policy",[this.vo,this.storeService.getPerunPrincipal().user]),null!==this.members&&0!==this.members.length&&(this.routeAuth=this.authResolver.isAuthorized("getMemberById_int_policy",[this.vo,this.members[0].member]))}onCreate(){const Ue=(0,v.kZ)();Ue.width="620px",Ue.data={entityId:this.vo.id,voId:this.vo.id,sponsors:this.voSponsors,theme:"vo-theme"},this.dialog.open(N,Ue).afterClosed().subscribe(Gt=>{Gt&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(Qt=>{this.storeService.setPerunPrincipal(Qt),this.refresh()}))})}onGenerate(){const Ue=(0,v.kZ)();Ue.width="750px",Ue.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(qt,Ue).afterClosed().subscribe(Gt=>{Gt&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(Qt=>{this.storeService.setPerunPrincipal(Qt),this.refresh()}))})}onSponsorExistingMember(){const Ue=(0,v.kZ)();Ue.width="650px",Ue.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(li,Ue).afterClosed().subscribe(Gt=>{Gt&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(Qt=>{this.storeService.setPerunPrincipal(Qt),this.refresh()}))})}refresh(){this.loading=!0,this.membersManager.getSponsoredMembersAndTheirSponsors(this.vo.id,this.attrNames).subscribe(Ue=>{this.selection.clear(),this.members=Ue,this.setAuthRights(),this.loading=!1})}applyFilter(Ue){this.searchString=Ue}}return ot.id="VoSponsoredMembersComponent",ot.\u0275fac=function(Ue){return new(Ue||ot)(h.Y36(e.uq),h.Y36(m.uw),h.Y36(A.x4),h.Y36(A.d6),h.Y36(e.Ct),h.Y36(A.fb))},ot.\u0275cmp=h.Xpm({type:ot,selectors:[["app-vo-settings-sponsored-members"]],hostVars:2,hostBindings:function(Ue,Pt){2&Ue&&h.ekj("router-component",Pt.true)},decls:16,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2 dropdown-toggle",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","","class","action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"sponsoredMembers","disableRouting","selection","filterValue","tableId","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",1,"action-button",3,"click"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"sponsoredMembers","disableRouting","selection","filterValue","tableId","refreshTable"]],template:function(Ue,Pt){1&Ue&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return Pt.refresh()}),h.qZA(),h.TgZ(5,"span",2),h.ALo(6,"translate"),h.YNc(7,sn,3,5,"button",3),h.qZA(),h.TgZ(8,"mat-menu",null,4),h.YNc(10,Fi,3,3,"button",5),h.YNc(11,Ln,3,3,"button",5),h.qZA(),h.YNc(12,pt,3,3,"button",6),h.TgZ(13,"perun-web-apps-immediate-filter",7),h.NdJ("filter",function(Qt){return Pt.applyFilter(Qt)}),h.qZA(),h.YNc(14,Kt,1,0,"mat-spinner",8),h.YNc(15,Je,1,5,"app-sponsored-members-list",9),h.qZA()),2&Ue&&(h.xp6(2),h.Oqu(h.lcZ(3,10,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.TITLE")),h.xp6(3),h.s9C("matTooltip",h.lcZ(6,12,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.NO_SPONSORS")),h.Q6J("matTooltipDisabled",!(Pt.findSponsorsAuth&&0===Pt.voSponsors.length)),h.xp6(2),h.Q6J("ngIf",Pt.createAuth||Pt.generateAuth),h.xp6(3),h.Q6J("ngIf",Pt.createAuth),h.xp6(1),h.Q6J("ngIf",Pt.generateAuth),h.xp6(1),h.Q6J("ngIf",Pt.setSponsorshipAuth),h.xp6(1),h.Q6J("placeholder","VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.FILTER"),h.xp6(1),h.Q6J("ngIf",Pt.loading),h.xp6(1),h.Q6J("ngIf",!Pt.loading))},directives:[gi.t,Pe.gM,b.O5,Be.lW,r.p6,r.VK,r.OP,Te.L,k.$g,$i],pipes:[x.X$],styles:[""]}),ot})()},25309:(Ze,ge,d)=>{"use strict";d.d(ge,{Y:()=>be});var e=d(112),f=d(9244),g=d(36908),v=d(11717),m=d(20449),A=d(48966),s=d(93075),b=d(5e3),R=d(51062),E=d(11735),h=d(69808),x=d(20773),k=d(67322),G=d(98833),X=d(47423),he=d(29772);function re(z,Ce){1&z&&b._UZ(0,"mat-spinner",3)}function Ne(z,Ce){if(1&z){const J=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"div",4),b.TgZ(2,"mat-form-field"),b._UZ(3,"input",5),b.ALo(4,"translate"),b.TgZ(5,"mat-error"),b._uU(6),b.ALo(7,"translate"),b.qZA(),b.qZA(),b.TgZ(8,"mat-form-field"),b._UZ(9,"input",6),b.ALo(10,"translate"),b.TgZ(11,"mat-error"),b._uU(12),b.ALo(13,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(14,"div",7),b.TgZ(15,"button",8),b.NdJ("click",function(){return b.CHM(J),b.oxw().onCancel()}),b._uU(16),b.ALo(17,"translate"),b.qZA(),b.TgZ(18,"div",9),b.ALo(19,"translate"),b.TgZ(20,"button",10),b.NdJ("click",function(){return b.CHM(J),b.oxw().onSubmit()}),b._uU(21),b.ALo(22,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&z){const J=b.oxw();b.xp6(3),b.s9C("placeholder",b.lcZ(4,11,"DIALOGS.CREATE_VO.FULL_NAME")),b.Q6J("formControl",J.fullNameCtrl),b.xp6(3),b.hij(" ",b.lcZ(7,13,"DIALOGS.CREATE_VO.FILL_FULL_NAME")," "),b.xp6(3),b.s9C("placeholder",b.lcZ(10,15,"DIALOGS.CREATE_VO.SHORT_NAME")),b.Q6J("formControl",J.shortNameCtrl),b.xp6(3),b.hij(" ",b.lcZ(13,17,"DIALOGS.CREATE_VO.FILL_SHORT_NAME")," "),b.xp6(4),b.hij(" ",b.lcZ(17,19,"DIALOGS.CREATE_VO.CANCEL")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(19,21,"DIALOGS.CREATE_VO.TOOLTIP")),b.Q6J("matTooltipDisabled",J.shortNameCtrl.valid&&J.fullNameCtrl.valid),b.xp6(2),b.Q6J("disabled",J.shortNameCtrl.invalid||J.fullNameCtrl.invalid),b.xp6(1),b.hij(" ",b.lcZ(22,23,"DIALOGS.CREATE_VO.CREATE")," ")}}let ce=(()=>{class z{constructor(J,I,Ie,Re,ze,fe){this.dialogRef=J,this.data=I,this.notificator=Ie,this.voService=Re,this.translate=ze,this.router=fe,ze.get("DIALOGS.CREATE_VO.SUCCESS").subscribe(ve=>this.successMessage=ve)}ngOnInit(){this.theme=this.data.theme,this.shortNameCtrl=new s.NI(null,[s.kI.required,s.kI.pattern("^[\\w.-]+$"),s.kI.maxLength(33)]),this.fullNameCtrl=new s.NI(null,[s.kI.required,s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.voService.createVoWithName(this.fullNameCtrl.value,this.shortNameCtrl.value).subscribe(J=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.router.navigate(["/organizations",J.id]),this.dialogRef.close(!0)},()=>this.loading=!1)}}return z.\u0275fac=function(J){return new(J||z)(b.Y36(A.so),b.Y36(A.WI),b.Y36(g.V6),b.Y36(e.YF),b.Y36(R.sK),b.Y36(E.F0))},z.\u0275cmp=b.Xpm({type:z,selectors:[["app-create-vo-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","data-cy","vo-name-input",3,"placeholder","formControl"],["matInput","","required","","data-cy","vo-shortname-input",3,"placeholder","formControl"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","data-cy","create-vo-button",1,"ml-2",3,"disabled","click"]],template:function(J,I){1&J&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,re,1,0,"mat-spinner",1),b.YNc(5,Ne,23,25,"div",2),b.qZA()),2&J&&(b.Tol(I.theme),b.xp6(2),b.Oqu(b.lcZ(3,6,"DIALOGS.CREATE_VO.TITLE")),b.xp6(2),b.Q6J("ngIf",I.loading),b.xp6(1),b.Q6J("ngIf",!I.loading))},directives:[A.uh,h.O5,x.$g,A.xY,k.KE,G.Nt,s.Fj,s.Q7,s.JJ,s.oH,k.TO,A.H8,X.lW,he.gM],pipes:[R.X$],styles:[".mat-dialog-content[_ngcontent-%COMP%]{height:auto}@media (min-width: 421px) and (max-width: 755px){.mat-dialog-content[_ngcontent-%COMP%]{height:150px}}@media (max-width: 420px){.mat-dialog-content[_ngcontent-%COMP%]{height:175px}}"]}),z})();var Pe=d(10036),se=d(77968),V=d(4235),F=d(25245),W=d(96214),te=d(7434),ae=d(87831);function pe(z,Ce){if(1&z){const J=b.EpF();b.TgZ(0,"button",9),b.NdJ("click",function(){return b.CHM(J),b.oxw().onCreateVo()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&z&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_MANAGEMENT.CREATE_VO")," "))}function Be(z,Ce){if(1&z){const J=b.EpF();b.TgZ(0,"button",10),b.NdJ("click",function(){return b.CHM(J),b.oxw().onRemoveVo()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}if(2&z){const J=b.oxw();b.Q6J("disabled",0===J.selection.selected.length),b.xp6(1),b.hij(" ",b.lcZ(2,2,"VO_MANAGEMENT.REMOVE_VO")," ")}}function Fe(z,Ce){1&z&&b._UZ(0,"mat-spinner",11)}function ke(z,Ce){if(1&z&&b._UZ(0,"perun-web-apps-vos-list",12),2&z){const J=b.oxw();b.Q6J("tableId",J.tableId)("displayedColumns",J.displayedColumns)("filterValue",J.filterValue)("recentIds",J.recentIds)("selection",J.selection)("vos",J.vos)}}const De=function(){return{color:"black"}};let be=(()=>{class z{constructor(J,I,Ie,Re,ze,fe){this.sideMenuService=J,this.voService=I,this.guiAuthResolver=Ie,this.dialog=Re,this.notificator=ze,this.apiRequest=fe,this.vos=[],this.recentIds=[],this.filterValue="",this.tableId=Pe.tw}ngOnInit(){this.loading=!0,this.selection=new m.Ov(!1,[]),this.createAuth=this.guiAuthResolver.isAuthorized("createVo_Vo_policy",[]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteVo_Vo_policy",[]),this.displayedColumns=this.deleteAuth?["checkbox","id","recent","shortName","name"]:["id","recent","shortName","name"],this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setAccessMenuItems([])}refreshTable(){this.loading=!0,this.selection.clear(),this.apiRequest.dontHandleErrorForNext(),this.voService.getMyVos().subscribe(J=>{this.vos=J,this.recentIds=(0,f.vL)("vos"),this.loading=!1},J=>{"PrivilegeException"===J.error.name?(this.vos=[],this.loading=!1):this.notificator.showRPCError(J)})}applyFilter(J){this.filterValue=J}onCreateVo(){const J=(0,f.kZ)();J.width="610px",J.data={theme:"vo-theme"},this.dialog.open(ce,J).afterClosed().subscribe(Ie=>{Ie&&(this.loading=!0,this.refreshTable())})}onRemoveVo(){const J=(0,f.kZ)();J.width="500px",J.data={theme:"vo-theme",vos:[this.selection.selected[0]]},this.dialog.open(v.o,J).afterClosed().subscribe(Ie=>{Ie&&this.refreshTable()})}}return z.id="VoSelectPageComponent",z.\u0275fac=function(J){return new(J||z)(b.Y36(se.D),b.Y36(e.YF),b.Y36(g.x4),b.Y36(A.uw),b.Y36(g.V6),b.Y36(g.F5))},z.\u0275cmp=b.Xpm({type:z,selectors:[["app-vo-select-page"]],hostVars:2,hostBindings:function(J,I){2&J&&b.ekj("router-component",I.true)},decls:12,vars:11,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","vo-theme"],[1,"page-title","d-flex"],["svgIcon","perun-vo-black",1,"perun-icon","icon-scale",3,"ngStyle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","new-vo-button",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"autoFocus","placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","displayedColumns","filterValue","recentIds","selection","vos",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","new-vo-button",1,"mr-2","action-button",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","displayedColumns","filterValue","recentIds","selection","vos"]],template:function(J,I){1&J&&(b.TgZ(0,"div",0),b._UZ(1,"perun-web-apps-back-button"),b.TgZ(2,"h1",1),b._UZ(3,"mat-icon",2),b._uU(4),b.ALo(5,"translate"),b.qZA(),b.TgZ(6,"perun-web-apps-refresh-button",3),b.NdJ("refresh",function(){return I.refreshTable()}),b.qZA(),b.YNc(7,pe,3,3,"button",4),b.YNc(8,Be,3,4,"button",5),b.TgZ(9,"perun-web-apps-immediate-filter",6),b.NdJ("filter",function(Re){return I.applyFilter(Re)}),b.qZA(),b.YNc(10,Fe,1,0,"mat-spinner",7),b.YNc(11,ke,1,6,"perun-web-apps-vos-list",8),b.qZA()),2&J&&(b.xp6(3),b.Q6J("ngStyle",b.DdM(10,De)),b.xp6(1),b.hij(" ",b.lcZ(5,8,"VO_MANAGEMENT.TITLE")," "),b.xp6(3),b.Q6J("ngIf",I.createAuth),b.xp6(1),b.Q6J("ngIf",I.deleteAuth),b.xp6(1),b.Q6J("autoFocus",!0)("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER"),b.xp6(1),b.Q6J("ngIf",I.loading),b.xp6(1),b.Q6J("ngIf",!I.loading))},directives:[V.W,F.Hw,h.PC,W.t,h.O5,X.lW,te.L,x.$g,ae.Z],pipes:[R.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),z})()},9193:(Ze,ge,d)=>{"use strict";var e=d(22313),f=d(5e3),g=d(11735);let v=(()=>{class le{}return le.\u0275fac=function(Me){return new(Me||le)},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-auth-callback"]],decls:0,vars:0,template:function(Me,ut){},styles:[""]}),le})();var m=d(112),A=d(36908),s=d(9244),b=d(84379),R=d(77968),E=d(51062),h=d(48966),x=d(2638),k=d(77446),G=d(93075),X=d(69808),he=d(25245),re=d(47423),Ne=d(20773),ce=d(98380),Pe=d(90508),se=d(29772);function V(le,it){1&le&&f._UZ(0,"mat-spinner",3)}function F(le,it){1&le&&(f.TgZ(0,"app-alert",4),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"USER_DETAIL.DASHBOARD.NO_RECENTLY_VIEWED")))}function W(le,it){if(1&le&&(f.TgZ(0,"div",7),f.TgZ(1,"a",8),f.TgZ(2,"span",9),f._uU(3),f.qZA(),f._UZ(4,"mat-icon",10),f.TgZ(5,"p",11),f._uU(6),f.qZA(),f.qZA(),f.qZA()),2&le){const Me=it.$implicit;f.xp6(1),f.Gre("",Me.style," item-itself"),f.s9C("matTooltip",Me.tooltip),f.Q6J("routerLink",Me.url),f.xp6(2),f.Oqu(Me.type),f.xp6(1),f.Q6J("svgIcon",Me.cssIcon),f.xp6(2),f.Oqu(Me.label)}}function te(le,it){if(1&le&&(f.TgZ(0,"div",5),f.YNc(1,W,7,8,"div",6),f.qZA()),2&le){const Me=f.oxw();f.xp6(1),f.Q6J("ngForOf",Me.items)}}let ae=(()=>{class le{constructor(Me,ut,Lt,$t){this.vosManager=Me,this.groupsManager=ut,this.authResolver=Lt,this.facilitiesManager=$t,this.items=[],this.vosIds=[],this.groupsIds=[],this.facilitiesIds=[],this.existingRecentIds=[],this.vos=[],this.groups=[],this.facilities=[]}ngOnInit(){this.loading=!0,this.recentItems=(0,s.vL)("recent");for(const Me of this.recentItems)switch(Me.type){case"Vo":this.vosIds.push(Me.id);break;case"Group":this.groupsIds.push(Me.id);break;case"Facility":this.facilitiesIds.push(Me.id)}0===this.vosIds.length&&this.vosIds.push(-1),0===this.groupsIds.length&&this.groupsIds.push(-1),0===this.facilitiesIds.length&&this.facilitiesIds.push(-1),this.getVos()}getVos(){this.authResolver.isAuthorized("getVosByIds_List_policy",[])?this.vosManager.getVosByIds(this.vosIds).subscribe(Me=>{this.vos=Me,this.getGroups()}):this.getGroups()}getGroups(){this.authResolver.isAuthorized("getGroupsByIds_List_policy",[])?this.groupsManager.getGroupsByIds(this.groupsIds).subscribe(Me=>{this.groups=Me,this.getFacilities()}):this.getFacilities()}getFacilities(){this.authResolver.isAuthorized("getFacilitiesByIds_List_policy",[])?this.facilitiesManager.getFacilitiesByIds(this.facilitiesIds).subscribe(Me=>{this.facilities=Me,this.addRecentlyViewedToDashboard()}):this.addRecentlyViewedToDashboard()}addRecentlyViewedToDashboard(){for(const Me of this.recentItems)switch(Me.type){case"Vo":{const ut=this.vos.filter(Lt=>Lt.id===Me.id)[0];ut&&this.items.push({cssIcon:"perun-vo",url:`/organizations/${ut.id}`,label:ut.name,tooltip:ut.name,style:"vo-btn",type:"Organization"});break}case"Group":{const ut=this.groups.filter(Lt=>Lt.id===Me.id)[0];ut&&this.items.push({cssIcon:"perun-group",url:`/organizations/${ut.voId}/groups/${ut.id}`,label:ut.shortName,tooltip:`${Me.voName} : ${ut.name.replace(/:/g," : ")}`,style:"group-btn",type:"Group"});break}case"Facility":{const ut=this.facilities.filter(Lt=>Lt.id===Me.id)[0];ut&&this.items.push({cssIcon:"perun-facility-white",url:`/facilities/${ut.id}`,label:ut.name,tooltip:ut.name,style:"facility-btn",type:"Facility"});break}}this.loading=!1}}return le.\u0275fac=function(Me){return new(Me||le)(f.Y36(m.YF),f.Y36(m.ff),f.Y36(A.x4),f.Y36(m.IQ))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-dashboard-recently-viewed-button-field"]],decls:3,vars:3,consts:[["class","ml-auto mr-auto",4,"ngIf"],["alert_type","info",4,"ngIf"],["class","items-container",4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","info"],[1,"items-container"],["class","item-itself-container","mat-ripple","",4,"ngFor","ngForOf"],["mat-ripple","",1,"item-itself-container"],["queryParamsHandling","merge",3,"routerLink","matTooltip"],[1,"item-type"],[1,"item-pic","perun-icon",3,"svgIcon"],[1,"truncate"]],template:function(Me,ut){1&Me&&(f.YNc(0,V,1,0,"mat-spinner",0),f.YNc(1,F,3,3,"app-alert",1),f.YNc(2,te,2,1,"div",2)),2&Me&&(f.Q6J("ngIf",ut.loading),f.xp6(1),f.Q6J("ngIf",0===ut.items.length&&!ut.loading),f.xp6(1),f.Q6J("ngIf",ut.items.length>0))},directives:[X.O5,Ne.$g,ce.w,X.sg,Pe.wG,g.yS,se.gM,he.Hw],pipes:[E.X$],styles:[".items-container[_ngcontent-%COMP%]{display:grid;grid-gap:0;grid-template-columns:repeat(auto-fill,minmax(208px,1fr));margin:0 -8px}@media (max-width: 768px){.items-container[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(148px,1fr))}}.item-pic[_ngcontent-%COMP%]{color:currentColor;transform:scale(3);height:74px;margin-bottom:22px;align-self:center}.item-itself-container[_ngcontent-%COMP%]{margin:8px}.item-itself[_ngcontent-%COMP%]{text-align:center;min-height:186px;height:100%;padding:20px;display:flex;flex-direction:column;font-size:1.25rem;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.item-itself[_ngcontent-%COMP%]:hover{text-decoration:none}.item-itself[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:120px;margin-bottom:10px}@media (max-width: 768px){.item-itself[_ngcontent-%COMP%]{min-height:150px;padding:10px;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.item-itself[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;margin-bottom:10px}}.item-type[_ngcontent-%COMP%]{font-size:.75rem}.truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}"]}),le})();var pe=d(87831),Be=d(24179),Fe=d(62109),ke=d(74010);function De(le,it){1&le&&f._UZ(0,"mat-spinner",7)}const be=function(){return["id","recent","shortName","name"]};function z(le,it){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-vos-list",8),f.qZA()),2&le){const Me=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("displayedColumns",f.DdM(4,be))("recentIds",Me.recentIds)("vos",Me.objects)}}const Ce=function(){return["id","recent","vo","name","description"]};function J(le,it){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-groups-list",9),f.qZA()),2&le){const Me=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("groups",Me.objects)("recentIds",Me.recentIds)("displayedColumns",f.DdM(4,Ce))}}const I=function(){return["id","recent","name","vo","facility"]};function Ie(le,it){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-resources-list",10),f.qZA()),2&le){const Me=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("resources",Me.objects)("displayedColumns",f.DdM(5,I))("recentIds",Me.recentIds)("routingVo",!0)}}const Re=function(){return["id","recent","name","description"]};function ze(le,it){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-facilities-list",11),f.qZA()),2&le){const Me=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("facilities",Me.objects)("recentIds",Me.recentIds)("displayedColumns",f.DdM(4,Re))}}function fe(le,it){if(1&le&&(f.TgZ(0,"div"),f.YNc(1,z,2,5,"span",6),f.YNc(2,J,2,5,"span",6),f.YNc(3,Ie,2,6,"span",6),f.YNc(4,ze,2,5,"span",6),f.qZA()),2&le){const Me=f.oxw();f.xp6(1),f.Q6J("ngIf","Vo"===Me.primaryObject),f.xp6(1),f.Q6J("ngIf","Group"===Me.primaryObject),f.xp6(1),f.Q6J("ngIf","Resource"===Me.primaryObject),f.xp6(1),f.Q6J("ngIf","Facility"===Me.primaryObject)}}let ve=(()=>{class le{constructor(Me,ut,Lt){this.authzResolver=Me,this.guiAuthResolver=ut,this.resourceService=Lt,this.loading=!1,this.recentIds=[]}ngOnInit(){this.loading=!0,this.primaryObject=this.guiAuthResolver.getPrimaryObjectOfRole(this.roleName),this.svgIcon="perun-"+this.primaryObject.toLowerCase()+"-black",this.title="USER_DETAIL.DASHBOARD.CARD_TITLE_"+this.roleName,this.roleTooltipInfo="USER_DETAIL.DASHBOARD.ROLE_INFO_"+this.roleName,this.getObjects()}getObjects(){switch(this.primaryObject){case"Vo":this.authzResolver.getVosWhereUserIsInRoles([this.roleName]).subscribe(Me=>{this.objects=Me,this.recentIds=(0,s.vL)("vos"),this.loading=!1});break;case"Group":this.authzResolver.getGroupsWhereUserIsInRoles([this.roleName]).subscribe(Me=>{this.objects=Me,this.recentIds=(0,s.vL)("groups"),this.loading=!1});break;case"Resource":this.resourceService.getRichResourcesByIds(this.role[this.primaryObject]).subscribe(Me=>{this.objects=Me,this.recentIds=(0,s.vL)("resources"),this.loading=!1});break;case"Facility":this.authzResolver.getFacilitiesWhereUserIsInRoles([this.roleName]).subscribe(Me=>{this.objects=Me.map(ut=>({facility:ut})),this.recentIds=(0,s.vL)("facilities"),this.loading=!1});break;default:this.objects=[],this.loading=!1}}}return le.\u0275fac=function(Me){return new(Me||le)(f.Y36(m.Ct),f.Y36(A.x4),f.Y36(m.xk))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-dashboard-card"]],inputs:{role:"role",roleName:"roleName"},decls:11,vars:9,consts:[[1,"card","p-3"],[1,"flex-column","card-title"],[1,"cover-image",3,"svgIcon"],["matTooltipPosition","above",3,"matTooltip"],[1,"dashboard-icon"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSizeOptions","displayedColumns","recentIds","vos"],[3,"pageSizeOptions","groups","recentIds","displayedColumns"],[3,"pageSizeOptions","resources","displayedColumns","recentIds","routingVo"],[3,"pageSizeOptions","facilities","recentIds","displayedColumns"]],template:function(Me,ut){1&Me&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f._UZ(2,"mat-icon",2),f._uU(3),f.ALo(4,"translate"),f.TgZ(5,"span",3),f.ALo(6,"translate"),f.TgZ(7,"mat-icon",4),f._uU(8,"info_outline"),f.qZA(),f.qZA(),f.qZA(),f.YNc(9,De,1,0,"mat-spinner",5),f.YNc(10,fe,5,4,"div",6),f.qZA()),2&Me&&(f.xp6(2),f.Q6J("svgIcon",ut.svgIcon),f.xp6(1),f.hij(" ",f.lcZ(4,5,ut.title)," "),f.xp6(2),f.s9C("matTooltip",f.lcZ(6,7,ut.roleTooltipInfo)),f.xp6(4),f.Q6J("ngIf",ut.loading),f.xp6(1),f.Q6J("ngIf",!ut.loading))},directives:[he.Hw,se.gM,X.O5,Ne.$g,pe.Z,Be.W,Fe.C,ke.X],pipes:[E.X$],styles:[".dashboard-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}.card-title[_ngcontent-%COMP%]{font-size:1.4rem;flex-wrap:wrap}.cover-image[_ngcontent-%COMP%]{transform:scale(1.8);margin-left:.9rem;margin-right:.7rem}"]}),le})();var We=d(31359);function nt(le,it){if(1&le){const Me=f.EpF();f.TgZ(0,"div"),f.TgZ(1,"mat-checkbox",8),f.NdJ("change",function(Lt){const ri=f.CHM(Me).$implicit,di=f.oxw();return Lt?di.changeRoleView(ri):null}),f._uU(2),f.ALo(3,"translate"),f.qZA(),f.qZA()}if(2&le){const Me=it.$implicit,ut=f.oxw();f.xp6(1),f.Q6J("checked",ut.isRoleShowed(Me)),f.xp6(1),f.Oqu(f.lcZ(3,2,"USER_DETAIL.DASHBOARD.CARD_TITLE_"+Me))}}function st(le,it){if(1&le){const Me=f.EpF();f.TgZ(0,"button",15),f.NdJ("click",function(){return f.CHM(Me),f.oxw(2).rightSettingOpened=!0}),f.TgZ(1,"mat-icon"),f._uU(2,"settings"),f.qZA(),f.qZA()}}function dt(le,it){1&le&&(f.TgZ(0,"span"),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO_NO_USER_PROFILE")))}function L(le,it){1&le&&(f.TgZ(0,"span"),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO")))}function de(le,it){if(1&le){const Me=f.EpF();f.TgZ(0,"button",23),f.NdJ("click",function(){return f.CHM(Me),f.oxw(3).goToUserProfile()}),f.TgZ(1,"mat-icon",24),f._uU(2,"exit_to_app"),f.qZA(),f._uU(3),f.ALo(4,"translate"),f.qZA()}if(2&le){const Me=f.oxw(3);f.xp6(3),f.AsE("",f.lcZ(4,2,"USER_DETAIL.DASHBOARD.GO_TO_USER_PROFILE")," ",Me.userProfileName," ")}}const M=function(){return["/myProfile"]};function S(le,it){if(1&le&&(f.TgZ(0,"div"),f.TgZ(1,"div",16),f.TgZ(2,"div",17),f._uU(3),f.ALo(4,"translate"),f.qZA(),f.TgZ(5,"div",18),f.YNc(6,dt,3,3,"span",14),f.YNc(7,L,3,3,"span",14),f.qZA(),f.TgZ(8,"div",19),f.TgZ(9,"button",20),f._UZ(10,"mat-icon",21),f._uU(11),f.ALo(12,"translate"),f.qZA(),f.YNc(13,de,5,4,"button",22),f.qZA(),f.qZA(),f.qZA()),2&le){const Me=f.oxw(2);f.xp6(3),f.hij(" ",f.lcZ(4,6,"USER_DETAIL.DASHBOARD.NOT_MANAGER")," "),f.xp6(3),f.Q6J("ngIf",!Me.userProfileUrl),f.xp6(1),f.Q6J("ngIf",Me.userProfileUrl),f.xp6(2),f.Q6J("routerLink",f.DdM(10,M)),f.xp6(2),f.hij(" ",f.lcZ(12,8,"USER_DETAIL.DASHBOARD.GO_TO_MY_PROFILE")," "),f.xp6(2),f.Q6J("ngIf",Me.userProfileUrl)}}function P(le,it){1&le&&(f.TgZ(0,"span"),f.TgZ(1,"div",3),f._uU(2),f.ALo(3,"translate"),f.qZA(),f._UZ(4,"app-perun-web-apps-dashboard-recently-viewed-button-field"),f.qZA()),2&le&&(f.xp6(2),f.hij(" ",f.lcZ(3,1,"USER_DETAIL.DASHBOARD.RECENTLY_VIEWED")," "))}function N(le,it){1&le&&(f.TgZ(0,"div",27),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.hij(" ",f.lcZ(2,1,"USER_DETAIL.DASHBOARD.MANAGEABLE_ENTITIES")," "))}function ne(le,it){if(1&le&&f._UZ(0,"app-perun-web-apps-dashboard-card",30),2&le){const Me=f.oxw().$implicit,ut=f.oxw(3);f.Q6J("roleName",Me)("role",ut.roles[Me])}}function j(le,it){if(1&le&&(f.TgZ(0,"div",28),f.YNc(1,ne,1,2,"app-perun-web-apps-dashboard-card",29),f.qZA()),2&le){const Me=it.$implicit,ut=f.oxw(3);f.xp6(1),f.Q6J("ngIf",ut.isRoleShowed(Me))}}function Te(le,it){if(1&le&&(f.TgZ(0,"div"),f.YNc(1,P,5,3,"span",14),f.YNc(2,N,3,3,"div",25),f.TgZ(3,"div"),f.YNc(4,j,2,1,"div",26),f.qZA(),f.qZA()),2&le){const Me=f.oxw(2);f.xp6(1),f.Q6J("ngIf",Me.recentlyViewedShow),f.xp6(1),f.Q6J("ngIf",Me.rolesToHide.toString()!==Me.roleNames.toString()),f.xp6(2),f.Q6J("ngForOf",Me.roleNames)}}function n(le,it){if(1&le&&(f.TgZ(0,"div",9),f.TgZ(1,"h1",10),f._UZ(2,"mat-icon",11),f.TgZ(3,"span",12),f._uU(4),f.ALo(5,"translate"),f.ALo(6,"userFullName"),f.qZA(),f.YNc(7,st,3,0,"button",13),f.qZA(),f.YNc(8,S,14,11,"div",14),f.YNc(9,Te,5,3,"div",14),f.qZA()),2&le){const Me=f.oxw();f.xp6(4),f.AsE("",f.lcZ(5,5,"USER_DETAIL.DASHBOARD.TITLE")," ",f.lcZ(6,7,Me.user),""),f.xp6(3),f.Q6J("ngIf",!Me.isOnlySelfRole),f.xp6(1),f.Q6J("ngIf",Me.isOnlySelfRole),f.xp6(1),f.Q6J("ngIf",!Me.isOnlySelfRole)}}let r=(()=>{class le{constructor(Me,ut,Lt,$t,ri,di,ai,Pi,Vi,fn){this.userManager=Me,this.storeService=ut,this.sideMenuService=Lt,this.route=$t,this.router=ri,this.notificator=di,this.translateService=ai,this.dialog=Pi,this.apiRequestConfiguration=Vi,this.otherApplicationService=fn,this.roles={},this.userProfileUrl="",this.isOnlySelfRole=!1,this.rightSettingOpened=!1,this.recentlyViewedShow=!0,this.rolesToHide=[],this.allowedRoles=["VOADMIN","GROUPADMIN","FACILITYADMIN","SPONSOR","RESOURCEADMIN","TOPGROUPCREATOR","VOOBSERVER","GROUPOBSERVER","FACILITYOBSERVER","RESOURCEOBSERVER"],ai.get("USER_DETAIL.DASHBOARD.MAIL_CHANGE_SUCCESS").subscribe(Gn=>this.mailSuccessMessage=Gn)}ngOnInit(){this.sideMenuService.setHomeItems([]),this.validatePreferredMailChange(),this.user=this.storeService.getPerunPrincipal().user,this.roles=this.storeService.getPerunPrincipal().roles,this.getUserProfile();const Me=Object.keys(this.roles);this.isOnlySelfRole=Me.toString()===["SELF"].toString(),this.roleNames=this.allowedRoles.filter(ut=>Me.includes(ut)),this.getDashboardSettings()}validatePreferredMailChange(){const Me=this.route.snapshot.queryParamMap,ut=Me.get("token"),Lt=Me.get("u");ut&&Lt&&(this.apiRequestConfiguration.dontHandleErrorForNext(),this.userManager.validatePreferredEmailChangeWithToken(ut,Number.parseInt(Lt,10)).subscribe(()=>{this.notificator.showSuccess(this.mailSuccessMessage),this.router.navigate([],{replaceUrl:!0})},()=>{const $t=(0,s.kZ)();$t.width="600px",this.dialog.open(b.qD,$t).afterClosed().subscribe(()=>{this.getDashboardSettings()})}))}goToUserProfile(){window.open(this.userProfileUrl)}recentlyViewedChanged(){localStorage.setItem("showRecentlyViewed",JSON.stringify(this.recentlyViewedShow))}getDashboardSettings(){const Me=JSON.parse(localStorage.getItem("showRecentlyViewed"));this.recentlyViewedShow=null===Me||Me;const ut=JSON.parse(localStorage.getItem("rolesToHide"));this.rolesToHide=null===ut?[]:ut}changeRoleView(Me){if(this.isRoleShowed(Me)){const ut=[];for(const Lt of this.roleNames)this.isRoleShowed(Lt)||ut.push(Lt),Lt===Me&&ut.push(Lt);this.rolesToHide=ut}else this.rolesToHide=this.rolesToHide.filter(ut=>ut!==Me);localStorage.setItem("rolesToHide",JSON.stringify(this.rolesToHide))}isRoleShowed(Me){for(const ut of this.rolesToHide)if(ut===Me)return!1;return!0}getUserProfile(){this.userProfileUrl=this.otherApplicationService.getUrlForOtherApplication("profile"),this.userProfileName=this.storeService.get("profile_label_en")}}return le.\u0275fac=function(Me){return new(Me||le)(f.Y36(m.Fv),f.Y36(A.d6),f.Y36(R.D),f.Y36(g.gz),f.Y36(g.F0),f.Y36(A.V6),f.Y36(E.sK),f.Y36(h.uw),f.Y36(A.F5),f.Y36(A.jq))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-user-dashboard"]],hostVars:2,hostBindings:function(Me,ut){2&Me&&f.ekj("router-component",ut.true)},decls:16,vars:13,consts:[["hasBackdrop","true",1,"dashboard"],["mode","over","position","end",3,"opened","openedChange"],[1,"m-4","user-theme"],[1,"page-subtitle"],[3,"ngModel","ngModelChange","change"],[1,"text-bigger","mt-1","mb-1"],[4,"ngFor","ngForOf"],["class","container-fluid pl-xl-5 pr-xl-5 user-theme",4,"ngIf"],[3,"checked","change"],[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],[1,"page-title","d-flex"],["svgIcon","perun-home-white",1,"home-image","perun-icon"],["data-cy","dashboard-welcome",1,"pt-1"],["mat-stroked-button","","class","ml-auto text-bigger",3,"click",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"ml-auto","text-bigger",3,"click"],[1,"card","m-3","p-5"],[1,"text-align"],[1,"text-align","pt-3"],[1,"mx-auto","pt-3"],["mat-stroked-button","",1,"text-bigger",3,"routerLink"],["svgIcon","perun-user-dark",1,"mr-1","user-icon","perun-icon"],["mat-stroked-button","","class","text-bigger ml-2 mt-2",3,"click",4,"ngIf"],["mat-stroked-button","",1,"text-bigger","ml-2","mt-2",3,"click"],[1,"mr-1"],["class","page-subtitle mt-4",4,"ngIf"],["class","mb-3",4,"ngFor","ngForOf"],[1,"page-subtitle","mt-4"],[1,"mb-3"],[3,"roleName","role",4,"ngIf"],[3,"roleName","role"]],template:function(Me,ut){1&Me&&(f.TgZ(0,"mat-sidenav-container",0),f.TgZ(1,"mat-sidenav",1),f.NdJ("openedChange",function($t){return ut.rightSettingOpened=$t}),f.TgZ(2,"div",2),f.TgZ(3,"div",3),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div"),f.TgZ(7,"mat-checkbox",4),f.NdJ("ngModelChange",function($t){return ut.recentlyViewedShow=$t})("change",function($t){return $t?ut.recentlyViewedChanged():null}),f._uU(8),f.ALo(9,"translate"),f.qZA(),f.qZA(),f.TgZ(10,"div",5),f._uU(11),f.ALo(12,"translate"),f.qZA(),f.YNc(13,nt,4,4,"div",6),f.qZA(),f.qZA(),f.TgZ(14,"mat-sidenav-content"),f.YNc(15,n,10,9,"div",7),f.qZA(),f.qZA()),2&Me&&(f.xp6(1),f.Q6J("opened",ut.rightSettingOpened),f.xp6(3),f.Oqu(f.lcZ(5,7,"USER_DETAIL.DASHBOARD.DASHBOARD_SETTINGS")),f.xp6(3),f.Q6J("ngModel",ut.recentlyViewedShow),f.xp6(1),f.Oqu(f.lcZ(9,9,"USER_DETAIL.DASHBOARD.SHOW_RECENTLY_VIEWED")),f.xp6(3),f.Oqu(f.lcZ(12,11,"USER_DETAIL.DASHBOARD.SHOW_ROLES")),f.xp6(2),f.Q6J("ngForOf",ut.roleNames),f.xp6(2),f.Q6J("ngIf",void 0!==ut.user))},directives:[x.TM,x.JX,k.oG,G.JJ,G.On,X.sg,x.Rh,X.O5,he.Hw,re.lW,g.rH,ae,ve],pipes:[E.X$,We.d],styles:[".dashboard-container[_ngcontent-%COMP%]{-moz-columns:300px 2;columns:300px 2;-moz-column-gap:1rem;column-gap:1rem;margin:0}.dashboard-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:0 1rem 1rem 0;display:inline-block;min-width:300px;width:100%}.home-image[_ngcontent-%COMP%]{transform:scale(1.4);margin-right:.7rem;margin-left:.6rem}.text-align[_ngcontent-%COMP%]{text-align:center;font-size:1.25rem}.text-bigger[_ngcontent-%COMP%]{font-size:1.1rem}.user-icon[_ngcontent-%COMP%]{vertical-align:top}.dashboard[_ngcontent-%COMP%]{position:relative;min-height:calc(100vh - 234px);margin-bottom:-60px!important;padding-bottom:50px;top:-10px!important;left:0;right:0}"]}),le})();var u=d(4235);let o=(()=>{class le{constructor(){}}return le.\u0275fac=function(Me){return new(Me||le)},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-not-found-page"]],decls:5,vars:3,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5"],[1,"page-title"]],template:function(Me,ut){1&Me&&(f.TgZ(0,"div",0),f._UZ(1,"perun-web-apps-back-button"),f.TgZ(2,"h1",1),f._uU(3),f.ALo(4,"translate"),f.qZA(),f.qZA()),2&Me&&(f.xp6(3),f.Oqu(f.lcZ(4,1,"GENERAL.PAGE_NOT_FOUND.TITLE")))},directives:[u.W],pipes:[E.X$],styles:[""]}),le})();var t=d(80255),i=d(67322),c=d(98833),p=d(63189);let T=(()=>{class le{}return le.\u0275fac=function(Me){return new(Me||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[X.ez,re.ot,he.Ps,g.Bz,t.ez,E.aw,i.lN,G.UX,c.c,p.r]]}),le})(),Se=(()=>{class le{constructor(Me,ut){this.auth=Me,this.router=ut}ngOnInit(){this.auth.isLoggedIn()&&this.router.navigate(["/home"])}startAuth(){this.auth.startAuthentication()}}return le.\u0275fac=function(Me){return new(Me||le)(f.Y36(A.e8),f.Y36(g.F0))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],[1,"mb-3"],["mat-raised-button","","color","primary",3,"click"]],template:function(Me,ut){1&Me&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.TgZ(2,"div",2),f.TgZ(3,"h4",3),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"button",4),f.NdJ("click",function(){return ut.startAuth()}),f._uU(7),f.ALo(8,"translate"),f.TgZ(9,"mat-icon"),f._uU(10," login "),f.qZA(),f.qZA(),f.qZA(),f.qZA(),f.qZA()),2&Me&&(f.xp6(4),f.hij(" ",f.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),f.xp6(3),f.hij(" ",f.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[re.lW,he.Hw],pipes:[E.X$],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),le})();var je=d(41619);function Et(le,it){if(1&le&&(f.TgZ(0,"div",8),f._UZ(1,"div",9),f.qZA()),2&le){const Me=f.oxw();f.xp6(1),f.Q6J("innerHTML",Me.logo,f.oJD)}}function St(le,it){if(1&le&&(f.TgZ(0,"div",10),f._UZ(1,"div",11),f._UZ(2,"mat-icon",12),f.qZA()),2&le){const Me=f.oxw();f.xp6(1),f.Q6J("innerHTML",Me.logo,f.oJD)}}function Ft(le,it){if(1&le&&(f.TgZ(0,"div",8),f._UZ(1,"a",9),f.qZA()),2&le){const Me=f.oxw();f.xp6(1),f.Q6J("innerHTML",Me.logo,f.oJD)}}const It=function(le){return{color:le}};function Vt(le,it){if(1&le&&(f.TgZ(0,"p",13),f._uU(1),f.qZA()),2&le){const Me=f.oxw();f.Q6J("ngStyle",f.VKq(2,It,Me.textColor)),f.xp6(1),f.hij(" ",Me.headerTitle," ")}}const Mt=function(le,it){return{background:le,color:it}},at=function(le,it){return{"min-height":le,"background-color":it}};let Ut=(()=>{class le{constructor(Me,ut,Lt,$t){this.storeService=Me,this.sanitizer=ut,this.preferredLangService=Lt,this.translateService=$t,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){if(this.headerBackgroundColor=this.storeService.get("theme","nav_bg_color"),this.headerTextColor=this.storeService.get("theme","nav_text_color"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.textColor=this.headerTitle?this.storeService.get("theme","header_text_color"):"","user-profile"===this.application){const Me=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(Me)}}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return le.\u0275fac=function(Me){return new(Me||le)(f.Y36(A.d6),f.Y36(e.H7),f.Y36(A.BN),f.Y36(E.sK))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",1,"mat-elevation-z3",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(Me,ut){1&Me&&(f.TgZ(0,"div",0),f.YNc(1,Et,2,1,"div",1),f.YNc(2,St,3,1,"div",2),f.YNc(3,Ft,2,1,"div",1),f.YNc(4,Vt,2,4,"p",3),f.qZA(),f.TgZ(5,"div",4),f.TgZ(6,"div",5),f.TgZ(7,"div",6),f._UZ(8,"router-outlet"),f.qZA(),f.TgZ(9,"div",7),f._UZ(10,"perun-web-apps-footer"),f.qZA(),f.qZA(),f.qZA()),2&Me&&(f.Q6J("ngStyle",f.WLB(6,Mt,ut.headerBackgroundColor,ut.headerTextColor)),f.xp6(1),f.Q6J("ngIf","admin-gui"===ut.application),f.xp6(1),f.Q6J("ngIf","publications"===ut.application),f.xp6(1),f.Q6J("ngIf","user-profile"===ut.application),f.xp6(1),f.Q6J("ngIf",!!ut.headerTitle),f.xp6(2),f.Q6J("ngStyle",f.WLB(9,at,ut.getContentInnerMinHeight(),ut.contentBackgroundColor)))},directives:[X.PC,X.O5,he.Hw,g.lC,je.$],styles:["#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content[_ngcontent-%COMP%]{width:100%;min-height:calc(100vh - 64px);margin-top:64px}#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width: 768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),le})();function gt(le,it){1&le&&(f.TgZ(0,"app-alert",8),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.hij(" ",f.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}const Ve=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"redirect",component:t.t$},{path:"api-callback",component:v},{path:"login",component:Se},{path:"service-access",component:(()=>{class le{constructor(Me,ut,Lt){this.authzService=Me,this.dialog=ut,this.translate=Lt,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new G.NI(null,[G.kI.required]),this.passwordCtrl=new G.NI(null,[G.kI.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(Me=>{sessionStorage.setItem("baPrincipal",JSON.stringify(Me)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return le.\u0275fac=function(Me){return new(Me||le)(f.Y36(m.Ct),f.Y36(h.uw),f.Y36(E.sK))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-login-screen-service-access"]],decls:28,vars:23,consts:[[1,"container","login-con","vo-theme","top-padding"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],["alert_type","error",4,"ngIf"],["appearance","outline"],["matInput","","required","",3,"formControl"],["matInput","","required","",3,"formControl","type"],["mat-raised-button","",1,"black",3,"disabled","click"],["alert_type","error"]],template:function(Me,ut){1&Me&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.TgZ(2,"div",2),f.TgZ(3,"h2"),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.YNc(6,gt,3,3,"app-alert",3),f.TgZ(7,"mat-form-field",4),f.TgZ(8,"mat-label"),f._uU(9),f.ALo(10,"translate"),f.qZA(),f._UZ(11,"input",5),f.TgZ(12,"mat-error"),f._uU(13),f.ALo(14,"translate"),f.qZA(),f.qZA(),f.TgZ(15,"mat-form-field",4),f.TgZ(16,"mat-label"),f._uU(17),f.ALo(18,"translate"),f.qZA(),f._UZ(19,"input",6),f.TgZ(20,"mat-error"),f._uU(21),f.ALo(22,"translate"),f.qZA(),f.qZA(),f.TgZ(23,"button",7),f.NdJ("click",function(){return ut.startAuth()}),f._uU(24),f.ALo(25,"translate"),f.TgZ(26,"mat-icon"),f._uU(27," login "),f.qZA(),f.qZA(),f.qZA(),f.qZA(),f.qZA()),2&Me&&(f.xp6(4),f.Oqu(f.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),f.xp6(2),f.Q6J("ngIf",ut.wrongUsernameOrPassword),f.xp6(3),f.Oqu(f.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),f.xp6(2),f.Q6J("formControl",ut.usernameCtrl),f.xp6(2),f.hij(" ",f.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),f.xp6(4),f.Oqu(f.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),f.xp6(2),f.Q6J("formControl",ut.passwordCtrl)("type","password"),f.xp6(2),f.hij(" ",f.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),f.xp6(2),f.Q6J("disabled",ut.usernameCtrl.invalid||ut.passwordCtrl.invalid),f.xp6(1),f.hij(" ",f.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[X.O5,ce.w,i.KE,i.hX,c.Nt,G.Fj,G.Q7,G.JJ,G.oH,i.TO,re.lW,he.Hw],pipes:[E.X$],styles:[".top-padding[_ngcontent-%COMP%]{padding:120px 0}mat-form-field.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:250px}.black[_ngcontent-%COMP%]{background-color:#000;color:#fff}"]}),le})()},{path:"organizations",loadChildren:()=>Promise.all([d.e(50),d.e(176),d.e(243),d.e(892)]).then(d.bind(d,36892)).then(le=>le.VosModule)},{path:"admin",loadChildren:()=>Promise.all([d.e(50),d.e(142),d.e(176),d.e(484)]).then(d.bind(d,68484)).then(le=>le.AdminModule)},{path:"facilities",loadChildren:()=>Promise.all([d.e(50),d.e(142),d.e(176),d.e(484),d.e(243),d.e(358)]).then(d.bind(d,17358)).then(le=>le.FacilitiesModule)},{path:"myProfile",loadChildren:()=>Promise.all([d.e(50),d.e(142)]).then(d.bind(d,46142)).then(le=>le.UsersModule)},{path:"home",component:r},{path:"notAuthorized",component:t.y9},{path:"**",component:o}];let $e=(()=>{class le{}return le.\u0275fac=function(Me){return new(Me||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[g.Bz.forRoot(Ve,{preloadingStrategy:g.GZ,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],g.Bz]}),le})();var oe=d(72077),H=d(14264);class ee{constructor(it,Me="/assets/i18n/",ut=".json"){this.http=it,this.prefix=Me,this.suffix=ut}getTranslation(it){return this.http.get(`${this.prefix}${it}${this.suffix}`)}}var Y=d(40520),Le=d(76360);let Ye=(()=>{class le{}return le.\u0275fac=function(Me){return new(Me||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({providers:[A.e8],imports:[[X.ez]]}),le})();var mt=d(81847),Ht=d(4732),qt=d(94856),Dt=d(55857),wt=d(37240),At=d(15592),Ot=d(96180),Wt=d(37380),li=d(34904),gi=d(85243),Ti=d(68056),Ri=d(24219),Gi=d(25828),an=d(10369),Qi=d(14336),Wi=d(25309),mn=d(86353),Xi=d(3246);let Ct=(()=>{class le{constructor(){this.allowCachePages=[{type:"vo",components:[mt.y.id,Ht.G.id,qt.c.id,Ti.z.id,Ri.z.id,an.w.id,Xi.T.id]},{type:"group",components:[Ot.y.id,At.u.id,wt.q.id,Dt.W.id,Qi.Z.id]},{type:"facility",components:[Wt.o.id,li.f.id]},{type:"member",components:[gi.j.id]},{type:"admin",components:[Gi.t.id]},{type:"entitySelect",components:[Wi.Y.id,mn.P.id]}],this.cacheTimeMs=3e5,this.resets=[{lastValue:null,resetType:"vo",resetPath:":voId",param:"voId"},{lastValue:null,resetType:"group",resetPath:":voId/groups/:groupId",param:"groupId"},{lastValue:null,resetType:"facility",resetPath:":facilityId",param:"facilityId"},{lastValue:null,resetType:"member",resetPath:":voId/members/:memberId",param:"memberId"},{lastValue:null,resetType:"admin",resetPath:"admin/users"}],this.isUserNavigatingBack=!1,this.typeToComponentToHandlers=new Map;for(const Me of this.allowCachePages)this.typeToComponentToHandlers.set(Me.type,new Map)}setLastNavigationType(Me){this.isUserNavigatingBack="back"===Me}checkResets(Me){const ut=this.getPath(Me);for(const Lt of this.resets)if(Lt.resetPath===ut){const $t=Me.params[Lt.param];null!==Lt.lastValue&&Lt.lastValue!==$t&&this.typeToComponentToHandlers.get(Lt.resetType).clear(),Lt.lastValue=$t}}shouldReuseRoute(Me,ut){return this.checkResets(ut),Me.routeConfig===ut.routeConfig}retrieve(Me){if(Me.component){const ut=this.getComponentName(Me.component);for(const Lt of this.allowCachePages)if(-1!==Lt.components.indexOf(ut)){const $t=this.typeToComponentToHandlers.get(Lt.type).get(ut);return void 0===$t?null:$t.routeHandle}}return null}shouldAttach(Me){if(!this.isUserNavigatingBack)return!1;if(Me.component){const ut=this.getComponentName(Me.component);for(const Lt of this.allowCachePages){const $t=this.typeToComponentToHandlers.get(Lt.type).get(ut);if(void 0!==$t&&this.getCurrentTimestamp()-$t.saveTimeStamp0;)document.getElementsByTagName("mat-tooltip-component")[0].remove();const Lt=this.getComponentType(Me);this.typeToComponentToHandlers.get(Lt).set(this.getComponentName(Me.component),{routeHandle:ut,saveTimeStamp:this.getCurrentTimestamp()})}}getCurrentTimestamp(){return+Date.now()}getComponentName(Me){return Me.id}getComponentType(Me){const ut=this.getComponentName(Me.component);for(const Lt of this.allowCachePages)if(-1!==Lt.components.indexOf(ut))return Lt.type;return null}getPath(Me){return null!==Me.routeConfig&&null!==Me.routeConfig.path?Me.routeConfig.path:""}}return le.\u0275fac=function(Me){return new(Me||le)},le.\u0275prov=f.Yz7({token:le,factory:le.\u0275fac}),le})();const tt=new f.OlP("perun-api-service");let He=(()=>{class le{constructor(Me,ut,Lt,$t,ri){this.http=Me,this.storeService=ut,this.authzSevice=Lt,this.titleService=$t,this.utilsService=ri}initializeColors(Me,ut){return new Promise(Lt=>{ut.forEach($t=>{const ri=this.storeService.get("theme",$t.configValue);document.documentElement.style.setProperty($t.cssVariable,ri)}),Me.forEach($t=>{const ri=this.storeService.get("theme",$t.configValue);document.documentElement.style.setProperty($t.cssVariable,ri),this.setEntityTheme($t.entity,ri)}),Lt()})}setEntityTheme(Me,ut){const Lt=function Qe(le){return[D(tinycolor(le).lighten(52),"50"),D(tinycolor(le).lighten(37),"100"),D(tinycolor(le).lighten(26),"200"),D(tinycolor(le).lighten(12),"300"),D(tinycolor(le).lighten(6),"400"),D(tinycolor(le),"500"),D(tinycolor(le).darken(6),"600"),D(tinycolor(le).darken(12),"700"),D(tinycolor(le).darken(18),"800"),D(tinycolor(le).darken(24),"900"),D(tinycolor(le).lighten(50).saturate(30),"A100"),D(tinycolor(le).lighten(30).saturate(30),"A200"),D(tinycolor(le).lighten(10).saturate(15),"A400"),D(tinycolor(le).lighten(5).saturate(5),"A700")]}(ut);for(const $t of Lt){const ai=`--${Me}-theme-primary-contrast-${$t.name}`,Pi=$t.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${Me}-theme-primary-${$t.name}`,`${$t.red},${$t.green},${$t.blue}`),document.documentElement.style.setProperty(ai,Pi)}}loadAppDefaultConfig(){return new Promise(Me=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(ut=>{this.storeService.setDefaultConfig(ut),Me()})})}loadAppInstanceConfig(){return new Promise(Me=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(ut=>{this.storeService.setInstanceConfig(ut);const Lt=document.location.hostname;void 0!==ut.brandings&&void 0!==ut.brandings[Lt]&&this.storeService.setBanding(Lt),Me()},()=>{console.log("instance config not detected"),Me()})})}getNoCacheHeaders(){return new Y.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(Me=>{const ut=document.querySelector("link[rel*='icon']")||document.createElement("link");ut.type="image/x-icon",ut.rel="shortcut icon",ut.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(ut),Me()})}setApiUrl(){return new Promise(Me=>{let ut=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(ut=ut.replace("oauth","ba")),this.authzSevice.configuration.basePath=ut,this.titleService.setTitle(this.storeService.get("document_title")),Me()})}loadAppsConfig(){return new Promise((Me,ut)=>{this.utilsService.getAppsConfig().subscribe(Lt=>{this.storeService.setAppsConfig(Lt),Me()},Lt=>ut(Lt))})}}return le.\u0275fac=function(Me){return new(Me||le)(f.LFG(Y.eN),f.LFG(A.d6),f.LFG(m.Ct),f.LFG(e.Dx),f.LFG(m.FW))},le.\u0275prov=f.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();function D(le,it){const Me=tinycolor(le),ut=Me.toRgb();return{name:it,hex:Me.toHexString(),darkContrast:Me.isLight(),red:ut.r,green:ut.g,blue:ut.b}}let ue=(()=>{class le{constructor(Me,ut){this.data=Me,this.location=ut}redirect(){this.location.go("/"),location.reload()}}return le.\u0275fac=function(Me){return new(Me||le)(f.Y36(h.WI),f.Y36(X.Ye))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-prevent-proxy-overload-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(Me,ut){1&Me&&(f.TgZ(0,"h2"),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.TgZ(3,"p"),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div"),f.TgZ(7,"button",0),f.NdJ("click",function(){return ut.redirect()}),f._uU(8),f.ALo(9,"translate"),f.qZA(),f.qZA()),2&Me&&(f.xp6(1),f.hij(" ",f.lcZ(2,3,ut.data.title),"\n"),f.xp6(3),f.hij(" ",f.lcZ(5,5,ut.data.message),"\n"),f.xp6(4),f.hij(" ",f.lcZ(9,7,ut.data.action)," "))},pipes:[E.X$],styles:[""]}),le})(),Xe=(()=>{class le{constructor(Me,ut){this.dialogRef=Me,this.data=ut}refresh(){location.reload()}}return le.\u0275fac=function(Me){return new(Me||le)(f.Y36(h.so),f.Y36(h.WI))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-server-down-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(Me,ut){1&Me&&(f.TgZ(0,"h2"),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.TgZ(3,"p"),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div"),f.TgZ(7,"button",0),f.NdJ("click",function(){return ut.refresh()}),f._uU(8),f.ALo(9,"translate"),f.qZA(),f.qZA()),2&Me&&(f.xp6(1),f.hij(" ",f.lcZ(2,3,ut.data.title),"\n"),f.xp6(3),f.hij(" ",f.lcZ(5,5,ut.data.message),"\n"),f.xp6(4),f.hij(" ",f.lcZ(9,7,ut.data.action)," "))},pipes:[E.X$],styles:[""]}),le})(),bt=(()=>{class le{constructor(Me,ut,Lt,$t,ri,di){this.initAuthService=Me,this.appConfigService=ut,this.authzSevice=Lt,this.dialog=$t,this.location=ri,this.guiAuthResolver=di,this.entityColorConfigs=[{entity:"vo",configValue:"vo_color",cssVariable:"--vo-color"},{entity:"group",configValue:"group_color",cssVariable:"--group-color"},{entity:"user",configValue:"user_color",cssVariable:"--user-color"},{entity:"member",configValue:"member_color",cssVariable:"--member-color"},{entity:"facility",configValue:"facility_color",cssVariable:"--facility-color"},{entity:"resource",configValue:"resource_color",cssVariable:"--resource-color"},{entity:"admin",configValue:"admin_color",cssVariable:"--admin-color"},{entity:"service",configValue:"service_color",cssVariable:"--service-color"}],this.colorConfigs=[{configValue:"sidemenu_hover_color",cssVariable:"--side-root-item-hover"},{configValue:"sidemenu_root_active_color",cssVariable:"--side-root-item-active"},{configValue:"sidemenu-link-active",cssVariable:"--side-link-active"},{configValue:"sidemenu-link-hover",cssVariable:"--side-link-hover"}]}initialize(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>this.initAuthService.verifyAuth()).catch(Me=>{if("Invalid path"!==Me)throw console.error(Me),this.location.go("/"),location.reload(),Me;this.handleErr(Me)}).then(Me=>Me?this.initAuthService.loadPrincipal().catch(ut=>this.handleErr(ut)).then(()=>this.loadPolicies()).then(()=>this.appConfigService.loadAppsConfig()).then(()=>this.guiAuthResolver.loadRolesManagementRules()):this.initAuthService.handleAuthStart())}handleErr(Me){const ut=(0,s.kZ)();throw"Invalid path"===Me?(ut.data={title:"GENERAL.PROXY_OVERLOAD_PREVENTION.TITLE",message:"GENERAL.PROXY_OVERLOAD_PREVENTION.MESSAGE",action:"GENERAL.PROXY_OVERLOAD_PREVENTION.ACTION"},this.dialog.open(ue,ut)):(ut.data={title:"GENERAL.PRINCIPAL_ERROR.TITLE",message:0===Me.status?"GENERAL.PRINCIPAL_ERROR.MESSAGE":Me.message,action:"GENERAL.PRINCIPAL_ERROR.ACTION"},this.dialog.open(Xe,ut)),console.error(Me),Me}loadPolicies(){return new Promise((Me,ut)=>{this.authzSevice.getAllPolicies().subscribe(Lt=>{this.guiAuthResolver.setPerunPolicies(Lt),Me()},Lt=>ut(Lt))})}}return le.\u0275fac=function(Me){return new(Me||le)(f.LFG(A.v0),f.LFG(He),f.LFG(m.Ct),f.LFG(h.uw),f.LFG(X.Ye),f.LFG(A.x4))},le.\u0275prov=f.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})(),Jt=(()=>{class le{}return le.\u0275fac=function(Me){return new(Me||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[X.ez,h.Is,re.ot,E.aw]]}),le})();var ti=d(8929),bi=d(23753),wi=d(36787),en=d(57138),on=d(7625),Hi=d(75778),Bi=d(77604);function cn(le){return getComputedStyle(le)}function Di(le,it){for(var Me in it){var ut=it[Me];"number"==typeof ut&&(ut+="px"),le.style[Me]=ut}return le}function xi(le){var it=document.createElement("div");return it.className=le,it}var _n="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function hn(le,it){if(!_n)throw new Error("No element matching method supported");return _n.call(le,it)}function $i(le){le.remove?le.remove():le.parentNode&&le.parentNode.removeChild(le)}function sn(le,it){return Array.prototype.filter.call(le.children,function(Me){return hn(Me,it)})}var Fi_element_thumb=function(le){return"ps__thumb-"+le},Fi_element_rail=function(le){return"ps__rail-"+le},Fi_element_consuming="ps__child--consume",Fi_state_focus="ps--focus",Fi_state_clicking="ps--clicking",Fi_state_active=function(le){return"ps--active-"+le},Fi_state_scrolling=function(le){return"ps--scrolling-"+le},Ln={x:null,y:null};function pt(le,it){var Me=le.element.classList,ut=Fi_state_scrolling(it);Me.contains(ut)?clearTimeout(Ln[it]):Me.add(ut)}function Kt(le,it){Ln[it]=setTimeout(function(){return le.isAlive&&le.element.classList.remove(Fi_state_scrolling(it))},le.settings.scrollingThreshold)}var Tt=function(it){this.element=it,this.handlers={}},ot={isEmpty:{configurable:!0}};Tt.prototype.bind=function(it,Me){void 0===this.handlers[it]&&(this.handlers[it]=[]),this.handlers[it].push(Me),this.element.addEventListener(it,Me,!1)},Tt.prototype.unbind=function(it,Me){var ut=this;this.handlers[it]=this.handlers[it].filter(function(Lt){return!(!Me||Lt===Me)||(ut.element.removeEventListener(it,Lt,!1),!1)})},Tt.prototype.unbindAll=function(){for(var it in this.handlers)this.unbind(it)},ot.isEmpty.get=function(){var le=this;return Object.keys(this.handlers).every(function(it){return 0===le.handlers[it].length})},Object.defineProperties(Tt.prototype,ot);var zt=function(){this.eventElements=[]};function Ue(le){if("function"==typeof window.CustomEvent)return new CustomEvent(le);var it=document.createEvent("CustomEvent");return it.initCustomEvent(le,!1,!1,void 0),it}function Pt(le,it,Me,ut,Lt){var $t;if(void 0===ut&&(ut=!0),void 0===Lt&&(Lt=!1),"top"===it)$t=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==it)throw new Error("A proper axis should be provided");$t=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function Gt(le,it,Me,ut,Lt){var $t=Me[0],ri=Me[1],di=Me[2],ai=Me[3],Pi=Me[4],Vi=Me[5];void 0===ut&&(ut=!0),void 0===Lt&&(Lt=!1);var fn=le.element;le.reach[ai]=null,fn[di]<1&&(le.reach[ai]="start"),fn[di]>le[$t]-le[ri]-1&&(le.reach[ai]="end"),it&&(fn.dispatchEvent(Ue("ps-scroll-"+ai)),it<0?fn.dispatchEvent(Ue("ps-scroll-"+Pi)):it>0&&fn.dispatchEvent(Ue("ps-scroll-"+Vi)),ut&&function Je(le,it){pt(le,it),Kt(le,it)}(le,ai)),le.reach[ai]&&(it||Lt)&&fn.dispatchEvent(Ue("ps-"+ai+"-reach-"+le.reach[ai]))}(le,Me,$t,ut,Lt)}function Qt(le){return parseInt(le,10)||0}zt.prototype.eventElement=function(it){var Me=this.eventElements.filter(function(ut){return ut.element===it})[0];return Me||(Me=new Tt(it),this.eventElements.push(Me)),Me},zt.prototype.bind=function(it,Me,ut){this.eventElement(it).bind(Me,ut)},zt.prototype.unbind=function(it,Me,ut){var Lt=this.eventElement(it);Lt.unbind(Me,ut),Lt.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(Lt),1)},zt.prototype.unbindAll=function(){this.eventElements.forEach(function(it){return it.unbindAll()}),this.eventElements=[]},zt.prototype.once=function(it,Me,ut){var Lt=this.eventElement(it),$t=function(ri){Lt.unbind(Me,$t),ut(ri)};Lt.bind(Me,$t)};var Ki={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function An(le){var it=le.element,Me=Math.floor(it.scrollTop),ut=it.getBoundingClientRect();le.containerWidth=Math.ceil(ut.width),le.containerHeight=Math.ceil(ut.height),le.contentWidth=it.scrollWidth,le.contentHeight=it.scrollHeight,it.contains(le.scrollbarXRail)||(sn(it,Fi_element_rail("x")).forEach(function(Lt){return $i(Lt)}),it.appendChild(le.scrollbarXRail)),it.contains(le.scrollbarYRail)||(sn(it,Fi_element_rail("y")).forEach(function(Lt){return $i(Lt)}),it.appendChild(le.scrollbarYRail)),!le.settings.suppressScrollX&&le.containerWidth+le.settings.scrollXMarginOffset=le.railXWidth-le.scrollbarXWidth&&(le.scrollbarXLeft=le.railXWidth-le.scrollbarXWidth),le.scrollbarYTop>=le.railYHeight-le.scrollbarYHeight&&(le.scrollbarYTop=le.railYHeight-le.scrollbarYHeight),function io(le,it){var Me={width:it.railXWidth},ut=Math.floor(le.scrollTop);Me.left=it.isRtl?it.negativeScrollAdjustment+le.scrollLeft+it.containerWidth-it.contentWidth:le.scrollLeft,it.isScrollbarXUsingBottom?Me.bottom=it.scrollbarXBottom-ut:Me.top=it.scrollbarXTop+ut,Di(it.scrollbarXRail,Me);var Lt={top:ut,height:it.railYHeight};it.isScrollbarYUsingRight?Lt.right=it.isRtl?it.contentWidth-(it.negativeScrollAdjustment+le.scrollLeft)-it.scrollbarYRight-it.scrollbarYOuterWidth-9:it.scrollbarYRight-le.scrollLeft:Lt.left=it.isRtl?it.negativeScrollAdjustment+le.scrollLeft+2*it.containerWidth-it.contentWidth-it.scrollbarYLeft-it.scrollbarYOuterWidth:it.scrollbarYLeft+le.scrollLeft,Di(it.scrollbarYRail,Lt),Di(it.scrollbarX,{left:it.scrollbarXLeft,width:it.scrollbarXWidth-it.railBorderXWidth}),Di(it.scrollbarY,{top:it.scrollbarYTop,height:it.scrollbarYHeight-it.railBorderYWidth})}(it,le),le.scrollbarXActive?it.classList.add(Fi_state_active("x")):(it.classList.remove(Fi_state_active("x")),le.scrollbarXWidth=0,le.scrollbarXLeft=0,it.scrollLeft=!0===le.isRtl?le.contentWidth:0),le.scrollbarYActive?it.classList.add(Fi_state_active("y")):(it.classList.remove(Fi_state_active("y")),le.scrollbarYHeight=0,le.scrollbarYTop=0,it.scrollTop=0)}function Un(le,it){return le.settings.minScrollbarLength&&(it=Math.max(it,le.settings.minScrollbarLength)),le.settings.maxScrollbarLength&&(it=Math.min(it,le.settings.maxScrollbarLength)),it}function Ao(le,it){var Me=it[0],ut=it[1],Lt=it[2],$t=it[3],ri=it[4],di=it[5],ai=it[6],Pi=it[7],Vi=it[8],fn=le.element,Gn=null,jn=null,Yi=null;function Tn(Si){Si.touches&&Si.touches[0]&&(Si[Lt]=Si.touches[0].pageY),fn[ai]=Gn+Yi*(Si[Lt]-jn),pt(le,Pi),An(le),Si.stopPropagation(),Si.preventDefault()}function Ni(){Kt(le,Pi),le[Vi].classList.remove(Fi_state_clicking),le.event.unbind(le.ownerDocument,"mousemove",Tn)}function Ji(Si,Bn){Gn=fn[ai],Bn&&Si.touches&&(Si[Lt]=Si.touches[0].pageY),jn=Si[Lt],Yi=(le[ut]-le[Me])/(le[$t]-le[di]),Bn?le.event.bind(le.ownerDocument,"touchmove",Tn):(le.event.bind(le.ownerDocument,"mousemove",Tn),le.event.once(le.ownerDocument,"mouseup",Ni),Si.preventDefault()),le[Vi].classList.add(Fi_state_clicking),Si.stopPropagation()}le.event.bind(le[ri],"mousedown",function(Si){Ji(Si)}),le.event.bind(le[ri],"touchstart",function(Si){Ji(Si,!0)})}var oo={"click-rail":function Mn(le){le.event.bind(le.scrollbarY,"mousedown",function(Me){return Me.stopPropagation()}),le.event.bind(le.scrollbarYRail,"mousedown",function(Me){var ut=Me.pageY-window.pageYOffset-le.scrollbarYRail.getBoundingClientRect().top;le.element.scrollTop+=(ut>le.scrollbarYTop?1:-1)*le.containerHeight,An(le),Me.stopPropagation()}),le.event.bind(le.scrollbarX,"mousedown",function(Me){return Me.stopPropagation()}),le.event.bind(le.scrollbarXRail,"mousedown",function(Me){var ut=Me.pageX-window.pageXOffset-le.scrollbarXRail.getBoundingClientRect().left;le.element.scrollLeft+=(ut>le.scrollbarXLeft?1:-1)*le.containerWidth,An(le),Me.stopPropagation()})},"drag-thumb":function On(le){Ao(le,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),Ao(le,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function zn(le){var it=le.element;le.event.bind(le.ownerDocument,"keydown",function($t){if(!($t.isDefaultPrevented&&$t.isDefaultPrevented()||$t.defaultPrevented)&&(hn(it,":hover")||hn(le.scrollbarX,":focus")||hn(le.scrollbarY,":focus"))){var ri=document.activeElement?document.activeElement:le.ownerDocument.activeElement;if(ri){if("IFRAME"===ri.tagName)ri=ri.contentDocument.activeElement;else for(;ri.shadowRoot;)ri=ri.shadowRoot.activeElement;if(function Ci(le){return hn(le,"input,[contenteditable]")||hn(le,"select,[contenteditable]")||hn(le,"textarea,[contenteditable]")||hn(le,"button,[contenteditable]")}(ri))return}var di=0,ai=0;switch($t.which){case 37:di=$t.metaKey?-le.contentWidth:$t.altKey?-le.containerWidth:-30;break;case 38:ai=$t.metaKey?le.contentHeight:$t.altKey?le.containerHeight:30;break;case 39:di=$t.metaKey?le.contentWidth:$t.altKey?le.containerWidth:30;break;case 40:ai=$t.metaKey?-le.contentHeight:$t.altKey?-le.containerHeight:-30;break;case 32:ai=$t.shiftKey?le.containerHeight:-le.containerHeight;break;case 33:ai=le.containerHeight;break;case 34:ai=-le.containerHeight;break;case 36:ai=le.contentHeight;break;case 35:ai=-le.contentHeight;break;default:return}le.settings.suppressScrollX&&0!==di||le.settings.suppressScrollY&&0!==ai||(it.scrollTop-=ai,it.scrollLeft+=di,An(le),function Lt($t,ri){var di=Math.floor(it.scrollTop);if(0===$t){if(!le.scrollbarYActive)return!1;if(0===di&&ri>0||di>=le.contentHeight-le.containerHeight&&ri<0)return!le.settings.wheelPropagation}var ai=it.scrollLeft;if(0===ri){if(!le.scrollbarXActive)return!1;if(0===ai&&$t<0||ai>=le.contentWidth-le.containerWidth&&$t>0)return!le.settings.wheelPropagation}return!0}(di,ai)&&$t.preventDefault())}})},wheel:function ao(le){var it=le.element;function $t(ri){var di=function ut(ri){var di=ri.deltaX,ai=-1*ri.deltaY;return(void 0===di||void 0===ai)&&(di=-1*ri.wheelDeltaX/6,ai=ri.wheelDeltaY/6),ri.deltaMode&&1===ri.deltaMode&&(di*=10,ai*=10),di!=di&&ai!=ai&&(di=0,ai=ri.wheelDelta),ri.shiftKey?[-ai,-di]:[di,ai]}(ri),ai=di[0],Pi=di[1];if(!function Lt(ri,di,ai){if(!Ki.isWebKit&&it.querySelector("select:focus"))return!0;if(!it.contains(ri))return!1;for(var Pi=ri;Pi&&Pi!==it;){if(Pi.classList.contains(Fi_element_consuming))return!0;var Vi=cn(Pi);if(ai&&Vi.overflowY.match(/(scroll|auto)/)){var fn=Pi.scrollHeight-Pi.clientHeight;if(fn>0&&(Pi.scrollTop>0&&ai<0||Pi.scrollTop0))return!0}if(di&&Vi.overflowX.match(/(scroll|auto)/)){var Gn=Pi.scrollWidth-Pi.clientWidth;if(Gn>0&&(Pi.scrollLeft>0&&di<0||Pi.scrollLeft0))return!0}Pi=Pi.parentNode}return!1}(ri.target,ai,Pi)){var Vi=!1;le.settings.useBothWheelAxes?le.scrollbarYActive&&!le.scrollbarXActive?(Pi?it.scrollTop-=Pi*le.settings.wheelSpeed:it.scrollTop+=ai*le.settings.wheelSpeed,Vi=!0):le.scrollbarXActive&&!le.scrollbarYActive&&(ai?it.scrollLeft+=ai*le.settings.wheelSpeed:it.scrollLeft-=Pi*le.settings.wheelSpeed,Vi=!0):(it.scrollTop-=Pi*le.settings.wheelSpeed,it.scrollLeft+=ai*le.settings.wheelSpeed),An(le),Vi=Vi||function Me(ri,di){var ai=Math.floor(it.scrollTop),Pi=0===it.scrollTop,Vi=ai+it.offsetHeight===it.scrollHeight,fn=0===it.scrollLeft,Gn=it.scrollLeft+it.offsetWidth===it.scrollWidth;return!(Math.abs(di)>Math.abs(ri)?Pi||Vi:fn||Gn)||!le.settings.wheelPropagation}(ai,Pi),Vi&&!ri.ctrlKey&&(ri.stopPropagation(),ri.preventDefault())}}void 0!==window.onwheel?le.event.bind(it,"wheel",$t):void 0!==window.onmousewheel&&le.event.bind(it,"mousewheel",$t)},touch:function no(le){if(Ki.supportsTouch||Ki.supportsIePointer){var it=le.element,Lt={},$t=0,ri={},di=null;Ki.supportsTouch?(le.event.bind(it,"touchstart",Vi),le.event.bind(it,"touchmove",Gn),le.event.bind(it,"touchend",jn)):Ki.supportsIePointer&&(window.PointerEvent?(le.event.bind(it,"pointerdown",Vi),le.event.bind(it,"pointermove",Gn),le.event.bind(it,"pointerup",jn)):window.MSPointerEvent&&(le.event.bind(it,"MSPointerDown",Vi),le.event.bind(it,"MSPointerMove",Gn),le.event.bind(it,"MSPointerUp",jn)))}function ut(Yi,Tn){it.scrollTop-=Tn,it.scrollLeft-=Yi,An(le)}function ai(Yi){return Yi.targetTouches?Yi.targetTouches[0]:Yi}function Pi(Yi){return!(Yi.pointerType&&"pen"===Yi.pointerType&&0===Yi.buttons||!(Yi.targetTouches&&1===Yi.targetTouches.length||Yi.pointerType&&"mouse"!==Yi.pointerType&&Yi.pointerType!==Yi.MSPOINTER_TYPE_MOUSE))}function Vi(Yi){if(Pi(Yi)){var Tn=ai(Yi);Lt.pageX=Tn.pageX,Lt.pageY=Tn.pageY,$t=(new Date).getTime(),null!==di&&clearInterval(di)}}function Gn(Yi){if(Pi(Yi)){var Tn=ai(Yi),Ni={pageX:Tn.pageX,pageY:Tn.pageY},Ji=Ni.pageX-Lt.pageX,Si=Ni.pageY-Lt.pageY;if(function fn(Yi,Tn,Ni){if(!it.contains(Yi))return!1;for(var Ji=Yi;Ji&&Ji!==it;){if(Ji.classList.contains(Fi_element_consuming))return!0;var Si=cn(Ji);if(Ni&&Si.overflowY.match(/(scroll|auto)/)){var Bn=Ji.scrollHeight-Ji.clientHeight;if(Bn>0&&(Ji.scrollTop>0&&Ni<0||Ji.scrollTop0))return!0}if(Tn&&Si.overflowX.match(/(scroll|auto)/)){var po=Ji.scrollWidth-Ji.clientWidth;if(po>0&&(Ji.scrollLeft>0&&Tn<0||Ji.scrollLeft0))return!0}Ji=Ji.parentNode}return!1}(Yi.target,Ji,Si))return;ut(Ji,Si),Lt=Ni;var Bn=(new Date).getTime(),po=Bn-$t;po>0&&(ri.x=Ji/po,ri.y=Si/po,$t=Bn),function Me(Yi,Tn){var Ni=Math.floor(it.scrollTop),Ji=it.scrollLeft,Si=Math.abs(Yi),Bn=Math.abs(Tn);if(Bn>Si){if(Tn<0&&Ni===le.contentHeight-le.containerHeight||Tn>0&&0===Ni)return 0===window.scrollY&&Tn>0&&Ki.isChrome}else if(Si>Bn&&(Yi<0&&Ji===le.contentWidth-le.containerWidth||Yi>0&&0===Ji))return!0;return!0}(Ji,Si)&&Yi.preventDefault()}}function jn(){le.settings.swipeEasing&&(clearInterval(di),di=setInterval(function(){le.isInitialized?clearInterval(di):ri.x||ri.y?Math.abs(ri.x)<.01&&Math.abs(ri.y)<.01?clearInterval(di):(ut(30*ri.x,30*ri.y),ri.x*=.8,ri.y*=.8):clearInterval(di)},10))}}},xn=function(it,Me){var ut=this;if(void 0===Me&&(Me={}),"string"==typeof it&&(it=document.querySelector(it)),!it||!it.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var Lt in this.element=it,it.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},Me)this.settings[Lt]=Me[Lt];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var Vi,Pi,$t=function(){return it.classList.add(Fi_state_focus)},ri=function(){return it.classList.remove(Fi_state_focus)};this.isRtl="rtl"===cn(it).direction,!0===this.isRtl&&it.classList.add("ps__rtl"),this.isNegativeScroll=(Pi=it.scrollLeft,it.scrollLeft=-1,Vi=it.scrollLeft<0,it.scrollLeft=Pi,Vi),this.negativeScrollAdjustment=this.isNegativeScroll?it.scrollWidth-it.clientWidth:0,this.event=new zt,this.ownerDocument=it.ownerDocument||document,this.scrollbarXRail=xi(Fi_element_rail("x")),it.appendChild(this.scrollbarXRail),this.scrollbarX=xi(Fi_element_thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",$t),this.event.bind(this.scrollbarX,"blur",ri),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var di=cn(this.scrollbarXRail);this.scrollbarXBottom=parseInt(di.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Qt(di.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Qt(di.borderLeftWidth)+Qt(di.borderRightWidth),Di(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Qt(di.marginLeft)+Qt(di.marginRight),Di(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=xi(Fi_element_rail("y")),it.appendChild(this.scrollbarYRail),this.scrollbarY=xi(Fi_element_thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",$t),this.event.bind(this.scrollbarY,"blur",ri),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var ai=cn(this.scrollbarYRail);this.scrollbarYRight=parseInt(ai.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Qt(ai.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function ji(le){var it=cn(le);return Qt(it.width)+Qt(it.paddingLeft)+Qt(it.paddingRight)+Qt(it.borderLeftWidth)+Qt(it.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Qt(ai.borderTopWidth)+Qt(ai.borderBottomWidth),Di(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Qt(ai.marginTop)+Qt(ai.marginBottom),Di(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:it.scrollLeft<=0?"start":it.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:it.scrollTop<=0?"start":it.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Pi){return oo[Pi](ut)}),this.lastScrollTop=Math.floor(it.scrollTop),this.lastScrollLeft=it.scrollLeft,this.event.bind(this.element,"scroll",function(Pi){return ut.onScroll(Pi)}),An(this)};xn.prototype.update=function(){!this.isAlive||(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,Di(this.scrollbarXRail,{display:"block"}),Di(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Qt(cn(this.scrollbarXRail).marginLeft)+Qt(cn(this.scrollbarXRail).marginRight),this.railYMarginHeight=Qt(cn(this.scrollbarYRail).marginTop)+Qt(cn(this.scrollbarYRail).marginBottom),Di(this.scrollbarXRail,{display:"none"}),Di(this.scrollbarYRail,{display:"none"}),An(this),Pt(this,"top",0,!1,!0),Pt(this,"left",0,!1,!0),Di(this.scrollbarXRail,{display:""}),Di(this.scrollbarYRail,{display:""}))},xn.prototype.onScroll=function(it){!this.isAlive||(An(this),Pt(this,"top",this.element.scrollTop-this.lastScrollTop),Pt(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},xn.prototype.destroy=function(){!this.isAlive||(this.event.unbindAll(),$i(this.scrollbarX),$i(this.scrollbarY),$i(this.scrollbarXRail),$i(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},xn.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(it){return!it.match(/^ps([-_].+|)$/)}).join(" ")};const yn=xn;var so=function(){if("undefined"!=typeof Map)return Map;function le(it,Me){var ut=-1;return it.some(function(Lt,$t){return Lt[0]===Me&&(ut=$t,!0)}),ut}return function(){function it(){this.__entries__=[]}return Object.defineProperty(it.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),it.prototype.get=function(Me){var ut=le(this.__entries__,Me),Lt=this.__entries__[ut];return Lt&&Lt[1]},it.prototype.set=function(Me,ut){var Lt=le(this.__entries__,Me);~Lt?this.__entries__[Lt][1]=ut:this.__entries__.push([Me,ut])},it.prototype.delete=function(Me){var ut=this.__entries__,Lt=le(ut,Me);~Lt&&ut.splice(Lt,1)},it.prototype.has=function(Me){return!!~le(this.__entries__,Me)},it.prototype.clear=function(){this.__entries__.splice(0)},it.prototype.forEach=function(Me,ut){void 0===ut&&(ut=null);for(var Lt=0,$t=this.__entries__;Lt<$t.length;Lt++){var ri=$t[Lt];Me.call(ut,ri[1],ri[0])}},it}()}(),Dn="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,Nn="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),co="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(Nn):function(le){return setTimeout(function(){return le(Date.now())},1e3/60)},yo=["top","right","bottom","left","width","height","size","weight"],In="undefined"!=typeof MutationObserver,vn=function(){function le(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function ro(le,it){var Me=!1,ut=!1,Lt=0;function $t(){Me&&(Me=!1,le()),ut&&di()}function ri(){co($t)}function di(){var ai=Date.now();if(Me){if(ai-Lt<2)return;ut=!0}else Me=!0,ut=!1,setTimeout(ri,it);Lt=ai}return di}(this.refresh.bind(this),20)}return le.prototype.addObserver=function(it){~this.observers_.indexOf(it)||this.observers_.push(it),this.connected_||this.connect_()},le.prototype.removeObserver=function(it){var Me=this.observers_,ut=Me.indexOf(it);~ut&&Me.splice(ut,1),!Me.length&&this.connected_&&this.disconnect_()},le.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},le.prototype.updateObservers_=function(){var it=this.observers_.filter(function(Me){return Me.gatherActive(),Me.hasActive()});return it.forEach(function(Me){return Me.broadcastActive()}),it.length>0},le.prototype.connect_=function(){!Dn||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),In?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},le.prototype.disconnect_=function(){!Dn||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},le.prototype.onTransitionEnd_=function(it){var Me=it.propertyName,ut=void 0===Me?"":Me;yo.some(function($t){return!!~ut.indexOf($t)})&&this.refresh()},le.getInstance=function(){return this.instance_||(this.instance_=new le),this.instance_},le.instance_=null,le}(),gn=function(le,it){for(var Me=0,ut=Object.keys(it);Me0},le}(),Zt="undefined"!=typeof WeakMap?new WeakMap:new so,Yt=function le(it){if(!(this instanceof le))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Me=vn.getInstance(),ut=new yt(it,Me,this);Zt.set(this,ut)};["observe","unobserve","disconnect"].forEach(function(le){Yt.prototype[le]=function(){var it;return(it=Zt.get(this))[le].apply(it,arguments)}});const ui=void 0!==Nn.ResizeObserver?Nn.ResizeObserver:Yt;function hi(le,it){if(1&le&&(f.TgZ(0,"div",3),f._UZ(1,"div",4),f._UZ(2,"div",5),f._UZ(3,"div",6),f._UZ(4,"div",7),f.qZA()),2&le){const Me=f.oxw();f.ekj("ps-at-top",Me.states.top)("ps-at-left",Me.states.left)("ps-at-right",Me.states.right)("ps-at-bottom",Me.states.bottom),f.xp6(1),f.ekj("ps-indicator-show",Me.indicatorY&&Me.interaction),f.xp6(1),f.ekj("ps-indicator-show",Me.indicatorX&&Me.interaction),f.xp6(1),f.ekj("ps-indicator-show",Me.indicatorX&&Me.interaction),f.xp6(1),f.ekj("ps-indicator-show",Me.indicatorY&&Me.interaction)}}const _i=["*"],vi=new f.OlP("PERFECT_SCROLLBAR_CONFIG");class ki{constructor(it,Me,ut,Lt){this.x=it,this.y=Me,this.w=ut,this.h=Lt}}class Oe{constructor(it,Me){this.x=it,this.y=Me}}const ye=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Ae{constructor(it={}){this.assign(it)}assign(it={}){for(const Me in it)this[Me]=it[Me]}}let ct=(()=>{class le{constructor(Me,ut,Lt,$t,ri){this.zone=Me,this.differs=ut,this.elementRef=Lt,this.platformId=$t,this.defaults=ri,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new ti.xQ,this.disabled=!1,this.psScrollY=new f.vpe,this.psScrollX=new f.vpe,this.psScrollUp=new f.vpe,this.psScrollDown=new f.vpe,this.psScrollLeft=new f.vpe,this.psScrollRight=new f.vpe,this.psYReachEnd=new f.vpe,this.psYReachStart=new f.vpe,this.psXReachEnd=new f.vpe,this.psXReachStart=new f.vpe}ngOnInit(){if(!this.disabled&&(0,X.NF)(this.platformId)){const Me=new Ae(this.defaults);Me.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new yn(this.elementRef.nativeElement,Me)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new ui(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{ye.forEach(ut=>{const Lt=ut.replace(/([A-Z])/g,$t=>`-${$t.toLowerCase()}`);(0,bi.R)(this.elementRef.nativeElement,Lt).pipe((0,en.e)(20),(0,on.R)(this.ngDestroy)).subscribe($t=>{this[ut].emit($t)})})})}}ngOnDestroy(){(0,X.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&"undefined"!=typeof window&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,X.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(Me){Me.disabled&&!Me.disabled.isFirstChange()&&(0,X.NF)(this.platformId)&&Me.disabled.currentValue!==Me.disabled.previousValue&&(!0===Me.disabled.currentValue?this.ngOnDestroy():!1===Me.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){"undefined"!=typeof window&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch(Me){}},0))}geometry(Me="scroll"){return new ki(this.elementRef.nativeElement[Me+"Left"],this.elementRef.nativeElement[Me+"Top"],this.elementRef.nativeElement[Me+"Width"],this.elementRef.nativeElement[Me+"Height"])}position(Me=!1){return!Me&&this.instance?new Oe(this.instance.reach.x||0,this.instance.reach.y||0):new Oe(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(Me="any"){const ut=this.elementRef.nativeElement;return"any"===Me?ut.classList.contains("ps--active-x")||ut.classList.contains("ps--active-y"):"both"===Me?ut.classList.contains("ps--active-x")&&ut.classList.contains("ps--active-y"):ut.classList.contains("ps--active-"+Me)}scrollTo(Me,ut,Lt){this.disabled||(null==ut&&null==Lt?this.animateScrolling("scrollTop",Me,Lt):(null!=Me&&this.animateScrolling("scrollLeft",Me,Lt),null!=ut&&this.animateScrolling("scrollTop",ut,Lt)))}scrollToX(Me,ut){this.animateScrolling("scrollLeft",Me,ut)}scrollToY(Me,ut){this.animateScrolling("scrollTop",Me,ut)}scrollToTop(Me,ut){this.animateScrolling("scrollTop",Me||0,ut)}scrollToLeft(Me,ut){this.animateScrolling("scrollLeft",Me||0,ut)}scrollToRight(Me,ut){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(Me||0),ut)}scrollToBottom(Me,ut){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(Me||0),ut)}scrollToElement(Me,ut,Lt){if("string"==typeof Me&&(Me=this.elementRef.nativeElement.querySelector(Me)),Me){const $t=Me.getBoundingClientRect(),ri=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",$t.left-ri.left+this.elementRef.nativeElement.scrollLeft+(ut||0),Lt),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",$t.top-ri.top+this.elementRef.nativeElement.scrollTop+(ut||0),Lt)}}animateScrolling(Me,ut,Lt){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),Lt&&"undefined"!=typeof window){if(ut!==this.elementRef.nativeElement[Me]){let $t=0,ri=0,di=performance.now(),ai=this.elementRef.nativeElement[Me];const Pi=(ai-ut)/2,Vi=fn=>{ri+=Math.PI/(Lt/(fn-di)),$t=Math.round(ut+Pi+Pi*Math.cos(ri)),this.elementRef.nativeElement[Me]===ai&&(ri>=Math.PI?this.animateScrolling(Me,ut,0):(this.elementRef.nativeElement[Me]=$t,ai=this.elementRef.nativeElement[Me],di=fn,this.animation=window.requestAnimationFrame(Vi)))};window.requestAnimationFrame(Vi)}}else this.elementRef.nativeElement[Me]=ut}}return le.\u0275fac=function(Me){return new(Me||le)(f.Y36(f.R0b),f.Y36(f.aQg),f.Y36(f.SBq),f.Y36(f.Lbi),f.Y36(vi,8))},le.\u0275dir=f.lG2({type:le,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[f.TTD]}),le})(),Bt=(()=>{class le{constructor(Me,ut,Lt){this.zone=Me,this.cdRef=ut,this.platformId=Lt,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new ti.xQ,this.stateUpdate=new ti.xQ,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new f.vpe,this.psScrollX=new f.vpe,this.psScrollUp=new f.vpe,this.psScrollDown=new f.vpe,this.psScrollLeft=new f.vpe,this.psScrollRight=new f.vpe,this.psYReachEnd=new f.vpe,this.psYReachStart=new f.vpe,this.psXReachEnd=new f.vpe,this.psXReachStart=new f.vpe}ngOnInit(){(0,X.NF)(this.platformId)&&(this.stateUpdate.pipe((0,on.R)(this.ngDestroy),(0,Hi.x)((Me,ut)=>Me===ut&&!this.stateTimeout)).subscribe(Me=>{this.stateTimeout&&"undefined"!=typeof window&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===Me||"y"===Me?(this.interaction=!1,"x"===Me?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===Me&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===Me||"right"===Me?(this.states.left=!1,this.states.right=!1,this.states[Me]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===Me||"bottom"===Me)&&(this.states.top=!1,this.states.bottom=!1,this.states[Me]=!0,this.autoPropagation&&this.usePropagationY&&(this.indicatorY=!0)),this.autoPropagation&&"undefined"!=typeof window&&(this.stateTimeout=window.setTimeout(()=>{this.indicatorX=!1,this.indicatorY=!1,this.stateTimeout=null,this.interaction&&(this.states.left||this.states.right)&&(this.allowPropagationX=!0),this.interaction&&(this.states.top||this.states.bottom)&&(this.allowPropagationY=!0),this.cdRef.markForCheck()},500))),this.cdRef.markForCheck(),this.cdRef.detectChanges()}),this.zone.runOutsideAngular(()=>{if(this.directiveRef){const Me=this.directiveRef.elementRef.nativeElement;(0,bi.R)(Me,"wheel").pipe((0,on.R)(this.ngDestroy)).subscribe(ut=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(ut,ut.deltaX,ut.deltaY)}),(0,bi.R)(Me,"touchmove").pipe((0,on.R)(this.ngDestroy)).subscribe(ut=>{if(!this.disabled&&this.autoPropagation){const Lt=ut.touches[0].clientX,$t=ut.touches[0].clientY;this.checkPropagation(ut,Lt-this.scrollPositionX,$t-this.scrollPositionY),this.scrollPositionX=Lt,this.scrollPositionY=$t}}),(0,wi.T)((0,bi.R)(Me,"ps-scroll-x").pipe((0,Bi.h)("x")),(0,bi.R)(Me,"ps-scroll-y").pipe((0,Bi.h)("y")),(0,bi.R)(Me,"ps-x-reach-end").pipe((0,Bi.h)("right")),(0,bi.R)(Me,"ps-y-reach-end").pipe((0,Bi.h)("bottom")),(0,bi.R)(Me,"ps-x-reach-start").pipe((0,Bi.h)("left")),(0,bi.R)(Me,"ps-y-reach-start").pipe((0,Bi.h)("top"))).pipe((0,on.R)(this.ngDestroy)).subscribe(ut=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(ut)})}}),window.setTimeout(()=>{ye.forEach(Me=>{this.directiveRef&&(this.directiveRef[Me]=this[Me])})},0))}ngOnDestroy(){(0,X.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&"undefined"!=typeof window&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,X.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const Me=this.directiveRef.elementRef.nativeElement;this.usePropagationX=Me.classList.contains("ps--active-x"),this.usePropagationY=Me.classList.contains("ps--active-y")}}checkPropagation(Me,ut,Lt){this.interaction=!0;const $t=ut<0?-1:1,ri=Lt<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==$t)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==ri))&&(Me.preventDefault(),Me.stopPropagation()),ut&&(this.scrollDirectionX=$t),Lt&&(this.scrollDirectionY=ri),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return le.\u0275fac=function(Me){return new(Me||le)(f.Y36(f.R0b),f.Y36(f.sBO),f.Y36(f.Lbi))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perfect-scrollbar"]],viewQuery:function(Me,ut){if(1&Me&&f.Gf(ct,7),2&Me){let Lt;f.iGM(Lt=f.CRH())&&(ut.directiveRef=Lt.first)}},hostVars:4,hostBindings:function(Me,ut){2&Me&&f.ekj("ps-show-limits",ut.autoPropagation)("ps-show-active",ut.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:_i,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(Me,ut){1&Me&&(f.F$t(),f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.Hsn(2),f.qZA(),f.YNc(3,hi,5,16,"div",2),f.qZA()),2&Me&&(f.ekj("ps",ut.usePSClass),f.Q6J("perfectScrollbar",ut.config)("disabled",ut.disabled),f.xp6(3),f.Q6J("ngIf",ut.scrollIndicators))},directives:[ct,X.O5],styles:["perfect-scrollbar{display:block;height:100%;max-height:100%;max-width:100%;overflow:hidden;position:relative;width:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:flex;flex-direction:column;height:auto;min-height:0;min-width:0}perfect-scrollbar[fxflex]>.ps{-webkit-box-flex:1;flex:1 1 auto;height:auto;min-height:0;min-width:0;width:auto}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{-webkit-box-align:inherit;-webkit-box-flex:1;-webkit-box-pack:inherit;align-content:inherit;align-items:inherit;display:flex;flex:1 1 auto;flex-direction:inherit;height:100%;justify-content:inherit;width:100%},perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important}perfect-scrollbar>.ps{display:block;height:100%;max-height:100%;max-width:100%;position:static;width:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{bottom:0;display:block;left:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{opacity:0;position:absolute;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{left:0;min-height:24px;min-width:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{min-height:100%;min-width:24px;top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{cursor:default;left:auto!important;right:0!important;top:0!important;transition:width .2s linear,opacity .2s linear,background-color .2s linear;width:10px}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{bottom:0!important;cursor:default;height:10px;left:0!important;top:auto!important;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x,perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y{background-color:#eee;opacity:.9}perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x,perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{background:linear-gradient(180deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{background:linear-gradient(0deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{background:linear-gradient(90deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{background:linear-gradient(270deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:linear-gradient(180deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:linear-gradient(0deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:linear-gradient(90deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:linear-gradient(270deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show{opacity:1}",".ps{-ms-overflow-style:none;-ms-touch-action:auto;overflow:hidden!important;overflow-anchor:none;touch-action:auto}.ps__rail-x{bottom:0;height:15px}.ps__rail-x,.ps__rail-y{-webkit-transition:background-color .2s linear,opacity .2s linear;display:none;opacity:0;position:absolute;transition:background-color .2s linear,opacity .2s linear}.ps__rail-y{right:0;width:15px}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{background-color:transparent;display:block}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{-webkit-transition:background-color .2s linear,height .2s ease-in-out;bottom:2px;height:6px;transition:background-color .2s linear,height .2s ease-in-out}.ps__thumb-x,.ps__thumb-y{background-color:#aaa;border-radius:6px;position:absolute}.ps__thumb-y{-webkit-transition:background-color .2s linear,width .2s ease-in-out;right:2px;transition:background-color .2s linear,width .2s ease-in-out;width:6px}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ps{overflow:auto!important}}"],encapsulation:2}),le})(),Ui=(()=>{class le{}return le.\u0275fac=function(Me){return new(Me||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[X.ez],X.ez]}),le})();var tn=d(86114),Yn=d(36769),Vn=d(22465);function uo(le,it){if(1&le){const Me=f.EpF();f.TgZ(0,"div"),f.TgZ(1,"perun-web-apps-notification",2),f.NdJ("closeNotification",function(){const $t=f.CHM(Me).index;return f.oxw().removeNotification($t)}),f.qZA(),f.qZA()}if(2&le){const Me=it.$implicit;f.Q6J("@flyInOut",void 0),f.xp6(1),f.Q6J("data",Me)("newNotification",!0)}}const Qo=function(le){return{top:le}};let ni=(()=>{class le{constructor(Me,ut){this.notificator=Me,this.notificationStorageService=ut,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(Lt=>{this.processNotification(Lt)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(Me){this.notifications.push(Me),this.notificationStorageService.storeNotification(Me)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(Me){this.notifications.splice(Me,1)}}return le.\u0275fac=function(Me){return new(Me||le)(f.Y36(A.V6),f.Y36(A.SZ))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-notificator"]],hostBindings:function(Me,ut){1&Me&&f.NdJ("resize",function($t){return ut.getScreenSize($t)},!1,f.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(Me,ut){1&Me&&(f.TgZ(0,"div",0),f.YNc(1,uo,2,3,"div",1),f.qZA()),2&Me&&(f.Q6J("ngStyle",f.VKq(2,Qo,ut.getNotificatorTop())),f.xp6(1),f.Q6J("ngForOf",ut.notifications))},directives:[X.PC,X.sg,Vn.c],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width: 768px){#notificator[_ngcontent-%COMP%]{width:100%;top:auto;top:initial;bottom:0}}"],data:{animation:[Yn.Pd]}}),le})();var si=d(53435);function Ei(le,it){if(1&le&&(f.TgZ(0,"div",9),f._UZ(1,"perun-web-apps-notification",10),f.qZA()),2&le){const Me=it.$implicit;f.xp6(1),f.Q6J("data",Me)("inDialog",!0)}}function mi(le,it){if(1&le&&(f.TgZ(0,"div",6),f.TgZ(1,"cdk-virtual-scroll-viewport",7),f.YNc(2,Ei,2,2,"div",8),f.qZA(),f.qZA()),2&le){const Me=f.oxw();f.xp6(2),f.Q6J("cdkVirtualForOf",Me.notifications)}}function zi(le,it){1&le&&(f.TgZ(0,"app-alert",11),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"DIALOGS.NOTIFICATION_LIST.NO_NOTIFICATIONS_ALERT")))}let dn=(()=>{class le{constructor(Me,ut){this.dialogRef=Me,this.notificationStorageService=ut}ngOnInit(){this.notifications=this.notificationStorageService.getNotifications()}onCancel(){this.dialogRef.close()}onClear(){this.notificationStorageService.clearNotifications(),this.notifications=[]}}return le.\u0275fac=function(Me){return new(Me||le)(f.Y36(h.so),f.Y36(A.SZ))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-show-notification-history-dialog"]],decls:12,vars:11,consts:[["mat-dialog-title",""],["class","hide-horizontal-scrollbar",4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","",1,"ml-2",3,"click"],[1,"hide-horizontal-scrollbar"],["itemSize","50",1,"viewport"],["class","mb-1",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"mb-1"],[3,"data","inDialog"],["alert_type","warn"]],template:function(Me,ut){1&Me&&(f.TgZ(0,"h1",0),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.YNc(3,mi,3,1,"div",1),f.YNc(4,zi,3,3,"app-alert",2),f.TgZ(5,"div",3),f.TgZ(6,"button",4),f.NdJ("click",function(){return ut.onClear()}),f._uU(7),f.ALo(8,"translate"),f.qZA(),f.TgZ(9,"button",5),f.NdJ("click",function(){return ut.onCancel()}),f._uU(10),f.ALo(11,"translate"),f.qZA(),f.qZA()),2&Me&&(f.xp6(1),f.Oqu(f.lcZ(2,5,"DIALOGS.NOTIFICATION_LIST.TITLE")),f.xp6(2),f.Q6J("ngIf",0!==ut.notifications.length),f.xp6(1),f.Q6J("ngIf",0===ut.notifications.length),f.xp6(3),f.hij(" ",f.lcZ(8,7,"DIALOGS.NOTIFICATION_LIST.CLEAR")," "),f.xp6(3),f.hij(" ",f.lcZ(11,9,"DIALOGS.NOTIFICATION_LIST.CANCEL")," "))},directives:[h.uh,X.O5,si.N7,si.xd,si.x0,Vn.c,ce.w,h.H8,re.lW],pipes:[E.X$],styles:[".viewport[_ngcontent-%COMP%]{height:400px;width:470px}.hide-horizontal-scrollbar[_ngcontent-%COMP%]{overflow-x:hidden}"]}),le})();var bn=d(27544),Rn=d(52314);function qn(le,it){1&le&&(f.TgZ(0,"div",10),f.TgZ(1,"span",11),f._uU(2," ~ \u{1f5f2}\xa0 "),f.qZA(),f.TgZ(3,"span",12),f._uU(4," DEVEL "),f.qZA(),f.TgZ(5,"span",11),f._uU(6," \xa0\u{1f5f2} ~ "),f.qZA(),f.qZA())}const ln=function(le){return{color:le}},Xo=function(){return["/home"]};let So=(()=>{class le{constructor(Me,ut,Lt,$t,ri,di,ai,Pi,Vi,fn){this.storeService=Me,this.authService=ut,this.authzResolverService=Lt,this.dialog=$t,this.notificator=ri,this.translateService=di,this.store=ai,this.sanitizer=Pi,this.notificationStorageService=Vi,this.otherApplicationService=fn,this.logoutEnabled=!0,this.navTextColor=this.store.get("theme","nav_text_color"),this.iconColor=this.store.get("theme","nav_icon_color"),this.isDevel=!1}ngOnInit(){this.isDevel=this.storeService.get("is_devel"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.store.get("logo")),this.logoutEnabled=this.storeService.get("log_out_enabled"),this.profileLabel=this.storeService.get("profile_label_en"),this.profileUrl=this.otherApplicationService.getUrlForOtherApplication("profile")}showNotificationHistory(){this.notificationStorageService.newNotificationsCount=0;const Me=(0,s.kZ)();Me.width="520px",this.dialog.open(dn,Me)}getNewNotificationsCount(){return this.notificationStorageService.newNotificationsCount}}return le.\u0275fac=function(Me){return new(Me||le)(f.Y36(A.d6),f.Y36(A.e8),f.Y36(m.Ct),f.Y36(h.uw),f.Y36(A.V6),f.Y36(E.sK),f.Y36(A.d6),f.Y36(e.H7),f.Y36(A.SZ),f.Y36(A.jq))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-nav-menu"]],inputs:{sideNav:"sideNav",principal:"principal"},decls:13,vars:28,consts:[["id","nav-menu-icons",3,"ngStyle"],["mat-icon-button","",1,"mr-2","mt-auto","mb-auto",3,"click"],[3,"ngStyle"],["queryParamsHandling","merge",1,"mt-auto","mb-auto",3,"routerLink"],[1,"logo-container",3,"innerHTML"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"ngStyle"],["mat-icon-button","",3,"matTooltip","click"],["matBadgeColor","warn",3,"ngStyle","matBadge","matBadgeHidden"],[3,"url","label","user","logoutEnabled","iconColor","textColor"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(Me,ut){1&Me&&(f.TgZ(0,"div",0),f.TgZ(1,"button",1),f.NdJ("click",function(){return ut.sideNav.toggle()}),f.TgZ(2,"mat-icon",2),f._uU(3," menu "),f.qZA(),f.qZA(),f.TgZ(4,"a",3),f._UZ(5,"div",4),f.qZA(),f.qZA(),f.YNc(6,qn,7,0,"div",5),f.TgZ(7,"div",6),f.TgZ(8,"button",7),f.NdJ("click",function(){return ut.showNotificationHistory()}),f.ALo(9,"translate"),f.TgZ(10,"mat-icon",8),f._uU(11),f.qZA(),f.qZA(),f._UZ(12,"perun-web-apps-header-menu",9),f.qZA()),2&Me&&(f.Q6J("ngStyle",f.VKq(19,ln,ut.navTextColor)),f.xp6(2),f.Q6J("ngStyle",f.VKq(21,ln,ut.iconColor)),f.xp6(2),f.Q6J("routerLink",f.DdM(23,Xo)),f.xp6(1),f.Q6J("innerHTML",ut.logo,f.oJD),f.xp6(1),f.Q6J("ngIf",ut.isDevel),f.xp6(1),f.Q6J("ngStyle",f.VKq(24,ln,ut.navTextColor)),f.xp6(1),f.Q6J("matTooltip",f.lcZ(9,17,"NAV.NOTIFICATIONS_TOOLTIP")),f.xp6(2),f.s9C("matBadge",ut.getNewNotificationsCount()>5?"5+":ut.getNewNotificationsCount()),f.Q6J("ngStyle",f.VKq(26,ln,ut.iconColor))("matBadgeHidden",0===ut.getNewNotificationsCount()),f.xp6(1),f.hij(" ",ut.getNewNotificationsCount()?"notifications_active":"notifications"," "),f.xp6(1),f.Q6J("url",ut.profileUrl)("label",ut.profileLabel)("user",ut.principal.user)("logoutEnabled",ut.logoutEnabled)("iconColor",ut.iconColor)("textColor",ut.navTextColor))},directives:[X.PC,re.lW,he.Hw,g.yS,X.O5,se.gM,bn.k,Rn.X],pipes:[E.X$],styles:["#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-icons[_ngcontent-%COMP%]{margin-left:8px;display:flex;flex-direction:row;width:200px}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}#nav-link-items[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}#nav-link-items[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:0 1rem;line-height:64px;text-align:center;height:64px;display:block}"]}),le})();var Cn=d(73228);const pn={provide:Y.TP,useExisting:(0,f.Gpc)(()=>A.yC),multi:!0};function En(le){return new ee(le,"./assets/i18n/",".json")}function Qn(le){const it={basePath:le.get("api_url")};return new m.VK(it)}const Xn=le=>()=>le.initialize(),ho={suppressScrollX:!0};let sr=(()=>{class le{constructor(Me,ut){this.customIconService=Me,this.translate=ut,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return le.\u0275fac=function(Me){return new(Me||le)(f.LFG(A.EB),f.LFG(E.sK))},le.\u0275mod=f.oAB({type:le,bootstrap:[oe.y]}),le.\u0275inj=f.cJS({providers:[bt,{provide:f.ip1,useFactory:Xn,multi:!0,deps:[bt]},{provide:m.VK,useFactory:Qn,deps:[A.d6]},{provide:g.wN,useClass:Ct},A.EB,{provide:tt,useClass:A.sM},A.yC,pn,{provide:vi,useValue:ho}],imports:[[Le.PW,e.b2,Y.JF,H.m,Ye,$e,he.Ps,Jt,E.aw.forRoot({loader:{provide:E.Zw,useFactory:En,deps:[Y.eN]}}),m.au,Ui,t.ez,T,tn.zr.forRoot()]]}),le})();f.B6R(oe.y,[X.O5,he.Hw,ni,So,X.PC,x.TM,x.JX,Bt,Cn.V,x.Rh,g.lC,je.$,Ut],[]),(0,f.G48)(),e.q6().bootstrapModule(sr).catch(le=>console.error(le))},11243:(Ze,ge,d)=>{"use strict";d.d(ge,{r:()=>g});var e=d(69808),f=d(5e3);let g=(()=>{class v{}return v.\u0275fac=function(A){return new(A||v)},v.\u0275mod=f.oAB({type:v}),v.\u0275inj=f.cJS({imports:[[e.ez]]}),v})()},6335:(Ze,ge,d)=>{"use strict";d.d(ge,{Rc:()=>f,pI:()=>g,Ng:()=>v});var e=d(5e3);const f="GUI_CONFIG.PREF_PAGE_SIZE",g="GUI_CONFIG.PREF_PAGE_SIZE.";let v=(()=>{class m{constructor(){}getString(s){return localStorage.getItem(s)}getNumber(s){return parseInt(localStorage.getItem(s),10)}setNumber(s,b){localStorage.setItem(s,b.toString())}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})()},10036:(Ze,ge,d)=>{"use strict";d.d(ge,{dB:()=>g,CP:()=>v,tw:()=>m,nT:()=>A,YF:()=>s,gc:()=>b,v1:()=>R,AA:()=>E,VR:()=>h,uM:()=>x,xx:()=>k,H2:()=>G,xt:()=>X,dI:()=>he,j1:()=>re,Wv:()=>Ne,qy:()=>ce,BV:()=>Pe,qV:()=>se,tY:()=>V,Af:()=>F,O7:()=>W,gB:()=>te,Hi:()=>ae,Jf:()=>pe,W1:()=>Be,rF:()=>Fe,Aj:()=>ke,Ad:()=>De,kZ:()=>be,cL:()=>z,RS:()=>Ce,HC:()=>J,KE:()=>I,Sb:()=>Ie,_7:()=>Re,bf:()=>ze,rc:()=>fe,Cf:()=>ve,eq:()=>L,NG:()=>de,O9:()=>M,d7:()=>S,vq:()=>P,NL:()=>N,kO:()=>ne,aL:()=>j,DR:()=>Te,uC:()=>n,JO:()=>r,oK:()=>u,Iz:()=>o,It:()=>t,z6:()=>i,iQ:()=>c,e5:()=>p,Bf:()=>T,zp:()=>Et,US:()=>St,gG:()=>Ft,$V:()=>It,S7:()=>Vt,zW:()=>Ut,CE:()=>xt,Is:()=>Ve,M8:()=>H,g:()=>ee,_c:()=>Y,dK:()=>Le,yW:()=>Ye,HE:()=>mt});var e=d(6335),f=d(5e3);let g=(()=>{class qt{constructor(wt){this.guiConfigService=wt}getTablePageSize(wt){const At=this.guiConfigService.getNumber(e.pI+wt);if(!isNaN(At))return At;const Ot=this.guiConfigService.getNumber(e.Rc);return isNaN(Ot)?10:Ot}setTablePageSize(wt,At){this.guiConfigService.setNumber(e.pI+wt,At)}}return qt.\u0275fac=function(wt){return new(wt||qt)(f.LFG(e.Ng))},qt.\u0275prov=f.Yz7({token:qt,factory:qt.\u0275fac,providedIn:"root"}),qt})();const v="0",m="1",A="2",s="3",b="4",R="5",E="6",h="7",x="8",k="9",G="10",X="11",he="12",re="13",Ne="14",ce="15",Pe="16",se="17",V="18",F="19",W="20",te="21",ae="22",pe="23",Be="24",Fe="25",ke="26",De="27",be="28",z="29",Ce="30",J="31",I="32",Ie="33",Re="34",ze="35",fe="36",ve="37",L="42",de="43",M="44",S="45",P="46",N="47",ne="48",j="49",Te="50",n="51",r="52",u="53",o="54",t="55",i="56",c="57",p="58",T="59",Et="62",St="63",Ft="64",It="65",Vt="66",Ut="69",xt="71",Ve="72",H="75",ee="76",Y="77",Le="78",Ye="79",mt="80"},36769:(Ze,ge,d)=>{"use strict";d.d(ge,{Ji:()=>m,Pd:()=>g,BQ:()=>f,Ly:()=>v,GH:()=>b,Ls:()=>R,SG:()=>s,es:()=>A});var e=d(41777);const f=(0,e.X$)("openClose",[(0,e.SB)("open",(0,e.oB)({overflow:"hidden"})),(0,e.SB)("closed",(0,e.oB)({height:"0px",overflow:"hidden"})),(0,e.eR)("open <=> closed",[(0,e.jt)(".3s ease-in")])]),g=(0,e.X$)("flyInOut",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)(".25s")]),(0,e.eR)(":leave",[(0,e.jt)(".5s",(0,e.oB)({transform:"translateX(100%)"}))])]),v=(0,e.X$)("rollInOut",[(0,e.eR)(":enter",[(0,e.oB)({height:"0px"}),(0,e.jt)(".25s")]),(0,e.eR)(":leave",[(0,e.jt)(".25s",(0,e.oB)({height:"0px"}))])]),m=(0,e.X$)("routeAnimations",[(0,e.eR)("* => *",[(0,e.oB)({position:"relative"}),(0,e.IO)(":enter",[(0,e.oB)({width:"100%",opacity:0})],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({position:"absolute",width:"100%",opacity:1}),(0,e.jt)("0.15s",(0,e.oB)({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),(0,e.IO)(":enter",[(0,e.oB)({position:"absolute",width:"100%",opacity:0}),(0,e.jt)("0.15s",(0,e.oB)({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),A=(0,e.X$)("tagsOpenClose",[(0,e.SB)("open",(0,e.oB)({})),(0,e.SB)("closed",(0,e.oB)({width:"0px",height:"0px"})),(0,e.eR)("open <=> closed",[(0,e.jt)(".3s ease-in")])]),s=(0,e.X$)("switchAnimations",[(0,e.eR)("true => false",[(0,e.IO)(":enter, :leave",(0,e.oB)({})),(0,e.ru)([(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(-100%)"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0%)",position:"absolute"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(100%)"}))],{optional:!0})])]),(0,e.eR)("false => true",[(0,e.IO)(":enter, :leave",(0,e.oB)({})),(0,e.ru)([(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0%)",position:"absolute"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(-100%)"}))],{optional:!0})])])]),b=(0,e.X$)("slideInOutLeft",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(-100%)",position:"relative"}),(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(0%)"}))]),(0,e.eR)(":leave",[(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(-100%)"}))])]),R=(0,e.X$)("slideInOutRight",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(100%)",position:"fixed"}),(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(0%)"}))]),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateX(-100%)",position:"relative"}),(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(100%)"}))])])},80255:(Ze,ge,d)=>{"use strict";d.d(ge,{Mw:()=>at.M,qG:()=>tt.qG,Sx:()=>et.S,y9:()=>He,Nj:()=>Gi,ez:()=>Vt,t$:()=>an});var e=d(69808),f=d(77446),g=d(32075),v=d(51062),m=d(11735),A=d(84847),s=d(86087),b=d(20773),R=d(63189),E=d(25245),h=d(92181),x=d(47423),k=d(29772),G=d(67322),X=d(93075),he=d(98833),re=d(26688),Ne=d(44409),ce=d(90508),Pe=d(19516),se=d(69287),V=d(90149),F=d(86856),W=d(79814),te=d(74107),ae=d(43586),pe=d(53435),Be=d(48966),Fe=d(9244),ke=d(9224),De=d(4834),be=d(81125),z=d(5e3);let n=(()=>{class Qe{}return Qe.\u0275fac=function(ue){return new(ue||Qe)},Qe.\u0275mod=z.oAB({type:Qe}),Qe.\u0275inj=z.cJS({imports:[[ce.uc,ce.BQ],ce.uc,ce.BQ]}),Qe})();var u=d(92081),o=d(2638),t=d(14623);let Et=(()=>{class Qe{}return Qe.\u0275fac=function(ue){return new(ue||Qe)},Qe.\u0275mod=z.oAB({type:Qe}),Qe.\u0275inj=z.cJS({imports:[[ce.BQ],ce.BQ]}),Qe})(),St=(()=>{class Qe{}return Qe.\u0275fac=function(ue){return new(ue||Qe)},Qe.\u0275mod=z.oAB({type:Qe}),Qe.\u0275inj=z.cJS({imports:[[e.ez,ke.QW,De.t,be.To,x.ot,n,f.p9,E.Ps,g.p0,Be.Is,b.Cq,G.lN,he.c,pe.Cl,X.u5,X.UX,u.T5,F.FA,ce.XK,o.SJ,t.ie,h.Tx,Et,A.JX,s.TU,k.AV,te.LD,ce.si],ke.QW,De.t,be.To,x.ot,n,f.p9,E.Ps,g.p0,Be.Is,b.Cq,G.lN,he.c,pe.Cl,X.u5,X.UX,u.T5,F.FA,ce.XK,o.SJ,t.ie,h.Tx,Et,A.JX,s.TU,k.AV,te.LD,ce.si]}),Qe})(),Ft=(()=>{class Qe extends ce.LF{format(ue,Xe){return"input"===Xe?`${ue.getDate().toString()}.${(ue.getMonth()+1).toString()}.${ue.getFullYear()}`:ue.toDateString()}}return Qe.\u0275fac=function(){let D;return function(Xe){return(D||(D=z.n5z(Qe)))(Xe||Qe)}}(),Qe.\u0275prov=z.Yz7({token:Qe,factory:Qe.\u0275fac}),Qe})();const It={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Vt=(()=>{class Qe{}return Qe.\u0275fac=function(ue){return new(ue||Qe)},Qe.\u0275mod=z.oAB({type:Qe}),Qe.\u0275inj=z.cJS({providers:[{provide:ce._A,useClass:Ft},{provide:ce.sG,useValue:It}],imports:[[e.ez,f.p9,g.p0,X.u5,re.Hi,Ne._t,v.aw,m.Bz,A.JX,s.TU,b.Cq,R.r,E.Ps,h.Tx,x.ot,k.AV,G.lN,X.UX,he.c,ce.si,Pe.d4,se.Iq,V.dp,F.FA,W.Fk,ce.Ng,te.LD,ae.Co,pe.Cl,Be.Is,Fe.Je,St]]}),Qe})();d(53984);var at=d(43532),ee=(d(38719),d(21963),d(28820),d(63167),d(62109),d(22465),d(80275),d(112)),Y=d(36908),Le=d(84379),Ye=d(98380),mt=d(34447);function Ht(Qe,D){1&Qe&&(z.TgZ(0,"app-alert"),z._uU(1),z.ALo(2,"translate"),z.ALo(3,"customTranslate"),z.qZA()),2&Qe&&(z.xp6(1),z.Oqu(z.lcZ(2,1,z.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function qt(Qe,D){1&Qe&&(z.TgZ(0,"th",16),z._uU(1),z.ALo(2,"translate"),z.ALo(3,"customTranslate"),z.qZA()),2&Qe&&(z.xp6(1),z.hij(" ",z.lcZ(2,1,z.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))," "))}function Dt(Qe,D){if(1&Qe&&(z.TgZ(0,"td",17),z._uU(1),z.qZA()),2&Qe){const ue=D.$implicit;z.xp6(1),z.Oqu(ue.friendlyNameParameter)}}function wt(Qe,D){1&Qe&&(z.TgZ(0,"th",16),z._uU(1),z.ALo(2,"translate"),z.ALo(3,"customTranslate"),z.qZA()),2&Qe&&(z.xp6(1),z.hij(" ",z.lcZ(2,1,z.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))," "))}function At(Qe,D){if(1&Qe&&(z.TgZ(0,"td",18),z._uU(1),z.qZA()),2&Qe){const ue=D.$implicit;z.xp6(1),z.Oqu(ue.value)}}function Ot(Qe,D){1&Qe&&z._UZ(0,"th",16)}function Wt(Qe,D){if(1&Qe){const ue=z.EpF();z.TgZ(0,"td",19),z.TgZ(1,"button",20),z.NdJ("click",function(){const Jt=z.CHM(ue).$implicit;return z.oxw().resetPassword(Jt.friendlyNameParameter)}),z._uU(2),z.ALo(3,"translate"),z.ALo(4,"customTranslate"),z.qZA(),z.qZA()}if(2&Qe){const ue=D.$implicit,Xe=z.oxw();z.xp6(1),z.Q6J("disabled",!Xe.logins.includes(ue)),z.xp6(1),z.hij(" ",z.lcZ(3,2,z.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.RESET_PASSWORD"))," ")}}function li(Qe,D){1&Qe&&z._UZ(0,"th",16)}function gi(Qe,D){if(1&Qe){const ue=z.EpF();z.TgZ(0,"td",19),z.TgZ(1,"button",21),z.NdJ("click",function(){const Jt=z.CHM(ue).$implicit;return z.oxw().changePassword(Jt)}),z._uU(2),z.ALo(3,"translate"),z.ALo(4,"customTranslate"),z.qZA(),z.qZA()}if(2&Qe){const ue=D.$implicit,Xe=z.oxw();z.xp6(1),z.Q6J("disabled",!Xe.logins.includes(ue)),z.xp6(1),z.hij(" ",z.lcZ(3,2,z.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD"))," ")}}function Ti(Qe,D){1&Qe&&z._UZ(0,"tr",22)}function Ri(Qe,D){1&Qe&&z._UZ(0,"tr",23)}let Gi=(()=>{class Qe{constructor(ue,Xe,bt,Jt,ti,bi){this.attributesManagerService=ue,this.store=Xe,this.dialog=bt,this.route=Jt,this.router=ti,this.otherApplicationService=bi,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","reset","change"]}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(ue=>{const Xe=this.nameSpaces.map(ti=>{const bi=ti.split(":");return bi[bi.length-1]});this.logins=ue.filter(ti=>Xe.includes(ti.friendlyNameParameter)),this.dataSource=new g.by(ue);const Jt=this.route.snapshot.queryParamMap.get("namespace");if(Jt){const ti=this.logins.find(bi=>bi.friendlyNameParameter===Jt);ti&&this.changePassword(ti)}})}resetPassword(ue){window.open(this.otherApplicationService.getUrlForOtherApplication("pwdReset",ue),"_blank")}changePassword(ue){this.router.navigate([],{queryParams:{namespace:ue.friendlyNameParameter},queryParamsHandling:"merge"});const Xe=(0,Fe.kZ)();Xe.width="600px",Xe.data={login:ue.value,namespace:ue.friendlyName.split(":")[1]},this.dialog.open(Le.xF,Xe).afterClosed().subscribe(()=>{this.router.navigate([],{queryParams:{namespace:null},queryParamsHandling:"merge"})})}}return Qe.\u0275fac=function(ue){return new(ue||Qe)(z.Y36(ee.H8),z.Y36(Y.d6),z.Y36(Be.uw),z.Y36(m.gz),z.Y36(m.F0),z.Y36(Y.jq))},Qe.\u0275cmp=z.Xpm({type:Qe,selectors:[["perun-web-apps-password-reset"]],decls:23,vars:9,consts:[[1,"page-subtitle"],[4,"ngIf"],[1,"card","mt-2","table-size-fix"],[1,"card-body"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","value","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","namespace"],["mat-header-cell","",4,"matHeaderCellDef"],["class","w-25","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","w-50","mat-cell","",4,"matCellDef"],["matColumnDef","reset"],["mat-cell","",4,"matCellDef"],["matColumnDef","change"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"w-25"],["mat-cell","",1,"w-50"],["mat-cell",""],["color","accent","mat-flat-button","",3,"disabled","click"],["color","accent","mat-flat-button","",1,"action-button",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(ue,Xe){1&ue&&(z.TgZ(0,"h1",0),z._uU(1),z.ALo(2,"translate"),z.ALo(3,"customTranslate"),z.qZA(),z.YNc(4,Ht,4,5,"app-alert",1),z.TgZ(5,"div",2),z.TgZ(6,"div",3),z.TgZ(7,"div",4),z.TgZ(8,"table",5),z.ynx(9,6),z.YNc(10,qt,4,5,"th",7),z.YNc(11,Dt,2,1,"td",8),z.BQk(),z.ynx(12,9),z.YNc(13,wt,4,5,"th",7),z.YNc(14,At,2,1,"td",10),z.BQk(),z.ynx(15,11),z.YNc(16,Ot,1,0,"th",7),z.YNc(17,Wt,5,6,"td",12),z.BQk(),z.ynx(18,13),z.YNc(19,li,1,0,"th",7),z.YNc(20,gi,5,6,"td",12),z.BQk(),z.YNc(21,Ti,1,0,"tr",14),z.YNc(22,Ri,1,0,"tr",15),z.qZA(),z.qZA(),z.qZA(),z.qZA()),2&ue&&(z.xp6(1),z.hij(" ",z.lcZ(2,5,z.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE")),"\n"),z.xp6(3),z.Q6J("ngIf",!Xe.logins.length),z.xp6(4),z.Q6J("dataSource",Xe.dataSource),z.xp6(13),z.Q6J("matHeaderRowDef",Xe.displayedColumns),z.xp6(1),z.Q6J("matRowDefColumns",Xe.displayedColumns))},directives:[e.O5,Ye.w,g.BZ,A.YE,g.w1,g.fO,g.ge,g.Dz,g.ev,x.lW,g.as,g.XQ,g.nj,g.Gk],pipes:[v.X$,mt.a],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:#0000000d}"]}),Qe})(),an=(()=>{class Qe{constructor(ue,Xe,bt,Jt){this.router=ue,this.route=Xe,this.location=bt,this.forceRoute=Jt}ngOnInit(){"back"!==this.forceRoute.getLastState()?this.route.queryParams.subscribe(ue=>{this.router.navigate([ue.redirectTo])}):this.location.back()}}return Qe.\u0275fac=function(ue){return new(ue||Qe)(z.Y36(m.F0),z.Y36(m.gz),z.Y36(e.Ye),z.Y36(Y.xw))},Qe.\u0275cmp=z.Xpm({type:Qe,selectors:[["perun-web-apps-redirect-page"]],decls:0,vars:0,template:function(ue,Xe){},styles:[""]}),Qe})();d(24179),d(58956),d(41619),d(61150);var et=d(63312),tt=(d(52314),d(52170));let He=(()=>{class Qe{constructor(ue){this.router=ue}redirectToHome(){this.router.navigate(["/home"],{queryParamsHandling:"merge"})}}return Qe.\u0275fac=function(ue){return new(ue||Qe)(z.Y36(m.F0))},Qe.\u0275cmp=z.Xpm({type:Qe,selectors:[["perun-web-apps-not-authorized-page"]],decls:10,vars:9,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5"],[1,"page-title"],["mat-stroked-button","",1,"mt-2",3,"click"]],template:function(ue,Xe){1&ue&&(z.TgZ(0,"div",0),z.TgZ(1,"h1",1),z._uU(2),z.ALo(3,"translate"),z.qZA(),z.TgZ(4,"div"),z._uU(5),z.ALo(6,"translate"),z.qZA(),z.TgZ(7,"button",2),z.NdJ("click",function(){return Xe.redirectToHome()}),z._uU(8),z.ALo(9,"translate"),z.qZA(),z.qZA()),2&ue&&(z.xp6(2),z.Oqu(z.lcZ(3,3,"GENERAL.NOT_AUTHORIZED_PAGE.TITLE")),z.xp6(3),z.Oqu(z.lcZ(6,5,"GENERAL.NOT_AUTHORIZED_PAGE.DESC")),z.xp6(3),z.hij(" ",z.lcZ(9,7,"GENERAL.NOT_AUTHORIZED_PAGE.REDIRECT")," "))},directives:[x.lW],pipes:[v.X$],styles:[""]}),Qe})()},63312:(Ze,ge,d)=>{"use strict";d.d(ge,{S:()=>m,Y:()=>A});var e=d(5e3),g=(d(112),d(51062)),v=d(42377);const m={};let A=(()=>{class s{constructor(R){this.translate=R,this.item=null,this.itemSelected=new e.vpe,this.nameFunction=E=>E===m?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM"):E.shortname,this.secondaryFunction=E=>E===m?"":E.id<0?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NEW_ITEM"):"#"+E.id,this.searchFunction=E=>E===m?"":E.shortname+E.id}}return s.\u0275fac=function(R){return new(R||s)(e.Y36(g.sK))},s.\u0275cmp=e.Xpm({type:s,selectors:[["perun-web-apps-app-form-item-search-select"]],inputs:{items:"items",item:"item"},outputs:{itemSelected:"itemSelected"},decls:4,vars:15,consts:[[3,"entities","searchFunction","mainTextFunction","secondaryTextFunction","entity","disableAutoSelect","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(R,E){1&R&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(x){return E.itemSelected.emit(x)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&R&&e.Q6J("entities",E.items)("searchFunction",E.searchFunction)("mainTextFunction",E.nameFunction)("secondaryTextFunction",E.secondaryFunction)("entity",E.item)("disableAutoSelect",!0)("selectPlaceholder",e.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.SELECT_ITEM"))("findPlaceholder",e.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.FIND_ITEM"))("noEntriesText",e.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM_FOUND"))},directives:[v.i],pipes:[g.X$],styles:[""]}),s})()},38719:(Ze,ge,d)=>{"use strict";d.d(ge,{u:()=>E});var e=d(5e3),f=d(9244),g=d(69808),v=d(77446),m=d(93075),A=d(67322),s=d(64597);function b(h,x){if(1&h){const k=e.EpF();e.TgZ(0,"mat-checkbox",2),e.NdJ("change",function(){return e.CHM(k),e.oxw()._sendEventToParent()})("ngModelChange",function(X){return e.CHM(k),e.oxw().attribute.value=X}),e.ALo(1,"multiWordDataCy"),e.qZA()}if(2&h){const k=e.oxw();e.Q2q("data-cy","",e.lcZ(1,2,k.attribute.displayName),"-value"),e.Q6J("ngModel",k.attribute.value)}}function R(h,x){if(1&h&&(e.TgZ(0,"mat-label"),e._uU(1),e.qZA()),2&h){const k=e.oxw();e.xp6(1),e.Oqu(k.attribute.value)}}let E=(()=>{class h{constructor(){this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.readonly||(this.readonly=(0,f.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return h.\u0275fac=function(k){return new(k||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["perun-web-apps-attribute-value-boolean"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:2,consts:[[3,"ngModel","change","ngModelChange",4,"ngIf"],[4,"ngIf"],[3,"ngModel","change","ngModelChange"]],template:function(k,G){1&k&&(e.TgZ(0,"div"),e.YNc(1,b,2,4,"mat-checkbox",0),e.YNc(2,R,2,1,"mat-label",1),e.qZA()),2&k&&(e.xp6(1),e.Q6J("ngIf",!G.readonly),e.xp6(1),e.Q6J("ngIf",G.readonly))},directives:[g.O5,v.oG,m.JJ,m.On,A.hX],pipes:[s.R],styles:[""]}),h})()},21963:(Ze,ge,d)=>{"use strict";d.d(ge,{H:()=>V});var e=d(5e3),f=d(91159),g=d(44409),v=d(84379),m=d(9244),A=d(48966),s=d(26688),b=d(69808),R=d(25245),E=d(29772),h=d(47423),x=d(67322),k=d(98833);function G(F,W){if(1&F){const te=e.EpF();e.TgZ(0,"mat-icon",9),e.NdJ("mousedown",function(){return e.CHM(te),e.oxw(2).dragDisabled=!1}),e._uU(1,"drag_indicator"),e.qZA()}}function X(F,W){if(1&F){const te=e.EpF();e.TgZ(0,"mat-icon",10),e.NdJ("click",function(){e.CHM(te);const pe=e.oxw().$implicit;return e.oxw().edit(pe)}),e._uU(1,"edit"),e.qZA()}}function he(F,W){if(1&F){const te=e.EpF();e.TgZ(0,"mat-icon",11),e.NdJ("click",function(){e.CHM(te);const pe=e.oxw().$implicit;return e.oxw().remove(pe)}),e._uU(1,"cancel"),e.qZA()}}function re(F,W){if(1&F){const te=e.EpF();e.TgZ(0,"mat-chip",4),e.NdJ("removed",function(){const Be=e.CHM(te).$implicit,Fe=e.oxw();return Fe.remove(Be),Fe._sendEventToParent()}),e.YNc(1,G,2,0,"mat-icon",5),e.TgZ(2,"div",6),e.NdJ("click",function(){const Be=e.CHM(te).$implicit,Fe=e.oxw();return Fe.readonly&&void 0!==Fe.attribute.displayName&&Fe.showValue(Be,Fe.attribute.displayName)}),e._uU(3),e.qZA(),e.YNc(4,X,2,0,"mat-icon",7),e.YNc(5,he,2,0,"mat-icon",8),e.qZA()}if(2&F){const te=W.$implicit,ae=e.oxw();e.Q6J("selectable",ae.selectable)("cdkDragData",te)("removable",ae.removable),e.xp6(1),e.Q6J("ngIf",ae.removable),e.xp6(1),e.ekj("cursor-pointer",ae.readonly&&void 0!==ae.attribute.displayName),e.xp6(1),e.hij(" ",te," "),e.xp6(1),e.Q6J("ngIf",ae.removable),e.xp6(1),e.Q6J("ngIf",ae.removable)}}function Ne(F,W){1&F&&(e.TgZ(0,"mat-icon"),e._uU(1,"more_horiz"),e.qZA())}function ce(F,W){1&F&&(e.TgZ(0,"mat-icon"),e._uU(1,"keyboard_arrow_up"),e.qZA())}function Pe(F,W){if(1&F){const te=e.EpF();e.TgZ(0,"div",12),e.TgZ(1,"span",13),e.TgZ(2,"button",14),e.NdJ("click",function(){return e.CHM(te),e.oxw().onShowChange()}),e.YNc(3,Ne,2,0,"mat-icon",15),e.YNc(4,ce,2,0,"mat-icon",15),e.qZA(),e.qZA(),e.qZA()}if(2&F){const te=e.oxw();e.xp6(1),e.Q6J("matTooltip",te.showMore?"Show less":"Show more")("matTooltipPosition","above"),e.xp6(2),e.Q6J("ngIf",!te.showMore),e.xp6(1),e.Q6J("ngIf",te.showMore)}}function se(F,W){if(1&F){const te=e.EpF();e.TgZ(0,"mat-form-field",12),e.TgZ(1,"input",16),e.NdJ("matChipInputTokenEnd",function(pe){return e.CHM(te),e.oxw().add(pe)})("change",function(){return e.CHM(te),e.oxw()._sendEventToParent()}),e.qZA(),e.qZA()}if(2&F){const te=e.oxw(),ae=e.MAs(2);e.xp6(1),e.Q6J("matChipInputFor",ae)("matChipInputSeparatorKeyCodes",te.separatorKeysCodes)("matChipInputAddOnBlur",te.addOnBlur)}}let V=(()=>{class F{constructor(te){this.dialog=te,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[f.K5,f.OC],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new e.vpe,this.readonly=!1}ngOnInit(){this.removable=!(0,m.Hm)(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,m.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(te){const ae=te.input,pe=te.value;(pe||"").trim()&&(this.attribute.value.push(pe.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),ae&&(ae.value=""),this.sendEventToParent.emit()}remove(te){const ae=(0,m.kZ)();ae.width="400px",ae.data={name:te},this.dialog.open(v.Wr,ae).afterClosed().subscribe(Be=>{if(Be){const Fe=this.attribute.value.indexOf(te);this.attribute.value.splice(Fe,1),this.values=Object.values(this.attribute.value),this.sendEventToParent.emit()}})}drop(te){this.dragDisabled=!0,(0,g.bA)(this.attribute.value,te.previousIndex,te.currentIndex),this.values=Object.values(this.attribute.value)}edit(te){const ae=this.attribute.value.indexOf(te),pe=(0,m.kZ)();pe.width="600px",pe.data={attribute:this.attribute,index:ae},this.dialog.open(v.r2,pe).afterClosed().subscribe(Fe=>{Fe&&(this.values=Object.values(this.attribute.value),this.sendEventToParent.emit())})}showValue(te,ae){const pe=(0,m.kZ)();pe.width="350px",pe.data={value:te,title:ae},this.dialog.open(v.mk,pe)}setItemsShown(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}onShowChange(){this.showMore=!this.showMore,this.setItemsShown()}}return F.\u0275fac=function(te){return new(te||F)(e.Y36(A.uw))},F.\u0275cmp=e.Xpm({type:F,selectors:[["perun-web-apps-attribute-value-list"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:6,vars:4,consts:[["cdkDropList","","cdkDropListOrientation","vertical",1,"mat-chip-list-stacked",3,"cdkDropListDisabled","cdkDropListDropped"],["chipList",""],["class","chip-word-break","cdkDrag","",3,"selectable","cdkDragData","removable","removed",4,"ngFor","ngForOf"],["class","w-100",4,"ngIf"],["cdkDrag","",1,"chip-word-break",3,"selectable","cdkDragData","removable","removed"],["class","handle-icon",3,"mousedown",4,"ngIf"],[1,"chip-text","overflow-ellipsis",3,"click"],["class","edit-delete-icon ml-2",3,"click",4,"ngIf"],["class","edit-delete-icon",3,"click",4,"ngIf"],[1,"handle-icon",3,"mousedown"],[1,"edit-delete-icon","ml-2",3,"click"],[1,"edit-delete-icon",3,"click"],[1,"w-100"],[3,"matTooltip","matTooltipPosition"],["mat-icon-button","",1,"ml-auto",3,"click"],[4,"ngIf"],["matInput","","placeholder","New value",1,"w-100","m-0",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(te,ae){1&te&&(e.TgZ(0,"div"),e.TgZ(1,"mat-chip-list",0,1),e.NdJ("cdkDropListDropped",function(Be){return ae.drop(Be),ae._sendEventToParent()}),e.YNc(3,re,6,9,"mat-chip",2),e.YNc(4,Pe,5,4,"div",3),e.YNc(5,se,2,3,"mat-form-field",3),e.qZA(),e.qZA()),2&te&&(e.xp6(1),e.Q6J("cdkDropListDisabled",ae.dragDisabled),e.xp6(2),e.Q6J("ngForOf",ae.values.slice(0,ae.itemsShown)),e.xp6(1),e.Q6J("ngIf",ae.values.length>ae.defaultItemsShown),e.xp6(1),e.Q6J("ngIf",!ae.readonly))},directives:[s.qn,g.Wj,b.sg,s.HS,g.Zt,b.O5,R.Hw,E.gM,h.lW,x.KE,k.Nt,s.oH],styles:[".chip-word-break[_ngcontent-%COMP%]{word-break:break-all}.chip-text[_ngcontent-%COMP%]{display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical;overflow:hidden}.mat-chip-list[_ngcontent-%COMP%] .mat-chip[_ngcontent-%COMP%]{width:auto;min-width:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.chip-word-break[_ngcontent-%COMP%] .cdk-drop-list-dragging[_ngcontent-%COMP%] .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.example-box[_ngcontent-%COMP%]:last-child{border:none}.edit-delete-icon[_ngcontent-%COMP%]{font-size:18px;justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;justify-content:center;align-items:center;display:flex;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),F})()},28820:(Ze,ge,d)=>{"use strict";d.d(ge,{$:()=>Ne});var e=d(84379),f=d(9244),g=d(5e3),v=d(48966),m=d(93075),A=d(69808),s=d(67322),b=d(98833),R=d(47423),E=d(25245),h=d(29772);function x(ce,Pe){if(1&ce){const se=g.EpF();g.TgZ(0,"button",15),g.NdJ("click",function(){g.CHM(se);const F=g.oxw().index;return g.oxw().removeValue(F)}),g.TgZ(1,"mat-icon"),g._uU(2," indeterminate_check_box "),g.qZA(),g.qZA()}}function k(ce,Pe){if(1&ce){const se=g.EpF();g.TgZ(0,"div",9),g.TgZ(1,"mat-form-field",10),g._UZ(2,"label",11),g.TgZ(3,"input",12),g.NdJ("click",function(){const W=g.CHM(se).index,te=g.oxw();return te.readonly&&te.attribute.displayName&&te.showValue(te.keys[W],te.attribute.displayName)})("ngModelChange",function(F){const te=g.CHM(se).index;return g.oxw().keys[te]=F}),g.qZA(),g.qZA(),g.TgZ(4,"mat-form-field",10),g._UZ(5,"label",11),g.TgZ(6,"input",13),g.NdJ("click",function(){const W=g.CHM(se).$implicit,te=g.oxw();return te.readonly&&void 0!==te.attribute.displayName&&te.showValue(W,te.attribute.displayName)})("ngModelChange",function(F){const te=g.CHM(se).index;return g.oxw().values[te]=F}),g.qZA(),g.qZA(),g.YNc(7,x,3,0,"button",14),g.qZA()}if(2&ce){const se=Pe.index,V=g.oxw();g.xp6(1),g.s9C("appearance",V.readonly?"none":"standard"),g.xp6(1),g.hYB("for","",V.attribute.id,"-key-",se,""),g.xp6(1),g.ekj("cursor-pointer",V.readonly&&void 0!==V.attribute.displayName),g.hYB("id","",V.attribute.id,"-key-",se,""),g.MGl("name","key-",se,""),g.Q6J("ngModel",V.keys[se])("readonly",V.readonly),g.xp6(1),g.s9C("appearance",V.readonly?"none":"standard"),g.xp6(1),g.hYB("for","",V.attribute.id,"-value-",se,""),g.xp6(1),g.ekj("cursor-pointer",V.readonly&&void 0!==V.attribute.displayName),g.MGl("name","value-",se,""),g.hYB("id","",V.attribute.id,"-value-",se,""),g.Q6J("readonly",V.readonly)("ngModel",V.values[se]),g.xp6(1),g.Q6J("ngIf",!V.readonly)}}function G(ce,Pe){1&ce&&(g.TgZ(0,"mat-icon"),g._uU(1,"more_horiz"),g.qZA())}function X(ce,Pe){1&ce&&(g.TgZ(0,"mat-icon"),g._uU(1,"keyboard_arrow_up"),g.qZA())}function he(ce,Pe){if(1&ce){const se=g.EpF();g.TgZ(0,"button",16),g.NdJ("click",function(){return g.CHM(se),g.oxw().onShowChange()}),g.YNc(1,G,2,0,"mat-icon",17),g.YNc(2,X,2,0,"mat-icon",17),g.qZA()}if(2&ce){const se=g.oxw();g.xp6(1),g.Q6J("ngIf",!se.showMore),g.xp6(1),g.Q6J("ngIf",se.showMore)}}function re(ce,Pe){if(1&ce){const se=g.EpF();g.TgZ(0,"button",18),g.NdJ("click",function(){return g.CHM(se),g.oxw().addValue()}),g.TgZ(1,"mat-icon"),g._uU(2," add_box "),g.qZA(),g.qZA()}}let Ne=(()=>{class ce{constructor(se){this.dialog=se,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}ngOnInit(){if(this.attribute.value){const se=this.attribute.value;for(const[V,F]of Object.entries(se))this.keys.push(V),this.values.push(F)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,f.Hm)(this.attribute))}customTrackBy(se){return se}addValue(){this.keys.push(""),this.values.push(""),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())}removeValue(se){this.keys.splice(se,1),this.values.splice(se,1)}updateAttribute(){const se={};for(let V=0;VV.defaultItemsShown),g.xp6(1),g.Q6J("ngIf",!V.readonly))},directives:[m._Y,m.JL,m.F,A.sg,s.KE,b.Nt,m.Fj,m.Q7,m.JJ,m.On,A.O5,R.lW,E.Hw,h.gM],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}.input-margin[_ngcontent-%COMP%]{margin-bottom:-30px}.btn-margin[_ngcontent-%COMP%]{margin-top:10px}"]}),ce})()},63167:(Ze,ge,d)=>{"use strict";d.d(ge,{_:()=>R});var e=d(5e3),f=d(9244),g=d(84379),v=d(48966),m=d(67322),A=d(98833),s=d(93075),b=d(64597);let R=(()=>{class E{constructor(x){this.dialog=x,this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=(0,f.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(x,k){const G=(0,f.kZ)();G.width="350px",G.data={value:x,title:k},this.dialog.open(g.mk,G)}}return E.\u0275fac=function(x){return new(x||E)(e.Y36(v.uw))},E.\u0275cmp=e.Xpm({type:E,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:8,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(x,k){1&x&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"input",1),e.NdJ("click",function(){return k.readonly&&void 0!==k.value&&k.showValue(k.value,k.attribute.displayName)})("ngModelChange",function(X){return k.attribute.value=X})("keydown",function(){return k._sendEventToParent()}),e.ALo(2,"multiWordDataCy"),e.qZA(),e.qZA()),2&x&&(e.s9C("appearance",k.readonly?"none":"standard"),e.xp6(1),e.ekj("cursor-pointer",k.readonly&&void 0!==k.value),e.Q2q("data-cy","",e.lcZ(2,6,k.attribute.displayName),"-value"),e.Q6J("readonly",k.readonly)("ngModel",k.attribute.value))},directives:[m.KE,A.Nt,s.Fj,s.JJ,s.On],pipes:[b.R],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),E})()},43532:(Ze,ge,d)=>{"use strict";d.d(ge,{M:()=>Pe});var e=d(5e3),f=d(28820),g=d(69808),v=d(38719),m=d(21963),A=d(63167),s=d(9244),b=d(84379),R=d(48966),E=d(67322),h=d(98833),x=d(93075);let k=(()=>{class se{constructor(F){this.dialog=F,this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.readonly||(this.readonly=(0,s.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(F){const W=(0,s.kZ)();W.width="350px",W.data={value:F.value,title:F.displayName},this.dialog.open(b.mk,W)}}return se.\u0275fac=function(F){return new(F||se)(e.Y36(R.uw))},se.\u0275cmp=e.Xpm({type:se,selectors:[["perun-web-apps-attribute-value-integer"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","number",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(F,W){1&F&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"input",1),e.NdJ("click",function(){return W.readonly&&void 0!==W.attribute.value&&W.showValue(W.attribute)})("ngModelChange",function(ae){return W.attribute.value=ae})("keydown",function(){return W._sendEventToParent()}),e.qZA(),e.qZA()),2&F&&(e.s9C("appearance",W.readonly?"none":"standard"),e.xp6(1),e.ekj("cursor-pointer",W.readonly&&void 0!==W.attribute.value),e.Q6J("readonly",W.readonly)("ngModel",W.attribute.value))},directives:[E.KE,h.Nt,x.wV,x.Fj,x.JJ,x.On],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),se})();const G=["map"];function X(se,V){if(1&se){const F=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-boolean",3),e.NdJ("sendEventToParent",function(){return e.CHM(F),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&se){const F=e.oxw();e.Q6J("attribute",F.attribute)("readonly",F.readonly)}}function he(se,V){if(1&se){const F=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-list",3),e.NdJ("sendEventToParent",function(){return e.CHM(F),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&se){const F=e.oxw();e.Q6J("attribute",F.attribute)("readonly",F.readonly)}}function re(se,V){if(1&se&&e._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&se){const F=e.oxw();e.Q6J("attribute",F.attribute)("readonly",F.readonly)}}function Ne(se,V){if(1&se){const F=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-string",3),e.NdJ("sendEventToParent",function(){return e.CHM(F),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&se){const F=e.oxw();e.Q6J("attribute",F.attribute)("readonly",F.readonly)}}function ce(se,V){if(1&se){const F=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-integer",3),e.NdJ("sendEventToParent",function(){return e.CHM(F),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&se){const F=e.oxw();e.Q6J("attribute",F.attribute)("readonly",F.readonly)}}let Pe=(()=>{class se{constructor(){this.readonly=!1,this.sendEventToParent2=new e.vpe}updateMapAttribute(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}_sendEventToParent2(){this.sendEventToParent2.emit()}}return se.\u0275fac=function(F){return new(F||se)},se.\u0275cmp=e.Xpm({type:se,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(F,W){if(1&F&&e.Gf(G,5),2&F){let te;e.iGM(te=e.CRH())&&(W.mapComponent=te.first)}},inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent2:"sendEventToParent2"},decls:7,vars:5,consts:[[3,"attribute","readonly","sendEventToParent",4,"ngIf"],[3,"click"],[3,"attribute","readonly",4,"ngIf"],[3,"attribute","readonly","sendEventToParent"],[3,"attribute","readonly"],["map",""]],template:function(F,W){1&F&&(e.TgZ(0,"div"),e.YNc(1,X,1,2,"perun-web-apps-attribute-value-boolean",0),e.YNc(2,he,1,2,"perun-web-apps-attribute-value-list",0),e.TgZ(3,"div",1),e.NdJ("click",function(){return W._sendEventToParent2()}),e.YNc(4,re,2,2,"perun-web-apps-attribute-value-map",2),e.qZA(),e.YNc(5,Ne,1,2,"perun-web-apps-attribute-value-string",0),e.YNc(6,ce,1,2,"perun-web-apps-attribute-value-integer",0),e.qZA()),2&F&&(e.xp6(1),e.Q6J("ngIf","java.lang.Boolean"===W.attribute.type),e.xp6(1),e.Q6J("ngIf","java.util.ArrayList"===W.attribute.type),e.xp6(2),e.Q6J("ngIf","java.util.LinkedHashMap"===W.attribute.type),e.xp6(1),e.Q6J("ngIf","java.lang.String"===W.attribute.type||"java.lang.LargeString"===W.attribute.type),e.xp6(1),e.Q6J("ngIf","java.lang.Integer"===W.attribute.type))},directives:[g.O5,v.u,m.H,f.$,A._,k],styles:[""]}),se})()},53984:(Ze,ge,d)=>{"use strict";d.d(ge,{p:()=>ke});var e=d(84847),f=d(32075),g=d(20449),v=d(43532),m=d(9244),A=d(36908),s=d(5e3),b=d(18750),R=d(77446),E=d(29772),h=d(69808),x=d(98380),k=d(64597);let G=(()=>{class De{transform(z){return"virt"===z.namespace.split(":")[4]}}return De.\u0275fac=function(z){return new(z||De)},De.\u0275pipe=s.Yjl({name:"isVirtualAttribute",type:De,pure:!0}),De})();var X=d(51062);function he(De,be){if(1&De){const z=s.EpF();s.TgZ(0,"th",17),s.TgZ(1,"mat-checkbox",18),s.NdJ("change",function(J){s.CHM(z);const I=s.oxw();return J?I.masterToggle():null}),s.qZA(),s.qZA()}if(2&De){const z=s.oxw();s.xp6(1),s.Q6J("checked",z.selection.hasValue()&&z.isAllSelected())("indeterminate",z.selection.hasValue()&&!z.isAllSelected())("aria-label",z.checkboxLabel())}}function re(De,be){if(1&De){const z=s.EpF();s.TgZ(0,"td",19),s.TgZ(1,"mat-checkbox",20),s.NdJ("click",function(J){return J.stopPropagation()})("change",function(J){const Ie=s.CHM(z).$implicit,Re=s.oxw();return J?Re.selection.toggle(Ie):null}),s.ALo(2,"multiWordDataCy"),s.ALo(3,"isVirtualAttribute"),s.qZA(),s.qZA()}if(2&De){const z=be.$implicit,Ce=s.oxw();s.xp6(1),s.Q2q("data-cy","",s.lcZ(2,4,z.displayName),"-checkbox"),s.Q6J("checked",Ce.selection.isSelected(z))("disabled",s.lcZ(3,6,z)||!z.writable)("aria-label",Ce.checkboxLabel(z))}}function Ne(De,be){1&De&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&De&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")," "))}function ce(De,be){if(1&De&&(s.TgZ(0,"td",22),s._uU(1),s.qZA()),2&De){const z=be.$implicit;s.xp6(1),s.Oqu(z.id)}}function Pe(De,be){1&De&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&De&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")," "))}function se(De,be){if(1&De&&(s.TgZ(0,"td",23),s.TgZ(1,"div",24),s._uU(2),s.qZA(),s.qZA()),2&De){const z=be.$implicit,Ce=s.oxw();s.xp6(1),s.s9C("matTooltip",Ce.getAttributeFullName(z)),s.xp6(1),s.hij(" ",z.displayName," ")}}function V(De,be){1&De&&(s.TgZ(0,"th",25),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&De&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")," "))}function F(De,be){if(1&De){const z=s.EpF();s.TgZ(0,"td",23),s.TgZ(1,"perun-web-apps-attribute-value",26),s.NdJ("sendEventToParent2",function(){const I=s.CHM(z).$implicit;return s.oxw().onValueChange(I)}),s.qZA(),s.qZA()}if(2&De){const z=be.$implicit,Ce=s.oxw();s.xp6(1),s.Q6J("attribute",z)("readonly",Ce.readonly||!z.writable)}}function W(De,be){1&De&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&De&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")," "))}function te(De,be){if(1&De&&(s.TgZ(0,"td",23),s._uU(1),s.qZA()),2&De){const z=be.$implicit;s.xp6(1),s.Oqu(z.description)}}function ae(De,be){1&De&&s._UZ(0,"tr",27)}function pe(De,be){if(1&De&&(s._UZ(0,"tr",28),s.ALo(1,"translate")),2&De){const z=be.$implicit,Ce=s.oxw();s.s9C("matTooltip",s.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),s.Q6J("matTooltipPosition","before")("matTooltipDisabled",z.writable||Ce.readonly)}}function Be(De,be){1&De&&(s.TgZ(0,"app-alert",29),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&De&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Fe(De,be){if(1&De&&(s.TgZ(0,"app-alert",29),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&De){const z=s.oxw();s.xp6(1),s.hij(" ",s.lcZ(2,1,z.emptyListText),"\n")}}let ke=(()=>{class De{constructor(z,Ce){this.authResolver=z,this.tableCheckbox=Ce,this.attributes=[],this.selection=new g.Ov(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.readonly=!1,this.hiddenColumns=[],this.emptyListText="SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY_SETTINGS",this.pageSizeOptions=m.f7}set matSort(z){this.sort=z,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(z=>"id"!==z)),this.dataSource=new f.by((0,m.MX)(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(z,Ce){switch(Ce){case"id":return z.id.toString();case"displayName":return z.displayName;case"description":return z.description;case"value":return JSON.stringify(z.value);case"urn":return z.namespace+":"+z.baseFriendlyName;default:return""}}exportData(z){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),z)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(z=>!this.hiddenColumns.includes(z)),this.dataSource&&(this.dataSource.filterPredicate=(z,Ce)=>(0,m.Sd)(z,Ce,this.displayedColumns.concat("urn"),this.getDataForColumn,this),this.dataSource.sortData=(z,Ce)=>(0,m.pR)(z,Ce,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(z){return z?`${this.selection.isSelected(z)?"deselect":"select"} row ${z.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}updateMapAttributes(){for(const z of this.items.toArray())"java.util.LinkedHashMap"===z.attribute.type&&z.updateMapAttribute()}onValueChange(z){this.canBeSelected(z)&&this.selection.select(z)}canBeSelected(z){return!(0,m.Hm)(z)&&z.writable}getAttributeFullName(z){return`${z.namespace}:${z.friendlyName}`}}return De.\u0275fac=function(z){return new(z||De)(s.Y36(A.x4),s.Y36(A.UA))},De.\u0275cmp=s.Xpm({type:De,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(z,Ce){if(1&z&&(s.Gf(e.YE,7),s.Gf(m.l9,7),s.Gf(v.M,5)),2&z){let J;s.iGM(J=s.CRH())&&(Ce.matSort=J.first),s.iGM(J=s.CRH())&&(Ce.child=J.first),s.iGM(J=s.CRH())&&(Ce.items=J)}},inputs:{attributes:"attributes",selection:"selection",displayedColumns:"displayedColumns",inDialog:"inDialog",filterValue:"filterValue",tableId:"tableId",readonly:"readonly",hiddenColumns:"hiddenColumns",emptyListText:"emptyListText"},features:[s.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size align-checkbox",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","displayName"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"checked","disabled","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["matTooltipClass","urn-tooltip",3,"matTooltip"],["mat-header-cell",""],[3,"attribute","readonly","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["alert_type","warn"]],template:function(z,Ce){1&z&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(I){return Ce.exportData(I)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,he,2,3,"th",4),s.YNc(5,re,4,8,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,Ne,3,3,"th",7),s.YNc(8,ce,2,1,"td",8),s.BQk(),s.ynx(9,9),s.YNc(10,Pe,3,3,"th",7),s.YNc(11,se,3,2,"td",10),s.BQk(),s.ynx(12,11),s.YNc(13,V,3,3,"th",12),s.YNc(14,F,2,2,"td",10),s.BQk(),s.ynx(15,13),s.YNc(16,W,3,3,"th",7),s.YNc(17,te,2,1,"td",10),s.BQk(),s.YNc(18,ae,1,0,"tr",14),s.YNc(19,pe,2,5,"tr",15),s.qZA(),s.qZA(),s.qZA(),s.YNc(20,Be,3,3,"app-alert",16),s.YNc(21,Fe,3,3,"app-alert",16)),2&z&&(s.Q6J("hidden",0===Ce.dataSource.filteredData.length),s.xp6(1),s.Q6J("tableId",Ce.tableId)("dataLength",Ce.dataSource.filteredData.length)("pageSizeOptions",Ce.pageSizeOptions),s.xp6(1),s.Q6J("dataSource",Ce.dataSource),s.xp6(16),s.Q6J("matHeaderRowDef",Ce.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",Ce.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===Ce.dataSource.filteredData.length&&0!==Ce.dataSource.data.length),s.xp6(1),s.Q6J("ngIf",0===Ce.dataSource.data.length))},directives:[b.l,f.BZ,e.YE,f.w1,f.fO,f.ge,R.oG,f.Dz,f.ev,e.nU,E.gM,v.M,f.as,f.XQ,f.nj,f.Gk,h.O5,x.w],pipes:[k.R,G,X.X$],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-row[_ngcontent-%COMP%]{height:auto}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.mat-column-value[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:300px!important}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important} .urn-tooltip{max-width:800px!important}"]}),De})()},4235:(Ze,ge,d)=>{"use strict";d.d(ge,{W:()=>R});var e=d(36908),f=d(5e3),g=d(69808),v=d(47423),m=d(29772),A=d(25245),s=d(51062);const b=function(E){return{color:E}};let R=(()=>{class E{constructor(x,k){this.location=x,this.storeService=k}ngOnInit(){this.backButtonColor=this.storeService.get("theme","back_button_color")}goBack(){"false"===sessionStorage.getItem("onInitPage")&&this.location.back()}}return E.\u0275fac=function(x){return new(x||E)(f.Y36(g.Ye),f.Y36(e.d6))},E.\u0275cmp=f.Xpm({type:E,selectors:[["perun-web-apps-back-button"]],decls:4,vars:6,consts:[["mat-stroked-button","",1,"mb-2","mt-2",3,"ngStyle","matTooltip","click"],[1,"rotate"]],template:function(x,k){1&x&&(f.TgZ(0,"button",0),f.NdJ("click",function(){return k.goBack()}),f.ALo(1,"translate"),f.TgZ(2,"mat-icon",1),f._uU(3,"arrow_right_alt"),f.qZA(),f.qZA()),2&x&&(f.s9C("matTooltip",f.lcZ(1,2,"Back")),f.Q6J("ngStyle",f.VKq(4,b,k.backButtonColor)))},directives:[v.lW,g.PC,m.gM,A.Hw],pipes:[s.X$],styles:[".rotate[_ngcontent-%COMP%]{transform:rotate(180deg) scale(1.5)}"]}),E})()},61150:(Ze,ge,d)=>{"use strict";d.d(ge,{r:()=>x});var e=d(5e3),f=d(93075),g=d(36908),v=d(67322),m=d(98833),A=d(69808),s=d(77446),b=d(82322),R=d(51062);function E(k,G){if(1&k){const X=e.EpF();e.TgZ(0,"mat-checkbox",7),e.NdJ("change",function(){return e.CHM(X),e.oxw().emitAsSubGroup()})("ngModelChange",function(re){return e.CHM(X),e.oxw().asSubgroup=re}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&k){const X=e.oxw();e.Q6J("labelPosition","before")("ngModel",X.asSubgroup),e.xp6(1),e.hij(" ",e.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function h(k,G){if(1&k){const X=e.EpF();e.TgZ(0,"perun-web-apps-group-search-select",8),e.NdJ("groupSelected",function(re){return e.CHM(X),e.oxw().emitParentGroup(re)}),e.qZA()}if(2&k){const X=e.oxw();e.Q6J("disableAutoSelect",!0)("groups",X.voGroups)}}let x=(()=>{class k{constructor(X){this.store=X,this.parentGroup=null,this.voGroups=[],this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.secondaryRegex=this.store.get("group_name_secondary_regex"),this.nameChanged=new e.vpe,this.descriptionChanged=new e.vpe,this.parentGroupChanged=new e.vpe,this.asSubgroupChanged=new e.vpe}ngOnInit(){this.isNotSubGroup=null===this.parentGroup,this.nameControl=new f.NI("",[f.kI.required,f.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),f.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new f.NI("",[f.kI.required,f.kI.maxLength(129)]),this.selectedParent=null,this.voGroups=this.voGroups.filter(X=>"members"!==X.name)}emitName(){this.nameChanged.emit(this.nameControl.invalid?"":this.nameControl.value)}emitDescription(){this.descriptionChanged.emit(this.descriptionControl.invalid?"":this.descriptionControl.value)}emitParentGroup(X){this.selectedParent=X,this.parentGroupChanged.emit(X)}emitAsSubGroup(){this.asSubgroup||this.emitParentGroup(null),this.asSubgroupChanged.emit(this.asSubgroup)}}return k.\u0275fac=function(X){return new(X||k)(e.Y36(g.d6))},k.\u0275cmp=e.Xpm({type:k,selectors:[["perun-web-apps-create-group-form"]],inputs:{parentGroup:"parentGroup",voGroups:"voGroups"},outputs:{nameChanged:"nameChanged",descriptionChanged:"descriptionChanged",parentGroupChanged:"parentGroupChanged",asSubgroupChanged:"asSubgroupChanged"},decls:17,vars:16,consts:[[1,"dialog-container"],[3,"keyup"],[1,"w-100"],["matInput","","required","",3,"formControl","placeholder"],[1,"mt-4",3,"keyup"],[3,"labelPosition","ngModel","change","ngModelChange",4,"ngIf"],["class","long-input",3,"disableAutoSelect","groups","groupSelected",4,"ngIf"],[3,"labelPosition","ngModel","change","ngModelChange"],[1,"long-input",3,"disableAutoSelect","groups","groupSelected"]],template:function(X,he){1&X&&(e.TgZ(0,"div",0),e.TgZ(1,"mat-form-field",1),e.NdJ("keyup",function(){return he.emitName()}),e.TgZ(2,"label",2),e._UZ(3,"input",3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-error"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.qZA(),e.TgZ(8,"mat-form-field",4),e.NdJ("keyup",function(){return he.emitDescription()}),e.TgZ(9,"label",2),e._UZ(10,"textarea",3),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"mat-error"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.qZA(),e.YNc(15,E,3,5,"mat-checkbox",5),e.YNc(16,h,1,2,"perun-web-apps-group-search-select",6),e.qZA()),2&X&&(e.xp6(3),e.s9C("placeholder",e.lcZ(4,8,"DIALOGS.CREATE_GROUP.NAME")),e.Q6J("formControl",he.nameControl),e.xp6(3),e.hij(" ",he.invalidNameMessage.length?he.invalidNameMessage:e.lcZ(7,10,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),e.xp6(4),e.s9C("placeholder",e.lcZ(11,12,"DIALOGS.CREATE_GROUP.DESCRIPTION")),e.Q6J("formControl",he.descriptionControl),e.xp6(3),e.hij(" ",e.lcZ(14,14,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),e.xp6(2),e.Q6J("ngIf",he.isNotSubGroup),e.xp6(1),e.Q6J("ngIf",he.asSubgroup))},directives:[v.KE,m.Nt,f.Fj,f.Q7,f.JJ,f.oH,v.TO,A.O5,s.oG,f.On,b.h],pipes:[R.X$],styles:[""]}),k})()},39798:(Ze,ge,d)=>{"use strict";d.d(ge,{S:()=>s});var e=d(5e3),f=d(67322),g=d(98833),v=d(86856),m=d(93075),A=d(51062);let s=(()=>{class b{constructor(){this.datePicker=new e.vpe}ngOnInit(){this.startMinDate=new Date(2e3,0,1),this.endMaxDate=new Date,this.startMaxDate=this.endDate.value,this.endMinDate=this.startDate.value}dateChange(){this.datePicker.emit(),this.startMaxDate=this.endDate.value,this.endMinDate=this.startDate.value}}return b.\u0275fac=function(E){return new(E||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["perun-web-apps-date-range"]],inputs:{startDate:"startDate",endDate:"endDate"},outputs:{datePicker:"datePicker"},decls:16,vars:16,consts:[["appearance","standard",1,"mr-2",3,"click"],["matInput","","readonly","",3,"matDatepicker","min","max","formControl","dateChange"],["matSuffix","",3,"for"],["datePickerStart",""],["appearance","standard",3,"click"],["datePickerEnd",""]],template:function(E,h){if(1&E){const x=e.EpF();e.TgZ(0,"mat-form-field",0),e.NdJ("click",function(){return e.CHM(x),e.MAs(7).open()}),e.TgZ(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"input",1),e.NdJ("dateChange",function(){return h.dateChange()}),e.qZA(),e._UZ(5,"mat-datepicker-toggle",2),e._UZ(6,"mat-datepicker",null,3),e.qZA(),e.TgZ(8,"mat-form-field",4),e.NdJ("click",function(){return e.CHM(x),e.MAs(15).open()}),e.TgZ(9,"mat-label"),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"input",1),e.NdJ("dateChange",function(){return h.dateChange()}),e.qZA(),e._UZ(13,"mat-datepicker-toggle",2),e._UZ(14,"mat-datepicker",null,5),e.qZA()}if(2&E){const x=e.MAs(7),k=e.MAs(15);e.xp6(2),e.Oqu(e.lcZ(3,12,"VO_DETAIL.APPLICATION.DATE.START")),e.xp6(2),e.Q6J("matDatepicker",x)("min",h.startMinDate)("max",h.startMaxDate)("formControl",h.startDate),e.xp6(1),e.Q6J("for",x),e.xp6(5),e.Oqu(e.lcZ(11,14,"VO_DETAIL.APPLICATION.DATE.END")),e.xp6(2),e.Q6J("matDatepicker",k)("min",h.endMinDate)("max",h.endMaxDate)("formControl",h.endDate),e.xp6(1),e.Q6J("for",k)}},directives:[f.KE,f.hX,g.Nt,v.hl,m.Fj,m.JJ,m.oH,v.nW,f.R9,v.Mq],pipes:[A.X$],styles:[""]}),b})()},64901:(Ze,ge,d)=>{"use strict";d.d(ge,{P:()=>E});var e=d(5e3),f=d(23753),g=d(24850),v=d(80013),m=d(75778),A=d(67322),s=d(98833),b=d(51062);const R=["groupFilterInput"];let E=(()=>{class h{constructor(){this.filter=new e.vpe,this.autoFocus=!1}ngOnInit(){this.autoFocus&&this.groupFilterInput.nativeElement.focus(),(0,f.R)(this.groupFilterInput.nativeElement,"keyup").pipe((0,g.U)(k=>k.target.value),(0,v.b)(500),(0,m.x)()).subscribe(k=>{this.filter.emit(k)})}}return h.\u0275fac=function(k){return new(k||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(k,G){if(1&k&&e.Gf(R,7),2&k){let X;e.iGM(X=e.CRH())&&(G.groupFilterInput=X.first)}},inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:4,vars:3,consts:[[1,"filter-field","mr-2"],["matInput","",3,"placeholder"],["groupFilterInput",""]],template:function(k,G){1&k&&(e.TgZ(0,"mat-form-field",0),e._UZ(1,"input",1,2),e.ALo(3,"translate"),e.qZA()),2&k&&(e.xp6(1),e.s9C("placeholder",e.lcZ(3,1,G.placeholder)))},directives:[A.KE,s.Nt],pipes:[b.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),h})()},42377:(Ze,ge,d)=>{"use strict";d.d(ge,{i:()=>Ne});var e=d(5e3),f=d(93075),g=d(96831),v=d(8929),m=d(7625),A=d(67322),s=d(74107),b=d(69808),R=d(90508),E=d(43586),h=d(53435);const x=["scrollViewport"];function k(ce,Pe){if(1&ce&&(e.TgZ(0,"mat-select-trigger"),e._uU(1),e.qZA()),2&ce){const se=e.oxw();e.xp6(1),e.hij(" ",se.multipleSelectedText()," ")}}function G(ce,Pe){if(1&ce&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&ce){const se=e.oxw(2);e.Tol(se.colorByStatus(null==se.entitiesCtrl?null:se.entitiesCtrl.value)),e.xp6(1),e.hij(" ",se.statusTextFunction(null==se.entitiesCtrl?null:se.entitiesCtrl.value)?"("+se.statusTextFunction(null==se.entitiesCtrl?null:se.entitiesCtrl.value)+")":""," ")}}function X(ce,Pe){if(1&ce&&(e.TgZ(0,"mat-option",8),e._uU(1),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,G,2,4,"span",10),e.qZA()),2&ce){const se=e.oxw();e.Q6J("value",null==se.entitiesCtrl?null:se.entitiesCtrl.value),e.xp6(1),e.hij(" ",se.mainTextFunction(null==se.entitiesCtrl?null:se.entitiesCtrl.value)," "),e.xp6(2),e.Oqu(se.secondaryTextFunction(null==se.entitiesCtrl?null:se.entitiesCtrl.value)),e.xp6(1),e.Q6J("ngIf",se.displayStatus)}}function he(ce,Pe){if(1&ce&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&ce){const se=e.oxw().$implicit,V=e.oxw();e.Tol(V.colorByStatus(se)),e.xp6(1),e.hij(" ",V.statusTextFunction(se)?"("+V.statusTextFunction(se)+")":""," ")}}function re(ce,Pe){if(1&ce&&(e.TgZ(0,"mat-option",11),e._uU(1),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,he,2,4,"span",10),e.qZA()),2&ce){const se=Pe.$implicit,V=e.oxw();e.Tol(V.theme),e.Q6J("value",se),e.xp6(1),e.hij(" ",V.mainTextFunction(se)," "),e.xp6(2),e.Oqu(V.secondaryTextFunction(se)),e.xp6(1),e.Q6J("ngIf",V.displayStatus)}}let Ne=(()=>{class ce{constructor(se){this.cd=se,this.selectPlaceholder="Select",this.findPlaceholder="Find...",this.noEntriesText="Nothing found",this.disableAutoSelect=!1,this.entity=null,this.displayStatus=!1,this.multiple=!1,this.theme="",this.entitySelected=new e.vpe,this.entitiesCtrl=new f.NI,this.entityFilterCtrl=new f.NI,this.filteredEntities=new g.t(1),this.entitiesLen=0,this._onDestroy=new v.xQ,this.mainTextFunction=V=>JSON.stringify(V),this.secondaryTextFunction=V=>"#"+V.id+(V.description?" "+V.description:""),this.statusTextFunction=V=>V.status}ngOnInit(){this.entitiesCtrl.valueChanges.subscribe(se=>this.entitySelected.emit(se)),!this.disableAutoSelect&&null===this.entity&&this.entitiesCtrl.setValue(this.entities[0]),this.filteredEntities.subscribe(se=>this.entitiesLen=se.length),this.entityFilterCtrl.valueChanges.pipe((0,m.R)(this._onDestroy)).subscribe(()=>{this.filterEntites()}),null!==this.entity&&this.entitiesCtrl.setValue(this.entity)}colorByStatus(se){switch(se.status){case"ACTIVE":return"green";case"INACTIVE":return"grey";case"FAILED":return"red";case"PROCESSING":return"black"}}ngOnChanges(se){null!==this.entity&&this.entitiesCtrl.setValue(this.entity),se.entities&&this.filteredEntities.next(this.entities.slice())}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}filterEntites(){if(!this.entities)return;let se=this.entityFilterCtrl.value;if(!se)return this.filteredEntities.next(this.entities.slice()),void this.cd.detectChanges();se=this.normalize(se),this.filteredEntities.next(this.entities.filter(V=>this.normalize(this.searchFunction(V)).indexOf(se)>=0)),this.cd.detectChanges()}normalize(se){return se.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()}openChange(){this.scrollViewport.scrollToIndex(0),this.scrollViewport.checkViewportSize()}getViewportHeight(){let se=48*this.entitiesLen;return se>192&&(se=192),this.scrollViewport&&this.scrollViewport.checkViewportSize(),se}multipleSelectedText(){if(this.entitiesCtrl.value&&0!==this.entitiesCtrl.value.length)return this.entitiesCtrl.value.length===this.entities.length?"ALL":this.entitiesCtrl.value.length>1?this.mainTextFunction(this.entitiesCtrl.value[0])+` + ${this.entitiesCtrl.value.length-1} other(s)`:this.mainTextFunction(this.entitiesCtrl.value[0])+" "+this.secondaryTextFunction(this.entitiesCtrl.value[0])}}return ce.\u0275fac=function(se){return new(se||ce)(e.Y36(e.sBO))},ce.\u0275cmp=e.Xpm({type:ce,selectors:[["perun-web-apps-entity-search-select"]],viewQuery:function(se,V){if(1&se&&e.Gf(x,5),2&se){let F;e.iGM(F=e.CRH())&&(V.scrollViewport=F.first)}},inputs:{entities:"entities",selectPlaceholder:"selectPlaceholder",findPlaceholder:"findPlaceholder",noEntriesText:"noEntriesText",disableAutoSelect:"disableAutoSelect",entity:"entity",displayStatus:"displayStatus",multiple:"multiple",theme:"theme",searchFunction:"searchFunction",mainTextFunction:"mainTextFunction",secondaryTextFunction:"secondaryTextFunction"},outputs:{entitySelected:"entitySelected"},features:[e.TTD],decls:10,vars:16,consts:[[1,"w-100"],[3,"placeholder","formControl","multiple","openedChange"],[4,"ngIf"],[3,"placeholderLabel","noEntriesFoundLabel","clearSearchInput","formControl"],["class","selected-options-bottom",3,"value",4,"ngIf"],["itemSize","48",3,"minBufferPx","maxBufferPx"],["scrollViewport",""],[3,"class","value",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"selected-options-bottom",3,"value"],[1,"text-muted"],[3,"class",4,"ngIf"],[3,"value"]],template:function(se,V){1&se&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"mat-select",1),e.NdJ("openedChange",function(){return V.openChange()}),e.YNc(2,k,2,1,"mat-select-trigger",2),e.TgZ(3,"mat-option"),e._UZ(4,"ngx-mat-select-search",3),e.qZA(),e.YNc(5,X,5,4,"mat-option",4),e.TgZ(6,"cdk-virtual-scroll-viewport",5,6),e.YNc(8,re,5,7,"mat-option",7),e.ALo(9,"async"),e.qZA(),e.qZA(),e.qZA()),2&se&&(e.xp6(1),e.s9C("placeholder",V.selectPlaceholder),e.Q6J("formControl",V.entitiesCtrl)("multiple",V.multiple),e.xp6(1),e.Q6J("ngIf",V.multiple),e.xp6(2),e.s9C("placeholderLabel",V.findPlaceholder),e.s9C("noEntriesFoundLabel",V.noEntriesText),e.Q6J("clearSearchInput",!1)("formControl",V.entityFilterCtrl),e.xp6(1),e.Q6J("ngIf",null==V.entitiesCtrl?null:V.entitiesCtrl.value),e.xp6(1),e.Udp("height",V.getViewportHeight(),"px"),e.Q6J("minBufferPx",240)("maxBufferPx",480),e.xp6(2),e.Q6J("cdkVirtualForOf",e.lcZ(9,14,V.filteredEntities)))},directives:[A.KE,s.gD,f.JJ,f.oH,b.O5,s.$L,R.ey,E.nu,h.N7,h.xd,h.x0],pipes:[b.Ov],styles:[".selected-options-bottom[_ngcontent-%COMP%]{visibility:hidden;position:absolute}.green[_ngcontent-%COMP%]{color:green}.grey[_ngcontent-%COMP%]{color:gray}.red[_ngcontent-%COMP%]{color:red}.black[_ngcontent-%COMP%]{color:#000}"]}),ce})()},74010:(Ze,ge,d)=>{"use strict";d.d(ge,{X:()=>de});var e=d(84847),f=d(32075),g=d(9244),v=d(36908),m=d(5e3),A=d(18750),s=d(77446),b=d(10441),R=d(93075),E=d(69808),h=d(29772),x=d(47423),k=d(25245);function G(M,S){if(1&M&&(m.TgZ(0,"div",6),m._uU(1),m.qZA()),2&M){const P=S.$implicit,N=m.oxw();m.xp6(1),m.hij(" ",P[N.paramName]," ")}}function X(M,S){1&M&&(m.TgZ(0,"mat-icon"),m._uU(1,"more_horiz"),m.qZA())}function he(M,S){1&M&&(m.TgZ(0,"mat-icon"),m._uU(1,"keyboard_arrow_up"),m.qZA())}function re(M,S){if(1&M){const P=m.EpF();m.TgZ(0,"button",7),m.NdJ("click",function(){return m.CHM(P),m.oxw().onShowChange()}),m.YNc(1,X,2,0,"mat-icon",8),m.YNc(2,he,2,0,"mat-icon",8),m.qZA()}if(2&M){const P=m.oxw();m.xp6(1),m.Q6J("ngIf",!P.showMore),m.xp6(1),m.Q6J("ngIf",P.showMore)}}let Ne=(()=>{class M{constructor(){this.objects=[],this.filterValue="",this.paramName="",this.showMore=!1,this.defaultItemsShown=3}ngOnInit(){this.itemsShown=this.defaultItemsShown}ngOnChanges(){this.itemsShown=this.defaultItemsShown,this.showMore=!1}onShowChange(){this.showMore=!this.showMore,this.itemsShown=this.showMore?this.objects.length:this.defaultItemsShown}}return M.\u0275fac=function(P){return new(P||M)},M.\u0275cmp=m.Xpm({type:M,selectors:[["perun-web-apps-object-list-values"]],inputs:{objects:"objects",filterValue:"filterValue",paramName:"paramName"},features:[m.TTD],decls:7,vars:4,consts:[[1,"d-flex","w-100"],[1,"w-100"],[1,"mr-5"],["class","d-flex mb-1",4,"ngFor","ngForOf"],[3,"matTooltip","matTooltipPosition"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"d-flex","mb-1"],["mat-icon-button","",3,"click"],[4,"ngIf"]],template:function(P,N){1&P&&(m.TgZ(0,"form",0),m.TgZ(1,"div",1),m.TgZ(2,"div",2),m.YNc(3,G,2,1,"div",3),m.qZA(),m.TgZ(4,"div"),m.TgZ(5,"span",4),m.YNc(6,re,3,2,"button",5),m.qZA(),m.qZA(),m.qZA(),m.qZA()),2&P&&(m.xp6(3),m.Q6J("ngForOf",N.objects.slice(0,N.itemsShown)),m.xp6(2),m.Q6J("matTooltip",N.showMore?"Show less":"Show more")("matTooltipPosition","above"),m.xp6(1),m.Q6J("ngIf",N.objects.length>N.defaultItemsShown))},directives:[R._Y,R.JL,R.F,E.sg,h.gM,E.O5,x.lW,k.Hw],styles:[""]}),M})();var ce=d(50301),Pe=d(11735),se=d(98380),V=d(51062),F=d(53561);let W=(()=>{class M{transform(P,N,ne){return P.filter(j=>j[ne].includes(N)).filter((j,Te,n)=>n.findIndex(r=>r[ne]===j[ne])===Te)}}return M.\u0275fac=function(P){return new(P||M)},M.\u0275pipe=m.Yjl({name:"filterUniqueObjects",type:M,pure:!0}),M})();function te(M,S){1&M&&m._UZ(0,"th",20)}function ae(M,S){if(1&M){const P=m.EpF();m.TgZ(0,"td",21),m.TgZ(1,"mat-checkbox",22),m.NdJ("change",function(ne){const Te=m.CHM(P).$implicit,n=m.oxw();return ne?n.selection.toggle(Te):null})("click",function(ne){return ne.stopPropagation()}),m.qZA(),m.qZA()}if(2&M){const P=S.$implicit,N=m.oxw();m.xp6(1),m.Q2q("data-cy","",P.facility.name,"-checkbox"),m.Q6J("aria-label",N.checkboxLabel(P))("checked",N.selection.isSelected(P))}}function pe(M,S){1&M&&(m.TgZ(0,"th",23),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&M&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.ID")," "))}function Be(M,S){if(1&M&&(m.TgZ(0,"td",24),m._uU(1),m.qZA()),2&M){const P=S.$implicit;m.xp6(1),m.hij(" ",P.facility.id," ")}}function Fe(M,S){1&M&&m._UZ(0,"th",25)}function ke(M,S){if(1&M&&(m.TgZ(0,"td",26),m._UZ(1,"perun-web-apps-recently-viewed-icon",27),m.qZA()),2&M){const P=S.$implicit,N=m.oxw();m.xp6(1),m.Q6J("id",P.facility.id)("recentIds",N.recentIds)}}function De(M,S){1&M&&(m.TgZ(0,"th",23),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&M&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.NAME")," "))}function be(M,S){if(1&M&&(m.TgZ(0,"td",26),m._uU(1),m.qZA()),2&M){const P=S.$implicit;m.uIk("data-cy",P.facility.name),m.xp6(1),m.hij(" ",P.facility.name," ")}}function z(M,S){1&M&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&M&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESCRIPTION")," "))}function Ce(M,S){if(1&M&&(m.TgZ(0,"td",26),m._uU(1),m.qZA()),2&M){const P=S.$implicit;m.xp6(1),m.Oqu(P.facility.description)}}function J(M,S){1&M&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&M&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.TECHNICAL_OWNERS")," "))}function I(M,S){if(1&M&&(m.TgZ(0,"td",26),m._uU(1),m.ALo(2,"technicalOwners"),m.qZA()),2&M){const P=S.$implicit;m.xp6(1),m.Oqu(m.lcZ(2,1,P.owners))}}function Ie(M,S){1&M&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&M&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESTINATIONS")," "))}function Re(M,S){if(1&M){const P=m.EpF();m.TgZ(0,"td",26),m.TgZ(1,"perun-web-apps-object-list-values",28),m.NdJ("mouseenter",function(){return m.CHM(P),m.oxw().disableRouting=!0})("mouseleave",function(){return m.CHM(P),m.oxw().disableRouting=!1}),m.ALo(2,"filterUniqueObjects"),m.qZA(),m.qZA()}if(2&M){const P=S.$implicit,N=m.oxw();m.xp6(1),m.Q6J("objects",m.Dn7(2,2,P.destinations,N.filterValue,"destination"))("paramName","destination")}}function ze(M,S){1&M&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&M&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.HOSTS")," "))}function fe(M,S){if(1&M){const P=m.EpF();m.TgZ(0,"td",26),m.TgZ(1,"perun-web-apps-object-list-values",28),m.NdJ("mouseenter",function(){return m.CHM(P),m.oxw().disableRouting=!0})("mouseleave",function(){return m.CHM(P),m.oxw().disableRouting=!1}),m.ALo(2,"filterUniqueObjects"),m.qZA(),m.qZA()}if(2&M){const P=S.$implicit,N=m.oxw();m.xp6(1),m.Q6J("objects",m.Dn7(2,2,P.hosts,N.filterValue,"hostname"))("paramName","hostname")}}function ve(M,S){1&M&&m._UZ(0,"tr",29)}const We=function(M){return["/facilities",M]},nt=function(){return[]};function st(M,S){if(1&M&&m._UZ(0,"tr",30),2&M){const P=S.$implicit,N=m.oxw();m.Q6J("perunWebAppsMiddleClickRouterLink",m.VKq(2,We,P.facility.id))("routerLink",N.disableRouting?m.DdM(4,nt):m.VKq(5,We,P.facility.id))}}function dt(M,S){1&M&&(m.TgZ(0,"app-alert",31),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&M&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function L(M,S){1&M&&(m.TgZ(0,"app-alert",31),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&M&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FACILITIES"),"\n"))}let de=(()=>{class M{constructor(P){this.authResolver=P,this.displayedColumns=["select","id","recent","name","description","technicalOwners","destinations","hosts"],this.pageSizeOptions=g.f7}set matSort(P){this.sort=P}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(P=>"id"!==P)),this.setDataSource()}getDataForColumn(P,N,ne){switch(N){case"id":return P.facility.id.toString();case"name":return P.facility.name;case"description":return P.facility.description;case"technicalOwners":return(0,g.te)(P.owners);case"recent":return ne.recentIds&&ne.recentIds.indexOf(P.facility.id)>-1?"#".repeat(ne.recentIds.indexOf(P.facility.id)):P.name;case"destinations":return P.destinations.map(j=>j.destination).join(" ; ");case"hosts":return P.hosts.map(j=>j.hostname).join(" ; ");default:return P[N]}}exportData(P){(0,g.O6)((0,g.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),P)}setDataSource(){this.dataSource||(this.dataSource=new f.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(P,N)=>(0,g.Sd)(P,N,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(P,N)=>(0,g.pR)(P,N,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.facilities}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(P=>this.selection.select(P))}checkboxLabel(P){return P?`${this.selection.isSelected(P)?"deselect":"select"} row ${P.facility.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return M.\u0275fac=function(P){return new(P||M)(m.Y36(v.x4))},M.\u0275cmp=m.Xpm({type:M,selectors:[["perun-web-apps-facilities-list"]],viewQuery:function(P,N){if(1&P&&(m.Gf(e.YE,7),m.Gf(g.l9,7)),2&P){let ne;m.iGM(ne=m.CRH())&&(N.matSort=ne.first),m.iGM(ne=m.CRH())&&(N.child=ne.first)}},inputs:{facilities:"facilities",recentIds:"recentIds",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",selection:"selection",pageSizeOptions:"pageSizeOptions"},features:[m.TTD],decls:31,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","description"],["matColumnDef","technicalOwners"],["matColumnDef","destinations"],["matColumnDef","hosts"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"id","recentIds"],[3,"objects","paramName","mouseenter","mouseleave"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(P,N){1&P&&(m.TgZ(0,"div",0),m.TgZ(1,"perun-web-apps-table-wrapper",1),m.NdJ("exportData",function(j){return N.exportData(j)}),m.TgZ(2,"table",2),m.ynx(3,3),m.YNc(4,te,1,0,"th",4),m.YNc(5,ae,2,3,"td",5),m.BQk(),m.ynx(6,6),m.YNc(7,pe,3,3,"th",7),m.YNc(8,Be,2,1,"td",8),m.BQk(),m.ynx(9,9),m.YNc(10,Fe,1,0,"th",10),m.YNc(11,ke,2,2,"td",11),m.BQk(),m.ynx(12,12),m.YNc(13,De,3,3,"th",7),m.YNc(14,be,2,2,"td",11),m.BQk(),m.ynx(15,13),m.YNc(16,z,3,3,"th",10),m.YNc(17,Ce,2,1,"td",11),m.BQk(),m.ynx(18,14),m.YNc(19,J,3,3,"th",10),m.YNc(20,I,3,3,"td",11),m.BQk(),m.ynx(21,15),m.YNc(22,Ie,3,3,"th",10),m.YNc(23,Re,3,6,"td",11),m.BQk(),m.ynx(24,16),m.YNc(25,ze,3,3,"th",10),m.YNc(26,fe,3,6,"td",11),m.BQk(),m.YNc(27,ve,1,0,"tr",17),m.YNc(28,st,1,7,"tr",18),m.qZA(),m.qZA(),m.qZA(),m.YNc(29,dt,3,3,"app-alert",19),m.YNc(30,L,3,3,"app-alert",19)),2&P&&(m.Q6J("hidden",!N.dataSource||0===N.dataSource.filteredData.length||0===N.facilities.length),m.xp6(1),m.Q6J("tableId",N.tableId)("dataLength",N.dataSource.filteredData.length)("pageSizeOptions",N.pageSizeOptions),m.xp6(1),m.Q6J("dataSource",N.dataSource),m.xp6(25),m.Q6J("matHeaderRowDef",N.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",N.displayedColumns),m.xp6(1),m.Q6J("ngIf",0===N.dataSource.filteredData.length&&0!==N.facilities.length),m.xp6(1),m.Q6J("ngIf",0===N.facilities.length))},directives:[A.l,f.BZ,e.YE,f.w1,f.fO,f.ge,f.Dz,f.ev,s.oG,e.nU,b.W,Ne,f.as,f.XQ,f.nj,f.Gk,ce.YH,Pe.rH,E.O5,se.w],pipes:[V.X$,F.J,W],styles:["tr[_ngcontent-%COMP%]{cursor:pointer}"]}),M})()},13449:(Ze,ge,d)=>{"use strict";d.d(ge,{i:()=>se});var e=d(5e3),f=d(36908),g=d(69808),v=d(47423),m=d(69287),A=d(29772),s=d(25245),b=d(92181),R=d(51062),E=d(45942),h=d(29218),x=d(28764);function k(V,F){if(1&V){const W=e.EpF();e.TgZ(0,"span",5),e.ALo(1,"translate"),e.ALo(2,"groupSyncToolTip"),e.TgZ(3,"button",6),e.NdJ("click",function(){return e.CHM(W),e.oxw(2).onSyncDetail()}),e.ALo(4,"groupSyncIcon"),e.TgZ(5,"mat-icon"),e.ALo(6,"groupSyncIconColor"),e._uU(7),e.ALo(8,"groupSyncIcon"),e.qZA(),e.qZA(),e.qZA()}if(2&V){const W=e.oxw(2);e.Q6J("matTooltipPosition","above")("matTooltip",e.lcZ(1,7,e.lcZ(2,9,W.group))),e.xp6(3),e.Q6J("disabled","sync_disabled"===e.lcZ(4,11,W.group)),e.xp6(2),e.Tol(e.lcZ(6,13,W.group)),e.xp6(2),e.hij(" ",e.lcZ(8,15,W.group)," ")}}function G(V,F){if(1&V){const W=e.EpF();e.TgZ(0,"span",5),e.ALo(1,"translate"),e.TgZ(2,"button",6),e.NdJ("click",function(){return e.CHM(W),e.oxw(2).onMoveGroup()}),e.TgZ(3,"mat-icon"),e._uU(4,"arrow_right_alt"),e.qZA(),e.qZA(),e.qZA()}if(2&V){const W=e.oxw(2);e.s9C("matTooltip",e.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE")),e.Q6J("matTooltipPosition","above"),e.xp6(2),e.Q6J("disabled",W.disabled)}}function X(V,F){if(1&V){const W=e.EpF();e.TgZ(0,"span",5),e.ALo(1,"translate"),e.TgZ(2,"button",6),e.NdJ("click",function(){return e.CHM(W),e.oxw(2).onChangeNameDescription()}),e.TgZ(3,"mat-icon"),e._uU(4,"text_format"),e.qZA(),e.qZA(),e.qZA()}if(2&V){const W=e.oxw(2);e.s9C("matTooltip",e.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME")),e.Q6J("matTooltipPosition","above"),e.xp6(2),e.Q6J("disabled",W.disabled)}}function he(V,F){if(1&V&&(e.TgZ(0,"div",2),e.TgZ(1,"button",3),e.ALo(2,"translate"),e.TgZ(3,"mat-icon"),e._uU(4," file_copy "),e.qZA(),e.qZA(),e.YNc(5,k,9,17,"span",4),e.YNc(6,G,5,5,"span",4),e.YNc(7,X,5,5,"span",4),e.qZA()),2&V){const W=e.oxw();e.xp6(1),e.s9C("matTooltip",e.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),e.Q6J("cdkCopyToClipboard",W.group.name)("matTooltipPosition","above"),e.xp6(4),e.Q6J("ngIf",W.syncAuth),e.xp6(1),e.Q6J("ngIf",W.moveAuth),e.xp6(1),e.Q6J("ngIf",W.editAuth)}}function re(V,F){if(1&V){const W=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(W),e.oxw(2).onSyncDetail()}),e.ALo(1,"groupSyncIcon"),e.TgZ(2,"mat-icon"),e.ALo(3,"groupSyncIconColor"),e._uU(4),e.ALo(5,"groupSyncIcon"),e.qZA(),e.TgZ(6,"span"),e._uU(7),e.ALo(8,"translate"),e.ALo(9,"groupSyncToolTip"),e.qZA(),e.qZA()}if(2&V){const W=e.oxw(2);e.Q6J("disabled","sync_disabled"===e.lcZ(1,6,W.group)),e.xp6(2),e.Tol(e.lcZ(3,8,W.group)),e.xp6(2),e.hij(" ",e.lcZ(5,10,W.group)," "),e.xp6(3),e.Oqu(e.lcZ(8,12,e.lcZ(9,14,W.group)))}}function Ne(V,F){if(1&V){const W=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(W),e.oxw(2).onMoveGroup()}),e.TgZ(1,"mat-icon"),e._uU(2,"arrow_right_alt"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.qZA()}if(2&V){const W=e.oxw(2);e.Q6J("disabled",W.disabled),e.xp6(4),e.Oqu(e.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE"))}}function ce(V,F){if(1&V){const W=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(W),e.oxw(2).onChangeNameDescription()}),e.TgZ(1,"mat-icon"),e._uU(2,"text_format"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.qZA()}if(2&V){const W=e.oxw(2);e.Q6J("disabled",W.disabled),e.xp6(4),e.Oqu(e.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME"))}}function Pe(V,F){if(1&V&&(e.TgZ(0,"div"),e.TgZ(1,"button",7),e.TgZ(2,"mat-icon"),e._uU(3,"more_vert"),e.qZA(),e.qZA(),e.TgZ(4,"mat-menu",null,8),e.TgZ(6,"button",9),e.TgZ(7,"mat-icon"),e._uU(8," file_copy "),e.qZA(),e.TgZ(9,"span"),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.qZA(),e.YNc(12,re,10,16,"button",10),e.YNc(13,Ne,6,4,"button",10),e.YNc(14,ce,6,4,"button",10),e.qZA(),e.qZA()),2&V){const W=e.MAs(5),te=e.oxw();e.xp6(1),e.Q6J("mat-menu-trigger-for",W),e.xp6(5),e.Q6J("cdkCopyToClipboard",te.group.name),e.xp6(4),e.Oqu(e.lcZ(11,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),e.xp6(2),e.Q6J("ngIf",te.syncAuth),e.xp6(1),e.Q6J("ngIf",te.moveAuth),e.xp6(1),e.Q6J("ngIf",te.editAuth)}}let se=(()=>{class V{constructor(W){this.authResolver=W,this.disabled=!1,this.moveGroup=new e.vpe,this.syncGroup=new e.vpe,this.changeNameDescription=new e.vpe}ngOnInit(){this.syncAuth=this.authResolver.isAuthorized("forceGroupSynchronization_Group_policy",[this.group]),this.editAuth=this.authResolver.isAuthorized("updateGroup_Group_policy",[this.group]),this.moveAuth=this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[this.group])||this.authResolver.isAuthorized("destination_null-moveGroup_Group_Group_policy",[this.group])}onMoveGroup(){this.moveGroup.emit()}onSyncDetail(){this.syncGroup.emit()}onChangeNameDescription(){this.changeNameDescription.emit()}}return V.\u0275fac=function(W){return new(W||V)(e.Y36(f.x4))},V.\u0275cmp=e.Xpm({type:V,selectors:[["perun-web-apps-group-menu"]],inputs:{group:"group",disabled:"disabled",displayButtons:"displayButtons"},outputs:{moveGroup:"moveGroup",syncGroup:"syncGroup",changeNameDescription:"changeNameDescription"},decls:2,vars:2,consts:[["class","buttons-container",4,"ngIf"],[4,"ngIf"],[1,"buttons-container"],["mat-icon-button","",1,"ml-auto","horiz_right",3,"cdkCopyToClipboard","matTooltipPosition","matTooltip"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],["mat-icon-button","",3,"disabled","click"],["mat-icon-button","",3,"mat-menu-trigger-for"],["groupMenu","matMenu"],["mat-menu-item","",3,"cdkCopyToClipboard"],["mat-menu-item","",3,"disabled","click",4,"ngIf"],["mat-menu-item","",3,"disabled","click"]],template:function(W,te){1&W&&(e.YNc(0,he,8,8,"div",0),e.YNc(1,Pe,15,8,"div",1)),2&W&&(e.Q6J("ngIf",te.displayButtons),e.xp6(1),e.Q6J("ngIf",!te.displayButtons))},directives:[g.O5,v.lW,m.i3,A.gM,s.Hw,b.p6,b.VK,b.OP],pipes:[R.X$,E.r,h.J,x.F],styles:[".buttons-container[_ngcontent-%COMP%]{white-space:nowrap;width:160px}.horiz_right[_ngcontent-%COMP%]{float:right}"]}),V})()},8223:(Ze,ge,d)=>{"use strict";d.d(ge,{x:()=>k});var e=d(5e3),f=d(9244),g=d(84379),v=d(48966),m=d(69808),A=d(29772),s=d(25245),b=d(51062);function R(G,X){if(1&G){const he=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(he),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",4),e._uU(3,"check_circle_outline"),e.qZA(),e.qZA()}2&G&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function E(G,X){if(1&G){const he=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(he),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",5),e._uU(3,"block"),e.qZA(),e.qZA()}2&G&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function h(G,X){if(1&G){const he=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(he),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",6),e._uU(3,"report"),e.qZA(),e.qZA()}if(2&G){const he=e.oxw();e.hYB("matTooltip","",e.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",he.failureCause,"")}}function x(G,X){1&G&&(e.TgZ(0,"span",7),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",8),e._uU(3,"autorenew"),e.qZA(),e.qZA()),2&G&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}let k=(()=>{class G{constructor(he){this.dialog=he,this.status="",this.statusChange=new e.vpe}changeStatus(){const he=(0,f.kZ)();he.width="500px",he.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(g.Qu,he).afterClosed().subscribe(Ne=>{Ne&&this.statusChange.emit()})}}return G.\u0275fac=function(he){return new(he||G)(e.Y36(v.uw))},G.\u0275cmp=e.Xpm({type:G,selectors:[["perun-web-apps-group-resource-status"]],inputs:{status:"status",groupId:"groupId",resourceId:"resourceId",theme:"theme",failureCause:"failureCause"},outputs:{statusChange:"statusChange"},decls:5,vars:4,consts:[[1,"flex-container"],["matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip","click"],[1,"green"],[1,"grey"],[1,"red"],["matTooltipPosition","above",3,"matTooltip"],[1,"black"]],template:function(he,re){1&he&&(e.TgZ(0,"div",0),e.YNc(1,R,4,3,"span",1),e.YNc(2,E,4,3,"span",1),e.YNc(3,h,4,4,"span",1),e.YNc(4,x,4,3,"span",2),e.qZA()),2&he&&(e.xp6(1),e.Q6J("ngIf","ACTIVE"===re.status),e.xp6(1),e.Q6J("ngIf","INACTIVE"===re.status),e.xp6(1),e.Q6J("ngIf","FAILED"===re.status),e.xp6(1),e.Q6J("ngIf","PROCESSING"===re.status))},directives:[m.O5,A.gM,s.Hw],pipes:[b.X$],styles:[""]}),G})()},82322:(Ze,ge,d)=>{"use strict";d.d(ge,{h:()=>m});var e=d(5e3),f=d(9244),g=d(42377),v=d(51062);let m=(()=>{class A{constructor(){this.groupSelected=new e.vpe,this.disableAutoSelect=!1,this.displayStatus=!1,this.nameFunction=b=>b.name}ngOnInit(){this.groups=this.groups.sort(f.aC)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275cmp=e.Xpm({type:A,selectors:[["perun-web-apps-group-search-select"]],inputs:{groups:"groups",disableAutoSelect:"disableAutoSelect",firstSelectedGroup:"firstSelectedGroup",displayStatus:"displayStatus"},outputs:{groupSelected:"groupSelected"},decls:4,vars:15,consts:[[1,"long-input",3,"entities","entity","displayStatus","disableAutoSelect","mainTextFunction","searchFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(b,R){if(1&b&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(h){return R.groupSelected.emit(h)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&b){let E;e.Q6J("entities",R.groups)("entity",null!==(E=R.firstSelectedGroup)&&void 0!==E?E:null)("displayStatus",R.displayStatus)("disableAutoSelect",R.disableAutoSelect)("mainTextFunction",R.nameFunction)("searchFunction",R.nameFunction)("selectPlaceholder",e.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.SELECT_GROUP"))("findPlaceholder",e.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.FIND_GROUP"))("noEntriesText",e.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.NO_GROUP_FOUND"))}},directives:[g.i],pipes:[v.X$],styles:[""]}),A})()},24179:(Ze,ge,d)=>{"use strict";d.d(ge,{W:()=>o});var e=d(5e3),f=d(84379),g=d(112),v=d(36908),m=d(9244),A=d(84847),s=d(32075),b=d(20449),R=d(69808),E=d(48966),h=d(18750),x=d(77446),k=d(29772),G=d(10441),X=d(25245),he=d(8223),re=d(47423),Ne=d(13449),ce=d(50301),Pe=d(11735),se=d(98380),V=d(51062),F=d(69773),W=d(21757),te=d(62383);let ae=(()=>{class t{transform(c){const p=c.attributes.find(T=>"groupMembershipExpiration"===T.baseFriendlyName);return p&&p.value?p.value:"Never"}}return t.\u0275fac=function(c){return new(c||t)},t.\u0275pipe=e.Yjl({name:"groupExpiration",type:t,pure:!0}),t})();function pe(t,i){if(1&t){const c=e.EpF();e.TgZ(0,"mat-checkbox",26),e.NdJ("change",function(T){e.CHM(c);const Se=e.oxw(2);return T?Se.masterToggle():null}),e.qZA()}if(2&t){const c=e.oxw(2);e.Q6J("aria-label",c.checkboxLabel())("checked",c.selection.hasValue()&&c.isAllSelected())("indeterminate",c.selection.hasValue()&&!c.isAllSelected())}}function Be(t,i){if(1&t&&(e.TgZ(0,"th",24),e.YNc(1,pe,1,3,"mat-checkbox",25),e.qZA()),2&t){const c=e.oxw();e.xp6(1),e.Q6J("ngIf",!c.disableHeadCheckbox)}}function Fe(t,i){if(1&t){const c=e.EpF();e.TgZ(0,"td",27),e.TgZ(1,"span",28),e.ALo(2,"translate"),e.TgZ(3,"mat-checkbox",29),e.NdJ("change",function(T){const je=e.CHM(c).$implicit,Et=e.oxw();return T?Et.itemSelectionToggle(je):null})("click",function(T){return T.stopPropagation()}),e.qZA(),e.qZA(),e.qZA()}if(2&t){const c=i.$implicit,p=e.oxw();e.xp6(1),e.s9C("matTooltip",e.lcZ(2,7,p.getCheckboxTooltipMessage(c))),e.Q6J("matTooltipPosition","above")("matTooltipDisabled",!p.disableSelect(c)),e.xp6(2),e.Q2q("data-cy","",c.name,"-checkbox"),e.Q6J("aria-label",p.checkboxLabel(c))("checked",p.selection.isSelected(c))("disabled","members"===c.name&&p.disableMembers||p.disableSelect(c))}}function ke(t,i){1&t&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_ID")," "))}function De(t,i){if(1&t&&(e.TgZ(0,"td",31),e._uU(1),e.qZA()),2&t){const c=i.$implicit;e.xp6(1),e.Oqu(c.id)}}function be(t,i){1&t&&e._UZ(0,"th",32)}function z(t,i){if(1&t&&(e.TgZ(0,"td",33),e._UZ(1,"perun-web-apps-recently-viewed-icon",34),e.qZA()),2&t){const c=i.$implicit,p=e.oxw();e.xp6(1),e.Q6J("recentIds",p.recentIds)("id",c.id)}}function Ce(t,i){1&t&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_VO_NAME")," "))}function J(t,i){if(1&t&&(e.TgZ(0,"td",31),e._uU(1),e.qZA()),2&t){const c=i.$implicit,p=e.oxw();e.xp6(1),e.hij(" ",p.voNames.get(c.voId)," ")}}function I(t,i){1&t&&e._UZ(0,"th",32)}function Ie(t,i){1&t&&(e.TgZ(0,"mat-icon",36),e.ALo(1,"translate"),e._uU(2,"account_tree"),e.qZA()),2&t&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.INDIRECT_GROUP"))}function Re(t,i){1&t&&(e.TgZ(0,"mat-icon",36),e.ALo(1,"translate"),e._uU(2,"alt_route"),e.qZA()),2&t&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.MULTIPLE_ASSIGNMENTS"))}function ze(t,i){if(1&t&&(e.TgZ(0,"td",33),e.YNc(1,Ie,3,3,"mat-icon",35),e.YNc(2,Re,3,3,"mat-icon",35),e.qZA()),2&t){const c=i.$implicit;e.xp6(1),e.Q6J("ngIf",c.sourceGroupId&&!c.moreTypesOfAssignment),e.xp6(1),e.Q6J("ngIf",c.moreTypesOfAssignment)}}function fe(t,i){1&t&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_NAME")," "))}function ve(t,i){if(1&t&&(e.TgZ(0,"td",33),e._uU(1),e.qZA()),2&t){const c=i.$implicit;e.uIk("data-cy",c.name),e.xp6(1),e.hij(" ",c.name," ")}}function We(t,i){1&t&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")," "))}function nt(t,i){if(1&t){const c=e.EpF();e.TgZ(0,"td",37),e.TgZ(1,"perun-web-apps-group-resource-status",38),e.NdJ("mouseenter",function(){return e.CHM(c),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(c);const T=e.oxw();return T.disabledRouting=T.disableRouting})("statusChange",function(){return e.CHM(c),e.oxw().refreshTable.emit()}),e.qZA(),e.qZA()}if(2&t){const c=i.$implicit,p=e.oxw();e.xp6(1),e.Q6J("theme","resource-theme")("groupId",c.id)("resourceId",p.resourceId)("failureCause",c.failureCause)("status",c.status)}}function st(t,i){1&t&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")," "))}function dt(t,i){if(1&t&&(e.TgZ(0,"td",33),e.TgZ(1,"i",39),e.ALo(2,"memberStatusIconColor"),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"memberStatusIcon"),e.qZA(),e.qZA(),e.qZA()),2&t){const c=i.$implicit,p=e.oxw();e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,p.getStatusAttribute(c)),""),e.s9C("matTooltip",p.getStatusAttribute(c)),e.xp6(3),e.hij(" ",e.lcZ(5,7,p.getStatusAttribute(c))," ")}}function L(t,i){1&t&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_DESCRIPTION")," "))}function de(t,i){if(1&t&&(e.TgZ(0,"td",37),e._uU(1),e.qZA()),2&t){const c=i.$implicit;e.xp6(1),e.Oqu(c.description)}}function M(t,i){1&t&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_EXPIRATION")," "))}function S(t,i){if(1&t){const c=e.EpF();e.TgZ(0,"button",41),e.NdJ("click",function(){e.CHM(c);const T=e.oxw().$implicit;return e.oxw().changeExpiration(T)})("mouseenter",function(){return e.CHM(c),e.oxw(2).disabledRouting=!0})("mouseleave",function(){e.CHM(c);const T=e.oxw(2);return T.disabledRouting=T.disableRouting}),e.TgZ(1,"mat-icon"),e._uU(2,"edit"),e.qZA(),e.qZA()}}function P(t,i){if(1&t&&(e.TgZ(0,"td",37),e._uU(1),e.ALo(2,"parseDate"),e.ALo(3,"groupExpiration"),e.YNc(4,S,3,0,"button",40),e.qZA()),2&t){const c=i.$implicit,p=e.oxw();e.xp6(1),e.hij(" ",e.lcZ(2,2,e.lcZ(3,4,c))," "),e.xp6(3),e.Q6J("ngIf",p.canManageGroup(c))}}function N(t,i){1&t&&e._UZ(0,"th",32)}function ne(t,i){if(1&t){const c=e.EpF();e.TgZ(0,"td",33),e.TgZ(1,"perun-web-apps-group-menu",42),e.NdJ("mouseenter",function(){return e.CHM(c),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(c);const T=e.oxw();return T.disabledRouting=T.disableRouting})("moveGroup",function(){const Se=e.CHM(c).$implicit;return e.oxw().onMoveGroup(Se)})("changeNameDescription",function(){const Se=e.CHM(c).$implicit;return e.oxw().onChangeNameDescription(Se)})("syncGroup",function(){const Se=e.CHM(c).$implicit;return e.oxw().onSyncDetail(Se)}),e.qZA(),e.qZA()}if(2&t){const c=i.$implicit,p=e.oxw();e.xp6(1),e.Q6J("disabled","members"===c.name)("displayButtons",p.displayButtons)("group",c)}}function j(t,i){1&t&&e._UZ(0,"tr",43)}const Te=function(t,i){return["/organizations",t,"groups",i]};function n(t,i){if(1&t&&e._UZ(0,"tr",44),2&t){const c=i.$implicit,p=e.oxw();e.ekj("cursor-pointer",!p.disableRouting&&!p.groupsToDisableRouting.has(c.id))("disable-outline",p.disabledRouting||p.groupsToDisableRouting.has(c.id)),e.Q6J("perunWebAppsMiddleClickRouterLink",p.disabledRouting||p.groupsToDisableRouting.has(c.id)?null:e.WLB(6,Te,c.voId,c.id))("routerLink",p.disabledRouting||p.groupsToDisableRouting.has(c.id)?null:e.WLB(9,Te,c.voId,c.id))}}function r(t,i){1&t&&(e.TgZ(0,"app-alert",45),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_GROUPS"),"\n"))}function u(t,i){1&t&&(e.TgZ(0,"app-alert",45),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let o=(()=>{class t{constructor(c,p,T,Se,je){this.dialog=c,this.authResolver=p,this.voService=T,this.tableCheckbox=Se,this.changeDetector=je,this.displayButtons=window.innerWidth>800,this.theme="group-theme",this.moveGroup=new e.vpe,this.groups=[],this.selection=new b.Ov(!0,[]),this.hasMembersGroup=!1,this.displayedColumns=["select","id","recent","vo","indirectGroupAssigment","name","status","groupStatus","description","expiration","menu"],this.groupsToDisableCheckbox=new Set,this.groupsToDisableRouting=new Set,this.filter="",this.disableRouting=!1,this.pageSizeOptions=m.f7,this.recentIds=[],this.resourceId=null,this.refreshTable=new e.vpe,this.disabledRouting=!1,this.voIds=new Set,this.voNames=new Map,this.canBeSelected=Et=>!("members"===Et.name&&this.disableMembers||this.disableSelect(Et))}set matSort(c){this.sort=c}shouldHideButtons(){this.displayButtons=window.innerWidth>800}ngOnChanges(){this.disabledRouting=this.disableRouting,this.hasMembersGroup=this.checkIfHasMembersGroup(),this.updateVoNames(),this.setDataSource(),this.authType&&(this.removeAuth=this.setAuth())}checkIfHasMembersGroup(){for(const c of this.groups)if("members"===c.name)return!0;return!1}getDataForColumn(c,p,T){switch(p){case"id":return c.id.toString();case"vo":return T.voNames.get(c.voId);case"name":return c.name;case"description":return c.description;case"expiration":{const Se=(0,m.x2)(c);return(0,m.sG)(Se)}case"recent":return"";case"status":return c.status;case"uuid":return c.uuid;default:return c[p]}}getSortDataForColumn(c,p,T){switch(p){case"id":return c.id.toString();case"vo":return T.voNames.get(c.voId);case"name":return c.name;case"description":return c.description;case"expiration":{const Se=(0,m.x2)(c);return Se&&"never"!==Se.toLowerCase()?(0,R.p6)(Se,"yyyy.MM.dd","en"):Se}case"recent":return T.recentIds&&T.recentIds.indexOf(c.id)>-1?"#".repeat(T.recentIds.indexOf(c.id)):c.name;case"status":return c.status;default:return c[p]}}exportData(c){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),c)}setDataSource(){this.dataSource||(this.dataSource=new s.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(c,p)=>(0,m.Sd)(c,p,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(c,p)=>(0,m.pR)(c,p,this.getSortDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.groups}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.authType&&(this.removeAuth=this.setAuth())}checkboxLabel(c){return c?`${this.selection.isSelected(c)?"deselect":"select"} row ${c.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}disableSelect(c){return this.disableGroups&&(this.groupsToDisableCheckbox.has(c.id)||this.isSynchronized(c))}ngAfterViewInit(){void 0===this.vo&&0!==this.groups.length&&(this.vo={id:this.groups[0].voId,beanName:"Vo"}),this.shouldHideButtons(),this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(c=>"id"!==c),this.changeDetector.detectChanges())}onMoveGroup(c){this.moveGroup.emit(c)}onSyncDetail(c){const p=(0,m.kZ)();p.data={groupId:c.id,theme:this.theme},this.dialog.open(f.Bp,p)}onChangeNameDescription(c){const p=(0,m.kZ)();p.data={theme:"group-theme",group:c,dialogType:f.Eg.GROUP},this.dialog.open(f.rd,p).afterClosed().subscribe(Se=>{Se&&this.refreshTable.emit()})}setAuth(){return"group-subgroups"===this.authType?this.selection.selected.reduce((c,p)=>c&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[p]),!0):"group-relations"===this.authType?this.selection.selected.reduce((c,p)=>c&&this.authResolver.isAuthorized("removeGroupUnion_Group_Group_policy",[this.parentGroup,p]),!0):"vo-groups"===this.authType?this.selection.selected.reduce((c,p)=>c&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[this.vo,p]),!0):"member-groups"===this.authType?this.selection.selected.reduce((c,p)=>c&&this.authResolver.isAuthorized("removeMember_Member_List_policy",[p]),!0):"application-form-manage-groups"===this.authType?this.selection.selected.reduce((c,p)=>c&&this.authResolver.isAuthorized("deleteGroupsFromAutoRegistration_List_policy",[this.vo,p]),!0):void 0}itemSelectionToggle(c){this.selection.toggle(c),this.removeAuth=this.setAuth()}isSynchronized(c){return!!c.attributes&&c.attributes.some(p=>"synchronizationEnabled"===p.friendlyName&&null!==p.value&&"true"===p.value.toString())}getCheckboxTooltipMessage(c){return"create-relation-dialog"===this.authType?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.CREATE_RELATION_AUTH_TOOLTIP":this.isSynchronized(c)?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.SYNCHRONIZED_GROUP":c.sourceGroupId?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.INDIRECT_GROUP":"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.ALREADY_MEMBER_TOOLTIP"}updateVoNames(){this.displayedColumns.includes("vo")&&(this.groups.forEach(c=>{this.voIds.has(c.voId)||this.voIds.add(c.voId)}),this.voIds.size>0&&this.voService.getVosByIds([...this.voIds]).subscribe(c=>{c.forEach(p=>{this.voNames.set(p.id,p.name)})}))}changeExpiration(c){const p=c.attributes.find(je=>"groupMembershipExpiration"===je.baseFriendlyName),T=(0,m.kZ)();T.width="400px",T.data={memberId:this.memberId,groupId:c.id,expirationAttr:p,mode:"group",status:this.memberGroupStatus},this.dialog.open(f.u3,T).afterClosed().subscribe(je=>{je&&this.refreshTable.emit()})}canManageGroup(c){return this.authResolver.isThisGroupAdmin(c.id)||this.authResolver.isThisVoAdmin(c.voId)}getStatusAttribute(c){const p=c.attributes.find(T=>"groupStatus"===T.baseFriendlyName);return null!=p?p.value.toString():""}}return t.\u0275fac=function(c){return new(c||t)(e.Y36(E.uw),e.Y36(v.x4),e.Y36(g.YF),e.Y36(v.UA),e.Y36(e.sBO))},t.\u0275cmp=e.Xpm({type:t,selectors:[["perun-web-apps-groups-list"]],viewQuery:function(c,p){if(1&c&&(e.Gf(A.YE,7),e.Gf(m.l9,7)),2&c){let T;e.iGM(T=e.CRH())&&(p.matSort=T.first),e.iGM(T=e.CRH())&&(p.child=T.first)}},hostBindings:function(c,p){1&c&&e.NdJ("resize",function(Se){return p.shouldHideButtons(Se)},!1,e.Jf7)},inputs:{theme:"theme",groups:"groups",selection:"selection",displayedColumns:"displayedColumns",disableMembers:"disableMembers",disableGroups:"disableGroups",groupsToDisableCheckbox:"groupsToDisableCheckbox",groupsToDisableRouting:"groupsToDisableRouting",filter:"filter",disableHeadCheckbox:"disableHeadCheckbox",parentGroup:"parentGroup",disableRouting:"disableRouting",authType:"authType",memberId:"memberId",memberGroupStatus:"memberGroupStatus",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",resourceId:"resourceId",tableId:"tableId"},outputs:{moveGroup:"moveGroup",refreshTable:"refreshTable"},features:[e.TTD],decls:40,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","tableId","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","vo"],["matColumnDef","indirectGroupAssigment"],["matColumnDef","name"],["matColumnDef","status"],["class","wrap-content","mat-cell","",4,"matCellDef"],["matColumnDef","groupStatus"],["matColumnDef","description"],["matColumnDef","expiration"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"],["mat-cell","",1,"wrap-content"],[3,"theme","groupId","resourceId","failureCause","status","mouseenter","mouseleave","statusChange"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip"],["mat-icon-button","",3,"click","mouseenter","mouseleave",4,"ngIf"],["mat-icon-button","",3,"click","mouseenter","mouseleave"],[3,"disabled","displayButtons","group","mouseenter","mouseleave","moveGroup","changeNameDescription","syncGroup"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(c,p){1&c&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(Se){return p.exportData(Se)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,Be,2,1,"th",4),e.YNc(5,Fe,4,9,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,ke,3,3,"th",7),e.YNc(8,De,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,be,1,0,"th",10),e.YNc(11,z,2,2,"td",11),e.BQk(),e.ynx(12,12),e.YNc(13,Ce,3,3,"th",7),e.YNc(14,J,2,1,"td",8),e.BQk(),e.ynx(15,13),e.YNc(16,I,1,0,"th",10),e.YNc(17,ze,3,2,"td",11),e.BQk(),e.ynx(18,14),e.YNc(19,fe,3,3,"th",7),e.YNc(20,ve,2,2,"td",11),e.BQk(),e.ynx(21,15),e.YNc(22,We,3,3,"th",7),e.YNc(23,nt,2,5,"td",16),e.BQk(),e.ynx(24,17),e.YNc(25,st,3,3,"th",7),e.YNc(26,dt,6,9,"td",11),e.BQk(),e.ynx(27,18),e.YNc(28,L,3,3,"th",7),e.YNc(29,de,2,1,"td",16),e.BQk(),e.ynx(30,19),e.YNc(31,M,3,3,"th",7),e.YNc(32,P,5,6,"td",16),e.BQk(),e.ynx(33,20),e.YNc(34,N,1,0,"th",10),e.YNc(35,ne,2,3,"td",11),e.BQk(),e.YNc(36,j,1,0,"tr",21),e.YNc(37,n,1,12,"tr",22),e.qZA(),e.qZA(),e.qZA(),e.YNc(38,r,3,3,"app-alert",23),e.YNc(39,u,3,3,"app-alert",23)),2&c&&(e.Q6J("hidden",0===p.groups.length||!p.dataSource||0===p.dataSource.filteredData.length),e.xp6(1),e.Q6J("dataLength",p.dataSource.filteredData.length)("pageSizeOptions",p.pageSizeOptions)("tableId",p.tableId),e.xp6(1),e.Q6J("dataSource",p.dataSource),e.xp6(34),e.Q6J("matHeaderRowDef",p.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",p.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===p.groups.length),e.xp6(1),e.Q6J("ngIf",0===p.dataSource.filteredData.length&&0!==p.groups.length))},directives:[h.l,s.BZ,A.YE,s.w1,s.fO,s.ge,R.O5,x.oG,s.Dz,s.ev,k.gM,A.nU,G.W,X.Hw,he.x,re.lW,Ne.i,s.as,s.XQ,s.nj,s.Gk,ce.YH,Pe.rH,se.w],pipes:[V.X$,F.u,W.f,te.M,ae],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important}.static-column-size[_ngcontent-%COMP%]{width:80px}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),t})()},58956:(Ze,ge,d)=>{"use strict";d.d(ge,{I:()=>Fe});var e=d(5e3),f=d(90149),g=d(28258),v=d(20449);class m{constructor(De){this.id=De.id,this.name=De.name,this.parentGroupId=De.parentGroupId,this.voId=De.voId,this.shortName=De.shortName,this.description=De.description,this.attributes=De.attributes,this.beanName=De.beanName}addChild(De){null==this.children?this.children=[De]:this.children.push(De)}}var A=d(9244),s=d(84379),b=d(36908),R=d(48966),E=d(69808),h=d(53435),x=d(77446),k=d(11735),G=d(47423),X=d(25245),he=d(29772),re=d(13449),Ne=d(98380),ce=d(51062);const Pe=["scrollViewport"];function se(ke,De){if(1&ke){const be=e.EpF();e.TgZ(0,"mat-checkbox",19),e.NdJ("change",function(){e.CHM(be);const Ce=e.oxw().$implicit;return e.oxw(2).itemSelectionToggle(Ce)}),e.qZA()}if(2&ke){const be=e.oxw().$implicit,z=e.oxw(2);e.Q2q("data-cy","",be.name,"-checkbox"),e.Q6J("disabled","members"===be.fullName)("checked",z.selection.isSelected(be))("indeterminate",z.descendantsPartiallySelected(be))}}function V(ke,De){if(1&ke&&(e.TgZ(0,"mat-icon",20),e._uU(1),e.qZA()),2&ke){const be=e.oxw().$implicit,z=e.oxw(2);e.xp6(1),e.hij(" ",z.treeControl.isExpanded(be)?"expand_more":"chevron_right"," ")}}function F(ke,De){if(1&ke&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&ke){const be=e.oxw().$implicit;e.xp6(1),e.hij(" #",be.id," ")}}const W=function(ke,De){return["/organizations",ke,"groups",De]};function te(ke,De){if(1&ke){const be=e.EpF();e.ynx(0),e.TgZ(1,"div",6),e.YNc(2,se,1,4,"mat-checkbox",7),e.TgZ(3,"a",8),e.TgZ(4,"button",9),e.NdJ("mouseenter",function(){return e.CHM(be),e.oxw(2).disableRouting=!0})("mouseleave",function(){return e.CHM(be),e.oxw(2).disableRouting=!1})("click",function(){const J=e.CHM(be).$implicit;return e.oxw(2).treeControl.toggle(J)}),e.YNc(5,V,2,1,"mat-icon",10),e.qZA(),e.TgZ(6,"div",11),e.TgZ(7,"span",12),e._uU(8),e.qZA(),e.YNc(9,F,2,1,"span",13),e.qZA(),e.TgZ(10,"div",14,15),e.TgZ(12,"span",16),e._uU(13),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"div",17),e.TgZ(15,"perun-web-apps-group-menu",18),e.NdJ("moveGroup",function(){const J=e.CHM(be).$implicit;return e.oxw(2).onMoveGroup(J)})("syncGroup",function(){const J=e.CHM(be).$implicit;return e.oxw(2).onSyncDetail(J)})("changeNameDescription",function(){const J=e.CHM(be).$implicit;return e.oxw(2).onChangeNameDescription(J)}),e.qZA(),e.qZA(),e.qZA(),e.BQk()}if(2&ke){const be=De.$implicit,z=e.oxw(2);e.xp6(1),e.Udp("padding-left",24*be.level+"px"),e.xp6(1),e.Q6J("ngIf",!z.hideCheckbox),e.xp6(1),e.Q6J("routerLink",z.disableRouting?null:e.WLB(15,W,be.voId,be.id)),e.xp6(1),e.Q6J("disabled",!be.expandable),e.uIk("aria-label","toggle "+be.name),e.xp6(1),e.Q6J("ngIf",be.expandable),e.xp6(2),e.uIk("data-cy",be.name),e.xp6(1),e.hij(" ",be.name," "),e.xp6(1),e.Q6J("ngIf",z.authResolver.isPerunAdminOrObserver()),e.xp6(3),e.s9C("matTooltip",be.description),e.xp6(1),e.hij(" ",be.description," "),e.xp6(2),e.Q6J("disabled","members"===be.fullName)("displayButtons",z.displayButtons)("group",be)}}const ae=function(ke){return{height:ke}};function pe(ke,De){if(1&ke&&(e.TgZ(0,"div",2),e.TgZ(1,"cdk-virtual-scroll-viewport",3,4),e.YNc(3,te,16,18,"ng-container",5),e.qZA(),e.qZA()),2&ke){const be=e.oxw();e.xp6(1),e.Q6J("minBufferPx",240)("maxBufferPx",480)("ngStyle",e.VKq(4,ae,be.getTreeViewHeight())),e.xp6(2),e.Q6J("cdkVirtualForOf",be.dataSource)}}function Be(ke,De){1&ke&&(e.TgZ(0,"app-alert",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ke&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let Fe=(()=>{class ke{constructor(be,z,Ce){this.cd=be,this.dialog=z,this.authResolver=Ce,this.transformer=(J,I)=>({expandable:!!J.children&&J.children.length>0,name:J.shortName,fullName:J.name,parentGroupId:J.parentGroupId,level:I,id:J.id,voId:J.voId,attributes:J.attributes,beanName:J.beanName,description:J.description}),this.displayButtons=window.innerWidth>600,this.theme="group-theme",this.moveGroup=new e.vpe,this.refreshTable=new e.vpe,this.expandAll=!1,this.disableRouting=!1,this.selection=new v.Ov(!0,[]),this.hideCheckbox=!1,this.treeControl=new g.C2(J=>J.level,J=>J.expandable),this.treeFlattener=new f.JZ(this.transformer,J=>J.level,J=>J.expandable,J=>J.children),this.dataSource=new f.kc(this.treeControl,this.treeFlattener),this.hasChild=(J,I)=>I.expandable,this.getLevel=J=>J.level}shouldHideButtons(){this.displayButtons=window.innerWidth>600}ngOnChanges(){if(this.expandAll){this.filteredGroups=this.groups.filter(be=>{var z,Ce;return(null===(z=be.name)||void 0===z?void 0:z.toLowerCase().includes(this.filterValue.toLowerCase()))||(null===(Ce=be.description)||void 0===Ce?void 0:Ce.toLowerCase().includes(this.filterValue.toLowerCase()))||be.id.toString().includes(this.filterValue.toLowerCase())||be.uuid.toLowerCase().includes(this.filterValue.toLowerCase())});for(const be of this.filteredGroups)be.parentGroupId&&(this.filteredGroups=this.filteredGroups.concat((0,A.oU)(be.parentGroupId,this.groups)))}else this.filteredGroups=this.groups;this.createGroupTrees(this.filteredGroups),this.expandAll&&this.treeControl.expandAll(),this.removeAuth=this.setRemoveAuth()}onSyncDetail(be){const z=(0,A.kZ)();z.data={groupId:be.id,theme:this.theme},this.dialog.open(s.Bp,z)}onChangeNameDescription(be){const z=(0,A.kZ)();z.data={theme:"group-theme",group:be,dialogType:s.Eg.GROUP},this.dialog.open(s.rd,z).afterClosed().subscribe(J=>{J&&this.refreshTable.emit()})}createGroupTrees(be){const z=new Map;for(const I of be)z.set(I.id,new m(I));const Ce=new Set;z.forEach((I,Ie,Re)=>{const ze=Re.get(I.parentGroupId);void 0!==ze&&(ze.addChild(I),Re.set(I.parentGroupId,ze)),null!==I.parentGroupId&&void 0===ze&&Ce.add(I.id)});const J=[];z.forEach(I=>{(null===I.parentGroupId||Ce.has(I.id))&&J.push(I)}),this.dataSource.data=J,this.cd.detectChanges()}getParentNode(be){const z=this.getLevel(be);if(z<1)return null;for(let J=this.treeControl.dataNodes.indexOf(be)-1;J>=0;J--){const I=this.treeControl.dataNodes[J];if(this.getLevel(I)this.selection.isSelected(I));z&&!J&&this.selection.deselect(be)}checkAllParentsSelection(be){let z=this.getParentNode(be);for(;z;)this.checkRootNodeSelection(z),z=this.getParentNode(z);this.removeAuth=this.setRemoveAuth()}descendantsPartiallySelected(be){return this.treeControl.getDescendants(be).some(J=>this.selection.isSelected(J))&&!this.selection.isSelected(be)}itemSelectionToggle(be){this.selection.toggle(be);const z=this.treeControl.getDescendants(be);this.selection.isSelected(be)?this.selection.select(...z):this.selection.deselect(...z),z.every(Ce=>this.selection.isSelected(Ce)),this.checkAllParentsSelection(be)}setRemoveAuth(){return this.selection.selected.reduce(void 0!==this.vo?(be,z)=>be&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[this.vo,z]):(be,z)=>be&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[z]),!0)}onMoveGroup(be){this.moveGroup.emit(be)}getTreeViewHeight(){let be=0;this.scrollViewport&&(be=this.scrollViewport.getDataLength());let z=48*be;return z>672&&(z=696),this.scrollViewport&&this.scrollViewport.checkViewportSize(),z+"px"}}return ke.\u0275fac=function(be){return new(be||ke)(e.Y36(e.sBO),e.Y36(R.uw),e.Y36(b.x4))},ke.\u0275cmp=e.Xpm({type:ke,selectors:[["perun-web-apps-groups-tree"]],viewQuery:function(be,z){if(1&be&&e.Gf(Pe,5),2&be){let Ce;e.iGM(Ce=e.CRH())&&(z.scrollViewport=Ce.first)}},hostBindings:function(be,z){1&be&&e.NdJ("resize",function(J){return z.shouldHideButtons(J)},!1,e.Jf7)},inputs:{theme:"theme",groups:"groups",filterValue:"filterValue",expandAll:"expandAll",disableRouting:"disableRouting",selection:"selection",hideCheckbox:"hideCheckbox",vo:"vo"},outputs:{moveGroup:"moveGroup",refreshTable:"refreshTable"},features:[e.TTD],decls:2,vars:2,consts:[["class","card mt-2",4,"ngIf"],["alert_type","warn",4,"ngIf"],[1,"card","mt-2"],["itemSize","48",1,"virtual-scroll-container",3,"minBufferPx","maxBufferPx","ngStyle"],["scrollViewport",""],[4,"cdkVirtualFor","cdkVirtualForOf"],[1,"node"],["color","primary","class","no-label-margin-bottom ml-4",3,"disabled","checked","indeterminate","change",4,"ngIf"],["queryParamsHandling","merge",1,"group-item-content","text-format",3,"routerLink"],["mat-icon-button","",3,"disabled","mouseenter","mouseleave","click"],["class","mat-icon-rtl-mirror",4,"ngIf"],[1,"w-50"],[1,"mr-2"],["class","text-muted",4,"ngIf"],[1,"w-50","text-muted","description-text"],["rootDescription",""],["matTooltipPosition","before",3,"matTooltip"],[1,"group-buttons"],[3,"disabled","displayButtons","group","moveGroup","syncGroup","changeNameDescription"],["color","primary",1,"no-label-margin-bottom","ml-4",3,"disabled","checked","indeterminate","change"],[1,"mat-icon-rtl-mirror"],[1,"text-muted"],["alert_type","warn"]],template:function(be,z){1&be&&(e.YNc(0,pe,4,6,"div",0),e.YNc(1,Be,3,3,"app-alert",1)),2&be&&(e.Q6J("ngIf",0!==z.filteredGroups.length),e.xp6(1),e.Q6J("ngIf",0===z.filteredGroups.length))},directives:[E.O5,h.N7,h.xd,E.PC,h.x0,x.oG,k.yS,G.lW,X.Hw,he.gM,re.i,Ne.w],pipes:[ce.X$],styles:[".group-tree-node[_ngcontent-%COMP%]:hover{background-color:#0000000d}.group-item-content[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:48px;flex:1;overflow:hidden;word-wrap:break-word}mat-tree-node[_ngcontent-%COMP%]{cursor:pointer}.description-text[_ngcontent-%COMP%]{display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.virtual-scroll-container[_ngcontent-%COMP%]{overflow:auto}cdk-tree-node[_ngcontent-%COMP%]{display:block}.node[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:48px;flex:1;word-wrap:break-word;cursor:pointer}.node[_ngcontent-%COMP%]:hover{background-color:#0000000d}.text-format[_ngcontent-%COMP%]{text-decoration:none;color:#000;font-weight:400!important}"]}),ke})()},52314:(Ze,ge,d)=>{"use strict";d.d(ge,{X:()=>k});var e=d(112),f=d(36908),g=d(5e3),v=d(51062),m=d(69808),A=d(47423),s=d(92181),b=d(29772),R=d(25245);const E=function(G){return{color:G}};function h(G,X){if(1&G&&(g.TgZ(0,"button",8),g.ALo(1,"translate"),g.TgZ(2,"mat-icon",4),g._uU(3," apps "),g.qZA(),g.qZA()),2&G){const he=g.oxw(),re=g.MAs(2);g.Q6J("matMenuTriggerFor",re)("matTooltip",g.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),g.xp6(2),g.Q6J("ngStyle",g.VKq(5,E,he.iconColor))}}function x(G,X){if(1&G){const he=g.EpF();g.TgZ(0,"button",2),g.NdJ("click",function(){return g.CHM(he),g.oxw().onLogOut()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}2&G&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"NAV.LOGOUT")," "))}let k=(()=>{class G{constructor(he,re,Ne,ce){this.authService=he,this.authzResolverService=re,this.notificator=Ne,this.translateService=ce}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return G.\u0275fac=function(he){return new(he||G)(g.Y36(f.e8),g.Y36(e.Ct),g.Y36(f.V6),g.Y36(v.sK))},G.\u0275cmp=g.Xpm({type:G,selectors:[["perun-web-apps-header-menu"]],inputs:{user:"user",iconColor:"iconColor",textColor:"textColor",logoutEnabled:"logoutEnabled",url:"url",label:"label"},decls:14,vars:15,consts:[["mat-icon-button","",3,"matMenuTriggerFor","matTooltip",4,"ngIf"],["appsMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],[1,"d-none","d-lg-inline",3,"ngStyle"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"]],template:function(he,re){if(1&he&&(g.YNc(0,h,4,7,"button",0),g.TgZ(1,"mat-menu",null,1),g.TgZ(3,"button",2),g.NdJ("click",function(){return re.redirectToUrl()}),g.TgZ(4,"span"),g._uU(5),g.qZA(),g.qZA(),g.qZA(),g.TgZ(6,"button",3),g.TgZ(7,"mat-icon",4),g._uU(8," person "),g.qZA(),g.TgZ(9,"span",5),g._uU(10),g.qZA(),g.qZA(),g.TgZ(11,"mat-menu",null,6),g.YNc(13,x,3,3,"button",7),g.qZA()),2&he){const Ne=g.MAs(12);g.Q6J("ngIf",re.url),g.xp6(5),g.Oqu(re.label),g.xp6(1),g.Q6J("matMenuTriggerFor",Ne),g.xp6(1),g.Q6J("ngStyle",g.VKq(11,E,re.iconColor)),g.xp6(2),g.Q6J("ngStyle",g.VKq(13,E,re.textColor)),g.xp6(1),g.xDo(" ",re.user.titleBefore," ",re.user.firstName," ",re.user.middleName," ",re.user.lastName," ",re.user.titleAfter," "),g.xp6(3),g.Q6J("ngIf",re.logoutEnabled)}},directives:[m.O5,A.lW,s.p6,b.gM,R.Hw,m.PC,s.VK,s.OP],pipes:[v.X$],styles:["@media (max-width: 991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),G})()},7434:(Ze,ge,d)=>{"use strict";d.d(ge,{L:()=>E});var e=d(5e3),f=d(93075),g=d(67322),v=d(69808),m=d(98833),A=d(50301),s=d(51062);function b(h,x){if(1&h&&(e._UZ(0,"input",3),e.ALo(1,"translate")),2&h){const k=e.oxw();e.s9C("placeholder",e.lcZ(1,2,k.placeholder)),e.Q6J("formControl",k.formControl)}}function R(h,x){if(1&h&&(e._UZ(0,"input",4),e.ALo(1,"translate")),2&h){const k=e.oxw();e.s9C("placeholder",e.lcZ(1,2,k.placeholder)),e.Q6J("formControl",k.formControl)}}let E=(()=>{class h{constructor(){this.filter=new e.vpe,this.autoFocus=!1,this.formControl=new f.NI}ngOnInit(){this.formControl.valueChanges.subscribe(k=>{let G=k.trim();G=G.toLowerCase(),this.filter.emit(G)})}}return h.\u0275fac=function(k){return new(k||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","mr-2"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(k,G){1&k&&(e.TgZ(0,"mat-form-field",0),e.YNc(1,b,2,4,"input",1),e.YNc(2,R,2,4,"input",2),e.qZA()),2&k&&(e.xp6(1),e.Q6J("ngIf",G.autoFocus),e.xp6(1),e.Q6J("ngIf",!G.autoFocus))},directives:[g.KE,v.O5,m.Nt,f.Fj,A.hT,f.JJ,f.oH],pipes:[s.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),h})()},4811:(Ze,ge,d)=>{"use strict";d.d(ge,{m:()=>ne});var e=d(84847),f=d(9244),g=d(84379),v=d(36908),m=d(36787),A=d(22868),s=d(5e3),b=d(48966),R=d(10036),E=d(18750),h=d(69808),x=d(20773),k=d(32075),G=d(77446),X=d(25245),he=d(29772),re=d(50301),Ne=d(11735),ce=d(98380),Pe=d(51062),se=d(31359),V=d(69773),F=d(12856),W=d(21757),te=d(96974),ae=d(20919),pe=d(5865);function Be(j,Te){1&j&&(s.TgZ(0,"div",22),s._UZ(1,"mat-spinner",23),s.qZA())}function Fe(j,Te){if(1&j){const n=s.EpF();s.TgZ(0,"th",24),s.TgZ(1,"mat-checkbox",25),s.NdJ("change",function(u){s.CHM(n);const o=s.oxw();return u?o.masterToggle():null}),s.qZA(),s.qZA()}if(2&j){const n=s.oxw();s.xp6(1),s.Q6J("aria-label",n.checkboxLabel())("checked",n.selection.hasValue()&&n.isAllSelected())("indeterminate",n.selection.hasValue()&&!n.isAllSelected())}}function ke(j,Te){if(1&j){const n=s.EpF();s.TgZ(0,"td",26),s.TgZ(1,"mat-checkbox",27),s.NdJ("change",function(u){const t=s.CHM(n).$implicit,i=s.oxw();return u?i.selection.toggle(t):null})("click",function(u){return u.stopPropagation()}),s.ALo(2,"lowercase"),s.qZA(),s.qZA()}if(2&j){const n=Te.$implicit,r=s.oxw();s.xp6(1),s.Q2q("data-cy","",s.lcZ(2,3,n.user.firstName),"-checkbox"),s.Q6J("aria-label",r.checkboxLabel(n))("checked",r.selection.isSelected(n))}}function De(j,Te){1&j&&(s.TgZ(0,"th",28),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&j&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.ID")))}function be(j,Te){if(1&j&&(s.TgZ(0,"td",29),s._uU(1),s.qZA()),2&j){const n=Te.$implicit;s.xp6(1),s.Oqu(n.id)}}function z(j,Te){1&j&&s._UZ(0,"th",28)}function Ce(j,Te){if(1&j){const n=s.EpF();s.TgZ(0,"mat-icon",32),s.NdJ("click",function(u){s.CHM(n);const o=s.oxw().$implicit;return s.oxw().viewMemberGroupTree(u,o)}),s.ALo(1,"translate"),s._uU(2,"transfer_within_a_station"),s.qZA()}2&j&&s.Q6J("matTooltip",s.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function J(j,Te){if(1&j&&(s.TgZ(0,"td",30),s.YNc(1,Ce,3,3,"mat-icon",31),s.qZA()),2&j){const n=Te.$implicit;s.xp6(1),s.Q6J("ngIf","DIRECT"!==n.membershipType)}}function I(j,Te){1&j&&(s.TgZ(0,"th",28),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&j&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"MEMBERS_LIST.NAME")," "))}function Ie(j,Te){if(1&j&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"userFullName"),s.qZA()),2&j){const n=Te.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,n.user))}}function Re(j,Te){1&j&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&j&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.STATUS")))}function ze(j,Te){if(1&j){const n=s.EpF();s.TgZ(0,"td",30),s.TgZ(1,"i",34),s.NdJ("click",function(u){const t=s.CHM(n).$implicit;return s.oxw().changeStatus(u,t)}),s.ALo(2,"memberStatusIconColor"),s.ALo(3,"memberStatusTooltip"),s.TgZ(4,"span"),s._uU(5),s.ALo(6,"memberStatusIcon"),s.qZA(),s.qZA(),s.qZA()}if(2&j){const n=Te.$implicit;s.xp6(1),s.Gre("material-icons ",s.lcZ(2,5,n.status),""),s.s9C("matTooltip",s.xi3(3,7,n,!1)),s.xp6(4),s.hij(" ",s.lcZ(6,10,n.status)," ")}}function fe(j,Te){1&j&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&j&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function ve(j,Te){if(1&j){const n=s.EpF();s.TgZ(0,"td",30),s.TgZ(1,"i",34),s.NdJ("click",function(u){const t=s.CHM(n).$implicit,i=s.oxw();return i.changeStatus(u,t,i.groupId)}),s.ALo(2,"memberStatusIconColor"),s.ALo(3,"memberStatusTooltip"),s.TgZ(4,"span"),s._uU(5),s.ALo(6,"memberStatusIcon"),s.qZA(),s.qZA(),s.qZA()}if(2&j){const n=Te.$implicit;s.xp6(1),s.Gre("material-icons ",s.lcZ(2,5,n.groupStatus),""),s.s9C("matTooltip",s.xi3(3,7,n,!0)),s.xp6(4),s.hij(" ",s.lcZ(6,10,n.groupStatus)," ")}}function We(j,Te){1&j&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&j&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")))}function nt(j,Te){if(1&j&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"memberOrganization"),s.qZA()),2&j){const n=Te.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,n))}}function st(j,Te){1&j&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&j&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.EMAIL")))}function dt(j,Te){if(1&j&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"memberEmail"),s.qZA()),2&j){const n=Te.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,n))}}function L(j,Te){1&j&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&j&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function de(j,Te){if(1&j&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"memberLogins"),s.qZA()),2&j){const n=Te.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,n))}}function M(j,Te){1&j&&s._UZ(0,"tr",35)}const S=function(j,Te){return["/organizations",j,"members",Te]};function P(j,Te){if(1&j&&s._UZ(0,"tr",36),2&j){const n=Te.$implicit,r=s.oxw();s.ekj("cursor-pointer",r.dataSource.routeAuth)("italic_font","INDIRECT"===n.membershipType)("disable-outline",!r.dataSource.routeAuth),s.Q6J("perunWebAppsMiddleClickRouterLink",r.dataSource.routeAuth?s.WLB(8,S,n.voId,n.id):null)("routerLink",r.dataSource.routeAuth?s.WLB(11,S,n.voId,n.id):null)}}function N(j,Te){1&j&&(s.TgZ(0,"app-alert",37),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&j&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let ne=(()=>{class j{constructor(n,r,u,o,t){this.dialog=n,this.authResolver=r,this.tableCheckbox=u,this.tableConfigService=o,this.dynamicPaginatingService=t,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.selectedGroupStatuses=[],this.pageSizeOptions=f.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,m.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,A.b)(()=>this.loadMembersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(n=>"id"!==n)),this.dataSource=new v.Hy(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadMembers(this.voId,this.attrNames,"ASCENDING",0,this.tableConfigService.getTablePageSize(this.tableId),"NAME",this.selectedStatuses,this.searchString,this.groupId,this.selectedGroupStatuses)}ngOnChanges(){this.dataSource&&(this.child.paginator.pageIndex=0,this.loadMembersPage())}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.getData().forEach(n=>this.selection.select(n))}isAllSelected(){return this.selection.selected.length===this.child.paginator.pageSize}checkboxLabel(n){return n?`${this.selection.isSelected(n)?"deselect":"select"} row ${n.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(n,r,u){n.stopPropagation();const o=(0,f.kZ)();o.width="500px",o.data={member:r,voId:this.voId,groupId:u};const t=u?r.groupStatus:r.status;this.dialog.open(g.pf,o).afterClosed().subscribe(c=>{if(c){const p=u?c.groupStatus:c.status;"VALID"===t&&("EXPIRED"===p||"DISABLED"===p)||"VALID"===p?(u?r.groupStatus=p:r.status=p,this.changeExpiration(r,u)):this.loadMembersPage()}})}changeExpiration(n,r){const u=n.memberAttributes.find(r?i=>"groupMembershipExpiration"===i.friendlyName:i=>"membershipExpiration"===i.friendlyName),o=(0,f.kZ)();let t;o.width="400px",o.data={voId:this.voId,groupId:r,memberId:n.id,expirationAttr:u,status:r?n.groupStatus:n.status,statusChanged:!0},t=this.dialog.open(r?g.u3:g.kZ,o),t.afterClosed().subscribe(()=>{this.loadMembersPage()})}loadMembersPage(){this.dataSource.loadMembers(this.voId,this.attrNames,"asc"===this.sort.direction?"ASCENDING":"DESCENDING",this.child.paginator.pageIndex,this.child.paginator.pageSize,"fullName"===this.sort.active?"NAME":"ID",this.selectedStatuses,this.searchString,this.groupId,this.selectedGroupStatuses)}exportData(n){(0,f.O6)((0,f.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),n)}getExportDataForColumn(n,r){switch(r){case"id":return n.id.toString();case"fullName":return n.user?(0,f.bD)(n.user):"";case"status":return n.status;case"groupStatus":return n.groupStatus;case"organization":return(0,f.Gw)(n);case"email":return(0,f.g$)(n);case"logins":return(0,f.lt)(n);default:return""}}viewMemberGroupTree(n,r){n.stopPropagation();const u=(0,f.kZ)();u.width="800px",u.data={member:r,groupId:this.groupId},this.dialog.open(g.jd,u)}}return j.\u0275fac=function(n){return new(n||j)(s.Y36(b.uw),s.Y36(v.x4),s.Y36(v.UA),s.Y36(R.dB),s.Y36(v.ly))},j.\u0275cmp=s.Xpm({type:j,selectors:[["perun-web-apps-members-dynamic-list"]],viewQuery:function(n,r){if(1&n&&(s.Gf(f.l9,7),s.Gf(e.YE,5)),2&n){let u;s.iGM(u=s.CRH())&&(r.child=u.first),s.iGM(u=s.CRH())&&(r.sort=u.first)}},inputs:{selection:"selection",displayedColumns:"displayedColumns",voId:"voId",groupId:"groupId",selectedGroupStatuses:"selectedGroupStatuses",attrNames:"attrNames",searchString:"searchString",selectedStatuses:"selectedStatuses",tableId:"tableId",updateTable:"updateTable"},features:[s.TTD],decls:37,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","groupStatus"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","italic_font","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[3,"matTooltip","click",4,"ngIf"],[3,"matTooltip","click"],["mat-header-cell",""],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(n,r){1&n&&(s.TgZ(0,"div",0),s.ALo(1,"async"),s.TgZ(2,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(o){return r.exportData(o)}),s.YNc(3,Be,2,0,"div",2),s.ALo(4,"async"),s.TgZ(5,"table",3),s.ynx(6,4),s.YNc(7,Fe,2,3,"th",5),s.YNc(8,ke,3,5,"td",6),s.BQk(),s.ynx(9,7),s.YNc(10,De,3,3,"th",8),s.YNc(11,be,2,1,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,z,1,0,"th",8),s.YNc(14,J,2,1,"td",11),s.BQk(),s.ynx(15,12),s.YNc(16,I,3,3,"th",8),s.YNc(17,Ie,3,3,"td",11),s.BQk(),s.ynx(18,13),s.YNc(19,Re,3,3,"th",14),s.YNc(20,ze,7,12,"td",11),s.BQk(),s.ynx(21,15),s.YNc(22,fe,3,3,"th",14),s.YNc(23,ve,7,12,"td",11),s.BQk(),s.ynx(24,16),s.YNc(25,We,3,3,"th",14),s.YNc(26,nt,3,3,"td",11),s.BQk(),s.ynx(27,17),s.YNc(28,st,3,3,"th",14),s.YNc(29,dt,3,3,"td",11),s.BQk(),s.ynx(30,18),s.YNc(31,L,3,3,"th",14),s.YNc(32,de,3,3,"td",11),s.BQk(),s.YNc(33,M,1,0,"tr",19),s.YNc(34,P,1,14,"tr",20),s.qZA(),s.qZA(),s.qZA(),s.YNc(35,N,3,3,"app-alert",21),s.ALo(36,"async")),2&n&&(s.Q6J("hidden",0===r.dataSource.allObjectCount&&!1===s.lcZ(1,9,r.dataSource.loading$)),s.xp6(2),s.Q6J("tableId",r.tableId)("dataLength",r.dataSource.allObjectCount)("pageSizeOptions",r.pageSizeOptions),s.xp6(1),s.Q6J("ngIf",s.lcZ(4,11,r.dataSource.loading$)),s.xp6(2),s.Q6J("dataSource",r.dataSource),s.xp6(28),s.Q6J("matHeaderRowDef",r.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",r.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===r.dataSource.allObjectCount&&!1===s.lcZ(36,13,r.dataSource.loading$)))},directives:[E.l,h.O5,x.$g,k.BZ,e.YE,k.w1,k.fO,k.ge,G.oG,k.Dz,k.ev,e.nU,X.Hw,he.gM,k.as,k.XQ,k.nj,k.Gk,re.YH,Ne.rH,ce.w],pipes:[h.Ov,h.i8,Pe.X$,se.d,V.u,F.i,W.f,te.M,ae.D,pe.p],styles:[".italic_font[_ngcontent-%COMP%]{font-style:italic}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),j})()},38383:(Ze,ge,d)=>{"use strict";d.d(ge,{O:()=>ne});var e=d(5e3),f=d(84847),g=d(32075),v=d(20449),m=d(9244),A=d(84379),s=d(36908),b=d(48966),R=d(11735),E=d(18750),h=d(77446),x=d(29772),k=d(69808),G=d(25245),X=d(50301),he=d(98380),re=d(51062),Ne=d(31359),ce=d(69773),Pe=d(12856),se=d(21757),V=d(96974),F=d(20919),W=d(5865);function te(j,Te){if(1&j){const n=e.EpF();e.TgZ(0,"th",24),e.TgZ(1,"mat-checkbox",25),e.NdJ("change",function(u){e.CHM(n);const o=e.oxw();return u?o.masterToggle():null}),e.qZA(),e.qZA()}if(2&j){const n=e.oxw();e.xp6(1),e.Q6J("aria-label",n.checkboxLabel())("checked",n.selection.hasValue()&&n.isAllSelected())("indeterminate",n.selection.hasValue()&&!n.isAllSelected())}}function ae(j,Te){if(1&j){const n=e.EpF();e.TgZ(0,"td",26),e.TgZ(1,"mat-checkbox",27),e.NdJ("change",function(u){const t=e.CHM(n).$implicit,i=e.oxw();return u?i.selection.toggle(t):null})("click",function(u){return u.stopPropagation()}),e.ALo(2,"translate"),e.qZA(),e.qZA()}if(2&j){const n=Te.$implicit,r=e.oxw();e.xp6(1),e.Q6J("aria-label",r.checkboxLabel(n))("checked",r.selection.isSelected(n))("disabled","DIRECT"!==n.membershipType)("matTooltip","DIRECT"!==n.membershipType?e.lcZ(2,4,"MEMBERS_LIST.CHECKBOX_TOOLTIP"):"")}}function pe(j,Te){1&j&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&j&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"MEMBERS_LIST.ID")))}function Be(j,Te){if(1&j&&(e.TgZ(0,"td",29),e._uU(1),e.qZA()),2&j){const n=Te.$implicit;e.xp6(1),e.Oqu(n.id)}}function Fe(j,Te){1&j&&e._UZ(0,"th",28)}function ke(j,Te){if(1&j){const n=e.EpF();e.TgZ(0,"mat-icon",32),e.NdJ("click",function(){e.CHM(n);const u=e.oxw().$implicit;return e.oxw().viewMemberGroupTree(u)})("mouseenter",function(){return e.CHM(n),e.oxw(2).disableRouting=!0})("mouseleave",function(){e.CHM(n);const u=e.oxw(2);return u.disableRouting=u.disabledRouting}),e.ALo(1,"translate"),e._uU(2,"transfer_within_a_station"),e.qZA()}2&j&&e.Q6J("matTooltip",e.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function De(j,Te){if(1&j&&(e.TgZ(0,"td",30),e.YNc(1,ke,3,3,"mat-icon",31),e.qZA()),2&j){const n=Te.$implicit;e.xp6(1),e.Q6J("ngIf","DIRECT"!==n.membershipType)}}function be(j,Te){1&j&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&j&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.NAME")," "))}function z(j,Te){if(1&j&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"userFullName"),e.qZA()),2&j){const n=Te.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,n.user))}}function Ce(j,Te){1&j&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&j&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.STATUS")," "))}function J(j,Te){if(1&j){const n=e.EpF();e.TgZ(0,"td",30),e.TgZ(1,"i",33),e.NdJ("click",function(u){const t=e.CHM(n).$implicit;return e.oxw().changeStatus(u,t)}),e.ALo(2,"memberStatusIconColor"),e.ALo(3,"memberStatusTooltip"),e.TgZ(4,"span"),e._uU(5),e.ALo(6,"memberStatusIcon"),e.qZA(),e.qZA(),e.qZA()}if(2&j){const n=Te.$implicit;e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,n.status),""),e.s9C("matTooltip",e.xi3(3,7,n,!1)),e.xp6(4),e.hij(" ",e.lcZ(6,10,n.status)," ")}}function I(j,Te){1&j&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&j&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")," "))}function Ie(j,Te){if(1&j){const n=e.EpF();e.TgZ(0,"td",30),e.TgZ(1,"i",33),e.NdJ("click",function(u){const t=e.CHM(n).$implicit;return e.oxw().changeStatus(u,t)}),e.ALo(2,"memberStatusIconColor"),e.ALo(3,"memberStatusTooltip"),e.TgZ(4,"span"),e._uU(5),e.ALo(6,"memberStatusIcon"),e.qZA(),e.qZA(),e.qZA()}if(2&j){const n=Te.$implicit;e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,n.groupStatus),""),e.s9C("matTooltip",e.xi3(3,7,n,!0)),e.xp6(4),e.hij(" ",e.lcZ(6,10,n.groupStatus)," ")}}function Re(j,Te){1&j&&(e.TgZ(0,"th",34),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&j&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.ALREADY_SPONSORED")," "))}function ze(j,Te){1&j&&(e.TgZ(0,"mat-icon"),e._uU(1,"check_circle_outline"),e.qZA())}function fe(j,Te){if(1&j&&(e.TgZ(0,"td",35),e.YNc(1,ze,2,0,"mat-icon",36),e.qZA()),2&j){const n=Te.$implicit;e.xp6(1),e.Q6J("ngIf",n.sponsored)}}function ve(j,Te){1&j&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&j&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")," "))}function We(j,Te){if(1&j&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"memberOrganization"),e.qZA()),2&j){const n=Te.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,n))}}function nt(j,Te){1&j&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&j&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.EMAIL")," "))}function st(j,Te){if(1&j&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"memberEmail"),e.qZA()),2&j){const n=Te.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,n))}}function dt(j,Te){1&j&&(e.TgZ(0,"th",37),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&j&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function L(j,Te){if(1&j&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"memberLogins"),e.qZA()),2&j){const n=Te.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,n))}}function de(j,Te){1&j&&e._UZ(0,"tr",38)}const M=function(j,Te){return["/organizations",j,"members",Te]};function S(j,Te){if(1&j&&e._UZ(0,"tr",39),2&j){const n=Te.$implicit,r=e.oxw();e.ekj("cursor-pointer",!r.disabledRouting)("disable-outline",r.disableRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",r.disableRouting?null:e.WLB(6,M,n.voId,n.id))("routerLink",r.disableRouting?null:e.WLB(9,M,n.voId,n.id))}}function P(j,Te){1&j&&(e.TgZ(0,"app-alert",40),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&j&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function N(j,Te){1&j&&(e.TgZ(0,"app-alert",40),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&j&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let ne=(()=>{class j{constructor(n,r,u,o){this.dialog=n,this.authResolver=r,this.tableCheckbox=u,this.route=o,this.selection=new v.Ov,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","sponsored","organization","email","logins"],this.disableRouting=!1,this.filter="",this.updateTable=new e.vpe,this.pageSizeOptions=m.f7,this.canBeSelected=t=>"DIRECT"===t.membershipType}set matSort(n){this.sort=n}getSortDataForColumn(n,r,u){var o;switch(r){case"id":return n.id.toString();case"fullName":return n.user?n.user.lastName?n.user.lastName:null!==(o=n.user.firstName)&&void 0!==o?o:"":"";case"status":return u.showGroupStatuses?n.groupStatus:n.status;case"organization":return(0,m.Gw)(n);case"email":return(0,m.g$)(n);default:return""}}getFilterDataForColumn(n,r){switch(r){case"fullName":return n.user?(0,m.bD)(n.user):"";case"email":return(0,m.g$)(n);case"logins":return(0,m.lt)(n);default:return""}}getExportDataForColumn(n,r,u){switch(r){case"id":return n.id.toString();case"fullName":return n.user?(0,m.bD)(n.user):"";case"status":return u.showGroupStatuses?n.groupStatus:n.status;case"organization":return(0,m.Gw)(n);case"email":return(0,m.g$)(n);case"logins":return(0,m.lt)(n);default:return""}}exportData(n){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),n)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(n,r)=>(0,m.Sd)(n,r,this.displayedColumns,this.getFilterDataForColumn,this),this.dataSource.sortData=(n,r)=>(0,m.pR)(n,r,this.getSortDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.members}ngAfterViewInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(n=>"id"!==n))}ngOnChanges(){var n;this.setDataSource(),this.disabledRouting=this.disableRouting,null===(n=this.route.parent)||void 0===n||n.params.subscribe(r=>{r.groupId&&(this.groupId=r.groupId)})}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(n){return n?`${this.selection.isSelected(n)?"deselect":"select"} row ${n.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(n,r){if(n.stopPropagation(),"INVALID"===r.status){const u=(0,m.kZ)();u.width="500px",u.data={member:r},this.dialog.open(A.pf,u).afterClosed().subscribe(t=>{t&&this.updateTable.emit(!0)})}}viewMemberGroupTree(n){const r=(0,m.kZ)();r.width="800px",r.data={member:n,groupId:this.groupId},this.dialog.open(A.jd,r)}}return j.\u0275fac=function(n){return new(n||j)(e.Y36(b.uw),e.Y36(s.x4),e.Y36(s.UA),e.Y36(R.gz))},j.\u0275cmp=e.Xpm({type:j,selectors:[["perun-web-apps-members-list"]],viewQuery:function(n,r){if(1&n&&(e.Gf(f.YE,7),e.Gf(m.l9,7)),2&n){let u;e.iGM(u=e.CRH())&&(r.matSort=u.first),e.iGM(u=e.CRH())&&(r.child=u.first)}},inputs:{showGroupStatuses:"showGroupStatuses",members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",disableRouting:"disableRouting",filter:"filter"},outputs:{updateTable:"updateTable"},features:[e.TTD],decls:37,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["matColumnDef","groupStatus"],["matColumnDef","sponsored"],["class","center new-line","mat-header-cell","",4,"matHeaderCellDef"],["class","center","mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","disabled","matTooltip","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[3,"matTooltip","click","mouseenter","mouseleave",4,"ngIf"],[3,"matTooltip","click","mouseenter","mouseleave"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip","click"],["mat-header-cell","",1,"center","new-line"],["mat-cell","",1,"center"],[4,"ngIf"],["mat-header-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(n,r){1&n&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(o){return r.exportData(o)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,te,2,3,"th",4),e.YNc(5,ae,3,6,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,pe,3,3,"th",7),e.YNc(8,Be,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,Fe,1,0,"th",7),e.YNc(11,De,2,1,"td",10),e.BQk(),e.ynx(12,11),e.YNc(13,be,3,3,"th",7),e.YNc(14,z,3,3,"td",10),e.BQk(),e.ynx(15,12),e.YNc(16,Ce,3,3,"th",7),e.YNc(17,J,7,12,"td",10),e.BQk(),e.ynx(18,13),e.YNc(19,I,3,3,"th",7),e.YNc(20,Ie,7,12,"td",10),e.BQk(),e.ynx(21,14),e.YNc(22,Re,3,3,"th",15),e.YNc(23,fe,2,1,"td",16),e.BQk(),e.ynx(24,17),e.YNc(25,ve,3,3,"th",7),e.YNc(26,We,3,3,"td",10),e.BQk(),e.ynx(27,18),e.YNc(28,nt,3,3,"th",7),e.YNc(29,st,3,3,"td",10),e.BQk(),e.ynx(30,19),e.YNc(31,dt,3,3,"th",20),e.YNc(32,L,3,3,"td",10),e.BQk(),e.YNc(33,de,1,0,"tr",21),e.YNc(34,S,1,12,"tr",22),e.qZA(),e.qZA(),e.qZA(),e.YNc(35,P,3,3,"app-alert",23),e.YNc(36,N,3,3,"app-alert",23)),2&n&&(e.Q6J("hidden",0===r.members.length||!r.dataSource||0===r.dataSource.filteredData.length),e.xp6(1),e.Q6J("dataLength",r.dataSource.filteredData.length)("tableId",r.tableId)("pageSizeOptions",r.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",r.dataSource),e.xp6(31),e.Q6J("matHeaderRowDef",r.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",r.displayedColumns),e.xp6(1),e.Q6J("ngIf",0!==r.members.length&&0===r.dataSource.filteredData.length),e.xp6(1),e.Q6J("ngIf",0===r.members.length))},directives:[E.l,g.BZ,f.YE,g.w1,g.fO,g.ge,h.oG,g.Dz,g.ev,x.gM,f.nU,k.O5,G.Hw,g.as,g.XQ,g.nj,g.Gk,X.YH,R.rH,he.w],pipes:[re.X$,Ne.d,ce.u,Pe.i,se.f,V.M,F.D,W.p],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important} .status-tooltip{white-space:pre-line}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.center[_ngcontent-%COMP%]{text-align:center}.new-line[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),j})()},22465:(Ze,ge,d)=>{"use strict";d.d(ge,{c:()=>h});var e=d(5e3),f=d(36908),g=d(9244),v=d(84379),m=d(48966),A=d(69808),s=d(25245),b=d(51062);function R(x,k){if(1&x&&(e.TgZ(0,"div",5),e.TgZ(1,"mat-icon"),e._uU(2),e.qZA(),e.qZA()),2&x){const G=e.oxw();e.xp6(2),e.Oqu(G.data.icon)}}function E(x,k){if(1&x&&(e.TgZ(0,"div",6),e._uU(1),e.qZA()),2&x){const G=e.oxw();e.xp6(1),e.hij(" ",G.showTimestamp()," ")}}let h=(()=>{class x{constructor(G,X){this.dialog=G,this.notificationStorageService=X,this.newNotification=!1,this.closeNotification=new e.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}doAction(){if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{const G=(0,g.kZ)();G.width="550px",G.data=this.data,G.autoFocus=!1,this.dialog.open(v.FM,G).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){(0,g.ys)(this.data.delay,()=>{!this.alreadyClosed&&!this.waiting&&this.closeSelf()})}showTimestamp(){const[G,X]=this.data.timeStamp.split(":");return X.length<2?G+":0"+X:this.data.timeStamp}}return x.\u0275fac=function(G){return new(G||x)(e.Y36(m.uw),e.Y36(f.SZ))},x.\u0275cmp=e.Xpm({type:x,selectors:[["perun-web-apps-notification"]],inputs:{data:"data",inDialog:"inDialog",newNotification:"newNotification"},outputs:{closeNotification:"closeNotification"},decls:9,vars:14,consts:[[1,"notification-container",3,"click"],["class","notification-icon",4,"ngIf"],[1,"notification-text","clickable"],["class","ml-auto mr-5 mt-auto mb-auto",4,"ngIf"],[1,"notification-action","mt-auto","mb-auto",3,"hidden","click"],[1,"notification-icon"],[1,"ml-auto","mr-5","mt-auto","mb-auto"]],template:function(G,X){1&G&&(e.TgZ(0,"div"),e.TgZ(1,"div",0),e.NdJ("click",function(){return X.alreadyClosed||X.waiting?"":X.closeSelf()}),e.YNc(2,R,3,1,"div",1),e.TgZ(3,"div",2),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.YNc(6,E,2,1,"div",3),e.TgZ(7,"div",4),e.NdJ("click",function(){return X.waiting=!0,X.doAction()}),e._uU(8),e.qZA(),e.qZA(),e.qZA()),2&G&&(e.Gre("notification ",X.inDialog?"":"mat-elevation-z7",""),e.ekj("error","error"===X.data.type)("success","success"===X.data.type),e.xp6(2),e.Q6J("ngIf",null!==X.data.icon),e.xp6(2),e.hij(" ",e.lcZ(5,12,X.data.title)," "),e.xp6(2),e.Q6J("ngIf",X.inDialog),e.xp6(1),e.Q6J("hidden",X.alreadyPressed),e.xp6(1),e.hij(" ",X.data.actionText," "))},directives:[A.O5,s.Hw],pipes:[b.X$],styles:[".notification[_ngcontent-%COMP%]{width:450px;margin-bottom:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff}.notification-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;padding:16px}.notification-text[_ngcontent-%COMP%]{font-size:1.1em}.notification-action[_ngcontent-%COMP%]{margin-left:auto;text-decoration:underline;cursor:pointer}@media (max-width: 768px){.notification[_ngcontent-%COMP%]{width:100%}}.notification.error[_ngcontent-%COMP%]{background-color:#d32f2f}.notification.success[_ngcontent-%COMP%]{background-color:#288619}.notification-icon[_ngcontent-%COMP%]{padding-right:8px;color:#fff}"]}),x})()},41619:(Ze,ge,d)=>{"use strict";d.d(ge,{$:()=>z});var e=d(36908),f=d(112),g=d(5e3),v=d(48966),m=d(51062),A=d(67322),s=d(98833),b=d(93075),R=d(69808),E=d(47423);function h(Ce,J){1&Ce&&(g.TgZ(0,"mat-error"),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&Ce&&(g.xp6(1),g.Oqu(g.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let x=(()=>{class Ce{constructor(I,Ie,Re,ze,fe){this.dialogRef=I,this.translate=Ie,this.notificator=Re,this.rtMessages=ze,this.storeService=fe,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(I=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+I.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+d(4147).i8}close(){this.dialogRef.close()}}return Ce.\u0275fac=function(I){return new(I||Ce)(g.Y36(v.so),g.Y36(m.sK),g.Y36(e.V6),g.Y36(f.Hr),g.Y36(e.d6))},Ce.\u0275cmp=g.Xpm({type:Ce,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(I,Ie){if(1&I&&(g.TgZ(0,"h1",0),g._uU(1),g.ALo(2,"translate"),g.qZA(),g.TgZ(3,"div",1),g.TgZ(4,"mat-form-field"),g.TgZ(5,"mat-label"),g._uU(6),g.ALo(7,"translate"),g.qZA(),g.TgZ(8,"input",2,3),g.NdJ("ngModelChange",function(ze){return Ie.subject=ze}),g.qZA(),g.YNc(10,h,3,3,"mat-error",4),g.qZA(),g.TgZ(11,"mat-form-field"),g.TgZ(12,"mat-label"),g._uU(13),g.ALo(14,"translate"),g.qZA(),g.TgZ(15,"textarea",5),g.NdJ("ngModelChange",function(ze){return Ie.message=ze}),g.ALo(16,"translate"),g._uU(17," "),g.qZA(),g.TgZ(18,"mat-hint"),g._uU(19),g.ALo(20,"translate"),g.qZA(),g.qZA(),g.qZA(),g.TgZ(21,"div",6),g.TgZ(22,"div",7),g.TgZ(23,"button",8),g.NdJ("click",function(){return Ie.close()}),g._uU(24),g.ALo(25,"translate"),g.qZA(),g.TgZ(26,"button",9),g.NdJ("click",function(){return Ie.sendBugReport()}),g._uU(27),g.ALo(28,"translate"),g.qZA(),g.qZA(),g.qZA()),2&I){const Re=g.MAs(9);g.xp6(1),g.Oqu(g.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),g.xp6(5),g.Oqu(g.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),g.xp6(2),g.Q6J("ngModel",Ie.subject),g.xp6(2),g.Q6J("ngIf",Re.invalid),g.xp6(3),g.Oqu(g.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),g.xp6(2),g.s9C("placeholder",g.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),g.Q6J("ngModel",Ie.message),g.xp6(4),g.Oqu(g.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),g.xp6(5),g.hij(" ",g.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),g.xp6(2),g.Q6J("disabled",Re.invalid),g.xp6(1),g.hij(" ",g.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[v.uh,v.xY,A.KE,A.hX,s.Nt,b.Fj,b.Q7,b.JJ,b.On,R.O5,A.TO,A.bx,v.H8,E.lW],pipes:[m.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),Ce})();var k=d(9244);let G=(()=>{class Ce{transform(I,Ie,Re){return I[`${Re}_${Ie}`]}}return Ce.\u0275fac=function(I){return new(I||Ce)},Ce.\u0275pipe=g.Yjl({name:"localisedText",type:Ce,pure:!0}),Ce})(),X=(()=>{class Ce{transform(I,Ie){return I["link_"+Ie]||I.link_en}}return Ce.\u0275fac=function(I){return new(I||Ce)},Ce.\u0275pipe=g.Yjl({name:"localisedLink",type:Ce,pure:!0}),Ce})(),he=(()=>{class Ce{transform(I){return I.includes("/")?I:"/assets/config/"+I}}return Ce.\u0275fac=function(I){return new(I||Ce)},Ce.\u0275pipe=g.Yjl({name:"footerLogoPath",type:Ce,pure:!0}),Ce})();function re(Ce,J){if(1&Ce&&(g.TgZ(0,"a",13),g.ALo(1,"localisedLink"),g._UZ(2,"img",14),g.ALo(3,"footerLogoPath"),g.qZA()),2&Ce){const I=g.oxw().$implicit,Ie=g.oxw(3);g.Q6J("href",g.xi3(1,2,I,Ie.language),g.LSH),g.xp6(2),g.s9C("src",g.lcZ(3,5,I.logo),g.LSH)}}function Ne(Ce,J){if(1&Ce&&(g.TgZ(0,"span"),g._UZ(1,"img",14),g.ALo(2,"footerLogoPath"),g.qZA()),2&Ce){const I=g.oxw().$implicit;g.xp6(1),g.s9C("src",g.lcZ(2,1,I.logo),g.LSH)}}function ce(Ce,J){if(1&Ce&&(g.TgZ(0,"div"),g.YNc(1,re,4,7,"a",11),g.ALo(2,"localisedLink"),g.YNc(3,Ne,3,3,"span",12),g.ALo(4,"localisedLink"),g.qZA()),2&Ce){const I=J.$implicit,Ie=g.oxw(3);g.xp6(1),g.Q6J("ngIf",g.xi3(2,2,I,Ie.language)),g.xp6(2),g.Q6J("ngIf",!g.xi3(4,5,I,Ie.language))}}const Pe=function(Ce){return{"min-height":Ce}};function se(Ce,J){if(1&Ce&&(g.TgZ(0,"div",10),g.YNc(1,ce,5,8,"div",5),g.qZA()),2&Ce){const I=g.oxw().$implicit,Ie=g.oxw();g.Q6J("ngStyle",g.VKq(2,Pe,Ie.columnContentHeight+"px")),g.xp6(1),g.Q6J("ngForOf",I.elements)}}const V=function(Ce){return{color:Ce}};function F(Ce,J){if(1&Ce&&(g.TgZ(0,"i",20),g._uU(1),g.qZA()),2&Ce){const I=g.oxw().$implicit,Ie=g.oxw(3);g.Q6J("ngStyle",g.VKq(2,V,Ie.linksTextColor)),g.xp6(1),g.hij(" ",I.icon," ")}}function W(Ce,J){if(1&Ce){const I=g.EpF();g.TgZ(0,"span",21),g.NdJ("click",function(){g.CHM(I);const Re=g.oxw().$implicit;return g.oxw(3).openDialog(Re.dialog)}),g._uU(1),g.ALo(2,"localisedText"),g.qZA()}if(2&Ce){const I=g.oxw().$implicit,Ie=g.oxw(3);g.Q6J("ngStyle",g.VKq(6,V,Ie.linksTextColor)),g.xp6(1),g.hij("",g.Dn7(2,2,I,Ie.language,"label")," ")}}function te(Ce,J){if(1&Ce&&(g.TgZ(0,"a",22),g.ALo(1,"localisedLink"),g._uU(2),g.ALo(3,"localisedText"),g.qZA()),2&Ce){const I=g.oxw().$implicit,Ie=g.oxw(3);g.Q6J("href",g.xi3(1,3,I,Ie.language),g.LSH)("ngStyle",g.VKq(10,V,Ie.linksTextColor)),g.xp6(2),g.Oqu(g.Dn7(3,6,I,Ie.language,"label"))}}function ae(Ce,J){if(1&Ce&&(g.TgZ(0,"span",10),g._uU(1),g.ALo(2,"localisedText"),g.qZA()),2&Ce){const I=g.oxw().$implicit,Ie=g.oxw(3);g.Q6J("ngStyle",g.VKq(6,V,Ie.linksTextColor)),g.xp6(1),g.Oqu(g.Dn7(2,2,I,Ie.language,"label"))}}function pe(Ce,J){if(1&Ce&&(g.TgZ(0,"div",16),g.YNc(1,F,2,4,"i",17),g.YNc(2,W,3,8,"span",18),g.YNc(3,te,4,12,"a",19),g.ALo(4,"localisedLink"),g.YNc(5,ae,3,8,"span",9),g.ALo(6,"localisedLink"),g.qZA()),2&Ce){const I=J.$implicit,Ie=g.oxw(3);g.xp6(1),g.Q6J("ngIf",I.icon),g.xp6(1),g.Q6J("ngIf",I.dialog),g.xp6(1),g.Q6J("ngIf",g.xi3(4,4,I,Ie.language)&&!I.dialog),g.xp6(2),g.Q6J("ngIf",!g.xi3(6,7,I,Ie.language)&&!I.dialog)}}const Be=function(Ce){return{height:Ce}};function Fe(Ce,J){if(1&Ce&&(g.TgZ(0,"div",10),g.YNc(1,pe,7,10,"div",15),g.qZA()),2&Ce){const I=g.oxw().$implicit,Ie=g.oxw();g.Q6J("ngStyle",g.VKq(2,Be,Ie.columnContentHeight+"px")),g.xp6(1),g.Q6J("ngForOf",I.elements)}}function ke(Ce,J){if(1&Ce&&(g.TgZ(0,"div",7),g.TgZ(1,"h6",8),g._uU(2),g.ALo(3,"localisedText"),g.qZA(),g.YNc(4,se,2,4,"div",9),g.YNc(5,Fe,2,4,"div",9),g.qZA()),2&Ce){const I=J.$implicit,Ie=g.oxw();g.ekj("my-auto",Ie.containsLogos),g.xp6(1),g.Q6J("ngStyle",g.VKq(10,V,Ie.headersTextColor)),g.xp6(1),g.hij(" ",g.Dn7(3,6,I,Ie.language,"title")," "),g.xp6(2),g.Q6J("ngIf",I.logos),g.xp6(1),g.Q6J("ngIf",I.elements&&!I.logos)}}function De(Ce,J){if(1&Ce&&(g.TgZ(0,"span"),g.TgZ(1,"a",6),g._uU(2),g.qZA(),g.qZA()),2&Ce){const I=J.$implicit,Ie=J.index,Re=g.oxw();g.xp6(1),g.Q6J("href",I.url,g.LSH)("ngStyle",g.VKq(3,V,Re.copyrightTextColor)),g.xp6(1),g.Oqu(Ie?", "+I.name:I.name)}}const be=function(Ce){return{background:Ce}};let z=(()=>{class Ce{constructor(I,Ie,Re){this.storeService=I,this.translateService=Ie,this.dialog=Re,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(I=>{this.language=I.lang}),this.version=d(4147).i8,this.items=this.storeService.get("footer","columns");for(const I of this.items)I.logos?this.containsLogos=!0:25*I.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*I.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(I){const Ie=(0,k.kZ)();"reportIssue"===I&&(Ie.width="550px",this.dialog.open(x,Ie))}}return Ce.\u0275fac=function(I){return new(I||Ce)(g.Y36(e.d6),g.Y36(m.sK),g.Y36(v.uw))},Ce.\u0275cmp=g.Xpm({type:Ce,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(I,Ie){1&I&&(g.TgZ(0,"footer",0),g.TgZ(1,"div",1),g.YNc(2,ke,6,12,"div",2),g.qZA(),g._UZ(3,"hr",3),g.TgZ(4,"div",4),g._uU(5),g.YNc(6,De,3,5,"span",5),g._uU(7," Version "),g.TgZ(8,"a",6),g._uU(9),g.qZA(),g.qZA(),g.qZA()),2&I&&(g.Q6J("ngStyle",g.VKq(8,be,Ie.bgColor)),g.xp6(2),g.Q6J("ngForOf",Ie.items),g.xp6(2),g.Q6J("ngStyle",g.VKq(10,V,Ie.copyrightTextColor)),g.xp6(1),g.hij(" \xa9 ",Ie.currentYear," Copyright: "),g.xp6(1),g.Q6J("ngForOf",Ie.copyrightItems),g.xp6(2),g.Q6J("href",Ie.githubRepository,g.LSH)("ngStyle",g.VKq(12,V,Ie.copyrightTextColor)),g.xp6(1),g.Oqu(Ie.version))},directives:[R.PC,R.sg,R.O5],pipes:[G,X,he],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}"]}),Ce})()},10441:(Ze,ge,d)=>{"use strict";d.d(ge,{W:()=>s});var e=d(5e3),f=d(69808),g=d(25245),v=d(29772),m=d(51062);function A(b,R){1&b&&(e.TgZ(0,"mat-icon",1),e.ALo(1,"translate"),e._uU(2," visibility\n"),e.qZA()),2&b&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}let s=(()=>{class b{constructor(){this.recentIds=[]}}return b.\u0275fac=function(E){return new(E||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["perun-web-apps-recently-viewed-icon"]],inputs:{recentIds:"recentIds",id:"id"},decls:1,vars:1,consts:[["class","align-bottom disabled-icon",3,"matTooltip",4,"ngIf"],[1,"align-bottom","disabled-icon",3,"matTooltip"]],template:function(E,h){1&E&&e.YNc(0,A,3,3,"mat-icon",0),2&E&&e.Q6J("ngIf",h.recentIds.indexOf(h.id)>-1)},directives:[f.O5,g.Hw,v.gM],pipes:[m.X$],styles:[".disabled-icon[_ngcontent-%COMP%]{color:#00000042}"]}),b})()},96214:(Ze,ge,d)=>{"use strict";d.d(ge,{t:()=>A});var e=d(5e3),f=d(47423),g=d(29772),v=d(25245),m=d(51062);let A=(()=>{class s{constructor(){this.refresh=new e.vpe}onClickbutton(R){this.refresh.emit(R)}}return s.\u0275fac=function(R){return new(R||s)},s.\u0275cmp=e.Xpm({type:s,selectors:[["perun-web-apps-refresh-button"]],inputs:{disabled:"disabled"},outputs:{refresh:"refresh"},decls:3,vars:5,consts:[["mat-stroked-button","","data-cy","refresh-button",1,"mr-2",3,"disabled","matTooltip","click"],[1,"center-icon","perun-icon",3,"svgIcon"]],template:function(R,E){1&R&&(e.TgZ(0,"button",0),e.NdJ("click",function(x){return E.onClickbutton(x)}),e.ALo(1,"translate"),e._UZ(2,"mat-icon",1),e.qZA()),2&R&&(e.s9C("matTooltip",e.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),e.Q6J("disabled",E.disabled),e.xp6(2),e.s9C("svgIcon",E.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[f.lW,g.gM,v.Hw],pipes:[m.X$],styles:[".center-icon[_ngcontent-%COMP%]{display:inline-flex}.perun-icon[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%]{fill:currentColor}"]}),s})()},62109:(Ze,ge,d)=>{"use strict";d.d(ge,{C:()=>L});var e=d(5e3),f=d(84847),g=d(32075),v=d(20449),m=d(9244),A=d(36908),s=d(18750),b=d(77446),R=d(29772),E=d(10441),h=d(69808),x=d(25245),k=d(8223),G=d(50301),X=d(11735),he=d(98380),re=d(51062);let Ne=(()=>{class de{transform(S){if(null==S)return null;let N="";return S.forEach(function(ne){N=N.concat(ne.tagName)}),N}}return de.\u0275fac=function(S){return new(S||de)},de.\u0275pipe=e.Yjl({name:"resourceTagsToString",type:de,pure:!0}),de})();var ce=d(82895);function Pe(de,M){if(1&de){const S=e.EpF();e.TgZ(0,"th",22),e.TgZ(1,"mat-checkbox",23),e.NdJ("change",function(N){e.CHM(S);const ne=e.oxw();return N?ne.masterToggle():null}),e.qZA(),e.qZA()}if(2&de){const S=e.oxw();e.xp6(1),e.Q6J("aria-label",S.checkboxLabel())("checked",S.selection.hasValue()&&S.isAllSelected())("indeterminate",S.selection.hasValue()&&!S.isAllSelected())}}function se(de,M){if(1&de){const S=e.EpF();e.TgZ(0,"td",24),e.TgZ(1,"span",25),e.ALo(2,"translate"),e.TgZ(3,"mat-checkbox",26),e.NdJ("change",function(N){const j=e.CHM(S).$implicit,Te=e.oxw();return N?Te.itemSelectionToggle(j):null})("click",function(N){return N.stopPropagation()}),e.qZA(),e.qZA(),e.qZA()}if(2&de){const S=M.$implicit,P=e.oxw();e.xp6(1),e.s9C("matTooltip",e.lcZ(2,7,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE")),e.Q6J("matTooltipPosition","above")("matTooltipDisabled",!P.disableSelect(S)),e.xp6(2),e.Q2q("data-cy","",S.name,"-checkbox"),e.Q6J("aria-label",P.checkboxLabel(S))("checked",P.selection.isSelected(S))("disabled",P.disableSelect(S))}}function V(de,M){1&de&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&de&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")," "))}function F(de,M){if(1&de&&(e.TgZ(0,"td",28),e._uU(1),e.qZA()),2&de){const S=M.$implicit;e.xp6(1),e.Oqu(S.id)}}function W(de,M){1&de&&e._UZ(0,"th",29)}function te(de,M){if(1&de&&(e.TgZ(0,"td",30),e._UZ(1,"perun-web-apps-recently-viewed-icon",31),e.qZA()),2&de){const S=M.$implicit,P=e.oxw();e.xp6(1),e.Q6J("recentIds",P.recentIds)("id",S.id)}}function ae(de,M){1&de&&e._UZ(0,"th",29)}function pe(de,M){1&de&&(e.TgZ(0,"mat-icon",33),e.ALo(1,"translate"),e._uU(2,"account_tree"),e.qZA()),2&de&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE"))}function Be(de,M){if(1&de&&(e.TgZ(0,"td",30),e.YNc(1,pe,3,3,"mat-icon",32),e.qZA()),2&de){const S=M.$implicit;e.xp6(1),e.Q6J("ngIf",S.sourceGroupId)}}function Fe(de,M){1&de&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&de&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")," "))}function ke(de,M){if(1&de&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&de){const S=M.$implicit;e.xp6(1),e.Oqu(S.name)}}function De(de,M){1&de&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&de&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")," "))}function be(de,M){if(1&de&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&de){const S=M.$implicit;e.xp6(1),e.Oqu(S.vo.name)}}function z(de,M){1&de&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&de&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")," "))}function Ce(de,M){if(1&de){const S=e.EpF();e.TgZ(0,"td",30),e.TgZ(1,"perun-web-apps-group-resource-status",34),e.NdJ("mouseenter",function(){return e.CHM(S),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(S);const N=e.oxw();return N.disabledRouting=N.disableRouting})("statusChange",function(){return e.CHM(S),e.oxw().refreshTable.emit()}),e.qZA(),e.qZA()}if(2&de){const S=M.$implicit,P=e.oxw();e.xp6(1),e.Q6J("theme","group-theme")("resourceId",S.id)("groupId",P.groupId)("failureCause",S.failureCause)("status",S.status)}}function J(de,M){1&de&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&de&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")," "))}function I(de,M){if(1&de&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&de){const S=M.$implicit;e.xp6(1),e.Oqu(S.facility.name)}}function Ie(de,M){1&de&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&de&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")," "))}function Re(de,M){if(1&de&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"resourceTagsToString"),e.qZA()),2&de){const S=M.$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,S.resourceTags)," ")}}function ze(de,M){1&de&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&de&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")," "))}function fe(de,M){if(1&de&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&de){const S=M.$implicit;e.xp6(1),e.Oqu(S.description)}}function ve(de,M){1&de&&e._UZ(0,"tr",35)}const We=function(de){return[de]};function nt(de,M){if(1&de&&(e._UZ(0,"tr",36),e.ALo(1,"getResourceRoute"),e.ALo(2,"getResourceRoute")),2&de){const S=M.$implicit,P=e.oxw();e.ekj("cursor-pointer",!P.disableRouting)("disable-outline",P.disabledRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",e.VKq(12,We,P.disabledRouting?null:e.xi3(1,6,S,P.routingVo)))("routerLink",P.disabledRouting?null:e.xi3(2,9,S,P.routingVo))}}function st(de,M){1&de&&(e.TgZ(0,"app-alert",37),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&de&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function dt(de,M){1&de&&(e.TgZ(0,"app-alert",37),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&de&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let L=(()=>{class de{constructor(S,P){this.guiAuthResolver=S,this.tableCheckbox=P,this.resources=[],this.selection=new v.Ov(!0,[]),this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","indirectResourceAssigment","name","vo","status","facility","tags","description"],this.pageSizeOptions=m.f7,this.groupId=null,this.resourcesToDisableCheckbox=new Set,this.refreshTable=new e.vpe,this.allSelected=new e.vpe,this.removeAuth=!1,this.addAuth=!1,this.canBeSelected=N=>!this.disableSelect(N)}set matSort(S){this.sort=S}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(S=>"id"!==S)),this.setDataSource(),this.setAuth()}getDataForColumn(S,P,N){switch(P){case"id":return S.id.toString();case"vo":return S.vo.name;case"name":return S.name;case"facility":return S.facility.name;case"description":return S.description;case"recent":return N.recentIds&&N.recentIds.indexOf(S.id)>-1?"#".repeat(N.recentIds.indexOf(S.id)):S.name;case"tags":{if(!S.resourceTags)return S[P];let j="";return S.resourceTags.forEach(function(Te){j=j.concat(Te.tagName)}),j}case"status":return S.status;case"uuid":return S.uuid;default:return S[P]}}exportData(S){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),S)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(S,P)=>(0,m.Sd)(S,P,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(S,P)=>(0,m.pR)(S,P,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}isAllSelected(){const S=this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected);return this.allSelected.emit(S),S}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.setAuth()}checkboxLabel(S){return S?`${this.selection.isSelected(S)?"deselect":"select"} row ${S.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}setAuth(){const S=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce((P,N)=>P&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",S.concat([N])),!0),this.addAuth=this.selection.selected.reduce((P,N)=>P&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",S.concat([N])),!0)}itemSelectionToggle(S){this.selection.toggle(S),this.setAuth()}disableSelect(S){return this.resourcesToDisableCheckbox.has(S.id)}}return de.\u0275fac=function(S){return new(S||de)(e.Y36(A.x4),e.Y36(A.UA))},de.\u0275cmp=e.Xpm({type:de,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(S,P){if(1&S&&(e.Gf(f.YE,7),e.Gf(m.l9,7)),2&S){let N;e.iGM(N=e.CRH())&&(P.matSort=N.first),e.iGM(N=e.CRH())&&(P.child=N.first)}},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId",resourcesToDisableCheckbox:"resourcesToDisableCheckbox",tableId:"tableId"},outputs:{refreshTable:"refreshTable",allSelected:"allSelected"},features:[e.TTD],decls:37,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","indirectResourceAssigment"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"],[3,"theme","resourceId","groupId","failureCause","status","mouseenter","mouseleave","statusChange"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(S,P){1&S&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(ne){return P.exportData(ne)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,Pe,2,3,"th",4),e.YNc(5,se,4,9,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,V,3,3,"th",7),e.YNc(8,F,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,W,1,0,"th",10),e.YNc(11,te,2,2,"td",11),e.BQk(),e.ynx(12,12),e.YNc(13,ae,1,0,"th",10),e.YNc(14,Be,2,1,"td",11),e.BQk(),e.ynx(15,13),e.YNc(16,Fe,3,3,"th",7),e.YNc(17,ke,2,1,"td",11),e.BQk(),e.ynx(18,14),e.YNc(19,De,3,3,"th",7),e.YNc(20,be,2,1,"td",11),e.BQk(),e.ynx(21,15),e.YNc(22,z,3,3,"th",7),e.YNc(23,Ce,2,5,"td",11),e.BQk(),e.ynx(24,16),e.YNc(25,J,3,3,"th",7),e.YNc(26,I,2,1,"td",11),e.BQk(),e.ynx(27,17),e.YNc(28,Ie,3,3,"th",7),e.YNc(29,Re,3,3,"td",11),e.BQk(),e.ynx(30,18),e.YNc(31,ze,3,3,"th",7),e.YNc(32,fe,2,1,"td",11),e.BQk(),e.YNc(33,ve,1,0,"tr",19),e.YNc(34,nt,3,14,"tr",20),e.qZA(),e.qZA(),e.qZA(),e.YNc(35,st,3,3,"app-alert",21),e.YNc(36,dt,3,3,"app-alert",21)),2&S&&(e.Q6J("hidden",0===P.dataSource.filteredData.length||0===P.resources.length),e.xp6(1),e.Q6J("dataLength",P.dataSource.filteredData.length)("tableId",P.tableId)("pageSizeOptions",P.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",P.dataSource),e.xp6(31),e.Q6J("matHeaderRowDef",P.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",P.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===P.dataSource.filteredData.length&&0!==P.resources.length),e.xp6(1),e.Q6J("ngIf",0===P.resources.length))},directives:[s.l,g.BZ,f.YE,g.w1,g.fO,g.ge,b.oG,g.Dz,g.ev,R.gM,f.nU,E.W,h.O5,x.Hw,k.x,g.as,g.XQ,g.nj,g.Gk,G.YH,X.rH,he.w],pipes:[re.X$,Ne,ce.r],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.filter-input[_ngcontent-%COMP%]{width:300px!important}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),de})()},52170:(Ze,ge,d)=>{"use strict";d.d(ge,{qG:()=>m,$x:()=>A});var e=d(5e3),f=d(51062),g=d(42377);class v{constructor(b,R){this.value=R,this.displayName=b}}var m=(()=>{return(s=m||(m={}))[s.SOURCE=0]="SOURCE",s[s.DESTINATION=1]="DESTINATION",s[s.FEDERATION=2]="FEDERATION",m;var s})();let A=(()=>{class s{constructor(R){this.translateService=R,this.attributes=[],this.asGroup=!1,this.itemSelected=new e.vpe,this.items=[],this.nameFunction=E=>E.displayName,this.shortNameFunction=()=>null,this.searchFunction=E=>E.displayName}static getDefinition(R){const E=R.namespace.split(":");return null===E[4]?"null":E[4]}ngOnInit(){this.type===m.FEDERATION?(this.getFederationAttributes(),this.getFederationAttribute()):this.createSelectionItems(),this.sortAttributes(this.items)}createSelectionItems(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(R=>{const E=new v(R,"");this.items.push(E),this.item=E});for(const R of this.attributes){const E=new v(R.friendlyName+" ("+R.entity+" / "+s.getDefinition(R)+")",R.namespace+":"+R.friendlyName);E.value===this.selectedAttribute&&(this.item=E),("user"===R.entity.toLowerCase()||"member"===R.entity.toLowerCase()||"vo"===R.entity.toLowerCase()&&this.type===m.SOURCE||"group"===R.entity.toLowerCase()&&this.asGroup&&this.type===m.SOURCE)&&this.items.push(E)}}getFederationAttributes(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(R=>{this.items.push(new v(R,"")),this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.CUSTOM_VALUE").subscribe(E=>{this.items.push(new v(E,"custom")),this.items.push(new v("Display name","displayName")),this.items.push(new v("Common name","cn")),this.items.push(new v("Mail","mail")),this.items.push(new v("Organization","o")),this.items.push(new v("Level of Assurance (LoA)","loa")),this.items.push(new v("First name","givenName")),this.items.push(new v("Surname","sn")),this.items.push(new v("EPPN","eppn")),this.items.push(new v("IdP Category","md_entityCategory")),this.items.push(new v("IdP Affiliation","affiliation")),this.items.push(new v("EduPersonScopedAffiliation","eduPersonScopedAffiliation")),this.items.push(new v("Forwarded Affiliation from Proxy","forwardedScopedAffiliation")),this.items.push(new v("schacHomeOrganization","schacHomeOrganization")),this.items.push(new v("Login","uid")),this.items.push(new v("Alternative login name","alternativeLoginName"))})})}getFederationAttribute(){for(const R of this.items)if(R.value===this.selectedAttribute)return void(this.item=R);this.item=this.items[1],this.item.value=this.selectedAttribute}sortAttributes(R){R.sort((E,h)=>""===E.value?-1:""===h.value?1:E.displayName.localeCompare(h.displayName))}}return s.\u0275fac=function(R){return new(R||s)(e.Y36(f.sK))},s.\u0275cmp=e.Xpm({type:s,selectors:[["perun-web-apps-selection-item-search-select"]],inputs:{attributes:"attributes",selectedAttribute:"selectedAttribute",type:"type",asGroup:"asGroup"},outputs:{itemSelected:"itemSelected"},decls:4,vars:14,consts:[[3,"entities","entity","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(R,E){1&R&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(x){return E.itemSelected.emit(x)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&R&&e.Q6J("entities",E.items)("entity",E.item)("searchFunction",E.searchFunction)("mainTextFunction",E.nameFunction)("secondaryTextFunction",E.shortNameFunction)("selectPlaceholder",e.lcZ(1,8,"SHARED_LIB.PERUN.COMPONENTS.SELECTION_ITEM_SEARCH_SELECT.SELECT_ITEM"))("findPlaceholder",e.lcZ(2,10,"SHARED_LIB.PERUN.COMPONENTS.SELECTION_ITEM_SEARCH_SELECT.FIND_ITEM"))("noEntriesText",e.lcZ(3,12,"SHARED_LIB.PERUN.COMPONENTS.SELECTION_ITEM_SEARCH_SELECT.NO_ITEM_FOUND"))},directives:[g.i],pipes:[f.X$],styles:[""]}),s})()},80275:(Ze,ge,d)=>{"use strict";d.d(ge,{j:()=>Ce});var e=d(20449),f=d(84847),g=d(32075),v=d(36908),m=d(9244),A=d(5e3),s=d(11735),b=d(18750),R=d(29772),E=d(77446),h=d(50301),x=d(69808),k=d(98380),G=d(51062),X=d(34447);let he=(()=>{class J{transform(Ie){const Re=Ie.find(ze=>"mail"===ze.friendlyName);return Re?Re.value.toString():"N/A"}}return J.\u0275fac=function(Ie){return new(Ie||J)},J.\u0275pipe=A.Yjl({name:"getMailFromAttributes",type:J,pure:!0}),J})();function re(J,I){1&J&&A._UZ(0,"th",18)}function Ne(J,I){if(1&J){const Ie=A.EpF();A.TgZ(0,"td",19),A.TgZ(1,"span",20),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.TgZ(4,"mat-checkbox",21),A.NdJ("change",function(ze){const ve=A.CHM(Ie).$implicit,We=A.oxw();return ze?We.selection.toggle(ve):null})("click",function(ze){return ze.stopPropagation()}),A.qZA(),A.qZA(),A.qZA()}if(2&J){const Ie=I.$implicit,Re=A.oxw();A.xp6(1),A.s9C("matTooltip",A.lcZ(2,6,A.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.CANNOT_BE_DELETED_TOOLTIP"))),A.Q6J("matTooltipPosition","above")("matTooltipDisabled",!Ie.userExtSource.persistent),A.xp6(3),A.Q6J("aria-label",Re.checkboxLabel(Ie))("checked",Re.selection.isSelected(Ie))("disabled",Ie.userExtSource.persistent)}}function ce(J,I){1&J&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&J&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))," "))}function Pe(J,I){if(1&J&&(A.TgZ(0,"td",23),A._uU(1),A.qZA()),2&J){const Ie=I.$implicit;A.xp6(1),A.hij(" ",Ie.userExtSource.id," ")}}function se(J,I){1&J&&(A.TgZ(0,"th",24),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&J&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))," "))}function V(J,I){if(1&J&&(A.TgZ(0,"td",23),A._uU(1),A.ALo(2,"getMailFromAttributes"),A.qZA()),2&J){const Ie=I.$implicit;A.xp6(1),A.hij(" ",A.lcZ(2,1,Ie.attributes)," ")}}function F(J,I){if(1&J&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&J){const Ie=A.oxw();A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,Ie.extSourceNameHeader?Ie.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME"))," ")}}function W(J,I){if(1&J&&(A.TgZ(0,"td",23),A._uU(1),A.qZA()),2&J){const Ie=I.$implicit;A.xp6(1),A.hij(" ",Ie.userExtSource.extSource.name," ")}}function te(J,I){if(1&J&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&J){const Ie=A.oxw();A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,Ie.loginHeader?Ie.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN"))," ")}}function ae(J,I){if(1&J&&(A.TgZ(0,"td",23),A._uU(1),A.qZA()),2&J){const Ie=I.$implicit;A.xp6(1),A.hij(" ",Ie.userExtSource.login," ")}}function pe(J,I){1&J&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&J&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))," "))}function Be(J,I){if(1&J&&(A.TgZ(0,"td",25),A._uU(1),A.ALo(2,"date"),A.qZA()),2&J){const Ie=I.$implicit;A.xp6(1),A.hij(" ",A.xi3(2,1,Ie.userExtSource.lastAccess,"d.M.y H:mm:ss")," ")}}function Fe(J,I){1&J&&A._UZ(0,"tr",26)}const ke=function(J,I){return["/admin","users",J,"identities",I]};function De(J,I){if(1&J&&A._UZ(0,"tr",27),2&J){const Ie=I.$implicit,Re=A.oxw();A.ekj("cursor-pointer",!Re.disableRouting)("disable-outline",Re.disableRouting),A.Q6J("perunWebAppsMiddleClickRouterLink",Re.disableRouting?null:A.WLB(6,ke,Re.userId,Ie.userExtSource.id))("routerLink",Re.disableRouting?null:A.WLB(9,ke,Re.userId,Ie.userExtSource.id))}}function be(J,I){1&J&&(A.TgZ(0,"app-alert",28),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&J&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function z(J,I){1&J&&(A.TgZ(0,"app-alert",28),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&J&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let Ce=(()=>{class J{constructor(Ie,Re){this.route=Ie,this.authResolver=Re,this.selection=new e.Ov,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSizeOptions=m.f7}set matSort(Ie){this.sort=Ie,this.setDataSource()}ngOnInit(){this.disableRouting||this.route.parent.params.subscribe(Ie=>{this.userId=Ie.userId}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Ie=>"id"!==Ie)),this.dataSource=new g.by(this.userExtSources),this.setDataSource()}getDataForColumn(Ie,Re){switch(Re){case"id":return Ie.userExtSource.id.toString();case"mail":{const ze=Ie.attributes.find(fe=>"mail"===fe.friendlyName);return ze?ze.value.toString():"N/A"}case"extSourceName":return Ie.userExtSource.extSource.name;case"login":return Ie.userExtSource.login;case"lastAccess":return Ie.userExtSource.lastAccess.split(".")[0];default:return Ie[Re]}}exportData(Ie){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),Ie)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(Ie,Re)=>(0,m.Sd)(Ie,Re,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(Ie,Re)=>(0,m.pR)(Ie,Re,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(Ie){return`${this.selection.isSelected(Ie.userExtSource)?"deselect":"select"} row ${Ie.userExtSource.id+1}`}}return J.\u0275fac=function(Ie){return new(Ie||J)(A.Y36(s.gz),A.Y36(v.x4))},J.\u0275cmp=A.Xpm({type:J,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(Ie,Re){if(1&Ie&&(A.Gf(m.l9,7),A.Gf(f.YE,7)),2&Ie){let ze;A.iGM(ze=A.CRH())&&(Re.child=ze.first),A.iGM(ze=A.CRH())&&(Re.matSort=ze.first)}},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",tableId:"tableId",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},features:[A.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","extSourceName"],["matColumnDef","login"],["matColumnDef","lastAccess",1,"pl-3"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(Ie,Re){1&Ie&&(A.TgZ(0,"div",0),A.TgZ(1,"perun-web-apps-table-wrapper",1),A.NdJ("exportData",function(fe){return Re.exportData(fe)}),A.TgZ(2,"table",2),A.ynx(3,3),A.YNc(4,re,1,0,"th",4),A.YNc(5,Ne,5,10,"td",5),A.BQk(),A.ynx(6,6),A.YNc(7,ce,4,5,"th",7),A.YNc(8,Pe,2,1,"td",8),A.BQk(),A.ynx(9,9),A.YNc(10,se,4,5,"th",10),A.YNc(11,V,3,3,"td",8),A.BQk(),A.ynx(12,11),A.YNc(13,F,4,5,"th",7),A.YNc(14,W,2,1,"td",8),A.BQk(),A.ynx(15,12),A.YNc(16,te,4,5,"th",7),A.YNc(17,ae,2,1,"td",8),A.BQk(),A.ynx(18,13),A.YNc(19,pe,4,5,"th",7),A.YNc(20,Be,3,4,"td",14),A.BQk(),A.YNc(21,Fe,1,0,"tr",15),A.YNc(22,De,1,12,"tr",16),A.qZA(),A.qZA(),A.qZA(),A.YNc(23,be,3,3,"app-alert",17),A.YNc(24,z,4,5,"app-alert",17)),2&Ie&&(A.Q6J("hidden",0===Re.userExtSources.length||0===Re.dataSource.filteredData.length),A.xp6(1),A.Q6J("tableId",Re.tableId)("dataLength",Re.dataSource.filteredData.length)("pageSizeOptions",Re.pageSizeOptions),A.xp6(1),A.Q6J("dataSource",Re.dataSource),A.xp6(19),A.Q6J("matHeaderRowDef",Re.displayedColumns),A.xp6(1),A.Q6J("matRowDefColumns",Re.displayedColumns),A.xp6(1),A.Q6J("ngIf",0===Re.dataSource.filteredData.length&&0!==Re.userExtSources.length),A.xp6(1),A.Q6J("ngIf",0===Re.userExtSources.length))},directives:[b.l,g.BZ,f.YE,g.w1,g.fO,g.ge,g.Dz,g.ev,R.gM,E.oG,f.nU,g.as,g.XQ,g.nj,g.Gk,h.YH,s.rH,x.O5,k.w],pipes:[G.X$,X.a,he,x.uU],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),J})()},74250:(Ze,ge,d)=>{"use strict";d.d(ge,{S:()=>m});var e=d(5e3),f=d(9244),g=d(42377),v=d(51062);let m=(()=>{class A{constructor(){this.disableAutoSelect=!1,this.userSelected=new e.vpe,this.userFullNameFunction=f.bD}ngOnInit(){this.users=this.users.sort(f.fx)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275cmp=e.Xpm({type:A,selectors:[["perun-web-apps-user-search-select"]],inputs:{users:"users",disableAutoSelect:"disableAutoSelect"},outputs:{userSelected:"userSelected"},decls:4,vars:13,consts:[[3,"entities","disableAutoSelect","searchFunction","mainTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(b,R){1&b&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(h){return R.userSelected.emit(h)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&b&&e.Q6J("entities",R.users)("disableAutoSelect",R.disableAutoSelect)("searchFunction",R.userFullNameFunction)("mainTextFunction",R.userFullNameFunction)("selectPlaceholder",e.lcZ(1,7,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.SELECT_USER"))("findPlaceholder",e.lcZ(2,9,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.FIND_USER"))("noEntriesText",e.lcZ(3,11,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.NO_USER_FOUND"))},directives:[g.i],pipes:[v.X$],styles:[""]}),A})()},88561:(Ze,ge,d)=>{"use strict";d.d(ge,{M:()=>dt});var e=d(20449),f=d(9244),g=d(84847),v=d(36908),m=d(36787),A=d(22868),s=d(5e3),b=d(10036),R=d(18750),E=d(69808),h=d(20773),x=d(32075),k=d(77446),G=d(25245),X=d(29772),he=d(50301),re=d(98380),Ne=d(51062),ce=d(31359),Pe=d(9954),se=d(16119),V=d(7598);function F(L,de){1&L&&(s.TgZ(0,"div",20),s._UZ(1,"mat-spinner",21),s.qZA())}function W(L,de){if(1&L){const M=s.EpF();s.TgZ(0,"mat-checkbox",24),s.NdJ("change",function(P){s.CHM(M);const N=s.oxw(2);return P?N.masterToggle():null}),s.qZA()}if(2&L){const M=s.oxw(2);s.Q6J("aria-label",M.checkboxLabel())("checked",M.selection.hasValue()&&M.isAllSelected())("indeterminate",M.selection.hasValue()&&!M.isAllSelected())}}function te(L,de){if(1&L&&(s.TgZ(0,"th",22),s.YNc(1,W,1,3,"mat-checkbox",23),s.qZA()),2&L){const M=s.oxw();s.xp6(1),s.Q6J("ngIf",M.selection.isMultipleSelection())}}function ae(L,de){if(1&L){const M=s.EpF();s.TgZ(0,"td",25),s.TgZ(1,"mat-checkbox",26),s.NdJ("change",function(P){const ne=s.CHM(M).$implicit,j=s.oxw();return P?j.selection.toggle(ne):null})("click",function(P){return P.stopPropagation()}),s.qZA(),s.qZA()}if(2&L){const M=de.$implicit,S=s.oxw();s.xp6(1),s.Q6J("aria-label",S.checkboxLabel(M))("checked",S.selection.isSelected(M))}}function pe(L,de){1&L&&s._UZ(0,"th",27)}function Be(L,de){1&L&&(s.TgZ(0,"mat-icon",31),s.ALo(1,"translate"),s._uU(2," account_circle "),s.qZA()),2&L&&s.s9C("matTooltip",s.lcZ(1,1,"MANAGERS_LIST.PERSON"))}function Fe(L,de){if(1&L&&(s._UZ(0,"mat-icon",32),s.ALo(1,"translate")),2&L){const M=s.oxw(2);s.s9C("matTooltip",s.lcZ(1,2,"MANAGERS_LIST.SERVICE")),s.Q6J("svgIcon",M.svgIcon)}}function ke(L,de){if(1&L&&(s.TgZ(0,"td",28),s.YNc(1,Be,3,3,"mat-icon",29),s.YNc(2,Fe,2,4,"mat-icon",30),s.qZA()),2&L){const M=de.$implicit;s.xp6(1),s.Q6J("ngIf",!M.serviceUser),s.xp6(1),s.Q6J("ngIf",M.serviceUser)}}function De(L,de){1&L&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&L&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"MANAGERS_LIST.ID")," "))}function be(L,de){if(1&L&&(s.TgZ(0,"td",28),s._uU(1),s.qZA()),2&L){const M=de.$implicit;s.xp6(1),s.hij(" ",M.id," ")}}function z(L,de){1&L&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&L&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"MANAGERS_LIST.NAME")," "))}function Ce(L,de){if(1&L&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userFullName"),s.qZA()),2&L){const M=de.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,M))}}function J(L,de){1&L&&(s.TgZ(0,"th",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&L&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MANAGERS_LIST.ORGANIZATION")))}function I(L,de){if(1&L&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userVo"),s.qZA()),2&L){const M=de.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,M))}}function Ie(L,de){1&L&&(s.TgZ(0,"th",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&L&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MANAGERS_LIST.EMAIL")))}function Re(L,de){if(1&L&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userEmail"),s.qZA()),2&L){const M=de.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,M))}}function ze(L,de){1&L&&(s.TgZ(0,"th",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&L&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MANAGERS_LIST.LOGINS")))}function fe(L,de){if(1&L&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userLogins"),s.qZA()),2&L){const M=de.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,M))}}function ve(L,de){1&L&&s._UZ(0,"tr",35)}const We=function(L){return["/admin/users",L]};function nt(L,de){if(1&L&&s._UZ(0,"tr",36),2&L){const M=de.$implicit,S=s.oxw();s.ekj("cursor-pointer",!S.disableRouting),s.Q6J("perunWebAppsForceRouterLink",S.disableRouting?null:s.VKq(4,We,M.id))("perunWebAppsMiddleClickRouterLink",S.disableRouting?null:s.VKq(6,We,M.id))}}function st(L,de){1&L&&(s.TgZ(0,"app-alert",37),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&L&&(s.Q6J("alert_type","warn"),s.xp6(1),s.hij(" ",s.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n"))}let dt=(()=>{class L{constructor(M,S,P,N){this.authResolver=M,this.tableCheckbox=S,this.tableConfigService=P,this.dynamicPaginatingService=N,this.svgIcon="perun-service-identity-black",this.selection=new e.Ov(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.disableRouting=!1,this.searchString="",this.attrNames=[],this.pageSizeOptions=f.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,m.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,A.b)(()=>this.loadUsersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(M=>"id"!==M)),this.dataSource=new v.Hy(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadUsers(this.attrNames,this.tableConfigService.getTablePageSize(this.tableId),0,"ASCENDING","NAME",this.searchString,this.withoutVo,this.facilityId,this.voId,this.resourceId,this.serviceId,this.onlyAllowed)}ngOnChanges(){this.dataSource&&(this.child.paginator.pageIndex=0,this.loadUsersPage())}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.getData().forEach(M=>this.selection.select(M))}isAllSelected(){return this.selection.selected.length===this.child.paginator.pageSize}checkboxLabel(M){return M?`${this.selection.isSelected(M)?"deselect":"select"} row ${M.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}loadUsersPage(){this.dataSource.loadUsers(this.attrNames,this.child.paginator.pageSize,this.child.paginator.pageIndex,"asc"===this.sort.direction?"ASCENDING":"DESCENDING","name"===this.sort.active?"NAME":"ID",this.searchString,this.withoutVo,this.facilityId,this.voId,this.resourceId,this.serviceId,this.onlyAllowed)}exportData(M){(0,f.O6)((0,f.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),M)}getExportDataForColumn(M,S){switch(S){case"id":return M.id.toString();case"user":return M.serviceUser?"service-user":"user";case"name":return M?(0,f.bD)(M):"";case"organization":return(0,f.OV)(M);case"email":return(0,f.kN)(M);case"logins":return(0,f.lt)(M);default:return""}}}return L.\u0275fac=function(M){return new(M||L)(s.Y36(v.x4),s.Y36(v.UA),s.Y36(b.dB),s.Y36(v.ly))},L.\u0275cmp=s.Xpm({type:L,selectors:[["perun-web-apps-users-dynamic-list"]],viewQuery:function(M,S){if(1&M&&(s.Gf(f.l9,7),s.Gf(g.YE,5)),2&M){let P;s.iGM(P=s.CRH())&&(S.child=P.first),s.iGM(P=s.CRH())&&(S.sort=P.first)}},inputs:{selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",disableRouting:"disableRouting",searchString:"searchString",attrNames:"attrNames",withoutVo:"withoutVo",updateTable:"updateTable",facilityId:"facilityId",voId:"voId",resourceId:"resourceId",serviceId:"serviceId",onlyAllowed:"onlyAllowed"},features:[s.TTD],decls:31,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","user"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["class","align-bottom",3,"matTooltip",4,"ngIf"],["class","align-bottom",3,"matTooltip","svgIcon",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],[1,"align-bottom",3,"matTooltip","svgIcon"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink"],[3,"alert_type"]],template:function(M,S){1&M&&(s.TgZ(0,"div",0),s.ALo(1,"async"),s.TgZ(2,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(N){return S.exportData(N)}),s.YNc(3,F,2,0,"div",2),s.ALo(4,"async"),s.TgZ(5,"table",3),s.ynx(6,4),s.YNc(7,te,2,1,"th",5),s.YNc(8,ae,2,2,"td",6),s.BQk(),s.ynx(9,7),s.YNc(10,pe,1,0,"th",8),s.YNc(11,ke,3,2,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,De,3,3,"th",11),s.YNc(14,be,2,1,"td",9),s.BQk(),s.ynx(15,12),s.YNc(16,z,3,3,"th",11),s.YNc(17,Ce,3,3,"td",13),s.BQk(),s.ynx(18,14),s.YNc(19,J,3,3,"th",8),s.YNc(20,I,3,3,"td",13),s.BQk(),s.ynx(21,15),s.YNc(22,Ie,3,3,"th",8),s.YNc(23,Re,3,3,"td",13),s.BQk(),s.ynx(24,16),s.YNc(25,ze,3,3,"th",8),s.YNc(26,fe,3,3,"td",13),s.BQk(),s.YNc(27,ve,1,0,"tr",17),s.YNc(28,nt,1,8,"tr",18),s.qZA(),s.qZA(),s.qZA(),s.YNc(29,st,3,4,"app-alert",19),s.ALo(30,"async")),2&M&&(s.Q6J("hidden",0===S.dataSource.allObjectCount&&!1===s.lcZ(1,9,S.dataSource.loading$)),s.xp6(2),s.Q6J("tableId",S.tableId)("dataLength",S.dataSource.allObjectCount)("pageSizeOptions",S.pageSizeOptions),s.xp6(1),s.Q6J("ngIf",s.lcZ(4,11,S.dataSource.loading$)),s.xp6(2),s.Q6J("dataSource",S.dataSource),s.xp6(22),s.Q6J("matHeaderRowDef",S.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",S.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===S.dataSource.allObjectCount&&!1===s.lcZ(30,13,S.dataSource.loading$)))},directives:[R.l,E.O5,h.$g,x.BZ,g.YE,x.w1,x.fO,x.ge,k.oG,x.Dz,x.ev,G.Hw,X.gM,g.nU,x.as,x.XQ,x.nj,x.Gk,he.Kd,he.YH,re.w],pipes:[E.Ov,Ne.X$,ce.d,Pe.Z,se.S,V.g],styles:[".italic_font[_ngcontent-%COMP%]{font-style:italic}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),L})()},62707:(Ze,ge,d)=>{"use strict";d.d(ge,{M:()=>v});var e=d(5e3),f=d(42377),g=d(51062);let v=(()=>{class m{constructor(){this.voSelected=new e.vpe,this.nameFunction=s=>s.name,this.shortNameFunction=s=>s.shortName,this.searchFunction=s=>s.name+s.shortName+s.id}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275cmp=e.Xpm({type:m,selectors:[["perun-web-apps-vo-search-select"]],inputs:{vo:"vo",vos:"vos"},outputs:{voSelected:"voSelected"},decls:4,vars:14,consts:[[3,"entity","entities","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(s,b){1&s&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(E){return b.voSelected.emit(E)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&s&&e.Q6J("entity",b.vo)("entities",b.vos)("searchFunction",b.searchFunction)("mainTextFunction",b.nameFunction)("secondaryTextFunction",b.shortNameFunction)("selectPlaceholder",e.lcZ(1,8,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.SELECT_VO"))("findPlaceholder",e.lcZ(2,10,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.FIND_VO"))("noEntriesText",e.lcZ(3,12,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.NO_VO_FOUND"))},directives:[f.i],pipes:[g.X$],styles:[""]}),m})()},87831:(Ze,ge,d)=>{"use strict";d.d(ge,{Z:()=>Fe});var e=d(84847),f=d(32075),g=d(9244),v=d(36908),m=d(5e3),A=d(18750),s=d(77446),b=d(10441),R=d(50301),E=d(11735),h=d(69808),x=d(98380),k=d(51062);function G(ke,De){1&ke&&m._UZ(0,"th",18)}function X(ke,De){if(1&ke){const be=m.EpF();m.TgZ(0,"td",19),m.TgZ(1,"mat-checkbox",20),m.NdJ("change",function(Ce){const I=m.CHM(be).$implicit,Ie=m.oxw();return Ce?Ie.selection.toggle(I):null})("click",function(Ce){return Ce.stopPropagation()}),m.qZA(),m.qZA()}if(2&ke){const be=De.$implicit,z=m.oxw();m.xp6(1),m.Q6J("aria-label",z.checkboxLabel(be))("checked",z.selection.isSelected(be))}}function he(ke,De){1&ke&&(m.TgZ(0,"th",21),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ke&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.ID")," "))}function re(ke,De){if(1&ke&&(m.TgZ(0,"td",22),m._uU(1),m.qZA()),2&ke){const be=De.$implicit;m.xp6(1),m.Oqu(be.id)}}function Ne(ke,De){1&ke&&m._UZ(0,"th",23)}function ce(ke,De){if(1&ke&&(m.TgZ(0,"td",24),m._UZ(1,"perun-web-apps-recently-viewed-icon",25),m.qZA()),2&ke){const be=De.$implicit,z=m.oxw();m.xp6(1),m.Q6J("recentIds",z.recentIds)("id",be.id)}}function Pe(ke,De){1&ke&&(m.TgZ(0,"th",21),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ke&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.SHORTNAME")," "))}function se(ke,De){if(1&ke&&(m.TgZ(0,"td",24),m._uU(1),m.qZA()),2&ke){const be=De.$implicit;m.uIk("data-cy",be.shortName),m.xp6(1),m.Oqu(be.shortName)}}function V(ke,De){1&ke&&(m.TgZ(0,"th",21),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ke&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.NAME")," "))}function F(ke,De){if(1&ke&&(m.TgZ(0,"td",24),m._uU(1),m.qZA()),2&ke){const be=De.$implicit;m.xp6(1),m.Oqu(be.name)}}function W(ke,De){1&ke&&m._UZ(0,"tr",26)}const te=function(ke){return["/organizations",ke]};function ae(ke,De){if(1&ke&&m._UZ(0,"tr",27),2&ke){const be=De.$implicit,z=m.oxw();m.ekj("disable-outline",z.disableRouting),m.Q6J("perunWebAppsMiddleClickRouterLink",z.disableRouting?null:m.VKq(4,te,be.id))("routerLink",z.disableRouting?null:m.VKq(6,te,be.id))}}function pe(ke,De){1&ke&&(m.TgZ(0,"app-alert",28),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ke&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Be(ke,De){1&ke&&(m.TgZ(0,"app-alert",29),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ke&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_ORGANIZATIONS"),"\n"))}let Fe=(()=>{class ke{constructor(be){this.authResolver=be,this.vos=[],this.displayedColumns=[],this.disableRouting=!1,this.pageSizeOptions=g.f7}set matSort(be){this.sort=be}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(be=>"id"!==be)),this.setDataSource()}getDataForColumn(be,z,Ce){switch(z){case"id":return be.id.toString();case"shortName":return be.shortName;case"name":return be.name;case"recent":return Ce.recentIds&&Ce.recentIds.indexOf(be.id)>-1?"#".repeat(Ce.recentIds.indexOf(be.id)):be.name;default:return be[z]}}exportData(be){(0,g.O6)((0,g.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),be)}setDataSource(){this.dataSource||(this.dataSource=new f.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(be,z)=>(0,g.Sd)(be,z,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(be,z)=>(0,g.pR)(be,z,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.vos}checkboxLabel(be){return`${this.selection.isSelected(be)?"deselect":"select"} row ${be.id+1}`}}return ke.\u0275fac=function(be){return new(be||ke)(m.Y36(v.x4))},ke.\u0275cmp=m.Xpm({type:ke,selectors:[["perun-web-apps-vos-list"]],viewQuery:function(be,z){if(1&be&&(m.Gf(e.YE,7),m.Gf(g.l9,7)),2&be){let Ce;m.iGM(Ce=m.CRH())&&(z.matSort=Ce.first),m.iGM(Ce=m.CRH())&&(z.child=Ce.first)}},inputs:{vos:"vos",recentIds:"recentIds",filterValue:"filterValue",selection:"selection",displayedColumns:"displayedColumns",disableRouting:"disableRouting",pageSizeOptions:"pageSizeOptions",tableId:"tableId"},features:[m.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","shortName"],["matColumnDef","name"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn","data-cy","no-filter-result",4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn","data-cy","no-filter-result"],["alert_type","warn"]],template:function(be,z){1&be&&(m.TgZ(0,"div",0),m.TgZ(1,"perun-web-apps-table-wrapper",1),m.NdJ("exportData",function(J){return z.exportData(J)}),m.TgZ(2,"table",2),m.ynx(3,3),m.YNc(4,G,1,0,"th",4),m.YNc(5,X,2,2,"td",5),m.BQk(),m.ynx(6,6),m.YNc(7,he,3,3,"th",7),m.YNc(8,re,2,1,"td",8),m.BQk(),m.ynx(9,9),m.YNc(10,Ne,1,0,"th",10),m.YNc(11,ce,2,2,"td",11),m.BQk(),m.ynx(12,12),m.YNc(13,Pe,3,3,"th",7),m.YNc(14,se,2,2,"td",11),m.BQk(),m.ynx(15,13),m.YNc(16,V,3,3,"th",7),m.YNc(17,F,2,1,"td",11),m.BQk(),m.YNc(18,W,1,0,"tr",14),m.YNc(19,ae,1,8,"tr",15),m.qZA(),m.qZA(),m.qZA(),m.YNc(20,pe,3,3,"app-alert",16),m.YNc(21,Be,3,3,"app-alert",17)),2&be&&(m.Q6J("hidden",0===z.dataSource.filteredData.length||0===z.vos.length),m.xp6(1),m.Q6J("dataLength",z.dataSource.filteredData.length)("tableId",z.tableId)("pageSizeOptions",z.pageSizeOptions),m.xp6(1),m.Q6J("dataSource",z.dataSource),m.xp6(16),m.Q6J("matHeaderRowDef",z.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",z.displayedColumns),m.xp6(1),m.Q6J("ngIf",0===z.dataSource.filteredData.length&&0!==z.vos.length),m.xp6(1),m.Q6J("ngIf",0===z.vos.length))},directives:[A.l,f.BZ,e.YE,f.w1,f.fO,f.ge,f.Dz,f.ev,s.oG,e.nU,b.W,f.as,f.XQ,f.nj,f.Gk,R.YH,E.rH,h.O5,x.w],pipes:[k.X$],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important}.static-column-size[_ngcontent-%COMP%]{width:80px}.disable-outline[_ngcontent-%COMP%]{outline:none!important}tr[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),ke})()},84379:(Ze,ge,d)=>{"use strict";d.d(ge,{Wr:()=>St,r2:()=>Et,gr:()=>Mt,u3:()=>Qe,Qu:()=>Ln,pf:()=>V,xF:()=>ti,hd:()=>Bi,kZ:()=>en,wA:()=>je,rd:()=>Ce,Eg:()=>z,Bp:()=>We,qD:()=>Gi,jd:()=>Ti,FM:()=>M,Lc:()=>u,mk:()=>i,Tf:()=>oe}),d(19516);var f=d(28499),v=d(48966),m=d(112),A=d(36908),s=d(5e3),b=d(51062),R=d(69808),E=d(20773),h=d(67322),x=d(74107),k=d(90508),G=d(47423),X=d(20551);function he(pt,Kt){1&pt&&s._UZ(0,"mat-spinner",6)}function re(pt,Kt){if(1&pt&&(s.TgZ(0,"mat-option",17),s._uU(1),s.ALo(2,"memberStatus"),s.qZA()),2&pt){const Je=Kt.$implicit;s.Q6J("value",Je),s.xp6(1),s.Oqu(s.lcZ(2,2,Je))}}function Ne(pt,Kt){if(1&pt){const Je=s.EpF();s.TgZ(0,"mat-form-field",14),s.TgZ(1,"mat-label"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-select",15),s.NdJ("selectionChange",function(ot){return s.CHM(Je),s.oxw(3).changeStatus(ot)}),s.YNc(5,re,3,4,"mat-option",16),s.qZA(),s.qZA()}if(2&pt){const Je=s.oxw(3);s.xp6(2),s.Oqu(s.lcZ(3,2,"DIALOGS.CHANGE_STATUS.SELECT_STATUS")),s.xp6(3),s.Q6J("ngForOf",Je.allStatuses)}}function ce(pt,Kt){if(1&pt&&(s.TgZ(0,"div",8),s._uU(1),s.ALo(2,"translate"),s.YNc(3,Ne,6,4,"mat-form-field",13),s.qZA()),2&pt){const Je=s.oxw(2);s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," "),s.xp6(2),s.Q6J("ngIf",!Je.loading)}}function Pe(pt,Kt){if(1&pt&&(s.TgZ(0,"div",8),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"memberStatus"),s.qZA()),2&pt){const Je=s.oxw(2);s.xp6(1),s.AsE(" ",s.lcZ(2,2,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," ",s.lcZ(3,4,Je.allStatuses[0])," ")}}function se(pt,Kt){if(1&pt&&(s.TgZ(0,"div",7),s.TgZ(1,"div",8),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"memberStatus"),s.qZA(),s.TgZ(5,"div",9),s._uU(6),s.qZA(),s.YNc(7,ce,4,4,"div",10),s.YNc(8,Pe,4,6,"div",10),s.TgZ(9,"div",11),s._UZ(10,"i",12),s.qZA(),s.qZA()),2&pt){const Je=s.oxw();s.xp6(2),s.AsE(" ",s.lcZ(3,6,"DIALOGS.CHANGE_STATUS.CURRENT_STATUS")," ",s.lcZ(4,8,Je.actualStatus)," "),s.xp6(4),s.Oqu(Je.description),s.xp6(1),s.Q6J("ngIf",Je.allStatuses.length>1),s.xp6(1),s.Q6J("ngIf",1===Je.allStatuses.length),s.xp6(2),s.Q6J("innerHTML",Je.changeMessage,s.oJD)}}let V=(()=>{class pt{constructor(Je,Tt,ot,zt,Ue,Pt){this.dialogRef=Je,this.data=Tt,this.memberManager=ot,this.groupsManager=zt,this.notificatorService=Ue,this.translate=Pt,this.loading=!1,this.allStatuses=["VALID","INVALID","EXPIRED","DISABLED"]}ngOnInit(){switch(this.data.groupId?(this.theme="group-theme",this.actualStatus=this.data.member.groupStatus):(this.theme="vo-theme",this.actualStatus=this.data.member.status),this.changeStatusButton=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_STATUS"),this.changeStatusWithExpButton=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_STATUS_WITH_EXPIRATION"),this.submitButtonText=this.changeStatusButton,this.data.groupId?("VALID"===this.actualStatus?(this.allStatuses=["EXPIRED"],this.selectedStatus="EXPIRED"):(this.allStatuses=["VALID"],this.selectedStatus="VALID"),this.submitButtonText=this.changeStatusWithExpButton,this.changeStatusMessage(this.actualStatus,this.selectedStatus)):this.allStatuses="INVALID"===this.actualStatus?["VALID","EXPIRED"]:this.allStatuses.filter(Je=>Je!==this.actualStatus),this.actualStatus){case"VALID":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.VALID_DESCRIPTION");break;case"INVALID":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.INVALID_DESCRIPTION");break;case"EXPIRED":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.EXPIRED_DESCRIPTION");break;case"DISABLED":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.DISABLED_DESCRIPTION");break;default:this.description=""}}changeStatus(Je){this.selectedStatus=Je.value,this.submitButtonText="VALID"===this.actualStatus&&"EXPIRED"===this.selectedStatus||"VALID"===this.actualStatus&&"DISABLED"===this.selectedStatus||"VALID"===this.selectedStatus?this.changeStatusWithExpButton:this.changeStatusButton,this.changeStatusMessage(this.actualStatus,this.selectedStatus)}changeStatusMessage(Je,Tt){if("VALID"===Je)switch(Tt){case"INVALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_VALID_TO_INVALID");break;case"EXPIRED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_VALID_TO_EXPIRED");break;case"DISABLED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_VALID_TO_DISABLED");break;default:this.changeMessage=""}else switch(Tt){case"VALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_VALID");break;case"INVALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_INVALID");break;case"EXPIRED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_EXPIRED");break;case"DISABLED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_DISABLED");break;default:this.changeMessage=""}}cancel(){this.dialogRef.close()}submit(){this.loading=!0,this.data.groupId?this.groupsManager.setGroupsMemberStatus(this.data.member.id,this.data.groupId,this.selectedStatus).subscribe(Je=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(Tt=>{this.notificatorService.showSuccess(Tt),this.dialogRef.close(Je)})},()=>this.loading=!1):this.memberManager.setStatus(this.data.member.id,this.selectedStatus).subscribe(Je=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(Tt=>{this.notificatorService.showSuccess(Tt),this.dialogRef.close(Je)})},()=>this.loading=!1)}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI),s.Y36(m.uq),s.Y36(m.ff),s.Y36(A.V6),s.Y36(b.sK))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-change-member-status-dialog"]],decls:12,vars:13,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-weight-bold","pb-1"],[1,"text-muted","pb-3"],["class","font-weight-bold pb-1",4,"ngIf"],[1,"text-muted","new-line"],[3,"innerHTML"],["class","mr-2 mt-2",4,"ngIf"],[1,"mr-2","mt-2"],[3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,he,1,0,"mat-spinner",1),s.YNc(5,se,11,10,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return Tt.cancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return Tt.submit()}),s._uU(11),s.qZA(),s.qZA(),s.qZA()),2&Je&&(s.Tol(Tt.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,"DIALOGS.CHANGE_STATUS.TITLE")),s.xp6(2),s.Q6J("ngIf",Tt.loading),s.xp6(1),s.Q6J("ngIf",!Tt.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"DIALOGS.CHANGE_STATUS.CANCEL")," "),s.xp6(2),s.Q6J("disabled",Tt.loading||!Tt.selectedStatus),s.xp6(1),s.hij(" ",Tt.submitButtonText," "))},directives:[v.uh,R.O5,E.$g,v.xY,h.KE,h.hX,x.gD,R.sg,k.ey,v.H8,G.lW],pipes:[b.X$,X.l],styles:[".new-line[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),pt})();var F=d(93075),W=d(98833);function te(pt,Kt){1&pt&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_FACILITY")," "))}function ae(pt,Kt){1&pt&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_RESOURCE")," "))}function pe(pt,Kt){1&pt&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_VO")," "))}function Be(pt,Kt){1&pt&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_GROUP")," "))}function Fe(pt,Kt){1&pt&&s._UZ(0,"mat-spinner",8)}function ke(pt,Kt){if(1&pt&&(s.TgZ(0,"mat-form-field"),s._UZ(1,"input",13),s.ALo(2,"translate"),s.qZA()),2&pt){const Je=s.oxw(2);s.xp6(1),s.MGl("placeholder","",s.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SHORT_NAME"),":"),s.Q6J("value",Je.shortName)}}function De(pt,Kt){if(1&pt&&(s.TgZ(0,"mat-form-field",14),s._UZ(1,"textarea",15),s.ALo(2,"translate"),s.qZA()),2&pt){const Je=s.oxw(2);s.xp6(1),s.MGl("placeholder","",s.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.DESCRIPTION"),":"),s.Q6J("formControl",Je.descriptionCtrl)}}function be(pt,Kt){if(1&pt&&(s.TgZ(0,"div",9),s.YNc(1,ke,3,4,"mat-form-field",10),s.TgZ(2,"mat-form-field"),s._UZ(3,"input",11),s.ALo(4,"translate"),s.TgZ(5,"mat-error"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.YNc(8,De,3,4,"mat-form-field",12),s.qZA()),2&pt){const Je=s.oxw();s.xp6(1),s.Q6J("ngIf",2===Je.dialogType),s.xp6(2),s.MGl("placeholder","",s.lcZ(4,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.NAME"),":"),s.Q6J("formControl",Je.nameCtrl),s.xp6(3),s.hij(" ",Je.invalidNameMessage.length?Je.invalidNameMessage:s.lcZ(7,7,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_NAME")," "),s.xp6(2),s.Q6J("ngIf",2!==Je.dialogType)}}var z=(()=>{return(pt=z||(z={}))[pt.FACILITY=0]="FACILITY",pt[pt.RESOURCE=1]="RESOURCE",pt[pt.VO=2]="VO",pt[pt.GROUP=3]="GROUP",z;var pt})();let Ce=(()=>{class pt{constructor(Je,Tt,ot,zt,Ue,Pt,Gt,Qt,Ci){this.dialogRef=Je,this.data=Tt,this.notificator=ot,this.translateService=zt,this.facilitiesManager=Ue,this.resourcesManager=Pt,this.groupsManager=Gt,this.vosManager=Qt,this.store=Ci,this.invalidNameMessage=this.data.dialogType===z.GROUP?this.store.get("group_name_error_message"):"",this.loading=!1,this.secondaryRegex=this.data.dialogType===z.GROUP?this.store.get("group_name_secondary_regex"):""}ngOnInit(){switch(this.theme=this.data.theme,this.dialogType=this.data.dialogType,this.dialogType){case z.FACILITY:this.nameCtrl=new F.NI(this.data.facility.name,[F.kI.required,F.kI.pattern(".*[\\S]+.*"),F.kI.maxLength(129)]),this.descriptionCtrl=new F.NI(this.data.facility.description);break;case z.RESOURCE:this.nameCtrl=new F.NI(this.data.resource.name,[F.kI.required,F.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new F.NI(this.data.resource.description);break;case z.GROUP:{const Je=this.data.group.name.split(":");this.nameCtrl=new F.NI(Je[Je.length-1],[F.kI.required,F.kI.pattern(".*[\\S]+.*"),F.kI.pattern(this.secondaryRegex),F.kI.maxLength(129)]),this.descriptionCtrl=new F.NI(this.data.group.description);break}case z.VO:this.shortName=this.data.vo.shortName,this.nameCtrl=new F.NI(this.data.vo.name,[F.kI.required,F.kI.pattern(".*[\\S]+.*"),F.kI.maxLength(129)]),this.descriptionCtrl=new F.NI}}cancel(){this.dialogRef.close(!1)}submit(){switch(this.loading=!0,this.dialogType){case z.FACILITY:this.editFacility();break;case z.RESOURCE:this.editResource();break;case z.GROUP:this.editGroup();break;case z.VO:this.editVo()}}editResource(){this.data.resource.name=this.nameCtrl.value,this.data.resource.description=this.descriptionCtrl.value,this.resourcesManager.updateResource({resource:this.data.resource}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.RESOURCE_SUCCESS").subscribe(Je=>{this.notificator.showSuccess(Je),this.dialogRef.close(!0)})},()=>this.loading=!1)}editFacility(){this.data.facility.name=this.nameCtrl.value,this.data.facility.description=this.descriptionCtrl.value,this.facilitiesManager.updateFacility({facility:this.data.facility}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FACILITY_SUCCESS").subscribe(Je=>{this.notificator.showSuccess(Je),this.dialogRef.close(!0)})},()=>this.loading=!1)}editGroup(){this.groupsManager.getGroupById(this.data.group.id).subscribe(Je=>{const Tt=Je;Tt.name=this.nameCtrl.value,Tt.description=this.descriptionCtrl.value,this.groupsManager.updateGroup({group:Tt}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.GROUP_SUCCESS").subscribe(ot=>{this.notificator.showSuccess(ot),this.dialogRef.close(!0)})},()=>this.loading=!1)},()=>this.loading=!1)}editVo(){this.data.vo.name=this.nameCtrl.value,this.vosManager.updateVo({vo:this.data.vo}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.VO_SUCCESS").subscribe(Je=>{this.notificator.showSuccess(Je),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI),s.Y36(A.V6),s.Y36(b.sK),s.Y36(m.IQ),s.Y36(m.xk),s.Y36(m.ff),s.Y36(m.YF),s.Y36(A.d6))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-edit-facility-resource-group-vo-dialog"]],decls:15,vars:16,consts:[["mat-dialog-title","",4,"ngIf"],["mat-dialog-content",""],["class","mr-auto ml-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["mat-dialog-title",""],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[4,"ngIf"],["matInput","","required","",3,"formControl","placeholder"],["class","mt-3",4,"ngIf"],["disabled","","matInput","","required","",3,"value","placeholder"],[1,"mt-3"],["mat-autosize","","matInput","",1,"overflow-hidden",3,"formControl","placeholder"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"div"),s.YNc(1,te,3,3,"h1",0),s.YNc(2,ae,3,3,"h1",0),s.YNc(3,pe,3,3,"h1",0),s.YNc(4,Be,3,3,"h1",0),s.TgZ(5,"div",1),s.YNc(6,Fe,1,0,"mat-spinner",2),s.YNc(7,be,9,9,"div",3),s.qZA(),s.TgZ(8,"div",4),s.TgZ(9,"button",5),s.NdJ("click",function(){return Tt.cancel()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"button",6),s.NdJ("click",function(){return Tt.submit()}),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.qZA(),s.qZA()),2&Je&&(s.Tol(Tt.theme),s.xp6(1),s.Q6J("ngIf",0===Tt.dialogType),s.xp6(1),s.Q6J("ngIf",1===Tt.dialogType),s.xp6(1),s.Q6J("ngIf",2===Tt.dialogType),s.xp6(1),s.Q6J("ngIf",3===Tt.dialogType),s.xp6(2),s.Q6J("ngIf",Tt.loading),s.xp6(1),s.Q6J("ngIf",!Tt.loading),s.xp6(3),s.hij(" ",s.lcZ(11,12,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.CANCEL_BUTTON")," "),s.xp6(2),s.Q6J("disabled",Tt.loading||Tt.nameCtrl.invalid||Tt.descriptionCtrl.invalid),s.xp6(1),s.hij(" ",s.lcZ(14,14,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SUBMIT_BUTTON")," "))},directives:[R.O5,v.uh,v.xY,E.$g,h.KE,W.Nt,F.Fj,F.Q7,F.JJ,F.oH,h.TO,v.H8,G.lW],pipes:[b.X$],styles:[""]}),pt})();var J=d(64080),I=d(9244),Ie=d(25245);function Re(pt,Kt){1&pt&&s._UZ(0,"mat-spinner",8)}function ze(pt,Kt){if(1&pt&&(s.TgZ(0,"div",9),s.TgZ(1,"span"),s._uU(2),s.ALo(3,"translate"),s.TgZ(4,"b"),s._uU(5),s.qZA(),s.qZA(),s._UZ(6,"br"),s.TgZ(7,"span"),s._uU(8),s.ALo(9,"translate"),s.TgZ(10,"b"),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s._UZ(13,"br"),s.TgZ(14,"span"),s._uU(15),s.ALo(16,"translate"),s.TgZ(17,"b"),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.qZA(),s._UZ(20,"br"),s.TgZ(21,"span"),s._uU(22),s.ALo(23,"translate"),s.TgZ(24,"b"),s._uU(25),s.ALo(26,"translate"),s.qZA(),s.qZA(),s.qZA()),2&pt){const Je=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,8,"DIALOGS.GROUP_SYNC_DETAIL.GROUP_NAME")," "),s.xp6(3),s.Oqu(Je.group.name),s.xp6(3),s.hij(" ",s.lcZ(9,10,"DIALOGS.GROUP_SYNC_DETAIL.SYNCHRONIZATION")," "),s.xp6(3),s.Oqu(s.lcZ(12,12,Je.getSynchronizationType())),s.xp6(4),s.hij(" ",s.lcZ(16,14,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_STATE")," "),s.xp6(3),s.Oqu(s.lcZ(19,16,Je.getLastSyncState())),s.xp6(4),s.hij(" ",s.lcZ(23,18,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_TIME")," "),s.xp6(3),s.Oqu(s.lcZ(26,20,Je.getLastSyncTime()))}}function fe(pt,Kt){if(1&pt){const Je=s.EpF();s.TgZ(0,"button",10),s.NdJ("click",function(){return s.CHM(Je),s.oxw().onForceStructure()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&pt){const Je=s.oxw();s.Q6J("disabled",Je.loading),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE_STRUCTURE")," ")}}function ve(pt,Kt){if(1&pt){const Je=s.EpF();s.TgZ(0,"button",10),s.NdJ("click",function(){return s.CHM(Je),s.oxw().onForce()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&pt){const Je=s.oxw();s.Q6J("disabled",Je.loading),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE")," ")}}let We=(()=>{class pt{constructor(Je,Tt,ot,zt){this.dialogRef=Je,this.data=Tt,this.groupService=ot,this.notificator=zt,this.loading=!0}ngOnInit(){this.theme=this.data.theme,this.loadGroup()}onForceStructure(){this.loading=!0,this.groupService.forceGroupStructureSynchronization(this.data.groupId).subscribe(()=>{this.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.STRUCT_FORCE_SUCCESS"),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(null)}onForce(){this.loading=!0,this.isBasic()&&this.groupService.forceGroupSynchronization(this.group.id).subscribe(()=>{this.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.FORCE_SUCCESS"),this.refresh()},()=>this.loading=!1),this.isStructured()&&this.groupService.forceGroupStructureSynchronization(this.group.id).subscribe(()=>{this.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.FORCE_SUCCESS"),this.refresh()},()=>this.loading=!1)}getSynchronizationType(){return this.isBasic()?"DIALOGS.GROUP_SYNC_DETAIL.NORMAL_SYNC":this.isStructured()?"DIALOGS.GROUP_SYNC_DETAIL.STRUCT_SYNC":"N/A"}isBasic(){return"BASIC"===this.type}isStructured(){return"STRUCTURED"===this.type}getLastSyncState(){return this.isBasic()?""!==this.lastSyncState?this.lastSyncState:"OK":this.isStructured()?""!==this.lastStructSyncState?this.lastStructSyncState:"OK":"N/A"}getLastSyncTime(){return this.isBasic()?this.lastSyncTime:this.isStructured()?this.lastStructSyncTime:"N/A"}refresh(){this.loadGroup()}loadGroup(){this.loading=!0,this.groupService.getRichGroupByIdWithAttributesByNames(this.data.groupId,[J.r.GROUP_SYNC_ENABLED,J.r.GROUP_LAST_SYNC_STATE,J.r.GROUP_LAST_SYNC_TIMESTAMP,J.r.GROUP_STRUCTURE_SYNC_ENABLED,J.r.GROUP_LAST_STRUCTURE_SYNC_STATE,J.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(Je=>{this.group=Je,this.syncEnabled=(0,I.IL)(this.group.attributes,J.r.GROUP_SYNC_ENABLED).value,this.lastSyncState=(0,I.IL)(this.group.attributes,J.r.GROUP_LAST_SYNC_STATE).value,this.lastSyncTime=(0,I.IL)(this.group.attributes,J.r.GROUP_LAST_SYNC_TIMESTAMP).value,this.structSyncEnabled=(0,I.IL)(this.group.attributes,J.r.GROUP_STRUCTURE_SYNC_ENABLED).value,this.lastStructSyncState=(0,I.IL)(this.group.attributes,J.r.GROUP_LAST_STRUCTURE_SYNC_STATE).value,this.lastStructSyncTime=(0,I.IL)(this.group.attributes,J.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP).value,null!==this.syncEnabled&&"true"===this.syncEnabled&&(this.type="BASIC"),null!==this.structSyncEnabled&&this.structSyncEnabled&&(this.type="STRUCTURED"),this.loading=!1})}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI),s.Y36(m.ff),s.Y36(A.V6))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-group-sync-detail-dialog"]],decls:16,vars:13,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-icon-button","",3,"click"],["class","ml-2","mat-flat-button","",3,"disabled","click",4,"ngIf"],["mat-flat-button","",1,"ml-2",3,"click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Re,1,0,"mat-spinner",1),s.YNc(5,ze,27,22,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"div",4),s.TgZ(8,"button",5),s.NdJ("click",function(){return Tt.refresh()}),s.TgZ(9,"mat-icon"),s._uU(10,"refresh"),s.qZA(),s.qZA(),s.YNc(11,fe,3,4,"button",6),s.YNc(12,ve,3,4,"button",6),s.TgZ(13,"button",7),s.NdJ("click",function(){return Tt.onCancel()}),s._uU(14),s.ALo(15,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&Je&&(s.Tol(Tt.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,"DIALOGS.GROUP_SYNC_DETAIL.TITLE")),s.xp6(2),s.Q6J("ngIf",Tt.loading),s.xp6(1),s.Q6J("ngIf",!Tt.loading),s.xp6(6),s.Q6J("ngIf",Tt.isStructured()),s.xp6(1),s.Q6J("ngIf",Tt.isBasic()||Tt.isStructured()),s.xp6(2),s.hij(" ",s.lcZ(15,11,"DIALOGS.GROUP_SYNC_DETAIL.CANCEL")," "))},directives:[v.uh,R.O5,E.$g,v.xY,v.H8,G.lW,Ie.Hw],pipes:[b.X$],styles:[""]}),pt})();function nt(pt,Kt){1&pt&&s._UZ(0,"mat-spinner",7)}function st(pt,Kt){1&pt&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function dt(pt,Kt){1&pt&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function L(pt,Kt){if(1&pt){const Je=s.EpF();s.TgZ(0,"div",8),s.TgZ(1,"mat-form-field"),s.TgZ(2,"mat-label"),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"input",9,10),s.NdJ("ngModelChange",function(ot){return s.CHM(Je),s.oxw().subject=ot}),s.qZA(),s.YNc(7,st,3,3,"mat-error",11),s.qZA(),s.TgZ(8,"mat-form-field"),s.TgZ(9,"mat-label"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"textarea",12,13),s.NdJ("ngModelChange",function(ot){return s.CHM(Je),s.oxw().message=ot}),s.ALo(14,"translate"),s._uU(15," "),s.qZA(),s.YNc(16,dt,3,3,"mat-error",11),s.qZA(),s.qZA()}if(2&pt){const Je=s.MAs(6),Tt=s.MAs(13),ot=s.oxw();s.xp6(3),s.Oqu(s.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),s.xp6(2),s.Q6J("ngModel",ot.subject),s.xp6(2),s.Q6J("ngIf",Je.invalid),s.xp6(3),s.Oqu(s.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),s.xp6(2),s.s9C("placeholder",s.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),s.Q6J("ngModel",ot.message),s.xp6(4),s.Q6J("ngIf",Tt.invalid)}}let de=(()=>{class pt{constructor(Je,Tt,ot,zt,Ue,Pt){this.dialogRef=Je,this.translate=Tt,this.notificator=ot,this.rtMessages=zt,this.data=Ue,this.storeService=Pt,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(Je=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+Je.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const Je=this.storeService.get("config");let Tt=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(Tt=Tt.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),Tt=Tt.concat(this.data.error.message+"\nPerun instance: "+Je+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const ot=/"password":".+?"/;let zt=JSON.stringify(this.data.error.payload);zt=zt.replace(ot,'"password":"####"'),Tt=Tt.concat("Payload:\n"+zt+"\n\n")}return Tt=Tt.concat("Sended from new Perun Gui, version: "+d(4147).i8),Tt.split("\n").join("\n ")}parseMethod(Je){return Je&&this.methodRegexp.exec(Je)[1]}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(b.sK),s.Y36(A.V6),s.Y36(m.Hr),s.Y36(v.WI),s.Y36(A.d6))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-bug-report-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"],["messageModel","ngModel"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.YNc(3,nt,1,0,"mat-spinner",1),s.YNc(4,L,17,13,"div",2),s.TgZ(5,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"button",5),s.NdJ("click",function(){return Tt.dialogRef.close()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",6),s.NdJ("click",function(){return Tt.sendBugReport()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&Je&&(s.xp6(1),s.Oqu(s.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),s.xp6(2),s.Q6J("ngIf",Tt.loading),s.xp6(1),s.Q6J("ngIf",!Tt.loading),s.xp6(4),s.hij(" ",s.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),s.xp6(2),s.Q6J("disabled",""===Tt.message||""===Tt.subject||Tt.loading),s.xp6(1),s.hij(" ",s.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[v.uh,R.O5,E.$g,v.xY,h.KE,h.hX,W.Nt,F.Fj,F.Q7,F.JJ,F.On,h.TO,v.H8,G.lW],pipes:[b.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),pt})(),M=(()=>{class pt{constructor(Je,Tt,ot){this.dialogRef=Je,this.dialog=Tt,this.data=ot}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const Je=(0,I.kZ)();Je.width="550px",Je.data={error:this.data.error},Je.autoFocus=!1,this.dialog.open(de,Je)}),this.dialogRef.close()}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.uw),s.Y36(v.WI))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-notification-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"hidden","click"],["autofocus","","mat-button","",1,"ml-2",3,"click"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"h1",0),s._uU(1),s.qZA(),s.TgZ(2,"div",1),s._uU(3),s.qZA(),s.TgZ(4,"div",2),s.TgZ(5,"div",3),s.TgZ(6,"button",4),s.NdJ("click",function(){return Tt.onBugReportClick()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",5),s.NdJ("click",function(){return Tt.onCloseClick()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA(),s.qZA()),2&Je&&(s.xp6(1),s.Oqu(Tt.data.title),s.xp6(2),s.hij(" ",Tt.data.description,"\n"),s.xp6(3),s.Q6J("hidden","error"!==Tt.data.type),s.xp6(1),s.hij(" ",s.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),s.xp6(3),s.hij(" ",s.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[v.uh,v.xY,v.H8,G.lW],pipes:[b.X$],styles:[""]}),pt})();var S=d(32075),P=d(34447);function N(pt,Kt){1&pt&&s._UZ(0,"mat-spinner",3)}function ne(pt,Kt){1&pt&&s._UZ(0,"th",15)}function j(pt,Kt){if(1&pt&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&pt){const Je=Kt.$implicit;s.xp6(1),s.hij(" ",Je.userExtSource.extSource.name," ")}}function Te(pt,Kt){1&pt&&s._UZ(0,"tr",17)}function n(pt,Kt){1&pt&&s._UZ(0,"tr",18)}function r(pt,Kt){if(1&pt){const Je=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div",4),s.TgZ(2,"p"),s._uU(3),s.ALo(4,"translate"),s.ALo(5,"customTranslate"),s.qZA(),s.TgZ(6,"div",5),s._uU(7),s.ALo(8,"translate"),s.ALo(9,"customTranslate"),s.qZA(),s.TgZ(10,"table",6),s.ynx(11,7),s.YNc(12,ne,1,0,"th",8),s.YNc(13,j,2,1,"td",9),s.BQk(),s.YNc(14,Te,1,0,"tr",10),s.YNc(15,n,1,0,"tr",11),s.qZA(),s.qZA(),s.TgZ(16,"div",12),s.TgZ(17,"button",13),s.NdJ("click",function(){return s.CHM(Je),s.oxw().onCancel()}),s._uU(18),s.ALo(19,"translate"),s.ALo(20,"customTranslate"),s.qZA(),s.TgZ(21,"button",14),s.NdJ("click",function(){return s.CHM(Je),s.oxw().onSubmit()}),s._uU(22),s.ALo(23,"translate"),s.ALo(24,"customTranslate"),s.qZA(),s.qZA(),s.qZA()}if(2&pt){const Je=s.oxw();s.xp6(3),s.hij(" ",s.lcZ(4,7,s.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),s.xp6(4),s.hij(" ",s.lcZ(8,11,s.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),s.xp6(3),s.Q6J("dataSource",Je.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",Je.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",Je.displayedColumns),s.xp6(3),s.hij(" ",s.lcZ(19,15,s.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),s.xp6(4),s.hij(" ",s.lcZ(23,19,s.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let u=(()=>{class pt{constructor(Je,Tt,ot,zt,Ue){this.dialogRef=Je,this.data=Tt,this.usersManagerService=ot,this.translate=zt,this.notificator=Ue,this.force=!1,this.displayedColumns=["name"],zt.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(Pt=>this.successMessage=Pt)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new S.by(this.data.extSources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.extSources.length?this.usersManagerService.removeUserExtSource(this.data.userId,this.data.extSources.pop().userExtSource.id,this.force).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):(this.loading=!1,this.data.showSuccess&&this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI),s.Y36(m.Fv),s.Y36(b.sK),s.Y36(A.V6))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-remove-user-ext-source-dialog"]],decls:7,vars:10,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div"),s.YNc(5,N,1,0,"mat-spinner",1),s.YNc(6,r,25,23,"div",2),s.qZA()),2&Je&&(s.xp6(1),s.hij(" ",s.lcZ(2,6,s.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE")),"\n"),s.xp6(3),s.Tol(Tt.theme),s.xp6(1),s.Q6J("ngIf",Tt.loading),s.xp6(1),s.Q6J("ngIf",!Tt.loading))},directives:[v.uh,R.O5,E.$g,v.xY,S.BZ,S.w1,S.fO,S.ge,S.Dz,S.ev,S.as,S.XQ,S.nj,S.Gk,v.H8,G.lW],pipes:[b.X$,P.a],styles:[""]}),pt})();var o=d(74533),t=d(69287);let i=(()=>{class pt{constructor(Je,Tt){this.dialogRef=Je,this.data=Tt}ngOnInit(){this.value=this.data.value,this.title=this.data.title}onCancel(){this.dialogRef.close()}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-show-value-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","overflow-hidden"],["cdkTextareaAutosize","","matInput","","readonly","",1,"w-100","display-fix"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"cdkCopyToClipboard"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"h1",0),s._uU(1),s.qZA(),s.TgZ(2,"div",1),s.TgZ(3,"textarea",2),s._uU(4),s.qZA(),s.qZA(),s.TgZ(5,"div",3),s.TgZ(6,"button",4),s.NdJ("click",function(){return Tt.onCancel()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",5),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA()),2&Je&&(s.xp6(1),s.Oqu(Tt.title),s.xp6(3),s.Oqu(Tt.value),s.xp6(3),s.hij(" ",s.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),s.xp6(2),s.Q6J("cdkCopyToClipboard",Tt.value),s.xp6(1),s.hij(" ",s.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[v.uh,v.xY,o.IC,W.Nt,v.H8,G.lW,t.i3],pipes:[b.X$],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),pt})();function c(pt,Kt){1&pt&&s._UZ(0,"th",12)}function p(pt,Kt){if(1&pt&&(s.TgZ(0,"td",13),s._uU(1),s.qZA()),2&pt){const Je=Kt.$implicit;s.xp6(1),s.Oqu(Je.displayName)}}function T(pt,Kt){1&pt&&s._UZ(0,"tr",14)}function Se(pt,Kt){1&pt&&s._UZ(0,"tr",15)}let je=(()=>{class pt{constructor(Je,Tt,ot,zt,Ue){this.dialogRef=Je,this.data=Tt,this.notificator=ot,this.translate=zt,this.attributesManager=Ue,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new S.by(this.data.attributes)}onCancel(){this.dialogRef.close(!1)}onSubmit(){const Je=[];for(const ot of this.data.attributes)Je.push(ot.id);const Tt={};switch(Tt[this.data.entity]=this.data.entityId,Tt.attributes=Je,void 0!==this.data.secondEntity&&(Tt[this.data.secondEntity]=this.data.secondEntityId),this.data.entity){case"vo":this.attributesManager.setVoAttributes({vo:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"group":"resource"===this.data.secondEntity?this.attributesManager.setGroupResourceAttributes({group:this.data.entityId,resource:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess()):this.attributesManager.setGroupAttributes({group:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"user":"facility"===this.data.secondEntity?this.attributesManager.setUserFacilityAttributes({user:this.data.entityId,facility:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess()):this.attributesManager.setUserAttributes({user:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"member":switch(this.data.secondEntity){case"resource":this.attributesManager.setMemberResourceAttributes({member:this.data.entityId,resource:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess());break;case"group":this.attributesManager.setMemberGroupAttributes({member:this.data.entityId,group:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess());break;default:this.attributesManager.setMemberAttributes({member:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()})}break;case"facility":this.attributesManager.setFacilityAttributes({facility:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"host":this.attributesManager.setHostAttributes({host:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"ues":this.attributesManager.setUserExtSourceAttributes({userExtSource:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"resource":this.attributesManager.setResourceAttributes({resource:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess())}}onSuccess(){this.translate.get("DIALOGS.EDIT_ATTRIBUTES.SUCCESS").subscribe(Je=>{this.notificator.showSuccess(Je),this.dialogRef.close(!0)})}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI),s.Y36(A.V6),s.Y36(b.sK),s.Y36(m.H8))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-edit-attribute-dialog"]],decls:23,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"div"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"div",2),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"table",3),s.ynx(11,4),s.YNc(12,c,1,0,"th",5),s.YNc(13,p,2,1,"td",6),s.BQk(),s.YNc(14,T,1,0,"tr",7),s.YNc(15,Se,1,0,"tr",8),s.qZA(),s.qZA(),s.TgZ(16,"div",9),s.TgZ(17,"button",10),s.NdJ("click",function(){return Tt.onCancel()}),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.TgZ(20,"button",11),s.NdJ("click",function(){return Tt.onSubmit()}),s._uU(21),s.ALo(22,"translate"),s.qZA(),s.qZA()),2&Je&&(s.xp6(1),s.Oqu(s.lcZ(2,8,"DIALOGS.EDIT_ATTRIBUTES.TITLE")),s.xp6(4),s.hij(" ",s.lcZ(6,10,"DIALOGS.EDIT_ATTRIBUTES.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(9,12,"DIALOGS.EDIT_ATTRIBUTES.ASK")," "),s.xp6(2),s.Q6J("dataSource",Tt.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",Tt.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",Tt.displayedColumns),s.xp6(3),s.hij(" ",s.lcZ(19,14,"DIALOGS.EDIT_ATTRIBUTES.CANCEL")," "),s.xp6(3),s.hij(" ",s.lcZ(22,16,"DIALOGS.EDIT_ATTRIBUTES.SAVE")," "))},directives:[v.uh,v.xY,S.BZ,S.w1,S.fO,S.ge,S.Dz,S.ev,S.as,S.XQ,S.nj,S.Gk,v.H8,G.lW],pipes:[b.X$],styles:[""]}),pt})(),Et=(()=>{class pt{constructor(Je,Tt){this.dialogRef=Je,this.data=Tt,this.attributeValue=""}ngOnInit(){this.attributeValue=this.data.attribute.value[this.data.index]}cancel(){this.dialogRef.close()}submit(){this.data.attribute.value[this.data.index]=this.attributeValue,this.dialogRef.close(!0)}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-attribute-value-list-edit-dialog"]],decls:13,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["cdkTextareaAutosize","true","matInput","",3,"ngModel","ngModelChange"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"h5",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"mat-form-field"),s.TgZ(5,"textarea",2),s.NdJ("ngModelChange",function(zt){return Tt.attributeValue=zt}),s.qZA(),s.qZA(),s.qZA(),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return Tt.cancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return Tt.submit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA()),2&Je&&(s.xp6(1),s.hij(" ",s.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE"),"\n"),s.xp6(4),s.Q6J("ngModel",Tt.attributeValue),s.xp6(3),s.hij(" ",s.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),s.xp6(3),s.hij(" ",s.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[v.uh,v.xY,h.KE,o.IC,W.Nt,F.Fj,F.JJ,F.On,v.H8,G.lW],pipes:[b.X$],styles:[""]}),pt})(),St=(()=>{class pt{constructor(Je,Tt){this.dialogRef=Je,this.data=Tt}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-attribute-value-list-delete-dialog"]],decls:16,vars:13,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"mt-2","font-weight-bold"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"h5",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"div"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"div",2),s._uU(8),s.qZA(),s.qZA(),s.TgZ(9,"div",3),s.TgZ(10,"button",4),s.NdJ("click",function(){return Tt.cancel()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.TgZ(13,"button",5),s.NdJ("click",function(){return Tt.submit()}),s._uU(14),s.ALo(15,"translate"),s.qZA(),s.qZA()),2&Je&&(s.xp6(1),s.hij(" ",s.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE"),"\n"),s.xp6(4),s.hij(" ",s.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),s.xp6(3),s.hij(" ",Tt.data.name," "),s.xp6(3),s.hij(" ",s.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),s.xp6(3),s.hij(" ",s.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[v.uh,v.xY,v.H8,G.lW],pipes:[b.X$],styles:[""]}),pt})();var Ft=d(98380);function It(pt,Kt){if(1&pt&&(s.TgZ(0,"app-alert",9),s._uU(1),s.qZA()),2&pt){const Je=s.oxw();s.xp6(1),s.Oqu(Je.pendingEmailsMessage)}}function Vt(pt,Kt){1&pt&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&pt&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let Mt=(()=>{class pt{constructor(Je,Tt,ot,zt,Ue,Pt){this.dialogRef=Je,this.data=Tt,this.translate=ot,this.notificator=zt,this.usersManagerService=Ue,this.authService=Pt,this.pendingMails=[],ot.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(Gt=>this.successMessage=Gt),ot.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(Gt=>this.pendingEmailsMessageStart=Gt),ot.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(Gt=>this.pendingEmailsMessageEnd=Gt)}ngOnInit(){this.emailControl=new F.NI(null,[F.kI.required,F.kI.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(Je=>{this.pendingMails=Je.filter((ot,zt,Ue)=>zt===Ue.indexOf(ot));let Tt="";this.pendingMails.forEach(ot=>Tt+=`${ot===this.pendingMails[0]?"":", "}${ot}`),console.log(Tt),this.pendingEmailsMessage=this.pendingEmailsMessageStart+Tt+this.pendingEmailsMessageEnd})}onCancel(){this.dialogRef.close()}onSubmit(){const Tt=window.location.href.split("/");this.usersManagerService.requestPreferredEmailChange(this.data.userId,this.emailControl.value,this.translate.currentLang,"",Tt[0]+"//"+Tt[2],this.authService.getIdpFilter()).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI),s.Y36(b.sK),s.Y36(A.V6),s.Y36(m.Fv),s.Y36(A.e8))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-change-email-dialog"]],decls:21,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],["alert_type","warn",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["alert_type","warn"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div",1),s.YNc(5,It,2,1,"app-alert",2),s.TgZ(6,"mat-form-field",3),s.TgZ(7,"label",3),s._UZ(8,"input",4),s.ALo(9,"translate"),s.ALo(10,"customTranslate"),s.qZA(),s.YNc(11,Vt,4,5,"mat-error",5),s.qZA(),s.qZA(),s.TgZ(12,"div",6),s.TgZ(13,"button",7),s.NdJ("click",function(){return Tt.onCancel()}),s._uU(14),s.ALo(15,"translate"),s.ALo(16,"customTranslate"),s.qZA(),s.TgZ(17,"button",8),s.NdJ("click",function(){return Tt.onSubmit()}),s._uU(18),s.ALo(19,"translate"),s.ALo(20,"customTranslate"),s.qZA(),s.qZA()),2&Je&&(s.xp6(1),s.Oqu(s.lcZ(2,8,s.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),s.xp6(4),s.Q6J("ngIf",Tt.pendingMails.length),s.xp6(3),s.s9C("placeholder",s.lcZ(9,12,s.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),s.Q6J("formControl",Tt.emailControl),s.xp6(3),s.Q6J("ngIf",Tt.emailControl.invalid),s.xp6(3),s.hij(" ",s.lcZ(15,16,s.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),s.xp6(3),s.Q6J("disabled",!Tt.emailControl.valid),s.xp6(1),s.hij(" ",s.lcZ(19,20,s.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[v.uh,v.xY,R.O5,Ft.w,h.KE,W.Nt,F.Fj,F.Q7,F.JJ,F.oH,h.TO,v.H8,G.lW],pipes:[b.X$,P.a],styles:[""]}),pt})();function at(pt,Kt){1&pt&&s._UZ(0,"mat-spinner",6)}function Ut(pt,Kt){1&pt&&s._UZ(0,"th",15)}function gt(pt,Kt){if(1&pt&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&pt){const Je=Kt.$implicit;s.xp6(1),s.Oqu(Je)}}function xt(pt,Kt){1&pt&&s._UZ(0,"tr",17)}function Ve(pt,Kt){1&pt&&s._UZ(0,"tr",18)}function $e(pt,Kt){if(1&pt&&(s.TgZ(0,"div",7),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",8),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",9),s.ynx(8,10),s.YNc(9,Ut,1,0,"th",11),s.YNc(10,gt,2,1,"td",12),s.BQk(),s.YNc(11,xt,1,0,"tr",13),s.YNc(12,Ve,1,0,"tr",14),s.qZA(),s.qZA()),2&pt){const Je=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,Je.data.description)," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),s.xp6(2),s.Q6J("dataSource",Je.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",Je.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",Je.displayedColumns)}}let oe=(()=>{class pt{constructor(Je,Tt){this.dialogRef=Je,this.data=Tt,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new S.by(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-universal-remove-items-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,at,1,0,"mat-spinner",1),s.YNc(5,$e,13,9,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return Tt.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return Tt.onSubmit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&Je&&(s.Tol(Tt.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,Tt.data.title)),s.xp6(2),s.Q6J("ngIf",Tt.loading),s.xp6(1),s.Q6J("ngIf",!Tt.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),s.xp6(2),s.Q6J("disabled",Tt.loading),s.xp6(1),s.hij(" ",s.lcZ(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[v.uh,R.O5,E.$g,v.xY,S.BZ,S.w1,S.fO,S.ge,S.Dz,S.ev,S.as,S.XQ,S.nj,S.Gk,v.H8,G.lW],pipes:[b.X$],styles:[""]}),pt})();var H=d(28258),ee=d(90149);let Y=(()=>{class pt{transform(Je){const Tt=Je.split(":");return Tt[Tt.length-1]}}return pt.\u0275fac=function(Je){return new(Je||pt)},pt.\u0275pipe=s.Yjl({name:"parseGroupName",type:pt,pure:!0}),pt})();function Le(pt,Kt){1&pt&&s._UZ(0,"mat-spinner",7)}function Ye(pt,Kt){1&pt&&(s.TgZ(0,"app-alert"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.NO_PATHS")))}function mt(pt,Kt){1&pt&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function Ht(pt,Kt){1&pt&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}const qt=function(pt){return{"min-width":pt}};function Dt(pt,Kt){if(1&pt){const Je=s.EpF();s.TgZ(0,"mat-tree-node",16),s.TgZ(1,"li",17),s.TgZ(2,"div",18),s.NdJ("click",function(){const zt=s.CHM(Je).$implicit;return s.oxw(3).navigate(zt.id,zt.include)}),s._UZ(3,"button",19),s.TgZ(4,"div",20),s.TgZ(5,"span"),s._uU(6),s.ALo(7,"parseGroupName"),s.qZA(),s.YNc(8,mt,3,3,"span",21),s.YNc(9,Ht,3,3,"span",21),s.qZA(),s.TgZ(10,"span",22),s._uU(11),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&pt){const Je=Kt.$implicit,Tt=s.oxw(3);s.xp6(2),s.ekj("cursor-pointer",Je.direct||Je.include)("act-disabled",!Je.direct&&!Je.include),s.xp6(2),s.Q6J("ngStyle",s.VKq(11,qt,Tt.getMinWidth(Je.level))),s.xp6(2),s.Oqu(s.lcZ(7,9,Je.name)),s.xp6(2),s.Q6J("ngIf",Je.direct),s.xp6(1),s.Q6J("ngIf",Je.include),s.xp6(2),s.Oqu(Je.description)}}function wt(pt,Kt){1&pt&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function At(pt,Kt){1&pt&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}function Ot(pt,Kt){if(1&pt){const Je=s.EpF();s.TgZ(0,"mat-nested-tree-node"),s.TgZ(1,"li"),s.TgZ(2,"div",17),s.TgZ(3,"button",24),s.TgZ(4,"mat-icon",25),s._uU(5),s.qZA(),s.qZA(),s.TgZ(6,"div",18),s.NdJ("click",function(){const zt=s.CHM(Je).$implicit;return s.oxw(3).navigate(zt.id,zt.include)}),s.TgZ(7,"div",20),s.TgZ(8,"span"),s._uU(9),s.ALo(10,"parseGroupName"),s.qZA(),s.YNc(11,wt,3,3,"span",21),s.YNc(12,At,3,3,"span",21),s.qZA(),s.TgZ(13,"span",22),s._uU(14),s.qZA(),s.qZA(),s.qZA(),s.TgZ(15,"ul"),s.GkF(16,26),s.qZA(),s.qZA(),s.qZA()}if(2&pt){const Je=Kt.$implicit,Tt=s.oxw(3);s.xp6(3),s.uIk("aria-label","Toggle "+Je.name),s.xp6(2),s.hij(" ",Tt.treeControl.isExpanded(Je)?"expand_more":"chevron_right"," "),s.xp6(1),s.ekj("cursor-pointer",Je.direct||Je.include)("act-disabled",!Je.direct&&!Je.include),s.xp6(1),s.Q6J("ngStyle",s.VKq(15,qt,Tt.getMinWidth(Je.level))),s.xp6(2),s.Oqu(s.lcZ(10,13,Je.name)),s.xp6(2),s.Q6J("ngIf",Je.direct),s.xp6(1),s.Q6J("ngIf",Je.include),s.xp6(2),s.Oqu(Je.description),s.xp6(1),s.ekj("example-tree-invisible",!Tt.treeControl.isExpanded(Je))}}function Wt(pt,Kt){if(1&pt&&(s.TgZ(0,"mat-tree",13),s.YNc(1,Dt,12,13,"mat-tree-node",14),s.YNc(2,Ot,17,17,"mat-nested-tree-node",15),s.qZA()),2&pt){const Je=s.oxw(2);s.Q6J("dataSource",Je.dataSource)("treeControl",Je.treeControl),s.xp6(2),s.Q6J("matTreeNodeDefWhen",Je.hasChild)}}function li(pt,Kt){if(1&pt&&(s.TgZ(0,"div",8),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-form-field",9),s._UZ(5,"input",10),s.ALo(6,"translate"),s.qZA(),s.YNc(7,Ye,3,3,"app-alert",11),s.YNc(8,Wt,3,3,"mat-tree",12),s.qZA()),2&pt){const Je=s.oxw();s.xp6(2),s.Oqu(s.lcZ(3,5,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INFO")),s.xp6(3),s.s9C("placeholder",s.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.FILTER")),s.Q6J("formControl",Je.formControl),s.xp6(2),s.Q6J("ngIf",!Je.dataSource.data.length),s.xp6(1),s.Q6J("ngIf",Je.dataSource.data.length)}}const gi=function(pt){return{name:pt}};let Ti=(()=>{class pt{constructor(Je,Tt,ot){this.dialogRef=Je,this.data=Tt,this.groupsManagerService=ot,this.treeControl=new H.VY(zt=>zt.children),this.dataSource=new ee.WX,this.groupTree=[],this.paths=[],this.formControl=new F.NI(""),this.userName="",this.hasChild=(zt,Ue)=>!!Ue.children&&Ue.children.length>0}recursiveSearch(Je,Tt,ot){for(let Ue=0;Ue{this.groupTree=this.recursiveSearch(this.groupTree,Tt,0)}),this.groupTree.length&&(this.groupTree=this.groupTree[0].children)}ngOnInit(){this.loading=!0,this.groupsManagerService.getIndirectMembershipPaths(this.data.member.id,this.data.groupId).subscribe(Je=>{this.paths=Je,this.createGroupTree(this.paths),this.dataSource.data=this.groupTree,this.loading=!1}),this.formControl.valueChanges.subscribe(Je=>{const Tt=Je.trim().toLowerCase(),ot=this.paths.filter(zt=>zt.filter(Ue=>Ue.name.includes(Tt)).length);this.createGroupTree(ot),this.dataSource.data=this.groupTree}),this.userName=(0,I.bD)(this.data.member.user)}onCancel(){this.dialogRef.close()}navigate(Je,Tt=!1){window.open(`/organizations/${this.data.member.voId}/groups/${Je}${Tt?"/settings/relations":""}`,"_blank")}getMinWidth(Je){return 400-40*Je+"px"}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI),s.Y36(m.ff))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-member-tree-view-dialog"]],decls:11,vars:11,consts:[[1,"group-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","mr-0",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-flat-button","",3,"click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"mr-0"],[1,"filter-field","ml-2"],["matInput","",3,"formControl","placeholder"],[4,"ngIf"],["class","example-tree",3,"dataSource","treeControl",4,"ngIf"],[1,"example-tree",3,"dataSource","treeControl"],["matTreeNodeToggle","",4,"matTreeNodeDef"],[4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle",""],[1,"mat-tree-node"],[1,"row","flex-nowrap",3,"click"],["mat-icon-button",""],[1,"mt-auto","mb-auto",3,"ngStyle"],["class","text-muted ml-2",4,"ngIf"],[1,"text-muted","ml-3"],[1,"text-muted","ml-2"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mr-3"],["matTreeNodeOutlet",""]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Le,1,0,"mat-spinner",2),s.YNc(5,li,9,9,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"div",5),s.TgZ(8,"button",6),s.NdJ("click",function(){return Tt.onCancel()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&Je&&(s.xp6(2),s.hij(" ",s.xi3(3,4,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.TITLE",s.VKq(9,gi,Tt.userName))," "),s.xp6(2),s.Q6J("ngIf",Tt.loading),s.xp6(1),s.Q6J("ngIf",!Tt.loading),s.xp6(4),s.hij(" ",s.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.CLOSE")," "))},directives:[v.uh,R.O5,E.$g,v.xY,h.KE,W.Nt,F.Fj,F.JJ,F.oH,Ft.w,ee.gi,ee.fQ,ee.uo,ee.eu,G.lW,R.PC,ee.GZ,Ie.Hw,ee.Ar,v.H8],pipes:[b.X$,Y],styles:[".example-tree-invisible[_ngcontent-%COMP%]{display:none}.example-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .example-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.act-disabled[_ngcontent-%COMP%]{pointer-events:none}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),pt})();var Ri=d(11735);let Gi=(()=>{class pt{constructor(Je,Tt){this.dialogRef=Je,this.router=Tt}onClose(){this.router.navigate([]),this.dialogRef.close()}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(Ri.F0))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-mail-change-failed-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["alert_type","error"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"app-alert",2),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.TgZ(7,"div",3),s.TgZ(8,"button",4),s.NdJ("click",function(){return Tt.onClose()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA()),2&Je&&(s.xp6(1),s.hij(" ",s.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE"),"\n"),s.xp6(4),s.Oqu(s.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),s.xp6(4),s.hij(" ",s.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[v.uh,v.xY,Ft.w,v.H8,G.lW],pipes:[b.X$],styles:[""]}),pt})();var an=d(79814),Qi=d(86856),Wi=d(62383);function mn(pt,Kt){1&pt&&(s.TgZ(0,"mat-radio-button",16),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.VO_RULES")," "))}function Xi(pt,Kt){1&pt&&(s.TgZ(0,"mat-radio-button",17),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.GROUP_RULES")," "))}function et(pt,Kt){1&pt&&(s.TgZ(0,"app-alert",18),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.STATUS_CHANGE_INFO")))}let Ct=(()=>{class pt{constructor(Je){this.dialogRef=Je,this.canExtendMembership=!1,this.expirationChanged=new s.vpe,this.statusChange=new s.vpe,this.expirationControl=new F.NI(null)}ngOnInit(){const Je=new Date;this.currentDate=(0,R.p6)(new Date(Je.getFullYear(),Je.getMonth(),Je.getDate()),"yyyy-MM-dd","en_US"),"never"!==this.newExpiration&&this.expirationControl.setValue(this.newExpiration)}parseDate(Je){return(0,R.p6)(Je,"yyyy-MM-dd","en_US")}onChange(){"EXPIRED"===this.status&&("never"===this.newExpiration||this.parseDate(this.expirationControl.value)>this.currentDate)&&this.statusChange.emit(!0),this.expirationChanged.emit(this.newExpiration)}onCancel(){this.dialogRef.close({success:!1})}setExpiration(){this.newExpiration=(0,R.p6)(this.expirationControl.value,"yyyy-MM-dd","en"),this.expirationControl.setValue((0,R.p6)(this.expirationControl.value,"yyyy-MM-dd","en"))}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-change-expiration-dialog"]],inputs:{currentExpiration:"currentExpiration",newExpiration:"newExpiration",canExtendMembership:"canExtendMembership",minDate:"minDate",maxDate:"maxDate",mode:"mode",status:"status"},outputs:{expirationChanged:"expirationChanged",statusChange:"statusChange"},decls:37,vars:37,consts:[[1,"member-theme"],["mat-dialog-content",""],[1,"d-flex","flex-column",3,"ngModel","ngModelChange"],[3,"value"],["color","primary",1,"cursor-pointer",3,"click"],["readonly","","matInput","",1,"disable",3,"min","max","formControl","matDatepicker","dateChange"],["matSuffix","",3,"for","disabled"],[3,"disabled"],["picker",""],["class","bottom-padding","value","voRules",4,"ngIf"],["class","bottom-padding","value","groupRules",4,"ngIf"],["value","never"],["alert_type","info",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["value","voRules",1,"bottom-padding"],["value","groupRules",1,"bottom-padding"],["alert_type","info"]],template:function(Je,Tt){if(1&Je){const ot=s.EpF();s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"p"),s.TgZ(3,"strong"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s._uU(6),s.ALo(7,"parseDate"),s.qZA(),s.TgZ(8,"p"),s.TgZ(9,"strong"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s._uU(12),s.ALo(13,"parseDate"),s.qZA(),s.TgZ(14,"mat-radio-group",2),s.NdJ("ngModelChange",function(Ue){return Tt.newExpiration=Ue}),s.TgZ(15,"mat-radio-button",3),s.TgZ(16,"mat-form-field",4),s.NdJ("click",function(){return s.CHM(ot),s.MAs(23).open()}),s.TgZ(17,"mat-label"),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.TgZ(20,"input",5),s.NdJ("dateChange",function(){return Tt.setExpiration()}),s.qZA(),s._UZ(21,"mat-datepicker-toggle",6),s._UZ(22,"mat-datepicker",7,8),s.qZA(),s.qZA(),s.YNc(24,mn,3,3,"mat-radio-button",9),s.YNc(25,Xi,3,3,"mat-radio-button",10),s.TgZ(26,"mat-radio-button",11),s._uU(27),s.ALo(28,"translate"),s.qZA(),s.qZA(),s.YNc(29,et,3,3,"app-alert",12),s.qZA(),s.TgZ(30,"div",13),s.TgZ(31,"button",14),s.NdJ("click",function(){return Tt.onCancel()}),s._uU(32),s.ALo(33,"translate"),s.qZA(),s.TgZ(34,"button",15),s.NdJ("click",function(){return Tt.onChange()}),s._uU(35),s.ALo(36,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&Je){const ot=s.MAs(23);s.xp6(4),s.Oqu(s.lcZ(5,21,"DIALOGS.CHANGE_EXPIRATION.CURRENT_EXPIRATION")),s.xp6(2),s.hij(" ",s.lcZ(7,23,Tt.currentExpiration)," "),s.xp6(4),s.Oqu(s.lcZ(11,25,"DIALOGS.CHANGE_EXPIRATION.NEW_EXPIRATION")),s.xp6(2),s.hij(" ",Tt.newExpiration?s.lcZ(13,27,Tt.newExpiration):"never"," "),s.xp6(2),s.Q6J("ngModel",Tt.newExpiration),s.xp6(1),s.s9C("value",Tt.expirationControl.value),s.xp6(3),s.Oqu(s.lcZ(19,29,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),s.xp6(2),s.Q6J("min",Tt.minDate)("max",Tt.maxDate)("formControl",Tt.expirationControl)("matDatepicker",ot),s.xp6(1),s.Q6J("for",ot)("disabled",!1),s.xp6(1),s.Q6J("disabled",!1),s.xp6(2),s.Q6J("ngIf",Tt.canExtendMembership&&"vo"===Tt.mode),s.xp6(1),s.Q6J("ngIf",Tt.canExtendMembership&&"group"===Tt.mode),s.xp6(2),s.hij(" ",s.lcZ(28,31,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),s.xp6(2),s.Q6J("ngIf","EXPIRED"===Tt.status&&("never"===Tt.newExpiration||Tt.parseDate(Tt.expirationControl.value)>Tt.currentDate)),s.xp6(3),s.hij(" ",s.lcZ(33,33,"DIALOGS.CHANGE_EXPIRATION.CANCEL")," "),s.xp6(2),s.Q6J("disabled",Tt.expirationControl.invalid),s.xp6(1),s.hij(" ",s.lcZ(36,35,"DIALOGS.CHANGE_EXPIRATION.SAVE")," ")}},directives:[v.xY,an.VQ,F.JJ,F.On,an.U0,h.KE,h.hX,W.Nt,F.Fj,Qi.hl,F.oH,Qi.nW,h.R9,Qi.Mq,R.O5,Ft.w,v.H8,G.lW],pipes:[b.X$,Wi.M],styles:[".disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.bottom-padding[_ngcontent-%COMP%]{padding-bottom:20px} .mat-form-field.mat-focused .mat-form-field-underline{display:none}"]}),pt})();function tt(pt,Kt){1&pt&&s._UZ(0,"mat-spinner",4)}function He(pt,Kt){if(1&pt){const Je=s.EpF();s.TgZ(0,"perun-web-apps-change-expiration-dialog",5),s.NdJ("statusChange",function(){return s.CHM(Je),s.oxw().changeStatus=!0})("expirationChanged",function(ot){return s.CHM(Je),s.oxw().onExpirationChanged(ot)}),s.qZA()}if(2&pt){const Je=s.oxw();s.Q6J("minDate",Je.minDate)("maxDate",Je.maxDate)("currentExpiration",Je.currentExpiration)("newExpiration",Je.newExpiration)("canExtendMembership",Je.canExtendMembership)("mode","group")("status",Je.status)}}let Qe=(()=>{class pt{constructor(Je,Tt,ot,zt,Ue,Pt,Gt){this.dialogRef=Je,this.data=Tt,this.attributesManagerService=ot,this.memberManager=zt,this.groupManager=Ue,this.translate=Pt,this.notificator=Gt,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,Pt.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(Qt=>this.successMessage=Qt)}ngOnInit(){this.status=this.data.status,this.loading=!0;const Je=new Date;"VALID"!==this.data.status?this.maxDate="EXPIRED"===this.data.status?void 0:new Date(Je.getFullYear(),Je.getMonth(),Je.getDate()):this.minDate=new Date(Je.getFullYear(),Je.getMonth(),Je.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&("VALID"!==this.data.status?(this.newExpiration=(0,R.p6)(Je,"yyyy-MM-dd","en"),this.maxDate=Je):this.newExpiration="never"),"VALID"===this.data.status?this.attributesManagerService.getGroupAttributeByName(this.data.groupId,J.r.GROUP_DEF_EXPIRATION_RULES).subscribe(Tt=>{null!==Tt.value?this.groupManager.canExtendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(ot=>{this.canExtendMembership=!!ot,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(Je){this.loading=!0,"groupRules"===Je?this.groupManager.extendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0})},()=>this.loading=!1):(this.expirationAttr.value="never"===Je?null:Je,this.attributesManagerService.setMemberGroupAttributes({member:this.data.memberId,group:this.data.groupId,attributes:[this.expirationAttr]}).subscribe(()=>{this.changeStatus&&"EXPIRED"===this.status?this.groupManager.setGroupsMemberStatus(this.data.memberId,this.data.groupId,"VALID").subscribe(Tt=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(ot=>{this.notificator.showSuccess(ot),this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0,member:Tt})})},()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0}))},()=>this.loading=!1))}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI),s.Y36(m.H8),s.Y36(m.uq),s.Y36(m.ff),s.Y36(b.sK),s.Y36(A.V6))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-change-group-expiration-dialog"]],decls:6,vars:5,consts:[[1,"member-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,tt,1,0,"mat-spinner",2),s.YNc(5,He,1,7,"perun-web-apps-change-expiration-dialog",3),s.qZA()),2&Je&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.CHANGE_GROUP_EXPIRATION.TITLE")),s.xp6(2),s.Q6J("ngIf",Tt.loading),s.xp6(1),s.Q6J("ngIf",!Tt.loading))},directives:[v.uh,R.O5,E.$g,Ct],pipes:[b.X$],styles:[""]}),pt})();var D=d(13469);function ue(pt,Kt){1&pt&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function Xe(pt,Kt){if(1&pt){const Je=s.EpF();s.TgZ(0,"form",5),s.TgZ(1,"div",6),s.TgZ(2,"mat-form-field"),s.TgZ(3,"mat-label"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s._UZ(6,"input",7),s.TgZ(7,"mat-icon",8),s.NdJ("click",function(){s.CHM(Je);const ot=s.oxw();return ot.showOldPassword=!ot.showOldPassword}),s._uU(8),s.qZA(),s.YNc(9,ue,3,3,"mat-error",9),s.qZA(),s._UZ(10,"perun-web-apps-password-form",10),s.qZA(),s.qZA()}if(2&pt){const Je=s.oxw();s.Q6J("formGroup",Je.formGroup),s.xp6(4),s.Oqu(s.lcZ(5,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.OLD_PASSWORD")),s.xp6(2),s.Q6J("type",Je.showOldPassword?"text":"password"),s.xp6(2),s.hij(" ",Je.showOldPassword?"visibility_off":"visibility"," "),s.xp6(1),s.Q6J("ngIf",Je.oldPwd.hasError("required")),s.xp6(1),s.Q6J("formGroup",Je.formGroup)("namespace",Je.data.namespace)}}function bt(pt,Kt){1&pt&&s._UZ(0,"mat-spinner",11)}function Jt(pt,Kt){if(1&pt){const Je=s.EpF();s.TgZ(0,"div",12),s.TgZ(1,"div",13),s.TgZ(2,"button",14),s.NdJ("click",function(){return s.CHM(Je),s.oxw().close()}),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"button",15),s.NdJ("click",function(){return s.CHM(Je),s.oxw().changePassword()}),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&pt){const Je=s.oxw();s.xp6(3),s.hij(" ",s.lcZ(4,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CANCEL")," "),s.xp6(2),s.Q6J("disabled",Je.formGroup.invalid||Je.formGroup.pending),s.xp6(1),s.hij(" ",s.lcZ(7,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CHANGE")," ")}}let ti=(()=>{class pt{constructor(Je,Tt,ot,zt,Ue,Pt,Gt){this.dialogRef=Je,this.data=Tt,this._formBuilder=ot,this.usersManagerService=zt,this.apiRequestConfiguration=Ue,this.notificator=Pt,this.translate=Gt,this.showOldPassword=!1,Gt.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(Qt=>this.successMessage=Qt)}ngOnInit(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",F.kI.required],passwordCtrl:["",F.kI.required,[(0,f.yT)(this.data.namespace,this.usersManagerService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""]},{validators:I.dN.passwordMatchValidator}),this.oldPwd=this.formGroup.get("oldPasswordCtrl"),this.newPwd=this.formGroup.get("passwordCtrl"),this.newPwdAgain=this.formGroup.get("passwordAgainCtrl")}close(){this.dialogRef.close(!1)}changePassword(){this.loading=!0,this.usersManagerService.changePasswordForLogin(this.data.login,this.data.namespace,this.newPwd.value,this.oldPwd.value,!0).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)})}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI),s.Y36(F.qu),s.Y36(m.Fv),s.Y36(A.F5),s.Y36(A.V6),s.Y36(b.sK))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-change-password-dialog"]],decls:7,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],[3,"formGroup",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[3,"formGroup"],[1,"display-flex"],["formControlName","oldPasswordCtrl","matInput","","required","",3,"type"],["matSuffix","",3,"click"],[4,"ngIf"],[3,"formGroup","namespace"],[1,"ml-auto","mr-auto"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.YNc(4,Xe,11,9,"form",2),s.YNc(5,bt,1,0,"mat-spinner",3),s.qZA(),s.YNc(6,Jt,8,7,"div",4)),2&Je&&(s.xp6(1),s.Oqu(s.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.TITLE")),s.xp6(3),s.Q6J("ngIf",!Tt.loading),s.xp6(1),s.Q6J("ngIf",Tt.loading),s.xp6(1),s.Q6J("ngIf",!Tt.loading))},directives:[v.uh,v.xY,R.O5,F._Y,F.JL,F.sg,h.KE,h.hX,F.Fj,W.Nt,F.JJ,F.u,F.Q7,Ie.Hw,h.R9,h.TO,D.G,E.$g,v.H8,G.lW],pipes:[b.X$],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}"]}),pt})();function bi(pt,Kt){1&pt&&s._UZ(0,"mat-spinner",4)}function wi(pt,Kt){if(1&pt){const Je=s.EpF();s.TgZ(0,"perun-web-apps-change-expiration-dialog",5),s.NdJ("statusChange",function(){return s.CHM(Je),s.oxw().changeStatus=!0})("expirationChanged",function(ot){return s.CHM(Je),s.oxw().onExpirationChanged(ot)}),s.qZA()}if(2&pt){const Je=s.oxw();s.Q6J("minDate",Je.minDate)("maxDate",Je.maxDate)("currentExpiration",Je.currentExpiration)("newExpiration",Je.newExpiration)("canExtendMembership",Je.canExtendMembership)("mode","vo")("status",Je.status)}}let en=(()=>{class pt{constructor(Je,Tt,ot,zt,Ue,Pt){this.dialogRef=Je,this.data=Tt,this.attributesManagerService=ot,this.memberManager=zt,this.translate=Ue,this.notificator=Pt,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,Ue.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(Gt=>this.successMessage=Gt)}ngOnInit(){this.status=this.data.status,this.loading=!0;const Je=new Date;"VALID"!==this.data.status?this.maxDate="EXPIRED"===this.data.status?void 0:new Date(Je.getFullYear(),Je.getMonth(),Je.getDate()):this.minDate=new Date(Je.getFullYear(),Je.getMonth(),Je.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&("VALID"!==this.data.status?(this.newExpiration=(0,R.p6)(Je,"yyyy-MM-dd","en"),this.maxDate=Je):this.newExpiration="never"),"VALID"===this.data.status?this.attributesManagerService.getVoAttributeByName(this.data.voId,J.r.VO_DEF_EXPIRATION_RULES).subscribe(Tt=>{null!==Tt.value?this.memberManager.canExtendMembership(this.data.memberId).subscribe(ot=>{this.canExtendMembership=!!ot,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(Je){this.loading=!0,"voRules"===Je?this.memberManager.extendMembership(this.data.memberId).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0})},()=>this.loading=!1):(this.expirationAttr.value="never"===Je?null:Je,this.attributesManagerService.setMemberAttribute({member:this.data.memberId,attribute:this.expirationAttr}).subscribe(()=>{this.changeStatus&&"EXPIRED"===this.status?this.memberManager.setStatus(this.data.memberId,"VALID").subscribe(Tt=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(ot=>{this.notificator.showSuccess(ot),this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0,member:Tt})})},()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0}))},()=>this.loading=!1))}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI),s.Y36(m.H8),s.Y36(m.uq),s.Y36(b.sK),s.Y36(A.V6))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-change-vo-expiration-dialog"]],decls:6,vars:5,consts:[[1,"member-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,bi,1,0,"mat-spinner",2),s.YNc(5,wi,1,7,"perun-web-apps-change-expiration-dialog",3),s.qZA()),2&Je&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.CHANGE_VO_EXPIRATION.TITLE")),s.xp6(2),s.Q6J("ngIf",Tt.loading),s.xp6(1),s.Q6J("ngIf",!Tt.loading))},directives:[v.uh,R.O5,E.$g,Ct],pipes:[b.X$],styles:[""]}),pt})();function on(pt,Kt){1&pt&&s._UZ(0,"mat-spinner",4)}function Hi(pt,Kt){if(1&pt){const Je=s.EpF();s.TgZ(0,"perun-web-apps-change-expiration-dialog",5),s.NdJ("expirationChanged",function(ot){return s.CHM(Je),s.oxw().onExpirationChanged(ot)}),s.qZA()}if(2&pt){const Je=s.oxw();s.Q6J("minDate",Je.minDate)("currentExpiration",Je.currentExpiration)("newExpiration",Je.newExpiration)("mode","sponsor")}}let Bi=(()=>{class pt{constructor(Je,Tt,ot,zt,Ue,Pt,Gt){this.dialogRef=Je,this.data=Tt,this.attributesManagerService=ot,this.memberManager=zt,this.groupManager=Ue,this.translate=Pt,this.notificator=Gt,this.loading=!1,Pt.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(Qt=>this.successMessage=Qt)}ngOnInit(){this.loading=!0,this.currentExpiration=this.data.sponsor.validityTo?this.data.sponsor.validityTo:"never",this.newExpiration=this.currentExpiration;const Je=new Date;this.minDate=new Date(Je.getFullYear(),Je.getMonth(),Je.getDate()),this.loading=!1}onExpirationChanged(Je){this.loading=!0,this.memberManager.updateSponsorshipValidity(this.data.memberId,this.data.sponsor.user.id,"never"===Je?null:Je).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1)}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI),s.Y36(m.H8),s.Y36(m.uq),s.Y36(m.ff),s.Y36(b.sK),s.Y36(A.V6))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-change-sponsorship-expiration-dialog"]],decls:6,vars:5,consts:[[1,"member-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"minDate","currentExpiration","newExpiration","mode","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","currentExpiration","newExpiration","mode","expirationChanged"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,on,1,0,"mat-spinner",2),s.YNc(5,Hi,1,4,"perun-web-apps-change-expiration-dialog",3),s.qZA()),2&Je&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.CHANGE_SPONSORSHIP_EXPIRATION.TITLE")),s.xp6(2),s.Q6J("ngIf",Tt.loading),s.xp6(1),s.Q6J("ngIf",!Tt.loading))},directives:[v.uh,R.O5,E.$g,Ct],pipes:[b.X$],styles:[""]}),pt})();function cn(pt,Kt){1&pt&&s._UZ(0,"mat-spinner",4)}function Di(pt,Kt){1&pt&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function xi(pt,Kt){1&pt&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function _n(pt,Kt){if(1&pt){const Je=s.EpF();s.TgZ(0,"mat-radio-group",12),s.NdJ("ngModelChange",function(ot){return s.CHM(Je),s.oxw(2).asyncValidation=ot}),s.TgZ(1,"span",13),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-radio-button",14),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"mat-radio-button",14),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA()}if(2&pt){const Je=s.oxw(2);s.Q6J("ngModel",Je.asyncValidation),s.xp6(2),s.hij(" ",s.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE")," : "),s.xp6(2),s.Q6J("value",!1),s.xp6(1),s.hij(" ",s.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),s.xp6(2),s.Q6J("value",!0),s.xp6(1),s.hij(" ",s.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function hn(pt,Kt){1&pt&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function $i(pt,Kt){1&pt&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&pt&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function sn(pt,Kt){if(1&pt&&(s.TgZ(0,"div",5),s.TgZ(1,"p",6),s._uU(2),s.TgZ(3,"span",7),s._uU(4),s.qZA(),s._uU(5),s.TgZ(6,"span",7),s._uU(7),s.qZA(),s.qZA(),s.TgZ(8,"p"),s.TgZ(9,"strong",8),s._uU(10),s.ALo(11,"translate"),s.qZA(),s._uU(12),s.qZA(),s.TgZ(13,"p"),s.TgZ(14,"strong",8),s._uU(15),s.ALo(16,"translate"),s.qZA(),s._uU(17),s.qZA(),s.YNc(18,Di,3,3,"span",9),s.YNc(19,xi,3,3,"span",9),s.YNc(20,_n,10,12,"mat-radio-group",10),s.YNc(21,hn,3,3,"span",9),s.YNc(22,$i,3,3,"span",9),s.qZA()),2&pt){const Je=s.oxw();s.xp6(2),s.hij(" ",Je.group.name," "),s.xp6(2),s.hij("#",Je.group.id,""),s.xp6(1),s.hij(" - ",Je.resource.name," "),s.xp6(2),s.hij("#",Je.resource.id,""),s.xp6(3),s.hij(" ",s.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT")," : "),s.xp6(2),s.hij(" ",Je.status," "),s.xp6(3),s.hij(" ",s.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW")," : "),s.xp6(2),s.hij(" ",Je.getReversedStatus()," "),s.xp6(1),s.Q6J("ngIf","INACTIVE"===Je.status||"FAILED"===Je.status),s.xp6(1),s.Q6J("ngIf","ACTIVE"===Je.status),s.xp6(1),s.Q6J("ngIf","INACTIVE"===Je.status||"FAILED"===Je.status),s.xp6(1),s.Q6J("ngIf",("INACTIVE"===Je.status||"FAILED"===Je.status)&&!1===Je.asyncValidation),s.xp6(1),s.Q6J("ngIf",("INACTIVE"===Je.status||"FAILED"===Je.status)&&!0===Je.asyncValidation)}}function Fi(pt,Kt){if(1&pt){const Je=s.EpF();s.TgZ(0,"div",15),s.TgZ(1,"button",16),s.NdJ("click",function(){return s.CHM(Je),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",17),s.NdJ("click",function(){return s.CHM(Je),s.oxw().onSubmit()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&pt){const Je=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),s.xp6(2),s.Q6J("disabled",Je.loading),s.xp6(1),s.hij(" ",s.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG."+("ACTIVE"===Je.status?"DEACTIVATE":"ACTIVATE"))," ")}}let Ln=(()=>{class pt{constructor(Je,Tt,ot,zt){this.dialogRef=Je,this.data=Tt,this.resourceService=ot,this.groupService=zt,this.loading=!1,this.asyncValidation=!1,this.resource=null,this.group=null}ngOnInit(){this.loading=!0,this.status=this.data.status,this.theme=this.data.theme,this.resourceService.getResourceById(this.data.resourceId).subscribe(Je=>{this.resource=Je,this.groupService.getGroupById(this.data.groupId).subscribe(Tt=>{this.group=Tt,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,"ACTIVE"===this.status?this.resourceService.deactivateGroupResourceAssignment(this.data.groupId,this.data.resourceId).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1):this.resourceService.activateGroupResourceAssignment(this.data.groupId,this.data.resourceId,this.asyncValidation).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}getReversedStatus(){return"ACTIVE"===this.status?"INACTIVE":"ACTIVE"}}return pt.\u0275fac=function(Je){return new(Je||pt)(s.Y36(v.so),s.Y36(v.WI),s.Y36(m.xk),s.Y36(m.ff))},pt.\u0275cmp=s.Xpm({type:pt,selectors:[["perun-web-apps-change-group-resource-assigment-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"mb-4"],[1,"text-muted","id-font"],[1,"mr-2"],["class","text-muted",4,"ngIf"],["class","d-flex flex-column mt-3",3,"ngModel","ngModelChange",4,"ngIf"],[1,"text-muted"],[1,"d-flex","flex-column","mt-3",3,"ngModel","ngModelChange"],[1,"font-weight-bold"],[3,"value"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["mat-flat-button","","color","accent",3,"disabled","click"]],template:function(Je,Tt){1&Je&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,cn,1,0,"mat-spinner",1),s.YNc(5,sn,23,17,"div",2),s.YNc(6,Fi,7,7,"div",3),s.qZA()),2&Je&&(s.Tol(Tt.theme),s.xp6(2),s.hij(" ",s.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")," "),s.xp6(2),s.Q6J("ngIf",Tt.loading),s.xp6(1),s.Q6J("ngIf",!Tt.loading),s.xp6(1),s.Q6J("ngIf",!Tt.loading))},directives:[v.uh,R.O5,E.$g,v.xY,an.VQ,F.JJ,F.On,an.U0,v.H8,G.lW],pipes:[b.X$],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),pt})()},50301:(Ze,ge,d)=>{"use strict";d.d(ge,{hT:()=>f,Kd:()=>v,YH:()=>m});var e=d(5e3);let f=(()=>{class A{constructor(b){this.elementRef=b}ngOnInit(){this.elementRef.nativeElement.focus()}}return A.\u0275fac=function(b){return new(b||A)(e.Y36(e.SBq))},A.\u0275dir=e.lG2({type:A,selectors:[["","perunWebAppsAutoFocus",""]]}),A})();var g=d(36908);let v=(()=>{class A{constructor(b,R){this.el=b,this.router=R}onClick(){this.router.forceNavigate(this.perunWebAppsForceRouterLink)}}return A.\u0275fac=function(b){return new(b||A)(e.Y36(e.SBq),e.Y36(g.xw))},A.\u0275dir=e.lG2({type:A,selectors:[["","perunWebAppsForceRouterLink",""]],hostBindings:function(b,R){1&b&&e.NdJ("click",function(){return R.onClick()})},inputs:{perunWebAppsForceRouterLink:"perunWebAppsForceRouterLink"}}),A})(),m=(()=>{class A{constructor(){}onClick(b){if(1===b.button&&null!=this.perunWebAppsMiddleClickRouterLink){const R=this.perunWebAppsMiddleClickRouterLink.join("/"),E=location.search;window.open(R+E)}}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275dir=e.lG2({type:A,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(b,R){1&b&&e.NdJ("mouseup",function(h){return R.onClick(h)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),A})()},45323:(Ze,ge,d)=>{"use strict";d.d(ge,{u:()=>e});var e=(()=>{return(f=e||(e={})).PERUNADMIN="PERUNADMIN",f.PERUNOBSERVER="PERUNOBSERVER",f.VOADMIN="VOADMIN",f.GROUPADMIN="GROUPADMIN",f.SELF="SELF",f.FACILITYADMIN="FACILITYADMIN",f.FACILITIYOBSERVER="FACILITYOBSERVER",f.RESOURCEADMIN="RESOURCEADMIN",f.RESOURCESELFSERVICE="RESOURCESELFSERVICE",f.REGISTRAR="REGISTRAR",f.ENGINE="ENGINE",f.RPC="RPC",f.NOTIFICATIONS="NOTIFICATIONS",f.SERVICEUSER="SERVICEUSER",f.SPONSOR="SPONSOR",f.VOOBSERVER="VOOBSERVER",f.TOPGROUPCREATOR="TOPGROUPCREATOR",f.SECURITYADMIN="SECURITYADMIN",f.CABINETADMIN="CABINETADMIN",f.UNKNOWNROLENAME="UNKNOWNROLENAME",e;var f})()},28499:(Ze,ge,d)=>{"use strict";d.d(ge,{E3:()=>h,yT:()=>x.y});var e=d(69808),f=d(67322),g=d(29772),v=d(93075),m=d(98833),A=d(51062),s=d(20773),b=d(25245),R=d(63189),E=d(5e3);let h=(()=>{class G{}return G.\u0275fac=function(he){return new(he||G)},G.\u0275mod=E.oAB({type:G}),G.\u0275inj=E.cJS({providers:[],imports:[[e.ez,f.lN,g.AV,v.UX,m.c,A.aw,s.Cq,b.Ps,R.r]]}),G})();var x=d(47549);d(13469)},13469:(Ze,ge,d)=>{"use strict";d.d(ge,{G:()=>Pe});var e=d(47549),f=d(36908),g=d(112),v=d(5e3),m=d(51062),A=d(93075),s=d(67322),b=d(29772),R=d(98833),E=d(69808),h=d(20773),x=d(25245),k=d(98380);function G(se,V){1&se&&v._UZ(0,"mat-spinner",12),2&se&&v.Q6J("diameter",18)}function X(se,V){if(1&se&&(v.TgZ(0,"mat-icon",13),v._uU(1," error "),v.qZA()),2&se){const F=v.oxw();v.Q6J("matTooltip",F.getErrorTooltip())("matTooltipDisabled",!F.formGroup.get("passwordCtrl").hasError("backendError"))}}function he(se,V){1&se&&(v.TgZ(0,"mat-error"),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&se&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function re(se,V){if(1&se&&(v.TgZ(0,"mat-error",14),v._uU(1),v.qZA()),2&se){const F=v.oxw();v.Q6J("matTooltip",F.getErrorTooltip()),v.xp6(1),v.Oqu(F.getErrorTooltip())}}function Ne(se,V){1&se&&(v.TgZ(0,"mat-error"),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&se&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function ce(se,V){1&se&&(v.TgZ(0,"mat-error"),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&se&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let Pe=(()=>{class se{constructor(F,W,te){this.translator=F,this.usersManagerService=W,this.store=te,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.multiLanguage=!1,this.language="en",this.allPasswordRequirements=this.store.get("password_requirements_help"),this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new e.S}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(F=>{const W=F.userAttributes.find(te=>"preferredLanguage"===te.friendlyName);this.language=W&&W.value?W.value.toString():"en","en"!==this.language&&(this.allPasswordRequirements=this.store.get(`password_requirements_help_${this.language}`)),this.changeHelp()}):this.changeHelp()}ngOnChanges(){this.allPasswordRequirements=this.store.get("en"!==this.language?`password_requirements_help_${this.language}`:"password_requirements_help"),this.changeHelp()}getPasswordDisabledTooltip(){return this.translator.instant(this.tooltipPwdViaEmail?"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_VIA_EMAIL":"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_DISABLED")}getErrorTooltip(){let F=this.formGroup.get("passwordCtrl").getError("backendError");return F&&(F=F.replace(":null","")),F}changeHelp(){this.passwordRequirement=this.allPasswordRequirements.find(F=>F.split(":")[0]===this.namespace),this.passwordRequirement=void 0===this.passwordRequirement?this.allPasswordRequirements.find(F=>"default"===F.split(":")[0]).split(/:(.+)/)[1]:this.passwordRequirement.split(/:(.+)/)[1]}}return se.\u0275fac=function(F){return new(F||se)(v.Y36(m.sK),v.Y36(g.Fv),v.Y36(f.d6))},se.\u0275cmp=v.Xpm({type:se,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[v.TTD],decls:21,vars:23,consts:[[3,"formGroup"],["matTooltipPosition","left",1,"max-width",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","passwordCtrl",3,"type","required","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["matSuffix","",3,"click"],["color","warn","matSuffix","","class","error-icon",3,"matTooltip","matTooltipDisabled",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","after",3,"matTooltip",4,"ngIf"],[1,"max-width"],["matInput","","formControlName","passwordAgainCtrl",3,"type","required"],["alert_type","info"],[3,"innerHTML"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",1,"error-icon",3,"matTooltip","matTooltipDisabled"],["matTooltipPosition","after",3,"matTooltip"]],template:function(F,W){1&F&&(v.TgZ(0,"div",0),v.TgZ(1,"mat-form-field",1),v._UZ(2,"input",2),v.ALo(3,"translate"),v.YNc(4,G,1,1,"mat-spinner",3),v.TgZ(5,"mat-icon",4),v.NdJ("click",function(){return W.showNewPassword=!W.showNewPassword}),v._uU(6),v.qZA(),v.YNc(7,X,2,2,"mat-icon",5),v.YNc(8,he,3,3,"mat-error",6),v.YNc(9,re,2,2,"mat-error",7),v.qZA(),v.TgZ(10,"mat-form-field",8),v.TgZ(11,"mat-label"),v._uU(12),v.ALo(13,"translate"),v.qZA(),v._UZ(14,"input",9),v.TgZ(15,"mat-icon",4),v.NdJ("click",function(){return W.showPasswordConfirm=!W.showPasswordConfirm}),v._uU(16),v.qZA(),v.YNc(17,Ne,3,3,"mat-error",6),v.YNc(18,ce,3,3,"mat-error",6),v.qZA(),v.TgZ(19,"app-alert",10),v._UZ(20,"div",11),v.qZA(),v.qZA()),2&F&&(v.Q6J("formGroup",W.formGroup),v.xp6(1),v.Q6J("matTooltip",W.getPasswordDisabledTooltip())("matTooltipDisabled",W.formGroup.get("passwordCtrl").enabled),v.xp6(1),v.s9C("placeholder",v.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),v.Q6J("type",W.showNewPassword?"text":"password")("required",W.passwordRequired)("errorStateMatcher",W.passwordStateMatcher),v.xp6(2),v.Q6J("ngIf",W.formGroup.get("passwordCtrl").pending),v.xp6(2),v.hij(" ",W.showNewPassword?"visibility_off":"visibility"," "),v.xp6(1),v.Q6J("ngIf",W.formGroup.get("passwordCtrl").dirty&&null!==W.formGroup.get("passwordCtrl").errors),v.xp6(1),v.Q6J("ngIf",W.formGroup.get("passwordCtrl").hasError("required")),v.xp6(1),v.Q6J("ngIf",W.formGroup.get("passwordCtrl").hasError("backendError")),v.xp6(3),v.Oqu(v.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),v.xp6(2),v.Q6J("type",W.showPasswordConfirm?"text":"password")("required",W.passwordRequired),v.xp6(2),v.hij(" ",W.showPasswordConfirm?"visibility_off":"visibility"," "),v.xp6(1),v.Q6J("ngIf",W.formGroup.get("passwordAgainCtrl").hasError("required")),v.xp6(1),v.Q6J("ngIf",W.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),v.xp6(2),v.Q6J("innerHTML",W.passwordRequirement,v.oJD))},directives:[A.JL,A.sg,s.KE,b.gM,R.Nt,A.Fj,A.JJ,A.u,A.Q7,E.O5,h.$g,s.R9,x.Hw,s.TO,s.hX,k.w],pipes:[m.X$],styles:[".max-width[_ngcontent-%COMP%]{width:100%!important}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:5px}.error-icon[_ngcontent-%COMP%]{margin-left:5px}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:static!important;position:initial!important;display:block;margin-top:-1px}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper, [_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:static!important;position:initial!important;display:table}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}"]}),se})()},47549:(Ze,ge,d)=>{"use strict";d.d(ge,{S:()=>A,y:()=>s});var e=d(98723),f=d(21086),g=d(87545),v=d(24850),m=d(27221);class A{isErrorState(R){return!!(R&&R.invalid&&R.dirty)}}const s=(b,R,E,h=500)=>x=>(0,e.H)(h).pipe((0,g.w)(()=>(E.dontHandleErrorForNext(),b&&"No namespace"!==b?R.checkPasswordStrength(x.value,b):(0,f.of)(null))),(0,v.U)(()=>null),(0,m.K)(k=>(0,f.of)({backendError:k.error.message.substr(k.error.message.indexOf(":")+1)})))},112:(Ze,ge,d)=>{"use strict";d.d(ge,{Us:()=>ke,au:()=>ne,sY:()=>z,H8:()=>s,jw:()=>b,Ct:()=>R,VK:()=>A,WY:()=>h,KG:()=>k,IQ:()=>G,ff:()=>he,uq:()=>Ne,aC:()=>ce,Hr:()=>Pe,tk:()=>se,xk:()=>V,KK:()=>W,Ob:()=>te,Dy:()=>M,Fv:()=>ae,FW:()=>pe,YF:()=>Be});var e=d(40520);class f{encodeKey(Te){return encodeURIComponent(Te)}encodeValue(Te){return encodeURIComponent(Te)}decodeKey(Te){return decodeURIComponent(Te)}decodeValue(Te){return decodeURIComponent(Te)}}var g=d(5e3);const v=new g.OlP("basePath");class A{constructor(Te={}){this.apiKeys=Te.apiKeys,this.username=Te.username,this.password=Te.password,this.accessToken=Te.accessToken,this.basePath=Te.basePath,this.withCredentials=Te.withCredentials,this.encoder=Te.encoder}selectHeaderContentType(Te){if(0===Te.length)return;const n=Te.find(r=>this.isJsonMime(r));return void 0===n?Te[0]:n}selectHeaderAccept(Te){if(0===Te.length)return;const n=Te.find(r=>this.isJsonMime(r));return void 0===n?Te[0]:n}isJsonMime(Te){const n=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==Te&&(n.test(Te)||"application/json-patch+json"===Te.toLowerCase())}}let s=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}convertAttributeToNonunique(n,r="body",u=!1){if(null==n)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("attributeDefinition",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}convertAttributeToUnique(n,r="body",u=!1){if(null==n)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("attributeDefinition",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}createAttributeDefinition(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}deleteAttributeDefinition(n,r="body",u=!1){if(null==n)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("attribute",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}deleteAttributeDefinitions(n,r="body",u=!1){if(null==n)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("attributes[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllAttributeDefinitions(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getAttribute(n,r,u,o,t,i,c,p,T,Se,je,Et="body",St=!1){let Ft=new e.LE({encoder:this.encoder});null!=n&&(Ft=Ft.set("attributeName",n)),null!=r&&(Ft=Ft.set("attributeId",r)),null!=u&&(Ft=Ft.set("facility",u)),null!=o&&(Ft=Ft.set("user",o)),null!=t&&(Ft=Ft.set("vo",t)),null!=i&&(Ft=Ft.set("resource",i)),null!=c&&(Ft=Ft.set("member",c)),null!=p&&(Ft=Ft.set("group",p)),null!=T&&(Ft=Ft.set("host",T)),null!=Se&&(Ft=Ft.set("userExtSource",Se)),null!=je&&(Ft=Ft.set("key",je));let It=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(It=It.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(It=It.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const at="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;It=It.set("Authorization","Bearer "+at)}const Mt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Mt&&(It=It.set("Accept",Mt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:Ft,withCredentials:this.configuration.withCredentials,headers:It,observe:Et,reportProgress:St})}getAttributeDefinitionById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAttributeDefinitionByName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("attributeName",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAttributeDefinitionsByNamespace(n,r="body",u=!1){if(null==n)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("namespace",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAttributeModulesDependenciesForAttributeGraphText(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==r)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("format",n)),null!=r&&(t=t.set("attrName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getAttributeModulesDependenciesGraphText(n,r="body",u=!1){if(null==n)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("format",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAttributePolicyCollections(n,r="body",u=!1){if(null==n)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("attributeId",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAttributeRights(n,r="body",u=!1){if(null==n)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("attributeId",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAttributesDefinitionWithRights(n,r,u,o,t,i,c,p,T="body",Se=!1){let je=new e.LE({encoder:this.encoder});null!=n&&(je=je.set("member",n)),null!=r&&(je=je.set("user",r)),null!=u&&(je=je.set("vo",u)),null!=o&&(je=je.set("group",o)),null!=t&&(je=je.set("resource",t)),null!=i&&(je=je.set("facility",i)),null!=c&&(je=je.set("host",c)),null!=p&&(je=je.set("userExtSource",p));let Et=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Et=Et.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Et=Et.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const It="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Et=Et.set("Authorization","Bearer "+It)}const Ft=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Ft&&(Et=Et.set("Accept",Ft)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:je,withCredentials:this.configuration.withCredentials,headers:Et,observe:T,reportProgress:Se})}getEntitylessAttributeByName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("key",n)),null!=r&&(t=t.set("attributeName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getEntitylessAttributesByKey(n,r="body",u=!1){if(null==n)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("key",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getEntitylessAttributesByName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("attrName",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getEntitylessAttributesWithKeys(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("attrName",n)),r&&r.forEach(T=>{t=t.append("keys[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getEntitylessKeys(n,r="body",u=!1){if(null==n)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("attributeDefinition",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilityAttributeById(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("attributeId",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getFacilityAttributeByName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("attributeName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getFacilityAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilityAttributesByNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getFacilityResourceUserMemberAttributes(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==u)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("facility",n)),null!=r&&(c=c.set("resource",r)),null!=u&&(c=c.set("user",u)),null!=o&&(c=c.set("member",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getFacilityUserAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==r)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getGroupAttributeById(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),null!=r&&(t=t.set("attributeId",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getGroupAttributeByName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),null!=r&&(t=t.set("attributeName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getGroupAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getGroupAttributesByNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getGroupResourceAttributeById(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==u)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("group",n)),null!=r&&(i=i.set("resource",r)),null!=u&&(i=i.set("attributeId",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getGroupResourceAttributeByName(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==u)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("group",n)),null!=r&&(i=i.set("resource",r)),null!=u&&(i=i.set("attributeName",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getGroupResourceAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),null!=r&&(t=t.set("resource",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getHostAttributeById(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("host",n)),null!=r&&(t=t.set("attributeId",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getHostAttributeByName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("host",n)),null!=r&&(t=t.set("attributeName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getHostAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("host",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getHostAttributesByNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("host",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getLogins(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getLogins.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getMemberAndUserAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==r)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("workWithUserAttributes",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getMemberAndUserAttributesByNames(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==u)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),r&&r.forEach(Se=>{i=i.append("attrNames[]",Se)}),null!=u&&(i=i.set("workWithUserAttributes",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberAttributeById(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("attributeId",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getMemberAttributeByName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("attributeName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getMemberAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getMemberAttributesByNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getMemberGroupAndUserAttributesByNames(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("member",n)),null!=r&&(c=c.set("group",r)),u&&u.forEach(je=>{c=c.append("attrNames[]",je)}),null!=o&&(c=c.set("workWithUserAttributes",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getMemberGroupAttributeById(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==u)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("group",r)),null!=u&&(i=i.set("attributeId",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberGroupAttributeByName(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==u)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("group",r)),null!=u&&(i=i.set("attributeName",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberGroupAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("group",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getMemberGroupAttributesByNames(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("group",r)),u&&u.forEach(Se=>{i=i.append("attrNames[]",Se)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAndUserFacilityAttributes(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==u)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("resource",r)),null!=u&&(i=i.set("workWithUserAttributes",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAndUserFacilityAttributesByNames(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("member",n)),null!=r&&(c=c.set("resource",r)),u&&u.forEach(je=>{c=c.append("attrNames[]",je)}),null!=o&&(c=c.set("workWithUserAttributes",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getMemberResourceAttributeById(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==u)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("resource",r)),null!=u&&(i=i.set("attributeId",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAttributeByName(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==u)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("resource",r)),null!=u&&(i=i.set("attributeName",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("resource",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getRequiredAttributesDefinition(n,r="body",u=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("service",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRequiredAttributesFacility(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRequiredAttributesFacilityService(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getRequiredAttributesFacilityServices(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let t=new e.LE({encoder:this.encoder});n&&n.forEach(T=>{t=t.append("services[]",T)}),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getRequiredAttributesGroupResourceService(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==u)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("service",n)),null!=r&&(i=i.set("resource",r)),null!=u&&(i=i.set("group",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRequiredAttributesHostService(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==r)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("host",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getRequiredAttributesMember(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("workWithUserAttributes",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getRequiredAttributesMemberGroup(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("group",r)),null!=u&&(i=i.set("workWithUserAttributes",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRequiredAttributesMemberGroupResourceService(n,r,u,o,t,i="body",c=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==u)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let p=new e.LE({encoder:this.encoder});null!=n&&(p=p.set("service",n)),null!=r&&(p=p.set("resource",r)),null!=u&&(p=p.set("group",u)),null!=o&&(p=p.set("member",o)),null!=t&&(p=p.set("workWithUserAttributes",t));let T=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(T=T.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(T=T.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;T=T.set("Authorization","Bearer "+Et)}const je=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==je&&(T=T.set("Accept",je)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:p,withCredentials:this.configuration.withCredentials,headers:T,observe:i,reportProgress:c})}getRequiredAttributesMemberGroupService(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==u)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("service",n)),null!=r&&(c=c.set("group",r)),null!=u&&(c=c.set("member",u)),null!=o&&(c=c.set("workWithUserAttributes",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getRequiredAttributesMemberResource(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("resource",r)),null!=u&&(i=i.set("workWithUserAttributes",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRequiredAttributesMemberResourceService(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==u)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("service",n)),null!=r&&(c=c.set("resource",r)),null!=u&&(c=c.set("member",u)),null!=o&&(c=c.set("workWithUserAttributes",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getRequiredAttributesResource(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRequiredAttributesResourceService(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("resource",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getRequiredAttributesResourceServices(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let t=new e.LE({encoder:this.encoder});n&&n.forEach(T=>{t=t.append("services[]",T)}),null!=r&&(t=t.set("resource",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getRequiredAttributesUser(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRequiredAttributesUserFacility(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getRequiredAttributesVoService(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("vo",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getResourceAttributeById(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("attributeId",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getResourceAttributeByName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("attributeName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getResourceAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getResourceAttributesByNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getResourceGroupAndGroupAttributes(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==u)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("resource",n)),null!=r&&(i=i.set("group",r)),null!=u&&(i=i.set("workWithGroupAttributes",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getResourceGroupAndGroupAttributesByNames(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("resource",n)),null!=r&&(c=c.set("group",r)),u&&u.forEach(je=>{c=c.append("attrNames[]",je)}),null!=o&&(c=c.set("workWithGroupAttributes",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getResourceGroupAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("group",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getResourceGroupMemberAttributesByNames(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==u)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("resource",n)),null!=r&&(c=c.set("group",r)),null!=u&&(c=c.set("member",u)),o&&o.forEach(je=>{c=c.append("attrNames[]",je)});let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getUserAttributeById(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("attributeId",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getUserAttributeByName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("attributeName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getUserAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getUserAttributesByNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getUserExtSourceAttributeById(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("userExtSource",n)),null!=r&&(t=t.set("attributeId",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getUserExtSourceAttributeByName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("userExtSource",n)),null!=r&&(t=t.set("attributeName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getUserExtSourceAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("userExtSource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getUserExtSourceAttributesByNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("userExtSource",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getUserFacilityAttributeById(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==u)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("user",n)),null!=r&&(i=i.set("facility",r)),null!=u&&(i=i.set("attributeId",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getUserFacilityAttributeByName(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==u)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("user",n)),null!=r&&(i=i.set("facility",r)),null!=u&&(i=i.set("attributeName",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getUserFacilityAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getVoAttributeById(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("attributeId",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getVoAttributeByName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("attributeName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getVoAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getVoAttributesByNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeAttributesForFacilityResourceGroupUserMember(n,r,u,o,t,i,c="body",p=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==u)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let T=new e.LE({encoder:this.encoder});null!=n&&(T=T.set("facility",n)),null!=r&&(T=T.set("resource",r)),null!=u&&(T=T.set("group",u)),null!=o&&(T=T.set("user",o)),null!=t&&(T=T.set("member",t)),i&&i.forEach(St=>{T=T.append("attributes[]",St)});let Se=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Se=Se.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Se=Se.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const St="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Se=Se.set("Authorization","Bearer "+St)}const Et=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Et&&(Se=Se.set("Accept",Et)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:T,withCredentials:this.configuration.withCredentials,headers:Se,observe:c,reportProgress:p})}removeAttributesForFacilityResourceUserMember(n,r,u,o,t,i="body",c=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==u)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==o)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let p=new e.LE({encoder:this.encoder});null!=n&&(p=p.set("facility",n)),null!=r&&(p=p.set("resource",r)),null!=u&&(p=p.set("user",u)),null!=o&&(p=p.set("member",o)),t&&t.forEach(Et=>{p=p.append("attributes[]",Et)});let T=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(T=T.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(T=T.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;T=T.set("Authorization","Bearer "+Et)}const je=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==je&&(T=T.set("Accept",je)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:p,withCredentials:this.configuration.withCredentials,headers:T,observe:i,reportProgress:c})}removeEntitylessAttribute(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("key",n)),null!=r&&(t=t.set("attribute",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeFacilityAttribute(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("attribute",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeFacilityAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),r&&r.forEach(T=>{t=t.append("attributes[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeGroupAttribute(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),null!=r&&(t=t.set("attribute",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeGroupAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),r&&r.forEach(T=>{t=t.append("attributes[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeGroupResourceAttribute(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==u)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("group",n)),null!=r&&(i=i.set("resource",r)),null!=u&&(i=i.set("attribute",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeGroupResourceAttributes(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("group",n)),null!=r&&(i=i.set("resource",r)),u&&u.forEach(Se=>{i=i.append("attributes[]",Se)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeGroupResourceAttributesWorkWithGroupAttributes(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("group",n)),null!=r&&(c=c.set("resource",r)),u&&u.forEach(je=>{c=c.append("attributes[]",je)}),null!=o&&(c=c.set("workWithGroupAttributes",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}removeHostAttribute(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("host",n)),null!=r&&(t=t.set("attribute",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeHostAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("host",n)),r&&r.forEach(T=>{t=t.append("attributes[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeMemberAttribute(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("attribute",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeMemberAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),r&&r.forEach(T=>{t=t.append("attributes[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeMemberAttributesWorkWithUserAttributes(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==u)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),r&&r.forEach(Se=>{i=i.append("attributes[]",Se)}),null!=u&&(i=i.set("workWithUserAttributes",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberGroupAttribute(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==u)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("group",r)),null!=u&&(i=i.set("attribute",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberGroupAttributes(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("group",r)),u&&u.forEach(Se=>{i=i.append("attributes[]",Se)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberGroupAttributesWorkWithUserAttributes(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("member",n)),null!=r&&(c=c.set("group",r)),u&&u.forEach(je=>{c=c.append("attributes[]",je)}),null!=o&&(c=c.set("workWithUserAttributes",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}removeMemberResourceAttribute(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==u)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("resource",r)),null!=u&&(i=i.set("attribute",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberResourceAttributes(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("resource",r)),u&&u.forEach(Se=>{i=i.append("attributes[]",Se)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeResourceAttribute(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("attribute",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeResourceAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),r&&r.forEach(T=>{t=t.append("attributes[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeUesAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("userExtSource",n)),r&&r.forEach(T=>{t=t.append("attributes[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeUserAttribute(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("attribute",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeUserAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),r&&r.forEach(T=>{t=t.append("attributes[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeUserExtSourceAttribute(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("userExtSource",n)),null!=r&&(t=t.set("attribute",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeUserFacilityAttribute(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==u)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("user",n)),null!=r&&(i=i.set("facility",r)),null!=u&&(i=i.set("attribute",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeUserFacilityAttributes(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("user",n)),null!=r&&(i=i.set("facility",r)),u&&u.forEach(Se=>{i=i.append("attributes[]",Se)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeVoAttribute(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("attribute",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeVoAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),r&&r.forEach(T=>{t=t.append("attributes[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}setAttributePolicyCollections(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setAttributeRights(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setEntitylessAttribute(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setFacilityAttribute(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setFacilityAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setFacilityResourceGroupUserMemberAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setFacilityResourceUserMemberAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setFacilityUserAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setGroupAttribute(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setGroupAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setGroupResourceAttribute(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setGroupResourceAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setHostAttribute(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setHostAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setMemberAttribute(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setMemberAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setMemberGroupAttribute(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setMemberGroupAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setMemberGroupWithUserAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setMemberResourceAndUserAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setMemberResourceAttribute(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setMemberResourceAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setMemberWithUserAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setResourceAttribute(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setResourceAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setResourceGroupAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setResourceGroupWithGroupAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setUserAttribute(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setUserAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setUserExtSourceAttribute(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setUserExtSourceAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setUserFacilityAttribute(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setUserFacilityAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setVoAttribute(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setVoAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateAttributeDefinition(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),b=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}auditMessagesManagerLog(n,r="body",u=!1){if(null==n)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("msg",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/log`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}createAuditerConsumer(n,r="body",u=!1){if(null==n)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("consumerName",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/createAuditerConsumer`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllAuditerConsumers(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getAuditerMessagesCount(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getLastMessageId(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getMessages(n,r="body",u=!1){let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("count",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessages`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getMessagesByCount(n,r="body",u=!1){if(null==n)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("count",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesByCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getMessagesPage(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputGetMessagesPage was null or undefined when calling getMessagesPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesPage`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}pollConsumerMessages(n,r="body",u=!1){if(null==n)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("consumerName",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/pollConsumerMessages`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}setLastProcessedId(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==r)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("consumerName",n)),null!=r&&(t=t.set("lastProcessedId",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/setLastProcessedId`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),R=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getAllPolicies(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getAllRolesManagementRules(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getAuthzAdminGroups(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==r)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==u)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("role",n)),null!=r&&(i=i.set("complementaryObjectId",r)),null!=u&&(i=i.set("complementaryObjectName",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAuthzRichAdmins(n,r,u,o,t,i,c="body",p=!1){if(null==n)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==r)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==u)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==o)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let T=new e.LE({encoder:this.encoder});null!=n&&(T=T.set("role",n)),null!=r&&(T=T.set("complementaryObjectId",r)),null!=u&&(T=T.set("complementaryObjectName",u)),o&&o.forEach(St=>{T=T.append("specificAttributes",St)}),null!=t&&(T=T.set("allUserAttributes",t)),null!=i&&(T=T.set("onlyDirectAdmins",i));let Se=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Se=Se.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Se=Se.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const St="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Se=Se.set("Authorization","Bearer "+St)}const Et=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Et&&(Se=Se.set("Accept",Et)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:T,withCredentials:this.configuration.withCredentials,headers:Se,observe:c,reportProgress:p})}getFacilitiesWhereUserIsInRoles(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),n&&n.forEach(T=>{t=t.append("roles[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getGroupRoleNames(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getGroupRoles(n,r="body",u=!1){if(null==n)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("groupId",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getGroupsWhereUserIsInRoles(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),n&&n.forEach(T=>{t=t.append("roles[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getLoggedUser(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getMembersWhereUserIsInRoles(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),n&&n.forEach(T=>{t=t.append("roles[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getPerunPrincipal(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getPrincipalRoleNames(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getResourcesWhereUserIsInRoles(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),n&&n.forEach(T=>{t=t.append("roles[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getSecurityTeamsWhereUserIsInRoles(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),n&&n.forEach(T=>{t=t.append("roles[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getUserRoleNames(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getUserRoles(n,r="body",u=!1){if(null==n)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("userId",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getVosWhereUserIsInRoles(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),n&&n.forEach(T=>{t=t.append("roles[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}isFacilityAdmin(n,r="body",u=!1){let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}isGroupAdmin(n,r="body",u=!1){let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}isPerunAdmin(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}isVoAdmin(n,r="body",u=!1){let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}keepAlive(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}loadAuthorizationComponents(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}setRoleWithGroupComplementaryObject(n,r="body",u=!1){if(null==n)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setRoleWithUserComplementaryObject(n,r="body",u=!1){if(null==n)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}unsetRoleWithGroupComplementaryObject(n,r="body",u=!1){if(null==n)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}unsetRoleWithUserComplementaryObject(n,r="body",u=!1){if(null==n)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),E=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}createAutorship(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createCategoryCat(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createCategoryNR(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createPublication(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createPublicationSystem(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createThanks(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}deleteAuthorship(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==r)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("publicationId",n)),null!=r&&(t=t.set("userId",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}deleteCategory(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}deletePublication(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}deletePublicationSystem(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}deleteThanks(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}findAllAuthors(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}findAuthorsByPublicationId(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}findExternalPublications(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==r)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==u)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==o)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("user",n)),null!=r&&(c=c.set("yearSince",r)),null!=u&&(c=c.set("yearTill",u)),null!=o&&(c=c.set("pubSysNamespace",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}findNewAuthors(n,r="body",u=!1){if(null==n)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("searchString",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}findPublicationById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}findPublicationsByFilter(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let i=new e.LE({encoder:this.encoder});null!=r&&(i=i.set("yearSince",r)),null!=u&&(i=i.set("yearTill",u)),null!=n&&(i=i.set("userId",n));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}findPublicationsByGUIFilter(n,r,u,o,t,i,c,p,T,Se="body",je=!1){let Et=new e.LE({encoder:this.encoder});null!=n&&(Et=Et.set("title",n)),null!=r&&(Et=Et.set("isbn",r)),null!=u&&(Et=Et.set("doi",u)),null!=o&&(Et=Et.set("id",o)),null!=t&&(Et=Et.set("year",t)),null!=i&&(Et=Et.set("category",i)),null!=c&&(Et=Et.set("yearSince",c)),null!=p&&(Et=Et.set("yearTill",p)),null!=T&&(Et=Et.set("userId",T));let St=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(St=St.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(St=St.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Vt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;St=St.set("Authorization","Bearer "+Vt)}const It=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==It&&(St=St.set("Accept",It)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:Et,withCredentials:this.configuration.withCredentials,headers:St,observe:Se,reportProgress:je})}findSimilarPublications(n,r,u,o="body",t=!1){let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("title",n)),null!=r&&(i=i.set("doi",r)),null!=u&&(i=i.set("isbn",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getCategories(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getPublicationSystems(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getRank(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getRank.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRichThanksByPublicationId(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}lockPublications(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateCategory(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updatePublication(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updatePublicationSystem(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),h=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}changeConsentStatus(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter consent was null or undefined when calling changeConsentStatus.");if(null==r)throw new Error("Required parameter status was null or undefined when calling changeConsentStatus.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("consent",n)),null!=r&&(t=t.set("status",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/changeConsentStatus`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getAllConsentHubs(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsentHubs`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getAllConsents(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsents`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getConsentById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getConsentById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getConsentForUserAndConsentHub(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getConsentForUserAndConsentHub.");if(null==r)throw new Error("Required parameter consentHub was null or undefined when calling getConsentForUserAndConsentHub.");if(null==u)throw new Error("Required parameter status was null or undefined when calling getConsentForUserAndConsentHub.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("user",n)),null!=r&&(i=i.set("consentHub",r)),null!=u&&(i=i.set("status",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentForUserAndConsentHub`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getConsentHubByFacility(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getConsentHubByFacility.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getConsentHubById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getConsentHubById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getConsentHubByName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter name was null or undefined when calling getConsentHubByName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("name",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getConsentsForConsentHub(n,r="body",u=!1){if(null==n)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHub.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("consentHub",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getConsentsForConsentHubWithStatus(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHubWithStatus.");if(null==r)throw new Error("Required parameter status was null or undefined when calling getConsentsForConsentHubWithStatus.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("consentHub",n)),null!=r&&(t=t.set("status",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id-s`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getConsentsForUser(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getConsentsForUser.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getConsentsForUserAndConsentHub(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserAndConsentHub.");if(null==r)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForUserAndConsentHub.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("consentHub",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUserAndConsentHub`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getConsentsForUserWithStatus(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserWithStatus.");if(null==r)throw new Error("Required parameter status was null or undefined when calling getConsentsForUserWithStatus.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("status",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id-s`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}updateConsentHub(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateConsentHub was null or undefined when calling updateConsentHub.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/consentsManager/updateConsentHub`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),x=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getCurrentDatabaseVersion(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getDatabaseDriverInformation(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getDatabaseInformation(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getTimeOfQueryPerformance(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),k=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addExtSourceWithGroupSource(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),null!=r&&(t=t.set("source",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addExtSourceWithVoSource(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("source",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}createExtSourceFromExtSourceObject(n,r="body",u=!1){if(null==n)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createExtSourceWithNameType(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==r)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("name",n)),null!=r&&(t=t.set("type",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}deleteExtSource(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getExtSourceById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getExtSourceByName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("name",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getExtSources(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getGroupExtSources(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getVoExtSources(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}loadExtSourcesDefinitions(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}removeExtSourceWithGroupSource(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),null!=r&&(t=t.set("source",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeExtSourceWithVoSource(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("source",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),G=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addFacilityAdminGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("authorizedGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addFacilityAdminGroupByFacilityName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("authorizedGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addFacilityAdminUser(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addFacilityAdminUserByFacilityName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addFacilityOwner(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("owner",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addFacilityOwnerByFacilityName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("owner",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addFacilityOwnerByFacilityNameOwnerName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("owner",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addFacilityOwnerByOwnerName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("owner",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addHost(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==r)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("hostname",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addHostByFacilityName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==r)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("hostname",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addHosts(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==r)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),r&&r.forEach(T=>{t=t.append("hostnames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addHostsByFacilityName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==r)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),r&&r.forEach(T=>{t=t.append("hostnames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}assignSecurityTeam(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("securityTeam",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}assignSecurityTeamByFacilityName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("securityTeam",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("srcFacility",n)),null!=r&&(t=t.set("destFacility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyAttributesByDestinationName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("srcFacility",n)),null!=r&&(t=t.set("destFacilityName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyAttributesBySourceDestinationNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("srcFacilityName",n)),null!=r&&(t=t.set("destFacilityName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyAttributesBySourceName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("srcFacilityName",n)),null!=r&&(t=t.set("destFacility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyManagers(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("srcFacility",n)),null!=r&&(t=t.set("destFacility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyManagersByDestinationName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("srcFacility",n)),null!=r&&(t=t.set("destFacilityName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyManagersBySourceDestinationNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("srcFacilityName",n)),null!=r&&(t=t.set("destFacilityName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyManagersBySourceName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("srcFacilityName",n)),null!=r&&(t=t.set("destFacility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyOwners(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("srcFacility",n)),null!=r&&(t=t.set("destFacility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyOwnersByDestinationName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("srcFacility",n)),null!=r&&(t=t.set("destFacilityName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyOwnersBySourceDestinationNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("srcFacilityName",n)),null!=r&&(t=t.set("destFacilityName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyOwnersBySourceName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("srcFacilityName",n)),null!=r&&(t=t.set("destFacility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}createFacility(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter name was null or undefined when calling createFacility.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("name",n)),null!=r&&(t=t.set("description",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}deleteFacility(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("force",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}deleteFacilityByFacilityName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllFacilities(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getAllowedGroups(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("facility",n)),null!=r&&(i=i.set("vo",r)),null!=u&&(i=i.set("service",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedGroupsByFacilityName(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("facility",n)),null!=r&&(i=i.set("vo",r)),null!=u&&(i=i.set("service",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedRichGroupsWithAttributes(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("facility",n)),r&&r.forEach(je=>{c=c.append("attrNames[]",je)}),null!=u&&(c=c.set("vo",u)),null!=o&&(c=c.set("service",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getAllowedRichGroupsWithAttributesByFacilityName(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("facility",n)),r&&r.forEach(je=>{c=c.append("attrNames[]",je)}),null!=u&&(c=c.set("vo",u)),null!=o&&(c=c.set("service",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getAllowedUsersOfFacility(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("facility",n)),null!=r&&(i=i.set("vo",r)),null!=u&&(i=i.set("service",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedUsersOfFacilityByFacilityName(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("facility",n)),null!=r&&(i=i.set("vo",r)),null!=u&&(i=i.set("service",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedVos(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllowedVosByFacilityName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedFacilitiesByGroup(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedFacilitiesByMember(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedFacilitiesByService(n,r="body",u=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("service",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedFacilitiesByUser(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedResourcesByAssignedServiceForFacility(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==r)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("service",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getAssignedResourcesForFacility(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedResourcesForFacilityByFacilityName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedRichResourcesForFacility(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedRichResourcesForFacilityByFacilityName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedSecurityTeams(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedSecurityTeamsByFacilityName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedUsers(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("service",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getAssignedUsersByFacilityName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("service",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getBansForFacility(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facilityId",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getBansForUser(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getEnrichedFacilities(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getEnrichedHosts(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getFacilitiesByAttribute(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==r)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("attributeName",n)),null!=r&&(t=t.set("attributeValue",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getFacilitiesByDestination(n,r="body",u=!1){if(null==n)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("destination",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilitiesByHostName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("hostname",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilitiesByIds(n,r="body",u=!1){if(null==n)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("ids[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilitiesCount(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getFacilitiesWhereUserIsAdmin(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilityAdminGroups(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilityAdminUsers(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("onlyDirectAdmins",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getFacilityAdminUsersByFacilityName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("onlyDirectAdmins",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getFacilityBan(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getFacilityBanById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("banId",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilityById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilityByName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("name",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilityForHost(n,r="body",u=!1){if(null==n)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("host",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilityOwners(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilityOwnersByFacilityName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getHostById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getHostById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getHosts(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getHostsByFacilityName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getHostsByHostname(n,r="body",u=!1){if(null==n)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("hostname",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getHostsCount(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getHostsCountByFacilityName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getOwnerFacilities(n,r="body",u=!1){if(null==n)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("owner",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRichFacilities(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}removeBanByUserIdFacilityId(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeFacilityAdminGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("authorizedGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeFacilityAdminGroupByFacilityName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("authorizedGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeFacilityAdminUser(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeFacilityAdminUserByFacilityName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeFacilityBanById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("banId",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}removeFacilityOwner(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("owner",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeFacilityOwnerByFacilityName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("owner",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeFacilityOwnerByFacilityNameOwnerName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("owner",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeFacilityOwnerByOwnerName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("owner",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeHost(n,r="body",u=!1){if(null==n)throw new Error("Required parameter host was null or undefined when calling removeHost.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("host",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}removeHostByHostname(n,r="body",u=!1){if(null==n)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("hostname",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}removeHosts(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==r)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),r&&r.forEach(T=>{t=t.append("hosts[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeHostsByFacilityName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==r)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),r&&r.forEach(T=>{t=t.append("hosts[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeSecurityTeam(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("securityTeam",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeSecurityTeamByFacilityName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),null!=r&&(t=t.set("securityTeam",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}setFacilityBan(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateFacility(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateFacilityBan(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),X=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getFacilityAdminGroupsByFacilityName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),he=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addMember(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling addMember.");let t=new e.LE({encoder:this.encoder});n&&n.forEach(T=>{t=t.append("groups[]",T)}),null!=r&&(t=t.set("member",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addMembers(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==r)throw new Error("Required parameter members was null or undefined when calling addMembers.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),r&&r.forEach(T=>{t=t.append("members[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}canExtendMembershipInGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("group",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}createGroupUnion(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==r)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resultGroup",n)),null!=r&&(t=t.set("operandGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}createGroupWithParentGroupNameDescription(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==r)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==u)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("parentGroup",n)),null!=r&&(i=i.set("name",r)),null!=u&&(i=i.set("description",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}createGroupWithVoNameDescription(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==r)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==u)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("vo",n)),null!=r&&(i=i.set("name",r)),null!=u&&(i=i.set("description",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}deleteGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),null!=r&&(t=t.set("force",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}deleteGroups(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}extendMembershipInGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("group",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}forceAllSubGroupsSynchronization(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}forceGroupStructureSynchronization(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}forceGroupSynchronization(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllGroups(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllGroupsFromAllVos(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getAllMemberGroups(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllRichGroups(n,r="body",u=!1){if(null==n)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("attrNames[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllRichGroupsWithAttributesByNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getAllRichSubGroupsWithGroupAttributesByNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getGroupById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getGroupByName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==r)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("name",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getGroupMemberById(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==r)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),null!=r&&(t=t.set("member",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getGroupMembers(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getGroupMembersCount(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getGroupMembersCountsByGroupStatus(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getGroupMembersCountsByVoStatus(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getGroupRichMembersByIds(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==r)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("group",n)),r&&r.forEach(Se=>{i=i.append("members[]",Se)}),u&&u.forEach(Se=>{i=i.append("attrNames[]",Se)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getGroupUnions(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==r)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),null!=r&&(t=t.set("reverseDirection",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getGroupsByIds(n,r="body",u=!1){if(null==n)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("ids[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getGroupsPage(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}getIndirectMembershipPaths(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("group",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getMemberGroups(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getMemberRichGroupsWithAttributesByNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getRichGroupByIdWithAttributesByNames(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("groupId",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getSubgroupsPage(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}isGroupMember(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==r)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("group",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}moveGroupWithDestinationGroupMovingGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("destinationGroup",r)),null!=n&&(t=t.set("movingGroup",n));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeGroupUnion(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==r)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resultGroup",n)),null!=r&&(t=t.set("operandGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeMember(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeMember.");let t=new e.LE({encoder:this.encoder});n&&n.forEach(T=>{t=t.append("groups[]",T)}),null!=r&&(t=t.set("member",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeMembers(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==r)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),r&&r.forEach(T=>{t=t.append("members[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}setGroupsMemberStatus(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==r)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==u)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("group",r)),null!=u&&(i=i.set("status",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}updateGroup(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),re=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getGroupMemberData(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/integrationManager/getGroupMemberData`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),Ne=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}canExtendMembership(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}createMemberForCandidate(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createMemberForUser(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createMemberFromExtSource(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createSpecificMember(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createSponsoredMember(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createSponsoredMembers(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createSponsoredMembersFromCSV(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}deleteMember(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}deleteMembers(n,r="body",u=!1){if(null==n)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("members[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}extendMembership(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}findCompleteRichMembersByAttributes(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let i=new e.LE({encoder:this.encoder});n&&n.forEach(Se=>{i=i.append("attrsNames[]",Se)}),null!=r&&(i=i.set("searchString",r)),u&&u.forEach(Se=>{i=i.append("allowedStatuses[]",Se)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}findCompleteRichMembersForGroup(n,r,u,o,t,i,c="body",p=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==r)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==o)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let T=new e.LE({encoder:this.encoder});null!=n&&(T=T.set("group",n)),r&&r.forEach(St=>{T=T.append("attrsNames[]",St)}),t&&t.forEach(St=>{T=T.append("allowedStatuses[]",St)}),i&&i.forEach(St=>{T=T.append("allowedGroupStatuses[]",St)}),null!=u&&(T=T.set("searchString",u)),null!=o&&(T=T.set("lookingInParentGroup",o));let Se=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Se=Se.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Se=Se.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const St="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Se=Se.set("Authorization","Bearer "+St)}const Et=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Et&&(Se=Se.set("Accept",Et)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:T,withCredentials:this.configuration.withCredentials,headers:Se,observe:c,reportProgress:p})}findCompleteRichMembersForVo(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==r)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("vo",n)),r&&r.forEach(je=>{c=c.append("attrsNames[]",je)}),o&&o.forEach(je=>{c=c.append("allowedStatuses[]",je)}),null!=u&&(c=c.set("searchString",u));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}findMembersInVo(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("searchString",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}findSponsoredCompleteRichMembersForVo(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==r)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==o)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("vo",n)),r&&r.forEach(je=>{c=c.append("attrsNames[]",je)}),null!=u&&(c=c.set("searchString",u)),null!=o&&(c=c.set("onlySponsored",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getAllMembers(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getAllNamespacesRules(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getAllSponsoredMembers(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllSponsoredMembersAndTheirSponsors(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getCompleteRichMembersForGroup(n,r,u,o,t,i="body",c=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==r)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let p=new e.LE({encoder:this.encoder});null!=n&&(p=p.set("group",n)),u&&u.forEach(Et=>{p=p.append("allowedStatuses[]",Et)}),o&&o.forEach(Et=>{p=p.append("allowedGroupStatuses[]",Et)}),null!=r&&(p=p.set("lookingInParentGroup",r)),t&&t.forEach(Et=>{p=p.append("attrsNames[]",Et)});let T=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(T=T.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(T=T.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;T=T.set("Authorization","Bearer "+Et)}const je=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==je&&(T=T.set("Accept",je)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:p,withCredentials:this.configuration.withCredentials,headers:T,observe:i,reportProgress:c})}getCompleteRichMembersForGroupResource(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==u)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==o)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("group",n)),null!=r&&(c=c.set("resource",r)),u&&u.forEach(je=>{c=c.append("attrsNames[]",je)}),o&&o.forEach(je=>{c=c.append("allowedStatuses[]",je)});let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getCompleteRichMembersForVo(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("vo",n)),r&&r.forEach(Se=>{i=i.append("allowedStatuses[]",Se)}),u&&u.forEach(Se=>{i=i.append("attrsNames[]",Se)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberByExtSourceNameAndExtLogin(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==r)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==u)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("vo",n)),null!=r&&(i=i.set("extLogin",r)),null!=u&&(i=i.set("extSourceName",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getMemberByUser(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getMembers(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("status",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getMembersByIds(n,r="body",u=!1){if(null==n)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("ids[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getMembersByUser(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getMembersCount(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getMembersPage(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}getMembersWithStatusCount(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==r)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("status",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getRichMember(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRichMemberWithAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRichMembersByIds(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let t=new e.LE({encoder:this.encoder});n&&n.forEach(T=>{t=t.append("ids[]",T)}),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getRichMembersNoUserAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getRichMembersNoUserAttributes.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersNoUserAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getSponsoredMembers(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getSponsoredMembersAndTheirSponsors(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getSponsorsByMember(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getSponsorsByVo(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==r)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==u)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("vo",n)),null!=r&&(c=c.set("extSourceName",r)),null!=u&&(c=c.set("extLogin",u)),o&&o.forEach(je=>{c=c.append("attrNames[]",je)});let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}moveMembership(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==r)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==u)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("vo",n)),null!=r&&(i=i.set("sourceUser",r)),null!=u&&(i=i.set("targetUser",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeSponsor(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("sponsor",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}sendAccountActivationLinkEmail(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==u)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==o)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("member",n)),null!=r&&(c=c.set("namespace",r)),null!=u&&(c=c.set("emailAttributeURN",u)),null!=o&&(c=c.set("language",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}sendPasswordResetLinkEmail(n,r,u,o,t,i="body",c=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==u)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==o)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let p=new e.LE({encoder:this.encoder});null!=n&&(p=p.set("member",n)),null!=r&&(p=p.set("namespace",r)),null!=u&&(p=p.set("emailAttributeURN",u)),null!=o&&(p=p.set("language",o)),null!=t&&(p=p.set("baseUrl",t));let T=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(T=T.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(T=T.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;T=T.set("Authorization","Bearer "+Et)}const je=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==je&&(T=T.set("Accept",je)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:p,withCredentials:this.configuration.withCredentials,headers:T,observe:i,reportProgress:c})}setSponsoredMember(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setSponsorshipForMember(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("sponsoredMember",n)),null!=r&&(i=i.set("sponsor",r)),null!=u&&(i=i.set("validityTo",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}setStatus(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==r)throw new Error("Required parameter status was null or undefined when calling setStatus.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("status",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}sponsorMember(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("sponsor",r)),null!=u&&(i=i.set("validityTo",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}updateSponsorshipValidity(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("member",n)),null!=r&&(i=i.set("sponsor",r)),null!=u&&(i=i.set("validityTo",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}validateMemberAsync(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),ce=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}createOwner(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}deleteOwner(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("owner",n)),null!=r&&(t=t.set("force",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getAllOwners(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getOwnerById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getOwnerByName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("owner",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),Pe=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}sentMessageToRTWithMemberQueue(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==r)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==u)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("memberId",n)),null!=r&&(c=c.set("queue",r)),null!=u&&(c=c.set("subject",u)),null!=o&&(c=c.set("text",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}sentMessageToRTWithQueue(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==r)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==u)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("queue",n)),null!=r&&(i=i.set("subject",r)),null!=u&&(i=i.set("text",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}sentMessageToRTWithVo(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==r)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==u)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("voId",n)),null!=r&&(i=i.set("subject",r)),null!=u&&(i=i.set("text",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}sentMessageToRTWithVoQueue(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==r)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==u)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("voId",n)),null!=r&&(c=c.set("queue",r)),null!=u&&(c=c.set("subject",u)),null!=o&&(c=c.set("text",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),se=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addApplicationMailForGroup(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}addApplicationMailForVo(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}addGroupsToAutoRegistration(n,r="body",u=!1){if(null==n)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("groups[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}approveApplication(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}checkForSimilarUsersWithAuthInfo(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}consolidateIdentityUsingToken(n,r="body",u=!1){if(null==n)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("token",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}copyFormFromGroupToGroup(n,r,u="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("fromGroup",n)),null!=r&&(t=t.set("toGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyFormFromGroupToVo(n,r,u="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("fromGroup",n)),null!=r&&(t=t.set("toVo",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyFormFromVoToGroup(n,r,u="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("fromVo",n)),null!=r&&(t=t.set("toGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyFormFromVoToVo(n,r,u="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("fromVo",n)),null!=r&&(t=t.set("toVo",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyMailsFromGroupToGroup(n,r,u="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("fromGroup",n)),null!=r&&(t=t.set("toGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyMailsFromGroupToVo(n,r,u="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("fromGroup",n)),null!=r&&(t=t.set("toVo",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyMailsFromVoToGroup(n,r,u="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("fromVo",n)),null!=r&&(t=t.set("toGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyMailsFromVoToVo(n,r,u="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("fromVo",n)),null!=r&&(t=t.set("toVo",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}createApplicationFormInGroup(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}createApplicationFormInVo(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}deleteApplication(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}deleteApplicationMailForGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==r)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),null!=r&&(t=t.set("id",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}deleteApplicationMailForVo(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==r)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("id",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}deleteGroupsFromAutoRegistration(n,r="body",u=!1){if(null==n)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("groups[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getApplicationById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getApplicationDataById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getApplicationMailsForGroup(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getApplicationMailsForVo(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getApplicationsForGroup(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("group",n)),r&&r.forEach(je=>{c=c.append("state[]",je)}),null!=u&&(c=c.set("dateFrom",u)),null!=o&&(c=c.set("dateTo",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getApplicationsForMember(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("group",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getApplicationsForVo(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("vo",n)),r&&r.forEach(je=>{c=c.append("state[]",je)}),null!=u&&(c=c.set("dateFrom",u)),null!=o&&(c=c.set("dateTo",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getApplicationsPage(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}getConsolidatorToken(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getFormItemsForGroup(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFormItemsForGroupWithType(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),null!=r&&(t=t.set("type",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getFormItemsForVo(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFormItemsForVoWithType(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("type",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getGroupApplicationForm(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getGroupsToAutoRegistration(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getVoApplicationForm(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}rejectApplication(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("id",n)),null!=r&&(t=t.set("reason",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}sendInvitation(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==r)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let c=new e.LE({encoder:this.encoder});null!=u&&(c=c.set("voId",u)),null!=o&&(c=c.set("name",o)),null!=n&&(c=c.set("email",n)),null!=r&&(c=c.set("language",r));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}sendInvitationForGroup(n,r,u,o,t,i="body",c=!1){if(null==n)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==r)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let p=new e.LE({encoder:this.encoder});null!=u&&(p=p.set("voId",u)),null!=o&&(p=p.set("groupId",o)),null!=t&&(p=p.set("name",t)),null!=n&&(p=p.set("email",n)),null!=r&&(p=p.set("language",r));let T=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(T=T.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(T=T.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;T=T.set("Authorization","Bearer "+Et)}const je=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==je&&(T=T.set("Accept",je)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:p,withCredentials:this.configuration.withCredentials,headers:T,observe:i,reportProgress:c})}sendInvitationGroupToExistingUser(n,r,u,o="body",t=!1){let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("userId",n)),null!=r&&(i=i.set("voId",r)),null!=u&&(i=i.set("groupId",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}sendInvitationToExistingUser(n,r,u="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("userId",n)),null!=r&&(t=t.set("voId",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}sendMessage(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}setSendingEnabled(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}submitApplication(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateApplicationMail(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateForm(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateFormItemData(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateFormItemsData(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateFormItemsForGroup(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateFormItemsForVo(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}verifyApplication(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),V=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}activateGroupResourceAssignment(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("group",n)),null!=r&&(i=i.set("resource",r)),null!=u&&(i=i.set("async",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}addAdminToGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("authorizedGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addAdminToUser(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addResourceSelfServiceGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("group",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addResourceSelfServiceUser(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}allowGroupsToResources(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let i=new e.LE({encoder:this.encoder});n&&n.forEach(Se=>{i=i.append("groups[]",Se)}),r&&r.forEach(Se=>{i=i.append("resources[]",Se)}),null!=u&&(i=i.set("async",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}assignGroupToResource(n,r,u,o,t,i="body",c=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let p=new e.LE({encoder:this.encoder});null!=n&&(p=p.set("group",n)),null!=r&&(p=p.set("resource",r)),null!=u&&(p=p.set("async",u)),null!=o&&(p=p.set("assignInactive",o)),null!=t&&(p=p.set("autoAssignSubgroups",t));let T=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(T=T.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(T=T.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;T=T.set("Authorization","Bearer "+Et)}const je=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==je&&(T=T.set("Accept",je)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:p,withCredentials:this.configuration.withCredentials,headers:T,observe:i,reportProgress:c})}assignGroupToResources(n,r,u,o,t,i="body",c=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let p=new e.LE({encoder:this.encoder});null!=n&&(p=p.set("group",n)),r&&r.forEach(Et=>{p=p.append("resources[]",Et)}),null!=u&&(p=p.set("async",u)),null!=o&&(p=p.set("assignInactive",o)),null!=t&&(p=p.set("autoAssignSubgroups",t));let T=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(T=T.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(T=T.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;T=T.set("Authorization","Bearer "+Et)}const je=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==je&&(T=T.set("Accept",je)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:p,withCredentials:this.configuration.withCredentials,headers:T,observe:i,reportProgress:c})}assignGroupsToResource(n,r,u,o,t,i="body",c=!1){if(null==n)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let p=new e.LE({encoder:this.encoder});n&&n.forEach(Et=>{p=p.append("groups[]",Et)}),null!=r&&(p=p.set("resource",r)),null!=u&&(p=p.set("async",u)),null!=o&&(p=p.set("assignInactive",o)),null!=t&&(p=p.set("autoAssignSubgroups",t));let T=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(T=T.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(T=T.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;T=T.set("Authorization","Bearer "+Et)}const je=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==je&&(T=T.set("Accept",je)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:p,withCredentials:this.configuration.withCredentials,headers:T,observe:i,reportProgress:c})}assignResourceTagToResource(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}assignService(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==r)throw new Error("Required parameter service was null or undefined when calling assignService.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("service",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}assignServices(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==r)throw new Error("Required parameter services was null or undefined when calling assignServices.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),r&&r.forEach(T=>{t=t.append("services[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}assignServicesPackage(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==r)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("servicesPackage",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}copyResource(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createResource(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==u)throw new Error("Required parameter name was null or undefined when calling createResource.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("vo",n)),null!=r&&(c=c.set("facility",r)),null!=u&&(c=c.set("name",u)),null!=o&&(c=c.set("description",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}createResourceTagWithResourceTag(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createResourceTagWithTagName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("tagName",n)),null!=r&&(t=t.set("vo",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}deactivateGroupResourceAssignment(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),null!=r&&(t=t.set("resource",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}deleteAllResources(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}deleteAllResourcesTagsForVo(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}deleteResource(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}deleteResourceTag(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}getAdminGroups(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAdmins(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("onlyDirectAdmins",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getAllResourcesByResourceTag(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}getAllResourcesTagsForResource(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllResourcesTagsForVo(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllResourcesWhereUserIsAdmin(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllowedMembers(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllowedResources(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllowedUsersOfResource(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedGroups(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("member",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getAssignedMembers(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedMembersWithStatus(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedResourcesWithGroup(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedResourcesWithMember(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedResourcesWithStatus(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedRichMembers(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedRichResourcesWithGroup(n,r="body",u=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("group",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedRichResourcesWithMember(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedRichResourcesWithMemberService(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==r)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("service",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getAssignedServicesToResource(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getBansForMember(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getBansForResource(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getEnrichedResourceById(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("id",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getEnrichedResourcesForFacility(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("facility",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getEnrichedResourcesForVo(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getFacility(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getGroupAssignments(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getResourceAssignments(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getResourceBan(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("resource",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getResourceBanById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("banId",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getResourceById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getResourceByName(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==u)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("vo",n)),null!=r&&(i=i.set("facility",r)),null!=u&&(i=i.set("name",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getResources(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getResources.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getResourcesByIds(n,r="body",u=!1){if(null==n)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("ids[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getResourcesCountForAll(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getResourcesCountForVo(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getResourcesFromVoWhereUserIsAdmin(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==r)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getResourcesWhereGroupIsAdmin(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==u)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("facility",n)),null!=r&&(i=i.set("vo",r)),null!=u&&(i=i.set("group",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getResourcesWhereUserIsAdmin(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==u)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("facility",n)),null!=r&&(i=i.set("vo",r)),null!=u&&(i=i.set("user",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRichAdmins(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==r)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==u)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("resource",n)),r&&r.forEach(je=>{c=c.append("specificAttributes",je)}),null!=u&&(c=c.set("allUserAttributes",u)),null!=o&&(c=c.set("onlyDirectAdmins",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getRichResourceById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRichResources(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRichResourcesByIds(n,r="body",u=!1){if(null==n)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("ids[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getVo(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling getVo.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}removeAllResourceTagsFromResource(n,r="body",u=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("resource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}removeBanByMemberAndResource(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),null!=r&&(t=t.set("resource",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeGroupAdminResource(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("authorizedGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeGroupFromResource(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),null!=r&&(t=t.set("resource",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeGroupFromResources(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),r&&r.forEach(T=>{t=t.append("resources[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeGroupsFromResource(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let t=new e.LE({encoder:this.encoder});n&&n.forEach(T=>{t=t.append("groups[]",T)}),null!=r&&(t=t.set("resource",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeResourceBanById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("banId",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}removeResourceSelfServiceGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("group",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeResourceSelfServiceUser(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeResourceTagFromResource(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}removeService(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==r)throw new Error("Required parameter service was null or undefined when calling removeService.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("service",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeServices(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==r)throw new Error("Required parameter services was null or undefined when calling removeServices.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),r&&r.forEach(T=>{t=t.append("services[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeServicesPackage(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==r)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("servicesPackage",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeUserAdminResource(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("resource",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}setResourceBan(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}unallowGroupsFromResources(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let t=new e.LE({encoder:this.encoder});n&&n.forEach(T=>{t=t.append("groups[]",T)}),r&&r.forEach(T=>{t=t.append("resources[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}updateResource(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateResourceBan(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateResourceTag(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),F=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getAttributesMatchResources(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputGetResources1 was null or undefined when calling getAttributesMatchResources.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getResources/attributes-match`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}getAttributesResources(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputGetResources was null or undefined when calling getAttributesResources.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getResources/attributes`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}getFacilities(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputGetFacilities was null or undefined when calling getFacilities.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getFacilities`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}getMembersByUserAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputGetMembersByUserAttributes was null or undefined when calling getMembersByUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getMembersByUserAttributes`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}getUsersSearcher(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputGetUsers was null or undefined when calling getUsersSearcher.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getUsers`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),W=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addDestination(n,r,u,o,t,i="body",c=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==u)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==o)throw new Error("Required parameter type was null or undefined when calling addDestination.");let p=new e.LE({encoder:this.encoder});null!=n&&(p=p.set("service",n)),null!=r&&(p=p.set("facility",r)),null!=u&&(p=p.set("destination",u)),null!=o&&(p=p.set("type",o)),null!=t&&(p=p.set("propagationType",t));let T=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(T=T.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(T=T.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;T=T.set("Authorization","Bearer "+Et)}const je=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==je&&(T=T.set("Accept",je)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:p,withCredentials:this.configuration.withCredentials,headers:T,observe:i,reportProgress:c})}addDestinationToMultipleServices(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}addDestinationsDefinedByHostsOnFacilityWithFacility(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addDestinationsForAllServicesOnFacility(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==u)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("facility",n)),null!=r&&(c=c.set("destination",r)),null!=u&&(c=c.set("type",u)),null!=o&&(c=c.set("propagationType",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}addRequiredAttribute(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("attributeId",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addRequiredAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),r&&r.forEach(T=>{t=t.append("attributes[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addServiceToServicesPackage(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==r)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("servicesPackage",n)),null!=r&&(t=t.set("service",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}blockAllServicesOnDestinationById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("destination",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}blockAllServicesOnDestinationByName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==r)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("destination",n)),null!=r&&(t=t.set("destinationType",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}blockAllServicesOnFacility(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}blockServiceOnDestination(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("destination",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}blockServiceOnDestinationWithNameAndType(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==u)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("service",n)),null!=r&&(i=i.set("destination",r)),null!=u&&(i=i.set("destinationType",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}blockServiceOnFacility(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}createService(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==r)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==u)throw new Error("Required parameter script was null or undefined when calling createService.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("name",n)),null!=r&&(i=i.set("description",r)),null!=u&&(i=i.set("script",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}createServiceWithService(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createServicesPackage(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}createServicesPackageByNameAndDescription(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==r)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("name",n)),null!=r&&(t=t.set("description",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}deleteService(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling deleteService.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("force",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}deleteServicesPackage(n,r="body",u=!1){if(null==n)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("servicesPackage",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}forceServicePropagation(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getAllDestinations(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getAllRichDestinationsForFacility(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllRichDestinationsForService(n,r="body",u=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("service",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedResources(n,r="body",u=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("service",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedServices(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getDataWithGroups(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("service",n)),null!=r&&(i=i.set("facility",r)),null!=u&&(i=i.set("filterExpiredMembers",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getDataWithVos(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("service",n)),null!=r&&(i=i.set("facility",r)),null!=u&&(i=i.set("filterExpiredMembers",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getDestinationById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getDestinations(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getDestinationsCount(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getFacilitiesDestinations(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilityAssignedServicesForGUI(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFlatData(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("service",n)),null!=r&&(i=i.set("facility",r)),null!=u&&(i=i.set("filterExpiredMembers",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getHashedDataWithGroups(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("service",n)),null!=r&&(i=i.set("facility",r)),null!=u&&(i=i.set("filterExpiredMembers",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getHashedHierarchicalData(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("service",n)),null!=r&&(i=i.set("facility",r)),null!=u&&(i=i.set("filterExpiredMembers",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getHierarchicalData(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("service",n)),null!=r&&(i=i.set("facility",r)),null!=u&&(i=i.set("filterExpiredMembers",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRichDestinations(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getServiceById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getServiceByName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("name",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getServices(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getServicesBlockedOnDestination(n,r="body",u=!1){if(null==n)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("destination",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getServicesBlockedOnFacility(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getServicesByAttributeDefinition(n,r="body",u=!1){if(null==n)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("attributeDefinition",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getServicesFromServicesPackage(n,r="body",u=!1){if(null==n)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("servicesPackage",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getServicesPackageById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("servicesPackage",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getServicesPackageByName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("name",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getServicesPackages(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}isServiceBlockedOnDestination(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("destination",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}isServiceBlockedOnFacility(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}planServicePropagation(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeAllDestinations(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeAllRequiredAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("service",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}removeDestination(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==u)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==o)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("service",n)),null!=r&&(c=c.set("facility",r)),null!=u&&(c=c.set("destination",u)),null!=o&&(c=c.set("type",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}removeRequiredAttribute(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("attributeId",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeRequiredAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),r&&r.forEach(T=>{t=t.append("attributes[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeServiceFromServicesPackage(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==r)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("servicesPackage",n)),null!=r&&(t=t.set("service",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}unblockAllServicesOnDestinationById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("destination",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}unblockAllServicesOnDestinationByName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==r)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("destination",n)),null!=r&&(t=t.set("destinationType",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}unblockAllServicesOnFacility(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}unblockServiceOnDestinationById(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("destination",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}unblockServiceOnDestinationByName(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==u)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("service",n)),null!=r&&(i=i.set("destination",r)),null!=u&&(i=i.set("destinationType",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}unblockServiceOnFacility(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}updateService(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateServicesPackage(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),te=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}countTasks(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}deleteTask(n,r="body",u=!1){if(null==n)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}deleteTaskResultById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}deleteTaskResultsIds(n,r="body",u=!1){if(null==n)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}deleteTaskResultsNames(n,r="body",u=!1){if(null==n)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}getAllFacilitiesStates(n,r="body",u=!1){let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAllResourcesState(n,r="body",u=!1){if(null==n)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("voId",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilityServicesState(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getFacilityState(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getTask(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getTask.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getTaskById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getTaskResultById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("taskResult",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getTaskResults(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getTaskResultsByTask(n,r="body",u=!1){if(null==n)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("task",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getTaskResultsForDestinations(n,r="body",u=!1){if(null==n)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("destinations[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getTaskResultsForGUIByTask(n,r="body",u=!1){if(null==n)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("task",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getTaskResultsForGUIByTaskAndDestination(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("task",n)),null!=r&&(t=t.set("destination",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getTaskResultsForGUIByTaskOnlyNewest(n,r="body",u=!1){if(null==n)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("task",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}isThereSuchTask(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("service",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}listAllTasks(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}listAllTasksForFacility(n,r="body",u=!1){if(null==n)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("facility",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}suspendTasksPropagation(n,r="body",u=!1){if(null==n)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("suspend",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),ae=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addSpecificUserOwner(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==r)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("specificUser",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addUserExtSource(n,r="body",u=!1){if(null==n)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}anonymizeUser(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}changeNonAuthzPasswordByToken(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==r)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("token",n)),null!=r&&(i=i.set("password",r)),null!=u&&(i=i.set("lang",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}changePasswordForLogin(n,r,u,o,t,i="body",c=!1){if(null==n)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==u)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let p=new e.LE({encoder:this.encoder});null!=n&&(p=p.set("login",n)),null!=r&&(p=p.set("namespace",r)),null!=u&&(p=p.set("newPassword",u)),null!=o&&(p=p.set("oldPassword",o)),null!=t&&(p=p.set("checkOldPassword",t));let T=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(T=T.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(T=T.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;T=T.set("Authorization","Bearer "+Et)}const je=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==je&&(T=T.set("Accept",je)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:p,withCredentials:this.configuration.withCredentials,headers:T,observe:i,reportProgress:c})}changePasswordForUser(n,r,u,o,t,i="body",c=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==u)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let p=new e.LE({encoder:this.encoder});null!=n&&(p=p.set("user",n)),null!=r&&(p=p.set("namespace",r)),null!=u&&(p=p.set("newPassword",u)),null!=o&&(p=p.set("oldPassword",o)),null!=t&&(p=p.set("checkOldPassword",t));let T=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(T=T.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(T=T.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;T=T.set("Authorization","Bearer "+Et)}const je=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==je&&(T=T.set("Accept",je)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:p,withCredentials:this.configuration.withCredentials,headers:T,observe:i,reportProgress:c})}checkPasswordResetRequestByTokenIsValid(n,r="body",u=!1){if(null==n)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("token",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}checkPasswordStrength(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("password",n)),null!=r&&(t=t.set("namespace",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}createAlternativePassword(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==r)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==u)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==o)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("user",n)),null!=r&&(c=c.set("description",r)),null!=u&&(c=c.set("loginNamespace",u)),null!=o&&(c=c.set("password",o));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}createServiceUser(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}deleteAlternativePassword(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==r)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==u)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("user",n)),null!=r&&(i=i.set("loginNamespace",r)),null!=u&&(i=i.set("passwordId",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}deletePasswordForLogin(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("login",n)),null!=r&&(t=t.set("namespace",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}deletePasswordForUser(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("namespace",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}deleteUser(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("force",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}findRichUsers(n,r="body",u=!1){if(null==n)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("searchString",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}findRichUsersWithAttributes(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("searchString",n)),r&&r.forEach(T=>{t=t.append("attrsNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}findUsers(n,r="body",u=!1){if(null==n)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("searchString",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}generateAccountForName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("namespace",n)),null!=r&&(t=t.set("name",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getAllRichUsersWithAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("includedSpecificUsers",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getAssignedRichResourcesForUser(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getGroupsForFacilityWhereUserIsActive(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("facility",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getGroupsForResourceWhereUserIsActive(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("resource",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getGroupsInVoWhereUserIsAdmin(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("vo",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getGroupsWhereUserIsAdmin(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getPendingPreferredEmailChanges(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRichUserExtSources(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRichUserWithAttributes(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRichUsersByIds(n,r="body",u=!1){if(null==n)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("ids[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRichUsersWithAttributesByIds(n,r="body",u=!1){if(null==n)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("ids[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRichUsersWithoutVoWithAttributes(n,r="body",u=!1){let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("attrsNames[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getSpecificUsersByUser(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getSponsorsForMember(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("member",n)),r&&r.forEach(T=>{t=t.append("attrNames[]",T)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getSponsorsForMemberByVoAndLogin(n,r,u,o,t="body",i=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==r)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==u)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let c=new e.LE({encoder:this.encoder});null!=n&&(c=c.set("vo",n)),null!=r&&(c=c.set("extSourceName",r)),null!=u&&(c=c.set("extLogin",u)),o&&o.forEach(je=>{c=c.append("attrNames[]",je)});let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const je="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+je)}const Se=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Se&&(p=p.set("Accept",Se)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:c,withCredentials:this.configuration.withCredentials,headers:p,observe:t,reportProgress:i})}getUserByExtSourceNameAndExtLogin(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==r)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("extLogin",n)),null!=r&&(t=t.set("extSourceName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getUserById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getUserById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getUserExtSourceByExtLoginAndExtSourceName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter extSourceName was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");if(null==r)throw new Error("Required parameter extSourceLogin was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("extSourceName",n)),null!=r&&(t=t.set("extSourceLogin",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByExtLoginAndExtSourceName`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getUserExtSourceById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("userExtSource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getUserExtSourceByUniqueAttributeValueAndAttributeId(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==r)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("attributeId",n)),null!=r&&(t=t.set("attributeValue",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getUserExtSourceByUniqueAttributeValueAndAttributeName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==r)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("attributeName",n)),null!=r&&(t=t.set("attributeValue",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getUserExtSources(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getUserExtSourcesByIds(n,r="body",u=!1){if(null==n)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("ids[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getUsers(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getUsersByIds(n,r="body",u=!1){if(null==n)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("ids[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getUsersBySpecificUser(n,r="body",u=!1){if(null==n)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("specificUser",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getUsersPage(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}getVosWhereUserIsAdmin(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getVosWhereUserIsMember(n,r="body",u=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("user",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}isLoginAvailable(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==r)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("loginNamespace",n)),null!=r&&(t=t.set("login",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}loginExist(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("namespace",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeSpecificUserOwner(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==r)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("specificUser",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeUserExtSource(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==r)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("user",n)),null!=r&&(i=i.set("userExtSource",r)),null!=u&&(i=i.set("force",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}requestPreferredEmailChange(n,r,u,o,t,i,c="body",p=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==r)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let T=new e.LE({encoder:this.encoder});null!=n&&(T=T.set("user",n)),null!=r&&(T=T.set("email",r)),null!=u&&(T=T.set("lang",u)),null!=o&&(T=T.set("linkPath",o)),null!=t&&(T=T.set("customUrl",t)),null!=i&&(T=T.set("idpFilter",i));let Se=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Se=Se.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Se=Se.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const St="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Se=Se.set("Authorization","Bearer "+St)}const Et=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Et&&(Se=Se.set("Accept",Et)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:T,withCredentials:this.configuration.withCredentials,headers:Se,observe:c,reportProgress:p})}reservePasswordForLogin(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==u)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("login",n)),null!=r&&(i=i.set("namespace",r)),null!=u&&(i=i.set("password",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}reservePasswordForUser(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==u)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("user",n)),null!=r&&(i=i.set("namespace",r)),null!=u&&(i=i.set("password",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}reserveRandomPassword(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("namespace",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}updateUser(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateUserExtSourceLastAccess(n,r="body",u=!1){if(null==n)throw new Error("Required parameter userExtSource was null or undefined when calling updateUserExtSourceLastAccess.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("userExtSource",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/updateUserExtSourceLastAccess`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}validatePasswordForLogin(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("login",n)),null!=r&&(t=t.set("namespace",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}validatePasswordForUser(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("user",n)),null!=r&&(t=t.set("namespace",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}validatePreferredEmailChangeWithToken(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==r)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("token",n)),null!=r&&(t=t.set("u",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),pe=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getAppsConfig(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getGuiConfiguration(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getPerunRPCVersion(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getPerunStatistics(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getPerunStatus(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getPerunSystemTimeInMillis(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),Be=(()=>{class j{constructor(n,r,u){this.httpClient=n,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addMemberVo(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling addMemberVo.");if(null==r)throw new Error("Required parameter memberVo was null or undefined when calling addMemberVo.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("memberVo",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addMemberVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addSponsorRoleToGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("authorizedGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addSponsorRoleToUser(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addVoAdminGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("authorizedGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}addVoAdminUser(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}createVoWithName(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==r)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("name",n)),null!=r&&(t=t.set("shortName",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}createVoWithVo(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}deleteVo(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("force",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}findCandidates(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("id",n)),null!=r&&(i=i.set("searchString",r)),null!=u&&(i=i.set("maxNumOfResults",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}findCandidatesForGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("group",n)),null!=r&&(t=t.set("searchString",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getAllVos(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getCompleteCandidatesForGroup(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("group",n)),r&&r.forEach(Se=>{i=i.append("attrNames[]",Se)}),null!=u&&(i=i.set("searchString",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getCompleteCandidatesForVo(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("vo",n)),r&&r.forEach(Se=>{i=i.append("attrNames[]",Se)}),null!=u&&(i=i.set("searchString",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getEnrichedVoById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getEnrichedVoById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVoById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getMemberVos(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getMemberVos.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getMemberVos`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getMyEnrichedVos(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVos`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getMyVos(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}getParentVos(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getParentVos.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getParentVos`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getRichAdminsForVo(n,r,u,o,t,i="body",c=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==u)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==o)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let p=new e.LE({encoder:this.encoder});null!=n&&(p=p.set("vo",n)),null!=r&&(p=p.set("role",r)),u&&u.forEach(Et=>{p=p.append("specificAttributes",Et)}),null!=o&&(p=p.set("allUserAttributes",o)),null!=t&&(p=p.set("onlyDirectAdmins",t));let T=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(T=T.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(T=T.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;T=T.set("Authorization","Bearer "+Et)}const je=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==je&&(T=T.set("Accept",je)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:p,withCredentials:this.configuration.withCredentials,headers:T,observe:i,reportProgress:c})}getVoAdminGroups(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==r)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("role",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}getVoAdminUsers(n,r,u,o="body",t=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==r)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==u)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let i=new e.LE({encoder:this.encoder});null!=n&&(i=i.set("vo",n)),null!=r&&(i=i.set("role",r)),null!=u&&(i=i.set("onlyDirectAdmins",u));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Se="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+Se)}const T=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==T&&(c=c.set("Accept",T)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:i,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getVoBanById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("banId",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getVoBanForMember(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getVoBansForVo(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getVoById(n,r="body",u=!1){if(null==n)throw new Error("Required parameter id was null or undefined when calling getVoById.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("id",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getVoByShortName(n,r="body",u=!1){if(null==n)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("shortName",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getVoMembersCountsByStatus(n,r="body",u=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("vo",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getVosByIds(n,r="body",u=!1){if(null==n)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let o=new e.LE({encoder:this.encoder});n&&n.forEach(p=>{o=o.append("ids[]",p)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}getVosCount(n="body",r=!1){let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+i)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(u=u.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:r})}removeMemberVo(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling removeMemberVo.");if(null==r)throw new Error("Required parameter memberVo was null or undefined when calling removeMemberVo.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("memberVo",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeMemberVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeSponsorRoleFromGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("authorizedGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeSponsorRoleFromUser(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeVoAdminGroup(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("authorizedGroup",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeVoAdminUser(n,r,u="body",o=!1){if(null==n)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let t=new e.LE({encoder:this.encoder});null!=n&&(t=t.set("vo",n)),null!=r&&(t=t.set("user",r));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+T)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(i=i.set("Accept",p)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:i,observe:u,reportProgress:o})}removeVoBan(n,r="body",u=!1){if(null==n)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("banId",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}removeVoBanForMember(n,r="body",u=!1){if(null==n)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let o=new e.LE({encoder:this.encoder});null!=n&&(o=o.set("member",n));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+p)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:u})}setVoBan(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}updateVo(n,r="body",u=!1){if(null==n)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const T="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+T)}const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(o=o.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==p&&(o=o.set("Content-Type",p)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,n,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:u})}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(e.eN),g.LFG(v,8),g.LFG(A,8))},j.\u0275prov=g.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})();const ke={WRITE:"WRITE",WRITEVO:"WRITE_VO",WRITEPUBLIC:"WRITE_PUBLIC",READ:"READ",READVO:"READ_VO",READPUBLIC:"READ_PUBLIC"},z={ID:"ID",DATECREATED:"DATE_CREATED",TYPE:"TYPE",STATE:"STATE",SUBMITTER:"SUBMITTER",GROUPNAME:"GROUP_NAME",MODIFIEDBY:"MODIFIED_BY"},M={HTMLCOMMENT:"HTML_COMMENT",SUBMITBUTTON:"SUBMIT_BUTTON",AUTOSUBMITBUTTON:"AUTO_SUBMIT_BUTTON",PASSWORD:"PASSWORD",VALIDATEDEMAIL:"VALIDATED_EMAIL",TEXTFIELD:"TEXTFIELD",TEXTAREA:"TEXTAREA",CHECKBOX:"CHECKBOX",RADIO:"RADIO",SELECTIONBOX:"SELECTIONBOX",COMBOBOX:"COMBOBOX",USERNAME:"USERNAME",HEADING:"HEADING",TIMEZONE:"TIMEZONE",EMBEDDEDGROUPAPPLICATION:"EMBEDDED_GROUP_APPLICATION"};let ne=(()=>{class j{constructor(n,r){if(n)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!r)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(n){return{ngModule:j,providers:[{provide:A,useFactory:n}]}}}return j.\u0275fac=function(n){return new(n||j)(g.LFG(j,12),g.LFG(e.eN,8))},j.\u0275mod=g.oAB({type:j}),j.\u0275inj=g.cJS({providers:[s,b,R,E,h,x,k,G,X,he,re,Ne,ce,Pe,se,V,F,W,te,ae,pe,Be],imports:[[]]}),j})()},19516:(Ze,ge,d)=>{"use strict";d.d(ge,{r5:()=>A.r,d4:()=>g,dp:()=>v.d});var e=d(69808),f=d(5e3);let g=(()=>{class G{}return G.\u0275fac=function(he){return new(he||G)},G.\u0275mod=f.oAB({type:G}),G.\u0275inj=f.cJS({imports:[[e.ez]]}),G})();var v=d(31359),A=(d(34447),d(82895));d(12856),d(20919),d(5865),d(53561),d(16119),d(7598),d(9954)},34447:(Ze,ge,d)=>{"use strict";d.d(ge,{a:()=>v});var e=d(36908),f=d(5e3),g=d(51062);let v=(()=>{class m{constructor(s,b){this.translate=s,this.storage=b}transform(s,b="en"){const R=this.storage.get("custom_labels");if(R){const E=Object.keys(R);for(const h of E){const x=this.storage.get("custom_labels",h);if(x.label===s)return x[b]}}return s}}return m.\u0275fac=function(s){return new(s||m)(f.Y36(g.sK,16),f.Y36(e.d6,16))},m.\u0275pipe=f.Yjl({name:"customTranslate",type:m,pure:!0}),m})()},82895:(Ze,ge,d)=>{"use strict";d.d(ge,{r:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m,A){return A?`/organizations/${m.voId}/resources/${m.id}`:`/facilities/${m.facilityId}/resources/${m.id}`}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"getResourceRoute",type:g,pure:!0}),g})()},28764:(Ze,ge,d)=>{"use strict";d.d(ge,{F:()=>v});var e=d(9244),f=d(64080),g=d(5e3);let v=(()=>{class m{transform(s){if(null==s||null==s.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const b=(0,e.IL)(s.attributes,f.r.GROUP_SYNC_ENABLED),R=(0,e.IL)(s.attributes,f.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===b&&null===R)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const E=R.value;if("true"===b.value){const x=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_STATE),k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_TIMESTAMP),G=x.value,X=k.value;return null!=G&&G.trim().length>0?"red":null!==X&&X.trim().length>0?"green":""}if(E){const x=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_STATE),k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),G=x.value,X=k.value;return null!=G&&G.trim().length>0?"red":null!==X&&X.trim().length>0?"green":""}return""}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275pipe=g.Yjl({name:"groupSyncIconColor",type:m,pure:!0}),m})()},29218:(Ze,ge,d)=>{"use strict";d.d(ge,{J:()=>v});var e=d(64080),f=d(9244),g=d(5e3);let v=(()=>{class m{transform(s){if(null==s||null==s.attributes)return"";const b=(0,f.IL)(s.attributes,e.r.GROUP_SYNC_ENABLED),R=(0,f.IL)(s.attributes,e.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===b&&null===R)return"";const E=R.value;if("true"===b.value){const x=(0,f.IL)(s.attributes,e.r.GROUP_LAST_SYNC_STATE),k=(0,f.IL)(s.attributes,e.r.GROUP_LAST_SYNC_TIMESTAMP),G=x.value,X=k.value;return null!=G&&G.trim().length>0?"sync_problem":(null!==X&&X.trim(),"sync")}if(E){const x=(0,f.IL)(s.attributes,e.r.GROUP_LAST_STRUCTURE_SYNC_STATE),k=(0,f.IL)(s.attributes,e.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),G=x.value,X=k.value;return null!=G&&G.trim().length>0?"sync_problem":(null!==X&&X.trim(),"sync")}return"sync_disabled"}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275pipe=g.Yjl({name:"groupSyncIcon",type:m,pure:!0}),m})()},45942:(Ze,ge,d)=>{"use strict";d.d(ge,{r:()=>v});var e=d(9244),f=d(64080),g=d(5e3);let v=(()=>{class m{transform(s){if(null==s||null==s.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const b=(0,e.IL)(s.attributes,f.r.GROUP_SYNC_ENABLED),R=(0,e.IL)(s.attributes,f.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===b&&null===R)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const E=R.value;if("true"===b.value){const x=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_STATE),k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_TIMESTAMP),G=x.value,X=k.value;return null!=G&&G.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==X&&X.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}if(E){const x=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_STATE),k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),G=x.value,X=k.value;return null!=G&&G.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==X&&X.trim().length>0?"VO_DETAIL.GROUPS.GROUP_STRUCTURE_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED"}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275pipe=g.Yjl({name:"groupSyncToolTip",type:m,pure:!0}),m})()},20919:(Ze,ge,d)=>{"use strict";d.d(ge,{D:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class v{transform(A){return(0,e.g$)(A)}}return v.\u0275fac=function(A){return new(A||v)},v.\u0275pipe=f.Yjl({name:"memberEmail",type:v,pure:!0}),v})()},5865:(Ze,ge,d)=>{"use strict";d.d(ge,{p:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class v{transform(A){return(0,e.lt)(A)}}return v.\u0275fac=function(A){return new(A||v)},v.\u0275pipe=f.Yjl({name:"memberLogins",type:v,pure:!0}),v})()},96974:(Ze,ge,d)=>{"use strict";d.d(ge,{M:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class v{transform(A){return(0,e.Gw)(A)}}return v.\u0275fac=function(A){return new(A||v)},v.\u0275pipe=f.Yjl({name:"memberOrganization",type:v,pure:!0}),v})()},69773:(Ze,ge,d)=>{"use strict";d.d(ge,{u:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){switch(m){case"VALID":return"green";case"INVALID":return"red";default:return""}}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"memberStatusIconColor",type:g,pure:!0}),g})()},21757:(Ze,ge,d)=>{"use strict";d.d(ge,{f:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){switch(m){case"VALID":return"verified_user";case"INVALID":return"report";case"EXPIRED":return"schedule";case"DISABLED":return"delete";default:return m}}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"memberStatusIcon",type:g,pure:!0}),g})()},12856:(Ze,ge,d)=>{"use strict";d.d(ge,{i:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class v{transform(A,s){let b=null,R=null;null!==A.memberAttributes&&(b=A.memberAttributes.find(h=>"membershipExpiration"===h.friendlyName),R=A.memberAttributes.find(h=>"groupMembershipExpiration"===h.friendlyName));let E="";return E=s?`\n Group status: ${(0,e.Oe)(A.groupStatus)}, Expiration: ${R&&R.value?R.value:"never"}`:`Status: ${(0,e.Oe)(A.status,A.groupStatus)}\n Vo status: ${(0,e.Oe)(A.status)}, Expiration: ${b&&b.value?b.value:"never"}`,E}}return v.\u0275fac=function(A){return new(A||v)},v.\u0275pipe=f.Yjl({name:"memberStatusTooltip",type:v,pure:!0}),v})()},20551:(Ze,ge,d)=>{"use strict";d.d(ge,{l:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){return m.replace("VALID","ACTIVE")}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"memberStatus",type:g,pure:!0}),g})()},64597:(Ze,ge,d)=>{"use strict";d.d(ge,{R:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){return m.replace(/\s/g,"-").toLowerCase()}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"multiWordDataCy",type:g,pure:!0}),g})()},62383:(Ze,ge,d)=>{"use strict";d.d(ge,{M:()=>g});var e=d(69808),f=d(5e3);let g=(()=>{class v{transform(A,s){return"voRules"===A?"Vo rules":"groupRules"===A?"Group rules":A&&"never"!==A.toLowerCase()?(0,e.p6)(A.replace(" ","T"),"d.M.yyyy "+(s?"H:mm:ss":""),"en"):"never"}}return v.\u0275fac=function(A){return new(A||v)},v.\u0275pipe=f.Yjl({name:"parseDate",type:v,pure:!0}),v})()},53561:(Ze,ge,d)=>{"use strict";d.d(ge,{J:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class v{transform(A){return(0,e.te)(A)}}return v.\u0275fac=function(A){return new(A||v)},v.\u0275pipe=f.Yjl({name:"technicalOwners",type:v,pure:!0}),v})()},16119:(Ze,ge,d)=>{"use strict";d.d(ge,{S:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class v{transform(A){return(0,e.kN)(A)}}return v.\u0275fac=function(A){return new(A||v)},v.\u0275pipe=f.Yjl({name:"userEmail",type:v,pure:!0}),v})()},31359:(Ze,ge,d)=>{"use strict";d.d(ge,{d:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){let s="";return null!==m.titleBefore&&(s+=m.titleBefore+" "),null!==m.firstName&&(s+=m.firstName+" "),null!==m.middleName&&(s+=m.middleName+" "),null!==m.lastName&&(s+=m.lastName+" "),null!==m.titleAfter&&(s+=m.titleAfter+" "),s.endsWith(" ")&&(s=s.substring(0,s.length-1)),s}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"userFullName",type:g,pure:!0}),g})()},7598:(Ze,ge,d)=>{"use strict";d.d(ge,{g:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class v{transform(A){return(0,e.$0)(A)}}return v.\u0275fac=function(A){return new(A||v)},v.\u0275pipe=f.Yjl({name:"userLogins",type:v,pure:!0}),v})()},9954:(Ze,ge,d)=>{"use strict";d.d(ge,{Z:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class v{transform(A){return(0,e.OV)(A)}}return v.\u0275fac=function(A){return new(A||v)},v.\u0275pipe=f.Yjl({name:"userVo",type:v,pure:!0}),v})()},36908:(Ze,ge,d)=>{"use strict";d.d(ge,{yC:()=>pe,F5:()=>te,sM:()=>ke,e8:()=>E,EB:()=>Ne,Be:()=>nt,Hy:()=>I,ly:()=>z,fb:()=>st,xw:()=>De,x4:()=>v,v0:()=>G,SZ:()=>Be,V6:()=>ae,jq:()=>ve,BN:()=>Ie,Ip:()=>dt,HV:()=>fe,d6:()=>s,UA:()=>be});var e=d(112),f=d(45323),g=d(5e3);let v=(()=>{class L{constructor(M){this.authzSevice=M,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(M){this.principal=M,this.initData(M)}setPerunPolicies(M){this.perunPolicies=M}getPerunPolicies(){return this.perunPolicies}isAuthorized(M,S){if(null===this.principal.roles)return!1;const P=this.fetchPolicyWithAllIncludedPolicies(M);let N=[];for(const j of P)N=N.concat(j.perunRoles);const ne=this.fetchAllRelatedObjects(S);return this.resolveAuthorization(N,ne)}resolveAuthorization(M,S){for(const P of M){let N=!0;for(const ne of Object.keys(P)){const j=P[ne];if(null===j)this.principalRoles.has(ne)||(N=!1);else if(S[j]){for(const Te of S[j])if(!this.principalHasRole(ne,j,Te)){N=!1;break}}else N=!1;if(!N)break}if(N)return!0}return!1}fetchAllRelatedObjects(M){const S={};for(const P of M){let N=P.beanName;switch(P.beanName.startsWith("Rich")&&(N=P.beanName.substring(4)),S[N]?S[N].push(P.id):S[N]=[P.id],N){case"Member":S.User?S.User.push(P.userId):S.User=[P.userId],S.Vo?S.Vo.push(P.voId):S.Vo=[P.voId];break;case"Group":case"ResourceTag":S.Vo?S.Vo.push(P.voId):S.Vo=[P.voId];break;case"Resource":S.Facility?S.Facility.push(P.facilityId):S.Facility=[P.facilityId],S.Vo?S.Vo.push(P.voId):S.Vo=[P.voId]}}return S}principalHasRole(M,S,P){let N=S;return S.startsWith("Rich")&&(N=S.substring(4)),!(!this.principal.roles[M]||!this.principal.roles[M][N])&&this.principal.roles[M][N].includes(Number(P.toString()))}fetchPolicyWithAllIncludedPolicies(M){const S=new Map;let P=[];for(P.push(M);0!==P.length;){const ne=P.shift();if(S.has(ne)){console.log("Policy {} creates a cycle in the included policies of the policy {}",ne,M);continue}const j=this.getPerunPolicy(ne);if(!j)return[];S.set(ne,j),P=P.concat(j.includePolicies)}const N=[];for(const ne of S.values())N.push(ne);return N}getPerunPolicy(M){for(const S of this.perunPolicies)if(S.policyName===M)return S;return console.log("policy with name"+M+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER,f.u.FACILITYADMIN,f.u.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(f.u.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.VOADMIN)}isThisVoAdminOrObserver(M){return this.editableVos.includes(Number(M.toString()))||this.observableVos.includes(Number(M.toString()))||this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER)}isThisVoAdmin(M){return this.editableVos.includes(M)||this.principalRoles.has(f.u.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(f.u.SPONSOR)}isThisGroupAdmin(M){return this.editableGroups.includes(M)||this.principalRoles.has(f.u.PERUNADMIN)}isGroupAdminInThisVo(M){return this.hasGroupInTheseVos.includes(M)}isFacilityAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.FACILITYADMIN)}isThisFacilityAdmin(M){return this.editableFacilities.includes(M)||this.principalRoles.has(f.u.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(f.u.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.VOOBSERVER,f.u.PERUNOBSERVER)}isThisVoObserver(M){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER)||this.observableVos.includes(M)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((M,S)=>{this.authzSevice.getAllRolesManagementRules().subscribe(P=>{this.allRolesManagementRules=P,M()},P=>S(P))})}assignAvailableRoles(M,S){this.allRolesManagementRules.forEach(P=>{P.primaryObject===S&&M.push(P.roleName)}),M.sort(),"Vo"===S&&this.voCustomSort(M)}isManagerPagePrivileged(M){const S=[];let P=M.beanName;P.startsWith("Rich")&&(P=P.substr(4)),this.assignAvailableRoles(S,P);const N=new Map;this.getRolesAuthorization(S,M,N);for(const ne of N.values())if(ne.readAuth||ne.manageAuth)return!0;return!1}getRolesAuthorization(M,S,P){for(const N of M){let ne=[],j=[],Te=[];for(const o of this.allRolesManagementRules)if(o.roleName===N){ne=ne.concat(o.privilegedRolesToRead),j=j.concat(o.privilegedRolesToManage);for(const t of Object.keys(o.entitiesToManage))Te="User"===t?[t].concat(Te):Te.concat(t);break}const n=this.fetchAllRelatedObjects([S]),r=this.resolveAuthorization(ne,n),u=this.resolveAuthorization(j,n);P.set(N,{readAuth:r,manageAuth:u,modes:Te})}}voCustomSort(M){for(let S=0;S{class L{constructor(){this.branding=""}setInstanceConfig(M){this.instanceConfig=M}setDefaultConfig(M){this.defaultConfig=M}getAppsConfig(){return this.appsConfig}setAppsConfig(M){this.appsConfig=M}setPerunPrincipal(M){this.principal=M}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(M){this.initialPageId=M}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(M){this.branding=M}skipOidc(){return this.get("skip_oidc")}get(...M){let S;if(""!==this.branding){const P=this.instanceConfig.brandings[this.branding];for(let N=0;N{class L{constructor(M,S,P,N,ne){this.injector=M,this.store=S,this.dialog=P,this.route=N,this.oauthService=ne,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(A.F0),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(j=>{j.idpFilter&&(this.filterShortname=j.idpFilter)})}getClientConfig(){const M=this.setIdpFilter(),S=M?{acr_values:M}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(S.prompt="consent"),sessionStorage.getItem("mfa_route")&&(S.acr_values="https://refeds.org/profile/mfa",S.prompt="login",S.max_age="0"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:S}}setIdpFilter(){const M=location.search.substr(1).split("&");this.filterShortname=null;const S=this.store.get("oidc_client","filters");if(!S)return null;let P=null;return M.forEach(N=>{const ne=N.split("=");"idpFilter"===ne[0]&&S[ne[1]]&&(this.filterShortname=ne[1],P=S[ne[1]])}),S.default&&!P?(this.filterShortname="default",S.default):P}startIdpFilterKeeper(){this.router.events.pipe((0,m.h)(M=>M instanceof A.m2)).subscribe(()=>{const M={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===M.idpFilter?{}:M,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const M=location.pathname,S=location.search.substr(1);return"/api-callback"===M?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(M,S).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(M=>!!M&&(this.oauthService.events.pipe((0,m.h)(S=>"token_expires"===S.type)).subscribe(()=>{this.oauthService.refreshToken().then(S=>{localStorage.setItem("refresh_token",S.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(M){const S=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===M)return!0;for(const P of S)if(M.startsWith(P))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(M=>M)):Promise.resolve()}verifyAuthentication(M,S){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(P=>P?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(M)?(sessionStorage.setItem("auth:redirect",M),sessionStorage.setItem("auth:queryParams",S),!1):new Promise((N,ne)=>ne("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const M=sessionStorage.getItem("mfa_route");if(M)return this.router.navigate([M],{replaceUrl:!0});let S=sessionStorage.getItem("auth:redirect");const P=sessionStorage.getItem("auth:queryParams");let N=[];P&&(N=P.split("&"));const ne={};return N.forEach(j=>{const Te=j.split("=");ne[Te[0]]=Te[1]}),(!S||"/login"===S)&&(S="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),ne.idpFilter&&(this.filterShortname=ne.idpFilter),this.router.navigate([S],{queryParams:ne,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return L.\u0275fac=function(M){return new(M||L)(g.LFG(g.zs3),g.LFG(s),g.LFG(b.uw),g.LFG(A.gz),g.LFG(R.Ct))},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();var h=d(51062);let x=(()=>{class L{constructor(M){this.dialogRef=M}}return L.\u0275fac=function(M){return new(M||L)(g.Y36(b.so))},L.\u0275cmp=g.Xpm({type:L,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(M,S){1&M&&(g.TgZ(0,"h2",0),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&M&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[b.xY],pipes:[h.X$],styles:[""]}),L})();var k=d(9244);let G=(()=>{class L{constructor(M,S,P,N,ne,j){this.authService=M,this.storeService=S,this.authResolver=P,this.authzService=N,this.dialog=ne,this.router=j,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(M){this.loginScreenShown=M}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(M=>M(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(M=>{if(null===M.user){const S=(0,k.kZ)();this.dialog.open(x,S)}else this.storeService.setPerunPrincipal(M),this.authResolver.init(M)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(M=>{M()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const M=location.search.substr(1).split("&"),S={};for(const P of M){const N=P.split("=");S[N[0]]=N[1]}return this.router.navigate(["login"],{queryParams:S,queryParamsHandling:"merge"}).then(()=>null)}}}return L.\u0275fac=function(M){return new(M||L)(g.LFG(E),g.LFG(s),g.LFG(v),g.LFG(e.Ct),g.LFG(b.uw),g.LFG(A.F0))},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();var X=d(25245),he=d(22313);let Ne=(()=>{class L{constructor(M,S){this.matIconRegistry=M,this.domSanitizer=S,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"}]}registerPerunRefreshIcon(){this.customIcons.forEach(M=>{this.matIconRegistry.addSvgIcon(M.name,this.domSanitizer.bypassSecurityTrustResourceUrl(M.url))})}}return L.\u0275fac=function(M){return new(M||L)(g.LFG(X.jv),g.LFG(he.H7))},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac}),L})();var ce=d(40520),Pe=d(61737),se=d(40537),V=d(22868),F=d(47423);let W=(()=>{class L{constructor(M){this.dialogRef=M}close(){this.dialogRef.close(!0)}}return L.\u0275fac=function(M){return new(M||L)(g.Y36(b.so))},L.\u0275cmp=g.Xpm({type:L,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(M,S){1&M&&(g.TgZ(0,"h1",0),g._uU(1),g.ALo(2,"translate"),g.qZA(),g.TgZ(3,"div",1),g._uU(4),g.ALo(5,"translate"),g.qZA(),g.TgZ(6,"div",2),g.TgZ(7,"div",3),g.TgZ(8,"button",4),g.NdJ("click",function(){return S.close()}),g._uU(9),g.ALo(10,"translate"),g.qZA(),g.qZA(),g.qZA()),2&M&&(g.xp6(1),g.Oqu(g.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),g.xp6(3),g.hij(" ",g.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),g.xp6(5),g.hij(" ",g.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[b.uh,b.xY,b.H8,F.lW],pipes:[h.X$],styles:[""]}),L})(),te=(()=>{class L{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const M=this.handleNextError;return this.handleNextError=!0,M}}return L.\u0275fac=function(M){return new(M||L)},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),ae=(()=>{class L{constructor(M){this.translate=M,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new g.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(M,S=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===M.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===M.name?S:S+"\n"+M.name,M,M.message)}showRouteError(){const M=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),S=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(M,null,S)}showError(M,S,P,N,ne){this.addNotification.emit({type:"error",error:S,description:P,title:M,actionText:void 0===N&&void 0!==P?this.getDefaultActionMessage():N,delay:this.defaultErrorDelayMs,icon:"error_outline",action:ne,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(M,S,P,N){this.addNotification.emit({type:"success",description:S,title:M,actionText:void 0===P&&void 0!==S?this.getDefaultActionMessage():P,delay:this.defaultSuccessDelayMs,icon:"done",action:N,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return L.\u0275fac=function(M){return new(M||L)(g.LFG(h.sK))},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),pe=(()=>{class L{constructor(M,S,P,N,ne,j){this.authService=M,this.apiRequestConfiguration=S,this.notificator=P,this.store=N,this.dialog=ne,this.initAuthService=j}intercept(M,S){const P=this.store.get("api_url");if(-1!==M.url.indexOf("i18n")&&(M=M.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),!(void 0===P||-1===M.url.toString().indexOf(P)||this.store.skipOidc()||this.authService.isLoggedIn()||this.initAuthService.isServiceAccess()||this.dialogRefSessionExpiration)){const j=(0,k.kZ)();j.width="450px",this.dialogRefSessionExpiration=this.dialog.open(W,j),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{(0,se.x)(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}M=this.initAuthService.isServiceAccess()?M.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):M.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const N=this.apiRequestConfiguration.shouldHandleError(),ne="POST"===M.method&&!this.store.skipOidc()&&this.isCallToPerunApi(M.url);return S.handle(M).pipe((0,V.b)(j=>{j instanceof ce.Zn&&ne&&this.initAuthService.loadPrincipal()},j=>{const Te=this.formatErrors(j,M);return void 0===Te?(0,Pe._)(j):N?void this.notificator.showRPCError(Te):(0,Pe._)(Te)}))}isCallToPerunApi(M){return M.startsWith(this.store.get("api_url"))}formatErrors(M,S){let P;if(console.error(M),M.error.errorId?P=M.error:M.errorId&&(P=JSON.parse(M.error)),void 0!==P)return P.urlWithParams=S.urlWithParams,P.call=S.url,P.payload=S.body,P}}return L.\u0275fac=function(M){return new(M||L)(g.LFG(E),g.LFG(te),g.LFG(ae),g.LFG(s),g.LFG(b.uw),g.LFG(G))},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac}),L})(),Be=(()=>{class L{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(M){this.newNotificationsCount++,this.notificationData.push(M)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return L.\u0275fac=function(M){return new(M||L)},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();var Fe=d(27221);let ke=(()=>{class L{constructor(M,S,P,N){this.http=M,this.notificator=S,this.authService=P,this.storeService=N}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(M,S,P,N){const ne=M.error;return ne.call=S,ne.payload=P,N&&this.notificator.showRPCError(M.error),(0,Pe._)(ne)}getHeaders(){let M=new ce.WM;return M=M.set("Authorization",this.authService.getAuthorizationHeaderValue()),M}get(M,S=!0){const P=`${this.getApiUrl()}${M}`;return this.http.get(P,{headers:this.getHeaders()}).pipe((0,Fe.K)(N=>this.formatErrors(N,P,null,S)))}put(M,S={},P=!0){const N=`${this.getApiUrl()}${M}`,ne=JSON.stringify(S);return this.http.put(N,ne,{headers:this.getHeaders()}).pipe((0,Fe.K)(j=>this.formatErrors(j,N,ne,P)))}post(M,S={},P=!0){const N=`${this.getApiUrl()}${M}`,ne=JSON.stringify(S);let j=this.getHeaders();return j=j.set("Content-Type","application/json; charset=utf-8"),this.http.post(N,ne,{headers:j}).pipe((0,Fe.K)(Te=>this.formatErrors(Te,N,ne,P)))}delete(M,S=!0){const P=`${this.getApiUrl()}${M}`;return this.http.delete(P,{headers:this.getHeaders()}).pipe((0,Fe.K)(N=>this.formatErrors(N,P,null,S)))}}return L.\u0275fac=function(M){return new(M||L)(g.LFG(ce.eN),g.LFG(ae),g.LFG(E),g.LFG(s))},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),De=(()=>{class L{constructor(M){this.router=M,this.lastState="forward",this.history=new Set,M.events.subscribe(S=>{S instanceof A.OD&&("popstate"===S.navigationTrigger?this.history.has(S.restoredState.navigationId)?(this.lastState="back",this.history.delete(S.restoredState.navigationId)):(this.lastState="forward",this.history.add(S.id)):(this.history.add(S.id),this.lastState="forward"))})}forceNavigate(M,S){if(null===M)return;let P="";M.forEach(N=>P+="/"+N),P.length>0&&(P=P.substring(1)),void 0===S&&(S={}),S.queryParams={redirectTo:P},this.router.navigate(["redirect"],S)}getLastState(){return this.lastState}}return L.\u0275fac=function(M){return new(M||L)(g.LFG(A.F0))},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),be=(()=>{class L{constructor(){}isAllSelectedWithDisabledCheckbox(M,S,P,N,ne,j,Te,n){return this.numSelected=M,this.numCanBeSelected=0,this.pageStart=ne*P,this.pageEnd=this.pageStart+P,this.pageIterator=0,this.dataLength=""===S?j.data.length:j.filteredData.length,N||(this.modulo=this.dataLength%P,this.pageEnd=0===this.modulo?this.pageStart+P:this.pageStart+this.modulo),j.sortData(j.filteredData,Te).forEach(r=>{this.pageStart<=this.pageIterator&&this.pageIterator{n?r(u)&&this.pageStart<=this.pageIterator&&this.pageIterator{class L{constructor(M,S,P,N){this.membersService=M,this.usersService=S,this.auditMessagesManagerService=P,this.registrarService=N}getMembers(M,S,P,N,ne,j,Te,n,r,u){return this.membersService.getMembersPage({vo:M,attrNames:S,query:{pageSize:ne,offset:N*ne,order:P,sortColumn:j,statuses:Te,searchString:n,groupId:r,groupStatuses:u}})}getUsers(M,S,P,N,ne,j,Te,n,r,u,o,t){return this.usersService.getUsersPage({attrNames:M,query:{offset:N*P,pageSize:N,order:S,sortColumn:ne,searchString:j,withoutVo:Te,facilityId:n,voId:r,resourceId:u,serviceId:o,onlyAllowed:t}})}getAuditMessages(M,S,P){return this.auditMessagesManagerService.getMessagesPage({query:{offset:P*S,pageSize:P,order:M}})}getApplications(M,S,P,N,ne,j,Te,n,r,u,o,t,i){return this.registrarService.getApplicationsPage({vo:o,query:{pageSize:M,offset:S*M,order:P,sortColumn:N,searchString:j,includeGroupApplications:ne,getDetails:i,states:Te,dateFrom:n,dateTo:r,userId:u,groupId:t}})}}return L.\u0275fac=function(M){return new(M||L)(g.LFG(e.uq),g.LFG(e.Fv),g.LFG(e.jw),g.LFG(e.tk))},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();var Ce=d(591),J=d(21086);class I{constructor(de,M){this.dynamicPaginatingService=de,this.authzService=M,this.dataSubject=new Ce.X([]),this.loadingSubject=new Ce.X(!1),this.loading$=this.loadingSubject.asObservable(),this.allObjectCount=0,this.routeAuth=!0}loadMembers(de,M,S,P,N,ne,j,Te,n,r){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const u=this.latestQueryTime;this.dynamicPaginatingService.getMembers(de,M,S,P,N,ne,j,Te,n,r).pipe((0,Fe.K)(()=>(0,J.of)([])),(0,se.x)(()=>this.loadingSubject.next(!1))).subscribe(o=>{if(this.latestQueryTime<=u){const t=o.data;null!==t&&0!==t.length&&(this.routeAuth=this.authzService.isAuthorized("getMemberById_int_policy",[{beanName:"Vo",id:de},t[0]])),this.allObjectCount=o.totalCount,this.dataSubject.next(t)}})}loadUsers(de,M,S,P,N,ne,j,Te,n,r,u,o){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const t=this.latestQueryTime;this.dynamicPaginatingService.getUsers(de,P,S,M,N,ne,j,Te,n,r,u,o).pipe((0,Fe.K)(()=>(0,J.of)([])),(0,se.x)(()=>this.loadingSubject.next(!1))).subscribe(i=>{if(this.latestQueryTime<=t){const c=i.data;this.allObjectCount=i.totalCount,this.dataSubject.next(c)}})}loadAuditMessages(de,M,S){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const P=this.latestQueryTime;this.dynamicPaginatingService.getAuditMessages(S,M,de).pipe((0,Fe.K)(()=>(0,J.of)([])),(0,se.x)(()=>this.loadingSubject.next(!1))).subscribe(N=>{if(this.latestQueryTime<=P){const ne=N.data;this.allObjectCount=N.totalCount,this.dataSubject.next(ne)}})}loadApplications(de,M,S,P,N,ne,j,Te,n,r,u,o,t){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const i=this.latestQueryTime;this.dynamicPaginatingService.getApplications(de,M,S,P,ne,N,j,Te,n,r,o,u,null!=t&&t).pipe((0,Fe.K)(()=>(0,J.of)([])),(0,se.x)(()=>this.loadingSubject.next(!1))).subscribe(c=>{if(this.latestQueryTime<=i){const p=c.data;if(null!==p&&0!==p.length){const T=p;this.routeAuth=T[0].group?this.authzService.isAuthorized("getApplicationsForGroup_Group_List_policy",[T[0].group]):this.authzService.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[T[0].vo])}this.allObjectCount=c.totalCount,this.dataSubject.next(p)}})}connect(){return this.dataSubject.asObservable()}disconnect(){this.dataSubject.complete(),this.loadingSubject.complete()}getData(){return this.dataSubject.value}}let Ie=(()=>{class L{constructor(M,S){this.route=M,this.store=S}getPreferredLanguage(M){const S=this.store.get("supported_languages"),P=navigator.languages.map(j=>j.split("-")[0]),N=location.search.substr(1).split("&");let ne=null;for(const j of N){const Te=j.split("=");"lang"===Te[0]&&(ne=Te[1])}return ne&&S.includes(ne)?ne:M&&S.includes(M)?M:P&&S.includes(P[0])?P[0]:"en"}}return L.\u0275fac=function(M){return new(M||L)(g.LFG(A.gz),g.LFG(s))},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();var Re=d(70655);let ze=(()=>{class L{constructor(){}loadPdfMake(){return(0,Re.mG)(this,void 0,void 0,function*(){if(!this.pdfMake){const M=yield d.e(641).then(d.t.bind(d,54641,23)),S=yield d.e(493).then(d.t.bind(d,58493,19));this.pdfMake=M.default,this.pdfMake.vfs=S.default.pdfMake.vfs}})}generatePdf(M){return(0,Re.mG)(this,void 0,void 0,function*(){yield this.loadPdfMake(),this.pdfMake.createPdf(M).open()})}}return L.\u0275fac=function(M){return new(M||L)},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),fe=(()=>{class L{constructor(M){this.pdfService=M}static generateTableForUser(M){const S=M.name.replace(";"," ").split(";")[0];return"OK"!==M.status?this.generateErrorRowForUser(S,M.status):L.generateRowForUser(S,M.login,M.password)}static generateErrorRowForUser(M,S){return{table:{heights:[30,1,1],widths:[249,249],body:[[{text:M,colSpan:1,alignment:"center",bold:!0,fontSize:12,margin:[20,25],color:"red"},{text:S,alignment:"center",bold:!0,color:"red"}]]}}}static generateRowForUser(M,S,P){return{table:{heights:[30,0],widths:[120,120,120,120],body:[[L.generateNameCell(M),{},L.getPasswordLabelCell(),L.generatePasswordCell(P)],[L.getLoginLabelCell(),L.generateLoginCell(S),{},{}]]}}}static generateNameCell(M){return{text:M,colSpan:2,alignment:"center",border:[!0,!0,!0,!1],bold:!0,fontSize:12,margin:[10,10]}}static generatePasswordCell(M){return{text:null==M?"N/A":M,border:[!1,!0,!0,!0],bold:!0,margin:[0,25],rowSpan:2,alignment:"left"}}static generateLoginCell(M){return{text:null==M?"N/A":M,border:[!1,!1,!0,!0],bold:!0}}static getLoginLabelCell(){return{text:"Login:",border:[!0,!1,!1,!0],alignment:"right",margin:[0,0,0,10]}}static getPasswordLabelCell(){return{text:"Password:",border:[!0,!0,!1,!0],alignment:"right",margin:[0,25],rowSpan:2}}generate(M){return(0,Re.mG)(this,void 0,void 0,function*(){const S=[];for(const N of M)S.push(L.generateTableForUser(N));return this.pdfService.generatePdf({content:S})})}}return L.\u0275fac=function(M){return new(M||L)(g.LFG(ze))},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),ve=(()=>{class L{constructor(M){this.storeService=M}static getBrandContainingDomain(M,S){for(const P of M)if(P.newApps.admin===S||P.newApps.profile===S||P.newApps.pwdReset===S)return P;return M[0]}getUrlForOtherApplication(M,S){const N=window.location.href.split("/"),ne=N[0]+"//"+N[2],j=L.getBrandContainingDomain(this.storeService.getAppsConfig().brands,ne);let Te;if(j.newApps[M])Te=j.newApps[M],"pwdReset"===M&&(Te+=`?login-namespace=${S}`);else switch(Te=j.oldGuiDomain+"/fed",M){case"admin":Te+="/gui/";break;case"profile":Te+="/profile/";break;case"pwdReset":Te+=`/pwd-reset/?login-namespace=${S}`}return Te}}return L.\u0275fac=function(M){return new(M||L)(g.LFG(s))},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();var We=d(86087);let nt=(()=>{class L extends We.ye{constructor(){super(...arguments),this.getRangeLabel=function(M,S,P){let N;return N=P<1e3?P:P<1e4?"1 000":P<1e5?"10 000":"100 000",`${M*S+1} \u2013 ${(M+1)*S} of ${N} +`}}}return L.\u0275fac=function(){let de;return function(S){return(de||(de=g.n5z(L)))(S||L)}}(),L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac}),L})(),st=(()=>{class L{setEntity(M){this.entity=M}getEntity(){return this.entity}}return L.\u0275fac=function(M){return new(M||L)},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),dt=(()=>{class L{constructor(M){this.authResolver=M,this.routePolicies=new Map([["organizations-members",S=>this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[S])],["organizations-groups",S=>this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[S])],["organizations-resources",S=>this.authResolver.isAuthorized("getRichResources_Vo_policy",[S])||this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[S])||this.authResolver.isAuthorized("getResourcesState_Vo_policy",[S])],["organizations-resources-preview",S=>this.authResolver.isAuthorized("getRichResources_Vo_policy",[S])],["organizations-resources-tags",S=>this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[S])],["organizations-resources-states",S=>this.authResolver.isAuthorized("getResourcesState_Vo_policy",[S])],["organizations-applications",S=>this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[S])],["organizations-sponsoredMembers",S=>this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[S])],["organizations-serviceAccounts",S=>this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[S])],["organizations-attributes",()=>!0],["organizations-statistics",S=>this.authResolver.isAuthorized("getMembersCount_Vo_Status_policy",[S])&&this.authResolver.isAuthorized("getMembersCount_Vo_policy",[S])],["organizations-settings",S=>this.authResolver.isManagerPagePrivileged(S)||this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[S])||this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-expiration",S=>this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-managers",S=>this.authResolver.isManagerPagePrivileged(S)],["organizations-settings-applicationForm",S=>this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-notifications",S=>this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-extsources",S=>this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[S])]])}canNavigate(M,S){const P=this.routePolicies.get(M);return!P||P(S)}}return L.\u0275fac=function(M){return new(M||L)(g.LFG(v))},L.\u0275prov=g.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})()},64080:(Ze,ge,d)=>{"use strict";d.d(ge,{r:()=>e});let e=(()=>{class f{}return f.MEMBER_DEF_EXPIRATION="urn:perun:member:attribute-def:def:membershipExpiration",f.MEMBER_DEF_GROUP_EXPIRATION="urn:perun:member_group:attribute-def:def:groupMembershipExpiration",f.MEMBER_DEF_ORGANIZATION="urn:perun:member:attribute-def:def:organization",f.MEMBER_DEF_MAIL="urn:perun:member:attribute-def:def:mail",f.MEMBER_CORE_ID="urn:perun:member:attribute-def:core:id",f.VO_DEF_EXPIRATION_RULES="urn:perun:vo:attribute-def:def:membershipExpirationRules",f.VO_DEF_MAIL_FOOTER="urn:perun:vo:attribute-def:def:mailFooter",f.VO_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:vo:attribute-def:def:blockManualMemberAdding",f.USER_DEF_ORGANIZATION="urn:perun:user:attribute-def:def:organization",f.USER_DEF_PREFERRED_MAIL="urn:perun:user:attribute-def:def:preferredMail",f.GROUP_DEF_EXPIRATION_RULES="urn:perun:group:attribute-def:def:groupMembershipExpirationRules",f.GROUP_DEF_MAIL_FOOTER="urn:perun:group:attribute-def:def:mailFooter",f.GROUP_SYNC_ENABLED="urn:perun:group:attribute-def:def:synchronizationEnabled",f.GROUP_LAST_SYNC_STATE="urn:perun:group:attribute-def:def:lastSynchronizationState",f.GROUP_LAST_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastSynchronizationTimestamp",f.GROUP_STRUCTURE_SYNC_ENABLED="urn:perun:group:attribute-def:def:groupStructureSynchronizationEnabled",f.GROUP_LAST_STRUCTURE_SYNC_STATE="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationState",f.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationTimestamp",f.GROUP_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:group:attribute-def:def:blockManualMemberAdding",f.UES_DEF_MAIL="urn:perun:ues:attribute-def:def:mail",f.UES_DEF_ORGANIZATION="urn:perun:ues:attribute-def:def:o",f})()},9244:(Ze,ge,d)=>{"use strict";d.d(ge,{dN:()=>h,Je:()=>b,f7:()=>R.f7,l9:()=>E.l,sF:()=>R.sF,XI:()=>R.XI,aC:()=>R.aC,fx:()=>R.fx,dv:()=>R.dv,i5:()=>R.i5,Sd:()=>R.Sd,pR:()=>R.pR,ys:()=>R.ys,O6:()=>R.O6,B2:()=>R.B2,mH:()=>R.mH,MX:()=>R.MX,oU:()=>R.oU,IL:()=>R.IL,Jc:()=>R.Jc,Xn:()=>R.Xn,kZ:()=>R.kZ,v$:()=>R.v$,x2:()=>R.x2,vL:()=>R.vL,Hm:()=>R.Hm,Cz:()=>R.Cz,sG:()=>R.sG,g$:()=>R.g$,bD:()=>R.bD,lt:()=>R.lt,Oe:()=>R.Oe,hu:()=>R.hu,Gw:()=>R.Gw,te:()=>R.te,kN:()=>R.kN,$0:()=>R.$0,OV:()=>R.OV});var e=d(86087),f=d(92181),g=d(25245),v=d(47423),m=d(51062),A=d(69808),s=d(5e3);let b=(()=>{class x{}return x.\u0275fac=function(G){return new(G||x)},x.\u0275mod=s.oAB({type:x}),x.\u0275inj=s.cJS({providers:[],imports:[[e.TU,f.Tx,g.Ps,v.ot,m.aw,A.ez]]}),x})();var R=d(17218),E=d(18750);class h{static passwordMatchValidator(k){const G=k.get("passwordCtrl").value,X=k.get("passwordAgainCtrl").value;return k.get("passwordAgainCtrl").setErrors(G!==X?{noPasswordMatch:!0}:null),null}static patternValidator(k){return G=>{if(!G.value)return null;let X=0;for(const he of k)X+=he.test(G.value)?1:0;return X>=3?null:{isWeak:!0}}}}},17218:(Ze,ge,d)=>{"use strict";d.d(ge,{f7:()=>A,B2:()=>s,g$:()=>b,kN:()=>R,$0:()=>E,lt:()=>h,bD:()=>k,hu:()=>G,Cz:()=>X,te:()=>re,ys:()=>Ne,vL:()=>Pe,sF:()=>se,XI:()=>V,OV:()=>te,MX:()=>ae,oU:()=>pe,IL:()=>Be,Jc:()=>Fe,v$:()=>ke,i5:()=>Ce,kZ:()=>J,dv:()=>I,Hm:()=>Ie,Oe:()=>Re,Gw:()=>ze,x2:()=>fe,sG:()=>ve,pR:()=>nt,Sd:()=>st,Xn:()=>L,O6:()=>de,aC:()=>M,fx:()=>S,mH:()=>P});var e=d(70655),f=d(48966),g=d(69808),v=d(94327);const A=[5,10,25,100],s=/^(([^<>+()[\]\\.,;:\s@"-#$%&=]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]+))$/;function b(N){let ne="";return N&&null!==N.userAttributes&&(N.userAttributes.forEach(j=>{"preferredMail"===j.friendlyName&&(ne=j.value)}),ne&&0===ne.length&&null!==N.memberAttributes&&N.memberAttributes.forEach(j=>{"mail"===j.friendlyName&&null!==j.value&&(ne=j.value)})),ne}function R(N){let ne="";return N&&N.userAttributes.forEach(j=>{"preferredMail"===j.friendlyName&&(ne=j.value)}),ne}function E(N){let ne="";return!!N&&!!N.userAttributes&&N.userAttributes.filter(j=>"login-namespace"===j.baseFriendlyName).filter(j=>null!==j.value).forEach(j=>{ne+=j.friendlyNameParameter+": "+j.value+", "}),ne.endsWith(", ")&&(ne=ne.substring(0,ne.length-2)),ne}function h(N){let ne="";return!!N&&!!N.userAttributes&&N.userAttributes.filter(j=>"login-namespace"===j.baseFriendlyName).filter(j=>null!==j.value).forEach(j=>{ne+=j.friendlyNameParameter+": "+j.value+", "}),ne.endsWith(", ")&&(ne=ne.substring(0,ne.length-2)),ne}function k(N){let ne="";return null!==N.titleBefore&&(ne+=N.titleBefore+" "),null!==N.firstName&&(ne+=N.firstName+" "),null!==N.middleName&&(ne+=N.middleName+" "),null!==N.lastName&&(ne+=N.lastName+" "),null!==N.titleAfter&&(ne+=N.titleAfter+" "),ne.endsWith(" ")&&(ne=ne.substring(0,ne.length-1)),ne}function G(N){let ne="";return null!==N.firstName&&(ne+=N.firstName+" "),null!==N.middleName&&(ne+=N.middleName+" "),null!==N.lastName&&(ne+=N.lastName+" "),ne.endsWith(" ")&&(ne=ne.substring(0,ne.length-1)),ne}function X(N){let ne="";return N.split(/(?=[A-Z])/g).forEach(Te=>{ne=ne.concat(Te.toLowerCase()),ne=ne.concat(" ")}),ne=ne.charAt(0).toUpperCase()+ne.slice(1,ne.length-1),ne}function re(N){let ne="";for(const j of N)"technical"===j.type&&(ne+=j.name+", ");return ne.endsWith(", ")&&(ne=ne.substring(0,ne.length-2)),ne}function Ne(N,ne){return(0,e.mG)(this,void 0,void 0,function*(){yield function ce(N){return new Promise(ne=>setTimeout(ne,N))}(N),ne()})}function Pe(N){return JSON.parse(localStorage.getItem(N))||[]}function se(N,ne){if(null===localStorage.getItem(N)){const j=[];j.unshift(ne.id),localStorage.setItem(N,JSON.stringify(j))}else{const j=JSON.parse(localStorage.getItem(N)),Te=function W(N,ne){for(let j=0;j0&&j.splice(Te,1),0!==Te&&j.unshift(ne.id),j.length>5&&j.pop(),localStorage.setItem(N,JSON.stringify(j))}}function V(N,ne){if(null===localStorage.getItem("recent")){let j;j="Group"===N.beanName?[{id:N.id,name:N.shortName,fullName:N.name,type:N.beanName,voId:N.voId,voName:ne}]:[{id:N.id,name:N.name,type:N.beanName,voId:N.voId}],localStorage.setItem("recent",JSON.stringify(j))}else{const j=JSON.parse(localStorage.getItem("recent"));let Te;Te="Group"===N.beanName?{id:N.id,name:N.shortName,fullName:N.name,type:N.beanName,voId:N.voId,voName:ne}:{id:N.id,name:N.name,type:N.beanName,voId:N.voId};const n=function F(N,ne){for(let j=0;j0&&j.splice(n,1),0!==n&&j.unshift(Te),j.length>5&&j.pop(),localStorage.setItem("recent",JSON.stringify(j))}}function te(N){let ne="";return N&&N.userAttributes.forEach(j=>{"organization"===j.friendlyName&&(ne=j.value)}),ne}function ae(N){return N.filter(ne=>!ne.namespace.includes("def:core"))}function pe(N,ne){const j=ne.find(Te=>Te.id===N);return j?j.parentGroupId?pe(j.parentGroupId,ne).concat(j):[j]:[]}function Be(N,ne){for(const j of N)if(j.namespace+":"+j.friendlyName===ne)return j;return null}function Fe(N){return null!=N.attributes["urn:perun:member:attribute-def:def:mail"]?N.attributes["urn:perun:member:attribute-def:def:mail"]:null!=N.attributes["urn:perun:user:attribute-def:def:preferredMail"]?N.attributes["urn:perun:user:attribute-def:def:preferredMail"]:""}function ke(N){return N.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceX509".toLowerCase()?function De(N){if(N.includes("/CN=")){const ne=N.split("/");for(const j in ne)if(j.startsWith("CN="))return be(j.substring(3))}return N}(N.userExtSource.extSource.name):N.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceIdp".toLowerCase()?function z(N){switch(N){case"https://idp.upce.cz/idp/shibboleth":return"University in Pardubice";case"https://idp.slu.cz/idp/shibboleth":return"University in Opava";case"https://login.feld.cvut.cz/idp/shibboleth":return"Faculty of Electrical Engineering, Czech Technical University In Prague";case"https://www.vutbr.cz/SSO/saml2/idp":return"Brno University of Technology";case"https://shibboleth.nkp.cz/idp/shibboleth":return"The National Library of the Czech Republic";case"https://idp2.civ.cvut.cz/idp/shibboleth":return"Czech Technical University In Prague";case"https://shibbo.tul.cz/idp/shibboleth":return"Technical University of Liberec";case"https://idp.mendelu.cz/idp/shibboleth":return"Mendel University in Brno";case"https://cas.cuni.cz/idp/shibboleth":return"Charles University in Prague";case"https://wsso.vscht.cz/idp/shibboleth":return"Institute of Chemical Technology Prague";case"https://idp.vsb.cz/idp/shibboleth":return"VSB \u2013 Technical University of Ostrava";case"https://whoami.cesnet.cz/idp/shibboleth":return"CESNET";case"https://helium.jcu.cz/idp/shibboleth":return"University of South Bohemia";case"https://idp.ujep.cz/idp/shibboleth":return"Jan Evangelista Purkyne University in Usti nad Labem";case"https://idp.amu.cz/idp/shibboleth":return"Academy of Performing Arts in Prague";case"https://idp.lib.cas.cz/idp/shibboleth":return"Academy of Sciences Library";case"https://shibboleth.mzk.cz/simplesaml/metadata.xml":return"Moravian Library";case"https://idp2.ics.muni.cz/idp/shibboleth":return"Masaryk University";case"https://idp.upol.cz/idp/shibboleth":return"Palacky University, Olomouc";case"https://idp.fnplzen.cz/idp/shibboleth":return"FN Plzen";case"https://id.vse.cz/idp/shibboleth":return"University of Economics, Prague";case"https://shib.zcu.cz/idp/shibboleth":return"University of West Bohemia";case"https://idptoo.osu.cz/simplesaml/saml2/idp/metadata.php":return"University of Ostrava";case"https://login.ics.muni.cz/idp/shibboleth":return"MetaCentrum";case"https://idp.hostel.eduid.cz/idp/shibboleth":return"eduID.cz Hostel";case"https://shibboleth.techlib.cz/idp/shibboleth":return"National Library of Technology";case"https://eduid.jamu.cz/idp/shibboleth":return"Janacek Academy of Music and Performing Arts in Brno";case"https://marisa.uochb.cas.cz/simplesaml/saml2/idp/metadata.php":return"Institute of Organic Chemistry and Biochemistry AS CR";case"https://shibboleth.utb.cz/idp/shibboleth":return"Tomas Bata University in Zlin";case"https://engine.elixir-czech.org/authentication/idp/metadata":case"@elixir-europe.org":return"Elixir Europe";case"https://login.elixir-czech.org/idp":return"Elixir Czech";case"https://mojeid.cz/saml/idp.xml":case"@mojeid.extidp.cesnet.cz":return"MojeID";case"https://www.egi.eu/idp/shibboleth":return"EGI SSO";case"@google.extidp.cesnet.cz":return"Google";case"@facebook.extidp.cesnet.cz":return"Facebook";case"@linkedin.extidp.cesnet.cz":return"LinkedIn";case"@twitter.extidp.cesnet.cz":return"Twitter";case"@seznam.extidp.cesnet.cz":return"Seznam";case"@github.extidp.cesnet.cz":return"GitHub";case"@orcid.extidp.cesnet.cz":return"OrcID";default:return N}}(N.userExtSource.extSource.name):N.userExtSource.extSource.name}function be(N){return decodeURIComponent(N.replace(/\\x/g,"%"))}function Ce(N=["en","cs"]){const ne={appType:"INITIAL",formId:0,mailType:"APP_CREATED_USER",send:!0,message:{}};return N.forEach(j=>{ne.message[j]={locale:j,subject:"",text:""}}),ne}function J(){const N=new f.vA;return N.disableClose=!0,N.autoFocus=!1,N}function I(N){const ne={applicationTypes:["INITIAL","EXTENSION"],federationAttribute:"",i18n:{},id:0,ordnum:0,perunDestinationAttribute:null,perunSourceAttribute:null,regex:"",required:!1,updatable:!0,disabled:"NEVER",hidden:"NEVER",disabledDependencyItemId:null,hiddenDependencyItemId:null,shortname:"",type:null};for(const j of N)ne.i18n[j]={locale:j,errorMessage:"",help:"",label:"",options:""};return ne}function Ie(N){return"virt"===N.namespace.split(":")[4]}function Re(N,ne){return"valid"!==N.toLowerCase()||ne&&"valid"!==N.toLowerCase()?N:"ACTIVE"}function ze(N){let ne="";return N&&null!==N.memberAttributes&&(N.memberAttributes.forEach(j=>{"organization"===j.friendlyName&&null!==j.value&&(ne=j.value)}),0===ne.length&&null!==N.userAttributes&&N.userAttributes.forEach(j=>{"organization"===j.friendlyName&&(ne=j.value)})),ne}function fe(N){const ne=N.attributes.find(j=>"groupMembershipExpiration"===j.baseFriendlyName);return ne&&ne.value?ne.value:"Never"}function ve(N){return N&&"never"!==N.toLowerCase()?(0,g.p6)(N,"d.M.yyyy","en"):N}const We=new Intl.Collator("cs",{numeric:!0});function nt(N,ne,j,Te){const n=ne.active,r=ne.direction;return n&&""!==r?N.sort((u,o)=>{const t=j(u,n,Te),i=j(o,n,Te);return We.compare(t,i)*("asc"===r?1:-1)}):N}function st(N,ne,j,Te,n,r){ne=ne.toLowerCase();let u="";return j.forEach(o=>{u+=";"+Te(N,o,n)}),r&&(u+=";"+Te(N,"uuid",n)),-1!==u.toLowerCase().indexOf(ne)}function L(N,ne,j,Te){const n=[],r=["checkbox","select","edit","menu","cite","extend","recent"];return ne=ne.filter(u=>!r.includes(u)),N.forEach(u=>{const o={};ne.forEach(t=>{var i;o[t]=(null!==(i=j(u,t,Te))&&void 0!==i?i:"").split('"').join("''").trim()}),n.push(o)}),n}function de(N,ne="csv",j="export"){if("csv"===ne){const Te=(t,i)=>null===i?"":i,n=Object.keys(N[0]),r=N.map(t=>n.map(i=>JSON.stringify(t[i],Te)).join(","));r.unshift(n.join(",").split(" ").join("_").split('"').join("''"));const u=r.join("\r\n"),o=new Blob([u],{type:"text/csv"});(0,v.saveAs)(o,`${j}.${ne}`)}}function M(N,ne){return N.name.toLowerCase()>ne.name.toLowerCase()?1:N.name.toLowerCase()===ne.name.toLowerCase()?0:-1}function S(N,ne){var j,Te,n,r;let u,o;return N.user?(u=N.user.lastName?N.user.lastName:null!==(j=N.user.firstName)&&void 0!==j?j:"",o=ne.user.lastName?ne.user.lastName:null!==(Te=ne.user.firstName)&&void 0!==Te?Te:""):(u=N.lastName?N.lastName:null!==(n=N.firstName)&&void 0!==n?n:"",o=ne.lastName?ne.lastName:null!==(r=ne.firstName)&&void 0!==r?r:""),u>o?1:u===o?0:-1}function P(N,ne,j=[]){N.enable(),N.clearValidators(),N.clearAsyncValidators(),N.setValidators(ne),N.setAsyncValidators(j),N.updateValueAndValidity()}},18750:(Ze,ge,d)=>{"use strict";d.d(ge,{l:()=>G});var e=d(5e3),f=d(86087),g=d(17218),v=d(10036),m=d(69808),A=d(47423),s=d(92181),b=d(25245),R=d(51062);let E=(()=>{class X{constructor(){this.exportData=new e.vpe}}return X.\u0275fac=function(re){return new(re||X)},X.\u0275cmp=e.Xpm({type:X,selectors:[["perun-web-apps-table-options"]],outputs:{exportData:"exportData"},decls:13,vars:5,consts:[[1,"position-right"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["exportOptions","matMenu"],["mat-menu-item","",3,"click"]],template:function(re,Ne){if(1&re&&(e.TgZ(0,"div",0),e.TgZ(1,"button",1),e.TgZ(2,"mat-icon"),e._uU(3,"more_vert"),e.qZA(),e.qZA(),e.TgZ(4,"mat-menu",null,2),e.TgZ(6,"button",3),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.qZA(),e.TgZ(9,"mat-menu",null,4),e.TgZ(11,"button",5),e.NdJ("click",function(){return Ne.exportData.emit("csv")}),e._uU(12,"Csv"),e.qZA(),e.qZA(),e.qZA()),2&re){const ce=e.MAs(5),Pe=e.MAs(10);e.xp6(1),e.Q6J("matMenuTriggerFor",ce),e.xp6(5),e.Q6J("matMenuTriggerFor",Pe),e.xp6(1),e.hij(" ",e.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[A.lW,s.p6,b.Hw,s.VK,s.OP],pipes:[R.X$],styles:[""]}),X})();function h(X,he){if(1&X){const re=e.EpF();e.TgZ(0,"perun-web-apps-table-options",6),e.NdJ("exportData",function(ce){return e.CHM(re),e.oxw().exportData.emit(ce)}),e.qZA()}}function x(X,he){if(1&X){const re=e.EpF();e.TgZ(0,"perun-web-apps-table-options",6),e.NdJ("exportData",function(ce){return e.CHM(re),e.oxw().exportData.emit(ce)}),e.qZA()}}const k=["*"];let G=(()=>{class X{constructor(re){this.tableConfigService=re,this.hideExport=!1,this.pageSizeOptions=g.f7,this.dataLength=0,this.exportData=new e.vpe,this.pageSize=5}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}set matPaginator(re){this.paginator=re}pageChangedTop(re){this.pageSize=re.pageSize,this.tableConfigService.setTablePageSize(this.tableId,re.pageSize)}pageChangedBottom(re){this.paginator.pageSize=re.pageSize,this.paginator.pageIndex=re.pageIndex,this.paginator.page.emit(re),this.pageSize=re.pageSize,this.tableId&&this.tableConfigService.setTablePageSize(this.tableId,re.pageSize)}}return X.\u0275fac=function(re){return new(re||X)(e.Y36(v.dB))},X.\u0275cmp=e.Xpm({type:X,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(re,Ne){if(1&re&&e.Gf(f.NW,7),2&re){let ce;e.iGM(ce=e.CRH())&&(Ne.matPaginator=ce.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:k,decls:9,vars:9,consts:[[1,"card-body","pt-0"],[1,"row","justify-content-end","align-items-center"],[3,"length","pageSizeOptions","pageSize","page"],[3,"exportData",4,"ngIf"],[1,"overflow-auto","border-top"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],[3,"exportData"]],template:function(re,Ne){1&re&&(e.F$t(),e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"mat-paginator",2),e.NdJ("page",function(Pe){return Ne.pageChangedTop(Pe)}),e.qZA(),e.YNc(3,h,1,0,"perun-web-apps-table-options",3),e.qZA(),e.TgZ(4,"div",4),e.Hsn(5),e.qZA(),e.TgZ(6,"div",1),e.TgZ(7,"mat-paginator",5),e.NdJ("page",function(Pe){return Ne.pageChangedBottom(Pe)}),e.qZA(),e.YNc(8,x,1,0,"perun-web-apps-table-options",3),e.qZA(),e.qZA()),2&re&&(e.xp6(2),e.Q6J("length",Ne.dataLength)("pageSizeOptions",Ne.pageSizeOptions)("pageSize",Ne.pageSize),e.xp6(1),e.Q6J("ngIf",!Ne.hideExport),e.xp6(4),e.Q6J("length",Ne.paginator.length)("pageIndex",Ne.paginator.pageIndex)("pageSizeOptions",Ne.paginator.pageSizeOptions)("pageSize",Ne.paginator.pageSize),e.xp6(1),e.Q6J("ngIf",!Ne.hideExport))},directives:[f.NW,m.O5,E],styles:[""]}),X})()},98380:(Ze,ge,d)=>{"use strict";d.d(ge,{w:()=>R});var e=d(5e3),f=d(69808),g=d(25245);function v(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," info "),e.qZA())}function m(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," warning "),e.qZA())}function A(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," dangerous "),e.qZA())}function s(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," check_circle "),e.qZA())}const b=["*"];let R=(()=>{class E{constructor(){}}return E.\u0275fac=function(x){return new(x||E)},E.\u0275cmp=e.Xpm({type:E,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:b,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(x,k){1&x&&(e.F$t(),e.TgZ(0,"div",0),e.YNc(1,v,2,0,"mat-icon",1),e.YNc(2,m,2,0,"mat-icon",1),e.YNc(3,A,2,0,"mat-icon",1),e.YNc(4,s,2,0,"mat-icon",1),e.Hsn(5),e.qZA()),2&x&&(e.ekj("warn-alert","warn"===k.alert_type)("error-alert","error"===k.alert_type)("success-alert","success"===k.alert_type)("info-alert","info"===k.alert_type),e.xp6(1),e.Q6J("ngIf","info"===k.alert_type),e.xp6(1),e.Q6J("ngIf","warn"===k.alert_type),e.xp6(1),e.Q6J("ngIf","error"===k.alert_type),e.xp6(1),e.Q6J("ngIf","success"===k.alert_type))},directives:[f.O5,g.Hw],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),E})()},63189:(Ze,ge,d)=>{"use strict";d.d(ge,{r:()=>v});var e=d(25245),f=d(69808),g=d(5e3);let v=(()=>{class m{}return m.\u0275fac=function(s){return new(s||m)},m.\u0275mod=g.oAB({type:m}),m.\u0275inj=g.cJS({imports:[[e.Ps,f.ez]]}),m})()},1302:function(Ze,ge,d){var e;!function(f,g){var v={};!function(f){"use strict";f.__esModule=!0,f.digestLength=32,f.blockSize=64;var g=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function v(k,G,X,he,re){for(var Ne,ce,Pe,se,V,F,W,te,ae,pe,Be,Fe,ke;re>=64;){for(Ne=G[0],ce=G[1],Pe=G[2],se=G[3],V=G[4],F=G[5],W=G[6],te=G[7],pe=0;pe<16;pe++)k[pe]=(255&X[Be=he+4*pe])<<24|(255&X[Be+1])<<16|(255&X[Be+2])<<8|255&X[Be+3];for(pe=16;pe<64;pe++)k[pe]=((Fe=((ae=k[pe-2])>>>17|ae<<15)^(ae>>>19|ae<<13)^ae>>>10)+k[pe-7]|0)+((ke=((ae=k[pe-15])>>>7|ae<<25)^(ae>>>18|ae<<14)^ae>>>3)+k[pe-16]|0);for(pe=0;pe<64;pe++)Fe=(((V>>>6|V<<26)^(V>>>11|V<<21)^(V>>>25|V<<7))+(V&F^~V&W)|0)+(te+(g[pe]+k[pe]|0)|0)|0,ke=((Ne>>>2|Ne<<30)^(Ne>>>13|Ne<<19)^(Ne>>>22|Ne<<10))+(Ne&ce^Ne&Pe^ce&Pe)|0,te=W,W=F,F=V,V=se+Fe|0,se=Pe,Pe=ce,ce=Ne,Ne=Fe+ke|0;G[0]+=Ne,G[1]+=ce,G[2]+=Pe,G[3]+=se,G[4]+=V,G[5]+=F,G[6]+=W,G[7]+=te,he+=64,re-=64}return he}var m=function(){function k(){this.digestLength=f.digestLength,this.blockSize=f.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return k.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},k.prototype.clean=function(){for(var G=0;G0){for(;this.bufferLength<64&&X>0;)this.buffer[this.bufferLength++]=G[he++],X--;64===this.bufferLength&&(v(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(X>=64&&(he=v(this.temp,this.state,G,he,X),X%=64);X>0;)this.buffer[this.bufferLength++]=G[he++],X--;return this},k.prototype.finish=function(G){if(!this.finished){var X=this.bytesHashed,he=this.bufferLength,re=X/536870912|0,Ne=X<<3,ce=X%64<56?64:128;this.buffer[he]=128;for(var Pe=he+1;Pe>>24&255,this.buffer[ce-7]=re>>>16&255,this.buffer[ce-6]=re>>>8&255,this.buffer[ce-5]=re>>>0&255,this.buffer[ce-4]=Ne>>>24&255,this.buffer[ce-3]=Ne>>>16&255,this.buffer[ce-2]=Ne>>>8&255,this.buffer[ce-1]=Ne>>>0&255,v(this.temp,this.state,this.buffer,0,ce),this.finished=!0}for(Pe=0;Pe<8;Pe++)G[4*Pe+0]=this.state[Pe]>>>24&255,G[4*Pe+1]=this.state[Pe]>>>16&255,G[4*Pe+2]=this.state[Pe]>>>8&255,G[4*Pe+3]=this.state[Pe]>>>0&255;return this},k.prototype.digest=function(){var G=new Uint8Array(this.digestLength);return this.finish(G),G},k.prototype._saveState=function(G){for(var X=0;Xthis.blockSize)(new m).update(G).finish(X).clean();else for(var he=0;he1&&G.update(k),X&&G.update(X),G.update(he),G.finish(k),he[0]++}f.HMAC=A,f.hash=s,f.default=s,f.hmac=b;var E=new Uint8Array(f.digestLength);f.hkdf=function h(k,G,X,he){void 0===G&&(G=E),void 0===he&&(he=32);for(var re=new Uint8Array([1]),Ne=b(G,k),ce=new A(Ne),Pe=new Uint8Array(ce.digestLength),se=Pe.length,V=new Uint8Array(he),F=0;F>>24&255,ce[1]=W>>>16&255,ce[2]=W>>>8&255,ce[3]=W>>>0&255,re.reset(),re.update(G),re.update(ce),re.finish(se);for(var te=0;te=h.status}function A(E){try{E.dispatchEvent(new MouseEvent("click"))}catch(x){var h=document.createEvent("MouseEvents");h.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),E.dispatchEvent(h)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,b=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),R=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!b?function(E,h,x){var k=s.URL||s.webkitURL,G=document.createElement("a");G.download=h=h||E.name||"download",G.rel="noopener","string"==typeof E?(G.href=E,G.origin===location.origin?A(G):m(G.href)?v(E,h,x):A(G,G.target="_blank")):(G.href=k.createObjectURL(E),setTimeout(function(){k.revokeObjectURL(G.href)},4e4),setTimeout(function(){A(G)},0))}:"msSaveOrOpenBlob"in navigator?function(E,h,x){if(h=h||E.name||"download","string"!=typeof E)navigator.msSaveOrOpenBlob(function g(E,h){return void 0===h?h={autoBom:!1}:"object"!=typeof h&&(console.warn("Deprecated: Expected third argument to be a object"),h={autoBom:!h}),h.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(E.type)?new Blob(["\ufeff",E],{type:E.type}):E}(E,x),h);else if(m(E))v(E,h,x);else{var k=document.createElement("a");k.href=E,k.target="_blank",setTimeout(function(){A(k)})}}:function(E,h,x,k){if((k=k||open("","_blank"))&&(k.document.title=k.document.body.innerText="downloading..."),"string"==typeof E)return v(E,h,x);var G="application/octet-stream"===E.type,X=/constructor/i.test(s.HTMLElement)||s.safari,he=/CriOS\/[\d]+/.test(navigator.userAgent);if((he||G&&X||b)&&"undefined"!=typeof FileReader){var re=new FileReader;re.onloadend=function(){var Pe=re.result;Pe=he?Pe:Pe.replace(/^data:[^;]*;/,"data:attachment/file;"),k?k.location.href=Pe:location=Pe,k=null},re.readAsDataURL(E)}else{var Ne=s.URL||s.webkitURL,ce=Ne.createObjectURL(E);k?k.location=ce:location.href=ce,k=null,setTimeout(function(){Ne.revokeObjectURL(ce)},4e4)}});s.saveAs=R.saveAs=R,Ze.exports=R}.apply(ge,[]))&&(Ze.exports=f)},591:(Ze,ge,d)=>{"use strict";d.d(ge,{X:()=>g});var e=d(8929),f=d(95279);class g extends e.xQ{constructor(m){super(),this._value=m}get value(){return this.getValue()}_subscribe(m){const A=super._subscribe(m);return A&&!A.closed&&m.next(this._value),A}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new f.N;return this._value}next(m){super.next(this._value=m)}}},51869:(Ze,ge,d)=>{"use strict";d.d(ge,{d:()=>f});var e=d(43489);class f extends e.L{constructor(v,m,A){super(),this.parent=v,this.outerValue=m,this.outerIndex=A,this.index=0}_next(v){this.parent.notifyNext(this.outerValue,v,this.outerIndex,this.index++,this)}_error(v){this.parent.notifyError(v,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},29312:(Ze,ge,d)=>{"use strict";d.d(ge,{P:()=>m});var e=d(68896),f=d(21086),g=d(61737);class m{constructor(s,b,R){this.kind=s,this.value=b,this.error=R,this.hasValue="N"===s}observe(s){switch(this.kind){case"N":return s.next&&s.next(this.value);case"E":return s.error&&s.error(this.error);case"C":return s.complete&&s.complete()}}do(s,b,R){switch(this.kind){case"N":return s&&s(this.value);case"E":return b&&b(this.error);case"C":return R&&R()}}accept(s,b,R){return s&&"function"==typeof s.next?this.observe(s):this.do(s,b,R)}toObservable(){switch(this.kind){case"N":return(0,f.of)(this.value);case"E":return(0,g._)(this.error);case"C":return(0,e.c)()}throw new Error("unexpected notification kind value")}static createNext(s){return void 0!==s?new m("N",s):m.undefinedValueNotification}static createError(s){return new m("E",void 0,s)}static createComplete(){return m.completeNotification}}m.completeNotification=new m("C"),m.undefinedValueNotification=new m("N",void 0)},56498:(Ze,ge,d)=>{"use strict";d.d(ge,{y:()=>R});var e=d(43489),g=d(57668),v=d(73292),A=d(93821),s=d(4843),b=d(92830);let R=(()=>{class h{constructor(k){this._isScalar=!1,k&&(this._subscribe=k)}lift(k){const G=new h;return G.source=this,G.operator=k,G}subscribe(k,G,X){const{operator:he}=this,re=function m(h,x,k){if(h){if(h instanceof e.L)return h;if(h[g.b])return h[g.b]()}return h||x||k?new e.L(h,x,k):new e.L(v.c)}(k,G,X);if(re.add(he?he.call(re,this.source):this.source||b.v.useDeprecatedSynchronousErrorHandling&&!re.syncErrorThrowable?this._subscribe(re):this._trySubscribe(re)),b.v.useDeprecatedSynchronousErrorHandling&&re.syncErrorThrowable&&(re.syncErrorThrowable=!1,re.syncErrorThrown))throw re.syncErrorValue;return re}_trySubscribe(k){try{return this._subscribe(k)}catch(G){b.v.useDeprecatedSynchronousErrorHandling&&(k.syncErrorThrown=!0,k.syncErrorValue=G),function f(h){for(;h;){const{closed:x,destination:k,isStopped:G}=h;if(x||G)return!1;h=k&&k instanceof e.L?k:null}return!0}(k)?k.error(G):console.warn(G)}}forEach(k,G){return new(G=E(G))((X,he)=>{let re;re=this.subscribe(Ne=>{try{k(Ne)}catch(ce){he(ce),re&&re.unsubscribe()}},he,X)})}_subscribe(k){const{source:G}=this;return G&&G.subscribe(k)}[A.L](){return this}pipe(...k){return 0===k.length?this:(0,s.U)(k)(this)}toPromise(k){return new(k=E(k))((G,X)=>{let he;this.subscribe(re=>he=re,re=>X(re),()=>G(he))})}}return h.create=x=>new h(x),h})();function E(h){if(h||(h=b.v.Promise||Promise),!h)throw new Error("no Promise impl found");return h}},73292:(Ze,ge,d)=>{"use strict";d.d(ge,{c:()=>g});var e=d(92830),f=d(22782);const g={closed:!0,next(v){},error(v){if(e.v.useDeprecatedSynchronousErrorHandling)throw v;(0,f.z)(v)},complete(){}}},826:(Ze,ge,d)=>{"use strict";d.d(ge,{L:()=>f});var e=d(43489);class f extends e.L{notifyNext(v,m,A,s,b){this.destination.next(m)}notifyError(v,m){this.destination.error(v)}notifyComplete(v){this.destination.complete()}}},96831:(Ze,ge,d)=>{"use strict";d.d(ge,{t:()=>he});var e=d(8929),f=d(56686),v=d(32268);const A=new class m extends v.v{}(class g extends f.o{constructor(ce,Pe){super(ce,Pe),this.scheduler=ce,this.work=Pe}schedule(ce,Pe=0){return Pe>0?super.schedule(ce,Pe):(this.delay=Pe,this.state=ce,this.scheduler.flush(this),this)}execute(ce,Pe){return Pe>0||this.closed?super.execute(ce,Pe):this._execute(ce,Pe)}requestAsyncId(ce,Pe,se=0){return null!==se&&se>0||null===se&&this.delay>0?super.requestAsyncId(ce,Pe,se):ce.flush(this)}});var s=d(42654),b=d(43489),R=d(29312);class x extends b.L{constructor(ce,Pe,se=0){super(ce),this.scheduler=Pe,this.delay=se}static dispatch(ce){const{notification:Pe,destination:se}=ce;Pe.observe(se),this.unsubscribe()}scheduleMessage(ce){this.destination.add(this.scheduler.schedule(x.dispatch,this.delay,new k(ce,this.destination)))}_next(ce){this.scheduleMessage(R.P.createNext(ce))}_error(ce){this.scheduleMessage(R.P.createError(ce)),this.unsubscribe()}_complete(){this.scheduleMessage(R.P.createComplete()),this.unsubscribe()}}class k{constructor(ce,Pe){this.notification=ce,this.destination=Pe}}var G=d(95279),X=d(45283);class he extends e.xQ{constructor(ce=Number.POSITIVE_INFINITY,Pe=Number.POSITIVE_INFINITY,se){super(),this.scheduler=se,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=ce<1?1:ce,this._windowTime=Pe<1?1:Pe,Pe===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(ce){const Pe=this._events;Pe.push(ce),Pe.length>this._bufferSize&&Pe.shift(),super.next(ce)}nextTimeWindow(ce){this._events.push(new re(this._getNow(),ce)),this._trimBufferThenGetEvents(),super.next(ce)}_subscribe(ce){const Pe=this._infiniteTimeWindow,se=Pe?this._events:this._trimBufferThenGetEvents(),V=this.scheduler,F=se.length;let W;if(this.closed)throw new G.N;if(this.isStopped||this.hasError?W=s.w.EMPTY:(this.observers.push(ce),W=new X.W(this,ce)),V&&ce.add(ce=new x(ce,V)),Pe)for(let te=0;tePe&&(W=Math.max(W,F-Pe)),W>0&&V.splice(0,W),V}}class re{constructor(ce,Pe){this.time=ce,this.value=Pe}}},8929:(Ze,ge,d)=>{"use strict";d.d(ge,{Yc:()=>s,xQ:()=>b});var e=d(56498),f=d(43489),g=d(42654),v=d(95279),m=d(45283),A=d(57668);class s extends f.L{constructor(h){super(h),this.destination=h}}let b=(()=>{class E extends e.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[A.b](){return new s(this)}lift(x){const k=new R(this,this);return k.operator=x,k}next(x){if(this.closed)throw new v.N;if(!this.isStopped){const{observers:k}=this,G=k.length,X=k.slice();for(let he=0;henew R(h,x),E})();class R extends b{constructor(h,x){super(),this.destination=h,this.source=x}next(h){const{destination:x}=this;x&&x.next&&x.next(h)}error(h){const{destination:x}=this;x&&x.error&&this.destination.error(h)}complete(){const{destination:h}=this;h&&h.complete&&this.destination.complete()}_subscribe(h){const{source:x}=this;return x?this.source.subscribe(h):g.w.EMPTY}}},45283:(Ze,ge,d)=>{"use strict";d.d(ge,{W:()=>f});var e=d(42654);class f extends e.w{constructor(v,m){super(),this.subject=v,this.subscriber=m,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const v=this.subject,m=v.observers;if(this.subject=null,!m||0===m.length||v.isStopped||v.closed)return;const A=m.indexOf(this.subscriber);-1!==A&&m.splice(A,1)}}},43489:(Ze,ge,d)=>{"use strict";d.d(ge,{L:()=>s});var e=d(67043),f=d(73292),g=d(42654),v=d(57668),m=d(92830),A=d(22782);class s extends g.w{constructor(E,h,x){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=f.c;break;case 1:if(!E){this.destination=f.c;break}if("object"==typeof E){E instanceof s?(this.syncErrorThrowable=E.syncErrorThrowable,this.destination=E,E.add(this)):(this.syncErrorThrowable=!0,this.destination=new b(this,E));break}default:this.syncErrorThrowable=!0,this.destination=new b(this,E,h,x)}}[v.b](){return this}static create(E,h,x){const k=new s(E,h,x);return k.syncErrorThrowable=!1,k}next(E){this.isStopped||this._next(E)}error(E){this.isStopped||(this.isStopped=!0,this._error(E))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(E){this.destination.next(E)}_error(E){this.destination.error(E),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:E}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=E,this}}class b extends s{constructor(E,h,x,k){super(),this._parentSubscriber=E;let G,X=this;(0,e.m)(h)?G=h:h&&(G=h.next,x=h.error,k=h.complete,h!==f.c&&(X=Object.create(h),(0,e.m)(X.unsubscribe)&&this.add(X.unsubscribe.bind(X)),X.unsubscribe=this.unsubscribe.bind(this))),this._context=X,this._next=G,this._error=x,this._complete=k}next(E){if(!this.isStopped&&this._next){const{_parentSubscriber:h}=this;m.v.useDeprecatedSynchronousErrorHandling&&h.syncErrorThrowable?this.__tryOrSetError(h,this._next,E)&&this.unsubscribe():this.__tryOrUnsub(this._next,E)}}error(E){if(!this.isStopped){const{_parentSubscriber:h}=this,{useDeprecatedSynchronousErrorHandling:x}=m.v;if(this._error)x&&h.syncErrorThrowable?(this.__tryOrSetError(h,this._error,E),this.unsubscribe()):(this.__tryOrUnsub(this._error,E),this.unsubscribe());else if(h.syncErrorThrowable)x?(h.syncErrorValue=E,h.syncErrorThrown=!0):(0,A.z)(E),this.unsubscribe();else{if(this.unsubscribe(),x)throw E;(0,A.z)(E)}}}complete(){if(!this.isStopped){const{_parentSubscriber:E}=this;if(this._complete){const h=()=>this._complete.call(this._context);m.v.useDeprecatedSynchronousErrorHandling&&E.syncErrorThrowable?(this.__tryOrSetError(E,h),this.unsubscribe()):(this.__tryOrUnsub(h),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(E,h){try{E.call(this._context,h)}catch(x){if(this.unsubscribe(),m.v.useDeprecatedSynchronousErrorHandling)throw x;(0,A.z)(x)}}__tryOrSetError(E,h,x){if(!m.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{h.call(this._context,x)}catch(k){return m.v.useDeprecatedSynchronousErrorHandling?(E.syncErrorValue=k,E.syncErrorThrown=!0,!0):((0,A.z)(k),!0)}return!1}_unsubscribe(){const{_parentSubscriber:E}=this;this._context=null,this._parentSubscriber=null,E.unsubscribe()}}},42654:(Ze,ge,d)=>{"use strict";d.d(ge,{w:()=>A});var e=d(66688),f=d(57830),g=d(67043);const m=(()=>{function b(R){return Error.call(this),this.message=R?`${R.length} errors occurred during unsubscription:\n${R.map((E,h)=>`${h+1}) ${E.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=R,this}return b.prototype=Object.create(Error.prototype),b})();class A{constructor(R){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,R&&(this._unsubscribe=R)}unsubscribe(){let R;if(this.closed)return;let{_parentOrParents:E,_unsubscribe:h,_subscriptions:x}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,E instanceof A)E.remove(this);else if(null!==E)for(let k=0;kR.concat(E instanceof m?E.errors:E),[])}A.EMPTY=((b=new A).closed=!0,b)},92830:(Ze,ge,d)=>{"use strict";d.d(ge,{v:()=>f});let e=!1;const f={Promise:void 0,set useDeprecatedSynchronousErrorHandling(g){if(g){const v=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+v.stack)}else e&&console.log("RxJS: Back to a better error behavior. Thank you. <3");e=g},get useDeprecatedSynchronousErrorHandling(){return e}}},71762:(Ze,ge,d)=>{"use strict";d.d(ge,{c:()=>m,N:()=>A});var e=d(8929),f=d(56498),g=d(42654),v=d(74327);class m extends f.y{constructor(h,x){super(),this.source=h,this.subjectFactory=x,this._refCount=0,this._isComplete=!1}_subscribe(h){return this.getSubject().subscribe(h)}getSubject(){const h=this._subject;return(!h||h.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let h=this._connection;return h||(this._isComplete=!1,h=this._connection=new g.w,h.add(this.source.subscribe(new s(this.getSubject(),this))),h.closed&&(this._connection=null,h=g.w.EMPTY)),h}refCount(){return(0,v.x)()(this)}}const A=(()=>{const E=m.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:E._subscribe},_isComplete:{value:E._isComplete,writable:!0},getSubject:{value:E.getSubject},connect:{value:E.connect},refCount:{value:E.refCount}}})();class s extends e.Yc{constructor(h,x){super(h),this.connectable=x}_error(h){this._unsubscribe(),super._error(h)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const h=this.connectable;if(h){this.connectable=null;const x=h._connection;h._refCount=0,h._subject=null,h._connection=null,x&&x.unsubscribe()}}}},36053:(Ze,ge,d)=>{"use strict";d.d(ge,{aj:()=>s});var e=d(72866),f=d(66688),g=d(826),v=d(69054),m=d(33009);const A={};function s(...E){let h=null,x=null;return(0,e.K)(E[E.length-1])&&(x=E.pop()),"function"==typeof E[E.length-1]&&(h=E.pop()),1===E.length&&(0,f.k)(E[0])&&(E=E[0]),(0,m.n)(E,x).lift(new b(h))}class b{constructor(h){this.resultSelector=h}call(h,x){return x.subscribe(new R(h,this.resultSelector))}}class R extends g.L{constructor(h,x){super(h),this.resultSelector=x,this.active=0,this.values=[],this.observables=[]}_next(h){this.values.push(A),this.observables.push(h)}_complete(){const h=this.observables,x=h.length;if(0===x)this.destination.complete();else{this.active=x,this.toRespond=x;for(let k=0;k{"use strict";d.d(ge,{z:()=>v});var e=d(21086),f=d(89146);function v(...m){return function g(){return(0,f.J)(1)}()((0,e.of)(...m))}},88514:(Ze,ge,d)=>{"use strict";d.d(ge,{P:()=>v});var e=d(56498),f=d(5254),g=d(68896);function v(m){return new e.y(A=>{let s;try{s=m()}catch(R){return void A.error(R)}return(s?(0,f.D)(s):(0,g.c)()).subscribe(A)})}},68896:(Ze,ge,d)=>{"use strict";d.d(ge,{E:()=>f,c:()=>g});var e=d(56498);const f=new e.y(m=>m.complete());function g(m){return m?function v(m){return new e.y(A=>m.schedule(()=>A.complete()))}(m):f}},30567:(Ze,ge,d)=>{"use strict";d.d(ge,{D:()=>A});var e=d(56498),f=d(66688),g=d(24850),v=d(57830),m=d(5254);function A(...b){if(1===b.length){const R=b[0];if((0,f.k)(R))return s(R,null);if((0,v.K)(R)&&Object.getPrototypeOf(R)===Object.prototype){const E=Object.keys(R);return s(E.map(h=>R[h]),E)}}if("function"==typeof b[b.length-1]){const R=b.pop();return s(b=1===b.length&&(0,f.k)(b[0])?b[0]:b,null).pipe((0,g.U)(E=>R(...E)))}return s(b,null)}function s(b,R){return new e.y(E=>{const h=b.length;if(0===h)return void E.complete();const x=new Array(h);let k=0,G=0;for(let X=0;X{re||(re=!0,G++),x[X]=Ne},error:Ne=>E.error(Ne),complete:()=>{k++,(k===h||!re)&&(G===h&&E.next(R?R.reduce((Ne,ce,Pe)=>(Ne[ce]=x[Pe],Ne),{}):x),E.complete())}}))}})}},5254:(Ze,ge,d)=>{"use strict";d.d(ge,{D:()=>X});var e=d(56498),f=d(59249),g=d(42654),v=d(93821),s=d(66454),b=d(5430),h=d(98955),x=d(58515);function X(he,re){return re?function G(he,re){if(null!=he){if(function E(he){return he&&"function"==typeof he[v.L]}(he))return function m(he,re){return new e.y(Ne=>{const ce=new g.w;return ce.add(re.schedule(()=>{const Pe=he[v.L]();ce.add(Pe.subscribe({next(se){ce.add(re.schedule(()=>Ne.next(se)))},error(se){ce.add(re.schedule(()=>Ne.error(se)))},complete(){ce.add(re.schedule(()=>Ne.complete()))}}))})),ce})}(he,re);if((0,h.t)(he))return function A(he,re){return new e.y(Ne=>{const ce=new g.w;return ce.add(re.schedule(()=>he.then(Pe=>{ce.add(re.schedule(()=>{Ne.next(Pe),ce.add(re.schedule(()=>Ne.complete()))}))},Pe=>{ce.add(re.schedule(()=>Ne.error(Pe)))}))),ce})}(he,re);if((0,x.z)(he))return(0,s.r)(he,re);if(function k(he){return he&&"function"==typeof he[b.hZ]}(he)||"string"==typeof he)return function R(he,re){if(!he)throw new Error("Iterable cannot be null");return new e.y(Ne=>{const ce=new g.w;let Pe;return ce.add(()=>{Pe&&"function"==typeof Pe.return&&Pe.return()}),ce.add(re.schedule(()=>{Pe=he[b.hZ](),ce.add(re.schedule(function(){if(Ne.closed)return;let se,V;try{const F=Pe.next();se=F.value,V=F.done}catch(F){return void Ne.error(F)}V?Ne.complete():(Ne.next(se),this.schedule())}))})),ce})}(he,re)}throw new TypeError((null!==he&&typeof he||he)+" is not observable")}(he,re):he instanceof e.y?he:new e.y((0,f.s)(he))}},33009:(Ze,ge,d)=>{"use strict";d.d(ge,{n:()=>v});var e=d(56498),f=d(13650),g=d(66454);function v(m,A){return A?(0,g.r)(m,A):new e.y((0,f.V)(m))}},23753:(Ze,ge,d)=>{"use strict";d.d(ge,{R:()=>A});var e=d(56498),f=d(66688),g=d(67043),v=d(24850);function A(h,x,k,G){return(0,g.m)(k)&&(G=k,k=void 0),G?A(h,x,k).pipe((0,v.U)(X=>(0,f.k)(X)?G(...X):G(X))):new e.y(X=>{s(h,x,function he(re){X.next(arguments.length>1?Array.prototype.slice.call(arguments):re)},X,k)})}function s(h,x,k,G,X){let he;if(function E(h){return h&&"function"==typeof h.addEventListener&&"function"==typeof h.removeEventListener}(h)){const re=h;h.addEventListener(x,k,X),he=()=>re.removeEventListener(x,k,X)}else if(function R(h){return h&&"function"==typeof h.on&&"function"==typeof h.off}(h)){const re=h;h.on(x,k),he=()=>re.off(x,k)}else if(function b(h){return h&&"function"==typeof h.addListener&&"function"==typeof h.removeListener}(h)){const re=h;h.addListener(x,k),he=()=>re.removeListener(x,k)}else{if(!h||!h.length)throw new TypeError("Invalid event target");for(let re=0,Ne=h.length;re{"use strict";d.d(ge,{F:()=>v});var e=d(56498),f=d(20353),g=d(84241);function v(A=0,s=f.P){return(!(0,g.k)(A)||A<0)&&(A=0),(!s||"function"!=typeof s.schedule)&&(s=f.P),new e.y(b=>(b.add(s.schedule(m,A,{subscriber:b,counter:0,period:A})),b))}function m(A){const{subscriber:s,counter:b,period:R}=A;s.next(b),this.schedule({subscriber:s,counter:b+1,period:R},R)}},36787:(Ze,ge,d)=>{"use strict";d.d(ge,{T:()=>m});var e=d(56498),f=d(72866),g=d(89146),v=d(33009);function m(...A){let s=Number.POSITIVE_INFINITY,b=null,R=A[A.length-1];return(0,f.K)(R)?(b=A.pop(),A.length>1&&"number"==typeof A[A.length-1]&&(s=A.pop())):"number"==typeof R&&(s=A.pop()),null===b&&1===A.length&&A[0]instanceof e.y?A[0]:(0,g.J)(s)((0,v.n)(A,b))}},21086:(Ze,ge,d)=>{"use strict";d.d(ge,{of:()=>v});var e=d(72866),f=d(33009),g=d(66454);function v(...m){let A=m[m.length-1];return(0,e.K)(A)?(m.pop(),(0,g.r)(m,A)):(0,f.n)(m)}},61946:(Ze,ge,d)=>{"use strict";d.d(ge,{S3:()=>m});var e=d(66688),f=d(33009),g=d(826),v=d(69054);function m(...b){if(1===b.length){if(!(0,e.k)(b[0]))return b[0];b=b[0]}return(0,f.n)(b,void 0).lift(new A)}class A{call(R,E){return E.subscribe(new s(R))}}class s extends g.L{constructor(R){super(R),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(R){this.observables.push(R)}_complete(){const R=this.observables,E=R.length;if(0===E)this.destination.complete();else{for(let h=0;h{"use strict";d.d(ge,{_:()=>f});var e=d(56498);function f(v,m){return new e.y(m?A=>m.schedule(g,0,{error:v,subscriber:A}):A=>A.error(v))}function g({error:v,subscriber:m}){m.error(v)}},98723:(Ze,ge,d)=>{"use strict";d.d(ge,{H:()=>m});var e=d(56498),f=d(20353),g=d(84241),v=d(72866);function m(s=0,b,R){let E=-1;return(0,g.k)(b)?E=Number(b)<1?1:Number(b):(0,v.K)(b)&&(R=b),(0,v.K)(R)||(R=f.P),new e.y(h=>{const x=(0,g.k)(s)?s:+s-R.now();return R.schedule(A,x,{index:0,period:E,subscriber:h})})}function A(s){const{index:b,period:R,subscriber:E}=s;if(E.next(b),!E.closed){if(-1===R)return E.complete();s.index=b+1,this.schedule(s,R)}}},57138:(Ze,ge,d)=>{"use strict";d.d(ge,{e:()=>b});var e=d(20353),f=d(826),g=d(69054);class m{constructor(E){this.durationSelector=E}call(E,h){return h.subscribe(new A(E,this.durationSelector))}}class A extends f.L{constructor(E,h){super(E),this.durationSelector=h,this.hasValue=!1}_next(E){if(this.value=E,this.hasValue=!0,!this.throttled){let h;try{const{durationSelector:k}=this;h=k(E)}catch(k){return this.destination.error(k)}const x=(0,g.D)(this,h);!x||x.closed?this.clearThrottle():this.add(this.throttled=x)}}clearThrottle(){const{value:E,hasValue:h,throttled:x}=this;x&&(this.remove(x),this.throttled=null,x.unsubscribe()),h&&(this.value=null,this.hasValue=!1,this.destination.next(E))}notifyNext(E,h,x,k){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var s=d(98723);function b(R,E=e.P){return function v(R){return function(h){return h.lift(new m(R))}}(()=>(0,s.H)(R,E))}},27221:(Ze,ge,d)=>{"use strict";d.d(ge,{K:()=>v});var e=d(826),f=d(51869),g=d(69054);function v(s){return function(R){const E=new m(s),h=R.lift(E);return E.caught=h}}class m{constructor(b){this.selector=b}call(b,R){return R.subscribe(new A(b,this.selector,this.caught))}}class A extends e.L{constructor(b,R,E){super(b),this.selector=R,this.caught=E}error(b){if(!this.isStopped){let R;try{R=this.selector(b,this.caught)}catch(x){return void super.error(x)}this._unsubscribeAndRecycle();const E=new f.d(this,void 0,void 0);this.add(E);const h=(0,g.D)(this,R,void 0,void 0,E);h!==E&&this.add(h)}}}},21406:(Ze,ge,d)=>{"use strict";d.d(ge,{b:()=>f});var e=d(61709);function f(g,v){return(0,e.zg)(g,v,1)}},80013:(Ze,ge,d)=>{"use strict";d.d(ge,{b:()=>g});var e=d(43489),f=d(20353);function g(s,b=f.P){return R=>R.lift(new v(s,b))}class v{constructor(b,R){this.dueTime=b,this.scheduler=R}call(b,R){return R.subscribe(new m(b,this.dueTime,this.scheduler))}}class m extends e.L{constructor(b,R,E){super(b),this.dueTime=R,this.scheduler=E,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(b){this.clearDebounce(),this.lastValue=b,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(A,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:b}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(b)}}clearDebounce(){const b=this.debouncedSubscription;null!==b&&(this.remove(b),b.unsubscribe(),this.debouncedSubscription=null)}}function A(s){s.debouncedNext()}},47314:(Ze,ge,d)=>{"use strict";d.d(ge,{d:()=>f});var e=d(43489);function f(m=null){return A=>A.lift(new g(m))}class g{constructor(A){this.defaultValue=A}call(A,s){return s.subscribe(new v(A,this.defaultValue))}}class v extends e.L{constructor(A,s){super(A),this.defaultValue=s,this.isEmpty=!0}_next(A){this.isEmpty=!1,this.destination.next(A)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},40943:(Ze,ge,d)=>{"use strict";d.d(ge,{g:()=>m});var e=d(20353),f=d(82697),g=d(43489),v=d(29312);function m(R,E=e.P){const x=(0,f.J)(R)?+R-E.now():Math.abs(R);return k=>k.lift(new A(x,E))}class A{constructor(E,h){this.delay=E,this.scheduler=h}call(E,h){return h.subscribe(new s(E,this.delay,this.scheduler))}}class s extends g.L{constructor(E,h,x){super(E),this.delay=h,this.scheduler=x,this.queue=[],this.active=!1,this.errored=!1}static dispatch(E){const h=E.source,x=h.queue,k=E.scheduler,G=E.destination;for(;x.length>0&&x[0].time-k.now()<=0;)x.shift().notification.observe(G);if(x.length>0){const X=Math.max(0,x[0].time-k.now());this.schedule(E,X)}else this.unsubscribe(),h.active=!1}_schedule(E){this.active=!0,this.destination.add(E.schedule(s.dispatch,this.delay,{source:this,destination:this.destination,scheduler:E}))}scheduleNotification(E){if(!0===this.errored)return;const h=this.scheduler,x=new b(h.now()+this.delay,E);this.queue.push(x),!1===this.active&&this._schedule(h)}_next(E){this.scheduleNotification(v.P.createNext(E))}_error(E){this.errored=!0,this.queue=[],this.destination.error(E),this.unsubscribe()}_complete(){this.scheduleNotification(v.P.createComplete()),this.unsubscribe()}}class b{constructor(E,h){this.time=E,this.notification=h}}},75778:(Ze,ge,d)=>{"use strict";d.d(ge,{x:()=>f});var e=d(43489);function f(m,A){return s=>s.lift(new g(m,A))}class g{constructor(A,s){this.compare=A,this.keySelector=s}call(A,s){return s.subscribe(new v(A,this.compare,this.keySelector))}}class v extends e.L{constructor(A,s,b){super(A),this.keySelector=b,this.hasKey=!1,"function"==typeof s&&(this.compare=s)}compare(A,s){return A===s}_next(A){let s;try{const{keySelector:R}=this;s=R?R(A):A}catch(R){return this.destination.error(R)}let b=!1;if(this.hasKey)try{const{compare:R}=this;b=R(this.key,s)}catch(R){return this.destination.error(R)}else this.hasKey=!0;b||(this.key=s,this.destination.next(A))}}},92198:(Ze,ge,d)=>{"use strict";d.d(ge,{h:()=>f});var e=d(43489);function f(m,A){return function(b){return b.lift(new g(m,A))}}class g{constructor(A,s){this.predicate=A,this.thisArg=s}call(A,s){return s.subscribe(new v(A,this.predicate,this.thisArg))}}class v extends e.L{constructor(A,s,b){super(A),this.predicate=s,this.thisArg=b,this.count=0}_next(A){let s;try{s=this.predicate.call(this.thisArg,A,this.count++)}catch(b){return void this.destination.error(b)}s&&this.destination.next(A)}}},40537:(Ze,ge,d)=>{"use strict";d.d(ge,{x:()=>g});var e=d(43489),f=d(42654);function g(A){return s=>s.lift(new v(A))}class v{constructor(s){this.callback=s}call(s,b){return b.subscribe(new m(s,this.callback))}}class m extends e.L{constructor(s,b){super(s),this.add(new f.w(b))}}},87224:(Ze,ge,d)=>{"use strict";d.d(ge,{P:()=>s});var e=d(84450),f=d(92198),g=d(72986),v=d(47314),m=d(34907),A=d(35379);function s(b,R){const E=arguments.length>=2;return h=>h.pipe(b?(0,f.h)((x,k)=>b(x,k,h)):A.y,(0,g.q)(1),E?(0,v.d)(R):(0,m.T)(()=>new e.K))}},24850:(Ze,ge,d)=>{"use strict";d.d(ge,{U:()=>f});var e=d(43489);function f(m,A){return function(b){if("function"!=typeof m)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return b.lift(new g(m,A))}}class g{constructor(A,s){this.project=A,this.thisArg=s}call(A,s){return s.subscribe(new v(A,this.project,this.thisArg))}}class v extends e.L{constructor(A,s,b){super(A),this.project=s,this.count=0,this.thisArg=b||this}_next(A){let s;try{s=this.project.call(this.thisArg,A,this.count++)}catch(b){return void this.destination.error(b)}this.destination.next(s)}}},77604:(Ze,ge,d)=>{"use strict";d.d(ge,{h:()=>f});var e=d(43489);function f(m){return A=>A.lift(new g(m))}class g{constructor(A){this.value=A}call(A,s){return s.subscribe(new v(A,this.value))}}class v extends e.L{constructor(A,s){super(A),this.value=s}_next(A){this.destination.next(this.value)}}},89146:(Ze,ge,d)=>{"use strict";d.d(ge,{J:()=>g});var e=d(61709),f=d(35379);function g(v=Number.POSITIVE_INFINITY){return(0,e.zg)(f.y,v)}},61709:(Ze,ge,d)=>{"use strict";d.d(ge,{zg:()=>A});var e=d(69054),f=d(826),g=d(51869),v=d(24850),m=d(5254);function A(R,E,h=Number.POSITIVE_INFINITY){return"function"==typeof E?x=>x.pipe(A((k,G)=>(0,m.D)(R(k,G)).pipe((0,v.U)((X,he)=>E(k,X,G,he))),h)):("number"==typeof E&&(h=E),x=>x.lift(new s(R,h)))}class s{constructor(E,h=Number.POSITIVE_INFINITY){this.project=E,this.concurrent=h}call(E,h){return h.subscribe(new b(E,this.project,this.concurrent))}}class b extends f.L{constructor(E,h,x=Number.POSITIVE_INFINITY){super(E),this.project=h,this.concurrent=x,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(E){this.active0?this._next(h.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},74327:(Ze,ge,d)=>{"use strict";d.d(ge,{x:()=>f});var e=d(43489);function f(){return function(A){return A.lift(new g(A))}}class g{constructor(A){this.connectable=A}call(A,s){const{connectable:b}=this;b._refCount++;const R=new v(A,b),E=s.subscribe(R);return R.closed||(R.connection=b.connect()),E}}class v extends e.L{constructor(A,s){super(A),this.connectable=s}_unsubscribe(){const{connectable:A}=this;if(!A)return void(this.connection=null);this.connectable=null;const s=A._refCount;if(s<=0)return void(this.connection=null);if(A._refCount=s-1,s>1)return void(this.connection=null);const{connection:b}=this,R=A._connection;this.connection=null,R&&(!b||R===b)&&R.unsubscribe()}}},92014:(Ze,ge,d)=>{"use strict";d.d(ge,{R:()=>f});var e=d(43489);function f(m,A){let s=!1;return arguments.length>=2&&(s=!0),function(R){return R.lift(new g(m,A,s))}}class g{constructor(A,s,b=!1){this.accumulator=A,this.seed=s,this.hasSeed=b}call(A,s){return s.subscribe(new v(A,this.accumulator,this.seed,this.hasSeed))}}class v extends e.L{constructor(A,s,b,R){super(A),this.accumulator=s,this._seed=b,this.hasSeed=R,this.index=0}get seed(){return this._seed}set seed(A){this.hasSeed=!0,this._seed=A}_next(A){if(this.hasSeed)return this._tryNext(A);this.seed=A,this.destination.next(A)}_tryNext(A){const s=this.index++;let b;try{b=this.accumulator(this.seed,A,s)}catch(R){this.destination.error(R)}this.seed=b,this.destination.next(b)}}},12474:(Ze,ge,d)=>{"use strict";d.d(ge,{B:()=>s});var e=d(71762);class g{constructor(R,E){this.subjectFactory=R,this.selector=E}call(R,E){const{selector:h}=this,x=this.subjectFactory(),k=h(x).subscribe(R);return k.add(E.subscribe(x)),k}}var v=d(74327),m=d(8929);function A(){return new m.xQ}function s(){return b=>(0,v.x)()(function f(b,R){return function(h){let x;if(x="function"==typeof b?b:function(){return b},"function"==typeof R)return h.lift(new g(x,R));const k=Object.create(h,e.N);return k.source=h,k.subjectFactory=x,k}}(A)(b))}},5154:(Ze,ge,d)=>{"use strict";d.d(ge,{d:()=>f});var e=d(96831);function f(v,m,A){let s;return s=v&&"object"==typeof v?v:{bufferSize:v,windowTime:m,refCount:!1,scheduler:A},b=>b.lift(function g({bufferSize:v=Number.POSITIVE_INFINITY,windowTime:m=Number.POSITIVE_INFINITY,refCount:A,scheduler:s}){let b,E,R=0,h=!1,x=!1;return function(G){R++,(!b||h)&&(h=!1,b=new e.t(v,m,s),E=G.subscribe({next(he){b.next(he)},error(he){h=!0,b.error(he)},complete(){x=!0,E=void 0,b.complete()}}));const X=b.subscribe(this);this.add(()=>{R--,X.unsubscribe(),E&&!x&&A&&0===R&&(E.unsubscribe(),E=void 0,b=void 0)})}}(s))}},31307:(Ze,ge,d)=>{"use strict";d.d(ge,{T:()=>f});var e=d(43489);function f(m){return A=>A.lift(new g(m))}class g{constructor(A){this.total=A}call(A,s){return s.subscribe(new v(A,this.total))}}class v extends e.L{constructor(A,s){super(A),this.total=s,this.count=0}_next(A){++this.count>this.total&&this.destination.next(A)}}},1059:(Ze,ge,d)=>{"use strict";d.d(ge,{O:()=>g});var e=d(61221),f=d(72866);function g(...v){const m=v[v.length-1];return(0,f.K)(m)?(v.pop(),A=>(0,e.z)(v,A,m)):A=>(0,e.z)(v,A)}},87545:(Ze,ge,d)=>{"use strict";d.d(ge,{w:()=>A});var e=d(826),f=d(51869),g=d(69054),v=d(24850),m=d(5254);function A(R,E){return"function"==typeof E?h=>h.pipe(A((x,k)=>(0,m.D)(R(x,k)).pipe((0,v.U)((G,X)=>E(x,G,k,X))))):h=>h.lift(new s(R))}class s{constructor(E){this.project=E}call(E,h){return h.subscribe(new b(E,this.project))}}class b extends e.L{constructor(E,h){super(E),this.project=h,this.index=0}_next(E){let h;const x=this.index++;try{h=this.project(E,x)}catch(k){return void this.destination.error(k)}this._innerSub(h,E,x)}_innerSub(E,h,x){const k=this.innerSubscription;k&&k.unsubscribe();const G=new f.d(this,h,x),X=this.destination;X.add(G),this.innerSubscription=(0,g.D)(this,E,void 0,void 0,G),this.innerSubscription!==G&&X.add(this.innerSubscription)}_complete(){const{innerSubscription:E}=this;(!E||E.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(E){this.destination.remove(E),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(E,h,x,k,G){this.destination.next(h)}}},72986:(Ze,ge,d)=>{"use strict";d.d(ge,{q:()=>v});var e=d(43489),f=d(94231),g=d(68896);function v(s){return b=>0===s?(0,g.c)():b.lift(new m(s))}class m{constructor(b){if(this.total=b,this.total<0)throw new f.W}call(b,R){return R.subscribe(new A(b,this.total))}}class A extends e.L{constructor(b,R){super(b),this.total=R,this.count=0}_next(b){const R=this.total,E=++this.count;E<=R&&(this.destination.next(b),E===R&&(this.destination.complete(),this.unsubscribe()))}}},92821:(Ze,ge,d)=>{"use strict";d.d(ge,{h:()=>v});var e=d(43489),f=d(94231),g=d(68896);function v(s){return function(R){return 0===s?(0,g.c)():R.lift(new m(s))}}class m{constructor(b){if(this.total=b,this.total<0)throw new f.W}call(b,R){return R.subscribe(new A(b,this.total))}}class A extends e.L{constructor(b,R){super(b),this.total=R,this.ring=new Array,this.count=0}_next(b){const R=this.ring,E=this.total,h=this.count++;R.length0){const E=this.count>=this.total?this.total:this.count,h=this.ring;for(let x=0;x{"use strict";d.d(ge,{R:()=>g});var e=d(826),f=d(69054);function g(A){return s=>s.lift(new v(A))}class v{constructor(s){this.notifier=s}call(s,b){const R=new m(s),E=(0,f.D)(R,this.notifier);return E&&!R.seenValue?(R.add(E),b.subscribe(R)):R}}class m extends e.L{constructor(s){super(s),this.seenValue=!1}notifyNext(s,b,R,E,h){this.seenValue=!0,this.complete()}notifyComplete(){}}},22868:(Ze,ge,d)=>{"use strict";d.d(ge,{b:()=>v});var e=d(43489);function f(){}var g=d(67043);function v(s,b,R){return function(h){return h.lift(new m(s,b,R))}}class m{constructor(b,R,E){this.nextOrObserver=b,this.error=R,this.complete=E}call(b,R){return R.subscribe(new A(b,this.nextOrObserver,this.error,this.complete))}}class A extends e.L{constructor(b,R,E,h){super(b),this._tapNext=f,this._tapError=f,this._tapComplete=f,this._tapError=E||f,this._tapComplete=h||f,(0,g.m)(R)?(this._context=this,this._tapNext=R):R&&(this._context=R,this._tapNext=R.next||f,this._tapError=R.error||f,this._tapComplete=R.complete||f)}_next(b){try{this._tapNext.call(this._context,b)}catch(R){return void this.destination.error(R)}this.destination.next(b)}_error(b){try{this._tapError.call(this._context,b)}catch(R){return void this.destination.error(R)}this.destination.error(b)}_complete(){try{this._tapComplete.call(this._context)}catch(b){return void this.destination.error(b)}return this.destination.complete()}}},34907:(Ze,ge,d)=>{"use strict";d.d(ge,{T:()=>g});var e=d(84450),f=d(43489);function g(s=A){return b=>b.lift(new v(s))}class v{constructor(b){this.errorFactory=b}call(b,R){return R.subscribe(new m(b,this.errorFactory))}}class m extends f.L{constructor(b,R){super(b),this.errorFactory=R,this.hasValue=!1}_next(b){this.hasValue=!0,this.destination.next(b)}_complete(){if(this.hasValue)return this.destination.complete();{let b;try{b=this.errorFactory()}catch(R){b=R}this.destination.error(b)}}}function A(){return new e.K}},46227:(Ze,ge,d)=>{"use strict";d.d(ge,{V:()=>h});var e=d(20353);const g=(()=>{function x(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return x.prototype=Object.create(Error.prototype),x})();var v=d(82697),m=d(826),A=d(69054);class b{constructor(k,G,X,he){this.waitFor=k,this.absoluteTimeout=G,this.withObservable=X,this.scheduler=he}call(k,G){return G.subscribe(new R(k,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class R extends m.L{constructor(k,G,X,he,re){super(k),this.absoluteTimeout=G,this.waitFor=X,this.withObservable=he,this.scheduler=re,this.action=null,this.scheduleTimeout()}static dispatchTimeout(k){const{withObservable:G}=k;k._unsubscribeAndRecycle(),k.add((0,A.D)(k,G))}scheduleTimeout(){const{action:k}=this;k?this.action=k.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(R.dispatchTimeout,this.waitFor,this))}_next(k){this.absoluteTimeout||this.scheduleTimeout(),super._next(k)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var E=d(61737);function h(x,k=e.P){return function s(x,k,G=e.P){return X=>{let he=(0,v.J)(x),re=he?+x-G.now():Math.abs(x);return X.lift(new b(re,he,k,G))}}(x,(0,E._)(new g),k)}},66454:(Ze,ge,d)=>{"use strict";d.d(ge,{r:()=>g});var e=d(56498),f=d(42654);function g(v,m){return new e.y(A=>{const s=new f.w;let b=0;return s.add(m.schedule(function(){b!==v.length?(A.next(v[b++]),A.closed||s.add(this.schedule())):A.complete()})),s})}},56686:(Ze,ge,d)=>{"use strict";d.d(ge,{o:()=>g});var e=d(42654);class f extends e.w{constructor(m,A){super()}schedule(m,A=0){return this}}class g extends f{constructor(m,A){super(m,A),this.scheduler=m,this.work=A,this.pending=!1}schedule(m,A=0){if(this.closed)return this;this.state=m;const s=this.id,b=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(b,s,A)),this.pending=!0,this.delay=A,this.id=this.id||this.requestAsyncId(b,this.id,A),this}requestAsyncId(m,A,s=0){return setInterval(m.flush.bind(m,this),s)}recycleAsyncId(m,A,s=0){if(null!==s&&this.delay===s&&!1===this.pending)return A;clearInterval(A)}execute(m,A){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const s=this._execute(m,A);if(s)return s;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(m,A){let b,s=!1;try{this.work(m)}catch(R){s=!0,b=!!R&&R||new Error(R)}if(s)return this.unsubscribe(),b}_unsubscribe(){const m=this.id,A=this.scheduler,s=A.actions,b=s.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==b&&s.splice(b,1),null!=m&&(this.id=this.recycleAsyncId(A,m,null)),this.delay=null}}},32268:(Ze,ge,d)=>{"use strict";d.d(ge,{v:()=>f});let e=(()=>{class g{constructor(m,A=g.now){this.SchedulerAction=m,this.now=A}schedule(m,A=0,s){return new this.SchedulerAction(this,m).schedule(s,A)}}return g.now=()=>Date.now(),g})();class f extends e{constructor(v,m=e.now){super(v,()=>f.delegate&&f.delegate!==this?f.delegate.now():m()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(v,m=0,A){return f.delegate&&f.delegate!==this?f.delegate.schedule(v,m,A):super.schedule(v,m,A)}flush(v){const{actions:m}=this;if(this.active)return void m.push(v);let A;this.active=!0;do{if(A=v.execute(v.state,v.delay))break}while(v=m.shift());if(this.active=!1,A){for(;v=m.shift();)v.unsubscribe();throw A}}}},90352:(Ze,ge,d)=>{"use strict";d.d(ge,{r:()=>m});var e=d(56686),g=d(32268);const m=new class v extends g.v{flush(s){this.active=!0,this.scheduled=void 0;const{actions:b}=this;let R,E=-1,h=b.length;s=s||b.shift();do{if(R=s.execute(s.state,s.delay))break}while(++E0?super.requestAsyncId(s,b,R):(s.actions.push(this),s.scheduled||(s.scheduled=requestAnimationFrame(()=>s.flush(null))))}recycleAsyncId(s,b,R=0){if(null!==R&&R>0||null===R&&this.delay>0)return super.recycleAsyncId(s,b,R);0===s.actions.length&&(cancelAnimationFrame(b),s.scheduled=void 0)}})},8139:(Ze,ge,d)=>{"use strict";d.d(ge,{e:()=>h});let e=1;const f=Promise.resolve(),g={};function v(x){return x in g&&(delete g[x],!0)}const m={setImmediate(x){const k=e++;return g[k]=!0,f.then(()=>v(k)&&x()),k},clearImmediate(x){v(x)}};var s=d(56686),R=d(32268);const h=new class E extends R.v{flush(k){this.active=!0,this.scheduled=void 0;const{actions:G}=this;let X,he=-1,re=G.length;k=k||G.shift();do{if(X=k.execute(k.state,k.delay))break}while(++he0?super.requestAsyncId(k,G,X):(k.actions.push(this),k.scheduled||(k.scheduled=m.setImmediate(k.flush.bind(k,null))))}recycleAsyncId(k,G,X=0){if(null!==X&&X>0||null===X&&this.delay>0)return super.recycleAsyncId(k,G,X);0===k.actions.length&&(m.clearImmediate(G),k.scheduled=void 0)}})},20353:(Ze,ge,d)=>{"use strict";d.d(ge,{P:()=>g});var e=d(56686);const g=new(d(32268).v)(e.o)},5430:(Ze,ge,d)=>{"use strict";d.d(ge,{hZ:()=>f});const f=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},93821:(Ze,ge,d)=>{"use strict";d.d(ge,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},57668:(Ze,ge,d)=>{"use strict";d.d(ge,{b:()=>e});const e="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},94231:(Ze,ge,d)=>{"use strict";d.d(ge,{W:()=>f});const f=(()=>{function g(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return g.prototype=Object.create(Error.prototype),g})()},84450:(Ze,ge,d)=>{"use strict";d.d(ge,{K:()=>f});const f=(()=>{function g(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return g.prototype=Object.create(Error.prototype),g})()},95279:(Ze,ge,d)=>{"use strict";d.d(ge,{N:()=>f});const f=(()=>{function g(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return g.prototype=Object.create(Error.prototype),g})()},22782:(Ze,ge,d)=>{"use strict";function e(f){setTimeout(()=>{throw f},0)}d.d(ge,{z:()=>e})},35379:(Ze,ge,d)=>{"use strict";function e(f){return f}d.d(ge,{y:()=>e})},66688:(Ze,ge,d)=>{"use strict";d.d(ge,{k:()=>e});const e=Array.isArray||(f=>f&&"number"==typeof f.length)},58515:(Ze,ge,d)=>{"use strict";d.d(ge,{z:()=>e});const e=f=>f&&"number"==typeof f.length&&"function"!=typeof f},82697:(Ze,ge,d)=>{"use strict";function e(f){return f instanceof Date&&!isNaN(+f)}d.d(ge,{J:()=>e})},67043:(Ze,ge,d)=>{"use strict";function e(f){return"function"==typeof f}d.d(ge,{m:()=>e})},84241:(Ze,ge,d)=>{"use strict";d.d(ge,{k:()=>f});var e=d(66688);function f(g){return!(0,e.k)(g)&&g-parseFloat(g)+1>=0}},57830:(Ze,ge,d)=>{"use strict";function e(f){return null!==f&&"object"==typeof f}d.d(ge,{K:()=>e})},54715:(Ze,ge,d)=>{"use strict";d.d(ge,{b:()=>f});var e=d(56498);function f(g){return!!g&&(g instanceof e.y||"function"==typeof g.lift&&"function"==typeof g.subscribe)}},98955:(Ze,ge,d)=>{"use strict";function e(f){return!!f&&"function"!=typeof f.subscribe&&"function"==typeof f.then}d.d(ge,{t:()=>e})},72866:(Ze,ge,d)=>{"use strict";function e(f){return f&&"function"==typeof f.schedule}d.d(ge,{K:()=>e})},4843:(Ze,ge,d)=>{"use strict";d.d(ge,{z:()=>f,U:()=>g});var e=d(35379);function f(...v){return g(v)}function g(v){return 0===v.length?e.y:1===v.length?v[0]:function(A){return v.reduce((s,b)=>b(s),A)}}},59249:(Ze,ge,d)=>{"use strict";d.d(ge,{s:()=>h});var e=d(13650),f=d(22782),v=d(5430),A=d(93821),b=d(58515),R=d(98955),E=d(57830);const h=x=>{if(x&&"function"==typeof x[A.L])return(x=>k=>{const G=x[A.L]();if("function"!=typeof G.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return G.subscribe(k)})(x);if((0,b.z)(x))return(0,e.V)(x);if((0,R.t)(x))return(x=>k=>(x.then(G=>{k.closed||(k.next(G),k.complete())},G=>k.error(G)).then(null,f.z),k))(x);if(x&&"function"==typeof x[v.hZ])return(x=>k=>{const G=x[v.hZ]();for(;;){const X=G.next();if(X.done){k.complete();break}if(k.next(X.value),k.closed)break}return"function"==typeof G.return&&k.add(()=>{G.return&&G.return()}),k})(x);{const G=`You provided ${(0,E.K)(x)?"an invalid object":`'${x}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(G)}}},13650:(Ze,ge,d)=>{"use strict";d.d(ge,{V:()=>e});const e=f=>g=>{for(let v=0,m=f.length;v{"use strict";d.d(ge,{D:()=>v});var e=d(51869),f=d(59249),g=d(56498);function v(m,A,s,b,R=new e.d(m,s,b)){if(!R.closed)return A instanceof g.y?A.subscribe(R):(0,f.s)(A)(R)}},70655:(Ze,ge,d)=>{"use strict";function m(pe,Be,Fe,ke){var z,De=arguments.length,be=De<3?Be:null===ke?ke=Object.getOwnPropertyDescriptor(Be,Fe):ke;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)be=Reflect.decorate(pe,Be,Fe,ke);else for(var Ce=pe.length-1;Ce>=0;Ce--)(z=pe[Ce])&&(be=(De<3?z(be):De>3?z(Be,Fe,be):z(Be,Fe))||be);return De>3&&be&&Object.defineProperty(Be,Fe,be),be}function b(pe,Be,Fe,ke){return new(Fe||(Fe=Promise))(function(be,z){function Ce(Ie){try{I(ke.next(Ie))}catch(Re){z(Re)}}function J(Ie){try{I(ke.throw(Ie))}catch(Re){z(Re)}}function I(Ie){Ie.done?be(Ie.value):function De(be){return be instanceof Fe?be:new Fe(function(z){z(be)})}(Ie.value).then(Ce,J)}I((ke=ke.apply(pe,Be||[])).next())})}d.d(ge,{gn:()=>m,mG:()=>b})},41777:(Ze,ge,d)=>{"use strict";d.d(ge,{l3:()=>g,_j:()=>e,LC:()=>f,ZN:()=>Ne,jt:()=>m,pV:()=>k,ru:()=>A,F4:()=>E,IO:()=>X,vP:()=>s,SB:()=>R,oB:()=>b,eR:()=>h,X$:()=>v,ZE:()=>ce,k1:()=>Pe});class e{}class f{}const g="*";function v(se,V){return{type:7,name:se,definitions:V,options:{}}}function m(se,V=null){return{type:4,styles:V,timings:se}}function A(se,V=null){return{type:3,steps:se,options:V}}function s(se,V=null){return{type:2,steps:se,options:V}}function b(se){return{type:6,styles:se,offset:null}}function R(se,V,F){return{type:0,name:se,styles:V,options:F}}function E(se){return{type:5,steps:se}}function h(se,V,F=null){return{type:1,expr:se,animation:V,options:F}}function k(se=null){return{type:9,options:se}}function X(se,V,F=null){return{type:11,selector:se,animation:V,options:F}}function re(se){Promise.resolve(null).then(se)}class Ne{constructor(V=0,F=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=V+F}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}onStart(V){this._onStartFns.push(V)}onDone(V){this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){re(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(V=>V()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(V){this._position=this.totalTime?V*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(V){const F="start"==V?this._onStartFns:this._onDoneFns;F.forEach(W=>W()),F.length=0}}class ce{constructor(V){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=V;let F=0,W=0,te=0;const ae=this.players.length;0==ae?re(()=>this._onFinish()):this.players.forEach(pe=>{pe.onDone(()=>{++F==ae&&this._onFinish()}),pe.onDestroy(()=>{++W==ae&&this._onDestroy()}),pe.onStart(()=>{++te==ae&&this._onStart()})}),this.totalTime=this.players.reduce((pe,Be)=>Math.max(pe,Be.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}init(){this.players.forEach(V=>V.init())}onStart(V){this._onStartFns.push(V)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(V=>V()),this._onStartFns=[])}onDone(V){this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(V=>V.play())}pause(){this.players.forEach(V=>V.pause())}restart(){this.players.forEach(V=>V.restart())}finish(){this._onFinish(),this.players.forEach(V=>V.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(V=>V.destroy()),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}reset(){this.players.forEach(V=>V.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(V){const F=V*this.totalTime;this.players.forEach(W=>{const te=W.totalTime?Math.min(1,F/W.totalTime):1;W.setPosition(te)})}getPosition(){const V=this.players.reduce((F,W)=>null===F||W.totalTime>F.totalTime?W:F,null);return null!=V?V.getPosition():0}beforeDestroy(){this.players.forEach(V=>{V.beforeDestroy&&V.beforeDestroy()})}triggerCallback(V){const F="start"==V?this._onStartFns:this._onDoneFns;F.forEach(W=>W()),F.length=0}}const Pe="!"},15664:(Ze,ge,d)=>{"use strict";d.d(ge,{rt:()=>xt,s1:()=>De,$s:()=>pe,Qr:()=>Et,kH:()=>Vt,mK:()=>S,Em:()=>be,tE:()=>It,qV:()=>M,qm:()=>gt,ic:()=>Ce,Kd:()=>je,X6:()=>n,yG:()=>r});var e=d(69808),f=d(5e3),g=d(70925),v=d(8929),m=d(42654),A=d(591),s=d(21086),b=d(91159),R=d(22868),E=d(80013),h=d(92198),x=d(24850),k=d(72986),G=d(31307),X=d(75778),he=d(7625),re=d(63191),Ne=d(17144);function V(Ve,$e){return(Ve.getAttribute($e)||"").match(/\S+/g)||[]}const W="cdk-describedby-message",te="cdk-describedby-host";let ae=0,pe=(()=>{class Ve{constructor(oe,H){this._platform=H,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+ae++,this._document=oe}describe(oe,H,ee){if(!this._canBeDescribed(oe,H))return;const Y=Be(H,ee);"string"!=typeof H?(Fe(H),this._messageRegistry.set(Y,{messageElement:H,referenceCount:0})):this._messageRegistry.has(Y)||this._createMessageElement(H,ee),this._isElementDescribedByMessage(oe,Y)||this._addMessageReference(oe,Y)}removeDescription(oe,H,ee){var Y;if(!H||!this._isElementNode(oe))return;const Le=Be(H,ee);if(this._isElementDescribedByMessage(oe,Le)&&this._removeMessageReference(oe,Le),"string"==typeof H){const Ye=this._messageRegistry.get(Le);Ye&&0===Ye.referenceCount&&this._deleteMessageElement(Le)}0===(null===(Y=this._messagesContainer)||void 0===Y?void 0:Y.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var oe;const H=this._document.querySelectorAll(`[${te}="${this._id}"]`);for(let ee=0;ee0!=ee.indexOf(W));oe.setAttribute("aria-describedby",H.join(" "))}_addMessageReference(oe,H){const ee=this._messageRegistry.get(H);(function Pe(Ve,$e,oe){const H=V(Ve,$e);H.some(ee=>ee.trim()==oe.trim())||(H.push(oe.trim()),Ve.setAttribute($e,H.join(" ")))})(oe,"aria-describedby",ee.messageElement.id),oe.setAttribute(te,this._id),ee.referenceCount++}_removeMessageReference(oe,H){const ee=this._messageRegistry.get(H);ee.referenceCount--,function se(Ve,$e,oe){const ee=V(Ve,$e).filter(Y=>Y!=oe.trim());ee.length?Ve.setAttribute($e,ee.join(" ")):Ve.removeAttribute($e)}(oe,"aria-describedby",ee.messageElement.id),oe.removeAttribute(te)}_isElementDescribedByMessage(oe,H){const ee=V(oe,"aria-describedby"),Y=this._messageRegistry.get(H),Le=Y&&Y.messageElement.id;return!!Le&&-1!=ee.indexOf(Le)}_canBeDescribed(oe,H){if(!this._isElementNode(oe))return!1;if(H&&"object"==typeof H)return!0;const ee=null==H?"":`${H}`.trim(),Y=oe.getAttribute("aria-label");return!(!ee||Y&&Y.trim()===ee)}_isElementNode(oe){return oe.nodeType===this._document.ELEMENT_NODE}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(f.LFG(e.K0),f.LFG(g.t4))},Ve.\u0275prov=f.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Ve})();function Be(Ve,$e){return"string"==typeof Ve?`${$e||""}/${Ve}`:Ve}function Fe(Ve){Ve.id||(Ve.id=`${W}-${ae++}`)}class ke{constructor($e){this._items=$e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new v.xQ,this._typeaheadSubscription=m.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=oe=>oe.disabled,this._pressedLetters=[],this.tabOut=new v.xQ,this.change=new v.xQ,$e instanceof f.n_E&&$e.changes.subscribe(oe=>{if(this._activeItem){const ee=oe.toArray().indexOf(this._activeItem);ee>-1&&ee!==this._activeItemIndex&&(this._activeItemIndex=ee)}})}skipPredicate($e){return this._skipPredicateFn=$e,this}withWrap($e=!0){return this._wrap=$e,this}withVerticalOrientation($e=!0){return this._vertical=$e,this}withHorizontalOrientation($e){return this._horizontal=$e,this}withAllowedModifierKeys($e){return this._allowedModifierKeys=$e,this}withTypeAhead($e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,R.b)(oe=>this._pressedLetters.push(oe)),(0,E.b)($e),(0,h.h)(()=>this._pressedLetters.length>0),(0,x.U)(()=>this._pressedLetters.join(""))).subscribe(oe=>{const H=this._getItemsArray();for(let ee=1;ee!$e[Y]||this._allowedModifierKeys.indexOf(Y)>-1);switch(oe){case b.Mf:return void this.tabOut.next();case b.JH:if(this._vertical&&ee){this.setNextItemActive();break}return;case b.LH:if(this._vertical&&ee){this.setPreviousItemActive();break}return;case b.SV:if(this._horizontal&&ee){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case b.oh:if(this._horizontal&&ee){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case b.Sd:if(this._homeAndEnd&&ee){this.setFirstItemActive();break}return;case b.uR:if(this._homeAndEnd&&ee){this.setLastItemActive();break}return;default:return void((ee||(0,b.Vb)($e,"shiftKey"))&&($e.key&&1===$e.key.length?this._letterKeyStream.next($e.key.toLocaleUpperCase()):(oe>=b.A&&oe<=b.Z||oe>=b.xE&&oe<=b.aO)&&this._letterKeyStream.next(String.fromCharCode(oe))))}this._pressedLetters=[],$e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem($e){const oe=this._getItemsArray(),H="number"==typeof $e?$e:oe.indexOf($e),ee=oe[H];this._activeItem=null==ee?null:ee,this._activeItemIndex=H}_setActiveItemByDelta($e){this._wrap?this._setActiveInWrapMode($e):this._setActiveInDefaultMode($e)}_setActiveInWrapMode($e){const oe=this._getItemsArray();for(let H=1;H<=oe.length;H++){const ee=(this._activeItemIndex+$e*H+oe.length)%oe.length;if(!this._skipPredicateFn(oe[ee]))return void this.setActiveItem(ee)}}_setActiveInDefaultMode($e){this._setActiveItemByIndex(this._activeItemIndex+$e,$e)}_setActiveItemByIndex($e,oe){const H=this._getItemsArray();if(H[$e]){for(;this._skipPredicateFn(H[$e]);)if(!H[$e+=oe])return;this.setActiveItem($e)}}_getItemsArray(){return this._items instanceof f.n_E?this._items.toArray():this._items}}class De extends ke{setActiveItem($e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem($e),this.activeItem&&this.activeItem.setActiveStyles()}}class be extends ke{constructor(){super(...arguments),this._origin="program"}setFocusOrigin($e){return this._origin=$e,this}setActiveItem($e){super.setActiveItem($e),this.activeItem&&this.activeItem.focus(this._origin)}}let Ce=(()=>{class Ve{constructor(oe){this._platform=oe}isDisabled(oe){return oe.hasAttribute("disabled")}isVisible(oe){return function I(Ve){return!!(Ve.offsetWidth||Ve.offsetHeight||"function"==typeof Ve.getClientRects&&Ve.getClientRects().length)}(oe)&&"visible"===getComputedStyle(oe).visibility}isTabbable(oe){if(!this._platform.isBrowser)return!1;const H=function J(Ve){try{return Ve.frameElement}catch($e){return null}}(function L(Ve){return Ve.ownerDocument&&Ve.ownerDocument.defaultView||window}(oe));if(H&&(-1===nt(H)||!this.isVisible(H)))return!1;let ee=oe.nodeName.toLowerCase(),Y=nt(oe);return oe.hasAttribute("contenteditable")?-1!==Y:!("iframe"===ee||"object"===ee||this._platform.WEBKIT&&this._platform.IOS&&!function st(Ve){let $e=Ve.nodeName.toLowerCase(),oe="input"===$e&&Ve.type;return"text"===oe||"password"===oe||"select"===$e||"textarea"===$e}(oe))&&("audio"===ee?!!oe.hasAttribute("controls")&&-1!==Y:"video"===ee?-1!==Y&&(null!==Y||this._platform.FIREFOX||oe.hasAttribute("controls")):oe.tabIndex>=0)}isFocusable(oe,H){return function dt(Ve){return!function Re(Ve){return function fe(Ve){return"input"==Ve.nodeName.toLowerCase()}(Ve)&&"hidden"==Ve.type}(Ve)&&(function Ie(Ve){let $e=Ve.nodeName.toLowerCase();return"input"===$e||"select"===$e||"button"===$e||"textarea"===$e}(Ve)||function ze(Ve){return function ve(Ve){return"a"==Ve.nodeName.toLowerCase()}(Ve)&&Ve.hasAttribute("href")}(Ve)||Ve.hasAttribute("contenteditable")||We(Ve))}(oe)&&!this.isDisabled(oe)&&((null==H?void 0:H.ignoreVisibility)||this.isVisible(oe))}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(f.LFG(g.t4))},Ve.\u0275prov=f.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Ve})();function We(Ve){if(!Ve.hasAttribute("tabindex")||void 0===Ve.tabIndex)return!1;let $e=Ve.getAttribute("tabindex");return!(!$e||isNaN(parseInt($e,10)))}function nt(Ve){if(!We(Ve))return null;const $e=parseInt(Ve.getAttribute("tabindex")||"",10);return isNaN($e)?-1:$e}class de{constructor($e,oe,H,ee,Y=!1){this._element=$e,this._checker=oe,this._ngZone=H,this._document=ee,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Y||this.attachAnchors()}get enabled(){return this._enabled}set enabled($e){this._enabled=$e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex($e,this._startAnchor),this._toggleAnchorTabIndex($e,this._endAnchor))}destroy(){const $e=this._startAnchor,oe=this._endAnchor;$e&&($e.removeEventListener("focus",this.startAnchorListener),$e.remove()),oe&&(oe.removeEventListener("focus",this.endAnchorListener),oe.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady($e){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusInitialElement($e)))})}focusFirstTabbableElementWhenReady($e){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusFirstTabbableElement($e)))})}focusLastTabbableElementWhenReady($e){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusLastTabbableElement($e)))})}_getRegionBoundary($e){const oe=this._element.querySelectorAll(`[cdk-focus-region-${$e}], [cdkFocusRegion${$e}], [cdk-focus-${$e}]`);return"start"==$e?oe.length?oe[0]:this._getFirstTabbableElement(this._element):oe.length?oe[oe.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement($e){const oe=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(oe){if(!this._checker.isFocusable(oe)){const H=this._getFirstTabbableElement(oe);return null==H||H.focus($e),!!H}return oe.focus($e),!0}return this.focusFirstTabbableElement($e)}focusFirstTabbableElement($e){const oe=this._getRegionBoundary("start");return oe&&oe.focus($e),!!oe}focusLastTabbableElement($e){const oe=this._getRegionBoundary("end");return oe&&oe.focus($e),!!oe}hasAttached(){return this._hasAttached}_getFirstTabbableElement($e){if(this._checker.isFocusable($e)&&this._checker.isTabbable($e))return $e;const oe=$e.children;for(let H=0;H=0;H--){const ee=oe[H].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(oe[H]):null;if(ee)return ee}return null}_createAnchor(){const $e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,$e),$e.classList.add("cdk-visually-hidden"),$e.classList.add("cdk-focus-trap-anchor"),$e.setAttribute("aria-hidden","true"),$e}_toggleAnchorTabIndex($e,oe){$e?oe.setAttribute("tabindex","0"):oe.removeAttribute("tabindex")}toggleAnchors($e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex($e,this._startAnchor),this._toggleAnchorTabIndex($e,this._endAnchor))}_executeOnStable($e){this._ngZone.isStable?$e():this._ngZone.onStable.pipe((0,k.q)(1)).subscribe($e)}}let M=(()=>{class Ve{constructor(oe,H,ee){this._checker=oe,this._ngZone=H,this._document=ee}create(oe,H=!1){return new de(oe,this._checker,this._ngZone,this._document,H)}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(f.LFG(Ce),f.LFG(f.R0b),f.LFG(e.K0))},Ve.\u0275prov=f.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Ve})(),S=(()=>{class Ve{constructor(oe,H,ee){this._elementRef=oe,this._focusTrapFactory=H,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(oe){this.focusTrap.enabled=(0,re.Ig)(oe)}get autoCapture(){return this._autoCapture}set autoCapture(oe){this._autoCapture=(0,re.Ig)(oe)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(oe){const H=oe.autoCapture;H&&!H.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,g.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(f.Y36(f.SBq),f.Y36(M),f.Y36(e.K0))},Ve.\u0275dir=f.lG2({type:Ve,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[f.TTD]}),Ve})();function n(Ve){return 0===Ve.buttons||0===Ve.offsetX&&0===Ve.offsetY}function r(Ve){const $e=Ve.touches&&Ve.touches[0]||Ve.changedTouches&&Ve.changedTouches[0];return!(!$e||-1!==$e.identifier||null!=$e.radiusX&&1!==$e.radiusX||null!=$e.radiusY&&1!==$e.radiusY)}const u=new f.OlP("cdk-input-modality-detector-options"),o={ignoreKeys:[b.zL,b.jx,b.b2,b.MW,b.JU]},i=(0,g.i$)({passive:!0,capture:!0});let c=(()=>{class Ve{constructor(oe,H,ee,Y){this._platform=oe,this._mostRecentTarget=null,this._modality=new A.X(null),this._lastTouchMs=0,this._onKeydown=Le=>{var Ye,mt;(null===(mt=null===(Ye=this._options)||void 0===Ye?void 0:Ye.ignoreKeys)||void 0===mt?void 0:mt.some(Ht=>Ht===Le.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(Le))},this._onMousedown=Le=>{Date.now()-this._lastTouchMs<650||(this._modality.next(n(Le)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(Le))},this._onTouchstart=Le=>{r(Le)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(Le))},this._options=Object.assign(Object.assign({},o),Y),this.modalityDetected=this._modality.pipe((0,G.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,X.x)()),oe.isBrowser&&H.runOutsideAngular(()=>{ee.addEventListener("keydown",this._onKeydown,i),ee.addEventListener("mousedown",this._onMousedown,i),ee.addEventListener("touchstart",this._onTouchstart,i)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,i),document.removeEventListener("mousedown",this._onMousedown,i),document.removeEventListener("touchstart",this._onTouchstart,i))}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(f.LFG(g.t4),f.LFG(f.R0b),f.LFG(e.K0),f.LFG(u,8))},Ve.\u0275prov=f.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Ve})();const p=new f.OlP("liveAnnouncerElement",{providedIn:"root",factory:function T(){return null}}),Se=new f.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let je=(()=>{class Ve{constructor(oe,H,ee,Y){this._ngZone=H,this._defaultOptions=Y,this._document=ee,this._liveElement=oe||this._createLiveElement()}announce(oe,...H){const ee=this._defaultOptions;let Y,Le;return 1===H.length&&"number"==typeof H[0]?Le=H[0]:[Y,Le]=H,this.clear(),clearTimeout(this._previousTimeout),Y||(Y=ee&&ee.politeness?ee.politeness:"polite"),null==Le&&ee&&(Le=ee.duration),this._liveElement.setAttribute("aria-live",Y),this._ngZone.runOutsideAngular(()=>new Promise(Ye=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=oe,Ye(),"number"==typeof Le&&(this._previousTimeout=setTimeout(()=>this.clear(),Le))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var oe;clearTimeout(this._previousTimeout),null===(oe=this._liveElement)||void 0===oe||oe.remove(),this._liveElement=null}_createLiveElement(){const oe="cdk-live-announcer-element",H=this._document.getElementsByClassName(oe),ee=this._document.createElement("div");for(let Y=0;Y{class Ve{constructor(oe,H,ee,Y){this._elementRef=oe,this._liveAnnouncer=H,this._contentObserver=ee,this._ngZone=Y,this._politeness="polite"}get politeness(){return this._politeness}set politeness(oe){this._politeness="off"===oe||"assertive"===oe?oe:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const H=this._elementRef.nativeElement.textContent;H!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(H,this._politeness),this._previousAnnouncedText=H)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(f.Y36(f.SBq),f.Y36(je),f.Y36(Ne.yq),f.Y36(f.R0b))},Ve.\u0275dir=f.lG2({type:Ve,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),Ve})();const St=new f.OlP("cdk-focus-monitor-default-options"),Ft=(0,g.i$)({passive:!0,capture:!0});let It=(()=>{class Ve{constructor(oe,H,ee,Y,Le){this._ngZone=oe,this._platform=H,this._inputModalityDetector=ee,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new v.xQ,this._rootNodeFocusAndBlurListener=Ye=>{const mt=(0,g.sA)(Ye),Ht="focus"===Ye.type?this._onFocus:this._onBlur;for(let qt=mt;qt;qt=qt.parentElement)Ht.call(this,Ye,qt)},this._document=Y,this._detectionMode=(null==Le?void 0:Le.detectionMode)||0}monitor(oe,H=!1){const ee=(0,re.fI)(oe);if(!this._platform.isBrowser||1!==ee.nodeType)return(0,s.of)(null);const Y=(0,g.kV)(ee)||this._getDocument(),Le=this._elementInfo.get(ee);if(Le)return H&&(Le.checkChildren=!0),Le.subject;const Ye={checkChildren:H,subject:new v.xQ,rootNode:Y};return this._elementInfo.set(ee,Ye),this._registerGlobalListeners(Ye),Ye.subject}stopMonitoring(oe){const H=(0,re.fI)(oe),ee=this._elementInfo.get(H);ee&&(ee.subject.complete(),this._setClasses(H),this._elementInfo.delete(H),this._removeGlobalListeners(ee))}focusVia(oe,H,ee){const Y=(0,re.fI)(oe);Y===this._getDocument().activeElement?this._getClosestElementsInfo(Y).forEach(([Ye,mt])=>this._originChanged(Ye,H,mt)):(this._setOrigin(H),"function"==typeof Y.focus&&Y.focus(ee))}ngOnDestroy(){this._elementInfo.forEach((oe,H)=>this.stopMonitoring(H))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(oe){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(oe)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(oe){return 1===this._detectionMode||!!(null==oe?void 0:oe.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(oe,H){oe.classList.toggle("cdk-focused",!!H),oe.classList.toggle("cdk-touch-focused","touch"===H),oe.classList.toggle("cdk-keyboard-focused","keyboard"===H),oe.classList.toggle("cdk-mouse-focused","mouse"===H),oe.classList.toggle("cdk-program-focused","program"===H)}_setOrigin(oe,H=!1){this._ngZone.runOutsideAngular(()=>{this._origin=oe,this._originFromTouchInteraction="touch"===oe&&H,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(oe,H){const ee=this._elementInfo.get(H),Y=(0,g.sA)(oe);!ee||!ee.checkChildren&&H!==Y||this._originChanged(H,this._getFocusOrigin(Y),ee)}_onBlur(oe,H){const ee=this._elementInfo.get(H);!ee||ee.checkChildren&&oe.relatedTarget instanceof Node&&H.contains(oe.relatedTarget)||(this._setClasses(H),this._emitOrigin(ee.subject,null))}_emitOrigin(oe,H){this._ngZone.run(()=>oe.next(H))}_registerGlobalListeners(oe){if(!this._platform.isBrowser)return;const H=oe.rootNode,ee=this._rootNodeFocusListenerCount.get(H)||0;ee||this._ngZone.runOutsideAngular(()=>{H.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ft),H.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ft)}),this._rootNodeFocusListenerCount.set(H,ee+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,he.R)(this._stopInputModalityDetector)).subscribe(Y=>{this._setOrigin(Y,!0)}))}_removeGlobalListeners(oe){const H=oe.rootNode;if(this._rootNodeFocusListenerCount.has(H)){const ee=this._rootNodeFocusListenerCount.get(H);ee>1?this._rootNodeFocusListenerCount.set(H,ee-1):(H.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ft),H.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ft),this._rootNodeFocusListenerCount.delete(H))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(oe,H,ee){this._setClasses(oe,H),this._emitOrigin(ee.subject,H),this._lastFocusOrigin=H}_getClosestElementsInfo(oe){const H=[];return this._elementInfo.forEach((ee,Y)=>{(Y===oe||ee.checkChildren&&Y.contains(oe))&&H.push([Y,ee])}),H}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(f.LFG(f.R0b),f.LFG(g.t4),f.LFG(c),f.LFG(e.K0,8),f.LFG(St,8))},Ve.\u0275prov=f.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Ve})(),Vt=(()=>{class Ve{constructor(oe,H){this._elementRef=oe,this._focusMonitor=H,this.cdkFocusChange=new f.vpe}ngAfterViewInit(){const oe=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(oe,1===oe.nodeType&&oe.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(H=>this.cdkFocusChange.emit(H))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(f.Y36(f.SBq),f.Y36(It))},Ve.\u0275dir=f.lG2({type:Ve,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),Ve})();const Mt="cdk-high-contrast-black-on-white",at="cdk-high-contrast-white-on-black",Ut="cdk-high-contrast-active";let gt=(()=>{class Ve{constructor(oe,H){this._platform=oe,this._document=H}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const oe=this._document.createElement("div");oe.style.backgroundColor="rgb(1,2,3)",oe.style.position="absolute",this._document.body.appendChild(oe);const H=this._document.defaultView||window,ee=H&&H.getComputedStyle?H.getComputedStyle(oe):null,Y=(ee&&ee.backgroundColor||"").replace(/ /g,"");switch(oe.remove(),Y){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const oe=this._document.body.classList;oe.remove(Ut),oe.remove(Mt),oe.remove(at),this._hasCheckedHighContrastMode=!0;const H=this.getHighContrastMode();1===H?(oe.add(Ut),oe.add(Mt)):2===H&&(oe.add(Ut),oe.add(at))}}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(f.LFG(g.t4),f.LFG(e.K0))},Ve.\u0275prov=f.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Ve})(),xt=(()=>{class Ve{constructor(oe){oe._applyBodyHighContrastModeCssClasses()}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(f.LFG(gt))},Ve.\u0275mod=f.oAB({type:Ve}),Ve.\u0275inj=f.cJS({imports:[[g.ud,Ne.Q8]]}),Ve})()},50226:(Ze,ge,d)=>{"use strict";d.d(ge,{vT:()=>R,Is:()=>s});var e=d(5e3),f=d(69808);const g=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function v(){return(0,e.f3M)(f.K0)}}),m=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let s=(()=>{class E{constructor(x){if(this.value="ltr",this.change=new e.vpe,x){const G=x.documentElement?x.documentElement.dir:null;this.value=function A(E){const h=(null==E?void 0:E.toLowerCase())||"";return"auto"===h&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?m.test(navigator.language)?"rtl":"ltr":"rtl"===h?"rtl":"ltr"}((x.body?x.body.dir:null)||G||"ltr")}}ngOnDestroy(){this.change.complete()}}return E.\u0275fac=function(x){return new(x||E)(e.LFG(g,8))},E.\u0275prov=e.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),R=(()=>{class E{}return E.\u0275fac=function(x){return new(x||E)},E.\u0275mod=e.oAB({type:E}),E.\u0275inj=e.cJS({}),E})()},69287:(Ze,ge,d)=>{"use strict";d.d(ge,{i3:()=>A,TU:()=>v,Iq:()=>s});var e=d(69808),f=d(5e3);class g{constructor(R,E){this._document=E;const h=this._textarea=this._document.createElement("textarea"),x=h.style;x.position="fixed",x.top=x.opacity="0",x.left="-999em",h.setAttribute("aria-hidden","true"),h.value=R,this._document.body.appendChild(h)}copy(){const R=this._textarea;let E=!1;try{if(R){const h=this._document.activeElement;R.select(),R.setSelectionRange(0,R.value.length),E=this._document.execCommand("copy"),h&&h.focus()}}catch(h){}return E}destroy(){const R=this._textarea;R&&(R.remove(),this._textarea=void 0)}}let v=(()=>{class b{constructor(E){this._document=E}copy(E){const h=this.beginCopy(E),x=h.copy();return h.destroy(),x}beginCopy(E){return new g(E,this._document)}}return b.\u0275fac=function(E){return new(E||b)(f.LFG(e.K0))},b.\u0275prov=f.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})();const m=new f.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let A=(()=>{class b{constructor(E,h,x){this._clipboard=E,this._ngZone=h,this.text="",this.attempts=1,this.copied=new f.vpe,this._pending=new Set,x&&null!=x.attempts&&(this.attempts=x.attempts)}copy(E=this.attempts){if(E>1){let h=E;const x=this._clipboard.beginCopy(this.text);this._pending.add(x);const k=()=>{const G=x.copy();G||!--h||this._destroyed?(this._currentTimeout=null,this._pending.delete(x),x.destroy(),this.copied.emit(G)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(k,1))};k()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(E=>E.destroy()),this._pending.clear(),this._destroyed=!0}}return b.\u0275fac=function(E){return new(E||b)(f.Y36(v),f.Y36(f.R0b),f.Y36(m,8))},b.\u0275dir=f.lG2({type:b,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(E,h){1&E&&f.NdJ("click",function(){return h.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),b})(),s=(()=>{class b{}return b.\u0275fac=function(E){return new(E||b)},b.\u0275mod=f.oAB({type:b}),b.\u0275inj=f.cJS({}),b})()},63191:(Ze,ge,d)=>{"use strict";d.d(ge,{t6:()=>v,Eq:()=>m,Ig:()=>f,HM:()=>A,fI:()=>s,su:()=>g,du:()=>b});var e=d(5e3);function f(R){return null!=R&&"false"!=`${R}`}function g(R,E=0){return v(R)?Number(R):E}function v(R){return!isNaN(parseFloat(R))&&!isNaN(Number(R))}function m(R){return Array.isArray(R)?R:[R]}function A(R){return null==R?"":"string"==typeof R?R:`${R}px`}function s(R){return R instanceof e.SBq?R.nativeElement:R}function b(R,E=/\s+/){const h=[];if(null!=R){const x=Array.isArray(R)?R:`${R}`.split(E);for(const k of x){const G=`${k}`.trim();G&&h.push(G)}}return h}},20449:(Ze,ge,d)=>{"use strict";d.d(ge,{P3:()=>s,o2:()=>m,Ov:()=>E,A8:()=>x,yy:()=>b,eX:()=>R,k:()=>k,Z9:()=>A});var e=d(54715),f=d(21086),g=d(8929),v=d(5e3);class m{}function A(G){return G&&"function"==typeof G.connect}class s extends m{constructor(X){super(),this._data=X}connect(){return(0,e.b)(this._data)?this._data:(0,f.of)(this._data)}disconnect(){}}class b{applyChanges(X,he,re,Ne,ce){X.forEachOperation((Pe,se,V)=>{let F,W;if(null==Pe.previousIndex){const te=re(Pe,se,V);F=he.createEmbeddedView(te.templateRef,te.context,te.index),W=1}else null==V?(he.remove(se),W=3):(F=he.get(se),he.move(F,V),W=2);ce&&ce({context:null==F?void 0:F.context,operation:W,record:Pe})})}detach(){}}class R{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(X,he,re,Ne,ce){X.forEachOperation((Pe,se,V)=>{let F,W;null==Pe.previousIndex?(F=this._insertView(()=>re(Pe,se,V),V,he,Ne(Pe)),W=F?1:0):null==V?(this._detachAndCacheView(se,he),W=3):(F=this._moveView(se,V,he,Ne(Pe)),W=2),ce&&ce({context:null==F?void 0:F.context,operation:W,record:Pe})})}detach(){for(const X of this._viewCache)X.destroy();this._viewCache=[]}_insertView(X,he,re,Ne){const ce=this._insertViewFromCache(he,re);if(ce)return void(ce.context.$implicit=Ne);const Pe=X();return re.createEmbeddedView(Pe.templateRef,Pe.context,Pe.index)}_detachAndCacheView(X,he){const re=he.detach(X);this._maybeCacheView(re,he)}_moveView(X,he,re,Ne){const ce=re.get(X);return re.move(ce,he),ce.context.$implicit=Ne,ce}_maybeCacheView(X,he){if(this._viewCache.lengththis._markSelected(Ne)):this._markSelected(he[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...X){this._verifyValueAssignment(X),X.forEach(he=>this._markSelected(he)),this._emitChangeEvent()}deselect(...X){this._verifyValueAssignment(X),X.forEach(he=>this._unmarkSelected(he)),this._emitChangeEvent()}toggle(X){this.isSelected(X)?this.deselect(X):this.select(X)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(X){return this._selection.has(X)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(X){this._multiple&&this.selected&&this._selected.sort(X)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(X){this.isSelected(X)||(this._multiple||this._unmarkAll(),this._selection.add(X),this._emitChanges&&this._selectedToEmit.push(X))}_unmarkSelected(X){this.isSelected(X)&&(this._selection.delete(X),this._emitChanges&&this._deselectedToEmit.push(X))}_unmarkAll(){this.isEmpty()||this._selection.forEach(X=>this._unmarkSelected(X))}_verifyValueAssignment(X){}}let x=(()=>{class G{constructor(){this._listeners=[]}notify(he,re){for(let Ne of this._listeners)Ne(he,re)}listen(he){return this._listeners.push(he),()=>{this._listeners=this._listeners.filter(re=>he!==re)}}ngOnDestroy(){this._listeners=[]}}return G.\u0275fac=function(he){return new(he||G)},G.\u0275prov=v.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();const k=new v.OlP("_ViewRepeater")},44409:(Ze,ge,d)=>{"use strict";d.d(ge,{Zt:()=>Ve,Wj:()=>Ft,_t:()=>$e,bA:()=>de});var e=d(5e3),f=d(69808),g=d(70925),v=d(63191),m=d(15664),A=d(8929),s=d(42654),b=d(61715),R=d(90352),E=d(56498),h=d(36787),x=d(7625),k=d(1059),G=d(24850),X=d(72986),he=d(22868),re=d(87545),Ne=d(53435),ce=d(50226);function Pe(oe,H,ee){for(let Y in H)if(H.hasOwnProperty(Y)){const Le=H[Y];Le?oe.setProperty(Y,Le,(null==ee?void 0:ee.has(Y))?"important":""):oe.removeProperty(Y)}return oe}function se(oe,H){const ee=H?"":"none";Pe(oe.style,{"touch-action":H?"":"none","-webkit-user-drag":H?"":"none","-webkit-tap-highlight-color":H?"":"transparent","user-select":ee,"-ms-user-select":ee,"-webkit-user-select":ee,"-moz-user-select":ee})}function V(oe,H,ee){Pe(oe.style,{position:H?"":"fixed",top:H?"":"0",opacity:H?"":"0",left:H?"":"-999em"},ee)}function F(oe,H){return H&&"none"!=H?oe+" "+H:oe}function W(oe){const H=oe.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(oe)*H}function ae(oe,H){return oe.getPropertyValue(H).split(",").map(Y=>Y.trim())}function pe(oe){const H=oe.getBoundingClientRect();return{top:H.top,right:H.right,bottom:H.bottom,left:H.left,width:H.width,height:H.height,x:H.x,y:H.y}}function Be(oe,H,ee){const{top:Y,bottom:Le,left:Ye,right:mt}=oe;return ee>=Y&&ee<=Le&&H>=Ye&&H<=mt}function Fe(oe,H,ee){oe.top+=H,oe.bottom=oe.top+oe.height,oe.left+=ee,oe.right=oe.left+oe.width}function ke(oe,H,ee,Y){const{top:Le,right:Ye,bottom:mt,left:Ht,width:qt,height:Dt}=oe,wt=qt*H,At=Dt*H;return Y>Le-At&&YHt-wt&&ee{this.positions.set(ee,{scrollPosition:{top:ee.scrollTop,left:ee.scrollLeft},clientRect:pe(ee)})})}handleScroll(H){const ee=(0,g.sA)(H),Y=this.positions.get(ee);if(!Y)return null;const Le=Y.scrollPosition;let Ye,mt;if(ee===this._document){const Dt=this._viewportRuler.getViewportScrollPosition();Ye=Dt.top,mt=Dt.left}else Ye=ee.scrollTop,mt=ee.scrollLeft;const Ht=Le.top-Ye,qt=Le.left-mt;return this.positions.forEach((Dt,wt)=>{Dt.clientRect&&ee!==wt&&ee.contains(wt)&&Fe(Dt.clientRect,Ht,qt)}),Le.top=Ye,Le.left=mt,{top:Ht,left:qt}}}function be(oe){const H=oe.cloneNode(!0),ee=H.querySelectorAll("[id]"),Y=oe.nodeName.toLowerCase();H.removeAttribute("id");for(let Le=0;Le{if(this.beforeStarted.next(),this._handles.length){const qt=this._handles.find(Dt=>Ht.target&&(Ht.target===Dt||Dt.contains(Ht.target)));qt&&!this._disabledHandles.has(qt)&&!this.disabled&&this._initializeDragSequence(qt,Ht)}else this.disabled||this._initializeDragSequence(this._rootElement,Ht)},this._pointerMove=Ht=>{const qt=this._getPointerPositionOnPage(Ht);if(!this._hasStartedDragging){if(Math.abs(qt.x-this._pickupPositionOnPage.x)+Math.abs(qt.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Wt=Date.now()>=this._dragStartTime+this._getDragStartDelay(Ht),li=this._dropContainer;if(!Wt)return void this._endDragSequence(Ht);(!li||!li.isDragging()&&!li.isReceiving())&&(Ht.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(Ht)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),Ht.preventDefault();const Dt=this._getConstrainedPointerPosition(qt);if(this._hasMoved=!0,this._lastKnownPointerPosition=qt,this._updatePointerDirectionDelta(Dt),this._dropContainer)this._updateActiveDropContainer(Dt,qt);else{const wt=this._activeTransform;wt.x=Dt.x-this._pickupPositionOnPage.x+this._passiveTransform.x,wt.y=Dt.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(wt.x,wt.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:Dt,event:Ht,distance:this._getDragDistance(Dt),delta:this._pointerDirectionDelta})})},this._pointerUp=Ht=>{this._endDragSequence(Ht)},this.withRootElement(H).withParent(ee.parentDragRef||null),this._parentPositions=new De(Y,Ye),mt.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(H){const ee=(0,v.Ig)(H);ee!==this._disabled&&(this._disabled=ee,this._toggleNativeDragInteractions(),this._handles.forEach(Y=>se(Y,ee)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(H){this._handles=H.map(Y=>(0,v.fI)(Y)),this._handles.forEach(Y=>se(Y,this.disabled)),this._toggleNativeDragInteractions();const ee=new Set;return this._disabledHandles.forEach(Y=>{this._handles.indexOf(Y)>-1&&ee.add(Y)}),this._disabledHandles=ee,this}withPreviewTemplate(H){return this._previewTemplate=H,this}withPlaceholderTemplate(H){return this._placeholderTemplate=H,this}withRootElement(H){const ee=(0,v.fI)(H);return ee!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{ee.addEventListener("mousedown",this._pointerDown,Re),ee.addEventListener("touchstart",this._pointerDown,Ie)}),this._initialTransform=void 0,this._rootElement=ee),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(H){return this._boundaryElement=H?(0,v.fI)(H):null,this._resizeSubscription.unsubscribe(),H&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(H){return this._parentDragRef=H,this}dispose(){var H,ee;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(H=this._rootElement)||void 0===H||H.remove()),null===(ee=this._anchor)||void 0===ee||ee.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(H){!this._disabledHandles.has(H)&&this._handles.indexOf(H)>-1&&(this._disabledHandles.add(H),se(H,!0))}enableHandle(H){this._disabledHandles.has(H)&&(this._disabledHandles.delete(H),se(H,this.disabled))}withDirection(H){return this._direction=H,this}_withDropContainer(H){this._dropContainer=H}getFreeDragPosition(){const H=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:H.x,y:H.y}}setFreeDragPosition(H){return this._activeTransform={x:0,y:0},this._passiveTransform.x=H.x,this._passiveTransform.y=H.y,this._dropContainer||this._applyRootElementTransform(H.x,H.y),this}withPreviewContainer(H){return this._previewContainer=H,this}_sortFromLastPointerPosition(){const H=this._lastKnownPointerPosition;H&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(H),H)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var H,ee;null===(H=this._preview)||void 0===H||H.remove(),null===(ee=this._previewRef)||void 0===ee||ee.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var H,ee;null===(H=this._placeholder)||void 0===H||H.remove(),null===(ee=this._placeholderRef)||void 0===ee||ee.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(H){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(H),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const ee=this._getPointerPositionOnPage(H);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(ee),dropPoint:ee})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(H){st(H)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const ee=this._dropContainer;if(ee){const Y=this._rootElement,Le=Y.parentNode,Ye=this._placeholder=this._createPlaceholderElement(),mt=this._anchor=this._anchor||this._document.createComment(""),Ht=this._getShadowRoot();Le.insertBefore(mt,Y),this._initialTransform=Y.style.transform||"",this._preview=this._createPreviewElement(),V(Y,!1,fe),this._document.body.appendChild(Le.replaceChild(Ye,Y)),this._getPreviewInsertionPoint(Le,Ht).appendChild(this._preview),this.started.next({source:this}),ee.start(),this._initialContainer=ee,this._initialIndex=ee.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(ee?ee.getScrollableParents():[])}_initializeDragSequence(H,ee){this._parentDragRef&&ee.stopPropagation();const Y=this.isDragging(),Le=st(ee),Ye=!Le&&0!==ee.button,mt=this._rootElement,Ht=(0,g.sA)(ee),qt=!Le&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),Dt=Le?(0,m.yG)(ee):(0,m.X6)(ee);if(Ht&&Ht.draggable&&"mousedown"===ee.type&&ee.preventDefault(),Y||Ye||qt||Dt)return;if(this._handles.length){const Ot=mt.style;this._rootElementTapHighlight=Ot.webkitTapHighlightColor||"",Ot.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Ot=>this._updateOnScroll(Ot)),this._boundaryElement&&(this._boundaryRect=pe(this._boundaryElement));const wt=this._previewTemplate;this._pickupPositionInElement=wt&&wt.template&&!wt.matchSize?{x:0,y:0}:this._getPointerPositionInElement(H,ee);const At=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(ee);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:At.x,y:At.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,ee)}_cleanupDragArtifacts(H){V(this._rootElement,!0,fe),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const ee=this._dropContainer,Y=ee.getItemIndex(this),Le=this._getPointerPositionOnPage(H),Ye=this._getDragDistance(Le),mt=ee._isOverContainer(Le.x,Le.y);this.ended.next({source:this,distance:Ye,dropPoint:Le}),this.dropped.next({item:this,currentIndex:Y,previousIndex:this._initialIndex,container:ee,previousContainer:this._initialContainer,isPointerOverContainer:mt,distance:Ye,dropPoint:Le}),ee.drop(this,Y,this._initialIndex,this._initialContainer,mt,Ye,Le),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:H,y:ee},{x:Y,y:Le}){let Ye=this._initialContainer._getSiblingContainerFromPosition(this,H,ee);!Ye&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(H,ee)&&(Ye=this._initialContainer),Ye&&Ye!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=Ye,this._dropContainer.enter(this,H,ee,Ye===this._initialContainer&&Ye.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:Ye,currentIndex:Ye.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(Y,Le),this._dropContainer._sortItem(this,H,ee,this._pointerDirectionDelta),this._applyPreviewTransform(H-this._pickupPositionInElement.x,ee-this._pickupPositionInElement.y))}_createPreviewElement(){const H=this._previewTemplate,ee=this.previewClass,Y=H?H.template:null;let Le;if(Y&&H){const Ye=H.matchSize?this._rootElement.getBoundingClientRect():null,mt=H.viewContainer.createEmbeddedView(Y,H.context);mt.detectChanges(),Le=dt(mt,this._document),this._previewRef=mt,H.matchSize?L(Le,Ye):Le.style.transform=We(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const Ye=this._rootElement;Le=be(Ye),L(Le,Ye.getBoundingClientRect()),this._initialTransform&&(Le.style.transform=this._initialTransform)}return Pe(Le.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},fe),se(Le,!1),Le.classList.add("cdk-drag-preview"),Le.setAttribute("dir",this._direction),ee&&(Array.isArray(ee)?ee.forEach(Ye=>Le.classList.add(Ye)):Le.classList.add(ee)),Le}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const H=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(H.left,H.top);const ee=function te(oe){const H=getComputedStyle(oe),ee=ae(H,"transition-property"),Y=ee.find(Ht=>"transform"===Ht||"all"===Ht);if(!Y)return 0;const Le=ee.indexOf(Y),Ye=ae(H,"transition-duration"),mt=ae(H,"transition-delay");return W(Ye[Le])+W(mt[Le])}(this._preview);return 0===ee?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(Y=>{const Le=mt=>{var Ht;(!mt||(0,g.sA)(mt)===this._preview&&"transform"===mt.propertyName)&&(null===(Ht=this._preview)||void 0===Ht||Ht.removeEventListener("transitionend",Le),Y(),clearTimeout(Ye))},Ye=setTimeout(Le,1.5*ee);this._preview.addEventListener("transitionend",Le)}))}_createPlaceholderElement(){const H=this._placeholderTemplate,ee=H?H.template:null;let Y;return ee?(this._placeholderRef=H.viewContainer.createEmbeddedView(ee,H.context),this._placeholderRef.detectChanges(),Y=dt(this._placeholderRef,this._document)):Y=be(this._rootElement),Y.classList.add("cdk-drag-placeholder"),Y}_getPointerPositionInElement(H,ee){const Y=this._rootElement.getBoundingClientRect(),Le=H===this._rootElement?null:H,Ye=Le?Le.getBoundingClientRect():Y,mt=st(ee)?ee.targetTouches[0]:ee,Ht=this._getViewportScrollPosition();return{x:Ye.left-Y.left+(mt.pageX-Ye.left-Ht.left),y:Ye.top-Y.top+(mt.pageY-Ye.top-Ht.top)}}_getPointerPositionOnPage(H){const ee=this._getViewportScrollPosition(),Y=st(H)?H.touches[0]||H.changedTouches[0]||{pageX:0,pageY:0}:H,Le=Y.pageX-ee.left,Ye=Y.pageY-ee.top;if(this._ownerSVGElement){const mt=this._ownerSVGElement.getScreenCTM();if(mt){const Ht=this._ownerSVGElement.createSVGPoint();return Ht.x=Le,Ht.y=Ye,Ht.matrixTransform(mt.inverse())}}return{x:Le,y:Ye}}_getConstrainedPointerPosition(H){const ee=this._dropContainer?this._dropContainer.lockAxis:null;let{x:Y,y:Le}=this.constrainPosition?this.constrainPosition(H,this):H;if("x"===this.lockAxis||"x"===ee?Le=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===ee)&&(Y=this._pickupPositionOnPage.x),this._boundaryRect){const{x:Ye,y:mt}=this._pickupPositionInElement,Ht=this._boundaryRect,qt=this._previewRect,Dt=Ht.top+mt,wt=Ht.bottom-(qt.height-mt);Y=nt(Y,Ht.left+Ye,Ht.right-(qt.width-Ye)),Le=nt(Le,Dt,wt)}return{x:Y,y:Le}}_updatePointerDirectionDelta(H){const{x:ee,y:Y}=H,Le=this._pointerDirectionDelta,Ye=this._pointerPositionAtLastDirectionChange,mt=Math.abs(ee-Ye.x),Ht=Math.abs(Y-Ye.y);return mt>this._config.pointerDirectionChangeThreshold&&(Le.x=ee>Ye.x?1:-1,Ye.x=ee),Ht>this._config.pointerDirectionChangeThreshold&&(Le.y=Y>Ye.y?1:-1,Ye.y=Y),Le}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const H=this._handles.length>0||!this.isDragging();H!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=H,se(this._rootElement,H))}_removeRootElementListeners(H){H.removeEventListener("mousedown",this._pointerDown,Re),H.removeEventListener("touchstart",this._pointerDown,Ie)}_applyRootElementTransform(H,ee){const Y=We(H,ee),Le=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=Le.transform&&"none"!=Le.transform?Le.transform:""),Le.transform=F(Y,this._initialTransform)}_applyPreviewTransform(H,ee){var Y;const Le=(null===(Y=this._previewTemplate)||void 0===Y?void 0:Y.template)?void 0:this._initialTransform,Ye=We(H,ee);this._preview.style.transform=F(Ye,Le)}_getDragDistance(H){const ee=this._pickupPositionOnPage;return ee?{x:H.x-ee.x,y:H.y-ee.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:H,y:ee}=this._passiveTransform;if(0===H&&0===ee||this.isDragging()||!this._boundaryElement)return;const Y=this._boundaryElement.getBoundingClientRect(),Le=this._rootElement.getBoundingClientRect();if(0===Y.width&&0===Y.height||0===Le.width&&0===Le.height)return;const Ye=Y.left-Le.left,mt=Le.right-Y.right,Ht=Y.top-Le.top,qt=Le.bottom-Y.bottom;Y.width>Le.width?(Ye>0&&(H+=Ye),mt>0&&(H-=mt)):H=0,Y.height>Le.height?(Ht>0&&(ee+=Ht),qt>0&&(ee-=qt)):ee=0,(H!==this._passiveTransform.x||ee!==this._passiveTransform.y)&&this.setFreeDragPosition({y:ee,x:H})}_getDragStartDelay(H){const ee=this.dragStartDelay;return"number"==typeof ee?ee:st(H)?ee.touch:ee?ee.mouse:0}_updateOnScroll(H){const ee=this._parentPositions.handleScroll(H);if(ee){const Y=(0,g.sA)(H);this._boundaryRect&&Y!==this._boundaryElement&&Y.contains(this._boundaryElement)&&Fe(this._boundaryRect,ee.top,ee.left),this._pickupPositionOnPage.x+=ee.left,this._pickupPositionOnPage.y+=ee.top,this._dropContainer||(this._activeTransform.x-=ee.left,this._activeTransform.y-=ee.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const H=this._parentPositions.positions.get(this._document);return H?H.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,g.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(H,ee){const Y=this._previewContainer||"global";if("parent"===Y)return H;if("global"===Y){const Le=this._document;return ee||Le.fullscreenElement||Le.webkitFullscreenElement||Le.mozFullScreenElement||Le.msFullscreenElement||Le.body}return(0,v.fI)(Y)}}function We(oe,H){return`translate3d(${Math.round(oe)}px, ${Math.round(H)}px, 0)`}function nt(oe,H,ee){return Math.max(H,Math.min(ee,oe))}function st(oe){return"t"===oe.type[0]}function dt(oe,H){const ee=oe.rootNodes;if(1===ee.length&&ee[0].nodeType===H.ELEMENT_NODE)return ee[0];const Y=H.createElement("div");return ee.forEach(Le=>Y.appendChild(Le)),Y}function L(oe,H){oe.style.width=`${H.width}px`,oe.style.height=`${H.height}px`,oe.style.transform=We(H.left,H.top)}function de(oe,H,ee){const Y=P(H,oe.length-1),Le=P(ee,oe.length-1);if(Y===Le)return;const Ye=oe[Y],mt=Le!0,this.sortPredicate=()=>!0,this.beforeStarted=new A.xQ,this.entered=new A.xQ,this.exited=new A.xQ,this.dropped=new A.xQ,this.sorted=new A.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=s.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new A.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,b.F)(0,R.r).pipe((0,x.R)(this._stopScrollTimers)).subscribe(()=>{const mt=this._scrollNode,Ht=this.autoScrollStep;1===this._verticalScrollDirection?mt.scrollBy(0,-Ht):2===this._verticalScrollDirection&&mt.scrollBy(0,Ht),1===this._horizontalScrollDirection?mt.scrollBy(-Ht,0):2===this._horizontalScrollDirection&&mt.scrollBy(Ht,0)})},this.element=(0,v.fI)(H),this._document=Y,this.withScrollableParents([this.element]),ee.registerDropContainer(this),this._parentPositions=new De(Y,Ye)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(H,ee,Y,Le){let Ye;this._draggingStarted(),null==Le?(Ye=this.sortingDisabled?this._draggables.indexOf(H):-1,-1===Ye&&(Ye=this._getItemIndexFromPointerPosition(H,ee,Y))):Ye=Le;const mt=this._activeDraggables,Ht=mt.indexOf(H),qt=H.getPlaceholderElement();let Dt=mt[Ye];if(Dt===H&&(Dt=mt[Ye+1]),!Dt&&(null==Ye||-1===Ye||Ye-1&&mt.splice(Ht,1),Dt&&!this._dragDropRegistry.isDragging(Dt)){const wt=Dt.getRootElement();wt.parentElement.insertBefore(qt,wt),mt.splice(Ye,0,H)}else(0,v.fI)(this.element).appendChild(qt),mt.push(H);qt.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:H,container:this,currentIndex:this.getItemIndex(H)})}exit(H){this._reset(),this.exited.next({item:H,container:this})}drop(H,ee,Y,Le,Ye,mt,Ht){this._reset(),this.dropped.next({item:H,currentIndex:ee,previousIndex:Y,container:this,previousContainer:Le,isPointerOverContainer:Ye,distance:mt,dropPoint:Ht})}withItems(H){const ee=this._draggables;return this._draggables=H,H.forEach(Y=>Y._withDropContainer(this)),this.isDragging()&&(ee.filter(Le=>Le.isDragging()).every(Le=>-1===H.indexOf(Le))?this._reset():this._cacheItems()),this}withDirection(H){return this._direction=H,this}connectedTo(H){return this._siblings=H.slice(),this}withOrientation(H){return this._orientation=H,this}withScrollableParents(H){const ee=(0,v.fI)(this.element);return this._scrollableElements=-1===H.indexOf(ee)?[ee,...H]:H.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(H){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(Y=>Y.drag===H):this._draggables.indexOf(H)}isReceiving(){return this._activeSiblings.size>0}_sortItem(H,ee,Y,Le){if(this.sortingDisabled||!this._clientRect||!ke(this._clientRect,.05,ee,Y))return;const Ye=this._itemPositions,mt=this._getItemIndexFromPointerPosition(H,ee,Y,Le);if(-1===mt&&Ye.length>0)return;const Ht="horizontal"===this._orientation,qt=Ye.findIndex(Ti=>Ti.drag===H),Dt=Ye[mt],At=Dt.clientRect,Ot=qt>mt?1:-1,Wt=this._getItemOffsetPx(Ye[qt].clientRect,At,Ot),li=this._getSiblingOffsetPx(qt,Ye,Ot),gi=Ye.slice();de(Ye,qt,mt),this.sorted.next({previousIndex:qt,currentIndex:mt,container:this,item:H}),Ye.forEach((Ti,Ri)=>{if(gi[Ri]===Ti)return;const Gi=Ti.drag===H,an=Gi?Wt:li,Qi=Gi?H.getPlaceholderElement():Ti.drag.getRootElement();Ti.offset+=an,Ht?(Qi.style.transform=F(`translate3d(${Math.round(Ti.offset)}px, 0, 0)`,Ti.initialTransform),Fe(Ti.clientRect,0,an)):(Qi.style.transform=F(`translate3d(0, ${Math.round(Ti.offset)}px, 0)`,Ti.initialTransform),Fe(Ti.clientRect,an,0))}),this._previousSwap.overlaps=Be(At,ee,Y),this._previousSwap.drag=Dt.drag,this._previousSwap.delta=Ht?Le.x:Le.y}_startScrollingIfNecessary(H,ee){if(this.autoScrollDisabled)return;let Y,Le=0,Ye=0;if(this._parentPositions.positions.forEach((mt,Ht)=>{Ht===this._document||!mt.clientRect||Y||ke(mt.clientRect,.05,H,ee)&&([Le,Ye]=function r(oe,H,ee,Y){const Le=Te(H,Y),Ye=n(H,ee);let mt=0,Ht=0;if(Le){const qt=oe.scrollTop;1===Le?qt>0&&(mt=1):oe.scrollHeight-qt>oe.clientHeight&&(mt=2)}if(Ye){const qt=oe.scrollLeft;1===Ye?qt>0&&(Ht=1):oe.scrollWidth-qt>oe.clientWidth&&(Ht=2)}return[mt,Ht]}(Ht,mt.clientRect,H,ee),(Le||Ye)&&(Y=Ht))}),!Le&&!Ye){const{width:mt,height:Ht}=this._viewportRuler.getViewportSize(),qt={width:mt,height:Ht,top:0,right:mt,bottom:Ht,left:0};Le=Te(qt,ee),Ye=n(qt,H),Y=window}Y&&(Le!==this._verticalScrollDirection||Ye!==this._horizontalScrollDirection||Y!==this._scrollNode)&&(this._verticalScrollDirection=Le,this._horizontalScrollDirection=Ye,this._scrollNode=Y,(Le||Ye)&&Y?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const H=(0,v.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=H.msScrollSnapType||H.scrollSnapType||"",H.scrollSnapType=H.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const H=(0,v.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(H).clientRect}_cacheItemPositions(){const H="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(ee=>{const Y=ee.getVisibleElement();return{drag:ee,offset:0,initialTransform:Y.style.transform||"",clientRect:pe(Y)}}).sort((ee,Y)=>H?ee.clientRect.left-Y.clientRect.left:ee.clientRect.top-Y.clientRect.top)}_reset(){this._isDragging=!1;const H=(0,v.fI)(this.element).style;H.scrollSnapType=H.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(ee=>{var Y;const Le=ee.getRootElement();if(Le){const Ye=null===(Y=this._itemPositions.find(mt=>mt.drag===ee))||void 0===Y?void 0:Y.initialTransform;Le.style.transform=Ye||""}}),this._siblings.forEach(ee=>ee._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(H,ee,Y){const Le="horizontal"===this._orientation,Ye=ee[H].clientRect,mt=ee[H+-1*Y];let Ht=Ye[Le?"width":"height"]*Y;if(mt){const qt=Le?"left":"top",Dt=Le?"right":"bottom";-1===Y?Ht-=mt.clientRect[qt]-Ye[Dt]:Ht+=Ye[qt]-mt.clientRect[Dt]}return Ht}_getItemOffsetPx(H,ee,Y){const Le="horizontal"===this._orientation;let Ye=Le?ee.left-H.left:ee.top-H.top;return-1===Y&&(Ye+=Le?ee.width-H.width:ee.height-H.height),Ye}_shouldEnterAsFirstChild(H,ee){if(!this._activeDraggables.length)return!1;const Y=this._itemPositions,Le="horizontal"===this._orientation;if(Y[0].drag!==this._activeDraggables[0]){const mt=Y[Y.length-1].clientRect;return Le?H>=mt.right:ee>=mt.bottom}{const mt=Y[0].clientRect;return Le?H<=mt.left:ee<=mt.top}}_getItemIndexFromPointerPosition(H,ee,Y,Le){const Ye="horizontal"===this._orientation,mt=this._itemPositions.findIndex(({drag:Ht,clientRect:qt})=>{if(Ht===H)return!1;if(Le){const Dt=Ye?Le.x:Le.y;if(Ht===this._previousSwap.drag&&this._previousSwap.overlaps&&Dt===this._previousSwap.delta)return!1}return Ye?ee>=Math.floor(qt.left)&&ee=Math.floor(qt.top)&&YLe._canReceive(H,ee,Y))}_canReceive(H,ee,Y){if(!this._clientRect||!Be(this._clientRect,ee,Y)||!this.enterPredicate(H,this))return!1;const Le=this._getShadowRoot().elementFromPoint(ee,Y);if(!Le)return!1;const Ye=(0,v.fI)(this.element);return Le===Ye||Ye.contains(Le)}_startReceiving(H,ee){const Y=this._activeSiblings;!Y.has(H)&&ee.every(Le=>this.enterPredicate(Le,this)||this._draggables.indexOf(Le)>-1)&&(Y.add(H),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(H){this._activeSiblings.delete(H),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(H=>{if(this.isDragging()){const ee=this._parentPositions.handleScroll(H);ee&&(this._itemPositions.forEach(({clientRect:Y})=>{Fe(Y,ee.top,ee.left)}),this._itemPositions.forEach(({drag:Y})=>{this._dragDropRegistry.isDragging(Y)&&Y._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const H=(0,g.kV)((0,v.fI)(this.element));this._cachedShadowRoot=H||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const H=this._activeDraggables.filter(ee=>ee.isDragging());this._siblings.forEach(ee=>ee._startReceiving(this,H))}}function Te(oe,H){const{top:ee,bottom:Y,height:Le}=oe,Ye=.05*Le;return H>=ee-Ye&&H<=ee+Ye?1:H>=Y-Ye&&H<=Y+Ye?2:0}function n(oe,H){const{left:ee,right:Y,width:Le}=oe,Ye=.05*Le;return H>=ee-Ye&&H<=ee+Ye?1:H>=Y-Ye&&H<=Y+Ye?2:0}const u=(0,g.i$)({passive:!1,capture:!0});let o=(()=>{class oe{constructor(ee,Y){this._ngZone=ee,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=Le=>Le.isDragging(),this.pointerMove=new A.xQ,this.pointerUp=new A.xQ,this.scroll=new A.xQ,this._preventDefaultWhileDragging=Le=>{this._activeDragInstances.length>0&&Le.preventDefault()},this._persistentTouchmoveListener=Le=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&Le.preventDefault(),this.pointerMove.next(Le))},this._document=Y}registerDropContainer(ee){this._dropInstances.has(ee)||this._dropInstances.add(ee)}registerDragItem(ee){this._dragInstances.add(ee),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,u)})}removeDropContainer(ee){this._dropInstances.delete(ee)}removeDragItem(ee){this._dragInstances.delete(ee),this.stopDragging(ee),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,u)}startDragging(ee,Y){if(!(this._activeDragInstances.indexOf(ee)>-1)&&(this._activeDragInstances.push(ee),1===this._activeDragInstances.length)){const Le=Y.type.startsWith("touch");this._globalListeners.set(Le?"touchend":"mouseup",{handler:Ye=>this.pointerUp.next(Ye),options:!0}).set("scroll",{handler:Ye=>this.scroll.next(Ye),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:u}),Le||this._globalListeners.set("mousemove",{handler:Ye=>this.pointerMove.next(Ye),options:u}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((Ye,mt)=>{this._document.addEventListener(mt,Ye.handler,Ye.options)})})}}stopDragging(ee){const Y=this._activeDragInstances.indexOf(ee);Y>-1&&(this._activeDragInstances.splice(Y,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(ee){return this._activeDragInstances.indexOf(ee)>-1}scrolled(ee){const Y=[this.scroll];return ee&&ee!==this._document&&Y.push(new E.y(Le=>this._ngZone.runOutsideAngular(()=>{const mt=Ht=>{this._activeDragInstances.length&&Le.next(Ht)};return ee.addEventListener("scroll",mt,!0),()=>{ee.removeEventListener("scroll",mt,!0)}}))),(0,h.T)(...Y)}ngOnDestroy(){this._dragInstances.forEach(ee=>this.removeDragItem(ee)),this._dropInstances.forEach(ee=>this.removeDropContainer(ee)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((ee,Y)=>{this._document.removeEventListener(Y,ee.handler,ee.options)}),this._globalListeners.clear()}}return oe.\u0275fac=function(ee){return new(ee||oe)(e.LFG(e.R0b),e.LFG(f.K0))},oe.\u0275prov=e.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();const t={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let i=(()=>{class oe{constructor(ee,Y,Le,Ye){this._document=ee,this._ngZone=Y,this._viewportRuler=Le,this._dragDropRegistry=Ye}createDrag(ee,Y=t){return new ve(ee,Y,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(ee){return new j(ee,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return oe.\u0275fac=function(ee){return new(ee||oe)(e.LFG(f.K0),e.LFG(e.R0b),e.LFG(Ne.rL),e.LFG(o))},oe.\u0275prov=e.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();const c=new e.OlP("CDK_DRAG_PARENT"),p=new e.OlP("CdkDropListGroup"),Se=new e.OlP("CDK_DRAG_CONFIG");let Et=0;const St=new e.OlP("CdkDropList");let Ft=(()=>{class oe{constructor(ee,Y,Le,Ye,mt,Ht,qt){this.element=ee,this._changeDetectorRef=Le,this._scrollDispatcher=Ye,this._dir=mt,this._group=Ht,this._destroyed=new A.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+Et++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.sorted=new e.vpe,this._unsortedItems=new Set,this._dropListRef=Y.createDropList(ee),this._dropListRef.data=this,qt&&this._assignDefaults(qt),this._dropListRef.enterPredicate=(Dt,wt)=>this.enterPredicate(Dt.data,wt.data),this._dropListRef.sortPredicate=(Dt,wt,At)=>this.sortPredicate(Dt,wt.data,At.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),oe._dropLists.push(this),Ht&&Ht._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(ee){this._dropListRef.disabled=this._disabled=(0,v.Ig)(ee)}addItem(ee){this._unsortedItems.add(ee),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(ee){this._unsortedItems.delete(ee),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((ee,Y)=>ee._dragRef.getVisibleElement().compareDocumentPosition(Y._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const ee=oe._dropLists.indexOf(this);ee>-1&&oe._dropLists.splice(ee,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(ee){this._dir&&this._dir.change.pipe((0,k.O)(this._dir.value),(0,x.R)(this._destroyed)).subscribe(Y=>ee.withDirection(Y)),ee.beforeStarted.subscribe(()=>{const Y=(0,v.Eq)(this.connectedTo).map(Le=>"string"==typeof Le?oe._dropLists.find(mt=>mt.id===Le):Le);if(this._group&&this._group._items.forEach(Le=>{-1===Y.indexOf(Le)&&Y.push(Le)}),!this._scrollableParentsResolved){const Le=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(Ye=>Ye.getElementRef().nativeElement);this._dropListRef.withScrollableParents(Le),this._scrollableParentsResolved=!0}ee.disabled=this.disabled,ee.lockAxis=this.lockAxis,ee.sortingDisabled=(0,v.Ig)(this.sortingDisabled),ee.autoScrollDisabled=(0,v.Ig)(this.autoScrollDisabled),ee.autoScrollStep=(0,v.su)(this.autoScrollStep,2),ee.connectedTo(Y.filter(Le=>Le&&Le!==this).map(Le=>Le._dropListRef)).withOrientation(this.orientation)})}_handleEvents(ee){ee.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),ee.entered.subscribe(Y=>{this.entered.emit({container:this,item:Y.item.data,currentIndex:Y.currentIndex})}),ee.exited.subscribe(Y=>{this.exited.emit({container:this,item:Y.item.data}),this._changeDetectorRef.markForCheck()}),ee.sorted.subscribe(Y=>{this.sorted.emit({previousIndex:Y.previousIndex,currentIndex:Y.currentIndex,container:this,item:Y.item.data})}),ee.dropped.subscribe(Y=>{this.dropped.emit({previousIndex:Y.previousIndex,currentIndex:Y.currentIndex,previousContainer:Y.previousContainer.data,container:Y.container.data,item:Y.item.data,isPointerOverContainer:Y.isPointerOverContainer,distance:Y.distance,dropPoint:Y.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(ee){const{lockAxis:Y,draggingDisabled:Le,sortingDisabled:Ye,listAutoScrollDisabled:mt,listOrientation:Ht}=ee;this.disabled=null!=Le&&Le,this.sortingDisabled=null!=Ye&&Ye,this.autoScrollDisabled=null!=mt&&mt,this.orientation=Ht||"vertical",Y&&(this.lockAxis=Y)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(ee=>ee._dragRef))}}return oe._dropLists=[],oe.\u0275fac=function(ee){return new(ee||oe)(e.Y36(e.SBq),e.Y36(i),e.Y36(e.sBO),e.Y36(Ne.mF),e.Y36(ce.Is,8),e.Y36(p,12),e.Y36(Se,8))},oe.\u0275dir=e.lG2({type:oe,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(ee,Y){2&ee&&(e.uIk("id",Y.id),e.ekj("cdk-drop-list-disabled",Y.disabled)("cdk-drop-list-dragging",Y._dropListRef.isDragging())("cdk-drop-list-receiving",Y._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[e._Bn([{provide:p,useValue:void 0},{provide:St,useExisting:oe}])]}),oe})();const It=new e.OlP("CdkDragHandle"),Mt=new e.OlP("CdkDragPlaceholder"),Ut=new e.OlP("CdkDragPreview");let Ve=(()=>{class oe{constructor(ee,Y,Le,Ye,mt,Ht,qt,Dt,wt,At,Ot){this.element=ee,this.dropContainer=Y,this._ngZone=Ye,this._viewContainerRef=mt,this._dir=qt,this._changeDetectorRef=wt,this._selfHandle=At,this._parentDrag=Ot,this._destroyed=new A.xQ,this.started=new e.vpe,this.released=new e.vpe,this.ended=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.dropped=new e.vpe,this.moved=new E.y(Wt=>{const li=this._dragRef.moved.pipe((0,G.U)(gi=>({source:this,pointerPosition:gi.pointerPosition,event:gi.event,delta:gi.delta,distance:gi.distance}))).subscribe(Wt);return()=>{li.unsubscribe()}}),this._dragRef=Dt.createDrag(ee,{dragStartThreshold:Ht&&null!=Ht.dragStartThreshold?Ht.dragStartThreshold:5,pointerDirectionChangeThreshold:Ht&&null!=Ht.pointerDirectionChangeThreshold?Ht.pointerDirectionChangeThreshold:5,zIndex:null==Ht?void 0:Ht.zIndex}),this._dragRef.data=this,oe._dragInstances.push(this),Ht&&this._assignDefaults(Ht),Y&&(this._dragRef._withDropContainer(Y._dropListRef),Y.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(ee){this._disabled=(0,v.Ig)(ee),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,X.q)(1),(0,x.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(ee){const Y=ee.rootElementSelector,Le=ee.freeDragPosition;Y&&!Y.firstChange&&this._updateRootElement(),Le&&!Le.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const ee=oe._dragInstances.indexOf(this);ee>-1&&oe._dragInstances.splice(ee,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var ee;const Y=this.element.nativeElement;let Le=Y;this.rootElementSelector&&(Le=void 0!==Y.closest?Y.closest(this.rootElementSelector):null===(ee=Y.parentElement)||void 0===ee?void 0:ee.closest(this.rootElementSelector)),this._dragRef.withRootElement(Le||Y)}_getBoundaryElement(){const ee=this.boundaryElement;return ee?"string"==typeof ee?this.element.nativeElement.closest(ee):(0,v.fI)(ee):null}_syncInputs(ee){ee.beforeStarted.subscribe(()=>{if(!ee.isDragging()){const Y=this._dir,Le=this.dragStartDelay,Ye=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,mt=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;ee.disabled=this.disabled,ee.lockAxis=this.lockAxis,ee.dragStartDelay="object"==typeof Le&&Le?Le:(0,v.su)(Le),ee.constrainPosition=this.constrainPosition,ee.previewClass=this.previewClass,ee.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(Ye).withPreviewTemplate(mt).withPreviewContainer(this.previewContainer||"global"),Y&&ee.withDirection(Y.value)}}),ee.beforeStarted.pipe((0,X.q)(1)).subscribe(()=>{var Y;if(this._parentDrag)return void ee.withParent(this._parentDrag._dragRef);let Le=this.element.nativeElement.parentElement;for(;Le;){if(Le.classList.contains("cdk-drag")){ee.withParent((null===(Y=oe._dragInstances.find(Ye=>Ye.element.nativeElement===Le))||void 0===Y?void 0:Y._dragRef)||null);break}Le=Le.parentElement}})}_handleEvents(ee){ee.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),ee.released.subscribe(()=>{this.released.emit({source:this})}),ee.ended.subscribe(Y=>{this.ended.emit({source:this,distance:Y.distance,dropPoint:Y.dropPoint}),this._changeDetectorRef.markForCheck()}),ee.entered.subscribe(Y=>{this.entered.emit({container:Y.container.data,item:this,currentIndex:Y.currentIndex})}),ee.exited.subscribe(Y=>{this.exited.emit({container:Y.container.data,item:this})}),ee.dropped.subscribe(Y=>{this.dropped.emit({previousIndex:Y.previousIndex,currentIndex:Y.currentIndex,previousContainer:Y.previousContainer.data,container:Y.container.data,isPointerOverContainer:Y.isPointerOverContainer,item:this,distance:Y.distance,dropPoint:Y.dropPoint})})}_assignDefaults(ee){const{lockAxis:Y,dragStartDelay:Le,constrainPosition:Ye,previewClass:mt,boundaryElement:Ht,draggingDisabled:qt,rootElementSelector:Dt,previewContainer:wt}=ee;this.disabled=null!=qt&&qt,this.dragStartDelay=Le||0,Y&&(this.lockAxis=Y),Ye&&(this.constrainPosition=Ye),mt&&(this.previewClass=mt),Ht&&(this.boundaryElement=Ht),Dt&&(this.rootElementSelector=Dt),wt&&(this.previewContainer=wt)}_setupHandlesListener(){this._handles.changes.pipe((0,k.O)(this._handles),(0,he.b)(ee=>{const Y=ee.filter(Le=>Le._parentDrag===this).map(Le=>Le.element);this._selfHandle&&this.rootElementSelector&&Y.push(this.element),this._dragRef.withHandles(Y)}),(0,re.w)(ee=>(0,h.T)(...ee.map(Y=>Y._stateChanges.pipe((0,k.O)(Y))))),(0,x.R)(this._destroyed)).subscribe(ee=>{const Y=this._dragRef,Le=ee.element.nativeElement;ee.disabled?Y.disableHandle(Le):Y.enableHandle(Le)})}}return oe._dragInstances=[],oe.\u0275fac=function(ee){return new(ee||oe)(e.Y36(e.SBq),e.Y36(St,12),e.Y36(f.K0),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(Se,8),e.Y36(ce.Is,8),e.Y36(i),e.Y36(e.sBO),e.Y36(It,10),e.Y36(c,12))},oe.\u0275dir=e.lG2({type:oe,selectors:[["","cdkDrag",""]],contentQueries:function(ee,Y,Le){if(1&ee&&(e.Suo(Le,Ut,5),e.Suo(Le,Mt,5),e.Suo(Le,It,5)),2&ee){let Ye;e.iGM(Ye=e.CRH())&&(Y._previewTemplate=Ye.first),e.iGM(Ye=e.CRH())&&(Y._placeholderTemplate=Ye.first),e.iGM(Ye=e.CRH())&&(Y._handles=Ye)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(ee,Y){2&ee&&e.ekj("cdk-drag-disabled",Y.disabled)("cdk-drag-dragging",Y._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[e._Bn([{provide:c,useExisting:oe}]),e.TTD]}),oe})(),$e=(()=>{class oe{}return oe.\u0275fac=function(ee){return new(ee||oe)},oe.\u0275mod=e.oAB({type:oe}),oe.\u0275inj=e.cJS({providers:[i],imports:[Ne.ZD]}),oe})()},91159:(Ze,ge,d)=>{"use strict";d.d(ge,{A:()=>ze,zL:()=>b,ZH:()=>f,OC:()=>Xe,jx:()=>s,yY:()=>W,JH:()=>Pe,uR:()=>X,K5:()=>m,hY:()=>h,Sd:()=>he,oh:()=>re,b2:()=>cn,MW:()=>je,aO:()=>Ce,VM:()=>G,Ku:()=>k,SV:()=>ce,JU:()=>A,L_:()=>x,Mf:()=>g,LH:()=>Ne,Z:()=>Se,xE:()=>te,Vb:()=>Di});const f=8,g=9,m=13,A=16,s=17,b=18,h=27,x=32,k=33,G=34,X=35,he=36,re=37,Ne=38,ce=39,Pe=40,W=46,te=48,Ce=57,ze=65,Se=90,je=91,Xe=188,cn=224;function Di(xi,..._n){return _n.length?_n.some(hn=>xi[hn]):xi.altKey||xi.shiftKey||xi.ctrlKey||xi.metaKey}},17144:(Ze,ge,d)=>{"use strict";d.d(ge,{wD:()=>b,yq:()=>s,Q8:()=>R});var e=d(63191),f=d(5e3),g=d(56498),v=d(8929),m=d(80013);let A=(()=>{class E{create(x){return"undefined"==typeof MutationObserver?null:new MutationObserver(x)}}return E.\u0275fac=function(x){return new(x||E)},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),s=(()=>{class E{constructor(x){this._mutationObserverFactory=x,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((x,k)=>this._cleanupObserver(k))}observe(x){const k=(0,e.fI)(x);return new g.y(G=>{const he=this._observeElement(k).subscribe(G);return()=>{he.unsubscribe(),this._unobserveElement(k)}})}_observeElement(x){if(this._observedElements.has(x))this._observedElements.get(x).count++;else{const k=new v.xQ,G=this._mutationObserverFactory.create(X=>k.next(X));G&&G.observe(x,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(x,{observer:G,stream:k,count:1})}return this._observedElements.get(x).stream}_unobserveElement(x){this._observedElements.has(x)&&(this._observedElements.get(x).count--,this._observedElements.get(x).count||this._cleanupObserver(x))}_cleanupObserver(x){if(this._observedElements.has(x)){const{observer:k,stream:G}=this._observedElements.get(x);k&&k.disconnect(),G.complete(),this._observedElements.delete(x)}}}return E.\u0275fac=function(x){return new(x||E)(f.LFG(A))},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),b=(()=>{class E{constructor(x,k,G){this._contentObserver=x,this._elementRef=k,this._ngZone=G,this.event=new f.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(x){this._disabled=(0,e.Ig)(x),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(x){this._debounce=(0,e.su)(x),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const x=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?x.pipe((0,m.b)(this.debounce)):x).subscribe(this.event)})}_unsubscribe(){var x;null===(x=this._currentSubscription)||void 0===x||x.unsubscribe()}}return E.\u0275fac=function(x){return new(x||E)(f.Y36(s),f.Y36(f.SBq),f.Y36(f.R0b))},E.\u0275dir=f.lG2({type:E,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),E})(),R=(()=>{class E{}return E.\u0275fac=function(x){return new(x||E)},E.\u0275mod=f.oAB({type:E}),E.\u0275inj=f.cJS({providers:[A]}),E})()},92845:(Ze,ge,d)=>{"use strict";d.d(ge,{pI:()=>ne,xu:()=>N,_G:()=>Ie,aV:()=>M,X_:()=>pe,Xj:()=>Ce,U8:()=>n});var e=d(53435),f=d(69808),g=d(5e3),v=d(63191),m=d(70925),A=d(50226),s=d(47429),b=d(8929),R=d(42654),E=d(36787),h=d(43489);class k{constructor(o,t){this.predicate=o,this.inclusive=t}call(o,t){return t.subscribe(new G(o,this.predicate,this.inclusive))}}class G extends h.L{constructor(o,t,i){super(o),this.predicate=t,this.inclusive=i,this.index=0}_next(o){const t=this.destination;let i;try{i=this.predicate(o,this.index++)}catch(c){return void t.error(c)}this.nextOrComplete(o,i)}nextOrComplete(o,t){const i=this.destination;Boolean(t)?i.next(o):(this.inclusive&&i.next(o),i.complete())}}var X=d(72986),he=d(7625),re=d(91159);const Ne=(0,m.Mq)();class ce{constructor(o,t){this._viewportRuler=o,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const o=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=o.style.left||"",this._previousHTMLStyles.top=o.style.top||"",o.style.left=(0,v.HM)(-this._previousScrollPosition.left),o.style.top=(0,v.HM)(-this._previousScrollPosition.top),o.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const o=this._document.documentElement,i=o.style,c=this._document.body.style,p=i.scrollBehavior||"",T=c.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,o.classList.remove("cdk-global-scrollblock"),Ne&&(i.scrollBehavior=c.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ne&&(i.scrollBehavior=p,c.scrollBehavior=T)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class se{constructor(o,t,i,c){this._scrollDispatcher=o,this._ngZone=t,this._viewportRuler=i,this._config=c,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(o){this._overlayRef=o}enable(){if(this._scrollSubscription)return;const o=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=o.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=o.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class V{enable(){}disable(){}attach(){}}function F(u,o){return o.some(t=>u.bottomt.bottom||u.rightt.right)}function W(u,o){return o.some(t=>u.topt.bottom||u.leftt.right)}class te{constructor(o,t,i,c){this._scrollDispatcher=o,this._viewportRuler=t,this._ngZone=i,this._config=c,this._scrollSubscription=null}attach(o){this._overlayRef=o}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:c}=this._viewportRuler.getViewportSize();F(t,[{width:i,height:c,bottom:c,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let ae=(()=>{class u{constructor(t,i,c,p){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=c,this.noop=()=>new V,this.close=T=>new se(this._scrollDispatcher,this._ngZone,this._viewportRuler,T),this.block=()=>new ce(this._viewportRuler,this._document),this.reposition=T=>new te(this._scrollDispatcher,this._viewportRuler,this._ngZone,T),this._document=p}}return u.\u0275fac=function(t){return new(t||u)(g.LFG(e.mF),g.LFG(e.rL),g.LFG(g.R0b),g.LFG(f.K0))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class pe{constructor(o){if(this.scrollStrategy=new V,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,o){const t=Object.keys(o);for(const i of t)void 0!==o[i]&&(this[i]=o[i])}}}class ke{constructor(o,t){this.connectionPair=o,this.scrollableViewProperties=t}}class z{constructor(o,t,i,c,p,T,Se,je,Et){this._portalOutlet=o,this._host=t,this._pane=i,this._config=c,this._ngZone=p,this._keyboardDispatcher=T,this._document=Se,this._location=je,this._outsideClickDispatcher=Et,this._backdropElement=null,this._backdropClick=new b.xQ,this._attachments=new b.xQ,this._detachments=new b.xQ,this._locationChanges=R.w.EMPTY,this._backdropClickHandler=St=>this._backdropClick.next(St),this._keydownEvents=new b.xQ,this._outsidePointerEvents=new b.xQ,c.scrollStrategy&&(this._scrollStrategy=c.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=c.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(o){let t=this._portalOutlet.attach(o);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,X.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const o=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),o}dispose(){var o;const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(o=this._host)||void 0===o||o.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(o){o!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=o,this.hasAttached()&&(o.attach(this),this.updatePosition()))}updateSize(o){this._config=Object.assign(Object.assign({},this._config),o),this._updateElementSize()}setDirection(o){this._config=Object.assign(Object.assign({},this._config),{direction:o}),this._updateElementDirection()}addPanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!0)}removePanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!1)}getDirection(){const o=this._config.direction;return o?"string"==typeof o?o:o.value:"ltr"}updateScrollStrategy(o){o!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=o,this.hasAttached()&&(o.attach(this),o.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const o=this._pane.style;o.width=(0,v.HM)(this._config.width),o.height=(0,v.HM)(this._config.height),o.minWidth=(0,v.HM)(this._config.minWidth),o.minHeight=(0,v.HM)(this._config.minHeight),o.maxWidth=(0,v.HM)(this._config.maxWidth),o.maxHeight=(0,v.HM)(this._config.maxHeight)}_togglePointerEvents(o){this._pane.style.pointerEvents=o?"":"none"}_attachBackdrop(){const o="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(o)})}):this._backdropElement.classList.add(o)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const o=this._backdropElement;if(!o)return;let t;const i=()=>{o&&(o.removeEventListener("click",this._backdropClickHandler),o.removeEventListener("transitionend",i),this._disposeBackdrop(o)),this._config.backdropClass&&this._toggleClasses(o,this._config.backdropClass,!1),clearTimeout(t)};o.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{o.addEventListener("transitionend",i)}),o.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(i,500))}_toggleClasses(o,t,i){const c=(0,v.Eq)(t||[]).filter(p=>!!p);c.length&&(i?o.classList.add(...c):o.classList.remove(...c))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const o=this._ngZone.onStable.pipe((0,he.R)((0,E.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),o.unsubscribe())})})}_disposeScrollStrategy(){const o=this._scrollStrategy;o&&(o.disable(),o.detach&&o.detach())}_disposeBackdrop(o){o&&(o.remove(),this._backdropElement===o&&(this._backdropElement=null))}}let Ce=(()=>{class u{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){var t;null===(t=this._containerElement)||void 0===t||t.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||(0,m.Oy)()){const c=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let p=0;p{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const o=this._originRect,t=this._overlayRect,i=this._viewportRect,c=this._containerRect,p=[];let T;for(let Se of this._preferredPositions){let je=this._getOriginPoint(o,c,Se),Et=this._getOverlayPoint(je,t,Se),St=this._getOverlayFit(Et,t,i,Se);if(St.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Se,je);this._canFitWithFlexibleDimensions(St,Et,i)?p.push({position:Se,origin:je,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(je,Se)}):(!T||T.overlayFit.visibleAreaje&&(je=St,Se=Et)}return this._isPushed=!1,void this._applyPosition(Se.position,Se.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(T.position,T.originPoint);this._applyPosition(T.position,T.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Re(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(J),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const o=this._lastPosition;if(o){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,o);this._applyPosition(o,t)}else this.apply()}withScrollableContainers(o){return this._scrollables=o,this}withPositions(o){return this._preferredPositions=o,-1===o.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(o){return this._viewportMargin=o,this}withFlexibleDimensions(o=!0){return this._hasFlexibleDimensions=o,this}withGrowAfterOpen(o=!0){return this._growAfterOpen=o,this}withPush(o=!0){return this._canPush=o,this}withLockedPosition(o=!0){return this._positionLocked=o,this}setOrigin(o){return this._origin=o,this}withDefaultOffsetX(o){return this._offsetX=o,this}withDefaultOffsetY(o){return this._offsetY=o,this}withTransformOriginOn(o){return this._transformOriginSelector=o,this}_getOriginPoint(o,t,i){let c,p;if("center"==i.originX)c=o.left+o.width/2;else{const T=this._isRtl()?o.right:o.left,Se=this._isRtl()?o.left:o.right;c="start"==i.originX?T:Se}return t.left<0&&(c-=t.left),p="center"==i.originY?o.top+o.height/2:"top"==i.originY?o.top:o.bottom,t.top<0&&(p-=t.top),{x:c,y:p}}_getOverlayPoint(o,t,i){let c,p;return c="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,p="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:o.x+c,y:o.y+p}}_getOverlayFit(o,t,i,c){const p=fe(t);let{x:T,y:Se}=o,je=this._getOffset(c,"x"),Et=this._getOffset(c,"y");je&&(T+=je),Et&&(Se+=Et);let It=0-Se,Vt=Se+p.height-i.height,Mt=this._subtractOverflows(p.width,0-T,T+p.width-i.width),at=this._subtractOverflows(p.height,It,Vt),Ut=Mt*at;return{visibleArea:Ut,isCompletelyWithinViewport:p.width*p.height===Ut,fitsInViewportVertically:at===p.height,fitsInViewportHorizontally:Mt==p.width}}_canFitWithFlexibleDimensions(o,t,i){if(this._hasFlexibleDimensions){const c=i.bottom-t.y,p=i.right-t.x,T=ze(this._overlayRef.getConfig().minHeight),Se=ze(this._overlayRef.getConfig().minWidth),Et=o.fitsInViewportHorizontally||null!=Se&&Se<=p;return(o.fitsInViewportVertically||null!=T&&T<=c)&&Et}return!1}_pushOverlayOnScreen(o,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:o.x+this._previousPushAmount.x,y:o.y+this._previousPushAmount.y};const c=fe(t),p=this._viewportRect,T=Math.max(o.x+c.width-p.width,0),Se=Math.max(o.y+c.height-p.height,0),je=Math.max(p.top-i.top-o.y,0),Et=Math.max(p.left-i.left-o.x,0);let St=0,Ft=0;return St=c.width<=p.width?Et||-T:o.xMt&&!this._isInitialRender&&!this._growAfterOpen&&(T=o.y-Mt/2)}if("end"===t.overlayX&&!c||"start"===t.overlayX&&c)It=i.width-o.x+this._viewportMargin,St=o.x-this._viewportMargin;else if("start"===t.overlayX&&!c||"end"===t.overlayX&&c)Ft=o.x,St=i.right-o.x;else{const Vt=Math.min(i.right-o.x+i.left,o.x),Mt=this._lastBoundingBoxSize.width;St=2*Vt,Ft=o.x-Vt,St>Mt&&!this._isInitialRender&&!this._growAfterOpen&&(Ft=o.x-Mt/2)}return{top:T,left:Ft,bottom:Se,right:It,width:St,height:p}}_setBoundingBoxStyles(o,t){const i=this._calculateBoundingBoxRect(o,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const c={};if(this._hasExactPosition())c.top=c.left="0",c.bottom=c.right=c.maxHeight=c.maxWidth="",c.width=c.height="100%";else{const p=this._overlayRef.getConfig().maxHeight,T=this._overlayRef.getConfig().maxWidth;c.height=(0,v.HM)(i.height),c.top=(0,v.HM)(i.top),c.bottom=(0,v.HM)(i.bottom),c.width=(0,v.HM)(i.width),c.left=(0,v.HM)(i.left),c.right=(0,v.HM)(i.right),c.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",c.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",p&&(c.maxHeight=(0,v.HM)(p)),T&&(c.maxWidth=(0,v.HM)(T))}this._lastBoundingBoxSize=i,Re(this._boundingBox.style,c)}_resetBoundingBoxStyles(){Re(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Re(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(o,t){const i={},c=this._hasExactPosition(),p=this._hasFlexibleDimensions,T=this._overlayRef.getConfig();if(c){const St=this._viewportRuler.getViewportScrollPosition();Re(i,this._getExactOverlayY(t,o,St)),Re(i,this._getExactOverlayX(t,o,St))}else i.position="static";let Se="",je=this._getOffset(t,"x"),Et=this._getOffset(t,"y");je&&(Se+=`translateX(${je}px) `),Et&&(Se+=`translateY(${Et}px)`),i.transform=Se.trim(),T.maxHeight&&(c?i.maxHeight=(0,v.HM)(T.maxHeight):p&&(i.maxHeight="")),T.maxWidth&&(c?i.maxWidth=(0,v.HM)(T.maxWidth):p&&(i.maxWidth="")),Re(this._pane.style,i)}_getExactOverlayY(o,t,i){let c={top:"",bottom:""},p=this._getOverlayPoint(t,this._overlayRect,o);return this._isPushed&&(p=this._pushOverlayOnScreen(p,this._overlayRect,i)),"bottom"===o.overlayY?c.bottom=this._document.documentElement.clientHeight-(p.y+this._overlayRect.height)+"px":c.top=(0,v.HM)(p.y),c}_getExactOverlayX(o,t,i){let T,c={left:"",right:""},p=this._getOverlayPoint(t,this._overlayRect,o);return this._isPushed&&(p=this._pushOverlayOnScreen(p,this._overlayRect,i)),T=this._isRtl()?"end"===o.overlayX?"left":"right":"end"===o.overlayX?"right":"left","right"===T?c.right=this._document.documentElement.clientWidth-(p.x+this._overlayRect.width)+"px":c.left=(0,v.HM)(p.x),c}_getScrollVisibility(){const o=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(c=>c.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:W(o,i),isOriginOutsideView:F(o,i),isOverlayClipped:W(t,i),isOverlayOutsideView:F(t,i)}}_subtractOverflows(o,...t){return t.reduce((i,c)=>i-Math.max(c,0),o)}_getNarrowedViewportRect(){const o=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+o-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:o-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(o,t){return"x"===t?null==o.offsetX?this._offsetX:o.offsetX:null==o.offsetY?this._offsetY:o.offsetY}_validatePositions(){}_addPanelClasses(o){this._pane&&(0,v.Eq)(o).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(o=>{this._pane.classList.remove(o)}),this._appliedPanelClasses=[])}_getOriginRect(){const o=this._origin;if(o instanceof g.SBq)return o.nativeElement.getBoundingClientRect();if(o instanceof Element)return o.getBoundingClientRect();const t=o.width||0,i=o.height||0;return{top:o.y,bottom:o.y+i,left:o.x,right:o.x+t,height:i,width:t}}}function Re(u,o){for(let t in o)o.hasOwnProperty(t)&&(u[t]=o[t]);return u}function ze(u){if("number"!=typeof u&&null!=u){const[o,t]=u.split(I);return t&&"px"!==t?null:parseFloat(o)}return u||null}function fe(u){return{top:Math.floor(u.top),right:Math.floor(u.right),bottom:Math.floor(u.bottom),left:Math.floor(u.left),width:Math.floor(u.width),height:Math.floor(u.height)}}const ve="cdk-global-overlay-wrapper";class We{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(o){const t=o.getConfig();this._overlayRef=o,this._width&&!t.width&&o.updateSize({width:this._width}),this._height&&!t.height&&o.updateSize({height:this._height}),o.hostElement.classList.add(ve),this._isDisposed=!1}top(o=""){return this._bottomOffset="",this._topOffset=o,this._alignItems="flex-start",this}left(o=""){return this._rightOffset="",this._leftOffset=o,this._justifyContent="flex-start",this}bottom(o=""){return this._topOffset="",this._bottomOffset=o,this._alignItems="flex-end",this}right(o=""){return this._leftOffset="",this._rightOffset=o,this._justifyContent="flex-end",this}width(o=""){return this._overlayRef?this._overlayRef.updateSize({width:o}):this._width=o,this}height(o=""){return this._overlayRef?this._overlayRef.updateSize({height:o}):this._height=o,this}centerHorizontally(o=""){return this.left(o),this._justifyContent="center",this}centerVertically(o=""){return this.top(o),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const o=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:c,height:p,maxWidth:T,maxHeight:Se}=i,je=!("100%"!==c&&"100vw"!==c||T&&"100%"!==T&&"100vw"!==T),Et=!("100%"!==p&&"100vh"!==p||Se&&"100%"!==Se&&"100vh"!==Se);o.position=this._cssPosition,o.marginLeft=je?"0":this._leftOffset,o.marginTop=Et?"0":this._topOffset,o.marginBottom=this._bottomOffset,o.marginRight=this._rightOffset,je?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=Et?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const o=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(ve),i.justifyContent=i.alignItems=o.marginTop=o.marginBottom=o.marginLeft=o.marginRight=o.position="",this._overlayRef=null,this._isDisposed=!0}}let nt=(()=>{class u{constructor(t,i,c,p){this._viewportRuler=t,this._document=i,this._platform=c,this._overlayContainer=p}global(){return new We}flexibleConnectedTo(t){return new Ie(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return u.\u0275fac=function(t){return new(t||u)(g.LFG(e.rL),g.LFG(f.K0),g.LFG(m.t4),g.LFG(Ce))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),st=(()=>{class u{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return u.\u0275fac=function(t){return new(t||u)(g.LFG(f.K0))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),dt=(()=>{class u extends st{constructor(t){super(t),this._keydownListener=i=>{const c=this._attachedOverlays;for(let p=c.length-1;p>-1;p--)if(c[p]._keydownEvents.observers.length>0){c[p]._keydownEvents.next(i);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return u.\u0275fac=function(t){return new(t||u)(g.LFG(f.K0))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),L=(()=>{class u extends st{constructor(t,i){super(t),this._platform=i,this._cursorStyleIsSet=!1,this._pointerDownListener=c=>{this._pointerDownEventTarget=(0,m.sA)(c)},this._clickListener=c=>{const p=(0,m.sA)(c),T="click"===c.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:p;this._pointerDownEventTarget=null;const Se=this._attachedOverlays.slice();for(let je=Se.length-1;je>-1;je--){const Et=Se[je];if(!(Et._outsidePointerEvents.observers.length<1)&&Et.hasAttached()){if(Et.overlayElement.contains(p)||Et.overlayElement.contains(T))break;Et._outsidePointerEvents.next(c)}}}}add(t){if(super.add(t),!this._isAttached){const i=this._document.body;i.addEventListener("pointerdown",this._pointerDownListener,!0),i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return u.\u0275fac=function(t){return new(t||u)(g.LFG(f.K0),g.LFG(m.t4))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),de=0,M=(()=>{class u{constructor(t,i,c,p,T,Se,je,Et,St,Ft,It){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=c,this._positionBuilder=p,this._keyboardDispatcher=T,this._injector=Se,this._ngZone=je,this._document=Et,this._directionality=St,this._location=Ft,this._outsideClickDispatcher=It}create(t){const i=this._createHostElement(),c=this._createPaneElement(i),p=this._createPortalOutlet(c),T=new pe(t);return T.direction=T.direction||this._directionality.value,new z(p,i,c,T,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+de++,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(g.z2F)),new s.u0(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return u.\u0275fac=function(t){return new(t||u)(g.LFG(ae),g.LFG(Ce),g.LFG(g._Vd),g.LFG(nt),g.LFG(dt),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(f.K0),g.LFG(A.Is),g.LFG(f.Ye),g.LFG(L))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac}),u})();const S=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],P=new g.OlP("cdk-connected-overlay-scroll-strategy");let N=(()=>{class u{constructor(t){this.elementRef=t}}return u.\u0275fac=function(t){return new(t||u)(g.Y36(g.SBq))},u.\u0275dir=g.lG2({type:u,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),u})(),ne=(()=>{class u{constructor(t,i,c,p,T){this._overlay=t,this._dir=T,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=R.w.EMPTY,this._attachSubscription=R.w.EMPTY,this._detachSubscription=R.w.EMPTY,this._positionSubscription=R.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new g.vpe,this.positionChange=new g.vpe,this.attach=new g.vpe,this.detach=new g.vpe,this.overlayKeydown=new g.vpe,this.overlayOutsideClick=new g.vpe,this._templatePortal=new s.UE(i,c),this._scrollStrategyFactory=p,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,v.Ig)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=(0,v.Ig)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=(0,v.Ig)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=(0,v.Ig)(t)}get push(){return this._push}set push(t){this._push=(0,v.Ig)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=S);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===re.hY&&!this.disableClose&&!(0,re.Vb)(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new pe({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(t){const i=this.positions.map(c=>({originX:c.originX,originY:c.originY,overlayX:c.overlayX,overlayY:c.overlayY,offsetX:c.offsetX||this.offsetX,offsetY:c.offsetY||this.offsetY,panelClass:c.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof N?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function x(u,o=!1){return t=>t.lift(new k(u,o))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return u.\u0275fac=function(t){return new(t||u)(g.Y36(M),g.Y36(g.Rgc),g.Y36(g.s_b),g.Y36(P),g.Y36(A.Is,8))},u.\u0275dir=g.lG2({type:u,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[g.TTD]}),u})();const Te={provide:P,deps:[M],useFactory:function j(u){return()=>u.scrollStrategies.reposition()}};let n=(()=>{class u{}return u.\u0275fac=function(t){return new(t||u)},u.\u0275mod=g.oAB({type:u}),u.\u0275inj=g.cJS({providers:[M,Te],imports:[[A.vT,s.eL,e.Cl],e.Cl]}),u})()},70925:(Ze,ge,d)=>{"use strict";d.d(ge,{t4:()=>v,ud:()=>m,sA:()=>Pe,ht:()=>ce,kV:()=>Ne,Oy:()=>se,_i:()=>X,qK:()=>b,i$:()=>h,Mq:()=>G});var e=d(5e3),f=d(69808);let g;try{g="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(V){g=!1}let A,v=(()=>{class V{constructor(W){this._platformId=W,this.isBrowser=this._platformId?(0,f.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!g)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return V.\u0275fac=function(W){return new(W||V)(e.LFG(e.Lbi))},V.\u0275prov=e.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})(),m=(()=>{class V{}return V.\u0275fac=function(W){return new(W||V)},V.\u0275mod=e.oAB({type:V}),V.\u0275inj=e.cJS({}),V})();const s=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function b(){if(A)return A;if("object"!=typeof document||!document)return A=new Set(s),A;let V=document.createElement("input");return A=new Set(s.filter(F=>(V.setAttribute("type",F),V.type===F))),A}let R,x,k,he;function h(V){return function E(){if(null==R&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>R=!0}))}finally{R=R||!1}return R}()?V:!!V.capture}function G(){if(null==k){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return k=!1,k;if("scrollBehavior"in document.documentElement.style)k=!0;else{const V=Element.prototype.scrollTo;k=!!V&&!/\{\s*\[native code\]\s*\}/.test(V.toString())}}return k}function X(){if("object"!=typeof document||!document)return 0;if(null==x){const V=document.createElement("div"),F=V.style;V.dir="rtl",F.width="1px",F.overflow="auto",F.visibility="hidden",F.pointerEvents="none",F.position="absolute";const W=document.createElement("div"),te=W.style;te.width="2px",te.height="1px",V.appendChild(W),document.body.appendChild(V),x=0,0===V.scrollLeft&&(V.scrollLeft=1,x=0===V.scrollLeft?1:2),V.remove()}return x}function Ne(V){if(function re(){if(null==he){const V="undefined"!=typeof document?document.head:null;he=!(!V||!V.createShadowRoot&&!V.attachShadow)}return he}()){const F=V.getRootNode?V.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&F instanceof ShadowRoot)return F}return null}function ce(){let V="undefined"!=typeof document&&document?document.activeElement:null;for(;V&&V.shadowRoot;){const F=V.shadowRoot.activeElement;if(F===V)break;V=F}return V}function Pe(V){return V.composedPath?V.composedPath()[0]:V.target}function se(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},47429:(Ze,ge,d)=>{"use strict";d.d(ge,{en:()=>k,ig:()=>re,Pl:()=>ce,C5:()=>E,u0:()=>X,eL:()=>se,UE:()=>h});var e=d(5e3),f=d(69808);class R{attach(W){return this._attachedHost=W,W.attach(this)}detach(){let W=this._attachedHost;null!=W&&(this._attachedHost=null,W.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(W){this._attachedHost=W}}class E extends R{constructor(W,te,ae,pe){super(),this.component=W,this.viewContainerRef=te,this.injector=ae,this.componentFactoryResolver=pe}}class h extends R{constructor(W,te,ae){super(),this.templateRef=W,this.viewContainerRef=te,this.context=ae}get origin(){return this.templateRef.elementRef}attach(W,te=this.context){return this.context=te,super.attach(W)}detach(){return this.context=void 0,super.detach()}}class x extends R{constructor(W){super(),this.element=W instanceof e.SBq?W.nativeElement:W}}class k{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(W){return W instanceof E?(this._attachedPortal=W,this.attachComponentPortal(W)):W instanceof h?(this._attachedPortal=W,this.attachTemplatePortal(W)):this.attachDomPortal&&W instanceof x?(this._attachedPortal=W,this.attachDomPortal(W)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(W){this._disposeFn=W}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class X extends k{constructor(W,te,ae,pe,Be){super(),this.outletElement=W,this._componentFactoryResolver=te,this._appRef=ae,this._defaultInjector=pe,this.attachDomPortal=Fe=>{const ke=Fe.element,De=this._document.createComment("dom-portal");ke.parentNode.insertBefore(De,ke),this.outletElement.appendChild(ke),this._attachedPortal=Fe,super.setDisposeFn(()=>{De.parentNode&&De.parentNode.replaceChild(ke,De)})},this._document=Be}attachComponentPortal(W){const ae=(W.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(W.component);let pe;return W.viewContainerRef?(pe=W.viewContainerRef.createComponent(ae,W.viewContainerRef.length,W.injector||W.viewContainerRef.injector),this.setDisposeFn(()=>pe.destroy())):(pe=ae.create(W.injector||this._defaultInjector),this._appRef.attachView(pe.hostView),this.setDisposeFn(()=>{this._appRef.detachView(pe.hostView),pe.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(pe)),this._attachedPortal=W,pe}attachTemplatePortal(W){let te=W.viewContainerRef,ae=te.createEmbeddedView(W.templateRef,W.context);return ae.rootNodes.forEach(pe=>this.outletElement.appendChild(pe)),ae.detectChanges(),this.setDisposeFn(()=>{let pe=te.indexOf(ae);-1!==pe&&te.remove(pe)}),this._attachedPortal=W,ae}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(W){return W.hostView.rootNodes[0]}}let re=(()=>{class F extends h{constructor(te,ae){super(te,ae)}}return F.\u0275fac=function(te){return new(te||F)(e.Y36(e.Rgc),e.Y36(e.s_b))},F.\u0275dir=e.lG2({type:F,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[e.qOj]}),F})(),ce=(()=>{class F extends k{constructor(te,ae,pe){super(),this._componentFactoryResolver=te,this._viewContainerRef=ae,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=Be=>{const Fe=Be.element,ke=this._document.createComment("dom-portal");Be.setAttachedHost(this),Fe.parentNode.insertBefore(ke,Fe),this._getRootNode().appendChild(Fe),this._attachedPortal=Be,super.setDisposeFn(()=>{ke.parentNode&&ke.parentNode.replaceChild(Fe,ke)})},this._document=pe}get portal(){return this._attachedPortal}set portal(te){this.hasAttached()&&!te&&!this._isInitialized||(this.hasAttached()&&super.detach(),te&&super.attach(te),this._attachedPortal=te||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(te){te.setAttachedHost(this);const ae=null!=te.viewContainerRef?te.viewContainerRef:this._viewContainerRef,Be=(te.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(te.component),Fe=ae.createComponent(Be,ae.length,te.injector||ae.injector);return ae!==this._viewContainerRef&&this._getRootNode().appendChild(Fe.hostView.rootNodes[0]),super.setDisposeFn(()=>Fe.destroy()),this._attachedPortal=te,this._attachedRef=Fe,this.attached.emit(Fe),Fe}attachTemplatePortal(te){te.setAttachedHost(this);const ae=this._viewContainerRef.createEmbeddedView(te.templateRef,te.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=te,this._attachedRef=ae,this.attached.emit(ae),ae}_getRootNode(){const te=this._viewContainerRef.element.nativeElement;return te.nodeType===te.ELEMENT_NODE?te:te.parentNode}}return F.\u0275fac=function(te){return new(te||F)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(f.K0))},F.\u0275dir=e.lG2({type:F,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]}),F})(),se=(()=>{class F{}return F.\u0275fac=function(te){return new(te||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({}),F})()},53435:(Ze,ge,d)=>{"use strict";d.d(ge,{xd:()=>De,PQ:()=>Ce,ZD:()=>We,x0:()=>ve,N7:()=>ze,mF:()=>z,Cl:()=>nt,rL:()=>I});var e=d(63191),f=d(5e3),g=d(8929),v=d(21086),m=d(56498),A=d(23753),s=d(90352),b=d(8139),R=d(42654),E=d(54715),h=d(43489);class k{call(dt,L){return L.subscribe(new G(dt))}}class G extends h.L{constructor(dt){super(dt),this.hasPrev=!1}_next(dt){let L;this.hasPrev?L=[this.prev,dt]:this.hasPrev=!0,this.prev=dt,L&&this.destination.next(L)}}var X=d(75778),he=d(57138),re=d(92198),Ne=d(7625),ce=d(1059),Pe=d(87545),se=d(5154),V=d(69808),F=d(70925),W=d(50226),te=d(20449);const ae=["contentWrapper"],pe=["*"],Be=new f.OlP("VIRTUAL_SCROLL_STRATEGY");class Fe{constructor(dt,L,de){this._scrolledIndexChange=new g.xQ,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,X.x)()),this._viewport=null,this._itemSize=dt,this._minBufferPx=L,this._maxBufferPx=de}attach(dt){this._viewport=dt,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(dt,L,de){this._itemSize=dt,this._minBufferPx=L,this._maxBufferPx=de,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(dt,L){this._viewport&&this._viewport.scrollToOffset(dt*this._itemSize,L)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const dt=this._viewport.getRenderedRange(),L={start:dt.start,end:dt.end},de=this._viewport.getViewportSize(),M=this._viewport.getDataLength();let S=this._viewport.measureScrollOffset(),P=this._itemSize>0?S/this._itemSize:0;if(L.end>M){const ne=Math.ceil(de/this._itemSize),j=Math.max(0,Math.min(P,M-ne));P!=j&&(P=j,S=j*this._itemSize,L.start=Math.floor(P)),L.end=Math.max(0,Math.min(M,L.start+ne))}const N=S-L.start*this._itemSize;if(N0&&(L.end=Math.min(M,L.end+j),L.start=Math.max(0,Math.floor(P-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(L),this._viewport.setRenderedContentOffset(this._itemSize*L.start),this._scrolledIndexChange.next(Math.floor(P))}}function ke(st){return st._scrollStrategy}let De=(()=>{class st{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Fe(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(L){this._itemSize=(0,e.su)(L)}get minBufferPx(){return this._minBufferPx}set minBufferPx(L){this._minBufferPx=(0,e.su)(L)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(L){this._maxBufferPx=(0,e.su)(L)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return st.\u0275fac=function(L){return new(L||st)},st.\u0275dir=f.lG2({type:st,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[f._Bn([{provide:Be,useFactory:ke,deps:[(0,f.Gpc)(()=>st)]}]),f.TTD]}),st})(),z=(()=>{class st{constructor(L,de,M){this._ngZone=L,this._platform=de,this._scrolled=new g.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=M}register(L){this.scrollContainers.has(L)||this.scrollContainers.set(L,L.elementScrolled().subscribe(()=>this._scrolled.next(L)))}deregister(L){const de=this.scrollContainers.get(L);de&&(de.unsubscribe(),this.scrollContainers.delete(L))}scrolled(L=20){return this._platform.isBrowser?new m.y(de=>{this._globalSubscription||this._addGlobalListener();const M=L>0?this._scrolled.pipe((0,he.e)(L)).subscribe(de):this._scrolled.subscribe(de);return this._scrolledCount++,()=>{M.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,v.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((L,de)=>this.deregister(de)),this._scrolled.complete()}ancestorScrolled(L,de){const M=this.getAncestorScrollContainers(L);return this.scrolled(de).pipe((0,re.h)(S=>!S||M.indexOf(S)>-1))}getAncestorScrollContainers(L){const de=[];return this.scrollContainers.forEach((M,S)=>{this._scrollableContainsElement(S,L)&&de.push(S)}),de}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(L,de){let M=(0,e.fI)(de),S=L.getElementRef().nativeElement;do{if(M==S)return!0}while(M=M.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const L=this._getWindow();return(0,A.R)(L.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return st.\u0275fac=function(L){return new(L||st)(f.LFG(f.R0b),f.LFG(F.t4),f.LFG(V.K0,8))},st.\u0275prov=f.Yz7({token:st,factory:st.\u0275fac,providedIn:"root"}),st})(),Ce=(()=>{class st{constructor(L,de,M,S){this.elementRef=L,this.scrollDispatcher=de,this.ngZone=M,this.dir=S,this._destroyed=new g.xQ,this._elementScrolled=new m.y(P=>this.ngZone.runOutsideAngular(()=>(0,A.R)(this.elementRef.nativeElement,"scroll").pipe((0,Ne.R)(this._destroyed)).subscribe(P)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(L){const de=this.elementRef.nativeElement,M=this.dir&&"rtl"==this.dir.value;null==L.left&&(L.left=M?L.end:L.start),null==L.right&&(L.right=M?L.start:L.end),null!=L.bottom&&(L.top=de.scrollHeight-de.clientHeight-L.bottom),M&&0!=(0,F._i)()?(null!=L.left&&(L.right=de.scrollWidth-de.clientWidth-L.left),2==(0,F._i)()?L.left=L.right:1==(0,F._i)()&&(L.left=L.right?-L.right:L.right)):null!=L.right&&(L.left=de.scrollWidth-de.clientWidth-L.right),this._applyScrollToOptions(L)}_applyScrollToOptions(L){const de=this.elementRef.nativeElement;(0,F.Mq)()?de.scrollTo(L):(null!=L.top&&(de.scrollTop=L.top),null!=L.left&&(de.scrollLeft=L.left))}measureScrollOffset(L){const de="left",M="right",S=this.elementRef.nativeElement;if("top"==L)return S.scrollTop;if("bottom"==L)return S.scrollHeight-S.clientHeight-S.scrollTop;const P=this.dir&&"rtl"==this.dir.value;return"start"==L?L=P?M:de:"end"==L&&(L=P?de:M),P&&2==(0,F._i)()?L==de?S.scrollWidth-S.clientWidth-S.scrollLeft:S.scrollLeft:P&&1==(0,F._i)()?L==de?S.scrollLeft+S.scrollWidth-S.clientWidth:-S.scrollLeft:L==de?S.scrollLeft:S.scrollWidth-S.clientWidth-S.scrollLeft}}return st.\u0275fac=function(L){return new(L||st)(f.Y36(f.SBq),f.Y36(z),f.Y36(f.R0b),f.Y36(W.Is,8))},st.\u0275dir=f.lG2({type:st,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),st})(),I=(()=>{class st{constructor(L,de,M){this._platform=L,this._change=new g.xQ,this._changeListener=S=>{this._change.next(S)},this._document=M,de.runOutsideAngular(()=>{if(L.isBrowser){const S=this._getWindow();S.addEventListener("resize",this._changeListener),S.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const L=this._getWindow();L.removeEventListener("resize",this._changeListener),L.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const L={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),L}getViewportRect(){const L=this.getViewportScrollPosition(),{width:de,height:M}=this.getViewportSize();return{top:L.top,left:L.left,bottom:L.top+M,right:L.left+de,height:M,width:de}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const L=this._document,de=this._getWindow(),M=L.documentElement,S=M.getBoundingClientRect();return{top:-S.top||L.body.scrollTop||de.scrollY||M.scrollTop||0,left:-S.left||L.body.scrollLeft||de.scrollX||M.scrollLeft||0}}change(L=20){return L>0?this._change.pipe((0,he.e)(L)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const L=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:L.innerWidth,height:L.innerHeight}:{width:0,height:0}}}return st.\u0275fac=function(L){return new(L||st)(f.LFG(F.t4),f.LFG(f.R0b),f.LFG(V.K0,8))},st.\u0275prov=f.Yz7({token:st,factory:st.\u0275fac,providedIn:"root"}),st})();const Re="undefined"!=typeof requestAnimationFrame?s.r:b.e;let ze=(()=>{class st extends Ce{constructor(L,de,M,S,P,N,ne){super(L,N,M,P),this.elementRef=L,this._changeDetectorRef=de,this._scrollStrategy=S,this._detachedSubject=new g.xQ,this._renderedRangeSubject=new g.xQ,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new m.y(j=>this._scrollStrategy.scrolledIndexChange.subscribe(Te=>Promise.resolve().then(()=>this.ngZone.run(()=>j.next(Te))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=R.w.EMPTY,this._viewportChanges=ne.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(L){this._orientation!==L&&(this._orientation=L,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(L){this._appendOnly=(0,e.Ig)(L)}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe((0,ce.O)(null),(0,he.e)(0,Re)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(L){this.ngZone.runOutsideAngular(()=>{this._forOf=L,this._forOf.dataStream.pipe((0,Ne.R)(this._detachedSubject)).subscribe(de=>{const M=de.length;M!==this._dataLength&&(this._dataLength=M,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(L){this._totalContentSize!==L&&(this._totalContentSize=L,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(L){(function Ie(st,dt){return st.start==dt.start&&st.end==dt.end})(this._renderedRange,L)||(this.appendOnly&&(L={start:0,end:Math.max(this._renderedRange.end,L.end)}),this._renderedRangeSubject.next(this._renderedRange=L),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(L,de="to-start"){const S="horizontal"==this.orientation,P=S?"X":"Y";let ne=`translate${P}(${Number((S&&this.dir&&"rtl"==this.dir.value?-1:1)*L)}px)`;this._renderedContentOffset=L=this.appendOnly&&"to-start"===de?0:L,"to-end"===de&&(ne+=` translate${P}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=ne&&(this._renderedContentTransform=ne,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(L,de="auto"){const M={behavior:de};"horizontal"===this.orientation?M.start=L:M.top=L,this.scrollTo(M)}scrollToIndex(L,de="auto"){this._scrollStrategy.scrollToIndex(L,de)}measureScrollOffset(L){return super.measureScrollOffset(L||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const L=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?L.offsetWidth:L.offsetHeight}measureRangeSize(L){return this._forOf?this._forOf.measureRangeSize(L,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const L=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?L.clientWidth:L.clientHeight}_markChangeDetectionNeeded(L){L&&this._runAfterChangeDetection.push(L),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const L=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const de of L)de()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return st.\u0275fac=function(L){return new(L||st)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(f.R0b),f.Y36(Be,8),f.Y36(W.Is,8),f.Y36(z),f.Y36(I))},st.\u0275cmp=f.Xpm({type:st,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(L,de){if(1&L&&f.Gf(ae,7),2&L){let M;f.iGM(M=f.CRH())&&(de._contentWrapper=M.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(L,de){2&L&&f.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===de.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==de.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[f._Bn([{provide:Ce,useExisting:st}]),f.qOj],ngContentSelectors:pe,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(L,de){1&L&&(f.F$t(),f.TgZ(0,"div",0,1),f.Hsn(2),f.qZA(),f._UZ(3,"div",2)),2&L&&(f.xp6(3),f.Udp("width",de._totalContentWidth)("height",de._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),st})();function fe(st,dt,L){if(!L.getBoundingClientRect)return 0;const M=L.getBoundingClientRect();return"horizontal"===st?"start"===dt?M.left:M.right:"start"===dt?M.top:M.bottom}let ve=(()=>{class st{constructor(L,de,M,S,P,N){this._viewContainerRef=L,this._template=de,this._differs=M,this._viewRepeater=S,this._viewport=P,this.viewChange=new g.xQ,this._dataSourceChanges=new g.xQ,this.dataStream=this._dataSourceChanges.pipe((0,ce.O)(null),function x(){return st=>st.lift(new k)}(),(0,Pe.w)(([ne,j])=>this._changeDataSource(ne,j)),(0,se.d)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new g.xQ,this.dataStream.subscribe(ne=>{this._data=ne,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,Ne.R)(this._destroyed)).subscribe(ne=>{this._renderedRange=ne,N.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(L){this._cdkVirtualForOf=L,(0,te.Z9)(L)?this._dataSourceChanges.next(L):this._dataSourceChanges.next(new te.P3((0,E.b)(L)?L:Array.from(L||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(L){this._needsUpdate=!0,this._cdkVirtualForTrackBy=L?(de,M)=>L(de+(this._renderedRange?this._renderedRange.start:0),M):void 0}set cdkVirtualForTemplate(L){L&&(this._needsUpdate=!0,this._template=L)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(L){this._viewRepeater.viewCacheSize=(0,e.su)(L)}measureRangeSize(L,de){if(L.start>=L.end)return 0;const M=L.start-this._renderedRange.start,S=L.end-L.start;let P,N;for(let ne=0;ne-1;ne--){const j=this._viewContainerRef.get(ne+M);if(j&&j.rootNodes.length){N=j.rootNodes[j.rootNodes.length-1];break}}return P&&N?fe(de,"end",N)-fe(de,"start",P):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const L=this._differ.diff(this._renderedItems);L?this._applyChanges(L):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((L,de)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(L,de):de)),this._needsUpdate=!0)}_changeDataSource(L,de){return L&&L.disconnect(this),this._needsUpdate=!0,de?de.connect(this):(0,v.of)()}_updateContext(){const L=this._data.length;let de=this._viewContainerRef.length;for(;de--;){const M=this._viewContainerRef.get(de);M.context.index=this._renderedRange.start+de,M.context.count=L,this._updateComputedContextProperties(M.context),M.detectChanges()}}_applyChanges(L){this._viewRepeater.applyChanges(L,this._viewContainerRef,(S,P,N)=>this._getEmbeddedViewArgs(S,N),S=>S.item),L.forEachIdentityChange(S=>{this._viewContainerRef.get(S.currentIndex).context.$implicit=S.item});const de=this._data.length;let M=this._viewContainerRef.length;for(;M--;){const S=this._viewContainerRef.get(M);S.context.index=this._renderedRange.start+M,S.context.count=de,this._updateComputedContextProperties(S.context)}}_updateComputedContextProperties(L){L.first=0===L.index,L.last=L.index===L.count-1,L.even=L.index%2==0,L.odd=!L.even}_getEmbeddedViewArgs(L,de){return{templateRef:this._template,context:{$implicit:L.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:de}}}return st.\u0275fac=function(L){return new(L||st)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(f.ZZ4),f.Y36(te.k),f.Y36(ze,4),f.Y36(f.R0b))},st.\u0275dir=f.lG2({type:st,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[f._Bn([{provide:te.k,useClass:te.eX}])]}),st})(),We=(()=>{class st{}return st.\u0275fac=function(L){return new(L||st)},st.\u0275mod=f.oAB({type:st}),st.\u0275inj=f.cJS({}),st})(),nt=(()=>{class st{}return st.\u0275fac=function(L){return new(L||st)},st.\u0275mod=f.oAB({type:st}),st.\u0275inj=f.cJS({imports:[[W.vT,F.ud,We],W.vT,We]}),st})()},74533:(Ze,ge,d)=>{"use strict";d.d(ge,{Lq:()=>h,IC:()=>k,Ky:()=>G});var e=d(70925),f=d(5e3),g=d(63191),v=d(68896),m=d(8929),A=d(23753),s=d(57138),b=d(7625),R=d(69808);const E=(0,e.i$)({passive:!0});let h=(()=>{class X{constructor(re,Ne){this._platform=re,this._ngZone=Ne,this._monitoredElements=new Map}monitor(re){if(!this._platform.isBrowser)return v.E;const Ne=(0,g.fI)(re),ce=this._monitoredElements.get(Ne);if(ce)return ce.subject;const Pe=new m.xQ,se="cdk-text-field-autofilled",V=F=>{"cdk-text-field-autofill-start"!==F.animationName||Ne.classList.contains(se)?"cdk-text-field-autofill-end"===F.animationName&&Ne.classList.contains(se)&&(Ne.classList.remove(se),this._ngZone.run(()=>Pe.next({target:F.target,isAutofilled:!1}))):(Ne.classList.add(se),this._ngZone.run(()=>Pe.next({target:F.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Ne.addEventListener("animationstart",V,E),Ne.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Ne,{subject:Pe,unlisten:()=>{Ne.removeEventListener("animationstart",V,E)}}),Pe}stopMonitoring(re){const Ne=(0,g.fI)(re),ce=this._monitoredElements.get(Ne);ce&&(ce.unlisten(),ce.subject.complete(),Ne.classList.remove("cdk-text-field-autofill-monitored"),Ne.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Ne))}ngOnDestroy(){this._monitoredElements.forEach((re,Ne)=>this.stopMonitoring(Ne))}}return X.\u0275fac=function(re){return new(re||X)(f.LFG(e.t4),f.LFG(f.R0b))},X.\u0275prov=f.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),k=(()=>{class X{constructor(re,Ne,ce,Pe){this._elementRef=re,this._platform=Ne,this._ngZone=ce,this._destroyed=new m.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=se=>{this._hasFocus="focus"===se.type},this._document=Pe,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(re){this._minRows=(0,g.su)(re),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(re){this._maxRows=(0,g.su)(re),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(re){re=(0,g.Ig)(re),this._enabled!==re&&((this._enabled=re)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(re){this._cachedPlaceholderHeight=void 0,re?this._textareaElement.setAttribute("placeholder",re):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const re=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;re&&(this._textareaElement.style.minHeight=re)}_setMaxHeight(){const re=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;re&&(this._textareaElement.style.maxHeight=re)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const re=this._getWindow();(0,A.R)(re,"resize").pipe((0,s.e)(16),(0,b.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let re=this._textareaElement.cloneNode(!1);re.rows=1,re.style.position="absolute",re.style.visibility="hidden",re.style.border="none",re.style.padding="0",re.style.height="",re.style.minHeight="",re.style.maxHeight="",re.style.overflow="hidden",this._textareaElement.parentNode.appendChild(re),this._cachedLineHeight=re.clientHeight,re.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const re=this._textareaElement,Ne=re.style.marginBottom||"",ce=this._platform.FIREFOX,Pe=ce&&this._hasFocus,se=ce?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";Pe&&(re.style.marginBottom=`${re.clientHeight}px`),re.classList.add(se);const V=re.scrollHeight-4;return re.classList.remove(se),Pe&&(re.style.marginBottom=Ne),V}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const re=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=re}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(re=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const Ne=this._elementRef.nativeElement,ce=Ne.value;if(!re&&this._minRows===this._previousMinRows&&ce===this._previousValue)return;const Pe=this._measureScrollHeight(),se=Math.max(Pe,this._cachedPlaceholderHeight||0);Ne.style.height=`${se}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(Ne)):setTimeout(()=>this._scrollToCaretPosition(Ne))}),this._previousValue=ce,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(re){const{selectionStart:Ne,selectionEnd:ce}=re;!this._destroyed.isStopped&&this._hasFocus&&re.setSelectionRange(Ne,ce)}}return X.\u0275fac=function(re){return new(re||X)(f.Y36(f.SBq),f.Y36(e.t4),f.Y36(f.R0b),f.Y36(R.K0,8))},X.\u0275dir=f.lG2({type:X,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(re,Ne){1&re&&f.NdJ("input",function(){return Ne._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),X})(),G=(()=>{class X{}return X.\u0275fac=function(re){return new(re||X)},X.\u0275mod=f.oAB({type:X}),X.\u0275inj=f.cJS({imports:[[e.ud]]}),X})()},28258:(Ze,ge,d)=>{"use strict";d.d(ge,{HI:()=>X,Xx:()=>Be,_0:()=>W,nZ:()=>z,Hs:()=>te,rO:()=>Ne,cu:()=>he,XJ:()=>ke,Ud:()=>De,C2:()=>k,VY:()=>G});var e=d(20449),f=d(54715),g=d(8929),v=d(591),m=d(21086),A=d(72986),s=d(92198),b=d(7625),R=d(5e3),E=d(63191),h=d(50226);class x{constructor(){this.expansionModel=new e.Ov(!0)}toggle(J){this.expansionModel.toggle(this._trackByValue(J))}expand(J){this.expansionModel.select(this._trackByValue(J))}collapse(J){this.expansionModel.deselect(this._trackByValue(J))}isExpanded(J){return this.expansionModel.isSelected(this._trackByValue(J))}toggleDescendants(J){this.expansionModel.isSelected(this._trackByValue(J))?this.collapseDescendants(J):this.expandDescendants(J)}collapseAll(){this.expansionModel.clear()}expandDescendants(J){let I=[J];I.push(...this.getDescendants(J)),this.expansionModel.select(...I.map(Ie=>this._trackByValue(Ie)))}collapseDescendants(J){let I=[J];I.push(...this.getDescendants(J)),this.expansionModel.deselect(...I.map(Ie=>this._trackByValue(Ie)))}_trackByValue(J){return this.trackBy?this.trackBy(J):J}}class k extends x{constructor(J,I,Ie){super(),this.getLevel=J,this.isExpandable=I,this.options=Ie,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(J){const Ie=[];for(let Re=this.dataNodes.indexOf(J)+1;Rethis._trackByValue(J)))}}class G extends x{constructor(J,I){super(),this.getChildren=J,this.options=I,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const J=this.dataNodes.reduce((I,Ie)=>[...I,...this.getDescendants(Ie),Ie],[]);this.expansionModel.select(...J.map(I=>this._trackByValue(I)))}getDescendants(J){const I=[];return this._getDescendants(I,J),I.splice(1)}_getDescendants(J,I){J.push(I);const Ie=this.getChildren(I);Array.isArray(Ie)?Ie.forEach(Re=>this._getDescendants(J,Re)):(0,f.b)(Ie)&&Ie.pipe((0,A.q)(1),(0,s.h)(Boolean)).subscribe(Re=>{for(const ze of Re)this._getDescendants(J,ze)})}}const X=new R.OlP("CDK_TREE_NODE_OUTLET_NODE");let he=(()=>{class Ce{constructor(I,Ie){this.viewContainer=I,this._node=Ie}}return Ce.\u0275fac=function(I){return new(I||Ce)(R.Y36(R.s_b),R.Y36(X,8))},Ce.\u0275dir=R.lG2({type:Ce,selectors:[["","cdkTreeNodeOutlet",""]]}),Ce})();class re{constructor(J){this.$implicit=J}}let Ne=(()=>{class Ce{constructor(I){this.template=I}}return Ce.\u0275fac=function(I){return new(I||Ce)(R.Y36(R.Rgc))},Ce.\u0275dir=R.lG2({type:Ce,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),Ce})(),W=(()=>{class Ce{constructor(I,Ie){this._differs=I,this._changeDetectorRef=Ie,this._onDestroy=new g.xQ,this._levels=new Map,this.viewChange=new v.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(I){this._dataSource!==I&&this._switchDataSource(I)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const I=this._nodeDefs.filter(Ie=>!Ie.when);this._defaultNodeDef=I[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(I){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),I||this._nodeOutlet.viewContainer.clear(),this._dataSource=I,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let I;(0,e.Z9)(this._dataSource)?I=this._dataSource.connect(this):(0,f.b)(this._dataSource)?I=this._dataSource:Array.isArray(this._dataSource)&&(I=(0,m.of)(this._dataSource)),I&&(this._dataSubscription=I.pipe((0,b.R)(this._onDestroy)).subscribe(Ie=>this.renderNodeChanges(Ie)))}renderNodeChanges(I,Ie=this._dataDiffer,Re=this._nodeOutlet.viewContainer,ze){const fe=Ie.diff(I);!fe||(fe.forEachOperation((ve,We,nt)=>{if(null==ve.previousIndex)this.insertNode(I[nt],nt,Re,ze);else if(null==nt)Re.remove(We),this._levels.delete(ve.item);else{const st=Re.get(We);Re.move(st,nt)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(I,Ie){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(ze=>ze.when&&ze.when(Ie,I))||this._defaultNodeDef}insertNode(I,Ie,Re,ze){const fe=this._getNodeDef(I,Ie),ve=new re(I);ve.level=this.treeControl.getLevel?this.treeControl.getLevel(I):void 0!==ze&&this._levels.has(ze)?this._levels.get(ze)+1:0,this._levels.set(I,ve.level),(Re||this._nodeOutlet.viewContainer).createEmbeddedView(fe.template,ve,Ie),te.mostRecentTreeNode&&(te.mostRecentTreeNode.data=I)}}return Ce.\u0275fac=function(I){return new(I||Ce)(R.Y36(R.ZZ4),R.Y36(R.sBO))},Ce.\u0275cmp=R.Xpm({type:Ce,selectors:[["cdk-tree"]],contentQueries:function(I,Ie,Re){if(1&I&&R.Suo(Re,Ne,5),2&I){let ze;R.iGM(ze=R.CRH())&&(Ie._nodeDefs=ze)}},viewQuery:function(I,Ie){if(1&I&&R.Gf(he,7),2&I){let Re;R.iGM(Re=R.CRH())&&(Ie._nodeOutlet=Re.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(I,Ie){1&I&&R.GkF(0,0)},directives:[he],encapsulation:2}),Ce})(),te=(()=>{class Ce{constructor(I,Ie){this._elementRef=I,this._tree=Ie,this._destroyed=new g.xQ,this._dataChanges=new g.xQ,Ce.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(I){this._elementRef.nativeElement.setAttribute("role",I)}get data(){return this._data}set data(I){I!==this._data&&(this._data=I,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function ae(Ce){let J=Ce.parentElement;for(;J&&!pe(J);)J=J.parentElement;return J?J.classList.contains("cdk-nested-tree-node")?(0,E.su)(J.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){Ce.mostRecentTreeNode===this&&(Ce.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return Ce.mostRecentTreeNode=null,Ce.\u0275fac=function(I){return new(I||Ce)(R.Y36(R.SBq),R.Y36(W))},Ce.\u0275dir=R.lG2({type:Ce,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(I,Ie){2&I&&R.uIk("aria-expanded",Ie.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),Ce})();function pe(Ce){const J=Ce.classList;return!(!(null==J?void 0:J.contains("cdk-nested-tree-node"))&&!(null==J?void 0:J.contains("cdk-tree")))}let Be=(()=>{class Ce extends te{constructor(I,Ie,Re){super(I,Ie),this._differs=Re}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const I=this._tree.treeControl.getChildren(this.data);Array.isArray(I)?this.updateChildrenNodes(I):(0,f.b)(I)&&I.pipe((0,b.R)(this._destroyed)).subscribe(Ie=>this.updateChildrenNodes(Ie)),this.nodeOutlet.changes.pipe((0,b.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(I){const Ie=this._getNodeOutlet();I&&(this._children=I),Ie&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,Ie.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const I=this._getNodeOutlet();I&&(I.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const I=this.nodeOutlet;return I&&I.find(Ie=>!Ie._node||Ie._node===this)}}return Ce.\u0275fac=function(I){return new(I||Ce)(R.Y36(R.SBq),R.Y36(W),R.Y36(R.ZZ4))},Ce.\u0275dir=R.lG2({type:Ce,selectors:[["cdk-nested-tree-node"]],contentQueries:function(I,Ie,Re){if(1&I&&R.Suo(Re,he,5),2&I){let ze;R.iGM(ze=R.CRH())&&(Ie.nodeOutlet=ze)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[R._Bn([{provide:te,useExisting:Ce},{provide:X,useExisting:Ce}]),R.qOj]}),Ce})();const Fe=/([A-Za-z%]+)$/;let ke=(()=>{class Ce{constructor(I,Ie,Re,ze){this._treeNode=I,this._tree=Ie,this._element=Re,this._dir=ze,this._destroyed=new g.xQ,this.indentUnits="px",this._indent=40,this._setPadding(),ze&&ze.change.pipe((0,b.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),I._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(I){this._setLevelInput(I)}get indent(){return this._indent}set indent(I){this._setIndentInput(I)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const I=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,Ie=null==this._level?I:this._level;return"number"==typeof Ie?`${Ie*this._indent}${this.indentUnits}`:null}_setPadding(I=!1){const Ie=this._paddingIndent();if(Ie!==this._currentPadding||I){const Re=this._element.nativeElement,ze=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",fe="paddingLeft"===ze?"paddingRight":"paddingLeft";Re.style[ze]=Ie||"",Re.style[fe]="",this._currentPadding=Ie}}_setLevelInput(I){this._level=(0,E.su)(I,null),this._setPadding()}_setIndentInput(I){let Ie=I,Re="px";if("string"==typeof I){const ze=I.split(Fe);Ie=ze[0],Re=ze[1]||Re}this.indentUnits=Re,this._indent=(0,E.su)(Ie),this._setPadding()}}return Ce.\u0275fac=function(I){return new(I||Ce)(R.Y36(te),R.Y36(W),R.Y36(R.SBq),R.Y36(h.Is,8))},Ce.\u0275dir=R.lG2({type:Ce,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),Ce})(),De=(()=>{class Ce{constructor(I,Ie){this._tree=I,this._treeNode=Ie,this._recursive=!1}get recursive(){return this._recursive}set recursive(I){this._recursive=(0,E.Ig)(I)}_toggle(I){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),I.stopPropagation()}}return Ce.\u0275fac=function(I){return new(I||Ce)(R.Y36(W),R.Y36(te))},Ce.\u0275dir=R.lG2({type:Ce,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(I,Ie){1&I&&R.NdJ("click",function(ze){return Ie._toggle(ze)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),Ce})(),z=(()=>{class Ce{}return Ce.\u0275fac=function(I){return new(I||Ce)},Ce.\u0275mod=R.oAB({type:Ce}),Ce.\u0275inj=R.cJS({}),Ce})()},69808:(Ze,ge,d)=>{"use strict";d.d(ge,{mr:()=>ce,Ov:()=>Ci,ez:()=>ro,K0:()=>s,uU:()=>Mn,Do:()=>se,V_:()=>E,Ye:()=>V,S$:()=>re,i8:()=>ji,mk:()=>wi,sg:()=>Hi,O5:()=>Di,PC:()=>Je,RF:()=>$i,n9:()=>sn,ED:()=>Fi,tP:()=>Tt,b0:()=>Pe,lw:()=>b,gd:()=>Un,EM:()=>ht,JF:()=>_t,p6:()=>Et,NF:()=>gn,PM:()=>kn,w_:()=>A,bD:()=>lo,q:()=>g,Mx:()=>bi,HT:()=>m});var e=d(5e3);let f=null;function g(){return f}function m(q){f||(f=q)}class A{}const s=new e.OlP("DocumentToken");let b=(()=>{class q{historyGo(ie){throw new Error("Not implemented")}}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275prov=e.Yz7({token:q,factory:function(){return function R(){return(0,e.LFG)(h)}()},providedIn:"platform"}),q})();const E=new e.OlP("Location Initialized");let h=(()=>{class q extends b{constructor(ie){super(),this._doc=ie,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(ie){const Ke=g().getGlobalEventTarget(this._doc,"window");return Ke.addEventListener("popstate",ie,!1),()=>Ke.removeEventListener("popstate",ie)}onHashChange(ie){const Ke=g().getGlobalEventTarget(this._doc,"window");return Ke.addEventListener("hashchange",ie,!1),()=>Ke.removeEventListener("hashchange",ie)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(ie){this.location.pathname=ie}pushState(ie,Ke,yt){x()?this._history.pushState(ie,Ke,yt):this.location.hash=yt}replaceState(ie,Ke,yt){x()?this._history.replaceState(ie,Ke,yt):this.location.hash=yt}forward(){this._history.forward()}back(){this._history.back()}historyGo(ie=0){this._history.go(ie)}getState(){return this._history.state}}return q.\u0275fac=function(ie){return new(ie||q)(e.LFG(s))},q.\u0275prov=e.Yz7({token:q,factory:function(){return function k(){return new h((0,e.LFG)(s))}()},providedIn:"platform"}),q})();function x(){return!!window.history.pushState}function G(q,we){if(0==q.length)return we;if(0==we.length)return q;let ie=0;return q.endsWith("/")&&ie++,we.startsWith("/")&&ie++,2==ie?q+we.substring(1):1==ie?q+we:q+"/"+we}function X(q){const we=q.match(/#|\?|$/),ie=we&&we.index||q.length;return q.slice(0,ie-("/"===q[ie-1]?1:0))+q.slice(ie)}function he(q){return q&&"?"!==q[0]?"?"+q:q}let re=(()=>{class q{historyGo(ie){throw new Error("Not implemented")}}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275prov=e.Yz7({token:q,factory:function(){return function Ne(q){const we=(0,e.LFG)(s).location;return new Pe((0,e.LFG)(b),we&&we.origin||"")}()},providedIn:"root"}),q})();const ce=new e.OlP("appBaseHref");let Pe=(()=>{class q extends re{constructor(ie,Ke){if(super(),this._platformLocation=ie,this._removeListenerFns=[],null==Ke&&(Ke=this._platformLocation.getBaseHrefFromDOM()),null==Ke)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=Ke}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ie){this._removeListenerFns.push(this._platformLocation.onPopState(ie),this._platformLocation.onHashChange(ie))}getBaseHref(){return this._baseHref}prepareExternalUrl(ie){return G(this._baseHref,ie)}path(ie=!1){const Ke=this._platformLocation.pathname+he(this._platformLocation.search),yt=this._platformLocation.hash;return yt&&ie?`${Ke}${yt}`:Ke}pushState(ie,Ke,yt,Zt){const Yt=this.prepareExternalUrl(yt+he(Zt));this._platformLocation.pushState(ie,Ke,Yt)}replaceState(ie,Ke,yt,Zt){const Yt=this.prepareExternalUrl(yt+he(Zt));this._platformLocation.replaceState(ie,Ke,Yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(ie=0){var Ke,yt;null===(yt=(Ke=this._platformLocation).historyGo)||void 0===yt||yt.call(Ke,ie)}}return q.\u0275fac=function(ie){return new(ie||q)(e.LFG(b),e.LFG(ce,8))},q.\u0275prov=e.Yz7({token:q,factory:q.\u0275fac}),q})(),se=(()=>{class q extends re{constructor(ie,Ke){super(),this._platformLocation=ie,this._baseHref="",this._removeListenerFns=[],null!=Ke&&(this._baseHref=Ke)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ie){this._removeListenerFns.push(this._platformLocation.onPopState(ie),this._platformLocation.onHashChange(ie))}getBaseHref(){return this._baseHref}path(ie=!1){let Ke=this._platformLocation.hash;return null==Ke&&(Ke="#"),Ke.length>0?Ke.substring(1):Ke}prepareExternalUrl(ie){const Ke=G(this._baseHref,ie);return Ke.length>0?"#"+Ke:Ke}pushState(ie,Ke,yt,Zt){let Yt=this.prepareExternalUrl(yt+he(Zt));0==Yt.length&&(Yt=this._platformLocation.pathname),this._platformLocation.pushState(ie,Ke,Yt)}replaceState(ie,Ke,yt,Zt){let Yt=this.prepareExternalUrl(yt+he(Zt));0==Yt.length&&(Yt=this._platformLocation.pathname),this._platformLocation.replaceState(ie,Ke,Yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(ie=0){var Ke,yt;null===(yt=(Ke=this._platformLocation).historyGo)||void 0===yt||yt.call(Ke,ie)}}return q.\u0275fac=function(ie){return new(ie||q)(e.LFG(b),e.LFG(ce,8))},q.\u0275prov=e.Yz7({token:q,factory:q.\u0275fac}),q})(),V=(()=>{class q{constructor(ie,Ke){this._subject=new e.vpe,this._urlChangeListeners=[],this._platformStrategy=ie;const yt=this._platformStrategy.getBaseHref();this._platformLocation=Ke,this._baseHref=X(te(yt)),this._platformStrategy.onPopState(Zt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Zt.state,type:Zt.type})})}path(ie=!1){return this.normalize(this._platformStrategy.path(ie))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(ie,Ke=""){return this.path()==this.normalize(ie+he(Ke))}normalize(ie){return q.stripTrailingSlash(function W(q,we){return q&&we.startsWith(q)?we.substring(q.length):we}(this._baseHref,te(ie)))}prepareExternalUrl(ie){return ie&&"/"!==ie[0]&&(ie="/"+ie),this._platformStrategy.prepareExternalUrl(ie)}go(ie,Ke="",yt=null){this._platformStrategy.pushState(yt,"",ie,Ke),this._notifyUrlChangeListeners(this.prepareExternalUrl(ie+he(Ke)),yt)}replaceState(ie,Ke="",yt=null){this._platformStrategy.replaceState(yt,"",ie,Ke),this._notifyUrlChangeListeners(this.prepareExternalUrl(ie+he(Ke)),yt)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(ie=0){var Ke,yt;null===(yt=(Ke=this._platformStrategy).historyGo)||void 0===yt||yt.call(Ke,ie)}onUrlChange(ie){this._urlChangeListeners.push(ie),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Ke=>{this._notifyUrlChangeListeners(Ke.url,Ke.state)}))}_notifyUrlChangeListeners(ie="",Ke){this._urlChangeListeners.forEach(yt=>yt(ie,Ke))}subscribe(ie,Ke,yt){return this._subject.subscribe({next:ie,error:Ke,complete:yt})}}return q.normalizeQueryParams=he,q.joinWithSlash=G,q.stripTrailingSlash=X,q.\u0275fac=function(ie){return new(ie||q)(e.LFG(re),e.LFG(b))},q.\u0275prov=e.Yz7({token:q,factory:function(){return function F(){return new V((0,e.LFG)(re),(0,e.LFG)(b))}()},providedIn:"root"}),q})();function te(q){return q.replace(/\/index.html$/,"")}var Be=(()=>((Be=Be||{})[Be.Zero=0]="Zero",Be[Be.One=1]="One",Be[Be.Two=2]="Two",Be[Be.Few=3]="Few",Be[Be.Many=4]="Many",Be[Be.Other=5]="Other",Be))(),Fe=(()=>((Fe=Fe||{})[Fe.Format=0]="Format",Fe[Fe.Standalone=1]="Standalone",Fe))(),ke=(()=>((ke=ke||{})[ke.Narrow=0]="Narrow",ke[ke.Abbreviated=1]="Abbreviated",ke[ke.Wide=2]="Wide",ke[ke.Short=3]="Short",ke))(),De=(()=>((De=De||{})[De.Short=0]="Short",De[De.Medium=1]="Medium",De[De.Long=2]="Long",De[De.Full=3]="Full",De))(),be=(()=>((be=be||{})[be.Decimal=0]="Decimal",be[be.Group=1]="Group",be[be.List=2]="List",be[be.PercentSign=3]="PercentSign",be[be.PlusSign=4]="PlusSign",be[be.MinusSign=5]="MinusSign",be[be.Exponential=6]="Exponential",be[be.SuperscriptingExponent=7]="SuperscriptingExponent",be[be.PerMille=8]="PerMille",be[be.Infinity=9]="Infinity",be[be.NaN=10]="NaN",be[be.TimeSeparator=11]="TimeSeparator",be[be.CurrencyDecimal=12]="CurrencyDecimal",be[be.CurrencyGroup=13]="CurrencyGroup",be))();function ve(q,we){return n((0,e.cg1)(q)[e.wAp.DateFormat],we)}function We(q,we){return n((0,e.cg1)(q)[e.wAp.TimeFormat],we)}function nt(q,we){return n((0,e.cg1)(q)[e.wAp.DateTimeFormat],we)}function st(q,we){const ie=(0,e.cg1)(q),Ke=ie[e.wAp.NumberSymbols][we];if(void 0===Ke){if(we===be.CurrencyDecimal)return ie[e.wAp.NumberSymbols][be.Decimal];if(we===be.CurrencyGroup)return ie[e.wAp.NumberSymbols][be.Group]}return Ke}const P=e.kL8;function N(q){if(!q[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${q[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function n(q,we){for(let ie=we;ie>-1;ie--)if(void 0!==q[ie])return q[ie];throw new Error("Locale data API: locale data undefined")}function r(q){const[we,ie]=q.split(":");return{hours:+we,minutes:+ie}}const i=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,c={},p=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var T=(()=>((T=T||{})[T.Short=0]="Short",T[T.ShortGMT=1]="ShortGMT",T[T.Long=2]="Long",T[T.Extended=3]="Extended",T))(),Se=(()=>((Se=Se||{})[Se.FullYear=0]="FullYear",Se[Se.Month=1]="Month",Se[Se.Date=2]="Date",Se[Se.Hours=3]="Hours",Se[Se.Minutes=4]="Minutes",Se[Se.Seconds=5]="Seconds",Se[Se.FractionalSeconds=6]="FractionalSeconds",Se[Se.Day=7]="Day",Se))(),je=(()=>((je=je||{})[je.DayPeriods=0]="DayPeriods",je[je.Days=1]="Days",je[je.Months=2]="Months",je[je.Eras=3]="Eras",je))();function Et(q,we,ie,Ke){let yt=function wt(q){if(Ot(q))return q;if("number"==typeof q&&!isNaN(q))return new Date(q);if("string"==typeof q){if(q=q.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(q)){const[yt,Zt=1,Yt=1]=q.split("-").map(oi=>+oi);return St(yt,Zt-1,Yt)}const ie=parseFloat(q);if(!isNaN(q-ie))return new Date(ie);let Ke;if(Ke=q.match(i))return function At(q){const we=new Date(0);let ie=0,Ke=0;const yt=q[8]?we.setUTCFullYear:we.setFullYear,Zt=q[8]?we.setUTCHours:we.setHours;q[9]&&(ie=Number(q[9]+q[10]),Ke=Number(q[9]+q[11])),yt.call(we,Number(q[1]),Number(q[2])-1,Number(q[3]));const Yt=Number(q[4]||0)-ie,oi=Number(q[5]||0)-Ke,ui=Number(q[6]||0),hi=Math.floor(1e3*parseFloat("0."+(q[7]||0)));return Zt.call(we,Yt,oi,ui,hi),we}(Ke)}const we=new Date(q);if(!Ot(we))throw new Error(`Unable to convert "${q}" into a date`);return we}(q);we=Ft(ie,we)||we;let oi,Yt=[];for(;we;){if(oi=p.exec(we),!oi){Yt.push(we);break}{Yt=Yt.concat(oi.slice(1));const _i=Yt.pop();if(!_i)break;we=_i}}let ui=yt.getTimezoneOffset();Ke&&(ui=Ht(Ke,ui),yt=function Dt(q,we,ie){const Ke=ie?-1:1,yt=q.getTimezoneOffset();return function qt(q,we){return(q=new Date(q.getTime())).setMinutes(q.getMinutes()+we),q}(q,Ke*(Ht(we,yt)-yt))}(yt,Ke,!0));let hi="";return Yt.forEach(_i=>{const vi=function mt(q){if(Ye[q])return Ye[q];let we;switch(q){case"G":case"GG":case"GGG":we=gt(je.Eras,ke.Abbreviated);break;case"GGGG":we=gt(je.Eras,ke.Wide);break;case"GGGGG":we=gt(je.Eras,ke.Narrow);break;case"y":we=at(Se.FullYear,1,0,!1,!0);break;case"yy":we=at(Se.FullYear,2,0,!0,!0);break;case"yyy":we=at(Se.FullYear,3,0,!1,!0);break;case"yyyy":we=at(Se.FullYear,4,0,!1,!0);break;case"Y":we=Le(1);break;case"YY":we=Le(2,!0);break;case"YYY":we=Le(3);break;case"YYYY":we=Le(4);break;case"M":case"L":we=at(Se.Month,1,1);break;case"MM":case"LL":we=at(Se.Month,2,1);break;case"MMM":we=gt(je.Months,ke.Abbreviated);break;case"MMMM":we=gt(je.Months,ke.Wide);break;case"MMMMM":we=gt(je.Months,ke.Narrow);break;case"LLL":we=gt(je.Months,ke.Abbreviated,Fe.Standalone);break;case"LLLL":we=gt(je.Months,ke.Wide,Fe.Standalone);break;case"LLLLL":we=gt(je.Months,ke.Narrow,Fe.Standalone);break;case"w":we=Y(1);break;case"ww":we=Y(2);break;case"W":we=Y(1,!0);break;case"d":we=at(Se.Date,1);break;case"dd":we=at(Se.Date,2);break;case"c":case"cc":we=at(Se.Day,1);break;case"ccc":we=gt(je.Days,ke.Abbreviated,Fe.Standalone);break;case"cccc":we=gt(je.Days,ke.Wide,Fe.Standalone);break;case"ccccc":we=gt(je.Days,ke.Narrow,Fe.Standalone);break;case"cccccc":we=gt(je.Days,ke.Short,Fe.Standalone);break;case"E":case"EE":case"EEE":we=gt(je.Days,ke.Abbreviated);break;case"EEEE":we=gt(je.Days,ke.Wide);break;case"EEEEE":we=gt(je.Days,ke.Narrow);break;case"EEEEEE":we=gt(je.Days,ke.Short);break;case"a":case"aa":case"aaa":we=gt(je.DayPeriods,ke.Abbreviated);break;case"aaaa":we=gt(je.DayPeriods,ke.Wide);break;case"aaaaa":we=gt(je.DayPeriods,ke.Narrow);break;case"b":case"bb":case"bbb":we=gt(je.DayPeriods,ke.Abbreviated,Fe.Standalone,!0);break;case"bbbb":we=gt(je.DayPeriods,ke.Wide,Fe.Standalone,!0);break;case"bbbbb":we=gt(je.DayPeriods,ke.Narrow,Fe.Standalone,!0);break;case"B":case"BB":case"BBB":we=gt(je.DayPeriods,ke.Abbreviated,Fe.Format,!0);break;case"BBBB":we=gt(je.DayPeriods,ke.Wide,Fe.Format,!0);break;case"BBBBB":we=gt(je.DayPeriods,ke.Narrow,Fe.Format,!0);break;case"h":we=at(Se.Hours,1,-12);break;case"hh":we=at(Se.Hours,2,-12);break;case"H":we=at(Se.Hours,1);break;case"HH":we=at(Se.Hours,2);break;case"m":we=at(Se.Minutes,1);break;case"mm":we=at(Se.Minutes,2);break;case"s":we=at(Se.Seconds,1);break;case"ss":we=at(Se.Seconds,2);break;case"S":we=at(Se.FractionalSeconds,1);break;case"SS":we=at(Se.FractionalSeconds,2);break;case"SSS":we=at(Se.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":we=Ve(T.Short);break;case"ZZZZZ":we=Ve(T.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":we=Ve(T.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":we=Ve(T.Long);break;default:return null}return Ye[q]=we,we}(_i);hi+=vi?vi(yt,ie,ui):"''"===_i?"'":_i.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),hi}function St(q,we,ie){const Ke=new Date(0);return Ke.setFullYear(q,we,ie),Ke.setHours(0,0,0),Ke}function Ft(q,we){const ie=function Ce(q){return(0,e.cg1)(q)[e.wAp.LocaleId]}(q);if(c[ie]=c[ie]||{},c[ie][we])return c[ie][we];let Ke="";switch(we){case"shortDate":Ke=ve(q,De.Short);break;case"mediumDate":Ke=ve(q,De.Medium);break;case"longDate":Ke=ve(q,De.Long);break;case"fullDate":Ke=ve(q,De.Full);break;case"shortTime":Ke=We(q,De.Short);break;case"mediumTime":Ke=We(q,De.Medium);break;case"longTime":Ke=We(q,De.Long);break;case"fullTime":Ke=We(q,De.Full);break;case"short":const yt=Ft(q,"shortTime"),Zt=Ft(q,"shortDate");Ke=It(nt(q,De.Short),[yt,Zt]);break;case"medium":const Yt=Ft(q,"mediumTime"),oi=Ft(q,"mediumDate");Ke=It(nt(q,De.Medium),[Yt,oi]);break;case"long":const ui=Ft(q,"longTime"),hi=Ft(q,"longDate");Ke=It(nt(q,De.Long),[ui,hi]);break;case"full":const _i=Ft(q,"fullTime"),vi=Ft(q,"fullDate");Ke=It(nt(q,De.Full),[_i,vi])}return Ke&&(c[ie][we]=Ke),Ke}function It(q,we){return we&&(q=q.replace(/\{([^}]+)}/g,function(ie,Ke){return null!=we&&Ke in we?we[Ke]:ie})),q}function Vt(q,we,ie="-",Ke,yt){let Zt="";(q<0||yt&&q<=0)&&(yt?q=1-q:(q=-q,Zt=ie));let Yt=String(q);for(;Yt.length0||oi>-ie)&&(oi+=ie),q===Se.Hours)0===oi&&-12===ie&&(oi=12);else if(q===Se.FractionalSeconds)return function Mt(q,we){return Vt(q,3).substr(0,we)}(oi,we);const ui=st(Yt,be.MinusSign);return Vt(oi,we,ui,Ke,yt)}}function gt(q,we,ie=Fe.Format,Ke=!1){return function(yt,Zt){return function xt(q,we,ie,Ke,yt,Zt){switch(ie){case je.Months:return function Ie(q,we,ie){const Ke=(0,e.cg1)(q),Zt=n([Ke[e.wAp.MonthsFormat],Ke[e.wAp.MonthsStandalone]],we);return n(Zt,ie)}(we,yt,Ke)[q.getMonth()];case je.Days:return function I(q,we,ie){const Ke=(0,e.cg1)(q),Zt=n([Ke[e.wAp.DaysFormat],Ke[e.wAp.DaysStandalone]],we);return n(Zt,ie)}(we,yt,Ke)[q.getDay()];case je.DayPeriods:const Yt=q.getHours(),oi=q.getMinutes();if(Zt){const hi=function ne(q){const we=(0,e.cg1)(q);return N(we),(we[e.wAp.ExtraData][2]||[]).map(Ke=>"string"==typeof Ke?r(Ke):[r(Ke[0]),r(Ke[1])])}(we),_i=function j(q,we,ie){const Ke=(0,e.cg1)(q);N(Ke);const Zt=n([Ke[e.wAp.ExtraData][0],Ke[e.wAp.ExtraData][1]],we)||[];return n(Zt,ie)||[]}(we,yt,Ke),vi=hi.findIndex(ki=>{if(Array.isArray(ki)){const[Oe,ye]=ki,Ae=Yt>=Oe.hours&&oi>=Oe.minutes,ct=Yt0?Math.floor(yt/60):Math.ceil(yt/60);switch(q){case T.Short:return(yt>=0?"+":"")+Vt(Yt,2,Zt)+Vt(Math.abs(yt%60),2,Zt);case T.ShortGMT:return"GMT"+(yt>=0?"+":"")+Vt(Yt,1,Zt);case T.Long:return"GMT"+(yt>=0?"+":"")+Vt(Yt,2,Zt)+":"+Vt(Math.abs(yt%60),2,Zt);case T.Extended:return 0===Ke?"Z":(yt>=0?"+":"")+Vt(Yt,2,Zt)+":"+Vt(Math.abs(yt%60),2,Zt);default:throw new Error(`Unknown zone width "${q}"`)}}}function ee(q){return St(q.getFullYear(),q.getMonth(),q.getDate()+(4-q.getDay()))}function Y(q,we=!1){return function(ie,Ke){let yt;if(we){const Zt=new Date(ie.getFullYear(),ie.getMonth(),1).getDay()-1,Yt=ie.getDate();yt=1+Math.floor((Yt+Zt)/7)}else{const Zt=ee(ie),Yt=function H(q){const we=St(q,0,1).getDay();return St(q,0,1+(we<=4?4:11)-we)}(Zt.getFullYear()),oi=Zt.getTime()-Yt.getTime();yt=1+Math.round(oi/6048e5)}return Vt(yt,q,st(Ke,be.MinusSign))}}function Le(q,we=!1){return function(ie,Ke){return Vt(ee(ie).getFullYear(),q,st(Ke,be.MinusSign),we)}}const Ye={};function Ht(q,we){q=q.replace(/:/g,"");const ie=Date.parse("Jan 01, 1970 00:00:00 "+q)/6e4;return isNaN(ie)?we:ie}function Ot(q){return q instanceof Date&&!isNaN(q.valueOf())}class Xe{}let Jt=(()=>{class q extends Xe{constructor(ie){super(),this.locale=ie}getPluralCategory(ie,Ke){switch(P(Ke||this.locale)(ie)){case Be.Zero:return"zero";case Be.One:return"one";case Be.Two:return"two";case Be.Few:return"few";case Be.Many:return"many";default:return"other"}}}return q.\u0275fac=function(ie){return new(ie||q)(e.LFG(e.soG))},q.\u0275prov=e.Yz7({token:q,factory:q.\u0275fac}),q})();function bi(q,we){we=encodeURIComponent(we);for(const ie of q.split(";")){const Ke=ie.indexOf("="),[yt,Zt]=-1==Ke?[ie,""]:[ie.slice(0,Ke),ie.slice(Ke+1)];if(yt.trim()===we)return decodeURIComponent(Zt)}return null}let wi=(()=>{class q{constructor(ie,Ke,yt,Zt){this._iterableDiffers=ie,this._keyValueDiffers=Ke,this._ngEl=yt,this._renderer=Zt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(ie){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof ie?ie.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(ie){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof ie?ie.split(/\s+/):ie,this._rawClass&&((0,e.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const ie=this._iterableDiffer.diff(this._rawClass);ie&&this._applyIterableChanges(ie)}else if(this._keyValueDiffer){const ie=this._keyValueDiffer.diff(this._rawClass);ie&&this._applyKeyValueChanges(ie)}}_applyKeyValueChanges(ie){ie.forEachAddedItem(Ke=>this._toggleClass(Ke.key,Ke.currentValue)),ie.forEachChangedItem(Ke=>this._toggleClass(Ke.key,Ke.currentValue)),ie.forEachRemovedItem(Ke=>{Ke.previousValue&&this._toggleClass(Ke.key,!1)})}_applyIterableChanges(ie){ie.forEachAddedItem(Ke=>{if("string"!=typeof Ke.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,e.AaK)(Ke.item)}`);this._toggleClass(Ke.item,!0)}),ie.forEachRemovedItem(Ke=>this._toggleClass(Ke.item,!1))}_applyClasses(ie){ie&&(Array.isArray(ie)||ie instanceof Set?ie.forEach(Ke=>this._toggleClass(Ke,!0)):Object.keys(ie).forEach(Ke=>this._toggleClass(Ke,!!ie[Ke])))}_removeClasses(ie){ie&&(Array.isArray(ie)||ie instanceof Set?ie.forEach(Ke=>this._toggleClass(Ke,!1)):Object.keys(ie).forEach(Ke=>this._toggleClass(Ke,!1)))}_toggleClass(ie,Ke){(ie=ie.trim())&&ie.split(/\s+/g).forEach(yt=>{Ke?this._renderer.addClass(this._ngEl.nativeElement,yt):this._renderer.removeClass(this._ngEl.nativeElement,yt)})}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),q})();class on{constructor(we,ie,Ke,yt){this.$implicit=we,this.ngForOf=ie,this.index=Ke,this.count=yt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Hi=(()=>{class q{constructor(ie,Ke,yt){this._viewContainer=ie,this._template=Ke,this._differs=yt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(ie){this._ngForOf=ie,this._ngForOfDirty=!0}set ngForTrackBy(ie){this._trackByFn=ie}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(ie){ie&&(this._template=ie)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const ie=this._ngForOf;!this._differ&&ie&&(this._differ=this._differs.find(ie).create(this.ngForTrackBy))}if(this._differ){const ie=this._differ.diff(this._ngForOf);ie&&this._applyChanges(ie)}}_applyChanges(ie){const Ke=this._viewContainer;ie.forEachOperation((yt,Zt,Yt)=>{if(null==yt.previousIndex)Ke.createEmbeddedView(this._template,new on(yt.item,this._ngForOf,-1,-1),null===Yt?void 0:Yt);else if(null==Yt)Ke.remove(null===Zt?void 0:Zt);else if(null!==Zt){const oi=Ke.get(Zt);Ke.move(oi,Yt),Bi(oi,yt)}});for(let yt=0,Zt=Ke.length;yt{Bi(Ke.get(yt.currentIndex),yt)})}static ngTemplateContextGuard(ie,Ke){return!0}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),q})();function Bi(q,we){q.context.$implicit=we.item}let Di=(()=>{class q{constructor(ie,Ke){this._viewContainer=ie,this._context=new xi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ke}set ngIf(ie){this._context.$implicit=this._context.ngIf=ie,this._updateView()}set ngIfThen(ie){_n("ngIfThen",ie),this._thenTemplateRef=ie,this._thenViewRef=null,this._updateView()}set ngIfElse(ie){_n("ngIfElse",ie),this._elseTemplateRef=ie,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(ie,Ke){return!0}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b),e.Y36(e.Rgc))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),q})();class xi{constructor(){this.$implicit=null,this.ngIf=null}}function _n(q,we){if(we&&!we.createEmbeddedView)throw new Error(`${q} must be a TemplateRef, but received '${(0,e.AaK)(we)}'.`)}class hn{constructor(we,ie){this._viewContainerRef=we,this._templateRef=ie,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(we){we&&!this._created?this.create():!we&&this._created&&this.destroy()}}let $i=(()=>{class q{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(ie){this._ngSwitch=ie,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(ie){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(ie)}_matchCase(ie){const Ke=ie==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Ke,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Ke}_updateDefaultCases(ie){if(this._defaultViews&&ie!==this._defaultUsed){this._defaultUsed=ie;for(let Ke=0;Ke{class q{constructor(ie,Ke,yt){this.ngSwitch=yt,yt._addCase(),this._view=new hn(ie,Ke)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36($i,9))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),q})(),Fi=(()=>{class q{constructor(ie,Ke,yt){yt._addDefault(new hn(ie,Ke))}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36($i,9))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngSwitchDefault",""]]}),q})(),Je=(()=>{class q{constructor(ie,Ke,yt){this._ngEl=ie,this._differs=Ke,this._renderer=yt,this._ngStyle=null,this._differ=null}set ngStyle(ie){this._ngStyle=ie,!this._differ&&ie&&(this._differ=this._differs.find(ie).create())}ngDoCheck(){if(this._differ){const ie=this._differ.diff(this._ngStyle);ie&&this._applyChanges(ie)}}_setStyle(ie,Ke){const[yt,Zt]=ie.split(".");null!=(Ke=null!=Ke&&Zt?`${Ke}${Zt}`:Ke)?this._renderer.setStyle(this._ngEl.nativeElement,yt,Ke):this._renderer.removeStyle(this._ngEl.nativeElement,yt)}_applyChanges(ie){ie.forEachRemovedItem(Ke=>this._setStyle(Ke.key,null)),ie.forEachAddedItem(Ke=>this._setStyle(Ke.key,Ke.currentValue)),ie.forEachChangedItem(Ke=>this._setStyle(Ke.key,Ke.currentValue))}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),q})(),Tt=(()=>{class q{constructor(ie){this._viewContainerRef=ie,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(ie){if(ie.ngTemplateOutlet){const Ke=this._viewContainerRef;this._viewRef&&Ke.remove(Ke.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?Ke.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&ie.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[e.TTD]}),q})();function zt(q,we){return new e.vHH(2100,"")}class Ue{createSubscription(we,ie){return we.subscribe({next:ie,error:Ke=>{throw Ke}})}dispose(we){we.unsubscribe()}onDestroy(we){we.unsubscribe()}}class Pt{createSubscription(we,ie){return we.then(ie,Ke=>{throw Ke})}dispose(we){}onDestroy(we){}}const Gt=new Pt,Qt=new Ue;let Ci=(()=>{class q{constructor(ie){this._ref=ie,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(ie){return this._obj?ie!==this._obj?(this._dispose(),this.transform(ie)):this._latestValue:(ie&&this._subscribe(ie),this._latestValue)}_subscribe(ie){this._obj=ie,this._strategy=this._selectStrategy(ie),this._subscription=this._strategy.createSubscription(ie,Ke=>this._updateLatestValue(ie,Ke))}_selectStrategy(ie){if((0,e.QGY)(ie))return Gt;if((0,e.F4k)(ie))return Qt;throw zt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(ie,Ke){ie===this._obj&&(this._latestValue=Ke,this._ref.markForCheck())}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.sBO,16))},q.\u0275pipe=e.Yjl({name:"async",type:q,pure:!1}),q})(),ji=(()=>{class q{transform(ie){if(null==ie)return null;if("string"!=typeof ie)throw zt();return ie.toLowerCase()}}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275pipe=e.Yjl({name:"lowercase",type:q,pure:!0}),q})(),Un=(()=>{class q{transform(ie){if(null==ie)return null;if("string"!=typeof ie)throw zt();return ie.toUpperCase()}}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275pipe=e.Yjl({name:"uppercase",type:q,pure:!0}),q})();const io=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Mn=(()=>{class q{constructor(ie,Ke){this.locale=ie,this.defaultTimezone=Ke}transform(ie,Ke="mediumDate",yt,Zt){var Yt;if(null==ie||""===ie||ie!=ie)return null;try{return Et(ie,Ke,Zt||this.locale,null!==(Yt=null!=yt?yt:this.defaultTimezone)&&void 0!==Yt?Yt:void 0)}catch(oi){throw zt()}}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.soG,16),e.Y36(io,24))},q.\u0275pipe=e.Yjl({name:"date",type:q,pure:!0}),q})(),ro=(()=>{class q{}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275mod=e.oAB({type:q}),q.\u0275inj=e.cJS({providers:[{provide:Xe,useClass:Jt}]}),q})();const lo="browser";function gn(q){return q===lo}function kn(q){return"server"===q}let ht=(()=>{class q{}return q.\u0275prov=(0,e.Yz7)({token:q,providedIn:"root",factory:()=>new B((0,e.LFG)(s),window)}),q})();class B{constructor(we,ie){this.document=we,this.window=ie,this.offset=()=>[0,0]}setOffset(we){this.offset=Array.isArray(we)?()=>we:we}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(we){this.supportsScrolling()&&this.window.scrollTo(we[0],we[1])}scrollToAnchor(we){if(!this.supportsScrolling())return;const ie=function Ee(q,we){const ie=q.getElementById(we)||q.getElementsByName(we)[0];if(ie)return ie;if("function"==typeof q.createTreeWalker&&q.body&&(q.body.createShadowRoot||q.body.attachShadow)){const Ke=q.createTreeWalker(q.body,NodeFilter.SHOW_ELEMENT);let yt=Ke.currentNode;for(;yt;){const Zt=yt.shadowRoot;if(Zt){const Yt=Zt.getElementById(we)||Zt.querySelector(`[name="${we}"]`);if(Yt)return Yt}yt=Ke.nextNode()}}return null}(this.document,we);ie&&(this.scrollToElement(ie),ie.focus())}setHistoryScrollRestoration(we){if(this.supportScrollRestoration()){const ie=this.window.history;ie&&ie.scrollRestoration&&(ie.scrollRestoration=we)}}scrollToElement(we){const ie=we.getBoundingClientRect(),Ke=ie.left+this.window.pageXOffset,yt=ie.top+this.window.pageYOffset,Zt=this.offset();this.window.scrollTo(Ke-Zt[0],yt-Zt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const we=U(this.window.history)||U(Object.getPrototypeOf(this.window.history));return!(!we||!we.writable&&!we.set)}catch(we){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(we){return!1}}}function U(q){return Object.getOwnPropertyDescriptor(q,"scrollRestoration")}class _t{}},40520:(Ze,ge,d)=>{"use strict";d.d(ge,{TP:()=>Ce,eN:()=>be,JF:()=>n,WM:()=>E,LE:()=>re,Zn:()=>Fe});var e=d(69808),f=d(5e3),g=d(21086),v=d(56498),m=d(21406),A=d(92198),s=d(24850);class b{}class R{}class E{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(i=>{const c=i.indexOf(":");if(c>0){const p=i.slice(0,c),T=p.toLowerCase(),Se=i.slice(c+1).trim();this.maybeSetNormalizedName(p,T),this.headers.has(T)?this.headers.get(T).push(Se):this.headers.set(T,[Se])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(i=>{let c=t[i];const p=i.toLowerCase();"string"==typeof c&&(c=[c]),c.length>0&&(this.headers.set(p,c),this.maybeSetNormalizedName(i,p))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const i=this.headers.get(t.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,i){return this.clone({name:t,value:i,op:"a"})}set(t,i){return this.clone({name:t,value:i,op:"s"})}delete(t,i){return this.clone({name:t,value:i,op:"d"})}maybeSetNormalizedName(t,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,t)}init(){this.lazyInit&&(this.lazyInit instanceof E?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(i=>{this.headers.set(i,t.headers.get(i)),this.normalizedNames.set(i,t.normalizedNames.get(i))})}clone(t){const i=new E;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof E?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([t]),i}applyUpdate(t){const i=t.name.toLowerCase();switch(t.op){case"a":case"s":let c=t.value;if("string"==typeof c&&(c=[c]),0===c.length)return;this.maybeSetNormalizedName(t.name,i);const p=("a"===t.op?this.headers.get(i):void 0)||[];p.push(...c),this.headers.set(i,p);break;case"d":const T=t.value;if(T){let Se=this.headers.get(i);if(!Se)return;Se=Se.filter(je=>-1===T.indexOf(je)),0===Se.length?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,Se)}else this.headers.delete(i),this.normalizedNames.delete(i)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>t(this.normalizedNames.get(i),this.headers.get(i)))}}class h{encodeKey(t){return X(t)}encodeValue(t){return X(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const k=/%(\d[a-f0-9])/gi,G={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function X(o){return encodeURIComponent(o).replace(k,(t,i)=>{var c;return null!==(c=G[i])&&void 0!==c?c:t})}function he(o){return`${o}`}class re{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new h,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function x(o,t){const i=new Map;return o.length>0&&o.replace(/^\?/,"").split("&").forEach(p=>{const T=p.indexOf("="),[Se,je]=-1==T?[t.decodeKey(p),""]:[t.decodeKey(p.slice(0,T)),t.decodeValue(p.slice(T+1))],Et=i.get(Se)||[];Et.push(je),i.set(Se,Et)}),i}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(i=>{const c=t.fromObject[i];this.map.set(i,Array.isArray(c)?c:[c])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const i=this.map.get(t);return i?i[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,i){return this.clone({param:t,value:i,op:"a"})}appendAll(t){const i=[];return Object.keys(t).forEach(c=>{const p=t[c];Array.isArray(p)?p.forEach(T=>{i.push({param:c,value:T,op:"a"})}):i.push({param:c,value:p,op:"a"})}),this.clone(i)}set(t,i){return this.clone({param:t,value:i,op:"s"})}delete(t,i){return this.clone({param:t,value:i,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const i=this.encoder.encodeKey(t);return this.map.get(t).map(c=>i+"="+this.encoder.encodeValue(c)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const i=new re({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(t),i}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const i=("a"===t.op?this.map.get(t.param):void 0)||[];i.push(he(t.value)),this.map.set(t.param,i);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let c=this.map.get(t.param)||[];const p=c.indexOf(he(t.value));-1!==p&&c.splice(p,1),c.length>0?this.map.set(t.param,c):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class ce{constructor(){this.map=new Map}set(t,i){return this.map.set(t,i),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function se(o){return"undefined"!=typeof ArrayBuffer&&o instanceof ArrayBuffer}function V(o){return"undefined"!=typeof Blob&&o instanceof Blob}function F(o){return"undefined"!=typeof FormData&&o instanceof FormData}class te{constructor(t,i,c,p){let T;if(this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function Pe(o){switch(o){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||p?(this.body=void 0!==c?c:null,T=p):T=c,T&&(this.reportProgress=!!T.reportProgress,this.withCredentials=!!T.withCredentials,T.responseType&&(this.responseType=T.responseType),T.headers&&(this.headers=T.headers),T.context&&(this.context=T.context),T.params&&(this.params=T.params)),this.headers||(this.headers=new E),this.context||(this.context=new ce),this.params){const Se=this.params.toString();if(0===Se.length)this.urlWithParams=i;else{const je=i.indexOf("?");this.urlWithParams=i+(-1===je?"?":jeVt.set(Mt,t.setHeaders[Mt]),St)),t.setParams&&(Ft=Object.keys(t.setParams).reduce((Vt,Mt)=>Vt.set(Mt,t.setParams[Mt]),Ft)),new te(c,p,Se,{params:Ft,headers:St,context:It,reportProgress:Et,responseType:T,withCredentials:je})}}var ae=(()=>((ae=ae||{})[ae.Sent=0]="Sent",ae[ae.UploadProgress=1]="UploadProgress",ae[ae.ResponseHeader=2]="ResponseHeader",ae[ae.DownloadProgress=3]="DownloadProgress",ae[ae.Response=4]="Response",ae[ae.User=5]="User",ae))();class pe{constructor(t,i=200,c="OK"){this.headers=t.headers||new E,this.status=void 0!==t.status?t.status:i,this.statusText=t.statusText||c,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Be extends pe{constructor(t={}){super(t),this.type=ae.ResponseHeader}clone(t={}){return new Be({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Fe extends pe{constructor(t={}){super(t),this.type=ae.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Fe({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class ke extends pe{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function De(o,t){return{body:t,headers:o.headers,context:o.context,observe:o.observe,params:o.params,reportProgress:o.reportProgress,responseType:o.responseType,withCredentials:o.withCredentials}}let be=(()=>{class o{constructor(i){this.handler=i}request(i,c,p={}){let T;if(i instanceof te)T=i;else{let Et,St;Et=p.headers instanceof E?p.headers:new E(p.headers),p.params&&(St=p.params instanceof re?p.params:new re({fromObject:p.params})),T=new te(i,c,void 0!==p.body?p.body:null,{headers:Et,context:p.context,params:St,reportProgress:p.reportProgress,responseType:p.responseType||"json",withCredentials:p.withCredentials})}const Se=(0,g.of)(T).pipe((0,m.b)(Et=>this.handler.handle(Et)));if(i instanceof te||"events"===p.observe)return Se;const je=Se.pipe((0,A.h)(Et=>Et instanceof Fe));switch(p.observe||"body"){case"body":switch(T.responseType){case"arraybuffer":return je.pipe((0,s.U)(Et=>{if(null!==Et.body&&!(Et.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Et.body}));case"blob":return je.pipe((0,s.U)(Et=>{if(null!==Et.body&&!(Et.body instanceof Blob))throw new Error("Response is not a Blob.");return Et.body}));case"text":return je.pipe((0,s.U)(Et=>{if(null!==Et.body&&"string"!=typeof Et.body)throw new Error("Response is not a string.");return Et.body}));default:return je.pipe((0,s.U)(Et=>Et.body))}case"response":return je;default:throw new Error(`Unreachable: unhandled observe type ${p.observe}}`)}}delete(i,c={}){return this.request("DELETE",i,c)}get(i,c={}){return this.request("GET",i,c)}head(i,c={}){return this.request("HEAD",i,c)}jsonp(i,c){return this.request("JSONP",i,{params:(new re).append(c,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(i,c={}){return this.request("OPTIONS",i,c)}patch(i,c,p={}){return this.request("PATCH",i,De(p,c))}post(i,c,p={}){return this.request("POST",i,De(p,c))}put(i,c,p={}){return this.request("PUT",i,De(p,c))}}return o.\u0275fac=function(i){return new(i||o)(f.LFG(b))},o.\u0275prov=f.Yz7({token:o,factory:o.\u0275fac}),o})();class z{constructor(t,i){this.next=t,this.interceptor=i}handle(t){return this.interceptor.intercept(t,this.next)}}const Ce=new f.OlP("HTTP_INTERCEPTORS");let J=(()=>{class o{intercept(i,c){return c.handle(i)}}return o.\u0275fac=function(i){return new(i||o)},o.\u0275prov=f.Yz7({token:o,factory:o.\u0275fac}),o})();const nt=/^\)\]\}',?\n/;let dt=(()=>{class o{constructor(i){this.xhrFactory=i}handle(i){if("JSONP"===i.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new v.y(c=>{const p=this.xhrFactory.build();if(p.open(i.method,i.urlWithParams),i.withCredentials&&(p.withCredentials=!0),i.headers.forEach((Mt,at)=>p.setRequestHeader(Mt,at.join(","))),i.headers.has("Accept")||p.setRequestHeader("Accept","application/json, text/plain, */*"),!i.headers.has("Content-Type")){const Mt=i.detectContentTypeHeader();null!==Mt&&p.setRequestHeader("Content-Type",Mt)}if(i.responseType){const Mt=i.responseType.toLowerCase();p.responseType="json"!==Mt?Mt:"text"}const T=i.serializeBody();let Se=null;const je=()=>{if(null!==Se)return Se;const Mt=p.statusText||"OK",at=new E(p.getAllResponseHeaders()),Ut=function st(o){return"responseURL"in o&&o.responseURL?o.responseURL:/^X-Request-URL:/m.test(o.getAllResponseHeaders())?o.getResponseHeader("X-Request-URL"):null}(p)||i.url;return Se=new Be({headers:at,status:p.status,statusText:Mt,url:Ut}),Se},Et=()=>{let{headers:Mt,status:at,statusText:Ut,url:gt}=je(),xt=null;204!==at&&(xt=void 0===p.response?p.responseText:p.response),0===at&&(at=xt?200:0);let Ve=at>=200&&at<300;if("json"===i.responseType&&"string"==typeof xt){const $e=xt;xt=xt.replace(nt,"");try{xt=""!==xt?JSON.parse(xt):null}catch(oe){xt=$e,Ve&&(Ve=!1,xt={error:oe,text:xt})}}Ve?(c.next(new Fe({body:xt,headers:Mt,status:at,statusText:Ut,url:gt||void 0})),c.complete()):c.error(new ke({error:xt,headers:Mt,status:at,statusText:Ut,url:gt||void 0}))},St=Mt=>{const{url:at}=je(),Ut=new ke({error:Mt,status:p.status||0,statusText:p.statusText||"Unknown Error",url:at||void 0});c.error(Ut)};let Ft=!1;const It=Mt=>{Ft||(c.next(je()),Ft=!0);let at={type:ae.DownloadProgress,loaded:Mt.loaded};Mt.lengthComputable&&(at.total=Mt.total),"text"===i.responseType&&!!p.responseText&&(at.partialText=p.responseText),c.next(at)},Vt=Mt=>{let at={type:ae.UploadProgress,loaded:Mt.loaded};Mt.lengthComputable&&(at.total=Mt.total),c.next(at)};return p.addEventListener("load",Et),p.addEventListener("error",St),p.addEventListener("timeout",St),p.addEventListener("abort",St),i.reportProgress&&(p.addEventListener("progress",It),null!==T&&p.upload&&p.upload.addEventListener("progress",Vt)),p.send(T),c.next({type:ae.Sent}),()=>{p.removeEventListener("error",St),p.removeEventListener("abort",St),p.removeEventListener("load",Et),p.removeEventListener("timeout",St),i.reportProgress&&(p.removeEventListener("progress",It),null!==T&&p.upload&&p.upload.removeEventListener("progress",Vt)),p.readyState!==p.DONE&&p.abort()}})}}return o.\u0275fac=function(i){return new(i||o)(f.LFG(e.JF))},o.\u0275prov=f.Yz7({token:o,factory:o.\u0275fac}),o})();const L=new f.OlP("XSRF_COOKIE_NAME"),de=new f.OlP("XSRF_HEADER_NAME");class M{}let S=(()=>{class o{constructor(i,c,p){this.doc=i,this.platform=c,this.cookieName=p,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const i=this.doc.cookie||"";return i!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,e.Mx)(i,this.cookieName),this.lastCookieString=i),this.lastToken}}return o.\u0275fac=function(i){return new(i||o)(f.LFG(e.K0),f.LFG(f.Lbi),f.LFG(L))},o.\u0275prov=f.Yz7({token:o,factory:o.\u0275fac}),o})(),P=(()=>{class o{constructor(i,c){this.tokenService=i,this.headerName=c}intercept(i,c){const p=i.url.toLowerCase();if("GET"===i.method||"HEAD"===i.method||p.startsWith("http://")||p.startsWith("https://"))return c.handle(i);const T=this.tokenService.getToken();return null!==T&&!i.headers.has(this.headerName)&&(i=i.clone({headers:i.headers.set(this.headerName,T)})),c.handle(i)}}return o.\u0275fac=function(i){return new(i||o)(f.LFG(M),f.LFG(de))},o.\u0275prov=f.Yz7({token:o,factory:o.\u0275fac}),o})(),N=(()=>{class o{constructor(i,c){this.backend=i,this.injector=c,this.chain=null}handle(i){if(null===this.chain){const c=this.injector.get(Ce,[]);this.chain=c.reduceRight((p,T)=>new z(p,T),this.backend)}return this.chain.handle(i)}}return o.\u0275fac=function(i){return new(i||o)(f.LFG(R),f.LFG(f.zs3))},o.\u0275prov=f.Yz7({token:o,factory:o.\u0275fac}),o})(),Te=(()=>{class o{static disable(){return{ngModule:o,providers:[{provide:P,useClass:J}]}}static withOptions(i={}){return{ngModule:o,providers:[i.cookieName?{provide:L,useValue:i.cookieName}:[],i.headerName?{provide:de,useValue:i.headerName}:[]]}}}return o.\u0275fac=function(i){return new(i||o)},o.\u0275mod=f.oAB({type:o}),o.\u0275inj=f.cJS({providers:[P,{provide:Ce,useExisting:P,multi:!0},{provide:M,useClass:S},{provide:L,useValue:"XSRF-TOKEN"},{provide:de,useValue:"X-XSRF-TOKEN"}]}),o})(),n=(()=>{class o{}return o.\u0275fac=function(i){return new(i||o)},o.\u0275mod=f.oAB({type:o}),o.\u0275inj=f.cJS({providers:[be,{provide:b,useClass:N},dt,{provide:R,useExisting:dt}],imports:[[Te.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),o})()},5e3:(Ze,ge,d)=>{"use strict";d.d(ge,{deG:()=>kg,tb:()=>cg,AFp:()=>sg,ip1:()=>Gl,CZH:()=>or,hGG:()=>ZT,z2F:()=>jr,sBO:()=>AT,Sil:()=>Kl,_Vd:()=>Br,EJc:()=>ug,SBq:()=>Fr,qLn:()=>Cr,vpe:()=>Vo,tBr:()=>_r,XFs:()=>j,OlP:()=>wn,zs3:()=>Eo,ZZ4:()=>Pa,aQg:()=>Oa,soG:()=>Da,YKP:()=>pf,h0i:()=>tr,PXZ:()=>dT,R0b:()=>mo,FiY:()=>ds,Lbi:()=>ag,g9A:()=>rg,n_E:()=>Ta,Qsj:()=>Qy,FYo:()=>lf,JOm:()=>zo,q3G:()=>Pn,tp0:()=>Is,Rgc:()=>Zr,dDg:()=>pg,GfV:()=>uf,s_b:()=>Ea,ifc:()=>T,eFA:()=>mg,G48:()=>_T,Gpc:()=>h,f3M:()=>qg,_c5:()=>LT,VLi:()=>cT,c2e:()=>lg,zSh:()=>Hc,wAp:()=>Oi,vHH:()=>X,EiD:()=>Hu,mCW:()=>br,qzn:()=>Os,JVY:()=>pm,pB0:()=>_m,eBb:()=>gm,L6k:()=>fm,LAX:()=>mm,cg1:()=>vl,kL8:()=>Op,yhl:()=>Pu,dqk:()=>Ft,sIi:()=>Ir,CqO:()=>jh,QGY:()=>sl,F4k:()=>Gh,RDi:()=>U,AaK:()=>b,z3N:()=>Wo,qOj:()=>jc,TTD:()=>Dn,_Bn:()=>rf,xp6:()=>Td,uIk:()=>Yc,Q2q:()=>qc,Tol:()=>up,Gre:()=>Tp,ekj:()=>hl,Suo:()=>Bf,Xpm:()=>ee,lG2:()=>wt,Yz7:()=>ve,cJS:()=>nt,oAB:()=>Ht,Yjl:()=>At,Y36:()=>Pr,_UZ:()=>Uh,GkF:()=>zh,BQk:()=>ol,ynx:()=>nl,qZA:()=>il,TgZ:()=>tl,EpF:()=>Zh,n5z:()=>fu,Ikx:()=>bl,LFG:()=>Kn,$8M:()=>Ua,$Z:()=>Hh,NdJ:()=>rl,CRH:()=>Ff,kcU:()=>Yo,O4$:()=>Bn,oxw:()=>Yh,ALo:()=>Sf,lcZ:()=>Mf,xi3:()=>Df,Dn7:()=>If,Hsn:()=>Wh,F$t:()=>qh,Q6J:()=>Xc,s9C:()=>ll,MGl:()=>pa,hYB:()=>ul,DdM:()=>_f,VKq:()=>Af,WLB:()=>bf,kEZ:()=>yf,iGM:()=>Lf,MAs:()=>Dh,evT:()=>$u,Jf7:()=>Wu,CHM:()=>Ei,oJD:()=>Uu,LSH:()=>ec,B6R:()=>Y,kYT:()=>qt,Udp:()=>dl,WFA:()=>al,d8E:()=>yl,YNc:()=>Mh,W1O:()=>Zf,_uU:()=>_p,Oqu:()=>fl,hij:()=>ga,AsE:()=>gl,lnq:()=>ml,HOy:()=>_l,xDo:()=>Al,Gf:()=>Nf});var e=d(8929),f=d(42654),g=d(56498),v=d(36787),m=d(12474);function A(a){for(let l in a)if(a[l]===A)return l;throw Error("Could not find renamed property on target object.")}function s(a,l){for(const _ in l)l.hasOwnProperty(_)&&!a.hasOwnProperty(_)&&(a[_]=l[_])}function b(a){if("string"==typeof a)return a;if(Array.isArray(a))return"["+a.map(b).join(", ")+"]";if(null==a)return""+a;if(a.overriddenName)return`${a.overriddenName}`;if(a.name)return`${a.name}`;const l=a.toString();if(null==l)return""+l;const _=l.indexOf("\n");return-1===_?l:l.substring(0,_)}function R(a,l){return null==a||""===a?null===l?"":l:null==l||""===l?a:a+" "+l}const E=A({__forward_ref__:A});function h(a){return a.__forward_ref__=h,a.toString=function(){return b(this())},a}function x(a){return k(a)?a():a}function k(a){return"function"==typeof a&&a.hasOwnProperty(E)&&a.__forward_ref__===h}class X extends Error{constructor(l,_){super(function he(a,l){return`NG0${Math.abs(a)}${l?": "+l:""}`}(l,_)),this.code=l}}function re(a){return"string"==typeof a?a:null==a?"":String(a)}function Ne(a){return"function"==typeof a?a.name||a.toString():"object"==typeof a&&null!=a&&"function"==typeof a.type?a.type.name||a.type.toString():re(a)}function V(a,l){const _=l?` in ${l}`:"";throw new X(-201,`No provider for ${Ne(a)} found${_}`)}function I(a,l){null==a&&function Ie(a,l,_,y){throw new Error(`ASSERTION ERROR: ${a}`+(null==y?"":` [Expected=> ${_} ${y} ${l} <=Actual]`))}(l,a,null,"!=")}function ve(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}}function nt(a){return{providers:a.providers||[],imports:a.imports||[]}}function st(a){return dt(a,S)||dt(a,N)}function dt(a,l){return a.hasOwnProperty(l)?a[l]:null}function M(a){return a&&(a.hasOwnProperty(P)||a.hasOwnProperty(ne))?a[P]:null}const S=A({\u0275prov:A}),P=A({\u0275inj:A}),N=A({ngInjectableDef:A}),ne=A({ngInjectorDef:A});var j=(()=>((j=j||{})[j.Default=0]="Default",j[j.Host=1]="Host",j[j.Self=2]="Self",j[j.SkipSelf=4]="SkipSelf",j[j.Optional=8]="Optional",j))();let Te;function r(a){const l=Te;return Te=a,l}function u(a,l,_){const y=st(a);return y&&"root"==y.providedIn?void 0===y.value?y.value=y.factory():y.value:_&j.Optional?null:void 0!==l?l:void V(b(a),"Injector")}function t(a){return{toString:a}.toString()}var i=(()=>((i=i||{})[i.OnPush=0]="OnPush",i[i.Default=1]="Default",i))(),T=(()=>{return(a=T||(T={}))[a.Emulated=0]="Emulated",a[a.None=2]="None",a[a.ShadowDom=3]="ShadowDom",T;var a})();const Se="undefined"!=typeof globalThis&&globalThis,je="undefined"!=typeof window&&window,Et="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ft=Se||"undefined"!=typeof global&&global||je||Et,Mt={},at=[],Ut=A({\u0275cmp:A}),gt=A({\u0275dir:A}),xt=A({\u0275pipe:A}),Ve=A({\u0275mod:A}),$e=A({\u0275fac:A}),oe=A({__NG_ELEMENT_ID__:A});let H=0;function ee(a){return t(()=>{const _={},y={type:a.type,providersResolver:null,decls:a.decls,vars:a.vars,factory:null,template:a.template||null,consts:a.consts||null,ngContentSelectors:a.ngContentSelectors,hostBindings:a.hostBindings||null,hostVars:a.hostVars||0,hostAttrs:a.hostAttrs||null,contentQueries:a.contentQueries||null,declaredInputs:_,inputs:null,outputs:null,exportAs:a.exportAs||null,onPush:a.changeDetection===i.OnPush,directiveDefs:null,pipeDefs:null,selectors:a.selectors||at,viewQuery:a.viewQuery||null,features:a.features||null,data:a.data||{},encapsulation:a.encapsulation||T.Emulated,id:"c",styles:a.styles||at,_:null,setInput:null,schemas:a.schemas||null,tView:null},C=a.directives,w=a.features,O=a.pipes;return y.id+=H++,y.inputs=Dt(a.inputs,_),y.outputs=Dt(a.outputs),w&&w.forEach($=>$(y)),y.directiveDefs=C?()=>("function"==typeof C?C():C).map(Le):null,y.pipeDefs=O?()=>("function"==typeof O?O():O).map(Ye):null,y})}function Y(a,l,_){const y=a.\u0275cmp;y.directiveDefs=()=>l.map(Le),y.pipeDefs=()=>_.map(Ye)}function Le(a){return Ot(a)||function Wt(a){return a[gt]||null}(a)}function Ye(a){return function li(a){return a[xt]||null}(a)}const mt={};function Ht(a){return t(()=>{const l={type:a.type,bootstrap:a.bootstrap||at,declarations:a.declarations||at,imports:a.imports||at,exports:a.exports||at,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null};return null!=a.id&&(mt[a.id]=a.type),l})}function qt(a,l){return t(()=>{const _=gi(a,!0);_.declarations=l.declarations||at,_.imports=l.imports||at,_.exports=l.exports||at})}function Dt(a,l){if(null==a)return Mt;const _={};for(const y in a)if(a.hasOwnProperty(y)){let C=a[y],w=C;Array.isArray(C)&&(w=C[1],C=C[0]),_[C]=y,l&&(l[C]=w)}return _}const wt=ee;function At(a){return{type:a.type,name:a.name,factory:null,pure:!1!==a.pure,onDestroy:a.type.prototype.ngOnDestroy||null}}function Ot(a){return a[Ut]||null}function gi(a,l){const _=a[Ve]||null;if(!_&&!0===l)throw new Error(`Type ${b(a)} does not have '\u0275mod' property.`);return _}function $i(a){return Array.isArray(a)&&"object"==typeof a[1]}function sn(a){return Array.isArray(a)&&!0===a[1]}function Fi(a){return 0!=(8&a.flags)}function Ln(a){return 2==(2&a.flags)}function pt(a){return 1==(1&a.flags)}function Kt(a){return null!==a.template}function Je(a){return 0!=(512&a[2])}function yn(a,l){return a.hasOwnProperty($e)?a[$e]:null}class so{constructor(l,_,y){this.previousValue=l,this.currentValue=_,this.firstChange=y}isFirstChange(){return this.firstChange}}function Dn(){return Nn}function Nn(a){return a.type.prototype.ngOnChanges&&(a.setInput=bo),co}function co(){const a=lo(this),l=null==a?void 0:a.current;if(l){const _=a.previous;if(_===Mt)a.previous=l;else for(let y in l)_[y]=l[y];a.current=null,this.ngOnChanges(l)}}function bo(a,l,_,y){const C=lo(a)||function yo(a,l){return a[ro]=l}(a,{previous:Mt,current:null}),w=C.current||(C.current={}),O=C.previous,$=this.declaredInputs[_],_e=O[$];w[$]=new so(_e&&_e.currentValue,l,O===Mt),a[y]=l}Dn.ngInherit=!0;const ro="__ngSimpleChanges__";function lo(a){return a[ro]||null}let B;function U(a){B=a}function Ee(){return void 0!==B?B:"undefined"!=typeof document?document:void 0}function _t(a){return!!a.listen}const q={createRenderer:(a,l)=>Ee()};function ie(a){for(;Array.isArray(a);)a=a[0];return a}function Zt(a,l){return ie(l[a])}function Yt(a,l){return ie(l[a.index])}function ui(a,l){return a.data[l]}function hi(a,l){return a[l]}function _i(a,l){const _=l[a];return $i(_)?_:_[0]}function vi(a){return 4==(4&a[2])}function ki(a){return 128==(128&a[2])}function ye(a,l){return null==l?null:a[l]}function Ae(a){a[18]=0}function ct(a,l){a[5]+=l;let _=a,y=a[3];for(;null!==y&&(1===l&&1===_[5]||-1===l&&0===_[5]);)y[5]+=l,_=y,y=y[3]}const Bt={lFrame:Vi(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Vn(){return Bt.bindingsEnabled}function ni(){return Bt.lFrame.lView}function si(){return Bt.lFrame.tView}function Ei(a){return Bt.lFrame.contextLView=a,a[8]}function mi(){let a=zi();for(;null!==a&&64===a.type;)a=a.parent;return a}function zi(){return Bt.lFrame.currentTNode}function bn(a,l){const _=Bt.lFrame;_.currentTNode=a,_.isParent=l}function Rn(){return Bt.lFrame.isParent}function qn(){Bt.lFrame.isParent=!1}function So(){return Bt.isInCheckNoChangesMode}function Cn(a){Bt.isInCheckNoChangesMode=a}function pn(){const a=Bt.lFrame;let l=a.bindingRootIndex;return-1===l&&(l=a.bindingRootIndex=a.tView.bindingStartIndex),l}function En(){return Bt.lFrame.bindingIndex}function Xn(){return Bt.lFrame.bindingIndex++}function ho(a){const l=Bt.lFrame,_=l.bindingIndex;return l.bindingIndex=l.bindingIndex+a,_}function le(a,l){const _=Bt.lFrame;_.bindingIndex=_.bindingRootIndex=a,Me(l)}function Me(a){Bt.lFrame.currentDirectiveIndex=a}function ut(a){const l=Bt.lFrame.currentDirectiveIndex;return-1===l?null:a[l]}function Lt(){return Bt.lFrame.currentQueryIndex}function $t(a){Bt.lFrame.currentQueryIndex=a}function ri(a){const l=a[1];return 2===l.type?l.declTNode:1===l.type?a[6]:null}function di(a,l,_){if(_&j.SkipSelf){let C=l,w=a;for(;!(C=C.parent,null!==C||_&j.Host||(C=ri(w),null===C||(w=w[15],10&C.type))););if(null===C)return!1;l=C,a=w}const y=Bt.lFrame=Pi();return y.currentTNode=l,y.lView=a,!0}function ai(a){const l=Pi(),_=a[1];Bt.lFrame=l,l.currentTNode=_.firstChild,l.lView=a,l.tView=_,l.contextLView=a,l.bindingIndex=_.bindingStartIndex,l.inI18n=!1}function Pi(){const a=Bt.lFrame,l=null===a?null:a.child;return null===l?Vi(a):l}function Vi(a){const l={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:a,child:null,inI18n:!1};return null!==a&&(a.child=l),l}function fn(){const a=Bt.lFrame;return Bt.lFrame=a.parent,a.currentTNode=null,a.lView=null,a}const Gn=fn;function jn(){const a=fn();a.isParent=!0,a.tView=null,a.selectedIndex=-1,a.contextLView=null,a.elementDepthCount=0,a.currentDirectiveIndex=-1,a.currentNamespace=null,a.bindingRootIndex=-1,a.bindingIndex=-1,a.currentQueryIndex=0}function Ni(){return Bt.lFrame.selectedIndex}function Ji(a){Bt.lFrame.selectedIndex=a}function Si(){const a=Bt.lFrame;return ui(a.tView,a.selectedIndex)}function Bn(){Bt.lFrame.currentNamespace="svg"}function Yo(){!function xa(){Bt.lFrame.currentNamespace=null}()}function As(a,l){for(let _=l.directiveStart,y=l.directiveEnd;_=y)break}else l[_e]<0&&(a[18]+=65536),($>11>16&&(3&a[2])===l){a[2]+=2048;try{w.call($)}finally{}}}else try{w.call($)}finally{}}class rs{constructor(l,_,y){this.factory=l,this.resolving=!1,this.canSeeViewProviders=_,this.injectImpl=y}}function bs(a,l,_){const y=_t(a);let C=0;for(;C<_.length;){const w=_[C];if("number"==typeof w){if(0!==w)break;C++;const O=_[C++],$=_[C++],_e=_[C++];y?a.setAttribute(l,$,_e,O):l.setAttributeNS(O,$,_e)}else{const O=w,$=_[++C];cr(O)?y&&a.setProperty(l,O,$):y?a.setAttribute(l,O,$):l.setAttribute(O,$),C++}}return C}function ys(a){return 3===a||4===a||6===a}function cr(a){return 64===a.charCodeAt(0)}function vs(a,l){if(null!==l&&0!==l.length)if(null===a||0===a.length)a=l.slice();else{let _=-1;for(let y=0;yl){O=w-1;break}}}for(;w>16}(a),y=l;for(;_>0;)y=y[15],_--;return y}let Z=!0;function xe(a){const l=Z;return Z=a,l}let Nt=0;function Ai(a,l){const _=Mi(a,l);if(-1!==_)return _;const y=l[1];y.firstCreatePass&&(a.injectorIndex=l.length,Zi(y.data,a),Zi(l,null),Zi(y.blueprint,null));const C=nn(a,l),w=a.injectorIndex;if(Yr(C)){const O=cs(C),$=Q(C,l),_e=$[1].data;for(let Ge=0;Ge<8;Ge++)l[w+Ge]=$[O+Ge]|_e[O+Ge]}return l[w+8]=C,w}function Zi(a,l){a.push(0,0,0,0,0,0,0,0,l)}function Mi(a,l){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===l[a.injectorIndex+8]?-1:a.injectorIndex}function nn(a,l){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;let _=0,y=null,C=l;for(;null!==C;){const w=C[1],O=w.type;if(y=2===O?w.declTNode:1===O?C[6]:null,null===y)return-1;if(_++,C=C[15],-1!==y.injectorIndex)return y.injectorIndex|_<<16}return-1}function rn(a,l,_){!function Xt(a,l,_){let y;"string"==typeof _?y=_.charCodeAt(0)||0:_.hasOwnProperty(oe)&&(y=_[oe]),null==y&&(y=_[oe]=Nt++);const C=255&y;l.data[a+(C>>5)]|=1<=0?255&l:Io:l}(_);if("function"==typeof w){if(!di(l,a,y))return y&j.Host?vo(C,_,y):To(l,_,y,C);try{const O=w(y);if(null!=O||y&j.Optional)return O;V(_)}finally{Gn()}}else if("number"==typeof w){let O=null,$=Mi(a,l),_e=-1,Ge=y&j.Host?l[16][6]:null;for((-1===$||y&j.SkipSelf)&&(_e=-1===$?nn(a,l):l[$+8],-1!==_e&&pu(y,!1)?(O=l[1],$=cs(_e),l=Q(_e,l)):$=-1);-1!==$;){const rt=l[1];if(hu(w,$,rt.data)){const vt=ts($,l,_,O,y,Ge);if(vt!==us)return vt}_e=l[$+8],-1!==_e&&pu(y,l[1].data[$+8]===Ge)&&hu(w,$,l)?(O=rt,$=cs(_e),l=Q(_e,l)):$=-1}}}return To(l,_,y,C)}const us={};function Io(){return new Cs(mi(),ni())}function ts(a,l,_,y,C,w){const O=l[1],$=O.data[a+8],rt=Ts($,O,_,null==y?Ln($)&&Z:y!=O&&0!=(3&$.type),C&j.Host&&w===$);return null!==rt?ur(l,O,rt,$):us}function Ts(a,l,_,y,C){const w=a.providerIndexes,O=l.data,$=1048575&w,_e=a.directiveStart,rt=w>>20,kt=C?$+rt:a.directiveEnd;for(let jt=y?$:$+rt;jt=_e&&ei.type===_)return jt}if(C){const jt=O[_e];if(jt&&Kt(jt)&&jt.type===_)return _e}return null}function ur(a,l,_,y){let C=a[_];const w=l.data;if(function Na(a){return a instanceof rs}(C)){const O=C;O.resolving&&function ce(a,l){const _=l?`. Dependency path: ${l.join(" > ")} > ${a}`:"";throw new X(-200,`Circular dependency in DI detected for ${a}${_}`)}(Ne(w[_]));const $=xe(O.canSeeViewProviders);O.resolving=!0;const _e=O.injectImpl?r(O.injectImpl):null;di(a,y,j.Default);try{C=a[_]=O.factory(void 0,w,a,y),l.firstCreatePass&&_>=y.directiveStart&&function Kr(a,l,_){const{ngOnChanges:y,ngOnInit:C,ngDoCheck:w}=l.type.prototype;if(y){const O=Nn(l);(_.preOrderHooks||(_.preOrderHooks=[])).push(a,O),(_.preOrderCheckHooks||(_.preOrderCheckHooks=[])).push(a,O)}C&&(_.preOrderHooks||(_.preOrderHooks=[])).push(0-a,C),w&&((_.preOrderHooks||(_.preOrderHooks=[])).push(a,w),(_.preOrderCheckHooks||(_.preOrderCheckHooks=[])).push(a,w))}(_,w[_],l)}finally{null!==_e&&r(_e),xe($),O.resolving=!1,Gn()}}return C}function hu(a,l,_){return!!(_[l+(a>>5)]&1<{const l=a.prototype.constructor,_=l[$e]||Ha(l),y=Object.prototype;let C=Object.getPrototypeOf(a.prototype).constructor;for(;C&&C!==y;){const w=C[$e]||Ha(C);if(w&&w!==_)return w;C=Object.getPrototypeOf(C)}return w=>new w})}function Ha(a){return k(a)?()=>{const l=Ha(x(a));return l&&l()}:yn(a)}function Ua(a){return function ls(a,l){if("class"===l)return a.classes;if("style"===l)return a.styles;const _=a.attrs;if(_){const y=_.length;let C=0;for(;C{const y=function za(a){return function(..._){if(a){const y=a(..._);for(const C in y)this[C]=y[C]}}}(l);function C(...w){if(this instanceof C)return y.apply(this,w),this;const O=new C(...w);return $.annotation=O,$;function $(_e,Ge,rt){const vt=_e.hasOwnProperty(ws)?_e[ws]:Object.defineProperty(_e,ws,{value:[]})[ws];for(;vt.length<=rt;)vt.push(null);return(vt[rt]=vt[rt]||[]).push(O),_e}}return _&&(C.prototype=Object.create(_.prototype)),C.prototype.ngMetadataName=a,C.annotationCls=C,C})}class wn{constructor(l,_){this._desc=l,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof _?this.__NG_ELEMENT_ID__=_:void 0!==_&&(this.\u0275prov=ve({token:this,providedIn:_.providedIn||"root",factory:_.factory}))}toString(){return`InjectionToken ${this._desc}`}}const kg=new wn("AnalyzeForEntryComponents");function Co(a,l){void 0===l&&(l=a);for(let _=0;_Array.isArray(_)?Fo(_,l):l(_))}function mu(a,l,_){l>=a.length?a.push(_):a.splice(l,0,_)}function qr(a,l){return l>=a.length-1?a.pop():a.splice(l,1)[0]}function pr(a,l){const _=[];for(let y=0;y=0?a[1|y]=_:(y=~y,function Bg(a,l,_,y){let C=a.length;if(C==l)a.push(_,y);else if(1===C)a.push(y,a[0]),a[0]=_;else{for(C--,a.push(a[C-1],a[C]);C>l;)a[C]=a[C-2],C--;a[l]=_,a[l+1]=y}}(a,y,l,_)),y}function Ga(a,l){const _=Ds(a,l);if(_>=0)return a[1|_]}function Ds(a,l){return function bu(a,l,_){let y=0,C=a.length>>_;for(;C!==y;){const w=y+(C-y>>1),O=a[w<<_];if(l===O)return w<<_;O>l?C=w:y=w+1}return~(C<<_)}(a,l,1)}const fr={},Ka="__NG_DI_FLAG__",$r="ngTempTokenPath",jg=/\n/gm,vu="__source",Vg=A({provide:String,useValue:A});let gr;function Tu(a){const l=gr;return gr=a,l}function Yg(a,l=j.Default){if(void 0===gr)throw new X(203,"");return null===gr?u(a,void 0,l):gr.get(a,l&j.Optional?null:void 0,l)}function Kn(a,l=j.Default){return(function n(){return Te}()||Yg)(x(a),l)}const qg=Kn;function Va(a){const l=[];for(let _=0;_({token:a})),-1),ds=mr(Ms("Optional"),8),Is=mr(Ms("SkipSelf"),4);let Qr,Xr;function Ps(a){var l;return(null===(l=function qa(){if(void 0===Qr&&(Qr=null,Ft.trustedTypes))try{Qr=Ft.trustedTypes.createPolicy("angular",{createHTML:a=>a,createScript:a=>a,createScriptURL:a=>a})}catch(a){}return Qr}())||void 0===l?void 0:l.createHTML(a))||a}function Du(a){var l;return(null===(l=function Wa(){if(void 0===Xr&&(Xr=null,Ft.trustedTypes))try{Xr=Ft.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:a=>a,createScript:a=>a,createScriptURL:a=>a})}catch(a){}return Xr}())||void 0===l?void 0:l.createHTML(a))||a}class hs{constructor(l){this.changingThisBreaksApplicationSecurity=l}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class cm extends hs{getTypeName(){return"HTML"}}class lm extends hs{getTypeName(){return"Style"}}class um extends hs{getTypeName(){return"Script"}}class dm extends hs{getTypeName(){return"URL"}}class hm extends hs{getTypeName(){return"ResourceURL"}}function Wo(a){return a instanceof hs?a.changingThisBreaksApplicationSecurity:a}function Os(a,l){const _=Pu(a);if(null!=_&&_!==l){if("ResourceURL"===_&&"URL"===l)return!0;throw new Error(`Required a safe ${l}, got a ${_} (see https://g.co/ng/security#xss)`)}return _===l}function Pu(a){return a instanceof hs&&a.getTypeName()||null}function pm(a){return new cm(a)}function fm(a){return new lm(a)}function gm(a){return new um(a)}function mm(a){return new dm(a)}function _m(a){return new hm(a)}class Am{constructor(l){this.inertDocumentHelper=l}getInertBodyElement(l){l=""+l;try{const _=(new window.DOMParser).parseFromString(Ps(l),"text/html").body;return null===_?this.inertDocumentHelper.getInertBodyElement(l):(_.removeChild(_.firstChild),_)}catch(_){return null}}}class bm{constructor(l){if(this.defaultDoc=l,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const _=this.inertDocument.createElement("html");this.inertDocument.appendChild(_);const y=this.inertDocument.createElement("body");_.appendChild(y)}}getInertBodyElement(l){const _=this.inertDocument.createElement("template");if("content"in _)return _.innerHTML=Ps(l),_;const y=this.inertDocument.createElement("body");return y.innerHTML=Ps(l),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(y),y}stripCustomNsAttrs(l){const _=l.attributes;for(let C=_.length-1;0br(l.trim())).join(", ")),this.buf.push(" ",O,'="',Fu(_e),'"')}var a;return this.buf.push(">"),!0}endElement(l){const _=l.nodeName.toLowerCase();$a.hasOwnProperty(_)&&!ku.hasOwnProperty(_)&&(this.buf.push(""))}chars(l){this.buf.push(Fu(l))}checkClobberedElement(l,_){if(_&&(l.compareDocumentPosition(_)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${l.outerHTML}`);return _}}const wm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Sm=/([^\#-~ |!])/g;function Fu(a){return a.replace(/&/g,"&").replace(wm,function(l){return"&#"+(1024*(l.charCodeAt(0)-55296)+(l.charCodeAt(1)-56320)+65536)+";"}).replace(Sm,function(l){return"&#"+l.charCodeAt(0)+";"}).replace(//g,">")}let ea;function Hu(a,l){let _=null;try{ea=ea||function Ou(a){const l=new bm(a);return function ym(){try{return!!(new window.DOMParser).parseFromString(Ps(""),"text/html")}catch(a){return!1}}()?new Am(l):l}(a);let y=l?String(l):"";_=ea.getInertBodyElement(y);let C=5,w=y;do{if(0===C)throw new Error("Failed to sanitize html because the input is unstable");C--,y=w,w=_.innerHTML,_=ea.getInertBodyElement(y)}while(y!==w);return Ps((new Em).sanitizeChildren(Xa(_)||_))}finally{if(_){const y=Xa(_)||_;for(;y.firstChild;)y.removeChild(y.firstChild)}}}function Xa(a){return"content"in a&&function Mm(a){return a.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===a.nodeName}(a)?a.content:null}var Pn=(()=>((Pn=Pn||{})[Pn.NONE=0]="NONE",Pn[Pn.HTML=1]="HTML",Pn[Pn.STYLE=2]="STYLE",Pn[Pn.SCRIPT=3]="SCRIPT",Pn[Pn.URL=4]="URL",Pn[Pn.RESOURCE_URL=5]="RESOURCE_URL",Pn))();function Uu(a){const l=vr();return l?Du(l.sanitize(Pn.HTML,a)||""):Os(a,"HTML")?Du(Wo(a)):Hu(Ee(),re(a))}function ec(a){const l=vr();return l?l.sanitize(Pn.URL,a)||"":Os(a,"URL")?Wo(a):br(re(a))}function vr(){const a=ni();return a&&a[12]}const Gu="__ngContext__";function Wn(a,l){a[Gu]=l}function ic(a){const l=function Tr(a){return a[Gu]||null}(a);return l?Array.isArray(l)?l:l.lView:null}function oc(a){return a.ngOriginalError}function Gm(a,...l){a.error(...l)}class Cr{constructor(){this._console=console}handleError(l){const _=this._findOriginalError(l),y=function Zm(a){return a&&a.ngErrorLogger||Gm}(l);y(this._console,"ERROR",l),_&&y(this._console,"ORIGINAL ERROR",_)}_findOriginalError(l){let _=l&&oc(l);for(;_&&oc(_);)_=oc(_);return _||null}}const qu=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ft))();function Wu(a){return a.ownerDocument.defaultView}function $u(a){return a.ownerDocument}function Uo(a){return a instanceof Function?a():a}var zo=(()=>((zo=zo||{})[zo.Important=1]="Important",zo[zo.DashCase=2]="DashCase",zo))();function rc(a,l){return undefined(a,l)}function Er(a){const l=a[3];return sn(l)?l[3]:l}function ac(a){return td(a[13])}function cc(a){return td(a[4])}function td(a){for(;null!==a&&!sn(a);)a=a[4];return a}function ks(a,l,_,y,C){if(null!=y){let w,O=!1;sn(y)?w=y:$i(y)&&(O=!0,y=y[0]);const $=ie(y);0===a&&null!==_?null==C?ad(l,_,$):ps(l,_,$,C||null,!0):1===a&&null!==_?ps(l,_,$,C||null,!0):2===a?function fd(a,l,_){const y=ta(a,l);y&&function u_(a,l,_,y){_t(a)?a.removeChild(l,_,y):l.removeChild(_)}(a,y,l,_)}(l,$,O):3===a&&l.destroyNode($),null!=w&&function p_(a,l,_,y,C){const w=_[7];w!==ie(_)&&ks(l,a,y,w,C);for(let $=10;$<_.length;$++){const _e=_[$];wr(_e[1],_e,a,l,y,w)}}(l,a,w,_,C)}}function uc(a,l,_){if(_t(a))return a.createElement(l,_);{const y=null!==_?function ht(a){const l=a.toLowerCase();return"svg"===l?"http://www.w3.org/2000/svg":"math"===l?"http://www.w3.org/1998/MathML/":null}(_):null;return null===y?a.createElement(l):a.createElementNS(y,l)}}function nd(a,l){const _=a[9],y=_.indexOf(l),C=l[3];1024&l[2]&&(l[2]&=-1025,ct(C,-1)),_.splice(y,1)}function dc(a,l){if(a.length<=10)return;const _=10+l,y=a[_];if(y){const C=y[17];null!==C&&C!==a&&nd(C,y),l>0&&(a[_-1][4]=y[4]);const w=qr(a,10+l);!function i_(a,l){wr(a,l,l[11],2,null,null),l[0]=null,l[6]=null}(y[1],y);const O=w[19];null!==O&&O.detachView(w[1]),y[3]=null,y[4]=null,y[2]&=-129}return y}function od(a,l){if(!(256&l[2])){const _=l[11];_t(_)&&_.destroyNode&&wr(a,l,_,3,null,null),function s_(a){let l=a[13];if(!l)return hc(a[1],a);for(;l;){let _=null;if($i(l))_=l[13];else{const y=l[10];y&&(_=y)}if(!_){for(;l&&!l[4]&&l!==a;)$i(l)&&hc(l[1],l),l=l[3];null===l&&(l=a),$i(l)&&hc(l[1],l),_=l&&l[4]}l=_}}(l)}}function hc(a,l){if(!(256&l[2])){l[2]&=-129,l[2]|=256,function l_(a,l){let _;if(null!=a&&null!=(_=a.destroyHooks))for(let y=0;y<_.length;y+=2){const C=l[_[y]];if(!(C instanceof rs)){const w=_[y+1];if(Array.isArray(w))for(let O=0;O=0?y[C=Ge]():y[C=-Ge].unsubscribe(),w+=2}else{const O=y[C=_[w+1]];_[w].call(O)}if(null!==y){for(let w=C+1;ww?"":C[vt+1].toLowerCase();const jt=8&y?kt:null;if(jt&&-1!==_d(jt,Ge,0)||2&y&&Ge!==kt){if(Ro(y))return!1;O=!0}}}}else{if(!O&&!Ro(y)&&!Ro(_e))return!1;if(O&&Ro(_e))continue;O=!1,y=_e|1&y}}return Ro(y)||O}function Ro(a){return 0==(1&a)}function A_(a,l,_,y){if(null===l)return-1;let C=0;if(y||!_){let w=!1;for(;C-1)for(_++;_0?'="'+$+'"':"")+"]"}else 8&y?C+="."+O:4&y&&(C+=" "+O);else""!==C&&!Ro(O)&&(l+=vd(w,C),C=""),y=O,w=w||!Ro(y);_++}return""!==C&&(l+=vd(w,C)),l}const Li={};function Td(a){Cd(si(),ni(),Ni()+a,So())}function Cd(a,l,_,y){if(!y)if(3==(3&l[2])){const w=a.preOrderCheckHooks;null!==w&&es(l,w,_)}else{const w=a.preOrderHooks;null!==w&&os(l,w,0,_)}Ji(_)}function oa(a,l){return a<<17|l<<2}function Po(a){return a>>17&32767}function _c(a){return 2|a}function $o(a){return(131068&a)>>2}function Ac(a,l){return-131069&a|l<<2}function bc(a){return 1|a}function kd(a,l){const _=a.contentQueries;if(null!==_)for(let y=0;y<_.length;y+=2){const C=_[y],w=_[y+1];if(-1!==w){const O=a.data[w];$t(C),O.contentQueries(2,l[w],w)}}}function Sr(a,l,_,y,C,w,O,$,_e,Ge){const rt=l.blueprint.slice();return rt[0]=C,rt[2]=140|y,Ae(rt),rt[3]=rt[15]=a,rt[8]=_,rt[10]=O||a&&a[10],rt[11]=$||a&&a[11],rt[12]=_e||a&&a[12]||null,rt[9]=Ge||a&&a[9]||null,rt[6]=w,rt[16]=2==l.type?a[16]:rt,rt}function Ls(a,l,_,y,C){let w=a.data[l];if(null===w)w=function Dc(a,l,_,y,C){const w=zi(),O=Rn(),_e=a.data[l]=function z_(a,l,_,y,C,w){return{type:_,index:y,insertBeforeIndex:null,injectorIndex:l?l.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:C,attrs:w,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:l,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,O?w:w&&w.parent,_,l,y,C);return null===a.firstChild&&(a.firstChild=_e),null!==w&&(O?null==w.child&&null!==_e.parent&&(w.child=_e):null===w.next&&(w.next=_e)),_e}(a,l,_,y,C),function sr(){return Bt.lFrame.inI18n}()&&(w.flags|=64);else if(64&w.type){w.type=_,w.value=y,w.attrs=C;const O=function dn(){const a=Bt.lFrame,l=a.currentTNode;return a.isParent?l:l.parent}();w.injectorIndex=null===O?-1:O.injectorIndex}return bn(w,!0),w}function Ns(a,l,_,y){if(0===_)return-1;const C=l.length;for(let w=0;w<_;w++)l.push(y),a.blueprint.push(y),a.data.push(null);return C}function Mr(a,l,_){ai(l);try{const y=a.viewQuery;null!==y&&Bc(1,y,_);const C=a.template;null!==C&&Ld(a,l,C,1,_),a.firstCreatePass&&(a.firstCreatePass=!1),a.staticContentQueries&&kd(a,l),a.staticViewQueries&&Bc(2,a.viewQuery,_);const w=a.components;null!==w&&function F_(a,l){for(let _=0;_20&&Cd(a,l,20,So()),_(y,C)}finally{Ji(w)}}function Nd(a,l,_){if(Fi(l)){const C=l.directiveEnd;for(let w=l.directiveStart;w0;){const _=a[--l];if("number"==typeof _&&_<0)return _}return 0})($)!=_e&&$.push(_e),$.push(y,C,O)}}function jd(a,l){null!==a.hostBindings&&a.hostBindings(1,l)}function Kd(a,l){l.flags|=2,(a.components||(a.components=[])).push(l.index)}function Q_(a,l,_){if(_){if(l.exportAs)for(let y=0;y0&&xc(_)}}function xc(a){for(let y=ac(a);null!==y;y=cc(y))for(let C=10;C0&&xc(w)}const _=a[1].components;if(null!==_)for(let y=0;y<_.length;y++){const C=_i(_[y],a);ki(C)&&C[5]>0&&xc(C)}}function sA(a,l){const _=_i(l,a),y=_[1];(function rA(a,l){for(let _=l.length;_Promise.resolve(null))();function $d(a){return a[7]||(a[7]=[])}function Jd(a){return a.cleanup||(a.cleanup=[])}function Qd(a,l,_){return(null===a||Kt(a))&&(_=function Ke(a){for(;Array.isArray(a);){if("object"==typeof a[1])return a;a=a[0]}return null}(_[l.index])),_[11]}function Xd(a,l){const _=a[9],y=_?_.get(Cr,null):null;y&&y.handleError(l)}function eh(a,l,_,y,C){for(let w=0;w<_.length;){const O=_[w++],$=_[w++],_e=l[O],Ge=a.data[O];null!==Ge.setInput?Ge.setInput(_e,C,y,$):_e[$]=C}}function Jo(a,l,_){const y=Zt(l,a);!function id(a,l,_){_t(a)?a.setValue(l,_):l.textContent=_}(a[11],y,_)}function la(a,l,_){let y=_?a.styles:null,C=_?a.classes:null,w=0;if(null!==l)for(let O=0;Othis.processProvider($,l,_)),Fo([l],$=>this.processInjectorType($,[],w)),this.records.set(Fc,Fs(void 0,this));const O=this.records.get(Hc);this.scope=null!=O?O.value:null,this.source=C||("object"==typeof l?null:b(l))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(l=>l.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(l,_=fr,y=j.Default){this.assertNotDestroyed();const C=Tu(this),w=r(void 0);try{if(!(y&j.SkipSelf)){let $=this.records.get(l);if(void 0===$){const _e=function TA(a){return"function"==typeof a||"object"==typeof a&&a instanceof wn}(l)&&st(l);$=_e&&this.injectableDefInScope(_e)?Fs(zc(l),Dr):null,this.records.set(l,$)}if(null!=$)return this.hydrate(l,$)}return(y&j.Self?ih():this.parent).get(l,_=y&j.Optional&&_===fr?null:_)}catch(O){if("NullInjectorError"===O.name){if((O[$r]=O[$r]||[]).unshift(b(l)),C)throw O;return function $g(a,l,_,y){const C=a[$r];throw l[vu]&&C.unshift(l[vu]),a.message=function Jg(a,l,_,y=null){a=a&&"\n"===a.charAt(0)&&"\u0275"==a.charAt(1)?a.substr(2):a;let C=b(l);if(Array.isArray(l))C=l.map(b).join(" -> ");else if("object"==typeof l){let w=[];for(let O in l)if(l.hasOwnProperty(O)){let $=l[O];w.push(O+":"+("string"==typeof $?JSON.stringify($):b($)))}C=`{${w.join(", ")}}`}return`${_}${y?"("+y+")":""}[${C}]: ${a.replace(jg,"\n ")}`}("\n"+a.message,C,_,y),a.ngTokenPath=C,a[$r]=null,a}(O,l,"R3InjectorError",this.source)}throw O}finally{r(w),Tu(C)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(l=>this.get(l))}toString(){const l=[];return this.records.forEach((y,C)=>l.push(b(C))),`R3Injector[${l.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new X(205,!1)}processInjectorType(l,_,y){if(!(l=x(l)))return!1;let C=M(l);const w=null==C&&l.ngModule||void 0,O=void 0===w?l:w,$=-1!==y.indexOf(O);if(void 0!==w&&(C=M(w)),null==C)return!1;if(null!=C.imports&&!$){let rt;y.push(O);try{Fo(C.imports,vt=>{this.processInjectorType(vt,_,y)&&(void 0===rt&&(rt=[]),rt.push(vt))})}finally{}if(void 0!==rt)for(let vt=0;vtthis.processProvider(ei,kt,jt||at))}}this.injectorDefTypes.add(O);const _e=yn(O)||(()=>new O);this.records.set(O,Fs(_e,Dr));const Ge=C.providers;if(null!=Ge&&!$){const rt=l;Fo(Ge,vt=>this.processProvider(vt,rt,Ge))}return void 0!==w&&void 0!==l.providers}processProvider(l,_,y){let C=Hs(l=x(l))?l:x(l&&l.provide);const w=function mA(a,l,_){return rh(a)?Fs(void 0,a.useValue):Fs(sh(a),Dr)}(l);if(Hs(l)||!0!==l.multi)this.records.get(C);else{let O=this.records.get(C);O||(O=Fs(void 0,Dr,!0),O.factory=()=>Va(O.multi),this.records.set(C,O)),C=l,O.multi.push(l)}this.records.set(C,w)}hydrate(l,_){return _.value===Dr&&(_.value=pA,_.value=_.factory()),"object"==typeof _.value&&_.value&&function vA(a){return null!==a&&"object"==typeof a&&"function"==typeof a.ngOnDestroy}(_.value)&&this.onDestroy.add(_.value),_.value}injectableDefInScope(l){if(!l.providedIn)return!1;const _=x(l.providedIn);return"string"==typeof _?"any"===_||_===this.scope:this.injectorDefTypes.has(_)}}function zc(a){const l=st(a),_=null!==l?l.factory:yn(a);if(null!==_)return _;if(a instanceof wn)throw new X(204,!1);if(a instanceof Function)return function gA(a){const l=a.length;if(l>0)throw pr(l,"?"),new X(204,!1);const _=function L(a){const l=a&&(a[S]||a[N]);if(l){const _=function de(a){if(a.hasOwnProperty("name"))return a.name;const l=(""+a).match(/^function\s*([^\s(]+)/);return null===l?"":l[1]}(a);return console.warn(`DEPRECATED: DI is instantiating a token "${_}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${_}" class.`),l}return null}(a);return null!==_?()=>_.factory(a):()=>new a}(a);throw new X(204,!1)}function sh(a,l,_){let y;if(Hs(a)){const C=x(a);return yn(C)||zc(C)}if(rh(a))y=()=>x(a.useValue);else if(function AA(a){return!(!a||!a.useFactory)}(a))y=()=>a.useFactory(...Va(a.deps||[]));else if(function _A(a){return!(!a||!a.useExisting)}(a))y=()=>Kn(x(a.useExisting));else{const C=x(a&&(a.useClass||a.provide));if(!function yA(a){return!!a.deps}(a))return yn(C)||zc(C);y=()=>new C(...Va(a.deps))}return y}function Fs(a,l,_=!1){return{factory:a,value:l,multi:_?[]:void 0}}function rh(a){return null!==a&&"object"==typeof a&&Vg in a}function Hs(a){return"function"==typeof a}let Eo=(()=>{class a{static create(_,y){var C;if(Array.isArray(_))return nh({name:""},y,_,"");{const w=null!==(C=_.name)&&void 0!==C?C:"";return nh({name:w},_.parent,_.providers,w)}}}return a.THROW_IF_NOT_FOUND=fr,a.NULL=new th,a.\u0275prov=ve({token:a,providedIn:"any",factory:()=>Kn(Fc)}),a.__NG_ELEMENT_ID__=-1,a})();function RA(a,l){As(ic(a)[1],mi())}function jc(a){let l=function Ah(a){return Object.getPrototypeOf(a.prototype).constructor}(a.type),_=!0;const y=[a];for(;l;){let C;if(Kt(a))C=l.\u0275cmp||l.\u0275dir;else{if(l.\u0275cmp)throw new X(903,"");C=l.\u0275dir}if(C){if(_){y.push(C);const O=a;O.inputs=Kc(a.inputs),O.declaredInputs=Kc(a.declaredInputs),O.outputs=Kc(a.outputs);const $=C.hostBindings;$&&kA(a,$);const _e=C.viewQuery,Ge=C.contentQueries;if(_e&&OA(a,_e),Ge&&xA(a,Ge),s(a.inputs,C.inputs),s(a.declaredInputs,C.declaredInputs),s(a.outputs,C.outputs),Kt(C)&&C.data.animation){const rt=a.data;rt.animation=(rt.animation||[]).concat(C.data.animation)}}const w=C.features;if(w)for(let O=0;O=0;y--){const C=a[y];C.hostVars=l+=C.hostVars,C.hostAttrs=vs(C.hostAttrs,_=vs(_,C.hostAttrs))}}(y)}function Kc(a){return a===Mt?{}:a===at?[]:a}function OA(a,l){const _=a.viewQuery;a.viewQuery=_?(y,C)=>{l(y,C),_(y,C)}:l}function xA(a,l){const _=a.contentQueries;a.contentQueries=_?(y,C,w)=>{l(y,C,w),_(y,C,w)}:l}function kA(a,l){const _=a.hostBindings;a.hostBindings=_?(y,C)=>{l(y,C),_(y,C)}:l}let ua=null;function Us(){if(!ua){const a=Ft.Symbol;if(a&&a.iterator)ua=a.iterator;else{const l=Object.getOwnPropertyNames(Map.prototype);for(let _=0;_$(ie(qi[y.index])):y.index;if(_t(_)){let qi=null;if(!$&&_e&&(qi=function ub(a,l,_,y){const C=a.cleanup;if(null!=C)for(let w=0;w_e?$[_e]:null}"string"==typeof O&&(w+=2)}return null}(a,l,C,y.index)),null!==qi)(qi.__ngLastListenerFn__||qi).__ngNextListenerFn__=w,qi.__ngLastListenerFn__=w,jt=!1;else{w=cl(y,l,vt,w,!1);const un=_.listen(yi,C,w);kt.push(w,un),rt&&rt.push(C,Ii,ii,ii+1)}}else w=cl(y,l,vt,w,!0),yi.addEventListener(C,w,O),kt.push(w),rt&&rt.push(C,Ii,ii,O)}else w=cl(y,l,vt,w,!1);const ei=y.outputs;let ci;if(jt&&null!==ei&&(ci=ei[C])){const fi=ci.length;if(fi)for(let yi=0;yi0;)l=l[15],a--;return l}(a,Bt.lFrame.contextLView))[8]}(a)}function db(a,l){let _=null;const y=function b_(a){const l=a.attrs;if(null!=l){const _=l.indexOf(5);if(0==(1&_))return l[_+1]}return null}(a);for(let C=0;C=0}const Hn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function op(a){return a.substring(Hn.key,Hn.keyEnd)}function sp(a,l){const _=Hn.textEnd;return _===l?-1:(l=Hn.keyEnd=function Ab(a,l,_){for(;l<_&&a.charCodeAt(l)>32;)l++;return l}(a,Hn.key=l,_),Js(a,l,_))}function Js(a,l,_){for(;l<_&&a.charCodeAt(l)<=32;)l++;return l}function dl(a,l,_){return xo(a,l,_,!1),dl}function hl(a,l){return xo(a,l,null,!0),hl}function up(a){ko(fo,Ko,a,!0)}function Ko(a,l){for(let _=function mb(a){return function ap(a){Hn.key=0,Hn.keyEnd=0,Hn.value=0,Hn.valueEnd=0,Hn.textEnd=a.length}(a),sp(a,Js(a,0,Hn.textEnd))}(l);_>=0;_=sp(l,_))fo(a,op(l),!0)}function xo(a,l,_,y){const C=ni(),w=si(),O=ho(2);w.firstUpdatePass&&hp(w,a,O,y),l!==Li&&$n(C,O,l)&&fp(w,w.data[Ni()],C,C[11],a,C[O+1]=function Db(a,l){return null==a||("string"==typeof l?a+=l:"object"==typeof a&&(a=b(Wo(a)))),a}(l,_),y,O)}function ko(a,l,_,y){const C=si(),w=ho(2);C.firstUpdatePass&&hp(C,null,w,y);const O=ni();if(_!==Li&&$n(O,w,_)){const $=C.data[Ni()];if(mp($,y)&&!dp(C,w)){let _e=y?$.classesWithoutHost:$.stylesWithoutHost;null!==_e&&(_=R(_e,_||"")),el(C,$,O,_,y)}else!function Mb(a,l,_,y,C,w,O,$){C===Li&&(C=at);let _e=0,Ge=0,rt=0=a.expandoStartIndex}function hp(a,l,_,y){const C=a.data;if(null===C[_+1]){const w=C[Ni()],O=dp(a,_);mp(w,y)&&null===l&&!O&&(l=!1),l=function Tb(a,l,_,y){const C=ut(a);let w=y?l.residualClasses:l.residualStyles;if(null===C)0===(y?l.classBindings:l.styleBindings)&&(_=Or(_=pl(null,a,l,_,y),l.attrs,y),w=null);else{const O=l.directiveStylingLast;if(-1===O||a[O]!==C)if(_=pl(C,a,l,_,y),null===w){let _e=function Cb(a,l,_){const y=_?l.classBindings:l.styleBindings;if(0!==$o(y))return a[Po(y)]}(a,l,y);void 0!==_e&&Array.isArray(_e)&&(_e=pl(null,a,l,_e[1],y),_e=Or(_e,l.attrs,y),function Eb(a,l,_,y){a[Po(_?l.classBindings:l.styleBindings)]=y}(a,l,y,_e))}else w=function wb(a,l,_){let y;const C=l.directiveEnd;for(let w=1+l.directiveStylingLast;w0)&&(Ge=!0)}else rt=_;if(C)if(0!==_e){const kt=Po(a[$+1]);a[y+1]=oa(kt,$),0!==kt&&(a[kt+1]=Ac(a[kt+1],y)),a[$+1]=function S_(a,l){return 131071&a|l<<17}(a[$+1],y)}else a[y+1]=oa($,0),0!==$&&(a[$+1]=Ac(a[$+1],y)),$=y;else a[y+1]=oa(_e,0),0===$?$=y:a[_e+1]=Ac(a[_e+1],y),_e=y;Ge&&(a[y+1]=_c(a[y+1])),np(a,rt,y,!0),np(a,rt,y,!1),function pb(a,l,_,y,C){const w=C?a.residualClasses:a.residualStyles;null!=w&&"string"==typeof l&&Ds(w,l)>=0&&(_[y+1]=bc(_[y+1]))}(l,rt,a,y,w),O=oa($,_e),w?l.classBindings=O:l.styleBindings=O}(C,w,l,_,O,y)}}function pl(a,l,_,y,C){let w=null;const O=_.directiveEnd;let $=_.directiveStylingLast;for(-1===$?$=_.directiveStart:$++;$0;){const _e=a[C],Ge=Array.isArray(_e),rt=Ge?_e[1]:_e,vt=null===rt;let kt=_[C+1];kt===Li&&(kt=vt?at:void 0);let jt=vt?Ga(kt,y):rt===y?kt:void 0;if(Ge&&!fa(jt)&&(jt=Ga(_e,y)),fa(jt)&&($=jt,O))return $;const ei=a[C+1];C=O?Po(ei):$o(ei)}if(null!==l){let _e=w?l.residualClasses:l.residualStyles;null!=_e&&($=Ga(_e,y))}return $}function fa(a){return void 0!==a}function mp(a,l){return 0!=(a.flags&(l?16:32))}function _p(a,l=""){const _=ni(),y=si(),C=a+20,w=y.firstCreatePass?Ls(y,C,1,l,null):y.data[C],O=_[C]=function lc(a,l){return _t(a)?a.createText(l):a.createTextNode(l)}(_[11],l);ia(y,_,O,w),bn(w,!1)}function fl(a){return ga("",a,""),fl}function ga(a,l,_){const y=ni(),C=Zs(y,a,l,_);return C!==Li&&Jo(y,Ni(),C),ga}function gl(a,l,_,y,C){const w=ni(),O=Gs(w,a,l,_,y,C);return O!==Li&&Jo(w,Ni(),O),gl}function ml(a,l,_,y,C,w,O){const $=ni(),_e=function js(a,l,_,y,C,w,O,$){const Ge=da(a,En(),_,C,O);return ho(3),Ge?l+re(_)+y+re(C)+w+re(O)+$:Li}($,a,l,_,y,C,w,O);return _e!==Li&&Jo($,Ni(),_e),ml}function _l(a,l,_,y,C,w,O,$,_e){const Ge=ni(),rt=function Ks(a,l,_,y,C,w,O,$,_e,Ge){const vt=wo(a,En(),_,C,O,_e);return ho(4),vt?l+re(_)+y+re(C)+w+re(O)+$+re(_e)+Ge:Li}(Ge,a,l,_,y,C,w,O,$,_e);return rt!==Li&&Jo(Ge,Ni(),rt),_l}function Al(a,l,_,y,C,w,O,$,_e,Ge,rt){const vt=ni(),kt=function Vs(a,l,_,y,C,w,O,$,_e,Ge,rt,vt){const kt=En();let jt=wo(a,kt,_,C,O,_e);return jt=$n(a,kt+4,rt)||jt,ho(5),jt?l+re(_)+y+re(C)+w+re(O)+$+re(_e)+Ge+re(rt)+vt:Li}(vt,a,l,_,y,C,w,O,$,_e,Ge,rt);return kt!==Li&&Jo(vt,Ni(),kt),Al}function Tp(a,l,_){ko(fo,Ko,Zs(ni(),a,l,_),!0)}function bl(a,l,_){const y=ni();return $n(y,Xn(),l)&&go(si(),Si(),y,a,l,y[11],_,!0),bl}function yl(a,l,_){const y=ni();if($n(y,Xn(),l)){const w=si(),O=Si();go(w,O,y,a,l,Qd(ut(w.data),O,y),_,!0)}return yl}const gs=void 0;var Yb=["en",[["a","p"],["AM","PM"],gs],[["AM","PM"],gs,gs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],gs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],gs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",gs,"{1} 'at' {0}",gs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Vb(a){const _=Math.floor(Math.abs(a)),y=a.toString().replace(/^[^.]*\.?/,"").length;return 1===_&&0===y?1:5}];let Qs={};function vl(a){const l=function qb(a){return a.toLowerCase().replace(/_/g,"-")}(a);let _=xp(l);if(_)return _;const y=l.split("-")[0];if(_=xp(y),_)return _;if("en"===y)return Yb;throw new Error(`Missing locale data for the locale "${a}".`)}function Op(a){return vl(a)[Oi.PluralCase]}function xp(a){return a in Qs||(Qs[a]=Ft.ng&&Ft.ng.common&&Ft.ng.common.locales&&Ft.ng.common.locales[a]),Qs[a]}var Oi=(()=>((Oi=Oi||{})[Oi.LocaleId=0]="LocaleId",Oi[Oi.DayPeriodsFormat=1]="DayPeriodsFormat",Oi[Oi.DayPeriodsStandalone=2]="DayPeriodsStandalone",Oi[Oi.DaysFormat=3]="DaysFormat",Oi[Oi.DaysStandalone=4]="DaysStandalone",Oi[Oi.MonthsFormat=5]="MonthsFormat",Oi[Oi.MonthsStandalone=6]="MonthsStandalone",Oi[Oi.Eras=7]="Eras",Oi[Oi.FirstDayOfWeek=8]="FirstDayOfWeek",Oi[Oi.WeekendRange=9]="WeekendRange",Oi[Oi.DateFormat=10]="DateFormat",Oi[Oi.TimeFormat=11]="TimeFormat",Oi[Oi.DateTimeFormat=12]="DateTimeFormat",Oi[Oi.NumberSymbols=13]="NumberSymbols",Oi[Oi.NumberFormats=14]="NumberFormats",Oi[Oi.CurrencyCode=15]="CurrencyCode",Oi[Oi.CurrencySymbol=16]="CurrencySymbol",Oi[Oi.CurrencyName=17]="CurrencyName",Oi[Oi.Currencies=18]="Currencies",Oi[Oi.Directionality=19]="Directionality",Oi[Oi.PluralCase=20]="PluralCase",Oi[Oi.ExtraData=21]="ExtraData",Oi))();const ma="en-US";let kp=ma;function El(a,l,_,y,C){if(a=x(a),Array.isArray(a))for(let w=0;w>20;if(Hs(a)||!a.multi){const jt=new rs(_e,C,Pr),ei=Sl($,l,C?rt:rt+kt,vt);-1===ei?(rn(Ai(Ge,O),w,$),wl(w,a,l.length),l.push($),Ge.directiveStart++,Ge.directiveEnd++,C&&(Ge.providerIndexes+=1048576),_.push(jt),O.push(jt)):(_[ei]=jt,O[ei]=jt)}else{const jt=Sl($,l,rt+kt,vt),ei=Sl($,l,rt,rt+kt),ci=jt>=0&&_[jt],fi=ei>=0&&_[ei];if(C&&!fi||!C&&!ci){rn(Ai(Ge,O),w,$);const yi=function Vy(a,l,_,y,C){const w=new rs(a,_,Pr);return w.multi=[],w.index=l,w.componentProviders=0,sf(w,C,y&&!_),w}(C?Ky:jy,_.length,C,y,_e);!C&&fi&&(_[ei].providerFactory=yi),wl(w,a,l.length,0),l.push($),Ge.directiveStart++,Ge.directiveEnd++,C&&(Ge.providerIndexes+=1048576),_.push(yi),O.push(yi)}else wl(w,a,jt>-1?jt:ei,sf(_[C?ei:jt],_e,!C&&y));!C&&y&&fi&&_[ei].componentProviders++}}}function wl(a,l,_,y){const C=Hs(l),w=function bA(a){return!!a.useClass}(l);if(C||w){const _e=(w?x(l.useClass):l).prototype.ngOnDestroy;if(_e){const Ge=a.destroyHooks||(a.destroyHooks=[]);if(!C&&l.multi){const rt=Ge.indexOf(_);-1===rt?Ge.push(_,[y,_e]):Ge[rt+1].push(y,_e)}else Ge.push(_,_e)}}}function sf(a,l,_){return _&&a.componentProviders++,a.multi.push(l)-1}function Sl(a,l,_,y){for(let C=_;C{_.providersResolver=(y,C)=>function Gy(a,l,_){const y=si();if(y.firstCreatePass){const C=Kt(a);El(_,y.data,y.blueprint,C,!0),El(l,y.data,y.blueprint,C,!1)}}(y,C?C(a):a,l)}}class af{}class Wy{resolveComponentFactory(l){throw function qy(a){const l=Error(`No component factory found for ${b(a)}. Did you add it to @NgModule.entryComponents?`);return l.ngComponent=a,l}(l)}}let Br=(()=>{class a{}return a.NULL=new Wy,a})();function $y(){return er(mi(),ni())}function er(a,l){return new Fr(Yt(a,l))}let Fr=(()=>{class a{constructor(_){this.nativeElement=_}}return a.__NG_ELEMENT_ID__=$y,a})();function Jy(a){return a instanceof Fr?a.nativeElement:a}class lf{}let Qy=(()=>{class a{}return a.__NG_ELEMENT_ID__=()=>function ev(){const a=ni(),_=_i(mi().index,a);return function Xy(a){return a[11]}($i(_)?_:a)}(),a})(),tv=(()=>{class a{}return a.\u0275prov=ve({token:a,providedIn:"root",factory:()=>null}),a})();class uf{constructor(l){this.full=l,this.major=l.split(".")[0],this.minor=l.split(".")[1],this.patch=l.split(".").slice(2).join(".")}}const iv=new uf("13.2.2"),Dl={};function va(a,l,_,y,C=!1){for(;null!==_;){const w=l[_.index];if(null!==w&&y.push(ie(w)),sn(w))for(let $=10;$-1&&(dc(l,y),qr(_,y))}this._attachedToViewContainer=!1}od(this._lView[1],this._lView)}onDestroy(l){Ud(this._lView[1],this._lView,null,l)}markForCheck(){kc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Nc(this._lView[1],this._lView,this.context)}checkNoChanges(){!function cA(a,l,_){Cn(!0);try{Nc(a,l,_)}finally{Cn(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new X(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function o_(a,l){wr(a,l,l[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(l){if(this._attachedToViewContainer)throw new X(902,"");this._appRef=l}}class nv extends Hr{constructor(l){super(l),this._view=l}detectChanges(){Wd(this._view)}checkNoChanges(){!function lA(a){Cn(!0);try{Wd(a)}finally{Cn(!1)}}(this._view)}get context(){return null}}class df extends Br{constructor(l){super(),this.ngModule=l}resolveComponentFactory(l){const _=Ot(l);return new Il(_,this.ngModule)}}function hf(a){const l=[];for(let _ in a)a.hasOwnProperty(_)&&l.push({propName:a[_],templateName:_});return l}const sv=new wn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>qu});class Il extends af{constructor(l,_){super(),this.componentDef=l,this.ngModule=_,this.componentType=l.type,this.selector=function E_(a){return a.map(C_).join(",")}(l.selectors),this.ngContentSelectors=l.ngContentSelectors?l.ngContentSelectors:[],this.isBoundToModule=!!_}get inputs(){return hf(this.componentDef.inputs)}get outputs(){return hf(this.componentDef.outputs)}create(l,_,y,C){const w=(C=C||this.ngModule)?function rv(a,l){return{get:(_,y,C)=>{const w=a.get(_,Dl,C);return w!==Dl||y===Dl?w:l.get(_,y,C)}}}(l,C.injector):l,O=w.get(lf,q),$=w.get(tv,null),_e=O.createRenderer(null,this.componentDef),Ge=this.componentDef.selectors[0][0]||"div",rt=y?function Hd(a,l,_){if(_t(a))return a.selectRootElement(l,_===T.ShadowDom);let y="string"==typeof l?a.querySelector(l):l;return y.textContent="",y}(_e,y,this.componentDef.encapsulation):uc(O.createRenderer(null,this.componentDef),Ge,function ov(a){const l=a.toLowerCase();return"svg"===l?"svg":"math"===l?"math":null}(Ge)),vt=this.componentDef.onPush?576:528,kt=function _h(a,l){return{components:[],scheduler:a||qu,clean:uA,playerHandler:l||null,flags:0}}(),jt=aa(0,null,null,1,0,null,null,null,null,null),ei=Sr(null,jt,kt,vt,null,null,O,_e,$,w);let ci,fi;ai(ei);try{const yi=function gh(a,l,_,y,C,w){const O=_[1];_[20]=a;const _e=Ls(O,20,2,"#host",null),Ge=_e.mergedAttrs=l.hostAttrs;null!==Ge&&(la(_e,Ge,!0),null!==a&&(bs(C,a,Ge),null!==_e.classes&&mc(C,a,_e.classes),null!==_e.styles&&md(C,a,_e.styles)));const rt=y.createRenderer(a,l),vt=Sr(_,Bd(l),null,l.onPush?64:16,_[20],_e,y,rt,w||null,null);return O.firstCreatePass&&(rn(Ai(_e,_),O,l.type),Kd(O,_e),Vd(_e,_.length,1)),ca(_,vt),_[20]=vt}(rt,this.componentDef,ei,O,_e);if(rt)if(y)bs(_e,rt,["ng-version",iv.full]);else{const{attrs:ii,classes:Ii}=function w_(a){const l=[],_=[];let y=1,C=2;for(;y0&&mc(_e,rt,Ii.join(" "))}if(fi=ui(jt,20),void 0!==_){const ii=fi.projection=[];for(let Ii=0;Ii_e(O,l)),l.contentQueries){const _e=mi();l.contentQueries(1,O,_e.directiveStart)}const $=mi();return!w.firstCreatePass||null===l.hostBindings&&null===l.hostAttrs||(Ji($.index),Gd(_[1],$,0,$.directiveStart,$.directiveEnd,l),jd(l,O)),O}(yi,this.componentDef,ei,kt,[RA]),Mr(jt,ei,null)}finally{jn()}return new cv(this.componentType,ci,er(fi,ei),ei,fi)}}class cv extends class Yy{}{constructor(l,_,y,C,w){super(),this.location=y,this._rootLView=C,this._tNode=w,this.instance=_,this.hostView=this.changeDetectorRef=new nv(C),this.componentType=l}get injector(){return new Cs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(l){this.hostView.onDestroy(l)}}class tr{}class pf{}const ir=new Map;class mf extends tr{constructor(l,_){super(),this._parent=_,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new df(this);const y=gi(l);this._bootstrapComponents=Uo(y.bootstrap),this._r3Injector=oh(l,_,[{provide:tr,useValue:this},{provide:Br,useValue:this.componentFactoryResolver}],b(l)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(l)}get(l,_=Eo.THROW_IF_NOT_FOUND,y=j.Default){return l===Eo||l===tr||l===Fc?this:this._r3Injector.get(l,_,y)}destroy(){const l=this._r3Injector;!l.destroyed&&l.destroy(),this.destroyCbs.forEach(_=>_()),this.destroyCbs=null}onDestroy(l){this.destroyCbs.push(l)}}class Rl extends pf{constructor(l){super(),this.moduleType=l,null!==gi(l)&&function uv(a){const l=new Set;!function _(y){const C=gi(y,!0),w=C.id;null!==w&&(function ff(a,l,_){if(l&&l!==_)throw new Error(`Duplicate module registered for ${a} - ${b(l)} vs ${b(l.name)}`)}(w,ir.get(w),y),ir.set(w,y));const O=Uo(C.imports);for(const $ of O)l.has($)||(l.add($),_($))}(a)}(l)}create(l){return new mf(this.moduleType,l)}}function _f(a,l,_){const y=pn()+a,C=ni();return C[y]===Li?Go(C,y,_?l.call(_):l()):function Rr(a,l){return a[l]}(C,y)}function Af(a,l,_,y){return vf(ni(),pn(),a,l,_,y)}function bf(a,l,_,y,C){return Tf(ni(),pn(),a,l,_,y,C)}function yf(a,l,_,y,C,w){return Cf(ni(),pn(),a,l,_,y,C,w)}function Ur(a,l){const _=a[l];return _===Li?void 0:_}function vf(a,l,_,y,C,w){const O=l+_;return $n(a,O,C)?Go(a,O+1,w?y.call(w,C):y(C)):Ur(a,O+1)}function Tf(a,l,_,y,C,w,O){const $=l+_;return fs(a,$,C,w)?Go(a,$+2,O?y.call(O,C,w):y(C,w)):Ur(a,$+2)}function Cf(a,l,_,y,C,w,O,$){const _e=l+_;return da(a,_e,C,w,O)?Go(a,_e+3,$?y.call($,C,w,O):y(C,w,O)):Ur(a,_e+3)}function Sf(a,l){const _=si();let y;const C=a+20;_.firstCreatePass?(y=function _v(a,l){if(l)for(let _=l.length-1;_>=0;_--){const y=l[_];if(a===y.name)return y}}(l,_.pipeRegistry),_.data[C]=y,y.onDestroy&&(_.destroyHooks||(_.destroyHooks=[])).push(C,y.onDestroy)):y=_.data[C];const w=y.factory||(y.factory=yn(y.type)),O=r(Pr);try{const $=xe(!1),_e=w();return xe($),function ZA(a,l,_,y){_>=a.data.length&&(a.data[_]=null,a.blueprint[_]=null),l[_]=y}(_,ni(),C,_e),_e}finally{r(O)}}function Mf(a,l,_){const y=a+20,C=ni(),w=hi(C,y);return zr(C,y)?vf(C,pn(),l,w.transform,_,w):w.transform(_)}function Df(a,l,_,y){const C=a+20,w=ni(),O=hi(w,C);return zr(w,C)?Tf(w,pn(),l,O.transform,_,y,O):O.transform(_,y)}function If(a,l,_,y,C){const w=a+20,O=ni(),$=hi(O,w);return zr(O,w)?Cf(O,pn(),l,$.transform,_,y,C,$):$.transform(_,y,C)}function zr(a,l){return a[1].data[l].pure}function Pl(a){return l=>{setTimeout(a,void 0,l)}}const Vo=class yv extends e.xQ{constructor(l=!1){super(),this.__isAsync=l}emit(l){super.next(l)}subscribe(l,_,y){var C,w,O;let $=l,_e=_||(()=>null),Ge=y;if(l&&"object"==typeof l){const vt=l;$=null===(C=vt.next)||void 0===C?void 0:C.bind(vt),_e=null===(w=vt.error)||void 0===w?void 0:w.bind(vt),Ge=null===(O=vt.complete)||void 0===O?void 0:O.bind(vt)}this.__isAsync&&(_e=Pl(_e),$&&($=Pl($)),Ge&&(Ge=Pl(Ge)));const rt=super.subscribe({next:$,error:_e,complete:Ge});return l instanceof f.w&&l.add(rt),rt}};function vv(){return this._results[Us()]()}class Ta{constructor(l=!1){this._emitDistinctChangesOnly=l,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const _=Us(),y=Ta.prototype;y[_]||(y[_]=vv)}get changes(){return this._changes||(this._changes=new Vo)}get(l){return this._results[l]}map(l){return this._results.map(l)}filter(l){return this._results.filter(l)}find(l){return this._results.find(l)}reduce(l,_){return this._results.reduce(l,_)}forEach(l){this._results.forEach(l)}some(l){return this._results.some(l)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(l,_){const y=this;y.dirty=!1;const C=Co(l);(this._changesDetected=!function Lg(a,l,_){if(a.length!==l.length)return!1;for(let y=0;y{class a{}return a.__NG_ELEMENT_ID__=Ev,a})();const Tv=Zr,Cv=class extends Tv{constructor(l,_,y){super(),this._declarationLView=l,this._declarationTContainer=_,this.elementRef=y}createEmbeddedView(l){const _=this._declarationTContainer.tViews,y=Sr(this._declarationLView,_,l,16,null,_.declTNode,null,null,null,null);y[17]=this._declarationLView[this._declarationTContainer.index];const w=this._declarationLView[19];return null!==w&&(y[19]=w.createEmbeddedView(_)),Mr(_,y,l),new Hr(y)}};function Ev(){return Ca(mi(),ni())}function Ca(a,l){return 4&a.type?new Cv(l,a,er(a,l)):null}let Ea=(()=>{class a{}return a.__NG_ELEMENT_ID__=wv,a})();function wv(){return Of(mi(),ni())}const Sv=Ea,Rf=class extends Sv{constructor(l,_,y){super(),this._lContainer=l,this._hostTNode=_,this._hostLView=y}get element(){return er(this._hostTNode,this._hostLView)}get injector(){return new Cs(this._hostTNode,this._hostLView)}get parentInjector(){const l=nn(this._hostTNode,this._hostLView);if(Yr(l)){const _=Q(l,this._hostLView),y=cs(l);return new Cs(_[1].data[y+8],_)}return new Cs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(l){const _=Pf(this._lContainer);return null!==_&&_[l]||null}get length(){return this._lContainer.length-10}createEmbeddedView(l,_,y){const C=l.createEmbeddedView(_||{});return this.insert(C,y),C}createComponent(l,_,y,C,w){const O=l&&!function hr(a){return"function"==typeof a}(l);let $;if(O)$=_;else{const vt=_||{};$=vt.index,y=vt.injector,C=vt.projectableNodes,w=vt.ngModuleRef}const _e=O?l:new Il(Ot(l)),Ge=y||this.parentInjector;if(!w&&null==_e.ngModule&&Ge){const vt=Ge.get(tr,null);vt&&(w=vt)}const rt=_e.create(Ge,C,void 0,w);return this.insert(rt.hostView,$),rt}insert(l,_){const y=l._lView,C=y[1];if(function Oe(a){return sn(a[3])}(y)){const rt=this.indexOf(l);if(-1!==rt)this.detach(rt);else{const vt=y[3],kt=new Rf(vt,vt[6],vt[3]);kt.detach(kt.indexOf(l))}}const w=this._adjustIndex(_),O=this._lContainer;!function r_(a,l,_,y){const C=10+y,w=_.length;y>0&&(_[C-1][4]=l),y0)y.push(O[$/2]);else{const Ge=w[$+1],rt=l[-_e];for(let vt=10;vt{class a{constructor(_){this.appInits=_,this.resolve=Ma,this.reject=Ma,this.initialized=!1,this.done=!1,this.donePromise=new Promise((y,C)=>{this.resolve=y,this.reject=C})}runInitializers(){if(this.initialized)return;const _=[],y=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let C=0;C{w.subscribe({complete:$,error:_e})});_.push(O)}}Promise.all(_).then(()=>{y()}).catch(C=>{this.reject(C)}),0===_.length&&y(),this.initialized=!0}}return a.\u0275fac=function(_){return new(_||a)(Kn(Gl,8))},a.\u0275prov=ve({token:a,factory:a.\u0275fac}),a})();const sg=new wn("AppId"),Qv={provide:sg,useFactory:function Jv(){return`${jl()}${jl()}${jl()}`},deps:[]};function jl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const rg=new wn("Platform Initializer"),ag=new wn("Platform ID"),cg=new wn("appBootstrapListener");let lg=(()=>{class a{log(_){console.log(_)}warn(_){console.warn(_)}}return a.\u0275fac=function(_){return new(_||a)},a.\u0275prov=ve({token:a,factory:a.\u0275fac}),a})();const Da=new wn("LocaleId"),ug=new wn("DefaultCurrencyCode");class Xv{constructor(l,_){this.ngModuleFactory=l,this.componentFactories=_}}let Kl=(()=>{class a{compileModuleSync(_){return new Rl(_)}compileModuleAsync(_){return Promise.resolve(this.compileModuleSync(_))}compileModuleAndAllComponentsSync(_){const y=this.compileModuleSync(_),w=Uo(gi(_).declarations).reduce((O,$)=>{const _e=Ot($);return _e&&O.push(new Il(_e)),O},[]);return new Xv(y,w)}compileModuleAndAllComponentsAsync(_){return Promise.resolve(this.compileModuleAndAllComponentsSync(_))}clearCache(){}clearCacheFor(_){}getModuleId(_){}}return a.\u0275fac=function(_){return new(_||a)},a.\u0275prov=ve({token:a,factory:a.\u0275fac}),a})();const tT=(()=>Promise.resolve(0))();function Vl(a){"undefined"==typeof Zone?tT.then(()=>{a&&a.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",a)}class mo{constructor({enableLongStackTrace:l=!1,shouldCoalesceEventChangeDetection:_=!1,shouldCoalesceRunChangeDetection:y=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Vo(!1),this.onMicrotaskEmpty=new Vo(!1),this.onStable=new Vo(!1),this.onError=new Vo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const C=this;C._nesting=0,C._outer=C._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(C._inner=C._inner.fork(new Zone.TaskTrackingZoneSpec)),l&&Zone.longStackTraceZoneSpec&&(C._inner=C._inner.fork(Zone.longStackTraceZoneSpec)),C.shouldCoalesceEventChangeDetection=!y&&_,C.shouldCoalesceRunChangeDetection=y,C.lastRequestAnimationFrameId=-1,C.nativeRequestAnimationFrame=function iT(){let a=Ft.requestAnimationFrame,l=Ft.cancelAnimationFrame;if("undefined"!=typeof Zone&&a&&l){const _=a[Zone.__symbol__("OriginalDelegate")];_&&(a=_);const y=l[Zone.__symbol__("OriginalDelegate")];y&&(l=y)}return{nativeRequestAnimationFrame:a,nativeCancelAnimationFrame:l}}().nativeRequestAnimationFrame,function sT(a){const l=()=>{!function oT(a){a.isCheckStableRunning||-1!==a.lastRequestAnimationFrameId||(a.lastRequestAnimationFrameId=a.nativeRequestAnimationFrame.call(Ft,()=>{a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{a.lastRequestAnimationFrameId=-1,ql(a),a.isCheckStableRunning=!0,Yl(a),a.isCheckStableRunning=!1},void 0,()=>{},()=>{})),a.fakeTopEventTask.invoke()}),ql(a))}(a)};a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(_,y,C,w,O,$)=>{try{return dg(a),_.invokeTask(C,w,O,$)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===w.type||a.shouldCoalesceRunChangeDetection)&&l(),hg(a)}},onInvoke:(_,y,C,w,O,$,_e)=>{try{return dg(a),_.invoke(C,w,O,$,_e)}finally{a.shouldCoalesceRunChangeDetection&&l(),hg(a)}},onHasTask:(_,y,C,w)=>{_.hasTask(C,w),y===C&&("microTask"==w.change?(a._hasPendingMicrotasks=w.microTask,ql(a),Yl(a)):"macroTask"==w.change&&(a.hasPendingMacrotasks=w.macroTask))},onHandleError:(_,y,C,w)=>(_.handleError(C,w),a.runOutsideAngular(()=>a.onError.emit(w)),!1)})}(C)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!mo.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(mo.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(l,_,y){return this._inner.run(l,_,y)}runTask(l,_,y,C){const w=this._inner,O=w.scheduleEventTask("NgZoneEvent: "+C,l,nT,Ma,Ma);try{return w.runTask(O,_,y)}finally{w.cancelTask(O)}}runGuarded(l,_,y){return this._inner.runGuarded(l,_,y)}runOutsideAngular(l){return this._outer.run(l)}}const nT={};function Yl(a){if(0==a._nesting&&!a.hasPendingMicrotasks&&!a.isStable)try{a._nesting++,a.onMicrotaskEmpty.emit(null)}finally{if(a._nesting--,!a.hasPendingMicrotasks)try{a.runOutsideAngular(()=>a.onStable.emit(null))}finally{a.isStable=!0}}}function ql(a){a.hasPendingMicrotasks=!!(a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId)}function dg(a){a._nesting++,a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))}function hg(a){a._nesting--,Yl(a)}class rT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Vo,this.onMicrotaskEmpty=new Vo,this.onStable=new Vo,this.onError=new Vo}run(l,_,y){return l.apply(_,y)}runGuarded(l,_,y){return l.apply(_,y)}runOutsideAngular(l){return l()}runTask(l,_,y,C){return l.apply(_,y)}}let pg=(()=>{class a{constructor(_){this._ngZone=_,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),_.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{mo.assertNotInAngularZone(),Vl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Vl(()=>{for(;0!==this._callbacks.length;){let _=this._callbacks.pop();clearTimeout(_.timeoutId),_.doneCb(this._didWork)}this._didWork=!1});else{let _=this.getPendingTasks();this._callbacks=this._callbacks.filter(y=>!y.updateCb||!y.updateCb(_)||(clearTimeout(y.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(_=>({source:_.source,creationLocation:_.creationLocation,data:_.data})):[]}addCallback(_,y,C){let w=-1;y&&y>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(O=>O.timeoutId!==w),_(this._didWork,this.getPendingTasks())},y)),this._callbacks.push({doneCb:_,timeoutId:w,updateCb:C})}whenStable(_,y,C){if(C&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(_,y,C),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(_,y,C){return[]}}return a.\u0275fac=function(_){return new(_||a)(Kn(mo))},a.\u0275prov=ve({token:a,factory:a.\u0275fac}),a})(),fg=(()=>{class a{constructor(){this._applications=new Map,Wl.addToWindow(this)}registerApplication(_,y){this._applications.set(_,y)}unregisterApplication(_){this._applications.delete(_)}unregisterAllApplications(){this._applications.clear()}getTestability(_){return this._applications.get(_)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(_,y=!0){return Wl.findTestabilityInTree(this,_,y)}}return a.\u0275fac=function(_){return new(_||a)},a.\u0275prov=ve({token:a,factory:a.\u0275fac}),a})();class aT{addToWindow(l){}findTestabilityInTree(l,_,y){return null}}function cT(a){Wl=a}let Lo,Wl=new aT;const gg=new wn("AllowMultipleToken");class dT{constructor(l,_){this.name=l,this.token=_}}function mg(a,l,_=[]){const y=`Platform: ${l}`,C=new wn(y);return(w=[])=>{let O=_g();if(!O||O.injector.get(gg,!1))if(a)a(_.concat(w).concat({provide:C,useValue:!0}));else{const $=_.concat(w).concat({provide:C,useValue:!0},{provide:Hc,useValue:"platform"});!function hT(a){if(Lo&&!Lo.destroyed&&!Lo.injector.get(gg,!1))throw new X(400,"");Lo=a.get(Ag);const l=a.get(rg,null);l&&l.forEach(_=>_())}(Eo.create({providers:$,name:y}))}return function pT(a){const l=_g();if(!l)throw new X(401,"");return l}()}}function _g(){return Lo&&!Lo.destroyed?Lo:null}let Ag=(()=>{class a{constructor(_){this._injector=_,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(_,y){const $=function fT(a,l){let _;return _="noop"===a?new rT:("zone.js"===a?void 0:a)||new mo({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==l?void 0:l.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==l?void 0:l.ngZoneRunCoalescing)}),_}(y?y.ngZone:void 0,{ngZoneEventCoalescing:y&&y.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:y&&y.ngZoneRunCoalescing||!1}),_e=[{provide:mo,useValue:$}];return $.run(()=>{const Ge=Eo.create({providers:_e,parent:this.injector,name:_.moduleType.name}),rt=_.create(Ge),vt=rt.injector.get(Cr,null);if(!vt)throw new X(402,"");return $.runOutsideAngular(()=>{const kt=$.onError.subscribe({next:jt=>{vt.handleError(jt)}});rt.onDestroy(()=>{$l(this._modules,rt),kt.unsubscribe()})}),function gT(a,l,_){try{const y=_();return sl(y)?y.catch(C=>{throw l.runOutsideAngular(()=>a.handleError(C)),C}):y}catch(y){throw l.runOutsideAngular(()=>a.handleError(y)),y}}(vt,$,()=>{const kt=rt.injector.get(or);return kt.runInitializers(),kt.donePromise.then(()=>(function Qb(a){I(a,"Expected localeId to be defined"),"string"==typeof a&&(kp=a.toLowerCase().replace(/_/g,"-"))}(rt.injector.get(Da,ma)||ma),this._moduleDoBootstrap(rt),rt))})})}bootstrapModule(_,y=[]){const C=bg({},y);return function lT(a,l,_){const y=new Rl(_);return Promise.resolve(y)}(0,0,_).then(w=>this.bootstrapModuleFactory(w,C))}_moduleDoBootstrap(_){const y=_.injector.get(jr);if(_._bootstrapComponents.length>0)_._bootstrapComponents.forEach(C=>y.bootstrap(C));else{if(!_.instance.ngDoBootstrap)throw new X(403,"");_.instance.ngDoBootstrap(y)}this._modules.push(_)}onDestroy(_){this._destroyListeners.push(_)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new X(404,"");this._modules.slice().forEach(_=>_.destroy()),this._destroyListeners.forEach(_=>_()),this._destroyed=!0}get destroyed(){return this._destroyed}}return a.\u0275fac=function(_){return new(_||a)(Kn(Eo))},a.\u0275prov=ve({token:a,factory:a.\u0275fac}),a})();function bg(a,l){return Array.isArray(l)?l.reduce(bg,a):Object.assign(Object.assign({},a),l)}let jr=(()=>{class a{constructor(_,y,C,w,O){this._zone=_,this._injector=y,this._exceptionHandler=C,this._componentFactoryResolver=w,this._initStatus=O,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const $=new g.y(Ge=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Ge.next(this._stable),Ge.complete()})}),_e=new g.y(Ge=>{let rt;this._zone.runOutsideAngular(()=>{rt=this._zone.onStable.subscribe(()=>{mo.assertNotInAngularZone(),Vl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Ge.next(!0))})})});const vt=this._zone.onUnstable.subscribe(()=>{mo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Ge.next(!1)}))});return()=>{rt.unsubscribe(),vt.unsubscribe()}});this.isStable=(0,v.T)($,_e.pipe((0,m.B)()))}bootstrap(_,y){if(!this._initStatus.done)throw new X(405,"");let C;C=_ instanceof af?_:this._componentFactoryResolver.resolveComponentFactory(_),this.componentTypes.push(C.componentType);const w=function uT(a){return a.isBoundToModule}(C)?void 0:this._injector.get(tr),$=C.create(Eo.NULL,[],y||C.selector,w),_e=$.location.nativeElement,Ge=$.injector.get(pg,null),rt=Ge&&$.injector.get(fg);return Ge&&rt&&rt.registerApplication(_e,Ge),$.onDestroy(()=>{this.detachView($.hostView),$l(this.components,$),rt&&rt.unregisterApplication(_e)}),this._loadComponent($),$}tick(){if(this._runningTick)throw new X(101,"");try{this._runningTick=!0;for(let _ of this._views)_.detectChanges()}catch(_){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(_))}finally{this._runningTick=!1}}attachView(_){const y=_;this._views.push(y),y.attachToAppRef(this)}detachView(_){const y=_;$l(this._views,y),y.detachFromAppRef()}_loadComponent(_){this.attachView(_.hostView),this.tick(),this.components.push(_),this._injector.get(cg,[]).concat(this._bootstrapListeners).forEach(C=>C(_))}ngOnDestroy(){this._views.slice().forEach(_=>_.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return a.\u0275fac=function(_){return new(_||a)(Kn(mo),Kn(Eo),Kn(Cr),Kn(Br),Kn(or))},a.\u0275prov=ve({token:a,factory:a.\u0275fac}),a})();function $l(a,l){const _=a.indexOf(l);_>-1&&a.splice(_,1)}let vg=!0;function _T(){vg=!1}let AT=(()=>{class a{}return a.__NG_ELEMENT_ID__=bT,a})();function bT(a){return function yT(a,l,_){if(Ln(a)&&!_){const y=_i(a.index,l);return new Hr(y,y)}return 47&a.type?new Hr(l[16],l):null}(mi(),ni(),16==(16&a))}class Sg{constructor(){}supports(l){return Ir(l)}create(l){return new ST(l)}}const wT=(a,l)=>l;class ST{constructor(l){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=l||wT}forEachItem(l){let _;for(_=this._itHead;null!==_;_=_._next)l(_)}forEachOperation(l){let _=this._itHead,y=this._removalsHead,C=0,w=null;for(;_||y;){const O=!y||_&&_.currentIndex{O=this._trackByFn(C,$),null!==_&&Object.is(_.trackById,O)?(y&&(_=this._verifyReinsertion(_,$,O,C)),Object.is(_.item,$)||this._addIdentityChange(_,$)):(_=this._mismatch(_,$,O,C),y=!0),_=_._next,C++}),this.length=C;return this._truncate(_),this.collection=l,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let l;for(l=this._previousItHead=this._itHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._additionsHead;null!==l;l=l._nextAdded)l.previousIndex=l.currentIndex;for(this._additionsHead=this._additionsTail=null,l=this._movesHead;null!==l;l=l._nextMoved)l.previousIndex=l.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(l,_,y,C){let w;return null===l?w=this._itTail:(w=l._prev,this._remove(l)),null!==(l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(y,null))?(Object.is(l.item,_)||this._addIdentityChange(l,_),this._reinsertAfter(l,w,C)):null!==(l=null===this._linkedRecords?null:this._linkedRecords.get(y,C))?(Object.is(l.item,_)||this._addIdentityChange(l,_),this._moveAfter(l,w,C)):l=this._addAfter(new MT(_,y),w,C),l}_verifyReinsertion(l,_,y,C){let w=null===this._unlinkedRecords?null:this._unlinkedRecords.get(y,null);return null!==w?l=this._reinsertAfter(w,l._prev,C):l.currentIndex!=C&&(l.currentIndex=C,this._addToMoves(l,C)),l}_truncate(l){for(;null!==l;){const _=l._next;this._addToRemovals(this._unlink(l)),l=_}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(l,_,y){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(l);const C=l._prevRemoved,w=l._nextRemoved;return null===C?this._removalsHead=w:C._nextRemoved=w,null===w?this._removalsTail=C:w._prevRemoved=C,this._insertAfter(l,_,y),this._addToMoves(l,y),l}_moveAfter(l,_,y){return this._unlink(l),this._insertAfter(l,_,y),this._addToMoves(l,y),l}_addAfter(l,_,y){return this._insertAfter(l,_,y),this._additionsTail=null===this._additionsTail?this._additionsHead=l:this._additionsTail._nextAdded=l,l}_insertAfter(l,_,y){const C=null===_?this._itHead:_._next;return l._next=C,l._prev=_,null===C?this._itTail=l:C._prev=l,null===_?this._itHead=l:_._next=l,null===this._linkedRecords&&(this._linkedRecords=new Mg),this._linkedRecords.put(l),l.currentIndex=y,l}_remove(l){return this._addToRemovals(this._unlink(l))}_unlink(l){null!==this._linkedRecords&&this._linkedRecords.remove(l);const _=l._prev,y=l._next;return null===_?this._itHead=y:_._next=y,null===y?this._itTail=_:y._prev=_,l}_addToMoves(l,_){return l.previousIndex===_||(this._movesTail=null===this._movesTail?this._movesHead=l:this._movesTail._nextMoved=l),l}_addToRemovals(l){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Mg),this._unlinkedRecords.put(l),l.currentIndex=null,l._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=l,l._prevRemoved=null):(l._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=l),l}_addIdentityChange(l,_){return l.item=_,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=l:this._identityChangesTail._nextIdentityChange=l,l}}class MT{constructor(l,_){this.item=l,this.trackById=_,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class DT{constructor(){this._head=null,this._tail=null}add(l){null===this._head?(this._head=this._tail=l,l._nextDup=null,l._prevDup=null):(this._tail._nextDup=l,l._prevDup=this._tail,l._nextDup=null,this._tail=l)}get(l,_){let y;for(y=this._head;null!==y;y=y._nextDup)if((null===_||_<=y.currentIndex)&&Object.is(y.trackById,l))return y;return null}remove(l){const _=l._prevDup,y=l._nextDup;return null===_?this._head=y:_._nextDup=y,null===y?this._tail=_:y._prevDup=_,null===this._head}}class Mg{constructor(){this.map=new Map}put(l){const _=l.trackById;let y=this.map.get(_);y||(y=new DT,this.map.set(_,y)),y.add(l)}get(l,_){const C=this.map.get(l);return C?C.get(l,_):null}remove(l){const _=l.trackById;return this.map.get(_).remove(l)&&this.map.delete(_),l}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Dg(a,l,_){const y=a.previousIndex;if(null===y)return y;let C=0;return _&&y<_.length&&(C=_[y]),y+l+C}class Ig{constructor(){}supports(l){return l instanceof Map||Vc(l)}create(){return new IT}}class IT{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(l){let _;for(_=this._mapHead;null!==_;_=_._next)l(_)}forEachPreviousItem(l){let _;for(_=this._previousMapHead;null!==_;_=_._nextPrevious)l(_)}forEachChangedItem(l){let _;for(_=this._changesHead;null!==_;_=_._nextChanged)l(_)}forEachAddedItem(l){let _;for(_=this._additionsHead;null!==_;_=_._nextAdded)l(_)}forEachRemovedItem(l){let _;for(_=this._removalsHead;null!==_;_=_._nextRemoved)l(_)}diff(l){if(l){if(!(l instanceof Map||Vc(l)))throw new X(900,"")}else l=new Map;return this.check(l)?this:null}onDestroy(){}check(l){this._reset();let _=this._mapHead;if(this._appendAfter=null,this._forEach(l,(y,C)=>{if(_&&_.key===C)this._maybeAddToChanges(_,y),this._appendAfter=_,_=_._next;else{const w=this._getOrCreateRecordForKey(C,y);_=this._insertBeforeOrAppend(_,w)}}),_){_._prev&&(_._prev._next=null),this._removalsHead=_;for(let y=_;null!==y;y=y._nextRemoved)y===this._mapHead&&(this._mapHead=null),this._records.delete(y.key),y._nextRemoved=y._next,y.previousValue=y.currentValue,y.currentValue=null,y._prev=null,y._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(l,_){if(l){const y=l._prev;return _._next=l,_._prev=y,l._prev=_,y&&(y._next=_),l===this._mapHead&&(this._mapHead=_),this._appendAfter=l,l}return this._appendAfter?(this._appendAfter._next=_,_._prev=this._appendAfter):this._mapHead=_,this._appendAfter=_,null}_getOrCreateRecordForKey(l,_){if(this._records.has(l)){const C=this._records.get(l);this._maybeAddToChanges(C,_);const w=C._prev,O=C._next;return w&&(w._next=O),O&&(O._prev=w),C._next=null,C._prev=null,C}const y=new RT(l);return this._records.set(l,y),y.currentValue=_,this._addToAdditions(y),y}_reset(){if(this.isDirty){let l;for(this._previousMapHead=this._mapHead,l=this._previousMapHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._changesHead;null!==l;l=l._nextChanged)l.previousValue=l.currentValue;for(l=this._additionsHead;null!=l;l=l._nextAdded)l.previousValue=l.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(l,_){Object.is(_,l.currentValue)||(l.previousValue=l.currentValue,l.currentValue=_,this._addToChanges(l))}_addToAdditions(l){null===this._additionsHead?this._additionsHead=this._additionsTail=l:(this._additionsTail._nextAdded=l,this._additionsTail=l)}_addToChanges(l){null===this._changesHead?this._changesHead=this._changesTail=l:(this._changesTail._nextChanged=l,this._changesTail=l)}_forEach(l,_){l instanceof Map?l.forEach(_):Object.keys(l).forEach(y=>_(l[y],y))}}class RT{constructor(l){this.key=l,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Rg(){return new Pa([new Sg])}let Pa=(()=>{class a{constructor(_){this.factories=_}static create(_,y){if(null!=y){const C=y.factories.slice();_=_.concat(C)}return new a(_)}static extend(_){return{provide:a,useFactory:y=>a.create(_,y||Rg()),deps:[[a,new Is,new ds]]}}find(_){const y=this.factories.find(C=>C.supports(_));if(null!=y)return y;throw new X(901,"")}}return a.\u0275prov=ve({token:a,providedIn:"root",factory:Rg}),a})();function Pg(){return new Oa([new Ig])}let Oa=(()=>{class a{constructor(_){this.factories=_}static create(_,y){if(y){const C=y.factories.slice();_=_.concat(C)}return new a(_)}static extend(_){return{provide:a,useFactory:y=>a.create(_,y||Pg()),deps:[[a,new Is,new ds]]}}find(_){const y=this.factories.find(w=>w.supports(_));if(y)return y;throw new X(901,"")}}return a.\u0275prov=ve({token:a,providedIn:"root",factory:Pg}),a})();const PT=[new Ig],xT=new Pa([new Sg]),kT=new Oa(PT),LT=mg(null,"core",[{provide:ag,useValue:"unknown"},{provide:Ag,deps:[Eo]},{provide:fg,deps:[]},{provide:lg,deps:[]}]),UT=[{provide:jr,useClass:jr,deps:[mo,Eo,Cr,Br,or]},{provide:sv,deps:[mo],useFactory:function zT(a){let l=[];return a.onStable.subscribe(()=>{for(;l.length;)l.pop()()}),function(_){l.push(_)}}},{provide:or,useClass:or,deps:[[new ds,Gl]]},{provide:Kl,useClass:Kl,deps:[]},Qv,{provide:Pa,useFactory:function NT(){return xT},deps:[]},{provide:Oa,useFactory:function BT(){return kT},deps:[]},{provide:Da,useFactory:function FT(a){return a||function HT(){return"undefined"!=typeof $localize&&$localize.locale||ma}()},deps:[[new _r(Da),new ds,new Is]]},{provide:ug,useValue:"USD"}];let ZT=(()=>{class a{constructor(_){}}return a.\u0275fac=function(_){return new(_||a)(Kn(jr))},a.\u0275mod=Ht({type:a}),a.\u0275inj=nt({providers:UT}),a})()},93075:(Ze,ge,d)=>{"use strict";d.d(ge,{Zs:()=>B,Fj:()=>G,qu:()=>vi,NI:()=>bt,oH:()=>Ci,u:()=>zn,sg:()=>Ki,u5:()=>ui,Cf:()=>re,JU:()=>b,a5:()=>M,JJ:()=>j,JL:()=>Te,F:()=>en,On:()=>sn,YN:()=>xn,wV:()=>pt,c5:()=>Ke,UX:()=>hi,Q7:()=>ht,EJ:()=>oo,kI:()=>Pe,_Y:()=>Fi,Kr:()=>bo});var e=d(5e3),f=d(69808),g=d(5254),v=d(30567),m=d(24850);let A=(()=>{class Oe{constructor(Ae,ct){this._renderer=Ae,this._elementRef=ct,this.onChange=Bt=>{},this.onTouched=()=>{}}setProperty(Ae,ct){this._renderer.setProperty(this._elementRef.nativeElement,Ae,ct)}registerOnTouched(Ae){this.onTouched=Ae}registerOnChange(Ae){this.onChange=Ae}setDisabledState(Ae){this.setProperty("disabled",Ae)}}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)(e.Y36(e.Qsj),e.Y36(e.SBq))},Oe.\u0275dir=e.lG2({type:Oe}),Oe})(),s=(()=>{class Oe extends A{}return Oe.\u0275fac=function(){let ye;return function(ct){return(ye||(ye=e.n5z(Oe)))(ct||Oe)}}(),Oe.\u0275dir=e.lG2({type:Oe,features:[e.qOj]}),Oe})();const b=new e.OlP("NgValueAccessor"),h={provide:b,useExisting:(0,e.Gpc)(()=>G),multi:!0},k=new e.OlP("CompositionEventMode");let G=(()=>{class Oe extends A{constructor(Ae,ct,Bt){super(Ae,ct),this._compositionMode=Bt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function x(){const Oe=(0,f.q)()?(0,f.q)().getUserAgent():"";return/android (\d+)/.test(Oe.toLowerCase())}())}writeValue(Ae){this.setProperty("value",null==Ae?"":Ae)}_handleInput(Ae){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ae)}_compositionStart(){this._composing=!0}_compositionEnd(Ae){this._composing=!1,this._compositionMode&&this.onChange(Ae)}}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(k,8))},Oe.\u0275dir=e.lG2({type:Oe,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Ae,ct){1&Ae&&e.NdJ("input",function(pi){return ct._handleInput(pi.target.value)})("blur",function(){return ct.onTouched()})("compositionstart",function(){return ct._compositionStart()})("compositionend",function(pi){return ct._compositionEnd(pi.target.value)})},features:[e._Bn([h]),e.qOj]}),Oe})();function X(Oe){return null==Oe||0===Oe.length}function he(Oe){return null!=Oe&&"number"==typeof Oe.length}const re=new e.OlP("NgValidators"),Ne=new e.OlP("NgAsyncValidators"),ce=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Pe{static min(ye){return function se(Oe){return ye=>{if(X(ye.value)||X(Oe))return null;const Ae=parseFloat(ye.value);return!isNaN(Ae)&&Ae{if(X(ye.value)||X(Oe))return null;const Ae=parseFloat(ye.value);return!isNaN(Ae)&&Ae>Oe?{max:{max:Oe,actual:ye.value}}:null}}(ye)}static required(ye){return F(ye)}static requiredTrue(ye){return W(ye)}static email(ye){return function te(Oe){return X(Oe.value)||ce.test(Oe.value)?null:{email:!0}}(ye)}static minLength(ye){return function ae(Oe){return ye=>X(ye.value)||!he(ye.value)?null:ye.value.lengthhe(ye.value)&&ye.value.length>Oe?{maxlength:{requiredLength:Oe,actualLength:ye.value.length}}:null}(ye)}static pattern(ye){return Be(ye)}static nullValidator(ye){return null}static compose(ye){return I(ye)}static composeAsync(ye){return Re(ye)}}function F(Oe){return X(Oe.value)?{required:!0}:null}function W(Oe){return!0===Oe.value?null:{required:!0}}function Be(Oe){if(!Oe)return Fe;let ye,Ae;return"string"==typeof Oe?(Ae="","^"!==Oe.charAt(0)&&(Ae+="^"),Ae+=Oe,"$"!==Oe.charAt(Oe.length-1)&&(Ae+="$"),ye=new RegExp(Ae)):(Ae=Oe.toString(),ye=Oe),ct=>{if(X(ct.value))return null;const Bt=ct.value;return ye.test(Bt)?null:{pattern:{requiredPattern:Ae,actualValue:Bt}}}}function Fe(Oe){return null}function ke(Oe){return null!=Oe}function De(Oe){const ye=(0,e.QGY)(Oe)?(0,g.D)(Oe):Oe;return(0,e.CqO)(ye),ye}function be(Oe){let ye={};return Oe.forEach(Ae=>{ye=null!=Ae?Object.assign(Object.assign({},ye),Ae):ye}),0===Object.keys(ye).length?null:ye}function z(Oe,ye){return ye.map(Ae=>Ae(Oe))}function J(Oe){return Oe.map(ye=>function Ce(Oe){return!Oe.validate}(ye)?ye:Ae=>ye.validate(Ae))}function I(Oe){if(!Oe)return null;const ye=Oe.filter(ke);return 0==ye.length?null:function(Ae){return be(z(Ae,ye))}}function Ie(Oe){return null!=Oe?I(J(Oe)):null}function Re(Oe){if(!Oe)return null;const ye=Oe.filter(ke);return 0==ye.length?null:function(Ae){const ct=z(Ae,ye).map(De);return(0,v.D)(ct).pipe((0,m.U)(be))}}function ze(Oe){return null!=Oe?Re(J(Oe)):null}function fe(Oe,ye){return null===Oe?[ye]:Array.isArray(Oe)?[...Oe,ye]:[Oe,ye]}function ve(Oe){return Oe._rawValidators}function We(Oe){return Oe._rawAsyncValidators}function nt(Oe){return Oe?Array.isArray(Oe)?Oe:[Oe]:[]}function st(Oe,ye){return Array.isArray(Oe)?Oe.includes(ye):Oe===ye}function dt(Oe,ye){const Ae=nt(ye);return nt(Oe).forEach(Bt=>{st(Ae,Bt)||Ae.push(Bt)}),Ae}function L(Oe,ye){return nt(ye).filter(Ae=>!st(Oe,Ae))}class de{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ye){this._rawValidators=ye||[],this._composedValidatorFn=Ie(this._rawValidators)}_setAsyncValidators(ye){this._rawAsyncValidators=ye||[],this._composedAsyncValidatorFn=ze(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ye){this._onDestroyCallbacks.push(ye)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ye=>ye()),this._onDestroyCallbacks=[]}reset(ye){this.control&&this.control.reset(ye)}hasError(ye,Ae){return!!this.control&&this.control.hasError(ye,Ae)}getError(ye,Ae){return this.control?this.control.getError(ye,Ae):null}}class M extends de{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class S extends de{get formDirective(){return null}get path(){return null}}class P{constructor(ye){this._cd=ye}is(ye){var Ae,ct,Bt;return"submitted"===ye?!!(null===(Ae=this._cd)||void 0===Ae?void 0:Ae.submitted):!!(null===(Bt=null===(ct=this._cd)||void 0===ct?void 0:ct.control)||void 0===Bt?void 0:Bt[ye])}}let j=(()=>{class Oe extends P{constructor(Ae){super(Ae)}}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)(e.Y36(M,2))},Oe.\u0275dir=e.lG2({type:Oe,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ae,ct){2&Ae&&e.ekj("ng-untouched",ct.is("untouched"))("ng-touched",ct.is("touched"))("ng-pristine",ct.is("pristine"))("ng-dirty",ct.is("dirty"))("ng-valid",ct.is("valid"))("ng-invalid",ct.is("invalid"))("ng-pending",ct.is("pending"))},features:[e.qOj]}),Oe})(),Te=(()=>{class Oe extends P{constructor(Ae){super(Ae)}}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)(e.Y36(S,10))},Oe.\u0275dir=e.lG2({type:Oe,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ae,ct){2&Ae&&e.ekj("ng-untouched",ct.is("untouched"))("ng-touched",ct.is("touched"))("ng-pristine",ct.is("pristine"))("ng-dirty",ct.is("dirty"))("ng-valid",ct.is("valid"))("ng-invalid",ct.is("invalid"))("ng-pending",ct.is("pending"))("ng-submitted",ct.is("submitted"))},features:[e.qOj]}),Oe})();function Mt(Oe,ye){return[...ye.path,Oe]}function at(Oe,ye){Ve(Oe,ye),ye.valueAccessor.writeValue(Oe.value),function oe(Oe,ye){ye.valueAccessor.registerOnChange(Ae=>{Oe._pendingValue=Ae,Oe._pendingChange=!0,Oe._pendingDirty=!0,"change"===Oe.updateOn&&ee(Oe,ye)})}(Oe,ye),function Y(Oe,ye){const Ae=(ct,Bt)=>{ye.valueAccessor.writeValue(ct),Bt&&ye.viewToModelUpdate(ct)};Oe.registerOnChange(Ae),ye._registerOnDestroy(()=>{Oe._unregisterOnChange(Ae)})}(Oe,ye),function H(Oe,ye){ye.valueAccessor.registerOnTouched(()=>{Oe._pendingTouched=!0,"blur"===Oe.updateOn&&Oe._pendingChange&&ee(Oe,ye),"submit"!==Oe.updateOn&&Oe.markAsTouched()})}(Oe,ye),function xt(Oe,ye){if(ye.valueAccessor.setDisabledState){const Ae=ct=>{ye.valueAccessor.setDisabledState(ct)};Oe.registerOnDisabledChange(Ae),ye._registerOnDestroy(()=>{Oe._unregisterOnDisabledChange(Ae)})}}(Oe,ye)}function Ut(Oe,ye,Ae=!0){const ct=()=>{};ye.valueAccessor&&(ye.valueAccessor.registerOnChange(ct),ye.valueAccessor.registerOnTouched(ct)),$e(Oe,ye),Oe&&(ye._invokeOnDestroyCallbacks(),Oe._registerOnCollectionChange(()=>{}))}function gt(Oe,ye){Oe.forEach(Ae=>{Ae.registerOnValidatorChange&&Ae.registerOnValidatorChange(ye)})}function Ve(Oe,ye){const Ae=ve(Oe);null!==ye.validator?Oe.setValidators(fe(Ae,ye.validator)):"function"==typeof Ae&&Oe.setValidators([Ae]);const ct=We(Oe);null!==ye.asyncValidator?Oe.setAsyncValidators(fe(ct,ye.asyncValidator)):"function"==typeof ct&&Oe.setAsyncValidators([ct]);const Bt=()=>Oe.updateValueAndValidity();gt(ye._rawValidators,Bt),gt(ye._rawAsyncValidators,Bt)}function $e(Oe,ye){let Ae=!1;if(null!==Oe){if(null!==ye.validator){const Bt=ve(Oe);if(Array.isArray(Bt)&&Bt.length>0){const pi=Bt.filter(Ui=>Ui!==ye.validator);pi.length!==Bt.length&&(Ae=!0,Oe.setValidators(pi))}}if(null!==ye.asyncValidator){const Bt=We(Oe);if(Array.isArray(Bt)&&Bt.length>0){const pi=Bt.filter(Ui=>Ui!==ye.asyncValidator);pi.length!==Bt.length&&(Ae=!0,Oe.setAsyncValidators(pi))}}}const ct=()=>{};return gt(ye._rawValidators,ct),gt(ye._rawAsyncValidators,ct),Ae}function ee(Oe,ye){Oe._pendingDirty&&Oe.markAsDirty(),Oe.setValue(Oe._pendingValue,{emitModelToViewChange:!1}),ye.viewToModelUpdate(Oe._pendingValue),Oe._pendingChange=!1}function Le(Oe,ye){Ve(Oe,ye)}function qt(Oe,ye){if(!Oe.hasOwnProperty("model"))return!1;const Ae=Oe.model;return!!Ae.isFirstChange()||!Object.is(ye,Ae.currentValue)}function wt(Oe,ye){Oe._syncPendingControls(),ye.forEach(Ae=>{const ct=Ae.control;"submit"===ct.updateOn&&ct._pendingChange&&(Ae.viewToModelUpdate(ct._pendingValue),ct._pendingChange=!1)})}function At(Oe,ye){if(!ye)return null;let Ae,ct,Bt;return Array.isArray(ye),ye.forEach(pi=>{pi.constructor===G?Ae=pi:function Dt(Oe){return Object.getPrototypeOf(Oe.constructor)===s}(pi)?ct=pi:Bt=pi}),Bt||ct||Ae||null}function Ot(Oe,ye){const Ae=Oe.indexOf(ye);Ae>-1&&Oe.splice(Ae,1)}const gi="VALID",Ti="INVALID",Ri="PENDING",Gi="DISABLED";function Qi(Oe){return(et(Oe)?Oe.validators:Oe)||null}function Wi(Oe){return Array.isArray(Oe)?Ie(Oe):Oe||null}function mn(Oe,ye){return(et(ye)?ye.asyncValidators:Oe)||null}function Xi(Oe){return Array.isArray(Oe)?ze(Oe):Oe||null}function et(Oe){return null!=Oe&&!Array.isArray(Oe)&&"object"==typeof Oe}const Ct=Oe=>Oe instanceof bt,tt=Oe=>Oe instanceof Jt,He=Oe=>Oe instanceof ti;function Qe(Oe){return Ct(Oe)?Oe.value:Oe.getRawValue()}function D(Oe,ye){const Ae=tt(Oe),ct=Oe.controls;if(!(Ae?Object.keys(ct):ct).length)throw new e.vHH(1e3,"");if(!ct[ye])throw new e.vHH(1001,"")}function ue(Oe,ye){tt(Oe),Oe._forEachChild((ct,Bt)=>{if(void 0===ye[Bt])throw new e.vHH(1002,"")})}class Xe{constructor(ye,Ae){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=ye,this._rawAsyncValidators=Ae,this._composedValidatorFn=Wi(this._rawValidators),this._composedAsyncValidatorFn=Xi(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(ye){this._rawValidators=this._composedValidatorFn=ye}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ye){this._rawAsyncValidators=this._composedAsyncValidatorFn=ye}get parent(){return this._parent}get valid(){return this.status===gi}get invalid(){return this.status===Ti}get pending(){return this.status==Ri}get disabled(){return this.status===Gi}get enabled(){return this.status!==Gi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ye){this._rawValidators=ye,this._composedValidatorFn=Wi(ye)}setAsyncValidators(ye){this._rawAsyncValidators=ye,this._composedAsyncValidatorFn=Xi(ye)}addValidators(ye){this.setValidators(dt(ye,this._rawValidators))}addAsyncValidators(ye){this.setAsyncValidators(dt(ye,this._rawAsyncValidators))}removeValidators(ye){this.setValidators(L(ye,this._rawValidators))}removeAsyncValidators(ye){this.setAsyncValidators(L(ye,this._rawAsyncValidators))}hasValidator(ye){return st(this._rawValidators,ye)}hasAsyncValidator(ye){return st(this._rawAsyncValidators,ye)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ye={}){this.touched=!0,this._parent&&!ye.onlySelf&&this._parent.markAsTouched(ye)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ye=>ye.markAllAsTouched())}markAsUntouched(ye={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Ae=>{Ae.markAsUntouched({onlySelf:!0})}),this._parent&&!ye.onlySelf&&this._parent._updateTouched(ye)}markAsDirty(ye={}){this.pristine=!1,this._parent&&!ye.onlySelf&&this._parent.markAsDirty(ye)}markAsPristine(ye={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Ae=>{Ae.markAsPristine({onlySelf:!0})}),this._parent&&!ye.onlySelf&&this._parent._updatePristine(ye)}markAsPending(ye={}){this.status=Ri,!1!==ye.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ye.onlySelf&&this._parent.markAsPending(ye)}disable(ye={}){const Ae=this._parentMarkedDirty(ye.onlySelf);this.status=Gi,this.errors=null,this._forEachChild(ct=>{ct.disable(Object.assign(Object.assign({},ye),{onlySelf:!0}))}),this._updateValue(),!1!==ye.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},ye),{skipPristineCheck:Ae})),this._onDisabledChange.forEach(ct=>ct(!0))}enable(ye={}){const Ae=this._parentMarkedDirty(ye.onlySelf);this.status=gi,this._forEachChild(ct=>{ct.enable(Object.assign(Object.assign({},ye),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ye.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},ye),{skipPristineCheck:Ae})),this._onDisabledChange.forEach(ct=>ct(!1))}_updateAncestors(ye){this._parent&&!ye.onlySelf&&(this._parent.updateValueAndValidity(ye),ye.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ye){this._parent=ye}updateValueAndValidity(ye={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===gi||this.status===Ri)&&this._runAsyncValidator(ye.emitEvent)),!1!==ye.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ye.onlySelf&&this._parent.updateValueAndValidity(ye)}_updateTreeValidity(ye={emitEvent:!0}){this._forEachChild(Ae=>Ae._updateTreeValidity(ye)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ye.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Gi:gi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ye){if(this.asyncValidator){this.status=Ri,this._hasOwnPendingAsyncValidator=!0;const Ae=De(this.asyncValidator(this));this._asyncValidationSubscription=Ae.subscribe(ct=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ct,{emitEvent:ye})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ye,Ae={}){this.errors=ye,this._updateControlsErrors(!1!==Ae.emitEvent)}get(ye){return function an(Oe,ye,Ae){if(null==ye||(Array.isArray(ye)||(ye=ye.split(Ae)),Array.isArray(ye)&&0===ye.length))return null;let ct=Oe;return ye.forEach(Bt=>{ct=tt(ct)?ct.controls.hasOwnProperty(Bt)?ct.controls[Bt]:null:He(ct)&&ct.at(Bt)||null}),ct}(this,ye,".")}getError(ye,Ae){const ct=Ae?this.get(Ae):this;return ct&&ct.errors?ct.errors[ye]:null}hasError(ye,Ae){return!!this.getError(ye,Ae)}get root(){let ye=this;for(;ye._parent;)ye=ye._parent;return ye}_updateControlsErrors(ye){this.status=this._calculateStatus(),ye&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ye)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?Gi:this.errors?Ti:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ri)?Ri:this._anyControlsHaveStatus(Ti)?Ti:gi}_anyControlsHaveStatus(ye){return this._anyControls(Ae=>Ae.status===ye)}_anyControlsDirty(){return this._anyControls(ye=>ye.dirty)}_anyControlsTouched(){return this._anyControls(ye=>ye.touched)}_updatePristine(ye={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ye.onlySelf&&this._parent._updatePristine(ye)}_updateTouched(ye={}){this.touched=this._anyControlsTouched(),this._parent&&!ye.onlySelf&&this._parent._updateTouched(ye)}_isBoxedValue(ye){return"object"==typeof ye&&null!==ye&&2===Object.keys(ye).length&&"value"in ye&&"disabled"in ye}_registerOnCollectionChange(ye){this._onCollectionChange=ye}_setUpdateStrategy(ye){et(ye)&&null!=ye.updateOn&&(this._updateOn=ye.updateOn)}_parentMarkedDirty(ye){return!ye&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class bt extends Xe{constructor(ye=null,Ae,ct){super(Qi(Ae),mn(ct,Ae)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ye),this._setUpdateStrategy(Ae),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),et(Ae)&&Ae.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(ye)?ye.value:ye)}setValue(ye,Ae={}){this.value=this._pendingValue=ye,this._onChange.length&&!1!==Ae.emitModelToViewChange&&this._onChange.forEach(ct=>ct(this.value,!1!==Ae.emitViewToModelChange)),this.updateValueAndValidity(Ae)}patchValue(ye,Ae={}){this.setValue(ye,Ae)}reset(ye=this.defaultValue,Ae={}){this._applyFormState(ye),this.markAsPristine(Ae),this.markAsUntouched(Ae),this.setValue(this.value,Ae),this._pendingChange=!1}_updateValue(){}_anyControls(ye){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ye){this._onChange.push(ye)}_unregisterOnChange(ye){Ot(this._onChange,ye)}registerOnDisabledChange(ye){this._onDisabledChange.push(ye)}_unregisterOnDisabledChange(ye){Ot(this._onDisabledChange,ye)}_forEachChild(ye){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(ye){this._isBoxedValue(ye)?(this.value=this._pendingValue=ye.value,ye.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ye}}class Jt extends Xe{constructor(ye,Ae,ct){super(Qi(Ae),mn(ct,Ae)),this.controls=ye,this._initObservables(),this._setUpdateStrategy(Ae),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ye,Ae){return this.controls[ye]?this.controls[ye]:(this.controls[ye]=Ae,Ae.setParent(this),Ae._registerOnCollectionChange(this._onCollectionChange),Ae)}addControl(ye,Ae,ct={}){this.registerControl(ye,Ae),this.updateValueAndValidity({emitEvent:ct.emitEvent}),this._onCollectionChange()}removeControl(ye,Ae={}){this.controls[ye]&&this.controls[ye]._registerOnCollectionChange(()=>{}),delete this.controls[ye],this.updateValueAndValidity({emitEvent:Ae.emitEvent}),this._onCollectionChange()}setControl(ye,Ae,ct={}){this.controls[ye]&&this.controls[ye]._registerOnCollectionChange(()=>{}),delete this.controls[ye],Ae&&this.registerControl(ye,Ae),this.updateValueAndValidity({emitEvent:ct.emitEvent}),this._onCollectionChange()}contains(ye){return this.controls.hasOwnProperty(ye)&&this.controls[ye].enabled}setValue(ye,Ae={}){ue(this,ye),Object.keys(ye).forEach(ct=>{D(this,ct),this.controls[ct].setValue(ye[ct],{onlySelf:!0,emitEvent:Ae.emitEvent})}),this.updateValueAndValidity(Ae)}patchValue(ye,Ae={}){null!=ye&&(Object.keys(ye).forEach(ct=>{this.controls[ct]&&this.controls[ct].patchValue(ye[ct],{onlySelf:!0,emitEvent:Ae.emitEvent})}),this.updateValueAndValidity(Ae))}reset(ye={},Ae={}){this._forEachChild((ct,Bt)=>{ct.reset(ye[Bt],{onlySelf:!0,emitEvent:Ae.emitEvent})}),this._updatePristine(Ae),this._updateTouched(Ae),this.updateValueAndValidity(Ae)}getRawValue(){return this._reduceChildren({},(ye,Ae,ct)=>(ye[ct]=Qe(Ae),ye))}_syncPendingControls(){let ye=this._reduceChildren(!1,(Ae,ct)=>!!ct._syncPendingControls()||Ae);return ye&&this.updateValueAndValidity({onlySelf:!0}),ye}_forEachChild(ye){Object.keys(this.controls).forEach(Ae=>{const ct=this.controls[Ae];ct&&ye(ct,Ae)})}_setUpControls(){this._forEachChild(ye=>{ye.setParent(this),ye._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ye){for(const Ae of Object.keys(this.controls)){const ct=this.controls[Ae];if(this.contains(Ae)&&ye(ct))return!0}return!1}_reduceValue(){return this._reduceChildren({},(ye,Ae,ct)=>((Ae.enabled||this.disabled)&&(ye[ct]=Ae.value),ye))}_reduceChildren(ye,Ae){let ct=ye;return this._forEachChild((Bt,pi)=>{ct=Ae(ct,Bt,pi)}),ct}_allControlsDisabled(){for(const ye of Object.keys(this.controls))if(this.controls[ye].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class ti extends Xe{constructor(ye,Ae,ct){super(Qi(Ae),mn(ct,Ae)),this.controls=ye,this._initObservables(),this._setUpdateStrategy(Ae),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ye){return this.controls[ye]}push(ye,Ae={}){this.controls.push(ye),this._registerControl(ye),this.updateValueAndValidity({emitEvent:Ae.emitEvent}),this._onCollectionChange()}insert(ye,Ae,ct={}){this.controls.splice(ye,0,Ae),this._registerControl(Ae),this.updateValueAndValidity({emitEvent:ct.emitEvent})}removeAt(ye,Ae={}){this.controls[ye]&&this.controls[ye]._registerOnCollectionChange(()=>{}),this.controls.splice(ye,1),this.updateValueAndValidity({emitEvent:Ae.emitEvent})}setControl(ye,Ae,ct={}){this.controls[ye]&&this.controls[ye]._registerOnCollectionChange(()=>{}),this.controls.splice(ye,1),Ae&&(this.controls.splice(ye,0,Ae),this._registerControl(Ae)),this.updateValueAndValidity({emitEvent:ct.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ye,Ae={}){ue(this,ye),ye.forEach((ct,Bt)=>{D(this,Bt),this.at(Bt).setValue(ct,{onlySelf:!0,emitEvent:Ae.emitEvent})}),this.updateValueAndValidity(Ae)}patchValue(ye,Ae={}){null!=ye&&(ye.forEach((ct,Bt)=>{this.at(Bt)&&this.at(Bt).patchValue(ct,{onlySelf:!0,emitEvent:Ae.emitEvent})}),this.updateValueAndValidity(Ae))}reset(ye=[],Ae={}){this._forEachChild((ct,Bt)=>{ct.reset(ye[Bt],{onlySelf:!0,emitEvent:Ae.emitEvent})}),this._updatePristine(Ae),this._updateTouched(Ae),this.updateValueAndValidity(Ae)}getRawValue(){return this.controls.map(ye=>Qe(ye))}clear(ye={}){this.controls.length<1||(this._forEachChild(Ae=>Ae._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ye.emitEvent}))}_syncPendingControls(){let ye=this.controls.reduce((Ae,ct)=>!!ct._syncPendingControls()||Ae,!1);return ye&&this.updateValueAndValidity({onlySelf:!0}),ye}_forEachChild(ye){this.controls.forEach((Ae,ct)=>{ye(Ae,ct)})}_updateValue(){this.value=this.controls.filter(ye=>ye.enabled||this.disabled).map(ye=>ye.value)}_anyControls(ye){return this.controls.some(Ae=>Ae.enabled&&ye(Ae))}_setUpControls(){this._forEachChild(ye=>this._registerControl(ye))}_allControlsDisabled(){for(const ye of this.controls)if(ye.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ye){ye.setParent(this),ye._registerOnCollectionChange(this._onCollectionChange)}}const bi={provide:S,useExisting:(0,e.Gpc)(()=>en)},wi=(()=>Promise.resolve(null))();let en=(()=>{class Oe extends S{constructor(Ae,ct){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new Jt({},Ie(Ae),ze(ct))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Ae){wi.then(()=>{const ct=this._findContainer(Ae.path);Ae.control=ct.registerControl(Ae.name,Ae.control),at(Ae.control,Ae),Ae.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Ae)})}getControl(Ae){return this.form.get(Ae.path)}removeControl(Ae){wi.then(()=>{const ct=this._findContainer(Ae.path);ct&&ct.removeControl(Ae.name),this._directives.delete(Ae)})}addFormGroup(Ae){wi.then(()=>{const ct=this._findContainer(Ae.path),Bt=new Jt({});Le(Bt,Ae),ct.registerControl(Ae.name,Bt),Bt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Ae){wi.then(()=>{const ct=this._findContainer(Ae.path);ct&&ct.removeControl(Ae.name)})}getFormGroup(Ae){return this.form.get(Ae.path)}updateModel(Ae,ct){wi.then(()=>{this.form.get(Ae.path).setValue(ct)})}setValue(Ae){this.control.setValue(Ae)}onSubmit(Ae){return this.submitted=!0,wt(this.form,this._directives),this.ngSubmit.emit(Ae),!1}onReset(){this.resetForm()}resetForm(Ae){this.form.reset(Ae),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Ae){return Ae.pop(),Ae.length?this.form.get(Ae):this.form}}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)(e.Y36(re,10),e.Y36(Ne,10))},Oe.\u0275dir=e.lG2({type:Oe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ae,ct){1&Ae&&e.NdJ("submit",function(pi){return ct.onSubmit(pi)})("reset",function(){return ct.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([bi]),e.qOj]}),Oe})();const hn={provide:M,useExisting:(0,e.Gpc)(()=>sn)},$i=(()=>Promise.resolve(null))();let sn=(()=>{class Oe extends M{constructor(Ae,ct,Bt,pi,Ui){super(),this._changeDetectorRef=Ui,this.control=new bt,this._registered=!1,this.update=new e.vpe,this._parent=Ae,this._setValidators(ct),this._setAsyncValidators(Bt),this.valueAccessor=At(0,pi)}ngOnChanges(Ae){if(this._checkForErrors(),!this._registered||"name"in Ae){if(this._registered&&(this._checkName(),this.formDirective)){const ct=Ae.name.previousValue;this.formDirective.removeControl({name:ct,path:this._getPath(ct)})}this._setUpControl()}"isDisabled"in Ae&&this._updateDisabled(Ae),qt(Ae,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(Ae){this.viewModel=Ae,this.update.emit(Ae)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){at(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Ae){$i.then(()=>{var ct;this.control.setValue(Ae,{emitViewToModelChange:!1}),null===(ct=this._changeDetectorRef)||void 0===ct||ct.markForCheck()})}_updateDisabled(Ae){const ct=Ae.isDisabled.currentValue,Bt=""===ct||ct&&"false"!==ct;$i.then(()=>{var pi;Bt&&!this.control.disabled?this.control.disable():!Bt&&this.control.disabled&&this.control.enable(),null===(pi=this._changeDetectorRef)||void 0===pi||pi.markForCheck()})}_getPath(Ae){return this._parent?Mt(Ae,this._parent):[Ae]}}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)(e.Y36(S,9),e.Y36(re,10),e.Y36(Ne,10),e.Y36(b,10),e.Y36(e.sBO,8))},Oe.\u0275dir=e.lG2({type:Oe,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([hn]),e.qOj,e.TTD]}),Oe})(),Fi=(()=>{class Oe{}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)},Oe.\u0275dir=e.lG2({type:Oe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),Oe})();const Ln={provide:b,useExisting:(0,e.Gpc)(()=>pt),multi:!0};let pt=(()=>{class Oe extends s{writeValue(Ae){this.setProperty("value",null==Ae?"":Ae)}registerOnChange(Ae){this.onChange=ct=>{Ae(""==ct?null:parseFloat(ct))}}}return Oe.\u0275fac=function(){let ye;return function(ct){return(ye||(ye=e.n5z(Oe)))(ct||Oe)}}(),Oe.\u0275dir=e.lG2({type:Oe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ae,ct){1&Ae&&e.NdJ("input",function(pi){return ct.onChange(pi.target.value)})("blur",function(){return ct.onTouched()})},features:[e._Bn([Ln]),e.qOj]}),Oe})(),Tt=(()=>{class Oe{}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)},Oe.\u0275mod=e.oAB({type:Oe}),Oe.\u0275inj=e.cJS({}),Oe})();const Gt=new e.OlP("NgModelWithFormControlWarning"),Qt={provide:M,useExisting:(0,e.Gpc)(()=>Ci)};let Ci=(()=>{class Oe extends M{constructor(Ae,ct,Bt,pi){super(),this._ngModelWarningConfig=pi,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(Ae),this._setAsyncValidators(ct),this.valueAccessor=At(0,Bt)}set isDisabled(Ae){}ngOnChanges(Ae){if(this._isControlChanged(Ae)){const ct=Ae.form.previousValue;ct&&Ut(ct,this,!1),at(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}qt(Ae,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ut(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Ae){this.viewModel=Ae,this.update.emit(Ae)}_isControlChanged(Ae){return Ae.hasOwnProperty("form")}}return Oe._ngModelWarningSentOnce=!1,Oe.\u0275fac=function(Ae){return new(Ae||Oe)(e.Y36(re,10),e.Y36(Ne,10),e.Y36(b,10),e.Y36(Gt,8))},Oe.\u0275dir=e.lG2({type:Oe,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([Qt]),e.qOj,e.TTD]}),Oe})();const ji={provide:S,useExisting:(0,e.Gpc)(()=>Ki)};let Ki=(()=>{class Oe extends S{constructor(Ae,ct){super(),this.validators=Ae,this.asyncValidators=ct,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(Ae),this._setAsyncValidators(ct)}ngOnChanges(Ae){this._checkFormPresent(),Ae.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&($e(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Ae){const ct=this.form.get(Ae.path);return at(ct,Ae),ct.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ae),ct}getControl(Ae){return this.form.get(Ae.path)}removeControl(Ae){Ut(Ae.control||null,Ae,!1),Ot(this.directives,Ae)}addFormGroup(Ae){this._setUpFormContainer(Ae)}removeFormGroup(Ae){this._cleanUpFormContainer(Ae)}getFormGroup(Ae){return this.form.get(Ae.path)}addFormArray(Ae){this._setUpFormContainer(Ae)}removeFormArray(Ae){this._cleanUpFormContainer(Ae)}getFormArray(Ae){return this.form.get(Ae.path)}updateModel(Ae,ct){this.form.get(Ae.path).setValue(ct)}onSubmit(Ae){return this.submitted=!0,wt(this.form,this.directives),this.ngSubmit.emit(Ae),!1}onReset(){this.resetForm()}resetForm(Ae){this.form.reset(Ae),this.submitted=!1}_updateDomValue(){this.directives.forEach(Ae=>{const ct=Ae.control,Bt=this.form.get(Ae.path);ct!==Bt&&(Ut(ct||null,Ae),Ct(Bt)&&(at(Bt,Ae),Ae.control=Bt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ae){const ct=this.form.get(Ae.path);Le(ct,Ae),ct.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ae){if(this.form){const ct=this.form.get(Ae.path);ct&&function Ye(Oe,ye){return $e(Oe,ye)}(ct,Ae)&&ct.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ve(this.form,this),this._oldForm&&$e(this._oldForm,this)}_checkFormPresent(){}}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)(e.Y36(re,10),e.Y36(Ne,10))},Oe.\u0275dir=e.lG2({type:Oe,selectors:[["","formGroup",""]],hostBindings:function(Ae,ct){1&Ae&&e.NdJ("submit",function(pi){return ct.onSubmit(pi)})("reset",function(){return ct.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([ji]),e.qOj,e.TTD]}),Oe})();const Ao={provide:M,useExisting:(0,e.Gpc)(()=>zn)};let zn=(()=>{class Oe extends M{constructor(Ae,ct,Bt,pi,Ui){super(),this._ngModelWarningConfig=Ui,this._added=!1,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=Ae,this._setValidators(ct),this._setAsyncValidators(Bt),this.valueAccessor=At(0,pi)}set isDisabled(Ae){}ngOnChanges(Ae){this._added||this._setUpControl(),qt(Ae,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Ae){this.viewModel=Ae,this.update.emit(Ae)}get path(){return Mt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return Oe._ngModelWarningSentOnce=!1,Oe.\u0275fac=function(Ae){return new(Ae||Oe)(e.Y36(S,13),e.Y36(re,10),e.Y36(Ne,10),e.Y36(b,10),e.Y36(Gt,8))},Oe.\u0275dir=e.lG2({type:Oe,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([Ao]),e.qOj,e.TTD]}),Oe})();const ao={provide:b,useExisting:(0,e.Gpc)(()=>oo),multi:!0};function no(Oe,ye){return null==Oe?`${ye}`:(ye&&"object"==typeof ye&&(ye="Object"),`${Oe}: ${ye}`.slice(0,50))}let oo=(()=>{class Oe extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Ae){this._compareWith=Ae}writeValue(Ae){this.value=Ae;const Bt=no(this._getOptionId(Ae),Ae);this.setProperty("value",Bt)}registerOnChange(Ae){this.onChange=ct=>{this.value=this._getOptionValue(ct),Ae(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(Ae){for(const ct of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(ct),Ae))return ct;return null}_getOptionValue(Ae){const ct=function No(Oe){return Oe.split(":")[0]}(Ae);return this._optionMap.has(ct)?this._optionMap.get(ct):Ae}}return Oe.\u0275fac=function(){let ye;return function(ct){return(ye||(ye=e.n5z(Oe)))(ct||Oe)}}(),Oe.\u0275dir=e.lG2({type:Oe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(Ae,ct){1&Ae&&e.NdJ("change",function(pi){return ct.onChange(pi.target.value)})("blur",function(){return ct.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([ao]),e.qOj]}),Oe})(),xn=(()=>{class Oe{constructor(Ae,ct,Bt){this._element=Ae,this._renderer=ct,this._select=Bt,this._select&&(this.id=this._select._registerOption())}set ngValue(Ae){null!=this._select&&(this._select._optionMap.set(this.id,Ae),this._setElementValue(no(this.id,Ae)),this._select.writeValue(this._select.value))}set value(Ae){this._setElementValue(Ae),this._select&&this._select.writeValue(this._select.value)}_setElementValue(Ae){this._renderer.setProperty(this._element.nativeElement,"value",Ae)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(oo,9))},Oe.\u0275dir=e.lG2({type:Oe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),Oe})();const yn={provide:b,useExisting:(0,e.Gpc)(()=>co),multi:!0};function so(Oe,ye){return null==Oe?`${ye}`:("string"==typeof ye&&(ye=`'${ye}'`),ye&&"object"==typeof ye&&(ye="Object"),`${Oe}: ${ye}`.slice(0,50))}let co=(()=>{class Oe extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Ae){this._compareWith=Ae}writeValue(Ae){let ct;if(this.value=Ae,Array.isArray(Ae)){const Bt=Ae.map(pi=>this._getOptionId(pi));ct=(pi,Ui)=>{pi._setSelected(Bt.indexOf(Ui.toString())>-1)}}else ct=(Bt,pi)=>{Bt._setSelected(!1)};this._optionMap.forEach(ct)}registerOnChange(Ae){this.onChange=ct=>{const Bt=[],pi=ct.selectedOptions;if(void 0!==pi){const Ui=pi;for(let tn=0;tn{class Oe{constructor(Ae,ct,Bt){this._element=Ae,this._renderer=ct,this._select=Bt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(Ae){null!=this._select&&(this._value=Ae,this._setElementValue(so(this.id,Ae)),this._select.writeValue(this._select.value))}set value(Ae){this._select?(this._value=Ae,this._setElementValue(so(this.id,Ae)),this._select.writeValue(this._select.value)):this._setElementValue(Ae)}_setElementValue(Ae){this._renderer.setProperty(this._element.nativeElement,"value",Ae)}_setSelected(Ae){this._renderer.setProperty(this._element.nativeElement,"selected",Ae)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(co,9))},Oe.\u0275dir=e.lG2({type:Oe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),Oe})(),In=(()=>{class Oe{constructor(){this._validator=Fe}ngOnChanges(Ae){if(this.inputName in Ae){const ct=this.normalizeInput(Ae[this.inputName].currentValue);this._enabled=this.enabled(ct),this._validator=this._enabled?this.createValidator(ct):Fe,this._onChange&&this._onChange()}}validate(Ae){return this._validator(Ae)}registerOnValidatorChange(Ae){this._onChange=Ae}enabled(Ae){return null!=Ae}}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)},Oe.\u0275dir=e.lG2({type:Oe,features:[e.TTD]}),Oe})();const Zn={provide:re,useExisting:(0,e.Gpc)(()=>ht),multi:!0},Bo={provide:re,useExisting:(0,e.Gpc)(()=>B),multi:!0};let ht=(()=>{class Oe extends In{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Ae=>function lo(Oe){return null!=Oe&&!1!==Oe&&"false"!=`${Oe}`}(Ae),this.createValidator=Ae=>F}enabled(Ae){return Ae}}return Oe.\u0275fac=function(){let ye;return function(ct){return(ye||(ye=e.n5z(Oe)))(ct||Oe)}}(),Oe.\u0275dir=e.lG2({type:Oe,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ae,ct){2&Ae&&e.uIk("required",ct._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([Zn]),e.qOj]}),Oe})(),B=(()=>{class Oe extends ht{constructor(){super(...arguments),this.createValidator=Ae=>W}}return Oe.\u0275fac=function(){let ye;return function(ct){return(ye||(ye=e.n5z(Oe)))(ct||Oe)}}(),Oe.\u0275dir=e.lG2({type:Oe,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Ae,ct){2&Ae&&e.uIk("required",ct._enabled?"":null)},features:[e._Bn([Bo]),e.qOj]}),Oe})();const ie={provide:re,useExisting:(0,e.Gpc)(()=>Ke),multi:!0};let Ke=(()=>{class Oe extends In{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=Ae=>Ae,this.createValidator=Ae=>Be(Ae)}}return Oe.\u0275fac=function(){let ye;return function(ct){return(ye||(ye=e.n5z(Oe)))(ct||Oe)}}(),Oe.\u0275dir=e.lG2({type:Oe,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(Ae,ct){2&Ae&&e.uIk("pattern",ct._enabled?ct.pattern:null)},inputs:{pattern:"pattern"},features:[e._Bn([ie]),e.qOj]}),Oe})(),oi=(()=>{class Oe{}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)},Oe.\u0275mod=e.oAB({type:Oe}),Oe.\u0275inj=e.cJS({imports:[[Tt]]}),Oe})(),ui=(()=>{class Oe{}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)},Oe.\u0275mod=e.oAB({type:Oe}),Oe.\u0275inj=e.cJS({imports:[oi]}),Oe})(),hi=(()=>{class Oe{static withConfig(Ae){return{ngModule:Oe,providers:[{provide:Gt,useValue:Ae.warnOnNgModelWithFormControl}]}}}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)},Oe.\u0275mod=e.oAB({type:Oe}),Oe.\u0275inj=e.cJS({imports:[oi]}),Oe})(),vi=(()=>{class Oe{group(Ae,ct=null){const Bt=this._reduceControls(Ae);let tn,pi=null,Ui=null;return null!=ct&&(function _i(Oe){return void 0!==Oe.asyncValidators||void 0!==Oe.validators||void 0!==Oe.updateOn}(ct)?(pi=null!=ct.validators?ct.validators:null,Ui=null!=ct.asyncValidators?ct.asyncValidators:null,tn=null!=ct.updateOn?ct.updateOn:void 0):(pi=null!=ct.validator?ct.validator:null,Ui=null!=ct.asyncValidator?ct.asyncValidator:null)),new Jt(Bt,{asyncValidators:Ui,updateOn:tn,validators:pi})}control(Ae,ct,Bt){return new bt(Ae,ct,Bt)}array(Ae,ct,Bt){const pi=Ae.map(Ui=>this._createControl(Ui));return new ti(pi,ct,Bt)}_reduceControls(Ae){const ct={};return Object.keys(Ae).forEach(Bt=>{ct[Bt]=this._createControl(Ae[Bt])}),ct}_createControl(Ae){return Ct(Ae)||tt(Ae)||He(Ae)?Ae:Array.isArray(Ae)?this.control(Ae[0],Ae.length>1?Ae[1]:null,Ae.length>2?Ae[2]:null):this.control(Ae)}}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)},Oe.\u0275prov=e.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:hi}),Oe})()},91079:(Ze,ge,d)=>{"use strict";d.d(ge,{XC:()=>I,Bb:()=>L,ZL:()=>nt});var e=d(15664),f=d(63191),g=d(5e3),v=d(90508),m=d(42654),A=d(8929),s=d(88514),b=d(36787),R=d(21086),E=d(23753),h=d(70925),x=d(69808),k=d(92845),G=d(53435),X=d(91159),he=d(47429),re=d(93075),Ne=d(67322),ce=d(1059),Pe=d(87545),se=d(72986),V=d(92198),F=d(24850),W=d(22868),te=d(40943),ae=d(50226);const pe=["panel"];function Be(de,M){if(1&de&&(g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA()),2&de){const S=M.id,P=g.oxw();g.Q6J("id",P.id)("ngClass",P._classList),g.uIk("aria-label",P.ariaLabel||null)("aria-labelledby",P._getPanelAriaLabelledby(S))}}const Fe=["*"];let ke=0;class De{constructor(M,S){this.source=M,this.option=S}}const be=(0,v.Kr)(class{}),z=new g.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function Ce(){return{autoActiveFirstOption:!1}}});let J=(()=>{class de extends be{constructor(S,P,N,ne){super(),this._changeDetectorRef=S,this._elementRef=P,this._activeOptionChanges=m.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new g.vpe,this.opened=new g.vpe,this.closed=new g.vpe,this.optionActivated=new g.vpe,this._classList={},this.id="mat-autocomplete-"+ke++,this.inertGroups=(null==ne?void 0:ne.SAFARI)||!1,this._autoActiveFirstOption=!!N.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(S){this._autoActiveFirstOption=(0,f.Ig)(S)}set classList(S){this._classList=S&&S.length?(0,f.du)(S).reduce((P,N)=>(P[N]=!0,P),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new e.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(S=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[S]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(S){this.panel&&(this.panel.nativeElement.scrollTop=S)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(S){const P=new De(this,S);this.optionSelected.emit(P)}_getPanelAriaLabelledby(S){return this.ariaLabel?null:this.ariaLabelledby?(S?S+" ":"")+this.ariaLabelledby:S}_setVisibilityClasses(S){S[this._visibleClass]=this.showPanel,S[this._hiddenClass]=!this.showPanel}}return de.\u0275fac=function(S){return new(S||de)(g.Y36(g.sBO),g.Y36(g.SBq),g.Y36(z),g.Y36(h.t4))},de.\u0275dir=g.lG2({type:de,viewQuery:function(S,P){if(1&S&&(g.Gf(g.Rgc,7),g.Gf(pe,5)),2&S){let N;g.iGM(N=g.CRH())&&(P.template=N.first),g.iGM(N=g.CRH())&&(P.panel=N.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[g.qOj]}),de})(),I=(()=>{class de extends J{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return de.\u0275fac=function(){let M;return function(P){return(M||(M=g.n5z(de)))(P||de)}}(),de.\u0275cmp=g.Xpm({type:de,selectors:[["mat-autocomplete"]],contentQueries:function(S,P,N){if(1&S&&(g.Suo(N,v.K7,5),g.Suo(N,v.ey,5)),2&S){let ne;g.iGM(ne=g.CRH())&&(P.optionGroups=ne),g.iGM(ne=g.CRH())&&(P.options=ne)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[g._Bn([{provide:v.HF,useExisting:de}]),g.qOj],ngContentSelectors:Fe,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(S,P){1&S&&(g.F$t(),g.YNc(0,Be,3,4,"ng-template"))},directives:[x.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),de})();const Ie=new g.OlP("mat-autocomplete-scroll-strategy"),ze={provide:Ie,deps:[k.aV],useFactory:function Re(de){return()=>de.scrollStrategies.reposition()}},fe={provide:re.JU,useExisting:(0,g.Gpc)(()=>nt),multi:!0};let We=(()=>{class de{constructor(S,P,N,ne,j,Te,n,r,u,o,t){this._element=S,this._overlay=P,this._viewContainerRef=N,this._zone=ne,this._changeDetectorRef=j,this._dir=n,this._formField=r,this._document=u,this._viewportRuler=o,this._defaults=t,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=m.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new A.xQ,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,s.P)(()=>{const i=this.autocomplete?this.autocomplete.options:null;return i?i.changes.pipe((0,ce.O)(i),(0,Pe.w)(()=>(0,b.T)(...i.map(c=>c.onSelectionChange)))):this._zone.onStable.pipe((0,se.q)(1),(0,Pe.w)(()=>this.optionSelections))}),this._scrollStrategy=Te}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(S){this._autocompleteDisabled=(0,f.Ig)(S)}ngAfterViewInit(){const S=this._getWindow();void 0!==S&&this._zone.runOutsideAngular(()=>S.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(S){S.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const S=this._getWindow();void 0!==S&&S.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,b.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,V.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,V.h)(()=>this._overlayAttached)):(0,R.of)()).pipe((0,F.U)(S=>S instanceof v.rN?S:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,b.T)((0,E.R)(this._document,"click"),(0,E.R)(this._document,"auxclick"),(0,E.R)(this._document,"touchend")).pipe((0,V.h)(S=>{const P=(0,h.sA)(S),N=this._formField?this._formField._elementRef.nativeElement:null,ne=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&P!==this._element.nativeElement&&(!N||!N.contains(P))&&(!ne||!ne.contains(P))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(P)}))}writeValue(S){Promise.resolve().then(()=>this._setTriggerValue(S))}registerOnChange(S){this._onChange=S}registerOnTouched(S){this._onTouched=S}setDisabledState(S){this._element.nativeElement.disabled=S}_handleKeydown(S){const P=S.keyCode;if(P===X.hY&&!(0,X.Vb)(S)&&S.preventDefault(),this.activeOption&&P===X.K5&&this.panelOpen&&!(0,X.Vb)(S))this.activeOption._selectViaInteraction(),this._resetActiveItem(),S.preventDefault();else if(this.autocomplete){const N=this.autocomplete._keyManager.activeItem,ne=P===X.LH||P===X.JH;this.panelOpen||P===X.Mf?this.autocomplete._keyManager.onKeydown(S):ne&&this._canOpen()&&this.openPanel(),(ne||this.autocomplete._keyManager.activeItem!==N)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(S){let P=S.target,N=P.value;"number"===P.type&&(N=""==N?null:parseFloat(N)),this._previousValue!==N&&(this._previousValue=N,this._onChange(N),this._canOpen()&&this._document.activeElement===S.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(S=!1){this._formField&&"auto"===this._formField.floatLabel&&(S?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const S=this._zone.onStable.pipe((0,se.q)(1)),P=this.autocomplete.options.changes.pipe((0,W.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,te.g)(0));return(0,b.T)(S,P).pipe((0,Pe.w)(()=>{const N=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),N!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,se.q)(1)).subscribe(N=>this._setValueAndClose(N))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(S){const P=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(S):S,N=null!=P?P:"";this._formField?this._formField._control.value=N:this._element.nativeElement.value=N,this._previousValue=N}_setValueAndClose(S){const P=S&&S.source;P&&(this._clearPreviousSelectedOption(P),this._setTriggerValue(P.value),this._onChange(P.value),this.autocomplete._emitSelectEvent(P),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(S){this.autocomplete.options.forEach(P=>{P!==S&&P.selected&&P.deselect()})}_attachOverlay(){var S;let P=this._overlayRef;P?(this._positionStrategy.setOrigin(this._getConnectedElement()),P.updateSize({width:this._getPanelWidth()})):(this._portal=new he.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(S=this._formField)||void 0===S?void 0:S.getLabelId()}),P=this._overlay.create(this._getOverlayConfig()),this._overlayRef=P,P.keydownEvents().subscribe(ne=>{(ne.keyCode===X.hY&&!(0,X.Vb)(ne)||ne.keyCode===X.LH&&(0,X.Vb)(ne,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),ne.stopPropagation(),ne.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&P&&P.updateSize({width:this._getPanelWidth()})})),P&&!P.hasAttached()&&(P.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const N=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&N!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var S;return new k.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(S=this._defaults)||void 0===S?void 0:S.overlayPanelClass})}_getOverlayPosition(){const S=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(S),this._positionStrategy=S,S}_setStrategyPositions(S){const P=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],N=this._aboveClass,ne=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:N},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:N}];let j;j="above"===this.position?ne:"below"===this.position?P:[...P,...ne],S.withPositions(j)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const S=this.autocomplete;S.autoActiveFirstOption?S._keyManager.setFirstItemActive():S._keyManager.setActiveItem(-1)}_canOpen(){const S=this._element.nativeElement;return!S.readOnly&&!S.disabled&&!this._autocompleteDisabled}_getWindow(){var S;return(null===(S=this._document)||void 0===S?void 0:S.defaultView)||window}_scrollToOption(S){const P=this.autocomplete,N=(0,v.CB)(S,P.options,P.optionGroups);if(0===S&&1===N)P._setScrollTop(0);else if(P.panel){const ne=P.options.toArray()[S];if(ne){const j=ne._getHostElement(),Te=(0,v.jH)(j.offsetTop,j.offsetHeight,P._getScrollTop(),P.panel.nativeElement.offsetHeight);P._setScrollTop(Te)}}}}return de.\u0275fac=function(S){return new(S||de)(g.Y36(g.SBq),g.Y36(k.aV),g.Y36(g.s_b),g.Y36(g.R0b),g.Y36(g.sBO),g.Y36(Ie),g.Y36(ae.Is,8),g.Y36(Ne.G_,9),g.Y36(x.K0,8),g.Y36(G.rL),g.Y36(z,8))},de.\u0275dir=g.lG2({type:de,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[g.TTD]}),de})(),nt=(()=>{class de extends We{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return de.\u0275fac=function(){let M;return function(P){return(M||(M=g.n5z(de)))(P||de)}}(),de.\u0275dir=g.lG2({type:de,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(S,P){1&S&&g.NdJ("focusin",function(){return P._handleFocus()})("blur",function(){return P._onTouched()})("input",function(ne){return P._handleInput(ne)})("keydown",function(ne){return P._handleKeydown(ne)}),2&S&&g.uIk("autocomplete",P.autocompleteAttribute)("role",P.autocompleteDisabled?null:"combobox")("aria-autocomplete",P.autocompleteDisabled?null:"list")("aria-activedescendant",P.panelOpen&&P.activeOption?P.activeOption.id:null)("aria-expanded",P.autocompleteDisabled?null:P.panelOpen.toString())("aria-owns",P.autocompleteDisabled||!P.panelOpen||null==P.autocomplete?null:P.autocomplete.id)("aria-haspopup",!P.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[g._Bn([fe]),g.qOj]}),de})(),L=(()=>{class de{}return de.\u0275fac=function(S){return new(S||de)},de.\u0275mod=g.oAB({type:de}),de.\u0275inj=g.cJS({providers:[ze],imports:[[k.U8,v.Ng,v.BQ,x.ez],G.ZD,v.Ng,v.BQ]}),de})()},27544:(Ze,ge,d)=>{"use strict";d.d(ge,{k:()=>R,g:()=>E});var e=d(5e3),f=d(90508),g=d(15664),v=d(63191),m=d(76360);let A=0;const s=(0,f.Id)(class{}),b="mat-badge-content";let R=(()=>{class h extends s{constructor(k,G,X,he,re){super(),this._ngZone=k,this._elementRef=G,this._ariaDescriber=X,this._renderer=he,this._animationMode=re,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=A++,this._isInitialized=!1}get color(){return this._color}set color(k){this._setColor(k),this._color=k}get overlap(){return this._overlap}set overlap(k){this._overlap=(0,v.Ig)(k)}get content(){return this._content}set content(k){this._updateRenderedContent(k)}get description(){return this._description}set description(k){this._updateHostAriaDescription(k)}get hidden(){return this._hidden}set hidden(k){this._hidden=(0,v.Ig)(k)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const k=this._renderer.createElement("span"),G="mat-badge-active";return k.setAttribute("id",`mat-badge-content-${this._id}`),k.setAttribute("aria-hidden","true"),k.classList.add(b),"NoopAnimations"===this._animationMode&&k.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(k),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{k.classList.add(G)})}):k.classList.add(G),k}_updateRenderedContent(k){const G=`${null!=k?k:""}`.trim();this._isInitialized&&G&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=G),this._content=G}_updateHostAriaDescription(k){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),k&&this._ariaDescriber.describe(this._elementRef.nativeElement,k),this._description=k}_setColor(k){const G=this._elementRef.nativeElement.classList;G.remove(`mat-badge-${this._color}`),k&&G.add(`mat-badge-${k}`)}_clearExistingBadges(){const k=this._elementRef.nativeElement.querySelectorAll(`:scope > .${b}`);for(const G of Array.from(k))G!==this._badgeElement&&G.remove()}}return h.\u0275fac=function(k){return new(k||h)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(g.$s),e.Y36(e.Qsj),e.Y36(m.Qb,8))},h.\u0275dir=e.lG2({type:h,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(k,G){2&k&&e.ekj("mat-badge-overlap",G.overlap)("mat-badge-above",G.isAbove())("mat-badge-below",!G.isAbove())("mat-badge-before",!G.isAfter())("mat-badge-after",G.isAfter())("mat-badge-small","small"===G.size)("mat-badge-medium","medium"===G.size)("mat-badge-large","large"===G.size)("mat-badge-hidden",G.hidden||!G.content)("mat-badge-disabled",G.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[e.qOj]}),h})(),E=(()=>{class h{}return h.\u0275fac=function(k){return new(k||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[[g.rt,f.BQ],f.BQ]}),h})()},47423:(Ze,ge,d)=>{"use strict";d.d(ge,{lW:()=>h,ot:()=>k});var e=d(5e3),f=d(90508),g=d(76360),v=d(15664);const m=["mat-button",""],A=["*"],R=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],E=(0,f.pj)((0,f.Id)((0,f.Kr)(class{constructor(G){this._elementRef=G}})));let h=(()=>{class G extends E{constructor(he,re,Ne){super(he),this._focusMonitor=re,this._animationMode=Ne,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const ce of R)this._hasHostAttributes(ce)&&this._getHostElement().classList.add(ce);he.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(he,re){he?this._focusMonitor.focusVia(this._getHostElement(),he,re):this._getHostElement().focus(re)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...he){return he.some(re=>this._getHostElement().hasAttribute(re))}}return G.\u0275fac=function(he){return new(he||G)(e.Y36(e.SBq),e.Y36(v.tE),e.Y36(g.Qb,8))},G.\u0275cmp=e.Xpm({type:G,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(he,re){if(1&he&&e.Gf(f.wG,5),2&he){let Ne;e.iGM(Ne=e.CRH())&&(re.ripple=Ne.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(he,re){2&he&&(e.uIk("disabled",re.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===re._animationMode)("mat-button-disabled",re.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:m,ngContentSelectors:A,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(he,re){1&he&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA(),e._UZ(2,"span",1),e._UZ(3,"span",2)),2&he&&(e.xp6(2),e.ekj("mat-button-ripple-round",re.isRoundButton||re.isIconButton),e.Q6J("matRippleDisabled",re._isRippleDisabled())("matRippleCentered",re.isIconButton)("matRippleTrigger",re._getHostElement()))},directives:[f.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),G})(),k=(()=>{class G{}return G.\u0275fac=function(he){return new(he||G)},G.\u0275mod=e.oAB({type:G}),G.\u0275inj=e.cJS({imports:[[f.si,f.BQ],f.BQ]}),G})()},9224:(Ze,ge,d)=>{"use strict";d.d(ge,{a8:()=>se,kc:()=>Pe,dn:()=>E,dk:()=>V,QW:()=>W,$j:()=>x,n5:()=>h});var e=d(5e3),f=d(76360),g=d(90508);const v=["*",[["mat-card-footer"]]],m=["*","mat-card-footer"],A=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],s=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let E=(()=>{class te{}return te.\u0275fac=function(pe){return new(pe||te)},te.\u0275dir=e.lG2({type:te,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),te})(),h=(()=>{class te{}return te.\u0275fac=function(pe){return new(pe||te)},te.\u0275dir=e.lG2({type:te,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),te})(),x=(()=>{class te{}return te.\u0275fac=function(pe){return new(pe||te)},te.\u0275dir=e.lG2({type:te,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),te})(),Pe=(()=>{class te{}return te.\u0275fac=function(pe){return new(pe||te)},te.\u0275dir=e.lG2({type:te,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),te})(),se=(()=>{class te{constructor(pe){this._animationMode=pe}}return te.\u0275fac=function(pe){return new(pe||te)(e.Y36(f.Qb,8))},te.\u0275cmp=e.Xpm({type:te,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(pe,Be){2&pe&&e.ekj("_mat-animation-noopable","NoopAnimations"===Be._animationMode)},exportAs:["matCard"],ngContentSelectors:m,decls:2,vars:0,template:function(pe,Be){1&pe&&(e.F$t(v),e.Hsn(0),e.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-animation-noopable.mat-card{transition:none;animation:none}.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}\n"],encapsulation:2,changeDetection:0}),te})(),V=(()=>{class te{}return te.\u0275fac=function(pe){return new(pe||te)},te.\u0275cmp=e.Xpm({type:te,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:s,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(pe,Be){1&pe&&(e.F$t(A),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0}),te})(),W=(()=>{class te{}return te.\u0275fac=function(pe){return new(pe||te)},te.\u0275mod=e.oAB({type:te}),te.\u0275inj=e.cJS({imports:[[g.BQ],g.BQ]}),te})()},77446:(Ze,ge,d)=>{"use strict";d.d(ge,{oG:()=>Ne,p9:()=>V});var e=d(63191),f=d(5e3),g=d(93075),v=d(90508),m=d(76360),A=d(15664),s=d(17144);const b=["input"],R=function(F){return{enterDuration:F}},E=["*"],h=new f.OlP("mat-checkbox-default-options",{providedIn:"root",factory:x});function x(){return{color:"accent",clickAction:"check-indeterminate"}}let k=0;const G=x(),X={provide:g.JU,useExisting:(0,f.Gpc)(()=>Ne),multi:!0};class he{}const re=(0,v.sb)((0,v.pj)((0,v.Kr)((0,v.Id)(class{constructor(F){this._elementRef=F}}))));let Ne=(()=>{class F extends re{constructor(te,ae,pe,Be,Fe,ke,De){super(te),this._changeDetectorRef=ae,this._focusMonitor=pe,this._ngZone=Be,this._animationMode=ke,this._options=De,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++k,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new f.vpe,this.indeterminateChange=new f.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||G,this.color=this.defaultColor=this._options.color||G.color,this.tabIndex=parseInt(Fe)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(te){this._required=(0,e.Ig)(te)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(te=>{te||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(te){te!=this.checked&&(this._checked=te,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(te){const ae=(0,e.Ig)(te);ae!==this.disabled&&(this._disabled=ae,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(te){const ae=te!=this._indeterminate;this._indeterminate=(0,e.Ig)(te),ae&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(te){this.checked=!!te}registerOnChange(te){this._controlValueAccessorChangeFn=te}registerOnTouched(te){this._onTouched=te}setDisabledState(te){this.disabled=te}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(te){let ae=this._currentCheckState,pe=this._elementRef.nativeElement;if(ae!==te&&(this._currentAnimationClass.length>0&&pe.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ae,te),this._currentCheckState=te,this._currentAnimationClass.length>0)){pe.classList.add(this._currentAnimationClass);const Be=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{pe.classList.remove(Be)},1e3)})}}_emitChangeEvent(){const te=new he;te.source=this,te.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(te),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(te){var ae;const pe=null===(ae=this._options)||void 0===ae?void 0:ae.clickAction;te.stopPropagation(),this.disabled||"noop"===pe?!this.disabled&&"noop"===pe&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==pe&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(te,ae){te?this._focusMonitor.focusVia(this._inputElement,te,ae):this._inputElement.nativeElement.focus(ae)}_onInteractionEvent(te){te.stopPropagation()}_getAnimationClassForCheckStateTransition(te,ae){if("NoopAnimations"===this._animationMode)return"";let pe="";switch(te){case 0:if(1===ae)pe="unchecked-checked";else{if(3!=ae)return"";pe="unchecked-indeterminate"}break;case 2:pe=1===ae?"unchecked-checked":"unchecked-indeterminate";break;case 1:pe=2===ae?"checked-unchecked":"checked-indeterminate";break;case 3:pe=1===ae?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${pe}`}_syncIndeterminate(te){const ae=this._inputElement;ae&&(ae.nativeElement.indeterminate=te)}}return F.\u0275fac=function(te){return new(te||F)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(A.tE),f.Y36(f.R0b),f.$8M("tabindex"),f.Y36(m.Qb,8),f.Y36(h,8))},F.\u0275cmp=f.Xpm({type:F,selectors:[["mat-checkbox"]],viewQuery:function(te,ae){if(1&te&&(f.Gf(b,5),f.Gf(v.wG,5)),2&te){let pe;f.iGM(pe=f.CRH())&&(ae._inputElement=pe.first),f.iGM(pe=f.CRH())&&(ae.ripple=pe.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(te,ae){2&te&&(f.Ikx("id",ae.id),f.uIk("tabindex",null),f.ekj("mat-checkbox-indeterminate",ae.indeterminate)("mat-checkbox-checked",ae.checked)("mat-checkbox-disabled",ae.disabled)("mat-checkbox-label-before","before"==ae.labelPosition)("_mat-animation-noopable","NoopAnimations"===ae._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[f._Bn([X]),f.qOj],ngContentSelectors:E,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(te,ae){if(1&te&&(f.F$t(),f.TgZ(0,"label",0,1),f.TgZ(2,"span",2),f.TgZ(3,"input",3,4),f.NdJ("change",function(Be){return ae._onInteractionEvent(Be)})("click",function(Be){return ae._onInputClick(Be)}),f.qZA(),f.TgZ(5,"span",5),f._UZ(6,"span",6),f.qZA(),f._UZ(7,"span",7),f.TgZ(8,"span",8),f.O4$(),f.TgZ(9,"svg",9),f._UZ(10,"path",10),f.qZA(),f.kcU(),f._UZ(11,"span",11),f.qZA(),f.qZA(),f.TgZ(12,"span",12,13),f.NdJ("cdkObserveContent",function(){return ae._onLabelTextChange()}),f.TgZ(14,"span",14),f._uU(15,"\xa0"),f.qZA(),f.Hsn(16),f.qZA(),f.qZA()),2&te){const pe=f.MAs(1),Be=f.MAs(13);f.uIk("for",ae.inputId),f.xp6(2),f.ekj("mat-checkbox-inner-container-no-side-margin",!Be.textContent||!Be.textContent.trim()),f.xp6(1),f.Q6J("id",ae.inputId)("required",ae.required)("checked",ae.checked)("disabled",ae.disabled)("tabIndex",ae.tabIndex),f.uIk("value",ae.value)("name",ae.name)("aria-label",ae.ariaLabel||null)("aria-labelledby",ae.ariaLabelledby)("aria-checked",ae._getAriaChecked())("aria-describedby",ae.ariaDescribedby),f.xp6(2),f.Q6J("matRippleTrigger",pe)("matRippleDisabled",ae._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",f.VKq(19,R,"NoopAnimations"===ae._animationMode?0:150))}},directives:[v.wG,s.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),F})(),se=(()=>{class F{}return F.\u0275fac=function(te){return new(te||F)},F.\u0275mod=f.oAB({type:F}),F.\u0275inj=f.cJS({}),F})(),V=(()=>{class F{}return F.\u0275fac=function(te){return new(te||F)},F.\u0275mod=f.oAB({type:F}),F.\u0275inj=f.cJS({imports:[[v.si,v.BQ,s.Q8,se],v.BQ,se]}),F})()},26688:(Ze,ge,d)=>{"use strict";d.d(ge,{HS:()=>pe,oH:()=>De,qn:()=>J,Hi:()=>Ie});var e=d(91159),f=d(5e3),g=d(90508),v=d(63191),m=d(69808),A=d(76360),s=d(8929),b=d(36787),R=d(72986),E=d(7625),h=d(1059),x=d(70925),k=d(15664),G=d(20449),X=d(93075),he=d(67322),re=d(50226);const Ne=["*"],Pe=new f.OlP("MatChipRemove"),se=new f.OlP("MatChipAvatar"),V=new f.OlP("MatChipTrailingIcon");class F{constructor(ze){this._elementRef=ze}}const W=(0,g.sb)((0,g.pj)((0,g.Kr)(F),"primary"),-1);let pe=(()=>{class Re extends W{constructor(fe,ve,We,nt,st,dt,L,de){super(fe),this._ngZone=ve,this._changeDetectorRef=st,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new s.xQ,this._onBlur=new s.xQ,this.selectionChange=new f.vpe,this.destroyed=new f.vpe,this.removed=new f.vpe,this._addHostClassName(),this._chipRippleTarget=dt.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new g.IR(this,ve,this._chipRippleTarget,We),this._chipRipple.setupTriggerEvents(fe),this.rippleConfig=nt||{},this._animationsDisabled="NoopAnimations"===L,this.tabIndex=null!=de&&parseInt(de)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(fe){const ve=(0,v.Ig)(fe);ve!==this._selected&&(this._selected=ve,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(fe){this._value=fe}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(fe){this._selectable=(0,v.Ig)(fe)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(fe){this._disabled=(0,v.Ig)(fe)}get removable(){return this._removable}set removable(fe){this._removable=(0,v.Ig)(fe)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const fe="mat-basic-chip",ve=this._elementRef.nativeElement;ve.hasAttribute(fe)||ve.tagName.toLowerCase()===fe?ve.classList.add(fe):ve.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(fe=!1){return this._selected=!this.selected,this._dispatchSelectionChange(fe),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(fe){this.disabled&&fe.preventDefault()}_handleKeydown(fe){if(!this.disabled)switch(fe.keyCode){case e.yY:case e.ZH:this.remove(),fe.preventDefault();break;case e.L_:this.selectable&&this.toggleSelected(!0),fe.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,R.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(fe=!1){this.selectionChange.emit({source:this,isUserInput:fe,selected:this._selected})}}return Re.\u0275fac=function(fe){return new(fe||Re)(f.Y36(f.SBq),f.Y36(f.R0b),f.Y36(x.t4),f.Y36(g.Y2,8),f.Y36(f.sBO),f.Y36(m.K0),f.Y36(A.Qb,8),f.$8M("tabindex"))},Re.\u0275dir=f.lG2({type:Re,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(fe,ve,We){if(1&fe&&(f.Suo(We,se,5),f.Suo(We,V,5),f.Suo(We,Pe,5)),2&fe){let nt;f.iGM(nt=f.CRH())&&(ve.avatar=nt.first),f.iGM(nt=f.CRH())&&(ve.trailingIcon=nt.first),f.iGM(nt=f.CRH())&&(ve.removeIcon=nt.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(fe,ve){1&fe&&f.NdJ("click",function(nt){return ve._handleClick(nt)})("keydown",function(nt){return ve._handleKeydown(nt)})("focus",function(){return ve.focus()})("blur",function(){return ve._blur()}),2&fe&&(f.uIk("tabindex",ve.disabled?null:ve.tabIndex)("disabled",ve.disabled||null)("aria-disabled",ve.disabled.toString())("aria-selected",ve.ariaSelected),f.ekj("mat-chip-selected",ve.selected)("mat-chip-with-avatar",ve.avatar)("mat-chip-with-trailing-icon",ve.trailingIcon||ve.removeIcon)("mat-chip-disabled",ve.disabled)("_mat-animation-noopable",ve._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[f.qOj]}),Re})();const Fe=new f.OlP("mat-chips-default-options");let ke=0,De=(()=>{class Re{constructor(fe,ve){this._elementRef=fe,this._defaultOptions=ve,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new f.vpe,this.placeholder="",this.id="mat-chip-list-input-"+ke++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(fe){fe&&(this._chipList=fe,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(fe){this._addOnBlur=(0,v.Ig)(fe)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(fe){this._disabled=(0,v.Ig)(fe)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(fe){if(fe){if(fe.keyCode===e.Mf&&!(0,e.Vb)(fe,"shiftKey")&&this._chipList._allowFocusEscape(),fe.keyCode===e.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void fe.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(fe)}_keyup(fe){!this._focusLastChipOnBackspace&&fe.keyCode===e.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,fe.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(fe){!this.inputElement.value&&!!fe&&this._chipList._keydown(fe),(!fe||this._isSeparatorKey(fe))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==fe||fe.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(fe){this.inputElement.focus(fe)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(fe){return!(0,e.Vb)(fe)&&new Set(this.separatorKeyCodes).has(fe.keyCode)}}return Re.\u0275fac=function(fe){return new(fe||Re)(f.Y36(f.SBq),f.Y36(Fe))},Re.\u0275dir=f.lG2({type:Re,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(fe,ve){1&fe&&f.NdJ("keydown",function(nt){return ve._keydown(nt)})("keyup",function(nt){return ve._keyup(nt)})("blur",function(){return ve._blur()})("focus",function(){return ve._focus()})("input",function(){return ve._onInput()}),2&fe&&(f.Ikx("id",ve.id),f.uIk("disabled",ve.disabled||null)("placeholder",ve.placeholder||null)("aria-invalid",ve._chipList&&ve._chipList.ngControl?ve._chipList.ngControl.invalid:null)("aria-required",ve._chipList&&ve._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[f.TTD]}),Re})();const be=(0,g.FD)(class{constructor(Re,ze,fe,ve){this._defaultErrorStateMatcher=Re,this._parentForm=ze,this._parentFormGroup=fe,this.ngControl=ve}});let z=0;class Ce{constructor(ze,fe){this.source=ze,this.value=fe}}let J=(()=>{class Re extends be{constructor(fe,ve,We,nt,st,dt,L){super(dt,nt,st,L),this._elementRef=fe,this._changeDetectorRef=ve,this._dir=We,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new s.xQ,this._uid="mat-chip-list-"+z++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(de,M)=>de===M,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new f.vpe,this.valueChange=new f.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var fe,ve;return this.multiple?(null===(fe=this._selectionModel)||void 0===fe?void 0:fe.selected)||[]:null===(ve=this._selectionModel)||void 0===ve?void 0:ve.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(fe){this._multiple=(0,v.Ig)(fe),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(fe){this._compareWith=fe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(fe){this.writeValue(fe),this._value=fe}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var fe,ve,We,nt;return null!==(nt=null!==(fe=this._required)&&void 0!==fe?fe:null===(We=null===(ve=this.ngControl)||void 0===ve?void 0:ve.control)||void 0===We?void 0:We.hasValidator(X.kI.required))&&void 0!==nt&&nt}set required(fe){this._required=(0,v.Ig)(fe),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(fe){this._placeholder=fe,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(fe){this._disabled=(0,v.Ig)(fe),this._syncChipsState()}get selectable(){return this._selectable}set selectable(fe){this._selectable=(0,v.Ig)(fe),this.chips&&this.chips.forEach(ve=>ve.chipListSelectable=this._selectable)}set tabIndex(fe){this._userTabIndex=fe,this._tabIndex=fe}get chipSelectionChanges(){return(0,b.T)(...this.chips.map(fe=>fe.selectionChange))}get chipFocusChanges(){return(0,b.T)(...this.chips.map(fe=>fe._onFocus))}get chipBlurChanges(){return(0,b.T)(...this.chips.map(fe=>fe._onBlur))}get chipRemoveChanges(){return(0,b.T)(...this.chips.map(fe=>fe.destroyed))}ngAfterContentInit(){this._keyManager=new k.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,E.R)(this._destroyed)).subscribe(fe=>this._keyManager.withHorizontalOrientation(fe)),this._keyManager.tabOut.pipe((0,E.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,h.O)(null),(0,E.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new G.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(fe){this._chipInput=fe,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",fe.id)}setDescribedByIds(fe){this._ariaDescribedby=fe.join(" ")}writeValue(fe){this.chips&&this._setSelectionByValue(fe,!1)}registerOnChange(fe){this._onChange=fe}registerOnTouched(fe){this._onTouched=fe}setDisabledState(fe){this.disabled=fe,this.stateChanges.next()}onContainerClick(fe){this._originatesFromChip(fe)||this.focus()}focus(fe){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(fe),this.stateChanges.next()))}_focusInput(fe){this._chipInput&&this._chipInput.focus(fe)}_keydown(fe){const ve=fe.target;ve&&ve.classList.contains("mat-chip")&&(this._keyManager.onKeydown(fe),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const fe=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(fe)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(fe){return fe>=0&&feWe.deselect()),Array.isArray(fe))fe.forEach(We=>this._selectValue(We,ve)),this._sortValues();else{const We=this._selectValue(fe,ve);We&&ve&&this._keyManager.setActiveItem(We)}}_selectValue(fe,ve=!0){const We=this.chips.find(nt=>null!=nt.value&&this._compareWith(nt.value,fe));return We&&(ve?We.selectViaInteraction():We.select(),this._selectionModel.select(We)),We}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(fe){this._selectionModel.clear(),this.chips.forEach(ve=>{ve!==fe&&ve.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(fe=>{fe.selected&&this._selectionModel.select(fe)}),this.stateChanges.next())}_propagateChanges(fe){let ve=null;ve=Array.isArray(this.selected)?this.selected.map(We=>We.value):this.selected?this.selected.value:fe,this._value=ve,this.change.emit(new Ce(this,ve)),this.valueChange.emit(ve),this._onChange(ve),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(fe=>{fe.source.selected?this._selectionModel.select(fe.source):this._selectionModel.deselect(fe.source),this.multiple||this.chips.forEach(ve=>{!this._selectionModel.isSelected(ve)&&ve.selected&&ve.deselect()}),fe.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(fe=>{let ve=this.chips.toArray().indexOf(fe.chip);this._isValidIndex(ve)&&this._keyManager.updateActiveItem(ve),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(fe=>{const ve=fe.chip,We=this.chips.toArray().indexOf(fe.chip);this._isValidIndex(We)&&ve._hasFocus&&(this._lastDestroyedChipIndex=We)})}_originatesFromChip(fe){let ve=fe.target;for(;ve&&ve!==this._elementRef.nativeElement;){if(ve.classList.contains("mat-chip"))return!0;ve=ve.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(fe=>fe._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(fe=>{fe._chipListDisabled=this._disabled,fe._chipListMultiple=this.multiple})}}return Re.\u0275fac=function(fe){return new(fe||Re)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(re.Is,8),f.Y36(X.F,8),f.Y36(X.sg,8),f.Y36(g.rD),f.Y36(X.a5,10))},Re.\u0275cmp=f.Xpm({type:Re,selectors:[["mat-chip-list"]],contentQueries:function(fe,ve,We){if(1&fe&&f.Suo(We,pe,5),2&fe){let nt;f.iGM(nt=f.CRH())&&(ve.chips=nt)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(fe,ve){1&fe&&f.NdJ("focus",function(){return ve.focus()})("blur",function(){return ve._blur()})("keydown",function(nt){return ve._keydown(nt)}),2&fe&&(f.Ikx("id",ve._uid),f.uIk("tabindex",ve.disabled?null:ve._tabIndex)("aria-describedby",ve._ariaDescribedby||null)("aria-required",ve.role?ve.required:null)("aria-disabled",ve.disabled.toString())("aria-invalid",ve.errorState)("aria-multiselectable",ve.multiple)("role",ve.role)("aria-orientation",ve.ariaOrientation),f.ekj("mat-chip-list-disabled",ve.disabled)("mat-chip-list-invalid",ve.errorState)("mat-chip-list-required",ve.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[f._Bn([{provide:he.Eo,useExisting:Re}]),f.qOj],ngContentSelectors:Ne,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(fe,ve){1&fe&&(f.F$t(),f.TgZ(0,"div",0),f.Hsn(1),f.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),Re})(),Ie=(()=>{class Re{}return Re.\u0275fac=function(fe){return new(fe||Re)},Re.\u0275mod=f.oAB({type:Re}),Re.\u0275inj=f.cJS({providers:[g.rD,{provide:Fe,useValue:{separatorKeyCodes:[e.K5]}}],imports:[[g.BQ]]}),Re})()},90508:(Ze,ge,d)=>{"use strict";d.d(ge,{yN:()=>ce,mZ:()=>Pe,_A:()=>J,rD:()=>st,sG:()=>I,K7:()=>St,HF:()=>T,Y2:()=>o,BQ:()=>F,X2:()=>dt,uc:()=>M,XK:()=>We,ey:()=>at,Ng:()=>xt,rN:()=>Vt,nP:()=>c,us:()=>p,wG:()=>t,si:()=>i,LF:()=>ze,IR:()=>n,CB:()=>Ut,jH:()=>gt,pj:()=>Be,Kr:()=>Fe,Id:()=>pe,FD:()=>De,dB:()=>be,sb:()=>ke,E0:()=>L});var e=d(5e3),f=d(50226),v=d(69808),m=d(70925),A=d(15664),s=d(63191),b=d(8929),R=d(56498),E=d(1059),h=d(76360),x=d(91159);function X(Ve,$e){if(1&Ve&&e._UZ(0,"mat-pseudo-checkbox",4),2&Ve){const oe=e.oxw();e.Q6J("state",oe.selected?"checked":"unchecked")("disabled",oe.disabled)}}function he(Ve,$e){if(1&Ve&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&Ve){const oe=e.oxw();e.xp6(1),e.hij("(",oe.group.label,")")}}const re=["*"];let ce=(()=>{class Ve{}return Ve.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",Ve.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",Ve.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",Ve.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",Ve})(),Pe=(()=>{class Ve{}return Ve.COMPLEX="375ms",Ve.ENTERING="225ms",Ve.EXITING="195ms",Ve})();const V=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function se(){return!0}});let F=(()=>{class Ve{constructor(oe,H,ee){this._sanityChecks=H,this._document=ee,this._hasDoneGlobalChecks=!1,oe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(oe){return!(0,m.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[oe])}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(e.LFG(A.qm),e.LFG(V,8),e.LFG(v.K0))},Ve.\u0275mod=e.oAB({type:Ve}),Ve.\u0275inj=e.cJS({imports:[[f.vT],f.vT]}),Ve})();function pe(Ve){return class extends Ve{constructor(...$e){super(...$e),this._disabled=!1}get disabled(){return this._disabled}set disabled($e){this._disabled=(0,s.Ig)($e)}}}function Be(Ve,$e){return class extends Ve{constructor(...oe){super(...oe),this.defaultColor=$e,this.color=$e}get color(){return this._color}set color(oe){const H=oe||this.defaultColor;H!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),H&&this._elementRef.nativeElement.classList.add(`mat-${H}`),this._color=H)}}}function Fe(Ve){return class extends Ve{constructor(...$e){super(...$e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple($e){this._disableRipple=(0,s.Ig)($e)}}}function ke(Ve,$e=0){return class extends Ve{constructor(...oe){super(...oe),this._tabIndex=$e,this.defaultTabIndex=$e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(oe){this._tabIndex=null!=oe?(0,s.su)(oe):this.defaultTabIndex}}}function De(Ve){return class extends Ve{constructor(...$e){super(...$e),this.stateChanges=new b.xQ,this.errorState=!1}updateErrorState(){const $e=this.errorState,Y=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Y!==$e&&(this.errorState=Y,this.stateChanges.next())}}}function be(Ve){return class extends Ve{constructor(...$e){super(...$e),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new R.y(oe=>{this._isInitialized?this._notifySubscriber(oe):this._pendingSubscribers.push(oe)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber($e){$e.next(),$e.complete()}}}const z=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Ce(){return(0,e.f3M)(e.soG)}});class J{constructor(){this._localeChanges=new b.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull($e){return this.isDateInstance($e)&&this.isValid($e)?$e:null}deserialize($e){return null==$e||this.isDateInstance($e)&&this.isValid($e)?$e:this.invalid()}setLocale($e){this.locale=$e,this._localeChanges.next()}compareDate($e,oe){return this.getYear($e)-this.getYear(oe)||this.getMonth($e)-this.getMonth(oe)||this.getDate($e)-this.getDate(oe)}sameDate($e,oe){if($e&&oe){let H=this.isValid($e),ee=this.isValid(oe);return H&&ee?!this.compareDate($e,oe):H==ee}return $e==oe}clampDate($e,oe,H){return oe&&this.compareDate($e,oe)<0?oe:H&&this.compareDate($e,H)>0?H:$e}}const I=new e.OlP("mat-date-formats"),Ie=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Re(Ve,$e){const oe=Array(Ve);for(let H=0;H{class Ve extends J{constructor(oe,H){super(),this.useUtcForDisplay=!1,super.setLocale(oe)}getYear(oe){return oe.getFullYear()}getMonth(oe){return oe.getMonth()}getDate(oe){return oe.getDate()}getDayOfWeek(oe){return oe.getDay()}getMonthNames(oe){const H=new Intl.DateTimeFormat(this.locale,{month:oe,timeZone:"utc"});return Re(12,ee=>this._format(H,new Date(2017,ee,1)))}getDateNames(){const oe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Re(31,H=>this._format(oe,new Date(2017,0,H+1)))}getDayOfWeekNames(oe){const H=new Intl.DateTimeFormat(this.locale,{weekday:oe,timeZone:"utc"});return Re(7,ee=>this._format(H,new Date(2017,0,ee+1)))}getYearName(oe){const H=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(H,oe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(oe){return this.getDate(this._createDateWithOverflow(this.getYear(oe),this.getMonth(oe)+1,0))}clone(oe){return new Date(oe.getTime())}createDate(oe,H,ee){let Y=this._createDateWithOverflow(oe,H,ee);return Y.getMonth(),Y}today(){return new Date}parse(oe){return"number"==typeof oe?new Date(oe):oe?new Date(Date.parse(oe)):null}format(oe,H){if(!this.isValid(oe))throw Error("NativeDateAdapter: Cannot format invalid date.");const ee=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},H),{timeZone:"utc"}));return this._format(ee,oe)}addCalendarYears(oe,H){return this.addCalendarMonths(oe,12*H)}addCalendarMonths(oe,H){let ee=this._createDateWithOverflow(this.getYear(oe),this.getMonth(oe)+H,this.getDate(oe));return this.getMonth(ee)!=((this.getMonth(oe)+H)%12+12)%12&&(ee=this._createDateWithOverflow(this.getYear(ee),this.getMonth(ee),0)),ee}addCalendarDays(oe,H){return this._createDateWithOverflow(this.getYear(oe),this.getMonth(oe),this.getDate(oe)+H)}toIso8601(oe){return[oe.getUTCFullYear(),this._2digit(oe.getUTCMonth()+1),this._2digit(oe.getUTCDate())].join("-")}deserialize(oe){if("string"==typeof oe){if(!oe)return null;if(Ie.test(oe)){let H=new Date(oe);if(this.isValid(H))return H}}return super.deserialize(oe)}isDateInstance(oe){return oe instanceof Date}isValid(oe){return!isNaN(oe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(oe,H,ee){const Y=new Date;return Y.setFullYear(oe,H,ee),Y.setHours(0,0,0,0),Y}_2digit(oe){return("00"+oe).slice(-2)}_format(oe,H){const ee=new Date;return ee.setUTCFullYear(H.getFullYear(),H.getMonth(),H.getDate()),ee.setUTCHours(H.getHours(),H.getMinutes(),H.getSeconds(),H.getMilliseconds()),oe.format(ee)}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(e.LFG(z,8),e.LFG(m.t4))},Ve.\u0275prov=e.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})();const fe={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let ve=(()=>{class Ve{}return Ve.\u0275fac=function(oe){return new(oe||Ve)},Ve.\u0275mod=e.oAB({type:Ve}),Ve.\u0275inj=e.cJS({providers:[{provide:J,useClass:ze}],imports:[[m.ud]]}),Ve})(),We=(()=>{class Ve{}return Ve.\u0275fac=function(oe){return new(oe||Ve)},Ve.\u0275mod=e.oAB({type:Ve}),Ve.\u0275inj=e.cJS({providers:[{provide:I,useValue:fe}],imports:[[ve]]}),Ve})(),st=(()=>{class Ve{isErrorState(oe,H){return!!(oe&&oe.invalid&&(oe.touched||H&&H.submitted))}}return Ve.\u0275fac=function(oe){return new(oe||Ve)},Ve.\u0275prov=e.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Ve})(),dt=(()=>{class Ve{}return Ve.\u0275fac=function(oe){return new(oe||Ve)},Ve.\u0275dir=e.lG2({type:Ve,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Ve})();function L(Ve,$e,oe="mat"){Ve.changes.pipe((0,E.O)(Ve)).subscribe(({length:H})=>{de($e,`${oe}-2-line`,!1),de($e,`${oe}-3-line`,!1),de($e,`${oe}-multi-line`,!1),2===H||3===H?de($e,`${oe}-${H}-line`,!0):H>3&&de($e,`${oe}-multi-line`,!0)})}function de(Ve,$e,oe){Ve.nativeElement.classList.toggle($e,oe)}let M=(()=>{class Ve{}return Ve.\u0275fac=function(oe){return new(oe||Ve)},Ve.\u0275mod=e.oAB({type:Ve}),Ve.\u0275inj=e.cJS({imports:[[F],F]}),Ve})();class S{constructor($e,oe,H){this._renderer=$e,this.element=oe,this.config=H,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const P={enterDuration:225,exitDuration:150},ne=(0,m.i$)({passive:!0}),j=["mousedown","touchstart"],Te=["mouseup","mouseleave","touchend","touchcancel"];class n{constructor($e,oe,H,ee){this._target=$e,this._ngZone=oe,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,ee.isBrowser&&(this._containerElement=(0,s.fI)(H))}fadeInRipple($e,oe,H={}){const ee=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Y=Object.assign(Object.assign({},P),H.animation);H.centered&&($e=ee.left+ee.width/2,oe=ee.top+ee.height/2);const Le=H.radius||function u(Ve,$e,oe){const H=Math.max(Math.abs(Ve-oe.left),Math.abs(Ve-oe.right)),ee=Math.max(Math.abs($e-oe.top),Math.abs($e-oe.bottom));return Math.sqrt(H*H+ee*ee)}($e,oe,ee),Ye=$e-ee.left,mt=oe-ee.top,Ht=Y.enterDuration,qt=document.createElement("div");qt.classList.add("mat-ripple-element"),qt.style.left=Ye-Le+"px",qt.style.top=mt-Le+"px",qt.style.height=2*Le+"px",qt.style.width=2*Le+"px",null!=H.color&&(qt.style.backgroundColor=H.color),qt.style.transitionDuration=`${Ht}ms`,this._containerElement.appendChild(qt),function r(Ve){window.getComputedStyle(Ve).getPropertyValue("opacity")}(qt),qt.style.transform="scale(1)";const Dt=new S(this,qt,H);return Dt.state=0,this._activeRipples.add(Dt),H.persistent||(this._mostRecentTransientRipple=Dt),this._runTimeoutOutsideZone(()=>{const wt=Dt===this._mostRecentTransientRipple;Dt.state=1,!H.persistent&&(!wt||!this._isPointerDown)&&Dt.fadeOut()},Ht),Dt}fadeOutRipple($e){const oe=this._activeRipples.delete($e);if($e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!oe)return;const H=$e.element,ee=Object.assign(Object.assign({},P),$e.config.animation);H.style.transitionDuration=`${ee.exitDuration}ms`,H.style.opacity="0",$e.state=2,this._runTimeoutOutsideZone(()=>{$e.state=3,H.remove()},ee.exitDuration)}fadeOutAll(){this._activeRipples.forEach($e=>$e.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach($e=>{$e.config.persistent||$e.fadeOut()})}setupTriggerEvents($e){const oe=(0,s.fI)($e);!oe||oe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=oe,this._registerEvents(j))}handleEvent($e){"mousedown"===$e.type?this._onMousedown($e):"touchstart"===$e.type?this._onTouchStart($e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Te),this._pointerUpEventsRegistered=!0)}_onMousedown($e){const oe=(0,A.X6)($e),H=this._lastTouchStartEvent&&Date.now(){!$e.config.persistent&&(1===$e.state||$e.config.terminateOnPointerUp&&0===$e.state)&&$e.fadeOut()}))}_runTimeoutOutsideZone($e,oe=0){this._ngZone.runOutsideAngular(()=>setTimeout($e,oe))}_registerEvents($e){this._ngZone.runOutsideAngular(()=>{$e.forEach(oe=>{this._triggerElement.addEventListener(oe,this,ne)})})}_removeTriggerEvents(){this._triggerElement&&(j.forEach($e=>{this._triggerElement.removeEventListener($e,this,ne)}),this._pointerUpEventsRegistered&&Te.forEach($e=>{this._triggerElement.removeEventListener($e,this,ne)}))}}const o=new e.OlP("mat-ripple-global-options");let t=(()=>{class Ve{constructor(oe,H,ee,Y,Le){this._elementRef=oe,this._animationMode=Le,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Y||{},this._rippleRenderer=new n(this,H,oe,ee)}get disabled(){return this._disabled}set disabled(oe){oe&&this.fadeOutAllNonPersistent(),this._disabled=oe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(oe){this._trigger=oe,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(oe,H=0,ee){return"number"==typeof oe?this._rippleRenderer.fadeInRipple(oe,H,Object.assign(Object.assign({},this.rippleConfig),ee)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),oe))}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(m.t4),e.Y36(o,8),e.Y36(h.Qb,8))},Ve.\u0275dir=e.lG2({type:Ve,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(oe,H){2&oe&&e.ekj("mat-ripple-unbounded",H.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Ve})(),i=(()=>{class Ve{}return Ve.\u0275fac=function(oe){return new(oe||Ve)},Ve.\u0275mod=e.oAB({type:Ve}),Ve.\u0275inj=e.cJS({imports:[[F,m.ud],F]}),Ve})(),c=(()=>{class Ve{constructor(oe){this._animationMode=oe,this.state="unchecked",this.disabled=!1}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(e.Y36(h.Qb,8))},Ve.\u0275cmp=e.Xpm({type:Ve,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(oe,H){2&oe&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===H.state)("mat-pseudo-checkbox-checked","checked"===H.state)("mat-pseudo-checkbox-disabled",H.disabled)("_mat-animation-noopable","NoopAnimations"===H._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(oe,H){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),Ve})(),p=(()=>{class Ve{}return Ve.\u0275fac=function(oe){return new(oe||Ve)},Ve.\u0275mod=e.oAB({type:Ve}),Ve.\u0275inj=e.cJS({imports:[[F]]}),Ve})();const T=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),St=new e.OlP("MatOptgroup");let It=0;class Vt{constructor($e,oe=!1){this.source=$e,this.isUserInput=oe}}let Mt=(()=>{class Ve{constructor(oe,H,ee,Y){this._element=oe,this._changeDetectorRef=H,this._parent=ee,this.group=Y,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+It++,this.onSelectionChange=new e.vpe,this._stateChanges=new b.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(oe){this._disabled=(0,s.Ig)(oe)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(oe,H){const ee=this._getHostElement();"function"==typeof ee.focus&&ee.focus(H)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(oe){(oe.keyCode===x.K5||oe.keyCode===x.L_)&&!(0,x.Vb)(oe)&&(this._selectViaInteraction(),oe.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const oe=this.viewValue;oe!==this._mostRecentViewValue&&(this._mostRecentViewValue=oe,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(oe=!1){this.onSelectionChange.emit(new Vt(this,oe))}}return Ve.\u0275fac=function(oe){e.$Z()},Ve.\u0275dir=e.lG2({type:Ve,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Ve})(),at=(()=>{class Ve extends Mt{constructor(oe,H,ee,Y){super(oe,H,ee,Y)}}return Ve.\u0275fac=function(oe){return new(oe||Ve)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(T,8),e.Y36(St,8))},Ve.\u0275cmp=e.Xpm({type:Ve,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(oe,H){1&oe&&e.NdJ("click",function(){return H._selectViaInteraction()})("keydown",function(Y){return H._handleKeydown(Y)}),2&oe&&(e.Ikx("id",H.id),e.uIk("tabindex",H._getTabIndex())("aria-selected",H._getAriaSelected())("aria-disabled",H.disabled.toString()),e.ekj("mat-selected",H.selected)("mat-option-multiple",H.multiple)("mat-active",H.active)("mat-option-disabled",H.disabled))},exportAs:["matOption"],features:[e.qOj],ngContentSelectors:re,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(oe,H){1&oe&&(e.F$t(),e.YNc(0,X,1,2,"mat-pseudo-checkbox",0),e.TgZ(1,"span",1),e.Hsn(2),e.qZA(),e.YNc(3,he,2,1,"span",2),e._UZ(4,"div",3)),2&oe&&(e.Q6J("ngIf",H.multiple),e.xp6(3),e.Q6J("ngIf",H.group&&H.group._inert),e.xp6(1),e.Q6J("matRippleTrigger",H._getHostElement())("matRippleDisabled",H.disabled||H.disableRipple))},directives:[c,v.O5,t],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Ve})();function Ut(Ve,$e,oe){if(oe.length){let H=$e.toArray(),ee=oe.toArray(),Y=0;for(let Le=0;Leoe+H?Math.max(0,Ve-H+$e):oe}let xt=(()=>{class Ve{}return Ve.\u0275fac=function(oe){return new(oe||Ve)},Ve.\u0275mod=e.oAB({type:Ve}),Ve.\u0275inj=e.cJS({imports:[[i,v.ez,F,p]]}),Ve})()},86856:(Ze,ge,d)=>{"use strict";d.d(ge,{Mq:()=>mt,hl:()=>Ot,FA:()=>tt,nW:()=>li});var e=d(15664),f=d(92845),g=d(47429),v=d(69808),m=d(5e3),A=d(47423),s=d(53435),b=d(90508),R=d(8929),E=d(42654),h=d(36787),x=d(21086),k=d(91159),G=d(72986),X=d(1059),he=d(92198),re=d(50226),Ne=d(63191),ce=d(70925),Pe=d(41777),se=d(93075),V=d(67322),F=d(98833);const W=["mat-calendar-body",""];function te(He,Qe){if(1&He&&(m.TgZ(0,"tr",2),m.TgZ(1,"td",3),m._uU(2),m.qZA(),m.qZA()),2&He){const D=m.oxw();m.xp6(1),m.Udp("padding-top",D._cellPadding)("padding-bottom",D._cellPadding),m.uIk("colspan",D.numCols),m.xp6(1),m.hij(" ",D.label," ")}}function ae(He,Qe){if(1&He&&(m.TgZ(0,"td",3),m._uU(1),m.qZA()),2&He){const D=m.oxw(2);m.Udp("padding-top",D._cellPadding)("padding-bottom",D._cellPadding),m.uIk("colspan",D._firstRowOffset),m.xp6(1),m.hij(" ",D._firstRowOffset>=D.labelMinRequiredCells?D.label:""," ")}}function pe(He,Qe){if(1&He){const D=m.EpF();m.TgZ(0,"td",7),m.TgZ(1,"button",8),m.NdJ("click",function(Xe){const Jt=m.CHM(D).$implicit;return m.oxw(2)._cellClicked(Jt,Xe)}),m.TgZ(2,"div",9),m._uU(3),m.qZA(),m._UZ(4,"div",10),m.qZA(),m.qZA()}if(2&He){const D=Qe.$implicit,ue=Qe.index,Xe=m.oxw().index,bt=m.oxw();m.Udp("width",bt._cellWidth)("padding-top",bt._cellPadding)("padding-bottom",bt._cellPadding),m.uIk("data-mat-row",Xe)("data-mat-col",ue),m.xp6(1),m.ekj("mat-calendar-body-disabled",!D.enabled)("mat-calendar-body-active",bt._isActiveCell(Xe,ue))("mat-calendar-body-range-start",bt._isRangeStart(D.compareValue))("mat-calendar-body-range-end",bt._isRangeEnd(D.compareValue))("mat-calendar-body-in-range",bt._isInRange(D.compareValue))("mat-calendar-body-comparison-bridge-start",bt._isComparisonBridgeStart(D.compareValue,Xe,ue))("mat-calendar-body-comparison-bridge-end",bt._isComparisonBridgeEnd(D.compareValue,Xe,ue))("mat-calendar-body-comparison-start",bt._isComparisonStart(D.compareValue))("mat-calendar-body-comparison-end",bt._isComparisonEnd(D.compareValue))("mat-calendar-body-in-comparison-range",bt._isInComparisonRange(D.compareValue))("mat-calendar-body-preview-start",bt._isPreviewStart(D.compareValue))("mat-calendar-body-preview-end",bt._isPreviewEnd(D.compareValue))("mat-calendar-body-in-preview",bt._isInPreview(D.compareValue)),m.Q6J("ngClass",D.cssClasses)("tabindex",bt._isActiveCell(Xe,ue)?0:-1),m.uIk("aria-label",D.ariaLabel)("aria-disabled",!D.enabled||null)("aria-pressed",bt._isSelected(D.compareValue))("aria-current",bt.todayValue===D.compareValue?"date":null),m.xp6(1),m.ekj("mat-calendar-body-selected",bt._isSelected(D.compareValue))("mat-calendar-body-comparison-identical",bt._isComparisonIdentical(D.compareValue))("mat-calendar-body-today",bt.todayValue===D.compareValue),m.xp6(1),m.hij(" ",D.displayValue," ")}}function Be(He,Qe){if(1&He&&(m.TgZ(0,"tr",4),m.YNc(1,ae,2,6,"td",5),m.YNc(2,pe,5,47,"td",6),m.qZA()),2&He){const D=Qe.$implicit,ue=Qe.index,Xe=m.oxw();m.xp6(1),m.Q6J("ngIf",0===ue&&Xe._firstRowOffset),m.xp6(1),m.Q6J("ngForOf",D)}}function Fe(He,Qe){if(1&He&&(m.TgZ(0,"th",5),m._uU(1),m.qZA()),2&He){const D=Qe.$implicit;m.uIk("aria-label",D.long),m.xp6(1),m.hij(" ",D.narrow," ")}}const ke=["*"];function De(He,Qe){}function be(He,Qe){if(1&He){const D=m.EpF();m.TgZ(0,"mat-month-view",5),m.NdJ("activeDateChange",function(Xe){return m.CHM(D),m.oxw().activeDate=Xe})("_userSelection",function(Xe){return m.CHM(D),m.oxw()._dateSelected(Xe)}),m.qZA()}if(2&He){const D=m.oxw();m.Q6J("activeDate",D.activeDate)("selected",D.selected)("dateFilter",D.dateFilter)("maxDate",D.maxDate)("minDate",D.minDate)("dateClass",D.dateClass)("comparisonStart",D.comparisonStart)("comparisonEnd",D.comparisonEnd)}}function z(He,Qe){if(1&He){const D=m.EpF();m.TgZ(0,"mat-year-view",6),m.NdJ("activeDateChange",function(Xe){return m.CHM(D),m.oxw().activeDate=Xe})("monthSelected",function(Xe){return m.CHM(D),m.oxw()._monthSelectedInYearView(Xe)})("selectedChange",function(Xe){return m.CHM(D),m.oxw()._goToDateInView(Xe,"month")}),m.qZA()}if(2&He){const D=m.oxw();m.Q6J("activeDate",D.activeDate)("selected",D.selected)("dateFilter",D.dateFilter)("maxDate",D.maxDate)("minDate",D.minDate)("dateClass",D.dateClass)}}function Ce(He,Qe){if(1&He){const D=m.EpF();m.TgZ(0,"mat-multi-year-view",7),m.NdJ("activeDateChange",function(Xe){return m.CHM(D),m.oxw().activeDate=Xe})("yearSelected",function(Xe){return m.CHM(D),m.oxw()._yearSelectedInMultiYearView(Xe)})("selectedChange",function(Xe){return m.CHM(D),m.oxw()._goToDateInView(Xe,"year")}),m.qZA()}if(2&He){const D=m.oxw();m.Q6J("activeDate",D.activeDate)("selected",D.selected)("dateFilter",D.dateFilter)("maxDate",D.maxDate)("minDate",D.minDate)("dateClass",D.dateClass)}}function J(He,Qe){}const I=["button"];function Ie(He,Qe){1&He&&(m.O4$(),m.TgZ(0,"svg",3),m._UZ(1,"path",4),m.qZA())}const Re=[[["","matDatepickerToggleIcon",""]]],ze=["[matDatepickerToggleIcon]"];class st{constructor(Qe,D,ue,Xe,bt={},Jt=Qe,ti){this.value=Qe,this.displayValue=D,this.ariaLabel=ue,this.enabled=Xe,this.cssClasses=bt,this.compareValue=Jt,this.rawValue=ti}}let dt=(()=>{class He{constructor(D,ue){this._elementRef=D,this._ngZone=ue,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new m.vpe,this.previewChange=new m.vpe,this._enterHandler=Xe=>{if(this._skipNextFocus&&"focus"===Xe.type)this._skipNextFocus=!1;else if(Xe.target&&this.isRange){const bt=this._getCellFromElement(Xe.target);bt&&this._ngZone.run(()=>this.previewChange.emit({value:bt.enabled?bt:null,event:Xe}))}},this._leaveHandler=Xe=>{null!==this.previewEnd&&this.isRange&&Xe.target&&this._getCellFromElement(Xe.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Xe}))},ue.runOutsideAngular(()=>{const Xe=D.nativeElement;Xe.addEventListener("mouseenter",this._enterHandler,!0),Xe.addEventListener("focus",this._enterHandler,!0),Xe.addEventListener("mouseleave",this._leaveHandler,!0),Xe.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(D,ue){D.enabled&&this.selectedValueChange.emit({value:D.value,event:ue})}_isSelected(D){return this.startValue===D||this.endValue===D}ngOnChanges(D){const ue=D.numCols,{rows:Xe,numCols:bt}=this;(D.rows||ue)&&(this._firstRowOffset=Xe&&Xe.length&&Xe[0].length?bt-Xe[0].length:0),(D.cellAspectRatio||ue||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/bt+"%"),(ue||!this._cellWidth)&&(this._cellWidth=100/bt+"%")}ngOnDestroy(){const D=this._elementRef.nativeElement;D.removeEventListener("mouseenter",this._enterHandler,!0),D.removeEventListener("focus",this._enterHandler,!0),D.removeEventListener("mouseleave",this._leaveHandler,!0),D.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(D,ue){let Xe=D*this.numCols+ue;return D&&(Xe-=this._firstRowOffset),Xe==this.activeCell}_focusActiveCell(D=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,G.q)(1)).subscribe(()=>{const ue=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");ue&&(D||(this._skipNextFocus=!0),ue.focus())})})}_isRangeStart(D){return de(D,this.startValue,this.endValue)}_isRangeEnd(D){return M(D,this.startValue,this.endValue)}_isInRange(D){return S(D,this.startValue,this.endValue,this.isRange)}_isComparisonStart(D){return de(D,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(D,ue,Xe){if(!this._isComparisonStart(D)||this._isRangeStart(D)||!this._isInRange(D))return!1;let bt=this.rows[ue][Xe-1];if(!bt){const Jt=this.rows[ue-1];bt=Jt&&Jt[Jt.length-1]}return bt&&!this._isRangeEnd(bt.compareValue)}_isComparisonBridgeEnd(D,ue,Xe){if(!this._isComparisonEnd(D)||this._isRangeEnd(D)||!this._isInRange(D))return!1;let bt=this.rows[ue][Xe+1];if(!bt){const Jt=this.rows[ue+1];bt=Jt&&Jt[0]}return bt&&!this._isRangeStart(bt.compareValue)}_isComparisonEnd(D){return M(D,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(D){return S(D,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(D){return this.comparisonStart===this.comparisonEnd&&D===this.comparisonStart}_isPreviewStart(D){return de(D,this.previewStart,this.previewEnd)}_isPreviewEnd(D){return M(D,this.previewStart,this.previewEnd)}_isInPreview(D){return S(D,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(D){let ue;if(L(D)?ue=D:L(D.parentNode)&&(ue=D.parentNode),ue){const Xe=ue.getAttribute("data-mat-row"),bt=ue.getAttribute("data-mat-col");if(Xe&&bt)return this.rows[parseInt(Xe)][parseInt(bt)]}return null}}return He.\u0275fac=function(D){return new(D||He)(m.Y36(m.SBq),m.Y36(m.R0b))},He.\u0275cmp=m.Xpm({type:He,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[m.TTD],attrs:W,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(D,ue){1&D&&(m.YNc(0,te,3,6,"tr",0),m.YNc(1,Be,3,2,"tr",1)),2&D&&(m.Q6J("ngIf",ue._firstRowOffset.mat-calendar-body-cell-content,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content{outline:dotted 2px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected{outline:solid 3px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],encapsulation:2,changeDetection:0}),He})();function L(He){return"TD"===He.nodeName}function de(He,Qe,D){return null!==D&&Qe!==D&&He=Qe&&He===D}function S(He,Qe,D,ue){return ue&&null!==Qe&&null!==D&&Qe!==D&&He>=Qe&&He<=D}class P{constructor(Qe,D){this.start=Qe,this.end=D}}let N=(()=>{class He{constructor(D,ue){this.selection=D,this._adapter=ue,this._selectionChanged=new R.xQ,this.selectionChanged=this._selectionChanged,this.selection=D}updateSelection(D,ue){const Xe=this.selection;this.selection=D,this._selectionChanged.next({selection:D,source:ue,oldValue:Xe})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(D){return this._adapter.isDateInstance(D)&&this._adapter.isValid(D)}}return He.\u0275fac=function(D){m.$Z()},He.\u0275prov=m.Yz7({token:He,factory:He.\u0275fac}),He})(),ne=(()=>{class He extends N{constructor(D){super(null,D)}add(D){super.updateSelection(D,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const D=new He(this._adapter);return D.updateSelection(this.selection,this),D}}return He.\u0275fac=function(D){return new(D||He)(m.LFG(b._A))},He.\u0275prov=m.Yz7({token:He,factory:He.\u0275fac}),He})();const n={provide:N,deps:[[new m.FiY,new m.tp0,N],b._A],useFactory:function Te(He,Qe){return He||new ne(Qe)}},o=new m.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let T=(()=>{class He{constructor(D,ue,Xe,bt,Jt){this._changeDetectorRef=D,this._dateFormats=ue,this._dateAdapter=Xe,this._dir=bt,this._rangeStrategy=Jt,this._rerenderSubscription=E.w.EMPTY,this.selectedChange=new m.vpe,this._userSelection=new m.vpe,this.activeDateChange=new m.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(D){const ue=this._activeDate,Xe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Xe,this.minDate,this.maxDate),this._hasSameMonthAndYear(ue,this._activeDate)||this._init()}get selected(){return this._selected}set selected(D){this._selected=D instanceof P?D:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(D){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D))}get maxDate(){return this._maxDate}set maxDate(D){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,X.O)(null)).subscribe(()=>this._init())}ngOnChanges(D){const ue=D.comparisonStart||D.comparisonEnd;ue&&!ue.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(D){const ue=D.value,Xe=this._dateAdapter.getYear(this.activeDate),bt=this._dateAdapter.getMonth(this.activeDate),Jt=this._dateAdapter.createDate(Xe,bt,ue);let ti,bi;this._selected instanceof P?(ti=this._getDateInCurrentMonth(this._selected.start),bi=this._getDateInCurrentMonth(this._selected.end)):ti=bi=this._getDateInCurrentMonth(this._selected),(ti!==ue||bi!==ue)&&this.selectedChange.emit(Jt),this._userSelection.emit({value:Jt,event:D.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(D){const ue=this._activeDate,Xe=this._isRtl();switch(D.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Xe?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Xe?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case k.Ku:this.activeDate=D.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case k.VM:this.activeDate=D.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case k.K5:case k.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&D.preventDefault());case k.hY:return void(null!=this._previewEnd&&!(0,k.Vb)(D)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:D}),D.preventDefault(),D.stopPropagation()));default:return}this._dateAdapter.compareDate(ue,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),D.preventDefault()}_handleCalendarBodyKeyup(D){(D.keyCode===k.L_||D.keyCode===k.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:D}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let D=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(D)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(D){this._matCalendarBody._focusActiveCell(D)}_previewChanged({event:D,value:ue}){if(this._rangeStrategy){const bt=this._rangeStrategy.createPreview(ue?ue.rawValue:null,this.selected,D);this._previewStart=this._getCellCompareValue(bt.start),this._previewEnd=this._getCellCompareValue(bt.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const D=this._dateAdapter.getFirstDayOfWeek(),ue=this._dateAdapter.getDayOfWeekNames("narrow");let bt=this._dateAdapter.getDayOfWeekNames("long").map((Jt,ti)=>({long:Jt,narrow:ue[ti]}));this._weekdays=bt.slice(D).concat(bt.slice(0,D))}_createWeekCells(){const D=this._dateAdapter.getNumDaysInMonth(this.activeDate),ue=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Xe=0,bt=this._firstWeekOffset;Xe=0)&&(!this.maxDate||this._dateAdapter.compareDate(D,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(D))}_getDateInCurrentMonth(D){return D&&this._hasSameMonthAndYear(D,this.activeDate)?this._dateAdapter.getDate(D):null}_hasSameMonthAndYear(D,ue){return!(!D||!ue||this._dateAdapter.getMonth(D)!=this._dateAdapter.getMonth(ue)||this._dateAdapter.getYear(D)!=this._dateAdapter.getYear(ue))}_getCellCompareValue(D){if(D){const ue=this._dateAdapter.getYear(D),Xe=this._dateAdapter.getMonth(D),bt=this._dateAdapter.getDate(D);return new Date(ue,Xe,bt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(D){D instanceof P?(this._rangeStart=this._getCellCompareValue(D.start),this._rangeEnd=this._getCellCompareValue(D.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(D),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(D){return!this.dateFilter||this.dateFilter(D)}}return He.\u0275fac=function(D){return new(D||He)(m.Y36(m.sBO),m.Y36(b.sG,8),m.Y36(b._A,8),m.Y36(re.Is,8),m.Y36(o,8))},He.\u0275cmp=m.Xpm({type:He,selectors:[["mat-month-view"]],viewQuery:function(D,ue){if(1&D&&m.Gf(dt,5),2&D){let Xe;m.iGM(Xe=m.CRH())&&(ue._matCalendarBody=Xe.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[m.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keyup","keydown"],["scope","col"]],template:function(D,ue){1&D&&(m.TgZ(0,"table",0),m.TgZ(1,"thead",1),m.TgZ(2,"tr"),m.YNc(3,Fe,2,2,"th",2),m.qZA(),m.TgZ(4,"tr"),m._UZ(5,"th",3),m.qZA(),m.qZA(),m.TgZ(6,"tbody",4),m.NdJ("selectedValueChange",function(bt){return ue._dateSelected(bt)})("previewChange",function(bt){return ue._previewChanged(bt)})("keyup",function(bt){return ue._handleCalendarBodyKeyup(bt)})("keydown",function(bt){return ue._handleCalendarBodyKeydown(bt)}),m.qZA(),m.qZA()),2&D&&(m.xp6(3),m.Q6J("ngForOf",ue._weekdays),m.xp6(3),m.Q6J("label",ue._monthLabel)("rows",ue._weeks)("todayValue",ue._todayDate)("startValue",ue._rangeStart)("endValue",ue._rangeEnd)("comparisonStart",ue._comparisonRangeStart)("comparisonEnd",ue._comparisonRangeEnd)("previewStart",ue._previewStart)("previewEnd",ue._previewEnd)("isRange",ue._isRange)("labelMinRequiredCells",3)("activeCell",ue._dateAdapter.getDate(ue.activeDate)-1))},directives:[dt,v.sg],encapsulation:2,changeDetection:0}),He})(),Et=(()=>{class He{constructor(D,ue,Xe){this._changeDetectorRef=D,this._dateAdapter=ue,this._dir=Xe,this._rerenderSubscription=E.w.EMPTY,this.selectedChange=new m.vpe,this.yearSelected=new m.vpe,this.activeDateChange=new m.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(D){let ue=this._activeDate;const Xe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Xe,this.minDate,this.maxDate),St(this._dateAdapter,ue,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(D){this._selected=D instanceof P?D:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D)),this._setSelectedYear(D)}get minDate(){return this._minDate}set minDate(D){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D))}get maxDate(){return this._maxDate}set maxDate(D){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,X.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const ue=this._dateAdapter.getYear(this._activeDate)-Ft(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let Xe=0,bt=[];Xe<24;Xe++)bt.push(ue+Xe),4==bt.length&&(this._years.push(bt.map(Jt=>this._createCellForYear(Jt))),bt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(D){const ue=D.value;this.yearSelected.emit(this._dateAdapter.createDate(ue,0,1));let Xe=this._dateAdapter.getMonth(this.activeDate),bt=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(ue,Xe,1));this.selectedChange.emit(this._dateAdapter.createDate(ue,Xe,Math.min(this._dateAdapter.getDate(this.activeDate),bt)))}_handleCalendarBodyKeydown(D){const ue=this._activeDate,Xe=this._isRtl();switch(D.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xe?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xe?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ft(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Ft(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,D.altKey?-240:-24);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,D.altKey?240:24);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(ue,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),D.preventDefault()}_handleCalendarBodyKeyup(D){(D.keyCode===k.L_||D.keyCode===k.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:D}),this._selectionKeyPressed=!1)}_getActiveCell(){return Ft(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(D){const ue=this._dateAdapter.createDate(D,0,1),Xe=this._dateAdapter.getYearName(ue),bt=this.dateClass?this.dateClass(ue,"multi-year"):void 0;return new st(D,Xe,Xe,this._shouldEnableYear(D),bt)}_shouldEnableYear(D){if(null==D||this.maxDate&&D>this._dateAdapter.getYear(this.maxDate)||this.minDate&&D{class He{constructor(D,ue,Xe,bt){this._changeDetectorRef=D,this._dateFormats=ue,this._dateAdapter=Xe,this._dir=bt,this._rerenderSubscription=E.w.EMPTY,this.selectedChange=new m.vpe,this.monthSelected=new m.vpe,this.activeDateChange=new m.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(D){let ue=this._activeDate;const Xe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Xe,this.minDate,this.maxDate),this._dateAdapter.getYear(ue)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(D){this._selected=D instanceof P?D:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D)),this._setSelectedMonth(D)}get minDate(){return this._minDate}set minDate(D){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D))}get maxDate(){return this._maxDate}set maxDate(D){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,X.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(D){const ue=D.value,Xe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),ue,1);this.monthSelected.emit(Xe);const bt=this._dateAdapter.getNumDaysInMonth(Xe);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),ue,Math.min(this._dateAdapter.getDate(this.activeDate),bt)))}_handleCalendarBodyKeydown(D){const ue=this._activeDate,Xe=this._isRtl();switch(D.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Xe?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Xe?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,D.altKey?-10:-1);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,D.altKey?10:1);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(ue,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),D.preventDefault()}_handleCalendarBodyKeyup(D){(D.keyCode===k.L_||D.keyCode===k.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:D}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let D=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(ue=>ue.map(Xe=>this._createCellForMonth(Xe,D[Xe]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(D){return D&&this._dateAdapter.getYear(D)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(D):null}_createCellForMonth(D,ue){const Xe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),D,1),bt=this._dateAdapter.format(Xe,this._dateFormats.display.monthYearA11yLabel),Jt=this.dateClass?this.dateClass(Xe,"year"):void 0;return new st(D,ue.toLocaleUpperCase(),bt,this._shouldEnableMonth(D),Jt)}_shouldEnableMonth(D){const ue=this._dateAdapter.getYear(this.activeDate);if(null==D||this._isYearAndMonthAfterMaxDate(ue,D)||this._isYearAndMonthBeforeMinDate(ue,D))return!1;if(!this.dateFilter)return!0;for(let bt=this._dateAdapter.createDate(ue,D,1);this._dateAdapter.getMonth(bt)==D;bt=this._dateAdapter.addCalendarDays(bt,1))if(this.dateFilter(bt))return!0;return!1}_isYearAndMonthAfterMaxDate(D,ue){if(this.maxDate){const Xe=this._dateAdapter.getYear(this.maxDate),bt=this._dateAdapter.getMonth(this.maxDate);return D>Xe||D===Xe&&ue>bt}return!1}_isYearAndMonthBeforeMinDate(D,ue){if(this.minDate){const Xe=this._dateAdapter.getYear(this.minDate),bt=this._dateAdapter.getMonth(this.minDate);return D{class He{constructor(){this.changes=new R.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(D,ue){return`${D} \u2013 ${ue}`}}return He.\u0275fac=function(D){return new(D||He)},He.\u0275prov=m.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),Ut=0,gt=(()=>{class He{constructor(D,ue,Xe,bt,Jt){this._intl=D,this.calendar=ue,this._dateAdapter=Xe,this._dateFormats=bt,this._buttonDescriptionId="mat-calendar-button-"+Ut++,this.calendar.stateChanges.subscribe(()=>Jt.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const ue=this._dateAdapter.getYear(this.calendar.activeDate)-Ft(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Xe=ue+24-1,bt=this._dateAdapter.getYearName(this._dateAdapter.createDate(ue,0,1)),Jt=this._dateAdapter.getYearName(this._dateAdapter.createDate(Xe,0,1));return this._intl.formatYearRange(bt,Jt)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(D,ue){return"month"==this.calendar.currentView?this._dateAdapter.getYear(D)==this._dateAdapter.getYear(ue)&&this._dateAdapter.getMonth(D)==this._dateAdapter.getMonth(ue):"year"==this.calendar.currentView?this._dateAdapter.getYear(D)==this._dateAdapter.getYear(ue):St(this._dateAdapter,D,ue,this.calendar.minDate,this.calendar.maxDate)}}return He.\u0275fac=function(D){return new(D||He)(m.Y36(at),m.Y36((0,m.Gpc)(()=>xt)),m.Y36(b._A,8),m.Y36(b.sG,8),m.Y36(m.sBO))},He.\u0275cmp=m.Xpm({type:He,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:ke,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(D,ue){1&D&&(m.F$t(),m.TgZ(0,"div",0),m.TgZ(1,"div",1),m.TgZ(2,"button",2),m.NdJ("click",function(){return ue.currentPeriodClicked()}),m.TgZ(3,"span"),m._uU(4),m.qZA(),m.O4$(),m.TgZ(5,"svg",3),m._UZ(6,"polygon",4),m.qZA(),m.qZA(),m.kcU(),m._UZ(7,"div",5),m.Hsn(8),m.TgZ(9,"button",6),m.NdJ("click",function(){return ue.previousClicked()}),m.qZA(),m.TgZ(10,"button",7),m.NdJ("click",function(){return ue.nextClicked()}),m.qZA(),m.qZA(),m.qZA()),2&D&&(m.xp6(2),m.uIk("aria-label",ue.periodButtonLabel)("aria-describedby",ue._buttonDescriptionId),m.xp6(1),m.uIk("id",ue._buttonDescriptionId),m.xp6(1),m.Oqu(ue.periodButtonText),m.xp6(1),m.ekj("mat-calendar-invert","month"!==ue.calendar.currentView),m.xp6(4),m.Q6J("disabled",!ue.previousEnabled()),m.uIk("aria-label",ue.prevButtonLabel),m.xp6(1),m.Q6J("disabled",!ue.nextEnabled()),m.uIk("aria-label",ue.nextButtonLabel))},directives:[A.lW,e.Qr],encapsulation:2,changeDetection:0}),He})(),xt=(()=>{class He{constructor(D,ue,Xe,bt){this._dateAdapter=ue,this._dateFormats=Xe,this._changeDetectorRef=bt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new m.vpe,this.yearSelected=new m.vpe,this.monthSelected=new m.vpe,this.viewChanged=new m.vpe(!0),this._userSelection=new m.vpe,this.stateChanges=new R.xQ,this._intlChanges=D.changes.subscribe(()=>{bt.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(D){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D))}get selected(){return this._selected}set selected(D){this._selected=D instanceof P?D:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D))}get minDate(){return this._minDate}set minDate(D){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D))}get maxDate(){return this._maxDate}set maxDate(D){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D))}get activeDate(){return this._clampedActiveDate}set activeDate(D){this._clampedActiveDate=this._dateAdapter.clampDate(D,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(D){const ue=this._currentView!==D?D:null;this._currentView=D,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),ue&&this.viewChanged.emit(ue)}ngAfterContentInit(){this._calendarHeaderPortal=new g.C5(this.headerComponent||gt),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(D){const ue=D.minDate||D.maxDate||D.dateFilter;if(ue&&!ue.firstChange){const Xe=this._getCurrentViewComponent();Xe&&(this._changeDetectorRef.detectChanges(),Xe._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(D){const ue=D.value;(this.selected instanceof P||ue&&!this._dateAdapter.sameDate(ue,this.selected))&&this.selectedChange.emit(ue),this._userSelection.emit(D)}_yearSelectedInMultiYearView(D){this.yearSelected.emit(D)}_monthSelectedInYearView(D){this.monthSelected.emit(D)}_goToDateInView(D,ue){this.activeDate=D,this.currentView=ue}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return He.\u0275fac=function(D){return new(D||He)(m.Y36(at),m.Y36(b._A,8),m.Y36(b.sG,8),m.Y36(m.sBO))},He.\u0275cmp=m.Xpm({type:He,selectors:[["mat-calendar"]],viewQuery:function(D,ue){if(1&D&&(m.Gf(T,5),m.Gf(Mt,5),m.Gf(Et,5)),2&D){let Xe;m.iGM(Xe=m.CRH())&&(ue.monthView=Xe.first),m.iGM(Xe=m.CRH())&&(ue.yearView=Xe.first),m.iGM(Xe=m.CRH())&&(ue.multiYearView=Xe.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[m._Bn([n]),m.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(D,ue){1&D&&(m.YNc(0,De,0,0,"ng-template",0),m.TgZ(1,"div",1),m.YNc(2,be,1,8,"mat-month-view",2),m.YNc(3,z,1,6,"mat-year-view",3),m.YNc(4,Ce,1,6,"mat-multi-year-view",4),m.qZA()),2&D&&(m.Q6J("cdkPortalOutlet",ue._calendarHeaderPortal),m.xp6(1),m.Q6J("ngSwitch",ue.currentView),m.xp6(1),m.Q6J("ngSwitchCase","month"),m.xp6(1),m.Q6J("ngSwitchCase","year"),m.xp6(1),m.Q6J("ngSwitchCase","multi-year"))},directives:[T,Mt,Et,g.Pl,e.kH,v.RF,v.n9],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),He})();const Ve={transformPanel:(0,Pe.X$)("transformPanel",[(0,Pe.eR)("void => enter-dropdown",(0,Pe.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Pe.F4)([(0,Pe.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,Pe.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,Pe.eR)("void => enter-dialog",(0,Pe.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,Pe.F4)([(0,Pe.oB)({opacity:0,transform:"scale(0.7)"}),(0,Pe.oB)({transform:"none",opacity:1})]))),(0,Pe.eR)("* => void",(0,Pe.jt)("100ms linear",(0,Pe.oB)({opacity:0})))]),fadeInCalendar:(0,Pe.X$)("fadeInCalendar",[(0,Pe.SB)("void",(0,Pe.oB)({opacity:0})),(0,Pe.SB)("enter",(0,Pe.oB)({opacity:1})),(0,Pe.eR)("void => *",(0,Pe.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let $e=0;const oe=new m.OlP("mat-datepicker-scroll-strategy"),ee={provide:oe,deps:[f.aV],useFactory:function H(He){return()=>He.scrollStrategies.reposition()}},Y=(0,b.pj)(class{constructor(He){this._elementRef=He}});let Le=(()=>{class He extends Y{constructor(D,ue,Xe,bt,Jt,ti){super(D),this._changeDetectorRef=ue,this._globalModel=Xe,this._dateAdapter=bt,this._rangeSelectionStrategy=Jt,this._subscriptions=new E.w,this._animationDone=new R.xQ,this._actionsPortal=null,this._closeButtonText=ti.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(D){const ue=this._model.selection,Xe=D.value,bt=ue instanceof P;if(bt&&this._rangeSelectionStrategy){const Jt=this._rangeSelectionStrategy.selectionFinished(Xe,ue,D.event);this._model.updateSelection(Jt,this)}else Xe&&(bt||!this._dateAdapter.sameDate(Xe,ue))&&this._model.add(Xe);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return He.\u0275fac=function(D){return new(D||He)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(N),m.Y36(b._A),m.Y36(o,8),m.Y36(at))},He.\u0275cmp=m.Xpm({type:He,selectors:[["mat-datepicker-content"]],viewQuery:function(D,ue){if(1&D&&m.Gf(xt,5),2&D){let Xe;m.iGM(Xe=m.CRH())&&(ue._calendar=Xe.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(D,ue){1&D&&m.WFA("@transformPanel.done",function(){return ue._animationDone.next()}),2&D&&(m.d8E("@transformPanel",ue._animationState),m.ekj("mat-datepicker-content-touch",ue.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[m.qOj],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(D,ue){if(1&D&&(m.TgZ(0,"div",0),m.TgZ(1,"mat-calendar",1),m.NdJ("yearSelected",function(bt){return ue.datepicker._selectYear(bt)})("monthSelected",function(bt){return ue.datepicker._selectMonth(bt)})("viewChanged",function(bt){return ue.datepicker._viewChanged(bt)})("_userSelection",function(bt){return ue._handleUserSelection(bt)}),m.qZA(),m.YNc(2,J,0,0,"ng-template",2),m.TgZ(3,"button",3),m.NdJ("focus",function(){return ue._closeButtonFocused=!0})("blur",function(){return ue._closeButtonFocused=!1})("click",function(){return ue.datepicker.close()}),m._uU(4),m.qZA(),m.qZA()),2&D){let Xe;m.ekj("mat-datepicker-content-container-with-custom-header",ue.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",ue._actionsPortal),m.uIk("aria-modal",!0)("aria-labelledby",null!==(Xe=ue._dialogLabelId)&&void 0!==Xe?Xe:void 0),m.xp6(1),m.Q6J("id",ue.datepicker.id)("ngClass",ue.datepicker.panelClass)("startAt",ue.datepicker.startAt)("startView",ue.datepicker.startView)("minDate",ue.datepicker._getMinDate())("maxDate",ue.datepicker._getMaxDate())("dateFilter",ue.datepicker._getDateFilter())("headerComponent",ue.datepicker.calendarHeaderComponent)("selected",ue._getSelected())("dateClass",ue.datepicker.dateClass)("comparisonStart",ue.comparisonStart)("comparisonEnd",ue.comparisonEnd)("@fadeInCalendar","enter"),m.xp6(1),m.Q6J("cdkPortalOutlet",ue._actionsPortal),m.xp6(1),m.ekj("cdk-visually-hidden",!ue._closeButtonFocused),m.Q6J("color",ue.color||"primary"),m.xp6(1),m.Oqu(ue._closeButtonText)}},directives:[xt,A.lW,e.mK,v.mk,g.Pl],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[Ve.transformPanel,Ve.fadeInCalendar]},changeDetection:0}),He})(),Ye=(()=>{class He{constructor(D,ue,Xe,bt,Jt,ti,bi){this._overlay=D,this._ngZone=ue,this._viewContainerRef=Xe,this._dateAdapter=Jt,this._dir=ti,this._model=bi,this._inputStateChanges=E.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new m.vpe,this.monthSelected=new m.vpe,this.viewChanged=new m.vpe(!0),this.openedStream=new m.vpe,this.closedStream=new m.vpe,this._opened=!1,this.id="mat-datepicker-"+$e++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new R.xQ,this._scrollStrategy=bt}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(D){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(D){this._color=D}get touchUi(){return this._touchUi}set touchUi(D){this._touchUi=(0,Ne.Ig)(D)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(D){const ue=(0,Ne.Ig)(D);ue!==this._disabled&&(this._disabled=ue,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(D){this._restoreFocus=(0,Ne.Ig)(D)}get panelClass(){return this._panelClass}set panelClass(D){this._panelClass=(0,Ne.du)(D)}get opened(){return this._opened}set opened(D){(0,Ne.Ig)(D)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(D){const ue=D.xPosition||D.yPosition;if(ue&&!ue.firstChange&&this._overlayRef){const Xe=this._overlayRef.getConfig().positionStrategy;Xe instanceof f._G&&(this._setConnectedPositions(Xe),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(D){this._model.add(D)}_selectYear(D){this.yearSelected.emit(D)}_selectMonth(D){this.monthSelected.emit(D)}_viewChanged(D){this.viewChanged.emit(D)}registerInput(D){return this._inputStateChanges.unsubscribe(),this.datepickerInput=D,this._inputStateChanges=D.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(D){this._actionsPortal=D}removeActions(D){D===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,ce.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const ue=this._componentRef.instance;ue._startExitAnimation(),ue._animationDone.pipe((0,G.q)(1)).subscribe(()=>this._destroyOverlay())}const D=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(D)):D()}_applyPendingSelection(){var D,ue;null===(ue=null===(D=this._componentRef)||void 0===D?void 0:D.instance)||void 0===ue||ue._applyPendingSelection()}_forwardContentValues(D){D.datepicker=this,D.color=this.color,D._actionsPortal=this._actionsPortal,D._dialogLabelId=this.datepickerInput.getOverlayLabelId()}_openOverlay(){this._destroyOverlay();const D=this.touchUi,ue=new g.C5(Le,this._viewContainerRef),Xe=this._overlayRef=this._overlay.create(new f.X_({positionStrategy:D?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[D?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:D?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(D?"dialog":"popup")}));this._getCloseStream(Xe).subscribe(bt=>{bt&&bt.preventDefault(),this.close()}),this._componentRef=Xe.attach(ue),this._forwardContentValues(this._componentRef.instance),D||this._ngZone.onStable.pipe((0,G.q)(1)).subscribe(()=>Xe.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const D=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(D)}_setConnectedPositions(D){const ue="end"===this.xPosition?"end":"start",Xe="start"===ue?"end":"start",bt="above"===this.yPosition?"bottom":"top",Jt="top"===bt?"bottom":"top";return D.withPositions([{originX:ue,originY:Jt,overlayX:ue,overlayY:bt},{originX:ue,originY:bt,overlayX:ue,overlayY:Jt},{originX:Xe,originY:Jt,overlayX:Xe,overlayY:bt},{originX:Xe,originY:bt,overlayX:Xe,overlayY:Jt}])}_getCloseStream(D){return(0,h.T)(D.backdropClick(),D.detachments(),D.keydownEvents().pipe((0,he.h)(ue=>ue.keyCode===k.hY&&!(0,k.Vb)(ue)||this.datepickerInput&&(0,k.Vb)(ue,"altKey")&&ue.keyCode===k.LH)))}}return He.\u0275fac=function(D){return new(D||He)(m.Y36(f.aV),m.Y36(m.R0b),m.Y36(m.s_b),m.Y36(oe),m.Y36(b._A,8),m.Y36(re.Is,8),m.Y36(N))},He.\u0275dir=m.lG2({type:He,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[m.TTD]}),He})(),mt=(()=>{class He extends Ye{}return He.\u0275fac=function(){let Qe;return function(ue){return(Qe||(Qe=m.n5z(He)))(ue||He)}}(),He.\u0275cmp=m.Xpm({type:He,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[m._Bn([n,{provide:Ye,useExisting:He}]),m.qOj],decls:0,vars:0,template:function(D,ue){},encapsulation:2,changeDetection:0}),He})();class Ht{constructor(Qe,D){this.target=Qe,this.targetElement=D,this.value=this.target.value}}let qt=(()=>{class He{constructor(D,ue,Xe){this._elementRef=D,this._dateAdapter=ue,this._dateFormats=Xe,this.dateChange=new m.vpe,this.dateInput=new m.vpe,this.stateChanges=new R.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=E.w.EMPTY,this._localeSubscription=E.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=bt=>{const Jt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(bt.value));return!Jt||this._matchesFilter(Jt)?null:{matDatepickerFilter:!0}},this._minValidator=bt=>{const Jt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(bt.value)),ti=this._getMinDate();return!ti||!Jt||this._dateAdapter.compareDate(ti,Jt)<=0?null:{matDatepickerMin:{min:ti,actual:Jt}}},this._maxValidator=bt=>{const Jt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(bt.value)),ti=this._getMaxDate();return!ti||!Jt||this._dateAdapter.compareDate(ti,Jt)>=0?null:{matDatepickerMax:{max:ti,actual:Jt}}},this._lastValueValid=!1,this._localeSubscription=ue.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(D){this._assignValueProgrammatically(D)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(D){const ue=(0,Ne.Ig)(D),Xe=this._elementRef.nativeElement;this._disabled!==ue&&(this._disabled=ue,this.stateChanges.next(void 0)),ue&&this._isInitialized&&Xe.blur&&Xe.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(D){this._model=D,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(ue=>{if(this._shouldHandleChangeEvent(ue)){const Xe=this._getValueFromModel(ue.selection);this._lastValueValid=this._isValidValue(Xe),this._cvaOnChange(Xe),this._onTouched(),this._formatValue(Xe),this.dateInput.emit(new Ht(this,this._elementRef.nativeElement)),this.dateChange.emit(new Ht(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(D){(function Dt(He,Qe){const D=Object.keys(He);for(let ue of D){const{previousValue:Xe,currentValue:bt}=He[ue];if(!Qe.isDateInstance(Xe)||!Qe.isDateInstance(bt))return!0;if(!Qe.sameDate(Xe,bt))return!0}return!1})(D,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(D){this._validatorOnChange=D}validate(D){return this._validator?this._validator(D):null}writeValue(D){this._assignValueProgrammatically(D)}registerOnChange(D){this._cvaOnChange=D}registerOnTouched(D){this._onTouched=D}setDisabledState(D){this.disabled=D}_onKeydown(D){D.altKey&&D.keyCode===k.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),D.preventDefault())}_onInput(D){const ue=this._lastValueValid;let Xe=this._dateAdapter.parse(D,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Xe),Xe=this._dateAdapter.getValidDateOrNull(Xe),this._dateAdapter.sameDate(Xe,this.value)?(D&&!this.value&&this._cvaOnChange(Xe),ue!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(Xe),this._cvaOnChange(Xe),this.dateInput.emit(new Ht(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Ht(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(D){this._elementRef.nativeElement.value=D?this._dateAdapter.format(D,this._dateFormats.display.dateInput):""}_assignValue(D){this._model?(this._assignValueToModel(D),this._pendingValue=null):this._pendingValue=D}_isValidValue(D){return!D||this._dateAdapter.isValid(D)}_parentDisabled(){return!1}_assignValueProgrammatically(D){D=this._dateAdapter.deserialize(D),this._lastValueValid=this._isValidValue(D),D=this._dateAdapter.getValidDateOrNull(D),this._assignValue(D),this._formatValue(D)}_matchesFilter(D){const ue=this._getDateFilter();return!ue||ue(D)}}return He.\u0275fac=function(D){return new(D||He)(m.Y36(m.SBq),m.Y36(b._A,8),m.Y36(b.sG,8))},He.\u0275dir=m.lG2({type:He,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[m.TTD]}),He})();const wt={provide:se.JU,useExisting:(0,m.Gpc)(()=>Ot),multi:!0},At={provide:se.Cf,useExisting:(0,m.Gpc)(()=>Ot),multi:!0};let Ot=(()=>{class He extends qt{constructor(D,ue,Xe,bt){super(D,ue,Xe),this._formField=bt,this._closedSubscription=E.w.EMPTY,this._validator=se.kI.compose(super._getValidators())}set matDatepicker(D){D&&(this._datepicker=D,this._closedSubscription=D.closedStream.subscribe(()=>this._onTouched()),this._registerModel(D.registerInput(this)))}get min(){return this._min}set min(D){const ue=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D));this._dateAdapter.sameDate(ue,this._min)||(this._min=ue,this._validatorOnChange())}get max(){return this._max}set max(D){const ue=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(D));this._dateAdapter.sameDate(ue,this._max)||(this._max=ue,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(D){const ue=this._matchesFilter(this.value);this._dateFilter=D,this._matchesFilter(this.value)!==ue&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(D){return D}_assignValueToModel(D){this._model&&this._model.updateSelection(D,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(D){return D.source!==this}}return He.\u0275fac=function(D){return new(D||He)(m.Y36(m.SBq),m.Y36(b._A,8),m.Y36(b.sG,8),m.Y36(V.G_,8))},He.\u0275dir=m.lG2({type:He,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(D,ue){1&D&&m.NdJ("input",function(bt){return ue._onInput(bt.target.value)})("change",function(){return ue._onChange()})("blur",function(){return ue._onBlur()})("keydown",function(bt){return ue._onKeydown(bt)}),2&D&&(m.Ikx("disabled",ue.disabled),m.uIk("aria-haspopup",ue._datepicker?"dialog":null)("aria-owns",(null==ue._datepicker?null:ue._datepicker.opened)&&ue._datepicker.id||null)("min",ue.min?ue._dateAdapter.toIso8601(ue.min):null)("max",ue.max?ue._dateAdapter.toIso8601(ue.max):null)("data-mat-calendar",ue._datepicker?ue._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[m._Bn([wt,At,{provide:F.Jk,useExisting:He}]),m.qOj]}),He})(),Wt=(()=>{class He{}return He.\u0275fac=function(D){return new(D||He)},He.\u0275dir=m.lG2({type:He,selectors:[["","matDatepickerToggleIcon",""]]}),He})(),li=(()=>{class He{constructor(D,ue,Xe){this._intl=D,this._changeDetectorRef=ue,this._stateChanges=E.w.EMPTY;const bt=Number(Xe);this.tabIndex=bt||0===bt?bt:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(D){this._disabled=(0,Ne.Ig)(D)}ngOnChanges(D){D.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(D){this.datepicker&&!this.disabled&&(this.datepicker.open(),D.stopPropagation())}_watchStateChanges(){const D=this.datepicker?this.datepicker.stateChanges:(0,x.of)(),ue=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,x.of)(),Xe=this.datepicker?(0,h.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,x.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,h.T)(this._intl.changes,D,ue,Xe).subscribe(()=>this._changeDetectorRef.markForCheck())}}return He.\u0275fac=function(D){return new(D||He)(m.Y36(at),m.Y36(m.sBO),m.$8M("tabindex"))},He.\u0275cmp=m.Xpm({type:He,selectors:[["mat-datepicker-toggle"]],contentQueries:function(D,ue,Xe){if(1&D&&m.Suo(Xe,Wt,5),2&D){let bt;m.iGM(bt=m.CRH())&&(ue._customIcon=bt.first)}},viewQuery:function(D,ue){if(1&D&&m.Gf(I,5),2&D){let Xe;m.iGM(Xe=m.CRH())&&(ue._button=Xe.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(D,ue){1&D&&m.NdJ("click",function(bt){return ue._open(bt)}),2&D&&(m.uIk("tabindex",null)("data-mat-calendar",ue.datepicker?ue.datepicker.id:null),m.ekj("mat-datepicker-toggle-active",ue.datepicker&&ue.datepicker.opened)("mat-accent",ue.datepicker&&"accent"===ue.datepicker.color)("mat-warn",ue.datepicker&&"warn"===ue.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[m.TTD],ngContentSelectors:ze,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(D,ue){1&D&&(m.F$t(Re),m.TgZ(0,"button",0,1),m.YNc(2,Ie,2,0,"svg",2),m.Hsn(3),m.qZA()),2&D&&(m.Q6J("disabled",ue.disabled)("disableRipple",ue.disableRipple),m.uIk("aria-haspopup",ue.datepicker?"dialog":null)("aria-label",ue.ariaLabel||ue._intl.openCalendarLabel)("tabindex",ue.disabled?-1:ue.tabIndex),m.xp6(2),m.Q6J("ngIf",!ue._customIcon))},directives:[A.lW,v.O5],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),He})(),tt=(()=>{class He{}return He.\u0275fac=function(D){return new(D||He)},He.\u0275mod=m.oAB({type:He}),He.\u0275inj=m.cJS({providers:[at,ee],imports:[[v.ez,A.ot,f.U8,e.rt,g.eL,b.BQ],s.ZD]}),He})()},48966:(Ze,ge,d)=>{"use strict";d.d(ge,{WI:()=>Be,uw:()=>J,H8:()=>ve,vA:()=>Pe,xY:()=>fe,Is:()=>nt,so:()=>ae,uh:()=>ze});var e=d(92845),f=d(47429),g=d(5e3),v=d(90508),m=d(50226),A=d(8929),s=d(88514),b=d(42654),R=d(21086),E=d(92198),h=d(72986),x=d(1059),k=d(70925),G=d(69808),X=d(41777),he=d(15664),re=d(91159),Ne=d(76360);function ce(st,dt){}class Pe{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const se={dialogContainer:(0,X.X$)("dialogContainer",[(0,X.SB)("void, exit",(0,X.oB)({opacity:0,transform:"scale(0.7)"})),(0,X.SB)("enter",(0,X.oB)({transform:"none"})),(0,X.eR)("* => enter",(0,X.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,X.oB)({transform:"none",opacity:1}))),(0,X.eR)("* => void, * => exit",(0,X.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,X.oB)({opacity:0})))])};let F=(()=>{class st extends f.en{constructor(L,de,M,S,P,N,ne,j){super(),this._elementRef=L,this._focusTrapFactory=de,this._changeDetectorRef=M,this._config=P,this._interactivityChecker=N,this._ngZone=ne,this._focusMonitor=j,this._animationStateChanged=new g.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Te=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(Te)),this._ariaLabelledBy=P.ariaLabelledBy||null,this._document=S}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(L){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(L)}attachTemplatePortal(L){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(L)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(L,de){this._interactivityChecker.isFocusable(L)||(L.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{L.addEventListener("blur",()=>L.removeAttribute("tabindex")),L.addEventListener("mousedown",()=>L.removeAttribute("tabindex"))})),L.focus(de)}_focusByCssSelector(L,de){let M=this._elementRef.nativeElement.querySelector(L);M&&this._forceFocus(M,de)}_trapFocus(){const L=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||L.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(de=>{de||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const L=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&L&&"function"==typeof L.focus){const de=(0,k.ht)(),M=this._elementRef.nativeElement;(!de||de===this._document.body||de===M||M.contains(de))&&(this._focusMonitor?(this._focusMonitor.focusVia(L,this._closeInteractionType),this._closeInteractionType=null):L.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,k.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const L=this._elementRef.nativeElement,de=(0,k.ht)();return L===de||L.contains(de)}}return st.\u0275fac=function(L){return new(L||st)(g.Y36(g.SBq),g.Y36(he.qV),g.Y36(g.sBO),g.Y36(G.K0,8),g.Y36(Pe),g.Y36(he.ic),g.Y36(g.R0b),g.Y36(he.tE))},st.\u0275dir=g.lG2({type:st,viewQuery:function(L,de){if(1&L&&g.Gf(f.Pl,7),2&L){let M;g.iGM(M=g.CRH())&&(de._portalOutlet=M.first)}},features:[g.qOj]}),st})(),W=(()=>{class st extends F{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:L,totalTime:de}){"enter"===L?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:de})):"exit"===L&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:de}))}_onAnimationStart({toState:L,totalTime:de}){"enter"===L?this._animationStateChanged.next({state:"opening",totalTime:de}):("exit"===L||"void"===L)&&this._animationStateChanged.next({state:"closing",totalTime:de})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return st.\u0275fac=function(){let dt;return function(de){return(dt||(dt=g.n5z(st)))(de||st)}}(),st.\u0275cmp=g.Xpm({type:st,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(L,de){1&L&&g.WFA("@dialogContainer.start",function(S){return de._onAnimationStart(S)})("@dialogContainer.done",function(S){return de._onAnimationDone(S)}),2&L&&(g.Ikx("id",de._id),g.uIk("role",de._config.role)("aria-labelledby",de._config.ariaLabel?null:de._ariaLabelledBy)("aria-label",de._config.ariaLabel)("aria-describedby",de._config.ariaDescribedBy||null),g.d8E("@dialogContainer",de._state))},features:[g.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(L,de){1&L&&g.YNc(0,ce,0,0,"ng-template",0)},directives:[f.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[se.dialogContainer]}}),st})(),te=0;class ae{constructor(dt,L,de="mat-dialog-"+te++){this._overlayRef=dt,this._containerInstance=L,this.id=de,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new A.xQ,this._afterClosed=new A.xQ,this._beforeClosed=new A.xQ,this._state=0,L._id=de,L._animationStateChanged.pipe((0,E.h)(M=>"opened"===M.state),(0,h.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),L._animationStateChanged.pipe((0,E.h)(M=>"closed"===M.state),(0,h.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),dt.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),dt.keydownEvents().pipe((0,E.h)(M=>M.keyCode===re.hY&&!this.disableClose&&!(0,re.Vb)(M))).subscribe(M=>{M.preventDefault(),pe(this,"keyboard")}),dt.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():pe(this,"mouse")})}close(dt){this._result=dt,this._containerInstance._animationStateChanged.pipe((0,E.h)(L=>"closing"===L.state),(0,h.q)(1)).subscribe(L=>{this._beforeClosed.next(dt),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),L.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(dt){let L=this._getPositionStrategy();return dt&&(dt.left||dt.right)?dt.left?L.left(dt.left):L.right(dt.right):L.centerHorizontally(),dt&&(dt.top||dt.bottom)?dt.top?L.top(dt.top):L.bottom(dt.bottom):L.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(dt="",L=""){return this._overlayRef.updateSize({width:dt,height:L}),this._overlayRef.updatePosition(),this}addPanelClass(dt){return this._overlayRef.addPanelClass(dt),this}removePanelClass(dt){return this._overlayRef.removePanelClass(dt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function pe(st,dt,L){return void 0!==st._containerInstance&&(st._containerInstance._closeInteractionType=dt),st.close(L)}const Be=new g.OlP("MatDialogData"),Fe=new g.OlP("mat-dialog-default-options"),ke=new g.OlP("mat-dialog-scroll-strategy"),z={provide:ke,deps:[e.aV],useFactory:function be(st){return()=>st.scrollStrategies.block()}};let Ce=(()=>{class st{constructor(L,de,M,S,P,N,ne,j,Te,n){this._overlay=L,this._injector=de,this._defaultOptions=M,this._parentDialog=S,this._overlayContainer=P,this._dialogRefConstructor=ne,this._dialogContainerType=j,this._dialogDataToken=Te,this._animationMode=n,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new A.xQ,this._afterOpenedAtThisLevel=new A.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=(0,s.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,x.O)(void 0))),this._scrollStrategy=N}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const L=this._parentDialog;return L?L._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(L,de){if(de=function I(st,dt){return Object.assign(Object.assign({},dt),st)}(de,this._defaultOptions||new Pe),de.id&&this.getDialogById(de.id),this._dialogAnimatingOpen)return this._lastDialogRef;const M=this._createOverlay(de),S=this._attachDialogContainer(M,de);if("NoopAnimations"!==this._animationMode){const N=S._animationStateChanged.subscribe(ne=>{"opening"===ne.state&&(this._dialogAnimatingOpen=!0),"opened"===ne.state&&(this._dialogAnimatingOpen=!1,N.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new b.w),this._animationStateSubscriptions.add(N)}const P=this._attachDialogContent(L,S,M,de);return this._lastDialogRef=P,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(P),P.afterClosed().subscribe(()=>this._removeOpenDialog(P)),this.afterOpened.next(P),S._initializeWithAttachedContent(),P}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(L){return this.openDialogs.find(de=>de.id===L)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(L){const de=this._getOverlayConfig(L);return this._overlay.create(de)}_getOverlayConfig(L){const de=new e.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:L.scrollStrategy||this._scrollStrategy(),panelClass:L.panelClass,hasBackdrop:L.hasBackdrop,direction:L.direction,minWidth:L.minWidth,minHeight:L.minHeight,maxWidth:L.maxWidth,maxHeight:L.maxHeight,disposeOnNavigation:L.closeOnNavigation});return L.backdropClass&&(de.backdropClass=L.backdropClass),de}_attachDialogContainer(L,de){const S=g.zs3.create({parent:de&&de.viewContainerRef&&de.viewContainerRef.injector||this._injector,providers:[{provide:Pe,useValue:de}]}),P=new f.C5(this._dialogContainerType,de.viewContainerRef,S,de.componentFactoryResolver);return L.attach(P).instance}_attachDialogContent(L,de,M,S){const P=new this._dialogRefConstructor(M,de,S.id);if(L instanceof g.Rgc)de.attachTemplatePortal(new f.UE(L,null,{$implicit:S.data,dialogRef:P}));else{const N=this._createInjector(S,P,de),ne=de.attachComponentPortal(new f.C5(L,S.viewContainerRef,N));P.componentInstance=ne.instance}return P.updateSize(S.width,S.height).updatePosition(S.position),P}_createInjector(L,de,M){const S=L&&L.viewContainerRef&&L.viewContainerRef.injector,P=[{provide:this._dialogContainerType,useValue:M},{provide:this._dialogDataToken,useValue:L.data},{provide:this._dialogRefConstructor,useValue:de}];return L.direction&&(!S||!S.get(m.Is,null,g.XFs.Optional))&&P.push({provide:m.Is,useValue:{value:L.direction,change:(0,R.of)()}}),g.zs3.create({parent:S||this._injector,providers:P})}_removeOpenDialog(L){const de=this.openDialogs.indexOf(L);de>-1&&(this.openDialogs.splice(de,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((M,S)=>{M?S.setAttribute("aria-hidden",M):S.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const L=this._overlayContainer.getContainerElement();if(L.parentElement){const de=L.parentElement.children;for(let M=de.length-1;M>-1;M--){let S=de[M];S!==L&&"SCRIPT"!==S.nodeName&&"STYLE"!==S.nodeName&&!S.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(S,S.getAttribute("aria-hidden")),S.setAttribute("aria-hidden","true"))}}}_closeDialogs(L){let de=L.length;for(;de--;)L[de].close()}}return st.\u0275fac=function(L){g.$Z()},st.\u0275dir=g.lG2({type:st}),st})(),J=(()=>{class st extends Ce{constructor(L,de,M,S,P,N,ne,j){super(L,de,S,N,ne,P,ae,W,Be,j)}}return st.\u0275fac=function(L){return new(L||st)(g.LFG(e.aV),g.LFG(g.zs3),g.LFG(G.Ye,8),g.LFG(Fe,8),g.LFG(ke),g.LFG(st,12),g.LFG(e.Xj),g.LFG(Ne.Qb,8))},st.\u0275prov=g.Yz7({token:st,factory:st.\u0275fac}),st})(),Ie=0,ze=(()=>{class st{constructor(L,de,M){this._dialogRef=L,this._elementRef=de,this._dialog=M,this.id="mat-dialog-title-"+Ie++}ngOnInit(){this._dialogRef||(this._dialogRef=function We(st,dt){let L=st.nativeElement.parentElement;for(;L&&!L.classList.contains("mat-dialog-container");)L=L.parentElement;return L?dt.find(de=>de.id===L.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const L=this._dialogRef._containerInstance;L&&!L._ariaLabelledBy&&(L._ariaLabelledBy=this.id)})}}return st.\u0275fac=function(L){return new(L||st)(g.Y36(ae,8),g.Y36(g.SBq),g.Y36(J))},st.\u0275dir=g.lG2({type:st,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(L,de){2&L&&g.Ikx("id",de.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),st})(),fe=(()=>{class st{}return st.\u0275fac=function(L){return new(L||st)},st.\u0275dir=g.lG2({type:st,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),st})(),ve=(()=>{class st{}return st.\u0275fac=function(L){return new(L||st)},st.\u0275dir=g.lG2({type:st,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),st})(),nt=(()=>{class st{}return st.\u0275fac=function(L){return new(L||st)},st.\u0275mod=g.oAB({type:st}),st.\u0275inj=g.cJS({providers:[J,z],imports:[[e.U8,f.eL,v.BQ],v.BQ]}),st})()},4834:(Ze,ge,d)=>{"use strict";d.d(ge,{d:()=>v,t:()=>m});var e=d(5e3),f=d(63191),g=d(90508);let v=(()=>{class A{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(b){this._vertical=(0,f.Ig)(b)}get inset(){return this._inset}set inset(b){this._inset=(0,f.Ig)(b)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275cmp=e.Xpm({type:A,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(b,R){2&b&&(e.uIk("aria-orientation",R.vertical?"vertical":"horizontal"),e.ekj("mat-divider-vertical",R.vertical)("mat-divider-horizontal",!R.vertical)("mat-divider-inset",R.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(b,R){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),A})(),m=(()=>{class A{}return A.\u0275fac=function(b){return new(b||A)},A.\u0275mod=e.oAB({type:A}),A.\u0275inj=e.cJS({imports:[[g.BQ],g.BQ]}),A})()},81125:(Ze,ge,d)=>{"use strict";d.d(ge,{pp:()=>dt,To:()=>L,ib:()=>Re,HS:()=>J,u4:()=>nt,yz:()=>We,yK:()=>st});var e=d(5e3),f=d(63191),g=d(8929),v=d(42654),m=d(20449);let A=0;const s=new e.OlP("CdkAccordion");let b=(()=>{class de{constructor(){this._stateChanges=new g.xQ,this._openCloseAllActions=new g.xQ,this.id="cdk-accordion-"+A++,this._multi=!1}get multi(){return this._multi}set multi(S){this._multi=(0,f.Ig)(S)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(S){this._stateChanges.next(S)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return de.\u0275fac=function(S){return new(S||de)},de.\u0275dir=e.lG2({type:de,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[e._Bn([{provide:s,useExisting:de}]),e.TTD]}),de})(),R=0,E=(()=>{class de{constructor(S,P,N){this.accordion=S,this._changeDetectorRef=P,this._expansionDispatcher=N,this._openCloseAllSubscription=v.w.EMPTY,this.closed=new e.vpe,this.opened=new e.vpe,this.destroyed=new e.vpe,this.expandedChange=new e.vpe,this.id="cdk-accordion-child-"+R++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=N.listen((ne,j)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===j&&this.id!==ne&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(S){S=(0,f.Ig)(S),this._expanded!==S&&(this._expanded=S,this.expandedChange.emit(S),S?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(S){this._disabled=(0,f.Ig)(S)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(S=>{this.disabled||(this.expanded=S)})}}return de.\u0275fac=function(S){return new(S||de)(e.Y36(s,12),e.Y36(e.sBO),e.Y36(m.A8))},de.\u0275dir=e.lG2({type:de,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[e._Bn([{provide:s,useValue:void 0}])]}),de})(),h=(()=>{class de{}return de.\u0275fac=function(S){return new(S||de)},de.\u0275mod=e.oAB({type:de}),de.\u0275inj=e.cJS({}),de})();var x=d(47429),k=d(69808),G=d(90508),X=d(15664),he=d(75778),re=d(1059),Ne=d(92198),ce=d(72986),Pe=d(91159),se=d(76360),V=d(68896),F=d(36787),W=d(41777);const te=["body"];function ae(de,M){}const pe=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Be=["mat-expansion-panel-header","*","mat-action-row"];function Fe(de,M){if(1&de&&e._UZ(0,"span",2),2&de){const S=e.oxw();e.Q6J("@indicatorRotate",S._getExpandedState())}}const ke=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],De=["mat-panel-title","mat-panel-description","*"],be=new e.OlP("MAT_ACCORDION"),z="225ms cubic-bezier(0.4,0.0,0.2,1)",Ce={indicatorRotate:(0,W.X$)("indicatorRotate",[(0,W.SB)("collapsed, void",(0,W.oB)({transform:"rotate(0deg)"})),(0,W.SB)("expanded",(0,W.oB)({transform:"rotate(180deg)"})),(0,W.eR)("expanded <=> collapsed, void => collapsed",(0,W.jt)(z))]),bodyExpansion:(0,W.X$)("bodyExpansion",[(0,W.SB)("collapsed, void",(0,W.oB)({height:"0px",visibility:"hidden"})),(0,W.SB)("expanded",(0,W.oB)({height:"*",visibility:"visible"})),(0,W.eR)("expanded <=> collapsed, void => collapsed",(0,W.jt)(z))])};let J=(()=>{class de{constructor(S){this._template=S}}return de.\u0275fac=function(S){return new(S||de)(e.Y36(e.Rgc))},de.\u0275dir=e.lG2({type:de,selectors:[["ng-template","matExpansionPanelContent",""]]}),de})(),I=0;const Ie=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Re=(()=>{class de extends E{constructor(S,P,N,ne,j,Te,n){super(S,P,N),this._viewContainerRef=ne,this._animationMode=Te,this._hideToggle=!1,this.afterExpand=new e.vpe,this.afterCollapse=new e.vpe,this._inputChanges=new g.xQ,this._headerId="mat-expansion-panel-header-"+I++,this._bodyAnimationDone=new g.xQ,this.accordion=S,this._document=j,this._bodyAnimationDone.pipe((0,he.x)((r,u)=>r.fromState===u.fromState&&r.toState===u.toState)).subscribe(r=>{"void"!==r.fromState&&("expanded"===r.toState?this.afterExpand.emit():"collapsed"===r.toState&&this.afterCollapse.emit())}),n&&(this.hideToggle=n.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(S){this._hideToggle=(0,f.Ig)(S)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(S){this._togglePosition=S}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe((0,re.O)(null),(0,Ne.h)(()=>this.expanded&&!this._portal),(0,ce.q)(1)).subscribe(()=>{this._portal=new x.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(S){this._inputChanges.next(S)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const S=this._document.activeElement,P=this._body.nativeElement;return S===P||P.contains(S)}return!1}}return de.\u0275fac=function(S){return new(S||de)(e.Y36(be,12),e.Y36(e.sBO),e.Y36(m.A8),e.Y36(e.s_b),e.Y36(k.K0),e.Y36(se.Qb,8),e.Y36(Ie,8))},de.\u0275cmp=e.Xpm({type:de,selectors:[["mat-expansion-panel"]],contentQueries:function(S,P,N){if(1&S&&e.Suo(N,J,5),2&S){let ne;e.iGM(ne=e.CRH())&&(P._lazyContent=ne.first)}},viewQuery:function(S,P){if(1&S&&e.Gf(te,5),2&S){let N;e.iGM(N=e.CRH())&&(P._body=N.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(S,P){2&S&&e.ekj("mat-expanded",P.expanded)("_mat-animation-noopable","NoopAnimations"===P._animationMode)("mat-expansion-panel-spacing",P._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[e._Bn([{provide:be,useValue:void 0}]),e.qOj,e.TTD],ngContentSelectors:Be,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(S,P){1&S&&(e.F$t(pe),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(ne){return P._bodyAnimationDone.next(ne)}),e.TgZ(3,"div",2),e.Hsn(4,1),e.YNc(5,ae,0,0,"ng-template",3),e.qZA(),e.Hsn(6,2),e.qZA()),2&S&&(e.xp6(1),e.Q6J("@bodyExpansion",P._getExpandedState())("id",P.id),e.uIk("aria-labelledby",P._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",P._portal))},directives:[x.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Ce.bodyExpansion]},changeDetection:0}),de})();class fe{}const ve=(0,G.sb)(fe);let We=(()=>{class de extends ve{constructor(S,P,N,ne,j,Te,n){super(),this.panel=S,this._element=P,this._focusMonitor=N,this._changeDetectorRef=ne,this._animationMode=Te,this._parentChangeSubscription=v.w.EMPTY;const r=S.accordion?S.accordion._stateChanges.pipe((0,Ne.h)(u=>!(!u.hideToggle&&!u.togglePosition))):V.E;this.tabIndex=parseInt(n||"")||0,this._parentChangeSubscription=(0,F.T)(S.opened,S.closed,r,S._inputChanges.pipe((0,Ne.h)(u=>!!(u.hideToggle||u.disabled||u.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),S.closed.pipe((0,Ne.h)(()=>S._containsFocus())).subscribe(()=>N.focusVia(P,"program")),j&&(this.expandedHeight=j.expandedHeight,this.collapsedHeight=j.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const S=this._isExpanded();return S&&this.expandedHeight?this.expandedHeight:!S&&this.collapsedHeight?this.collapsedHeight:null}_keydown(S){switch(S.keyCode){case Pe.L_:case Pe.K5:(0,Pe.Vb)(S)||(S.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(S))}}focus(S,P){S?this._focusMonitor.focusVia(this._element,S,P):this._element.nativeElement.focus(P)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(S=>{S&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return de.\u0275fac=function(S){return new(S||de)(e.Y36(Re,1),e.Y36(e.SBq),e.Y36(X.tE),e.Y36(e.sBO),e.Y36(Ie,8),e.Y36(se.Qb,8),e.$8M("tabindex"))},de.\u0275cmp=e.Xpm({type:de,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(S,P){1&S&&e.NdJ("click",function(){return P._toggle()})("keydown",function(ne){return P._keydown(ne)}),2&S&&(e.uIk("id",P.panel._headerId)("tabindex",P.tabIndex)("aria-controls",P._getPanelId())("aria-expanded",P._isExpanded())("aria-disabled",P.panel.disabled),e.Udp("height",P._getHeaderHeight()),e.ekj("mat-expanded",P._isExpanded())("mat-expansion-toggle-indicator-after","after"===P._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===P._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===P._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:De,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(S,P){1&S&&(e.F$t(ke),e.TgZ(0,"span",0),e.Hsn(1),e.Hsn(2,1),e.Hsn(3,2),e.qZA(),e.YNc(4,Fe,1,1,"span",1)),2&S&&(e.xp6(4),e.Q6J("ngIf",P._showToggle()))},directives:[k.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[Ce.indicatorRotate]},changeDetection:0}),de})(),nt=(()=>{class de{}return de.\u0275fac=function(S){return new(S||de)},de.\u0275dir=e.lG2({type:de,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),de})(),st=(()=>{class de{}return de.\u0275fac=function(S){return new(S||de)},de.\u0275dir=e.lG2({type:de,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),de})(),dt=(()=>{class de extends b{constructor(){super(...arguments),this._ownHeaders=new e.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(S){this._hideToggle=(0,f.Ig)(S)}ngAfterContentInit(){this._headers.changes.pipe((0,re.O)(this._headers)).subscribe(S=>{this._ownHeaders.reset(S.filter(P=>P.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new X.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(S){this._keyManager.onKeydown(S)}_handleHeaderFocus(S){this._keyManager.updateActiveItem(S)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return de.\u0275fac=function(){let M;return function(P){return(M||(M=e.n5z(de)))(P||de)}}(),de.\u0275dir=e.lG2({type:de,selectors:[["mat-accordion"]],contentQueries:function(S,P,N){if(1&S&&e.Suo(N,We,5),2&S){let ne;e.iGM(ne=e.CRH())&&(P._headers=ne)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(S,P){2&S&&e.ekj("mat-accordion-multi",P.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[e._Bn([{provide:be,useExisting:de}]),e.qOj]}),de})(),L=(()=>{class de{}return de.\u0275fac=function(S){return new(S||de)},de.\u0275mod=e.oAB({type:de}),de.\u0275inj=e.cJS({imports:[[k.ez,G.BQ,h,x.eL]]}),de})()},67322:(Ze,ge,d)=>{"use strict";d.d(ge,{G_:()=>Te,TO:()=>Ce,KE:()=>n,Eo:()=>I,lN:()=>r,bx:()=>We,hX:()=>nt,UY:()=>st,R9:()=>M});var e=d(17144),f=d(69808),g=d(5e3),v=d(90508),m=d(63191),A=d(8929),s=d(36787),b=d(23753),R=d(1059),E=d(7625),h=d(72986),x=d(41777),k=d(76360),G=d(50226),X=d(70925);const he=["connectionContainer"],re=["inputContainer"],Ne=["label"];function ce(u,o){1&u&&(g.ynx(0),g.TgZ(1,"div",14),g._UZ(2,"div",15),g._UZ(3,"div",16),g._UZ(4,"div",17),g.qZA(),g.TgZ(5,"div",18),g._UZ(6,"div",15),g._UZ(7,"div",16),g._UZ(8,"div",17),g.qZA(),g.BQk())}function Pe(u,o){if(1&u){const t=g.EpF();g.TgZ(0,"div",19),g.NdJ("cdkObserveContent",function(){return g.CHM(t),g.oxw().updateOutlineGap()}),g.Hsn(1,1),g.qZA()}if(2&u){const t=g.oxw();g.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)}}function se(u,o){if(1&u&&(g.ynx(0),g.Hsn(1,2),g.TgZ(2,"span"),g._uU(3),g.qZA(),g.BQk()),2&u){const t=g.oxw(2);g.xp6(3),g.Oqu(t._control.placeholder)}}function V(u,o){1&u&&g.Hsn(0,3,["*ngSwitchCase","true"])}function F(u,o){1&u&&(g.TgZ(0,"span",23),g._uU(1," *"),g.qZA())}function W(u,o){if(1&u){const t=g.EpF();g.TgZ(0,"label",20,21),g.NdJ("cdkObserveContent",function(){return g.CHM(t),g.oxw().updateOutlineGap()}),g.YNc(2,se,4,1,"ng-container",12),g.YNc(3,V,1,0,"ng-content",12),g.YNc(4,F,2,0,"span",22),g.qZA()}if(2&u){const t=g.oxw();g.ekj("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),g.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),g.uIk("for",t._control.id)("aria-owns",t._control.id),g.xp6(2),g.Q6J("ngSwitchCase",!1),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function te(u,o){1&u&&(g.TgZ(0,"div",24),g.Hsn(1,4),g.qZA())}function ae(u,o){if(1&u&&(g.TgZ(0,"div",25),g._UZ(1,"span",26),g.qZA()),2&u){const t=g.oxw();g.xp6(1),g.ekj("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function pe(u,o){if(1&u&&(g.TgZ(0,"div"),g.Hsn(1,5),g.qZA()),2&u){const t=g.oxw();g.Q6J("@transitionMessages",t._subscriptAnimationState)}}function Be(u,o){if(1&u&&(g.TgZ(0,"div",30),g._uU(1),g.qZA()),2&u){const t=g.oxw(2);g.Q6J("id",t._hintLabelId),g.xp6(1),g.Oqu(t.hintLabel)}}function Fe(u,o){if(1&u&&(g.TgZ(0,"div",27),g.YNc(1,Be,2,2,"div",28),g.Hsn(2,6),g._UZ(3,"div",29),g.Hsn(4,7),g.qZA()),2&u){const t=g.oxw();g.Q6J("@transitionMessages",t._subscriptAnimationState),g.xp6(1),g.Q6J("ngIf",t.hintLabel)}}const ke=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],De=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let be=0;const z=new g.OlP("MatError");let Ce=(()=>{class u{constructor(t,i){this.id="mat-error-"+be++,t||i.nativeElement.setAttribute("aria-live","polite")}}return u.\u0275fac=function(t){return new(t||u)(g.$8M("aria-live"),g.Y36(g.SBq))},u.\u0275dir=g.lG2({type:u,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(t,i){2&t&&g.uIk("id",i.id)},inputs:{id:"id"},features:[g._Bn([{provide:z,useExisting:u}])]}),u})();const J={transitionMessages:(0,x.X$)("transitionMessages",[(0,x.SB)("enter",(0,x.oB)({opacity:1,transform:"translateY(0%)"})),(0,x.eR)("void => enter",[(0,x.oB)({opacity:0,transform:"translateY(-5px)"}),(0,x.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let I=(()=>{class u{}return u.\u0275fac=function(t){return new(t||u)},u.\u0275dir=g.lG2({type:u}),u})(),fe=0;const ve=new g.OlP("MatHint");let We=(()=>{class u{constructor(){this.align="start",this.id="mat-hint-"+fe++}}return u.\u0275fac=function(t){return new(t||u)},u.\u0275dir=g.lG2({type:u,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,i){2&t&&(g.uIk("id",i.id)("align",null),g.ekj("mat-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"},features:[g._Bn([{provide:ve,useExisting:u}])]}),u})(),nt=(()=>{class u{}return u.\u0275fac=function(t){return new(t||u)},u.\u0275dir=g.lG2({type:u,selectors:[["mat-label"]]}),u})(),st=(()=>{class u{}return u.\u0275fac=function(t){return new(t||u)},u.\u0275dir=g.lG2({type:u,selectors:[["mat-placeholder"]]}),u})();const dt=new g.OlP("MatPrefix"),de=new g.OlP("MatSuffix");let M=(()=>{class u{}return u.\u0275fac=function(t){return new(t||u)},u.\u0275dir=g.lG2({type:u,selectors:[["","matSuffix",""]],features:[g._Bn([{provide:de,useExisting:u}])]}),u})(),S=0;const ne=(0,v.pj)(class{constructor(u){this._elementRef=u}},"primary"),j=new g.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Te=new g.OlP("MatFormField");let n=(()=>{class u extends ne{constructor(t,i,c,p,T,Se,je){super(t),this._changeDetectorRef=i,this._dir=c,this._defaults=p,this._platform=T,this._ngZone=Se,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new A.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+S++,this._labelId="mat-form-field-label-"+S++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==je,this.appearance=p&&p.appearance?p.appearance:"legacy",this._hideRequiredMarker=!(!p||null==p.hideRequiredMarker)&&p.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const i=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&i!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=(0,m.Ig)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe((0,R.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,E.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,E.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,s.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,R.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,R.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,E.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const i=this._control?this._control.ngControl:null;return i&&i[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,b.R)(this._label.nativeElement,"transitionend").pipe((0,h.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(p=>"start"===p.align):null,c=this._hintChildren?this._hintChildren.find(p=>"end"===p.align):null;i?t.push(i.id):this._hintLabel&&t.push(this._hintLabelId),c&&t.push(c.id)}else this._errorChildren&&t.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,c=".mat-form-field-outline-start",p=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!t||!t.children.length||!t.textContent.trim()){const St=i.querySelectorAll(`${c}, ${p}`);for(let Ft=0;Ft0?.75*Mt+10:0}for(let St=0;St{class u{}return u.\u0275fac=function(t){return new(t||u)},u.\u0275mod=g.oAB({type:u}),u.\u0275inj=g.cJS({imports:[[f.ez,v.BQ,e.Q8],v.BQ]}),u})()},25245:(Ze,ge,d)=>{"use strict";d.d(ge,{Hw:()=>Re,Ps:()=>ze,jv:()=>ae});var e=d(5e3),f=d(90508),g=d(63191),v=d(69808),m=d(21086),A=d(61737),s=d(30567),b=d(42654),R=d(22868),E=d(24850),h=d(27221),x=d(40537),k=d(12474),G=d(72986),X=d(40520),he=d(22313);const re=["*"];let Ne;function Pe(fe){var ve;return(null===(ve=function ce(){if(void 0===Ne&&(Ne=null,"undefined"!=typeof window)){const fe=window;void 0!==fe.trustedTypes&&(Ne=fe.trustedTypes.createPolicy("angular#components",{createHTML:ve=>ve}))}return Ne}())||void 0===ve?void 0:ve.createHTML(fe))||fe}function se(fe){return Error(`Unable to find icon with the name "${fe}"`)}function F(fe){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${fe}".`)}function W(fe){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${fe}".`)}class te{constructor(ve,We,nt){this.url=ve,this.svgText=We,this.options=nt}}let ae=(()=>{class fe{constructor(We,nt,st,dt){this._httpClient=We,this._sanitizer=nt,this._errorHandler=dt,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=st}addSvgIcon(We,nt,st){return this.addSvgIconInNamespace("",We,nt,st)}addSvgIconLiteral(We,nt,st){return this.addSvgIconLiteralInNamespace("",We,nt,st)}addSvgIconInNamespace(We,nt,st,dt){return this._addSvgIconConfig(We,nt,new te(st,null,dt))}addSvgIconResolver(We){return this._resolvers.push(We),this}addSvgIconLiteralInNamespace(We,nt,st,dt){const L=this._sanitizer.sanitize(e.q3G.HTML,st);if(!L)throw W(st);const de=Pe(L);return this._addSvgIconConfig(We,nt,new te("",de,dt))}addSvgIconSet(We,nt){return this.addSvgIconSetInNamespace("",We,nt)}addSvgIconSetLiteral(We,nt){return this.addSvgIconSetLiteralInNamespace("",We,nt)}addSvgIconSetInNamespace(We,nt,st){return this._addSvgIconSetConfig(We,new te(nt,null,st))}addSvgIconSetLiteralInNamespace(We,nt,st){const dt=this._sanitizer.sanitize(e.q3G.HTML,nt);if(!dt)throw W(nt);const L=Pe(dt);return this._addSvgIconSetConfig(We,new te("",L,st))}registerFontClassAlias(We,nt=We){return this._fontCssClassesByAlias.set(We,nt),this}classNameForFontAlias(We){return this._fontCssClassesByAlias.get(We)||We}setDefaultFontSetClass(We){return this._defaultFontSetClass=We,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(We){const nt=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,We);if(!nt)throw F(We);const st=this._cachedIconsByUrl.get(nt);return st?(0,m.of)(Fe(st)):this._loadSvgIconFromConfig(new te(We,null)).pipe((0,R.b)(dt=>this._cachedIconsByUrl.set(nt,dt)),(0,E.U)(dt=>Fe(dt)))}getNamedSvgIcon(We,nt=""){const st=ke(nt,We);let dt=this._svgIconConfigs.get(st);if(dt)return this._getSvgFromConfig(dt);if(dt=this._getIconConfigFromResolvers(nt,We),dt)return this._svgIconConfigs.set(st,dt),this._getSvgFromConfig(dt);const L=this._iconSetConfigs.get(nt);return L?this._getSvgFromIconSetConfigs(We,L):(0,A._)(se(st))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(We){return We.svgText?(0,m.of)(Fe(this._svgElementFromConfig(We))):this._loadSvgIconFromConfig(We).pipe((0,E.U)(nt=>Fe(nt)))}_getSvgFromIconSetConfigs(We,nt){const st=this._extractIconWithNameFromAnySet(We,nt);if(st)return(0,m.of)(st);const dt=nt.filter(L=>!L.svgText).map(L=>this._loadSvgIconSetFromConfig(L).pipe((0,h.K)(de=>{const S=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,L.url)} failed: ${de.message}`;return this._errorHandler.handleError(new Error(S)),(0,m.of)(null)})));return(0,s.D)(dt).pipe((0,E.U)(()=>{const L=this._extractIconWithNameFromAnySet(We,nt);if(!L)throw se(We);return L}))}_extractIconWithNameFromAnySet(We,nt){for(let st=nt.length-1;st>=0;st--){const dt=nt[st];if(dt.svgText&&dt.svgText.toString().indexOf(We)>-1){const L=this._svgElementFromConfig(dt),de=this._extractSvgIconFromSet(L,We,dt.options);if(de)return de}}return null}_loadSvgIconFromConfig(We){return this._fetchIcon(We).pipe((0,R.b)(nt=>We.svgText=nt),(0,E.U)(()=>this._svgElementFromConfig(We)))}_loadSvgIconSetFromConfig(We){return We.svgText?(0,m.of)(null):this._fetchIcon(We).pipe((0,R.b)(nt=>We.svgText=nt))}_extractSvgIconFromSet(We,nt,st){const dt=We.querySelector(`[id="${nt}"]`);if(!dt)return null;const L=dt.cloneNode(!0);if(L.removeAttribute("id"),"svg"===L.nodeName.toLowerCase())return this._setSvgAttributes(L,st);if("symbol"===L.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(L),st);const de=this._svgElementFromString(Pe(""));return de.appendChild(L),this._setSvgAttributes(de,st)}_svgElementFromString(We){const nt=this._document.createElement("DIV");nt.innerHTML=We;const st=nt.querySelector("svg");if(!st)throw Error(" tag not found");return st}_toSvgElement(We){const nt=this._svgElementFromString(Pe("")),st=We.attributes;for(let dt=0;dtPe(P)),(0,x.x)(()=>this._inProgressUrlFetches.delete(de)),(0,k.B)());return this._inProgressUrlFetches.set(de,S),S}_addSvgIconConfig(We,nt,st){return this._svgIconConfigs.set(ke(We,nt),st),this}_addSvgIconSetConfig(We,nt){const st=this._iconSetConfigs.get(We);return st?st.push(nt):this._iconSetConfigs.set(We,[nt]),this}_svgElementFromConfig(We){if(!We.svgElement){const nt=this._svgElementFromString(We.svgText);this._setSvgAttributes(nt,We.options),We.svgElement=nt}return We.svgElement}_getIconConfigFromResolvers(We,nt){for(let st=0;stve?ve.pathname+ve.search:""}}}),J=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],I=J.map(fe=>`[${fe}]`).join(", "),Ie=/^url\(['"]?#(.*?)['"]?\)$/;let Re=(()=>{class fe extends be{constructor(We,nt,st,dt,L){super(We),this._iconRegistry=nt,this._location=dt,this._errorHandler=L,this._inline=!1,this._currentIconFetch=b.w.EMPTY,st||We.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(We){this._inline=(0,g.Ig)(We)}get svgIcon(){return this._svgIcon}set svgIcon(We){We!==this._svgIcon&&(We?this._updateSvgIcon(We):this._svgIcon&&this._clearSvgElement(),this._svgIcon=We)}get fontSet(){return this._fontSet}set fontSet(We){const nt=this._cleanupFontValue(We);nt!==this._fontSet&&(this._fontSet=nt,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(We){const nt=this._cleanupFontValue(We);nt!==this._fontIcon&&(this._fontIcon=nt,this._updateFontIconClasses())}_splitIconName(We){if(!We)return["",""];const nt=We.split(":");switch(nt.length){case 1:return["",nt[0]];case 2:return nt;default:throw Error(`Invalid icon name: "${We}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const We=this._elementsWithExternalReferences;if(We&&We.size){const nt=this._location.getPathname();nt!==this._previousPath&&(this._previousPath=nt,this._prependPathToReferences(nt))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(We){this._clearSvgElement();const nt=We.querySelectorAll("style");for(let dt=0;dt{st.forEach(L=>{dt.setAttribute(L.name,`url('${We}#${L.value}')`)})})}_cacheChildrenWithExternalReferences(We){const nt=We.querySelectorAll(I),st=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let dt=0;dt{const de=nt[dt],M=de.getAttribute(L),S=M?M.match(Ie):null;if(S){let P=st.get(de);P||(P=[],st.set(de,P)),P.push({name:L,value:S[1]})}})}_updateSvgIcon(We){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),We){const[nt,st]=this._splitIconName(We);nt&&(this._svgNamespace=nt),st&&(this._svgName=st),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(st,nt).pipe((0,G.q)(1)).subscribe(dt=>this._setSvgElement(dt),dt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${nt}:${st}! ${dt.message}`))})}}}return fe.\u0275fac=function(We){return new(We||fe)(e.Y36(e.SBq),e.Y36(ae),e.$8M("aria-hidden"),e.Y36(z),e.Y36(e.qLn))},fe.\u0275cmp=e.Xpm({type:fe,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(We,nt){2&We&&(e.uIk("data-mat-icon-type",nt._usingFontIcon()?"font":"svg")("data-mat-icon-name",nt._svgName||nt.fontIcon)("data-mat-icon-namespace",nt._svgNamespace||nt.fontSet),e.ekj("mat-icon-inline",nt.inline)("mat-icon-no-color","primary"!==nt.color&&"accent"!==nt.color&&"warn"!==nt.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:re,decls:1,vars:0,template:function(We,nt){1&We&&(e.F$t(),e.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),fe})(),ze=(()=>{class fe{}return fe.\u0275fac=function(We){return new(We||fe)},fe.\u0275mod=e.oAB({type:fe}),fe.\u0275inj=e.cJS({imports:[[f.BQ],f.BQ]}),fe})()},98833:(Ze,ge,d)=>{"use strict";d.d(ge,{Jk:()=>E,Nt:()=>G,c:()=>X});var e=d(63191),f=d(70925),g=d(5e3),v=d(93075),m=d(90508),A=d(67322),s=d(8929),b=d(74533);const E=new g.OlP("MAT_INPUT_VALUE_ACCESSOR"),h=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let x=0;const k=(0,m.FD)(class{constructor(he,re,Ne,ce){this._defaultErrorStateMatcher=he,this._parentForm=re,this._parentFormGroup=Ne,this.ngControl=ce}});let G=(()=>{class he extends k{constructor(Ne,ce,Pe,se,V,F,W,te,ae,pe){super(F,se,V,Pe),this._elementRef=Ne,this._platform=ce,this._autofillMonitor=te,this._formField=pe,this._uid="mat-input-"+x++,this.focused=!1,this.stateChanges=new s.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(ke=>(0,f.qK)().has(ke));const Be=this._elementRef.nativeElement,Fe=Be.nodeName.toLowerCase();this._inputValueAccessor=W||Be,this._previousNativeValue=this.value,this.id=this.id,ce.IOS&&ae.runOutsideAngular(()=>{Ne.nativeElement.addEventListener("keyup",ke=>{const De=ke.target;!De.value&&0===De.selectionStart&&0===De.selectionEnd&&(De.setSelectionRange(1,1),De.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Fe,this._isTextarea="textarea"===Fe,this._isInFormField=!!pe,this._isNativeSelect&&(this.controlType=Be.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(Ne){this._disabled=(0,e.Ig)(Ne),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(Ne){this._id=Ne||this._uid}get required(){var Ne,ce,Pe,se;return null!==(se=null!==(Ne=this._required)&&void 0!==Ne?Ne:null===(Pe=null===(ce=this.ngControl)||void 0===ce?void 0:ce.control)||void 0===Pe?void 0:Pe.hasValidator(v.kI.required))&&void 0!==se&&se}set required(Ne){this._required=(0,e.Ig)(Ne)}get type(){return this._type}set type(Ne){this._type=Ne||"text",this._validateType(),!this._isTextarea&&(0,f.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(Ne){Ne!==this.value&&(this._inputValueAccessor.value=Ne,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(Ne){this._readonly=(0,e.Ig)(Ne)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(Ne=>{this.autofilled=Ne.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(Ne){this._elementRef.nativeElement.focus(Ne)}_focusChanged(Ne){Ne!==this.focused&&(this.focused=Ne,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var Ne,ce;const Pe=(null===(ce=null===(Ne=this._formField)||void 0===Ne?void 0:Ne._hideControlPlaceholder)||void 0===ce?void 0:ce.call(Ne))?null:this.placeholder;if(Pe!==this._previousPlaceholder){const se=this._elementRef.nativeElement;this._previousPlaceholder=Pe,Pe?se.setAttribute("placeholder",Pe):se.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const Ne=this._elementRef.nativeElement.value;this._previousNativeValue!==Ne&&(this._previousNativeValue=Ne,this.stateChanges.next())}_validateType(){h.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let Ne=this._elementRef.nativeElement.validity;return Ne&&Ne.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const Ne=this._elementRef.nativeElement,ce=Ne.options[0];return this.focused||Ne.multiple||!this.empty||!!(Ne.selectedIndex>-1&&ce&&ce.label)}return this.focused||!this.empty}setDescribedByIds(Ne){Ne.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ne.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const Ne=this._elementRef.nativeElement;return this._isNativeSelect&&(Ne.multiple||Ne.size>1)}}return he.\u0275fac=function(Ne){return new(Ne||he)(g.Y36(g.SBq),g.Y36(f.t4),g.Y36(v.a5,10),g.Y36(v.F,8),g.Y36(v.sg,8),g.Y36(m.rD),g.Y36(E,10),g.Y36(b.Lq),g.Y36(g.R0b),g.Y36(A.G_,8))},he.\u0275dir=g.lG2({type:he,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(Ne,ce){1&Ne&&g.NdJ("focus",function(){return ce._focusChanged(!0)})("blur",function(){return ce._focusChanged(!1)})("input",function(){return ce._onInput()}),2&Ne&&(g.Ikx("disabled",ce.disabled)("required",ce.required),g.uIk("id",ce.id)("data-placeholder",ce.placeholder)("name",ce.name||null)("readonly",ce.readonly&&!ce._isNativeSelect||null)("aria-invalid",ce.empty&&ce.required?null:ce.errorState)("aria-required",ce.required),g.ekj("mat-input-server",ce._isServer)("mat-native-select-inline",ce._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[g._Bn([{provide:A.Eo,useExisting:he}]),g.qOj,g.TTD]}),he})(),X=(()=>{class he{}return he.\u0275fac=function(Ne){return new(Ne||he)},he.\u0275mod=g.oAB({type:he}),he.\u0275inj=g.cJS({providers:[m.rD],imports:[[b.Ky,A.lN,m.BQ],b.Ky,A.lN]}),he})()},14623:(Ze,ge,d)=>{"use strict";d.d(ge,{i$:()=>ae,Tg:()=>ke,ie:()=>Ie});var e=d(69808),f=d(5e3),g=d(90508),v=d(63191),m=d(8929),A=d(7625),x=(d(1059),d(15664),d(20449),d(91159),d(93075),d(4834));const k=["*"],X=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],he=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],se=(0,g.Id)((0,g.Kr)(class{})),V=(0,g.Kr)(class{}),F=new f.OlP("MatList"),W=new f.OlP("MatNavList");let ae=(()=>{class Re extends se{constructor(fe){super(),this._elementRef=fe,this._stateChanges=new m.xQ,"action-list"===this._getListType()&&fe.nativeElement.classList.add("mat-action-list")}_getListType(){const fe=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===fe?"list":"mat-action-list"===fe?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Re.\u0275fac=function(fe){return new(fe||Re)(f.Y36(f.SBq))},Re.\u0275cmp=f.Xpm({type:Re,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[f._Bn([{provide:F,useExisting:Re}]),f.qOj,f.TTD],ngContentSelectors:k,decls:1,vars:0,template:function(fe,ve){1&fe&&(f.F$t(),f.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),Re})(),pe=(()=>{class Re{}return Re.\u0275fac=function(fe){return new(fe||Re)},Re.\u0275dir=f.lG2({type:Re,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),Re})(),Be=(()=>{class Re{}return Re.\u0275fac=function(fe){return new(fe||Re)},Re.\u0275dir=f.lG2({type:Re,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),Re})(),ke=(()=>{class Re extends V{constructor(fe,ve,We,nt){super(),this._element=fe,this._isInteractiveList=!1,this._destroyed=new m.xQ,this._disabled=!1,this._isInteractiveList=!!(We||nt&&"action-list"===nt._getListType()),this._list=We||nt;const st=this._getHostElement();"button"===st.nodeName.toLowerCase()&&!st.hasAttribute("type")&&st.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,A.R)(this._destroyed)).subscribe(()=>{ve.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(fe){this._disabled=(0,v.Ig)(fe)}ngAfterContentInit(){(0,g.E0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return Re.\u0275fac=function(fe){return new(fe||Re)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(W,8),f.Y36(F,8))},Re.\u0275cmp=f.Xpm({type:Re,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(fe,ve,We){if(1&fe&&(f.Suo(We,pe,5),f.Suo(We,Be,5),f.Suo(We,g.X2,5)),2&fe){let nt;f.iGM(nt=f.CRH())&&(ve._avatar=nt.first),f.iGM(nt=f.CRH())&&(ve._icon=nt.first),f.iGM(nt=f.CRH())&&(ve._lines=nt)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(fe,ve){2&fe&&f.ekj("mat-list-item-disabled",ve.disabled)("mat-list-item-avatar",ve._avatar||ve._icon)("mat-list-item-with-avatar",ve._avatar||ve._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[f.qOj],ngContentSelectors:he,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(fe,ve){1&fe&&(f.F$t(X),f.TgZ(0,"span",0),f._UZ(1,"span",1),f.Hsn(2),f.TgZ(3,"span",2),f.Hsn(4,1),f.qZA(),f.Hsn(5,2),f.qZA()),2&fe&&(f.xp6(1),f.Q6J("matRippleTrigger",ve._getHostElement())("matRippleDisabled",ve._isRippleDisabled()))},directives:[g.wG],encapsulation:2,changeDetection:0}),Re})(),Ie=(()=>{class Re{}return Re.\u0275fac=function(fe){return new(fe||Re)},Re.\u0275mod=f.oAB({type:Re}),Re.\u0275inj=f.cJS({imports:[[g.uc,g.si,g.BQ,g.us,e.ez],g.uc,g.BQ,g.us,x.t]}),Re})()},92181:(Ze,ge,d)=>{"use strict";d.d(ge,{VK:()=>dt,OP:()=>fe,Tx:()=>j,p6:()=>ne});var e=d(15664),f=d(63191),g=d(91159),v=d(5e3),m=d(8929),A=d(42654),s=d(36787),b=d(21086),R=d(8139),E=d(1059),h=d(87545),x=d(72986),k=d(7625),G=d(92198),X=d(40943),he=d(41777),re=d(47429),Ne=d(69808),ce=d(90508),Pe=d(92845),se=d(70925),V=d(50226),F=d(53435);const W=["mat-menu-item",""];function te(Te,n){1&Te&&(v.O4$(),v.TgZ(0,"svg",2),v._UZ(1,"polygon",3),v.qZA())}const ae=["*"];function pe(Te,n){if(1&Te){const r=v.EpF();v.TgZ(0,"div",0),v.NdJ("keydown",function(o){return v.CHM(r),v.oxw()._handleKeydown(o)})("click",function(){return v.CHM(r),v.oxw().closed.emit("click")})("@transformMenu.start",function(o){return v.CHM(r),v.oxw()._onAnimationStart(o)})("@transformMenu.done",function(o){return v.CHM(r),v.oxw()._onAnimationDone(o)}),v.TgZ(1,"div",1),v.Hsn(2),v.qZA(),v.qZA()}if(2&Te){const r=v.oxw();v.Q6J("id",r.panelId)("ngClass",r._classList)("@transformMenu",r._panelAnimationState),v.uIk("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null)("aria-describedby",r.ariaDescribedby||null)}}const Be={transformMenu:(0,he.X$)("transformMenu",[(0,he.SB)("void",(0,he.oB)({opacity:0,transform:"scale(0.8)"})),(0,he.eR)("void => enter",(0,he.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,he.oB)({opacity:1,transform:"scale(1)"}))),(0,he.eR)("* => void",(0,he.jt)("100ms 25ms linear",(0,he.oB)({opacity:0})))]),fadeInItems:(0,he.X$)("fadeInItems",[(0,he.SB)("showing",(0,he.oB)({opacity:1})),(0,he.eR)("void => *",[(0,he.oB)({opacity:0}),(0,he.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},De=new v.OlP("MatMenuContent"),Re=new v.OlP("MAT_MENU_PANEL"),ze=(0,ce.Kr)((0,ce.Id)(class{}));let fe=(()=>{class Te extends ze{constructor(r,u,o,t,i){var c;super(),this._elementRef=r,this._focusMonitor=o,this._parentMenu=t,this._changeDetectorRef=i,this.role="menuitem",this._hovered=new m.xQ,this._focused=new m.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(c=null==t?void 0:t.addItem)||void 0===c||c.call(t,this)}focus(r,u){this._focusMonitor&&r?this._focusMonitor.focusVia(this._getHostElement(),r,u):this._getHostElement().focus(u),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(r){this.disabled&&(r.preventDefault(),r.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var r;const u=this._elementRef.nativeElement.cloneNode(!0),o=u.querySelectorAll("mat-icon, .material-icons");for(let t=0;t{class Te{constructor(r,u,o){this._elementRef=r,this._ngZone=u,this._defaultOptions=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new v.n_E,this._tabSubscription=A.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new m.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new v.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+nt++}get xPosition(){return this._xPosition}set xPosition(r){this._xPosition=r,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(r){this._yPosition=r,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(r){this._overlapTrigger=(0,f.Ig)(r)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(r){this._hasBackdrop=(0,f.Ig)(r)}set panelClass(r){const u=this._previousPanelClass;u&&u.length&&u.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=r,r&&r.length&&(r.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(r){this.panelClass=r}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new e.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,E.O)(this._directDescendantItems),(0,h.w)(r=>(0,s.T)(...r.map(u=>u._focused)))).subscribe(r=>this._keyManager.updateActiveItem(r))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,E.O)(this._directDescendantItems),(0,h.w)(u=>(0,s.T)(...u.map(o=>o._hovered))))}addItem(r){}removeItem(r){}_handleKeydown(r){const u=r.keyCode,o=this._keyManager;switch(u){case g.hY:(0,g.Vb)(r)||(r.preventDefault(),this.closed.emit("keydown"));break;case g.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case g.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(u===g.LH||u===g.JH)&&o.setFocusOrigin("keyboard"),void o.onKeydown(r)}r.stopPropagation()}focusFirstItem(r="program"){this.lazyContent?this._ngZone.onStable.pipe((0,x.q)(1)).subscribe(()=>this._focusFirstItem(r)):this._focusFirstItem(r)}_focusFirstItem(r){const u=this._keyManager;if(u.setFocusOrigin(r).setFirstItemActive(),!u.activeItem&&this._directDescendantItems.length){let o=this._directDescendantItems.first._getHostElement().parentElement;for(;o;){if("menu"===o.getAttribute("role")){o.focus();break}o=o.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(r){const u=Math.min(this._baseElevation+r,24),o=`${this._elevationPrefix}${u}`,t=Object.keys(this._classList).find(i=>i.startsWith(this._elevationPrefix));(!t||t===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(r=this.xPosition,u=this.yPosition){const o=this._classList;o["mat-menu-before"]="before"===r,o["mat-menu-after"]="after"===r,o["mat-menu-above"]="above"===u,o["mat-menu-below"]="below"===u}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(r){this._animationDone.next(r),this._isAnimating=!1}_onAnimationStart(r){this._isAnimating=!0,"enter"===r.toState&&0===this._keyManager.activeItemIndex&&(r.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,E.O)(this._allItems)).subscribe(r=>{this._directDescendantItems.reset(r.filter(u=>u._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return Te.\u0275fac=function(r){return new(r||Te)(v.Y36(v.SBq),v.Y36(v.R0b),v.Y36(ve))},Te.\u0275dir=v.lG2({type:Te,contentQueries:function(r,u,o){if(1&r&&(v.Suo(o,De,5),v.Suo(o,fe,5),v.Suo(o,fe,4)),2&r){let t;v.iGM(t=v.CRH())&&(u.lazyContent=t.first),v.iGM(t=v.CRH())&&(u._allItems=t),v.iGM(t=v.CRH())&&(u.items=t)}},viewQuery:function(r,u){if(1&r&&v.Gf(v.Rgc,5),2&r){let o;v.iGM(o=v.CRH())&&(u.templateRef=o.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),Te})(),dt=(()=>{class Te extends st{constructor(r,u,o){super(r,u,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return Te.\u0275fac=function(r){return new(r||Te)(v.Y36(v.SBq),v.Y36(v.R0b),v.Y36(ve))},Te.\u0275cmp=v.Xpm({type:Te,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(r,u){2&r&&v.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[v._Bn([{provide:Re,useExisting:Te}]),v.qOj],ngContentSelectors:ae,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(r,u){1&r&&(v.F$t(),v.YNc(0,pe,3,6,"ng-template"))},directives:[Ne.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[Be.transformMenu,Be.fadeInItems]},changeDetection:0}),Te})();const L=new v.OlP("mat-menu-scroll-strategy"),M={provide:L,deps:[Pe.aV],useFactory:function de(Te){return()=>Te.scrollStrategies.reposition()}},P=(0,se.i$)({passive:!0});let N=(()=>{class Te{constructor(r,u,o,t,i,c,p,T){this._overlay=r,this._element=u,this._viewContainerRef=o,this._menuItemInstance=c,this._dir=p,this._focusMonitor=T,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=A.w.EMPTY,this._hoverSubscription=A.w.EMPTY,this._menuCloseSubscription=A.w.EMPTY,this._handleTouchStart=Se=>{(0,e.yG)(Se)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new v.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new v.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=t,this._parentMaterialMenu=i instanceof st?i:void 0,u.nativeElement.addEventListener("touchstart",this._handleTouchStart,P),c&&(c._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(r){this.menu=r}get menu(){return this._menu}set menu(r){r!==this._menu&&(this._menu=r,this._menuCloseSubscription.unsubscribe(),r&&(this._menuCloseSubscription=r.close.subscribe(u=>{this._destroyMenu(u),("click"===u||"tab"===u)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(u)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,P),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const r=this._createOverlay(),u=r.getConfig(),o=u.positionStrategy;this._setPosition(o),u.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,r.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof st&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe((0,k.R)(this.menu.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(r,u){this._focusMonitor&&r?this._focusMonitor.focusVia(this._element,r,u):this._element.nativeElement.focus(u)}updatePosition(){var r;null===(r=this._overlayRef)||void 0===r||r.updatePosition()}_destroyMenu(r){if(!this._overlayRef||!this.menuOpen)return;const u=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===r||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,u instanceof st?(u._resetAnimation(),u.lazyContent?u._animationDone.pipe((0,G.h)(o=>"void"===o.toState),(0,x.q)(1),(0,k.R)(u.lazyContent._attached)).subscribe({next:()=>u.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),u.lazyContent&&u.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let r=0,u=this.menu.parentMenu;for(;u;)r++,u=u.parentMenu;this.menu.setElevation(r)}}_setIsMenuOpen(r){this._menuOpen=r,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(r)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const r=this._getOverlayConfig();this._subscribeToPositions(r.positionStrategy),this._overlayRef=this._overlay.create(r),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Pe.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(r){this.menu.setPositionClasses&&r.positionChanges.subscribe(u=>{this.menu.setPositionClasses("start"===u.connectionPair.overlayX?"after":"before","top"===u.connectionPair.overlayY?"below":"above")})}_setPosition(r){let[u,o]="before"===this.menu.xPosition?["end","start"]:["start","end"],[t,i]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[c,p]=[t,i],[T,Se]=[u,o],je=0;this.triggersSubmenu()?(Se=u="before"===this.menu.xPosition?"start":"end",o=T="end"===u?"start":"end",je="bottom"===t?8:-8):this.menu.overlapTrigger||(c="top"===t?"bottom":"top",p="top"===i?"bottom":"top"),r.withPositions([{originX:u,originY:c,overlayX:T,overlayY:t,offsetY:je},{originX:o,originY:c,overlayX:Se,overlayY:t,offsetY:je},{originX:u,originY:p,overlayX:T,overlayY:i,offsetY:-je},{originX:o,originY:p,overlayX:Se,overlayY:i,offsetY:-je}])}_menuClosingActions(){const r=this._overlayRef.backdropClick(),u=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,b.of)(),t=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,G.h)(i=>i!==this._menuItemInstance),(0,G.h)(()=>this._menuOpen)):(0,b.of)();return(0,s.T)(r,o,t,u)}_handleMousedown(r){(0,e.X6)(r)||(this._openedBy=0===r.button?"mouse":void 0,this.triggersSubmenu()&&r.preventDefault())}_handleKeydown(r){const u=r.keyCode;(u===g.K5||u===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(u===g.SV&&"ltr"===this.dir||u===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(r){this.triggersSubmenu()?(r.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,G.h)(r=>r===this._menuItemInstance&&!r.disabled),(0,X.g)(0,R.e)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof st&&this.menu._isAnimating?this.menu._animationDone.pipe((0,x.q)(1),(0,X.g)(0,R.e),(0,k.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new re.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return Te.\u0275fac=function(r){return new(r||Te)(v.Y36(Pe.aV),v.Y36(v.SBq),v.Y36(v.s_b),v.Y36(L),v.Y36(Re,8),v.Y36(fe,10),v.Y36(V.Is,8),v.Y36(e.tE))},Te.\u0275dir=v.lG2({type:Te,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(r,u){1&r&&v.NdJ("click",function(t){return u._handleClick(t)})("mousedown",function(t){return u._handleMousedown(t)})("keydown",function(t){return u._handleKeydown(t)}),2&r&&v.uIk("aria-expanded",u.menuOpen||null)("aria-controls",u.menuOpen?u.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),Te})(),ne=(()=>{class Te extends N{}return Te.\u0275fac=function(){let n;return function(u){return(n||(n=v.n5z(Te)))(u||Te)}}(),Te.\u0275dir=v.lG2({type:Te,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[v.qOj]}),Te})(),j=(()=>{class Te{}return Te.\u0275fac=function(r){return new(r||Te)},Te.\u0275mod=v.oAB({type:Te}),Te.\u0275inj=v.cJS({providers:[M],imports:[[Ne.ez,ce.BQ,ce.si,Pe.U8],F.ZD,ce.BQ]}),Te})()},86087:(Ze,ge,d)=>{"use strict";d.d(ge,{NW:()=>W,ye:()=>he,TU:()=>te});var e=d(69808),f=d(5e3),g=d(90508),v=d(47423),m=d(74107),A=d(29772),s=d(63191),b=d(8929),R=d(67322);function E(ae,pe){if(1&ae&&(f.TgZ(0,"mat-option",19),f._uU(1),f.qZA()),2&ae){const Be=pe.$implicit;f.Q6J("value",Be),f.xp6(1),f.hij(" ",Be," ")}}function h(ae,pe){if(1&ae){const Be=f.EpF();f.TgZ(0,"mat-form-field",16),f.TgZ(1,"mat-select",17),f.NdJ("selectionChange",function(ke){return f.CHM(Be),f.oxw(2)._changePageSize(ke.value)}),f.YNc(2,E,2,2,"mat-option",18),f.qZA(),f.qZA()}if(2&ae){const Be=f.oxw(2);f.Q6J("appearance",Be._formFieldAppearance)("color",Be.color),f.xp6(1),f.Q6J("value",Be.pageSize)("disabled",Be.disabled)("aria-label",Be._intl.itemsPerPageLabel),f.xp6(1),f.Q6J("ngForOf",Be._displayedPageSizeOptions)}}function x(ae,pe){if(1&ae&&(f.TgZ(0,"div",20),f._uU(1),f.qZA()),2&ae){const Be=f.oxw(2);f.xp6(1),f.Oqu(Be.pageSize)}}function k(ae,pe){if(1&ae&&(f.TgZ(0,"div",12),f.TgZ(1,"div",13),f._uU(2),f.qZA(),f.YNc(3,h,3,6,"mat-form-field",14),f.YNc(4,x,2,1,"div",15),f.qZA()),2&ae){const Be=f.oxw();f.xp6(2),f.hij(" ",Be._intl.itemsPerPageLabel," "),f.xp6(1),f.Q6J("ngIf",Be._displayedPageSizeOptions.length>1),f.xp6(1),f.Q6J("ngIf",Be._displayedPageSizeOptions.length<=1)}}function G(ae,pe){if(1&ae){const Be=f.EpF();f.TgZ(0,"button",21),f.NdJ("click",function(){return f.CHM(Be),f.oxw().firstPage()}),f.O4$(),f.TgZ(1,"svg",7),f._UZ(2,"path",22),f.qZA(),f.qZA()}if(2&ae){const Be=f.oxw();f.Q6J("matTooltip",Be._intl.firstPageLabel)("matTooltipDisabled",Be._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Be._previousButtonsDisabled()),f.uIk("aria-label",Be._intl.firstPageLabel)}}function X(ae,pe){if(1&ae){const Be=f.EpF();f.O4$(),f.kcU(),f.TgZ(0,"button",23),f.NdJ("click",function(){return f.CHM(Be),f.oxw().lastPage()}),f.O4$(),f.TgZ(1,"svg",7),f._UZ(2,"path",24),f.qZA(),f.qZA()}if(2&ae){const Be=f.oxw();f.Q6J("matTooltip",Be._intl.lastPageLabel)("matTooltipDisabled",Be._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Be._nextButtonsDisabled()),f.uIk("aria-label",Be._intl.lastPageLabel)}}let he=(()=>{class ae{constructor(){this.changes=new b.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(Be,Fe,ke)=>{if(0==ke||0==Fe)return`0 of ${ke}`;const De=Be*Fe;return`${De+1} \u2013 ${De<(ke=Math.max(ke,0))?Math.min(De+Fe,ke):De+Fe} of ${ke}`}}}return ae.\u0275fac=function(Be){return new(Be||ae)},ae.\u0275prov=f.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})();const Ne={provide:he,deps:[[new f.FiY,new f.tp0,he]],useFactory:function re(ae){return ae||new he}},se=new f.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),V=(0,g.Id)((0,g.dB)(class{}));let F=(()=>{class ae extends V{constructor(Be,Fe,ke){if(super(),this._intl=Be,this._changeDetectorRef=Fe,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new f.vpe,this._intlChanges=Be.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),ke){const{pageSize:De,pageSizeOptions:be,hidePageSize:z,showFirstLastButtons:Ce}=ke;null!=De&&(this._pageSize=De),null!=be&&(this._pageSizeOptions=be),null!=z&&(this._hidePageSize=z),null!=Ce&&(this._showFirstLastButtons=Ce)}}get pageIndex(){return this._pageIndex}set pageIndex(Be){this._pageIndex=Math.max((0,s.su)(Be),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Be){this._length=(0,s.su)(Be),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Be){this._pageSize=Math.max((0,s.su)(Be),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Be){this._pageSizeOptions=(Be||[]).map(Fe=>(0,s.su)(Fe)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Be){this._hidePageSize=(0,s.Ig)(Be)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Be){this._showFirstLastButtons=(0,s.Ig)(Be)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Be=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Be)}previousPage(){if(!this.hasPreviousPage())return;const Be=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Be)}firstPage(){if(!this.hasPreviousPage())return;const Be=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Be)}lastPage(){if(!this.hasNextPage())return;const Be=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Be)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Be=this.getNumberOfPages()-1;return this.pageIndexBe-Fe),this._changeDetectorRef.markForCheck())}_emitPageEvent(Be){this.page.emit({previousPageIndex:Be,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return ae.\u0275fac=function(Be){f.$Z()},ae.\u0275dir=f.lG2({type:ae,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[f.qOj]}),ae})(),W=(()=>{class ae extends F{constructor(Be,Fe,ke){super(Be,Fe,ke),ke&&null!=ke.formFieldAppearance&&(this._formFieldAppearance=ke.formFieldAppearance)}}return ae.\u0275fac=function(Be){return new(Be||ae)(f.Y36(he),f.Y36(f.sBO),f.Y36(se,8))},ae.\u0275cmp=f.Xpm({type:ae,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[f.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(Be,Fe){1&Be&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.YNc(2,k,5,3,"div",2),f.TgZ(3,"div",3),f.TgZ(4,"div",4),f._uU(5),f.qZA(),f.YNc(6,G,3,5,"button",5),f.TgZ(7,"button",6),f.NdJ("click",function(){return Fe.previousPage()}),f.O4$(),f.TgZ(8,"svg",7),f._UZ(9,"path",8),f.qZA(),f.qZA(),f.kcU(),f.TgZ(10,"button",9),f.NdJ("click",function(){return Fe.nextPage()}),f.O4$(),f.TgZ(11,"svg",7),f._UZ(12,"path",10),f.qZA(),f.qZA(),f.YNc(13,X,3,5,"button",11),f.qZA(),f.qZA(),f.qZA()),2&Be&&(f.xp6(2),f.Q6J("ngIf",!Fe.hidePageSize),f.xp6(3),f.hij(" ",Fe._intl.getRangeLabel(Fe.pageIndex,Fe.pageSize,Fe.length)," "),f.xp6(1),f.Q6J("ngIf",Fe.showFirstLastButtons),f.xp6(1),f.Q6J("matTooltip",Fe._intl.previousPageLabel)("matTooltipDisabled",Fe._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Fe._previousButtonsDisabled()),f.uIk("aria-label",Fe._intl.previousPageLabel),f.xp6(3),f.Q6J("matTooltip",Fe._intl.nextPageLabel)("matTooltipDisabled",Fe._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Fe._nextButtonsDisabled()),f.uIk("aria-label",Fe._intl.nextPageLabel),f.xp6(3),f.Q6J("ngIf",Fe.showFirstLastButtons))},directives:[R.KE,m.gD,g.ey,v.lW,e.O5,e.sg,A.gM],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),ae})(),te=(()=>{class ae{}return ae.\u0275fac=function(Be){return new(Be||ae)},ae.\u0275mod=f.oAB({type:ae}),ae.\u0275inj=f.cJS({providers:[Ne],imports:[[e.ez,v.ot,m.LD,A.AV,g.BQ]]}),ae})()},85899:(Ze,ge,d)=>{"use strict";d.d(ge,{Cv:()=>x});var e=d(5e3),f=d(69808),g=d(90508);let x=(()=>{class k{}return k.\u0275fac=function(X){return new(X||k)},k.\u0275mod=e.oAB({type:k}),k.\u0275inj=e.cJS({imports:[[f.ez,g.BQ],g.BQ]}),k})()},20773:(Ze,ge,d)=>{"use strict";d.d(ge,{Cq:()=>V,$g:()=>se});var e=d(5e3),f=d(69808),g=d(90508),v=d(63191),m=d(70925),A=d(76360),s=d(42654),b=d(53435);function R(F,W){if(1&F&&(e.O4$(),e._UZ(0,"circle",4)),2&F){const te=e.oxw(),ae=e.MAs(1);e.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+te._spinnerAnimationLabel)("stroke-dashoffset",te._getStrokeDashOffset(),"px")("stroke-dasharray",te._getStrokeCircumference(),"px")("stroke-width",te._getCircleStrokeWidth(),"%")("transform-origin",te._getCircleTransformOrigin(ae)),e.uIk("r",te._getCircleRadius())}}function E(F,W){if(1&F&&(e.O4$(),e._UZ(0,"circle",4)),2&F){const te=e.oxw(),ae=e.MAs(1);e.Udp("stroke-dashoffset",te._getStrokeDashOffset(),"px")("stroke-dasharray",te._getStrokeCircumference(),"px")("stroke-width",te._getCircleStrokeWidth(),"%")("transform-origin",te._getCircleTransformOrigin(ae)),e.uIk("r",te._getCircleRadius())}}function h(F,W){if(1&F&&(e.O4$(),e._UZ(0,"circle",4)),2&F){const te=e.oxw(),ae=e.MAs(1);e.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+te._spinnerAnimationLabel)("stroke-dashoffset",te._getStrokeDashOffset(),"px")("stroke-dasharray",te._getStrokeCircumference(),"px")("stroke-width",te._getCircleStrokeWidth(),"%")("transform-origin",te._getCircleTransformOrigin(ae)),e.uIk("r",te._getCircleRadius())}}function x(F,W){if(1&F&&(e.O4$(),e._UZ(0,"circle",4)),2&F){const te=e.oxw(),ae=e.MAs(1);e.Udp("stroke-dashoffset",te._getStrokeDashOffset(),"px")("stroke-dasharray",te._getStrokeCircumference(),"px")("stroke-width",te._getCircleStrokeWidth(),"%")("transform-origin",te._getCircleTransformOrigin(ae)),e.uIk("r",te._getCircleRadius())}}const he=(0,g.pj)(class{constructor(F){this._elementRef=F}},"primary"),re=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function Ne(){return{diameter:100}}});class Pe extends he{constructor(W,te,ae,pe,Be,Fe,ke,De){super(W),this._document=ae,this._diameter=100,this._value=0,this._resizeSubscription=s.w.EMPTY,this.mode="determinate";const be=Pe._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),be.has(ae.head)||be.set(ae.head,new Set([100])),this._noopAnimations="NoopAnimations"===pe&&!!Be&&!Be._forceAnimations,Be&&(Be.diameter&&(this.diameter=Be.diameter),Be.strokeWidth&&(this.strokeWidth=Be.strokeWidth)),te.isBrowser&&te.SAFARI&&ke&&Fe&&De&&(this._resizeSubscription=ke.change(150).subscribe(()=>{"indeterminate"===this.mode&&De.run(()=>Fe.markForCheck())}))}get diameter(){return this._diameter}set diameter(W){this._diameter=(0,v.su)(W),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(W){this._strokeWidth=(0,v.su)(W)}get value(){return"determinate"===this.mode?this._value:0}set value(W){this._value=Math.max(0,Math.min(100,(0,v.su)(W)))}ngOnInit(){const W=this._elementRef.nativeElement;this._styleRoot=(0,m.kV)(W)||this._document.head,this._attachStyleNode(),W.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const W=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${W} ${W}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(W){var te;const ae=50*(null!==(te=W.currentScale)&&void 0!==te?te:1);return`${ae}% ${ae}%`}_attachStyleNode(){const W=this._styleRoot,te=this._diameter,ae=Pe._diameters;let pe=ae.get(W);if(!pe||!pe.has(te)){const Be=this._document.createElement("style");Be.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),Be.textContent=this._getAnimationText(),W.appendChild(Be),pe||(pe=new Set,ae.set(W,pe)),pe.add(te)}}_getAnimationText(){const W=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*W).replace(/END_VALUE/g,""+.2*W).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Pe._diameters=new WeakMap,Pe.\u0275fac=function(W){return new(W||Pe)(e.Y36(e.SBq),e.Y36(m.t4),e.Y36(f.K0,8),e.Y36(A.Qb,8),e.Y36(re),e.Y36(e.sBO),e.Y36(b.rL),e.Y36(e.R0b))},Pe.\u0275cmp=e.Xpm({type:Pe,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(W,te){2&W&&(e.uIk("aria-valuemin","determinate"===te.mode?0:null)("aria-valuemax","determinate"===te.mode?100:null)("aria-valuenow","determinate"===te.mode?te.value:null)("mode",te.mode),e.Udp("width",te.diameter,"px")("height",te.diameter,"px"),e.ekj("_mat-animation-noopable",te._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[e.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(W,te){1&W&&(e.O4$(),e.TgZ(0,"svg",0,1),e.YNc(2,R,1,11,"circle",2),e.YNc(3,E,1,9,"circle",3),e.qZA()),2&W&&(e.Udp("width",te.diameter,"px")("height",te.diameter,"px"),e.Q6J("ngSwitch","indeterminate"===te.mode),e.uIk("viewBox",te._getViewBox()),e.xp6(2),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1))},directives:[f.RF,f.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let se=(()=>{class F extends Pe{constructor(te,ae,pe,Be,Fe,ke,De,be){super(te,ae,pe,Be,Fe,ke,De,be),this.mode="indeterminate"}}return F.\u0275fac=function(te){return new(te||F)(e.Y36(e.SBq),e.Y36(m.t4),e.Y36(f.K0,8),e.Y36(A.Qb,8),e.Y36(re),e.Y36(e.sBO),e.Y36(b.rL),e.Y36(e.R0b))},F.\u0275cmp=e.Xpm({type:F,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(te,ae){2&te&&(e.Udp("width",ae.diameter,"px")("height",ae.diameter,"px"),e.ekj("_mat-animation-noopable",ae._noopAnimations))},inputs:{color:"color"},features:[e.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(te,ae){1&te&&(e.O4$(),e.TgZ(0,"svg",0,1),e.YNc(2,h,1,11,"circle",2),e.YNc(3,x,1,9,"circle",3),e.qZA()),2&te&&(e.Udp("width",ae.diameter,"px")("height",ae.diameter,"px"),e.Q6J("ngSwitch","indeterminate"===ae.mode),e.uIk("viewBox",ae._getViewBox()),e.xp6(2),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1))},directives:[f.RF,f.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),F})(),V=(()=>{class F{}return F.\u0275fac=function(te){return new(te||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({imports:[[g.BQ,f.ez],g.BQ]}),F})()},79814:(Ze,ge,d)=>{"use strict";d.d(ge,{U0:()=>V,VQ:()=>Ne,Fk:()=>F});var e=d(5e3),f=d(90508),g=d(63191),v=d(93075),m=d(76360),A=d(15664),s=d(20449);const b=["input"],R=function(W){return{enterDuration:W}},E=["*"],h=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function x(){return{color:"accent"}}});let k=0;const G={provide:v.JU,useExisting:(0,e.Gpc)(()=>Ne),multi:!0};class X{constructor(te,ae){this.source=te,this.value=ae}}const he=new e.OlP("MatRadioGroup");let re=(()=>{class W{constructor(ae){this._changeDetector=ae,this._value=null,this._name="mat-radio-group-"+k++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.vpe}get name(){return this._name}set name(ae){this._name=ae,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(ae){this._labelPosition="before"===ae?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(ae){this._value!==ae&&(this._value=ae,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(ae){this._selected=ae,this.value=ae?ae.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(ae){this._disabled=(0,g.Ig)(ae),this._markRadiosForCheck()}get required(){return this._required}set required(ae){this._required=(0,g.Ig)(ae),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(ae=>{ae.name=this.name,ae._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(pe=>{pe.checked=this.value===pe.value,pe.checked&&(this._selected=pe)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new X(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(ae=>ae._markForCheck())}writeValue(ae){this.value=ae,this._changeDetector.markForCheck()}registerOnChange(ae){this._controlValueAccessorChangeFn=ae}registerOnTouched(ae){this.onTouched=ae}setDisabledState(ae){this.disabled=ae,this._changeDetector.markForCheck()}}return W.\u0275fac=function(ae){return new(ae||W)(e.Y36(e.sBO))},W.\u0275dir=e.lG2({type:W,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),W})(),Ne=(()=>{class W extends re{}return W.\u0275fac=function(){let te;return function(pe){return(te||(te=e.n5z(W)))(pe||W)}}(),W.\u0275dir=e.lG2({type:W,selectors:[["mat-radio-group"]],contentQueries:function(ae,pe,Be){if(1&ae&&e.Suo(Be,V,5),2&ae){let Fe;e.iGM(Fe=e.CRH())&&(pe._radios=Fe)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[e._Bn([G,{provide:he,useExisting:W}]),e.qOj]}),W})();class ce{constructor(te){this._elementRef=te}}const Pe=(0,f.Kr)((0,f.sb)(ce));let se=(()=>{class W extends Pe{constructor(ae,pe,Be,Fe,ke,De,be,z){super(pe),this._changeDetector=Be,this._focusMonitor=Fe,this._radioDispatcher=ke,this._providerOverride=be,this._uniqueId="mat-radio-"+ ++k,this.id=this._uniqueId,this.change=new e.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=ae,this._noopAnimations="NoopAnimations"===De,z&&(this.tabIndex=(0,g.su)(z,0)),this._removeUniqueSelectionListener=ke.listen((Ce,J)=>{Ce!==this.id&&J===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(ae){const pe=(0,g.Ig)(ae);this._checked!==pe&&(this._checked=pe,pe&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!pe&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),pe&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(ae){this._value!==ae&&(this._value=ae,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===ae),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(ae){this._labelPosition=ae}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(ae){this._setDisabled((0,g.Ig)(ae))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(ae){this._required=(0,g.Ig)(ae)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(ae){this._color=ae}get inputId(){return`${this.id||this._uniqueId}-input`}focus(ae,pe){pe?this._focusMonitor.focusVia(this._inputElement,pe,ae):this._inputElement.nativeElement.focus(ae)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ae=>{!ae&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new X(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(ae){ae.stopPropagation()}_onInputInteraction(ae){if(ae.stopPropagation(),!this.checked&&!this.disabled){const pe=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),pe&&this.radioGroup._emitChangeEvent())}}_setDisabled(ae){this._disabled!==ae&&(this._disabled=ae,this._changeDetector.markForCheck())}}return W.\u0275fac=function(ae){e.$Z()},W.\u0275dir=e.lG2({type:W,viewQuery:function(ae,pe){if(1&ae&&e.Gf(b,5),2&ae){let Be;e.iGM(Be=e.CRH())&&(pe._inputElement=Be.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[e.qOj]}),W})(),V=(()=>{class W extends se{constructor(ae,pe,Be,Fe,ke,De,be,z){super(ae,pe,Be,Fe,ke,De,be,z)}}return W.\u0275fac=function(ae){return new(ae||W)(e.Y36(he,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(A.tE),e.Y36(s.A8),e.Y36(m.Qb,8),e.Y36(h,8),e.$8M("tabindex"))},W.\u0275cmp=e.Xpm({type:W,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(ae,pe){1&ae&&e.NdJ("focus",function(){return pe._inputElement.nativeElement.focus()}),2&ae&&(e.uIk("tabindex",null)("id",pe.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-radio-checked",pe.checked)("mat-radio-disabled",pe.disabled)("_mat-animation-noopable",pe._noopAnimations)("mat-primary","primary"===pe.color)("mat-accent","accent"===pe.color)("mat-warn","warn"===pe.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:E,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(ae,pe){if(1&ae&&(e.F$t(),e.TgZ(0,"label",0,1),e.TgZ(2,"span",2),e._UZ(3,"span",3),e._UZ(4,"span",4),e.TgZ(5,"input",5,6),e.NdJ("change",function(Fe){return pe._onInputInteraction(Fe)})("click",function(Fe){return pe._onInputClick(Fe)}),e.qZA(),e.TgZ(7,"span",7),e._UZ(8,"span",8),e.qZA(),e.qZA(),e.TgZ(9,"span",9),e.TgZ(10,"span",10),e._uU(11,"\xa0"),e.qZA(),e.Hsn(12),e.qZA(),e.qZA()),2&ae){const Be=e.MAs(1);e.uIk("for",pe.inputId),e.xp6(5),e.Q6J("id",pe.inputId)("checked",pe.checked)("disabled",pe.disabled)("tabIndex",pe.tabIndex)("required",pe.required),e.uIk("name",pe.name)("value",pe.value)("aria-label",pe.ariaLabel)("aria-labelledby",pe.ariaLabelledby)("aria-describedby",pe.ariaDescribedby),e.xp6(2),e.Q6J("matRippleTrigger",Be)("matRippleDisabled",pe._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",e.VKq(18,R,pe._noopAnimations?0:150)),e.xp6(2),e.ekj("mat-radio-label-before","before"==pe.labelPosition)}},directives:[f.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),W})(),F=(()=>{class W{}return W.\u0275fac=function(ae){return new(ae||W)},W.\u0275mod=e.oAB({type:W}),W.\u0275inj=e.cJS({imports:[[f.si,f.BQ],f.BQ]}),W})()},74107:(Ze,ge,d)=>{"use strict";d.d(ge,{gD:()=>j,LD:()=>Te,$L:()=>N});var e=d(92845),f=d(69808),g=d(5e3),v=d(90508),m=d(67322),A=d(53435),s=d(15664),b=d(63191),R=d(20449),E=d(91159),h=d(93075),x=d(8929),k=d(88514),G=d(36787),X=d(1059),he=d(87545),re=d(72986),Ne=d(92198),ce=d(24850),Pe=d(75778),se=d(7625),V=d(41777),F=d(50226);const W=["trigger"],te=["panel"];function ae(n,r){if(1&n&&(g.TgZ(0,"span",8),g._uU(1),g.qZA()),2&n){const u=g.oxw();g.xp6(1),g.Oqu(u.placeholder)}}function pe(n,r){if(1&n&&(g.TgZ(0,"span",12),g._uU(1),g.qZA()),2&n){const u=g.oxw(2);g.xp6(1),g.Oqu(u.triggerValue)}}function Be(n,r){1&n&&g.Hsn(0,0,["*ngSwitchCase","true"])}function Fe(n,r){if(1&n&&(g.TgZ(0,"span",9),g.YNc(1,pe,2,1,"span",10),g.YNc(2,Be,1,0,"ng-content",11),g.qZA()),2&n){const u=g.oxw();g.Q6J("ngSwitch",!!u.customTrigger),g.xp6(2),g.Q6J("ngSwitchCase",!0)}}function ke(n,r){if(1&n){const u=g.EpF();g.TgZ(0,"div",13),g.TgZ(1,"div",14,15),g.NdJ("@transformPanel.done",function(t){return g.CHM(u),g.oxw()._panelDoneAnimatingStream.next(t.toState)})("keydown",function(t){return g.CHM(u),g.oxw()._handleKeydown(t)}),g.Hsn(3,1),g.qZA(),g.qZA()}if(2&n){const u=g.oxw();g.Q6J("@transformPanelWrap",void 0),g.xp6(1),g.Gre("mat-select-panel ",u._getPanelTheme(),""),g.Udp("transform-origin",u._transformOrigin)("font-size",u._triggerFontSize,"px"),g.Q6J("ngClass",u.panelClass)("@transformPanel",u.multiple?"showing-multiple":"showing"),g.uIk("id",u.id+"-panel")("aria-multiselectable",u.multiple)("aria-label",u.ariaLabel||null)("aria-labelledby",u._getPanelAriaLabelledby())}}const De=[[["mat-select-trigger"]],"*"],be=["mat-select-trigger","*"],z={transformPanelWrap:(0,V.X$)("transformPanelWrap",[(0,V.eR)("* => void",(0,V.IO)("@transformPanel",[(0,V.pV)()],{optional:!0}))]),transformPanel:(0,V.X$)("transformPanel",[(0,V.SB)("void",(0,V.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,V.SB)("showing",(0,V.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,V.SB)("showing-multiple",(0,V.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,V.eR)("void => *",(0,V.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,V.eR)("* => void",(0,V.jt)("100ms 25ms linear",(0,V.oB)({opacity:0})))])};let Ie=0;const st=new g.OlP("mat-select-scroll-strategy"),L=new g.OlP("MAT_SELECT_CONFIG"),de={provide:st,deps:[e.aV],useFactory:function dt(n){return()=>n.scrollStrategies.reposition()}};class M{constructor(r,u){this.source=r,this.value=u}}const S=(0,v.Kr)((0,v.sb)((0,v.Id)((0,v.FD)(class{constructor(n,r,u,o,t){this._elementRef=n,this._defaultErrorStateMatcher=r,this._parentForm=u,this._parentFormGroup=o,this.ngControl=t}})))),P=new g.OlP("MatSelectTrigger");let N=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n,selectors:[["mat-select-trigger"]],features:[g._Bn([{provide:P,useExisting:n}])]}),n})(),ne=(()=>{class n extends S{constructor(u,o,t,i,c,p,T,Se,je,Et,St,Ft,It,Vt){var Mt,at,Ut;super(c,i,T,Se,Et),this._viewportRuler=u,this._changeDetectorRef=o,this._ngZone=t,this._dir=p,this._parentFormField=je,this._liveAnnouncer=It,this._defaultOptions=Vt,this._panelOpen=!1,this._compareWith=(gt,xt)=>gt===xt,this._uid="mat-select-"+Ie++,this._triggerAriaLabelledBy=null,this._destroy=new x.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Ie++,this._panelDoneAnimatingStream=new x.xQ,this._overlayPanelClass=(null===(Mt=this._defaultOptions)||void 0===Mt?void 0:Mt.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Ut=null===(at=this._defaultOptions)||void 0===at?void 0:at.disableOptionCentering)&&void 0!==Ut&&Ut,this.ariaLabel="",this.optionSelectionChanges=(0,k.P)(()=>{const gt=this.options;return gt?gt.changes.pipe((0,X.O)(gt),(0,he.w)(()=>(0,G.T)(...gt.map(xt=>xt.onSelectionChange)))):this._ngZone.onStable.pipe((0,re.q)(1),(0,he.w)(()=>this.optionSelectionChanges))}),this.openedChange=new g.vpe,this._openedStream=this.openedChange.pipe((0,Ne.h)(gt=>gt),(0,ce.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Ne.h)(gt=>!gt),(0,ce.U)(()=>{})),this.selectionChange=new g.vpe,this.valueChange=new g.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Vt?void 0:Vt.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Vt.typeaheadDebounceInterval),this._scrollStrategyFactory=Ft,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(St)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(u){this._placeholder=u,this.stateChanges.next()}get required(){var u,o,t,i;return null!==(i=null!==(u=this._required)&&void 0!==u?u:null===(t=null===(o=this.ngControl)||void 0===o?void 0:o.control)||void 0===t?void 0:t.hasValidator(h.kI.required))&&void 0!==i&&i}set required(u){this._required=(0,b.Ig)(u),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(u){this._multiple=(0,b.Ig)(u)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(u){this._disableOptionCentering=(0,b.Ig)(u)}get compareWith(){return this._compareWith}set compareWith(u){this._compareWith=u,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(u){(u!==this._value||this._multiple&&Array.isArray(u))&&(this.options&&this._setSelectionByValue(u),this._value=u)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(u){this._typeaheadDebounceInterval=(0,b.su)(u)}get id(){return this._id}set id(u){this._id=u||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new R.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,Pe.x)(),(0,se.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,se.R)(this._destroy)).subscribe(u=>{u.added.forEach(o=>o.select()),u.removed.forEach(o=>o.deselect())}),this.options.changes.pipe((0,X.O)(null),(0,se.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const u=this._getTriggerAriaLabelledby();if(u!==this._triggerAriaLabelledBy){const o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=u,u?o.setAttribute("aria-labelledby",u):o.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(u){u.disabled&&this.stateChanges.next(),u.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(u){this.value=u}registerOnChange(u){this._onChange=u}registerOnTouched(u){this._onTouched=u}setDisabledState(u){this.disabled=u,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var u,o;return this.multiple?(null===(u=this._selectionModel)||void 0===u?void 0:u.selected)||[]:null===(o=this._selectionModel)||void 0===o?void 0:o.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const u=this._selectionModel.selected.map(o=>o.viewValue);return this._isRtl()&&u.reverse(),u.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(u){this.disabled||(this.panelOpen?this._handleOpenKeydown(u):this._handleClosedKeydown(u))}_handleClosedKeydown(u){const o=u.keyCode,t=o===E.JH||o===E.LH||o===E.oh||o===E.SV,i=o===E.K5||o===E.L_,c=this._keyManager;if(!c.isTyping()&&i&&!(0,E.Vb)(u)||(this.multiple||u.altKey)&&t)u.preventDefault(),this.open();else if(!this.multiple){const p=this.selected;c.onKeydown(u);const T=this.selected;T&&p!==T&&this._liveAnnouncer.announce(T.viewValue,1e4)}}_handleOpenKeydown(u){const o=this._keyManager,t=u.keyCode,i=t===E.JH||t===E.LH,c=o.isTyping();if(i&&u.altKey)u.preventDefault(),this.close();else if(c||t!==E.K5&&t!==E.L_||!o.activeItem||(0,E.Vb)(u))if(!c&&this._multiple&&t===E.A&&u.ctrlKey){u.preventDefault();const p=this.options.some(T=>!T.disabled&&!T.selected);this.options.forEach(T=>{T.disabled||(p?T.select():T.deselect())})}else{const p=o.activeItemIndex;o.onKeydown(u),this._multiple&&i&&u.shiftKey&&o.activeItem&&o.activeItemIndex!==p&&o.activeItem._selectViaInteraction()}else u.preventDefault(),o.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,re.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(u){if(this._selectionModel.selected.forEach(o=>o.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&u)Array.isArray(u),u.forEach(o=>this._selectValue(o)),this._sortValues();else{const o=this._selectValue(u);o?this._keyManager.updateActiveItem(o):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(u){const o=this.options.find(t=>{if(this._selectionModel.isSelected(t))return!1;try{return null!=t.value&&this._compareWith(t.value,u)}catch(i){return!1}});return o&&this._selectionModel.select(o),o}_initKeyManager(){this._keyManager=new s.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,se.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,se.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const u=(0,G.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,se.R)(u)).subscribe(o=>{this._onSelect(o.source,o.isUserInput),o.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,G.T)(...this.options.map(o=>o._stateChanges)).pipe((0,se.R)(u)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(u,o){const t=this._selectionModel.isSelected(u);null!=u.value||this._multiple?(t!==u.selected&&(u.selected?this._selectionModel.select(u):this._selectionModel.deselect(u)),o&&this._keyManager.setActiveItem(u),this.multiple&&(this._sortValues(),o&&this.focus())):(u.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(u.value)),t!==this._selectionModel.isSelected(u)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const u=this.options.toArray();this._selectionModel.sort((o,t)=>this.sortComparator?this.sortComparator(o,t,u):u.indexOf(o)-u.indexOf(t)),this.stateChanges.next()}}_propagateChanges(u){let o=null;o=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:u,this._value=o,this.valueChange.emit(o),this._onChange(o),this.selectionChange.emit(this._getChangeEvent(o)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var u;return!this._panelOpen&&!this.disabled&&(null===(u=this.options)||void 0===u?void 0:u.length)>0}focus(u){this._elementRef.nativeElement.focus(u)}_getPanelAriaLabelledby(){var u;if(this.ariaLabel)return null;const o=null===(u=this._parentFormField)||void 0===u?void 0:u.getLabelId();return this.ariaLabelledby?(o?o+" ":"")+this.ariaLabelledby:o}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var u;if(this.ariaLabel)return null;const o=null===(u=this._parentFormField)||void 0===u?void 0:u.getLabelId();let t=(o?o+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(u){this.openedChange.emit(u)}setDescribedByIds(u){this._ariaDescribedby=u.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(u){return new(u||n)(g.Y36(A.rL),g.Y36(g.sBO),g.Y36(g.R0b),g.Y36(v.rD),g.Y36(g.SBq),g.Y36(F.Is,8),g.Y36(h.F,8),g.Y36(h.sg,8),g.Y36(m.G_,8),g.Y36(h.a5,10),g.$8M("tabindex"),g.Y36(st),g.Y36(s.Kd),g.Y36(L,8))},n.\u0275dir=g.lG2({type:n,viewQuery:function(u,o){if(1&u&&(g.Gf(W,5),g.Gf(te,5),g.Gf(e.pI,5)),2&u){let t;g.iGM(t=g.CRH())&&(o.trigger=t.first),g.iGM(t=g.CRH())&&(o.panel=t.first),g.iGM(t=g.CRH())&&(o._overlayDir=t.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[g.qOj,g.TTD]}),n})(),j=(()=>{class n extends ne{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(u,o,t){const i=this._getItemHeight();return Math.min(Math.max(0,i*u-o+i/2),t)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,se.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,re.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(u){const o=(0,v.CB)(u,this.options,this.optionGroups),t=this._getItemHeight();this.panel.nativeElement.scrollTop=0===u&&1===o?0:(0,v.jH)((u+o)*t,t,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(u){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(u)}_getChangeEvent(u){return new M(this,u)}_calculateOverlayOffsetX(){const u=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),o=this._viewportRuler.getViewportSize(),t=this._isRtl(),i=this.multiple?56:32;let c;if(this.multiple)c=40;else if(this.disableOptionCentering)c=16;else{let Se=this._selectionModel.selected[0]||this.options.first;c=Se&&Se.group?32:16}t||(c*=-1);const p=0-(u.left+c-(t?i:0)),T=u.right+c-o.width+(t?0:i);p>0?c+=p+8:T>0&&(c-=T+8),this._overlayDir.offsetX=Math.round(c),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(u,o,t){const i=this._getItemHeight(),c=(i-this._triggerRect.height)/2,p=Math.floor(256/i);let T;return this.disableOptionCentering?0:(T=0===this._scrollTop?u*i:this._scrollTop===t?(u-(this._getItemCount()-p))*i+(i-(this._getItemCount()*i-256)%i):o-i/2,Math.round(-1*T-c))}_checkOverlayWithinViewport(u){const o=this._getItemHeight(),t=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,c=t.height-this._triggerRect.bottom-8,p=Math.abs(this._offsetY),Se=Math.min(this._getItemCount()*o,256)-p-this._triggerRect.height;Se>c?this._adjustPanelUp(Se,c):p>i?this._adjustPanelDown(p,i,u):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(u,o){const t=Math.round(u-o);this._scrollTop-=t,this._offsetY-=t,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(u,o,t){const i=Math.round(u-o);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=t)return this._scrollTop=t,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const u=this._getItemHeight(),o=this._getItemCount(),t=Math.min(o*u,256),c=o*u-t;let p;p=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),p+=(0,v.CB)(p,this.options,this.optionGroups);const T=t/2;this._scrollTop=this._calculateOverlayScroll(p,T,c),this._offsetY=this._calculateOverlayOffsetY(p,T,c),this._checkOverlayWithinViewport(c)}_getOriginBasedOnOption(){const u=this._getItemHeight(),o=(u-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-o+u/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let r;return function(o){return(r||(r=g.n5z(n)))(o||n)}}(),n.\u0275cmp=g.Xpm({type:n,selectors:[["mat-select"]],contentQueries:function(u,o,t){if(1&u&&(g.Suo(t,P,5),g.Suo(t,v.ey,5),g.Suo(t,v.K7,5)),2&u){let i;g.iGM(i=g.CRH())&&(o.customTrigger=i.first),g.iGM(i=g.CRH())&&(o.options=i),g.iGM(i=g.CRH())&&(o.optionGroups=i)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(u,o){1&u&&g.NdJ("keydown",function(i){return o._handleKeydown(i)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),2&u&&(g.uIk("id",o.id)("tabindex",o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-describedby",o._ariaDescribedby||null)("aria-activedescendant",o._getAriaActiveDescendant()),g.ekj("mat-select-disabled",o.disabled)("mat-select-invalid",o.errorState)("mat-select-required",o.required)("mat-select-empty",o.empty)("mat-select-multiple",o.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[g._Bn([{provide:m.Eo,useExisting:n},{provide:v.HF,useExisting:n}]),g.qOj],ngContentSelectors:be,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(u,o){if(1&u&&(g.F$t(De),g.TgZ(0,"div",0,1),g.NdJ("click",function(){return o.toggle()}),g.TgZ(3,"div",2),g.YNc(4,ae,2,1,"span",3),g.YNc(5,Fe,3,2,"span",4),g.qZA(),g.TgZ(6,"div",5),g._UZ(7,"div",6),g.qZA(),g.qZA(),g.YNc(8,ke,4,14,"ng-template",7),g.NdJ("backdropClick",function(){return o.close()})("attach",function(){return o._onAttached()})("detach",function(){return o.close()})),2&u){const t=g.MAs(1);g.uIk("aria-owns",o.panelOpen?o.id+"-panel":null),g.xp6(3),g.Q6J("ngSwitch",o.empty),g.uIk("id",o._valueId),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngSwitchCase",!1),g.xp6(3),g.Q6J("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayMinWidth",null==o._triggerRect?null:o._triggerRect.width)("cdkConnectedOverlayOffsetY",o._offsetY)}},directives:[e.xu,f.RF,f.n9,f.ED,e.pI,f.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[z.transformPanelWrap,z.transformPanel]},changeDetection:0}),n})(),Te=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275mod=g.oAB({type:n}),n.\u0275inj=g.cJS({providers:[de],imports:[[f.ez,e.U8,v.Ng,v.BQ],A.ZD,m.lN,v.Ng,v.BQ]}),n})()},2638:(Ze,ge,d)=>{"use strict";d.d(ge,{JX:()=>nt,TM:()=>st,Rh:()=>We,SJ:()=>dt});var e=d(70925),f=d(53435),g=d(69808),v=d(5e3),m=d(90508),A=d(63191),s=d(91159),b=d(8929),R=d(23753),E=d(36787),h=d(92198),x=d(24850),k=d(77604),G=d(7625),X=d(75778),he=d(72986),re=d(1059),Ne=d(80013),ce=d(41777),Pe=d(76360),se=d(15664),V=d(50226);const F=["*"],W=["content"];function te(L,de){if(1&L){const M=v.EpF();v.TgZ(0,"div",2),v.NdJ("click",function(){return v.CHM(M),v.oxw()._onBackdropClicked()}),v.qZA()}if(2&L){const M=v.oxw();v.ekj("mat-drawer-shown",M._isShowingBackdrop())}}function ae(L,de){1&L&&(v.TgZ(0,"mat-drawer-content"),v.Hsn(1,2),v.qZA())}const pe=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Be=["mat-drawer","mat-drawer-content","*"];function Fe(L,de){if(1&L){const M=v.EpF();v.TgZ(0,"div",2),v.NdJ("click",function(){return v.CHM(M),v.oxw()._onBackdropClicked()}),v.qZA()}if(2&L){const M=v.oxw();v.ekj("mat-drawer-shown",M._isShowingBackdrop())}}function ke(L,de){1&L&&(v.TgZ(0,"mat-sidenav-content"),v.Hsn(1,2),v.qZA())}const De=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],be=["mat-sidenav","mat-sidenav-content","*"],Ce={transformDrawer:(0,ce.X$)("transform",[(0,ce.SB)("open, open-instant",(0,ce.oB)({transform:"none",visibility:"visible"})),(0,ce.SB)("void",(0,ce.oB)({"box-shadow":"none",visibility:"hidden"})),(0,ce.eR)("void => open-instant",(0,ce.jt)("0ms")),(0,ce.eR)("void <=> open, open-instant => void",(0,ce.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},I=new v.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Re(){return!1}}),Ie=new v.OlP("MAT_DRAWER_CONTAINER");let ze=(()=>{class L extends f.PQ{constructor(M,S,P,N,ne){super(P,N,ne),this._changeDetectorRef=M,this._container=S}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return L.\u0275fac=function(M){return new(M||L)(v.Y36(v.sBO),v.Y36((0,v.Gpc)(()=>ve)),v.Y36(v.SBq),v.Y36(f.mF),v.Y36(v.R0b))},L.\u0275cmp=v.Xpm({type:L,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(M,S){2&M&&v.Udp("margin-left",S._container._contentMargins.left,"px")("margin-right",S._container._contentMargins.right,"px")},features:[v._Bn([{provide:f.PQ,useExisting:L}]),v.qOj],ngContentSelectors:F,decls:1,vars:0,template:function(M,S){1&M&&(v.F$t(),v.Hsn(0))},encapsulation:2,changeDetection:0}),L})(),fe=(()=>{class L{constructor(M,S,P,N,ne,j,Te,n){this._elementRef=M,this._focusTrapFactory=S,this._focusMonitor=P,this._platform=N,this._ngZone=ne,this._interactivityChecker=j,this._doc=Te,this._container=n,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new b.xQ,this._animationEnd=new b.xQ,this._animationState="void",this.openedChange=new v.vpe(!0),this._openedStream=this.openedChange.pipe((0,h.h)(r=>r),(0,x.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,h.h)(r=>r.fromState!==r.toState&&0===r.toState.indexOf("open")),(0,k.h)(void 0)),this._closedStream=this.openedChange.pipe((0,h.h)(r=>!r),(0,x.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,h.h)(r=>r.fromState!==r.toState&&"void"===r.toState),(0,k.h)(void 0)),this._destroyed=new b.xQ,this.onPositionChanged=new v.vpe,this._modeChanged=new b.xQ,this.openedChange.subscribe(r=>{r?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,R.R)(this._elementRef.nativeElement,"keydown").pipe((0,h.h)(r=>r.keyCode===s.hY&&!this.disableClose&&!(0,s.Vb)(r)),(0,G.R)(this._destroyed)).subscribe(r=>this._ngZone.run(()=>{this.close(),r.stopPropagation(),r.preventDefault()}))}),this._animationEnd.pipe((0,X.x)((r,u)=>r.fromState===u.fromState&&r.toState===u.toState)).subscribe(r=>{const{fromState:u,toState:o}=r;(0===o.indexOf("open")&&"void"===u||"void"===o&&0===u.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(M){(M="end"===M?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(M),this._position=M,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(M){this._mode=M,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(M){this._disableClose=(0,A.Ig)(M)}get autoFocus(){const M=this._autoFocus;return null==M?"side"===this.mode?"dialog":"first-tabbable":M}set autoFocus(M){("true"===M||"false"===M||null==M)&&(M=(0,A.Ig)(M)),this._autoFocus=M}get opened(){return this._opened}set opened(M){this.toggle((0,A.Ig)(M))}_forceFocus(M,S){this._interactivityChecker.isFocusable(M)||(M.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{M.addEventListener("blur",()=>M.removeAttribute("tabindex")),M.addEventListener("mousedown",()=>M.removeAttribute("tabindex"))})),M.focus(S)}_focusByCssSelector(M,S){let P=this._elementRef.nativeElement.querySelector(M);P&&this._forceFocus(P,S)}_takeFocus(){if(!this._focusTrap)return;const M=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(S=>{!S&&"function"==typeof this._elementRef.nativeElement.focus&&M.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(M){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,M):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const M=this._doc.activeElement;return!!M&&this._elementRef.nativeElement.contains(M)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var M;this._focusTrap&&this._focusTrap.destroy(),null===(M=this._anchor)||void 0===M||M.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(M){return this.toggle(!0,M)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(M=!this.opened,S){M&&S&&(this._openedVia=S);const P=this._setOpen(M,!M&&this._isFocusWithinDrawer(),this._openedVia||"program");return M||(this._openedVia=null),P}_setOpen(M,S,P){return this._opened=M,M?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",S&&this._restoreFocus(P)),this._updateFocusTrapState(),new Promise(N=>{this.openedChange.pipe((0,he.q)(1)).subscribe(ne=>N(ne?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(M){const S=this._elementRef.nativeElement,P=S.parentNode;"end"===M?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),P.insertBefore(this._anchor,S)),P.appendChild(S)):this._anchor&&this._anchor.parentNode.insertBefore(S,this._anchor)}}return L.\u0275fac=function(M){return new(M||L)(v.Y36(v.SBq),v.Y36(se.qV),v.Y36(se.tE),v.Y36(e.t4),v.Y36(v.R0b),v.Y36(se.ic),v.Y36(g.K0,8),v.Y36(Ie,8))},L.\u0275cmp=v.Xpm({type:L,selectors:[["mat-drawer"]],viewQuery:function(M,S){if(1&M&&v.Gf(W,5),2&M){let P;v.iGM(P=v.CRH())&&(S._content=P.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(M,S){1&M&&v.WFA("@transform.start",function(N){return S._animationStarted.next(N)})("@transform.done",function(N){return S._animationEnd.next(N)}),2&M&&(v.uIk("align",null),v.d8E("@transform",S._animationState),v.ekj("mat-drawer-end","end"===S.position)("mat-drawer-over","over"===S.mode)("mat-drawer-push","push"===S.mode)("mat-drawer-side","side"===S.mode)("mat-drawer-opened",S.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:F,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(M,S){1&M&&(v.F$t(),v.TgZ(0,"div",0,1),v.Hsn(2),v.qZA())},directives:[f.PQ],encapsulation:2,data:{animation:[Ce.transformDrawer]},changeDetection:0}),L})(),ve=(()=>{class L{constructor(M,S,P,N,ne,j=!1,Te){this._dir=M,this._element=S,this._ngZone=P,this._changeDetectorRef=N,this._animationMode=Te,this._drawers=new v.n_E,this.backdropClick=new v.vpe,this._destroyed=new b.xQ,this._doCheckSubject=new b.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new b.xQ,M&&M.change.pipe((0,G.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),ne.change().pipe((0,G.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=j}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(M){this._autosize=(0,A.Ig)(M)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(M){this._backdropOverride=null==M?null:(0,A.Ig)(M)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,re.O)(this._allDrawers),(0,G.R)(this._destroyed)).subscribe(M=>{this._drawers.reset(M.filter(S=>!S._container||S._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,re.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(M=>{this._watchDrawerToggle(M),this._watchDrawerPosition(M),this._watchDrawerMode(M)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Ne.b)(10),(0,G.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(M=>M.open())}close(){this._drawers.forEach(M=>M.close())}updateContentMargins(){let M=0,S=0;if(this._left&&this._left.opened)if("side"==this._left.mode)M+=this._left._getWidth();else if("push"==this._left.mode){const P=this._left._getWidth();M+=P,S-=P}if(this._right&&this._right.opened)if("side"==this._right.mode)S+=this._right._getWidth();else if("push"==this._right.mode){const P=this._right._getWidth();S+=P,M-=P}M=M||null,S=S||null,(M!==this._contentMargins.left||S!==this._contentMargins.right)&&(this._contentMargins={left:M,right:S},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(M){M._animationStarted.pipe((0,h.h)(S=>S.fromState!==S.toState),(0,G.R)(this._drawers.changes)).subscribe(S=>{"open-instant"!==S.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==M.mode&&M.openedChange.pipe((0,G.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(M.opened))}_watchDrawerPosition(M){!M||M.onPositionChanged.pipe((0,G.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,he.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(M){M&&M._modeChanged.pipe((0,G.R)((0,E.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(M){const S=this._element.nativeElement.classList,P="mat-drawer-container-has-open";M?S.add(P):S.remove(P)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(M=>{"end"==M.position?this._end=M:this._start=M}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(M=>M&&!M.disableClose&&this._canHaveBackdrop(M)).forEach(M=>M._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(M){return"side"!==M.mode||!!this._backdropOverride}_isDrawerOpen(M){return null!=M&&M.opened}}return L.\u0275fac=function(M){return new(M||L)(v.Y36(V.Is,8),v.Y36(v.SBq),v.Y36(v.R0b),v.Y36(v.sBO),v.Y36(f.rL),v.Y36(I),v.Y36(Pe.Qb,8))},L.\u0275cmp=v.Xpm({type:L,selectors:[["mat-drawer-container"]],contentQueries:function(M,S,P){if(1&M&&(v.Suo(P,ze,5),v.Suo(P,fe,5)),2&M){let N;v.iGM(N=v.CRH())&&(S._content=N.first),v.iGM(N=v.CRH())&&(S._allDrawers=N)}},viewQuery:function(M,S){if(1&M&&v.Gf(ze,5),2&M){let P;v.iGM(P=v.CRH())&&(S._userContent=P.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(M,S){2&M&&v.ekj("mat-drawer-container-explicit-backdrop",S._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[v._Bn([{provide:Ie,useExisting:L}])],ngContentSelectors:Be,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(M,S){1&M&&(v.F$t(pe),v.YNc(0,te,1,2,"div",0),v.Hsn(1),v.Hsn(2,1),v.YNc(3,ae,2,0,"mat-drawer-content",1)),2&M&&(v.Q6J("ngIf",S.hasBackdrop),v.xp6(3),v.Q6J("ngIf",!S._content))},directives:[ze,g.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),L})(),We=(()=>{class L extends ze{constructor(M,S,P,N,ne){super(M,S,P,N,ne)}}return L.\u0275fac=function(M){return new(M||L)(v.Y36(v.sBO),v.Y36((0,v.Gpc)(()=>st)),v.Y36(v.SBq),v.Y36(f.mF),v.Y36(v.R0b))},L.\u0275cmp=v.Xpm({type:L,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(M,S){2&M&&v.Udp("margin-left",S._container._contentMargins.left,"px")("margin-right",S._container._contentMargins.right,"px")},features:[v._Bn([{provide:f.PQ,useExisting:L}]),v.qOj],ngContentSelectors:F,decls:1,vars:0,template:function(M,S){1&M&&(v.F$t(),v.Hsn(0))},encapsulation:2,changeDetection:0}),L})(),nt=(()=>{class L extends fe{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(M){this._fixedInViewport=(0,A.Ig)(M)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(M){this._fixedTopGap=(0,A.su)(M)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(M){this._fixedBottomGap=(0,A.su)(M)}}return L.\u0275fac=function(){let de;return function(S){return(de||(de=v.n5z(L)))(S||L)}}(),L.\u0275cmp=v.Xpm({type:L,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(M,S){2&M&&(v.uIk("align",null),v.Udp("top",S.fixedInViewport?S.fixedTopGap:null,"px")("bottom",S.fixedInViewport?S.fixedBottomGap:null,"px"),v.ekj("mat-drawer-end","end"===S.position)("mat-drawer-over","over"===S.mode)("mat-drawer-push","push"===S.mode)("mat-drawer-side","side"===S.mode)("mat-drawer-opened",S.opened)("mat-sidenav-fixed",S.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[v.qOj],ngContentSelectors:F,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(M,S){1&M&&(v.F$t(),v.TgZ(0,"div",0,1),v.Hsn(2),v.qZA())},directives:[f.PQ],encapsulation:2,data:{animation:[Ce.transformDrawer]},changeDetection:0}),L})(),st=(()=>{class L extends ve{}return L.\u0275fac=function(){let de;return function(S){return(de||(de=v.n5z(L)))(S||L)}}(),L.\u0275cmp=v.Xpm({type:L,selectors:[["mat-sidenav-container"]],contentQueries:function(M,S,P){if(1&M&&(v.Suo(P,We,5),v.Suo(P,nt,5)),2&M){let N;v.iGM(N=v.CRH())&&(S._content=N.first),v.iGM(N=v.CRH())&&(S._allDrawers=N)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(M,S){2&M&&v.ekj("mat-drawer-container-explicit-backdrop",S._backdropOverride)},exportAs:["matSidenavContainer"],features:[v._Bn([{provide:Ie,useExisting:L}]),v.qOj],ngContentSelectors:be,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(M,S){1&M&&(v.F$t(De),v.YNc(0,Fe,1,2,"div",0),v.Hsn(1),v.Hsn(2,1),v.YNc(3,ke,2,0,"mat-sidenav-content",1)),2&M&&(v.Q6J("ngIf",S.hasBackdrop),v.xp6(3),v.Q6J("ngIf",!S._content))},directives:[We,g.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),L})(),dt=(()=>{class L{}return L.\u0275fac=function(M){return new(M||L)},L.\u0275mod=v.oAB({type:L}),L.\u0275inj=v.cJS({imports:[[g.ez,m.BQ,e.ud,f.ZD],f.ZD,m.BQ]}),L})()},32368:(Ze,ge,d)=>{"use strict";d.d(ge,{Rr:()=>Ne,rP:()=>V});var e=d(17144),f=d(5e3),g=d(90508),v=d(63191),m=d(93075),A=d(76360),s=d(15664);const b=["thumbContainer"],R=["toggleBar"],E=["input"],h=function(F){return{enterDuration:F}},x=["*"],k=new f.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let G=0;const X={provide:m.JU,useExisting:(0,f.Gpc)(()=>Ne),multi:!0};class he{constructor(W,te){this.source=W,this.checked=te}}const re=(0,g.sb)((0,g.pj)((0,g.Kr)((0,g.Id)(class{constructor(F){this._elementRef=F}}))));let Ne=(()=>{class F extends re{constructor(te,ae,pe,Be,Fe,ke){super(te),this._focusMonitor=ae,this._changeDetectorRef=pe,this.defaults=Fe,this._onChange=De=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++G,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new f.vpe,this.toggleChange=new f.vpe,this.tabIndex=parseInt(Be)||0,this.color=this.defaultColor=Fe.color||"accent",this._noopAnimations="NoopAnimations"===ke}get required(){return this._required}set required(te){this._required=(0,v.Ig)(te)}get checked(){return this._checked}set checked(te){this._checked=(0,v.Ig)(te),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(te=>{te||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(te){te.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(te){te.stopPropagation()}writeValue(te){this.checked=!!te}registerOnChange(te){this._onChange=te}registerOnTouched(te){this._onTouched=te}setDisabledState(te){this.disabled=te,this._changeDetectorRef.markForCheck()}focus(te,ae){ae?this._focusMonitor.focusVia(this._inputElement,ae,te):this._inputElement.nativeElement.focus(te)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new he(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return F.\u0275fac=function(te){return new(te||F)(f.Y36(f.SBq),f.Y36(s.tE),f.Y36(f.sBO),f.$8M("tabindex"),f.Y36(k),f.Y36(A.Qb,8))},F.\u0275cmp=f.Xpm({type:F,selectors:[["mat-slide-toggle"]],viewQuery:function(te,ae){if(1&te&&(f.Gf(b,5),f.Gf(R,5),f.Gf(E,5)),2&te){let pe;f.iGM(pe=f.CRH())&&(ae._thumbEl=pe.first),f.iGM(pe=f.CRH())&&(ae._thumbBarEl=pe.first),f.iGM(pe=f.CRH())&&(ae._inputElement=pe.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(te,ae){2&te&&(f.Ikx("id",ae.id),f.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),f.ekj("mat-checked",ae.checked)("mat-disabled",ae.disabled)("mat-slide-toggle-label-before","before"==ae.labelPosition)("_mat-animation-noopable",ae._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[f._Bn([X]),f.qOj],ngContentSelectors:x,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(te,ae){if(1&te&&(f.F$t(),f.TgZ(0,"label",0,1),f.TgZ(2,"span",2,3),f.TgZ(4,"input",4,5),f.NdJ("change",function(Be){return ae._onChangeEvent(Be)})("click",function(Be){return ae._onInputClick(Be)}),f.qZA(),f.TgZ(6,"span",6,7),f._UZ(8,"span",8),f.TgZ(9,"span",9),f._UZ(10,"span",10),f.qZA(),f.qZA(),f.qZA(),f.TgZ(11,"span",11,12),f.NdJ("cdkObserveContent",function(){return ae._onLabelTextChange()}),f.TgZ(13,"span",13),f._uU(14,"\xa0"),f.qZA(),f.Hsn(15),f.qZA(),f.qZA()),2&te){const pe=f.MAs(1),Be=f.MAs(12);f.uIk("for",ae.inputId),f.xp6(2),f.ekj("mat-slide-toggle-bar-no-side-margin",!Be.textContent||!Be.textContent.trim()),f.xp6(2),f.Q6J("id",ae.inputId)("required",ae.required)("tabIndex",ae.tabIndex)("checked",ae.checked)("disabled",ae.disabled),f.uIk("name",ae.name)("aria-checked",ae.checked)("aria-label",ae.ariaLabel)("aria-labelledby",ae.ariaLabelledby)("aria-describedby",ae.ariaDescribedby),f.xp6(5),f.Q6J("matRippleTrigger",pe)("matRippleDisabled",ae.disableRipple||ae.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",f.VKq(18,h,ae._noopAnimations?0:150))}},directives:[g.wG,e.wD],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),F})(),se=(()=>{class F{}return F.\u0275fac=function(te){return new(te||F)},F.\u0275mod=f.oAB({type:F}),F.\u0275inj=f.cJS({}),F})(),V=(()=>{class F{}return F.\u0275fac=function(te){return new(te||F)},F.\u0275mod=f.oAB({type:F}),F.\u0275inj=f.cJS({imports:[[se,g.si,g.BQ,e.Q8],se,g.BQ]}),F})()},57261:(Ze,ge,d)=>{"use strict";d.d(ge,{ZX:()=>re});var e=d(92845),f=d(47429),g=d(69808),v=d(5e3),m=d(90508),A=d(47423);d(41777);let re=(()=>{class V{}return V.\u0275fac=function(W){return new(W||V)},V.\u0275mod=v.oAB({type:V}),V.\u0275inj=v.cJS({imports:[[e.U8,f.eL,g.ez,A.ot,m.BQ],m.BQ]}),V})()},84847:(Ze,ge,d)=>{"use strict";d.d(ge,{YE:()=>W,nU:()=>pe,JX:()=>Be});var e=d(5e3),f=d(63191),g=d(91159),v=d(90508),m=d(8929),A=d(36787),s=d(41777),b=d(15664),R=d(69808);const E=["mat-sort-header",""];function h(Fe,ke){if(1&Fe){const De=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){return e.CHM(De),e.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return e.CHM(De),e.oxw()._disableViewStateAnimation=!1}),e._UZ(1,"div",4),e.TgZ(2,"div",5),e._UZ(3,"div",6),e._UZ(4,"div",7),e._UZ(5,"div",8),e.qZA(),e.qZA()}if(2&Fe){const De=e.oxw();e.Q6J("@arrowOpacity",De._getArrowViewState())("@arrowPosition",De._getArrowViewState())("@allowChildren",De._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",De._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",De._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",De._getArrowDirectionState())}}const x=["*"],k=v.mZ.ENTERING+" "+v.yN.STANDARD_CURVE,G={indicator:(0,s.X$)("indicator",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"translateY(0px)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"translateY(10px)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(k))]),leftPointer:(0,s.X$)("leftPointer",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"rotate(-45deg)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"rotate(45deg)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(k))]),rightPointer:(0,s.X$)("rightPointer",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"rotate(45deg)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"rotate(-45deg)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(k))]),arrowOpacity:(0,s.X$)("arrowOpacity",[(0,s.SB)("desc-to-active, asc-to-active, active",(0,s.oB)({opacity:1})),(0,s.SB)("desc-to-hint, asc-to-hint, hint",(0,s.oB)({opacity:.54})),(0,s.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,s.oB)({opacity:0})),(0,s.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,s.jt)("0ms")),(0,s.eR)("* <=> *",(0,s.jt)(k))]),arrowPosition:(0,s.X$)("arrowPosition",[(0,s.eR)("* => desc-to-hint, * => desc-to-active",(0,s.jt)(k,(0,s.F4)([(0,s.oB)({transform:"translateY(-25%)"}),(0,s.oB)({transform:"translateY(0)"})]))),(0,s.eR)("* => hint-to-desc, * => active-to-desc",(0,s.jt)(k,(0,s.F4)([(0,s.oB)({transform:"translateY(0)"}),(0,s.oB)({transform:"translateY(25%)"})]))),(0,s.eR)("* => asc-to-hint, * => asc-to-active",(0,s.jt)(k,(0,s.F4)([(0,s.oB)({transform:"translateY(25%)"}),(0,s.oB)({transform:"translateY(0)"})]))),(0,s.eR)("* => hint-to-asc, * => active-to-asc",(0,s.jt)(k,(0,s.F4)([(0,s.oB)({transform:"translateY(0)"}),(0,s.oB)({transform:"translateY(-25%)"})]))),(0,s.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,s.oB)({transform:"translateY(0)"})),(0,s.SB)("hint-to-desc, active-to-desc, desc",(0,s.oB)({transform:"translateY(-25%)"})),(0,s.SB)("hint-to-asc, active-to-asc, asc",(0,s.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,s.X$)("allowChildren",[(0,s.eR)("* <=> *",[(0,s.IO)("@*",(0,s.pV)(),{optional:!0})])])};let ce=(()=>{class Fe{constructor(){this.changes=new m.xQ}}return Fe.\u0275fac=function(De){return new(De||Fe)},Fe.\u0275prov=e.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})();const se={provide:ce,deps:[[new e.FiY,new e.tp0,ce]],useFactory:function Pe(Fe){return Fe||new ce}},V=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),F=(0,v.dB)((0,v.Id)(class{}));let W=(()=>{class Fe extends F{constructor(De){super(),this._defaultOptions=De,this.sortables=new Map,this._stateChanges=new m.xQ,this.start="asc",this._direction="",this.sortChange=new e.vpe}get direction(){return this._direction}set direction(De){this._direction=De}get disableClear(){return this._disableClear}set disableClear(De){this._disableClear=(0,f.Ig)(De)}register(De){this.sortables.set(De.id,De)}deregister(De){this.sortables.delete(De.id)}sort(De){this.active!=De.id?(this.active=De.id,this.direction=De.start?De.start:this.start):this.direction=this.getNextSortDirection(De),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(De){var be,z,Ce;if(!De)return"";const J=null!==(z=null!==(be=null==De?void 0:De.disableClear)&&void 0!==be?be:this.disableClear)&&void 0!==z?z:!!(null===(Ce=this._defaultOptions)||void 0===Ce?void 0:Ce.disableClear);let I=function te(Fe,ke){let De=["asc","desc"];return"desc"==Fe&&De.reverse(),ke||De.push(""),De}(De.start||this.start,J),Ie=I.indexOf(this.direction)+1;return Ie>=I.length&&(Ie=0),I[Ie]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Fe.\u0275fac=function(De){return new(De||Fe)(e.Y36(V,8))},Fe.\u0275dir=e.lG2({type:Fe,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[e.qOj,e.TTD]}),Fe})();const ae=(0,v.Id)(class{});let pe=(()=>{class Fe extends ae{constructor(De,be,z,Ce,J,I,Ie){super(),this._intl=De,this._changeDetectorRef=be,this._sort=z,this._columnDef=Ce,this._focusMonitor=J,this._elementRef=I,this._ariaDescriber=Ie,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(De){this._updateSortActionDescription(De)}get disableClear(){return this._disableClear}set disableClear(De){this._disableClear=(0,f.Ig)(De)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(De=>{const be=!!De;be!==this._showIndicatorHint&&(this._setIndicatorHintVisible(be),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(De){this._isDisabled()&&De||(this._showIndicatorHint=De,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(De){this._viewState=De||{},this._disableViewStateAnimation&&(this._viewState={toState:De.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(De){!this._isDisabled()&&(De.keyCode===g.L_||De.keyCode===g.K5)&&(De.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const De=this._viewState.fromState;return(De?`${De}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(De){var be,z;this._sortButton&&(null===(be=this._ariaDescriber)||void 0===be||be.removeDescription(this._sortButton,this._sortActionDescription),null===(z=this._ariaDescriber)||void 0===z||z.describe(this._sortButton,De)),this._sortActionDescription=De}_handleStateChanges(){this._rerenderSubscription=(0,A.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return Fe.\u0275fac=function(De){return new(De||Fe)(e.Y36(ce),e.Y36(e.sBO),e.Y36(W,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(b.tE),e.Y36(e.SBq),e.Y36(b.$s,8))},Fe.\u0275cmp=e.Xpm({type:Fe,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(De,be){1&De&&e.NdJ("click",function(){return be._handleClick()})("keydown",function(Ce){return be._handleKeydown(Ce)})("mouseenter",function(){return be._setIndicatorHintVisible(!0)})("mouseleave",function(){return be._setIndicatorHintVisible(!1)}),2&De&&(e.uIk("aria-sort",be._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",be._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:E,ngContentSelectors:x,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(De,be){1&De&&(e.F$t(),e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,h,6,6,"div",2),e.qZA()),2&De&&(e.ekj("mat-sort-header-sorted",be._isSorted())("mat-sort-header-position-before","before"==be.arrowPosition),e.uIk("tabindex",be._isDisabled()?null:0),e.xp6(3),e.Q6J("ngIf",be._renderArrow()))},directives:[R.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[G.indicator,G.leftPointer,G.rightPointer,G.arrowOpacity,G.arrowPosition,G.allowChildren]},changeDetection:0}),Fe})(),Be=(()=>{class Fe{}return Fe.\u0275fac=function(De){return new(De||Fe)},Fe.\u0275mod=e.oAB({type:Fe}),Fe.\u0275inj=e.cJS({providers:[se],imports:[[R.ez,v.BQ]]}),Fe})()},92081:(Ze,ge,d)=>{"use strict";d.d(ge,{C0:()=>Se,BY:()=>T,VY:()=>n,Vq:()=>Ft,T5:()=>Mt,fd:()=>Vt});var e=d(47429),f=d(15664),g=d(63191),v=d(91159),m=d(69808),A=d(5e3),s=d(70925),b=d(8929),R=d(21086),E=d(1059),h=d(7625),x=d(50226);function k(at,Ut){1&at&&A.Hsn(0)}const G=["*"];let X=(()=>{class at{constructor(gt){this._elementRef=gt}focus(){this._elementRef.nativeElement.focus()}}return at.\u0275fac=function(gt){return new(gt||at)(A.Y36(A.SBq))},at.\u0275dir=A.lG2({type:at,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),at})(),he=(()=>{class at{constructor(gt){this.template=gt}}return at.\u0275fac=function(gt){return new(gt||at)(A.Y36(A.Rgc))},at.\u0275dir=A.lG2({type:at,selectors:[["","cdkStepLabel",""]]}),at})(),re=0;const Pe=new A.OlP("STEPPER_GLOBAL_OPTIONS");let se=(()=>{class at{constructor(gt,xt){this._stepper=gt,this.interacted=!1,this.interactedStream=new A.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=xt||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(gt){this._editable=(0,g.Ig)(gt)}get optional(){return this._optional}set optional(gt){this._optional=(0,g.Ig)(gt)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(gt){this._completedOverride=(0,g.Ig)(gt)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(gt){this._customError=(0,g.Ig)(gt)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){var gt;return null!==(gt=this._stepperOptions.showError)&&void 0!==gt?gt:null!=this._customError}}return at.\u0275fac=function(gt){return new(gt||at)(A.Y36((0,A.Gpc)(()=>V)),A.Y36(Pe,8))},at.\u0275cmp=A.Xpm({type:at,selectors:[["cdk-step"]],contentQueries:function(gt,xt,Ve){if(1>&&A.Suo(Ve,he,5),2>){let $e;A.iGM($e=A.CRH())&&(xt.stepLabel=$e.first)}},viewQuery:function(gt,xt){if(1>&&A.Gf(A.Rgc,7),2>){let Ve;A.iGM(Ve=A.CRH())&&(xt.content=Ve.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[A.TTD],ngContentSelectors:G,decls:1,vars:0,template:function(gt,xt){1>&&(A.F$t(),A.YNc(0,k,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),at})(),V=(()=>{class at{constructor(gt,xt,Ve,$e){this._dir=gt,this._changeDetectorRef=xt,this._elementRef=Ve,this._destroyed=new b.xQ,this.steps=new A.n_E,this._sortedHeaders=new A.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new A.vpe,this._orientation="horizontal",this._groupId=re++}get linear(){return this._linear}set linear(gt){this._linear=(0,g.Ig)(gt)}get selectedIndex(){return this._selectedIndex}set selectedIndex(gt){var xt;const Ve=(0,g.su)(gt);this.steps&&this._steps?(this._isValidIndex(Ve),null===(xt=this.selected)||void 0===xt||xt._markAsInteracted(),this._selectedIndex!==Ve&&!this._anyControlsInvalidOrPending(Ve)&&(Ve>=this._selectedIndex||this.steps.toArray()[Ve].editable)&&this._updateSelectedItemIndex(Ve)):this._selectedIndex=Ve}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(gt){this.selectedIndex=gt&&this.steps?this.steps.toArray().indexOf(gt):-1}get orientation(){return this._orientation}set orientation(gt){this._orientation=gt,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===gt)}ngAfterContentInit(){this._steps.changes.pipe((0,E.O)(this._steps),(0,h.R)(this._destroyed)).subscribe(gt=>{this.steps.reset(gt.filter(xt=>xt._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,E.O)(this._stepHeader),(0,h.R)(this._destroyed)).subscribe(gt=>{this._sortedHeaders.reset(gt.toArray().sort((xt,Ve)=>xt._elementRef.nativeElement.compareDocumentPosition(Ve._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new f.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,R.of)()).pipe((0,E.O)(this._layoutDirection()),(0,h.R)(this._destroyed)).subscribe(gt=>this._keyManager.withHorizontalOrientation(gt)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(gt=>gt.reset()),this._stateChanged()}_getStepLabelId(gt){return`cdk-step-label-${this._groupId}-${gt}`}_getStepContentId(gt){return`cdk-step-content-${this._groupId}-${gt}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(gt){const xt=gt-this._selectedIndex;return xt<0?"rtl"===this._layoutDirection()?"next":"previous":xt>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(gt,xt="number"){const Ve=this.steps.toArray()[gt],$e=this._isCurrentStep(gt);return Ve._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(Ve,$e):this._getGuidelineLogic(Ve,$e,xt)}_getDefaultIndicatorLogic(gt,xt){return gt._showError()&>.hasError&&!xt?"error":!gt.completed||xt?"number":gt.editable?"edit":"done"}_getGuidelineLogic(gt,xt,Ve="number"){return gt._showError()&>.hasError&&!xt?"error":gt.completed&&!xt?"done":gt.completed&&xt?Ve:gt.editable&&xt?"edit":Ve}_isCurrentStep(gt){return this._selectedIndex===gt}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(gt){const xt=this.steps.toArray();this.selectionChange.emit({selectedIndex:gt,previouslySelectedIndex:this._selectedIndex,selectedStep:xt[gt],previouslySelectedStep:xt[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(gt):this._keyManager.updateActiveItem(gt),this._selectedIndex=gt,this._stateChanged()}_onKeydown(gt){const xt=(0,v.Vb)(gt),Ve=gt.keyCode,$e=this._keyManager;null==$e.activeItemIndex||xt||Ve!==v.L_&&Ve!==v.K5?$e.onKeydown(gt):(this.selectedIndex=$e.activeItemIndex,gt.preventDefault())}_anyControlsInvalidOrPending(gt){return!!(this._linear&>>=0)&&this.steps.toArray().slice(0,gt).some(xt=>{const Ve=xt.stepControl;return(Ve?Ve.invalid||Ve.pending||!xt.interacted:!xt.completed)&&!xt.optional&&!xt._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const gt=this._elementRef.nativeElement,xt=(0,s.ht)();return gt===xt||gt.contains(xt)}_isValidIndex(gt){return gt>-1&&(!this.steps||gt{class at{constructor(gt){this._stepper=gt,this.type="button"}}return at.\u0275fac=function(gt){return new(gt||at)(A.Y36(V))},at.\u0275dir=A.lG2({type:at,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(gt,xt){1>&&A.NdJ("click",function(){return xt._stepper.previous()}),2>&&A.Ikx("type",xt.type)},inputs:{type:"type"}}),at})(),te=(()=>{class at{}return at.\u0275fac=function(gt){return new(gt||at)},at.\u0275mod=A.oAB({type:at}),at.\u0275inj=A.cJS({imports:[[x.vT]]}),at})();var ae=d(47423),pe=d(90508),Be=d(25245),Fe=d(42654),ke=d(87545),De=d(24850),be=d(75778),z=d(41777);function Ce(at,Ut){if(1&at&&A.GkF(0,8),2&at){const gt=A.oxw();A.Q6J("ngTemplateOutlet",gt.iconOverrides[gt.state])("ngTemplateOutletContext",gt._getIconContext())}}function J(at,Ut){if(1&at&&(A.TgZ(0,"span",13),A._uU(1),A.qZA()),2&at){const gt=A.oxw(2);A.xp6(1),A.Oqu(gt._getDefaultTextForState(gt.state))}}function I(at,Ut){if(1&at&&(A.TgZ(0,"span",14),A._uU(1),A.qZA()),2&at){const gt=A.oxw(2);A.xp6(1),A.Oqu(gt._intl.completedLabel)}}function Ie(at,Ut){if(1&at&&(A.TgZ(0,"span",14),A._uU(1),A.qZA()),2&at){const gt=A.oxw(2);A.xp6(1),A.Oqu(gt._intl.editableLabel)}}function Re(at,Ut){if(1&at&&(A.TgZ(0,"mat-icon",13),A._uU(1),A.qZA()),2&at){const gt=A.oxw(2);A.xp6(1),A.Oqu(gt._getDefaultTextForState(gt.state))}}function ze(at,Ut){if(1&at&&(A.ynx(0,9),A.YNc(1,J,2,1,"span",10),A.YNc(2,I,2,1,"span",11),A.YNc(3,Ie,2,1,"span",11),A.YNc(4,Re,2,1,"mat-icon",12),A.BQk()),2&at){const gt=A.oxw();A.Q6J("ngSwitch",gt.state),A.xp6(1),A.Q6J("ngSwitchCase","number"),A.xp6(1),A.Q6J("ngIf","done"===gt.state),A.xp6(1),A.Q6J("ngIf","edit"===gt.state)}}function fe(at,Ut){if(1&at&&(A.TgZ(0,"div",15),A.GkF(1,16),A.qZA()),2&at){const gt=A.oxw();A.xp6(1),A.Q6J("ngTemplateOutlet",gt._templateLabel().template)}}function ve(at,Ut){if(1&at&&(A.TgZ(0,"div",15),A._uU(1),A.qZA()),2&at){const gt=A.oxw();A.xp6(1),A.Oqu(gt.label)}}function We(at,Ut){if(1&at&&(A.TgZ(0,"div",17),A._uU(1),A.qZA()),2&at){const gt=A.oxw();A.xp6(1),A.Oqu(gt._intl.optionalLabel)}}function nt(at,Ut){if(1&at&&(A.TgZ(0,"div",18),A._uU(1),A.qZA()),2&at){const gt=A.oxw();A.xp6(1),A.Oqu(gt.errorMessage)}}function st(at,Ut){}function dt(at,Ut){if(1&at&&(A.Hsn(0),A.YNc(1,st,0,0,"ng-template",0)),2&at){const gt=A.oxw();A.xp6(1),A.Q6J("cdkPortalOutlet",gt._portal)}}const L=["*"];function de(at,Ut){1&at&&A._UZ(0,"div",9)}const M=function(at,Ut){return{step:at,i:Ut}};function S(at,Ut){if(1&at&&(A.ynx(0),A.GkF(1,7),A.YNc(2,de,1,0,"div",8),A.BQk()),2&at){const gt=Ut.$implicit,xt=Ut.index,Ve=Ut.last;A.oxw(2);const $e=A.MAs(4);A.xp6(1),A.Q6J("ngTemplateOutlet",$e)("ngTemplateOutletContext",A.WLB(3,M,gt,xt)),A.xp6(1),A.Q6J("ngIf",!Ve)}}function P(at,Ut){if(1&at){const gt=A.EpF();A.TgZ(0,"div",10),A.NdJ("@horizontalStepTransition.done",function(Ve){return A.CHM(gt),A.oxw(2)._animationDone.next(Ve)}),A.GkF(1,11),A.qZA()}if(2&at){const gt=Ut.$implicit,xt=Ut.index,Ve=A.oxw(2);A.Q6J("@horizontalStepTransition",Ve._getAnimationDirection(xt))("id",Ve._getStepContentId(xt)),A.uIk("aria-labelledby",Ve._getStepLabelId(xt))("aria-expanded",Ve.selectedIndex===xt),A.xp6(1),A.Q6J("ngTemplateOutlet",gt.content)}}function N(at,Ut){if(1&at&&(A.ynx(0),A.TgZ(1,"div",3),A.YNc(2,S,3,6,"ng-container",4),A.qZA(),A.TgZ(3,"div",5),A.YNc(4,P,2,5,"div",6),A.qZA(),A.BQk()),2&at){const gt=A.oxw();A.xp6(2),A.Q6J("ngForOf",gt.steps),A.xp6(2),A.Q6J("ngForOf",gt.steps)}}function ne(at,Ut){if(1&at){const gt=A.EpF();A.TgZ(0,"div",13),A.GkF(1,7),A.TgZ(2,"div",14),A.TgZ(3,"div",15),A.NdJ("@verticalStepTransition.done",function(Ve){return A.CHM(gt),A.oxw(2)._animationDone.next(Ve)}),A.TgZ(4,"div",16),A.GkF(5,11),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&at){const gt=Ut.$implicit,xt=Ut.index,Ve=Ut.last,$e=A.oxw(2),oe=A.MAs(4);A.xp6(1),A.Q6J("ngTemplateOutlet",oe)("ngTemplateOutletContext",A.WLB(9,M,gt,xt)),A.xp6(1),A.ekj("mat-stepper-vertical-line",!Ve),A.xp6(1),A.Q6J("@verticalStepTransition",$e._getAnimationDirection(xt))("id",$e._getStepContentId(xt)),A.uIk("aria-labelledby",$e._getStepLabelId(xt))("aria-expanded",$e.selectedIndex===xt),A.xp6(2),A.Q6J("ngTemplateOutlet",gt.content)}}function j(at,Ut){if(1&at&&(A.ynx(0),A.YNc(1,ne,6,12,"div",12),A.BQk()),2&at){const gt=A.oxw();A.xp6(1),A.Q6J("ngForOf",gt.steps)}}function Te(at,Ut){if(1&at){const gt=A.EpF();A.TgZ(0,"mat-step-header",17),A.NdJ("click",function(){return A.CHM(gt).step.select()})("keydown",function(Ve){return A.CHM(gt),A.oxw()._onKeydown(Ve)}),A.qZA()}if(2&at){const gt=Ut.step,xt=Ut.i,Ve=A.oxw();A.ekj("mat-horizontal-stepper-header","horizontal"===Ve.orientation)("mat-vertical-stepper-header","vertical"===Ve.orientation),A.Q6J("tabIndex",Ve._getFocusIndex()===xt?0:-1)("id",Ve._getStepLabelId(xt))("index",xt)("state",Ve._getIndicatorType(xt,gt.state))("label",gt.stepLabel||gt.label)("selected",Ve.selectedIndex===xt)("active",Ve._stepIsNavigable(xt,gt))("optional",gt.optional)("errorMessage",gt.errorMessage)("iconOverrides",Ve._iconOverrides)("disableRipple",Ve.disableRipple||!Ve._stepIsNavigable(xt,gt))("color",gt.color||Ve.color),A.uIk("aria-posinset",xt+1)("aria-setsize",Ve.steps.length)("aria-controls",Ve._getStepContentId(xt))("aria-selected",Ve.selectedIndex==xt)("aria-label",gt.ariaLabel||null)("aria-labelledby",!gt.ariaLabel&>.ariaLabelledby?gt.ariaLabelledby:null)("aria-disabled",!Ve._stepIsNavigable(xt,gt)||null)}}let n=(()=>{class at extends he{}return at.\u0275fac=function(){let Ut;return function(xt){return(Ut||(Ut=A.n5z(at)))(xt||at)}}(),at.\u0275dir=A.lG2({type:at,selectors:[["","matStepLabel",""]],features:[A.qOj]}),at})(),r=(()=>{class at{constructor(){this.changes=new b.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return at.\u0275fac=function(gt){return new(gt||at)},at.\u0275prov=A.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"}),at})();const o={provide:r,deps:[[new A.FiY,new A.tp0,r]],useFactory:function u(at){return at||new r}},t=(0,pe.pj)(class extends X{constructor(Ut){super(Ut)}},"primary");let i=(()=>{class at extends t{constructor(gt,xt,Ve,$e){super(Ve),this._intl=gt,this._focusMonitor=xt,this._intlSubscription=gt.changes.subscribe(()=>$e.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(gt,xt){gt?this._focusMonitor.focusVia(this._elementRef,gt,xt):this._elementRef.nativeElement.focus(xt)}_stringLabel(){return this.label instanceof n?null:this.label}_templateLabel(){return this.label instanceof n?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(gt){return"number"==gt?`${this.index+1}`:"edit"==gt?"create":"error"==gt?"warning":gt}}return at.\u0275fac=function(gt){return new(gt||at)(A.Y36(r),A.Y36(f.tE),A.Y36(A.SBq),A.Y36(A.sBO))},at.\u0275cmp=A.Xpm({type:at,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[A.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(gt,xt){1>&&(A._UZ(0,"div",0),A.TgZ(1,"div"),A.TgZ(2,"div",1),A.YNc(3,Ce,1,2,"ng-container",2),A.YNc(4,ze,5,4,"ng-container",3),A.qZA(),A.qZA(),A.TgZ(5,"div",4),A.YNc(6,fe,2,1,"div",5),A.YNc(7,ve,2,1,"div",5),A.YNc(8,We,2,1,"div",6),A.YNc(9,nt,2,1,"div",7),A.qZA()),2>&&(A.Q6J("matRippleTrigger",xt._getHostElement())("matRippleDisabled",xt.disableRipple),A.xp6(1),A.Gre("mat-step-icon-state-",xt.state," mat-step-icon"),A.ekj("mat-step-icon-selected",xt.selected),A.xp6(1),A.Q6J("ngSwitch",!(!xt.iconOverrides||!xt.iconOverrides[xt.state])),A.xp6(1),A.Q6J("ngSwitchCase",!0),A.xp6(2),A.ekj("mat-step-label-active",xt.active)("mat-step-label-selected",xt.selected)("mat-step-label-error","error"==xt.state),A.xp6(1),A.Q6J("ngIf",xt._templateLabel()),A.xp6(1),A.Q6J("ngIf",xt._stringLabel()),A.xp6(1),A.Q6J("ngIf",xt.optional&&"error"!=xt.state),A.xp6(1),A.Q6J("ngIf","error"==xt.state))},directives:[Be.Hw,pe.wG,m.RF,m.n9,m.tP,m.ED,m.O5],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header.cdk-keyboard-focused,.cdk-high-contrast-active .mat-step-header.cdk-program-focused{outline:solid 3px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),at})();const c={horizontalStepTransition:(0,z.X$)("horizontalStepTransition",[(0,z.SB)("previous",(0,z.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,z.SB)("current",(0,z.oB)({transform:"none",visibility:"inherit"})),(0,z.SB)("next",(0,z.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,z.eR)("* => *",(0,z.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:(0,z.X$)("verticalStepTransition",[(0,z.SB)("previous",(0,z.oB)({height:"0px",visibility:"hidden"})),(0,z.SB)("next",(0,z.oB)({height:"0px",visibility:"hidden"})),(0,z.SB)("current",(0,z.oB)({height:"*",visibility:"inherit"})),(0,z.eR)("* <=> current",(0,z.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let p=(()=>{class at{constructor(gt){this.templateRef=gt}}return at.\u0275fac=function(gt){return new(gt||at)(A.Y36(A.Rgc))},at.\u0275dir=A.lG2({type:at,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),at})(),T=(()=>{class at{constructor(gt){this._template=gt}}return at.\u0275fac=function(gt){return new(gt||at)(A.Y36(A.Rgc))},at.\u0275dir=A.lG2({type:at,selectors:[["ng-template","matStepContent",""]]}),at})(),Se=(()=>{class at extends se{constructor(gt,xt,Ve,$e){super(gt,$e),this._errorStateMatcher=xt,this._viewContainerRef=Ve,this._isSelected=Fe.w.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,ke.w)(()=>this._stepper.selectionChange.pipe((0,De.U)(gt=>gt.selectedStep===this),(0,E.O)(this._stepper.selected===this)))).subscribe(gt=>{gt&&this._lazyContent&&!this._portal&&(this._portal=new e.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(gt,xt){return this._errorStateMatcher.isErrorState(gt,xt)||!!(gt&>.invalid&&this.interacted)}}return at.\u0275fac=function(gt){return new(gt||at)(A.Y36((0,A.Gpc)(()=>Ft)),A.Y36(pe.rD,4),A.Y36(A.s_b),A.Y36(Pe,8))},at.\u0275cmp=A.Xpm({type:at,selectors:[["mat-step"]],contentQueries:function(gt,xt,Ve){if(1>&&(A.Suo(Ve,n,5),A.Suo(Ve,T,5)),2>){let $e;A.iGM($e=A.CRH())&&(xt.stepLabel=$e.first),A.iGM($e=A.CRH())&&(xt._lazyContent=$e.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[A._Bn([{provide:pe.rD,useExisting:at},{provide:se,useExisting:at}]),A.qOj],ngContentSelectors:L,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(gt,xt){1>&&(A.F$t(),A.YNc(0,dt,2,1,"ng-template"))},directives:[e.Pl],encapsulation:2,changeDetection:0}),at})(),je=(()=>{class at extends V{}return at.\u0275fac=function(){let Ut;return function(xt){return(Ut||(Ut=A.n5z(at)))(xt||at)}}(),at.\u0275dir=A.lG2({type:at,features:[A.qOj]}),at})(),Et=(()=>{class at extends je{}return at.\u0275fac=function(){let Ut;return function(xt){return(Ut||(Ut=A.n5z(at)))(xt||at)}}(),at.\u0275dir=A.lG2({type:at,selectors:[["mat-horizontal-stepper"]],features:[A.qOj]}),at})(),St=(()=>{class at extends je{}return at.\u0275fac=function(){let Ut;return function(xt){return(Ut||(Ut=A.n5z(at)))(xt||at)}}(),at.\u0275dir=A.lG2({type:at,selectors:[["mat-vertical-stepper"]],features:[A.qOj]}),at})(),Ft=(()=>{class at extends V{constructor(gt,xt,Ve,$e){super(gt,xt,Ve,$e),this.steps=new A.n_E,this.animationDone=new A.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new b.xQ;const oe=Ve.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===oe?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:gt,templateRef:xt})=>this._iconOverrides[gt]=xt),this.steps.changes.pipe((0,h.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,be.x)((gt,xt)=>gt.fromState===xt.fromState&>.toState===xt.toState),(0,h.R)(this._destroyed)).subscribe(gt=>{"current"===gt.toState&&this.animationDone.emit()})}_stepIsNavigable(gt,xt){return xt.completed||this.selectedIndex===gt||!this.linear}}return at.\u0275fac=function(gt){return new(gt||at)(A.Y36(x.Is,8),A.Y36(A.sBO),A.Y36(A.SBq),A.Y36(m.K0))},at.\u0275cmp=A.Xpm({type:at,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(gt,xt,Ve){if(1>&&(A.Suo(Ve,Se,5),A.Suo(Ve,p,5)),2>){let $e;A.iGM($e=A.CRH())&&(xt._steps=$e),A.iGM($e=A.CRH())&&(xt._icons=$e)}},viewQuery:function(gt,xt){if(1>&&A.Gf(i,5),2>){let Ve;A.iGM(Ve=A.CRH())&&(xt._stepHeader=Ve)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(gt,xt){2>&&(A.uIk("aria-orientation",xt.orientation),A.ekj("mat-stepper-horizontal","horizontal"===xt.orientation)("mat-stepper-vertical","vertical"===xt.orientation)("mat-stepper-label-position-end","horizontal"===xt.orientation&&"end"==xt.labelPosition)("mat-stepper-label-position-bottom","horizontal"===xt.orientation&&"bottom"==xt.labelPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[A._Bn([{provide:V,useExisting:at},{provide:Et,useExisting:at},{provide:St,useExisting:at}]),A.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(gt,xt){1>&&(A.ynx(0,0),A.YNc(1,N,5,2,"ng-container",1),A.YNc(2,j,2,1,"ng-container",1),A.BQk(),A.YNc(3,Te,1,23,"ng-template",null,2,A.W1O)),2>&&(A.Q6J("ngSwitch",xt.orientation),A.xp6(1),A.Q6J("ngSwitchCase","horizontal"),A.xp6(1),A.Q6J("ngSwitchCase","vertical"))},directives:[i,m.RF,m.n9,m.sg,m.tP,m.O5],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],encapsulation:2,data:{animation:[c.horizontalStepTransition,c.verticalStepTransition]},changeDetection:0}),at})(),Vt=(()=>{class at extends W{}return at.\u0275fac=function(){let Ut;return function(xt){return(Ut||(Ut=A.n5z(at)))(xt||at)}}(),at.\u0275dir=A.lG2({type:at,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(gt,xt){2>&&A.Ikx("type",xt.type)},inputs:{type:"type"},features:[A.qOj]}),at})(),Mt=(()=>{class at{}return at.\u0275fac=function(gt){return new(gt||at)},at.\u0275mod=A.oAB({type:at}),at.\u0275inj=A.cJS({providers:[o,pe.rD],imports:[[pe.BQ,m.ez,e.eL,ae.ot,te,Be.Ps,pe.si],pe.BQ]}),at})()},32075:(Ze,ge,d)=>{"use strict";d.d(ge,{ev:()=>wt,Dz:()=>Le,w1:()=>Ht,ge:()=>qt,fO:()=>Ye,XQ:()=>li,as:()=>At,Gk:()=>Ti,nj:()=>Wt,BZ:()=>Y,by:()=>Xi,p0:()=>Qi});var e=d(5e3),f=d(63191),g=d(20449),v=d(69808),m=d(8929),A=d(5254),s=d(591),b=d(54715),R=d(21086),E=d(7625),h=d(72986),x=d(50226),k=d(70925),G=d(53435);const X=[[["caption"]],[["colgroup"],["col"]]],he=["caption","colgroup, col"];function ce(et){return class extends et{constructor(...Ct){super(...Ct),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Ct){const tt=this._sticky;this._sticky=(0,f.Ig)(Ct),this._hasStickyChanged=tt!==this._sticky}hasStickyChanged(){const Ct=this._hasStickyChanged;return this._hasStickyChanged=!1,Ct}resetStickyChanged(){this._hasStickyChanged=!1}}}const Pe=new e.OlP("CDK_TABLE");let V=(()=>{class et{constructor(tt){this.template=tt}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(e.Rgc))},et.\u0275dir=e.lG2({type:et,selectors:[["","cdkCellDef",""]]}),et})(),F=(()=>{class et{constructor(tt){this.template=tt}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(e.Rgc))},et.\u0275dir=e.lG2({type:et,selectors:[["","cdkHeaderCellDef",""]]}),et})(),W=(()=>{class et{constructor(tt){this.template=tt}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(e.Rgc))},et.\u0275dir=e.lG2({type:et,selectors:[["","cdkFooterCellDef",""]]}),et})();class te{}const ae=ce(te);let pe=(()=>{class et extends ae{constructor(tt){super(),this._table=tt,this._stickyEnd=!1}get name(){return this._name}set name(tt){this._setNameInput(tt)}get stickyEnd(){return this._stickyEnd}set stickyEnd(tt){const He=this._stickyEnd;this._stickyEnd=(0,f.Ig)(tt),this._hasStickyChanged=He!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(tt){tt&&(this._name=tt,this.cssClassFriendlyName=tt.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(Pe,8))},et.\u0275dir=e.lG2({type:et,selectors:[["","cdkColumnDef",""]],contentQueries:function(tt,He,Qe){if(1&tt&&(e.Suo(Qe,V,5),e.Suo(Qe,F,5),e.Suo(Qe,W,5)),2&tt){let D;e.iGM(D=e.CRH())&&(He.cell=D.first),e.iGM(D=e.CRH())&&(He.headerCell=D.first),e.iGM(D=e.CRH())&&(He.footerCell=D.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:et}]),e.qOj]}),et})();class Be{constructor(Ct,tt){tt.nativeElement.classList.add(...Ct._columnCssClassName)}}let Fe=(()=>{class et extends Be{constructor(tt,He){super(tt,He)}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(pe),e.Y36(e.SBq))},et.\u0275dir=e.lG2({type:et,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]}),et})(),De=(()=>{class et extends Be{constructor(tt,He){var Qe;if(super(tt,He),1===(null===(Qe=tt._table)||void 0===Qe?void 0:Qe._elementRef.nativeElement.nodeType)){const D=tt._table._elementRef.nativeElement.getAttribute("role");He.nativeElement.setAttribute("role","grid"===D||"treegrid"===D?"gridcell":"cell")}}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(pe),e.Y36(e.SBq))},et.\u0275dir=e.lG2({type:et,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]}),et})();class be{constructor(){this.tasks=[],this.endTasks=[]}}const z=new e.OlP("_COALESCED_STYLE_SCHEDULER");let Ce=(()=>{class et{constructor(tt){this._ngZone=tt,this._currentSchedule=null,this._destroyed=new m.xQ}schedule(tt){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(tt)}scheduleEnd(tt){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(tt)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new be,this._getScheduleObservable().pipe((0,E.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const tt=this._currentSchedule;this._currentSchedule=new be;for(const He of tt.tasks)He();for(const He of tt.endTasks)He()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,A.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,h.q)(1))}}return et.\u0275fac=function(tt){return new(tt||et)(e.LFG(e.R0b))},et.\u0275prov=e.Yz7({token:et,factory:et.\u0275fac}),et})(),I=(()=>{class et{constructor(tt,He){this.template=tt,this._differs=He}ngOnChanges(tt){if(!this._columnsDiffer){const He=tt.columns&&tt.columns.currentValue||[];this._columnsDiffer=this._differs.find(He).create(),this._columnsDiffer.diff(He)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(tt){return this instanceof ze?tt.headerCell.template:this instanceof We?tt.footerCell.template:tt.cell.template}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(e.Rgc),e.Y36(e.ZZ4))},et.\u0275dir=e.lG2({type:et,features:[e.TTD]}),et})();class Ie extends I{}const Re=ce(Ie);let ze=(()=>{class et extends Re{constructor(tt,He,Qe){super(tt,He),this._table=Qe}ngOnChanges(tt){super.ngOnChanges(tt)}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(Pe,8))},et.\u0275dir=e.lG2({type:et,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),et})();class fe extends I{}const ve=ce(fe);let We=(()=>{class et extends ve{constructor(tt,He,Qe){super(tt,He),this._table=Qe}ngOnChanges(tt){super.ngOnChanges(tt)}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(Pe,8))},et.\u0275dir=e.lG2({type:et,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),et})(),nt=(()=>{class et extends I{constructor(tt,He,Qe){super(tt,He),this._table=Qe}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(Pe,8))},et.\u0275dir=e.lG2({type:et,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]}),et})(),st=(()=>{class et{constructor(tt){this._viewContainer=tt,et.mostRecentCellOutlet=this}ngOnDestroy(){et.mostRecentCellOutlet===this&&(et.mostRecentCellOutlet=null)}}return et.mostRecentCellOutlet=null,et.\u0275fac=function(tt){return new(tt||et)(e.Y36(e.s_b))},et.\u0275dir=e.lG2({type:et,selectors:[["","cdkCellOutlet",""]]}),et})(),dt=(()=>{class et{}return et.\u0275fac=function(tt){return new(tt||et)},et.\u0275cmp=e.Xpm({type:et,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(tt,He){1&tt&&e.GkF(0,0)},directives:[st],encapsulation:2}),et})(),de=(()=>{class et{}return et.\u0275fac=function(tt){return new(tt||et)},et.\u0275cmp=e.Xpm({type:et,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(tt,He){1&tt&&e.GkF(0,0)},directives:[st],encapsulation:2}),et})(),M=(()=>{class et{constructor(tt){this.templateRef=tt,this._contentClassName="cdk-no-data-row"}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(e.Rgc))},et.\u0275dir=e.lG2({type:et,selectors:[["ng-template","cdkNoDataRow",""]]}),et})();const S=["top","bottom","left","right"];class P{constructor(Ct,tt,He,Qe,D=!0,ue=!0,Xe){this._isNativeHtmlTable=Ct,this._stickCellCss=tt,this.direction=He,this._coalescedStyleScheduler=Qe,this._isBrowser=D,this._needsPositionStickyOnElement=ue,this._positionListener=Xe,this._cachedCellWidths=[],this._borderCellCss={top:`${tt}-border-elem-top`,bottom:`${tt}-border-elem-bottom`,left:`${tt}-border-elem-left`,right:`${tt}-border-elem-right`}}clearStickyPositioning(Ct,tt){const He=[];for(const Qe of Ct)if(Qe.nodeType===Qe.ELEMENT_NODE){He.push(Qe);for(let D=0;D{for(const Qe of He)this._removeStickyStyle(Qe,tt)})}updateStickyColumns(Ct,tt,He,Qe=!0){if(!Ct.length||!this._isBrowser||!tt.some(wi=>wi)&&!He.some(wi=>wi))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const D=Ct[0],ue=D.children.length,Xe=this._getCellWidths(D,Qe),bt=this._getStickyStartColumnPositions(Xe,tt),Jt=this._getStickyEndColumnPositions(Xe,He),ti=tt.lastIndexOf(!0),bi=He.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const wi="rtl"===this.direction,en=wi?"right":"left",on=wi?"left":"right";for(const Hi of Ct)for(let Bi=0;Bitt[Bi]?Hi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===bi?[]:Xe.slice(bi).map((Hi,Bi)=>He[Bi+bi]?Hi:null).reverse()}))})}stickRows(Ct,tt,He){if(!this._isBrowser)return;const Qe="bottom"===He?Ct.slice().reverse():Ct,D="bottom"===He?tt.slice().reverse():tt,ue=[],Xe=[],bt=[];for(let ti=0,bi=0;ti{var ti,bi;for(let wi=0;wi{tt.some(Qe=>!Qe)?this._removeStickyStyle(He,["bottom"]):this._addStickyStyle(He,"bottom",0,!1)})}_removeStickyStyle(Ct,tt){for(const Qe of tt)Ct.style[Qe]="",Ct.classList.remove(this._borderCellCss[Qe]);S.some(Qe=>-1===tt.indexOf(Qe)&&Ct.style[Qe])?Ct.style.zIndex=this._getCalculatedZIndex(Ct):(Ct.style.zIndex="",this._needsPositionStickyOnElement&&(Ct.style.position=""),Ct.classList.remove(this._stickCellCss))}_addStickyStyle(Ct,tt,He,Qe){Ct.classList.add(this._stickCellCss),Qe&&Ct.classList.add(this._borderCellCss[tt]),Ct.style[tt]=`${He}px`,Ct.style.zIndex=this._getCalculatedZIndex(Ct),this._needsPositionStickyOnElement&&(Ct.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Ct){const tt={top:100,bottom:10,left:1,right:1};let He=0;for(const Qe of S)Ct.style[Qe]&&(He+=tt[Qe]);return He?`${He}`:""}_getCellWidths(Ct,tt=!0){if(!tt&&this._cachedCellWidths.length)return this._cachedCellWidths;const He=[],Qe=Ct.children;for(let D=0;D0;D--)tt[D]&&(He[D]=Qe,Qe+=Ct[D]);return He}}const t=new e.OlP("CDK_SPL");let c=(()=>{class et{constructor(tt,He){this.viewContainer=tt,this.elementRef=He}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(e.s_b),e.Y36(e.SBq))},et.\u0275dir=e.lG2({type:et,selectors:[["","rowOutlet",""]]}),et})(),p=(()=>{class et{constructor(tt,He){this.viewContainer=tt,this.elementRef=He}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(e.s_b),e.Y36(e.SBq))},et.\u0275dir=e.lG2({type:et,selectors:[["","headerRowOutlet",""]]}),et})(),T=(()=>{class et{constructor(tt,He){this.viewContainer=tt,this.elementRef=He}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(e.s_b),e.Y36(e.SBq))},et.\u0275dir=e.lG2({type:et,selectors:[["","footerRowOutlet",""]]}),et})(),Se=(()=>{class et{constructor(tt,He){this.viewContainer=tt,this.elementRef=He}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(e.s_b),e.Y36(e.SBq))},et.\u0275dir=e.lG2({type:et,selectors:[["","noDataRowOutlet",""]]}),et})(),St=(()=>{class et{constructor(tt,He,Qe,D,ue,Xe,bt,Jt,ti,bi,wi,en){this._differs=tt,this._changeDetectorRef=He,this._elementRef=Qe,this._dir=ue,this._platform=bt,this._viewRepeater=Jt,this._coalescedStyleScheduler=ti,this._viewportRuler=bi,this._stickyPositioningListener=wi,this._ngZone=en,this._onDestroy=new m.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new e.vpe,this.viewChange=new s.X({start:0,end:Number.MAX_VALUE}),D||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Xe,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(tt){this._trackByFn=tt}get dataSource(){return this._dataSource}set dataSource(tt){this._dataSource!==tt&&this._switchDataSource(tt)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(tt){this._multiTemplateDataRows=(0,f.Ig)(tt),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(tt){this._fixedLayout=(0,f.Ig)(tt),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((tt,He)=>this.trackBy?this.trackBy(He.dataIndex,He.data):He),this._viewportRuler.change().pipe((0,E.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const He=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||He,this._forceRecalculateCellWidths=He,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(tt=>{tt.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const tt=this._dataDiffer.diff(this._renderRows);if(!tt)return this._updateNoDataRow(),void this.contentChanged.next();const He=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(tt,He,(Qe,D,ue)=>this._getEmbeddedViewArgs(Qe.item,ue),Qe=>Qe.item.data,Qe=>{1===Qe.operation&&Qe.context&&this._renderCellTemplateForItem(Qe.record.item.rowDef,Qe.context)}),this._updateRowIndexContext(),tt.forEachIdentityChange(Qe=>{He.get(Qe.currentIndex).context.$implicit=Qe.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,h.q)(1),(0,E.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(tt){this._customColumnDefs.add(tt)}removeColumnDef(tt){this._customColumnDefs.delete(tt)}addRowDef(tt){this._customRowDefs.add(tt)}removeRowDef(tt){this._customRowDefs.delete(tt)}addHeaderRowDef(tt){this._customHeaderRowDefs.add(tt),this._headerRowDefChanged=!0}removeHeaderRowDef(tt){this._customHeaderRowDefs.delete(tt),this._headerRowDefChanged=!0}addFooterRowDef(tt){this._customFooterRowDefs.add(tt),this._footerRowDefChanged=!0}removeFooterRowDef(tt){this._customFooterRowDefs.delete(tt),this._footerRowDefChanged=!0}setNoDataRow(tt){this._customNoDataRow=tt}updateStickyHeaderRowStyles(){const tt=this._getRenderedRows(this._headerRowOutlet),Qe=this._elementRef.nativeElement.querySelector("thead");Qe&&(Qe.style.display=tt.length?"":"none");const D=this._headerRowDefs.map(ue=>ue.sticky);this._stickyStyler.clearStickyPositioning(tt,["top"]),this._stickyStyler.stickRows(tt,D,"top"),this._headerRowDefs.forEach(ue=>ue.resetStickyChanged())}updateStickyFooterRowStyles(){const tt=this._getRenderedRows(this._footerRowOutlet),Qe=this._elementRef.nativeElement.querySelector("tfoot");Qe&&(Qe.style.display=tt.length?"":"none");const D=this._footerRowDefs.map(ue=>ue.sticky);this._stickyStyler.clearStickyPositioning(tt,["bottom"]),this._stickyStyler.stickRows(tt,D,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,D),this._footerRowDefs.forEach(ue=>ue.resetStickyChanged())}updateStickyColumnStyles(){const tt=this._getRenderedRows(this._headerRowOutlet),He=this._getRenderedRows(this._rowOutlet),Qe=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...tt,...He,...Qe],["left","right"]),this._stickyColumnStylesNeedReset=!1),tt.forEach((D,ue)=>{this._addStickyColumnStyles([D],this._headerRowDefs[ue])}),this._rowDefs.forEach(D=>{const ue=[];for(let Xe=0;Xe{this._addStickyColumnStyles([D],this._footerRowDefs[ue])}),Array.from(this._columnDefsByName.values()).forEach(D=>D.resetStickyChanged())}_getAllRenderRows(){const tt=[],He=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Qe=0;Qe{const Xe=Qe&&Qe.has(ue)?Qe.get(ue):[];if(Xe.length){const bt=Xe.shift();return bt.dataIndex=He,bt}return{data:tt,rowDef:ue,dataIndex:He}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ft(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(He=>{this._columnDefsByName.has(He.name),this._columnDefsByName.set(He.name,He)})}_cacheRowDefs(){this._headerRowDefs=Ft(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ft(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ft(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const tt=this._rowDefs.filter(He=>!He.when);this._defaultRowDef=tt[0]}_renderUpdatedColumns(){const tt=(ue,Xe)=>ue||!!Xe.getColumnsDiff(),He=this._rowDefs.reduce(tt,!1);He&&this._forceRenderDataRows();const Qe=this._headerRowDefs.reduce(tt,!1);Qe&&this._forceRenderHeaderRows();const D=this._footerRowDefs.reduce(tt,!1);return D&&this._forceRenderFooterRows(),He||Qe||D}_switchDataSource(tt){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),tt||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=tt}_observeRenderChanges(){if(!this.dataSource)return;let tt;(0,g.Z9)(this.dataSource)?tt=this.dataSource.connect(this):(0,b.b)(this.dataSource)?tt=this.dataSource:Array.isArray(this.dataSource)&&(tt=(0,R.of)(this.dataSource)),this._renderChangeSubscription=tt.pipe((0,E.R)(this._onDestroy)).subscribe(He=>{this._data=He||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((tt,He)=>this._renderRow(this._headerRowOutlet,tt,He)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((tt,He)=>this._renderRow(this._footerRowOutlet,tt,He)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(tt,He){const Qe=Array.from(He.columns||[]).map(Xe=>this._columnDefsByName.get(Xe)),D=Qe.map(Xe=>Xe.sticky),ue=Qe.map(Xe=>Xe.stickyEnd);this._stickyStyler.updateStickyColumns(tt,D,ue,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(tt){const He=[];for(let Qe=0;Qe!D.when||D.when(He,tt));else{let D=this._rowDefs.find(ue=>ue.when&&ue.when(He,tt))||this._defaultRowDef;D&&Qe.push(D)}return Qe}_getEmbeddedViewArgs(tt,He){return{templateRef:tt.rowDef.template,context:{$implicit:tt.data},index:He}}_renderRow(tt,He,Qe,D={}){const ue=tt.viewContainer.createEmbeddedView(He.template,D,Qe);return this._renderCellTemplateForItem(He,D),ue}_renderCellTemplateForItem(tt,He){for(let Qe of this._getCellTemplates(tt))st.mostRecentCellOutlet&&st.mostRecentCellOutlet._viewContainer.createEmbeddedView(Qe,He);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const tt=this._rowOutlet.viewContainer;for(let He=0,Qe=tt.length;He{const Qe=this._columnDefsByName.get(He);return tt.extractCellTemplate(Qe)}):[]}_applyNativeTableSections(){const tt=this._document.createDocumentFragment(),He=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Qe of He){const D=this._document.createElement(Qe.tag);D.setAttribute("role","rowgroup");for(const ue of Qe.outlets)D.appendChild(ue.elementRef.nativeElement);tt.appendChild(D)}this._elementRef.nativeElement.appendChild(tt)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const tt=(He,Qe)=>He||Qe.hasStickyChanged();this._headerRowDefs.reduce(tt,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(tt,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(tt,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new P(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,R.of)()).pipe((0,E.R)(this._onDestroy)).subscribe(He=>{this._stickyStyler.direction=He,this.updateStickyColumnStyles()})}_getOwnDefs(tt){return tt.filter(He=>!He._table||He._table===this)}_updateNoDataRow(){const tt=this._customNoDataRow||this._noDataRow;if(!tt)return;const He=0===this._rowOutlet.viewContainer.length;if(He===this._isShowingNoDataRow)return;const Qe=this._noDataRowOutlet.viewContainer;if(He){const D=Qe.createEmbeddedView(tt.templateRef),ue=D.rootNodes[0];1===D.rootNodes.length&&(null==ue?void 0:ue.nodeType)===this._document.ELEMENT_NODE&&(ue.setAttribute("role","row"),ue.classList.add(tt._contentClassName))}else Qe.clear();this._isShowingNoDataRow=He}}return et.\u0275fac=function(tt){return new(tt||et)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(x.Is,8),e.Y36(v.K0),e.Y36(k.t4),e.Y36(g.k),e.Y36(z),e.Y36(G.rL),e.Y36(t,12),e.Y36(e.R0b,8))},et.\u0275cmp=e.Xpm({type:et,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(tt,He,Qe){if(1&tt&&(e.Suo(Qe,M,5),e.Suo(Qe,pe,5),e.Suo(Qe,nt,5),e.Suo(Qe,ze,5),e.Suo(Qe,We,5)),2&tt){let D;e.iGM(D=e.CRH())&&(He._noDataRow=D.first),e.iGM(D=e.CRH())&&(He._contentColumnDefs=D),e.iGM(D=e.CRH())&&(He._contentRowDefs=D),e.iGM(D=e.CRH())&&(He._contentHeaderRowDefs=D),e.iGM(D=e.CRH())&&(He._contentFooterRowDefs=D)}},viewQuery:function(tt,He){if(1&tt&&(e.Gf(c,7),e.Gf(p,7),e.Gf(T,7),e.Gf(Se,7)),2&tt){let Qe;e.iGM(Qe=e.CRH())&&(He._rowOutlet=Qe.first),e.iGM(Qe=e.CRH())&&(He._headerRowOutlet=Qe.first),e.iGM(Qe=e.CRH())&&(He._footerRowOutlet=Qe.first),e.iGM(Qe=e.CRH())&&(He._noDataRowOutlet=Qe.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(tt,He){2&tt&&e.ekj("cdk-table-fixed-layout",He.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:Pe,useExisting:et},{provide:g.k,useClass:g.yy},{provide:z,useClass:Ce},{provide:t,useValue:null}])],ngContentSelectors:he,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(tt,He){1&tt&&(e.F$t(X),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[p,c,Se,T],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),et})();function Ft(et,Ct){return et.concat(Array.from(Ct))}let Mt=(()=>{class et{}return et.\u0275fac=function(tt){return new(tt||et)},et.\u0275mod=e.oAB({type:et}),et.\u0275inj=e.cJS({imports:[[G.Cl]]}),et})();var at=d(90508),Ut=d(36787),gt=d(36053),xt=d(24850);const Ve=[[["caption"]],[["colgroup"],["col"]]],$e=["caption","colgroup, col"];let Y=(()=>{class et extends St{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return et.\u0275fac=function(){let Ct;return function(He){return(Ct||(Ct=e.n5z(et)))(He||et)}}(),et.\u0275cmp=e.Xpm({type:et,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(tt,He){2&tt&&e.ekj("mat-table-fixed-layout",He.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:g.k,useClass:g.yy},{provide:St,useExisting:et},{provide:Pe,useExisting:et},{provide:z,useClass:Ce},{provide:t,useValue:null}]),e.qOj],ngContentSelectors:$e,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(tt,He){1&tt&&(e.F$t(Ve),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[p,c,Se,T],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),et})(),Le=(()=>{class et extends V{}return et.\u0275fac=function(){let Ct;return function(He){return(Ct||(Ct=e.n5z(et)))(He||et)}}(),et.\u0275dir=e.lG2({type:et,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:V,useExisting:et}]),e.qOj]}),et})(),Ye=(()=>{class et extends F{}return et.\u0275fac=function(){let Ct;return function(He){return(Ct||(Ct=e.n5z(et)))(He||et)}}(),et.\u0275dir=e.lG2({type:et,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:F,useExisting:et}]),e.qOj]}),et})(),Ht=(()=>{class et extends pe{get name(){return this._name}set name(tt){this._setNameInput(tt)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return et.\u0275fac=function(){let Ct;return function(He){return(Ct||(Ct=e.n5z(et)))(He||et)}}(),et.\u0275dir=e.lG2({type:et,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:pe,useExisting:et},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:et}]),e.qOj]}),et})(),qt=(()=>{class et extends Fe{}return et.\u0275fac=function(){let Ct;return function(He){return(Ct||(Ct=e.n5z(et)))(He||et)}}(),et.\u0275dir=e.lG2({type:et,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[e.qOj]}),et})(),wt=(()=>{class et extends De{}return et.\u0275fac=function(){let Ct;return function(He){return(Ct||(Ct=e.n5z(et)))(He||et)}}(),et.\u0275dir=e.lG2({type:et,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[e.qOj]}),et})(),At=(()=>{class et extends ze{}return et.\u0275fac=function(){let Ct;return function(He){return(Ct||(Ct=e.n5z(et)))(He||et)}}(),et.\u0275dir=e.lG2({type:et,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:ze,useExisting:et}]),e.qOj]}),et})(),Wt=(()=>{class et extends nt{}return et.\u0275fac=function(){let Ct;return function(He){return(Ct||(Ct=e.n5z(et)))(He||et)}}(),et.\u0275dir=e.lG2({type:et,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:nt,useExisting:et}]),e.qOj]}),et})(),li=(()=>{class et extends dt{}return et.\u0275fac=function(){let Ct;return function(He){return(Ct||(Ct=e.n5z(et)))(He||et)}}(),et.\u0275cmp=e.Xpm({type:et,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:dt,useExisting:et}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(tt,He){1&tt&&e.GkF(0,0)},directives:[st],encapsulation:2}),et})(),Ti=(()=>{class et extends de{}return et.\u0275fac=function(){let Ct;return function(He){return(Ct||(Ct=e.n5z(et)))(He||et)}}(),et.\u0275cmp=e.Xpm({type:et,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[e._Bn([{provide:de,useExisting:et}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(tt,He){1&tt&&e.GkF(0,0)},directives:[st],encapsulation:2}),et})(),Qi=(()=>{class et{}return et.\u0275fac=function(tt){return new(tt||et)},et.\u0275mod=e.oAB({type:et}),et.\u0275inj=e.cJS({imports:[[Mt,at.BQ],at.BQ]}),et})();class mn extends g.o2{constructor(Ct=[]){super(),this._renderData=new s.X([]),this._filter=new s.X(""),this._internalPageChanges=new m.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(tt,He)=>{const Qe=tt[He];if((0,f.t6)(Qe)){const D=Number(Qe);return D<9007199254740991?D:Qe}return Qe},this.sortData=(tt,He)=>{const Qe=He.active,D=He.direction;return Qe&&""!=D?tt.sort((ue,Xe)=>{let bt=this.sortingDataAccessor(ue,Qe),Jt=this.sortingDataAccessor(Xe,Qe);const ti=typeof bt,bi=typeof Jt;ti!==bi&&("number"===ti&&(bt+=""),"number"===bi&&(Jt+=""));let wi=0;return null!=bt&&null!=Jt?bt>Jt?wi=1:bt{const Qe=Object.keys(tt).reduce((ue,Xe)=>ue+tt[Xe]+"\u25ec","").toLowerCase(),D=He.trim().toLowerCase();return-1!=Qe.indexOf(D)},this._data=new s.X(Ct),this._updateChangeSubscription()}get data(){return this._data.value}set data(Ct){Ct=Array.isArray(Ct)?Ct:[],this._data.next(Ct),this._renderChangesSubscription||this._filterData(Ct)}get filter(){return this._filter.value}set filter(Ct){this._filter.next(Ct),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Ct){this._sort=Ct,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Ct){this._paginator=Ct,this._updateChangeSubscription()}_updateChangeSubscription(){var Ct;const tt=this._sort?(0,Ut.T)(this._sort.sortChange,this._sort.initialized):(0,R.of)(null),He=this._paginator?(0,Ut.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,R.of)(null),D=(0,gt.aj)([this._data,this._filter]).pipe((0,xt.U)(([bt])=>this._filterData(bt))),ue=(0,gt.aj)([D,tt]).pipe((0,xt.U)(([bt])=>this._orderData(bt))),Xe=(0,gt.aj)([ue,He]).pipe((0,xt.U)(([bt])=>this._pageData(bt)));null===(Ct=this._renderChangesSubscription)||void 0===Ct||Ct.unsubscribe(),this._renderChangesSubscription=Xe.subscribe(bt=>this._renderData.next(bt))}_filterData(Ct){return this.filteredData=null==this.filter||""===this.filter?Ct:Ct.filter(tt=>this.filterPredicate(tt,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Ct){return this.sort?this.sortData(Ct.slice(),this.sort):Ct}_pageData(Ct){if(!this.paginator)return Ct;const tt=this.paginator.pageIndex*this.paginator.pageSize;return Ct.slice(tt,tt+this.paginator.pageSize)}_updatePaginator(Ct){Promise.resolve().then(()=>{const tt=this.paginator;if(tt&&(tt.length=Ct,tt.pageIndex>0)){const He=Math.ceil(tt.length/tt.pageSize)-1||0,Qe=Math.min(tt.pageIndex,He);Qe!==tt.pageIndex&&(tt.pageIndex=Qe,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var Ct;null===(Ct=this._renderChangesSubscription)||void 0===Ct||Ct.unsubscribe(),this._renderChangesSubscription=null}}class Xi extends mn{}},53251:(Ze,ge,d)=>{"use strict";d.d(ge,{uX:()=>N,Vc:()=>dt,SP:()=>Vt,uD:()=>M,Nh:()=>oe});var e=d(15664),f=d(17144),g=d(47429),v=d(69808),m=d(5e3),A=d(90508),s=d(76360),b=d(8929),R=d(42654),E=d(23753),h=d(21086),x=d(36787),k=d(98723),G=d(41777),X=d(1059),he=d(75778),re=d(7625),Ne=d(50226),ce=d(63191),Pe=d(91159),se=d(70925),V=d(53435);function F(H,ee){1&H&&m.Hsn(0)}const W=["*"];function te(H,ee){}const ae=function(H){return{animationDuration:H}},pe=function(H,ee){return{value:H,params:ee}},Be=["tabListContainer"],Fe=["tabList"],ke=["tabListInner"],De=["nextPaginator"],be=["previousPaginator"],z=["tabBodyWrapper"],Ce=["tabHeader"];function J(H,ee){}function I(H,ee){if(1&H&&m.YNc(0,J,0,0,"ng-template",10),2&H){const Y=m.oxw().$implicit;m.Q6J("cdkPortalOutlet",Y.templateLabel)}}function Ie(H,ee){if(1&H&&m._uU(0),2&H){const Y=m.oxw().$implicit;m.Oqu(Y.textLabel)}}function Re(H,ee){if(1&H){const Y=m.EpF();m.TgZ(0,"div",6),m.NdJ("click",function(){const Ye=m.CHM(Y),mt=Ye.$implicit,Ht=Ye.index,qt=m.oxw(),Dt=m.MAs(1);return qt._handleClick(mt,Dt,Ht)})("cdkFocusChange",function(Ye){const Ht=m.CHM(Y).index;return m.oxw()._tabFocusChanged(Ye,Ht)}),m.TgZ(1,"div",7),m.YNc(2,I,1,1,"ng-template",8),m.YNc(3,Ie,1,1,"ng-template",null,9,m.W1O),m.qZA(),m.qZA()}if(2&H){const Y=ee.$implicit,Le=ee.index,Ye=m.MAs(4),mt=m.oxw();m.ekj("mat-tab-label-active",mt.selectedIndex===Le),m.Q6J("id",mt._getTabLabelId(Le))("ngClass",Y.labelClass)("disabled",Y.disabled)("matRippleDisabled",Y.disabled||mt.disableRipple),m.uIk("tabIndex",mt._getTabIndex(Y,Le))("aria-posinset",Le+1)("aria-setsize",mt._tabs.length)("aria-controls",mt._getTabContentId(Le))("aria-selected",mt.selectedIndex===Le)("aria-label",Y.ariaLabel||null)("aria-labelledby",!Y.ariaLabel&&Y.ariaLabelledby?Y.ariaLabelledby:null),m.xp6(2),m.Q6J("ngIf",Y.templateLabel)("ngIfElse",Ye)}}function ze(H,ee){if(1&H){const Y=m.EpF();m.TgZ(0,"mat-tab-body",11),m.NdJ("_onCentered",function(){return m.CHM(Y),m.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(Ye){return m.CHM(Y),m.oxw()._setTabBodyWrapperHeight(Ye)}),m.qZA()}if(2&H){const Y=ee.$implicit,Le=ee.index,Ye=m.oxw();m.ekj("mat-tab-body-active",Ye.selectedIndex===Le),m.Q6J("id",Ye._getTabContentId(Le))("ngClass",Y.bodyClass)("content",Y.content)("position",Y.position)("origin",Y.origin)("animationDuration",Ye.animationDuration),m.uIk("tabindex",null!=Ye.contentTabIndex&&Ye.selectedIndex===Le?Ye.contentTabIndex:null)("aria-labelledby",Ye._getTabLabelId(Le))}}const ve=new m.OlP("MatInkBarPositioner",{providedIn:"root",factory:function We(){return ee=>({left:ee?(ee.offsetLeft||0)+"px":"0",width:ee?(ee.offsetWidth||0)+"px":"0"})}});let nt=(()=>{class H{constructor(Y,Le,Ye,mt){this._elementRef=Y,this._ngZone=Le,this._inkBarPositioner=Ye,this._animationMode=mt}alignToElement(Y){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(Y))}):this._setStyles(Y)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(Y){const Le=this._inkBarPositioner(Y),Ye=this._elementRef.nativeElement;Ye.style.left=Le.left,Ye.style.width=Le.width}}return H.\u0275fac=function(Y){return new(Y||H)(m.Y36(m.SBq),m.Y36(m.R0b),m.Y36(ve),m.Y36(s.Qb,8))},H.\u0275dir=m.lG2({type:H,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(Y,Le){2&Y&&m.ekj("_mat-animation-noopable","NoopAnimations"===Le._animationMode)}}),H})();const st=new m.OlP("MatTabContent");let dt=(()=>{class H{constructor(Y){this.template=Y}}return H.\u0275fac=function(Y){return new(Y||H)(m.Y36(m.Rgc))},H.\u0275dir=m.lG2({type:H,selectors:[["","matTabContent",""]],features:[m._Bn([{provide:st,useExisting:H}])]}),H})();const L=new m.OlP("MatTabLabel"),de=new m.OlP("MAT_TAB");let M=(()=>{class H extends g.ig{constructor(Y,Le,Ye){super(Y,Le),this._closestTab=Ye}}return H.\u0275fac=function(Y){return new(Y||H)(m.Y36(m.Rgc),m.Y36(m.s_b),m.Y36(de,8))},H.\u0275dir=m.lG2({type:H,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[m._Bn([{provide:L,useExisting:H}]),m.qOj]}),H})();const S=(0,A.Id)(class{}),P=new m.OlP("MAT_TAB_GROUP");let N=(()=>{class H extends S{constructor(Y,Le){super(),this._viewContainerRef=Y,this._closestTabGroup=Le,this.textLabel="",this._contentPortal=null,this._stateChanges=new b.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(Y){this._setTemplateLabelInput(Y)}get content(){return this._contentPortal}ngOnChanges(Y){(Y.hasOwnProperty("textLabel")||Y.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new g.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Y){Y&&Y._closestTab===this&&(this._templateLabel=Y)}}return H.\u0275fac=function(Y){return new(Y||H)(m.Y36(m.s_b),m.Y36(P,8))},H.\u0275cmp=m.Xpm({type:H,selectors:[["mat-tab"]],contentQueries:function(Y,Le,Ye){if(1&Y&&(m.Suo(Ye,L,5),m.Suo(Ye,st,7,m.Rgc)),2&Y){let mt;m.iGM(mt=m.CRH())&&(Le.templateLabel=mt.first),m.iGM(mt=m.CRH())&&(Le._explicitContent=mt.first)}},viewQuery:function(Y,Le){if(1&Y&&m.Gf(m.Rgc,7),2&Y){let Ye;m.iGM(Ye=m.CRH())&&(Le._implicitContent=Ye.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[m._Bn([{provide:de,useExisting:H}]),m.qOj,m.TTD],ngContentSelectors:W,decls:1,vars:0,template:function(Y,Le){1&Y&&(m.F$t(),m.YNc(0,F,1,0,"ng-template"))},encapsulation:2}),H})();const ne={translateTab:(0,G.X$)("translateTab",[(0,G.SB)("center, void, left-origin-center, right-origin-center",(0,G.oB)({transform:"none"})),(0,G.SB)("left",(0,G.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,G.SB)("right",(0,G.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,G.eR)("* => left, * => right, left => center, right => center",(0,G.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,G.eR)("void => left-origin-center",[(0,G.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,G.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,G.eR)("void => right-origin-center",[(0,G.oB)({transform:"translate3d(100%, 0, 0)"}),(0,G.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let j=(()=>{class H extends g.Pl{constructor(Y,Le,Ye,mt){super(Y,Le,mt),this._host=Ye,this._centeringSub=R.w.EMPTY,this._leavingSub=R.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,X.O)(this._host._isCenterPosition(this._host._position))).subscribe(Y=>{Y&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return H.\u0275fac=function(Y){return new(Y||H)(m.Y36(m._Vd),m.Y36(m.s_b),m.Y36((0,m.Gpc)(()=>n)),m.Y36(v.K0))},H.\u0275dir=m.lG2({type:H,selectors:[["","matTabBodyHost",""]],features:[m.qOj]}),H})(),Te=(()=>{class H{constructor(Y,Le,Ye){this._elementRef=Y,this._dir=Le,this._dirChangeSubscription=R.w.EMPTY,this._translateTabComplete=new b.xQ,this._onCentering=new m.vpe,this._beforeCentering=new m.vpe,this._afterLeavingCenter=new m.vpe,this._onCentered=new m.vpe(!0),this.animationDuration="500ms",Le&&(this._dirChangeSubscription=Le.change.subscribe(mt=>{this._computePositionAnimationState(mt),Ye.markForCheck()})),this._translateTabComplete.pipe((0,he.x)((mt,Ht)=>mt.fromState===Ht.fromState&&mt.toState===Ht.toState)).subscribe(mt=>{this._isCenterPosition(mt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(mt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(Y){this._positionIndex=Y,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(Y){const Le=this._isCenterPosition(Y.toState);this._beforeCentering.emit(Le),Le&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Y){return"center"==Y||"left-origin-center"==Y||"right-origin-center"==Y}_computePositionAnimationState(Y=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Y?"left":"right":this._positionIndex>0?"ltr"==Y?"right":"left":"center"}_computePositionFromOrigin(Y){const Le=this._getLayoutDirection();return"ltr"==Le&&Y<=0||"rtl"==Le&&Y>0?"left-origin-center":"right-origin-center"}}return H.\u0275fac=function(Y){return new(Y||H)(m.Y36(m.SBq),m.Y36(Ne.Is,8),m.Y36(m.sBO))},H.\u0275dir=m.lG2({type:H,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),H})(),n=(()=>{class H extends Te{constructor(Y,Le,Ye){super(Y,Le,Ye)}}return H.\u0275fac=function(Y){return new(Y||H)(m.Y36(m.SBq),m.Y36(Ne.Is,8),m.Y36(m.sBO))},H.\u0275cmp=m.Xpm({type:H,selectors:[["mat-tab-body"]],viewQuery:function(Y,Le){if(1&Y&&m.Gf(g.Pl,5),2&Y){let Ye;m.iGM(Ye=m.CRH())&&(Le._portalHost=Ye.first)}},hostAttrs:[1,"mat-tab-body"],features:[m.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(Y,Le){1&Y&&(m.TgZ(0,"div",0,1),m.NdJ("@translateTab.start",function(mt){return Le._onTranslateTabStarted(mt)})("@translateTab.done",function(mt){return Le._translateTabComplete.next(mt)}),m.YNc(2,te,0,0,"ng-template",2),m.qZA()),2&Y&&m.Q6J("@translateTab",m.WLB(3,pe,Le._position,m.VKq(1,ae,Le.animationDuration)))},directives:[j],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[ne.translateTab]}}),H})();const r=new m.OlP("MAT_TABS_CONFIG"),u=(0,A.Id)(class{});let o=(()=>{class H extends u{constructor(Y){super(),this.elementRef=Y}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return H.\u0275fac=function(Y){return new(Y||H)(m.Y36(m.SBq))},H.\u0275dir=m.lG2({type:H,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Y,Le){2&Y&&(m.uIk("aria-disabled",!!Le.disabled),m.ekj("mat-tab-disabled",Le.disabled))},inputs:{disabled:"disabled"},features:[m.qOj]}),H})();const t=(0,se.i$)({passive:!0});let T=(()=>{class H{constructor(Y,Le,Ye,mt,Ht,qt,Dt){this._elementRef=Y,this._changeDetectorRef=Le,this._viewportRuler=Ye,this._dir=mt,this._ngZone=Ht,this._platform=qt,this._animationMode=Dt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new b.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new b.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new m.vpe,this.indexFocused=new m.vpe,Ht.runOutsideAngular(()=>{(0,E.R)(Y.nativeElement,"mouseleave").pipe((0,re.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(Y){Y=(0,ce.su)(Y),this._selectedIndex!=Y&&(this._selectedIndexChanged=!0,this._selectedIndex=Y,this._keyManager&&this._keyManager.updateActiveItem(Y))}ngAfterViewInit(){(0,E.R)(this._previousPaginator.nativeElement,"touchstart",t).pipe((0,re.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,E.R)(this._nextPaginator.nativeElement,"touchstart",t).pipe((0,re.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Y=this._dir?this._dir.change:(0,h.of)("ltr"),Le=this._viewportRuler.change(150),Ye=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new e.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(Ye):Ye(),(0,x.T)(Y,Le,this._items.changes).pipe((0,re.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(Ye)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,re.R)(this._destroyed)).subscribe(mt=>{this.indexFocused.emit(mt),this._setTabFocus(mt)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(Y){if(!(0,Pe.Vb)(Y))switch(Y.keyCode){case Pe.K5:case Pe.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Y));break;default:this._keyManager.onKeydown(Y)}}_onContentChanges(){const Y=this._elementRef.nativeElement.textContent;Y!==this._currentTextContent&&(this._currentTextContent=Y||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(Y){!this._isValidIndex(Y)||this.focusIndex===Y||!this._keyManager||this._keyManager.setActiveItem(Y)}_isValidIndex(Y){if(!this._items)return!0;const Le=this._items?this._items.toArray()[Y]:null;return!!Le&&!Le.disabled}_setTabFocus(Y){if(this._showPaginationControls&&this._scrollToLabel(Y),this._items&&this._items.length){this._items.toArray()[Y].focus();const Le=this._tabListContainer.nativeElement;Le.scrollLeft="ltr"==this._getLayoutDirection()?0:Le.scrollWidth-Le.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Y=this.scrollDistance,Le="ltr"===this._getLayoutDirection()?-Y:Y;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Le)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Y){this._scrollTo(Y)}_scrollHeader(Y){return this._scrollTo(this._scrollDistance+("before"==Y?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Y){this._stopInterval(),this._scrollHeader(Y)}_scrollToLabel(Y){if(this.disablePagination)return;const Le=this._items?this._items.toArray()[Y]:null;if(!Le)return;const Ye=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:mt,offsetWidth:Ht}=Le.elementRef.nativeElement;let qt,Dt;"ltr"==this._getLayoutDirection()?(qt=mt,Dt=qt+Ht):(Dt=this._tabListInner.nativeElement.offsetWidth-mt,qt=Dt-Ht);const wt=this.scrollDistance,At=this.scrollDistance+Ye;qtAt&&(this.scrollDistance+=Dt-At+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Y=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Y||(this.scrollDistance=0),Y!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Y}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const Y=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Le=Y?Y.elementRef.nativeElement:null;Le?this._inkBar.alignToElement(Le):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Y,Le){Le&&null!=Le.button&&0!==Le.button||(this._stopInterval(),(0,k.H)(650,100).pipe((0,re.R)((0,x.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Ye,distance:mt}=this._scrollHeader(Y);(0===mt||mt>=Ye)&&this._stopInterval()}))}_scrollTo(Y){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Le=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Le,Y)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Le,distance:this._scrollDistance}}}return H.\u0275fac=function(Y){return new(Y||H)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(V.rL),m.Y36(Ne.Is,8),m.Y36(m.R0b),m.Y36(se.t4),m.Y36(s.Qb,8))},H.\u0275dir=m.lG2({type:H,inputs:{disablePagination:"disablePagination"}}),H})(),Se=(()=>{class H extends T{constructor(Y,Le,Ye,mt,Ht,qt,Dt){super(Y,Le,Ye,mt,Ht,qt,Dt),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Y){this._disableRipple=(0,ce.Ig)(Y)}_itemSelected(Y){Y.preventDefault()}}return H.\u0275fac=function(Y){return new(Y||H)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(V.rL),m.Y36(Ne.Is,8),m.Y36(m.R0b),m.Y36(se.t4),m.Y36(s.Qb,8))},H.\u0275dir=m.lG2({type:H,inputs:{disableRipple:"disableRipple"},features:[m.qOj]}),H})(),je=(()=>{class H extends Se{constructor(Y,Le,Ye,mt,Ht,qt,Dt){super(Y,Le,Ye,mt,Ht,qt,Dt)}}return H.\u0275fac=function(Y){return new(Y||H)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(V.rL),m.Y36(Ne.Is,8),m.Y36(m.R0b),m.Y36(se.t4),m.Y36(s.Qb,8))},H.\u0275cmp=m.Xpm({type:H,selectors:[["mat-tab-header"]],contentQueries:function(Y,Le,Ye){if(1&Y&&m.Suo(Ye,o,4),2&Y){let mt;m.iGM(mt=m.CRH())&&(Le._items=mt)}},viewQuery:function(Y,Le){if(1&Y&&(m.Gf(nt,7),m.Gf(Be,7),m.Gf(Fe,7),m.Gf(ke,7),m.Gf(De,5),m.Gf(be,5)),2&Y){let Ye;m.iGM(Ye=m.CRH())&&(Le._inkBar=Ye.first),m.iGM(Ye=m.CRH())&&(Le._tabListContainer=Ye.first),m.iGM(Ye=m.CRH())&&(Le._tabList=Ye.first),m.iGM(Ye=m.CRH())&&(Le._tabListInner=Ye.first),m.iGM(Ye=m.CRH())&&(Le._nextPaginator=Ye.first),m.iGM(Ye=m.CRH())&&(Le._previousPaginator=Ye.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(Y,Le){2&Y&&m.ekj("mat-tab-header-pagination-controls-enabled",Le._showPaginationControls)("mat-tab-header-rtl","rtl"==Le._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[m.qOj],ngContentSelectors:W,decls:14,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(Y,Le){1&Y&&(m.F$t(),m.TgZ(0,"div",0,1),m.NdJ("click",function(){return Le._handlePaginatorClick("before")})("mousedown",function(mt){return Le._handlePaginatorPress("before",mt)})("touchend",function(){return Le._stopInterval()}),m._UZ(2,"div",2),m.qZA(),m.TgZ(3,"div",3,4),m.NdJ("keydown",function(mt){return Le._handleKeydown(mt)}),m.TgZ(5,"div",5,6),m.NdJ("cdkObserveContent",function(){return Le._onContentChanges()}),m.TgZ(7,"div",7,8),m.Hsn(9),m.qZA(),m._UZ(10,"mat-ink-bar"),m.qZA(),m.qZA(),m.TgZ(11,"div",9,10),m.NdJ("mousedown",function(mt){return Le._handlePaginatorPress("after",mt)})("click",function(){return Le._handlePaginatorClick("after")})("touchend",function(){return Le._stopInterval()}),m._UZ(13,"div",2),m.qZA()),2&Y&&(m.ekj("mat-tab-header-pagination-disabled",Le._disableScrollBefore),m.Q6J("matRippleDisabled",Le._disableScrollBefore||Le.disableRipple),m.xp6(5),m.ekj("_mat-animation-noopable","NoopAnimations"===Le._animationMode),m.xp6(6),m.ekj("mat-tab-header-pagination-disabled",Le._disableScrollAfter),m.Q6J("matRippleDisabled",Le._disableScrollAfter||Le.disableRipple))},directives:[A.wG,f.wD,nt],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),H})(),Et=0;class St{}const Ft=(0,A.pj)((0,A.Kr)(class{constructor(H){this._elementRef=H}}),"primary");let It=(()=>{class H extends Ft{constructor(Y,Le,Ye,mt){var Ht;super(Y),this._changeDetectorRef=Le,this._animationMode=mt,this._tabs=new m.n_E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=R.w.EMPTY,this._tabLabelSubscription=R.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new m.vpe,this.focusChange=new m.vpe,this.animationDone=new m.vpe,this.selectedTabChange=new m.vpe(!0),this._groupId=Et++,this.animationDuration=Ye&&Ye.animationDuration?Ye.animationDuration:"500ms",this.disablePagination=!(!Ye||null==Ye.disablePagination)&&Ye.disablePagination,this.dynamicHeight=!(!Ye||null==Ye.dynamicHeight)&&Ye.dynamicHeight,this.contentTabIndex=null!==(Ht=null==Ye?void 0:Ye.contentTabIndex)&&void 0!==Ht?Ht:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(Y){this._dynamicHeight=(0,ce.Ig)(Y)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Y){this._indexToSelect=(0,ce.su)(Y,null)}get animationDuration(){return this._animationDuration}set animationDuration(Y){this._animationDuration=/^\d+$/.test(Y+"")?Y+"ms":Y}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Y){this._contentTabIndex=(0,ce.su)(Y,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(Y){const Le=this._elementRef.nativeElement;Le.classList.remove(`mat-background-${this.backgroundColor}`),Y&&Le.classList.add(`mat-background-${Y}`),this._backgroundColor=Y}ngAfterContentChecked(){const Y=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Y){const Le=null==this._selectedIndex;if(!Le){this.selectedTabChange.emit(this._createChangeEvent(Y));const Ye=this._tabBodyWrapper.nativeElement;Ye.style.minHeight=Ye.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Ye,mt)=>Ye.isActive=mt===Y),Le||(this.selectedIndexChange.emit(Y),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Le,Ye)=>{Le.position=Ye-Y,null!=this._selectedIndex&&0==Le.position&&!Le.origin&&(Le.origin=Y-this._selectedIndex)}),this._selectedIndex!==Y&&(this._selectedIndex=Y,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const Le=this._tabs.toArray();for(let Ye=0;Ye{this._tabs.reset(Y.filter(Le=>Le._closestTabGroup===this||!Le._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(Y){const Le=this._tabHeader;Le&&(Le.focusIndex=Y)}_focusChanged(Y){this.focusChange.emit(this._createChangeEvent(Y))}_createChangeEvent(Y){const Le=new St;return Le.index=Y,this._tabs&&this._tabs.length&&(Le.tab=this._tabs.toArray()[Y]),Le}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,x.T)(...this._tabs.map(Y=>Y._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Y){return Math.min(this._tabs.length-1,Math.max(Y||0,0))}_getTabLabelId(Y){return`mat-tab-label-${this._groupId}-${Y}`}_getTabContentId(Y){return`mat-tab-content-${this._groupId}-${Y}`}_setTabBodyWrapperHeight(Y){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const Le=this._tabBodyWrapper.nativeElement;Le.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Le.style.height=Y+"px")}_removeTabBodyWrapperHeight(){const Y=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Y.clientHeight,Y.style.height="",this.animationDone.emit()}_handleClick(Y,Le,Ye){Y.disabled||(this.selectedIndex=Le.focusIndex=Ye)}_getTabIndex(Y,Le){return Y.disabled?null:this.selectedIndex===Le?0:-1}_tabFocusChanged(Y,Le){Y&&"mouse"!==Y&&"touch"!==Y&&(this._tabHeader.focusIndex=Le)}}return H.\u0275fac=function(Y){return new(Y||H)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(r,8),m.Y36(s.Qb,8))},H.\u0275dir=m.lG2({type:H,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[m.qOj]}),H})(),Vt=(()=>{class H extends It{constructor(Y,Le,Ye,mt){super(Y,Le,Ye,mt)}}return H.\u0275fac=function(Y){return new(Y||H)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(r,8),m.Y36(s.Qb,8))},H.\u0275cmp=m.Xpm({type:H,selectors:[["mat-tab-group"]],contentQueries:function(Y,Le,Ye){if(1&Y&&m.Suo(Ye,N,5),2&Y){let mt;m.iGM(mt=m.CRH())&&(Le._allTabs=mt)}},viewQuery:function(Y,Le){if(1&Y&&(m.Gf(z,5),m.Gf(Ce,5)),2&Y){let Ye;m.iGM(Ye=m.CRH())&&(Le._tabBodyWrapper=Ye.first),m.iGM(Ye=m.CRH())&&(Le._tabHeader=Ye.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(Y,Le){2&Y&&m.ekj("mat-tab-group-dynamic-height",Le.dynamicHeight)("mat-tab-group-inverted-header","below"===Le.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[m._Bn([{provide:P,useExisting:H}]),m.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(Y,Le){1&Y&&(m.TgZ(0,"mat-tab-header",0,1),m.NdJ("indexFocused",function(mt){return Le._focusChanged(mt)})("selectFocusedIndex",function(mt){return Le.selectedIndex=mt}),m.YNc(2,Re,5,15,"div",2),m.qZA(),m.TgZ(3,"div",3,4),m.YNc(5,ze,1,10,"mat-tab-body",5),m.qZA()),2&Y&&(m.Q6J("selectedIndex",Le.selectedIndex||0)("disableRipple",Le.disableRipple)("disablePagination",Le.disablePagination),m.xp6(2),m.Q6J("ngForOf",Le._tabs),m.xp6(1),m.ekj("_mat-animation-noopable","NoopAnimations"===Le._animationMode),m.xp6(2),m.Q6J("ngForOf",Le._tabs))},directives:[je,n,v.sg,o,A.wG,e.kH,v.mk,v.O5,g.Pl],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),H})(),oe=(()=>{class H{}return H.\u0275fac=function(Y){return new(Y||H)},H.\u0275mod=m.oAB({type:H}),H.\u0275inj=m.cJS({imports:[[v.ez,A.BQ,g.eL,A.si,f.Q8,e.rt],A.BQ]}),H})()},29772:(Ze,ge,d)=>{"use strict";d.d(ge,{gM:()=>dt,AV:()=>M});var e=d(92845),f=d(15664),g=d(69808),v=d(5e3),m=d(90508),A=d(53435),s=d(63191),b=d(91159),R=d(8929),E=d(36053),h=d(61221),x=d(56498),k=d(72986),G=d(31307),X=d(80013),he=d(24850),re=d(1059),Ne=d(7625),ce=d(70925);const se=new Set;let V,F=(()=>{class S{constructor(N){this._platform=N,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):te}matchMedia(N){return(this._platform.WEBKIT||this._platform.BLINK)&&function W(S){if(!se.has(S))try{V||(V=document.createElement("style"),V.setAttribute("type","text/css"),document.head.appendChild(V)),V.sheet&&(V.sheet.insertRule(`@media ${S} {body{ }}`,0),se.add(S))}catch(P){console.error(P)}}(N),this._matchMedia(N)}}return S.\u0275fac=function(N){return new(N||S)(v.LFG(ce.t4))},S.\u0275prov=v.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})();function te(S){return{matches:"all"===S||""===S,media:S,addListener:()=>{},removeListener:()=>{}}}let ae=(()=>{class S{constructor(N,ne){this._mediaMatcher=N,this._zone=ne,this._queries=new Map,this._destroySubject=new R.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(N){return pe((0,s.Eq)(N)).some(j=>this._registerQuery(j).mql.matches)}observe(N){const j=pe((0,s.Eq)(N)).map(n=>this._registerQuery(n).observable);let Te=(0,E.aj)(j);return Te=(0,h.z)(Te.pipe((0,k.q)(1)),Te.pipe((0,G.T)(1),(0,X.b)(0))),Te.pipe((0,he.U)(n=>{const r={matches:!1,breakpoints:{}};return n.forEach(({matches:u,query:o})=>{r.matches=r.matches||u,r.breakpoints[o]=u}),r}))}_registerQuery(N){if(this._queries.has(N))return this._queries.get(N);const ne=this._mediaMatcher.matchMedia(N),Te={observable:new x.y(n=>{const r=u=>this._zone.run(()=>n.next(u));return ne.addListener(r),()=>{ne.removeListener(r)}}).pipe((0,re.O)(ne),(0,he.U)(({matches:n})=>({query:N,matches:n})),(0,Ne.R)(this._destroySubject)),mql:ne};return this._queries.set(N,Te),Te}}return S.\u0275fac=function(N){return new(N||S)(v.LFG(F),v.LFG(v.R0b))},S.\u0275prov=v.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})();function pe(S){return S.map(P=>P.split(",")).reduce((P,N)=>P.concat(N)).map(P=>P.trim())}var Fe=d(47429),ke=d(41777),De=d(50226);const be={tooltipState:(0,ke.X$)("state",[(0,ke.SB)("initial, void, hidden",(0,ke.oB)({opacity:0,transform:"scale(0)"})),(0,ke.SB)("visible",(0,ke.oB)({transform:"scale(1)"})),(0,ke.eR)("* => visible",(0,ke.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,ke.F4)([(0,ke.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,ke.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,ke.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,ke.eR)("* => hidden",(0,ke.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,ke.oB)({opacity:0})))])},J="tooltip-panel",I=(0,ce.i$)({passive:!0}),ze=new v.OlP("mat-tooltip-scroll-strategy"),ve={provide:ze,deps:[e.aV],useFactory:function fe(S){return()=>S.scrollStrategies.reposition({scrollThrottle:20})}},We=new v.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function nt(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let st=(()=>{class S{constructor(N,ne,j,Te,n,r,u,o,t,i,c,p){this._overlay=N,this._elementRef=ne,this._scrollDispatcher=j,this._viewContainerRef=Te,this._ngZone=n,this._platform=r,this._ariaDescriber=u,this._focusMonitor=o,this._dir=i,this._defaultOptions=c,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 R.xQ,this._scrollStrategy=t,this._document=p,c&&(c.position&&(this.position=c.position),c.touchGestures&&(this.touchGestures=c.touchGestures)),i.change.pipe((0,Ne.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(N){var ne;N!==this._position&&(this._position=N,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(ne=this._tooltipInstance)||void 0===ne||ne.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(N){this._disabled=(0,s.Ig)(N),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(N){this._showDelay=(0,s.su)(N)}get hideDelay(){return this._hideDelay}set hideDelay(N){this._hideDelay=(0,s.su)(N)}get message(){return this._message}set message(N){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=N?String(N).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(N){this._tooltipClass=N,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,Ne.R)(this._destroyed)).subscribe(N=>{N?"keyboard"===N&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const N=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([ne,j])=>{N.removeEventListener(ne,j,I)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(N,this.message,"tooltip"),this._focusMonitor.stopMonitoring(N)}show(N=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const ne=this._createOverlay();this._detach(),this._portal=this._portal||new Fe.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=ne.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,Ne.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(N)}hide(N=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(N)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const N=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),ne=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(N);return ne.positionChanges.pipe((0,Ne.R)(this._destroyed)).subscribe(j=>{this._updateCurrentPositionClass(j.connectionPair),this._tooltipInstance&&j.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:ne,panelClass:`${this._cssClassPrefix}-${J}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,Ne.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,Ne.R)(this._destroyed)).subscribe(()=>{var j;return null===(j=this._tooltipInstance)||void 0===j?void 0:j._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,Ne.R)(this._destroyed)).subscribe(j=>{this._isTooltipVisible()&&j.keyCode===b.hY&&!(0,b.Vb)(j)&&(j.preventDefault(),j.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(N){const ne=N.getConfig().positionStrategy,j=this._getOrigin(),Te=this._getOverlayPosition();ne.withPositions([this._addOffset(Object.assign(Object.assign({},j.main),Te.main)),this._addOffset(Object.assign(Object.assign({},j.fallback),Te.fallback))])}_addOffset(N){return N}_getOrigin(){const N=!this._dir||"ltr"==this._dir.value,ne=this.position;let j;"above"==ne||"below"==ne?j={originX:"center",originY:"above"==ne?"top":"bottom"}:"before"==ne||"left"==ne&&N||"right"==ne&&!N?j={originX:"start",originY:"center"}:("after"==ne||"right"==ne&&N||"left"==ne&&!N)&&(j={originX:"end",originY:"center"});const{x:Te,y:n}=this._invertPosition(j.originX,j.originY);return{main:j,fallback:{originX:Te,originY:n}}}_getOverlayPosition(){const N=!this._dir||"ltr"==this._dir.value,ne=this.position;let j;"above"==ne?j={overlayX:"center",overlayY:"bottom"}:"below"==ne?j={overlayX:"center",overlayY:"top"}:"before"==ne||"left"==ne&&N||"right"==ne&&!N?j={overlayX:"end",overlayY:"center"}:("after"==ne||"right"==ne&&N||"left"==ne&&!N)&&(j={overlayX:"start",overlayY:"center"});const{x:Te,y:n}=this._invertPosition(j.overlayX,j.overlayY);return{main:j,fallback:{overlayX:Te,overlayY:n}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,k.q)(1),(0,Ne.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(N){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=N,this._tooltipInstance._markForCheck())}_invertPosition(N,ne){return"above"===this.position||"below"===this.position?"top"===ne?ne="bottom":"bottom"===ne&&(ne="top"):"end"===N?N="start":"start"===N&&(N="end"),{x:N,y:ne}}_updateCurrentPositionClass(N){const{overlayY:ne,originX:j,originY:Te}=N;let n;if(n="center"===ne?this._dir&&"rtl"===this._dir.value?"end"===j?"left":"right":"start"===j?"left":"right":"bottom"===ne&&"top"===Te?"above":"below",n!==this._currentPosition){const r=this._overlayRef;if(r){const u=`${this._cssClassPrefix}-${J}-`;r.removePanelClass(u+this._currentPosition),r.addPanelClass(u+n)}this._currentPosition=n}}_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 N=[];if(this._platformSupportsMouseEvents())N.push(["mouseleave",()=>this.hide()],["wheel",ne=>this._wheelListener(ne)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const ne=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};N.push(["touchend",ne],["touchcancel",ne])}this._addListeners(N),this._passiveListeners.push(...N)}_addListeners(N){N.forEach(([ne,j])=>{this._elementRef.nativeElement.addEventListener(ne,j,I)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(N){if(this._isTooltipVisible()){const ne=this._document.elementFromPoint(N.clientX,N.clientY),j=this._elementRef.nativeElement;ne!==j&&!j.contains(ne)&&this.hide()}}_disableNativeGesturesIfNecessary(){const N=this.touchGestures;if("off"!==N){const ne=this._elementRef.nativeElement,j=ne.style;("on"===N||"INPUT"!==ne.nodeName&&"TEXTAREA"!==ne.nodeName)&&(j.userSelect=j.msUserSelect=j.webkitUserSelect=j.MozUserSelect="none"),("on"===N||!ne.draggable)&&(j.webkitUserDrag="none"),j.touchAction="none",j.webkitTapHighlightColor="transparent"}}}return S.\u0275fac=function(N){v.$Z()},S.\u0275dir=v.lG2({type:S,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),S})(),dt=(()=>{class S extends st{constructor(N,ne,j,Te,n,r,u,o,t,i,c,p){super(N,ne,j,Te,n,r,u,o,t,i,c,p),this._tooltipComponent=de}}return S.\u0275fac=function(N){return new(N||S)(v.Y36(e.aV),v.Y36(v.SBq),v.Y36(A.mF),v.Y36(v.s_b),v.Y36(v.R0b),v.Y36(ce.t4),v.Y36(f.$s),v.Y36(f.tE),v.Y36(ze),v.Y36(De.Is,8),v.Y36(We,8),v.Y36(g.K0))},S.\u0275dir=v.lG2({type:S,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[v.qOj]}),S})(),L=(()=>{class S{constructor(N){this._changeDetectorRef=N,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new R.xQ}show(N){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},N)}hide(N){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},N)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(N){const ne=N.toState;"hidden"===ne&&!this.isVisible()&&this._onHide.next(),("visible"===ne||"hidden"===ne)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return S.\u0275fac=function(N){return new(N||S)(v.Y36(v.sBO))},S.\u0275dir=v.lG2({type:S}),S})(),de=(()=>{class S extends L{constructor(N,ne){super(N),this._breakpointObserver=ne,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return S.\u0275fac=function(N){return new(N||S)(v.Y36(v.sBO),v.Y36(ae))},S.\u0275cmp=v.Xpm({type:S,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(N,ne){2&N&&v.Udp("zoom","visible"===ne._visibility?1:null)},features:[v.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(N,ne){if(1&N&&(v.TgZ(0,"div",0),v.NdJ("@state.start",function(){return ne._animationStart()})("@state.done",function(Te){return ne._animationDone(Te)}),v.ALo(1,"async"),v._uU(2),v.qZA()),2&N){let j;v.ekj("mat-tooltip-handset",null==(j=v.lcZ(1,5,ne._isHandset))?null:j.matches),v.Q6J("ngClass",ne.tooltipClass)("@state",ne._visibility),v.xp6(2),v.Oqu(ne.message)}},directives:[g.mk],pipes:[g.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[be.tooltipState]},changeDetection:0}),S})(),M=(()=>{class S{}return S.\u0275fac=function(N){return new(N||S)},S.\u0275mod=v.oAB({type:S}),S.\u0275inj=v.cJS({providers:[ve],imports:[[f.rt,g.ez,e.U8,m.BQ],m.BQ,A.ZD]}),S})()},90149:(Ze,ge,d)=>{"use strict";d.d(ge,{GZ:()=>k,gi:()=>he,kc:()=>se,JZ:()=>Pe,dp:()=>ce,WX:()=>V,uo:()=>h,fQ:()=>x,Ar:()=>X,eu:()=>re});var e=d(28258),f=d(5e3),g=d(90508),v=d(63191),m=d(20449),A=d(591),s=d(36787),b=d(72986),R=d(24850);const E=(0,g.sb)((0,g.Id)(e.Hs));let h=(()=>{class F extends E{constructor(te,ae,pe){super(te,ae),this.tabIndex=Number(pe)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return F.\u0275fac=function(te){return new(te||F)(f.Y36(f.SBq),f.Y36(e._0),f.$8M("tabindex"))},F.\u0275dir=f.lG2({type:F,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[f._Bn([{provide:e.Hs,useExisting:F}]),f.qOj]}),F})(),x=(()=>{class F extends e.rO{}return F.\u0275fac=function(){let W;return function(ae){return(W||(W=f.n5z(F)))(ae||F)}}(),F.\u0275dir=f.lG2({type:F,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[f._Bn([{provide:e.rO,useExisting:F}]),f.qOj]}),F})(),k=(()=>{class F extends e.Xx{constructor(te,ae,pe,Be){super(te,ae,pe),this._disabled=!1,this.tabIndex=Number(Be)||0}get disabled(){return this._disabled}set disabled(te){this._disabled=(0,v.Ig)(te)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(te){this._tabIndex=null!=te?te:0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return F.\u0275fac=function(te){return new(te||F)(f.Y36(f.SBq),f.Y36(e._0),f.Y36(f.ZZ4),f.$8M("tabindex"))},F.\u0275dir=f.lG2({type:F,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[f._Bn([{provide:e.Xx,useExisting:F},{provide:e.Hs,useExisting:F},{provide:e.HI,useExisting:F}]),f.qOj]}),F})(),X=(()=>{class F{constructor(te,ae){this.viewContainer=te,this._node=ae}}return F.\u0275fac=function(te){return new(te||F)(f.Y36(f.s_b),f.Y36(e.HI,8))},F.\u0275dir=f.lG2({type:F,selectors:[["","matTreeNodeOutlet",""]],features:[f._Bn([{provide:e.cu,useExisting:F}])]}),F})(),he=(()=>{class F extends e._0{}return F.\u0275fac=function(){let W;return function(ae){return(W||(W=f.n5z(F)))(ae||F)}}(),F.\u0275cmp=f.Xpm({type:F,selectors:[["mat-tree"]],viewQuery:function(te,ae){if(1&te&&f.Gf(X,7),2&te){let pe;f.iGM(pe=f.CRH())&&(ae._nodeOutlet=pe.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[f._Bn([{provide:e._0,useExisting:F}]),f.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(te,ae){1&te&&f.GkF(0,0)},directives:[X],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2}),F})(),re=(()=>{class F extends e.Ud{}return F.\u0275fac=function(){let W;return function(ae){return(W||(W=f.n5z(F)))(ae||F)}}(),F.\u0275dir=f.lG2({type:F,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[f._Bn([{provide:e.Ud,useExisting:F}]),f.qOj]}),F})(),ce=(()=>{class F{}return F.\u0275fac=function(te){return new(te||F)},F.\u0275mod=f.oAB({type:F}),F.\u0275inj=f.cJS({imports:[[e.nZ,g.BQ],g.BQ]}),F})();class Pe{constructor(W,te,ae,pe){this.transformFunction=W,this.getLevel=te,this.isExpandable=ae,this.getChildren=pe}_flattenNode(W,te,ae,pe){const Be=this.transformFunction(W,te);if(ae.push(Be),this.isExpandable(Be)){const Fe=this.getChildren(W);Fe&&(Array.isArray(Fe)?this._flattenChildren(Fe,te,ae,pe):Fe.pipe((0,b.q)(1)).subscribe(ke=>{this._flattenChildren(ke,te,ae,pe)}))}return ae}_flattenChildren(W,te,ae,pe){W.forEach((Be,Fe)=>{let ke=pe.slice();ke.push(Fe!=W.length-1),this._flattenNode(Be,te+1,ae,ke)})}flattenNodes(W){let te=[];return W.forEach(ae=>this._flattenNode(ae,0,te,[])),te}expandFlattenedNodes(W,te){let ae=[],pe=[];return pe[0]=!0,W.forEach(Be=>{let Fe=!0;for(let ke=0;ke<=this.getLevel(Be);ke++)Fe=Fe&&pe[ke];Fe&&ae.push(Be),this.isExpandable(Be)&&(pe[this.getLevel(Be)+1]=te.isExpanded(Be))}),ae}}class se extends m.o2{constructor(W,te,ae){super(),this._treeControl=W,this._treeFlattener=te,this._flattenedData=new A.X([]),this._expandedData=new A.X([]),this._data=new A.X([]),ae&&(this.data=ae)}get data(){return this._data.value}set data(W){this._data.next(W),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}connect(W){return(0,s.T)(W.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,R.U)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}class V extends m.o2{constructor(){super(...arguments),this._data=new A.X([])}get data(){return this._data.value}set data(W){this._data.next(W)}connect(W){return(0,s.T)(W.viewChange,this._data).pipe((0,R.U)(()=>this.data))}disconnect(){}}},76360:(Ze,ge,d)=>{"use strict";d.d(ge,{Qb:()=>vn,PW:()=>Zn});var e=d(5e3),f=d(22313),g=d(41777);function v(){return"undefined"!=typeof window&&void 0!==window.document}function m(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function A(ht){switch(ht.length){case 0:return new g.ZN;case 1:return ht[0];default:return new g.ZE(ht)}}function s(ht,B,U,Ee,lt={},_t={}){const q=[],we=[];let ie=-1,Ke=null;if(Ee.forEach(yt=>{const Zt=yt.offset,Yt=Zt==ie,oi=Yt&&Ke||{};Object.keys(yt).forEach(ui=>{let hi=ui,_i=yt[ui];if("offset"!==ui)switch(hi=B.normalizePropertyName(hi,q),_i){case g.k1:_i=lt[ui];break;case g.l3:_i=_t[ui];break;default:_i=B.normalizeStyleValue(ui,hi,_i,q)}oi[hi]=_i}),Yt||we.push(oi),Ke=oi,ie=Zt}),q.length){const yt="\n - ";throw new Error(`Unable to animate due to the following errors:${yt}${q.join(yt)}`)}return we}function b(ht,B,U,Ee){switch(B){case"start":ht.onStart(()=>Ee(U&&R(U,"start",ht)));break;case"done":ht.onDone(()=>Ee(U&&R(U,"done",ht)));break;case"destroy":ht.onDestroy(()=>Ee(U&&R(U,"destroy",ht)))}}function R(ht,B,U){const Ee=U.totalTime,_t=E(ht.element,ht.triggerName,ht.fromState,ht.toState,B||ht.phaseName,null==Ee?ht.totalTime:Ee,!!U.disabled),q=ht._data;return null!=q&&(_t._data=q),_t}function E(ht,B,U,Ee,lt="",_t=0,q){return{element:ht,triggerName:B,fromState:U,toState:Ee,phaseName:lt,totalTime:_t,disabled:!!q}}function h(ht,B,U){let Ee;return ht instanceof Map?(Ee=ht.get(B),Ee||ht.set(B,Ee=U)):(Ee=ht[B],Ee||(Ee=ht[B]=U)),Ee}function x(ht){const B=ht.indexOf(":");return[ht.substring(1,B),ht.substr(B+1)]}let k=(ht,B)=>!1,G=(ht,B,U)=>[];(m()||"undefined"!=typeof Element)&&(k=v()?(ht,B)=>{for(;B&&B!==document.documentElement;){if(B===ht)return!0;B=B.parentNode||B.host}return!1}:(ht,B)=>ht.contains(B),G=(ht,B,U)=>{if(U)return Array.from(ht.querySelectorAll(B));const Ee=ht.querySelector(B);return Ee?[Ee]:[]});let re=null,Ne=!1;function ce(ht){re||(re=function Pe(){return"undefined"!=typeof document?document.body:null}()||{},Ne=!!re.style&&"WebkitAppearance"in re.style);let B=!0;return re.style&&!function he(ht){return"ebkit"==ht.substring(1,6)}(ht)&&(B=ht in re.style,!B&&Ne&&(B="Webkit"+ht.charAt(0).toUpperCase()+ht.substr(1)in re.style)),B}const se=k,V=G;let W=(()=>{class ht{validateStyleProperty(U){return ce(U)}matchesElement(U,Ee){return!1}containsElement(U,Ee){return se(U,Ee)}query(U,Ee,lt){return V(U,Ee,lt)}computeStyle(U,Ee,lt){return lt||""}animate(U,Ee,lt,_t,q,we=[],ie){return new g.ZN(lt,_t)}}return ht.\u0275fac=function(U){return new(U||ht)},ht.\u0275prov=e.Yz7({token:ht,factory:ht.\u0275fac}),ht})(),te=(()=>{class ht{}return ht.NOOP=new W,ht})();const Fe="ng-enter",ke="ng-leave",De="ng-trigger",be=".ng-trigger",z="ng-animating",Ce=".ng-animating";function J(ht){if("number"==typeof ht)return ht;const B=ht.match(/^(-?[\.\d]+)(m?s)/);return!B||B.length<2?0:I(parseFloat(B[1]),B[2])}function I(ht,B){return"s"===B?1e3*ht:ht}function Ie(ht,B,U){return ht.hasOwnProperty("duration")?ht:function Re(ht,B,U){let lt,_t=0,q="";if("string"==typeof ht){const we=ht.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===we)return B.push(`The provided timing value "${ht}" is invalid.`),{duration:0,delay:0,easing:""};lt=I(parseFloat(we[1]),we[2]);const ie=we[3];null!=ie&&(_t=I(parseFloat(ie),we[4]));const Ke=we[5];Ke&&(q=Ke)}else lt=ht;if(!U){let we=!1,ie=B.length;lt<0&&(B.push("Duration values below 0 are not allowed for this animation step."),we=!0),_t<0&&(B.push("Delay values below 0 are not allowed for this animation step."),we=!0),we&&B.splice(ie,0,`The provided timing value "${ht}" is invalid.`)}return{duration:lt,delay:_t,easing:q}}(ht,B,U)}function ze(ht,B={}){return Object.keys(ht).forEach(U=>{B[U]=ht[U]}),B}function ve(ht,B,U={}){if(B)for(let Ee in ht)U[Ee]=ht[Ee];else ze(ht,U);return U}function We(ht,B,U){return U?B+":"+U+";":""}function nt(ht){let B="";for(let U=0;U{const lt=j(Ee);U&&!U.hasOwnProperty(Ee)&&(U[Ee]=ht.style[lt]),ht.style[lt]=B[Ee]}),m()&&nt(ht))}function dt(ht,B){ht.style&&(Object.keys(B).forEach(U=>{const Ee=j(U);ht.style[Ee]=""}),m()&&nt(ht))}function L(ht){return Array.isArray(ht)?1==ht.length?ht[0]:(0,g.vP)(ht):ht}const M=new RegExp("{{\\s*(.+?)\\s*}}","g");function S(ht){let B=[];if("string"==typeof ht){let U;for(;U=M.exec(ht);)B.push(U[1]);M.lastIndex=0}return B}function P(ht,B,U){const Ee=ht.toString(),lt=Ee.replace(M,(_t,q)=>{let we=B[q];return B.hasOwnProperty(q)||(U.push(`Please provide a value for the animation param ${q}`),we=""),we.toString()});return lt==Ee?ht:lt}function N(ht){const B=[];let U=ht.next();for(;!U.done;)B.push(U.value),U=ht.next();return B}const ne=/-+([a-z0-9])/g;function j(ht){return ht.replace(ne,(...B)=>B[1].toUpperCase())}function Te(ht){return ht.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function u(ht,B,U){switch(B.type){case 7:return ht.visitTrigger(B,U);case 0:return ht.visitState(B,U);case 1:return ht.visitTransition(B,U);case 2:return ht.visitSequence(B,U);case 3:return ht.visitGroup(B,U);case 4:return ht.visitAnimate(B,U);case 5:return ht.visitKeyframes(B,U);case 6:return ht.visitStyle(B,U);case 8:return ht.visitReference(B,U);case 9:return ht.visitAnimateChild(B,U);case 10:return ht.visitAnimateRef(B,U);case 11:return ht.visitQuery(B,U);case 12:return ht.visitStagger(B,U);default:throw new Error(`Unable to resolve animation metadata node #${B.type}`)}}function o(ht,B){return window.getComputedStyle(ht)[B]}const t="*";function i(ht,B){const U=[];return"string"==typeof ht?ht.split(/\s*,\s*/).forEach(Ee=>function c(ht,B,U){if(":"==ht[0]){const ie=function p(ht,B){switch(ht){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(U,Ee)=>parseFloat(Ee)>parseFloat(U);case":decrement":return(U,Ee)=>parseFloat(Ee) *"}}(ht,U);if("function"==typeof ie)return void B.push(ie);ht=ie}const Ee=ht.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==Ee||Ee.length<4)return U.push(`The provided transition expression "${ht}" is not supported`),B;const lt=Ee[1],_t=Ee[2],q=Ee[3];B.push(je(lt,q));"<"==_t[0]&&!(lt==t&&q==t)&&B.push(je(q,lt))}(Ee,U,B)):U.push(ht),U}const T=new Set(["true","1"]),Se=new Set(["false","0"]);function je(ht,B){const U=T.has(ht)||Se.has(ht),Ee=T.has(B)||Se.has(B);return(lt,_t)=>{let q=ht==t||ht==lt,we=B==t||B==_t;return!q&&U&&"boolean"==typeof lt&&(q=lt?T.has(ht):Se.has(ht)),!we&&Ee&&"boolean"==typeof _t&&(we=_t?T.has(B):Se.has(B)),q&&we}}const St=new RegExp("s*:selfs*,?","g");function Ft(ht,B,U){return new Vt(ht).build(B,U)}class Vt{constructor(B){this._driver=B}build(B,U){const Ee=new Ut(U);return this._resetContextStyleTimingState(Ee),u(this,L(B),Ee)}_resetContextStyleTimingState(B){B.currentQuerySelector="",B.collectedStyles={},B.collectedStyles[""]={},B.currentTime=0}visitTrigger(B,U){let Ee=U.queryCount=0,lt=U.depCount=0;const _t=[],q=[];return"@"==B.name.charAt(0)&&U.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),B.definitions.forEach(we=>{if(this._resetContextStyleTimingState(U),0==we.type){const ie=we,Ke=ie.name;Ke.toString().split(/\s*,\s*/).forEach(yt=>{ie.name=yt,_t.push(this.visitState(ie,U))}),ie.name=Ke}else if(1==we.type){const ie=this.visitTransition(we,U);Ee+=ie.queryCount,lt+=ie.depCount,q.push(ie)}else U.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:B.name,states:_t,transitions:q,queryCount:Ee,depCount:lt,options:null}}visitState(B,U){const Ee=this.visitStyle(B.styles,U),lt=B.options&&B.options.params||null;if(Ee.containsDynamicStyles){const _t=new Set,q=lt||{};if(Ee.styles.forEach(we=>{if(xt(we)){const ie=we;Object.keys(ie).forEach(Ke=>{S(ie[Ke]).forEach(yt=>{q.hasOwnProperty(yt)||_t.add(yt)})})}}),_t.size){const we=N(_t.values());U.errors.push(`state("${B.name}", ...) must define default values for all the following style substitutions: ${we.join(", ")}`)}}return{type:0,name:B.name,style:Ee,options:lt?{params:lt}:null}}visitTransition(B,U){U.queryCount=0,U.depCount=0;const Ee=u(this,L(B.animation),U);return{type:1,matchers:i(B.expr,U.errors),animation:Ee,queryCount:U.queryCount,depCount:U.depCount,options:$e(B.options)}}visitSequence(B,U){return{type:2,steps:B.steps.map(Ee=>u(this,Ee,U)),options:$e(B.options)}}visitGroup(B,U){const Ee=U.currentTime;let lt=0;const _t=B.steps.map(q=>{U.currentTime=Ee;const we=u(this,q,U);return lt=Math.max(lt,U.currentTime),we});return U.currentTime=lt,{type:3,steps:_t,options:$e(B.options)}}visitAnimate(B,U){const Ee=function Ve(ht,B){let U=null;if(ht.hasOwnProperty("duration"))U=ht;else if("number"==typeof ht)return oe(Ie(ht,B).duration,0,"");const Ee=ht;if(Ee.split(/\s+/).some(_t=>"{"==_t.charAt(0)&&"{"==_t.charAt(1))){const _t=oe(0,0,"");return _t.dynamic=!0,_t.strValue=Ee,_t}return U=U||Ie(Ee,B),oe(U.duration,U.delay,U.easing)}(B.timings,U.errors);U.currentAnimateTimings=Ee;let lt,_t=B.styles?B.styles:(0,g.oB)({});if(5==_t.type)lt=this.visitKeyframes(_t,U);else{let q=B.styles,we=!1;if(!q){we=!0;const Ke={};Ee.easing&&(Ke.easing=Ee.easing),q=(0,g.oB)(Ke)}U.currentTime+=Ee.duration+Ee.delay;const ie=this.visitStyle(q,U);ie.isEmptyStep=we,lt=ie}return U.currentAnimateTimings=null,{type:4,timings:Ee,style:lt,options:null}}visitStyle(B,U){const Ee=this._makeStyleAst(B,U);return this._validateStyleAst(Ee,U),Ee}_makeStyleAst(B,U){const Ee=[];Array.isArray(B.styles)?B.styles.forEach(q=>{"string"==typeof q?q==g.l3?Ee.push(q):U.errors.push(`The provided style string value ${q} is not allowed.`):Ee.push(q)}):Ee.push(B.styles);let lt=!1,_t=null;return Ee.forEach(q=>{if(xt(q)){const we=q,ie=we.easing;if(ie&&(_t=ie,delete we.easing),!lt)for(let Ke in we)if(we[Ke].toString().indexOf("{{")>=0){lt=!0;break}}}),{type:6,styles:Ee,easing:_t,offset:B.offset,containsDynamicStyles:lt,options:null}}_validateStyleAst(B,U){const Ee=U.currentAnimateTimings;let lt=U.currentTime,_t=U.currentTime;Ee&&_t>0&&(_t-=Ee.duration+Ee.delay),B.styles.forEach(q=>{"string"!=typeof q&&Object.keys(q).forEach(we=>{if(!this._driver.validateStyleProperty(we))return void U.errors.push(`The provided animation property "${we}" is not a supported CSS property for animations`);const ie=U.collectedStyles[U.currentQuerySelector],Ke=ie[we];let yt=!0;Ke&&(_t!=lt&&_t>=Ke.startTime&<<=Ke.endTime&&(U.errors.push(`The CSS property "${we}" that exists between the times of "${Ke.startTime}ms" and "${Ke.endTime}ms" is also being animated in a parallel animation between the times of "${_t}ms" and "${lt}ms"`),yt=!1),_t=Ke.startTime),yt&&(ie[we]={startTime:_t,endTime:lt}),U.options&&function de(ht,B,U){const Ee=B.params||{},lt=S(ht);lt.length&<.forEach(_t=>{Ee.hasOwnProperty(_t)||U.push(`Unable to resolve the local animation param ${_t} in the given list of values`)})}(q[we],U.options,U.errors)})})}visitKeyframes(B,U){const Ee={type:5,styles:[],options:null};if(!U.currentAnimateTimings)return U.errors.push("keyframes() must be placed inside of a call to animate()"),Ee;let _t=0;const q=[];let we=!1,ie=!1,Ke=0;const yt=B.steps.map(vi=>{const ki=this._makeStyleAst(vi,U);let Oe=null!=ki.offset?ki.offset:function gt(ht){if("string"==typeof ht)return null;let B=null;if(Array.isArray(ht))ht.forEach(U=>{if(xt(U)&&U.hasOwnProperty("offset")){const Ee=U;B=parseFloat(Ee.offset),delete Ee.offset}});else if(xt(ht)&&ht.hasOwnProperty("offset")){const U=ht;B=parseFloat(U.offset),delete U.offset}return B}(ki.styles),ye=0;return null!=Oe&&(_t++,ye=ki.offset=Oe),ie=ie||ye<0||ye>1,we=we||ye0&&_t{const Oe=Yt>0?ki==oi?1:Yt*ki:q[ki],ye=Oe*_i;U.currentTime=ui+hi.delay+ye,hi.duration=ye,this._validateStyleAst(vi,U),vi.offset=Oe,Ee.styles.push(vi)}),Ee}visitReference(B,U){return{type:8,animation:u(this,L(B.animation),U),options:$e(B.options)}}visitAnimateChild(B,U){return U.depCount++,{type:9,options:$e(B.options)}}visitAnimateRef(B,U){return{type:10,animation:this.visitReference(B.animation,U),options:$e(B.options)}}visitQuery(B,U){const Ee=U.currentQuerySelector,lt=B.options||{};U.queryCount++,U.currentQuery=B;const[_t,q]=function Mt(ht){const B=!!ht.split(/\s*,\s*/).find(U=>":self"==U);return B&&(ht=ht.replace(St,"")),ht=ht.replace(/@\*/g,be).replace(/@\w+/g,U=>be+"-"+U.substr(1)).replace(/:animating/g,Ce),[ht,B]}(B.selector);U.currentQuerySelector=Ee.length?Ee+" "+_t:_t,h(U.collectedStyles,U.currentQuerySelector,{});const we=u(this,L(B.animation),U);return U.currentQuery=null,U.currentQuerySelector=Ee,{type:11,selector:_t,limit:lt.limit||0,optional:!!lt.optional,includeSelf:q,animation:we,originalSelector:B.selector,options:$e(B.options)}}visitStagger(B,U){U.currentQuery||U.errors.push("stagger() can only be used inside of query()");const Ee="full"===B.timings?{duration:0,delay:0,easing:"full"}:Ie(B.timings,U.errors,!0);return{type:12,animation:u(this,L(B.animation),U),timings:Ee,options:null}}}class Ut{constructor(B){this.errors=B,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function xt(ht){return!Array.isArray(ht)&&"object"==typeof ht}function $e(ht){return ht?(ht=ze(ht)).params&&(ht.params=function at(ht){return ht?ze(ht):null}(ht.params)):ht={},ht}function oe(ht,B,U){return{duration:ht,delay:B,easing:U}}function H(ht,B,U,Ee,lt,_t,q=null,we=!1){return{type:1,element:ht,keyframes:B,preStyleProps:U,postStyleProps:Ee,duration:lt,delay:_t,totalTime:lt+_t,easing:q,subTimeline:we}}class ee{constructor(){this._map=new Map}get(B){return this._map.get(B)||[]}append(B,U){let Ee=this._map.get(B);Ee||this._map.set(B,Ee=[]),Ee.push(...U)}has(B){return this._map.has(B)}clear(){this._map.clear()}}const Ye=new RegExp(":enter","g"),Ht=new RegExp(":leave","g");function qt(ht,B,U,Ee,lt,_t={},q={},we,ie,Ke=[]){return(new Dt).buildKeyframes(ht,B,U,Ee,lt,_t,q,we,ie,Ke)}class Dt{buildKeyframes(B,U,Ee,lt,_t,q,we,ie,Ke,yt=[]){Ke=Ke||new ee;const Zt=new At(B,U,Ke,lt,_t,yt,[]);Zt.options=ie,Zt.currentTimeline.setStyles([q],null,Zt.errors,ie),u(this,Ee,Zt);const Yt=Zt.timelines.filter(oi=>oi.containsAnimation());if(Object.keys(we).length){let oi;for(let ui=Yt.length-1;ui>=0;ui--){const hi=Yt[ui];if(hi.element===U){oi=hi;break}}oi&&!oi.allowOnlyTimelineStyles()&&oi.setStyles([we],null,Zt.errors,ie)}return Yt.length?Yt.map(oi=>oi.buildKeyframes()):[H(U,[],[],[],0,0,"",!1)]}visitTrigger(B,U){}visitState(B,U){}visitTransition(B,U){}visitAnimateChild(B,U){const Ee=U.subInstructions.get(U.element);if(Ee){const lt=U.createSubContext(B.options),_t=U.currentTimeline.currentTime,q=this._visitSubInstructions(Ee,lt,lt.options);_t!=q&&U.transformIntoNewTimeline(q)}U.previousNode=B}visitAnimateRef(B,U){const Ee=U.createSubContext(B.options);Ee.transformIntoNewTimeline(),this.visitReference(B.animation,Ee),U.transformIntoNewTimeline(Ee.currentTimeline.currentTime),U.previousNode=B}_visitSubInstructions(B,U,Ee){let _t=U.currentTimeline.currentTime;const q=null!=Ee.duration?J(Ee.duration):null,we=null!=Ee.delay?J(Ee.delay):null;return 0!==q&&B.forEach(ie=>{const Ke=U.appendInstructionToTimeline(ie,q,we);_t=Math.max(_t,Ke.duration+Ke.delay)}),_t}visitReference(B,U){U.updateOptions(B.options,!0),u(this,B.animation,U),U.previousNode=B}visitSequence(B,U){const Ee=U.subContextCount;let lt=U;const _t=B.options;if(_t&&(_t.params||_t.delay)&&(lt=U.createSubContext(_t),lt.transformIntoNewTimeline(),null!=_t.delay)){6==lt.previousNode.type&&(lt.currentTimeline.snapshotCurrentStyles(),lt.previousNode=wt);const q=J(_t.delay);lt.delayNextStep(q)}B.steps.length&&(B.steps.forEach(q=>u(this,q,lt)),lt.currentTimeline.applyStylesToKeyframe(),lt.subContextCount>Ee&<.transformIntoNewTimeline()),U.previousNode=B}visitGroup(B,U){const Ee=[];let lt=U.currentTimeline.currentTime;const _t=B.options&&B.options.delay?J(B.options.delay):0;B.steps.forEach(q=>{const we=U.createSubContext(B.options);_t&&we.delayNextStep(_t),u(this,q,we),lt=Math.max(lt,we.currentTimeline.currentTime),Ee.push(we.currentTimeline)}),Ee.forEach(q=>U.currentTimeline.mergeTimelineCollectedStyles(q)),U.transformIntoNewTimeline(lt),U.previousNode=B}_visitTiming(B,U){if(B.dynamic){const Ee=B.strValue;return Ie(U.params?P(Ee,U.params,U.errors):Ee,U.errors)}return{duration:B.duration,delay:B.delay,easing:B.easing}}visitAnimate(B,U){const Ee=U.currentAnimateTimings=this._visitTiming(B.timings,U),lt=U.currentTimeline;Ee.delay&&(U.incrementTime(Ee.delay),lt.snapshotCurrentStyles());const _t=B.style;5==_t.type?this.visitKeyframes(_t,U):(U.incrementTime(Ee.duration),this.visitStyle(_t,U),lt.applyStylesToKeyframe()),U.currentAnimateTimings=null,U.previousNode=B}visitStyle(B,U){const Ee=U.currentTimeline,lt=U.currentAnimateTimings;!lt&&Ee.getCurrentStyleProperties().length&&Ee.forwardFrame();const _t=lt&<.easing||B.easing;B.isEmptyStep?Ee.applyEmptyStep(_t):Ee.setStyles(B.styles,_t,U.errors,U.options),U.previousNode=B}visitKeyframes(B,U){const Ee=U.currentAnimateTimings,lt=U.currentTimeline.duration,_t=Ee.duration,we=U.createSubContext().currentTimeline;we.easing=Ee.easing,B.styles.forEach(ie=>{we.forwardTime((ie.offset||0)*_t),we.setStyles(ie.styles,ie.easing,U.errors,U.options),we.applyStylesToKeyframe()}),U.currentTimeline.mergeTimelineCollectedStyles(we),U.transformIntoNewTimeline(lt+_t),U.previousNode=B}visitQuery(B,U){const Ee=U.currentTimeline.currentTime,lt=B.options||{},_t=lt.delay?J(lt.delay):0;_t&&(6===U.previousNode.type||0==Ee&&U.currentTimeline.getCurrentStyleProperties().length)&&(U.currentTimeline.snapshotCurrentStyles(),U.previousNode=wt);let q=Ee;const we=U.invokeQuery(B.selector,B.originalSelector,B.limit,B.includeSelf,!!lt.optional,U.errors);U.currentQueryTotal=we.length;let ie=null;we.forEach((Ke,yt)=>{U.currentQueryIndex=yt;const Zt=U.createSubContext(B.options,Ke);_t&&Zt.delayNextStep(_t),Ke===U.element&&(ie=Zt.currentTimeline),u(this,B.animation,Zt),Zt.currentTimeline.applyStylesToKeyframe(),q=Math.max(q,Zt.currentTimeline.currentTime)}),U.currentQueryIndex=0,U.currentQueryTotal=0,U.transformIntoNewTimeline(q),ie&&(U.currentTimeline.mergeTimelineCollectedStyles(ie),U.currentTimeline.snapshotCurrentStyles()),U.previousNode=B}visitStagger(B,U){const Ee=U.parentContext,lt=U.currentTimeline,_t=B.timings,q=Math.abs(_t.duration),we=q*(U.currentQueryTotal-1);let ie=q*U.currentQueryIndex;switch(_t.duration<0?"reverse":_t.easing){case"reverse":ie=we-ie;break;case"full":ie=Ee.currentStaggerTime}const yt=U.currentTimeline;ie&&yt.delayNextStep(ie);const Zt=yt.currentTime;u(this,B.animation,U),U.previousNode=B,Ee.currentStaggerTime=lt.currentTime-Zt+(lt.startTime-Ee.currentTimeline.startTime)}}const wt={};class At{constructor(B,U,Ee,lt,_t,q,we,ie){this._driver=B,this.element=U,this.subInstructions=Ee,this._enterClassName=lt,this._leaveClassName=_t,this.errors=q,this.timelines=we,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=wt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ie||new Ot(this._driver,U,0),we.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(B,U){if(!B)return;const Ee=B;let lt=this.options;null!=Ee.duration&&(lt.duration=J(Ee.duration)),null!=Ee.delay&&(lt.delay=J(Ee.delay));const _t=Ee.params;if(_t){let q=lt.params;q||(q=this.options.params={}),Object.keys(_t).forEach(we=>{(!U||!q.hasOwnProperty(we))&&(q[we]=P(_t[we],q,this.errors))})}}_copyOptions(){const B={};if(this.options){const U=this.options.params;if(U){const Ee=B.params={};Object.keys(U).forEach(lt=>{Ee[lt]=U[lt]})}}return B}createSubContext(B=null,U,Ee){const lt=U||this.element,_t=new At(this._driver,lt,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(lt,Ee||0));return _t.previousNode=this.previousNode,_t.currentAnimateTimings=this.currentAnimateTimings,_t.options=this._copyOptions(),_t.updateOptions(B),_t.currentQueryIndex=this.currentQueryIndex,_t.currentQueryTotal=this.currentQueryTotal,_t.parentContext=this,this.subContextCount++,_t}transformIntoNewTimeline(B){return this.previousNode=wt,this.currentTimeline=this.currentTimeline.fork(this.element,B),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(B,U,Ee){const lt={duration:null!=U?U:B.duration,delay:this.currentTimeline.currentTime+(null!=Ee?Ee:0)+B.delay,easing:""},_t=new Wt(this._driver,B.element,B.keyframes,B.preStyleProps,B.postStyleProps,lt,B.stretchStartingKeyframe);return this.timelines.push(_t),lt}incrementTime(B){this.currentTimeline.forwardTime(this.currentTimeline.duration+B)}delayNextStep(B){B>0&&this.currentTimeline.delayNextStep(B)}invokeQuery(B,U,Ee,lt,_t,q){let we=[];if(lt&&we.push(this.element),B.length>0){B=(B=B.replace(Ye,"."+this._enterClassName)).replace(Ht,"."+this._leaveClassName);let Ke=this._driver.query(this.element,B,1!=Ee);0!==Ee&&(Ke=Ee<0?Ke.slice(Ke.length+Ee,Ke.length):Ke.slice(0,Ee)),we.push(...Ke)}return!_t&&0==we.length&&q.push(`\`query("${U}")\` returned zero elements. (Use \`query("${U}", { optional: true })\` if you wish to allow this.)`),we}}class Ot{constructor(B,U,Ee,lt){this._driver=B,this.element=U,this.startTime=Ee,this._elementTimelineStylesLookup=lt,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(U),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(U,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(B){const U=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||U?(this.forwardTime(this.currentTime+B),U&&this.snapshotCurrentStyles()):this.startTime+=B}fork(B,U){return this.applyStylesToKeyframe(),new Ot(this._driver,B,U||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(B){this.applyStylesToKeyframe(),this.duration=B,this._loadKeyframe()}_updateStyle(B,U){this._localTimelineStyles[B]=U,this._globalTimelineStyles[B]=U,this._styleSummary[B]={time:this.currentTime,value:U}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(B){B&&(this._previousKeyframe.easing=B),Object.keys(this._globalTimelineStyles).forEach(U=>{this._backFill[U]=this._globalTimelineStyles[U]||g.l3,this._currentKeyframe[U]=g.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(B,U,Ee,lt){U&&(this._previousKeyframe.easing=U);const _t=lt&<.params||{},q=function gi(ht,B){const U={};let Ee;return ht.forEach(lt=>{"*"===lt?(Ee=Ee||Object.keys(B),Ee.forEach(_t=>{U[_t]=g.l3})):ve(lt,!1,U)}),U}(B,this._globalTimelineStyles);Object.keys(q).forEach(we=>{const ie=P(q[we],_t,Ee);this._pendingStyles[we]=ie,this._localTimelineStyles.hasOwnProperty(we)||(this._backFill[we]=this._globalTimelineStyles.hasOwnProperty(we)?this._globalTimelineStyles[we]:g.l3),this._updateStyle(we,ie)})}applyStylesToKeyframe(){const B=this._pendingStyles,U=Object.keys(B);0!=U.length&&(this._pendingStyles={},U.forEach(Ee=>{this._currentKeyframe[Ee]=B[Ee]}),Object.keys(this._localTimelineStyles).forEach(Ee=>{this._currentKeyframe.hasOwnProperty(Ee)||(this._currentKeyframe[Ee]=this._localTimelineStyles[Ee])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(B=>{const U=this._localTimelineStyles[B];this._pendingStyles[B]=U,this._updateStyle(B,U)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const B=[];for(let U in this._currentKeyframe)B.push(U);return B}mergeTimelineCollectedStyles(B){Object.keys(B._styleSummary).forEach(U=>{const Ee=this._styleSummary[U],lt=B._styleSummary[U];(!Ee||lt.time>Ee.time)&&this._updateStyle(U,lt.value)})}buildKeyframes(){this.applyStylesToKeyframe();const B=new Set,U=new Set,Ee=1===this._keyframes.size&&0===this.duration;let lt=[];this._keyframes.forEach((we,ie)=>{const Ke=ve(we,!0);Object.keys(Ke).forEach(yt=>{const Zt=Ke[yt];Zt==g.k1?B.add(yt):Zt==g.l3&&U.add(yt)}),Ee||(Ke.offset=ie/this.duration),lt.push(Ke)});const _t=B.size?N(B.values()):[],q=U.size?N(U.values()):[];if(Ee){const we=lt[0],ie=ze(we);we.offset=0,ie.offset=1,lt=[we,ie]}return H(this.element,lt,_t,q,this.duration,this.startTime,this.easing,!1)}}class Wt extends Ot{constructor(B,U,Ee,lt,_t,q,we=!1){super(B,U,q.delay),this.keyframes=Ee,this.preStyleProps=lt,this.postStyleProps=_t,this._stretchStartingKeyframe=we,this.timings={duration:q.duration,delay:q.delay,easing:q.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let B=this.keyframes,{delay:U,duration:Ee,easing:lt}=this.timings;if(this._stretchStartingKeyframe&&U){const _t=[],q=Ee+U,we=U/q,ie=ve(B[0],!1);ie.offset=0,_t.push(ie);const Ke=ve(B[0],!1);Ke.offset=li(we),_t.push(Ke);const yt=B.length-1;for(let Zt=1;Zt<=yt;Zt++){let Yt=ve(B[Zt],!1);Yt.offset=li((U+Yt.offset*Ee)/q),_t.push(Yt)}Ee=q,U=0,lt="",B=_t}return H(this.element,B,this.preStyleProps,this.postStyleProps,Ee,U,lt,!0)}}function li(ht,B=3){const U=Math.pow(10,B-1);return Math.round(ht*U)/U}class Ri{}class an extends Ri{normalizePropertyName(B,U){return j(B)}normalizeStyleValue(B,U,Ee,lt){let _t="";const q=Ee.toString().trim();if(Qi[U]&&0!==Ee&&"0"!==Ee)if("number"==typeof Ee)_t="px";else{const we=Ee.match(/^[+-]?[\d\.]+([a-z]*)$/);we&&0==we[1].length&<.push(`Please provide a CSS unit value for ${B}:${Ee}`)}return q+_t}}const Qi=(()=>function Wi(ht){const B={};return ht.forEach(U=>B[U]=!0),B}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function mn(ht,B,U,Ee,lt,_t,q,we,ie,Ke,yt,Zt,Yt){return{type:0,element:ht,triggerName:B,isRemovalTransition:lt,fromState:U,fromStyles:_t,toState:Ee,toStyles:q,timelines:we,queriedElements:ie,preStyleProps:Ke,postStyleProps:yt,totalTime:Zt,errors:Yt}}const Xi={};class et{constructor(B,U,Ee){this._triggerName=B,this.ast=U,this._stateStyles=Ee}match(B,U,Ee,lt){return function Ct(ht,B,U,Ee,lt){return ht.some(_t=>_t(B,U,Ee,lt))}(this.ast.matchers,B,U,Ee,lt)}buildStyles(B,U,Ee){const lt=this._stateStyles["*"],_t=this._stateStyles[B],q=lt?lt.buildStyles(U,Ee):{};return _t?_t.buildStyles(U,Ee):q}build(B,U,Ee,lt,_t,q,we,ie,Ke,yt){const Zt=[],Yt=this.ast.options&&this.ast.options.params||Xi,ui=this.buildStyles(Ee,we&&we.params||Xi,Zt),hi=ie&&ie.params||Xi,_i=this.buildStyles(lt,hi,Zt),vi=new Set,ki=new Map,Oe=new Map,ye="void"===lt,Ae={params:Object.assign(Object.assign({},Yt),hi)},ct=yt?[]:qt(B,U,this.ast.animation,_t,q,ui,_i,Ae,Ke,Zt);let Bt=0;if(ct.forEach(Ui=>{Bt=Math.max(Ui.duration+Ui.delay,Bt)}),Zt.length)return mn(U,this._triggerName,Ee,lt,ye,ui,_i,[],[],ki,Oe,Bt,Zt);ct.forEach(Ui=>{const tn=Ui.element,Yn=h(ki,tn,{});Ui.preStyleProps.forEach(uo=>Yn[uo]=!0);const Vn=h(Oe,tn,{});Ui.postStyleProps.forEach(uo=>Vn[uo]=!0),tn!==U&&vi.add(tn)});const pi=N(vi.values());return mn(U,this._triggerName,Ee,lt,ye,ui,_i,ct,pi,ki,Oe,Bt)}}class tt{constructor(B,U,Ee){this.styles=B,this.defaultParams=U,this.normalizer=Ee}buildStyles(B,U){const Ee={},lt=ze(this.defaultParams);return Object.keys(B).forEach(_t=>{const q=B[_t];null!=q&&(lt[_t]=q)}),this.styles.styles.forEach(_t=>{if("string"!=typeof _t){const q=_t;Object.keys(q).forEach(we=>{let ie=q[we];ie.length>1&&(ie=P(ie,lt,U));const Ke=this.normalizer.normalizePropertyName(we,U);ie=this.normalizer.normalizeStyleValue(we,Ke,ie,U),Ee[Ke]=ie})}}),Ee}}class Qe{constructor(B,U,Ee){this.name=B,this.ast=U,this._normalizer=Ee,this.transitionFactories=[],this.states={},U.states.forEach(lt=>{this.states[lt.name]=new tt(lt.style,lt.options&<.options.params||{},Ee)}),ue(this.states,"true","1"),ue(this.states,"false","0"),U.transitions.forEach(lt=>{this.transitionFactories.push(new et(B,lt,this.states))}),this.fallbackTransition=function D(ht,B,U){return new et(ht,{type:1,animation:{type:2,steps:[],options:null},matchers:[(q,we)=>!0],options:null,queryCount:0,depCount:0},B)}(B,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(B,U,Ee,lt){return this.transitionFactories.find(q=>q.match(B,U,Ee,lt))||null}matchStyles(B,U,Ee){return this.fallbackTransition.buildStyles(B,U,Ee)}}function ue(ht,B,U){ht.hasOwnProperty(B)?ht.hasOwnProperty(U)||(ht[U]=ht[B]):ht.hasOwnProperty(U)&&(ht[B]=ht[U])}const Xe=new ee;class bt{constructor(B,U,Ee){this.bodyNode=B,this._driver=U,this._normalizer=Ee,this._animations={},this._playersById={},this.players=[]}register(B,U){const Ee=[],lt=Ft(this._driver,U,Ee);if(Ee.length)throw new Error(`Unable to build the animation due to the following errors: ${Ee.join("\n")}`);this._animations[B]=lt}_buildPlayer(B,U,Ee){const lt=B.element,_t=s(0,this._normalizer,0,B.keyframes,U,Ee);return this._driver.animate(lt,_t,B.duration,B.delay,B.easing,[],!0)}create(B,U,Ee={}){const lt=[],_t=this._animations[B];let q;const we=new Map;if(_t?(q=qt(this._driver,U,_t,Fe,ke,{},{},Ee,Xe,lt),q.forEach(yt=>{const Zt=h(we,yt.element,{});yt.postStyleProps.forEach(Yt=>Zt[Yt]=null)})):(lt.push("The requested animation doesn't exist or has already been destroyed"),q=[]),lt.length)throw new Error(`Unable to create the animation due to the following errors: ${lt.join("\n")}`);we.forEach((yt,Zt)=>{Object.keys(yt).forEach(Yt=>{yt[Yt]=this._driver.computeStyle(Zt,Yt,g.l3)})});const Ke=A(q.map(yt=>{const Zt=we.get(yt.element);return this._buildPlayer(yt,{},Zt)}));return this._playersById[B]=Ke,Ke.onDestroy(()=>this.destroy(B)),this.players.push(Ke),Ke}destroy(B){const U=this._getPlayer(B);U.destroy(),delete this._playersById[B];const Ee=this.players.indexOf(U);Ee>=0&&this.players.splice(Ee,1)}_getPlayer(B){const U=this._playersById[B];if(!U)throw new Error(`Unable to find the timeline player referenced by ${B}`);return U}listen(B,U,Ee,lt){const _t=E(U,"","","");return b(this._getPlayer(B),Ee,_t,lt),()=>{}}command(B,U,Ee,lt){if("register"==Ee)return void this.register(B,lt[0]);if("create"==Ee)return void this.create(B,U,lt[0]||{});const _t=this._getPlayer(B);switch(Ee){case"play":_t.play();break;case"pause":_t.pause();break;case"reset":_t.reset();break;case"restart":_t.restart();break;case"finish":_t.finish();break;case"init":_t.init();break;case"setPosition":_t.setPosition(parseFloat(lt[0]));break;case"destroy":this.destroy(B)}}}const Jt="ng-animate-queued",bi="ng-animate-disabled",Hi=[],Bi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},cn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Di="__ng_removed";class xi{constructor(B,U=""){this.namespaceId=U;const Ee=B&&B.hasOwnProperty("value");if(this.value=function pt(ht){return null!=ht?ht:null}(Ee?B.value:B),Ee){const _t=ze(B);delete _t.value,this.options=_t}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(B){const U=B.params;if(U){const Ee=this.options.params;Object.keys(U).forEach(lt=>{null==Ee[lt]&&(Ee[lt]=U[lt])})}}}const _n="void",hn=new xi(_n);class $i{constructor(B,U,Ee){this.id=B,this.hostElement=U,this._engine=Ee,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+B,Ue(U,this._hostClassName)}listen(B,U,Ee,lt){if(!this._triggers.hasOwnProperty(U))throw new Error(`Unable to listen on the animation trigger event "${Ee}" because the animation trigger "${U}" doesn't exist!`);if(null==Ee||0==Ee.length)throw new Error(`Unable to listen on the animation trigger "${U}" because the provided event is undefined!`);if(!function Je(ht){return"start"==ht||"done"==ht}(Ee))throw new Error(`The provided animation trigger event "${Ee}" for the animation trigger "${U}" is not supported!`);const _t=h(this._elementListeners,B,[]),q={name:U,phase:Ee,callback:lt};_t.push(q);const we=h(this._engine.statesByElement,B,{});return we.hasOwnProperty(U)||(Ue(B,De),Ue(B,De+"-"+U),we[U]=hn),()=>{this._engine.afterFlush(()=>{const ie=_t.indexOf(q);ie>=0&&_t.splice(ie,1),this._triggers[U]||delete we[U]})}}register(B,U){return!this._triggers[B]&&(this._triggers[B]=U,!0)}_getTrigger(B){const U=this._triggers[B];if(!U)throw new Error(`The provided animation trigger "${B}" has not been registered!`);return U}trigger(B,U,Ee,lt=!0){const _t=this._getTrigger(U),q=new Fi(this.id,U,B);let we=this._engine.statesByElement.get(B);we||(Ue(B,De),Ue(B,De+"-"+U),this._engine.statesByElement.set(B,we={}));let ie=we[U];const Ke=new xi(Ee,this.id);if(!(Ee&&Ee.hasOwnProperty("value"))&&ie&&Ke.absorbOptions(ie.options),we[U]=Ke,ie||(ie=hn),Ke.value!==_n&&ie.value===Ke.value){if(!function ji(ht,B){const U=Object.keys(ht),Ee=Object.keys(B);if(U.length!=Ee.length)return!1;for(let lt=0;lt{dt(B,_i),st(B,vi)})}return}const Yt=h(this._engine.playersByElement,B,[]);Yt.forEach(hi=>{hi.namespaceId==this.id&&hi.triggerName==U&&hi.queued&&hi.destroy()});let oi=_t.matchTransition(ie.value,Ke.value,B,Ke.params),ui=!1;if(!oi){if(!lt)return;oi=_t.fallbackTransition,ui=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:U,transition:oi,fromState:ie,toState:Ke,player:q,isFallbackTransition:ui}),ui||(Ue(B,Jt),q.onStart(()=>{Pt(B,Jt)})),q.onDone(()=>{let hi=this.players.indexOf(q);hi>=0&&this.players.splice(hi,1);const _i=this._engine.playersByElement.get(B);if(_i){let vi=_i.indexOf(q);vi>=0&&_i.splice(vi,1)}}),this.players.push(q),Yt.push(q),q}deregister(B){delete this._triggers[B],this._engine.statesByElement.forEach((U,Ee)=>{delete U[B]}),this._elementListeners.forEach((U,Ee)=>{this._elementListeners.set(Ee,U.filter(lt=>lt.name!=B))})}clearElementCache(B){this._engine.statesByElement.delete(B),this._elementListeners.delete(B);const U=this._engine.playersByElement.get(B);U&&(U.forEach(Ee=>Ee.destroy()),this._engine.playersByElement.delete(B))}_signalRemovalForInnerTriggers(B,U){const Ee=this._engine.driver.query(B,be,!0);Ee.forEach(lt=>{if(lt[Di])return;const _t=this._engine.fetchNamespacesByElement(lt);_t.size?_t.forEach(q=>q.triggerLeaveAnimation(lt,U,!1,!0)):this.clearElementCache(lt)}),this._engine.afterFlushAnimationsDone(()=>Ee.forEach(lt=>this.clearElementCache(lt)))}triggerLeaveAnimation(B,U,Ee,lt){const _t=this._engine.statesByElement.get(B),q=new Map;if(_t){const we=[];if(Object.keys(_t).forEach(ie=>{if(q.set(ie,_t[ie].value),this._triggers[ie]){const Ke=this.trigger(B,ie,_n,lt);Ke&&we.push(Ke)}}),we.length)return this._engine.markElementAsRemoved(this.id,B,!0,U,q),Ee&&A(we).onDone(()=>this._engine.processLeaveNode(B)),!0}return!1}prepareLeaveAnimationListeners(B){const U=this._elementListeners.get(B),Ee=this._engine.statesByElement.get(B);if(U&&Ee){const lt=new Set;U.forEach(_t=>{const q=_t.name;if(lt.has(q))return;lt.add(q);const ie=this._triggers[q].fallbackTransition,Ke=Ee[q]||hn,yt=new xi(_n),Zt=new Fi(this.id,q,B);this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:q,transition:ie,fromState:Ke,toState:yt,player:Zt,isFallbackTransition:!0})})}}removeNode(B,U){const Ee=this._engine;if(B.childElementCount&&this._signalRemovalForInnerTriggers(B,U),this.triggerLeaveAnimation(B,U,!0))return;let lt=!1;if(Ee.totalAnimations){const _t=Ee.players.length?Ee.playersByQueriedElement.get(B):[];if(_t&&_t.length)lt=!0;else{let q=B;for(;q=q.parentNode;)if(Ee.statesByElement.get(q)){lt=!0;break}}}if(this.prepareLeaveAnimationListeners(B),lt)Ee.markElementAsRemoved(this.id,B,!1,U);else{const _t=B[Di];(!_t||_t===Bi)&&(Ee.afterFlush(()=>this.clearElementCache(B)),Ee.destroyInnerAnimations(B),Ee._onRemovalComplete(B,U))}}insertNode(B,U){Ue(B,this._hostClassName)}drainQueuedTransitions(B){const U=[];return this._queue.forEach(Ee=>{const lt=Ee.player;if(lt.destroyed)return;const _t=Ee.element,q=this._elementListeners.get(_t);q&&q.forEach(we=>{if(we.name==Ee.triggerName){const ie=E(_t,Ee.triggerName,Ee.fromState.value,Ee.toState.value);ie._data=B,b(Ee.player,we.phase,ie,we.callback)}}),lt.markedForDestroy?this._engine.afterFlush(()=>{lt.destroy()}):U.push(Ee)}),this._queue=[],U.sort((Ee,lt)=>{const _t=Ee.transition.ast.depCount,q=lt.transition.ast.depCount;return 0==_t||0==q?_t-q:this._engine.driver.containsElement(Ee.element,lt.element)?1:-1})}destroy(B){this.players.forEach(U=>U.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,B)}elementContainsData(B){let U=!1;return this._elementListeners.has(B)&&(U=!0),U=!!this._queue.find(Ee=>Ee.element===B)||U,U}}class sn{constructor(B,U,Ee){this.bodyNode=B,this.driver=U,this._normalizer=Ee,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(lt,_t)=>{}}_onRemovalComplete(B,U){this.onRemovalComplete(B,U)}get queuedPlayers(){const B=[];return this._namespaceList.forEach(U=>{U.players.forEach(Ee=>{Ee.queued&&B.push(Ee)})}),B}createNamespace(B,U){const Ee=new $i(B,U,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,U)?this._balanceNamespaceList(Ee,U):(this.newHostElements.set(U,Ee),this.collectEnterElement(U)),this._namespaceLookup[B]=Ee}_balanceNamespaceList(B,U){const Ee=this._namespaceList.length-1;if(Ee>=0){let lt=!1;for(let _t=Ee;_t>=0;_t--)if(this.driver.containsElement(this._namespaceList[_t].hostElement,U)){this._namespaceList.splice(_t+1,0,B),lt=!0;break}lt||this._namespaceList.splice(0,0,B)}else this._namespaceList.push(B);return this.namespacesByHostElement.set(U,B),B}register(B,U){let Ee=this._namespaceLookup[B];return Ee||(Ee=this.createNamespace(B,U)),Ee}registerTrigger(B,U,Ee){let lt=this._namespaceLookup[B];lt&<.register(U,Ee)&&this.totalAnimations++}destroy(B,U){if(!B)return;const Ee=this._fetchNamespace(B);this.afterFlush(()=>{this.namespacesByHostElement.delete(Ee.hostElement),delete this._namespaceLookup[B];const lt=this._namespaceList.indexOf(Ee);lt>=0&&this._namespaceList.splice(lt,1)}),this.afterFlushAnimationsDone(()=>Ee.destroy(U))}_fetchNamespace(B){return this._namespaceLookup[B]}fetchNamespacesByElement(B){const U=new Set,Ee=this.statesByElement.get(B);if(Ee){const lt=Object.keys(Ee);for(let _t=0;_t=0&&this.collectedLeaveElements.splice(q,1)}if(B){const q=this._fetchNamespace(B);q&&q.insertNode(U,Ee)}lt&&this.collectEnterElement(U)}collectEnterElement(B){this.collectedEnterElements.push(B)}markElementAsDisabled(B,U){U?this.disabledNodes.has(B)||(this.disabledNodes.add(B),Ue(B,bi)):this.disabledNodes.has(B)&&(this.disabledNodes.delete(B),Pt(B,bi))}removeNode(B,U,Ee,lt){if(Kt(U)){const _t=B?this._fetchNamespace(B):null;if(_t?_t.removeNode(U,lt):this.markElementAsRemoved(B,U,!1,lt),Ee){const q=this.namespacesByHostElement.get(U);q&&q.id!==B&&q.removeNode(U,lt)}}else this._onRemovalComplete(U,lt)}markElementAsRemoved(B,U,Ee,lt,_t){this.collectedLeaveElements.push(U),U[Di]={namespaceId:B,setForRemoval:lt,hasAnimation:Ee,removedBeforeQueried:!1,previousTriggersValues:_t}}listen(B,U,Ee,lt,_t){return Kt(U)?this._fetchNamespace(B).listen(U,Ee,lt,_t):()=>{}}_buildInstruction(B,U,Ee,lt,_t){return B.transition.build(this.driver,B.element,B.fromState.value,B.toState.value,Ee,lt,B.fromState.options,B.toState.options,U,_t)}destroyInnerAnimations(B){let U=this.driver.query(B,be,!0);U.forEach(Ee=>this.destroyActiveAnimationsForElement(Ee)),0!=this.playersByQueriedElement.size&&(U=this.driver.query(B,Ce,!0),U.forEach(Ee=>this.finishActiveQueriedAnimationOnElement(Ee)))}destroyActiveAnimationsForElement(B){const U=this.playersByElement.get(B);U&&U.forEach(Ee=>{Ee.queued?Ee.markedForDestroy=!0:Ee.destroy()})}finishActiveQueriedAnimationOnElement(B){const U=this.playersByQueriedElement.get(B);U&&U.forEach(Ee=>Ee.finish())}whenRenderingDone(){return new Promise(B=>{if(this.players.length)return A(this.players).onDone(()=>B());B()})}processLeaveNode(B){var U;const Ee=B[Di];if(Ee&&Ee.setForRemoval){if(B[Di]=Bi,Ee.namespaceId){this.destroyInnerAnimations(B);const lt=this._fetchNamespace(Ee.namespaceId);lt&<.clearElementCache(B)}this._onRemovalComplete(B,Ee.setForRemoval)}(null===(U=B.classList)||void 0===U?void 0:U.contains(bi))&&this.markElementAsDisabled(B,!1),this.driver.query(B,".ng-animate-disabled",!0).forEach(lt=>{this.markElementAsDisabled(lt,!1)})}flush(B=-1){let U=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Ee,lt)=>this._balanceNamespaceList(Ee,lt)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Ee=0;EeEe()),this._flushFns=[],this._whenQuietFns.length){const Ee=this._whenQuietFns;this._whenQuietFns=[],U.length?A(U).onDone(()=>{Ee.forEach(lt=>lt())}):Ee.forEach(lt=>lt())}}reportError(B){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${B.join("\n")}`)}_flushAnimations(B,U){const Ee=new ee,lt=[],_t=new Map,q=[],we=new Map,ie=new Map,Ke=new Map,yt=new Set;this.disabledNodes.forEach(si=>{yt.add(si);const Ei=this.driver.query(si,".ng-animate-queued",!0);for(let mi=0;mi{const mi=Fe+hi++;ui.set(Ei,mi),si.forEach(zi=>Ue(zi,mi))});const _i=[],vi=new Set,ki=new Set;for(let si=0;sivi.add(zi)):ki.add(Ei))}const Oe=new Map,ye=zt(Yt,Array.from(vi));ye.forEach((si,Ei)=>{const mi=ke+hi++;Oe.set(Ei,mi),si.forEach(zi=>Ue(zi,mi))}),B.push(()=>{oi.forEach((si,Ei)=>{const mi=ui.get(Ei);si.forEach(zi=>Pt(zi,mi))}),ye.forEach((si,Ei)=>{const mi=Oe.get(Ei);si.forEach(zi=>Pt(zi,mi))}),_i.forEach(si=>{this.processLeaveNode(si)})});const Ae=[],ct=[];for(let si=this._namespaceList.length-1;si>=0;si--)this._namespaceList[si].drainQueuedTransitions(U).forEach(mi=>{const zi=mi.player,dn=mi.element;if(Ae.push(zi),this.collectedEnterElements.length){const Cn=dn[Di];if(Cn&&Cn.setForMove){if(Cn.previousTriggersValues&&Cn.previousTriggersValues.has(mi.triggerName)){const pn=Cn.previousTriggersValues.get(mi.triggerName),En=this.statesByElement.get(mi.element);En&&En[mi.triggerName]&&(En[mi.triggerName].value=pn)}return void zi.destroy()}}const bn=!Zt||!this.driver.containsElement(Zt,dn),Rn=Oe.get(dn),qn=ui.get(dn),ln=this._buildInstruction(mi,Ee,qn,Rn,bn);if(ln.errors&&ln.errors.length)return void ct.push(ln);if(bn)return zi.onStart(()=>dt(dn,ln.fromStyles)),zi.onDestroy(()=>st(dn,ln.toStyles)),void lt.push(zi);if(mi.isFallbackTransition)return zi.onStart(()=>dt(dn,ln.fromStyles)),zi.onDestroy(()=>st(dn,ln.toStyles)),void lt.push(zi);const Xo=[];ln.timelines.forEach(Cn=>{Cn.stretchStartingKeyframe=!0,this.disabledNodes.has(Cn.element)||Xo.push(Cn)}),ln.timelines=Xo,Ee.append(dn,ln.timelines),q.push({instruction:ln,player:zi,element:dn}),ln.queriedElements.forEach(Cn=>h(we,Cn,[]).push(zi)),ln.preStyleProps.forEach((Cn,pn)=>{const En=Object.keys(Cn);if(En.length){let Qn=ie.get(pn);Qn||ie.set(pn,Qn=new Set),En.forEach(Xn=>Qn.add(Xn))}}),ln.postStyleProps.forEach((Cn,pn)=>{const En=Object.keys(Cn);let Qn=Ke.get(pn);Qn||Ke.set(pn,Qn=new Set),En.forEach(Xn=>Qn.add(Xn))})});if(ct.length){const si=[];ct.forEach(Ei=>{si.push(`@${Ei.triggerName} has failed due to:\n`),Ei.errors.forEach(mi=>si.push(`- ${mi}\n`))}),Ae.forEach(Ei=>Ei.destroy()),this.reportError(si)}const Bt=new Map,pi=new Map;q.forEach(si=>{const Ei=si.element;Ee.has(Ei)&&(pi.set(Ei,Ei),this._beforeAnimationBuild(si.player.namespaceId,si.instruction,Bt))}),lt.forEach(si=>{const Ei=si.element;this._getPreviousPlayers(Ei,!1,si.namespaceId,si.triggerName,null).forEach(zi=>{h(Bt,Ei,[]).push(zi),zi.destroy()})});const Ui=_i.filter(si=>Ki(si,ie,Ke)),tn=new Map;ot(tn,this.driver,ki,Ke,g.l3).forEach(si=>{Ki(si,ie,Ke)&&Ui.push(si)});const Vn=new Map;oi.forEach((si,Ei)=>{ot(Vn,this.driver,new Set(si),ie,g.k1)}),Ui.forEach(si=>{const Ei=tn.get(si),mi=Vn.get(si);tn.set(si,Object.assign(Object.assign({},Ei),mi))});const uo=[],Qo=[],ni={};q.forEach(si=>{const{element:Ei,player:mi,instruction:zi}=si;if(Ee.has(Ei)){if(yt.has(Ei))return mi.onDestroy(()=>st(Ei,zi.toStyles)),mi.disabled=!0,mi.overrideTotalTime(zi.totalTime),void lt.push(mi);let dn=ni;if(pi.size>1){let Rn=Ei;const qn=[];for(;Rn=Rn.parentNode;){const ln=pi.get(Rn);if(ln){dn=ln;break}qn.push(Rn)}qn.forEach(ln=>pi.set(ln,dn))}const bn=this._buildAnimation(mi.namespaceId,zi,Bt,_t,Vn,tn);if(mi.setRealPlayer(bn),dn===ni)uo.push(mi);else{const Rn=this.playersByElement.get(dn);Rn&&Rn.length&&(mi.parentPlayer=A(Rn)),lt.push(mi)}}else dt(Ei,zi.fromStyles),mi.onDestroy(()=>st(Ei,zi.toStyles)),Qo.push(mi),yt.has(Ei)&<.push(mi)}),Qo.forEach(si=>{const Ei=_t.get(si.element);if(Ei&&Ei.length){const mi=A(Ei);si.setRealPlayer(mi)}}),lt.forEach(si=>{si.parentPlayer?si.syncPlayerEvents(si.parentPlayer):si.destroy()});for(let si=0;si<_i.length;si++){const Ei=_i[si],mi=Ei[Di];if(Pt(Ei,ke),mi&&mi.hasAnimation)continue;let zi=[];if(we.size){let bn=we.get(Ei);bn&&bn.length&&zi.push(...bn);let Rn=this.driver.query(Ei,Ce,!0);for(let qn=0;qn!bn.destroyed);dn.length?Gt(this,Ei,dn):this.processLeaveNode(Ei)}return _i.length=0,uo.forEach(si=>{this.players.push(si),si.onDone(()=>{si.destroy();const Ei=this.players.indexOf(si);this.players.splice(Ei,1)}),si.play()}),uo}elementContainsData(B,U){let Ee=!1;const lt=U[Di];return lt&<.setForRemoval&&(Ee=!0),this.playersByElement.has(U)&&(Ee=!0),this.playersByQueriedElement.has(U)&&(Ee=!0),this.statesByElement.has(U)&&(Ee=!0),this._fetchNamespace(B).elementContainsData(U)||Ee}afterFlush(B){this._flushFns.push(B)}afterFlushAnimationsDone(B){this._whenQuietFns.push(B)}_getPreviousPlayers(B,U,Ee,lt,_t){let q=[];if(U){const we=this.playersByQueriedElement.get(B);we&&(q=we)}else{const we=this.playersByElement.get(B);if(we){const ie=!_t||_t==_n;we.forEach(Ke=>{Ke.queued||!ie&&Ke.triggerName!=lt||q.push(Ke)})}}return(Ee||lt)&&(q=q.filter(we=>!(Ee&&Ee!=we.namespaceId||lt&<!=we.triggerName))),q}_beforeAnimationBuild(B,U,Ee){const _t=U.element,q=U.isRemovalTransition?void 0:B,we=U.isRemovalTransition?void 0:U.triggerName;for(const ie of U.timelines){const Ke=ie.element,yt=Ke!==_t,Zt=h(Ee,Ke,[]);this._getPreviousPlayers(Ke,yt,q,we,U.toState).forEach(oi=>{const ui=oi.getRealPlayer();ui.beforeDestroy&&ui.beforeDestroy(),oi.destroy(),Zt.push(oi)})}dt(_t,U.fromStyles)}_buildAnimation(B,U,Ee,lt,_t,q){const we=U.triggerName,ie=U.element,Ke=[],yt=new Set,Zt=new Set,Yt=U.timelines.map(ui=>{const hi=ui.element;yt.add(hi);const _i=hi[Di];if(_i&&_i.removedBeforeQueried)return new g.ZN(ui.duration,ui.delay);const vi=hi!==ie,ki=function Qt(ht){const B=[];return Ci(ht,B),B}((Ee.get(hi)||Hi).map(Bt=>Bt.getRealPlayer())).filter(Bt=>!!Bt.element&&Bt.element===hi),Oe=_t.get(hi),ye=q.get(hi),Ae=s(0,this._normalizer,0,ui.keyframes,Oe,ye),ct=this._buildPlayer(ui,Ae,ki);if(ui.subTimeline&<&&Zt.add(hi),vi){const Bt=new Fi(B,we,hi);Bt.setRealPlayer(ct),Ke.push(Bt)}return ct});Ke.forEach(ui=>{h(this.playersByQueriedElement,ui.element,[]).push(ui),ui.onDone(()=>function Ln(ht,B,U){let Ee;if(ht instanceof Map){if(Ee=ht.get(B),Ee){if(Ee.length){const lt=Ee.indexOf(U);Ee.splice(lt,1)}0==Ee.length&&ht.delete(B)}}else if(Ee=ht[B],Ee){if(Ee.length){const lt=Ee.indexOf(U);Ee.splice(lt,1)}0==Ee.length&&delete ht[B]}return Ee}(this.playersByQueriedElement,ui.element,ui))}),yt.forEach(ui=>Ue(ui,z));const oi=A(Yt);return oi.onDestroy(()=>{yt.forEach(ui=>Pt(ui,z)),st(ie,U.toStyles)}),Zt.forEach(ui=>{h(lt,ui,[]).push(oi)}),oi}_buildPlayer(B,U,Ee){return U.length>0?this.driver.animate(B.element,U,B.duration,B.delay,B.easing,Ee):new g.ZN(B.duration,B.delay)}}class Fi{constructor(B,U,Ee){this.namespaceId=B,this.triggerName=U,this.element=Ee,this._player=new g.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(B){this._containsRealPlayer||(this._player=B,Object.keys(this._queuedCallbacks).forEach(U=>{this._queuedCallbacks[U].forEach(Ee=>b(B,U,void 0,Ee))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(B.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(B){this.totalTime=B}syncPlayerEvents(B){const U=this._player;U.triggerCallback&&B.onStart(()=>U.triggerCallback("start")),B.onDone(()=>this.finish()),B.onDestroy(()=>this.destroy())}_queueEvent(B,U){h(this._queuedCallbacks,B,[]).push(U)}onDone(B){this.queued&&this._queueEvent("done",B),this._player.onDone(B)}onStart(B){this.queued&&this._queueEvent("start",B),this._player.onStart(B)}onDestroy(B){this.queued&&this._queueEvent("destroy",B),this._player.onDestroy(B)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(B){this.queued||this._player.setPosition(B)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(B){const U=this._player;U.triggerCallback&&U.triggerCallback(B)}}function Kt(ht){return ht&&1===ht.nodeType}function Tt(ht,B){const U=ht.style.display;return ht.style.display=null!=B?B:"none",U}function ot(ht,B,U,Ee,lt){const _t=[];U.forEach(ie=>_t.push(Tt(ie)));const q=[];Ee.forEach((ie,Ke)=>{const yt={};ie.forEach(Zt=>{const Yt=yt[Zt]=B.computeStyle(Ke,Zt,lt);(!Yt||0==Yt.length)&&(Ke[Di]=cn,q.push(Ke))}),ht.set(Ke,yt)});let we=0;return U.forEach(ie=>Tt(ie,_t[we++])),q}function zt(ht,B){const U=new Map;if(ht.forEach(we=>U.set(we,[])),0==B.length)return U;const lt=new Set(B),_t=new Map;function q(we){if(!we)return 1;let ie=_t.get(we);if(ie)return ie;const Ke=we.parentNode;return ie=U.has(Ke)?Ke:lt.has(Ke)?1:q(Ke),_t.set(we,ie),ie}return B.forEach(we=>{const ie=q(we);1!==ie&&U.get(ie).push(we)}),U}function Ue(ht,B){var U;null===(U=ht.classList)||void 0===U||U.add(B)}function Pt(ht,B){var U;null===(U=ht.classList)||void 0===U||U.remove(B)}function Gt(ht,B,U){A(U).onDone(()=>ht.processLeaveNode(B))}function Ci(ht,B){for(let U=0;Ult.add(_t)):B.set(ht,Ee),U.delete(ht),!0}class An{constructor(B,U,Ee){this.bodyNode=B,this._driver=U,this._normalizer=Ee,this._triggerCache={},this.onRemovalComplete=(lt,_t)=>{},this._transitionEngine=new sn(B,U,Ee),this._timelineEngine=new bt(B,U,Ee),this._transitionEngine.onRemovalComplete=(lt,_t)=>this.onRemovalComplete(lt,_t)}registerTrigger(B,U,Ee,lt,_t){const q=B+"-"+lt;let we=this._triggerCache[q];if(!we){const ie=[],Ke=Ft(this._driver,_t,ie);if(ie.length)throw new Error(`The animation trigger "${lt}" has failed to build due to the following errors:\n - ${ie.join("\n - ")}`);we=function He(ht,B,U){return new Qe(ht,B,U)}(lt,Ke,this._normalizer),this._triggerCache[q]=we}this._transitionEngine.registerTrigger(U,lt,we)}register(B,U){this._transitionEngine.register(B,U)}destroy(B,U){this._transitionEngine.destroy(B,U)}onInsert(B,U,Ee,lt){this._transitionEngine.insertNode(B,U,Ee,lt)}onRemove(B,U,Ee,lt){this._transitionEngine.removeNode(B,U,lt||!1,Ee)}disableAnimations(B,U){this._transitionEngine.markElementAsDisabled(B,U)}process(B,U,Ee,lt){if("@"==Ee.charAt(0)){const[_t,q]=x(Ee);this._timelineEngine.command(_t,U,q,lt)}else this._transitionEngine.trigger(B,U,Ee,lt)}listen(B,U,Ee,lt,_t){if("@"==Ee.charAt(0)){const[q,we]=x(Ee);return this._timelineEngine.listen(q,U,we,_t)}return this._transitionEngine.listen(B,U,Ee,lt,_t)}flush(B=-1){this._transitionEngine.flush(B)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let io=(()=>{class ht{constructor(U,Ee,lt){this._element=U,this._startStyles=Ee,this._endStyles=lt,this._state=0;let _t=ht.initialStylesByElement.get(U);_t||ht.initialStylesByElement.set(U,_t={}),this._initialStyles=_t}start(){this._state<1&&(this._startStyles&&st(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(st(this._element,this._initialStyles),this._endStyles&&(st(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ht.initialStylesByElement.delete(this._element),this._startStyles&&(dt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(dt(this._element,this._endStyles),this._endStyles=null),st(this._element,this._initialStyles),this._state=3)}}return ht.initialStylesByElement=new WeakMap,ht})();function Mn(ht){let B=null;const U=Object.keys(ht);for(let Ee=0;EeB()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const B=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,B,this.options),this._finalKeyframe=B.length?B[B.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(B,U,Ee){return B.animate(U,Ee)}onStart(B){this._onStartFns.push(B)}onDone(B){this._onDoneFns.push(B)}onDestroy(B){this._onDestroyFns.push(B)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(B=>B()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(B=>B()),this._onDestroyFns=[])}setPosition(B){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=B*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const B={};if(this.hasStarted()){const U=this._finalKeyframe;Object.keys(U).forEach(Ee=>{"offset"!=Ee&&(B[Ee]=this._finished?U[Ee]:o(this.element,Ee))})}this.currentSnapshot=B}triggerCallback(B){const U="start"==B?this._onStartFns:this._onDoneFns;U.forEach(Ee=>Ee()),U.length=0}}class zn{validateStyleProperty(B){return ce(B)}matchesElement(B,U){return!1}containsElement(B,U){return se(B,U)}query(B,U,Ee){return V(B,U,Ee)}computeStyle(B,U,Ee){return window.getComputedStyle(B)[U]}animate(B,U,Ee,lt,_t,q=[]){const ie={duration:Ee,delay:lt,fill:0==lt?"both":"forwards"};_t&&(ie.easing=_t);const Ke={},yt=q.filter(Yt=>Yt instanceof Ao);(function n(ht,B){return 0===ht||0===B})(Ee,lt)&&yt.forEach(Yt=>{let oi=Yt.currentSnapshot;Object.keys(oi).forEach(ui=>Ke[ui]=oi[ui])}),U=function r(ht,B,U){const Ee=Object.keys(U);if(Ee.length&&B.length){let _t=B[0],q=[];if(Ee.forEach(we=>{_t.hasOwnProperty(we)||q.push(we),_t[we]=U[we]}),q.length)for(var lt=1;ltve(Yt,!1)),Ke);const Zt=function Un(ht,B){let U=null,Ee=null;return Array.isArray(B)&&B.length?(U=Mn(B[0]),B.length>1&&(Ee=Mn(B[B.length-1]))):B&&(U=Mn(B)),U||Ee?new io(ht,U,Ee):null}(B,U);return new Ao(B,U,ie,Zt)}}var ao=d(69808);let no=(()=>{class ht extends g._j{constructor(U,Ee){super(),this._nextAnimationId=0,this._renderer=U.createRenderer(Ee.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(U){const Ee=this._nextAnimationId.toString();this._nextAnimationId++;const lt=Array.isArray(U)?(0,g.vP)(U):U;return xn(this._renderer,null,Ee,"register",[lt]),new No(Ee,this._renderer)}}return ht.\u0275fac=function(U){return new(U||ht)(e.LFG(e.FYo),e.LFG(ao.K0))},ht.\u0275prov=e.Yz7({token:ht,factory:ht.\u0275fac}),ht})();class No extends g.LC{constructor(B,U){super(),this._id=B,this._renderer=U}create(B,U){return new oo(this._id,B,U||{},this._renderer)}}class oo{constructor(B,U,Ee,lt){this.id=B,this.element=U,this._renderer=lt,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",Ee)}_listen(B,U){return this._renderer.listen(this.element,`@@${this.id}:${B}`,U)}_command(B,...U){return xn(this._renderer,this.element,this.id,B,U)}onDone(B){this._listen("done",B)}onStart(B){this._listen("start",B)}onDestroy(B){this._listen("destroy",B)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(B){this._command("setPosition",B)}getPosition(){var B,U;return null!==(U=null===(B=this._renderer.engine.players[+this.id])||void 0===B?void 0:B.getPosition())&&void 0!==U?U:0}}function xn(ht,B,U,Ee,lt){return ht.setProperty(B,`@@${U}:${Ee}`,lt)}const so="@.disabled";let Dn=(()=>{class ht{constructor(U,Ee,lt){this.delegate=U,this.engine=Ee,this._zone=lt,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),Ee.onRemovalComplete=(_t,q)=>{const we=null==q?void 0:q.parentNode(_t);we&&q.removeChild(we,_t)}}createRenderer(U,Ee){const _t=this.delegate.createRenderer(U,Ee);if(!(U&&Ee&&Ee.data&&Ee.data.animation)){let yt=this._rendererCache.get(_t);return yt||(yt=new Nn("",_t,this.engine),this._rendererCache.set(_t,yt)),yt}const q=Ee.id,we=Ee.id+"-"+this._currentId;this._currentId++,this.engine.register(we,U);const ie=yt=>{Array.isArray(yt)?yt.forEach(ie):this.engine.registerTrigger(q,we,U,yt.name,yt)};return Ee.data.animation.forEach(ie),new co(this,we,_t,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(U,Ee,lt){U>=0&&UEe(lt)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(_t=>{const[q,we]=_t;q(we)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([Ee,lt]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return ht.\u0275fac=function(U){return new(U||ht)(e.LFG(e.FYo),e.LFG(An),e.LFG(e.R0b))},ht.\u0275prov=e.Yz7({token:ht,factory:ht.\u0275fac}),ht})();class Nn{constructor(B,U,Ee){this.namespaceId=B,this.delegate=U,this.engine=Ee,this.destroyNode=this.delegate.destroyNode?lt=>U.destroyNode(lt):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(B,U){return this.delegate.createElement(B,U)}createComment(B){return this.delegate.createComment(B)}createText(B){return this.delegate.createText(B)}appendChild(B,U){this.delegate.appendChild(B,U),this.engine.onInsert(this.namespaceId,U,B,!1)}insertBefore(B,U,Ee,lt=!0){this.delegate.insertBefore(B,U,Ee),this.engine.onInsert(this.namespaceId,U,B,lt)}removeChild(B,U,Ee){this.engine.onRemove(this.namespaceId,U,this.delegate,Ee)}selectRootElement(B,U){return this.delegate.selectRootElement(B,U)}parentNode(B){return this.delegate.parentNode(B)}nextSibling(B){return this.delegate.nextSibling(B)}setAttribute(B,U,Ee,lt){this.delegate.setAttribute(B,U,Ee,lt)}removeAttribute(B,U,Ee){this.delegate.removeAttribute(B,U,Ee)}addClass(B,U){this.delegate.addClass(B,U)}removeClass(B,U){this.delegate.removeClass(B,U)}setStyle(B,U,Ee,lt){this.delegate.setStyle(B,U,Ee,lt)}removeStyle(B,U,Ee){this.delegate.removeStyle(B,U,Ee)}setProperty(B,U,Ee){"@"==U.charAt(0)&&U==so?this.disableAnimations(B,!!Ee):this.delegate.setProperty(B,U,Ee)}setValue(B,U){this.delegate.setValue(B,U)}listen(B,U,Ee){return this.delegate.listen(B,U,Ee)}disableAnimations(B,U){this.engine.disableAnimations(B,U)}}class co extends Nn{constructor(B,U,Ee,lt){super(U,Ee,lt),this.factory=B,this.namespaceId=U}setProperty(B,U,Ee){"@"==U.charAt(0)?"."==U.charAt(1)&&U==so?this.disableAnimations(B,Ee=void 0===Ee||!!Ee):this.engine.process(this.namespaceId,B,U.substr(1),Ee):this.delegate.setProperty(B,U,Ee)}listen(B,U,Ee){if("@"==U.charAt(0)){const lt=function bo(ht){switch(ht){case"body":return document.body;case"document":return document;case"window":return window;default:return ht}}(B);let _t=U.substr(1),q="";return"@"!=_t.charAt(0)&&([_t,q]=function ro(ht){const B=ht.indexOf(".");return[ht.substring(0,B),ht.substr(B+1)]}(_t)),this.engine.listen(this.namespaceId,lt,_t,q,we=>{this.factory.scheduleListenerCallback(we._data||-1,Ee,we)})}return this.delegate.listen(B,U,Ee)}}let lo=(()=>{class ht extends An{constructor(U,Ee,lt){super(U.body,Ee,lt)}ngOnDestroy(){this.flush()}}return ht.\u0275fac=function(U){return new(U||ht)(e.LFG(ao.K0),e.LFG(te),e.LFG(Ri))},ht.\u0275prov=e.Yz7({token:ht,factory:ht.\u0275fac}),ht})();const vn=new e.OlP("AnimationModuleType"),gn=[{provide:g._j,useClass:no},{provide:Ri,useFactory:function yo(){return new an}},{provide:An,useClass:lo},{provide:e.FYo,useFactory:function In(ht,B,U){return new Dn(ht,B,U)},deps:[f.se,An,e.R0b]}],kn=[{provide:te,useFactory:()=>new zn},{provide:vn,useValue:"BrowserAnimations"},...gn],Jn=[{provide:te,useClass:W},{provide:vn,useValue:"NoopAnimations"},...gn];let Zn=(()=>{class ht{static withConfig(U){return{ngModule:ht,providers:U.disableAnimations?Jn:kn}}}return ht.\u0275fac=function(U){return new(U||ht)},ht.\u0275mod=e.oAB({type:ht}),ht.\u0275inj=e.cJS({providers:kn,imports:[f.b2]}),ht})()},22313:(Ze,ge,d)=>{"use strict";d.d(ge,{b2:()=>N,H7:()=>Ye,Dx:()=>r,q6:()=>S,se:()=>De});var e=d(69808),f=d(5e3);class g extends e.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class v extends g{static makeCurrent(){(0,e.HT)(new v)}onAndCancel(wt,At,Ot){return wt.addEventListener(At,Ot,!1),()=>{wt.removeEventListener(At,Ot,!1)}}dispatchEvent(wt,At){wt.dispatchEvent(At)}remove(wt){wt.parentNode&&wt.parentNode.removeChild(wt)}createElement(wt,At){return(At=At||this.getDefaultDocument()).createElement(wt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(wt){return wt.nodeType===Node.ELEMENT_NODE}isShadowRoot(wt){return wt instanceof DocumentFragment}getGlobalEventTarget(wt,At){return"window"===At?window:"document"===At?wt:"body"===At?wt.body:null}getBaseHref(wt){const At=function A(){return m=m||document.querySelector("base"),m?m.getAttribute("href"):null}();return null==At?null:function b(Dt){s=s||document.createElement("a"),s.setAttribute("href",Dt);const wt=s.pathname;return"/"===wt.charAt(0)?wt:`/${wt}`}(At)}resetBaseElement(){m=null}getUserAgent(){return window.navigator.userAgent}getCookie(wt){return(0,e.Mx)(document.cookie,wt)}}let s,m=null;const R=new f.OlP("TRANSITION_ID"),h=[{provide:f.ip1,useFactory:function E(Dt,wt,At){return()=>{At.get(f.CZH).donePromise.then(()=>{const Ot=(0,e.q)(),Wt=wt.querySelectorAll(`style[ng-transition="${Dt}"]`);for(let li=0;li{const li=wt.findTestabilityInTree(Ot,Wt);if(null==li)throw new Error("Could not find testability for element.");return li},f.dqk.getAllAngularTestabilities=()=>wt.getAllTestabilities(),f.dqk.getAllAngularRootElements=()=>wt.getAllRootElements(),f.dqk.frameworkStabilizers||(f.dqk.frameworkStabilizers=[]),f.dqk.frameworkStabilizers.push(Ot=>{const Wt=f.dqk.getAllAngularTestabilities();let li=Wt.length,gi=!1;const Ti=function(Ri){gi=gi||Ri,li--,0==li&&Ot(gi)};Wt.forEach(function(Ri){Ri.whenStable(Ti)})})}findTestabilityInTree(wt,At,Ot){if(null==At)return null;const Wt=wt.getTestability(At);return null!=Wt?Wt:Ot?(0,e.q)().isShadowRoot(At)?this.findTestabilityInTree(wt,At.host,!0):this.findTestabilityInTree(wt,At.parentElement,!0):null}}let k=(()=>{class Dt{build(){return new XMLHttpRequest}}return Dt.\u0275fac=function(At){return new(At||Dt)},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();const G=new f.OlP("EventManagerPlugins");let X=(()=>{class Dt{constructor(At,Ot){this._zone=Ot,this._eventNameToPlugin=new Map,At.forEach(Wt=>Wt.manager=this),this._plugins=At.slice().reverse()}addEventListener(At,Ot,Wt){return this._findPluginFor(Ot).addEventListener(At,Ot,Wt)}addGlobalEventListener(At,Ot,Wt){return this._findPluginFor(Ot).addGlobalEventListener(At,Ot,Wt)}getZone(){return this._zone}_findPluginFor(At){const Ot=this._eventNameToPlugin.get(At);if(Ot)return Ot;const Wt=this._plugins;for(let li=0;li{class Dt{constructor(){this._stylesSet=new Set}addStyles(At){const Ot=new Set;At.forEach(Wt=>{this._stylesSet.has(Wt)||(this._stylesSet.add(Wt),Ot.add(Wt))}),this.onStylesAdded(Ot)}onStylesAdded(At){}getAllStyles(){return Array.from(this._stylesSet)}}return Dt.\u0275fac=function(At){return new(At||Dt)},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})(),Ne=(()=>{class Dt extends re{constructor(At){super(),this._doc=At,this._hostNodes=new Map,this._hostNodes.set(At.head,[])}_addStylesToHost(At,Ot,Wt){At.forEach(li=>{const gi=this._doc.createElement("style");gi.textContent=li,Wt.push(Ot.appendChild(gi))})}addHost(At){const Ot=[];this._addStylesToHost(this._stylesSet,At,Ot),this._hostNodes.set(At,Ot)}removeHost(At){const Ot=this._hostNodes.get(At);Ot&&Ot.forEach(ce),this._hostNodes.delete(At)}onStylesAdded(At){this._hostNodes.forEach((Ot,Wt)=>{this._addStylesToHost(At,Wt,Ot)})}ngOnDestroy(){this._hostNodes.forEach(At=>At.forEach(ce))}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();function ce(Dt){(0,e.q)().remove(Dt)}const Pe={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},se=/%COMP%/g,F="%COMP%",W=`_nghost-${F}`,te=`_ngcontent-${F}`;function Be(Dt,wt,At){for(let Ot=0;Ot{if("__ngUnwrap__"===wt)return Dt;!1===Dt(wt)&&(wt.preventDefault(),wt.returnValue=!1)}}let De=(()=>{class Dt{constructor(At,Ot,Wt){this.eventManager=At,this.sharedStylesHost=Ot,this.appId=Wt,this.rendererByCompId=new Map,this.defaultRenderer=new be(At)}createRenderer(At,Ot){if(!At||!Ot)return this.defaultRenderer;switch(Ot.encapsulation){case f.ifc.Emulated:{let Wt=this.rendererByCompId.get(Ot.id);return Wt||(Wt=new J(this.eventManager,this.sharedStylesHost,Ot,this.appId),this.rendererByCompId.set(Ot.id,Wt)),Wt.applyToHost(At),Wt}case 1:case f.ifc.ShadowDom:return new I(this.eventManager,this.sharedStylesHost,At,Ot);default:if(!this.rendererByCompId.has(Ot.id)){const Wt=Be(Ot.id,Ot.styles,[]);this.sharedStylesHost.addStyles(Wt),this.rendererByCompId.set(Ot.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(X),f.LFG(Ne),f.LFG(f.AFp))},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();class be{constructor(wt){this.eventManager=wt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(wt,At){return At?document.createElementNS(Pe[At]||At,wt):document.createElement(wt)}createComment(wt){return document.createComment(wt)}createText(wt){return document.createTextNode(wt)}appendChild(wt,At){wt.appendChild(At)}insertBefore(wt,At,Ot){wt&&wt.insertBefore(At,Ot)}removeChild(wt,At){wt&&wt.removeChild(At)}selectRootElement(wt,At){let Ot="string"==typeof wt?document.querySelector(wt):wt;if(!Ot)throw new Error(`The selector "${wt}" did not match any elements`);return At||(Ot.textContent=""),Ot}parentNode(wt){return wt.parentNode}nextSibling(wt){return wt.nextSibling}setAttribute(wt,At,Ot,Wt){if(Wt){At=Wt+":"+At;const li=Pe[Wt];li?wt.setAttributeNS(li,At,Ot):wt.setAttribute(At,Ot)}else wt.setAttribute(At,Ot)}removeAttribute(wt,At,Ot){if(Ot){const Wt=Pe[Ot];Wt?wt.removeAttributeNS(Wt,At):wt.removeAttribute(`${Ot}:${At}`)}else wt.removeAttribute(At)}addClass(wt,At){wt.classList.add(At)}removeClass(wt,At){wt.classList.remove(At)}setStyle(wt,At,Ot,Wt){Wt&(f.JOm.DashCase|f.JOm.Important)?wt.style.setProperty(At,Ot,Wt&f.JOm.Important?"important":""):wt.style[At]=Ot}removeStyle(wt,At,Ot){Ot&f.JOm.DashCase?wt.style.removeProperty(At):wt.style[At]=""}setProperty(wt,At,Ot){wt[At]=Ot}setValue(wt,At){wt.nodeValue=At}listen(wt,At,Ot){return"string"==typeof wt?this.eventManager.addGlobalEventListener(wt,At,Fe(Ot)):this.eventManager.addEventListener(wt,At,Fe(Ot))}}class J extends be{constructor(wt,At,Ot,Wt){super(wt),this.component=Ot;const li=Be(Wt+"-"+Ot.id,Ot.styles,[]);At.addStyles(li),this.contentAttr=function ae(Dt){return te.replace(se,Dt)}(Wt+"-"+Ot.id),this.hostAttr=function pe(Dt){return W.replace(se,Dt)}(Wt+"-"+Ot.id)}applyToHost(wt){super.setAttribute(wt,this.hostAttr,"")}createElement(wt,At){const Ot=super.createElement(wt,At);return super.setAttribute(Ot,this.contentAttr,""),Ot}}class I extends be{constructor(wt,At,Ot,Wt){super(wt),this.sharedStylesHost=At,this.hostEl=Ot,this.shadowRoot=Ot.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const li=Be(Wt.id,Wt.styles,[]);for(let gi=0;gi{class Dt extends he{constructor(At){super(At)}supports(At){return!0}addEventListener(At,Ot,Wt){return At.addEventListener(Ot,Wt,!1),()=>this.removeEventListener(At,Ot,Wt)}removeEventListener(At,Ot,Wt){return At.removeEventListener(Ot,Wt)}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();const Re=["alt","control","meta","shift"],fe={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ve={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},We={alt:Dt=>Dt.altKey,control:Dt=>Dt.ctrlKey,meta:Dt=>Dt.metaKey,shift:Dt=>Dt.shiftKey};let nt=(()=>{class Dt extends he{constructor(At){super(At)}supports(At){return null!=Dt.parseEventName(At)}addEventListener(At,Ot,Wt){const li=Dt.parseEventName(Ot),gi=Dt.eventCallback(li.fullKey,Wt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.q)().onAndCancel(At,li.domEventName,gi))}static parseEventName(At){const Ot=At.toLowerCase().split("."),Wt=Ot.shift();if(0===Ot.length||"keydown"!==Wt&&"keyup"!==Wt)return null;const li=Dt._normalizeKey(Ot.pop());let gi="";if(Re.forEach(Ri=>{const Gi=Ot.indexOf(Ri);Gi>-1&&(Ot.splice(Gi,1),gi+=Ri+".")}),gi+=li,0!=Ot.length||0===li.length)return null;const Ti={};return Ti.domEventName=Wt,Ti.fullKey=gi,Ti}static getEventFullKey(At){let Ot="",Wt=function st(Dt){let wt=Dt.key;if(null==wt){if(wt=Dt.keyIdentifier,null==wt)return"Unidentified";wt.startsWith("U+")&&(wt=String.fromCharCode(parseInt(wt.substring(2),16)),3===Dt.location&&ve.hasOwnProperty(wt)&&(wt=ve[wt]))}return fe[wt]||wt}(At);return Wt=Wt.toLowerCase()," "===Wt?Wt="space":"."===Wt&&(Wt="dot"),Re.forEach(li=>{li!=Wt&&We[li](At)&&(Ot+=li+".")}),Ot+=Wt,Ot}static eventCallback(At,Ot,Wt){return li=>{Dt.getEventFullKey(li)===At&&Wt.runGuarded(()=>Ot(li))}}static _normalizeKey(At){return"esc"===At?"escape":At}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();const S=(0,f.eFA)(f._c5,"browser",[{provide:f.Lbi,useValue:e.bD},{provide:f.g9A,useValue:function dt(){v.makeCurrent(),x.init()},multi:!0},{provide:e.K0,useFactory:function de(){return(0,f.RDi)(document),document},deps:[]}]),P=[{provide:f.zSh,useValue:"root"},{provide:f.qLn,useFactory:function L(){return new f.qLn},deps:[]},{provide:G,useClass:Ie,multi:!0,deps:[e.K0,f.R0b,f.Lbi]},{provide:G,useClass:nt,multi:!0,deps:[e.K0]},{provide:De,useClass:De,deps:[X,Ne,f.AFp]},{provide:f.FYo,useExisting:De},{provide:re,useExisting:Ne},{provide:Ne,useClass:Ne,deps:[e.K0]},{provide:f.dDg,useClass:f.dDg,deps:[f.R0b]},{provide:X,useClass:X,deps:[G,f.R0b]},{provide:e.JF,useClass:k,deps:[]}];let N=(()=>{class Dt{constructor(At){if(At)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(At){return{ngModule:Dt,providers:[{provide:f.AFp,useValue:At.appId},{provide:R,useExisting:f.AFp},h]}}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(Dt,12))},Dt.\u0275mod=f.oAB({type:Dt}),Dt.\u0275inj=f.cJS({providers:P,imports:[e.ez,f.hGG]}),Dt})(),r=(()=>{class Dt{constructor(At){this._doc=At}getTitle(){return this._doc.title}setTitle(At){this._doc.title=At||""}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:function(At){let Ot=null;return Ot=At?new At:function n(){return new r((0,f.LFG)(e.K0))}(),Ot},providedIn:"root"}),Dt})();"undefined"!=typeof window&&window;let Ye=(()=>{class Dt{}return Dt.\u0275fac=function(At){return new(At||Dt)},Dt.\u0275prov=f.Yz7({token:Dt,factory:function(At){let Ot=null;return Ot=At?new(At||Dt):f.LFG(Ht),Ot},providedIn:"root"}),Dt})(),Ht=(()=>{class Dt extends Ye{constructor(At){super(),this._doc=At}sanitize(At,Ot){if(null==Ot)return null;switch(At){case f.q3G.NONE:return Ot;case f.q3G.HTML:return(0,f.qzn)(Ot,"HTML")?(0,f.z3N)(Ot):(0,f.EiD)(this._doc,String(Ot)).toString();case f.q3G.STYLE:return(0,f.qzn)(Ot,"Style")?(0,f.z3N)(Ot):Ot;case f.q3G.SCRIPT:if((0,f.qzn)(Ot,"Script"))return(0,f.z3N)(Ot);throw new Error("unsafe value used in a script context");case f.q3G.URL:return(0,f.yhl)(Ot),(0,f.qzn)(Ot,"URL")?(0,f.z3N)(Ot):(0,f.mCW)(String(Ot));case f.q3G.RESOURCE_URL:if((0,f.qzn)(Ot,"ResourceURL"))return(0,f.z3N)(Ot);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${At} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(At){return(0,f.JVY)(At)}bypassSecurityTrustStyle(At){return(0,f.L6k)(At)}bypassSecurityTrustScript(At){return(0,f.eBb)(At)}bypassSecurityTrustUrl(At){return(0,f.LAX)(At)}bypassSecurityTrustResourceUrl(At){return(0,f.pB0)(At)}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:function(At){let Ot=null;return Ot=At?new At:function mt(Dt){return new Ht(Dt.get(e.K0))}(f.LFG(f.zs3)),Ot},providedIn:"root"}),Dt})()},11735:(Ze,ge,d)=>{"use strict";d.d(ge,{gz:()=>bt,m2:()=>J,OD:()=>Ce,GZ:()=>es,wN:()=>Lt,F0:()=>Ni,rH:()=>Bn,yS:()=>po,Bz:()=>Ba,lC:()=>Nn});var e=d(5e3),f=d(5254),g=d(21086),v=d(591),m=d(36053),A=d(56498),s=d(84450),b=d(61221),R=d(88514),E=d(68896),h=d(71762),x=d(8929),k=d(92198),G=d(92821),X=d(34907),he=d(47314),re=d(35379),ce=d(24850),Pe=d(87545),se=d(72986),V=d(1059),F=d(92014),W=d(27221),te=d(21406),ae=d(87224),pe=d(61709),Be=d(22868),Fe=d(74327),ke=d(40537),De=d(89146),be=d(69808);class z{constructor(Q,Z){this.id=Q,this.url=Z}}class Ce extends z{constructor(Q,Z,xe="imperative",qe=null){super(Q,Z),this.navigationTrigger=xe,this.restoredState=qe}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class J extends z{constructor(Q,Z,xe){super(Q,Z),this.urlAfterRedirects=xe}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class I extends z{constructor(Q,Z,xe){super(Q,Z),this.reason=xe}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ie extends z{constructor(Q,Z,xe){super(Q,Z),this.error=xe}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Re extends z{constructor(Q,Z,xe,qe){super(Q,Z),this.urlAfterRedirects=xe,this.state=qe}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ze extends z{constructor(Q,Z,xe,qe){super(Q,Z),this.urlAfterRedirects=xe,this.state=qe}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fe extends z{constructor(Q,Z,xe,qe,ft){super(Q,Z),this.urlAfterRedirects=xe,this.state=qe,this.shouldActivate=ft}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ve extends z{constructor(Q,Z,xe,qe){super(Q,Z),this.urlAfterRedirects=xe,this.state=qe}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class We extends z{constructor(Q,Z,xe,qe){super(Q,Z),this.urlAfterRedirects=xe,this.state=qe}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nt{constructor(Q){this.route=Q}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class st{constructor(Q){this.route=Q}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class dt{constructor(Q){this.snapshot=Q}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class L{constructor(Q){this.snapshot=Q}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class de{constructor(Q){this.snapshot=Q}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class M{constructor(Q){this.snapshot=Q}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class S{constructor(Q,Z,xe){this.routerEvent=Q,this.position=Z,this.anchor=xe}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const P="primary";class N{constructor(Q){this.params=Q||{}}has(Q){return Object.prototype.hasOwnProperty.call(this.params,Q)}get(Q){if(this.has(Q)){const Z=this.params[Q];return Array.isArray(Z)?Z[0]:Z}return null}getAll(Q){if(this.has(Q)){const Z=this.params[Q];return Array.isArray(Z)?Z:[Z]}return[]}get keys(){return Object.keys(this.params)}}function ne(me){return new N(me)}const j="ngNavigationCancelingError";function Te(me){const Q=Error("NavigationCancelingError: "+me);return Q[j]=!0,Q}function r(me,Q,Z){const xe=Z.path.split("/");if(xe.length>me.length||"full"===Z.pathMatch&&(Q.hasChildren()||xe.lengthxe[ft]===qe)}return me===Q}function i(me){return Array.prototype.concat.apply([],me)}function c(me){return me.length>0?me[me.length-1]:null}function T(me,Q){for(const Z in me)me.hasOwnProperty(Z)&&Q(me[Z],Z)}function Se(me){return(0,e.CqO)(me)?me:(0,e.QGY)(me)?(0,f.D)(Promise.resolve(me)):(0,g.of)(me)}const Et={exact:function Vt(me,Q,Z){if(!H(me.segments,Q.segments)||!gt(me.segments,Q.segments,Z)||me.numberOfChildren!==Q.numberOfChildren)return!1;for(const xe in Q.children)if(!me.children[xe]||!Vt(me.children[xe],Q.children[xe],Z))return!1;return!0},subset:at},St={exact:function It(me,Q){return o(me,Q)},subset:function Mt(me,Q){return Object.keys(Q).length<=Object.keys(me).length&&Object.keys(Q).every(Z=>t(me[Z],Q[Z]))},ignored:()=>!0};function Ft(me,Q,Z){return Et[Z.paths](me.root,Q.root,Z.matrixParams)&&St[Z.queryParams](me.queryParams,Q.queryParams)&&!("exact"===Z.fragment&&me.fragment!==Q.fragment)}function at(me,Q,Z){return Ut(me,Q,Q.segments,Z)}function Ut(me,Q,Z,xe){if(me.segments.length>Z.length){const qe=me.segments.slice(0,Z.length);return!(!H(qe,Z)||Q.hasChildren()||!gt(qe,Z,xe))}if(me.segments.length===Z.length){if(!H(me.segments,Z)||!gt(me.segments,Z,xe))return!1;for(const qe in Q.children)if(!me.children[qe]||!at(me.children[qe],Q.children[qe],xe))return!1;return!0}{const qe=Z.slice(0,me.segments.length),ft=Z.slice(me.segments.length);return!!(H(me.segments,qe)&>(me.segments,qe,xe)&&me.children[P])&&Ut(me.children[P],Q,ft,xe)}}function gt(me,Q,Z){return Q.every((xe,qe)=>St[Z](me[qe].parameters,xe.parameters))}class xt{constructor(Q,Z,xe){this.root=Q,this.queryParams=Z,this.fragment=xe}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ne(this.queryParams)),this._queryParamMap}toString(){return Ye.serialize(this)}}class Ve{constructor(Q,Z){this.segments=Q,this.children=Z,this.parent=null,T(Z,(xe,qe)=>xe.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return mt(this)}}class $e{constructor(Q,Z){this.path=Q,this.parameters=Z}get parameterMap(){return this._parameterMap||(this._parameterMap=ne(this.parameters)),this._parameterMap}toString(){return li(this)}}function H(me,Q){return me.length===Q.length&&me.every((Z,xe)=>Z.path===Q[xe].path)}class Y{}class Le{parse(Q){const Z=new Xi(Q);return new xt(Z.parseRootSegment(),Z.parseQueryParams(),Z.parseFragment())}serialize(Q){const Z=`/${Ht(Q.root,!0)}`,xe=function Ti(me){const Q=Object.keys(me).map(Z=>{const xe=me[Z];return Array.isArray(xe)?xe.map(qe=>`${Dt(Z)}=${Dt(qe)}`).join("&"):`${Dt(Z)}=${Dt(xe)}`}).filter(Z=>!!Z);return Q.length?`?${Q.join("&")}`:""}(Q.queryParams);return`${Z}${xe}${"string"==typeof Q.fragment?`#${function wt(me){return encodeURI(me)}(Q.fragment)}`:""}`}}const Ye=new Le;function mt(me){return me.segments.map(Q=>li(Q)).join("/")}function Ht(me,Q){if(!me.hasChildren())return mt(me);if(Q){const Z=me.children[P]?Ht(me.children[P],!1):"",xe=[];return T(me.children,(qe,ft)=>{ft!==P&&xe.push(`${ft}:${Ht(qe,!1)}`)}),xe.length>0?`${Z}(${xe.join("//")})`:Z}{const Z=function ee(me,Q){let Z=[];return T(me.children,(xe,qe)=>{qe===P&&(Z=Z.concat(Q(xe,qe)))}),T(me.children,(xe,qe)=>{qe!==P&&(Z=Z.concat(Q(xe,qe)))}),Z}(me,(xe,qe)=>qe===P?[Ht(me.children[P],!1)]:[`${qe}:${Ht(xe,!1)}`]);return 1===Object.keys(me.children).length&&null!=me.children[P]?`${mt(me)}/${Z[0]}`:`${mt(me)}/(${Z.join("//")})`}}function qt(me){return encodeURIComponent(me).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Dt(me){return qt(me).replace(/%3B/gi,";")}function At(me){return qt(me).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ot(me){return decodeURIComponent(me)}function Wt(me){return Ot(me.replace(/\+/g,"%20"))}function li(me){return`${At(me.path)}${function gi(me){return Object.keys(me).map(Q=>`;${At(Q)}=${At(me[Q])}`).join("")}(me.parameters)}`}const Ri=/^[^\/()?;=#]+/;function Gi(me){const Q=me.match(Ri);return Q?Q[0]:""}const an=/^[^=?&#]+/,Wi=/^[^&#]+/;class Xi{constructor(Q){this.url=Q,this.remaining=Q}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ve([],{}):new Ve([],this.parseChildren())}parseQueryParams(){const Q={};if(this.consumeOptional("?"))do{this.parseQueryParam(Q)}while(this.consumeOptional("&"));return Q}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Q=[];for(this.peekStartsWith("(")||Q.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Q.push(this.parseSegment());let Z={};this.peekStartsWith("/(")&&(this.capture("/"),Z=this.parseParens(!0));let xe={};return this.peekStartsWith("(")&&(xe=this.parseParens(!1)),(Q.length>0||Object.keys(Z).length>0)&&(xe[P]=new Ve(Q,Z)),xe}parseSegment(){const Q=Gi(this.remaining);if(""===Q&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(Q),new $e(Ot(Q),this.parseMatrixParams())}parseMatrixParams(){const Q={};for(;this.consumeOptional(";");)this.parseParam(Q);return Q}parseParam(Q){const Z=Gi(this.remaining);if(!Z)return;this.capture(Z);let xe="";if(this.consumeOptional("=")){const qe=Gi(this.remaining);qe&&(xe=qe,this.capture(xe))}Q[Ot(Z)]=Ot(xe)}parseQueryParam(Q){const Z=function Qi(me){const Q=me.match(an);return Q?Q[0]:""}(this.remaining);if(!Z)return;this.capture(Z);let xe="";if(this.consumeOptional("=")){const Rt=function mn(me){const Q=me.match(Wi);return Q?Q[0]:""}(this.remaining);Rt&&(xe=Rt,this.capture(xe))}const qe=Wt(Z),ft=Wt(xe);if(Q.hasOwnProperty(qe)){let Rt=Q[qe];Array.isArray(Rt)||(Rt=[Rt],Q[qe]=Rt),Rt.push(ft)}else Q[qe]=ft}parseParens(Q){const Z={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const xe=Gi(this.remaining),qe=this.remaining[xe.length];if("/"!==qe&&")"!==qe&&";"!==qe)throw new Error(`Cannot parse url '${this.url}'`);let ft;xe.indexOf(":")>-1?(ft=xe.substr(0,xe.indexOf(":")),this.capture(ft),this.capture(":")):Q&&(ft=P);const Rt=this.parseChildren();Z[ft]=1===Object.keys(Rt).length?Rt[P]:new Ve([],Rt),this.consumeOptional("//")}return Z}peekStartsWith(Q){return this.remaining.startsWith(Q)}consumeOptional(Q){return!!this.peekStartsWith(Q)&&(this.remaining=this.remaining.substring(Q.length),!0)}capture(Q){if(!this.consumeOptional(Q))throw new Error(`Expected "${Q}".`)}}class et{constructor(Q){this._root=Q}get root(){return this._root.value}parent(Q){const Z=this.pathFromRoot(Q);return Z.length>1?Z[Z.length-2]:null}children(Q){const Z=Ct(Q,this._root);return Z?Z.children.map(xe=>xe.value):[]}firstChild(Q){const Z=Ct(Q,this._root);return Z&&Z.children.length>0?Z.children[0].value:null}siblings(Q){const Z=tt(Q,this._root);return Z.length<2?[]:Z[Z.length-2].children.map(qe=>qe.value).filter(qe=>qe!==Q)}pathFromRoot(Q){return tt(Q,this._root).map(Z=>Z.value)}}function Ct(me,Q){if(me===Q.value)return Q;for(const Z of Q.children){const xe=Ct(me,Z);if(xe)return xe}return null}function tt(me,Q){if(me===Q.value)return[Q];for(const Z of Q.children){const xe=tt(me,Z);if(xe.length)return xe.unshift(Q),xe}return[]}class He{constructor(Q,Z){this.value=Q,this.children=Z}toString(){return`TreeNode(${this.value})`}}function Qe(me){const Q={};return me&&me.children.forEach(Z=>Q[Z.value.outlet]=Z),Q}class D extends et{constructor(Q,Z){super(Q),this.snapshot=Z,en(this,Q)}toString(){return this.snapshot.toString()}}function ue(me,Q){const Z=function Xe(me,Q){const Rt=new bi([],{},{},"",{},P,Q,null,me.root,-1,{});return new wi("",new He(Rt,[]))}(me,Q),xe=new v.X([new $e("",{})]),qe=new v.X({}),ft=new v.X({}),Rt=new v.X({}),Nt=new v.X(""),Xt=new bt(xe,qe,Rt,Nt,ft,P,Q,Z.root);return Xt.snapshot=Z.root,new D(new He(Xt,[]),Z)}class bt{constructor(Q,Z,xe,qe,ft,Rt,Nt,Xt){this.url=Q,this.params=Z,this.queryParams=xe,this.fragment=qe,this.data=ft,this.outlet=Rt,this.component=Nt,this._futureSnapshot=Xt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ce.U)(Q=>ne(Q)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ce.U)(Q=>ne(Q)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Jt(me,Q="emptyOnly"){const Z=me.pathFromRoot;let xe=0;if("always"!==Q)for(xe=Z.length-1;xe>=1;){const qe=Z[xe],ft=Z[xe-1];if(qe.routeConfig&&""===qe.routeConfig.path)xe--;else{if(ft.component)break;xe--}}return function ti(me){return me.reduce((Q,Z)=>({params:Object.assign(Object.assign({},Q.params),Z.params),data:Object.assign(Object.assign({},Q.data),Z.data),resolve:Object.assign(Object.assign({},Q.resolve),Z._resolvedData)}),{params:{},data:{},resolve:{}})}(Z.slice(xe))}class bi{constructor(Q,Z,xe,qe,ft,Rt,Nt,Xt,Ai,Zi,Mi){this.url=Q,this.params=Z,this.queryParams=xe,this.fragment=qe,this.data=ft,this.outlet=Rt,this.component=Nt,this.routeConfig=Xt,this._urlSegment=Ai,this._lastPathIndex=Zi,this._resolve=Mi}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ne(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ne(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(xe=>xe.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class wi extends et{constructor(Q,Z){super(Z),this.url=Q,en(this,Z)}toString(){return on(this._root)}}function en(me,Q){Q.value._routerState=me,Q.children.forEach(Z=>en(me,Z))}function on(me){const Q=me.children.length>0?` { ${me.children.map(on).join(", ")} } `:"";return`${me.value}${Q}`}function Hi(me){if(me.snapshot){const Q=me.snapshot,Z=me._futureSnapshot;me.snapshot=Z,o(Q.queryParams,Z.queryParams)||me.queryParams.next(Z.queryParams),Q.fragment!==Z.fragment&&me.fragment.next(Z.fragment),o(Q.params,Z.params)||me.params.next(Z.params),function u(me,Q){if(me.length!==Q.length)return!1;for(let Z=0;Zo(Z.parameters,Q[xe].parameters))}(me.url,Q.url);return Z&&!(!me.parent!=!Q.parent)&&(!me.parent||Bi(me.parent,Q.parent))}function Di(me,Q,Z){if(Z&&me.shouldReuseRoute(Q.value,Z.value.snapshot)){const xe=Z.value;xe._futureSnapshot=Q.value;const qe=function xi(me,Q,Z){return Q.children.map(xe=>{for(const qe of Z.children)if(me.shouldReuseRoute(xe.value,qe.value.snapshot))return Di(me,xe,qe);return Di(me,xe)})}(me,Q,Z);return new He(xe,qe)}{if(me.shouldAttach(Q.value)){const ft=me.retrieve(Q.value);if(null!==ft){const Rt=ft.route;return Rt.value._futureSnapshot=Q.value,Rt.children=Q.children.map(Nt=>Di(me,Nt)),Rt}}const xe=function _n(me){return new bt(new v.X(me.url),new v.X(me.params),new v.X(me.queryParams),new v.X(me.fragment),new v.X(me.data),me.outlet,me.component,me)}(Q.value),qe=Q.children.map(ft=>Di(me,ft));return new He(xe,qe)}}function $i(me){return"object"==typeof me&&null!=me&&!me.outlets&&!me.segmentPath}function sn(me){return"object"==typeof me&&null!=me&&me.outlets}function Fi(me,Q,Z,xe,qe){let ft={};return xe&&T(xe,(Rt,Nt)=>{ft[Nt]=Array.isArray(Rt)?Rt.map(Xt=>`${Xt}`):`${Rt}`}),new xt(Z.root===me?Q:Ln(Z.root,me,Q),ft,qe)}function Ln(me,Q,Z){const xe={};return T(me.children,(qe,ft)=>{xe[ft]=qe===Q?Z:Ln(qe,Q,Z)}),new Ve(me.segments,xe)}class pt{constructor(Q,Z,xe){if(this.isAbsolute=Q,this.numberOfDoubleDots=Z,this.commands=xe,Q&&xe.length>0&&$i(xe[0]))throw new Error("Root segment cannot have matrix parameters");const qe=xe.find(sn);if(qe&&qe!==c(xe))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Je{constructor(Q,Z,xe){this.segmentGroup=Q,this.processChildren=Z,this.index=xe}}function Ue(me,Q,Z){if(me||(me=new Ve([],{})),0===me.segments.length&&me.hasChildren())return Pt(me,Q,Z);const xe=function Gt(me,Q,Z){let xe=0,qe=Q;const ft={match:!1,pathIndex:0,commandIndex:0};for(;qe=Z.length)return ft;const Rt=me.segments[qe],Nt=Z[xe];if(sn(Nt))break;const Xt=`${Nt}`,Ai=xe0&&void 0===Xt)break;if(Xt&&Ai&&"object"==typeof Ai&&void 0===Ai.outlets){if(!Ki(Xt,Ai,Rt))return ft;xe+=2}else{if(!Ki(Xt,{},Rt))return ft;xe++}qe++}return{match:!0,pathIndex:qe,commandIndex:xe}}(me,Q,Z),qe=Z.slice(xe.commandIndex);if(xe.match&&xe.pathIndex{"string"==typeof ft&&(ft=[ft]),null!==ft&&(qe[Rt]=Ue(me.children[Rt],Q,ft))}),T(me.children,(ft,Rt)=>{void 0===xe[Rt]&&(qe[Rt]=ft)}),new Ve(me.segments,qe)}}function Qt(me,Q,Z){const xe=me.segments.slice(0,Q);let qe=0;for(;qe{"string"==typeof Z&&(Z=[Z]),null!==Z&&(Q[xe]=Qt(new Ve([],{}),0,Z))}),Q}function ji(me){const Q={};return T(me,(Z,xe)=>Q[xe]=`${Z}`),Q}function Ki(me,Q,Z){return me==Z.path&&o(Q,Z.parameters)}class Un{constructor(Q,Z,xe,qe){this.routeReuseStrategy=Q,this.futureState=Z,this.currState=xe,this.forwardEvent=qe}activate(Q){const Z=this.futureState._root,xe=this.currState?this.currState._root:null;this.deactivateChildRoutes(Z,xe,Q),Hi(this.futureState.root),this.activateChildRoutes(Z,xe,Q)}deactivateChildRoutes(Q,Z,xe){const qe=Qe(Z);Q.children.forEach(ft=>{const Rt=ft.value.outlet;this.deactivateRoutes(ft,qe[Rt],xe),delete qe[Rt]}),T(qe,(ft,Rt)=>{this.deactivateRouteAndItsChildren(ft,xe)})}deactivateRoutes(Q,Z,xe){const qe=Q.value,ft=Z?Z.value:null;if(qe===ft)if(qe.component){const Rt=xe.getContext(qe.outlet);Rt&&this.deactivateChildRoutes(Q,Z,Rt.children)}else this.deactivateChildRoutes(Q,Z,xe);else ft&&this.deactivateRouteAndItsChildren(Z,xe)}deactivateRouteAndItsChildren(Q,Z){Q.value.component&&this.routeReuseStrategy.shouldDetach(Q.value.snapshot)?this.detachAndStoreRouteSubtree(Q,Z):this.deactivateRouteAndOutlet(Q,Z)}detachAndStoreRouteSubtree(Q,Z){const xe=Z.getContext(Q.value.outlet),qe=xe&&Q.value.component?xe.children:Z,ft=Qe(Q);for(const Rt of Object.keys(ft))this.deactivateRouteAndItsChildren(ft[Rt],qe);if(xe&&xe.outlet){const Rt=xe.outlet.detach(),Nt=xe.children.onOutletDeactivated();this.routeReuseStrategy.store(Q.value.snapshot,{componentRef:Rt,route:Q,contexts:Nt})}}deactivateRouteAndOutlet(Q,Z){const xe=Z.getContext(Q.value.outlet),qe=xe&&Q.value.component?xe.children:Z,ft=Qe(Q);for(const Rt of Object.keys(ft))this.deactivateRouteAndItsChildren(ft[Rt],qe);xe&&xe.outlet&&(xe.outlet.deactivate(),xe.children.onOutletDeactivated(),xe.attachRef=null,xe.resolver=null,xe.route=null)}activateChildRoutes(Q,Z,xe){const qe=Qe(Z);Q.children.forEach(ft=>{this.activateRoutes(ft,qe[ft.value.outlet],xe),this.forwardEvent(new M(ft.value.snapshot))}),Q.children.length&&this.forwardEvent(new L(Q.value.snapshot))}activateRoutes(Q,Z,xe){const qe=Q.value,ft=Z?Z.value:null;if(Hi(qe),qe===ft)if(qe.component){const Rt=xe.getOrCreateContext(qe.outlet);this.activateChildRoutes(Q,Z,Rt.children)}else this.activateChildRoutes(Q,Z,xe);else if(qe.component){const Rt=xe.getOrCreateContext(qe.outlet);if(this.routeReuseStrategy.shouldAttach(qe.snapshot)){const Nt=this.routeReuseStrategy.retrieve(qe.snapshot);this.routeReuseStrategy.store(qe.snapshot,null),Rt.children.onOutletReAttached(Nt.contexts),Rt.attachRef=Nt.componentRef,Rt.route=Nt.route.value,Rt.outlet&&Rt.outlet.attach(Nt.componentRef,Nt.route.value),Hi(Nt.route.value),this.activateChildRoutes(Q,null,Rt.children)}else{const Nt=function io(me){for(let Q=me.parent;Q;Q=Q.parent){const Z=Q.routeConfig;if(Z&&Z._loadedConfig)return Z._loadedConfig;if(Z&&Z.component)return null}return null}(qe.snapshot),Xt=Nt?Nt.module.componentFactoryResolver:null;Rt.attachRef=null,Rt.route=qe,Rt.resolver=Xt,Rt.outlet&&Rt.outlet.activateWith(qe,Xt),this.activateChildRoutes(Q,null,Rt.children)}}else this.activateChildRoutes(Q,null,xe)}}class Mn{constructor(Q,Z){this.routes=Q,this.module=Z}}function On(me){return"function"==typeof me}function zn(me){return me instanceof xt}const xn=Symbol("INITIAL_VALUE");function yn(){return(0,Pe.w)(me=>(0,m.aj)(me.map(Q=>Q.pipe((0,se.q)(1),(0,V.O)(xn)))).pipe((0,F.R)((Q,Z)=>{let xe=!1;return Z.reduce((qe,ft,Rt)=>qe!==xn?qe:(ft===xn&&(xe=!0),xe||!1!==ft&&Rt!==Z.length-1&&!zn(ft)?qe:ft),Q)},xn),(0,k.h)(Q=>Q!==xn),(0,ce.U)(Q=>zn(Q)?Q:!0===Q),(0,se.q)(1)))}class so{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Dn,this.attachRef=null}}class Dn{constructor(){this.contexts=new Map}onChildOutletCreated(Q,Z){const xe=this.getOrCreateContext(Q);xe.outlet=Z,this.contexts.set(Q,xe)}onChildOutletDestroyed(Q){const Z=this.getContext(Q);Z&&(Z.outlet=null,Z.attachRef=null)}onOutletDeactivated(){const Q=this.contexts;return this.contexts=new Map,Q}onOutletReAttached(Q){this.contexts=Q}getOrCreateContext(Q){let Z=this.getContext(Q);return Z||(Z=new so,this.contexts.set(Q,Z)),Z}getContext(Q){return this.contexts.get(Q)||null}}let Nn=(()=>{class me{constructor(Z,xe,qe,ft,Rt){this.parentContexts=Z,this.location=xe,this.resolver=qe,this.changeDetector=Rt,this.activated=null,this._activatedRoute=null,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.name=ft||P,Z.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const Z=this.parentContexts.getContext(this.name);Z&&Z.route&&(Z.attachRef?this.attach(Z.attachRef,Z.route):this.activateWith(Z.route,Z.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const Z=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Z.instance),Z}attach(Z,xe){this.activated=Z,this._activatedRoute=xe,this.location.insert(Z.hostView),this.attachEvents.emit(Z.instance)}deactivate(){if(this.activated){const Z=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Z)}}activateWith(Z,xe){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=Z;const Rt=(xe=xe||this.resolver).resolveComponentFactory(Z._futureSnapshot.routeConfig.component),Nt=this.parentContexts.getOrCreateContext(this.name).children,Xt=new co(Z,Nt,this.location.injector);this.activated=this.location.createComponent(Rt,this.location.length,Xt),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return me.\u0275fac=function(Z){return new(Z||me)(e.Y36(Dn),e.Y36(e.s_b),e.Y36(e._Vd),e.$8M("name"),e.Y36(e.sBO))},me.\u0275dir=e.lG2({type:me,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),me})();class co{constructor(Q,Z,xe){this.route=Q,this.childContexts=Z,this.parent=xe}get(Q,Z){return Q===bt?this.route:Q===Dn?this.childContexts:this.parent.get(Q,Z)}}let bo=(()=>{class me{}return me.\u0275fac=function(Z){return new(Z||me)},me.\u0275cmp=e.Xpm({type:me,selectors:[["ng-component"]],decls:1,vars:0,template:function(Z,xe){1&Z&&e._UZ(0,"router-outlet")},directives:[Nn],encapsulation:2}),me})();function ro(me,Q=""){for(let Z=0;Zvn(xe)===Q);return Z.push(...me.filter(xe=>vn(xe)!==Q)),Z}const kn={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Jn(me,Q,Z){var xe;if(""===Q.path)return"full"===Q.pathMatch&&(me.hasChildren()||Z.length>0)?Object.assign({},kn):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const ft=(Q.matcher||r)(Z,me,Q);if(!ft)return Object.assign({},kn);const Rt={};T(ft.posParams,(Xt,Ai)=>{Rt[Ai]=Xt.path});const Nt=ft.consumed.length>0?Object.assign(Object.assign({},Rt),ft.consumed[ft.consumed.length-1].parameters):Rt;return{matched:!0,consumedSegments:ft.consumed,lastChild:ft.consumed.length,parameters:Nt,positionalParamSegments:null!==(xe=ft.posParams)&&void 0!==xe?xe:{}}}function Zn(me,Q,Z,xe,qe="corrected"){if(Z.length>0&&function B(me,Q,Z){return Z.some(xe=>Ee(me,Q,xe)&&vn(xe)!==P)}(me,Z,xe)){const Rt=new Ve(Q,function ht(me,Q,Z,xe){const qe={};qe[P]=xe,xe._sourceSegment=me,xe._segmentIndexShift=Q.length;for(const ft of Z)if(""===ft.path&&vn(ft)!==P){const Rt=new Ve([],{});Rt._sourceSegment=me,Rt._segmentIndexShift=Q.length,qe[vn(ft)]=Rt}return qe}(me,Q,xe,new Ve(Z,me.children)));return Rt._sourceSegment=me,Rt._segmentIndexShift=Q.length,{segmentGroup:Rt,slicedSegments:[]}}if(0===Z.length&&function U(me,Q,Z){return Z.some(xe=>Ee(me,Q,xe))}(me,Z,xe)){const Rt=new Ve(me.segments,function Bo(me,Q,Z,xe,qe,ft){const Rt={};for(const Nt of xe)if(Ee(me,Z,Nt)&&!qe[vn(Nt)]){const Xt=new Ve([],{});Xt._sourceSegment=me,Xt._segmentIndexShift="legacy"===ft?me.segments.length:Q.length,Rt[vn(Nt)]=Xt}return Object.assign(Object.assign({},qe),Rt)}(me,Q,Z,xe,me.children,qe));return Rt._sourceSegment=me,Rt._segmentIndexShift=Q.length,{segmentGroup:Rt,slicedSegments:Z}}const ft=new Ve(me.segments,me.children);return ft._sourceSegment=me,ft._segmentIndexShift=Q.length,{segmentGroup:ft,slicedSegments:Z}}function Ee(me,Q,Z){return(!(me.hasChildren()||Q.length>0)||"full"!==Z.pathMatch)&&""===Z.path}function lt(me,Q,Z,xe){return!!(vn(me)===xe||xe!==P&&Ee(Q,Z,me))&&("**"===me.path||Jn(Q,me,Z).matched)}function _t(me,Q,Z){return 0===Q.length&&!me.children[Z]}class q{constructor(Q){this.segmentGroup=Q||null}}class we{constructor(Q){this.urlTree=Q}}function ie(me){return new A.y(Q=>Q.error(new q(me)))}function Ke(me){return new A.y(Q=>Q.error(new we(me)))}function yt(me){return new A.y(Q=>Q.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${me}'`)))}class oi{constructor(Q,Z,xe,qe,ft){this.configLoader=Z,this.urlSerializer=xe,this.urlTree=qe,this.config=ft,this.allowRedirects=!0,this.ngModule=Q.get(e.h0i)}apply(){const Q=Zn(this.urlTree.root,[],[],this.config).segmentGroup,Z=new Ve(Q.segments,Q.children);return this.expandSegmentGroup(this.ngModule,this.config,Z,P).pipe((0,ce.U)(ft=>this.createUrlTree(hi(ft),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,W.K)(ft=>{if(ft instanceof we)return this.allowRedirects=!1,this.match(ft.urlTree);throw ft instanceof q?this.noMatchError(ft):ft}))}match(Q){return this.expandSegmentGroup(this.ngModule,this.config,Q.root,P).pipe((0,ce.U)(qe=>this.createUrlTree(hi(qe),Q.queryParams,Q.fragment))).pipe((0,W.K)(qe=>{throw qe instanceof q?this.noMatchError(qe):qe}))}noMatchError(Q){return new Error(`Cannot match any routes. URL Segment: '${Q.segmentGroup}'`)}createUrlTree(Q,Z,xe){const qe=Q.segments.length>0?new Ve([],{[P]:Q}):Q;return new xt(qe,Z,xe)}expandSegmentGroup(Q,Z,xe,qe){return 0===xe.segments.length&&xe.hasChildren()?this.expandChildren(Q,Z,xe).pipe((0,ce.U)(ft=>new Ve([],ft))):this.expandSegment(Q,xe,Z,xe.segments,qe,!0)}expandChildren(Q,Z,xe){const qe=[];for(const ft of Object.keys(xe.children))"primary"===ft?qe.unshift(ft):qe.push(ft);return(0,f.D)(qe).pipe((0,te.b)(ft=>{const Rt=xe.children[ft],Nt=gn(Z,ft);return this.expandSegmentGroup(Q,Nt,Rt,ft).pipe((0,ce.U)(Xt=>({segment:Xt,outlet:ft})))}),(0,F.R)((ft,Rt)=>(ft[Rt.outlet]=Rt.segment,ft),{}),function Ne(me,Q){const Z=arguments.length>=2;return xe=>xe.pipe(me?(0,k.h)((qe,ft)=>me(qe,ft,xe)):re.y,(0,G.h)(1),Z?(0,he.d)(Q):(0,X.T)(()=>new s.K))}())}expandSegment(Q,Z,xe,qe,ft,Rt){return(0,f.D)(xe).pipe((0,te.b)(Nt=>this.expandSegmentAgainstRoute(Q,Z,xe,Nt,qe,ft,Rt).pipe((0,W.K)(Ai=>{if(Ai instanceof q)return(0,g.of)(null);throw Ai}))),(0,ae.P)(Nt=>!!Nt),(0,W.K)((Nt,Xt)=>{if(Nt instanceof s.K||"EmptyError"===Nt.name){if(_t(Z,qe,ft))return(0,g.of)(new Ve([],{}));throw new q(Z)}throw Nt}))}expandSegmentAgainstRoute(Q,Z,xe,qe,ft,Rt,Nt){return lt(qe,Z,ft,Rt)?void 0===qe.redirectTo?this.matchSegmentAgainstRoute(Q,Z,qe,ft,Rt):Nt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(Q,Z,xe,qe,ft,Rt):ie(Z):ie(Z)}expandSegmentAgainstRouteUsingRedirect(Q,Z,xe,qe,ft,Rt){return"**"===qe.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(Q,xe,qe,Rt):this.expandRegularSegmentAgainstRouteUsingRedirect(Q,Z,xe,qe,ft,Rt)}expandWildCardWithParamsAgainstRouteUsingRedirect(Q,Z,xe,qe){const ft=this.applyRedirectCommands([],xe.redirectTo,{});return xe.redirectTo.startsWith("/")?Ke(ft):this.lineralizeSegments(xe,ft).pipe((0,pe.zg)(Rt=>{const Nt=new Ve(Rt,{});return this.expandSegment(Q,Nt,Z,Rt,qe,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(Q,Z,xe,qe,ft,Rt){const{matched:Nt,consumedSegments:Xt,lastChild:Ai,positionalParamSegments:Zi}=Jn(Z,qe,ft);if(!Nt)return ie(Z);const Mi=this.applyRedirectCommands(Xt,qe.redirectTo,Zi);return qe.redirectTo.startsWith("/")?Ke(Mi):this.lineralizeSegments(qe,Mi).pipe((0,pe.zg)(nn=>this.expandSegment(Q,Z,xe,nn.concat(ft.slice(Ai)),Rt,!1)))}matchSegmentAgainstRoute(Q,Z,xe,qe,ft){if("**"===xe.path)return xe.loadChildren?(xe._loadedConfig?(0,g.of)(xe._loadedConfig):this.configLoader.load(Q.injector,xe)).pipe((0,ce.U)(nn=>(xe._loadedConfig=nn,new Ve(qe,{})))):(0,g.of)(new Ve(qe,{}));const{matched:Rt,consumedSegments:Nt,lastChild:Xt}=Jn(Z,xe,qe);if(!Rt)return ie(Z);const Ai=qe.slice(Xt);return this.getChildConfig(Q,xe,qe).pipe((0,pe.zg)(Mi=>{const nn=Mi.module,rn=Mi.routes,{segmentGroup:ls,slicedSegments:vo}=Zn(Z,Nt,Ai,rn),To=new Ve(ls.segments,ls.children);if(0===vo.length&&To.hasChildren())return this.expandChildren(nn,rn,To).pipe((0,ce.U)(ts=>new Ve(Nt,ts)));if(0===rn.length&&0===vo.length)return(0,g.of)(new Ve(Nt,{}));const Do=vn(xe)===ft;return this.expandSegment(nn,To,rn,vo,Do?P:ft,!0).pipe((0,ce.U)(Io=>new Ve(Nt.concat(Io.segments),Io.children)))}))}getChildConfig(Q,Z,xe){return Z.children?(0,g.of)(new Mn(Z.children,Q)):Z.loadChildren?void 0!==Z._loadedConfig?(0,g.of)(Z._loadedConfig):this.runCanLoadGuards(Q.injector,Z,xe).pipe((0,pe.zg)(qe=>qe?this.configLoader.load(Q.injector,Z).pipe((0,ce.U)(ft=>(Z._loadedConfig=ft,ft))):function Zt(me){return new A.y(Q=>Q.error(Te(`Cannot load children because the guard of the route "path: '${me.path}'" returned false`)))}(Z))):(0,g.of)(new Mn([],Q))}runCanLoadGuards(Q,Z,xe){const qe=Z.canLoad;if(!qe||0===qe.length)return(0,g.of)(!0);const ft=qe.map(Rt=>{const Nt=Q.get(Rt);let Xt;if(function ao(me){return me&&On(me.canLoad)}(Nt))Xt=Nt.canLoad(Z,xe);else{if(!On(Nt))throw new Error("Invalid CanLoad guard");Xt=Nt(Z,xe)}return Se(Xt)});return(0,g.of)(ft).pipe(yn(),(0,Be.b)(Rt=>{if(!zn(Rt))return;const Nt=Te(`Redirecting to "${this.urlSerializer.serialize(Rt)}"`);throw Nt.url=Rt,Nt}),(0,ce.U)(Rt=>!0===Rt))}lineralizeSegments(Q,Z){let xe=[],qe=Z.root;for(;;){if(xe=xe.concat(qe.segments),0===qe.numberOfChildren)return(0,g.of)(xe);if(qe.numberOfChildren>1||!qe.children[P])return yt(Q.redirectTo);qe=qe.children[P]}}applyRedirectCommands(Q,Z,xe){return this.applyRedirectCreatreUrlTree(Z,this.urlSerializer.parse(Z),Q,xe)}applyRedirectCreatreUrlTree(Q,Z,xe,qe){const ft=this.createSegmentGroup(Q,Z.root,xe,qe);return new xt(ft,this.createQueryParams(Z.queryParams,this.urlTree.queryParams),Z.fragment)}createQueryParams(Q,Z){const xe={};return T(Q,(qe,ft)=>{if("string"==typeof qe&&qe.startsWith(":")){const Nt=qe.substring(1);xe[ft]=Z[Nt]}else xe[ft]=qe}),xe}createSegmentGroup(Q,Z,xe,qe){const ft=this.createSegments(Q,Z.segments,xe,qe);let Rt={};return T(Z.children,(Nt,Xt)=>{Rt[Xt]=this.createSegmentGroup(Q,Nt,xe,qe)}),new Ve(ft,Rt)}createSegments(Q,Z,xe,qe){return Z.map(ft=>ft.path.startsWith(":")?this.findPosParam(Q,ft,qe):this.findOrReturn(ft,xe))}findPosParam(Q,Z,xe){const qe=xe[Z.path.substring(1)];if(!qe)throw new Error(`Cannot redirect to '${Q}'. Cannot find '${Z.path}'.`);return qe}findOrReturn(Q,Z){let xe=0;for(const qe of Z){if(qe.path===Q.path)return Z.splice(xe),qe;xe++}return Q}}function hi(me){const Q={};for(const xe of Object.keys(me.children)){const ft=hi(me.children[xe]);(ft.segments.length>0||ft.hasChildren())&&(Q[xe]=ft)}return function ui(me){if(1===me.numberOfChildren&&me.children[P]){const Q=me.children[P];return new Ve(me.segments.concat(Q.segments),Q.children)}return me}(new Ve(me.segments,Q))}class vi{constructor(Q){this.path=Q,this.route=this.path[this.path.length-1]}}class ki{constructor(Q,Z){this.component=Q,this.route=Z}}function Oe(me,Q,Z){const xe=me._root;return Bt(xe,Q?Q._root:null,Z,[xe.value])}function Ae(me,Q,Z){const xe=function ct(me){if(!me)return null;for(let Q=me.parent;Q;Q=Q.parent){const Z=Q.routeConfig;if(Z&&Z._loadedConfig)return Z._loadedConfig}return null}(Q);return(xe?xe.module.injector:Z).get(me)}function Bt(me,Q,Z,xe,qe={canDeactivateChecks:[],canActivateChecks:[]}){const ft=Qe(Q);return me.children.forEach(Rt=>{(function pi(me,Q,Z,xe,qe={canDeactivateChecks:[],canActivateChecks:[]}){const ft=me.value,Rt=Q?Q.value:null,Nt=Z?Z.getContext(me.value.outlet):null;if(Rt&&ft.routeConfig===Rt.routeConfig){const Xt=function Ui(me,Q,Z){if("function"==typeof Z)return Z(me,Q);switch(Z){case"pathParamsChange":return!H(me.url,Q.url);case"pathParamsOrQueryParamsChange":return!H(me.url,Q.url)||!o(me.queryParams,Q.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Bi(me,Q)||!o(me.queryParams,Q.queryParams);default:return!Bi(me,Q)}}(Rt,ft,ft.routeConfig.runGuardsAndResolvers);Xt?qe.canActivateChecks.push(new vi(xe)):(ft.data=Rt.data,ft._resolvedData=Rt._resolvedData),Bt(me,Q,ft.component?Nt?Nt.children:null:Z,xe,qe),Xt&&Nt&&Nt.outlet&&Nt.outlet.isActivated&&qe.canDeactivateChecks.push(new ki(Nt.outlet.component,Rt))}else Rt&&tn(Q,Nt,qe),qe.canActivateChecks.push(new vi(xe)),Bt(me,null,ft.component?Nt?Nt.children:null:Z,xe,qe)})(Rt,ft[Rt.value.outlet],Z,xe.concat([Rt.value]),qe),delete ft[Rt.value.outlet]}),T(ft,(Rt,Nt)=>tn(Rt,Z.getContext(Nt),qe)),qe}function tn(me,Q,Z){const xe=Qe(me),qe=me.value;T(xe,(ft,Rt)=>{tn(ft,qe.component?Q?Q.children.getContext(Rt):null:Q,Z)}),Z.canDeactivateChecks.push(new ki(qe.component&&Q&&Q.outlet&&Q.outlet.isActivated?Q.outlet.component:null,qe))}class zi{}function dn(me){return new A.y(Q=>Q.error(me))}class Rn{constructor(Q,Z,xe,qe,ft,Rt){this.rootComponentType=Q,this.config=Z,this.urlTree=xe,this.url=qe,this.paramsInheritanceStrategy=ft,this.relativeLinkResolution=Rt}recognize(){const Q=Zn(this.urlTree.root,[],[],this.config.filter(Rt=>void 0===Rt.redirectTo),this.relativeLinkResolution).segmentGroup,Z=this.processSegmentGroup(this.config,Q,P);if(null===Z)return null;const xe=new bi([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},P,this.rootComponentType,null,this.urlTree.root,-1,{}),qe=new He(xe,Z),ft=new wi(this.url,qe);return this.inheritParamsAndData(ft._root),ft}inheritParamsAndData(Q){const Z=Q.value,xe=Jt(Z,this.paramsInheritanceStrategy);Z.params=Object.freeze(xe.params),Z.data=Object.freeze(xe.data),Q.children.forEach(qe=>this.inheritParamsAndData(qe))}processSegmentGroup(Q,Z,xe){return 0===Z.segments.length&&Z.hasChildren()?this.processChildren(Q,Z):this.processSegment(Q,Z,Z.segments,xe)}processChildren(Q,Z){const xe=[];for(const ft of Object.keys(Z.children)){const Rt=Z.children[ft],Nt=gn(Q,ft),Xt=this.processSegmentGroup(Nt,Rt,ft);if(null===Xt)return null;xe.push(...Xt)}const qe=So(xe);return function qn(me){me.sort((Q,Z)=>Q.value.outlet===P?-1:Z.value.outlet===P?1:Q.value.outlet.localeCompare(Z.value.outlet))}(qe),qe}processSegment(Q,Z,xe,qe){for(const ft of Q){const Rt=this.processSegmentAgainstRoute(ft,Z,xe,qe);if(null!==Rt)return Rt}return _t(Z,xe,qe)?[]:null}processSegmentAgainstRoute(Q,Z,xe,qe){if(Q.redirectTo||!lt(Q,Z,xe,qe))return null;let ft,Rt=[],Nt=[];if("**"===Q.path){const rn=xe.length>0?c(xe).parameters:{};ft=new bi(xe,rn,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Qn(Q),vn(Q),Q.component,Q,pn(Z),En(Z)+xe.length,Xn(Q))}else{const rn=Jn(Z,Q,xe);if(!rn.matched)return null;Rt=rn.consumedSegments,Nt=xe.slice(rn.lastChild),ft=new bi(Rt,rn.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Qn(Q),vn(Q),Q.component,Q,pn(Z),En(Z)+Rt.length,Xn(Q))}const Xt=function ln(me){return me.children?me.children:me.loadChildren?me._loadedConfig.routes:[]}(Q),{segmentGroup:Ai,slicedSegments:Zi}=Zn(Z,Rt,Nt,Xt.filter(rn=>void 0===rn.redirectTo),this.relativeLinkResolution);if(0===Zi.length&&Ai.hasChildren()){const rn=this.processChildren(Xt,Ai);return null===rn?null:[new He(ft,rn)]}if(0===Xt.length&&0===Zi.length)return[new He(ft,[])];const Mi=vn(Q)===qe,nn=this.processSegment(Xt,Ai,Zi,Mi?P:qe);return null===nn?null:[new He(ft,nn)]}}function Xo(me){const Q=me.value.routeConfig;return Q&&""===Q.path&&void 0===Q.redirectTo}function So(me){const Q=[],Z=new Set;for(const xe of me){if(!Xo(xe)){Q.push(xe);continue}const qe=Q.find(ft=>xe.value.routeConfig===ft.value.routeConfig);void 0!==qe?(qe.children.push(...xe.children),Z.add(qe)):Q.push(xe)}for(const xe of Z){const qe=So(xe.children);Q.push(new He(xe.value,qe))}return Q.filter(xe=>!Z.has(xe))}function pn(me){let Q=me;for(;Q._sourceSegment;)Q=Q._sourceSegment;return Q}function En(me){let Q=me,Z=Q._segmentIndexShift?Q._segmentIndexShift:0;for(;Q._sourceSegment;)Q=Q._sourceSegment,Z+=Q._segmentIndexShift?Q._segmentIndexShift:0;return Z-1}function Qn(me){return me.data||{}}function Xn(me){return me.resolve||{}}function it(me){return[...Object.keys(me),...Object.getOwnPropertySymbols(me)]}function ut(me){return(0,Pe.w)(Q=>{const Z=me(Q);return Z?(0,f.D)(Z).pipe((0,ce.U)(()=>Q)):(0,g.of)(Q)})}class Lt{}class ri extends class $t{shouldDetach(Q){return!1}store(Q,Z){}shouldAttach(Q){return!1}retrieve(Q){return null}shouldReuseRoute(Q,Z){return Q.routeConfig===Z.routeConfig}}{}const di=new e.OlP("ROUTES");class ai{constructor(Q,Z,xe,qe){this.injector=Q,this.compiler=Z,this.onLoadStartListener=xe,this.onLoadEndListener=qe}load(Q,Z){if(Z._loader$)return Z._loader$;this.onLoadStartListener&&this.onLoadStartListener(Z);const qe=this.loadModuleFactory(Z.loadChildren).pipe((0,ce.U)(ft=>{this.onLoadEndListener&&this.onLoadEndListener(Z);const Rt=ft.create(Q);return new Mn(i(Rt.injector.get(di,void 0,e.XFs.Self|e.XFs.Optional)).map(In),Rt)}),(0,W.K)(ft=>{throw Z._loader$=void 0,ft}));return Z._loader$=new h.c(qe,()=>new x.xQ).pipe((0,Fe.x)()),Z._loader$}loadModuleFactory(Q){return Se(Q()).pipe((0,pe.zg)(Z=>Z instanceof e.YKP?(0,g.of)(Z):(0,f.D)(this.compiler.compileModuleAsync(Z))))}}class Vi{shouldProcessUrl(Q){return!0}extract(Q){return Q}merge(Q,Z){return Q}}function fn(me){throw me}function Gn(me,Q,Z){return Q.parse("/")}function jn(me,Q){return(0,g.of)(null)}const Yi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Tn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ni=(()=>{class me{constructor(Z,xe,qe,ft,Rt,Nt,Xt){this.rootComponentType=Z,this.urlSerializer=xe,this.rootContexts=qe,this.location=ft,this.config=Xt,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new x.xQ,this.errorHandler=fn,this.malformedUriErrorHandler=Gn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:jn,afterPreactivation:jn},this.urlHandlingStrategy=new Vi,this.routeReuseStrategy=new ri,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=Rt.get(e.h0i),this.console=Rt.get(e.c2e);const Mi=Rt.get(e.R0b);this.isNgZoneEnabled=Mi instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(Xt),this.currentUrlTree=function je(){return new xt(new Ve([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ai(Rt,Nt,nn=>this.triggerEvent(new nt(nn)),nn=>this.triggerEvent(new st(nn))),this.routerState=ue(this.currentUrlTree,this.rootComponentType),this.transitions=new v.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var Z;return null===(Z=this.location.getState())||void 0===Z?void 0:Z.\u0275routerPageId}setupNavigations(Z){const xe=this.events;return Z.pipe((0,k.h)(qe=>0!==qe.id),(0,ce.U)(qe=>Object.assign(Object.assign({},qe),{extractedUrl:this.urlHandlingStrategy.extract(qe.rawUrl)})),(0,Pe.w)(qe=>{let ft=!1,Rt=!1;return(0,g.of)(qe).pipe((0,Be.b)(Nt=>{this.currentNavigation={id:Nt.id,initialUrl:Nt.currentRawUrl,extractedUrl:Nt.extractedUrl,trigger:Nt.source,extras:Nt.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Pe.w)(Nt=>{const Xt=this.browserUrlTree.toString(),Ai=!this.navigated||Nt.extractedUrl.toString()!==Xt||Xt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Ai)&&this.urlHandlingStrategy.shouldProcessUrl(Nt.rawUrl))return Si(Nt.source)&&(this.browserUrlTree=Nt.extractedUrl),(0,g.of)(Nt).pipe((0,Pe.w)(Mi=>{const nn=this.transitions.getValue();return xe.next(new Ce(Mi.id,this.serializeUrl(Mi.extractedUrl),Mi.source,Mi.restoredState)),nn!==this.transitions.getValue()?E.E:Promise.resolve(Mi)}),function _i(me,Q,Z,xe){return(0,Pe.w)(qe=>function Yt(me,Q,Z,xe,qe){return new oi(me,Q,Z,xe,qe).apply()}(me,Q,Z,qe.extractedUrl,xe).pipe((0,ce.U)(ft=>Object.assign(Object.assign({},qe),{urlAfterRedirects:ft}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Be.b)(Mi=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:Mi.urlAfterRedirects})}),function ho(me,Q,Z,xe,qe){return(0,pe.zg)(ft=>function bn(me,Q,Z,xe,qe="emptyOnly",ft="legacy"){try{const Rt=new Rn(me,Q,Z,xe,qe,ft).recognize();return null===Rt?dn(new zi):(0,g.of)(Rt)}catch(Rt){return dn(Rt)}}(me,Q,ft.urlAfterRedirects,Z(ft.urlAfterRedirects),xe,qe).pipe((0,ce.U)(Rt=>Object.assign(Object.assign({},ft),{targetSnapshot:Rt}))))}(this.rootComponentType,this.config,Mi=>this.serializeUrl(Mi),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Be.b)(Mi=>{if("eager"===this.urlUpdateStrategy){if(!Mi.extras.skipLocationChange){const rn=this.urlHandlingStrategy.merge(Mi.urlAfterRedirects,Mi.rawUrl);this.setBrowserUrl(rn,Mi)}this.browserUrlTree=Mi.urlAfterRedirects}const nn=new Re(Mi.id,this.serializeUrl(Mi.extractedUrl),this.serializeUrl(Mi.urlAfterRedirects),Mi.targetSnapshot);xe.next(nn)}));if(Ai&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:nn,extractedUrl:rn,source:ls,restoredState:vo,extras:To}=Nt,Do=new Ce(nn,this.serializeUrl(rn),ls,vo);xe.next(Do);const us=ue(rn,this.rootComponentType).snapshot;return(0,g.of)(Object.assign(Object.assign({},Nt),{targetSnapshot:us,urlAfterRedirects:rn,extras:Object.assign(Object.assign({},To),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=Nt.rawUrl,Nt.resolve(null),E.E}),ut(Nt=>{const{targetSnapshot:Xt,id:Ai,extractedUrl:Zi,rawUrl:Mi,extras:{skipLocationChange:nn,replaceUrl:rn}}=Nt;return this.hooks.beforePreactivation(Xt,{navigationId:Ai,appliedUrlTree:Zi,rawUrlTree:Mi,skipLocationChange:!!nn,replaceUrl:!!rn})}),(0,Be.b)(Nt=>{const Xt=new ze(Nt.id,this.serializeUrl(Nt.extractedUrl),this.serializeUrl(Nt.urlAfterRedirects),Nt.targetSnapshot);this.triggerEvent(Xt)}),(0,ce.U)(Nt=>Object.assign(Object.assign({},Nt),{guards:Oe(Nt.targetSnapshot,Nt.currentSnapshot,this.rootContexts)})),function Yn(me,Q){return(0,pe.zg)(Z=>{const{targetSnapshot:xe,currentSnapshot:qe,guards:{canActivateChecks:ft,canDeactivateChecks:Rt}}=Z;return 0===Rt.length&&0===ft.length?(0,g.of)(Object.assign(Object.assign({},Z),{guardsResult:!0})):function Vn(me,Q,Z,xe){return(0,f.D)(me).pipe((0,pe.zg)(qe=>function mi(me,Q,Z,xe,qe){const ft=Q&&Q.routeConfig?Q.routeConfig.canDeactivate:null;if(!ft||0===ft.length)return(0,g.of)(!0);const Rt=ft.map(Nt=>{const Xt=Ae(Nt,Q,qe);let Ai;if(function oo(me){return me&&On(me.canDeactivate)}(Xt))Ai=Se(Xt.canDeactivate(me,Q,Z,xe));else{if(!On(Xt))throw new Error("Invalid CanDeactivate guard");Ai=Se(Xt(me,Q,Z,xe))}return Ai.pipe((0,ae.P)())});return(0,g.of)(Rt).pipe(yn())}(qe.component,qe.route,Z,Q,xe)),(0,ae.P)(qe=>!0!==qe,!0))}(Rt,xe,qe,me).pipe((0,pe.zg)(Nt=>Nt&&function Ao(me){return"boolean"==typeof me}(Nt)?function uo(me,Q,Z,xe){return(0,f.D)(Q).pipe((0,te.b)(qe=>(0,b.z)(function ni(me,Q){return null!==me&&Q&&Q(new dt(me)),(0,g.of)(!0)}(qe.route.parent,xe),function Qo(me,Q){return null!==me&&Q&&Q(new de(me)),(0,g.of)(!0)}(qe.route,xe),function Ei(me,Q,Z){const xe=Q[Q.length-1],ft=Q.slice(0,Q.length-1).reverse().map(Rt=>function ye(me){const Q=me.routeConfig?me.routeConfig.canActivateChild:null;return Q&&0!==Q.length?{node:me,guards:Q}:null}(Rt)).filter(Rt=>null!==Rt).map(Rt=>(0,R.P)(()=>{const Nt=Rt.guards.map(Xt=>{const Ai=Ae(Xt,Rt.node,Z);let Zi;if(function No(me){return me&&On(me.canActivateChild)}(Ai))Zi=Se(Ai.canActivateChild(xe,me));else{if(!On(Ai))throw new Error("Invalid CanActivateChild guard");Zi=Se(Ai(xe,me))}return Zi.pipe((0,ae.P)())});return(0,g.of)(Nt).pipe(yn())}));return(0,g.of)(ft).pipe(yn())}(me,qe.path,Z),function si(me,Q,Z){const xe=Q.routeConfig?Q.routeConfig.canActivate:null;if(!xe||0===xe.length)return(0,g.of)(!0);const qe=xe.map(ft=>(0,R.P)(()=>{const Rt=Ae(ft,Q,Z);let Nt;if(function no(me){return me&&On(me.canActivate)}(Rt))Nt=Se(Rt.canActivate(Q,me));else{if(!On(Rt))throw new Error("Invalid CanActivate guard");Nt=Se(Rt(Q,me))}return Nt.pipe((0,ae.P)())}));return(0,g.of)(qe).pipe(yn())}(me,qe.route,Z))),(0,ae.P)(qe=>!0!==qe,!0))}(xe,ft,me,Q):(0,g.of)(Nt)),(0,ce.U)(Nt=>Object.assign(Object.assign({},Z),{guardsResult:Nt})))})}(this.ngModule.injector,Nt=>this.triggerEvent(Nt)),(0,Be.b)(Nt=>{if(zn(Nt.guardsResult)){const Ai=Te(`Redirecting to "${this.serializeUrl(Nt.guardsResult)}"`);throw Ai.url=Nt.guardsResult,Ai}const Xt=new fe(Nt.id,this.serializeUrl(Nt.extractedUrl),this.serializeUrl(Nt.urlAfterRedirects),Nt.targetSnapshot,!!Nt.guardsResult);this.triggerEvent(Xt)}),(0,k.h)(Nt=>!!Nt.guardsResult||(this.restoreHistory(Nt),this.cancelNavigationTransition(Nt,""),!1)),ut(Nt=>{if(Nt.guards.canActivateChecks.length)return(0,g.of)(Nt).pipe((0,Be.b)(Xt=>{const Ai=new ve(Xt.id,this.serializeUrl(Xt.extractedUrl),this.serializeUrl(Xt.urlAfterRedirects),Xt.targetSnapshot);this.triggerEvent(Ai)}),(0,Pe.w)(Xt=>{let Ai=!1;return(0,g.of)(Xt).pipe(function sr(me,Q){return(0,pe.zg)(Z=>{const{targetSnapshot:xe,guards:{canActivateChecks:qe}}=Z;if(!qe.length)return(0,g.of)(Z);let ft=0;return(0,f.D)(qe).pipe((0,te.b)(Rt=>function rr(me,Q,Z,xe){return function le(me,Q,Z,xe){const qe=it(me);if(0===qe.length)return(0,g.of)({});const ft={};return(0,f.D)(qe).pipe((0,pe.zg)(Rt=>function Me(me,Q,Z,xe){const qe=Ae(me,Q,xe);return Se(qe.resolve?qe.resolve(Q,Z):qe(Q,Z))}(me[Rt],Q,Z,xe).pipe((0,Be.b)(Nt=>{ft[Rt]=Nt}))),(0,G.h)(1),(0,pe.zg)(()=>it(ft).length===qe.length?(0,g.of)(ft):E.E))}(me._resolve,me,Q,xe).pipe((0,ce.U)(ft=>(me._resolvedData=ft,me.data=Object.assign(Object.assign({},me.data),Jt(me,Z).resolve),null)))}(Rt.route,xe,me,Q)),(0,Be.b)(()=>ft++),(0,G.h)(1),(0,pe.zg)(Rt=>ft===qe.length?(0,g.of)(Z):E.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Be.b)({next:()=>Ai=!0,complete:()=>{Ai||(this.restoreHistory(Xt),this.cancelNavigationTransition(Xt,"At least one route resolver didn't emit any value."))}}))}),(0,Be.b)(Xt=>{const Ai=new We(Xt.id,this.serializeUrl(Xt.extractedUrl),this.serializeUrl(Xt.urlAfterRedirects),Xt.targetSnapshot);this.triggerEvent(Ai)}))}),ut(Nt=>{const{targetSnapshot:Xt,id:Ai,extractedUrl:Zi,rawUrl:Mi,extras:{skipLocationChange:nn,replaceUrl:rn}}=Nt;return this.hooks.afterPreactivation(Xt,{navigationId:Ai,appliedUrlTree:Zi,rawUrlTree:Mi,skipLocationChange:!!nn,replaceUrl:!!rn})}),(0,ce.U)(Nt=>{const Xt=function cn(me,Q,Z){const xe=Di(me,Q._root,Z?Z._root:void 0);return new D(xe,Q)}(this.routeReuseStrategy,Nt.targetSnapshot,Nt.currentRouterState);return Object.assign(Object.assign({},Nt),{targetRouterState:Xt})}),(0,Be.b)(Nt=>{this.currentUrlTree=Nt.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(Nt.urlAfterRedirects,Nt.rawUrl),this.routerState=Nt.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Nt.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Nt),this.browserUrlTree=Nt.urlAfterRedirects)}),((me,Q,Z)=>(0,ce.U)(xe=>(new Un(Q,xe.targetRouterState,xe.currentRouterState,Z).activate(me),xe)))(this.rootContexts,this.routeReuseStrategy,Nt=>this.triggerEvent(Nt)),(0,Be.b)({next(){ft=!0},complete(){ft=!0}}),(0,ke.x)(()=>{var Nt;ft||Rt||this.cancelNavigationTransition(qe,`Navigation ID ${qe.id} is not equal to the current navigation id ${this.navigationId}`),(null===(Nt=this.currentNavigation)||void 0===Nt?void 0:Nt.id)===qe.id&&(this.currentNavigation=null)}),(0,W.K)(Nt=>{if(Rt=!0,function n(me){return me&&me[j]}(Nt)){const Xt=zn(Nt.url);Xt||(this.navigated=!0,this.restoreHistory(qe,!0));const Ai=new I(qe.id,this.serializeUrl(qe.extractedUrl),Nt.message);xe.next(Ai),Xt?setTimeout(()=>{const Zi=this.urlHandlingStrategy.merge(Nt.url,this.rawUrlTree),Mi={skipLocationChange:qe.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Si(qe.source)};this.scheduleNavigation(Zi,"imperative",null,Mi,{resolve:qe.resolve,reject:qe.reject,promise:qe.promise})},0):qe.resolve(!1)}else{this.restoreHistory(qe,!0);const Xt=new Ie(qe.id,this.serializeUrl(qe.extractedUrl),Nt);xe.next(Xt);try{qe.resolve(this.errorHandler(Nt))}catch(Ai){qe.reject(Ai)}}return E.E}))}))}resetRootComponentType(Z){this.rootComponentType=Z,this.routerState.root.component=this.rootComponentType}setTransition(Z){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),Z))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(Z=>{const xe="popstate"===Z.type?"popstate":"hashchange";"popstate"===xe&&setTimeout(()=>{var qe;const ft={replaceUrl:!0},Rt=(null===(qe=Z.state)||void 0===qe?void 0:qe.navigationId)?Z.state:null;if(Rt){const Xt=Object.assign({},Rt);delete Xt.navigationId,delete Xt.\u0275routerPageId,0!==Object.keys(Xt).length&&(ft.state=Xt)}const Nt=this.parseUrl(Z.url);this.scheduleNavigation(Nt,xe,Rt,ft)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(Z){this.events.next(Z)}resetConfig(Z){ro(Z),this.config=Z.map(In),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(Z,xe={}){const{relativeTo:qe,queryParams:ft,fragment:Rt,queryParamsHandling:Nt,preserveFragment:Xt}=xe,Ai=qe||this.routerState.root,Zi=Xt?this.currentUrlTree.fragment:Rt;let Mi=null;switch(Nt){case"merge":Mi=Object.assign(Object.assign({},this.currentUrlTree.queryParams),ft);break;case"preserve":Mi=this.currentUrlTree.queryParams;break;default:Mi=ft||null}return null!==Mi&&(Mi=this.removeEmptyProps(Mi)),function hn(me,Q,Z,xe,qe){if(0===Z.length)return Fi(Q.root,Q.root,Q,xe,qe);const ft=function Kt(me){if("string"==typeof me[0]&&1===me.length&&"/"===me[0])return new pt(!0,0,me);let Q=0,Z=!1;const xe=me.reduce((qe,ft,Rt)=>{if("object"==typeof ft&&null!=ft){if(ft.outlets){const Nt={};return T(ft.outlets,(Xt,Ai)=>{Nt[Ai]="string"==typeof Xt?Xt.split("/"):Xt}),[...qe,{outlets:Nt}]}if(ft.segmentPath)return[...qe,ft.segmentPath]}return"string"!=typeof ft?[...qe,ft]:0===Rt?(ft.split("/").forEach((Nt,Xt)=>{0==Xt&&"."===Nt||(0==Xt&&""===Nt?Z=!0:".."===Nt?Q++:""!=Nt&&qe.push(Nt))}),qe):[...qe,ft]},[]);return new pt(Z,Q,xe)}(Z);if(ft.toRoot())return Fi(Q.root,new Ve([],{}),Q,xe,qe);const Rt=function Tt(me,Q,Z){if(me.isAbsolute)return new Je(Q.root,!0,0);if(-1===Z.snapshot._lastPathIndex){const ft=Z.snapshot._urlSegment;return new Je(ft,ft===Q.root,0)}const xe=$i(me.commands[0])?0:1;return function ot(me,Q,Z){let xe=me,qe=Q,ft=Z;for(;ft>qe;){if(ft-=qe,xe=xe.parent,!xe)throw new Error("Invalid number of '../'");qe=xe.segments.length}return new Je(xe,!1,qe-ft)}(Z.snapshot._urlSegment,Z.snapshot._lastPathIndex+xe,me.numberOfDoubleDots)}(ft,Q,me),Nt=Rt.processChildren?Pt(Rt.segmentGroup,Rt.index,ft.commands):Ue(Rt.segmentGroup,Rt.index,ft.commands);return Fi(Rt.segmentGroup,Nt,Q,xe,qe)}(Ai,this.currentUrlTree,Z,Mi,null!=Zi?Zi:null)}navigateByUrl(Z,xe={skipLocationChange:!1}){const qe=zn(Z)?Z:this.parseUrl(Z),ft=this.urlHandlingStrategy.merge(qe,this.rawUrlTree);return this.scheduleNavigation(ft,"imperative",null,xe)}navigate(Z,xe={skipLocationChange:!1}){return function Ji(me){for(let Q=0;Q{const ft=Z[qe];return null!=ft&&(xe[qe]=ft),xe},{})}processNavigations(){this.navigations.subscribe(Z=>{this.navigated=!0,this.lastSuccessfulId=Z.id,this.currentPageId=Z.targetPageId,this.events.next(new J(Z.id,this.serializeUrl(Z.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,Z.resolve(!0)},Z=>{this.console.warn(`Unhandled Navigation Error: ${Z}`)})}scheduleNavigation(Z,xe,qe,ft,Rt){var Nt,Xt,Ai;if(this.disposed)return Promise.resolve(!1);const Zi=this.transitions.value,Mi=Si(xe)&&Zi&&!Si(Zi.source),nn=Zi.rawUrl.toString()===Z.toString(),rn=Zi.id===(null===(Nt=this.currentNavigation)||void 0===Nt?void 0:Nt.id);if(Mi&&nn&&rn)return Promise.resolve(!0);let vo,To,Do;Rt?(vo=Rt.resolve,To=Rt.reject,Do=Rt.promise):Do=new Promise((ts,Ts)=>{vo=ts,To=Ts});const us=++this.navigationId;let Io;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(qe=this.location.getState()),Io=qe&&qe.\u0275routerPageId?qe.\u0275routerPageId:ft.replaceUrl||ft.skipLocationChange?null!==(Xt=this.browserPageId)&&void 0!==Xt?Xt:0:(null!==(Ai=this.browserPageId)&&void 0!==Ai?Ai:0)+1):Io=0,this.setTransition({id:us,targetPageId:Io,source:xe,restoredState:qe,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:Z,extras:ft,resolve:vo,reject:To,promise:Do,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Do.catch(ts=>Promise.reject(ts))}setBrowserUrl(Z,xe){const qe=this.urlSerializer.serialize(Z),ft=Object.assign(Object.assign({},xe.extras.state),this.generateNgRouterState(xe.id,xe.targetPageId));this.location.isCurrentPathEqualTo(qe)||xe.extras.replaceUrl?this.location.replaceState(qe,"",ft):this.location.go(qe,"",ft)}restoreHistory(Z,xe=!1){var qe,ft;if("computed"===this.canceledNavigationResolution){const Rt=this.currentPageId-Z.targetPageId;"popstate"!==Z.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(qe=this.currentNavigation)||void 0===qe?void 0:qe.finalUrl)||0===Rt?this.currentUrlTree===(null===(ft=this.currentNavigation)||void 0===ft?void 0:ft.finalUrl)&&0===Rt&&(this.resetState(Z),this.browserUrlTree=Z.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(Rt)}else"replace"===this.canceledNavigationResolution&&(xe&&this.resetState(Z),this.resetUrlToCurrentUrlTree())}resetState(Z){this.routerState=Z.currentRouterState,this.currentUrlTree=Z.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,Z.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(Z,xe){const qe=new I(Z.id,this.serializeUrl(Z.extractedUrl),xe);this.triggerEvent(qe),Z.resolve(!1)}generateNgRouterState(Z,xe){return"computed"===this.canceledNavigationResolution?{navigationId:Z,\u0275routerPageId:xe}:{navigationId:Z}}}return me.\u0275fac=function(Z){e.$Z()},me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();function Si(me){return"imperative"!==me}let Bn=(()=>{class me{constructor(Z,xe,qe,ft,Rt){this.router=Z,this.route=xe,this.tabIndexAttribute=qe,this.renderer=ft,this.el=Rt,this.commands=null,this.onChanges=new x.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Z){if(null!=this.tabIndexAttribute)return;const xe=this.renderer,qe=this.el.nativeElement;null!==Z?xe.setAttribute(qe,"tabindex",Z):xe.removeAttribute(qe,"tabindex")}ngOnChanges(Z){this.onChanges.next(this)}set routerLink(Z){null!=Z?(this.commands=Array.isArray(Z)?Z:[Z],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const Z={skipLocationChange:Yo(this.skipLocationChange),replaceUrl:Yo(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,Z),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Yo(this.preserveFragment)})}}return me.\u0275fac=function(Z){return new(Z||me)(e.Y36(Ni),e.Y36(bt),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq))},me.\u0275dir=e.lG2({type:me,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(Z,xe){1&Z&&e.NdJ("click",function(){return xe.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[e.TTD]}),me})(),po=(()=>{class me{constructor(Z,xe,qe){this.router=Z,this.route=xe,this.locationStrategy=qe,this.commands=null,this.href=null,this.onChanges=new x.xQ,this.subscription=Z.events.subscribe(ft=>{ft instanceof J&&this.updateTargetUrlAndHref()})}set routerLink(Z){this.commands=null!=Z?Array.isArray(Z)?Z:[Z]:null}ngOnChanges(Z){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(Z,xe,qe,ft,Rt){if(0!==Z||xe||qe||ft||Rt||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const Nt={skipLocationChange:Yo(this.skipLocationChange),replaceUrl:Yo(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,Nt),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Yo(this.preserveFragment)})}}return me.\u0275fac=function(Z){return new(Z||me)(e.Y36(Ni),e.Y36(bt),e.Y36(be.S$))},me.\u0275dir=e.lG2({type:me,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(Z,xe){1&Z&&e.NdJ("click",function(ft){return xe.onClick(ft.button,ft.ctrlKey,ft.shiftKey,ft.altKey,ft.metaKey)}),2&Z&&e.uIk("target",xe.target)("href",xe.href,e.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[e.TTD]}),me})();function Yo(me){return""===me||!!me}class Kr{}class es{preload(Q,Z){return(0,g.of)(null)}}let os=(()=>{class me{constructor(Z,xe,qe,ft){this.router=Z,this.injector=qe,this.preloadingStrategy=ft,this.loader=new ai(qe,xe,Xt=>Z.triggerEvent(new nt(Xt)),Xt=>Z.triggerEvent(new st(Xt)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,k.h)(Z=>Z instanceof J),(0,te.b)(()=>this.preload())).subscribe(()=>{})}preload(){const Z=this.injector.get(e.h0i);return this.processRoutes(Z,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Z,xe){const qe=[];for(const ft of xe)if(ft.loadChildren&&!ft.canLoad&&ft._loadedConfig){const Rt=ft._loadedConfig;qe.push(this.processRoutes(Rt.module,Rt.routes))}else ft.loadChildren&&!ft.canLoad?qe.push(this.preloadConfig(Z,ft)):ft.children&&qe.push(this.processRoutes(Z,ft.children));return(0,f.D)(qe).pipe((0,De.J)(),(0,ce.U)(ft=>{}))}preloadConfig(Z,xe){return this.preloadingStrategy.preload(xe,()=>(xe._loadedConfig?(0,g.of)(xe._loadedConfig):this.loader.load(Z.injector,xe)).pipe((0,pe.zg)(ft=>(xe._loadedConfig=ft,this.processRoutes(ft.module,ft.routes)))))}}return me.\u0275fac=function(Z){return new(Z||me)(e.LFG(Ni),e.LFG(e.Sil),e.LFG(e.zs3),e.LFG(Kr))},me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})(),ss=(()=>{class me{constructor(Z,xe,qe={}){this.router=Z,this.viewportScroller=xe,this.options=qe,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},qe.scrollPositionRestoration=qe.scrollPositionRestoration||"disabled",qe.anchorScrolling=qe.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(Z=>{Z instanceof Ce?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Z.navigationTrigger,this.restoredId=Z.restoredState?Z.restoredState.navigationId:0):Z instanceof J&&(this.lastId=Z.id,this.scheduleScrollEvent(Z,this.router.parseUrl(Z.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(Z=>{Z instanceof S&&(Z.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Z.position):Z.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Z.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Z,xe){this.router.triggerEvent(new S(Z,"popstate"===this.lastSource?this.store[this.restoredId]:null,xe))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return me.\u0275fac=function(Z){e.$Z()},me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();const qo=new e.OlP("ROUTER_CONFIGURATION"),Mo=new e.OlP("ROUTER_FORROOT_GUARD"),rs=[be.Ye,{provide:Y,useClass:Le},{provide:Ni,useFactory:function uu(me,Q,Z,xe,qe,ft,Rt={},Nt,Xt){const Ai=new Ni(null,me,Q,Z,xe,qe,i(ft));return Nt&&(Ai.urlHandlingStrategy=Nt),Xt&&(Ai.routeReuseStrategy=Xt),function du(me,Q){me.errorHandler&&(Q.errorHandler=me.errorHandler),me.malformedUriErrorHandler&&(Q.malformedUriErrorHandler=me.malformedUriErrorHandler),me.onSameUrlNavigation&&(Q.onSameUrlNavigation=me.onSameUrlNavigation),me.paramsInheritanceStrategy&&(Q.paramsInheritanceStrategy=me.paramsInheritanceStrategy),me.relativeLinkResolution&&(Q.relativeLinkResolution=me.relativeLinkResolution),me.urlUpdateStrategy&&(Q.urlUpdateStrategy=me.urlUpdateStrategy),me.canceledNavigationResolution&&(Q.canceledNavigationResolution=me.canceledNavigationResolution)}(Rt,Ai),Rt.enableTracing&&Ai.events.subscribe(Zi=>{var Mi,nn;null===(Mi=console.group)||void 0===Mi||Mi.call(console,`Router Event: ${Zi.constructor.name}`),console.log(Zi.toString()),console.log(Zi),null===(nn=console.groupEnd)||void 0===nn||nn.call(console)}),Ai},deps:[Y,Dn,be.Ye,e.zs3,e.Sil,di,qo,[class Pi{},new e.FiY],[Lt,new e.FiY]]},Dn,{provide:bt,useFactory:function bs(me){return me.routerState.root},deps:[Ni]},os,es,class As{preload(Q,Z){return Z().pipe((0,W.K)(()=>(0,g.of)(null)))}},{provide:qo,useValue:{enableTracing:!1}}];function Na(){return new e.PXZ("Router",Ni)}let Ba=(()=>{class me{constructor(Z,xe){}static forRoot(Z,xe){return{ngModule:me,providers:[rs,Vr(Z),{provide:Mo,useFactory:Fa,deps:[[Ni,new e.FiY,new e.tp0]]},{provide:qo,useValue:xe||{}},{provide:be.S$,useFactory:ar,deps:[be.lw,[new e.tBr(be.mr),new e.FiY],qo]},{provide:ss,useFactory:as,deps:[Ni,be.EM,qo]},{provide:Kr,useExisting:xe&&xe.preloadingStrategy?xe.preloadingStrategy:es},{provide:e.PXZ,multi:!0,useFactory:Na},[ys,{provide:e.ip1,multi:!0,useFactory:cr,deps:[ys]},{provide:lr,useFactory:vs,deps:[ys]},{provide:e.tb,multi:!0,useExisting:lr}]]}}static forChild(Z){return{ngModule:me,providers:[Vr(Z)]}}}return me.\u0275fac=function(Z){return new(Z||me)(e.LFG(Mo,8),e.LFG(Ni,8))},me.\u0275mod=e.oAB({type:me}),me.\u0275inj=e.cJS({}),me})();function as(me,Q,Z){return Z.scrollOffset&&Q.setOffset(Z.scrollOffset),new ss(me,Q,Z)}function ar(me,Q,Z={}){return Z.useHash?new be.Do(me,Q):new be.b0(me,Q)}function Fa(me){return"guarded"}function Vr(me){return[{provide:e.deG,multi:!0,useValue:me},{provide:di,multi:!0,useValue:me}]}let ys=(()=>{class me{constructor(Z){this.injector=Z,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new x.xQ}appInitializer(){return this.injector.get(be.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let xe=null;const qe=new Promise(Nt=>xe=Nt),ft=this.injector.get(Ni),Rt=this.injector.get(qo);return"disabled"===Rt.initialNavigation?(ft.setUpLocationChangeListener(),xe(!0)):"enabled"===Rt.initialNavigation||"enabledBlocking"===Rt.initialNavigation?(ft.hooks.afterPreactivation=()=>this.initNavigation?(0,g.of)(null):(this.initNavigation=!0,xe(!0),this.resultOfPreactivationDone),ft.initialNavigation()):xe(!0),qe})}bootstrapListener(Z){const xe=this.injector.get(qo),qe=this.injector.get(os),ft=this.injector.get(ss),Rt=this.injector.get(Ni),Nt=this.injector.get(e.z2F);Z===Nt.components[0]&&(("enabledNonBlocking"===xe.initialNavigation||void 0===xe.initialNavigation)&&Rt.initialNavigation(),qe.setUpPreloading(),ft.init(),Rt.resetRootComponentType(Nt.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return me.\u0275fac=function(Z){return new(Z||me)(e.LFG(e.zs3))},me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();function cr(me){return me.appInitializer.bind(me)}function vs(me){return me.bootstrapListener.bind(me)}const lr=new e.OlP("Router Initializer")},51062:(Ze,ge,d)=>{"use strict";d.d(ge,{Zw:()=>x,aw:()=>be,X$:()=>De,sK:()=>Fe});var e=d(5e3),f=d(21086),g=d(54715),v=d(30567),m=d(61221),A=d(88514),s=d(72986),b=d(5154),R=d(24850),E=d(21406),h=d(87545);class x{}let k=(()=>{class z extends x{getTranslation(J){return(0,f.of)({})}}return z.\u0275fac=function(){let Ce;return function(I){return(Ce||(Ce=e.n5z(z)))(I||z)}}(),z.\u0275prov=e.Yz7({token:z,factory:z.\u0275fac}),z})();class G{}let X=(()=>{class z{handle(J){return J.key}}return z.\u0275fac=function(J){return new(J||z)},z.\u0275prov=e.Yz7({token:z,factory:z.\u0275fac}),z})();function he(z,Ce){if(z===Ce)return!0;if(null===z||null===Ce)return!1;if(z!=z&&Ce!=Ce)return!0;let Ie,Re,ze,J=typeof z;if(J==typeof Ce&&"object"==J){if(!Array.isArray(z)){if(Array.isArray(Ce))return!1;for(Re in ze=Object.create(null),z){if(!he(z[Re],Ce[Re]))return!1;ze[Re]=!0}for(Re in Ce)if(!(Re in ze)&&void 0!==Ce[Re])return!1;return!0}if(!Array.isArray(Ce))return!1;if((Ie=z.length)==Ce.length){for(Re=0;Re{Ne(Ce[I])?I in z?J[I]=ce(z[I],Ce[I]):Object.assign(J,{[I]:Ce[I]}):Object.assign(J,{[I]:Ce[I]})}),J}class Pe{}let se=(()=>{class z extends Pe{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(J,I){let Ie;return Ie="string"==typeof J?this.interpolateString(J,I):"function"==typeof J?this.interpolateFunction(J,I):J,Ie}getValue(J,I){let Ie="string"==typeof I?I.split("."):[I];I="";do{I+=Ie.shift(),!re(J)||!re(J[I])||"object"!=typeof J[I]&&Ie.length?Ie.length?I+=".":J=void 0:(J=J[I],I="")}while(Ie.length);return J}interpolateFunction(J,I){return J(I)}interpolateString(J,I){return I?J.replace(this.templateMatcher,(Ie,Re)=>{let ze=this.getValue(I,Re);return re(ze)?ze:Ie}):J}}return z.\u0275fac=function(){let Ce;return function(I){return(Ce||(Ce=e.n5z(z)))(I||z)}}(),z.\u0275prov=e.Yz7({token:z,factory:z.\u0275fac}),z})();class V{}let F=(()=>{class z extends V{compile(J,I){return J}compileTranslations(J,I){return J}}return z.\u0275fac=function(){let Ce;return function(I){return(Ce||(Ce=e.n5z(z)))(I||z)}}(),z.\u0275prov=e.Yz7({token:z,factory:z.\u0275fac}),z})();class W{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new e.vpe,this.onLangChange=new e.vpe,this.onDefaultLangChange=new e.vpe}}const te=new e.OlP("USE_STORE"),ae=new e.OlP("USE_DEFAULT_LANG"),pe=new e.OlP("DEFAULT_LANGUAGE"),Be=new e.OlP("USE_EXTEND");let Fe=(()=>{class z{constructor(J,I,Ie,Re,ze,fe=!0,ve=!1,We=!1,nt){this.store=J,this.currentLoader=I,this.compiler=Ie,this.parser=Re,this.missingTranslationHandler=ze,this.useDefaultLang=fe,this.isolate=ve,this.extend=We,this.pending=!1,this._onTranslationChange=new e.vpe,this._onLangChange=new e.vpe,this._onDefaultLangChange=new e.vpe,this._langs=[],this._translations={},this._translationRequests={},nt&&this.setDefaultLang(nt)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(J){this.isolate?this._defaultLang=J:this.store.defaultLang=J}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(J){this.isolate?this._currentLang=J:this.store.currentLang=J}get langs(){return this.isolate?this._langs:this.store.langs}set langs(J){this.isolate?this._langs=J:this.store.langs=J}get translations(){return this.isolate?this._translations:this.store.translations}set translations(J){this.isolate?this._translations=J:this.store.translations=J}setDefaultLang(J){if(J===this.defaultLang)return;let I=this.retrieveTranslations(J);void 0!==I?(null==this.defaultLang&&(this.defaultLang=J),I.pipe((0,s.q)(1)).subscribe(Ie=>{this.changeDefaultLang(J)})):this.changeDefaultLang(J)}getDefaultLang(){return this.defaultLang}use(J){if(J===this.currentLang)return(0,f.of)(this.translations[J]);let I=this.retrieveTranslations(J);return void 0!==I?(this.currentLang||(this.currentLang=J),I.pipe((0,s.q)(1)).subscribe(Ie=>{this.changeLang(J)}),I):(this.changeLang(J),(0,f.of)(this.translations[J]))}retrieveTranslations(J){let I;return(void 0===this.translations[J]||this.extend)&&(this._translationRequests[J]=this._translationRequests[J]||this.getTranslation(J),I=this._translationRequests[J]),I}getTranslation(J){this.pending=!0;const I=this.currentLoader.getTranslation(J).pipe((0,b.d)(1),(0,s.q)(1));return this.loadingTranslations=I.pipe((0,R.U)(Ie=>this.compiler.compileTranslations(Ie,J)),(0,b.d)(1),(0,s.q)(1)),this.loadingTranslations.subscribe({next:Ie=>{this.translations[J]=this.extend&&this.translations[J]?Object.assign(Object.assign({},Ie),this.translations[J]):Ie,this.updateLangs(),this.pending=!1},error:Ie=>{this.pending=!1}}),I}setTranslation(J,I,Ie=!1){I=this.compiler.compileTranslations(I,J),this.translations[J]=(Ie||this.extend)&&this.translations[J]?ce(this.translations[J],I):I,this.updateLangs(),this.onTranslationChange.emit({lang:J,translations:this.translations[J]})}getLangs(){return this.langs}addLangs(J){J.forEach(I=>{-1===this.langs.indexOf(I)&&this.langs.push(I)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(J,I,Ie){let Re;if(I instanceof Array){let ze={},fe=!1;for(let ve of I)ze[ve]=this.getParsedResult(J,ve,Ie),(0,g.b)(ze[ve])&&(fe=!0);if(fe){const ve=I.map(We=>(0,g.b)(ze[We])?ze[We]:(0,f.of)(ze[We]));return(0,v.D)(ve).pipe((0,R.U)(We=>{let nt={};return We.forEach((st,dt)=>{nt[I[dt]]=st}),nt}))}return ze}if(J&&(Re=this.parser.interpolate(this.parser.getValue(J,I),Ie)),void 0===Re&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Re=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],I),Ie)),void 0===Re){let ze={key:I,translateService:this};void 0!==Ie&&(ze.interpolateParams=Ie),Re=this.missingTranslationHandler.handle(ze)}return void 0!==Re?Re:I}get(J,I){if(!re(J)||!J.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,E.b)(Ie=>(Ie=this.getParsedResult(Ie,J,I),(0,g.b)(Ie)?Ie:(0,f.of)(Ie))));{let Ie=this.getParsedResult(this.translations[this.currentLang],J,I);return(0,g.b)(Ie)?Ie:(0,f.of)(Ie)}}getStreamOnTranslationChange(J,I){if(!re(J)||!J.length)throw new Error('Parameter "key" required');return(0,m.z)((0,A.P)(()=>this.get(J,I)),this.onTranslationChange.pipe((0,h.w)(Ie=>{const Re=this.getParsedResult(Ie.translations,J,I);return"function"==typeof Re.subscribe?Re:(0,f.of)(Re)})))}stream(J,I){if(!re(J)||!J.length)throw new Error('Parameter "key" required');return(0,m.z)((0,A.P)(()=>this.get(J,I)),this.onLangChange.pipe((0,h.w)(Ie=>{const Re=this.getParsedResult(Ie.translations,J,I);return(0,g.b)(Re)?Re:(0,f.of)(Re)})))}instant(J,I){if(!re(J)||!J.length)throw new Error('Parameter "key" required');let Ie=this.getParsedResult(this.translations[this.currentLang],J,I);if((0,g.b)(Ie)){if(J instanceof Array){let Re={};return J.forEach((ze,fe)=>{Re[J[fe]]=J[fe]}),Re}return J}return Ie}set(J,I,Ie=this.currentLang){this.translations[Ie][J]=this.compiler.compile(I,Ie),this.updateLangs(),this.onTranslationChange.emit({lang:Ie,translations:this.translations[Ie]})}changeLang(J){this.currentLang=J,this.onLangChange.emit({lang:J,translations:this.translations[J]}),null==this.defaultLang&&this.changeDefaultLang(J)}changeDefaultLang(J){this.defaultLang=J,this.onDefaultLangChange.emit({lang:J,translations:this.translations[J]})}reloadLang(J){return this.resetLang(J),this.getTranslation(J)}resetLang(J){this._translationRequests[J]=void 0,this.translations[J]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let J=window.navigator.languages?window.navigator.languages[0]:null;return J=J||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==J?(-1!==J.indexOf("-")&&(J=J.split("-")[0]),-1!==J.indexOf("_")&&(J=J.split("_")[0]),J):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let J=window.navigator.languages?window.navigator.languages[0]:null;return J=J||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,J}}return z.\u0275fac=function(J){return new(J||z)(e.LFG(W),e.LFG(x),e.LFG(V),e.LFG(Pe),e.LFG(G),e.LFG(ae),e.LFG(te),e.LFG(Be),e.LFG(pe))},z.\u0275prov=e.Yz7({token:z,factory:z.\u0275fac}),z})(),De=(()=>{class z{constructor(J,I){this.translate=J,this._ref=I,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(J,I,Ie){let Re=ze=>{this.value=void 0!==ze?ze:J,this.lastKey=J,this._ref.markForCheck()};if(Ie){let ze=this.translate.getParsedResult(Ie,J,I);(0,g.b)(ze.subscribe)?ze.subscribe(Re):Re(ze)}this.translate.get(J,I).subscribe(Re)}transform(J,...I){if(!J||!J.length)return J;if(he(J,this.lastKey)&&he(I,this.lastParams))return this.value;let Ie;if(re(I[0])&&I.length)if("string"==typeof I[0]&&I[0].length){let Re=I[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Ie=JSON.parse(Re)}catch(ze){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${I[0]}`)}}else"object"==typeof I[0]&&!Array.isArray(I[0])&&(Ie=I[0]);return this.lastKey=J,this.lastParams=I,this.updateValue(J,Ie),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Re=>{this.lastKey&&Re.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(J,Ie,Re.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Re=>{this.lastKey&&(this.lastKey=null,this.updateValue(J,Ie,Re.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(J,Ie))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return z.\u0275fac=function(J){return new(J||z)(e.Y36(Fe,16),e.Y36(e.sBO,16))},z.\u0275pipe=e.Yjl({name:"translate",type:z,pure:!1}),z.\u0275prov=e.Yz7({token:z,factory:z.\u0275fac}),z})(),be=(()=>{class z{static forRoot(J={}){return{ngModule:z,providers:[J.loader||{provide:x,useClass:k},J.compiler||{provide:V,useClass:F},J.parser||{provide:Pe,useClass:se},J.missingTranslationHandler||{provide:G,useClass:X},W,{provide:te,useValue:J.isolate},{provide:ae,useValue:J.useDefaultLang},{provide:Be,useValue:J.extend},{provide:pe,useValue:J.defaultLanguage},Fe]}}static forChild(J={}){return{ngModule:z,providers:[J.loader||{provide:x,useClass:k},J.compiler||{provide:V,useClass:F},J.parser||{provide:Pe,useClass:se},J.missingTranslationHandler||{provide:G,useClass:X},{provide:te,useValue:J.isolate},{provide:ae,useValue:J.useDefaultLang},{provide:Be,useValue:J.extend},{provide:pe,useValue:J.defaultLanguage},Fe]}}}return z.\u0275fac=function(J){return new(J||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({}),z})()},86114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(69808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(40520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(70655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(21086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(61946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(61737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(36053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(36787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(92198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(22868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(80013),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(40943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(87545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(24850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(87224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(27221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(46227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(72986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(61709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class Ze extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return Ze.\u0275fac=function(){let ge;return function(e){return(ge||(ge=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(Ze)))(e||Ze)}}(),Ze.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class Ze{constructor(){this.data=new Map}getItem(d){return this.data.get(d)}removeItem(d){this.data.delete(d)}setItem(d,e){this.data.set(d,e)}}return Ze.\u0275fac=function(d){return new(d||Ze)},Ze.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();class ReceivedTokens{}class OAuthEvent{constructor(ge){this.type=ge}}class OAuthSuccessEvent extends OAuthEvent{constructor(ge,d=null){super(ge),this.info=d}}class OAuthInfoEvent extends OAuthEvent{constructor(ge,d=null){super(ge),this.info=d}}class OAuthErrorEvent extends OAuthEvent{constructor(ge,d,e=null){super(ge),this.reason=d,this.params=e}}function b64DecodeUnicode(Ze){const ge=Ze.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(ge).split("").map(function(d){return"%"+("00"+d.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(Ze){return btoa(Ze).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(ge){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=d=>{location.href=d},ge&&Object.assign(this,ge)}}class WebHttpUrlEncodingCodec{encodeKey(ge){return encodeURIComponent(ge)}encodeValue(ge){return encodeURIComponent(ge)}decodeKey(ge){return decodeURIComponent(ge)}decodeValue(ge){return decodeURIComponent(ge)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(ge){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let d=this.inferHashAlgorithm(ge.idTokenHeader),e=yield this.calcHash(ge.accessToken,d),g=base64UrlEncode(e.substr(0,e.length/2)),v=ge.idTokenClaims.at_hash.replace(/=/g,"");return g!==v&&(console.error("exptected at_hash: "+g),console.error("actual at_hash: "+v)),g===v})}inferHashAlgorithm(ge){let d=ge.alg;if(!d.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+d);return"sha-"+d.substr(2)}}let UrlHelperService=(()=>{class Ze{getHashFragmentParams(d){let e=d||window.location.hash;if(e=decodeURIComponent(e),0!==e.indexOf("#"))return{};const f=e.indexOf("?");return e=e.substr(f>-1?f+1:1),this.parseQueryString(e)}parseQueryString(d){const e={};let f,g,v,m,A,s,b;if(null===d)return e;f=d.split("&");for(let R=0;R>6,g[m++]=128|63&A):A<55296||A>=57344?(g[m++]=224|A>>12,g[m++]=128|A>>6&63,g[m++]=128|63&A):(A=65536+((1023&A)<<10|1023&Ze.charCodeAt(++e)),g[m++]=240|A>>18,g[m++]=128|A>>12&63,g[m++]=128|A>>6&63,g[m++]=128|63&A);Ze=g}else{if("object"!==f)throw new Error(ERROR);if(null===Ze)throw new Error(ERROR);if(ARRAY_BUFFER&&Ze.constructor===ArrayBuffer)Ze=new Uint8Array(Ze);else if(!(Array.isArray(Ze)||ARRAY_BUFFER&&ArrayBuffer.isView(Ze)))throw new Error(ERROR)}Ze.length>64&&(Ze=new Sha256(ge,!0).update(Ze).array());var s=[],b=[];for(e=0;e<64;++e){var R=Ze[e]||0;s[e]=92^R,b[e]=54^R}Sha256.call(this,ge,d),this.update(b),this.oKeyPad=s,this.inner=!0,this.sharedMemory=d}Sha256.prototype.update=function(Ze){if(!this.finalized){var ge,d=typeof Ze;if("string"!==d){if("object"!==d)throw new Error(ERROR);if(null===Ze)throw new Error(ERROR);if(ARRAY_BUFFER&&Ze.constructor===ArrayBuffer)Ze=new Uint8Array(Ze);else if(!(Array.isArray(Ze)||ARRAY_BUFFER&&ArrayBuffer.isView(Ze)))throw new Error(ERROR);ge=!0}for(var e,g,f=0,v=Ze.length,m=this.blocks;f>2]|=Ze[f]<>2]|=e<>2]|=(192|e>>6)<>2]|=(128|63&e)<=57344?(m[g>>2]|=(224|e>>12)<>2]|=(128|e>>6&63)<>2]|=(128|63&e)<>2]|=(240|e>>18)<>2]|=(128|e>>12&63)<>2]|=(128|e>>6&63)<>2]|=(128|63&e)<=64?(this.block=m[16],this.start=g-64,this.hash(),this.hashed=!0):this.start=g}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Ze=this.blocks,ge=this.lastByteIndex;Ze[16]=this.block,Ze[ge>>2]|=EXTRA[3&ge],this.block=Ze[16],ge>=56&&(this.hashed||this.hash(),Ze[0]=this.block,Ze[16]=Ze[1]=Ze[2]=Ze[3]=Ze[4]=Ze[5]=Ze[6]=Ze[7]=Ze[8]=Ze[9]=Ze[10]=Ze[11]=Ze[12]=Ze[13]=Ze[14]=Ze[15]=0),Ze[14]=this.hBytes<<3|this.bytes>>>29,Ze[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var s,h,G,X,he,re,Ze=this.h0,ge=this.h1,d=this.h2,e=this.h3,f=this.h4,g=this.h5,v=this.h6,m=this.h7,A=this.blocks;for(s=16;s<64;++s)A[s]=A[s-16]+(((h=A[s-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3)+A[s-7]+(((h=A[s-2])>>>17|h<<15)^(h>>>19|h<<13)^h>>>10)<<0;for(re=ge&d,s=0;s<64;s+=4)this.first?(this.is224?(G=300032,m=(h=A[0]-1413257819)-150054599<<0,e=h+24177077<<0):(G=704751109,m=(h=A[0]-210244248)-1521486534<<0,e=h+143694565<<0),this.first=!1):(m=e+(h=m+((f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&g^~f&v)+K[s]+A[s])<<0,e=h+(((Ze>>>2|Ze<<30)^(Ze>>>13|Ze<<19)^(Ze>>>22|Ze<<10))+((G=Ze&ge)^Ze&d^re))<<0),v=d+(h=v+((m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&f^~m&g)+K[s+1]+A[s+1])<<0,d=h+(((e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10))+((X=e&Ze)^e&ge^G))<<0,g=ge+(h=g+((v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))+(v&m^~v&f)+K[s+2]+A[s+2])<<0,ge=h+(((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+((he=d&e)^d&Ze^X))<<0,f=Ze+(h=f+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&v^~g&m)+K[s+3]+A[s+3])<<0,Ze=h+(((ge>>>2|ge<<30)^(ge>>>13|ge<<19)^(ge>>>22|ge<<10))+((re=ge&d)^ge&e^he))<<0;this.h0=this.h0+Ze<<0,this.h1=this.h1+ge<<0,this.h2=this.h2+d<<0,this.h3=this.h3+e<<0,this.h4=this.h4+f<<0,this.h5=this.h5+g<<0,this.h6=this.h6+v<<0,this.h7=this.h7+m<<0},Sha256.prototype.hex=function(){this.finalize();var Ze=this.h0,ge=this.h1,d=this.h2,e=this.h3,f=this.h4,g=this.h5,v=this.h6,m=this.h7,A=HEX_CHARS[Ze>>28&15]+HEX_CHARS[Ze>>24&15]+HEX_CHARS[Ze>>20&15]+HEX_CHARS[Ze>>16&15]+HEX_CHARS[Ze>>12&15]+HEX_CHARS[Ze>>8&15]+HEX_CHARS[Ze>>4&15]+HEX_CHARS[15&Ze]+HEX_CHARS[ge>>28&15]+HEX_CHARS[ge>>24&15]+HEX_CHARS[ge>>20&15]+HEX_CHARS[ge>>16&15]+HEX_CHARS[ge>>12&15]+HEX_CHARS[ge>>8&15]+HEX_CHARS[ge>>4&15]+HEX_CHARS[15&ge]+HEX_CHARS[d>>28&15]+HEX_CHARS[d>>24&15]+HEX_CHARS[d>>20&15]+HEX_CHARS[d>>16&15]+HEX_CHARS[d>>12&15]+HEX_CHARS[d>>8&15]+HEX_CHARS[d>>4&15]+HEX_CHARS[15&d]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[f>>28&15]+HEX_CHARS[f>>24&15]+HEX_CHARS[f>>20&15]+HEX_CHARS[f>>16&15]+HEX_CHARS[f>>12&15]+HEX_CHARS[f>>8&15]+HEX_CHARS[f>>4&15]+HEX_CHARS[15&f]+HEX_CHARS[g>>28&15]+HEX_CHARS[g>>24&15]+HEX_CHARS[g>>20&15]+HEX_CHARS[g>>16&15]+HEX_CHARS[g>>12&15]+HEX_CHARS[g>>8&15]+HEX_CHARS[g>>4&15]+HEX_CHARS[15&g]+HEX_CHARS[v>>28&15]+HEX_CHARS[v>>24&15]+HEX_CHARS[v>>20&15]+HEX_CHARS[v>>16&15]+HEX_CHARS[v>>12&15]+HEX_CHARS[v>>8&15]+HEX_CHARS[v>>4&15]+HEX_CHARS[15&v];return this.is224||(A+=HEX_CHARS[m>>28&15]+HEX_CHARS[m>>24&15]+HEX_CHARS[m>>20&15]+HEX_CHARS[m>>16&15]+HEX_CHARS[m>>12&15]+HEX_CHARS[m>>8&15]+HEX_CHARS[m>>4&15]+HEX_CHARS[15&m]),A},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var Ze=this.h0,ge=this.h1,d=this.h2,e=this.h3,f=this.h4,g=this.h5,v=this.h6,m=this.h7,A=[Ze>>24&255,Ze>>16&255,Ze>>8&255,255&Ze,ge>>24&255,ge>>16&255,ge>>8&255,255&ge,d>>24&255,d>>16&255,d>>8&255,255&d,e>>24&255,e>>16&255,e>>8&255,255&e,f>>24&255,f>>16&255,f>>8&255,255&f,g>>24&255,g>>16&255,g>>8&255,255&g,v>>24&255,v>>16&255,v>>8&255,255&v];return this.is224||A.push(m>>24&255,m>>16&255,m>>8&255,255&m),A},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var Ze=new ArrayBuffer(this.is224?28:32),ge=new DataView(Ze);return ge.setUint32(0,this.h0),ge.setUint32(4,this.h1),ge.setUint32(8,this.h2),ge.setUint32(12,this.h3),ge.setUint32(16,this.h4),ge.setUint32(20,this.h5),ge.setUint32(24,this.h6),this.is224||ge.setUint32(28,this.h7),Ze},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var Ze=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(Ze),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(Ze){if("string"!=typeof Ze)throw new TypeError("expected string");var ge,d=Ze,e=new Uint8Array(d.length);for(ge=0;ge{class Ze{calcHash(d,e){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(d)))})}toHashString2(d){let e="";for(let f of d)e+=String.fromCharCode(f);return e}toHashString(d){const e=new Uint8Array(d);let f="";for(let g of e)f+=String.fromCharCode(g);return f}}return Ze.\u0275fac=function(d){return new(d||Ze)},Ze.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})(),OAuthService=(()=>{class Ze extends AuthConfig{constructor(d,e,f,g,v,m,A,s,b,R){var E;super(),this.ngZone=d,this.http=e,this.config=v,this.urlHelper=m,this.logger=A,this.crypto=s,this.dateTimeService=R,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=b,v||(v={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),g&&(this.tokenValidationHandler=g),v&&this.configure(v);try{f?this.setStorage(f):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(h){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",h)}if(this.checkLocalStorageAccessable()){const h=null===(E=null==window?void 0:window.navigator)||void 0===E?void 0:E.userAgent;((null==h?void 0:h.includes("MSIE "))||(null==h?void 0:h.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const d="test";try{return void 0!==window.localStorage&&(localStorage.setItem(d,d),localStorage.removeItem(d),!0)}catch(e){return!1}}configure(d){Object.assign(this,new AuthConfig,d),this.config=Object.assign({},new AuthConfig,d),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(d=>"token_received"===d.type)).subscribe(d=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(d={},e,f=!0){let g=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(v=>{"token_received"===v.type?g=!0:"logout"===v.type&&(g=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_expires"===v.type&&(null==e||"any"===e||v.info===e)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(v=>{g&&this.refreshInternal(d,f).catch(m=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(d,e){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(d,e):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(d=null){return this.loadDiscoveryDocument().then(e=>this.tryLogin(d))}loadDiscoveryDocumentAndLogin(d=null){return this.loadDiscoveryDocumentAndTryLogin(d=d||{}).then(e=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof d.state?d.state:""),!1))}debug(...d){this.showDebugInformation&&this.logger.debug.apply(this.logger,d)}validateUrlFromDiscoveryDocument(d){const e=[],f=this.validateUrlForHttps(d),g=this.validateUrlAgainstIssuer(d);return f||e.push("https for all urls required. Also for urls received by discovery."),g||e.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),e}validateUrlForHttps(d){if(!d)return!0;const e=d.toLowerCase();return!(!1!==this.requireHttps&&(!e.match(/^http:\/\/localhost($|[:\/])/)&&!e.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||e.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(d,e){if(!d)throw new Error(`'${e}' should not be null`);if(!this.validateUrlForHttps(d))throw new Error(`'${e}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(d){return!this.strictDiscoveryDocumentValidation||!d||d.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(d=>"token_received"===d.type)).subscribe(d=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const d=this.getAccessTokenExpiration(),e=this.getAccessTokenStoredAt(),f=this.calcTimeout(e,d);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(f)).subscribe(g=>{this.ngZone.run(()=>{this.eventsSubject.next(g)})})})}setupIdTokenTimer(){const d=this.getIdTokenExpiration(),e=this.getIdTokenStoredAt(),f=this.calcTimeout(e,d);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(f)).subscribe(g=>{this.ngZone.run(()=>{this.eventsSubject.next(g)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(d,e){const f=this.dateTimeService.now();return Math.max(0,(e-d)*this.timeoutFactor-(f-d))}setStorage(d){this._storage=d,this.configChanged()}loadDiscoveryDocument(d=null){return new Promise((e,f)=>{d||((d=this.issuer||"").endsWith("/")||(d+="/"),d+=".well-known/openid-configuration"),this.validateUrlForHttps(d)?this.http.get(d).subscribe(g=>{if(!this.validateDiscoveryDocument(g))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void f("discovery_document_validation_error");this.loginUrl=g.authorization_endpoint,this.logoutUrl=g.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=g.grant_types_supported,this.issuer=g.issuer,this.tokenEndpoint=g.token_endpoint,this.userinfoEndpoint=g.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=g.jwks_uri,this.sessionCheckIFrameUrl=g.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(g),this.revocationEndpoint=g.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(v=>{const A=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:g,jwks:v});this.eventsSubject.next(A),e(A)}).catch(v=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",v)),f(v)})},g=>{this.logger.error("error loading discovery document",g),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",g)),f(g)}):f("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((d,e)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(f=>{this.jwks=f,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),d(f)},f=>{this.logger.error("error loading jwks",f),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",f)),e(f)}):d(null)})}validateDiscoveryDocument(d){let e;return this.skipIssuerCheck||d.issuer===this.issuer?(e=this.validateUrlFromDiscoveryDocument(d.authorization_endpoint),e.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(d.end_session_endpoint),e.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(d.token_endpoint),e.length>0&&this.logger.error("error validating token_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(d.revocation_endpoint),e.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(d.userinfo_endpoint),e.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(d.jwks_uri),e.length>0?(this.logger.error("error validating jwks_uri in discovery document",e),!1):(this.sessionChecksEnabled&&!d.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+d.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(d,e,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(d,e,f).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((d,e)=>{const f=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:f,observe:"response",responseType:"text"}).subscribe(g=>{if(this.debug("userinfo received",JSON.stringify(g)),g.headers.get("content-type").startsWith("application/json")){let v=JSON.parse(g.body);const m=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!m.sub||v.sub!==m.sub))return void e("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");v=Object.assign({},m,v),this._storage.setItem("id_token_claims_obj",JSON.stringify(v)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),d({info:v})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),d(JSON.parse(g.body))},g=>{this.logger.error("error loading user info",g),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",g)),e(g)})})}fetchTokenUsingPasswordFlow(d,e,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:d,password:e},f)}fetchTokenUsingGrant(d,e,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let g=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",d).set("scope",this.scope);if(this.useHttpBasicAuth){const v=btoa(`${this.clientId}:${this.dummyClientSecret}`);f=f.set("Authorization","Basic "+v)}if(this.useHttpBasicAuth||(g=g.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(g=g.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const v of Object.getOwnPropertyNames(this.customQueryParams))g=g.set(v,this.customQueryParams[v]);for(const v of Object.keys(e))g=g.set(v,e[v]);return f=f.set("Content-Type","application/x-www-form-urlencoded"),new Promise((v,m)=>{this.http.post(this.tokenEndpoint,g,{headers:f}).subscribe(A=>{this.debug("tokenResponse",A),this.storeAccessTokenResponse(A.access_token,A.refresh_token,A.expires_in||this.fallbackAccessTokenExpirationTimeInSec,A.scope,this.extractRecognizedCustomParameters(A)),this.oidc&&A.id_token&&this.processIdToken(A.id_token,A.access_token).then(s=>{this.storeIdToken(s),v(A)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),v(A)},A=>{this.logger.error("Error performing ${grantType} flow",A),this.eventsSubject.next(new OAuthErrorEvent("token_error",A)),m(A)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((d,e)=>{let f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),g=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const v=btoa(`${this.clientId}:${this.dummyClientSecret}`);g=g.set("Authorization","Basic "+v)}if(this.useHttpBasicAuth||(f=f.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(f=f.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const v of Object.getOwnPropertyNames(this.customQueryParams))f=f.set(v,this.customQueryParams[v]);this.http.post(this.tokenEndpoint,f,{headers:g}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(v=>v.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(v.id_token,v.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(m=>this.storeIdToken(m)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(m=>v)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(v))).subscribe(v=>{this.debug("refresh tokenResponse",v),this.storeAccessTokenResponse(v.access_token,v.refresh_token,v.expires_in||this.fallbackAccessTokenExpirationTimeInSec,v.scope,this.extractRecognizedCustomParameters(v)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),d(v)},v=>{this.logger.error("Error refreshing token",v),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",v)),e(v)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=d=>{const e=this.processMessageEventMessage(d);this.tryLogin({customHashFragment:e,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(f=>this.debug("tryLogin during silent refresh failed",f))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(d={},e=!0){const f=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(d.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const g=this.document.getElementById(this.silentRefreshIFrameName);g&&this.document.body.removeChild(g),this.silentRefreshSubject=f.sub;const v=this.document.createElement("iframe");v.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,e,d).then(R=>{v.setAttribute("src",R),this.silentRefreshShowIFrame||(v.style.display="none"),this.document.body.appendChild(v)});const A=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(R=>R instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),s=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(R=>"token_received"===R.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),b=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([A,s,b]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(R=>{if(R instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===R.type||(R=new OAuthErrorEvent("silent_refresh_error",R)),this.eventsSubject.next(R),R;return"token_received"===R.type&&(R=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(R)),R})).toPromise()}initImplicitFlowInPopup(d){return this.initLoginFlowInPopup(d)}initLoginFlowInPopup(d){return d=d||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(e=>new Promise((f,g)=>{let A,m=null;d.windowRef?d.windowRef&&!d.windowRef.closed&&(m=d.windowRef,m.location.href=e):m=window.open(e,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(d));const s=x=>{this.tryLogin({customHashFragment:x,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{R(),f(!0)},k=>{R(),g(k)})};m?A=window.setInterval(()=>{(!m||m.closed)&&(R(),g(new OAuthErrorEvent("popup_closed",{})))},500):g(new OAuthErrorEvent("popup_blocked",{}));const R=()=>{window.clearInterval(A),window.removeEventListener("storage",h),window.removeEventListener("message",E),null!==m&&m.close(),m=null},E=x=>{const k=this.processMessageEventMessage(x);k&&null!==k?(window.removeEventListener("storage",h),s(k)):console.log("false event firing")},h=x=>{"auth_hash"===x.key&&(window.removeEventListener("message",E),s(x.newValue))};window.addEventListener("message",E),window.addEventListener("storage",h)}))}calculatePopupFeatures(d){const e=d.height||470,f=d.width||500,g=window.screenLeft+(window.outerWidth-f)/2;return`location=no,toolbar=no,width=${f},height=${e},top=${window.screenTop+(window.outerHeight-e)/2},left=${g}`}processMessageEventMessage(d){let e="#";if(this.silentRefreshMessagePrefix&&(e+=this.silentRefreshMessagePrefix),!d||!d.data||"string"!=typeof d.data)return;const f=d.data;return f.startsWith(e)?"#"+f.substr(e.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=d=>{const e=d.origin.toLowerCase(),f=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),f.startsWith(e)){switch(d.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",d)}else this.debug("sessionCheckEventListener","wrong origin",e,"expected",f,"event",d)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(d=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(d=>{this.debug("token refresh after session change worked")}).catch(d=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(d=>"silently_refreshed"===d.type||"silent_refresh_timeout"===d.type||"silent_refresh_error"===d.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(d=>{"silently_refreshed"!==d.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const d=this.document.getElementById(this.sessionCheckIFrameName);d&&this.document.body.removeChild(d);const e=this.document.createElement("iframe");e.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),e.setAttribute("src",this.sessionCheckIFrameUrl),e.style.display="none",this.document.body.appendChild(e),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const d=this.document.getElementById(this.sessionCheckIFrameName);d||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const e=this.getSessionState();e||this.stopSessionCheckTimer(),d.contentWindow.postMessage(this.clientId+" "+e,this.issuer)}createLoginUrl(d="",e="",f="",g=!1,v={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const m=this;let A;A=f||this.redirectUri;const s=yield this.createAndSaveNonce();if(d=d?s+this.config.nonceStateSeparator+encodeURIComponent(d):s,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const b=m.loginUrl.indexOf("?")>-1?"&":"?";let R=m.scope;this.oidc&&!R.match(/(^|\s)openid($|\s)/)&&(R="openid "+R);let E=m.loginUrl+b+"response_type="+encodeURIComponent(m.responseType)+"&client_id="+encodeURIComponent(m.clientId)+"&state="+encodeURIComponent(d)+"&redirect_uri="+encodeURIComponent(A)+"&scope="+encodeURIComponent(R);if(this.responseType.includes("code")&&!this.disablePKCE){const[h,x]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",x):this._storage.setItem("PKCE_verifier",x),E+="&code_challenge="+h,E+="&code_challenge_method=S256"}e&&(E+="&login_hint="+encodeURIComponent(e)),m.resource&&(E+="&resource="+encodeURIComponent(m.resource)),m.oidc&&(E+="&nonce="+encodeURIComponent(s)),g&&(E+="&prompt=none");for(const h of Object.keys(v))E+="&"+encodeURIComponent(h)+"="+encodeURIComponent(v[h]);if(this.customQueryParams)for(const h of Object.getOwnPropertyNames(this.customQueryParams))E+="&"+h+"="+encodeURIComponent(this.customQueryParams[h]);return E})}initImplicitFlowInternal(d="",e=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let f={},g=null;"string"==typeof e?g=e:"object"==typeof e&&(f=e),this.createLoginUrl(d,g,null,!1,f).then(this.config.openUri).catch(v=>{console.error("Error in initImplicitFlow",v),this.inImplicitFlow=!1})}initImplicitFlow(d="",e=""){""!==this.loginUrl?this.initImplicitFlowInternal(d,e):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(f=>"discovery_document_loaded"===f.type)).subscribe(f=>this.initImplicitFlowInternal(d,e))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(d){const e=this;if(d.onTokenReceived){const f={idClaims:e.getIdentityClaims(),idToken:e.getIdToken(),accessToken:e.getAccessToken(),state:e.state};d.onTokenReceived(f)}}storeAccessTokenResponse(d,e,f,g,v){if(this._storage.setItem("access_token",d),g&&!Array.isArray(g)?this._storage.setItem("granted_scopes",JSON.stringify(g.split(" "))):g&&Array.isArray(g)&&this._storage.setItem("granted_scopes",JSON.stringify(g)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),f){const m=1e3*f,s=this.dateTimeService.new().getTime()+m;this._storage.setItem("expires_at",""+s)}e&&this._storage.setItem("refresh_token",e),v&&v.forEach((m,A)=>{this._storage.setItem(A,m)})}tryLogin(d=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(d).then(e=>!0):this.tryLoginImplicitFlow(d)}parseQueryString(d){return d&&0!==d.length?("?"===d.charAt(0)&&(d=d.substr(1)),this.urlHelper.parseQueryString(d)):{}}tryLoginCodeFlow(d=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const e=(d=d||{}).customHashFragment?d.customHashFragment.substring(1):window.location.search,f=this.getCodePartsFromUrl(e),g=f.code,v=f.state,m=f.session_state;if(!d.preventClearHashAfterLogin){const b=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,b)}let[A,s]=this.parseState(v);if(this.state=s,f.error){this.debug("error trying to login"),this.handleLoginError(d,f);const b=new OAuthErrorEvent("code_error",{},f);return this.eventsSubject.next(b),Promise.reject(b)}if(!d.disableNonceCheck){if(!A)return this.saveRequestedRoute(),Promise.resolve();if(!d.disableOAuth2StateCheck&&!this.validateNonce(A)){const R=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(R),Promise.reject(R)}return this.storeSessionState(m),g&&(yield this.getTokenFromCode(g,d),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const d=this._storage.getItem("requested_route");d&&history.replaceState(null,"",window.location.origin+d)}getCodePartsFromUrl(d){return d&&0!==d.length?("?"===d.charAt(0)&&(d=d.substr(1)),this.urlHelper.parseQueryString(d)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(d,e){let f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",d).set("redirect_uri",e.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let g;g=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),g?f=f.set("code_verifier",g):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(f,e)}fetchAndProcessToken(d,e){e=e||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let f=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const g=btoa(`${this.clientId}:${this.dummyClientSecret}`);f=f.set("Authorization","Basic "+g)}return this.useHttpBasicAuth||(d=d.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(d=d.set("client_secret",this.dummyClientSecret)),new Promise((g,v)=>{if(this.customQueryParams)for(let m of Object.getOwnPropertyNames(this.customQueryParams))d=d.set(m,this.customQueryParams[m]);this.http.post(this.tokenEndpoint,d,{headers:f}).subscribe(m=>{this.debug("refresh tokenResponse",m),this.storeAccessTokenResponse(m.access_token,m.refresh_token,m.expires_in||this.fallbackAccessTokenExpirationTimeInSec,m.scope,this.extractRecognizedCustomParameters(m)),this.oidc&&m.id_token?this.processIdToken(m.id_token,m.access_token,e.disableNonceCheck).then(A=>{this.storeIdToken(A),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),g(m)}).catch(A=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",A)),console.error("Error validating tokens"),console.error(A),v(A)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),g(m))},m=>{console.error("Error getting token",m),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",m)),v(m)})})}tryLoginImplicitFlow(d=null){let e;e=(d=d||{}).customHashFragment?this.urlHelper.getHashFragmentParams(d.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",e);const f=e.state;let[g,v]=this.parseState(f);if(this.state=v,e.error){this.debug("error trying to login"),this.handleLoginError(d,e);const R=new OAuthErrorEvent("token_error",{},e);return this.eventsSubject.next(R),Promise.reject(R)}const m=e.access_token,A=e.id_token,s=e.session_state,b=e.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!m||this.requestAccessToken&&!d.disableOAuth2StateCheck&&!f||this.oidc&&!A)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!s&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!d.disableNonceCheck&&!this.validateNonce(g)){const E=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(E),Promise.reject(E)}return this.requestAccessToken&&this.storeAccessTokenResponse(m,null,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,b),this.oidc?this.processIdToken(A,m,d.disableNonceCheck).then(R=>d.validationHandler?d.validationHandler({accessToken:m,idClaims:R.idTokenClaims,idToken:R.idToken,state:f}).then(E=>R):R).then(R=>(this.storeIdToken(R),this.storeSessionState(s),this.clearHashAfterLogin&&!d.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(d),this.inImplicitFlow=!1,!0)).catch(R=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",R)),this.logger.error("Error validating tokens"),this.logger.error(R),Promise.reject(R))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!d.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(d),Promise.resolve(!0))}parseState(d){let e=d,f="";if(d){const g=d.indexOf(this.config.nonceStateSeparator);g>-1&&(e=d.substr(0,g),f=d.substr(g+this.config.nonceStateSeparator.length))}return[e,f]}validateNonce(d){let e;return e=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),e===d||(console.error("Validating access_token failed, wrong state/nonce.",e,d),!1)}storeIdToken(d){this._storage.setItem("id_token",d.idToken),this._storage.setItem("id_token_claims_obj",d.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+d.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(d){this._storage.setItem("session_state",d)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(d,e){d.onLoginError&&d.onLoginError(e),this.clearHashAfterLogin&&!d.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(d=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:d}processIdToken(d,e,f=!1){const g=d.split("."),m=b64DecodeUnicode(this.padBase64(g[0])),A=JSON.parse(m),b=b64DecodeUnicode(this.padBase64(g[1])),R=JSON.parse(b);let E;if(E=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(R.aud)){if(R.aud.every(he=>he!==this.clientId)){const he="Wrong audience: "+R.aud.join(",");return this.logger.warn(he),Promise.reject(he)}}else if(R.aud!==this.clientId){const he="Wrong audience: "+R.aud;return this.logger.warn(he),Promise.reject(he)}if(!R.sub){const he="No sub claim in id_token";return this.logger.warn(he),Promise.reject(he)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==R.sub){const he=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${R.sub}`;return this.logger.warn(he),Promise.reject(he)}if(!R.iat){const he="No iat claim in id_token";return this.logger.warn(he),Promise.reject(he)}if(!this.skipIssuerCheck&&R.iss!==this.issuer){const he="Wrong issuer: "+R.iss;return this.logger.warn(he),Promise.reject(he)}if(!f&&R.nonce!==E){const he="Wrong nonce: "+R.nonce;return this.logger.warn(he),Promise.reject(he)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!R.at_hash){const he="An at_hash is needed!";return this.logger.warn(he),Promise.reject(he)}const h=this.dateTimeService.now(),x=1e3*R.iat,k=1e3*R.exp,G=this.getClockSkewInMsec();if(x-G>=h||k+G<=h){const he="Token has expired";return console.error(he),console.error({now:h,issuedAtMSec:x,expiresAtMSec:k}),Promise.reject(he)}const X={accessToken:e,idToken:d,jwks:this.jwks,idTokenClaims:R,idTokenHeader:A,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(X).then(he=>({idToken:d,idTokenClaims:R,idTokenClaimsJson:b,idTokenHeader:A,idTokenHeaderJson:m,idTokenExpiresAt:k})):this.checkAtHash(X).then(he=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!he){const re="Wrong at_hash";return this.logger.warn(re),Promise.reject(re)}return this.checkSignature(X).then(re=>{const ce={idToken:d,idTokenClaims:R,idTokenClaimsJson:b,idTokenHeader:A,idTokenHeaderJson:m,idTokenExpiresAt:k};return this.disableAtHashCheck?ce:this.checkAtHash(X).then(Pe=>{if(this.requestAccessToken&&!Pe){const se="Wrong at_hash";return this.logger.warn(se),Promise.reject(se)}return ce})})})}getIdentityClaims(){const d=this._storage.getItem("id_token_claims_obj");return d?JSON.parse(d):null}getGrantedScopes(){const d=this._storage.getItem("granted_scopes");return d?JSON.parse(d):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(d){for(;d.length%4!=0;)d+="=";return d}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const d=this._storage.getItem("expires_at"),e=this.dateTimeService.new();return!(d&&parseInt(d,10)=0&&null!==this._storage.getItem(d)?JSON.parse(this._storage.getItem(d)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(d={},e=""){let f=!1;"boolean"==typeof d&&(f=d,d={});const g=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(m=>this._storage.removeItem(m)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||f||!g&&!this.postLogoutRedirectUri)return;let v;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)v=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(g)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let m=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});g&&(m=m.set("id_token_hint",g));const A=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";A&&(m=m.set("post_logout_redirect_uri",A),e&&(m=m.set("state",e)));for(let s in d)m=m.set(s,d[s]);v=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+m.toString()}this.config.openUri(v)}createAndSaveNonce(){const d=this;return this.createNonce().then(function(e){return d.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",e):d._storage.setItem("nonce",e),e})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const d=this.document.getElementById(this.silentRefreshIFrameName);d&&d.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const e=this.document.getElementById(this.sessionCheckIFrameName);e&&e.remove()}createNonce(){return new Promise(d=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let f=45,g="";const v="undefined"==typeof self?null:self.crypto||self.msCrypto;if(v){let m=new Uint8Array(f);v.getRandomValues(m),m.map||(m.map=Array.prototype.map),m=m.map(A=>e.charCodeAt(A%e.length)),g=String.fromCharCode.apply(null,m)}else for(;0"discovery_document_loaded"===f.type)).subscribe(f=>this.initCodeFlowInternal(d,e))}initCodeFlowInternal(d="",e={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let f={},g=null;"string"==typeof e?g=e:"object"==typeof e&&(f=e),this.createLoginUrl(d,g,null,!1,f).then(this.config.openUri).catch(v=>{console.error("Error in initAuthorizationCodeFlow"),console.error(v)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const d=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(d,"sha-256")),d]})}extractRecognizedCustomParameters(d){let e=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(f=>{d[f]&&e.set(f,JSON.stringify(d[f]))}),e}revokeTokenAndLogout(d={},e=!1){let f=this.revocationEndpoint,g=this.getAccessToken(),v=this.getRefreshToken();if(!g)return;let m=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),A=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const s=btoa(`${this.clientId}:${this.dummyClientSecret}`);A=A.set("Authorization","Basic "+s)}if(this.useHttpBasicAuth||(m=m.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(m=m.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const s of Object.getOwnPropertyNames(this.customQueryParams))m=m.set(s,this.customQueryParams[s]);return new Promise((s,b)=>{let R,E;if(g){let h=m.set("token",g).set("token_type_hint","access_token");R=this.http.post(f,h,{headers:A})}else R=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(v){let h=m.set("token",v).set("token_type_hint","refresh_token");E=this.http.post(f,h,{headers:A})}else E=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);e&&(R=R.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(h=>0===h.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(h))),E=E.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(h=>0===h.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(h)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([R,E]).subscribe(h=>{this.logOut(d),s(h),this.logger.info("Token successfully revoked")},h=>{this.logger.error("Error revoking token",h),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",h)),b(h)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Ze.\u0275fac=function(d){return new(d||Ze)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},Ze.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(ge){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(ge)}}let DefaultOAuthInterceptor=(()=>{class Ze{constructor(d,e,f){this.oAuthService=d,this.errorHandler=e,this.moduleConfig=f}checkUrl(d){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(d):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(e=>d.toLowerCase().startsWith(e.toLowerCase()))}intercept(d,e){const f=d.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(f)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>!!v)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_received"===v.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(v=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(v=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(v=>{if(v){const A=d.headers.set("Authorization","Bearer "+v);d=d.clone({headers:A})}return e.handle(d).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(m=>this.errorHandler.handleError(m)))})):e.handle(d).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(v=>this.errorHandler.handleError(v))):e.handle(d)}}return Ze.\u0275fac=function(d){return new(d||Ze)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},Ze.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();class NullValidationHandler{validateSignature(ge){return Promise.resolve(null)}validateAtHash(ge){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class Ze{static forRoot(d=null,e=NullValidationHandler){return{ngModule:Ze,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:e},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:d},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return Ze.\u0275fac=function(d){return new(d||Ze)},Ze.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:Ze}),Ze.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),Ze})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},43586:(Ze,ge,d)=>{"use strict";d.d(ge,{nu:()=>fe,Co:()=>We});var e=d(5e3),f=d(93075),g=d(90508),v=d(74107),m=d(67322),A=d(91159),s=d(591),b=d(21086),R=d(36053),E=d(8929),h=d(87545),x=d(24850),k=d(1059),G=d(40943),X=d(7625),he=d(72986),re=d(92198),Ne=d(22868),ce=d(53435),Pe=d(15664),se=d(77446),V=d(20773),F=d(47423),W=d(25245),te=d(69808),ae=d(29772);const pe=["searchSelectInput"],Be=["innerSelectSearch"];function Fe(nt,st){if(1&nt){const dt=e.EpF();e.TgZ(0,"mat-checkbox",9),e.NdJ("change",function(de){return e.CHM(dt),e.oxw()._emitSelectAllBooleanToParent(de.checked)}),e.qZA()}if(2&nt){const dt=e.oxw();e.Q6J("color",null==dt.matFormField?null:dt.matFormField.color)("checked",dt.toggleAllCheckboxChecked)("indeterminate",dt.toggleAllCheckboxIndeterminate)("matTooltip",dt.toggleAllCheckboxTooltipMessage)("matTooltipPosition",dt.toogleAllCheckboxTooltipPosition)}}function ke(nt,st){1&nt&&e._UZ(0,"mat-spinner",10)}function De(nt,st){1&nt&&e.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function be(nt,st){1&nt&&(e.TgZ(0,"mat-icon"),e._uU(1,"close"),e.qZA())}function z(nt,st){if(1&nt){const dt=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(dt),e.oxw()._reset(!0)}),e.YNc(1,De,1,0,"ng-content",12),e.YNc(2,be,2,0,"ng-template",null,13,e.W1O),e.qZA()}if(2&nt){const dt=e.MAs(3),L=e.oxw();e.xp6(1),e.Q6J("ngIf",L.clearIcon)("ngIfElse",dt)}}function Ce(nt,st){if(1&nt&&(e.TgZ(0,"div",14),e._uU(1),e.qZA()),2&nt){const dt=e.oxw();e.xp6(1),e.hij(" ",dt.noEntriesFoundLabel,"\n")}}const J=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]]],I=function(nt,st){return{"mat-select-search-inner-multiple":nt,"mat-select-search-inner-toggle-all":st}},Ie=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]"];let Re=(()=>{class nt{}return nt.\u0275fac=function(dt){return new(dt||nt)},nt.\u0275dir=e.lG2({type:nt,selectors:[["","ngxMatSelectSearchClear",""]]}),nt})(),fe=(()=>{class nt{constructor(dt,L,de,M=null,S,P=null){this.matSelect=dt,this.changeDetectorRef=L,this._viewportRuler=de,this.matOption=M,this.liveAnnouncer=S,this.matFormField=P,this.placeholderLabel="Suche",this.type="text",this.noEntriesFoundLabel="Keine Optionen gefunden",this.indexAndLengthScreenReaderText=" of ",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toogleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new e.vpe,this.onTouched=N=>{},this._options$=new s.X(null),this.optionsList$=this._options$.pipe((0,h.w)(N=>N?N.changes.pipe((0,x.U)(ne=>ne.toArray()),(0,k.O)(N.toArray())):(0,b.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,x.U)(N=>N?N.length:0)),this._formControl=new f.NI(""),this._showNoEntriesFound$=(0,R.aj)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,x.U)(([N,ne])=>this.noEntriesFoundLabel&&N&&ne===this.getOptionsLengthOffset())),this._onDestroy=new E.xQ}get isInsideMatOption(){return!!this.matOption}get value(){return this._formControl.value}set _options(dt){this._options$.next(dt)}get _options(){return this._options$.getValue()}ngOnInit(){const dt="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(dt):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,dt]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[dt]=!0):this.matSelect.panelClass=dt,this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe((0,G.g)(1),(0,X.R)(this._onDestroy)).subscribe(L=>{L?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,he.q)(1)).pipe((0,X.R)(this._onDestroy)).subscribe(()=>{this.matSelect._keyManager?this.matSelect._keyManager.change.pipe((0,X.R)(this._onDestroy)).subscribe(()=>this.adjustScrollTopToFitActiveOptionIntoView()):console.log("_keyManager was not initialized."),this._options=this.matSelect.options;let L=this._options.toArray()[this.getOptionsLengthOffset()];this._options.changes.pipe((0,X.R)(this._onDestroy)).subscribe(()=>{setTimeout(()=>{const de=this._options.toArray(),M=de[this.getOptionsLengthOffset()],S=this.matSelect._keyManager;S&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(L,M)||!S.activeItem||!de.find(N=>this.matSelect.compareWith(N,S.activeItem)))&&S.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()}),this.disableScrollToActiveOnOptionsChanged||this.adjustScrollTopToFitActiveOptionIntoView()),L=M})})}),this._showNoEntriesFound$.pipe((0,X.R)(this._onDestroy)).subscribe(L=>{this.matOption&&(L?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,X.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,X.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(dt){this.toggleAll.emit(dt)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(dt){(dt.key&&1===dt.key.length||dt.keyCode>=A.A&&dt.keyCode<=A.Z||dt.keyCode>=A.xE&&dt.keyCode<=A.aO||dt.keyCode===A.L_||this.preventHomeEndKeyPropagation&&(dt.keyCode===A.Sd||dt.keyCode===A.uR))&&dt.stopPropagation(),this.matSelect.multiple&&dt.key&&dt.keyCode===A.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&dt.keyCode===A.hY&&this.value&&(this._reset(!0),dt.stopPropagation())}_handleKeyup(dt){if(dt.keyCode===A.LH||dt.keyCode===A.JH){const L=this.matSelect._getAriaActiveDescendant(),de=this._options.toArray().findIndex(M=>M.id===L);if(-1!==de){const M=this._options.toArray()[de];this.liveAnnouncer.announce(M.viewValue+" "+this.getAriaIndex(de)+this.indexAndLengthScreenReaderText+this.getAriaLength())}}}getAriaIndex(dt){return 0===this.getOptionsLengthOffset()?dt+1:dt}getAriaLength(){return this._options.toArray().length-this.getOptionsLengthOffset()}writeValue(dt){this._lastExternalInputValue=dt,this._formControl.setValue(dt),this.changeDetectorRef.markForCheck()}onBlur(){this.onTouched()}registerOnChange(dt){this._formControl.valueChanges.pipe((0,re.h)(L=>L!==this._lastExternalInputValue),(0,Ne.b)(()=>this._lastExternalInputValue=void 0),(0,X.R)(this._onDestroy)).subscribe(dt)}registerOnTouched(dt){this.onTouched=dt}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const dt=this.matSelect.panel.nativeElement,L=dt.scrollTop;this.searchSelectInput.nativeElement.focus(),dt.scrollTop=L}_reset(dt){this._formControl.setValue(""),dt&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,X.R)(this._onDestroy)).subscribe(dt=>{let L=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!dt||!Array.isArray(dt))&&(dt=[]);const de=this.matSelect.options.map(M=>M.value);this.previousSelectedValues.forEach(M=>{!dt.some(S=>this.matSelect.compareWith(S,M))&&!de.some(S=>this.matSelect.compareWith(S,M))&&(dt.push(M),L=!0)})}this.previousSelectedValues=dt,L&&this.matSelect._onChange(dt)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}adjustScrollTopToFitActiveOptionIntoView(){if(this.matSelect.panel&&this.matSelect.options.length>0){const dt=this.getMatOptionHeight(),L=this.matSelect._keyManager.activeItemIndex||0,de=(0,g.CB)(L,this.matSelect.options,this.matSelect.optionGroups),M=(this.matOption?-1:0)+de+L,S=this.matSelect.panel.nativeElement.scrollTop,P=this.innerSelectSearch.nativeElement.offsetHeight,N=Math.floor((256-P)/dt),ne=Math.round((S+P)/dt)-1;ne>=M?this.matSelect.panel.nativeElement.scrollTop=M*dt:ne+N<=M&&(this.matSelect.panel.nativeElement.scrollTop=(M+1)*dt-(256-P))}}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let L,dt=this.innerSelectSearch.nativeElement;for(;dt=dt.parentElement;)if(dt.classList.contains("mat-select-panel")){L=dt;break}L&&(this.innerSelectSearch.nativeElement.style.width=L.clientWidth+"px")}getMatOptionHeight(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}getOptionsLengthOffset(){return this.matOption?1:0}}return nt.\u0275fac=function(dt){return new(dt||nt)(e.Y36(v.gD),e.Y36(e.sBO),e.Y36(ce.rL),e.Y36(g.ey,8),e.Y36(Pe.Kd),e.Y36(m.KE,8))},nt.\u0275cmp=e.Xpm({type:nt,selectors:[["ngx-mat-select-search"]],contentQueries:function(dt,L,de){if(1&dt&&e.Suo(de,Re,5),2&dt){let M;e.iGM(M=e.CRH())&&(L.clearIcon=M.first)}},viewQuery:function(dt,L){if(1&dt&&(e.Gf(pe,7,e.SBq),e.Gf(Be,7,e.SBq)),2&dt){let de;e.iGM(de=e.CRH())&&(L.searchSelectInput=de.first),e.iGM(de=e.CRH())&&(L.innerSelectSearch=de.first)}},hostVars:2,hostBindings:function(dt,L){2&dt&&e.ekj("mat-select-search-inside-mat-option",L.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",noEntriesFoundLabel:"noEntriesFoundLabel",indexAndLengthScreenReaderText:"indexAndLengthScreenReaderText",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toogleAllCheckboxTooltipPosition:"toogleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[e._Bn([{provide:f.JU,useExisting:(0,e.Gpc)(()=>nt),multi:!0}])],ngContentSelectors:Ie,decls:11,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input","mat-input-element",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[1,"mat-select-search-no-entries-found"]],template:function(dt,L){1&dt&&(e.F$t(J),e._UZ(0,"input",0),e.TgZ(1,"div",1,2),e.YNc(3,Fe,1,5,"mat-checkbox",3),e.TgZ(4,"input",4,5),e.NdJ("keydown",function(M){return L._handleKeydown(M)})("keyup",function(M){return L._handleKeyup(M)})("blur",function(){return L.onBlur()}),e.qZA(),e.YNc(6,ke,1,0,"mat-spinner",6),e.YNc(7,z,4,2,"button",7),e.Hsn(8),e.qZA(),e.YNc(9,Ce,2,1,"div",8),e.ALo(10,"async")),2&dt&&(e.xp6(1),e.Q6J("ngClass",e.WLB(11,I,L.matSelect.multiple,L._isToggleAllCheckboxVisible())),e.xp6(2),e.Q6J("ngIf",L._isToggleAllCheckboxVisible()),e.xp6(1),e.Q6J("type",L.type)("formControl",L._formControl)("placeholder",L.placeholderLabel),e.uIk("aria-label",L.ariaLabel),e.xp6(2),e.Q6J("ngIf",L.searching),e.xp6(1),e.Q6J("ngIf",!L.hideClearSearchButton&&L.value&&!L.searching),e.xp6(2),e.Q6J("ngIf",e.lcZ(10,9,L._showNoEntriesFound$)))},directives:[se.oG,V.$g,F.lW,W.Hw,te.mk,te.O5,ae.gM,f.Fj,f.JJ,f.oH],pipes:[te.Ov],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;border-bottom-width:1px;border-bottom-style:solid;z-index:100;font-size:inherit;box-shadow:none;border-radius:4px 4px 0 0;-webkit-transform:translate3d(0,0,0)}.mat-select-search-inner.mat-select-search-inner-multiple[_ngcontent-%COMP%]{width:100%}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{flex-basis:auto}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{-ms-user-select:text} .mat-select-search-panel{transform:none!important;overflow-x:hidden}.mat-select-search-input[_ngcontent-%COMP%]{padding:16px 44px 16px 16px;box-sizing:border-box;width:100%}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding:16px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0;height:3em;line-height:3em}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{top:3px} .mat-option[aria-disabled=true].contains-mat-select-search{position:static;padding:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-option-pseudo-checkbox{display:none} .mat-option[aria-disabled=true].contains-mat-select-search.mat-select-search-no-entries-found{height:6em}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:16px;padding-bottom:2px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:16px}"],changeDetection:0}),nt})(),We=(()=>{class nt{}return nt.\u0275fac=function(dt){return new(dt||nt)},nt.\u0275mod=e.oAB({type:nt}),nt.\u0275inj=e.cJS({imports:[[te.ez,f.UX,F.ot,se.p9,W.Ps,V.Cq,ae.AV]]}),nt})()},4147:Ze=>{"use strict";Ze.exports={i8:"7.0.0"}}},Ze=>{Ze(Ze.s=9193)}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/runtime.8648d4343c055fd9.js b/dist/apps/admin-gui/runtime.9f3d4efaa22d5616.js similarity index 79% rename from dist/apps/admin-gui/runtime.8648d4343c055fd9.js rename to dist/apps/admin-gui/runtime.9f3d4efaa22d5616.js index 1db98b48e..9b5a9eb90 100644 --- a/dist/apps/admin-gui/runtime.8648d4343c055fd9.js +++ b/dist/apps/admin-gui/runtime.9f3d4efaa22d5616.js @@ -1 +1 @@ -(()=>{"use strict";var e,g={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return g[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=g,e=[],r.O=(n,t,f,o)=>{if(!t){var a=1/0;for(i=0;i=o)&&Object.keys(r.O).every(b=>r.O[b](t[d]))?t.splice(d--,1):(l=!1,o0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[t,f,o]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,f){if(1&f&&(t=this(t)),8&f||"object"==typeof t&&t&&(4&f&&t.__esModule||16&f&&"function"==typeof t.then))return t;var o=Object.create(null);r.r(o);var i={};n=n||[null,e({}),e([]),e(e)];for(var a=2&f&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(l=>i[l]=()=>t[l]);return i.default=()=>t,r.d(o,i),o}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{50:"1365ffde5b298701",142:"43a9f0a12ce945d0",176:"c4066f0d7c945d78",243:"6b69d0ec988a45bf",358:"2f59846edf0d8d73",385:"9a4ce74576f54406",493:"2871d9551d589868",641:"e4764992bfd886ec",892:"30b3ccb9e69a8b2b"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="admin-gui:";r.l=(t,f,o,i)=>{if(e[t])e[t].push(f);else{var a,l;if(void 0!==o)for(var d=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(p);var h=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),h&&h.forEach(y=>y(b)),_)return _(b)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(f,o)=>{var i=r.o(e,f)?e[f]:void 0;if(0!==i)if(i)o.push(i[2]);else if(666!=f){var a=new Promise((c,s)=>i=e[f]=[c,s]);o.push(i[2]=a);var l=r.p+r.u(f),d=new Error;r.l(l,c=>{if(r.o(e,f)&&(0!==(i=e[f])&&(e[f]=void 0),i)){var s=c&&("load"===c.type?"missing":c.type),p=c&&c.target&&c.target.src;d.message="Loading chunk "+f+" failed.\n("+s+": "+p+")",d.name="ChunkLoadError",d.type=s,d.request=p,i[1](d)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var n=(f,o)=>{var d,u,[i,a,l]=o,c=0;if(i.some(p=>0!==e[p])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(l)var s=l(r)}for(f&&f(o);c{"use strict";var e,g={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return g[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=g,e=[],r.O=(n,t,f,o)=>{if(!t){var a=1/0;for(i=0;i=o)&&Object.keys(r.O).every(p=>r.O[p](t[d]))?t.splice(d--,1):(l=!1,o0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[t,f,o]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,f){if(1&f&&(t=this(t)),8&f||"object"==typeof t&&t&&(4&f&&t.__esModule||16&f&&"function"==typeof t.then))return t;var o=Object.create(null);r.r(o);var i={};n=n||[null,e({}),e([]),e(e)];for(var a=2&f&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(l=>i[l]=()=>t[l]);return i.default=()=>t,r.d(o,i),o}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{50:"2f6574a040f40e25",142:"c901f6a31bdbd45f",176:"4214f0887288555b",243:"37e16c016d7e6a1a",358:"68c9abd8013a978d",484:"a4933cabff055e4e",493:"2871d9551d589868",641:"e4764992bfd886ec",892:"2e699f7cea038bc2"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="admin-gui:";r.l=(t,f,o,i)=>{if(e[t])e[t].push(f);else{var a,l;if(void 0!==o)for(var d=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(b);var h=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),h&&h.forEach(y=>y(p)),_)return _(p)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(f,o)=>{var i=r.o(e,f)?e[f]:void 0;if(0!==i)if(i)o.push(i[2]);else if(666!=f){var a=new Promise((c,s)=>i=e[f]=[c,s]);o.push(i[2]=a);var l=r.p+r.u(f),d=new Error;r.l(l,c=>{if(r.o(e,f)&&(0!==(i=e[f])&&(e[f]=void 0),i)){var s=c&&("load"===c.type?"missing":c.type),b=c&&c.target&&c.target.src;d.message="Loading chunk "+f+" failed.\n("+s+": "+b+")",d.name="ChunkLoadError",d.type=s,d.request=b,i[1](d)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var n=(f,o)=>{var d,u,[i,a,l]=o,c=0;if(i.some(b=>0!==e[b])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(l)var s=l(r)}for(f&&f(o);c - + diff --git a/dist/apps/password-reset/main.d5b4595635fd9f8e.js b/dist/apps/password-reset/main.d5b4595635fd9f8e.js deleted file mode 100644 index 16403b055..000000000 --- a/dist/apps/password-reset/main.d5b4595635fd9f8e.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkpassword_reset=self.webpackChunkpassword_reset||[]).push([[179],{4159:(N,G,v)=>{"use strict";var b=v(9808),u=v(5e3);class I extends b.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class L extends I{static makeCurrent(){(0,b.HT)(new L)}onAndCancel(n,e,t){return n.addEventListener(e,t,!1),()=>{n.removeEventListener(e,t,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function O(){return R=R||document.querySelector("base"),R?R.getAttribute("href"):null}();return null==e?null:function U(r){$=$||document.createElement("a"),$.setAttribute("href",r);const n=$.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){R=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return(0,b.Mx)(document.cookie,n)}}let $,R=null;const j=new u.OlP("TRANSITION_ID"),z=[{provide:u.ip1,useFactory:function F(r,n,e){return()=>{e.get(u.CZH).donePromise.then(()=>{const t=(0,b.q)(),o=n.querySelectorAll(`style[ng-transition="${r}"]`);for(let s=0;s{const s=n.findTestabilityInTree(t,o);if(null==s)throw new Error("Could not find testability for element.");return s},u.dqk.getAllAngularTestabilities=()=>n.getAllTestabilities(),u.dqk.getAllAngularRootElements=()=>n.getAllRootElements(),u.dqk.frameworkStabilizers||(u.dqk.frameworkStabilizers=[]),u.dqk.frameworkStabilizers.push(t=>{const o=u.dqk.getAllAngularTestabilities();let s=o.length,i=!1;const a=function(d){i=i||d,s--,0==s&&t(i)};o.forEach(function(d){d.whenStable(a)})})}findTestabilityInTree(n,e,t){if(null==e)return null;const o=n.getTestability(e);return null!=o?o:t?(0,b.q)().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null}}let q=(()=>{class r{build(){return new XMLHttpRequest}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const J=new u.OlP("EventManagerPlugins");let ie=(()=>{class r{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(o=>o.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,o){return this._findPluginFor(t).addEventListener(e,t,o)}addGlobalEventListener(e,t,o){return this._findPluginFor(t).addGlobalEventListener(e,t,o)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const o=this._plugins;for(let s=0;s{class r{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),t.add(o))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),Ce=(()=>{class r extends re{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,o){e.forEach(s=>{const i=this._doc.createElement("style");i.textContent=s,o.push(t.appendChild(i))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(Ae),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,o)=>{this._addStylesToHost(e,o,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Ae))}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();function Ae(r){(0,b.q)().remove(r)}const He={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ft=/%COMP%/g;function ue(r,n,e){for(let t=0;t{if("__ngUnwrap__"===n)return r;!1===r(n)&&(n.preventDefault(),n.returnValue=!1)}}let be=(()=>{class r{constructor(e,t,o){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new se(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case u.ifc.Emulated:{let o=this.rendererByCompId.get(t.id);return o||(o=new Ii(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,o)),o.applyToHost(e),o}case 1:case u.ifc.ShadowDom:return new Ne(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const o=ue(t.id,t.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(ie),u.LFG(Ce),u.LFG(u.AFp))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();class se{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(He[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){n.appendChild(e)}insertBefore(n,e,t){n&&n.insertBefore(e,t)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let t="string"==typeof n?document.querySelector(n):n;if(!t)throw new Error(`The selector "${n}" did not match any elements`);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,o){if(o){e=o+":"+e;const s=He[o];s?n.setAttributeNS(s,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){const o=He[t];o?n.removeAttributeNS(o,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,o){o&(u.JOm.DashCase|u.JOm.Important)?n.style.setProperty(e,t,o&u.JOm.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&u.JOm.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n[e]=t}setValue(n,e){n.nodeValue=e}listen(n,e,t){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,de(t)):this.eventManager.addEventListener(n,e,de(t))}}class Ii extends se{constructor(n,e,t,o){super(n),this.component=t;const s=ue(o+"-"+t.id,t.styles,[]);e.addStyles(s),this.contentAttr=function Ze(r){return"_ngcontent-%COMP%".replace(ft,r)}(o+"-"+t.id),this.hostAttr=function oe(r){return"_nghost-%COMP%".replace(ft,r)}(o+"-"+t.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,e){const t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}}class Ne extends se{constructor(n,e,t,o){super(n),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=ue(o.id,o.styles,[]);for(let i=0;i{class r extends ee{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,o){return e.addEventListener(t,o,!1),()=>this.removeEventListener(e,t,o)}removeEventListener(e,t,o){return e.removeEventListener(t,o)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const An=["alt","control","meta","shift"],io={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ot={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Do={alt:r=>r.altKey,control:r=>r.ctrlKey,meta:r=>r.metaKey,shift:r=>r.shiftKey};let Cn=(()=>{class r extends ee{constructor(e){super(e)}supports(e){return null!=r.parseEventName(e)}addEventListener(e,t,o){const s=r.parseEventName(t),i=r.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,b.q)().onAndCancel(e,s.domEventName,i))}static parseEventName(e){const t=e.toLowerCase().split("."),o=t.shift();if(0===t.length||"keydown"!==o&&"keyup"!==o)return null;const s=r._normalizeKey(t.pop());let i="";if(An.forEach(d=>{const h=t.indexOf(d);h>-1&&(t.splice(h,1),i+=d+".")}),i+=s,0!=t.length||0===s.length)return null;const a={};return a.domEventName=o,a.fullKey=i,a}static getEventFullKey(e){let t="",o=function ri(r){let n=r.key;if(null==n){if(n=r.keyIdentifier,null==n)return"Unidentified";n.startsWith("U+")&&(n=String.fromCharCode(parseInt(n.substring(2),16)),3===r.location&&Ot.hasOwnProperty(n)&&(n=Ot[n]))}return io[n]||n}(e);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),An.forEach(s=>{s!=o&&Do[s](e)&&(t+=s+".")}),t+=o,t}static eventCallback(e,t,o){return s=>{r.getEventFullKey(s)===e&&o.runGuarded(()=>t(s))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const Mo=(0,u.eFA)(u._c5,"browser",[{provide:u.Lbi,useValue:b.bD},{provide:u.g9A,useValue:function no(){L.makeCurrent(),V.init()},multi:!0},{provide:b.K0,useFactory:function ns(){return(0,u.RDi)(document),document},deps:[]}]),oo=[{provide:u.zSh,useValue:"root"},{provide:u.qLn,useFactory:function is(){return new u.qLn},deps:[]},{provide:J,useClass:Je,multi:!0,deps:[b.K0,u.R0b,u.Lbi]},{provide:J,useClass:Cn,multi:!0,deps:[b.K0]},{provide:be,useClass:be,deps:[ie,Ce,u.AFp]},{provide:u.FYo,useExisting:be},{provide:re,useExisting:Ce},{provide:Ce,useClass:Ce,deps:[b.K0]},{provide:u.dDg,useClass:u.dDg,deps:[u.R0b]},{provide:ie,useClass:ie,deps:[J,u.R0b]},{provide:b.JF,useClass:q,deps:[]}];let xo=(()=>{class r{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:r,providers:[{provide:u.AFp,useValue:e.appId},{provide:j,useExisting:u.AFp},z]}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(r,12))},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:oo,imports:[b.ez,u.hGG]}),r})(),Oi=(()=>{class r{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:function(e){let t=null;return t=e?new e:function _i(){return new Oi((0,u.LFG)(b.K0))}(),t},providedIn:"root"}),r})();"undefined"!=typeof window&&window;let Sn=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:function(e){let t=null;return t=e?new(e||r):u.LFG(pr),t},providedIn:"root"}),r})(),pr=(()=>{class r extends Sn{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case u.q3G.NONE:return t;case u.q3G.HTML:return(0,u.qzn)(t,"HTML")?(0,u.z3N)(t):(0,u.EiD)(this._doc,String(t)).toString();case u.q3G.STYLE:return(0,u.qzn)(t,"Style")?(0,u.z3N)(t):t;case u.q3G.SCRIPT:if((0,u.qzn)(t,"Script"))return(0,u.z3N)(t);throw new Error("unsafe value used in a script context");case u.q3G.URL:return(0,u.yhl)(t),(0,u.qzn)(t,"URL")?(0,u.z3N)(t):(0,u.mCW)(String(t));case u.q3G.RESOURCE_URL:if((0,u.qzn)(t,"ResourceURL"))return(0,u.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,u.JVY)(e)}bypassSecurityTrustStyle(e){return(0,u.L6k)(e)}bypassSecurityTrustScript(e){return(0,u.eBb)(e)}bypassSecurityTrustUrl(e){return(0,u.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,u.pB0)(e)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:function(e){let t=null;return t=e?new e:function Lc(r){return new pr(r.get(b.K0))}(u.LFG(u.zs3)),t},providedIn:"root"}),r})();var C=v(520);class Lt{encodeKey(n){return encodeURIComponent(n)}encodeValue(n){return encodeURIComponent(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const Bt=new u.OlP("basePath");class je{constructor(n={}){this.apiKeys=n.apiKeys,this.username=n.username,this.password=n.password,this.accessToken=n.accessToken,this.basePath=n.basePath,this.withCredentials=n.withCredentials,this.encoder=n.encoder}selectHeaderContentType(n){if(0===n.length)return;const e=n.find(t=>this.isJsonMime(t));return void 0===e?n[0]:e}selectHeaderAccept(n){if(0===n.length)return;const e=n.find(t=>this.isJsonMime(t));return void 0===e?n[0]:e}isJsonMime(n){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==n&&(e.test(n)||"application/json-patch+json"===n.toLowerCase())}}let un=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}convertAttributeToNonunique(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}convertAttributeToUnique(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}createAttributeDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteAttributeDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attribute",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteAttributeDefinitions(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("attributes[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllAttributeDefinitions(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAttribute(e,t,o,s,i,a,d,h,g,S,H,te="body",he=!1){let _e=new C.LE({encoder:this.encoder});null!=e&&(_e=_e.set("attributeName",e)),null!=t&&(_e=_e.set("attributeId",t)),null!=o&&(_e=_e.set("facility",o)),null!=s&&(_e=_e.set("user",s)),null!=i&&(_e=_e.set("vo",i)),null!=a&&(_e=_e.set("resource",a)),null!=d&&(_e=_e.set("member",d)),null!=h&&(_e=_e.set("group",h)),null!=g&&(_e=_e.set("host",g)),null!=S&&(_e=_e.set("userExtSource",S)),null!=H&&(_e=_e.set("key",H));let Te=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Te=Te.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Te=Te.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const bt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Te=Te.set("Authorization","Bearer "+bt)}const Rt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Rt&&(Te=Te.set("Accept",Rt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:_e,withCredentials:this.configuration.withCredentials,headers:Te,observe:te,reportProgress:he})}getAttributeDefinitionById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributeDefinitionByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributeDefinitionsByNamespace(e,t="body",o=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("namespace",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributeModulesDependenciesForAttributeGraphText(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("format",e)),null!=t&&(i=i.set("attrName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAttributeModulesDependenciesGraphText(e,t="body",o=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("format",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributePolicyCollections(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributeRights(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributesDefinitionWithRights(e,t,o,s,i,a,d,h,g="body",S=!1){let H=new C.LE({encoder:this.encoder});null!=e&&(H=H.set("member",e)),null!=t&&(H=H.set("user",t)),null!=o&&(H=H.set("vo",o)),null!=s&&(H=H.set("group",s)),null!=i&&(H=H.set("resource",i)),null!=a&&(H=H.set("facility",a)),null!=d&&(H=H.set("host",d)),null!=h&&(H=H.set("userExtSource",h));let te=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(te=te.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(te=te.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;te=te.set("Authorization","Bearer "+Te)}const _e=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==_e&&(te=te.set("Accept",_e)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:H,withCredentials:this.configuration.withCredentials,headers:te,observe:g,reportProgress:S})}getEntitylessAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("key",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getEntitylessAttributesByKey(e,t="body",o=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("key",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getEntitylessAttributesByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attrName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getEntitylessAttributesWithKeys(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attrName",e)),t&&t.forEach(g=>{i=i.append("keys[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getEntitylessKeys(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilityAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilityAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilityResourceUserMemberAttributes(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==o)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("resource",t)),null!=o&&(d=d.set("user",o)),null!=s&&(d=d.set("member",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getFacilityUserAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupResourceAttributeById(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attributeId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getGroupResourceAttributeByName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attributeName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getGroupResourceAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getHostAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getHostAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getHostAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("host",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getLogins(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMemberAndUserAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==t)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("workWithUserAttributes",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMemberAndUserAttributesByNames(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),t&&t.forEach(S=>{a=a.append("attrNames[]",S)}),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMemberAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMemberAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMemberAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMemberGroupAndUserAttributesByNames(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),o&&o.forEach(H=>{d=d.append("attrNames[]",H)}),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getMemberGroupAttributeById(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("attributeId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberGroupAttributeByName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("attributeName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberGroupAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMemberGroupAttributesByNames(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),o&&o.forEach(S=>{a=a.append("attrNames[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberResourceAndUserFacilityAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberResourceAndUserFacilityAttributesByNames(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("resource",t)),o&&o.forEach(H=>{d=d.append("attrNames[]",H)}),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getMemberResourceAttributeById(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attributeId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberResourceAttributeByName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attributeName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberResourceAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRequiredAttributesFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRequiredAttributesFacilityService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesFacilityServices(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("services[]",g)}),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesGroupResourceService(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("group",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRequiredAttributesHostService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==t)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("host",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesMember(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("workWithUserAttributes",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesMemberGroup(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRequiredAttributesMemberGroupResourceService(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("resource",t)),null!=o&&(h=h.set("group",o)),null!=s&&(h=h.set("member",s)),null!=i&&(h=h.set("workWithUserAttributes",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}getRequiredAttributesMemberGroupService(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("group",t)),null!=o&&(d=d.set("member",o)),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getRequiredAttributesMemberResource(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRequiredAttributesMemberResourceService(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("resource",t)),null!=o&&(d=d.set("member",o)),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getRequiredAttributesResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRequiredAttributesResourceService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesResourceServices(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("services[]",g)}),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRequiredAttributesUserFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesVoService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("vo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourceAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceGroupAndGroupAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("workWithGroupAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getResourceGroupAndGroupAttributesByNames(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),o&&o.forEach(H=>{d=d.append("attrNames[]",H)}),null!=s&&(d=d.set("workWithGroupAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getResourceGroupAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceGroupMemberAttributesByNames(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),null!=o&&(d=d.set("member",o)),s&&s.forEach(H=>{d=d.append("attrNames[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getUserAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserExtSourceAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserExtSourceAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserExtSourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("userExtSource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserExtSourceAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserFacilityAttributeById(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("attributeId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getUserFacilityAttributeByName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("attributeName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getUserFacilityAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getVoAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getVoAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getVoAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeAttributesForFacilityResourceGroupUserMember(e,t,o,s,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==o)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==a)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("facility",e)),null!=t&&(g=g.set("resource",t)),null!=o&&(g=g.set("group",o)),null!=s&&(g=g.set("user",s)),null!=i&&(g=g.set("member",i)),a&&a.forEach(he=>{g=g.append("attributes[]",he)});let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}removeAttributesForFacilityResourceUserMember(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("facility",e)),null!=t&&(h=h.set("resource",t)),null!=o&&(h=h.set("user",o)),null!=s&&(h=h.set("member",s)),i&&i.forEach(te=>{h=h.append("attributes[]",te)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}removeEntitylessAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("key",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupResourceAttribute(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attribute",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeGroupResourceAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),o&&o.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),o&&o.forEach(H=>{d=d.append("attributes[]",H)}),null!=s&&(d=d.set("workWithGroupAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}removeHostAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeHostAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeMemberAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeMemberAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeMemberAttributesWorkWithUserAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),t&&t.forEach(S=>{a=a.append("attributes[]",S)}),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeMemberGroupAttribute(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("attribute",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeMemberGroupAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),o&&o.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),o&&o.forEach(H=>{d=d.append("attributes[]",H)}),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}removeMemberResourceAttribute(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attribute",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeMemberResourceAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),o&&o.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeResourceAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeResourceAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeUesAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeUserAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeUserAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeUserExtSourceAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeUserFacilityAttribute(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("attribute",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeUserFacilityAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),o&&o.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeVoAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeVoAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}setAttributePolicyCollections(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setAttributeRights(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setEntitylessAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityResourceGroupUserMemberAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityResourceUserMemberAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupResourceAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupResourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setHostAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setHostAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberGroupAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberGroupWithUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberResourceAndUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberResourceAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberResourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberWithUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceGroupWithGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserExtSourceAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserExtSourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserFacilityAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserFacilityAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setVoAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setVoAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateAttributeDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),ai=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}auditMessagesManagerLog(e,t="body",o=!1){if(null==e)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("msg",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/log`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}createAuditerConsumer(e,t="body",o=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("consumerName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/createAuditerConsumer`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllAuditerConsumers(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAuditerMessagesCount(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getLastMessageId(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getMessages(e,t="body",o=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("count",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessages`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMessagesByCount(e,t="body",o=!1){if(null==e)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("count",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesByCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMessagesPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetMessagesPage was null or undefined when calling getMessagesPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}pollConsumerMessages(e,t="body",o=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("consumerName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/pollConsumerMessages`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}setLastProcessedId(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==t)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("consumerName",e)),null!=t&&(i=i.set("lastProcessedId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/setLastProcessedId`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Hi=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getAllPolicies(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==o)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("role",e)),null!=t&&(a=a.set("complementaryObjectId",t)),null!=o&&(a=a.set("complementaryObjectName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAuthzRichAdmins(e,t,o,s,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==o)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==s)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("role",e)),null!=t&&(g=g.set("complementaryObjectId",t)),null!=o&&(g=g.set("complementaryObjectName",o)),s&&s.forEach(he=>{g=g.append("specificAttributes",he)}),null!=i&&(g=g.set("allUserAttributes",i)),null!=a&&(g=g.set("onlyDirectAdmins",a));let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}getFacilitiesWhereUserIsInRoles(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupRoleNames(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupRoles(e,t="body",o=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("groupId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupsWhereUserIsInRoles(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getLoggedUser(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getPerunPrincipal(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getSecurityTeamsWhereUserIsInRoles(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserRoleNames(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserRoles(e,t="body",o=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("userId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVosWhereUserIsInRoles(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}isFacilityAdmin(e,t="body",o=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}isGroupAdmin(e,t="body",o=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}isPerunAdmin(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}isVoAdmin(e,t="body",o=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}keepAlive(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setRoleWithUserComplementaryObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}unsetRoleWithGroupComplementaryObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}unsetRoleWithUserComplementaryObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),ss=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}createAutorship(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createCategoryCat(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createCategoryNR(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createPublication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createPublicationSystem(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createThanks(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteAuthorship(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==t)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("publicationId",e)),null!=t&&(i=i.set("userId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteCategory(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deletePublication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deletePublicationSystem(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteThanks(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findAllAuthors(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}findAuthorsByPublicationId(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findExternalPublications(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==t)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==o)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==s)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("yearSince",t)),null!=o&&(d=d.set("yearTill",o)),null!=s&&(d=d.set("pubSysNamespace",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}findNewAuthors(e,t="body",o=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("searchString",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findPublicationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findPublicationsByFilter(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let a=new C.LE({encoder:this.encoder});null!=t&&(a=a.set("yearSince",t)),null!=o&&(a=a.set("yearTill",o)),null!=e&&(a=a.set("userId",e));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}findPublicationsByGUIFilter(e,t,o,s,i,a,d,h,g,S="body",H=!1){let te=new C.LE({encoder:this.encoder});null!=e&&(te=te.set("title",e)),null!=t&&(te=te.set("isbn",t)),null!=o&&(te=te.set("doi",o)),null!=s&&(te=te.set("id",s)),null!=i&&(te=te.set("year",i)),null!=a&&(te=te.set("category",a)),null!=d&&(te=te.set("yearSince",d)),null!=h&&(te=te.set("yearTill",h)),null!=g&&(te=te.set("userId",g));let he=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(he=he.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(he=he.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const mt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;he=he.set("Authorization","Bearer "+mt)}const Te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Te&&(he=he.set("Accept",Te)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:te,withCredentials:this.configuration.withCredentials,headers:he,observe:S,reportProgress:H})}findSimilarPublications(e,t,o,s="body",i=!1){let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("title",e)),null!=t&&(a=a.set("doi",t)),null!=o&&(a=a.set("isbn",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getCategories(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPublicationSystems(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getRank(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRank.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichThanksByPublicationId(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}lockPublications(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateCategory(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updatePublication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updatePublicationSystem(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Ro=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getCurrentDatabaseVersion(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getDatabaseDriverInformation(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getDatabaseInformation(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getTimeOfQueryPerformance(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),ro=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addExtSourceWithGroupSource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addExtSourceWithVoSource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createExtSourceFromExtSourceObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createExtSourceWithNameType(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==t)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("type",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteExtSource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getExtSourceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getExtSourceByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getExtSources(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getGroupExtSources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoExtSources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}loadExtSourcesDefinitions(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}removeExtSourceWithGroupSource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeExtSourceWithVoSource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),kn=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addFacilityAdminGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addFacilityAdminGroupByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addFacilityAdminUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addFacilityAdminUserByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addFacilityOwner(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addFacilityOwnerByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addFacilityOwnerByFacilityNameOwnerName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addFacilityOwnerByOwnerName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addHost(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("hostname",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addHostByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("hostname",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addHosts(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hostnames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addHostsByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hostnames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}assignSecurityTeam(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}assignSecurityTeamByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyAttributesByDestinationName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyAttributesBySourceDestinationNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyAttributesBySourceName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyManagers(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyManagersByDestinationName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyManagersBySourceDestinationNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyManagersBySourceName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyOwners(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyOwnersByDestinationName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyOwnersBySourceDestinationNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyOwnersBySourceName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("description",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteFacilityByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllFacilities(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllowedGroups(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("service",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAllowedGroupsByFacilityName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("service",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAllowedRichGroupsWithAttributes(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(H=>{d=d.append("attrNames[]",H)}),null!=o&&(d=d.set("vo",o)),null!=s&&(d=d.set("service",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getAllowedRichGroupsWithAttributesByFacilityName(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(H=>{d=d.append("attrNames[]",H)}),null!=o&&(d=d.set("vo",o)),null!=s&&(d=d.set("service",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getAllowedUsersOfFacility(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("service",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAllowedUsersOfFacilityByFacilityName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("service",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAllowedVos(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllowedVosByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedFacilitiesByGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedFacilitiesByMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedFacilitiesByService(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedFacilitiesByUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesByAssignedServiceForFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAssignedResourcesForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesForFacilityByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesForFacilityByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedSecurityTeams(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedSecurityTeamsByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedUsers(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAssignedUsersByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getBansForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facilityId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getBansForUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getEnrichedFacilities(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getEnrichedHosts(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilitiesByAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeName",e)),null!=t&&(i=i.set("attributeValue",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilitiesByDestination(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilitiesByHostName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("hostname",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilitiesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilitiesCount(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getFacilitiesWhereUserIsAdmin(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAdminGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAdminUsers(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("onlyDirectAdmins",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilityAdminUsersByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("onlyDirectAdmins",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilityBan(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilityBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityForHost(e,t="body",o=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("host",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityOwners(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityOwnersByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getHostById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHosts(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostsByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostsByHostname(e,t="body",o=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("hostname",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostsCount(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostsCountByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getOwnerFacilities(e,t="body",o=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("owner",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichFacilities(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}removeBanByUserIdFacilityId(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityAdminGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityAdminGroupByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityAdminUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityAdminUserByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeFacilityOwner(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityOwnerByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityOwnerByFacilityNameOwnerName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityOwnerByOwnerName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeHost(e,t="body",o=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHost.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("host",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeHostByHostname(e,t="body",o=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("hostname",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeHosts(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hosts[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeHostsByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hosts[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeSecurityTeam(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeSecurityTeamByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}setFacilityBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFacilityBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),ei=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getFacilityAdminGroupsByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),as=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addMember(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling addMember.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addMembers(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling addMembers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("members[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}canExtendMembershipInGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createGroupUnion(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resultGroup",e)),null!=t&&(i=i.set("operandGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createGroupWithParentGroupNameDescription(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==o)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("parentGroup",e)),null!=t&&(a=a.set("name",t)),null!=o&&(a=a.set("description",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}createGroupWithVoNameDescription(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==o)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("name",t)),null!=o&&(a=a.set("description",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}deleteGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}extendMembershipInGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}forceAllSubGroupsSynchronization(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}forceGroupStructureSynchronization(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}forceGroupSynchronization(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllGroupsFromAllVos(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllMemberGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllRichGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("attrNames[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllRichGroupsWithAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAllRichSubGroupsWithGroupAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==t)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("name",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupMemberById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==t)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupMembersCount(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupMembersCountsByGroupStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupMembersCountsByVoStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupRichMembersByIds(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==t)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),t&&t.forEach(S=>{a=a.append("members[]",S)}),o&&o.forEach(S=>{a=a.append("attrNames[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getGroupUnions(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==t)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("reverseDirection",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupsByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupsPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getIndirectMembershipPaths(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMemberGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMemberRichGroupsWithAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRichGroupByIdWithAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("groupId",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getSubgroupsPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}isGroupMember(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==t)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}moveGroupWithDestinationGroupMovingGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("destinationGroup",t)),null!=e&&(i=i.set("movingGroup",e));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupUnion(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resultGroup",e)),null!=t&&(i=i.set("operandGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeMember(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMember.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeMembers(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("members[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}setGroupsMemberStatus(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==t)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==o)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("status",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}updateGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Si=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getGroupMemberData(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/integrationManager/getGroupMemberData`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),De=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}canExtendMembership(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}createMemberForCandidate(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createMemberForUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createMemberFromExtSource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createSpecificMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createSponsoredMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createSponsoredMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createSponsoredMembersFromCSV(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("members[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}extendMembership(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findCompleteRichMembersByAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let a=new C.LE({encoder:this.encoder});e&&e.forEach(S=>{a=a.append("attrsNames[]",S)}),null!=t&&(a=a.set("searchString",t)),o&&o.forEach(S=>{a=a.append("allowedStatuses[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}findCompleteRichMembersForGroup(e,t,o,s,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==s)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("group",e)),t&&t.forEach(he=>{g=g.append("attrsNames[]",he)}),i&&i.forEach(he=>{g=g.append("allowedStatuses[]",he)}),a&&a.forEach(he=>{g=g.append("allowedGroupStatuses[]",he)}),null!=o&&(g=g.set("searchString",o)),null!=s&&(g=g.set("lookingInParentGroup",s));let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}findCompleteRichMembersForVo(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(H=>{d=d.append("attrsNames[]",H)}),s&&s.forEach(H=>{d=d.append("allowedStatuses[]",H)}),null!=o&&(d=d.set("searchString",o));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}findMembersInVo(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("searchString",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}findSponsoredCompleteRichMembersForVo(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(H=>{d=d.append("attrsNames[]",H)}),null!=o&&(d=d.set("searchString",o)),null!=s&&(d=d.set("onlySponsored",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getAllMembers(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllNamespacesRules(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllSponsoredMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllSponsoredMembersAndTheirSponsors(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getCompleteRichMembersForGroup(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),o&&o.forEach(te=>{h=h.append("allowedStatuses[]",te)}),s&&s.forEach(te=>{h=h.append("allowedGroupStatuses[]",te)}),null!=t&&(h=h.set("lookingInParentGroup",t)),i&&i.forEach(te=>{h=h.append("attrsNames[]",te)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}getCompleteRichMembersForGroupResource(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==o)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==s)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),o&&o.forEach(H=>{d=d.append("attrsNames[]",H)}),s&&s.forEach(H=>{d=d.append("allowedStatuses[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getCompleteRichMembersForVo(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(S=>{a=a.append("allowedStatuses[]",S)}),o&&o.forEach(S=>{a=a.append("attrsNames[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberByExtSourceNameAndExtLogin(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==o)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("extLogin",t)),null!=o&&(a=a.set("extSourceName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMemberByUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMembers(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMembersByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMembersByUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMembersCount(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMembersPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getMembersWithStatusCount(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRichMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichMemberWithAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichMembersByIds(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("ids[]",g)}),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getSponsoredMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getSponsoredMembersAndTheirSponsors(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getSponsorsByMember(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getSponsorsByVo(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==o)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=o&&(d=d.set("extLogin",o)),s&&s.forEach(H=>{d=d.append("attrNames[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}moveMembership(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==t)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==o)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("sourceUser",t)),null!=o&&(a=a.set("targetUser",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeSponsor(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("sponsor",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}sendAccountActivationLinkEmail(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==o)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==s)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("namespace",t)),null!=o&&(d=d.set("emailAttributeURN",o)),null!=s&&(d=d.set("language",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}sendPasswordResetLinkEmail(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==o)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==s)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("member",e)),null!=t&&(h=h.set("namespace",t)),null!=o&&(h=h.set("emailAttributeURN",o)),null!=s&&(h=h.set("language",s)),null!=i&&(h=h.set("baseUrl",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}setSponsoredMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setSponsorshipForMember(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("sponsoredMember",e)),null!=t&&(a=a.set("sponsor",t)),null!=o&&(a=a.set("validityTo",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}setStatus(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling setStatus.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}sponsorMember(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("sponsor",t)),null!=o&&(a=a.set("validityTo",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}updateSponsorshipValidity(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("sponsor",t)),null!=o&&(a=a.set("validityTo",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}validateMemberAsync(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),tt=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}createOwner(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteOwner(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("owner",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAllOwners(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getOwnerById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getOwnerByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("owner",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Et=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}sentMessageToRTWithMemberQueue(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==o)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("memberId",e)),null!=t&&(d=d.set("queue",t)),null!=o&&(d=d.set("subject",o)),null!=s&&(d=d.set("text",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}sentMessageToRTWithQueue(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("queue",e)),null!=t&&(a=a.set("subject",t)),null!=o&&(a=a.set("text",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}sentMessageToRTWithVo(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("voId",e)),null!=t&&(a=a.set("subject",t)),null!=o&&(a=a.set("text",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}sentMessageToRTWithVoQueue(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==o)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("voId",e)),null!=t&&(d=d.set("queue",t)),null!=o&&(d=d.set("subject",o)),null!=s&&(d=d.set("text",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),yi=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addApplicationMailForGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}addApplicationMailForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}addGroupsToAutoRegistration(e,t="body",o=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("groups[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}approveApplication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}checkForSimilarUsersWithAuthInfo(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}consolidateIdentityUsingToken(e,t="body",o=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("token",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}copyFormFromGroupToGroup(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyFormFromGroupToVo(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyFormFromVoToGroup(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyFormFromVoToVo(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyMailsFromGroupToGroup(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyMailsFromGroupToVo(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyMailsFromVoToGroup(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyMailsFromVoToVo(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createApplicationFormInGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}createApplicationFormInVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteApplication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteApplicationMailForGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("id",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteApplicationMailForVo(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("id",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteGroupsFromAutoRegistration(e,t="body",o=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("groups[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationDataById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationMailsForGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationMailsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationsForGroup(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),t&&t.forEach(H=>{d=d.append("state[]",H)}),null!=o&&(d=d.set("dateFrom",o)),null!=s&&(d=d.set("dateTo",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getApplicationsForMember(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getApplicationsForVo(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(H=>{d=d.append("state[]",H)}),null!=o&&(d=d.set("dateFrom",o)),null!=s&&(d=d.set("dateTo",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getApplicationsPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getConsolidatorToken(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFormItemsForGroupWithType(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("type",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFormItemsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFormItemsForVoWithType(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("type",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupApplicationForm(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupsToAutoRegistration(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoApplicationForm(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}rejectApplication(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e)),null!=t&&(i=i.set("reason",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}sendInvitation(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let d=new C.LE({encoder:this.encoder});null!=o&&(d=d.set("voId",o)),null!=s&&(d=d.set("name",s)),null!=e&&(d=d.set("email",e)),null!=t&&(d=d.set("language",t));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}sendInvitationForGroup(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let h=new C.LE({encoder:this.encoder});null!=o&&(h=h.set("voId",o)),null!=s&&(h=h.set("groupId",s)),null!=i&&(h=h.set("name",i)),null!=e&&(h=h.set("email",e)),null!=t&&(h=h.set("language",t));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}sendInvitationGroupToExistingUser(e,t,o,s="body",i=!1){let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("userId",e)),null!=t&&(a=a.set("voId",t)),null!=o&&(a=a.set("groupId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}sendInvitationToExistingUser(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userId",e)),null!=t&&(i=i.set("voId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}sendMessage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setSendingEnabled(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}submitApplication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateApplicationMail(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateForm(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemData(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemsData(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemsForGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}verifyApplication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Vn=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}activateGroupResourceAssignment(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("async",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}addAdminToGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addAdminToUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addResourceSelfServiceGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addResourceSelfServiceUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}allowGroupsToResources(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let a=new C.LE({encoder:this.encoder});e&&e.forEach(S=>{a=a.append("groups[]",S)}),t&&t.forEach(S=>{a=a.append("resources[]",S)}),null!=o&&(a=a.set("async",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}assignGroupToResource(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),null!=t&&(h=h.set("resource",t)),null!=o&&(h=h.set("async",o)),null!=s&&(h=h.set("assignInactive",s)),null!=i&&(h=h.set("autoAssignSubgroups",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}assignGroupToResources(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),t&&t.forEach(te=>{h=h.append("resources[]",te)}),null!=o&&(h=h.set("async",o)),null!=s&&(h=h.set("assignInactive",s)),null!=i&&(h=h.set("autoAssignSubgroups",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}assignGroupsToResource(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let h=new C.LE({encoder:this.encoder});e&&e.forEach(te=>{h=h.append("groups[]",te)}),null!=t&&(h=h.set("resource",t)),null!=o&&(h=h.set("async",o)),null!=s&&(h=h.set("assignInactive",s)),null!=i&&(h=h.set("autoAssignSubgroups",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}assignResourceTagToResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}assignService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling assignService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}assignServices(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling assignServices.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("services[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}assignServicesPackage(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("servicesPackage",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createResource(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==o)throw new Error("Required parameter name was null or undefined when calling createResource.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("facility",t)),null!=o&&(d=d.set("name",o)),null!=s&&(d=d.set("description",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}createResourceTagWithResourceTag(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createResourceTagWithTagName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("tagName",e)),null!=t&&(i=i.set("vo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deactivateGroupResourceAssignment(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteAllResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteAllResourcesTagsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteResourceTag(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getAdminGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAdmins(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("onlyDirectAdmins",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAllResourcesByResourceTag(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getAllResourcesTagsForResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllResourcesTagsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllResourcesWhereUserIsAdmin(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllowedMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllowedResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllowedUsersOfResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedGroups(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAssignedMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedMembersWithStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesWithGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesWithMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesWithStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesWithGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesWithMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesWithMemberService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAssignedServicesToResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getBansForMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getBansForResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getEnrichedResourceById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getEnrichedResourcesForFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getEnrichedResourcesForVo(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupAssignments(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceAssignments(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceBan(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourceByName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==o)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("name",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourcesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourcesCountForAll(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getResourcesCountForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourcesFromVoWhereUserIsAdmin(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourcesWhereGroupIsAdmin(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("group",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getResourcesWhereUserIsAdmin(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==o)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("user",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRichAdmins(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==t)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==o)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),t&&t.forEach(H=>{d=d.append("specificAttributes",H)}),null!=o&&(d=d.set("allUserAttributes",o)),null!=s&&(d=d.set("onlyDirectAdmins",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getRichResourceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichResourcesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeAllResourceTagsFromResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeBanByMemberAndResource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupAdminResource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupFromResource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupFromResources(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("resources[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupsFromResource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeResourceBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeResourceSelfServiceGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeResourceSelfServiceUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeResourceTagFromResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}removeService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeServices(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling removeServices.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("services[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeServicesPackage(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("servicesPackage",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeUserAdminResource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}setResourceBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}unallowGroupsFromResources(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),t&&t.forEach(g=>{i=i.append("resources[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}updateResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateResourceBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateResourceTag(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Gt=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addDestination(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==s)throw new Error("Required parameter type was null or undefined when calling addDestination.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("facility",t)),null!=o&&(h=h.set("destination",o)),null!=s&&(h=h.set("type",s)),null!=i&&(h=h.set("propagationType",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}addDestinationToMultipleServices(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}addDestinationsDefinedByHostsOnFacilityWithFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addDestinationsForAllServicesOnFacility(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==o)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("destination",t)),null!=o&&(d=d.set("type",o)),null!=s&&(d=d.set("propagationType",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}addRequiredAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addRequiredAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addServiceToServicesPackage(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("servicesPackage",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}blockAllServicesOnDestinationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}blockAllServicesOnDestinationByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("destination",e)),null!=t&&(i=i.set("destinationType",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}blockAllServicesOnFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}blockServiceOnDestination(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}blockServiceOnDestinationWithNameAndType(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==o)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("destination",t)),null!=o&&(a=a.set("destinationType",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}blockServiceOnFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createService(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==o)throw new Error("Required parameter script was null or undefined when calling createService.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e)),null!=t&&(a=a.set("description",t)),null!=o&&(a=a.set("script",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}createServiceWithService(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createServicesPackage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createServicesPackageByNameAndDescription(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("description",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling deleteService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteServicesPackage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("servicesPackage",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}forceServicePropagation(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAllDestinations(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllRichDestinationsForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllRichDestinationsForService(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedServices(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getDataWithGroups(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getDataWithVos(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getDestinationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getDestinations(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getDestinationsCount(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getFacilitiesDestinations(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAssignedServicesForGUI(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFlatData(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getHashedDataWithGroups(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getHashedHierarchicalData(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getHierarchicalData(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRichDestinations(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getServiceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServiceByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServices(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getServicesBlockedOnDestination(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesBlockedOnFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesByAttributeDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesFromServicesPackage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("servicesPackage",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesPackageById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("servicesPackage",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesPackageByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesPackages(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}isServiceBlockedOnDestination(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}isServiceBlockedOnFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}planServicePropagation(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeAllDestinations(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeAllRequiredAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeDestination(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==s)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("facility",t)),null!=o&&(d=d.set("destination",o)),null!=s&&(d=d.set("type",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}removeRequiredAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeRequiredAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeServiceFromServicesPackage(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("servicesPackage",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}unblockAllServicesOnDestinationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}unblockAllServicesOnDestinationByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("destination",e)),null!=t&&(i=i.set("destinationType",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}unblockAllServicesOnFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}unblockServiceOnDestinationById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}unblockServiceOnDestinationByName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==o)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("destination",t)),null!=o&&(a=a.set("destinationType",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}unblockServiceOnFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}updateService(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateServicesPackage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),dn=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}countTasks(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}deleteTask(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteTaskResultById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteTaskResultsIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteTaskResultsNames(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getAllFacilitiesStates(e,t="body",o=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllResourcesState(e,t="body",o=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("voId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityServicesState(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityState(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTask(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getTask.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getTaskById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResultById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("taskResult",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResults(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getTaskResultsByTask(e,t="body",o=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("task",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResultsForDestinations(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("destinations[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResultsForGUIByTask(e,t="body",o=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("task",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResultsForGUIByTaskAndDestination(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("task",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getTaskResultsForGUIByTaskOnlyNewest(e,t="body",o=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("task",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}isThereSuchTask(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}listAllTasks(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}listAllTasksForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}suspendTasksPropagation(e,t="body",o=!1){if(null==e)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("suspend",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),St=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addSpecificUserOwner(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("specificUser",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addUserExtSource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}anonymizeUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}changeNonAuthzPasswordByToken(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==t)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e)),null!=t&&(a=a.set("password",t)),null!=o&&(a=a.set("lang",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}changePasswordForLogin(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==o)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("login",e)),null!=t&&(h=h.set("namespace",t)),null!=o&&(h=h.set("newPassword",o)),null!=s&&(h=h.set("oldPassword",s)),null!=i&&(h=h.set("checkOldPassword",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}changePasswordForUser(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==o)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("user",e)),null!=t&&(h=h.set("namespace",t)),null!=o&&(h=h.set("newPassword",o)),null!=s&&(h=h.set("oldPassword",s)),null!=i&&(h=h.set("checkOldPassword",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}checkPasswordResetRequestByTokenIsValid(e,t="body",o=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("token",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}checkPasswordStrength(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("password",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createAlternativePassword(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==o)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==s)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("description",t)),null!=o&&(d=d.set("loginNamespace",o)),null!=s&&(d=d.set("password",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}createServiceUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteAlternativePassword(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==o)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("loginNamespace",t)),null!=o&&(a=a.set("passwordId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}deletePasswordForLogin(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("login",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deletePasswordForUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}findRichUsers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("searchString",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findRichUsersWithAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("searchString",e)),t&&t.forEach(g=>{i=i.append("attrsNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}findUsers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("searchString",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}generateAccountForName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("namespace",e)),null!=t&&(i=i.set("name",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAllRichUsersWithAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("includedSpecificUsers",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesForUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupsForFacilityWhereUserIsActive(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupsForResourceWhereUserIsActive(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupsInVoWhereUserIsAdmin(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("vo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupsWhereUserIsAdmin(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getPendingPreferredEmailChanges(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUserExtSources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUserWithAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUsersByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUsersWithAttributesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUsersWithoutVoWithAttributes(e,t="body",o=!1){let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("attrsNames[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getSpecificUsersByUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getSponsorsForMember(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getSponsorsForMemberByVoAndLogin(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==o)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=o&&(d=d.set("extLogin",o)),s&&s.forEach(H=>{d=d.append("attrNames[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getUserByExtSourceNameAndExtLogin(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("extLogin",e)),null!=t&&(i=i.set("extSourceName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserExtSourceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("userExtSource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeId",e)),null!=t&&(i=i.set("attributeValue",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeName",e)),null!=t&&(i=i.set("attributeValue",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserExtSources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserExtSourcesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUsers(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getUsersByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUsersBySpecificUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("specificUser",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUsersPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getVosWhereUserIsAdmin(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVosWhereUserIsMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}isLoginAvailable(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==t)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("loginNamespace",e)),null!=t&&(i=i.set("login",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}loginExist(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeSpecificUserOwner(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("specificUser",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeUserExtSource(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("userExtSource",t)),null!=o&&(a=a.set("force",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}requestPreferredEmailChange(e,t,o,s,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==t)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("user",e)),null!=t&&(g=g.set("email",t)),null!=o&&(g=g.set("lang",o)),null!=s&&(g=g.set("linkPath",s)),null!=i&&(g=g.set("customUrl",i)),null!=a&&(g=g.set("idpFilter",a));let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}reservePasswordForLogin(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==o)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("login",e)),null!=t&&(a=a.set("namespace",t)),null!=o&&(a=a.set("password",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}reservePasswordForUser(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==o)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("namespace",t)),null!=o&&(a=a.set("password",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}reserveRandomPassword(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}updateUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}validatePasswordForLogin(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("login",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}validatePasswordForUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}validatePreferredEmailChangeWithToken(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==t)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("token",e)),null!=t&&(i=i.set("u",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Kn=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getAppsConfig(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),so=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addSponsorRoleToGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addSponsorRoleToUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addVoAdminGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addVoAdminUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createVoWithName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==t)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("shortName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createVoWithVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteVo(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}findCandidates(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e)),null!=t&&(a=a.set("searchString",t)),null!=o&&(a=a.set("maxNumOfResults",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}findCandidatesForGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("searchString",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAllVos(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getCompleteCandidatesForGroup(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),t&&t.forEach(S=>{a=a.append("attrNames[]",S)}),null!=o&&(a=a.set("searchString",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getCompleteCandidatesForVo(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(S=>{a=a.append("attrNames[]",S)}),null!=o&&(a=a.set("searchString",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMyVos(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getRichAdminsForVo(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==o)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("vo",e)),null!=t&&(h=h.set("role",t)),o&&o.forEach(te=>{h=h.append("specificAttributes",te)}),null!=s&&(h=h.set("allUserAttributes",s)),null!=i&&(h=h.set("onlyDirectAdmins",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}getVoAdminGroups(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("role",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getVoAdminUsers(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("role",t)),null!=o&&(a=a.set("onlyDirectAdmins",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getVoBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoBanForMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoBansForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoByShortName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("shortName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoMembersCountsByStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVosByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVosCount(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}removeSponsorRoleFromGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeSponsorRoleFromUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeVoAdminGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeVoAdminUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeVoBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeVoBanForMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}setVoBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),pp=(()=>{class r{constructor(e,t){if(e)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!t)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(e){return{ngModule:r,providers:[{provide:je,useFactory:e}]}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(r,12),u.LFG(C.eN,8))},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[un,ai,Hi,ss,Ro,ro,kn,ei,as,Si,De,tt,Et,yi,Vn,Gt,dn,St,Kn,so],imports:[[]]}),r})();var nt=(()=>{return(r=nt||(nt={})).PERUNADMIN="PERUNADMIN",r.PERUNOBSERVER="PERUNOBSERVER",r.VOADMIN="VOADMIN",r.GROUPADMIN="GROUPADMIN",r.SELF="SELF",r.FACILITYADMIN="FACILITYADMIN",r.FACILITIYOBSERVER="FACILITYOBSERVER",r.RESOURCEADMIN="RESOURCEADMIN",r.RESOURCESELFSERVICE="RESOURCESELFSERVICE",r.REGISTRAR="REGISTRAR",r.ENGINE="ENGINE",r.RPC="RPC",r.NOTIFICATIONS="NOTIFICATIONS",r.SERVICEUSER="SERVICEUSER",r.SPONSOR="SPONSOR",r.VOOBSERVER="VOOBSERVER",r.TOPGROUPCREATOR="TOPGROUPCREATOR",r.SECURITYADMIN="SECURITYADMIN",r.CABINETADMIN="CABINETADMIN",r.UNKNOWNROLENAME="UNKNOWNROLENAME",nt;var r})();let gp=(()=>{class r{constructor(e){this.authzSevice=e,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(e){this.principal=e,this.initData(e)}setPerunPolicies(e){this.perunPolicies=e}getPerunPolicies(){return this.perunPolicies}isAuthorized(e,t){if(null===this.principal.roles)return!1;const o=this.fetchPolicyWithAllIncludedPolicies(e);let s=[];for(const a of o)s=s.concat(a.perunRoles);const i=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(s,i)}resolveAuthorization(e,t){for(const o of e){let s=!0;for(const i of Object.keys(o)){const a=o[i];if(null===a)this.principalRoles.has(i)||(s=!1);else if(t[a]){for(const d of t[a])if(!this.principalHasRole(i,a,d)){s=!1;break}}else s=!1;if(!s)break}if(s)return!0}return!1}fetchAllRelatedObjects(e){const t={};for(const o of e){let s=o.beanName;switch(o.beanName.startsWith("Rich")&&(s=o.beanName.substring(4)),t[s]?t[s].push(o.id):t[s]=[o.id],s){case"Member":t.User?t.User.push(o.userId):t.User=[o.userId],t.Vo?t.Vo.push(o.voId):t.Vo=[o.voId];break;case"Group":case"ResourceTag":t.Vo?t.Vo.push(o.voId):t.Vo=[o.voId];break;case"Resource":t.Facility?t.Facility.push(o.facilityId):t.Facility=[o.facilityId],t.Vo?t.Vo.push(o.voId):t.Vo=[o.voId]}}return t}principalHasRole(e,t,o){let s=t;return t.startsWith("Rich")&&(s=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][s])&&this.principal.roles[e][s].includes(Number(o.toString()))}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let o=[];for(o.push(e);0!==o.length;){const i=o.shift();if(t.has(i)){console.log("Policy {} creates a cycle in the included policies of the policy {}",i,e);continue}const a=this.getPerunPolicy(i);if(!a)return[];t.set(i,a),o=o.concat(a.includePolicies)}const s=[];for(const i of t.values())s.push(i);return s}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return console.log("policy with name"+e+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER,nt.FACILITYADMIN,nt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(nt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(nt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(nt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(nt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(nt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(nt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.VOOBSERVER,nt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER)||this.observableVos.includes(e)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((e,t)=>{this.authzSevice.getAllRolesManagementRules().subscribe(o=>{this.allRolesManagementRules=o,e()},o=>t(o))})}assignAvailableRoles(e,t){this.allRolesManagementRules.forEach(o=>{o.primaryObject===t&&e.push(o.roleName)}),e.sort(),"Vo"===t&&this.voCustomSort(e)}isManagerPagePrivileged(e){const t=[];let o=e.beanName;o.startsWith("Rich")&&(o=o.substr(4)),this.assignAvailableRoles(t,o);const s=new Map;this.getRolesAuthorization(t,e,s);for(const i of s.values())if(i.readAuth||i.manageAuth)return!0;return!1}getRolesAuthorization(e,t,o){for(const s of e){let i=[],a=[],d=[];for(const H of this.allRolesManagementRules)if(H.roleName===s){i=i.concat(H.privilegedRolesToRead),a=a.concat(H.privilegedRolesToManage);for(const te of Object.keys(H.entitiesToManage))d="User"===te?[te].concat(d):d.concat(te);break}const h=this.fetchAllRelatedObjects([t]),g=this.resolveAuthorization(i,h),S=this.resolveAuthorization(a,h);o.set(s,{readAuth:g,manageAuth:S,modes:d})}}voCustomSort(e){for(let t=0;t{class r{constructor(){this.branding=""}setInstanceConfig(e){this.instanceConfig=e}setDefaultConfig(e){this.defaultConfig=e}getAppsConfig(){return this.appsConfig}setAppsConfig(e){this.appsConfig=e}setPerunPrincipal(e){this.principal=e}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(e){this.initialPageId=e}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.get("skip_oidc")}get(...e){let t;if(""!==this.branding){const o=this.instanceConfig.brandings[this.branding];for(let s=0;s(0,_r.k)(o)?t(...o):t(o))):new bi.y(o=>{Gn(r,n,function s(i){o.next(arguments.length>1?Array.prototype.slice.call(arguments):i)},o,e)})}function Gn(r,n,e,t,o){let s;if(function us(r){return r&&"function"==typeof r.addEventListener&&"function"==typeof r.removeEventListener}(r)){const i=r;r.addEventListener(n,e,o),s=()=>i.removeEventListener(n,e,o)}else if(function yr(r){return r&&"function"==typeof r.on&&"function"==typeof r.off}(r)){const i=r;r.on(n,e),s=()=>i.off(n,e)}else if(function Zu(r){return r&&"function"==typeof r.addListener&&"function"==typeof r.removeListener}(r)){const i=r;r.addListener(n,e),s=()=>i.removeListener(n,e)}else{if(!r||!r.length)throw new TypeError("Invalid event target");for(let i=0,a=r.length;i0?super.requestAsyncId(n,e,t):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(n,e,t);0===n.actions.length&&(cancelAnimationFrame(e),n.scheduled=void 0)}});let ga=1;const Qu=Promise.resolve(),fi={};function ma(r){return r in fi&&(delete fi[r],!0)}const Xu={setImmediate(r){const n=ga++;return fi[n]=!0,Qu.then(()=>ma(n)&&r()),n},clearImmediate(r){ma(r)}},wr=new class ed extends ds.v{flush(n){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let t,o=-1,s=e.length;n=n||e.shift();do{if(t=n.execute(n.state,n.delay))break}while(++o0?super.requestAsyncId(n,e,t):(n.actions.push(this),n.scheduled||(n.scheduled=Xu.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(n,e,t);0===n.actions.length&&(Xu.clearImmediate(e),n.scheduled=void 0)}});var br=v(353),hs=v(826),bp=v(9054);class k{constructor(n){this.durationSelector=n}call(n,e){return e.subscribe(new x(n,this.durationSelector))}}class x extends hs.L{constructor(n,e){super(n),this.durationSelector=e,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:o}=this;e=o(n)}catch(o){return this.destination.error(o)}const t=(0,bp.D)(this,e);!t||t.closed?this.clearThrottle():this.add(this.throttled=t)}}clearThrottle(){const{value:n,hasValue:e,throttled:t}=this;t&&(this.remove(t),this.throttled=null,t.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(n))}notifyNext(n,e,t,o){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function E(r){return!(0,_r.k)(r)&&r-parseFloat(r)+1>=0}var P=v(2866);function Y(r=0,n,e){let t=-1;return E(n)?t=Number(n)<1?1:Number(n):(0,P.K)(n)&&(e=n),(0,P.K)(e)||(e=br.P),new bi.y(o=>{const s=E(r)?r:+r-e.now();return e.schedule(ae,s,{index:0,period:t,subscriber:o})})}function ae(r){const{index:n,period:e,subscriber:t}=r;if(t.next(n),!t.closed){if(-1===e)return t.complete();r.index=n+1,this.schedule(r,e)}}function ge(r,n=br.P){return function Ft(r){return function(e){return e.lift(new k(r))}}(()=>Y(r,n))}var ke=v(2198);let kt;try{kt="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(r){kt=!1}let ot,Ve=(()=>{class r{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,b.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!kt)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.Lbi))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Xe=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})();const qt=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ht(){if(ot)return ot;if("object"!=typeof document||!document)return ot=new Set(qt),ot;let r=document.createElement("input");return ot=new Set(qt.filter(n=>(r.setAttribute("type",n),r.type===n))),ot}let xt,qi,fs;function ti(r){return function Io(){if(null==xt&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>xt=!0}))}finally{xt=xt||!1}return xt}()?r:!!r.capture}function Uc(){if(null==qi){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return qi=!1,qi;if("scrollBehavior"in document.documentElement.style)qi=!0;else{const r=Element.prototype.scrollTo;qi=!!r&&!/\{\s*\[native code\]\s*\}/.test(r.toString())}}return qi}function $c(r){if(function vp(){if(null==fs){const r="undefined"!=typeof document?document.head:null;fs=!(!r||!r.createShadowRoot&&!r.attachShadow)}return fs}()){const n=r.getRootNode?r.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function td(){let r="undefined"!=typeof document&&document?document.activeElement:null;for(;r&&r.shadowRoot;){const n=r.shadowRoot.activeElement;if(n===r)break;r=n}return r}function fe(r){return r.composedPath?r.composedPath()[0]:r.target}function pt(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const Ap=new u.OlP("cdk-dir-doc",{providedIn:"root",factory:function ii(){return(0,u.f3M)(b.K0)}}),Cp=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ci=(()=>{class r{constructor(e){if(this.value="ltr",this.change=new u.vpe,e){const o=e.documentElement?e.documentElement.dir:null;this.value=function _a(r){const n=(null==r?void 0:r.toLowerCase())||"";return"auto"===n&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?Cp.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||o||"ltr")}}ngOnDestroy(){this.change.complete()}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ap,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Oo=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})(),vr=(()=>{class r{constructor(e,t,o){this._ngZone=e,this._platform=t,this._scrolled=new xe.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new bi.y(t=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(ge(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ie.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const o=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,ke.h)(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,e)&&t.push(s)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let o=jt(t),s=e.getElementRef().nativeElement;do{if(o==s)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Kc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.R0b),u.LFG(Ve),u.LFG(b.K0,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Ar=(()=>{class r{constructor(e,t,o){this._platform=e,this._change=new xe.xQ,this._changeListener=s=>{this._change.next(s)},this._document=o,t.runOutsideAngular(()=>{if(e.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+t,height:o,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),o=e.documentElement,s=o.getBoundingClientRect();return{top:-s.top||e.body.scrollTop||t.scrollY||o.scrollTop||0,left:-s.left||e.body.scrollLeft||t.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(ge(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ve),u.LFG(u.R0b),u.LFG(b.K0,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Dn=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})(),ps=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Oo,Xe,Dn],Oo,Dn]}),r})();class gs{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Wc extends gs{constructor(n,e,t,o){super(),this.component=n,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=o}}class rd extends gs{constructor(n,e,t){super(),this.templateRef=n,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class Di extends gs{constructor(n){super(),this.element=n instanceof u.SBq?n.nativeElement:n}}class Un{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Wc?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof rd?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof Di?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Dp extends Un{constructor(n,e,t,o,s){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=o,this.attachDomPortal=i=>{const a=i.element,d=this._document.createComment("dom-portal");a.parentNode.insertBefore(d,a),this.outletElement.appendChild(a),this._attachedPortal=i,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(a,d)})},this._document=s}attachComponentPortal(n){const t=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(t,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(()=>o.destroy())):(o=t.create(n.injector||this._defaultInjector),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let e=n.viewContainerRef,t=e.createEmbeddedView(n.templateRef,n.context);return t.rootNodes.forEach(o=>this.outletElement.appendChild(o)),t.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(t);-1!==o&&e.remove(o)}),this._attachedPortal=n,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let Mp=(()=>{class r extends Un{constructor(e,t,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new u.vpe,this.attachDomPortal=s=>{const i=s.element,a=this._document.createComment("dom-portal");s.setAttachedHost(this),i.parentNode.insertBefore(a,i),this._getRootNode().appendChild(i),this._attachedPortal=s,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(i,a)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,s=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=t.createComponent(s,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u._Vd),u.Y36(u.s_b),u.Y36(b.K0))},r.\u0275dir=u.lG2({type:r,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[u.qOj]}),r})(),zo=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})();var Nt=v(2654),gn=v(6787),Vt=v(2986);function yt(r){return n=>n.lift(new Lo(r))}class Lo{constructor(n){this.notifier=n}call(n,e){const t=new ya(n),o=(0,bp.D)(t,this.notifier);return o&&!t.seenValue?(t.add(o),e.subscribe(t)):t}}class ya extends hs.L{constructor(n){super(n),this.seenValue=!1}notifyNext(n,e,t,o,s){this.seenValue=!0,this.complete()}notifyComplete(){}}const xp=Uc();class uw{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ut(-this._previousScrollPosition.left),n.style.top=Ut(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,t=n.style,o=this._document.body.style,s=t.scrollBehavior||"",i=o.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),xp&&(t.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),xp&&(t.scrollBehavior=s,o.scrollBehavior=i)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class ad{constructor(n,e,t,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=t,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Rp{enable(){}disable(){}attach(){}}function cd(r,n){return n.some(e=>r.bottome.bottom||r.righte.right)}function dw(r,n){return n.some(e=>r.tope.bottom||r.lefte.right)}class H0{constructor(n,e,t,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:o}=this._viewportRuler.getViewportSize();cd(e,[{width:t,height:o,bottom:o,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Zc=(()=>{class r{constructor(e,t,o,s){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=o,this.noop=()=>new Rp,this.close=i=>new ad(this._scrollDispatcher,this._ngZone,this._viewportRuler,i),this.block=()=>new uw(this._viewportRuler,this._document),this.reposition=i=>new H0(this._scrollDispatcher,this._viewportRuler,this._ngZone,i),this._document=s}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(vr),u.LFG(Ar),u.LFG(u.R0b),u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();class Qc{constructor(n){if(this.scrollStrategy=new Rp,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const t of e)void 0!==n[t]&&(this[t]=n[t])}}}class Ip{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}class fw{constructor(n,e,t,o,s,i,a,d,h){this._portalOutlet=n,this._host=e,this._pane=t,this._config=o,this._ngZone=s,this._keyboardDispatcher=i,this._document=a,this._location=d,this._outsideClickDispatcher=h,this._backdropElement=null,this._backdropClick=new xe.xQ,this._attachments=new xe.xQ,this._detachments=new xe.xQ,this._locationChanges=Nt.w.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._keydownEvents=new xe.xQ,this._outsidePointerEvents=new xe.xQ,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){let e=this._portalOutlet.attach(n);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Vt.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){var n;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(n=this._host)||void 0===n||n.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=Object.assign(Object.assign({},this._config),n),this._updateElementSize()}setDirection(n){this._config=Object.assign(Object.assign({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Ut(this._config.width),n.height=Ut(this._config.height),n.minWidth=Ut(this._config.minWidth),n.minHeight=Ut(this._config.minHeight),n.maxWidth=Ut(this._config.maxWidth),n.maxHeight=Ut(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(!n)return;let e;const t=()=>{n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",t),this._disposeBackdrop(n)),this._config.backdropClass&&this._toggleClasses(n,this._config.backdropClass,!1),clearTimeout(e)};n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",t)}),n.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(t,500))}_toggleClasses(n,e,t){const o=da(e||[]).filter(s=>!!s);o.length&&(t?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(yt((0,gn.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.remove(),this._backdropElement===n&&(this._backdropElement=null))}}let Bo=(()=>{class r{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||pt()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let s=0;s{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,t=this._viewportRect,o=this._containerRect,s=[];let i;for(let a of this._preferredPositions){let d=this._getOriginPoint(n,o,a),h=this._getOverlayPoint(d,e,a),g=this._getOverlayFit(h,e,t,a);if(g.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,d);this._canFitWithFlexibleDimensions(g,h,t)?s.push({position:a,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,a)}):(!i||i.overlayFit.visibleAread&&(d=g,a=h)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&No(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Xc),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,t){let o,s;if("center"==t.originX)o=n.left+n.width/2;else{const i=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o="start"==t.originX?i:a}return e.left<0&&(o-=e.left),s="center"==t.originY?n.top+n.height/2:"top"==t.originY?n.top:n.bottom,e.top<0&&(s-=e.top),{x:o,y:s}}_getOverlayPoint(n,e,t){let o,s;return o="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:n.x+o,y:n.y+s}}_getOverlayFit(n,e,t,o){const s=Op(e);let{x:i,y:a}=n,d=this._getOffset(o,"x"),h=this._getOffset(o,"y");d&&(i+=d),h&&(a+=h);let H=0-a,te=a+s.height-t.height,he=this._subtractOverflows(s.width,0-i,i+s.width-t.width),_e=this._subtractOverflows(s.height,H,te),Te=he*_e;return{visibleArea:Te,isCompletelyWithinViewport:s.width*s.height===Te,fitsInViewportVertically:_e===s.height,fitsInViewportHorizontally:he==s.width}}_canFitWithFlexibleDimensions(n,e,t){if(this._hasFlexibleDimensions){const o=t.bottom-e.y,s=t.right-e.x,i=ud(this._overlayRef.getConfig().minHeight),a=ud(this._overlayRef.getConfig().minWidth),h=n.fitsInViewportHorizontally||null!=a&&a<=s;return(n.fitsInViewportVertically||null!=i&&i<=o)&&h}return!1}_pushOverlayOnScreen(n,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=Op(e),s=this._viewportRect,i=Math.max(n.x+o.width-s.width,0),a=Math.max(n.y+o.height-s.height,0),d=Math.max(s.top-t.top-n.y,0),h=Math.max(s.left-t.left-n.x,0);let g=0,S=0;return g=o.width<=s.width?h||-i:n.xhe&&!this._isInitialRender&&!this._growAfterOpen&&(i=n.y-he/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)H=t.width-n.x+this._viewportMargin,g=n.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)S=n.x,g=t.right-n.x;else{const te=Math.min(t.right-n.x+t.left,n.x),he=this._lastBoundingBoxSize.width;g=2*te,S=n.x-te,g>he&&!this._isInitialRender&&!this._growAfterOpen&&(S=n.x-he/2)}return{top:i,left:S,bottom:a,right:H,width:g,height:s}}_setBoundingBoxStyles(n,e){const t=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const s=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;o.height=Ut(t.height),o.top=Ut(t.top),o.bottom=Ut(t.bottom),o.width=Ut(t.width),o.left=Ut(t.left),o.right=Ut(t.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",s&&(o.maxHeight=Ut(s)),i&&(o.maxWidth=Ut(i))}this._lastBoundingBoxSize=t,No(this._boundingBox.style,o)}_resetBoundingBoxStyles(){No(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){No(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const t={},o=this._hasExactPosition(),s=this._hasFlexibleDimensions,i=this._overlayRef.getConfig();if(o){const g=this._viewportRuler.getViewportScrollPosition();No(t,this._getExactOverlayY(e,n,g)),No(t,this._getExactOverlayX(e,n,g))}else t.position="static";let a="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(a+=`translateX(${d}px) `),h&&(a+=`translateY(${h}px)`),t.transform=a.trim(),i.maxHeight&&(o?t.maxHeight=Ut(i.maxHeight):s&&(t.maxHeight="")),i.maxWidth&&(o?t.maxWidth=Ut(i.maxWidth):s&&(t.maxWidth="")),No(this._pane.style,t)}_getExactOverlayY(n,e,t){let o={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,t)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":o.top=Ut(s.y),o}_getExactOverlayX(n,e,t){let i,o={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,t)),i=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===i?o.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":o.left=Ut(s.x),o}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:dw(n,t),isOriginOutsideView:cd(n,t),isOverlayClipped:dw(e,t),isOverlayOutsideView:cd(e,t)}}_subtractOverflows(n,...e){return e.reduce((t,o)=>t-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+n-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&da(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof u.SBq)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,t=n.height||0;return{top:n.y,bottom:n.y+t,left:n.x,right:n.x+e,height:t,width:e}}}function No(r,n){for(let e in n)n.hasOwnProperty(e)&&(r[e]=n[e]);return r}function ud(r){if("number"!=typeof r&&null!=r){const[n,e]=r.split(Jc);return e&&"px"!==e?null:parseFloat(n)}return r||null}function Op(r){return{top:Math.floor(r.top),right:Math.floor(r.right),bottom:Math.floor(r.bottom),left:Math.floor(r.left),width:Math.floor(r.width),height:Math.floor(r.height)}}const Hp="cdk-global-overlay-wrapper";class ba{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(Hp),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._rightOffset="",this._leftOffset=n,this._justifyContent="flex-start",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._leftOffset="",this._rightOffset=n,this._justifyContent="flex-end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._justifyContent="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:o,height:s,maxWidth:i,maxHeight:a}=t,d=!("100%"!==o&&"100vw"!==o||i&&"100%"!==i&&"100vw"!==i),h=!("100%"!==s&&"100vh"!==s||a&&"100%"!==a&&"100vh"!==a);n.position=this._cssPosition,n.marginLeft=d?"0":this._leftOffset,n.marginTop=h?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=this._rightOffset,d?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(Hp),t.justifyContent=t.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let dd=(()=>{class r{constructor(e,t,o,s){this._viewportRuler=e,this._document=t,this._platform=o,this._overlayContainer=s}global(){return new ba}flexibleConnectedTo(e){return new F0(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ar),u.LFG(b.K0),u.LFG(Ve),u.LFG(Bo))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),el=(()=>{class r{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),tl=(()=>{class r extends el{constructor(e){super(e),this._keydownListener=t=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){o[s]._keydownEvents.next(t);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),il=(()=>{class r extends el{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=fe(o)},this._clickListener=o=>{const s=fe(o),i="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const a=this._attachedOverlays.slice();for(let d=a.length-1;d>-1;d--){const h=a[d];if(!(h._outsidePointerEvents.observers.length<1)&&h.hasAttached()){if(h.overlayElement.contains(s)||h.overlayElement.contains(i))break;h._outsidePointerEvents.next(o)}}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0),u.LFG(Ve))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),pw=0,Mn=(()=>{class r{constructor(e,t,o,s,i,a,d,h,g,S,H){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=i,this._injector=a,this._ngZone=d,this._document=h,this._directionality=g,this._location=S,this._outsideClickDispatcher=H}create(e){const t=this._createHostElement(),o=this._createPaneElement(t),s=this._createPortalOutlet(o),i=new Qc(e);return i.direction=i.direction||this._directionality.value,new fw(s,t,o,i,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+pw++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(u.z2F)),new Dp(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Zc),u.LFG(Bo),u.LFG(u._Vd),u.LFG(dd),u.LFG(tl),u.LFG(u.zs3),u.LFG(u.R0b),u.LFG(b.K0),u.LFG(ci),u.LFG(b.Ye),u.LFG(il))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const nl={provide:new u.OlP("cdk-connected-overlay-scroll-strategy"),deps:[Mn],useFactory:function _w(r){return()=>r.scrollStrategies.reposition()}};let ao=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[Mn,nl],imports:[[Oo,zo,ps],ps]}),r})();var fd=v(5279);class ni extends xe.xQ{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return e&&!e.closed&&n.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new fd.N;return this._value}next(n){super.next(this._value=n)}}function Go(r,...n){return n.length?n.some(e=>r[e]):r.altKey||r.shiftKey||r.ctrlKey||r.metaKey}var ui=v(2868),Yp=v(13),ws=v(3489);function bs(r){return n=>n.lift(new Zp(r))}class Zp{constructor(n){this.total=n}call(n,e){return e.subscribe(new qn(n,this.total))}}class qn extends ws.L{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){++this.count>this.total&&this.destination.next(n)}}class Qp{constructor(n,e){this.compare=n,this.keySelector=e}call(n,e){return e.subscribe(new Xp(n,this.compare,this.keySelector))}}class Xp extends ws.L{constructor(n,e,t){super(n),this.keySelector=t,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(n,e){return n===e}_next(n){let e;try{const{keySelector:o}=this;e=o?o(n):n}catch(o){return this.destination.error(o)}let t=!1;if(this.hasKey)try{const{compare:o}=this;t=o(this.key,e)}catch(o){return this.destination.error(o)}else this.hasKey=!0;t||(this.key=e,this.destination.next(n))}}let Ad=(()=>{class r{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),ET=(()=>{class r{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=jt(e);return new bi.y(o=>{const i=this._observeElement(t).subscribe(o);return()=>{i.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new xe.xQ,o=this._mutationObserverFactory.create(s=>t.next(s));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:o}=this._observedElements.get(e);t&&t.disconnect(),o.complete(),this._observedElements.delete(e)}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ad))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Lw=(()=>{class r{constructor(e,t,o){this._contentObserver=e,this._elementRef=t,this._ngZone=o,this.event=new u.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Qe(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=pn(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe((0,Yp.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ET),u.Y36(u.SBq),u.Y36(u.R0b))},r.\u0275dir=u.lG2({type:r,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),r})(),Jp=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[Ad]}),r})();function Ed(r,n){return(r.getAttribute(n)||"").match(/\S+/g)||[]}const Sd="cdk-describedby-message",fl="cdk-describedby-host";let eg=0,Bw=(()=>{class r{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+eg++,this._document=e}describe(e,t,o){if(!this._canBeDescribed(e,t))return;const s=kd(t,o);"string"!=typeof t?(Dd(t),this._messageRegistry.set(s,{messageElement:t,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(t,o),this._isElementDescribedByMessage(e,s)||this._addMessageReference(e,s)}removeDescription(e,t,o){var s;if(!t||!this._isElementNode(e))return;const i=kd(t,o);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){const a=this._messageRegistry.get(i);a&&0===a.referenceCount&&this._deleteMessageElement(i)}0===(null===(s=this._messagesContainer)||void 0===s?void 0:s.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${fl}="${this._id}"]`);for(let o=0;o0!=o.indexOf(Sd));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const o=this._messageRegistry.get(t);(function Cd(r,n,e){const t=Ed(r,n);t.some(o=>o.trim()==e.trim())||(t.push(e.trim()),r.setAttribute(n,t.join(" ")))})(e,"aria-describedby",o.messageElement.id),e.setAttribute(fl,this._id),o.referenceCount++}_removeMessageReference(e,t){const o=this._messageRegistry.get(t);o.referenceCount--,function Td(r,n,e){const o=Ed(r,n).filter(s=>s!=e.trim());o.length?r.setAttribute(n,o.join(" ")):r.removeAttribute(n)}(e,"aria-describedby",o.messageElement.id),e.removeAttribute(fl)}_isElementDescribedByMessage(e,t){const o=Ed(e,"aria-describedby"),s=this._messageRegistry.get(t),i=s&&s.messageElement.id;return!!i&&-1!=o.indexOf(i)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const o=null==t?"":`${t}`.trim(),s=e.getAttribute("aria-label");return!(!o||s&&s.trim()===o)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0),u.LFG(Ve))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();function kd(r,n){return"string"==typeof r?`${n||""}/${r}`:r}function Dd(r){r.id||(r.id=`${Sd}-${eg++}`)}class Ra extends class pl{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new xe.xQ,this._typeaheadSubscription=Nt.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new xe.xQ,this.change=new xe.xQ,n instanceof u.n_E&&n.changes.subscribe(e=>{if(this._activeItem){const o=e.toArray().indexOf(this._activeItem);o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o)}})}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ui.b)(e=>this._pressedLetters.push(e)),(0,Yp.b)(n),(0,ke.h)(()=>this._pressedLetters.length>0),(0,lt.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let o=1;o!n[s]||this._allowedModifierKeys.indexOf(s)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}return;default:return void((o||Go(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),t="number"==typeof n?n:e.indexOf(n),o=e[t];this._activeItem=null==o?null:o,this._activeItemIndex=t}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const o=(this._activeItemIndex+n*t+e.length)%e.length;if(!this._skipPredicateFn(e[o]))return void this.setActiveItem(o)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const t=this._getItemsArray();if(t[n]){for(;this._skipPredicateFn(t[n]);)if(!t[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof u.n_E?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let Kt=(()=>{class r{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function jw(r){return!!(r.offsetWidth||r.offsetHeight||"function"==typeof r.getClientRects&&r.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function tg(r){try{return r.frameElement}catch(n){return null}}(function Pa(r){return r.ownerDocument&&r.ownerDocument.defaultView||window}(e));if(t&&(-1===og(t)||!this.isVisible(t)))return!1;let o=e.nodeName.toLowerCase(),s=og(e);return e.hasAttribute("contenteditable")?-1!==s:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function kT(r){let n=r.nodeName.toLowerCase(),e="input"===n&&r.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==s:"video"===o?-1!==s&&(null!==s||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function DT(r){return!function ig(r){return function Kw(r){return"input"==r.nodeName.toLowerCase()}(r)&&"hidden"==r.type}(r)&&(function Md(r){let n=r.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(r)||function Vw(r){return function Gw(r){return"a"==r.nodeName.toLowerCase()}(r)&&r.hasAttribute("href")}(r)||r.hasAttribute("contenteditable")||ng(r))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ve))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();function ng(r){if(!r.hasAttribute("tabindex")||void 0===r.tabIndex)return!1;let n=r.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function og(r){if(!ng(r))return null;const n=parseInt(r.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class Mi{constructor(n,e,t,o,s=!1){this._element=n,this._checker=e,this._ngZone=t,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(n),!!t}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let t=0;t=0;t--){const o=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe((0,Vt.q)(1)).subscribe(n)}}let xd=(()=>{class r{constructor(e,t,o){this._checker=e,this._ngZone=t,this._document=o}create(e,t=!1){return new Mi(e,this._checker,this._ngZone,this._document,t)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Kt),u.LFG(u.R0b),u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();function ml(r){return 0===r.buttons||0===r.offsetX&&0===r.offsetY}function Ia(r){const n=r.touches&&r.touches[0]||r.changedTouches&&r.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const $w=new u.OlP("cdk-input-modality-detector-options"),sg={ignoreKeys:[18,17,224,91,16]},Cr=ti({passive:!0,capture:!0});let Ww=(()=>{class r{constructor(e,t,o,s){this._platform=e,this._mostRecentTarget=null,this._modality=new ni(null),this._lastTouchMs=0,this._onKeydown=i=>{var a,d;(null===(d=null===(a=this._options)||void 0===a?void 0:a.ignoreKeys)||void 0===d?void 0:d.some(h=>h===i.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=fe(i))},this._onMousedown=i=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ml(i)?"keyboard":"mouse"),this._mostRecentTarget=fe(i))},this._onTouchstart=i=>{Ia(i)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=fe(i))},this._options=Object.assign(Object.assign({},sg),s),this.modalityDetected=this._modality.pipe(bs(1)),this.modalityChanged=this.modalityDetected.pipe(function xa(r,n){return e=>e.lift(new Qp(r,n))}()),e.isBrowser&&t.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Cr),o.addEventListener("mousedown",this._onMousedown,Cr),o.addEventListener("touchstart",this._onTouchstart,Cr)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Cr),document.removeEventListener("mousedown",this._onMousedown,Cr),document.removeEventListener("touchstart",this._onTouchstart,Cr))}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ve),u.LFG(u.R0b),u.LFG(b.K0),u.LFG($w,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const Yw=new u.OlP("cdk-focus-monitor-default-options"),_l=ti({passive:!0,capture:!0});let _n=(()=>{class r{constructor(e,t,o,s,i){this._ngZone=e,this._platform=t,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new xe.xQ,this._rootNodeFocusAndBlurListener=a=>{const d=fe(a),h="focus"===a.type?this._onFocus:this._onBlur;for(let g=d;g;g=g.parentElement)h.call(this,a,g)},this._document=s,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(e,t=!1){const o=jt(e);if(!this._platform.isBrowser||1!==o.nodeType)return(0,Ie.of)(null);const s=$c(o)||this._getDocument(),i=this._elementInfo.get(o);if(i)return t&&(i.checkChildren=!0),i.subject;const a={checkChildren:t,subject:new xe.xQ,rootNode:s};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const t=jt(e),o=this._elementInfo.get(t);o&&(o.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(o))}focusVia(e,t,o){const s=jt(e);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([a,d])=>this._originChanged(a,t,d)):(this._setOrigin(t),"function"==typeof s.focus&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&t,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,t){const o=this._elementInfo.get(t),s=fe(e);!o||!o.checkChildren&&t!==s||this._originChanged(t,this._getFocusOrigin(s),o)}_onBlur(e,t){const o=this._elementInfo.get(t);!o||o.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(o.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,o=this._rootNodeFocusListenerCount.get(t)||0;o||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,_l),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,_l)}),this._rootNodeFocusListenerCount.set(t,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(yt(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const o=this._rootNodeFocusListenerCount.get(t);o>1?this._rootNodeFocusListenerCount.set(t,o-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,_l),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,_l),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,o){this._setClasses(e,t),this._emitOrigin(o.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((o,s)=>{(s===e||o.checkChildren&&s.contains(e))&&t.push([s,o])}),t}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.R0b),u.LFG(Ve),u.LFG(Ww),u.LFG(b.K0,8),u.LFG(Yw,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const lg="cdk-high-contrast-black-on-white",ug="cdk-high-contrast-white-on-black",Pd="cdk-high-contrast-active";let dg=(()=>{class r{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,o=t&&t.getComputedStyle?t.getComputedStyle(e):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Pd),e.remove(lg),e.remove(ug),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(Pd),e.add(lg)):2===t&&(e.add(Pd),e.add(ug))}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ve),u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Id=(()=>{class r{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(dg))},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Xe,Jp]]}),r})();var yl=v(9146);function vs(...r){return function Zw(){return(0,yl.J)(1)}()((0,Ie.of)(...r))}function yn(...r){const n=r[r.length-1];return(0,P.K)(n)?(r.pop(),e=>vs(r,e,n)):e=>vs(r,e)}class Od{}const lo="*";function Qt(r,n){return{type:7,name:r,definitions:n,options:{}}}function wt(r,n=null){return{type:4,styles:n,timings:r}}function Xw(r,n=null){return{type:2,steps:r,options:n}}function Fe(r){return{type:6,styles:r,offset:null}}function dt(r,n,e){return{type:0,name:r,styles:n,options:e}}function As(r){return{type:5,steps:r}}function rt(r,n,e=null){return{type:1,expr:r,animation:n,options:e}}function Fd(r){Promise.resolve(null).then(r)}class Cs{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._onStartFns.push(n)}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Fd(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class vl{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,t=0,o=0;const s=this.players.length;0==s?Fd(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++e==s&&this._onFinish()}),i.onDestroy(()=>{++t==s&&this._onDestroy()}),i.onStart(()=>{++o==s&&this._onStart()})}),this.totalTime=this.players.reduce((i,a)=>Math.max(i,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(t=>{const o=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(o)})}getPosition(){const n=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function fg(){return"undefined"!=typeof window&&void 0!==window.document}function pg(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function $i(r){switch(r.length){case 0:return new Cs;case 1:return r[0];default:return new vl(r)}}function Al(r,n,e,t,o={},s={}){const i=[],a=[];let d=-1,h=null;if(t.forEach(g=>{const S=g.offset,H=S==d,te=H&&h||{};Object.keys(g).forEach(he=>{let _e=he,Te=g[he];if("offset"!==he)switch(_e=n.normalizePropertyName(_e,i),Te){case"!":Te=o[he];break;case lo:Te=s[he];break;default:Te=n.normalizeStyleValue(he,_e,Te,i)}te[_e]=Te}),H||a.push(te),h=te,d=S}),i.length){const g="\n - ";throw new Error(`Unable to animate due to the following errors:${g}${i.join(g)}`)}return a}function Cl(r,n,e,t){switch(n){case"start":r.onStart(()=>t(e&&zd(e,"start",r)));break;case"done":r.onDone(()=>t(e&&zd(e,"done",r)));break;case"destroy":r.onDestroy(()=>t(e&&zd(e,"destroy",r)))}}function zd(r,n,e){const t=e.totalTime,s=Ha(r.element,r.triggerName,r.fromState,r.toState,n||r.phaseName,null==t?r.totalTime:t,!!e.disabled),i=r._data;return null!=i&&(s._data=i),s}function Ha(r,n,e,t,o="",s=0,i){return{element:r,triggerName:n,fromState:e,toState:t,phaseName:o,totalTime:s,disabled:!!i}}function Wi(r,n,e){let t;return r instanceof Map?(t=r.get(n),t||r.set(n,t=e)):(t=r[n],t||(t=r[n]=e)),t}function gg(r){const n=r.indexOf(":");return[r.substring(1,n),r.substr(n+1)]}let Ld=(r,n)=>!1,mg=(r,n,e)=>[];(pg()||"undefined"!=typeof Element)&&(Ld=fg()?(r,n)=>{for(;n&&n!==document.documentElement;){if(n===r)return!0;n=n.parentNode||n.host}return!1}:(r,n)=>r.contains(n),mg=(r,n,e)=>{if(e)return Array.from(r.querySelectorAll(n));const t=r.querySelector(n);return t?[t]:[]});let Uo=null,Tl=!1;function Bd(r){Uo||(Uo=function Nd(){return"undefined"!=typeof document?document.body:null}()||{},Tl=!!Uo.style&&"WebkitAppearance"in Uo.style);let n=!0;return Uo.style&&!function Jw(r){return"ebkit"==r.substring(1,6)}(r)&&(n=r in Uo.style,!n&&Tl&&(n="Webkit"+r.charAt(0).toUpperCase()+r.substr(1)in Uo.style)),n}const _g=Ld,yg=mg;let jd=(()=>{class r{validateStyleProperty(e){return Bd(e)}matchesElement(e,t){return!1}containsElement(e,t){return _g(e,t)}query(e,t,o){return yg(e,t,o)}computeStyle(e,t,o){return o||""}animate(e,t,o,s,i,a=[],d){return new Cs(o,s)}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),ho=(()=>{class r{}return r.NOOP=new jd,r})();const Ts="ng-enter",El="ng-leave",Fa="ng-trigger",za=".ng-trigger",Kd="ng-animating",La=".ng-animating";function qo(r){if("number"==typeof r)return r;const n=r.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Es(parseFloat(n[1]),n[2])}function Es(r,n){return"s"===n?1e3*r:r}function Tr(r,n,e){return r.hasOwnProperty("duration")?r:function bg(r,n,e){let o,s=0,i="";if("string"==typeof r){const a=r.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(`The provided timing value "${r}" is invalid.`),{duration:0,delay:0,easing:""};o=Es(parseFloat(a[1]),a[2]);const d=a[3];null!=d&&(s=Es(parseFloat(d),a[4]));const h=a[5];h&&(i=h)}else o=r;if(!e){let a=!1,d=n.length;o<0&&(n.push("Duration values below 0 are not allowed for this animation step."),a=!0),s<0&&(n.push("Delay values below 0 are not allowed for this animation step."),a=!0),a&&n.splice(d,0,`The provided timing value "${r}" is invalid.`)}return{duration:o,delay:s,easing:i}}(r,n,e)}function $o(r,n={}){return Object.keys(r).forEach(e=>{n[e]=r[e]}),n}function $n(r,n,e={}){if(n)for(let t in r)e[t]=r[t];else $o(r,e);return e}function Ss(r,n,e){return e?n+":"+e+";":""}function vg(r){let n="";for(let e=0;e{const o=Sl(t);e&&!e.hasOwnProperty(t)&&(e[t]=r.style[o]),r.style[o]=n[t]}),pg()&&vg(r))}function Er(r,n){r.style&&(Object.keys(n).forEach(e=>{const t=Sl(e);r.style[t]=""}),pg()&&vg(r))}function Ba(r){return Array.isArray(r)?1==r.length?r[0]:Xw(r):r}const Na=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ud(r){let n=[];if("string"==typeof r){let e;for(;e=Na.exec(r);)n.push(e[1]);Na.lastIndex=0}return n}function qd(r,n,e){const t=r.toString(),o=t.replace(Na,(s,i)=>{let a=n[i];return n.hasOwnProperty(i)||(e.push(`Please provide a value for the animation param ${i}`),a=""),a.toString()});return o==t?r:o}function ja(r){const n=[];let e=r.next();for(;!e.done;)n.push(e.value),e=r.next();return n}const ib=/-+([a-z0-9])/g;function Sl(r){return r.replace(ib,(...n)=>n[1].toUpperCase())}function nb(r){return r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Yi(r,n,e){switch(n.type){case 7:return r.visitTrigger(n,e);case 0:return r.visitState(n,e);case 1:return r.visitTransition(n,e);case 2:return r.visitSequence(n,e);case 3:return r.visitGroup(n,e);case 4:return r.visitAnimate(n,e);case 5:return r.visitKeyframes(n,e);case 6:return r.visitStyle(n,e);case 8:return r.visitReference(n,e);case 9:return r.visitAnimateChild(n,e);case 10:return r.visitAnimateRef(n,e);case 11:return r.visitQuery(n,e);case 12:return r.visitStagger(n,e);default:throw new Error(`Unable to resolve animation metadata node #${n.type}`)}}function $d(r,n){return window.getComputedStyle(r)[n]}function rb(r,n){const e=[];return"string"==typeof r?r.split(/\s*,\s*/).forEach(t=>function sb(r,n,e){if(":"==r[0]){const d=function ab(r,n){switch(r){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(r,e);if("function"==typeof d)return void n.push(d);r=d}const t=r.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${r}" is not supported`),n;const o=t[1],s=t[2],i=t[3];n.push(Cg(o,i));"<"==s[0]&&!("*"==o&&"*"==i)&&n.push(Cg(i,o))}(t,e,n)):e.push(r),e}const Va=new Set(["true","1"]),Dl=new Set(["false","0"]);function Cg(r,n){const e=Va.has(r)||Dl.has(r),t=Va.has(n)||Dl.has(n);return(o,s)=>{let i="*"==r||r==o,a="*"==n||n==s;return!i&&e&&"boolean"==typeof o&&(i=o?Va.has(r):Dl.has(r)),!a&&t&&"boolean"==typeof s&&(a=s?Va.has(n):Dl.has(n)),i&&a}}const Ye=new RegExp("s*:selfs*,?","g");function Ml(r,n,e){return new Eg(r).build(n,e)}class Eg{constructor(n){this._driver=n}build(n,e){const t=new Sg(e);return this._resetContextStyleTimingState(t),Yi(this,Ba(n),t)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles={},n.collectedStyles[""]={},n.currentTime=0}visitTrigger(n,e){let t=e.queryCount=0,o=e.depCount=0;const s=[],i=[];return"@"==n.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const d=a,h=d.name;h.toString().split(/\s*,\s*/).forEach(g=>{d.name=g,s.push(this.visitState(d,e))}),d.name=h}else if(1==a.type){const d=this.visitTransition(a,e);t+=d.queryCount,o+=d.depCount,i.push(d)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:n.name,states:s,transitions:i,queryCount:t,depCount:o,options:null}}visitState(n,e){const t=this.visitStyle(n.styles,e),o=n.options&&n.options.params||null;if(t.containsDynamicStyles){const s=new Set,i=o||{};if(t.styles.forEach(a=>{if(ks(a)){const d=a;Object.keys(d).forEach(h=>{Ud(d[h]).forEach(g=>{i.hasOwnProperty(g)||s.add(g)})})}}),s.size){const a=ja(s.values());e.errors.push(`state("${n.name}", ...) must define default values for all the following style substitutions: ${a.join(", ")}`)}}return{type:0,name:n.name,style:t,options:o?{params:o}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const t=Yi(this,Ba(n.animation),e);return{type:1,matchers:rb(n.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:po(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(t=>Yi(this,t,e)),options:po(n.options)}}visitGroup(n,e){const t=e.currentTime;let o=0;const s=n.steps.map(i=>{e.currentTime=t;const a=Yi(this,i,e);return o=Math.max(o,e.currentTime),a});return e.currentTime=o,{type:3,steps:s,options:po(n.options)}}visitAnimate(n,e){const t=function fo(r,n){let e=null;if(r.hasOwnProperty("duration"))e=r;else if("number"==typeof r)return Rl(Tr(r,n).duration,0,"");const t=r;if(t.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=Rl(0,0,"");return s.dynamic=!0,s.strValue=t,s}return e=e||Tr(t,n),Rl(e.duration,e.delay,e.easing)}(n.timings,e.errors);e.currentAnimateTimings=t;let o,s=n.styles?n.styles:Fe({});if(5==s.type)o=this.visitKeyframes(s,e);else{let i=n.styles,a=!1;if(!i){a=!0;const h={};t.easing&&(h.easing=t.easing),i=Fe(h)}e.currentTime+=t.duration+t.delay;const d=this.visitStyle(i,e);d.isEmptyStep=a,o=d}return e.currentAnimateTimings=null,{type:4,timings:t,style:o,options:null}}visitStyle(n,e){const t=this._makeStyleAst(n,e);return this._validateStyleAst(t,e),t}_makeStyleAst(n,e){const t=[];Array.isArray(n.styles)?n.styles.forEach(i=>{"string"==typeof i?i==lo?t.push(i):e.errors.push(`The provided style string value ${i} is not allowed.`):t.push(i)}):t.push(n.styles);let o=!1,s=null;return t.forEach(i=>{if(ks(i)){const a=i,d=a.easing;if(d&&(s=d,delete a.easing),!o)for(let h in a)if(a[h].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:t,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){const t=e.currentAnimateTimings;let o=e.currentTime,s=e.currentTime;t&&s>0&&(s-=t.duration+t.delay),n.styles.forEach(i=>{"string"!=typeof i&&Object.keys(i).forEach(a=>{if(!this._driver.validateStyleProperty(a))return void e.errors.push(`The provided animation property "${a}" is not a supported CSS property for animations`);const d=e.collectedStyles[e.currentQuerySelector],h=d[a];let g=!0;h&&(s!=o&&s>=h.startTime&&o<=h.endTime&&(e.errors.push(`The CSS property "${a}" that exists between the times of "${h.startTime}ms" and "${h.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${o}ms"`),g=!1),s=h.startTime),g&&(d[a]={startTime:s,endTime:o}),e.options&&function Ag(r,n,e){const t=n.params||{},o=Ud(r);o.length&&o.forEach(s=>{t.hasOwnProperty(s)||e.push(`Unable to resolve the local animation param ${s} in the given list of values`)})}(i[a],e.options,e.errors)})})}visitKeyframes(n,e){const t={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),t;let s=0;const i=[];let a=!1,d=!1,h=0;const g=n.steps.map(mt=>{const Rt=this._makeStyleAst(mt,e);let bt=null!=Rt.offset?Rt.offset:function cb(r){if("string"==typeof r)return null;let n=null;if(Array.isArray(r))r.forEach(e=>{if(ks(e)&&e.hasOwnProperty("offset")){const t=e;n=parseFloat(t.offset),delete t.offset}});else if(ks(r)&&r.hasOwnProperty("offset")){const e=r;n=parseFloat(e.offset),delete e.offset}return n}(Rt.styles),It=0;return null!=bt&&(s++,It=Rt.offset=bt),d=d||It<0||It>1,a=a||It0&&s{const bt=H>0?Rt==te?1:H*Rt:i[Rt],It=bt*Te;e.currentTime=he+_e.delay+It,_e.duration=It,this._validateStyleAst(mt,e),mt.offset=bt,t.styles.push(mt)}),t}visitReference(n,e){return{type:8,animation:Yi(this,Ba(n.animation),e),options:po(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:po(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:po(n.options)}}visitQuery(n,e){const t=e.currentQuerySelector,o=n.options||{};e.queryCount++,e.currentQuery=n;const[s,i]=function xl(r){const n=!!r.split(/\s*,\s*/).find(e=>":self"==e);return n&&(r=r.replace(Ye,"")),r=r.replace(/@\*/g,za).replace(/@\w+/g,e=>za+"-"+e.substr(1)).replace(/:animating/g,La),[r,n]}(n.selector);e.currentQuerySelector=t.length?t+" "+s:s,Wi(e.collectedStyles,e.currentQuerySelector,{});const a=Yi(this,Ba(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:s,limit:o.limit||0,optional:!!o.optional,includeSelf:i,animation:a,originalSelector:n.selector,options:po(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===n.timings?{duration:0,delay:0,easing:"full"}:Tr(n.timings,e.errors,!0);return{type:12,animation:Yi(this,Ba(n.animation),e),timings:t,options:null}}}class Sg{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ks(r){return!Array.isArray(r)&&"object"==typeof r}function po(r){return r?(r=$o(r)).params&&(r.params=function In(r){return r?$o(r):null}(r.params)):r={},r}function Rl(r,n,e){return{duration:r,delay:n,easing:e}}function Ka(r,n,e,t,o,s,i=null,a=!1){return{type:1,element:r,keyframes:n,preStyleProps:e,postStyleProps:t,duration:o,delay:s,totalTime:o+s,easing:i,subTimeline:a}}class Yd{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let t=this._map.get(n);t||this._map.set(n,t=[]),t.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const Pl=new RegExp(":enter","g"),Zd=new RegExp(":leave","g");function Ga(r,n,e,t,o,s={},i={},a,d,h=[]){return(new Qd).buildKeyframes(r,n,e,t,o,s,i,a,d,h)}class Qd{buildKeyframes(n,e,t,o,s,i,a,d,h,g=[]){h=h||new Yd;const S=new Jd(n,e,h,o,s,g,[]);S.options=d,S.currentTimeline.setStyles([i],null,S.errors,d),Yi(this,t,S);const H=S.timelines.filter(te=>te.containsAnimation());if(Object.keys(a).length){let te;for(let he=H.length-1;he>=0;he--){const _e=H[he];if(_e.element===e){te=_e;break}}te&&!te.allowOnlyTimelineStyles()&&te.setStyles([a],null,S.errors,d)}return H.length?H.map(te=>te.buildKeyframes()):[Ka(e,[],[],[],0,0,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const t=e.subInstructions.get(e.element);if(t){const o=e.createSubContext(n.options),s=e.currentTimeline.currentTime,i=this._visitSubInstructions(t,o,o.options);s!=i&&e.transformIntoNewTimeline(i)}e.previousNode=n}visitAnimateRef(n,e){const t=e.createSubContext(n.options);t.transformIntoNewTimeline(),this.visitReference(n.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=n}_visitSubInstructions(n,e,t){let s=e.currentTimeline.currentTime;const i=null!=t.duration?qo(t.duration):null,a=null!=t.delay?qo(t.delay):null;return 0!==i&&n.forEach(d=>{const h=e.appendInstructionToTimeline(d,i,a);s=Math.max(s,h.duration+h.delay)}),s}visitReference(n,e){e.updateOptions(n.options,!0),Yi(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const t=e.subContextCount;let o=e;const s=n.options;if(s&&(s.params||s.delay)&&(o=e.createSubContext(s),o.transformIntoNewTimeline(),null!=s.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Xd);const i=qo(s.delay);o.delayNextStep(i)}n.steps.length&&(n.steps.forEach(i=>Yi(this,i,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>t&&o.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const t=[];let o=e.currentTimeline.currentTime;const s=n.options&&n.options.delay?qo(n.options.delay):0;n.steps.forEach(i=>{const a=e.createSubContext(n.options);s&&a.delayNextStep(s),Yi(this,i,a),o=Math.max(o,a.currentTimeline.currentTime),t.push(a.currentTimeline)}),t.forEach(i=>e.currentTimeline.mergeTimelineCollectedStyles(i)),e.transformIntoNewTimeline(o),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const t=n.strValue;return Tr(e.params?qd(t,e.params,e.errors):t,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const t=e.currentAnimateTimings=this._visitTiming(n.timings,e),o=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),o.snapshotCurrentStyles());const s=n.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(t.duration),this.visitStyle(s,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const t=e.currentTimeline,o=e.currentAnimateTimings;!o&&t.getCurrentStyleProperties().length&&t.forwardFrame();const s=o&&o.easing||n.easing;n.isEmptyStep?t.applyEmptyStep(s):t.setStyles(n.styles,s,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const t=e.currentAnimateTimings,o=e.currentTimeline.duration,s=t.duration,a=e.createSubContext().currentTimeline;a.easing=t.easing,n.styles.forEach(d=>{a.forwardTime((d.offset||0)*s),a.setStyles(d.styles,d.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(o+s),e.previousNode=n}visitQuery(n,e){const t=e.currentTimeline.currentTime,o=n.options||{},s=o.delay?qo(o.delay):0;s&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Xd);let i=t;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=a.length;let d=null;a.forEach((h,g)=>{e.currentQueryIndex=g;const S=e.createSubContext(n.options,h);s&&S.delayNextStep(s),h===e.element&&(d=S.currentTimeline),Yi(this,n.animation,S),S.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,S.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const t=e.parentContext,o=e.currentTimeline,s=n.timings,i=Math.abs(s.duration),a=i*(e.currentQueryTotal-1);let d=i*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":d=a-d;break;case"full":d=t.currentStaggerTime}const g=e.currentTimeline;d&&g.delayNextStep(d);const S=g.currentTime;Yi(this,n.animation,e),e.previousNode=n,t.currentStaggerTime=o.currentTime-S+(o.startTime-t.currentTimeline.startTime)}}const Xd={};class Jd{constructor(n,e,t,o,s,i,a,d){this._driver=n,this.element=e,this.subInstructions=t,this._enterClassName=o,this._leaveClassName=s,this.errors=i,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Xd,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new Ol(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const t=n;let o=this.options;null!=t.duration&&(o.duration=qo(t.duration)),null!=t.delay&&(o.delay=qo(t.delay));const s=t.params;if(s){let i=o.params;i||(i=this.options.params={}),Object.keys(s).forEach(a=>{(!e||!i.hasOwnProperty(a))&&(i[a]=qd(s[a],i,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const t=n.params={};Object.keys(e).forEach(o=>{t[o]=e[o]})}}return n}createSubContext(n=null,e,t){const o=e||this.element,s=new Jd(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,t||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(n),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(n){return this.previousNode=Xd,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,t){const o={duration:null!=e?e:n.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+n.delay,easing:""},s=new lb(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,o,n.stretchStartingKeyframe);return this.timelines.push(s),o}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,t,o,s,i){let a=[];if(o&&a.push(this.element),n.length>0){n=(n=n.replace(Pl,"."+this._enterClassName)).replace(Zd,"."+this._leaveClassName);let h=this._driver.query(this.element,n,1!=t);0!==t&&(h=t<0?h.slice(h.length+t,h.length):h.slice(0,t)),a.push(...h)}return!s&&0==a.length&&i.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),a}}class Ol{constructor(n,e,t,o){this._driver=n,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=o,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new Ol(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles[n]=e,this._globalTimelineStyles[n]=e,this._styleSummary[n]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&(this._previousKeyframe.easing=n),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||lo,this._currentKeyframe[e]=lo}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,t,o){e&&(this._previousKeyframe.easing=e);const s=o&&o.params||{},i=function Mg(r,n){const e={};let t;return r.forEach(o=>{"*"===o?(t=t||Object.keys(n),t.forEach(s=>{e[s]=lo})):$n(o,!1,e)}),e}(n,this._globalTimelineStyles);Object.keys(i).forEach(a=>{const d=qd(i[a],s,t);this._pendingStyles[a]=d,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:lo),this._updateStyle(a,d)})}applyStylesToKeyframe(){const n=this._pendingStyles,e=Object.keys(n);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=n[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(n=>{const e=this._localTimelineStyles[n];this._pendingStyles[n]=e,this._updateStyle(n,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){Object.keys(n._styleSummary).forEach(e=>{const t=this._styleSummary[e],o=n._styleSummary[e];(!t||o.time>t.time)&&this._updateStyle(e,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((a,d)=>{const h=$n(a,!0);Object.keys(h).forEach(g=>{const S=h[g];"!"==S?n.add(g):S==lo&&e.add(g)}),t||(h.offset=d/this.duration),o.push(h)});const s=n.size?ja(n.values()):[],i=e.size?ja(e.values()):[];if(t){const a=o[0],d=$o(a);a.offset=0,d.offset=1,o=[a,d]}return Ka(this.element,o,s,i,this.duration,this.startTime,this.easing,!1)}}class lb extends Ol{constructor(n,e,t,o,s,i,a=!1){super(n,e,i.delay),this.keyframes=t,this.preStyleProps=o,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:t,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],i=t+e,a=e/i,d=$n(n[0],!1);d.offset=0,s.push(d);const h=$n(n[0],!1);h.offset=Dg(a),s.push(h);const g=n.length-1;for(let S=1;S<=g;S++){let H=$n(n[S],!1);H.offset=Dg((e+H.offset*t)/i),s.push(H)}t=i,e=0,o="",n=s}return Ka(this.element,n,this.preStyleProps,this.postStyleProps,t,e,o,!0)}}function Dg(r,n=3){const e=Math.pow(10,n-1);return Math.round(r*e)/e}class eh{}class xg extends eh{normalizePropertyName(n,e){return Sl(n)}normalizeStyleValue(n,e,t,o){let s="";const i=t.toString().trim();if(Rg[e]&&0!==t&&"0"!==t)if("number"==typeof t)s="px";else{const a=t.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&o.push(`Please provide a CSS unit value for ${n}:${t}`)}return i+s}}const Rg=(()=>function ub(r){const n={};return r.forEach(e=>n[e]=!0),n}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Hl(r,n,e,t,o,s,i,a,d,h,g,S,H){return{type:0,element:r,triggerName:n,isRemovalTransition:o,fromState:e,fromStyles:s,toState:t,toStyles:i,timelines:a,queriedElements:d,preStyleProps:h,postStyleProps:g,totalTime:S,errors:H}}const Pg={};class db{constructor(n,e,t){this._triggerName=n,this.ast=e,this._stateStyles=t}match(n,e,t,o){return function zT(r,n,e,t,o){return r.some(s=>s(n,e,t,o))}(this.ast.matchers,n,e,t,o)}buildStyles(n,e,t){const o=this._stateStyles["*"],s=this._stateStyles[n],i=o?o.buildStyles(e,t):{};return s?s.buildStyles(e,t):i}build(n,e,t,o,s,i,a,d,h,g){const S=[],H=this.ast.options&&this.ast.options.params||Pg,he=this.buildStyles(t,a&&a.params||Pg,S),_e=d&&d.params||Pg,Te=this.buildStyles(o,_e,S),mt=new Set,Rt=new Map,bt=new Map,It="void"===o,oa={params:Object.assign(Object.assign({},H),_e)},hr=g?[]:Ga(n,e,this.ast.animation,s,i,he,Te,oa,h,S);let sn=0;if(hr.forEach(es=>{sn=Math.max(es.duration+es.delay,sn)}),S.length)return Hl(e,this._triggerName,t,o,It,he,Te,[],[],Rt,bt,sn,S);hr.forEach(es=>{const ts=es.element,eD=Wi(Rt,ts,{});es.preStyleProps.forEach(Oc=>eD[Oc]=!0);const dp=Wi(bt,ts,{});es.postStyleProps.forEach(Oc=>dp[Oc]=!0),ts!==e&&mt.add(ts)});const Jr=ja(mt.values());return Hl(e,this._triggerName,t,o,It,he,Te,hr,Jr,Rt,bt,sn)}}class LT{constructor(n,e,t){this.styles=n,this.defaultParams=e,this.normalizer=t}buildStyles(n,e){const t={},o=$o(this.defaultParams);return Object.keys(n).forEach(s=>{const i=n[s];null!=i&&(o[s]=i)}),this.styles.styles.forEach(s=>{if("string"!=typeof s){const i=s;Object.keys(i).forEach(a=>{let d=i[a];d.length>1&&(d=qd(d,o,e));const h=this.normalizer.normalizePropertyName(a,e);d=this.normalizer.normalizeStyleValue(a,h,d,e),t[h]=d})}}),t}}class NT{constructor(n,e,t){this.name=n,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(o=>{this.states[o.name]=new LT(o.style,o.options&&o.options.params||{},t)}),hb(this.states,"true","1"),hb(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new db(n,o,this.states))}),this.fallbackTransition=function jT(r,n,e){return new db(r,{type:1,animation:{type:2,steps:[],options:null},matchers:[(i,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,t,o){return this.transitionFactories.find(i=>i.match(n,e,t,o))||null}matchStyles(n,e,t){return this.fallbackTransition.buildStyles(n,e,t)}}function hb(r,n,e){r.hasOwnProperty(n)?r.hasOwnProperty(e)||(r[e]=r[n]):r.hasOwnProperty(e)&&(r[n]=r[e])}const VT=new Yd;class KT{constructor(n,e,t){this.bodyNode=n,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(n,e){const t=[],o=Ml(this._driver,e,t);if(t.length)throw new Error(`Unable to build the animation due to the following errors: ${t.join("\n")}`);this._animations[n]=o}_buildPlayer(n,e,t){const o=n.element,s=Al(0,this._normalizer,0,n.keyframes,e,t);return this._driver.animate(o,s,n.duration,n.delay,n.easing,[],!0)}create(n,e,t={}){const o=[],s=this._animations[n];let i;const a=new Map;if(s?(i=Ga(this._driver,e,s,Ts,El,{},{},t,VT,o),i.forEach(g=>{const S=Wi(a,g.element,{});g.postStyleProps.forEach(H=>S[H]=null)})):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error(`Unable to create the animation due to the following errors: ${o.join("\n")}`);a.forEach((g,S)=>{Object.keys(g).forEach(H=>{g[H]=this._driver.computeStyle(S,H,lo)})});const h=$i(i.map(g=>{const S=a.get(g.element);return this._buildPlayer(g,{},S)}));return this._playersById[n]=h,h.onDestroy(()=>this.destroy(n)),this.players.push(h),h}destroy(n){const e=this._getPlayer(n);e.destroy(),delete this._playersById[n];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(n){const e=this._playersById[n];if(!e)throw new Error(`Unable to find the timeline player referenced by ${n}`);return e}listen(n,e,t,o){const s=Ha(e,"","","");return Cl(this._getPlayer(n),t,s,o),()=>{}}command(n,e,t,o){if("register"==t)return void this.register(n,o[0]);if("create"==t)return void this.create(n,e,o[0]||{});const s=this._getPlayer(n);switch(t){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(n)}}}const go="ng-animate-queued",ih="ng-animate-disabled",oh=[],Hg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Wo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Zi="__ng_removed";class rh{constructor(n,e=""){this.namespaceId=e;const t=n&&n.hasOwnProperty("value");if(this.value=function Ds(r){return null!=r?r:null}(t?n.value:n),t){const s=$o(n);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(n){const e=n.params;if(e){const t=this.options.params;Object.keys(e).forEach(o=>{null==t[o]&&(t[o]=e[o])})}}}const Sr="void",sh=new rh(Sr);class Fg{constructor(n,e,t){this.id=n,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Qi(e,this._hostClassName)}listen(n,e,t,o){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${t}" because the animation trigger "${e}" doesn't exist!`);if(null==t||0==t.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function xs(r){return"start"==r||"done"==r}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const s=Wi(this._elementListeners,n,[]),i={name:e,phase:t,callback:o};s.push(i);const a=Wi(this._engine.statesByElement,n,{});return a.hasOwnProperty(e)||(Qi(n,Fa),Qi(n,Fa+"-"+e),a[e]=sh),()=>{this._engine.afterFlush(()=>{const d=s.indexOf(i);d>=0&&s.splice(d,1),this._triggers[e]||delete a[e]})}}register(n,e){return!this._triggers[n]&&(this._triggers[n]=e,!0)}_getTrigger(n){const e=this._triggers[n];if(!e)throw new Error(`The provided animation trigger "${n}" has not been registered!`);return e}trigger(n,e,t,o=!0){const s=this._getTrigger(e),i=new ah(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(Qi(n,Fa),Qi(n,Fa+"-"+e),this._engine.statesByElement.set(n,a={}));let d=a[e];const h=new rh(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&d&&h.absorbOptions(d.options),a[e]=h,d||(d=sh),h.value!==Sr&&d.value===h.value){if(!function Fl(r,n){const e=Object.keys(r),t=Object.keys(n);if(e.length!=t.length)return!1;for(let o=0;o{Er(n,Te),Rn(n,mt)})}return}const H=Wi(this._engine.playersByElement,n,[]);H.forEach(_e=>{_e.namespaceId==this.id&&_e.triggerName==e&&_e.queued&&_e.destroy()});let te=s.matchTransition(d.value,h.value,n,h.params),he=!1;if(!te){if(!o)return;te=s.fallbackTransition,he=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:te,fromState:d,toState:h,player:i,isFallbackTransition:he}),he||(Qi(n,go),i.onStart(()=>{Dr(n,go)})),i.onDone(()=>{let _e=this.players.indexOf(i);_e>=0&&this.players.splice(_e,1);const Te=this._engine.playersByElement.get(n);if(Te){let mt=Te.indexOf(i);mt>=0&&Te.splice(mt,1)}}),this.players.push(i),H.push(i),i}deregister(n){delete this._triggers[n],this._engine.statesByElement.forEach((e,t)=>{delete e[n]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(o=>o.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const t=this._engine.driver.query(n,za,!0);t.forEach(o=>{if(o[Zi])return;const s=this._engine.fetchNamespacesByElement(o);s.size?s.forEach(i=>i.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(n,e,t,o){const s=this._engine.statesByElement.get(n),i=new Map;if(s){const a=[];if(Object.keys(s).forEach(d=>{if(i.set(d,s[d].value),this._triggers[d]){const h=this.trigger(n,d,Sr,o);h&&a.push(h)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,i),t&&$i(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),t=this._engine.statesByElement.get(n);if(e&&t){const o=new Set;e.forEach(s=>{const i=s.name;if(o.has(i))return;o.add(i);const d=this._triggers[i].fallbackTransition,h=t[i]||sh,g=new rh(Sr),S=new ah(this.id,i,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:i,transition:d,fromState:h,toState:g,player:S,isFallbackTransition:!0})})}}removeNode(n,e){const t=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let o=!1;if(t.totalAnimations){const s=t.players.length?t.playersByQueriedElement.get(n):[];if(s&&s.length)o=!0;else{let i=n;for(;i=i.parentNode;)if(t.statesByElement.get(i)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(n),o)t.markElementAsRemoved(this.id,n,!1,e);else{const s=n[Zi];(!s||s===Hg)&&(t.afterFlush(()=>this.clearElementCache(n)),t.destroyInnerAnimations(n),t._onRemovalComplete(n,e))}}insertNode(n,e){Qi(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(t=>{const o=t.player;if(o.destroyed)return;const s=t.element,i=this._elementListeners.get(s);i&&i.forEach(a=>{if(a.name==t.triggerName){const d=Ha(s,t.triggerName,t.fromState.value,t.toState.value);d._data=n,Cl(t.player,a.phase,d,a.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(t)}),this._queue=[],e.sort((t,o)=>{const s=t.transition.ast.depCount,i=o.transition.ast.depCount;return 0==s||0==i?s-i:this._engine.driver.containsElement(t.element,o.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(t=>t.element===n)||e,e}}class fb{constructor(n,e,t){this.bodyNode=n,this.driver=e,this._normalizer=t,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,s)=>{}}_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&n.push(t)})}),n}createNamespace(n,e){const t=new Fg(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[n]=t}_balanceNamespaceList(n,e){const t=this._namespaceList.length-1;if(t>=0){let o=!1;for(let s=t;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,n),o=!0;break}o||this._namespaceList.splice(0,0,n)}else this._namespaceList.push(n);return this.namespacesByHostElement.set(e,n),n}register(n,e){let t=this._namespaceLookup[n];return t||(t=this.createNamespace(n,e)),t}registerTrigger(n,e,t){let o=this._namespaceLookup[n];o&&o.register(e,t)&&this.totalAnimations++}destroy(n,e){if(!n)return;const t=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[n];const o=this._namespaceList.indexOf(t);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,t=this.statesByElement.get(n);if(t){const o=Object.keys(t);for(let s=0;s=0&&this.collectedLeaveElements.splice(i,1)}if(n){const i=this._fetchNamespace(n);i&&i.insertNode(e,t)}o&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Qi(n,ih)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Dr(n,ih))}removeNode(n,e,t,o){if(Ms(e)){const s=n?this._fetchNamespace(n):null;if(s?s.removeNode(e,o):this.markElementAsRemoved(n,e,!1,o),t){const i=this.namespacesByHostElement.get(e);i&&i.id!==n&&i.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(n,e,t,o,s){this.collectedLeaveElements.push(e),e[Zi]={namespaceId:n,setForRemoval:o,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:s}}listen(n,e,t,o,s){return Ms(e)?this._fetchNamespace(n).listen(e,t,o,s):()=>{}}_buildInstruction(n,e,t,o,s){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,t,o,n.fromState.options,n.toState.options,e,s)}destroyInnerAnimations(n){let e=this.driver.query(n,za,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,La,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return $i(this.players).onDone(()=>n());n()})}processLeaveNode(n){var e;const t=n[Zi];if(t&&t.setForRemoval){if(n[Zi]=Hg,t.namespaceId){this.destroyInnerAnimations(n);const o=this._fetchNamespace(t.namespaceId);o&&o.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}(null===(e=n.classList)||void 0===e?void 0:e.contains(ih))&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(o=>{this.markElementAsDisabled(o,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,o)=>this._balanceNamespaceList(t,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?$i(e).onDone(()=>{t.forEach(o=>o())}):t.forEach(o=>o())}}reportError(n){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${n.join("\n")}`)}_flushAnimations(n,e){const t=new Yd,o=[],s=new Map,i=[],a=new Map,d=new Map,h=new Map,g=new Set;this.disabledNodes.forEach(ze=>{g.add(ze);const Ge=this.driver.query(ze,".ng-animate-queued",!0);for(let $e=0;$e{const $e=Ts+_e++;he.set(Ge,$e),ze.forEach(Ct=>Qi(Ct,$e))});const Te=[],mt=new Set,Rt=new Set;for(let ze=0;zemt.add(Ct)):Rt.add(Ge))}const bt=new Map,It=zg(H,Array.from(mt));It.forEach((ze,Ge)=>{const $e=El+_e++;bt.set(Ge,$e),ze.forEach(Ct=>Qi(Ct,$e))}),n.push(()=>{te.forEach((ze,Ge)=>{const $e=he.get(Ge);ze.forEach(Ct=>Dr(Ct,$e))}),It.forEach((ze,Ge)=>{const $e=bt.get(Ge);ze.forEach(Ct=>Dr(Ct,$e))}),Te.forEach(ze=>{this.processLeaveNode(ze)})});const oa=[],hr=[];for(let ze=this._namespaceList.length-1;ze>=0;ze--)this._namespaceList[ze].drainQueuedTransitions(e).forEach($e=>{const Ct=$e.player,Ei=$e.element;if(oa.push(Ct),this.collectedEnterElements.length){const an=Ei[Zi];if(an&&an.setForMove){if(an.previousTriggersValues&&an.previousTriggersValues.has($e.triggerName)){const Hc=an.previousTriggersValues.get($e.triggerName),sa=this.statesByElement.get($e.element);sa&&sa[$e.triggerName]&&(sa[$e.triggerName].value=Hc)}return void Ct.destroy()}}const fr=!S||!this.driver.containsElement(S,Ei),Nn=bt.get(Ei),ra=he.get(Ei),Wt=this._buildInstruction($e,t,ra,Nn,fr);if(Wt.errors&&Wt.errors.length)return void hr.push(Wt);if(fr)return Ct.onStart(()=>Er(Ei,Wt.fromStyles)),Ct.onDestroy(()=>Rn(Ei,Wt.toStyles)),void o.push(Ct);if($e.isFallbackTransition)return Ct.onStart(()=>Er(Ei,Wt.fromStyles)),Ct.onDestroy(()=>Rn(Ei,Wt.toStyles)),void o.push(Ct);const nD=[];Wt.timelines.forEach(an=>{an.stretchStartingKeyframe=!0,this.disabledNodes.has(an.element)||nD.push(an)}),Wt.timelines=nD,t.append(Ei,Wt.timelines),i.push({instruction:Wt,player:Ct,element:Ei}),Wt.queriedElements.forEach(an=>Wi(a,an,[]).push(Ct)),Wt.preStyleProps.forEach((an,Hc)=>{const sa=Object.keys(an);if(sa.length){let Fc=d.get(Hc);Fc||d.set(Hc,Fc=new Set),sa.forEach(D0=>Fc.add(D0))}}),Wt.postStyleProps.forEach((an,Hc)=>{const sa=Object.keys(an);let Fc=h.get(Hc);Fc||h.set(Hc,Fc=new Set),sa.forEach(D0=>Fc.add(D0))})});if(hr.length){const ze=[];hr.forEach(Ge=>{ze.push(`@${Ge.triggerName} has failed due to:\n`),Ge.errors.forEach($e=>ze.push(`- ${$e}\n`))}),oa.forEach(Ge=>Ge.destroy()),this.reportError(ze)}const sn=new Map,Jr=new Map;i.forEach(ze=>{const Ge=ze.element;t.has(Ge)&&(Jr.set(Ge,Ge),this._beforeAnimationBuild(ze.player.namespaceId,ze.instruction,sn))}),o.forEach(ze=>{const Ge=ze.element;this._getPreviousPlayers(Ge,!1,ze.namespaceId,ze.triggerName,null).forEach(Ct=>{Wi(sn,Ge,[]).push(Ct),Ct.destroy()})});const es=Te.filter(ze=>Lg(ze,d,h)),ts=new Map;kr(ts,this.driver,Rt,h,lo).forEach(ze=>{Lg(ze,d,h)&&es.push(ze)});const dp=new Map;te.forEach((ze,Ge)=>{kr(dp,this.driver,new Set(ze),d,"!")}),es.forEach(ze=>{const Ge=ts.get(ze),$e=dp.get(ze);ts.set(ze,Object.assign(Object.assign({},Ge),$e))});const Oc=[],tD=[],iD={};i.forEach(ze=>{const{element:Ge,player:$e,instruction:Ct}=ze;if(t.has(Ge)){if(g.has(Ge))return $e.onDestroy(()=>Rn(Ge,Ct.toStyles)),$e.disabled=!0,$e.overrideTotalTime(Ct.totalTime),void o.push($e);let Ei=iD;if(Jr.size>1){let Nn=Ge;const ra=[];for(;Nn=Nn.parentNode;){const Wt=Jr.get(Nn);if(Wt){Ei=Wt;break}ra.push(Nn)}ra.forEach(Wt=>Jr.set(Wt,Ei))}const fr=this._buildAnimation($e.namespaceId,Ct,sn,s,dp,ts);if($e.setRealPlayer(fr),Ei===iD)Oc.push($e);else{const Nn=this.playersByElement.get(Ei);Nn&&Nn.length&&($e.parentPlayer=$i(Nn)),o.push($e)}}else Er(Ge,Ct.fromStyles),$e.onDestroy(()=>Rn(Ge,Ct.toStyles)),tD.push($e),g.has(Ge)&&o.push($e)}),tD.forEach(ze=>{const Ge=s.get(ze.element);if(Ge&&Ge.length){const $e=$i(Ge);ze.setRealPlayer($e)}}),o.forEach(ze=>{ze.parentPlayer?ze.syncPlayerEvents(ze.parentPlayer):ze.destroy()});for(let ze=0;ze!fr.destroyed);Ei.length?ch(this,Ge,Ei):this.processLeaveNode(Ge)}return Te.length=0,Oc.forEach(ze=>{this.players.push(ze),ze.onDone(()=>{ze.destroy();const Ge=this.players.indexOf(ze);this.players.splice(Ge,1)}),ze.play()}),Oc}elementContainsData(n,e){let t=!1;const o=e[Zi];return o&&o.setForRemoval&&(t=!0),this.playersByElement.has(e)&&(t=!0),this.playersByQueriedElement.has(e)&&(t=!0),this.statesByElement.has(e)&&(t=!0),this._fetchNamespace(n).elementContainsData(e)||t}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,t,o,s){let i=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(i=a)}else{const a=this.playersByElement.get(n);if(a){const d=!s||s==Sr;a.forEach(h=>{h.queued||!d&&h.triggerName!=o||i.push(h)})}}return(t||o)&&(i=i.filter(a=>!(t&&t!=a.namespaceId||o&&o!=a.triggerName))),i}_beforeAnimationBuild(n,e,t){const s=e.element,i=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const h=d.element,g=h!==s,S=Wi(t,h,[]);this._getPreviousPlayers(h,g,i,a,e.toState).forEach(te=>{const he=te.getRealPlayer();he.beforeDestroy&&he.beforeDestroy(),te.destroy(),S.push(te)})}Er(s,e.fromStyles)}_buildAnimation(n,e,t,o,s,i){const a=e.triggerName,d=e.element,h=[],g=new Set,S=new Set,H=e.timelines.map(he=>{const _e=he.element;g.add(_e);const Te=_e[Zi];if(Te&&Te.removedBeforeQueried)return new Cs(he.duration,he.delay);const mt=_e!==d,Rt=function lh(r){const n=[];return uh(r,n),n}((t.get(_e)||oh).map(sn=>sn.getRealPlayer())).filter(sn=>!!sn.element&&sn.element===_e),bt=s.get(_e),It=i.get(_e),oa=Al(0,this._normalizer,0,he.keyframes,bt,It),hr=this._buildPlayer(he,oa,Rt);if(he.subTimeline&&o&&S.add(_e),mt){const sn=new ah(n,a,_e);sn.setRealPlayer(hr),h.push(sn)}return hr});h.forEach(he=>{Wi(this.playersByQueriedElement,he.element,[]).push(he),he.onDone(()=>function Ua(r,n,e){let t;if(r instanceof Map){if(t=r.get(n),t){if(t.length){const o=t.indexOf(e);t.splice(o,1)}0==t.length&&r.delete(n)}}else if(t=r[n],t){if(t.length){const o=t.indexOf(e);t.splice(o,1)}0==t.length&&delete r[n]}return t}(this.playersByQueriedElement,he.element,he))}),g.forEach(he=>Qi(he,Kd));const te=$i(H);return te.onDestroy(()=>{g.forEach(he=>Dr(he,Kd)),Rn(d,e.toStyles)}),S.forEach(he=>{Wi(o,he,[]).push(te)}),te}_buildPlayer(n,e,t){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,t):new Cs(n.duration,n.delay)}}class ah{constructor(n,e,t){this.namespaceId=n,this.triggerName=e,this.element=t,this._player=new Cs,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>Cl(n,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Wi(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function Ms(r){return r&&1===r.nodeType}function Rs(r,n){const e=r.style.display;return r.style.display=null!=n?n:"none",e}function kr(r,n,e,t,o){const s=[];e.forEach(d=>s.push(Rs(d)));const i=[];t.forEach((d,h)=>{const g={};d.forEach(S=>{const H=g[S]=n.computeStyle(h,S,o);(!H||0==H.length)&&(h[Zi]=Wo,i.push(h))}),r.set(h,g)});let a=0;return e.forEach(d=>Rs(d,s[a++])),i}function zg(r,n){const e=new Map;if(r.forEach(a=>e.set(a,[])),0==n.length)return e;const o=new Set(n),s=new Map;function i(a){if(!a)return 1;let d=s.get(a);if(d)return d;const h=a.parentNode;return d=e.has(h)?h:o.has(h)?1:i(h),s.set(a,d),d}return n.forEach(a=>{const d=i(a);1!==d&&e.get(d).push(a)}),e}function Qi(r,n){var e;null===(e=r.classList)||void 0===e||e.add(n)}function Dr(r,n){var e;null===(e=r.classList)||void 0===e||e.remove(n)}function ch(r,n,e){$i(e).onDone(()=>r.processLeaveNode(n))}function uh(r,n){for(let e=0;eo.add(s)):n.set(r,t),e.delete(r),!0}class qa{constructor(n,e,t){this.bodyNode=n,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new fb(n,e,t),this._timelineEngine=new KT(n,e,t),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(n,e,t,o,s){const i=n+"-"+o;let a=this._triggerCache[i];if(!a){const d=[],h=Ml(this._driver,s,d);if(d.length)throw new Error(`The animation trigger "${o}" has failed to build due to the following errors:\n - ${d.join("\n - ")}`);a=function BT(r,n,e){return new NT(r,n,e)}(o,h,this._normalizer),this._triggerCache[i]=a}this._transitionEngine.registerTrigger(e,o,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,t,o){this._transitionEngine.insertNode(n,e,t,o)}onRemove(n,e,t,o){this._transitionEngine.removeNode(n,e,o||!1,t)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,t,o){if("@"==t.charAt(0)){const[s,i]=gg(t);this._timelineEngine.command(s,e,i,o)}else this._transitionEngine.trigger(n,e,t,o)}listen(n,e,t,o,s){if("@"==t.charAt(0)){const[i,a]=gg(t);return this._timelineEngine.listen(i,e,a,s)}return this._transitionEngine.listen(n,e,t,o,s)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Bg=(()=>{class r{constructor(e,t,o){this._element=e,this._startStyles=t,this._endStyles=o,this._state=0;let s=r.initialStylesByElement.get(e);s||r.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Rn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Rn(this._element,this._initialStyles),this._endStyles&&(Rn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(r.initialStylesByElement.delete(this._element),this._startStyles&&(Er(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Er(this._element,this._endStyles),this._endStyles=null),Rn(this._element,this._initialStyles),this._state=3)}}return r.initialStylesByElement=new WeakMap,r})();function zl(r){let n=null;const e=Object.keys(r);for(let t=0;tn()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(n,e,t){return n.animate(e,t)}onStart(n){this._onStartFns.push(n)}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(n[t]=this._finished?e[t]:$d(this.element,t))})}this.currentSnapshot=n}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class gb{validateStyleProperty(n){return Bd(n)}matchesElement(n,e){return!1}containsElement(n,e){return _g(n,e)}query(n,e,t){return yg(n,e,t)}computeStyle(n,e,t){return window.getComputedStyle(n)[e]}animate(n,e,t,o,s,i=[]){const d={duration:t,delay:o,fill:0==o?"both":"forwards"};s&&(d.easing=s);const h={},g=i.filter(H=>H instanceof dh);(function ob(r,n){return 0===r||0===n})(t,o)&&g.forEach(H=>{let te=H.currentSnapshot;Object.keys(te).forEach(he=>h[he]=te[he])}),e=function Pn(r,n,e){const t=Object.keys(e);if(t.length&&n.length){let s=n[0],i=[];if(t.forEach(a=>{s.hasOwnProperty(a)||i.push(a),s[a]=e[a]}),i.length)for(var o=1;o$n(H,!1)),h);const S=function GT(r,n){let e=null,t=null;return Array.isArray(n)&&n.length?(e=zl(n[0]),n.length>1&&(t=zl(n[n.length-1]))):n&&(e=zl(n)),e||t?new Bg(r,e,t):null}(n,e);return new dh(n,e,d,S)}}let mb=(()=>{class r extends Od{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:u.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?Xw(e):e;return Ng(this._renderer,null,t,"register",[o]),new Xi(t,this._renderer)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.FYo),u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();class Xi extends class Qw{}{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new _b(this._id,n,e||{},this._renderer)}}class _b{constructor(n,e,t,o){this.id=n,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return Ng(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(n){this._command("setPosition",n)}getPosition(){var n,e;return null!==(e=null===(n=this._renderer.engine.players[+this.id])||void 0===n?void 0:n.getPosition())&&void 0!==e?e:0}}function Ng(r,n,e,t,o){return r.setProperty(n,`@@${e}:${t}`,o)}const yb="@.disabled";let jg=(()=>{class r{constructor(e,t,o){this.delegate=e,this.engine=t,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(s,i)=>{const a=null==i?void 0:i.parentNode(s);a&&i.removeChild(a,s)}}createRenderer(e,t){const s=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let g=this._rendererCache.get(s);return g||(g=new wb("",s,this.engine),this._rendererCache.set(s,g)),g}const i=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const d=g=>{Array.isArray(g)?g.forEach(d):this.engine.registerTrigger(i,a,e,g.name,g)};return t.data.animation.forEach(d),new bb(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,o){e>=0&&et(o)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[i,a]=s;i(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,o]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.FYo),u.LFG(qa),u.LFG(u.R0b))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();class wb{constructor(n,e,t){this.namespaceId=n,this.delegate=e,this.engine=t,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,t,o=!0){this.delegate.insertBefore(n,e,t),this.engine.onInsert(this.namespaceId,e,n,o)}removeChild(n,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,t,o){this.delegate.setAttribute(n,e,t,o)}removeAttribute(n,e,t){this.delegate.removeAttribute(n,e,t)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,t,o){this.delegate.setStyle(n,e,t,o)}removeStyle(n,e,t){this.delegate.removeStyle(n,e,t)}setProperty(n,e,t){"@"==e.charAt(0)&&e==yb?this.disableAnimations(n,!!t):this.delegate.setProperty(n,e,t)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,t){return this.delegate.listen(n,e,t)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class bb extends wb{constructor(n,e,t,o){super(e,t,o),this.factory=n,this.namespaceId=e}setProperty(n,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==yb?this.disableAnimations(n,t=void 0===t||!!t):this.engine.process(this.namespaceId,n,e.substr(1),t):this.delegate.setProperty(n,e,t)}listen(n,e,t){if("@"==e.charAt(0)){const o=function fh(r){switch(r){case"body":return document.body;case"document":return document;case"window":return window;default:return r}}(n);let s=e.substr(1),i="";return"@"!=s.charAt(0)&&([s,i]=function Vg(r){const n=r.indexOf(".");return[r.substring(0,n),r.substr(n+1)]}(s)),this.engine.listen(this.namespaceId,o,s,i,a=>{this.factory.scheduleListenerCallback(a._data||-1,t,a)})}return this.delegate.listen(n,e,t)}}let vb=(()=>{class r extends qa{constructor(e,t,o){super(e.body,t,o)}ngOnDestroy(){this.flush()}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0),u.LFG(ho),u.LFG(eh))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const Ji=new u.OlP("AnimationModuleType"),Kg=[{provide:Od,useClass:mb},{provide:eh,useFactory:function Ab(){return new xg}},{provide:qa,useClass:vb},{provide:u.FYo,useFactory:function Cb(r,n,e){return new jg(r,n,e)},deps:[be,qa,u.R0b]}],ph=[{provide:ho,useFactory:()=>new gb},{provide:Ji,useValue:"BrowserAnimations"},...Kg],Tb=[{provide:ho,useClass:jd},{provide:Ji,useValue:"NoopAnimations"},...Kg];let Eb=(()=>{class r{static withConfig(e){return{ngModule:r,providers:e.disableAnimations?Tb:ph}}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:ph,imports:[xo]}),r})();const Mb=new u.OlP("mat-sanity-checks",{providedIn:"root",factory:function Db(){return!0}});let qe=(()=>{class r{constructor(e,t,o){this._sanityChecks=t,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!pt()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(dg),u.LFG(Mb,8),u.LFG(b.K0))},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Oo],Oo]}),r})();function Mr(r){return class extends r{constructor(...n){super(...n),this._disabled=!1}get disabled(){return this._disabled}set disabled(n){this._disabled=Qe(n)}}}function _o(r,n){return class extends r{constructor(...e){super(...e),this.defaultColor=n,this.color=n}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}}}function xr(r){return class extends r{constructor(...n){super(...n),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=Qe(n)}}}function Ll(r){return class extends r{constructor(...n){super(...n),this.stateChanges=new xe.xQ,this.errorState=!1}updateErrorState(){const n=this.errorState,s=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);s!==n&&(this.errorState=s,this.stateChanges.next())}}}const Rb=new u.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Pb(){return(0,u.f3M)(u.soG)}});class en{constructor(){this._localeChanges=new xe.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(n){return this.isDateInstance(n)&&this.isValid(n)?n:null}deserialize(n){return null==n||this.isDateInstance(n)&&this.isValid(n)?n:this.invalid()}setLocale(n){this.locale=n,this._localeChanges.next()}compareDate(n,e){return this.getYear(n)-this.getYear(e)||this.getMonth(n)-this.getMonth(e)||this.getDate(n)-this.getDate(e)}sameDate(n,e){if(n&&e){let t=this.isValid(n),o=this.isValid(e);return t&&o?!this.compareDate(n,e):t==o}return n==e}clampDate(n,e,t){return e&&this.compareDate(n,e)<0?e:t&&this.compareDate(n,t)>0?t:n}}const gh=new u.OlP("mat-date-formats"),Ib=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Bl(r,n){const e=Array(r);for(let t=0;t{class r extends en{constructor(e,t){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Bl(12,o=>this._format(t,new Date(2017,o,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Bl(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Bl(7,o=>this._format(t,new Date(2017,0,o+1)))}getYearName(e){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,o){let s=this._createDateWithOverflow(e,t,o);return s.getMonth(),s}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const o=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},t),{timeZone:"utc"}));return this._format(o,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let o=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(o)!=((this.getMonth(e)+t)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(Ib.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,o){const s=new Date;return s.setFullYear(e,t,o),s.setHours(0,0,0,0),s}_2digit(e){return("00"+e).slice(-2)}_format(e,t){const o=new Date;return o.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),o.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(o)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Rb,8),u.LFG(Ve))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const Wg={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Yg=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[{provide:en,useClass:mh}],imports:[[Xe]]}),r})(),_h=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[{provide:gh,useValue:Wg}],imports:[[Yg]]}),r})(),Zo=(()=>{class r{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Is=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe],qe]}),r})();class Zg{constructor(n,e,t){this._renderer=n,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const jl={enterDuration:225,exitDuration:150},yh=ti({passive:!0}),Vl=["mousedown","touchstart"],wh=["mouseup","mouseleave","touchend","touchcancel"];class bh{constructor(n,e,t,o){this._target=n,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=jt(t))}fadeInRipple(n,e,t={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},jl),t.animation);t.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);const i=t.radius||function Fb(r,n,e){const t=Math.max(Math.abs(r-e.left),Math.abs(r-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(t*t+o*o)}(n,e,o),a=n-o.left,d=e-o.top,h=s.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=a-i+"px",g.style.top=d-i+"px",g.style.height=2*i+"px",g.style.width=2*i+"px",null!=t.color&&(g.style.backgroundColor=t.color),g.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(g),function Qg(r){window.getComputedStyle(r).getPropertyValue("opacity")}(g),g.style.transform="scale(1)";const S=new Zg(this,g,t);return S.state=0,this._activeRipples.add(S),t.persistent||(this._mostRecentTransientRipple=S),this._runTimeoutOutsideZone(()=>{const H=S===this._mostRecentTransientRipple;S.state=1,!t.persistent&&(!H||!this._isPointerDown)&&S.fadeOut()},h),S}fadeOutRipple(n){const e=this._activeRipples.delete(n);if(n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=n.element,o=Object.assign(Object.assign({},jl),n.config.animation);t.style.transitionDuration=`${o.exitDuration}ms`,t.style.opacity="0",n.state=2,this._runTimeoutOutsideZone(()=>{n.state=3,t.remove()},o.exitDuration)}fadeOutAll(){this._activeRipples.forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=jt(n);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Vl))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(wh),this._pointerUpEventsRegistered=!0)}_onMousedown(n){const e=ml(n),t=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_runTimeoutOutsideZone(n,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(n,e))}_registerEvents(n){this._ngZone.runOutsideAngular(()=>{n.forEach(e=>{this._triggerElement.addEventListener(e,this,yh)})})}_removeTriggerEvents(){this._triggerElement&&(Vl.forEach(n=>{this._triggerElement.removeEventListener(n,this,yh)}),this._pointerUpEventsRegistered&&wh.forEach(n=>{this._triggerElement.removeEventListener(n,this,yh)}))}}const Kl=new u.OlP("mat-ripple-global-options");let Rr=(()=>{class r{constructor(e,t,o,s,i){this._elementRef=e,this._animationMode=i,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new bh(this,t,e,o)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,o){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(Ve),u.Y36(Kl,8),u.Y36(Ji,8))},r.\u0275dir=u.lG2({type:r,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&u.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),r})(),Wn=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe,Xe],qe]}),r})(),Qo=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe]]}),r})(),Gl=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Wn,b.ez,qe,Qo]]}),r})();var vi=v(5254),Xo=v(8896);function Ya(r){return new bi.y(n=>{let e;try{e=r()}catch(o){return void n.error(o)}return(e?(0,vi.D)(e):(0,Xo.c)()).subscribe(n)})}function Nb(r,n){}class Ul{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const em={dialogContainer:Qt("dialogContainer",[dt("void, exit",Fe({opacity:0,transform:"scale(0.7)"})),dt("enter",Fe({transform:"none"})),rt("* => enter",wt("150ms cubic-bezier(0, 0, 0.2, 1)",Fe({transform:"none",opacity:1}))),rt("* => void, * => exit",wt("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Fe({opacity:0})))])};let tm=(()=>{class r extends Un{constructor(e,t,o,s,i,a,d,h){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=o,this._config=i,this._interactivityChecker=a,this._ngZone=d,this._focusMonitor=h,this._animationStateChanged=new u.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=g=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(g)),this._ariaLabelledBy=i.ariaLabelledBy||null,this._document=s}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,t)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{t||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=td(),o=this._elementRef.nativeElement;(!t||t===this._document.body||t===o||o.contains(t))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=td())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=td();return e===t||e.contains(t)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(xd),u.Y36(u.sBO),u.Y36(b.K0,8),u.Y36(Ul),u.Y36(Kt),u.Y36(u.R0b),u.Y36(_n))},r.\u0275dir=u.lG2({type:r,viewQuery:function(e,t){if(1&e&&u.Gf(Mp,7),2&e){let o;u.iGM(o=u.CRH())&&(t._portalOutlet=o.first)}},features:[u.qOj]}),r})(),jb=(()=>{class r extends tm{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275cmp=u.Xpm({type:r,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&u.WFA("@dialogContainer.start",function(s){return t._onAnimationStart(s)})("@dialogContainer.done",function(s){return t._onAnimationDone(s)}),2&e&&(u.Ikx("id",t._id),u.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),u.d8E("@dialogContainer",t._state))},features:[u.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&u.YNc(0,Nb,0,0,"ng-template",0)},directives:[Mp],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[em.dialogContainer]}}),r})(),Vb=0;class ql{constructor(n,e,t="mat-dialog-"+Vb++){this._overlayRef=n,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new xe.xQ,this._afterClosed=new xe.xQ,this._beforeClosed=new xe.xQ,this._state=0,e._id=t,e._animationStateChanged.pipe((0,ke.h)(o=>"opened"===o.state),(0,Vt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,ke.h)(o=>"closed"===o.state),(0,Vt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),n.keydownEvents().pipe((0,ke.h)(o=>27===o.keyCode&&!this.disableClose&&!Go(o))).subscribe(o=>{o.preventDefault(),Kb(this,"keyboard")}),n.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Kb(this,"mouse")})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe((0,ke.h)(e=>"closing"===e.state),(0,Vt.q)(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(n){let e=this._getPositionStrategy();return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(n="",e=""){return this._overlayRef.updateSize({width:n,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(n){return this._overlayRef.addPanelClass(n),this}removePanelClass(n){return this._overlayRef.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Kb(r,n,e){return void 0!==r._containerInstance&&(r._containerInstance._closeInteractionType=n),r.close(e)}const vh=new u.OlP("MatDialogData"),Gb=new u.OlP("mat-dialog-default-options"),Ah=new u.OlP("mat-dialog-scroll-strategy"),Hn={provide:Ah,deps:[Mn],useFactory:function iE(r){return()=>r.scrollStrategies.block()}};let nE=(()=>{class r{constructor(e,t,o,s,i,a,d,h,g,S){this._overlay=e,this._injector=t,this._defaultOptions=o,this._parentDialog=s,this._overlayContainer=i,this._dialogRefConstructor=d,this._dialogContainerType=h,this._dialogDataToken=g,this._animationMode=S,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new xe.xQ,this._afterOpenedAtThisLevel=new xe.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=Ya(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(yn(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){if(t=function im(r,n){return Object.assign(Object.assign({},n),r)}(t,this._defaultOptions||new Ul),t.id&&this.getDialogById(t.id),this._dialogAnimatingOpen)return this._lastDialogRef;const o=this._createOverlay(t),s=this._attachDialogContainer(o,t);if("NoopAnimations"!==this._animationMode){const a=s._animationStateChanged.subscribe(d=>{"opening"===d.state&&(this._dialogAnimatingOpen=!0),"opened"===d.state&&(this._dialogAnimatingOpen=!1,a.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new Nt.w),this._animationStateSubscriptions.add(a)}const i=this._attachDialogContent(e,s,o,t);return this._lastDialogRef=i,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(i),i.afterClosed().subscribe(()=>this._removeOpenDialog(i)),this.afterOpened.next(i),s._initializeWithAttachedContent(),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new Qc({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const s=u.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Ul,useValue:t}]}),i=new Wc(this._dialogContainerType,t.viewContainerRef,s,t.componentFactoryResolver);return e.attach(i).instance}_attachDialogContent(e,t,o,s){const i=new this._dialogRefConstructor(o,t,s.id);if(e instanceof u.Rgc)t.attachTemplatePortal(new rd(e,null,{$implicit:s.data,dialogRef:i}));else{const a=this._createInjector(s,i,t),d=t.attachComponentPortal(new Wc(e,s.viewContainerRef,a));i.componentInstance=d.instance}return i.updateSize(s.width,s.height).updatePosition(s.position),i}_createInjector(e,t,o){const s=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=[{provide:this._dialogContainerType,useValue:o},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!s||!s.get(ci,null,u.XFs.Optional))&&i.push({provide:ci,useValue:{value:e.direction,change:(0,Ie.of)()}}),u.zs3.create({parent:s||this._injector,providers:i})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let o=t.length-1;o>-1;o--){let s=t[o];s!==e&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return r.\u0275fac=function(e){u.$Z()},r.\u0275dir=u.lG2({type:r}),r})(),Os=(()=>{class r extends nE{constructor(e,t,o,s,i,a,d,h){super(e,t,s,a,d,i,ql,jb,vh,h)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Mn),u.LFG(u.zs3),u.LFG(b.Ye,8),u.LFG(Gb,8),u.LFG(Ah),u.LFG(r,12),u.LFG(Bo),u.LFG(Ji,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),nm=0,om=(()=>{class r{constructor(e,t,o){this._dialogRef=e,this._elementRef=t,this._dialog=o,this.id="mat-dialog-title-"+nm++}ngOnInit(){this._dialogRef||(this._dialogRef=function Th(r,n){let e=r.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?n.find(t=>t.id===e.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ql,8),u.Y36(u.SBq),u.Y36(Os))},r.\u0275dir=u.lG2({type:r,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&u.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),r})(),rm=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),r})(),Ch=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),r})(),$l=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[Os,Hn],imports:[[ao,zo,qe],qe]}),r})();function wn(r){return!!r&&(r instanceof bi.y||"function"==typeof r.lift&&"function"==typeof r.subscribe)}var $b=v(7830);function Eh(...r){if(1===r.length){const n=r[0];if((0,_r.k)(n))return Wl(n,null);if((0,$b.K)(n)&&Object.getPrototypeOf(n)===Object.prototype){const e=Object.keys(n);return Wl(e.map(t=>n[t]),e)}}if("function"==typeof r[r.length-1]){const n=r.pop();return Wl(r=1===r.length&&(0,_r.k)(r[0])?r[0]:r,null).pipe((0,lt.U)(e=>n(...e)))}return Wl(r,null)}function Wl(r,n){return new bi.y(e=>{const t=r.length;if(0===t)return void e.complete();const o=new Array(t);let s=0,i=0;for(let a=0;a{h||(h=!0,i++),o[a]=g},error:g=>e.error(g),complete:()=>{s++,(s===t||!h)&&(i===t&&e.next(n?n.reduce((g,S,H)=>(g[S]=o[H],g),{}):o),e.complete())}}))}})}const Zb=new class Yb extends ds.v{}(class Wb extends fa.o{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}schedule(n,e=0){return e>0?super.schedule(n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)}execute(n,e){return e>0||this.closed?super.execute(n,e):this._execute(n,e)}requestAsyncId(n,e,t=0){return null!==t&&t>0||null===t&&this.delay>0?super.requestAsyncId(n,e,t):n.flush(this)}});var Hs=v(9312);class Jo extends ws.L{constructor(n,e,t=0){super(n),this.scheduler=e,this.delay=t}static dispatch(n){const{notification:e,destination:t}=n;e.observe(t),this.unsubscribe()}scheduleMessage(n){this.destination.add(this.scheduler.schedule(Jo.dispatch,this.delay,new Xb(n,this.destination)))}_next(n){this.scheduleMessage(Hs.P.createNext(n))}_error(n){this.scheduleMessage(Hs.P.createError(n)),this.unsubscribe()}_complete(){this.scheduleMessage(Hs.P.createComplete()),this.unsubscribe()}}class Xb{constructor(n,e){this.notification=n,this.destination=e}}var Jb=v(5283);class Sh extends xe.xQ{constructor(n=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,t){super(),this.scheduler=t,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(n){const e=this._events;e.push(n),e.length>this._bufferSize&&e.shift(),super.next(n)}nextTimeWindow(n){this._events.push(new Yn(this._getNow(),n)),this._trimBufferThenGetEvents(),super.next(n)}_subscribe(n){const e=this._infiniteTimeWindow,t=e?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,s=t.length;let i;if(this.closed)throw new fd.N;if(this.isStopped||this.hasError?i=Nt.w.EMPTY:(this.observers.push(n),i=new Jb.W(this,n)),o&&n.add(n=new Jo(n,o)),e)for(let a=0;ae&&(i=Math.max(i,s-e)),i>0&&o.splice(0,i),o}}class Yn{constructor(n,e){this.time=n,this.value=e}}function Fs(r,n,e){let t;return t=r&&"object"==typeof r?r:{bufferSize:r,windowTime:n,refCount:!1,scheduler:e},o=>o.lift(function Ai({bufferSize:r=Number.POSITIVE_INFINITY,windowTime:n=Number.POSITIVE_INFINITY,refCount:e,scheduler:t}){let o,i,s=0,a=!1,d=!1;return function(g){s++,(!o||a)&&(a=!1,o=new Sh(r,n,t),i=g.subscribe({next(H){o.next(H)},error(H){a=!0,o.error(H)},complete(){d=!0,i=void 0,o.complete()}}));const S=o.subscribe(this);this.add(()=>{s--,S.unsubscribe(),i&&!d&&e&&0===s&&(i.unsubscribe(),i=void 0,o=void 0)})}}(t))}var bn=v(1406),Ri=v(7545);class Ci{}let Yl=(()=>{class r extends Ci{getTranslation(e){return(0,Ie.of)({})}}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();class er{}let Pr=(()=>{class r{handle(e){return e.key}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();function yo(r,n){if(r===n)return!0;if(null===r||null===n)return!1;if(r!=r&&n!=n)return!0;let o,s,i,e=typeof r;if(e==typeof n&&"object"==e){if(!Array.isArray(r)){if(Array.isArray(n))return!1;for(s in i=Object.create(null),r){if(!yo(r[s],n[s]))return!1;i[s]=!0}for(s in n)if(!(s in i)&&void 0!==n[s])return!1;return!0}if(!Array.isArray(n))return!1;if((o=r.length)==n.length){for(s=0;s{tr(n[t])?t in r?e[t]=Ir(r[t],n[t]):Object.assign(e,{[t]:n[t]}):Object.assign(e,{[t]:n[t]})}),e}class wo{}let Or=(()=>{class r extends wo{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let o;return o="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,o}getValue(e,t){let o="string"==typeof t?t.split("."):[t];t="";do{t+=o.shift(),!tn(e)||!tn(e[t])||"object"!=typeof e[t]&&o.length?o.length?t+=".":e=void 0:(e=e[t],t="")}while(o.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(o,s)=>{let i=this.getValue(t,s);return tn(i)?i:o}):e}}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();class bo{}let kh=(()=>{class r extends bo{compile(e,t){return e}compileTranslations(e,t){return e}}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();class Dh{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new u.vpe,this.onLangChange=new u.vpe,this.onDefaultLangChange=new u.vpe}}const Zl=new u.OlP("USE_STORE"),Ql=new u.OlP("USE_DEFAULT_LANG"),Xl=new u.OlP("DEFAULT_LANGUAGE"),Jl=new u.OlP("USE_EXTEND");let nn=(()=>{class r{constructor(e,t,o,s,i,a=!0,d=!1,h=!1,g){this.store=e,this.currentLoader=t,this.compiler=o,this.parser=s,this.missingTranslationHandler=i,this.useDefaultLang=a,this.isolate=d,this.extend=h,this.pending=!1,this._onTranslationChange=new u.vpe,this._onLangChange=new u.vpe,this._onDefaultLangChange=new u.vpe,this._langs=[],this._translations={},this._translationRequests={},g&&this.setDefaultLang(g)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe((0,Vt.q)(1)).subscribe(o=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ie.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,Vt.q)(1)).subscribe(o=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Ie.of)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(Fs(1),(0,Vt.q)(1));return this.loadingTranslations=t.pipe((0,lt.U)(o=>this.compiler.compileTranslations(o,e)),Fs(1),(0,Vt.q)(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},o),this.translations[e]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),t}setTranslation(e,t,o=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(o||this.extend)&&this.translations[e]?Ir(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,o){let s;if(t instanceof Array){let i={},a=!1;for(let d of t)i[d]=this.getParsedResult(e,d,o),wn(i[d])&&(a=!0);return a?Eh(t.map(h=>wn(i[h])?i[h]:(0,Ie.of)(i[h]))).pipe((0,lt.U)(h=>{let g={};return h.forEach((S,H)=>{g[t[H]]=S}),g})):i}if(e&&(s=this.parser.interpolate(this.parser.getValue(e,t),o)),void 0===s&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),o)),void 0===s){let i={key:t,translateService:this};void 0!==o&&(i.interpolateParams=o),s=this.missingTranslationHandler.handle(i)}return void 0!==s?s:t}get(e,t){if(!tn(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,bn.b)(o=>wn(o=this.getParsedResult(o,e,t))?o:(0,Ie.of)(o)));{let o=this.getParsedResult(this.translations[this.currentLang],e,t);return wn(o)?o:(0,Ie.of)(o)}}getStreamOnTranslationChange(e,t){if(!tn(e)||!e.length)throw new Error('Parameter "key" required');return vs(Ya(()=>this.get(e,t)),this.onTranslationChange.pipe((0,Ri.w)(o=>{const s=this.getParsedResult(o.translations,e,t);return"function"==typeof s.subscribe?s:(0,Ie.of)(s)})))}stream(e,t){if(!tn(e)||!e.length)throw new Error('Parameter "key" required');return vs(Ya(()=>this.get(e,t)),this.onLangChange.pipe((0,Ri.w)(o=>{const s=this.getParsedResult(o.translations,e,t);return wn(s)?s:(0,Ie.of)(s)})))}instant(e,t){if(!tn(e)||!e.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],e,t);if(wn(o)){if(e instanceof Array){let s={};return e.forEach((i,a)=>{s[e[a]]=e[a]}),s}return e}return o}set(e,t,o=this.currentLang){this.translations[o][e]=this.compiler.compile(t,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Dh),u.LFG(Ci),u.LFG(bo),u.LFG(wo),u.LFG(er),u.LFG(Ql),u.LFG(Zl),u.LFG(Jl),u.LFG(Xl))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),ir=(()=>{class r{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,o){let s=i=>{this.value=void 0!==i?i:e,this.lastKey=e,this._ref.markForCheck()};if(o){let i=this.translate.getParsedResult(o,e,t);wn(i.subscribe)?i.subscribe(s):s(i)}this.translate.get(e,t).subscribe(s)}transform(e,...t){if(!e||!e.length)return e;if(yo(e,this.lastKey)&&yo(t,this.lastParams))return this.value;let o;if(tn(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let s=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(s)}catch(i){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"==typeof t[0]&&!Array.isArray(t[0])&&(o=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(s=>{this.lastKey&&s.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,s.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(s=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,s.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(nn,16),u.Y36(u.sBO,16))},r.\u0275pipe=u.Yjl({name:"translate",type:r,pure:!1}),r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),Qa=(()=>{class r{static forRoot(e={}){return{ngModule:r,providers:[e.loader||{provide:Ci,useClass:Yl},e.compiler||{provide:bo,useClass:kh},e.parser||{provide:wo,useClass:Or},e.missingTranslationHandler||{provide:er,useClass:Pr},Dh,{provide:Zl,useValue:e.isolate},{provide:Ql,useValue:e.useDefaultLang},{provide:Jl,useValue:e.extend},{provide:Xl,useValue:e.defaultLanguage},nn]}}static forChild(e={}){return{ngModule:r,providers:[e.loader||{provide:Ci,useClass:Yl},e.compiler||{provide:bo,useClass:kh},e.parser||{provide:wo,useClass:Or},e.missingTranslationHandler||{provide:er,useClass:Pr},{provide:Zl,useValue:e.isolate},{provide:Ql,useValue:e.useDefaultLang},{provide:Jl,useValue:e.extend},{provide:Xl,useValue:e.defaultLanguage},nn]}}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})(),sm=(()=>{class r{constructor(e){this.dialogRef=e}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ql))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(e,t){1&e&&(u.TgZ(0,"h2",0),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[rm],pipes:[ir],styles:[""]}),r})();const tv=["mat-button",""],am=["*"],ov=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],cm=_o(Mr(xr(class{constructor(r){this._elementRef=r}})));let eu=(()=>{class r extends cm{constructor(e,t,o){super(e),this._focusMonitor=t,this._animationMode=o,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const s of ov)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(t=>this._getHostElement().hasAttribute(t))}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(_n),u.Y36(Ji,8))},r.\u0275cmp=u.Xpm({type:r,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&u.Gf(Rr,5),2&e){let o;u.iGM(o=u.CRH())&&(t.ripple=o.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(u.uIk("disabled",t.disabled||null),u.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[u.qOj],attrs:tv,ngContentSelectors:am,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(u.F$t(),u.TgZ(0,"span",0),u.Hsn(1),u.qZA(),u._UZ(2,"span",1),u._UZ(3,"span",2)),2&e&&(u.xp6(2),u.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),u.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Rr],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),r})(),vo=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Wn,qe],qe]}),r})();const sv=["connectionContainer"],oE=["inputContainer"],av=["label"];function Mh(r,n){1&r&&(u.ynx(0),u.TgZ(1,"div",14),u._UZ(2,"div",15),u._UZ(3,"div",16),u._UZ(4,"div",17),u.qZA(),u.TgZ(5,"div",18),u._UZ(6,"div",15),u._UZ(7,"div",16),u._UZ(8,"div",17),u.qZA(),u.BQk())}function xh(r,n){if(1&r){const e=u.EpF();u.TgZ(0,"div",19),u.NdJ("cdkObserveContent",function(){return u.CHM(e),u.oxw().updateOutlineGap()}),u.Hsn(1,1),u.qZA()}if(2&r){const e=u.oxw();u.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function cv(r,n){if(1&r&&(u.ynx(0),u.Hsn(1,2),u.TgZ(2,"span"),u._uU(3),u.qZA(),u.BQk()),2&r){const e=u.oxw(2);u.xp6(3),u.Oqu(e._control.placeholder)}}function rE(r,n){1&r&&u.Hsn(0,3,["*ngSwitchCase","true"])}function sE(r,n){1&r&&(u.TgZ(0,"span",23),u._uU(1," *"),u.qZA())}function aE(r,n){if(1&r){const e=u.EpF();u.TgZ(0,"label",20,21),u.NdJ("cdkObserveContent",function(){return u.CHM(e),u.oxw().updateOutlineGap()}),u.YNc(2,cv,4,1,"ng-container",12),u.YNc(3,rE,1,0,"ng-content",12),u.YNc(4,sE,2,0,"span",22),u.qZA()}if(2&r){const e=u.oxw();u.ekj("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),u.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),u.uIk("for",e._control.id)("aria-owns",e._control.id),u.xp6(2),u.Q6J("ngSwitchCase",!1),u.xp6(1),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function lv(r,n){1&r&&(u.TgZ(0,"div",24),u.Hsn(1,4),u.qZA())}function lm(r,n){if(1&r&&(u.TgZ(0,"div",25),u._UZ(1,"span",26),u.qZA()),2&r){const e=u.oxw();u.xp6(1),u.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function cE(r,n){if(1&r&&(u.TgZ(0,"div"),u.Hsn(1,5),u.qZA()),2&r){const e=u.oxw();u.Q6J("@transitionMessages",e._subscriptAnimationState)}}function uv(r,n){if(1&r&&(u.TgZ(0,"div",30),u._uU(1),u.qZA()),2&r){const e=u.oxw(2);u.Q6J("id",e._hintLabelId),u.xp6(1),u.Oqu(e.hintLabel)}}function zs(r,n){if(1&r&&(u.TgZ(0,"div",27),u.YNc(1,uv,2,2,"div",28),u.Hsn(2,6),u._UZ(3,"div",29),u.Hsn(4,7),u.qZA()),2&r){const e=u.oxw();u.Q6J("@transitionMessages",e._subscriptAnimationState),u.xp6(1),u.Q6J("ngIf",e.hintLabel)}}const dv=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],um=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let hv=0;const Rh=new u.OlP("MatError");let Xa=(()=>{class r{constructor(e,t){this.id="mat-error-"+hv++,e||t.nativeElement.setAttribute("aria-live","polite")}}return r.\u0275fac=function(e){return new(e||r)(u.$8M("aria-live"),u.Y36(u.SBq))},r.\u0275dir=u.lG2({type:r,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&u.uIk("id",t.id)},inputs:{id:"id"},features:[u._Bn([{provide:Rh,useExisting:r}])]}),r})();const fv={transitionMessages:Qt("transitionMessages",[dt("enter",Fe({opacity:1,transform:"translateY(0%)"})),rt("void => enter",[Fe({opacity:0,transform:"translateY(-5px)"}),wt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ja=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r}),r})(),pv=0;const dm=new u.OlP("MatHint");let hm=(()=>{class r{constructor(){this.align="start",this.id="mat-hint-"+pv++}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(u.uIk("id",t.id)("align",null),u.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[u._Bn([{provide:dm,useExisting:r}])]}),r})(),tu=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,selectors:[["mat-label"]]}),r})(),fm=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,selectors:[["mat-placeholder"]]}),r})();const pm=new u.OlP("MatPrefix"),gv=new u.OlP("MatSuffix");let Ph=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,selectors:[["","matSuffix",""]],features:[u._Bn([{provide:gv,useExisting:r}])]}),r})(),mm=0;const _m=_o(class{constructor(r){this._elementRef=r}},"primary"),Ih=new u.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),ec=new u.OlP("MatFormField");let ym=(()=>{class r extends _m{constructor(e,t,o,s,i,a,d){super(e),this._changeDetectorRef=t,this._dir=o,this._defaults=s,this._platform=i,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new xe.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+mm++,this._labelId="mat-form-field-label-"+mm++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==d,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Qe(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(yn(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(yt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(yt(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,gn.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(yn(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(yn(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(yt(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Kc(this._label.nativeElement,"transitionend").pipe((0,Vt.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(s=>"start"===s.align):null,o=this._hintChildren?this._hintChildren.find(s=>"end"===s.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,t=this._connectionContainerRef.nativeElement,o=".mat-form-field-outline-start",s=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const g=t.querySelectorAll(`${o}, ${s}`);for(let S=0;S0?.75*he+10:0}for(let g=0;g{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[b.ez,qe,Jp],qe]}),r})();const km={provide:new u.OlP("mat-select-scroll-strategy"),deps:[Mn],useFactory:function Fh(r){return()=>r.scrollStrategies.reposition()}};let tc=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[km],imports:[[b.ez,ao,Gl,qe],Dn,Ao,Gl,qe]}),r})();var Rv=v(6053);const Dm=new Set;let Hr,Pv=(()=>{class r{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Mm}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function oi(r){if(!Dm.has(r))try{Hr||(Hr=document.createElement("style"),Hr.setAttribute("type","text/css"),document.head.appendChild(Hr)),Hr.sheet&&(Hr.sheet.insertRule(`@media ${r} {body{ }}`,0),Dm.add(r))}catch(n){console.error(n)}}(e),this._matchMedia(e)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ve))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();function Mm(r){return{matches:"all"===r||""===r,media:r,addListener:()=>{},removeListener:()=>{}}}let Iv=(()=>{class r{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new xe.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return xm(da(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){const o=xm(da(e)).map(i=>this._registerQuery(i).observable);let s=(0,Rv.aj)(o);return s=vs(s.pipe((0,Vt.q)(1)),s.pipe(bs(1),(0,Yp.b)(0))),s.pipe((0,lt.U)(i=>{const a={matches:!1,breakpoints:{}};return i.forEach(({matches:d,query:h})=>{a.matches=a.matches||d,a.breakpoints[h]=d}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),s={observable:new bi.y(i=>{const a=d=>this._zone.run(()=>i.next(d));return t.addListener(a),()=>{t.removeListener(a)}}).pipe(yn(t),(0,lt.U)(({matches:i})=>({query:e,matches:i})),yt(this._destroySubject)),mql:t};return this._queries.set(e,s),s}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Pv),u.LFG(u.R0b))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();function xm(r){return r.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}const Ov={tooltipState:Qt("state",[dt("initial, void, hidden",Fe({opacity:0,transform:"scale(0)"})),dt("visible",Fe({transform:"scale(1)"})),rt("* => visible",wt("200ms cubic-bezier(0, 0, 0.2, 1)",As([Fe({opacity:0,transform:"scale(0)",offset:0}),Fe({opacity:.5,transform:"scale(0.99)",offset:.5}),Fe({opacity:1,transform:"scale(1)",offset:1})]))),rt("* => hidden",wt("100ms cubic-bezier(0, 0, 0.2, 1)",Fe({opacity:0})))])},Fr="tooltip-panel",Im=ti({passive:!0}),Om=new u.OlP("mat-tooltip-scroll-strategy"),mE={provide:Om,deps:[Mn],useFactory:function Hm(r){return()=>r.scrollStrategies.reposition({scrollThrottle:20})}},zh=new u.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Lh(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Zn=(()=>{class r{constructor(e,t,o,s,i,a,d,h,g,S,H,te){this._overlay=e,this._elementRef=t,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=i,this._platform=a,this._ariaDescriber=d,this._focusMonitor=h,this._dir=S,this._defaultOptions=H,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 xe.xQ,this._scrollStrategy=g,this._document=te,H&&(H.position&&(this.position=H.position),H.touchGestures&&(this.touchGestures=H.touchGestures)),S.change.pipe(yt(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=Qe(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=pn(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=pn(e)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).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(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(yt(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,o])=>{e.removeEventListener(t,o,Im)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new Wc(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(yt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return t.positionChanges.pipe(yt(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:`${this._cssClassPrefix}-${Fr}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(yt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(yt(this._destroyed)).subscribe(()=>{var o;return null===(o=this._tooltipInstance)||void 0===o?void 0:o._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(yt(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!Go(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},o.main),s.main)),this._addOffset(Object.assign(Object.assign({},o.fallback),s.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let o;"above"==t||"below"==t?o={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?o={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(o={originX:"end",originY:"center"});const{x:s,y:i}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:i}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let o;"above"==t?o={overlayX:"center",overlayY:"bottom"}:"below"==t?o={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?o={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(o={overlayX:"start",overlayY:"center"});const{x:s,y:i}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:i}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Vt.q)(1),yt(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){const{overlayY:t,originX:o,originY:s}=e;let i;if(i="center"===t?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===t&&"top"===s?"above":"below",i!==this._currentPosition){const a=this._overlayRef;if(a){const d=`${this._cssClassPrefix}-${Fr}-`;a.removePanelClass(d+this._currentPosition),a.addPanelClass(d+i)}this._currentPosition=i}}_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 e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,o])=>{this._elementRef.nativeElement.addEventListener(t,o,Im)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;t!==o&&!o.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,o=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===e||!t.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}}return r.\u0275fac=function(e){u.$Z()},r.\u0275dir=u.lG2({type:r,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),r})(),Lv=(()=>{class r extends Zn{constructor(e,t,o,s,i,a,d,h,g,S,H,te){super(e,t,o,s,i,a,d,h,g,S,H,te),this._tooltipComponent=Qn}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(Mn),u.Y36(u.SBq),u.Y36(vr),u.Y36(u.s_b),u.Y36(u.R0b),u.Y36(Ve),u.Y36(Bw),u.Y36(_n),u.Y36(Om),u.Y36(ci,8),u.Y36(zh,8),u.Y36(b.K0))},r.\u0275dir=u.lG2({type:r,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[u.qOj]}),r})(),Bv=(()=>{class r{constructor(e){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new xe.xQ}show(e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"===t&&!this.isVisible()&&this._onHide.next(),("visible"===t||"hidden"===t)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.sBO))},r.\u0275dir=u.lG2({type:r}),r})(),Qn=(()=>{class r extends Bv{constructor(e,t){super(e),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.sBO),u.Y36(Iv))},r.\u0275cmp=u.Xpm({type:r,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){2&e&&u.Udp("zoom","visible"===t._visibility?1:null)},features:[u.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(u.TgZ(0,"div",0),u.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(s){return t._animationDone(s)}),u.ALo(1,"async"),u._uU(2),u.qZA()),2&e){let o;u.ekj("mat-tooltip-handset",null==(o=u.lcZ(1,5,t._isHandset))?null:o.matches),u.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),u.xp6(2),u.Oqu(t.message)}},directives:[b.mk],pipes:[b.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[Ov.tooltipState]},changeDetection:0}),r})(),Ti=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[mE],imports:[[Id,b.ez,ao,qe],qe,Dn]}),r})(),Bh=(()=>{class r{constructor(){this.changes=new xe.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,o)=>{if(0==o||0==t)return`0 of ${o}`;const s=e*t;return`${s+1} \u2013 ${s<(o=Math.max(o,0))?Math.min(s+t,o):s+t} of ${o}`}}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const ic={provide:Bh,deps:[[new u.FiY,new u.tp0,Bh]],useFactory:function Nh(r){return r||new Bh}};let iu=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[ic],imports:[[b.ez,vo,tc,Ti,qe]]}),r})();var Vh=v(943);const Lm=["mat-menu-item",""];function Kh(r,n){1&r&&(u.O4$(),u.TgZ(0,"svg",2),u._UZ(1,"polygon",3),u.qZA())}const nc=["*"];function Gh(r,n){if(1&r){const e=u.EpF();u.TgZ(0,"div",0),u.NdJ("keydown",function(o){return u.CHM(e),u.oxw()._handleKeydown(o)})("click",function(){return u.CHM(e),u.oxw().closed.emit("click")})("@transformMenu.start",function(o){return u.CHM(e),u.oxw()._onAnimationStart(o)})("@transformMenu.done",function(o){return u.CHM(e),u.oxw()._onAnimationDone(o)}),u.TgZ(1,"div",1),u.Hsn(2),u.qZA(),u.qZA()}if(2&r){const e=u.oxw();u.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),u.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const oc={transformMenu:Qt("transformMenu",[dt("void",Fe({opacity:0,transform:"scale(0.8)"})),rt("void => enter",wt("120ms cubic-bezier(0, 0, 0.2, 1)",Fe({opacity:1,transform:"scale(1)"}))),rt("* => void",wt("100ms 25ms linear",Fe({opacity:0})))]),fadeInItems:Qt("fadeInItems",[dt("showing",Fe({opacity:1})),rt("void => *",[Fe({opacity:0}),wt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Bm=new u.OlP("MatMenuContent"),Uh=new u.OlP("MAT_MENU_PANEL"),Wv=xr(Mr(class{}));let nu=(()=>{class r extends Wv{constructor(e,t,o,s,i){var a;super(),this._elementRef=e,this._focusMonitor=o,this._parentMenu=s,this._changeDetectorRef=i,this.role="menuitem",this._hovered=new xe.xQ,this._focused=new xe.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(a=null==s?void 0:s.addItem)||void 0===a||a.call(s,this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const t=this._elementRef.nativeElement.cloneNode(!0),o=t.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class r{constructor(e,t,o){this._elementRef=e,this._ngZone=t,this._defaultOptions=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new u.n_E,this._tabSubscription=Nt.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new xe.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new u.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Zv++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=Qe(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Qe(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Ra(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(yn(this._directDescendantItems),(0,Ri.w)(e=>(0,gn.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(yn(this._directDescendantItems),(0,Ri.w)(t=>(0,gn.T)(...t.map(o=>o._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,o=this._keyManager;switch(t){case 27:Go(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===t||40===t)&&o.setFocusOrigin("keyboard"),void o.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe((0,Vt.q)(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let o=this._directDescendantItems.first._getHostElement().parentElement;for(;o;){if("menu"===o.getAttribute("role")){o.focus();break}o=o.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),o=`${this._elevationPrefix}${t}`,s=Object.keys(this._classList).find(i=>i.startsWith(this._elevationPrefix));(!s||s===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(e=this.xPosition,t=this.yPosition){const o=this._classList;o["mat-menu-before"]="before"===e,o["mat-menu-after"]="after"===e,o["mat-menu-above"]="above"===t,o["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(yn(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(Nm))},r.\u0275dir=u.lG2({type:r,contentQueries:function(e,t,o){if(1&e&&(u.Suo(o,Bm,5),u.Suo(o,nu,5),u.Suo(o,nu,4)),2&e){let s;u.iGM(s=u.CRH())&&(t.lazyContent=s.first),u.iGM(s=u.CRH())&&(t._allItems=s),u.iGM(s=u.CRH())&&(t.items=s)}},viewQuery:function(e,t){if(1&e&&u.Gf(u.Rgc,5),2&e){let o;u.iGM(o=u.CRH())&&(t.templateRef=o.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),r})(),Qv=(()=>{class r extends rc{constructor(e,t,o){super(e,t,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(Nm))},r.\u0275cmp=u.Xpm({type:r,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&u.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[u._Bn([{provide:Uh,useExisting:r}]),u.qOj],ngContentSelectors:nc,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(u.F$t(),u.YNc(0,Gh,3,6,"ng-template"))},directives:[b.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[oc.transformMenu,oc.fadeInItems]},changeDetection:0}),r})();const jm=new u.OlP("mat-menu-scroll-strategy"),Jv={provide:jm,deps:[Mn],useFactory:function Xv(r){return()=>r.scrollStrategies.reposition()}},Km=ti({passive:!0});let eA=(()=>{class r{constructor(e,t,o,s,i,a,d,h){this._overlay=e,this._element=t,this._viewContainerRef=o,this._menuItemInstance=a,this._dir=d,this._focusMonitor=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Nt.w.EMPTY,this._hoverSubscription=Nt.w.EMPTY,this._menuCloseSubscription=Nt.w.EMPTY,this._handleTouchStart=g=>{Ia(g)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new u.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new u.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=i instanceof rc?i:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,Km),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),("click"===t||"tab"===t)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Km),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig(),o=t.positionStrategy;this._setPosition(o),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof rc&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(yt(this.menu.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof rc?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,ke.h)(o=>"void"===o.toState),(0,Vt.q)(1),yt(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Qc({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,o]="before"===this.menu.xPosition?["end","start"]:["start","end"],[s,i]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[a,d]=[s,i],[h,g]=[t,o],S=0;this.triggersSubmenu()?(g=t="before"===this.menu.xPosition?"start":"end",o=h="end"===t?"start":"end",S="bottom"===s?8:-8):this.menu.overlapTrigger||(a="top"===s?"bottom":"top",d="top"===i?"bottom":"top"),e.withPositions([{originX:t,originY:a,overlayX:h,overlayY:s,offsetY:S},{originX:o,originY:a,overlayX:g,overlayY:s,offsetY:S},{originX:t,originY:d,overlayX:h,overlayY:i,offsetY:-S},{originX:o,originY:d,overlayX:g,overlayY:i,offsetY:-S}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ie.of)(),s=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,ke.h)(i=>i!==this._menuItemInstance),(0,ke.h)(()=>this._menuOpen)):(0,Ie.of)();return(0,gn.T)(e,o,s,t)}_handleMousedown(e){ml(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;(13===t||32===t)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,ke.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,Vh.g)(0,wr)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof rc&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Vt.q)(1),(0,Vh.g)(0,wr),yt(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new rd(this.menu.templateRef,this._viewContainerRef)),this._portal}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(Mn),u.Y36(u.SBq),u.Y36(u.s_b),u.Y36(jm),u.Y36(Uh,8),u.Y36(nu,10),u.Y36(ci,8),u.Y36(_n))},r.\u0275dir=u.lG2({type:r,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&u.NdJ("click",function(s){return t._handleClick(s)})("mousedown",function(s){return t._handleMousedown(s)})("keydown",function(s){return t._handleKeydown(s)}),2&e&&u.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),r})(),tA=(()=>{class r extends eA{}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275dir=u.lG2({type:r,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[u.qOj]}),r})(),sc=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[Jv],imports:[[b.ez,qe,Wn,ao],Dn,qe]}),r})();var ac=v(1737),Li=v(7221);function qh(r){return n=>n.lift(new Gm(r))}class Gm{constructor(n){this.callback=n}call(n,e){return e.subscribe(new Um(n,this.callback))}}class Um extends ws.L{constructor(n,e){super(n),this.add(new Nt.w(e))}}var qm=v(2474);const $m=["*"];let cc;function zr(r){var n;return(null===(n=function $h(){if(void 0===cc&&(cc=null,"undefined"!=typeof window)){const r=window;void 0!==r.trustedTypes&&(cc=r.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return cc}())||void 0===n?void 0:n.createHTML(r))||r}function nr(r){return Error(`Unable to find icon with the name "${r}"`)}function Wm(r){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${r}".`)}function Lr(r){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${r}".`)}class Bs{constructor(n,e,t){this.url=n,this.svgText=e,this.options=t}}let Br=(()=>{class r{constructor(e,t,o,s){this._httpClient=e,this._sanitizer=t,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=o}addSvgIcon(e,t,o){return this.addSvgIconInNamespace("",e,t,o)}addSvgIconLiteral(e,t,o){return this.addSvgIconLiteralInNamespace("",e,t,o)}addSvgIconInNamespace(e,t,o,s){return this._addSvgIconConfig(e,t,new Bs(o,null,s))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,o,s){const i=this._sanitizer.sanitize(u.q3G.HTML,o);if(!i)throw Lr(o);const a=zr(i);return this._addSvgIconConfig(e,t,new Bs("",a,s))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,o){return this._addSvgIconSetConfig(e,new Bs(t,null,o))}addSvgIconSetLiteralInNamespace(e,t,o){const s=this._sanitizer.sanitize(u.q3G.HTML,t);if(!s)throw Lr(t);const i=zr(s);return this._addSvgIconSetConfig(e,new Bs("",i,o))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(u.q3G.RESOURCE_URL,e);if(!t)throw Wm(e);const o=this._cachedIconsByUrl.get(t);return o?(0,Ie.of)(lc(o)):this._loadSvgIconFromConfig(new Bs(e,null)).pipe((0,ui.b)(s=>this._cachedIconsByUrl.set(t,s)),(0,lt.U)(s=>lc(s)))}getNamedSvgIcon(e,t=""){const o=oA(t,e);let s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(t,e),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);const i=this._iconSetConfigs.get(t);return i?this._getSvgFromIconSetConfigs(e,i):(0,ac._)(nr(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ie.of)(lc(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,lt.U)(t=>lc(t)))}_getSvgFromIconSetConfigs(e,t){const o=this._extractIconWithNameFromAnySet(e,t);return o?(0,Ie.of)(o):Eh(t.filter(i=>!i.svgText).map(i=>this._loadSvgIconSetFromConfig(i).pipe((0,Li.K)(a=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(u.q3G.RESOURCE_URL,i.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(h)),(0,Ie.of)(null)})))).pipe((0,lt.U)(()=>{const i=this._extractIconWithNameFromAnySet(e,t);if(!i)throw nr(e);return i}))}_extractIconWithNameFromAnySet(e,t){for(let o=t.length-1;o>=0;o--){const s=t[o];if(s.svgText&&s.svgText.toString().indexOf(e)>-1){const i=this._svgElementFromConfig(s),a=this._extractSvgIconFromSet(i,e,s.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,ui.b)(t=>e.svgText=t),(0,lt.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ie.of)(null):this._fetchIcon(e).pipe((0,ui.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,o){const s=e.querySelector(`[id="${t}"]`);if(!s)return null;const i=s.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i,o);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i),o);const a=this._svgElementFromString(zr(""));return a.appendChild(i),this._setSvgAttributes(a,o)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const o=t.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){const t=this._svgElementFromString(zr("")),o=e.attributes;for(let s=0;szr(g)),qh(()=>this._inProgressUrlFetches.delete(a)),(0,qm.B)());return this._inProgressUrlFetches.set(a,h),h}_addSvgIconConfig(e,t,o){return this._svgIconConfigs.set(oA(e,t),o),this}_addSvgIconSetConfig(e,t){const o=this._iconSetConfigs.get(e);return o?o.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let o=0;on?n.pathname+n.search:""}}}),uc=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],cA=uc.map(r=>`[${r}]`).join(", "),ou=/^url\(['"]?#(.*?)['"]?\)$/;let Ns=(()=>{class r extends rA{constructor(e,t,o,s,i){super(e),this._iconRegistry=t,this._location=s,this._errorHandler=i,this._inline=!1,this._currentIconFetch=Nt.w.EMPTY,o||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=Qe(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let s=0;s{o.forEach(i=>{s.setAttribute(i.name,`url('${e}#${i.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(cA),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{const a=t[s],d=a.getAttribute(i),h=d?d.match(ou):null;if(h){let g=o.get(a);g||(g=[],o.set(a,g)),g.push({name:i,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,o]=this._splitIconName(e);t&&(this._svgNamespace=t),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,t).pipe((0,Vt.q)(1)).subscribe(s=>this._setSvgElement(s),s=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${o}! ${s.message}`))})}}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(Br),u.$8M("aria-hidden"),u.Y36(sA),u.Y36(u.qLn))},r.\u0275cmp=u.Xpm({type:r,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(u.uIk("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),u.ekj("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[u.qOj],ngContentSelectors:$m,decls:1,vars:0,template:function(e,t){1&e&&(u.F$t(),u.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),r})(),Dt=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe],qe]}),r})(),SE=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[],imports:[[iu,sc,Dt,vo,Qa,b.ez]]}),r})();function Wh(){const r=new Ul;return r.disableClose=!0,r.autoFocus=!1,r}v(9441),new Intl.Collator("cs",{numeric:!0});class SA{static passwordMatchValidator(n){const e=n.get("passwordCtrl").value,t=n.get("passwordAgainCtrl").value;return n.get("passwordAgainCtrl").setErrors(e!==t?{noPasswordMatch:!0}:null),null}static patternValidator(n){return e=>{if(!e.value)return null;let t=0;for(const o of n)t+=o.test(e.value)?1:0;return t>=3?null:{isWeak:!0}}}}var Zh=v(4450),kA=v(1762);function Qh(r,n){let e=!1;return arguments.length>=2&&(e=!0),function(o){return o.lift(new DA(r,n,e))}}class DA{constructor(n,e,t=!1){this.accumulator=n,this.seed=e,this.hasSeed=t}call(n,e){return e.subscribe(new Qm(n,this.accumulator,this.seed,this.hasSeed))}}class Qm extends ws.L{constructor(n,e,t,o){super(n),this.accumulator=e,this._seed=t,this.hasSeed=o,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const e=this.index++;let t;try{t=this.accumulator(this.seed,n,e)}catch(o){this.destination.error(o)}this.seed=t,this.destination.next(t)}}var MA=v(4231);function fc(r){return function(e){return 0===r?(0,Xo.c)():e.lift(new xA(r))}}class xA{constructor(n){if(this.total=n,this.total<0)throw new MA.W}call(n,e){return e.subscribe(new Xm(n,this.total))}}class Xm extends ws.L{constructor(n,e){super(n),this.total=e,this.ring=new Array,this.count=0}_next(n){const e=this.ring,t=this.total,o=this.count++;e.length0){const t=this.count>=this.total?this.total:this.count,o=this.ring;for(let s=0;sr.length||"full"===e.pathMatch&&(n.hasChildren()||t.lengtht[s]===o)}return r===n}function u_(r){return Array.prototype.concat.apply([],r)}function nf(r){return r.length>0?r[r.length-1]:null}function gi(r,n){for(const e in r)r.hasOwnProperty(e)&&n(r[e],e)}function Ni(r){return(0,u.CqO)(r)?r:(0,u.QGY)(r)?(0,vi.D)(Promise.resolve(r)):(0,Ie.of)(r)}const Vs={exact:function rf(r,n,e){if(!zn(r.segments,n.segments)||!uu(r.segments,n.segments,e)||r.numberOfChildren!==n.numberOfChildren)return!1;for(const t in n.children)if(!r.children[t]||!rf(r.children[t],n.children[t],e))return!1;return!0},subset:h_},Ks={exact:function qE(r,n){return Xn(r,n)},subset:function KA(r,n){return Object.keys(n).length<=Object.keys(r).length&&Object.keys(n).every(e=>tf(r[e],n[e]))},ignored:()=>!0};function d_(r,n,e){return Vs[e.paths](r.root,n.root,e.matrixParams)&&Ks[e.queryParams](r.queryParams,n.queryParams)&&!("exact"===e.fragment&&r.fragment!==n.fragment)}function h_(r,n,e){return f_(r,n,n.segments,e)}function f_(r,n,e,t){if(r.segments.length>e.length){const o=r.segments.slice(0,e.length);return!(!zn(o,e)||n.hasChildren()||!uu(o,e,t))}if(r.segments.length===e.length){if(!zn(r.segments,e)||!uu(r.segments,e,t))return!1;for(const o in n.children)if(!r.children[o]||!h_(r.children[o],n.children[o],t))return!1;return!0}{const o=e.slice(0,r.segments.length),s=e.slice(r.segments.length);return!!(zn(r.segments,o)&&uu(r.segments,o,t)&&r.children[st])&&f_(r.children[st],n,s,t)}}function uu(r,n,e){return n.every((t,o)=>Ks[e](r[o].parameters,t.parameters))}class sr{constructor(n,e,t){this.root=n,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=rr(this.queryParams)),this._queryParamMap}toString(){return UA.serialize(this)}}class gt{constructor(n,e){this.segments=n,this.children=e,this.parent=null,gi(e,(t,o)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return hu(this)}}class Nr{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=rr(this.parameters)),this._parameterMap}toString(){return lf(this)}}function zn(r,n){return r.length===n.length&&r.every((e,t)=>e.path===n[t].path)}class sf{}class af{parse(n){const e=new uf(n);return new sr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${pc(n.root,!0)}`,t=function WE(r){const n=Object.keys(r).map(e=>{const t=r[e];return Array.isArray(t)?t.map(o=>`${pu(e)}=${pu(o)}`).join("&"):`${pu(e)}=${pu(t)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${t}${"string"==typeof n.fragment?`#${function $E(r){return encodeURI(r)}(n.fragment)}`:""}`}}const UA=new af;function hu(r){return r.segments.map(n=>lf(n)).join("/")}function pc(r,n){if(!r.hasChildren())return hu(r);if(n){const e=r.children[st]?pc(r.children[st],!1):"",t=[];return gi(r.children,(o,s)=>{s!==st&&t.push(`${s}:${pc(o,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function GA(r,n){let e=[];return gi(r.children,(t,o)=>{o===st&&(e=e.concat(n(t,o)))}),gi(r.children,(t,o)=>{o!==st&&(e=e.concat(n(t,o)))}),e}(r,(t,o)=>o===st?[pc(r.children[st],!1)]:[`${o}:${pc(t,!1)}`]);return 1===Object.keys(r.children).length&&null!=r.children[st]?`${hu(r)}/${e[0]}`:`${hu(r)}/(${e.join("//")})`}}function fu(r){return encodeURIComponent(r).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pu(r){return fu(r).replace(/%3B/gi,";")}function cf(r){return fu(r).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gu(r){return decodeURIComponent(r)}function jr(r){return gu(r.replace(/\+/g,"%20"))}function lf(r){return`${cf(r.path)}${function Gs(r){return Object.keys(r).map(n=>`;${cf(n)}=${cf(r[n])}`).join("")}(r.parameters)}`}const p_=/^[^\/()?;=#]+/;function mu(r){const n=r.match(p_);return n?n[0]:""}const YE=/^[^=?&#]+/,ZE=/^[^&#]+/;class uf{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new gt([],{}):new gt([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(t[st]=new gt(n,e)),t}parseSegment(){const n=mu(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(n),new Nr(gu(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=mu(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const o=mu(this.remaining);o&&(t=o,this.capture(t))}n[gu(e)]=gu(t)}parseQueryParam(n){const e=function g_(r){const n=r.match(YE);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const i=function m_(r){const n=r.match(ZE);return n?n[0]:""}(this.remaining);i&&(t=i,this.capture(t))}const o=jr(e),s=jr(t);if(n.hasOwnProperty(o)){let i=n[o];Array.isArray(i)||(i=[i],n[o]=i),i.push(s)}else n[o]=s}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=mu(this.remaining),o=this.remaining[t.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error(`Cannot parse url '${this.url}'`);let s;t.indexOf(":")>-1?(s=t.substr(0,t.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=st);const i=this.parseChildren();e[s]=1===Object.keys(i).length?i[st]:new gt([],i),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new Error(`Expected "${n}".`)}}class __{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=_u(n,this._root);return e?e.children.map(t=>t.value):[]}firstChild(n){const e=_u(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=df(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return df(n,this._root).map(e=>e.value)}}function _u(r,n){if(r===n.value)return n;for(const e of n.children){const t=_u(r,e);if(t)return t}return null}function df(r,n){if(r===n.value)return[n];for(const e of n.children){const t=df(r,e);if(t.length)return t.unshift(n),t}return[]}class To{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function Us(r){const n={};return r&&r.children.forEach(e=>n[e.value.outlet]=e),n}class y_ extends __{constructor(n,e){super(n),this.snapshot=e,yu(this,n)}toString(){return this.snapshot.toString()}}function w_(r,n){const e=function qA(r,n){const i=new mc([],{},{},"",{},st,n,null,r.root,-1,{});return new hf("",new To(i,[]))}(r,n),t=new ni([new Nr("",{})]),o=new ni({}),s=new ni({}),i=new ni({}),a=new ni(""),d=new ar(t,o,i,a,s,st,n,e.root);return d.snapshot=e.root,new y_(new To(d,[]),e)}class ar{constructor(n,e,t,o,s,i,a,d){this.url=n,this.params=e,this.queryParams=t,this.fragment=o,this.data=s,this.outlet=i,this.component=a,this._futureSnapshot=d}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,lt.U)(n=>rr(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,lt.U)(n=>rr(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function b_(r,n="emptyOnly"){const e=r.pathFromRoot;let t=0;if("always"!==n)for(t=e.length-1;t>=1;){const o=e[t],s=e[t-1];if(o.routeConfig&&""===o.routeConfig.path)t--;else{if(s.component)break;t--}}return function gc(r){return r.reduce((n,e)=>({params:Object.assign(Object.assign({},n.params),e.params),data:Object.assign(Object.assign({},n.data),e.data),resolve:Object.assign(Object.assign({},n.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class mc{constructor(n,e,t,o,s,i,a,d,h,g,S){this.url=n,this.params=e,this.queryParams=t,this.fragment=o,this.data=s,this.outlet=i,this.component=a,this.routeConfig=d,this._urlSegment=h,this._lastPathIndex=g,this._resolve=S}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=rr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=rr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class hf extends __{constructor(n,e){super(e),this.url=n,yu(this,e)}toString(){return ff(this._root)}}function yu(r,n){n.value._routerState=r,n.children.forEach(e=>yu(r,e))}function ff(r){const n=r.children.length>0?` { ${r.children.map(ff).join(", ")} } `:"";return`${r.value}${n}`}function wu(r){if(r.snapshot){const n=r.snapshot,e=r._futureSnapshot;r.snapshot=e,Xn(n.queryParams,e.queryParams)||r.queryParams.next(e.queryParams),n.fragment!==e.fragment&&r.fragment.next(e.fragment),Xn(n.params,e.params)||r.params.next(e.params),function l_(r,n){if(r.length!==n.length)return!1;for(let e=0;eXn(e.parameters,n[t].parameters))}(r.url,n.url);return e&&!(!r.parent!=!n.parent)&&(!r.parent||bu(r.parent,n.parent))}function qs(r,n,e){if(e&&r.shouldReuseRoute(n.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=n.value;const o=function v_(r,n,e){return n.children.map(t=>{for(const o of e.children)if(r.shouldReuseRoute(t.value,o.value.snapshot))return qs(r,t,o);return qs(r,t)})}(r,n,e);return new To(t,o)}{if(r.shouldAttach(n.value)){const s=r.retrieve(n.value);if(null!==s){const i=s.route;return i.value._futureSnapshot=n.value,i.children=n.children.map(a=>qs(r,a)),i}}const t=function A_(r){return new ar(new ni(r.url),new ni(r.params),new ni(r.queryParams),new ni(r.fragment),new ni(r.data),r.outlet,r.component,r)}(n.value),o=n.children.map(s=>qs(r,s));return new To(t,o)}}function vu(r){return"object"==typeof r&&null!=r&&!r.outlets&&!r.segmentPath}function Eo(r){return"object"==typeof r&&null!=r&&r.outlets}function pf(r,n,e,t,o){let s={};return t&&gi(t,(i,a)=>{s[a]=Array.isArray(i)?i.map(d=>`${d}`):`${i}`}),new sr(e.root===r?n:Au(e.root,r,n),s,o)}function Au(r,n,e){const t={};return gi(r.children,(o,s)=>{t[s]=o===n?e:Au(o,n,e)}),new gt(r.segments,t)}class Ln{constructor(n,e,t){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=t,n&&t.length>0&&vu(t[0]))throw new Error("Root segment cannot have matrix parameters");const o=t.find(Eo);if(o&&o!==nf(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class $s{constructor(n,e,t){this.segmentGroup=n,this.processChildren=e,this.index=t}}function C_(r,n,e){if(r||(r=new gt([],{})),0===r.segments.length&&r.hasChildren())return Vr(r,n,e);const t=function Cu(r,n,e){let t=0,o=n;const s={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return s;const i=r.segments[o],a=e[t];if(Eo(a))break;const d=`${a}`,h=t0&&void 0===d)break;if(d&&h&&"object"==typeof h&&void 0===h.outlets){if(!_f(d,h,i))return s;t+=2}else{if(!_f(d,{},i))return s;t++}o++}return{match:!0,pathIndex:o,commandIndex:t}}(r,n,e),o=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=C_(r.children[i],n,s))}),gi(r.children,(s,i)=>{void 0===t[i]&&(o[i]=s)}),new gt(r.segments,o)}}function gf(r,n,e){const t=r.segments.slice(0,n);let o=0;for(;o{"string"==typeof e&&(e=[e]),null!==e&&(n[t]=gf(new gt([],{}),0,e))}),n}function mf(r){const n={};return gi(r,(e,t)=>n[t]=`${e}`),n}function _f(r,n,e){return r==e.path&&Xn(n,e.parameters)}class T_{constructor(n,e,t,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=t,this.forwardEvent=o}activate(n){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,n),wu(this.futureState.root),this.activateChildRoutes(e,t,n)}deactivateChildRoutes(n,e,t){const o=Us(e);n.children.forEach(s=>{const i=s.value.outlet;this.deactivateRoutes(s,o[i],t),delete o[i]}),gi(o,(s,i)=>{this.deactivateRouteAndItsChildren(s,t)})}deactivateRoutes(n,e,t){const o=n.value,s=e?e.value:null;if(o===s)if(o.component){const i=t.getContext(o.outlet);i&&this.deactivateChildRoutes(n,e,i.children)}else this.deactivateChildRoutes(n,e,t);else s&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const t=e.getContext(n.value.outlet),o=t&&n.value.component?t.children:e,s=Us(n);for(const i of Object.keys(s))this.deactivateRouteAndItsChildren(s[i],o);if(t&&t.outlet){const i=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:i,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const t=e.getContext(n.value.outlet),o=t&&n.value.component?t.children:e,s=Us(n);for(const i of Object.keys(s))this.deactivateRouteAndItsChildren(s[i],o);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(n,e,t){const o=Us(e);n.children.forEach(s=>{this.activateRoutes(s,o[s.value.outlet],t),this.forwardEvent(new NA(s.value.snapshot))}),n.children.length&&this.forwardEvent(new LA(n.value.snapshot))}activateRoutes(n,e,t){const o=n.value,s=e?e.value:null;if(wu(o),o===s)if(o.component){const i=t.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,i.children)}else this.activateChildRoutes(n,e,t);else if(o.component){const i=t.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),wu(a.route.value),this.activateChildRoutes(n,null,i.children)}else{const a=function JA(r){for(let n=r.parent;n;n=n.parent){const e=n.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(o.snapshot),d=a?a.module.componentFactoryResolver:null;i.attachRef=null,i.route=o,i.resolver=d,i.outlet&&i.outlet.activateWith(o,d),this.activateChildRoutes(n,null,i.children)}}else this.activateChildRoutes(n,null,t)}}class wf{constructor(n,e){this.routes=n,this.module=e}}function Kr(r){return"function"==typeof r}function So(r){return r instanceof sr}const yc=Symbol("INITIAL_VALUE");function wc(){return(0,Ri.w)(r=>(0,Rv.aj)(r.map(n=>n.pipe((0,Vt.q)(1),yn(yc)))).pipe(Qh((n,e)=>{let t=!1;return e.reduce((o,s,i)=>o!==yc?o:(s===yc&&(t=!0),t||!1!==s&&i!==e.length-1&&!So(s)?o:s),n)},yc),(0,ke.h)(n=>n!==yc),(0,lt.U)(n=>So(n)?n:!0===n),(0,Vt.q)(1)))}class tC{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ws,this.attachRef=null}}class Ws{constructor(){this.contexts=new Map}onChildOutletCreated(n,e){const t=this.getOrCreateContext(n);t.outlet=e,this.contexts.set(n,t)}onChildOutletDestroyed(n){const e=this.getContext(n);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let e=this.getContext(n);return e||(e=new tC,this.contexts.set(n,e)),e}getContext(n){return this.contexts.get(n)||null}}let Tu=(()=>{class r{constructor(e,t,o,s,i){this.parentContexts=e,this.location=t,this.resolver=o,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new u.vpe,this.deactivateEvents=new u.vpe,this.attachEvents=new u.vpe,this.detachEvents=new u.vpe,this.name=s||st,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const i=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,d=new S_(e,a,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,d),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(Ws),u.Y36(u.s_b),u.Y36(u._Vd),u.$8M("name"),u.Y36(u.sBO))},r.\u0275dir=u.lG2({type:r,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),r})();class S_{constructor(n,e,t){this.route=n,this.childContexts=e,this.parent=t}get(n,e){return n===ar?this.route:n===Ws?this.childContexts:this.parent.get(n,e)}}let Cf=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275cmp=u.Xpm({type:r,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&u._UZ(0,"router-outlet")},directives:[Tu],encapsulation:2}),r})();function Tf(r,n=""){for(let e=0;eon(t)===n);return e.push(...r.filter(t=>on(t)!==n)),e}const Ef={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Su(r,n,e){var t;if(""===n.path)return"full"===n.pathMatch&&(r.hasChildren()||e.length>0)?Object.assign({},Ef):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(n.matcher||jA)(e,r,n);if(!s)return Object.assign({},Ef);const i={};gi(s.posParams,(d,h)=>{i[h]=d.path});const a=s.consumed.length>0?Object.assign(Object.assign({},i),s.consumed[s.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:a,positionalParamSegments:null!==(t=s.posParams)&&void 0!==t?t:{}}}function di(r,n,e,t,o="corrected"){if(e.length>0&&function oC(r,n,e){return e.some(t=>cr(r,n,t)&&on(t)!==st)}(r,e,t)){const i=new gt(n,function nC(r,n,e,t){const o={};o[st]=t,t._sourceSegment=r,t._segmentIndexShift=n.length;for(const s of e)if(""===s.path&&on(s)!==st){const i=new gt([],{});i._sourceSegment=r,i._segmentIndexShift=n.length,o[on(s)]=i}return o}(r,n,t,new gt(e,r.children)));return i._sourceSegment=r,i._segmentIndexShift=n.length,{segmentGroup:i,slicedSegments:[]}}if(0===e.length&&function QE(r,n,e){return e.some(t=>cr(r,n,t))}(r,e,t)){const i=new gt(r.segments,function Ys(r,n,e,t,o,s){const i={};for(const a of t)if(cr(r,e,a)&&!o[on(a)]){const d=new gt([],{});d._sourceSegment=r,d._segmentIndexShift="legacy"===s?r.segments.length:n.length,i[on(a)]=d}return Object.assign(Object.assign({},o),i)}(r,n,e,t,r.children,o));return i._sourceSegment=r,i._segmentIndexShift=n.length,{segmentGroup:i,slicedSegments:e}}const s=new gt(r.segments,r.children);return s._sourceSegment=r,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:e}}function cr(r,n,e){return(!(r.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function M_(r,n,e,t){return!!(on(r)===t||t!==st&&cr(n,e,r))&&("**"===r.path||Su(n,r,e).matched)}function ku(r,n,e){return 0===n.length&&!r.children[e]}class bc{constructor(n){this.segmentGroup=n||null}}class Sf{constructor(n){this.urlTree=n}}function Du(r){return new bi.y(n=>n.error(new bc(r)))}function x_(r){return new bi.y(n=>n.error(new Sf(r)))}function kf(r){return new bi.y(n=>n.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${r}'`)))}class Mu{constructor(n,e,t,o,s){this.configLoader=e,this.urlSerializer=t,this.urlTree=o,this.config=s,this.allowRedirects=!0,this.ngModule=n.get(u.h0i)}apply(){const n=di(this.urlTree.root,[],[],this.config).segmentGroup,e=new gt(n.segments,n.children);return this.expandSegmentGroup(this.ngModule,this.config,e,st).pipe((0,lt.U)(s=>this.createUrlTree(I_(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Li.K)(s=>{if(s instanceof Sf)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof bc?this.noMatchError(s):s}))}match(n){return this.expandSegmentGroup(this.ngModule,this.config,n.root,st).pipe((0,lt.U)(o=>this.createUrlTree(I_(o),n.queryParams,n.fragment))).pipe((0,Li.K)(o=>{throw o instanceof bc?this.noMatchError(o):o}))}noMatchError(n){return new Error(`Cannot match any routes. URL Segment: '${n.segmentGroup}'`)}createUrlTree(n,e,t){const o=n.segments.length>0?new gt([],{[st]:n}):n;return new sr(o,e,t)}expandSegmentGroup(n,e,t,o){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(n,e,t).pipe((0,lt.U)(s=>new gt([],s))):this.expandSegment(n,t,e,t.segments,o,!0)}expandChildren(n,e,t){const o=[];for(const s of Object.keys(t.children))"primary"===s?o.unshift(s):o.push(s);return(0,vi.D)(o).pipe((0,bn.b)(s=>{const i=t.children[s],a=D_(e,s);return this.expandSegmentGroup(n,a,i,s).pipe((0,lt.U)(d=>({segment:d,outlet:s})))}),Qh((s,i)=>(s[i.outlet]=i.segment,s),{}),function IA(r,n){const e=arguments.length>=2;return t=>t.pipe(r?(0,ke.h)((o,s)=>r(o,s,t)):PA.y,fc(1),e?(0,RA.d)(n):(0,Jm.T)(()=>new Zh.K))}())}expandSegment(n,e,t,o,s,i){return(0,vi.D)(t).pipe((0,bn.b)(a=>this.expandSegmentAgainstRoute(n,e,t,a,o,s,i).pipe((0,Li.K)(h=>{if(h instanceof bc)return(0,Ie.of)(null);throw h}))),(0,or.P)(a=>!!a),(0,Li.K)((a,d)=>{if(a instanceof Zh.K||"EmptyError"===a.name){if(ku(e,o,s))return(0,Ie.of)(new gt([],{}));throw new bc(e)}throw a}))}expandSegmentAgainstRoute(n,e,t,o,s,i,a){return M_(o,e,s,i)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(n,e,o,s,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,t,o,s,i):Du(e):Du(e)}expandSegmentAgainstRouteUsingRedirect(n,e,t,o,s,i){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,o,i):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,t,o,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,t,o){const s=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?x_(s):this.lineralizeSegments(t,s).pipe((0,Bi.zg)(i=>{const a=new gt(i,{});return this.expandSegment(n,a,e,i,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,t,o,s,i){const{matched:a,consumedSegments:d,lastChild:h,positionalParamSegments:g}=Su(e,o,s);if(!a)return Du(e);const S=this.applyRedirectCommands(d,o.redirectTo,g);return o.redirectTo.startsWith("/")?x_(S):this.lineralizeSegments(o,S).pipe((0,Bi.zg)(H=>this.expandSegment(n,e,t,H.concat(s.slice(h)),i,!1)))}matchSegmentAgainstRoute(n,e,t,o,s){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ie.of)(t._loadedConfig):this.configLoader.load(n.injector,t)).pipe((0,lt.U)(H=>(t._loadedConfig=H,new gt(o,{})))):(0,Ie.of)(new gt(o,{}));const{matched:i,consumedSegments:a,lastChild:d}=Su(e,t,o);if(!i)return Du(e);const h=o.slice(d);return this.getChildConfig(n,t,o).pipe((0,Bi.zg)(S=>{const H=S.module,te=S.routes,{segmentGroup:he,slicedSegments:_e}=di(e,a,h,te),Te=new gt(he.segments,he.children);if(0===_e.length&&Te.hasChildren())return this.expandChildren(H,te,Te).pipe((0,lt.U)(It=>new gt(a,It)));if(0===te.length&&0===_e.length)return(0,Ie.of)(new gt(a,{}));const mt=on(t)===s;return this.expandSegment(H,Te,te,_e,mt?st:s,!0).pipe((0,lt.U)(bt=>new gt(a.concat(bt.segments),bt.children)))}))}getChildConfig(n,e,t){return e.children?(0,Ie.of)(new wf(e.children,n)):e.loadChildren?void 0!==e._loadedConfig?(0,Ie.of)(e._loadedConfig):this.runCanLoadGuards(n.injector,e,t).pipe((0,Bi.zg)(o=>o?this.configLoader.load(n.injector,e).pipe((0,lt.U)(s=>(e._loadedConfig=s,s))):function R_(r){return new bi.y(n=>n.error(Jh(`Cannot load children because the guard of the route "path: '${r.path}'" returned false`)))}(e))):(0,Ie.of)(new wf([],n))}runCanLoadGuards(n,e,t){const o=e.canLoad;if(!o||0===o.length)return(0,Ie.of)(!0);const s=o.map(i=>{const a=n.get(i);let d;if(function E_(r){return r&&Kr(r.canLoad)}(a))d=a.canLoad(e,t);else{if(!Kr(a))throw new Error("Invalid CanLoad guard");d=a(e,t)}return Ni(d)});return(0,Ie.of)(s).pipe(wc(),(0,ui.b)(i=>{if(!So(i))return;const a=Jh(`Redirecting to "${this.urlSerializer.serialize(i)}"`);throw a.url=i,a}),(0,lt.U)(i=>!0===i))}lineralizeSegments(n,e){let t=[],o=e.root;for(;;){if(t=t.concat(o.segments),0===o.numberOfChildren)return(0,Ie.of)(t);if(o.numberOfChildren>1||!o.children[st])return kf(n.redirectTo);o=o.children[st]}}applyRedirectCommands(n,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),n,t)}applyRedirectCreatreUrlTree(n,e,t,o){const s=this.createSegmentGroup(n,e.root,t,o);return new sr(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const t={};return gi(n,(o,s)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);t[s]=e[a]}else t[s]=o}),t}createSegmentGroup(n,e,t,o){const s=this.createSegments(n,e.segments,t,o);let i={};return gi(e.children,(a,d)=>{i[d]=this.createSegmentGroup(n,a,t,o)}),new gt(s,i)}createSegments(n,e,t,o){return e.map(s=>s.path.startsWith(":")?this.findPosParam(n,s,o):this.findOrReturn(s,t))}findPosParam(n,e,t){const o=t[e.path.substring(1)];if(!o)throw new Error(`Cannot redirect to '${n}'. Cannot find '${e.path}'.`);return o}findOrReturn(n,e){let t=0;for(const o of e){if(o.path===n.path)return e.splice(t),o;t++}return n}}function I_(r){const n={};for(const t of Object.keys(r.children)){const s=I_(r.children[t]);(s.segments.length>0||s.hasChildren())&&(n[t]=s)}return function Df(r){if(1===r.numberOfChildren&&r.children[st]){const n=r.children[st];return new gt(r.segments.concat(n.segments),n.children)}return r}(new gt(r.segments,n))}class H_{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class vc{constructor(n,e){this.component=n,this.route=e}}function xu(r,n,e){const t=r._root;return Gr(t,n?n._root:null,e,[t.value])}function Ru(r,n,e){const t=function Mf(r){if(!r)return null;for(let n=r.parent;n;n=n.parent){const e=n.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(n);return(t?t.module.injector:e).get(r)}function Gr(r,n,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=Us(n);return r.children.forEach(i=>{(function XE(r,n,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=r.value,i=n?n.value:null,a=e?e.getContext(r.value.outlet):null;if(i&&s.routeConfig===i.routeConfig){const d=function rC(r,n,e){if("function"==typeof e)return e(r,n);switch(e){case"pathParamsChange":return!zn(r.url,n.url);case"pathParamsOrQueryParamsChange":return!zn(r.url,n.url)||!Xn(r.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!bu(r,n)||!Xn(r.queryParams,n.queryParams);default:return!bu(r,n)}}(i,s,s.routeConfig.runGuardsAndResolvers);d?o.canActivateChecks.push(new H_(t)):(s.data=i.data,s._resolvedData=i._resolvedData),Gr(r,n,s.component?a?a.children:null:e,t,o),d&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new vc(a.outlet.component,i))}else i&&Ac(n,a,o),o.canActivateChecks.push(new H_(t)),Gr(r,null,s.component?a?a.children:null:e,t,o)})(i,s[i.value.outlet],e,t.concat([i.value]),o),delete s[i.value.outlet]}),gi(s,(i,a)=>Ac(i,e.getContext(a),o)),o}function Ac(r,n,e){const t=Us(r),o=r.value;gi(t,(s,i)=>{Ac(s,o.component?n?n.children.getContext(i):null:n,e)}),e.canDeactivateChecks.push(new vc(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}class lC{}function xf(r){return new bi.y(n=>n.error(r))}class K_{constructor(n,e,t,o,s,i){this.rootComponentType=n,this.config=e,this.urlTree=t,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){const n=di(this.urlTree.root,[],[],this.config.filter(i=>void 0===i.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,n,st);if(null===e)return null;const t=new mc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},st,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new To(t,e),s=new hf(this.url,o);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(n){const e=n.value,t=b_(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(n,e):this.processSegment(n,e,e.segments,t)}processChildren(n,e){const t=[];for(const s of Object.keys(e.children)){const i=e.children[s],a=D_(n,s),d=this.processSegmentGroup(a,i,s);if(null===d)return null;t.push(...d)}const o=hC(t);return function G_(r){r.sort((n,e)=>n.value.outlet===st?-1:e.value.outlet===st?1:n.value.outlet.localeCompare(e.value.outlet))}(o),o}processSegment(n,e,t,o){for(const s of n){const i=this.processSegmentAgainstRoute(s,e,t,o);if(null!==i)return i}return ku(e,t,o)?[]:null}processSegmentAgainstRoute(n,e,t,o){if(n.redirectTo||!M_(n,e,t,o))return null;let s,i=[],a=[];if("**"===n.path){const te=t.length>0?nf(t).parameters:{};s=new mc(t,te,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mC(n),on(n),n.component,n,pC(e),gC(e)+t.length,_C(n))}else{const te=Su(e,n,t);if(!te.matched)return null;i=te.consumedSegments,a=t.slice(te.lastChild),s=new mc(i,te.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mC(n),on(n),n.component,n,pC(e),gC(e)+i.length,_C(n))}const d=function uC(r){return r.children?r.children:r.loadChildren?r._loadedConfig.routes:[]}(n),{segmentGroup:h,slicedSegments:g}=di(e,i,a,d.filter(te=>void 0===te.redirectTo),this.relativeLinkResolution);if(0===g.length&&h.hasChildren()){const te=this.processChildren(d,h);return null===te?null:[new To(s,te)]}if(0===d.length&&0===g.length)return[new To(s,[])];const S=on(n)===o,H=this.processSegment(d,h,g,S?st:o);return null===H?null:[new To(s,H)]}}function dC(r){const n=r.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function hC(r){const n=[],e=new Set;for(const t of r){if(!dC(t)){n.push(t);continue}const o=n.find(s=>t.value.routeConfig===s.value.routeConfig);void 0!==o?(o.children.push(...t.children),e.add(o)):n.push(t)}for(const t of e){const o=hC(t.children);n.push(new To(t.value,o))}return n.filter(t=>!e.has(t))}function pC(r){let n=r;for(;n._sourceSegment;)n=n._sourceSegment;return n}function gC(r){let n=r,e=n._segmentIndexShift?n._segmentIndexShift:0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift?n._segmentIndexShift:0;return e-1}function mC(r){return r.data||{}}function _C(r){return r.resolve||{}}function Cc(r){return[...Object.keys(r),...Object.getOwnPropertySymbols(r)]}function Tc(r){return(0,Ri.w)(n=>{const e=r(n);return e?(0,vi.D)(e).pipe((0,lt.U)(()=>n)):(0,Ie.of)(n)})}class yC extends class U_{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}{}const Rf=new u.OlP("ROUTES");class Pu{constructor(n,e,t,o){this.injector=n,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=o}load(n,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const o=this.loadModuleFactory(e.loadChildren).pipe((0,lt.U)(s=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=s.create(n);return new wf(u_(i.injector.get(Rf,void 0,u.XFs.Self|u.XFs.Optional)).map(Eu),i)}),(0,Li.K)(s=>{throw e._loader$=void 0,s}));return e._loader$=new kA.c(o,()=>new xe.xQ).pipe((0,e_.x)()),e._loader$}loadModuleFactory(n){return Ni(n()).pipe((0,Bi.zg)(e=>e instanceof u.YKP?(0,Ie.of)(e):(0,vi.D)(this.compiler.compileModuleAsync(e))))}}class $_{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,e){return n}}function W_(r){throw r}function oS(r,n,e){return n.parse("/")}function Pf(r,n){return(0,Ie.of)(null)}const Iu={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Y_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ji=(()=>{class r{constructor(e,t,o,s,i,a,d){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=o,this.location=s,this.config=d,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new xe.xQ,this.errorHandler=W_,this.malformedUriErrorHandler=oS,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Pf,afterPreactivation:Pf},this.urlHandlingStrategy=new $_,this.routeReuseStrategy=new yC,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=i.get(u.h0i),this.console=i.get(u.c2e);const S=i.get(u.R0b);this.isNgZoneEnabled=S instanceof u.R0b&&u.R0b.isInAngularZone(),this.resetConfig(d),this.currentUrlTree=function VA(){return new sr(new gt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Pu(i,a,H=>this.triggerEvent(new o_(H)),H=>this.triggerEvent(new r_(H))),this.routerState=w_(this.currentUrlTree,this.rootComponentType),this.transitions=new ni({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const t=this.events;return e.pipe((0,ke.h)(o=>0!==o.id),(0,lt.U)(o=>Object.assign(Object.assign({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),(0,Ri.w)(o=>{let s=!1,i=!1;return(0,Ie.of)(o).pipe((0,ui.b)(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Ri.w)(a=>{const d=this.browserUrlTree.toString(),h=!this.navigated||a.extractedUrl.toString()!==d||d!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||h)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return If(a.source)&&(this.browserUrlTree=a.extractedUrl),(0,Ie.of)(a).pipe((0,Ri.w)(S=>{const H=this.transitions.getValue();return t.next(new Xh(S.id,this.serializeUrl(S.extractedUrl),S.source,S.restoredState)),H!==this.transitions.getValue()?Xo.E:Promise.resolve(S)}),function O_(r,n,e,t){return(0,Ri.w)(o=>function P_(r,n,e,t,o){return new Mu(r,n,e,t,o).apply()}(r,n,e,o.extractedUrl,t).pipe((0,lt.U)(s=>Object.assign(Object.assign({},o),{urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ui.b)(S=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:S.urlAfterRedirects})}),function JE(r,n,e,t,o){return(0,Bi.zg)(s=>function V_(r,n,e,t,o="emptyOnly",s="legacy"){try{const i=new K_(r,n,e,t,o,s).recognize();return null===i?xf(new lC):(0,Ie.of)(i)}catch(i){return xf(i)}}(r,n,s.urlAfterRedirects,e(s.urlAfterRedirects),t,o).pipe((0,lt.U)(i=>Object.assign(Object.assign({},s),{targetSnapshot:i}))))}(this.rootComponentType,this.config,S=>this.serializeUrl(S),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ui.b)(S=>{if("eager"===this.urlUpdateStrategy){if(!S.extras.skipLocationChange){const te=this.urlHandlingStrategy.merge(S.urlAfterRedirects,S.rawUrl);this.setBrowserUrl(te,S)}this.browserUrlTree=S.urlAfterRedirects}const H=new HA(S.id,this.serializeUrl(S.extractedUrl),this.serializeUrl(S.urlAfterRedirects),S.targetSnapshot);t.next(H)}));if(h&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:H,extractedUrl:te,source:he,restoredState:_e,extras:Te}=a,mt=new Xh(H,this.serializeUrl(te),he,_e);t.next(mt);const Rt=w_(te,this.rootComponentType).snapshot;return(0,Ie.of)(Object.assign(Object.assign({},a),{targetSnapshot:Rt,urlAfterRedirects:te,extras:Object.assign(Object.assign({},Te),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),Xo.E}),Tc(a=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:S,extras:{skipLocationChange:H,replaceUrl:te}}=a;return this.hooks.beforePreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:S,skipLocationChange:!!H,replaceUrl:!!te})}),(0,ui.b)(a=>{const d=new FA(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(d)}),(0,lt.U)(a=>Object.assign(Object.assign({},a),{guards:xu(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function z_(r,n){return(0,Bi.zg)(e=>{const{targetSnapshot:t,currentSnapshot:o,guards:{canActivateChecks:s,canDeactivateChecks:i}}=e;return 0===i.length&&0===s.length?(0,Ie.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function L_(r,n,e,t){return(0,vi.D)(r).pipe((0,Bi.zg)(o=>function j_(r,n,e,t,o){const s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!s||0===s.length)return(0,Ie.of)(!0);const i=s.map(a=>{const d=Ru(a,n,o);let h;if(function eC(r){return r&&Kr(r.canDeactivate)}(d))h=Ni(d.canDeactivate(r,n,e,t));else{if(!Kr(d))throw new Error("Invalid CanDeactivate guard");h=Ni(d(r,n,e,t))}return h.pipe((0,or.P)())});return(0,Ie.of)(i).pipe(wc())}(o.component,o.route,e,n,t)),(0,or.P)(o=>!0!==o,!0))}(i,t,o,r).pipe((0,Bi.zg)(a=>a&&function bf(r){return"boolean"==typeof r}(a)?function sC(r,n,e,t){return(0,vi.D)(n).pipe((0,bn.b)(o=>vs(function N_(r,n){return null!==r&&n&&n(new s_(r)),(0,Ie.of)(!0)}(o.route.parent,t),function B_(r,n){return null!==r&&n&&n(new BA(r)),(0,Ie.of)(!0)}(o.route,t),function cC(r,n,e){const t=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(i=>function F_(r){const n=r.routeConfig?r.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:r,guards:n}:null}(i)).filter(i=>null!==i).map(i=>Ya(()=>{const a=i.guards.map(d=>{const h=Ru(d,i.node,e);let g;if(function Af(r){return r&&Kr(r.canActivateChild)}(h))g=Ni(h.canActivateChild(t,r));else{if(!Kr(h))throw new Error("Invalid CanActivateChild guard");g=Ni(h(t,r))}return g.pipe((0,or.P)())});return(0,Ie.of)(a).pipe(wc())}));return(0,Ie.of)(s).pipe(wc())}(r,o.path,e),function aC(r,n,e){const t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ie.of)(!0);const o=t.map(s=>Ya(()=>{const i=Ru(s,n,e);let a;if(function vf(r){return r&&Kr(r.canActivate)}(i))a=Ni(i.canActivate(n,r));else{if(!Kr(i))throw new Error("Invalid CanActivate guard");a=Ni(i(n,r))}return a.pipe((0,or.P)())}));return(0,Ie.of)(o).pipe(wc())}(r,o.route,e))),(0,or.P)(o=>!0!==o,!0))}(t,s,r,n):(0,Ie.of)(a)),(0,lt.U)(a=>Object.assign(Object.assign({},e),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),(0,ui.b)(a=>{if(So(a.guardsResult)){const h=Jh(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw h.url=a.guardsResult,h}const d=new zA(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(d)}),(0,ke.h)(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),Tc(a=>{if(a.guards.canActivateChecks.length)return(0,Ie.of)(a).pipe((0,ui.b)(d=>{const h=new i_(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}),(0,Ri.w)(d=>{let h=!1;return(0,Ie.of)(d).pipe(function eS(r,n){return(0,Bi.zg)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:o}}=e;if(!o.length)return(0,Ie.of)(e);let s=0;return(0,vi.D)(o).pipe((0,bn.b)(i=>function tS(r,n,e,t){return function iS(r,n,e,t){const o=Cc(r);if(0===o.length)return(0,Ie.of)({});const s={};return(0,vi.D)(o).pipe((0,Bi.zg)(i=>function nS(r,n,e,t){const o=Ru(r,n,t);return Ni(o.resolve?o.resolve(n,e):o(n,e))}(r[i],n,e,t).pipe((0,ui.b)(a=>{s[i]=a}))),fc(1),(0,Bi.zg)(()=>Cc(s).length===o.length?(0,Ie.of)(s):Xo.E))}(r._resolve,r,n,t).pipe((0,lt.U)(s=>(r._resolvedData=s,r.data=Object.assign(Object.assign({},r.data),b_(r,e).resolve),null)))}(i.route,t,r,n)),(0,ui.b)(()=>s++),fc(1),(0,Bi.zg)(i=>s===o.length?(0,Ie.of)(e):Xo.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ui.b)({next:()=>h=!0,complete:()=>{h||(this.restoreHistory(d),this.cancelNavigationTransition(d,"At least one route resolver didn't emit any value."))}}))}),(0,ui.b)(d=>{const h=new n_(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}))}),Tc(a=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:S,extras:{skipLocationChange:H,replaceUrl:te}}=a;return this.hooks.afterPreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:S,skipLocationChange:!!H,replaceUrl:!!te})}),(0,lt.U)(a=>{const d=function $A(r,n,e){const t=qs(r,n._root,e?e._root:void 0);return new y_(t,n)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:d})}),(0,ui.b)(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((r,n,e)=>(0,lt.U)(t=>(new T_(n,t.targetRouterState,t.currentRouterState,e).activate(r),t)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),(0,ui.b)({next(){s=!0},complete(){s=!0}}),qh(()=>{var a;s||i||this.cancelNavigationTransition(o,`Navigation ID ${o.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===o.id&&(this.currentNavigation=null)}),(0,Li.K)(a=>{if(i=!0,function ef(r){return r&&r[c_]}(a)){const d=So(a.url);d||(this.navigated=!0,this.restoreHistory(o,!0));const h=new t_(o.id,this.serializeUrl(o.extractedUrl),a.message);t.next(h),d?setTimeout(()=>{const g=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),S={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||If(o.source)};this.scheduleNavigation(g,"imperative",null,S,{resolve:o.resolve,reject:o.reject,promise:o.promise})},0):o.resolve(!1)}else{this.restoreHistory(o,!0);const d=new OA(o.id,this.serializeUrl(o.extractedUrl),a);t.next(d);try{o.resolve(this.errorHandler(a))}catch(h){o.reject(h)}}return Xo.E}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t="popstate"===e.type?"popstate":"hashchange";"popstate"===t&&setTimeout(()=>{var o;const s={replaceUrl:!0},i=(null===(o=e.state)||void 0===o?void 0:o.navigationId)?e.state:null;if(i){const d=Object.assign({},i);delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(s.state=d)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,t,i,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Tf(e),this.config=e.map(Eu),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:o,queryParams:s,fragment:i,queryParamsHandling:a,preserveFragment:d}=t,h=o||this.routerState.root,g=d?this.currentUrlTree.fragment:i;let S=null;switch(a){case"merge":S=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":S=this.currentUrlTree.queryParams;break;default:S=s||null}return null!==S&&(S=this.removeEmptyProps(S)),function WA(r,n,e,t,o){if(0===e.length)return pf(n.root,n.root,n,t,o);const s=function YA(r){if("string"==typeof r[0]&&1===r.length&&"/"===r[0])return new Ln(!0,0,r);let n=0,e=!1;const t=r.reduce((o,s,i)=>{if("object"==typeof s&&null!=s){if(s.outlets){const a={};return gi(s.outlets,(d,h)=>{a[h]="string"==typeof d?d.split("/"):d}),[...o,{outlets:a}]}if(s.segmentPath)return[...o,s.segmentPath]}return"string"!=typeof s?[...o,s]:0===i?(s.split("/").forEach((a,d)=>{0==d&&"."===a||(0==d&&""===a?e=!0:".."===a?n++:""!=a&&o.push(a))}),o):[...o,s]},[]);return new Ln(e,n,t)}(e);if(s.toRoot())return pf(n.root,new gt([],{}),n,t,o);const i=function _c(r,n,e){if(r.isAbsolute)return new $s(n.root,!0,0);if(-1===e.snapshot._lastPathIndex){const s=e.snapshot._urlSegment;return new $s(s,s===n.root,0)}const t=vu(r.commands[0])?0:1;return function ZA(r,n,e){let t=r,o=n,s=e;for(;s>o;){if(s-=o,t=t.parent,!t)throw new Error("Invalid number of '../'");o=t.segments.length}return new $s(t,!1,o-s)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,r.numberOfDoubleDots)}(s,n,r),a=i.processChildren?Vr(i.segmentGroup,i.index,s.commands):C_(i.segmentGroup,i.index,s.commands);return pf(i.segmentGroup,a,n,t,o)}(h,this.currentUrlTree,e,S,null!=g?g:null)}navigateByUrl(e,t={skipLocationChange:!1}){const o=So(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function rS(r){for(let n=0;n{const s=e[o];return null!=s&&(t[o]=s),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new js(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,t,o,s,i){var a,d,h;if(this.disposed)return Promise.resolve(!1);const g=this.transitions.value,S=If(t)&&g&&!If(g.source),H=g.rawUrl.toString()===e.toString(),te=g.id===(null===(a=this.currentNavigation)||void 0===a?void 0:a.id);if(S&&H&&te)return Promise.resolve(!0);let _e,Te,mt;i?(_e=i.resolve,Te=i.reject,mt=i.promise):mt=new Promise((It,oa)=>{_e=It,Te=oa});const Rt=++this.navigationId;let bt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),bt=o&&o.\u0275routerPageId?o.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(d=this.browserPageId)&&void 0!==d?d:0:(null!==(h=this.browserPageId)&&void 0!==h?h:0)+1):bt=0,this.setTransition({id:Rt,targetPageId:bt,source:t,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:s,resolve:_e,reject:Te,promise:mt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),mt.catch(It=>Promise.reject(It))}setBrowserUrl(e,t){const o=this.urlSerializer.serialize(e),s=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(o)||t.extras.replaceUrl?this.location.replaceState(o,"",s):this.location.go(o,"",s)}restoreHistory(e,t=!1){var o,s;if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)||0===i?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===i&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(i)}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,t){const o=new t_(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(o),e.resolve(!1)}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}}return r.\u0275fac=function(e){u.$Z()},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();function If(r){return"imperative"!==r}class Ou{}class Vi{preload(n,e){return(0,Ie.of)(null)}}let Z_=(()=>{class r{constructor(e,t,o,s){this.router=e,this.injector=o,this.preloadingStrategy=s,this.loader=new Pu(o,t,d=>e.triggerEvent(new o_(d)),d=>e.triggerEvent(new r_(d)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,ke.h)(e=>e instanceof js),(0,bn.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(u.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const o=[];for(const s of t)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const i=s._loadedConfig;o.push(this.processRoutes(i.module,i.routes))}else s.loadChildren&&!s.canLoad?o.push(this.preloadConfig(e,s)):s.children&&o.push(this.processRoutes(e,s.children));return(0,vi.D)(o).pipe((0,yl.J)(),(0,lt.U)(s=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ie.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,Bi.zg)(s=>(t._loadedConfig=s,this.processRoutes(s.module,s.routes)))))}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(ji),u.LFG(u.Sil),u.LFG(u.zs3),u.LFG(Ou))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),Sc=(()=>{class r{constructor(e,t,o={}){this.router=e,this.viewportScroller=t,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Xh?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof js&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof lu&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new lu(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return r.\u0275fac=function(e){u.$Z()},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const Ur=new u.OlP("ROUTER_CONFIGURATION"),Hu=new u.OlP("ROUTER_FORROOT_GUARD"),Q_=[b.Ye,{provide:sf,useClass:af},{provide:ji,useFactory:function Ff(r,n,e,t,o,s,i={},a,d){const h=new ji(null,r,n,e,t,o,u_(s));return a&&(h.urlHandlingStrategy=a),d&&(h.routeReuseStrategy=d),function Bn(r,n){r.errorHandler&&(n.errorHandler=r.errorHandler),r.malformedUriErrorHandler&&(n.malformedUriErrorHandler=r.malformedUriErrorHandler),r.onSameUrlNavigation&&(n.onSameUrlNavigation=r.onSameUrlNavigation),r.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=r.paramsInheritanceStrategy),r.relativeLinkResolution&&(n.relativeLinkResolution=r.relativeLinkResolution),r.urlUpdateStrategy&&(n.urlUpdateStrategy=r.urlUpdateStrategy),r.canceledNavigationResolution&&(n.canceledNavigationResolution=r.canceledNavigationResolution)}(i,h),i.enableTracing&&h.events.subscribe(g=>{var S,H;null===(S=console.group)||void 0===S||S.call(console,`Router Event: ${g.constructor.name}`),console.log(g.toString()),console.log(g),null===(H=console.groupEnd)||void 0===H||H.call(console)}),h},deps:[sf,Ws,b.Ye,u.zs3,u.Sil,Rf,Ur,[class q_{},new u.FiY],[class Zs{},new u.FiY]]},Ws,{provide:ar,useFactory:function AC(r){return r.routerState.root},deps:[ji]},Z_,Vi,class bC{preload(n,e){return e().pipe((0,Li.K)(()=>(0,Ie.of)(null)))}},{provide:Ur,useValue:{enableTracing:!1}}];function X_(){return new u.PXZ("Router",ji)}let Hf=(()=>{class r{constructor(e,t){}static forRoot(e,t){return{ngModule:r,providers:[Q_,ty(e),{provide:Hu,useFactory:vC,deps:[[ji,new u.FiY,new u.tp0]]},{provide:Ur,useValue:t||{}},{provide:b.S$,useFactory:ey,deps:[b.lw,[new u.tBr(b.mr),new u.FiY],Ur]},{provide:Sc,useFactory:J_,deps:[ji,b.EM,Ur]},{provide:Ou,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:Vi},{provide:u.PXZ,multi:!0,useFactory:X_},[iy,{provide:u.ip1,multi:!0,useFactory:CC,deps:[iy]},{provide:oy,useFactory:ny,deps:[iy]},{provide:u.tb,multi:!0,useExisting:oy}]]}}static forChild(e){return{ngModule:r,providers:[ty(e)]}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Hu,8),u.LFG(ji,8))},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})();function J_(r,n,e){return e.scrollOffset&&n.setOffset(e.scrollOffset),new Sc(r,n,e)}function ey(r,n,e={}){return e.useHash?new b.Do(r,n):new b.b0(r,n)}function vC(r){return"guarded"}function ty(r){return[{provide:u.deG,multi:!0,useValue:r},{provide:Rf,multi:!0,useValue:r}]}let iy=(()=>{class r{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new xe.xQ}appInitializer(){return this.injector.get(b.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const o=new Promise(a=>t=a),s=this.injector.get(ji),i=this.injector.get(Ur);return"disabled"===i.initialNavigation?(s.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(s.hooks.afterPreactivation=()=>this.initNavigation?(0,Ie.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),s.initialNavigation()):t(!0),o})}bootstrapListener(e){const t=this.injector.get(Ur),o=this.injector.get(Z_),s=this.injector.get(Sc),i=this.injector.get(ji),a=this.injector.get(u.z2F);e===a.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&i.initialNavigation(),o.setUpPreloading(),s.init(),i.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.zs3))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();function CC(r){return r.appInitializer.bind(r)}function ny(r){return r.bootstrapListener.bind(r)}const oy=new u.OlP("Router Initializer");var ry=v(6114);let sy=(()=>{class r{constructor(e,t,o,s,i){this.injector=e,this.store=t,this.dialog=o,this.route=s,this.oauthService=i,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(ji),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(a=>{a.idpFilter&&(this.filterShortname=a.idpFilter)})}getClientConfig(){const e=this.setIdpFilter(),t=e?{acr_values:e}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(t.prompt="consent"),sessionStorage.getItem("mfa_route")&&(t.acr_values="https://refeds.org/profile/mfa",t.prompt="login",t.max_age="0"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:t}}setIdpFilter(){const e=location.search.substr(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let o=null;return e.forEach(s=>{const i=s.split("=");"idpFilter"===i[0]&&t[i[1]]&&(this.filterShortname=i[1],o=t[i[1]])}),t.default&&!o?(this.filterShortname="default",t.default):o}startIdpFilterKeeper(){this.router.events.pipe((0,ke.h)(e=>e instanceof js)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substr(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,ke.h)(t=>"token_expires"===t.type)).subscribe(()=>{this.oauthService.refreshToken().then(t=>{localStorage.setItem("refresh_token",t.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(e){const t=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===e)return!0;for(const o of t)if(e.startsWith(o))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(e=>e)):Promise.resolve()}verifyAuthentication(e,t){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(o=>o?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((s,i)=>i("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const e=sessionStorage.getItem("mfa_route");if(e)return this.router.navigate([e],{replaceUrl:!0});let t=sessionStorage.getItem("auth:redirect");const o=sessionStorage.getItem("auth:queryParams");let s=[];o&&(s=o.split("&"));const i={};return s.forEach(a=>{const d=a.split("=");i[d[0]]=d[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),i.idpFilter&&(this.filterShortname=i.idpFilter),this.router.navigate([t],{queryParams:i,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.zs3),u.LFG(ki),u.LFG(Os),u.LFG(ar),u.LFG(ry.Ct))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),zf=(()=>{class r{constructor(e,t,o,s,i,a){this.authService=e,this.storeService=t,this.authResolver=o,this.authzService=s,this.dialog=i,this.router=a,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(e){this.loginScreenShown=e}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Wh();this.dialog.open(sm,t)}else this.storeService.setPerunPrincipal(e),this.authResolver.init(e)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(e=>{e()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const e=location.search.substr(1).split("&"),t={};for(const o of e){const s=o.split("=");t[s[0]]=s[1]}return this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"}).then(()=>null)}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(sy),u.LFG(ki),u.LFG(gp),u.LFG(Hi),u.LFG(Os),u.LFG(ji))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),ay=(()=>{class r{constructor(e,t){this.matIconRegistry=e,this.domSanitizer=t,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Br),u.LFG(Sn))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),kC=(()=>{class r{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ql))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,t){1&e&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"div",1),u._uU(4),u.ALo(5,"translate"),u.qZA(),u.TgZ(6,"div",2),u.TgZ(7,"div",3),u.TgZ(8,"button",4),u.NdJ("click",function(){return t.close()}),u._uU(9),u.ALo(10,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.xp6(1),u.Oqu(u.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),u.xp6(3),u.hij(" ",u.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),u.xp6(5),u.hij(" ",u.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[om,rm,Ch,eu],pipes:[ir],styles:[""]}),r})(),Lf=(()=>{class r{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),qr=(()=>{class r{constructor(e){this.translate=e,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new u.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(e,t=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===e.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===e.name?t:t+"\n"+e.name,e,e.message)}showRouteError(){const e=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),t=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(e,null,t)}showError(e,t,o,s,i){this.addNotification.emit({type:"error",error:t,description:o,title:e,actionText:void 0===s&&void 0!==o?this.getDefaultActionMessage():s,delay:this.defaultErrorDelayMs,icon:"error_outline",action:i,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,o,s){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===o&&void 0!==t?this.getDefaultActionMessage():o,delay:this.defaultSuccessDelayMs,icon:"done",action:s,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(nn))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Fu=(()=>{class r{constructor(e,t,o,s,i,a){this.authService=e,this.apiRequestConfiguration=t,this.notificator=o,this.store=s,this.dialog=i,this.initAuthService=a}intercept(e,t){const o=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==o&&-1!==e.url.toString().indexOf(o)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const a=Wh();a.width="450px",this.dialog.open(kC,a).afterClosed().subscribe(()=>{sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}e=this.initAuthService.isServiceAccess()?e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const s=this.apiRequestConfiguration.shouldHandleError(),i="POST"===e.method&&!this.store.skipOidc()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,ui.b)(a=>{a instanceof C.Zn&&i&&this.initAuthService.loadPrincipal()},a=>{const d=this.formatErrors(a,e);return void 0===d?(0,ac._)(a):s?void this.notificator.showRPCError(d):(0,ac._)(d)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let o;if(console.error(e),e.error.errorId?o=e.error:e.errorId&&(o=JSON.parse(e.error)),void 0!==o)return o.urlWithParams=t.urlWithParams,o.call=t.url,o.payload=t.body,o}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(sy),u.LFG(Lf),u.LFG(qr),u.LFG(ki),u.LFG(Os),u.LFG(zf))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),cy=(()=>{class r{constructor(e,t,o,s){this.http=e,this.notificator=t,this.authService=o,this.storeService=s}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(e,t,o,s){const i=e.error;return i.call=t,i.payload=o,s&&this.notificator.showRPCError(e.error),(0,ac._)(i)}getHeaders(){let e=new C.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue()),e}get(e,t=!0){const o=`${this.getApiUrl()}${e}`;return this.http.get(o,{headers:this.getHeaders()}).pipe((0,Li.K)(s=>this.formatErrors(s,o,null,t)))}put(e,t={},o=!0){const s=`${this.getApiUrl()}${e}`,i=JSON.stringify(t);return this.http.put(s,i,{headers:this.getHeaders()}).pipe((0,Li.K)(a=>this.formatErrors(a,s,i,o)))}post(e,t={},o=!0){const s=`${this.getApiUrl()}${e}`,i=JSON.stringify(t);let a=this.getHeaders();return a=a.set("Content-Type","application/json; charset=utf-8"),this.http.post(s,i,{headers:a}).pipe((0,Li.K)(d=>this.formatErrors(d,s,i,o)))}delete(e,t=!0){const o=`${this.getApiUrl()}${e}`;return this.http.delete(o,{headers:this.getHeaders()}).pipe((0,Li.K)(s=>this.formatErrors(s,o,null,t)))}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(qr),u.LFG(sy),u.LFG(ki))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Bf=(()=>{class r{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),o=navigator.languages.map(a=>a.split("-")[0]),s=location.search.substr(1).split("&");let i=null;for(const a of s){const d=a.split("=");"lang"===d[0]&&(i=d[1])}return i&&t.includes(i)?i:e&&t.includes(e)?e:o&&t.includes(o[0])?o[0]:"en"}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(ar),u.LFG(ki))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const lS=["*",[["mat-toolbar-row"]]],MC=["*","mat-toolbar-row"],uS=_o(class{constructor(r){this._elementRef=r}});let dS=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),r})(),ly=(()=>{class r extends uS{constructor(e,t,o){super(e),this._platform=t,this._document=o}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(Ve),u.Y36(b.K0))},r.\u0275cmp=u.Xpm({type:r,selectors:[["mat-toolbar"]],contentQueries:function(e,t,o){if(1&e&&u.Suo(o,dS,5),2&e){let s;u.iGM(s=u.CRH())&&(t._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&u.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[u.qOj],ngContentSelectors:MC,decls:2,vars:0,template:function(e,t){1&e&&(u.F$t(lS),u.Hsn(0),u.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%}\n"],encapsulation:2,changeDetection:0}),r})(),uy=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe],qe]}),r})();function xC(r,n){1&r&&(u.TgZ(0,"div",10),u.TgZ(1,"span",11),u._uU(2," ~ \u{1f5f2}\xa0 "),u.qZA(),u.TgZ(3,"span",12),u._uU(4," DEVEL "),u.qZA(),u.TgZ(5,"span",11),u._uU(6," \xa0\u{1f5f2} ~ "),u.qZA(),u.qZA())}const fS=function(r){return{background:r}},dy=function(r){return{color:r}};let pS=(()=>{class r{constructor(e,t,o,s){this.storeService=e,this.sanitizer=t,this.preferredLangService=o,this.translateService=s,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.label=this.storeService.get(`header_label_${this.preferredLangService.getPreferredLanguage(null)}`),this.isDevel=this.storeService.get("is_devel")}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.label=this.storeService.get(`header_label_${e.lang}`)}),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo"))}changeLanguage(){this.translateService.use("en"===this.translateService.currentLang?"cs":"en")}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ki),u.Y36(Sn),u.Y36(Bf),u.Y36(nn))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-header"]],decls:15,vars:19,consts:[[1,"sticky-top","header-container","mat-elevation-z3",3,"ngStyle"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],[1,"ml-3","mt-auto","mb-auto",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-language",3,"ngStyle"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],["menu","matMenu"],["mat-menu-item","",3,"click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){if(1&e&&(u.TgZ(0,"mat-toolbar",0),u.TgZ(1,"div",1),u._UZ(2,"a",2),u.TgZ(3,"p",3),u._uU(4),u.qZA(),u.qZA(),u.YNc(5,xC,7,0,"div",4),u.TgZ(6,"div",5),u.TgZ(7,"button",6),u.TgZ(8,"mat-icon",7),u._uU(9," language "),u.qZA(),u.qZA(),u.TgZ(10,"mat-menu",null,8),u.TgZ(12,"button",9),u.NdJ("click",function(){return t.changeLanguage()}),u._uU(13),u.ALo(14,"translate"),u.qZA(),u.qZA(),u.qZA(),u.qZA()),2&e){const o=u.MAs(11);u.Q6J("ngStyle",u.VKq(11,fS,t.bgColor)),u.xp6(2),u.Q6J("innerHTML",t.logo,u.oJD),u.xp6(1),u.Q6J("ngStyle",u.VKq(13,dy,t.textColor)),u.xp6(1),u.Oqu(t.label),u.xp6(1),u.Q6J("ngIf",t.isDevel),u.xp6(1),u.Q6J("ngStyle",u.VKq(15,dy,t.textColor)),u.xp6(1),u.Q6J("matMenuTriggerFor",o),u.xp6(1),u.Q6J("ngStyle",u.VKq(17,dy,t.iconColor)),u.xp6(5),u.hij(" ",u.lcZ(14,9,"HEADER.LANGUAGE")," ")}},directives:[ly,b.PC,b.O5,eu,tA,Ns,Qv,nu],pipes:[ir],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between;margin-left:8px;padding:0}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-language[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px}"]}),r})(),RC=(()=>{class r{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.Qsj),u.Y36(u.SBq))},r.\u0275dir=u.lG2({type:r}),r})(),Xs=(()=>{class r extends RC{}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275dir=u.lG2({type:r,features:[u.qOj]}),r})();const Ki=new u.OlP("NgValueAccessor"),PC={provide:Ki,useExisting:(0,u.Gpc)(()=>Js),multi:!0},$r=new u.OlP("CompositionEventMode");let Js=(()=>{class r extends RC{constructor(e,t,o){super(e,t),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function fy(){const r=(0,b.q)()?(0,b.q)().getUserAgent():"";return/android (\d+)/.test(r.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.Qsj),u.Y36(u.SBq),u.Y36($r,8))},r.\u0275dir=u.lG2({type:r,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&u.NdJ("input",function(s){return t._handleInput(s.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(s){return t._compositionEnd(s.target.value)})},features:[u._Bn([PC]),u.qOj]}),r})();function Jn(r){return null==r||0===r.length}function Lu(r){return null!=r&&"number"==typeof r.length}const hi=new u.OlP("NgValidators"),eo=new u.OlP("NgAsyncValidators"),Nf=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class lr{static min(n){return function IC(r){return n=>{if(Jn(n.value)||Jn(r))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(Jn(n.value)||Jn(r))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>r?{max:{max:r,actual:n.value}}:null}}(n)}static required(n){return HC(n)}static requiredTrue(n){return function FC(r){return!0===r.value?null:{required:!0}}(n)}static email(n){return function jf(r){return Jn(r.value)||Nf.test(r.value)?null:{email:!0}}(n)}static minLength(n){return function py(r){return n=>Jn(n.value)||!Lu(n.value)?null:n.value.lengthLu(n.value)&&n.value.length>r?{maxlength:{requiredLength:r,actualLength:n.value.length}}:null}(n)}static pattern(n){return function my(r){if(!r)return Bu;let n,e;return"string"==typeof r?(e="","^"!==r.charAt(0)&&(e+="^"),e+=r,"$"!==r.charAt(r.length-1)&&(e+="$"),n=new RegExp(e)):(e=r.toString(),n=r),t=>{if(Jn(t.value))return null;const o=t.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return kc(n)}static composeAsync(n){return qf(n)}}function HC(r){return Jn(r.value)?{required:!0}:null}function Bu(r){return null}function Vf(r){return null!=r}function Kf(r){const n=(0,u.QGY)(r)?(0,vi.D)(r):r;return(0,u.CqO)(n),n}function Gf(r){let n={};return r.forEach(e=>{n=null!=e?Object.assign(Object.assign({},n),e):n}),0===Object.keys(n).length?null:n}function _y(r,n){return n.map(e=>e(r))}function Uf(r){return r.map(n=>function zC(r){return!r.validate}(n)?n:e=>n.validate(e))}function kc(r){if(!r)return null;const n=r.filter(Vf);return 0==n.length?null:function(e){return Gf(_y(e,n))}}function yy(r){return null!=r?kc(Uf(r)):null}function qf(r){if(!r)return null;const n=r.filter(Vf);return 0==n.length?null:function(e){return Eh(_y(e,n).map(Kf)).pipe((0,lt.U)(Gf))}}function ea(r){return null!=r?qf(Uf(r)):null}function wy(r,n){return null===r?[n]:Array.isArray(r)?[...r,n]:[r,n]}function by(r){return r._rawValidators}function vy(r){return r._rawAsyncValidators}function $f(r){return r?Array.isArray(r)?r:[r]:[]}function Wf(r,n){return Array.isArray(r)?r.includes(n):r===n}function Ay(r,n){const e=$f(n);return $f(r).forEach(o=>{Wf(e,o)||e.push(o)}),e}function Cy(r,n){return $f(n).filter(e=>!Wf(r,e))}class Ty{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=yy(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=ea(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class to extends Ty{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Pi extends Ty{get formDirective(){return null}get path(){return null}}class Ey{constructor(n){this._cd=n}is(n){var e,t,o;return"submitted"===n?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(o=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===o?void 0:o[n])}}let Sy=(()=>{class r extends Ey{constructor(e){super(e)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(to,2))},r.\u0275dir=u.lG2({type:r,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&u.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[u.qOj]}),r})(),ky=(()=>{class r extends Ey{constructor(e){super(e)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(Pi,10))},r.\u0275dir=u.lG2({type:r,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&u.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[u.qOj]}),r})();function T(r,n){return[...n.path,r]}function D(r,n){ne(r,n),n.valueAccessor.writeValue(r.value),function ve(r,n){n.valueAccessor.registerOnChange(e=>{r._pendingValue=e,r._pendingChange=!0,r._pendingDirty=!0,"change"===r.updateOn&&Pe(r,n)})}(r,n),function pe(r,n){const e=(t,o)=>{n.valueAccessor.writeValue(t),o&&n.viewToModelUpdate(t)};r.registerOnChange(e),n._registerOnDestroy(()=>{r._unregisterOnChange(e)})}(r,n),function Ee(r,n){n.valueAccessor.registerOnTouched(()=>{r._pendingTouched=!0,"blur"===r.updateOn&&r._pendingChange&&Pe(r,n),"submit"!==r.updateOn&&r.markAsTouched()})}(r,n),function W(r,n){if(n.valueAccessor.setDisabledState){const e=t=>{n.valueAccessor.setDisabledState(t)};r.registerOnDisabledChange(e),n._registerOnDestroy(()=>{r._unregisterOnDisabledChange(e)})}}(r,n)}function M(r,n,e=!0){const t=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(t),n.valueAccessor.registerOnTouched(t)),ce(r,n),r&&(n._invokeOnDestroyCallbacks(),r._registerOnCollectionChange(()=>{}))}function B(r,n){r.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function ne(r,n){const e=by(r);null!==n.validator?r.setValidators(wy(e,n.validator)):"function"==typeof e&&r.setValidators([e]);const t=vy(r);null!==n.asyncValidator?r.setAsyncValidators(wy(t,n.asyncValidator)):"function"==typeof t&&r.setAsyncValidators([t]);const o=()=>r.updateValueAndValidity();B(n._rawValidators,o),B(n._rawAsyncValidators,o)}function ce(r,n){let e=!1;if(null!==r){if(null!==n.validator){const o=by(r);if(Array.isArray(o)&&o.length>0){const s=o.filter(i=>i!==n.validator);s.length!==o.length&&(e=!0,r.setValidators(s))}}if(null!==n.asyncValidator){const o=vy(r);if(Array.isArray(o)&&o.length>0){const s=o.filter(i=>i!==n.asyncValidator);s.length!==o.length&&(e=!0,r.setAsyncValidators(s))}}}const t=()=>{};return B(n._rawValidators,t),B(n._rawAsyncValidators,t),e}function Pe(r,n){r._pendingDirty&&r.markAsDirty(),r.setValue(r._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1}function Le(r,n){ne(r,n)}function ko(r,n){if(!r.hasOwnProperty("model"))return!1;const e=r.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}function Nu(r,n){r._syncPendingControls(),n.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Dc(r,n){if(!n)return null;let e,t,o;return Array.isArray(n),n.forEach(s=>{s.constructor===Js?e=s:function Qf(r){return Object.getPrototypeOf(r.constructor)===Xs}(s)?t=s:o=s}),o||t||e||null}function Mc(r,n){const e=r.indexOf(n);e>-1&&r.splice(e,1)}const Wr="VALID",ta="INVALID",ur="PENDING",Xf="DISABLED";function LC(r){return(xy(r)?r.validators:r)||null}function wS(r){return Array.isArray(r)?yy(r):r||null}function BC(r,n){return(xy(n)?n.asyncValidators:r)||null}function bS(r){return Array.isArray(r)?ea(r):r||null}function xy(r){return null!=r&&!Array.isArray(r)&&"object"==typeof r}const NC=r=>r instanceof Jf,Ry=r=>r instanceof Py,vS=r=>r instanceof ES;function AS(r){return NC(r)?r.value:r.getRawValue()}function CS(r,n){const e=Ry(r),t=r.controls;if(!(e?Object.keys(t):t).length)throw new u.vHH(1e3,"");if(!t[n])throw new u.vHH(1001,"")}function TS(r,n){Ry(r),r._forEachChild((t,o)=>{if(void 0===n[o])throw new u.vHH(1002,"")})}class jC{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=e,this._composedValidatorFn=wS(this._rawValidators),this._composedAsyncValidatorFn=bS(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Wr}get invalid(){return this.status===ta}get pending(){return this.status==ur}get disabled(){return this.status===Xf}get enabled(){return this.status!==Xf}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=wS(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=bS(n)}addValidators(n){this.setValidators(Ay(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Ay(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Cy(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Cy(n,this._rawAsyncValidators))}hasValidator(n){return Wf(this._rawValidators,n)}hasAsyncValidator(n){return Wf(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=ur,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Xf,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Wr,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wr||this.status===ur)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Xf:Wr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=ur,this._hasOwnPendingAsyncValidator=!0;const e=Kf(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){return function DD(r,n,e){if(null==n||(Array.isArray(n)||(n=n.split(e)),Array.isArray(n)&&0===n.length))return null;let t=r;return n.forEach(o=>{t=Ry(t)?t.controls.hasOwnProperty(o)?t.controls[o]:null:vS(t)&&t.at(o)||null}),t}(this,n,".")}getError(n,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new u.vpe,this.statusChanges=new u.vpe}_calculateStatus(){return this._allControlsDisabled()?Xf:this.errors?ta:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ur)?ur:this._anyControlsHaveStatus(ta)?ta:Wr}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_isBoxedValue(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){xy(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Jf extends jC{constructor(n=null,e,t){super(LC(e),BC(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),xy(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Mc(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Mc(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){this._isBoxedValue(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}}class Py extends jC{constructor(n,e,t){super(LC(e),BC(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,t={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){TS(this,n),Object.keys(n).forEach(t=>{CS(this,t),this.controls[t].setValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((t,o)=>{t.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,t)=>(n[t]=AS(e),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&n(t,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&n(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(n,e,t)=>((e.enabled||this.disabled)&&(n[t]=e.value),n))}_reduceChildren(n,e){let t=n;return this._forEachChild((o,s)=>{t=e(t,o,s)}),t}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class ES extends jC{constructor(n,e,t){super(LC(e),BC(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[n]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,t={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){TS(this,n),n.forEach((t,o)=>{CS(this,o),this.at(o).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((t,o)=>{this.at(o)&&this.at(o).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((t,o)=>{t.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>AS(n))}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_syncPendingControls(){let n=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,t)=>{n(e,t)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}}const MD={provide:Pi,useExisting:(0,u.Gpc)(()=>tp)},ep=(()=>Promise.resolve(null))();let tp=(()=>{class r extends Pi{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new u.vpe,this.form=new Py({},yy(e),ea(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ep.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),D(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ep.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){ep.then(()=>{const t=this._findContainer(e.path),o=new Py({});Le(o,e),t.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ep.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){ep.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Nu(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(hi,10),u.Y36(eo,10))},r.\u0275dir=u.lG2({type:r,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&u.NdJ("submit",function(s){return t.onSubmit(s)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u._Bn([MD]),u.qOj]}),r})();const RD={provide:to,useExisting:(0,u.Gpc)(()=>VC)},DS=(()=>Promise.resolve(null))();let VC=(()=>{class r extends to{constructor(e,t,o,s,i){super(),this._changeDetectorRef=i,this.control=new Jf,this._registered=!1,this.update=new u.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(o),this.valueAccessor=Dc(0,s)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),ko(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){D(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){DS.then(()=>{var t;this.control.setValue(e,{emitViewToModelChange:!1}),null===(t=this._changeDetectorRef)||void 0===t||t.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,o=""===t||t&&"false"!==t;DS.then(()=>{var s;o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()})}_getPath(e){return this._parent?T(e,this._parent):[e]}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(Pi,9),u.Y36(hi,10),u.Y36(eo,10),u.Y36(Ki,10),u.Y36(u.sBO,8))},r.\u0275dir=u.lG2({type:r,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[u._Bn([RD]),u.qOj,u.TTD]}),r})(),xS=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})();const KC=new u.OlP("NgModelWithFormControlWarning"),LD={provide:Pi,useExisting:(0,u.Gpc)(()=>Rc)};let Rc=(()=>{class r extends Pi{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new u.vpe,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ce(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return D(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){M(e.control||null,e,!1),Mc(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,Nu(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,o=this.form.get(e.path);t!==o&&(M(t||null,e),NC(o)&&(D(o,e),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Le(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function ht(r,n){return ce(r,n)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ne(this.form,this),this._oldForm&&ce(this._oldForm,this)}_checkFormPresent(){}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(hi,10),u.Y36(eo,10))},r.\u0275dir=u.lG2({type:r,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&u.NdJ("submit",function(s){return t.onSubmit(s)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u._Bn([LD]),u.qOj,u.TTD]}),r})();const jD={provide:to,useExisting:(0,u.Gpc)(()=>qC)};let qC=(()=>{class r extends to{constructor(e,t,o,s,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new u.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(o),this.valueAccessor=Dc(0,s)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),ko(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return T(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return r._ngModelWarningSentOnce=!1,r.\u0275fac=function(e){return new(e||r)(u.Y36(Pi,13),u.Y36(hi,10),u.Y36(eo,10),u.Y36(Ki,10),u.Y36(KC,8))},r.\u0275dir=u.lG2({type:r,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[u._Bn([jD]),u.qOj,u.TTD]}),r})(),Pc=(()=>{class r{constructor(){this._validator=Bu}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Bu,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,features:[u.TTD]}),r})();const QD={provide:hi,useExisting:(0,u.Gpc)(()=>ip),multi:!0};let ip=(()=>{class r extends Pc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function WD(r){return null!=r&&!1!==r&&"false"!=`${r}`}(e),this.createValidator=e=>HC}enabled(e){return e}}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275dir=u.lG2({type:r,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&u.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[u._Bn([QD]),u.qOj]}),r})(),US=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[xS]]}),r})(),ZC=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[US]}),r})(),ju=(()=>{class r{static withConfig(e){return{ngModule:r,providers:[{provide:KC,useValue:e.warnOnNgModelWithFormControl}]}}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[US]}),r})(),oM=(()=>{class r{group(e,t=null){const o=this._reduceControls(e);let a,s=null,i=null;return null!=t&&(function nM(r){return void 0!==r.asyncValidators||void 0!==r.validators||void 0!==r.updateOn}(t)?(s=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,a=null!=t.updateOn?t.updateOn:void 0):(s=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new Py(o,{asyncValidators:i,updateOn:a,validators:s})}control(e,t,o){return new Jf(e,t,o)}array(e,t,o){const s=e.map(i=>this._createControl(i));return new ES(s,t,o)}_reduceControls(e){const t={};return Object.keys(e).forEach(o=>{t[o]=this._createControl(e[o])}),t}_createControl(e){return NC(e)||Ry(e)||vS(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:ju}),r})();const qS=ti({passive:!0});let rM=(()=>{class r{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Xo.E;const t=jt(e),o=this._monitoredElements.get(t);if(o)return o.subject;const s=new xe.xQ,i="cdk-text-field-autofilled",a=d=>{"cdk-text-field-autofill-start"!==d.animationName||t.classList.contains(i)?"cdk-text-field-autofill-end"===d.animationName&&t.classList.contains(i)&&(t.classList.remove(i),this._ngZone.run(()=>s.next({target:d.target,isAutofilled:!1}))):(t.classList.add(i),this._ngZone.run(()=>s.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",a,qS),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:s,unlisten:()=>{t.removeEventListener("animationstart",a,qS)}}),s}stopMonitoring(e){const t=jt(e),o=this._monitoredElements.get(t);o&&(o.unlisten(),o.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ve),u.LFG(u.R0b))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),$S=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Xe]]}),r})();const WS=new u.OlP("MAT_INPUT_VALUE_ACCESSOR"),sM=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let aM=0;const cM=Ll(class{constructor(r,n,e,t){this._defaultErrorStateMatcher=r,this._parentForm=n,this._parentFormGroup=e,this.ngControl=t}});let YS=(()=>{class r extends cM{constructor(e,t,o,s,i,a,d,h,g,S){super(a,s,i,o),this._elementRef=e,this._platform=t,this._autofillMonitor=h,this._formField=S,this._uid="mat-input-"+aM++,this.focused=!1,this.stateChanges=new xe.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(he=>Ht().has(he));const H=this._elementRef.nativeElement,te=H.nodeName.toLowerCase();this._inputValueAccessor=d||H,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",he=>{const _e=he.target;!_e.value&&0===_e.selectionStart&&0===_e.selectionEnd&&(_e.setSelectionRange(1,1),_e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===te,this._isTextarea="textarea"===te,this._isInFormField=!!S,this._isNativeSelect&&(this.controlType=H.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Qe(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,t,o,s;return null!==(s=null!==(e=this._required)&&void 0!==e?e:null===(o=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===o?void 0:o.hasValidator(lr.required))&&void 0!==s&&s}set required(e){this._required=Qe(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Ht().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Qe(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const o=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(o!==this._previousPlaceholder){const s=this._elementRef.nativeElement;this._previousPlaceholder=o,o?s.setAttribute("placeholder",o):s.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){sM.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(Ve),u.Y36(to,10),u.Y36(tp,8),u.Y36(Rc,8),u.Y36(Zo),u.Y36(WS,10),u.Y36(rM),u.Y36(u.R0b),u.Y36(ec,8))},r.\u0275dir=u.lG2({type:r,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,t){1&e&&u.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(u.Ikx("disabled",t.disabled)("required",t.required),u.uIk("id",t.id)("data-placeholder",t.placeholder)("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),u.ekj("mat-input-server",t._isServer)("mat-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[u._Bn([{provide:Ja,useExisting:r}]),u.qOj,u.TTD]}),r})(),Iy=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[Zo],imports:[[$S,Ao,qe],$S,Ao]}),r})();function lM(r,n){if(1&r&&(u.O4$(),u._UZ(0,"circle",4)),2&r){const e=u.oxw(),t=u.MAs(1);u.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}function uM(r,n){if(1&r&&(u.O4$(),u._UZ(0,"circle",4)),2&r){const e=u.oxw(),t=u.MAs(1);u.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}function dM(r,n){if(1&r&&(u.O4$(),u._UZ(0,"circle",4)),2&r){const e=u.oxw(),t=u.MAs(1);u.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}function hM(r,n){if(1&r&&(u.O4$(),u._UZ(0,"circle",4)),2&r){const e=u.oxw(),t=u.MAs(1);u.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}const gM=_o(class{constructor(r){this._elementRef=r}},"primary"),ZS=new u.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function mM(){return{diameter:100}}});class Yr extends gM{constructor(n,e,t,o,s,i,a,d){super(n),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=Nt.w.EMPTY,this.mode="determinate";const h=Yr._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),h.has(t.head)||h.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===o&&!!s&&!s._forceAnimations,s&&(s.diameter&&(this.diameter=s.diameter),s.strokeWidth&&(this.strokeWidth=s.strokeWidth)),e.isBrowser&&e.SAFARI&&a&&i&&d&&(this._resizeSubscription=a.change(150).subscribe(()=>{"indeterminate"===this.mode&&d.run(()=>i.markForCheck())}))}get diameter(){return this._diameter}set diameter(n){this._diameter=pn(n),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(n){this._strokeWidth=pn(n)}get value(){return"determinate"===this.mode?this._value:0}set value(n){this._value=Math.max(0,Math.min(100,pn(n)))}ngOnInit(){const n=this._elementRef.nativeElement;this._styleRoot=$c(n)||this._document.head,this._attachStyleNode(),n.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const n=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${n} ${n}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(n){var e;const t=50*(null!==(e=n.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const n=this._styleRoot,e=this._diameter,t=Yr._diameters;let o=t.get(n);if(!o||!o.has(e)){const s=this._document.createElement("style");s.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),s.textContent=this._getAnimationText(),n.appendChild(s),o||(o=new Set,t.set(n,o)),o.add(e)}}_getAnimationText(){const n=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*n).replace(/END_VALUE/g,""+.2*n).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Yr._diameters=new WeakMap,Yr.\u0275fac=function(n){return new(n||Yr)(u.Y36(u.SBq),u.Y36(Ve),u.Y36(b.K0,8),u.Y36(Ji,8),u.Y36(ZS),u.Y36(u.sBO),u.Y36(Ar),u.Y36(u.R0b))},Yr.\u0275cmp=u.Xpm({type:Yr,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(n,e){2&n&&(u.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),u.Udp("width",e.diameter,"px")("height",e.diameter,"px"),u.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[u.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(n,e){1&n&&(u.O4$(),u.TgZ(0,"svg",0,1),u.YNc(2,lM,1,11,"circle",2),u.YNc(3,uM,1,9,"circle",3),u.qZA()),2&n&&(u.Udp("width",e.diameter,"px")("height",e.diameter,"px"),u.Q6J("ngSwitch","indeterminate"===e.mode),u.uIk("viewBox",e._getViewBox()),u.xp6(2),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let QS=(()=>{class r extends Yr{constructor(e,t,o,s,i,a,d,h){super(e,t,o,s,i,a,d,h),this.mode="indeterminate"}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(Ve),u.Y36(b.K0,8),u.Y36(Ji,8),u.Y36(ZS),u.Y36(u.sBO),u.Y36(Ar),u.Y36(u.R0b))},r.\u0275cmp=u.Xpm({type:r,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(u.Udp("width",t.diameter,"px")("height",t.diameter,"px"),u.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[u.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(u.O4$(),u.TgZ(0,"svg",0,1),u.YNc(2,dM,1,11,"circle",2),u.YNc(3,hM,1,9,"circle",3),u.qZA()),2&e&&(u.Udp("width",t.diameter,"px")("height",t.diameter,"px"),u.Q6J("ngSwitch","indeterminate"===t.mode),u.uIk("viewBox",t._getViewBox()),u.xp6(2),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),r})(),np=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe,b.ez],qe]}),r})(),XC=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Dt,b.ez]]}),r})(),yM=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[],imports:[[b.ez,Ao,Ti,ju,Iy,Qa,np,Dt,XC]]}),r})();class wM{isErrorState(n){return!!(n&&n.invalid&&n.dirty)}}const bM=(r,n,e,t=500)=>o=>Y(t).pipe((0,Ri.w)(()=>(e.dontHandleErrorForNext(),r&&"No namespace"!==r?n.checkPasswordStrength(o.value,r):(0,Ie.of)(null))),(0,lt.U)(()=>null),(0,Li.K)(s=>(0,Ie.of)({backendError:s.error.message.substr(s.error.message.indexOf(":")+1)})));function vM(r,n){1&r&&(u.TgZ(0,"mat-icon",2),u._uU(1," info "),u.qZA())}function AM(r,n){1&r&&(u.TgZ(0,"mat-icon",2),u._uU(1," warning "),u.qZA())}function CM(r,n){1&r&&(u.TgZ(0,"mat-icon",2),u._uU(1," dangerous "),u.qZA())}function TM(r,n){1&r&&(u.TgZ(0,"mat-icon",2),u._uU(1," check_circle "),u.qZA())}const EM=["*"];let JC=(()=>{class r{constructor(){}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275cmp=u.Xpm({type:r,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:EM,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(e,t){1&e&&(u.F$t(),u.TgZ(0,"div",0),u.YNc(1,vM,2,0,"mat-icon",1),u.YNc(2,AM,2,0,"mat-icon",1),u.YNc(3,CM,2,0,"mat-icon",1),u.YNc(4,TM,2,0,"mat-icon",1),u.Hsn(5),u.qZA()),2&e&&(u.ekj("warn-alert","warn"===t.alert_type)("error-alert","error"===t.alert_type)("success-alert","success"===t.alert_type)("info-alert","info"===t.alert_type),u.xp6(1),u.Q6J("ngIf","info"===t.alert_type),u.xp6(1),u.Q6J("ngIf","warn"===t.alert_type),u.xp6(1),u.Q6J("ngIf","error"===t.alert_type),u.xp6(1),u.Q6J("ngIf","success"===t.alert_type))},directives:[b.O5,Ns],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),r})();function SM(r,n){1&r&&u._UZ(0,"mat-spinner",12),2&r&&u.Q6J("diameter",18)}function kM(r,n){if(1&r&&(u.TgZ(0,"mat-icon",13),u._uU(1," error "),u.qZA()),2&r){const e=u.oxw();u.Q6J("matTooltip",e.getErrorTooltip())("matTooltipDisabled",!e.formGroup.get("passwordCtrl").hasError("backendError"))}}function DM(r,n){1&r&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&r&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function MM(r,n){if(1&r&&(u.TgZ(0,"mat-error",14),u._uU(1),u.qZA()),2&r){const e=u.oxw();u.Q6J("matTooltip",e.getErrorTooltip()),u.xp6(1),u.Oqu(e.getErrorTooltip())}}function xM(r,n){1&r&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&r&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function RM(r,n){1&r&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&r&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let PM=(()=>{class r{constructor(e,t,o){this.translator=e,this.usersManagerService=t,this.store=o,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.multiLanguage=!1,this.language="en",this.allPasswordRequirements=this.store.get("password_requirements_help"),this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new wM}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{const t=e.userAttributes.find(o=>"preferredLanguage"===o.friendlyName);this.language=t&&t.value?t.value.toString():"en","en"!==this.language&&(this.allPasswordRequirements=this.store.get(`password_requirements_help_${this.language}`)),this.changeHelp()}):this.changeHelp()}ngOnChanges(){this.allPasswordRequirements=this.store.get("en"!==this.language?`password_requirements_help_${this.language}`:"password_requirements_help"),this.changeHelp()}getPasswordDisabledTooltip(){return this.translator.instant(this.tooltipPwdViaEmail?"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_VIA_EMAIL":"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_DISABLED")}getErrorTooltip(){let e=this.formGroup.get("passwordCtrl").getError("backendError");return e&&(e=e.replace(":null","")),e}changeHelp(){this.passwordRequirement=this.allPasswordRequirements.find(e=>e.split(":")[0]===this.namespace),this.passwordRequirement=void 0===this.passwordRequirement?this.allPasswordRequirements.find(e=>"default"===e.split(":")[0]).split(/:(.+)/)[1]:this.passwordRequirement.split(/:(.+)/)[1]}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(nn),u.Y36(St),u.Y36(ki))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[u.TTD],decls:21,vars:23,consts:[[3,"formGroup"],["matTooltipPosition","left",1,"max-width",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","passwordCtrl",3,"type","required","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["matSuffix","",3,"click"],["color","warn","matSuffix","","class","error-icon",3,"matTooltip","matTooltipDisabled",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","after",3,"matTooltip",4,"ngIf"],[1,"max-width"],["matInput","","formControlName","passwordAgainCtrl",3,"type","required"],["alert_type","info"],[3,"innerHTML"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",1,"error-icon",3,"matTooltip","matTooltipDisabled"],["matTooltipPosition","after",3,"matTooltip"]],template:function(e,t){1&e&&(u.TgZ(0,"div",0),u.TgZ(1,"mat-form-field",1),u._UZ(2,"input",2),u.ALo(3,"translate"),u.YNc(4,SM,1,1,"mat-spinner",3),u.TgZ(5,"mat-icon",4),u.NdJ("click",function(){return t.showNewPassword=!t.showNewPassword}),u._uU(6),u.qZA(),u.YNc(7,kM,2,2,"mat-icon",5),u.YNc(8,DM,3,3,"mat-error",6),u.YNc(9,MM,2,2,"mat-error",7),u.qZA(),u.TgZ(10,"mat-form-field",8),u.TgZ(11,"mat-label"),u._uU(12),u.ALo(13,"translate"),u.qZA(),u._UZ(14,"input",9),u.TgZ(15,"mat-icon",4),u.NdJ("click",function(){return t.showPasswordConfirm=!t.showPasswordConfirm}),u._uU(16),u.qZA(),u.YNc(17,xM,3,3,"mat-error",6),u.YNc(18,RM,3,3,"mat-error",6),u.qZA(),u.TgZ(19,"app-alert",10),u._UZ(20,"div",11),u.qZA(),u.qZA()),2&e&&(u.Q6J("formGroup",t.formGroup),u.xp6(1),u.Q6J("matTooltip",t.getPasswordDisabledTooltip())("matTooltipDisabled",t.formGroup.get("passwordCtrl").enabled),u.xp6(1),u.s9C("placeholder",u.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),u.Q6J("type",t.showNewPassword?"text":"password")("required",t.passwordRequired)("errorStateMatcher",t.passwordStateMatcher),u.xp6(2),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").pending),u.xp6(2),u.hij(" ",t.showNewPassword?"visibility_off":"visibility"," "),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").dirty&&null!==t.formGroup.get("passwordCtrl").errors),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("required")),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("backendError")),u.xp6(3),u.Oqu(u.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),u.xp6(2),u.Q6J("type",t.showPasswordConfirm?"text":"password")("required",t.passwordRequired),u.xp6(2),u.hij(" ",t.showPasswordConfirm?"visibility_off":"visibility"," "),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("required")),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),u.xp6(2),u.Q6J("innerHTML",t.passwordRequirement,u.oJD))},directives:[ky,Rc,ym,Lv,YS,Js,Sy,qC,ip,b.O5,QS,Ph,Ns,Xa,tu,JC],pipes:[ir],styles:[".max-width[_ngcontent-%COMP%]{width:100%!important}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:5px}.error-icon[_ngcontent-%COMP%]{margin-left:5px}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:initial!important;display:block;margin-top:-1px}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper, [_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:initial!important;display:table}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}"]}),r})();function IM(r,n){if(1&r&&u._UZ(0,"perun-web-apps-password-form",4),2&r){const e=u.oxw();u.Q6J("formGroup",e.newPasswdForm)("namespace",e.namespace)("language",e.language)}}function OM(r,n){if(1&r){const e=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"button",5),u.NdJ("click",function(){return u.CHM(e),u.oxw().onSubmit()}),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()}if(2&r){const e=u.oxw();u.xp6(1),u.Q6J("disabled",e.newPasswdForm.invalid||e.newPasswdForm.pending),u.xp6(1),u.hij(" ",u.lcZ(3,2,"reset"===e.mode?"PAGES.PWD_RESET_PAGE.RESET_BUTTON":"PAGES.PWD_RESET_PAGE.ACTIVATION_BUTTON")," ")}}function HM(r,n){if(1&r&&(u.TgZ(0,"div",6),u.TgZ(1,"app-alert",7),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()),2&r){const e=u.oxw();u.xp6(2),u.hij(" ",u.lcZ(3,1,"reset"===e.mode?"PAGES.PWD_RESET_PAGE.RESET_SUCCESS":"PAGES.PWD_RESET_PAGE.ACTIVATION_SUCCESS")," ")}}function FM(r,n){1&r&&u._UZ(0,"mat-spinner",8)}let zM=(()=>{class r{constructor(e,t,o,s,i){this.storeService=e,this.translate=t,this.apiRequestConfiguration=o,this.usersService=s,this._formBuilder=i,this.loading=!1,this.success=!1,this.language="en"}ngOnInit(){this.loading=!0,this.translate.onLangChange.subscribe(e=>{this.language=e.lang}),this.newPasswdForm=this._formBuilder.group({passwordCtrl:new Jf("",lr.required,[bM(this.namespace,this.usersService,this.apiRequestConfiguration)]),passwordAgainCtrl:new Jf("",lr.required)},{validators:SA.passwordMatchValidator}),this.loading=!1}onSubmit(){this.loading=!0,this.authWithoutToken?this.usersService.changePasswordForLogin(this.login,this.namespace,this.newPasswdForm.get("passwordCtrl").value).subscribe(()=>{this.success=!0,this.loading=!1}):this.usersService.changeNonAuthzPasswordByToken(this.token,this.newPasswdForm.get("passwordCtrl").value).subscribe(()=>{this.success=!0,this.loading=!1})}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ki),u.Y36(nn),u.Y36(Lf),u.Y36(St),u.Y36(oM))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-password-reset-form"]],inputs:{mode:"mode",namespace:"namespace",login:"login",token:"token",authWithoutToken:"authWithoutToken"},decls:4,vars:4,consts:[[3,"formGroup","namespace","language",4,"ngIf"],[4,"ngIf"],["class","mt-5",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"formGroup","namespace","language"],["mat-flat-button","","color","accent",1,"mx-auto","d-block",3,"disabled","click"],[1,"mt-5"],["alert_type","success"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(u.YNc(0,IM,1,3,"perun-web-apps-password-form",0),u.YNc(1,OM,4,4,"div",1),u.YNc(2,HM,4,3,"div",2),u.YNc(3,FM,1,0,"mat-spinner",3)),2&e&&(u.Q6J("ngIf",!t.success&&!t.loading),u.xp6(1),u.Q6J("ngIf",!t.success&&!t.loading),u.xp6(1),u.Q6J("ngIf",t.success&&!t.loading),u.xp6(1),u.Q6J("ngIf",t.loading))},directives:[b.O5,PM,ky,Rc,eu,JC,QS],pipes:[ir],styles:[""]}),r})(),LM=(()=>{class r{constructor(e){this.translate=e}ngOnInit(){this.translate.onLangChange.subscribe(()=>{this.invalidRequestMessage=this.translate.instant("PAGES.PWD_RESET_PAGE.INVALID_REQUEST")})}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(nn))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-invalid-request-alert"]],decls:2,vars:1,consts:[["alert_type","info",1,"alert-wrap"],[3,"innerHTML"]],template:function(e,t){1&e&&(u.TgZ(0,"app-alert",0),u._UZ(1,"div",1),u.qZA()),2&e&&(u.xp6(1),u.Q6J("innerHTML",t.invalidRequestMessage,u.oJD))},directives:[JC],styles:[".alert-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),r})();function BM(r,n){if(1&r&&(u.O4$(),u.kcU(),u.TgZ(0,"p",9),u.TgZ(1,"em"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()),2&r){const e=u.oxw();u.xp6(2),u.AsE("",u.lcZ(3,2,"PAGES.PWD_RESET_PAGE.LOGIN"),": ",e.login,"")}}function NM(r,n){if(1&r&&(u.O4$(),u.kcU(),u.TgZ(0,"p",9),u.TgZ(1,"em"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()),2&r){const e=u.oxw();u.xp6(2),u.AsE("",u.lcZ(3,2,"PAGES.PWD_RESET_PAGE.NAMESPACE"),": ",e.namespace,"")}}function jM(r,n){if(1&r&&(u.O4$(),u.kcU(),u._UZ(0,"perun-web-apps-password-reset-form",10)),2&r){const e=u.oxw();u.Q6J("mode",e.mode)("namespace",e.namespace)("login",e.login)("token",e.token)("authWithoutToken",e.authWithoutToken)}}function VM(r,n){1&r&&(u.O4$(),u.kcU(),u._UZ(0,"perun-web-apps-invalid-request-alert"))}let KM=(()=>{class r{constructor(e,t){this.storeService=e,this.sanitizer=t}ngOnInit(){this.passwordResetLogo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("password_reset_logo"))}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ki),u.Y36(Sn))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-password-reset-page"]],inputs:{mode:"mode",token:"token",namespace:"namespace",login:"login",validToken:"validToken",authWithoutToken:"authWithoutToken"},decls:14,vars:8,consts:[[3,"innerHTML"],[1,"title-with-icon"],["xmlns","http://www.w3.org/2000/svg","width","30.000000pt","height","30.000000pt","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#000000","stroke","none"],["d","M3530 5103 c-619 -30 -1162 -438 -1356 -1020 -115 -342 -107 -702 21-1035 l36 -92 -1100 -1101 c-605 -605 -1105 -1112 -1110 -1127 -8 -22 -5 -49 15 -125 116 -450 112 -436 146 -454 42 -22 513 -139 539 -134 16 4 122 103 287 268 144 145 262 265 262 267 4 51 29 293 32 295 2 2 70 10 151 18 200 19 193 13 213 213 8 81 17 150 19 152 2 2 67 10 145 18 77 7 149 18 159 23 37 20 44 44 60 194 l16 152 125 12 c69 6 136 12 150 12 18 1 98 75 320 296 l295 295 85 -33 c586 -230 1239 -83 1665 375 405 437 514 1079 275 1629 -122 280 -336 524 -606 690 -237 145 -559 226 -844 212z m201 -184 c307 -31 569 -152 790 -366 467 -452 542 -1155 182 -1697 -187 -280 -490 -487 -823 -561 -42 -9 -144 -19 -230 -22 -236 -8 -402 24 -613 119 -65 29 -96 38 -115 33 -17 -4 -139 -118 -332 -309 l-305 -304 -169 -16 c-224 -20 -214 -11 -233 -213 -8 -81 -16 -150 -18 -152 -2 -2 -68 -10 -147 -18 -148 -14 -182 -26 -197 -66 -5 -12 -15 -85 -22 -162 l-14 -140 -140 -14 c-77 -7 -149 -17 -162 -22 -41 -15 -51 -48 -68 -219 l-16 -165 -213 -213 -212 -213 -185 47 c-101 26 -185 49 -187 50 -2 1 -26 87 -53 191 l-49 188 1115 1115 c849 849 1115 1121 1115 1139 0 13 -18 62 -39 110 -40 90 -80 211 -103 316 -20 95 -17 400 5 505 55 255 171 473 354 661 250 257 570 397 934 408 26 0 93 -4 150 -10z"],["d","M3554 4120 c-201 -30 -366 -170 -424 -359 -14 -43 -20 -92 -20 -153 0 -389 394 -632 750 -461 78 38 189 151 227 233 158 336 -58 712 -427 743 -30 3 -78 1 -106 -3z m138 -181 c108 -23 190 -89 239 -192 37 -80 40 -177 7 -264 -30 -80 -112 -162 -193 -192 -121 -45 -270 -14 -358 75 -164 165 -121 440 83 544 72 37 142 46 222 29z"],["class","subtitle",4,"ngIf"],[3,"mode","namespace","login","token","authWithoutToken",4,"ngIf"],[4,"ngIf"],[1,"subtitle"],[3,"mode","namespace","login","token","authWithoutToken"]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u._UZ(1,"div",0),u.TgZ(2,"div",1),u.TgZ(3,"h1"),u._uU(4),u.ALo(5,"translate"),u.qZA(),u.O4$(),u.TgZ(6,"svg",2),u.TgZ(7,"g",3),u._UZ(8,"path",4),u._UZ(9,"path",5),u.qZA(),u.qZA(),u.qZA(),u.YNc(10,BM,4,4,"p",6),u.YNc(11,NM,4,4,"p",6),u.YNc(12,jM,1,5,"perun-web-apps-password-reset-form",7),u.YNc(13,VM,1,0,"perun-web-apps-invalid-request-alert",8),u.qZA()),2&e&&(u.xp6(1),u.Q6J("innerHTML",t.passwordResetLogo,u.oJD),u.xp6(3),u.hij(" ",u.lcZ(5,6,"reset"===t.mode?"PAGES.PWD_RESET_PAGE.TITLE_RESET":"PAGES.PWD_RESET_PAGE.TITLE_ACTIVATION")," "),u.xp6(6),u.Q6J("ngIf",t.login),u.xp6(1),u.Q6J("ngIf",t.namespace),u.xp6(1),u.Q6J("ngIf",t.validToken||t.authWithoutToken),u.xp6(1),u.Q6J("ngIf",!t.validToken&&!t.authWithoutToken))},directives:[b.O5,zM,LM],pipes:[ir],styles:[".title-with-icon[_ngcontent-%COMP%]{margin-top:30px;display:flex;justify-content:space-between}.subtitle[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:10px}"]}),r})();function GM(r,n){1&r&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&r&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let UM=(()=>{class r{constructor(e,t,o,s,i){this.dialogRef=e,this.translate=t,this.notificator=o,this.rtMessages=s,this.storeService=i,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+e.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+v(4147).i8}close(){this.dialogRef.close()}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ql),u.Y36(nn),u.Y36(qr),u.Y36(Et),u.Y36(ki))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){if(1&e&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"div",1),u.TgZ(4,"mat-form-field"),u.TgZ(5,"mat-label"),u._uU(6),u.ALo(7,"translate"),u.qZA(),u.TgZ(8,"input",2,3),u.NdJ("ngModelChange",function(s){return t.subject=s}),u.qZA(),u.YNc(10,GM,3,3,"mat-error",4),u.qZA(),u.TgZ(11,"mat-form-field"),u.TgZ(12,"mat-label"),u._uU(13),u.ALo(14,"translate"),u.qZA(),u.TgZ(15,"textarea",5),u.NdJ("ngModelChange",function(s){return t.message=s}),u.ALo(16,"translate"),u._uU(17," "),u.qZA(),u.TgZ(18,"mat-hint"),u._uU(19),u.ALo(20,"translate"),u.qZA(),u.qZA(),u.qZA(),u.TgZ(21,"div",6),u.TgZ(22,"div",7),u.TgZ(23,"button",8),u.NdJ("click",function(){return t.close()}),u._uU(24),u.ALo(25,"translate"),u.qZA(),u.TgZ(26,"button",9),u.NdJ("click",function(){return t.sendBugReport()}),u._uU(27),u.ALo(28,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e){const o=u.MAs(9);u.xp6(1),u.Oqu(u.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),u.xp6(5),u.Oqu(u.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),u.xp6(2),u.Q6J("ngModel",t.subject),u.xp6(2),u.Q6J("ngIf",o.invalid),u.xp6(3),u.Oqu(u.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),u.xp6(2),u.s9C("placeholder",u.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),u.Q6J("ngModel",t.message),u.xp6(4),u.Oqu(u.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),u.xp6(5),u.hij(" ",u.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),u.xp6(2),u.Q6J("disabled",o.invalid),u.xp6(1),u.hij(" ",u.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[om,rm,ym,tu,YS,Js,ip,Sy,VC,b.O5,Xa,hm,Ch,eu],pipes:[ir],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),r})(),qM=(()=>{class r{transform(e,t,o){return e[`${o}_${t}`]}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275pipe=u.Yjl({name:"localisedText",type:r,pure:!0}),r})(),$M=(()=>{class r{transform(e,t){return e["link_"+t]||e.link_en}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275pipe=u.Yjl({name:"localisedLink",type:r,pure:!0}),r})(),WM=(()=>{class r{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275pipe=u.Yjl({name:"footerLogoPath",type:r,pure:!0}),r})();function YM(r,n){if(1&r&&(u.TgZ(0,"a",13),u.ALo(1,"localisedLink"),u._UZ(2,"img",14),u.ALo(3,"footerLogoPath"),u.qZA()),2&r){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("href",u.xi3(1,2,e,t.language),u.LSH),u.xp6(2),u.s9C("src",u.lcZ(3,5,e.logo),u.LSH)}}function ZM(r,n){if(1&r&&(u.TgZ(0,"span"),u._UZ(1,"img",14),u.ALo(2,"footerLogoPath"),u.qZA()),2&r){const e=u.oxw().$implicit;u.xp6(1),u.s9C("src",u.lcZ(2,1,e.logo),u.LSH)}}function QM(r,n){if(1&r&&(u.TgZ(0,"div"),u.YNc(1,YM,4,7,"a",11),u.ALo(2,"localisedLink"),u.YNc(3,ZM,3,3,"span",12),u.ALo(4,"localisedLink"),u.qZA()),2&r){const e=n.$implicit,t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",u.xi3(2,2,e,t.language)),u.xp6(2),u.Q6J("ngIf",!u.xi3(4,5,e,t.language))}}const XM=function(r){return{"min-height":r}};function JM(r,n){if(1&r&&(u.TgZ(0,"div",10),u.YNc(1,QM,5,8,"div",5),u.qZA()),2&r){const e=u.oxw().$implicit,t=u.oxw();u.Q6J("ngStyle",u.VKq(2,XM,t.columnContentHeight+"px")),u.xp6(1),u.Q6J("ngForOf",e.elements)}}const ia=function(r){return{color:r}};function ex(r,n){if(1&r&&(u.TgZ(0,"i",20),u._uU(1),u.qZA()),2&r){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("ngStyle",u.VKq(2,ia,t.linksTextColor)),u.xp6(1),u.hij(" ",e.icon," ")}}function tx(r,n){if(1&r){const e=u.EpF();u.TgZ(0,"span",21),u.NdJ("click",function(){u.CHM(e);const o=u.oxw().$implicit;return u.oxw(3).openDialog(o.dialog)}),u._uU(1),u.ALo(2,"localisedText"),u.qZA()}if(2&r){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("ngStyle",u.VKq(6,ia,t.linksTextColor)),u.xp6(1),u.hij("",u.Dn7(2,2,e,t.language,"label")," ")}}function ix(r,n){if(1&r&&(u.TgZ(0,"a",22),u.ALo(1,"localisedLink"),u._uU(2),u.ALo(3,"localisedText"),u.qZA()),2&r){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("href",u.xi3(1,3,e,t.language),u.LSH)("ngStyle",u.VKq(10,ia,t.linksTextColor)),u.xp6(2),u.Oqu(u.Dn7(3,6,e,t.language,"label"))}}function nx(r,n){if(1&r&&(u.TgZ(0,"span",10),u._uU(1),u.ALo(2,"localisedText"),u.qZA()),2&r){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("ngStyle",u.VKq(6,ia,t.linksTextColor)),u.xp6(1),u.Oqu(u.Dn7(2,2,e,t.language,"label"))}}function ox(r,n){if(1&r&&(u.TgZ(0,"div",16),u.YNc(1,ex,2,4,"i",17),u.YNc(2,tx,3,8,"span",18),u.YNc(3,ix,4,12,"a",19),u.ALo(4,"localisedLink"),u.YNc(5,nx,3,8,"span",9),u.ALo(6,"localisedLink"),u.qZA()),2&r){const e=n.$implicit,t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",e.icon),u.xp6(1),u.Q6J("ngIf",e.dialog),u.xp6(1),u.Q6J("ngIf",u.xi3(4,4,e,t.language)&&!e.dialog),u.xp6(2),u.Q6J("ngIf",!u.xi3(6,7,e,t.language)&&!e.dialog)}}const rx=function(r){return{height:r}};function sx(r,n){if(1&r&&(u.TgZ(0,"div",10),u.YNc(1,ox,7,10,"div",15),u.qZA()),2&r){const e=u.oxw().$implicit,t=u.oxw();u.Q6J("ngStyle",u.VKq(2,rx,t.columnContentHeight+"px")),u.xp6(1),u.Q6J("ngForOf",e.elements)}}function ax(r,n){if(1&r&&(u.TgZ(0,"div",7),u.TgZ(1,"h6",8),u._uU(2),u.ALo(3,"localisedText"),u.qZA(),u.YNc(4,JM,2,4,"div",9),u.YNc(5,sx,2,4,"div",9),u.qZA()),2&r){const e=n.$implicit,t=u.oxw();u.ekj("my-auto",t.containsLogos),u.xp6(1),u.Q6J("ngStyle",u.VKq(10,ia,t.headersTextColor)),u.xp6(1),u.hij(" ",u.Dn7(3,6,e,t.language,"title")," "),u.xp6(2),u.Q6J("ngIf",e.logos),u.xp6(1),u.Q6J("ngIf",e.elements&&!e.logos)}}function cx(r,n){if(1&r&&(u.TgZ(0,"span"),u.TgZ(1,"a",6),u._uU(2),u.qZA(),u.qZA()),2&r){const e=n.$implicit,t=n.index,o=u.oxw();u.xp6(1),u.Q6J("href",e.url,u.LSH)("ngStyle",u.VKq(3,ia,o.copyrightTextColor)),u.xp6(1),u.Oqu(t?", "+e.name:e.name)}}const lx=function(r){return{background:r}};let ux=(()=>{class r{constructor(e,t,o){this.storeService=e,this.translateService=t,this.dialog=o,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.language=e.lang}),this.version=v(4147).i8,this.items=this.storeService.get("footer","columns");for(const e of this.items)e.logos?this.containsLogos=!0:25*e.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*e.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(e){const t=Wh();"reportIssue"===e&&(t.width="550px",this.dialog.open(UM,t))}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ki),u.Y36(nn),u.Y36(Os))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(e,t){1&e&&(u.TgZ(0,"footer",0),u.TgZ(1,"div",1),u.YNc(2,ax,6,12,"div",2),u.qZA(),u._UZ(3,"hr",3),u.TgZ(4,"div",4),u._uU(5),u.YNc(6,cx,3,5,"span",5),u._uU(7," Version "),u.TgZ(8,"a",6),u._uU(9),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.Q6J("ngStyle",u.VKq(8,lx,t.bgColor)),u.xp6(2),u.Q6J("ngForOf",t.items),u.xp6(2),u.Q6J("ngStyle",u.VKq(10,ia,t.copyrightTextColor)),u.xp6(1),u.hij(" \xa9 ",t.currentYear," Copyright: "),u.xp6(1),u.Q6J("ngForOf",t.copyrightItems),u.xp6(2),u.Q6J("href",t.githubRepository,u.LSH)("ngStyle",u.VKq(12,ia,t.copyrightTextColor)),u.xp6(1),u.Oqu(t.version))},directives:[b.PC,b.sg,b.O5],pipes:[qM,$M,WM],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}"]}),r})();const dx=["footer"],hx=function(r){return{background:r}},fx=function(r){return{"min-height":r}};let px=(()=>{class r{constructor(e,t,o,s,i,a,d){this.dialog=e,this.usersService=t,this.preferredLangService=o,this.translateService=s,this.store=i,this.attributesManagerService=a,this.changeDetector=d,this.authWithoutToken=!1,this.contentHeight="calc(100vh - 84px)",this.contentBackgroundColor=this.store.get("theme","content_bg_color")}ngOnInit(){const e=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(e);const t=location.search.substr(1);this.mode=t.includes("activation")?"activation":"reset",this.namespace=this.parseQueryParams("namespace",t),t.includes("token")?(this.token=this.parseQueryParams("token",t),this.usersService.checkPasswordResetRequestByTokenIsValid(this.token).subscribe(()=>{this.validToken=!0},()=>{this.validToken=!1})):(this.authWithoutToken=!0,this.attributesManagerService.getLogins(this.store.getPerunPrincipal().userId).subscribe(o=>{const s=o.find(i=>i.friendlyNameParameter===this.namespace);this.login=s?s.value.toString():""}))}parseQueryParams(e,t){const o=t.split("&");for(const s of o){const[i,a]=s.split("=");if(i.includes(e))return a}}ngAfterViewInit(){this.contentHeight="calc(100vh - 84px - "+this.footer.nativeElement.offsetHeight+"px)",this.changeDetector.detectChanges()}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(Os),u.Y36(St),u.Y36(Bf),u.Y36(nn),u.Y36(ki),u.Y36(un),u.Y36(u.sBO))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&u.Gf(dx,5),2&e){let o;u.iGM(o=u.CRH())&&(t.footer=o.first)}},decls:8,vars:12,consts:[["id","nav-menu"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],[3,"mode","token","namespace","login","validToken","authWithoutToken"],["footer",""]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u._UZ(1,"perun-web-apps-header",0),u.TgZ(2,"div",1),u.TgZ(3,"div",2),u._UZ(4,"perun-web-apps-password-reset-page",3),u.qZA(),u.TgZ(5,"div",null,4),u._UZ(7,"perun-web-apps-footer"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.xp6(2),u.Q6J("ngStyle",u.VKq(8,hx,t.contentBackgroundColor)),u.xp6(1),u.Q6J("ngStyle",u.VKq(10,fx,t.contentHeight)),u.xp6(1),u.Q6J("mode",t.mode)("token",t.token)("namespace",t.namespace)("login",t.login)("validToken",t.validToken)("authWithoutToken",t.authWithoutToken))},directives:[pS,b.PC,KM,ux],styles:["#nav-menu[_ngcontent-%COMP%]{top:0;background:#102027;position:fixed;width:100%;z-index:999;height:64px;max-height:64px}#content-inner[_ngcontent-%COMP%]{position:relative;padding-top:64px}#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px;margin:10px}@media (min-width: 450px){#content-wrap[_ngcontent-%COMP%]{max-width:400px;margin-left:auto;margin-right:auto}}"]}),r})();class gx{constructor(n,e="/assets/i18n/",t=".json"){this.http=n,this.prefix=e,this.suffix=t}getTranslation(n){return this.http.get(`${this.prefix}${n}${this.suffix}`)}}let mx=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[b.ez,$l,vo,Qa]]}),r})();const _x=[];let yx=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Hf.forRoot(_x,{relativeLinkResolution:"legacy"}),b.ez],Hf]}),r})(),wx=(()=>{class r{constructor(e,t,o,s,i){this.http=e,this.storeService=t,this.authzSevice=o,this.titleService=s,this.utilsService=i}initializeColors(e,t){return new Promise(o=>{t.forEach(s=>{const i=this.storeService.get("theme",s.configValue);document.documentElement.style.setProperty(s.cssVariable,i)}),e.forEach(s=>{const i=this.storeService.get("theme",s.configValue);document.documentElement.style.setProperty(s.cssVariable,i),this.setEntityTheme(s.entity,i)}),o()})}setEntityTheme(e,t){const o=function bx(r){return[vn(tinycolor(r).lighten(52),"50"),vn(tinycolor(r).lighten(37),"100"),vn(tinycolor(r).lighten(26),"200"),vn(tinycolor(r).lighten(12),"300"),vn(tinycolor(r).lighten(6),"400"),vn(tinycolor(r),"500"),vn(tinycolor(r).darken(6),"600"),vn(tinycolor(r).darken(12),"700"),vn(tinycolor(r).darken(18),"800"),vn(tinycolor(r).darken(24),"900"),vn(tinycolor(r).lighten(50).saturate(30),"A100"),vn(tinycolor(r).lighten(30).saturate(30),"A200"),vn(tinycolor(r).lighten(10).saturate(15),"A400"),vn(tinycolor(r).lighten(5).saturate(5),"A700")]}(t);for(const s of o){const d=`--${e}-theme-primary-contrast-${s.name}`,h=s.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${s.name}`,`${s.red},${s.green},${s.blue}`),document.documentElement.style.setProperty(d,h)}}loadAppDefaultConfig(){return new Promise(e=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setDefaultConfig(t),e()})})}loadAppInstanceConfig(){return new Promise(e=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setInstanceConfig(t);const o=document.location.hostname;void 0!==t.brandings&&void 0!==t.brandings[o]&&this.storeService.setBanding(o),e()},()=>{console.log("instance config not detected"),e()})})}getNoCacheHeaders(){return new C.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(e=>{const t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(t),e()})}setApiUrl(){return new Promise(e=>{let t=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(t=t.replace("oauth","ba")),this.authzSevice.configuration.basePath=t,this.titleService.setTitle(this.storeService.get("document_title")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(o=>{this.storeService.setAppsConfig(o),e()},o=>t(o))})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(ki),u.LFG(Hi),u.LFG(Oi),u.LFG(Kn))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();function vn(r,n){const e=tinycolor(r),t=e.toRgb();return{name:n,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let vx=(()=>{class r{constructor(e,t,o){this.initAuthService=e,this.appConfigService=t,this.location=o}loadConfigs(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>location.search.substr(1).includes("token")?Promise.resolve(!0):this.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?location.search.substr(1).includes("token")?void 0:this.initAuthService.loadPrincipal():this.initAuthService.handleAuthStart())}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(zf),u.LFG(wx),u.LFG(b.Ye))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const Ax=new u.OlP("perun-api-service");let XS=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe],qe]}),r})(),tk=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})(),Oy=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Wn,qe,Jp,tk],qe,tk]}),r})(),e0=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe],qe]}),r})(),Ox=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})(),nk=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[b.ez,qe,Ox,zo]]}),r})(),rk=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Is,qe],Is,qe]}),r})(),zx=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Oo]]}),r})(),t0=(()=>{class r{constructor(){this.changes=new xe.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const Wx={provide:t0,deps:[[new u.FiY,new u.tp0,t0]],useFactory:function $x(r){return r||new t0}};let ak=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[Wx,Zo],imports:[[qe,b.ez,zo,vo,zx,Dt,Wn],qe]}),r})(),lR=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[ps]]}),r})(),p0=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[lR,qe],qe]}),r})(),FR=(()=>{class r{constructor(){this.changes=new xe.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const BR={provide:new u.OlP("mat-datepicker-scroll-strategy"),deps:[Mn],useFactory:function LR(r){return()=>r.scrollStrategies.reposition()}};let g0=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[FR,BR],imports:[[b.ez,vo,ao,Id,zo,qe],Dn]}),r})(),Ck=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[b.ez,qe,Xe,Dn],Dn,qe]}),r})(),Ek=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Is,Wn,qe,Qo,b.ez],Is,qe,Qo,e0]}),r})(),m0=(()=>{class r{constructor(){this.changes=new xe.xQ}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const rP={provide:m0,deps:[[new u.FiY,new u.tp0,m0]],useFactory:function oP(r){return r||new m0}};let _0=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[rP],imports:[[b.ez,qe]]}),r})();const Mk=new u.OlP("mat-chips-default-options");let yP=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[Zo,{provide:Mk,useValue:{separatorKeyCodes:[13]}}],imports:[[qe]]}),r})();function bP(r){const{subscriber:n,counter:e,period:t}=r;n.next(e),this.schedule({subscriber:n,counter:e+1,period:t},t)}function w0(r,n,e){for(let t in n)if(n.hasOwnProperty(t)){const o=n[t];o?r.setProperty(t,o,(null==e?void 0:e.has(t))?"important":""):r.removeProperty(t)}return r}function qu(r,n){const e=n?"":"none";w0(r.style,{"touch-action":n?"":"none","-webkit-user-drag":n?"":"none","-webkit-tap-highlight-color":n?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function xk(r,n,e){w0(r.style,{position:n?"":"fixed",top:n?"":"0",opacity:n?"":"0",left:n?"":"-999em"},e)}function Wy(r,n){return n&&"none"!=n?r+" "+n:r}function Rk(r){const n=r.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(r)*n}function b0(r,n){return r.getPropertyValue(n).split(",").map(t=>t.trim())}function v0(r){const n=r.getBoundingClientRect();return{top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:n.width,height:n.height,x:n.x,y:n.y}}function A0(r,n,e){const{top:t,bottom:o,left:s,right:i}=r;return e>=t&&e<=o&&n>=s&&n<=i}function ap(r,n,e){r.top+=n,r.bottom=r.top+r.height,r.left+=e,r.right=r.left+r.width}function Pk(r,n,e,t){const{top:o,right:s,bottom:i,left:a,width:d,height:h}=r,g=d*n,S=h*n;return t>o-S&&ta-g&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:v0(e)})})}handleScroll(n){const e=fe(n),t=this.positions.get(e);if(!t)return null;const o=t.scrollPosition;let s,i;if(e===this._document){const h=this._viewportRuler.getViewportScrollPosition();s=h.top,i=h.left}else s=e.scrollTop,i=e.scrollLeft;const a=o.top-s,d=o.left-i;return this.positions.forEach((h,g)=>{h.clientRect&&e!==g&&e.contains(g)&&ap(h.clientRect,a,d)}),o.top=s,o.left=i,{top:a,left:d}}}function Ok(r){const n=r.cloneNode(!0),e=n.querySelectorAll("[id]"),t=r.nodeName.toLowerCase();n.removeAttribute("id");for(let o=0;o{if(this.beforeStarted.next(),this._handles.length){const d=this._handles.find(h=>a.target&&(a.target===h||h.contains(a.target)));d&&!this._disabledHandles.has(d)&&!this.disabled&&this._initializeDragSequence(d,a)}else this.disabled||this._initializeDragSequence(this._rootElement,a)},this._pointerMove=a=>{const d=this._getPointerPositionOnPage(a);if(!this._hasStartedDragging){if(Math.abs(d.x-this._pickupPositionOnPage.x)+Math.abs(d.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const te=Date.now()>=this._dragStartTime+this._getDragStartDelay(a),he=this._dropContainer;if(!te)return void this._endDragSequence(a);(!he||!he.isDragging()&&!he.isReceiving())&&(a.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(a)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),a.preventDefault();const h=this._getConstrainedPointerPosition(d);if(this._hasMoved=!0,this._lastKnownPointerPosition=d,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,d);else{const g=this._activeTransform;g.x=h.x-this._pickupPositionOnPage.x+this._passiveTransform.x,g.y=h.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(g.x,g.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:a,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=a=>{this._endDragSequence(a)},this.withRootElement(n).withParent(e.parentDragRef||null),this._parentPositions=new Ik(t,s),i.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(n){const e=Qe(n);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>qu(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(n){this._handles=n.map(t=>jt(t)),this._handles.forEach(t=>qu(t,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t)}),this._disabledHandles=e,this}withPreviewTemplate(n){return this._previewTemplate=n,this}withPlaceholderTemplate(n){return this._placeholderTemplate=n,this}withRootElement(n){const e=jt(n);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,Bk),e.addEventListener("touchstart",this._pointerDown,Lk)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(n){return this._boundaryElement=n?jt(n):null,this._resizeSubscription.unsubscribe(),n&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(n){return this._parentDragRef=n,this}dispose(){var n,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(n=this._rootElement)||void 0===n||n.remove()),null===(e=this._anchor)||void 0===e||e.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(n){!this._disabledHandles.has(n)&&this._handles.indexOf(n)>-1&&(this._disabledHandles.add(n),qu(n,!0))}enableHandle(n){this._disabledHandles.has(n)&&(this._disabledHandles.delete(n),qu(n,this.disabled))}withDirection(n){return this._direction=n,this}_withDropContainer(n){this._dropContainer=n}getFreeDragPosition(){const n=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:n.x,y:n.y}}setFreeDragPosition(n){return this._activeTransform={x:0,y:0},this._passiveTransform.x=n.x,this._passiveTransform.y=n.y,this._dropContainer||this._applyRootElementTransform(n.x,n.y),this}withPreviewContainer(n){return this._previewContainer=n,this}_sortFromLastPointerPosition(){const n=this._lastKnownPointerPosition;n&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(n),n)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var n,e;null===(n=this._preview)||void 0===n||n.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var n,e;null===(n=this._placeholder)||void 0===n||n.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(n){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(n),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(n);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(n){cp(n)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,o=t.parentNode,s=this._placeholder=this._createPlaceholderElement(),i=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();o.insertBefore(i,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),xk(t,!1,C0),this._document.body.appendChild(o.replaceChild(s,t)),this._getPreviewInsertionPoint(o,a).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(n,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),o=cp(e),s=!o&&0!==e.button,i=this._rootElement,a=fe(e),d=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=o?Ia(e):ml(e);if(a&&a.draggable&&"mousedown"===e.type&&e.preventDefault(),t||s||d||h)return;if(this._handles.length){const H=i.style;this._rootElementTapHighlight=H.webkitTapHighlightColor||"",H.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(H=>this._updateOnScroll(H)),this._boundaryElement&&(this._boundaryRect=v0(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(n,e);const S=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:S.x,y:S.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(n){xk(this._rootElement,!0,C0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,t=e.getItemIndex(this),o=this._getPointerPositionOnPage(n),s=this._getDragDistance(o),i=e._isOverContainer(o.x,o.y);this.ended.next({source:this,distance:s,dropPoint:o}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:i,distance:s,dropPoint:o}),e.drop(this,t,this._initialIndex,this._initialContainer,i,s,o),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:n,y:e},{x:t,y:o}){let s=this._initialContainer._getSiblingContainerFromPosition(this,n,e);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,e)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=s,this._dropContainer.enter(this,n,e,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,o),this._dropContainer._sortItem(this,n,e,this._pointerDirectionDelta),this._applyPreviewTransform(n-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const n=this._previewTemplate,e=this.previewClass,t=n?n.template:null;let o;if(t&&n){const s=n.matchSize?this._rootElement.getBoundingClientRect():null,i=n.viewContainer.createEmbeddedView(t,n.context);i.detectChanges(),o=jk(i,this._document),this._previewRef=i,n.matchSize?Vk(o,s):o.style.transform=Yy(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const s=this._rootElement;o=Ok(s),Vk(o,s.getBoundingClientRect()),this._initialTransform&&(o.style.transform=this._initialTransform)}return w0(o.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},C0),qu(o,!1),o.classList.add("cdk-drag-preview"),o.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(s=>o.classList.add(s)):o.classList.add(e)),o}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const n=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(n.left,n.top);const e=function vP(r){const n=getComputedStyle(r),e=b0(n,"transition-property"),t=e.find(a=>"transform"===a||"all"===a);if(!t)return 0;const o=e.indexOf(t),s=b0(n,"transition-duration"),i=b0(n,"transition-delay");return Rk(s[o])+Rk(i[o])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const o=i=>{var a;(!i||fe(i)===this._preview&&"transform"===i.propertyName)&&(null===(a=this._preview)||void 0===a||a.removeEventListener("transitionend",o),t(),clearTimeout(s))},s=setTimeout(o,1.5*e);this._preview.addEventListener("transitionend",o)}))}_createPlaceholderElement(){const n=this._placeholderTemplate,e=n?n.template:null;let t;return e?(this._placeholderRef=n.viewContainer.createEmbeddedView(e,n.context),this._placeholderRef.detectChanges(),t=jk(this._placeholderRef,this._document)):t=Ok(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(n,e){const t=this._rootElement.getBoundingClientRect(),o=n===this._rootElement?null:n,s=o?o.getBoundingClientRect():t,i=cp(e)?e.targetTouches[0]:e,a=this._getViewportScrollPosition();return{x:s.left-t.left+(i.pageX-s.left-a.left),y:s.top-t.top+(i.pageY-s.top-a.top)}}_getPointerPositionOnPage(n){const e=this._getViewportScrollPosition(),t=cp(n)?n.touches[0]||n.changedTouches[0]||{pageX:0,pageY:0}:n,o=t.pageX-e.left,s=t.pageY-e.top;if(this._ownerSVGElement){const i=this._ownerSVGElement.getScreenCTM();if(i){const a=this._ownerSVGElement.createSVGPoint();return a.x=o,a.y=s,a.matrixTransform(i.inverse())}}return{x:o,y:s}}_getConstrainedPointerPosition(n){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:o}=this.constrainPosition?this.constrainPosition(n,this):n;if("x"===this.lockAxis||"x"===e?o=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:s,y:i}=this._pickupPositionInElement,a=this._boundaryRect,d=this._previewRect,h=a.top+i,g=a.bottom-(d.height-i);t=Nk(t,a.left+s,a.right-(d.width-s)),o=Nk(o,h,g)}return{x:t,y:o}}_updatePointerDirectionDelta(n){const{x:e,y:t}=n,o=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,i=Math.abs(e-s.x),a=Math.abs(t-s.y);return i>this._config.pointerDirectionChangeThreshold&&(o.x=e>s.x?1:-1,s.x=e),a>this._config.pointerDirectionChangeThreshold&&(o.y=t>s.y?1:-1,s.y=t),o}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const n=this._handles.length>0||!this.isDragging();n!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=n,qu(this._rootElement,n))}_removeRootElementListeners(n){n.removeEventListener("mousedown",this._pointerDown,Bk),n.removeEventListener("touchstart",this._pointerDown,Lk)}_applyRootElementTransform(n,e){const t=Yy(n,e),o=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=o.transform&&"none"!=o.transform?o.transform:""),o.transform=Wy(t,this._initialTransform)}_applyPreviewTransform(n,e){var t;const o=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,s=Yy(n,e);this._preview.style.transform=Wy(s,o)}_getDragDistance(n){const e=this._pickupPositionOnPage;return e?{x:n.x-e.x,y:n.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:n,y:e}=this._passiveTransform;if(0===n&&0===e||this.isDragging()||!this._boundaryElement)return;const t=this._boundaryElement.getBoundingClientRect(),o=this._rootElement.getBoundingClientRect();if(0===t.width&&0===t.height||0===o.width&&0===o.height)return;const s=t.left-o.left,i=o.right-t.right,a=t.top-o.top,d=o.bottom-t.bottom;t.width>o.width?(s>0&&(n+=s),i>0&&(n-=i)):n=0,t.height>o.height?(a>0&&(e+=a),d>0&&(e-=d)):e=0,(n!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:n})}_getDragStartDelay(n){const e=this.dragStartDelay;return"number"==typeof e?e:cp(n)?e.touch:e?e.mouse:0}_updateOnScroll(n){const e=this._parentPositions.handleScroll(n);if(e){const t=fe(n);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&ap(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const n=this._parentPositions.positions.get(this._document);return n?n.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=$c(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(n,e){const t=this._previewContainer||"global";if("parent"===t)return n;if("global"===t){const o=this._document;return e||o.fullscreenElement||o.webkitFullscreenElement||o.mozFullScreenElement||o.msFullscreenElement||o.body}return jt(t)}}function Yy(r,n){return`translate3d(${Math.round(r)}px, ${Math.round(n)}px, 0)`}function Nk(r,n,e){return Math.max(n,Math.min(e,r))}function cp(r){return"t"===r.type[0]}function jk(r,n){const e=r.rootNodes;if(1===e.length&&e[0].nodeType===n.ELEMENT_NODE)return e[0];const t=n.createElement("div");return e.forEach(o=>t.appendChild(o)),t}function Vk(r,n){r.style.width=`${n.width}px`,r.style.height=`${n.height}px`,r.style.transform=Yy(n.left,n.top)}function lp(r,n){return Math.max(0,Math.min(n,r))}class SP{constructor(n,e,t,o,s){this._dragDropRegistry=e,this._ngZone=o,this._viewportRuler=s,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new xe.xQ,this.entered=new xe.xQ,this.exited=new xe.xQ,this.dropped=new xe.xQ,this.sorted=new xe.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=Nt.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new xe.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function wP(r=0,n=br.P){return(!E(r)||r<0)&&(r=0),(!n||"function"!=typeof n.schedule)&&(n=br.P),new bi.y(e=>(e.add(n.schedule(bP,r,{subscriber:e,counter:0,period:r})),e))}(0,Gc).pipe(yt(this._stopScrollTimers)).subscribe(()=>{const i=this._scrollNode,a=this.autoScrollStep;1===this._verticalScrollDirection?i.scrollBy(0,-a):2===this._verticalScrollDirection&&i.scrollBy(0,a),1===this._horizontalScrollDirection?i.scrollBy(-a,0):2===this._horizontalScrollDirection&&i.scrollBy(a,0)})},this.element=jt(n),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new Ik(t,s)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(n,e,t,o){let s;this._draggingStarted(),null==o?(s=this.sortingDisabled?this._draggables.indexOf(n):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(n,e,t))):s=o;const i=this._activeDraggables,a=i.indexOf(n),d=n.getPlaceholderElement();let h=i[s];if(h===n&&(h=i[s+1]),!h&&(null==s||-1===s||s-1&&i.splice(a,1),h&&!this._dragDropRegistry.isDragging(h)){const g=h.getRootElement();g.parentElement.insertBefore(d,g),i.splice(s,0,n)}else jt(this.element).appendChild(d),i.push(n);d.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:n,container:this,currentIndex:this.getItemIndex(n)})}exit(n){this._reset(),this.exited.next({item:n,container:this})}drop(n,e,t,o,s,i,a){this._reset(),this.dropped.next({item:n,currentIndex:e,previousIndex:t,container:this,previousContainer:o,isPointerOverContainer:s,distance:i,dropPoint:a})}withItems(n){const e=this._draggables;return this._draggables=n,n.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(o=>o.isDragging()).every(o=>-1===n.indexOf(o))?this._reset():this._cacheItems()),this}withDirection(n){return this._direction=n,this}connectedTo(n){return this._siblings=n.slice(),this}withOrientation(n){return this._orientation=n,this}withScrollableParents(n){const e=jt(this.element);return this._scrollableElements=-1===n.indexOf(e)?[e,...n]:n.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(n){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===n):this._draggables.indexOf(n)}isReceiving(){return this._activeSiblings.size>0}_sortItem(n,e,t,o){if(this.sortingDisabled||!this._clientRect||!Pk(this._clientRect,.05,e,t))return;const s=this._itemPositions,i=this._getItemIndexFromPointerPosition(n,e,t,o);if(-1===i&&s.length>0)return;const a="horizontal"===this._orientation,d=s.findIndex(Te=>Te.drag===n),h=s[i],S=h.clientRect,H=d>i?1:-1,te=this._getItemOffsetPx(s[d].clientRect,S,H),he=this._getSiblingOffsetPx(d,s,H),_e=s.slice();(function EP(r,n,e){const t=lp(n,r.length-1),o=lp(e,r.length-1);if(t===o)return;const s=r[t],i=o{if(_e[mt]===Te)return;const Rt=Te.drag===n,bt=Rt?te:he,It=Rt?n.getPlaceholderElement():Te.drag.getRootElement();Te.offset+=bt,a?(It.style.transform=Wy(`translate3d(${Math.round(Te.offset)}px, 0, 0)`,Te.initialTransform),ap(Te.clientRect,0,bt)):(It.style.transform=Wy(`translate3d(0, ${Math.round(Te.offset)}px, 0)`,Te.initialTransform),ap(Te.clientRect,bt,0))}),this._previousSwap.overlaps=A0(S,e,t),this._previousSwap.drag=h.drag,this._previousSwap.delta=a?o.x:o.y}_startScrollingIfNecessary(n,e){if(this.autoScrollDisabled)return;let t,o=0,s=0;if(this._parentPositions.positions.forEach((i,a)=>{a===this._document||!i.clientRect||t||Pk(i.clientRect,.05,n,e)&&([o,s]=function kP(r,n,e,t){const o=Uk(n,t),s=qk(n,e);let i=0,a=0;if(o){const d=r.scrollTop;1===o?d>0&&(i=1):r.scrollHeight-d>r.clientHeight&&(i=2)}if(s){const d=r.scrollLeft;1===s?d>0&&(a=1):r.scrollWidth-d>r.clientWidth&&(a=2)}return[i,a]}(a,i.clientRect,n,e),(o||s)&&(t=a))}),!o&&!s){const{width:i,height:a}=this._viewportRuler.getViewportSize(),d={width:i,height:a,top:0,right:i,bottom:a,left:0};o=Uk(d,e),s=qk(d,n),t=window}t&&(o!==this._verticalScrollDirection||s!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=o,this._horizontalScrollDirection=s,this._scrollNode=t,(o||s)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const n=jt(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=n.msScrollSnapType||n.scrollSnapType||"",n.scrollSnapType=n.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const n=jt(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(n).clientRect}_cacheItemPositions(){const n="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:v0(t)}}).sort((e,t)=>n?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const n=jt(this.element).style;n.scrollSnapType=n.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const o=e.getRootElement();if(o){const s=null===(t=this._itemPositions.find(i=>i.drag===e))||void 0===t?void 0:t.initialTransform;o.style.transform=s||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(n,e,t){const o="horizontal"===this._orientation,s=e[n].clientRect,i=e[n+-1*t];let a=s[o?"width":"height"]*t;if(i){const d=o?"left":"top",h=o?"right":"bottom";-1===t?a-=i.clientRect[d]-s[h]:a+=s[d]-i.clientRect[h]}return a}_getItemOffsetPx(n,e,t){const o="horizontal"===this._orientation;let s=o?e.left-n.left:e.top-n.top;return-1===t&&(s+=o?e.width-n.width:e.height-n.height),s}_shouldEnterAsFirstChild(n,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,o="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const i=t[t.length-1].clientRect;return o?n>=i.right:e>=i.bottom}{const i=t[0].clientRect;return o?n<=i.left:e<=i.top}}_getItemIndexFromPointerPosition(n,e,t,o){const s="horizontal"===this._orientation,i=this._itemPositions.findIndex(({drag:a,clientRect:d})=>{if(a===n)return!1;if(o){const h=s?o.x:o.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return s?e>=Math.floor(d.left)&&e=Math.floor(d.top)&&to._canReceive(n,e,t))}_canReceive(n,e,t){if(!this._clientRect||!A0(this._clientRect,e,t)||!this.enterPredicate(n,this))return!1;const o=this._getShadowRoot().elementFromPoint(e,t);if(!o)return!1;const s=jt(this.element);return o===s||s.contains(o)}_startReceiving(n,e){const t=this._activeSiblings;!t.has(n)&&e.every(o=>this.enterPredicate(o,this)||this._draggables.indexOf(o)>-1)&&(t.add(n),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(n){this._activeSiblings.delete(n),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(n=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(n);e&&(this._itemPositions.forEach(({clientRect:t})=>{ap(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const n=$c(jt(this.element));this._cachedShadowRoot=n||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const n=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,n))}}function Uk(r,n){const{top:e,bottom:t,height:o}=r,s=.05*o;return n>=e-s&&n<=e+s?1:n>=t-s&&n<=t+s?2:0}function qk(r,n){const{left:e,right:t,width:o}=r,s=.05*o;return n>=e-s&&n<=e+s?1:n>=t-s&&n<=t+s?2:0}const Zy=ti({passive:!1,capture:!0});let DP=(()=>{class r{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=o=>o.isDragging(),this.pointerMove=new xe.xQ,this.pointerUp=new xe.xQ,this.scroll=new xe.xQ,this._preventDefaultWhileDragging=o=>{this._activeDragInstances.length>0&&o.preventDefault()},this._persistentTouchmoveListener=o=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&o.preventDefault(),this.pointerMove.next(o))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Zy)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Zy)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const o=t.type.startsWith("touch");this._globalListeners.set(o?"touchend":"mouseup",{handler:s=>this.pointerUp.next(s),options:!0}).set("scroll",{handler:s=>this.scroll.next(s),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Zy}),o||this._globalListeners.set("mousemove",{handler:s=>this.pointerMove.next(s),options:Zy}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((s,i)=>{this._document.addEventListener(i,s.handler,s.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const t=[this.scroll];return e&&e!==this._document&&t.push(new bi.y(o=>this._ngZone.runOutsideAngular(()=>{const i=a=>{this._activeDragInstances.length&&o.next(a)};return e.addEventListener("scroll",i,!0),()=>{e.removeEventListener("scroll",i,!0)}}))),(0,gn.T)(...t)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.R0b),u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const MP={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let xP=(()=>{class r{constructor(e,t,o,s){this._document=e,this._ngZone=t,this._viewportRuler=o,this._dragDropRegistry=s}createDrag(e,t=MP){return new TP(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new SP(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0),u.LFG(u.R0b),u.LFG(Ar),u.LFG(DP))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),RP=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[xP],imports:[Dn]}),r})(),PP=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[b.ez]]}),r})(),IP=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})(),LP=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})(),qP=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[LP,qe],qe]}),r})(),rI=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Wn,qe],qe]}),r})(),cI=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[b.ez,ju,vo,Oy,Dt,np,Ti]]}),r})(),lI=(()=>{class r extends mh{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const uI={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Zk=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[{provide:en,useClass:lI},{provide:gh,useValue:uI}],imports:[[b.ez,Oy,p0,ZC,yP,RP,Qa,Hf,_0,iu,np,XC,Dt,sc,vo,Ti,Ao,ju,Iy,Wn,PP,IP,qP,g0,rI,Gl,tc,cI,ps,$l,SE]]}),r})(),d1=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[b.ez,XS,e0,nk,vo,rk,Oy,Dt,p0,$l,np,Ao,Iy,ps,ZC,ju,ak,g0,_h,Ck,Ek,Zk,sc,uy,_0,iu,Ti,tc,Wn],XS,e0,nk,vo,rk,Oy,Dt,p0,$l,np,Ao,Iy,ps,ZC,ju,ak,g0,_h,Ck,Ek,Zk,sc,uy,_0,iu,Ti,tc,Wn]}),r})();const h1={provide:C.TP,useExisting:(0,u.Gpc)(()=>Fu),multi:!0};function f1(r){return new gx(r,"./assets/i18n/",".json")}function p1(r){const n={basePath:r.get("api_url")};return new je(n)}const g1=r=>()=>r.loadConfigs();let m1=(()=>{class r{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(ay),u.LFG(nn))},r.\u0275mod=u.oAB({type:r,bootstrap:[px]}),r.\u0275inj=u.cJS({providers:[ay,{provide:u.ip1,useFactory:g1,multi:!0,deps:[vx]},{provide:je,useFactory:p1,deps:[ki]},Fu,h1,{provide:Ax,useClass:cy}],imports:[[xo,Qa.forRoot({loader:{provide:Ci,useFactory:f1,deps:[C.eN]}}),Eb,Dt,mx,pp,C.JF,yx,d1,XC,yM,ry.zr.forRoot()]]}),r})();(0,u.G48)(),Mo().bootstrapModule(m1).catch(r=>console.error(r))},1302:function(N,G,v){var b;!function(u,I){var L={};!function(u){"use strict";u.__esModule=!0,u.digestLength=32,u.blockSize=64;var I=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function L(q,J,ie,ee,re){for(var Ce,Ae,He,ft,_t,Ue,mi,Tt,Ze,oe,ue,de,le;re>=64;){for(Ce=J[0],Ae=J[1],He=J[2],ft=J[3],_t=J[4],Ue=J[5],mi=J[6],Tt=J[7],oe=0;oe<16;oe++)q[oe]=(255&ie[ue=ee+4*oe])<<24|(255&ie[ue+1])<<16|(255&ie[ue+2])<<8|255&ie[ue+3];for(oe=16;oe<64;oe++)q[oe]=((de=((Ze=q[oe-2])>>>17|Ze<<15)^(Ze>>>19|Ze<<13)^Ze>>>10)+q[oe-7]|0)+((le=((Ze=q[oe-15])>>>7|Ze<<25)^(Ze>>>18|Ze<<14)^Ze>>>3)+q[oe-16]|0);for(oe=0;oe<64;oe++)de=(((_t>>>6|_t<<26)^(_t>>>11|_t<<21)^(_t>>>25|_t<<7))+(_t&Ue^~_t&mi)|0)+(Tt+(I[oe]+q[oe]|0)|0)|0,le=((Ce>>>2|Ce<<30)^(Ce>>>13|Ce<<19)^(Ce>>>22|Ce<<10))+(Ce&Ae^Ce&He^Ae&He)|0,Tt=mi,mi=Ue,Ue=_t,_t=ft+de|0,ft=He,He=Ae,Ae=Ce,Ce=de+le|0;J[0]+=Ce,J[1]+=Ae,J[2]+=He,J[3]+=ft,J[4]+=_t,J[5]+=Ue,J[6]+=mi,J[7]+=Tt,ee+=64,re-=64}return ee}var R=function(){function q(){this.digestLength=u.digestLength,this.blockSize=u.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return q.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},q.prototype.clean=function(){for(var J=0;J0){for(;this.bufferLength<64&&ie>0;)this.buffer[this.bufferLength++]=J[ee++],ie--;64===this.bufferLength&&(L(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ie>=64&&(ee=L(this.temp,this.state,J,ee,ie),ie%=64);ie>0;)this.buffer[this.bufferLength++]=J[ee++],ie--;return this},q.prototype.finish=function(J){if(!this.finished){var ie=this.bytesHashed,ee=this.bufferLength,re=ie/536870912|0,Ce=ie<<3,Ae=ie%64<56?64:128;this.buffer[ee]=128;for(var He=ee+1;He>>24&255,this.buffer[Ae-7]=re>>>16&255,this.buffer[Ae-6]=re>>>8&255,this.buffer[Ae-5]=re>>>0&255,this.buffer[Ae-4]=Ce>>>24&255,this.buffer[Ae-3]=Ce>>>16&255,this.buffer[Ae-2]=Ce>>>8&255,this.buffer[Ae-1]=Ce>>>0&255,L(this.temp,this.state,this.buffer,0,Ae),this.finished=!0}for(He=0;He<8;He++)J[4*He+0]=this.state[He]>>>24&255,J[4*He+1]=this.state[He]>>>16&255,J[4*He+2]=this.state[He]>>>8&255,J[4*He+3]=this.state[He]>>>0&255;return this},q.prototype.digest=function(){var J=new Uint8Array(this.digestLength);return this.finish(J),J},q.prototype._saveState=function(J){for(var ie=0;iethis.blockSize)(new R).update(J).finish(ie).clean();else for(var ee=0;ee1&&J.update(q),ie&&J.update(ie),J.update(ee),J.finish(q),ee[0]++}u.HMAC=O,u.hash=$,u.default=$,u.hmac=U;var F=new Uint8Array(u.digestLength);u.hkdf=function z(q,J,ie,ee){void 0===J&&(J=F),void 0===ee&&(ee=32);for(var re=new Uint8Array([1]),Ce=U(J,q),Ae=new O(Ce),He=new Uint8Array(Ae.digestLength),ft=He.length,_t=new Uint8Array(ee),Ue=0;Ue>>24&255,Ae[1]=mi>>>16&255,Ae[2]=mi>>>8&255,Ae[3]=mi>>>0&255,re.reset(),re.update(J),re.update(Ae),re.finish(ft);for(var Tt=0;Tt=z.status}function O(F){try{F.dispatchEvent(new MouseEvent("click"))}catch(V){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),F.dispatchEvent(z)}}var $="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,U=$.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),j=$.saveAs||("object"!=typeof window||window!==$?function(){}:"download"in HTMLAnchorElement.prototype&&!U?function(F,z,V){var q=$.URL||$.webkitURL,J=document.createElement("a");J.download=z=z||F.name||"download",J.rel="noopener","string"==typeof F?(J.href=F,J.origin===location.origin?O(J):R(J.href)?L(F,z,V):O(J,J.target="_blank")):(J.href=q.createObjectURL(F),setTimeout(function(){q.revokeObjectURL(J.href)},4e4),setTimeout(function(){O(J)},0))}:"msSaveOrOpenBlob"in navigator?function(F,z,V){if(z=z||F.name||"download","string"!=typeof F)navigator.msSaveOrOpenBlob(function I(F,z){return void 0===z?z={autoBom:!1}:"object"!=typeof z&&(console.warn("Deprecated: Expected third argument to be a object"),z={autoBom:!z}),z.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(F.type)?new Blob(["\ufeff",F],{type:F.type}):F}(F,V),z);else if(R(F))L(F,z,V);else{var q=document.createElement("a");q.href=F,q.target="_blank",setTimeout(function(){O(q)})}}:function(F,z,V,q){if((q=q||open("","_blank"))&&(q.document.title=q.document.body.innerText="downloading..."),"string"==typeof F)return L(F,z,V);var J="application/octet-stream"===F.type,ie=/constructor/i.test($.HTMLElement)||$.safari,ee=/CriOS\/[\d]+/.test(navigator.userAgent);if((ee||J&&ie||U)&&"undefined"!=typeof FileReader){var re=new FileReader;re.onloadend=function(){var He=re.result;He=ee?He:He.replace(/^data:[^;]*;/,"data:attachment/file;"),q?q.location.href=He:location=He,q=null},re.readAsDataURL(F)}else{var Ce=$.URL||$.webkitURL,Ae=Ce.createObjectURL(F);q?q.location=Ae:location.href=Ae,q=null,setTimeout(function(){Ce.revokeObjectURL(Ae)},4e4)}});$.saveAs=j.saveAs=j,N.exports=j}.apply(G,[]))&&(N.exports=u)},1869:(N,G,v)=>{"use strict";v.d(G,{d:()=>u});var b=v(3489);class u extends b.L{constructor(L,R,O){super(),this.parent=L,this.outerValue=R,this.outerIndex=O,this.index=0}_next(L){this.parent.notifyNext(this.outerValue,L,this.outerIndex,this.index++,this)}_error(L){this.parent.notifyError(L,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},9312:(N,G,v)=>{"use strict";v.d(G,{P:()=>R});var b=v(8896),u=v(1086),I=v(1737);class R{constructor($,U,j){this.kind=$,this.value=U,this.error=j,this.hasValue="N"===$}observe($){switch(this.kind){case"N":return $.next&&$.next(this.value);case"E":return $.error&&$.error(this.error);case"C":return $.complete&&$.complete()}}do($,U,j){switch(this.kind){case"N":return $&&$(this.value);case"E":return U&&U(this.error);case"C":return j&&j()}}accept($,U,j){return $&&"function"==typeof $.next?this.observe($):this.do($,U,j)}toObservable(){switch(this.kind){case"N":return(0,u.of)(this.value);case"E":return(0,I._)(this.error);case"C":return(0,b.c)()}throw new Error("unexpected notification kind value")}static createNext($){return void 0!==$?new R("N",$):R.undefinedValueNotification}static createError($){return new R("E",void 0,$)}static createComplete(){return R.completeNotification}}R.completeNotification=new R("C"),R.undefinedValueNotification=new R("N",void 0)},2916:(N,G,v)=>{"use strict";v.d(G,{y:()=>z});var b=v(3489),I=v(7668),L=v(3292),O=v(3821),$=v(5379);var F=v(2830);let z=(()=>{class q{constructor(ie){this._isScalar=!1,ie&&(this._subscribe=ie)}lift(ie){const ee=new q;return ee.source=this,ee.operator=ie,ee}subscribe(ie,ee,re){const{operator:Ce}=this,Ae=function R(q,J,ie){if(q){if(q instanceof b.L)return q;if(q[I.b])return q[I.b]()}return q||J||ie?new b.L(q,J,ie):new b.L(L.c)}(ie,ee,re);if(Ae.add(Ce?Ce.call(Ae,this.source):this.source||F.v.useDeprecatedSynchronousErrorHandling&&!Ae.syncErrorThrowable?this._subscribe(Ae):this._trySubscribe(Ae)),F.v.useDeprecatedSynchronousErrorHandling&&Ae.syncErrorThrowable&&(Ae.syncErrorThrowable=!1,Ae.syncErrorThrown))throw Ae.syncErrorValue;return Ae}_trySubscribe(ie){try{return this._subscribe(ie)}catch(ee){F.v.useDeprecatedSynchronousErrorHandling&&(ie.syncErrorThrown=!0,ie.syncErrorValue=ee),function u(q){for(;q;){const{closed:J,destination:ie,isStopped:ee}=q;if(J||ee)return!1;q=ie&&ie instanceof b.L?ie:null}return!0}(ie)?ie.error(ee):console.warn(ee)}}forEach(ie,ee){return new(ee=V(ee))((re,Ce)=>{let Ae;Ae=this.subscribe(He=>{try{ie(He)}catch(ft){Ce(ft),Ae&&Ae.unsubscribe()}},Ce,re)})}_subscribe(ie){const{source:ee}=this;return ee&&ee.subscribe(ie)}[O.L](){return this}pipe(...ie){return 0===ie.length?this:function j(q){return 0===q.length?$.y:1===q.length?q[0]:function(ie){return q.reduce((ee,re)=>re(ee),ie)}}(ie)(this)}toPromise(ie){return new(ie=V(ie))((ee,re)=>{let Ce;this.subscribe(Ae=>Ce=Ae,Ae=>re(Ae),()=>ee(Ce))})}}return q.create=J=>new q(J),q})();function V(q){if(q||(q=F.v.Promise||Promise),!q)throw new Error("no Promise impl found");return q}},3292:(N,G,v)=>{"use strict";v.d(G,{c:()=>I});var b=v(2830),u=v(2782);const I={closed:!0,next(L){},error(L){if(b.v.useDeprecatedSynchronousErrorHandling)throw L;(0,u.z)(L)},complete(){}}},826:(N,G,v)=>{"use strict";v.d(G,{L:()=>u});var b=v(3489);class u extends b.L{notifyNext(L,R,O,$,U){this.destination.next(R)}notifyError(L,R){this.destination.error(L)}notifyComplete(L){this.destination.complete()}}},8929:(N,G,v)=>{"use strict";v.d(G,{Yc:()=>$,xQ:()=>U});var b=v(2916),u=v(3489),I=v(2654),L=v(5279),R=v(5283),O=v(7668);class $ extends u.L{constructor(z){super(z),this.destination=z}}let U=(()=>{class F extends b.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[O.b](){return new $(this)}lift(V){const q=new j(this,this);return q.operator=V,q}next(V){if(this.closed)throw new L.N;if(!this.isStopped){const{observers:q}=this,J=q.length,ie=q.slice();for(let ee=0;eenew j(z,V),F})();class j extends U{constructor(z,V){super(),this.destination=z,this.source=V}next(z){const{destination:V}=this;V&&V.next&&V.next(z)}error(z){const{destination:V}=this;V&&V.error&&this.destination.error(z)}complete(){const{destination:z}=this;z&&z.complete&&this.destination.complete()}_subscribe(z){const{source:V}=this;return V?this.source.subscribe(z):I.w.EMPTY}}},5283:(N,G,v)=>{"use strict";v.d(G,{W:()=>u});var b=v(2654);class u extends b.w{constructor(L,R){super(),this.subject=L,this.subscriber=R,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const L=this.subject,R=L.observers;if(this.subject=null,!R||0===R.length||L.isStopped||L.closed)return;const O=R.indexOf(this.subscriber);-1!==O&&R.splice(O,1)}}},3489:(N,G,v)=>{"use strict";v.d(G,{L:()=>$});var b=v(7043),u=v(3292),I=v(2654),L=v(7668),R=v(2830),O=v(2782);class $ extends I.w{constructor(F,z,V){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=u.c;break;case 1:if(!F){this.destination=u.c;break}if("object"==typeof F){F instanceof $?(this.syncErrorThrowable=F.syncErrorThrowable,this.destination=F,F.add(this)):(this.syncErrorThrowable=!0,this.destination=new U(this,F));break}default:this.syncErrorThrowable=!0,this.destination=new U(this,F,z,V)}}[L.b](){return this}static create(F,z,V){const q=new $(F,z,V);return q.syncErrorThrowable=!1,q}next(F){this.isStopped||this._next(F)}error(F){this.isStopped||(this.isStopped=!0,this._error(F))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(F){this.destination.next(F)}_error(F){this.destination.error(F),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:F}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=F,this}}class U extends ${constructor(F,z,V,q){super(),this._parentSubscriber=F;let J,ie=this;(0,b.m)(z)?J=z:z&&(J=z.next,V=z.error,q=z.complete,z!==u.c&&(ie=Object.create(z),(0,b.m)(ie.unsubscribe)&&this.add(ie.unsubscribe.bind(ie)),ie.unsubscribe=this.unsubscribe.bind(this))),this._context=ie,this._next=J,this._error=V,this._complete=q}next(F){if(!this.isStopped&&this._next){const{_parentSubscriber:z}=this;R.v.useDeprecatedSynchronousErrorHandling&&z.syncErrorThrowable?this.__tryOrSetError(z,this._next,F)&&this.unsubscribe():this.__tryOrUnsub(this._next,F)}}error(F){if(!this.isStopped){const{_parentSubscriber:z}=this,{useDeprecatedSynchronousErrorHandling:V}=R.v;if(this._error)V&&z.syncErrorThrowable?(this.__tryOrSetError(z,this._error,F),this.unsubscribe()):(this.__tryOrUnsub(this._error,F),this.unsubscribe());else if(z.syncErrorThrowable)V?(z.syncErrorValue=F,z.syncErrorThrown=!0):(0,O.z)(F),this.unsubscribe();else{if(this.unsubscribe(),V)throw F;(0,O.z)(F)}}}complete(){if(!this.isStopped){const{_parentSubscriber:F}=this;if(this._complete){const z=()=>this._complete.call(this._context);R.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?(this.__tryOrSetError(F,z),this.unsubscribe()):(this.__tryOrUnsub(z),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(F,z){try{F.call(this._context,z)}catch(V){if(this.unsubscribe(),R.v.useDeprecatedSynchronousErrorHandling)throw V;(0,O.z)(V)}}__tryOrSetError(F,z,V){if(!R.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{z.call(this._context,V)}catch(q){return R.v.useDeprecatedSynchronousErrorHandling?(F.syncErrorValue=q,F.syncErrorThrown=!0,!0):((0,O.z)(q),!0)}return!1}_unsubscribe(){const{_parentSubscriber:F}=this;this._context=null,this._parentSubscriber=null,F.unsubscribe()}}},2654:(N,G,v)=>{"use strict";v.d(G,{w:()=>O});var b=v(6688),u=v(7830),I=v(7043);const R=(()=>{function U(j){return Error.call(this),this.message=j?`${j.length} errors occurred during unsubscription:\n${j.map((F,z)=>`${z+1}) ${F.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=j,this}return U.prototype=Object.create(Error.prototype),U})();class O{constructor(j){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,j&&(this._unsubscribe=j)}unsubscribe(){let j;if(this.closed)return;let{_parentOrParents:F,_unsubscribe:z,_subscriptions:V}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,F instanceof O)F.remove(this);else if(null!==F)for(let q=0;qj.concat(F instanceof R?F.errors:F),[])}O.EMPTY=((U=new O).closed=!0,U)},2830:(N,G,v)=>{"use strict";v.d(G,{v:()=>u});let b=!1;const u={Promise:void 0,set useDeprecatedSynchronousErrorHandling(I){if(I){const L=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+L.stack)}else b&&console.log("RxJS: Back to a better error behavior. Thank you. <3");b=I},get useDeprecatedSynchronousErrorHandling(){return b}}},1762:(N,G,v)=>{"use strict";v.d(G,{c:()=>R,N:()=>O});var b=v(8929),u=v(2916),I=v(2654),L=v(4327);class R extends u.y{constructor(z,V){super(),this.source=z,this.subjectFactory=V,this._refCount=0,this._isComplete=!1}_subscribe(z){return this.getSubject().subscribe(z)}getSubject(){const z=this._subject;return(!z||z.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let z=this._connection;return z||(this._isComplete=!1,z=this._connection=new I.w,z.add(this.source.subscribe(new $(this.getSubject(),this))),z.closed&&(this._connection=null,z=I.w.EMPTY)),z}refCount(){return(0,L.x)()(this)}}const O=(()=>{const F=R.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:F._subscribe},_isComplete:{value:F._isComplete,writable:!0},getSubject:{value:F.getSubject},connect:{value:F.connect},refCount:{value:F.refCount}}})();class $ extends b.Yc{constructor(z,V){super(z),this.connectable=V}_error(z){this._unsubscribe(),super._error(z)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const z=this.connectable;if(z){this.connectable=null;const V=z._connection;z._refCount=0,z._subject=null,z._connection=null,V&&V.unsubscribe()}}}},6053:(N,G,v)=>{"use strict";v.d(G,{aj:()=>$});var b=v(2866),u=v(6688),I=v(826),L=v(9054),R=v(3009);const O={};function $(...F){let z=null,V=null;return(0,b.K)(F[F.length-1])&&(V=F.pop()),"function"==typeof F[F.length-1]&&(z=F.pop()),1===F.length&&(0,u.k)(F[0])&&(F=F[0]),(0,R.n)(F,V).lift(new U(z))}class U{constructor(z){this.resultSelector=z}call(z,V){return V.subscribe(new j(z,this.resultSelector))}}class j extends I.L{constructor(z,V){super(z),this.resultSelector=V,this.active=0,this.values=[],this.observables=[]}_next(z){this.values.push(O),this.observables.push(z)}_complete(){const z=this.observables,V=z.length;if(0===V)this.destination.complete();else{this.active=V,this.toRespond=V;for(let q=0;q{"use strict";v.d(G,{E:()=>u,c:()=>I});var b=v(2916);const u=new b.y(R=>R.complete());function I(R){return R?function L(R){return new b.y(O=>R.schedule(()=>O.complete()))}(R):u}},5254:(N,G,v)=>{"use strict";v.d(G,{D:()=>ie});var b=v(2916),u=v(9249),I=v(2654),L=v(3821),$=v(6454),U=v(5430),z=v(8955),V=v(8515);function ie(ee,re){return re?function J(ee,re){if(null!=ee){if(function F(ee){return ee&&"function"==typeof ee[L.L]}(ee))return function R(ee,re){return new b.y(Ce=>{const Ae=new I.w;return Ae.add(re.schedule(()=>{const He=ee[L.L]();Ae.add(He.subscribe({next(ft){Ae.add(re.schedule(()=>Ce.next(ft)))},error(ft){Ae.add(re.schedule(()=>Ce.error(ft)))},complete(){Ae.add(re.schedule(()=>Ce.complete()))}}))})),Ae})}(ee,re);if((0,z.t)(ee))return function O(ee,re){return new b.y(Ce=>{const Ae=new I.w;return Ae.add(re.schedule(()=>ee.then(He=>{Ae.add(re.schedule(()=>{Ce.next(He),Ae.add(re.schedule(()=>Ce.complete()))}))},He=>{Ae.add(re.schedule(()=>Ce.error(He)))}))),Ae})}(ee,re);if((0,V.z)(ee))return(0,$.r)(ee,re);if(function q(ee){return ee&&"function"==typeof ee[U.hZ]}(ee)||"string"==typeof ee)return function j(ee,re){if(!ee)throw new Error("Iterable cannot be null");return new b.y(Ce=>{const Ae=new I.w;let He;return Ae.add(()=>{He&&"function"==typeof He.return&&He.return()}),Ae.add(re.schedule(()=>{He=ee[U.hZ](),Ae.add(re.schedule(function(){if(Ce.closed)return;let ft,_t;try{const Ue=He.next();ft=Ue.value,_t=Ue.done}catch(Ue){return void Ce.error(Ue)}_t?Ce.complete():(Ce.next(ft),this.schedule())}))})),Ae})}(ee,re)}throw new TypeError((null!==ee&&typeof ee||ee)+" is not observable")}(ee,re):ee instanceof b.y?ee:new b.y((0,u.s)(ee))}},3009:(N,G,v)=>{"use strict";v.d(G,{n:()=>L});var b=v(2916),u=v(3650),I=v(6454);function L(R,O){return O?(0,I.r)(R,O):new b.y((0,u.V)(R))}},6787:(N,G,v)=>{"use strict";v.d(G,{T:()=>R});var b=v(2916),u=v(2866),I=v(9146),L=v(3009);function R(...O){let $=Number.POSITIVE_INFINITY,U=null,j=O[O.length-1];return(0,u.K)(j)?(U=O.pop(),O.length>1&&"number"==typeof O[O.length-1]&&($=O.pop())):"number"==typeof j&&($=O.pop()),null===U&&1===O.length&&O[0]instanceof b.y?O[0]:(0,I.J)($)((0,L.n)(O,U))}},1086:(N,G,v)=>{"use strict";v.d(G,{of:()=>L});var b=v(2866),u=v(3009),I=v(6454);function L(...R){let O=R[R.length-1];return(0,b.K)(O)?(R.pop(),(0,I.r)(R,O)):(0,u.n)(R)}},1946:(N,G,v)=>{"use strict";v.d(G,{S3:()=>R});var b=v(6688),u=v(3009),I=v(826),L=v(9054);function R(...U){if(1===U.length){if(!(0,b.k)(U[0]))return U[0];U=U[0]}return(0,u.n)(U,void 0).lift(new O)}class O{call(j,F){return F.subscribe(new $(j))}}class $ extends I.L{constructor(j){super(j),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(j){this.observables.push(j)}_complete(){const j=this.observables,F=j.length;if(0===F)this.destination.complete();else{for(let z=0;z{"use strict";v.d(G,{_:()=>u});var b=v(2916);function u(L,R){return new b.y(R?O=>R.schedule(I,0,{error:L,subscriber:O}):O=>O.error(L))}function I({error:L,subscriber:R}){R.error(L)}},7221:(N,G,v)=>{"use strict";v.d(G,{K:()=>L});var b=v(826),u=v(1869),I=v(9054);function L($){return function(j){const F=new R($),z=j.lift(F);return F.caught=z}}class R{constructor(U){this.selector=U}call(U,j){return j.subscribe(new O(U,this.selector,this.caught))}}class O extends b.L{constructor(U,j,F){super(U),this.selector=j,this.caught=F}error(U){if(!this.isStopped){let j;try{j=this.selector(U,this.caught)}catch(V){return void super.error(V)}this._unsubscribeAndRecycle();const F=new u.d(this,void 0,void 0);this.add(F);const z=(0,I.D)(this,j,void 0,void 0,F);z!==F&&this.add(z)}}}},1406:(N,G,v)=>{"use strict";v.d(G,{b:()=>u});var b=v(1709);function u(I,L){return(0,b.zg)(I,L,1)}},13:(N,G,v)=>{"use strict";v.d(G,{b:()=>I});var b=v(3489),u=v(353);function I($,U=u.P){return j=>j.lift(new L($,U))}class L{constructor(U,j){this.dueTime=U,this.scheduler=j}call(U,j){return j.subscribe(new R(U,this.dueTime,this.scheduler))}}class R extends b.L{constructor(U,j,F){super(U),this.dueTime=j,this.scheduler=F,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(U){this.clearDebounce(),this.lastValue=U,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(O,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:U}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(U)}}clearDebounce(){const U=this.debouncedSubscription;null!==U&&(this.remove(U),U.unsubscribe(),this.debouncedSubscription=null)}}function O($){$.debouncedNext()}},7314:(N,G,v)=>{"use strict";v.d(G,{d:()=>u});var b=v(3489);function u(R=null){return O=>O.lift(new I(R))}class I{constructor(O){this.defaultValue=O}call(O,$){return $.subscribe(new L(O,this.defaultValue))}}class L extends b.L{constructor(O,$){super(O),this.defaultValue=$,this.isEmpty=!0}_next(O){this.isEmpty=!1,this.destination.next(O)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(N,G,v)=>{"use strict";v.d(G,{g:()=>R});var b=v(353),u=v(2697),I=v(3489),L=v(9312);function R(j,F=b.P){const V=(0,u.J)(j)?+j-F.now():Math.abs(j);return q=>q.lift(new O(V,F))}class O{constructor(F,z){this.delay=F,this.scheduler=z}call(F,z){return z.subscribe(new $(F,this.delay,this.scheduler))}}class $ extends I.L{constructor(F,z,V){super(F),this.delay=z,this.scheduler=V,this.queue=[],this.active=!1,this.errored=!1}static dispatch(F){const z=F.source,V=z.queue,q=F.scheduler,J=F.destination;for(;V.length>0&&V[0].time-q.now()<=0;)V.shift().notification.observe(J);if(V.length>0){const ie=Math.max(0,V[0].time-q.now());this.schedule(F,ie)}else this.unsubscribe(),z.active=!1}_schedule(F){this.active=!0,this.destination.add(F.schedule($.dispatch,this.delay,{source:this,destination:this.destination,scheduler:F}))}scheduleNotification(F){if(!0===this.errored)return;const z=this.scheduler,V=new U(z.now()+this.delay,F);this.queue.push(V),!1===this.active&&this._schedule(z)}_next(F){this.scheduleNotification(L.P.createNext(F))}_error(F){this.errored=!0,this.queue=[],this.destination.error(F),this.unsubscribe()}_complete(){this.scheduleNotification(L.P.createComplete()),this.unsubscribe()}}class U{constructor(F,z){this.time=F,this.notification=z}}},2198:(N,G,v)=>{"use strict";v.d(G,{h:()=>u});var b=v(3489);function u(R,O){return function(U){return U.lift(new I(R,O))}}class I{constructor(O,$){this.predicate=O,this.thisArg=$}call(O,$){return $.subscribe(new L(O,this.predicate,this.thisArg))}}class L extends b.L{constructor(O,$,U){super(O),this.predicate=$,this.thisArg=U,this.count=0}_next(O){let $;try{$=this.predicate.call(this.thisArg,O,this.count++)}catch(U){return void this.destination.error(U)}$&&this.destination.next(O)}}},7224:(N,G,v)=>{"use strict";v.d(G,{P:()=>$});var b=v(4450),u=v(2198),I=v(2986),L=v(7314),R=v(4907),O=v(5379);function $(U,j){const F=arguments.length>=2;return z=>z.pipe(U?(0,u.h)((V,q)=>U(V,q,z)):O.y,(0,I.q)(1),F?(0,L.d)(j):(0,R.T)(()=>new b.K))}},4850:(N,G,v)=>{"use strict";v.d(G,{U:()=>u});var b=v(3489);function u(R,O){return function(U){if("function"!=typeof R)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return U.lift(new I(R,O))}}class I{constructor(O,$){this.project=O,this.thisArg=$}call(O,$){return $.subscribe(new L(O,this.project,this.thisArg))}}class L extends b.L{constructor(O,$,U){super(O),this.project=$,this.count=0,this.thisArg=U||this}_next(O){let $;try{$=this.project.call(this.thisArg,O,this.count++)}catch(U){return void this.destination.error(U)}this.destination.next($)}}},9146:(N,G,v)=>{"use strict";v.d(G,{J:()=>I});var b=v(1709),u=v(5379);function I(L=Number.POSITIVE_INFINITY){return(0,b.zg)(u.y,L)}},1709:(N,G,v)=>{"use strict";v.d(G,{zg:()=>O});var b=v(9054),u=v(826),I=v(1869),L=v(4850),R=v(5254);function O(j,F,z=Number.POSITIVE_INFINITY){return"function"==typeof F?V=>V.pipe(O((q,J)=>(0,R.D)(j(q,J)).pipe((0,L.U)((ie,ee)=>F(q,ie,J,ee))),z)):("number"==typeof F&&(z=F),V=>V.lift(new $(j,z)))}class ${constructor(F,z=Number.POSITIVE_INFINITY){this.project=F,this.concurrent=z}call(F,z){return z.subscribe(new U(F,this.project,this.concurrent))}}class U extends u.L{constructor(F,z,V=Number.POSITIVE_INFINITY){super(F),this.project=z,this.concurrent=V,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(F){this.active0?this._next(z.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(N,G,v)=>{"use strict";v.d(G,{x:()=>u});var b=v(3489);function u(){return function(O){return O.lift(new I(O))}}class I{constructor(O){this.connectable=O}call(O,$){const{connectable:U}=this;U._refCount++;const j=new L(O,U),F=$.subscribe(j);return j.closed||(j.connection=U.connect()),F}}class L extends b.L{constructor(O,$){super(O),this.connectable=$}_unsubscribe(){const{connectable:O}=this;if(!O)return void(this.connection=null);this.connectable=null;const $=O._refCount;if($<=0)return void(this.connection=null);if(O._refCount=$-1,$>1)return void(this.connection=null);const{connection:U}=this,j=O._connection;this.connection=null,j&&(!U||j===U)&&j.unsubscribe()}}},2474:(N,G,v)=>{"use strict";v.d(G,{B:()=>$});var b=v(1762);class I{constructor(j,F){this.subjectFactory=j,this.selector=F}call(j,F){const{selector:z}=this,V=this.subjectFactory(),q=z(V).subscribe(j);return q.add(F.subscribe(V)),q}}var L=v(4327),R=v(8929);function O(){return new R.xQ}function $(){return U=>(0,L.x)()(function u(U,j){return function(z){let V;if(V="function"==typeof U?U:function(){return U},"function"==typeof j)return z.lift(new I(V,j));const q=Object.create(z,b.N);return q.source=z,q.subjectFactory=V,q}}(O)(U))}},7545:(N,G,v)=>{"use strict";v.d(G,{w:()=>O});var b=v(826),u=v(1869),I=v(9054),L=v(4850),R=v(5254);function O(j,F){return"function"==typeof F?z=>z.pipe(O((V,q)=>(0,R.D)(j(V,q)).pipe((0,L.U)((J,ie)=>F(V,J,q,ie))))):z=>z.lift(new $(j))}class ${constructor(F){this.project=F}call(F,z){return z.subscribe(new U(F,this.project))}}class U extends b.L{constructor(F,z){super(F),this.project=z,this.index=0}_next(F){let z;const V=this.index++;try{z=this.project(F,V)}catch(q){return void this.destination.error(q)}this._innerSub(z,F,V)}_innerSub(F,z,V){const q=this.innerSubscription;q&&q.unsubscribe();const J=new u.d(this,z,V),ie=this.destination;ie.add(J),this.innerSubscription=(0,I.D)(this,F,void 0,void 0,J),this.innerSubscription!==J&&ie.add(this.innerSubscription)}_complete(){const{innerSubscription:F}=this;(!F||F.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(F){this.destination.remove(F),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(F,z,V,q,J){this.destination.next(z)}}},2986:(N,G,v)=>{"use strict";v.d(G,{q:()=>L});var b=v(3489),u=v(4231),I=v(8896);function L($){return U=>0===$?(0,I.c)():U.lift(new R($))}class R{constructor(U){if(this.total=U,this.total<0)throw new u.W}call(U,j){return j.subscribe(new O(U,this.total))}}class O extends b.L{constructor(U,j){super(U),this.total=j,this.count=0}_next(U){const j=this.total,F=++this.count;F<=j&&(this.destination.next(U),F===j&&(this.destination.complete(),this.unsubscribe()))}}},2868:(N,G,v)=>{"use strict";v.d(G,{b:()=>L});var b=v(3489);function u(){}var I=v(7043);function L($,U,j){return function(z){return z.lift(new R($,U,j))}}class R{constructor(U,j,F){this.nextOrObserver=U,this.error=j,this.complete=F}call(U,j){return j.subscribe(new O(U,this.nextOrObserver,this.error,this.complete))}}class O extends b.L{constructor(U,j,F,z){super(U),this._tapNext=u,this._tapError=u,this._tapComplete=u,this._tapError=F||u,this._tapComplete=z||u,(0,I.m)(j)?(this._context=this,this._tapNext=j):j&&(this._context=j,this._tapNext=j.next||u,this._tapError=j.error||u,this._tapComplete=j.complete||u)}_next(U){try{this._tapNext.call(this._context,U)}catch(j){return void this.destination.error(j)}this.destination.next(U)}_error(U){try{this._tapError.call(this._context,U)}catch(j){return void this.destination.error(j)}this.destination.error(U)}_complete(){try{this._tapComplete.call(this._context)}catch(U){return void this.destination.error(U)}return this.destination.complete()}}},4907:(N,G,v)=>{"use strict";v.d(G,{T:()=>I});var b=v(4450),u=v(3489);function I($=O){return U=>U.lift(new L($))}class L{constructor(U){this.errorFactory=U}call(U,j){return j.subscribe(new R(U,this.errorFactory))}}class R extends u.L{constructor(U,j){super(U),this.errorFactory=j,this.hasValue=!1}_next(U){this.hasValue=!0,this.destination.next(U)}_complete(){if(this.hasValue)return this.destination.complete();{let U;try{U=this.errorFactory()}catch(j){U=j}this.destination.error(U)}}}function O(){return new b.K}},6227:(N,G,v)=>{"use strict";v.d(G,{V:()=>z});var b=v(353);const I=(()=>{function V(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return V.prototype=Object.create(Error.prototype),V})();var L=v(2697),R=v(826),O=v(9054);class U{constructor(q,J,ie,ee){this.waitFor=q,this.absoluteTimeout=J,this.withObservable=ie,this.scheduler=ee}call(q,J){return J.subscribe(new j(q,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class j extends R.L{constructor(q,J,ie,ee,re){super(q),this.absoluteTimeout=J,this.waitFor=ie,this.withObservable=ee,this.scheduler=re,this.action=null,this.scheduleTimeout()}static dispatchTimeout(q){const{withObservable:J}=q;q._unsubscribeAndRecycle(),q.add((0,O.D)(q,J))}scheduleTimeout(){const{action:q}=this;q?this.action=q.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(j.dispatchTimeout,this.waitFor,this))}_next(q){this.absoluteTimeout||this.scheduleTimeout(),super._next(q)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var F=v(1737);function z(V,q=b.P){return function $(V,q,J=b.P){return ie=>{let ee=(0,L.J)(V),re=ee?+V-J.now():Math.abs(V);return ie.lift(new U(re,ee,q,J))}}(V,(0,F._)(new I),q)}},6454:(N,G,v)=>{"use strict";v.d(G,{r:()=>I});var b=v(2916),u=v(2654);function I(L,R){return new b.y(O=>{const $=new u.w;let U=0;return $.add(R.schedule(function(){U!==L.length?(O.next(L[U++]),O.closed||$.add(this.schedule())):O.complete()})),$})}},6686:(N,G,v)=>{"use strict";v.d(G,{o:()=>I});var b=v(2654);class u extends b.w{constructor(R,O){super()}schedule(R,O=0){return this}}class I extends u{constructor(R,O){super(R,O),this.scheduler=R,this.work=O,this.pending=!1}schedule(R,O=0){if(this.closed)return this;this.state=R;const $=this.id,U=this.scheduler;return null!=$&&(this.id=this.recycleAsyncId(U,$,O)),this.pending=!0,this.delay=O,this.id=this.id||this.requestAsyncId(U,this.id,O),this}requestAsyncId(R,O,$=0){return setInterval(R.flush.bind(R,this),$)}recycleAsyncId(R,O,$=0){if(null!==$&&this.delay===$&&!1===this.pending)return O;clearInterval(O)}execute(R,O){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const $=this._execute(R,O);if($)return $;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(R,O){let U,$=!1;try{this.work(R)}catch(j){$=!0,U=!!j&&j||new Error(j)}if($)return this.unsubscribe(),U}_unsubscribe(){const R=this.id,O=this.scheduler,$=O.actions,U=$.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==U&&$.splice(U,1),null!=R&&(this.id=this.recycleAsyncId(O,R,null)),this.delay=null}}},2268:(N,G,v)=>{"use strict";v.d(G,{v:()=>u});let b=(()=>{class I{constructor(R,O=I.now){this.SchedulerAction=R,this.now=O}schedule(R,O=0,$){return new this.SchedulerAction(this,R).schedule($,O)}}return I.now=()=>Date.now(),I})();class u extends b{constructor(L,R=b.now){super(L,()=>u.delegate&&u.delegate!==this?u.delegate.now():R()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(L,R=0,O){return u.delegate&&u.delegate!==this?u.delegate.schedule(L,R,O):super.schedule(L,R,O)}flush(L){const{actions:R}=this;if(this.active)return void R.push(L);let O;this.active=!0;do{if(O=L.execute(L.state,L.delay))break}while(L=R.shift());if(this.active=!1,O){for(;L=R.shift();)L.unsubscribe();throw O}}}},353:(N,G,v)=>{"use strict";v.d(G,{P:()=>I});var b=v(6686);const I=new(v(2268).v)(b.o)},5430:(N,G,v)=>{"use strict";v.d(G,{hZ:()=>u});const u=function b(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(N,G,v)=>{"use strict";v.d(G,{L:()=>b});const b="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(N,G,v)=>{"use strict";v.d(G,{b:()=>b});const b="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(N,G,v)=>{"use strict";v.d(G,{W:()=>u});const u=(()=>{function I(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return I.prototype=Object.create(Error.prototype),I})()},4450:(N,G,v)=>{"use strict";v.d(G,{K:()=>u});const u=(()=>{function I(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return I.prototype=Object.create(Error.prototype),I})()},5279:(N,G,v)=>{"use strict";v.d(G,{N:()=>u});const u=(()=>{function I(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return I.prototype=Object.create(Error.prototype),I})()},2782:(N,G,v)=>{"use strict";function b(u){setTimeout(()=>{throw u},0)}v.d(G,{z:()=>b})},5379:(N,G,v)=>{"use strict";function b(u){return u}v.d(G,{y:()=>b})},6688:(N,G,v)=>{"use strict";v.d(G,{k:()=>b});const b=Array.isArray||(u=>u&&"number"==typeof u.length)},8515:(N,G,v)=>{"use strict";v.d(G,{z:()=>b});const b=u=>u&&"number"==typeof u.length&&"function"!=typeof u},2697:(N,G,v)=>{"use strict";function b(u){return u instanceof Date&&!isNaN(+u)}v.d(G,{J:()=>b})},7043:(N,G,v)=>{"use strict";function b(u){return"function"==typeof u}v.d(G,{m:()=>b})},7830:(N,G,v)=>{"use strict";function b(u){return null!==u&&"object"==typeof u}v.d(G,{K:()=>b})},8955:(N,G,v)=>{"use strict";function b(u){return!!u&&"function"!=typeof u.subscribe&&"function"==typeof u.then}v.d(G,{t:()=>b})},2866:(N,G,v)=>{"use strict";function b(u){return u&&"function"==typeof u.schedule}v.d(G,{K:()=>b})},9249:(N,G,v)=>{"use strict";v.d(G,{s:()=>z});var b=v(3650),u=v(2782),L=v(5430),O=v(3821),U=v(8515),j=v(8955),F=v(7830);const z=V=>{if(V&&"function"==typeof V[O.L])return(V=>q=>{const J=V[O.L]();if("function"!=typeof J.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return J.subscribe(q)})(V);if((0,U.z)(V))return(0,b.V)(V);if((0,j.t)(V))return(V=>q=>(V.then(J=>{q.closed||(q.next(J),q.complete())},J=>q.error(J)).then(null,u.z),q))(V);if(V&&"function"==typeof V[L.hZ])return(V=>q=>{const J=V[L.hZ]();for(;;){const ie=J.next();if(ie.done){q.complete();break}if(q.next(ie.value),q.closed)break}return"function"==typeof J.return&&q.add(()=>{J.return&&J.return()}),q})(V);{const J=`You provided ${(0,F.K)(V)?"an invalid object":`'${V}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(J)}}},3650:(N,G,v)=>{"use strict";v.d(G,{V:()=>b});const b=u=>I=>{for(let L=0,R=u.length;L{"use strict";v.d(G,{D:()=>L});var b=v(1869),u=v(9249),I=v(2916);function L(R,O,$,U,j=new b.d(R,$,U)){if(!j.closed)return O instanceof I.y?O.subscribe(j):(0,u.s)(O)(j)}},655:(N,G,v)=>{"use strict";function U(oe,ue,de,le){return new(de||(de=Promise))(function(se,et){function At(Je){try{Ne(le.next(Je))}catch(An){et(An)}}function Ii(Je){try{Ne(le.throw(Je))}catch(An){et(An)}}function Ne(Je){Je.done?se(Je.value):function be(se){return se instanceof de?se:new de(function(et){et(se)})}(Je.value).then(At,Ii)}Ne((le=le.apply(oe,ue||[])).next())})}v.d(G,{mG:()=>U})},9808:(N,G,v)=>{"use strict";v.d(G,{mr:()=>Ae,Ov:()=>Qe,ez:()=>ds,K0:()=>$,Do:()=>ft,V_:()=>F,Ye:()=>_t,S$:()=>re,mk:()=>Po,sg:()=>wi,O5:()=>Gi,PC:()=>Yu,RF:()=>Fi,n9:()=>Ui,b0:()=>He,lw:()=>U,EM:()=>ed,JF:()=>Ft,NF:()=>fi,w_:()=>O,bD:()=>pa,q:()=>I,Mx:()=>ua,HT:()=>R});var b=v(5e3);let u=null;function I(){return u}function R(k){u||(u=k)}class O{}const $=new b.OlP("DocumentToken");let U=(()=>{class k{historyGo(E){throw new Error("Not implemented")}}return k.\u0275fac=function(E){return new(E||k)},k.\u0275prov=b.Yz7({token:k,factory:function(){return function j(){return(0,b.LFG)(z)}()},providedIn:"platform"}),k})();const F=new b.OlP("Location Initialized");let z=(()=>{class k extends U{constructor(E){super(),this._doc=E,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return I().getBaseHref(this._doc)}onPopState(E){const P=I().getGlobalEventTarget(this._doc,"window");return P.addEventListener("popstate",E,!1),()=>P.removeEventListener("popstate",E)}onHashChange(E){const P=I().getGlobalEventTarget(this._doc,"window");return P.addEventListener("hashchange",E,!1),()=>P.removeEventListener("hashchange",E)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(E){this.location.pathname=E}pushState(E,P,Y){V()?this._history.pushState(E,P,Y):this.location.hash=Y}replaceState(E,P,Y){V()?this._history.replaceState(E,P,Y):this.location.hash=Y}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return k.\u0275fac=function(E){return new(E||k)(b.LFG($))},k.\u0275prov=b.Yz7({token:k,factory:function(){return function q(){return new z((0,b.LFG)($))}()},providedIn:"platform"}),k})();function V(){return!!window.history.pushState}function J(k,x){if(0==k.length)return x;if(0==x.length)return k;let E=0;return k.endsWith("/")&&E++,x.startsWith("/")&&E++,2==E?k+x.substring(1):1==E?k+x:k+"/"+x}function ie(k){const x=k.match(/#|\?|$/),E=x&&x.index||k.length;return k.slice(0,E-("/"===k[E-1]?1:0))+k.slice(E)}function ee(k){return k&&"?"!==k[0]?"?"+k:k}let re=(()=>{class k{historyGo(E){throw new Error("Not implemented")}}return k.\u0275fac=function(E){return new(E||k)},k.\u0275prov=b.Yz7({token:k,factory:function(){return function Ce(k){const x=(0,b.LFG)($).location;return new He((0,b.LFG)(U),x&&x.origin||"")}()},providedIn:"root"}),k})();const Ae=new b.OlP("appBaseHref");let He=(()=>{class k extends re{constructor(E,P){if(super(),this._platformLocation=E,this._removeListenerFns=[],null==P&&(P=this._platformLocation.getBaseHrefFromDOM()),null==P)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=P}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return J(this._baseHref,E)}path(E=!1){const P=this._platformLocation.pathname+ee(this._platformLocation.search),Y=this._platformLocation.hash;return Y&&E?`${P}${Y}`:P}pushState(E,P,Y,ae){const ge=this.prepareExternalUrl(Y+ee(ae));this._platformLocation.pushState(E,P,ge)}replaceState(E,P,Y,ae){const ge=this.prepareExternalUrl(Y+ee(ae));this._platformLocation.replaceState(E,P,ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var P,Y;null===(Y=(P=this._platformLocation).historyGo)||void 0===Y||Y.call(P,E)}}return k.\u0275fac=function(E){return new(E||k)(b.LFG(U),b.LFG(Ae,8))},k.\u0275prov=b.Yz7({token:k,factory:k.\u0275fac}),k})(),ft=(()=>{class k extends re{constructor(E,P){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=P&&(this._baseHref=P)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let P=this._platformLocation.hash;return null==P&&(P="#"),P.length>0?P.substring(1):P}prepareExternalUrl(E){const P=J(this._baseHref,E);return P.length>0?"#"+P:P}pushState(E,P,Y,ae){let ge=this.prepareExternalUrl(Y+ee(ae));0==ge.length&&(ge=this._platformLocation.pathname),this._platformLocation.pushState(E,P,ge)}replaceState(E,P,Y,ae){let ge=this.prepareExternalUrl(Y+ee(ae));0==ge.length&&(ge=this._platformLocation.pathname),this._platformLocation.replaceState(E,P,ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var P,Y;null===(Y=(P=this._platformLocation).historyGo)||void 0===Y||Y.call(P,E)}}return k.\u0275fac=function(E){return new(E||k)(b.LFG(U),b.LFG(Ae,8))},k.\u0275prov=b.Yz7({token:k,factory:k.\u0275fac}),k})(),_t=(()=>{class k{constructor(E,P){this._subject=new b.vpe,this._urlChangeListeners=[],this._platformStrategy=E;const Y=this._platformStrategy.getBaseHref();this._platformLocation=P,this._baseHref=ie(Tt(Y)),this._platformStrategy.onPopState(ae=>{this._subject.emit({url:this.path(!0),pop:!0,state:ae.state,type:ae.type})})}path(E=!1){return this.normalize(this._platformStrategy.path(E))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(E,P=""){return this.path()==this.normalize(E+ee(P))}normalize(E){return k.stripTrailingSlash(function mi(k,x){return k&&x.startsWith(k)?x.substring(k.length):x}(this._baseHref,Tt(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._platformStrategy.prepareExternalUrl(E)}go(E,P="",Y=null){this._platformStrategy.pushState(Y,"",E,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ee(P)),Y)}replaceState(E,P="",Y=null){this._platformStrategy.replaceState(Y,"",E,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ee(P)),Y)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(E=0){var P,Y;null===(Y=(P=this._platformStrategy).historyGo)||void 0===Y||Y.call(P,E)}onUrlChange(E){this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(P=>{this._notifyUrlChangeListeners(P.url,P.state)}))}_notifyUrlChangeListeners(E="",P){this._urlChangeListeners.forEach(Y=>Y(E,P))}subscribe(E,P,Y){return this._subject.subscribe({next:E,error:P,complete:Y})}}return k.normalizeQueryParams=ee,k.joinWithSlash=J,k.stripTrailingSlash=ie,k.\u0275fac=function(E){return new(E||k)(b.LFG(re),b.LFG(U))},k.\u0275prov=b.Yz7({token:k,factory:function(){return function Ue(){return new _t((0,b.LFG)(re),(0,b.LFG)(U))}()},providedIn:"root"}),k})();function Tt(k){return k.replace(/\/index.html$/,"")}var ue=(()=>((ue=ue||{})[ue.Zero=0]="Zero",ue[ue.One=1]="One",ue[ue.Two=2]="Two",ue[ue.Few=3]="Few",ue[ue.Many=4]="Many",ue[ue.Other=5]="Other",ue))();const oo=b.kL8;class St{}let so=(()=>{class k extends St{constructor(E){super(),this.locale=E}getPluralCategory(E,P){switch(oo(P||this.locale)(E)){case ue.Zero:return"zero";case ue.One:return"one";case ue.Two:return"two";case ue.Few:return"few";case ue.Many:return"many";default:return"other"}}}return k.\u0275fac=function(E){return new(E||k)(b.LFG(b.soG))},k.\u0275prov=b.Yz7({token:k,factory:k.\u0275fac}),k})();function ua(k,x){x=encodeURIComponent(x);for(const E of k.split(";")){const P=E.indexOf("="),[Y,ae]=-1==P?[E,""]:[E.slice(0,P),E.slice(P+1)];if(Y.trim()===x)return decodeURIComponent(ae)}return null}let Po=(()=>{class k{constructor(E,P,Y,ae){this._iterableDiffers=E,this._keyValueDiffers=P,this._ngEl=Y,this._renderer=ae,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(E){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof E?E.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(E){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof E?E.split(/\s+/):E,this._rawClass&&((0,b.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const E=this._iterableDiffer.diff(this._rawClass);E&&this._applyIterableChanges(E)}else if(this._keyValueDiffer){const E=this._keyValueDiffer.diff(this._rawClass);E&&this._applyKeyValueChanges(E)}}_applyKeyValueChanges(E){E.forEachAddedItem(P=>this._toggleClass(P.key,P.currentValue)),E.forEachChangedItem(P=>this._toggleClass(P.key,P.currentValue)),E.forEachRemovedItem(P=>{P.previousValue&&this._toggleClass(P.key,!1)})}_applyIterableChanges(E){E.forEachAddedItem(P=>{if("string"!=typeof P.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,b.AaK)(P.item)}`);this._toggleClass(P.item,!0)}),E.forEachRemovedItem(P=>this._toggleClass(P.item,!1))}_applyClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(P=>this._toggleClass(P,!0)):Object.keys(E).forEach(P=>this._toggleClass(P,!!E[P])))}_removeClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(P=>this._toggleClass(P,!1)):Object.keys(E).forEach(P=>this._toggleClass(P,!1)))}_toggleClass(E,P){(E=E.trim())&&E.split(/\s+/g).forEach(Y=>{P?this._renderer.addClass(this._ngEl.nativeElement,Y):this._renderer.removeClass(this._ngEl.nativeElement,Y)})}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.ZZ4),b.Y36(b.aQg),b.Y36(b.SBq),b.Y36(b.Qsj))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),k})();class gr{constructor(x,E,P,Y){this.$implicit=x,this.ngForOf=E,this.index=P,this.count=Y}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let wi=(()=>{class k{constructor(E,P,Y){this._viewContainer=E,this._template=P,this._differs=Y,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const P=this._viewContainer;E.forEachOperation((Y,ae,ge)=>{if(null==Y.previousIndex)P.createEmbeddedView(this._template,new gr(Y.item,this._ngForOf,-1,-1),null===ge?void 0:ge);else if(null==ge)P.remove(null===ae?void 0:ae);else if(null!==ae){const ke=P.get(ae);P.move(ke,ge),mr(ke,Y)}});for(let Y=0,ae=P.length;Y{mr(P.get(Y.currentIndex),Y)})}static ngTemplateContextGuard(E,P){return!0}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(b.ZZ4))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),k})();function mr(k,x){k.context.$implicit=x.item}let Gi=(()=>{class k{constructor(E,P){this._viewContainer=E,this._context=new Pt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=P}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){Wu("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){Wu("ngIfElse",E),this._elseTemplateRef=E,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(E,P){return!0}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.s_b),b.Y36(b.Rgc))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),k})();class Pt{constructor(){this.$implicit=null,this.ngIf=null}}function Wu(k,x){if(x&&!x.createEmbeddedView)throw new Error(`${k} must be a TemplateRef, but received '${(0,b.AaK)(x)}'.`)}class Nc{constructor(x,E){this._viewContainerRef=x,this._templateRef=E,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(x){x&&!this._created?this.create():!x&&this._created&&this.destroy()}}let Fi=(()=>{class k{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(E)}_matchCase(E){const P=E==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||P,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),P}_updateDefaultCases(E){if(this._defaultViews&&E!==this._defaultUsed){this._defaultUsed=E;for(let P=0;P{class k{constructor(E,P,Y){this.ngSwitch=Y,Y._addCase(),this._view=new Nc(E,P)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Fi,9))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),k})(),Yu=(()=>{class k{constructor(E,P,Y){this._ngEl=E,this._differs=P,this._renderer=Y,this._ngStyle=null,this._differ=null}set ngStyle(E){this._ngStyle=E,!this._differ&&E&&(this._differ=this._differs.find(E).create())}ngDoCheck(){if(this._differ){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,P){const[Y,ae]=E.split(".");null!=(P=null!=P&&ae?`${P}${ae}`:P)?this._renderer.setStyle(this._ngEl.nativeElement,Y,P):this._renderer.removeStyle(this._ngEl.nativeElement,Y)}_applyChanges(E){E.forEachRemovedItem(P=>this._setStyle(P.key,null)),E.forEachAddedItem(P=>this._setStyle(P.key,P.currentValue)),E.forEachChangedItem(P=>this._setStyle(P.key,P.currentValue))}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.SBq),b.Y36(b.aQg),b.Y36(b.Qsj))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),k})();class pp{createSubscription(x,E){return x.subscribe({next:E,error:P=>{throw P}})}dispose(x){x.unsubscribe()}onDestroy(x){x.unsubscribe()}}class nt{createSubscription(x,E){return x.then(E,P=>{throw P})}dispose(x){}onDestroy(x){}}const gp=new nt,ki=new pp;let Qe=(()=>{class k{constructor(E){this._ref=E,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(E){return this._obj?E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue:(E&&this._subscribe(E),this._latestValue)}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,P=>this._updateLatestValue(E,P))}_selectStrategy(E){if((0,b.QGY)(E))return gp;if((0,b.F4k)(E))return ki;throw function fn(k,x){return new b.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,P){E===this._obj&&(this._latestValue=P,this._ref.markForCheck())}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.sBO,16))},k.\u0275pipe=b.Yjl({name:"async",type:k,pure:!1}),k})(),ds=(()=>{class k{}return k.\u0275fac=function(E){return new(E||k)},k.\u0275mod=b.oAB({type:k}),k.\u0275inj=b.cJS({providers:[{provide:St,useClass:so}]}),k})();const pa="browser";function fi(k){return k===pa}let ed=(()=>{class k{}return k.\u0275prov=(0,b.Yz7)({token:k,providedIn:"root",factory:()=>new wr((0,b.LFG)($),window)}),k})();class wr{constructor(x,E){this.document=x,this.window=E,this.offset=()=>[0,0]}setOffset(x){this.offset=Array.isArray(x)?()=>x:x}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(x){this.supportsScrolling()&&this.window.scrollTo(x[0],x[1])}scrollToAnchor(x){if(!this.supportsScrolling())return;const E=function hs(k,x){const E=k.getElementById(x)||k.getElementsByName(x)[0];if(E)return E;if("function"==typeof k.createTreeWalker&&k.body&&(k.body.createShadowRoot||k.body.attachShadow)){const P=k.createTreeWalker(k.body,NodeFilter.SHOW_ELEMENT);let Y=P.currentNode;for(;Y;){const ae=Y.shadowRoot;if(ae){const ge=ae.getElementById(x)||ae.querySelector(`[name="${x}"]`);if(ge)return ge}Y=P.nextNode()}}return null}(this.document,x);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(x){if(this.supportScrollRestoration()){const E=this.window.history;E&&E.scrollRestoration&&(E.scrollRestoration=x)}}scrollToElement(x){const E=x.getBoundingClientRect(),P=E.left+this.window.pageXOffset,Y=E.top+this.window.pageYOffset,ae=this.offset();this.window.scrollTo(P-ae[0],Y-ae[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const x=br(this.window.history)||br(Object.getPrototypeOf(this.window.history));return!(!x||!x.writable&&!x.set)}catch(x){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(x){return!1}}}function br(k){return Object.getOwnPropertyDescriptor(k,"scrollRestoration")}class Ft{}},520:(N,G,v)=>{"use strict";v.d(G,{TP:()=>At,eN:()=>se,JF:()=>_i,WM:()=>F,LE:()=>re,Zn:()=>de});var b=v(9808),u=v(5e3),I=v(1086),L=v(2916),R=v(1406),O=v(2198),$=v(4850);class U{}class j{}class F{constructor(Q){this.normalizedNames=new Map,this.lazyUpdate=null,Q?this.lazyInit="string"==typeof Q?()=>{this.headers=new Map,Q.split("\n").forEach(X=>{const we=X.indexOf(":");if(we>0){const ye=X.slice(0,we),Me=ye.toLowerCase(),Se=X.slice(we+1).trim();this.maybeSetNormalizedName(ye,Me),this.headers.has(Me)?this.headers.get(Me).push(Se):this.headers.set(Me,[Se])}})}:()=>{this.headers=new Map,Object.keys(Q).forEach(X=>{let we=Q[X];const ye=X.toLowerCase();"string"==typeof we&&(we=[we]),we.length>0&&(this.headers.set(ye,we),this.maybeSetNormalizedName(X,ye))})}:this.headers=new Map}has(Q){return this.init(),this.headers.has(Q.toLowerCase())}get(Q){this.init();const X=this.headers.get(Q.toLowerCase());return X&&X.length>0?X[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Q){return this.init(),this.headers.get(Q.toLowerCase())||null}append(Q,X){return this.clone({name:Q,value:X,op:"a"})}set(Q,X){return this.clone({name:Q,value:X,op:"s"})}delete(Q,X){return this.clone({name:Q,value:X,op:"d"})}maybeSetNormalizedName(Q,X){this.normalizedNames.has(X)||this.normalizedNames.set(X,Q)}init(){this.lazyInit&&(this.lazyInit instanceof F?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Q=>this.applyUpdate(Q)),this.lazyUpdate=null))}copyFrom(Q){Q.init(),Array.from(Q.headers.keys()).forEach(X=>{this.headers.set(X,Q.headers.get(X)),this.normalizedNames.set(X,Q.normalizedNames.get(X))})}clone(Q){const X=new F;return X.lazyInit=this.lazyInit&&this.lazyInit instanceof F?this.lazyInit:this,X.lazyUpdate=(this.lazyUpdate||[]).concat([Q]),X}applyUpdate(Q){const X=Q.name.toLowerCase();switch(Q.op){case"a":case"s":let we=Q.value;if("string"==typeof we&&(we=[we]),0===we.length)return;this.maybeSetNormalizedName(Q.name,X);const ye=("a"===Q.op?this.headers.get(X):void 0)||[];ye.push(...we),this.headers.set(X,ye);break;case"d":const Me=Q.value;if(Me){let Se=this.headers.get(X);if(!Se)return;Se=Se.filter(Oe=>-1===Me.indexOf(Oe)),0===Se.length?(this.headers.delete(X),this.normalizedNames.delete(X)):this.headers.set(X,Se)}else this.headers.delete(X),this.normalizedNames.delete(X)}}forEach(Q){this.init(),Array.from(this.normalizedNames.keys()).forEach(X=>Q(this.normalizedNames.get(X),this.headers.get(X)))}}class z{encodeKey(Q){return ie(Q)}encodeValue(Q){return ie(Q)}decodeKey(Q){return decodeURIComponent(Q)}decodeValue(Q){return decodeURIComponent(Q)}}const q=/%(\d[a-f0-9])/gi,J={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ie(me){return encodeURIComponent(me).replace(q,(Q,X)=>{var we;return null!==(we=J[X])&&void 0!==we?we:Q})}function ee(me){return`${me}`}class re{constructor(Q={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Q.encoder||new z,Q.fromString){if(Q.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function V(me,Q){const X=new Map;return me.length>0&&me.replace(/^\?/,"").split("&").forEach(ye=>{const Me=ye.indexOf("="),[Se,Oe]=-1==Me?[Q.decodeKey(ye),""]:[Q.decodeKey(ye.slice(0,Me)),Q.decodeValue(ye.slice(Me+1))],ut=X.get(Se)||[];ut.push(Oe),X.set(Se,ut)}),X}(Q.fromString,this.encoder)}else Q.fromObject?(this.map=new Map,Object.keys(Q.fromObject).forEach(X=>{const we=Q.fromObject[X];this.map.set(X,Array.isArray(we)?we:[we])})):this.map=null}has(Q){return this.init(),this.map.has(Q)}get(Q){this.init();const X=this.map.get(Q);return X?X[0]:null}getAll(Q){return this.init(),this.map.get(Q)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Q,X){return this.clone({param:Q,value:X,op:"a"})}appendAll(Q){const X=[];return Object.keys(Q).forEach(we=>{const ye=Q[we];Array.isArray(ye)?ye.forEach(Me=>{X.push({param:we,value:Me,op:"a"})}):X.push({param:we,value:ye,op:"a"})}),this.clone(X)}set(Q,X){return this.clone({param:Q,value:X,op:"s"})}delete(Q,X){return this.clone({param:Q,value:X,op:"d"})}toString(){return this.init(),this.keys().map(Q=>{const X=this.encoder.encodeKey(Q);return this.map.get(Q).map(we=>X+"="+this.encoder.encodeValue(we)).join("&")}).filter(Q=>""!==Q).join("&")}clone(Q){const X=new re({encoder:this.encoder});return X.cloneFrom=this.cloneFrom||this,X.updates=(this.updates||[]).concat(Q),X}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Q=>this.map.set(Q,this.cloneFrom.map.get(Q))),this.updates.forEach(Q=>{switch(Q.op){case"a":case"s":const X=("a"===Q.op?this.map.get(Q.param):void 0)||[];X.push(ee(Q.value)),this.map.set(Q.param,X);break;case"d":if(void 0===Q.value){this.map.delete(Q.param);break}{let we=this.map.get(Q.param)||[];const ye=we.indexOf(ee(Q.value));-1!==ye&&we.splice(ye,1),we.length>0?this.map.set(Q.param,we):this.map.delete(Q.param)}}}),this.cloneFrom=this.updates=null)}}class Ae{constructor(){this.map=new Map}set(Q,X){return this.map.set(Q,X),this}get(Q){return this.map.has(Q)||this.map.set(Q,Q.defaultValue()),this.map.get(Q)}delete(Q){return this.map.delete(Q),this}has(Q){return this.map.has(Q)}keys(){return this.map.keys()}}function ft(me){return"undefined"!=typeof ArrayBuffer&&me instanceof ArrayBuffer}function _t(me){return"undefined"!=typeof Blob&&me instanceof Blob}function Ue(me){return"undefined"!=typeof FormData&&me instanceof FormData}class Tt{constructor(Q,X,we,ye){let Me;if(this.url=X,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Q.toUpperCase(),function He(me){switch(me){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ye?(this.body=void 0!==we?we:null,Me=ye):Me=we,Me&&(this.reportProgress=!!Me.reportProgress,this.withCredentials=!!Me.withCredentials,Me.responseType&&(this.responseType=Me.responseType),Me.headers&&(this.headers=Me.headers),Me.context&&(this.context=Me.context),Me.params&&(this.params=Me.params)),this.headers||(this.headers=new F),this.context||(this.context=new Ae),this.params){const Se=this.params.toString();if(0===Se.length)this.urlWithParams=X;else{const Oe=X.indexOf("?");this.urlWithParams=X+(-1===Oe?"?":OeZt.set(ct,Q.setHeaders[ct]),Yt)),Q.setParams&&(at=Object.keys(Q.setParams).reduce((Zt,ct)=>Zt.set(ct,Q.setParams[ct]),at)),new Tt(we,ye,Se,{params:at,headers:Yt,context:jn,reportProgress:ut,responseType:Me,withCredentials:Oe})}}var Ze=(()=>((Ze=Ze||{})[Ze.Sent=0]="Sent",Ze[Ze.UploadProgress=1]="UploadProgress",Ze[Ze.ResponseHeader=2]="ResponseHeader",Ze[Ze.DownloadProgress=3]="DownloadProgress",Ze[Ze.Response=4]="Response",Ze[Ze.User=5]="User",Ze))();class oe{constructor(Q,X=200,we="OK"){this.headers=Q.headers||new F,this.status=void 0!==Q.status?Q.status:X,this.statusText=Q.statusText||we,this.url=Q.url||null,this.ok=this.status>=200&&this.status<300}}class ue extends oe{constructor(Q={}){super(Q),this.type=Ze.ResponseHeader}clone(Q={}){return new ue({headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class de extends oe{constructor(Q={}){super(Q),this.type=Ze.Response,this.body=void 0!==Q.body?Q.body:null}clone(Q={}){return new de({body:void 0!==Q.body?Q.body:this.body,headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class le extends oe{constructor(Q){super(Q,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Q.url||"(unknown url)"}`:`Http failure response for ${Q.url||"(unknown url)"}: ${Q.status} ${Q.statusText}`,this.error=Q.error||null}}function be(me,Q){return{body:Q,headers:me.headers,context:me.context,observe:me.observe,params:me.params,reportProgress:me.reportProgress,responseType:me.responseType,withCredentials:me.withCredentials}}let se=(()=>{class me{constructor(X){this.handler=X}request(X,we,ye={}){let Me;if(X instanceof Tt)Me=X;else{let ut,Yt;ut=ye.headers instanceof F?ye.headers:new F(ye.headers),ye.params&&(Yt=ye.params instanceof re?ye.params:new re({fromObject:ye.params})),Me=new Tt(X,we,void 0!==ye.body?ye.body:null,{headers:ut,context:ye.context,params:Yt,reportProgress:ye.reportProgress,responseType:ye.responseType||"json",withCredentials:ye.withCredentials})}const Se=(0,I.of)(Me).pipe((0,R.b)(ut=>this.handler.handle(ut)));if(X instanceof Tt||"events"===ye.observe)return Se;const Oe=Se.pipe((0,O.h)(ut=>ut instanceof de));switch(ye.observe||"body"){case"body":switch(Me.responseType){case"arraybuffer":return Oe.pipe((0,$.U)(ut=>{if(null!==ut.body&&!(ut.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ut.body}));case"blob":return Oe.pipe((0,$.U)(ut=>{if(null!==ut.body&&!(ut.body instanceof Blob))throw new Error("Response is not a Blob.");return ut.body}));case"text":return Oe.pipe((0,$.U)(ut=>{if(null!==ut.body&&"string"!=typeof ut.body)throw new Error("Response is not a string.");return ut.body}));default:return Oe.pipe((0,$.U)(ut=>ut.body))}case"response":return Oe;default:throw new Error(`Unreachable: unhandled observe type ${ye.observe}}`)}}delete(X,we={}){return this.request("DELETE",X,we)}get(X,we={}){return this.request("GET",X,we)}head(X,we={}){return this.request("HEAD",X,we)}jsonp(X,we){return this.request("JSONP",X,{params:(new re).append(we,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(X,we={}){return this.request("OPTIONS",X,we)}patch(X,we,ye={}){return this.request("PATCH",X,be(ye,we))}post(X,we,ye={}){return this.request("POST",X,be(ye,we))}put(X,we,ye={}){return this.request("PUT",X,be(ye,we))}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(U))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})();class et{constructor(Q,X){this.next=Q,this.interceptor=X}handle(Q){return this.interceptor.intercept(Q,this.next)}}const At=new u.OlP("HTTP_INTERCEPTORS");let Ii=(()=>{class me{intercept(X,we){return we.handle(X)}}return me.\u0275fac=function(X){return new(X||me)},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})();const Cn=/^\)\]\}',?\n/;let no=(()=>{class me{constructor(X){this.xhrFactory=X}handle(X){if("JSONP"===X.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new L.y(we=>{const ye=this.xhrFactory.build();if(ye.open(X.method,X.urlWithParams),X.withCredentials&&(ye.withCredentials=!0),X.headers.forEach((ct,Re)=>ye.setRequestHeader(ct,Re.join(","))),X.headers.has("Accept")||ye.setRequestHeader("Accept","application/json, text/plain, */*"),!X.headers.has("Content-Type")){const ct=X.detectContentTypeHeader();null!==ct&&ye.setRequestHeader("Content-Type",ct)}if(X.responseType){const ct=X.responseType.toLowerCase();ye.responseType="json"!==ct?ct:"text"}const Me=X.serializeBody();let Se=null;const Oe=()=>{if(null!==Se)return Se;const ct=ye.statusText||"OK",Re=new F(ye.getAllResponseHeaders()),cn=function ri(me){return"responseURL"in me&&me.responseURL?me.responseURL:/^X-Request-URL:/m.test(me.getAllResponseHeaders())?me.getResponseHeader("X-Request-URL"):null}(ye)||X.url;return Se=new ue({headers:Re,status:ye.status,statusText:ct,url:cn}),Se},ut=()=>{let{headers:ct,status:Re,statusText:cn,url:vt}=Oe(),Jt=null;204!==Re&&(Jt=void 0===ye.response?ye.responseText:ye.response),0===Re&&(Re=Jt?200:0);let Tn=Re>=200&&Re<300;if("json"===X.responseType&&"string"==typeof Jt){const ln=Jt;Jt=Jt.replace(Cn,"");try{Jt=""!==Jt?JSON.parse(Jt):null}catch(En){Jt=ln,Tn&&(Tn=!1,Jt={error:En,text:Jt})}}Tn?(we.next(new de({body:Jt,headers:ct,status:Re,statusText:cn,url:vt||void 0})),we.complete()):we.error(new le({error:Jt,headers:ct,status:Re,statusText:cn,url:vt||void 0}))},Yt=ct=>{const{url:Re}=Oe(),cn=new le({error:ct,status:ye.status||0,statusText:ye.statusText||"Unknown Error",url:Re||void 0});we.error(cn)};let at=!1;const jn=ct=>{at||(we.next(Oe()),at=!0);let Re={type:Ze.DownloadProgress,loaded:ct.loaded};ct.lengthComputable&&(Re.total=ct.total),"text"===X.responseType&&!!ye.responseText&&(Re.partialText=ye.responseText),we.next(Re)},Zt=ct=>{let Re={type:Ze.UploadProgress,loaded:ct.loaded};ct.lengthComputable&&(Re.total=ct.total),we.next(Re)};return ye.addEventListener("load",ut),ye.addEventListener("error",Yt),ye.addEventListener("timeout",Yt),ye.addEventListener("abort",Yt),X.reportProgress&&(ye.addEventListener("progress",jn),null!==Me&&ye.upload&&ye.upload.addEventListener("progress",Zt)),ye.send(Me),we.next({type:Ze.Sent}),()=>{ye.removeEventListener("error",Yt),ye.removeEventListener("abort",Yt),ye.removeEventListener("load",ut),ye.removeEventListener("timeout",Yt),X.reportProgress&&(ye.removeEventListener("progress",jn),null!==Me&&ye.upload&&ye.upload.removeEventListener("progress",Zt)),ye.readyState!==ye.DONE&&ye.abort()}})}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(b.JF))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})();const is=new u.OlP("XSRF_COOKIE_NAME"),ns=new u.OlP("XSRF_HEADER_NAME");class os{}let Mo=(()=>{class me{constructor(X,we,ye){this.doc=X,this.platform=we,this.cookieName=ye,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const X=this.doc.cookie||"";return X!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,b.Mx)(X,this.cookieName),this.lastCookieString=X),this.lastToken}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(b.K0),u.LFG(u.Lbi),u.LFG(is))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})(),oo=(()=>{class me{constructor(X,we){this.tokenService=X,this.headerName=we}intercept(X,we){const ye=X.url.toLowerCase();if("GET"===X.method||"HEAD"===X.method||ye.startsWith("http://")||ye.startsWith("https://"))return we.handle(X);const Me=this.tokenService.getToken();return null!==Me&&!X.headers.has(this.headerName)&&(X=X.clone({headers:X.headers.set(this.headerName,Me)})),we.handle(X)}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(os),u.LFG(ns))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})(),xo=(()=>{class me{constructor(X,we){this.backend=X,this.injector=we,this.chain=null}handle(X){if(null===this.chain){const we=this.injector.get(At,[]);this.chain=we.reduceRight((ye,Me)=>new et(ye,Me),this.backend)}return this.chain.handle(X)}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(j),u.LFG(u.zs3))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})(),aa=(()=>{class me{static disable(){return{ngModule:me,providers:[{provide:oo,useClass:Ii}]}}static withOptions(X={}){return{ngModule:me,providers:[X.cookieName?{provide:is,useValue:X.cookieName}:[],X.headerName?{provide:ns,useValue:X.headerName}:[]]}}}return me.\u0275fac=function(X){return new(X||me)},me.\u0275mod=u.oAB({type:me}),me.\u0275inj=u.cJS({providers:[oo,{provide:At,useExisting:oo,multi:!0},{provide:os,useClass:Mo},{provide:is,useValue:"XSRF-TOKEN"},{provide:ns,useValue:"X-XSRF-TOKEN"}]}),me})(),_i=(()=>{class me{}return me.\u0275fac=function(X){return new(X||me)},me.\u0275mod=u.oAB({type:me}),me.\u0275inj=u.cJS({providers:[se,{provide:U,useClass:xo},no,{provide:j,useExisting:no}],imports:[[aa.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),me})()},5e3:(N,G,v)=>{"use strict";v.d(G,{deG:()=>B0,tb:()=>W_,AFp:()=>U_,ip1:()=>Tc,CZH:()=>Zs,hGG:()=>mS,z2F:()=>qr,sBO:()=>hS,Sil:()=>Ec,_Vd:()=>Ni,EJc:()=>Y_,SBq:()=>Ks,qLn:()=>_n,vpe:()=>Ln,tBr:()=>ul,XFs:()=>We,OlP:()=>zt,zs3:()=>On,ZZ4:()=>kc,aQg:()=>ea,soG:()=>Iu,YKP:()=>lf,h0i:()=>jr,PXZ:()=>oy,R0b:()=>Vi,FiY:()=>_s,Lbi:()=>$_,g9A:()=>q_,n_E:()=>$s,Qsj:()=>KA,FYo:()=>rf,JOm:()=>rt,q3G:()=>Kt,tp0:()=>Sa,Rgc:()=>_c,dDg:()=>J_,GfV:()=>sr,s_b:()=>Cu,ifc:()=>Me,eFA:()=>EC,G48:()=>MC,Gpc:()=>z,f3M:()=>kw,_c5:()=>Ay,VLi:()=>ty,c2e:()=>Pf,zSh:()=>jl,wAp:()=>Ke,vHH:()=>ie,EiD:()=>Nw,mCW:()=>bs,qzn:()=>Ma,JVY:()=>wT,pB0:()=>CT,eBb:()=>vT,L6k:()=>bT,LAX:()=>AT,cg1:()=>Br,kL8:()=>nA,yhl:()=>Hw,dqk:()=>at,sIi:()=>Jo,CqO:()=>vv,QGY:()=>vm,F4k:()=>bv,RDi:()=>br,AaK:()=>U,z3N:()=>Ko,qOj:()=>Th,TTD:()=>yr,_Bn:()=>l_,xp6:()=>Ml,uIk:()=>Yl,ekj:()=>Lh,Suo:()=>Tf,Xpm:()=>la,lG2:()=>Lt,Yz7:()=>Ot,cJS:()=>Cn,oAB:()=>pr,Yjl:()=>Bt,Y36:()=>Ls,_UZ:()=>mv,GkF:()=>yv,BQk:()=>bm,ynx:()=>Oh,qZA:()=>wm,TgZ:()=>Ao,EpF:()=>wv,n5z:()=>yw,Ikx:()=>$h,LFG:()=>pi,$8M:()=>ol,$Z:()=>_m,NdJ:()=>Am,CRH:()=>k_,kcU:()=>lw,O4$:()=>Dp,oxw:()=>Cv,ALo:()=>bu,lcZ:()=>qs,xi3:()=>v_,Dn7:()=>A_,Hsn:()=>Em,F$t:()=>Tv,Q6J:()=>Ih,s9C:()=>Fh,VKq:()=>_u,iGM:()=>S_,MAs:()=>am,CHM:()=>Ap,oJD:()=>tg,LSH:()=>Md,Udp:()=>zh,WFA:()=>Cm,d8E:()=>zr,YNc:()=>sm,_uU:()=>Lm,Oqu:()=>Kh,hij:()=>nc,AsE:()=>Gh,Gf:()=>Cf});var b=v(8929),u=v(2654),I=v(2916),L=v(6787),R=v(2474);function O(c){for(let l in c)if(c[l]===O)return l;throw Error("Could not find renamed property on target object.")}function $(c,l){for(const f in l)l.hasOwnProperty(f)&&!c.hasOwnProperty(f)&&(c[f]=l[f])}function U(c){if("string"==typeof c)return c;if(Array.isArray(c))return"["+c.map(U).join(", ")+"]";if(null==c)return""+c;if(c.overriddenName)return`${c.overriddenName}`;if(c.name)return`${c.name}`;const l=c.toString();if(null==l)return""+l;const f=l.indexOf("\n");return-1===f?l:l.substring(0,f)}function j(c,l){return null==c||""===c?null===l?"":l:null==l||""===l?c:c+" "+l}const F=O({__forward_ref__:O});function z(c){return c.__forward_ref__=z,c.toString=function(){return U(this())},c}function V(c){return q(c)?c():c}function q(c){return"function"==typeof c&&c.hasOwnProperty(F)&&c.__forward_ref__===z}class ie extends Error{constructor(l,f){super(function ee(c,l){return`NG0${Math.abs(c)}${l?": "+l:""}`}(l,f)),this.code=l}}function re(c){return"string"==typeof c?c:null==c?"":String(c)}function Ce(c){return"function"==typeof c?c.name||c.toString():"object"==typeof c&&null!=c&&"function"==typeof c.type?c.type.name||c.type.toString():re(c)}function _t(c,l){const f=l?` in ${l}`:"";throw new ie(-201,`No provider for ${Ce(c)} found${f}`)}function Ne(c,l){null==c&&function Je(c,l,f,p){throw new Error(`ASSERTION ERROR: ${c}`+(null==p?"":` [Expected=> ${f} ${p} ${l} <=Actual]`))}(l,c,null,"!=")}function Ot(c){return{token:c.token,providedIn:c.providedIn||null,factory:c.factory,value:void 0}}function Cn(c){return{providers:c.providers||[],imports:c.imports||[]}}function ri(c){return no(c,Mo)||no(c,xo)}function no(c,l){return c.hasOwnProperty(l)?c[l]:null}function os(c){return c&&(c.hasOwnProperty(oo)||c.hasOwnProperty($u))?c[oo]:null}const Mo=O({\u0275prov:O}),oo=O({\u0275inj:O}),xo=O({ngInjectableDef:O}),$u=O({ngInjectorDef:O});var We=(()=>((We=We||{})[We.Default=0]="Default",We[We.Host=1]="Host",We[We.Self=2]="Self",We[We.SkipSelf=4]="SkipSelf",We[We.Optional=8]="Optional",We))();let aa;function Oi(c){const l=aa;return aa=c,l}function ca(c,l,f){const p=ri(c);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:f&We.Optional?null:void 0!==l?l:void _t(U(c),"Injector")}function Q(c){return{toString:c}.toString()}var X=(()=>((X=X||{})[X.OnPush=0]="OnPush",X[X.Default=1]="Default",X))(),Me=(()=>{return(c=Me||(Me={}))[c.Emulated=0]="Emulated",c[c.None=2]="None",c[c.ShadowDom=3]="ShadowDom",Me;var c})();const Se="undefined"!=typeof globalThis&&globalThis,Oe="undefined"!=typeof window&&window,ut="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,at=Se||"undefined"!=typeof global&&global||Oe||ut,ct={},Re=[],cn=O({\u0275cmp:O}),vt=O({\u0275dir:O}),Jt=O({\u0275pipe:O}),Tn=O({\u0275mod:O}),ln=O({\u0275fac:O}),En=O({__NG_ELEMENT_ID__:O});let hp=0;function la(c){return Q(()=>{const f={},p={type:c.type,providersResolver:null,decls:c.decls,vars:c.vars,factory:null,template:c.template||null,consts:c.consts||null,ngContentSelectors:c.ngContentSelectors,hostBindings:c.hostBindings||null,hostVars:c.hostVars||0,hostAttrs:c.hostAttrs||null,contentQueries:c.contentQueries||null,declaredInputs:f,inputs:null,outputs:null,exportAs:c.exportAs||null,onPush:c.changeDetection===X.OnPush,directiveDefs:null,pipeDefs:null,selectors:c.selectors||Re,viewQuery:c.viewQuery||null,features:c.features||null,data:c.data||{},encapsulation:c.encapsulation||Me.Emulated,id:"c",styles:c.styles||Re,_:null,setInput:null,schemas:c.schemas||null,tView:null},m=c.directives,_=c.features,y=c.pipes;return p.id+=hp++,p.inputs=C(c.inputs,f),p.outputs=C(c.outputs),_&&_.forEach(w=>w(p)),p.directiveDefs=m?()=>("function"==typeof m?m():m).map(rs):null,p.pipeDefs=y?()=>("function"==typeof y?y():y).map(Sn):null,p})}function rs(c){return si(c)||function je(c){return c[vt]||null}(c)}function Sn(c){return function un(c){return c[Jt]||null}(c)}const Lc={};function pr(c){return Q(()=>{const l={type:c.type,bootstrap:c.bootstrap||Re,declarations:c.declarations||Re,imports:c.imports||Re,exports:c.exports||Re,transitiveCompileScopes:null,schemas:c.schemas||null,id:c.id||null};return null!=c.id&&(Lc[c.id]=c.type),l})}function C(c,l){if(null==c)return ct;const f={};for(const p in c)if(c.hasOwnProperty(p)){let m=c[p],_=m;Array.isArray(m)&&(_=m[1],m=m[0]),f[m]=p,l&&(l[m]=_)}return f}const Lt=la;function Bt(c){return{type:c.type,name:c.name,factory:null,pure:!1!==c.pure,onDestroy:c.type.prototype.ngOnDestroy||null}}function si(c){return c[cn]||null}function ai(c,l){const f=c[Tn]||null;if(!f&&!0===l)throw new Error(`Type ${U(c)} does not have '\u0275mod' property.`);return f}function Fi(c){return Array.isArray(c)&&"object"==typeof c[1]}function Ui(c){return Array.isArray(c)&&!0===c[1]}function jc(c){return 0!=(8&c.flags)}function Vc(c){return 2==(2&c.flags)}function ls(c){return 1==(1&c.flags)}function hn(c){return null!==c.template}function Yu(c){return 0!=(512&c[2])}function Gn(c,l){return c.hasOwnProperty(ln)?c[ln]:null}class Zu{constructor(l,f,p){this.previousValue=l,this.currentValue=f,this.firstChange=p}isFirstChange(){return this.firstChange}}function yr(){return us}function us(c){return c.type.prototype.ngOnChanges&&(c.setInput=yp),fa}function fa(){const c=pa(this),l=null==c?void 0:c.current;if(l){const f=c.previous;if(f===ct)c.previous=l;else for(let p in l)f[p]=l[p];c.current=null,this.ngOnChanges(l)}}function yp(c,l,f,p){const m=pa(c)||function Gc(c,l){return c[ds]=l}(c,{previous:ct,current:null}),_=m.current||(m.current={}),y=m.previous,w=this.declaredInputs[f],T=y[w];_[w]=new Zu(T&&T.currentValue,l,y===ct),c[p]=l}yr.ngInherit=!0;const ds="__ngSimpleChanges__";function pa(c){return c[ds]||null}let wr;function br(c){wr=c}function hs(){return void 0!==wr?wr:"undefined"!=typeof document?document:void 0}function Ft(c){return!!c.listen}const k={createRenderer:(c,l)=>hs()};function E(c){for(;Array.isArray(c);)c=c[0];return c}function ae(c,l){return E(l[c])}function ge(c,l){return E(l[c.index])}function kt(c,l){return c.data[l]}function Ve(c,l){return c[l]}function Xe(c,l){const f=l[c];return Fi(f)?f:f[0]}function ot(c){return 4==(4&c[2])}function qt(c){return 128==(128&c[2])}function xt(c,l){return null==l?null:c[l]}function Io(c){c[18]=0}function ti(c,l){c[5]+=l;let f=c,p=c[3];for(;null!==p&&(1===l&&1===f[5]||-1===l&&0===f[5]);)p[5]+=l,f=p,p=p[3]}const Be={lFrame:sw(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function vp(){return Be.bindingsEnabled}function fe(){return Be.lFrame.lView}function pt(){return Be.lFrame.tView}function Ap(c){return Be.lFrame.contextLView=c,c[8]}function ii(){let c=Cp();for(;null!==c&&64===c.type;)c=c.parent;return c}function Cp(){return Be.lFrame.currentTNode}function ci(c,l){const f=Be.lFrame;f.currentTNode=c,f.isParent=l}function Tp(){return Be.lFrame.isParent}function Oo(){Be.lFrame.isParent=!1}function id(){return Be.isInCheckNoChangesMode}function nd(c){Be.isInCheckNoChangesMode=c}function zi(){const c=Be.lFrame;let l=c.bindingRootIndex;return-1===l&&(l=c.bindingRootIndex=c.tView.bindingStartIndex),l}function vr(){return Be.lFrame.bindingIndex++}function Fo(c){const l=Be.lFrame,f=l.bindingIndex;return l.bindingIndex=l.bindingIndex+c,f}function x0(c,l){const f=Be.lFrame;f.bindingIndex=f.bindingRootIndex=c,Sp(l)}function Sp(c){Be.lFrame.currentDirectiveIndex=c}function kp(c){const l=Be.lFrame.currentDirectiveIndex;return-1===l?null:c[l]}function nw(){return Be.lFrame.currentQueryIndex}function Dn(c){Be.lFrame.currentQueryIndex=c}function ps(c){const l=c[1];return 2===l.type?l.declTNode:1===l.type?c[6]:null}function ow(c,l,f){if(f&We.SkipSelf){let m=l,_=c;for(;!(m=m.parent,null!==m||f&We.Host||(m=ps(_),null===m||(_=_[15],10&m.type))););if(null===m)return!1;l=m,c=_}const p=Be.lFrame=rw();return p.currentTNode=l,p.lView=c,!0}function od(c){const l=rw(),f=c[1];Be.lFrame=l,l.currentTNode=f.firstChild,l.lView=c,l.tView=f,l.contextLView=c,l.bindingIndex=f.bindingStartIndex,l.inI18n=!1}function rw(){const c=Be.lFrame,l=null===c?null:c.child;return null===l?sw(c):l}function sw(c){const l={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:c,child:null,inI18n:!1};return null!==c&&(c.child=l),l}function aw(){const c=Be.lFrame;return Be.lFrame=c.parent,c.currentTNode=null,c.lView=null,c}const cw=aw;function gs(){const c=aw();c.isParent=!0,c.tView=null,c.selectedIndex=-1,c.contextLView=null,c.elementDepthCount=0,c.currentDirectiveIndex=-1,c.currentNamespace=null,c.bindingRootIndex=-1,c.bindingIndex=-1,c.currentQueryIndex=0}function Di(){return Be.lFrame.selectedIndex}function Un(c){Be.lFrame.selectedIndex=c}function $t(){const c=Be.lFrame;return kt(c.tView,c.selectedIndex)}function Dp(){Be.lFrame.currentNamespace="svg"}function lw(){!function I0(){Be.lFrame.currentNamespace=null}()}function zo(c,l){for(let f=l.directiveStart,p=l.directiveEnd;f=p)break}else l[T]<0&&(c[18]+=65536),(w<_||-1==_)&&(yt(c,f,l,T),c[18]=(4294901760&c[18])+T+2),T++}function yt(c,l,f,p){const m=f[p]<0,_=f[p+1],w=c[m?-f[p]:f[p]];if(m){if(c[2]>>11>16&&(3&c[2])===l){c[2]+=2048;try{_.call(w)}finally{}}}else try{_.call(w)}finally{}}class ya{constructor(l,f,p){this.factory=l,this.resolving=!1,this.canSeeViewProviders=f,this.injectImpl=p}}function Zc(c,l,f){const p=Ft(c);let m=0;for(;ml){y=_-1;break}}}for(;_>16}(c),p=l;for(;f>0;)p=p[15],f--;return p}let Xc=!0;function Jc(c){const l=Xc;return Xc=c,l}let Op=0;function ba(c,l){const f=el(c,l);if(-1!==f)return f;const p=l[1];p.firstCreatePass&&(c.injectorIndex=l.length,dd(p.data,c),dd(l,null),dd(p.blueprint,null));const m=tl(c,l),_=c.injectorIndex;if(hw(m)){const y=wa(m),w=Bo(m,l),T=w[1].data;for(let D=0;D<8;D++)l[_+D]=w[y+D]|T[y+D]}return l[_+8]=m,_}function dd(c,l){c.push(0,0,0,0,0,0,0,0,l)}function el(c,l){return-1===c.injectorIndex||c.parent&&c.parent.injectorIndex===c.injectorIndex||null===l[c.injectorIndex+8]?-1:c.injectorIndex}function tl(c,l){if(c.parent&&-1!==c.parent.injectorIndex)return c.parent.injectorIndex;let f=0,p=null,m=l;for(;null!==m;){const _=m[1],y=_.type;if(p=2===y?_.declTNode:1===y?m[6]:null,null===p)return-1;if(f++,m=m[15],-1!==p.injectorIndex)return p.injectorIndex|f<<16}return-1}function il(c,l,f){!function Hp(c,l,f){let p;"string"==typeof f?p=f.charCodeAt(0)||0:f.hasOwnProperty(En)&&(p=f[En]),null==p&&(p=f[En]=Op++);const m=255&p;l.data[c+(m>>5)]|=1<=0?255&l:z0:l}(f);if("function"==typeof _){if(!ow(l,c,p))return p&We.Host?Mn(m,f,p):gw(l,f,p,m);try{const y=_(p);if(null!=y||p&We.Optional)return y;_t(f)}finally{cw()}}else if("number"==typeof _){let y=null,w=el(c,l),T=-1,D=p&We.Host?l[16][6]:null;for((-1===w||p&We.SkipSelf)&&(T=-1===w?tl(c,l):l[w+8],-1!==T&&fd(p,!1)?(y=l[1],w=wa(T),l=Bo(T,l)):w=-1);-1!==w;){const M=l[1];if(hd(_,w,M.data)){const B=_w(w,l,f,y,p,D);if(B!==mw)return B}T=l[w+8],-1!==T&&fd(p,l[1].data[w+8]===D)&&hd(_,w,l)?(y=M,w=wa(T),l=Bo(T,l)):w=-1}}}return gw(l,f,p,m)}const mw={};function z0(){return new ni(ii(),fe())}function _w(c,l,f,p,m,_){const y=l[1],w=y.data[c+8],M=nl(w,y,f,null==p?Vc(w)&&Xc:p!=y&&0!=(3&w.type),m&We.Host&&_===w);return null!==M?ao(l,y,M,w):mw}function nl(c,l,f,p,m){const _=c.providerIndexes,y=l.data,w=1048575&_,T=c.directiveStart,M=_>>20,W=m?w+M:c.directiveEnd;for(let ne=p?w:w+M;ne=T&&ce.type===f)return ne}if(m){const ne=y[T];if(ne&&hn(ne)&&ne.type===f)return T}return null}function ao(c,l,f,p){let m=c[f];const _=l.data;if(function xp(c){return c instanceof ya}(m)){const y=m;y.resolving&&function Ae(c,l){const f=l?`. Dependency path: ${l.join(" > ")} > ${c}`:"";throw new ie(-200,`Circular dependency in DI detected for ${c}${f}`)}(Ce(_[f]));const w=Jc(y.canSeeViewProviders);y.resolving=!0;const T=y.injectImpl?Oi(y.injectImpl):null;ow(c,p,We.Default);try{m=c[f]=y.factory(void 0,_,c,p),l.firstCreatePass&&f>=p.directiveStart&&function O0(c,l,f){const{ngOnChanges:p,ngOnInit:m,ngDoCheck:_}=l.type.prototype;if(p){const y=us(l);(f.preOrderHooks||(f.preOrderHooks=[])).push(c,y),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(c,y)}m&&(f.preOrderHooks||(f.preOrderHooks=[])).push(0-c,m),_&&((f.preOrderHooks||(f.preOrderHooks=[])).push(c,_),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(c,_))}(f,_[f],l)}finally{null!==T&&Oi(T),Jc(w),y.resolving=!1,cw()}}return m}function hd(c,l,f){return!!(f[l+(c>>5)]&1<{const l=c.prototype.constructor,f=l[ln]||va(l),p=Object.prototype;let m=Object.getPrototypeOf(c.prototype).constructor;for(;m&&m!==p;){const _=m[ln]||va(m);if(_&&_!==f)return _;m=Object.getPrototypeOf(m)}return _=>new _})}function va(c){return q(c)?()=>{const l=va(V(c));return l&&l()}:Gn(c)}function ol(c){return function pw(c,l){if("class"===l)return c.classes;if("style"===l)return c.styles;const f=c.attrs;if(f){const p=f.length;let m=0;for(;m{const p=function pd(c){return function(...f){if(c){const p=c(...f);for(const m in p)this[m]=p[m]}}}(l);function m(..._){if(this instanceof m)return p.apply(this,_),this;const y=new m(..._);return w.annotation=y,w;function w(T,D,M){const B=T.hasOwnProperty(jo)?T[jo]:Object.defineProperty(T,jo,{value:[]})[jo];for(;B.length<=M;)B.push(null);return(B[M]=B[M]||[]).push(y),T}}return f&&(m.prototype=Object.create(f.prototype)),m.prototype.ngMetadataName=c,m.annotationCls=m,m})}class zt{constructor(l,f){this._desc=l,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof f?this.__NG_ELEMENT_ID__=f:void 0!==f&&(this.\u0275prov=Ot({token:this,providedIn:f.providedIn||"root",factory:f.factory}))}toString(){return`InjectionToken ${this._desc}`}}const B0=new zt("AnalyzeForEntryComponents");function xn(c,l){void 0===l&&(l=c);for(let f=0;fArray.isArray(f)?co(f,l):l(f))}function ww(c,l,f){l>=c.length?c.push(f):c.splice(l,0,f)}function md(c,l){return l>=c.length-1?c.pop():c.splice(l,1)[0]}function rl(c,l){const f=[];for(let p=0;p=0?c[1|p]=f:(p=~p,function vw(c,l,f,p){let m=c.length;if(m==l)c.push(f,p);else if(1===m)c.push(p,c[0]),c[0]=f;else{for(m--,c.push(c[m-1],c[m]);m>l;)c[m]=c[m-2],m--;c[l]=f,c[l+1]=p}}(c,p,l,f)),p}function sl(c,l){const f=Ea(c,l);if(f>=0)return c[1|f]}function Ea(c,l){return function Cw(c,l,f){let p=0,m=c.length>>f;for(;m!==p;){const _=p+(m-p>>1),y=c[_<l?m=_:p=_+1}return~(m<({token:c})),-1),_s=ll(Ca("Optional"),8),Sa=ll(Ca("SkipSelf"),4);let bd,vd;function Da(c){var l;return(null===(l=function $p(){if(void 0===bd&&(bd=null,at.trustedTypes))try{bd=at.trustedTypes.createPolicy("angular",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch(c){}return bd}())||void 0===l?void 0:l.createHTML(c))||c}function Pw(c){var l;return(null===(l=function Wp(){if(void 0===vd&&(vd=null,at.trustedTypes))try{vd=at.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch(c){}return vd}())||void 0===l?void 0:l.createHTML(c))||c}class ys{constructor(l){this.changingThisBreaksApplicationSecurity=l}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class pT extends ys{getTypeName(){return"HTML"}}class gT extends ys{getTypeName(){return"Style"}}class mT extends ys{getTypeName(){return"Script"}}class _T extends ys{getTypeName(){return"URL"}}class yT extends ys{getTypeName(){return"ResourceURL"}}function Ko(c){return c instanceof ys?c.changingThisBreaksApplicationSecurity:c}function Ma(c,l){const f=Hw(c);if(null!=f&&f!==l){if("ResourceURL"===f&&"URL"===l)return!0;throw new Error(`Required a safe ${l}, got a ${f} (see https://g.co/ng/security#xss)`)}return f===l}function Hw(c){return c instanceof ys&&c.getTypeName()||null}function wT(c){return new pT(c)}function bT(c){return new gT(c)}function vT(c){return new mT(c)}function AT(c){return new _T(c)}function CT(c){return new yT(c)}class TT{constructor(l){this.inertDocumentHelper=l}getInertBodyElement(l){l=""+l;try{const f=(new window.DOMParser).parseFromString(Da(l),"text/html").body;return null===f?this.inertDocumentHelper.getInertBodyElement(l):(f.removeChild(f.firstChild),f)}catch(f){return null}}}class zw{constructor(l){if(this.defaultDoc=l,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const f=this.inertDocument.createElement("html");this.inertDocument.appendChild(f);const p=this.inertDocument.createElement("body");f.appendChild(p)}}getInertBodyElement(l){const f=this.inertDocument.createElement("template");if("content"in f)return f.innerHTML=Da(l),f;const p=this.inertDocument.createElement("body");return p.innerHTML=Da(l),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(p),p}stripCustomNsAttrs(l){const f=l.attributes;for(let m=f.length-1;0bs(l.trim())).join(", ")),this.buf.push(" ",y,'="',Dd(T),'"')}var c;return this.buf.push(">"),!0}endElement(l){const f=l.nodeName.toLowerCase();hl.hasOwnProperty(f)&&!Qp.hasOwnProperty(f)&&(this.buf.push(""))}chars(l){this.buf.push(Dd(l))}checkClobberedElement(l,f){if(f&&(l.compareDocumentPosition(f)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${l.outerHTML}`);return f}}const Bw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kd=/([^\#-~ |!])/g;function Dd(c){return c.replace(/&/g,"&").replace(Bw,function(l){return"&#"+(1024*(l.charCodeAt(0)-55296)+(l.charCodeAt(1)-56320)+65536)+";"}).replace(kd,function(l){return"&#"+l.charCodeAt(0)+";"}).replace(//g,">")}let pl;function Nw(c,l){let f=null;try{pl=pl||function Fw(c){const l=new zw(c);return function Go(){try{return!!(new window.DOMParser).parseFromString(Da(""),"text/html")}catch(c){return!1}}()?new TT(l):l}(c);let p=l?String(l):"";f=pl.getInertBodyElement(p);let m=5,_=p;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,p=_,_=f.innerHTML,f=pl.getInertBodyElement(p)}while(p!==_);return Da((new eg).sanitizeChildren(Ra(f)||f))}finally{if(f){const p=Ra(f)||f;for(;p.firstChild;)p.removeChild(p.firstChild)}}}function Ra(c){return"content"in c&&function ST(c){return c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName}(c)?c.content:null}var Kt=(()=>((Kt=Kt||{})[Kt.NONE=0]="NONE",Kt[Kt.HTML=1]="HTML",Kt[Kt.STYLE=2]="STYLE",Kt[Kt.SCRIPT=3]="SCRIPT",Kt[Kt.URL=4]="URL",Kt[Kt.RESOURCE_URL=5]="RESOURCE_URL",Kt))();function tg(c){const l=Pa();return l?Pw(l.sanitize(Kt.HTML,c)||""):Ma(c,"HTML")?Pw(Ko(c)):Nw(hs(),re(c))}function Md(c){const l=Pa();return l?l.sanitize(Kt.URL,c)||"":Ma(c,"URL")?Ko(c):bs(re(c))}function Pa(){const c=fe();return c&&c[12]}const qw="__ngContext__";function xi(c,l){c[qw]=l}function rg(c){const l=function gl(c){return c[qw]||null}(c);return l?Array.isArray(l)?l:l.lView:null}function cg(c){return c.ngOriginalError}function _l(c,...l){c.error(...l)}class _n{constructor(){this._console=console}handleError(l){const f=this._findOriginalError(l),p=function Yw(c){return c&&c.ngErrorLogger||_l}(l);p(this._console,"ERROR",l),f&&p(this._console,"ORIGINAL ERROR",f)}_findOriginalError(l){let f=l&&cg(l);for(;f&&cg(f);)f=cg(f);return f||null}}const Od=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(at))();function uo(c){return c instanceof Function?c():c}var rt=(()=>((rt=rt||{})[rt.Important=1]="Important",rt[rt.DashCase=2]="DashCase",rt))();function wl(c,l){return undefined(c,l)}function bl(c){const l=c[3];return Ui(l)?l[3]:l}function vl(c){return fg(c[13])}function Oa(c){return fg(c[4])}function fg(c){for(;null!==c&&!Ui(c);)c=c[4];return c}function $i(c,l,f,p,m){if(null!=p){let _,y=!1;Ui(p)?_=p:Fi(p)&&(y=!0,p=p[0]);const w=E(p);0===c&&null!==f?null==m?wg(l,f,w):ho(l,f,w,m||null,!0):1===c&&null!==f?ho(l,f,w,m||null,!0):2===c?function Gd(c,l,f){const p=Ts(c,l);p&&function tb(c,l,f,p){Ft(c)?c.removeChild(l,f,p):l.removeChild(f)}(c,p,l,f)}(l,w,y):3===c&&l.destroyNode(w),null!=_&&function Er(c,l,f,p,m){const _=f[7];_!==E(f)&&$i(l,c,p,_,m);for(let w=10;w0&&(c[f-1][4]=p[4]);const _=md(c,10+l);!function Wi(c,l){Ss(c,l,l[11],2,null,null),l[0]=null,l[6]=null}(p[1],p);const y=_[19];null!==y&&y.detachView(_[1]),p[3]=null,p[4]=null,p[2]&=-129}return p}function Bd(c,l){if(!(256&l[2])){const f=l[11];Ft(f)&&f.destroyNode&&Ss(c,l,f,3,null,null),function mg(c){let l=c[13];if(!l)return Nd(c[1],c);for(;l;){let f=null;if(Fi(l))f=l[13];else{const p=l[10];p&&(f=p)}if(!f){for(;l&&!l[4]&&l!==c;)Fi(l)&&Nd(l[1],l),l=l[3];null===l&&(l=c),Fi(l)&&Nd(l[1],l),f=l&&l[4]}l=f}}(l)}}function Nd(c,l){if(!(256&l[2])){l[2]&=-129,l[2]|=256,function yg(c,l){let f;if(null!=c&&null!=(f=c.destroyHooks))for(let p=0;p=0?p[m=D]():p[m=-D].unsubscribe(),_+=2}else{const y=p[m=f[_+1]];f[_].call(y)}if(null!==p){for(let _=m+1;__?"":m[B+1].toLowerCase();const ne=8&p?W:null;if(ne&&-1!==Ud(ne,D,0)||2&p&&D!==W){if(Pn(p))return!1;y=!0}}}}else{if(!y&&!Pn(p)&&!Pn(T))return!1;if(y&&Pn(T))continue;y=!1,p=T|1&p}}return Pn(p)||y}function Pn(c){return 0==(1&c)}function Yi(c,l,f,p){if(null===l)return-1;let m=0;if(p||!f){let _=!1;for(;m-1)for(f++;f0?'="'+w+'"':"")+"]"}else 8&p?m+="."+y:4&p&&(m+=" "+y);else""!==m&&!Pn(y)&&(l+=Va(_,m),m=""),p=y,_=_||!Pn(p);f++}return""!==m&&(l+=Va(_,m)),l}const Ye={};function Ml(c){Wd(pt(),fe(),Di()+c,id())}function Wd(c,l,f,p){if(!p)if(3==(3&l[2])){const _=c.preOrderCheckHooks;null!==_&&sd(l,_,f)}else{const _=c.preOrderHooks;null!==_&&Nt(l,_,0,f)}Un(f)}function xl(c,l){return c<<17|l<<2}function In(c){return c>>17&32767}function ks(c){return 2|c}function fo(c){return(131068&c)>>2}function po(c,l){return-131069&c|l<<2}function Ka(c){return 1|c}function Fg(c,l){const f=c.contentQueries;if(null!==f)for(let p=0;p20&&Wd(c,l,20,id()),f(p,m)}finally{Un(_)}}function Dr(c,l,f){if(jc(l)){const m=l.directiveEnd;for(let _=l.directiveStart;_0;){const f=c[--l];if("number"==typeof f&&f<0)return f}return 0})(w)!=T&&w.push(T),w.push(p,m,y)}}function Ji(c,l){null!==c.hostBindings&&c.hostBindings(1,l)}function ph(c,l){l.flags|=2,(c.components||(c.components=[])).push(l.index)}function Eb(c,l,f){if(f){if(l.exportAs)for(let p=0;p0&&$g(f)}}function $g(c){for(let p=vl(c);null!==p;p=Oa(p))for(let m=10;m0&&$g(_)}const f=c[1].components;if(null!==f)for(let p=0;p0&&$g(m)}}function WT(c,l){const f=Xe(l,c),p=f[1];(function YT(c,l){for(let f=l.length;fPromise.resolve(null))();function Bl(c){return c[7]||(c[7]=[])}function mh(c){return c.cleanup||(c.cleanup=[])}function Wg(c,l,f){return(null===c||hn(c))&&(f=function P(c){for(;Array.isArray(c);){if("object"==typeof c[1])return c;c=c[0]}return null}(f[l.index])),f[11]}function Yg(c,l){const f=c[9],p=f?f.get(_n,null):null;p&&p.handleError(l)}function _h(c,l,f,p,m){for(let _=0;_this.processProvider(w,l,f)),co([l],w=>this.processInjectorType(w,[],_)),this.records.set(Is,Qo(void 0,this));const y=this.records.get(jl);this.scope=null!=y?y.value:null,this.source=m||("object"==typeof l?null:U(l))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(l=>l.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(l,f=al,p=We.Default){this.assertNotDestroyed();const m=Sw(this),_=Oi(void 0);try{if(!(p&We.SkipSelf)){let w=this.records.get(l);if(void 0===w){const T=function tE(c){return"function"==typeof c||"object"==typeof c&&c instanceof zt}(l)&&ri(l);w=T&&this.injectableDefInScope(T)?Qo(Kl(l),$a):null,this.records.set(l,w)}if(null!=w)return this.hydrate(l,w)}return(p&We.Self?wh():this.parent).get(l,f=p&We.Optional&&f===al?null:f)}catch(y){if("NullInjectorError"===y.name){if((y[yd]=y[yd]||[]).unshift(U(l)),m)throw y;return function iT(c,l,f,p){const m=c[yd];throw l[Ew]&&m.unshift(l[Ew]),c.message=function nT(c,l,f,p=null){c=c&&"\n"===c.charAt(0)&&"\u0275"==c.charAt(1)?c.substr(2):c;let m=U(l);if(Array.isArray(l))m=l.map(U).join(" -> ");else if("object"==typeof l){let _=[];for(let y in l)if(l.hasOwnProperty(y)){let w=l[y];_.push(y+":"+("string"==typeof w?JSON.stringify(w):U(w)))}m=`{${_.join(", ")}}`}return`${f}${p?"("+p+")":""}[${m}]: ${c.replace(Q0,"\n ")}`}("\n"+c.message,m,f,p),c.ngTokenPath=m,c[yd]=null,c}(y,l,"R3InjectorError",this.source)}throw y}finally{Oi(_),Sw(m)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(l=>this.get(l))}toString(){const l=[];return this.records.forEach((p,m)=>l.push(U(m))),`R3Injector[${l.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ie(205,!1)}processInjectorType(l,f,p){if(!(l=V(l)))return!1;let m=os(l);const _=null==m&&l.ngModule||void 0,y=void 0===_?l:_,w=-1!==p.indexOf(y);if(void 0!==_&&(m=os(_)),null==m)return!1;if(null!=m.imports&&!w){let M;p.push(y);try{co(m.imports,B=>{this.processInjectorType(B,f,p)&&(void 0===M&&(M=[]),M.push(B))})}finally{}if(void 0!==M)for(let B=0;Bthis.processProvider(ce,W,ne||Re))}}this.injectorDefTypes.add(y);const T=Gn(y)||(()=>new y);this.records.set(y,Qo(T,$a));const D=m.providers;if(null!=D&&!w){const M=l;co(D,B=>this.processProvider(B,M,D))}return void 0!==_&&void 0!==l.providers}processProvider(l,f,p){let m=Wa(l=V(l))?l:V(l&&l.provide);const _=function Wn(c,l,f){return zb(c)?Qo(void 0,c.useValue):Qo(Xg(c),$a)}(l);if(Wa(l)||!0!==l.multi)this.records.get(m);else{let y=this.records.get(m);y||(y=Qo(void 0,$a,!0),y.factory=()=>Up(y.multi),this.records.set(m,y)),m=l,y.multi.push(l)}this.records.set(m,_)}hydrate(l,f){return f.value===$a&&(f.value=yh,f.value=f.factory()),"object"==typeof f.value&&f.value&&function eE(c){return null!==c&&"object"==typeof c&&"function"==typeof c.ngOnDestroy}(f.value)&&this.onDestroy.add(f.value),f.value}injectableDefInScope(l){if(!l.providedIn)return!1;const f=V(l.providedIn);return"string"==typeof f?"any"===f||f===this.scope:this.injectorDefTypes.has(f)}}function Kl(c){const l=ri(c),f=null!==l?l.factory:Gn(c);if(null!==f)return f;if(c instanceof zt)throw new ie(204,!1);if(c instanceof Function)return function Rr(c){const l=c.length;if(l>0)throw rl(l,"?"),new ie(204,!1);const f=function is(c){const l=c&&(c[Mo]||c[xo]);if(l){const f=function ns(c){if(c.hasOwnProperty("name"))return c.name;const l=(""+c).match(/^function\s*([^\s(]+)/);return null===l?"":l[1]}(c);return console.warn(`DEPRECATED: DI is instantiating a token "${f}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${f}" class.`),l}return null}(c);return null!==f?()=>f.factory(c):()=>new c}(c);throw new ie(204,!1)}function Xg(c,l,f){let p;if(Wa(c)){const m=V(c);return Gn(m)||Kl(m)}if(zb(c))p=()=>V(c.useValue);else if(function QT(c){return!(!c||!c.useFactory)}(c))p=()=>c.useFactory(...Up(c.deps||[]));else if(function ZT(c){return!(!c||!c.useExisting)}(c))p=()=>pi(V(c.useExisting));else{const m=V(c&&(c.useClass||c.provide));if(!function JT(c){return!!c.deps}(c))return Gn(m)||Kl(m);p=()=>new m(...Up(c.deps))}return p}function Qo(c,l,f=!1){return{factory:c,value:l,multi:f?[]:void 0}}function zb(c){return null!==c&&"object"==typeof c&&J0 in c}function Wa(c){return"function"==typeof c}let On=(()=>{class c{static create(f,p){var m;if(Array.isArray(f))return bh({name:""},p,f,"");{const _=null!==(m=f.name)&&void 0!==m?m:"";return bh({name:_},f.parent,f.providers,_)}}}return c.THROW_IF_NOT_FOUND=al,c.NULL=new Zg,c.\u0275prov=Ot({token:c,providedIn:"any",factory:()=>pi(Is)}),c.__NG_ELEMENT_ID__=-1,c})();function om(c,l){zo(rg(c)[1],ii())}function Th(c){let l=function Ch(c){return Object.getPrototypeOf(c.prototype).constructor}(c.type),f=!0;const p=[c];for(;l;){let m;if(hn(c))m=l.\u0275cmp||l.\u0275dir;else{if(l.\u0275cmp)throw new ie(903,"");m=l.\u0275dir}if(m){if(f){p.push(m);const y=c;y.inputs=wn(c.inputs),y.declaredInputs=wn(c.declaredInputs),y.outputs=wn(c.outputs);const w=m.hostBindings;w&&Wl(c,w);const T=m.viewQuery,D=m.contentQueries;if(T&&$b(c,T),D&&Eh(c,D),$(c.inputs,m.inputs),$(c.declaredInputs,m.declaredInputs),$(c.outputs,m.outputs),hn(m)&&m.data.animation){const M=c.data;M.animation=(M.animation||[]).concat(m.data.animation)}}const _=m.features;if(_)for(let y=0;y<_.length;y++){const w=_[y];w&&w.ngInherit&&w(c),w===Th&&(f=!1)}}l=Object.getPrototypeOf(l)}!function $l(c){let l=0,f=null;for(let p=c.length-1;p>=0;p--){const m=c[p];m.hostVars=l+=m.hostVars,m.hostAttrs=ld(m.hostAttrs,f=ld(f,m.hostAttrs))}}(p)}function wn(c){return c===ct?{}:c===Re?[]:c}function $b(c,l){const f=c.viewQuery;c.viewQuery=f?(p,m)=>{l(p,m),f(p,m)}:l}function Eh(c,l){const f=c.contentQueries;c.contentQueries=f?(p,m,_)=>{l(p,m,_),f(p,m,_)}:l}function Wl(c,l){const f=c.hostBindings;c.hostBindings=f?(p,m)=>{l(p,m),f(p,m)}:l}let Hs=null;function Za(){if(!Hs){const c=at.Symbol;if(c&&c.iterator)Hs=c.iterator;else{const l=Object.getOwnPropertyNames(Map.prototype);for(let f=0;fw(E(ht[p.index])):p.index;if(Ft(f)){let ht=null;if(!w&&T&&(ht=function fE(c,l,f,p){const m=c.cleanup;if(null!=m)for(let _=0;_T?w[T]:null}"string"==typeof y&&(_+=2)}return null}(c,l,m,p.index)),null!==ht)(ht.__ngLastListenerFn__||ht).__ngNextListenerFn__=_,ht.__ngLastListenerFn__=_,ne=!1;else{_=Tm(p,l,B,_,!1);const Mt=f.listen(Pe,m,_);W.push(_,Mt),M&&M.push(m,Le,pe,pe+1)}}else _=Tm(p,l,B,_,!0),Pe.addEventListener(m,_,y),W.push(_),M&&M.push(m,Le,pe,y)}else _=Tm(p,l,B,_,!1);const ce=p.outputs;let ve;if(ne&&null!==ce&&(ve=ce[m])){const Ee=ve.length;if(Ee)for(let Pe=0;Pe0;)l=l[15],c--;return l}(c,Be.lFrame.contextLView))[8]}(c)}function pE(c,l){let f=null;const p=function kl(c){const l=c.attrs;if(null!=l){const f=l.indexOf(5);if(0==(1&f))return l[f+1]}return null}(c);for(let m=0;m=0}function zh(c,l,f){return Ti(c,l,f,!1),zh}function Lh(c,l){return Ti(c,l,null,!0),Lh}function Ti(c,l,f,p){const m=fe(),_=pt(),y=Fo(2);_.firstUpdatePass&&function zm(c,l,f,p){const m=c.data;if(null===m[f+1]){const _=m[Di()],y=function Fm(c,l){return l>=c.expandoStartIndex}(c,f);(function Vh(c,l){return 0!=(c.flags&(l?16:32))})(_,p)&&null===l&&!y&&(l=!1),l=function _E(c,l,f,p){const m=kp(c);let _=p?l.residualClasses:l.residualStyles;if(null===m)0===(p?l.classBindings:l.styleBindings)&&(f=ic(f=Nh(null,c,l,f,p),l.attrs,p),_=null);else{const y=l.directiveStylingLast;if(-1===y||c[y]!==m)if(f=Nh(m,c,l,f,p),null===_){let T=function yE(c,l,f){const p=f?l.classBindings:l.styleBindings;if(0!==fo(p))return c[In(p)]}(c,l,p);void 0!==T&&Array.isArray(T)&&(T=Nh(null,c,l,T[1],p),T=ic(T,l.attrs,p),function wE(c,l,f,p){c[In(f?l.classBindings:l.styleBindings)]=p}(c,l,p,T))}else _=function Bh(c,l,f){let p;const m=l.directiveEnd;for(let _=1+l.directiveStylingLast;_0)&&(D=!0)}else M=f;if(m)if(0!==T){const W=In(c[w+1]);c[p+1]=xl(W,w),0!==W&&(c[W+1]=po(c[W+1],p)),c[w+1]=function cb(c,l){return 131071&c|l<<17}(c[w+1],p)}else c[p+1]=xl(w,0),0!==w&&(c[w+1]=po(c[w+1],p)),w=p;else c[p+1]=xl(T,0),0===w?w=p:c[T+1]=po(c[T+1],p),T=p;D&&(c[p+1]=ks(c[p+1])),Hr(c,M,p,!0),Hr(c,M,p,!1),function Dm(c,l,f,p,m){const _=m?c.residualClasses:c.residualStyles;null!=_&&"string"==typeof l&&Ea(_,l)>=0&&(f[p+1]=Ka(f[p+1]))}(l,M,c,p,_),y=xl(w,T),_?l.classBindings=y:l.styleBindings=y}(m,_,l,f,y,p)}}(_,c,y,p),l!==Ye&&Ai(m,y,l)&&function jv(c,l,f,p,m,_,y,w){if(!(3&l.type))return;const T=c.data,D=T[w+1];jh(function Rl(c){return 1==(1&c)}(D)?Vv(T,l,f,m,fo(D),y):void 0)||(jh(_)||function Sg(c){return 2==(2&c)}(D)&&(_=Vv(T,null,f,m,w,y)),function Ba(c,l,f,p,m){const _=Ft(c);if(l)m?_?c.addClass(f,p):f.classList.add(p):_?c.removeClass(f,p):f.classList.remove(p);else{let y=-1===p.indexOf("-")?void 0:rt.DashCase;if(null==m)_?c.removeStyle(f,p,y):f.style.removeProperty(p);else{const w="string"==typeof m&&m.endsWith("!important");w&&(m=m.slice(0,-10),y|=rt.Important),_?c.setStyle(f,p,m,y):f.style.setProperty(p,m,w?"important":"")}}}(p,y,ae(Di(),f),m,_))}(_,_.data[Di()],m,m[11],c,m[y+1]=function iu(c,l){return null==c||("string"==typeof l?c+=l:"object"==typeof c&&(c=U(Ko(c)))),c}(l,f),p,y)}function Nh(c,l,f,p,m){let _=null;const y=f.directiveEnd;let w=f.directiveStylingLast;for(-1===w?w=f.directiveStart:w++;w0;){const T=c[m],D=Array.isArray(T),M=D?T[1]:T,B=null===M;let W=f[m+1];W===Ye&&(W=B?Re:void 0);let ne=B?sl(W,p):M===p?W:void 0;if(D&&!jh(ne)&&(ne=sl(T,p)),jh(ne)&&(w=ne,y))return w;const ce=c[m+1];m=y?In(ce):fo(ce)}if(null!==l){let T=_?l.residualClasses:l.residualStyles;null!=T&&(w=sl(T,p))}return w}function jh(c){return void 0!==c}function Lm(c,l=""){const f=fe(),p=pt(),m=c+20,_=p.firstCreatePass?Ds(p,m,1,l,null):p.data[m],y=f[m]=function Al(c,l){return Ft(c)?c.createText(l):c.createTextNode(l)}(f[11],l);Es(p,f,y,_),ci(_,!1)}function Kh(c){return nc("",c,""),Kh}function nc(c,l,f){const p=fe(),m=Pr(p,c,l,f);return m!==Ye&&Yo(p,Di(),m),nc}function Gh(c,l,f,p,m){const _=fe(),y=yo(_,c,l,f,p,m);return y!==Ye&&Yo(_,Di(),y),Gh}function $h(c,l,f){const p=fe();return Ai(p,vr(),l)&&Xi(pt(),$t(),p,c,l,p[11],f,!0),$h}function zr(c,l,f){const p=fe();if(Ai(p,vr(),l)){const _=pt(),y=$t();Xi(_,y,p,c,l,Wg(kp(_.data),y,p),f,!0)}return zr}const nr=void 0;var Wm=["en",[["a","p"],["AM","PM"],nr],[["AM","PM"],nr,nr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],nr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],nr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",nr,"{1} 'at' {0}",nr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function iA(c){const f=Math.floor(Math.abs(c)),p=c.toString().replace(/^[^.]*\.?/,"").length;return 1===f&&0===p?1:5}];let Lr={};function Br(c){const l=function rA(c){return c.toLowerCase().replace(/_/g,"-")}(c);let f=lc(l);if(f)return f;const p=l.split("-")[0];if(f=lc(p),f)return f;if("en"===p)return Wm;throw new Error(`Missing locale data for the locale "${c}".`)}function nA(c){return Br(c)[Ke.PluralCase]}function lc(c){return c in Lr||(Lr[c]=at.ng&&at.ng.common&&at.ng.common.locales&&at.ng.common.locales[c]),Lr[c]}var Ke=(()=>((Ke=Ke||{})[Ke.LocaleId=0]="LocaleId",Ke[Ke.DayPeriodsFormat=1]="DayPeriodsFormat",Ke[Ke.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ke[Ke.DaysFormat=3]="DaysFormat",Ke[Ke.DaysStandalone=4]="DaysStandalone",Ke[Ke.MonthsFormat=5]="MonthsFormat",Ke[Ke.MonthsStandalone=6]="MonthsStandalone",Ke[Ke.Eras=7]="Eras",Ke[Ke.FirstDayOfWeek=8]="FirstDayOfWeek",Ke[Ke.WeekendRange=9]="WeekendRange",Ke[Ke.DateFormat=10]="DateFormat",Ke[Ke.TimeFormat=11]="TimeFormat",Ke[Ke.DateTimeFormat=12]="DateTimeFormat",Ke[Ke.NumberSymbols=13]="NumberSymbols",Ke[Ke.NumberFormats=14]="NumberFormats",Ke[Ke.CurrencyCode=15]="CurrencyCode",Ke[Ke.CurrencySymbol=16]="CurrencySymbol",Ke[Ke.CurrencyName=17]="CurrencyName",Ke[Ke.Currencies=18]="Currencies",Ke[Ke.Directionality=19]="Directionality",Ke[Ke.PluralCase=20]="PluralCase",Ke[Ke.ExtraData=21]="ExtraData",Ke))();const uc="en-US";let lA=uc;function lu(c,l,f,p,m){if(c=V(c),Array.isArray(c))for(let _=0;_>20;if(Wa(c)||!c.multi){const ne=new ya(T,m,Ls),ce=rr(w,l,m?M:M+W,B);-1===ce?(il(ba(D,y),_,w),st(_,c,l.length),l.push(w),D.directiveStart++,D.directiveEnd++,m&&(D.providerIndexes+=1048576),f.push(ne),y.push(ne)):(f[ce]=ne,y[ce]=ne)}else{const ne=rr(w,l,M+W,B),ce=rr(w,l,M,M+W),ve=ne>=0&&f[ne],Ee=ce>=0&&f[ce];if(m&&!Ee||!m&&!ve){il(ba(D,y),_,w);const Pe=function jA(c,l,f,p,m){const _=new ya(c,f,Ls);return _.multi=[],_.index=l,_.componentProviders=0,a_(_,m,p&&!f),_}(m?Jh:c_,f.length,m,p,T);!m&&Ee&&(f[ce].providerFactory=Pe),st(_,c,l.length,0),l.push(w),D.directiveStart++,D.directiveEnd++,m&&(D.providerIndexes+=1048576),f.push(Pe),y.push(Pe)}else st(_,c,ne>-1?ne:ce,a_(f[m?ce:ne],T,!m&&p));!m&&p&&Ee&&f[ce].componentProviders++}}}function st(c,l,f,p){const m=Wa(l),_=function XT(c){return!!c.useClass}(l);if(m||_){const T=(_?V(l.useClass):l).prototype.ngOnDestroy;if(T){const D=c.destroyHooks||(c.destroyHooks=[]);if(!m&&l.multi){const M=D.indexOf(f);-1===M?D.push(f,[p,T]):D[M+1].push(p,T)}else D.push(f,T)}}}function a_(c,l,f){return f&&c.componentProviders++,c.multi.push(l)-1}function rr(c,l,f,p){for(let m=f;m{f.providersResolver=(p,m)=>function NA(c,l,f){const p=pt();if(p.firstCreatePass){const m=hn(c);lu(f,p.data,p.blueprint,m,!0),lu(l,p.data,p.blueprint,m,!1)}}(p,m?m(c):c,l)}}class tf{}class gi{resolveComponentFactory(l){throw function u_(c){const l=Error(`No component factory found for ${U(c)}. Did you add it to @NgModule.entryComponents?`);return l.ngComponent=c,l}(l)}}let Ni=(()=>{class c{}return c.NULL=new gi,c})();function VA(){return Vs(ii(),fe())}function Vs(c,l){return new Ks(ge(c,l))}let Ks=(()=>{class c{constructor(f){this.nativeElement=f}}return c.__NG_ELEMENT_ID__=VA,c})();function d_(c){return c instanceof Ks?c.nativeElement:c}class rf{}let KA=(()=>{class c{}return c.__NG_ELEMENT_ID__=()=>function f_(){const c=fe(),f=Xe(ii().index,c);return function h_(c){return c[11]}(Fi(f)?f:c)}(),c})(),uu=(()=>{class c{}return c.\u0275prov=Ot({token:c,providedIn:"root",factory:()=>null}),c})();class sr{constructor(l){this.full=l,this.major=l.split(".")[0],this.minor=l.split(".")[1],this.patch=l.split(".").slice(2).join(".")}}const gt=new sr("13.2.2"),Nr={};function du(c,l,f,p,m=!1){for(;null!==f;){const _=l[f.index];if(null!==_&&p.push(E(_)),Ui(_))for(let w=10;w<_.length;w++){const T=_[w],D=T[1].firstChild;null!==D&&du(T[1],T,D,p)}const y=f.type;if(8&y)du(c,l,f.child,p);else if(32&y){const w=wl(f,l);let T;for(;T=w();)p.push(T)}else if(16&y){const w=bg(l,f);if(Array.isArray(w))p.push(...w);else{const T=bl(l[16]);du(T[1],T,w,p,!0)}}f=m?f.projectionNext:f.next}return p}class zn{constructor(l,f){this._lView=l,this._cdRefInjectingView=f,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const l=this._lView,f=l[1];return du(f,l,f.firstChild,[])}get context(){return this._lView[8]}set context(l){this._lView[8]=l}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const l=this._lView[3];if(Ui(l)){const f=l[8],p=f?f.indexOf(this):-1;p>-1&&(Tl(l,p),md(f,p))}this._attachedToViewContainer=!1}Bd(this._lView[1],this._lView)}onDestroy(l){zl(this._lView[1],this._lView,null,l)}markForCheck(){_o(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ll(this._lView[1],this._lView,this.context)}checkNoChanges(){!function Rb(c,l,f){nd(!0);try{Ll(c,l,f)}finally{nd(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ie(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ld(c,l){Ss(c,l,l[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(l){if(this._attachedToViewContainer)throw new ie(902,"");this._appRef=l}}class GA extends zn{constructor(l){super(l),this._view=l}detectChanges(){xb(this._view)}checkNoChanges(){!function Pb(c){nd(!0);try{xb(c)}finally{nd(!1)}}(this._view)}get context(){return null}}class sf extends Ni{constructor(l){super(),this.ngModule=l}resolveComponentFactory(l){const f=si(l);return new fu(f,this.ngModule)}}function af(c){const l=[];for(let f in c)c.hasOwnProperty(f)&&l.push({propName:c[f],templateName:f});return l}const hu=new zt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Od});class fu extends tf{constructor(l,f){super(),this.componentDef=l,this.ngModule=f,this.componentType=l.type,this.selector=function Cg(c){return c.map(Dl).join(",")}(l.selectors),this.ngContentSelectors=l.ngContentSelectors?l.ngContentSelectors:[],this.isBoundToModule=!!f}get inputs(){return af(this.componentDef.inputs)}get outputs(){return af(this.componentDef.outputs)}create(l,f,p,m){const _=(m=m||this.ngModule)?function pc(c,l){return{get:(f,p,m)=>{const _=c.get(f,Nr,m);return _!==Nr||p===Nr?_:l.get(f,p,m)}}}(l,m.injector):l,y=_.get(rf,k),w=_.get(uu,null),T=y.createRenderer(null,this.componentDef),D=this.componentDef.selectors[0][0]||"div",M=p?function Bg(c,l,f){if(Ft(c))return c.selectRootElement(l,f===Me.ShadowDom);let p="string"==typeof l?c.querySelector(l):l;return p.textContent="",p}(T,p,this.componentDef.encapsulation):Ha(y.createRenderer(null,this.componentDef),D,function UA(c){const l=c.toLowerCase();return"svg"===l?"svg":"math"===l?"math":null}(D)),B=this.componentDef.onPush?576:528,W=function qb(c,l){return{components:[],scheduler:c||Od,clean:Ib,playerHandler:l||null,flags:0}}(),ne=Fl(0,null,null,1,0,null,null,null,null,null),ce=Ua(null,ne,W,B,null,null,y,T,w,_);let ve,Ee;od(ce);try{const Pe=function im(c,l,f,p,m,_){const y=f[1];f[20]=c;const T=Ds(y,20,2,"#host",null),D=T.mergedAttrs=l.hostAttrs;null!==D&&(Zo(T,D,!0),null!==c&&(Zc(m,c,D),null!==T.classes&&Na(m,c,T.classes),null!==T.styles&&Ag(m,c,T.styles)));const M=p.createRenderer(c,l),B=Ua(f,uh(l),null,l.onPush?64:16,f[20],T,p,M,_||null,null);return y.firstCreatePass&&(il(ba(T,f),y,l.type),ph(y,T),Sb(T,f.length,1)),Mr(f,B),f[20]=B}(M,this.componentDef,ce,y,T);if(M)if(p)Zc(T,M,["ng-version",gt.full]);else{const{attrs:pe,classes:Le}=function Tg(c){const l=[],f=[];let p=1,m=2;for(;p0&&Na(T,M,Le.join(" "))}if(Ee=kt(ne,20),void 0!==f){const pe=Ee.projection=[];for(let Le=0;LeT(y,l)),l.contentQueries){const T=ii();l.contentQueries(1,y,T.directiveStart)}const w=ii();return!_.firstCreatePass||null===l.hostBindings&&null===l.hostAttrs||(Un(w.index),Vg(f[1],w,0,w.directiveStart,w.directiveEnd,l),Ji(l,y)),y}(Pe,this.componentDef,ce,W,[om]),Rs(ne,ce,null)}finally{gs()}return new cf(this.componentType,ve,Vs(Ee,ce),ce,Ee)}}class cf extends class Xn{}{constructor(l,f,p,m,_){super(),this.location=p,this._rootLView=m,this._tNode=_,this.instance=f,this.hostView=this.changeDetectorRef=new GA(m),this.componentType=l}get injector(){return new ni(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(l){this.hostView.onDestroy(l)}}class jr{}class lf{}const Gs=new Map;class m_ extends jr{constructor(l,f){super(),this._parent=f,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sf(this);const p=ai(l);this._bootstrapComponents=uo(p.bootstrap),this._r3Injector=Qg(l,f,[{provide:jr,useValue:this},{provide:Ni,useValue:this.componentFactoryResolver}],U(l)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(l)}get(l,f=On.THROW_IF_NOT_FOUND,p=We.Default){return l===On||l===jr||l===Is?this:this._r3Injector.get(l,f,p)}destroy(){const l=this._r3Injector;!l.destroyed&&l.destroy(),this.destroyCbs.forEach(f=>f()),this.destroyCbs=null}onDestroy(l){this.destroyCbs.push(l)}}class uf extends lf{constructor(l){super(),this.moduleType=l,null!==ai(l)&&function mu(c){const l=new Set;!function f(p){const m=ai(p,!0),_=m.id;null!==_&&(function p_(c,l,f){if(l&&l!==f)throw new Error(`Duplicate module registered for ${c} - ${U(l)} vs ${U(l.name)}`)}(_,Gs.get(_),p),Gs.set(_,p));const y=uo(m.imports);for(const w of y)l.has(w)||(l.add(w),f(w))}(c)}(l)}create(l){return new m_(this.moduleType,l)}}function _u(c,l,f,p){return mc(fe(),zi(),c,l,f,p)}function gc(c,l){const f=c[l];return f===Ye?void 0:f}function mc(c,l,f,p,m,_){const y=l+f;return Ai(c,y,m)?Yn(c,y+1,_?p.call(_,m):p(m)):gc(c,y+1)}function yu(c,l,f,p,m,_,y,w){const T=l+f;return function Ri(c,l,f,p,m){const _=bn(c,l,f,p);return Ai(c,l+2,m)||_}(c,T,m,_,y)?Yn(c,T+3,w?p.call(w,m,_,y):p(m,_,y)):gc(c,T+3)}function bu(c,l){const f=pt();let p;const m=c+20;f.firstCreatePass?(p=function $A(c,l){if(l)for(let f=l.length-1;f>=0;f--){const p=l[f];if(c===p.name)return p}}(l,f.pipeRegistry),f.data[m]=p,p.onDestroy&&(f.destroyHooks||(f.destroyHooks=[])).push(m,p.onDestroy)):p=f.data[m];const _=p.factory||(p.factory=Gn(p.type)),y=Oi(Ls);try{const w=Jc(!1),T=_();return Jc(w),function tv(c,l,f,p){f>=c.data.length&&(c.data[f]=null,c.blueprint[f]=null),l[f]=p}(f,fe(),m,T),T}finally{Oi(y)}}function qs(c,l,f){const p=c+20,m=fe(),_=Ve(m,p);return Eo(m,p)?mc(m,zi(),l,_.transform,f,_):_.transform(f)}function v_(c,l,f,p){const m=c+20,_=fe(),y=Ve(_,m);return Eo(_,m)?function hf(c,l,f,p,m,_,y){const w=l+f;return bn(c,w,m,_)?Yn(c,w+2,y?p.call(y,m,_):p(m,_)):gc(c,w+2)}(_,zi(),l,y.transform,f,p,y):y.transform(f,p)}function A_(c,l,f,p,m){const _=c+20,y=fe(),w=Ve(y,_);return Eo(y,_)?yu(y,zi(),l,w.transform,f,p,m,w):w.transform(f,p,m)}function Eo(c,l){return c[1].data[l].pure}function Au(c){return l=>{setTimeout(c,void 0,l)}}const Ln=class pf extends b.xQ{constructor(l=!1){super(),this.__isAsync=l}emit(l){super.next(l)}subscribe(l,f,p){var m,_,y;let w=l,T=f||(()=>null),D=p;if(l&&"object"==typeof l){const B=l;w=null===(m=B.next)||void 0===m?void 0:m.bind(B),T=null===(_=B.error)||void 0===_?void 0:_.bind(B),D=null===(y=B.complete)||void 0===y?void 0:y.bind(B)}this.__isAsync&&(T=Au(T),w&&(w=Au(w)),D&&(D=Au(D)));const M=super.subscribe({next:w,error:T,complete:D});return l instanceof u.w&&l.add(M),M}};function YA(){return this._results[Za()]()}class $s{constructor(l=!1){this._emitDistinctChangesOnly=l,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const f=Za(),p=$s.prototype;p[f]||(p[f]=YA)}get changes(){return this._changes||(this._changes=new Ln)}get(l){return this._results[l]}map(l){return this._results.map(l)}filter(l){return this._results.filter(l)}find(l){return this._results.find(l)}reduce(l,f){return this._results.reduce(l,f)}forEach(l){this._results.forEach(l)}some(l){return this._results.some(l)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(l,f){const p=this;p.dirty=!1;const m=xn(l);(this._changesDetected=!function K0(c,l,f){if(c.length!==l.length)return!1;for(let p=0;p{class c{}return c.__NG_ELEMENT_ID__=C_,c})();const ZA=_c,QA=class extends ZA{constructor(l,f,p){super(),this._declarationLView=l,this._declarationTContainer=f,this.elementRef=p}createEmbeddedView(l){const f=this._declarationTContainer.tViews,p=Ua(this._declarationLView,f,l,16,null,f.declTNode,null,null,null,null);p[17]=this._declarationLView[this._declarationTContainer.index];const _=this._declarationLView[19];return null!==_&&(p[19]=_.createEmbeddedView(f)),Rs(f,p,l),new zn(p)}};function C_(){return Vr(ii(),fe())}function Vr(c,l){return 4&c.type?new QA(l,c,Vs(c,l)):null}let Cu=(()=>{class c{}return c.__NG_ELEMENT_ID__=gf,c})();function gf(){return T_(ii(),fe())}const XA=Cu,mf=class extends XA{constructor(l,f,p){super(),this._lContainer=l,this._hostTNode=f,this._hostLView=p}get element(){return Vs(this._hostTNode,this._hostLView)}get injector(){return new ni(this._hostTNode,this._hostLView)}get parentInjector(){const l=tl(this._hostTNode,this._hostLView);if(hw(l)){const f=Bo(l,this._hostLView),p=wa(l);return new ni(f[1].data[p+8],f)}return new ni(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(l){const f=_f(this._lContainer);return null!==f&&f[l]||null}get length(){return this._lContainer.length-10}createEmbeddedView(l,f,p){const m=l.createEmbeddedView(f||{});return this.insert(m,p),m}createComponent(l,f,p,m,_){const y=l&&!function Ta(c){return"function"==typeof c}(l);let w;if(y)w=f;else{const B=f||{};w=B.index,p=B.injector,m=B.projectableNodes,_=B.ngModuleRef}const T=y?l:new fu(si(l)),D=p||this.parentInjector;if(!_&&null==T.ngModule&&D){const B=D.get(jr,null);B&&(_=B)}const M=T.create(D,m,void 0,_);return this.insert(M.hostView,w),M}insert(l,f){const p=l._lView,m=p[1];if(function Ht(c){return Ui(c[3])}(p)){const M=this.indexOf(l);if(-1!==M)this.detach(M);else{const B=p[3],W=new mf(B,B[6],B[3]);W.detach(W.indexOf(l))}}const _=this._adjustIndex(f),y=this._lContainer;!function HT(c,l,f,p){const m=10+p,_=f.length;p>0&&(f[m-1][4]=l),p<_-10?(l[4]=f[m],ww(f,10+p,l)):(f.push(l),l[4]=null),l[3]=f;const y=l[17];null!==y&&f!==y&&function Jw(c,l){const f=c[9];l[16]!==l[3][3][16]&&(c[2]=!0),null===f?c[9]=[l]:f.push(l)}(y,l);const w=l[19];null!==w&&w.insertView(c),l[2]|=128}(m,p,y,_);const w=$o(_,y),T=p[11],D=Ts(T,y[7]);return null!==D&&function gg(c,l,f,p,m,_){p[0]=m,p[6]=l,Ss(c,p,f,1,m,_)}(m,y[6],T,p,D,w),l.attachToViewContainerRef(),ww(yf(y),_,l),l}move(l,f){return this.insert(l,f)}indexOf(l){const f=_f(this._lContainer);return null!==f?f.indexOf(l):-1}remove(l){const f=this._adjustIndex(l,-1),p=Tl(this._lContainer,f);p&&(md(yf(this._lContainer),f),Bd(p[1],p))}detach(l){const f=this._adjustIndex(l,-1),p=Tl(this._lContainer,f);return p&&null!=md(yf(this._lContainer),f)?new zn(p):null}_adjustIndex(l,f=0){return null==l?this.length+f:l}};function _f(c){return c[8]}function yf(c){return c[8]||(c[8]=[])}function T_(c,l){let f;const p=l[c.index];if(Ui(p))f=p;else{let m;if(8&c.type)m=E(p);else{const _=l[11];m=_.createComment("");const y=ge(c,l);ho(_,Ts(_,y),m,function El(c,l){return Ft(c)?c.nextSibling(l):l.nextSibling}(_,y),!1)}l[c.index]=f=qg(p,l,m,c),Mr(l,f)}return new mf(f,c,l)}class bf{constructor(l){this.queryList=l,this.matches=null}clone(){return new bf(this.queryList)}setDirty(){this.queryList.setDirty()}}class So{constructor(l=[]){this.queries=l}createEmbeddedView(l){const f=l.queries;if(null!==f){const p=null!==l.contentQueries?l.contentQueries[0]:f.length,m=[];for(let _=0;_0)p.push(y[w/2]);else{const D=_[w+1],M=l[-T];for(let B=10;B{class c{constructor(f){this.appInits=f,this.resolve=Cc,this.reject=Cc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((p,m)=>{this.resolve=p,this.reject=m})}runInitializers(){if(this.initialized)return;const f=[],p=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let m=0;m{_.subscribe({complete:w,error:T})});f.push(y)}}Promise.all(f).then(()=>{p()}).catch(m=>{this.reject(m)}),0===f.length&&p(),this.initialized=!0}}return c.\u0275fac=function(f){return new(f||c)(pi(Tc,8))},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();const U_=new zt("AppId"),Rf={provide:U_,useFactory:function yC(){return`${Pu()}${Pu()}${Pu()}`},deps:[]};function Pu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const q_=new zt("Platform Initializer"),$_=new zt("Platform ID"),W_=new zt("appBootstrapListener");let Pf=(()=>{class c{log(f){console.log(f)}warn(f){console.warn(f)}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();const Iu=new zt("LocaleId"),Y_=new zt("DefaultCurrencyCode");class Of{constructor(l,f){this.ngModuleFactory=l,this.componentFactories=f}}let Ec=(()=>{class c{compileModuleSync(f){return new uf(f)}compileModuleAsync(f){return Promise.resolve(this.compileModuleSync(f))}compileModuleAndAllComponentsSync(f){const p=this.compileModuleSync(f),_=uo(ai(f).declarations).reduce((y,w)=>{const T=si(w);return T&&y.push(new fu(T)),y},[]);return new Of(p,_)}compileModuleAndAllComponentsAsync(f){return Promise.resolve(this.compileModuleAndAllComponentsSync(f))}clearCache(){}clearCacheFor(f){}getModuleId(f){}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();const wC=(()=>Promise.resolve(0))();function Ou(c){"undefined"==typeof Zone?wC.then(()=>{c&&c.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",c)}class Vi{constructor({enableLongStackTrace:l=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:p=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ln(!1),this.onMicrotaskEmpty=new Ln(!1),this.onStable=new Ln(!1),this.onError=new Ln(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),l&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!p&&f,m.shouldCoalesceRunChangeDetection=p,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function bC(){let c=at.requestAnimationFrame,l=at.cancelAnimationFrame;if("undefined"!=typeof Zone&&c&&l){const f=c[Zone.__symbol__("OriginalDelegate")];f&&(c=f);const p=l[Zone.__symbol__("OriginalDelegate")];p&&(l=p)}return{nativeRequestAnimationFrame:c,nativeCancelAnimationFrame:l}}().nativeRequestAnimationFrame,function Ur(c){const l=()=>{!function aS(c){c.isCheckStableRunning||-1!==c.lastRequestAnimationFrameId||(c.lastRequestAnimationFrameId=c.nativeRequestAnimationFrame.call(at,()=>{c.fakeTopEventTask||(c.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{c.lastRequestAnimationFrameId=-1,Hu(c),c.isCheckStableRunning=!0,Sc(c),c.isCheckStableRunning=!1},void 0,()=>{},()=>{})),c.fakeTopEventTask.invoke()}),Hu(c))}(c)};c._inner=c._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(f,p,m,_,y,w)=>{try{return Q_(c),f.invokeTask(m,_,y,w)}finally{(c.shouldCoalesceEventChangeDetection&&"eventTask"===_.type||c.shouldCoalesceRunChangeDetection)&&l(),X_(c)}},onInvoke:(f,p,m,_,y,w,T)=>{try{return Q_(c),f.invoke(m,_,y,w,T)}finally{c.shouldCoalesceRunChangeDetection&&l(),X_(c)}},onHasTask:(f,p,m,_)=>{f.hasTask(m,_),p===m&&("microTask"==_.change?(c._hasPendingMicrotasks=_.microTask,Hu(c),Sc(c)):"macroTask"==_.change&&(c.hasPendingMacrotasks=_.macroTask))},onHandleError:(f,p,m,_)=>(f.handleError(m,_),c.runOutsideAngular(()=>c.onError.emit(_)),!1)})}(m)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Vi.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Vi.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(l,f,p){return this._inner.run(l,f,p)}runTask(l,f,p,m){const _=this._inner,y=_.scheduleEventTask("NgZoneEvent: "+m,l,Z_,Cc,Cc);try{return _.runTask(y,f,p)}finally{_.cancelTask(y)}}runGuarded(l,f,p){return this._inner.runGuarded(l,f,p)}runOutsideAngular(l){return this._outer.run(l)}}const Z_={};function Sc(c){if(0==c._nesting&&!c.hasPendingMicrotasks&&!c.isStable)try{c._nesting++,c.onMicrotaskEmpty.emit(null)}finally{if(c._nesting--,!c.hasPendingMicrotasks)try{c.runOutsideAngular(()=>c.onStable.emit(null))}finally{c.isStable=!0}}}function Hu(c){c.hasPendingMicrotasks=!!(c._hasPendingMicrotasks||(c.shouldCoalesceEventChangeDetection||c.shouldCoalesceRunChangeDetection)&&-1!==c.lastRequestAnimationFrameId)}function Q_(c){c._nesting++,c.isStable&&(c.isStable=!1,c.onUnstable.emit(null))}function X_(c){c._nesting--,Sc(c)}class Hf{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ln,this.onMicrotaskEmpty=new Ln,this.onStable=new Ln,this.onError=new Ln}run(l,f,p){return l.apply(f,p)}runGuarded(l,f,p){return l.apply(f,p)}runOutsideAngular(l){return l()}runTask(l,f,p,m){return l.apply(f,p)}}let J_=(()=>{class c{constructor(f){this._ngZone=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),f.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Vi.assertNotInAngularZone(),Ou(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Ou(()=>{for(;0!==this._callbacks.length;){let f=this._callbacks.pop();clearTimeout(f.timeoutId),f.doneCb(this._didWork)}this._didWork=!1});else{let f=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(f)||(clearTimeout(p.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(f=>({source:f.source,creationLocation:f.creationLocation,data:f.data})):[]}addCallback(f,p,m){let _=-1;p&&p>0&&(_=setTimeout(()=>{this._callbacks=this._callbacks.filter(y=>y.timeoutId!==_),f(this._didWork,this.getPendingTasks())},p)),this._callbacks.push({doneCb:f,timeoutId:_,updateCb:m})}whenStable(f,p,m){if(m&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(f,p,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(f,p,m){return[]}}return c.\u0275fac=function(f){return new(f||c)(pi(Vi))},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})(),ey=(()=>{class c{constructor(){this._applications=new Map,Ff.addToWindow(this)}registerApplication(f,p){this._applications.set(f,p)}unregisterApplication(f){this._applications.delete(f)}unregisterAllApplications(){this._applications.clear()}getTestability(f){return this._applications.get(f)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(f,p=!0){return Ff.findTestabilityInTree(this,f,p)}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();class vC{addToWindow(l){}findTestabilityInTree(l,f,p){return null}}function ty(c){Ff=c}let Bn,Ff=new vC;const ny=new zt("AllowMultipleToken");class oy{constructor(l,f){this.name=l,this.token=f}}function EC(c,l,f=[]){const p=`Platform: ${l}`,m=new zt(p);return(_=[])=>{let y=zf();if(!y||y.injector.get(ny,!1))if(c)c(f.concat(_).concat({provide:m,useValue:!0}));else{const w=f.concat(_).concat({provide:m,useValue:!0},{provide:jl,useValue:"platform"});!function TC(c){if(Bn&&!Bn.destroyed&&!Bn.injector.get(ny,!1))throw new ie(400,"");Bn=c.get(SC);const l=c.get(q_,null);l&&l.forEach(f=>f())}(On.create({providers:w,name:p}))}return function ry(c){const l=zf();if(!l)throw new ie(401,"");return l}()}}function zf(){return Bn&&!Bn.destroyed?Bn:null}let SC=(()=>{class c{constructor(f){this._injector=f,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(f,p){const w=function ay(c,l){let f;return f="noop"===c?new Hf:("zone.js"===c?void 0:c)||new Vi({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==l?void 0:l.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==l?void 0:l.ngZoneRunCoalescing)}),f}(p?p.ngZone:void 0,{ngZoneEventCoalescing:p&&p.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:p&&p.ngZoneRunCoalescing||!1}),T=[{provide:Vi,useValue:w}];return w.run(()=>{const D=On.create({providers:T,parent:this.injector,name:f.moduleType.name}),M=f.create(D),B=M.injector.get(_n,null);if(!B)throw new ie(402,"");return w.runOutsideAngular(()=>{const W=w.onError.subscribe({next:ne=>{B.handleError(ne)}});M.onDestroy(()=>{Fu(this._modules,M),W.unsubscribe()})}),function kC(c,l,f){try{const p=f();return vm(p)?p.catch(m=>{throw l.runOutsideAngular(()=>c.handleError(m)),m}):p}catch(p){throw l.runOutsideAngular(()=>c.handleError(p)),p}}(B,w,()=>{const W=M.injector.get(Zs);return W.runInitializers(),W.donePromise.then(()=>(function kE(c){Ne(c,"Expected localeId to be defined"),"string"==typeof c&&(lA=c.toLowerCase().replace(/_/g,"-"))}(M.injector.get(Iu,uc)||uc),this._moduleDoBootstrap(M),M))})})}bootstrapModule(f,p=[]){const m=Lf({},p);return function AC(c,l,f){const p=new uf(f);return Promise.resolve(p)}(0,0,f).then(_=>this.bootstrapModuleFactory(_,m))}_moduleDoBootstrap(f){const p=f.injector.get(qr);if(f._bootstrapComponents.length>0)f._bootstrapComponents.forEach(m=>p.bootstrap(m));else{if(!f.instance.ngDoBootstrap)throw new ie(403,"");f.instance.ngDoBootstrap(p)}this._modules.push(f)}onDestroy(f){this._destroyListeners.push(f)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ie(404,"");this._modules.slice().forEach(f=>f.destroy()),this._destroyListeners.forEach(f=>f()),this._destroyed=!0}get destroyed(){return this._destroyed}}return c.\u0275fac=function(f){return new(f||c)(pi(On))},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();function Lf(c,l){return Array.isArray(l)?l.reduce(Lf,c):Object.assign(Object.assign({},c),l)}let qr=(()=>{class c{constructor(f,p,m,_,y){this._zone=f,this._injector=p,this._exceptionHandler=m,this._componentFactoryResolver=_,this._initStatus=y,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const w=new I.y(D=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{D.next(this._stable),D.complete()})}),T=new I.y(D=>{let M;this._zone.runOutsideAngular(()=>{M=this._zone.onStable.subscribe(()=>{Vi.assertNotInAngularZone(),Ou(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,D.next(!0))})})});const B=this._zone.onUnstable.subscribe(()=>{Vi.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{D.next(!1)}))});return()=>{M.unsubscribe(),B.unsubscribe()}});this.isStable=(0,L.T)(w,T.pipe((0,R.B)()))}bootstrap(f,p){if(!this._initStatus.done)throw new ie(405,"");let m;m=f instanceof tf?f:this._componentFactoryResolver.resolveComponentFactory(f),this.componentTypes.push(m.componentType);const _=function CC(c){return c.isBoundToModule}(m)?void 0:this._injector.get(jr),w=m.create(On.NULL,[],p||m.selector,_),T=w.location.nativeElement,D=w.injector.get(J_,null),M=D&&w.injector.get(ey);return D&&M&&M.registerApplication(T,D),w.onDestroy(()=>{this.detachView(w.hostView),Fu(this.components,w),M&&M.unregisterApplication(T)}),this._loadComponent(w),w}tick(){if(this._runningTick)throw new ie(101,"");try{this._runningTick=!0;for(let f of this._views)f.detectChanges()}catch(f){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(f))}finally{this._runningTick=!1}}attachView(f){const p=f;this._views.push(p),p.attachToAppRef(this)}detachView(f){const p=f;Fu(this._views,p),p.detachFromAppRef()}_loadComponent(f){this.attachView(f.hostView),this.tick(),this.components.push(f),this._injector.get(W_,[]).concat(this._bootstrapListeners).forEach(m=>m(f))}ngOnDestroy(){this._views.slice().forEach(f=>f.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return c.\u0275fac=function(f){return new(f||c)(pi(Vi),pi(On),pi(_n),pi(Ni),pi(Zs))},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();function Fu(c,l){const f=c.indexOf(l);f>-1&&c.splice(f,1)}let Bf=!0;function MC(){Bf=!1}let hS=(()=>{class c{}return c.__NG_ELEMENT_ID__=uy,c})();function uy(c){return function xC(c,l,f){if(Vc(c)&&!f){const p=Xe(c.index,l);return new zn(p,p)}return 47&c.type?new zn(l[16],l):null}(ii(),fe(),16==(16&c))}class jf{constructor(){}supports(l){return Jo(l)}create(l){return new gy(l)}}const py=(c,l)=>l;class gy{constructor(l){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=l||py}forEachItem(l){let f;for(f=this._itHead;null!==f;f=f._next)l(f)}forEachOperation(l){let f=this._itHead,p=this._removalsHead,m=0,_=null;for(;f||p;){const y=!p||f&&f.currentIndex{y=this._trackByFn(m,w),null!==f&&Object.is(f.trackById,y)?(p&&(f=this._verifyReinsertion(f,w,y,m)),Object.is(f.item,w)||this._addIdentityChange(f,w)):(f=this._mismatch(f,w,y,m),p=!0),f=f._next,m++}),this.length=m;return this._truncate(f),this.collection=l,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let l;for(l=this._previousItHead=this._itHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._additionsHead;null!==l;l=l._nextAdded)l.previousIndex=l.currentIndex;for(this._additionsHead=this._additionsTail=null,l=this._movesHead;null!==l;l=l._nextMoved)l.previousIndex=l.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(l,f,p,m){let _;return null===l?_=this._itTail:(_=l._prev,this._remove(l)),null!==(l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(l.item,f)||this._addIdentityChange(l,f),this._reinsertAfter(l,_,m)):null!==(l=null===this._linkedRecords?null:this._linkedRecords.get(p,m))?(Object.is(l.item,f)||this._addIdentityChange(l,f),this._moveAfter(l,_,m)):l=this._addAfter(new my(f,p),_,m),l}_verifyReinsertion(l,f,p,m){let _=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==_?l=this._reinsertAfter(_,l._prev,m):l.currentIndex!=m&&(l.currentIndex=m,this._addToMoves(l,m)),l}_truncate(l){for(;null!==l;){const f=l._next;this._addToRemovals(this._unlink(l)),l=f}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(l,f,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(l);const m=l._prevRemoved,_=l._nextRemoved;return null===m?this._removalsHead=_:m._nextRemoved=_,null===_?this._removalsTail=m:_._prevRemoved=m,this._insertAfter(l,f,p),this._addToMoves(l,p),l}_moveAfter(l,f,p){return this._unlink(l),this._insertAfter(l,f,p),this._addToMoves(l,p),l}_addAfter(l,f,p){return this._insertAfter(l,f,p),this._additionsTail=null===this._additionsTail?this._additionsHead=l:this._additionsTail._nextAdded=l,l}_insertAfter(l,f,p){const m=null===f?this._itHead:f._next;return l._next=m,l._prev=f,null===m?this._itTail=l:m._prev=l,null===f?this._itHead=l:f._next=l,null===this._linkedRecords&&(this._linkedRecords=new Vf),this._linkedRecords.put(l),l.currentIndex=p,l}_remove(l){return this._addToRemovals(this._unlink(l))}_unlink(l){null!==this._linkedRecords&&this._linkedRecords.remove(l);const f=l._prev,p=l._next;return null===f?this._itHead=p:f._next=p,null===p?this._itTail=f:p._prev=f,l}_addToMoves(l,f){return l.previousIndex===f||(this._movesTail=null===this._movesTail?this._movesHead=l:this._movesTail._nextMoved=l),l}_addToRemovals(l){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Vf),this._unlinkedRecords.put(l),l.currentIndex=null,l._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=l,l._prevRemoved=null):(l._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=l),l}_addIdentityChange(l,f){return l.item=f,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=l:this._identityChangesTail._nextIdentityChange=l,l}}class my{constructor(l,f){this.item=l,this.trackById=f,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Bu{constructor(){this._head=null,this._tail=null}add(l){null===this._head?(this._head=this._tail=l,l._nextDup=null,l._prevDup=null):(this._tail._nextDup=l,l._prevDup=this._tail,l._nextDup=null,this._tail=l)}get(l,f){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===f||f<=p.currentIndex)&&Object.is(p.trackById,l))return p;return null}remove(l){const f=l._prevDup,p=l._nextDup;return null===f?this._head=p:f._nextDup=p,null===p?this._tail=f:p._prevDup=f,null===this._head}}class Vf{constructor(){this.map=new Map}put(l){const f=l.trackById;let p=this.map.get(f);p||(p=new Bu,this.map.set(f,p)),p.add(l)}get(l,f){const m=this.map.get(l);return m?m.get(l,f):null}remove(l){const f=l.trackById;return this.map.get(f).remove(l)&&this.map.delete(f),l}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Kf(c,l,f){const p=c.previousIndex;if(null===p)return p;let m=0;return f&&p{if(f&&f.key===m)this._maybeAddToChanges(f,p),this._appendAfter=f,f=f._next;else{const _=this._getOrCreateRecordForKey(m,p);f=this._insertBeforeOrAppend(f,_)}}),f){f._prev&&(f._prev._next=null),this._removalsHead=f;for(let p=f;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(l,f){if(l){const p=l._prev;return f._next=l,f._prev=p,l._prev=f,p&&(p._next=f),l===this._mapHead&&(this._mapHead=f),this._appendAfter=l,l}return this._appendAfter?(this._appendAfter._next=f,f._prev=this._appendAfter):this._mapHead=f,this._appendAfter=f,null}_getOrCreateRecordForKey(l,f){if(this._records.has(l)){const m=this._records.get(l);this._maybeAddToChanges(m,f);const _=m._prev,y=m._next;return _&&(_._next=y),y&&(y._prev=_),m._next=null,m._prev=null,m}const p=new zC(l);return this._records.set(l,p),p.currentValue=f,this._addToAdditions(p),p}_reset(){if(this.isDirty){let l;for(this._previousMapHead=this._mapHead,l=this._previousMapHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._changesHead;null!==l;l=l._nextChanged)l.previousValue=l.currentValue;for(l=this._additionsHead;null!=l;l=l._nextAdded)l.previousValue=l.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(l,f){Object.is(f,l.currentValue)||(l.previousValue=l.currentValue,l.currentValue=f,this._addToChanges(l))}_addToAdditions(l){null===this._additionsHead?this._additionsHead=this._additionsTail=l:(this._additionsTail._nextAdded=l,this._additionsTail=l)}_addToChanges(l){null===this._changesHead?this._changesHead=this._changesTail=l:(this._changesTail._nextChanged=l,this._changesTail=l)}_forEach(l,f){l instanceof Map?l.forEach(f):Object.keys(l).forEach(p=>f(l[p],p))}}class zC{constructor(l){this.key=l,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Uf(){return new kc([new jf])}let kc=(()=>{class c{constructor(f){this.factories=f}static create(f,p){if(null!=p){const m=p.factories.slice();f=f.concat(m)}return new c(f)}static extend(f){return{provide:c,useFactory:p=>c.create(f,p||Uf()),deps:[[c,new Sa,new _s]]}}find(f){const p=this.factories.find(m=>m.supports(f));if(null!=p)return p;throw new ie(901,"")}}return c.\u0275prov=Ot({token:c,providedIn:"root",factory:Uf}),c})();function qf(){return new ea([new Gf])}let ea=(()=>{class c{constructor(f){this.factories=f}static create(f,p){if(p){const m=p.factories.slice();f=f.concat(m)}return new c(f)}static extend(f){return{provide:c,useFactory:p=>c.create(f,p||qf()),deps:[[c,new Sa,new _s]]}}find(f){const p=this.factories.find(_=>_.supports(f));if(p)return p;throw new ie(901,"")}}return c.\u0275prov=Ot({token:c,providedIn:"root",factory:qf}),c})();const wy=[new Gf],vy=new kc([new jf]),$f=new ea(wy),Ay=EC(null,"core",[{provide:$_,useValue:"unknown"},{provide:SC,deps:[On]},{provide:ey,deps:[]},{provide:Pf,deps:[]}]),Ey=[{provide:qr,useClass:qr,deps:[Vi,On,_n,Ni,Zs]},{provide:hu,deps:[Vi],useFactory:function gS(c){let l=[];return c.onStable.subscribe(()=>{for(;l.length;)l.pop()()}),function(f){l.push(f)}}},{provide:Zs,useClass:Zs,deps:[[new _s,Tc]]},{provide:Ec,useClass:Ec,deps:[]},Rf,{provide:kc,useFactory:function Cy(){return vy},deps:[]},{provide:ea,useFactory:function Ty(){return $f},deps:[]},{provide:Iu,useFactory:function to(c){return c||function Pi(){return"undefined"!=typeof $localize&&$localize.locale||uc}()},deps:[[new ul(Iu),new _s,new Sa]]},{provide:Y_,useValue:"USD"}];let mS=(()=>{class c{constructor(f){}}return c.\u0275fac=function(f){return new(f||c)(pi(qr))},c.\u0275mod=pr({type:c}),c.\u0275inj=Cn({providers:Ey}),c})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(6227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class N extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return N.\u0275fac=function(){let G;return function(b){return(G||(G=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(N)))(b||N)}}(),N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class N{constructor(){this.data=new Map}getItem(v){return this.data.get(v)}removeItem(v){this.data.delete(v)}setItem(v,b){this.data.set(v,b)}}return N.\u0275fac=function(v){return new(v||N)},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class ReceivedTokens{}class OAuthEvent{constructor(G){this.type=G}}class OAuthSuccessEvent extends OAuthEvent{constructor(G,v=null){super(G),this.info=v}}class OAuthInfoEvent extends OAuthEvent{constructor(G,v=null){super(G),this.info=v}}class OAuthErrorEvent extends OAuthEvent{constructor(G,v,b=null){super(G),this.reason=v,this.params=b}}function b64DecodeUnicode(N){const G=N.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(G).split("").map(function(v){return"%"+("00"+v.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(N){return btoa(N).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(G){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=v=>{location.href=v},G&&Object.assign(this,G)}}class WebHttpUrlEncodingCodec{encodeKey(G){return encodeURIComponent(G)}encodeValue(G){return encodeURIComponent(G)}decodeKey(G){return decodeURIComponent(G)}decodeValue(G){return decodeURIComponent(G)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(G){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let v=this.inferHashAlgorithm(G.idTokenHeader),b=yield this.calcHash(G.accessToken,v),I=base64UrlEncode(b.substr(0,b.length/2)),L=G.idTokenClaims.at_hash.replace(/=/g,"");return I!==L&&(console.error("exptected at_hash: "+I),console.error("actual at_hash: "+L)),I===L})}inferHashAlgorithm(G){let v=G.alg;if(!v.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+v);return"sha-"+v.substr(2)}}let UrlHelperService=(()=>{class N{getHashFragmentParams(v){let b=v||window.location.hash;if(b=decodeURIComponent(b),0!==b.indexOf("#"))return{};const u=b.indexOf("?");return b=b.substr(u>-1?u+1:1),this.parseQueryString(b)}parseQueryString(v){const b={};let u,I,L,R,O,$,U;if(null===v)return b;u=v.split("&");for(let j=0;j>6,I[R++]=128|63&O):O<55296||O>=57344?(I[R++]=224|O>>12,I[R++]=128|O>>6&63,I[R++]=128|63&O):(O=65536+((1023&O)<<10|1023&N.charCodeAt(++b)),I[R++]=240|O>>18,I[R++]=128|O>>12&63,I[R++]=128|O>>6&63,I[R++]=128|63&O);N=I}else{if("object"!==u)throw new Error(ERROR);if(null===N)throw new Error(ERROR);if(ARRAY_BUFFER&&N.constructor===ArrayBuffer)N=new Uint8Array(N);else if(!(Array.isArray(N)||ARRAY_BUFFER&&ArrayBuffer.isView(N)))throw new Error(ERROR)}N.length>64&&(N=new Sha256(G,!0).update(N).array());var $=[],U=[];for(b=0;b<64;++b){var j=N[b]||0;$[b]=92^j,U[b]=54^j}Sha256.call(this,G,v),this.update(U),this.oKeyPad=$,this.inner=!0,this.sharedMemory=v}Sha256.prototype.update=function(N){if(!this.finalized){var G,v=typeof N;if("string"!==v){if("object"!==v)throw new Error(ERROR);if(null===N)throw new Error(ERROR);if(ARRAY_BUFFER&&N.constructor===ArrayBuffer)N=new Uint8Array(N);else if(!(Array.isArray(N)||ARRAY_BUFFER&&ArrayBuffer.isView(N)))throw new Error(ERROR);G=!0}for(var b,I,u=0,L=N.length,R=this.blocks;u>2]|=N[u]<>2]|=b<>2]|=(192|b>>6)<>2]|=(128|63&b)<=57344?(R[I>>2]|=(224|b>>12)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<>2]|=(240|b>>18)<>2]|=(128|b>>12&63)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<=64?(this.block=R[16],this.start=I-64,this.hash(),this.hashed=!0):this.start=I}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var N=this.blocks,G=this.lastByteIndex;N[16]=this.block,N[G>>2]|=EXTRA[3&G],this.block=N[16],G>=56&&(this.hashed||this.hash(),N[0]=this.block,N[16]=N[1]=N[2]=N[3]=N[4]=N[5]=N[6]=N[7]=N[8]=N[9]=N[10]=N[11]=N[12]=N[13]=N[14]=N[15]=0),N[14]=this.hBytes<<3|this.bytes>>>29,N[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var $,z,J,ie,ee,re,N=this.h0,G=this.h1,v=this.h2,b=this.h3,u=this.h4,I=this.h5,L=this.h6,R=this.h7,O=this.blocks;for($=16;$<64;++$)O[$]=O[$-16]+(((z=O[$-15])>>>7|z<<25)^(z>>>18|z<<14)^z>>>3)+O[$-7]+(((z=O[$-2])>>>17|z<<15)^(z>>>19|z<<13)^z>>>10)<<0;for(re=G&v,$=0;$<64;$+=4)this.first?(this.is224?(J=300032,R=(z=O[0]-1413257819)-150054599<<0,b=z+24177077<<0):(J=704751109,R=(z=O[0]-210244248)-1521486534<<0,b=z+143694565<<0),this.first=!1):(R=b+(z=R+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&I^~u&L)+K[$]+O[$])<<0,b=z+(((N>>>2|N<<30)^(N>>>13|N<<19)^(N>>>22|N<<10))+((J=N&G)^N&v^re))<<0),L=v+(z=L+((R>>>6|R<<26)^(R>>>11|R<<21)^(R>>>25|R<<7))+(R&u^~R&I)+K[$+1]+O[$+1])<<0,v=z+(((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+((ie=b&N)^b&G^J))<<0,I=G+(z=I+((L>>>6|L<<26)^(L>>>11|L<<21)^(L>>>25|L<<7))+(L&R^~L&u)+K[$+2]+O[$+2])<<0,G=z+(((v>>>2|v<<30)^(v>>>13|v<<19)^(v>>>22|v<<10))+((ee=v&b)^v&N^ie))<<0,u=N+(z=u+((I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7))+(I&L^~I&R)+K[$+3]+O[$+3])<<0,N=z+(((G>>>2|G<<30)^(G>>>13|G<<19)^(G>>>22|G<<10))+((re=G&v)^G&b^ee))<<0;this.h0=this.h0+N<<0,this.h1=this.h1+G<<0,this.h2=this.h2+v<<0,this.h3=this.h3+b<<0,this.h4=this.h4+u<<0,this.h5=this.h5+I<<0,this.h6=this.h6+L<<0,this.h7=this.h7+R<<0},Sha256.prototype.hex=function(){this.finalize();var N=this.h0,G=this.h1,v=this.h2,b=this.h3,u=this.h4,I=this.h5,L=this.h6,R=this.h7,O=HEX_CHARS[N>>28&15]+HEX_CHARS[N>>24&15]+HEX_CHARS[N>>20&15]+HEX_CHARS[N>>16&15]+HEX_CHARS[N>>12&15]+HEX_CHARS[N>>8&15]+HEX_CHARS[N>>4&15]+HEX_CHARS[15&N]+HEX_CHARS[G>>28&15]+HEX_CHARS[G>>24&15]+HEX_CHARS[G>>20&15]+HEX_CHARS[G>>16&15]+HEX_CHARS[G>>12&15]+HEX_CHARS[G>>8&15]+HEX_CHARS[G>>4&15]+HEX_CHARS[15&G]+HEX_CHARS[v>>28&15]+HEX_CHARS[v>>24&15]+HEX_CHARS[v>>20&15]+HEX_CHARS[v>>16&15]+HEX_CHARS[v>>12&15]+HEX_CHARS[v>>8&15]+HEX_CHARS[v>>4&15]+HEX_CHARS[15&v]+HEX_CHARS[b>>28&15]+HEX_CHARS[b>>24&15]+HEX_CHARS[b>>20&15]+HEX_CHARS[b>>16&15]+HEX_CHARS[b>>12&15]+HEX_CHARS[b>>8&15]+HEX_CHARS[b>>4&15]+HEX_CHARS[15&b]+HEX_CHARS[u>>28&15]+HEX_CHARS[u>>24&15]+HEX_CHARS[u>>20&15]+HEX_CHARS[u>>16&15]+HEX_CHARS[u>>12&15]+HEX_CHARS[u>>8&15]+HEX_CHARS[u>>4&15]+HEX_CHARS[15&u]+HEX_CHARS[I>>28&15]+HEX_CHARS[I>>24&15]+HEX_CHARS[I>>20&15]+HEX_CHARS[I>>16&15]+HEX_CHARS[I>>12&15]+HEX_CHARS[I>>8&15]+HEX_CHARS[I>>4&15]+HEX_CHARS[15&I]+HEX_CHARS[L>>28&15]+HEX_CHARS[L>>24&15]+HEX_CHARS[L>>20&15]+HEX_CHARS[L>>16&15]+HEX_CHARS[L>>12&15]+HEX_CHARS[L>>8&15]+HEX_CHARS[L>>4&15]+HEX_CHARS[15&L];return this.is224||(O+=HEX_CHARS[R>>28&15]+HEX_CHARS[R>>24&15]+HEX_CHARS[R>>20&15]+HEX_CHARS[R>>16&15]+HEX_CHARS[R>>12&15]+HEX_CHARS[R>>8&15]+HEX_CHARS[R>>4&15]+HEX_CHARS[15&R]),O},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var N=this.h0,G=this.h1,v=this.h2,b=this.h3,u=this.h4,I=this.h5,L=this.h6,R=this.h7,O=[N>>24&255,N>>16&255,N>>8&255,255&N,G>>24&255,G>>16&255,G>>8&255,255&G,v>>24&255,v>>16&255,v>>8&255,255&v,b>>24&255,b>>16&255,b>>8&255,255&b,u>>24&255,u>>16&255,u>>8&255,255&u,I>>24&255,I>>16&255,I>>8&255,255&I,L>>24&255,L>>16&255,L>>8&255,255&L];return this.is224||O.push(R>>24&255,R>>16&255,R>>8&255,255&R),O},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var N=new ArrayBuffer(this.is224?28:32),G=new DataView(N);return G.setUint32(0,this.h0),G.setUint32(4,this.h1),G.setUint32(8,this.h2),G.setUint32(12,this.h3),G.setUint32(16,this.h4),G.setUint32(20,this.h5),G.setUint32(24,this.h6),this.is224||G.setUint32(28,this.h7),N},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var N=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(N),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(N){if("string"!=typeof N)throw new TypeError("expected string");var G,v=N,b=new Uint8Array(v.length);for(G=0;G{class N{calcHash(v,b){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(v)))})}toHashString2(v){let b="";for(let u of v)b+=String.fromCharCode(u);return b}toHashString(v){const b=new Uint8Array(v);let u="";for(let I of b)u+=String.fromCharCode(I);return u}}return N.\u0275fac=function(v){return new(v||N)},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})(),OAuthService=(()=>{class N extends AuthConfig{constructor(v,b,u,I,L,R,O,$,U,j){var F;super(),this.ngZone=v,this.http=b,this.config=L,this.urlHelper=R,this.logger=O,this.crypto=$,this.dateTimeService=j,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=U,L||(L={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),I&&(this.tokenValidationHandler=I),L&&this.configure(L);try{u?this.setStorage(u):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(z){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",z)}if(this.checkLocalStorageAccessable()){const z=null===(F=null==window?void 0:window.navigator)||void 0===F?void 0:F.userAgent;((null==z?void 0:z.includes("MSIE "))||(null==z?void 0:z.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const v="test";try{return void 0!==window.localStorage&&(localStorage.setItem(v,v),localStorage.removeItem(v),!0)}catch(b){return!1}}configure(v){Object.assign(this,new AuthConfig,v),this.config=Object.assign({},new AuthConfig,v),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_received"===v.type)).subscribe(v=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(v={},b,u=!0){let I=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(L=>{"token_received"===L.type?I=!0:"logout"===L.type&&(I=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(L=>"token_expires"===L.type&&(null==b||"any"===b||L.info===b)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(L=>{I&&this.refreshInternal(v,u).catch(R=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(v,b){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(v,b):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(v=null){return this.loadDiscoveryDocument().then(b=>this.tryLogin(v))}loadDiscoveryDocumentAndLogin(v=null){return this.loadDiscoveryDocumentAndTryLogin(v=v||{}).then(b=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof v.state?v.state:""),!1))}debug(...v){this.showDebugInformation&&this.logger.debug.apply(this.logger,v)}validateUrlFromDiscoveryDocument(v){const b=[],u=this.validateUrlForHttps(v),I=this.validateUrlAgainstIssuer(v);return u||b.push("https for all urls required. Also for urls received by discovery."),I||b.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),b}validateUrlForHttps(v){if(!v)return!0;const b=v.toLowerCase();return!(!1!==this.requireHttps&&(!b.match(/^http:\/\/localhost($|[:\/])/)&&!b.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||b.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(v,b){if(!v)throw new Error(`'${b}' should not be null`);if(!this.validateUrlForHttps(v))throw new Error(`'${b}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(v){return!this.strictDiscoveryDocumentValidation||!v||v.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_received"===v.type)).subscribe(v=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const v=this.getAccessTokenExpiration(),b=this.getAccessTokenStoredAt(),u=this.calcTimeout(b,v);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(u)).subscribe(I=>{this.ngZone.run(()=>{this.eventsSubject.next(I)})})})}setupIdTokenTimer(){const v=this.getIdTokenExpiration(),b=this.getIdTokenStoredAt(),u=this.calcTimeout(b,v);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(u)).subscribe(I=>{this.ngZone.run(()=>{this.eventsSubject.next(I)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(v,b){const u=this.dateTimeService.now();return Math.max(0,(b-v)*this.timeoutFactor-(u-v))}setStorage(v){this._storage=v,this.configChanged()}loadDiscoveryDocument(v=null){return new Promise((b,u)=>{v||((v=this.issuer||"").endsWith("/")||(v+="/"),v+=".well-known/openid-configuration"),this.validateUrlForHttps(v)?this.http.get(v).subscribe(I=>{if(!this.validateDiscoveryDocument(I))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void u("discovery_document_validation_error");this.loginUrl=I.authorization_endpoint,this.logoutUrl=I.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=I.grant_types_supported,this.issuer=I.issuer,this.tokenEndpoint=I.token_endpoint,this.userinfoEndpoint=I.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=I.jwks_uri,this.sessionCheckIFrameUrl=I.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(I),this.revocationEndpoint=I.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(L=>{const O=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:I,jwks:L});this.eventsSubject.next(O),b(O)}).catch(L=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",L)),u(L)})},I=>{this.logger.error("error loading discovery document",I),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",I)),u(I)}):u("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((v,b)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(u=>{this.jwks=u,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),v(u)},u=>{this.logger.error("error loading jwks",u),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",u)),b(u)}):v(null)})}validateDiscoveryDocument(v){let b;return this.skipIssuerCheck||v.issuer===this.issuer?(b=this.validateUrlFromDiscoveryDocument(v.authorization_endpoint),b.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(v.end_session_endpoint),b.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(v.token_endpoint),b.length>0&&this.logger.error("error validating token_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(v.revocation_endpoint),b.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(v.userinfo_endpoint),b.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(v.jwks_uri),b.length>0?(this.logger.error("error validating jwks_uri in discovery document",b),!1):(this.sessionChecksEnabled&&!v.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+v.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(v,b,u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(v,b,u).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((v,b)=>{const u=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:u,observe:"response",responseType:"text"}).subscribe(I=>{if(this.debug("userinfo received",JSON.stringify(I)),I.headers.get("content-type").startsWith("application/json")){let L=JSON.parse(I.body);const R=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!R.sub||L.sub!==R.sub))return void b("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");L=Object.assign({},R,L),this._storage.setItem("id_token_claims_obj",JSON.stringify(L)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),v({info:L})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),v(JSON.parse(I.body))},I=>{this.logger.error("error loading user info",I),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",I)),b(I)})})}fetchTokenUsingPasswordFlow(v,b,u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:v,password:b},u)}fetchTokenUsingGrant(v,b,u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let I=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",v).set("scope",this.scope);if(this.useHttpBasicAuth){const L=btoa(`${this.clientId}:${this.dummyClientSecret}`);u=u.set("Authorization","Basic "+L)}if(this.useHttpBasicAuth||(I=I.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(I=I.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const L of Object.getOwnPropertyNames(this.customQueryParams))I=I.set(L,this.customQueryParams[L]);for(const L of Object.keys(b))I=I.set(L,b[L]);return u=u.set("Content-Type","application/x-www-form-urlencoded"),new Promise((L,R)=>{this.http.post(this.tokenEndpoint,I,{headers:u}).subscribe(O=>{this.debug("tokenResponse",O),this.storeAccessTokenResponse(O.access_token,O.refresh_token,O.expires_in||this.fallbackAccessTokenExpirationTimeInSec,O.scope,this.extractRecognizedCustomParameters(O)),this.oidc&&O.id_token&&this.processIdToken(O.id_token,O.access_token).then($=>{this.storeIdToken($),L(O)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),L(O)},O=>{this.logger.error("Error performing ${grantType} flow",O),this.eventsSubject.next(new OAuthErrorEvent("token_error",O)),R(O)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((v,b)=>{let u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),I=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const L=btoa(`${this.clientId}:${this.dummyClientSecret}`);I=I.set("Authorization","Basic "+L)}if(this.useHttpBasicAuth||(u=u.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(u=u.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const L of Object.getOwnPropertyNames(this.customQueryParams))u=u.set(L,this.customQueryParams[L]);this.http.post(this.tokenEndpoint,u,{headers:I}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(L=>L.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(L.id_token,L.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(R=>this.storeIdToken(R)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(R=>L)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(L))).subscribe(L=>{this.debug("refresh tokenResponse",L),this.storeAccessTokenResponse(L.access_token,L.refresh_token,L.expires_in||this.fallbackAccessTokenExpirationTimeInSec,L.scope,this.extractRecognizedCustomParameters(L)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),v(L)},L=>{this.logger.error("Error refreshing token",L),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",L)),b(L)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=v=>{const b=this.processMessageEventMessage(v);this.tryLogin({customHashFragment:b,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(u=>this.debug("tryLogin during silent refresh failed",u))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(v={},b=!0){const u=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(v.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const I=this.document.getElementById(this.silentRefreshIFrameName);I&&this.document.body.removeChild(I),this.silentRefreshSubject=u.sub;const L=this.document.createElement("iframe");L.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,b,v).then(j=>{L.setAttribute("src",j),this.silentRefreshShowIFrame||(L.style.display="none"),this.document.body.appendChild(L)});const O=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(j=>j instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),$=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(j=>"token_received"===j.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),U=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([O,$,U]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(j=>{if(j instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===j.type||(j=new OAuthErrorEvent("silent_refresh_error",j)),this.eventsSubject.next(j),j;return"token_received"===j.type&&(j=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(j)),j})).toPromise()}initImplicitFlowInPopup(v){return this.initLoginFlowInPopup(v)}initLoginFlowInPopup(v){return v=v||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(b=>new Promise((u,I)=>{let O,R=null;v.windowRef?v.windowRef&&!v.windowRef.closed&&(R=v.windowRef,R.location.href=b):R=window.open(b,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(v));const $=V=>{this.tryLogin({customHashFragment:V,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{j(),u(!0)},q=>{j(),I(q)})};R?O=window.setInterval(()=>{(!R||R.closed)&&(j(),I(new OAuthErrorEvent("popup_closed",{})))},500):I(new OAuthErrorEvent("popup_blocked",{}));const j=()=>{window.clearInterval(O),window.removeEventListener("storage",z),window.removeEventListener("message",F),null!==R&&R.close(),R=null},F=V=>{const q=this.processMessageEventMessage(V);q&&null!==q?(window.removeEventListener("storage",z),$(q)):console.log("false event firing")},z=V=>{"auth_hash"===V.key&&(window.removeEventListener("message",F),$(V.newValue))};window.addEventListener("message",F),window.addEventListener("storage",z)}))}calculatePopupFeatures(v){const b=v.height||470,u=v.width||500,I=window.screenLeft+(window.outerWidth-u)/2;return`location=no,toolbar=no,width=${u},height=${b},top=${window.screenTop+(window.outerHeight-b)/2},left=${I}`}processMessageEventMessage(v){let b="#";if(this.silentRefreshMessagePrefix&&(b+=this.silentRefreshMessagePrefix),!v||!v.data||"string"!=typeof v.data)return;const u=v.data;return u.startsWith(b)?"#"+u.substr(b.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=v=>{const b=v.origin.toLowerCase(),u=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),u.startsWith(b)){switch(v.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",v)}else this.debug("sessionCheckEventListener","wrong origin",b,"expected",u,"event",v)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(v=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(v=>{this.debug("token refresh after session change worked")}).catch(v=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"silently_refreshed"===v.type||"silent_refresh_timeout"===v.type||"silent_refresh_error"===v.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(v=>{"silently_refreshed"!==v.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const v=this.document.getElementById(this.sessionCheckIFrameName);v&&this.document.body.removeChild(v);const b=this.document.createElement("iframe");b.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),b.setAttribute("src",this.sessionCheckIFrameUrl),b.style.display="none",this.document.body.appendChild(b),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const v=this.document.getElementById(this.sessionCheckIFrameName);v||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const b=this.getSessionState();b||this.stopSessionCheckTimer(),v.contentWindow.postMessage(this.clientId+" "+b,this.issuer)}createLoginUrl(v="",b="",u="",I=!1,L={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const R=this;let O;O=u||this.redirectUri;const $=yield this.createAndSaveNonce();if(v=v?$+this.config.nonceStateSeparator+encodeURIComponent(v):$,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const U=R.loginUrl.indexOf("?")>-1?"&":"?";let j=R.scope;this.oidc&&!j.match(/(^|\s)openid($|\s)/)&&(j="openid "+j);let F=R.loginUrl+U+"response_type="+encodeURIComponent(R.responseType)+"&client_id="+encodeURIComponent(R.clientId)+"&state="+encodeURIComponent(v)+"&redirect_uri="+encodeURIComponent(O)+"&scope="+encodeURIComponent(j);if(this.responseType.includes("code")&&!this.disablePKCE){const[z,V]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",V):this._storage.setItem("PKCE_verifier",V),F+="&code_challenge="+z,F+="&code_challenge_method=S256"}b&&(F+="&login_hint="+encodeURIComponent(b)),R.resource&&(F+="&resource="+encodeURIComponent(R.resource)),R.oidc&&(F+="&nonce="+encodeURIComponent($)),I&&(F+="&prompt=none");for(const z of Object.keys(L))F+="&"+encodeURIComponent(z)+"="+encodeURIComponent(L[z]);if(this.customQueryParams)for(const z of Object.getOwnPropertyNames(this.customQueryParams))F+="&"+z+"="+encodeURIComponent(this.customQueryParams[z]);return F})}initImplicitFlowInternal(v="",b=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let u={},I=null;"string"==typeof b?I=b:"object"==typeof b&&(u=b),this.createLoginUrl(v,I,null,!1,u).then(this.config.openUri).catch(L=>{console.error("Error in initImplicitFlow",L),this.inImplicitFlow=!1})}initImplicitFlow(v="",b=""){""!==this.loginUrl?this.initImplicitFlowInternal(v,b):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(u=>"discovery_document_loaded"===u.type)).subscribe(u=>this.initImplicitFlowInternal(v,b))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(v){const b=this;if(v.onTokenReceived){const u={idClaims:b.getIdentityClaims(),idToken:b.getIdToken(),accessToken:b.getAccessToken(),state:b.state};v.onTokenReceived(u)}}storeAccessTokenResponse(v,b,u,I,L){if(this._storage.setItem("access_token",v),I&&!Array.isArray(I)?this._storage.setItem("granted_scopes",JSON.stringify(I.split(" "))):I&&Array.isArray(I)&&this._storage.setItem("granted_scopes",JSON.stringify(I)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),u){const R=1e3*u,$=this.dateTimeService.new().getTime()+R;this._storage.setItem("expires_at",""+$)}b&&this._storage.setItem("refresh_token",b),L&&L.forEach((R,O)=>{this._storage.setItem(O,R)})}tryLogin(v=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(v).then(b=>!0):this.tryLoginImplicitFlow(v)}parseQueryString(v){return v&&0!==v.length?("?"===v.charAt(0)&&(v=v.substr(1)),this.urlHelper.parseQueryString(v)):{}}tryLoginCodeFlow(v=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const b=(v=v||{}).customHashFragment?v.customHashFragment.substring(1):window.location.search,u=this.getCodePartsFromUrl(b),I=u.code,L=u.state,R=u.session_state;if(!v.preventClearHashAfterLogin){const U=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,U)}let[O,$]=this.parseState(L);if(this.state=$,u.error){this.debug("error trying to login"),this.handleLoginError(v,u);const U=new OAuthErrorEvent("code_error",{},u);return this.eventsSubject.next(U),Promise.reject(U)}if(!v.disableNonceCheck){if(!O)return this.saveRequestedRoute(),Promise.resolve();if(!v.disableOAuth2StateCheck&&!this.validateNonce(O)){const j=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(j),Promise.reject(j)}return this.storeSessionState(R),I&&(yield this.getTokenFromCode(I,v),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const v=this._storage.getItem("requested_route");v&&history.replaceState(null,"",window.location.origin+v)}getCodePartsFromUrl(v){return v&&0!==v.length?("?"===v.charAt(0)&&(v=v.substr(1)),this.urlHelper.parseQueryString(v)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(v,b){let u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",v).set("redirect_uri",b.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let I;I=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),I?u=u.set("code_verifier",I):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(u,b)}fetchAndProcessToken(v,b){b=b||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let u=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const I=btoa(`${this.clientId}:${this.dummyClientSecret}`);u=u.set("Authorization","Basic "+I)}return this.useHttpBasicAuth||(v=v.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(v=v.set("client_secret",this.dummyClientSecret)),new Promise((I,L)=>{if(this.customQueryParams)for(let R of Object.getOwnPropertyNames(this.customQueryParams))v=v.set(R,this.customQueryParams[R]);this.http.post(this.tokenEndpoint,v,{headers:u}).subscribe(R=>{this.debug("refresh tokenResponse",R),this.storeAccessTokenResponse(R.access_token,R.refresh_token,R.expires_in||this.fallbackAccessTokenExpirationTimeInSec,R.scope,this.extractRecognizedCustomParameters(R)),this.oidc&&R.id_token?this.processIdToken(R.id_token,R.access_token,b.disableNonceCheck).then(O=>{this.storeIdToken(O),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),I(R)}).catch(O=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",O)),console.error("Error validating tokens"),console.error(O),L(O)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),I(R))},R=>{console.error("Error getting token",R),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",R)),L(R)})})}tryLoginImplicitFlow(v=null){let b;b=(v=v||{}).customHashFragment?this.urlHelper.getHashFragmentParams(v.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",b);const u=b.state;let[I,L]=this.parseState(u);if(this.state=L,b.error){this.debug("error trying to login"),this.handleLoginError(v,b);const j=new OAuthErrorEvent("token_error",{},b);return this.eventsSubject.next(j),Promise.reject(j)}const R=b.access_token,O=b.id_token,$=b.session_state,U=b.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!R||this.requestAccessToken&&!v.disableOAuth2StateCheck&&!u||this.oidc&&!O)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!$&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!v.disableNonceCheck&&!this.validateNonce(I)){const F=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(F),Promise.reject(F)}return this.requestAccessToken&&this.storeAccessTokenResponse(R,null,b.expires_in||this.fallbackAccessTokenExpirationTimeInSec,U),this.oidc?this.processIdToken(O,R,v.disableNonceCheck).then(j=>v.validationHandler?v.validationHandler({accessToken:R,idClaims:j.idTokenClaims,idToken:j.idToken,state:u}).then(F=>j):j).then(j=>(this.storeIdToken(j),this.storeSessionState($),this.clearHashAfterLogin&&!v.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(v),this.inImplicitFlow=!1,!0)).catch(j=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",j)),this.logger.error("Error validating tokens"),this.logger.error(j),Promise.reject(j))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!v.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(v),Promise.resolve(!0))}parseState(v){let b=v,u="";if(v){const I=v.indexOf(this.config.nonceStateSeparator);I>-1&&(b=v.substr(0,I),u=v.substr(I+this.config.nonceStateSeparator.length))}return[b,u]}validateNonce(v){let b;return b=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),b===v||(console.error("Validating access_token failed, wrong state/nonce.",b,v),!1)}storeIdToken(v){this._storage.setItem("id_token",v.idToken),this._storage.setItem("id_token_claims_obj",v.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+v.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(v){this._storage.setItem("session_state",v)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(v,b){v.onLoginError&&v.onLoginError(b),this.clearHashAfterLogin&&!v.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(v=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:v}processIdToken(v,b,u=!1){const I=v.split("."),R=b64DecodeUnicode(this.padBase64(I[0])),O=JSON.parse(R),U=b64DecodeUnicode(this.padBase64(I[1])),j=JSON.parse(U);let F;if(F=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(j.aud)){if(j.aud.every(ee=>ee!==this.clientId)){const ee="Wrong audience: "+j.aud.join(",");return this.logger.warn(ee),Promise.reject(ee)}}else if(j.aud!==this.clientId){const ee="Wrong audience: "+j.aud;return this.logger.warn(ee),Promise.reject(ee)}if(!j.sub){const ee="No sub claim in id_token";return this.logger.warn(ee),Promise.reject(ee)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==j.sub){const ee=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${j.sub}`;return this.logger.warn(ee),Promise.reject(ee)}if(!j.iat){const ee="No iat claim in id_token";return this.logger.warn(ee),Promise.reject(ee)}if(!this.skipIssuerCheck&&j.iss!==this.issuer){const ee="Wrong issuer: "+j.iss;return this.logger.warn(ee),Promise.reject(ee)}if(!u&&j.nonce!==F){const ee="Wrong nonce: "+j.nonce;return this.logger.warn(ee),Promise.reject(ee)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!j.at_hash){const ee="An at_hash is needed!";return this.logger.warn(ee),Promise.reject(ee)}const z=this.dateTimeService.now(),V=1e3*j.iat,q=1e3*j.exp,J=this.getClockSkewInMsec();if(V-J>=z||q+J<=z){const ee="Token has expired";return console.error(ee),console.error({now:z,issuedAtMSec:V,expiresAtMSec:q}),Promise.reject(ee)}const ie={accessToken:b,idToken:v,jwks:this.jwks,idTokenClaims:j,idTokenHeader:O,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ie).then(ee=>({idToken:v,idTokenClaims:j,idTokenClaimsJson:U,idTokenHeader:O,idTokenHeaderJson:R,idTokenExpiresAt:q})):this.checkAtHash(ie).then(ee=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ee){const re="Wrong at_hash";return this.logger.warn(re),Promise.reject(re)}return this.checkSignature(ie).then(re=>{const Ae={idToken:v,idTokenClaims:j,idTokenClaimsJson:U,idTokenHeader:O,idTokenHeaderJson:R,idTokenExpiresAt:q};return this.disableAtHashCheck?Ae:this.checkAtHash(ie).then(He=>{if(this.requestAccessToken&&!He){const ft="Wrong at_hash";return this.logger.warn(ft),Promise.reject(ft)}return Ae})})})}getIdentityClaims(){const v=this._storage.getItem("id_token_claims_obj");return v?JSON.parse(v):null}getGrantedScopes(){const v=this._storage.getItem("granted_scopes");return v?JSON.parse(v):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(v){for(;v.length%4!=0;)v+="=";return v}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const v=this._storage.getItem("expires_at"),b=this.dateTimeService.new();return!(v&&parseInt(v,10)=0&&null!==this._storage.getItem(v)?JSON.parse(this._storage.getItem(v)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(v={},b=""){let u=!1;"boolean"==typeof v&&(u=v,v={});const I=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(R=>this._storage.removeItem(R)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||u||!I&&!this.postLogoutRedirectUri)return;let L;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)L=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(I)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let R=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});I&&(R=R.set("id_token_hint",I));const O=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";O&&(R=R.set("post_logout_redirect_uri",O),b&&(R=R.set("state",b)));for(let $ in v)R=R.set($,v[$]);L=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+R.toString()}this.config.openUri(L)}createAndSaveNonce(){const v=this;return this.createNonce().then(function(b){return v.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",b):v._storage.setItem("nonce",b),b})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const v=this.document.getElementById(this.silentRefreshIFrameName);v&&v.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const b=this.document.getElementById(this.sessionCheckIFrameName);b&&b.remove()}createNonce(){return new Promise(v=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let u=45,I="";const L="undefined"==typeof self?null:self.crypto||self.msCrypto;if(L){let R=new Uint8Array(u);L.getRandomValues(R),R.map||(R.map=Array.prototype.map),R=R.map(O=>b.charCodeAt(O%b.length)),I=String.fromCharCode.apply(null,R)}else for(;0"discovery_document_loaded"===u.type)).subscribe(u=>this.initCodeFlowInternal(v,b))}initCodeFlowInternal(v="",b={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let u={},I=null;"string"==typeof b?I=b:"object"==typeof b&&(u=b),this.createLoginUrl(v,I,null,!1,u).then(this.config.openUri).catch(L=>{console.error("Error in initAuthorizationCodeFlow"),console.error(L)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const v=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(v,"sha-256")),v]})}extractRecognizedCustomParameters(v){let b=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(u=>{v[u]&&b.set(u,JSON.stringify(v[u]))}),b}revokeTokenAndLogout(v={},b=!1){let u=this.revocationEndpoint,I=this.getAccessToken(),L=this.getRefreshToken();if(!I)return;let R=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),O=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const $=btoa(`${this.clientId}:${this.dummyClientSecret}`);O=O.set("Authorization","Basic "+$)}if(this.useHttpBasicAuth||(R=R.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(R=R.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const $ of Object.getOwnPropertyNames(this.customQueryParams))R=R.set($,this.customQueryParams[$]);return new Promise(($,U)=>{let j,F;if(I){let z=R.set("token",I).set("token_type_hint","access_token");j=this.http.post(u,z,{headers:O})}else j=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(L){let z=R.set("token",L).set("token_type_hint","refresh_token");F=this.http.post(u,z,{headers:O})}else F=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);b&&(j=j.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(z=>0===z.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(z))),F=F.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(z=>0===z.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(z)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([j,F]).subscribe(z=>{this.logOut(v),$(z),this.logger.info("Token successfully revoked")},z=>{this.logger.error("Error revoking token",z),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",z)),U(z)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return N.\u0275fac=function(v){return new(v||N)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(G){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(G)}}let DefaultOAuthInterceptor=(()=>{class N{constructor(v,b,u){this.oAuthService=v,this.errorHandler=b,this.moduleConfig=u}checkUrl(v){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(v):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(b=>v.toLowerCase().startsWith(b.toLowerCase()))}intercept(v,b){const u=v.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(u)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(L=>!!L)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(L=>"token_received"===L.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(L=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(L=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(L=>{if(L){const O=v.headers.set("Authorization","Bearer "+L);v=v.clone({headers:O})}return b.handle(v).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(R=>this.errorHandler.handleError(R)))})):b.handle(v).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(L=>this.errorHandler.handleError(L))):b.handle(v)}}return N.\u0275fac=function(v){return new(v||N)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class NullValidationHandler{validateSignature(G){return Promise.resolve(null)}validateAtHash(G){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class N{static forRoot(v=null,b=NullValidationHandler){return{ngModule:N,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:b},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:v},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return N.\u0275fac=function(v){return new(v||N)},N.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:N}),N.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),N})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},4147:N=>{"use strict";N.exports={i8:"6.1.1"}}},N=>{N(N.s=4159)}]); \ No newline at end of file diff --git a/dist/apps/password-reset/main.dccfaf9098829230.js b/dist/apps/password-reset/main.dccfaf9098829230.js new file mode 100644 index 000000000..61208f941 --- /dev/null +++ b/dist/apps/password-reset/main.dccfaf9098829230.js @@ -0,0 +1 @@ +(self.webpackChunkpassword_reset=self.webpackChunkpassword_reset||[]).push([[179],{1241:(N,U,v)=>{"use strict";var b=v(9808),u=v(5e3);class I extends b.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class L extends I{static makeCurrent(){(0,b.HT)(new L)}onAndCancel(n,e,t){return n.addEventListener(e,t,!1),()=>{n.removeEventListener(e,t,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function O(){return R=R||document.querySelector("base"),R?R.getAttribute("href"):null}();return null==e?null:function G(s){$=$||document.createElement("a"),$.setAttribute("href",s);const n=$.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){R=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return(0,b.Mx)(document.cookie,n)}}let $,R=null;const j=new u.OlP("TRANSITION_ID"),F=[{provide:u.ip1,useFactory:function z(s,n,e){return()=>{e.get(u.CZH).donePromise.then(()=>{const t=(0,b.q)(),o=n.querySelectorAll(`style[ng-transition="${s}"]`);for(let r=0;r{const r=n.findTestabilityInTree(t,o);if(null==r)throw new Error("Could not find testability for element.");return r},u.dqk.getAllAngularTestabilities=()=>n.getAllTestabilities(),u.dqk.getAllAngularRootElements=()=>n.getAllRootElements(),u.dqk.frameworkStabilizers||(u.dqk.frameworkStabilizers=[]),u.dqk.frameworkStabilizers.push(t=>{const o=u.dqk.getAllAngularTestabilities();let r=o.length,i=!1;const a=function(d){i=i||d,r--,0==r&&t(i)};o.forEach(function(d){d.whenStable(a)})})}findTestabilityInTree(n,e,t){if(null==e)return null;const o=n.getTestability(e);return null!=o?o:t?(0,b.q)().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null}}let q=(()=>{class s{build(){return new XMLHttpRequest}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();const J=new u.OlP("EventManagerPlugins");let ie=(()=>{class s{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(o=>o.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,o){return this._findPluginFor(t).addEventListener(e,t,o)}addGlobalEventListener(e,t,o){return this._findPluginFor(t).addGlobalEventListener(e,t,o)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const o=this._plugins;for(let r=0;r{class s{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),t.add(o))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})(),Ce=(()=>{class s extends re{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,o){e.forEach(r=>{const i=this._doc.createElement("style");i.textContent=r,o.push(t.appendChild(i))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(Ae),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,o)=>{this._addStylesToHost(e,o,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Ae))}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(b.K0))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();function Ae(s){(0,b.q)().remove(s)}const He={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},pt=/%COMP%/g;function ue(s,n,e){for(let t=0;t{if("__ngUnwrap__"===n)return s;!1===s(n)&&(n.preventDefault(),n.returnValue=!1)}}let be=(()=>{class s{constructor(e,t,o){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new se(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case u.ifc.Emulated:{let o=this.rendererByCompId.get(t.id);return o||(o=new Ii(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,o)),o.applyToHost(e),o}case 1:case u.ifc.ShadowDom:return new Ve(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const o=ue(t.id,t.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(ie),u.LFG(Ce),u.LFG(u.AFp))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();class se{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(He[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){n.appendChild(e)}insertBefore(n,e,t){n&&n.insertBefore(e,t)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let t="string"==typeof n?document.querySelector(n):n;if(!t)throw new Error(`The selector "${n}" did not match any elements`);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,o){if(o){e=o+":"+e;const r=He[o];r?n.setAttributeNS(r,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){const o=He[t];o?n.removeAttributeNS(o,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,o){o&(u.JOm.DashCase|u.JOm.Important)?n.style.setProperty(e,t,o&u.JOm.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&u.JOm.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n[e]=t}setValue(n,e){n.nodeValue=e}listen(n,e,t){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,de(t)):this.eventManager.addEventListener(n,e,de(t))}}class Ii extends se{constructor(n,e,t,o){super(n),this.component=t;const r=ue(o+"-"+t.id,t.styles,[]);e.addStyles(r),this.contentAttr=function Xe(s){return"_ngcontent-%COMP%".replace(pt,s)}(o+"-"+t.id),this.hostAttr=function oe(s){return"_nghost-%COMP%".replace(pt,s)}(o+"-"+t.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,e){const t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}}class Ve extends se{constructor(n,e,t,o){super(n),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=ue(o.id,o.styles,[]);for(let i=0;i{class s extends ee{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,o){return e.addEventListener(t,o,!1),()=>this.removeEventListener(e,t,o)}removeEventListener(e,t,o){return e.removeEventListener(t,o)}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(b.K0))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();const Sn=["alt","control","meta","shift"],no={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ft={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ro={alt:s=>s.altKey,control:s=>s.ctrlKey,meta:s=>s.metaKey,shift:s=>s.shiftKey};let kn=(()=>{class s extends ee{constructor(e){super(e)}supports(e){return null!=s.parseEventName(e)}addEventListener(e,t,o){const r=s.parseEventName(t),i=s.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,b.q)().onAndCancel(e,r.domEventName,i))}static parseEventName(e){const t=e.toLowerCase().split("."),o=t.shift();if(0===t.length||"keydown"!==o&&"keyup"!==o)return null;const r=s._normalizeKey(t.pop());let i="";if(Sn.forEach(d=>{const h=t.indexOf(d);h>-1&&(t.splice(h,1),i+=d+".")}),i+=r,0!=t.length||0===r.length)return null;const a={};return a.domEventName=o,a.fullKey=i,a}static getEventFullKey(e){let t="",o=function ai(s){let n=s.key;if(null==n){if(n=s.keyIdentifier,null==n)return"Unidentified";n.startsWith("U+")&&(n=String.fromCharCode(parseInt(n.substring(2),16)),3===s.location&&Ft.hasOwnProperty(n)&&(n=Ft[n]))}return no[n]||n}(e);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Sn.forEach(r=>{r!=o&&Ro[r](e)&&(t+=r+".")}),t+=o,t}static eventCallback(e,t,o){return r=>{s.getEventFullKey(r)===e&&o.runGuarded(()=>t(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(b.K0))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();const Po=(0,u.eFA)(u._c5,"browser",[{provide:u.Lbi,useValue:b.bD},{provide:u.g9A,useValue:function oo(){L.makeCurrent(),V.init()},multi:!0},{provide:b.K0,useFactory:function Jr(){return(0,u.RDi)(document),document},deps:[]}]),ro=[{provide:u.zSh,useValue:"root"},{provide:u.qLn,useFactory:function Xr(){return new u.qLn},deps:[]},{provide:J,useClass:Je,multi:!0,deps:[b.K0,u.R0b,u.Lbi]},{provide:J,useClass:kn,multi:!0,deps:[b.K0]},{provide:be,useClass:be,deps:[ie,Ce,u.AFp]},{provide:u.FYo,useExisting:be},{provide:re,useExisting:Ce},{provide:Ce,useClass:Ce,deps:[b.K0]},{provide:u.dDg,useClass:u.dDg,deps:[u.R0b]},{provide:ie,useClass:ie,deps:[J,u.R0b]},{provide:b.JF,useClass:q,deps:[]}];let Io=(()=>{class s{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:s,providers:[{provide:u.AFp,useValue:e.appId},{provide:j,useExisting:u.AFp},F]}}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(s,12))},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:ro,imports:[b.ez,u.hGG]}),s})(),Oi=(()=>{class s{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(b.K0))},s.\u0275prov=u.Yz7({token:s,factory:function(e){let t=null;return t=e?new e:function _i(){return new Oi((0,u.LFG)(b.K0))}(),t},providedIn:"root"}),s})();"undefined"!=typeof window&&window;let xn=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=u.Yz7({token:s,factory:function(e){let t=null;return t=e?new(e||s):u.LFG(fr),t},providedIn:"root"}),s})(),fr=(()=>{class s extends xn{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case u.q3G.NONE:return t;case u.q3G.HTML:return(0,u.qzn)(t,"HTML")?(0,u.z3N)(t):(0,u.EiD)(this._doc,String(t)).toString();case u.q3G.STYLE:return(0,u.qzn)(t,"Style")?(0,u.z3N)(t):t;case u.q3G.SCRIPT:if((0,u.qzn)(t,"Script"))return(0,u.z3N)(t);throw new Error("unsafe value used in a script context");case u.q3G.URL:return(0,u.yhl)(t),(0,u.qzn)(t,"URL")?(0,u.z3N)(t):(0,u.mCW)(String(t));case u.q3G.RESOURCE_URL:if((0,u.qzn)(t,"ResourceURL"))return(0,u.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,u.JVY)(e)}bypassSecurityTrustStyle(e){return(0,u.L6k)(e)}bypassSecurityTrustScript(e){return(0,u.eBb)(e)}bypassSecurityTrustUrl(e){return(0,u.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,u.pB0)(e)}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(b.K0))},s.\u0275prov=u.Yz7({token:s,factory:function(e){let t=null;return t=e?new e:function Mc(s){return new fr(s.get(b.K0))}(u.LFG(u.zs3)),t},providedIn:"root"}),s})();var C=v(520);class Lt{encodeKey(n){return encodeURIComponent(n)}encodeValue(n){return encodeURIComponent(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const Bt=new u.OlP("basePath");class Le{constructor(n={}){this.apiKeys=n.apiKeys,this.username=n.username,this.password=n.password,this.accessToken=n.accessToken,this.basePath=n.basePath,this.withCredentials=n.withCredentials,this.encoder=n.encoder}selectHeaderContentType(n){if(0===n.length)return;const e=n.find(t=>this.isJsonMime(t));return void 0===e?n[0]:e}selectHeaderAccept(n){if(0===n.length)return;const e=n.find(t=>this.isJsonMime(t));return void 0===e?n[0]:e}isJsonMime(n){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==n&&(e.test(n)||"application/json-patch+json"===n.toLowerCase())}}let on=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}convertAttributeToNonunique(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}convertAttributeToUnique(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}createAttributeDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}deleteAttributeDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("attribute",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteAttributeDefinitions(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("attributes[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllAttributeDefinitions(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAttribute(e,t,o,r,i,a,d,h,g,S,H,te="body",he=!1){let _e=new C.LE({encoder:this.encoder});null!=e&&(_e=_e.set("attributeName",e)),null!=t&&(_e=_e.set("attributeId",t)),null!=o&&(_e=_e.set("facility",o)),null!=r&&(_e=_e.set("user",r)),null!=i&&(_e=_e.set("vo",i)),null!=a&&(_e=_e.set("resource",a)),null!=d&&(_e=_e.set("member",d)),null!=h&&(_e=_e.set("group",h)),null!=g&&(_e=_e.set("host",g)),null!=S&&(_e=_e.set("userExtSource",S)),null!=H&&(_e=_e.set("key",H));let Ee=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Ee=Ee.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Ee=Ee.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const yt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Ee=Ee.set("Authorization","Bearer "+yt)}const Pt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Pt&&(Ee=Ee.set("Accept",Pt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:_e,withCredentials:this.configuration.withCredentials,headers:Ee,observe:te,reportProgress:he})}getAttributeDefinitionById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributeDefinitionByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributeDefinitionsByNamespace(e,t="body",o=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("namespace",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributeModulesDependenciesForAttributeGraphText(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("format",e)),null!=t&&(i=i.set("attrName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getAttributeModulesDependenciesGraphText(e,t="body",o=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("format",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributePolicyCollections(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributeRights(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributesDefinitionWithRights(e,t,o,r,i,a,d,h,g="body",S=!1){let H=new C.LE({encoder:this.encoder});null!=e&&(H=H.set("member",e)),null!=t&&(H=H.set("user",t)),null!=o&&(H=H.set("vo",o)),null!=r&&(H=H.set("group",r)),null!=i&&(H=H.set("resource",i)),null!=a&&(H=H.set("facility",a)),null!=d&&(H=H.set("host",d)),null!=h&&(H=H.set("userExtSource",h));let te=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(te=te.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(te=te.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ee="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;te=te.set("Authorization","Bearer "+Ee)}const _e=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==_e&&(te=te.set("Accept",_e)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:H,withCredentials:this.configuration.withCredentials,headers:te,observe:g,reportProgress:S})}getEntitylessAttributeByName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("key",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getEntitylessAttributesByKey(e,t="body",o=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getEntitylessAttributesByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("attrName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getEntitylessAttributesWithKeys(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attrName",e)),t&&t.forEach(g=>{i=i.append("keys[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getEntitylessKeys(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAttributeById(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getFacilityAttributeByName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getFacilityAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAttributesByNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getFacilityResourceUserMemberAttributes(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==o)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==r)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("resource",t)),null!=o&&(d=d.set("user",o)),null!=r&&(d=d.set("member",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getFacilityUserAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getGroupAttributeById(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getGroupAttributeByName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupAttributesByNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getGroupResourceAttributeById(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attributeId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getGroupResourceAttributeByName(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attributeName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getGroupResourceAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getHostAttributeById(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getHostAttributeByName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getHostAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostAttributesByNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getLogins(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMemberAndUserAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==t)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("workWithUserAttributes",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getMemberAndUserAttributesByNames(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),t&&t.forEach(S=>{a=a.append("attrNames[]",S)}),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getMemberAttributeById(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getMemberAttributeByName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getMemberAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMemberAttributesByNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getMemberGroupAndUserAttributesByNames(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==r)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),o&&o.forEach(H=>{d=d.append("attrNames[]",H)}),null!=r&&(d=d.set("workWithUserAttributes",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getMemberGroupAttributeById(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("attributeId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getMemberGroupAttributeByName(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("attributeName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getMemberGroupAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getMemberGroupAttributesByNames(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),o&&o.forEach(S=>{a=a.append("attrNames[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getMemberResourceAndUserFacilityAttributes(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getMemberResourceAndUserFacilityAttributesByNames(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==r)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("resource",t)),o&&o.forEach(H=>{d=d.append("attrNames[]",H)}),null!=r&&(d=d.set("workWithUserAttributes",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getMemberResourceAttributeById(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attributeId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getMemberResourceAttributeByName(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attributeName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getMemberResourceAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getRequiredAttributesDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRequiredAttributesFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRequiredAttributesFacilityService(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getRequiredAttributesFacilityServices(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("services[]",g)}),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getRequiredAttributesGroupResourceService(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("group",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getRequiredAttributesHostService(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==t)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("host",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getRequiredAttributesMember(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("workWithUserAttributes",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getRequiredAttributesMemberGroup(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getRequiredAttributesMemberGroupResourceService(e,t,o,r,i,a="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==r)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("resource",t)),null!=o&&(h=h.set("group",o)),null!=r&&(h=h.set("member",r)),null!=i&&(h=h.set("workWithUserAttributes",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}getRequiredAttributesMemberGroupService(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("group",t)),null!=o&&(d=d.set("member",o)),null!=r&&(d=d.set("workWithUserAttributes",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getRequiredAttributesMemberResource(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getRequiredAttributesMemberResourceService(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("resource",t)),null!=o&&(d=d.set("member",o)),null!=r&&(d=d.set("workWithUserAttributes",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getRequiredAttributesResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRequiredAttributesResourceService(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getRequiredAttributesResourceServices(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("services[]",g)}),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getRequiredAttributesUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRequiredAttributesUserFacility(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getRequiredAttributesVoService(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("vo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getResourceAttributeById(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getResourceAttributeByName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getResourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourceAttributesByNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getResourceGroupAndGroupAttributes(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("workWithGroupAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getResourceGroupAndGroupAttributesByNames(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==r)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),o&&o.forEach(H=>{d=d.append("attrNames[]",H)}),null!=r&&(d=d.set("workWithGroupAttributes",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getResourceGroupAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getResourceGroupMemberAttributesByNames(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),null!=o&&(d=d.set("member",o)),r&&r.forEach(H=>{d=d.append("attrNames[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getUserAttributeById(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getUserAttributeByName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserAttributesByNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getUserExtSourceAttributeById(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getUserExtSourceAttributeByName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getUserExtSourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserExtSourceAttributesByNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getUserFacilityAttributeById(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("attributeId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getUserFacilityAttributeByName(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("attributeName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getUserFacilityAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getVoAttributeById(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getVoAttributeByName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getVoAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoAttributesByNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeAttributesForFacilityResourceGroupUserMember(e,t,o,r,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==o)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==a)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("facility",e)),null!=t&&(g=g.set("resource",t)),null!=o&&(g=g.set("group",o)),null!=r&&(g=g.set("user",r)),null!=i&&(g=g.set("member",i)),a&&a.forEach(he=>{g=g.append("attributes[]",he)});let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}removeAttributesForFacilityResourceUserMember(e,t,o,r,i,a="body",d=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("facility",e)),null!=t&&(h=h.set("resource",t)),null!=o&&(h=h.set("user",o)),null!=r&&(h=h.set("member",r)),i&&i.forEach(te=>{h=h.append("attributes[]",te)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}removeEntitylessAttribute(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("key",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeFacilityAttribute(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeFacilityAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeGroupAttribute(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeGroupAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeGroupResourceAttribute(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attribute",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}removeGroupResourceAttributes(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),o&&o.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==r)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),o&&o.forEach(H=>{d=d.append("attributes[]",H)}),null!=r&&(d=d.set("workWithGroupAttributes",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}removeHostAttribute(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeHostAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeMemberAttribute(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeMemberAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeMemberAttributesWorkWithUserAttributes(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),t&&t.forEach(S=>{a=a.append("attributes[]",S)}),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}removeMemberGroupAttribute(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("attribute",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}removeMemberGroupAttributes(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),o&&o.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==r)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),o&&o.forEach(H=>{d=d.append("attributes[]",H)}),null!=r&&(d=d.set("workWithUserAttributes",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}removeMemberResourceAttribute(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attribute",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}removeMemberResourceAttributes(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),o&&o.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}removeResourceAttribute(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeResourceAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeUesAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeUserAttribute(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeUserAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeUserExtSourceAttribute(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeUserFacilityAttribute(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("attribute",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}removeUserFacilityAttributes(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),o&&o.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}removeVoAttribute(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeVoAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}setAttributePolicyCollections(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setAttributeRights(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setEntitylessAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setFacilityAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setFacilityAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setFacilityResourceGroupUserMemberAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setFacilityResourceUserMemberAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setFacilityUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setGroupAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setGroupResourceAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setGroupResourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setHostAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setHostAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setMemberAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setMemberAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setMemberGroupAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setMemberGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setMemberGroupWithUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setMemberResourceAndUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setMemberResourceAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setMemberResourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setMemberWithUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setResourceAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setResourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setResourceGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setResourceGroupWithGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setUserAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setUserExtSourceAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setUserExtSourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setUserFacilityAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setUserFacilityAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setVoAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setVoAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateAttributeDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),li=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}auditMessagesManagerLog(e,t="body",o=!1){if(null==e)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("msg",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/log`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}createAuditerConsumer(e,t="body",o=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("consumerName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/createAuditerConsumer`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllAuditerConsumers(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAuditerMessagesCount(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getLastMessageId(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getMessages(e,t="body",o=!1){let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("count",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessages`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMessagesByCount(e,t="body",o=!1){if(null==e)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("count",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesByCount`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMessagesPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetMessagesPage was null or undefined when calling getMessagesPage.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesPage`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}pollConsumerMessages(e,t="body",o=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("consumerName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/pollConsumerMessages`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}setLastProcessedId(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==t)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("consumerName",e)),null!=t&&(i=i.set("lastProcessedId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/setLastProcessedId`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Hi=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getAllPolicies(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==o)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("role",e)),null!=t&&(a=a.set("complementaryObjectId",t)),null!=o&&(a=a.set("complementaryObjectName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getAuthzRichAdmins(e,t,o,r,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==o)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==r)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("role",e)),null!=t&&(g=g.set("complementaryObjectId",t)),null!=o&&(g=g.set("complementaryObjectName",o)),r&&r.forEach(he=>{g=g.append("specificAttributes",he)}),null!=i&&(g=g.set("allUserAttributes",i)),null!=a&&(g=g.set("onlyDirectAdmins",a));let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}getFacilitiesWhereUserIsInRoles(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getGroupRoleNames(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupRoles(e,t="body",o=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("groupId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupsWhereUserIsInRoles(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getLoggedUser(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getPerunPrincipal(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getSecurityTeamsWhereUserIsInRoles(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getUserRoleNames(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserRoles(e,t="body",o=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("userId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVosWhereUserIsInRoles(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}isFacilityAdmin(e,t="body",o=!1){let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}isGroupAdmin(e,t="body",o=!1){let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}isPerunAdmin(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}isVoAdmin(e,t="body",o=!1){let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}keepAlive(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setRoleWithUserComplementaryObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}unsetRoleWithGroupComplementaryObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}unsetRoleWithUserComplementaryObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),is=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}createAutorship(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createCategoryCat(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createCategoryNR(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createPublication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createPublicationSystem(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createThanks(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}deleteAuthorship(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==t)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("publicationId",e)),null!=t&&(i=i.set("userId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}deleteCategory(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deletePublication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deletePublicationSystem(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteThanks(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findAllAuthors(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}findAuthorsByPublicationId(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findExternalPublications(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==t)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==o)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==r)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("yearSince",t)),null!=o&&(d=d.set("yearTill",o)),null!=r&&(d=d.set("pubSysNamespace",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}findNewAuthors(e,t="body",o=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("searchString",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findPublicationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findPublicationsByFilter(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let a=new C.LE({encoder:this.encoder});null!=t&&(a=a.set("yearSince",t)),null!=o&&(a=a.set("yearTill",o)),null!=e&&(a=a.set("userId",e));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}findPublicationsByGUIFilter(e,t,o,r,i,a,d,h,g,S="body",H=!1){let te=new C.LE({encoder:this.encoder});null!=e&&(te=te.set("title",e)),null!=t&&(te=te.set("isbn",t)),null!=o&&(te=te.set("doi",o)),null!=r&&(te=te.set("id",r)),null!=i&&(te=te.set("year",i)),null!=a&&(te=te.set("category",a)),null!=d&&(te=te.set("yearSince",d)),null!=h&&(te=te.set("yearTill",h)),null!=g&&(te=te.set("userId",g));let he=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(he=he.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(he=he.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const gt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;he=he.set("Authorization","Bearer "+gt)}const Ee=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Ee&&(he=he.set("Accept",Ee)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:te,withCredentials:this.configuration.withCredentials,headers:he,observe:S,reportProgress:H})}findSimilarPublications(e,t,o,r="body",i=!1){let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("title",e)),null!=t&&(a=a.set("doi",t)),null!=o&&(a=a.set("isbn",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getCategories(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPublicationSystems(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getRank(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRank.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichThanksByPublicationId(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}lockPublications(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateCategory(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updatePublication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updatePublicationSystem(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Oo=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}changeConsentStatus(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter consent was null or undefined when calling changeConsentStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling changeConsentStatus.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("consent",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/changeConsentStatus`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getAllConsentHubs(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsentHubs`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllConsents(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsents`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getConsentById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getConsentById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getConsentForUserAndConsentHub(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentForUserAndConsentHub.");if(null==t)throw new Error("Required parameter consentHub was null or undefined when calling getConsentForUserAndConsentHub.");if(null==o)throw new Error("Required parameter status was null or undefined when calling getConsentForUserAndConsentHub.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("consentHub",t)),null!=o&&(a=a.set("status",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentForUserAndConsentHub`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getConsentHubByFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getConsentHubByFacility.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getConsentHubById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getConsentHubById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getConsentHubByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getConsentHubByName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getConsentsForConsentHub(e,t="body",o=!1){if(null==e)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHub.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("consentHub",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getConsentsForConsentHubWithStatus(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHubWithStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getConsentsForConsentHubWithStatus.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("consentHub",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id-s`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getConsentsForUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUser.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getConsentsForUserAndConsentHub(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserAndConsentHub.");if(null==t)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForUserAndConsentHub.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("consentHub",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUserAndConsentHub`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getConsentsForUserWithStatus(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserWithStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getConsentsForUserWithStatus.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id-s`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}updateConsentHub(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateConsentHub was null or undefined when calling updateConsentHub.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/consentsManager/updateConsentHub`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),so=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getCurrentDatabaseVersion(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getDatabaseDriverInformation(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getDatabaseInformation(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getTimeOfQueryPerformance(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Rn=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addExtSourceWithGroupSource(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addExtSourceWithVoSource(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}createExtSourceFromExtSourceObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createExtSourceWithNameType(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==t)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("type",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}deleteExtSource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getExtSourceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getExtSourceByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getExtSources(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getGroupExtSources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoExtSources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}loadExtSourcesDefinitions(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}removeExtSourceWithGroupSource(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeExtSourceWithVoSource(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),ri=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addFacilityAdminGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addFacilityAdminGroupByFacilityName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addFacilityAdminUser(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addFacilityAdminUserByFacilityName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addFacilityOwner(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addFacilityOwnerByFacilityName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addFacilityOwnerByFacilityNameOwnerName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addFacilityOwnerByOwnerName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addHost(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("hostname",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addHostByFacilityName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("hostname",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addHosts(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hostnames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addHostsByFacilityName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hostnames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}assignSecurityTeam(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}assignSecurityTeamByFacilityName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyAttributesByDestinationName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyAttributesBySourceDestinationNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyAttributesBySourceName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyManagers(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyManagersByDestinationName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyManagersBySourceDestinationNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyManagersBySourceName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyOwners(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyOwnersByDestinationName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyOwnersBySourceDestinationNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyOwnersBySourceName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}createFacility(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("description",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}deleteFacility(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}deleteFacilityByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllFacilities(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllowedGroups(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("service",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getAllowedGroupsByFacilityName(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("service",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getAllowedRichGroupsWithAttributes(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(H=>{d=d.append("attrNames[]",H)}),null!=o&&(d=d.set("vo",o)),null!=r&&(d=d.set("service",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getAllowedRichGroupsWithAttributesByFacilityName(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(H=>{d=d.append("attrNames[]",H)}),null!=o&&(d=d.set("vo",o)),null!=r&&(d=d.set("service",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getAllowedUsersOfFacility(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("service",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getAllowedUsersOfFacilityByFacilityName(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("service",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getAllowedVos(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllowedVosByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedFacilitiesByGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedFacilitiesByMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedFacilitiesByService(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedFacilitiesByUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesByAssignedServiceForFacility(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getAssignedResourcesForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesForFacilityByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesForFacilityByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedSecurityTeams(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedSecurityTeamsByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedUsers(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getAssignedUsersByFacilityName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getBansForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facilityId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getBansForUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getEnrichedFacilities(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getEnrichedHosts(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getFacilitiesByAttribute(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeName",e)),null!=t&&(i=i.set("attributeValue",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getFacilitiesByDestination(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilitiesByHostName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("hostname",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilitiesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilitiesCount(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getFacilitiesWhereUserIsAdmin(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAdminGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAdminUsers(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("onlyDirectAdmins",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getFacilityAdminUsersByFacilityName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("onlyDirectAdmins",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getFacilityBan(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getFacilityBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityForHost(e,t="body",o=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityOwners(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityOwnersByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getHostById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHosts(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostsByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostsByHostname(e,t="body",o=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("hostname",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostsCount(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostsCountByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getOwnerFacilities(e,t="body",o=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("owner",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichFacilities(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}removeBanByUserIdFacilityId(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeFacilityAdminGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeFacilityAdminGroupByFacilityName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeFacilityAdminUser(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeFacilityAdminUserByFacilityName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeFacilityBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeFacilityOwner(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeFacilityOwnerByFacilityName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeFacilityOwnerByFacilityNameOwnerName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeFacilityOwnerByOwnerName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeHost(e,t="body",o=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHost.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeHostByHostname(e,t="body",o=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("hostname",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeHosts(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hosts[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeHostsByFacilityName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hosts[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeSecurityTeam(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeSecurityTeamByFacilityName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}setFacilityBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateFacilityBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),ns=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getFacilityAdminGroupsByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Ei=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addMember(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling addMember.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addMembers(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling addMembers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("members[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}canExtendMembershipInGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}createGroupUnion(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resultGroup",e)),null!=t&&(i=i.set("operandGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}createGroupWithParentGroupNameDescription(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==o)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("parentGroup",e)),null!=t&&(a=a.set("name",t)),null!=o&&(a=a.set("description",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}createGroupWithVoNameDescription(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==o)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("name",t)),null!=o&&(a=a.set("description",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}deleteGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}deleteGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}extendMembershipInGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}forceAllSubGroupsSynchronization(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}forceGroupStructureSynchronization(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}forceGroupSynchronization(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllGroupsFromAllVos(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllMemberGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllRichGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("attrNames[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllRichGroupsWithAttributesByNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getAllRichSubGroupsWithGroupAttributesByNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getGroupById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupByName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==t)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("name",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getGroupMemberById(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==t)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getGroupMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupMembersCount(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupMembersCountsByGroupStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupMembersCountsByVoStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupRichMembersByIds(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==t)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),t&&t.forEach(S=>{a=a.append("members[]",S)}),o&&o.forEach(S=>{a=a.append("attrNames[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getGroupUnions(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==t)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("reverseDirection",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getGroupsByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupsPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}getIndirectMembershipPaths(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getMemberGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMemberRichGroupsWithAttributesByNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getRichGroupByIdWithAttributesByNames(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("groupId",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getSubgroupsPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}isGroupMember(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==t)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}moveGroupWithDestinationGroupMovingGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("destinationGroup",t)),null!=e&&(i=i.set("movingGroup",e));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeGroupUnion(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resultGroup",e)),null!=t&&(i=i.set("operandGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeMember(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMember.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeMembers(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("members[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}setGroupsMemberStatus(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==t)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==o)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("status",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}updateGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),ke=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getGroupMemberData(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/integrationManager/getGroupMemberData`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),it=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}canExtendMembership(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}createMemberForCandidate(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createMemberForUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createMemberFromExtSource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createSpecificMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createSponsoredMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createSponsoredMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createSponsoredMembersFromCSV(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}deleteMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("members[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}extendMembership(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findCompleteRichMembersByAttributes(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let a=new C.LE({encoder:this.encoder});e&&e.forEach(S=>{a=a.append("attrsNames[]",S)}),null!=t&&(a=a.set("searchString",t)),o&&o.forEach(S=>{a=a.append("allowedStatuses[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}findCompleteRichMembersForGroup(e,t,o,r,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==r)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("group",e)),t&&t.forEach(he=>{g=g.append("attrsNames[]",he)}),i&&i.forEach(he=>{g=g.append("allowedStatuses[]",he)}),a&&a.forEach(he=>{g=g.append("allowedGroupStatuses[]",he)}),null!=o&&(g=g.set("searchString",o)),null!=r&&(g=g.set("lookingInParentGroup",r));let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}findCompleteRichMembersForVo(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(H=>{d=d.append("attrsNames[]",H)}),r&&r.forEach(H=>{d=d.append("allowedStatuses[]",H)}),null!=o&&(d=d.set("searchString",o));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}findMembersInVo(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("searchString",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}findSponsoredCompleteRichMembersForVo(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==r)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(H=>{d=d.append("attrsNames[]",H)}),null!=o&&(d=d.set("searchString",o)),null!=r&&(d=d.set("onlySponsored",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getAllMembers(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllNamespacesRules(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllSponsoredMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllSponsoredMembersAndTheirSponsors(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getCompleteRichMembersForGroup(e,t,o,r,i,a="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),o&&o.forEach(te=>{h=h.append("allowedStatuses[]",te)}),r&&r.forEach(te=>{h=h.append("allowedGroupStatuses[]",te)}),null!=t&&(h=h.set("lookingInParentGroup",t)),i&&i.forEach(te=>{h=h.append("attrsNames[]",te)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}getCompleteRichMembersForGroupResource(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==o)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==r)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),o&&o.forEach(H=>{d=d.append("attrsNames[]",H)}),r&&r.forEach(H=>{d=d.append("allowedStatuses[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getCompleteRichMembersForVo(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(S=>{a=a.append("allowedStatuses[]",S)}),o&&o.forEach(S=>{a=a.append("attrsNames[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getMemberByExtSourceNameAndExtLogin(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==o)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("extLogin",t)),null!=o&&(a=a.set("extSourceName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getMemberById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMemberByUser(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getMembers(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getMembersByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMembersByUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMembersCount(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMembersPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}getMembersWithStatusCount(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getRichMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichMemberWithAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichMembersByIds(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("ids[]",g)}),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getRichMembersNoUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichMembersNoUserAttributes.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersNoUserAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getSponsoredMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getSponsoredMembersAndTheirSponsors(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getSponsorsByMember(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getSponsorsByVo(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==o)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=o&&(d=d.set("extLogin",o)),r&&r.forEach(H=>{d=d.append("attrNames[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}moveMembership(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==t)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==o)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("sourceUser",t)),null!=o&&(a=a.set("targetUser",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}removeSponsor(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("sponsor",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}sendAccountActivationLinkEmail(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==o)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==r)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("namespace",t)),null!=o&&(d=d.set("emailAttributeURN",o)),null!=r&&(d=d.set("language",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}sendPasswordResetLinkEmail(e,t,o,r,i,a="body",d=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==o)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==r)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("member",e)),null!=t&&(h=h.set("namespace",t)),null!=o&&(h=h.set("emailAttributeURN",o)),null!=r&&(h=h.set("language",r)),null!=i&&(h=h.set("baseUrl",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}setSponsoredMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setSponsorshipForMember(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("sponsoredMember",e)),null!=t&&(a=a.set("sponsor",t)),null!=o&&(a=a.set("validityTo",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}setStatus(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling setStatus.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}sponsorMember(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("sponsor",t)),null!=o&&(a=a.set("validityTo",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}updateSponsorshipValidity(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("sponsor",t)),null!=o&&(a=a.set("validityTo",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}validateMemberAsync(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),kt=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}createOwner(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}deleteOwner(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("owner",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getAllOwners(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getOwnerById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getOwnerByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("owner",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),di=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}sentMessageToRTWithMemberQueue(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==o)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==r)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("memberId",e)),null!=t&&(d=d.set("queue",t)),null!=o&&(d=d.set("subject",o)),null!=r&&(d=d.set("text",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}sentMessageToRTWithQueue(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("queue",e)),null!=t&&(a=a.set("subject",t)),null!=o&&(a=a.set("text",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}sentMessageToRTWithVo(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("voId",e)),null!=t&&(a=a.set("subject",t)),null!=o&&(a=a.set("text",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}sentMessageToRTWithVoQueue(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==o)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==r)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("voId",e)),null!=t&&(d=d.set("queue",t)),null!=o&&(d=d.set("subject",o)),null!=r&&(d=d.set("text",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Kn=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addApplicationMailForGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}addApplicationMailForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}addGroupsToAutoRegistration(e,t="body",o=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("groups[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}approveApplication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}checkForSimilarUsersWithAuthInfo(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}consolidateIdentityUsingToken(e,t="body",o=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("token",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}copyFormFromGroupToGroup(e,t,o="body",r=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyFormFromGroupToVo(e,t,o="body",r=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyFormFromVoToGroup(e,t,o="body",r=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyFormFromVoToVo(e,t,o="body",r=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyMailsFromGroupToGroup(e,t,o="body",r=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyMailsFromGroupToVo(e,t,o="body",r=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyMailsFromVoToGroup(e,t,o="body",r=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyMailsFromVoToVo(e,t,o="body",r=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}createApplicationFormInGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}createApplicationFormInVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteApplication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteApplicationMailForGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("id",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}deleteApplicationMailForVo(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("id",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}deleteGroupsFromAutoRegistration(e,t="body",o=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("groups[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationDataById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationMailsForGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationMailsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationsForGroup(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),t&&t.forEach(H=>{d=d.append("state[]",H)}),null!=o&&(d=d.set("dateFrom",o)),null!=r&&(d=d.set("dateTo",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getApplicationsForMember(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getApplicationsForVo(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(H=>{d=d.append("state[]",H)}),null!=o&&(d=d.set("dateFrom",o)),null!=r&&(d=d.set("dateTo",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getApplicationsPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}getConsolidatorToken(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFormItemsForGroupWithType(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("type",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getFormItemsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFormItemsForVoWithType(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("type",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getGroupApplicationForm(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupsToAutoRegistration(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoApplicationForm(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}rejectApplication(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e)),null!=t&&(i=i.set("reason",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}sendInvitation(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let d=new C.LE({encoder:this.encoder});null!=o&&(d=d.set("voId",o)),null!=r&&(d=d.set("name",r)),null!=e&&(d=d.set("email",e)),null!=t&&(d=d.set("language",t));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}sendInvitationForGroup(e,t,o,r,i,a="body",d=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let h=new C.LE({encoder:this.encoder});null!=o&&(h=h.set("voId",o)),null!=r&&(h=h.set("groupId",r)),null!=i&&(h=h.set("name",i)),null!=e&&(h=h.set("email",e)),null!=t&&(h=h.set("language",t));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}sendInvitationGroupToExistingUser(e,t,o,r="body",i=!1){let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("userId",e)),null!=t&&(a=a.set("voId",t)),null!=o&&(a=a.set("groupId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}sendInvitationToExistingUser(e,t,o="body",r=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userId",e)),null!=t&&(i=i.set("voId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}sendMessage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}setSendingEnabled(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}submitApplication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateApplicationMail(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateForm(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateFormItemData(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateFormItemsData(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateFormItemsForGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateFormItemsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}verifyApplication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),qt=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}activateGroupResourceAssignment(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("async",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}addAdminToGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addAdminToUser(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addResourceSelfServiceGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addResourceSelfServiceUser(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}allowGroupsToResources(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let a=new C.LE({encoder:this.encoder});e&&e.forEach(S=>{a=a.append("groups[]",S)}),t&&t.forEach(S=>{a=a.append("resources[]",S)}),null!=o&&(a=a.set("async",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}assignGroupToResource(e,t,o,r,i,a="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),null!=t&&(h=h.set("resource",t)),null!=o&&(h=h.set("async",o)),null!=r&&(h=h.set("assignInactive",r)),null!=i&&(h=h.set("autoAssignSubgroups",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}assignGroupToResources(e,t,o,r,i,a="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),t&&t.forEach(te=>{h=h.append("resources[]",te)}),null!=o&&(h=h.set("async",o)),null!=r&&(h=h.set("assignInactive",r)),null!=i&&(h=h.set("autoAssignSubgroups",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}assignGroupsToResource(e,t,o,r,i,a="body",d=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let h=new C.LE({encoder:this.encoder});e&&e.forEach(te=>{h=h.append("groups[]",te)}),null!=t&&(h=h.set("resource",t)),null!=o&&(h=h.set("async",o)),null!=r&&(h=h.set("assignInactive",r)),null!=i&&(h=h.set("autoAssignSubgroups",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}assignResourceTagToResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}assignService(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling assignService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}assignServices(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling assignServices.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("services[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}assignServicesPackage(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("servicesPackage",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}copyResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createResource(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==o)throw new Error("Required parameter name was null or undefined when calling createResource.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("facility",t)),null!=o&&(d=d.set("name",o)),null!=r&&(d=d.set("description",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}createResourceTagWithResourceTag(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createResourceTagWithTagName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("tagName",e)),null!=t&&(i=i.set("vo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}deactivateGroupResourceAssignment(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}deleteAllResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteAllResourcesTagsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteResourceTag(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}getAdminGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAdmins(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("onlyDirectAdmins",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getAllResourcesByResourceTag(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}getAllResourcesTagsForResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllResourcesTagsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllResourcesWhereUserIsAdmin(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllowedMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllowedResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllowedUsersOfResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedGroups(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getAssignedMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedMembersWithStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesWithGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesWithMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesWithStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesWithGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesWithMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesWithMemberService(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getAssignedServicesToResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getBansForMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getBansForResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getEnrichedResourceById(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getEnrichedResourcesForFacility(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getEnrichedResourcesForVo(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupAssignments(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getResourceAssignments(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getResourceBan(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getResourceBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourceByName(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==o)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("name",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourcesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourcesCountForAll(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getResourcesCountForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourcesFromVoWhereUserIsAdmin(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getResourcesWhereGroupIsAdmin(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("group",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getResourcesWhereUserIsAdmin(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==o)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("user",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getRichAdmins(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==t)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==o)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),t&&t.forEach(H=>{d=d.append("specificAttributes",H)}),null!=o&&(d=d.set("allUserAttributes",o)),null!=r&&(d=d.set("onlyDirectAdmins",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getRichResourceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichResourcesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeAllResourceTagsFromResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeBanByMemberAndResource(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeGroupAdminResource(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeGroupFromResource(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeGroupFromResources(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("resources[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeGroupsFromResource(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeResourceBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeResourceSelfServiceGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeResourceSelfServiceUser(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeResourceTagFromResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}removeService(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeServices(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling removeServices.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("services[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeServicesPackage(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("servicesPackage",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeUserAdminResource(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}setResourceBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}unallowGroupsFromResources(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),t&&t.forEach(g=>{i=i.append("resources[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}updateResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateResourceBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateResourceTag(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),rn=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getAttributesMatchResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetResources1 was null or undefined when calling getAttributesMatchResources.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getResources/attributes-match`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}getAttributesResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetResources was null or undefined when calling getAttributesResources.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getResources/attributes`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}getFacilities(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetFacilities was null or undefined when calling getFacilities.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getFacilities`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}getMembersByUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetMembersByUserAttributes was null or undefined when calling getMembersByUserAttributes.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getMembersByUserAttributes`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}getUsersSearcher(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetUsers was null or undefined when calling getUsersSearcher.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getUsers`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),It=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addDestination(e,t,o,r,i,a="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==r)throw new Error("Required parameter type was null or undefined when calling addDestination.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("facility",t)),null!=o&&(h=h.set("destination",o)),null!=r&&(h=h.set("type",r)),null!=i&&(h=h.set("propagationType",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}addDestinationToMultipleServices(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}addDestinationsDefinedByHostsOnFacilityWithFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addDestinationsForAllServicesOnFacility(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==o)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("destination",t)),null!=o&&(d=d.set("type",o)),null!=r&&(d=d.set("propagationType",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}addRequiredAttribute(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addRequiredAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addServiceToServicesPackage(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("servicesPackage",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}blockAllServicesOnDestinationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}blockAllServicesOnDestinationByName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("destination",e)),null!=t&&(i=i.set("destinationType",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}blockAllServicesOnFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}blockServiceOnDestination(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}blockServiceOnDestinationWithNameAndType(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==o)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("destination",t)),null!=o&&(a=a.set("destinationType",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}blockServiceOnFacility(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}createService(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==o)throw new Error("Required parameter script was null or undefined when calling createService.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e)),null!=t&&(a=a.set("description",t)),null!=o&&(a=a.set("script",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}createServiceWithService(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createServicesPackage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}createServicesPackageByNameAndDescription(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("description",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}deleteService(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling deleteService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}deleteServicesPackage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("servicesPackage",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}forceServicePropagation(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getAllDestinations(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllRichDestinationsForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllRichDestinationsForService(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedServices(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getDataWithGroups(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getDataWithVos(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getDestinationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getDestinations(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getDestinationsCount(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getFacilitiesDestinations(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAssignedServicesForGUI(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFlatData(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getHashedDataWithGroups(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getHashedHierarchicalData(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getHierarchicalData(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getRichDestinations(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getServiceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServiceByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServices(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getServicesBlockedOnDestination(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesBlockedOnFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesByAttributeDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesFromServicesPackage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("servicesPackage",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesPackageById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("servicesPackage",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesPackageByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesPackages(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}isServiceBlockedOnDestination(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}isServiceBlockedOnFacility(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}planServicePropagation(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeAllDestinations(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeAllRequiredAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeDestination(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==r)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("facility",t)),null!=o&&(d=d.set("destination",o)),null!=r&&(d=d.set("type",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}removeRequiredAttribute(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeRequiredAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeServiceFromServicesPackage(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("servicesPackage",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}unblockAllServicesOnDestinationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}unblockAllServicesOnDestinationByName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("destination",e)),null!=t&&(i=i.set("destinationType",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}unblockAllServicesOnFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}unblockServiceOnDestinationById(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}unblockServiceOnDestinationByName(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==o)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("destination",t)),null!=o&&(a=a.set("destinationType",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}unblockServiceOnFacility(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}updateService(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateServicesPackage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),ao=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}countTasks(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}deleteTask(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}deleteTaskResultById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}deleteTaskResultsIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}deleteTaskResultsNames(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}getAllFacilitiesStates(e,t="body",o=!1){let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllResourcesState(e,t="body",o=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("voId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityServicesState(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityState(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTask(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getTask.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getTaskById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResultById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("taskResult",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResults(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getTaskResultsByTask(e,t="body",o=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("task",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResultsForDestinations(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("destinations[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResultsForGUIByTask(e,t="body",o=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("task",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResultsForGUIByTaskAndDestination(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("task",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getTaskResultsForGUIByTaskOnlyNewest(e,t="body",o=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("task",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}isThereSuchTask(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}listAllTasks(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}listAllTasksForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}suspendTasksPropagation(e,t="body",o=!1){if(null==e)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("suspend",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),sn=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addSpecificUserOwner(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("specificUser",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addUserExtSource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}anonymizeUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}changeNonAuthzPasswordByToken(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==t)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e)),null!=t&&(a=a.set("password",t)),null!=o&&(a=a.set("lang",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}changePasswordForLogin(e,t,o,r,i,a="body",d=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==o)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("login",e)),null!=t&&(h=h.set("namespace",t)),null!=o&&(h=h.set("newPassword",o)),null!=r&&(h=h.set("oldPassword",r)),null!=i&&(h=h.set("checkOldPassword",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}changePasswordForUser(e,t,o,r,i,a="body",d=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==o)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("user",e)),null!=t&&(h=h.set("namespace",t)),null!=o&&(h=h.set("newPassword",o)),null!=r&&(h=h.set("oldPassword",r)),null!=i&&(h=h.set("checkOldPassword",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}checkPasswordResetRequestByTokenIsValid(e,t="body",o=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("token",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}checkPasswordStrength(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("password",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}createAlternativePassword(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==o)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==r)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("description",t)),null!=o&&(d=d.set("loginNamespace",o)),null!=r&&(d=d.set("password",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}createServiceUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}deleteAlternativePassword(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==o)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("loginNamespace",t)),null!=o&&(a=a.set("passwordId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}deletePasswordForLogin(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("login",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}deletePasswordForUser(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}deleteUser(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}findRichUsers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("searchString",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findRichUsersWithAttributes(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("searchString",e)),t&&t.forEach(g=>{i=i.append("attrsNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}findUsers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("searchString",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}generateAccountForName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("namespace",e)),null!=t&&(i=i.set("name",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getAllRichUsersWithAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("includedSpecificUsers",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesForUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupsForFacilityWhereUserIsActive(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getGroupsForResourceWhereUserIsActive(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getGroupsInVoWhereUserIsAdmin(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("vo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getGroupsWhereUserIsAdmin(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getPendingPreferredEmailChanges(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUserExtSources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUserWithAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUsersByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUsersWithAttributesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUsersWithoutVoWithAttributes(e,t="body",o=!1){let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("attrsNames[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getSpecificUsersByUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getSponsorsForMember(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getSponsorsForMemberByVoAndLogin(e,t,o,r,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==o)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=o&&(d=d.set("extLogin",o)),r&&r.forEach(H=>{d=d.append("attrNames[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getUserByExtSourceNameAndExtLogin(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("extLogin",e)),null!=t&&(i=i.set("extSourceName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getUserById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserExtSourceByExtLoginAndExtSourceName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");if(null==t)throw new Error("Required parameter extSourceLogin was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("extSourceName",e)),null!=t&&(i=i.set("extSourceLogin",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByExtLoginAndExtSourceName`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getUserExtSourceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeId",e)),null!=t&&(i=i.set("attributeValue",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeName",e)),null!=t&&(i=i.set("attributeValue",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getUserExtSources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserExtSourcesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUsers(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getUsersByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUsersBySpecificUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("specificUser",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUsersPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}getVosWhereUserIsAdmin(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVosWhereUserIsMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}isLoginAvailable(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==t)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("loginNamespace",e)),null!=t&&(i=i.set("login",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}loginExist(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeSpecificUserOwner(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("specificUser",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeUserExtSource(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("userExtSource",t)),null!=o&&(a=a.set("force",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}requestPreferredEmailChange(e,t,o,r,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==t)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("user",e)),null!=t&&(g=g.set("email",t)),null!=o&&(g=g.set("lang",o)),null!=r&&(g=g.set("linkPath",r)),null!=i&&(g=g.set("customUrl",i)),null!=a&&(g=g.set("idpFilter",a));let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}reservePasswordForLogin(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==o)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("login",e)),null!=t&&(a=a.set("namespace",t)),null!=o&&(a=a.set("password",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}reservePasswordForUser(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==o)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("namespace",t)),null!=o&&(a=a.set("password",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}reserveRandomPassword(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}updateUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateUserExtSourceLastAccess(e,t="body",o=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling updateUserExtSourceLastAccess.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/updateUserExtSourceLastAccess`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}validatePasswordForLogin(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("login",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}validatePasswordForUser(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}validatePreferredEmailChangeWithToken(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==t)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("token",e)),null!=t&&(i=i.set("u",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Qe=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getAppsConfig(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),pr=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new Le,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addMemberVo(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addMemberVo.");if(null==t)throw new Error("Required parameter memberVo was null or undefined when calling addMemberVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("memberVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addMemberVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addSponsorRoleToGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addSponsorRoleToUser(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addVoAdminGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}addVoAdminUser(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}createVoWithName(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==t)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("shortName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}createVoWithVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}deleteVo(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}findCandidates(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e)),null!=t&&(a=a.set("searchString",t)),null!=o&&(a=a.set("maxNumOfResults",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}findCandidatesForGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("searchString",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getAllVos(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getCompleteCandidatesForGroup(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),t&&t.forEach(S=>{a=a.append("attrNames[]",S)}),null!=o&&(a=a.set("searchString",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getCompleteCandidatesForVo(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(S=>{a=a.append("attrNames[]",S)}),null!=o&&(a=a.set("searchString",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getEnrichedVoById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedVoById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVoById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMemberVos(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberVos.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getMemberVos`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMyEnrichedVos(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVos`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getMyVos(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getParentVos(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getParentVos.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getParentVos`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichAdminsForVo(e,t,o,r,i,a="body",d=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==o)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("vo",e)),null!=t&&(h=h.set("role",t)),o&&o.forEach(te=>{h=h.append("specificAttributes",te)}),null!=r&&(h=h.set("allUserAttributes",r)),null!=i&&(h=h.set("onlyDirectAdmins",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}getVoAdminGroups(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("role",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}getVoAdminUsers(e,t,o,r="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("role",t)),null!=o&&(a=a.set("onlyDirectAdmins",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:r,reportProgress:i})}getVoBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoBanForMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoBansForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoByShortName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("shortName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoMembersCountsByStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVosByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let r=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{r=r.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVosCount(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}removeMemberVo(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeMemberVo.");if(null==t)throw new Error("Required parameter memberVo was null or undefined when calling removeMemberVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("memberVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeMemberVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeSponsorRoleFromGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeSponsorRoleFromUser(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeVoAdminGroup(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeVoAdminUser(e,t,o="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:r})}removeVoBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeVoBanForMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}setVoBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}updateVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(r=r.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(r=r.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,e,{withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(Le,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),kp=(()=>{class s{constructor(e,t){if(e)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!t)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(e){return{ngModule:s,providers:[{provide:Le,useFactory:e}]}}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(s,12),u.LFG(C.eN,8))},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[on,li,Hi,is,Oo,so,Rn,ri,ns,Ei,ke,it,kt,di,Kn,qt,rn,It,ao,sn,Qe,pr],imports:[[]]}),s})();var nt=(()=>{return(s=nt||(nt={})).PERUNADMIN="PERUNADMIN",s.PERUNOBSERVER="PERUNOBSERVER",s.VOADMIN="VOADMIN",s.GROUPADMIN="GROUPADMIN",s.SELF="SELF",s.FACILITYADMIN="FACILITYADMIN",s.FACILITIYOBSERVER="FACILITYOBSERVER",s.RESOURCEADMIN="RESOURCEADMIN",s.RESOURCESELFSERVICE="RESOURCESELFSERVICE",s.REGISTRAR="REGISTRAR",s.ENGINE="ENGINE",s.RPC="RPC",s.NOTIFICATIONS="NOTIFICATIONS",s.SERVICEUSER="SERVICEUSER",s.SPONSOR="SPONSOR",s.VOOBSERVER="VOOBSERVER",s.TOPGROUPCREATOR="TOPGROUPCREATOR",s.SECURITYADMIN="SECURITYADMIN",s.CABINETADMIN="CABINETADMIN",s.UNKNOWNROLENAME="UNKNOWNROLENAME",nt;var s})();let Dp=(()=>{class s{constructor(e){this.authzSevice=e,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(e){this.principal=e,this.initData(e)}setPerunPolicies(e){this.perunPolicies=e}getPerunPolicies(){return this.perunPolicies}isAuthorized(e,t){if(null===this.principal.roles)return!1;const o=this.fetchPolicyWithAllIncludedPolicies(e);let r=[];for(const a of o)r=r.concat(a.perunRoles);const i=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(r,i)}resolveAuthorization(e,t){for(const o of e){let r=!0;for(const i of Object.keys(o)){const a=o[i];if(null===a)this.principalRoles.has(i)||(r=!1);else if(t[a]){for(const d of t[a])if(!this.principalHasRole(i,a,d)){r=!1;break}}else r=!1;if(!r)break}if(r)return!0}return!1}fetchAllRelatedObjects(e){const t={};for(const o of e){let r=o.beanName;switch(o.beanName.startsWith("Rich")&&(r=o.beanName.substring(4)),t[r]?t[r].push(o.id):t[r]=[o.id],r){case"Member":t.User?t.User.push(o.userId):t.User=[o.userId],t.Vo?t.Vo.push(o.voId):t.Vo=[o.voId];break;case"Group":case"ResourceTag":t.Vo?t.Vo.push(o.voId):t.Vo=[o.voId];break;case"Resource":t.Facility?t.Facility.push(o.facilityId):t.Facility=[o.facilityId],t.Vo?t.Vo.push(o.voId):t.Vo=[o.voId]}}return t}principalHasRole(e,t,o){let r=t;return t.startsWith("Rich")&&(r=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][r])&&this.principal.roles[e][r].includes(Number(o.toString()))}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let o=[];for(o.push(e);0!==o.length;){const i=o.shift();if(t.has(i)){console.log("Policy {} creates a cycle in the included policies of the policy {}",i,e);continue}const a=this.getPerunPolicy(i);if(!a)return[];t.set(i,a),o=o.concat(a.includePolicies)}const r=[];for(const i of t.values())r.push(i);return r}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return console.log("policy with name"+e+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER,nt.FACILITYADMIN,nt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(nt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(nt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(nt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(nt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(nt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(nt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.VOOBSERVER,nt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER)||this.observableVos.includes(e)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((e,t)=>{this.authzSevice.getAllRolesManagementRules().subscribe(o=>{this.allRolesManagementRules=o,e()},o=>t(o))})}assignAvailableRoles(e,t){this.allRolesManagementRules.forEach(o=>{o.primaryObject===t&&e.push(o.roleName)}),e.sort(),"Vo"===t&&this.voCustomSort(e)}isManagerPagePrivileged(e){const t=[];let o=e.beanName;o.startsWith("Rich")&&(o=o.substr(4)),this.assignAvailableRoles(t,o);const r=new Map;this.getRolesAuthorization(t,e,r);for(const i of r.values())if(i.readAuth||i.manageAuth)return!0;return!1}getRolesAuthorization(e,t,o){for(const r of e){let i=[],a=[],d=[];for(const H of this.allRolesManagementRules)if(H.roleName===r){i=i.concat(H.privilegedRolesToRead),a=a.concat(H.privilegedRolesToManage);for(const te of Object.keys(H.entitiesToManage))d="User"===te?[te].concat(d):d.concat(te);break}const h=this.fetchAllRelatedObjects([t]),g=this.resolveAuthorization(i,h),S=this.resolveAuthorization(a,h);o.set(r,{readAuth:g,manageAuth:S,modes:d})}}voCustomSort(e){for(let t=0;t{class s{constructor(){this.branding=""}setInstanceConfig(e){this.instanceConfig=e}setDefaultConfig(e){this.defaultConfig=e}getAppsConfig(){return this.appsConfig}setAppsConfig(e){this.appsConfig=e}setPerunPrincipal(e){this.principal=e}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(e){this.initialPageId=e}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.get("skip_oidc")}get(...e){let t;if(""!==this.branding){const o=this.instanceConfig.brandings[this.branding];for(let r=0;r(0,ss.k)(o)?t(...o):t(o))):new wi.y(o=>{_r(s,n,function r(i){o.next(arguments.length>1?Array.prototype.slice.call(arguments):i)},o,e)})}function _r(s,n,e,t,o){let r;if(function Oc(s){return s&&"function"==typeof s.addEventListener&&"function"==typeof s.removeEventListener}(s)){const i=s;s.addEventListener(n,e,o),r=()=>i.removeEventListener(n,e,o)}else if(function Pp(s){return s&&"function"==typeof s.on&&"function"==typeof s.off}(s)){const i=s;s.on(n,e),r=()=>i.off(n,e)}else if(function ed(s){return s&&"function"==typeof s.addListener&&"function"==typeof s.removeListener}(s)){const i=s;s.addListener(n,e),r=()=>i.removeListener(n,e)}else{if(!s||!s.length)throw new TypeError("Invalid event target");for(let i=0,a=s.length;i0?super.requestAsyncId(n,e,t):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(n,e,t);0===n.actions.length&&(cancelAnimationFrame(e),n.scheduled=void 0)}});let Hc=1;const Ip=Promise.resolve(),br={};function nd(s){return s in br&&(delete br[s],!0)}const zc={setImmediate(s){const n=Hc++;return br[n]=!0,Ip.then(()=>nd(n)&&s()),n},clearImmediate(s){nd(s)}},od=new class oa extends wr.v{flush(n){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let t,o=-1,r=e.length;n=n||e.shift();do{if(t=n.execute(n.state,n.delay))break}while(++o0?super.requestAsyncId(n,e,t):(n.actions.push(this),n.scheduled||(n.scheduled=zc.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(n,e,t);0===n.actions.length&&(zc.clearImmediate(e),n.scheduled=void 0)}});var Ht=v(353),k=v(826),x=v(9054);class P{constructor(n){this.durationSelector=n}call(n,e){return e.subscribe(new Y(n,this.durationSelector))}}class Y extends k.L{constructor(n,e){super(n),this.durationSelector=e,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:o}=this;e=o(n)}catch(o){return this.destination.error(o)}const t=(0,x.D)(this,e);!t||t.closed?this.clearThrottle():this.add(this.throttled=t)}}clearThrottle(){const{value:n,hasValue:e,throttled:t}=this;t&&(this.remove(t),this.throttled=null,t.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(n))}notifyNext(n,e,t,o){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function ae(s){return!(0,ss.k)(s)&&s-parseFloat(s)+1>=0}var fe=v(2866);function ze(s=0,n,e){let t=-1;return ae(n)?t=Number(n)<1?1:Number(n):(0,fe.K)(n)&&(e=n),(0,fe.K)(e)||(e=Ht.P),new wi.y(o=>{const r=ae(s)?s:+s-e.now();return e.schedule(xt,r,{index:0,period:t,subscriber:o})})}function xt(s){const{index:n,period:e,subscriber:t}=s;if(t.next(n),!t.closed){if(-1===e)return t.complete();s.index=n+1,this.schedule(s,e)}}function bt(s,n=Ht.P){return function E(s){return function(e){return e.lift(new P(s))}}(()=>ze(s,n))}var je=v(2198);let ht;try{ht="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(s){ht=!1}let Dt,ot=(()=>{class s{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,b.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!ht)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(u.Lbi))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Et=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({}),s})();const lo=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function un(){if(Dt)return Dt;if("object"!=typeof document||!document)return Dt=new Set(lo),Dt;let s=document.createElement("input");return Dt=new Set(lo.filter(n=>(s.setAttribute("type",n),s.type===n))),Dt}let Be,Un,rd;function dn(s){return function vr(){if(null==Be&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Be=!0}))}finally{Be=Be||!1}return Be}()?s:!!s.capture}function Op(){if(null==Un){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Un=!1,Un;if("scrollBehavior"in document.documentElement.style)Un=!0;else{const s=Element.prototype.scrollTo;Un=!!s&&!/\{\s*\[native code\]\s*\}/.test(s.toString())}}return Un}function ft(s){if(function me(){if(null==rd){const s="undefined"!=typeof document?document.head:null;rd=!(!s||!s.createShadowRoot&&!s.attachShadow)}return rd}()){const n=s.getRootNode?s.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Bc(){let s="undefined"!=typeof document&&document?document.activeElement:null;for(;s&&s.shadowRoot;){const n=s.shadowRoot.activeElement;if(n===s)break;s=n}return s}function Mt(s){return s.composedPath?s.composedPath()[0]:s.target}function Nc(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const ra=new u.OlP("cdk-dir-doc",{providedIn:"root",factory:function Gn(){return(0,u.f3M)(b.K0)}}),sd=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Fo=(()=>{class s{constructor(e){if(this.value="ltr",this.change=new u.vpe,e){const o=e.documentElement?e.documentElement.dir:null;this.value=function ad(s){const n=(null==s?void 0:s.toLowerCase())||"";return"auto"===n&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?sd.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||o||"ltr")}}ngOnDestroy(){this.change.complete()}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(ra,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),uo=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({}),s})(),ld=(()=>{class s{constructor(e,t,o){this._ngZone=e,this._platform=t,this._scrolled=new Me.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new wi.y(t=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(bt(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Pe.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const o=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,je.h)(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let o=Vt(t),r=e.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>co(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(u.R0b),u.LFG(ot),u.LFG(b.K0,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),No=(()=>{class s{constructor(e,t,o){this._platform=e,this._change=new Me.xQ,this._changeListener=r=>{this._change.next(r)},this._document=o,t.runOutsideAngular(()=>{if(e.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+t,height:o,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||t.scrollY||o.scrollTop||0,left:-r.left||e.body.scrollLeft||t.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(bt(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(ot),u.LFG(u.R0b),u.LFG(b.K0,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),hn=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({}),s})(),Ar=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[uo,Et,hn],uo,hn]}),s})();class hi{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Pn extends hi{constructor(n,e,t,o){super(),this.component=n,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=o}}class jt extends hi{constructor(n,e,t){super(),this.templateRef=n,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class Fp extends hi{constructor(n){super(),this.element=n instanceof u.SBq?n.nativeElement:n}}class dd{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Pn?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof jt?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof Fp?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class mw extends dd{constructor(n,e,t,o,r){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=o,this.attachDomPortal=i=>{const a=i.element,d=this._document.createComment("dom-portal");a.parentNode.insertBefore(d,a),this.outletElement.appendChild(a),this._attachedPortal=i,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(a,d)})},this._document=r}attachComponentPortal(n){const t=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(t,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(()=>o.destroy())):(o=t.create(n.injector||this._defaultInjector),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let e=n.viewContainerRef,t=e.createEmbeddedView(n.templateRef,n.context);return t.rootNodes.forEach(o=>this.outletElement.appendChild(o)),t.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(t);-1!==o&&e.remove(o)}),this._attachedPortal=n,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let aa=(()=>{class s extends dd{constructor(e,t,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new u.vpe,this.attachDomPortal=r=>{const i=r.element,a=this._document.createComment("dom-portal");r.setAttachedHost(this),i.parentNode.insertBefore(a,i),this._getRootNode().appendChild(i),this._attachedPortal=r,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(i,a)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=t.createComponent(r,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(u._Vd),u.Y36(u.s_b),u.Y36(b.K0))},s.\u0275dir=u.lG2({type:s,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[u.qOj]}),s})(),Cr=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({}),s})();var ei=v(2654),fi=v(6787),Nt=v(2986);function _t(s){return n=>n.lift(new yw(s))}class yw{constructor(n){this.notifier=n}call(n,e){const t=new ca(n),o=(0,x.D)(t,this.notifier);return o&&!t.seenValue?(t.add(o),e.subscribe(t)):t}}class ca extends k.L{constructor(n){super(n),this.seenValue=!1}notifyNext(n,e,t,o,r){this.seenValue=!0,this.complete()}notifyComplete(){}}const jc=Op();class ww{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=$t(-this._previousScrollPosition.left),n.style.top=$t(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,t=n.style,o=this._document.body.style,r=t.scrollBehavior||"",i=o.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),jc&&(t.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),jc&&(t.scrollBehavior=r,o.scrollBehavior=i)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class E0{constructor(n,e,t,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=t,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class bw{enable(){}disable(){}attach(){}}function as(s,n){return n.some(e=>s.bottome.bottom||s.righte.right)}function pd(s,n){return n.some(e=>s.tope.bottom||s.lefte.right)}class gd{constructor(n,e,t,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:o}=this._viewportRuler.getViewportSize();as(e,[{width:t,height:o,bottom:o,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Vc=(()=>{class s{constructor(e,t,o,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=o,this.noop=()=>new bw,this.close=i=>new E0(this._scrollDispatcher,this._ngZone,this._viewportRuler,i),this.block=()=>new ww(this._viewportRuler,this._document),this.reposition=i=>new gd(this._scrollDispatcher,this._viewportRuler,this._ngZone,i),this._document=r}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(ld),u.LFG(No),u.LFG(u.R0b),u.LFG(b.K0))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();class Kc{constructor(n){if(this.scrollStrategy=new bw,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const t of e)void 0!==n[t]&&(this[t]=n[t])}}}class Aw{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}class Uc{constructor(n,e,t,o,r,i,a,d,h){this._portalOutlet=n,this._host=e,this._pane=t,this._config=o,this._ngZone=r,this._keyboardDispatcher=i,this._document=a,this._location=d,this._outsideClickDispatcher=h,this._backdropElement=null,this._backdropClick=new Me.xQ,this._attachments=new Me.xQ,this._detachments=new Me.xQ,this._locationChanges=ei.w.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._keydownEvents=new Me.xQ,this._outsidePointerEvents=new Me.xQ,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){let e=this._portalOutlet.attach(n);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Nt.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){var n;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(n=this._host)||void 0===n||n.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=Object.assign(Object.assign({},this._config),n),this._updateElementSize()}setDirection(n){this._config=Object.assign(Object.assign({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=$t(this._config.width),n.height=$t(this._config.height),n.minWidth=$t(this._config.minWidth),n.minHeight=$t(this._config.minHeight),n.maxWidth=$t(this._config.maxWidth),n.maxHeight=$t(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(!n)return;let e;const t=()=>{n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",t),this._disposeBackdrop(n)),this._config.backdropClass&&this._toggleClasses(n,this._config.backdropClass,!1),clearTimeout(e)};n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",t)}),n.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(t,500))}_toggleClasses(n,e,t){const o=na(e||[]).filter(r=>!!r);o.length&&(t?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(_t((0,fi.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.remove(),this._backdropElement===n&&(this._backdropElement=null))}}let Bp=(()=>{class s{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Nc()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,t=this._viewportRect,o=this._containerRect,r=[];let i;for(let a of this._preferredPositions){let d=this._getOriginPoint(n,o,a),h=this._getOverlayPoint(d,e,a),g=this._getOverlayFit(h,e,t,a);if(g.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,d);this._canFitWithFlexibleDimensions(g,h,t)?r.push({position:a,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,a)}):(!i||i.overlayFit.visibleAread&&(d=g,a=h)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Tr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(md),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,t){let o,r;if("center"==t.originX)o=n.left+n.width/2;else{const i=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o="start"==t.originX?i:a}return e.left<0&&(o-=e.left),r="center"==t.originY?n.top+n.height/2:"top"==t.originY?n.top:n.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(n,e,t){let o,r;return o="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:n.x+o,y:n.y+r}}_getOverlayFit(n,e,t,o){const r=Gc(e);let{x:i,y:a}=n,d=this._getOffset(o,"x"),h=this._getOffset(o,"y");d&&(i+=d),h&&(a+=h);let H=0-a,te=a+r.height-t.height,he=this._subtractOverflows(r.width,0-i,i+r.width-t.width),_e=this._subtractOverflows(r.height,H,te),Ee=he*_e;return{visibleArea:Ee,isCompletelyWithinViewport:r.width*r.height===Ee,fitsInViewportVertically:_e===r.height,fitsInViewportHorizontally:he==r.width}}_canFitWithFlexibleDimensions(n,e,t){if(this._hasFlexibleDimensions){const o=t.bottom-e.y,r=t.right-e.x,i=cs(this._overlayRef.getConfig().minHeight),a=cs(this._overlayRef.getConfig().minWidth),h=n.fitsInViewportHorizontally||null!=a&&a<=r;return(n.fitsInViewportVertically||null!=i&&i<=o)&&h}return!1}_pushOverlayOnScreen(n,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=Gc(e),r=this._viewportRect,i=Math.max(n.x+o.width-r.width,0),a=Math.max(n.y+o.height-r.height,0),d=Math.max(r.top-t.top-n.y,0),h=Math.max(r.left-t.left-n.x,0);let g=0,S=0;return g=o.width<=r.width?h||-i:n.xhe&&!this._isInitialRender&&!this._growAfterOpen&&(i=n.y-he/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)H=t.width-n.x+this._viewportMargin,g=n.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)S=n.x,g=t.right-n.x;else{const te=Math.min(t.right-n.x+t.left,n.x),he=this._lastBoundingBoxSize.width;g=2*te,S=n.x-te,g>he&&!this._isInitialRender&&!this._growAfterOpen&&(S=n.x-he/2)}return{top:i,left:S,bottom:a,right:H,width:g,height:r}}_setBoundingBoxStyles(n,e){const t=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;o.height=$t(t.height),o.top=$t(t.top),o.bottom=$t(t.bottom),o.width=$t(t.width),o.left=$t(t.left),o.right=$t(t.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=$t(r)),i&&(o.maxWidth=$t(i))}this._lastBoundingBoxSize=t,Tr(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Tr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Tr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const t={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,i=this._overlayRef.getConfig();if(o){const g=this._viewportRuler.getViewportScrollPosition();Tr(t,this._getExactOverlayY(e,n,g)),Tr(t,this._getExactOverlayX(e,n,g))}else t.position="static";let a="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(a+=`translateX(${d}px) `),h&&(a+=`translateY(${h}px)`),t.transform=a.trim(),i.maxHeight&&(o?t.maxHeight=$t(i.maxHeight):r&&(t.maxHeight="")),i.maxWidth&&(o?t.maxWidth=$t(i.maxWidth):r&&(t.maxWidth="")),Tr(this._pane.style,t)}_getExactOverlayY(n,e,t){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=$t(r.y),o}_getExactOverlayX(n,e,t){let i,o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t)),i=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===i?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=$t(r.x),o}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:pd(n,t),isOriginOutsideView:as(n,t),isOverlayClipped:pd(e,t),isOverlayOutsideView:as(e,t)}}_subtractOverflows(n,...e){return e.reduce((t,o)=>t-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+n-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&na(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof u.SBq)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,t=n.height||0;return{top:n.y,bottom:n.y+t,left:n.x,right:n.x+e,height:t,width:e}}}function Tr(s,n){for(let e in n)n.hasOwnProperty(e)&&(s[e]=n[e]);return s}function cs(s){if("number"!=typeof s&&null!=s){const[n,e]=s.split(Np);return e&&"px"!==e?null:parseFloat(n)}return s||null}function Gc(s){return{top:Math.floor(s.top),right:Math.floor(s.right),bottom:Math.floor(s.bottom),left:Math.floor(s.left),width:Math.floor(s.width),height:Math.floor(s.height)}}const qc="cdk-global-overlay-wrapper";class $c{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(qc),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._rightOffset="",this._leftOffset=n,this._justifyContent="flex-start",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._leftOffset="",this._rightOffset=n,this._justifyContent="flex-end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._justifyContent="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:i,maxHeight:a}=t,d=!("100%"!==o&&"100vw"!==o||i&&"100%"!==i&&"100vw"!==i),h=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);n.position=this._cssPosition,n.marginLeft=d?"0":this._leftOffset,n.marginTop=h?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=this._rightOffset,d?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(qc),t.justifyContent=t.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let Wc=(()=>{class s{constructor(e,t,o,r){this._viewportRuler=e,this._document=t,this._platform=o,this._overlayContainer=r}global(){return new $c}flexibleConnectedTo(e){return new Cw(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(No),u.LFG(b.K0),u.LFG(ot),u.LFG(Bp))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),jp=(()=>{class s{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(b.K0))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Vp=(()=>{class s extends jp{constructor(e){super(e),this._keydownListener=t=>{const o=this._attachedOverlays;for(let r=o.length-1;r>-1;r--)if(o[r]._keydownEvents.observers.length>0){o[r]._keydownEvents.next(t);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(b.K0))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Kp=(()=>{class s extends jp{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Mt(o)},this._clickListener=o=>{const r=Mt(o),i="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;const a=this._attachedOverlays.slice();for(let d=a.length-1;d>-1;d--){const h=a[d];if(!(h._outsidePointerEvents.observers.length<1)&&h.hasAttached()){if(h.overlayElement.contains(r)||h.overlayElement.contains(i))break;h._outsidePointerEvents.next(o)}}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(b.K0),u.LFG(ot))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Up=0,In=(()=>{class s{constructor(e,t,o,r,i,a,d,h,g,S,H){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=i,this._injector=a,this._ngZone=d,this._document=h,this._directionality=g,this._location=S,this._outsideClickDispatcher=H}create(e){const t=this._createHostElement(),o=this._createPaneElement(t),r=this._createPortalOutlet(o),i=new Kc(e);return i.direction=i.direction||this._directionality.value,new Uc(r,t,o,i,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+Up++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(u.z2F)),new mw(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(Vc),u.LFG(Bp),u.LFG(u._Vd),u.LFG(Wc),u.LFG(Vp),u.LFG(u.zs3),u.LFG(u.R0b),u.LFG(b.K0),u.LFG(Fo),u.LFG(b.Ye),u.LFG(Kp))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();const Gp={provide:new u.OlP("cdk-connected-overlay-scroll-strategy"),deps:[In],useFactory:function Ew(s){return()=>s.scrollStrategies.reposition()}};let ls=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[In,Gp],imports:[[uo,Cr,Ar],Ar]}),s})();var Zc=v(5279);class bi extends Me.xQ{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return e&&!e.closed&&n.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Zc.N;return this._value}next(n){super.next(this._value=n)}}function Ko(s,...n){return n.length?n.some(e=>s[e]):s.altKey||s.shiftKey||s.ctrlKey||s.metaKey}var Kt=v(2868),nl=v(13),Di=v(3489);function ps(s){return n=>n.lift(new ng(s))}class ng{constructor(n){this.total=n}call(n,e){return e.subscribe(new og(n,this.total))}}class og extends Di.L{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){++this.count>this.total&&this.destination.next(n)}}class yT{constructor(n,e){this.compare=n,this.keySelector=e}call(n,e){return e.subscribe(new wT(n,this.compare,this.keySelector))}}class wT extends Di.L{constructor(n,e,t){super(n),this.keySelector=t,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(n,e){return n===e}_next(n){let e;try{const{keySelector:o}=this;e=o?o(n):n}catch(o){return this.destination.error(o)}let t=!1;if(this.hasKey)try{const{compare:o}=this;t=o(this.key,e)}catch(o){return this.destination.error(o)}else this.hasKey=!0;t||(this.key=e,this.destination.next(n))}}let Uw=(()=>{class s{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Sd=(()=>{class s{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Vt(e);return new wi.y(o=>{const i=this._observeElement(t).subscribe(o);return()=>{i.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new Me.xQ,o=this._mutationObserverFactory.create(r=>t.next(r));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:o}=this._observedElements.get(e);t&&t.disconnect(),o.complete(),this._observedElements.delete(e)}}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(Uw))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),ol=(()=>{class s{constructor(e,t,o){this._contentObserver=e,this._elementRef=t,this._ngZone=o,this.event=new u.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=et(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=ln(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe((0,nl.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(Sd),u.Y36(u.SBq),u.Y36(u.R0b))},s.\u0275dir=u.lG2({type:s,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),s})(),ba=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[Uw]}),s})();function rl(s,n){return(s.getAttribute(n)||"").match(/\S+/g)||[]}const ag="cdk-describedby-message",sl="cdk-describedby-host";let kd=0,al=(()=>{class s{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+kd++,this._document=e}describe(e,t,o){if(!this._canBeDescribed(e,t))return;const r=cl(t,o);"string"!=typeof t?(ll(t),this._messageRegistry.set(r,{messageElement:t,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(t,o),this._isElementDescribedByMessage(e,r)||this._addMessageReference(e,r)}removeDescription(e,t,o){var r;if(!t||!this._isElementNode(e))return;const i=cl(t,o);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){const a=this._messageRegistry.get(i);a&&0===a.referenceCount&&this._deleteMessageElement(i)}0===(null===(r=this._messagesContainer)||void 0===r?void 0:r.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${sl}="${this._id}"]`);for(let o=0;o0!=o.indexOf(ag));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const o=this._messageRegistry.get(t);(function bT(s,n,e){const t=rl(s,n);t.some(o=>o.trim()==e.trim())||(t.push(e.trim()),s.setAttribute(n,t.join(" ")))})(e,"aria-describedby",o.messageElement.id),e.setAttribute(sl,this._id),o.referenceCount++}_removeMessageReference(e,t){const o=this._messageRegistry.get(t);o.referenceCount--,function sg(s,n,e){const o=rl(s,n).filter(r=>r!=e.trim());o.length?s.setAttribute(n,o.join(" ")):s.removeAttribute(n)}(e,"aria-describedby",o.messageElement.id),e.removeAttribute(sl)}_isElementDescribedByMessage(e,t){const o=rl(e,"aria-describedby"),r=this._messageRegistry.get(t),i=r&&r.messageElement.id;return!!i&&-1!=o.indexOf(i)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const o=null==t?"":`${t}`.trim(),r=e.getAttribute("aria-label");return!(!o||r&&r.trim()===o)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(b.K0),u.LFG(ot))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function cl(s,n){return"string"==typeof s?`${n||""}/${s}`:s}function ll(s){s.id||(s.id=`${ag}-${kd++}`)}class ul extends class qw{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Me.xQ,this._typeaheadSubscription=ei.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new Me.xQ,this.change=new Me.xQ,n instanceof u.n_E&&n.changes.subscribe(e=>{if(this._activeItem){const o=e.toArray().indexOf(this._activeItem);o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o)}})}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Kt.b)(e=>this._pressedLetters.push(e)),(0,nl.b)(n),(0,je.h)(()=>this._pressedLetters.length>0),(0,Ze.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let o=1;o!n[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}return;default:return void((o||Ko(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),t="number"==typeof n?n:e.indexOf(n),o=e[t];this._activeItem=null==o?null:o,this._activeItemIndex=t}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const o=(this._activeItemIndex+n*t+e.length)%e.length;if(!this._skipPredicateFn(e[o]))return void this.setActiveItem(o)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const t=this._getItemsArray();if(t[n]){for(;this._skipPredicateFn(t[n]);)if(!t[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof u.n_E?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let dl=(()=>{class s{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function $w(s){return!!(s.offsetWidth||s.offsetHeight||"function"==typeof s.getClientRects&&s.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function cg(s){try{return s.frameElement}catch(n){return null}}(function lg(s){return s.ownerDocument&&s.ownerDocument.defaultView||window}(e));if(t&&(-1===gs(t)||!this.isVisible(t)))return!1;let o=e.nodeName.toLowerCase(),r=gs(e);return e.hasAttribute("contenteditable")?-1!==r:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function Mi(s){let n=s.nodeName.toLowerCase(),e="input"===n&&s.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==r:"video"===o?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function Dd(s){return!function Yw(s){return function Qw(s){return"input"==s.nodeName.toLowerCase()}(s)&&"hidden"==s.type}(s)&&(function Ww(s){let n=s.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(s)||function Zw(s){return function CT(s){return"a"==s.nodeName.toLowerCase()}(s)&&s.hasAttribute("href")}(s)||s.hasAttribute("contenteditable")||Xw(s))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(ot))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function Xw(s){if(!s.hasAttribute("tabindex")||void 0===s.tabIndex)return!1;let n=s.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function gs(s){if(!Xw(s))return null;const n=parseInt(s.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class ug{constructor(n,e,t,o,r=!1){this._element=n,this._checker=e,this._ngZone=t,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(n),!!t}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let t=0;t=0;t--){const o=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe((0,Nt.q)(1)).subscribe(n)}}let vi=(()=>{class s{constructor(e,t,o){this._checker=e,this._ngZone=t,this._document=o}create(e,t=!1){return new ug(e,this._checker,this._ngZone,this._document,t)}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(dl),u.LFG(u.R0b),u.LFG(b.K0))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function va(s){return 0===s.buttons||0===s.offsetX&&0===s.offsetY}function fl(s){const n=s.touches&&s.touches[0]||s.changedTouches&&s.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const hg=new u.OlP("cdk-input-modality-detector-options"),eb={ignoreKeys:[18,17,224,91,16]},Uo=dn({passive:!0,capture:!0});let tb=(()=>{class s{constructor(e,t,o,r){this._platform=e,this._mostRecentTarget=null,this._modality=new bi(null),this._lastTouchMs=0,this._onKeydown=i=>{var a,d;(null===(d=null===(a=this._options)||void 0===a?void 0:a.ignoreKeys)||void 0===d?void 0:d.some(h=>h===i.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=Mt(i))},this._onMousedown=i=>{Date.now()-this._lastTouchMs<650||(this._modality.next(va(i)?"keyboard":"mouse"),this._mostRecentTarget=Mt(i))},this._onTouchstart=i=>{fl(i)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Mt(i))},this._options=Object.assign(Object.assign({},eb),r),this.modalityDetected=this._modality.pipe(ps(1)),this.modalityChanged=this.modalityDetected.pipe(function rg(s,n){return e=>e.lift(new yT(s,n))}()),e.isBrowser&&t.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Uo),o.addEventListener("mousedown",this._onMousedown,Uo),o.addEventListener("touchstart",this._onTouchstart,Uo)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Uo),document.removeEventListener("mousedown",this._onMousedown,Uo),document.removeEventListener("touchstart",this._onTouchstart,Uo))}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(ot),u.LFG(u.R0b),u.LFG(b.K0),u.LFG(hg,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const ib=new u.OlP("cdk-focus-monitor-default-options"),gl=dn({passive:!0,capture:!0});let Go=(()=>{class s{constructor(e,t,o,r,i){this._ngZone=e,this._platform=t,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Me.xQ,this._rootNodeFocusAndBlurListener=a=>{const d=Mt(a),h="focus"===a.type?this._onFocus:this._onBlur;for(let g=d;g;g=g.parentElement)h.call(this,a,g)},this._document=r,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(e,t=!1){const o=Vt(e);if(!this._platform.isBrowser||1!==o.nodeType)return(0,Pe.of)(null);const r=ft(o)||this._getDocument(),i=this._elementInfo.get(o);if(i)return t&&(i.checkChildren=!0),i.subject;const a={checkChildren:t,subject:new Me.xQ,rootNode:r};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const t=Vt(e),o=this._elementInfo.get(t);o&&(o.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(o))}focusVia(e,t,o){const r=Vt(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([a,d])=>this._originChanged(a,t,d)):(this._setOrigin(t),"function"==typeof r.focus&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&t,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,t){const o=this._elementInfo.get(t),r=Mt(e);!o||!o.checkChildren&&t!==r||this._originChanged(t,this._getFocusOrigin(r),o)}_onBlur(e,t){const o=this._elementInfo.get(t);!o||o.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(o.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,o=this._rootNodeFocusListenerCount.get(t)||0;o||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,gl),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,gl)}),this._rootNodeFocusListenerCount.set(t,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(_t(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const o=this._rootNodeFocusListenerCount.get(t);o>1?this._rootNodeFocusListenerCount.set(t,o-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,gl),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,gl),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,o){this._setClasses(e,t),this._emitOrigin(o.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&t.push([r,o])}),t}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(u.R0b),u.LFG(ot),u.LFG(tb),u.LFG(b.K0,8),u.LFG(ib,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const pg="cdk-high-contrast-black-on-white",xd="cdk-high-contrast-white-on-black",Rd="cdk-high-contrast-active";let gg=(()=>{class s{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,o=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Rd),e.remove(pg),e.remove(xd),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(Rd),e.add(pg)):2===t&&(e.add(Rd),e.add(xd))}}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(ot),u.LFG(b.K0))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),mg=(()=>{class s{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(gg))},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[Et,ba]]}),s})();var ml=v(9146);function ms(...s){return function _g(){return(0,ml.J)(1)}()((0,Pe.of)(...s))}function gn(...s){const n=s[s.length-1];return(0,fe.K)(n)?(s.pop(),e=>ms(s,e,n)):e=>ms(s,e)}class yg{}const ui="*";function si(s,n){return{type:7,name:s,definitions:n,options:{}}}function Rt(s,n=null){return{type:4,styles:n,timings:s}}function ob(s,n=null){return{type:2,steps:s,options:n}}function xe(s){return{type:6,styles:s,offset:null}}function ct(s,n,e){return{type:0,name:s,styles:n,options:e}}function ho(s){return{type:5,steps:s}}function At(s,n,e=null){return{type:1,expr:s,animation:n,options:e}}function _l(s){Promise.resolve(null).then(s)}class ws{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._onStartFns.push(n)}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){_l(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ab{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,t=0,o=0;const r=this.players.length;0==r?_l(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++e==r&&this._onFinish()}),i.onDestroy(()=>{++t==r&&this._onDestroy()}),i.onStart(()=>{++o==r&&this._onStart()})}),this.totalTime=this.players.reduce((i,a)=>Math.max(i,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(t=>{const o=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(o)})}getPosition(){const n=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function Id(){return"undefined"!=typeof window&&void 0!==window.document}function yl(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function $o(s){switch(s.length){case 0:return new ws;case 1:return s[0];default:return new ab(s)}}function wl(s,n,e,t,o={},r={}){const i=[],a=[];let d=-1,h=null;if(t.forEach(g=>{const S=g.offset,H=S==d,te=H&&h||{};Object.keys(g).forEach(he=>{let _e=he,Ee=g[he];if("offset"!==he)switch(_e=n.normalizePropertyName(_e,i),Ee){case"!":Ee=o[he];break;case ui:Ee=r[he];break;default:Ee=n.normalizeStyleValue(he,_e,Ee,i)}te[_e]=Ee}),H||a.push(te),h=te,d=S}),i.length){const g="\n - ";throw new Error(`Unable to animate due to the following errors:${g}${i.join(g)}`)}return a}function Od(s,n,e,t){switch(n){case"start":s.onStart(()=>t(e&&Hd(e,"start",s)));break;case"done":s.onDone(()=>t(e&&Hd(e,"done",s)));break;case"destroy":s.onDestroy(()=>t(e&&Hd(e,"destroy",s)))}}function Hd(s,n,e){const t=e.totalTime,r=zd(s.element,s.triggerName,s.fromState,s.toState,n||s.phaseName,null==t?s.totalTime:t,!!e.disabled),i=s._data;return null!=i&&(r._data=i),r}function zd(s,n,e,t,o="",r=0,i){return{element:s,triggerName:n,fromState:e,toState:t,phaseName:o,totalTime:r,disabled:!!i}}function Wi(s,n,e){let t;return s instanceof Map?(t=s.get(n),t||s.set(n,t=e)):(t=s[n],t||(t=s[n]=e)),t}function bg(s){const n=s.indexOf(":");return[s.substring(1,n),s.substr(n+1)]}let Fd=(s,n)=>!1,Ld=(s,n,e)=>[];(yl()||"undefined"!=typeof Element)&&(Fd=Id()?(s,n)=>{for(;n&&n!==document.documentElement;){if(n===s)return!0;n=n.parentNode||n.host}return!1}:(s,n)=>s.contains(n),Ld=(s,n,e)=>{if(e)return Array.from(s.querySelectorAll(n));const t=s.querySelector(n);return t?[t]:[]});let fo=null,Cg=!1;function Tg(s){fo||(fo=function Eg(){return"undefined"!=typeof document?document.body:null}()||{},Cg=!!fo.style&&"WebkitAppearance"in fo.style);let n=!0;return fo.style&&!function Ag(s){return"ebkit"==s.substring(1,6)}(s)&&(n=s in fo.style,!n&&Cg&&(n="Webkit"+s.charAt(0).toUpperCase()+s.substr(1)in fo.style)),n}const Bd=Fd,Wo=Ld;let Nd=(()=>{class s{validateStyleProperty(e){return Tg(e)}matchesElement(e,t){return!1}containsElement(e,t){return Bd(e,t)}query(e,t,o){return Wo(e,t,o)}computeStyle(e,t,o){return o||""}animate(e,t,o,r,i,a=[],d){return new ws(o,r)}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})(),jd=(()=>{class s{}return s.NOOP=new Nd,s})();const vl="ng-enter",Aa="ng-leave",bs="ng-trigger",Ca=".ng-trigger",Ta="ng-animating",vs=".ng-animating";function Yo(s){if("number"==typeof s)return s;const n=s.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Ea(parseFloat(n[1]),n[2])}function Ea(s,n){return"s"===n?1e3*s:s}function Sa(s,n,e){return s.hasOwnProperty("duration")?s:function Vd(s,n,e){let o,r=0,i="";if("string"==typeof s){const a=s.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(`The provided timing value "${s}" is invalid.`),{duration:0,delay:0,easing:""};o=Ea(parseFloat(a[1]),a[2]);const d=a[3];null!=d&&(r=Ea(parseFloat(d),a[4]));const h=a[5];h&&(i=h)}else o=s;if(!e){let a=!1,d=n.length;o<0&&(n.push("Duration values below 0 are not allowed for this animation step."),a=!0),r<0&&(n.push("Delay values below 0 are not allowed for this animation step."),a=!0),a&&n.splice(d,0,`The provided timing value "${s}" is invalid.`)}return{duration:o,delay:r,easing:i}}(s,n,e)}function $n(s,n={}){return Object.keys(s).forEach(e=>{n[e]=s[e]}),n}function po(s,n,e={}){if(n)for(let t in s)e[t]=s[t];else $n(s,e);return e}function Mg(s,n,e){return e?n+":"+e+";":""}function xg(s){let n="";for(let e=0;e{const o=Yi(t);e&&!e.hasOwnProperty(t)&&(e[t]=s.style[o]),s.style[o]=n[t]}),yl()&&xg(s))}function go(s,n){s.style&&(Object.keys(n).forEach(e=>{const t=Yi(e);s.style[t]=""}),yl()&&xg(s))}function As(s){return Array.isArray(s)?1==s.length?s[0]:ob(s):s}const Al=new RegExp("{{\\s*(.+?)\\s*}}","g");function Rg(s){let n=[];if("string"==typeof s){let e;for(;e=Al.exec(s);)n.push(e[1]);Al.lastIndex=0}return n}function ka(s,n,e){const t=s.toString(),o=t.replace(Al,(r,i)=>{let a=n[i];return n.hasOwnProperty(i)||(e.push(`Please provide a value for the animation param ${i}`),a=""),a.toString()});return o==t?s:o}function Cl(s){const n=[];let e=s.next();for(;!e.done;)n.push(e.value),e=s.next();return n}const lb=/-+([a-z0-9])/g;function Yi(s){return s.replace(lb,(...n)=>n[1].toUpperCase())}function ub(s){return s.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Zi(s,n,e){switch(n.type){case 7:return s.visitTrigger(n,e);case 0:return s.visitState(n,e);case 1:return s.visitTransition(n,e);case 2:return s.visitSequence(n,e);case 3:return s.visitGroup(n,e);case 4:return s.visitAnimate(n,e);case 5:return s.visitKeyframes(n,e);case 6:return s.visitStyle(n,e);case 8:return s.visitReference(n,e);case 9:return s.visitAnimateChild(n,e);case 10:return s.visitAnimateRef(n,e);case 11:return s.visitQuery(n,e);case 12:return s.visitStagger(n,e);default:throw new Error(`Unable to resolve animation metadata node #${n.type}`)}}function Ig(s,n){return window.getComputedStyle(s)[n]}function Og(s,n){const e=[];return"string"==typeof s?s.split(/\s*,\s*/).forEach(t=>function hb(s,n,e){if(":"==s[0]){const d=function fb(s,n){switch(s){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(s,e);if("function"==typeof d)return void n.push(d);s=d}const t=s.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${s}" is not supported`),n;const o=t[1],r=t[2],i=t[3];n.push(Kd(o,i));"<"==r[0]&&!("*"==o&&"*"==i)&&n.push(Kd(i,o))}(t,e,n)):e.push(s),e}const El=new Set(["true","1"]),We=new Set(["false","0"]);function Kd(s,n){const e=El.has(s)||We.has(s),t=El.has(n)||We.has(n);return(o,r)=>{let i="*"==s||s==o,a="*"==n||n==r;return!i&&e&&"boolean"==typeof o&&(i=o?El.has(s):We.has(s)),!a&&t&&"boolean"==typeof r&&(a=r?El.has(n):We.has(n)),i&&a}}const Hg=new RegExp("s*:selfs*,?","g");function Cs(s,n,e){return new zg(s).build(n,e)}class zg{constructor(n){this._driver=n}build(n,e){const t=new mo(e);return this._resetContextStyleTimingState(t),Zi(this,As(n),t)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles={},n.collectedStyles[""]={},n.currentTime=0}visitTrigger(n,e){let t=e.queryCount=0,o=e.depCount=0;const r=[],i=[];return"@"==n.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const d=a,h=d.name;h.toString().split(/\s*,\s*/).forEach(g=>{d.name=g,r.push(this.visitState(d,e))}),d.name=h}else if(1==a.type){const d=this.visitTransition(a,e);t+=d.queryCount,o+=d.depCount,i.push(d)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:n.name,states:r,transitions:i,queryCount:t,depCount:o,options:null}}visitState(n,e){const t=this.visitStyle(n.styles,e),o=n.options&&n.options.params||null;if(t.containsDynamicStyles){const r=new Set,i=o||{};if(t.styles.forEach(a=>{if(Da(a)){const d=a;Object.keys(d).forEach(h=>{Rg(d[h]).forEach(g=>{i.hasOwnProperty(g)||r.add(g)})})}}),r.size){const a=Cl(r.values());e.errors.push(`state("${n.name}", ...) must define default values for all the following style substitutions: ${a.join(", ")}`)}}return{type:0,name:n.name,style:t,options:o?{params:o}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const t=Zi(this,As(n.animation),e);return{type:1,matchers:Og(n.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:Ts(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(t=>Zi(this,t,e)),options:Ts(n.options)}}visitGroup(n,e){const t=e.currentTime;let o=0;const r=n.steps.map(i=>{e.currentTime=t;const a=Zi(this,i,e);return o=Math.max(o,e.currentTime),a});return e.currentTime=o,{type:3,steps:r,options:Ts(n.options)}}visitAnimate(n,e){const t=function $d(s,n){let e=null;if(s.hasOwnProperty("duration"))e=s;else if("number"==typeof s)return Sl(Sa(s,n).duration,0,"");const t=s;if(t.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=Sl(0,0,"");return r.dynamic=!0,r.strValue=t,r}return e=e||Sa(t,n),Sl(e.duration,e.delay,e.easing)}(n.timings,e.errors);e.currentAnimateTimings=t;let o,r=n.styles?n.styles:xe({});if(5==r.type)o=this.visitKeyframes(r,e);else{let i=n.styles,a=!1;if(!i){a=!0;const h={};t.easing&&(h.easing=t.easing),i=xe(h)}e.currentTime+=t.duration+t.delay;const d=this.visitStyle(i,e);d.isEmptyStep=a,o=d}return e.currentAnimateTimings=null,{type:4,timings:t,style:o,options:null}}visitStyle(n,e){const t=this._makeStyleAst(n,e);return this._validateStyleAst(t,e),t}_makeStyleAst(n,e){const t=[];Array.isArray(n.styles)?n.styles.forEach(i=>{"string"==typeof i?i==ui?t.push(i):e.errors.push(`The provided style string value ${i} is not allowed.`):t.push(i)}):t.push(n.styles);let o=!1,r=null;return t.forEach(i=>{if(Da(i)){const a=i,d=a.easing;if(d&&(r=d,delete a.easing),!o)for(let h in a)if(a[h].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:t,easing:r,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){const t=e.currentAnimateTimings;let o=e.currentTime,r=e.currentTime;t&&r>0&&(r-=t.duration+t.delay),n.styles.forEach(i=>{"string"!=typeof i&&Object.keys(i).forEach(a=>{if(!this._driver.validateStyleProperty(a))return void e.errors.push(`The provided animation property "${a}" is not a supported CSS property for animations`);const d=e.collectedStyles[e.currentQuerySelector],h=d[a];let g=!0;h&&(r!=o&&r>=h.startTime&&o<=h.endTime&&(e.errors.push(`The CSS property "${a}" that exists between the times of "${h.startTime}ms" and "${h.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${o}ms"`),g=!1),r=h.startTime),g&&(d[a]={startTime:r,endTime:o}),e.options&&function RT(s,n,e){const t=n.params||{},o=Rg(s);o.length&&o.forEach(r=>{t.hasOwnProperty(r)||e.push(`Unable to resolve the local animation param ${r} in the given list of values`)})}(i[a],e.options,e.errors)})})}visitKeyframes(n,e){const t={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),t;let r=0;const i=[];let a=!1,d=!1,h=0;const g=n.steps.map(gt=>{const Pt=this._makeStyleAst(gt,e);let yt=null!=Pt.offset?Pt.offset:function qd(s){if("string"==typeof s)return null;let n=null;if(Array.isArray(s))s.forEach(e=>{if(Da(e)&&e.hasOwnProperty("offset")){const t=e;n=parseFloat(t.offset),delete t.offset}});else if(Da(s)&&s.hasOwnProperty("offset")){const e=s;n=parseFloat(e.offset),delete e.offset}return n}(Pt.styles),zt=0;return null!=yt&&(r++,zt=Pt.offset=yt),d=d||zt<0||zt>1,a=a||zt0&&r{const yt=H>0?Pt==te?1:H*Pt:i[Pt],zt=yt*Ee;e.currentTime=he+_e.delay+zt,_e.duration=zt,this._validateStyleAst(gt,e),gt.offset=yt,t.styles.push(gt)}),t}visitReference(n,e){return{type:8,animation:Zi(this,As(n.animation),e),options:Ts(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:Ts(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:Ts(n.options)}}visitQuery(n,e){const t=e.currentQuerySelector,o=n.options||{};e.queryCount++,e.currentQuery=n;const[r,i]=function pb(s){const n=!!s.split(/\s*,\s*/).find(e=>":self"==e);return n&&(s=s.replace(Hg,"")),s=s.replace(/@\*/g,Ca).replace(/@\w+/g,e=>Ca+"-"+e.substr(1)).replace(/:animating/g,vs),[s,n]}(n.selector);e.currentQuerySelector=t.length?t+" "+r:r,Wi(e.collectedStyles,e.currentQuerySelector,{});const a=Zi(this,As(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:i,animation:a,originalSelector:n.selector,options:Ts(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===n.timings?{duration:0,delay:0,easing:"full"}:Sa(n.timings,e.errors,!0);return{type:12,animation:Zi(this,As(n.animation),e),timings:t,options:null}}}class mo{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Da(s){return!Array.isArray(s)&&"object"==typeof s}function Ts(s){return s?(s=$n(s)).params&&(s.params=function Gd(s){return s?$n(s):null}(s.params)):s={},s}function Sl(s,n,e){return{duration:s,delay:n,easing:e}}function Fg(s,n,e,t,o,r,i=null,a=!1){return{type:1,element:s,keyframes:n,preStyleProps:e,postStyleProps:t,duration:o,delay:r,totalTime:o+r,easing:i,subTimeline:a}}class kr{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let t=this._map.get(n);t||this._map.set(n,t=[]),t.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const Yd=new RegExp(":enter","g"),PT=new RegExp(":leave","g");function Qd(s,n,e,t,o,r={},i={},a,d,h=[]){return(new gb).buildKeyframes(s,n,e,t,o,r,i,a,d,h)}class gb{buildKeyframes(n,e,t,o,r,i,a,d,h,g=[]){h=h||new kr;const S=new Xd(n,e,h,o,r,g,[]);S.options=d,S.currentTimeline.setStyles([i],null,S.errors,d),Zi(this,t,S);const H=S.timelines.filter(te=>te.containsAnimation());if(Object.keys(a).length){let te;for(let he=H.length-1;he>=0;he--){const _e=H[he];if(_e.element===e){te=_e;break}}te&&!te.allowOnlyTimelineStyles()&&te.setStyles([a],null,S.errors,d)}return H.length?H.map(te=>te.buildKeyframes()):[Fg(e,[],[],[],0,0,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const t=e.subInstructions.get(e.element);if(t){const o=e.createSubContext(n.options),r=e.currentTimeline.currentTime,i=this._visitSubInstructions(t,o,o.options);r!=i&&e.transformIntoNewTimeline(i)}e.previousNode=n}visitAnimateRef(n,e){const t=e.createSubContext(n.options);t.transformIntoNewTimeline(),this.visitReference(n.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=n}_visitSubInstructions(n,e,t){let r=e.currentTimeline.currentTime;const i=null!=t.duration?Yo(t.duration):null,a=null!=t.delay?Yo(t.delay):null;return 0!==i&&n.forEach(d=>{const h=e.appendInstructionToTimeline(d,i,a);r=Math.max(r,h.duration+h.delay)}),r}visitReference(n,e){e.updateOptions(n.options,!0),Zi(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const t=e.subContextCount;let o=e;const r=n.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Dl);const i=Yo(r.delay);o.delayNextStep(i)}n.steps.length&&(n.steps.forEach(i=>Zi(this,i,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>t&&o.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const t=[];let o=e.currentTimeline.currentTime;const r=n.options&&n.options.delay?Yo(n.options.delay):0;n.steps.forEach(i=>{const a=e.createSubContext(n.options);r&&a.delayNextStep(r),Zi(this,i,a),o=Math.max(o,a.currentTimeline.currentTime),t.push(a.currentTimeline)}),t.forEach(i=>e.currentTimeline.mergeTimelineCollectedStyles(i)),e.transformIntoNewTimeline(o),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const t=n.strValue;return Sa(e.params?ka(t,e.params,e.errors):t,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const t=e.currentAnimateTimings=this._visitTiming(n.timings,e),o=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),o.snapshotCurrentStyles());const r=n.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(t.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const t=e.currentTimeline,o=e.currentAnimateTimings;!o&&t.getCurrentStyleProperties().length&&t.forwardFrame();const r=o&&o.easing||n.easing;n.isEmptyStep?t.applyEmptyStep(r):t.setStyles(n.styles,r,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const t=e.currentAnimateTimings,o=e.currentTimeline.duration,r=t.duration,a=e.createSubContext().currentTimeline;a.easing=t.easing,n.styles.forEach(d=>{a.forwardTime((d.offset||0)*r),a.setStyles(d.styles,d.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(o+r),e.previousNode=n}visitQuery(n,e){const t=e.currentTimeline.currentTime,o=n.options||{},r=o.delay?Yo(o.delay):0;r&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Dl);let i=t;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=a.length;let d=null;a.forEach((h,g)=>{e.currentQueryIndex=g;const S=e.createSubContext(n.options,h);r&&S.delayNextStep(r),h===e.element&&(d=S.currentTimeline),Zi(this,n.animation,S),S.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,S.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const t=e.parentContext,o=e.currentTimeline,r=n.timings,i=Math.abs(r.duration),a=i*(e.currentQueryTotal-1);let d=i*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":d=a-d;break;case"full":d=t.currentStaggerTime}const g=e.currentTimeline;d&&g.delayNextStep(d);const S=g.currentTime;Zi(this,n.animation,e),e.previousNode=n,t.currentStaggerTime=o.currentTime-S+(o.startTime-t.currentTimeline.startTime)}}const Dl={};class Xd{constructor(n,e,t,o,r,i,a,d){this._driver=n,this.element=e,this.subInstructions=t,this._enterClassName=o,this._leaveClassName=r,this.errors=i,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Dl,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new Ma(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const t=n;let o=this.options;null!=t.duration&&(o.duration=Yo(t.duration)),null!=t.delay&&(o.delay=Yo(t.delay));const r=t.params;if(r){let i=o.params;i||(i=this.options.params={}),Object.keys(r).forEach(a=>{(!e||!i.hasOwnProperty(a))&&(i[a]=ka(r[a],i,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const t=n.params={};Object.keys(e).forEach(o=>{t[o]=e[o]})}}return n}createSubContext(n=null,e,t){const o=e||this.element,r=new Xd(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,t||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(n),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(n){return this.previousNode=Dl,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,t){const o={duration:null!=e?e:n.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+n.delay,easing:""},r=new IT(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,o,n.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,t,o,r,i){let a=[];if(o&&a.push(this.element),n.length>0){n=(n=n.replace(Yd,"."+this._enterClassName)).replace(PT,"."+this._leaveClassName);let h=this._driver.query(this.element,n,1!=t);0!==t&&(h=t<0?h.slice(h.length+t,h.length):h.slice(0,t)),a.push(...h)}return!r&&0==a.length&&i.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),a}}class Ma{constructor(n,e,t,o){this._driver=n,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=o,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new Ma(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles[n]=e,this._globalTimelineStyles[n]=e,this._styleSummary[n]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&(this._previousKeyframe.easing=n),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||ui,this._currentKeyframe[e]=ui}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,t,o){e&&(this._previousKeyframe.easing=e);const r=o&&o.params||{},i=function OT(s,n){const e={};let t;return s.forEach(o=>{"*"===o?(t=t||Object.keys(n),t.forEach(r=>{e[r]=ui})):po(o,!1,e)}),e}(n,this._globalTimelineStyles);Object.keys(i).forEach(a=>{const d=ka(i[a],r,t);this._pendingStyles[a]=d,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:ui),this._updateStyle(a,d)})}applyStylesToKeyframe(){const n=this._pendingStyles,e=Object.keys(n);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=n[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(n=>{const e=this._localTimelineStyles[n];this._pendingStyles[n]=e,this._updateStyle(n,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){Object.keys(n._styleSummary).forEach(e=>{const t=this._styleSummary[e],o=n._styleSummary[e];(!t||o.time>t.time)&&this._updateStyle(e,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((a,d)=>{const h=po(a,!0);Object.keys(h).forEach(g=>{const S=h[g];"!"==S?n.add(g):S==ui&&e.add(g)}),t||(h.offset=d/this.duration),o.push(h)});const r=n.size?Cl(n.values()):[],i=e.size?Cl(e.values()):[];if(t){const a=o[0],d=$n(a);a.offset=0,d.offset=1,o=[a,d]}return Fg(this.element,o,r,i,this.duration,this.startTime,this.easing,!1)}}class IT extends Ma{constructor(n,e,t,o,r,i,a=!1){super(n,e,i.delay),this.keyframes=t,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:t,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],i=t+e,a=e/i,d=po(n[0],!1);d.offset=0,r.push(d);const h=po(n[0],!1);h.offset=Lg(a),r.push(h);const g=n.length-1;for(let S=1;S<=g;S++){let H=po(n[S],!1);H.offset=Lg((e+H.offset*t)/i),r.push(H)}t=i,e=0,o="",n=r}return Fg(this.element,n,this.preStyleProps,this.postStyleProps,t,e,o,!0)}}function Lg(s,n=3){const e=Math.pow(10,n-1);return Math.round(s*e)/e}class Ml{}class Jd extends Ml{normalizePropertyName(n,e){return Yi(n)}normalizeStyleValue(n,e,t,o){let r="";const i=t.toString().trim();if(zT[e]&&0!==t&&"0"!==t)if("number"==typeof t)r="px";else{const a=t.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&o.push(`Please provide a CSS unit value for ${n}:${t}`)}return i+r}}const zT=(()=>function FT(s){const n={};return s.forEach(e=>n[e]=!0),n}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function _b(s,n,e,t,o,r,i,a,d,h,g,S,H){return{type:0,element:s,triggerName:n,isRemovalTransition:o,fromState:e,fromStyles:r,toState:t,toStyles:i,timelines:a,queriedElements:d,preStyleProps:h,postStyleProps:g,totalTime:S,errors:H}}const Bg={};class yb{constructor(n,e,t){this._triggerName=n,this.ast=e,this._stateStyles=t}match(n,e,t,o){return function LT(s,n,e,t,o){return s.some(r=>r(n,e,t,o))}(this.ast.matchers,n,e,t,o)}buildStyles(n,e,t){const o=this._stateStyles["*"],r=this._stateStyles[n],i=o?o.buildStyles(e,t):{};return r?r.buildStyles(e,t):i}build(n,e,t,o,r,i,a,d,h,g){const S=[],H=this.ast.options&&this.ast.options.params||Bg,he=this.buildStyles(t,a&&a.params||Bg,S),_e=d&&d.params||Bg,Ee=this.buildStyles(o,_e,S),gt=new Set,Pt=new Map,yt=new Map,zt="void"===o,Qs={params:Object.assign(Object.assign({},H),_e)},dr=g?[]:Qd(n,e,this.ast.animation,r,i,he,Ee,Qs,h,S);let Ji=0;if(dr.forEach(Zr=>{Ji=Math.max(Zr.duration+Zr.delay,Ji)}),S.length)return _b(e,this._triggerName,t,o,zt,he,Ee,[],[],Pt,yt,Ji,S);dr.forEach(Zr=>{const Qr=Zr.element,oD=Wi(Pt,Qr,{});Zr.preStyleProps.forEach(Ec=>oD[Ec]=!0);const Tp=Wi(yt,Qr,{});Zr.postStyleProps.forEach(Ec=>Tp[Ec]=!0),Qr!==e&>.add(Qr)});const Yr=Cl(gt.values());return _b(e,this._triggerName,t,o,zt,he,Ee,dr,Yr,Pt,yt,Ji)}}class BT{constructor(n,e,t){this.styles=n,this.defaultParams=e,this.normalizer=t}buildStyles(n,e){const t={},o=$n(this.defaultParams);return Object.keys(n).forEach(r=>{const i=n[r];null!=i&&(o[r]=i)}),this.styles.styles.forEach(r=>{if("string"!=typeof r){const i=r;Object.keys(i).forEach(a=>{let d=i[a];d.length>1&&(d=ka(d,o,e));const h=this.normalizer.normalizePropertyName(a,e);d=this.normalizer.normalizeStyleValue(a,h,d,e),t[h]=d})}}),t}}class jT{constructor(n,e,t){this.name=n,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(o=>{this.states[o.name]=new BT(o.style,o.options&&o.options.params||{},t)}),_o(this.states,"true","1"),_o(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new yb(n,o,this.states))}),this.fallbackTransition=function VT(s,n,e){return new yb(s,{type:1,animation:{type:2,steps:[],options:null},matchers:[(i,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,t,o){return this.transitionFactories.find(i=>i.match(n,e,t,o))||null}matchStyles(n,e,t){return this.fallbackTransition.buildStyles(n,e,t)}}function _o(s,n,e){s.hasOwnProperty(n)?s.hasOwnProperty(e)||(s[e]=s[n]):s.hasOwnProperty(e)&&(s[n]=s[e])}const eh=new kr;class wb{constructor(n,e,t){this.bodyNode=n,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(n,e){const t=[],o=Cs(this._driver,e,t);if(t.length)throw new Error(`Unable to build the animation due to the following errors: ${t.join("\n")}`);this._animations[n]=o}_buildPlayer(n,e,t){const o=n.element,r=wl(0,this._normalizer,0,n.keyframes,e,t);return this._driver.animate(o,r,n.duration,n.delay,n.easing,[],!0)}create(n,e,t={}){const o=[],r=this._animations[n];let i;const a=new Map;if(r?(i=Qd(this._driver,e,r,vl,Aa,{},{},t,eh,o),i.forEach(g=>{const S=Wi(a,g.element,{});g.postStyleProps.forEach(H=>S[H]=null)})):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error(`Unable to create the animation due to the following errors: ${o.join("\n")}`);a.forEach((g,S)=>{Object.keys(g).forEach(H=>{g[H]=this._driver.computeStyle(S,H,ui)})});const h=$o(i.map(g=>{const S=a.get(g.element);return this._buildPlayer(g,{},S)}));return this._playersById[n]=h,h.onDestroy(()=>this.destroy(n)),this.players.push(h),h}destroy(n){const e=this._getPlayer(n);e.destroy(),delete this._playersById[n];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(n){const e=this._playersById[n];if(!e)throw new Error(`Unable to find the timeline player referenced by ${n}`);return e}listen(n,e,t,o){const r=zd(e,"","","");return Od(this._getPlayer(n),t,r,o),()=>{}}command(n,e,t,o){if("register"==t)return void this.register(n,o[0]);if("create"==t)return void this.create(n,e,o[0]||{});const r=this._getPlayer(n);switch(t){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(n)}}}const th="ng-animate-queued",xl="ng-animate-disabled",Ng=[],jg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},oh={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},_n="__ng_removed";class Rl{constructor(n,e=""){this.namespaceId=e;const t=n&&n.hasOwnProperty("value");if(this.value=function Ia(s){return null!=s?s:null}(t?n.value:n),t){const r=$n(n);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(n){const e=n.params;if(e){const t=this.options.params;Object.keys(e).forEach(o=>{null==t[o]&&(t[o]=e[o])})}}}const xa="void",rh=new Rl(xa);class Ra{constructor(n,e,t){this.id=n,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Li(e,this._hostClassName)}listen(n,e,t,o){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${t}" because the animation trigger "${e}" doesn't exist!`);if(null==t||0==t.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function vb(s){return"start"==s||"done"==s}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const r=Wi(this._elementListeners,n,[]),i={name:e,phase:t,callback:o};r.push(i);const a=Wi(this._engine.statesByElement,n,{});return a.hasOwnProperty(e)||(Li(n,bs),Li(n,bs+"-"+e),a[e]=rh),()=>{this._engine.afterFlush(()=>{const d=r.indexOf(i);d>=0&&r.splice(d,1),this._triggers[e]||delete a[e]})}}register(n,e){return!this._triggers[n]&&(this._triggers[n]=e,!0)}_getTrigger(n){const e=this._triggers[n];if(!e)throw new Error(`The provided animation trigger "${n}" has not been registered!`);return e}trigger(n,e,t,o=!0){const r=this._getTrigger(e),i=new Pa(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(Li(n,bs),Li(n,bs+"-"+e),this._engine.statesByElement.set(n,a={}));let d=a[e];const h=new Rl(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&d&&h.absorbOptions(d.options),a[e]=h,d||(d=rh),h.value!==xa&&d.value===h.value){if(!function KT(s,n){const e=Object.keys(s),t=Object.keys(n);if(e.length!=t.length)return!1;for(let o=0;o{go(n,Ee),On(n,gt)})}return}const H=Wi(this._engine.playersByElement,n,[]);H.forEach(_e=>{_e.namespaceId==this.id&&_e.triggerName==e&&_e.queued&&_e.destroy()});let te=r.matchTransition(d.value,h.value,n,h.params),he=!1;if(!te){if(!o)return;te=r.fallbackTransition,he=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:te,fromState:d,toState:h,player:i,isFallbackTransition:he}),he||(Li(n,th),i.onStart(()=>{Dr(n,th)})),i.onDone(()=>{let _e=this.players.indexOf(i);_e>=0&&this.players.splice(_e,1);const Ee=this._engine.playersByElement.get(n);if(Ee){let gt=Ee.indexOf(i);gt>=0&&Ee.splice(gt,1)}}),this.players.push(i),H.push(i),i}deregister(n){delete this._triggers[n],this._engine.statesByElement.forEach((e,t)=>{delete e[n]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(o=>o.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const t=this._engine.driver.query(n,Ca,!0);t.forEach(o=>{if(o[_n])return;const r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(i=>i.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(n,e,t,o){const r=this._engine.statesByElement.get(n),i=new Map;if(r){const a=[];if(Object.keys(r).forEach(d=>{if(i.set(d,r[d].value),this._triggers[d]){const h=this.trigger(n,d,xa,o);h&&a.push(h)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,i),t&&$o(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),t=this._engine.statesByElement.get(n);if(e&&t){const o=new Set;e.forEach(r=>{const i=r.name;if(o.has(i))return;o.add(i);const d=this._triggers[i].fallbackTransition,h=t[i]||rh,g=new Rl(xa),S=new Pa(this.id,i,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:i,transition:d,fromState:h,toState:g,player:S,isFallbackTransition:!0})})}}removeNode(n,e){const t=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let o=!1;if(t.totalAnimations){const r=t.players.length?t.playersByQueriedElement.get(n):[];if(r&&r.length)o=!0;else{let i=n;for(;i=i.parentNode;)if(t.statesByElement.get(i)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(n),o)t.markElementAsRemoved(this.id,n,!1,e);else{const r=n[_n];(!r||r===jg)&&(t.afterFlush(()=>this.clearElementCache(n)),t.destroyInnerAnimations(n),t._onRemovalComplete(n,e))}}insertNode(n,e){Li(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(t=>{const o=t.player;if(o.destroyed)return;const r=t.element,i=this._elementListeners.get(r);i&&i.forEach(a=>{if(a.name==t.triggerName){const d=zd(r,t.triggerName,t.fromState.value,t.toState.value);d._data=n,Od(t.player,a.phase,d,a.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(t)}),this._queue=[],e.sort((t,o)=>{const r=t.transition.ast.depCount,i=o.transition.ast.depCount;return 0==r||0==i?r-i:this._engine.driver.containsElement(t.element,o.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(t=>t.element===n)||e,e}}class Es{constructor(n,e,t){this.bodyNode=n,this.driver=e,this._normalizer=t,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,r)=>{}}_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&n.push(t)})}),n}createNamespace(n,e){const t=new Ra(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[n]=t}_balanceNamespaceList(n,e){const t=this._namespaceList.length-1;if(t>=0){let o=!1;for(let r=t;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,n),o=!0;break}o||this._namespaceList.splice(0,0,n)}else this._namespaceList.push(n);return this.namespacesByHostElement.set(e,n),n}register(n,e){let t=this._namespaceLookup[n];return t||(t=this.createNamespace(n,e)),t}registerTrigger(n,e,t){let o=this._namespaceLookup[n];o&&o.register(e,t)&&this.totalAnimations++}destroy(n,e){if(!n)return;const t=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[n];const o=this._namespaceList.indexOf(t);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,t=this.statesByElement.get(n);if(t){const o=Object.keys(t);for(let r=0;r=0&&this.collectedLeaveElements.splice(i,1)}if(n){const i=this._fetchNamespace(n);i&&i.insertNode(e,t)}o&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Li(n,xl)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Dr(n,xl))}removeNode(n,e,t,o){if(yo(e)){const r=n?this._fetchNamespace(n):null;if(r?r.removeNode(e,o):this.markElementAsRemoved(n,e,!1,o),t){const i=this.namespacesByHostElement.get(e);i&&i.id!==n&&i.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(n,e,t,o,r){this.collectedLeaveElements.push(e),e[_n]={namespaceId:n,setForRemoval:o,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:r}}listen(n,e,t,o,r){return yo(e)?this._fetchNamespace(n).listen(e,t,o,r):()=>{}}_buildInstruction(n,e,t,o,r){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,t,o,n.fromState.options,n.toState.options,e,r)}destroyInnerAnimations(n){let e=this.driver.query(n,Ca,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,vs,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return $o(this.players).onDone(()=>n());n()})}processLeaveNode(n){var e;const t=n[_n];if(t&&t.setForRemoval){if(n[_n]=jg,t.namespaceId){this.destroyInnerAnimations(n);const o=this._fetchNamespace(t.namespaceId);o&&o.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}(null===(e=n.classList)||void 0===e?void 0:e.contains(xl))&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(o=>{this.markElementAsDisabled(o,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,o)=>this._balanceNamespaceList(t,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?$o(e).onDone(()=>{t.forEach(o=>o())}):t.forEach(o=>o())}}reportError(n){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${n.join("\n")}`)}_flushAnimations(n,e){const t=new kr,o=[],r=new Map,i=[],a=new Map,d=new Map,h=new Map,g=new Set;this.disabledNodes.forEach(Fe=>{g.add(Fe);const Ue=this.driver.query(Fe,".ng-animate-queued",!0);for(let $e=0;$e{const $e=vl+_e++;he.set(Ue,$e),Fe.forEach(Ct=>Li(Ct,$e))});const Ee=[],gt=new Set,Pt=new Set;for(let Fe=0;Fegt.add(Ct)):Pt.add(Ue))}const yt=new Map,zt=Pl(H,Array.from(gt));zt.forEach((Fe,Ue)=>{const $e=Aa+_e++;yt.set(Ue,$e),Fe.forEach(Ct=>Li(Ct,$e))}),n.push(()=>{te.forEach((Fe,Ue)=>{const $e=he.get(Ue);Fe.forEach(Ct=>Dr(Ct,$e))}),zt.forEach((Fe,Ue)=>{const $e=yt.get(Ue);Fe.forEach(Ct=>Dr(Ct,$e))}),Ee.forEach(Fe=>{this.processLeaveNode(Fe)})});const Qs=[],dr=[];for(let Fe=this._namespaceList.length-1;Fe>=0;Fe--)this._namespaceList[Fe].drainQueuedTransitions(e).forEach($e=>{const Ct=$e.player,Ti=$e.element;if(Qs.push(Ct),this.collectedEnterElements.length){const en=Ti[_n];if(en&&en.setForMove){if(en.previousTriggersValues&&en.previousTriggersValues.has($e.triggerName)){const Sc=en.previousTriggersValues.get($e.triggerName),Js=this.statesByElement.get($e.element);Js&&Js[$e.triggerName]&&(Js[$e.triggerName].value=Sc)}return void Ct.destroy()}}const hr=!S||!this.driver.containsElement(S,Ti),jn=yt.get(Ti),Xs=he.get(Ti),Qt=this._buildInstruction($e,t,Xs,jn,hr);if(Qt.errors&&Qt.errors.length)return void dr.push(Qt);if(hr)return Ct.onStart(()=>go(Ti,Qt.fromStyles)),Ct.onDestroy(()=>On(Ti,Qt.toStyles)),void o.push(Ct);if($e.isFallbackTransition)return Ct.onStart(()=>go(Ti,Qt.fromStyles)),Ct.onDestroy(()=>On(Ti,Qt.toStyles)),void o.push(Ct);const aD=[];Qt.timelines.forEach(en=>{en.stretchStartingKeyframe=!0,this.disabledNodes.has(en.element)||aD.push(en)}),Qt.timelines=aD,t.append(Ti,Qt.timelines),i.push({instruction:Qt,player:Ct,element:Ti}),Qt.queriedElements.forEach(en=>Wi(a,en,[]).push(Ct)),Qt.preStyleProps.forEach((en,Sc)=>{const Js=Object.keys(en);if(Js.length){let kc=d.get(Sc);kc||d.set(Sc,kc=new Set),Js.forEach(g0=>kc.add(g0))}}),Qt.postStyleProps.forEach((en,Sc)=>{const Js=Object.keys(en);let kc=h.get(Sc);kc||h.set(Sc,kc=new Set),Js.forEach(g0=>kc.add(g0))})});if(dr.length){const Fe=[];dr.forEach(Ue=>{Fe.push(`@${Ue.triggerName} has failed due to:\n`),Ue.errors.forEach($e=>Fe.push(`- ${$e}\n`))}),Qs.forEach(Ue=>Ue.destroy()),this.reportError(Fe)}const Ji=new Map,Yr=new Map;i.forEach(Fe=>{const Ue=Fe.element;t.has(Ue)&&(Yr.set(Ue,Ue),this._beforeAnimationBuild(Fe.player.namespaceId,Fe.instruction,Ji))}),o.forEach(Fe=>{const Ue=Fe.element;this._getPreviousPlayers(Ue,!1,Fe.namespaceId,Fe.triggerName,null).forEach(Ct=>{Wi(Ji,Ue,[]).push(Ct),Ct.destroy()})});const Zr=Ee.filter(Fe=>lh(Fe,d,h)),Qr=new Map;ah(Qr,this.driver,Pt,h,ui).forEach(Fe=>{lh(Fe,d,h)&&Zr.push(Fe)});const Tp=new Map;te.forEach((Fe,Ue)=>{ah(Tp,this.driver,new Set(Fe),d,"!")}),Zr.forEach(Fe=>{const Ue=Qr.get(Fe),$e=Tp.get(Fe);Qr.set(Fe,Object.assign(Object.assign({},Ue),$e))});const Ec=[],rD=[],sD={};i.forEach(Fe=>{const{element:Ue,player:$e,instruction:Ct}=Fe;if(t.has(Ue)){if(g.has(Ue))return $e.onDestroy(()=>On(Ue,Ct.toStyles)),$e.disabled=!0,$e.overrideTotalTime(Ct.totalTime),void o.push($e);let Ti=sD;if(Yr.size>1){let jn=Ue;const Xs=[];for(;jn=jn.parentNode;){const Qt=Yr.get(jn);if(Qt){Ti=Qt;break}Xs.push(jn)}Xs.forEach(Qt=>Yr.set(Qt,Ti))}const hr=this._buildAnimation($e.namespaceId,Ct,Ji,r,Tp,Qr);if($e.setRealPlayer(hr),Ti===sD)Ec.push($e);else{const jn=this.playersByElement.get(Ti);jn&&jn.length&&($e.parentPlayer=$o(jn)),o.push($e)}}else go(Ue,Ct.fromStyles),$e.onDestroy(()=>On(Ue,Ct.toStyles)),rD.push($e),g.has(Ue)&&o.push($e)}),rD.forEach(Fe=>{const Ue=r.get(Fe.element);if(Ue&&Ue.length){const $e=$o(Ue);Fe.setRealPlayer($e)}}),o.forEach(Fe=>{Fe.parentPlayer?Fe.syncPlayerEvents(Fe.parentPlayer):Fe.destroy()});for(let Fe=0;Fe!hr.destroyed);Ti.length?Il(this,Ue,Ti):this.processLeaveNode(Ue)}return Ee.length=0,Ec.forEach(Fe=>{this.players.push(Fe),Fe.onDone(()=>{Fe.destroy();const Ue=this.players.indexOf(Fe);this.players.splice(Ue,1)}),Fe.play()}),Ec}elementContainsData(n,e){let t=!1;const o=e[_n];return o&&o.setForRemoval&&(t=!0),this.playersByElement.has(e)&&(t=!0),this.playersByQueriedElement.has(e)&&(t=!0),this.statesByElement.has(e)&&(t=!0),this._fetchNamespace(n).elementContainsData(e)||t}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,t,o,r){let i=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(i=a)}else{const a=this.playersByElement.get(n);if(a){const d=!r||r==xa;a.forEach(h=>{h.queued||!d&&h.triggerName!=o||i.push(h)})}}return(t||o)&&(i=i.filter(a=>!(t&&t!=a.namespaceId||o&&o!=a.triggerName))),i}_beforeAnimationBuild(n,e,t){const r=e.element,i=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const h=d.element,g=h!==r,S=Wi(t,h,[]);this._getPreviousPlayers(h,g,i,a,e.toState).forEach(te=>{const he=te.getRealPlayer();he.beforeDestroy&&he.beforeDestroy(),te.destroy(),S.push(te)})}go(r,e.fromStyles)}_buildAnimation(n,e,t,o,r,i){const a=e.triggerName,d=e.element,h=[],g=new Set,S=new Set,H=e.timelines.map(he=>{const _e=he.element;g.add(_e);const Ee=_e[_n];if(Ee&&Ee.removedBeforeQueried)return new ws(he.duration,he.delay);const gt=_e!==d,Pt=function Ab(s){const n=[];return ch(s,n),n}((t.get(_e)||Ng).map(Ji=>Ji.getRealPlayer())).filter(Ji=>!!Ji.element&&Ji.element===_e),yt=r.get(_e),zt=i.get(_e),Qs=wl(0,this._normalizer,0,he.keyframes,yt,zt),dr=this._buildPlayer(he,Qs,Pt);if(he.subTimeline&&o&&S.add(_e),gt){const Ji=new Pa(n,a,_e);Ji.setRealPlayer(dr),h.push(Ji)}return dr});h.forEach(he=>{Wi(this.playersByQueriedElement,he.element,[]).push(he),he.onDone(()=>function Ss(s,n,e){let t;if(s instanceof Map){if(t=s.get(n),t){if(t.length){const o=t.indexOf(e);t.splice(o,1)}0==t.length&&s.delete(n)}}else if(t=s[n],t){if(t.length){const o=t.indexOf(e);t.splice(o,1)}0==t.length&&delete s[n]}return t}(this.playersByQueriedElement,he.element,he))}),g.forEach(he=>Li(he,Ta));const te=$o(H);return te.onDestroy(()=>{g.forEach(he=>Dr(he,Ta)),On(d,e.toStyles)}),S.forEach(he=>{Wi(o,he,[]).push(te)}),te}_buildPlayer(n,e,t){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,t):new ws(n.duration,n.delay)}}class Pa{constructor(n,e,t){this.namespaceId=n,this.triggerName=e,this.element=t,this._player=new ws,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>Od(n,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Wi(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function yo(s){return s&&1===s.nodeType}function sh(s,n){const e=s.style.display;return s.style.display=null!=n?n:"none",e}function ah(s,n,e,t,o){const r=[];e.forEach(d=>r.push(sh(d)));const i=[];t.forEach((d,h)=>{const g={};d.forEach(S=>{const H=g[S]=n.computeStyle(h,S,o);(!H||0==H.length)&&(h[_n]=oh,i.push(h))}),s.set(h,g)});let a=0;return e.forEach(d=>sh(d,r[a++])),i}function Pl(s,n){const e=new Map;if(s.forEach(a=>e.set(a,[])),0==n.length)return e;const o=new Set(n),r=new Map;function i(a){if(!a)return 1;let d=r.get(a);if(d)return d;const h=a.parentNode;return d=e.has(h)?h:o.has(h)?1:i(h),r.set(a,d),d}return n.forEach(a=>{const d=i(a);1!==d&&e.get(d).push(a)}),e}function Li(s,n){var e;null===(e=s.classList)||void 0===e||e.add(n)}function Dr(s,n){var e;null===(e=s.classList)||void 0===e||e.remove(n)}function Il(s,n,e){$o(e).onDone(()=>s.processLeaveNode(n))}function ch(s,n){for(let e=0;eo.add(r)):n.set(s,t),e.delete(s),!0}class Oa{constructor(n,e,t){this.bodyNode=n,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(o,r)=>{},this._transitionEngine=new Es(n,e,t),this._timelineEngine=new wb(n,e,t),this._transitionEngine.onRemovalComplete=(o,r)=>this.onRemovalComplete(o,r)}registerTrigger(n,e,t,o,r){const i=n+"-"+o;let a=this._triggerCache[i];if(!a){const d=[],h=Cs(this._driver,r,d);if(d.length)throw new Error(`The animation trigger "${o}" has failed to build due to the following errors:\n - ${d.join("\n - ")}`);a=function NT(s,n,e){return new jT(s,n,e)}(o,h,this._normalizer),this._triggerCache[i]=a}this._transitionEngine.registerTrigger(e,o,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,t,o){this._transitionEngine.insertNode(n,e,t,o)}onRemove(n,e,t,o){this._transitionEngine.removeNode(n,e,o||!1,t)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,t,o){if("@"==t.charAt(0)){const[r,i]=bg(t);this._timelineEngine.command(r,e,i,o)}else this._transitionEngine.trigger(n,e,t,o)}listen(n,e,t,o,r){if("@"==t.charAt(0)){const[i,a]=bg(t);return this._timelineEngine.listen(i,e,a,r)}return this._transitionEngine.listen(n,e,t,o,r)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Vg=(()=>{class s{constructor(e,t,o){this._element=e,this._startStyles=t,this._endStyles=o,this._state=0;let r=s.initialStylesByElement.get(e);r||s.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&On(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(On(this._element,this._initialStyles),this._endStyles&&(On(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(s.initialStylesByElement.delete(this._element),this._startStyles&&(go(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(go(this._element,this._endStyles),this._endStyles=null),On(this._element,this._initialStyles),this._state=3)}}return s.initialStylesByElement=new WeakMap,s})();function uh(s){let n=null;const e=Object.keys(s);for(let t=0;tn()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(n,e,t){return n.animate(e,t)}onStart(n){this._onStartFns.push(n)}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(n[t]=this._finished?e[t]:Ig(this.element,t))})}this.currentSnapshot=n}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Eb{validateStyleProperty(n){return Tg(n)}matchesElement(n,e){return!1}containsElement(n,e){return Bd(n,e)}query(n,e,t){return Wo(n,e,t)}computeStyle(n,e,t){return window.getComputedStyle(n)[e]}animate(n,e,t,o,r,i=[]){const d={duration:t,delay:o,fill:0==o?"both":"forwards"};r&&(d.easing=r);const h={},g=i.filter(H=>H instanceof Bi);(function Pg(s,n){return 0===s||0===n})(t,o)&&g.forEach(H=>{let te=H.currentSnapshot;Object.keys(te).forEach(he=>h[he]=te[he])}),e=function db(s,n,e){const t=Object.keys(e);if(t.length&&n.length){let r=n[0],i=[];if(t.forEach(a=>{r.hasOwnProperty(a)||i.push(a),r[a]=e[a]}),i.length)for(var o=1;opo(H,!1)),h);const S=function Cb(s,n){let e=null,t=null;return Array.isArray(n)&&n.length?(e=uh(n[0]),n.length>1&&(t=uh(n[n.length-1]))):n&&(e=uh(n)),e||t?new Vg(s,e,t):null}(n,e);return new Bi(n,e,d,S)}}let Sb=(()=>{class s extends yg{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:u.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?ob(e):e;return dh(this._renderer,null,t,"register",[o]),new UT(t,this._renderer)}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(u.FYo),u.LFG(b.K0))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();class UT extends class _s{}{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new GT(this._id,n,e||{},this._renderer)}}class GT{constructor(n,e,t,o){this.id=n,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return dh(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(n){this._command("setPosition",n)}getPosition(){var n,e;return null!==(e=null===(n=this._renderer.engine.players[+this.id])||void 0===n?void 0:n.getPosition())&&void 0!==e?e:0}}function dh(s,n,e,t,o){return s.setProperty(n,`@@${e}:${t}`,o)}const Kg="@.disabled";let fh=(()=>{class s{constructor(e,t,o){this.delegate=e,this.engine=t,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(r,i)=>{const a=null==i?void 0:i.parentNode(r);a&&i.removeChild(a,r)}}createRenderer(e,t){const r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let g=this._rendererCache.get(r);return g||(g=new ph("",r,this.engine),this._rendererCache.set(r,g)),g}const i=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const d=g=>{Array.isArray(g)?g.forEach(d):this.engine.registerTrigger(i,a,e,g.name,g)};return t.data.animation.forEach(d),new kb(this,a,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,o){e>=0&&et(o)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(r=>{const[i,a]=r;i(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,o]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(u.FYo),u.LFG(Oa),u.LFG(u.R0b))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();class ph{constructor(n,e,t){this.namespaceId=n,this.delegate=e,this.engine=t,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,t,o=!0){this.delegate.insertBefore(n,e,t),this.engine.onInsert(this.namespaceId,e,n,o)}removeChild(n,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,t,o){this.delegate.setAttribute(n,e,t,o)}removeAttribute(n,e,t){this.delegate.removeAttribute(n,e,t)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,t,o){this.delegate.setStyle(n,e,t,o)}removeStyle(n,e,t){this.delegate.removeStyle(n,e,t)}setProperty(n,e,t){"@"==e.charAt(0)&&e==Kg?this.disableAnimations(n,!!t):this.delegate.setProperty(n,e,t)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,t){return this.delegate.listen(n,e,t)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class kb extends ph{constructor(n,e,t,o){super(e,t,o),this.factory=n,this.namespaceId=e}setProperty(n,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Kg?this.disableAnimations(n,t=void 0===t||!!t):this.engine.process(this.namespaceId,n,e.substr(1),t):this.delegate.setProperty(n,e,t)}listen(n,e,t){if("@"==e.charAt(0)){const o=function Db(s){switch(s){case"body":return document.body;case"document":return document;case"window":return window;default:return s}}(n);let r=e.substr(1),i="";return"@"!=r.charAt(0)&&([r,i]=function Mb(s){const n=s.indexOf(".");return[s.substring(0,n),s.substr(n+1)]}(r)),this.engine.listen(this.namespaceId,o,r,i,a=>{this.factory.scheduleListenerCallback(a._data||-1,t,a)})}return this.delegate.listen(n,e,t)}}let Ug=(()=>{class s extends Oa{constructor(e,t,o){super(e.body,t,o)}ngOnDestroy(){this.flush()}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(b.K0),u.LFG(jd),u.LFG(Ml))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();const yn=new u.OlP("AnimationModuleType"),qg=[{provide:yg,useClass:Sb},{provide:Ml,useFactory:function xb(){return new Jd}},{provide:Oa,useClass:Ug},{provide:u.FYo,useFactory:function Gg(s,n,e){return new fh(s,n,e)},deps:[be,Oa,u.R0b]}],gh=[{provide:jd,useFactory:()=>new Eb},{provide:yn,useValue:"BrowserAnimations"},...qg],$g=[{provide:jd,useClass:Nd},{provide:yn,useValue:"NoopAnimations"},...qg];let Rb=(()=>{class s{static withConfig(e){return{ngModule:s,providers:e.disableAnimations?$g:gh}}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:gh,imports:[Io]}),s})();const Hb=new u.OlP("mat-sanity-checks",{providedIn:"root",factory:function mh(){return!0}});let qe=(()=>{class s{constructor(e,t,o){this._sanityChecks=t,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Nc()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(gg),u.LFG(Hb,8),u.LFG(b.K0))},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[uo],uo]}),s})();function ks(s){return class extends s{constructor(...n){super(...n),this._disabled=!1}get disabled(){return this._disabled}set disabled(n){this._disabled=et(n)}}}function bo(s,n){return class extends s{constructor(...e){super(...e),this.defaultColor=n,this.color=n}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}}}function Qo(s){return class extends s{constructor(...n){super(...n),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=et(n)}}}function Qg(s){return class extends s{constructor(...n){super(...n),this.stateChanges=new Me.xQ,this.errorState=!1}updateErrorState(){const n=this.errorState,r=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);r!==n&&(this.errorState=r,this.stateChanges.next())}}}const YT=new u.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function zb(){return(0,u.f3M)(u.soG)}});class wn{constructor(){this._localeChanges=new Me.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(n){return this.isDateInstance(n)&&this.isValid(n)?n:null}deserialize(n){return null==n||this.isDateInstance(n)&&this.isValid(n)?n:this.invalid()}setLocale(n){this.locale=n,this._localeChanges.next()}compareDate(n,e){return this.getYear(n)-this.getYear(e)||this.getMonth(n)-this.getMonth(e)||this.getDate(n)-this.getDate(e)}sameDate(n,e){if(n&&e){let t=this.isValid(n),o=this.isValid(e);return t&&o?!this.compareDate(n,e):t==o}return n==e}clampDate(n,e,t){return e&&this.compareDate(n,e)<0?e:t&&this.compareDate(n,t)>0?t:n}}const Ha=new u.OlP("mat-date-formats"),Jg=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Hl(s,n){const e=Array(s);for(let t=0;t{class s extends wn{constructor(e,t){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Hl(12,o=>this._format(t,new Date(2017,o,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Hl(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Hl(7,o=>this._format(t,new Date(2017,0,o+1)))}getYearName(e){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,o){let r=this._createDateWithOverflow(e,t,o);return r.getMonth(),r}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const o=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},t),{timeZone:"utc"}));return this._format(o,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let o=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(o)!=((this.getMonth(e)+t)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(Jg.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,o){const r=new Date;return r.setFullYear(e,t,o),r.setHours(0,0,0,0),r}_2digit(e){return("00"+e).slice(-2)}_format(e,t){const o=new Date;return o.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),o.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(o)}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(YT,8),u.LFG(ot))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();const vo={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let zl=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[{provide:wn,useClass:yh}],imports:[[Et]]}),s})(),em=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[{provide:Ha,useValue:vo}],imports:[[zl]]}),s})(),Fl=(()=>{class s{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Xo=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[qe],qe]}),s})();class Fb{constructor(n,e,t){this._renderer=n,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ll={enterDuration:225,exitDuration:150},Bl=dn({passive:!0}),bh=["mousedown","touchstart"],nm=["mouseup","mouseleave","touchend","touchcancel"];class Nl{constructor(n,e,t,o){this._target=n,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=Vt(t))}fadeInRipple(n,e,t={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},Ll),t.animation);t.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);const i=t.radius||function Bb(s,n,e){const t=Math.max(Math.abs(s-e.left),Math.abs(s-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(t*t+o*o)}(n,e,o),a=n-o.left,d=e-o.top,h=r.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=a-i+"px",g.style.top=d-i+"px",g.style.height=2*i+"px",g.style.width=2*i+"px",null!=t.color&&(g.style.backgroundColor=t.color),g.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(g),function Lb(s){window.getComputedStyle(s).getPropertyValue("opacity")}(g),g.style.transform="scale(1)";const S=new Fb(this,g,t);return S.state=0,this._activeRipples.add(S),t.persistent||(this._mostRecentTransientRipple=S),this._runTimeoutOutsideZone(()=>{const H=S===this._mostRecentTransientRipple;S.state=1,!t.persistent&&(!H||!this._isPointerDown)&&S.fadeOut()},h),S}fadeOutRipple(n){const e=this._activeRipples.delete(n);if(n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=n.element,o=Object.assign(Object.assign({},Ll),n.config.animation);t.style.transitionDuration=`${o.exitDuration}ms`,t.style.opacity="0",n.state=2,this._runTimeoutOutsideZone(()=>{n.state=3,t.remove()},o.exitDuration)}fadeOutAll(){this._activeRipples.forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=Vt(n);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(bh))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(nm),this._pointerUpEventsRegistered=!0)}_onMousedown(n){const e=va(n),t=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_runTimeoutOutsideZone(n,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(n,e))}_registerEvents(n){this._ngZone.runOutsideAngular(()=>{n.forEach(e=>{this._triggerElement.addEventListener(e,this,Bl)})})}_removeTriggerEvents(){this._triggerElement&&(bh.forEach(n=>{this._triggerElement.removeEventListener(n,this,Bl)}),this._pointerUpEventsRegistered&&nm.forEach(n=>{this._triggerElement.removeEventListener(n,this,Bl)}))}}const vh=new u.OlP("mat-ripple-global-options");let bn=(()=>{class s{constructor(e,t,o,r,i){this._elementRef=e,this._animationMode=i,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new Nl(this,t,e,o)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,o){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(ot),u.Y36(vh,8),u.Y36(yn,8))},s.\u0275dir=u.lG2({type:s,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&u.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),s})(),Hn=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[qe,Et],qe]}),s})(),Ah=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[qe]]}),s})(),Ch=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[Hn,b.ez,qe,Ah]]}),s})();var xi=v(5254),Jo=v(8896);function Ds(s){return new wi.y(n=>{let e;try{e=s()}catch(o){return void n.error(o)}return(e?(0,xi.D)(e):(0,Jo.c)()).subscribe(n)})}function iE(s,n){}class Fa{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const Gb={dialogContainer:si("dialogContainer",[ct("void, exit",xe({opacity:0,transform:"scale(0.7)"})),ct("enter",xe({transform:"none"})),At("* => enter",Rt("150ms cubic-bezier(0, 0, 0.2, 1)",xe({transform:"none",opacity:1}))),At("* => void, * => exit",Rt("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",xe({opacity:0})))])};let oE=(()=>{class s extends dd{constructor(e,t,o,r,i,a,d,h){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=o,this._config=i,this._interactivityChecker=a,this._ngZone=d,this._focusMonitor=h,this._animationStateChanged=new u.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=g=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(g)),this._ariaLabelledBy=i.ariaLabelledBy||null,this._document=r}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,t)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{t||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=Bc(),o=this._elementRef.nativeElement;(!t||t===this._document.body||t===o||o.contains(t))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=Bc())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=Bc();return e===t||e.contains(t)}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(u.SBq),u.Y36(vi),u.Y36(u.sBO),u.Y36(b.K0,8),u.Y36(Fa),u.Y36(dl),u.Y36(u.R0b),u.Y36(Go))},s.\u0275dir=u.lG2({type:s,viewQuery:function(e,t){if(1&e&&u.Gf(aa,7),2&e){let o;u.iGM(o=u.CRH())&&(t._portalOutlet=o.first)}},features:[u.qOj]}),s})(),rE=(()=>{class s extends oE{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return s.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(s)))(t||s)}}(),s.\u0275cmp=u.Xpm({type:s,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&u.WFA("@dialogContainer.start",function(r){return t._onAnimationStart(r)})("@dialogContainer.done",function(r){return t._onAnimationDone(r)}),2&e&&(u.Ikx("id",t._id),u.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),u.d8E("@dialogContainer",t._state))},features:[u.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&u.YNc(0,iE,0,0,"ng-template",0)},directives:[aa],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Gb.dialogContainer]}}),s})(),Th=0;class La{constructor(n,e,t="mat-dialog-"+Th++){this._overlayRef=n,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Me.xQ,this._afterClosed=new Me.xQ,this._beforeClosed=new Me.xQ,this._state=0,e._id=t,e._animationStateChanged.pipe((0,je.h)(o=>"opened"===o.state),(0,Nt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,je.h)(o=>"closed"===o.state),(0,Nt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),n.keydownEvents().pipe((0,je.h)(o=>27===o.keyCode&&!this.disableClose&&!Ko(o))).subscribe(o=>{o.preventDefault(),Eh(this,"keyboard")}),n.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Eh(this,"mouse")})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe((0,je.h)(e=>"closing"===e.state),(0,Nt.q)(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(n){let e=this._getPositionStrategy();return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(n="",e=""){return this._overlayRef.updateSize({width:n,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(n){return this._overlayRef.addPanelClass(n),this}removePanelClass(n){return this._overlayRef.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Eh(s,n,e){return void 0!==s._containerInstance&&(s._containerInstance._closeInteractionType=n),s.close(e)}const rm=new u.OlP("MatDialogData"),sE=new u.OlP("mat-dialog-default-options"),vn=new u.OlP("mat-dialog-scroll-strategy"),sm={provide:vn,deps:[In],useFactory:function aE(s){return()=>s.scrollStrategies.block()}};let am=(()=>{class s{constructor(e,t,o,r,i,a,d,h,g,S){this._overlay=e,this._injector=t,this._defaultOptions=o,this._parentDialog=r,this._overlayContainer=i,this._dialogRefConstructor=d,this._dialogContainerType=h,this._dialogDataToken=g,this._animationMode=S,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Me.xQ,this._afterOpenedAtThisLevel=new Me.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=Ds(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(gn(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){if(t=function qb(s,n){return Object.assign(Object.assign({},n),s)}(t,this._defaultOptions||new Fa),t.id&&this.getDialogById(t.id),this._dialogAnimatingOpen)return this._lastDialogRef;const o=this._createOverlay(t),r=this._attachDialogContainer(o,t);if("NoopAnimations"!==this._animationMode){const a=r._animationStateChanged.subscribe(d=>{"opening"===d.state&&(this._dialogAnimatingOpen=!0),"opened"===d.state&&(this._dialogAnimatingOpen=!1,a.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new ei.w),this._animationStateSubscriptions.add(a)}const i=this._attachDialogContent(e,r,o,t);return this._lastDialogRef=i,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(i),i.afterClosed().subscribe(()=>this._removeOpenDialog(i)),this.afterOpened.next(i),r._initializeWithAttachedContent(),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new Kc({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const r=u.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Fa,useValue:t}]}),i=new Pn(this._dialogContainerType,t.viewContainerRef,r,t.componentFactoryResolver);return e.attach(i).instance}_attachDialogContent(e,t,o,r){const i=new this._dialogRefConstructor(o,t,r.id);if(e instanceof u.Rgc)t.attachTemplatePortal(new jt(e,null,{$implicit:r.data,dialogRef:i}));else{const a=this._createInjector(r,i,t),d=t.attachComponentPortal(new Pn(e,r.viewContainerRef,a));i.componentInstance=d.instance}return i.updateSize(r.width,r.height).updatePosition(r.position),i}_createInjector(e,t,o){const r=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=[{provide:this._dialogContainerType,useValue:o},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!r||!r.get(Fo,null,u.XFs.Optional))&&i.push({provide:Fo,useValue:{value:e.direction,change:(0,Pe.of)()}}),u.zs3.create({parent:r||this._injector,providers:i})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,r)=>{o?r.setAttribute("aria-hidden",o):r.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let o=t.length-1;o>-1;o--){let r=t[o];r!==e&&"SCRIPT"!==r.nodeName&&"STYLE"!==r.nodeName&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return s.\u0275fac=function(e){u.$Z()},s.\u0275dir=u.lG2({type:s}),s})(),er=(()=>{class s extends am{constructor(e,t,o,r,i,a,d,h){super(e,t,r,a,d,i,La,rE,rm,h)}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(In),u.LFG(u.zs3),u.LFG(b.Ye,8),u.LFG(sE,8),u.LFG(vn),u.LFG(s,12),u.LFG(Bp),u.LFG(yn,8))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})(),cE=0,jl=(()=>{class s{constructor(e,t,o){this._dialogRef=e,this._elementRef=t,this._dialog=o,this.id="mat-dialog-title-"+cE++}ngOnInit(){this._dialogRef||(this._dialogRef=function Wb(s,n){let e=s.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?n.find(t=>t.id===e.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(La,8),u.Y36(u.SBq),u.Y36(er))},s.\u0275dir=u.lG2({type:s,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&u.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),s})(),Sh=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=u.lG2({type:s,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),s})(),Vl=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=u.lG2({type:s,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),s})(),Kl=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[er,sm],imports:[[ls,Cr,qe],qe]}),s})();function Wn(s){return!!s&&(s instanceof wi.y||"function"==typeof s.lift&&"function"==typeof s.subscribe)}var Yb=v(7830);function kh(...s){if(1===s.length){const n=s[0];if((0,ss.k)(n))return Ul(n,null);if((0,Yb.K)(n)&&Object.getPrototypeOf(n)===Object.prototype){const e=Object.keys(n);return Ul(e.map(t=>n[t]),e)}}if("function"==typeof s[s.length-1]){const n=s.pop();return Ul(s=1===s.length&&(0,ss.k)(s[0])?s[0]:s,null).pipe((0,Ze.U)(e=>n(...e)))}return Ul(s,null)}function Ul(s,n){return new wi.y(e=>{const t=s.length;if(0===t)return void e.complete();const o=new Array(t);let r=0,i=0;for(let a=0;a{h||(h=!0,i++),o[a]=g},error:g=>e.error(g),complete:()=>{r++,(r===t||!h)&&(i===t&&e.next(n?n.reduce((g,S,H)=>(g[S]=o[H],g),{}):o),e.complete())}}))}})}const Zb=new class Ms extends wr.v{}(class Gl extends yr.o{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}schedule(n,e=0){return e>0?super.schedule(n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)}execute(n,e){return e>0||this.closed?super.execute(n,e):this._execute(n,e)}requestAsyncId(n,e,t=0){return null!==t&&t>0||null===t&&this.delay>0?super.requestAsyncId(n,e,t):n.flush(this)}});var xr=v(9312);class xs extends Di.L{constructor(n,e,t=0){super(n),this.scheduler=e,this.delay=t}static dispatch(n){const{notification:e,destination:t}=n;e.observe(t),this.unsubscribe()}scheduleMessage(n){this.destination.add(this.scheduler.schedule(xs.dispatch,this.delay,new Yn(n,this.destination)))}_next(n){this.scheduleMessage(xr.P.createNext(n))}_error(n){this.scheduleMessage(xr.P.createError(n)),this.unsubscribe()}_complete(){this.scheduleMessage(xr.P.createComplete()),this.unsubscribe()}}class Yn{constructor(n,e){this.notification=n,this.destination=e}}var Ba=v(5283);class Ai extends Me.xQ{constructor(n=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,t){super(),this.scheduler=t,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(n){const e=this._events;e.push(n),e.length>this._bufferSize&&e.shift(),super.next(n)}nextTimeWindow(n){this._events.push(new Rr(this._getNow(),n)),this._trimBufferThenGetEvents(),super.next(n)}_subscribe(n){const e=this._infiniteTimeWindow,t=e?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,r=t.length;let i;if(this.closed)throw new Zc.N;if(this.isStopped||this.hasError?i=ei.w.EMPTY:(this.observers.push(n),i=new Ba.W(this,n)),o&&n.add(n=new xs(n,o)),e)for(let a=0;ae&&(i=Math.max(i,r-e)),i>0&&o.splice(0,i),o}}class Rr{constructor(n,e){this.time=n,this.value=e}}function Na(s,n,e){let t;return t=s&&"object"==typeof s?s:{bufferSize:s,windowTime:n,refCount:!1,scheduler:e},o=>o.lift(function An({bufferSize:s=Number.POSITIVE_INFINITY,windowTime:n=Number.POSITIVE_INFINITY,refCount:e,scheduler:t}){let o,i,r=0,a=!1,d=!1;return function(g){r++,(!o||a)&&(a=!1,o=new Ai(s,n,t),i=g.subscribe({next(H){o.next(H)},error(H){a=!0,o.error(H)},complete(){d=!0,i=void 0,o.complete()}}));const S=o.subscribe(this);this.add(()=>{r--,S.unsubscribe(),i&&!d&&e&&0===r&&(i.unsubscribe(),i=void 0,o=void 0)})}}(t))}var tr=v(1406),gi=v(7545);class Zn{}let Pr=(()=>{class s extends Zn{getTranslation(e){return(0,Pe.of)({})}}return s.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(s)))(t||s)}}(),s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();class ir{}let Ir=(()=>{class s{handle(e){return e.key}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();function Ao(s,n){if(s===n)return!0;if(null===s||null===n)return!1;if(s!=s&&n!=n)return!0;let o,r,i,e=typeof s;if(e==typeof n&&"object"==e){if(!Array.isArray(s)){if(Array.isArray(n))return!1;for(r in i=Object.create(null),s){if(!Ao(s[r],n[r]))return!1;i[r]=!0}for(r in n)if(!(r in i)&&void 0!==n[r])return!1;return!0}if(!Array.isArray(n))return!1;if((o=s.length)==n.length){for(r=0;r{nr(n[t])?t in s?e[t]=Or(s[t],n[t]):Object.assign(e,{[t]:n[t]}):Object.assign(e,{[t]:n[t]})}),e}class ja{}let Dh=(()=>{class s extends ja{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let o;return o="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,o}getValue(e,t){let o="string"==typeof t?t.split("."):[t];t="";do{t+=o.shift(),!Qi(e)||!Qi(e[t])||"object"!=typeof e[t]&&o.length?o.length?t+=".":e=void 0:(e=e[t],t="")}while(o.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(o,r)=>{let i=this.getValue(t,r);return Qi(i)?i:o}):e}}return s.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(s)))(t||s)}}(),s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();class Va{}let Mh=(()=>{class s extends Va{compile(e,t){return e}compileTranslations(e,t){return e}}return s.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(s)))(t||s)}}(),s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();class xh{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new u.vpe,this.onLangChange=new u.vpe,this.onDefaultLangChange=new u.vpe}}const ql=new u.OlP("USE_STORE"),$l=new u.OlP("USE_DEFAULT_LANG"),Wl=new u.OlP("DEFAULT_LANGUAGE"),Yl=new u.OlP("USE_EXTEND");let Cn=(()=>{class s{constructor(e,t,o,r,i,a=!0,d=!1,h=!1,g){this.store=e,this.currentLoader=t,this.compiler=o,this.parser=r,this.missingTranslationHandler=i,this.useDefaultLang=a,this.isolate=d,this.extend=h,this.pending=!1,this._onTranslationChange=new u.vpe,this._onLangChange=new u.vpe,this._onDefaultLangChange=new u.vpe,this._langs=[],this._translations={},this._translationRequests={},g&&this.setDefaultLang(g)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe((0,Nt.q)(1)).subscribe(o=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Pe.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,Nt.q)(1)).subscribe(o=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Pe.of)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(Na(1),(0,Nt.q)(1));return this.loadingTranslations=t.pipe((0,Ze.U)(o=>this.compiler.compileTranslations(o,e)),Na(1),(0,Nt.q)(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},o),this.translations[e]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),t}setTranslation(e,t,o=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(o||this.extend)&&this.translations[e]?Or(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,o){let r;if(t instanceof Array){let i={},a=!1;for(let d of t)i[d]=this.getParsedResult(e,d,o),Wn(i[d])&&(a=!0);return a?kh(t.map(h=>Wn(i[h])?i[h]:(0,Pe.of)(i[h]))).pipe((0,Ze.U)(h=>{let g={};return h.forEach((S,H)=>{g[t[H]]=S}),g})):i}if(e&&(r=this.parser.interpolate(this.parser.getValue(e,t),o)),void 0===r&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),o)),void 0===r){let i={key:t,translateService:this};void 0!==o&&(i.interpolateParams=o),r=this.missingTranslationHandler.handle(i)}return void 0!==r?r:t}get(e,t){if(!Qi(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,tr.b)(o=>Wn(o=this.getParsedResult(o,e,t))?o:(0,Pe.of)(o)));{let o=this.getParsedResult(this.translations[this.currentLang],e,t);return Wn(o)?o:(0,Pe.of)(o)}}getStreamOnTranslationChange(e,t){if(!Qi(e)||!e.length)throw new Error('Parameter "key" required');return ms(Ds(()=>this.get(e,t)),this.onTranslationChange.pipe((0,gi.w)(o=>{const r=this.getParsedResult(o.translations,e,t);return"function"==typeof r.subscribe?r:(0,Pe.of)(r)})))}stream(e,t){if(!Qi(e)||!e.length)throw new Error('Parameter "key" required');return ms(Ds(()=>this.get(e,t)),this.onLangChange.pipe((0,gi.w)(o=>{const r=this.getParsedResult(o.translations,e,t);return Wn(r)?r:(0,Pe.of)(r)})))}instant(e,t){if(!Qi(e)||!e.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],e,t);if(Wn(o)){if(e instanceof Array){let r={};return e.forEach((i,a)=>{r[e[a]]=e[a]}),r}return e}return o}set(e,t,o=this.currentLang){this.translations[o][e]=this.compiler.compile(t,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(xh),u.LFG(Zn),u.LFG(Va),u.LFG(ja),u.LFG(ir),u.LFG($l),u.LFG(ql),u.LFG(Yl),u.LFG(Wl))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})(),Hr=(()=>{class s{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,o){let r=i=>{this.value=void 0!==i?i:e,this.lastKey=e,this._ref.markForCheck()};if(o){let i=this.translate.getParsedResult(o,e,t);Wn(i.subscribe)?i.subscribe(r):r(i)}this.translate.get(e,t).subscribe(r)}transform(e,...t){if(!e||!e.length)return e;if(Ao(e,this.lastKey)&&Ao(t,this.lastParams))return this.value;let o;if(Qi(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let r=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(r)}catch(i){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"==typeof t[0]&&!Array.isArray(t[0])&&(o=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(Cn,16),u.Y36(u.sBO,16))},s.\u0275pipe=u.Yjl({name:"translate",type:s,pure:!1}),s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})(),Rs=(()=>{class s{static forRoot(e={}){return{ngModule:s,providers:[e.loader||{provide:Zn,useClass:Pr},e.compiler||{provide:Va,useClass:Mh},e.parser||{provide:ja,useClass:Dh},e.missingTranslationHandler||{provide:ir,useClass:Ir},xh,{provide:ql,useValue:e.isolate},{provide:$l,useValue:e.useDefaultLang},{provide:Yl,useValue:e.extend},{provide:Wl,useValue:e.defaultLanguage},Cn]}}static forChild(e={}){return{ngModule:s,providers:[e.loader||{provide:Zn,useClass:Pr},e.compiler||{provide:Va,useClass:Mh},e.parser||{provide:ja,useClass:Dh},e.missingTranslationHandler||{provide:ir,useClass:Ir},{provide:ql,useValue:e.isolate},{provide:$l,useValue:e.useDefaultLang},{provide:Yl,useValue:e.extend},{provide:Wl,useValue:e.defaultLanguage},Cn]}}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({}),s})(),cm=(()=>{class s{constructor(e){this.dialogRef=e}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(La))},s.\u0275cmp=u.Xpm({type:s,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(e,t){1&e&&(u.TgZ(0,"h2",0),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[Sh],pipes:[Hr],styles:[""]}),s})();const Jb=["mat-button",""],ev=["*"],lm=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],nv=bo(ks(Qo(class{constructor(s){this._elementRef=s}})));let Zl=(()=>{class s extends nv{constructor(e,t,o){super(e),this._focusMonitor=t,this._animationMode=o,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const r of lm)this._hasHostAttributes(r)&&this._getHostElement().classList.add(r);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(t=>this._getHostElement().hasAttribute(t))}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(u.SBq),u.Y36(Go),u.Y36(yn,8))},s.\u0275cmp=u.Xpm({type:s,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&u.Gf(bn,5),2&e){let o;u.iGM(o=u.CRH())&&(t.ripple=o.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(u.uIk("disabled",t.disabled||null),u.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[u.qOj],attrs:Jb,ngContentSelectors:ev,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(u.F$t(),u.TgZ(0,"span",0),u.Hsn(1),u.qZA(),u._UZ(2,"span",1),u._UZ(3,"span",2)),2&e&&(u.xp6(2),u.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),u.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[bn],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),s})(),Co=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[Hn,qe],qe]}),s})();const Rh=["connectionContainer"],Ph=["inputContainer"],ov=["label"];function uE(s,n){1&s&&(u.ynx(0),u.TgZ(1,"div",14),u._UZ(2,"div",15),u._UZ(3,"div",16),u._UZ(4,"div",17),u.qZA(),u.TgZ(5,"div",18),u._UZ(6,"div",15),u._UZ(7,"div",16),u._UZ(8,"div",17),u.qZA(),u.BQk())}function dE(s,n){if(1&s){const e=u.EpF();u.TgZ(0,"div",19),u.NdJ("cdkObserveContent",function(){return u.CHM(e),u.oxw().updateOutlineGap()}),u.Hsn(1,1),u.qZA()}if(2&s){const e=u.oxw();u.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function hE(s,n){if(1&s&&(u.ynx(0),u.Hsn(1,2),u.TgZ(2,"span"),u._uU(3),u.qZA(),u.BQk()),2&s){const e=u.oxw(2);u.xp6(3),u.Oqu(e._control.placeholder)}}function rv(s,n){1&s&&u.Hsn(0,3,["*ngSwitchCase","true"])}function um(s,n){1&s&&(u.TgZ(0,"span",23),u._uU(1," *"),u.qZA())}function fE(s,n){if(1&s){const e=u.EpF();u.TgZ(0,"label",20,21),u.NdJ("cdkObserveContent",function(){return u.CHM(e),u.oxw().updateOutlineGap()}),u.YNc(2,hE,4,1,"ng-container",12),u.YNc(3,rv,1,0,"ng-content",12),u.YNc(4,um,2,0,"span",22),u.qZA()}if(2&s){const e=u.oxw();u.ekj("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),u.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),u.uIk("for",e._control.id)("aria-owns",e._control.id),u.xp6(2),u.Q6J("ngSwitchCase",!1),u.xp6(1),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function sv(s,n){1&s&&(u.TgZ(0,"div",24),u.Hsn(1,4),u.qZA())}function Ps(s,n){if(1&s&&(u.TgZ(0,"div",25),u._UZ(1,"span",26),u.qZA()),2&s){const e=u.oxw();u.xp6(1),u.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function av(s,n){if(1&s&&(u.TgZ(0,"div"),u.Hsn(1,5),u.qZA()),2&s){const e=u.oxw();u.Q6J("@transitionMessages",e._subscriptAnimationState)}}function dm(s,n){if(1&s&&(u.TgZ(0,"div",30),u._uU(1),u.qZA()),2&s){const e=u.oxw(2);u.Q6J("id",e._hintLabelId),u.xp6(1),u.Oqu(e.hintLabel)}}function cv(s,n){if(1&s&&(u.TgZ(0,"div",27),u.YNc(1,dm,2,2,"div",28),u.Hsn(2,6),u._UZ(3,"div",29),u.Hsn(4,7),u.qZA()),2&s){const e=u.oxw();u.Q6J("@transitionMessages",e._subscriptAnimationState),u.xp6(1),u.Q6J("ngIf",e.hintLabel)}}const hm=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ql=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let lv=0;const Ih=new u.OlP("MatError");let fm=(()=>{class s{constructor(e,t){this.id="mat-error-"+lv++,e||t.nativeElement.setAttribute("aria-live","polite")}}return s.\u0275fac=function(e){return new(e||s)(u.$8M("aria-live"),u.Y36(u.SBq))},s.\u0275dir=u.lG2({type:s,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&u.uIk("id",t.id)},inputs:{id:"id"},features:[u._Bn([{provide:Ih,useExisting:s}])]}),s})();const uv={transitionMessages:si("transitionMessages",[ct("enter",xe({opacity:1,transform:"translateY(0%)"})),At("void => enter",[xe({opacity:0,transform:"translateY(-5px)"}),Rt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Xl=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=u.lG2({type:s}),s})(),hv=0;const Oh=new u.OlP("MatHint");let pm=(()=>{class s{constructor(){this.align="start",this.id="mat-hint-"+hv++}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=u.lG2({type:s,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(u.uIk("id",t.id)("align",null),u.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[u._Bn([{provide:Oh,useExisting:s}])]}),s})(),Is=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=u.lG2({type:s,selectors:[["mat-label"]]}),s})(),mE=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=u.lG2({type:s,selectors:[["mat-placeholder"]]}),s})();const Hh=new u.OlP("MatPrefix"),fv=new u.OlP("MatSuffix");let Ka=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=u.lG2({type:s,selectors:[["","matSuffix",""]],features:[u._Bn([{provide:fv,useExisting:s}])]}),s})(),zh=0;const pv=bo(class{constructor(s){this._elementRef=s}},"primary"),Lh=new u.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Ua=new u.OlP("MatFormField");let Bh=(()=>{class s extends pv{constructor(e,t,o,r,i,a,d){super(e),this._changeDetectorRef=t,this._dir=o,this._defaults=r,this._platform=i,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Me.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+zh++,this._labelId="mat-form-field-label-"+zh++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==d,this.appearance=r&&r.appearance?r.appearance:"legacy",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=et(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(gn(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(_t(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(_t(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,fi.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(gn(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(gn(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(_t(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,co(this._label.nativeElement,"transitionend").pipe((0,Nt.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(r=>"start"===r.align):null,o=this._hintChildren?this._hintChildren.find(r=>"end"===r.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,t=this._connectionContainerRef.nativeElement,o=".mat-form-field-outline-start",r=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const g=t.querySelectorAll(`${o}, ${r}`);for(let S=0;S0?.75*he+10:0}for(let g=0;g{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[b.ez,qe,ba],qe]}),s})();const Dm={provide:new u.OlP("mat-select-scroll-strategy"),deps:[In],useFactory:function km(s){return()=>s.scrollStrategies.reposition()}};let eu=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[Dm],imports:[[b.ez,ls,Ch,qe],hn,Os,Ch,qe]}),s})();var Nh=v(6053);const ii=new Set;let zr,kv=(()=>{class s{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Mm}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function Dv(s){if(!ii.has(s))try{zr||(zr=document.createElement("style"),zr.setAttribute("type","text/css"),document.head.appendChild(zr)),zr.sheet&&(zr.sheet.insertRule(`@media ${s} {body{ }}`,0),ii.add(s))}catch(n){console.error(n)}}(e),this._matchMedia(e)}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(ot))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function Mm(s){return{matches:"all"===s||""===s,media:s,addListener:()=>{},removeListener:()=>{}}}let Mv=(()=>{class s{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new Me.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return jh(na(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){const o=jh(na(e)).map(i=>this._registerQuery(i).observable);let r=(0,Nh.aj)(o);return r=ms(r.pipe((0,Nt.q)(1)),r.pipe(ps(1),(0,nl.b)(0))),r.pipe((0,Ze.U)(i=>{const a={matches:!1,breakpoints:{}};return i.forEach(({matches:d,query:h})=>{a.matches=a.matches||d,a.breakpoints[h]=d}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),r={observable:new wi.y(i=>{const a=d=>this._zone.run(()=>i.next(d));return t.addListener(a),()=>{t.removeListener(a)}}).pipe(gn(t),(0,Ze.U)(({matches:i})=>({query:e,matches:i})),_t(this._destroySubject)),mql:t};return this._queries.set(e,r),r}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(kv),u.LFG(u.R0b))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function jh(s){return s.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}const Hs={tooltipState:si("state",[ct("initial, void, hidden",xe({opacity:0,transform:"scale(0)"})),ct("visible",xe({transform:"scale(1)"})),At("* => visible",Rt("200ms cubic-bezier(0, 0, 0.2, 1)",ho([xe({opacity:0,transform:"scale(0)",offset:0}),xe({opacity:.5,transform:"scale(0.99)",offset:.5}),xe({opacity:1,transform:"scale(1)",offset:1})]))),At("* => hidden",Rt("100ms cubic-bezier(0, 0, 0.2, 1)",xe({opacity:0})))])},Vh="tooltip-panel",Rm=dn({passive:!0}),tu=new u.OlP("mat-tooltip-scroll-strategy"),Qn={provide:tu,deps:[In],useFactory:function Kh(s){return()=>s.scrollStrategies.reposition({scrollThrottle:20})}},Rv=new u.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Pv(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Xn=(()=>{class s{constructor(e,t,o,r,i,a,d,h,g,S,H,te){this._overlay=e,this._elementRef=t,this._scrollDispatcher=o,this._viewContainerRef=r,this._ngZone=i,this._platform=a,this._ariaDescriber=d,this._focusMonitor=h,this._dir=S,this._defaultOptions=H,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 Me.xQ,this._scrollStrategy=g,this._document=te,H&&(H.position&&(this.position=H.position),H.touchGestures&&(this.touchGestures=H.touchGestures)),S.change.pipe(_t(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=et(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=ln(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=ln(e)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).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(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(_t(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,o])=>{e.removeEventListener(t,o,Rm)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new Pn(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(_t(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return t.positionChanges.pipe(_t(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:`${this._cssClassPrefix}-${Vh}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(_t(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(_t(this._destroyed)).subscribe(()=>{var o;return null===(o=this._tooltipInstance)||void 0===o?void 0:o._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(_t(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!Ko(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,o=this._getOrigin(),r=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},o.main),r.main)),this._addOffset(Object.assign(Object.assign({},o.fallback),r.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let o;"above"==t||"below"==t?o={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?o={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(o={originX:"end",originY:"center"});const{x:r,y:i}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:r,originY:i}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let o;"above"==t?o={overlayX:"center",overlayY:"bottom"}:"below"==t?o={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?o={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(o={overlayX:"start",overlayY:"center"});const{x:r,y:i}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:r,overlayY:i}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Nt.q)(1),_t(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){const{overlayY:t,originX:o,originY:r}=e;let i;if(i="center"===t?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===t&&"top"===r?"above":"below",i!==this._currentPosition){const a=this._overlayRef;if(a){const d=`${this._cssClassPrefix}-${Vh}-`;a.removePanelClass(d+this._currentPosition),a.addPanelClass(d+i)}this._currentPosition=i}}_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 e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,o])=>{this._elementRef.nativeElement.addEventListener(t,o,Rm)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;t!==o&&!o.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,o=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===e||!t.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}}return s.\u0275fac=function(e){u.$Z()},s.\u0275dir=u.lG2({type:s,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),s})(),Fn=(()=>{class s extends Xn{constructor(e,t,o,r,i,a,d,h,g,S,H,te){super(e,t,o,r,i,a,d,h,g,S,H,te),this._tooltipComponent=Im}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(In),u.Y36(u.SBq),u.Y36(ld),u.Y36(u.s_b),u.Y36(u.R0b),u.Y36(ot),u.Y36(al),u.Y36(Go),u.Y36(tu),u.Y36(Fo,8),u.Y36(Rv,8),u.Y36(b.K0))},s.\u0275dir=u.lG2({type:s,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[u.qOj]}),s})(),Ln=(()=>{class s{constructor(e){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new Me.xQ}show(e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"===t&&!this.isVisible()&&this._onHide.next(),("visible"===t||"hidden"===t)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(u.sBO))},s.\u0275dir=u.lG2({type:s}),s})(),Im=(()=>{class s extends Ln{constructor(e,t){super(e),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(u.sBO),u.Y36(Mv))},s.\u0275cmp=u.Xpm({type:s,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){2&e&&u.Udp("zoom","visible"===t._visibility?1:null)},features:[u.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(u.TgZ(0,"div",0),u.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(r){return t._animationDone(r)}),u.ALo(1,"async"),u._uU(2),u.qZA()),2&e){let o;u.ekj("mat-tooltip-handset",null==(o=u.lcZ(1,5,t._isHandset))?null:o.matches),u.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),u.xp6(2),u.Oqu(t.message)}},directives:[b.mk],pipes:[b.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[Hs.tooltipState]},changeDetection:0}),s})(),Fr=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[Qn],imports:[[mg,b.ez,ls,qe],qe,hn]}),s})(),Uh=(()=>{class s{constructor(){this.changes=new Me.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,o)=>{if(0==o||0==t)return`0 of ${o}`;const r=e*t;return`${r+1} \u2013 ${r<(o=Math.max(o,0))?Math.min(r+t,o):r+t} of ${o}`}}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const zv={provide:Uh,deps:[[new u.FiY,new u.tp0,Uh]],useFactory:function Hm(s){return s||new Uh}};let zs=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[zv],imports:[[b.ez,Co,eu,Fr,qe]]}),s})();var Ga=v(943);const qh=["mat-menu-item",""];function zm(s,n){1&s&&(u.O4$(),u.TgZ(0,"svg",2),u._UZ(1,"polygon",3),u.qZA())}const $h=["*"];function Fm(s,n){if(1&s){const e=u.EpF();u.TgZ(0,"div",0),u.NdJ("keydown",function(o){return u.CHM(e),u.oxw()._handleKeydown(o)})("click",function(){return u.CHM(e),u.oxw().closed.emit("click")})("@transformMenu.start",function(o){return u.CHM(e),u.oxw()._onAnimationStart(o)})("@transformMenu.done",function(o){return u.CHM(e),u.oxw()._onAnimationDone(o)}),u.TgZ(1,"div",1),u.Hsn(2),u.qZA(),u.qZA()}if(2&s){const e=u.oxw();u.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),u.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const qa={transformMenu:si("transformMenu",[ct("void",xe({opacity:0,transform:"scale(0.8)"})),At("void => enter",Rt("120ms cubic-bezier(0, 0, 0.2, 1)",xe({opacity:1,transform:"scale(1)"}))),At("* => void",Rt("100ms 25ms linear",xe({opacity:0})))]),fadeInItems:si("fadeInItems",[ct("showing",xe({opacity:1})),At("void => *",[xe({opacity:0}),Rt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Lm=new u.OlP("MatMenuContent"),Wh=new u.OlP("MAT_MENU_PANEL"),Kv=Qo(ks(class{}));let nu=(()=>{class s extends Kv{constructor(e,t,o,r,i){var a;super(),this._elementRef=e,this._focusMonitor=o,this._parentMenu=r,this._changeDetectorRef=i,this.role="menuitem",this._hovered=new Me.xQ,this._focused=new Me.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(a=null==r?void 0:r.addItem)||void 0===a||a.call(r,this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const t=this._elementRef.nativeElement.cloneNode(!0),o=t.querySelectorAll("mat-icon, .material-icons");for(let r=0;r{class s{constructor(e,t,o){this._elementRef=e,this._ngZone=t,this._defaultOptions=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new u.n_E,this._tabSubscription=ei.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Me.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new u.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Gv++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=et(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=et(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ul(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(gn(this._directDescendantItems),(0,gi.w)(e=>(0,fi.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(gn(this._directDescendantItems),(0,gi.w)(t=>(0,fi.T)(...t.map(o=>o._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,o=this._keyManager;switch(t){case 27:Ko(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===t||40===t)&&o.setFocusOrigin("keyboard"),void o.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe((0,Nt.q)(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let o=this._directDescendantItems.first._getHostElement().parentElement;for(;o;){if("menu"===o.getAttribute("role")){o.focus();break}o=o.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),o=`${this._elevationPrefix}${t}`,r=Object.keys(this._classList).find(i=>i.startsWith(this._elevationPrefix));(!r||r===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(e=this.xPosition,t=this.yPosition){const o=this._classList;o["mat-menu-before"]="before"===e,o["mat-menu-after"]="after"===e,o["mat-menu-above"]="above"===t,o["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(gn(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(Bm))},s.\u0275dir=u.lG2({type:s,contentQueries:function(e,t,o){if(1&e&&(u.Suo(o,Lm,5),u.Suo(o,nu,5),u.Suo(o,nu,4)),2&e){let r;u.iGM(r=u.CRH())&&(t.lazyContent=r.first),u.iGM(r=u.CRH())&&(t._allItems=r),u.iGM(r=u.CRH())&&(t.items=r)}},viewQuery:function(e,t){if(1&e&&u.Gf(u.Rgc,5),2&e){let o;u.iGM(o=u.CRH())&&(t.templateRef=o.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),s})(),qv=(()=>{class s extends $a{constructor(e,t,o){super(e,t,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(Bm))},s.\u0275cmp=u.Xpm({type:s,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&u.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[u._Bn([{provide:Wh,useExisting:s}]),u.qOj],ngContentSelectors:$h,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(u.F$t(),u.YNc(0,Fm,3,6,"ng-template"))},directives:[b.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[qa.transformMenu,qa.fadeInItems]},changeDetection:0}),s})();const Nm=new u.OlP("mat-menu-scroll-strategy"),Wv={provide:Nm,deps:[In],useFactory:function $v(s){return()=>s.scrollStrategies.reposition()}},Yh=dn({passive:!0});let Vm=(()=>{class s{constructor(e,t,o,r,i,a,d,h){this._overlay=e,this._element=t,this._viewContainerRef=o,this._menuItemInstance=a,this._dir=d,this._focusMonitor=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=ei.w.EMPTY,this._hoverSubscription=ei.w.EMPTY,this._menuCloseSubscription=ei.w.EMPTY,this._handleTouchStart=g=>{fl(g)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new u.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new u.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=i instanceof $a?i:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,Yh),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),("click"===t||"tab"===t)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Yh),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig(),o=t.positionStrategy;this._setPosition(o),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof $a&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(_t(this.menu.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof $a?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,je.h)(o=>"void"===o.toState),(0,Nt.q)(1),_t(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Kc({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,o]="before"===this.menu.xPosition?["end","start"]:["start","end"],[r,i]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[a,d]=[r,i],[h,g]=[t,o],S=0;this.triggersSubmenu()?(g=t="before"===this.menu.xPosition?"start":"end",o=h="end"===t?"start":"end",S="bottom"===r?8:-8):this.menu.overlapTrigger||(a="top"===r?"bottom":"top",d="top"===i?"bottom":"top"),e.withPositions([{originX:t,originY:a,overlayX:h,overlayY:r,offsetY:S},{originX:o,originY:a,overlayX:g,overlayY:r,offsetY:S},{originX:t,originY:d,overlayX:h,overlayY:i,offsetY:-S},{originX:o,originY:d,overlayX:g,overlayY:i,offsetY:-S}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Pe.of)(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,je.h)(i=>i!==this._menuItemInstance),(0,je.h)(()=>this._menuOpen)):(0,Pe.of)();return(0,fi.T)(e,o,r,t)}_handleMousedown(e){va(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;(13===t||32===t)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,je.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,Ga.g)(0,od)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof $a&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Nt.q)(1),(0,Ga.g)(0,od),_t(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new jt(this.menu.templateRef,this._viewContainerRef)),this._portal}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(In),u.Y36(u.SBq),u.Y36(u.s_b),u.Y36(Nm),u.Y36(Wh,8),u.Y36(nu,10),u.Y36(Fo,8),u.Y36(Go))},s.\u0275dir=u.lG2({type:s,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&u.NdJ("click",function(r){return t._handleClick(r)})("mousedown",function(r){return t._handleMousedown(r)})("keydown",function(r){return t._handleKeydown(r)}),2&e&&u.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),s})(),Km=(()=>{class s extends Vm{}return s.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(s)))(t||s)}}(),s.\u0275dir=u.lG2({type:s,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[u.qOj]}),s})(),Wa=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[Wv],imports:[[b.ez,qe,Hn,ls],hn,qe]}),s})();var Ya=v(1737),Ni=v(7221);function ou(s){return n=>n.lift(new Um(s))}class Um{constructor(n){this.callback=n}call(n,e){return e.subscribe(new Gm(n,this.callback))}}class Gm extends Di.L{constructor(n,e){super(n),this.add(new ei.w(e))}}var Zh=v(2474);const Qh=["*"];let Jn;function Za(s){var n;return(null===(n=function Yv(){if(void 0===Jn&&(Jn=null,"undefined"!=typeof window)){const s=window;void 0!==s.trustedTypes&&(Jn=s.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Jn}())||void 0===n?void 0:n.createHTML(s))||s}function Lr(s){return Error(`Unable to find icon with the name "${s}"`)}function ru(s){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${s}".`)}function Zv(s){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${s}".`)}class or{constructor(n,e,t){this.url=n,this.svgText=e,this.options=t}}let Fs=(()=>{class s{constructor(e,t,o,r){this._httpClient=e,this._sanitizer=t,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=o}addSvgIcon(e,t,o){return this.addSvgIconInNamespace("",e,t,o)}addSvgIconLiteral(e,t,o){return this.addSvgIconLiteralInNamespace("",e,t,o)}addSvgIconInNamespace(e,t,o,r){return this._addSvgIconConfig(e,t,new or(o,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,o,r){const i=this._sanitizer.sanitize(u.q3G.HTML,o);if(!i)throw Zv(o);const a=Za(i);return this._addSvgIconConfig(e,t,new or("",a,r))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,o){return this._addSvgIconSetConfig(e,new or(t,null,o))}addSvgIconSetLiteralInNamespace(e,t,o){const r=this._sanitizer.sanitize(u.q3G.HTML,t);if(!r)throw Zv(t);const i=Za(r);return this._addSvgIconSetConfig(e,new or("",i,o))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(u.q3G.RESOURCE_URL,e);if(!t)throw ru(e);const o=this._cachedIconsByUrl.get(t);return o?(0,Pe.of)(su(o)):this._loadSvgIconFromConfig(new or(e,null)).pipe((0,Kt.b)(r=>this._cachedIconsByUrl.set(t,r)),(0,Ze.U)(r=>su(r)))}getNamedSvgIcon(e,t=""){const o=qm(t,e);let r=this._svgIconConfigs.get(o);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(t,e),r)return this._svgIconConfigs.set(o,r),this._getSvgFromConfig(r);const i=this._iconSetConfigs.get(t);return i?this._getSvgFromIconSetConfigs(e,i):(0,Ya._)(Lr(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Pe.of)(su(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,Ze.U)(t=>su(t)))}_getSvgFromIconSetConfigs(e,t){const o=this._extractIconWithNameFromAnySet(e,t);return o?(0,Pe.of)(o):kh(t.filter(i=>!i.svgText).map(i=>this._loadSvgIconSetFromConfig(i).pipe((0,Ni.K)(a=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(u.q3G.RESOURCE_URL,i.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(h)),(0,Pe.of)(null)})))).pipe((0,Ze.U)(()=>{const i=this._extractIconWithNameFromAnySet(e,t);if(!i)throw Lr(e);return i}))}_extractIconWithNameFromAnySet(e,t){for(let o=t.length-1;o>=0;o--){const r=t[o];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){const i=this._svgElementFromConfig(r),a=this._extractSvgIconFromSet(i,e,r.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,Kt.b)(t=>e.svgText=t),(0,Ze.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Pe.of)(null):this._fetchIcon(e).pipe((0,Kt.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,o){const r=e.querySelector(`[id="${t}"]`);if(!r)return null;const i=r.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i,o);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i),o);const a=this._svgElementFromString(Za(""));return a.appendChild(i),this._setSvgAttributes(a,o)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const o=t.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){const t=this._svgElementFromString(Za("")),o=e.attributes;for(let r=0;rZa(g)),ou(()=>this._inProgressUrlFetches.delete(a)),(0,Zh.B)());return this._inProgressUrlFetches.set(a,h),h}_addSvgIconConfig(e,t,o){return this._svgIconConfigs.set(qm(e,t),o),this}_addSvgIconSetConfig(e,t){const o=this._iconSetConfigs.get(e);return o?o.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let o=0;on?n.pathname+n.search:""}}}),Qa=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ut=Qa.map(s=>`[${s}]`).join(", "),IE=/^url\(['"]?#(.*?)['"]?\)$/;let lu=(()=>{class s extends au{constructor(e,t,o,r,i){super(e),this._iconRegistry=t,this._location=r,this._errorHandler=i,this._inline=!1,this._currentIconFetch=ei.w.EMPTY,o||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=et(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let r=0;r{o.forEach(i=>{r.setAttribute(i.name,`url('${e}#${i.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(Ut),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{const a=t[r],d=a.getAttribute(i),h=d?d.match(IE):null;if(h){let g=o.get(a);g||(g=[],o.set(a,g)),g.push({name:i,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,o]=this._splitIconName(e);t&&(this._svgNamespace=t),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,t).pipe((0,Nt.q)(1)).subscribe(r=>this._setSvgElement(r),r=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${o}! ${r.message}`))})}}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(u.SBq),u.Y36(Fs),u.$8M("aria-hidden"),u.Y36(Xv),u.Y36(u.qLn))},s.\u0275cmp=u.Xpm({type:s,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(u.uIk("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),u.ekj("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[u.qOj],ngContentSelectors:Qh,decls:1,vars:0,template:function(e,t){1&e&&(u.F$t(),u.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),s})(),To=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[qe],qe]}),s})(),Jv=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[],imports:[[zs,Wa,To,Co,Rs,b.ez]]}),s})();function Ym(){const s=new Fa;return s.disableClose=!0,s.autoFocus=!1,s}v(9441),new Intl.Collator("cs",{numeric:!0});class Zm{static passwordMatchValidator(n){const e=n.get("passwordCtrl").value,t=n.get("passwordAgainCtrl").value;return n.get("passwordAgainCtrl").setErrors(e!==t?{noPasswordMatch:!0}:null),null}static patternValidator(n){return e=>{if(!e.value)return null;let t=0;for(const o of n)t+=o.test(e.value)?1:0;return t>=3?null:{isWeak:!0}}}}var Qm=v(4450),Xm=v(1762);function Jm(s,n){let e=!1;return arguments.length>=2&&(e=!0),function(o){return o.lift(new ef(s,n,e))}}class ef{constructor(n,e,t=!1){this.accumulator=n,this.seed=e,this.hasSeed=t}call(n,e){return e.subscribe(new _A(n,this.accumulator,this.seed,this.hasSeed))}}class _A extends Di.L{constructor(n,e,t,o){super(n),this.accumulator=e,this._seed=t,this.hasSeed=o,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const e=this.index++;let t;try{t=this.accumulator(this.seed,n,e)}catch(o){this.destination.error(o)}this.seed=t,this.destination.next(t)}}var e_=v(4231);function fu(s){return function(e){return 0===s?(0,Jo.c)():e.lift(new yA(s))}}class yA{constructor(n){if(this.total=n,this.total<0)throw new e_.W}call(n,e){return e.subscribe(new wA(n,this.total))}}class wA extends Di.L{constructor(n,e){super(n),this.total=e,this.ring=new Array,this.count=0}_next(n){const e=this.ring,t=this.total,o=this.count++;e.length0){const t=this.count>=this.total?this.total:this.count,o=this.ring;for(let r=0;rs.length||"full"===e.pathMatch&&(n.hasChildren()||t.lengtht[r]===o)}return s===n}function d_(s){return Array.prototype.concat.apply([],s)}function Ns(s){return s.length>0?s[s.length-1]:null}function Gt(s,n){for(const e in s)s.hasOwnProperty(e)&&n(s[e],e)}function Vi(s){return(0,u.CqO)(s)?s:(0,u.QGY)(s)?(0,xi.D)(Promise.resolve(s)):(0,Pe.of)(s)}const iS={exact:function f_(s,n,e){if(!sr(s.segments,n.segments)||!js(s.segments,n.segments,e)||s.numberOfChildren!==n.numberOfChildren)return!1;for(const t in n.children)if(!s.children[t]||!f_(s.children[t],n.children[t],e))return!1;return!0},subset:cf},af={exact:function PA(s,n){return Bn(s,n)},subset:function IA(s,n){return Object.keys(n).length<=Object.keys(s).length&&Object.keys(n).every(e=>xA(s[e],n[e]))},ignored:()=>!0};function h_(s,n,e){return iS[e.paths](s.root,n.root,e.matrixParams)&&af[e.queryParams](s.queryParams,n.queryParams)&&!("exact"===e.fragment&&s.fragment!==n.fragment)}function cf(s,n,e){return p_(s,n,n.segments,e)}function p_(s,n,e,t){if(s.segments.length>e.length){const o=s.segments.slice(0,e.length);return!(!sr(o,e)||n.hasChildren()||!js(o,e,t))}if(s.segments.length===e.length){if(!sr(s.segments,e)||!js(s.segments,e,t))return!1;for(const o in n.children)if(!s.children[o]||!cf(s.children[o],n.children[o],t))return!1;return!0}{const o=e.slice(0,s.segments.length),r=e.slice(s.segments.length);return!!(sr(s.segments,o)&&js(s.segments,o,t)&&s.children[lt])&&p_(s.children[lt],n,r,t)}}function js(s,n,e){return n.every((t,o)=>af[e](s[o].parameters,t.parameters))}class eo{constructor(n,e,t){this.root=n,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=rr(this.queryParams)),this._queryParamMap}toString(){return lf.serialize(this)}}class rt{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Gt(e,(t,o)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return mu(this)}}class ec{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=rr(this.parameters)),this._parameterMap}toString(){return uf(this)}}function sr(s,n){return s.length===n.length&&s.every((e,t)=>e.path===n[t].path)}class m_{}class __{parse(n){const e=new LA(n);return new eo(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${_u(n.root,!0)}`,t=function nS(s){const n=Object.keys(s).map(e=>{const t=s[e];return Array.isArray(t)?t.map(o=>`${yu(e)}=${yu(o)}`).join("&"):`${yu(e)}=${yu(t)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${t}${"string"==typeof n.fragment?`#${function Vs(s){return encodeURI(s)}(n.fragment)}`:""}`}}const lf=new __;function mu(s){return s.segments.map(n=>uf(n)).join("/")}function _u(s,n){if(!s.hasChildren())return mu(s);if(n){const e=s.children[lt]?_u(s.children[lt],!1):"",t=[];return Gt(s.children,(o,r)=>{r!==lt&&t.push(`${r}:${_u(o,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function OA(s,n){let e=[];return Gt(s.children,(t,o)=>{o===lt&&(e=e.concat(n(t,o)))}),Gt(s.children,(t,o)=>{o!==lt&&(e=e.concat(n(t,o)))}),e}(s,(t,o)=>o===lt?[_u(s.children[lt],!1)]:[`${o}:${_u(t,!1)}`]);return 1===Object.keys(s.children).length&&null!=s.children[lt]?`${mu(s)}/${e[0]}`:`${mu(s)}/(${e.join("//")})`}}function y_(s){return encodeURIComponent(s).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function yu(s){return y_(s).replace(/%3B/gi,";")}function wu(s){return y_(s).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function So(s){return decodeURIComponent(s)}function HA(s){return So(s.replace(/\+/g,"%20"))}function uf(s){return`${wu(s.path)}${function zA(s){return Object.keys(s).map(n=>`;${wu(n)}=${wu(s[n])}`).join("")}(s.parameters)}`}const w_=/^[^\/()?;=#]+/;function df(s){const n=s.match(w_);return n?n[0]:""}const b_=/^[^=?&#]+/,FA=/^[^&#]+/;class LA{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new rt([],{}):new rt([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(t[lt]=new rt(n,e)),t}parseSegment(){const n=df(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(n),new ec(So(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=df(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const o=df(this.remaining);o&&(t=o,this.capture(t))}n[So(e)]=So(t)}parseQueryParam(n){const e=function hf(s){const n=s.match(b_);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const i=function v_(s){const n=s.match(FA);return n?n[0]:""}(this.remaining);i&&(t=i,this.capture(t))}const o=HA(e),r=HA(t);if(n.hasOwnProperty(o)){let i=n[o];Array.isArray(i)||(i=[i],n[o]=i),i.push(r)}else n[o]=r}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=df(this.remaining),o=this.remaining[t.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error(`Cannot parse url '${this.url}'`);let r;t.indexOf(":")>-1?(r=t.substr(0,t.indexOf(":")),this.capture(r),this.capture(":")):n&&(r=lt);const i=this.parseChildren();e[r]=1===Object.keys(i).length?i[lt]:new rt([],i),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new Error(`Expected "${n}".`)}}class A_{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=ff(n,this._root);return e?e.children.map(t=>t.value):[]}firstChild(n){const e=ff(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=pf(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return pf(n,this._root).map(e=>e.value)}}function ff(s,n){if(s===n.value)return n;for(const e of n.children){const t=ff(s,e);if(t)return t}return null}function pf(s,n){if(s===n.value)return[n];for(const e of n.children){const t=pf(s,e);if(t.length)return t.unshift(n),t}return[]}class ko{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ks(s){const n={};return s&&s.children.forEach(e=>n[e.value.outlet]=e),n}class C_ extends A_{constructor(n,e){super(n),this.snapshot=e,bu(this,n)}toString(){return this.snapshot.toString()}}function T_(s,n){const e=function tc(s,n){const i=new ic([],{},{},"",{},lt,n,null,s.root,-1,{});return new mf("",new ko(i,[]))}(s,n),t=new bi([new ec("",{})]),o=new bi({}),r=new bi({}),i=new bi({}),a=new bi(""),d=new Do(t,o,i,a,r,lt,n,e.root);return d.snapshot=e.root,new C_(new ko(d,[]),e)}class Do{constructor(n,e,t,o,r,i,a,d){this.url=n,this.params=e,this.queryParams=t,this.fragment=o,this.data=r,this.outlet=i,this.component=a,this._futureSnapshot=d}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,Ze.U)(n=>rr(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ze.U)(n=>rr(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function gf(s,n="emptyOnly"){const e=s.pathFromRoot;let t=0;if("always"!==n)for(t=e.length-1;t>=1;){const o=e[t],r=e[t-1];if(o.routeConfig&&""===o.routeConfig.path)t--;else{if(r.component)break;t--}}return function E_(s){return s.reduce((n,e)=>({params:Object.assign(Object.assign({},n.params),e.params),data:Object.assign(Object.assign({},n.data),e.data),resolve:Object.assign(Object.assign({},n.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class ic{constructor(n,e,t,o,r,i,a,d,h,g,S){this.url=n,this.params=e,this.queryParams=t,this.fragment=o,this.data=r,this.outlet=i,this.component=a,this.routeConfig=d,this._urlSegment=h,this._lastPathIndex=g,this._resolve=S}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=rr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=rr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class mf extends A_{constructor(n,e){super(e),this.url=n,bu(this,e)}toString(){return S_(this._root)}}function bu(s,n){n.value._routerState=s,n.children.forEach(e=>bu(s,e))}function S_(s){const n=s.children.length>0?` { ${s.children.map(S_).join(", ")} } `:"";return`${s.value}${n}`}function vu(s){if(s.snapshot){const n=s.snapshot,e=s._futureSnapshot;s.snapshot=e,Bn(n.queryParams,e.queryParams)||s.queryParams.next(e.queryParams),n.fragment!==e.fragment&&s.fragment.next(e.fragment),Bn(n.params,e.params)||s.params.next(e.params),function MA(s,n){if(s.length!==n.length)return!1;for(let e=0;eBn(e.parameters,n[t].parameters))}(s.url,n.url);return e&&!(!s.parent!=!n.parent)&&(!s.parent||Au(s.parent,n.parent))}function nc(s,n,e){if(e&&s.shouldReuseRoute(n.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=n.value;const o=function BA(s,n,e){return n.children.map(t=>{for(const o of e.children)if(s.shouldReuseRoute(t.value,o.value.snapshot))return nc(s,t,o);return nc(s,t)})}(s,n,e);return new ko(t,o)}{if(s.shouldAttach(n.value)){const r=s.retrieve(n.value);if(null!==r){const i=r.route;return i.value._futureSnapshot=n.value,i.children=n.children.map(a=>nc(s,a)),i}}const t=function oc(s){return new Do(new bi(s.url),new bi(s.params),new bi(s.queryParams),new bi(s.fragment),new bi(s.data),s.outlet,s.component,s)}(n.value),o=n.children.map(r=>nc(s,r));return new ko(t,o)}}function Us(s){return"object"==typeof s&&null!=s&&!s.outlets&&!s.segmentPath}function Ki(s){return"object"==typeof s&&null!=s&&s.outlets}function _f(s,n,e,t,o){let r={};return t&&Gt(t,(i,a)=>{r[a]=Array.isArray(i)?i.map(d=>`${d}`):`${i}`}),new eo(e.root===s?n:rc(e.root,s,n),r,o)}function rc(s,n,e){const t={};return Gt(s.children,(o,r)=>{t[r]=o===n?e:rc(o,n,e)}),new rt(s.segments,t)}class Gs{constructor(n,e,t){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=t,n&&t.length>0&&Us(t[0]))throw new Error("Root segment cannot have matrix parameters");const o=t.find(Ki);if(o&&o!==Ns(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class yf{constructor(n,e,t){this.segmentGroup=n,this.processChildren=e,this.index=t}}function D_(s,n,e){if(s||(s=new rt([],{})),0===s.segments.length&&s.hasChildren())return Eu(s,n,e);const t=function M_(s,n,e){let t=0,o=n;const r={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return r;const i=s.segments[o],a=e[t];if(Ki(a))break;const d=`${a}`,h=t0&&void 0===d)break;if(d&&h&&"object"==typeof h&&void 0===h.outlets){if(!x_(d,h,i))return r;t+=2}else{if(!x_(d,{},i))return r;t++}o++}return{match:!0,pathIndex:o,commandIndex:t}}(s,n,e),o=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof r&&(r=[r]),null!==r&&(o[i]=D_(s.children[i],n,r))}),Gt(s.children,(r,i)=>{void 0===t[i]&&(o[i]=r)}),new rt(s.segments,o)}}function Su(s,n,e){const t=s.segments.slice(0,n);let o=0;for(;o{"string"==typeof e&&(e=[e]),null!==e&&(n[t]=Su(new rt([],{}),0,e))}),n}function bf(s){const n={};return Gt(s,(e,t)=>n[t]=`${e}`),n}function x_(s,n,e){return s==e.path&&Bn(n,e.parameters)}class oS{constructor(n,e,t,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=t,this.forwardEvent=o}activate(n){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,n),vu(this.futureState.root),this.activateChildRoutes(e,t,n)}deactivateChildRoutes(n,e,t){const o=Ks(e);n.children.forEach(r=>{const i=r.value.outlet;this.deactivateRoutes(r,o[i],t),delete o[i]}),Gt(o,(r,i)=>{this.deactivateRouteAndItsChildren(r,t)})}deactivateRoutes(n,e,t){const o=n.value,r=e?e.value:null;if(o===r)if(o.component){const i=t.getContext(o.outlet);i&&this.deactivateChildRoutes(n,e,i.children)}else this.deactivateChildRoutes(n,e,t);else r&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const t=e.getContext(n.value.outlet),o=t&&n.value.component?t.children:e,r=Ks(n);for(const i of Object.keys(r))this.deactivateRouteAndItsChildren(r[i],o);if(t&&t.outlet){const i=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:i,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const t=e.getContext(n.value.outlet),o=t&&n.value.component?t.children:e,r=Ks(n);for(const i of Object.keys(r))this.deactivateRouteAndItsChildren(r[i],o);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(n,e,t){const o=Ks(e);n.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],t),this.forwardEvent(new c_(r.value.snapshot))}),n.children.length&&this.forwardEvent(new rf(n.value.snapshot))}activateRoutes(n,e,t){const o=n.value,r=e?e.value:null;if(vu(o),o===r)if(o.component){const i=t.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,i.children)}else this.activateChildRoutes(n,e,t);else if(o.component){const i=t.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),vu(a.route.value),this.activateChildRoutes(n,null,i.children)}else{const a=function vf(s){for(let n=s.parent;n;n=n.parent){const e=n.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(o.snapshot),d=a?a.module.componentFactoryResolver:null;i.attachRef=null,i.route=o,i.resolver=d,i.outlet&&i.outlet.activateWith(o,d),this.activateChildRoutes(n,null,i.children)}}else this.activateChildRoutes(n,null,t)}}class sc{constructor(n,e){this.routes=n,this.module=e}}function Mo(s){return"function"==typeof s}function xo(s){return s instanceof eo}const qs=Symbol("INITIAL_VALUE");function Br(){return(0,gi.w)(s=>(0,Nh.aj)(s.map(n=>n.pipe((0,Nt.q)(1),gn(qs)))).pipe(Jm((n,e)=>{let t=!1;return e.reduce((o,r,i)=>o!==qs?o:(r===qs&&(t=!0),t||!1!==r&&i!==e.length-1&&!xo(r)?o:r),n)},qs),(0,je.h)(n=>n!==qs),(0,Ze.U)(n=>xo(n)?n:!0===n),(0,Nt.q)(1)))}class R_{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new $s,this.attachRef=null}}class $s{constructor(){this.contexts=new Map}onChildOutletCreated(n,e){const t=this.getOrCreateContext(n);t.outlet=e,this.contexts.set(n,t)}onChildOutletDestroyed(n){const e=this.getContext(n);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let e=this.getContext(n);return e||(e=new R_,this.contexts.set(n,e)),e}getContext(n){return this.contexts.get(n)||null}}let Cf=(()=>{class s{constructor(e,t,o,r,i){this.parentContexts=e,this.location=t,this.resolver=o,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new u.vpe,this.deactivateEvents=new u.vpe,this.attachEvents=new u.vpe,this.detachEvents=new u.vpe,this.name=r||lt,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const i=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,d=new P_(e,a,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,d),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return s.\u0275fac=function(e){return new(e||s)(u.Y36($s),u.Y36(u.s_b),u.Y36(u._Vd),u.$8M("name"),u.Y36(u.sBO))},s.\u0275dir=u.lG2({type:s,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),s})();class P_{constructor(n,e,t){this.route=n,this.childContexts=e,this.parent=t}get(n,e){return n===Do?this.route:n===$s?this.childContexts:this.parent.get(n,e)}}let I_=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=u.Xpm({type:s,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&u._UZ(0,"router-outlet")},directives:[Cf],encapsulation:2}),s})();function Tf(s,n=""){for(let e=0;eTn(t)===n);return e.push(...s.filter(t=>Tn(t)!==n)),e}const Nr={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Du(s,n,e){var t;if(""===n.path)return"full"===n.pathMatch&&(s.hasChildren()||e.length>0)?Object.assign({},Nr):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(n.matcher||u_)(e,s,n);if(!r)return Object.assign({},Nr);const i={};Gt(r.posParams,(d,h)=>{i[h]=d.path});const a=r.consumed.length>0?Object.assign(Object.assign({},i),r.consumed[r.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a,positionalParamSegments:null!==(t=r.posParams)&&void 0!==t?t:{}}}function Mu(s,n,e,t,o="corrected"){if(e.length>0&&function YA(s,n,e){return e.some(t=>xu(s,n,t)&&Tn(t)!==lt)}(s,e,t)){const i=new rt(n,function ac(s,n,e,t){const o={};o[lt]=t,t._sourceSegment=s,t._segmentIndexShift=n.length;for(const r of e)if(""===r.path&&Tn(r)!==lt){const i=new rt([],{});i._sourceSegment=s,i._segmentIndexShift=n.length,o[Tn(r)]=i}return o}(s,n,t,new rt(e,s.children)));return i._sourceSegment=s,i._segmentIndexShift=n.length,{segmentGroup:i,slicedSegments:[]}}if(0===e.length&&function Ef(s,n,e){return e.some(t=>xu(s,n,t))}(s,e,t)){const i=new rt(s.segments,function rS(s,n,e,t,o,r){const i={};for(const a of t)if(xu(s,e,a)&&!o[Tn(a)]){const d=new rt([],{});d._sourceSegment=s,d._segmentIndexShift="legacy"===r?s.segments.length:n.length,i[Tn(a)]=d}return Object.assign(Object.assign({},o),i)}(s,n,e,t,s.children,o));return i._sourceSegment=s,i._segmentIndexShift=n.length,{segmentGroup:i,slicedSegments:e}}const r=new rt(s.segments,s.children);return r._sourceSegment=s,r._segmentIndexShift=n.length,{segmentGroup:r,slicedSegments:e}}function xu(s,n,e){return(!(s.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function Sf(s,n,e,t){return!!(Tn(s)===t||t!==lt&&xu(n,e,s))&&("**"===s.path||Du(n,s,e).matched)}function H_(s,n,e){return 0===n.length&&!s.children[e]}class cc{constructor(n){this.segmentGroup=n||null}}class Ru{constructor(n){this.urlTree=n}}function lc(s){return new wi.y(n=>n.error(new cc(s)))}function kf(s){return new wi.y(n=>n.error(new Ru(s)))}function Pu(s){return new wi.y(n=>n.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${s}'`)))}class z_{constructor(n,e,t,o,r){this.configLoader=e,this.urlSerializer=t,this.urlTree=o,this.config=r,this.allowRedirects=!0,this.ngModule=n.get(u.h0i)}apply(){const n=Mu(this.urlTree.root,[],[],this.config).segmentGroup,e=new rt(n.segments,n.children);return this.expandSegmentGroup(this.ngModule,this.config,e,lt).pipe((0,Ze.U)(r=>this.createUrlTree(Iu(r),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Ni.K)(r=>{if(r instanceof Ru)return this.allowRedirects=!1,this.match(r.urlTree);throw r instanceof cc?this.noMatchError(r):r}))}match(n){return this.expandSegmentGroup(this.ngModule,this.config,n.root,lt).pipe((0,Ze.U)(o=>this.createUrlTree(Iu(o),n.queryParams,n.fragment))).pipe((0,Ni.K)(o=>{throw o instanceof cc?this.noMatchError(o):o}))}noMatchError(n){return new Error(`Cannot match any routes. URL Segment: '${n.segmentGroup}'`)}createUrlTree(n,e,t){const o=n.segments.length>0?new rt([],{[lt]:n}):n;return new eo(o,e,t)}expandSegmentGroup(n,e,t,o){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(n,e,t).pipe((0,Ze.U)(r=>new rt([],r))):this.expandSegment(n,t,e,t.segments,o,!0)}expandChildren(n,e,t){const o=[];for(const r of Object.keys(t.children))"primary"===r?o.unshift(r):o.push(r);return(0,xi.D)(o).pipe((0,tr.b)(r=>{const i=t.children[r],a=Ci(e,r);return this.expandSegmentGroup(n,a,i,r).pipe((0,Ze.U)(d=>({segment:d,outlet:r})))}),Jm((r,i)=>(r[i.outlet]=i.segment,r),{}),function t_(s,n){const e=arguments.length>=2;return t=>t.pipe(s?(0,je.h)((o,r)=>s(o,r,t)):vA.y,fu(1),e?(0,tf.d)(n):(0,bA.T)(()=>new Qm.K))}())}expandSegment(n,e,t,o,r,i){return(0,xi.D)(t).pipe((0,tr.b)(a=>this.expandSegmentAgainstRoute(n,e,t,a,o,r,i).pipe((0,Ni.K)(h=>{if(h instanceof cc)return(0,Pe.of)(null);throw h}))),(0,Ls.P)(a=>!!a),(0,Ni.K)((a,d)=>{if(a instanceof Qm.K||"EmptyError"===a.name){if(H_(e,o,r))return(0,Pe.of)(new rt([],{}));throw new cc(e)}throw a}))}expandSegmentAgainstRoute(n,e,t,o,r,i,a){return Sf(o,e,r,i)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(n,e,o,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,t,o,r,i):lc(e):lc(e)}expandSegmentAgainstRouteUsingRedirect(n,e,t,o,r,i){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,o,i):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,t,o,r,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,t,o){const r=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?kf(r):this.lineralizeSegments(t,r).pipe((0,ji.zg)(i=>{const a=new rt(i,{});return this.expandSegment(n,a,e,i,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,t,o,r,i){const{matched:a,consumedSegments:d,lastChild:h,positionalParamSegments:g}=Du(e,o,r);if(!a)return lc(e);const S=this.applyRedirectCommands(d,o.redirectTo,g);return o.redirectTo.startsWith("/")?kf(S):this.lineralizeSegments(o,S).pipe((0,ji.zg)(H=>this.expandSegment(n,e,t,H.concat(r.slice(h)),i,!1)))}matchSegmentAgainstRoute(n,e,t,o,r){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Pe.of)(t._loadedConfig):this.configLoader.load(n.injector,t)).pipe((0,Ze.U)(H=>(t._loadedConfig=H,new rt(o,{})))):(0,Pe.of)(new rt(o,{}));const{matched:i,consumedSegments:a,lastChild:d}=Du(e,t,o);if(!i)return lc(e);const h=o.slice(d);return this.getChildConfig(n,t,o).pipe((0,ji.zg)(S=>{const H=S.module,te=S.routes,{segmentGroup:he,slicedSegments:_e}=Mu(e,a,h,te),Ee=new rt(he.segments,he.children);if(0===_e.length&&Ee.hasChildren())return this.expandChildren(H,te,Ee).pipe((0,Ze.U)(zt=>new rt(a,zt)));if(0===te.length&&0===_e.length)return(0,Pe.of)(new rt(a,{}));const gt=Tn(t)===r;return this.expandSegment(H,Ee,te,_e,gt?lt:r,!0).pipe((0,Ze.U)(yt=>new rt(a.concat(yt.segments),yt.children)))}))}getChildConfig(n,e,t){return e.children?(0,Pe.of)(new sc(e.children,n)):e.loadChildren?void 0!==e._loadedConfig?(0,Pe.of)(e._loadedConfig):this.runCanLoadGuards(n.injector,e,t).pipe((0,ji.zg)(o=>o?this.configLoader.load(n.injector,e).pipe((0,Ze.U)(r=>(e._loadedConfig=r,r))):function Df(s){return new wi.y(n=>n.error(gu(`Cannot load children because the guard of the route "path: '${s.path}'" returned false`)))}(e))):(0,Pe.of)(new sc([],n))}runCanLoadGuards(n,e,t){const o=e.canLoad;if(!o||0===o.length)return(0,Pe.of)(!0);const r=o.map(i=>{const a=n.get(i);let d;if(function UA(s){return s&&Mo(s.canLoad)}(a))d=a.canLoad(e,t);else{if(!Mo(a))throw new Error("Invalid CanLoad guard");d=a(e,t)}return Vi(d)});return(0,Pe.of)(r).pipe(Br(),(0,Kt.b)(i=>{if(!xo(i))return;const a=gu(`Redirecting to "${this.urlSerializer.serialize(i)}"`);throw a.url=i,a}),(0,Ze.U)(i=>!0===i))}lineralizeSegments(n,e){let t=[],o=e.root;for(;;){if(t=t.concat(o.segments),0===o.numberOfChildren)return(0,Pe.of)(t);if(o.numberOfChildren>1||!o.children[lt])return Pu(n.redirectTo);o=o.children[lt]}}applyRedirectCommands(n,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),n,t)}applyRedirectCreatreUrlTree(n,e,t,o){const r=this.createSegmentGroup(n,e.root,t,o);return new eo(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const t={};return Gt(n,(o,r)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);t[r]=e[a]}else t[r]=o}),t}createSegmentGroup(n,e,t,o){const r=this.createSegments(n,e.segments,t,o);let i={};return Gt(e.children,(a,d)=>{i[d]=this.createSegmentGroup(n,a,t,o)}),new rt(r,i)}createSegments(n,e,t,o){return e.map(r=>r.path.startsWith(":")?this.findPosParam(n,r,o):this.findOrReturn(r,t))}findPosParam(n,e,t){const o=t[e.path.substring(1)];if(!o)throw new Error(`Cannot redirect to '${n}'. Cannot find '${e.path}'.`);return o}findOrReturn(n,e){let t=0;for(const o of e){if(o.path===n.path)return e.splice(t),o;t++}return n}}function Iu(s){const n={};for(const t of Object.keys(s.children)){const r=Iu(s.children[t]);(r.segments.length>0||r.hasChildren())&&(n[t]=r)}return function ZA(s){if(1===s.numberOfChildren&&s.children[lt]){const n=s.children[lt];return new rt(s.segments.concat(n.segments),n.children)}return s}(new rt(s.segments,n))}class Mf{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Hu{constructor(n,e){this.component=n,this.route=e}}function xf(s,n,e){const t=s._root;return uc(t,n?n._root:null,e,[t.value])}function Pf(s,n,e){const t=function QA(s){if(!s)return null;for(let n=s.parent;n;n=n.parent){const e=n.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(n);return(t?t.module.injector:e).get(s)}function uc(s,n,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=Ks(n);return s.children.forEach(i=>{(function F_(s,n,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=s.value,i=n?n.value:null,a=e?e.getContext(s.value.outlet):null;if(i&&r.routeConfig===i.routeConfig){const d=function L_(s,n,e){if("function"==typeof e)return e(s,n);switch(e){case"pathParamsChange":return!sr(s.url,n.url);case"pathParamsOrQueryParamsChange":return!sr(s.url,n.url)||!Bn(s.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Au(s,n)||!Bn(s.queryParams,n.queryParams);default:return!Au(s,n)}}(i,r,r.routeConfig.runGuardsAndResolvers);d?o.canActivateChecks.push(new Mf(t)):(r.data=i.data,r._resolvedData=i._resolvedData),uc(s,n,r.component?a?a.children:null:e,t,o),d&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Hu(a.outlet.component,i))}else i&&dc(n,a,o),o.canActivateChecks.push(new Mf(t)),uc(s,null,r.component?a?a.children:null:e,t,o)})(i,r[i.value.outlet],e,t.concat([i.value]),o),delete r[i.value.outlet]}),Gt(r,(i,a)=>dc(i,e.getContext(a),o)),o}function dc(s,n,e){const t=Ks(s),o=s.value;Gt(t,(r,i)=>{dc(r,o.component?n?n.children.getContext(i):null:n,e)}),e.canDeactivateChecks.push(new Hu(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}class U_{}function If(s){return new wi.y(n=>n.error(s))}class iC{constructor(n,e,t,o,r,i){this.rootComponentType=n,this.config=e,this.urlTree=t,this.url=o,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=i}recognize(){const n=Mu(this.urlTree.root,[],[],this.config.filter(i=>void 0===i.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,n,lt);if(null===e)return null;const t=new ic([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},lt,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new ko(t,e),r=new mf(this.url,o);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(n){const e=n.value,t=gf(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(n,e):this.processSegment(n,e,e.segments,t)}processChildren(n,e){const t=[];for(const r of Object.keys(e.children)){const i=e.children[r],a=Ci(n,r),d=this.processSegmentGroup(a,i,r);if(null===d)return null;t.push(...d)}const o=nC(t);return function aS(s){s.sort((n,e)=>n.value.outlet===lt?-1:e.value.outlet===lt?1:n.value.outlet.localeCompare(e.value.outlet))}(o),o}processSegment(n,e,t,o){for(const r of n){const i=this.processSegmentAgainstRoute(r,e,t,o);if(null!==i)return i}return H_(e,t,o)?[]:null}processSegmentAgainstRoute(n,e,t,o){if(n.redirectTo||!Sf(n,e,t,o))return null;let r,i=[],a=[];if("**"===n.path){const te=t.length>0?Ns(t).parameters:{};r=new ic(t,te,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,sC(n),Tn(n),n.component,n,oC(e),rC(e)+t.length,aC(n))}else{const te=Du(e,n,t);if(!te.matched)return null;i=te.consumedSegments,a=t.slice(te.lastChild),r=new ic(i,te.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,sC(n),Tn(n),n.component,n,oC(e),rC(e)+i.length,aC(n))}const d=function G_(s){return s.children?s.children:s.loadChildren?s._loadedConfig.routes:[]}(n),{segmentGroup:h,slicedSegments:g}=Mu(e,i,a,d.filter(te=>void 0===te.redirectTo),this.relativeLinkResolution);if(0===g.length&&h.hasChildren()){const te=this.processChildren(d,h);return null===te?null:[new ko(r,te)]}if(0===d.length&&0===g.length)return[new ko(r,[])];const S=Tn(n)===o,H=this.processSegment(d,h,g,S?lt:o);return null===H?null:[new ko(r,H)]}}function cS(s){const n=s.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function nC(s){const n=[],e=new Set;for(const t of s){if(!cS(t)){n.push(t);continue}const o=n.find(r=>t.value.routeConfig===r.value.routeConfig);void 0!==o?(o.children.push(...t.children),e.add(o)):n.push(t)}for(const t of e){const o=nC(t.children);n.push(new ko(t.value,o))}return n.filter(t=>!e.has(t))}function oC(s){let n=s;for(;n._sourceSegment;)n=n._sourceSegment;return n}function rC(s){let n=s,e=n._segmentIndexShift?n._segmentIndexShift:0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift?n._segmentIndexShift:0;return e-1}function sC(s){return s.data||{}}function aC(s){return s.resolve||{}}function jr(s){return[...Object.keys(s),...Object.getOwnPropertySymbols(s)]}function Hf(s){return(0,gi.w)(n=>{const e=s(n);return e?(0,xi.D)(e).pipe((0,Ze.U)(()=>n)):(0,Pe.of)(n)})}class $_ extends class zf{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}{}const Fu=new u.OlP("ROUTES");class Ff{constructor(n,e,t,o){this.injector=n,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=o}load(n,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const o=this.loadModuleFactory(e.loadChildren).pipe((0,Ze.U)(r=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=r.create(n);return new sc(d_(i.injector.get(Fu,void 0,u.XFs.Self|u.XFs.Optional)).map(ku),i)}),(0,Ni.K)(r=>{throw e._loader$=void 0,r}));return e._loader$=new Xm.c(o,()=>new Me.xQ).pipe((0,AA.x)()),e._loader$}loadModuleFactory(n){return Vi(n()).pipe((0,ji.zg)(e=>e instanceof u.YKP?(0,Pe.of)(e):(0,xi.D)(this.compiler.compileModuleAsync(e))))}}class W_{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,e){return n}}function Lu(s){throw s}function Y_(s,n,e){return n.parse("/")}function lC(s,n){return(0,Pe.of)(null)}const hS={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},fS={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ri=(()=>{class s{constructor(e,t,o,r,i,a,d){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=o,this.location=r,this.config=d,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Me.xQ,this.errorHandler=Lu,this.malformedUriErrorHandler=Y_,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:lC,afterPreactivation:lC},this.urlHandlingStrategy=new W_,this.routeReuseStrategy=new $_,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=i.get(u.h0i),this.console=i.get(u.c2e);const S=i.get(u.R0b);this.isNgZoneEnabled=S instanceof u.R0b&&u.R0b.isInAngularZone(),this.resetConfig(d),this.currentUrlTree=function RA(){return new eo(new rt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ff(i,a,H=>this.triggerEvent(new s_(H)),H=>this.triggerEvent(new a_(H))),this.routerState=T_(this.currentUrlTree,this.rootComponentType),this.transitions=new bi({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const t=this.events;return e.pipe((0,je.h)(o=>0!==o.id),(0,Ze.U)(o=>Object.assign(Object.assign({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),(0,gi.w)(o=>{let r=!1,i=!1;return(0,Pe.of)(o).pipe((0,Kt.b)(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,gi.w)(a=>{const d=this.browserUrlTree.toString(),h=!this.navigated||a.extractedUrl.toString()!==d||d!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||h)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Bu(a.source)&&(this.browserUrlTree=a.extractedUrl),(0,Pe.of)(a).pipe((0,gi.w)(S=>{const H=this.transitions.getValue();return t.next(new nf(S.id,this.serializeUrl(S.extractedUrl),S.source,S.restoredState)),H!==this.transitions.getValue()?Jo.E:Promise.resolve(S)}),function Ou(s,n,e,t){return(0,gi.w)(o=>function sS(s,n,e,t,o){return new z_(s,n,e,t,o).apply()}(s,n,e,o.extractedUrl,t).pipe((0,Ze.U)(r=>Object.assign(Object.assign({},o),{urlAfterRedirects:r}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Kt.b)(S=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:S.urlAfterRedirects})}),function lS(s,n,e,t,o){return(0,ji.zg)(r=>function tC(s,n,e,t,o="emptyOnly",r="legacy"){try{const i=new iC(s,n,e,t,o,r).recognize();return null===i?If(new U_):(0,Pe.of)(i)}catch(i){return If(i)}}(s,n,r.urlAfterRedirects,e(r.urlAfterRedirects),t,o).pipe((0,Ze.U)(i=>Object.assign(Object.assign({},r),{targetSnapshot:i}))))}(this.rootComponentType,this.config,S=>this.serializeUrl(S),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Kt.b)(S=>{if("eager"===this.urlUpdateStrategy){if(!S.extras.skipLocationChange){const te=this.urlHandlingStrategy.merge(S.urlAfterRedirects,S.rawUrl);this.setBrowserUrl(te,S)}this.browserUrlTree=S.urlAfterRedirects}const H=new n_(S.id,this.serializeUrl(S.extractedUrl),this.serializeUrl(S.urlAfterRedirects),S.targetSnapshot);t.next(H)}));if(h&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:H,extractedUrl:te,source:he,restoredState:_e,extras:Ee}=a,gt=new nf(H,this.serializeUrl(te),he,_e);t.next(gt);const Pt=T_(te,this.rootComponentType).snapshot;return(0,Pe.of)(Object.assign(Object.assign({},a),{targetSnapshot:Pt,urlAfterRedirects:te,extras:Object.assign(Object.assign({},Ee),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),Jo.E}),Hf(a=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:S,extras:{skipLocationChange:H,replaceUrl:te}}=a;return this.hooks.beforePreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:S,skipLocationChange:!!H,replaceUrl:!!te})}),(0,Kt.b)(a=>{const d=new o_(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(d)}),(0,Ze.U)(a=>Object.assign(Object.assign({},a),{guards:xf(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function B_(s,n){return(0,ji.zg)(e=>{const{targetSnapshot:t,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:i}}=e;return 0===i.length&&0===r.length?(0,Pe.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function N_(s,n,e,t){return(0,xi.D)(s).pipe((0,ji.zg)(o=>function K_(s,n,e,t,o){const r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!r||0===r.length)return(0,Pe.of)(!0);const i=r.map(a=>{const d=Pf(a,n,o);let h;if(function $A(s){return s&&Mo(s.canDeactivate)}(d))h=Vi(d.canDeactivate(s,n,e,t));else{if(!Mo(d))throw new Error("Invalid CanDeactivate guard");h=Vi(d(s,n,e,t))}return h.pipe((0,Ls.P)())});return(0,Pe.of)(i).pipe(Br())}(o.component,o.route,e,n,t)),(0,Ls.P)(o=>!0!==o,!0))}(i,t,o,s).pipe((0,ji.zg)(a=>a&&function Af(s){return"boolean"==typeof s}(a)?function XA(s,n,e,t){return(0,xi.D)(n).pipe((0,tr.b)(o=>ms(function j_(s,n){return null!==s&&n&&n(new SA(s)),(0,Pe.of)(!0)}(o.route.parent,t),function JA(s,n){return null!==s&&n&&n(new sf(s)),(0,Pe.of)(!0)}(o.route,t),function V_(s,n,e){const t=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(i=>function Rf(s){const n=s.routeConfig?s.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:s,guards:n}:null}(i)).filter(i=>null!==i).map(i=>Ds(()=>{const a=i.guards.map(d=>{const h=Pf(d,i.node,e);let g;if(function qA(s){return s&&Mo(s.canActivateChild)}(h))g=Vi(h.canActivateChild(t,s));else{if(!Mo(h))throw new Error("Invalid CanActivateChild guard");g=Vi(h(t,s))}return g.pipe((0,Ls.P)())});return(0,Pe.of)(a).pipe(Br())}));return(0,Pe.of)(r).pipe(Br())}(s,o.path,e),function eC(s,n,e){const t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Pe.of)(!0);const o=t.map(r=>Ds(()=>{const i=Pf(r,n,e);let a;if(function GA(s){return s&&Mo(s.canActivate)}(i))a=Vi(i.canActivate(n,s));else{if(!Mo(i))throw new Error("Invalid CanActivate guard");a=Vi(i(n,s))}return a.pipe((0,Ls.P)())}));return(0,Pe.of)(o).pipe(Br())}(s,o.route,e))),(0,Ls.P)(o=>!0!==o,!0))}(t,r,s,n):(0,Pe.of)(a)),(0,Ze.U)(a=>Object.assign(Object.assign({},e),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),(0,Kt.b)(a=>{if(xo(a.guardsResult)){const h=gu(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw h.url=a.guardsResult,h}const d=new TA(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(d)}),(0,je.h)(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),Hf(a=>{if(a.guards.canActivateChecks.length)return(0,Pe.of)(a).pipe((0,Kt.b)(d=>{const h=new EA(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}),(0,gi.w)(d=>{let h=!1;return(0,Pe.of)(d).pipe(function zu(s,n){return(0,ji.zg)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:o}}=e;if(!o.length)return(0,Pe.of)(e);let r=0;return(0,xi.D)(o).pipe((0,tr.b)(i=>function uS(s,n,e,t){return function Of(s,n,e,t){const o=jr(s);if(0===o.length)return(0,Pe.of)({});const r={};return(0,xi.D)(o).pipe((0,ji.zg)(i=>function q_(s,n,e,t){const o=Pf(s,n,t);return Vi(o.resolve?o.resolve(n,e):o(n,e))}(s[i],n,e,t).pipe((0,Kt.b)(a=>{r[i]=a}))),fu(1),(0,ji.zg)(()=>jr(r).length===o.length?(0,Pe.of)(r):Jo.E))}(s._resolve,s,n,t).pipe((0,Ze.U)(r=>(s._resolvedData=r,s.data=Object.assign(Object.assign({},s.data),gf(s,e).resolve),null)))}(i.route,t,s,n)),(0,Kt.b)(()=>r++),fu(1),(0,ji.zg)(i=>r===o.length?(0,Pe.of)(e):Jo.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Kt.b)({next:()=>h=!0,complete:()=>{h||(this.restoreHistory(d),this.cancelNavigationTransition(d,"At least one route resolver didn't emit any value."))}}))}),(0,Kt.b)(d=>{const h=new r_(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}))}),Hf(a=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:S,extras:{skipLocationChange:H,replaceUrl:te}}=a;return this.hooks.afterPreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:S,skipLocationChange:!!H,replaceUrl:!!te})}),(0,Ze.U)(a=>{const d=function k_(s,n,e){const t=nc(s,n._root,e?e._root:void 0);return new C_(t,n)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:d})}),(0,Kt.b)(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((s,n,e)=>(0,Ze.U)(t=>(new oS(n,t.targetRouterState,t.currentRouterState,e).activate(s),t)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),(0,Kt.b)({next(){r=!0},complete(){r=!0}}),ou(()=>{var a;r||i||this.cancelNavigationTransition(o,`Navigation ID ${o.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===o.id&&(this.currentNavigation=null)}),(0,Ni.K)(a=>{if(i=!0,function DA(s){return s&&s[l_]}(a)){const d=xo(a.url);d||(this.navigated=!0,this.restoreHistory(o,!0));const h=new i_(o.id,this.serializeUrl(o.extractedUrl),a.message);t.next(h),d?setTimeout(()=>{const g=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),S={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Bu(o.source)};this.scheduleNavigation(g,"imperative",null,S,{resolve:o.resolve,reject:o.reject,promise:o.promise})},0):o.resolve(!1)}else{this.restoreHistory(o,!0);const d=new CA(o.id,this.serializeUrl(o.extractedUrl),a);t.next(d);try{o.resolve(this.errorHandler(a))}catch(h){o.reject(h)}}return Jo.E}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t="popstate"===e.type?"popstate":"hashchange";"popstate"===t&&setTimeout(()=>{var o;const r={replaceUrl:!0},i=(null===(o=e.state)||void 0===o?void 0:o.navigationId)?e.state:null;if(i){const d=Object.assign({},i);delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(r.state=d)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,t,i,r)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Tf(e),this.config=e.map(ku),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:o,queryParams:r,fragment:i,queryParamsHandling:a,preserveFragment:d}=t,h=o||this.routerState.root,g=d?this.currentUrlTree.fragment:i;let S=null;switch(a){case"merge":S=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":S=this.currentUrlTree.queryParams;break;default:S=r||null}return null!==S&&(S=this.removeEmptyProps(S)),function NA(s,n,e,t,o){if(0===e.length)return _f(n.root,n.root,n,t,o);const r=function jA(s){if("string"==typeof s[0]&&1===s.length&&"/"===s[0])return new Gs(!0,0,s);let n=0,e=!1;const t=s.reduce((o,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const a={};return Gt(r.outlets,(d,h)=>{a[h]="string"==typeof d?d.split("/"):d}),[...o,{outlets:a}]}if(r.segmentPath)return[...o,r.segmentPath]}return"string"!=typeof r?[...o,r]:0===i?(r.split("/").forEach((a,d)=>{0==d&&"."===a||(0==d&&""===a?e=!0:".."===a?n++:""!=a&&o.push(a))}),o):[...o,r]},[]);return new Gs(e,n,t)}(e);if(r.toRoot())return _f(n.root,new rt([],{}),n,t,o);const i=function VA(s,n,e){if(s.isAbsolute)return new yf(n.root,!0,0);if(-1===e.snapshot._lastPathIndex){const r=e.snapshot._urlSegment;return new yf(r,r===n.root,0)}const t=Us(s.commands[0])?0:1;return function Cu(s,n,e){let t=s,o=n,r=e;for(;r>o;){if(r-=o,t=t.parent,!t)throw new Error("Invalid number of '../'");o=t.segments.length}return new yf(t,!1,o-r)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,s.numberOfDoubleDots)}(r,n,s),a=i.processChildren?Eu(i.segmentGroup,i.index,r.commands):D_(i.segmentGroup,i.index,r.commands);return _f(i.segmentGroup,a,n,t,o)}(h,this.currentUrlTree,e,S,null!=g?g:null)}navigateByUrl(e,t={skipLocationChange:!1}){const o=xo(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function Lf(s){for(let n=0;n{const r=e[o];return null!=r&&(t[o]=r),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new Bs(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,t,o,r,i){var a,d,h;if(this.disposed)return Promise.resolve(!1);const g=this.transitions.value,S=Bu(t)&&g&&!Bu(g.source),H=g.rawUrl.toString()===e.toString(),te=g.id===(null===(a=this.currentNavigation)||void 0===a?void 0:a.id);if(S&&H&&te)return Promise.resolve(!0);let _e,Ee,gt;i?(_e=i.resolve,Ee=i.reject,gt=i.promise):gt=new Promise((zt,Qs)=>{_e=zt,Ee=Qs});const Pt=++this.navigationId;let yt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),yt=o&&o.\u0275routerPageId?o.\u0275routerPageId:r.replaceUrl||r.skipLocationChange?null!==(d=this.browserPageId)&&void 0!==d?d:0:(null!==(h=this.browserPageId)&&void 0!==h?h:0)+1):yt=0,this.setTransition({id:Pt,targetPageId:yt,source:t,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:_e,reject:Ee,promise:gt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),gt.catch(zt=>Promise.reject(zt))}setBrowserUrl(e,t){const o=this.urlSerializer.serialize(e),r=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(o)||t.extras.replaceUrl?this.location.replaceState(o,"",r):this.location.go(o,"",r)}restoreHistory(e,t=!1){var o,r;if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)||0===i?this.currentUrlTree===(null===(r=this.currentNavigation)||void 0===r?void 0:r.finalUrl)&&0===i&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(i)}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,t){const o=new i_(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(o),e.resolve(!1)}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}}return s.\u0275fac=function(e){u.$Z()},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();function Bu(s){return"imperative"!==s}class Q_{}class X_{preload(n,e){return(0,Pe.of)(null)}}let J_=(()=>{class s{constructor(e,t,o,r){this.router=e,this.injector=o,this.preloadingStrategy=r,this.loader=new Ff(o,t,d=>e.triggerEvent(new s_(d)),d=>e.triggerEvent(new a_(d)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,je.h)(e=>e instanceof Bs),(0,tr.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(u.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const o=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const i=r._loadedConfig;o.push(this.processRoutes(i.module,i.routes))}else r.loadChildren&&!r.canLoad?o.push(this.preloadConfig(e,r)):r.children&&o.push(this.processRoutes(e,r.children));return(0,xi.D)(o).pipe((0,ml.J)(),(0,Ze.U)(r=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Pe.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,ji.zg)(r=>(t._loadedConfig=r,this.processRoutes(r.module,r.routes)))))}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(Ri),u.LFG(u.Sil),u.LFG(u.zs3),u.LFG(Q_))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})(),hc=(()=>{class s{constructor(e,t,o={}){this.router=e,this.viewportScroller=t,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof nf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Bs&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof pu&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new pu(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return s.\u0275fac=function(e){u.$Z()},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();const cr=new u.OlP("ROUTER_CONFIGURATION"),ey=new u.OlP("ROUTER_FORROOT_GUARD"),ty=[b.Ye,{provide:m_,useClass:__},{provide:Ri,useFactory:function pS(s,n,e,t,o,r,i={},a,d){const h=new Ri(null,s,n,e,t,o,d_(r));return a&&(h.urlHandlingStrategy=a),d&&(h.routeReuseStrategy=d),function fC(s,n){s.errorHandler&&(n.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(n.malformedUriErrorHandler=s.malformedUriErrorHandler),s.onSameUrlNavigation&&(n.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.relativeLinkResolution&&(n.relativeLinkResolution=s.relativeLinkResolution),s.urlUpdateStrategy&&(n.urlUpdateStrategy=s.urlUpdateStrategy),s.canceledNavigationResolution&&(n.canceledNavigationResolution=s.canceledNavigationResolution)}(i,h),i.enableTracing&&h.events.subscribe(g=>{var S,H;null===(S=console.group)||void 0===S||S.call(console,`Router Event: ${g.constructor.name}`),console.log(g.toString()),console.log(g),null===(H=console.groupEnd)||void 0===H||H.call(console)}),h},deps:[m_,$s,b.Ye,u.zs3,u.Sil,Fu,cr,[class dS{},new u.FiY],[class cC{},new u.FiY]]},$s,{provide:Do,useFactory:function oy(s){return s.routerState.root},deps:[Ri]},J_,X_,class Nf{preload(n,e){return e().pipe((0,Ni.K)(()=>(0,Pe.of)(null)))}},{provide:cr,useValue:{enableTracing:!1}}];function iy(){return new u.PXZ("Router",Ri)}let jf=(()=>{class s{constructor(e,t){}static forRoot(e,t){return{ngModule:s,providers:[ty,ny(e),{provide:ey,useFactory:Nn,deps:[[Ri,new u.FiY,new u.tp0]]},{provide:cr,useValue:t||{}},{provide:b.S$,useFactory:Vf,deps:[b.lw,[new u.tBr(b.mr),new u.FiY],cr]},{provide:hc,useFactory:hC,deps:[Ri,b.EM,cr]},{provide:Q_,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:X_},{provide:u.PXZ,multi:!0,useFactory:iy},[Kf,{provide:u.ip1,multi:!0,useFactory:pC,deps:[Kf]},{provide:sy,useFactory:ry,deps:[Kf]},{provide:u.tb,multi:!0,useExisting:sy}]]}}static forChild(e){return{ngModule:s,providers:[ny(e)]}}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(ey,8),u.LFG(Ri,8))},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({}),s})();function hC(s,n,e){return e.scrollOffset&&n.setOffset(e.scrollOffset),new hc(s,n,e)}function Vf(s,n,e={}){return e.useHash?new b.Do(s,n):new b.b0(s,n)}function Nn(s){return"guarded"}function ny(s){return[{provide:u.deG,multi:!0,useValue:s},{provide:Fu,multi:!0,useValue:s}]}let Kf=(()=>{class s{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Me.xQ}appInitializer(){return this.injector.get(b.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const o=new Promise(a=>t=a),r=this.injector.get(Ri),i=this.injector.get(cr);return"disabled"===i.initialNavigation?(r.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(r.hooks.afterPreactivation=()=>this.initNavigation?(0,Pe.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),r.initialNavigation()):t(!0),o})}bootstrapListener(e){const t=this.injector.get(cr),o=this.injector.get(J_),r=this.injector.get(hc),i=this.injector.get(Ri),a=this.injector.get(u.z2F);e===a.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&i.initialNavigation(),o.setUpPreloading(),r.init(),i.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(u.zs3))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();function pC(s){return s.appInitializer.bind(s)}function ry(s){return s.bootstrapListener.bind(s)}const sy=new u.OlP("Router Initializer");var Uf=v(6114);let Gf=(()=>{class s{constructor(e,t,o,r,i){this.injector=e,this.store=t,this.dialog=o,this.route=r,this.oauthService=i,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(Ri),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(a=>{a.idpFilter&&(this.filterShortname=a.idpFilter)})}getClientConfig(){const e=this.setIdpFilter(),t=e?{acr_values:e}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(t.prompt="consent"),sessionStorage.getItem("mfa_route")&&(t.acr_values="https://refeds.org/profile/mfa",t.prompt="login",t.max_age="0"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:t}}setIdpFilter(){const e=location.search.substr(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let o=null;return e.forEach(r=>{const i=r.split("=");"idpFilter"===i[0]&&t[i[1]]&&(this.filterShortname=i[1],o=t[i[1]])}),t.default&&!o?(this.filterShortname="default",t.default):o}startIdpFilterKeeper(){this.router.events.pipe((0,je.h)(e=>e instanceof Bs)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substr(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,je.h)(t=>"token_expires"===t.type)).subscribe(()=>{this.oauthService.refreshToken().then(t=>{localStorage.setItem("refresh_token",t.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(e){const t=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===e)return!0;for(const o of t)if(e.startsWith(o))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(e=>e)):Promise.resolve()}verifyAuthentication(e,t){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(o=>o?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((r,i)=>i("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const e=sessionStorage.getItem("mfa_route");if(e)return this.router.navigate([e],{replaceUrl:!0});let t=sessionStorage.getItem("auth:redirect");const o=sessionStorage.getItem("auth:queryParams");let r=[];o&&(r=o.split("&"));const i={};return r.forEach(a=>{const d=a.split("=");i[d[0]]=d[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),i.idpFilter&&(this.filterShortname=i.idpFilter),this.router.navigate([t],{queryParams:i,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(u.zs3),u.LFG(Si),u.LFG(er),u.LFG(Do),u.LFG(Uf.Ct))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),ay=(()=>{class s{constructor(e,t,o,r,i,a){this.authService=e,this.storeService=t,this.authResolver=o,this.authzService=r,this.dialog=i,this.router=a,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(e){this.loginScreenShown=e}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Ym();this.dialog.open(cm,t)}else this.storeService.setPerunPrincipal(e),this.authResolver.init(e)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(e=>{e()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const e=location.search.substr(1).split("&"),t={};for(const o of e){const r=o.split("=");t[r[0]]=r[1]}return this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"}).then(()=>null)}}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(Gf),u.LFG(Si),u.LFG(Dp),u.LFG(Hi),u.LFG(er),u.LFG(Ri))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Ws=(()=>{class s{constructor(e,t){this.matIconRegistry=e,this.domSanitizer=t,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(Fs),u.LFG(xn))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})(),qf=(()=>{class s{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(La))},s.\u0275cmp=u.Xpm({type:s,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,t){1&e&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"div",1),u._uU(4),u.ALo(5,"translate"),u.qZA(),u.TgZ(6,"div",2),u.TgZ(7,"div",3),u.TgZ(8,"button",4),u.NdJ("click",function(){return t.close()}),u._uU(9),u.ALo(10,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.xp6(1),u.Oqu(u.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),u.xp6(3),u.hij(" ",u.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),u.xp6(5),u.hij(" ",u.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[jl,Sh,Vl,Zl],pipes:[Hr],styles:[""]}),s})(),$f=(()=>{class s{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Wf=(()=>{class s{constructor(e){this.translate=e,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new u.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(e,t=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===e.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===e.name?t:t+"\n"+e.name,e,e.message)}showRouteError(){const e=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),t=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(e,null,t)}showError(e,t,o,r,i){this.addNotification.emit({type:"error",error:t,description:o,title:e,actionText:void 0===r&&void 0!==o?this.getDefaultActionMessage():r,delay:this.defaultErrorDelayMs,icon:"error_outline",action:i,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,o,r){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===o&&void 0!==t?this.getDefaultActionMessage():o,delay:this.defaultSuccessDelayMs,icon:"done",action:r,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(Cn))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Yf=(()=>{class s{constructor(e,t,o,r,i,a){this.authService=e,this.apiRequestConfiguration=t,this.notificator=o,this.store=r,this.dialog=i,this.initAuthService=a}intercept(e,t){const o=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),!(void 0===o||-1===e.url.toString().indexOf(o)||this.store.skipOidc()||this.authService.isLoggedIn()||this.initAuthService.isServiceAccess()||this.dialogRefSessionExpiration)){const a=Ym();a.width="450px",this.dialogRefSessionExpiration=this.dialog.open(qf,a),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{ou(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}e=this.initAuthService.isServiceAccess()?e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const r=this.apiRequestConfiguration.shouldHandleError(),i="POST"===e.method&&!this.store.skipOidc()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,Kt.b)(a=>{a instanceof C.Zn&&i&&this.initAuthService.loadPrincipal()},a=>{const d=this.formatErrors(a,e);return void 0===d?(0,Ya._)(a):r?void this.notificator.showRPCError(d):(0,Ya._)(d)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let o;if(console.error(e),e.error.errorId?o=e.error:e.errorId&&(o=JSON.parse(e.error)),void 0!==o)return o.urlWithParams=t.urlWithParams,o.call=t.url,o.payload=t.body,o}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(Gf),u.LFG($f),u.LFG(Wf),u.LFG(Si),u.LFG(er),u.LFG(ay))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})(),cy=(()=>{class s{constructor(e,t,o,r){this.http=e,this.notificator=t,this.authService=o,this.storeService=r}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(e,t,o,r){const i=e.error;return i.call=t,i.payload=o,r&&this.notificator.showRPCError(e.error),(0,Ya._)(i)}getHeaders(){let e=new C.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue()),e}get(e,t=!0){const o=`${this.getApiUrl()}${e}`;return this.http.get(o,{headers:this.getHeaders()}).pipe((0,Ni.K)(r=>this.formatErrors(r,o,null,t)))}put(e,t={},o=!0){const r=`${this.getApiUrl()}${e}`,i=JSON.stringify(t);return this.http.put(r,i,{headers:this.getHeaders()}).pipe((0,Ni.K)(a=>this.formatErrors(a,r,i,o)))}post(e,t={},o=!0){const r=`${this.getApiUrl()}${e}`,i=JSON.stringify(t);let a=this.getHeaders();return a=a.set("Content-Type","application/json; charset=utf-8"),this.http.post(r,i,{headers:a}).pipe((0,Ni.K)(d=>this.formatErrors(d,r,i,o)))}delete(e,t=!0){const o=`${this.getApiUrl()}${e}`;return this.http.delete(o,{headers:this.getHeaders()}).pipe((0,Ni.K)(r=>this.formatErrors(r,o,null,t)))}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Wf),u.LFG(Gf),u.LFG(Si))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),ly=(()=>{class s{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),o=navigator.languages.map(a=>a.split("-")[0]),r=location.search.substr(1).split("&");let i=null;for(const a of r){const d=a.split("=");"lang"===d[0]&&(i=d[1])}return i&&t.includes(i)?i:e&&t.includes(e)?e:o&&t.includes(o[0])?o[0]:"en"}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(Do),u.LFG(Si))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const mS=["*",[["mat-toolbar-row"]]],uy=["*","mat-toolbar-row"],_C=bo(class{constructor(s){this._elementRef=s}});let yC=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=u.lG2({type:s,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),s})(),wC=(()=>{class s extends _C{constructor(e,t,o){super(e),this._platform=t,this._document=o}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(u.SBq),u.Y36(ot),u.Y36(b.K0))},s.\u0275cmp=u.Xpm({type:s,selectors:[["mat-toolbar"]],contentQueries:function(e,t,o){if(1&e&&u.Suo(o,yC,5),2&e){let r;u.iGM(r=u.CRH())&&(t._toolbarRows=r)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&u.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[u.qOj],ngContentSelectors:uy,decls:2,vars:0,template:function(e,t){1&e&&(u.F$t(mS),u.Hsn(0),u.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%}\n"],encapsulation:2,changeDetection:0}),s})(),bC=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[qe],qe]}),s})();function _S(s,n){1&s&&(u.TgZ(0,"div",10),u.TgZ(1,"span",11),u._uU(2," ~ \u{1f5f2}\xa0 "),u.qZA(),u.TgZ(3,"span",12),u._uU(4," DEVEL "),u.qZA(),u.TgZ(5,"span",11),u._uU(6," \xa0\u{1f5f2} ~ "),u.qZA(),u.qZA())}const yS=function(s){return{background:s}},dy=function(s){return{color:s}};let vC=(()=>{class s{constructor(e,t,o,r){this.storeService=e,this.sanitizer=t,this.preferredLangService=o,this.translateService=r,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.label=this.storeService.get(`header_label_${this.preferredLangService.getPreferredLanguage(null)}`),this.isDevel=this.storeService.get("is_devel")}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.label=this.storeService.get(`header_label_${e.lang}`)}),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo"))}changeLanguage(){this.translateService.use("en"===this.translateService.currentLang?"cs":"en")}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(Si),u.Y36(xn),u.Y36(ly),u.Y36(Cn))},s.\u0275cmp=u.Xpm({type:s,selectors:[["perun-web-apps-header"]],decls:15,vars:19,consts:[[1,"sticky-top","header-container","mat-elevation-z3",3,"ngStyle"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],[1,"ml-3","mt-auto","mb-auto",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-language",3,"ngStyle"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],["menu","matMenu"],["mat-menu-item","",3,"click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){if(1&e&&(u.TgZ(0,"mat-toolbar",0),u.TgZ(1,"div",1),u._UZ(2,"a",2),u.TgZ(3,"p",3),u._uU(4),u.qZA(),u.qZA(),u.YNc(5,_S,7,0,"div",4),u.TgZ(6,"div",5),u.TgZ(7,"button",6),u.TgZ(8,"mat-icon",7),u._uU(9," language "),u.qZA(),u.qZA(),u.TgZ(10,"mat-menu",null,8),u.TgZ(12,"button",9),u.NdJ("click",function(){return t.changeLanguage()}),u._uU(13),u.ALo(14,"translate"),u.qZA(),u.qZA(),u.qZA(),u.qZA()),2&e){const o=u.MAs(11);u.Q6J("ngStyle",u.VKq(11,yS,t.bgColor)),u.xp6(2),u.Q6J("innerHTML",t.logo,u.oJD),u.xp6(1),u.Q6J("ngStyle",u.VKq(13,dy,t.textColor)),u.xp6(1),u.Oqu(t.label),u.xp6(1),u.Q6J("ngIf",t.isDevel),u.xp6(1),u.Q6J("ngStyle",u.VKq(15,dy,t.textColor)),u.xp6(1),u.Q6J("matMenuTriggerFor",o),u.xp6(1),u.Q6J("ngStyle",u.VKq(17,dy,t.iconColor)),u.xp6(5),u.hij(" ",u.lcZ(14,9,"HEADER.LANGUAGE")," ")}},directives:[wC,b.PC,b.O5,Zl,Km,lu,qv,nu],pipes:[Hr],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between;margin-left:8px;padding:0}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-language[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px}"]}),s})(),fc=(()=>{class s{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(u.Qsj),u.Y36(u.SBq))},s.\u0275dir=u.lG2({type:s}),s})(),Vr=(()=>{class s extends fc{}return s.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(s)))(t||s)}}(),s.\u0275dir=u.lG2({type:s,features:[u.qOj]}),s})();const Ui=new u.OlP("NgValueAccessor"),fy={provide:Ui,useExisting:(0,u.Gpc)(()=>pc),multi:!0},Qf=new u.OlP("CompositionEventMode");let pc=(()=>{class s extends fc{constructor(e,t,o){super(e,t),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Zf(){const s=(0,b.q)()?(0,b.q)().getUserAgent():"";return/android (\d+)/.test(s.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(u.Qsj),u.Y36(u.SBq),u.Y36(Qf,8))},s.\u0275dir=u.lG2({type:s,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&u.NdJ("input",function(r){return t._handleInput(r.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(r){return t._compositionEnd(r.target.value)})},features:[u._Bn([fy]),u.qOj]}),s})();function to(s){return null==s||0===s.length}function Nu(s){return null!=s&&"number"==typeof s.length}const Zt=new u.OlP("NgValidators"),Kr=new u.OlP("NgAsyncValidators"),wS=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ju{static min(n){return function AC(s){return n=>{if(to(n.value)||to(s))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(to(n.value)||to(s))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>s?{max:{max:s,actual:n.value}}:null}}(n)}static required(n){return py(n)}static requiredTrue(n){return function gy(s){return!0===s.value?null:{required:!0}}(n)}static email(n){return function my(s){return to(s.value)||wS.test(s.value)?null:{email:!0}}(n)}static minLength(n){return function _y(s){return n=>to(n.value)||!Nu(n.value)?null:n.value.lengthNu(n.value)&&n.value.length>s?{maxlength:{requiredLength:s,actualLength:n.value.length}}:null}(n)}static pattern(n){return function ep(s){if(!s)return gc;let n,e;return"string"==typeof s?(e="","^"!==s.charAt(0)&&(e+="^"),e+=s,"$"!==s.charAt(s.length-1)&&(e+="$"),n=new RegExp(e)):(e=s.toString(),n=s),t=>{if(to(t.value))return null;const o=t.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return _c(n)}static composeAsync(n){return by(n)}}function py(s){return to(s.value)?{required:!0}:null}function gc(s){return null}function yy(s){return null!=s}function wy(s){const n=(0,u.QGY)(s)?(0,xi.D)(s):s;return(0,u.CqO)(n),n}function tp(s){let n={};return s.forEach(e=>{n=null!=e?Object.assign(Object.assign({},n),e):n}),0===Object.keys(n).length?null:n}function mc(s,n){return n.map(e=>e(s))}function ip(s){return s.map(n=>function bS(s){return!s.validate}(n)?n:e=>n.validate(e))}function _c(s){if(!s)return null;const n=s.filter(yy);return 0==n.length?null:function(e){return tp(mc(e,n))}}function np(s){return null!=s?_c(ip(s)):null}function by(s){if(!s)return null;const n=s.filter(yy);return 0==n.length?null:function(e){return kh(mc(e,n).map(wy)).pipe((0,Ze.U)(tp))}}function op(s){return null!=s?by(ip(s)):null}function vy(s,n){return null===s?[n]:Array.isArray(s)?[...s,n]:[s,n]}function CC(s){return s._rawValidators}function Ay(s){return s._rawAsyncValidators}function rp(s){return s?Array.isArray(s)?s:[s]:[]}function Vu(s,n){return Array.isArray(s)?s.includes(n):s===n}function Cy(s,n){const e=rp(n);return rp(s).forEach(o=>{Vu(e,o)||e.push(o)}),e}function Ty(s,n){return rp(n).filter(e=>!Vu(s,e))}class Ey{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=np(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=op(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class io extends Ey{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Pi extends Ey{get formDirective(){return null}get path(){return null}}class TC{constructor(n){this._cd=n}is(n){var e,t,o;return"submitted"===n?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(o=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===o?void 0:o[n])}}let Sy=(()=>{class s extends TC{constructor(e){super(e)}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(io,2))},s.\u0275dir=u.lG2({type:s,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&u.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[u.qOj]}),s})(),ky=(()=>{class s extends TC{constructor(e){super(e)}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(Pi,10))},s.\u0275dir=u.lG2({type:s,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&u.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[u.qOj]}),s})();function B(s,n){return[...n.path,s]}function W(s,n){Te(s,n),n.valueAccessor.writeValue(s.value),function pe(s,n){n.valueAccessor.registerOnChange(e=>{s._pendingValue=e,s._pendingChange=!0,s._pendingDirty=!0,"change"===s.updateOn&&ut(s,n)})}(s,n),function St(s,n){const e=(t,o)=>{n.valueAccessor.writeValue(t),o&&n.viewToModelUpdate(t)};s.registerOnChange(e),n._registerOnDestroy(()=>{s._unregisterOnChange(e)})}(s,n),function Ne(s,n){n.valueAccessor.registerOnTouched(()=>{s._pendingTouched=!0,"blur"===s.updateOn&&s._pendingChange&&ut(s,n),"submit"!==s.updateOn&&s.markAsTouched()})}(s,n),function ve(s,n){if(n.valueAccessor.setDisabledState){const e=t=>{n.valueAccessor.setDisabledState(t)};s.registerOnDisabledChange(e),n._registerOnDestroy(()=>{s._unregisterOnDisabledChange(e)})}}(s,n)}function ne(s,n,e=!0){const t=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(t),n.valueAccessor.registerOnTouched(t)),Ie(s,n),s&&(n._invokeOnDestroyCallbacks(),s._registerOnCollectionChange(()=>{}))}function ce(s,n){s.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function Te(s,n){const e=CC(s);null!==n.validator?s.setValidators(vy(e,n.validator)):"function"==typeof e&&s.setValidators([e]);const t=Ay(s);null!==n.asyncValidator?s.setAsyncValidators(vy(t,n.asyncValidator)):"function"==typeof t&&s.setAsyncValidators([t]);const o=()=>s.updateValueAndValidity();ce(n._rawValidators,o),ce(n._rawAsyncValidators,o)}function Ie(s,n){let e=!1;if(null!==s){if(null!==n.validator){const o=CC(s);if(Array.isArray(o)&&o.length>0){const r=o.filter(i=>i!==n.validator);r.length!==o.length&&(e=!0,s.setValidators(r))}}if(null!==n.asyncValidator){const o=Ay(s);if(Array.isArray(o)&&o.length>0){const r=o.filter(i=>i!==n.asyncValidator);r.length!==o.length&&(e=!0,s.setAsyncValidators(r))}}}const t=()=>{};return ce(n._rawValidators,t),ce(n._rawAsyncValidators,t),e}function ut(s,n){s._pendingDirty&&s.markAsDirty(),s.setValue(s._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(s._pendingValue),s._pendingChange=!1}function Gi(s,n){Te(s,n)}function yc(s,n){if(!s.hasOwnProperty("model"))return!1;const e=s.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}function Ku(s,n){s._syncPendingControls(),n.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function wc(s,n){if(!n)return null;let e,t,o;return Array.isArray(n),n.forEach(r=>{r.constructor===pc?e=r:function lp(s){return Object.getPrototypeOf(s.constructor)===Vr}(r)?t=r:o=r}),o||t||e||null}function bc(s,n){const e=s.indexOf(n);e>-1&&s.splice(e,1)}const up="VALID",Ry="INVALID",Uu="PENDING",dp="DISABLED";function EC(s){return(Py(s)?s.validators:s)||null}function CS(s){return Array.isArray(s)?np(s):s||null}function SC(s,n){return(Py(n)?n.asyncValidators:s)||null}function TS(s){return Array.isArray(s)?op(s):s||null}function Py(s){return null!=s&&!Array.isArray(s)&&"object"==typeof s}const kC=s=>s instanceof hp,Iy=s=>s instanceof Oy,ES=s=>s instanceof MS;function SS(s){return kC(s)?s.value:s.getRawValue()}function kS(s,n){const e=Iy(s),t=s.controls;if(!(e?Object.keys(t):t).length)throw new u.vHH(1e3,"");if(!t[n])throw new u.vHH(1001,"")}function DS(s,n){Iy(s),s._forEachChild((t,o)=>{if(void 0===n[o])throw new u.vHH(1002,"")})}class DC{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=e,this._composedValidatorFn=CS(this._rawValidators),this._composedAsyncValidatorFn=TS(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===up}get invalid(){return this.status===Ry}get pending(){return this.status==Uu}get disabled(){return this.status===dp}get enabled(){return this.status!==dp}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=CS(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=TS(n)}addValidators(n){this.setValidators(Cy(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Cy(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Ty(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Ty(n,this._rawAsyncValidators))}hasValidator(n){return Vu(this._rawValidators,n)}hasAsyncValidator(n){return Vu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Uu,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=dp,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=up,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===up||this.status===Uu)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?dp:up}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Uu,this._hasOwnPendingAsyncValidator=!0;const e=wy(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){return function RD(s,n,e){if(null==n||(Array.isArray(n)||(n=n.split(e)),Array.isArray(n)&&0===n.length))return null;let t=s;return n.forEach(o=>{t=Iy(t)?t.controls.hasOwnProperty(o)?t.controls[o]:null:ES(t)&&t.at(o)||null}),t}(this,n,".")}getError(n,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new u.vpe,this.statusChanges=new u.vpe}_calculateStatus(){return this._allControlsDisabled()?dp:this.errors?Ry:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Uu)?Uu:this._anyControlsHaveStatus(Ry)?Ry:up}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_isBoxedValue(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Py(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class hp extends DC{constructor(n=null,e,t){super(EC(e),SC(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Py(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){bc(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){bc(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){this._isBoxedValue(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}}class Oy extends DC{constructor(n,e,t){super(EC(e),SC(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,t={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){DS(this,n),Object.keys(n).forEach(t=>{kS(this,t),this.controls[t].setValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((t,o)=>{t.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,t)=>(n[t]=SS(e),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&n(t,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&n(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(n,e,t)=>((e.enabled||this.disabled)&&(n[t]=e.value),n))}_reduceChildren(n,e){let t=n;return this._forEachChild((o,r)=>{t=e(t,o,r)}),t}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class MS extends DC{constructor(n,e,t){super(EC(e),SC(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[n]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,t={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){DS(this,n),n.forEach((t,o)=>{kS(this,o),this.at(o).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((t,o)=>{this.at(o)&&this.at(o).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((t,o)=>{t.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>SS(n))}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_syncPendingControls(){let n=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,t)=>{n(e,t)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}}const PD={provide:Pi,useExisting:(0,u.Gpc)(()=>pp)},fp=(()=>Promise.resolve(null))();let pp=(()=>{class s extends Pi{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new u.vpe,this.form=new Oy({},np(e),op(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){fp.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),W(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){fp.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){fp.then(()=>{const t=this._findContainer(e.path),o=new Oy({});Gi(o,e),t.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){fp.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){fp.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Ku(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(Zt,10),u.Y36(Kr,10))},s.\u0275dir=u.lG2({type:s,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&u.NdJ("submit",function(r){return t.onSubmit(r)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u._Bn([PD]),u.qOj]}),s})();const OD={provide:io,useExisting:(0,u.Gpc)(()=>MC)},PS=(()=>Promise.resolve(null))();let MC=(()=>{class s extends io{constructor(e,t,o,r,i){super(),this._changeDetectorRef=i,this.control=new hp,this._registered=!1,this.update=new u.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(o),this.valueAccessor=wc(0,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),yc(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){W(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){PS.then(()=>{var t;this.control.setValue(e,{emitViewToModelChange:!1}),null===(t=this._changeDetectorRef)||void 0===t||t.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,o=""===t||t&&"false"!==t;PS.then(()=>{var r;o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()})}_getPath(e){return this._parent?B(e,this._parent):[e]}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(Pi,9),u.Y36(Zt,10),u.Y36(Kr,10),u.Y36(Ui,10),u.Y36(u.sBO,8))},s.\u0275dir=u.lG2({type:s,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[u._Bn([OD]),u.qOj,u.TTD]}),s})(),OS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({}),s})();const xC=new u.OlP("NgModelWithFormControlWarning"),jD={provide:Pi,useExisting:(0,u.Gpc)(()=>Ac)};let Ac=(()=>{class s extends Pi{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new u.vpe,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ie(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return W(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){ne(e.control||null,e,!1),bc(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,Ku(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,o=this.form.get(e.path);t!==o&&(ne(t||null,e),kC(o)&&(W(o,e),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Gi(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function Ur(s,n){return Ie(s,n)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Te(this.form,this),this._oldForm&&Ie(this._oldForm,this)}_checkFormPresent(){}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(Zt,10),u.Y36(Kr,10))},s.\u0275dir=u.lG2({type:s,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&u.NdJ("submit",function(r){return t.onSubmit(r)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u._Bn([jD]),u.qOj,u.TTD]}),s})();const UD={provide:io,useExisting:(0,u.Gpc)(()=>IC)};let IC=(()=>{class s extends io{constructor(e,t,o,r,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new u.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(o),this.valueAccessor=wc(0,r)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),yc(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return B(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return s._ngModelWarningSentOnce=!1,s.\u0275fac=function(e){return new(e||s)(u.Y36(Pi,13),u.Y36(Zt,10),u.Y36(Kr,10),u.Y36(Ui,10),u.Y36(xC,8))},s.\u0275dir=u.lG2({type:s,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[u._Bn([UD]),u.qOj,u.TTD]}),s})(),Cc=(()=>{class s{constructor(){this._validator=gc}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):gc,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=u.lG2({type:s,features:[u.TTD]}),s})();const eM={provide:Zt,useExisting:(0,u.Gpc)(()=>gp),multi:!0};let gp=(()=>{class s extends Cc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function QD(s){return null!=s&&!1!==s&&"false"!=`${s}`}(e),this.createValidator=e=>py}enabled(e){return e}}return s.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(s)))(t||s)}}(),s.\u0275dir=u.lG2({type:s,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&u.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[u._Bn([eM]),u.qOj]}),s})(),YS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[OS]]}),s})(),FC=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[YS]}),s})(),Gu=(()=>{class s{static withConfig(e){return{ngModule:s,providers:[{provide:xC,useValue:e.warnOnNgModelWithFormControl}]}}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[YS]}),s})(),aM=(()=>{class s{group(e,t=null){const o=this._reduceControls(e);let a,r=null,i=null;return null!=t&&(function sM(s){return void 0!==s.asyncValidators||void 0!==s.validators||void 0!==s.updateOn}(t)?(r=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,a=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new Oy(o,{asyncValidators:i,updateOn:a,validators:r})}control(e,t,o){return new hp(e,t,o)}array(e,t,o){const r=e.map(i=>this._createControl(i));return new MS(r,t,o)}_reduceControls(e){const t={};return Object.keys(e).forEach(o=>{t[o]=this._createControl(e[o])}),t}_createControl(e){return kC(e)||Iy(e)||ES(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:Gu}),s})();const ZS=dn({passive:!0});let cM=(()=>{class s{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Jo.E;const t=Vt(e),o=this._monitoredElements.get(t);if(o)return o.subject;const r=new Me.xQ,i="cdk-text-field-autofilled",a=d=>{"cdk-text-field-autofill-start"!==d.animationName||t.classList.contains(i)?"cdk-text-field-autofill-end"===d.animationName&&t.classList.contains(i)&&(t.classList.remove(i),this._ngZone.run(()=>r.next({target:d.target,isAutofilled:!1}))):(t.classList.add(i),this._ngZone.run(()=>r.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",a,ZS),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:r,unlisten:()=>{t.removeEventListener("animationstart",a,ZS)}}),r}stopMonitoring(e){const t=Vt(e),o=this._monitoredElements.get(t);o&&(o.unlisten(),o.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(ot),u.LFG(u.R0b))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),QS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[Et]]}),s})();const XS=new u.OlP("MAT_INPUT_VALUE_ACCESSOR"),lM=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let uM=0;const dM=Qg(class{constructor(s,n,e,t){this._defaultErrorStateMatcher=s,this._parentForm=n,this._parentFormGroup=e,this.ngControl=t}});let JS=(()=>{class s extends dM{constructor(e,t,o,r,i,a,d,h,g,S){super(a,r,i,o),this._elementRef=e,this._platform=t,this._autofillMonitor=h,this._formField=S,this._uid="mat-input-"+uM++,this.focused=!1,this.stateChanges=new Me.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(he=>un().has(he));const H=this._elementRef.nativeElement,te=H.nodeName.toLowerCase();this._inputValueAccessor=d||H,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",he=>{const _e=he.target;!_e.value&&0===_e.selectionStart&&0===_e.selectionEnd&&(_e.setSelectionRange(1,1),_e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===te,this._isTextarea="textarea"===te,this._isInFormField=!!S,this._isNativeSelect&&(this.controlType=H.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=et(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,t,o,r;return null!==(r=null!==(e=this._required)&&void 0!==e?e:null===(o=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===o?void 0:o.hasValidator(ju.required))&&void 0!==r&&r}set required(e){this._required=et(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&un().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=et(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const o=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(o!==this._previousPlaceholder){const r=this._elementRef.nativeElement;this._previousPlaceholder=o,o?r.setAttribute("placeholder",o):r.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){lM.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(u.SBq),u.Y36(ot),u.Y36(io,10),u.Y36(pp,8),u.Y36(Ac,8),u.Y36(Fl),u.Y36(XS,10),u.Y36(cM),u.Y36(u.R0b),u.Y36(Ua,8))},s.\u0275dir=u.lG2({type:s,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,t){1&e&&u.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(u.Ikx("disabled",t.disabled)("required",t.required),u.uIk("id",t.id)("data-placeholder",t.placeholder)("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),u.ekj("mat-input-server",t._isServer)("mat-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[u._Bn([{provide:Xl,useExisting:s}]),u.qOj,u.TTD]}),s})(),Hy=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[Fl],imports:[[QS,Os,qe],QS,Os]}),s})();function hM(s,n){if(1&s&&(u.O4$(),u._UZ(0,"circle",4)),2&s){const e=u.oxw(),t=u.MAs(1);u.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}function fM(s,n){if(1&s&&(u.O4$(),u._UZ(0,"circle",4)),2&s){const e=u.oxw(),t=u.MAs(1);u.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}function pM(s,n){if(1&s&&(u.O4$(),u._UZ(0,"circle",4)),2&s){const e=u.oxw(),t=u.MAs(1);u.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}function gM(s,n){if(1&s&&(u.O4$(),u._UZ(0,"circle",4)),2&s){const e=u.oxw(),t=u.MAs(1);u.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}const yM=bo(class{constructor(s){this._elementRef=s}},"primary"),ek=new u.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function wM(){return{diameter:100}}});class Gr extends yM{constructor(n,e,t,o,r,i,a,d){super(n),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=ei.w.EMPTY,this.mode="determinate";const h=Gr._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),h.has(t.head)||h.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===o&&!!r&&!r._forceAnimations,r&&(r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth)),e.isBrowser&&e.SAFARI&&a&&i&&d&&(this._resizeSubscription=a.change(150).subscribe(()=>{"indeterminate"===this.mode&&d.run(()=>i.markForCheck())}))}get diameter(){return this._diameter}set diameter(n){this._diameter=ln(n),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(n){this._strokeWidth=ln(n)}get value(){return"determinate"===this.mode?this._value:0}set value(n){this._value=Math.max(0,Math.min(100,ln(n)))}ngOnInit(){const n=this._elementRef.nativeElement;this._styleRoot=ft(n)||this._document.head,this._attachStyleNode(),n.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const n=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${n} ${n}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(n){var e;const t=50*(null!==(e=n.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const n=this._styleRoot,e=this._diameter,t=Gr._diameters;let o=t.get(n);if(!o||!o.has(e)){const r=this._document.createElement("style");r.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),r.textContent=this._getAnimationText(),n.appendChild(r),o||(o=new Set,t.set(n,o)),o.add(e)}}_getAnimationText(){const n=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*n).replace(/END_VALUE/g,""+.2*n).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Gr._diameters=new WeakMap,Gr.\u0275fac=function(n){return new(n||Gr)(u.Y36(u.SBq),u.Y36(ot),u.Y36(b.K0,8),u.Y36(yn,8),u.Y36(ek),u.Y36(u.sBO),u.Y36(No),u.Y36(u.R0b))},Gr.\u0275cmp=u.Xpm({type:Gr,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(n,e){2&n&&(u.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),u.Udp("width",e.diameter,"px")("height",e.diameter,"px"),u.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[u.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(n,e){1&n&&(u.O4$(),u.TgZ(0,"svg",0,1),u.YNc(2,hM,1,11,"circle",2),u.YNc(3,fM,1,9,"circle",3),u.qZA()),2&n&&(u.Udp("width",e.diameter,"px")("height",e.diameter,"px"),u.Q6J("ngSwitch","indeterminate"===e.mode),u.uIk("viewBox",e._getViewBox()),u.xp6(2),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let tk=(()=>{class s extends Gr{constructor(e,t,o,r,i,a,d,h){super(e,t,o,r,i,a,d,h),this.mode="indeterminate"}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(u.SBq),u.Y36(ot),u.Y36(b.K0,8),u.Y36(yn,8),u.Y36(ek),u.Y36(u.sBO),u.Y36(No),u.Y36(u.R0b))},s.\u0275cmp=u.Xpm({type:s,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(u.Udp("width",t.diameter,"px")("height",t.diameter,"px"),u.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[u.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(u.O4$(),u.TgZ(0,"svg",0,1),u.YNc(2,pM,1,11,"circle",2),u.YNc(3,gM,1,9,"circle",3),u.qZA()),2&e&&(u.Udp("width",t.diameter,"px")("height",t.diameter,"px"),u.Q6J("ngSwitch","indeterminate"===t.mode),u.uIk("viewBox",t._getViewBox()),u.xp6(2),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),s})(),mp=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[qe,b.ez],qe]}),s})(),BC=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[To,b.ez]]}),s})(),vM=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[],imports:[[b.ez,Os,Fr,Gu,Hy,Rs,mp,To,BC]]}),s})();class AM{isErrorState(n){return!!(n&&n.invalid&&n.dirty)}}const CM=(s,n,e,t=500)=>o=>ze(t).pipe((0,gi.w)(()=>(e.dontHandleErrorForNext(),s&&"No namespace"!==s?n.checkPasswordStrength(o.value,s):(0,Pe.of)(null))),(0,Ze.U)(()=>null),(0,Ni.K)(r=>(0,Pe.of)({backendError:r.error.message.substr(r.error.message.indexOf(":")+1)})));function TM(s,n){1&s&&(u.TgZ(0,"mat-icon",2),u._uU(1," info "),u.qZA())}function EM(s,n){1&s&&(u.TgZ(0,"mat-icon",2),u._uU(1," warning "),u.qZA())}function SM(s,n){1&s&&(u.TgZ(0,"mat-icon",2),u._uU(1," dangerous "),u.qZA())}function kM(s,n){1&s&&(u.TgZ(0,"mat-icon",2),u._uU(1," check_circle "),u.qZA())}const DM=["*"];let NC=(()=>{class s{constructor(){}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=u.Xpm({type:s,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:DM,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(e,t){1&e&&(u.F$t(),u.TgZ(0,"div",0),u.YNc(1,TM,2,0,"mat-icon",1),u.YNc(2,EM,2,0,"mat-icon",1),u.YNc(3,SM,2,0,"mat-icon",1),u.YNc(4,kM,2,0,"mat-icon",1),u.Hsn(5),u.qZA()),2&e&&(u.ekj("warn-alert","warn"===t.alert_type)("error-alert","error"===t.alert_type)("success-alert","success"===t.alert_type)("info-alert","info"===t.alert_type),u.xp6(1),u.Q6J("ngIf","info"===t.alert_type),u.xp6(1),u.Q6J("ngIf","warn"===t.alert_type),u.xp6(1),u.Q6J("ngIf","error"===t.alert_type),u.xp6(1),u.Q6J("ngIf","success"===t.alert_type))},directives:[b.O5,lu],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),s})();function MM(s,n){1&s&&u._UZ(0,"mat-spinner",12),2&s&&u.Q6J("diameter",18)}function xM(s,n){if(1&s&&(u.TgZ(0,"mat-icon",13),u._uU(1," error "),u.qZA()),2&s){const e=u.oxw();u.Q6J("matTooltip",e.getErrorTooltip())("matTooltipDisabled",!e.formGroup.get("passwordCtrl").hasError("backendError"))}}function RM(s,n){1&s&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&s&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function PM(s,n){if(1&s&&(u.TgZ(0,"mat-error",14),u._uU(1),u.qZA()),2&s){const e=u.oxw();u.Q6J("matTooltip",e.getErrorTooltip()),u.xp6(1),u.Oqu(e.getErrorTooltip())}}function IM(s,n){1&s&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&s&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function OM(s,n){1&s&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&s&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let HM=(()=>{class s{constructor(e,t,o){this.translator=e,this.usersManagerService=t,this.store=o,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.multiLanguage=!1,this.language="en",this.allPasswordRequirements=this.store.get("password_requirements_help"),this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new AM}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{const t=e.userAttributes.find(o=>"preferredLanguage"===o.friendlyName);this.language=t&&t.value?t.value.toString():"en","en"!==this.language&&(this.allPasswordRequirements=this.store.get(`password_requirements_help_${this.language}`)),this.changeHelp()}):this.changeHelp()}ngOnChanges(){this.allPasswordRequirements=this.store.get("en"!==this.language?`password_requirements_help_${this.language}`:"password_requirements_help"),this.changeHelp()}getPasswordDisabledTooltip(){return this.translator.instant(this.tooltipPwdViaEmail?"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_VIA_EMAIL":"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_DISABLED")}getErrorTooltip(){let e=this.formGroup.get("passwordCtrl").getError("backendError");return e&&(e=e.replace(":null","")),e}changeHelp(){this.passwordRequirement=this.allPasswordRequirements.find(e=>e.split(":")[0]===this.namespace),this.passwordRequirement=void 0===this.passwordRequirement?this.allPasswordRequirements.find(e=>"default"===e.split(":")[0]).split(/:(.+)/)[1]:this.passwordRequirement.split(/:(.+)/)[1]}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(Cn),u.Y36(sn),u.Y36(Si))},s.\u0275cmp=u.Xpm({type:s,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[u.TTD],decls:21,vars:23,consts:[[3,"formGroup"],["matTooltipPosition","left",1,"max-width",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","passwordCtrl",3,"type","required","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["matSuffix","",3,"click"],["color","warn","matSuffix","","class","error-icon",3,"matTooltip","matTooltipDisabled",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","after",3,"matTooltip",4,"ngIf"],[1,"max-width"],["matInput","","formControlName","passwordAgainCtrl",3,"type","required"],["alert_type","info"],[3,"innerHTML"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",1,"error-icon",3,"matTooltip","matTooltipDisabled"],["matTooltipPosition","after",3,"matTooltip"]],template:function(e,t){1&e&&(u.TgZ(0,"div",0),u.TgZ(1,"mat-form-field",1),u._UZ(2,"input",2),u.ALo(3,"translate"),u.YNc(4,MM,1,1,"mat-spinner",3),u.TgZ(5,"mat-icon",4),u.NdJ("click",function(){return t.showNewPassword=!t.showNewPassword}),u._uU(6),u.qZA(),u.YNc(7,xM,2,2,"mat-icon",5),u.YNc(8,RM,3,3,"mat-error",6),u.YNc(9,PM,2,2,"mat-error",7),u.qZA(),u.TgZ(10,"mat-form-field",8),u.TgZ(11,"mat-label"),u._uU(12),u.ALo(13,"translate"),u.qZA(),u._UZ(14,"input",9),u.TgZ(15,"mat-icon",4),u.NdJ("click",function(){return t.showPasswordConfirm=!t.showPasswordConfirm}),u._uU(16),u.qZA(),u.YNc(17,IM,3,3,"mat-error",6),u.YNc(18,OM,3,3,"mat-error",6),u.qZA(),u.TgZ(19,"app-alert",10),u._UZ(20,"div",11),u.qZA(),u.qZA()),2&e&&(u.Q6J("formGroup",t.formGroup),u.xp6(1),u.Q6J("matTooltip",t.getPasswordDisabledTooltip())("matTooltipDisabled",t.formGroup.get("passwordCtrl").enabled),u.xp6(1),u.s9C("placeholder",u.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),u.Q6J("type",t.showNewPassword?"text":"password")("required",t.passwordRequired)("errorStateMatcher",t.passwordStateMatcher),u.xp6(2),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").pending),u.xp6(2),u.hij(" ",t.showNewPassword?"visibility_off":"visibility"," "),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").dirty&&null!==t.formGroup.get("passwordCtrl").errors),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("required")),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("backendError")),u.xp6(3),u.Oqu(u.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),u.xp6(2),u.Q6J("type",t.showPasswordConfirm?"text":"password")("required",t.passwordRequired),u.xp6(2),u.hij(" ",t.showPasswordConfirm?"visibility_off":"visibility"," "),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("required")),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),u.xp6(2),u.Q6J("innerHTML",t.passwordRequirement,u.oJD))},directives:[ky,Ac,Bh,Fn,JS,pc,Sy,IC,gp,b.O5,tk,Ka,lu,fm,Is,NC],pipes:[Hr],styles:[".max-width[_ngcontent-%COMP%]{width:100%!important}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:5px}.error-icon[_ngcontent-%COMP%]{margin-left:5px}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:initial!important;display:block;margin-top:-1px}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper, [_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:initial!important;display:table}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}"]}),s})();function zM(s,n){if(1&s&&u._UZ(0,"perun-web-apps-password-form",4),2&s){const e=u.oxw();u.Q6J("formGroup",e.newPasswdForm)("namespace",e.namespace)("language",e.language)}}function FM(s,n){if(1&s){const e=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"button",5),u.NdJ("click",function(){return u.CHM(e),u.oxw().onSubmit()}),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()}if(2&s){const e=u.oxw();u.xp6(1),u.Q6J("disabled",e.newPasswdForm.invalid||e.newPasswdForm.pending),u.xp6(1),u.hij(" ",u.lcZ(3,2,"reset"===e.mode?"PAGES.PWD_RESET_PAGE.RESET_BUTTON":"PAGES.PWD_RESET_PAGE.ACTIVATION_BUTTON")," ")}}function LM(s,n){if(1&s&&(u.TgZ(0,"div",6),u.TgZ(1,"app-alert",7),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()),2&s){const e=u.oxw();u.xp6(2),u.hij(" ",u.lcZ(3,1,"reset"===e.mode?"PAGES.PWD_RESET_PAGE.RESET_SUCCESS":"PAGES.PWD_RESET_PAGE.ACTIVATION_SUCCESS")," ")}}function BM(s,n){1&s&&u._UZ(0,"mat-spinner",8)}let NM=(()=>{class s{constructor(e,t,o,r,i){this.storeService=e,this.translate=t,this.apiRequestConfiguration=o,this.usersService=r,this._formBuilder=i,this.loading=!1,this.success=!1,this.language="en"}ngOnInit(){this.loading=!0,this.translate.onLangChange.subscribe(e=>{this.language=e.lang}),this.newPasswdForm=this._formBuilder.group({passwordCtrl:new hp("",ju.required,[CM(this.namespace,this.usersService,this.apiRequestConfiguration)]),passwordAgainCtrl:new hp("",ju.required)},{validators:Zm.passwordMatchValidator}),this.loading=!1}onSubmit(){this.loading=!0,this.authWithoutToken?this.usersService.changePasswordForLogin(this.login,this.namespace,this.newPasswdForm.get("passwordCtrl").value).subscribe(()=>{this.success=!0,this.loading=!1}):this.usersService.changeNonAuthzPasswordByToken(this.token,this.newPasswdForm.get("passwordCtrl").value).subscribe(()=>{this.success=!0,this.loading=!1})}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(Si),u.Y36(Cn),u.Y36($f),u.Y36(sn),u.Y36(aM))},s.\u0275cmp=u.Xpm({type:s,selectors:[["perun-web-apps-password-reset-form"]],inputs:{mode:"mode",namespace:"namespace",login:"login",token:"token",authWithoutToken:"authWithoutToken"},decls:4,vars:4,consts:[[3,"formGroup","namespace","language",4,"ngIf"],[4,"ngIf"],["class","mt-5",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"formGroup","namespace","language"],["mat-flat-button","","color","accent",1,"mx-auto","d-block",3,"disabled","click"],[1,"mt-5"],["alert_type","success"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(u.YNc(0,zM,1,3,"perun-web-apps-password-form",0),u.YNc(1,FM,4,4,"div",1),u.YNc(2,LM,4,3,"div",2),u.YNc(3,BM,1,0,"mat-spinner",3)),2&e&&(u.Q6J("ngIf",!t.success&&!t.loading),u.xp6(1),u.Q6J("ngIf",!t.success&&!t.loading),u.xp6(1),u.Q6J("ngIf",t.success&&!t.loading),u.xp6(1),u.Q6J("ngIf",t.loading))},directives:[b.O5,HM,ky,Ac,Zl,NC,tk],pipes:[Hr],styles:[""]}),s})(),jM=(()=>{class s{constructor(e){this.translate=e}ngOnInit(){this.translate.onLangChange.subscribe(()=>{this.invalidRequestMessage=this.translate.instant("PAGES.PWD_RESET_PAGE.INVALID_REQUEST")})}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(Cn))},s.\u0275cmp=u.Xpm({type:s,selectors:[["perun-web-apps-invalid-request-alert"]],decls:2,vars:1,consts:[["alert_type","info",1,"alert-wrap"],[3,"innerHTML"]],template:function(e,t){1&e&&(u.TgZ(0,"app-alert",0),u._UZ(1,"div",1),u.qZA()),2&e&&(u.xp6(1),u.Q6J("innerHTML",t.invalidRequestMessage,u.oJD))},directives:[NC],styles:[".alert-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),s})();function VM(s,n){if(1&s&&(u.O4$(),u.kcU(),u.TgZ(0,"p",9),u.TgZ(1,"em"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()),2&s){const e=u.oxw();u.xp6(2),u.AsE("",u.lcZ(3,2,"PAGES.PWD_RESET_PAGE.LOGIN"),": ",e.login,"")}}function KM(s,n){if(1&s&&(u.O4$(),u.kcU(),u.TgZ(0,"p",9),u.TgZ(1,"em"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()),2&s){const e=u.oxw();u.xp6(2),u.AsE("",u.lcZ(3,2,"PAGES.PWD_RESET_PAGE.NAMESPACE"),": ",e.namespace,"")}}function UM(s,n){if(1&s&&(u.O4$(),u.kcU(),u._UZ(0,"perun-web-apps-password-reset-form",10)),2&s){const e=u.oxw();u.Q6J("mode",e.mode)("namespace",e.namespace)("login",e.login)("token",e.token)("authWithoutToken",e.authWithoutToken)}}function GM(s,n){1&s&&(u.O4$(),u.kcU(),u._UZ(0,"perun-web-apps-invalid-request-alert"))}let qM=(()=>{class s{constructor(e,t){this.storeService=e,this.sanitizer=t}ngOnInit(){this.passwordResetLogo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("password_reset_logo"))}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(Si),u.Y36(xn))},s.\u0275cmp=u.Xpm({type:s,selectors:[["perun-web-apps-password-reset-page"]],inputs:{mode:"mode",token:"token",namespace:"namespace",login:"login",validToken:"validToken",authWithoutToken:"authWithoutToken"},decls:14,vars:8,consts:[[3,"innerHTML"],[1,"title-with-icon"],["xmlns","http://www.w3.org/2000/svg","width","30.000000pt","height","30.000000pt","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#000000","stroke","none"],["d","M3530 5103 c-619 -30 -1162 -438 -1356 -1020 -115 -342 -107 -702 21-1035 l36 -92 -1100 -1101 c-605 -605 -1105 -1112 -1110 -1127 -8 -22 -5 -49 15 -125 116 -450 112 -436 146 -454 42 -22 513 -139 539 -134 16 4 122 103 287 268 144 145 262 265 262 267 4 51 29 293 32 295 2 2 70 10 151 18 200 19 193 13 213 213 8 81 17 150 19 152 2 2 67 10 145 18 77 7 149 18 159 23 37 20 44 44 60 194 l16 152 125 12 c69 6 136 12 150 12 18 1 98 75 320 296 l295 295 85 -33 c586 -230 1239 -83 1665 375 405 437 514 1079 275 1629 -122 280 -336 524 -606 690 -237 145 -559 226 -844 212z m201 -184 c307 -31 569 -152 790 -366 467 -452 542 -1155 182 -1697 -187 -280 -490 -487 -823 -561 -42 -9 -144 -19 -230 -22 -236 -8 -402 24 -613 119 -65 29 -96 38 -115 33 -17 -4 -139 -118 -332 -309 l-305 -304 -169 -16 c-224 -20 -214 -11 -233 -213 -8 -81 -16 -150 -18 -152 -2 -2 -68 -10 -147 -18 -148 -14 -182 -26 -197 -66 -5 -12 -15 -85 -22 -162 l-14 -140 -140 -14 c-77 -7 -149 -17 -162 -22 -41 -15 -51 -48 -68 -219 l-16 -165 -213 -213 -212 -213 -185 47 c-101 26 -185 49 -187 50 -2 1 -26 87 -53 191 l-49 188 1115 1115 c849 849 1115 1121 1115 1139 0 13 -18 62 -39 110 -40 90 -80 211 -103 316 -20 95 -17 400 5 505 55 255 171 473 354 661 250 257 570 397 934 408 26 0 93 -4 150 -10z"],["d","M3554 4120 c-201 -30 -366 -170 -424 -359 -14 -43 -20 -92 -20 -153 0 -389 394 -632 750 -461 78 38 189 151 227 233 158 336 -58 712 -427 743 -30 3 -78 1 -106 -3z m138 -181 c108 -23 190 -89 239 -192 37 -80 40 -177 7 -264 -30 -80 -112 -162 -193 -192 -121 -45 -270 -14 -358 75 -164 165 -121 440 83 544 72 37 142 46 222 29z"],["class","subtitle",4,"ngIf"],[3,"mode","namespace","login","token","authWithoutToken",4,"ngIf"],[4,"ngIf"],[1,"subtitle"],[3,"mode","namespace","login","token","authWithoutToken"]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u._UZ(1,"div",0),u.TgZ(2,"div",1),u.TgZ(3,"h1"),u._uU(4),u.ALo(5,"translate"),u.qZA(),u.O4$(),u.TgZ(6,"svg",2),u.TgZ(7,"g",3),u._UZ(8,"path",4),u._UZ(9,"path",5),u.qZA(),u.qZA(),u.qZA(),u.YNc(10,VM,4,4,"p",6),u.YNc(11,KM,4,4,"p",6),u.YNc(12,UM,1,5,"perun-web-apps-password-reset-form",7),u.YNc(13,GM,1,0,"perun-web-apps-invalid-request-alert",8),u.qZA()),2&e&&(u.xp6(1),u.Q6J("innerHTML",t.passwordResetLogo,u.oJD),u.xp6(3),u.hij(" ",u.lcZ(5,6,"reset"===t.mode?"PAGES.PWD_RESET_PAGE.TITLE_RESET":"PAGES.PWD_RESET_PAGE.TITLE_ACTIVATION")," "),u.xp6(6),u.Q6J("ngIf",t.login),u.xp6(1),u.Q6J("ngIf",t.namespace),u.xp6(1),u.Q6J("ngIf",t.validToken||t.authWithoutToken),u.xp6(1),u.Q6J("ngIf",!t.validToken&&!t.authWithoutToken))},directives:[b.O5,NM,jM],pipes:[Hr],styles:[".title-with-icon[_ngcontent-%COMP%]{margin-top:30px;display:flex;justify-content:space-between}.subtitle[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:10px}"]}),s})();function $M(s,n){1&s&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&s&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let WM=(()=>{class s{constructor(e,t,o,r,i){this.dialogRef=e,this.translate=t,this.notificator=o,this.rtMessages=r,this.storeService=i,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+e.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+v(4147).i8}close(){this.dialogRef.close()}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(La),u.Y36(Cn),u.Y36(Wf),u.Y36(di),u.Y36(Si))},s.\u0275cmp=u.Xpm({type:s,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){if(1&e&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"div",1),u.TgZ(4,"mat-form-field"),u.TgZ(5,"mat-label"),u._uU(6),u.ALo(7,"translate"),u.qZA(),u.TgZ(8,"input",2,3),u.NdJ("ngModelChange",function(r){return t.subject=r}),u.qZA(),u.YNc(10,$M,3,3,"mat-error",4),u.qZA(),u.TgZ(11,"mat-form-field"),u.TgZ(12,"mat-label"),u._uU(13),u.ALo(14,"translate"),u.qZA(),u.TgZ(15,"textarea",5),u.NdJ("ngModelChange",function(r){return t.message=r}),u.ALo(16,"translate"),u._uU(17," "),u.qZA(),u.TgZ(18,"mat-hint"),u._uU(19),u.ALo(20,"translate"),u.qZA(),u.qZA(),u.qZA(),u.TgZ(21,"div",6),u.TgZ(22,"div",7),u.TgZ(23,"button",8),u.NdJ("click",function(){return t.close()}),u._uU(24),u.ALo(25,"translate"),u.qZA(),u.TgZ(26,"button",9),u.NdJ("click",function(){return t.sendBugReport()}),u._uU(27),u.ALo(28,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e){const o=u.MAs(9);u.xp6(1),u.Oqu(u.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),u.xp6(5),u.Oqu(u.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),u.xp6(2),u.Q6J("ngModel",t.subject),u.xp6(2),u.Q6J("ngIf",o.invalid),u.xp6(3),u.Oqu(u.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),u.xp6(2),u.s9C("placeholder",u.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),u.Q6J("ngModel",t.message),u.xp6(4),u.Oqu(u.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),u.xp6(5),u.hij(" ",u.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),u.xp6(2),u.Q6J("disabled",o.invalid),u.xp6(1),u.hij(" ",u.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[jl,Sh,Bh,Is,JS,pc,gp,Sy,MC,b.O5,fm,pm,Vl,Zl],pipes:[Hr],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),s})(),YM=(()=>{class s{transform(e,t,o){return e[`${o}_${t}`]}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275pipe=u.Yjl({name:"localisedText",type:s,pure:!0}),s})(),ZM=(()=>{class s{transform(e,t){return e["link_"+t]||e.link_en}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275pipe=u.Yjl({name:"localisedLink",type:s,pure:!0}),s})(),QM=(()=>{class s{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275pipe=u.Yjl({name:"footerLogoPath",type:s,pure:!0}),s})();function XM(s,n){if(1&s&&(u.TgZ(0,"a",13),u.ALo(1,"localisedLink"),u._UZ(2,"img",14),u.ALo(3,"footerLogoPath"),u.qZA()),2&s){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("href",u.xi3(1,2,e,t.language),u.LSH),u.xp6(2),u.s9C("src",u.lcZ(3,5,e.logo),u.LSH)}}function JM(s,n){if(1&s&&(u.TgZ(0,"span"),u._UZ(1,"img",14),u.ALo(2,"footerLogoPath"),u.qZA()),2&s){const e=u.oxw().$implicit;u.xp6(1),u.s9C("src",u.lcZ(2,1,e.logo),u.LSH)}}function ex(s,n){if(1&s&&(u.TgZ(0,"div"),u.YNc(1,XM,4,7,"a",11),u.ALo(2,"localisedLink"),u.YNc(3,JM,3,3,"span",12),u.ALo(4,"localisedLink"),u.qZA()),2&s){const e=n.$implicit,t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",u.xi3(2,2,e,t.language)),u.xp6(2),u.Q6J("ngIf",!u.xi3(4,5,e,t.language))}}const tx=function(s){return{"min-height":s}};function ix(s,n){if(1&s&&(u.TgZ(0,"div",10),u.YNc(1,ex,5,8,"div",5),u.qZA()),2&s){const e=u.oxw().$implicit,t=u.oxw();u.Q6J("ngStyle",u.VKq(2,tx,t.columnContentHeight+"px")),u.xp6(1),u.Q6J("ngForOf",e.elements)}}const Ys=function(s){return{color:s}};function nx(s,n){if(1&s&&(u.TgZ(0,"i",20),u._uU(1),u.qZA()),2&s){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("ngStyle",u.VKq(2,Ys,t.linksTextColor)),u.xp6(1),u.hij(" ",e.icon," ")}}function ox(s,n){if(1&s){const e=u.EpF();u.TgZ(0,"span",21),u.NdJ("click",function(){u.CHM(e);const o=u.oxw().$implicit;return u.oxw(3).openDialog(o.dialog)}),u._uU(1),u.ALo(2,"localisedText"),u.qZA()}if(2&s){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("ngStyle",u.VKq(6,Ys,t.linksTextColor)),u.xp6(1),u.hij("",u.Dn7(2,2,e,t.language,"label")," ")}}function rx(s,n){if(1&s&&(u.TgZ(0,"a",22),u.ALo(1,"localisedLink"),u._uU(2),u.ALo(3,"localisedText"),u.qZA()),2&s){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("href",u.xi3(1,3,e,t.language),u.LSH)("ngStyle",u.VKq(10,Ys,t.linksTextColor)),u.xp6(2),u.Oqu(u.Dn7(3,6,e,t.language,"label"))}}function sx(s,n){if(1&s&&(u.TgZ(0,"span",10),u._uU(1),u.ALo(2,"localisedText"),u.qZA()),2&s){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("ngStyle",u.VKq(6,Ys,t.linksTextColor)),u.xp6(1),u.Oqu(u.Dn7(2,2,e,t.language,"label"))}}function ax(s,n){if(1&s&&(u.TgZ(0,"div",16),u.YNc(1,nx,2,4,"i",17),u.YNc(2,ox,3,8,"span",18),u.YNc(3,rx,4,12,"a",19),u.ALo(4,"localisedLink"),u.YNc(5,sx,3,8,"span",9),u.ALo(6,"localisedLink"),u.qZA()),2&s){const e=n.$implicit,t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",e.icon),u.xp6(1),u.Q6J("ngIf",e.dialog),u.xp6(1),u.Q6J("ngIf",u.xi3(4,4,e,t.language)&&!e.dialog),u.xp6(2),u.Q6J("ngIf",!u.xi3(6,7,e,t.language)&&!e.dialog)}}const cx=function(s){return{height:s}};function lx(s,n){if(1&s&&(u.TgZ(0,"div",10),u.YNc(1,ax,7,10,"div",15),u.qZA()),2&s){const e=u.oxw().$implicit,t=u.oxw();u.Q6J("ngStyle",u.VKq(2,cx,t.columnContentHeight+"px")),u.xp6(1),u.Q6J("ngForOf",e.elements)}}function ux(s,n){if(1&s&&(u.TgZ(0,"div",7),u.TgZ(1,"h6",8),u._uU(2),u.ALo(3,"localisedText"),u.qZA(),u.YNc(4,ix,2,4,"div",9),u.YNc(5,lx,2,4,"div",9),u.qZA()),2&s){const e=n.$implicit,t=u.oxw();u.ekj("my-auto",t.containsLogos),u.xp6(1),u.Q6J("ngStyle",u.VKq(10,Ys,t.headersTextColor)),u.xp6(1),u.hij(" ",u.Dn7(3,6,e,t.language,"title")," "),u.xp6(2),u.Q6J("ngIf",e.logos),u.xp6(1),u.Q6J("ngIf",e.elements&&!e.logos)}}function dx(s,n){if(1&s&&(u.TgZ(0,"span"),u.TgZ(1,"a",6),u._uU(2),u.qZA(),u.qZA()),2&s){const e=n.$implicit,t=n.index,o=u.oxw();u.xp6(1),u.Q6J("href",e.url,u.LSH)("ngStyle",u.VKq(3,Ys,o.copyrightTextColor)),u.xp6(1),u.Oqu(t?", "+e.name:e.name)}}const hx=function(s){return{background:s}};let fx=(()=>{class s{constructor(e,t,o){this.storeService=e,this.translateService=t,this.dialog=o,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.language=e.lang}),this.version=v(4147).i8,this.items=this.storeService.get("footer","columns");for(const e of this.items)e.logos?this.containsLogos=!0:25*e.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*e.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(e){const t=Ym();"reportIssue"===e&&(t.width="550px",this.dialog.open(WM,t))}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(Si),u.Y36(Cn),u.Y36(er))},s.\u0275cmp=u.Xpm({type:s,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(e,t){1&e&&(u.TgZ(0,"footer",0),u.TgZ(1,"div",1),u.YNc(2,ux,6,12,"div",2),u.qZA(),u._UZ(3,"hr",3),u.TgZ(4,"div",4),u._uU(5),u.YNc(6,dx,3,5,"span",5),u._uU(7," Version "),u.TgZ(8,"a",6),u._uU(9),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.Q6J("ngStyle",u.VKq(8,hx,t.bgColor)),u.xp6(2),u.Q6J("ngForOf",t.items),u.xp6(2),u.Q6J("ngStyle",u.VKq(10,Ys,t.copyrightTextColor)),u.xp6(1),u.hij(" \xa9 ",t.currentYear," Copyright: "),u.xp6(1),u.Q6J("ngForOf",t.copyrightItems),u.xp6(2),u.Q6J("href",t.githubRepository,u.LSH)("ngStyle",u.VKq(12,Ys,t.copyrightTextColor)),u.xp6(1),u.Oqu(t.version))},directives:[b.PC,b.sg,b.O5],pipes:[YM,ZM,QM],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}"]}),s})();const px=["footer"],gx=function(s){return{background:s}},mx=function(s){return{"min-height":s}};let _x=(()=>{class s{constructor(e,t,o,r,i,a,d){this.dialog=e,this.usersService=t,this.preferredLangService=o,this.translateService=r,this.store=i,this.attributesManagerService=a,this.changeDetector=d,this.authWithoutToken=!1,this.contentHeight="calc(100vh - 84px)",this.contentBackgroundColor=this.store.get("theme","content_bg_color")}ngOnInit(){const e=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(e);const t=location.search.substr(1);this.mode=t.includes("activation")?"activation":"reset",this.namespace=this.parseQueryParams("namespace",t),t.includes("token")?(this.token=this.parseQueryParams("token",t),this.usersService.checkPasswordResetRequestByTokenIsValid(this.token).subscribe(()=>{this.validToken=!0},()=>{this.validToken=!1})):(this.authWithoutToken=!0,this.attributesManagerService.getLogins(this.store.getPerunPrincipal().userId).subscribe(o=>{const r=o.find(i=>i.friendlyNameParameter===this.namespace);this.login=r?r.value.toString():""}))}parseQueryParams(e,t){const o=t.split("&");for(const r of o){const[i,a]=r.split("=");if(i.includes(e))return a}}ngAfterViewInit(){this.contentHeight="calc(100vh - 84px - "+this.footer.nativeElement.offsetHeight+"px)",this.changeDetector.detectChanges()}}return s.\u0275fac=function(e){return new(e||s)(u.Y36(er),u.Y36(sn),u.Y36(ly),u.Y36(Cn),u.Y36(Si),u.Y36(on),u.Y36(u.sBO))},s.\u0275cmp=u.Xpm({type:s,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&u.Gf(px,5),2&e){let o;u.iGM(o=u.CRH())&&(t.footer=o.first)}},decls:8,vars:12,consts:[["id","nav-menu"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],[3,"mode","token","namespace","login","validToken","authWithoutToken"],["footer",""]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u._UZ(1,"perun-web-apps-header",0),u.TgZ(2,"div",1),u.TgZ(3,"div",2),u._UZ(4,"perun-web-apps-password-reset-page",3),u.qZA(),u.TgZ(5,"div",null,4),u._UZ(7,"perun-web-apps-footer"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.xp6(2),u.Q6J("ngStyle",u.VKq(8,gx,t.contentBackgroundColor)),u.xp6(1),u.Q6J("ngStyle",u.VKq(10,mx,t.contentHeight)),u.xp6(1),u.Q6J("mode",t.mode)("token",t.token)("namespace",t.namespace)("login",t.login)("validToken",t.validToken)("authWithoutToken",t.authWithoutToken))},directives:[vC,b.PC,qM,fx],styles:["#nav-menu[_ngcontent-%COMP%]{top:0;background:#102027;position:fixed;width:100%;z-index:999;height:64px;max-height:64px}#content-inner[_ngcontent-%COMP%]{position:relative;padding-top:64px}#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px;margin:10px}@media (min-width: 450px){#content-wrap[_ngcontent-%COMP%]{max-width:400px;margin-left:auto;margin-right:auto}}"]}),s})();class yx{constructor(n,e="/assets/i18n/",t=".json"){this.http=n,this.prefix=e,this.suffix=t}getTranslation(n){return this.http.get(`${this.prefix}${n}${this.suffix}`)}}let wx=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[b.ez,Kl,Co,Rs]]}),s})();const bx=[];let vx=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[jf.forRoot(bx,{relativeLinkResolution:"legacy"}),b.ez],jf]}),s})(),Ax=(()=>{class s{constructor(e,t,o,r,i){this.http=e,this.storeService=t,this.authzSevice=o,this.titleService=r,this.utilsService=i}initializeColors(e,t){return new Promise(o=>{t.forEach(r=>{const i=this.storeService.get("theme",r.configValue);document.documentElement.style.setProperty(r.cssVariable,i)}),e.forEach(r=>{const i=this.storeService.get("theme",r.configValue);document.documentElement.style.setProperty(r.cssVariable,i),this.setEntityTheme(r.entity,i)}),o()})}setEntityTheme(e,t){const o=function Cx(s){return[En(tinycolor(s).lighten(52),"50"),En(tinycolor(s).lighten(37),"100"),En(tinycolor(s).lighten(26),"200"),En(tinycolor(s).lighten(12),"300"),En(tinycolor(s).lighten(6),"400"),En(tinycolor(s),"500"),En(tinycolor(s).darken(6),"600"),En(tinycolor(s).darken(12),"700"),En(tinycolor(s).darken(18),"800"),En(tinycolor(s).darken(24),"900"),En(tinycolor(s).lighten(50).saturate(30),"A100"),En(tinycolor(s).lighten(30).saturate(30),"A200"),En(tinycolor(s).lighten(10).saturate(15),"A400"),En(tinycolor(s).lighten(5).saturate(5),"A700")]}(t);for(const r of o){const d=`--${e}-theme-primary-contrast-${r.name}`,h=r.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${r.name}`,`${r.red},${r.green},${r.blue}`),document.documentElement.style.setProperty(d,h)}}loadAppDefaultConfig(){return new Promise(e=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setDefaultConfig(t),e()})})}loadAppInstanceConfig(){return new Promise(e=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setInstanceConfig(t);const o=document.location.hostname;void 0!==t.brandings&&void 0!==t.brandings[o]&&this.storeService.setBanding(o),e()},()=>{console.log("instance config not detected"),e()})})}getNoCacheHeaders(){return new C.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(e=>{const t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(t),e()})}setApiUrl(){return new Promise(e=>{let t=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(t=t.replace("oauth","ba")),this.authzSevice.configuration.basePath=t,this.titleService.setTitle(this.storeService.get("document_title")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(o=>{this.storeService.setAppsConfig(o),e()},o=>t(o))})}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(C.eN),u.LFG(Si),u.LFG(Hi),u.LFG(Oi),u.LFG(Qe))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function En(s,n){const e=tinycolor(s),t=e.toRgb();return{name:n,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let Tx=(()=>{class s{constructor(e,t,o){this.initAuthService=e,this.appConfigService=t,this.location=o}loadConfigs(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>location.search.substr(1).includes("token")?Promise.resolve(!0):this.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?location.search.substr(1).includes("token")?void 0:this.initAuthService.loadPrincipal():this.initAuthService.handleAuthStart())}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(ay),u.LFG(Ax),u.LFG(b.Ye))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const Ex=new u.OlP("perun-api-service");let ik=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[qe],qe]}),s})(),rk=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({}),s})(),zy=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[Hn,qe,ba,rk],qe,rk]}),s})(),jC=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[qe],qe]}),s})(),Fx=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({}),s})(),ak=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[b.ez,qe,Fx,Cr]]}),s})(),lk=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[Xo,qe],Xo,qe]}),s})(),Nx=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[uo]]}),s})(),VC=(()=>{class s{constructor(){this.changes=new Me.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const Qx={provide:VC,deps:[[new u.FiY,new u.tp0,VC]],useFactory:function Zx(s){return s||new VC}};let dk=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[Qx,Fl],imports:[[qe,b.ez,Cr,Co,Nx,To,Hn],qe]}),s})(),hR=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[Ar]]}),s})(),e0=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[hR,qe],qe]}),s})(),BR=(()=>{class s{constructor(){this.changes=new Me.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const VR={provide:new u.OlP("mat-datepicker-scroll-strategy"),deps:[In],useFactory:function jR(s){return()=>s.scrollStrategies.reposition()}};let t0=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[BR,VR],imports:[[b.ez,Co,ls,mg,Cr,qe],hn]}),s})(),kk=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[b.ez,qe,Et,hn],hn,qe]}),s})(),Mk=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[Xo,Hn,qe,Ah,b.ez],Xo,qe,Ah,jC]}),s})(),n0=(()=>{class s{constructor(){this.changes=new Me.xQ}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const cP={provide:n0,deps:[[new u.FiY,new u.tp0,n0]],useFactory:function aP(s){return s||new n0}};let o0=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[cP],imports:[[b.ez,qe]]}),s})(),xk=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[b.ez,ik,jC,ak,Co,lk,zy,To,e0,Kl,mp,Os,Hy,Ar,FC,Gu,dk,t0,em,kk,Mk,Wa,bC,o0,zs,Fr,eu,Hn],ik,jC,ak,Co,lk,zy,To,e0,Kl,mp,Os,Hy,Ar,FC,Gu,dk,t0,em,kk,Mk,Wa,bC,o0,zs,Fr,eu,Hn]}),s})();const Ok=new u.OlP("mat-chips-default-options");let vP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[Fl,{provide:Ok,useValue:{separatorKeyCodes:[13]}}],imports:[[qe]]}),s})();function CP(s){const{subscriber:n,counter:e,period:t}=s;n.next(e),this.schedule({subscriber:n,counter:e+1,period:t},t)}function s0(s,n,e){for(let t in n)if(n.hasOwnProperty(t)){const o=n[t];o?s.setProperty(t,o,(null==e?void 0:e.has(t))?"important":""):s.removeProperty(t)}return s}function Zu(s,n){const e=n?"":"none";s0(s.style,{"touch-action":n?"":"none","-webkit-user-drag":n?"":"none","-webkit-tap-highlight-color":n?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function Hk(s,n,e){s0(s.style,{position:n?"":"fixed",top:n?"":"0",opacity:n?"":"0",left:n?"":"-999em"},e)}function Zy(s,n){return n&&"none"!=n?s+" "+n:s}function zk(s){const n=s.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(s)*n}function a0(s,n){return s.getPropertyValue(n).split(",").map(t=>t.trim())}function c0(s){const n=s.getBoundingClientRect();return{top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:n.width,height:n.height,x:n.x,y:n.y}}function l0(s,n,e){const{top:t,bottom:o,left:r,right:i}=s;return e>=t&&e<=o&&n>=r&&n<=i}function bp(s,n,e){s.top+=n,s.bottom=s.top+s.height,s.left+=e,s.right=s.left+s.width}function Fk(s,n,e,t){const{top:o,right:r,bottom:i,left:a,width:d,height:h}=s,g=d*n,S=h*n;return t>o-S&&ta-g&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:c0(e)})})}handleScroll(n){const e=Mt(n),t=this.positions.get(e);if(!t)return null;const o=t.scrollPosition;let r,i;if(e===this._document){const h=this._viewportRuler.getViewportScrollPosition();r=h.top,i=h.left}else r=e.scrollTop,i=e.scrollLeft;const a=o.top-r,d=o.left-i;return this.positions.forEach((h,g)=>{h.clientRect&&e!==g&&e.contains(g)&&bp(h.clientRect,a,d)}),o.top=r,o.left=i,{top:a,left:d}}}function Bk(s){const n=s.cloneNode(!0),e=n.querySelectorAll("[id]"),t=s.nodeName.toLowerCase();n.removeAttribute("id");for(let o=0;o{if(this.beforeStarted.next(),this._handles.length){const d=this._handles.find(h=>a.target&&(a.target===h||h.contains(a.target)));d&&!this._disabledHandles.has(d)&&!this.disabled&&this._initializeDragSequence(d,a)}else this.disabled||this._initializeDragSequence(this._rootElement,a)},this._pointerMove=a=>{const d=this._getPointerPositionOnPage(a);if(!this._hasStartedDragging){if(Math.abs(d.x-this._pickupPositionOnPage.x)+Math.abs(d.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const te=Date.now()>=this._dragStartTime+this._getDragStartDelay(a),he=this._dropContainer;if(!te)return void this._endDragSequence(a);(!he||!he.isDragging()&&!he.isReceiving())&&(a.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(a)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),a.preventDefault();const h=this._getConstrainedPointerPosition(d);if(this._hasMoved=!0,this._lastKnownPointerPosition=d,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,d);else{const g=this._activeTransform;g.x=h.x-this._pickupPositionOnPage.x+this._passiveTransform.x,g.y=h.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(g.x,g.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:a,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=a=>{this._endDragSequence(a)},this.withRootElement(n).withParent(e.parentDragRef||null),this._parentPositions=new Lk(t,r),i.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(n){const e=et(n);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>Zu(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(n){this._handles=n.map(t=>Vt(t)),this._handles.forEach(t=>Zu(t,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t)}),this._disabledHandles=e,this}withPreviewTemplate(n){return this._previewTemplate=n,this}withPlaceholderTemplate(n){return this._placeholderTemplate=n,this}withRootElement(n){const e=Vt(n);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,Uk),e.addEventListener("touchstart",this._pointerDown,Kk)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(n){return this._boundaryElement=n?Vt(n):null,this._resizeSubscription.unsubscribe(),n&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(n){return this._parentDragRef=n,this}dispose(){var n,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(n=this._rootElement)||void 0===n||n.remove()),null===(e=this._anchor)||void 0===e||e.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(n){!this._disabledHandles.has(n)&&this._handles.indexOf(n)>-1&&(this._disabledHandles.add(n),Zu(n,!0))}enableHandle(n){this._disabledHandles.has(n)&&(this._disabledHandles.delete(n),Zu(n,this.disabled))}withDirection(n){return this._direction=n,this}_withDropContainer(n){this._dropContainer=n}getFreeDragPosition(){const n=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:n.x,y:n.y}}setFreeDragPosition(n){return this._activeTransform={x:0,y:0},this._passiveTransform.x=n.x,this._passiveTransform.y=n.y,this._dropContainer||this._applyRootElementTransform(n.x,n.y),this}withPreviewContainer(n){return this._previewContainer=n,this}_sortFromLastPointerPosition(){const n=this._lastKnownPointerPosition;n&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(n),n)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var n,e;null===(n=this._preview)||void 0===n||n.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var n,e;null===(n=this._placeholder)||void 0===n||n.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(n){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(n),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(n);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(n){vp(n)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,o=t.parentNode,r=this._placeholder=this._createPlaceholderElement(),i=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();o.insertBefore(i,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),Hk(t,!1,u0),this._document.body.appendChild(o.replaceChild(r,t)),this._getPreviewInsertionPoint(o,a).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(n,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),o=vp(e),r=!o&&0!==e.button,i=this._rootElement,a=Mt(e),d=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=o?fl(e):va(e);if(a&&a.draggable&&"mousedown"===e.type&&e.preventDefault(),t||r||d||h)return;if(this._handles.length){const H=i.style;this._rootElementTapHighlight=H.webkitTapHighlightColor||"",H.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(H=>this._updateOnScroll(H)),this._boundaryElement&&(this._boundaryRect=c0(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(n,e);const S=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:S.x,y:S.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(n){Hk(this._rootElement,!0,u0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,t=e.getItemIndex(this),o=this._getPointerPositionOnPage(n),r=this._getDragDistance(o),i=e._isOverContainer(o.x,o.y);this.ended.next({source:this,distance:r,dropPoint:o}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:i,distance:r,dropPoint:o}),e.drop(this,t,this._initialIndex,this._initialContainer,i,r,o),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:n,y:e},{x:t,y:o}){let r=this._initialContainer._getSiblingContainerFromPosition(this,n,e);!r&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,e)&&(r=this._initialContainer),r&&r!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=r,this._dropContainer.enter(this,n,e,r===this._initialContainer&&r.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:r,currentIndex:r.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,o),this._dropContainer._sortItem(this,n,e,this._pointerDirectionDelta),this._applyPreviewTransform(n-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const n=this._previewTemplate,e=this.previewClass,t=n?n.template:null;let o;if(t&&n){const r=n.matchSize?this._rootElement.getBoundingClientRect():null,i=n.viewContainer.createEmbeddedView(t,n.context);i.detectChanges(),o=qk(i,this._document),this._previewRef=i,n.matchSize?$k(o,r):o.style.transform=Qy(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const r=this._rootElement;o=Bk(r),$k(o,r.getBoundingClientRect()),this._initialTransform&&(o.style.transform=this._initialTransform)}return s0(o.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},u0),Zu(o,!1),o.classList.add("cdk-drag-preview"),o.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(r=>o.classList.add(r)):o.classList.add(e)),o}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const n=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(n.left,n.top);const e=function TP(s){const n=getComputedStyle(s),e=a0(n,"transition-property"),t=e.find(a=>"transform"===a||"all"===a);if(!t)return 0;const o=e.indexOf(t),r=a0(n,"transition-duration"),i=a0(n,"transition-delay");return zk(r[o])+zk(i[o])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const o=i=>{var a;(!i||Mt(i)===this._preview&&"transform"===i.propertyName)&&(null===(a=this._preview)||void 0===a||a.removeEventListener("transitionend",o),t(),clearTimeout(r))},r=setTimeout(o,1.5*e);this._preview.addEventListener("transitionend",o)}))}_createPlaceholderElement(){const n=this._placeholderTemplate,e=n?n.template:null;let t;return e?(this._placeholderRef=n.viewContainer.createEmbeddedView(e,n.context),this._placeholderRef.detectChanges(),t=qk(this._placeholderRef,this._document)):t=Bk(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(n,e){const t=this._rootElement.getBoundingClientRect(),o=n===this._rootElement?null:n,r=o?o.getBoundingClientRect():t,i=vp(e)?e.targetTouches[0]:e,a=this._getViewportScrollPosition();return{x:r.left-t.left+(i.pageX-r.left-a.left),y:r.top-t.top+(i.pageY-r.top-a.top)}}_getPointerPositionOnPage(n){const e=this._getViewportScrollPosition(),t=vp(n)?n.touches[0]||n.changedTouches[0]||{pageX:0,pageY:0}:n,o=t.pageX-e.left,r=t.pageY-e.top;if(this._ownerSVGElement){const i=this._ownerSVGElement.getScreenCTM();if(i){const a=this._ownerSVGElement.createSVGPoint();return a.x=o,a.y=r,a.matrixTransform(i.inverse())}}return{x:o,y:r}}_getConstrainedPointerPosition(n){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:o}=this.constrainPosition?this.constrainPosition(n,this):n;if("x"===this.lockAxis||"x"===e?o=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:r,y:i}=this._pickupPositionInElement,a=this._boundaryRect,d=this._previewRect,h=a.top+i,g=a.bottom-(d.height-i);t=Gk(t,a.left+r,a.right-(d.width-r)),o=Gk(o,h,g)}return{x:t,y:o}}_updatePointerDirectionDelta(n){const{x:e,y:t}=n,o=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,i=Math.abs(e-r.x),a=Math.abs(t-r.y);return i>this._config.pointerDirectionChangeThreshold&&(o.x=e>r.x?1:-1,r.x=e),a>this._config.pointerDirectionChangeThreshold&&(o.y=t>r.y?1:-1,r.y=t),o}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const n=this._handles.length>0||!this.isDragging();n!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=n,Zu(this._rootElement,n))}_removeRootElementListeners(n){n.removeEventListener("mousedown",this._pointerDown,Uk),n.removeEventListener("touchstart",this._pointerDown,Kk)}_applyRootElementTransform(n,e){const t=Qy(n,e),o=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=o.transform&&"none"!=o.transform?o.transform:""),o.transform=Zy(t,this._initialTransform)}_applyPreviewTransform(n,e){var t;const o=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,r=Qy(n,e);this._preview.style.transform=Zy(r,o)}_getDragDistance(n){const e=this._pickupPositionOnPage;return e?{x:n.x-e.x,y:n.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:n,y:e}=this._passiveTransform;if(0===n&&0===e||this.isDragging()||!this._boundaryElement)return;const t=this._boundaryElement.getBoundingClientRect(),o=this._rootElement.getBoundingClientRect();if(0===t.width&&0===t.height||0===o.width&&0===o.height)return;const r=t.left-o.left,i=o.right-t.right,a=t.top-o.top,d=o.bottom-t.bottom;t.width>o.width?(r>0&&(n+=r),i>0&&(n-=i)):n=0,t.height>o.height?(a>0&&(e+=a),d>0&&(e-=d)):e=0,(n!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:n})}_getDragStartDelay(n){const e=this.dragStartDelay;return"number"==typeof e?e:vp(n)?e.touch:e?e.mouse:0}_updateOnScroll(n){const e=this._parentPositions.handleScroll(n);if(e){const t=Mt(n);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&bp(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const n=this._parentPositions.positions.get(this._document);return n?n.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=ft(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(n,e){const t=this._previewContainer||"global";if("parent"===t)return n;if("global"===t){const o=this._document;return e||o.fullscreenElement||o.webkitFullscreenElement||o.mozFullScreenElement||o.msFullscreenElement||o.body}return Vt(t)}}function Qy(s,n){return`translate3d(${Math.round(s)}px, ${Math.round(n)}px, 0)`}function Gk(s,n,e){return Math.max(n,Math.min(e,s))}function vp(s){return"t"===s.type[0]}function qk(s,n){const e=s.rootNodes;if(1===e.length&&e[0].nodeType===n.ELEMENT_NODE)return e[0];const t=n.createElement("div");return e.forEach(o=>t.appendChild(o)),t}function $k(s,n){s.style.width=`${n.width}px`,s.style.height=`${n.height}px`,s.style.transform=Qy(n.left,n.top)}function Ap(s,n){return Math.max(0,Math.min(n,s))}class MP{constructor(n,e,t,o,r){this._dragDropRegistry=e,this._ngZone=o,this._viewportRuler=r,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new Me.xQ,this.entered=new Me.xQ,this.exited=new Me.xQ,this.dropped=new Me.xQ,this.sorted=new Me.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=ei.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Me.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function AP(s=0,n=Ht.P){return(!ae(s)||s<0)&&(s=0),(!n||"function"!=typeof n.schedule)&&(n=Ht.P),new wi.y(e=>(e.add(n.schedule(CP,s,{subscriber:e,counter:0,period:s})),e))}(0,ki).pipe(_t(this._stopScrollTimers)).subscribe(()=>{const i=this._scrollNode,a=this.autoScrollStep;1===this._verticalScrollDirection?i.scrollBy(0,-a):2===this._verticalScrollDirection&&i.scrollBy(0,a),1===this._horizontalScrollDirection?i.scrollBy(-a,0):2===this._horizontalScrollDirection&&i.scrollBy(a,0)})},this.element=Vt(n),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new Lk(t,r)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(n,e,t,o){let r;this._draggingStarted(),null==o?(r=this.sortingDisabled?this._draggables.indexOf(n):-1,-1===r&&(r=this._getItemIndexFromPointerPosition(n,e,t))):r=o;const i=this._activeDraggables,a=i.indexOf(n),d=n.getPlaceholderElement();let h=i[r];if(h===n&&(h=i[r+1]),!h&&(null==r||-1===r||r-1&&i.splice(a,1),h&&!this._dragDropRegistry.isDragging(h)){const g=h.getRootElement();g.parentElement.insertBefore(d,g),i.splice(r,0,n)}else Vt(this.element).appendChild(d),i.push(n);d.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:n,container:this,currentIndex:this.getItemIndex(n)})}exit(n){this._reset(),this.exited.next({item:n,container:this})}drop(n,e,t,o,r,i,a){this._reset(),this.dropped.next({item:n,currentIndex:e,previousIndex:t,container:this,previousContainer:o,isPointerOverContainer:r,distance:i,dropPoint:a})}withItems(n){const e=this._draggables;return this._draggables=n,n.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(o=>o.isDragging()).every(o=>-1===n.indexOf(o))?this._reset():this._cacheItems()),this}withDirection(n){return this._direction=n,this}connectedTo(n){return this._siblings=n.slice(),this}withOrientation(n){return this._orientation=n,this}withScrollableParents(n){const e=Vt(this.element);return this._scrollableElements=-1===n.indexOf(e)?[e,...n]:n.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(n){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===n):this._draggables.indexOf(n)}isReceiving(){return this._activeSiblings.size>0}_sortItem(n,e,t,o){if(this.sortingDisabled||!this._clientRect||!Fk(this._clientRect,.05,e,t))return;const r=this._itemPositions,i=this._getItemIndexFromPointerPosition(n,e,t,o);if(-1===i&&r.length>0)return;const a="horizontal"===this._orientation,d=r.findIndex(Ee=>Ee.drag===n),h=r[i],S=h.clientRect,H=d>i?1:-1,te=this._getItemOffsetPx(r[d].clientRect,S,H),he=this._getSiblingOffsetPx(d,r,H),_e=r.slice();(function DP(s,n,e){const t=Ap(n,s.length-1),o=Ap(e,s.length-1);if(t===o)return;const r=s[t],i=o{if(_e[gt]===Ee)return;const Pt=Ee.drag===n,yt=Pt?te:he,zt=Pt?n.getPlaceholderElement():Ee.drag.getRootElement();Ee.offset+=yt,a?(zt.style.transform=Zy(`translate3d(${Math.round(Ee.offset)}px, 0, 0)`,Ee.initialTransform),bp(Ee.clientRect,0,yt)):(zt.style.transform=Zy(`translate3d(0, ${Math.round(Ee.offset)}px, 0)`,Ee.initialTransform),bp(Ee.clientRect,yt,0))}),this._previousSwap.overlaps=l0(S,e,t),this._previousSwap.drag=h.drag,this._previousSwap.delta=a?o.x:o.y}_startScrollingIfNecessary(n,e){if(this.autoScrollDisabled)return;let t,o=0,r=0;if(this._parentPositions.positions.forEach((i,a)=>{a===this._document||!i.clientRect||t||Fk(i.clientRect,.05,n,e)&&([o,r]=function xP(s,n,e,t){const o=Zk(n,t),r=Qk(n,e);let i=0,a=0;if(o){const d=s.scrollTop;1===o?d>0&&(i=1):s.scrollHeight-d>s.clientHeight&&(i=2)}if(r){const d=s.scrollLeft;1===r?d>0&&(a=1):s.scrollWidth-d>s.clientWidth&&(a=2)}return[i,a]}(a,i.clientRect,n,e),(o||r)&&(t=a))}),!o&&!r){const{width:i,height:a}=this._viewportRuler.getViewportSize(),d={width:i,height:a,top:0,right:i,bottom:a,left:0};o=Zk(d,e),r=Qk(d,n),t=window}t&&(o!==this._verticalScrollDirection||r!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=o,this._horizontalScrollDirection=r,this._scrollNode=t,(o||r)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const n=Vt(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=n.msScrollSnapType||n.scrollSnapType||"",n.scrollSnapType=n.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const n=Vt(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(n).clientRect}_cacheItemPositions(){const n="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:c0(t)}}).sort((e,t)=>n?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const n=Vt(this.element).style;n.scrollSnapType=n.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const o=e.getRootElement();if(o){const r=null===(t=this._itemPositions.find(i=>i.drag===e))||void 0===t?void 0:t.initialTransform;o.style.transform=r||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(n,e,t){const o="horizontal"===this._orientation,r=e[n].clientRect,i=e[n+-1*t];let a=r[o?"width":"height"]*t;if(i){const d=o?"left":"top",h=o?"right":"bottom";-1===t?a-=i.clientRect[d]-r[h]:a+=r[d]-i.clientRect[h]}return a}_getItemOffsetPx(n,e,t){const o="horizontal"===this._orientation;let r=o?e.left-n.left:e.top-n.top;return-1===t&&(r+=o?e.width-n.width:e.height-n.height),r}_shouldEnterAsFirstChild(n,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,o="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const i=t[t.length-1].clientRect;return o?n>=i.right:e>=i.bottom}{const i=t[0].clientRect;return o?n<=i.left:e<=i.top}}_getItemIndexFromPointerPosition(n,e,t,o){const r="horizontal"===this._orientation,i=this._itemPositions.findIndex(({drag:a,clientRect:d})=>{if(a===n)return!1;if(o){const h=r?o.x:o.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return r?e>=Math.floor(d.left)&&e=Math.floor(d.top)&&to._canReceive(n,e,t))}_canReceive(n,e,t){if(!this._clientRect||!l0(this._clientRect,e,t)||!this.enterPredicate(n,this))return!1;const o=this._getShadowRoot().elementFromPoint(e,t);if(!o)return!1;const r=Vt(this.element);return o===r||r.contains(o)}_startReceiving(n,e){const t=this._activeSiblings;!t.has(n)&&e.every(o=>this.enterPredicate(o,this)||this._draggables.indexOf(o)>-1)&&(t.add(n),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(n){this._activeSiblings.delete(n),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(n=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(n);e&&(this._itemPositions.forEach(({clientRect:t})=>{bp(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const n=ft(Vt(this.element));this._cachedShadowRoot=n||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const n=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,n))}}function Zk(s,n){const{top:e,bottom:t,height:o}=s,r=.05*o;return n>=e-r&&n<=e+r?1:n>=t-r&&n<=t+r?2:0}function Qk(s,n){const{left:e,right:t,width:o}=s,r=.05*o;return n>=e-r&&n<=e+r?1:n>=t-r&&n<=t+r?2:0}const Xy=dn({passive:!1,capture:!0});let RP=(()=>{class s{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=o=>o.isDragging(),this.pointerMove=new Me.xQ,this.pointerUp=new Me.xQ,this.scroll=new Me.xQ,this._preventDefaultWhileDragging=o=>{this._activeDragInstances.length>0&&o.preventDefault()},this._persistentTouchmoveListener=o=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&o.preventDefault(),this.pointerMove.next(o))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Xy)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Xy)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const o=t.type.startsWith("touch");this._globalListeners.set(o?"touchend":"mouseup",{handler:r=>this.pointerUp.next(r),options:!0}).set("scroll",{handler:r=>this.scroll.next(r),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Xy}),o||this._globalListeners.set("mousemove",{handler:r=>this.pointerMove.next(r),options:Xy}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((r,i)=>{this._document.addEventListener(i,r.handler,r.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const t=[this.scroll];return e&&e!==this._document&&t.push(new wi.y(o=>this._ngZone.runOutsideAngular(()=>{const i=a=>{this._activeDragInstances.length&&o.next(a)};return e.addEventListener("scroll",i,!0),()=>{e.removeEventListener("scroll",i,!0)}}))),(0,fi.T)(...t)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(u.R0b),u.LFG(b.K0))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const PP={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let IP=(()=>{class s{constructor(e,t,o,r){this._document=e,this._ngZone=t,this._viewportRuler=o,this._dragDropRegistry=r}createDrag(e,t=PP){return new kP(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new MP(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(b.K0),u.LFG(u.R0b),u.LFG(No),u.LFG(RP))},s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),OP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[IP],imports:[hn]}),s})(),HP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[b.ez]]}),s})(),zP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({}),s})(),jP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({}),s})(),YP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[jP,qe],qe]}),s})(),cI=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[Hn,qe],qe]}),s})(),dI=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[[b.ez,Gu,Co,zy,To,mp,Fr]]}),s})(),hI=(()=>{class s extends yh{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return s.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(s)))(t||s)}}(),s.\u0275prov=u.Yz7({token:s,factory:s.\u0275fac}),s})();const fI={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let pI=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({providers:[{provide:wn,useClass:hI},{provide:Ha,useValue:fI}],imports:[[b.ez,zy,e0,FC,vP,OP,Rs,jf,o0,zs,mp,BC,To,Wa,Co,Fr,Os,Gu,Hy,Hn,HP,zP,YP,t0,cI,Ch,eu,dI,Ar,Kl,Jv,xk]]}),s})();const g1={provide:C.TP,useExisting:(0,u.Gpc)(()=>Yf),multi:!0};function m1(s){return new yx(s,"./assets/i18n/",".json")}function _1(s){const n={basePath:s.get("api_url")};return new Le(n)}const y1=s=>()=>s.loadConfigs();let w1=(()=>{class s{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return s.\u0275fac=function(e){return new(e||s)(u.LFG(Ws),u.LFG(Cn))},s.\u0275mod=u.oAB({type:s,bootstrap:[_x]}),s.\u0275inj=u.cJS({providers:[Ws,{provide:u.ip1,useFactory:y1,multi:!0,deps:[Tx]},{provide:Le,useFactory:_1,deps:[Si]},Yf,g1,{provide:Ex,useClass:cy}],imports:[[Io,Rs.forRoot({loader:{provide:Zn,useFactory:m1,deps:[C.eN]}}),Rb,To,wx,kp,C.JF,vx,xk,BC,vM,Uf.zr.forRoot(),pI]]}),s})();(0,u.G48)(),Po().bootstrapModule(w1).catch(s=>console.error(s))},1302:function(N,U,v){var b;!function(u,I){var L={};!function(u){"use strict";u.__esModule=!0,u.digestLength=32,u.blockSize=64;var I=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function L(q,J,ie,ee,re){for(var Ce,Ae,He,pt,mt,Ge,mi,Tt,Xe,oe,ue,de,le;re>=64;){for(Ce=J[0],Ae=J[1],He=J[2],pt=J[3],mt=J[4],Ge=J[5],mi=J[6],Tt=J[7],oe=0;oe<16;oe++)q[oe]=(255&ie[ue=ee+4*oe])<<24|(255&ie[ue+1])<<16|(255&ie[ue+2])<<8|255&ie[ue+3];for(oe=16;oe<64;oe++)q[oe]=((de=((Xe=q[oe-2])>>>17|Xe<<15)^(Xe>>>19|Xe<<13)^Xe>>>10)+q[oe-7]|0)+((le=((Xe=q[oe-15])>>>7|Xe<<25)^(Xe>>>18|Xe<<14)^Xe>>>3)+q[oe-16]|0);for(oe=0;oe<64;oe++)de=(((mt>>>6|mt<<26)^(mt>>>11|mt<<21)^(mt>>>25|mt<<7))+(mt&Ge^~mt&mi)|0)+(Tt+(I[oe]+q[oe]|0)|0)|0,le=((Ce>>>2|Ce<<30)^(Ce>>>13|Ce<<19)^(Ce>>>22|Ce<<10))+(Ce&Ae^Ce&He^Ae&He)|0,Tt=mi,mi=Ge,Ge=mt,mt=pt+de|0,pt=He,He=Ae,Ae=Ce,Ce=de+le|0;J[0]+=Ce,J[1]+=Ae,J[2]+=He,J[3]+=pt,J[4]+=mt,J[5]+=Ge,J[6]+=mi,J[7]+=Tt,ee+=64,re-=64}return ee}var R=function(){function q(){this.digestLength=u.digestLength,this.blockSize=u.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return q.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},q.prototype.clean=function(){for(var J=0;J0){for(;this.bufferLength<64&&ie>0;)this.buffer[this.bufferLength++]=J[ee++],ie--;64===this.bufferLength&&(L(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ie>=64&&(ee=L(this.temp,this.state,J,ee,ie),ie%=64);ie>0;)this.buffer[this.bufferLength++]=J[ee++],ie--;return this},q.prototype.finish=function(J){if(!this.finished){var ie=this.bytesHashed,ee=this.bufferLength,re=ie/536870912|0,Ce=ie<<3,Ae=ie%64<56?64:128;this.buffer[ee]=128;for(var He=ee+1;He>>24&255,this.buffer[Ae-7]=re>>>16&255,this.buffer[Ae-6]=re>>>8&255,this.buffer[Ae-5]=re>>>0&255,this.buffer[Ae-4]=Ce>>>24&255,this.buffer[Ae-3]=Ce>>>16&255,this.buffer[Ae-2]=Ce>>>8&255,this.buffer[Ae-1]=Ce>>>0&255,L(this.temp,this.state,this.buffer,0,Ae),this.finished=!0}for(He=0;He<8;He++)J[4*He+0]=this.state[He]>>>24&255,J[4*He+1]=this.state[He]>>>16&255,J[4*He+2]=this.state[He]>>>8&255,J[4*He+3]=this.state[He]>>>0&255;return this},q.prototype.digest=function(){var J=new Uint8Array(this.digestLength);return this.finish(J),J},q.prototype._saveState=function(J){for(var ie=0;iethis.blockSize)(new R).update(J).finish(ie).clean();else for(var ee=0;ee1&&J.update(q),ie&&J.update(ie),J.update(ee),J.finish(q),ee[0]++}u.HMAC=O,u.hash=$,u.default=$,u.hmac=G;var z=new Uint8Array(u.digestLength);u.hkdf=function F(q,J,ie,ee){void 0===J&&(J=z),void 0===ee&&(ee=32);for(var re=new Uint8Array([1]),Ce=G(J,q),Ae=new O(Ce),He=new Uint8Array(Ae.digestLength),pt=He.length,mt=new Uint8Array(ee),Ge=0;Ge>>24&255,Ae[1]=mi>>>16&255,Ae[2]=mi>>>8&255,Ae[3]=mi>>>0&255,re.reset(),re.update(J),re.update(Ae),re.finish(pt);for(var Tt=0;Tt=F.status}function O(z){try{z.dispatchEvent(new MouseEvent("click"))}catch(V){var F=document.createEvent("MouseEvents");F.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),z.dispatchEvent(F)}}var $="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,G=$.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),j=$.saveAs||("object"!=typeof window||window!==$?function(){}:"download"in HTMLAnchorElement.prototype&&!G?function(z,F,V){var q=$.URL||$.webkitURL,J=document.createElement("a");J.download=F=F||z.name||"download",J.rel="noopener","string"==typeof z?(J.href=z,J.origin===location.origin?O(J):R(J.href)?L(z,F,V):O(J,J.target="_blank")):(J.href=q.createObjectURL(z),setTimeout(function(){q.revokeObjectURL(J.href)},4e4),setTimeout(function(){O(J)},0))}:"msSaveOrOpenBlob"in navigator?function(z,F,V){if(F=F||z.name||"download","string"!=typeof z)navigator.msSaveOrOpenBlob(function I(z,F){return void 0===F?F={autoBom:!1}:"object"!=typeof F&&(console.warn("Deprecated: Expected third argument to be a object"),F={autoBom:!F}),F.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(z.type)?new Blob(["\ufeff",z],{type:z.type}):z}(z,V),F);else if(R(z))L(z,F,V);else{var q=document.createElement("a");q.href=z,q.target="_blank",setTimeout(function(){O(q)})}}:function(z,F,V,q){if((q=q||open("","_blank"))&&(q.document.title=q.document.body.innerText="downloading..."),"string"==typeof z)return L(z,F,V);var J="application/octet-stream"===z.type,ie=/constructor/i.test($.HTMLElement)||$.safari,ee=/CriOS\/[\d]+/.test(navigator.userAgent);if((ee||J&&ie||G)&&"undefined"!=typeof FileReader){var re=new FileReader;re.onloadend=function(){var He=re.result;He=ee?He:He.replace(/^data:[^;]*;/,"data:attachment/file;"),q?q.location.href=He:location=He,q=null},re.readAsDataURL(z)}else{var Ce=$.URL||$.webkitURL,Ae=Ce.createObjectURL(z);q?q.location=Ae:location.href=Ae,q=null,setTimeout(function(){Ce.revokeObjectURL(Ae)},4e4)}});$.saveAs=j.saveAs=j,N.exports=j}.apply(U,[]))&&(N.exports=u)},1869:(N,U,v)=>{"use strict";v.d(U,{d:()=>u});var b=v(3489);class u extends b.L{constructor(L,R,O){super(),this.parent=L,this.outerValue=R,this.outerIndex=O,this.index=0}_next(L){this.parent.notifyNext(this.outerValue,L,this.outerIndex,this.index++,this)}_error(L){this.parent.notifyError(L,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},9312:(N,U,v)=>{"use strict";v.d(U,{P:()=>R});var b=v(8896),u=v(1086),I=v(1737);class R{constructor($,G,j){this.kind=$,this.value=G,this.error=j,this.hasValue="N"===$}observe($){switch(this.kind){case"N":return $.next&&$.next(this.value);case"E":return $.error&&$.error(this.error);case"C":return $.complete&&$.complete()}}do($,G,j){switch(this.kind){case"N":return $&&$(this.value);case"E":return G&&G(this.error);case"C":return j&&j()}}accept($,G,j){return $&&"function"==typeof $.next?this.observe($):this.do($,G,j)}toObservable(){switch(this.kind){case"N":return(0,u.of)(this.value);case"E":return(0,I._)(this.error);case"C":return(0,b.c)()}throw new Error("unexpected notification kind value")}static createNext($){return void 0!==$?new R("N",$):R.undefinedValueNotification}static createError($){return new R("E",void 0,$)}static createComplete(){return R.completeNotification}}R.completeNotification=new R("C"),R.undefinedValueNotification=new R("N",void 0)},2916:(N,U,v)=>{"use strict";v.d(U,{y:()=>F});var b=v(3489),I=v(7668),L=v(3292),O=v(3821),$=v(5379);var z=v(2830);let F=(()=>{class q{constructor(ie){this._isScalar=!1,ie&&(this._subscribe=ie)}lift(ie){const ee=new q;return ee.source=this,ee.operator=ie,ee}subscribe(ie,ee,re){const{operator:Ce}=this,Ae=function R(q,J,ie){if(q){if(q instanceof b.L)return q;if(q[I.b])return q[I.b]()}return q||J||ie?new b.L(q,J,ie):new b.L(L.c)}(ie,ee,re);if(Ae.add(Ce?Ce.call(Ae,this.source):this.source||z.v.useDeprecatedSynchronousErrorHandling&&!Ae.syncErrorThrowable?this._subscribe(Ae):this._trySubscribe(Ae)),z.v.useDeprecatedSynchronousErrorHandling&&Ae.syncErrorThrowable&&(Ae.syncErrorThrowable=!1,Ae.syncErrorThrown))throw Ae.syncErrorValue;return Ae}_trySubscribe(ie){try{return this._subscribe(ie)}catch(ee){z.v.useDeprecatedSynchronousErrorHandling&&(ie.syncErrorThrown=!0,ie.syncErrorValue=ee),function u(q){for(;q;){const{closed:J,destination:ie,isStopped:ee}=q;if(J||ee)return!1;q=ie&&ie instanceof b.L?ie:null}return!0}(ie)?ie.error(ee):console.warn(ee)}}forEach(ie,ee){return new(ee=V(ee))((re,Ce)=>{let Ae;Ae=this.subscribe(He=>{try{ie(He)}catch(pt){Ce(pt),Ae&&Ae.unsubscribe()}},Ce,re)})}_subscribe(ie){const{source:ee}=this;return ee&&ee.subscribe(ie)}[O.L](){return this}pipe(...ie){return 0===ie.length?this:function j(q){return 0===q.length?$.y:1===q.length?q[0]:function(ie){return q.reduce((ee,re)=>re(ee),ie)}}(ie)(this)}toPromise(ie){return new(ie=V(ie))((ee,re)=>{let Ce;this.subscribe(Ae=>Ce=Ae,Ae=>re(Ae),()=>ee(Ce))})}}return q.create=J=>new q(J),q})();function V(q){if(q||(q=z.v.Promise||Promise),!q)throw new Error("no Promise impl found");return q}},3292:(N,U,v)=>{"use strict";v.d(U,{c:()=>I});var b=v(2830),u=v(2782);const I={closed:!0,next(L){},error(L){if(b.v.useDeprecatedSynchronousErrorHandling)throw L;(0,u.z)(L)},complete(){}}},826:(N,U,v)=>{"use strict";v.d(U,{L:()=>u});var b=v(3489);class u extends b.L{notifyNext(L,R,O,$,G){this.destination.next(R)}notifyError(L,R){this.destination.error(L)}notifyComplete(L){this.destination.complete()}}},8929:(N,U,v)=>{"use strict";v.d(U,{Yc:()=>$,xQ:()=>G});var b=v(2916),u=v(3489),I=v(2654),L=v(5279),R=v(5283),O=v(7668);class $ extends u.L{constructor(F){super(F),this.destination=F}}let G=(()=>{class z extends b.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[O.b](){return new $(this)}lift(V){const q=new j(this,this);return q.operator=V,q}next(V){if(this.closed)throw new L.N;if(!this.isStopped){const{observers:q}=this,J=q.length,ie=q.slice();for(let ee=0;eenew j(F,V),z})();class j extends G{constructor(F,V){super(),this.destination=F,this.source=V}next(F){const{destination:V}=this;V&&V.next&&V.next(F)}error(F){const{destination:V}=this;V&&V.error&&this.destination.error(F)}complete(){const{destination:F}=this;F&&F.complete&&this.destination.complete()}_subscribe(F){const{source:V}=this;return V?this.source.subscribe(F):I.w.EMPTY}}},5283:(N,U,v)=>{"use strict";v.d(U,{W:()=>u});var b=v(2654);class u extends b.w{constructor(L,R){super(),this.subject=L,this.subscriber=R,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const L=this.subject,R=L.observers;if(this.subject=null,!R||0===R.length||L.isStopped||L.closed)return;const O=R.indexOf(this.subscriber);-1!==O&&R.splice(O,1)}}},3489:(N,U,v)=>{"use strict";v.d(U,{L:()=>$});var b=v(7043),u=v(3292),I=v(2654),L=v(7668),R=v(2830),O=v(2782);class $ extends I.w{constructor(z,F,V){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=u.c;break;case 1:if(!z){this.destination=u.c;break}if("object"==typeof z){z instanceof $?(this.syncErrorThrowable=z.syncErrorThrowable,this.destination=z,z.add(this)):(this.syncErrorThrowable=!0,this.destination=new G(this,z));break}default:this.syncErrorThrowable=!0,this.destination=new G(this,z,F,V)}}[L.b](){return this}static create(z,F,V){const q=new $(z,F,V);return q.syncErrorThrowable=!1,q}next(z){this.isStopped||this._next(z)}error(z){this.isStopped||(this.isStopped=!0,this._error(z))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(z){this.destination.next(z)}_error(z){this.destination.error(z),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:z}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=z,this}}class G extends ${constructor(z,F,V,q){super(),this._parentSubscriber=z;let J,ie=this;(0,b.m)(F)?J=F:F&&(J=F.next,V=F.error,q=F.complete,F!==u.c&&(ie=Object.create(F),(0,b.m)(ie.unsubscribe)&&this.add(ie.unsubscribe.bind(ie)),ie.unsubscribe=this.unsubscribe.bind(this))),this._context=ie,this._next=J,this._error=V,this._complete=q}next(z){if(!this.isStopped&&this._next){const{_parentSubscriber:F}=this;R.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?this.__tryOrSetError(F,this._next,z)&&this.unsubscribe():this.__tryOrUnsub(this._next,z)}}error(z){if(!this.isStopped){const{_parentSubscriber:F}=this,{useDeprecatedSynchronousErrorHandling:V}=R.v;if(this._error)V&&F.syncErrorThrowable?(this.__tryOrSetError(F,this._error,z),this.unsubscribe()):(this.__tryOrUnsub(this._error,z),this.unsubscribe());else if(F.syncErrorThrowable)V?(F.syncErrorValue=z,F.syncErrorThrown=!0):(0,O.z)(z),this.unsubscribe();else{if(this.unsubscribe(),V)throw z;(0,O.z)(z)}}}complete(){if(!this.isStopped){const{_parentSubscriber:z}=this;if(this._complete){const F=()=>this._complete.call(this._context);R.v.useDeprecatedSynchronousErrorHandling&&z.syncErrorThrowable?(this.__tryOrSetError(z,F),this.unsubscribe()):(this.__tryOrUnsub(F),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(z,F){try{z.call(this._context,F)}catch(V){if(this.unsubscribe(),R.v.useDeprecatedSynchronousErrorHandling)throw V;(0,O.z)(V)}}__tryOrSetError(z,F,V){if(!R.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{F.call(this._context,V)}catch(q){return R.v.useDeprecatedSynchronousErrorHandling?(z.syncErrorValue=q,z.syncErrorThrown=!0,!0):((0,O.z)(q),!0)}return!1}_unsubscribe(){const{_parentSubscriber:z}=this;this._context=null,this._parentSubscriber=null,z.unsubscribe()}}},2654:(N,U,v)=>{"use strict";v.d(U,{w:()=>O});var b=v(6688),u=v(7830),I=v(7043);const R=(()=>{function G(j){return Error.call(this),this.message=j?`${j.length} errors occurred during unsubscription:\n${j.map((z,F)=>`${F+1}) ${z.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=j,this}return G.prototype=Object.create(Error.prototype),G})();class O{constructor(j){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,j&&(this._unsubscribe=j)}unsubscribe(){let j;if(this.closed)return;let{_parentOrParents:z,_unsubscribe:F,_subscriptions:V}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,z instanceof O)z.remove(this);else if(null!==z)for(let q=0;qj.concat(z instanceof R?z.errors:z),[])}O.EMPTY=((G=new O).closed=!0,G)},2830:(N,U,v)=>{"use strict";v.d(U,{v:()=>u});let b=!1;const u={Promise:void 0,set useDeprecatedSynchronousErrorHandling(I){if(I){const L=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+L.stack)}else b&&console.log("RxJS: Back to a better error behavior. Thank you. <3");b=I},get useDeprecatedSynchronousErrorHandling(){return b}}},1762:(N,U,v)=>{"use strict";v.d(U,{c:()=>R,N:()=>O});var b=v(8929),u=v(2916),I=v(2654),L=v(4327);class R extends u.y{constructor(F,V){super(),this.source=F,this.subjectFactory=V,this._refCount=0,this._isComplete=!1}_subscribe(F){return this.getSubject().subscribe(F)}getSubject(){const F=this._subject;return(!F||F.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let F=this._connection;return F||(this._isComplete=!1,F=this._connection=new I.w,F.add(this.source.subscribe(new $(this.getSubject(),this))),F.closed&&(this._connection=null,F=I.w.EMPTY)),F}refCount(){return(0,L.x)()(this)}}const O=(()=>{const z=R.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:z._subscribe},_isComplete:{value:z._isComplete,writable:!0},getSubject:{value:z.getSubject},connect:{value:z.connect},refCount:{value:z.refCount}}})();class $ extends b.Yc{constructor(F,V){super(F),this.connectable=V}_error(F){this._unsubscribe(),super._error(F)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const F=this.connectable;if(F){this.connectable=null;const V=F._connection;F._refCount=0,F._subject=null,F._connection=null,V&&V.unsubscribe()}}}},6053:(N,U,v)=>{"use strict";v.d(U,{aj:()=>$});var b=v(2866),u=v(6688),I=v(826),L=v(9054),R=v(3009);const O={};function $(...z){let F=null,V=null;return(0,b.K)(z[z.length-1])&&(V=z.pop()),"function"==typeof z[z.length-1]&&(F=z.pop()),1===z.length&&(0,u.k)(z[0])&&(z=z[0]),(0,R.n)(z,V).lift(new G(F))}class G{constructor(F){this.resultSelector=F}call(F,V){return V.subscribe(new j(F,this.resultSelector))}}class j extends I.L{constructor(F,V){super(F),this.resultSelector=V,this.active=0,this.values=[],this.observables=[]}_next(F){this.values.push(O),this.observables.push(F)}_complete(){const F=this.observables,V=F.length;if(0===V)this.destination.complete();else{this.active=V,this.toRespond=V;for(let q=0;q{"use strict";v.d(U,{E:()=>u,c:()=>I});var b=v(2916);const u=new b.y(R=>R.complete());function I(R){return R?function L(R){return new b.y(O=>R.schedule(()=>O.complete()))}(R):u}},5254:(N,U,v)=>{"use strict";v.d(U,{D:()=>ie});var b=v(2916),u=v(9249),I=v(2654),L=v(3821),$=v(6454),G=v(5430),F=v(8955),V=v(8515);function ie(ee,re){return re?function J(ee,re){if(null!=ee){if(function z(ee){return ee&&"function"==typeof ee[L.L]}(ee))return function R(ee,re){return new b.y(Ce=>{const Ae=new I.w;return Ae.add(re.schedule(()=>{const He=ee[L.L]();Ae.add(He.subscribe({next(pt){Ae.add(re.schedule(()=>Ce.next(pt)))},error(pt){Ae.add(re.schedule(()=>Ce.error(pt)))},complete(){Ae.add(re.schedule(()=>Ce.complete()))}}))})),Ae})}(ee,re);if((0,F.t)(ee))return function O(ee,re){return new b.y(Ce=>{const Ae=new I.w;return Ae.add(re.schedule(()=>ee.then(He=>{Ae.add(re.schedule(()=>{Ce.next(He),Ae.add(re.schedule(()=>Ce.complete()))}))},He=>{Ae.add(re.schedule(()=>Ce.error(He)))}))),Ae})}(ee,re);if((0,V.z)(ee))return(0,$.r)(ee,re);if(function q(ee){return ee&&"function"==typeof ee[G.hZ]}(ee)||"string"==typeof ee)return function j(ee,re){if(!ee)throw new Error("Iterable cannot be null");return new b.y(Ce=>{const Ae=new I.w;let He;return Ae.add(()=>{He&&"function"==typeof He.return&&He.return()}),Ae.add(re.schedule(()=>{He=ee[G.hZ](),Ae.add(re.schedule(function(){if(Ce.closed)return;let pt,mt;try{const Ge=He.next();pt=Ge.value,mt=Ge.done}catch(Ge){return void Ce.error(Ge)}mt?Ce.complete():(Ce.next(pt),this.schedule())}))})),Ae})}(ee,re)}throw new TypeError((null!==ee&&typeof ee||ee)+" is not observable")}(ee,re):ee instanceof b.y?ee:new b.y((0,u.s)(ee))}},3009:(N,U,v)=>{"use strict";v.d(U,{n:()=>L});var b=v(2916),u=v(3650),I=v(6454);function L(R,O){return O?(0,I.r)(R,O):new b.y((0,u.V)(R))}},6787:(N,U,v)=>{"use strict";v.d(U,{T:()=>R});var b=v(2916),u=v(2866),I=v(9146),L=v(3009);function R(...O){let $=Number.POSITIVE_INFINITY,G=null,j=O[O.length-1];return(0,u.K)(j)?(G=O.pop(),O.length>1&&"number"==typeof O[O.length-1]&&($=O.pop())):"number"==typeof j&&($=O.pop()),null===G&&1===O.length&&O[0]instanceof b.y?O[0]:(0,I.J)($)((0,L.n)(O,G))}},1086:(N,U,v)=>{"use strict";v.d(U,{of:()=>L});var b=v(2866),u=v(3009),I=v(6454);function L(...R){let O=R[R.length-1];return(0,b.K)(O)?(R.pop(),(0,I.r)(R,O)):(0,u.n)(R)}},1946:(N,U,v)=>{"use strict";v.d(U,{S3:()=>R});var b=v(6688),u=v(3009),I=v(826),L=v(9054);function R(...G){if(1===G.length){if(!(0,b.k)(G[0]))return G[0];G=G[0]}return(0,u.n)(G,void 0).lift(new O)}class O{call(j,z){return z.subscribe(new $(j))}}class $ extends I.L{constructor(j){super(j),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(j){this.observables.push(j)}_complete(){const j=this.observables,z=j.length;if(0===z)this.destination.complete();else{for(let F=0;F{"use strict";v.d(U,{_:()=>u});var b=v(2916);function u(L,R){return new b.y(R?O=>R.schedule(I,0,{error:L,subscriber:O}):O=>O.error(L))}function I({error:L,subscriber:R}){R.error(L)}},7221:(N,U,v)=>{"use strict";v.d(U,{K:()=>L});var b=v(826),u=v(1869),I=v(9054);function L($){return function(j){const z=new R($),F=j.lift(z);return z.caught=F}}class R{constructor(G){this.selector=G}call(G,j){return j.subscribe(new O(G,this.selector,this.caught))}}class O extends b.L{constructor(G,j,z){super(G),this.selector=j,this.caught=z}error(G){if(!this.isStopped){let j;try{j=this.selector(G,this.caught)}catch(V){return void super.error(V)}this._unsubscribeAndRecycle();const z=new u.d(this,void 0,void 0);this.add(z);const F=(0,I.D)(this,j,void 0,void 0,z);F!==z&&this.add(F)}}}},1406:(N,U,v)=>{"use strict";v.d(U,{b:()=>u});var b=v(1709);function u(I,L){return(0,b.zg)(I,L,1)}},13:(N,U,v)=>{"use strict";v.d(U,{b:()=>I});var b=v(3489),u=v(353);function I($,G=u.P){return j=>j.lift(new L($,G))}class L{constructor(G,j){this.dueTime=G,this.scheduler=j}call(G,j){return j.subscribe(new R(G,this.dueTime,this.scheduler))}}class R extends b.L{constructor(G,j,z){super(G),this.dueTime=j,this.scheduler=z,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(G){this.clearDebounce(),this.lastValue=G,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(O,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:G}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(G)}}clearDebounce(){const G=this.debouncedSubscription;null!==G&&(this.remove(G),G.unsubscribe(),this.debouncedSubscription=null)}}function O($){$.debouncedNext()}},7314:(N,U,v)=>{"use strict";v.d(U,{d:()=>u});var b=v(3489);function u(R=null){return O=>O.lift(new I(R))}class I{constructor(O){this.defaultValue=O}call(O,$){return $.subscribe(new L(O,this.defaultValue))}}class L extends b.L{constructor(O,$){super(O),this.defaultValue=$,this.isEmpty=!0}_next(O){this.isEmpty=!1,this.destination.next(O)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(N,U,v)=>{"use strict";v.d(U,{g:()=>R});var b=v(353),u=v(2697),I=v(3489),L=v(9312);function R(j,z=b.P){const V=(0,u.J)(j)?+j-z.now():Math.abs(j);return q=>q.lift(new O(V,z))}class O{constructor(z,F){this.delay=z,this.scheduler=F}call(z,F){return F.subscribe(new $(z,this.delay,this.scheduler))}}class $ extends I.L{constructor(z,F,V){super(z),this.delay=F,this.scheduler=V,this.queue=[],this.active=!1,this.errored=!1}static dispatch(z){const F=z.source,V=F.queue,q=z.scheduler,J=z.destination;for(;V.length>0&&V[0].time-q.now()<=0;)V.shift().notification.observe(J);if(V.length>0){const ie=Math.max(0,V[0].time-q.now());this.schedule(z,ie)}else this.unsubscribe(),F.active=!1}_schedule(z){this.active=!0,this.destination.add(z.schedule($.dispatch,this.delay,{source:this,destination:this.destination,scheduler:z}))}scheduleNotification(z){if(!0===this.errored)return;const F=this.scheduler,V=new G(F.now()+this.delay,z);this.queue.push(V),!1===this.active&&this._schedule(F)}_next(z){this.scheduleNotification(L.P.createNext(z))}_error(z){this.errored=!0,this.queue=[],this.destination.error(z),this.unsubscribe()}_complete(){this.scheduleNotification(L.P.createComplete()),this.unsubscribe()}}class G{constructor(z,F){this.time=z,this.notification=F}}},2198:(N,U,v)=>{"use strict";v.d(U,{h:()=>u});var b=v(3489);function u(R,O){return function(G){return G.lift(new I(R,O))}}class I{constructor(O,$){this.predicate=O,this.thisArg=$}call(O,$){return $.subscribe(new L(O,this.predicate,this.thisArg))}}class L extends b.L{constructor(O,$,G){super(O),this.predicate=$,this.thisArg=G,this.count=0}_next(O){let $;try{$=this.predicate.call(this.thisArg,O,this.count++)}catch(G){return void this.destination.error(G)}$&&this.destination.next(O)}}},7224:(N,U,v)=>{"use strict";v.d(U,{P:()=>$});var b=v(4450),u=v(2198),I=v(2986),L=v(7314),R=v(4907),O=v(5379);function $(G,j){const z=arguments.length>=2;return F=>F.pipe(G?(0,u.h)((V,q)=>G(V,q,F)):O.y,(0,I.q)(1),z?(0,L.d)(j):(0,R.T)(()=>new b.K))}},4850:(N,U,v)=>{"use strict";v.d(U,{U:()=>u});var b=v(3489);function u(R,O){return function(G){if("function"!=typeof R)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return G.lift(new I(R,O))}}class I{constructor(O,$){this.project=O,this.thisArg=$}call(O,$){return $.subscribe(new L(O,this.project,this.thisArg))}}class L extends b.L{constructor(O,$,G){super(O),this.project=$,this.count=0,this.thisArg=G||this}_next(O){let $;try{$=this.project.call(this.thisArg,O,this.count++)}catch(G){return void this.destination.error(G)}this.destination.next($)}}},9146:(N,U,v)=>{"use strict";v.d(U,{J:()=>I});var b=v(1709),u=v(5379);function I(L=Number.POSITIVE_INFINITY){return(0,b.zg)(u.y,L)}},1709:(N,U,v)=>{"use strict";v.d(U,{zg:()=>O});var b=v(9054),u=v(826),I=v(1869),L=v(4850),R=v(5254);function O(j,z,F=Number.POSITIVE_INFINITY){return"function"==typeof z?V=>V.pipe(O((q,J)=>(0,R.D)(j(q,J)).pipe((0,L.U)((ie,ee)=>z(q,ie,J,ee))),F)):("number"==typeof z&&(F=z),V=>V.lift(new $(j,F)))}class ${constructor(z,F=Number.POSITIVE_INFINITY){this.project=z,this.concurrent=F}call(z,F){return F.subscribe(new G(z,this.project,this.concurrent))}}class G extends u.L{constructor(z,F,V=Number.POSITIVE_INFINITY){super(z),this.project=F,this.concurrent=V,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(z){this.active0?this._next(F.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(N,U,v)=>{"use strict";v.d(U,{x:()=>u});var b=v(3489);function u(){return function(O){return O.lift(new I(O))}}class I{constructor(O){this.connectable=O}call(O,$){const{connectable:G}=this;G._refCount++;const j=new L(O,G),z=$.subscribe(j);return j.closed||(j.connection=G.connect()),z}}class L extends b.L{constructor(O,$){super(O),this.connectable=$}_unsubscribe(){const{connectable:O}=this;if(!O)return void(this.connection=null);this.connectable=null;const $=O._refCount;if($<=0)return void(this.connection=null);if(O._refCount=$-1,$>1)return void(this.connection=null);const{connection:G}=this,j=O._connection;this.connection=null,j&&(!G||j===G)&&j.unsubscribe()}}},2474:(N,U,v)=>{"use strict";v.d(U,{B:()=>$});var b=v(1762);class I{constructor(j,z){this.subjectFactory=j,this.selector=z}call(j,z){const{selector:F}=this,V=this.subjectFactory(),q=F(V).subscribe(j);return q.add(z.subscribe(V)),q}}var L=v(4327),R=v(8929);function O(){return new R.xQ}function $(){return G=>(0,L.x)()(function u(G,j){return function(F){let V;if(V="function"==typeof G?G:function(){return G},"function"==typeof j)return F.lift(new I(V,j));const q=Object.create(F,b.N);return q.source=F,q.subjectFactory=V,q}}(O)(G))}},7545:(N,U,v)=>{"use strict";v.d(U,{w:()=>O});var b=v(826),u=v(1869),I=v(9054),L=v(4850),R=v(5254);function O(j,z){return"function"==typeof z?F=>F.pipe(O((V,q)=>(0,R.D)(j(V,q)).pipe((0,L.U)((J,ie)=>z(V,J,q,ie))))):F=>F.lift(new $(j))}class ${constructor(z){this.project=z}call(z,F){return F.subscribe(new G(z,this.project))}}class G extends b.L{constructor(z,F){super(z),this.project=F,this.index=0}_next(z){let F;const V=this.index++;try{F=this.project(z,V)}catch(q){return void this.destination.error(q)}this._innerSub(F,z,V)}_innerSub(z,F,V){const q=this.innerSubscription;q&&q.unsubscribe();const J=new u.d(this,F,V),ie=this.destination;ie.add(J),this.innerSubscription=(0,I.D)(this,z,void 0,void 0,J),this.innerSubscription!==J&&ie.add(this.innerSubscription)}_complete(){const{innerSubscription:z}=this;(!z||z.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(z){this.destination.remove(z),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(z,F,V,q,J){this.destination.next(F)}}},2986:(N,U,v)=>{"use strict";v.d(U,{q:()=>L});var b=v(3489),u=v(4231),I=v(8896);function L($){return G=>0===$?(0,I.c)():G.lift(new R($))}class R{constructor(G){if(this.total=G,this.total<0)throw new u.W}call(G,j){return j.subscribe(new O(G,this.total))}}class O extends b.L{constructor(G,j){super(G),this.total=j,this.count=0}_next(G){const j=this.total,z=++this.count;z<=j&&(this.destination.next(G),z===j&&(this.destination.complete(),this.unsubscribe()))}}},2868:(N,U,v)=>{"use strict";v.d(U,{b:()=>L});var b=v(3489);function u(){}var I=v(7043);function L($,G,j){return function(F){return F.lift(new R($,G,j))}}class R{constructor(G,j,z){this.nextOrObserver=G,this.error=j,this.complete=z}call(G,j){return j.subscribe(new O(G,this.nextOrObserver,this.error,this.complete))}}class O extends b.L{constructor(G,j,z,F){super(G),this._tapNext=u,this._tapError=u,this._tapComplete=u,this._tapError=z||u,this._tapComplete=F||u,(0,I.m)(j)?(this._context=this,this._tapNext=j):j&&(this._context=j,this._tapNext=j.next||u,this._tapError=j.error||u,this._tapComplete=j.complete||u)}_next(G){try{this._tapNext.call(this._context,G)}catch(j){return void this.destination.error(j)}this.destination.next(G)}_error(G){try{this._tapError.call(this._context,G)}catch(j){return void this.destination.error(j)}this.destination.error(G)}_complete(){try{this._tapComplete.call(this._context)}catch(G){return void this.destination.error(G)}return this.destination.complete()}}},4907:(N,U,v)=>{"use strict";v.d(U,{T:()=>I});var b=v(4450),u=v(3489);function I($=O){return G=>G.lift(new L($))}class L{constructor(G){this.errorFactory=G}call(G,j){return j.subscribe(new R(G,this.errorFactory))}}class R extends u.L{constructor(G,j){super(G),this.errorFactory=j,this.hasValue=!1}_next(G){this.hasValue=!0,this.destination.next(G)}_complete(){if(this.hasValue)return this.destination.complete();{let G;try{G=this.errorFactory()}catch(j){G=j}this.destination.error(G)}}}function O(){return new b.K}},6227:(N,U,v)=>{"use strict";v.d(U,{V:()=>F});var b=v(353);const I=(()=>{function V(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return V.prototype=Object.create(Error.prototype),V})();var L=v(2697),R=v(826),O=v(9054);class G{constructor(q,J,ie,ee){this.waitFor=q,this.absoluteTimeout=J,this.withObservable=ie,this.scheduler=ee}call(q,J){return J.subscribe(new j(q,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class j extends R.L{constructor(q,J,ie,ee,re){super(q),this.absoluteTimeout=J,this.waitFor=ie,this.withObservable=ee,this.scheduler=re,this.action=null,this.scheduleTimeout()}static dispatchTimeout(q){const{withObservable:J}=q;q._unsubscribeAndRecycle(),q.add((0,O.D)(q,J))}scheduleTimeout(){const{action:q}=this;q?this.action=q.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(j.dispatchTimeout,this.waitFor,this))}_next(q){this.absoluteTimeout||this.scheduleTimeout(),super._next(q)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var z=v(1737);function F(V,q=b.P){return function $(V,q,J=b.P){return ie=>{let ee=(0,L.J)(V),re=ee?+V-J.now():Math.abs(V);return ie.lift(new G(re,ee,q,J))}}(V,(0,z._)(new I),q)}},6454:(N,U,v)=>{"use strict";v.d(U,{r:()=>I});var b=v(2916),u=v(2654);function I(L,R){return new b.y(O=>{const $=new u.w;let G=0;return $.add(R.schedule(function(){G!==L.length?(O.next(L[G++]),O.closed||$.add(this.schedule())):O.complete()})),$})}},6686:(N,U,v)=>{"use strict";v.d(U,{o:()=>I});var b=v(2654);class u extends b.w{constructor(R,O){super()}schedule(R,O=0){return this}}class I extends u{constructor(R,O){super(R,O),this.scheduler=R,this.work=O,this.pending=!1}schedule(R,O=0){if(this.closed)return this;this.state=R;const $=this.id,G=this.scheduler;return null!=$&&(this.id=this.recycleAsyncId(G,$,O)),this.pending=!0,this.delay=O,this.id=this.id||this.requestAsyncId(G,this.id,O),this}requestAsyncId(R,O,$=0){return setInterval(R.flush.bind(R,this),$)}recycleAsyncId(R,O,$=0){if(null!==$&&this.delay===$&&!1===this.pending)return O;clearInterval(O)}execute(R,O){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const $=this._execute(R,O);if($)return $;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(R,O){let G,$=!1;try{this.work(R)}catch(j){$=!0,G=!!j&&j||new Error(j)}if($)return this.unsubscribe(),G}_unsubscribe(){const R=this.id,O=this.scheduler,$=O.actions,G=$.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==G&&$.splice(G,1),null!=R&&(this.id=this.recycleAsyncId(O,R,null)),this.delay=null}}},2268:(N,U,v)=>{"use strict";v.d(U,{v:()=>u});let b=(()=>{class I{constructor(R,O=I.now){this.SchedulerAction=R,this.now=O}schedule(R,O=0,$){return new this.SchedulerAction(this,R).schedule($,O)}}return I.now=()=>Date.now(),I})();class u extends b{constructor(L,R=b.now){super(L,()=>u.delegate&&u.delegate!==this?u.delegate.now():R()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(L,R=0,O){return u.delegate&&u.delegate!==this?u.delegate.schedule(L,R,O):super.schedule(L,R,O)}flush(L){const{actions:R}=this;if(this.active)return void R.push(L);let O;this.active=!0;do{if(O=L.execute(L.state,L.delay))break}while(L=R.shift());if(this.active=!1,O){for(;L=R.shift();)L.unsubscribe();throw O}}}},353:(N,U,v)=>{"use strict";v.d(U,{P:()=>I});var b=v(6686);const I=new(v(2268).v)(b.o)},5430:(N,U,v)=>{"use strict";v.d(U,{hZ:()=>u});const u=function b(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(N,U,v)=>{"use strict";v.d(U,{L:()=>b});const b="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(N,U,v)=>{"use strict";v.d(U,{b:()=>b});const b="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(N,U,v)=>{"use strict";v.d(U,{W:()=>u});const u=(()=>{function I(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return I.prototype=Object.create(Error.prototype),I})()},4450:(N,U,v)=>{"use strict";v.d(U,{K:()=>u});const u=(()=>{function I(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return I.prototype=Object.create(Error.prototype),I})()},5279:(N,U,v)=>{"use strict";v.d(U,{N:()=>u});const u=(()=>{function I(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return I.prototype=Object.create(Error.prototype),I})()},2782:(N,U,v)=>{"use strict";function b(u){setTimeout(()=>{throw u},0)}v.d(U,{z:()=>b})},5379:(N,U,v)=>{"use strict";function b(u){return u}v.d(U,{y:()=>b})},6688:(N,U,v)=>{"use strict";v.d(U,{k:()=>b});const b=Array.isArray||(u=>u&&"number"==typeof u.length)},8515:(N,U,v)=>{"use strict";v.d(U,{z:()=>b});const b=u=>u&&"number"==typeof u.length&&"function"!=typeof u},2697:(N,U,v)=>{"use strict";function b(u){return u instanceof Date&&!isNaN(+u)}v.d(U,{J:()=>b})},7043:(N,U,v)=>{"use strict";function b(u){return"function"==typeof u}v.d(U,{m:()=>b})},7830:(N,U,v)=>{"use strict";function b(u){return null!==u&&"object"==typeof u}v.d(U,{K:()=>b})},8955:(N,U,v)=>{"use strict";function b(u){return!!u&&"function"!=typeof u.subscribe&&"function"==typeof u.then}v.d(U,{t:()=>b})},2866:(N,U,v)=>{"use strict";function b(u){return u&&"function"==typeof u.schedule}v.d(U,{K:()=>b})},9249:(N,U,v)=>{"use strict";v.d(U,{s:()=>F});var b=v(3650),u=v(2782),L=v(5430),O=v(3821),G=v(8515),j=v(8955),z=v(7830);const F=V=>{if(V&&"function"==typeof V[O.L])return(V=>q=>{const J=V[O.L]();if("function"!=typeof J.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return J.subscribe(q)})(V);if((0,G.z)(V))return(0,b.V)(V);if((0,j.t)(V))return(V=>q=>(V.then(J=>{q.closed||(q.next(J),q.complete())},J=>q.error(J)).then(null,u.z),q))(V);if(V&&"function"==typeof V[L.hZ])return(V=>q=>{const J=V[L.hZ]();for(;;){const ie=J.next();if(ie.done){q.complete();break}if(q.next(ie.value),q.closed)break}return"function"==typeof J.return&&q.add(()=>{J.return&&J.return()}),q})(V);{const J=`You provided ${(0,z.K)(V)?"an invalid object":`'${V}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(J)}}},3650:(N,U,v)=>{"use strict";v.d(U,{V:()=>b});const b=u=>I=>{for(let L=0,R=u.length;L{"use strict";v.d(U,{D:()=>L});var b=v(1869),u=v(9249),I=v(2916);function L(R,O,$,G,j=new b.d(R,$,G)){if(!j.closed)return O instanceof I.y?O.subscribe(j):(0,u.s)(O)(j)}},655:(N,U,v)=>{"use strict";function G(oe,ue,de,le){return new(de||(de=Promise))(function(se,tt){function vt(Je){try{Ve(le.next(Je))}catch(Sn){tt(Sn)}}function Ii(Je){try{Ve(le.throw(Je))}catch(Sn){tt(Sn)}}function Ve(Je){Je.done?se(Je.value):function be(se){return se instanceof de?se:new de(function(tt){tt(se)})}(Je.value).then(vt,Ii)}Ve((le=le.apply(oe,ue||[])).next())})}v.d(U,{mG:()=>G})},9808:(N,U,v)=>{"use strict";v.d(U,{mr:()=>Ae,Ov:()=>nt,ez:()=>Oc,K0:()=>$,Do:()=>pt,V_:()=>z,Ye:()=>mt,S$:()=>re,mk:()=>Ho,sg:()=>yi,O5:()=>qi,PC:()=>Ju,RF:()=>zi,n9:()=>$i,b0:()=>He,lw:()=>G,EM:()=>zc,JF:()=>Ht,NF:()=>ki,w_:()=>O,bD:()=>yr,q:()=>I,Mx:()=>pr,HT:()=>R});var b=v(5e3);let u=null;function I(){return u}function R(k){u||(u=k)}class O{}const $=new b.OlP("DocumentToken");let G=(()=>{class k{historyGo(E){throw new Error("Not implemented")}}return k.\u0275fac=function(E){return new(E||k)},k.\u0275prov=b.Yz7({token:k,factory:function(){return function j(){return(0,b.LFG)(F)}()},providedIn:"platform"}),k})();const z=new b.OlP("Location Initialized");let F=(()=>{class k extends G{constructor(E){super(),this._doc=E,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return I().getBaseHref(this._doc)}onPopState(E){const P=I().getGlobalEventTarget(this._doc,"window");return P.addEventListener("popstate",E,!1),()=>P.removeEventListener("popstate",E)}onHashChange(E){const P=I().getGlobalEventTarget(this._doc,"window");return P.addEventListener("hashchange",E,!1),()=>P.removeEventListener("hashchange",E)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(E){this.location.pathname=E}pushState(E,P,Y){V()?this._history.pushState(E,P,Y):this.location.hash=Y}replaceState(E,P,Y){V()?this._history.replaceState(E,P,Y):this.location.hash=Y}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return k.\u0275fac=function(E){return new(E||k)(b.LFG($))},k.\u0275prov=b.Yz7({token:k,factory:function(){return function q(){return new F((0,b.LFG)($))}()},providedIn:"platform"}),k})();function V(){return!!window.history.pushState}function J(k,x){if(0==k.length)return x;if(0==x.length)return k;let E=0;return k.endsWith("/")&&E++,x.startsWith("/")&&E++,2==E?k+x.substring(1):1==E?k+x:k+"/"+x}function ie(k){const x=k.match(/#|\?|$/),E=x&&x.index||k.length;return k.slice(0,E-("/"===k[E-1]?1:0))+k.slice(E)}function ee(k){return k&&"?"!==k[0]?"?"+k:k}let re=(()=>{class k{historyGo(E){throw new Error("Not implemented")}}return k.\u0275fac=function(E){return new(E||k)},k.\u0275prov=b.Yz7({token:k,factory:function(){return function Ce(k){const x=(0,b.LFG)($).location;return new He((0,b.LFG)(G),x&&x.origin||"")}()},providedIn:"root"}),k})();const Ae=new b.OlP("appBaseHref");let He=(()=>{class k extends re{constructor(E,P){if(super(),this._platformLocation=E,this._removeListenerFns=[],null==P&&(P=this._platformLocation.getBaseHrefFromDOM()),null==P)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=P}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return J(this._baseHref,E)}path(E=!1){const P=this._platformLocation.pathname+ee(this._platformLocation.search),Y=this._platformLocation.hash;return Y&&E?`${P}${Y}`:P}pushState(E,P,Y,ae){const fe=this.prepareExternalUrl(Y+ee(ae));this._platformLocation.pushState(E,P,fe)}replaceState(E,P,Y,ae){const fe=this.prepareExternalUrl(Y+ee(ae));this._platformLocation.replaceState(E,P,fe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var P,Y;null===(Y=(P=this._platformLocation).historyGo)||void 0===Y||Y.call(P,E)}}return k.\u0275fac=function(E){return new(E||k)(b.LFG(G),b.LFG(Ae,8))},k.\u0275prov=b.Yz7({token:k,factory:k.\u0275fac}),k})(),pt=(()=>{class k extends re{constructor(E,P){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=P&&(this._baseHref=P)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let P=this._platformLocation.hash;return null==P&&(P="#"),P.length>0?P.substring(1):P}prepareExternalUrl(E){const P=J(this._baseHref,E);return P.length>0?"#"+P:P}pushState(E,P,Y,ae){let fe=this.prepareExternalUrl(Y+ee(ae));0==fe.length&&(fe=this._platformLocation.pathname),this._platformLocation.pushState(E,P,fe)}replaceState(E,P,Y,ae){let fe=this.prepareExternalUrl(Y+ee(ae));0==fe.length&&(fe=this._platformLocation.pathname),this._platformLocation.replaceState(E,P,fe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var P,Y;null===(Y=(P=this._platformLocation).historyGo)||void 0===Y||Y.call(P,E)}}return k.\u0275fac=function(E){return new(E||k)(b.LFG(G),b.LFG(Ae,8))},k.\u0275prov=b.Yz7({token:k,factory:k.\u0275fac}),k})(),mt=(()=>{class k{constructor(E,P){this._subject=new b.vpe,this._urlChangeListeners=[],this._platformStrategy=E;const Y=this._platformStrategy.getBaseHref();this._platformLocation=P,this._baseHref=ie(Tt(Y)),this._platformStrategy.onPopState(ae=>{this._subject.emit({url:this.path(!0),pop:!0,state:ae.state,type:ae.type})})}path(E=!1){return this.normalize(this._platformStrategy.path(E))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(E,P=""){return this.path()==this.normalize(E+ee(P))}normalize(E){return k.stripTrailingSlash(function mi(k,x){return k&&x.startsWith(k)?x.substring(k.length):x}(this._baseHref,Tt(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._platformStrategy.prepareExternalUrl(E)}go(E,P="",Y=null){this._platformStrategy.pushState(Y,"",E,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ee(P)),Y)}replaceState(E,P="",Y=null){this._platformStrategy.replaceState(Y,"",E,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ee(P)),Y)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(E=0){var P,Y;null===(Y=(P=this._platformStrategy).historyGo)||void 0===Y||Y.call(P,E)}onUrlChange(E){this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(P=>{this._notifyUrlChangeListeners(P.url,P.state)}))}_notifyUrlChangeListeners(E="",P){this._urlChangeListeners.forEach(Y=>Y(E,P))}subscribe(E,P,Y){return this._subject.subscribe({next:E,error:P,complete:Y})}}return k.normalizeQueryParams=ee,k.joinWithSlash=J,k.stripTrailingSlash=ie,k.\u0275fac=function(E){return new(E||k)(b.LFG(re),b.LFG(G))},k.\u0275prov=b.Yz7({token:k,factory:function(){return function Ge(){return new mt((0,b.LFG)(re),(0,b.LFG)(G))}()},providedIn:"root"}),k})();function Tt(k){return k.replace(/\/index.html$/,"")}var ue=(()=>((ue=ue||{})[ue.Zero=0]="Zero",ue[ue.One=1]="One",ue[ue.Two=2]="Two",ue[ue.Few=3]="Few",ue[ue.Many=4]="Many",ue[ue.Other=5]="Other",ue))();const ro=b.kL8;class It{}let sn=(()=>{class k extends It{constructor(E){super(),this.locale=E}getPluralCategory(E,P){switch(ro(P||this.locale)(E)){case ue.Zero:return"zero";case ue.One:return"one";case ue.Two:return"two";case ue.Few:return"few";case ue.Many:return"many";default:return"other"}}}return k.\u0275fac=function(E){return new(E||k)(b.LFG(b.soG))},k.\u0275prov=b.Yz7({token:k,factory:k.\u0275fac}),k})();function pr(k,x){x=encodeURIComponent(x);for(const E of k.split(";")){const P=E.indexOf("="),[Y,ae]=-1==P?[E,""]:[E.slice(0,P),E.slice(P+1)];if(Y.trim()===x)return decodeURIComponent(ae)}return null}let Ho=(()=>{class k{constructor(E,P,Y,ae){this._iterableDiffers=E,this._keyValueDiffers=P,this._ngEl=Y,this._renderer=ae,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(E){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof E?E.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(E){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof E?E.split(/\s+/):E,this._rawClass&&((0,b.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const E=this._iterableDiffer.diff(this._rawClass);E&&this._applyIterableChanges(E)}else if(this._keyValueDiffer){const E=this._keyValueDiffer.diff(this._rawClass);E&&this._applyKeyValueChanges(E)}}_applyKeyValueChanges(E){E.forEachAddedItem(P=>this._toggleClass(P.key,P.currentValue)),E.forEachChangedItem(P=>this._toggleClass(P.key,P.currentValue)),E.forEachRemovedItem(P=>{P.previousValue&&this._toggleClass(P.key,!1)})}_applyIterableChanges(E){E.forEachAddedItem(P=>{if("string"!=typeof P.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,b.AaK)(P.item)}`);this._toggleClass(P.item,!0)}),E.forEachRemovedItem(P=>this._toggleClass(P.item,!1))}_applyClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(P=>this._toggleClass(P,!0)):Object.keys(E).forEach(P=>this._toggleClass(P,!!E[P])))}_removeClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(P=>this._toggleClass(P,!1)):Object.keys(E).forEach(P=>this._toggleClass(P,!1)))}_toggleClass(E,P){(E=E.trim())&&E.split(/\s+/g).forEach(Y=>{P?this._renderer.addClass(this._ngEl.nativeElement,Y):this._renderer.removeClass(this._ngEl.nativeElement,Y)})}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.ZZ4),b.Y36(b.aQg),b.Y36(b.SBq),b.Y36(b.Qsj))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),k})();class gr{constructor(x,E,P,Y){this.$implicit=x,this.ngForOf=E,this.index=P,this.count=Y}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let yi=(()=>{class k{constructor(E,P,Y){this._viewContainer=E,this._template=P,this._differs=Y,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const P=this._viewContainer;E.forEachOperation((Y,ae,fe)=>{if(null==Y.previousIndex)P.createEmbeddedView(this._template,new gr(Y.item,this._ngForOf,-1,-1),null===fe?void 0:fe);else if(null==fe)P.remove(null===ae?void 0:ae);else if(null!==ae){const ze=P.get(ae);P.move(ze,fe),mr(ze,Y)}});for(let Y=0,ae=P.length;Y{mr(P.get(Y.currentIndex),Y)})}static ngTemplateContextGuard(E,P){return!0}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(b.ZZ4))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),k})();function mr(k,x){k.context.$implicit=x.item}let qi=(()=>{class k{constructor(E,P){this._viewContainer=E,this._context=new Ot,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=P}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){Xu("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){Xu("ngIfElse",E),this._elseTemplateRef=E,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(E,P){return!0}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.s_b),b.Y36(b.Rgc))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),k})();class Ot{constructor(){this.$implicit=null,this.ngIf=null}}function Xu(k,x){if(x&&!x.createEmbeddedView)throw new Error(`${k} must be a TemplateRef, but received '${(0,b.AaK)(x)}'.`)}class Rc{constructor(x,E){this._viewContainerRef=x,this._templateRef=E,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(x){x&&!this._created?this.create():!x&&this._created&&this.destroy()}}let zi=(()=>{class k{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(E)}_matchCase(E){const P=E==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||P,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),P}_updateDefaultCases(E){if(this._defaultViews&&E!==this._defaultUsed){this._defaultUsed=E;for(let P=0;P{class k{constructor(E,P,Y){this.ngSwitch=Y,Y._addCase(),this._view=new Rc(E,P)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(zi,9))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),k})(),Ju=(()=>{class k{constructor(E,P,Y){this._ngEl=E,this._differs=P,this._renderer=Y,this._ngStyle=null,this._differ=null}set ngStyle(E){this._ngStyle=E,!this._differ&&E&&(this._differ=this._differs.find(E).create())}ngDoCheck(){if(this._differ){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,P){const[Y,ae]=E.split(".");null!=(P=null!=P&&ae?`${P}${ae}`:P)?this._renderer.setStyle(this._ngEl.nativeElement,Y,P):this._renderer.removeStyle(this._ngEl.nativeElement,Y)}_applyChanges(E){E.forEachRemovedItem(P=>this._setStyle(P.key,null)),E.forEachAddedItem(P=>this._setStyle(P.key,P.currentValue)),E.forEachChangedItem(P=>this._setStyle(P.key,P.currentValue))}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.SBq),b.Y36(b.aQg),b.Y36(b.Qsj))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),k})();class nw{createSubscription(x,E){return x.subscribe({next:E,error:P=>{throw P}})}dispose(x){x.unsubscribe()}onDestroy(x){x.unsubscribe()}}class ow{createSubscription(x,E){return x.then(E,P=>{throw P})}dispose(x){}onDestroy(x){}}const rw=new ow,kp=new nw;let nt=(()=>{class k{constructor(E){this._ref=E,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(E){return this._obj?E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue:(E&&this._subscribe(E),this._latestValue)}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,P=>this._updateLatestValue(E,P))}_selectStrategy(E){if((0,b.QGY)(E))return rw;if((0,b.F4k)(E))return kp;throw function cn(k,x){return new b.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,P){E===this._obj&&(this._latestValue=P,this._ref.markForCheck())}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.sBO,16))},k.\u0275pipe=b.Yjl({name:"async",type:k,pure:!1}),k})(),Oc=(()=>{class k{}return k.\u0275fac=function(E){return new(E||k)},k.\u0275mod=b.oAB({type:k}),k.\u0275inj=b.cJS({providers:[{provide:It,useClass:sn}]}),k})();const yr="browser";function ki(k){return k===yr}let zc=(()=>{class k{}return k.\u0275prov=(0,b.Yz7)({token:k,providedIn:"root",factory:()=>new Fc((0,b.LFG)($),window)}),k})();class Fc{constructor(x,E){this.document=x,this.window=E,this.offset=()=>[0,0]}setOffset(x){this.offset=Array.isArray(x)?()=>x:x}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(x){this.supportsScrolling()&&this.window.scrollTo(x[0],x[1])}scrollToAnchor(x){if(!this.supportsScrolling())return;const E=function oa(k,x){const E=k.getElementById(x)||k.getElementsByName(x)[0];if(E)return E;if("function"==typeof k.createTreeWalker&&k.body&&(k.body.createShadowRoot||k.body.attachShadow)){const P=k.createTreeWalker(k.body,NodeFilter.SHOW_ELEMENT);let Y=P.currentNode;for(;Y;){const ae=Y.shadowRoot;if(ae){const fe=ae.getElementById(x)||ae.querySelector(`[name="${x}"]`);if(fe)return fe}Y=P.nextNode()}}return null}(this.document,x);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(x){if(this.supportScrollRestoration()){const E=this.window.history;E&&E.scrollRestoration&&(E.scrollRestoration=x)}}scrollToElement(x){const E=x.getBoundingClientRect(),P=E.left+this.window.pageXOffset,Y=E.top+this.window.pageYOffset,ae=this.offset();this.window.scrollTo(P-ae[0],Y-ae[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const x=Lc(this.window.history)||Lc(Object.getPrototypeOf(this.window.history));return!(!x||!x.writable&&!x.set)}catch(x){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(x){return!1}}}function Lc(k){return Object.getOwnPropertyDescriptor(k,"scrollRestoration")}class Ht{}},520:(N,U,v)=>{"use strict";v.d(U,{TP:()=>vt,eN:()=>se,JF:()=>_i,WM:()=>z,LE:()=>re,Zn:()=>de});var b=v(9808),u=v(5e3),I=v(1086),L=v(2916),R=v(1406),O=v(2198),$=v(4850);class G{}class j{}class z{constructor(Q){this.normalizedNames=new Map,this.lazyUpdate=null,Q?this.lazyInit="string"==typeof Q?()=>{this.headers=new Map,Q.split("\n").forEach(X=>{const we=X.indexOf(":");if(we>0){const ye=X.slice(0,we),De=ye.toLowerCase(),Se=X.slice(we+1).trim();this.maybeSetNormalizedName(ye,De),this.headers.has(De)?this.headers.get(De).push(Se):this.headers.set(De,[Se])}})}:()=>{this.headers=new Map,Object.keys(Q).forEach(X=>{let we=Q[X];const ye=X.toLowerCase();"string"==typeof we&&(we=[we]),we.length>0&&(this.headers.set(ye,we),this.maybeSetNormalizedName(X,ye))})}:this.headers=new Map}has(Q){return this.init(),this.headers.has(Q.toLowerCase())}get(Q){this.init();const X=this.headers.get(Q.toLowerCase());return X&&X.length>0?X[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Q){return this.init(),this.headers.get(Q.toLowerCase())||null}append(Q,X){return this.clone({name:Q,value:X,op:"a"})}set(Q,X){return this.clone({name:Q,value:X,op:"s"})}delete(Q,X){return this.clone({name:Q,value:X,op:"d"})}maybeSetNormalizedName(Q,X){this.normalizedNames.has(X)||this.normalizedNames.set(X,Q)}init(){this.lazyInit&&(this.lazyInit instanceof z?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Q=>this.applyUpdate(Q)),this.lazyUpdate=null))}copyFrom(Q){Q.init(),Array.from(Q.headers.keys()).forEach(X=>{this.headers.set(X,Q.headers.get(X)),this.normalizedNames.set(X,Q.normalizedNames.get(X))})}clone(Q){const X=new z;return X.lazyInit=this.lazyInit&&this.lazyInit instanceof z?this.lazyInit:this,X.lazyUpdate=(this.lazyUpdate||[]).concat([Q]),X}applyUpdate(Q){const X=Q.name.toLowerCase();switch(Q.op){case"a":case"s":let we=Q.value;if("string"==typeof we&&(we=[we]),0===we.length)return;this.maybeSetNormalizedName(Q.name,X);const ye=("a"===Q.op?this.headers.get(X):void 0)||[];ye.push(...we),this.headers.set(X,ye);break;case"d":const De=Q.value;if(De){let Se=this.headers.get(X);if(!Se)return;Se=Se.filter(Oe=>-1===De.indexOf(Oe)),0===Se.length?(this.headers.delete(X),this.normalizedNames.delete(X)):this.headers.set(X,Se)}else this.headers.delete(X),this.normalizedNames.delete(X)}}forEach(Q){this.init(),Array.from(this.normalizedNames.keys()).forEach(X=>Q(this.normalizedNames.get(X),this.headers.get(X)))}}class F{encodeKey(Q){return ie(Q)}encodeValue(Q){return ie(Q)}decodeKey(Q){return decodeURIComponent(Q)}decodeValue(Q){return decodeURIComponent(Q)}}const q=/%(\d[a-f0-9])/gi,J={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ie(ge){return encodeURIComponent(ge).replace(q,(Q,X)=>{var we;return null!==(we=J[X])&&void 0!==we?we:Q})}function ee(ge){return`${ge}`}class re{constructor(Q={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Q.encoder||new F,Q.fromString){if(Q.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function V(ge,Q){const X=new Map;return ge.length>0&&ge.replace(/^\?/,"").split("&").forEach(ye=>{const De=ye.indexOf("="),[Se,Oe]=-1==De?[Q.decodeKey(ye),""]:[Q.decodeKey(ye.slice(0,De)),Q.decodeValue(ye.slice(De+1))],dt=X.get(Se)||[];dt.push(Oe),X.set(Se,dt)}),X}(Q.fromString,this.encoder)}else Q.fromObject?(this.map=new Map,Object.keys(Q.fromObject).forEach(X=>{const we=Q.fromObject[X];this.map.set(X,Array.isArray(we)?we:[we])})):this.map=null}has(Q){return this.init(),this.map.has(Q)}get(Q){this.init();const X=this.map.get(Q);return X?X[0]:null}getAll(Q){return this.init(),this.map.get(Q)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Q,X){return this.clone({param:Q,value:X,op:"a"})}appendAll(Q){const X=[];return Object.keys(Q).forEach(we=>{const ye=Q[we];Array.isArray(ye)?ye.forEach(De=>{X.push({param:we,value:De,op:"a"})}):X.push({param:we,value:ye,op:"a"})}),this.clone(X)}set(Q,X){return this.clone({param:Q,value:X,op:"s"})}delete(Q,X){return this.clone({param:Q,value:X,op:"d"})}toString(){return this.init(),this.keys().map(Q=>{const X=this.encoder.encodeKey(Q);return this.map.get(Q).map(we=>X+"="+this.encoder.encodeValue(we)).join("&")}).filter(Q=>""!==Q).join("&")}clone(Q){const X=new re({encoder:this.encoder});return X.cloneFrom=this.cloneFrom||this,X.updates=(this.updates||[]).concat(Q),X}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Q=>this.map.set(Q,this.cloneFrom.map.get(Q))),this.updates.forEach(Q=>{switch(Q.op){case"a":case"s":const X=("a"===Q.op?this.map.get(Q.param):void 0)||[];X.push(ee(Q.value)),this.map.set(Q.param,X);break;case"d":if(void 0===Q.value){this.map.delete(Q.param);break}{let we=this.map.get(Q.param)||[];const ye=we.indexOf(ee(Q.value));-1!==ye&&we.splice(ye,1),we.length>0?this.map.set(Q.param,we):this.map.delete(Q.param)}}}),this.cloneFrom=this.updates=null)}}class Ae{constructor(){this.map=new Map}set(Q,X){return this.map.set(Q,X),this}get(Q){return this.map.has(Q)||this.map.set(Q,Q.defaultValue()),this.map.get(Q)}delete(Q){return this.map.delete(Q),this}has(Q){return this.map.has(Q)}keys(){return this.map.keys()}}function pt(ge){return"undefined"!=typeof ArrayBuffer&&ge instanceof ArrayBuffer}function mt(ge){return"undefined"!=typeof Blob&&ge instanceof Blob}function Ge(ge){return"undefined"!=typeof FormData&&ge instanceof FormData}class Tt{constructor(Q,X,we,ye){let De;if(this.url=X,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Q.toUpperCase(),function He(ge){switch(ge){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ye?(this.body=void 0!==we?we:null,De=ye):De=we,De&&(this.reportProgress=!!De.reportProgress,this.withCredentials=!!De.withCredentials,De.responseType&&(this.responseType=De.responseType),De.headers&&(this.headers=De.headers),De.context&&(this.context=De.context),De.params&&(this.params=De.params)),this.headers||(this.headers=new z),this.context||(this.context=new Ae),this.params){const Se=this.params.toString();if(0===Se.length)this.urlWithParams=X;else{const Oe=X.indexOf("?");this.urlWithParams=X+(-1===Oe?"?":OeJt.set(at,Q.setHeaders[at]),Xt)),Q.setParams&&(st=Object.keys(Q.setParams).reduce((Jt,at)=>Jt.set(at,Q.setParams[at]),st)),new Tt(we,ye,Se,{params:st,headers:Xt,context:Vn,reportProgress:dt,responseType:De,withCredentials:Oe})}}var Xe=(()=>((Xe=Xe||{})[Xe.Sent=0]="Sent",Xe[Xe.UploadProgress=1]="UploadProgress",Xe[Xe.ResponseHeader=2]="ResponseHeader",Xe[Xe.DownloadProgress=3]="DownloadProgress",Xe[Xe.Response=4]="Response",Xe[Xe.User=5]="User",Xe))();class oe{constructor(Q,X=200,we="OK"){this.headers=Q.headers||new z,this.status=void 0!==Q.status?Q.status:X,this.statusText=Q.statusText||we,this.url=Q.url||null,this.ok=this.status>=200&&this.status<300}}class ue extends oe{constructor(Q={}){super(Q),this.type=Xe.ResponseHeader}clone(Q={}){return new ue({headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class de extends oe{constructor(Q={}){super(Q),this.type=Xe.Response,this.body=void 0!==Q.body?Q.body:null}clone(Q={}){return new de({body:void 0!==Q.body?Q.body:this.body,headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class le extends oe{constructor(Q){super(Q,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Q.url||"(unknown url)"}`:`Http failure response for ${Q.url||"(unknown url)"}: ${Q.status} ${Q.statusText}`,this.error=Q.error||null}}function be(ge,Q){return{body:Q,headers:ge.headers,context:ge.context,observe:ge.observe,params:ge.params,reportProgress:ge.reportProgress,responseType:ge.responseType,withCredentials:ge.withCredentials}}let se=(()=>{class ge{constructor(X){this.handler=X}request(X,we,ye={}){let De;if(X instanceof Tt)De=X;else{let dt,Xt;dt=ye.headers instanceof z?ye.headers:new z(ye.headers),ye.params&&(Xt=ye.params instanceof re?ye.params:new re({fromObject:ye.params})),De=new Tt(X,we,void 0!==ye.body?ye.body:null,{headers:dt,context:ye.context,params:Xt,reportProgress:ye.reportProgress,responseType:ye.responseType||"json",withCredentials:ye.withCredentials})}const Se=(0,I.of)(De).pipe((0,R.b)(dt=>this.handler.handle(dt)));if(X instanceof Tt||"events"===ye.observe)return Se;const Oe=Se.pipe((0,O.h)(dt=>dt instanceof de));switch(ye.observe||"body"){case"body":switch(De.responseType){case"arraybuffer":return Oe.pipe((0,$.U)(dt=>{if(null!==dt.body&&!(dt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return dt.body}));case"blob":return Oe.pipe((0,$.U)(dt=>{if(null!==dt.body&&!(dt.body instanceof Blob))throw new Error("Response is not a Blob.");return dt.body}));case"text":return Oe.pipe((0,$.U)(dt=>{if(null!==dt.body&&"string"!=typeof dt.body)throw new Error("Response is not a string.");return dt.body}));default:return Oe.pipe((0,$.U)(dt=>dt.body))}case"response":return Oe;default:throw new Error(`Unreachable: unhandled observe type ${ye.observe}}`)}}delete(X,we={}){return this.request("DELETE",X,we)}get(X,we={}){return this.request("GET",X,we)}head(X,we={}){return this.request("HEAD",X,we)}jsonp(X,we){return this.request("JSONP",X,{params:(new re).append(we,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(X,we={}){return this.request("OPTIONS",X,we)}patch(X,we,ye={}){return this.request("PATCH",X,be(ye,we))}post(X,we,ye={}){return this.request("POST",X,be(ye,we))}put(X,we,ye={}){return this.request("PUT",X,be(ye,we))}}return ge.\u0275fac=function(X){return new(X||ge)(u.LFG(G))},ge.\u0275prov=u.Yz7({token:ge,factory:ge.\u0275fac}),ge})();class tt{constructor(Q,X){this.next=Q,this.interceptor=X}handle(Q){return this.interceptor.intercept(Q,this.next)}}const vt=new u.OlP("HTTP_INTERCEPTORS");let Ii=(()=>{class ge{intercept(X,we){return we.handle(X)}}return ge.\u0275fac=function(X){return new(X||ge)},ge.\u0275prov=u.Yz7({token:ge,factory:ge.\u0275fac}),ge})();const kn=/^\)\]\}',?\n/;let oo=(()=>{class ge{constructor(X){this.xhrFactory=X}handle(X){if("JSONP"===X.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new L.y(we=>{const ye=this.xhrFactory.build();if(ye.open(X.method,X.urlWithParams),X.withCredentials&&(ye.withCredentials=!0),X.headers.forEach((at,Re)=>ye.setRequestHeader(at,Re.join(","))),X.headers.has("Accept")||ye.setRequestHeader("Accept","application/json, text/plain, */*"),!X.headers.has("Content-Type")){const at=X.detectContentTypeHeader();null!==at&&ye.setRequestHeader("Content-Type",at)}if(X.responseType){const at=X.responseType.toLowerCase();ye.responseType="json"!==at?at:"text"}const De=X.serializeBody();let Se=null;const Oe=()=>{if(null!==Se)return Se;const at=ye.statusText||"OK",Re=new z(ye.getAllResponseHeaders()),tn=function ai(ge){return"responseURL"in ge&&ge.responseURL?ge.responseURL:/^X-Request-URL:/m.test(ge.getAllResponseHeaders())?ge.getResponseHeader("X-Request-URL"):null}(ye)||X.url;return Se=new ue({headers:Re,status:ye.status,statusText:at,url:tn}),Se},dt=()=>{let{headers:at,status:Re,statusText:tn,url:wt}=Oe(),oi=null;204!==Re&&(oi=void 0===ye.response?ye.responseText:ye.response),0===Re&&(Re=oi?200:0);let Dn=Re>=200&&Re<300;if("json"===X.responseType&&"string"==typeof oi){const nn=oi;oi=oi.replace(kn,"");try{oi=""!==oi?JSON.parse(oi):null}catch(Mn){oi=nn,Dn&&(Dn=!1,oi={error:Mn,text:oi})}}Dn?(we.next(new de({body:oi,headers:at,status:Re,statusText:tn,url:wt||void 0})),we.complete()):we.error(new le({error:oi,headers:at,status:Re,statusText:tn,url:wt||void 0}))},Xt=at=>{const{url:Re}=Oe(),tn=new le({error:at,status:ye.status||0,statusText:ye.statusText||"Unknown Error",url:Re||void 0});we.error(tn)};let st=!1;const Vn=at=>{st||(we.next(Oe()),st=!0);let Re={type:Xe.DownloadProgress,loaded:at.loaded};at.lengthComputable&&(Re.total=at.total),"text"===X.responseType&&!!ye.responseText&&(Re.partialText=ye.responseText),we.next(Re)},Jt=at=>{let Re={type:Xe.UploadProgress,loaded:at.loaded};at.lengthComputable&&(Re.total=at.total),we.next(Re)};return ye.addEventListener("load",dt),ye.addEventListener("error",Xt),ye.addEventListener("timeout",Xt),ye.addEventListener("abort",Xt),X.reportProgress&&(ye.addEventListener("progress",Vn),null!==De&&ye.upload&&ye.upload.addEventListener("progress",Jt)),ye.send(De),we.next({type:Xe.Sent}),()=>{ye.removeEventListener("error",Xt),ye.removeEventListener("abort",Xt),ye.removeEventListener("load",dt),ye.removeEventListener("timeout",Xt),X.reportProgress&&(ye.removeEventListener("progress",Vn),null!==De&&ye.upload&&ye.upload.removeEventListener("progress",Jt)),ye.readyState!==ye.DONE&&ye.abort()}})}}return ge.\u0275fac=function(X){return new(X||ge)(u.LFG(b.JF))},ge.\u0275prov=u.Yz7({token:ge,factory:ge.\u0275fac}),ge})();const Xr=new u.OlP("XSRF_COOKIE_NAME"),Jr=new u.OlP("XSRF_HEADER_NAME");class es{}let Po=(()=>{class ge{constructor(X,we,ye){this.doc=X,this.platform=we,this.cookieName=ye,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const X=this.doc.cookie||"";return X!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,b.Mx)(X,this.cookieName),this.lastCookieString=X),this.lastToken}}return ge.\u0275fac=function(X){return new(X||ge)(u.LFG(b.K0),u.LFG(u.Lbi),u.LFG(Xr))},ge.\u0275prov=u.Yz7({token:ge,factory:ge.\u0275fac}),ge})(),ro=(()=>{class ge{constructor(X,we){this.tokenService=X,this.headerName=we}intercept(X,we){const ye=X.url.toLowerCase();if("GET"===X.method||"HEAD"===X.method||ye.startsWith("http://")||ye.startsWith("https://"))return we.handle(X);const De=this.tokenService.getToken();return null!==De&&!X.headers.has(this.headerName)&&(X=X.clone({headers:X.headers.set(this.headerName,De)})),we.handle(X)}}return ge.\u0275fac=function(X){return new(X||ge)(u.LFG(es),u.LFG(Jr))},ge.\u0275prov=u.Yz7({token:ge,factory:ge.\u0275fac}),ge})(),Io=(()=>{class ge{constructor(X,we){this.backend=X,this.injector=we,this.chain=null}handle(X){if(null===this.chain){const we=this.injector.get(vt,[]);this.chain=we.reduceRight((ye,De)=>new tt(ye,De),this.backend)}return this.chain.handle(X)}}return ge.\u0275fac=function(X){return new(X||ge)(u.LFG(j),u.LFG(u.zs3))},ge.\u0275prov=u.Yz7({token:ge,factory:ge.\u0275fac}),ge})(),ea=(()=>{class ge{static disable(){return{ngModule:ge,providers:[{provide:ro,useClass:Ii}]}}static withOptions(X={}){return{ngModule:ge,providers:[X.cookieName?{provide:Xr,useValue:X.cookieName}:[],X.headerName?{provide:Jr,useValue:X.headerName}:[]]}}}return ge.\u0275fac=function(X){return new(X||ge)},ge.\u0275mod=u.oAB({type:ge}),ge.\u0275inj=u.cJS({providers:[ro,{provide:vt,useExisting:ro,multi:!0},{provide:es,useClass:Po},{provide:Xr,useValue:"XSRF-TOKEN"},{provide:Jr,useValue:"X-XSRF-TOKEN"}]}),ge})(),_i=(()=>{class ge{}return ge.\u0275fac=function(X){return new(X||ge)},ge.\u0275mod=u.oAB({type:ge}),ge.\u0275inj=u.cJS({providers:[se,{provide:G,useClass:Io},oo,{provide:j,useExisting:oo}],imports:[[ea.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),ge})()},5e3:(N,U,v)=>{"use strict";v.d(U,{deG:()=>D0,tb:()=>Ff,AFp:()=>q_,ip1:()=>Of,CZH:()=>jr,hGG:()=>Pi,z2F:()=>Ws,sBO:()=>_C,Sil:()=>Lf,_Vd:()=>Ns,EJc:()=>Y_,SBq:()=>Vi,qLn:()=>pl,vpe:()=>Ki,tBr:()=>tl,XFs:()=>Ye,OlP:()=>Wt,zs3:()=>zn,ZZ4:()=>mc,aQg:()=>_c,soG:()=>Lu,YKP:()=>wu,h0i:()=>Vs,PXZ:()=>Kf,R0b:()=>Xi,FiY:()=>hs,Lbi:()=>Fu,g9A:()=>$_,n_E:()=>rc,Qsj:()=>h_,FYo:()=>af,JOm:()=>xe,q3G:()=>ti,tp0:()=>ma,Rgc:()=>Gs,dDg:()=>ty,GfV:()=>cf,s_b:()=>Tu,ifc:()=>De,eFA:()=>ry,G48:()=>ly,Gpc:()=>F,f3M:()=>U0,_c5:()=>Ay,VLi:()=>hC,c2e:()=>W_,zSh:()=>Mr,wAp:()=>Ke,vHH:()=>ie,EiD:()=>cl,mCW:()=>Kt,qzn:()=>wa,JVY:()=>cT,pB0:()=>hT,eBb:()=>uT,L6k:()=>lT,LAX:()=>dT,cg1:()=>ru,kL8:()=>or,yhl:()=>Vw,dqk:()=>st,sIi:()=>xr,CqO:()=>mv,QGY:()=>wm,F4k:()=>gv,RDi:()=>Lc,AaK:()=>G,z3N:()=>Vo,qOj:()=>jl,TTD:()=>co,_Bn:()=>gu,xp6:()=>Kd,uIk:()=>tr,ekj:()=>Kh,Suo:()=>Cf,Xpm:()=>ia,lG2:()=>Lt,Yz7:()=>Ft,cJS:()=>kn,oAB:()=>fr,Yjl:()=>Bt,Y36:()=>Ka,_UZ:()=>Bh,GkF:()=>_m,BQk:()=>mm,ynx:()=>gm,qZA:()=>Ua,TgZ:()=>Lh,EpF:()=>ym,n5z:()=>yd,Ikx:()=>Zh,LFG:()=>pi,$8M:()=>bi,$Z:()=>zh,NdJ:()=>bm,CRH:()=>P_,kcU:()=>gw,O4$:()=>Fp,oxw:()=>wv,ALo:()=>bu,lcZ:()=>vu,xi3:()=>Au,Dn7:()=>k_,Hsn:()=>vv,F$t:()=>bv,Q6J:()=>Fh,s9C:()=>Tm,VKq:()=>v_,iGM:()=>R_,MAs:()=>Rs,CHM:()=>Bc,oJD:()=>ul,LSH:()=>dl,Udp:()=>tu,WFA:()=>vm,d8E:()=>Qh,YNc:()=>Xb,_uU:()=>Nv,Oqu:()=>zs,hij:()=>Ga,AsE:()=>qh,Gf:()=>$s});var b=v(8929),u=v(2654),I=v(2916),L=v(6787),R=v(2474);function O(c){for(let l in c)if(c[l]===O)return l;throw Error("Could not find renamed property on target object.")}function $(c,l){for(const f in l)l.hasOwnProperty(f)&&!c.hasOwnProperty(f)&&(c[f]=l[f])}function G(c){if("string"==typeof c)return c;if(Array.isArray(c))return"["+c.map(G).join(", ")+"]";if(null==c)return""+c;if(c.overriddenName)return`${c.overriddenName}`;if(c.name)return`${c.name}`;const l=c.toString();if(null==l)return""+l;const f=l.indexOf("\n");return-1===f?l:l.substring(0,f)}function j(c,l){return null==c||""===c?null===l?"":l:null==l||""===l?c:c+" "+l}const z=O({__forward_ref__:O});function F(c){return c.__forward_ref__=F,c.toString=function(){return G(this())},c}function V(c){return q(c)?c():c}function q(c){return"function"==typeof c&&c.hasOwnProperty(z)&&c.__forward_ref__===F}class ie extends Error{constructor(l,f){super(function ee(c,l){return`NG0${Math.abs(c)}${l?": "+l:""}`}(l,f)),this.code=l}}function re(c){return"string"==typeof c?c:null==c?"":String(c)}function Ce(c){return"function"==typeof c?c.name||c.toString():"object"==typeof c&&null!=c&&"function"==typeof c.type?c.type.name||c.type.toString():re(c)}function mt(c,l){const f=l?` in ${l}`:"";throw new ie(-201,`No provider for ${Ce(c)} found${f}`)}function Ve(c,l){null==c&&function Je(c,l,f,p){throw new Error(`ASSERTION ERROR: ${c}`+(null==p?"":` [Expected=> ${f} ${p} ${l} <=Actual]`))}(l,c,null,"!=")}function Ft(c){return{token:c.token,providedIn:c.providedIn||null,factory:c.factory,value:void 0}}function kn(c){return{providers:c.providers||[],imports:c.imports||[]}}function ai(c){return oo(c,Po)||oo(c,Io)}function oo(c,l){return c.hasOwnProperty(l)?c[l]:null}function es(c){return c&&(c.hasOwnProperty(ro)||c.hasOwnProperty(Qu))?c[ro]:null}const Po=O({\u0275prov:O}),ro=O({\u0275inj:O}),Io=O({ngInjectableDef:O}),Qu=O({ngInjectorDef:O});var Ye=(()=>((Ye=Ye||{})[Ye.Default=0]="Default",Ye[Ye.Host=1]="Host",Ye[Ye.Self=2]="Self",Ye[Ye.SkipSelf=4]="SkipSelf",Ye[Ye.Optional=8]="Optional",Ye))();let ea;function Oi(c){const l=ea;return ea=c,l}function ta(c,l,f){const p=ai(c);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:f&Ye.Optional?null:void 0!==l?l:void mt(G(c),"Injector")}function Q(c){return{toString:c}.toString()}var X=(()=>((X=X||{})[X.OnPush=0]="OnPush",X[X.Default=1]="Default",X))(),De=(()=>{return(c=De||(De={}))[c.Emulated=0]="Emulated",c[c.None=2]="None",c[c.ShadowDom=3]="ShadowDom",De;var c})();const Se="undefined"!=typeof globalThis&&globalThis,Oe="undefined"!=typeof window&&window,dt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,st=Se||"undefined"!=typeof global&&global||Oe||dt,at={},Re=[],tn=O({\u0275cmp:O}),wt=O({\u0275dir:O}),oi=O({\u0275pipe:O}),Dn=O({\u0275mod:O}),nn=O({\u0275fac:O}),Mn=O({__NG_ELEMENT_ID__:O});let Ep=0;function ia(c){return Q(()=>{const f={},p={type:c.type,providersResolver:null,decls:c.decls,vars:c.vars,factory:null,template:c.template||null,consts:c.consts||null,ngContentSelectors:c.ngContentSelectors,hostBindings:c.hostBindings||null,hostVars:c.hostVars||0,hostAttrs:c.hostAttrs||null,contentQueries:c.contentQueries||null,declaredInputs:f,inputs:null,outputs:null,exportAs:c.exportAs||null,onPush:c.changeDetection===X.OnPush,directiveDefs:null,pipeDefs:null,selectors:c.selectors||Re,viewQuery:c.viewQuery||null,features:c.features||null,data:c.data||{},encapsulation:c.encapsulation||De.Emulated,id:"c",styles:c.styles||Re,_:null,setInput:null,schemas:c.schemas||null,tView:null},m=c.directives,_=c.features,y=c.pipes;return p.id+=Ep++,p.inputs=C(c.inputs,f),p.outputs=C(c.outputs),_&&_.forEach(w=>w(p)),p.directiveDefs=m?()=>("function"==typeof m?m():m).map(ts):null,p.pipeDefs=y?()=>("function"==typeof y?y():y).map(xn):null,p})}function ts(c){return ci(c)||function Le(c){return c[wt]||null}(c)}function xn(c){return function on(c){return c[oi]||null}(c)}const Mc={};function fr(c){return Q(()=>{const l={type:c.type,bootstrap:c.bootstrap||Re,declarations:c.declarations||Re,imports:c.imports||Re,exports:c.exports||Re,transitiveCompileScopes:null,schemas:c.schemas||null,id:c.id||null};return null!=c.id&&(Mc[c.id]=c.type),l})}function C(c,l){if(null==c)return at;const f={};for(const p in c)if(c.hasOwnProperty(p)){let m=c[p],_=m;Array.isArray(m)&&(_=m[1],m=m[0]),f[m]=p,l&&(l[m]=_)}return f}const Lt=ia;function Bt(c){return{type:c.type,name:c.name,factory:null,pure:!1!==c.pure,onDestroy:c.type.prototype.ngOnDestroy||null}}function ci(c){return c[tn]||null}function li(c,l){const f=c[Dn]||null;if(!f&&!0===l)throw new Error(`Type ${G(c)} does not have '\u0275mod' property.`);return f}function zi(c){return Array.isArray(c)&&"object"==typeof c[1]}function $i(c){return Array.isArray(c)&&!0===c[1]}function Pc(c){return 0!=(8&c.flags)}function Ic(c){return 2==(2&c.flags)}function rs(c){return 1==(1&c.flags)}function an(c){return null!==c.template}function Ju(c){return 0!=(512&c[2])}function Ze(c,l){return c.hasOwnProperty(nn)?c[nn]:null}class Rp{constructor(l,f,p){this.previousValue=l,this.currentValue=f,this.firstChange=p}isFirstChange(){return this.firstChange}}function co(){return _r}function _r(c){return c.type.prototype.ngOnChanges&&(c.setInput=Pp),ed}function ed(){const c=yr(this),l=null==c?void 0:c.current;if(l){const f=c.previous;if(f===at)c.previous=l;else for(let p in l)f[p]=l[p];c.current=null,this.ngOnChanges(l)}}function Pp(c,l,f,p){const m=yr(c)||function td(c,l){return c[Oc]=l}(c,{previous:at,current:null}),_=m.current||(m.current={}),y=m.previous,w=this.declaredInputs[f],T=y[w];_[w]=new Rp(T&&T.currentValue,l,y===at),c[p]=l}co.ngInherit=!0;const Oc="__ngSimpleChanges__";function yr(c){return c[Oc]||null}let Fc;function Lc(c){Fc=c}function oa(){return void 0!==Fc?Fc:"undefined"!=typeof document?document:void 0}function Ht(c){return!!c.listen}const k={createRenderer:(c,l)=>oa()};function E(c){for(;Array.isArray(c);)c=c[0];return c}function ae(c,l){return E(l[c])}function fe(c,l){return E(l[c.index])}function xt(c,l){return c.data[l]}function bt(c,l){return c[l]}function je(c,l){const f=l[c];return zi(f)?f:f[0]}function ht(c){return 4==(4&c[2])}function ot(c){return 128==(128&c[2])}function Dt(c,l){return null==l?null:c[l]}function lo(c){c[18]=0}function un(c,l){c[5]+=l;let f=c,p=c[3];for(;null!==p&&(1===l&&1===f[5]||-1===l&&0===f[5]);)p[5]+=l,f=p,p=p[3]}const Be={lFrame:hw(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Op(){return Be.bindingsEnabled}function me(){return Be.lFrame.lView}function ft(){return Be.lFrame.tView}function Bc(c){return Be.lFrame.contextLView=c,c[8]}function Mt(){let c=Nc();for(;null!==c&&64===c.type;)c=c.parent;return c}function Nc(){return Be.lFrame.currentTNode}function Gn(c,l){const f=Be.lFrame;f.currentTNode=c,f.isParent=l}function sd(){return Be.lFrame.isParent}function ad(){Be.lFrame.isParent=!1}function uo(){return Be.isInCheckNoChangesMode}function cd(c){Be.isInCheckNoChangesMode=c}function Fi(){const c=Be.lFrame;let l=c.bindingRootIndex;return-1===l&&(l=c.bindingRootIndex=c.tView.bindingStartIndex),l}function sa(){return Be.lFrame.bindingIndex++}function Bo(c){const l=Be.lFrame,f=l.bindingIndex;return l.bindingIndex=l.bindingIndex+c,f}function y0(c,l){const f=Be.lFrame;f.bindingIndex=f.bindingRootIndex=c,No(l)}function No(c){Be.lFrame.currentDirectiveIndex=c}function Hp(c){const l=Be.lFrame.currentDirectiveIndex;return-1===l?null:c[l]}function uw(){return Be.lFrame.currentQueryIndex}function zp(c){Be.lFrame.currentQueryIndex=c}function w0(c){const l=c[1];return 2===l.type?l.declTNode:1===l.type?c[6]:null}function dw(c,l,f){if(f&Ye.SkipSelf){let m=l,_=c;for(;!(m=m.parent,null!==m||f&Ye.Host||(m=w0(_),null===m||(_=_[15],10&m.type))););if(null===m)return!1;l=m,c=_}const p=Be.lFrame=Ar();return p.currentTNode=l,p.lView=c,!0}function hn(c){const l=Ar(),f=c[1];Be.lFrame=l,l.currentTNode=f.firstChild,l.lView=c,l.tView=f,l.contextLView=c,l.bindingIndex=f.bindingStartIndex,l.inI18n=!1}function Ar(){const c=Be.lFrame,l=null===c?null:c.child;return null===l?hw(c):l}function hw(c){const l={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:c,child:null,inI18n:!1};return null!==c&&(c.child=l),l}function fw(){const c=Be.lFrame;return Be.lFrame=c.parent,c.currentTNode=null,c.lView=null,c}const pw=fw;function ud(){const c=fw();c.isParent=!0,c.tView=null,c.selectedIndex=-1,c.contextLView=null,c.elementDepthCount=0,c.currentDirectiveIndex=-1,c.currentNamespace=null,c.bindingRootIndex=-1,c.bindingIndex=-1,c.currentQueryIndex=0}function hi(){return Be.lFrame.selectedIndex}function Pn(c){Be.lFrame.selectedIndex=c}function jt(){const c=Be.lFrame;return xt(c.tView,c.selectedIndex)}function Fp(){Be.lFrame.currentNamespace="svg"}function gw(){!function mw(){Be.lFrame.currentNamespace=null}()}function hd(c,l){for(let f=l.directiveStart,p=l.directiveEnd;f=p)break}else l[T]<0&&(c[18]+=65536),(w<_||-1==_)&&(ei(c,f,l,T),c[18]=(4294901760&c[18])+T+2),T++}function ei(c,l,f,p){const m=f[p]<0,_=f[p+1],w=c[m?-f[p]:f[p]];if(m){if(c[2]>>11>16&&(3&c[2])===l){c[2]+=2048;try{_.call(w)}finally{}}}else try{_.call(w)}finally{}}class Nt{constructor(l,f,p){this.factory=l,this.resolving=!1,this.canSeeViewProviders=f,this.injectImpl=p}}function as(c,l,f){const p=Ht(c);let m=0;for(;ml){y=_-1;break}}}for(;_>16}(c),p=l;for(;f>0;)p=p[15],f--;return p}let Lp=!0;function Uc(c){const l=Lp;return Lp=c,l}let Cw=0;function cs(c,l){const f=qc(c,l);if(-1!==f)return f;const p=l[1];p.firstCreatePass&&(c.injectorIndex=l.length,Gc(p.data,c),Gc(l,null),Gc(p.blueprint,null));const m=$c(c,l),_=c.injectorIndex;if(vw(m)){const y=la(m),w=ua(m,l),T=w[1].data;for(let D=0;D<8;D++)l[_+D]=w[y+D]|T[y+D]}return l[_+8]=m,_}function Gc(c,l){c.push(0,0,0,0,0,0,0,0,l)}function qc(c,l){return-1===c.injectorIndex||c.parent&&c.parent.injectorIndex===c.injectorIndex||null===l[c.injectorIndex+8]?-1:c.injectorIndex}function $c(c,l){if(c.parent&&-1!==c.parent.injectorIndex)return c.parent.injectorIndex;let f=0,p=null,m=l;for(;null!==m;){const _=m[1],y=_.type;if(p=2===y?_.declTNode:1===y?m[6]:null,null===p)return-1;if(f++,m=m[15],-1!==p.injectorIndex)return p.injectorIndex|f<<16}return-1}function Wc(c,l,f){!function Tr(c,l,f){let p;"string"==typeof f?p=f.charCodeAt(0)||0:f.hasOwnProperty(Mn)&&(p=f[Mn]),null==p&&(p=f[Mn]=Cw++);const m=255&p;l.data[c+(m>>5)]|=1<=0?255&l:S0:l}(f);if("function"==typeof _){if(!dw(l,c,p))return p&Ye.Host?Vp(m,f,p):Kp(l,f,p,m);try{const y=_(p);if(null!=y||p&Ye.Optional)return y;mt(f)}finally{pw()}}else if("number"==typeof _){let y=null,w=qc(c,l),T=-1,D=p&Ye.Host?l[16][6]:null;for((-1===w||p&Ye.SkipSelf)&&(T=-1===w?$c(c,l):l[w+8],-1!==T&&ls(p,!1)?(y=l[1],w=la(T),l=ua(T,l)):w=-1);-1!==w;){const M=l[1];if(Gp(_,w,M.data)){const B=Tw(w,l,f,y,p,D);if(B!==In)return B}T=l[w+8],-1!==T&&ls(p,l[1].data[w+8]===D)&&Gp(_,w,l)?(y=M,w=la(T),l=ua(T,l)):w=-1}}}return Kp(l,f,p,m)}const In={};function S0(){return new da(Mt(),me())}function Tw(c,l,f,p,m,_){const y=l[1],w=y.data[c+8],M=_d(w,y,f,null==p?Ic(w)&&Lp:p!=y&&0!=(3&w.type),m&Ye.Host&&_===w);return null!==M?Yc(l,y,M,w):In}function _d(c,l,f,p,m){const _=c.providerIndexes,y=l.data,w=1048575&_,T=c.directiveStart,M=_>>20,W=m?w+M:c.directiveEnd;for(let ne=p?w:w+M;ne=T&&ce.type===f)return ne}if(m){const ne=y[T];if(ne&&an(ne)&&ne.type===f)return T}return null}function Yc(c,l,f,p){let m=c[f];const _=l.data;if(function _t(c){return c instanceof Nt}(m)){const y=m;y.resolving&&function Ae(c,l){const f=l?`. Dependency path: ${l.join(" > ")} > ${c}`:"";throw new ie(-200,`Circular dependency in DI detected for ${c}${f}`)}(Ce(_[f]));const w=Uc(y.canSeeViewProviders);y.resolving=!0;const T=y.injectImpl?Oi(y.injectImpl):null;dw(c,p,Ye.Default);try{m=c[f]=y.factory(void 0,_,c,p),l.firstCreatePass&&f>=p.directiveStart&&function C0(c,l,f){const{ngOnChanges:p,ngOnInit:m,ngDoCheck:_}=l.type.prototype;if(p){const y=_r(l);(f.preOrderHooks||(f.preOrderHooks=[])).push(c,y),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(c,y)}m&&(f.preOrderHooks||(f.preOrderHooks=[])).push(0-c,m),_&&((f.preOrderHooks||(f.preOrderHooks=[])).push(c,_),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(c,_))}(f,_[f],l)}finally{null!==T&&Oi(T),Uc(w),y.resolving=!1,pw()}}return m}function Gp(c,l,f){return!!(f[l+(c>>5)]&1<{const l=c.prototype.constructor,f=l[nn]||Zc(l),p=Object.prototype;let m=Object.getPrototypeOf(c.prototype).constructor;for(;m&&m!==p;){const _=m[nn]||Zc(m);if(_&&_!==f)return _;m=Object.getPrototypeOf(m)}return _=>new _})}function Zc(c){return q(c)?()=>{const l=Zc(V(c));return l&&l()}:Ze(c)}function bi(c){return function jp(c,l){if("class"===l)return c.classes;if("style"===l)return c.styles;const f=c.attrs;if(f){const p=f.length;let m=0;for(;m{const p=function fa(c){return function(...f){if(c){const p=c(...f);for(const m in p)this[m]=p[m]}}}(l);function m(..._){if(this instanceof m)return p.apply(this,_),this;const y=new m(..._);return w.annotation=y,w;function w(T,D,M){const B=T.hasOwnProperty(jo)?T[jo]:Object.defineProperty(T,jo,{value:[]})[jo];for(;B.length<=M;)B.push(null);return(B[M]=B[M]||[]).push(y),T}}return f&&(m.prototype=Object.create(f.prototype)),m.prototype.ngMetadataName=c,m.annotationCls=m,m})}class Wt{constructor(l,f){this._desc=l,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof f?this.__NG_ELEMENT_ID__=f:void 0!==f&&(this.\u0275prov=Ft({token:this,providedIn:f.providedIn||"root",factory:f.factory}))}toString(){return`InjectionToken ${this._desc}`}}const D0=new Wt("AnalyzeForEntryComponents");function fn(c,l){void 0===l&&(l=c);for(let f=0;fArray.isArray(f)?qn(f,l):l(f))}function Dw(c,l,f){l>=c.length?c.push(f):c.splice(l,0,f)}function wd(c,l){return l>=c.length-1?c.pop():c.splice(l,1)[0]}function Xc(c,l){const f=[];for(let p=0;p=0?c[1|p]=f:(p=~p,function I0(c,l,f,p){let m=c.length;if(m==l)c.push(f,p);else if(1===m)c.push(p,c[0]),c[0]=f;else{for(m--,c.push(c[m-1],c[m]);m>l;)c[m]=c[m-2],m--;c[l]=f,c[l+1]=p}}(c,p,l,f)),p}function Zp(c,l){const f=pa(c,l);if(f>=0)return c[1|f]}function pa(c,l){return function bd(c,l,f){let p=0,m=c.length>>f;for(;m!==p;){const _=p+(m-p>>1),y=c[_<l?m=_:p=_+1}return~(m<({token:c})),-1),hs=ga(us("Optional"),8),ma=ga(us("SkipSelf"),4);let Td,Ed;function ya(c){var l;return(null===(l=function tg(){if(void 0===Td&&(Td=null,st.trustedTypes))try{Td=st.trustedTypes.createPolicy("angular",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch(c){}return Td}())||void 0===l?void 0:l.createHTML(c))||c}function Bw(c){var l;return(null===(l=function ig(){if(void 0===Ed&&(Ed=null,st.trustedTypes))try{Ed=st.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch(c){}return Ed}())||void 0===l?void 0:l.createHTML(c))||c}class fs{constructor(l){this.changingThisBreaksApplicationSecurity=l}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class nT extends fs{getTypeName(){return"HTML"}}class oT extends fs{getTypeName(){return"Style"}}class rT extends fs{getTypeName(){return"Script"}}class sT extends fs{getTypeName(){return"URL"}}class aT extends fs{getTypeName(){return"ResourceURL"}}function Vo(c){return c instanceof fs?c.changingThisBreaksApplicationSecurity:c}function wa(c,l){const f=Vw(c);if(null!=f&&f!==l){if("ResourceURL"===f&&"URL"===l)return!0;throw new Error(`Required a safe ${l}, got a ${f} (see https://g.co/ng/security#xss)`)}return f===l}function Vw(c){return c instanceof fs&&c.getTypeName()||null}function cT(c){return new nT(c)}function lT(c){return new oT(c)}function uT(c){return new rT(c)}function dT(c){return new sT(c)}function hT(c){return new aT(c)}class fT{constructor(l){this.inertDocumentHelper=l}getInertBodyElement(l){l=""+l;try{const f=(new window.DOMParser).parseFromString(ya(l),"text/html").body;return null===f?this.inertDocumentHelper.getInertBodyElement(l):(f.removeChild(f.firstChild),f)}catch(f){return null}}}class pT{constructor(l){if(this.defaultDoc=l,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const f=this.inertDocument.createElement("html");this.inertDocument.appendChild(f);const p=this.inertDocument.createElement("body");f.appendChild(p)}}getInertBodyElement(l){const f=this.inertDocument.createElement("template");if("content"in f)return f.innerHTML=ya(l),f;const p=this.inertDocument.createElement("body");return p.innerHTML=ya(l),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(p),p}stripCustomNsAttrs(l){const f=l.attributes;for(let m=f.length-1;0Kt(l.trim())).join(", ")),this.buf.push(" ",y,'="',kd(T),'"')}var c;return this.buf.push(">"),!0}endElement(l){const f=l.nodeName.toLowerCase();Sd.hasOwnProperty(f)&&!ng.hasOwnProperty(f)&&(this.buf.push(""))}chars(l){this.buf.push(kd(l))}checkClobberedElement(l,f){if(f&&(l.compareDocumentPosition(f)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${l.outerHTML}`);return f}}const ag=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sl=/([^\#-~ |!])/g;function kd(c){return c.replace(/&/g,"&").replace(ag,function(l){return"&#"+(1024*(l.charCodeAt(0)-55296)+(l.charCodeAt(1)-56320)+65536)+";"}).replace(sl,function(l){return"&#"+l.charCodeAt(0)+";"}).replace(//g,">")}let al;function cl(c,l){let f=null;try{al=al||function Kw(c){const l=new pT(c);return function gT(){try{return!!(new window.DOMParser).parseFromString(ya(""),"text/html")}catch(c){return!1}}()?new fT(l):l}(c);let p=l?String(l):"";f=al.getInertBodyElement(p);let m=5,_=p;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,p=_,_=f.innerHTML,f=al.getInertBodyElement(p)}while(p!==_);return ya((new vT).sanitizeChildren(ll(f)||f))}finally{if(f){const p=ll(f)||f;for(;p.firstChild;)p.removeChild(p.firstChild)}}}function ll(c){return"content"in c&&function qw(c){return c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName}(c)?c.content:null}var ti=(()=>((ti=ti||{})[ti.NONE=0]="NONE",ti[ti.HTML=1]="HTML",ti[ti.STYLE=2]="STYLE",ti[ti.SCRIPT=3]="SCRIPT",ti[ti.URL=4]="URL",ti[ti.RESOURCE_URL=5]="RESOURCE_URL",ti))();function ul(c){const l=gs();return l?Bw(l.sanitize(ti.HTML,c)||""):wa(c,"HTML")?Bw(Vo(c)):cl(oa(),re(c))}function dl(c){const l=gs();return l?l.sanitize(ti.URL,c)||"":wa(c,"URL")?Vo(c):Kt(re(c))}function gs(){const c=me();return c&&c[12]}const ug="__ngContext__";function vi(c,l){c[ug]=l}function dg(c){const l=function hl(c){return c[ug]||null}(c);return l?Array.isArray(l)?l:l.lView:null}function Md(c){return c.ngOriginalError}function MT(c,...l){c.error(...l)}class pl{constructor(){this._console=console}handleError(l){const f=this._findOriginalError(l),p=function DT(c){return c&&c.ngErrorLogger||MT}(l);p(this._console,"ERROR",l),f&&p(this._console,"ORIGINAL ERROR",f)}_findOriginalError(l){let f=l&&Md(l);for(;f&&Md(f);)f=Md(f);return f||null}}const _g=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(st))();function ui(c){return c instanceof Function?c():c}var xe=(()=>((xe=xe||{})[xe.Important=1]="Important",xe[xe.DashCase=2]="DashCase",xe))();function ho(c,l){return undefined(c,l)}function ys(c){const l=c[3];return $i(l)?l[3]:l}function wg(c){return ws(c[13])}function _l(c){return ws(c[4])}function ws(c){for(;null!==c&&!$i(c);)c=c[4];return c}function qo(c,l,f,p,m){if(null!=p){let _,y=!1;$i(p)?_=p:zi(p)&&(y=!0,p=p[0]);const w=E(p);0===c&&null!==f?null==m?cb(l,f,w):Wo(l,f,w,m||null,!0):1===c&&null!==f?Wo(l,f,w,m||null,!0):2===c?function Sa(c,l,f){const p=bl(c,l);p&&function jd(c,l,f,p){Ht(c)?c.removeChild(l,f,p):l.removeChild(f)}(c,p,l,f)}(l,w,y):3===c&&l.destroyNode(w),null!=_&&function Mg(c,l,f,p,m){const _=f[7];_!==E(f)&&qo(l,c,p,_,m);for(let w=10;w0&&(c[f-1][4]=p[4]);const _=wd(c,10+l);!function Od(c,l){$n(c,l,l[11],2,null,null),l[0]=null,l[6]=null}(p[1],p);const y=_[19];null!==y&&y.detachView(_[1]),p[3]=null,p[4]=null,p[2]&=-129}return p}function Ag(c,l){if(!(256&l[2])){const f=l[11];Ht(f)&&f.destroyNode&&$n(c,l,f,3,null,null),function Wi(c){let l=c[13];if(!l)return fo(c[1],c);for(;l;){let f=null;if(zi(l))f=l[13];else{const p=l[10];p&&(f=p)}if(!f){for(;l&&!l[4]&&l!==c;)zi(l)&&fo(l[1],l),l=l[3];null===l&&(l=c),zi(l)&&fo(l[1],l),f=l&&l[4]}l=f}}(l)}}function fo(c,l){if(!(256&l[2])){l[2]&=-129,l[2]|=256,function Tg(c,l){let f;if(null!=c&&null!=(f=c.destroyHooks))for(let p=0;p=0?p[m=D]():p[m=-D].unsubscribe(),_+=2}else{const y=p[m=f[_+1]];f[_].call(y)}if(null!==p){for(let _=m+1;__?"":m[B+1].toLowerCase();const ne=8&p?W:null;if(ne&&-1!==As(ne,D,0)||2&p&&D!==W){if(Yi(p))return!1;y=!0}}}}else{if(!y&&!Yi(p)&&!Yi(T))return!1;if(y&&Yi(T))continue;y=!1,p=T|1&p}}return Yi(p)||y}function Yi(c){return 0==(1&c)}function ub(c,l,f,p){if(null===l)return-1;let m=0;if(p||!f){let _=!1;for(;m-1)for(f++;f0?'="'+w+'"':"")+"]"}else 8&p?m+="."+y:4&p&&(m+=" "+y);else""!==m&&!Yi(y)&&(l+=Og(_,m),m=""),p=y,_=_||!Yi(p);f++}return""!==m&&(l+=Og(_,m)),l}const We={};function Kd(c){Ud(ft(),me(),hi()+c,uo())}function Ud(c,l,f,p){if(!p)if(3==(3&l[2])){const _=c.preOrderCheckHooks;null!==_&&aa(l,_,f)}else{const _=c.preOrderHooks;null!==_&&fd(l,_,0,f)}Pn(f)}function Cs(c,l){return c<<17|l<<2}function mn(c){return c>>17&32767}function Gd(c){return 2|c}function mo(c){return(131068&c)>>2}function qd(c,l){return-131069&c|l<<2}function $d(c){return 1|c}function Rl(c,l){const f=c.contentQueries;if(null!==f)for(let p=0;p20&&Ud(c,l,20,uo()),f(p,m)}finally{Pn(_)}}function ah(c,l,f){if(Pc(l)){const m=l.directiveEnd;for(let _=l.directiveStart;_0;){const f=c[--l];if("number"==typeof f&&f<0)return f}return 0})(w)!=T&&w.push(T),w.push(p,m,y)}}function Ug(c,l){null!==c.hostBindings&&c.hostBindings(1,l)}function Gg(c,l){l.flags|=2,(c.components||(c.components=[])).push(l.index)}function qg(c,l,f){if(f){if(l.exportAs)for(let p=0;p0&&mh(f)}}function mh(c){for(let p=wg(c);null!==p;p=_l(p))for(let m=10;m0&&mh(_)}const f=c[1].components;if(null!==f)for(let p=0;p0&&mh(m)}}function Hb(c,l){const f=je(l,c),p=f[1];(function qe(c,l){for(let f=l.length;fPromise.resolve(null))();function wn(c){return c[7]||(c[7]=[])}function Ha(c){return c.cleanup||(c.cleanup=[])}function Jg(c,l,f){return(null===c||an(c))&&(f=function P(c){for(;Array.isArray(c);){if("object"==typeof c[1])return c;c=c[0]}return null}(f[l.index])),f[11]}function Hl(c,l){const f=c[9],p=f?f.get(pl,null):null;p&&p.handleError(l)}function yh(c,l,f,p,m){for(let _=0;_this.processProvider(w,l,f)),qn([l],w=>this.processInjectorType(w,[],_)),this.records.set(wh,bn(void 0,this));const y=this.records.get(Mr);this.scope=null!=y?y.value:null,this.source=m||("object"==typeof l?null:G(l))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(l=>l.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(l,f=Jc,p=Ye.Default){this.assertNotDestroyed();const m=Pw(this),_=Oi(void 0);try{if(!(p&Ye.SkipSelf)){let w=this.records.get(l);if(void 0===w){const T=function eE(c){return"function"==typeof c||"object"==typeof c&&c instanceof Wt}(l)&&ai(l);w=T&&this.injectableDefInScope(T)?bn(Nl(l),Xo):null,this.records.set(l,w)}if(null!=w)return this.hydrate(l,w)}return(p&Ye.Self?im():this.parent).get(l,f=p&Ye.Optional&&f===Jc?null:f)}catch(y){if("NullInjectorError"===y.name){if((y[Ad]=y[Ad]||[]).unshift(G(l)),m)throw y;return function G0(c,l,f,p){const m=c[Ad];throw l[Rw]&&m.unshift(l[Rw]),c.message=function q0(c,l,f,p=null){c=c&&"\n"===c.charAt(0)&&"\u0275"==c.charAt(1)?c.substr(2):c;let m=G(l);if(Array.isArray(l))m=l.map(G).join(" -> ");else if("object"==typeof l){let _=[];for(let y in l)if(l.hasOwnProperty(y)){let w=l[y];_.push(y+":"+("string"==typeof w?JSON.stringify(w):G(w)))}m=`{${_.join(", ")}}`}return`${f}${p?"("+p+")":""}[${m}]: ${c.replace(N0,"\n ")}`}("\n"+c.message,m,f,p),c.ngTokenPath=m,c[Ad]=null,c}(y,l,"R3InjectorError",this.source)}throw y}finally{Oi(_),Pw(m)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(l=>this.get(l))}toString(){const l=[];return this.records.forEach((p,m)=>l.push(G(m))),`R3Injector[${l.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ie(205,!1)}processInjectorType(l,f,p){if(!(l=V(l)))return!1;let m=es(l);const _=null==m&&l.ngModule||void 0,y=void 0===_?l:_,w=-1!==p.indexOf(y);if(void 0!==_&&(m=es(_)),null==m)return!1;if(null!=m.imports&&!w){let M;p.push(y);try{qn(m.imports,B=>{this.processInjectorType(B,f,p)&&(void 0===M&&(M=[]),M.push(B))})}finally{}if(void 0!==M)for(let B=0;Bthis.processProvider(ce,W,ne||Re))}}this.injectorDefTypes.add(y);const T=Ze(y)||(()=>new y);this.records.set(y,bn(T,Xo));const D=m.providers;if(null!=D&&!w){const M=l;qn(D,B=>this.processProvider(B,M,D))}return void 0!==_&&void 0!==l.providers}processProvider(l,f,p){let m=za(l=V(l))?l:V(l&&l.provide);const _=function Bb(c,l,f){return Hn(c)?bn(void 0,c.useValue):bn(vh(c),Xo)}(l);if(za(l)||!0!==l.multi)this.records.get(m);else{let y=this.records.get(m);y||(y=bn(void 0,Xo,!0),y.factory=()=>Jp(y.multi),this.records.set(m,y)),m=l,y.multi.push(l)}this.records.set(m,_)}hydrate(l,f){return f.value===Xo&&(f.value=Fb,f.value=f.factory()),"object"==typeof f.value&&f.value&&function JT(c){return null!==c&&"object"==typeof c&&"function"==typeof c.ngOnDestroy}(f.value)&&this.onDestroy.add(f.value),f.value}injectableDefInScope(l){if(!l.providedIn)return!1;const f=V(l.providedIn);return"string"==typeof f?"any"===f||f===this.scope:this.injectorDefTypes.has(f)}}function Nl(c){const l=ai(c),f=null!==l?l.factory:Ze(c);if(null!==f)return f;if(c instanceof Wt)throw new ie(204,!1);if(c instanceof Function)return function Lb(c){const l=c.length;if(l>0)throw Xc(l,"?"),new ie(204,!1);const f=function Xr(c){const l=c&&(c[Po]||c[Io]);if(l){const f=function Jr(c){if(c.hasOwnProperty("name"))return c.name;const l=(""+c).match(/^function\s*([^\s(]+)/);return null===l?"":l[1]}(c);return console.warn(`DEPRECATED: DI is instantiating a token "${f}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${f}" class.`),l}return null}(c);return null!==f?()=>f.factory(c):()=>new c}(c);throw new ie(204,!1)}function vh(c,l,f){let p;if(za(c)){const m=V(c);return Ze(m)||Nl(m)}if(Hn(c))p=()=>V(c.useValue);else if(function Ah(c){return!(!c||!c.useFactory)}(c))p=()=>c.useFactory(...Jp(c.deps||[]));else if(function Nb(c){return!(!c||!c.useExisting)}(c))p=()=>pi(V(c.useExisting));else{const m=V(c&&(c.useClass||c.provide));if(!function XT(c){return!!c.deps}(c))return Ze(m)||Nl(m);p=()=>new m(...Jp(c.deps))}return p}function bn(c,l,f=!1){return{factory:c,value:l,multi:f?[]:void 0}}function Hn(c){return null!==c&&"object"==typeof c&&V0 in c}function za(c){return"function"==typeof c}let zn=(()=>{class c{static create(f,p){var m;if(Array.isArray(f))return Bl({name:""},p,f,"");{const _=null!==(m=f.name)&&void 0!==m?m:"";return Bl({name:_},f.parent,f.providers,_)}}}return c.THROW_IF_NOT_FOUND=Jc,c.NULL=new tm,c.\u0275prov=Ft({token:c,providedIn:"any",factory:()=>pi(wh)}),c.__NG_ELEMENT_ID__=-1,c})();function qb(c,l){hd(dg(c)[1],Mt())}function jl(c){let l=function $b(c){return Object.getPrototypeOf(c.prototype).constructor}(c.type),f=!0;const p=[c];for(;l;){let m;if(an(c))m=l.\u0275cmp||l.\u0275dir;else{if(l.\u0275cmp)throw new ie(903,"");m=l.\u0275dir}if(m){if(f){p.push(m);const y=c;y.inputs=Vl(c.inputs),y.declaredInputs=Vl(c.declaredInputs),y.outputs=Vl(c.outputs);const w=m.hostBindings;w&&Wn(c,w);const T=m.viewQuery,D=m.contentQueries;if(T&&Wb(c,T),D&&Kl(c,D),$(c.inputs,m.inputs),$(c.declaredInputs,m.declaredInputs),$(c.outputs,m.outputs),an(m)&&m.data.animation){const M=c.data;M.animation=(M.animation||[]).concat(m.data.animation)}}const _=m.features;if(_)for(let y=0;y<_.length;y++){const w=_[y];w&&w.ngInherit&&w(c),w===jl&&(f=!1)}}l=Object.getPrototypeOf(l)}!function Sh(c){let l=0,f=null;for(let p=c.length-1;p>=0;p--){const m=c[p];m.hostVars=l+=m.hostVars,m.hostAttrs=Vc(m.hostAttrs,f=Vc(f,m.hostAttrs))}}(p)}function Vl(c){return c===at?{}:c===Re?[]:c}function Wb(c,l){const f=c.viewQuery;c.viewQuery=f?(p,m)=>{l(p,m),f(p,m)}:l}function Kl(c,l){const f=c.contentQueries;c.contentQueries=f?(p,m,_)=>{l(p,m,_),f(p,m,_)}:l}function Wn(c,l){const f=c.hostBindings;c.hostBindings=f?(p,m)=>{l(p,m),f(p,m)}:l}let Gl=null;function Ms(){if(!Gl){const c=st.Symbol;if(c&&c.iterator)Gl=c.iterator;else{const l=Object.getOwnPropertyNames(Map.prototype);for(let f=0;fw(E(ut[p.index])):p.index;if(Ht(f)){let ut=null;if(!w&&T&&(ut=function wE(c,l,f,p){const m=c.cleanup;if(null!=m)for(let _=0;_T?w[T]:null}"string"==typeof y&&(_+=2)}return null}(c,l,m,p.index)),null!==ut)(ut.__ngLastListenerFn__||ut).__ngNextListenerFn__=_,ut.__ngLastListenerFn__=_,ne=!1;else{_=Am(p,l,B,_,!1);const St=f.listen(Ie,m,_);W.push(_,St),M&&M.push(m,Ne,pe,pe+1)}}else _=Am(p,l,B,_,!0),Ie.addEventListener(m,_,y),W.push(_),M&&M.push(m,Ne,pe,y)}else _=Am(p,l,B,_,!1);const ce=p.outputs;let ve;if(ne&&null!==ce&&(ve=ce[m])){const Te=ve.length;if(Te)for(let Ie=0;Ie0;)l=l[15],c--;return l}(c,Be.lFrame.contextLView))[8]}(c)}function Cm(c,l){let f=null;const p=function db(c){const l=c.attrs;if(null!=l){const f=l.indexOf(5);if(0==(1&f))return l[f+1]}return null}(c);for(let m=0;m=0}function tu(c,l,f){return Fn(c,l,f,!1),tu}function Kh(c,l){return Fn(c,l,null,!0),Kh}function Fn(c,l,f,p){const m=me(),_=ft(),y=Bo(2);_.firstUpdatePass&&function Fr(c,l,f,p){const m=c.data;if(null===m[f+1]){const _=m[hi()],y=function Im(c,l){return l>=c.expandoStartIndex}(c,f);(function Bv(c,l){return 0!=(c.flags&(l?16:32))})(_,p)&&null===l&&!y&&(l=!1),l=function Iv(c,l,f,p){const m=Hp(c);let _=p?l.residualClasses:l.residualStyles;if(null===m)0===(p?l.classBindings:l.styleBindings)&&(f=iu(f=Om(null,c,l,f,p),l.attrs,p),_=null);else{const y=l.directiveStylingLast;if(-1===y||c[y]!==m)if(f=Om(m,c,l,f,p),null===_){let T=function Ov(c,l,f){const p=f?l.classBindings:l.styleBindings;if(0!==mo(p))return c[mn(p)]}(c,l,p);void 0!==T&&Array.isArray(T)&&(T=Om(null,c,l,T[1],p),T=iu(T,l.attrs,p),function Hv(c,l,f,p){c[mn(f?l.classBindings:l.styleBindings)]=p}(c,l,p,T))}else _=function CE(c,l,f){let p;const m=l.directiveEnd;for(let _=1+l.directiveStylingLast;_0)&&(D=!0)}else M=f;if(m)if(0!==T){const W=mn(c[w+1]);c[p+1]=Cs(W,w),0!==W&&(c[W+1]=qd(c[W+1],p)),c[w+1]=function pb(c,l){return 131071&c|l<<17}(c[w+1],p)}else c[p+1]=Cs(w,0),0!==w&&(c[w+1]=qd(c[w+1],p)),w=p;else c[p+1]=Cs(T,0),0===w?w=p:c[T+1]=qd(c[T+1],p),T=p;D&&(c[p+1]=Gd(c[p+1])),Nh(c,M,p,!0),Nh(c,M,p,!1),function eu(c,l,f,p,m){const _=m?c.residualClasses:c.residualStyles;null!=_&&"string"==typeof l&&pa(_,l)>=0&&(f[p+1]=$d(f[p+1]))}(l,M,c,p,_),y=Cs(w,T),_?l.classBindings=y:l.styleBindings=y}(m,_,l,f,y,p)}}(_,c,y,p),l!==We&&Ai(m,y,l)&&function Fv(c,l,f,p,m,_,y,w){if(!(3&l.type))return;const T=c.data,D=T[w+1];Gh(function Da(c){return 1==(1&c)}(D)?Lv(T,l,f,m,mo(D),y):void 0)||(Gh(_)||function zg(c){return 2==(2&c)}(D)&&(_=Lv(T,null,f,m,w,y)),function xg(c,l,f,p,m){const _=Ht(c);if(l)m?_?c.addClass(f,p):f.classList.add(p):_?c.removeClass(f,p):f.classList.remove(p);else{let y=-1===p.indexOf("-")?void 0:xe.DashCase;if(null==m)_?c.removeStyle(f,p,y):f.style.removeProperty(p);else{const w="string"==typeof m&&m.endsWith("!important");w&&(m=m.slice(0,-10),y|=xe.Important),_?c.setStyle(f,p,m,y):f.style.setProperty(p,m,w?"important":"")}}}(p,y,ae(hi(),f),m,_))}(_,_.data[hi()],m,m[11],c,m[y+1]=function TE(c,l){return null==c||("string"==typeof l?c+=l:"object"==typeof c&&(c=G(Vo(c)))),c}(l,f),p,y)}function Om(c,l,f,p,m){let _=null;const y=f.directiveEnd;let w=f.directiveStylingLast;for(-1===w?w=f.directiveStart:w++;w0;){const T=c[m],D=Array.isArray(T),M=D?T[1]:T,B=null===M;let W=f[m+1];W===We&&(W=B?Re:void 0);let ne=B?Zp(W,p):M===p?W:void 0;if(D&&!Gh(ne)&&(ne=Zp(T,p)),Gh(ne)&&(w=ne,y))return w;const ce=c[m+1];m=y?mn(ce):mo(ce)}if(null!==l){let T=_?l.residualClasses:l.residualStyles;null!=T&&(w=Zp(T,p))}return w}function Gh(c){return void 0!==c}function Nv(c,l=""){const f=me(),p=ft(),m=c+20,_=p.firstCreatePass?Es(p,m,1,l,null):p.data[m],y=f[m]=function Id(c,l){return Ht(c)?c.createText(l):c.createTextNode(l)}(f[11],l);Ta(p,f,y,_),Gn(_,!1)}function zs(c){return Ga("",c,""),zs}function Ga(c,l,f){const p=me(),m=Zn(p,c,l,f);return m!==We&&vo(p,hi(),m),Ga}function qh(c,l,f,p,m){const _=me(),y=Pr(_,c,l,f,p,m);return y!==We&&vo(_,hi(),y),qh}function Zh(c,l,f){const p=me();return Ai(p,sa(),l)&&Bi(ft(),jt(),p,c,l,p[11],f,!0),Zh}function Qh(c,l,f){const p=me();if(Ai(p,sa(),l)){const _=ft(),y=jt();Bi(_,y,p,c,l,Jg(Hp(_.data),y,p),f,!0)}return Qh}const Jn=void 0;var Za=["en",[["a","p"],["AM","PM"],Jn],[["AM","PM"],Jn,Jn],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Jn,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Jn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Jn,"{1} 'at' {0}",Jn],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Yv(c){const f=Math.floor(Math.abs(c)),p=c.toString().replace(/^[^.]*\.?/,"").length;return 1===f&&0===p?1:5}];let Lr={};function ru(c){const l=function su(c){return c.toLowerCase().replace(/_/g,"-")}(c);let f=Fs(l);if(f)return f;const p=l.split("-")[0];if(f=Fs(p),f)return f;if("en"===p)return Za;throw new Error(`Missing locale data for the locale "${c}".`)}function or(c){return ru(c)[Ke.PluralCase]}function Fs(c){return c in Lr||(Lr[c]=st.ng&&st.ng.common&&st.ng.common.locales&&st.ng.common.locales[c]),Lr[c]}var Ke=(()=>((Ke=Ke||{})[Ke.LocaleId=0]="LocaleId",Ke[Ke.DayPeriodsFormat=1]="DayPeriodsFormat",Ke[Ke.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ke[Ke.DaysFormat=3]="DaysFormat",Ke[Ke.DaysStandalone=4]="DaysStandalone",Ke[Ke.MonthsFormat=5]="MonthsFormat",Ke[Ke.MonthsStandalone=6]="MonthsStandalone",Ke[Ke.Eras=7]="Eras",Ke[Ke.FirstDayOfWeek=8]="FirstDayOfWeek",Ke[Ke.WeekendRange=9]="WeekendRange",Ke[Ke.DateFormat=10]="DateFormat",Ke[Ke.TimeFormat=11]="TimeFormat",Ke[Ke.DateTimeFormat=12]="DateTimeFormat",Ke[Ke.NumberSymbols=13]="NumberSymbols",Ke[Ke.NumberFormats=14]="NumberFormats",Ke[Ke.CurrencyCode=15]="CurrencyCode",Ke[Ke.CurrencySymbol=16]="CurrencySymbol",Ke[Ke.CurrencyName=17]="CurrencyName",Ke[Ke.Currencies=18]="Currencies",Ke[Ke.Directionality=19]="Directionality",Ke[Ke.PluralCase=20]="PluralCase",Ke[Ke.ExtraData=21]="ExtraData",Ke))();const au="en-US";let lu=au;function rf(c,l,f,p,m){if(c=V(c),Array.isArray(c))for(let _=0;_>20;if(za(c)||!c.multi){const ne=new Nt(T,m,Ka),ce=pu(w,l,m?M:M+W,B);-1===ce?(Wc(cs(D,y),_,w),sf(_,c,l.length),l.push(w),D.directiveStart++,D.directiveEnd++,m&&(D.providerIndexes+=1048576),f.push(ne),y.push(ne)):(f[ce]=ne,y[ce]=ne)}else{const ne=pu(w,l,M+W,B),ce=pu(w,l,M,M+W),ve=ne>=0&&f[ne],Te=ce>=0&&f[ce];if(m&&!Te||!m&&!ve){Wc(cs(D,y),_,w);const Ie=function l_(c,l,f,p,m){const _=new Nt(c,f,Ka);return _.multi=[],_.index=l,_.componentProviders=0,c_(_,m,p&&!f),_}(m?kA:lt,f.length,m,p,T);!m&&Te&&(f[ce].providerFactory=Ie),sf(_,c,l.length,0),l.push(w),D.directiveStart++,D.directiveEnd++,m&&(D.providerIndexes+=1048576),f.push(Ie),y.push(Ie)}else sf(_,c,ne>-1?ne:ce,c_(f[m?ce:ne],T,!m&&p));!m&&p&&Te&&f[ce].componentProviders++}}}function sf(c,l,f,p){const m=za(l),_=function QT(c){return!!c.useClass}(l);if(m||_){const T=(_?V(l.useClass):l).prototype.ngOnDestroy;if(T){const D=c.destroyHooks||(c.destroyHooks=[]);if(!m&&l.multi){const M=D.indexOf(f);-1===M?D.push(f,[p,T]):D[M+1].push(p,T)}else D.push(f,T)}}}function c_(c,l,f){return f&&c.componentProviders++,c.multi.push(l)-1}function pu(c,l,f,p){for(let m=f;m{f.providersResolver=(p,m)=>function SA(c,l,f){const p=ft();if(p.firstCreatePass){const m=an(c);rf(f,p.data,p.blueprint,m,!0),rf(l,p.data,p.blueprint,m,!1)}}(p,m?m(c):c,l)}}class u_{}class d_{resolveComponentFactory(l){throw function MA(c){const l=Error(`No component factory found for ${G(c)}. Did you add it to @NgModule.entryComponents?`);return l.ngComponent=c,l}(l)}}let Ns=(()=>{class c{}return c.NULL=new d_,c})();function tS(){return Gt(Mt(),me())}function Gt(c,l){return new Vi(fe(c,l))}let Vi=(()=>{class c{constructor(f){this.nativeElement=f}}return c.__NG_ELEMENT_ID__=tS,c})();function RA(c){return c instanceof Vi?c.nativeElement:c}class af{}let h_=(()=>{class c{}return c.__NG_ELEMENT_ID__=()=>function f_(){const c=me(),f=je(Mt().index,c);return function PA(c){return c[11]}(zi(f)?f:c)}(),c})(),IA=(()=>{class c{}return c.\u0275prov=Ft({token:c,providedIn:"root",factory:()=>null}),c})();class cf{constructor(l){this.full=l,this.major=l.split(".")[0],this.minor=l.split(".")[1],this.patch=l.split(".").slice(2).join(".")}}const p_=new cf("13.2.2"),js={};function eo(c,l,f,p,m=!1){for(;null!==f;){const _=l[f.index];if(null!==_&&p.push(E(_)),$i(_))for(let w=10;w<_.length;w++){const T=_[w],D=T[1].firstChild;null!==D&&eo(T[1],T,D,p)}const y=f.type;if(8&y)eo(c,l,f.child,p);else if(32&y){const w=ho(f,l);let T;for(;T=w();)p.push(T)}else if(16&y){const w=Yo(l,f);if(Array.isArray(w))p.push(...w);else{const T=ys(l[16]);eo(T[1],T,w,p,!0)}}f=m?f.projectionNext:f.next}return p}class rt{constructor(l,f){this._lView=l,this._cdRefInjectingView=f,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const l=this._lView,f=l[1];return eo(f,l,f.firstChild,[])}get context(){return this._lView[8]}set context(l){this._lView[8]=l}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const l=this._lView[3];if($i(l)){const f=l[8],p=f?f.indexOf(this):-1;p>-1&&(vg(l,p),wd(f,p))}this._attachedToViewContainer=!1}Ag(this._lView[1],this._lView)}onDestroy(l){Oa(this._lView[1],this._lView,null,l)}markForCheck(){Zg(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){bo(this._lView[1],this._lView,this.context)}checkNoChanges(){!function Ol(c,l,f){cd(!0);try{bo(c,l,f)}finally{cd(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ie(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function zd(c,l){$n(c,l,l[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(l){if(this._attachedToViewContainer)throw new ie(902,"");this._appRef=l}}class ec extends rt{constructor(l){super(l),this._view=l}detectChanges(){Qo(this._view)}checkNoChanges(){!function Qg(c){cd(!0);try{Qo(c)}finally{cd(!1)}}(this._view)}get context(){return null}}class g_ extends Ns{constructor(l){super(),this.ngModule=l}resolveComponentFactory(l){const f=ci(l);return new lf(f,this.ngModule)}}function sr(c){const l=[];for(let f in c)c.hasOwnProperty(f)&&l.push({propName:c[f],templateName:f});return l}const m_=new Wt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>_g});class lf extends u_{constructor(l,f){super(),this.componentDef=l,this.ngModule=f,this.componentType=l.type,this.selector=function fb(c){return c.map(hb).join(",")}(l.selectors),this.ngContentSelectors=l.ngContentSelectors?l.ngContentSelectors:[],this.isBoundToModule=!!f}get inputs(){return sr(this.componentDef.inputs)}get outputs(){return sr(this.componentDef.outputs)}create(l,f,p,m){const _=(m=m||this.ngModule)?function __(c,l){return{get:(f,p,m)=>{const _=c.get(f,js,m);return _!==js||p===js?_:l.get(f,p,m)}}}(l,m.injector):l,y=_.get(af,k),w=_.get(IA,null),T=y.createRenderer(null,this.componentDef),D=this.componentDef.selectors[0][0]||"div",M=p?function lh(c,l,f){if(Ht(c))return c.selectRootElement(l,f===De.ShadowDom);let p="string"==typeof l?c.querySelector(l):l;return p.textContent="",p}(T,p,this.componentDef.encapsulation):wl(y.createRenderer(null,this.componentDef),D,function OA(c){const l=c.toLowerCase();return"svg"===l?"svg":"math"===l?"math":null}(D)),B=this.componentDef.onPush?576:528,W=function er(c,l){return{components:[],scheduler:c||_g,clean:zb,playerHandler:l||null,flags:0}}(),ne=Il(0,null,null,1,0,null,null,null,null,null),ce=Ra(null,ne,W,B,null,null,y,T,w,_);let ve,Te;hn(ce);try{const Ie=function sm(c,l,f,p,m,_){const y=f[1];f[20]=c;const T=Es(y,20,2,"#host",null),D=T.mergedAttrs=l.hostAttrs;null!==D&&(zl(T,D,!0),null!==c&&(as(m,c,D),null!==T.classes&&go(m,c,T.classes),null!==T.styles&&On(m,c,T.styles)));const M=p.createRenderer(c,l),B=Ra(f,Dr(l),null,l.onPush?64:16,f[20],T,p,M,_||null,null);return y.firstCreatePass&&(Wc(cs(T,f),y,l.type),Gg(y,T),gh(T,f.length,1)),_h(f,B),f[20]=B}(M,this.componentDef,ce,y,T);if(M)if(p)as(T,M,["ng-version",p_.full]);else{const{attrs:pe,classes:Ne}=function El(c){const l=[],f=[];let p=1,m=2;for(;p0&&go(T,M,Ne.join(" "))}if(Te=xt(ne,20),void 0!==f){const pe=Te.projection=[];for(let Ne=0;NeT(y,l)),l.contentQueries){const T=Mt();l.contentQueries(1,y,T.directiveStart)}const w=Mt();return!_.firstCreatePass||null===l.hostBindings&&null===l.hostAttrs||(Pn(w.index),ph(f[1],w,0,w.directiveStart,w.directiveEnd,l),Ug(l,y)),y}(Ie,this.componentDef,ce,W,[qb]),Ia(ne,ce,null)}finally{ud()}return new y_(this.componentType,ve,Gt(Te,ce),ce,Te)}}class y_ extends class DA{}{constructor(l,f,p,m,_){super(),this.location=p,this._rootLView=m,this._tNode=_,this.instance=f,this.hostView=this.changeDetectorRef=new ec(m),this.componentType=l}get injector(){return new da(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(l){this.hostView.onDestroy(l)}}class Vs{}class wu{}const So=new Map;class b_ extends Vs{constructor(l,f){super(),this._parent=f,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new g_(this);const p=li(l);this._bootstrapComponents=ui(p.bootstrap),this._r3Injector=bh(l,f,[{provide:Vs,useValue:this},{provide:Ns,useValue:this.componentFactoryResolver}],G(l)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(l)}get(l,f=zn.THROW_IF_NOT_FOUND,p=Ye.Default){return l===zn||l===Vs||l===wh?this:this._r3Injector.get(l,f,p)}destroy(){const l=this._r3Injector;!l.destroyed&&l.destroy(),this.destroyCbs.forEach(f=>f()),this.destroyCbs=null}onDestroy(l){this.destroyCbs.push(l)}}class hf extends wu{constructor(l){super(),this.moduleType=l,null!==li(l)&&function zA(c){const l=new Set;!function f(p){const m=li(p,!0),_=m.id;null!==_&&(function uf(c,l,f){if(l&&l!==f)throw new Error(`Duplicate module registered for ${c} - ${G(l)} vs ${G(l.name)}`)}(_,So.get(_),p),So.set(_,p));const y=ui(m.imports);for(const w of y)l.has(w)||(l.add(w),f(w))}(c)}(l)}create(l){return new b_(this.moduleType,l)}}function v_(c,l,f,p){return Do(me(),Fi(),c,l,f,p)}function tc(c,l){const f=c[l];return f===We?void 0:f}function Do(c,l,f,p,m,_){const y=l+f;return Ai(c,y,m)?Yn(c,y+1,_?p.call(_,m):p(m)):tc(c,y+1)}function E_(c,l,f,p,m,_,y,w){const T=l+f;return function Na(c,l,f,p,m){const _=Rr(c,l,f,p);return Ai(c,l+2,m)||_}(c,T,m,_,y)?Yn(c,T+3,w?p.call(w,m,_,y):p(m,_,y)):tc(c,T+3)}function bu(c,l){const f=ft();let p;const m=c+20;f.firstCreatePass?(p=function S_(c,l){if(l)for(let f=l.length-1;f>=0;f--){const p=l[f];if(c===p.name)return p}}(l,f.pipeRegistry),f.data[m]=p,p.onDestroy&&(f.destroyHooks||(f.destroyHooks=[])).push(m,p.onDestroy)):p=f.data[m];const _=p.factory||(p.factory=Ze(p.type)),y=Oi(Ka);try{const w=Uc(!1),T=_();return Uc(w),function Hr(c,l,f,p){f>=c.data.length&&(c.data[f]=null,c.blueprint[f]=null),l[f]=p}(f,me(),m,T),T}finally{Oi(y)}}function vu(c,l,f){const p=c+20,m=me(),_=bt(m,p);return oc(m,p)?Do(m,Fi(),l,_.transform,f,_):_.transform(f)}function Au(c,l,f,p){const m=c+20,_=me(),y=bt(_,m);return oc(_,m)?function gf(c,l,f,p,m,_,y){const w=l+f;return Rr(c,w,m,_)?Yn(c,w+2,y?p.call(y,m,_):p(m,_)):tc(c,w+2)}(_,Fi(),l,y.transform,f,p,y):y.transform(f,p)}function k_(c,l,f,p,m){const _=c+20,y=me(),w=bt(y,_);return oc(y,_)?E_(y,Fi(),l,w.transform,f,p,m,w):w.transform(f,p,m)}function oc(c,l){return c[1].data[l].pure}function Us(c){return l=>{setTimeout(c,void 0,l)}}const Ki=class NA extends b.xQ{constructor(l=!1){super(),this.__isAsync=l}emit(l){super.next(l)}subscribe(l,f,p){var m,_,y;let w=l,T=f||(()=>null),D=p;if(l&&"object"==typeof l){const B=l;w=null===(m=B.next)||void 0===m?void 0:m.bind(B),T=null===(_=B.error)||void 0===_?void 0:_.bind(B),D=null===(y=B.complete)||void 0===y?void 0:y.bind(B)}this.__isAsync&&(T=Us(T),w&&(w=Us(w)),D&&(D=Us(D)));const M=super.subscribe({next:w,error:T,complete:D});return l instanceof u.w&&l.add(M),M}};function _f(){return this._results[Ms()]()}class rc{constructor(l=!1){this._emitDistinctChangesOnly=l,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const f=Ms(),p=rc.prototype;p[f]||(p[f]=_f)}get changes(){return this._changes||(this._changes=new Ki)}get(l){return this._results[l]}map(l){return this._results.map(l)}filter(l){return this._results.filter(l)}find(l){return this._results.find(l)}reduce(l,f){return this._results.reduce(l,f)}forEach(l){this._results.forEach(l)}some(l){return this._results.some(l)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(l,f){const p=this;p.dirty=!1;const m=fn(l);(this._changesDetected=!function R0(c,l,f){if(c.length!==l.length)return!1;for(let p=0;p{class c{}return c.__NG_ELEMENT_ID__=VA,c})();const jA=Gs,yf=class extends jA{constructor(l,f,p){super(),this._declarationLView=l,this._declarationTContainer=f,this.elementRef=p}createEmbeddedView(l){const f=this._declarationTContainer.tViews,p=Ra(this._declarationLView,f,l,16,null,f.declTNode,null,null,null,null);p[17]=this._declarationLView[this._declarationTContainer.index];const _=this._declarationLView[19];return null!==_&&(p[19]=_.createEmbeddedView(f)),Ia(f,p,l),new rt(p)}};function VA(){return Cu(Mt(),me())}function Cu(c,l){return 4&c.type?new yf(l,c,Gt(c,l)):null}let Tu=(()=>{class c{}return c.__NG_ELEMENT_ID__=D_,c})();function D_(){return bf(Mt(),me())}const Eu=Tu,M_=class extends Eu{constructor(l,f,p){super(),this._lContainer=l,this._hostTNode=f,this._hostLView=p}get element(){return Gt(this._hostTNode,this._hostLView)}get injector(){return new da(this._hostTNode,this._hostLView)}get parentInjector(){const l=$c(this._hostTNode,this._hostLView);if(vw(l)){const f=ua(l,this._hostLView),p=la(l);return new da(f[1].data[p+8],f)}return new da(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(l){const f=Su(this._lContainer);return null!==f&&f[l]||null}get length(){return this._lContainer.length-10}createEmbeddedView(l,f,p){const m=l.createEmbeddedView(f||{});return this.insert(m,p),m}createComponent(l,f,p,m,_){const y=l&&!function Qc(c){return"function"==typeof c}(l);let w;if(y)w=f;else{const B=f||{};w=B.index,p=B.injector,m=B.projectableNodes,_=B.ngModuleRef}const T=y?l:new lf(ci(l)),D=p||this.parentInjector;if(!_&&null==T.ngModule&&D){const B=D.get(Vs,null);B&&(_=B)}const M=T.create(D,m,void 0,_);return this.insert(M.hostView,w),M}insert(l,f){const p=l._lView,m=p[1];if(function Et(c){return $i(c[3])}(p)){const M=this.indexOf(l);if(-1!==M)this.detach(M);else{const B=p[3],W=new M_(B,B[6],B[3]);W.detach(W.indexOf(l))}}const _=this._adjustIndex(f),y=this._lContainer;!function bg(c,l,f,p){const m=10+p,_=f.length;p>0&&(f[m-1][4]=l),p<_-10?(l[4]=f[m],Dw(f,10+p,l)):(f.push(l),l[4]=null),l[3]=f;const y=l[17];null!==y&&f!==y&&function Fd(c,l){const f=c[9];l[16]!==l[3][3][16]&&(c[2]=!0),null===f?c[9]=[l]:f.push(l)}(y,l);const w=l[19];null!==w&&w.insertView(c),l[2]|=128}(m,p,y,_);const w=Ea(_,y),T=p[11],D=bl(T,y[7]);return null!==D&&function Hd(c,l,f,p,m,_){p[0]=m,p[6]=l,$n(c,p,f,1,m,_)}(m,y[6],T,p,D,w),l.attachToViewContainerRef(),Dw(wf(y),_,l),l}move(l,f){return this.insert(l,f)}indexOf(l){const f=Su(this._lContainer);return null!==f?f.indexOf(l):-1}remove(l){const f=this._adjustIndex(l,-1),p=vg(this._lContainer,f);p&&(wd(wf(this._lContainer),f),Ag(p[1],p))}detach(l){const f=this._adjustIndex(l,-1),p=vg(this._lContainer,f);return p&&null!=wd(wf(this._lContainer),f)?new rt(p):null}_adjustIndex(l,f=0){return null==l?this.length+f:l}};function Su(c){return c[8]}function wf(c){return c[8]||(c[8]=[])}function bf(c,l){let f;const p=l[c.index];if($i(p))f=p;else{let m;if(8&c.type)m=E(p);else{const _=l[11];m=_.createComment("");const y=fe(c,l);Wo(_,bl(_,y),m,function Sg(c,l){return Ht(c)?c.nextSibling(l):l.nextSibling}(_,y),!1)}l[c.index]=f=Pb(p,l,m,c),_h(l,f)}return new M_(f,c,l)}class vf{constructor(l){this.queryList=l,this.matches=null}clone(){return new vf(this.queryList)}setDirty(){this.queryList.setDirty()}}class sc{constructor(l=[]){this.queries=l}createEmbeddedView(l){const f=l.queries;if(null!==f){const p=null!==l.contentQueries?l.contentQueries[0]:f.length,m=[];for(let _=0;_0)p.push(y[w/2]);else{const D=_[w+1],M=l[-T];for(let B=10;B{class c{constructor(f){this.appInits=f,this.resolve=zu,this.reject=zu,this.initialized=!1,this.done=!1,this.donePromise=new Promise((p,m)=>{this.resolve=p,this.reject=m})}runInitializers(){if(this.initialized)return;const f=[],p=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let m=0;m{_.subscribe({complete:w,error:T})});f.push(y)}}Promise.all(f).then(()=>{p()}).catch(m=>{this.reject(m)}),0===f.length&&p(),this.initialized=!0}}return c.\u0275fac=function(f){return new(f||c)(pi(Of,8))},c.\u0275prov=Ft({token:c,factory:c.\u0275fac}),c})();const q_=new Wt("AppId"),cC={provide:q_,useFactory:function Hf(){return`${zf()}${zf()}${zf()}`},deps:[]};function zf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const $_=new Wt("Platform Initializer"),Fu=new Wt("Platform ID"),Ff=new Wt("appBootstrapListener");let W_=(()=>{class c{log(f){console.log(f)}warn(f){console.warn(f)}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275prov=Ft({token:c,factory:c.\u0275fac}),c})();const Lu=new Wt("LocaleId"),Y_=new Wt("DefaultCurrencyCode");class Ri{constructor(l,f){this.ngModuleFactory=l,this.componentFactories=f}}let Lf=(()=>{class c{compileModuleSync(f){return new hf(f)}compileModuleAsync(f){return Promise.resolve(this.compileModuleSync(f))}compileModuleAndAllComponentsSync(f){const p=this.compileModuleSync(f),_=ui(li(f).declarations).reduce((y,w)=>{const T=ci(w);return T&&y.push(new lf(T)),y},[]);return new Ri(p,_)}compileModuleAndAllComponentsAsync(f){return Promise.resolve(this.compileModuleAndAllComponentsSync(f))}clearCache(){}clearCacheFor(f){}getModuleId(f){}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275prov=Ft({token:c,factory:c.\u0275fac}),c})();const Bf=(()=>Promise.resolve(0))();function ar(c){"undefined"==typeof Zone?Bf.then(()=>{c&&c.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",c)}class Xi{constructor({enableLongStackTrace:l=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:p=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ki(!1),this.onMicrotaskEmpty=new Ki(!1),this.onStable=new Ki(!1),this.onError=new Ki(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),l&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!p&&f,m.shouldCoalesceRunChangeDetection=p,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function uC(){let c=st.requestAnimationFrame,l=st.cancelAnimationFrame;if("undefined"!=typeof Zone&&c&&l){const f=c[Zone.__symbol__("OriginalDelegate")];f&&(c=f);const p=l[Zone.__symbol__("OriginalDelegate")];p&&(l=p)}return{nativeRequestAnimationFrame:c,nativeCancelAnimationFrame:l}}().nativeRequestAnimationFrame,function J_(c){const l=()=>{!function X_(c){c.isCheckStableRunning||-1!==c.lastRequestAnimationFrameId||(c.lastRequestAnimationFrameId=c.nativeRequestAnimationFrame.call(st,()=>{c.fakeTopEventTask||(c.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{c.lastRequestAnimationFrameId=-1,hc(c),c.isCheckStableRunning=!0,Nf(c),c.isCheckStableRunning=!1},void 0,()=>{},()=>{})),c.fakeTopEventTask.invoke()}),hc(c))}(c)};c._inner=c._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(f,p,m,_,y,w)=>{try{return dC(c),f.invokeTask(m,_,y,w)}finally{(c.shouldCoalesceEventChangeDetection&&"eventTask"===_.type||c.shouldCoalesceRunChangeDetection)&&l(),cr(c)}},onInvoke:(f,p,m,_,y,w,T)=>{try{return dC(c),f.invoke(m,_,y,w,T)}finally{c.shouldCoalesceRunChangeDetection&&l(),cr(c)}},onHasTask:(f,p,m,_)=>{f.hasTask(m,_),p===m&&("microTask"==_.change?(c._hasPendingMicrotasks=_.microTask,hc(c),Nf(c)):"macroTask"==_.change&&(c.hasPendingMacrotasks=_.macroTask))},onHandleError:(f,p,m,_)=>(f.handleError(m,_),c.runOutsideAngular(()=>c.onError.emit(_)),!1)})}(m)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Xi.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Xi.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(l,f,p){return this._inner.run(l,f,p)}runTask(l,f,p,m){const _=this._inner,y=_.scheduleEventTask("NgZoneEvent: "+m,l,Q_,zu,zu);try{return _.runTask(y,f,p)}finally{_.cancelTask(y)}}runGuarded(l,f,p){return this._inner.runGuarded(l,f,p)}runOutsideAngular(l){return this._outer.run(l)}}const Q_={};function Nf(c){if(0==c._nesting&&!c.hasPendingMicrotasks&&!c.isStable)try{c._nesting++,c.onMicrotaskEmpty.emit(null)}finally{if(c._nesting--,!c.hasPendingMicrotasks)try{c.runOutsideAngular(()=>c.onStable.emit(null))}finally{c.isStable=!0}}}function hc(c){c.hasPendingMicrotasks=!!(c._hasPendingMicrotasks||(c.shouldCoalesceEventChangeDetection||c.shouldCoalesceRunChangeDetection)&&-1!==c.lastRequestAnimationFrameId)}function dC(c){c._nesting++,c.isStable&&(c.isStable=!1,c.onUnstable.emit(null))}function cr(c){c._nesting--,Nf(c)}class ey{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ki,this.onMicrotaskEmpty=new Ki,this.onStable=new Ki,this.onError=new Ki}run(l,f,p){return l.apply(f,p)}runGuarded(l,f,p){return l.apply(f,p)}runOutsideAngular(l){return l()}runTask(l,f,p,m){return l.apply(f,p)}}let ty=(()=>{class c{constructor(f){this._ngZone=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),f.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Xi.assertNotInAngularZone(),ar(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())ar(()=>{for(;0!==this._callbacks.length;){let f=this._callbacks.pop();clearTimeout(f.timeoutId),f.doneCb(this._didWork)}this._didWork=!1});else{let f=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(f)||(clearTimeout(p.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(f=>({source:f.source,creationLocation:f.creationLocation,data:f.data})):[]}addCallback(f,p,m){let _=-1;p&&p>0&&(_=setTimeout(()=>{this._callbacks=this._callbacks.filter(y=>y.timeoutId!==_),f(this._didWork,this.getPendingTasks())},p)),this._callbacks.push({doneCb:f,timeoutId:_,updateCb:m})}whenStable(f,p,m){if(m&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(f,p,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(f,p,m){return[]}}return c.\u0275fac=function(f){return new(f||c)(pi(Xi))},c.\u0275prov=Ft({token:c,factory:c.\u0275fac}),c})(),iy=(()=>{class c{constructor(){this._applications=new Map,Vf.addToWindow(this)}registerApplication(f,p){this._applications.set(f,p)}unregisterApplication(f){this._applications.delete(f)}unregisterAllApplications(){this._applications.clear()}getTestability(f){return this._applications.get(f)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(f,p=!0){return Vf.findTestabilityInTree(this,f,p)}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275prov=Ft({token:c,factory:c.\u0275fac}),c})();class jf{addToWindow(l){}findTestabilityInTree(l,f,p){return null}}function hC(c){Vf=c}let Nn,Vf=new jf;const oy=new Wt("AllowMultipleToken");class Kf{constructor(l,f){this.name=l,this.token=f}}function ry(c,l,f=[]){const p=`Platform: ${l}`,m=new Wt(p);return(_=[])=>{let y=gC();if(!y||y.injector.get(oy,!1))if(c)c(f.concat(_).concat({provide:m,useValue:!0}));else{const w=f.concat(_).concat({provide:m,useValue:!0},{provide:Mr,useValue:"platform"});!function pC(c){if(Nn&&!Nn.destroyed&&!Nn.injector.get(oy,!1))throw new ie(400,"");Nn=c.get(Uf);const l=c.get($_,null);l&&l.forEach(f=>f())}(zn.create({providers:w,name:p}))}return function sy(c){const l=gC();if(!l)throw new ie(401,"");return l}()}}function gC(){return Nn&&!Nn.destroyed?Nn:null}let Uf=(()=>{class c{constructor(f){this._injector=f,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(f,p){const w=function Gf(c,l){let f;return f="noop"===c?new ey:("zone.js"===c?void 0:c)||new Xi({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==l?void 0:l.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==l?void 0:l.ngZoneRunCoalescing)}),f}(p?p.ngZone:void 0,{ngZoneEventCoalescing:p&&p.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:p&&p.ngZoneRunCoalescing||!1}),T=[{provide:Xi,useValue:w}];return w.run(()=>{const D=zn.create({providers:T,parent:this.injector,name:f.moduleType.name}),M=f.create(D),B=M.injector.get(pl,null);if(!B)throw new ie(402,"");return w.runOutsideAngular(()=>{const W=w.onError.subscribe({next:ne=>{B.handleError(ne)}});M.onDestroy(()=>{qf(this._modules,M),W.unsubscribe()})}),function ay(c,l,f){try{const p=f();return wm(p)?p.catch(m=>{throw l.runOutsideAngular(()=>c.handleError(m)),m}):p}catch(p){throw l.runOutsideAngular(()=>c.handleError(p)),p}}(B,w,()=>{const W=M.injector.get(jr);return W.runInitializers(),W.donePromise.then(()=>(function To(c){Ve(c,"Expected localeId to be defined"),"string"==typeof c&&(lu=c.toLowerCase().replace(/_/g,"-"))}(M.injector.get(Lu,au)||au),this._moduleDoBootstrap(M),M))})})}bootstrapModule(f,p=[]){const m=mC({},p);return function ny(c,l,f){const p=new hf(f);return Promise.resolve(p)}(0,0,f).then(_=>this.bootstrapModuleFactory(_,m))}_moduleDoBootstrap(f){const p=f.injector.get(Ws);if(f._bootstrapComponents.length>0)f._bootstrapComponents.forEach(m=>p.bootstrap(m));else{if(!f.instance.ngDoBootstrap)throw new ie(403,"");f.instance.ngDoBootstrap(p)}this._modules.push(f)}onDestroy(f){this._destroyListeners.push(f)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ie(404,"");this._modules.slice().forEach(f=>f.destroy()),this._destroyListeners.forEach(f=>f()),this._destroyed=!0}get destroyed(){return this._destroyed}}return c.\u0275fac=function(f){return new(f||c)(pi(zn))},c.\u0275prov=Ft({token:c,factory:c.\u0275fac}),c})();function mC(c,l){return Array.isArray(l)?l.reduce(mC,c):Object.assign(Object.assign({},c),l)}let Ws=(()=>{class c{constructor(f,p,m,_,y){this._zone=f,this._injector=p,this._exceptionHandler=m,this._componentFactoryResolver=_,this._initStatus=y,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const w=new I.y(D=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{D.next(this._stable),D.complete()})}),T=new I.y(D=>{let M;this._zone.runOutsideAngular(()=>{M=this._zone.onStable.subscribe(()=>{Xi.assertNotInAngularZone(),ar(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,D.next(!0))})})});const B=this._zone.onUnstable.subscribe(()=>{Xi.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{D.next(!1)}))});return()=>{M.unsubscribe(),B.unsubscribe()}});this.isStable=(0,L.T)(w,T.pipe((0,R.B)()))}bootstrap(f,p){if(!this._initStatus.done)throw new ie(405,"");let m;m=f instanceof u_?f:this._componentFactoryResolver.resolveComponentFactory(f),this.componentTypes.push(m.componentType);const _=function fC(c){return c.isBoundToModule}(m)?void 0:this._injector.get(Vs),w=m.create(zn.NULL,[],p||m.selector,_),T=w.location.nativeElement,D=w.injector.get(ty,null),M=D&&w.injector.get(iy);return D&&M&&M.registerApplication(T,D),w.onDestroy(()=>{this.detachView(w.hostView),qf(this.components,w),M&&M.unregisterApplication(T)}),this._loadComponent(w),w}tick(){if(this._runningTick)throw new ie(101,"");try{this._runningTick=!0;for(let f of this._views)f.detectChanges()}catch(f){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(f))}finally{this._runningTick=!1}}attachView(f){const p=f;this._views.push(p),p.attachToAppRef(this)}detachView(f){const p=f;qf(this._views,p),p.detachFromAppRef()}_loadComponent(f){this.attachView(f.hostView),this.tick(),this.components.push(f),this._injector.get(Ff,[]).concat(this._bootstrapListeners).forEach(m=>m(f))}ngOnDestroy(){this._views.slice().forEach(f=>f.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return c.\u0275fac=function(f){return new(f||c)(pi(Xi),pi(zn),pi(pl),pi(Ns),pi(jr))},c.\u0275prov=Ft({token:c,factory:c.\u0275fac}),c})();function qf(c,l){const f=c.indexOf(l);f>-1&&c.splice(f,1)}let Yf=!0;function ly(){Yf=!1}let _C=(()=>{class c{}return c.__NG_ELEMENT_ID__=yC,c})();function yC(c){return function wC(c,l,f){if(Ic(c)&&!f){const p=je(c.index,l);return new rt(p,p)}return 47&c.type?new rt(l[16],l):null}(Mt(),me(),16==(16&c))}class Xf{constructor(){}supports(l){return xr(l)}create(l){return new gy(l)}}const py=(c,l)=>l;class gy{constructor(l){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=l||py}forEachItem(l){let f;for(f=this._itHead;null!==f;f=f._next)l(f)}forEachOperation(l){let f=this._itHead,p=this._removalsHead,m=0,_=null;for(;f||p;){const y=!p||f&&f.currentIndex{y=this._trackByFn(m,w),null!==f&&Object.is(f.trackById,y)?(p&&(f=this._verifyReinsertion(f,w,y,m)),Object.is(f.item,w)||this._addIdentityChange(f,w)):(f=this._mismatch(f,w,y,m),p=!0),f=f._next,m++}),this.length=m;return this._truncate(f),this.collection=l,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let l;for(l=this._previousItHead=this._itHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._additionsHead;null!==l;l=l._nextAdded)l.previousIndex=l.currentIndex;for(this._additionsHead=this._additionsTail=null,l=this._movesHead;null!==l;l=l._nextMoved)l.previousIndex=l.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(l,f,p,m){let _;return null===l?_=this._itTail:(_=l._prev,this._remove(l)),null!==(l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(l.item,f)||this._addIdentityChange(l,f),this._reinsertAfter(l,_,m)):null!==(l=null===this._linkedRecords?null:this._linkedRecords.get(p,m))?(Object.is(l.item,f)||this._addIdentityChange(l,f),this._moveAfter(l,_,m)):l=this._addAfter(new my(f,p),_,m),l}_verifyReinsertion(l,f,p,m){let _=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==_?l=this._reinsertAfter(_,l._prev,m):l.currentIndex!=m&&(l.currentIndex=m,this._addToMoves(l,m)),l}_truncate(l){for(;null!==l;){const f=l._next;this._addToRemovals(this._unlink(l)),l=f}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(l,f,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(l);const m=l._prevRemoved,_=l._nextRemoved;return null===m?this._removalsHead=_:m._nextRemoved=_,null===_?this._removalsTail=m:_._prevRemoved=m,this._insertAfter(l,f,p),this._addToMoves(l,p),l}_moveAfter(l,f,p){return this._unlink(l),this._insertAfter(l,f,p),this._addToMoves(l,p),l}_addAfter(l,f,p){return this._insertAfter(l,f,p),this._additionsTail=null===this._additionsTail?this._additionsHead=l:this._additionsTail._nextAdded=l,l}_insertAfter(l,f,p){const m=null===f?this._itHead:f._next;return l._next=m,l._prev=f,null===m?this._itTail=l:m._prev=l,null===f?this._itHead=l:f._next=l,null===this._linkedRecords&&(this._linkedRecords=new Jf),this._linkedRecords.put(l),l.currentIndex=p,l}_remove(l){return this._addToRemovals(this._unlink(l))}_unlink(l){null!==this._linkedRecords&&this._linkedRecords.remove(l);const f=l._prev,p=l._next;return null===f?this._itHead=p:f._next=p,null===p?this._itTail=f:p._prev=f,l}_addToMoves(l,f){return l.previousIndex===f||(this._movesTail=null===this._movesTail?this._movesHead=l:this._movesTail._nextMoved=l),l}_addToRemovals(l){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Jf),this._unlinkedRecords.put(l),l.currentIndex=null,l._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=l,l._prevRemoved=null):(l._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=l),l}_addIdentityChange(l,f){return l.item=f,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=l:this._identityChangesTail._nextIdentityChange=l,l}}class my{constructor(l,f){this.item=l,this.trackById=f,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class _y{constructor(){this._head=null,this._tail=null}add(l){null===this._head?(this._head=this._tail=l,l._nextDup=null,l._prevDup=null):(this._tail._nextDup=l,l._prevDup=this._tail,l._nextDup=null,this._tail=l)}get(l,f){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===f||f<=p.currentIndex)&&Object.is(p.trackById,l))return p;return null}remove(l){const f=l._prevDup,p=l._nextDup;return null===f?this._head=p:f._nextDup=p,null===p?this._tail=f:p._prevDup=f,null===this._head}}class Jf{constructor(){this.map=new Map}put(l){const f=l.trackById;let p=this.map.get(f);p||(p=new _y,this.map.set(f,p)),p.add(l)}get(l,f){const m=this.map.get(l);return m?m.get(l,f):null}remove(l){const f=l.trackById;return this.map.get(f).remove(l)&&this.map.delete(f),l}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ep(c,l,f){const p=c.previousIndex;if(null===p)return p;let m=0;return f&&p{if(f&&f.key===m)this._maybeAddToChanges(f,p),this._appendAfter=f,f=f._next;else{const _=this._getOrCreateRecordForKey(m,p);f=this._insertBeforeOrAppend(f,_)}}),f){f._prev&&(f._prev._next=null),this._removalsHead=f;for(let p=f;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(l,f){if(l){const p=l._prev;return f._next=l,f._prev=p,l._prev=f,p&&(p._next=f),l===this._mapHead&&(this._mapHead=f),this._appendAfter=l,l}return this._appendAfter?(this._appendAfter._next=f,f._prev=this._appendAfter):this._mapHead=f,this._appendAfter=f,null}_getOrCreateRecordForKey(l,f){if(this._records.has(l)){const m=this._records.get(l);this._maybeAddToChanges(m,f);const _=m._prev,y=m._next;return _&&(_._next=y),y&&(y._prev=_),m._next=null,m._prev=null,m}const p=new wy(l);return this._records.set(l,p),p.currentValue=f,this._addToAdditions(p),p}_reset(){if(this.isDirty){let l;for(this._previousMapHead=this._mapHead,l=this._previousMapHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._changesHead;null!==l;l=l._nextChanged)l.previousValue=l.currentValue;for(l=this._additionsHead;null!=l;l=l._nextAdded)l.previousValue=l.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(l,f){Object.is(f,l.currentValue)||(l.previousValue=l.currentValue,l.currentValue=f,this._addToChanges(l))}_addToAdditions(l){null===this._additionsHead?this._additionsHead=this._additionsTail=l:(this._additionsTail._nextAdded=l,this._additionsTail=l)}_addToChanges(l){null===this._changesHead?this._changesHead=this._changesTail=l:(this._changesTail._nextChanged=l,this._changesTail=l)}_forEach(l,f){l instanceof Map?l.forEach(f):Object.keys(l).forEach(p=>f(l[p],p))}}class wy{constructor(l){this.key=l,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function tp(){return new mc([new Xf])}let mc=(()=>{class c{constructor(f){this.factories=f}static create(f,p){if(null!=p){const m=p.factories.slice();f=f.concat(m)}return new c(f)}static extend(f){return{provide:c,useFactory:p=>c.create(f,p||tp()),deps:[[c,new ma,new hs]]}}find(f){const p=this.factories.find(m=>m.supports(f));if(null!=p)return p;throw new ie(901,"")}}return c.\u0275prov=Ft({token:c,providedIn:"root",factory:tp}),c})();function ip(){return new _c([new gc])}let _c=(()=>{class c{constructor(f){this.factories=f}static create(f,p){if(p){const m=p.factories.slice();f=f.concat(m)}return new c(f)}static extend(f){return{provide:c,useFactory:p=>c.create(f,p||ip()),deps:[[c,new ma,new hs]]}}find(f){const p=this.factories.find(_=>_.supports(f));if(p)return p;throw new ie(901,"")}}return c.\u0275prov=Ft({token:c,providedIn:"root",factory:ip}),c})();const np=[new gc],op=new mc([new Xf]),vy=new _c(np),Ay=ry(null,"core",[{provide:Fu,useValue:"unknown"},{provide:Uf,deps:[zn]},{provide:iy,deps:[]},{provide:W_,deps:[]}]),Ey=[{provide:Ws,useClass:Ws,deps:[Xi,zn,pl,Ns,jr]},{provide:m_,deps:[Xi],useFactory:function io(c){let l=[];return c.onStable.subscribe(()=>{for(;l.length;)l.pop()()}),function(f){l.push(f)}}},{provide:jr,useClass:jr,deps:[[new hs,Of]]},{provide:Lf,useClass:Lf,deps:[]},cC,{provide:mc,useFactory:function rp(){return op},deps:[]},{provide:_c,useFactory:function Vu(){return vy},deps:[]},{provide:Lu,useFactory:function Cy(c){return c||function Ty(){return"undefined"!=typeof $localize&&$localize.locale||au}()},deps:[[new tl(Lu),new hs,new ma]]},{provide:Y_,useValue:"USD"}];let Pi=(()=>{class c{constructor(f){}}return c.\u0275fac=function(f){return new(f||c)(pi(Ws))},c.\u0275mod=fr({type:c}),c.\u0275inj=kn({providers:Ey}),c})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(6227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class N extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return N.\u0275fac=function(){let U;return function(b){return(U||(U=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(N)))(b||N)}}(),N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class N{constructor(){this.data=new Map}getItem(v){return this.data.get(v)}removeItem(v){this.data.delete(v)}setItem(v,b){this.data.set(v,b)}}return N.\u0275fac=function(v){return new(v||N)},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class ReceivedTokens{}class OAuthEvent{constructor(U){this.type=U}}class OAuthSuccessEvent extends OAuthEvent{constructor(U,v=null){super(U),this.info=v}}class OAuthInfoEvent extends OAuthEvent{constructor(U,v=null){super(U),this.info=v}}class OAuthErrorEvent extends OAuthEvent{constructor(U,v,b=null){super(U),this.reason=v,this.params=b}}function b64DecodeUnicode(N){const U=N.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(U).split("").map(function(v){return"%"+("00"+v.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(N){return btoa(N).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(U){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=v=>{location.href=v},U&&Object.assign(this,U)}}class WebHttpUrlEncodingCodec{encodeKey(U){return encodeURIComponent(U)}encodeValue(U){return encodeURIComponent(U)}decodeKey(U){return decodeURIComponent(U)}decodeValue(U){return decodeURIComponent(U)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(U){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let v=this.inferHashAlgorithm(U.idTokenHeader),b=yield this.calcHash(U.accessToken,v),I=base64UrlEncode(b.substr(0,b.length/2)),L=U.idTokenClaims.at_hash.replace(/=/g,"");return I!==L&&(console.error("exptected at_hash: "+I),console.error("actual at_hash: "+L)),I===L})}inferHashAlgorithm(U){let v=U.alg;if(!v.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+v);return"sha-"+v.substr(2)}}let UrlHelperService=(()=>{class N{getHashFragmentParams(v){let b=v||window.location.hash;if(b=decodeURIComponent(b),0!==b.indexOf("#"))return{};const u=b.indexOf("?");return b=b.substr(u>-1?u+1:1),this.parseQueryString(b)}parseQueryString(v){const b={};let u,I,L,R,O,$,G;if(null===v)return b;u=v.split("&");for(let j=0;j>6,I[R++]=128|63&O):O<55296||O>=57344?(I[R++]=224|O>>12,I[R++]=128|O>>6&63,I[R++]=128|63&O):(O=65536+((1023&O)<<10|1023&N.charCodeAt(++b)),I[R++]=240|O>>18,I[R++]=128|O>>12&63,I[R++]=128|O>>6&63,I[R++]=128|63&O);N=I}else{if("object"!==u)throw new Error(ERROR);if(null===N)throw new Error(ERROR);if(ARRAY_BUFFER&&N.constructor===ArrayBuffer)N=new Uint8Array(N);else if(!(Array.isArray(N)||ARRAY_BUFFER&&ArrayBuffer.isView(N)))throw new Error(ERROR)}N.length>64&&(N=new Sha256(U,!0).update(N).array());var $=[],G=[];for(b=0;b<64;++b){var j=N[b]||0;$[b]=92^j,G[b]=54^j}Sha256.call(this,U,v),this.update(G),this.oKeyPad=$,this.inner=!0,this.sharedMemory=v}Sha256.prototype.update=function(N){if(!this.finalized){var U,v=typeof N;if("string"!==v){if("object"!==v)throw new Error(ERROR);if(null===N)throw new Error(ERROR);if(ARRAY_BUFFER&&N.constructor===ArrayBuffer)N=new Uint8Array(N);else if(!(Array.isArray(N)||ARRAY_BUFFER&&ArrayBuffer.isView(N)))throw new Error(ERROR);U=!0}for(var b,I,u=0,L=N.length,R=this.blocks;u>2]|=N[u]<>2]|=b<>2]|=(192|b>>6)<>2]|=(128|63&b)<=57344?(R[I>>2]|=(224|b>>12)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<>2]|=(240|b>>18)<>2]|=(128|b>>12&63)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<=64?(this.block=R[16],this.start=I-64,this.hash(),this.hashed=!0):this.start=I}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var N=this.blocks,U=this.lastByteIndex;N[16]=this.block,N[U>>2]|=EXTRA[3&U],this.block=N[16],U>=56&&(this.hashed||this.hash(),N[0]=this.block,N[16]=N[1]=N[2]=N[3]=N[4]=N[5]=N[6]=N[7]=N[8]=N[9]=N[10]=N[11]=N[12]=N[13]=N[14]=N[15]=0),N[14]=this.hBytes<<3|this.bytes>>>29,N[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var $,F,J,ie,ee,re,N=this.h0,U=this.h1,v=this.h2,b=this.h3,u=this.h4,I=this.h5,L=this.h6,R=this.h7,O=this.blocks;for($=16;$<64;++$)O[$]=O[$-16]+(((F=O[$-15])>>>7|F<<25)^(F>>>18|F<<14)^F>>>3)+O[$-7]+(((F=O[$-2])>>>17|F<<15)^(F>>>19|F<<13)^F>>>10)<<0;for(re=U&v,$=0;$<64;$+=4)this.first?(this.is224?(J=300032,R=(F=O[0]-1413257819)-150054599<<0,b=F+24177077<<0):(J=704751109,R=(F=O[0]-210244248)-1521486534<<0,b=F+143694565<<0),this.first=!1):(R=b+(F=R+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&I^~u&L)+K[$]+O[$])<<0,b=F+(((N>>>2|N<<30)^(N>>>13|N<<19)^(N>>>22|N<<10))+((J=N&U)^N&v^re))<<0),L=v+(F=L+((R>>>6|R<<26)^(R>>>11|R<<21)^(R>>>25|R<<7))+(R&u^~R&I)+K[$+1]+O[$+1])<<0,v=F+(((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+((ie=b&N)^b&U^J))<<0,I=U+(F=I+((L>>>6|L<<26)^(L>>>11|L<<21)^(L>>>25|L<<7))+(L&R^~L&u)+K[$+2]+O[$+2])<<0,U=F+(((v>>>2|v<<30)^(v>>>13|v<<19)^(v>>>22|v<<10))+((ee=v&b)^v&N^ie))<<0,u=N+(F=u+((I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7))+(I&L^~I&R)+K[$+3]+O[$+3])<<0,N=F+(((U>>>2|U<<30)^(U>>>13|U<<19)^(U>>>22|U<<10))+((re=U&v)^U&b^ee))<<0;this.h0=this.h0+N<<0,this.h1=this.h1+U<<0,this.h2=this.h2+v<<0,this.h3=this.h3+b<<0,this.h4=this.h4+u<<0,this.h5=this.h5+I<<0,this.h6=this.h6+L<<0,this.h7=this.h7+R<<0},Sha256.prototype.hex=function(){this.finalize();var N=this.h0,U=this.h1,v=this.h2,b=this.h3,u=this.h4,I=this.h5,L=this.h6,R=this.h7,O=HEX_CHARS[N>>28&15]+HEX_CHARS[N>>24&15]+HEX_CHARS[N>>20&15]+HEX_CHARS[N>>16&15]+HEX_CHARS[N>>12&15]+HEX_CHARS[N>>8&15]+HEX_CHARS[N>>4&15]+HEX_CHARS[15&N]+HEX_CHARS[U>>28&15]+HEX_CHARS[U>>24&15]+HEX_CHARS[U>>20&15]+HEX_CHARS[U>>16&15]+HEX_CHARS[U>>12&15]+HEX_CHARS[U>>8&15]+HEX_CHARS[U>>4&15]+HEX_CHARS[15&U]+HEX_CHARS[v>>28&15]+HEX_CHARS[v>>24&15]+HEX_CHARS[v>>20&15]+HEX_CHARS[v>>16&15]+HEX_CHARS[v>>12&15]+HEX_CHARS[v>>8&15]+HEX_CHARS[v>>4&15]+HEX_CHARS[15&v]+HEX_CHARS[b>>28&15]+HEX_CHARS[b>>24&15]+HEX_CHARS[b>>20&15]+HEX_CHARS[b>>16&15]+HEX_CHARS[b>>12&15]+HEX_CHARS[b>>8&15]+HEX_CHARS[b>>4&15]+HEX_CHARS[15&b]+HEX_CHARS[u>>28&15]+HEX_CHARS[u>>24&15]+HEX_CHARS[u>>20&15]+HEX_CHARS[u>>16&15]+HEX_CHARS[u>>12&15]+HEX_CHARS[u>>8&15]+HEX_CHARS[u>>4&15]+HEX_CHARS[15&u]+HEX_CHARS[I>>28&15]+HEX_CHARS[I>>24&15]+HEX_CHARS[I>>20&15]+HEX_CHARS[I>>16&15]+HEX_CHARS[I>>12&15]+HEX_CHARS[I>>8&15]+HEX_CHARS[I>>4&15]+HEX_CHARS[15&I]+HEX_CHARS[L>>28&15]+HEX_CHARS[L>>24&15]+HEX_CHARS[L>>20&15]+HEX_CHARS[L>>16&15]+HEX_CHARS[L>>12&15]+HEX_CHARS[L>>8&15]+HEX_CHARS[L>>4&15]+HEX_CHARS[15&L];return this.is224||(O+=HEX_CHARS[R>>28&15]+HEX_CHARS[R>>24&15]+HEX_CHARS[R>>20&15]+HEX_CHARS[R>>16&15]+HEX_CHARS[R>>12&15]+HEX_CHARS[R>>8&15]+HEX_CHARS[R>>4&15]+HEX_CHARS[15&R]),O},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var N=this.h0,U=this.h1,v=this.h2,b=this.h3,u=this.h4,I=this.h5,L=this.h6,R=this.h7,O=[N>>24&255,N>>16&255,N>>8&255,255&N,U>>24&255,U>>16&255,U>>8&255,255&U,v>>24&255,v>>16&255,v>>8&255,255&v,b>>24&255,b>>16&255,b>>8&255,255&b,u>>24&255,u>>16&255,u>>8&255,255&u,I>>24&255,I>>16&255,I>>8&255,255&I,L>>24&255,L>>16&255,L>>8&255,255&L];return this.is224||O.push(R>>24&255,R>>16&255,R>>8&255,255&R),O},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var N=new ArrayBuffer(this.is224?28:32),U=new DataView(N);return U.setUint32(0,this.h0),U.setUint32(4,this.h1),U.setUint32(8,this.h2),U.setUint32(12,this.h3),U.setUint32(16,this.h4),U.setUint32(20,this.h5),U.setUint32(24,this.h6),this.is224||U.setUint32(28,this.h7),N},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var N=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(N),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(N){if("string"!=typeof N)throw new TypeError("expected string");var U,v=N,b=new Uint8Array(v.length);for(U=0;U{class N{calcHash(v,b){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(v)))})}toHashString2(v){let b="";for(let u of v)b+=String.fromCharCode(u);return b}toHashString(v){const b=new Uint8Array(v);let u="";for(let I of b)u+=String.fromCharCode(I);return u}}return N.\u0275fac=function(v){return new(v||N)},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})(),OAuthService=(()=>{class N extends AuthConfig{constructor(v,b,u,I,L,R,O,$,G,j){var z;super(),this.ngZone=v,this.http=b,this.config=L,this.urlHelper=R,this.logger=O,this.crypto=$,this.dateTimeService=j,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=G,L||(L={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),I&&(this.tokenValidationHandler=I),L&&this.configure(L);try{u?this.setStorage(u):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(F){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",F)}if(this.checkLocalStorageAccessable()){const F=null===(z=null==window?void 0:window.navigator)||void 0===z?void 0:z.userAgent;((null==F?void 0:F.includes("MSIE "))||(null==F?void 0:F.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const v="test";try{return void 0!==window.localStorage&&(localStorage.setItem(v,v),localStorage.removeItem(v),!0)}catch(b){return!1}}configure(v){Object.assign(this,new AuthConfig,v),this.config=Object.assign({},new AuthConfig,v),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_received"===v.type)).subscribe(v=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(v={},b,u=!0){let I=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(L=>{"token_received"===L.type?I=!0:"logout"===L.type&&(I=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(L=>"token_expires"===L.type&&(null==b||"any"===b||L.info===b)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(L=>{I&&this.refreshInternal(v,u).catch(R=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(v,b){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(v,b):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(v=null){return this.loadDiscoveryDocument().then(b=>this.tryLogin(v))}loadDiscoveryDocumentAndLogin(v=null){return this.loadDiscoveryDocumentAndTryLogin(v=v||{}).then(b=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof v.state?v.state:""),!1))}debug(...v){this.showDebugInformation&&this.logger.debug.apply(this.logger,v)}validateUrlFromDiscoveryDocument(v){const b=[],u=this.validateUrlForHttps(v),I=this.validateUrlAgainstIssuer(v);return u||b.push("https for all urls required. Also for urls received by discovery."),I||b.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),b}validateUrlForHttps(v){if(!v)return!0;const b=v.toLowerCase();return!(!1!==this.requireHttps&&(!b.match(/^http:\/\/localhost($|[:\/])/)&&!b.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||b.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(v,b){if(!v)throw new Error(`'${b}' should not be null`);if(!this.validateUrlForHttps(v))throw new Error(`'${b}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(v){return!this.strictDiscoveryDocumentValidation||!v||v.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_received"===v.type)).subscribe(v=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const v=this.getAccessTokenExpiration(),b=this.getAccessTokenStoredAt(),u=this.calcTimeout(b,v);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(u)).subscribe(I=>{this.ngZone.run(()=>{this.eventsSubject.next(I)})})})}setupIdTokenTimer(){const v=this.getIdTokenExpiration(),b=this.getIdTokenStoredAt(),u=this.calcTimeout(b,v);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(u)).subscribe(I=>{this.ngZone.run(()=>{this.eventsSubject.next(I)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(v,b){const u=this.dateTimeService.now();return Math.max(0,(b-v)*this.timeoutFactor-(u-v))}setStorage(v){this._storage=v,this.configChanged()}loadDiscoveryDocument(v=null){return new Promise((b,u)=>{v||((v=this.issuer||"").endsWith("/")||(v+="/"),v+=".well-known/openid-configuration"),this.validateUrlForHttps(v)?this.http.get(v).subscribe(I=>{if(!this.validateDiscoveryDocument(I))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void u("discovery_document_validation_error");this.loginUrl=I.authorization_endpoint,this.logoutUrl=I.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=I.grant_types_supported,this.issuer=I.issuer,this.tokenEndpoint=I.token_endpoint,this.userinfoEndpoint=I.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=I.jwks_uri,this.sessionCheckIFrameUrl=I.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(I),this.revocationEndpoint=I.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(L=>{const O=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:I,jwks:L});this.eventsSubject.next(O),b(O)}).catch(L=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",L)),u(L)})},I=>{this.logger.error("error loading discovery document",I),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",I)),u(I)}):u("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((v,b)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(u=>{this.jwks=u,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),v(u)},u=>{this.logger.error("error loading jwks",u),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",u)),b(u)}):v(null)})}validateDiscoveryDocument(v){let b;return this.skipIssuerCheck||v.issuer===this.issuer?(b=this.validateUrlFromDiscoveryDocument(v.authorization_endpoint),b.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(v.end_session_endpoint),b.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(v.token_endpoint),b.length>0&&this.logger.error("error validating token_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(v.revocation_endpoint),b.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(v.userinfo_endpoint),b.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(v.jwks_uri),b.length>0?(this.logger.error("error validating jwks_uri in discovery document",b),!1):(this.sessionChecksEnabled&&!v.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+v.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(v,b,u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(v,b,u).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((v,b)=>{const u=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:u,observe:"response",responseType:"text"}).subscribe(I=>{if(this.debug("userinfo received",JSON.stringify(I)),I.headers.get("content-type").startsWith("application/json")){let L=JSON.parse(I.body);const R=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!R.sub||L.sub!==R.sub))return void b("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");L=Object.assign({},R,L),this._storage.setItem("id_token_claims_obj",JSON.stringify(L)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),v({info:L})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),v(JSON.parse(I.body))},I=>{this.logger.error("error loading user info",I),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",I)),b(I)})})}fetchTokenUsingPasswordFlow(v,b,u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:v,password:b},u)}fetchTokenUsingGrant(v,b,u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let I=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",v).set("scope",this.scope);if(this.useHttpBasicAuth){const L=btoa(`${this.clientId}:${this.dummyClientSecret}`);u=u.set("Authorization","Basic "+L)}if(this.useHttpBasicAuth||(I=I.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(I=I.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const L of Object.getOwnPropertyNames(this.customQueryParams))I=I.set(L,this.customQueryParams[L]);for(const L of Object.keys(b))I=I.set(L,b[L]);return u=u.set("Content-Type","application/x-www-form-urlencoded"),new Promise((L,R)=>{this.http.post(this.tokenEndpoint,I,{headers:u}).subscribe(O=>{this.debug("tokenResponse",O),this.storeAccessTokenResponse(O.access_token,O.refresh_token,O.expires_in||this.fallbackAccessTokenExpirationTimeInSec,O.scope,this.extractRecognizedCustomParameters(O)),this.oidc&&O.id_token&&this.processIdToken(O.id_token,O.access_token).then($=>{this.storeIdToken($),L(O)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),L(O)},O=>{this.logger.error("Error performing ${grantType} flow",O),this.eventsSubject.next(new OAuthErrorEvent("token_error",O)),R(O)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((v,b)=>{let u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),I=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const L=btoa(`${this.clientId}:${this.dummyClientSecret}`);I=I.set("Authorization","Basic "+L)}if(this.useHttpBasicAuth||(u=u.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(u=u.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const L of Object.getOwnPropertyNames(this.customQueryParams))u=u.set(L,this.customQueryParams[L]);this.http.post(this.tokenEndpoint,u,{headers:I}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(L=>L.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(L.id_token,L.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(R=>this.storeIdToken(R)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(R=>L)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(L))).subscribe(L=>{this.debug("refresh tokenResponse",L),this.storeAccessTokenResponse(L.access_token,L.refresh_token,L.expires_in||this.fallbackAccessTokenExpirationTimeInSec,L.scope,this.extractRecognizedCustomParameters(L)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),v(L)},L=>{this.logger.error("Error refreshing token",L),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",L)),b(L)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=v=>{const b=this.processMessageEventMessage(v);this.tryLogin({customHashFragment:b,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(u=>this.debug("tryLogin during silent refresh failed",u))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(v={},b=!0){const u=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(v.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const I=this.document.getElementById(this.silentRefreshIFrameName);I&&this.document.body.removeChild(I),this.silentRefreshSubject=u.sub;const L=this.document.createElement("iframe");L.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,b,v).then(j=>{L.setAttribute("src",j),this.silentRefreshShowIFrame||(L.style.display="none"),this.document.body.appendChild(L)});const O=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(j=>j instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),$=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(j=>"token_received"===j.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),G=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([O,$,G]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(j=>{if(j instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===j.type||(j=new OAuthErrorEvent("silent_refresh_error",j)),this.eventsSubject.next(j),j;return"token_received"===j.type&&(j=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(j)),j})).toPromise()}initImplicitFlowInPopup(v){return this.initLoginFlowInPopup(v)}initLoginFlowInPopup(v){return v=v||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(b=>new Promise((u,I)=>{let O,R=null;v.windowRef?v.windowRef&&!v.windowRef.closed&&(R=v.windowRef,R.location.href=b):R=window.open(b,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(v));const $=V=>{this.tryLogin({customHashFragment:V,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{j(),u(!0)},q=>{j(),I(q)})};R?O=window.setInterval(()=>{(!R||R.closed)&&(j(),I(new OAuthErrorEvent("popup_closed",{})))},500):I(new OAuthErrorEvent("popup_blocked",{}));const j=()=>{window.clearInterval(O),window.removeEventListener("storage",F),window.removeEventListener("message",z),null!==R&&R.close(),R=null},z=V=>{const q=this.processMessageEventMessage(V);q&&null!==q?(window.removeEventListener("storage",F),$(q)):console.log("false event firing")},F=V=>{"auth_hash"===V.key&&(window.removeEventListener("message",z),$(V.newValue))};window.addEventListener("message",z),window.addEventListener("storage",F)}))}calculatePopupFeatures(v){const b=v.height||470,u=v.width||500,I=window.screenLeft+(window.outerWidth-u)/2;return`location=no,toolbar=no,width=${u},height=${b},top=${window.screenTop+(window.outerHeight-b)/2},left=${I}`}processMessageEventMessage(v){let b="#";if(this.silentRefreshMessagePrefix&&(b+=this.silentRefreshMessagePrefix),!v||!v.data||"string"!=typeof v.data)return;const u=v.data;return u.startsWith(b)?"#"+u.substr(b.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=v=>{const b=v.origin.toLowerCase(),u=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),u.startsWith(b)){switch(v.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",v)}else this.debug("sessionCheckEventListener","wrong origin",b,"expected",u,"event",v)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(v=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(v=>{this.debug("token refresh after session change worked")}).catch(v=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"silently_refreshed"===v.type||"silent_refresh_timeout"===v.type||"silent_refresh_error"===v.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(v=>{"silently_refreshed"!==v.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const v=this.document.getElementById(this.sessionCheckIFrameName);v&&this.document.body.removeChild(v);const b=this.document.createElement("iframe");b.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),b.setAttribute("src",this.sessionCheckIFrameUrl),b.style.display="none",this.document.body.appendChild(b),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const v=this.document.getElementById(this.sessionCheckIFrameName);v||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const b=this.getSessionState();b||this.stopSessionCheckTimer(),v.contentWindow.postMessage(this.clientId+" "+b,this.issuer)}createLoginUrl(v="",b="",u="",I=!1,L={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const R=this;let O;O=u||this.redirectUri;const $=yield this.createAndSaveNonce();if(v=v?$+this.config.nonceStateSeparator+encodeURIComponent(v):$,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const G=R.loginUrl.indexOf("?")>-1?"&":"?";let j=R.scope;this.oidc&&!j.match(/(^|\s)openid($|\s)/)&&(j="openid "+j);let z=R.loginUrl+G+"response_type="+encodeURIComponent(R.responseType)+"&client_id="+encodeURIComponent(R.clientId)+"&state="+encodeURIComponent(v)+"&redirect_uri="+encodeURIComponent(O)+"&scope="+encodeURIComponent(j);if(this.responseType.includes("code")&&!this.disablePKCE){const[F,V]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",V):this._storage.setItem("PKCE_verifier",V),z+="&code_challenge="+F,z+="&code_challenge_method=S256"}b&&(z+="&login_hint="+encodeURIComponent(b)),R.resource&&(z+="&resource="+encodeURIComponent(R.resource)),R.oidc&&(z+="&nonce="+encodeURIComponent($)),I&&(z+="&prompt=none");for(const F of Object.keys(L))z+="&"+encodeURIComponent(F)+"="+encodeURIComponent(L[F]);if(this.customQueryParams)for(const F of Object.getOwnPropertyNames(this.customQueryParams))z+="&"+F+"="+encodeURIComponent(this.customQueryParams[F]);return z})}initImplicitFlowInternal(v="",b=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let u={},I=null;"string"==typeof b?I=b:"object"==typeof b&&(u=b),this.createLoginUrl(v,I,null,!1,u).then(this.config.openUri).catch(L=>{console.error("Error in initImplicitFlow",L),this.inImplicitFlow=!1})}initImplicitFlow(v="",b=""){""!==this.loginUrl?this.initImplicitFlowInternal(v,b):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(u=>"discovery_document_loaded"===u.type)).subscribe(u=>this.initImplicitFlowInternal(v,b))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(v){const b=this;if(v.onTokenReceived){const u={idClaims:b.getIdentityClaims(),idToken:b.getIdToken(),accessToken:b.getAccessToken(),state:b.state};v.onTokenReceived(u)}}storeAccessTokenResponse(v,b,u,I,L){if(this._storage.setItem("access_token",v),I&&!Array.isArray(I)?this._storage.setItem("granted_scopes",JSON.stringify(I.split(" "))):I&&Array.isArray(I)&&this._storage.setItem("granted_scopes",JSON.stringify(I)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),u){const R=1e3*u,$=this.dateTimeService.new().getTime()+R;this._storage.setItem("expires_at",""+$)}b&&this._storage.setItem("refresh_token",b),L&&L.forEach((R,O)=>{this._storage.setItem(O,R)})}tryLogin(v=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(v).then(b=>!0):this.tryLoginImplicitFlow(v)}parseQueryString(v){return v&&0!==v.length?("?"===v.charAt(0)&&(v=v.substr(1)),this.urlHelper.parseQueryString(v)):{}}tryLoginCodeFlow(v=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const b=(v=v||{}).customHashFragment?v.customHashFragment.substring(1):window.location.search,u=this.getCodePartsFromUrl(b),I=u.code,L=u.state,R=u.session_state;if(!v.preventClearHashAfterLogin){const G=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,G)}let[O,$]=this.parseState(L);if(this.state=$,u.error){this.debug("error trying to login"),this.handleLoginError(v,u);const G=new OAuthErrorEvent("code_error",{},u);return this.eventsSubject.next(G),Promise.reject(G)}if(!v.disableNonceCheck){if(!O)return this.saveRequestedRoute(),Promise.resolve();if(!v.disableOAuth2StateCheck&&!this.validateNonce(O)){const j=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(j),Promise.reject(j)}return this.storeSessionState(R),I&&(yield this.getTokenFromCode(I,v),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const v=this._storage.getItem("requested_route");v&&history.replaceState(null,"",window.location.origin+v)}getCodePartsFromUrl(v){return v&&0!==v.length?("?"===v.charAt(0)&&(v=v.substr(1)),this.urlHelper.parseQueryString(v)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(v,b){let u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",v).set("redirect_uri",b.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let I;I=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),I?u=u.set("code_verifier",I):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(u,b)}fetchAndProcessToken(v,b){b=b||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let u=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const I=btoa(`${this.clientId}:${this.dummyClientSecret}`);u=u.set("Authorization","Basic "+I)}return this.useHttpBasicAuth||(v=v.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(v=v.set("client_secret",this.dummyClientSecret)),new Promise((I,L)=>{if(this.customQueryParams)for(let R of Object.getOwnPropertyNames(this.customQueryParams))v=v.set(R,this.customQueryParams[R]);this.http.post(this.tokenEndpoint,v,{headers:u}).subscribe(R=>{this.debug("refresh tokenResponse",R),this.storeAccessTokenResponse(R.access_token,R.refresh_token,R.expires_in||this.fallbackAccessTokenExpirationTimeInSec,R.scope,this.extractRecognizedCustomParameters(R)),this.oidc&&R.id_token?this.processIdToken(R.id_token,R.access_token,b.disableNonceCheck).then(O=>{this.storeIdToken(O),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),I(R)}).catch(O=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",O)),console.error("Error validating tokens"),console.error(O),L(O)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),I(R))},R=>{console.error("Error getting token",R),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",R)),L(R)})})}tryLoginImplicitFlow(v=null){let b;b=(v=v||{}).customHashFragment?this.urlHelper.getHashFragmentParams(v.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",b);const u=b.state;let[I,L]=this.parseState(u);if(this.state=L,b.error){this.debug("error trying to login"),this.handleLoginError(v,b);const j=new OAuthErrorEvent("token_error",{},b);return this.eventsSubject.next(j),Promise.reject(j)}const R=b.access_token,O=b.id_token,$=b.session_state,G=b.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!R||this.requestAccessToken&&!v.disableOAuth2StateCheck&&!u||this.oidc&&!O)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!$&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!v.disableNonceCheck&&!this.validateNonce(I)){const z=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(z),Promise.reject(z)}return this.requestAccessToken&&this.storeAccessTokenResponse(R,null,b.expires_in||this.fallbackAccessTokenExpirationTimeInSec,G),this.oidc?this.processIdToken(O,R,v.disableNonceCheck).then(j=>v.validationHandler?v.validationHandler({accessToken:R,idClaims:j.idTokenClaims,idToken:j.idToken,state:u}).then(z=>j):j).then(j=>(this.storeIdToken(j),this.storeSessionState($),this.clearHashAfterLogin&&!v.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(v),this.inImplicitFlow=!1,!0)).catch(j=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",j)),this.logger.error("Error validating tokens"),this.logger.error(j),Promise.reject(j))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!v.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(v),Promise.resolve(!0))}parseState(v){let b=v,u="";if(v){const I=v.indexOf(this.config.nonceStateSeparator);I>-1&&(b=v.substr(0,I),u=v.substr(I+this.config.nonceStateSeparator.length))}return[b,u]}validateNonce(v){let b;return b=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),b===v||(console.error("Validating access_token failed, wrong state/nonce.",b,v),!1)}storeIdToken(v){this._storage.setItem("id_token",v.idToken),this._storage.setItem("id_token_claims_obj",v.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+v.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(v){this._storage.setItem("session_state",v)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(v,b){v.onLoginError&&v.onLoginError(b),this.clearHashAfterLogin&&!v.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(v=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:v}processIdToken(v,b,u=!1){const I=v.split("."),R=b64DecodeUnicode(this.padBase64(I[0])),O=JSON.parse(R),G=b64DecodeUnicode(this.padBase64(I[1])),j=JSON.parse(G);let z;if(z=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(j.aud)){if(j.aud.every(ee=>ee!==this.clientId)){const ee="Wrong audience: "+j.aud.join(",");return this.logger.warn(ee),Promise.reject(ee)}}else if(j.aud!==this.clientId){const ee="Wrong audience: "+j.aud;return this.logger.warn(ee),Promise.reject(ee)}if(!j.sub){const ee="No sub claim in id_token";return this.logger.warn(ee),Promise.reject(ee)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==j.sub){const ee=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${j.sub}`;return this.logger.warn(ee),Promise.reject(ee)}if(!j.iat){const ee="No iat claim in id_token";return this.logger.warn(ee),Promise.reject(ee)}if(!this.skipIssuerCheck&&j.iss!==this.issuer){const ee="Wrong issuer: "+j.iss;return this.logger.warn(ee),Promise.reject(ee)}if(!u&&j.nonce!==z){const ee="Wrong nonce: "+j.nonce;return this.logger.warn(ee),Promise.reject(ee)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!j.at_hash){const ee="An at_hash is needed!";return this.logger.warn(ee),Promise.reject(ee)}const F=this.dateTimeService.now(),V=1e3*j.iat,q=1e3*j.exp,J=this.getClockSkewInMsec();if(V-J>=F||q+J<=F){const ee="Token has expired";return console.error(ee),console.error({now:F,issuedAtMSec:V,expiresAtMSec:q}),Promise.reject(ee)}const ie={accessToken:b,idToken:v,jwks:this.jwks,idTokenClaims:j,idTokenHeader:O,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ie).then(ee=>({idToken:v,idTokenClaims:j,idTokenClaimsJson:G,idTokenHeader:O,idTokenHeaderJson:R,idTokenExpiresAt:q})):this.checkAtHash(ie).then(ee=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ee){const re="Wrong at_hash";return this.logger.warn(re),Promise.reject(re)}return this.checkSignature(ie).then(re=>{const Ae={idToken:v,idTokenClaims:j,idTokenClaimsJson:G,idTokenHeader:O,idTokenHeaderJson:R,idTokenExpiresAt:q};return this.disableAtHashCheck?Ae:this.checkAtHash(ie).then(He=>{if(this.requestAccessToken&&!He){const pt="Wrong at_hash";return this.logger.warn(pt),Promise.reject(pt)}return Ae})})})}getIdentityClaims(){const v=this._storage.getItem("id_token_claims_obj");return v?JSON.parse(v):null}getGrantedScopes(){const v=this._storage.getItem("granted_scopes");return v?JSON.parse(v):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(v){for(;v.length%4!=0;)v+="=";return v}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const v=this._storage.getItem("expires_at"),b=this.dateTimeService.new();return!(v&&parseInt(v,10)=0&&null!==this._storage.getItem(v)?JSON.parse(this._storage.getItem(v)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(v={},b=""){let u=!1;"boolean"==typeof v&&(u=v,v={});const I=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(R=>this._storage.removeItem(R)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||u||!I&&!this.postLogoutRedirectUri)return;let L;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)L=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(I)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let R=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});I&&(R=R.set("id_token_hint",I));const O=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";O&&(R=R.set("post_logout_redirect_uri",O),b&&(R=R.set("state",b)));for(let $ in v)R=R.set($,v[$]);L=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+R.toString()}this.config.openUri(L)}createAndSaveNonce(){const v=this;return this.createNonce().then(function(b){return v.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",b):v._storage.setItem("nonce",b),b})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const v=this.document.getElementById(this.silentRefreshIFrameName);v&&v.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const b=this.document.getElementById(this.sessionCheckIFrameName);b&&b.remove()}createNonce(){return new Promise(v=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let u=45,I="";const L="undefined"==typeof self?null:self.crypto||self.msCrypto;if(L){let R=new Uint8Array(u);L.getRandomValues(R),R.map||(R.map=Array.prototype.map),R=R.map(O=>b.charCodeAt(O%b.length)),I=String.fromCharCode.apply(null,R)}else for(;0"discovery_document_loaded"===u.type)).subscribe(u=>this.initCodeFlowInternal(v,b))}initCodeFlowInternal(v="",b={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let u={},I=null;"string"==typeof b?I=b:"object"==typeof b&&(u=b),this.createLoginUrl(v,I,null,!1,u).then(this.config.openUri).catch(L=>{console.error("Error in initAuthorizationCodeFlow"),console.error(L)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const v=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(v,"sha-256")),v]})}extractRecognizedCustomParameters(v){let b=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(u=>{v[u]&&b.set(u,JSON.stringify(v[u]))}),b}revokeTokenAndLogout(v={},b=!1){let u=this.revocationEndpoint,I=this.getAccessToken(),L=this.getRefreshToken();if(!I)return;let R=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),O=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const $=btoa(`${this.clientId}:${this.dummyClientSecret}`);O=O.set("Authorization","Basic "+$)}if(this.useHttpBasicAuth||(R=R.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(R=R.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const $ of Object.getOwnPropertyNames(this.customQueryParams))R=R.set($,this.customQueryParams[$]);return new Promise(($,G)=>{let j,z;if(I){let F=R.set("token",I).set("token_type_hint","access_token");j=this.http.post(u,F,{headers:O})}else j=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(L){let F=R.set("token",L).set("token_type_hint","refresh_token");z=this.http.post(u,F,{headers:O})}else z=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);b&&(j=j.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(F=>0===F.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(F))),z=z.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(F=>0===F.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(F)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([j,z]).subscribe(F=>{this.logOut(v),$(F),this.logger.info("Token successfully revoked")},F=>{this.logger.error("Error revoking token",F),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",F)),G(F)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return N.\u0275fac=function(v){return new(v||N)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(U){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(U)}}let DefaultOAuthInterceptor=(()=>{class N{constructor(v,b,u){this.oAuthService=v,this.errorHandler=b,this.moduleConfig=u}checkUrl(v){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(v):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(b=>v.toLowerCase().startsWith(b.toLowerCase()))}intercept(v,b){const u=v.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(u)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(L=>!!L)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(L=>"token_received"===L.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(L=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(L=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(L=>{if(L){const O=v.headers.set("Authorization","Bearer "+L);v=v.clone({headers:O})}return b.handle(v).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(R=>this.errorHandler.handleError(R)))})):b.handle(v).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(L=>this.errorHandler.handleError(L))):b.handle(v)}}return N.\u0275fac=function(v){return new(v||N)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class NullValidationHandler{validateSignature(U){return Promise.resolve(null)}validateAtHash(U){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class N{static forRoot(v=null,b=NullValidationHandler){return{ngModule:N,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:b},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:v},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return N.\u0275fac=function(v){return new(v||N)},N.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:N}),N.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),N})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},4147:N=>{"use strict";N.exports={i8:"7.0.0"}}},N=>{N(N.s=1241)}]); \ No newline at end of file diff --git a/dist/apps/publications/index.html b/dist/apps/publications/index.html index ff79e8318..b8223d662 100644 --- a/dist/apps/publications/index.html +++ b/dist/apps/publications/index.html @@ -40,5 +40,5 @@ - + diff --git a/dist/apps/publications/main.88ec76e5f4f5ae20.js b/dist/apps/publications/main.88ec76e5f4f5ae20.js deleted file mode 100644 index efe036bce..000000000 --- a/dist/apps/publications/main.88ec76e5f4f5ae20.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkpublications=self.webpackChunkpublications||[]).push([[179],{4527:(Y,U,w)=>{"use strict";var b=w(9808),i=w(5e3);class T extends b.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class v extends T{static makeCurrent(){(0,b.HT)(new v)}onAndCancel(o,e,t){return o.addEventListener(e,t,!1),()=>{o.removeEventListener(e,t,!1)}}dispatchEvent(o,e){o.dispatchEvent(e)}remove(o){o.parentNode&&o.parentNode.removeChild(o)}createElement(o,e){return(e=e||this.getDefaultDocument()).createElement(o)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(o){return o.nodeType===Node.ELEMENT_NODE}isShadowRoot(o){return o instanceof DocumentFragment}getGlobalEventTarget(o,e){return"window"===e?window:"document"===e?o:"body"===e?o.body:null}getBaseHref(o){const e=function E(){return C=C||document.querySelector("base"),C?C.getAttribute("href"):null}();return null==e?null:function H(n){R=R||document.createElement("a"),R.setAttribute("href",n);const o=R.pathname;return"/"===o.charAt(0)?o:`/${o}`}(e)}resetBaseElement(){C=null}getUserAgent(){return window.navigator.userAgent}getCookie(o){return(0,b.Mx)(document.cookie,o)}}let R,C=null;const B=new i.OlP("TRANSITION_ID"),V=[{provide:i.ip1,useFactory:function N(n,o,e){return()=>{e.get(i.CZH).donePromise.then(()=>{const t=(0,b.q)(),s=o.querySelectorAll(`style[ng-transition="${n}"]`);for(let a=0;a{const a=o.findTestabilityInTree(t,s);if(null==a)throw new Error("Could not find testability for element.");return a},i.dqk.getAllAngularTestabilities=()=>o.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>o.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const s=i.dqk.getAllAngularTestabilities();let a=s.length,r=!1;const c=function(d){r=r||d,a--,0==a&&t(r)};s.forEach(function(d){d.whenStable(c)})})}findTestabilityInTree(o,e,t){if(null==e)return null;const s=o.getTestability(e);return null!=s?s:t?(0,b.q)().isShadowRoot(e)?this.findTestabilityInTree(o,e.host,!0):this.findTestabilityInTree(o,e.parentElement,!0):null}}let X=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const re=new i.OlP("EventManagerPlugins");let ee=(()=>{class n{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(s=>s.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,s){return this._findPluginFor(t).addEventListener(e,t,s)}addGlobalEventListener(e,t,s){return this._findPluginFor(t).addGlobalEventListener(e,t,s)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const s=this._plugins;for(let a=0;a{class n{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(s=>{this._stylesSet.has(s)||(this._stylesSet.add(s),t.add(s))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Ie=(()=>{class n extends de{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,s){e.forEach(a=>{const r=this._doc.createElement("style");r.textContent=a,s.push(t.appendChild(r))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(Oe),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,s)=>{this._addStylesToHost(e,s,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Oe))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function Oe(n){(0,b.q)().remove(n)}const Ve={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Pt=/%COMP%/g;function fe(n,o,e){for(let t=0;t{if("__ngUnwrap__"===o)return n;!1===n(o)&&(o.preventDefault(),o.returnValue=!1)}}let xe=(()=>{class n{constructor(e,t,s){this.eventManager=e,this.sharedStylesHost=t,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new he(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ifc.Emulated:{let s=this.rendererByCompId.get(t.id);return s||(s=new _i(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,s)),s.applyToHost(e),s}case 1:case i.ifc.ShadowDom:return new Xe(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const s=fe(t.id,t.styles,[]);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ee),i.LFG(Ie),i.LFG(i.AFp))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class he{constructor(o){this.eventManager=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(o,e){return e?document.createElementNS(Ve[e]||e,o):document.createElement(o)}createComment(o){return document.createComment(o)}createText(o){return document.createTextNode(o)}appendChild(o,e){o.appendChild(e)}insertBefore(o,e,t){o&&o.insertBefore(e,t)}removeChild(o,e){o&&o.removeChild(e)}selectRootElement(o,e){let t="string"==typeof o?document.querySelector(o):o;if(!t)throw new Error(`The selector "${o}" did not match any elements`);return e||(t.textContent=""),t}parentNode(o){return o.parentNode}nextSibling(o){return o.nextSibling}setAttribute(o,e,t,s){if(s){e=s+":"+e;const a=Ve[s];a?o.setAttributeNS(a,e,t):o.setAttribute(e,t)}else o.setAttribute(e,t)}removeAttribute(o,e,t){if(t){const s=Ve[t];s?o.removeAttributeNS(s,e):o.removeAttribute(`${t}:${e}`)}else o.removeAttribute(e)}addClass(o,e){o.classList.add(e)}removeClass(o,e){o.classList.remove(e)}setStyle(o,e,t,s){s&(i.JOm.DashCase|i.JOm.Important)?o.style.setProperty(e,t,s&i.JOm.Important?"important":""):o.style[e]=t}removeStyle(o,e,t){t&i.JOm.DashCase?o.style.removeProperty(e):o.style[e]=""}setProperty(o,e,t){o[e]=t}setValue(o,e){o.nodeValue=e}listen(o,e,t){return"string"==typeof o?this.eventManager.addGlobalEventListener(o,e,_e(t)):this.eventManager.addEventListener(o,e,_e(t))}}class _i extends he{constructor(o,e,t,s){super(o),this.component=t;const a=fe(s+"-"+t.id,t.styles,[]);e.addStyles(a),this.contentAttr=function ft(n){return"_ngcontent-%COMP%".replace(Pt,n)}(s+"-"+t.id),this.hostAttr=function ue(n){return"_nghost-%COMP%".replace(Pt,n)}(s+"-"+t.id)}applyToHost(o){super.setAttribute(o,this.hostAttr,"")}createElement(o,e){const t=super.createElement(o,e);return super.setAttribute(t,this.contentAttr,""),t}}class Xe extends he{constructor(o,e,t,s){super(o),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=fe(s.id,s.styles,[]);for(let r=0;r{class n extends ae{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,s){return e.addEventListener(t,s,!1),()=>this.removeEventListener(e,t,s)}removeEventListener(e,t,s){return e.removeEventListener(t,s)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Nn=["alt","control","meta","shift"],Ge={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ri={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ro={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let xn=(()=>{class n extends ae{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,t,s){const a=n.parseEventName(t),r=n.eventCallback(a.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,b.q)().onAndCancel(e,a.domEventName,r))}static parseEventName(e){const t=e.toLowerCase().split("."),s=t.shift();if(0===t.length||"keydown"!==s&&"keyup"!==s)return null;const a=n._normalizeKey(t.pop());let r="";if(Nn.forEach(d=>{const h=t.indexOf(d);h>-1&&(t.splice(h,1),r+=d+".")}),r+=a,0!=t.length||0===a.length)return null;const c={};return c.domEventName=s,c.fullKey=r,c}static getEventFullKey(e){let t="",s=function Yi(n){let o=n.key;if(null==o){if(o=n.keyIdentifier,null==o)return"Unidentified";o.startsWith("U+")&&(o=String.fromCharCode(parseInt(o.substring(2),16)),3===n.location&&ri.hasOwnProperty(o)&&(o=ri[o]))}return Ge[o]||o}(e);return s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),Nn.forEach(a=>{a!=s&&Ro[a](e)&&(t+=a+".")}),t+=s,t}static eventCallback(e,t,s){return a=>{n.getEventFullKey(a)===e&&s.runGuarded(()=>t(a))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Po=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:b.bD},{provide:i.g9A,useValue:function Xs(){v.makeCurrent(),J.init()},multi:!0},{provide:b.K0,useFactory:function zr(){return(0,i.RDi)(document),document},deps:[]}]),eo=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function Fr(){return new i.qLn},deps:[]},{provide:re,useClass:lt,multi:!0,deps:[b.K0,i.R0b,i.Lbi]},{provide:re,useClass:xn,multi:!0,deps:[b.K0]},{provide:xe,useClass:xe,deps:[ee,Ie,i.AFp]},{provide:i.FYo,useExisting:xe},{provide:de,useExisting:Ie},{provide:Ie,useClass:Ie,deps:[b.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:ee,useClass:ee,deps:[re,i.R0b]},{provide:b.JF,useClass:X,deps:[]}];let Lo=(()=>{class n{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:n,providers:[{provide:i.AFp,useValue:e.appId},{provide:B,useExisting:i.AFp},V]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:eo,imports:[b.ez,i.hGG]}),n})(),Wt=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function Hi(){return new Wt((0,i.LFG)(b.K0))}(),t},providedIn:"root"}),n})();"undefined"!=typeof window&&window;let Yn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new(e||n):i.LFG(or),t},providedIn:"root"}),n})(),or=(()=>{class n extends Yn{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case i.q3G.NONE:return t;case i.q3G.HTML:return(0,i.qzn)(t,"HTML")?(0,i.z3N)(t):(0,i.EiD)(this._doc,String(t)).toString();case i.q3G.STYLE:return(0,i.qzn)(t,"Style")?(0,i.z3N)(t):t;case i.q3G.SCRIPT:if((0,i.qzn)(t,"Script"))return(0,i.z3N)(t);throw new Error("unsafe value used in a script context");case i.q3G.URL:return(0,i.yhl)(t),(0,i.qzn)(t,"URL")?(0,i.z3N)(t):(0,i.mCW)(String(t));case i.q3G.RESOURCE_URL:if((0,i.qzn)(t,"ResourceURL"))return(0,i.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,i.JVY)(e)}bypassSecurityTrustStyle(e){return(0,i.L6k)(e)}bypassSecurityTrustScript(e){return(0,i.eBb)(e)}bypassSecurityTrustUrl(e){return(0,i.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,i.pB0)(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function sr(n){return new or(n.get(b.K0))}(i.LFG(i.zs3)),t},providedIn:"root"}),n})();var D=w(520);class Pe{encodeKey(o){return encodeURIComponent(o)}encodeValue(o){return encodeURIComponent(o)}decodeKey(o){return decodeURIComponent(o)}decodeValue(o){return decodeURIComponent(o)}}const yi=new i.OlP("basePath");class qe{constructor(o={}){this.apiKeys=o.apiKeys,this.username=o.username,this.password=o.password,this.accessToken=o.accessToken,this.basePath=o.basePath,this.withCredentials=o.withCredentials,this.encoder=o.encoder}selectHeaderContentType(o){if(0===o.length)return;const e=o.find(t=>this.isJsonMime(t));return void 0===e?o[0]:e}selectHeaderAccept(o){if(0===o.length)return;const e=o.find(t=>this.isJsonMime(t));return void 0===e?o[0]:e}isJsonMime(o){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==o&&(e.test(o)||"application/json-patch+json"===o.toLowerCase())}}let jn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}convertAttributeToNonunique(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}convertAttributeToUnique(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteAttributeDefinitions(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attributes[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllAttributeDefinitions(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAttribute(e,t,s,a,r,c,d,h,g,I,W,ce="body",we=!1){let Me=new D.LE({encoder:this.encoder});null!=e&&(Me=Me.set("attributeName",e)),null!=t&&(Me=Me.set("attributeId",t)),null!=s&&(Me=Me.set("facility",s)),null!=a&&(Me=Me.set("user",a)),null!=r&&(Me=Me.set("vo",r)),null!=c&&(Me=Me.set("resource",c)),null!=d&&(Me=Me.set("member",d)),null!=h&&(Me=Me.set("group",h)),null!=g&&(Me=Me.set("host",g)),null!=I&&(Me=Me.set("userExtSource",I)),null!=W&&(Me=Me.set("key",W));let Fe=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Fe=Fe.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Fe=Fe.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Lt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Fe=Fe.set("Authorization","Bearer "+Lt)}const Jt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Jt&&(Fe=Fe.set("Accept",Jt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:Me,withCredentials:this.configuration.withCredentials,headers:Fe,observe:ce,reportProgress:we})}getAttributeDefinitionById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeDefinitionByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeDefinitionsByNamespace(e,t="body",s=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeModulesDependenciesForAttributeGraphText(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("format",e)),null!=t&&(r=r.set("attrName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAttributeModulesDependenciesGraphText(e,t="body",s=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("format",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributePolicyCollections(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeRights(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributesDefinitionWithRights(e,t,s,a,r,c,d,h,g="body",I=!1){let W=new D.LE({encoder:this.encoder});null!=e&&(W=W.set("member",e)),null!=t&&(W=W.set("user",t)),null!=s&&(W=W.set("vo",s)),null!=a&&(W=W.set("group",a)),null!=r&&(W=W.set("resource",r)),null!=c&&(W=W.set("facility",c)),null!=d&&(W=W.set("host",d)),null!=h&&(W=W.set("userExtSource",h));let ce=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(ce=ce.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(ce=ce.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Fe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;ce=ce.set("Authorization","Bearer "+Fe)}const Me=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Me&&(ce=ce.set("Accept",Me)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:W,withCredentials:this.configuration.withCredentials,headers:ce,observe:g,reportProgress:I})}getEntitylessAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessAttributesByKey(e,t="body",s=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("key",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEntitylessAttributesByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attrName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEntitylessAttributesWithKeys(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attrName",e)),t&&t.forEach(g=>{r=r.append("keys[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessKeys(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityResourceUserMemberAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("resource",t)),null!=s&&(d=d.set("user",s)),null!=a&&(d=d.set("member",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getFacilityUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupResourceAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupResourceAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLogins(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberAndUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==t)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAndUserAttributesByNames(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),t&&t.forEach(I=>{c=c.append("attrNames[]",I)}),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAndUserAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach(W=>{d=d.append("attrNames[]",W)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberGroupAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberGroupAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAttributesByNames(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),s&&s.forEach(I=>{c=c.append("attrNames[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach(W=>{d=d.append("attrNames[]",W)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberResourceAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesFacilityService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesFacilityServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesGroupResourceService(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("group",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesHostService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==t)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("host",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMemberGroup(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesMemberGroupResourceService(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("group",s)),null!=a&&(h=h.set("member",a)),null!=r&&(h=h.set("workWithUserAttributes",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getRequiredAttributesMemberGroupService(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("group",t)),null!=s&&(d=d.set("member",s)),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesMemberResource(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesMemberResourceService(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("resource",t)),null!=s&&(d=d.set("member",s)),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesResourceService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesResourceServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesUserFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesVoService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupAndGroupAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("resource",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("workWithGroupAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResourceGroupAndGroupAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach(W=>{d=d.append("attrNames[]",W)}),null!=a&&(d=d.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getResourceGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupMemberAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==a)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),null!=s&&(d=d.set("member",s)),a&&a.forEach(W=>{d=d.append("attrNames[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserFacilityAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getUserFacilityAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getUserFacilityAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAttributesForFacilityResourceGroupUserMember(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==a)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==c)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("facility",e)),null!=t&&(g=g.set("resource",t)),null!=s&&(g=g.set("group",s)),null!=a&&(g=g.set("user",a)),null!=r&&(g=g.set("member",r)),c&&c.forEach(we=>{g=g.append("attributes[]",we)});let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const we="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+we)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}removeAttributesForFacilityResourceUserMember(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==a)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("facility",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("user",s)),null!=a&&(h=h.set("member",a)),r&&r.forEach(ce=>{h=h.append("attributes[]",ce)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}removeEntitylessAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupResourceAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeGroupResourceAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach(W=>{d=d.append("attributes[]",W)}),null!=a&&(d=d.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeHostAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHostAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributesWorkWithUserAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),t&&t.forEach(I=>{c=c.append("attributes[]",I)}),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach(W=>{d=d.append("attributes[]",W)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeMemberResourceAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberResourceAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeResourceAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUesAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSourceAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserFacilityAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeUserFacilityAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeVoAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setAttributePolicyCollections(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setAttributeRights(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setEntitylessAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityResourceGroupUserMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityResourceUserMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setHostAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setHostAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupWithUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAndUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberWithUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceGroupWithGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserExtSourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserExtSourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserFacilityAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setVoAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setVoAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}auditMessagesManagerLog(e,t="body",s=!1){if(null==e)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("msg",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/log`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createAuditerConsumer(e,t="body",s=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("consumerName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/createAuditerConsumer`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllAuditerConsumers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAuditerMessagesCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getLastMessageId(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getMessages(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("count",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessages`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMessagesByCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("count",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesByCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMessagesPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetMessagesPage was null or undefined when calling getMessagesPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}pollConsumerMessages(e,t="body",s=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("consumerName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/pollConsumerMessages`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}setLastProcessedId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==t)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("consumerName",e)),null!=t&&(r=r.set("lastProcessedId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/setLastProcessedId`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),xi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getAllPolicies(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("role",e)),null!=t&&(c=c.set("complementaryObjectId",t)),null!=s&&(c=c.set("complementaryObjectName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAuthzRichAdmins(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==a)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("role",e)),null!=t&&(g=g.set("complementaryObjectId",t)),null!=s&&(g=g.set("complementaryObjectName",s)),a&&a.forEach(we=>{g=g.append("specificAttributes",we)}),null!=r&&(g=g.set("allUserAttributes",r)),null!=c&&(g=g.set("onlyDirectAdmins",c));let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const we="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+we)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}getFacilitiesWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupRoleNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupRoles(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("groupId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLoggedUser(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getPerunPrincipal(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSecurityTeamsWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserRoleNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserRoles(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}isFacilityAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isGroupAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isPerunAdmin(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}isVoAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}keepAlive(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setRoleWithUserComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unsetRoleWithGroupComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unsetRoleWithUserComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ai=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}createAutorship(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createCategoryCat(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createCategoryNR(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createPublication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createPublicationSystem(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createThanks(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAuthorship(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==t)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("publicationId",e)),null!=t&&(r=r.set("userId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteCategory(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deletePublication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deletePublicationSystem(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteThanks(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findAllAuthors(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}findAuthorsByPublicationId(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findExternalPublications(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==t)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==s)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==a)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("yearSince",t)),null!=s&&(d=d.set("yearTill",s)),null!=a&&(d=d.set("pubSysNamespace",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}findNewAuthors(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findPublicationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findPublicationsByFilter(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let c=new D.LE({encoder:this.encoder});null!=t&&(c=c.set("yearSince",t)),null!=s&&(c=c.set("yearTill",s)),null!=e&&(c=c.set("userId",e));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findPublicationsByGUIFilter(e,t,s,a,r,c,d,h,g,I="body",W=!1){let ce=new D.LE({encoder:this.encoder});null!=e&&(ce=ce.set("title",e)),null!=t&&(ce=ce.set("isbn",t)),null!=s&&(ce=ce.set("doi",s)),null!=a&&(ce=ce.set("id",a)),null!=r&&(ce=ce.set("year",r)),null!=c&&(ce=ce.set("category",c)),null!=d&&(ce=ce.set("yearSince",d)),null!=h&&(ce=ce.set("yearTill",h)),null!=g&&(ce=ce.set("userId",g));let we=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(we=we.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(we=we.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ht="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;we=we.set("Authorization","Bearer "+Ht)}const Fe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Fe&&(we=we.set("Accept",Fe)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:ce,withCredentials:this.configuration.withCredentials,headers:we,observe:I,reportProgress:W})}findSimilarPublications(e,t,s,a="body",r=!1){let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("title",e)),null!=t&&(c=c.set("doi",t)),null!=s&&(c=c.set("isbn",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getCategories(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPublicationSystems(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getRank(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRank.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichThanksByPublicationId(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}lockPublications(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateCategory(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updatePublication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updatePublicationSystem(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),bi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getCurrentDatabaseVersion(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getDatabaseDriverInformation(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getDatabaseInformation(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getTimeOfQueryPerformance(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),cn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addExtSourceWithGroupSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addExtSourceWithVoSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createExtSourceFromExtSourceObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createExtSourceWithNameType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==t)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getExtSourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getExtSourceByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getExtSources(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getGroupExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}loadExtSourcesDefinitions(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeExtSourceWithGroupSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeExtSourceWithVoSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Fi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addFacilityAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityAdminGroupByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityAdminUserByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwnerByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwnerByFacilityNameOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwnerByOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHost(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("hostname",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHostByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("hostname",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHosts(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hostnames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHostsByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hostnames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignSecurityTeam(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignSecurityTeamByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributesByDestinationName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributesBySourceDestinationNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributesBySourceName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagersByDestinationName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagersBySourceDestinationNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagersBySourceName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwners(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwnersByDestinationName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwnersBySourceDestinationNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwnersBySourceName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("description",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteFacilityByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllFacilities(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllowedGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedGroupsByFacilityName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedRichGroupsWithAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(W=>{d=d.append("attrNames[]",W)}),null!=s&&(d=d.set("vo",s)),null!=a&&(d=d.set("service",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllowedRichGroupsWithAttributesByFacilityName(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(W=>{d=d.append("attrNames[]",W)}),null!=s&&(d=d.set("vo",s)),null!=a&&(d=d.set("service",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllowedUsersOfFacility(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedUsersOfFacilityByFacilityName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedVos(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedVosByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesByAssignedServiceForFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedResourcesForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesForFacilityByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForFacilityByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedSecurityTeams(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedSecurityTeamsByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedUsers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedUsersByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getBansForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facilityId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEnrichedFacilities(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getEnrichedHosts(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilitiesByAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeName",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilitiesByDestination(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilitiesByHostName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilitiesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilitiesCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFacilitiesWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAdminGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAdminUsers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAdminUsersByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityBan(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityForHost(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityOwners(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityOwnersByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getHostById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHosts(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsByHostname(e,t="body",s=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsCountByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getOwnerFacilities(e,t="body",s=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichFacilities(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeBanByUserIdFacilityId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminGroupByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminUserByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeFacilityOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityOwnerByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityOwnerByFacilityNameOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityOwnerByOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHost(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHost.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeHostByHostname(e,t="body",s=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeHosts(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hosts[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHostsByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hosts[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSecurityTeam(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSecurityTeamByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setFacilityBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFacilityBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),It=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getFacilityAdminGroupsByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling addMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling addMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}canExtendMembershipInGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupUnion(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupWithParentGroupNameDescription(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("parentGroup",e)),null!=t&&(c=c.set("name",t)),null!=s&&(c=c.set("description",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}createGroupWithVoNameDescription(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("name",t)),null!=s&&(c=c.set("description",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}deleteGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}extendMembershipInGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}forceAllSubGroupsSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceGroupStructureSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceGroupSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllGroupsFromAllVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllMemberGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichGroupsWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichSubGroupsWithGroupAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==t)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("name",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMemberById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==t)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCountsByGroupStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCountsByVoStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupRichMembersByIds(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==t)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(I=>{c=c.append("members[]",I)}),s&&s.forEach(I=>{c=c.append("attrNames[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupUnions(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==t)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("reverseDirection",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getIndirectMembershipPaths(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberRichGroupsWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichGroupByIdWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("groupId",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSubgroupsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}isGroupMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==t)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}moveGroupWithDestinationGroupMovingGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("destinationGroup",t)),null!=e&&(r=r.set("movingGroup",e));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupUnion(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setGroupsMemberStatus(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==t)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==s)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("status",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}updateGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),wi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getGroupMemberData(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/integrationManager/getGroupMemberData`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ze=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}canExtendMembership(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createMemberForCandidate(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createMemberForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createMemberFromExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSpecificMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMembersFromCSV(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("members[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}extendMembership(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findCompleteRichMembersByAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(I=>{c=c.append("attrsNames[]",I)}),null!=t&&(c=c.set("searchString",t)),s&&s.forEach(I=>{c=c.append("allowedStatuses[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findCompleteRichMembersForGroup(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==a)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("group",e)),t&&t.forEach(we=>{g=g.append("attrsNames[]",we)}),r&&r.forEach(we=>{g=g.append("allowedStatuses[]",we)}),c&&c.forEach(we=>{g=g.append("allowedGroupStatuses[]",we)}),null!=s&&(g=g.set("searchString",s)),null!=a&&(g=g.set("lookingInParentGroup",a));let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const we="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+we)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}findCompleteRichMembersForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(W=>{d=d.append("attrsNames[]",W)}),a&&a.forEach(W=>{d=d.append("allowedStatuses[]",W)}),null!=s&&(d=d.set("searchString",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}findMembersInVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("searchString",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findSponsoredCompleteRichMembersForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==a)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(W=>{d=d.append("attrsNames[]",W)}),null!=s&&(d=d.set("searchString",s)),null!=a&&(d=d.set("onlySponsored",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllMembers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllNamespacesRules(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllSponsoredMembersAndTheirSponsors(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getCompleteRichMembersForGroup(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),s&&s.forEach(ce=>{h=h.append("allowedStatuses[]",ce)}),a&&a.forEach(ce=>{h=h.append("allowedGroupStatuses[]",ce)}),null!=t&&(h=h.set("lookingInParentGroup",t)),r&&r.forEach(ce=>{h=h.append("attrsNames[]",ce)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getCompleteRichMembersForGroupResource(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==s)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==a)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach(W=>{d=d.append("attrsNames[]",W)}),a&&a.forEach(W=>{d=d.append("allowedStatuses[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getCompleteRichMembersForVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),t&&t.forEach(I=>{c=c.append("allowedStatuses[]",I)}),s&&s.forEach(I=>{c=c.append("attrsNames[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberByExtSourceNameAndExtLogin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==s)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("extLogin",t)),null!=s&&(c=c.set("extSourceName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberByUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getMembersWithStatusCount(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichMemberWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichMembersByIds(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("ids[]",g)}),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsoredMembersAndTheirSponsors(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=s&&(d=d.set("extLogin",s)),a&&a.forEach(W=>{d=d.append("attrNames[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}moveMembership(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==t)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==s)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("sourceUser",t)),null!=s&&(c=c.set("targetUser",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeSponsor(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("sponsor",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendAccountActivationLinkEmail(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("namespace",t)),null!=s&&(d=d.set("emailAttributeURN",s)),null!=a&&(d=d.set("language",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendPasswordResetLinkEmail(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("member",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("emailAttributeURN",s)),null!=a&&(h=h.set("language",a)),null!=r&&(h=h.set("baseUrl",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}setSponsoredMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setSponsorshipForMember(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("sponsoredMember",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}setStatus(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling setStatus.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sponsorMember(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}updateSponsorshipValidity(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}validateMemberAsync(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),mt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}createOwner(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("owner",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllOwners(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getOwnerById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getOwnerByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Gt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}sentMessageToRTWithMemberQueue(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("memberId",e)),null!=t&&(d=d.set("queue",t)),null!=s&&(d=d.set("subject",s)),null!=a&&(d=d.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sentMessageToRTWithQueue(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("queue",e)),null!=t&&(c=c.set("subject",t)),null!=s&&(c=c.set("text",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sentMessageToRTWithVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("voId",e)),null!=t&&(c=c.set("subject",t)),null!=s&&(c=c.set("text",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sentMessageToRTWithVoQueue(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("voId",e)),null!=t&&(d=d.set("queue",t)),null!=s&&(d=d.set("subject",s)),null!=a&&(d=d.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),mn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addApplicationMailForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addApplicationMailForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addGroupsToAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}approveApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}checkForSimilarUsersWithAuthInfo(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}consolidateIdentityUsingToken(e,t="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}copyFormFromGroupToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromGroupToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createApplicationFormInGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createApplicationFormInVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteApplicationMailForGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("id",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteApplicationMailForVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("id",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroupsFromAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationDataById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationMailsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationMailsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationsForGroup(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),t&&t.forEach(W=>{d=d.append("state[]",W)}),null!=s&&(d=d.set("dateFrom",s)),null!=a&&(d=d.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsForMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getApplicationsForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(W=>{d=d.append("state[]",W)}),null!=s&&(d=d.set("dateFrom",s)),null!=a&&(d=d.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getConsolidatorToken(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFormItemsForGroupWithType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFormItemsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFormItemsForVoWithType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupApplicationForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsToAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoApplicationForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}rejectApplication(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),null!=t&&(r=r.set("reason",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendInvitation(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let d=new D.LE({encoder:this.encoder});null!=s&&(d=d.set("voId",s)),null!=a&&(d=d.set("name",a)),null!=e&&(d=d.set("email",e)),null!=t&&(d=d.set("language",t));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendInvitationForGroup(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let h=new D.LE({encoder:this.encoder});null!=s&&(h=h.set("voId",s)),null!=a&&(h=h.set("groupId",a)),null!=r&&(h=h.set("name",r)),null!=e&&(h=h.set("email",e)),null!=t&&(h=h.set("language",t));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}sendInvitationGroupToExistingUser(e,t,s,a="body",r=!1){let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("userId",e)),null!=t&&(c=c.set("voId",t)),null!=s&&(c=c.set("groupId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sendInvitationToExistingUser(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userId",e)),null!=t&&(r=r.set("voId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendMessage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setSendingEnabled(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}submitApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateApplicationMail(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemData(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsData(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}verifyApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Zt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}activateGroupResourceAssignment(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("async",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}addAdminToGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addAdminToUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}allowGroupsToResources(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(I=>{c=c.append("groups[]",I)}),t&&t.forEach(I=>{c=c.append("resources[]",I)}),null!=s&&(c=c.set("async",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}assignGroupToResource(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignGroupToResources(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),t&&t.forEach(ce=>{h=h.append("resources[]",ce)}),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignGroupsToResource(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let h=new D.LE({encoder:this.encoder});e&&e.forEach(ce=>{h=h.append("groups[]",ce)}),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignResourceTagToResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}assignService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling assignService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling assignServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createResource(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==s)throw new Error("Required parameter name was null or undefined when calling createResource.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("facility",t)),null!=s&&(d=d.set("name",s)),null!=a&&(d=d.set("description",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createResourceTagWithResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createResourceTagWithTagName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("tagName",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deactivateGroupResourceAssignment(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteAllResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteAllResourcesTagsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAdminGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAdmins(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllResourcesByResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAllResourcesTagsForResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesTagsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedUsersOfResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedGroups(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedMembersWithStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithMemberService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedServicesToResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEnrichedResourceById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupAssignments(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAssignments(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBan(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==s)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("name",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesCountForAll(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getResourcesCountForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesFromVoWhereUserIsAdmin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourcesWhereGroupIsAdmin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("group",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResourcesWhereUserIsAdmin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("user",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRichAdmins(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==t)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==s)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==a)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),t&&t.forEach(W=>{d=d.append("specificAttributes",W)}),null!=s&&(d=d.set("allUserAttributes",s)),null!=a&&(d=d.set("onlyDirectAdmins",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRichResourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichResourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeAllResourceTagsFromResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeBanByMemberAndResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAdminResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResources(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupsFromResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeResourceSelfServiceGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceSelfServiceUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceTagFromResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}removeService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling removeServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAdminResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setResourceBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unallowGroupsFromResources(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),t&&t.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateResourceBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addDestination(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==s)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==a)throw new Error("Required parameter type was null or undefined when calling addDestination.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("facility",t)),null!=s&&(h=h.set("destination",s)),null!=a&&(h=h.set("type",a)),null!=r&&(h=h.set("propagationType",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}addDestinationToMultipleServices(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addDestinationsDefinedByHostsOnFacilityWithFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addDestinationsForAllServicesOnFacility(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==s)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("destination",t)),null!=s&&(d=d.set("type",s)),null!=a&&(d=d.set("propagationType",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}addRequiredAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addRequiredAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addServiceToServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("servicesPackage",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}blockAllServicesOnDestinationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}blockAllServicesOnDestinationByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("destination",e)),null!=t&&(r=r.set("destinationType",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}blockAllServicesOnFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}blockServiceOnDestination(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}blockServiceOnDestinationWithNameAndType(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==s)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("destination",t)),null!=s&&(c=c.set("destinationType",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}blockServiceOnFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createService(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==s)throw new Error("Required parameter script was null or undefined when calling createService.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("name",e)),null!=t&&(c=c.set("description",t)),null!=s&&(c=c.set("script",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}createServiceWithService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createServicesPackageByNameAndDescription(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("description",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling deleteService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceServicePropagation(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllDestinations(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllRichDestinationsForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichDestinationsForService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedServices(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getDataWithGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getDataWithVos(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getDestinationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getDestinations(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getDestinationsCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFacilitiesDestinations(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAssignedServicesForGUI(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFlatData(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getHashedDataWithGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getHashedHierarchicalData(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getHierarchicalData(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRichDestinations(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getServiceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServiceByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServices(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getServicesBlockedOnDestination(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesBlockedOnFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesByAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesFromServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesPackageById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesPackageByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesPackages(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}isServiceBlockedOnDestination(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}isServiceBlockedOnFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}planServicePropagation(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAllDestinations(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAllRequiredAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeDestination(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==s)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==a)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("facility",t)),null!=s&&(d=d.set("destination",s)),null!=a&&(d=d.set("type",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeRequiredAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeRequiredAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServiceFromServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("servicesPackage",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}unblockAllServicesOnDestinationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}unblockAllServicesOnDestinationByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("destination",e)),null!=t&&(r=r.set("destinationType",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}unblockAllServicesOnFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}unblockServiceOnDestinationById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}unblockServiceOnDestinationByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==s)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("destination",t)),null!=s&&(c=c.set("destinationType",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}unblockServiceOnFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ns=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}countTasks(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}deleteTask(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteTaskResultById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteTaskResultsIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteTaskResultsNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAllFacilitiesStates(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesState(e,t="body",s=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("voId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityServicesState(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityState(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTask(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getTask.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getTaskById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("taskResult",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResults(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getTaskResultsByTask(e,t="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("task",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultsForDestinations(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("destinations[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultsForGUIByTask(e,t="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("task",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultsForGUIByTaskAndDestination(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("task",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getTaskResultsForGUIByTaskOnlyNewest(e,t="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("task",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isThereSuchTask(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}listAllTasks(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}listAllTasksForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}suspendTasksPropagation(e,t="body",s=!1){if(null==e)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("suspend",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$t=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addSpecificUserOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addUserExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}anonymizeUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}changeNonAuthzPasswordByToken(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==t)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("token",e)),null!=t&&(c=c.set("password",t)),null!=s&&(c=c.set("lang",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}changePasswordForLogin(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("login",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}changePasswordForUser(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("user",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}checkPasswordResetRequestByTokenIsValid(e,t="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}checkPasswordStrength(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("password",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createAlternativePassword(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==s)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==a)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("description",t)),null!=s&&(d=d.set("loginNamespace",s)),null!=a&&(d=d.set("password",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createServiceUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAlternativePassword(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==s)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("loginNamespace",t)),null!=s&&(c=c.set("passwordId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}deletePasswordForLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deletePasswordForUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findRichUsers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findRichUsersWithAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("searchString",e)),t&&t.forEach(g=>{r=r.append("attrsNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findUsers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}generateAccountForName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("namespace",e)),null!=t&&(r=r.set("name",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichUsersWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("includedSpecificUsers",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsForFacilityWhereUserIsActive(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsForResourceWhereUserIsActive(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsInVoWhereUserIsAdmin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getPendingPreferredEmailChanges(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUserExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUserWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersWithAttributesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersWithoutVoWithAttributes(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrsNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSpecificUsersByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsorsForMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsForMemberByVoAndLogin(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=s&&(d=d.set("extLogin",s)),a&&a.forEach(W=>{d=d.append("attrNames[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserByExtSourceNameAndExtLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("extLogin",e)),null!=t&&(r=r.set("extSourceName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeId",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeName",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getUsersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsersBySpecificUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsersPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getVosWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosWhereUserIsMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isLoginAvailable(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==t)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("loginNamespace",e)),null!=t&&(r=r.set("login",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}loginExist(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSpecificUserOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSource(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("userExtSource",t)),null!=s&&(c=c.set("force",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}requestPreferredEmailChange(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==t)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("user",e)),null!=t&&(g=g.set("email",t)),null!=s&&(g=g.set("lang",s)),null!=a&&(g=g.set("linkPath",a)),null!=r&&(g=g.set("customUrl",r)),null!=c&&(g=g.set("idpFilter",c));let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const we="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+we)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}reservePasswordForLogin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("login",e)),null!=t&&(c=c.set("namespace",t)),null!=s&&(c=c.set("password",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}reservePasswordForUser(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("namespace",t)),null!=s&&(c=c.set("password",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}reserveRandomPassword(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}validatePasswordForLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePasswordForUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePreferredEmailChangeWithToken(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==t)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("token",e)),null!=t&&(r=r.set("u",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hs=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getAppsConfig(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),no=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addSponsorRoleToGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addSponsorRoleToUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==t)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("shortName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findCandidates(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("id",e)),null!=t&&(c=c.set("searchString",t)),null!=s&&(c=c.set("maxNumOfResults",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findCandidatesForGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("searchString",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getCompleteCandidatesForGroup(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(I=>{c=c.append("attrNames[]",I)}),null!=s&&(c=c.set("searchString",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getCompleteCandidatesForVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),t&&t.forEach(I=>{c=c.append("attrNames[]",I)}),null!=s&&(c=c.set("searchString",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMyVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getRichAdminsForVo(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==a)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("vo",e)),null!=t&&(h=h.set("role",t)),s&&s.forEach(ce=>{h=h.append("specificAttributes",ce)}),null!=a&&(h=h.set("allUserAttributes",a)),null!=r&&(h=h.set("onlyDirectAdmins",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getVoAdminGroups(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("role",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAdminUsers(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("role",t)),null!=s&&(c=c.set("onlyDirectAdmins",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getVoBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoBanForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoBansForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoByShortName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("shortName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoMembersCountsByStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeSponsorRoleFromGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSponsorRoleFromUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeVoBanForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}setVoBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),eh=(()=>{class n{constructor(e,t){if(e)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!t)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(e){return{ngModule:n,providers:[{provide:qe,useFactory:e}]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12),i.LFG(D.eN,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[jn,dt,xi,ai,bi,cn,Fi,It,gn,wi,ze,mt,Gt,mn,Zt,gi,ns,$t,hs,no],imports:[[]]}),n})();var Tt=(()=>{return(n=Tt||(Tt={})).PERUNADMIN="PERUNADMIN",n.PERUNOBSERVER="PERUNOBSERVER",n.VOADMIN="VOADMIN",n.GROUPADMIN="GROUPADMIN",n.SELF="SELF",n.FACILITYADMIN="FACILITYADMIN",n.FACILITIYOBSERVER="FACILITYOBSERVER",n.RESOURCEADMIN="RESOURCEADMIN",n.RESOURCESELFSERVICE="RESOURCESELFSERVICE",n.REGISTRAR="REGISTRAR",n.ENGINE="ENGINE",n.RPC="RPC",n.NOTIFICATIONS="NOTIFICATIONS",n.SERVICEUSER="SERVICEUSER",n.SPONSOR="SPONSOR",n.VOOBSERVER="VOOBSERVER",n.TOPGROUPCREATOR="TOPGROUPCREATOR",n.SECURITYADMIN="SECURITYADMIN",n.CABINETADMIN="CABINETADMIN",n.UNKNOWNROLENAME="UNKNOWNROLENAME",Tt;var n})();let oo=(()=>{class n{constructor(e){this.authzSevice=e,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(e){this.principal=e,this.initData(e)}setPerunPolicies(e){this.perunPolicies=e}getPerunPolicies(){return this.perunPolicies}isAuthorized(e,t){if(null===this.principal.roles)return!1;const s=this.fetchPolicyWithAllIncludedPolicies(e);let a=[];for(const c of s)a=a.concat(c.perunRoles);const r=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(a,r)}resolveAuthorization(e,t){for(const s of e){let a=!0;for(const r of Object.keys(s)){const c=s[r];if(null===c)this.principalRoles.has(r)||(a=!1);else if(t[c]){for(const d of t[c])if(!this.principalHasRole(r,c,d)){a=!1;break}}else a=!1;if(!a)break}if(a)return!0}return!1}fetchAllRelatedObjects(e){const t={};for(const s of e){let a=s.beanName;switch(s.beanName.startsWith("Rich")&&(a=s.beanName.substring(4)),t[a]?t[a].push(s.id):t[a]=[s.id],a){case"Member":t.User?t.User.push(s.userId):t.User=[s.userId],t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId];break;case"Group":case"ResourceTag":t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId];break;case"Resource":t.Facility?t.Facility.push(s.facilityId):t.Facility=[s.facilityId],t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId]}}return t}principalHasRole(e,t,s){let a=t;return t.startsWith("Rich")&&(a=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][a])&&this.principal.roles[e][a].includes(Number(s.toString()))}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let s=[];for(s.push(e);0!==s.length;){const r=s.shift();if(t.has(r)){console.log("Policy {} creates a cycle in the included policies of the policy {}",r,e);continue}const c=this.getPerunPolicy(r);if(!c)return[];t.set(r,c),s=s.concat(c.includePolicies)}const a=[];for(const r of t.values())a.push(r);return a}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return console.log("policy with name"+e+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER,Tt.FACILITYADMIN,Tt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(Tt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(Tt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(Tt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(Tt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(Tt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(Tt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.VOOBSERVER,Tt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER)||this.observableVos.includes(e)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((e,t)=>{this.authzSevice.getAllRolesManagementRules().subscribe(s=>{this.allRolesManagementRules=s,e()},s=>t(s))})}assignAvailableRoles(e,t){this.allRolesManagementRules.forEach(s=>{s.primaryObject===t&&e.push(s.roleName)}),e.sort(),"Vo"===t&&this.voCustomSort(e)}isManagerPagePrivileged(e){const t=[];let s=e.beanName;s.startsWith("Rich")&&(s=s.substr(4)),this.assignAvailableRoles(t,s);const a=new Map;this.getRolesAuthorization(t,e,a);for(const r of a.values())if(r.readAuth||r.manageAuth)return!0;return!1}getRolesAuthorization(e,t,s){for(const a of e){let r=[],c=[],d=[];for(const W of this.allRolesManagementRules)if(W.roleName===a){r=r.concat(W.privilegedRolesToRead),c=c.concat(W.privilegedRolesToManage);for(const ce of Object.keys(W.entitiesToManage))d="User"===ce?[ce].concat(d):d.concat(ce);break}const h=this.fetchAllRelatedObjects([t]),g=this.resolveAuthorization(r,h),I=this.resolveAuthorization(c,h);s.set(a,{readAuth:g,manageAuth:I,modes:d})}}voCustomSort(e){for(let t=0;t{let e;try{e=n()}catch(s){return void o.error(s)}return(e?(0,un.D)(e):(0,Gn.c)()).subscribe(o)})}var fu=w(1762),at=w(4850),Ci=w(7545),Ut=w(2986),ao=w(2866);function Vt(...n){const o=n[n.length-1];return(0,ao.K)(o)?(n.pop(),e=>ro(n,e,o)):e=>ro(n,e)}var Ls=w(3489);function Va(n,o){let e=!1;return arguments.length>=2&&(e=!0),function(s){return s.lift(new Ur(n,o,e))}}class Ur{constructor(o,e,t=!1){this.accumulator=o,this.seed=e,this.hasSeed=t}call(o,e){return e.subscribe(new qa(o,this.accumulator,this.seed,this.hasSeed))}}class qa extends Ls.L{constructor(o,e,t,s){super(o),this.accumulator=e,this._seed=t,this.hasSeed=s,this.index=0}get seed(){return this._seed}set seed(o){this.hasSeed=!0,this._seed=o}_next(o){if(this.hasSeed)return this._tryNext(o);this.seed=o,this.destination.next(o)}_tryNext(o){const e=this.index++;let t;try{t=this.accumulator(this.seed,o,e)}catch(s){this.destination.error(s)}this.seed=t,this.destination.next(t)}}var Tn=w(7221),fs=w(1406),pu=w(4231);function _n(n){return function(e){return 0===n?(0,Gn.c)():e.lift(new rl(n))}}class rl{constructor(o){if(this.total=o,this.total<0)throw new pu.W}call(o,e){return e.subscribe(new ih(o,this.total))}}class ih extends Ls.L{constructor(o,e){super(o),this.total=e,this.ring=new Array,this.count=0}_next(o){const e=this.ring,t=this.total,s=this.count++;e.length0){const t=this.count>=this.total?this.total:this.count,s=this.ring;for(let a=0;ao.lift(new O(n))}class O{constructor(o){this.callback=o}call(o,e){return e.subscribe(new $(o,this.callback))}}class $ extends Ls.L{constructor(o,e){super(o),this.add(new P.w(e))}}class ie{constructor(o,e){this.id=o,this.url=e}}class pe extends ie{constructor(o,e,t="imperative",s=null){super(o,e),this.navigationTrigger=t,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class be extends ie{constructor(o,e,t){super(o,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ze extends ie{constructor(o,e,t){super(o,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Xt extends ie{constructor(o,e,t){super(o,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Yt extends ie{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mt extends ie{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Nt extends ie{constructor(o,e,t,s,a){super(o,e),this.urlAfterRedirects=t,this.state=s,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class zi extends ie{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hi extends ie{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ci{constructor(o){this.route=o}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class uo{constructor(o){this.route=o}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ps{constructor(o){this.snapshot=o}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class it{constructor(o){this.snapshot=o}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ur{constructor(o){this.snapshot=o}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class al{constructor(o){this.snapshot=o}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dr{constructor(o,e,t){this.routerEvent=o,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const vt="primary";class hr{constructor(o){this.params=o||{}}has(o){return Object.prototype.hasOwnProperty.call(this.params,o)}get(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e[0]:e}return null}getAll(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Vr(n){return new hr(n)}const cl="ngNavigationCancelingError";function Te(n){const o=Error("NavigationCancelingError: "+n);return o[cl]=!0,o}function nh(n,o,e){const t=e.path.split("/");if(t.length>n.length||"full"===e.pathMatch&&(o.hasChildren()||t.lengtht[a]===s)}return n===o}function os(n){return Array.prototype.concat.apply([],n)}function ll(n){return n.length>0?n[n.length-1]:null}function St(n,o){for(const e in n)n.hasOwnProperty(e)&&o(n[e],e)}function Is(n){return(0,i.CqO)(n)?n:(0,i.QGY)(n)?(0,un.D)(Promise.resolve(n)):(0,Ye.of)(n)}const Ka={exact:function ms(n,o,e){if(!fo(n.segments,o.segments)||!fr(n.segments,o.segments,e)||n.numberOfChildren!==o.numberOfChildren)return!1;for(const t in o.children)if(!n.children[t]||!ms(n.children[t],o.children[t],e))return!1;return!0},subset:oh},yn={exact:function sh(n,o){return gs(n,o)},subset:function ho(n,o){return Object.keys(o).length<=Object.keys(n).length&&Object.keys(o).every(e=>qr(n[e],o[e]))},ignored:()=>!0};function Os(n,o,e){return Ka[e.paths](n.root,o.root,e.matrixParams)&&yn[e.queryParams](n.queryParams,o.queryParams)&&!("exact"===e.fragment&&n.fragment!==o.fragment)}function oh(n,o,e){return mu(n,o,o.segments,e)}function mu(n,o,e,t){if(n.segments.length>e.length){const s=n.segments.slice(0,e.length);return!(!fo(s,e)||o.hasChildren()||!fr(s,e,t))}if(n.segments.length===e.length){if(!fo(n.segments,e)||!fr(n.segments,e,t))return!1;for(const s in o.children)if(!n.children[s]||!oh(n.children[s],o.children[s],t))return!1;return!0}{const s=e.slice(0,n.segments.length),a=e.slice(n.segments.length);return!!(fo(n.segments,s)&&fr(n.segments,s,t)&&n.children[vt])&&mu(n.children[vt],o,a,t)}}function fr(n,o,e){return o.every((t,s)=>yn[e](n[s].parameters,t.parameters))}class Hs{constructor(o,e,t){this.root=o,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Vr(this.queryParams)),this._queryParamMap}toString(){return rh.serialize(this)}}class kt{constructor(o,e){this.segments=o,this.children=e,this.parent=null,St(e,(t,s)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $a(this)}}class pr{constructor(o,e){this.path=o,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Vr(this.parameters)),this._parameterMap}toString(){return Ai(this)}}function fo(n,o){return n.length===o.length&&n.every((e,t)=>e.path===o[t].path)}class Za{}class gr{parse(o){const e=new Ja(o);return new Hs(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(o){const e=`/${Gr(o.root,!0)}`,t=function vp(n){const o=Object.keys(n).map(e=>{const t=n[e];return Array.isArray(t)?t.map(s=>`${mr(e)}=${mr(s)}`).join("&"):`${mr(e)}=${mr(t)}`}).filter(e=>!!e);return o.length?`?${o.join("&")}`:""}(o.queryParams);return`${e}${t}${"string"==typeof o.fragment?`#${function Ap(n){return encodeURI(n)}(o.fragment)}`:""}`}}const rh=new gr;function $a(n){return n.segments.map(o=>Ai(o)).join("/")}function Gr(n,o){if(!n.hasChildren())return $a(n);if(o){const e=n.children[vt]?Gr(n.children[vt],!1):"",t=[];return St(n.children,(s,a)=>{a!==vt&&t.push(`${a}:${Gr(s,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function yu(n,o){let e=[];return St(n.children,(t,s)=>{s===vt&&(e=e.concat(o(t,s)))}),St(n.children,(t,s)=>{s!==vt&&(e=e.concat(o(t,s)))}),e}(n,(t,s)=>s===vt?[Gr(n.children[vt],!1)]:[`${s}:${Gr(t,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[vt]?`${$a(n)}/${e[0]}`:`${$a(n)}/(${e.join("//")})`}}function bu(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mr(n){return bu(n).replace(/%3B/gi,";")}function wu(n){return bu(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function rn(n){return decodeURIComponent(n)}function po(n){return rn(n.replace(/\+/g,"%20"))}function Ai(n){return`${wu(n.path)}${function Au(n){return Object.keys(n).map(o=>`;${wu(o)}=${wu(n[o])}`).join("")}(n.parameters)}`}const ah=/^[^\/()?;=#]+/;function Ln(n){const o=n.match(ah);return o?o[0]:""}const _r=/^[^=?&#]+/,dl=/^[^&#]+/;class Ja{constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new kt([],{}):new kt([],this.parseChildren())}parseQueryParams(){const o={};if(this.consumeOptional("?"))do{this.parseQueryParam(o)}while(this.consumeOptional("&"));return o}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const o=[];for(this.peekStartsWith("(")||o.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),o.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(o.length>0||Object.keys(e).length>0)&&(t[vt]=new kt(o,e)),t}parseSegment(){const o=Ln(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(o),new pr(rn(o),this.parseMatrixParams())}parseMatrixParams(){const o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){const e=Ln(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const s=Ln(this.remaining);s&&(t=s,this.capture(t))}o[rn(e)]=rn(t)}parseQueryParam(o){const e=function ch(n){const o=n.match(_r);return o?o[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const r=function Wa(n){const o=n.match(dl);return o?o[0]:""}(this.remaining);r&&(t=r,this.capture(t))}const s=po(e),a=po(t);if(o.hasOwnProperty(s)){let r=o[s];Array.isArray(r)||(r=[r],o[s]=r),r.push(a)}else o[s]=a}parseParens(o){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=Ln(this.remaining),s=this.remaining[t.length];if("/"!==s&&")"!==s&&";"!==s)throw new Error(`Cannot parse url '${this.url}'`);let a;t.indexOf(":")>-1?(a=t.substr(0,t.indexOf(":")),this.capture(a),this.capture(":")):o&&(a=vt);const r=this.parseChildren();e[a]=1===Object.keys(r).length?r[vt]:new kt([],r),this.consumeOptional("//")}return e}peekStartsWith(o){return this.remaining.startsWith(o)}consumeOptional(o){return!!this.peekStartsWith(o)&&(this.remaining=this.remaining.substring(o.length),!0)}capture(o){if(!this.consumeOptional(o))throw new Error(`Expected "${o}".`)}}class hl{constructor(o){this._root=o}get root(){return this._root.value}parent(o){const e=this.pathFromRoot(o);return e.length>1?e[e.length-2]:null}children(o){const e=fl(o,this._root);return e?e.children.map(t=>t.value):[]}firstChild(o){const e=fl(o,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(o){const e=pl(o,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==o)}pathFromRoot(o){return pl(o,this._root).map(e=>e.value)}}function fl(n,o){if(n===o.value)return o;for(const e of o.children){const t=fl(n,e);if(t)return t}return null}function pl(n,o){if(n===o.value)return[o];for(const e of o.children){const t=pl(n,e);if(t.length)return t.unshift(o),t}return[]}class bn{constructor(o,e){this.value=o,this.children=e}toString(){return`TreeNode(${this.value})`}}function Fs(n){const o={};return n&&n.children.forEach(e=>o[e.value.outlet]=e),o}class lh extends hl{constructor(o,e){super(o),this.snapshot=e,Kr(this,o)}toString(){return this.snapshot.toString()}}function uh(n,o){const e=function Qa(n,o){const r=new vu([],{},{},"",{},vt,o,null,n.root,-1,{});return new Tp("",new bn(r,[]))}(n,o),t=new ji([new pr("",{})]),s=new ji({}),a=new ji({}),r=new ji({}),c=new ji(""),d=new In(t,s,r,c,a,vt,o,e.root);return d.snapshot=e.root,new lh(new bn(d,[]),e)}class In{constructor(o,e,t,s,a,r,c,d){this.url=o,this.params=e,this.queryParams=t,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this._futureSnapshot=d}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,at.U)(o=>Vr(o)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,at.U)(o=>Vr(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function dh(n,o="emptyOnly"){const e=n.pathFromRoot;let t=0;if("always"!==o)for(t=e.length-1;t>=1;){const s=e[t],a=e[t-1];if(s.routeConfig&&""===s.routeConfig.path)t--;else{if(a.component)break;t--}}return function Cp(n){return n.reduce((o,e)=>({params:Object.assign(Object.assign({},o.params),e.params),data:Object.assign(Object.assign({},o.data),e.data),resolve:Object.assign(Object.assign({},o.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class vu{constructor(o,e,t,s,a,r,c,d,h,g,I){this.url=o,this.params=e,this.queryParams=t,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this.routeConfig=d,this._urlSegment=h,this._lastPathIndex=g,this._resolve=I}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Vr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Vr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Tp extends hl{constructor(o,e){super(e),this.url=o,Kr(this,e)}toString(){return Cu(this._root)}}function Kr(n,o){o.value._routerState=n,o.children.forEach(e=>Kr(n,e))}function Cu(n){const o=n.children.length>0?` { ${n.children.map(Cu).join(", ")} } `:"";return`${n.value}${o}`}function Xa(n){if(n.snapshot){const o=n.snapshot,e=n._futureSnapshot;n.snapshot=e,gs(o.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),o.fragment!==e.fragment&&n.fragment.next(e.fragment),gs(o.params,e.params)||n.params.next(e.params),function qi(n,o){if(n.length!==o.length)return!1;for(let e=0;egs(e.parameters,o[t].parameters))}(n.url,o.url);return e&&!(!n.parent!=!o.parent)&&(!n.parent||Zr(n.parent,o.parent))}function $r(n,o,e){if(e&&n.shouldReuseRoute(o.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=o.value;const s=function Wr(n,o,e){return o.children.map(t=>{for(const s of e.children)if(n.shouldReuseRoute(t.value,s.value.snapshot))return $r(n,t,s);return $r(n,t)})}(n,o,e);return new bn(t,s)}{if(n.shouldAttach(o.value)){const a=n.retrieve(o.value);if(null!==a){const r=a.route;return r.value._futureSnapshot=o.value,r.children=o.children.map(c=>$r(n,c)),r}}const t=function Mp(n){return new In(new ji(n.url),new ji(n.params),new ji(n.queryParams),new ji(n.fragment),new ji(n.data),n.outlet,n.component,n)}(o.value),s=o.children.map(a=>$r(n,a));return new bn(t,s)}}function Qr(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function No(n){return"object"==typeof n&&null!=n&&n.outlets}function hh(n,o,e,t,s){let a={};return t&&St(t,(r,c)=>{a[c]=Array.isArray(r)?r.map(d=>`${d}`):`${r}`}),new Hs(e.root===n?o:Tu(e.root,n,o),a,s)}function Tu(n,o,e){const t={};return St(n.children,(s,a)=>{t[a]=s===o?e:Tu(s,o,e)}),new kt(n.segments,t)}class gl{constructor(o,e,t){if(this.isAbsolute=o,this.numberOfDoubleDots=e,this.commands=t,o&&t.length>0&&Qr(t[0]))throw new Error("Root segment cannot have matrix parameters");const s=t.find(No);if(s&&s!==ll(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ml{constructor(o,e,t){this.segmentGroup=o,this.processChildren=e,this.index=t}}function ea(n,o,e){if(n||(n=new kt([],{})),0===n.segments.length&&n.hasChildren())return rs(n,o,e);const t=function ph(n,o,e){let t=0,s=o;const a={match:!1,pathIndex:0,commandIndex:0};for(;s=e.length)return a;const r=n.segments[s],c=e[t];if(No(c))break;const d=`${c}`,h=t0&&void 0===d)break;if(d&&h&&"object"==typeof h&&void 0===h.outlets){if(!Su(d,h,r))return a;t+=2}else{if(!Su(d,{},r))return a;t++}s++}return{match:!0,pathIndex:s,commandIndex:t}}(n,o,e),s=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(s[r]=ea(n.children[r],o,a))}),St(n.children,(a,r)=>{void 0===t[r]&&(s[r]=a)}),new kt(n.segments,s)}}function tc(n,o,e){const t=n.segments.slice(0,o);let s=0;for(;s{"string"==typeof e&&(e=[e]),null!==e&&(o[t]=tc(new kt([],{}),0,e))}),o}function Mu(n){const o={};return St(n,(e,t)=>o[t]=`${e}`),o}function Su(n,o,e){return n==e.path&&gs(o,e.parameters)}class kp{constructor(o,e,t,s){this.routeReuseStrategy=o,this.futureState=e,this.currState=t,this.forwardEvent=s}activate(o){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,o),Xa(this.futureState.root),this.activateChildRoutes(e,t,o)}deactivateChildRoutes(o,e,t){const s=Fs(e);o.children.forEach(a=>{const r=a.value.outlet;this.deactivateRoutes(a,s[r],t),delete s[r]}),St(s,(a,r)=>{this.deactivateRouteAndItsChildren(a,t)})}deactivateRoutes(o,e,t){const s=o.value,a=e?e.value:null;if(s===a)if(s.component){const r=t.getContext(s.outlet);r&&this.deactivateChildRoutes(o,e,r.children)}else this.deactivateChildRoutes(o,e,t);else a&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(o,e){o.value.component&&this.routeReuseStrategy.shouldDetach(o.value.snapshot)?this.detachAndStoreRouteSubtree(o,e):this.deactivateRouteAndOutlet(o,e)}detachAndStoreRouteSubtree(o,e){const t=e.getContext(o.value.outlet),s=t&&o.value.component?t.children:e,a=Fs(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);if(t&&t.outlet){const r=t.outlet.detach(),c=t.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:r,route:o,contexts:c})}}deactivateRouteAndOutlet(o,e){const t=e.getContext(o.value.outlet),s=t&&o.value.component?t.children:e,a=Fs(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(o,e,t){const s=Fs(e);o.children.forEach(a=>{this.activateRoutes(a,s[a.value.outlet],t),this.forwardEvent(new al(a.value.snapshot))}),o.children.length&&this.forwardEvent(new it(o.value.snapshot))}activateRoutes(o,e,t){const s=o.value,a=e?e.value:null;if(Xa(s),s===a)if(s.component){const r=t.getOrCreateContext(s.outlet);this.activateChildRoutes(o,e,r.children)}else this.activateChildRoutes(o,e,t);else if(s.component){const r=t.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const c=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),r.children.onOutletReAttached(c.contexts),r.attachRef=c.componentRef,r.route=c.route.value,r.outlet&&r.outlet.attach(c.componentRef,c.route.value),Xa(c.route.value),this.activateChildRoutes(o,null,r.children)}else{const c=function _l(n){for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(s.snapshot),d=c?c.module.componentFactoryResolver:null;r.attachRef=null,r.route=s,r.resolver=d,r.outlet&&r.outlet.activateWith(s,d),this.activateChildRoutes(o,null,r.children)}}else this.activateChildRoutes(o,null,t)}}class yr{constructor(o,e){this.routes=o,this.module=e}}function jo(n){return"function"==typeof n}function Uo(n){return n instanceof Hs}const zs=Symbol("INITIAL_VALUE");function Ns(){return(0,Ci.w)(n=>(0,jr.aj)(n.map(o=>o.pipe((0,Ut.q)(1),Vt(zs)))).pipe(Va((o,e)=>{let t=!1;return e.reduce((s,a,r)=>s!==zs?s:(a===zs&&(t=!0),t||!1!==a&&r!==e.length-1&&!Uo(a)?s:a),o)},zs),(0,Kt.h)(o=>o!==zs),(0,at.U)(o=>Uo(o)?o:!0===o),(0,Ut.q)(1)))}class ia{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new na,this.attachRef=null}}class na{constructor(){this.contexts=new Map}onChildOutletCreated(o,e){const t=this.getOrCreateContext(o);t.outlet=e,this.contexts.set(o,t)}onChildOutletDestroyed(o){const e=this.getContext(o);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const o=this.contexts;return this.contexts=new Map,o}onOutletReAttached(o){this.contexts=o}getOrCreateContext(o){let e=this.getContext(o);return e||(e=new ia,this.contexts.set(o,e)),e}getContext(o){return this.contexts.get(o)||null}}let sa=(()=>{class n{constructor(e,t,s,a,r){this.parentContexts=e,this.location=t,this.resolver=s,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.name=a||vt,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const r=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),c=this.parentContexts.getOrCreateContext(this.name).children,d=new oa(e,c,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,d),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(na),i.Y36(i.s_b),i.Y36(i._Vd),i.$8M("name"),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),n})();class oa{constructor(o,e,t){this.route=o,this.childContexts=e,this.parent=t}get(o,e){return o===In?this.route:o===na?this.childContexts:this.parent.get(o,e)}}let Ep=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"router-outlet")},directives:[sa],encapsulation:2}),n})();function yh(n,o=""){for(let e=0;e_s(t)===o);return e.push(...n.filter(t=>_s(t)!==o)),e}const yl={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function xu(n,o,e){var t;if(""===o.path)return"full"===o.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},yl):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const a=(o.matcher||nh)(e,n,o);if(!a)return Object.assign({},yl);const r={};St(a.posParams,(d,h)=>{r[h]=d.path});const c=a.consumed.length>0?Object.assign(Object.assign({},r),a.consumed[a.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:a.consumed,lastChild:a.consumed.length,parameters:c,positionalParamSegments:null!==(t=a.posParams)&&void 0!==t?t:{}}}function Ru(n,o,e,t,s="corrected"){if(e.length>0&&function Gi(n,o,e){return e.some(t=>go(n,o,t)&&_s(t)!==vt)}(n,e,t)){const r=new kt(o,function w_(n,o,e,t){const s={};s[vt]=t,t._sourceSegment=n,t._segmentIndexShift=o.length;for(const a of e)if(""===a.path&&_s(a)!==vt){const r=new kt([],{});r._sourceSegment=n,r._segmentIndexShift=o.length,s[_s(a)]=r}return s}(n,o,t,new kt(e,n.children)));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:[]}}if(0===e.length&&function Pu(n,o,e){return e.some(t=>go(n,o,t))}(n,e,t)){const r=new kt(n.segments,function ic(n,o,e,t,s,a){const r={};for(const c of t)if(go(n,e,c)&&!s[_s(c)]){const d=new kt([],{});d._sourceSegment=n,d._segmentIndexShift="legacy"===a?n.segments.length:o.length,r[_s(c)]=d}return Object.assign(Object.assign({},s),r)}(n,o,e,t,n.children,s));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:e}}const a=new kt(n.segments,n.children);return a._sourceSegment=n,a._segmentIndexShift=o.length,{segmentGroup:a,slicedSegments:e}}function go(n,o,e){return(!(n.hasChildren()||o.length>0)||"full"!==e.pathMatch)&&""===e.path}function xp(n,o,e,t){return!!(_s(n)===t||t!==vt&&go(o,e,n))&&("**"===n.path||xu(o,n,e).matched)}function wh(n,o,e){return 0===o.length&&!n.children[e]}class dn{constructor(o){this.segmentGroup=o||null}}class ys{constructor(o){this.urlTree=o}}function nc(n){return new Ui.y(o=>o.error(new dn(n)))}function sc(n){return new Ui.y(o=>o.error(new ys(n)))}function as(n){return new Ui.y(o=>o.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`)))}class Pp{constructor(o,e,t,s,a){this.configLoader=e,this.urlSerializer=t,this.urlTree=s,this.config=a,this.allowRedirects=!0,this.ngModule=o.get(i.h0i)}apply(){const o=Ru(this.urlTree.root,[],[],this.config).segmentGroup,e=new kt(o.segments,o.children);return this.expandSegmentGroup(this.ngModule,this.config,e,vt).pipe((0,at.U)(a=>this.createUrlTree(Re(a),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Tn.K)(a=>{if(a instanceof ys)return this.allowRedirects=!1,this.match(a.urlTree);throw a instanceof dn?this.noMatchError(a):a}))}match(o){return this.expandSegmentGroup(this.ngModule,this.config,o.root,vt).pipe((0,at.U)(s=>this.createUrlTree(Re(s),o.queryParams,o.fragment))).pipe((0,Tn.K)(s=>{throw s instanceof dn?this.noMatchError(s):s}))}noMatchError(o){return new Error(`Cannot match any routes. URL Segment: '${o.segmentGroup}'`)}createUrlTree(o,e,t){const s=o.segments.length>0?new kt([],{[vt]:o}):o;return new Hs(s,e,t)}expandSegmentGroup(o,e,t,s){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(o,e,t).pipe((0,at.U)(a=>new kt([],a))):this.expandSegment(o,t,e,t.segments,s,!0)}expandChildren(o,e,t){const s=[];for(const a of Object.keys(t.children))"primary"===a?s.unshift(a):s.push(a);return(0,un.D)(s).pipe((0,fs.b)(a=>{const r=t.children[a],c=Du(e,a);return this.expandSegmentGroup(o,c,r,a).pipe((0,at.U)(d=>({segment:d,outlet:a})))}),Va((a,r)=>(a[r.outlet]=r.segment,a),{}),function co(n,o){const e=arguments.length>=2;return t=>t.pipe(n?(0,Kt.h)((s,a)=>n(s,a,t)):lr.y,_n(1),e?(0,di.d)(o):(0,Ga.T)(()=>new hu.K))}())}expandSegment(o,e,t,s,a,r){return(0,un.D)(t).pipe((0,fs.b)(c=>this.expandSegmentAgainstRoute(o,e,t,c,s,a,r).pipe((0,Tn.K)(h=>{if(h instanceof dn)return(0,Ye.of)(null);throw h}))),(0,lo.P)(c=>!!c),(0,Tn.K)((c,d)=>{if(c instanceof hu.K||"EmptyError"===c.name){if(wh(e,s,a))return(0,Ye.of)(new kt([],{}));throw new dn(e)}throw c}))}expandSegmentAgainstRoute(o,e,t,s,a,r,c){return xp(s,e,a,r)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(o,e,s,a,r):c&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r):nc(e):nc(e)}expandSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(o,t,s,r):this.expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(o,e,t,s){const a=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?sc(a):this.lineralizeSegments(t,a).pipe((0,Vi.zg)(r=>{const c=new kt(r,{});return this.expandSegment(o,c,e,r,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r){const{matched:c,consumedSegments:d,lastChild:h,positionalParamSegments:g}=xu(e,s,a);if(!c)return nc(e);const I=this.applyRedirectCommands(d,s.redirectTo,g);return s.redirectTo.startsWith("/")?sc(I):this.lineralizeSegments(s,I).pipe((0,Vi.zg)(W=>this.expandSegment(o,e,t,W.concat(a.slice(h)),r,!1)))}matchSegmentAgainstRoute(o,e,t,s,a){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ye.of)(t._loadedConfig):this.configLoader.load(o.injector,t)).pipe((0,at.U)(W=>(t._loadedConfig=W,new kt(s,{})))):(0,Ye.of)(new kt(s,{}));const{matched:r,consumedSegments:c,lastChild:d}=xu(e,t,s);if(!r)return nc(e);const h=s.slice(d);return this.getChildConfig(o,t,s).pipe((0,Vi.zg)(I=>{const W=I.module,ce=I.routes,{segmentGroup:we,slicedSegments:Me}=Ru(e,c,h,ce),Fe=new kt(we.segments,we.children);if(0===Me.length&&Fe.hasChildren())return this.expandChildren(W,ce,Fe).pipe((0,at.U)(oi=>new kt(c,oi)));if(0===ce.length&&0===Me.length)return(0,Ye.of)(new kt(c,{}));const Ht=_s(t)===a;return this.expandSegment(W,Fe,ce,Me,Ht?vt:a,!0).pipe((0,at.U)(Lt=>new kt(c.concat(Lt.segments),Lt.children)))}))}getChildConfig(o,e,t){return e.children?(0,Ye.of)(new yr(e.children,o)):e.loadChildren?void 0!==e._loadedConfig?(0,Ye.of)(e._loadedConfig):this.runCanLoadGuards(o.injector,e,t).pipe((0,Vi.zg)(s=>s?this.configLoader.load(o.injector,e).pipe((0,at.U)(a=>(e._loadedConfig=a,a))):function Lu(n){return new Ui.y(o=>o.error(Te(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`)))}(e))):(0,Ye.of)(new yr([],o))}runCanLoadGuards(o,e,t){const s=e.canLoad;if(!s||0===s.length)return(0,Ye.of)(!0);const a=s.map(r=>{const c=o.get(r);let d;if(function ta(n){return n&&jo(n.canLoad)}(c))d=c.canLoad(e,t);else{if(!jo(c))throw new Error("Invalid CanLoad guard");d=c(e,t)}return Is(d)});return(0,Ye.of)(a).pipe(Ns(),(0,on.b)(r=>{if(!Uo(r))return;const c=Te(`Redirecting to "${this.urlSerializer.serialize(r)}"`);throw c.url=r,c}),(0,at.U)(r=>!0===r))}lineralizeSegments(o,e){let t=[],s=e.root;for(;;){if(t=t.concat(s.segments),0===s.numberOfChildren)return(0,Ye.of)(t);if(s.numberOfChildren>1||!s.children[vt])return as(o.redirectTo);s=s.children[vt]}}applyRedirectCommands(o,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),o,t)}applyRedirectCreatreUrlTree(o,e,t,s){const a=this.createSegmentGroup(o,e.root,t,s);return new Hs(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(o,e){const t={};return St(o,(s,a)=>{if("string"==typeof s&&s.startsWith(":")){const c=s.substring(1);t[a]=e[c]}else t[a]=s}),t}createSegmentGroup(o,e,t,s){const a=this.createSegments(o,e.segments,t,s);let r={};return St(e.children,(c,d)=>{r[d]=this.createSegmentGroup(o,c,t,s)}),new kt(a,r)}createSegments(o,e,t,s){return e.map(a=>a.path.startsWith(":")?this.findPosParam(o,a,s):this.findOrReturn(a,t))}findPosParam(o,e,t){const s=t[e.path.substring(1)];if(!s)throw new Error(`Cannot redirect to '${o}'. Cannot find '${e.path}'.`);return s}findOrReturn(o,e){let t=0;for(const s of e){if(s.path===o.path)return e.splice(t),s;t++}return o}}function Re(n){const o={};for(const t of Object.keys(n.children)){const a=Re(n.children[t]);(a.segments.length>0||a.hasChildren())&&(o[t]=a)}return function A_(n){if(1===n.numberOfChildren&&n.children[vt]){const o=n.children[vt];return new kt(n.segments.concat(o.segments),o.children)}return n}(new kt(n.segments,o))}class On{constructor(o){this.path=o,this.route=this.path[this.path.length-1]}}class br{constructor(o,e){this.component=o,this.route=e}}function Ot(n,o,e){const t=n._root;return oc(t,o?o._root:null,e,[t.value])}function ra(n,o,e){const t=function Ou(n){if(!n)return null;for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(o);return(t?t.module.injector:e).get(n)}function oc(n,o,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=Fs(o);return n.children.forEach(r=>{(function Lp(n,o,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=n.value,r=o?o.value:null,c=e?e.getContext(n.value.outlet):null;if(r&&a.routeConfig===r.routeConfig){const d=function Ip(n,o,e){if("function"==typeof e)return e(n,o);switch(e){case"pathParamsChange":return!fo(n.url,o.url);case"pathParamsOrQueryParamsChange":return!fo(n.url,o.url)||!gs(n.queryParams,o.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zr(n,o)||!gs(n.queryParams,o.queryParams);default:return!Zr(n,o)}}(r,a,a.routeConfig.runGuardsAndResolvers);d?s.canActivateChecks.push(new On(t)):(a.data=r.data,a._resolvedData=r._resolvedData),oc(n,o,a.component?c?c.children:null:e,t,s),d&&c&&c.outlet&&c.outlet.isActivated&&s.canDeactivateChecks.push(new br(c.outlet.component,r))}else r&&rc(o,c,s),s.canActivateChecks.push(new On(t)),oc(n,null,a.component?c?c.children:null:e,t,s)})(r,a[r.value.outlet],e,t.concat([r.value]),s),delete a[r.value.outlet]}),St(a,(r,c)=>rc(r,e.getContext(c),s)),s}function rc(n,o,e){const t=Fs(n),s=n.value;St(t,(a,r)=>{rc(a,s.component?o?o.children.getContext(r):null:o,e)}),e.canDeactivateChecks.push(new br(s.component&&o&&o.outlet&&o.outlet.isActivated?o.outlet.component:null,s))}class Ch{}function wl(n){return new Ui.y(o=>o.error(n))}class Fp{constructor(o,e,t,s,a,r){this.rootComponentType=o,this.config=e,this.urlTree=t,this.url=s,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=r}recognize(){const o=Ru(this.urlTree.root,[],[],this.config.filter(r=>void 0===r.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,o,vt);if(null===e)return null;const t=new vu([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},vt,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new bn(t,e),a=new Tp(this.url,s);return this.inheritParamsAndData(a._root),a}inheritParamsAndData(o){const e=o.value,t=dh(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),o.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(o,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(o,e):this.processSegment(o,e,e.segments,t)}processChildren(o,e){const t=[];for(const a of Object.keys(e.children)){const r=e.children[a],c=Du(o,a),d=this.processSegmentGroup(c,r,a);if(null===d)return null;t.push(...d)}const s=Ki(t);return function Kn(n){n.sort((o,e)=>o.value.outlet===vt?-1:e.value.outlet===vt?1:o.value.outlet.localeCompare(e.value.outlet))}(s),s}processSegment(o,e,t,s){for(const a of o){const r=this.processSegmentAgainstRoute(a,e,t,s);if(null!==r)return r}return wh(e,t,s)?[]:null}processSegmentAgainstRoute(o,e,t,s){if(o.redirectTo||!xp(o,e,t,s))return null;let a,r=[],c=[];if("**"===o.path){const ce=t.length>0?ll(t).parameters:{};a=new vu(t,ce,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,aa(o),_s(o),o.component,o,Sh(e),Al(e)+t.length,kh(o))}else{const ce=xu(e,o,t);if(!ce.matched)return null;r=ce.consumedSegments,c=t.slice(ce.lastChild),a=new vu(r,ce.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,aa(o),_s(o),o.component,o,Sh(e),Al(e)+r.length,kh(o))}const d=function Mh(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(o),{segmentGroup:h,slicedSegments:g}=Ru(e,r,c,d.filter(ce=>void 0===ce.redirectTo),this.relativeLinkResolution);if(0===g.length&&h.hasChildren()){const ce=this.processChildren(d,h);return null===ce?null:[new bn(a,ce)]}if(0===d.length&&0===g.length)return[new bn(a,[])];const I=_s(o)===s,W=this.processSegment(d,h,g,I?vt:s);return null===W?null:[new bn(a,W)]}}function zp(n){const o=n.value.routeConfig;return o&&""===o.path&&void 0===o.redirectTo}function Ki(n){const o=[],e=new Set;for(const t of n){if(!zp(t)){o.push(t);continue}const s=o.find(a=>t.value.routeConfig===a.value.routeConfig);void 0!==s?(s.children.push(...t.children),e.add(s)):o.push(t)}for(const t of e){const s=Ki(t.children);o.push(new bn(t.value,s))}return o.filter(t=>!e.has(t))}function Sh(n){let o=n;for(;o._sourceSegment;)o=o._sourceSegment;return o}function Al(n){let o=n,e=o._segmentIndexShift?o._segmentIndexShift:0;for(;o._sourceSegment;)o=o._sourceSegment,e+=o._segmentIndexShift?o._segmentIndexShift:0;return e-1}function aa(n){return n.data||{}}function kh(n){return n.resolve||{}}function Fu(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function zu(n){return(0,Ci.w)(o=>{const e=n(o);return e?(0,un.D)(e).pipe((0,at.U)(()=>o)):(0,Ye.of)(o)})}class vl extends class Nu{shouldDetach(o){return!1}store(o,e){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,e){return o.routeConfig===e.routeConfig}}{}const Cl=new i.OlP("ROUTES");class Dh{constructor(o,e,t,s){this.injector=o,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=s}load(o,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const s=this.loadModuleFactory(e.loadChildren).pipe((0,at.U)(a=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=a.create(o);return new yr(os(r.injector.get(Cl,void 0,i.XFs.Self|i.XFs.Optional)).map(bh),r)}),(0,Tn.K)(a=>{throw e._loader$=void 0,a}));return e._loader$=new fu.c(s,()=>new ke.xQ).pipe((0,ni.x)()),e._loader$}loadModuleFactory(o){return Is(o()).pipe((0,Vi.zg)(e=>e instanceof i.YKP?(0,Ye.of)(e):(0,un.D)(this.compiler.compileModuleAsync(e))))}}class ws{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,e){return o}}function uc(n){throw n}function jp(n,o,e){return o.parse("/")}function Up(n,o){return(0,Ye.of)(null)}const xh={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Vp={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ri=(()=>{class n{constructor(e,t,s,a,r,c,d){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=s,this.location=a,this.config=d,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ke.xQ,this.errorHandler=uc,this.malformedUriErrorHandler=jp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Up,afterPreactivation:Up},this.urlHandlingStrategy=new ws,this.routeReuseStrategy=new vl,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(i.h0i),this.console=r.get(i.c2e);const I=r.get(i.R0b);this.isNgZoneEnabled=I instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(d),this.currentUrlTree=function ul(){return new Hs(new kt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Dh(r,c,W=>this.triggerEvent(new ci(W)),W=>this.triggerEvent(new uo(W))),this.routerState=uh(this.currentUrlTree,this.rootComponentType),this.transitions=new ji({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const t=this.events;return e.pipe((0,Kt.h)(s=>0!==s.id),(0,at.U)(s=>Object.assign(Object.assign({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),(0,Ci.w)(s=>{let a=!1,r=!1;return(0,Ye.of)(s).pipe((0,on.b)(c=>{this.currentNavigation={id:c.id,initialUrl:c.currentRawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Ci.w)(c=>{const d=this.browserUrlTree.toString(),h=!this.navigated||c.extractedUrl.toString()!==d||d!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||h)&&this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return wr(c.source)&&(this.browserUrlTree=c.extractedUrl),(0,Ye.of)(c).pipe((0,Ci.w)(I=>{const W=this.transitions.getValue();return t.next(new pe(I.id,this.serializeUrl(I.extractedUrl),I.source,I.restoredState)),W!==this.transitions.getValue()?Gn.E:Promise.resolve(I)}),function Ah(n,o,e,t){return(0,Ci.w)(s=>function Rp(n,o,e,t,s){return new Pp(n,o,e,t,s).apply()}(n,o,e,s.extractedUrl,t).pipe((0,at.U)(a=>Object.assign(Object.assign({},s),{urlAfterRedirects:a}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,on.b)(I=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:I.urlAfterRedirects})}),function Bp(n,o,e,t,s){return(0,Vi.zg)(a=>function Th(n,o,e,t,s="emptyOnly",a="legacy"){try{const r=new Fp(n,o,e,t,s,a).recognize();return null===r?wl(new Ch):(0,Ye.of)(r)}catch(r){return wl(r)}}(n,o,a.urlAfterRedirects,e(a.urlAfterRedirects),t,s).pipe((0,at.U)(r=>Object.assign(Object.assign({},a),{targetSnapshot:r}))))}(this.rootComponentType,this.config,I=>this.serializeUrl(I),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,on.b)(I=>{if("eager"===this.urlUpdateStrategy){if(!I.extras.skipLocationChange){const ce=this.urlHandlingStrategy.merge(I.urlAfterRedirects,I.rawUrl);this.setBrowserUrl(ce,I)}this.browserUrlTree=I.urlAfterRedirects}const W=new Yt(I.id,this.serializeUrl(I.extractedUrl),this.serializeUrl(I.urlAfterRedirects),I.targetSnapshot);t.next(W)}));if(h&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:W,extractedUrl:ce,source:we,restoredState:Me,extras:Fe}=c,Ht=new pe(W,this.serializeUrl(ce),we,Me);t.next(Ht);const Jt=uh(ce,this.rootComponentType).snapshot;return(0,Ye.of)(Object.assign(Object.assign({},c),{targetSnapshot:Jt,urlAfterRedirects:ce,extras:Object.assign(Object.assign({},Fe),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=c.rawUrl,c.resolve(null),Gn.E}),zu(c=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:I,extras:{skipLocationChange:W,replaceUrl:ce}}=c;return this.hooks.beforePreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:I,skipLocationChange:!!W,replaceUrl:!!ce})}),(0,on.b)(c=>{const d=new Mt(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(d)}),(0,at.U)(c=>Object.assign(Object.assign({},c),{guards:Ot(c.targetSnapshot,c.currentSnapshot,this.rootContexts)})),function vh(n,o){return(0,Vi.zg)(e=>{const{targetSnapshot:t,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:r}}=e;return 0===r.length&&0===a.length?(0,Ye.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function bs(n,o,e,t){return(0,un.D)(n).pipe((0,Vi.zg)(s=>function Hp(n,o,e,t,s){const a=o&&o.routeConfig?o.routeConfig.canDeactivate:null;if(!a||0===a.length)return(0,Ye.of)(!0);const r=a.map(c=>{const d=ra(c,o,s);let h;if(function Eu(n){return n&&jo(n.canDeactivate)}(d))h=Is(d.canDeactivate(n,o,e,t));else{if(!jo(d))throw new Error("Invalid CanDeactivate guard");h=Is(d(n,o,e,t))}return h.pipe((0,lo.P)())});return(0,Ye.of)(r).pipe(Ns())}(s.component,s.route,e,o,t)),(0,lo.P)(s=>!0!==s,!0))}(r,t,s,n).pipe((0,Vi.zg)(c=>c&&function mh(n){return"boolean"==typeof n}(c)?function bl(n,o,e,t){return(0,un.D)(o).pipe((0,fs.b)(s=>ro(function ac(n,o){return null!==n&&o&&o(new ps(n)),(0,Ye.of)(!0)}(s.route.parent,t),function Op(n,o){return null!==n&&o&&o(new ur(n)),(0,Ye.of)(!0)}(s.route,t),function cc(n,o,e){const t=o[o.length-1],a=o.slice(0,o.length-1).reverse().map(r=>function Iu(n){const o=n.routeConfig?n.routeConfig.canActivateChild:null;return o&&0!==o.length?{node:n,guards:o}:null}(r)).filter(r=>null!==r).map(r=>cr(()=>{const c=r.guards.map(d=>{const h=ra(d,r.node,e);let g;if(function ku(n){return n&&jo(n.canActivateChild)}(h))g=Is(h.canActivateChild(t,n));else{if(!jo(h))throw new Error("Invalid CanActivateChild guard");g=Is(h(t,n))}return g.pipe((0,lo.P)())});return(0,Ye.of)(c).pipe(Ns())}));return(0,Ye.of)(a).pipe(Ns())}(n,s.path,e),function Hu(n,o,e){const t=o.routeConfig?o.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ye.of)(!0);const s=t.map(a=>cr(()=>{const r=ra(a,o,e);let c;if(function _h(n){return n&&jo(n.canActivate)}(r))c=Is(r.canActivate(o,n));else{if(!jo(r))throw new Error("Invalid CanActivate guard");c=Is(r(o,n))}return c.pipe((0,lo.P)())}));return(0,Ye.of)(s).pipe(Ns())}(n,s.route,e))),(0,lo.P)(s=>!0!==s,!0))}(t,a,n,o):(0,Ye.of)(c)),(0,at.U)(c=>Object.assign(Object.assign({},e),{guardsResult:c})))})}(this.ngModule.injector,c=>this.triggerEvent(c)),(0,on.b)(c=>{if(Uo(c.guardsResult)){const h=Te(`Redirecting to "${this.serializeUrl(c.guardsResult)}"`);throw h.url=c.guardsResult,h}const d=new Nt(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.triggerEvent(d)}),(0,Kt.h)(c=>!!c.guardsResult||(this.restoreHistory(c),this.cancelNavigationTransition(c,""),!1)),zu(c=>{if(c.guards.canActivateChecks.length)return(0,Ye.of)(c).pipe((0,on.b)(d=>{const h=new zi(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}),(0,Ci.w)(d=>{let h=!1;return(0,Ye.of)(d).pipe(function Yp(n,o){return(0,Vi.zg)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:s}}=e;if(!s.length)return(0,Ye.of)(e);let a=0;return(0,un.D)(s).pipe((0,fs.b)(r=>function lc(n,o,e,t){return function Zn(n,o,e,t){const s=Fu(n);if(0===s.length)return(0,Ye.of)({});const a={};return(0,un.D)(s).pipe((0,Vi.zg)(r=>function ca(n,o,e,t){const s=ra(n,o,t);return Is(s.resolve?s.resolve(o,e):s(o,e))}(n[r],o,e,t).pipe((0,on.b)(c=>{a[r]=c}))),_n(1),(0,Vi.zg)(()=>Fu(a).length===s.length?(0,Ye.of)(a):Gn.E))}(n._resolve,n,o,t).pipe((0,at.U)(a=>(n._resolvedData=a,n.data=Object.assign(Object.assign({},n.data),dh(n,e).resolve),null)))}(r.route,t,n,o)),(0,on.b)(()=>a++),_n(1),(0,Vi.zg)(r=>a===s.length?(0,Ye.of)(e):Gn.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,on.b)({next:()=>h=!0,complete:()=>{h||(this.restoreHistory(d),this.cancelNavigationTransition(d,"At least one route resolver didn't emit any value."))}}))}),(0,on.b)(d=>{const h=new hi(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}))}),zu(c=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:I,extras:{skipLocationChange:W,replaceUrl:ce}}=c;return this.hooks.afterPreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:I,skipLocationChange:!!W,replaceUrl:!!ce})}),(0,at.U)(c=>{const d=function ec(n,o,e){const t=$r(n,o._root,e?e._root:void 0);return new lh(t,o)}(this.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return Object.assign(Object.assign({},c),{targetRouterState:d})}),(0,on.b)(c=>{this.currentUrlTree=c.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl),this.routerState=c.targetRouterState,"deferred"===this.urlUpdateStrategy&&(c.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,c),this.browserUrlTree=c.urlAfterRedirects)}),((n,o,e)=>(0,at.U)(t=>(new kp(o,t.targetRouterState,t.currentRouterState,e).activate(n),t)))(this.rootContexts,this.routeReuseStrategy,c=>this.triggerEvent(c)),(0,on.b)({next(){a=!0},complete(){a=!0}}),q(()=>{var c;a||r||this.cancelNavigationTransition(s,`Navigation ID ${s.id} is not equal to the current navigation id ${this.navigationId}`),(null===(c=this.currentNavigation)||void 0===c?void 0:c.id)===s.id&&(this.currentNavigation=null)}),(0,Tn.K)(c=>{if(r=!0,function Ft(n){return n&&n[cl]}(c)){const d=Uo(c.url);d||(this.navigated=!0,this.restoreHistory(s,!0));const h=new Ze(s.id,this.serializeUrl(s.extractedUrl),c.message);t.next(h),d?setTimeout(()=>{const g=this.urlHandlingStrategy.merge(c.url,this.rawUrlTree),I={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||wr(s.source)};this.scheduleNavigation(g,"imperative",null,I,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{this.restoreHistory(s,!0);const d=new Xt(s.id,this.serializeUrl(s.extractedUrl),c);t.next(d);try{s.resolve(this.errorHandler(c))}catch(h){s.reject(h)}}return Gn.E}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t="popstate"===e.type?"popstate":"hashchange";"popstate"===t&&setTimeout(()=>{var s;const a={replaceUrl:!0},r=(null===(s=e.state)||void 0===s?void 0:s.navigationId)?e.state:null;if(r){const d=Object.assign({},r);delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(a.state=d)}const c=this.parseUrl(e.url);this.scheduleNavigation(c,t,r,a)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){yh(e),this.config=e.map(bh),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:s,queryParams:a,fragment:r,queryParamsHandling:c,preserveFragment:d}=t,h=s||this.routerState.root,g=d?this.currentUrlTree.fragment:r;let I=null;switch(c){case"merge":I=Object.assign(Object.assign({},this.currentUrlTree.queryParams),a);break;case"preserve":I=this.currentUrlTree.queryParams;break;default:I=a||null}return null!==I&&(I=this.removeEmptyProps(I)),function Jr(n,o,e,t,s){if(0===e.length)return hh(o.root,o.root,o,t,s);const a=function fh(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new gl(!0,0,n);let o=0,e=!1;const t=n.reduce((s,a,r)=>{if("object"==typeof a&&null!=a){if(a.outlets){const c={};return St(a.outlets,(d,h)=>{c[h]="string"==typeof d?d.split("/"):d}),[...s,{outlets:c}]}if(a.segmentPath)return[...s,a.segmentPath]}return"string"!=typeof a?[...s,a]:0===r?(a.split("/").forEach((c,d)=>{0==d&&"."===c||(0==d&&""===c?e=!0:".."===c?o++:""!=c&&s.push(c))}),s):[...s,a]},[]);return new gl(e,o,t)}(e);if(a.toRoot())return hh(o.root,new kt([],{}),o,t,s);const r=function Bo(n,o,e){if(n.isAbsolute)return new ml(o.root,!0,0);if(-1===e.snapshot._lastPathIndex){const a=e.snapshot._urlSegment;return new ml(a,a===o.root,0)}const t=Qr(n.commands[0])?0:1;return function Yo(n,o,e){let t=n,s=o,a=e;for(;a>s;){if(a-=s,t=t.parent,!t)throw new Error("Invalid number of '../'");s=t.segments.length}return new ml(t,!1,s-a)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,n.numberOfDoubleDots)}(a,o,n),c=r.processChildren?rs(r.segmentGroup,r.index,a.commands):ea(r.segmentGroup,r.index,a.commands);return hh(r.segmentGroup,c,o,t,s)}(h,this.currentUrlTree,e,I,null!=g?g:null)}navigateByUrl(e,t={skipLocationChange:!1}){const s=Uo(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function la(n){for(let o=0;o{const a=e[s];return null!=a&&(t[s]=a),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new be(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,t,s,a,r){var c,d,h;if(this.disposed)return Promise.resolve(!1);const g=this.transitions.value,I=wr(t)&&g&&!wr(g.source),W=g.rawUrl.toString()===e.toString(),ce=g.id===(null===(c=this.currentNavigation)||void 0===c?void 0:c.id);if(I&&W&&ce)return Promise.resolve(!0);let Me,Fe,Ht;r?(Me=r.resolve,Fe=r.reject,Ht=r.promise):Ht=new Promise((oi,au)=>{Me=oi,Fe=au});const Jt=++this.navigationId;let Lt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),Lt=s&&s.\u0275routerPageId?s.\u0275routerPageId:a.replaceUrl||a.skipLocationChange?null!==(d=this.browserPageId)&&void 0!==d?d:0:(null!==(h=this.browserPageId)&&void 0!==h?h:0)+1):Lt=0,this.setTransition({id:Jt,targetPageId:Lt,source:t,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:a,resolve:Me,reject:Fe,promise:Ht,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ht.catch(oi=>Promise.reject(oi))}setBrowserUrl(e,t){const s=this.urlSerializer.serialize(e),a=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(s)||t.extras.replaceUrl?this.location.replaceState(s,"",a):this.location.go(s,"",a)}restoreHistory(e,t=!1){var s,a;if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)||0===r?this.currentUrlTree===(null===(a=this.currentNavigation)||void 0===a?void 0:a.finalUrl)&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,t){const s=new Ze(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(s),e.resolve(!1)}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function wr(n){return"imperative"!==n}let Et=(()=>{class n{constructor(e,t,s,a,r){this.router=e,this.route=t,this.tabIndexAttribute=s,this.renderer=a,this.el=r,this.commands=null,this.onChanges=new ke.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const t=this.renderer,s=this.el.nativeElement;null!==e?t.setAttribute(s,"tabindex",e):t.removeAttribute(s,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const e={skipLocationChange:S(this.skipLocationChange),replaceUrl:S(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:S(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ri),i.Y36(In),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),n})(),_=(()=>{class n{constructor(e,t,s){this.router=e,this.route=t,this.locationStrategy=s,this.commands=null,this.href=null,this.onChanges=new ke.xQ,this.subscription=e.events.subscribe(a=>{a instanceof be&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,s,a,r){if(0!==e||t||s||a||r||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const c={skipLocationChange:S(this.skipLocationChange),replaceUrl:S(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,c),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:S(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ri),i.Y36(In),i.Y36(b.S$))},n.\u0275dir=i.lG2({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&e&&i.uIk("target",t.target)("href",t.href,i.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),n})();function S(n){return""===n||!!n}class G{}class me{preload(o,e){return(0,Ye.of)(null)}}let Qe=(()=>{class n{constructor(e,t,s,a){this.router=e,this.injector=s,this.preloadingStrategy=a,this.loader=new Dh(s,t,d=>e.triggerEvent(new ci(d)),d=>e.triggerEvent(new uo(d)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Kt.h)(e=>e instanceof be),(0,fs.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(i.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const s=[];for(const a of t)if(a.loadChildren&&!a.canLoad&&a._loadedConfig){const r=a._loadedConfig;s.push(this.processRoutes(r.module,r.routes))}else a.loadChildren&&!a.canLoad?s.push(this.preloadConfig(e,a)):a.children&&s.push(this.processRoutes(e,a.children));return(0,un.D)(s).pipe((0,Ua.J)(),(0,at.U)(a=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ye.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,Vi.zg)(a=>(t._loadedConfig=a,this.processRoutes(a.module,a.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ri),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(G))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Dt=(()=>{class n{constructor(e,t,s={}){this.router=e,this.viewportScroller=t,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof pe?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof be&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof dr&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new dr(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const hn=new i.OlP("ROUTER_CONFIGURATION"),wn=new i.OlP("ROUTER_FORROOT_GUARD"),Vo=[b.Ye,{provide:Za,useClass:gr},{provide:Ri,useFactory:function v_(n,o,e,t,s,a,r={},c,d){const h=new Ri(null,n,o,e,t,s,os(a));return c&&(h.urlHandlingStrategy=c),d&&(h.routeReuseStrategy=d),function ov(n,o){n.errorHandler&&(o.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(o.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(o.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(o.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(o.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(o.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(o.canceledNavigationResolution=n.canceledNavigationResolution)}(r,h),r.enableTracing&&h.events.subscribe(g=>{var I,W;null===(I=console.group)||void 0===I||I.call(console,`Router Event: ${g.constructor.name}`),console.log(g.toString()),console.log(g),null===(W=console.groupEnd)||void 0===W||W.call(console)}),h},deps:[Za,na,b.Ye,i.zs3,i.Sil,Cl,hn,[class mo{},new i.FiY],[class Eh{},new i.FiY]]},na,{provide:In,useFactory:function rv(n){return n.routerState.root},deps:[Ri]},Qe,me,class se{preload(o,e){return e().pipe((0,Tn.K)(()=>(0,Ye.of)(null)))}},{provide:hn,useValue:{enableTracing:!1}}];function iv(){return new i.PXZ("Router",Ri)}let Rh=(()=>{class n{constructor(e,t){}static forRoot(e,t){return{ngModule:n,providers:[Vo,dc(e),{provide:wn,useFactory:Ar,deps:[[Ri,new i.FiY,new i.tp0]]},{provide:hn,useValue:t||{}},{provide:b.S$,useFactory:sv,deps:[b.lw,[new i.tBr(b.mr),new i.FiY],hn]},{provide:Dt,useFactory:nv,deps:[Ri,b.EM,hn]},{provide:G,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:me},{provide:i.PXZ,multi:!0,useFactory:iv},[qp,{provide:i.ip1,multi:!0,useFactory:av,deps:[qp]},{provide:Gp,useFactory:cv,deps:[qp]},{provide:i.tb,multi:!0,useExisting:Gp}]]}}static forChild(e){return{ngModule:n,providers:[dc(e)]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(wn,8),i.LFG(Ri,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();function nv(n,o,e){return e.scrollOffset&&o.setOffset(e.scrollOffset),new Dt(n,o,e)}function sv(n,o,e={}){return e.useHash?new b.Do(n,o):new b.b0(n,o)}function Ar(n){return"guarded"}function dc(n){return[{provide:i.deG,multi:!0,useValue:n},{provide:Cl,multi:!0,useValue:n}]}let qp=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new ke.xQ}appInitializer(){return this.injector.get(b.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const s=new Promise(c=>t=c),a=this.injector.get(Ri),r=this.injector.get(hn);return"disabled"===r.initialNavigation?(a.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(a.hooks.afterPreactivation=()=>this.initNavigation?(0,Ye.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),a.initialNavigation()):t(!0),s})}bootstrapListener(e){const t=this.injector.get(hn),s=this.injector.get(Qe),a=this.injector.get(Dt),r=this.injector.get(Ri),c=this.injector.get(i.z2F);e===c.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&r.initialNavigation(),s.setUpPreloading(),a.init(),r.resetRootComponentType(c.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function av(n){return n.appInitializer.bind(n)}function cv(n){return n.bootstrapListener.bind(n)}const Gp=new i.OlP("Router Initializer");let Mn=(()=>{class n{constructor(){this.branding=""}setInstanceConfig(e){this.instanceConfig=e}setDefaultConfig(e){this.defaultConfig=e}getAppsConfig(){return this.appsConfig}setAppsConfig(e){this.appsConfig=e}setPerunPrincipal(e){this.principal=e}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(e){this.initialPageId=e}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.get("skip_oidc")}get(...e){let t;if(""!==this.branding){const s=this.instanceConfig.brandings[this.branding];for(let a=0;a(0,Yu.k)(s)?t(...s):t(s))):new Ui.y(s=>{dv(n,o,function a(r){s.next(arguments.length>1?Array.prototype.slice.call(arguments):r)},s,e)})}function dv(n,o,e,t,s){let a;if(function Zp(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const r=n;n.addEventListener(o,e,s),a=()=>r.removeEventListener(o,e,s)}else if(function Kp(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const r=n;n.on(o,e),a=()=>r.off(o,e)}else if(function gM(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const r=n;n.addListener(o,e),a=()=>r.removeListener(o,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let r=0,c=n.length;r0?super.requestAsyncId(o,e,t):(o.actions.push(this),o.scheduled||(o.scheduled=requestAnimationFrame(()=>o.flush(null))))}recycleAsyncId(o,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(o,e,t);0===o.actions.length&&(cancelAnimationFrame(e),o.scheduled=void 0)}});let hv=1;const fv=Promise.resolve(),Ph={};function $p(n){return n in Ph&&(delete Ph[n],!0)}const Uu={setImmediate(n){const o=hv++;return Ph[o]=!0,fv.then(()=>$p(o)&&n()),o},clearImmediate(n){$p(n)}},Pi=new class gv extends M_.v{flush(o){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let t,s=-1,a=e.length;o=o||e.shift();do{if(t=o.execute(o.state,o.delay))break}while(++s0?super.requestAsyncId(o,e,t):(o.actions.push(this),o.scheduled||(o.scheduled=Uu.setImmediate(o.flush.bind(o,null))))}recycleAsyncId(o,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(o,e,t);0===o.actions.length&&(Uu.clearImmediate(e),o.scheduled=void 0)}});var Vu=w(353),E_=w(826),Lh=w(9054);class mv{constructor(o){this.durationSelector=o}call(o,e){return e.subscribe(new _v(o,this.durationSelector))}}class _v extends E_.L{constructor(o,e){super(o),this.durationSelector=e,this.hasValue=!1}_next(o){if(this.value=o,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:s}=this;e=s(o)}catch(s){return this.destination.error(s)}const t=(0,Lh.D)(this,e);!t||t.closed?this.clearThrottle():this.add(this.throttled=t)}}clearThrottle(){const{value:o,hasValue:e,throttled:t}=this;t&&(this.remove(t),this.throttled=null,t.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(o))}notifyNext(o,e,t,s){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Jp(n){return!(0,Yu.k)(n)&&n-parseFloat(n)+1>=0}function x_(n=0,o,e){let t=-1;return Jp(o)?t=Number(o)<1?1:Number(o):(0,ao.K)(o)&&(e=o),(0,ao.K)(e)||(e=Vu.P),new Ui.y(s=>{const a=Jp(n)?n:+n-e.now();return e.schedule(yv,a,{index:0,period:t,subscriber:s})})}function yv(n){const{index:o,period:e,subscriber:t}=n;if(t.next(o),!t.closed){if(-1===e)return t.complete();n.index=o+1,this.schedule(n,e)}}function bv(n,o=Vu.P){return function D_(n){return function(e){return e.lift(new mv(n))}}(()=>x_(n,o))}function $e(n){return o=>o.lift(new qu(n))}class qu{constructor(o){this.notifier=o}call(o,e){const t=new $n(o),s=(0,Lh.D)(t,this.notifier);return s&&!t.seenValue?(t.add(s),e.subscribe(t)):t}}class $n extends E_.L{constructor(o){super(o),this.seenValue=!1}notifyNext(o,e,t,s,a){this.seenValue=!0,this.complete()}notifyComplete(){}}let Gu;try{Gu="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){Gu=!1}let Wi,fi=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,b.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Gu)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.Lbi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const Tl=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ih(){if(Wi)return Wi;if("object"!=typeof document||!document)return Wi=new Set(Tl),Wi;let n=document.createElement("input");return Wi=new Set(Tl.filter(o=>(n.setAttribute("type",o),n.type===o))),Wi}let Ku,Oh,ha,Qp;function _o(n){return function wv(){if(null==Ku&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ku=!0}))}finally{Ku=Ku||!1}return Ku}()?n:!!n.capture}function R_(){if(null==ha){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ha=!1,ha;if("scrollBehavior"in document.documentElement.style)ha=!0;else{const n=Element.prototype.scrollTo;ha=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return ha}function Ml(){if("object"!=typeof document||!document)return 0;if(null==Oh){const n=document.createElement("div"),o=n.style;n.dir="rtl",o.width="1px",o.overflow="auto",o.visibility="hidden",o.pointerEvents="none",o.position="absolute";const e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),Oh=0,0===n.scrollLeft&&(n.scrollLeft=1,Oh=0===n.scrollLeft?1:2),n.remove()}return Oh}function Sl(n){if(function Av(){if(null==Qp){const n="undefined"!=typeof document?document.head:null;Qp=!(!n||!n.createShadowRoot&&!n.attachShadow)}return Qp}()){const o=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&o instanceof ShadowRoot)return o}return null}function kl(){let n="undefined"!=typeof document&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const o=n.shadowRoot.activeElement;if(o===n)break;n=o}return n}function yo(n){return n.composedPath?n.composedPath()[0]:n.target}function Zu(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const vv=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function Cv(){return(0,i.f3M)(b.K0)}}),$u=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Ti=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new i.vpe,e){const s=e.documentElement?e.documentElement.dir:null;this.value=function Tv(n){const o=(null==n?void 0:n.toLowerCase())||"";return"auto"===o&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?$u.test(navigator.language)?"rtl":"ltr":"rtl"===o?"rtl":"ltr"}((e.body?e.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(vv,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),El=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),Dl=(()=>{class n{constructor(e,t,s){this._ngZone=e,this._platform=t,this._scrolled=new ke.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Ui.y(t=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(bv(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ye.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const s=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,Kt.h)(a=>!a||s.indexOf(a)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((s,a)=>{this._scrollableContainsElement(a,e)&&t.push(a)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let s=ei(t),a=e.getElementRef().nativeElement;do{if(s==a)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>da(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(fi),i.LFG(b.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Wu=(()=>{class n{constructor(e,t,s,a){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=s,this.dir=a,this._destroyed=new ke.xQ,this._elementScrolled=new Ui.y(r=>this.ngZone.runOutsideAngular(()=>da(this.elementRef.nativeElement,"scroll").pipe($e(this._destroyed)).subscribe(r)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,s=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=s?e.end:e.start),null==e.right&&(e.right=s?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),s&&0!=Ml()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Ml()?e.left=e.right:1==Ml()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;R_()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",s="right",a=this.elementRef.nativeElement;if("top"==e)return a.scrollTop;if("bottom"==e)return a.scrollHeight-a.clientHeight-a.scrollTop;const r=this.dir&&"rtl"==this.dir.value;return"start"==e?e=r?s:t:"end"==e&&(e=r?t:s),r&&2==Ml()?e==t?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:r&&1==Ml()?e==t?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==t?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Dl),i.Y36(i.R0b),i.Y36(Ti,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),n})(),Hn=(()=>{class n{constructor(e,t,s){this._platform=e,this._change=new ke.xQ,this._changeListener=a=>{this._change.next(a)},this._document=s,t.runOutsideAngular(()=>{if(e.isBrowser){const a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+t,height:s,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),s=e.documentElement,a=s.getBoundingClientRect();return{top:-a.top||e.body.scrollTop||t.scrollY||s.scrollTop||0,left:-a.left||e.body.scrollLeft||t.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(bv(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi),i.LFG(i.R0b),i.LFG(b.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),An=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),fa=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El,hc,An],El,An]}),n})();class Ju{attach(o){return this._attachedHost=o,o.attach(this)}detach(){let o=this._attachedHost;null!=o&&(this._attachedHost=null,o.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(o){this._attachedHost=o}}class pa extends Ju{constructor(o,e,t,s){super(),this.component=o,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=s}}class Cr extends Ju{constructor(o,e,t){super(),this.templateRef=o,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(o,e=this.context){return this.context=e,super.attach(o)}detach(){return this.context=void 0,super.detach()}}class TM extends Ju{constructor(o){super(),this.element=o instanceof i.SBq?o.nativeElement:o}}class ga{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(o){return o instanceof pa?(this._attachedPortal=o,this.attachComponentPortal(o)):o instanceof Cr?(this._attachedPortal=o,this.attachTemplatePortal(o)):this.attachDomPortal&&o instanceof TM?(this._attachedPortal=o,this.attachDomPortal(o)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(o){this._disposeFn=o}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class O_ extends ga{constructor(o,e,t,s,a){super(),this.outletElement=o,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=s,this.attachDomPortal=r=>{const c=r.element,d=this._document.createComment("dom-portal");c.parentNode.insertBefore(d,c),this.outletElement.appendChild(c),this._attachedPortal=r,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(c,d)})},this._document=a}attachComponentPortal(o){const t=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component);let s;return o.viewContainerRef?(s=o.viewContainerRef.createComponent(t,o.viewContainerRef.length,o.injector||o.viewContainerRef.injector),this.setDisposeFn(()=>s.destroy())):(s=t.create(o.injector||this._defaultInjector),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=o,s}attachTemplatePortal(o){let e=o.viewContainerRef,t=e.createEmbeddedView(o.templateRef,o.context);return t.rootNodes.forEach(s=>this.outletElement.appendChild(s)),t.detectChanges(),this.setDisposeFn(()=>{let s=e.indexOf(t);-1!==s&&e.remove(s)}),this._attachedPortal=o,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(o){return o.hostView.rootNodes[0]}}let Xp=(()=>{class n extends Cr{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.s_b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.qOj]}),n})(),Tr=(()=>{class n extends ga{constructor(e,t,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=a=>{const r=a.element,c=this._document.createComment("dom-portal");a.setAttachedHost(this),r.parentNode.insertBefore(c,r),this._getRootNode().appendChild(r),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(r,c)})},this._document=s}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(a,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),n})(),xl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();var Mi=w(6787);class eg{constructor(o,e){this.predicate=o,this.inclusive=e}call(o,e){return e.subscribe(new F_(o,this.predicate,this.inclusive))}}class F_ extends Ls.L{constructor(o,e,t){super(o),this.predicate=e,this.inclusive=t,this.index=0}_next(o){const e=this.destination;let t;try{t=this.predicate(o,this.index++)}catch(s){return void e.error(s)}this.nextOrComplete(o,t)}nextOrComplete(o,e){const t=this.destination;Boolean(e)?t.next(o):(this.inclusive&&t.next(o),t.complete())}}function Ni(n,...o){return o.length?o.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}const ay=R_();class cy{constructor(o,e){this._viewportRuler=o,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const o=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=o.style.left||"",this._previousHTMLStyles.top=o.style.top||"",o.style.left=$i(-this._previousScrollPosition.left),o.style.top=$i(-this._previousScrollPosition.top),o.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const o=this._document.documentElement,t=o.style,s=this._document.body.style,a=t.scrollBehavior||"",r=s.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,o.classList.remove("cdk-global-scrollblock"),ay&&(t.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ay&&(t.scrollBehavior=a,s.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class ly{constructor(o,e,t,s){this._scrollDispatcher=o,this._ngZone=e,this._viewportRuler=t,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(o){this._overlayRef=o}enable(){if(this._scrollSubscription)return;const o=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=o.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=o.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class sg{enable(){}disable(){}attach(){}}function og(n,o){return o.some(e=>n.bottome.bottom||n.righte.right)}function rg(n,o){return o.some(e=>n.tope.bottom||n.lefte.right)}class Xv{constructor(o,e,t,s){this._scrollDispatcher=o,this._viewportRuler=e,this._ngZone=t,this._config=s,this._scrollSubscription=null}attach(o){this._overlayRef=o}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:s}=this._viewportRuler.getViewportSize();og(e,[{width:t,height:s,bottom:s,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let eC=(()=>{class n{constructor(e,t,s,a){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=s,this.noop=()=>new sg,this.close=r=>new ly(this._scrollDispatcher,this._ngZone,this._viewportRuler,r),this.block=()=>new cy(this._viewportRuler,this._document),this.reposition=r=>new Xv(this._scrollDispatcher,this._viewportRuler,this._ngZone,r),this._document=a}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Dl),i.LFG(Hn),i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class En{constructor(o){if(this.scrollStrategy=new sg,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,o){const e=Object.keys(o);for(const t of e)void 0!==o[t]&&(this[t]=o[t])}}}class oS{constructor(o,e){this.connectionPair=o,this.scrollableViewProperties=e}}class rS{constructor(o,e,t,s,a,r,c,d,h){this._portalOutlet=o,this._host=e,this._pane=t,this._config=s,this._ngZone=a,this._keyboardDispatcher=r,this._document=c,this._location=d,this._outsideClickDispatcher=h,this._backdropElement=null,this._backdropClick=new ke.xQ,this._attachments=new ke.xQ,this._detachments=new ke.xQ,this._locationChanges=P.w.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._keydownEvents=new ke.xQ,this._outsidePointerEvents=new ke.xQ,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(o){let e=this._portalOutlet.attach(o);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const o=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),o}dispose(){var o;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(o=this._host)||void 0===o||o.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(o){o!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=o,this.hasAttached()&&(o.attach(this),this.updatePosition()))}updateSize(o){this._config=Object.assign(Object.assign({},this._config),o),this._updateElementSize()}setDirection(o){this._config=Object.assign(Object.assign({},this._config),{direction:o}),this._updateElementDirection()}addPanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!0)}removePanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!1)}getDirection(){const o=this._config.direction;return o?"string"==typeof o?o:o.value:"ltr"}updateScrollStrategy(o){o!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=o,this.hasAttached()&&(o.attach(this),o.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const o=this._pane.style;o.width=$i(this._config.width),o.height=$i(this._config.height),o.minWidth=$i(this._config.minWidth),o.minHeight=$i(this._config.minHeight),o.maxWidth=$i(this._config.maxWidth),o.maxHeight=$i(this._config.maxHeight)}_togglePointerEvents(o){this._pane.style.pointerEvents=o?"":"none"}_attachBackdrop(){const o="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(o)})}):this._backdropElement.classList.add(o)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const o=this._backdropElement;if(!o)return;let e;const t=()=>{o&&(o.removeEventListener("click",this._backdropClickHandler),o.removeEventListener("transitionend",t),this._disposeBackdrop(o)),this._config.backdropClass&&this._toggleClasses(o,this._config.backdropClass,!1),clearTimeout(e)};o.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{o.addEventListener("transitionend",t)}),o.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(t,500))}_toggleClasses(o,e,t){const s=ua(e||[]).filter(a=>!!a);s.length&&(t?o.classList.add(...s):o.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const o=this._ngZone.onStable.pipe($e((0,Mi.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),o.unsubscribe())})})}_disposeScrollStrategy(){const o=this._scrollStrategy;o&&(o.disable(),o.detach&&o.detach())}_disposeBackdrop(o){o&&(o.remove(),this._backdropElement===o&&(this._backdropElement=null))}}let ag=(()=>{class n{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Zu()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const o=this._originRect,e=this._overlayRect,t=this._viewportRect,s=this._containerRect,a=[];let r;for(let c of this._preferredPositions){let d=this._getOriginPoint(o,s,c),h=this._getOverlayPoint(d,e,c),g=this._getOverlayFit(h,e,t,c);if(g.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,d);this._canFitWithFlexibleDimensions(g,h,t)?a.push({position:c,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,c)}):(!r||r.overlayFit.visibleAread&&(d=g,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_c(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(qh),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const o=this._lastPosition;if(o){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,o);this._applyPosition(o,e)}else this.apply()}withScrollableContainers(o){return this._scrollables=o,this}withPositions(o){return this._preferredPositions=o,-1===o.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(o){return this._viewportMargin=o,this}withFlexibleDimensions(o=!0){return this._hasFlexibleDimensions=o,this}withGrowAfterOpen(o=!0){return this._growAfterOpen=o,this}withPush(o=!0){return this._canPush=o,this}withLockedPosition(o=!0){return this._positionLocked=o,this}setOrigin(o){return this._origin=o,this}withDefaultOffsetX(o){return this._offsetX=o,this}withDefaultOffsetY(o){return this._offsetY=o,this}withTransformOriginOn(o){return this._transformOriginSelector=o,this}_getOriginPoint(o,e,t){let s,a;if("center"==t.originX)s=o.left+o.width/2;else{const r=this._isRtl()?o.right:o.left,c=this._isRtl()?o.left:o.right;s="start"==t.originX?r:c}return e.left<0&&(s-=e.left),a="center"==t.originY?o.top+o.height/2:"top"==t.originY?o.top:o.bottom,e.top<0&&(a-=e.top),{x:s,y:a}}_getOverlayPoint(o,e,t){let s,a;return s="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,a="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:o.x+s,y:o.y+a}}_getOverlayFit(o,e,t,s){const a=cg(e);let{x:r,y:c}=o,d=this._getOffset(s,"x"),h=this._getOffset(s,"y");d&&(r+=d),h&&(c+=h);let W=0-c,ce=c+a.height-t.height,we=this._subtractOverflows(a.width,0-r,r+a.width-t.width),Me=this._subtractOverflows(a.height,W,ce),Fe=we*Me;return{visibleArea:Fe,isCompletelyWithinViewport:a.width*a.height===Fe,fitsInViewportVertically:Me===a.height,fitsInViewportHorizontally:we==a.width}}_canFitWithFlexibleDimensions(o,e,t){if(this._hasFlexibleDimensions){const s=t.bottom-e.y,a=t.right-e.x,r=hy(this._overlayRef.getConfig().minHeight),c=hy(this._overlayRef.getConfig().minWidth),h=o.fitsInViewportHorizontally||null!=c&&c<=a;return(o.fitsInViewportVertically||null!=r&&r<=s)&&h}return!1}_pushOverlayOnScreen(o,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:o.x+this._previousPushAmount.x,y:o.y+this._previousPushAmount.y};const s=cg(e),a=this._viewportRect,r=Math.max(o.x+s.width-a.width,0),c=Math.max(o.y+s.height-a.height,0),d=Math.max(a.top-t.top-o.y,0),h=Math.max(a.left-t.left-o.x,0);let g=0,I=0;return g=s.width<=a.width?h||-r:o.xwe&&!this._isInitialRender&&!this._growAfterOpen&&(r=o.y-we/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)W=t.width-o.x+this._viewportMargin,g=o.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)I=o.x,g=t.right-o.x;else{const ce=Math.min(t.right-o.x+t.left,o.x),we=this._lastBoundingBoxSize.width;g=2*ce,I=o.x-ce,g>we&&!this._isInitialRender&&!this._growAfterOpen&&(I=o.x-we/2)}return{top:r,left:I,bottom:c,right:W,width:g,height:a}}_setBoundingBoxStyles(o,e){const t=this._calculateBoundingBoxRect(o,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const a=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;s.height=$i(t.height),s.top=$i(t.top),s.bottom=$i(t.bottom),s.width=$i(t.width),s.left=$i(t.left),s.right=$i(t.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",a&&(s.maxHeight=$i(a)),r&&(s.maxWidth=$i(r))}this._lastBoundingBoxSize=t,_c(this._boundingBox.style,s)}_resetBoundingBoxStyles(){_c(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_c(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(o,e){const t={},s=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(s){const g=this._viewportRuler.getViewportScrollPosition();_c(t,this._getExactOverlayY(e,o,g)),_c(t,this._getExactOverlayX(e,o,g))}else t.position="static";let c="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(c+=`translateX(${d}px) `),h&&(c+=`translateY(${h}px)`),t.transform=c.trim(),r.maxHeight&&(s?t.maxHeight=$i(r.maxHeight):a&&(t.maxHeight="")),r.maxWidth&&(s?t.maxWidth=$i(r.maxWidth):a&&(t.maxWidth="")),_c(this._pane.style,t)}_getExactOverlayY(o,e,t){let s={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),"bottom"===o.overlayY?s.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":s.top=$i(a.y),s}_getExactOverlayX(o,e,t){let r,s={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),r=this._isRtl()?"end"===o.overlayX?"left":"right":"end"===o.overlayX?"right":"left","right"===r?s.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":s.left=$i(a.x),s}_getScrollVisibility(){const o=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:rg(o,t),isOriginOutsideView:og(o,t),isOverlayClipped:rg(e,t),isOverlayOutsideView:og(e,t)}}_subtractOverflows(o,...e){return e.reduce((t,s)=>t-Math.max(s,0),o)}_getNarrowedViewportRect(){const o=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+o-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:o-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(o,e){return"x"===e?null==o.offsetX?this._offsetX:o.offsetX:null==o.offsetY?this._offsetY:o.offsetY}_validatePositions(){}_addPanelClasses(o){this._pane&&ua(o).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(o=>{this._pane.classList.remove(o)}),this._appliedPanelClasses=[])}_getOriginRect(){const o=this._origin;if(o instanceof i.SBq)return o.nativeElement.getBoundingClientRect();if(o instanceof Element)return o.getBoundingClientRect();const e=o.width||0,t=o.height||0;return{top:o.y,bottom:o.y+t,left:o.x,right:o.x+e,height:t,width:e}}}function _c(n,o){for(let e in o)o.hasOwnProperty(e)&&(n[e]=o[e]);return n}function hy(n){if("number"!=typeof n&&null!=n){const[o,e]=n.split(uy);return e&&"px"!==e?null:parseFloat(o)}return n||null}function cg(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const fy="cdk-global-overlay-wrapper";class py{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(o){const e=o.getConfig();this._overlayRef=o,this._width&&!e.width&&o.updateSize({width:this._width}),this._height&&!e.height&&o.updateSize({height:this._height}),o.hostElement.classList.add(fy),this._isDisposed=!1}top(o=""){return this._bottomOffset="",this._topOffset=o,this._alignItems="flex-start",this}left(o=""){return this._rightOffset="",this._leftOffset=o,this._justifyContent="flex-start",this}bottom(o=""){return this._topOffset="",this._bottomOffset=o,this._alignItems="flex-end",this}right(o=""){return this._leftOffset="",this._rightOffset=o,this._justifyContent="flex-end",this}width(o=""){return this._overlayRef?this._overlayRef.updateSize({width:o}):this._width=o,this}height(o=""){return this._overlayRef?this._overlayRef.updateSize({height:o}):this._height=o,this}centerHorizontally(o=""){return this.left(o),this._justifyContent="center",this}centerVertically(o=""){return this.top(o),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:s,height:a,maxWidth:r,maxHeight:c}=t,d=!("100%"!==s&&"100vw"!==s||r&&"100%"!==r&&"100vw"!==r),h=!("100%"!==a&&"100vh"!==a||c&&"100%"!==c&&"100vh"!==c);o.position=this._cssPosition,o.marginLeft=d?"0":this._leftOffset,o.marginTop=h?"0":this._topOffset,o.marginBottom=this._bottomOffset,o.marginRight=this._rightOffset,d?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(fy),t.justifyContent=t.alignItems=o.marginTop=o.marginBottom=o.marginLeft=o.marginRight=o.position="",this._overlayRef=null,this._isDisposed=!0}}let iC=(()=>{class n{constructor(e,t,s,a){this._viewportRuler=e,this._document=t,this._platform=s,this._overlayContainer=a}global(){return new py}flexibleConnectedTo(e){return new dy(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Hn),i.LFG(b.K0),i.LFG(fi),i.LFG(ag))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gy=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),my=(()=>{class n extends gy{constructor(e){super(e),this._keydownListener=t=>{const s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){s[a]._keydownEvents.next(t);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),_y=(()=>{class n extends gy{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=yo(s)},this._clickListener=s=>{const a=yo(s),r="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){const h=c[d];if(!(h._outsidePointerEvents.observers.length<1)&&h.hasAttached()){if(h.overlayElement.contains(a)||h.overlayElement.contains(r))break;h._outsidePointerEvents.next(s)}}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),nC=0,Ji=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I,W){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=s,this._positionBuilder=a,this._keyboardDispatcher=r,this._injector=c,this._ngZone=d,this._document=h,this._directionality=g,this._location=I,this._outsideClickDispatcher=W}create(e){const t=this._createHostElement(),s=this._createPaneElement(t),a=this._createPortalOutlet(s),r=new En(e);return r.direction=r.direction||this._directionality.value,new rS(a,t,s,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+nC++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(i.z2F)),new O_(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(eC),i.LFG(ag),i.LFG(i._Vd),i.LFG(iC),i.LFG(my),i.LFG(i.zs3),i.LFG(i.R0b),i.LFG(b.K0),i.LFG(Ti),i.LFG(b.Ye),i.LFG(_y))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const lg=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],yy=new i.OlP("cdk-connected-overlay-scroll-strategy");let by=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),sC=(()=>{class n{constructor(e,t,s,a,r){this._overlay=e,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=P.w.EMPTY,this._attachSubscription=P.w.EMPTY,this._detachSubscription=P.w.EMPTY,this._positionSubscription=P.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new i.vpe,this.positionChange=new i.vpe,this.attach=new i.vpe,this.detach=new i.vpe,this.overlayKeydown=new i.vpe,this.overlayOutsideClick=new i.vpe,this._templatePortal=new Cr(t,s),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ne(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Ne(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Ne(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Ne(e)}get push(){return this._push}set push(e){this._push=Ne(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=lg);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),27===t.keyCode&&!this.disableClose&&!Ni(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new En({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof by?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function H_(n,o=!1){return e=>e.lift(new eg(n,o))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ji),i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(yy),i.Y36(Ti,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[i.TTD]}),n})();const oC={provide:yy,deps:[Ji],useFactory:function wy(n){return()=>n.scrollStrategies.reposition()}};let id=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Ji,oC],imports:[[El,xl,fa],fa]}),n})();var nd=w(13);function Ay(n){return o=>o.lift(new Kh(n))}class Kh{constructor(o){this.total=o}call(o,e){return e.subscribe(new ug(o,this.total))}}class ug extends Ls.L{constructor(o,e){super(o),this.total=e,this.count=0}_next(o){++this.count>this.total&&this.destination.next(o)}}function yc(n,o){return e=>e.lift(new dg(n,o))}class dg{constructor(o,e){this.compare=o,this.keySelector=e}call(o,e){return e.subscribe(new hg(o,this.compare,this.keySelector))}}class hg extends Ls.L{constructor(o,e,t){super(o),this.keySelector=t,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(o,e){return o===e}_next(o){let e;try{const{keySelector:s}=this;e=s?s(o):o}catch(s){return this.destination.error(s)}let t=!1;if(this.hasKey)try{const{compare:s}=this;t=s(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;t||(this.key=e,this.destination.next(o))}}let fg=(()=>{class n{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vy=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=ei(e);return new Ui.y(s=>{const r=this._observeElement(t).subscribe(s);return()=>{r.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new ke.xQ,s=this._mutationObserverFactory.create(a=>t.next(a));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:s}=this._observedElements.get(e);t&&t.disconnect(),s.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fg))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),pg=(()=>{class n{constructor(e,t,s){this._contentObserver=e,this._elementRef=t,this._ngZone=s,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Ne(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Zi(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe((0,nd.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(vy),i.Y36(i.SBq),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),Pl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[fg]}),n})();function sd(n,o){return(n.getAttribute(o)||"").match(/\S+/g)||[]}const gg="cdk-describedby-message",od="cdk-describedby-host";let Zo=0,rd=(()=>{class n{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Zo++,this._document=e}describe(e,t,s){if(!this._canBeDescribed(e,t))return;const a=mg(t,s);"string"!=typeof t?(Ty(t),this._messageRegistry.set(a,{messageElement:t,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(t,s),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,t,s){var a;if(!t||!this._isElementNode(e))return;const r=mg(t,s);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),"string"==typeof t){const c=this._messageRegistry.get(r);c&&0===c.referenceCount&&this._deleteMessageElement(r)}0===(null===(a=this._messagesContainer)||void 0===a?void 0:a.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${od}="${this._id}"]`);for(let s=0;s0!=s.indexOf(gg));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const s=this._messageRegistry.get(t);(function aC(n,o,e){const t=sd(n,o);t.some(s=>s.trim()==e.trim())||(t.push(e.trim()),n.setAttribute(o,t.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(od,this._id),s.referenceCount++}_removeMessageReference(e,t){const s=this._messageRegistry.get(t);s.referenceCount--,function Cy(n,o,e){const s=sd(n,o).filter(a=>a!=e.trim());s.length?n.setAttribute(o,s.join(" ")):n.removeAttribute(o)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(od)}_isElementDescribedByMessage(e,t){const s=sd(e,"aria-describedby"),a=this._messageRegistry.get(t),r=a&&a.messageElement.id;return!!r&&-1!=s.indexOf(r)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const s=null==t?"":`${t}`.trim(),a=e.getAttribute("aria-label");return!(!s||a&&a.trim()===s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function mg(n,o){return"string"==typeof n?`${o||""}/${n}`:n}function Ty(n){n.id||(n.id=`${gg}-${Zo++}`)}class lC{constructor(o){this._items=o,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ke.xQ,this._typeaheadSubscription=P.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new ke.xQ,this.change=new ke.xQ,o instanceof i.n_E&&o.changes.subscribe(e=>{if(this._activeItem){const s=e.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}})}skipPredicate(o){return this._skipPredicateFn=o,this}withWrap(o=!0){return this._wrap=o,this}withVerticalOrientation(o=!0){return this._vertical=o,this}withHorizontalOrientation(o){return this._horizontal=o,this}withAllowedModifierKeys(o){return this._allowedModifierKeys=o,this}withTypeAhead(o=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,on.b)(e=>this._pressedLetters.push(e)),(0,nd.b)(o),(0,Kt.h)(()=>this._pressedLetters.length>0),(0,at.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let s=1;s!o[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||Ni(o,"shiftKey"))&&(o.key&&1===o.key.length?this._letterKeyStream.next(o.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],o.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(o){const e=this._getItemsArray(),t="number"==typeof o?o:e.indexOf(o),s=e[t];this._activeItem=null==s?null:s,this._activeItemIndex=t}_setActiveItemByDelta(o){this._wrap?this._setActiveInWrapMode(o):this._setActiveInDefaultMode(o)}_setActiveInWrapMode(o){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const s=(this._activeItemIndex+o*t+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(o){this._setActiveItemByIndex(this._activeItemIndex+o,o)}_setActiveItemByIndex(o,e){const t=this._getItemsArray();if(t[o]){for(;this._skipPredicateFn(t[o]);)if(!t[o+=e])return;this.setActiveItem(o)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}class _g extends lC{setActiveItem(o){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(o),this.activeItem&&this.activeItem.setActiveStyles()}}class bc extends lC{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(o){return this._origin=o,this}setActiveItem(o){super.setActiveItem(o),this.activeItem&&this.activeItem.focus(this._origin)}}let wc=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function yg(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function uC(n){try{return n.frameElement}catch(o){return null}}(function Py(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===xy(t)||!this.isVisible(t)))return!1;let s=e.nodeName.toLowerCase(),a=xy(e);return e.hasAttribute("contenteditable")?-1!==a:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function Ry(n){let o=n.nodeName.toLowerCase(),e="input"===o&&n.type;return"text"===e||"password"===e||"select"===o||"textarea"===o}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==a:"video"===s?-1!==a&&(null!==a||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function Ll(n){return!function ky(n){return function dC(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function Sy(n){let o=n.nodeName.toLowerCase();return"input"===o||"select"===o||"button"===o||"textarea"===o}(n)||function Ey(n){return function bg(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||Dy(n))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Dy(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let o=n.getAttribute("tabindex");return!(!o||isNaN(parseInt(o,10)))}function xy(n){if(!Dy(n))return null;const o=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(o)?-1:o}class hC{constructor(o,e,t,s,a=!1){this._element=o,this._checker=e,this._ngZone=t,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(o){this._enabled=o,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}destroy(){const o=this._startAnchor,e=this._endAnchor;o&&(o.removeEventListener("focus",this.startAnchorListener),o.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(o)))})}focusFirstTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(o)))})}focusLastTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(o)))})}_getRegionBoundary(o){const e=this._element.querySelectorAll(`[cdk-focus-region-${o}], [cdkFocusRegion${o}], [cdk-focus-${o}]`);return"start"==o?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(o){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(o),!!t}return e.focus(o),!0}return this.focusFirstTabbableElement(o)}focusFirstTabbableElement(o){const e=this._getRegionBoundary("start");return e&&e.focus(o),!!e}focusLastTabbableElement(o){const e=this._getRegionBoundary("end");return e&&e.focus(o),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(o){if(this._checker.isFocusable(o)&&this._checker.isTabbable(o))return o;const e=o.children;for(let t=0;t=0;t--){const s=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(s)return s}return null}_createAnchor(){const o=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,o),o.classList.add("cdk-visually-hidden"),o.classList.add("cdk-focus-trap-anchor"),o.setAttribute("aria-hidden","true"),o}_toggleAnchorTabIndex(o,e){o?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(o){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}_executeOnStable(o){this._ngZone.isStable?o():this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(o)}}let wg=(()=>{class n{constructor(e,t,s){this._checker=e,this._ngZone=t,this._document=s}create(e,t=!1){return new hC(e,this._checker,this._ngZone,this._document,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(wc),i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Il=(()=>{class n{constructor(e,t,s){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=Ne(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=Ne(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=kl(),this.focusTrap.focusInitialElementWhenReady()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(wg),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[i.TTD]}),n})();function Ol(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function ad(n){const o=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!o||-1!==o.identifier||null!=o.radiusX&&1!==o.radiusX||null!=o.radiusY&&1!==o.radiusY)}const Ly=new i.OlP("cdk-input-modality-detector-options"),Iy={ignoreKeys:[18,17,224,91,16]},Hl=_o({passive:!0,capture:!0});let fC=(()=>{class n{constructor(e,t,s,a){this._platform=e,this._mostRecentTarget=null,this._modality=new ji(null),this._lastTouchMs=0,this._onKeydown=r=>{var c,d;(null===(d=null===(c=this._options)||void 0===c?void 0:c.ignoreKeys)||void 0===d?void 0:d.some(h=>h===r.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=yo(r))},this._onMousedown=r=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ol(r)?"keyboard":"mouse"),this._mostRecentTarget=yo(r))},this._onTouchstart=r=>{ad(r)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=yo(r))},this._options=Object.assign(Object.assign({},Iy),a),this.modalityDetected=this._modality.pipe(Ay(1)),this.modalityChanged=this.modalityDetected.pipe(yc()),e.isBrowser&&t.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,Hl),s.addEventListener("mousedown",this._onMousedown,Hl),s.addEventListener("touchstart",this._onTouchstart,Hl)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Hl),document.removeEventListener("mousedown",this._onMousedown,Hl),document.removeEventListener("touchstart",this._onTouchstart,Hl))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi),i.LFG(i.R0b),i.LFG(b.K0),i.LFG(Ly,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const pC=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function gC(){return null}}),Oy=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let mC=(()=>{class n{constructor(e,t,s,a){this._ngZone=t,this._defaultOptions=a,this._document=s,this._liveElement=e||this._createLiveElement()}announce(e,...t){const s=this._defaultOptions;let a,r;return 1===t.length&&"number"==typeof t[0]?r=t[0]:[a,r]=t,this.clear(),clearTimeout(this._previousTimeout),a||(a=s&&s.politeness?s.politeness:"polite"),null==r&&s&&(r=s.duration),this._liveElement.setAttribute("aria-live",a),this._ngZone.runOutsideAngular(()=>new Promise(c=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,c(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let a=0;a{class n{constructor(e,t,s,a){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=s,this._ngZone=a,this._politeness="polite"}get politeness(){return this._politeness}set politeness(e){this._politeness="off"===e||"assertive"===e?e:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(mC),i.Y36(vy),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),n})();const _C=new i.OlP("cdk-focus-monitor-default-options"),Zh=_o({passive:!0,capture:!0});let Ys=(()=>{class n{constructor(e,t,s,a,r){this._ngZone=e,this._platform=t,this._inputModalityDetector=s,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ke.xQ,this._rootNodeFocusAndBlurListener=c=>{const d=yo(c),h="focus"===c.type?this._onFocus:this._onBlur;for(let g=d;g;g=g.parentElement)h.call(this,c,g)},this._document=a,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(e,t=!1){const s=ei(e);if(!this._platform.isBrowser||1!==s.nodeType)return(0,Ye.of)(null);const a=Sl(s)||this._getDocument(),r=this._elementInfo.get(s);if(r)return t&&(r.checkChildren=!0),r.subject;const c={checkChildren:t,subject:new ke.xQ,rootNode:a};return this._elementInfo.set(s,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const t=ei(e),s=this._elementInfo.get(t);s&&(s.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(s))}focusVia(e,t,s){const a=ei(e);a===this._getDocument().activeElement?this._getClosestElementsInfo(a).forEach(([c,d])=>this._originChanged(c,t,d)):(this._setOrigin(t),"function"==typeof a.focus&&a.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&t,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,t){const s=this._elementInfo.get(t),a=yo(e);!s||!s.checkChildren&&t!==a||this._originChanged(t,this._getFocusOrigin(a),s)}_onBlur(e,t){const s=this._elementInfo.get(t);!s||s.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(s.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,s=this._rootNodeFocusListenerCount.get(t)||0;s||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Zh),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Zh)}),this._rootNodeFocusListenerCount.set(t,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe($e(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const s=this._rootNodeFocusListenerCount.get(t);s>1?this._rootNodeFocusListenerCount.set(t,s-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Zh),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Zh),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,s){this._setClasses(e,t),this._emitOrigin(s.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((s,a)=>{(a===e||s.checkChildren&&a.contains(e))&&t.push([a,s])}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(fi),i.LFG(fC),i.LFG(b.K0,8),i.LFG(_C,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),yC=(()=>{class n{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new i.vpe}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ys))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),n})();const $h="cdk-high-contrast-black-on-white",Fy="cdk-high-contrast-white-on-black",Wh="cdk-high-contrast-active";let vg=(()=>{class n{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,s=t&&t.getComputedStyle?t.getComputedStyle(e):null,a=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Wh),e.remove($h),e.remove(Fy),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(Wh),e.add($h)):2===t&&(e.add(Wh),e.add(Fy))}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),zy=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(vg))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[hc,Pl]]}),n})();class js{}const ya="*";function ti(n,o){return{type:7,name:n,definitions:o,options:{}}}function rt(n,o=null){return{type:4,styles:o,timings:n}}function Cg(n,o=null){return{type:3,steps:n,options:o}}function Ny(n,o=null){return{type:2,steps:n,options:o}}function De(n){return{type:6,styles:n,offset:null}}function _t(n,o,e){return{type:0,name:n,styles:o,options:e}}function Mr(n){return{type:5,steps:n}}function ht(n,o,e=null){return{type:1,expr:n,animation:o,options:e}}function Yy(n=null){return{type:9,options:n}}function Ao(n,o,e=null){return{type:11,selector:n,animation:o,options:e}}function jy(n){Promise.resolve(null).then(n)}class cd{constructor(o=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=o+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){jy(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(o){this._position=this.totalTime?o*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ld{constructor(o){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=o;let e=0,t=0,s=0;const a=this.players.length;0==a?jy(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++e==a&&this._onFinish()}),r.onDestroy(()=>{++t==a&&this._onDestroy()}),r.onStart(()=>{++s==a&&this._onStart()})}),this.totalTime=this.players.reduce((r,c)=>Math.max(r,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this.players.forEach(o=>o.init())}onStart(o){this._onStartFns.push(o)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(o=>o()),this._onStartFns=[])}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(o=>o.play())}pause(){this.players.forEach(o=>o.pause())}restart(){this.players.forEach(o=>o.restart())}finish(){this._onFinish(),this.players.forEach(o=>o.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(o=>o.destroy()),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this.players.forEach(o=>o.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(o){const e=o*this.totalTime;this.players.forEach(t=>{const s=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(s)})}getPosition(){const o=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=o?o.getPosition():0}beforeDestroy(){this.players.forEach(o=>{o.beforeDestroy&&o.beforeDestroy()})}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function bC(){return"undefined"!=typeof window&&void 0!==window.document}function Ac(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function wa(n){switch(n.length){case 0:return new cd;case 1:return n[0];default:return new ld(n)}}function Uy(n,o,e,t,s={},a={}){const r=[],c=[];let d=-1,h=null;if(t.forEach(g=>{const I=g.offset,W=I==d,ce=W&&h||{};Object.keys(g).forEach(we=>{let Me=we,Fe=g[we];if("offset"!==we)switch(Me=o.normalizePropertyName(Me,r),Fe){case"!":Fe=s[we];break;case ya:Fe=a[we];break;default:Fe=o.normalizeStyleValue(we,Me,Fe,r)}ce[Me]=Fe}),W||c.push(ce),h=ce,d=I}),r.length){const g="\n - ";throw new Error(`Unable to animate due to the following errors:${g}${r.join(g)}`)}return c}function ud(n,o,e,t){switch(o){case"start":n.onStart(()=>t(e&&Us(e,"start",n)));break;case"done":n.onDone(()=>t(e&&Us(e,"done",n)));break;case"destroy":n.onDestroy(()=>t(e&&Us(e,"destroy",n)))}}function Us(n,o,e){const t=e.totalTime,a=vc(n.element,n.triggerName,n.fromState,n.toState,o||n.phaseName,null==t?n.totalTime:t,!!e.disabled),r=n._data;return null!=r&&(a._data=r),a}function vc(n,o,e,t,s="",a=0,r){return{element:n,triggerName:o,fromState:e,toState:t,phaseName:s,totalTime:a,disabled:!!r}}function ui(n,o,e){let t;return n instanceof Map?(t=n.get(o),t||n.set(o,t=e)):(t=n[o],t||(t=n[o]=e)),t}function Aa(n){const o=n.indexOf(":");return[n.substring(1,o),n.substr(o+1)]}let Fl=(n,o)=>!1,As=(n,o,e)=>[];(Ac()||"undefined"!=typeof Element)&&(Fl=bC()?(n,o)=>{for(;o&&o!==document.documentElement;){if(o===n)return!0;o=o.parentNode||o.host}return!1}:(n,o)=>n.contains(o),As=(n,o,e)=>{if(e)return Array.from(n.querySelectorAll(o));const t=n.querySelector(o);return t?[t]:[]});let Vs=null,Cc=!1;function Tc(n){Vs||(Vs=function Nl(){return"undefined"!=typeof document?document.body:null}()||{},Cc=!!Vs.style&&"WebkitAppearance"in Vs.style);let o=!0;return Vs.style&&!function zl(n){return"ebkit"==n.substring(1,6)}(n)&&(o=n in Vs.style,!o&&Cc&&(o="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in Vs.style)),o}const Mc=Fl,Sc=As;let kc=(()=>{class n{validateStyleProperty(e){return Tc(e)}matchesElement(e,t){return!1}containsElement(e,t){return Mc(e,t)}query(e,t,s){return Sc(e,t,s)}computeStyle(e,t,s){return s||""}animate(e,t,s,a,r,c=[],d){return new cd(s,a)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Jh=(()=>{class n{}return n.NOOP=new kc,n})();const Qh="ng-enter",hd="ng-leave",fd="ng-trigger",pd=".ng-trigger",Mg="ng-animating",Sg=".ng-animating";function va(n){if("number"==typeof n)return n;const o=n.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:kg(parseFloat(o[1]),o[2])}function kg(n,o){return"s"===o?1e3*n:n}function gd(n,o,e){return n.hasOwnProperty("duration")?n:function Ky(n,o,e){let s,a=0,r="";if("string"==typeof n){const c=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return o.push(`The provided timing value "${n}" is invalid.`),{duration:0,delay:0,easing:""};s=kg(parseFloat(c[1]),c[2]);const d=c[3];null!=d&&(a=kg(parseFloat(d),c[4]));const h=c[5];h&&(r=h)}else s=n;if(!e){let c=!1,d=o.length;s<0&&(o.push("Duration values below 0 are not allowed for this animation step."),c=!0),a<0&&(o.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&o.splice(d,0,`The provided timing value "${n}" is invalid.`)}return{duration:s,delay:a,easing:r}}(n,o,e)}function Bl(n,o={}){return Object.keys(n).forEach(e=>{o[e]=n[e]}),o}function Sr(n,o,e={}){if(o)for(let t in n)e[t]=n[t];else Bl(n,e);return e}function $y(n,o,e){return e?o+":"+e+";":""}function Eg(n){let o="";for(let e=0;e{const s=Wy(t);e&&!e.hasOwnProperty(t)&&(e[t]=n.style[s]),n.style[s]=o[t]}),Ac()&&Eg(n))}function Ec(n,o){n.style&&(Object.keys(o).forEach(e=>{const t=Wy(e);n.style[t]=""}),Ac()&&Eg(n))}function Xh(n){return Array.isArray(n)?1==n.length?n[0]:Ny(n):n}const md=new RegExp("{{\\s*(.+?)\\s*}}","g");function ef(n){let o=[];if("string"==typeof n){let e;for(;e=md.exec(n);)o.push(e[1]);md.lastIndex=0}return o}function tf(n,o,e){const t=n.toString(),s=t.replace(md,(a,r)=>{let c=o[r];return o.hasOwnProperty(r)||(e.push(`Please provide a value for the animation param ${r}`),c=""),c.toString()});return s==t?n:s}function Dg(n){const o=[];let e=n.next();for(;!e.done;)o.push(e.value),e=n.next();return o}const gS=/-+([a-z0-9])/g;function Wy(n){return n.replace(gS,(...o)=>o[1].toUpperCase())}function AC(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function vs(n,o,e){switch(o.type){case 7:return n.visitTrigger(o,e);case 0:return n.visitState(o,e);case 1:return n.visitTransition(o,e);case 2:return n.visitSequence(o,e);case 3:return n.visitGroup(o,e);case 4:return n.visitAnimate(o,e);case 5:return n.visitKeyframes(o,e);case 6:return n.visitStyle(o,e);case 8:return n.visitReference(o,e);case 9:return n.visitAnimateChild(o,e);case 10:return n.visitAnimateRef(o,e);case 11:return n.visitQuery(o,e);case 12:return n.visitStagger(o,e);default:throw new Error(`Unable to resolve animation metadata node #${o.type}`)}}function Dc(n,o){return window.getComputedStyle(n)[o]}function Qy(n,o){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(t=>function vC(n,o,e){if(":"==n[0]){const d=function Xy(n,o){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(n,e);if("function"==typeof d)return void o.push(d);n=d}const t=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${n}" is not supported`),o;const s=t[1],a=t[2],r=t[3];o.push(xg(s,r));"<"==a[0]&&!("*"==s&&"*"==r)&&o.push(xg(r,s))}(t,e,o)):e.push(n),e}const xc=new Set(["true","1"]),sf=new Set(["false","0"]);function xg(n,o){const e=xc.has(n)||sf.has(n),t=xc.has(o)||sf.has(o);return(s,a)=>{let r="*"==n||n==s,c="*"==o||o==a;return!r&&e&&"boolean"==typeof s&&(r=s?xc.has(n):sf.has(n)),!c&&t&&"boolean"==typeof a&&(c=a?xc.has(o):sf.has(o)),r&&c}}const CC=new RegExp("s*:selfs*,?","g");function Rg(n,o,e){return new TC(n).build(o,e)}class TC{constructor(o){this._driver=o}build(o,e){const t=new nb(e);return this._resetContextStyleTimingState(t),vs(this,Xh(o),t)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles={},o.collectedStyles[""]={},o.currentTime=0}visitTrigger(o,e){let t=e.queryCount=0,s=e.depCount=0;const a=[],r=[];return"@"==o.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),o.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const d=c,h=d.name;h.toString().split(/\s*,\s*/).forEach(g=>{d.name=g,a.push(this.visitState(d,e))}),d.name=h}else if(1==c.type){const d=this.visitTransition(c,e);t+=d.queryCount,s+=d.depCount,r.push(d)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:o.name,states:a,transitions:r,queryCount:t,depCount:s,options:null}}visitState(o,e){const t=this.visitStyle(o.styles,e),s=o.options&&o.options.params||null;if(t.containsDynamicStyles){const a=new Set,r=s||{};if(t.styles.forEach(c=>{if(Yl(c)){const d=c;Object.keys(d).forEach(h=>{ef(d[h]).forEach(g=>{r.hasOwnProperty(g)||a.add(g)})})}}),a.size){const c=Dg(a.values());e.errors.push(`state("${o.name}", ...) must define default values for all the following style substitutions: ${c.join(", ")}`)}}return{type:0,name:o.name,style:t,options:s?{params:s}:null}}visitTransition(o,e){e.queryCount=0,e.depCount=0;const t=vs(this,Xh(o.animation),e);return{type:1,matchers:Qy(o.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:kr(o.options)}}visitSequence(o,e){return{type:2,steps:o.steps.map(t=>vs(this,t,e)),options:kr(o.options)}}visitGroup(o,e){const t=e.currentTime;let s=0;const a=o.steps.map(r=>{e.currentTime=t;const c=vs(this,r,e);return s=Math.max(s,e.currentTime),c});return e.currentTime=s,{type:3,steps:a,options:kr(o.options)}}visitAnimate(o,e){const t=function _S(n,o){let e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return Pg(gd(n,o).duration,0,"");const t=n;if(t.split(/\s+/).some(a=>"{"==a.charAt(0)&&"{"==a.charAt(1))){const a=Pg(0,0,"");return a.dynamic=!0,a.strValue=t,a}return e=e||gd(t,o),Pg(e.duration,e.delay,e.easing)}(o.timings,e.errors);e.currentAnimateTimings=t;let s,a=o.styles?o.styles:De({});if(5==a.type)s=this.visitKeyframes(a,e);else{let r=o.styles,c=!1;if(!r){c=!0;const h={};t.easing&&(h.easing=t.easing),r=De(h)}e.currentTime+=t.duration+t.delay;const d=this.visitStyle(r,e);d.isEmptyStep=c,s=d}return e.currentAnimateTimings=null,{type:4,timings:t,style:s,options:null}}visitStyle(o,e){const t=this._makeStyleAst(o,e);return this._validateStyleAst(t,e),t}_makeStyleAst(o,e){const t=[];Array.isArray(o.styles)?o.styles.forEach(r=>{"string"==typeof r?r==ya?t.push(r):e.errors.push(`The provided style string value ${r} is not allowed.`):t.push(r)}):t.push(o.styles);let s=!1,a=null;return t.forEach(r=>{if(Yl(r)){const c=r,d=c.easing;if(d&&(a=d,delete c.easing),!s)for(let h in c)if(c[h].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:t,easing:a,offset:o.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(o,e){const t=e.currentAnimateTimings;let s=e.currentTime,a=e.currentTime;t&&a>0&&(a-=t.duration+t.delay),o.styles.forEach(r=>{"string"!=typeof r&&Object.keys(r).forEach(c=>{if(!this._driver.validateStyleProperty(c))return void e.errors.push(`The provided animation property "${c}" is not a supported CSS property for animations`);const d=e.collectedStyles[e.currentQuerySelector],h=d[c];let g=!0;h&&(a!=s&&a>=h.startTime&&s<=h.endTime&&(e.errors.push(`The CSS property "${c}" that exists between the times of "${h.startTime}ms" and "${h.endTime}ms" is also being animated in a parallel animation between the times of "${a}ms" and "${s}ms"`),g=!1),a=h.startTime),g&&(d[c]={startTime:a,endTime:s}),e.options&&function wC(n,o,e){const t=o.params||{},s=ef(n);s.length&&s.forEach(a=>{t.hasOwnProperty(a)||e.push(`Unable to resolve the local animation param ${a} in the given list of values`)})}(r[c],e.options,e.errors)})})}visitKeyframes(o,e){const t={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),t;let a=0;const r=[];let c=!1,d=!1,h=0;const g=o.steps.map(Ht=>{const Jt=this._makeStyleAst(Ht,e);let Lt=null!=Jt.offset?Jt.offset:function sb(n){if("string"==typeof n)return null;let o=null;if(Array.isArray(n))n.forEach(e=>{if(Yl(e)&&e.hasOwnProperty("offset")){const t=e;o=parseFloat(t.offset),delete t.offset}});else if(Yl(n)&&n.hasOwnProperty("offset")){const e=n;o=parseFloat(e.offset),delete e.offset}return o}(Jt.styles),oi=0;return null!=Lt&&(a++,oi=Jt.offset=Lt),d=d||oi<0||oi>1,c=c||oi0&&a{const Lt=W>0?Jt==ce?1:W*Jt:r[Jt],oi=Lt*Fe;e.currentTime=we+Me.delay+oi,Me.duration=oi,this._validateStyleAst(Ht,e),Ht.offset=Lt,t.styles.push(Ht)}),t}visitReference(o,e){return{type:8,animation:vs(this,Xh(o.animation),e),options:kr(o.options)}}visitAnimateChild(o,e){return e.depCount++,{type:9,options:kr(o.options)}}visitAnimateRef(o,e){return{type:10,animation:this.visitReference(o.animation,e),options:kr(o.options)}}visitQuery(o,e){const t=e.currentQuerySelector,s=o.options||{};e.queryCount++,e.currentQuery=o;const[a,r]=function ib(n){const o=!!n.split(/\s*,\s*/).find(e=>":self"==e);return o&&(n=n.replace(CC,"")),n=n.replace(/@\*/g,pd).replace(/@\w+/g,e=>pd+"-"+e.substr(1)).replace(/:animating/g,Sg),[n,o]}(o.selector);e.currentQuerySelector=t.length?t+" "+a:a,ui(e.collectedStyles,e.currentQuerySelector,{});const c=vs(this,Xh(o.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:a,limit:s.limit||0,optional:!!s.optional,includeSelf:r,animation:c,originalSelector:o.selector,options:kr(o.options)}}visitStagger(o,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===o.timings?{duration:0,delay:0,easing:"full"}:gd(o.timings,e.errors,!0);return{type:12,animation:vs(this,Xh(o.animation),e),timings:t,options:null}}}class nb{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Yl(n){return!Array.isArray(n)&&"object"==typeof n}function kr(n){return n?(n=Bl(n)).params&&(n.params=function MC(n){return n?Bl(n):null}(n.params)):n={},n}function Pg(n,o,e){return{duration:n,delay:o,easing:e}}function ob(n,o,e,t,s,a,r=null,c=!1){return{type:1,element:n,keyframes:o,preStyleProps:e,postStyleProps:t,duration:s,delay:a,totalTime:s+a,easing:r,subTimeline:c}}class Ca{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,e){let t=this._map.get(o);t||this._map.set(o,t=[]),t.push(...e)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Ig=new RegExp(":enter","g"),Og=new RegExp(":leave","g");function _d(n,o,e,t,s,a={},r={},c,d,h=[]){return(new ab).buildKeyframes(n,o,e,t,s,a,r,c,d,h)}class ab{buildKeyframes(o,e,t,s,a,r,c,d,h,g=[]){h=h||new Ca;const I=new Fg(o,e,h,s,a,g,[]);I.options=d,I.currentTimeline.setStyles([r],null,I.errors,d),vs(this,t,I);const W=I.timelines.filter(ce=>ce.containsAnimation());if(Object.keys(c).length){let ce;for(let we=W.length-1;we>=0;we--){const Me=W[we];if(Me.element===e){ce=Me;break}}ce&&!ce.allowOnlyTimelineStyles()&&ce.setStyles([c],null,I.errors,d)}return W.length?W.map(ce=>ce.buildKeyframes()):[ob(e,[],[],[],0,0,"",!1)]}visitTrigger(o,e){}visitState(o,e){}visitTransition(o,e){}visitAnimateChild(o,e){const t=e.subInstructions.get(e.element);if(t){const s=e.createSubContext(o.options),a=e.currentTimeline.currentTime,r=this._visitSubInstructions(t,s,s.options);a!=r&&e.transformIntoNewTimeline(r)}e.previousNode=o}visitAnimateRef(o,e){const t=e.createSubContext(o.options);t.transformIntoNewTimeline(),this.visitReference(o.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=o}_visitSubInstructions(o,e,t){let a=e.currentTimeline.currentTime;const r=null!=t.duration?va(t.duration):null,c=null!=t.delay?va(t.delay):null;return 0!==r&&o.forEach(d=>{const h=e.appendInstructionToTimeline(d,r,c);a=Math.max(a,h.duration+h.delay)}),a}visitReference(o,e){e.updateOptions(o.options,!0),vs(this,o.animation,e),e.previousNode=o}visitSequence(o,e){const t=e.subContextCount;let s=e;const a=o.options;if(a&&(a.params||a.delay)&&(s=e.createSubContext(a),s.transformIntoNewTimeline(),null!=a.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Hg);const r=va(a.delay);s.delayNextStep(r)}o.steps.length&&(o.steps.forEach(r=>vs(this,r,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>t&&s.transformIntoNewTimeline()),e.previousNode=o}visitGroup(o,e){const t=[];let s=e.currentTimeline.currentTime;const a=o.options&&o.options.delay?va(o.options.delay):0;o.steps.forEach(r=>{const c=e.createSubContext(o.options);a&&c.delayNextStep(a),vs(this,r,c),s=Math.max(s,c.currentTimeline.currentTime),t.push(c.currentTimeline)}),t.forEach(r=>e.currentTimeline.mergeTimelineCollectedStyles(r)),e.transformIntoNewTimeline(s),e.previousNode=o}_visitTiming(o,e){if(o.dynamic){const t=o.strValue;return gd(e.params?tf(t,e.params,e.errors):t,e.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,e){const t=e.currentAnimateTimings=this._visitTiming(o.timings,e),s=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),s.snapshotCurrentStyles());const a=o.style;5==a.type?this.visitKeyframes(a,e):(e.incrementTime(t.duration),this.visitStyle(a,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=o}visitStyle(o,e){const t=e.currentTimeline,s=e.currentAnimateTimings;!s&&t.getCurrentStyleProperties().length&&t.forwardFrame();const a=s&&s.easing||o.easing;o.isEmptyStep?t.applyEmptyStep(a):t.setStyles(o.styles,a,e.errors,e.options),e.previousNode=o}visitKeyframes(o,e){const t=e.currentAnimateTimings,s=e.currentTimeline.duration,a=t.duration,c=e.createSubContext().currentTimeline;c.easing=t.easing,o.styles.forEach(d=>{c.forwardTime((d.offset||0)*a),c.setStyles(d.styles,d.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(s+a),e.previousNode=o}visitQuery(o,e){const t=e.currentTimeline.currentTime,s=o.options||{},a=s.delay?va(s.delay):0;a&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Hg);let r=t;const c=e.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=c.length;let d=null;c.forEach((h,g)=>{e.currentQueryIndex=g;const I=e.createSubContext(o.options,h);a&&I.delayNextStep(a),h===e.element&&(d=I.currentTimeline),vs(this,o.animation,I),I.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,I.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=o}visitStagger(o,e){const t=e.parentContext,s=e.currentTimeline,a=o.timings,r=Math.abs(a.duration),c=r*(e.currentQueryTotal-1);let d=r*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":d=c-d;break;case"full":d=t.currentStaggerTime}const g=e.currentTimeline;d&&g.delayNextStep(d);const I=g.currentTime;vs(this,o.animation,e),e.previousNode=o,t.currentStaggerTime=s.currentTime-I+(s.startTime-t.currentTimeline.startTime)}}const Hg={};class Fg{constructor(o,e,t,s,a,r,c,d){this._driver=o,this.element=e,this.subInstructions=t,this._enterClassName=s,this._leaveClassName=a,this.errors=r,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Hg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new jl(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,e){if(!o)return;const t=o;let s=this.options;null!=t.duration&&(s.duration=va(t.duration)),null!=t.delay&&(s.delay=va(t.delay));const a=t.params;if(a){let r=s.params;r||(r=this.options.params={}),Object.keys(a).forEach(c=>{(!e||!r.hasOwnProperty(c))&&(r[c]=tf(a[c],r,this.errors))})}}_copyOptions(){const o={};if(this.options){const e=this.options.params;if(e){const t=o.params={};Object.keys(e).forEach(s=>{t[s]=e[s]})}}return o}createSubContext(o=null,e,t){const s=e||this.element,a=new Fg(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,t||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(o),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(o){return this.previousNode=Hg,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,e,t){const s={duration:null!=e?e:o.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+o.delay,easing:""},a=new zg(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,s,o.stretchStartingKeyframe);return this.timelines.push(a),s}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,e,t,s,a,r){let c=[];if(s&&c.push(this.element),o.length>0){o=(o=o.replace(Ig,"."+this._enterClassName)).replace(Og,"."+this._leaveClassName);let h=this._driver.query(this.element,o,1!=t);0!==t&&(h=t<0?h.slice(h.length+t,h.length):h.slice(0,t)),c.push(...h)}return!a&&0==c.length&&r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),c}}class jl{constructor(o,e,t,s){this._driver=o,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+o),e&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,e){return this.applyStylesToKeyframe(),new jl(this._driver,o,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,e){this._localTimelineStyles[o]=e,this._globalTimelineStyles[o]=e,this._styleSummary[o]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&(this._previousKeyframe.easing=o),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||ya,this._currentKeyframe[e]=ya}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,e,t,s){e&&(this._previousKeyframe.easing=e);const a=s&&s.params||{},r=function cb(n,o){const e={};let t;return n.forEach(s=>{"*"===s?(t=t||Object.keys(o),t.forEach(a=>{e[a]=ya})):Sr(s,!1,e)}),e}(o,this._globalTimelineStyles);Object.keys(r).forEach(c=>{const d=tf(r[c],a,t);this._pendingStyles[c]=d,this._localTimelineStyles.hasOwnProperty(c)||(this._backFill[c]=this._globalTimelineStyles.hasOwnProperty(c)?this._globalTimelineStyles[c]:ya),this._updateStyle(c,d)})}applyStylesToKeyframe(){const o=this._pendingStyles,e=Object.keys(o);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=o[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(o=>{const e=this._localTimelineStyles[o];this._pendingStyles[o]=e,this._updateStyle(o,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let e in this._currentKeyframe)o.push(e);return o}mergeTimelineCollectedStyles(o){Object.keys(o._styleSummary).forEach(e=>{const t=this._styleSummary[e],s=o._styleSummary[e];(!t||s.time>t.time)&&this._updateStyle(e,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((c,d)=>{const h=Sr(c,!0);Object.keys(h).forEach(g=>{const I=h[g];"!"==I?o.add(g):I==ya&&e.add(g)}),t||(h.offset=d/this.duration),s.push(h)});const a=o.size?Dg(o.values()):[],r=e.size?Dg(e.values()):[];if(t){const c=s[0],d=Bl(c);c.offset=0,d.offset=1,s=[c,d]}return ob(this.element,s,a,r,this.duration,this.startTime,this.easing,!1)}}class zg extends jl{constructor(o,e,t,s,a,r,c=!1){super(o,e,r.delay),this.keyframes=t,this.preStyleProps=s,this.postStyleProps=a,this._stretchStartingKeyframe=c,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:e,duration:t,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const a=[],r=t+e,c=e/r,d=Sr(o[0],!1);d.offset=0,a.push(d);const h=Sr(o[0],!1);h.offset=Ng(c),a.push(h);const g=o.length-1;for(let I=1;I<=g;I++){let W=Sr(o[I],!1);W.offset=Ng((e+W.offset*t)/r),a.push(W)}t=r,e=0,s="",o=a}return ob(this.element,o,this.preStyleProps,this.postStyleProps,t,e,s,!0)}}function Ng(n,o=3){const e=Math.pow(10,o-1);return Math.round(n*e)/e}class rf{}class Bg extends rf{normalizePropertyName(o,e){return Wy(o)}normalizeStyleValue(o,e,t,s){let a="";const r=t.toString().trim();if(Yg[e]&&0!==t&&"0"!==t)if("number"==typeof t)a="px";else{const c=t.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&s.push(`Please provide a CSS unit value for ${o}:${t}`)}return r+a}}const Yg=(()=>function EC(n){const o={};return n.forEach(e=>o[e]=!0),o}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function jg(n,o,e,t,s,a,r,c,d,h,g,I,W){return{type:0,element:n,triggerName:o,isRemovalTransition:s,fromState:e,fromStyles:a,toState:t,toStyles:r,timelines:c,queriedElements:d,preStyleProps:h,postStyleProps:g,totalTime:I,errors:W}}const af={};class cf{constructor(o,e,t){this._triggerName=o,this.ast=e,this._stateStyles=t}match(o,e,t,s){return function ub(n,o,e,t,s){return n.some(a=>a(o,e,t,s))}(this.ast.matchers,o,e,t,s)}buildStyles(o,e,t){const s=this._stateStyles["*"],a=this._stateStyles[o],r=s?s.buildStyles(e,t):{};return a?a.buildStyles(e,t):r}build(o,e,t,s,a,r,c,d,h,g){const I=[],W=this.ast.options&&this.ast.options.params||af,we=this.buildStyles(t,c&&c.params||af,I),Me=d&&d.params||af,Fe=this.buildStyles(s,Me,I),Ht=new Set,Jt=new Map,Lt=new Map,oi="void"===s,au={params:Object.assign(Object.assign({},W),Me)},za=g?[]:_d(o,e,this.ast.animation,a,r,we,Fe,au,h,I);let Ds=0;if(za.forEach(tl=>{Ds=Math.max(tl.duration+tl.delay,Ds)}),I.length)return jg(e,this._triggerName,t,s,oi,we,Fe,[],[],Jt,Lt,Ds,I);za.forEach(tl=>{const il=tl.element,ED=ui(Jt,il,{});tl.preStyleProps.forEach(Jd=>ED[Jd]=!0);const b_=ui(Lt,il,{});tl.postStyleProps.forEach(Jd=>b_[Jd]=!0),il!==e&&Ht.add(il)});const el=Dg(Ht.values());return jg(e,this._triggerName,t,s,oi,we,Fe,za,el,Jt,Lt,Ds)}}class DC{constructor(o,e,t){this.styles=o,this.defaultParams=e,this.normalizer=t}buildStyles(o,e){const t={},s=Bl(this.defaultParams);return Object.keys(o).forEach(a=>{const r=o[a];null!=r&&(s[a]=r)}),this.styles.styles.forEach(a=>{if("string"!=typeof a){const r=a;Object.keys(r).forEach(c=>{let d=r[c];d.length>1&&(d=tf(d,s,e));const h=this.normalizer.normalizePropertyName(c,e);d=this.normalizer.normalizeStyleValue(c,h,d,e),t[h]=d})}}),t}}class hb{constructor(o,e,t){this.name=o,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(s=>{this.states[s.name]=new DC(s.style,s.options&&s.options.params||{},t)}),lf(this.states,"true","1"),lf(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new cf(o,s,this.states))}),this.fallbackTransition=function Ug(n,o,e){return new cf(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(r,c)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,e,t,s){return this.transitionFactories.find(r=>r.match(o,e,t,s))||null}matchStyles(o,e,t){return this.fallbackTransition.buildStyles(o,e,t)}}function lf(n,o,e){n.hasOwnProperty(o)?n.hasOwnProperty(e)||(n[e]=n[o]):n.hasOwnProperty(e)&&(n[o]=n[e])}const fb=new Ca;class pb{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(o,e){const t=[],s=Rg(this._driver,e,t);if(t.length)throw new Error(`Unable to build the animation due to the following errors: ${t.join("\n")}`);this._animations[o]=s}_buildPlayer(o,e,t){const s=o.element,a=Uy(0,this._normalizer,0,o.keyframes,e,t);return this._driver.animate(s,a,o.duration,o.delay,o.easing,[],!0)}create(o,e,t={}){const s=[],a=this._animations[o];let r;const c=new Map;if(a?(r=_d(this._driver,e,a,Qh,hd,{},{},t,fb,s),r.forEach(g=>{const I=ui(c,g.element,{});g.postStyleProps.forEach(W=>I[W]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),r=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);c.forEach((g,I)=>{Object.keys(g).forEach(W=>{g[W]=this._driver.computeStyle(I,W,ya)})});const h=wa(r.map(g=>{const I=c.get(g.element);return this._buildPlayer(g,{},I)}));return this._playersById[o]=h,h.onDestroy(()=>this.destroy(o)),this.players.push(h),h}destroy(o){const e=this._getPlayer(o);e.destroy(),delete this._playersById[o];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(o){const e=this._playersById[o];if(!e)throw new Error(`Unable to find the timeline player referenced by ${o}`);return e}listen(o,e,t,s){const a=vc(e,"","","");return ud(this._getPlayer(o),t,a,s),()=>{}}command(o,e,t,s){if("register"==t)return void this.register(o,s[0]);if("create"==t)return void this.create(o,e,s[0]||{});const a=this._getPlayer(o);switch(t){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(o)}}}const Vg="ng-animate-queued",uf="ng-animate-disabled",yS=[],bb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xC={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Cs="__ng_removed";class qg{constructor(o,e=""){this.namespaceId=e;const t=o&&o.hasOwnProperty("value");if(this.value=function wb(n){return null!=n?n:null}(t?o.value:o),t){const a=Bl(o);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const e=o.params;if(e){const t=this.options.params;Object.keys(e).forEach(s=>{null==t[s]&&(t[s]=e[s])})}}}const Li="void",df=new qg(Li);class RC{constructor(o,e,t){this.id=o,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,qs(e,this._hostClassName)}listen(o,e,t,s){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${t}" because the animation trigger "${e}" doesn't exist!`);if(null==t||0==t.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function Ul(n){return"start"==n||"done"==n}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const a=ui(this._elementListeners,o,[]),r={name:e,phase:t,callback:s};a.push(r);const c=ui(this._engine.statesByElement,o,{});return c.hasOwnProperty(e)||(qs(o,fd),qs(o,fd+"-"+e),c[e]=df),()=>{this._engine.afterFlush(()=>{const d=a.indexOf(r);d>=0&&a.splice(d,1),this._triggers[e]||delete c[e]})}}register(o,e){return!this._triggers[o]&&(this._triggers[o]=e,!0)}_getTrigger(o){const e=this._triggers[o];if(!e)throw new Error(`The provided animation trigger "${o}" has not been registered!`);return e}trigger(o,e,t,s=!0){const a=this._getTrigger(e),r=new hf(this.id,e,o);let c=this._engine.statesByElement.get(o);c||(qs(o,fd),qs(o,fd+"-"+e),this._engine.statesByElement.set(o,c={}));let d=c[e];const h=new qg(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&d&&h.absorbOptions(d.options),c[e]=h,d||(d=df),h.value!==Li&&d.value===h.value){if(!function Wo(n,o){const e=Object.keys(n),t=Object.keys(o);if(e.length!=t.length)return!1;for(let s=0;s{Ec(o,Fe),$o(o,Ht)})}return}const W=ui(this._engine.playersByElement,o,[]);W.forEach(Me=>{Me.namespaceId==this.id&&Me.triggerName==e&&Me.queued&&Me.destroy()});let ce=a.matchTransition(d.value,h.value,o,h.params),we=!1;if(!ce){if(!s)return;ce=a.fallbackTransition,we=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:e,transition:ce,fromState:d,toState:h,player:r,isFallbackTransition:we}),we||(qs(o,Vg),r.onStart(()=>{Rc(o,Vg)})),r.onDone(()=>{let Me=this.players.indexOf(r);Me>=0&&this.players.splice(Me,1);const Fe=this._engine.playersByElement.get(o);if(Fe){let Ht=Fe.indexOf(r);Ht>=0&&Fe.splice(Ht,1)}}),this.players.push(r),W.push(r),r}deregister(o){delete this._triggers[o],this._engine.statesByElement.forEach((e,t)=>{delete e[o]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(s=>s.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const e=this._engine.playersByElement.get(o);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,e){const t=this._engine.driver.query(o,pd,!0);t.forEach(s=>{if(s[Cs])return;const a=this._engine.fetchNamespacesByElement(s);a.size?a.forEach(r=>r.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(o,e,t,s){const a=this._engine.statesByElement.get(o),r=new Map;if(a){const c=[];if(Object.keys(a).forEach(d=>{if(r.set(d,a[d].value),this._triggers[d]){const h=this.trigger(o,d,Li,s);h&&c.push(h)}}),c.length)return this._engine.markElementAsRemoved(this.id,o,!0,e,r),t&&wa(c).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const e=this._elementListeners.get(o),t=this._engine.statesByElement.get(o);if(e&&t){const s=new Set;e.forEach(a=>{const r=a.name;if(s.has(r))return;s.add(r);const d=this._triggers[r].fallbackTransition,h=t[r]||df,g=new qg(Li),I=new hf(this.id,r,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:r,transition:d,fromState:h,toState:g,player:I,isFallbackTransition:!0})})}}removeNode(o,e){const t=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,e),this.triggerLeaveAnimation(o,e,!0))return;let s=!1;if(t.totalAnimations){const a=t.players.length?t.playersByQueriedElement.get(o):[];if(a&&a.length)s=!0;else{let r=o;for(;r=r.parentNode;)if(t.statesByElement.get(r)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(o),s)t.markElementAsRemoved(this.id,o,!1,e);else{const a=o[Cs];(!a||a===bb)&&(t.afterFlush(()=>this.clearElementCache(o)),t.destroyInnerAnimations(o),t._onRemovalComplete(o,e))}}insertNode(o,e){qs(o,this._hostClassName)}drainQueuedTransitions(o){const e=[];return this._queue.forEach(t=>{const s=t.player;if(s.destroyed)return;const a=t.element,r=this._elementListeners.get(a);r&&r.forEach(c=>{if(c.name==t.triggerName){const d=vc(a,t.triggerName,t.fromState.value,t.toState.value);d._data=o,ud(t.player,c.phase,d,c.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(t)}),this._queue=[],e.sort((t,s)=>{const a=t.transition.ast.depCount,r=s.transition.ast.depCount;return 0==a||0==r?a-r:this._engine.driver.containsElement(t.element,s.element)?1:-1})}destroy(o){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let e=!1;return this._elementListeners.has(o)&&(e=!0),e=!!this._queue.find(t=>t.element===o)||e,e}}class PC{constructor(o,e,t){this.bodyNode=o,this.driver=e,this._normalizer=t,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(s,a)=>{}}_onRemovalComplete(o,e){this.onRemovalComplete(o,e)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&o.push(t)})}),o}createNamespace(o,e){const t=new RC(o,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[o]=t}_balanceNamespaceList(o,e){const t=this._namespaceList.length-1;if(t>=0){let s=!1;for(let a=t;a>=0;a--)if(this.driver.containsElement(this._namespaceList[a].hostElement,e)){this._namespaceList.splice(a+1,0,o),s=!0;break}s||this._namespaceList.splice(0,0,o)}else this._namespaceList.push(o);return this.namespacesByHostElement.set(e,o),o}register(o,e){let t=this._namespaceLookup[o];return t||(t=this.createNamespace(o,e)),t}registerTrigger(o,e,t){let s=this._namespaceLookup[o];s&&s.register(e,t)&&this.totalAnimations++}destroy(o,e){if(!o)return;const t=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[o];const s=this._namespaceList.indexOf(t);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const e=new Set,t=this.statesByElement.get(o);if(t){const s=Object.keys(t);for(let a=0;a=0&&this.collectedLeaveElements.splice(r,1)}if(o){const r=this._fetchNamespace(o);r&&r.insertNode(e,t)}s&&this.collectEnterElement(e)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,e){e?this.disabledNodes.has(o)||(this.disabledNodes.add(o),qs(o,uf)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),Rc(o,uf))}removeNode(o,e,t,s){if(yd(e)){const a=o?this._fetchNamespace(o):null;if(a?a.removeNode(e,s):this.markElementAsRemoved(o,e,!1,s),t){const r=this.namespacesByHostElement.get(e);r&&r.id!==o&&r.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(o,e,t,s,a){this.collectedLeaveElements.push(e),e[Cs]={namespaceId:o,setForRemoval:s,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:a}}listen(o,e,t,s,a){return yd(e)?this._fetchNamespace(o).listen(e,t,s,a):()=>{}}_buildInstruction(o,e,t,s,a){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,t,s,o.fromState.options,o.toState.options,e,a)}destroyInnerAnimations(o){let e=this.driver.query(o,pd,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(o,Sg,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(o){const e=this.playersByElement.get(o);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(o){const e=this.playersByQueriedElement.get(o);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return wa(this.players).onDone(()=>o());o()})}processLeaveNode(o){var e;const t=o[Cs];if(t&&t.setForRemoval){if(o[Cs]=bb,t.namespaceId){this.destroyInnerAnimations(o);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(o)}this._onRemovalComplete(o,t.setForRemoval)}(null===(e=o.classList)||void 0===e?void 0:e.contains(uf))&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(o=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,s)=>this._balanceNamespaceList(t,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?wa(e).onDone(()=>{t.forEach(s=>s())}):t.forEach(s=>s())}}reportError(o){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${o.join("\n")}`)}_flushAnimations(o,e){const t=new Ca,s=[],a=new Map,r=[],c=new Map,d=new Map,h=new Map,g=new Set;this.disabledNodes.forEach(Je=>{g.add(Je);const ot=this.driver.query(Je,".ng-animate-queued",!0);for(let ct=0;ct{const ct=Qh+Me++;we.set(ot,ct),Je.forEach(Qt=>qs(Qt,ct))});const Fe=[],Ht=new Set,Jt=new Set;for(let Je=0;JeHt.add(Qt)):Jt.add(ot))}const Lt=new Map,oi=Gg(W,Array.from(Ht));oi.forEach((Je,ot)=>{const ct=hd+Me++;Lt.set(ot,ct),Je.forEach(Qt=>qs(Qt,ct))}),o.push(()=>{ce.forEach((Je,ot)=>{const ct=we.get(ot);Je.forEach(Qt=>Rc(Qt,ct))}),oi.forEach((Je,ot)=>{const ct=Lt.get(ot);Je.forEach(Qt=>Rc(Qt,ct))}),Fe.forEach(Je=>{this.processLeaveNode(Je)})});const au=[],za=[];for(let Je=this._namespaceList.length-1;Je>=0;Je--)this._namespaceList[Je].drainQueuedTransitions(e).forEach(ct=>{const Qt=ct.player,zn=ct.element;if(au.push(Qt),this.collectedEnterElements.length){const xs=zn[Cs];if(xs&&xs.setForMove){if(xs.previousTriggersValues&&xs.previousTriggersValues.has(ct.triggerName)){const Qd=xs.previousTriggersValues.get(ct.triggerName),lu=this.statesByElement.get(ct.element);lu&&lu[ct.triggerName]&&(lu[ct.triggerName].value=Qd)}return void Qt.destroy()}}const Na=!I||!this.driver.containsElement(I,zn),xo=Lt.get(zn),cu=we.get(zn),nn=this._buildInstruction(ct,t,cu,xo,Na);if(nn.errors&&nn.errors.length)return void za.push(nn);if(Na)return Qt.onStart(()=>Ec(zn,nn.fromStyles)),Qt.onDestroy(()=>$o(zn,nn.toStyles)),void s.push(Qt);if(ct.isFallbackTransition)return Qt.onStart(()=>Ec(zn,nn.fromStyles)),Qt.onDestroy(()=>$o(zn,nn.toStyles)),void s.push(Qt);const RD=[];nn.timelines.forEach(xs=>{xs.stretchStartingKeyframe=!0,this.disabledNodes.has(xs.element)||RD.push(xs)}),nn.timelines=RD,t.append(zn,nn.timelines),r.push({instruction:nn,player:Qt,element:zn}),nn.queriedElements.forEach(xs=>ui(c,xs,[]).push(Qt)),nn.preStyleProps.forEach((xs,Qd)=>{const lu=Object.keys(xs);if(lu.length){let Xd=d.get(Qd);Xd||d.set(Qd,Xd=new Set),lu.forEach(fM=>Xd.add(fM))}}),nn.postStyleProps.forEach((xs,Qd)=>{const lu=Object.keys(xs);let Xd=h.get(Qd);Xd||h.set(Qd,Xd=new Set),lu.forEach(fM=>Xd.add(fM))})});if(za.length){const Je=[];za.forEach(ot=>{Je.push(`@${ot.triggerName} has failed due to:\n`),ot.errors.forEach(ct=>Je.push(`- ${ct}\n`))}),au.forEach(ot=>ot.destroy()),this.reportError(Je)}const Ds=new Map,el=new Map;r.forEach(Je=>{const ot=Je.element;t.has(ot)&&(el.set(ot,ot),this._beforeAnimationBuild(Je.player.namespaceId,Je.instruction,Ds))}),s.forEach(Je=>{const ot=Je.element;this._getPreviousPlayers(ot,!1,Je.namespaceId,Je.triggerName,null).forEach(Qt=>{ui(Ds,ot,[]).push(Qt),Qt.destroy()})});const tl=Fe.filter(Je=>Cb(Je,d,h)),il=new Map;vb(il,this.driver,Jt,h,ya).forEach(Je=>{Cb(Je,d,h)&&tl.push(Je)});const b_=new Map;ce.forEach((Je,ot)=>{vb(b_,this.driver,new Set(Je),d,"!")}),tl.forEach(Je=>{const ot=il.get(Je),ct=b_.get(Je);il.set(Je,Object.assign(Object.assign({},ot),ct))});const Jd=[],DD=[],xD={};r.forEach(Je=>{const{element:ot,player:ct,instruction:Qt}=Je;if(t.has(ot)){if(g.has(ot))return ct.onDestroy(()=>$o(ot,Qt.toStyles)),ct.disabled=!0,ct.overrideTotalTime(Qt.totalTime),void s.push(ct);let zn=xD;if(el.size>1){let xo=ot;const cu=[];for(;xo=xo.parentNode;){const nn=el.get(xo);if(nn){zn=nn;break}cu.push(xo)}cu.forEach(nn=>el.set(nn,zn))}const Na=this._buildAnimation(ct.namespaceId,Qt,Ds,a,b_,il);if(ct.setRealPlayer(Na),zn===xD)Jd.push(ct);else{const xo=this.playersByElement.get(zn);xo&&xo.length&&(ct.parentPlayer=wa(xo)),s.push(ct)}}else Ec(ot,Qt.fromStyles),ct.onDestroy(()=>$o(ot,Qt.toStyles)),DD.push(ct),g.has(ot)&&s.push(ct)}),DD.forEach(Je=>{const ot=a.get(Je.element);if(ot&&ot.length){const ct=wa(ot);Je.setRealPlayer(ct)}}),s.forEach(Je=>{Je.parentPlayer?Je.syncPlayerEvents(Je.parentPlayer):Je.destroy()});for(let Je=0;Je!Na.destroyed);zn.length?bS(this,ot,zn):this.processLeaveNode(ot)}return Fe.length=0,Jd.forEach(Je=>{this.players.push(Je),Je.onDone(()=>{Je.destroy();const ot=this.players.indexOf(Je);this.players.splice(ot,1)}),Je.play()}),Jd}elementContainsData(o,e){let t=!1;const s=e[Cs];return s&&s.setForRemoval&&(t=!0),this.playersByElement.has(e)&&(t=!0),this.playersByQueriedElement.has(e)&&(t=!0),this.statesByElement.has(e)&&(t=!0),this._fetchNamespace(o).elementContainsData(e)||t}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,e,t,s,a){let r=[];if(e){const c=this.playersByQueriedElement.get(o);c&&(r=c)}else{const c=this.playersByElement.get(o);if(c){const d=!a||a==Li;c.forEach(h=>{h.queued||!d&&h.triggerName!=s||r.push(h)})}}return(t||s)&&(r=r.filter(c=>!(t&&t!=c.namespaceId||s&&s!=c.triggerName))),r}_beforeAnimationBuild(o,e,t){const a=e.element,r=e.isRemovalTransition?void 0:o,c=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const h=d.element,g=h!==a,I=ui(t,h,[]);this._getPreviousPlayers(h,g,r,c,e.toState).forEach(ce=>{const we=ce.getRealPlayer();we.beforeDestroy&&we.beforeDestroy(),ce.destroy(),I.push(ce)})}Ec(a,e.fromStyles)}_buildAnimation(o,e,t,s,a,r){const c=e.triggerName,d=e.element,h=[],g=new Set,I=new Set,W=e.timelines.map(we=>{const Me=we.element;g.add(Me);const Fe=Me[Cs];if(Fe&&Fe.removedBeforeQueried)return new cd(we.duration,we.delay);const Ht=Me!==d,Jt=function Kg(n){const o=[];return ff(n,o),o}((t.get(Me)||yS).map(Ds=>Ds.getRealPlayer())).filter(Ds=>!!Ds.element&&Ds.element===Me),Lt=a.get(Me),oi=r.get(Me),au=Uy(0,this._normalizer,0,we.keyframes,Lt,oi),za=this._buildPlayer(we,au,Jt);if(we.subTimeline&&s&&I.add(Me),Ht){const Ds=new hf(o,c,Me);Ds.setRealPlayer(za),h.push(Ds)}return za});h.forEach(we=>{ui(this.playersByQueriedElement,we.element,[]).push(we),we.onDone(()=>function LC(n,o,e){let t;if(n instanceof Map){if(t=n.get(o),t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&n.delete(o)}}else if(t=n[o],t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&delete n[o]}return t}(this.playersByQueriedElement,we.element,we))}),g.forEach(we=>qs(we,Mg));const ce=wa(W);return ce.onDestroy(()=>{g.forEach(we=>Rc(we,Mg)),$o(d,e.toStyles)}),I.forEach(we=>{ui(s,we,[]).push(ce)}),ce}_buildPlayer(o,e,t){return e.length>0?this.driver.animate(o.element,e,o.duration,o.delay,o.easing,t):new cd(o.duration,o.delay)}}class hf{constructor(o,e,t){this.namespaceId=o,this.triggerName=e,this.element=t,this._player=new cd,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>ud(o,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const e=this._player;e.triggerCallback&&o.onStart(()=>e.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,e){ui(this._queuedCallbacks,o,[]).push(e)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const e=this._player;e.triggerCallback&&e.triggerCallback(o)}}function yd(n){return n&&1===n.nodeType}function Ab(n,o){const e=n.style.display;return n.style.display=null!=o?o:"none",e}function vb(n,o,e,t,s){const a=[];e.forEach(d=>a.push(Ab(d)));const r=[];t.forEach((d,h)=>{const g={};d.forEach(I=>{const W=g[I]=o.computeStyle(h,I,s);(!W||0==W.length)&&(h[Cs]=xC,r.push(h))}),n.set(h,g)});let c=0;return e.forEach(d=>Ab(d,a[c++])),r}function Gg(n,o){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==o.length)return e;const s=new Set(o),a=new Map;function r(c){if(!c)return 1;let d=a.get(c);if(d)return d;const h=c.parentNode;return d=e.has(h)?h:s.has(h)?1:r(h),a.set(c,d),d}return o.forEach(c=>{const d=r(c);1!==d&&e.get(d).push(c)}),e}function qs(n,o){var e;null===(e=n.classList)||void 0===e||e.add(o)}function Rc(n,o){var e;null===(e=n.classList)||void 0===e||e.remove(o)}function bS(n,o,e){wa(e).onDone(()=>n.processLeaveNode(o))}function ff(n,o){for(let e=0;es.add(a)):o.set(n,t),e.delete(n),!0}class bd{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(s,a)=>{},this._transitionEngine=new PC(o,e,t),this._timelineEngine=new pb(o,e,t),this._transitionEngine.onRemovalComplete=(s,a)=>this.onRemovalComplete(s,a)}registerTrigger(o,e,t,s,a){const r=o+"-"+s;let c=this._triggerCache[r];if(!c){const d=[],h=Rg(this._driver,a,d);if(d.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${d.join("\n - ")}`);c=function db(n,o,e){return new hb(n,o,e)}(s,h,this._normalizer),this._triggerCache[r]=c}this._transitionEngine.registerTrigger(e,s,c)}register(o,e){this._transitionEngine.register(o,e)}destroy(o,e){this._transitionEngine.destroy(o,e)}onInsert(o,e,t,s){this._transitionEngine.insertNode(o,e,t,s)}onRemove(o,e,t,s){this._transitionEngine.removeNode(o,e,s||!1,t)}disableAnimations(o,e){this._transitionEngine.markElementAsDisabled(o,e)}process(o,e,t,s){if("@"==t.charAt(0)){const[a,r]=Aa(t);this._timelineEngine.command(a,e,r,s)}else this._transitionEngine.trigger(o,e,t,s)}listen(o,e,t,s,a){if("@"==t.charAt(0)){const[r,c]=Aa(t);return this._timelineEngine.listen(r,e,c,a)}return this._transitionEngine.listen(o,e,t,s,a)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let vo=(()=>{class n{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let a=n.initialStylesByElement.get(e);a||n.initialStylesByElement.set(e,a={}),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&$o(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&($o(this._element,this._initialStyles),this._endStyles&&($o(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Ec(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ec(this._element,this._endStyles),this._endStyles=null),$o(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Ts(n){let o=null;const e=Object.keys(n);for(let t=0;to()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(o,e,t){return o.animate(e,t)}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(o[t]=this._finished?e[t]:Dc(this.element,t))})}this.currentSnapshot=o}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class IC{validateStyleProperty(o){return Tc(o)}matchesElement(o,e){return!1}containsElement(o,e){return Mc(o,e)}query(o,e,t){return Sc(o,e,t)}computeStyle(o,e,t){return window.getComputedStyle(o)[e]}animate(o,e,t,s,a,r=[]){const d={duration:t,delay:s,fill:0==s?"both":"forwards"};a&&(d.easing=a);const h={},g=r.filter(W=>W instanceof Zg);(function Jy(n,o){return 0===n||0===o})(t,s)&&g.forEach(W=>{let ce=W.currentSnapshot;Object.keys(ce).forEach(we=>h[we]=ce[we])}),e=function mS(n,o,e){const t=Object.keys(e);if(t.length&&o.length){let a=o[0],r=[];if(t.forEach(c=>{a.hasOwnProperty(c)||r.push(c),a[c]=e[c]}),r.length)for(var s=1;sSr(W,!1)),h);const I=function Jo(n,o){let e=null,t=null;return Array.isArray(o)&&o.length?(e=Ts(o[0]),o.length>1&&(t=Ts(o[o.length-1]))):o&&(e=Ts(o)),e||t?new vo(n,e,t):null}(o,e);return new Zg(o,e,d,I)}}let OC=(()=>{class n extends js{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(e)?Ny(e):e;return pf(this._renderer,null,t,"register",[s]),new HC(t,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class HC extends class hS{}{constructor(o,e){super(),this._id=o,this._renderer=e}create(o,e){return new FC(this._id,o,e||{},this._renderer)}}class FC{constructor(o,e,t,s){this.id=o,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(o,e){return this._renderer.listen(this.element,`@@${this.id}:${o}`,e)}_command(o,...e){return pf(this._renderer,this.element,this.id,o,e)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(o){this._command("setPosition",o)}getPosition(){var o,e;return null!==(e=null===(o=this._renderer.engine.players[+this.id])||void 0===o?void 0:o.getPosition())&&void 0!==e?e:0}}function pf(n,o,e,t,s){return n.setProperty(o,`@@${e}:${t}`,s)}const Mb="@.disabled";let Sb=(()=>{class n{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(a,r)=>{const c=null==r?void 0:r.parentNode(a);c&&r.removeChild(c,a)}}createRenderer(e,t){const a=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let g=this._rendererCache.get(a);return g||(g=new kb("",a,this.engine),this._rendererCache.set(a,g)),g}const r=t.id,c=t.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const d=g=>{Array.isArray(g)?g.forEach(d):this.engine.registerTrigger(r,c,e,g.name,g)};return t.data.animation.forEach(d),new Eb(this,c,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){e>=0&&et(s)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(a=>{const[r,c]=a;r(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,s]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(bd),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class kb{constructor(o,e,t){this.namespaceId=o,this.delegate=e,this.engine=t,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(o,e){return this.delegate.createElement(o,e)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,e){this.delegate.appendChild(o,e),this.engine.onInsert(this.namespaceId,e,o,!1)}insertBefore(o,e,t,s=!0){this.delegate.insertBefore(o,e,t),this.engine.onInsert(this.namespaceId,e,o,s)}removeChild(o,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(o,e){return this.delegate.selectRootElement(o,e)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,e,t,s){this.delegate.setAttribute(o,e,t,s)}removeAttribute(o,e,t){this.delegate.removeAttribute(o,e,t)}addClass(o,e){this.delegate.addClass(o,e)}removeClass(o,e){this.delegate.removeClass(o,e)}setStyle(o,e,t,s){this.delegate.setStyle(o,e,t,s)}removeStyle(o,e,t){this.delegate.removeStyle(o,e,t)}setProperty(o,e,t){"@"==e.charAt(0)&&e==Mb?this.disableAnimations(o,!!t):this.delegate.setProperty(o,e,t)}setValue(o,e){this.delegate.setValue(o,e)}listen(o,e,t){return this.delegate.listen(o,e,t)}disableAnimations(o,e){this.engine.disableAnimations(o,e)}}class Eb extends kb{constructor(o,e,t,s){super(e,t,s),this.factory=o,this.namespaceId=e}setProperty(o,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Mb?this.disableAnimations(o,t=void 0===t||!!t):this.engine.process(this.namespaceId,o,e.substr(1),t):this.delegate.setProperty(o,e,t)}listen(o,e,t){if("@"==e.charAt(0)){const s=function Db(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(o);let a=e.substr(1),r="";return"@"!=a.charAt(0)&&([a,r]=function gf(n){const o=n.indexOf(".");return[n.substring(0,o),n.substr(o+1)]}(a)),this.engine.listen(this.namespaceId,s,a,r,c=>{this.factory.scheduleListenerCallback(c._data||-1,t,c)})}return this.delegate.listen(o,e,t)}}let zC=(()=>{class n extends bd{constructor(e,t,s){super(e.body,t,s)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(Jh),i.LFG(rf))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Si=new i.OlP("AnimationModuleType"),wd=[{provide:js,useClass:OC},{provide:rf,useFactory:function xb(){return new Bg}},{provide:bd,useClass:zC},{provide:i.FYo,useFactory:function Rb(n,o,e){return new Sb(n,o,e)},deps:[xe,bd,i.R0b]}],mf=[{provide:Jh,useFactory:()=>new IC},{provide:Si,useValue:"BrowserAnimations"},...wd],Pb=[{provide:Jh,useClass:kc},{provide:Si,useValue:"NoopAnimations"},...wd];let Lb=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?Pb:mf}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:mf,imports:[Lo]}),n})();function Ob(n,o){if(1&n&&i._UZ(0,"mat-pseudo-checkbox",4),2&n){const e=i.oxw();i.Q6J("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function Hb(n,o){if(1&n&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij("(",e.group.label,")")}}const Fb=["*"];let YC=(()=>{class n{}return n.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",n.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",n.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",n.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",n})(),jC=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const VC=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function UC(){return!0}});let nt=(()=>{class n{constructor(e,t,s){this._sanityChecks=t,this._document=s,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Zu()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(vg),i.LFG(VC,8),i.LFG(b.K0))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El],El]}),n})();function Co(n){return class extends n{constructor(...o){super(...o),this._disabled=!1}get disabled(){return this._disabled}set disabled(o){this._disabled=Ne(o)}}}function Qo(n,o){return class extends n{constructor(...e){super(...e),this.defaultColor=o,this.color=o}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}}}function To(n){return class extends n{constructor(...o){super(...o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(o){this._disableRipple=Ne(o)}}}function Vl(n,o=0){return class extends n{constructor(...e){super(...e),this._tabIndex=o,this.defaultTabIndex=o}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Zi(e):this.defaultTabIndex}}}function $g(n){return class extends n{constructor(...o){super(...o),this.stateChanges=new ke.xQ,this.errorState=!1}updateErrorState(){const o=this.errorState,a=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);a!==o&&(this.errorState=a,this.stateChanges.next())}}}function Nb(n){return class extends n{constructor(...o){super(...o),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Ui.y(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(o){o.next(),o.complete()}}}const Pc=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function qC(){return(0,i.f3M)(i.soG)}});class vi{constructor(){this._localeChanges=new ke.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(o){return this.isDateInstance(o)&&this.isValid(o)?o:null}deserialize(o){return null==o||this.isDateInstance(o)&&this.isValid(o)?o:this.invalid()}setLocale(o){this.locale=o,this._localeChanges.next()}compareDate(o,e){return this.getYear(o)-this.getYear(e)||this.getMonth(o)-this.getMonth(e)||this.getDate(o)-this.getDate(e)}sameDate(o,e){if(o&&e){let t=this.isValid(o),s=this.isValid(e);return t&&s?!this.compareDate(o,e):t==s}return o==e}clampDate(o,e,t){return e&&this.compareDate(o,e)<0?e:t&&this.compareDate(o,t)>0?t:o}}const Ms=new i.OlP("mat-date-formats"),Bb=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function _f(n,o){const e=Array(n);for(let t=0;t{class n extends vi{constructor(e,t){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return _f(12,s=>this._format(t,new Date(2017,s,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return _f(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return _f(7,s=>this._format(t,new Date(2017,0,s+1)))}getYearName(e){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,s){let a=this._createDateWithOverflow(e,t,s);return a.getMonth(),a}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const s=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},t),{timeZone:"utc"}));return this._format(s,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let s=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(s)!=((this.getMonth(e)+t)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(Bb.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,s){const a=new Date;return a.setFullYear(e,t,s),a.setHours(0,0,0,0),a}_2digit(e){return("00"+e).slice(-2)}_format(e,t){const s=new Date;return s.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),s.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(s)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Pc,8),i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Yb={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let jb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:vi,useClass:Wg}],imports:[[hc]]}),n})(),Jg=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ms,useValue:Yb}],imports:[[jb]]}),n})(),Xo=(()=>{class n{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),yf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),n})();function Ad(n,o,e){n.nativeElement.classList.toggle(o,e)}let bf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})();class ql{constructor(o,e,t){this._renderer=o,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const KC={enterDuration:225,exitDuration:150},Ub=_o({passive:!0}),Xg=["mousedown","touchstart"],em=["mouseup","mouseleave","touchend","touchcancel"];class ZC{constructor(o,e,t,s){this._target=o,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=ei(t))}fadeInRipple(o,e,t={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},KC),t.animation);t.centered&&(o=s.left+s.width/2,e=s.top+s.height/2);const r=t.radius||function $C(n,o,e){const t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),s=Math.max(Math.abs(o-e.top),Math.abs(o-e.bottom));return Math.sqrt(t*t+s*s)}(o,e,s),c=o-s.left,d=e-s.top,h=a.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=c-r+"px",g.style.top=d-r+"px",g.style.height=2*r+"px",g.style.width=2*r+"px",null!=t.color&&(g.style.backgroundColor=t.color),g.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(g),function st(n){window.getComputedStyle(n).getPropertyValue("opacity")}(g),g.style.transform="scale(1)";const I=new ql(this,g,t);return I.state=0,this._activeRipples.add(I),t.persistent||(this._mostRecentTransientRipple=I),this._runTimeoutOutsideZone(()=>{const W=I===this._mostRecentTransientRipple;I.state=1,!t.persistent&&(!W||!this._isPointerDown)&&I.fadeOut()},h),I}fadeOutRipple(o){const e=this._activeRipples.delete(o);if(o===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=o.element,s=Object.assign(Object.assign({},KC),o.config.animation);t.style.transitionDuration=`${s.exitDuration}ms`,t.style.opacity="0",o.state=2,this._runTimeoutOutsideZone(()=>{o.state=3,t.remove()},s.exitDuration)}fadeOutAll(){this._activeRipples.forEach(o=>o.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(o=>{o.config.persistent||o.fadeOut()})}setupTriggerEvents(o){const e=ei(o);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Xg))}handleEvent(o){"mousedown"===o.type?this._onMousedown(o):"touchstart"===o.type?this._onTouchStart(o):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(em),this._pointerUpEventsRegistered=!0)}_onMousedown(o){const e=Ol(o),t=this._lastTouchStartEvent&&Date.now(){!o.config.persistent&&(1===o.state||o.config.terminateOnPointerUp&&0===o.state)&&o.fadeOut()}))}_runTimeoutOutsideZone(o,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(o,e))}_registerEvents(o){this._ngZone.runOutsideAngular(()=>{o.forEach(e=>{this._triggerElement.addEventListener(e,this,Ub)})})}_removeTriggerEvents(){this._triggerElement&&(Xg.forEach(o=>{this._triggerElement.removeEventListener(o,this,Ub)}),this._pointerUpEventsRegistered&&em.forEach(o=>{this._triggerElement.removeEventListener(o,this,Ub)}))}}const Vb=new i.OlP("mat-ripple-global-options");let Ss=(()=>{class n{constructor(e,t,s,a,r){this._elementRef=e,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new ZC(this,t,e,s)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,s){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),s)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(fi),i.Y36(Vb,8),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),cs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt,hc],nt]}),n})(),qb=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),n})(),Gl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt]]}),n})();const vd=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),Gb=new i.OlP("MatOptgroup");let Kb=0;class Zb{constructor(o,e=!1){this.source=o,this.isUserInput=e}}let $b=(()=>{class n{constructor(e,t,s,a){this._element=e,this._changeDetectorRef=t,this._parent=s,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Kb++,this.onSelectionChange=new i.vpe,this._stateChanges=new ke.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=Ne(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const s=this._getHostElement();"function"==typeof s.focus&&s.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Ni(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Zb(this,e))}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),Lc=(()=>{class n extends $b{constructor(e,t,s,a){super(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(vd,8),i.Y36(Gb,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._selectViaInteraction()})("keydown",function(a){return t._handleKeydown(a)}),2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),i.ekj("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:Fb,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,Ob,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,Hb,2,1,"span",2),i._UZ(4,"div",3)),2&e&&(i.Q6J("ngIf",t.multiple),i.xp6(3),i.Q6J("ngIf",t.group&&t.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[qb,b.O5,Ss],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n})();function Wb(n,o,e){if(e.length){let t=o.toArray(),s=e.toArray(),a=0;for(let r=0;r{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[cs,b.ez,nt,Gl]]}),n})();function Cd(n,o){}class wf{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const QC={dialogContainer:ti("dialogContainer",[_t("void, exit",De({opacity:0,transform:"scale(0.7)"})),_t("enter",De({transform:"none"})),ht("* => enter",rt("150ms cubic-bezier(0, 0, 0.2, 1)",De({transform:"none",opacity:1}))),ht("* => void, * => exit",rt("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",De({opacity:0})))])};let Af=(()=>{class n extends ga{constructor(e,t,s,a,r,c,d,h){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=s,this._config=r,this._interactivityChecker=c,this._ngZone=d,this._focusMonitor=h,this._animationStateChanged=new i.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=g=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(g)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=a}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,t)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{t||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=kl(),s=this._elementRef.nativeElement;(!t||t===this._document.body||t===s||s.contains(t))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=kl())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=kl();return e===t||e.contains(t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(wg),i.Y36(i.sBO),i.Y36(b.K0,8),i.Y36(wf),i.Y36(wc),i.Y36(i.R0b),i.Y36(Ys))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(Tr,7),2&e){let s;i.iGM(s=i.CRH())&&(t._portalOutlet=s.first)}},features:[i.qOj]}),n})(),Jb=(()=>{class n extends Af{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&i.WFA("@dialogContainer.start",function(a){return t._onAnimationStart(a)})("@dialogContainer.done",function(a){return t._onAnimationDone(a)}),2&e&&(i.Ikx("id",t._id),i.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),i.d8E("@dialogContainer",t._state))},features:[i.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&i.YNc(0,Cd,0,0,"ng-template",0)},directives:[Tr],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[QC.dialogContainer]}}),n})(),Qb=0;class Dn{constructor(o,e,t="mat-dialog-"+Qb++){this._overlayRef=o,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new ke.xQ,this._afterClosed=new ke.xQ,this._beforeClosed=new ke.xQ,this._state=0,e._id=t,e._animationStateChanged.pipe((0,Kt.h)(s=>"opened"===s.state),(0,Ut.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,Kt.h)(s=>"closed"===s.state),(0,Ut.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),o.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),o.keydownEvents().pipe((0,Kt.h)(s=>27===s.keyCode&&!this.disableClose&&!Ni(s))).subscribe(s=>{s.preventDefault(),Xb(this,"keyboard")}),o.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Xb(this,"mouse")})}close(o){this._result=o,this._containerInstance._animationStateChanged.pipe((0,Kt.h)(e=>"closing"===e.state),(0,Ut.q)(1)).subscribe(e=>{this._beforeClosed.next(o),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(o){let e=this._getPositionStrategy();return o&&(o.left||o.right)?o.left?e.left(o.left):e.right(o.right):e.centerHorizontally(),o&&(o.top||o.bottom)?o.top?e.top(o.top):e.bottom(o.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(o="",e=""){return this._overlayRef.updateSize({width:o,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(o){return this._overlayRef.addPanelClass(o),this}removePanelClass(o){return this._overlayRef.removePanelClass(o),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Xb(n,o,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=o),n.close(e)}const Wn=new i.OlP("MatDialogData"),Td=new i.OlP("mat-dialog-default-options"),ew=new i.OlP("mat-dialog-scroll-strategy"),tw={provide:ew,deps:[Ji],useFactory:function XC(n){return()=>n.scrollStrategies.block()}};let iw=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I){this._overlay=e,this._injector=t,this._defaultOptions=s,this._parentDialog=a,this._overlayContainer=r,this._dialogRefConstructor=d,this._dialogContainerType=h,this._dialogDataToken=g,this._animationMode=I,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ke.xQ,this._afterOpenedAtThisLevel=new ke.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=cr(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Vt(void 0))),this._scrollStrategy=c}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){if(t=function eT(n,o){return Object.assign(Object.assign({},o),n)}(t,this._defaultOptions||new wf),t.id&&this.getDialogById(t.id),this._dialogAnimatingOpen)return this._lastDialogRef;const s=this._createOverlay(t),a=this._attachDialogContainer(s,t);if("NoopAnimations"!==this._animationMode){const c=a._animationStateChanged.subscribe(d=>{"opening"===d.state&&(this._dialogAnimatingOpen=!0),"opened"===d.state&&(this._dialogAnimatingOpen=!1,c.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new P.w),this._animationStateSubscriptions.add(c)}const r=this._attachDialogContent(e,a,s,t);return this._lastDialogRef=r,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),a._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new En({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const a=i.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:wf,useValue:t}]}),r=new pa(this._dialogContainerType,t.viewContainerRef,a,t.componentFactoryResolver);return e.attach(r).instance}_attachDialogContent(e,t,s,a){const r=new this._dialogRefConstructor(s,t,a.id);if(e instanceof i.Rgc)t.attachTemplatePortal(new Cr(e,null,{$implicit:a.data,dialogRef:r}));else{const c=this._createInjector(a,r,t),d=t.attachComponentPortal(new pa(e,a.viewContainerRef,c));r.componentInstance=d.instance}return r.updateSize(a.width,a.height).updatePosition(a.position),r}_createInjector(e,t,s){const a=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:s},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!a||!a.get(Ti,null,i.XFs.Optional))&&r.push({provide:Ti,useValue:{value:e.direction,change:(0,Ye.of)()}}),i.zs3.create({parent:a||this._injector,providers:r})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let s=t.length-1;s>-1;s--){let a=t[s];a!==e&&"SCRIPT"!==a.nodeName&&"STYLE"!==a.nodeName&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n}),n})(),Xi=(()=>{class n extends iw{constructor(e,t,s,a,r,c,d,h){super(e,t,a,c,d,r,Dn,Jb,Wn,h)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ji),i.LFG(i.zs3),i.LFG(b.Ye,8),i.LFG(Td,8),i.LFG(ew),i.LFG(n,12),i.LFG(ag),i.LFG(Si,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),nw=0,ks=(()=>{class n{constructor(e,t,s){this._dialogRef=e,this._elementRef=t,this._dialog=s,this.id="mat-dialog-title-"+nw++}ngOnInit(){this._dialogRef||(this._dialogRef=function kS(n,o){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?o.find(t=>t.id===e.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn,8),i.Y36(i.SBq),i.Y36(Xi))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),Gs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),Ks=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),n})(),im=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Xi,tw],imports:[[id,xl,nt],nt]}),n})();var nm=w(6114);let Sa=(()=>{class n{constructor(e,t,s,a,r){this.injector=e,this.store=t,this.dialog=s,this.route=a,this.oauthService=r,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(Ri),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(c=>{c.idpFilter&&(this.filterShortname=c.idpFilter)})}getClientConfig(){const e=this.setIdpFilter(),t=e?{acr_values:e}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(t.prompt="consent"),sessionStorage.getItem("mfa_route")&&(t.acr_values="https://refeds.org/profile/mfa",t.prompt="login",t.max_age="0"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:t}}setIdpFilter(){const e=location.search.substr(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let s=null;return e.forEach(a=>{const r=a.split("=");"idpFilter"===r[0]&&t[r[1]]&&(this.filterShortname=r[1],s=t[r[1]])}),t.default&&!s?(this.filterShortname="default",t.default):s}startIdpFilterKeeper(){this.router.events.pipe((0,Kt.h)(e=>e instanceof be)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substr(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,Kt.h)(t=>"token_expires"===t.type)).subscribe(()=>{this.oauthService.refreshToken().then(t=>{localStorage.setItem("refresh_token",t.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(e){const t=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===e)return!0;for(const s of t)if(e.startsWith(s))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(e=>e)):Promise.resolve()}verifyAuthentication(e,t){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(s=>s?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((a,r)=>r("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const e=sessionStorage.getItem("mfa_route");if(e)return this.router.navigate([e],{replaceUrl:!0});let t=sessionStorage.getItem("auth:redirect");const s=sessionStorage.getItem("auth:queryParams");let a=[];s&&(a=s.split("&"));const r={};return a.forEach(c=>{const d=c.split("=");r[d[0]]=d[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),r.idpFilter&&(this.filterShortname=r.idpFilter),this.router.navigate([t],{queryParams:r,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3),i.LFG(Mn),i.LFG(Xi),i.LFG(In),i.LFG(nm.Ct))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function er(n){return!!n&&(n instanceof Ui.y||"function"==typeof n.lift&&"function"==typeof n.subscribe)}var tT=w(7830);function vf(...n){if(1===n.length){const o=n[0];if((0,Yu.k)(o))return ka(o,null);if((0,tT.K)(o)&&Object.getPrototypeOf(o)===Object.prototype){const e=Object.keys(o);return ka(e.map(t=>o[t]),e)}}if("function"==typeof n[n.length-1]){const o=n.pop();return ka(n=1===n.length&&(0,Yu.k)(n[0])?n[0]:n,null).pipe((0,at.U)(e=>o(...e)))}return ka(n,null)}function ka(n,o){return new Ui.y(e=>{const t=n.length;if(0===t)return void e.complete();const s=new Array(t);let a=0,r=0;for(let c=0;c{h||(h=!0,r++),s[c]=g},error:g=>e.error(g),complete:()=>{a++,(a===t||!h)&&(r===t&&e.next(o?o.reduce((g,I,W)=>(g[I]=s[W],g),{}):s),e.complete())}}))}})}const sT=new class nT extends M_.v{}(class iT extends ju.o{constructor(o,e){super(o,e),this.scheduler=o,this.work=e}schedule(o,e=0){return e>0?super.schedule(o,e):(this.delay=e,this.state=o,this.scheduler.flush(this),this)}execute(o,e){return e>0||this.closed?super.execute(o,e):this._execute(o,e)}requestAsyncId(o,e,t=0){return null!==t&&t>0||null===t&&this.delay>0?super.requestAsyncId(o,e,t):o.flush(this)}});var sm=w(9312);class Cf extends Ls.L{constructor(o,e,t=0){super(o),this.scheduler=e,this.delay=t}static dispatch(o){const{notification:e,destination:t}=o;e.observe(t),this.unsubscribe()}scheduleMessage(o){this.destination.add(this.scheduler.schedule(Cf.dispatch,this.delay,new oT(o,this.destination)))}_next(o){this.scheduleMessage(sm.P.createNext(o))}_error(o){this.scheduleMessage(sm.P.createError(o)),this.unsubscribe()}_complete(){this.scheduleMessage(sm.P.createComplete()),this.unsubscribe()}}class oT{constructor(o,e){this.notification=o,this.destination=e}}var Kl=w(5283);class rT extends ke.xQ{constructor(o=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,t){super(),this.scheduler=t,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=o<1?1:o,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(o){const e=this._events;e.push(o),e.length>this._bufferSize&&e.shift(),super.next(o)}nextTimeWindow(o){this._events.push(new ow(this._getNow(),o)),this._trimBufferThenGetEvents(),super.next(o)}_subscribe(o){const e=this._infiniteTimeWindow,t=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,a=t.length;let r;if(this.closed)throw new du.N;if(this.isStopped||this.hasError?r=P.w.EMPTY:(this.observers.push(o),r=new Kl.W(this,o)),s&&o.add(o=new Cf(o,s)),e)for(let c=0;ce&&(r=Math.max(r,a-e)),r>0&&s.splice(0,r),s}}class ow{constructor(o,e){this.time=o,this.value=e}}function rw(n,o,e){let t;return t=n&&"object"==typeof n?n:{bufferSize:n,windowTime:o,refCount:!1,scheduler:e},s=>s.lift(function aw({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:o=Number.POSITIVE_INFINITY,refCount:e,scheduler:t}){let s,r,a=0,c=!1,d=!1;return function(g){a++,(!s||c)&&(c=!1,s=new rT(n,o,t),r=g.subscribe({next(W){s.next(W)},error(W){c=!0,s.error(W)},complete(){d=!0,r=void 0,s.complete()}}));const I=s.subscribe(this);this.add(()=>{a--,I.unsubscribe(),r&&!d&&e&&0===a&&(r.unsubscribe(),r=void 0,s=void 0)})}}(t))}class Md{}let om=(()=>{class n extends Md{getTranslation(e){return(0,Ye.of)({})}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class rm{}let Tf=(()=>{class n{handle(e){return e.key}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function Mf(n,o){if(n===o)return!0;if(null===n||null===o)return!1;if(n!=n&&o!=o)return!0;let s,a,r,e=typeof n;if(e==typeof o&&"object"==e){if(!Array.isArray(n)){if(Array.isArray(o))return!1;for(a in r=Object.create(null),n){if(!Mf(n[a],o[a]))return!1;r[a]=!0}for(a in o)if(!(a in r)&&void 0!==o[a])return!1;return!0}if(!Array.isArray(o))return!1;if((s=n.length)==o.length){for(a=0;a{Sf(o[t])?t in n?e[t]=cw(n[t],o[t]):Object.assign(e,{[t]:o[t]}):Object.assign(e,{[t]:o[t]})}),e}class kf{}let lw=(()=>{class n extends kf{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let s;return s="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,s}getValue(e,t){let s="string"==typeof t?t.split("."):[t];t="";do{t+=s.shift(),!Er(e)||!Er(e[t])||"object"!=typeof e[t]&&s.length?s.length?t+=".":e=void 0:(e=e[t],t="")}while(s.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(s,a)=>{let r=this.getValue(t,a);return Er(r)?r:s}):e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Zl{}let uw=(()=>{class n extends Zl{compile(e,t){return e}compileTranslations(e,t){return e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class am{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.vpe,this.onLangChange=new i.vpe,this.onDefaultLangChange=new i.vpe}}const cm=new i.OlP("USE_STORE"),lm=new i.OlP("USE_DEFAULT_LANG"),um=new i.OlP("DEFAULT_LANGUAGE"),dm=new i.OlP("USE_EXTEND");let Ii=(()=>{class n{constructor(e,t,s,a,r,c=!0,d=!1,h=!1,g){this.store=e,this.currentLoader=t,this.compiler=s,this.parser=a,this.missingTranslationHandler=r,this.useDefaultLang=c,this.isolate=d,this.extend=h,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},g&&this.setDefaultLang(g)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe((0,Ut.q)(1)).subscribe(s=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ye.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,Ut.q)(1)).subscribe(s=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Ye.of)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(rw(1),(0,Ut.q)(1));return this.loadingTranslations=t.pipe((0,at.U)(s=>this.compiler.compileTranslations(s,e)),rw(1),(0,Ut.q)(1)),this.loadingTranslations.subscribe({next:s=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},s),this.translations[e]):s,this.updateLangs(),this.pending=!1},error:s=>{this.pending=!1}}),t}setTranslation(e,t,s=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(s||this.extend)&&this.translations[e]?cw(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,s){let a;if(t instanceof Array){let r={},c=!1;for(let d of t)r[d]=this.getParsedResult(e,d,s),er(r[d])&&(c=!0);return c?vf(t.map(h=>er(r[h])?r[h]:(0,Ye.of)(r[h]))).pipe((0,at.U)(h=>{let g={};return h.forEach((I,W)=>{g[t[W]]=I}),g})):r}if(e&&(a=this.parser.interpolate(this.parser.getValue(e,t),s)),void 0===a&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),s)),void 0===a){let r={key:t,translateService:this};void 0!==s&&(r.interpolateParams=s),a=this.missingTranslationHandler.handle(r)}return void 0!==a?a:t}get(e,t){if(!Er(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,fs.b)(s=>er(s=this.getParsedResult(s,e,t))?s:(0,Ye.of)(s)));{let s=this.getParsedResult(this.translations[this.currentLang],e,t);return er(s)?s:(0,Ye.of)(s)}}getStreamOnTranslationChange(e,t){if(!Er(e)||!e.length)throw new Error('Parameter "key" required');return ro(cr(()=>this.get(e,t)),this.onTranslationChange.pipe((0,Ci.w)(s=>{const a=this.getParsedResult(s.translations,e,t);return"function"==typeof a.subscribe?a:(0,Ye.of)(a)})))}stream(e,t){if(!Er(e)||!e.length)throw new Error('Parameter "key" required');return ro(cr(()=>this.get(e,t)),this.onLangChange.pipe((0,Ci.w)(s=>{const a=this.getParsedResult(s.translations,e,t);return er(a)?a:(0,Ye.of)(a)})))}instant(e,t){if(!Er(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,t);if(er(s)){if(e instanceof Array){let a={};return e.forEach((r,c)=>{a[e[c]]=e[c]}),a}return e}return s}set(e,t,s=this.currentLang){this.translations[s][e]=this.compiler.compile(t,s),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(am),i.LFG(Md),i.LFG(Zl),i.LFG(kf),i.LFG(rm),i.LFG(lm),i.LFG(cm),i.LFG(dm),i.LFG(um))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),gt=(()=>{class n{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,s){let a=r=>{this.value=void 0!==r?r:e,this.lastKey=e,this._ref.markForCheck()};if(s){let r=this.translate.getParsedResult(s,e,t);er(r.subscribe)?r.subscribe(a):a(r)}this.translate.get(e,t).subscribe(a)}transform(e,...t){if(!e||!e.length)return e;if(Mf(e,this.lastKey)&&Mf(t,this.lastParams))return this.value;let s;if(Er(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let a=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(a)}catch(r){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"==typeof t[0]&&!Array.isArray(t[0])&&(s=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii,16),i.Y36(i.sBO,16))},n.\u0275pipe=i.Yjl({name:"translate",type:n,pure:!1}),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Sd=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:Md,useClass:om},e.compiler||{provide:Zl,useClass:uw},e.parser||{provide:kf,useClass:lw},e.missingTranslationHandler||{provide:rm,useClass:Tf},am,{provide:cm,useValue:e.isolate},{provide:lm,useValue:e.useDefaultLang},{provide:dm,useValue:e.extend},{provide:um,useValue:e.defaultLanguage},Ii]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:Md,useClass:om},e.compiler||{provide:Zl,useClass:uw},e.parser||{provide:kf,useClass:lw},e.missingTranslationHandler||{provide:rm,useClass:Tf},{provide:cm,useValue:e.isolate},{provide:lm,useValue:e.useDefaultLang},{provide:dm,useValue:e.extend},{provide:um,useValue:e.defaultLanguage},Ii]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),dw=(()=>{class n{constructor(e){this.dialogRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(e,t){1&e&&(i.TgZ(0,"h2",0),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[Gs],pipes:[gt],styles:[""]}),n})();const hw=["mat-button",""],aT=["*"],cT=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],lT=Qo(Co(To(class{constructor(n){this._elementRef=n}})));let Bt=(()=>{class n extends lT{constructor(e,t,s){super(e),this._focusMonitor=t,this._animationMode=s,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const a of cT)this._hasHostAttributes(a)&&this._getHostElement().classList.add(a);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(t=>this._getHostElement().hasAttribute(t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ys),i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&i.Gf(Ss,5),2&e){let s;i.iGM(s=i.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(i.uIk("disabled",t.disabled||null),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[i.qOj],attrs:hw,ngContentSelectors:aT,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"span",0),i.Hsn(1),i.qZA(),i._UZ(2,"span",1),i._UZ(3,"span",2)),2&e&&(i.xp6(2),i.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),i.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Ss],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n})(),Zs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[cs,nt],nt]}),n})();const gw=["connectionContainer"],hm=["inputContainer"],uT=["label"];function dT(n,o){1&n&&(i.ynx(0),i.TgZ(1,"div",14),i._UZ(2,"div",15),i._UZ(3,"div",16),i._UZ(4,"div",17),i.qZA(),i.TgZ(5,"div",18),i._UZ(6,"div",15),i._UZ(7,"div",16),i._UZ(8,"div",17),i.qZA(),i.BQk())}function fm(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",19),i.NdJ("cdkObserveContent",function(){return i.CHM(e),i.oxw().updateOutlineGap()}),i.Hsn(1,1),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function hT(n,o){if(1&n&&(i.ynx(0),i.Hsn(1,2),i.TgZ(2,"span"),i._uU(3),i.qZA(),i.BQk()),2&n){const e=i.oxw(2);i.xp6(3),i.Oqu(e._control.placeholder)}}function mw(n,o){1&n&&i.Hsn(0,3,["*ngSwitchCase","true"])}function fT(n,o){1&n&&(i.TgZ(0,"span",23),i._uU(1," *"),i.qZA())}function _w(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"label",20,21),i.NdJ("cdkObserveContent",function(){return i.CHM(e),i.oxw().updateOutlineGap()}),i.YNc(2,hT,4,1,"ng-container",12),i.YNc(3,mw,1,0,"ng-content",12),i.YNc(4,fT,2,0,"span",22),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),i.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),i.uIk("for",e._control.id)("aria-owns",e._control.id),i.xp6(2),i.Q6J("ngSwitchCase",!1),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function pT(n,o){1&n&&(i.TgZ(0,"div",24),i.Hsn(1,4),i.qZA())}function yw(n,o){if(1&n&&(i.TgZ(0,"div",25),i._UZ(1,"span",26),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function RS(n,o){if(1&n&&(i.TgZ(0,"div"),i.Hsn(1,5),i.qZA()),2&n){const e=i.oxw();i.Q6J("@transitionMessages",e._subscriptAnimationState)}}function gT(n,o){if(1&n&&(i.TgZ(0,"div",30),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.Q6J("id",e._hintLabelId),i.xp6(1),i.Oqu(e.hintLabel)}}function kd(n,o){if(1&n&&(i.TgZ(0,"div",27),i.YNc(1,gT,2,2,"div",28),i.Hsn(2,6),i._UZ(3,"div",29),i.Hsn(4,7),i.qZA()),2&n){const e=i.oxw();i.Q6J("@transitionMessages",e._subscriptAnimationState),i.xp6(1),i.Q6J("ngIf",e.hintLabel)}}const mT=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],$l=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ed=0;const bw=new i.OlP("MatError");let Ic=(()=>{class n{constructor(e,t){this.id="mat-error-"+Ed++,e||t.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(i.$8M("aria-live"),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("id",t.id)},inputs:{id:"id"},features:[i._Bn([{provide:bw,useExisting:n}])]}),n})();const ww={transitionMessages:ti("transitionMessages",[_t("enter",De({opacity:1,transform:"translateY(0%)"})),ht("void => enter",[De({opacity:0,transform:"translateY(-5px)"}),rt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Dd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n}),n})(),Aw=0;const vw=new i.OlP("MatHint");let pm=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+Aw++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(i.uIk("id",t.id)("align",null),i.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[i._Bn([{provide:vw,useExisting:n}])]}),n})(),Es=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-label"]]}),n})(),xd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const _T=new i.OlP("MatPrefix"),gm=new i.OlP("MatSuffix");let mm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matSuffix",""]],features:[i._Bn([{provide:gm,useExisting:n}])]}),n})(),Cw=0;const wT=Qo(class{constructor(n){this._elementRef=n}},"primary"),OS=new i.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Df=new i.OlP("MatFormField");let ls=(()=>{class n extends wT{constructor(e,t,s,a,r,c,d){super(e),this._changeDetectorRef=t,this._dir=s,this._defaults=a,this._platform=r,this._ngZone=c,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new ke.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Cw++,this._labelId="mat-form-field-label-"+Cw++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==d,this.appearance=a&&a.appearance?a.appearance:"legacy",this._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ne(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Vt(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe($e(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe($e(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Mi.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Vt(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Vt(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe($e(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,da(this._label.nativeElement,"transitionend").pipe((0,Ut.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,s=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,t=this._connectionContainerRef.nativeElement,s=".mat-form-field-outline-start",a=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const g=t.querySelectorAll(`${s}, ${a}`);for(let I=0;I0?.75*we+10:0}for(let g=0;g{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nt,Pl],nt]}),n})();function Dr(n){return n&&"function"==typeof n.connect}class _m{applyChanges(o,e,t,s,a){o.forEachOperation((r,c,d)=>{let h,g;if(null==r.previousIndex){const I=t(r,c,d);h=e.createEmbeddedView(I.templateRef,I.context,I.index),g=1}else null==d?(e.remove(c),g=3):(h=e.get(c),e.move(h,d),g=2);a&&a({context:null==h?void 0:h.context,operation:g,record:r})})}detach(){}}class en{constructor(o=!1,e,t=!0){this._multiple=o,this._emitChanges=t,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new ke.xQ,e&&e.length&&(o?e.forEach(s=>this._markSelected(s)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...o){this._verifyValueAssignment(o),o.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...o){this._verifyValueAssignment(o),o.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(o){this.isSelected(o)?this.deselect(o):this.select(o)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(o){return this._selection.has(o)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(o){this._multiple&&this.selected&&this._selected.sort(o)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(o){this.isSelected(o)||(this._multiple||this._unmarkAll(),this._selection.add(o),this._emitChanges&&this._selectedToEmit.push(o))}_unmarkSelected(o){this.isSelected(o)&&(this._selection.delete(o),this._emitChanges&&this._deselectedToEmit.push(o))}_unmarkAll(){this.isEmpty()||this._selection.forEach(o=>this._unmarkSelected(o))}_verifyValueAssignment(o){}}let Sw=(()=>{class n{constructor(){this._listeners=[]}notify(e,t){for(let s of this._listeners)s(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Wl=new i.OlP("_ViewRepeater");let xf=(()=>{class n{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n}),n})(),Ea=(()=>{class n extends xf{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const Jn=new i.OlP("NgValueAccessor"),vT={provide:Jn,useExisting:(0,i.Gpc)(()=>us),multi:!0},TT=new i.OlP("CompositionEventMode");let us=(()=>{class n extends xf{constructor(e,t,s){super(e,t),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function CT(){const n=(0,b.q)()?(0,b.q)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(TT,8))},n.\u0275dir=i.lG2({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&i.NdJ("input",function(a){return t._handleInput(a.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(a){return t._compositionEnd(a.target.value)})},features:[i._Bn([vT]),i.qOj]}),n})();function Da(n){return null==n||0===n.length}function Dw(n){return null!=n&&"number"==typeof n.length}const Bi=new i.OlP("NgValidators"),xr=new i.OlP("NgAsyncValidators"),xw=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Oi{static min(o){return function ym(n){return o=>{if(Da(o.value)||Da(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e{if(Da(o.value)||Da(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e>n?{max:{max:n,actual:o.value}}:null}}(o)}static required(o){return wm(o)}static requiredTrue(o){return function Rw(n){return!0===n.value?null:{required:!0}}(o)}static email(o){return function Am(n){return Da(n.value)||xw.test(n.value)?null:{email:!0}}(o)}static minLength(o){return function vm(n){return o=>Da(o.value)||!Dw(o.value)?null:o.value.lengthDw(o.value)&&o.value.length>n?{maxlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static pattern(o){return function Pw(n){if(!n)return Rf;let o,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),o=new RegExp(e)):(e=n.toString(),o=n),t=>{if(Da(t.value))return null;const s=t.value;return o.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(o)}static nullValidator(o){return null}static compose(o){return Ql(o)}static composeAsync(o){return Iw(o)}}function wm(n){return Da(n.value)?{required:!0}:null}function Rf(n){return null}function Jl(n){return null!=n}function Lw(n){const o=(0,i.QGY)(n)?(0,un.D)(n):n;return(0,i.CqO)(o),o}function Pf(n){let o={};return n.forEach(e=>{o=null!=e?Object.assign(Object.assign({},o),e):o}),0===Object.keys(o).length?null:o}function Mo(n,o){return o.map(e=>e(n))}function Rd(n){return n.map(o=>function MT(n){return!n.validate}(o)?o:e=>o.validate(e))}function Ql(n){if(!n)return null;const o=n.filter(Jl);return 0==o.length?null:function(e){return Pf(Mo(e,o))}}function Tm(n){return null!=n?Ql(Rd(n)):null}function Iw(n){if(!n)return null;const o=n.filter(Jl);return 0==o.length?null:function(e){return vf(Mo(e,o).map(Lw)).pipe((0,at.U)(Pf))}}function Mm(n){return null!=n?Iw(Rd(n)):null}function Pd(n,o){return null===n?[o]:Array.isArray(n)?[...n,o]:[n,o]}function Ld(n){return n._rawValidators}function Ow(n){return n._rawAsyncValidators}function Sm(n){return n?Array.isArray(n)?n:[n]:[]}function Id(n,o){return Array.isArray(n)?n.includes(o):n===o}function km(n,o){const e=Sm(o);return Sm(n).forEach(s=>{Id(e,s)||e.push(s)}),e}function Lf(n,o){return Sm(o).filter(e=>!Id(n,e))}class Em{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(o){this._rawValidators=o||[],this._composedValidatorFn=Tm(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=Mm(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o){this.control&&this.control.reset(o)}hasError(o,e){return!!this.control&&this.control.hasError(o,e)}getError(o,e){return this.control?this.control.getError(o,e):null}}class So extends Em{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Qn extends Em{get formDirective(){return null}get path(){return null}}class ST{constructor(o){this._cd=o}is(o){var e,t,s;return"submitted"===o?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(s=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===s?void 0:s[o])}}let ds=(()=>{class n extends ST{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(So,2))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[i.qOj]}),n})(),If=(()=>{class n extends ST{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Qn,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[i.qOj]}),n})();function Hd(n,o){return[...o.path,n]}function fn(n,o){Yw(n,o),o.valueAccessor.writeValue(n.value),function FT(n,o){o.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&jw(n,o)})}(n,o),function Uw(n,o){const e=(t,s)=>{o.valueAccessor.writeValue(t),s&&o.viewToModelUpdate(t)};n.registerOnChange(e),o._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,o),function Rm(n,o){o.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&jw(n,o),"submit"!==n.updateOn&&n.markAsTouched()})}(n,o),function HT(n,o){if(o.valueAccessor.setDisabledState){const e=t=>{o.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),o._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,o)}function Rr(n,o,e=!0){const t=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(t),o.valueAccessor.registerOnTouched(t)),xa(n,o),n&&(o._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Hf(n,o){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(o)})}function Yw(n,o){const e=Ld(n);null!==o.validator?n.setValidators(Pd(e,o.validator)):"function"==typeof e&&n.setValidators([e]);const t=Ow(n);null!==o.asyncValidator?n.setAsyncValidators(Pd(t,o.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);const s=()=>n.updateValueAndValidity();Hf(o._rawValidators,s),Hf(o._rawAsyncValidators,s)}function xa(n,o){let e=!1;if(null!==n){if(null!==o.validator){const s=Ld(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.validator);a.length!==s.length&&(e=!0,n.setValidators(a))}}if(null!==o.asyncValidator){const s=Ow(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.asyncValidator);a.length!==s.length&&(e=!0,n.setAsyncValidators(a))}}}const t=()=>{};return Hf(o._rawValidators,t),Hf(o._rawAsyncValidators,t),e}function jw(n,o){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Vw(n,o){Yw(n,o)}function Ff(n,o){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(o,e.currentValue)}function Nf(n,o){n._syncPendingControls(),o.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Kw(n,o){if(!o)return null;let e,t,s;return Array.isArray(o),o.forEach(a=>{a.constructor===us?e=a:function zf(n){return Object.getPrototypeOf(n.constructor)===Ea}(a)?t=a:s=a}),s||t||e||null}function Bf(n,o){const e=n.indexOf(o);e>-1&&n.splice(e,1)}const Ra="VALID",Fd="INVALID",Xl="PENDING",Oc="DISABLED";function Zw(n){return(zd(n)?n.validators:n)||null}function $w(n){return Array.isArray(n)?Tm(n):n||null}function Lm(n,o){return(zd(o)?o.asyncValidators:n)||null}function Im(n){return Array.isArray(n)?Mm(n):n||null}function zd(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const Om=n=>n instanceof ki,Nd=n=>n instanceof Bd,Hm=n=>n instanceof Nm;function Ww(n){return Om(n)?n.value:n.getRawValue()}function Jw(n,o){const e=Nd(n),t=n.controls;if(!(e?Object.keys(t):t).length)throw new i.vHH(1e3,"");if(!t[o])throw new i.vHH(1001,"")}function Fm(n,o){Nd(n),n._forEachChild((t,s)=>{if(void 0===o[s])throw new i.vHH(1002,"")})}class zm{constructor(o,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=o,this._rawAsyncValidators=e,this._composedValidatorFn=$w(this._rawValidators),this._composedAsyncValidatorFn=Im(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===Ra}get invalid(){return this.status===Fd}get pending(){return this.status==Xl}get disabled(){return this.status===Oc}get enabled(){return this.status!==Oc}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._rawValidators=o,this._composedValidatorFn=$w(o)}setAsyncValidators(o){this._rawAsyncValidators=o,this._composedAsyncValidatorFn=Im(o)}addValidators(o){this.setValidators(km(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(km(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(Lf(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(Lf(o,this._rawAsyncValidators))}hasValidator(o){return Id(this._rawValidators,o)}hasAsyncValidator(o){return Id(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){this.touched=!0,this._parent&&!o.onlySelf&&this._parent.markAsTouched(o)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(o=>o.markAllAsTouched())}markAsUntouched(o={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}markAsDirty(o={}){this.pristine=!1,this._parent&&!o.onlySelf&&this._parent.markAsDirty(o)}markAsPristine(o={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}markAsPending(o={}){this.status=Xl,!1!==o.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!o.onlySelf&&this._parent.markAsPending(o)}disable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=Oc,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this._updateValue(),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=Ra,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(o){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(o){this._parent=o}updateValueAndValidity(o={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ra||this.status===Xl)&&this._runAsyncValidator(o.emitEvent)),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity(o)}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Oc:Ra}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o){if(this.asyncValidator){this.status=Xl,this._hasOwnPendingAsyncValidator=!0;const e=Lw(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:o})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(o,e={}){this.errors=o,this._updateControlsErrors(!1!==e.emitEvent)}get(o){return function Pm(n,o,e){if(null==o||(Array.isArray(o)||(o=o.split(e)),Array.isArray(o)&&0===o.length))return null;let t=n;return o.forEach(s=>{t=Nd(t)?t.controls.hasOwnProperty(s)?t.controls[s]:null:Hm(t)&&t.at(s)||null}),t}(this,o,".")}getError(o,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[o]:null}hasError(o,e){return!!this.getError(o,e)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(o)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Oc:this.errors?Fd:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Xl)?Xl:this._anyControlsHaveStatus(Fd)?Fd:Ra}_anyControlsHaveStatus(o){return this._anyControls(e=>e.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o={}){this.pristine=!this._anyControlsDirty(),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}_updateTouched(o={}){this.touched=this._anyControlsTouched(),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}_isBoxedValue(o){return"object"==typeof o&&null!==o&&2===Object.keys(o).length&&"value"in o&&"disabled"in o}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){zd(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class ki extends zm{constructor(o=null,e,t){super(Zw(e),Lm(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(o),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),zd(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(o)?o.value:o)}setValue(o,e={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(o,e={}){this.setValue(o,e)}reset(o=this.defaultValue,e={}){this._applyFormState(o),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){Bf(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){Bf(this._onDisabledChange,o)}_forEachChild(o){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(o){this._isBoxedValue(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}}class Bd extends zm{constructor(o,e,t){super(Zw(e),Lm(t,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,e){return this.controls[o]?this.controls[o]:(this.controls[o]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(o,e,t={}){this.registerControl(o,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(o,e,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],e&&this.registerControl(o,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,e={}){Fm(this,o),Object.keys(o).forEach(t=>{Jw(this,t),this.controls[t].setValue(o[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(Object.keys(o).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(o[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o={},e={}){this._forEachChild((t,s)=>{t.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(o,e,t)=>(o[t]=Ww(e),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&o(t,e)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&o(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(o,e,t)=>((e.enabled||this.disabled)&&(o[t]=e.value),o))}_reduceChildren(o,e){let t=o;return this._forEachChild((s,a)=>{t=e(t,s,a)}),t}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Nm extends zm{constructor(o,e,t){super(Zw(e),Lm(t,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(o){return this.controls[o]}push(o,e={}){this.controls.push(o),this._registerControl(o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(o,e,t={}){this.controls.splice(o,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(o,e,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(o,e={}){Fm(this,o),o.forEach((t,s)=>{Jw(this,s),this.at(s).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(o.forEach((t,s)=>{this.at(s)&&this.at(s).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o=[],e={}){this._forEachChild((t,s)=>{t.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(o=>Ww(o))}clear(o={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:o.emitEvent}))}_syncPendingControls(){let o=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){this.controls.forEach((e,t)=>{o(e,t)})}_updateValue(){this.value=this.controls.filter(o=>o.enabled||this.disabled).map(o=>o.value)}_anyControls(o){return this.controls.some(e=>e.enabled&&o(e))}_setUpControls(){this._forEachChild(o=>this._registerControl(o))}_allControlsDisabled(){for(const o of this.controls)if(o.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(o){o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)}}const Qw={provide:Qn,useExisting:(0,i.Gpc)(()=>Hc)},Yd=(()=>Promise.resolve(null))();let Hc=(()=>{class n extends Qn{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.vpe,this.form=new Bd({},Tm(e),Mm(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Yd.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),fn(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Yd.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Yd.then(()=>{const t=this._findContainer(e.path),s=new Bd({});Vw(s,e),t.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Yd.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Yd.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Nf(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Bi,10),i.Y36(xr,10))},n.\u0275dir=i.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(a){return t.onSubmit(a)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Qw]),i.qOj]}),n})();const zS={provide:So,useExisting:(0,i.Gpc)(()=>jd)},jT=(()=>Promise.resolve(null))();let jd=(()=>{class n extends So{constructor(e,t,s,a,r){super(),this._changeDetectorRef=r,this.control=new ki,this._registered=!1,this.update=new i.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Kw(0,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Ff(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){fn(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){jT.then(()=>{var t;this.control.setValue(e,{emitViewToModelChange:!1}),null===(t=this._changeDetectorRef)||void 0===t||t.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,s=""===t||t&&"false"!==t;jT.then(()=>{var a;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()})}_getPath(e){return this._parent?Hd(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Qn,9),i.Y36(Bi,10),i.Y36(xr,10),i.Y36(Jn,10),i.Y36(i.sBO,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([zS]),i.qOj,i.TTD]}),n})(),Ud=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})(),Xw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const Vf=new i.OlP("NgModelWithFormControlWarning"),BS={provide:So,useExisting:(0,i.Gpc)(()=>Ws)};let Ws=(()=>{class n extends So{constructor(e,t,s,a){super(),this._ngModelWarningConfig=a,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Kw(0,s)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Rr(t,this,!1),fn(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Ff(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Rr(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(i.Y36(Bi,10),i.Y36(xr,10),i.Y36(Jn,10),i.Y36(Vf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([BS]),i.qOj,i.TTD]}),n})();const qf={provide:Qn,useExisting:(0,i.Gpc)(()=>Pa)};let Pa=(()=>{class n extends Qn{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(xa(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return fn(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Rr(e.control||null,e,!1),Bf(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,Nf(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,s=this.form.get(e.path);t!==s&&(Rr(t||null,e),Om(s)&&(fn(s,e),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Vw(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function zT(n,o){return xa(n,o)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Yw(this.form,this),this._oldForm&&xa(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Bi,10),i.Y36(xr,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(a){return t.onSubmit(a)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([qf]),i.qOj,i.TTD]}),n})();const qT={provide:So,useExisting:(0,i.Gpc)(()=>iA)};let iA=(()=>{class n extends So{constructor(e,t,s,a,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Kw(0,a)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),Ff(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Hd(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(i.Y36(Qn,13),i.Y36(Bi,10),i.Y36(xr,10),i.Y36(Jn,10),i.Y36(Vf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([qT]),i.qOj,i.TTD]}),n})(),Fc=(()=>{class n{constructor(){this._validator=Rf}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Rf,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();const US={provide:Bi,useExisting:(0,i.Gpc)(()=>tr),multi:!0};let tr=(()=>{class n extends Fc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function aA(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>wm}enabled(e){return e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[i._Bn([US]),i.qOj]}),n})(),Km=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Xw]]}),n})(),Zm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[Km]}),n})(),zc=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Vf,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[Km]}),n})(),VS=(()=>{class n{group(e,t=null){const s=this._reduceControls(e);let c,a=null,r=null;return null!=t&&(function hA(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(t)?(a=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,c=null!=t.updateOn?t.updateOn:void 0):(a=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new Bd(s,{asyncValidators:r,updateOn:c,validators:a})}control(e,t,s){return new ki(e,t,s)}array(e,t,s){const a=e.map(r=>this._createControl(r));return new Nm(a,t,s)}_reduceControls(e){const t={};return Object.keys(e).forEach(s=>{t[s]=this._createControl(e[s])}),t}_createControl(e){return Om(e)||Nd(e)||Hm(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:zc}),n})();const GS=["trigger"],KS=["panel"];function fA(n,o){if(1&n&&(i.TgZ(0,"span",8),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.placeholder)}}function s0(n,o){if(1&n&&(i.TgZ(0,"span",12),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.triggerValue)}}function o0(n,o){1&n&&i.Hsn(0,0,["*ngSwitchCase","true"])}function r0(n,o){if(1&n&&(i.TgZ(0,"span",9),i.YNc(1,s0,2,1,"span",10),i.YNc(2,o0,1,0,"ng-content",11),i.qZA()),2&n){const e=i.oxw();i.Q6J("ngSwitch",!!e.customTrigger),i.xp6(2),i.Q6J("ngSwitchCase",!0)}}function ZS(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",13),i.TgZ(1,"div",14,15),i.NdJ("@transformPanel.done",function(s){return i.CHM(e),i.oxw()._panelDoneAnimatingStream.next(s.toState)})("keydown",function(s){return i.CHM(e),i.oxw()._handleKeydown(s)}),i.Hsn(3,1),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("@transformPanelWrap",void 0),i.xp6(1),i.Gre("mat-select-panel ",e._getPanelTheme(),""),i.Udp("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),i.Q6J("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),i.uIk("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const $S=[[["mat-select-trigger"]],"*"],WS=["mat-select-trigger","*"],a0={transformPanelWrap:ti("transformPanelWrap",[ht("* => void",Ao("@transformPanel",[Yy()],{optional:!0}))]),transformPanel:ti("transformPanel",[_t("void",De({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),_t("showing",De({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),_t("showing-multiple",De({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),ht("void => *",rt("120ms cubic-bezier(0, 0, 0.2, 1)")),ht("* => void",rt("100ms 25ms linear",De({opacity:0})))])};let pA=0;const mA=new i.OlP("mat-select-scroll-strategy"),Jm=new i.OlP("MAT_SELECT_CONFIG"),Qf={provide:mA,deps:[Ji],useFactory:function Wm(n){return()=>n.scrollStrategies.reposition()}};class QS{constructor(o,e){this.source=o,this.value=e}}const XS=To(Vl(Co($g(class{constructor(n,o,e,t,s){this._elementRef=n,this._defaultErrorStateMatcher=o,this._parentForm=e,this._parentFormGroup=t,this.ngControl=s}})))),ek=new i.OlP("MatSelectTrigger");let _A=(()=>{class n extends XS{constructor(e,t,s,a,r,c,d,h,g,I,W,ce,we,Me){var Fe,Ht,Jt;super(r,a,d,h,I),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=s,this._dir=c,this._parentFormField=g,this._liveAnnouncer=we,this._defaultOptions=Me,this._panelOpen=!1,this._compareWith=(Lt,oi)=>Lt===oi,this._uid="mat-select-"+pA++,this._triggerAriaLabelledBy=null,this._destroy=new ke.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+pA++,this._panelDoneAnimatingStream=new ke.xQ,this._overlayPanelClass=(null===(Fe=this._defaultOptions)||void 0===Fe?void 0:Fe.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Jt=null===(Ht=this._defaultOptions)||void 0===Ht?void 0:Ht.disableOptionCentering)&&void 0!==Jt&&Jt,this.ariaLabel="",this.optionSelectionChanges=cr(()=>{const Lt=this.options;return Lt?Lt.changes.pipe(Vt(Lt),(0,Ci.w)(()=>(0,Mi.T)(...Lt.map(oi=>oi.onSelectionChange)))):this._ngZone.onStable.pipe((0,Ut.q)(1),(0,Ci.w)(()=>this.optionSelectionChanges))}),this.openedChange=new i.vpe,this._openedStream=this.openedChange.pipe((0,Kt.h)(Lt=>Lt),(0,at.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Kt.h)(Lt=>!Lt),(0,at.U)(()=>{})),this.selectionChange=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Me?void 0:Me.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Me.typeaheadDebounceInterval),this._scrollStrategyFactory=ce,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(W)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(Oi.required))&&void 0!==a&&a}set required(e){this._required=Ne(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Ne(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Ne(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Zi(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new en(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(yc(),$e(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe($e(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Vt(null),$e(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,t;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(t=this._selectionModel)||void 0===t?void 0:t.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,s=40===t||38===t||37===t||39===t,a=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&a&&!Ni(e)||(this.multiple||e.altKey)&&s)e.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;r.onKeydown(e);const d=this.selected;d&&c!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,s=e.keyCode,a=40===s||38===s,r=t.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(r||13!==s&&32!==s||!t.activeItem||Ni(e))if(!r&&this._multiple&&65===s&&e.ctrlKey){e.preventDefault();const c=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(c?d.select():d.deselect())})}else{const c=t.activeItemIndex;t.onKeydown(e),this._multiple&&a&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==c&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,Ut.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectValue(t)),this._sortValues();else{const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(s=>{if(this._selectionModel.isSelected(s))return!1;try{return null!=s.value&&this._compareWith(s.value,e)}catch(a){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new _g(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe($e(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe($e(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=(0,Mi.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe($e(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Mi.T)(...this.options.map(t=>t._stateChanges)).pipe($e(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const s=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(s!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),s!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,s)=>this.sortComparator?this.sortComparator(t,s,e):e.indexOf(t)-e.indexOf(s)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let s=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(s+=" "+this.ariaLabelledby),s}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Hn),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(Xo),i.Y36(i.SBq),i.Y36(Ti,8),i.Y36(Hc,8),i.Y36(Pa,8),i.Y36(Df,8),i.Y36(So,10),i.$8M("tabindex"),i.Y36(mA),i.Y36(mC),i.Y36(Jm,8))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf(GS,5),i.Gf(KS,5),i.Gf(sC,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.trigger=s.first),i.iGM(s=i.CRH())&&(t.panel=s.first),i.iGM(s=i.CRH())&&(t._overlayDir=s.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[i.qOj,i.TTD]}),n})(),qd=(()=>{class n extends _A{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,s){const a=this._getItemHeight();return Math.min(Math.max(0,a*e-t+a/2),s)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe($e(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const t=Wb(e,this.options,this.optionGroups),s=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===t?0:function JC(n,o,e,t){return ne+t?Math.max(0,n-t+o):e}((e+t)*s,s,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new QS(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),s=this._isRtl(),a=this.multiple?56:32;let r;if(this.multiple)r=40;else if(this.disableOptionCentering)r=16;else{let h=this._selectionModel.selected[0]||this.options.first;r=h&&h.group?32:16}s||(r*=-1);const c=0-(e.left+r-(s?a:0)),d=e.right+r-t.width+(s?0:a);c>0?r+=c+8:d>0&&(r-=d+8),this._overlayDir.offsetX=Math.round(r),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,s){const a=this._getItemHeight(),r=(a-this._triggerRect.height)/2,c=Math.floor(256/a);let d;return this.disableOptionCentering?0:(d=0===this._scrollTop?e*a:this._scrollTop===s?(e-(this._getItemCount()-c))*a+(a-(this._getItemCount()*a-256)%a):t-a/2,Math.round(-1*d-r))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),s=this._viewportRuler.getViewportSize(),a=this._triggerRect.top-8,r=s.height-this._triggerRect.bottom-8,c=Math.abs(this._offsetY),h=Math.min(this._getItemCount()*t,256)-c-this._triggerRect.height;h>r?this._adjustPanelUp(h,r):c>a?this._adjustPanelDown(c,a,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const s=Math.round(e-t);this._scrollTop-=s,this._offsetY-=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,s){const a=Math.round(e-t);if(this._scrollTop+=a,this._offsetY+=a,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=s)return this._scrollTop=s,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),s=Math.min(t*e,256),r=t*e-s;let c;c=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),c+=Wb(c,this.options,this.optionGroups);const d=s/2;this._scrollTop=this._calculateOverlayScroll(c,d,r),this._offsetY=this._calculateOverlayOffsetY(c,d,r),this._checkOverlayWithinViewport(r)}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-select"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,ek,5),i.Suo(s,Lc,5),i.Suo(s,Gb,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.customTrigger=a.first),i.iGM(a=i.CRH())&&(t.options=a),i.iGM(a=i.CRH())&&(t.optionGroups=a)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(a){return t._handleKeydown(a)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(i.uIk("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),i.ekj("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[i._Bn([{provide:Dd,useExisting:n},{provide:vd,useExisting:n}]),i.qOj],ngContentSelectors:WS,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(i.F$t($S),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t.toggle()}),i.TgZ(3,"div",2),i.YNc(4,fA,2,1,"span",3),i.YNc(5,r0,3,2,"span",4),i.qZA(),i.TgZ(6,"div",5),i._UZ(7,"div",6),i.qZA(),i.qZA(),i.YNc(8,ZS,4,14,"ng-template",7),i.NdJ("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){const s=i.MAs(1);i.uIk("aria-owns",t.panelOpen?t.id+"-panel":null),i.xp6(3),i.Q6J("ngSwitch",t.empty),i.uIk("id",t._valueId),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1),i.xp6(3),i.Q6J("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[by,b.RF,b.n9,b.ED,sC,b.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[a0.transformPanelWrap,a0.transformPanel]},changeDetection:0}),n})(),Xf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Qf],imports:[[b.ez,id,tm,nt],An,$s,tm,nt]}),n})();const yA=new Set;let Yc,bA=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):c0}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function wA(n){if(!yA.has(n))try{Yc||(Yc=document.createElement("style"),Yc.setAttribute("type","text/css"),document.head.appendChild(Yc)),Yc.sheet&&(Yc.sheet.insertRule(`@media ${n} {body{ }}`,0),yA.add(n))}catch(o){console.error(o)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function c0(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let l0=(()=>{class n{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new ke.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Qm(ua(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){const s=Qm(ua(e)).map(r=>this._registerQuery(r).observable);let a=(0,jr.aj)(s);return a=ro(a.pipe((0,Ut.q)(1)),a.pipe(Ay(1),(0,nd.b)(0))),a.pipe((0,at.U)(r=>{const c={matches:!1,breakpoints:{}};return r.forEach(({matches:d,query:h})=>{c.matches=c.matches||d,c.breakpoints[h]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),a={observable:new Ui.y(r=>{const c=d=>this._zone.run(()=>r.next(d));return t.addListener(c),()=>{t.removeListener(c)}}).pipe(Vt(t),(0,at.U)(({matches:r})=>({query:e,matches:r})),$e(this._destroySubject)),mql:t};return this._queries.set(e,a),a}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(bA),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Qm(n){return n.map(o=>o.split(",")).reduce((o,e)=>o.concat(e)).map(o=>o.trim())}const ik={tooltipState:ti("state",[_t("initial, void, hidden",De({opacity:0,transform:"scale(0)"})),_t("visible",De({transform:"scale(1)"})),ht("* => visible",rt("200ms cubic-bezier(0, 0, 0.2, 1)",Mr([De({opacity:0,transform:"scale(0)",offset:0}),De({opacity:.5,transform:"scale(0.99)",offset:.5}),De({opacity:1,transform:"scale(1)",offset:1})]))),ht("* => hidden",rt("100ms cubic-bezier(0, 0, 0.2, 1)",De({opacity:0})))])},vA="tooltip-panel",CA=_o({passive:!0}),d0=new i.OlP("mat-tooltip-scroll-strategy"),f0={provide:d0,deps:[Ji],useFactory:function h0(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},p0=new i.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function g0(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let m0=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I,W,ce){this._overlay=e,this._elementRef=t,this._scrollDispatcher=s,this._viewContainerRef=a,this._ngZone=r,this._platform=c,this._ariaDescriber=d,this._focusMonitor=h,this._dir=I,this._defaultOptions=W,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 ke.xQ,this._scrollStrategy=g,this._document=ce,W&&(W.position&&(this.position=W.position),W.touchGestures&&(this.touchGestures=W.touchGestures)),I.change.pipe($e(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=Ne(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Zi(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Zi(e)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).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(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe($e(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,s])=>{e.removeEventListener(t,s,CA)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new pa(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe($e(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return t.positionChanges.pipe($e(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:`${this._cssClassPrefix}-${vA}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe($e(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe($e(this._destroyed)).subscribe(()=>{var s;return null===(s=this._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe($e(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!Ni(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,s=this._getOrigin(),a=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},s.main),a.main)),this._addOffset(Object.assign(Object.assign({},s.fallback),a.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let s;"above"==t||"below"==t?s={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?s={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(s={originX:"end",originY:"center"});const{x:a,y:r}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:a,originY:r}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let s;"above"==t?s={overlayX:"center",overlayY:"bottom"}:"below"==t?s={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?s={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(s={overlayX:"start",overlayY:"center"});const{x:a,y:r}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:a,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Ut.q)(1),$e(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){const{overlayY:t,originX:s,originY:a}=e;let r;if(r="center"===t?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===t&&"top"===a?"above":"below",r!==this._currentPosition){const c=this._overlayRef;if(c){const d=`${this._cssClassPrefix}-${vA}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+r)}this._currentPosition=r}}_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 e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,s])=>{this._elementRef.nativeElement.addEventListener(t,s,CA)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=this._document.elementFromPoint(e.clientX,e.clientY),s=this._elementRef.nativeElement;t!==s&&!s.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,s=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(s.userSelect=s.msUserSelect=s.webkitUserSelect=s.MozUserSelect="none"),("on"===e||!t.draggable)&&(s.webkitUserDrag="none"),s.touchAction="none",s.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),jc=(()=>{class n extends m0{constructor(e,t,s,a,r,c,d,h,g,I,W,ce){super(e,t,s,a,r,c,d,h,g,I,W,ce),this._tooltipComponent=y0}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ji),i.Y36(i.SBq),i.Y36(Dl),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(fi),i.Y36(rd),i.Y36(Ys),i.Y36(d0),i.Y36(Ti,8),i.Y36(p0,8),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[i.qOj]}),n})(),_0=(()=>{class n{constructor(e){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new ke.xQ}show(e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"===t&&!this.isVisible()&&this._onHide.next(),("visible"===t||"hidden"===t)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n}),n})(),y0=(()=>{class n extends _0{constructor(e,t){super(e),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(l0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){2&e&&i.Udp("zoom","visible"===t._visibility?1:null)},features:[i.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(a){return t._animationDone(a)}),i.ALo(1,"async"),i._uU(2),i.qZA()),2&e){let s;i.ekj("mat-tooltip-handset",null==(s=i.lcZ(1,5,t._isHandset))?null:s.matches),i.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),i.xp6(2),i.Oqu(t.message)}},directives:[b.mk],pipes:[b.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[ik.tooltipState]},changeDetection:0}),n})(),tp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[f0],imports:[[zy,b.ez,id,nt],nt,An]}),n})();function sk(n,o){if(1&n&&(i.TgZ(0,"mat-option",19),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e," ")}}function ok(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",16),i.TgZ(1,"mat-select",17),i.NdJ("selectionChange",function(s){return i.CHM(e),i.oxw(2)._changePageSize(s.value)}),i.YNc(2,sk,2,2,"mat-option",18),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.Q6J("appearance",e._formFieldAppearance)("color",e.color),i.xp6(1),i.Q6J("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),i.xp6(1),i.Q6J("ngForOf",e._displayedPageSizeOptions)}}function rk(n,o){if(1&n&&(i.TgZ(0,"div",20),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.pageSize)}}function ak(n,o){if(1&n&&(i.TgZ(0,"div",12),i.TgZ(1,"div",13),i._uU(2),i.qZA(),i.YNc(3,ok,3,6,"mat-form-field",14),i.YNc(4,rk,2,1,"div",15),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",e._intl.itemsPerPageLabel," "),i.xp6(1),i.Q6J("ngIf",e._displayedPageSizeOptions.length>1),i.xp6(1),i.Q6J("ngIf",e._displayedPageSizeOptions.length<=1)}}function b0(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",21),i.NdJ("click",function(){return i.CHM(e),i.oxw().firstPage()}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",22),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),i.uIk("aria-label",e._intl.firstPageLabel)}}function ck(n,o){if(1&n){const e=i.EpF();i.O4$(),i.kcU(),i.TgZ(0,"button",23),i.NdJ("click",function(){return i.CHM(e),i.oxw().lastPage()}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",24),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),i.uIk("aria-label",e._intl.lastPageLabel)}}let e_=(()=>{class n{constructor(){this.changes=new ke.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,s)=>{if(0==s||0==t)return`0 of ${s}`;const a=e*t;return`${a+1} \u2013 ${a<(s=Math.max(s,0))?Math.min(a+t,s):a+t} of ${s}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const uk={provide:e_,deps:[[new i.FiY,new i.tp0,e_]],useFactory:function lk(n){return n||new e_}},f=new i.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),p=Co(Nb(class{}));let m=(()=>{class n extends p{constructor(e,t,s){if(super(),this._intl=e,this._changeDetectorRef=t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new i.vpe,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),s){const{pageSize:a,pageSizeOptions:r,hidePageSize:c,showFirstLastButtons:d}=s;null!=a&&(this._pageSize=a),null!=r&&(this._pageSizeOptions=r),null!=c&&(this._hidePageSize=c),null!=d&&(this._showFirstLastButtons=d)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Zi(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Zi(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Zi(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(t=>Zi(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=Ne(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=Ne(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[i.qOj]}),n})(),y=(()=>{class n extends m{constructor(e,t,s){super(e,t,s),s&&null!=s.formFieldAppearance&&(this._formFieldAppearance=s.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(e_),i.Y36(i.sBO),i.Y36(f,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[i.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.YNc(2,ak,5,3,"div",2),i.TgZ(3,"div",3),i.TgZ(4,"div",4),i._uU(5),i.qZA(),i.YNc(6,b0,3,5,"button",5),i.TgZ(7,"button",6),i.NdJ("click",function(){return t.previousPage()}),i.O4$(),i.TgZ(8,"svg",7),i._UZ(9,"path",8),i.qZA(),i.qZA(),i.kcU(),i.TgZ(10,"button",9),i.NdJ("click",function(){return t.nextPage()}),i.O4$(),i.TgZ(11,"svg",7),i._UZ(12,"path",10),i.qZA(),i.qZA(),i.YNc(13,ck,3,5,"button",11),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("ngIf",!t.hidePageSize),i.xp6(3),i.hij(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),i.xp6(1),i.Q6J("ngIf",t.showFirstLastButtons),i.xp6(1),i.Q6J("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),i.uIk("aria-label",t._intl.previousPageLabel),i.xp6(3),i.Q6J("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),i.uIk("aria-label",t._intl.nextPageLabel),i.xp6(3),i.Q6J("ngIf",t.showFirstLastButtons))},directives:[ls,qd,Lc,Bt,b.O5,b.sg,jc],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),n})(),M=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[uk],imports:[[b.ez,Zs,Xf,tp,nt]]}),n})();var k=w(943);const x=["mat-menu-item",""];function z(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",2),i._UZ(1,"polygon",3),i.qZA())}const j=["*"];function Q(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",0),i.NdJ("keydown",function(s){return i.CHM(e),i.oxw()._handleKeydown(s)})("click",function(){return i.CHM(e),i.oxw().closed.emit("click")})("@transformMenu.start",function(s){return i.CHM(e),i.oxw()._onAnimationStart(s)})("@transformMenu.done",function(s){return i.CHM(e),i.oxw()._onAnimationDone(s)}),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),i.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const te={transformMenu:ti("transformMenu",[_t("void",De({opacity:0,transform:"scale(0.8)"})),ht("void => enter",rt("120ms cubic-bezier(0, 0, 0.2, 1)",De({opacity:1,transform:"scale(1)"}))),ht("* => void",rt("100ms 25ms linear",De({opacity:0})))]),fadeInItems:ti("fadeInItems",[_t("showing",De({opacity:1})),ht("void => *",[De({opacity:0}),rt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Le=new i.OlP("MatMenuContent"),es=new i.OlP("MAT_MENU_PANEL"),Uc=To(Co(class{}));let Vc=(()=>{class n extends Uc{constructor(e,t,s,a,r){var c;super(),this._elementRef=e,this._focusMonitor=s,this._parentMenu=a,this._changeDetectorRef=r,this.role="menuitem",this._hovered=new ke.xQ,this._focused=new ke.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(c=null==a?void 0:a.addItem)||void 0===c||c.call(a,this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const t=this._elementRef.nativeElement.cloneNode(!0),s=t.querySelectorAll("mat-icon, .material-icons");for(let a=0;a{class n{constructor(e,t,s){this._elementRef=e,this._ngZone=t,this._defaultOptions=s,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.n_E,this._tabSubscription=P.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new ke.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new i.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+i_++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=Ne(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ne(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(s=>{this._classList[s]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(s=>{this._classList[s]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new bc(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Vt(this._directDescendantItems),(0,Ci.w)(e=>(0,Mi.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Vt(this._directDescendantItems),(0,Ci.w)(t=>(0,Mi.T)(...t.map(s=>s._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,s=this._keyManager;switch(t){case 27:Ni(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===t||40===t)&&s.setFocusOrigin("keyboard"),void s.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let s=this._directDescendantItems.first._getHostElement().parentElement;for(;s;){if("menu"===s.getAttribute("role")){s.focus();break}s=s.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),s=`${this._elevationPrefix}${t}`,a=Object.keys(this._classList).find(r=>r.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(e=this.xPosition,t=this.yPosition){const s=this._classList;s["mat-menu-before"]="before"===e,s["mat-menu-after"]="after"===e,s["mat-menu-above"]="above"===t,s["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Vt(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(ip))},n.\u0275dir=i.lG2({type:n,contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Le,5),i.Suo(s,Vc,5),i.Suo(s,Vc,4)),2&e){let a;i.iGM(a=i.CRH())&&(t.lazyContent=a.first),i.iGM(a=i.CRH())&&(t._allItems=a),i.iGM(a=i.CRH())&&(t.items=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,5),2&e){let s;i.iGM(s=i.CRH())&&(t.templateRef=s.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),np=(()=>{class n extends qc{constructor(e,t,s){super(e,t,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(ip))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&i.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[i._Bn([{provide:es,useExisting:n}]),i.qOj],ngContentSelectors:j,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,Q,3,6,"ng-template"))},directives:[b.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[te.transformMenu,te.fadeInItems]},changeDetection:0}),n})();const sp=new i.OlP("mat-menu-scroll-strategy"),s_={provide:sp,deps:[Ji],useFactory:function n_(n){return()=>n.scrollStrategies.reposition()}},hk=_o({passive:!0});let a1=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this._overlay=e,this._element=t,this._viewContainerRef=s,this._menuItemInstance=c,this._dir=d,this._focusMonitor=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=P.w.EMPTY,this._hoverSubscription=P.w.EMPTY,this._menuCloseSubscription=P.w.EMPTY,this._handleTouchStart=g=>{ad(g)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new i.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=r instanceof qc?r:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,hk),c&&(c._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),("click"===t||"tab"===t)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,hk),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig(),s=t.positionStrategy;this._setPosition(s),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof qc&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe($e(this.menu.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof qc?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,Kt.h)(s=>"void"===s.toState),(0,Ut.q)(1),$e(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new En({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,s]="before"===this.menu.xPosition?["end","start"]:["start","end"],[a,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[c,d]=[a,r],[h,g]=[t,s],I=0;this.triggersSubmenu()?(g=t="before"===this.menu.xPosition?"start":"end",s=h="end"===t?"start":"end",I="bottom"===a?8:-8):this.menu.overlapTrigger||(c="top"===a?"bottom":"top",d="top"===r?"bottom":"top"),e.withPositions([{originX:t,originY:c,overlayX:h,overlayY:a,offsetY:I},{originX:s,originY:c,overlayX:g,overlayY:a,offsetY:I},{originX:t,originY:d,overlayX:h,overlayY:r,offsetY:-I},{originX:s,originY:d,overlayX:g,overlayY:r,offsetY:-I}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),s=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ye.of)(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Kt.h)(r=>r!==this._menuItemInstance),(0,Kt.h)(()=>this._menuOpen)):(0,Ye.of)();return(0,Mi.T)(e,s,a,t)}_handleMousedown(e){Ol(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;(13===t||32===t)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Kt.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,k.g)(0,Pi)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof qc&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Ut.q)(1),(0,k.g)(0,Pi),$e(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Cr(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ji),i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(sp),i.Y36(es,8),i.Y36(Vc,10),i.Y36(Ti,8),i.Y36(Ys))},n.\u0275dir=i.lG2({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t._handleClick(a)})("mousedown",function(a){return t._handleMousedown(a)})("keydown",function(a){return t._handleKeydown(a)}),2&e&&i.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),fk=(()=>{class n extends a1{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[i.qOj]}),n})(),TA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[s_],imports:[[b.ez,nt,cs,id],An,nt]}),n})();var MA=w(1737),c1=w(2474);const l1=["*"];let SA;function o_(n){var o;return(null===(o=function u1(){if(void 0===SA&&(SA=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(SA=n.trustedTypes.createPolicy("angular#components",{createHTML:o=>o}))}return SA}())||void 0===o?void 0:o.createHTML(n))||n}function pk(n){return Error(`Unable to find icon with the name "${n}"`)}function gk(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function mk(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Gd{constructor(o,e,t){this.url=o,this.svgText=e,this.options=t}}let Kd=(()=>{class n{constructor(e,t,s,a){this._httpClient=e,this._sanitizer=t,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=s}addSvgIcon(e,t,s){return this.addSvgIconInNamespace("",e,t,s)}addSvgIconLiteral(e,t,s){return this.addSvgIconLiteralInNamespace("",e,t,s)}addSvgIconInNamespace(e,t,s,a){return this._addSvgIconConfig(e,t,new Gd(s,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,s,a){const r=this._sanitizer.sanitize(i.q3G.HTML,s);if(!r)throw mk(s);const c=o_(r);return this._addSvgIconConfig(e,t,new Gd("",c,a))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,s){return this._addSvgIconSetConfig(e,new Gd(t,null,s))}addSvgIconSetLiteralInNamespace(e,t,s){const a=this._sanitizer.sanitize(i.q3G.HTML,t);if(!a)throw mk(t);const r=o_(a);return this._addSvgIconSetConfig(e,new Gd("",r,s))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,e);if(!t)throw gk(e);const s=this._cachedIconsByUrl.get(t);return s?(0,Ye.of)(kA(s)):this._loadSvgIconFromConfig(new Gd(e,null)).pipe((0,on.b)(a=>this._cachedIconsByUrl.set(t,a)),(0,at.U)(a=>kA(a)))}getNamedSvgIcon(e,t=""){const s=_k(t,e);let a=this._svgIconConfigs.get(s);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(t,e),a)return this._svgIconConfigs.set(s,a),this._getSvgFromConfig(a);const r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):(0,MA._)(pk(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ye.of)(kA(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,at.U)(t=>kA(t)))}_getSvgFromIconSetConfigs(e,t){const s=this._extractIconWithNameFromAnySet(e,t);return s?(0,Ye.of)(s):vf(t.filter(r=>!r.svgText).map(r=>this._loadSvgIconSetFromConfig(r).pipe((0,Tn.K)(c=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(i.q3G.RESOURCE_URL,r.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(h)),(0,Ye.of)(null)})))).pipe((0,at.U)(()=>{const r=this._extractIconWithNameFromAnySet(e,t);if(!r)throw pk(e);return r}))}_extractIconWithNameFromAnySet(e,t){for(let s=t.length-1;s>=0;s--){const a=t[s];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){const r=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(r,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,on.b)(t=>e.svgText=t),(0,at.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ye.of)(null):this._fetchIcon(e).pipe((0,on.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,s){const a=e.querySelector(`[id="${t}"]`);if(!a)return null;const r=a.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,s);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),s);const c=this._svgElementFromString(o_(""));return c.appendChild(r),this._setSvgAttributes(c,s)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const s=t.querySelector("svg");if(!s)throw Error(" tag not found");return s}_toSvgElement(e){const t=this._svgElementFromString(o_("")),s=e.attributes;for(let a=0;ao_(g)),q(()=>this._inProgressUrlFetches.delete(c)),(0,c1.B)());return this._inProgressUrlFetches.set(c,h),h}_addSvgIconConfig(e,t,s){return this._svgIconConfigs.set(_k(e,t),s),this}_addSvgIconSetConfig(e,t){const s=this._iconSetConfigs.get(e);return s?s.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let s=0;so?o.pathname+o.search:""}}}),yk=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],_1=yk.map(n=>`[${n}]`).join(", "),y1=/^url\(['"]?#(.*?)['"]?\)$/;let tn=(()=>{class n extends p1{constructor(e,t,s,a,r){super(e),this._iconRegistry=t,this._location=a,this._errorHandler=r,this._inline=!1,this._currentIconFetch=P.w.EMPTY,s||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=Ne(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let a=0;a{s.forEach(r=>{a.setAttribute(r.name,`url('${e}#${r.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(_1),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{const c=t[a],d=c.getAttribute(r),h=d?d.match(y1):null;if(h){let g=s.get(c);g||(g=[],s.set(c,g)),g.push({name:r,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,s]=this._splitIconName(e);t&&(this._svgNamespace=t),s&&(this._svgName=s),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,t).pipe((0,Ut.q)(1)).subscribe(a=>this._setSvgElement(a),a=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${s}! ${a.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Kd),i.$8M("aria-hidden"),i.Y36(g1),i.Y36(i.qLn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(i.uIk("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),i.ekj("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.qOj],ngContentSelectors:l1,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),n})(),iu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})(),bk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[M,TA,iu,Zs,Sd,b.ez]]}),n})();var b1=w(655),w1=w(9441);const Zd=[5,10,25,100];function wk(n){let o="";return null!==n.titleBefore&&(o+=n.titleBefore+" "),null!==n.firstName&&(o+=n.firstName+" "),null!==n.middleName&&(o+=n.middleName+" "),null!==n.lastName&&(o+=n.lastName+" "),null!==n.titleAfter&&(o+=n.titleAfter+" "),o.endsWith(" ")&&(o=o.substring(0,o.length-1)),o}function ts(){const n=new wf;return n.disableClose=!0,n.autoFocus=!1,n}const x1=new Intl.Collator("cs",{numeric:!0});function op(n,o,e,t){const s=o.active,a=o.direction;return s&&""!==a?n.sort((r,c)=>{const d=e(r,s,t),h=e(c,s,t);return x1.compare(d,h)*("asc"===a?1:-1)}):n}function r_(n,o,e,t,s,a){o=o.toLowerCase();let r="";return e.forEach(c=>{r+=";"+t(n,c,s)}),a&&(r+=";"+t(n,"uuid",s)),-1!==r.toLowerCase().indexOf(o)}function rp(n,o){let e="";return n.attributes&&n.attributes.forEach(t=>{t.friendlyName===o&&(e=t.value)}),e}function ap(n,o,e,t){const s=[],a=["checkbox","select","edit","menu","cite","extend","recent"];return o=o.filter(r=>!a.includes(r)),n.forEach(r=>{const c={};o.forEach(d=>{var h;c[d]=(null!==(h=e(r,d,t))&&void 0!==h?h:"").split('"').join("''").trim()}),s.push(c)}),s}function cp(n,o="csv",e="export"){if("csv"===o){const t=(d,h)=>null===h?"":h,s=Object.keys(n[0]),a=n.map(d=>s.map(h=>JSON.stringify(d[h],t)).join(","));a.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const r=a.join("\r\n"),c=new Blob([r],{type:"text/csv"});(0,w1.saveAs)(c,`${e}.${o}`)}}const Ak="GUI_CONFIG.PREF_PAGE_SIZE.";let P1=(()=>{class n{constructor(){}getString(e){return localStorage.getItem(e)}getNumber(e){return parseInt(localStorage.getItem(e),10)}setNumber(e,t){localStorage.setItem(e,t.toString())}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),L1=(()=>{class n{constructor(e){this.guiConfigService=e}getTablePageSize(e){const t=this.guiConfigService.getNumber(Ak+e);if(!isNaN(t))return t;const s=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE");return isNaN(s)?10:s}setTablePageSize(e,t){this.guiConfigService.setNumber(Ak+e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(P1))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),F1=(()=>{class n{constructor(){this.exportData=new i.vpe}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-options"]],outputs:{exportData:"exportData"},decls:13,vars:5,consts:[[1,"position-right"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["exportOptions","matMenu"],["mat-menu-item","",3,"click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"button",1),i.TgZ(2,"mat-icon"),i._uU(3,"more_vert"),i.qZA(),i.qZA(),i.TgZ(4,"mat-menu",null,2),i.TgZ(6,"button",3),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.qZA(),i.TgZ(9,"mat-menu",null,4),i.TgZ(11,"button",5),i.NdJ("click",function(){return t.exportData.emit("csv")}),i._uU(12,"Csv"),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(5),a=i.MAs(10);i.xp6(1),i.Q6J("matMenuTriggerFor",s),i.xp6(5),i.Q6J("matMenuTriggerFor",a),i.xp6(1),i.hij(" ",i.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[Bt,fk,tn,np,Vc],pipes:[gt],styles:[""]}),n})();function z1(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(s){return i.CHM(e),i.oxw().exportData.emit(s)}),i.qZA()}}function N1(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(s){return i.CHM(e),i.oxw().exportData.emit(s)}),i.qZA()}}const B1=["*"];let ir=(()=>{class n{constructor(e){this.tableConfigService=e,this.hideExport=!1,this.pageSizeOptions=Zd,this.dataLength=0,this.exportData=new i.vpe,this.pageSize=5}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}set matPaginator(e){this.paginator=e}pageChangedTop(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}pageChangedBottom(e){this.paginator.pageSize=e.pageSize,this.paginator.pageIndex=e.pageIndex,this.paginator.page.emit(e),this.pageSize=e.pageSize,this.tableId&&this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(L1))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,t){if(1&e&&i.Gf(y,7),2&e){let s;i.iGM(s=i.CRH())&&(t.matPaginator=s.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:B1,decls:9,vars:9,consts:[[1,"card-body","pt-0"],[1,"row","justify-content-end","align-items-center"],[3,"length","pageSizeOptions","pageSize","page"],[3,"exportData",4,"ngIf"],[1,"overflow-auto","border-top"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],[3,"exportData"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"mat-paginator",2),i.NdJ("page",function(a){return t.pageChangedTop(a)}),i.qZA(),i.YNc(3,z1,1,0,"perun-web-apps-table-options",3),i.qZA(),i.TgZ(4,"div",4),i.Hsn(5),i.qZA(),i.TgZ(6,"div",1),i.TgZ(7,"mat-paginator",5),i.NdJ("page",function(a){return t.pageChangedBottom(a)}),i.qZA(),i.YNc(8,N1,1,0,"perun-web-apps-table-options",3),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("length",t.dataLength)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),i.xp6(1),i.Q6J("ngIf",!t.hideExport),i.xp6(4),i.Q6J("length",t.paginator.length)("pageIndex",t.paginator.pageIndex)("pageSizeOptions",t.paginator.pageSizeOptions)("pageSize",t.paginator.pageSize),i.xp6(1),i.Q6J("ngIf",!t.hideExport))},directives:[y,b.O5,F1],styles:[""]}),n})(),v0=(()=>{class n{constructor(e,t,s,a,r,c){this.authService=e,this.storeService=t,this.authResolver=s,this.authzService=a,this.dialog=r,this.router=c,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(e){this.loginScreenShown=e}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=ts();this.dialog.open(dw,t)}else this.storeService.setPerunPrincipal(e),this.authResolver.init(e)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(e=>{e()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const e=location.search.substr(1).split("&"),t={};for(const s of e){const a=s.split("=");t[a[0]]=a[1]}return this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"}).then(()=>null)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Sa),i.LFG(Mn),i.LFG(oo),i.LFG(xi),i.LFG(Xi),i.LFG(Ri))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ck=(()=>{class n{constructor(e,t){this.matIconRegistry=e,this.domSanitizer=t,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Kd),i.LFG(Yn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Y1=(()=>{class n{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"div",2),i.TgZ(7,"div",3),i.TgZ(8,"button",4),i.NdJ("click",function(){return t.close()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),i.xp6(3),i.hij(" ",i.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),i.xp6(5),i.hij(" ",i.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[ks,Gs,Ks,Bt],pipes:[gt],styles:[""]}),n})(),j1=(()=>{class n{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Fn=(()=>{class n{constructor(e){this.translate=e,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new i.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(e,t=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===e.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===e.name?t:t+"\n"+e.name,e,e.message)}showRouteError(){const e=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),t=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(e,null,t)}showError(e,t,s,a,r){this.addNotification.emit({type:"error",error:t,description:s,title:e,actionText:void 0===a&&void 0!==s?this.getDefaultActionMessage():a,delay:this.defaultErrorDelayMs,icon:"error_outline",action:r,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,s,a){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===s&&void 0!==t?this.getDefaultActionMessage():s,delay:this.defaultSuccessDelayMs,icon:"done",action:a,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ii))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Tk=(()=>{class n{constructor(e,t,s,a,r,c){this.authService=e,this.apiRequestConfiguration=t,this.notificator=s,this.store=a,this.dialog=r,this.initAuthService=c}intercept(e,t){const s=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==s&&-1!==e.url.toString().indexOf(s)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const c=ts();c.width="450px",this.dialog.open(Y1,c).afterClosed().subscribe(()=>{sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}e=this.initAuthService.isServiceAccess()?e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const a=this.apiRequestConfiguration.shouldHandleError(),r="POST"===e.method&&!this.store.skipOidc()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,on.b)(c=>{c instanceof D.Zn&&r&&this.initAuthService.loadPrincipal()},c=>{const d=this.formatErrors(c,e);return void 0===d?(0,MA._)(c):a?void this.notificator.showRPCError(d):(0,MA._)(d)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let s;if(console.error(e),e.error.errorId?s=e.error:e.errorId&&(s=JSON.parse(e.error)),void 0!==s)return s.urlWithParams=t.urlWithParams,s.call=t.url,s.payload=t.body,s}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Sa),i.LFG(j1),i.LFG(Fn),i.LFG(Mn),i.LFG(Xi),i.LFG(v0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Mk=(()=>{class n{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(e){this.newNotificationsCount++,this.notificationData.push(e)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),U1=(()=>{class n{constructor(e,t,s,a){this.http=e,this.notificator=t,this.authService=s,this.storeService=a}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(e,t,s,a){const r=e.error;return r.call=t,r.payload=s,a&&this.notificator.showRPCError(e.error),(0,MA._)(r)}getHeaders(){let e=new D.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue()),e}get(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.get(s,{headers:this.getHeaders()}).pipe((0,Tn.K)(a=>this.formatErrors(a,s,null,t)))}put(e,t={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(t);return this.http.put(a,r,{headers:this.getHeaders()}).pipe((0,Tn.K)(c=>this.formatErrors(c,a,r,s)))}post(e,t={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(t);let c=this.getHeaders();return c=c.set("Content-Type","application/json; charset=utf-8"),this.http.post(a,r,{headers:c}).pipe((0,Tn.K)(d=>this.formatErrors(d,a,r,s)))}delete(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.delete(s,{headers:this.getHeaders()}).pipe((0,Tn.K)(a=>this.formatErrors(a,s,null,t)))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(Fn),i.LFG(Sa),i.LFG(Mn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),EA=(()=>{class n{constructor(){}isAllSelectedWithDisabledCheckbox(e,t,s,a,r,c,d,h){return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=r*s,this.pageEnd=this.pageStart+s,this.pageIterator=0,this.dataLength=""===t?c.data.length:c.filteredData.length,a||(this.modulo=this.dataLength%s,this.pageEnd=0===this.modulo?this.pageStart+s:this.pageStart+this.modulo),c.sortData(c.filteredData,d).forEach(g=>{this.pageStart<=this.pageIterator&&this.pageIterator{h?g(I)&&this.pageStart<=this.pageIterator&&this.pageIterator{class n{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),s=navigator.languages.map(c=>c.split("-")[0]),a=location.search.substr(1).split("&");let r=null;for(const c of a){const d=c.split("=");"lang"===d[0]&&(r=d[1])}return r&&t.includes(r)?r:e&&t.includes(e)?e:s&&t.includes(s[0])?s[0]:"en"}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(In),i.LFG(Mn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();ti("openClose",[_t("open",De({overflow:"hidden"})),_t("closed",De({height:"0px",overflow:"hidden"})),ht("open <=> closed",[rt(".3s ease-in")])]);const q1=ti("flyInOut",[ht(":enter",[De({transform:"translateX(100%)"}),rt(".25s")]),ht(":leave",[rt(".5s",De({transform:"translateX(100%)"}))])]);ti("rollInOut",[ht(":enter",[De({height:"0px"}),rt(".25s")]),ht(":leave",[rt(".25s",De({height:"0px"}))])]),ti("routeAnimations",[ht("* => *",[De({position:"relative"}),Ao(":enter",[De({width:"100%",opacity:0})],{optional:!0}),Ao(":leave",[De({position:"absolute",width:"100%",opacity:1}),rt("0.15s",De({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),Ao(":enter",[De({position:"absolute",width:"100%",opacity:0}),rt("0.15s",De({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),ti("tagsOpenClose",[_t("open",De({})),_t("closed",De({width:"0px",height:"0px"})),ht("open <=> closed",[rt(".3s ease-in")])]),ti("switchAnimations",[ht("true => false",[Ao(":enter, :leave",De({})),Cg([Ao(":enter",[De({transform:"translateX(-100%)"}),rt("1s ease-in-out",De({transform:"translateX(0%)"}))],{optional:!0}),Ao(":leave",[De({transform:"translateX(0%)",position:"absolute"}),rt("1s ease-in-out",De({transform:"translateX(100%)"}))],{optional:!0})])]),ht("false => true",[Ao(":enter, :leave",De({})),Cg([Ao(":enter",[De({transform:"translateX(100%)"}),rt("1s ease-in-out",De({transform:"translateX(0%)"}))],{optional:!0}),Ao(":leave",[De({transform:"translateX(0%)",position:"absolute"}),rt("1s ease-in-out",De({transform:"translateX(-100%)"}))],{optional:!0})])])]),ti("slideInOutLeft",[ht(":enter",[De({transform:"translateX(-100%)",position:"relative"}),rt("0.5s ease-in",De({transform:"translateX(0%)"}))]),ht(":leave",[rt("0.5s ease-in",De({transform:"translateX(-100%)"}))])]),ti("slideInOutRight",[ht(":enter",[De({transform:"translateX(100%)",position:"fixed"}),rt("0.5s ease-in",De({transform:"translateX(0%)"}))]),ht(":leave",[De({transform:"translateX(-100%)",position:"relative"}),rt("0.5s ease-in",De({transform:"translateX(100%)"}))])]);let Sk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez]]}),n})();function Q1(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function X1(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function ex(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function tx(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}const sx=Qo(class{constructor(n){this._elementRef=n}},"primary"),kk=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function ox(){return{diameter:100}}});class Gc extends sx{constructor(o,e,t,s,a,r,c,d){super(o),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=P.w.EMPTY,this.mode="determinate";const h=Gc._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),h.has(t.head)||h.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===s&&!!a&&!a._forceAnimations,a&&(a.diameter&&(this.diameter=a.diameter),a.strokeWidth&&(this.strokeWidth=a.strokeWidth)),e.isBrowser&&e.SAFARI&&c&&r&&d&&(this._resizeSubscription=c.change(150).subscribe(()=>{"indeterminate"===this.mode&&d.run(()=>r.markForCheck())}))}get diameter(){return this._diameter}set diameter(o){this._diameter=Zi(o),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(o){this._strokeWidth=Zi(o)}get value(){return"determinate"===this.mode?this._value:0}set value(o){this._value=Math.max(0,Math.min(100,Zi(o)))}ngOnInit(){const o=this._elementRef.nativeElement;this._styleRoot=Sl(o)||this._document.head,this._attachStyleNode(),o.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const o=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${o} ${o}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(o){var e;const t=50*(null!==(e=o.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const o=this._styleRoot,e=this._diameter,t=Gc._diameters;let s=t.get(o);if(!s||!s.has(e)){const a=this._document.createElement("style");a.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),a.textContent=this._getAnimationText(),o.appendChild(a),s||(s=new Set,t.set(o,s)),s.add(e)}}_getAnimationText(){const o=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*o).replace(/END_VALUE/g,""+.2*o).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Gc._diameters=new WeakMap,Gc.\u0275fac=function(o){return new(o||Gc)(i.Y36(i.SBq),i.Y36(fi),i.Y36(b.K0,8),i.Y36(Si,8),i.Y36(kk),i.Y36(i.sBO),i.Y36(Hn),i.Y36(i.R0b))},Gc.\u0275cmp=i.Xpm({type:Gc,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(o,e){2&o&&(i.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[i.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(o,e){1&o&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,Q1,1,11,"circle",2),i.YNc(3,X1,1,9,"circle",3),i.qZA()),2&o&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===e.mode),i.uIk("viewBox",e._getViewBox()),i.xp6(2),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let vn=(()=>{class n extends Gc{constructor(e,t,s,a,r,c,d,h){super(e,t,s,a,r,c,d,h),this.mode="indeterminate"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(fi),i.Y36(b.K0,8),i.Y36(Si,8),i.Y36(kk),i.Y36(i.sBO),i.Y36(Hn),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(i.Udp("width",t.diameter,"px")("height",t.diameter,"px"),i.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[i.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,ex,1,11,"circle",2),i.YNc(3,tx,1,9,"circle",3),i.qZA()),2&e&&(i.Udp("width",t.diameter,"px")("height",t.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===t.mode),i.uIk("viewBox",t._getViewBox()),i.xp6(2),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),n})(),DA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt,b.ez],nt]}),n})();const Ek=_o({passive:!0});let ax=(()=>{class n{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Gn.E;const t=ei(e),s=this._monitoredElements.get(t);if(s)return s.subject;const a=new ke.xQ,r="cdk-text-field-autofilled",c=d=>{"cdk-text-field-autofill-start"!==d.animationName||t.classList.contains(r)?"cdk-text-field-autofill-end"===d.animationName&&t.classList.contains(r)&&(t.classList.remove(r),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!1}))):(t.classList.add(r),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",c,Ek),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:a,unlisten:()=>{t.removeEventListener("animationstart",c,Ek)}}),a}stopMonitoring(e){const t=ei(e),s=this._monitoredElements.get(t);s&&(s.unlisten(),s.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Dk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[hc]]}),n})();const xk=new i.OlP("MAT_INPUT_VALUE_ACCESSOR"),cx=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let lx=0;const ux=$g(class{constructor(n,o,e,t){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=e,this.ngControl=t}});let nr=(()=>{class n extends ux{constructor(e,t,s,a,r,c,d,h,g,I){super(c,a,r,s),this._elementRef=e,this._platform=t,this._autofillMonitor=h,this._formField=I,this._uid="mat-input-"+lx++,this.focused=!1,this.stateChanges=new ke.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(we=>Ih().has(we));const W=this._elementRef.nativeElement,ce=W.nodeName.toLowerCase();this._inputValueAccessor=d||W,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",we=>{const Me=we.target;!Me.value&&0===Me.selectionStart&&0===Me.selectionEnd&&(Me.setSelectionRange(1,1),Me.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ce,this._isTextarea="textarea"===ce,this._isInFormField=!!I,this._isNativeSelect&&(this.controlType=W.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Ne(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(Oi.required))&&void 0!==a&&a}set required(e){this._required=Ne(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Ih().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ne(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const s=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(s!==this._previousPlaceholder){const a=this._elementRef.nativeElement;this._previousPlaceholder=s,s?a.setAttribute("placeholder",s):a.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){cx.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(fi),i.Y36(So,10),i.Y36(Hc,8),i.Y36(Pa,8),i.Y36(Xo),i.Y36(xk,10),i.Y36(ax),i.Y36(i.R0b),i.Y36(Df,8))},n.\u0275dir=i.lG2({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(i.Ikx("disabled",t.disabled)("required",t.required),i.uIk("id",t.id)("data-placeholder",t.placeholder)("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),i.ekj("mat-input-server",t._isServer)("mat-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[i._Bn([{provide:Dd,useExisting:n}]),i.qOj,i.TTD]}),n})(),xA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Xo],imports:[[Dk,$s,nt],Dk,$s]}),n})();function dx(n,o){1&n&&i._UZ(0,"mat-spinner",7)}function hx(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function fx(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function px(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",8),i.TgZ(1,"mat-form-field"),i.TgZ(2,"mat-label"),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.TgZ(5,"input",9,10),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().subject=s}),i.qZA(),i.YNc(7,hx,3,3,"mat-error",11),i.qZA(),i.TgZ(8,"mat-form-field"),i.TgZ(9,"mat-label"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.TgZ(12,"textarea",12,13),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().message=s}),i.ALo(14,"translate"),i._uU(15," "),i.qZA(),i.YNc(16,fx,3,3,"mat-error",11),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(6),t=i.MAs(13),s=i.oxw();i.xp6(3),i.Oqu(i.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),i.xp6(2),i.Q6J("ngModel",s.subject),i.xp6(2),i.Q6J("ngIf",e.invalid),i.xp6(3),i.Oqu(i.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),i.xp6(2),i.s9C("placeholder",i.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),i.Q6J("ngModel",s.message),i.xp6(4),i.Q6J("ngIf",t.invalid)}}let gx=(()=>{class n{constructor(e,t,s,a,r,c){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=a,this.data=r,this.storeService=c,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+e.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const e=this.storeService.get("config");let t=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(t=t.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),t=t.concat(this.data.error.message+"\nPerun instance: "+e+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const s=/"password":".+?"/;let a=JSON.stringify(this.data.error.payload);a=a.replace(s,'"password":"####"'),t=t.concat("Payload:\n"+a+"\n\n")}return t=t.concat("Sended from new Perun Gui, version: "+w(4147).i8),t.split("\n").join("\n ")}parseMethod(e){return e&&this.methodRegexp.exec(e)[1]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Ii),i.Y36(Fn),i.Y36(Gt),i.Y36(Wn),i.Y36(Mn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-bug-report-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"],["messageModel","ngModel"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.YNc(3,dx,1,0,"mat-spinner",1),i.YNc(4,px,17,13,"div",2),i.TgZ(5,"div",3),i.TgZ(6,"div",4),i.TgZ(7,"button",5),i.NdJ("click",function(){return t.dialogRef.close()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",6),i.NdJ("click",function(){return t.sendBugReport()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(4),i.hij(" ",i.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),i.xp6(2),i.Q6J("disabled",""===t.message||""===t.subject||t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[ks,b.O5,vn,Gs,ls,Es,nr,us,tr,ds,jd,Ic,Ks,Bt],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),mx=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.dialog=t,this.data=s}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const e=ts();e.width="550px",e.data={error:this.data.error},e.autoFocus=!1,this.dialog.open(gx,e)}),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Xi),i.Y36(Wn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notification-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"hidden","click"],["autofocus","","mat-button","",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.qZA(),i.TgZ(2,"div",1),i._uU(3),i.qZA(),i.TgZ(4,"div",2),i.TgZ(5,"div",3),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.onBugReportClick()}),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.TgZ(9,"button",5),i.NdJ("click",function(){return t.onCloseClick()}),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(t.data.title),i.xp6(2),i.hij(" ",t.data.description,"\n"),i.xp6(3),i.Q6J("hidden","error"!==t.data.type),i.xp6(1),i.hij(" ",i.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),i.xp6(3),i.hij(" ",i.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[ks,Gs,Ks,Bt],pipes:[gt],styles:[""]}),n})();const Ax=[[["caption"]],[["colgroup"],["col"]]],vx=["caption","colgroup, col"];function T0(n){return class extends n{constructor(...o){super(...o),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(o){const e=this._sticky;this._sticky=Ne(o),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const o=this._hasStickyChanged;return this._hasStickyChanged=!1,o}resetStickyChanged(){this._hasStickyChanged=!1}}}const lp=new i.OlP("CDK_TABLE");let up=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCellDef",""]]}),n})(),dp=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),RA=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class Sx{}const kx=T0(Sx);let Kc=(()=>{class n extends kx{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const t=this._stickyEnd;this._stickyEnd=Ne(e),this._hasStickyChanged=t!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(lp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,up,5),i.Suo(s,dp,5),i.Suo(s,RA,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.cell=a.first),i.iGM(a=i.CRH())&&(t.headerCell=a.first),i.iGM(a=i.CRH())&&(t.footerCell=a.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})();class M0{constructor(o,e){e.nativeElement.classList.add(...o._columnCssClassName)}}let S0=(()=>{class n extends M0{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Kc),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i.qOj]}),n})(),k0=(()=>{class n extends M0{constructor(e,t){var s;if(super(e,t),1===(null===(s=e._table)||void 0===s?void 0:s._elementRef.nativeElement.nodeType)){const a=e._table._elementRef.nativeElement.getAttribute("role");t.nativeElement.setAttribute("role","grid"===a||"treegrid"===a?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Kc),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[i.qOj]}),n})();class Pk{constructor(){this.tasks=[],this.endTasks=[]}}const E0=new i.OlP("_COALESCED_STYLE_SCHEDULER");let Lk=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new ke.xQ}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Pk,this._getScheduleObservable().pipe($e(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new Pk;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,un.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,Ut.q)(1))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),D0=(()=>{class n{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){const t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof a_?e.headerCell.template:this instanceof c_?e.footerCell.template:e.cell.template}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4))},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();class Ex extends D0{}const Dx=T0(Ex);let a_=(()=>{class n extends Dx{constructor(e,t,s){super(e,t),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(lp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})();class xx extends D0{}const Rx=T0(xx);let c_=(()=>{class n extends Rx{constructor(e,t,s){super(e,t),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(lp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})(),PA=(()=>{class n extends D0{constructor(e,t,s){super(e,t),this._table=s}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(lp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.qOj]}),n})(),Zc=(()=>{class n{constructor(e){this._viewContainer=e,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),x0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),P0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),LA=(()=>{class n{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const Ik=["top","bottom","left","right"];class Px{constructor(o,e,t,s,a=!0,r=!0,c){this._isNativeHtmlTable=o,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=s,this._isBrowser=a,this._needsPositionStickyOnElement=r,this._positionListener=c,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(o,e){const t=[];for(const s of o)if(s.nodeType===s.ELEMENT_NODE){t.push(s);for(let a=0;a{for(const s of t)this._removeStickyStyle(s,e)})}updateStickyColumns(o,e,t,s=!0){if(!o.length||!this._isBrowser||!e.some(W=>W)&&!t.some(W=>W))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const a=o[0],r=a.children.length,c=this._getCellWidths(a,s),d=this._getStickyStartColumnPositions(c,e),h=this._getStickyEndColumnPositions(c,t),g=e.lastIndexOf(!0),I=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const W="rtl"===this.direction,ce=W?"right":"left",we=W?"left":"right";for(const Me of o)for(let Fe=0;Fee[Fe]?Me:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===I?[]:c.slice(I).map((Me,Fe)=>t[Fe+I]?Me:null).reverse()}))})}stickRows(o,e,t){if(!this._isBrowser)return;const s="bottom"===t?o.slice().reverse():o,a="bottom"===t?e.slice().reverse():e,r=[],c=[],d=[];for(let g=0,I=0;g{var g,I;for(let W=0;W{e.some(s=>!s)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(o,e){for(const s of e)o.style[s]="",o.classList.remove(this._borderCellCss[s]);Ik.some(s=>-1===e.indexOf(s)&&o.style[s])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,e,t,s){o.classList.add(this._stickCellCss),s&&o.classList.add(this._borderCellCss[e]),o.style[e]=`${t}px`,o.style.zIndex=this._getCalculatedZIndex(o),this._needsPositionStickyOnElement&&(o.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(o){const e={top:100,bottom:10,left:1,right:1};let t=0;for(const s of Ik)o.style[s]&&(t+=e[s]);return t?`${t}`:""}_getCellWidths(o,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const t=[],s=o.children;for(let a=0;a0;a--)e[a]&&(t[a]=s,s+=o[a]);return t}}const L0=new i.OlP("CDK_SPL");let IA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","rowOutlet",""]]}),n})(),OA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),HA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),FA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),zA=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I,W,ce){this._differs=e,this._changeDetectorRef=t,this._elementRef=s,this._dir=r,this._platform=d,this._viewRepeater=h,this._coalescedStyleScheduler=g,this._viewportRuler=I,this._stickyPositioningListener=W,this._ngZone=ce,this._onDestroy=new ke.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new i.vpe,this.viewChange=new ji({start:0,end:Number.MAX_VALUE}),a||this._elementRef.nativeElement.setAttribute("role","table"),this._document=c,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=Ne(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=Ne(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe($e(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Dr(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(s,a,r)=>this._getEmbeddedViewArgs(s.item,r),s=>s.item.data,s=>{1===s.operation&&s.context&&this._renderCellTemplateForItem(s.record.item.rowDef,s.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(s=>{t.get(s.currentIndex).context.$implicit=s.item.data}),this._updateNoDataRow(),this._ngZone&&i.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,Ut.q)(1),$e(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),s=this._elementRef.nativeElement.querySelector("thead");s&&(s.style.display=e.length?"":"none");const a=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,a,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),s=this._elementRef.nativeElement.querySelector("tfoot");s&&(s.style.display=e.length?"":"none");const a=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,a,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,a),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),s=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...s],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((a,r)=>{this._addStickyColumnStyles([a],this._headerRowDefs[r])}),this._rowDefs.forEach(a=>{const r=[];for(let c=0;c{this._addStickyColumnStyles([a],this._footerRowDefs[r])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let s=0;s{const c=s&&s.has(r)?s.get(r):[];if(c.length){const d=c.shift();return d.dataIndex=t,d}return{data:e,rowDef:r,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),NA(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=NA(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=NA(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=NA(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(r,c)=>r||!!c.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const s=this._headerRowDefs.reduce(e,!1);s&&this._forceRenderHeaderRows();const a=this._footerRowDefs.reduce(e,!1);return a&&this._forceRenderFooterRows(),t||s||a}_switchDataSource(e){this._data=[],Dr(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Dr(this.dataSource)?e=this.dataSource.connect(this):er(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,Ye.of)(this.dataSource)),this._renderChangeSubscription=e.pipe($e(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){const s=Array.from(t.columns||[]).map(c=>this._columnDefsByName.get(c)),a=s.map(c=>c.sticky),r=s.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(e,a,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let s=0;s!a.when||a.when(t,e));else{let a=this._rowDefs.find(r=>r.when&&r.when(t,e))||this._defaultRowDef;a&&s.push(a)}return s}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,s,a={}){const r=e.viewContainer.createEmbeddedView(t.template,a,s);return this._renderCellTemplateForItem(t,a),r}_renderCellTemplateForItem(e,t){for(let s of this._getCellTemplates(e))Zc.mostRecentCellOutlet&&Zc.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,s=e.length;t{const s=this._columnDefsByName.get(t);return e.extractCellTemplate(s)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),t=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const s of t){const a=this._document.createElement(s.tag);a.setAttribute("role","rowgroup");for(const r of s.outlets)a.appendChild(r.elementRef.nativeElement);e.appendChild(a)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(t,s)=>t||s.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Px(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,Ye.of)()).pipe($e(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const t=0===this._rowOutlet.viewContainer.length;if(t===this._isShowingNoDataRow)return;const s=this._noDataRowOutlet.viewContainer;if(t){const a=s.createEmbeddedView(e.templateRef),r=a.rootNodes[0];1===a.rootNodes.length&&(null==r?void 0:r.nodeType)===this._document.ELEMENT_NODE&&(r.setAttribute("role","row"),r.classList.add(e._contentClassName))}else s.clear();this._isShowingNoDataRow=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.ZZ4),i.Y36(i.sBO),i.Y36(i.SBq),i.$8M("role"),i.Y36(Ti,8),i.Y36(b.K0),i.Y36(fi),i.Y36(Wl),i.Y36(E0),i.Y36(Hn),i.Y36(L0,12),i.Y36(i.R0b,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,LA,5),i.Suo(s,Kc,5),i.Suo(s,PA,5),i.Suo(s,a_,5),i.Suo(s,c_,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._noDataRow=a.first),i.iGM(a=i.CRH())&&(t._contentColumnDefs=a),i.iGM(a=i.CRH())&&(t._contentRowDefs=a),i.iGM(a=i.CRH())&&(t._contentHeaderRowDefs=a),i.iGM(a=i.CRH())&&(t._contentFooterRowDefs=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(IA,7),i.Gf(OA,7),i.Gf(HA,7),i.Gf(FA,7)),2&e){let s;i.iGM(s=i.CRH())&&(t._rowOutlet=s.first),i.iGM(s=i.CRH())&&(t._headerRowOutlet=s.first),i.iGM(s=i.CRH())&&(t._footerRowOutlet=s.first),i.iGM(s=i.CRH())&&(t._noDataRowOutlet=s.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("cdk-table-fixed-layout",t.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[i._Bn([{provide:lp,useExisting:n},{provide:Wl,useClass:_m},{provide:E0,useClass:Lk},{provide:L0,useValue:null}])],ngContentSelectors:vx,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(Ax),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[OA,IA,FA,HA],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})();function NA(n,o){return n.concat(Array.from(o))}let Ix=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[fa]]}),n})();const Ox=[[["caption"]],[["colgroup"],["col"]]],Hx=["caption","colgroup, col"];let La=(()=>{class n extends zA{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-table-fixed-layout",t.fixedLayout)},exportAs:["matTable"],features:[i._Bn([{provide:Wl,useClass:_m},{provide:zA,useExisting:n},{provide:lp,useExisting:n},{provide:E0,useClass:Lk},{provide:L0,useValue:null}]),i.qOj],ngContentSelectors:Hx,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(Ox),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[OA,IA,FA,HA],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})(),Pr=(()=>{class n extends up{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matCellDef",""]],features:[i._Bn([{provide:up,useExisting:n}]),i.qOj]}),n})(),Lr=(()=>{class n extends dp{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderCellDef",""]],features:[i._Bn([{provide:dp,useExisting:n}]),i.qOj]}),n})(),Ir=(()=>{class n extends Kc{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i._Bn([{provide:Kc,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})(),Or=(()=>{class n extends S0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[i.qOj]}),n})(),Hr=(()=>{class n extends k0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[i.qOj]}),n})(),$c=(()=>{class n extends a_{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i._Bn([{provide:a_,useExisting:n}]),i.qOj]}),n})(),Ia=(()=>{class n extends PA{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[i._Bn([{provide:PA,useExisting:n}]),i.qOj]}),n})(),Wc=(()=>{class n extends x0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[i._Bn([{provide:x0,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),Oa=(()=>{class n extends P0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[i._Bn([{provide:P0,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),I0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Ix,nt],nt]}),n})();class Jc extends class Kx extends class Tw{}{constructor(o=[]){super(),this._renderData=new ji([]),this._filter=new ji(""),this._internalPageChanges=new ke.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const s=e[t];if(C_(s)){const a=Number(s);return a<9007199254740991?a:s}return s},this.sortData=(e,t)=>{const s=t.active,a=t.direction;return s&&""!=a?e.sort((r,c)=>{let d=this.sortingDataAccessor(r,s),h=this.sortingDataAccessor(c,s);const g=typeof d,I=typeof h;g!==I&&("number"===g&&(d+=""),"number"===I&&(h+=""));let W=0;return null!=d&&null!=h?d>h?W=1:d{const s=Object.keys(e).reduce((r,c)=>r+e[c]+"\u25ec","").toLowerCase(),a=t.trim().toLowerCase();return-1!=s.indexOf(a)},this._data=new ji(o),this._updateChangeSubscription()}get data(){return this._data.value}set data(o){o=Array.isArray(o)?o:[],this._data.next(o),this._renderChangesSubscription||this._filterData(o)}get filter(){return this._filter.value}set filter(o){this._filter.next(o),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(o){this._sort=o,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(o){this._paginator=o,this._updateChangeSubscription()}_updateChangeSubscription(){var o;const e=this._sort?(0,Mi.T)(this._sort.sortChange,this._sort.initialized):(0,Ye.of)(null),t=this._paginator?(0,Mi.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,Ye.of)(null),a=(0,jr.aj)([this._data,this._filter]).pipe((0,at.U)(([d])=>this._filterData(d))),r=(0,jr.aj)([a,e]).pipe((0,at.U)(([d])=>this._orderData(d))),c=(0,jr.aj)([r,t]).pipe((0,at.U)(([d])=>this._pageData(d)));null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=c.subscribe(d=>this._renderData.next(d))}_filterData(o){return this.filteredData=null==this.filter||""===this.filter?o:o.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(o){return this.sort?this.sortData(o.slice(),this.sort):o}_pageData(o){if(!this.paginator)return o;const e=this.paginator.pageIndex*this.paginator.pageSize;return o.slice(e,e+this.paginator.pageSize)}_updatePaginator(o){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=o,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,s=Math.min(e.pageIndex,t);s!==e.pageIndex&&(e.pageIndex=s,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var o;null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=null}}{}function Zx(n,o){1&n&&i._UZ(0,"mat-spinner",6)}function $x(n,o){1&n&&i._UZ(0,"th",15)}function Wx(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e)}}function Jx(n,o){1&n&&i._UZ(0,"tr",17)}function Qx(n,o){1&n&&i._UZ(0,"tr",18)}function Xx(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"p"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",8),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"table",9),i.ynx(8,10),i.YNc(9,$x,1,0,"th",11),i.YNc(10,Wx,2,1,"td",12),i.BQk(),i.YNc(11,Jx,1,0,"tr",13),i.YNc(12,Qx,1,0,"tr",14),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,5,e.data.description)," "),i.xp6(3),i.hij(" ",i.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),i.xp6(2),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns)}}let Hk=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new Jc(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-universal-remove-items-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"h1",0),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,Zx,1,0,"mat-spinner",1),i.YNc(5,Xx,13,9,"div",2),i.TgZ(6,"div",3),i.TgZ(7,"button",4),i.NdJ("click",function(){return t.onCancel()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",5),i.NdJ("click",function(){return t.onSubmit()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Tol(t.theme),i.xp6(2),i.Oqu(i.lcZ(3,9,t.data.title)),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(3),i.hij(" ",i.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),i.xp6(2),i.Q6J("disabled",t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[ks,b.O5,vn,Gs,La,Ir,Lr,Or,Pr,Hr,$c,Wc,Ia,Oa,Ks,Bt],pipes:[gt],styles:[""]}),n})(),lR=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.theme=this.data.theme,this.message=this.data.message}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-universal-confirmation-dialog"]],decls:11,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"h1",0),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"button",2),i.NdJ("click",function(){return t.onCancel()}),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"button",3),i.NdJ("click",function(){return t.onSubmit()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Tol(t.theme),i.xp6(2),i.Oqu(i.lcZ(3,6,t.message)),i.xp6(4),i.hij(" ",i.lcZ(7,8,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_CONFIRMATION_DIALOG.CANCEL_BUTTON")," "),i.xp6(3),i.hij(" ",i.lcZ(10,10,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_CONFIRMATION_DIALOG.SUBMIT_BUTTON")," "))},directives:[ks,Ks,Bt],pipes:[gt],styles:[""]}),n})();function gR(n,o){if(1&n&&(i.TgZ(0,"div",5),i.TgZ(1,"mat-icon"),i._uU(2),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(e.data.icon)}}function mR(n,o){if(1&n&&(i.TgZ(0,"div",6),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",e.showTimestamp()," ")}}let _R=(()=>{class n{constructor(e,t){this.dialog=e,this.notificationStorageService=t,this.newNotification=!1,this.closeNotification=new i.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}doAction(){if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{const e=ts();e.width="550px",e.data=this.data,e.autoFocus=!1,this.dialog.open(mx,e).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function v1(n,o){return(0,b1.mG)(this,void 0,void 0,function*(){yield function C1(n){return new Promise(o=>setTimeout(o,n))}(n),o()})}(this.data.delay,()=>{!this.alreadyClosed&&!this.waiting&&this.closeSelf()})}showTimestamp(){const[e,t]=this.data.timeStamp.split(":");return t.length<2?e+":0"+t:this.data.timeStamp}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Xi),i.Y36(Mk))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notification"]],inputs:{data:"data",inDialog:"inDialog",newNotification:"newNotification"},outputs:{closeNotification:"closeNotification"},decls:9,vars:14,consts:[[1,"notification-container",3,"click"],["class","notification-icon",4,"ngIf"],[1,"notification-text","clickable"],["class","ml-auto mr-5 mt-auto mb-auto",4,"ngIf"],[1,"notification-action","mt-auto","mb-auto",3,"hidden","click"],[1,"notification-icon"],[1,"ml-auto","mr-5","mt-auto","mb-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"div",0),i.NdJ("click",function(){return t.alreadyClosed||t.waiting?"":t.closeSelf()}),i.YNc(2,gR,3,1,"div",1),i.TgZ(3,"div",2),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,mR,2,1,"div",3),i.TgZ(7,"div",4),i.NdJ("click",function(){return t.waiting=!0,t.doAction()}),i._uU(8),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Gre("notification ",t.inDialog?"":"mat-elevation-z7",""),i.ekj("error","error"===t.data.type)("success","success"===t.data.type),i.xp6(2),i.Q6J("ngIf",null!==t.data.icon),i.xp6(2),i.hij(" ",i.lcZ(5,12,t.data.title)," "),i.xp6(2),i.Q6J("ngIf",t.inDialog),i.xp6(1),i.Q6J("hidden",t.alreadyPressed),i.xp6(1),i.hij(" ",t.data.actionText," "))},directives:[b.O5,tn],pipes:[gt],styles:[".notification[_ngcontent-%COMP%]{width:450px;margin-bottom:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff}.notification-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;padding:16px}.notification-text[_ngcontent-%COMP%]{font-size:1.1em}.notification-action[_ngcontent-%COMP%]{margin-left:auto;text-decoration:underline;cursor:pointer}@media (max-width: 768px){.notification[_ngcontent-%COMP%]{width:100%}}.notification.error[_ngcontent-%COMP%]{background-color:#d32f2f}.notification.success[_ngcontent-%COMP%]{background-color:#288619}.notification-icon[_ngcontent-%COMP%]{padding-right:8px;color:#fff}"]}),n})();function yR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-notification",2),i.NdJ("closeNotification",function(){const a=i.CHM(e).index;return i.oxw().removeNotification(a)}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("@flyInOut",void 0),i.xp6(1),i.Q6J("data",e)("newNotification",!0)}}const bR=function(n){return{top:n}};let wR=(()=>{class n{constructor(e,t){this.notificator=e,this.notificationStorageService=t,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(s=>{this.processNotification(s)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(e){this.notifications.splice(e,1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Fn),i.Y36(Mk))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&i.NdJ("resize",function(a){return t.getScreenSize(a)},!1,i.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,yR,2,3,"div",1),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(2,bR,t.getNotificatorTop())),i.xp6(1),i.Q6J("ngForOf",t.notifications))},directives:[b.PC,b.sg,_R],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width: 768px){#notificator[_ngcontent-%COMP%]{width:100%;top:initial;bottom:0}}"],data:{animation:[q1]}}),n})();const AR=["*",[["mat-toolbar-row"]]],vR=["*","mat-toolbar-row"],CR=Qo(class{constructor(n){this._elementRef=n}});let TR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),MR=(()=>{class n extends CR{constructor(e,t,s){super(e),this._platform=t,this._document=s}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(fi),i.Y36(b.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,TR,5),2&e){let a;i.iGM(a=i.CRH())&&(t._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[i.qOj],ngContentSelectors:vR,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(AR),i.Hsn(0),i.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%}\n"],encapsulation:2,changeDetection:0}),n})(),zk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})();function SR(n,o){1&n&&(i.TgZ(0,"div",13),i.TgZ(1,"span",14),i._uU(2," ~ \u{1f5f2}\xa0 "),i.qZA(),i.TgZ(3,"span",15),i._uU(4," DEVEL "),i.qZA(),i.TgZ(5,"span",14),i._uU(6," \xa0\u{1f5f2} ~ "),i.qZA(),i.qZA())}const kR=function(n){return{background:n}},BA=function(n){return{color:n}};let ER=(()=>{class n{constructor(e,t,s){this.storeService=e,this.authService=t,this.sanitizer=s,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.isDevel=!1}ngOnInit(){this.isDevel=this.storeService.get("is_devel"),this.principal=this.storeService.getPerunPrincipal(),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo"))}onLogOut(){this.authService.logout()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(Sa),i.Y36(Yn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-header"]],inputs:{sideNav:"sideNav"},decls:22,vars:29,consts:[[1,"header-container","mat-elevation-z3",3,"ngStyle"],[2,"display","flex","flex-direction","row"],["mat-icon-button","",1,"mt-auto","mb-auto",3,"ngStyle","click"],["routerLink","/all-publications",1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white","routerLink","/all-publications",1,"mt-auto","mb-auto","router-icon","ml-2","mr-4"],[1,"mt-auto","mb-auto","page-subtitle",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"ngStyle"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],[1,"d-none","d-lg-inline"],["menu","matMenu"],["mat-menu-item","",3,"click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){if(1&e&&(i.TgZ(0,"mat-toolbar",0),i.TgZ(1,"div",1),i.TgZ(2,"button",2),i.NdJ("click",function(){return t.sideNav.toggle()}),i.TgZ(3,"mat-icon"),i._uU(4,"menu"),i.qZA(),i.qZA(),i._UZ(5,"a",3),i._UZ(6,"mat-icon",4),i.TgZ(7,"p",5),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.qZA(),i.YNc(10,SR,7,0,"div",6),i.TgZ(11,"div",7),i.TgZ(12,"button",8),i.TgZ(13,"mat-icon",9),i._uU(14," person "),i.qZA(),i.TgZ(15,"span",10),i._uU(16),i.qZA(),i.qZA(),i.TgZ(17,"mat-menu",null,11),i.TgZ(19,"button",12),i.NdJ("click",function(){return t.onLogOut()}),i._uU(20),i.ALo(21,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(18);i.Q6J("ngStyle",i.VKq(19,kR,t.bgColor)),i.xp6(2),i.Q6J("ngStyle",i.VKq(21,BA,t.iconColor)),i.xp6(3),i.Q6J("innerHTML",t.logo,i.oJD),i.xp6(2),i.Q6J("ngStyle",i.VKq(23,BA,t.textColor)),i.xp6(1),i.hij(" ",i.lcZ(9,15,"HEADER.TITLE")," "),i.xp6(2),i.Q6J("ngIf",t.isDevel),i.xp6(1),i.Q6J("ngStyle",i.VKq(25,BA,t.textColor)),i.xp6(1),i.Q6J("matMenuTriggerFor",s),i.xp6(1),i.Q6J("ngStyle",i.VKq(27,BA,t.iconColor)),i.xp6(3),i.xDo(" ",t.principal.user.titleBefore," ",t.principal.user.firstName," ",t.principal.user.middleName," ",t.principal.user.lastName," ",t.principal.user.titleAfter," "),i.xp6(4),i.Oqu(i.lcZ(21,17,"HEADER.LOGOUT"))}},directives:[MR,b.PC,Bt,tn,_,Et,b.O5,fk,np,Vc],pipes:[gt],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between;margin-left:8px;padding:0}#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();function Nk(n){return o=>o.lift(new DR(n))}class DR{constructor(o){this.value=o}call(o,e){return e.subscribe(new xR(o,this.value))}}class xR extends Ls.L{constructor(o,e){super(o),this.value=e}_next(o){this.destination.next(this.value)}}const YA=["*"],RR=["content"];function PR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function LR(n,o){1&n&&(i.TgZ(0,"mat-drawer-content"),i.Hsn(1,2),i.qZA())}const IR=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],OR=["mat-drawer","mat-drawer-content","*"];function HR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function FR(n,o){1&n&&(i.TgZ(0,"mat-sidenav-content"),i.Hsn(1,2),i.qZA())}const zR=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],NR=["mat-sidenav","mat-sidenav-content","*"],Bk={transformDrawer:ti("transform",[_t("open, open-instant",De({transform:"none",visibility:"visible"})),_t("void",De({"box-shadow":"none",visibility:"hidden"})),ht("void => open-instant",rt("0ms")),ht("void <=> open, open-instant => void",rt("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},YR=new i.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function jR(){return!1}}),O0=new i.OlP("MAT_DRAWER_CONTAINER");let jA=(()=>{class n extends Wu{constructor(e,t,s,a,r){super(s,a,r),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>jk)),i.Y36(i.SBq),i.Y36(Dl),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i._Bn([{provide:Wu,useExisting:n}]),i.qOj],ngContentSelectors:YA,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),Yk=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=s,this._platform=a,this._ngZone=r,this._interactivityChecker=c,this._doc=d,this._container=h,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new ke.xQ,this._animationEnd=new ke.xQ,this._animationState="void",this.openedChange=new i.vpe(!0),this._openedStream=this.openedChange.pipe((0,Kt.h)(g=>g),(0,at.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,Kt.h)(g=>g.fromState!==g.toState&&0===g.toState.indexOf("open")),Nk(void 0)),this._closedStream=this.openedChange.pipe((0,Kt.h)(g=>!g),(0,at.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,Kt.h)(g=>g.fromState!==g.toState&&"void"===g.toState),Nk(void 0)),this._destroyed=new ke.xQ,this.onPositionChanged=new i.vpe,this._modeChanged=new ke.xQ,this.openedChange.subscribe(g=>{g?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{da(this._elementRef.nativeElement,"keydown").pipe((0,Kt.h)(g=>27===g.keyCode&&!this.disableClose&&!Ni(g)),$e(this._destroyed)).subscribe(g=>this._ngZone.run(()=>{this.close(),g.stopPropagation(),g.preventDefault()}))}),this._animationEnd.pipe(yc((g,I)=>g.fromState===I.fromState&&g.toState===I.toState)).subscribe(g=>{const{fromState:I,toState:W}=g;(0===W.indexOf("open")&&"void"===I||"void"===W&&0===I.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=Ne(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"===this.mode?"dialog":"first-tabbable":e}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=Ne(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(Ne(e))}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,t)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{!t&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var e;this._focusTrap&&this._focusTrap.destroy(),null===(e=this._anchor)||void 0===e||e.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,t){e&&t&&(this._openedVia=t);const s=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),s}_setOpen(e,t,s){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(s)),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe((0,Ut.q)(1)).subscribe(r=>a(r?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const t=this._elementRef.nativeElement,s=t.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),s.insertBefore(this._anchor,t)),s.appendChild(t)):this._anchor&&this._anchor.parentNode.insertBefore(t,this._anchor)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(wg),i.Y36(Ys),i.Y36(fi),i.Y36(i.R0b),i.Y36(wc),i.Y36(b.K0,8),i.Y36(O0,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer"]],viewQuery:function(e,t){if(1&e&&i.Gf(RR,5),2&e){let s;i.iGM(s=i.CRH())&&(t._content=s.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&i.WFA("@transform.start",function(a){return t._animationStarted.next(a)})("@transform.done",function(a){return t._animationEnd.next(a)}),2&e&&(i.uIk("align",null),i.d8E("@transform",t._animationState),i.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:YA,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA())},directives:[Wu],encapsulation:2,data:{animation:[Bk.transformDrawer]},changeDetection:0}),n})(),jk=(()=>{class n{constructor(e,t,s,a,r,c=!1,d){this._dir=e,this._element=t,this._ngZone=s,this._changeDetectorRef=a,this._animationMode=d,this._drawers=new i.n_E,this.backdropClick=new i.vpe,this._destroyed=new ke.xQ,this._doCheckSubject=new ke.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new ke.xQ,e&&e.change.pipe($e(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe($e(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=c}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=Ne(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:Ne(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Vt(this._allDrawers),$e(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Vt(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,nd.b)(10),$e(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const s=this._left._getWidth();e+=s,t-=s}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._getWidth();else if("push"==this._right.mode){const s=this._right._getWidth();t+=s,e-=s}e=e||null,t=t||null,(e!==this._contentMargins.left||t!==this._contentMargins.right)&&(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe((0,Kt.h)(t=>t.fromState!==t.toState),$e(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe($e(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe($e(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Ut.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe($e((0,Mi.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,s="mat-drawer-container-has-open";e?t.add(s):t.remove(s)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ti,8),i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(Hn),i.Y36(YR),i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,jA,5),i.Suo(s,Yk,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first),i.iGM(a=i.CRH())&&(t._allDrawers=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(jA,5),2&e){let s;i.iGM(s=i.CRH())&&(t._userContent=s.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[i._Bn([{provide:O0,useExisting:n}])],ngContentSelectors:OR,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(IR),i.YNc(0,PR,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,LR,2,0,"mat-drawer-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[jA,b.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),H0=(()=>{class n extends jA{constructor(e,t,s,a,r){super(e,t,s,a,r)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>Vk)),i.Y36(i.SBq),i.Y36(Dl),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i._Bn([{provide:Wu,useExisting:n}]),i.qOj],ngContentSelectors:YA,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),Uk=(()=>{class n extends Yk{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=Ne(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Zi(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Zi(e)}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(i.uIk("align",null),i.Udp("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),i.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[i.qOj],ngContentSelectors:YA,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA())},directives:[Wu],encapsulation:2,data:{animation:[Bk.transformDrawer]},changeDetection:0}),n})(),Vk=(()=>{class n extends jk{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,H0,5),i.Suo(s,Uk,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first),i.iGM(a=i.CRH())&&(t._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[i._Bn([{provide:O0,useExisting:n}]),i.qOj],ngContentSelectors:NR,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(zR),i.YNc(0,HR,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,FR,2,0,"mat-sidenav-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[H0,b.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),qk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nt,hc,An],An,nt]}),n})(),UR=(()=>{class n{constructor(e){this.authResolver=e}getSideMenuItems(){const e=[];return this.authResolver.isCabinetAdmin()&&e.push({label:"MENU_ITEMS.ALL_PUBLICATIONS",icon:"perun-publications-white",isSVG:!0,link:"/all-publications",activatedRegex:"^/all-publications",tabName:"all-publications"}),e.push({label:"MENU_ITEMS.MY_PUBLICATIONS",icon:"local_library",link:"/my-publications",activatedRegex:"^/my-publications",tabName:"my-publications"}),e.push({label:"MENU_ITEMS.CREATE_PUBLICATION",icon:"add_box",link:"/create-publication",activatedRegex:"^/create-publication",tabName:"create-publication"}),this.authResolver.isCabinetAdmin()&&e.push({label:"MENU_ITEMS.AUTHORS",icon:"assignment_ind",link:"/authors",activatedRegex:"^/authors",tabName:"authors"}),e.push({label:"MENU_ITEMS.CATEGORIES",icon:"all_inbox",link:"/categories",activatedRegex:"^/categories$",tabName:"categories"}),e.push({label:"MENU_ITEMS.PUBLICATION_SYSTEMS",icon:"assignment",link:"/publication-systems",activatedRegex:"^/publication-systems$",tabName:"publication-systems"}),e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(oo))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),F0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})();const Gk=["*"],qR=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],GR=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],JR=Co(To(class{})),QR=To(class{}),XR=new i.OlP("MatList"),Kk=new i.OlP("MatNavList");let eP=(()=>{class n extends JR{constructor(){super(...arguments),this._stateChanges=new ke.xQ}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[i._Bn([{provide:Kk,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:Gk,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),n})(),Zk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),n})(),$k=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),n})(),tP=(()=>{class n extends QR{constructor(e,t,s,a){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new ke.xQ,this._disabled=!1,this._isInteractiveList=!!(s||a&&"action-list"===a._getListType()),this._list=s||a;const r=this._getHostElement();"button"===r.nodeName.toLowerCase()&&!r.hasAttribute("type")&&r.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe($e(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=Ne(e)}ngAfterContentInit(){!function Ma(n,o,e="mat"){n.changes.pipe(Vt(n)).subscribe(({length:t})=>{Ad(o,`${e}-2-line`,!1),Ad(o,`${e}-3-line`,!1),Ad(o,`${e}-multi-line`,!1),2===t||3===t?Ad(o,`${e}-${t}-line`,!0):t>3&&Ad(o,`${e}-multi-line`,!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Kk,8),i.Y36(XR,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Zk,5),i.Suo(s,$k,5),i.Suo(s,yf,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._avatar=a.first),i.iGM(a=i.CRH())&&(t._icon=a.first),i.iGM(a=i.CRH())&&(t._lines=a)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[i.qOj],ngContentSelectors:GR,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(i.F$t(qR),i.TgZ(0,"span",0),i._UZ(1,"span",1),i.Hsn(2),i.TgZ(3,"span",2),i.Hsn(4,1),i.qZA(),i.Hsn(5,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[Ss],encapsulation:2,changeDetection:0}),n})(),Jk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[bf,cs,nt,Gl,b.ez],bf,nt,Gl,F0]}),n})();function aP(n,o){if(1&n&&i._UZ(0,"mat-icon",6),2&n){const e=i.oxw().$implicit;i.Q6J("svgIcon",e.icon)}}function cP(n,o){if(1&n&&(i.TgZ(0,"mat-icon"),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Oqu(e.icon)}}const lP=function(n){return{color:n}};function uP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",2),i.NdJ("click",function(){return i.CHM(e),i.oxw().shouldHideMenu()}),i.YNc(1,aP,1,1,"mat-icon",3),i.YNc(2,cP,2,1,"mat-icon",4),i.TgZ(3,"span",5),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.ekj("activated",t.isActive(e.activatedRegex)),i.s9C("routerLink",e.link),i.Q6J("ngStyle",i.VKq(10,lP,t.textColor))("matRippleColor","rgba(255, 255, 255, 0.1)"),i.xp6(1),i.Q6J("ngIf",e.isSVG),i.xp6(1),i.Q6J("ngIf",!e.isSVG),i.xp6(2),i.Oqu(i.lcZ(5,8,e.label))}}let dP=(()=>{class n{constructor(e,t,s){this.sideMenuItemService=e,this.storeService=t,this.router=s,this.items=[],this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.currentUrl=s.url,s.events.subscribe(a=>{a instanceof be&&(this.currentUrl=a.url)})}ngOnInit(){this.items=this.sideMenuItemService.getSideMenuItems()}isActive(e){return new RegExp(e).test(this.currentUrl)}shouldHideMenu(){"over"===this.sideNav.mode&&this.sideNav.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(UR),i.Y36(Mn),i.Y36(Ri))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[[1,"pt-0"],["mat-ripple","","class","side-menu-item-height",3,"activated","ngStyle","matRippleColor","routerLink","click",4,"ngFor","ngForOf"],["mat-ripple","",1,"side-menu-item-height",3,"ngStyle","matRippleColor","routerLink","click"],["class","perun-icon",3,"svgIcon",4,"ngIf"],[4,"ngIf"],[1,"nav-caption","ml-3"],[1,"perun-icon",3,"svgIcon"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-nav-list",0),i.YNc(1,uP,6,12,"mat-list-item",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[eP,b.sg,tP,Ss,b.PC,Et,b.O5,tn],pipes:[gt],styles:[".nav-caption[_ngcontent-%COMP%]{display:inline-block}.side-menu-item-height[_ngcontent-%COMP%]{height:40px!important}mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important}.activated[_ngcontent-%COMP%]{background:var(--side-active)!important;color:var(--side-text-active)!important}"]}),n})();function hP(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let fP=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=a,this.storeService=r,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+e.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+w(4147).i8}close(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Ii),i.Y36(Fn),i.Y36(Gt),i.Y36(Mn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"mat-form-field"),i.TgZ(5,"mat-label"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"input",2,3),i.NdJ("ngModelChange",function(a){return t.subject=a}),i.qZA(),i.YNc(10,hP,3,3,"mat-error",4),i.qZA(),i.TgZ(11,"mat-form-field"),i.TgZ(12,"mat-label"),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.TgZ(15,"textarea",5),i.NdJ("ngModelChange",function(a){return t.message=a}),i.ALo(16,"translate"),i._uU(17," "),i.qZA(),i.TgZ(18,"mat-hint"),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(21,"div",6),i.TgZ(22,"div",7),i.TgZ(23,"button",8),i.NdJ("click",function(){return t.close()}),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.TgZ(26,"button",9),i.NdJ("click",function(){return t.sendBugReport()}),i._uU(27),i.ALo(28,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(9);i.xp6(1),i.Oqu(i.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),i.xp6(5),i.Oqu(i.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),i.xp6(2),i.Q6J("ngModel",t.subject),i.xp6(2),i.Q6J("ngIf",s.invalid),i.xp6(3),i.Oqu(i.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),i.xp6(2),i.s9C("placeholder",i.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),i.Q6J("ngModel",t.message),i.xp6(4),i.Oqu(i.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),i.xp6(5),i.hij(" ",i.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),i.xp6(2),i.Q6J("disabled",s.invalid),i.xp6(1),i.hij(" ",i.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[ks,Gs,ls,Es,nr,us,tr,ds,jd,b.O5,Ic,pm,Ks,Bt],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),pP=(()=>{class n{transform(e,t,s){return e[`${s}_${t}`]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedText",type:n,pure:!0}),n})(),gP=(()=>{class n{transform(e,t){return e["link_"+t]||e.link_en}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedLink",type:n,pure:!0}),n})(),mP=(()=>{class n{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"footerLogoPath",type:n,pure:!0}),n})();function _P(n,o){if(1&n&&(i.TgZ(0,"a",13),i.ALo(1,"localisedLink"),i._UZ(2,"img",14),i.ALo(3,"footerLogoPath"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("href",i.xi3(1,2,e,t.language),i.LSH),i.xp6(2),i.s9C("src",i.lcZ(3,5,e.logo),i.LSH)}}function yP(n,o){if(1&n&&(i.TgZ(0,"span"),i._UZ(1,"img",14),i.ALo(2,"footerLogoPath"),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.s9C("src",i.lcZ(2,1,e.logo),i.LSH)}}function bP(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,_P,4,7,"a",11),i.ALo(2,"localisedLink"),i.YNc(3,yP,3,3,"span",12),i.ALo(4,"localisedLink"),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(3);i.xp6(1),i.Q6J("ngIf",i.xi3(2,2,e,t.language)),i.xp6(2),i.Q6J("ngIf",!i.xi3(4,5,e,t.language))}}const wP=function(n){return{"min-height":n}};function AP(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,bP,5,8,"div",5),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,wP,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}const nu=function(n){return{color:n}};function vP(n,o){if(1&n&&(i.TgZ(0,"i",20),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(2,nu,t.linksTextColor)),i.xp6(1),i.hij(" ",e.icon," ")}}function CP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",21),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw(3).openDialog(s.dialog)}),i._uU(1),i.ALo(2,"localisedText"),i.qZA()}if(2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(6,nu,t.linksTextColor)),i.xp6(1),i.hij("",i.Dn7(2,2,e,t.language,"label")," ")}}function TP(n,o){if(1&n&&(i.TgZ(0,"a",22),i.ALo(1,"localisedLink"),i._uU(2),i.ALo(3,"localisedText"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("href",i.xi3(1,3,e,t.language),i.LSH)("ngStyle",i.VKq(10,nu,t.linksTextColor)),i.xp6(2),i.Oqu(i.Dn7(3,6,e,t.language,"label"))}}function MP(n,o){if(1&n&&(i.TgZ(0,"span",10),i._uU(1),i.ALo(2,"localisedText"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(6,nu,t.linksTextColor)),i.xp6(1),i.Oqu(i.Dn7(2,2,e,t.language,"label"))}}function SP(n,o){if(1&n&&(i.TgZ(0,"div",16),i.YNc(1,vP,2,4,"i",17),i.YNc(2,CP,3,8,"span",18),i.YNc(3,TP,4,12,"a",19),i.ALo(4,"localisedLink"),i.YNc(5,MP,3,8,"span",9),i.ALo(6,"localisedLink"),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(3);i.xp6(1),i.Q6J("ngIf",e.icon),i.xp6(1),i.Q6J("ngIf",e.dialog),i.xp6(1),i.Q6J("ngIf",i.xi3(4,4,e,t.language)&&!e.dialog),i.xp6(2),i.Q6J("ngIf",!i.xi3(6,7,e,t.language)&&!e.dialog)}}const kP=function(n){return{height:n}};function EP(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,SP,7,10,"div",15),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,kP,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}function DP(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"h6",8),i._uU(2),i.ALo(3,"localisedText"),i.qZA(),i.YNc(4,AP,2,4,"div",9),i.YNc(5,EP,2,4,"div",9),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.ekj("my-auto",t.containsLogos),i.xp6(1),i.Q6J("ngStyle",i.VKq(10,nu,t.headersTextColor)),i.xp6(1),i.hij(" ",i.Dn7(3,6,e,t.language,"title")," "),i.xp6(2),i.Q6J("ngIf",e.logos),i.xp6(1),i.Q6J("ngIf",e.elements&&!e.logos)}}function xP(n,o){if(1&n&&(i.TgZ(0,"span"),i.TgZ(1,"a",6),i._uU(2),i.qZA(),i.qZA()),2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.xp6(1),i.Q6J("href",e.url,i.LSH)("ngStyle",i.VKq(3,nu,s.copyrightTextColor)),i.xp6(1),i.Oqu(t?", "+e.name:e.name)}}const RP=function(n){return{background:n}};let Qk=(()=>{class n{constructor(e,t,s){this.storeService=e,this.translateService=t,this.dialog=s,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.language=e.lang}),this.version=w(4147).i8,this.items=this.storeService.get("footer","columns");for(const e of this.items)e.logos?this.containsLogos=!0:25*e.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*e.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(e){const t=ts();"reportIssue"===e&&(t.width="550px",this.dialog.open(fP,t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(Ii),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(e,t){1&e&&(i.TgZ(0,"footer",0),i.TgZ(1,"div",1),i.YNc(2,DP,6,12,"div",2),i.qZA(),i._UZ(3,"hr",3),i.TgZ(4,"div",4),i._uU(5),i.YNc(6,xP,3,5,"span",5),i._uU(7," Version "),i.TgZ(8,"a",6),i._uU(9),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(8,RP,t.bgColor)),i.xp6(2),i.Q6J("ngForOf",t.items),i.xp6(2),i.Q6J("ngStyle",i.VKq(10,nu,t.copyrightTextColor)),i.xp6(1),i.hij(" \xa9 ",t.currentYear," Copyright: "),i.xp6(1),i.Q6J("ngForOf",t.copyrightItems),i.xp6(2),i.Q6J("href",t.githubRepository,i.LSH)("ngStyle",i.VKq(12,nu,t.copyrightTextColor)),i.xp6(1),i.Oqu(t.version))},directives:[b.PC,b.sg,b.O5],pipes:[pP,gP,mP],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}"]}),n})();function PP(n,o){if(1&n&&(i.TgZ(0,"div",8),i._UZ(1,"div",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}function LP(n,o){if(1&n&&(i.TgZ(0,"div",10),i._UZ(1,"div",11),i._UZ(2,"mat-icon",12),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}function IP(n,o){if(1&n&&(i.TgZ(0,"div",8),i._UZ(1,"a",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}const OP=function(n){return{color:n}};function HP(n,o){if(1&n&&(i.TgZ(0,"p",13),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.Q6J("ngStyle",i.VKq(2,OP,e.textColor)),i.xp6(1),i.hij(" ",e.headerTitle," ")}}const FP=function(n,o){return{background:n,color:o}},zP=function(n,o){return{"min-height":n,"background-color":o}};let NP=(()=>{class n{constructor(e,t,s,a){this.storeService=e,this.sanitizer=t,this.preferredLangService=s,this.translateService=a,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){if(this.headerBackgroundColor=this.storeService.get("theme","nav_bg_color"),this.headerTextColor=this.storeService.get("theme","nav_text_color"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.textColor=this.headerTitle?this.storeService.get("theme","header_text_color"):"","user-profile"===this.application){const e=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(e)}}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(Yn),i.Y36(V1),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,PP,2,1,"div",1),i.YNc(2,LP,3,1,"div",2),i.YNc(3,IP,2,1,"div",1),i.YNc(4,HP,2,4,"p",3),i.qZA(),i.TgZ(5,"div",4),i.TgZ(6,"div",5),i.TgZ(7,"div",6),i._UZ(8,"router-outlet"),i.qZA(),i.TgZ(9,"div",7),i._UZ(10,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.WLB(6,FP,t.headerBackgroundColor,t.headerTextColor)),i.xp6(1),i.Q6J("ngIf","admin-gui"===t.application),i.xp6(1),i.Q6J("ngIf","publications"===t.application),i.xp6(1),i.Q6J("ngIf","user-profile"===t.application),i.xp6(1),i.Q6J("ngIf",!!t.headerTitle),i.xp6(2),i.Q6J("ngStyle",i.WLB(9,zP,t.getContentInnerMinHeight(),t.contentBackgroundColor)))},directives:[b.PC,b.O5,tn,sa,Qk],styles:["#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content[_ngcontent-%COMP%]{width:100%;min-height:calc(100vh - 64px);margin-top:64px}#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width: 768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();const BP=["footer"],Xk=function(n){return{background:n}},YP=function(n){return{"min-height":n}};function jP(n,o){if(1&n&&(i.TgZ(0,"div"),i._UZ(1,"perun-web-apps-header",1),i.TgZ(2,"mat-sidenav-container"),i.TgZ(3,"mat-sidenav",2,3),i._UZ(5,"perun-web-apps-side-menu",4),i.qZA(),i.TgZ(6,"mat-sidenav-content",5),i.TgZ(7,"div",6),i._UZ(8,"router-outlet"),i.qZA(),i.TgZ(9,"div",null,7),i._UZ(11,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&n){const e=i.MAs(4),t=i.oxw();i.xp6(1),i.Q6J("sideNav",e),i.xp6(2),i.Q6J("mode",t.sidebarMode)("ngStyle",i.VKq(7,Xk,t.sideMenuBgColor))("opened",!t.isMobile()),i.xp6(2),i.Q6J("sideNav",e),i.xp6(1),i.Q6J("ngStyle",i.VKq(9,Xk,t.contentBackgroundColor)),i.xp6(1),i.Q6J("ngStyle",i.VKq(11,YP,t.contentHeight))}}function UP(n,o){1&n&&(i.TgZ(0,"div"),i._UZ(1,"perun-web-apps-login-screen-base",8),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Q6J("application","publications")("headerTitle",i.lcZ(2,2,"HEADER.TITLE")))}let VP=(()=>{class n{constructor(e,t,s,a,r){this.store=e,this.initAuth=t,this.changeDetector=s,this.authResolver=a,this.router=r,this.sidebarMode="side",this.sideMenuBgColor=this.store.get("theme","sidemenu_bg_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.contentHeight="calc(100vh - 64px)"}ngOnInit(){this.isLoginScreenShow=this.initAuth.isLoginScreenShown(),this.isServiceAccess=this.initAuth.isServiceAccessLoginScreenShown(),sessionStorage.removeItem("baLogout");const e=location.pathname;!this.authResolver.isCabinetAdmin()&&("/"===e||e.includes("/all-publications"))&&this.router.navigate(["my-publications"])}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}isMobile(){return window.innerWidth<=n.minWidth}setContentHeight(e){this.contentHeight="calc(100vh - 84px - "+e+"px)",this.changeDetector.detectChanges()}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}ngAfterViewInit(){this.contentHeight="calc(100vh - 84px - "+this.footer.nativeElement.offsetHeight+"px)",this.changeDetector.detectChanges()}}return n.minWidth=992,n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(v0),i.Y36(i.sBO),i.Y36(oo),i.Y36(Ri))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&i.Gf(BP,5),2&e){let s;i.iGM(s=i.CRH())&&(t.footer=s.first)}},hostBindings:function(e,t){1&e&&i.NdJ("resize",function(a){return t.getScreenSize(a)},!1,i.Jf7)},decls:3,vars:2,consts:[[4,"ngIf"],["id","nav-menu",3,"sideNav"],["fixedInViewport","","fixedTopGap","64",1,"side-menu-size",3,"mode","ngStyle","opened"],["sidenav",""],[1,"overflow-hidden",3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],["footer",""],[3,"application","headerTitle"]],template:function(e,t){1&e&&(i._UZ(0,"perun-web-apps-notificator"),i.YNc(1,jP,12,13,"div",0),i.YNc(2,UP,3,4,"div",0)),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.isLoginScreenShow&&!t.isServiceAccess&&!t.isServiceLogin()),i.xp6(1),i.Q6J("ngIf",t.isLoginScreenShow||t.isServiceAccess||t.isServiceLogin()))},directives:[wR,b.O5,ER,Vk,Uk,b.PC,dP,H0,sa,Qk,NP],pipes:[gt],styles:["#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px;margin:10px}@media (min-width: 600px){#content-wrap[_ngcontent-%COMP%]{padding-left:25px;padding-right:25px}}#content-inner[_ngcontent-%COMP%]{position:relative;overflow-x:hidden;padding-top:64px;min-height:calc(100vh - 128px)}#nav-menu[_ngcontent-%COMP%]{top:0;background:#102027;position:fixed;width:100%;z-index:999;height:64px;max-height:64px}.side-menu-size[_ngcontent-%COMP%]{width:300px;height:auto}"]}),n})();class qP{constructor(o,e="/assets/i18n/",t=".json"){this.http=o,this.prefix=e,this.suffix=t}getTranslation(o){return this.http.get(`${this.prefix}${o}${this.suffix}`)}}let GP=(()=>{class n{constructor(e,t,s,a,r){this.http=e,this.storeService=t,this.authzSevice=s,this.titleService=a,this.utilsService=r}initializeColors(e,t){return new Promise(s=>{t.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r)}),e.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r),this.setEntityTheme(a.entity,r)}),s()})}setEntityTheme(e,t){const s=function KP(n){return[Js(tinycolor(n).lighten(52),"50"),Js(tinycolor(n).lighten(37),"100"),Js(tinycolor(n).lighten(26),"200"),Js(tinycolor(n).lighten(12),"300"),Js(tinycolor(n).lighten(6),"400"),Js(tinycolor(n),"500"),Js(tinycolor(n).darken(6),"600"),Js(tinycolor(n).darken(12),"700"),Js(tinycolor(n).darken(18),"800"),Js(tinycolor(n).darken(24),"900"),Js(tinycolor(n).lighten(50).saturate(30),"A100"),Js(tinycolor(n).lighten(30).saturate(30),"A200"),Js(tinycolor(n).lighten(10).saturate(15),"A400"),Js(tinycolor(n).lighten(5).saturate(5),"A700")]}(t);for(const a of s){const d=`--${e}-theme-primary-contrast-${a.name}`,h=a.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${a.name}`,`${a.red},${a.green},${a.blue}`),document.documentElement.style.setProperty(d,h)}}loadAppDefaultConfig(){return new Promise(e=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setDefaultConfig(t),e()})})}loadAppInstanceConfig(){return new Promise(e=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setInstanceConfig(t);const s=document.location.hostname;void 0!==t.brandings&&void 0!==t.brandings[s]&&this.storeService.setBanding(s),e()},()=>{console.log("instance config not detected"),e()})})}getNoCacheHeaders(){return new D.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(e=>{const t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(t),e()})}setApiUrl(){return new Promise(e=>{let t=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(t=t.replace("oauth","ba")),this.authzSevice.configuration.basePath=t,this.titleService.setTitle(this.storeService.get("document_title")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(s=>{this.storeService.setAppsConfig(s),e()},s=>t(s))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(Mn),i.LFG(xi),i.LFG(Wt),i.LFG(hs))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Js(n,o){const e=tinycolor(n),t=e.toRgb();return{name:o,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let ZP=(()=>{class n{constructor(e,t,s,a,r){this.initAuthService=e,this.appConfigService=t,this.location=s,this.authzSevice=a,this.guiAuthResolver=r,this.entityColorConfigs=[{entity:"user",configValue:"user_color",cssVariable:"--user-color"}],this.colorConfigs=[{configValue:"sidemenu_bg_color",cssVariable:"--side-bg"},{configValue:"sidemenu_hover_color",cssVariable:"--side-hover"},{configValue:"sidemenu-link-active",cssVariable:"--side-active"},{configValue:"sidemenu_active_text_color",cssVariable:"--side-text-active"}]}loadConfigs(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?this.initAuthService.loadPrincipal().then(()=>this.loadPolicies()):this.initAuthService.handleAuthStart())}loadPolicies(){return new Promise((e,t)=>{this.authzSevice.getAllPolicies().subscribe(s=>{this.guiAuthResolver.setPerunPolicies(s),e()},s=>t(s))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(v0),i.LFG(GP),i.LFG(b.Ye),i.LFG(xi),i.LFG(oo))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const $P=new i.OlP("perun-api-service");let WP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,im,Zs,Sd]]}),n})();const JP=["*",[["mat-card-footer"]]],QP=["*","mat-card-footer"];let eE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),n})(),tE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),n})(),iE=(()=>{class n{constructor(e){this._animationMode=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:QP,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(JP),i.Hsn(0),i.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-animation-noopable.mat-card{transition:none;animation:none}.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}\n"],encapsulation:2,changeDetection:0}),n})(),nE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})();const XP=["input"],eL=function(n){return{enterDuration:n}},tL=["*"],iL=new i.OlP("mat-checkbox-default-options",{providedIn:"root",factory:sE});function sE(){return{color:"accent",clickAction:"check-indeterminate"}}let nL=0;const oE=sE(),sL={provide:Jn,useExisting:(0,i.Gpc)(()=>su),multi:!0};class oL{}const rL=Vl(Qo(To(Co(class{constructor(n){this._elementRef=n}}))));let su=(()=>{class n extends rL{constructor(e,t,s,a,r,c,d){super(e),this._changeDetectorRef=t,this._focusMonitor=s,this._ngZone=a,this._animationMode=c,this._options=d,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++nL,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new i.vpe,this.indeterminateChange=new i.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||oE,this.color=this.defaultColor=this._options.color||oE.color,this.tabIndex=parseInt(r)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=Ne(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=Ne(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=e!=this._indeterminate;this._indeterminate=Ne(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let t=this._currentCheckState,s=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&s.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){s.classList.add(this._currentAnimationClass);const a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{s.classList.remove(a)},1e3)})}}_emitChangeEvent(){const e=new oL;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(e){var t;const s=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===s?!this.disabled&&"noop"===s&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==s&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e,t){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,t){if("NoopAnimations"===this._animationMode)return"";let s="";switch(e){case 0:if(1===t)s="unchecked-checked";else{if(3!=t)return"";s="unchecked-indeterminate"}break;case 2:s=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:s=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:s=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${s}`}_syncIndeterminate(e){const t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Ys),i.Y36(i.R0b),i.$8M("tabindex"),i.Y36(Si,8),i.Y36(iL,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(i.Gf(XP,5),i.Gf(Ss,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._inputElement=s.first),i.iGM(s=i.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null),i.ekj("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[i._Bn([sL]),i.qOj],ngContentSelectors:tL,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(i.F$t(),i.TgZ(0,"label",0,1),i.TgZ(2,"span",2),i.TgZ(3,"input",3,4),i.NdJ("change",function(a){return t._onInteractionEvent(a)})("click",function(a){return t._onInputClick(a)}),i.qZA(),i.TgZ(5,"span",5),i._UZ(6,"span",6),i.qZA(),i._UZ(7,"span",7),i.TgZ(8,"span",8),i.O4$(),i.TgZ(9,"svg",9),i._UZ(10,"path",10),i.qZA(),i.kcU(),i._UZ(11,"span",11),i.qZA(),i.qZA(),i.TgZ(12,"span",12,13),i.NdJ("cdkObserveContent",function(){return t._onLabelTextChange()}),i.TgZ(14,"span",14),i._uU(15,"\xa0"),i.qZA(),i.Hsn(16),i.qZA(),i.qZA()),2&e){const s=i.MAs(1),a=i.MAs(13);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-checkbox-inner-container-no-side-margin",!a.textContent||!a.textContent.trim()),i.xp6(1),i.Q6J("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),i.uIk("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),i.xp6(2),i.Q6J("matRippleTrigger",s)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.VKq(19,eL,"NoopAnimations"===t._animationMode?0:150))}},directives:[Ss,pg],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n})(),rE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),UA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[cs,nt,Pl,rE],nt,rE]}),n})(),lL=0;const z0=new i.OlP("CdkAccordion");let uL=(()=>{class n{constructor(){this._stateChanges=new ke.xQ,this._openCloseAllActions=new ke.xQ,this.id="cdk-accordion-"+lL++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=Ne(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i._Bn([{provide:z0,useExisting:n}]),i.TTD]}),n})(),dL=0,hL=(()=>{class n{constructor(e,t,s){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=s,this._openCloseAllSubscription=P.w.EMPTY,this.closed=new i.vpe,this.opened=new i.vpe,this.destroyed=new i.vpe,this.expandedChange=new i.vpe,this.id="cdk-accordion-child-"+dL++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=s.listen((a,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==a&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=Ne(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=Ne(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(z0,12),i.Y36(i.sBO),i.Y36(Sw))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i._Bn([{provide:z0,useValue:void 0}])]}),n})(),fL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const pL=["body"];function gL(n,o){}const mL=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],_L=["mat-expansion-panel-header","*","mat-action-row"];function yL(n,o){if(1&n&&i._UZ(0,"span",2),2&n){const e=i.oxw();i.Q6J("@indicatorRotate",e._getExpandedState())}}const bL=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],wL=["mat-panel-title","mat-panel-description","*"],N0=new i.OlP("MAT_ACCORDION"),aE="225ms cubic-bezier(0.4,0.0,0.2,1)",cE={indicatorRotate:ti("indicatorRotate",[_t("collapsed, void",De({transform:"rotate(0deg)"})),_t("expanded",De({transform:"rotate(180deg)"})),ht("expanded <=> collapsed, void => collapsed",rt(aE))]),bodyExpansion:ti("bodyExpansion",[_t("collapsed, void",De({height:"0px",visibility:"hidden"})),_t("expanded",De({height:"*",visibility:"visible"})),ht("expanded <=> collapsed, void => collapsed",rt(aE))])};let AL=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n})(),vL=0;const lE=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let uE=(()=>{class n extends hL{constructor(e,t,s,a,r,c,d){super(e,t,s),this._viewContainerRef=a,this._animationMode=c,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new ke.xQ,this._headerId="mat-expansion-panel-header-"+vL++,this._bodyAnimationDone=new ke.xQ,this.accordion=e,this._document=r,this._bodyAnimationDone.pipe(yc((h,g)=>h.fromState===g.fromState&&h.toState===g.toState)).subscribe(h=>{"void"!==h.fromState&&("expanded"===h.toState?this.afterExpand.emit():"collapsed"===h.toState&&this.afterCollapse.emit())}),d&&(this.hideToggle=d.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=Ne(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Vt(null),(0,Kt.h)(()=>this.expanded&&!this._portal),(0,Ut.q)(1)).subscribe(()=>{this._portal=new Cr(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(N0,12),i.Y36(i.sBO),i.Y36(Sw),i.Y36(i.s_b),i.Y36(b.K0),i.Y36(Si,8),i.Y36(lE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,AL,5),2&e){let a;i.iGM(a=i.CRH())&&(t._lazyContent=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(pL,5),2&e){let s;i.iGM(s=i.CRH())&&(t._body=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i._Bn([{provide:N0,useValue:void 0}]),i.qOj,i.TTD],ngContentSelectors:_L,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.F$t(mL),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(a){return t._bodyAnimationDone.next(a)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,gL,0,0,"ng-template",3),i.qZA(),i.Hsn(6,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("@bodyExpansion",t._getExpandedState())("id",t.id),i.uIk("aria-labelledby",t._headerId),i.xp6(4),i.Q6J("cdkPortalOutlet",t._portal))},directives:[Tr],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[cE.bodyExpansion]},changeDetection:0}),n})();class CL{}const TL=Vl(CL);let dE=(()=>{class n extends TL{constructor(e,t,s,a,r,c,d){super(),this.panel=e,this._element=t,this._focusMonitor=s,this._changeDetectorRef=a,this._animationMode=c,this._parentChangeSubscription=P.w.EMPTY;const h=e.accordion?e.accordion._stateChanges.pipe((0,Kt.h)(g=>!(!g.hideToggle&&!g.togglePosition))):Gn.E;this.tabIndex=parseInt(d||"")||0,this._parentChangeSubscription=(0,Mi.T)(e.opened,e.closed,h,e._inputChanges.pipe((0,Kt.h)(g=>!!(g.hideToggle||g.disabled||g.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe((0,Kt.h)(()=>e._containsFocus())).subscribe(()=>s.focusVia(t,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Ni(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(uE,1),i.Y36(i.SBq),i.Y36(Ys),i.Y36(i.sBO),i.Y36(lE,8),i.Y36(Si,8),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._toggle()})("keydown",function(a){return t._keydown(a)}),2&e&&(i.uIk("id",t.panel._headerId)("tabindex",t.tabIndex)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),i.Udp("height",t._getHeaderHeight()),i.ekj("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[i.qOj],ngContentSelectors:wL,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(i.F$t(bL),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,yL,1,1,"span",1)),2&e&&(i.xp6(4),i.Q6J("ngIf",t._showToggle()))},directives:[b.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[cE.indicatorRotate]},changeDetection:0}),n})(),ML=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),n})(),SL=(()=>{class n extends uL{constructor(){super(...arguments),this._ownHeaders=new i.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=Ne(e)}ngAfterContentInit(){this._headers.changes.pipe(Vt(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new bc(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,dE,5),2&e){let a;i.iGM(a=i.CRH())&&(t._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-accordion-multi",t.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[i._Bn([{provide:N0,useExisting:n}]),i.qOj]}),n})(),hE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nt,fL,xl]]}),n})(),pE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[bf,nt],bf,nt]}),n})();function DL(n,o){1&n&&i.Hsn(0)}const xL=["*"];let gE=(()=>{class n{constructor(e){this._elementRef=e}focus(){this._elementRef.nativeElement.focus()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),n})(),mE=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkStepLabel",""]]}),n})(),RL=0;const _E=new i.OlP("STEPPER_GLOBAL_OPTIONS");let B0=(()=>{class n{constructor(e,t){this._stepper=e,this.interacted=!1,this.interactedStream=new i.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=t||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(e){this._editable=Ne(e)}get optional(){return this._optional}set optional(e){this._optional=Ne(e)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=Ne(e)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(e){this._customError=Ne(e)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){var e;return null!==(e=this._stepperOptions.showError)&&void 0!==e?e:null!=this._customError}}return n.\u0275fac=function(e){return new(e||n)(i.Y36((0,i.Gpc)(()=>hp)),i.Y36(_E,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-step"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,mE,5),2&e){let a;i.iGM(a=i.CRH())&&(t.stepLabel=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,7),2&e){let s;i.iGM(s=i.CRH())&&(t.content=s.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[i.TTD],ngContentSelectors:xL,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.YNc(0,DL,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),n})(),hp=(()=>{class n{constructor(e,t,s,a){this._dir=e,this._changeDetectorRef=t,this._elementRef=s,this._destroyed=new ke.xQ,this.steps=new i.n_E,this._sortedHeaders=new i.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new i.vpe,this._orientation="horizontal",this._groupId=RL++}get linear(){return this._linear}set linear(e){this._linear=Ne(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){var t;const s=Zi(e);this.steps&&this._steps?(this._isValidIndex(s),null===(t=this.selected)||void 0===t||t._markAsInteracted(),this._selectedIndex!==s&&!this._anyControlsInvalidOrPending(s)&&(s>=this._selectedIndex||this.steps.toArray()[s].editable)&&this._updateSelectedItemIndex(s)):this._selectedIndex=s}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===e)}ngAfterContentInit(){this._steps.changes.pipe(Vt(this._steps),$e(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(Vt(this._stepHeader),$e(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((t,s)=>t._elementRef.nativeElement.compareDocumentPosition(s._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new bc(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,Ye.of)()).pipe(Vt(this._layoutDirection()),$e(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`cdk-step-label-${this._groupId}-${e}`}_getStepContentId(e){return`cdk-step-content-${this._groupId}-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){const t=e-this._selectedIndex;return t<0?"rtl"===this._layoutDirection()?"next":"previous":t>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(e,t="number"){const s=this.steps.toArray()[e],a=this._isCurrentStep(e);return s._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(s,a):this._getGuidelineLogic(s,a,t)}_getDefaultIndicatorLogic(e,t){return e._showError()&&e.hasError&&!t?"error":!e.completed||t?"number":e.editable?"edit":"done"}_getGuidelineLogic(e,t,s="number"){return e._showError()&&e.hasError&&!t?"error":e.completed&&!t?"done":e.completed&&t?s:e.editable&&t?"edit":s}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){const t=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:t[e],previouslySelectedStep:t[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this._stateChanged()}_onKeydown(e){const t=Ni(e),s=e.keyCode,a=this._keyManager;null==a.activeItemIndex||t||32!==s&&13!==s?a.onKeydown(e):(this.selectedIndex=a.activeItemIndex,e.preventDefault())}_anyControlsInvalidOrPending(e){return!!(this._linear&&e>=0)&&this.steps.toArray().slice(0,e).some(t=>{const s=t.stepControl;return(s?s.invalid||s.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const e=this._elementRef.nativeElement,t=kl();return e===t||e.contains(t)}_isValidIndex(e){return e>-1&&(!this.steps||e{class n{constructor(e){this._stepper=e,this.type="submit"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(hp))},n.\u0275dir=i.lG2({type:n,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._stepper.next()}),2&e&&i.Ikx("type",t.type)},inputs:{type:"type"}}),n})(),LL=(()=>{class n{constructor(e){this._stepper=e,this.type="button"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(hp))},n.\u0275dir=i.lG2({type:n,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._stepper.previous()}),2&e&&i.Ikx("type",t.type)},inputs:{type:"type"}}),n})(),IL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El]]}),n})();function OL(n,o){if(1&n&&i.GkF(0,8),2&n){const e=i.oxw();i.Q6J("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",e._getIconContext())}}function HL(n,o){if(1&n&&(i.TgZ(0,"span",13),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._getDefaultTextForState(e.state))}}function FL(n,o){if(1&n&&(i.TgZ(0,"span",14),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._intl.completedLabel)}}function zL(n,o){if(1&n&&(i.TgZ(0,"span",14),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._intl.editableLabel)}}function NL(n,o){if(1&n&&(i.TgZ(0,"mat-icon",13),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._getDefaultTextForState(e.state))}}function BL(n,o){if(1&n&&(i.ynx(0,9),i.YNc(1,HL,2,1,"span",10),i.YNc(2,FL,2,1,"span",11),i.YNc(3,zL,2,1,"span",11),i.YNc(4,NL,2,1,"mat-icon",12),i.BQk()),2&n){const e=i.oxw();i.Q6J("ngSwitch",e.state),i.xp6(1),i.Q6J("ngSwitchCase","number"),i.xp6(1),i.Q6J("ngIf","done"===e.state),i.xp6(1),i.Q6J("ngIf","edit"===e.state)}}function YL(n,o){if(1&n&&(i.TgZ(0,"div",15),i.GkF(1,16),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",e._templateLabel().template)}}function jL(n,o){if(1&n&&(i.TgZ(0,"div",15),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.label)}}function UL(n,o){if(1&n&&(i.TgZ(0,"div",17),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e._intl.optionalLabel)}}function VL(n,o){if(1&n&&(i.TgZ(0,"div",18),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.errorMessage)}}function qL(n,o){}function GL(n,o){if(1&n&&(i.Hsn(0),i.YNc(1,qL,0,0,"ng-template",0)),2&n){const e=i.oxw();i.xp6(1),i.Q6J("cdkPortalOutlet",e._portal)}}const KL=["*"];function ZL(n,o){1&n&&i._UZ(0,"div",9)}const yE=function(n,o){return{step:n,i:o}};function $L(n,o){if(1&n&&(i.ynx(0),i.GkF(1,7),i.YNc(2,ZL,1,0,"div",8),i.BQk()),2&n){const e=o.$implicit,t=o.index,s=o.last;i.oxw(2);const a=i.MAs(4);i.xp6(1),i.Q6J("ngTemplateOutlet",a)("ngTemplateOutletContext",i.WLB(3,yE,e,t)),i.xp6(1),i.Q6J("ngIf",!s)}}function WL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",10),i.NdJ("@horizontalStepTransition.done",function(s){return i.CHM(e),i.oxw(2)._animationDone.next(s)}),i.GkF(1,11),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw(2);i.Q6J("@horizontalStepTransition",s._getAnimationDirection(t))("id",s._getStepContentId(t)),i.uIk("aria-labelledby",s._getStepLabelId(t))("aria-expanded",s.selectedIndex===t),i.xp6(1),i.Q6J("ngTemplateOutlet",e.content)}}function JL(n,o){if(1&n&&(i.ynx(0),i.TgZ(1,"div",3),i.YNc(2,$L,3,6,"ng-container",4),i.qZA(),i.TgZ(3,"div",5),i.YNc(4,WL,2,5,"div",6),i.qZA(),i.BQk()),2&n){const e=i.oxw();i.xp6(2),i.Q6J("ngForOf",e.steps),i.xp6(2),i.Q6J("ngForOf",e.steps)}}function QL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",13),i.GkF(1,7),i.TgZ(2,"div",14),i.TgZ(3,"div",15),i.NdJ("@verticalStepTransition.done",function(s){return i.CHM(e),i.oxw(2)._animationDone.next(s)}),i.TgZ(4,"div",16),i.GkF(5,11),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=o.last,a=i.oxw(2),r=i.MAs(4);i.xp6(1),i.Q6J("ngTemplateOutlet",r)("ngTemplateOutletContext",i.WLB(9,yE,e,t)),i.xp6(1),i.ekj("mat-stepper-vertical-line",!s),i.xp6(1),i.Q6J("@verticalStepTransition",a._getAnimationDirection(t))("id",a._getStepContentId(t)),i.uIk("aria-labelledby",a._getStepLabelId(t))("aria-expanded",a.selectedIndex===t),i.xp6(2),i.Q6J("ngTemplateOutlet",e.content)}}function XL(n,o){if(1&n&&(i.ynx(0),i.YNc(1,QL,6,12,"div",12),i.BQk()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngForOf",e.steps)}}function eI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-step-header",17),i.NdJ("click",function(){return i.CHM(e).step.select()})("keydown",function(s){return i.CHM(e),i.oxw()._onKeydown(s)}),i.qZA()}if(2&n){const e=o.step,t=o.i,s=i.oxw();i.ekj("mat-horizontal-stepper-header","horizontal"===s.orientation)("mat-vertical-stepper-header","vertical"===s.orientation),i.Q6J("tabIndex",s._getFocusIndex()===t?0:-1)("id",s._getStepLabelId(t))("index",t)("state",s._getIndicatorType(t,e.state))("label",e.stepLabel||e.label)("selected",s.selectedIndex===t)("active",s._stepIsNavigable(t,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",s._iconOverrides)("disableRipple",s.disableRipple||!s._stepIsNavigable(t,e))("color",e.color||s.color),i.uIk("aria-posinset",t+1)("aria-setsize",s.steps.length)("aria-controls",s._getStepContentId(t))("aria-selected",s.selectedIndex==t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",!s._stepIsNavigable(t,e)||null)}}let VA=(()=>{class n extends mE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matStepLabel",""]],features:[i.qOj]}),n})(),qA=(()=>{class n{constructor(){this.changes=new ke.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const iI={provide:qA,deps:[[new i.FiY,new i.tp0,qA]],useFactory:function tI(n){return n||new qA}},nI=Qo(class extends gE{constructor(o){super(o)}},"primary");let bE=(()=>{class n extends nI{constructor(e,t,s,a){super(s),this._intl=e,this._focusMonitor=t,this._intlSubscription=e.changes.subscribe(()=>a.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._elementRef,e,t):this._elementRef.nativeElement.focus(t)}_stringLabel(){return this.label instanceof VA?null:this.label}_templateLabel(){return this.label instanceof VA?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return"number"==e?`${this.index+1}`:"edit"==e?"create":"error"==e?"warning":e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(qA),i.Y36(Ys),i.Y36(i.SBq),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[i.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(e,t){1&e&&(i._UZ(0,"div",0),i.TgZ(1,"div"),i.TgZ(2,"div",1),i.YNc(3,OL,1,2,"ng-container",2),i.YNc(4,BL,5,4,"ng-container",3),i.qZA(),i.qZA(),i.TgZ(5,"div",4),i.YNc(6,YL,2,1,"div",5),i.YNc(7,jL,2,1,"div",5),i.YNc(8,UL,2,1,"div",6),i.YNc(9,VL,2,1,"div",7),i.qZA()),2&e&&(i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disableRipple),i.xp6(1),i.Gre("mat-step-icon-state-",t.state," mat-step-icon"),i.ekj("mat-step-icon-selected",t.selected),i.xp6(1),i.Q6J("ngSwitch",!(!t.iconOverrides||!t.iconOverrides[t.state])),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(2),i.ekj("mat-step-label-active",t.active)("mat-step-label-selected",t.selected)("mat-step-label-error","error"==t.state),i.xp6(1),i.Q6J("ngIf",t._templateLabel()),i.xp6(1),i.Q6J("ngIf",t._stringLabel()),i.xp6(1),i.Q6J("ngIf",t.optional&&"error"!=t.state),i.xp6(1),i.Q6J("ngIf","error"==t.state))},directives:[tn,Ss,b.RF,b.n9,b.tP,b.ED,b.O5],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header.cdk-keyboard-focused,.cdk-high-contrast-active .mat-step-header.cdk-program-focused{outline:solid 3px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),n})();const wE={horizontalStepTransition:ti("horizontalStepTransition",[_t("previous",De({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),_t("current",De({transform:"none",visibility:"inherit"})),_t("next",De({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),ht("* => *",rt("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:ti("verticalStepTransition",[_t("previous",De({height:"0px",visibility:"hidden"})),_t("next",De({height:"0px",visibility:"hidden"})),_t("current",De({height:"*",visibility:"inherit"})),ht("* <=> current",rt("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let sI=(()=>{class n{constructor(e){this.templateRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),n})(),oI=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matStepContent",""]]}),n})(),AE=(()=>{class n extends B0{constructor(e,t,s,a){super(e,a),this._errorStateMatcher=t,this._viewContainerRef=s,this._isSelected=P.w.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,Ci.w)(()=>this._stepper.selectionChange.pipe((0,at.U)(e=>e.selectedStep===this),Vt(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new Cr(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,t){return this._errorStateMatcher.isErrorState(e,t)||!!(e&&e.invalid&&this.interacted)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36((0,i.Gpc)(()=>CE)),i.Y36(Xo,4),i.Y36(i.s_b),i.Y36(_E,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-step"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,VA,5),i.Suo(s,oI,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.stepLabel=a.first),i.iGM(a=i.CRH())&&(t._lazyContent=a.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[i._Bn([{provide:Xo,useExisting:n},{provide:B0,useExisting:n}]),i.qOj],ngContentSelectors:KL,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,GL,2,1,"ng-template"))},directives:[Tr],encapsulation:2,changeDetection:0}),n})(),vE=(()=>{class n extends hp{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})(),rI=(()=>{class n extends vE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-horizontal-stepper"]],features:[i.qOj]}),n})(),aI=(()=>{class n extends vE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-vertical-stepper"]],features:[i.qOj]}),n})(),CE=(()=>{class n extends hp{constructor(e,t,s,a){super(e,t,s,a),this.steps=new i.n_E,this.animationDone=new i.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new ke.xQ;const r=s.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===r?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:t})=>this._iconOverrides[e]=t),this.steps.changes.pipe($e(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(yc((e,t)=>e.fromState===t.fromState&&e.toState===t.toState),$e(this._destroyed)).subscribe(e=>{"current"===e.toState&&this.animationDone.emit()})}_stepIsNavigable(e,t){return t.completed||this.selectedIndex===e||!this.linear}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ti,8),i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(b.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,AE,5),i.Suo(s,sI,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._steps=a),i.iGM(a=i.CRH())&&(t._icons=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(bE,5),2&e){let s;i.iGM(s=i.CRH())&&(t._stepHeader=s)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(e,t){2&e&&(i.uIk("aria-orientation",t.orientation),i.ekj("mat-stepper-horizontal","horizontal"===t.orientation)("mat-stepper-vertical","vertical"===t.orientation)("mat-stepper-label-position-end","horizontal"===t.orientation&&"end"==t.labelPosition)("mat-stepper-label-position-bottom","horizontal"===t.orientation&&"bottom"==t.labelPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[i._Bn([{provide:hp,useExisting:n},{provide:rI,useExisting:n},{provide:aI,useExisting:n}]),i.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(e,t){1&e&&(i.ynx(0,0),i.YNc(1,JL,5,2,"ng-container",1),i.YNc(2,XL,2,1,"ng-container",1),i.BQk(),i.YNc(3,eI,1,23,"ng-template",null,2,i.W1O)),2&e&&(i.Q6J("ngSwitch",t.orientation),i.xp6(1),i.Q6J("ngSwitchCase","horizontal"),i.xp6(1),i.Q6J("ngSwitchCase","vertical"))},directives:[bE,b.RF,b.n9,b.sg,b.tP,b.O5],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],encapsulation:2,data:{animation:[wE.horizontalStepTransition,wE.verticalStepTransition]},changeDetection:0}),n})(),cI=(()=>{class n extends PL{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("type",t.type)},inputs:{type:"type"},features:[i.qOj]}),n})(),lI=(()=>{class n extends LL{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("type",t.type)},inputs:{type:"type"},features:[i.qOj]}),n})(),TE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[iI,Xo],imports:[[nt,b.ez,xl,Zs,IL,iu,cs],nt]}),n})();const uI=["mat-calendar-body",""];function dI(n,o){if(1&n&&(i.TgZ(0,"tr",2),i.TgZ(1,"td",3),i._uU(2),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),i.uIk("colspan",e.numCols),i.xp6(1),i.hij(" ",e.label," ")}}function hI(n,o){if(1&n&&(i.TgZ(0,"td",3),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),i.uIk("colspan",e._firstRowOffset),i.xp6(1),i.hij(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function fI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",7),i.TgZ(1,"button",8),i.NdJ("click",function(s){const r=i.CHM(e).$implicit;return i.oxw(2)._cellClicked(r,s)}),i.TgZ(2,"div",9),i._uU(3),i.qZA(),i._UZ(4,"div",10),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw().index,a=i.oxw();i.Udp("width",a._cellWidth)("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),i.uIk("data-mat-row",s)("data-mat-col",t),i.xp6(1),i.ekj("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",a._isActiveCell(s,t))("mat-calendar-body-range-start",a._isRangeStart(e.compareValue))("mat-calendar-body-range-end",a._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",a._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",a._isComparisonBridgeStart(e.compareValue,s,t))("mat-calendar-body-comparison-bridge-end",a._isComparisonBridgeEnd(e.compareValue,s,t))("mat-calendar-body-comparison-start",a._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",a._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",a._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",a._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",a._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",a._isInPreview(e.compareValue)),i.Q6J("ngClass",e.cssClasses)("tabindex",a._isActiveCell(s,t)?0:-1),i.uIk("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",a._isSelected(e.compareValue))("aria-current",a.todayValue===e.compareValue?"date":null),i.xp6(1),i.ekj("mat-calendar-body-selected",a._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",a._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",a.todayValue===e.compareValue),i.xp6(1),i.hij(" ",e.displayValue," ")}}function pI(n,o){if(1&n&&(i.TgZ(0,"tr",4),i.YNc(1,hI,2,6,"td",5),i.YNc(2,fI,5,47,"td",6),i.qZA()),2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.xp6(1),i.Q6J("ngIf",0===t&&s._firstRowOffset),i.xp6(1),i.Q6J("ngForOf",e)}}function gI(n,o){if(1&n&&(i.TgZ(0,"th",5),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.uIk("aria-label",e.long),i.xp6(1),i.hij(" ",e.narrow," ")}}const mI=["*"];function _I(n,o){}function yI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-month-view",5),i.NdJ("activeDateChange",function(s){return i.CHM(e),i.oxw().activeDate=s})("_userSelection",function(s){return i.CHM(e),i.oxw()._dateSelected(s)}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)}}function bI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-year-view",6),i.NdJ("activeDateChange",function(s){return i.CHM(e),i.oxw().activeDate=s})("monthSelected",function(s){return i.CHM(e),i.oxw()._monthSelectedInYearView(s)})("selectedChange",function(s){return i.CHM(e),i.oxw()._goToDateInView(s,"month")}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function wI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-multi-year-view",7),i.NdJ("activeDateChange",function(s){return i.CHM(e),i.oxw().activeDate=s})("yearSelected",function(s){return i.CHM(e),i.oxw()._yearSelectedInMultiYearView(s)})("selectedChange",function(s){return i.CHM(e),i.oxw()._goToDateInView(s,"year")}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function AI(n,o){}const vI=["button"];function CI(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",3),i._UZ(1,"path",4),i.qZA())}const TI=[[["","matDatepickerToggleIcon",""]]],MI=["[matDatepickerToggleIcon]"];class Y0{constructor(o,e,t,s,a={},r=o,c){this.value=o,this.displayValue=e,this.ariaLabel=t,this.enabled=s,this.cssClasses=a,this.compareValue=r,this.rawValue=c}}let fp=(()=>{class n{constructor(e,t){this._elementRef=e,this._ngZone=t,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new i.vpe,this.previewChange=new i.vpe,this._enterHandler=s=>{if(this._skipNextFocus&&"focus"===s.type)this._skipNextFocus=!1;else if(s.target&&this.isRange){const a=this._getCellFromElement(s.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:s}))}},this._leaveHandler=s=>{null!==this.previewEnd&&this.isRange&&s.target&&this._getCellFromElement(s.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:s}))},t.runOutsideAngular(()=>{const s=e.nativeElement;s.addEventListener("mouseenter",this._enterHandler,!0),s.addEventListener("focus",this._enterHandler,!0),s.addEventListener("mouseleave",this._leaveHandler,!0),s.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(e,t){e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const t=e.numCols,{rows:s,numCols:a}=this;(e.rows||t)&&(this._firstRowOffset=s&&s.length&&s[0].length?a-s[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/a+"%"),(t||!this._cellWidth)&&(this._cellWidth=100/a+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(e,t){let s=e*this.numCols+t;return e&&(s-=this._firstRowOffset),s==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})}_isRangeStart(e){return j0(e,this.startValue,this.endValue)}_isRangeEnd(e){return U0(e,this.startValue,this.endValue)}_isInRange(e){return V0(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return j0(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,s){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let a=this.rows[t][s-1];if(!a){const r=this.rows[t-1];a=r&&r[r.length-1]}return a&&!this._isRangeEnd(a.compareValue)}_isComparisonBridgeEnd(e,t,s){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let a=this.rows[t][s+1];if(!a){const r=this.rows[t+1];a=r&&r[0]}return a&&!this._isRangeStart(a.compareValue)}_isComparisonEnd(e){return U0(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return V0(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return j0(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return U0(e,this.previewStart,this.previewEnd)}_isInPreview(e){return V0(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if(ME(e)?t=e:ME(e.parentNode)&&(t=e.parentNode),t){const s=t.getAttribute("data-mat-row"),a=t.getAttribute("data-mat-col");if(s&&a)return this.rows[parseInt(s)][parseInt(a)]}return null}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[i.TTD],attrs:uI,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(e,t){1&e&&(i.YNc(0,dI,3,6,"tr",0),i.YNc(1,pI,3,2,"tr",1)),2&e&&(i.Q6J("ngIf",t._firstRowOffset.mat-calendar-body-cell-content,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content{outline:dotted 2px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected{outline:solid 3px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],encapsulation:2,changeDetection:0}),n})();function ME(n){return"TD"===n.nodeName}function j0(n,o,e){return null!==e&&o!==e&&n=o&&n===e}function V0(n,o,e,t){return t&&null!==o&&null!==e&&o!==e&&n>=o&&n<=e}class Qs{constructor(o,e){this.start=o,this.end=e}}let ou=(()=>{class n{constructor(e,t){this.selection=e,this._adapter=t,this._selectionChanged=new ke.xQ,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,t){const s=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:t,oldValue:s})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),SI=(()=>{class n extends ou{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new n(this._adapter);return e.updateSelection(this.selection,this),e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(vi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const SE={provide:ou,deps:[[new i.FiY,new i.tp0,ou],vi],useFactory:function EI(n,o){return n||new SI(o)}},GA=new i.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let kE=(()=>{class n{constructor(e,t,s,a,r){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=s,this._dir=a,this._rangeStrategy=r,this._rerenderSubscription=P.w.EMPTY,this.selectedChange=new i.vpe,this._userSelection=new i.vpe,this.activeDateChange=new i.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const t=this._activeDate,s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vt(null)).subscribe(()=>this._init())}ngOnChanges(e){const t=e.comparisonStart||e.comparisonEnd;t&&!t.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const t=e.value,s=this._dateAdapter.getYear(this.activeDate),a=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(s,a,t);let c,d;this._selected instanceof Qs?(c=this._getDateInCurrentMonth(this._selected.start),d=this._getDateInCurrentMonth(this._selected.end)):c=d=this._getDateInCurrentMonth(this._selected),(c!==t||d!==t)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(e){const t=this._activeDate,s=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case 27:return void(null!=this._previewEnd&&!Ni(e)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e}),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_previewChanged({event:e,value:t}){if(this._rangeStrategy){const a=this._rangeStrategy.createPreview(t?t.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(a.start),this._previewEnd=this._getCellCompareValue(a.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let a=this._dateAdapter.getDayOfWeekNames("long").map((r,c)=>({long:r,narrow:t[c]}));this._weekdays=a.slice(e).concat(a.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let s=0,a=this._firstWeekOffset;s=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}_getCellCompareValue(e){if(e){const t=this._dateAdapter.getYear(e),s=this._dateAdapter.getMonth(e),a=this._dateAdapter.getDate(e);return new Date(t,s,a).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof Qs?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(Ms,8),i.Y36(vi,8),i.Y36(Ti,8),i.Y36(GA,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-month-view"]],viewQuery:function(e,t){if(1&e&&i.Gf(fp,5),2&e){let s;i.iGM(s=i.CRH())&&(t._matCalendarBody=s.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[i.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keyup","keydown"],["scope","col"]],template:function(e,t){1&e&&(i.TgZ(0,"table",0),i.TgZ(1,"thead",1),i.TgZ(2,"tr"),i.YNc(3,gI,2,2,"th",2),i.qZA(),i.TgZ(4,"tr"),i._UZ(5,"th",3),i.qZA(),i.qZA(),i.TgZ(6,"tbody",4),i.NdJ("selectedValueChange",function(a){return t._dateSelected(a)})("previewChange",function(a){return t._previewChanged(a)})("keyup",function(a){return t._handleCalendarBodyKeyup(a)})("keydown",function(a){return t._handleCalendarBodyKeydown(a)}),i.qZA(),i.qZA()),2&e&&(i.xp6(3),i.Q6J("ngForOf",t._weekdays),i.xp6(3),i.Q6J("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("startValue",t._rangeStart)("endValue",t._rangeEnd)("comparisonStart",t._comparisonRangeStart)("comparisonEnd",t._comparisonRangeEnd)("previewStart",t._previewStart)("previewEnd",t._previewEnd)("isRange",t._isRange)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[fp,b.sg],encapsulation:2,changeDetection:0}),n})(),EE=(()=>{class n{constructor(e,t,s){this._changeDetectorRef=e,this._dateAdapter=t,this._dir=s,this._rerenderSubscription=P.w.EMPTY,this.selectedChange=new i.vpe,this.yearSelected=new i.vpe,this.activeDateChange=new i.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),DE(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-l_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let s=0,a=[];s<24;s++)a.push(t+s),4==a.length&&(this._years.push(a.map(r=>this._createCellForYear(r))),a=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const t=e.value;this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let s=this._dateAdapter.getMonth(this.activeDate),a=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,s,1));this.selectedChange.emit(this._dateAdapter.createDate(t,s,Math.min(this._dateAdapter.getDate(this.activeDate),a)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,s=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-l_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-l_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return l_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){const t=this._dateAdapter.createDate(e,0,1),s=this._dateAdapter.getYearName(t),a=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new Y0(e,s,s,this._shouldEnableYear(e),a)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class n{constructor(e,t,s,a){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=s,this._dir=a,this._rerenderSubscription=P.w.EMPTY,this.selectedChange=new i.vpe,this.monthSelected=new i.vpe,this.activeDateChange=new i.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=e.value,s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(s);const a=this._dateAdapter.getNumDaysInMonth(s);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),a)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,s=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(t=>t.map(s=>this._createCellForMonth(s,e[s]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_createCellForMonth(e,t){const s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),a=this._dateAdapter.format(s,this._dateFormats.display.monthYearA11yLabel),r=this.dateClass?this.dateClass(s,"year"):void 0;return new Y0(e,t.toLocaleUpperCase(),a,this._shouldEnableMonth(e),r)}_shouldEnableMonth(e){const t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(let a=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(a)==e;a=this._dateAdapter.addCalendarDays(a,1))if(this.dateFilter(a))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const s=this._dateAdapter.getYear(this.maxDate),a=this._dateAdapter.getMonth(this.maxDate);return e>s||e===s&&t>a}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const s=this._dateAdapter.getYear(this.minDate),a=this._dateAdapter.getMonth(this.minDate);return e{class n{constructor(){this.changes=new ke.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),LI=0,II=(()=>{class n{constructor(e,t,s,a,r){this._intl=e,this.calendar=t,this._dateAdapter=s,this._dateFormats=a,this._buttonDescriptionId="mat-calendar-button-"+LI++,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-l_(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),s=t+24-1,a=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),r=this._dateAdapter.getYearName(this._dateAdapter.createDate(s,0,1));return this._intl.formatYearRange(a,r)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):DE(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(u_),i.Y36((0,i.Gpc)(()=>K0)),i.Y36(vi,8),i.Y36(Ms,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:mI,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"button",2),i.NdJ("click",function(){return t.currentPeriodClicked()}),i.TgZ(3,"span"),i._uU(4),i.qZA(),i.O4$(),i.TgZ(5,"svg",3),i._UZ(6,"polygon",4),i.qZA(),i.qZA(),i.kcU(),i._UZ(7,"div",5),i.Hsn(8),i.TgZ(9,"button",6),i.NdJ("click",function(){return t.previousClicked()}),i.qZA(),i.TgZ(10,"button",7),i.NdJ("click",function(){return t.nextClicked()}),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.uIk("aria-label",t.periodButtonLabel)("aria-describedby",t._buttonDescriptionId),i.xp6(1),i.uIk("id",t._buttonDescriptionId),i.xp6(1),i.Oqu(t.periodButtonText),i.xp6(1),i.ekj("mat-calendar-invert","month"!==t.calendar.currentView),i.xp6(4),i.Q6J("disabled",!t.previousEnabled()),i.uIk("aria-label",t.prevButtonLabel),i.xp6(1),i.Q6J("disabled",!t.nextEnabled()),i.uIk("aria-label",t.nextButtonLabel))},directives:[Bt,Hy],encapsulation:2,changeDetection:0}),n})(),K0=(()=>{class n{constructor(e,t,s,a){this._dateAdapter=t,this._dateFormats=s,this._changeDetectorRef=a,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new i.vpe,this.yearSelected=new i.vpe,this.monthSelected=new i.vpe,this.viewChanged=new i.vpe(!0),this._userSelection=new i.vpe,this.stateChanges=new ke.xQ,this._intlChanges=e.changes.subscribe(()=>{a.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const t=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),t&&this.viewChanged.emit(t)}ngAfterContentInit(){this._calendarHeaderPortal=new pa(this.headerComponent||II),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){const s=this._getCurrentViewComponent();s&&(this._changeDetectorRef.detectChanges(),s._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const t=e.value;(this.selected instanceof Qs||t&&!this._dateAdapter.sameDate(t,this.selected))&&this.selectedChange.emit(t),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(u_),i.Y36(vi,8),i.Y36(Ms,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-calendar"]],viewQuery:function(e,t){if(1&e&&(i.Gf(kE,5),i.Gf(RE,5),i.Gf(EE,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.monthView=s.first),i.iGM(s=i.CRH())&&(t.yearView=s.first),i.iGM(s=i.CRH())&&(t.multiYearView=s.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[i._Bn([SE]),i.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(i.YNc(0,_I,0,0,"ng-template",0),i.TgZ(1,"div",1),i.YNc(2,yI,1,8,"mat-month-view",2),i.YNc(3,bI,1,6,"mat-year-view",3),i.YNc(4,wI,1,6,"mat-multi-year-view",4),i.qZA()),2&e&&(i.Q6J("cdkPortalOutlet",t._calendarHeaderPortal),i.xp6(1),i.Q6J("ngSwitch",t.currentView),i.xp6(1),i.Q6J("ngSwitchCase","month"),i.xp6(1),i.Q6J("ngSwitchCase","year"),i.xp6(1),i.Q6J("ngSwitchCase","multi-year"))},directives:[kE,RE,EE,Tr,yC,b.RF,b.n9],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),n})();const PE={transformPanel:ti("transformPanel",[ht("void => enter-dropdown",rt("120ms cubic-bezier(0, 0, 0.2, 1)",Mr([De({opacity:0,transform:"scale(1, 0.8)"}),De({opacity:1,transform:"scale(1, 1)"})]))),ht("void => enter-dialog",rt("150ms cubic-bezier(0, 0, 0.2, 1)",Mr([De({opacity:0,transform:"scale(0.7)"}),De({transform:"none",opacity:1})]))),ht("* => void",rt("100ms linear",De({opacity:0})))]),fadeInCalendar:ti("fadeInCalendar",[_t("void",De({opacity:0})),_t("enter",De({opacity:1})),ht("void => *",rt("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let OI=0;const LE=new i.OlP("mat-datepicker-scroll-strategy"),FI={provide:LE,deps:[Ji],useFactory:function HI(n){return()=>n.scrollStrategies.reposition()}},zI=Qo(class{constructor(n){this._elementRef=n}});let NI=(()=>{class n extends zI{constructor(e,t,s,a,r,c){super(e),this._changeDetectorRef=t,this._globalModel=s,this._dateAdapter=a,this._rangeSelectionStrategy=r,this._subscriptions=new P.w,this._animationDone=new ke.xQ,this._actionsPortal=null,this._closeButtonText=c.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const t=this._model.selection,s=e.value,a=t instanceof Qs;if(a&&this._rangeSelectionStrategy){const r=this._rangeSelectionStrategy.selectionFinished(s,t,e.event);this._model.updateSelection(r,this)}else s&&(a||!this._dateAdapter.sameDate(s,t))&&this._model.add(s);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(ou),i.Y36(vi),i.Y36(GA,8),i.Y36(u_))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){if(1&e&&i.Gf(K0,5),2&e){let s;i.iGM(s=i.CRH())&&(t._calendar=s.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&i.WFA("@transformPanel.done",function(){return t._animationDone.next()}),2&e&&(i.d8E("@transformPanel",t._animationState),i.ekj("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[i.qOj],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"mat-calendar",1),i.NdJ("yearSelected",function(a){return t.datepicker._selectYear(a)})("monthSelected",function(a){return t.datepicker._selectMonth(a)})("viewChanged",function(a){return t.datepicker._viewChanged(a)})("_userSelection",function(a){return t._handleUserSelection(a)}),i.qZA(),i.YNc(2,AI,0,0,"ng-template",2),i.TgZ(3,"button",3),i.NdJ("focus",function(){return t._closeButtonFocused=!0})("blur",function(){return t._closeButtonFocused=!1})("click",function(){return t.datepicker.close()}),i._uU(4),i.qZA(),i.qZA()),2&e){let s;i.ekj("mat-datepicker-content-container-with-custom-header",t.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",t._actionsPortal),i.uIk("aria-modal",!0)("aria-labelledby",null!==(s=t._dialogLabelId)&&void 0!==s?s:void 0),i.xp6(1),i.Q6J("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._getMinDate())("maxDate",t.datepicker._getMaxDate())("dateFilter",t.datepicker._getDateFilter())("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t._getSelected())("dateClass",t.datepicker.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)("@fadeInCalendar","enter"),i.xp6(1),i.Q6J("cdkPortalOutlet",t._actionsPortal),i.xp6(1),i.ekj("cdk-visually-hidden",!t._closeButtonFocused),i.Q6J("color",t.color||"primary"),i.xp6(1),i.Oqu(t._closeButtonText)}},directives:[K0,Bt,Il,b.mk,Tr],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[PE.transformPanel,PE.fadeInCalendar]},changeDetection:0}),n})(),IE=(()=>{class n{constructor(e,t,s,a,r,c,d){this._overlay=e,this._ngZone=t,this._viewContainerRef=s,this._dateAdapter=r,this._dir=c,this._model=d,this._inputStateChanges=P.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new i.vpe,this.monthSelected=new i.vpe,this.viewChanged=new i.vpe(!0),this.openedStream=new i.vpe,this.closedStream=new i.vpe,this._opened=!1,this.id="mat-datepicker-"+OI++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new ke.xQ,this._scrollStrategy=a}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=Ne(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const t=Ne(e);t!==this._disabled&&(this._disabled=t,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=Ne(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=function Bu(n,o=/\s+/){const e=[];if(null!=n){const t=Array.isArray(n)?n:`${n}`.split(o);for(const s of t){const a=`${s}`.trim();a&&e.push(a)}}return e}(e)}get opened(){return this._opened}set opened(e){Ne(e)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(e){const t=e.xPosition||e.yPosition;if(t&&!t.firstChange&&this._overlayRef){const s=this._overlayRef.getConfig().positionStrategy;s instanceof dy&&(this._setConnectedPositions(s),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal=e}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=kl(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const t=this._componentRef.instance;t._startExitAnimation(),t._animationDone.pipe((0,Ut.q)(1)).subscribe(()=>this._destroyOverlay())}const e=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}_applyPendingSelection(){var e,t;null===(t=null===(e=this._componentRef)||void 0===e?void 0:e.instance)||void 0===t||t._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._actionsPortal=this._actionsPortal,e._dialogLabelId=this.datepickerInput.getOverlayLabelId()}_openOverlay(){this._destroyOverlay();const e=this.touchUi,t=new pa(NI,this._viewContainerRef),s=this._overlayRef=this._overlay.create(new En({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(e?"dialog":"popup")}));this._getCloseStream(s).subscribe(a=>{a&&a.preventDefault(),this.close()}),this._componentRef=s.attach(t),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>s.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){const t="end"===this.xPosition?"end":"start",s="start"===t?"end":"start",a="above"===this.yPosition?"bottom":"top",r="top"===a?"bottom":"top";return e.withPositions([{originX:t,originY:r,overlayX:t,overlayY:a},{originX:t,originY:a,overlayX:t,overlayY:r},{originX:s,originY:r,overlayX:s,overlayY:a},{originX:s,originY:a,overlayX:s,overlayY:r}])}_getCloseStream(e){return(0,Mi.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,Kt.h)(t=>27===t.keyCode&&!Ni(t)||this.datepickerInput&&Ni(t,"altKey")&&38===t.keyCode)))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ji),i.Y36(i.R0b),i.Y36(i.s_b),i.Y36(LE),i.Y36(vi,8),i.Y36(Ti,8),i.Y36(ou))},n.\u0275dir=i.lG2({type:n,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[i.TTD]}),n})(),Z0=(()=>{class n extends IE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[i._Bn([SE,{provide:IE,useExisting:n}]),i.qOj],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),n})();class KA{constructor(o,e){this.target=o,this.targetElement=e,this.value=this.target.value}}let BI=(()=>{class n{constructor(e,t,s){this._elementRef=e,this._dateAdapter=t,this._dateFormats=s,this.dateChange=new i.vpe,this.dateInput=new i.vpe,this.stateChanges=new ke.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=P.w.EMPTY,this._localeSubscription=P.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=a=>{const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value));return!r||this._matchesFilter(r)?null:{matDatepickerFilter:!0}},this._minValidator=a=>{const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value)),c=this._getMinDate();return!c||!r||this._dateAdapter.compareDate(c,r)<=0?null:{matDatepickerMin:{min:c,actual:r}}},this._maxValidator=a=>{const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value)),c=this._getMaxDate();return!c||!r||this._dateAdapter.compareDate(c,r)>=0?null:{matDatepickerMax:{max:c,actual:r}}},this._lastValueValid=!1,this._localeSubscription=t.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const t=Ne(e),s=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&s.blur&&s.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(this._shouldHandleChangeEvent(t)){const s=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(s),this._cvaOnChange(s),this._onTouched(),this._formatValue(s),this.dateInput.emit(new KA(this,this._elementRef.nativeElement)),this.dateChange.emit(new KA(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function YI(n,o){const e=Object.keys(n);for(let t of e){const{previousValue:s,currentValue:a}=n[t];if(!o.isDateInstance(s)||!o.isDateInstance(a))return!0;if(!o.sameDate(s,a))return!0}return!1})(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const t=this._lastValueValid;let s=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(s),s=this._dateAdapter.getValidDateOrNull(s),this._dateAdapter.sameDate(s,this.value)?(e&&!this.value&&this._cvaOnChange(s),t!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(s),this._cvaOnChange(s),this.dateInput.emit(new KA(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new KA(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){const t=this._getDateFilter();return!t||t(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(vi,8),i.Y36(Ms,8))},n.\u0275dir=i.lG2({type:n,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[i.TTD]}),n})();const jI={provide:Jn,useExisting:(0,i.Gpc)(()=>d_),multi:!0},UI={provide:Bi,useExisting:(0,i.Gpc)(()=>d_),multi:!0};let d_=(()=>{class n extends BI{constructor(e,t,s,a){super(e,t,s),this._formField=a,this._closedSubscription=P.w.EMPTY,this._validator=Oi.compose(super._getValidators())}set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._min)||(this._min=t,this._validatorOnChange())}get max(){return this._max}set max(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._max)||(this._max=t,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const t=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==t&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(vi,8),i.Y36(Ms,8),i.Y36(Df,8))},n.\u0275dir=i.lG2({type:n,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,t){1&e&&i.NdJ("input",function(a){return t._onInput(a.target.value)})("change",function(){return t._onChange()})("blur",function(){return t._onBlur()})("keydown",function(a){return t._onKeydown(a)}),2&e&&(i.Ikx("disabled",t.disabled),i.uIk("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null)("data-mat-calendar",t._datepicker?t._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[i._Bn([jI,UI,{provide:xk,useExisting:n}]),i.qOj]}),n})(),VI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matDatepickerToggleIcon",""]]}),n})(),$0=(()=>{class n{constructor(e,t,s){this._intl=e,this._changeDetectorRef=t,this._stateChanges=P.w.EMPTY;const a=Number(s);this.tabIndex=a||0===a?a:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=Ne(e)}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker.stateChanges:(0,Ye.of)(),t=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,Ye.of)(),s=this.datepicker?(0,Mi.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,Ye.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,Mi.T)(this._intl.changes,e,t,s).subscribe(()=>this._changeDetectorRef.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(u_),i.Y36(i.sBO),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,VI,5),2&e){let a;i.iGM(a=i.CRH())&&(t._customIcon=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(vI,5),2&e){let s;i.iGM(s=i.CRH())&&(t._button=s.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t._open(a)}),2&e&&(i.uIk("tabindex",null)("data-mat-calendar",t.datepicker?t.datepicker.id:null),i.ekj("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[i.TTD],ngContentSelectors:MI,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(i.F$t(TI),i.TgZ(0,"button",0,1),i.YNc(2,CI,2,0,"svg",2),i.Hsn(3),i.qZA()),2&e&&(i.Q6J("disabled",t.disabled)("disableRipple",t.disableRipple),i.uIk("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t.ariaLabel||t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),i.xp6(2),i.Q6J("ngIf",!t._customIcon))},directives:[Bt,b.O5],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),n})(),W0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[u_,FI],imports:[[b.ez,Zs,id,zy,xl,nt],An]}),n})();const qI=["mat-sort-header",""];function GI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",3),i.NdJ("@arrowPosition.start",function(){return i.CHM(e),i.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return i.CHM(e),i.oxw()._disableViewStateAnimation=!1}),i._UZ(1,"div",4),i.TgZ(2,"div",5),i._UZ(3,"div",6),i._UZ(4,"div",7),i._UZ(5,"div",8),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),i.xp6(2),i.Q6J("@indicator",e._getArrowDirectionState()),i.xp6(1),i.Q6J("@leftPointer",e._getArrowDirectionState()),i.xp6(1),i.Q6J("@rightPointer",e._getArrowDirectionState())}}const KI=["*"],ru=jC.ENTERING+" "+YC.STANDARD_CURVE,pp={indicator:ti("indicator",[_t("active-asc, asc",De({transform:"translateY(0px)"})),_t("active-desc, desc",De({transform:"translateY(10px)"})),ht("active-asc <=> active-desc",rt(ru))]),leftPointer:ti("leftPointer",[_t("active-asc, asc",De({transform:"rotate(-45deg)"})),_t("active-desc, desc",De({transform:"rotate(45deg)"})),ht("active-asc <=> active-desc",rt(ru))]),rightPointer:ti("rightPointer",[_t("active-asc, asc",De({transform:"rotate(45deg)"})),_t("active-desc, desc",De({transform:"rotate(-45deg)"})),ht("active-asc <=> active-desc",rt(ru))]),arrowOpacity:ti("arrowOpacity",[_t("desc-to-active, asc-to-active, active",De({opacity:1})),_t("desc-to-hint, asc-to-hint, hint",De({opacity:.54})),_t("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",De({opacity:0})),ht("* => asc, * => desc, * => active, * => hint, * => void",rt("0ms")),ht("* <=> *",rt(ru))]),arrowPosition:ti("arrowPosition",[ht("* => desc-to-hint, * => desc-to-active",rt(ru,Mr([De({transform:"translateY(-25%)"}),De({transform:"translateY(0)"})]))),ht("* => hint-to-desc, * => active-to-desc",rt(ru,Mr([De({transform:"translateY(0)"}),De({transform:"translateY(25%)"})]))),ht("* => asc-to-hint, * => asc-to-active",rt(ru,Mr([De({transform:"translateY(25%)"}),De({transform:"translateY(0)"})]))),ht("* => hint-to-asc, * => active-to-asc",rt(ru,Mr([De({transform:"translateY(0)"}),De({transform:"translateY(-25%)"})]))),_t("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",De({transform:"translateY(0)"})),_t("hint-to-desc, active-to-desc, desc",De({transform:"translateY(-25%)"})),_t("hint-to-asc, active-to-asc, asc",De({transform:"translateY(25%)"}))]),allowChildren:ti("allowChildren",[ht("* <=> *",[Ao("@*",Yy(),{optional:!0})])])};let ZA=(()=>{class n{constructor(){this.changes=new ke.xQ}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const $I={provide:ZA,deps:[[new i.FiY,new i.tp0,ZA]],useFactory:function ZI(n){return n||new ZA}},WI=new i.OlP("MAT_SORT_DEFAULT_OPTIONS"),JI=Nb(Co(class{}));let Do=(()=>{class n extends JI{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new ke.xQ,this.start="asc",this._direction="",this.sortChange=new i.vpe}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=Ne(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var t,s,a;if(!e)return"";const r=null!==(s=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==s?s:!!(null===(a=this._defaultOptions)||void 0===a?void 0:a.disableClear);let c=function QI(n,o){let e=["asc","desc"];return"desc"==n&&e.reverse(),o||e.push(""),e}(e.start||this.start,r),d=c.indexOf(this.direction)+1;return d>=c.length&&(d=0),c[d]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(WI,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.qOj,i.TTD]}),n})();const XI=Co(class{});let gp=(()=>{class n extends XI{constructor(e,t,s,a,r,c,d){super(),this._intl=e,this._changeDetectorRef=t,this._sort=s,this._columnDef=a,this._focusMonitor=r,this._elementRef=c,this._ariaDescriber=d,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=Ne(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const t=!!e;t!==this._showIndicatorHint&&(this._setIndicatorHintVisible(t),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){var t,s;this._sortButton&&(null===(t=this._ariaDescriber)||void 0===t||t.removeDescription(this._sortButton,this._sortActionDescription),null===(s=this._ariaDescriber)||void 0===s||s.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=(0,Mi.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ZA),i.Y36(i.sBO),i.Y36(Do,8),i.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),i.Y36(Ys),i.Y36(i.SBq),i.Y36(rd,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._handleClick()})("keydown",function(a){return t._handleKeydown(a)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(i.uIk("aria-sort",t._getAriaSortAttribute()),i.ekj("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[i.qOj],attrs:qI,ngContentSelectors:KI,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.YNc(3,GI,6,6,"div",2),i.qZA()),2&e&&(i.ekj("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),i.uIk("tabindex",t._isDisabled()?null:0),i.xp6(3),i.Q6J("ngIf",t._renderArrow()))},directives:[b.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[pp.indicator,pp.leftPointer,pp.rightPointer,pp.arrowOpacity,pp.arrowPosition,pp.allowChildren]},changeDetection:0}),n})(),J0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[$I],imports:[[b.ez,nt]]}),n})(),Q0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[iu,b.ez]]}),n})();const zE=new i.OlP("mat-chips-default-options");let hO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Xo,{provide:zE,useValue:{separatorKeyCodes:[13]}}],imports:[[nt]]}),n})();function pO(n){const{subscriber:o,counter:e,period:t}=n;o.next(e),this.schedule({subscriber:o,counter:e+1,period:t},t)}function eM(n,o,e){for(let t in o)if(o.hasOwnProperty(t)){const s=o[t];s?n.setProperty(t,s,(null==e?void 0:e.has(t))?"important":""):n.removeProperty(t)}return n}function mp(n,o){const e=o?"":"none";eM(n.style,{"touch-action":o?"":"none","-webkit-user-drag":o?"":"none","-webkit-tap-highlight-color":o?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function NE(n,o,e){eM(n.style,{position:o?"":"fixed",top:o?"":"0",opacity:o?"":"0",left:o?"":"-999em"},e)}function $A(n,o){return o&&"none"!=o?n+" "+o:n}function BE(n){const o=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*o}function tM(n,o){return n.getPropertyValue(o).split(",").map(t=>t.trim())}function iM(n){const o=n.getBoundingClientRect();return{top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height,x:o.x,y:o.y}}function nM(n,o,e){const{top:t,bottom:s,left:a,right:r}=n;return e>=t&&e<=s&&o>=a&&o<=r}function h_(n,o,e){n.top+=o,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function YE(n,o,e,t){const{top:s,right:a,bottom:r,left:c,width:d,height:h}=n,g=d*o,I=h*o;return t>s-I&&tc-g&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:iM(e)})})}handleScroll(o){const e=yo(o),t=this.positions.get(e);if(!t)return null;const s=t.scrollPosition;let a,r;if(e===this._document){const h=this._viewportRuler.getViewportScrollPosition();a=h.top,r=h.left}else a=e.scrollTop,r=e.scrollLeft;const c=s.top-a,d=s.left-r;return this.positions.forEach((h,g)=>{h.clientRect&&e!==g&&e.contains(g)&&h_(h.clientRect,c,d)}),s.top=a,s.left=r,{top:c,left:d}}}function UE(n){const o=n.cloneNode(!0),e=o.querySelectorAll("[id]"),t=n.nodeName.toLowerCase();o.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const d=this._handles.find(h=>c.target&&(c.target===h||h.contains(c.target)));d&&!this._disabledHandles.has(d)&&!this.disabled&&this._initializeDragSequence(d,c)}else this.disabled||this._initializeDragSequence(this._rootElement,c)},this._pointerMove=c=>{const d=this._getPointerPositionOnPage(c);if(!this._hasStartedDragging){if(Math.abs(d.x-this._pickupPositionOnPage.x)+Math.abs(d.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const ce=Date.now()>=this._dragStartTime+this._getDragStartDelay(c),we=this._dropContainer;if(!ce)return void this._endDragSequence(c);(!we||!we.isDragging()&&!we.isReceiving())&&(c.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(c)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),c.preventDefault();const h=this._getConstrainedPointerPosition(d);if(this._hasMoved=!0,this._lastKnownPointerPosition=d,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,d);else{const g=this._activeTransform;g.x=h.x-this._pickupPositionOnPage.x+this._passiveTransform.x,g.y=h.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(g.x,g.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:c,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=c=>{this._endDragSequence(c)},this.withRootElement(o).withParent(e.parentDragRef||null),this._parentPositions=new jE(t,a),r.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(o){const e=Ne(o);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>mp(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(o){this._handles=o.map(t=>ei(t)),this._handles.forEach(t=>mp(t,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t)}),this._disabledHandles=e,this}withPreviewTemplate(o){return this._previewTemplate=o,this}withPlaceholderTemplate(o){return this._placeholderTemplate=o,this}withRootElement(o){const e=ei(o);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,ZE),e.addEventListener("touchstart",this._pointerDown,KE)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(o){return this._boundaryElement=o?ei(o):null,this._resizeSubscription.unsubscribe(),o&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(o){return this._parentDragRef=o,this}dispose(){var o,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(o=this._rootElement)||void 0===o||o.remove()),null===(e=this._anchor)||void 0===e||e.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(o){!this._disabledHandles.has(o)&&this._handles.indexOf(o)>-1&&(this._disabledHandles.add(o),mp(o,!0))}enableHandle(o){this._disabledHandles.has(o)&&(this._disabledHandles.delete(o),mp(o,this.disabled))}withDirection(o){return this._direction=o,this}_withDropContainer(o){this._dropContainer=o}getFreeDragPosition(){const o=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:o.x,y:o.y}}setFreeDragPosition(o){return this._activeTransform={x:0,y:0},this._passiveTransform.x=o.x,this._passiveTransform.y=o.y,this._dropContainer||this._applyRootElementTransform(o.x,o.y),this}withPreviewContainer(o){return this._previewContainer=o,this}_sortFromLastPointerPosition(){const o=this._lastKnownPointerPosition;o&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(o),o)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var o,e;null===(o=this._preview)||void 0===o||o.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var o,e;null===(o=this._placeholder)||void 0===o||o.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(o){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(o),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(o);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(o){f_(o)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,s=t.parentNode,a=this._placeholder=this._createPlaceholderElement(),r=this._anchor=this._anchor||this._document.createComment(""),c=this._getShadowRoot();s.insertBefore(r,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),NE(t,!1,sM),this._document.body.appendChild(s.replaceChild(a,t)),this._getPreviewInsertionPoint(s,c).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(o,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),s=f_(e),a=!s&&0!==e.button,r=this._rootElement,c=yo(e),d=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=s?ad(e):Ol(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),t||a||d||h)return;if(this._handles.length){const W=r.style;this._rootElementTapHighlight=W.webkitTapHighlightColor||"",W.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(W=>this._updateOnScroll(W)),this._boundaryElement&&(this._boundaryRect=iM(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(o,e);const I=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:I.x,y:I.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(o){NE(this._rootElement,!0,sM),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,t=e.getItemIndex(this),s=this._getPointerPositionOnPage(o),a=this._getDragDistance(s),r=e._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:a,dropPoint:s}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:a,dropPoint:s}),e.drop(this,t,this._initialIndex,this._initialContainer,r,a,s),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:o,y:e},{x:t,y:s}){let a=this._initialContainer._getSiblingContainerFromPosition(this,o,e);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(o,e)&&(a=this._initialContainer),a&&a!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=a,this._dropContainer.enter(this,o,e,a===this._initialContainer&&a.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:a,currentIndex:a.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,s),this._dropContainer._sortItem(this,o,e,this._pointerDirectionDelta),this._applyPreviewTransform(o-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const o=this._previewTemplate,e=this.previewClass,t=o?o.template:null;let s;if(t&&o){const a=o.matchSize?this._rootElement.getBoundingClientRect():null,r=o.viewContainer.createEmbeddedView(t,o.context);r.detectChanges(),s=WE(r,this._document),this._previewRef=r,o.matchSize?JE(s,a):s.style.transform=WA(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const a=this._rootElement;s=UE(a),JE(s,a.getBoundingClientRect()),this._initialTransform&&(s.style.transform=this._initialTransform)}return eM(s.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},sM),mp(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(a=>s.classList.add(a)):s.classList.add(e)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const o=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(o.left,o.top);const e=function gO(n){const o=getComputedStyle(n),e=tM(o,"transition-property"),t=e.find(c=>"transform"===c||"all"===c);if(!t)return 0;const s=e.indexOf(t),a=tM(o,"transition-duration"),r=tM(o,"transition-delay");return BE(a[s])+BE(r[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const s=r=>{var c;(!r||yo(r)===this._preview&&"transform"===r.propertyName)&&(null===(c=this._preview)||void 0===c||c.removeEventListener("transitionend",s),t(),clearTimeout(a))},a=setTimeout(s,1.5*e);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){const o=this._placeholderTemplate,e=o?o.template:null;let t;return e?(this._placeholderRef=o.viewContainer.createEmbeddedView(e,o.context),this._placeholderRef.detectChanges(),t=WE(this._placeholderRef,this._document)):t=UE(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(o,e){const t=this._rootElement.getBoundingClientRect(),s=o===this._rootElement?null:o,a=s?s.getBoundingClientRect():t,r=f_(e)?e.targetTouches[0]:e,c=this._getViewportScrollPosition();return{x:a.left-t.left+(r.pageX-a.left-c.left),y:a.top-t.top+(r.pageY-a.top-c.top)}}_getPointerPositionOnPage(o){const e=this._getViewportScrollPosition(),t=f_(o)?o.touches[0]||o.changedTouches[0]||{pageX:0,pageY:0}:o,s=t.pageX-e.left,a=t.pageY-e.top;if(this._ownerSVGElement){const r=this._ownerSVGElement.getScreenCTM();if(r){const c=this._ownerSVGElement.createSVGPoint();return c.x=s,c.y=a,c.matrixTransform(r.inverse())}}return{x:s,y:a}}_getConstrainedPointerPosition(o){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:s}=this.constrainPosition?this.constrainPosition(o,this):o;if("x"===this.lockAxis||"x"===e?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:a,y:r}=this._pickupPositionInElement,c=this._boundaryRect,d=this._previewRect,h=c.top+r,g=c.bottom-(d.height-r);t=$E(t,c.left+a,c.right-(d.width-a)),s=$E(s,h,g)}return{x:t,y:s}}_updatePointerDirectionDelta(o){const{x:e,y:t}=o,s=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-a.x),c=Math.abs(t-a.y);return r>this._config.pointerDirectionChangeThreshold&&(s.x=e>a.x?1:-1,a.x=e),c>this._config.pointerDirectionChangeThreshold&&(s.y=t>a.y?1:-1,a.y=t),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const o=this._handles.length>0||!this.isDragging();o!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=o,mp(this._rootElement,o))}_removeRootElementListeners(o){o.removeEventListener("mousedown",this._pointerDown,ZE),o.removeEventListener("touchstart",this._pointerDown,KE)}_applyRootElementTransform(o,e){const t=WA(o,e),s=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=s.transform&&"none"!=s.transform?s.transform:""),s.transform=$A(t,this._initialTransform)}_applyPreviewTransform(o,e){var t;const s=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,a=WA(o,e);this._preview.style.transform=$A(a,s)}_getDragDistance(o){const e=this._pickupPositionOnPage;return e?{x:o.x-e.x,y:o.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:o,y:e}=this._passiveTransform;if(0===o&&0===e||this.isDragging()||!this._boundaryElement)return;const t=this._boundaryElement.getBoundingClientRect(),s=this._rootElement.getBoundingClientRect();if(0===t.width&&0===t.height||0===s.width&&0===s.height)return;const a=t.left-s.left,r=s.right-t.right,c=t.top-s.top,d=s.bottom-t.bottom;t.width>s.width?(a>0&&(o+=a),r>0&&(o-=r)):o=0,t.height>s.height?(c>0&&(e+=c),d>0&&(e-=d)):e=0,(o!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:o})}_getDragStartDelay(o){const e=this.dragStartDelay;return"number"==typeof e?e:f_(o)?e.touch:e?e.mouse:0}_updateOnScroll(o){const e=this._parentPositions.handleScroll(o);if(e){const t=yo(o);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&h_(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const o=this._parentPositions.positions.get(this._document);return o?o.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Sl(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(o,e){const t=this._previewContainer||"global";if("parent"===t)return o;if("global"===t){const s=this._document;return e||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return ei(t)}}function WA(n,o){return`translate3d(${Math.round(n)}px, ${Math.round(o)}px, 0)`}function $E(n,o,e){return Math.max(o,Math.min(e,n))}function f_(n){return"t"===n.type[0]}function WE(n,o){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===o.ELEMENT_NODE)return e[0];const t=o.createElement("div");return e.forEach(s=>t.appendChild(s)),t}function JE(n,o){n.style.width=`${o.width}px`,n.style.height=`${o.height}px`,n.style.transform=WA(o.left,o.top)}function p_(n,o){return Math.max(0,Math.min(o,n))}class wO{constructor(o,e,t,s,a){this._dragDropRegistry=e,this._ngZone=s,this._viewportRuler=a,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new ke.xQ,this.entered=new ke.xQ,this.exited=new ke.xQ,this.dropped=new ke.xQ,this.sorted=new ke.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=P.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new ke.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function fO(n=0,o=Vu.P){return(!Jp(n)||n<0)&&(n=0),(!o||"function"!=typeof o.schedule)&&(o=Vu.P),new Ui.y(e=>(e.add(o.schedule(pO,n,{subscriber:e,counter:0,period:n})),e))}(0,k_).pipe($e(this._stopScrollTimers)).subscribe(()=>{const r=this._scrollNode,c=this.autoScrollStep;1===this._verticalScrollDirection?r.scrollBy(0,-c):2===this._verticalScrollDirection&&r.scrollBy(0,c),1===this._horizontalScrollDirection?r.scrollBy(-c,0):2===this._horizontalScrollDirection&&r.scrollBy(c,0)})},this.element=ei(o),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new jE(t,a)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(o,e,t,s){let a;this._draggingStarted(),null==s?(a=this.sortingDisabled?this._draggables.indexOf(o):-1,-1===a&&(a=this._getItemIndexFromPointerPosition(o,e,t))):a=s;const r=this._activeDraggables,c=r.indexOf(o),d=o.getPlaceholderElement();let h=r[a];if(h===o&&(h=r[a+1]),!h&&(null==a||-1===a||a-1&&r.splice(c,1),h&&!this._dragDropRegistry.isDragging(h)){const g=h.getRootElement();g.parentElement.insertBefore(d,g),r.splice(a,0,o)}else ei(this.element).appendChild(d),r.push(o);d.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:o,container:this,currentIndex:this.getItemIndex(o)})}exit(o){this._reset(),this.exited.next({item:o,container:this})}drop(o,e,t,s,a,r,c){this._reset(),this.dropped.next({item:o,currentIndex:e,previousIndex:t,container:this,previousContainer:s,isPointerOverContainer:a,distance:r,dropPoint:c})}withItems(o){const e=this._draggables;return this._draggables=o,o.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(s=>s.isDragging()).every(s=>-1===o.indexOf(s))?this._reset():this._cacheItems()),this}withDirection(o){return this._direction=o,this}connectedTo(o){return this._siblings=o.slice(),this}withOrientation(o){return this._orientation=o,this}withScrollableParents(o){const e=ei(this.element);return this._scrollableElements=-1===o.indexOf(e)?[e,...o]:o.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(o){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===o):this._draggables.indexOf(o)}isReceiving(){return this._activeSiblings.size>0}_sortItem(o,e,t,s){if(this.sortingDisabled||!this._clientRect||!YE(this._clientRect,.05,e,t))return;const a=this._itemPositions,r=this._getItemIndexFromPointerPosition(o,e,t,s);if(-1===r&&a.length>0)return;const c="horizontal"===this._orientation,d=a.findIndex(Fe=>Fe.drag===o),h=a[r],I=h.clientRect,W=d>r?1:-1,ce=this._getItemOffsetPx(a[d].clientRect,I,W),we=this._getSiblingOffsetPx(d,a,W),Me=a.slice();(function bO(n,o,e){const t=p_(o,n.length-1),s=p_(e,n.length-1);if(t===s)return;const a=n[t],r=s{if(Me[Ht]===Fe)return;const Jt=Fe.drag===o,Lt=Jt?ce:we,oi=Jt?o.getPlaceholderElement():Fe.drag.getRootElement();Fe.offset+=Lt,c?(oi.style.transform=$A(`translate3d(${Math.round(Fe.offset)}px, 0, 0)`,Fe.initialTransform),h_(Fe.clientRect,0,Lt)):(oi.style.transform=$A(`translate3d(0, ${Math.round(Fe.offset)}px, 0)`,Fe.initialTransform),h_(Fe.clientRect,Lt,0))}),this._previousSwap.overlaps=nM(I,e,t),this._previousSwap.drag=h.drag,this._previousSwap.delta=c?s.x:s.y}_startScrollingIfNecessary(o,e){if(this.autoScrollDisabled)return;let t,s=0,a=0;if(this._parentPositions.positions.forEach((r,c)=>{c===this._document||!r.clientRect||t||YE(r.clientRect,.05,o,e)&&([s,a]=function AO(n,o,e,t){const s=eD(o,t),a=tD(o,e);let r=0,c=0;if(s){const d=n.scrollTop;1===s?d>0&&(r=1):n.scrollHeight-d>n.clientHeight&&(r=2)}if(a){const d=n.scrollLeft;1===a?d>0&&(c=1):n.scrollWidth-d>n.clientWidth&&(c=2)}return[r,c]}(c,r.clientRect,o,e),(s||a)&&(t=c))}),!s&&!a){const{width:r,height:c}=this._viewportRuler.getViewportSize(),d={width:r,height:c,top:0,right:r,bottom:c,left:0};s=eD(d,e),a=tD(d,o),t=window}t&&(s!==this._verticalScrollDirection||a!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=a,this._scrollNode=t,(s||a)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const o=ei(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=o.msScrollSnapType||o.scrollSnapType||"",o.scrollSnapType=o.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const o=ei(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(o).clientRect}_cacheItemPositions(){const o="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:iM(t)}}).sort((e,t)=>o?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const o=ei(this.element).style;o.scrollSnapType=o.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const s=e.getRootElement();if(s){const a=null===(t=this._itemPositions.find(r=>r.drag===e))||void 0===t?void 0:t.initialTransform;s.style.transform=a||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(o,e,t){const s="horizontal"===this._orientation,a=e[o].clientRect,r=e[o+-1*t];let c=a[s?"width":"height"]*t;if(r){const d=s?"left":"top",h=s?"right":"bottom";-1===t?c-=r.clientRect[d]-a[h]:c+=a[d]-r.clientRect[h]}return c}_getItemOffsetPx(o,e,t){const s="horizontal"===this._orientation;let a=s?e.left-o.left:e.top-o.top;return-1===t&&(a+=s?e.width-o.width:e.height-o.height),a}_shouldEnterAsFirstChild(o,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,s="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const r=t[t.length-1].clientRect;return s?o>=r.right:e>=r.bottom}{const r=t[0].clientRect;return s?o<=r.left:e<=r.top}}_getItemIndexFromPointerPosition(o,e,t,s){const a="horizontal"===this._orientation,r=this._itemPositions.findIndex(({drag:c,clientRect:d})=>{if(c===o)return!1;if(s){const h=a?s.x:s.y;if(c===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return a?e>=Math.floor(d.left)&&e=Math.floor(d.top)&&ts._canReceive(o,e,t))}_canReceive(o,e,t){if(!this._clientRect||!nM(this._clientRect,e,t)||!this.enterPredicate(o,this))return!1;const s=this._getShadowRoot().elementFromPoint(e,t);if(!s)return!1;const a=ei(this.element);return s===a||a.contains(s)}_startReceiving(o,e){const t=this._activeSiblings;!t.has(o)&&e.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(t.add(o),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(o){this._activeSiblings.delete(o),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(o=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(o);e&&(this._itemPositions.forEach(({clientRect:t})=>{h_(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const o=Sl(ei(this.element));this._cachedShadowRoot=o||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const o=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,o))}}function eD(n,o){const{top:e,bottom:t,height:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=t-a&&o<=t+a?2:0}function tD(n,o){const{left:e,right:t,width:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=t-a&&o<=t+a?2:0}const JA=_o({passive:!1,capture:!0});let vO=(()=>{class n{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new ke.xQ,this.pointerUp=new ke.xQ,this.scroll=new ke.xQ,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,JA)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,JA)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const s=t.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:a=>this.pointerUp.next(a),options:!0}).set("scroll",{handler:a=>this.scroll.next(a),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:JA}),s||this._globalListeners.set("mousemove",{handler:a=>this.pointerMove.next(a),options:JA}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((a,r)=>{this._document.addEventListener(r,a.handler,a.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const t=[this.scroll];return e&&e!==this._document&&t.push(new Ui.y(s=>this._ngZone.runOutsideAngular(()=>{const r=c=>{this._activeDragInstances.length&&s.next(c)};return e.addEventListener("scroll",r,!0),()=>{e.removeEventListener("scroll",r,!0)}}))),(0,Mi.T)(...t)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const CO={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let TO=(()=>{class n{constructor(e,t,s,a){this._document=e,this._ngZone=t,this._viewportRuler=s,this._dragDropRegistry=a}createDrag(e,t=CO){return new yO(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new wO(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(i.R0b),i.LFG(Hn),i.LFG(vO))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),MO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[TO],imports:[An]}),n})(),SO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),RO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),NO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[RO,nt],nt]}),n})(),QO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[cs,nt],nt]}),n})(),tH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,zc,Zs,UA,iu,DA,tp]]}),n})(),iH=(()=>{class n extends Wg{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const nH={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let lM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:vi,useClass:iH},{provide:Ms,useValue:nH}],imports:[[b.ez,UA,I0,Zm,hO,MO,Sd,Rh,J0,M,DA,Q0,iu,TA,Zs,tp,$s,zc,xA,cs,Sk,SO,NO,W0,QO,tm,Xf,tH,fa,im,bk]]}),n})(),hH=(()=>{class n{constructor(e){this.elementRef=e}ngOnInit(){this.elementRef.nativeElement.focus()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","perunWebAppsAutoFocus",""]]}),n})(),oD=(()=>{class n{constructor(){}onClick(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),s=location.search;window.open(t+s)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(e,t){1&e&&i.NdJ("mouseup",function(a){return t.onClick(a)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),n})(),PH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nE,F0,hE,Zs,pE,UA,iu,I0,im,DA,$s,xA,fa,Zm,zc,TE,W0,Jg,qk,Jk,lM,TA,zk,J0,M,tp,Xf,cs],nE,F0,hE,Zs,pE,UA,iu,I0,im,DA,$s,xA,fa,Zm,zc,TE,W0,Jg,qk,Jk,lM,TA,zk,J0,M,tp,Xf,cs]}),n})(),LH=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.publication=this.data}ok(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-show-cite-dialog"]],decls:10,vars:7,consts:[[1,"user-theme"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["mat-dialog-actions",""],["mat-stroked-button","",1,"ml-auto",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",2),i._uU(5),i.qZA(),i.TgZ(6,"div",3),i.TgZ(7,"button",4),i.NdJ("click",function(){return t.ok()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,3,"DIALOGS.SHOW_CITE.TITLE")),i.xp6(3),i.hij(" ",t.publication.main," "),i.xp6(3),i.hij(" ",i.lcZ(9,5,"DIALOGS.SHOW_CITE.OK")," "))},directives:[ks,Gs,Ks,Bt],pipes:[gt],styles:[""]}),n})();function IH(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," info "),i.qZA())}function OH(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," warning "),i.qZA())}function HH(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," dangerous "),i.qZA())}function FH(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," check_circle "),i.qZA())}const zH=["*"];let Fa=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:zH,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,IH,2,0,"mat-icon",1),i.YNc(2,OH,2,0,"mat-icon",1),i.YNc(3,HH,2,0,"mat-icon",1),i.YNc(4,FH,2,0,"mat-icon",1),i.Hsn(5),i.qZA()),2&e&&(i.ekj("warn-alert","warn"===t.alert_type)("error-alert","error"===t.alert_type)("success-alert","success"===t.alert_type)("info-alert","info"===t.alert_type),i.xp6(1),i.Q6J("ngIf","info"===t.alert_type),i.xp6(1),i.Q6J("ngIf","warn"===t.alert_type),i.xp6(1),i.Q6J("ngIf","error"===t.alert_type),i.xp6(1),i.Q6J("ngIf","success"===t.alert_type))},directives:[b.O5,tn],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),n})(),ev=(()=>{class n{transform(e){let s="";return null!==e.titleBefore&&(s+=e.titleBefore+" "),null!==e.firstName&&(s+=e.firstName+" "),null!==e.middleName&&(s+=e.middleName+" "),null!==e.lastName&&(s+=e.lastName+" "),null!==e.titleAfter&&(s+=e.titleAfter+" "),s.endsWith(" ")&&(s=s.substring(0,s.length-1)),s}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"userFullName",type:n,pure:!0}),n})();function NH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",20),i.TgZ(1,"mat-checkbox",21),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function BH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",22),i.TgZ(1,"mat-checkbox",23),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.itemSelectionToggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function YH(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_ID")," "))}function jH(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.id," ")}}function UH(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_LOCK")," "))}function VH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",27),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().lockOrUnlockPublication(s)})("mouseenter",function(){return i.CHM(e),i.oxw(2).buttonPressed=!0})("mouseleave",function(){return i.CHM(e),i.oxw(2).buttonPressed=!1}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon"),i._uU(3,"lock"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"PUBLICATIONS_LIST.LOCKED"))}function qH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",27),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().lockOrUnlockPublication(s)})("mouseenter",function(){return i.CHM(e),i.oxw(2).buttonPressed=!0})("mouseleave",function(){return i.CHM(e),i.oxw(2).buttonPressed=!1}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon"),i._uU(3,"lock_open"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"PUBLICATIONS_LIST.UNLOCKED"))}function GH(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,VH,4,3,"button",26),i.YNc(2,qH,4,3,"button",26),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngIf",e.locked),i.xp6(1),i.Q6J("ngIf",!e.locked)}}function KH(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_TITLE")," "))}function ZH(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.title," ")}}function $H(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_REPORTED_BY")," "))}function WH(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.ALo(2,"userFullName"),i._UZ(3,"br"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e),"")}}function JH(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,WH,4,3,"span",28),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngForOf",e.authors)}}function QH(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_YEAR")," "))}function XH(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.year," ")}}function e2(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_CATEGORY")," "))}function t2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.categoryName," ")}}function n2(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_THANKEDTO")," "))}function s2(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i._UZ(2,"br"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.ownerName,"")}}function o2(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,s2,3,1,"span",28),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngForOf",e.thanks)}}function r2(n,o){1&n&&(i.TgZ(0,"th",29),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_CITE")))}function a2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",25),i.TgZ(1,"button",30),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().showCite(a)})("mouseenter",function(){return i.CHM(e),i.oxw().buttonPressed=!0})("mouseleave",function(){return i.CHM(e),i.oxw().buttonPressed=!1}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.qZA()}2&n&&(i.xp6(2),i.hij(" ",i.lcZ(3,1,"PUBLICATIONS_LIST.SHOW_CITE")," "))}function c2(n,o){1&n&&i._UZ(0,"tr",31)}const cD=function(n,o){return[n,o]};function l2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"tr",32),i.NdJ("click",function(){const a=i.CHM(e).$implicit,r=i.oxw();return r.disabledRouting&&r.openInTab&&!r.buttonPressed?r.emitPublication(a):null}),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disabledRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",t.disabledRouting||t.buttonPressed?null:i.WLB(4,cD,t.routerPath,e.id))("routerLink",t.disabledRouting||t.buttonPressed?null:i.WLB(7,cD,t.routerPath,e.id))}}function u2(n,o){1&n&&(i.TgZ(0,"app-alert",33),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.NO_PUBLICATIONS_FOUND"),"\n"))}let _p=(()=>{class n{constructor(e,t,s,a,r){this.tableCheckbox=e,this.cabinetService=t,this.dialog=s,this.notificator=a,this.translate=r,this.selection=new en(!0,[]),this.displayedColumns=["select","id","lock","title","reportedBy","year","category","thankedTo","cite"],this.pageSizeOptions=Zd,this.disabledRouting=!1,this.openInTab=!1,this.allowAlert=!0,this.publicationSelector=new i.vpe,this.buttonPressed=!1,r.get("PUBLICATIONS_LIST.CHANGE_LOCK_SUCCESS").subscribe(c=>this.changeLockMessage=c),r.get("PUBLICATIONS_LIST.LOCKED").subscribe(c=>this.locked=c),r.get("PUBLICATIONS_LIST.UNLOCKED").subscribe(c=>this.unlocked=c)}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.publications),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"lock":return String(e.locked);case"title":return e.title;case"reportedBy":{let s="";return e.authors.forEach(a=>s+=wk(a)+";"),s.slice(0,-1)}case"year":return e.year.toString();case"category":return e.categoryName;case"thankedTo":{let s="";return e.thanks.forEach(a=>s+=a.ownerName+";"),s.slice(0,-1)}default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,"",this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,"",this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}setDataSource(){this.dataSource&&(this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}itemSelectionToggle(e){this.selection.toggle(e)}showCite(e){const t=ts();t.width="500px",t.data=e,this.dialog.open(LH,t)}lockOrUnlockPublication(e){this.cabinetService.lockPublications({publications:[this.createPublication(e)],lock:!e.locked}).subscribe(()=>{this.notificator.showSuccess(e.locked?this.changeLockMessage+this.unlocked:this.changeLockMessage+this.locked),e.locked=!e.locked})}createPublication(e){return{id:e.id,externalId:e.externalId,publicationSystemId:e.publicationSystemId,categoryId:e.categoryId,createdBy:e.createdBy,createdDate:e.createdDate,doi:e.doi,isbn:e.isbn,locked:e.locked,main:e.main,rank:e.rank,title:e.title,year:e.year}}emitPublication(e){return this.publicationSelector.emit(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(EA),i.Y36(ai),i.Y36(Xi),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publications-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{publications:"publications",selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",pageSizeOptions:"pageSizeOptions",routerPath:"routerPath",disabledRouting:"disabledRouting",openInTab:"openInTab",allowAlert:"allowAlert"},outputs:{publicationSelector:"publicationSelector"},features:[i.TTD],decls:33,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","title","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","lock"],["matColumnDef","title"],["matColumnDef","reportedBy"],["matColumnDef","year"],["matColumnDef","category"],["matColumnDef","thankedTo"],["matColumnDef","cite"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink","cursor-pointer","click",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-icon-button","",3,"matTooltip","click","mouseenter","mouseleave",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click","mouseenter","mouseleave"],[4,"ngFor","ngForOf"],["mat-header-cell",""],["mat-stroked-button","",3,"click","mouseenter","mouseleave"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink","click"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,NH,2,3,"th",4),i.YNc(5,BH,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,YH,3,3,"th",7),i.YNc(8,jH,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,UH,3,3,"th",7),i.YNc(11,GH,3,2,"td",8),i.BQk(),i.ynx(12,10),i.YNc(13,KH,3,3,"th",7),i.YNc(14,ZH,2,1,"td",8),i.BQk(),i.ynx(15,11),i.YNc(16,$H,3,3,"th",7),i.YNc(17,JH,2,1,"td",8),i.BQk(),i.ynx(18,12),i.YNc(19,QH,3,3,"th",7),i.YNc(20,XH,2,1,"td",8),i.BQk(),i.ynx(21,13),i.YNc(22,e2,3,3,"th",7),i.YNc(23,t2,2,1,"td",8),i.BQk(),i.ynx(24,14),i.YNc(25,n2,3,3,"th",7),i.YNc(26,o2,2,1,"td",8),i.BQk(),i.ynx(27,15),i.YNc(28,r2,3,3,"th",16),i.YNc(29,a2,4,3,"td",8),i.BQk(),i.YNc(30,c2,1,0,"tr",17),i.YNc(31,l2,1,10,"tr",18),i.qZA(),i.qZA(),i.qZA(),i.YNc(32,u2,3,3,"app-alert",19)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.publications.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(28),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.publications.length&&t.allowAlert))},directives:[ir,La,Do,Ir,Lr,Or,su,Pr,Hr,gp,b.O5,Bt,jc,tn,b.sg,$c,Wc,Ia,Oa,oD,Et,Fa],pipes:[gt,ev],styles:[".mat-column-title[_ngcontent-%COMP%]{width:40%}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();function d2(n,o){1&n&&i._UZ(0,"mat-spinner",7)}const h2=function(){return["id","title","year"]};function f2(n,o){if(1&n&&(i.TgZ(0,"div",8),i._uU(1),i.ALo(2,"translate"),i._UZ(3,"perun-web-apps-publications-list",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",i.lcZ(2,4,"DIALOGS.REMOVE_PUBLICATION.WARNING")," "),i.xp6(2),i.Q6J("publications",e.publications)("routerPath",null)("displayedColumns",i.DdM(6,h2))}}let uM=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.translate=a,this.cabinetService=r,this.loading=!1}ngOnInit(){this.publications=this.data}cancel(){this.dialogRef.close()}remove(){this.loading=!0,this.cabinetService.deletePublication(this.publications.pop().id).subscribe(()=>{this.publications.length<=0?this.translate.get("DIALOGS.REMOVE_PUBLICATION.REMOVE_SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)}):this.remove()},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(Fn),i.Y36(Ii),i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-publication-dialog"]],decls:13,vars:12,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"publications","routerPath","displayedColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,d2,1,0,"mat-spinner",2),i.YNc(5,f2,4,7,"div",3),i.TgZ(6,"div",4),i.TgZ(7,"button",5),i.NdJ("click",function(){return t.cancel()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",6),i.NdJ("click",function(){return t.remove()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,6,"DIALOGS.REMOVE_PUBLICATION.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(3),i.hij(" ",i.lcZ(9,8,"DIALOGS.REMOVE_PUBLICATION.CANCEL")," "),i.xp6(2),i.Q6J("disabled",t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,10,"DIALOGS.REMOVE_PUBLICATION.REMOVE")," "))},directives:[ks,b.O5,vn,Gs,_p,Ks,Bt],pipes:[gt],styles:[""]}),n})(),yp=(()=>{class n{constructor(){this.refresh=new i.vpe}onClickbutton(e){this.refresh.emit(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-refresh-button"]],inputs:{disabled:"disabled"},outputs:{refresh:"refresh"},decls:3,vars:5,consts:[["mat-stroked-button","","data-cy","refresh-button",1,"mr-2",3,"disabled","matTooltip","click"],[1,"center-icon","perun-icon",3,"svgIcon"]],template:function(e,t){1&e&&(i.TgZ(0,"button",0),i.NdJ("click",function(a){return t.onClickbutton(a)}),i.ALo(1,"translate"),i._UZ(2,"mat-icon",1),i.qZA()),2&e&&(i.s9C("matTooltip",i.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),i.Q6J("disabled",t.disabled),i.xp6(2),i.s9C("svgIcon",t.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[Bt,jc,tn],pipes:[gt],styles:[".center-icon[_ngcontent-%COMP%]{display:inline-flex}.perun-icon[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%]{fill:currentColor}"]}),n})();var bp=w(5439);const Wd=bp||w.t(bp,2),lD=new i.OlP("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function g2(){return{useUtc:!1}}});function m2(n,o){const e=Array(n);for(let t=0;t{class n extends vi{constructor(e,t){super(),this._options=t,this.setLocale(e||Wd.locale())}setLocale(e){super.setLocale(e);let t=Wd.localeData(e);this._localeData={firstDayOfWeek:t.firstDayOfWeek(),longMonths:t.months(),shortMonths:t.monthsShort(),dates:m2(31,s=>this.createDate(2017,0,s+1).format("D")),longDaysOfWeek:t.weekdays(),shortDaysOfWeek:t.weekdaysShort(),narrowDaysOfWeek:t.weekdaysMin()}}getYear(e){return this.clone(e).year()}getMonth(e){return this.clone(e).month()}getDate(e){return this.clone(e).date()}getDayOfWeek(e){return this.clone(e).day()}getMonthNames(e){return"long"==e?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(e){return"long"==e?this._localeData.longDaysOfWeek:"short"==e?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(e){return this.clone(e).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(e){return this.clone(e).daysInMonth()}clone(e){return e.clone().locale(this.locale)}createDate(e,t,s){const a=this._createMoment({year:e,month:t,date:s}).locale(this.locale);return a.isValid(),a}today(){return this._createMoment().locale(this.locale)}parse(e,t){return e&&"string"==typeof e?this._createMoment(e,t,this.locale):e?this._createMoment(e).locale(this.locale):null}format(e,t){return e=this.clone(e),this.isValid(e),e.format(t)}addCalendarYears(e,t){return this.clone(e).add({years:t})}addCalendarMonths(e,t){return this.clone(e).add({months:t})}addCalendarDays(e,t){return this.clone(e).add({days:t})}toIso8601(e){return this.clone(e).format()}deserialize(e){let t;if(e instanceof Date)t=this._createMoment(e).locale(this.locale);else if(this.isDateInstance(e))return this.clone(e);if("string"==typeof e){if(!e)return null;t=this._createMoment(e,Wd.ISO_8601).locale(this.locale)}return t&&this.isValid(t)?this._createMoment(t).locale(this.locale):super.deserialize(e)}isDateInstance(e){return Wd.isMoment(e)}isValid(e){return this.clone(e).isValid()}invalid(){return Wd.invalid()}_createMoment(e,t,s){const{strict:a,useUtc:r}=this._options||{};return r?Wd.utc(e,t,s,a):Wd(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Pc,8),i.LFG(lD,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),_2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:vi,useClass:m_,deps:[Pc,lD]}]}),n})(),uD=(()=>{class n{constructor(){}ngOnInit(){this.endMaxYear=new Date,this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value}chosenYearHandler(e,t,s){e.setValue(t),this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value,s.close()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-year-range"]],inputs:{startYear:"startYear",endYear:"endYear"},decls:16,vars:15,consts:[[1,"year-field","mr-2",3,"click"],["matInput","","readonly","",1,"disable",3,"matDatepicker","max","formControl"],["matSuffix","",3,"for"],["startView","multi-year","panelClass","example-month-picker",3,"yearSelected"],["sdp",""],["matInput","",3,"matDatepicker","min","max","formControl"],["edp",""]],template:function(e,t){if(1&e){const s=i.EpF();i.TgZ(0,"mat-form-field",0),i.NdJ("click",function(){return i.CHM(s),i.MAs(7).open()}),i.TgZ(1,"mat-label"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i._UZ(4,"input",1),i._UZ(5,"mat-datepicker-toggle",2),i.TgZ(6,"mat-datepicker",3,4),i.NdJ("yearSelected",function(r){i.CHM(s);const c=i.MAs(7);return t.chosenYearHandler(t.startYear,r,c)}),i.qZA(),i.qZA(),i.TgZ(8,"mat-form-field",0),i.NdJ("click",function(){return i.CHM(s),i.MAs(15).open()}),i.TgZ(9,"mat-label"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i._UZ(12,"input",5),i._UZ(13,"mat-datepicker-toggle",2),i.TgZ(14,"mat-datepicker",3,6),i.NdJ("yearSelected",function(r){i.CHM(s);const c=i.MAs(15);return t.chosenYearHandler(t.endYear,r,c)}),i.qZA(),i.qZA()}if(2&e){const s=i.MAs(7),a=i.MAs(15);i.xp6(2),i.Oqu(i.lcZ(3,11,"PUBLICATION_FILTER.START_YEAR")),i.xp6(2),i.Q6J("matDatepicker",s)("max",t.startMaxYear)("formControl",t.startYear),i.xp6(1),i.Q6J("for",s),i.xp6(5),i.Oqu(i.lcZ(11,13,"PUBLICATION_FILTER.END_YEAR")),i.xp6(2),i.Q6J("matDatepicker",a)("min",t.endMinYear)("max",t.endMaxYear)("formControl",t.endYear),i.xp6(1),i.Q6J("for",a)}},directives:[ls,Es,nr,d_,us,ds,Ws,$0,mm,Z0],pipes:[gt],styles:[".year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:initial!important}"]}),n})();function y2(n,o){if(1&n&&(i.TgZ(0,"mat-option",12),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e.name," ")}}const tv=bp,b2={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let dM=(()=>{class n{constructor(e){this.cabinetService=e,this.title=new ki,this.code=new ki,this.startYear=new ki(tv()),this.endYear=new ki(tv()),this.filteredPublication=new i.vpe}ngOnInit(){this.title.setValue(""),this.code.setValue(""),this.selectedCategory="no_value",this.cabinetService.getCategories().subscribe(e=>{this.categories=e,this.selectedMode="isbn/issn"})}filter(){const e={title:this.title.value,isbnissn:"isbn/issn"===this.selectedMode?this.code.value:null,doi:"doi"===this.selectedMode?this.code.value:null,category:"no_value"!==this.selectedCategory?this.selectedCategory.id:null,startYear:(0,b.p6)(this.startYear.value,"yyyy","en-GB"),endYear:(0,b.p6)(this.endYear.value,"yyyy","en-GB")};this.filteredPublication.emit(e)}clearFilter(){this.title.setValue(""),this.code.setValue(""),this.selectedMode="isbn/issn",this.selectedCategory="no_value",this.startYear=new ki(tv()),this.endYear=new ki(tv()),this.filteredPublication.emit({title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-filter"]],outputs:{filteredPublication:"filteredPublication"},features:[i._Bn([{provide:vi,useClass:m_,deps:[Pc]},{provide:Ms,useValue:b2}])],decls:38,vars:34,consts:[[1,"mt-2"],[1,"filter-field","mr-2"],["matInput","",3,"formControl","placeholder"],[3,"value","valueChange"],["value","isbn/issn"],["value","doi"],[1,"year-field","mr-2"],["value","no_value"],[3,"value",4,"ngFor","ngForOf"],[3,"startYear","endYear"],["mat-stroked-button","",1,"mr-2",3,"click"],["mat-stroked-button","",3,"click"],[3,"value"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"mat-form-field",1),i._UZ(2,"input",2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"mat-form-field",1),i.TgZ(5,"mat-label"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"mat-select",3),i.NdJ("valueChange",function(a){return t.selectedMode=a}),i.TgZ(9,"mat-option",4),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.TgZ(12,"mat-option",5),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(15,"mat-form-field",6),i._UZ(16,"input",2),i.ALo(17,"translate"),i.qZA(),i.TgZ(18,"mat-form-field",1),i.TgZ(19,"mat-label"),i._uU(20),i.ALo(21,"translate"),i.qZA(),i.TgZ(22,"mat-select",3),i.NdJ("valueChange",function(a){return t.selectedCategory=a}),i.TgZ(23,"mat-option",7),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.YNc(26,y2,2,2,"mat-option",8),i.qZA(),i.qZA(),i._UZ(27,"perun-web-apps-year-range",9),i.TgZ(28,"button",10),i.NdJ("click",function(){return t.filter()}),i.TgZ(29,"mat-icon"),i._uU(30,"search"),i.qZA(),i._uU(31),i.ALo(32,"translate"),i.qZA(),i.TgZ(33,"button",11),i.NdJ("click",function(){return t.clearFilter()}),i.TgZ(34,"mat-icon"),i._uU(35,"search_off"),i.qZA(),i._uU(36),i.ALo(37,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.s9C("placeholder",i.lcZ(3,16,"PUBLICATION_FILTER.TITLE_PLACEHOLDER")),i.Q6J("formControl",t.title),i.xp6(4),i.Oqu(i.lcZ(7,18,"PUBLICATION_FILTER.SELECT_MODE")),i.xp6(2),i.Q6J("value",t.selectedMode),i.xp6(2),i.Oqu(i.lcZ(11,20,"PUBLICATION_FILTER.ISBN/ISSN")),i.xp6(3),i.Oqu(i.lcZ(14,22,"PUBLICATION_FILTER.DOI")),i.xp6(3),i.s9C("placeholder",i.lcZ(17,24,"PUBLICATION_FILTER.CODE_PLACEHOLDER")),i.Q6J("formControl",t.code),i.xp6(4),i.Oqu(i.lcZ(21,26,"PUBLICATION_FILTER.SELECT_CATEGORY")),i.xp6(2),i.Q6J("value",t.selectedCategory),i.xp6(2),i.Oqu(i.lcZ(25,28,"PUBLICATION_FILTER.NO_CATEGORY_SELECTED")),i.xp6(2),i.Q6J("ngForOf",t.categories),i.xp6(1),i.Q6J("startYear",t.startYear)("endYear",t.endYear),i.xp6(4),i.hij(" ",i.lcZ(32,30,"PUBLICATION_FILTER.FILTER")," "),i.xp6(5),i.hij(" ",i.lcZ(37,32,"PUBLICATION_FILTER.CLEAR_FILTER")," "))},directives:[ls,nr,us,ds,Ws,Es,qd,Lc,b.sg,uD,Bt,tn],pipes:[gt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:250px!important;width:100%!important;min-width:initial!important}.disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:initial!important}"]}),n})();function w2(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",10),2&n){const e=i.oxw();i.Q6J("publications",e.publications)("selection",e.selected)("routerPath","/all-publications")("tableId",e.tableId)}}function A2(n,o){1&n&&i._UZ(0,"mat-spinner",11)}let v2=(()=>{class n{constructor(e,t,s,a,r){this.route=e,this.cabinetService=t,this.dialog=s,this.matIconRegistry=a,this.domSanitizer=r,this.selected=new en(!0,[]),this.tableId="68",this.filter={title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null},this.matIconRegistry.addSvgIcon("publications",this.domSanitizer.bypassSecurityTrustResourceUrl("../../assets/img/publications-dark.svg"))}ngOnInit(){this.refreshTable()}removePublication(){const e=ts();e.width="500px",e.data=this.selected.selected,this.dialog.open(uM,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(this.filter.title,null,null,null,null,this.filter.category,+this.filter.startYear,+this.filter.endYear,null).subscribe(e=>{this.publications=e,this.loading=!1})}filterPublication(e){this.filter=e,this.refreshTable()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(In),i.Y36(ai),i.Y36(Xi),i.Y36(Kd),i.Y36(Yn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-all-publications-page"]],decls:14,vars:9,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],["svgIcon","publications",1,"publications-icon"],[1,"ml-3","mt-1"],[1,"mt-4"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"filteredPublication"],[3,"publications","selection","routerPath","tableId",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"publications","selection","routerPath","tableId"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._UZ(2,"mat-icon",2),i.TgZ(3,"span",3),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA(),i.TgZ(6,"div",4),i.TgZ(7,"perun-web-apps-refresh-button",5),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.TgZ(8,"button",6),i.NdJ("click",function(){return t.removePublication()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.TgZ(11,"perun-web-apps-publication-filter",7),i.NdJ("filteredPublication",function(a){return t.filterPublication(a)}),i.qZA(),i.qZA(),i.YNc(12,w2,1,4,"perun-web-apps-publications-list",8),i.YNc(13,A2,1,0,"mat-spinner",9),i.qZA()),2&e&&(i.xp6(4),i.Oqu(i.lcZ(5,5,"ALL_PUBLICATIONS.TITLE")),i.xp6(4),i.Q6J("disabled",0===t.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(10,7,"ALL_PUBLICATIONS.REMOVE")," "),i.xp6(3),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading))},directives:[tn,yp,Bt,dM,b.O5,_p,vn],pipes:[gt],styles:[".publications-icon[_ngcontent-%COMP%]{height:32px;width:32px}"]}),n})();function C2(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",11),2&n){const e=i.oxw(2);i.Q6J("publications",e.publications)("selection",e.selected)("tableId",e.tableId)("routerPath","/my-publications")}}function T2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",6),i.TgZ(2,"perun-web-apps-refresh-button",7),i.NdJ("refresh",function(){return i.CHM(e),i.oxw().refreshTable()}),i.qZA(),i.TgZ(3,"button",8),i.NdJ("click",function(){return i.CHM(e),i.oxw().removePublication()}),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"perun-web-apps-publication-filter",9),i.NdJ("filteredPublication",function(s){return i.CHM(e),i.oxw().filterPublication(s)}),i.qZA(),i.qZA(),i.YNc(7,C2,1,4,"perun-web-apps-publications-list",10),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.Q6J("disabled",0===e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(5,3,"MY_PUBLICATIONS.REMOVE")," "),i.xp6(3),i.Q6J("ngIf",!e.loading)}}function M2(n,o){1&n&&i._UZ(0,"mat-spinner",12)}let S2=(()=>{class n{constructor(e,t,s,a){this.route=e,this.cabinetService=t,this.dialog=s,this.authResolver=a,this.selected=new en(!0,[]),this.tableId="68",this.filter={title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null}}ngOnInit(){this.initLoading=!0,this.authResolver.getPerunPrincipal().subscribe(e=>{this.authorId=e.userId,this.initLoading=!1,this.refreshTable()})}removePublication(){const e=ts();e.width="500px",e.data=this.selected.selected,this.dialog.open(uM,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(this.filter.title,null,null,null,null,this.filter.category,+this.filter.startYear,+this.filter.endYear,this.authorId).subscribe(e=>{this.publications=e,this.loading=!1})}filterPublication(e){this.filter=e,this.refreshTable()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(In),i.Y36(ai),i.Y36(Xi),i.Y36(xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-my-publications-page"]],decls:9,vars:5,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"title-icon"],[1,"ml-3","mt-1"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"mt-4"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"filteredPublication"],[3,"publications","selection","tableId","routerPath",4,"ngIf"],[3,"publications","selection","tableId","routerPath"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"mat-icon",2),i._uU(3,"local_library"),i.qZA(),i.TgZ(4,"span",3),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,T2,8,5,"div",4),i.YNc(8,M2,1,0,"mat-spinner",5),i.qZA()),2&e&&(i.xp6(5),i.Oqu(i.lcZ(6,3,"MY_PUBLICATIONS.TITLE")),i.xp6(2),i.Q6J("ngIf",!t.initLoading),i.xp6(1),i.Q6J("ngIf",t.loading||t.initLoading))},directives:[tn,b.O5,yp,Bt,dM,_p,vn],pipes:[gt],styles:[""]}),n})(),k2=(()=>{class n{constructor(e){this.router=e}importPublications(){this.router.navigate(["create-publication","import"])}createPublication(){this.router.navigate(["create-publication","create"])}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ri))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-create-publication-page"]],decls:32,vars:21,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"add-icon","mr-1"],[1,"card-container"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"d-flex","flex-column"],["mat-flat-button","","color","accent",1,"align-self-end","action-button",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"span"),i.TgZ(3,"mat-icon",2),i._uU(4,"add_box"),i.qZA(),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.TgZ(7,"div",3),i.TgZ(8,"div",4),i.TgZ(9,"mat-card",5),i.TgZ(10,"mat-card-title"),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.TgZ(13,"mat-card-content",6),i.TgZ(14,"div"),i._uU(15),i.ALo(16,"translate"),i.qZA(),i.TgZ(17,"button",7),i.NdJ("click",function(){return t.importPublications()}),i._uU(18),i.ALo(19,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(20,"div",4),i.TgZ(21,"mat-card",5),i.TgZ(22,"mat-card-title"),i._uU(23),i.ALo(24,"translate"),i.qZA(),i.TgZ(25,"mat-card-content",6),i.TgZ(26,"div"),i._uU(27),i.ALo(28,"translate"),i.qZA(),i.TgZ(29,"button",7),i.NdJ("click",function(){return t.createPublication()}),i._uU(30),i.ALo(31,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(5),i.hij(" ",i.lcZ(6,7,"CREATE_PUBLICATION.TITLE")," "),i.xp6(6),i.hij(" ",i.lcZ(12,9,"CREATE_PUBLICATION.IMPORT_TITLE")," "),i.xp6(4),i.hij(" ",i.lcZ(16,11,"CREATE_PUBLICATION.IMPORT_HINT")," "),i.xp6(3),i.hij(" ",i.lcZ(19,13,"CREATE_PUBLICATION.IMPORT")," "),i.xp6(5),i.hij(" ",i.lcZ(24,15,"CREATE_PUBLICATION.CREATE_TITLE")," "),i.xp6(4),i.hij(" ",i.lcZ(28,17,"CREATE_PUBLICATION.CREATE_HINT")," "),i.xp6(3),i.hij(" ",i.lcZ(31,19,"CREATE_PUBLICATION.CREATE")," "))},directives:[tn,iE,tE,eE,Bt],pipes:[gt],styles:[".add-icon[_ngcontent-%COMP%]{font-size:32px;vertical-align:text-top}.card-container[_ngcontent-%COMP%]{margin:0 -1rem}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top;max-width:250px;max-height:200px}"]}),n})();const E2=["groupFilterInput"];let D2=(()=>{class n{constructor(){this.filter=new i.vpe}ngOnInit(){da(this.groupFilterInput.nativeElement,"keyup").pipe((0,at.U)(e=>e.target.value),(0,nd.b)(500),yc()).subscribe(e=>{this.filter.emit(e)})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(e,t){if(1&e&&i.Gf(E2,7),2&e){let s;i.iGM(s=i.CRH())&&(t.groupFilterInput=s.first)}},inputs:{placeholder:"placeholder"},outputs:{filter:"filter"},decls:4,vars:3,consts:[[1,"filter-field","mr-2"],["matInput","",3,"placeholder"],["groupFilterInput",""]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i._UZ(1,"input",1,2),i.ALo(3,"translate"),i.qZA()),2&e&&(i.xp6(1),i.s9C("placeholder",i.lcZ(3,1,t.placeholder)))},directives:[ls,nr],pipes:[gt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),n})();function x2(n,o){1&n&&i._UZ(0,"th",20)}function R2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",21),i.TgZ(1,"mat-checkbox",22),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function P2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"AUTHORS_LIST.ID")))}function L2(n,o){if(1&n&&(i.TgZ(0,"td",24),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function I2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.NAME")," "))}function O2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.ALo(2,"userFullName"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(i.lcZ(2,1,e))}}function H2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.ORGANIZATION")," "))}function F2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Oqu(t.parseAttribute(e,"organization"))}}function z2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.EMAIL")," "))}function N2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Oqu(t.parseAttribute(e,"preferredMail"))}}function B2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.NUMBER_OF_PUBLICATIONS")," "))}function Y2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.authorships.length.toString())}}function j2(n,o){1&n&&i._UZ(0,"th",26)}function U2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"button",27),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().onAddClick(a)}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.qZA()}2&n&&(i.xp6(2),i.hij(" ",i.lcZ(3,1,"AUTHORS_LIST.ADD")," "))}function V2(n,o){1&n&&i._UZ(0,"th",26)}function q2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"button",28),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().onRemoveClick(a)}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.qZA()}2&n&&(i.xp6(2),i.hij(" ",i.lcZ(3,1,"AUTHORS_LIST.REMOVE")," "))}function G2(n,o){1&n&&i._UZ(0,"tr",29)}const dD=function(n){return["/authors",n]};function K2(n,o){if(1&n&&i._UZ(0,"tr",30),2&n){const e=o.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disableRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",t.disableRouting?null:i.VKq(4,dD,e.id))("routerLink",t.disableRouting?null:i.VKq(6,dD,e.id))}}function Z2(n,o){1&n&&(i.TgZ(0,"app-alert",31),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function $2(n,o){1&n&&(i.TgZ(0,"app-alert",31),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.NO_AUTHORS"),"\n"))}let hM=(()=>{class n{constructor(){this.authors=[],this.displayedColumns=["select","id","name","organization","email","numberOfPublications","add","remove"],this.disableRouting=!1,this.pageSizeOptions=Zd,this.addAuthor=new i.vpe,this.removeAuthor=new i.vpe}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.authors),this.setDataSource(),this.dataSource.filter=this.filterValue}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getSortDataForColumn(e,t){var s;switch(t){case"id":return e.id.toString();case"name":return e.lastName?e.lastName:null!==(s=e.firstName)&&void 0!==s?s:"";case"organization":return rp(e,"organization");case"email":return rp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}getFilterDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return function A1(n){let o="";return null!==n.firstName&&(o+=n.firstName+" "),null!==n.middleName&&(o+=n.middleName+" "),null!==n.lastName&&(o+=n.lastName+" "),o.endsWith(" ")&&(o=o.substring(0,o.length-1)),o}(e);case"organization":return rp(e,"organization");case"email":return rp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}getExportDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return wk(e);case"organization":return rp(e,"organization");case"email":return rp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),e)}parseAttribute(e,t){let s="";return e.attributes&&e.attributes.forEach(a=>{a.friendlyName===t&&(s=a.value)}),s}checkboxLabel(e){return`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`}onAddClick(e){this.addAuthor.emit(e)}onRemoveClick(e){this.removeAuthor.emit(e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getFilterDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getSortDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-authors-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{authors:"authors",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",disableRouting:"disableRouting",reloadTable:"reloadTable",selection:"selection",pageSizeOptions:"pageSizeOptions"},outputs:{addAuthor:"addAuthor",removeAuthor:"removeAuthor"},features:[i.TTD],decls:31,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","numberOfPublications"],["matColumnDef","add"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","remove"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink","cursor-pointer",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-cell",""],["color","accent","mat-flat-button","",1,"ml-2",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,x2,1,0,"th",4),i.YNc(5,R2,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,P2,3,3,"th",7),i.YNc(8,L2,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,I2,3,3,"th",7),i.YNc(11,O2,3,3,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,H2,3,3,"th",7),i.YNc(14,F2,2,1,"td",10),i.BQk(),i.ynx(15,12),i.YNc(16,z2,3,3,"th",7),i.YNc(17,N2,2,1,"td",10),i.BQk(),i.ynx(18,13),i.YNc(19,B2,3,3,"th",7),i.YNc(20,Y2,2,1,"td",10),i.BQk(),i.ynx(21,14),i.YNc(22,j2,1,0,"th",15),i.YNc(23,U2,4,3,"td",8),i.BQk(),i.ynx(24,16),i.YNc(25,V2,1,0,"th",15),i.YNc(26,q2,4,3,"td",8),i.BQk(),i.YNc(27,G2,1,0,"tr",17),i.YNc(28,K2,1,8,"tr",18),i.qZA(),i.qZA(),i.qZA(),i.YNc(29,Z2,3,3,"app-alert",19),i.YNc(30,$2,3,3,"app-alert",19)),2&e&&(i.Q6J("hidden",0===t.authors.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(25),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0!==t.authors.length&&0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("ngIf",0===t.authors.length))},directives:[ir,La,Do,Ir,Lr,Or,Pr,Hr,su,gp,Bt,$c,Wc,Ia,Oa,oD,Et,b.O5,Fa],pipes:[gt,ev],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();function W2(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const J2=function(){return["id","name","organization","email","numberOfPublications"]};function Q2(n,o){if(1&n&&i._UZ(0,"perun-web-apps-authors-list",9),2&n){const e=i.oxw();i.Q6J("authors",e.authors)("displayedColumns",i.DdM(4,J2))("filterValue",e.filterValue)("tableId",e.tableId)}}let X2=(()=>{class n{constructor(e){this.cabinetService=e,this.filterValue="",this.tableId="67"}ngOnInit(){this.refreshTable()}refreshTable(){this.loading=!0,this.cabinetService.findAllAuthors().subscribe(e=>{this.authors=e,this.loading=!1})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-authors-page"]],decls:11,vars:6,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"title-icon"],[1,"ml-3","mt-1"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"authors","displayedColumns","filterValue","tableId",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"authors","displayedColumns","filterValue","tableId"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"mat-icon",2),i._uU(3,"assignment_ind"),i.qZA(),i.TgZ(4,"span",3),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.TgZ(7,"perun-web-apps-refresh-button",4),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.TgZ(8,"perun-web-apps-debounce-filter",5),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(9,W2,1,0,"mat-spinner",6),i.YNc(10,Q2,1,5,"perun-web-apps-authors-list",7),i.qZA()),2&e&&(i.xp6(5),i.Oqu(i.lcZ(6,4,"AUTHORS_PAGE.TITLE")),i.xp6(3),i.Q6J("placeholder","AUTHORS_PAGE.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[tn,yp,D2,b.O5,vn,hM],pipes:[gt],styles:[""]}),n})();function eF(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function tF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"mat-form-field"),i._UZ(3,"input",6),i.ALo(4,"translate"),i.TgZ(5,"mat-error"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.qZA(),i.TgZ(8,"mat-form-field"),i._UZ(9,"input",6),i.ALo(10,"translate"),i.TgZ(11,"mat-error"),i._uU(12),i.ALo(13,"translate"),i.qZA(),i.qZA(),i.TgZ(14,"p",7),i._uU(15),i.ALo(16,"translate"),i.qZA(),i.qZA(),i.TgZ(17,"div",8),i.TgZ(18,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.TgZ(21,"div",10),i.ALo(22,"translate"),i.TgZ(23,"button",11),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.s9C("placeholder",i.lcZ(4,12,"DIALOGS.ADD_CATEGORY.NAME")),i.Q6J("formControl",e.nameCtrl),i.xp6(3),i.hij(" ",i.lcZ(7,14,"DIALOGS.ADD_CATEGORY.FILL_NAME")," "),i.xp6(3),i.s9C("placeholder",i.lcZ(10,16,"DIALOGS.ADD_CATEGORY.RANK")),i.Q6J("formControl",e.rankCtrl),i.xp6(3),i.hij(" ",i.lcZ(13,18,"DIALOGS.ADD_CATEGORY.FILL_RANK")," "),i.xp6(3),i.Oqu(i.lcZ(16,20,"DIALOGS.ADD_CATEGORY.RANK_HINT")),i.xp6(4),i.hij(" ",i.lcZ(20,22,"DIALOGS.ADD_CATEGORY.CANCEL")," "),i.xp6(2),i.s9C("matTooltip",i.lcZ(22,24,"DIALOGS.ADD_CATEGORY.TOOLTIP")),i.Q6J("matTooltipDisabled",e.nameCtrl.valid&&e.rankCtrl.valid),i.xp6(2),i.Q6J("disabled",e.nameCtrl.invalid||e.rankCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(25,26,"DIALOGS.ADD_CATEGORY.CREATE")," ")}}let iF=(()=>{class n{constructor(e,t,s,a){this.dialogRef=e,this.notificator=t,this.cabinetManagerService=s,this.translate=a,a.get("DIALOGS.ADD_CATEGORY.SUCCESS").subscribe(r=>this.successMessage=r)}ngOnInit(){this.nameCtrl=new ki(null,[Oi.required,Oi.pattern("^[\\w.-]+( [\\w.-]+)*$"),Oi.maxLength(128)]),this.rankCtrl=new ki(null,[Oi.required,Oi.pattern("^[0-9]+(\\.[0-9])?$")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.cabinetManagerService.createCategoryCat({category:{name:this.nameCtrl.value,rank:this.rankCtrl.value}}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Fn),i.Y36(ai),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-category-dialog"]],decls:6,vars:5,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","formControl"],[1,"mt-2"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,eF,1,0,"mat-spinner",2),i.YNc(5,tF,26,28,"div",3),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,3,"DIALOGS.ADD_CATEGORY.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[ks,b.O5,vn,Gs,ls,nr,us,tr,ds,Ws,Ic,Ks,Bt,jc],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function nF(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function sF(n,o){1&n&&i._UZ(0,"th",14)}function oF(n,o){if(1&n&&(i.TgZ(0,"td",15),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function rF(n,o){1&n&&i._UZ(0,"tr",16)}function aF(n,o){1&n&&i._UZ(0,"tr",17)}function cF(n,o){if(1&n&&(i.TgZ(0,"div",6),i.TgZ(1,"p"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",7),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"table",8),i.ynx(8,9),i.YNc(9,sF,1,0,"th",10),i.YNc(10,oF,2,1,"td",11),i.BQk(),i.YNc(11,rF,1,0,"tr",12),i.YNc(12,aF,1,0,"tr",13),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,5,"DIALOGS.REMOVE_CATEGORY.DESCRIPTION")," "),i.xp6(3),i.hij(" ",i.lcZ(6,7,"DIALOGS.REMOVE_CATEGORY.ASK")," "),i.xp6(2),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns)}}function lF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",18),i.TgZ(1,"button",19),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"button",20),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,3,"DIALOGS.REMOVE_CATEGORY.CANCEL")," "),i.xp6(2),i.Q6J("disabled",e.loading),i.xp6(1),i.hij(" ",i.lcZ(6,5,"DIALOGS.REMOVE_CATEGORY.DELETE")," ")}}let uF=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.translate=a,this.cabinetManagerService=r,this.displayedColumns=["name"],this.categories=[]}ngOnInit(){this.dataSource=new Jc(this.data),this.categories=this.data}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.categories.length?this.cabinetManagerService.deleteCategory(this.categories.pop().id).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):this.translate.get("DIALOGS.REMOVE_CATEGORY.SUCCESS").subscribe(e=>{this.loading=!1,this.notificator.showSuccess(e),this.dialogRef.close(!0)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(Fn),i.Y36(Ii),i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-category-dialog"]],decls:7,vars:6,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,nF,1,0,"mat-spinner",2),i.YNc(5,cF,13,9,"div",3),i.YNc(6,lF,7,7,"div",4),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,4,"DIALOGS.REMOVE_CATEGORY.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[ks,b.O5,vn,Gs,La,Ir,Lr,Or,Pr,Hr,$c,Wc,Ia,Oa,Ks,Bt],pipes:[gt],styles:[""]}),n})();function dF(n,o){if(1&n&&(i._UZ(0,"input",3),i.ALo(1,"translate")),2&n){const e=i.oxw();i.s9C("placeholder",i.lcZ(1,2,e.placeholder)),i.Q6J("formControl",e.formControl)}}function hF(n,o){if(1&n&&(i._UZ(0,"input",4),i.ALo(1,"translate")),2&n){const e=i.oxw();i.s9C("placeholder",i.lcZ(1,2,e.placeholder)),i.Q6J("formControl",e.formControl)}}let __=(()=>{class n{constructor(){this.filter=new i.vpe,this.autoFocus=!1,this.formControl=new ki}ngOnInit(){this.formControl.valueChanges.subscribe(e=>{let t=e.trim();t=t.toLowerCase(),this.filter.emit(t)})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","mr-2"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.YNc(1,dF,2,4,"input",1),i.YNc(2,hF,2,4,"input",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.autoFocus),i.xp6(1),i.Q6J("ngIf",!t.autoFocus))},directives:[ls,b.O5,nr,us,hH,ds,Ws],pipes:[gt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:initial!important}"]}),n})();function fF(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function pF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"mat-form-field"),i._UZ(3,"input",6),i.ALo(4,"translate"),i.TgZ(5,"mat-error"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.qZA(),i.TgZ(8,"p",7),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.TgZ(11,"div",8),i.TgZ(12,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.TgZ(15,"div",10),i.ALo(16,"translate"),i.TgZ(17,"button",11),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(18),i.ALo(19,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.s9C("placeholder",i.lcZ(4,9,"DIALOGS.UPDATE_RANK.RANK")),i.Q6J("formControl",e.rankCtrl),i.xp6(3),i.hij(" ",i.lcZ(7,11,"DIALOGS.UPDATE_RANK.FILL_RANK")," "),i.xp6(3),i.Oqu(i.lcZ(10,13,"DIALOGS.UPDATE_RANK.RANK_HINT")),i.xp6(4),i.hij(" ",i.lcZ(14,15,"DIALOGS.UPDATE_RANK.CANCEL")," "),i.xp6(2),i.s9C("matTooltip",i.lcZ(16,17,"DIALOGS.UPDATE_RANK.TOOLTIP")),i.Q6J("matTooltipDisabled",e.rankCtrl.valid),i.xp6(2),i.Q6J("disabled",e.rankCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(19,19,"DIALOGS.UPDATE_RANK.UPDATE")," ")}}let gF=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.cabinetManagerService=a,this.translate=r,this.categoryName="",r.get("DIALOGS.UPDATE_RANK.SUCCESS").subscribe(c=>this.successMessage=c)}ngOnInit(){this.categoryName=this.data.name,this.rankCtrl=new ki(this.data.rank,[Oi.required,Oi.pattern("^[0-9]+(\\.[0-9])?$")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.rank=this.rankCtrl.value,this.cabinetManagerService.updateCategory({category:this.data}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(Fn),i.Y36(ai),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-update-rank-dialog"]],decls:6,vars:6,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","formControl"],[1,"mt-2"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,fF,1,0,"mat-spinner",2),i.YNc(5,pF,20,21,"div",3),i.qZA()),2&e&&(i.xp6(2),i.AsE("",i.lcZ(3,4,"DIALOGS.UPDATE_RANK.TITLE"),"",t.categoryName,""),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[ks,b.O5,vn,Gs,ls,nr,us,tr,ds,Ws,Ic,Ks,Bt,jc],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function mF(n,o){1&n&&i._UZ(0,"th",15)}function _F(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",16),i.TgZ(1,"mat-checkbox",17),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.itemSelectionToggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function yF(n,o){1&n&&(i.TgZ(0,"th",18),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_LIST.ID")," "))}function bF(n,o){if(1&n&&(i.TgZ(0,"td",19),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function wF(n,o){1&n&&(i.TgZ(0,"th",18),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_LIST.NAME")," "))}function AF(n,o){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function vF(n,o){1&n&&(i.TgZ(0,"th",18),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_LIST.RANK")," "))}function CF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",22),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().updateCategory(s)}),i.TgZ(1,"mat-icon"),i._uU(2,"edit"),i.qZA(),i.qZA()}}function TF(n,o){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.YNc(2,CF,3,0,"button",21),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.hij(" ",e.rank," "),i.xp6(1),i.Q6J("ngIf",t.editAuth)}}function MF(n,o){1&n&&i._UZ(0,"tr",23)}function SF(n,o){1&n&&i._UZ(0,"tr",24)}function kF(n,o){1&n&&(i.TgZ(0,"app-alert",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_PAGE.NO_FILTER_RESULTS"),"\n"))}let EF=(()=>{class n{constructor(e,t,s,a){this.guiAuthResolver=e,this.tableCheckbox=t,this.dialog=s,this.authResolver=a,this.categories=[],this.selection=new en(!0,[]),this.displayedColumns=["select","id","name","rank"],this.pageSizeOptions=Zd,this.refreshTable=new i.vpe,this.editAuth=!1}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.categories),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return e.name;case"rank":return e.rank.toString();default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.editAuth=this.authResolver.isCabinetAdmin(),this.dataSource.paginator=this.child.paginator}itemSelectionToggle(e){this.selection.toggle(e)}updateCategory(e){const t=ts();t.width="400px",t.data=e,this.dialog.open(gF,t).afterClosed().subscribe(a=>{a&&this.refreshTable.emit()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(oo),i.Y36(EA),i.Y36(Xi),i.Y36(oo))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-categories-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{categories:"categories",selection:"selection",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions"},outputs:{refreshTable:"refreshTable"},features:[i.TTD],decls:18,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","rank"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,mF,1,0,"th",4),i.YNc(5,_F,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,yF,3,3,"th",7),i.YNc(8,bF,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,wF,3,3,"th",7),i.YNc(11,AF,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,vF,3,3,"th",7),i.YNc(14,TF,3,2,"td",10),i.BQk(),i.YNc(15,MF,1,0,"tr",12),i.YNc(16,SF,1,0,"tr",13),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,kF,3,3,"app-alert",14)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.categories.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(13),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.categories.length))},directives:[ir,La,Do,Ir,Lr,Or,Pr,Hr,su,gp,b.O5,Bt,tn,$c,Wc,Ia,Oa,Fa],pipes:[gt],styles:[""]}),n})();function DF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",8),i.NdJ("click",function(){return i.CHM(e),i.oxw().addCategory()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_PAGE.CREATE")," "))}function xF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().removeCategory()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",!e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(2,2,"CATEGORIES_PAGE.REMOVE")," ")}}function RF(n,o){1&n&&i._UZ(0,"mat-spinner",10)}const PF=function(){return["select","id","name","rank"]},LF=function(){return["name","rank"]};function IF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-categories-list",11),i.NdJ("refreshTable",function(){return i.CHM(e),i.oxw().refreshTable()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("categories",e.categories)("filterValue",e.filterValue)("displayedColumns",e.removeAuth?i.DdM(5,PF):i.DdM(6,LF))("tableId",e.tableId)("selection",e.selected)}}let OF=(()=>{class n{constructor(e,t,s){this.cabinetManagerService=e,this.dialog=t,this.guiAuthResolver=s,this.categories=[],this.selected=new en(!0,[]),this.filterValue="",this.tableId="5"}ngOnInit(){this.setAuth(),this.refreshTable()}setAuth(){this.removeAuth=this.guiAuthResolver.isAuthorized("deleteCategory_Category_policy",[]),this.addAuth=this.guiAuthResolver.isAuthorized("createCategory_Category_policy",[])}refreshTable(){this.loading=!0,this.cabinetManagerService.getCategories().subscribe(e=>{this.categories=e,this.loading=!1})}applyFilter(e){this.filterValue=e}addCategory(){const e=ts();e.width="400px",e.data={},this.dialog.open(iF,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}removeCategory(){const e=ts();e.width="400px",e.data=this.selected.selected,this.dialog.open(uF,e).afterClosed().subscribe(s=>{s&&(this.selected.clear(),this.refreshTable())})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai),i.Y36(Xi),i.Y36(oo))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-categories-page"]],decls:10,vars:8,consts:[[1,"user-theme"],[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"categories","filterValue","displayedColumns","tableId","selection","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"categories","filterValue","displayedColumns","tableId","selection","refreshTable"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"perun-web-apps-refresh-button",2),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.YNc(5,DF,3,3,"button",3),i.YNc(6,xF,3,4,"button",4),i.TgZ(7,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(8,RF,1,0,"mat-spinner",6),i.YNc(9,IF,1,7,"perun-web-apps-categories-list",7),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,6,"CATEGORIES_PAGE.TITLE")),i.xp6(3),i.Q6J("ngIf",t.addAuth),i.xp6(1),i.Q6J("ngIf",t.removeAuth),i.xp6(1),i.Q6J("placeholder","CATEGORIES_PAGE.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",t.categories&&!t.loading))},directives:[yp,b.O5,Bt,__,vn,EF],pipes:[gt],styles:[""]}),n})();function HF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.ID")," "))}function FF(n,o){if(1&n&&(i.TgZ(0,"td",15),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function zF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.FRIENDLY_NAME")," "))}function NF(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.friendlyName)}}function BF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.LOGIN_NAMESPACE")," "))}function YF(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ","empty"===e.loginNamespace?"":e.loginNamespace," ")}}function jF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.URL")," "))}function UF(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu("empty"===e.url?"":e.url)}}function VF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.TYPE")," "))}function qF(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu("empty"===e.type?"":e.type)}}function GF(n,o){1&n&&i._UZ(0,"tr",17)}function KF(n,o){1&n&&i._UZ(0,"tr",18)}function ZF(n,o){1&n&&(i.TgZ(0,"app-alert",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let $F=(()=>{class n{constructor(){this.publicationSystems=[],this.displayedColumns=["id","friendlyName","loginNamespace","url","type"],this.pageSizeOptions=Zd}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.publicationSystems),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"friendlyName":return e.friendlyName;case"url":return e.url;case"loginNamespace":return e.loginNamespace;case"type":return e.type;default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-systems-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{publicationSystems:"publicationSystems",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions"},features:[i.TTD],decls:21,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","friendlyName"],["mat-cell","",4,"matCellDef"],["matColumnDef","loginNamespace"],["matColumnDef","url"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,HF,3,3,"th",4),i.YNc(5,FF,2,1,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,zF,3,3,"th",4),i.YNc(8,NF,2,1,"td",7),i.BQk(),i.ynx(9,8),i.YNc(10,BF,3,3,"th",4),i.YNc(11,YF,2,1,"td",7),i.BQk(),i.ynx(12,9),i.YNc(13,jF,3,3,"th",4),i.YNc(14,UF,2,1,"td",7),i.BQk(),i.ynx(15,10),i.YNc(16,VF,3,3,"th",4),i.YNc(17,qF,2,1,"td",7),i.BQk(),i.YNc(18,GF,1,0,"tr",11),i.YNc(19,KF,1,0,"tr",12),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,ZF,3,3,"app-alert",13)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.publicationSystems.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(16),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.publicationSystems.length))},directives:[ir,La,Do,Ir,Lr,Or,gp,Pr,Hr,$c,Wc,Ia,Oa,b.O5,Fa],pipes:[gt],styles:[""]}),n})();function WF(n,o){1&n&&i._UZ(0,"mat-spinner",6)}function JF(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publication-systems-list",7),2&n){const e=i.oxw();i.Q6J("publicationSystems",e.publicationSystems)("filterValue",e.filterValue)("tableId",e.tableId)}}let QF=(()=>{class n{constructor(e){this.cabinetManagerService=e,this.publicationSystems=[],this.filterValue="",this.tableId="5"}ngOnInit(){this.refreshTable()}refreshTable(){this.loading=!0,this.cabinetManagerService.getPublicationSystems().subscribe(e=>{this.publicationSystems=e,this.loading=!1})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-systems-page"]],decls:8,vars:6,consts:[[1,"user-theme"],[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"publicationSystems","filterValue","tableId",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"publicationSystems","filterValue","tableId"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"perun-web-apps-refresh-button",2),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.TgZ(5,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(6,WF,1,0,"mat-spinner",4),i.YNc(7,JF,1,3,"perun-web-apps-publication-systems-list",5),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,4,"PUBLICATION_SYSTEMS_PAGE.TITLE")),i.xp6(3),i.Q6J("placeholder","PUBLICATION_SYSTEMS_PAGE.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",t.publicationSystems&&!t.loading))},directives:[yp,__,b.O5,vn,$F],pipes:[gt],styles:[""]}),n})();function XF(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",11),2&n){const e=i.oxw(2);i.Q6J("publications",e.publications)("selection",e.selected)("tableId",e.tableId)("routerPath","/authors/"+e.author.id+"/publication")}}function ez(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h5"),i._uU(2),i.ALo(3,"userFullName"),i.ALo(4,"translate"),i.qZA(),i.TgZ(5,"div",6),i.TgZ(6,"perun-web-apps-refresh-button",7),i.NdJ("refresh",function(){return i.CHM(e),i.oxw().refreshTable()}),i.qZA(),i.TgZ(7,"button",8),i.NdJ("click",function(){return i.CHM(e),i.oxw().removePublication()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"perun-web-apps-publication-filter",9),i.NdJ("filteredPublication",function(s){return i.CHM(e),i.oxw().filterPublication(s)}),i.qZA(),i.qZA(),i.YNc(11,XF,1,4,"perun-web-apps-publications-list",10),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.AsE("",i.lcZ(3,5,e.author),"",i.lcZ(4,7,"AUTHOR_DETAIL.TITLE"),""),i.xp6(5),i.Q6J("disabled",0===e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(9,9,"AUTHOR_DETAIL.REMOVE")," "),i.xp6(3),i.Q6J("ngIf",!e.loading)}}function tz(n,o){1&n&&i._UZ(0,"mat-spinner",12)}let iz=(()=>{class n{constructor(e,t,s,a){this.route=e,this.cabinetService=t,this.userService=s,this.dialog=a,this.selected=new en(!0,[]),this.tableId="68"}ngOnInit(){this.initLoading=!0,this.route.params.subscribe(e=>{this.userService.getUserById(e.authorId).subscribe(s=>{this.author=s,this.initLoading=!1,this.refreshTable()})})}removePublication(){const e=ts();e.width="500px",e.data=this.selected.selected,this.dialog.open(uM,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(null,null,null,null,null,null,null,null,this.author.id).subscribe(e=>{this.publications=e,this.loading=!1})}filterPublication(e){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(e.title,null,null,null,null,e.category,+e.startYear,+e.endYear,this.author.id).subscribe(t=>{this.publications=t,this.loading=!1})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(In),i.Y36(ai),i.Y36($t),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-author-detail"]],decls:9,vars:5,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"title-icon"],[1,"ml-3","mt-1"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"mt-3"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"filteredPublication"],[3,"publications","selection","tableId","routerPath",4,"ngIf"],[3,"publications","selection","tableId","routerPath"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"mat-icon",2),i._uU(3,"assignment_ind"),i.qZA(),i.TgZ(4,"span",3),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,ez,12,11,"div",4),i.YNc(8,tz,1,0,"mat-spinner",5),i.qZA()),2&e&&(i.xp6(5),i.Oqu(i.lcZ(6,3,"AUTHORS_PAGE.TITLE")),i.xp6(2),i.Q6J("ngIf",!t.initLoading),i.xp6(1),i.Q6J("ngIf",t.loading||t.initLoading))},directives:[tn,b.O5,yp,Bt,dM,_p,vn],pipes:[gt,ev],styles:[""]}),n})();function nz(n,o){1&n&&i._UZ(0,"mat-spinner",2)}function sz(n,o){if(1&n&&(i.TgZ(0,"h3",15),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.publication.title)}}function oz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",16),i.NdJ("click",function(){i.CHM(e);const s=i.oxw(2);return s.editing=!s.editing}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",17),i._uU(3,"edit"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"PUBLICATION_DETAIL.LIST.EDIT"))}function rz(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.LIST.EMPTY_ERROR")," "))}function az(n,o){if(1&n&&(i.TgZ(0,"mat-form-field",18),i._UZ(1,"textarea",19),i.YNc(2,rz,3,3,"mat-error",1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("formControl",e.titleControl),i.xp6(1),i.Q6J("ngIf",e.titleControl.invalid)}}function cz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",20),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).save()}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",17),i._uU(3,"save"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.s9C("matTooltip",i.lcZ(1,2,"PUBLICATION_DETAIL.LIST.SAVE")),i.Q6J("disabled",e.titleControl.invalid)}}function lz(n,o){1&n&&i._UZ(0,"th",21)}function uz(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij("",e.key,":")}}function dz(n,o){1&n&&i._UZ(0,"th",21)}function hz(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.TgZ(2,"span",24),i._uU(3),i.ALo(4,"translate"),i.qZA(),i._uU(5),i.TgZ(6,"span",24),i._uU(7),i.ALo(8,"translate"),i.qZA(),i._uU(9),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(2);i.xp6(1),i.hij(" ",e.value," / "),i.xp6(2),i.hij("",i.lcZ(4,5,"PUBLICATION_DETAIL.LIST.EXT_ID"),":"),i.xp6(2),i.hij(" ",t.publication.externalId," "),i.xp6(2),i.hij("",i.lcZ(8,7,"PUBLICATION_DETAIL.LIST.SYSTEM"),":"),i.xp6(2),i.hij(" ",t.publication.pubSystemName," ")}}function fz(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.ALo(2,"date"),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.hij(" ",i.xi3(2,1,e.value,"dd/MM/yyyy")," ")}}function pz(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.hij(" ",e.value," ")}}function gz(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.qZA()),2&n){const e=i.oxw(3).$implicit;i.xp6(1),i.hij(" ",e.value," ")}}function mz(n,o){if(1&n&&(i.TgZ(0,"span"),i.YNc(1,gz,2,1,"span",1),i.qZA()),2&n){const e=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngIf","Id / Origin"!==e.key&&"Create date"!==e.key&&"Created by"!==e.key)}}function _z(n,o){1&n&&(i.TgZ(0,"span"),i._uU(1," - "),i.qZA())}function yz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,mz,2,1,"span",1),i.YNc(2,_z,2,0,"span",1),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Q6J("ngIf",null!==e.value&&""!==e.value),i.xp6(1),i.Q6J("ngIf",null===e.value||""===e.value)}}function bz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",26),i.NdJ("click",function(){return i.CHM(e),i.MAs(7).open()}),i.TgZ(1,"mat-label"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i._UZ(4,"input",27),i._UZ(5,"mat-datepicker-toggle",28),i.TgZ(6,"mat-datepicker",29,30),i.NdJ("yearSelected",function(s){i.CHM(e);const a=i.MAs(7);return i.oxw(4).chosenYearHandler(s,a)}),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(7),t=i.oxw(4);i.xp6(2),i.Oqu(i.lcZ(3,5,"PUBLICATION_DETAIL.LIST.YEAR")),i.xp6(2),i.Q6J("max",t.maxYear)("matDatepicker",e)("formControl",t.yearControl),i.xp6(1),i.Q6J("for",e)}}function wz(n,o){if(1&n&&(i.TgZ(0,"mat-option",33),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e.name),i.xp6(1),i.hij(" ",e.name," ")}}function Az(n,o){if(1&n&&(i.TgZ(0,"mat-form-field"),i.TgZ(1,"mat-select",31),i.YNc(2,wz,2,2,"mat-option",32),i.qZA(),i.qZA()),2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("formControl",e.categoryControl),i.xp6(1),i.Q6J("ngForOf",e.categories)}}function vz(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.LIST.RANK_ERROR")," "))}function Cz(n,o){if(1&n&&(i.TgZ(0,"mat-form-field"),i._UZ(1,"input",34),i.YNc(2,vz,3,3,"mat-error",1),i.qZA()),2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("formControl",e.rankControl),i.xp6(1),i.Q6J("ngIf",e.rankControl.invalid)}}function Tz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",18),i.TgZ(1,"input",35),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(4).publication.isbn=s}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.isbn)}}function Mz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",18),i.TgZ(1,"input",35),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(4).publication.doi=s}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.doi)}}function Sz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",18),i.TgZ(1,"textarea",36),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(4).publication.main=s}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.main)}}function kz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,bz,8,7,"mat-form-field",25),i.YNc(2,Az,3,2,"mat-form-field",1),i.YNc(3,Cz,3,2,"mat-form-field",1),i.YNc(4,Tz,2,1,"mat-form-field",6),i.YNc(5,Mz,2,1,"mat-form-field",6),i.YNc(6,Sz,2,1,"mat-form-field",6),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Q6J("ngIf","Year"===e.key),i.xp6(1),i.Q6J("ngIf","Category"===e.key),i.xp6(1),i.Q6J("ngIf","Rank"===e.key),i.xp6(1),i.Q6J("ngIf","ISBN / ISSN"===e.key),i.xp6(1),i.Q6J("ngIf","DOI"===e.key),i.xp6(1),i.Q6J("ngIf","Full cite"===e.key)}}function Ez(n,o){if(1&n&&(i.TgZ(0,"td",23),i.YNc(1,hz,10,9,"span",1),i.YNc(2,fz,3,4,"span",1),i.YNc(3,pz,2,1,"span",1),i.YNc(4,yz,3,2,"div",1),i.YNc(5,kz,7,6,"div",1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(2);i.xp6(1),i.Q6J("ngIf","Id / Origin"===e.key),i.xp6(1),i.Q6J("ngIf","Create date"===e.key),i.xp6(1),i.Q6J("ngIf","Created by"===e.key),i.xp6(1),i.Q6J("ngIf",!t.editing),i.xp6(1),i.Q6J("ngIf",t.editing)}}function Dz(n,o){1&n&&i._UZ(0,"tr",37)}function xz(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"div",3),i.YNc(2,sz,2,1,"h3",4),i.YNc(3,oz,4,3,"button",5),i.YNc(4,az,3,2,"mat-form-field",6),i.YNc(5,cz,4,4,"button",7),i.qZA(),i.TgZ(6,"table",8),i.ynx(7,9),i.YNc(8,lz,1,0,"th",10),i.YNc(9,uz,2,1,"td",11),i.BQk(),i.ynx(10,12),i.YNc(11,dz,1,0,"th",10),i.YNc(12,Ez,6,5,"td",13),i.BQk(),i.YNc(13,Dz,1,0,"tr",14),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Q6J("ngIf",!e.editing),i.xp6(1),i.Q6J("ngIf",!e.editing&&!e.publication.locked),i.xp6(1),i.Q6J("ngIf",e.editing),i.xp6(1),i.Q6J("ngIf",e.editing),i.xp6(1),i.Q6J("dataSource",e.dataSource),i.xp6(7),i.Q6J("matRowDefColumns",e.displayedColumns)}}const hD=bp,Rz={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let Pz=(()=>{class n{constructor(e,t,s){this.cabinetService=e,this.notificator=t,this.translate=s,this.categories=[],this.edited=new i.vpe,this.loading=!1,this.dataSource=null,this.displayedColumns=["key","value"],this.isChanging=new en(!0,[]),this.map=[],this.editing=!1}ngOnInit(){this.loading=!0,this.keys=["Id / Origin","Year","Category","Rank","ISBN / ISSN","DOI","Full cite","Created by","Create date"],this.values=[this.publication.id.toString(),this.publication.year.toString(),this.publication.categoryName,this.publication.rank.toString(),this.publication.isbn,this.publication.doi,this.publication.main,this.publication.createdBy,this.publication.createdDate];for(let e=0;es.name===this.categoryControl.value).id,t={id:this.publication.id,externalId:this.publication.externalId,publicationSystemId:this.publication.publicationSystemId,title:this.titleControl.value,year:this.yearControl.value.year(),main:this.publication.main,isbn:this.publication.isbn,doi:this.publication.doi,categoryId:e,rank:this.rankControl.value,locked:this.publication.locked,createdBy:this.publication.createdBy,createdDate:this.publication.createdDate};this.cabinetService.updatePublication({publication:t}).subscribe(()=>{this.translate.get("PUBLICATION_DETAIL.CHANGE_PUBLICATION_SUCCESS").subscribe(s=>{this.notificator.showSuccess(s),this.edited.emit(!0),this.loading=!1})},()=>this.loading=!1)}chosenYearHandler(e,t){const s=this.yearControl.value;s.year(e.year()),this.yearControl.setValue(s),t.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-detail-list"]],inputs:{publication:"publication",categories:"categories"},outputs:{edited:"edited"},features:[i._Bn([{provide:vi,useClass:m_,deps:[Pc]},{provide:Ms,useValue:Rz}])],decls:3,vars:2,consts:[["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex"],["class","bigger-font w-75 mr-2",4,"ngIf"],["class","ml-auto","mat-icon-button","","matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["class","w-75",4,"ngIf"],["class","ml-auto","mat-icon-button","","matTooltipPosition","above",3,"disabled","matTooltip","click",4,"ngIf"],["mat-table","",1,"w-100","layout",3,"dataSource"],["matColumnDef","key"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"bigger-font","w-75","mr-2"],["mat-icon-button","","matTooltipPosition","above",1,"ml-auto",3,"matTooltip","click"],[1,"big-icon"],[1,"w-75"],["matInput","",1,"bigger-font","fix-height",3,"formControl"],["mat-icon-button","","matTooltipPosition","above",1,"ml-auto",3,"disabled","matTooltip","click"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],[1,"bold"],["class","mr-2",3,"click",4,"ngIf"],[1,"mr-2",3,"click"],["matInput","","readonly","",1,"disable",3,"max","matDatepicker","formControl"],["matSuffix","",3,"for"],["startView","multi-year",3,"yearSelected"],["sdp",""],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","",3,"formControl"],["matInput","",3,"ngModel","ngModelChange"],["matInput","",1,"fix-height",3,"ngModel","ngModelChange"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.YNc(1,nz,1,0,"mat-spinner",0),i.YNc(2,xz,14,6,"div",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,vn,Bt,jc,tn,ls,nr,us,ds,Ws,Ic,La,Ir,Lr,Or,Pr,Hr,Es,d_,$0,mm,Z0,qd,b.sg,Lc,jd,Ia,Oa],pipes:[gt,b.uU],styles:[".disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.bigger-font[_ngcontent-%COMP%]{font-size:1.5rem}.bold[_ngcontent-%COMP%]{font-weight:700}.big-icon[_ngcontent-%COMP%]{font-size:40px}.fix-height[_ngcontent-%COMP%]{min-height:6ch}.layout[_ngcontent-%COMP%]{table-layout:fixed}"]}),n})();const Lz=function(){return["id","name","organization","email","add"]};function Iz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-authors-list",15),i.NdJ("addAuthor",function(s){return i.CHM(e),i.oxw(3).addAuthor(s)}),i.qZA()}if(2&n){const e=i.oxw(3);i.Q6J("authors",e.authors)("disableRouting",!0)("tableId",e.tableIdAuthors)("displayedColumns",i.DdM(4,Lz))}}function Oz(n,o){1&n&&(i.TgZ(0,"app-alert",16),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"DIALOGS.ADD_AUTHORS.SEARCH_INFO")," "))}function Hz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,Iz,1,5,"perun-web-apps-authors-list",13),i.YNc(2,Oz,3,3,"app-alert",14),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",e.firstSearchDone),i.xp6(1),i.Q6J("ngIf",!e.firstSearchDone)}}function Fz(n,o){1&n&&i._UZ(0,"mat-spinner",17)}const zz=function(){return["id","name","organization","email","remove"]};function Nz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-authors-list",19),i.NdJ("removeAuthor",function(s){return i.CHM(e),i.oxw(3).removeAuthor(s)}),i.qZA()}if(2&n){const e=i.oxw(3);i.Q6J("reloadTable",e.reloadTable)("authors",e.authorsToAdd)("disableRouting",!0)("tableId",e.tableIdAuthors)("displayedColumns",i.DdM(5,zz))}}function Bz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,Nz,1,6,"perun-web-apps-authors-list",18),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",e.firstSearchDone)}}function Yz(n,o){1&n&&(i.TgZ(0,"app-alert",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"DIALOGS.ADD_AUTHORS.NO_AUTHORS_TO_ADD")," "))}function jz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,Hz,3,2,"div",6),i.YNc(2,Fz,1,0,"mat-spinner",7),i.TgZ(3,"h2",11),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,Bz,2,1,"div",6),i.YNc(7,Yz,3,3,"app-alert",12),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngIf",!e.searchLoading),i.xp6(1),i.Q6J("ngIf",e.searchLoading),i.xp6(2),i.hij(" ",i.lcZ(5,5,"DIALOGS.ADD_AUTHORS.AUTHORS_TO_ADD")," "),i.xp6(2),i.Q6J("ngIf",e.firstSearchDone&&0!==e.authorsToAdd.length),i.xp6(1),i.Q6J("ngIf",0===e.authorsToAdd.length)}}function Uz(n,o){1&n&&i._UZ(0,"mat-spinner",17)}let Vz=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.cabinetService=a,this.translate=r,this.loading=!1,this.searchLoading=!1,this.firstSearchDone=!1,this.authors=[],this.alreadyAddedAuthors=[],this.authorsToAdd=[],this.tableIdAuthors="67",this.selection=new en(!1,[]),this.reloadTable=!1,r.get("DIALOGS.ADD_AUTHORS.SUCCESS_MESSAGE").subscribe(c=>this.successMessage=c),this.publicationId=t.publicationId,this.alreadyAddedAuthors=t.alreadyAddedAuthors}ngOnInit(){this.searchControl=new ki("",[Oi.required,Oi.pattern(".*[\\S]+.*")])}onSearchByString(){this.searchLoading=!0;const e=[...this.alreadyAddedAuthors,...this.authorsToAdd];this.cabinetService.findNewAuthors(this.searchControl.value).subscribe(t=>{t=t.filter(s=>e.map(a=>a.id).indexOf(s.id)<=-1),this.authors=t,this.firstSearchDone=!0,this.searchLoading=!1},()=>{this.searchLoading=!1})}onAdd(){if(this.loading=!0,this.authorsToAdd.length){const e=this.authorsToAdd.pop();this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:this.publicationId,userId:e.id}}).subscribe(()=>{this.onAdd()},()=>this.loading=!1)}else this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)}onCancel(){this.dialogRef.close(!1)}addAuthor(e){this.authors=this.authors.filter(t=>t!==e),this.authorsToAdd.push(e),this.reloadTable=!this.reloadTable}removeAuthor(e){this.authorsToAdd=this.authorsToAdd.filter(t=>t!==e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(Fn),i.Y36(ai),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-authors-dialog"]],decls:24,vars:20,consts:[[1,"user-theme"],["mat-dialog-title",""],["mat-dialog-content",""],[1,"mr-2","adjust-width"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["mat-dialog-title","",1,"top-margin"],["alert_type","warn",4,"ngIf"],[3,"authors","disableRouting","tableId","displayedColumns","addAuthor",4,"ngIf"],["alert_type","info",4,"ngIf"],[3,"authors","disableRouting","tableId","displayedColumns","addAuthor"],["alert_type","info"],[1,"ml-auto","mr-auto"],[3,"reloadTable","authors","disableRouting","tableId","displayedColumns","removeAuthor",4,"ngIf"],[3,"reloadTable","authors","disableRouting","tableId","displayedColumns","removeAuthor"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",2),i.TgZ(5,"mat-form-field",3),i.TgZ(6,"label"),i.TgZ(7,"input",4),i.NdJ("keyup.enter",function(){return t.onSearchByString()}),i.ALo(8,"translate"),i.qZA(),i.qZA(),i.TgZ(9,"mat-error"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.qZA(),i.TgZ(12,"button",5),i.NdJ("click",function(){return t.onSearchByString()}),i.TgZ(13,"mat-icon"),i._uU(14,"search"),i.qZA(),i.qZA(),i.YNc(15,jz,8,7,"div",6),i.qZA(),i.YNc(16,Uz,1,0,"mat-spinner",7),i.TgZ(17,"div",8),i.TgZ(18,"button",9),i.NdJ("click",function(){return t.onCancel()}),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.TgZ(21,"button",10),i.NdJ("click",function(){return t.onAdd()}),i._uU(22),i.ALo(23,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,10,"DIALOGS.ADD_AUTHORS.TITLE")),i.xp6(5),i.s9C("placeholder",i.lcZ(8,12,"DIALOGS.ADD_AUTHORS.SEARCH_PLACEHOLDER")),i.Q6J("formControl",t.searchControl),i.xp6(3),i.hij(" ",i.lcZ(11,14,"DIALOGS.ADD_AUTHORS.EMPTY_SEARCH_MESSAGE")," "),i.xp6(2),i.Q6J("disabled",t.searchLoading||""===t.searchControl.value.trim()),i.xp6(3),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(3),i.hij(" ",i.lcZ(20,16,"DIALOGS.ADD_AUTHORS.CANCEL")," "),i.xp6(2),i.Q6J("disabled",0===t.authorsToAdd.length||t.loading),i.xp6(1),i.hij(" ",i.lcZ(23,18,"DIALOGS.ADD_AUTHORS.ADD")," "))},directives:[ks,Gs,ls,nr,us,ds,Ws,Ic,Bt,tn,b.O5,hM,Fa,vn,Ks],pipes:[gt],styles:[".top-margin[_ngcontent-%COMP%]{margin-top:15px}.adjust-width[_ngcontent-%COMP%]{width:300px}"]}),n})();function qz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",6),i.NdJ("click",function(){return i.CHM(e),i.oxw().onAddAuthors()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.ADD")," "))}function Gz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){return i.CHM(e),i.oxw().onRemoveAuthors()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",0===e.selection.selected.length||e.publication.locked),i.xp6(1),i.hij(" ",i.lcZ(2,2,"PUBLICATION_DETAIL.REMOVE")," ")}}function Kz(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const Zz=function(){return["id","name","organization","email"]},$z=function(){return["select","id","name","organization","email"]};function Wz(n,o){if(1&n&&i._UZ(0,"perun-web-apps-authors-list",9),2&n){const e=i.oxw();i.Q6J("authors",e.publication.authors)("selection",e.selection)("filterValue",e.filterValue)("tableId",e.tableId)("displayedColumns",e.publication.locked?i.DdM(5,Zz):i.DdM(6,$z))}}let fD=(()=>{class n{constructor(e,t,s,a){this.dialog=e,this.cabinetService=t,this.notificator=s,this.translate=a,this.selection=new en(!0,[]),this.filterValue="",this.loading=!1,this.tableId="67"}ngOnInit(){this.refresh()}refresh(){this.loading=!0,this.cabinetService.findAuthorsByPublicationId(this.publication.id).subscribe(e=>{this.publication.authors=e,this.selection.clear(),this.loading=!1})}onAddAuthors(){const e=ts();e.width="800px",e.data={publicationId:this.publication.id,alreadyAddedAuthors:this.publication.authors},this.dialog.open(Vz,e).afterClosed().subscribe(s=>{s&&(this.selection.clear(),this.refresh())})}onRemoveAuthors(){const e=ts();e.width="800px",e.data={items:this.selection.selected.map(s=>`${s.titleBefore?s.titleBefore:""} ${s.firstName?s.firstName:""} ${s.lastName?s.lastName:""} ${s.titleAfter?s.titleAfter:""}`),title:"DIALOGS.REMOVE_AUTHORS.TITLE",description:"DIALOGS.REMOVE_AUTHORS.DESCRIPTION",theme:"user-theme"},this.dialog.open(Hk,e).afterClosed().subscribe(s=>{s&&this.removeAuthors(this.selection.selected)})}removeAuthors(e){if(this.loading=!0,e.length){const t=e.pop();this.cabinetService.deleteAuthorship(this.publication.id,t.id).subscribe(()=>{this.removeAuthors(e)},()=>this.loading=!1)}else this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_AUTHORS.SUCCESS_MESSAGE")),this.selection.clear(),this.refresh()}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Xi),i.Y36(ai),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-authors"]],inputs:{publication:"publication",selection:"selection"},decls:6,vars:5,consts:[[1,"'user-theme'"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"authors","selection","filterValue","tableId","displayedColumns",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"authors","selection","filterValue","tableId","displayedColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,qz,3,3,"button",1),i.YNc(2,Gz,3,4,"button",2),i.TgZ(3,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(4,Kz,1,0,"mat-spinner",4),i.YNc(5,Wz,1,7,"perun-web-apps-authors-list",5),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("placeholder","PUBLICATION_DETAIL.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,Bt,__,vn,hM],pipes:[gt],styles:[""]}),n})();function Jz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",16),i.TgZ(1,"mat-checkbox",17),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function Qz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",18),i.TgZ(1,"mat-checkbox",19),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function Xz(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.ID")," "))}function eN(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.id," ")}}function tN(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NAME")," "))}function iN(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function nN(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.CONTACT")," "))}function sN(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.contact)}}function oN(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.TYPE")," "))}function rN(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.type)}}function aN(n,o){1&n&&i._UZ(0,"tr",23)}function cN(n,o){1&n&&i._UZ(0,"tr",24)}function lN(n,o){1&n&&(i.TgZ(0,"app-alert",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_OWNERS"),"\n"))}function uN(n,o){1&n&&(i.TgZ(0,"app-alert",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_FILTER_OWNERS"),"\n"))}let dN=(()=>{class n{constructor(e,t){this.authResolver=e,this.tableCheckbox=t,this.owners=[],this.selection=new en(!0,[]),this.filterValue="",this.displayedColumns=["select","id","name","contact","type"],this.pageSizeOptions=Zd}set matSort(e){this.sort=e,this.setDataSource()}ngAfterViewInit(){this.setDataSource()}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return e.name;case"contact":return e.contact;case"type":return e.type;default:return""}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new Jc(this.owners),this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(oo),i.Y36(EA))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-owners-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(ir,7),i.Gf(Do,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.child=s.first),i.iGM(s=i.CRH())&&(t.matSort=s.first)}},inputs:{owners:"owners",selection:"selection",tableId:"tableId",filterValue:"filterValue",displayedColumns:"displayedColumns"},features:[i.TTD],decls:22,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","contact"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,Jz,2,3,"th",4),i.YNc(5,Qz,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,Xz,3,3,"th",7),i.YNc(8,eN,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,tN,3,3,"th",7),i.YNc(11,iN,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,nN,3,3,"th",7),i.YNc(14,sN,2,1,"td",10),i.BQk(),i.ynx(15,12),i.YNc(16,oN,3,3,"th",7),i.YNc(17,rN,2,1,"td",10),i.BQk(),i.YNc(18,aN,1,0,"tr",13),i.YNc(19,cN,1,0,"tr",14),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,lN,3,3,"app-alert",15),i.YNc(21,uN,3,3,"app-alert",15)),2&e&&(i.Q6J("hidden",0===t.owners.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(16),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",!t.owners.length),i.xp6(1),i.Q6J("ngIf",!t.dataSource.filteredData.length&&t.owners.length))},directives:[ir,La,Do,Ir,Lr,Or,su,Pr,Hr,gp,$c,Wc,Ia,Oa,b.O5,Fa],pipes:[gt],styles:[""]}),n})();function hN(n,o){1&n&&i._UZ(0,"mat-spinner",4)}const fN=function(){return["select","id","name","contact"]};function pN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"perun-web-apps-immediate-filter",6),i.NdJ("filter",function(s){return i.CHM(e),i.oxw().filterValue=s}),i.qZA(),i._UZ(3,"perun-web-apps-owners-list",7),i.qZA(),i.TgZ(4,"div",8),i.TgZ(5,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"button",10),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.Q6J("placeholder","DIALOGS.ADD_THANKS.FILTER"),i.xp6(1),i.Q6J("owners",e.owners)("filterValue",e.filterValue)("tableId",e.tableId)("displayedColumns",i.DdM(13,fN))("selection",e.selected),i.xp6(3),i.hij(" ",i.lcZ(7,9,"DIALOGS.ADD_THANKS.CANCEL")," "),i.xp6(2),i.Q6J("disabled",0===e.selected.selected.length||e.loading),i.xp6(1),i.hij(" ",i.lcZ(10,11,"DIALOGS.ADD_THANKS.ADD")," ")}}let gN=(()=>{class n{constructor(e,t,s,a,r,c,d){this.dialogRef=e,this.data=t,this.ownersManagerService=s,this.storeService=a,this.notificator=r,this.translate=c,this.cabinetManagerService=d,this.selected=new en(!0,[]),this.tableId="73"}ngOnInit(){this.loading=!0;const e=this.storeService.get("allowed_owners_for_thanks");this.ownersManagerService.getAllOwners().subscribe(t=>{this.owners=0!==e.length?t.filter(s=>e.indexOf(s.id)>-1):t,this.owners=this.owners.filter(s=>this.data.thanks.map(a=>a.ownerId).indexOf(s.id)<=-1),this.loading=!1})}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,0===this.selected.selected.length?this.translate.get("DIALOGS.ADD_THANKS.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)}):this.cabinetManagerService.createThanks({thanks:{publicationId:this.data.id,ownerId:this.selected.selected.pop().id,createdBy:this.storeService.getPerunPrincipal().actor,createdByUid:this.storeService.getPerunPrincipal().userId,createdDate:Date.now().toString(),id:0,beanName:"Thanks"}}).subscribe(()=>{this.onSubmit()},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(mt),i.Y36(Mn),i.Y36(Fn),i.Y36(Ii),i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-thanks-dialog"]],decls:6,vars:5,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"owners","filterValue","tableId","displayedColumns","selection"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,hN,1,0,"mat-spinner",2),i.YNc(5,pN,11,14,"div",3),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,3,"DIALOGS.ADD_THANKS.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[ks,b.O5,vn,Gs,__,dN,Ks,Bt],pipes:[gt],styles:[""]}),n})();function mN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",15),i.TgZ(1,"mat-checkbox",16),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function _N(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",17),i.TgZ(1,"mat-checkbox",18),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function yN(n,o){1&n&&(i.TgZ(0,"th",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"THANKS_LIST.ID")))}function bN(n,o){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.ownerId)}}function wN(n,o){1&n&&(i.TgZ(0,"th",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"THANKS_LIST.NAME")," "))}function AN(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.ownerName)}}function vN(n,o){1&n&&(i.TgZ(0,"th",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"THANKS_LIST.CREATED_BY")," "))}function CN(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.createdBy)}}function TN(n,o){1&n&&i._UZ(0,"tr",22)}function MN(n,o){1&n&&i._UZ(0,"tr",23)}function SN(n,o){1&n&&(i.TgZ(0,"app-alert",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function kN(n,o){1&n&&(i.TgZ(0,"app-alert",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"THANKS_LIST.NO_THANKS"),"\n"))}let EN=(()=>{class n{constructor(e){this.tableCheckbox=e,this.thanks=[],this.filterValue="",this.displayedColumns=["select","id","name","createdBy"],this.pageSizeOptions=Zd,this.selection=new en(!0,[])}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.thanks),this.setDataSource(),this.dataSource.filter=this.filterValue}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}getDataForColumn(e,t){switch(t){case"id":return e.ownerId.toString();case"name":return e.ownerName;default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(EA))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-thanks-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{thanks:"thanks",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions",selection:"selection"},features:[i.TTD],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","createdBy"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,mN,2,3,"th",4),i.YNc(5,_N,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,yN,3,3,"th",7),i.YNc(8,bN,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,wN,3,3,"th",7),i.YNc(11,AN,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,vN,3,3,"th",7),i.YNc(14,CN,2,1,"td",10),i.BQk(),i.YNc(15,TN,1,0,"tr",12),i.YNc(16,MN,1,0,"tr",13),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,SN,3,3,"app-alert",14),i.YNc(18,kN,3,3,"app-alert",14)),2&e&&(i.Q6J("hidden",0===t.thanks.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(13),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0!==t.thanks.length&&0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("ngIf",0===t.thanks.length))},directives:[ir,La,Do,Ir,Lr,Or,su,Pr,Hr,gp,$c,Wc,Ia,Oa,b.O5,Fa],pipes:[gt],styles:[""]}),n})();function DN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",6),i.NdJ("click",function(){return i.CHM(e),i.oxw().onAddThanks()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.ADD")," "))}function xN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){return i.CHM(e),i.oxw().onRemoveThanks()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",0===e.selection.selected.length),i.xp6(1),i.hij(" ",i.lcZ(2,2,"PUBLICATION_DETAIL.REMOVE")," ")}}function RN(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const PN=function(){return["id","name","createdBy"]},LN=function(){return["select","id","name","createdBy"]};function IN(n,o){if(1&n&&i._UZ(0,"perun-web-apps-thanks-list",9),2&n){const e=i.oxw();i.Q6J("thanks",e.publication.thanks)("filterValue",e.filterValue)("tableId",e.tableId)("displayedColumns",e.publication.locked?i.DdM(5,PN):i.DdM(6,LN))("selection",e.selection)}}let pD=(()=>{class n{constructor(e,t,s,a){this.dialog=e,this.cabinetService=t,this.notificator=s,this.translate=a,this.selection=new en(!0,[]),this.tableId="70",this.loading=!1,this.filterValue=""}ngOnInit(){this.refresh()}refresh(){this.loading=!0,this.cabinetService.findPublicationById(this.publication.id).subscribe(e=>{this.publication=e,this.selection.clear(),this.loading=!1})}onAddThanks(){const e=ts();e.width="800px",e.data=this.publication,this.dialog.open(gN,e).afterClosed().subscribe(s=>{s&&this.refresh()})}onRemoveThanks(){const e=ts();e.width="450px",e.data={items:this.selection.selected.map(s=>s.ownerName),title:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_TITLE",description:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_DESCRIPTION",theme:"user-theme"},this.dialog.open(Hk,e).afterClosed().subscribe(s=>{s&&(this.loading=!0,this.removeThank())})}removeThank(){0===this.selection.selected.length?this.translate.get("PUBLICATION_DETAIL.REMOVE_THANKS_SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.refresh()}):this.cabinetService.deleteThanks(this.selection.selected.pop().id).subscribe(()=>{this.removeThank()})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Xi),i.Y36(ai),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-thanks"]],inputs:{publication:"publication",selection:"selection"},decls:6,vars:5,consts:[[1,"'user-theme'"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"thanks","filterValue","tableId","displayedColumns","selection",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"thanks","filterValue","tableId","displayedColumns","selection"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,DN,3,3,"button",1),i.YNc(2,xN,3,4,"button",2),i.TgZ(3,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(4,RN,1,0,"mat-spinner",4),i.YNc(5,IN,1,7,"perun-web-apps-thanks-list",5),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("placeholder","PUBLICATION_DETAIL.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,Bt,__,vn,EN],pipes:[gt],styles:[""]}),n})();function ON(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function HN(n,o){1&n&&(i.TgZ(0,"h1",11),i.TgZ(1,"span"),i.TgZ(2,"mat-icon",12),i._uU(3,"assignment_ind"),i.qZA(),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,"AUTHORS_PAGE.TITLE")," "))}function FN(n,o){1&n&&(i.TgZ(0,"h1",11),i._UZ(1,"mat-icon",13),i.TgZ(2,"span",14),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(3),i.Oqu(i.lcZ(4,1,"ALL_PUBLICATIONS.TITLE")))}function zN(n,o){1&n&&(i.TgZ(0,"h1",11),i.TgZ(1,"span"),i.TgZ(2,"mat-icon",12),i._uU(3,"local_library"),i.qZA(),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,"MY_PUBLICATIONS.TITLE")," "))}function NN(n,o){if(1&n&&(i.TgZ(0,"h5",15),i._uU(1),i.ALo(2,"userFullName"),i.ALo(3,"translate"),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.AsE(" ",i.lcZ(2,2,e.mainAuthor),"",i.lcZ(3,4,"AUTHOR_DETAIL.TITLE")," ")}}function BN(n,o){1&n&&(i.TgZ(0,"span",16),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.LOCKED")," "))}function YN(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1," lock "),i.qZA())}function jN(n,o){1&n&&(i.TgZ(0,"span",16),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.UNLOCKED")," "))}function UN(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1," lock_open "),i.qZA())}function VN(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function qN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-publication-detail-list",17),i.NdJ("edited",function(){return i.CHM(e),i.oxw(2).refreshPublication()}),i.qZA()}if(2&n){const e=i.oxw(2);i.Q6J("publication",e.publication)("categories",e.categories)}}function GN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.YNc(1,HN,6,3,"h1",4),i.YNc(2,FN,5,3,"h1",4),i.YNc(3,zN,6,3,"h1",4),i.YNc(4,NN,4,6,"h5",5),i.TgZ(5,"h5"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"h6"),i._uU(9),i.ALo(10,"translate"),i.TgZ(11,"button",6),i.NdJ("click",function(){return i.CHM(e),i.oxw().changeLock()}),i.YNc(12,BN,3,3,"span",7),i.YNc(13,YN,2,0,"mat-icon",2),i.YNc(14,jN,3,3,"span",7),i.YNc(15,UN,2,0,"mat-icon",2),i.qZA(),i.qZA(),i.TgZ(16,"mat-card"),i.TgZ(17,"mat-card-content"),i.YNc(18,VN,1,0,"mat-spinner",1),i.YNc(19,qN,1,2,"perun-web-apps-publication-detail-list",8),i.qZA(),i.qZA(),i.TgZ(20,"mat-card",9),i.TgZ(21,"mat-card-title"),i._uU(22),i.ALo(23,"translate"),i.qZA(),i.TgZ(24,"mat-card-content"),i._UZ(25,"perun-web-apps-add-authors",10),i.qZA(),i.qZA(),i.TgZ(26,"mat-card",9),i.TgZ(27,"mat-card-title"),i._uU(28),i.ALo(29,"translate"),i.qZA(),i.TgZ(30,"mat-card-content"),i._UZ(31,"perun-web-apps-add-thanks",10),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngIf","authors"===e.mode),i.xp6(1),i.Q6J("ngIf","all"===e.mode),i.xp6(1),i.Q6J("ngIf","my"===e.mode),i.xp6(1),i.Q6J("ngIf",void 0!==e.mainAuthor),i.xp6(2),i.Oqu(i.lcZ(7,18,"PUBLICATION_DETAIL.TITLE")),i.xp6(3),i.hij(" ",i.lcZ(10,20,"PUBLICATION_DETAIL.LOCK_INFO")," "),i.xp6(3),i.Q6J("ngIf",e.publication.locked),i.xp6(1),i.Q6J("ngIf",e.publication.locked),i.xp6(1),i.Q6J("ngIf",!e.publication.locked),i.xp6(1),i.Q6J("ngIf",!e.publication.locked),i.xp6(3),i.Q6J("ngIf",e.loading||e.pubLoading),i.xp6(1),i.Q6J("ngIf",!e.pubLoading&&!e.loading),i.xp6(3),i.hij(" ",i.lcZ(23,22,"PUBLICATION_DETAIL.AUTHORS")," "),i.xp6(3),i.Q6J("publication",e.publication)("selection",e.selectionAuthors),i.xp6(3),i.hij(" ",i.lcZ(29,24,"PUBLICATION_DETAIL.ACKNOWLEDGEMENT")," "),i.xp6(3),i.Q6J("publication",e.publication)("selection",e.selectionThanks)}}let y_=(()=>{class n{constructor(e,t,s,a,r,c,d){this.route=e,this.cabinetService=t,this.matIconRegistry=s,this.domSanitizer=a,this.dialog=r,this.notificator=c,this.translate=d,this.loading=!1,this.pubLoading=!1,this.initLoading=!1,this.selectionAuthors=new en(!0,[]),this.selectionThanks=new en(!0,[]),this.matIconRegistry.addSvgIcon("publications",this.domSanitizer.bypassSecurityTrustResourceUrl("../../assets/img/publications-dark.svg"))}ngOnInit(){this.initLoading=!0,this.publicationId?(this.setMode(),this.loadAllData()):this.route.params.subscribe(e=>{this.publicationId=e.publicationId,this.mainAuthorId=parseInt(e.authorId,10),this.setMode(),this.loadAllData()})}setMode(){const e=location.pathname;this.mode=e.includes("my")?"my":e.includes("all")?"all":e.includes("import")?"import":e.includes("create")?"create":"authors"}loadAllData(){this.loading=!0,this.cabinetService.findPublicationById(this.publicationId).subscribe(e=>{this.publication=e,this.cabinetService.getCategories().subscribe(t=>{this.categories=t,this.loading=!1,this.initLoading=!1})})}refreshPublication(){this.pubLoading=!0,this.cabinetService.findPublicationById(this.publicationId).subscribe(e=>{this.publication=e,this.pubLoading=!1})}changeLock(){this.pubLoading=!0,this.cabinetService.lockPublications({publications:[{id:this.publication.id,externalId:this.publication.externalId,publicationSystemId:this.publication.publicationSystemId,title:this.publication.title,year:this.publication.year,main:this.publication.main,isbn:this.publication.isbn,doi:this.publication.doi,categoryId:this.publication.categoryId,rank:this.publication.rank,locked:this.publication.locked,createdBy:this.publication.createdBy,createdDate:this.publication.createdDate}],lock:!this.publication.locked}).subscribe(()=>{this.translate.get("PUBLICATION_DETAIL.CHANGE_PUBLICATION_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.refreshPublication()})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(In),i.Y36(ai),i.Y36(Kd),i.Y36(Yn),i.Y36(Xi),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-detail"]],inputs:{publicationId:"publicationId"},decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["class","page-subtitle d-flex",4,"ngIf"],["class","mb-2",4,"ngIf"],["mat-stroked-button","",1,"ml-2",3,"click"],["class","font-weight-bold",4,"ngIf"],[3,"publication","categories","edited",4,"ngIf"],[1,"mt-4"],[3,"publication","selection"],[1,"page-subtitle","d-flex"],[1,"title-icon","align-icon","mr-3"],["svgIcon","publications",1,"icon-size"],[1,"ml-3","mt-1"],[1,"mb-2"],[1,"font-weight-bold"],[3,"publication","categories","edited"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,ON,1,0,"mat-spinner",1),i.YNc(2,GN,32,26,"div",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.initLoading),i.xp6(1),i.Q6J("ngIf",!t.initLoading))},directives:[b.O5,vn,tn,Bt,iE,eE,Pz,tE,fD,pD],pipes:[gt,ev],styles:[".icon-size[_ngcontent-%COMP%]{width:32px;height:32px}.align-icon[_ngcontent-%COMP%]{vertical-align:text-top}"]}),n})(),KN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,Zs,iu,Rh,lM,Sd,$s,zc,xA,Q0]]}),n})(),ZN=(()=>{class n{constructor(e){this.auth=e}startAuth(){this.auth.startAuthentication()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Sa))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],[1,"mb-3"],["mat-raised-button","","color","primary",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"h4",3),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.startAuth()}),i._uU(7),i.ALo(8,"translate"),i.TgZ(9,"mat-icon"),i._uU(10," login "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.hij(" ",i.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),i.xp6(3),i.hij(" ",i.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[Bt,tn],pipes:[gt],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),n})();function $N(n,o){1&n&&(i.TgZ(0,"app-alert",8),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}let WN=(()=>{class n{constructor(e,t,s){this.authzService=e,this.dialog=t,this.translate=s,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new ki(null,[Oi.required]),this.passwordCtrl=new ki(null,[Oi.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(e=>{sessionStorage.setItem("baPrincipal",JSON.stringify(e)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(xi),i.Y36(Xi),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-service-access"]],decls:28,vars:23,consts:[[1,"container","login-con","vo-theme","top-padding"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],["alert_type","error",4,"ngIf"],["appearance","outline"],["matInput","","required","",3,"formControl"],["matInput","","required","",3,"formControl","type"],["mat-raised-button","",1,"black",3,"disabled","click"],["alert_type","error"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"h2"),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,$N,3,3,"app-alert",3),i.TgZ(7,"mat-form-field",4),i.TgZ(8,"mat-label"),i._uU(9),i.ALo(10,"translate"),i.qZA(),i._UZ(11,"input",5),i.TgZ(12,"mat-error"),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.qZA(),i.TgZ(15,"mat-form-field",4),i.TgZ(16,"mat-label"),i._uU(17),i.ALo(18,"translate"),i.qZA(),i._UZ(19,"input",6),i.TgZ(20,"mat-error"),i._uU(21),i.ALo(22,"translate"),i.qZA(),i.qZA(),i.TgZ(23,"button",7),i.NdJ("click",function(){return t.startAuth()}),i._uU(24),i.ALo(25,"translate"),i.TgZ(26,"mat-icon"),i._uU(27," login "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.Oqu(i.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),i.xp6(2),i.Q6J("ngIf",t.wrongUsernameOrPassword),i.xp6(3),i.Oqu(i.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),i.xp6(2),i.Q6J("formControl",t.usernameCtrl),i.xp6(2),i.hij(" ",i.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),i.xp6(4),i.Oqu(i.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),i.xp6(2),i.Q6J("formControl",t.passwordCtrl)("type","password"),i.xp6(2),i.hij(" ",i.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),i.xp6(2),i.Q6J("disabled",t.usernameCtrl.invalid||t.passwordCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[b.O5,Fa,ls,Es,nr,us,tr,ds,Ws,Ic,Bt,tn],pipes:[gt],styles:[".top-padding[_ngcontent-%COMP%]{padding:120px 0}mat-form-field.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:250px}.black[_ngcontent-%COMP%]{background-color:#000;color:#fff}"]}),n})();function JN(n,o){1&n&&i.Hsn(0)}const gD=["*"];function QN(n,o){}const XN=function(n){return{animationDuration:n}},eB=function(n,o){return{value:n,params:o}},tB=["tabListContainer"],iB=["tabList"],nB=["tabListInner"],sB=["nextPaginator"],oB=["previousPaginator"],rB=["tabBodyWrapper"],aB=["tabHeader"];function cB(n,o){}function lB(n,o){if(1&n&&i.YNc(0,cB,0,0,"ng-template",10),2&n){const e=i.oxw().$implicit;i.Q6J("cdkPortalOutlet",e.templateLabel)}}function uB(n,o){if(1&n&&i._uU(0),2&n){const e=i.oxw().$implicit;i.Oqu(e.textLabel)}}function dB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",6),i.NdJ("click",function(){const s=i.CHM(e),a=s.$implicit,r=s.index,c=i.oxw(),d=i.MAs(1);return c._handleClick(a,d,r)})("cdkFocusChange",function(s){const r=i.CHM(e).index;return i.oxw()._tabFocusChanged(s,r)}),i.TgZ(1,"div",7),i.YNc(2,lB,1,1,"ng-template",8),i.YNc(3,uB,1,1,"ng-template",null,9,i.W1O),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.MAs(4),a=i.oxw();i.ekj("mat-tab-label-active",a.selectedIndex===t),i.Q6J("id",a._getTabLabelId(t))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||a.disableRipple),i.uIk("tabIndex",a._getTabIndex(e,t))("aria-posinset",t+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(t))("aria-selected",a.selectedIndex===t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),i.xp6(2),i.Q6J("ngIf",e.templateLabel)("ngIfElse",s)}}function hB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-tab-body",11),i.NdJ("_onCentered",function(){return i.CHM(e),i.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(s){return i.CHM(e),i.oxw()._setTabBodyWrapperHeight(s)}),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.ekj("mat-tab-body-active",s.selectedIndex===t),i.Q6J("id",s._getTabContentId(t))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",s.animationDuration),i.uIk("tabindex",null!=s.contentTabIndex&&s.selectedIndex===t?s.contentTabIndex:null)("aria-labelledby",s._getTabLabelId(t))}}const fB=new i.OlP("MatInkBarPositioner",{providedIn:"root",factory:function pB(){return o=>({left:o?(o.offsetLeft||0)+"px":"0",width:o?(o.offsetWidth||0)+"px":"0"})}});let mD=(()=>{class n{constructor(e,t,s,a){this._elementRef=e,this._ngZone=t,this._inkBarPositioner=s,this._animationMode=a}alignToElement(e){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(e))}):this._setStyles(e)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(e){const t=this._inkBarPositioner(e),s=this._elementRef.nativeElement;s.style.left=t.left,s.style.width=t.width}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(fB),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),n})();const _D=new i.OlP("MatTabContent");let gB=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTabContent",""]],features:[i._Bn([{provide:_D,useExisting:n}])]}),n})();const yD=new i.OlP("MatTabLabel"),bD=new i.OlP("MAT_TAB");let mB=(()=>{class n extends Xp{constructor(e,t,s){super(e,t),this._closestTab=s}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(bD,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[i._Bn([{provide:yD,useExisting:n}]),i.qOj]}),n})();const _B=Co(class{}),wD=new i.OlP("MAT_TAB_GROUP");let AD=(()=>{class n extends _B{constructor(e,t){super(),this._viewContainerRef=e,this._closestTabGroup=t,this.textLabel="",this._contentPortal=null,this._stateChanges=new ke.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Cr(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(wD,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,yD,5),i.Suo(s,_D,7,i.Rgc)),2&e){let a;i.iGM(a=i.CRH())&&(t.templateLabel=a.first),i.iGM(a=i.CRH())&&(t._explicitContent=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,7),2&e){let s;i.iGM(s=i.CRH())&&(t._implicitContent=s.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[i._Bn([{provide:bD,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:gD,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.YNc(0,JN,1,0,"ng-template"))},encapsulation:2}),n})();const yB={translateTab:ti("translateTab",[_t("center, void, left-origin-center, right-origin-center",De({transform:"none"})),_t("left",De({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),_t("right",De({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),ht("* => left, * => right, left => center, right => center",rt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),ht("void => left-origin-center",[De({transform:"translate3d(-100%, 0, 0)"}),rt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),ht("void => right-origin-center",[De({transform:"translate3d(100%, 0, 0)"}),rt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let bB=(()=>{class n extends Tr{constructor(e,t,s,a){super(e,t,a),this._host=s,this._centeringSub=P.w.EMPTY,this._leavingSub=P.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Vt(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36((0,i.Gpc)(()=>vD)),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTabBodyHost",""]],features:[i.qOj]}),n})(),wB=(()=>{class n{constructor(e,t,s){this._elementRef=e,this._dir=t,this._dirChangeSubscription=P.w.EMPTY,this._translateTabComplete=new ke.xQ,this._onCentering=new i.vpe,this._beforeCentering=new i.vpe,this._afterLeavingCenter=new i.vpe,this._onCentered=new i.vpe(!0),this.animationDuration="500ms",t&&(this._dirChangeSubscription=t.change.subscribe(a=>{this._computePositionAnimationState(a),s.markForCheck()})),this._translateTabComplete.pipe(yc((a,r)=>a.fromState===r.fromState&&a.toState===r.toState)).subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ti,8),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n})(),vD=(()=>{class n extends wB{constructor(e,t,s){super(e,t,s)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ti,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,t){if(1&e&&i.Gf(Tr,5),2&e){let s;i.iGM(s=i.CRH())&&(t._portalHost=s.first)}},hostAttrs:[1,"mat-tab-body"],features:[i.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(i.TgZ(0,"div",0,1),i.NdJ("@translateTab.start",function(a){return t._onTranslateTabStarted(a)})("@translateTab.done",function(a){return t._translateTabComplete.next(a)}),i.YNc(2,QN,0,0,"ng-template",2),i.qZA()),2&e&&i.Q6J("@translateTab",i.WLB(3,eB,t._position,i.VKq(1,XN,t.animationDuration)))},directives:[bB],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[yB.translateTab]}}),n})();const CD=new i.OlP("MAT_TABS_CONFIG"),AB=Co(class{});let TD=(()=>{class n extends AB{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(i.uIk("aria-disabled",!!t.disabled),i.ekj("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[i.qOj]}),n})();const MD=_o({passive:!0});let TB=(()=>{class n{constructor(e,t,s,a,r,c,d){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=s,this._dir=a,this._ngZone=r,this._platform=c,this._animationMode=d,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new ke.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new ke.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new i.vpe,this.indexFocused=new i.vpe,r.runOutsideAngular(()=>{da(e.nativeElement,"mouseleave").pipe($e(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Zi(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){da(this._previousPaginator.nativeElement,"touchstart",MD).pipe($e(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),da(this._nextPaginator.nativeElement,"touchstart",MD).pipe($e(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:(0,Ye.of)("ltr"),t=this._viewportRuler.change(150),s=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new bc(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(s):s(),(0,Mi.T)(e,t,this._items.changes).pipe($e(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(s)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe($e(this._destroyed)).subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Ni(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const t=this._tabListContainer.nativeElement;t.scrollLeft="ltr"==this._getLayoutDirection()?0:t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,t="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(t)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const t=this._items?this._items.toArray()[e]:null;if(!t)return;const s=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:r}=t.elementRef.nativeElement;let c,d;"ltr"==this._getLayoutDirection()?(c=a,d=c+r):(d=this._tabListInner.nativeElement.offsetWidth-a,c=d-r);const h=this.scrollDistance,g=this.scrollDistance+s;cg&&(this.scrollDistance+=d-g+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&null!=t.button&&0!==t.button||(this._stopInterval(),x_(650,100).pipe($e((0,Mi.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:s,distance:a}=this._scrollHeader(e);(0===a||a>=s)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Hn),i.Y36(Ti,8),i.Y36(i.R0b),i.Y36(fi),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,inputs:{disablePagination:"disablePagination"}}),n})(),MB=(()=>{class n extends TB{constructor(e,t,s,a,r,c,d){super(e,t,s,a,r,c,d),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ne(e)}_itemSelected(e){e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Hn),i.Y36(Ti,8),i.Y36(i.R0b),i.Y36(fi),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,inputs:{disableRipple:"disableRipple"},features:[i.qOj]}),n})(),SB=(()=>{class n extends MB{constructor(e,t,s,a,r,c,d){super(e,t,s,a,r,c,d)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Hn),i.Y36(Ti,8),i.Y36(i.R0b),i.Y36(fi),i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,TD,4),2&e){let a;i.iGM(a=i.CRH())&&(t._items=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(mD,7),i.Gf(tB,7),i.Gf(iB,7),i.Gf(nB,7),i.Gf(sB,5),i.Gf(oB,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._inkBar=s.first),i.iGM(s=i.CRH())&&(t._tabListContainer=s.first),i.iGM(s=i.CRH())&&(t._tabList=s.first),i.iGM(s=i.CRH())&&(t._tabListInner=s.first),i.iGM(s=i.CRH())&&(t._nextPaginator=s.first),i.iGM(s=i.CRH())&&(t._previousPaginator=s.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[i.qOj],ngContentSelectors:gD,decls:14,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(a){return t._handlePaginatorPress("before",a)})("touchend",function(){return t._stopInterval()}),i._UZ(2,"div",2),i.qZA(),i.TgZ(3,"div",3,4),i.NdJ("keydown",function(a){return t._handleKeydown(a)}),i.TgZ(5,"div",5,6),i.NdJ("cdkObserveContent",function(){return t._onContentChanges()}),i.TgZ(7,"div",7,8),i.Hsn(9),i.qZA(),i._UZ(10,"mat-ink-bar"),i.qZA(),i.qZA(),i.TgZ(11,"div",9,10),i.NdJ("mousedown",function(a){return t._handlePaginatorPress("after",a)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),i._UZ(13,"div",2),i.qZA()),2&e&&(i.ekj("mat-tab-header-pagination-disabled",t._disableScrollBefore),i.Q6J("matRippleDisabled",t._disableScrollBefore||t.disableRipple),i.xp6(5),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode),i.xp6(6),i.ekj("mat-tab-header-pagination-disabled",t._disableScrollAfter),i.Q6J("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[Ss,pg,mD],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),n})(),kB=0;class EB{}const DB=Qo(To(class{constructor(n){this._elementRef=n}}),"primary");let xB=(()=>{class n extends DB{constructor(e,t,s,a){var r;super(e),this._changeDetectorRef=t,this._animationMode=a,this._tabs=new i.n_E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=P.w.EMPTY,this._tabLabelSubscription=P.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new i.vpe,this.focusChange=new i.vpe,this.animationDone=new i.vpe,this.selectedTabChange=new i.vpe(!0),this._groupId=kB++,this.animationDuration=s&&s.animationDuration?s.animationDuration:"500ms",this.disablePagination=!(!s||null==s.disablePagination)&&s.disablePagination,this.dynamicHeight=!(!s||null==s.dynamicHeight)&&s.dynamicHeight,this.contentTabIndex=null!==(r=null==s?void 0:s.contentTabIndex)&&void 0!==r?r:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=Ne(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Zi(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=Zi(e,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const t=this._elementRef.nativeElement;t.classList.remove(`mat-background-${this.backgroundColor}`),e&&t.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const t=null==this._selectedIndex;if(!t){this.selectedTabChange.emit(this._createChangeEvent(e));const s=this._tabBodyWrapper.nativeElement;s.style.minHeight=s.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((s,a)=>s.isActive=a===e),t||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((t,s)=>{t.position=s-e,null!=this._selectedIndex&&0==t.position&&!t.origin&&(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let s=0;s{this._tabs.reset(e.filter(t=>t._closestTabGroup===this||!t._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const t=this._tabHeader;t&&(t.focusIndex=e)}_focusChanged(e){this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const t=new EB;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,Mi.T)(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,s){e.disabled||(this.selectedIndex=t.focusIndex=s)}_getTabIndex(e,t){return e.disabled?null:this.selectedIndex===t?0:-1}_tabFocusChanged(e,t){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(CD,8),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[i.qOj]}),n})(),RB=(()=>{class n extends xB{constructor(e,t,s,a){super(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(CD,8),i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-group"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,AD,5),2&e){let a;i.iGM(a=i.CRH())&&(t._allTabs=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(rB,5),i.Gf(aB,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._tabBodyWrapper=s.first),i.iGM(s=i.CRH())&&(t._tabHeader=s.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-tab-group-dynamic-height",t.dynamicHeight)("mat-tab-group-inverted-header","below"===t.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[i._Bn([{provide:wD,useExisting:n}]),i.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-tab-header",0,1),i.NdJ("indexFocused",function(a){return t._focusChanged(a)})("selectFocusedIndex",function(a){return t.selectedIndex=a}),i.YNc(2,dB,5,15,"div",2),i.qZA(),i.TgZ(3,"div",3,4),i.YNc(5,hB,1,10,"mat-tab-body",5),i.qZA()),2&e&&(i.Q6J("selectedIndex",t.selectedIndex||0)("disableRipple",t.disableRipple)("disablePagination",t.disablePagination),i.xp6(2),i.Q6J("ngForOf",t._tabs),i.xp6(1),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode),i.xp6(2),i.Q6J("ngForOf",t._tabs))},directives:[SB,vD,b.sg,TD,Ss,yC,b.mk,b.O5,Tr],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),n})(),PB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nt,xl,cs,Pl,zy],nt]}),n})();function LB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function IB(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.Oqu(i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.PUBLICATION"))}function OB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function HB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function FB(n,o){if(1&n&&(i.TgZ(0,"mat-option",36),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e.name," ")}}function zB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function NB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function BB(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.CHECK")," ")}function YB(n,o){1&n&&(i.TgZ(0,"div",28),i._UZ(1,"mat-spinner",5),i.TgZ(2,"h5",37),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(3),i.hij(" ",i.lcZ(4,1,"CREATE_SINGLE_PUBLICATION.CHECK_PERFORM")," "))}function jB(n,o){1&n&&(i.TgZ(0,"app-alert",38),i.TgZ(1,"div",28),i.TgZ(2,"span",39),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"span",40),i.TgZ(7,"mat-icon",41),i._uU(8,"fiber_manual_record"),i.qZA(),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.TgZ(11,"span",42),i.TgZ(12,"mat-icon",41),i._uU(13,"fiber_manual_record"),i.qZA(),i._uU(14),i.ALo(15,"translate"),i.qZA(),i.qZA(),i.qZA()),2&n&&(i.xp6(3),i.AsE(" ",i.lcZ(4,4,"CREATE_SINGLE_PUBLICATION.SIMILAR_FOUND"),". ",i.lcZ(5,6,"CREATE_SINGLE_PUBLICATION.CHECK_BELOW"),". "),i.xp6(6),i.hij(" ",i.lcZ(10,8,"CREATE_SINGLE_PUBLICATION.IS_BELOW")," "),i.xp6(5),i.hij(" ",i.lcZ(15,10,"CREATE_SINGLE_PUBLICATION.NOT_BELOW")," "))}function UB(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.Oqu(i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.CHECK"))}function VB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}const qB=function(){return["id","lock","title","reportedBy","year","category","thankedTo","cite"]};function GB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-publications-list",48),i.NdJ("publicationSelector",function(s){i.CHM(e),i.oxw(2);const a=i.MAs(1);return i.oxw(2).loadPublicationDetail(s,a)}),i.qZA()}if(2&n){const e=i.oxw(4);i.Q6J("displayedColumns",i.DdM(4,qB))("disabledRouting",!0)("openInTab",!0)("publications",e.filteredPublications)}}function KB(n,o){if(1&n&&(i.TgZ(0,"div",46),i.YNc(1,VB,1,0,"mat-spinner",3),i.YNc(2,GB,1,5,"perun-web-apps-publications-list",47),i.qZA()),2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("ngIf",e.innerLoading),i.xp6(1),i.Q6J("ngIf",!e.innerLoading)}}function ZB(n,o){if(1&n&&i._uU(0),2&n){const e=i.oxw(4);i.Oqu(e.selectedPubTitle)}}function $B(n,o){if(1&n&&(i.TgZ(0,"div",49),i._UZ(1,"perun-web-apps-publication-detail",50),i.qZA()),2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("publicationId",e.selectedPubId)}}function WB(n,o){1&n&&(i.TgZ(0,"mat-tab"),i.YNc(1,ZB,1,1,"ng-template",44),i.YNc(2,$B,2,1,"ng-template",45),i.qZA())}function JB(n,o){if(1&n&&(i.TgZ(0,"mat-tab-group",null,43),i.TgZ(2,"mat-tab"),i.YNc(3,UB,2,3,"ng-template",44),i.YNc(4,KB,3,2,"ng-template",45),i.qZA(),i.YNc(5,WB,3,0,"mat-tab",14),i.qZA()),2&n){const e=i.oxw(2);i.xp6(5),i.Q6J("ngIf",null!==e.selectedPubId)}}function QB(n,o){1&n&&(i.TgZ(0,"div",28),i.TgZ(1,"mat-icon",51),i._uU(2,"check_circle"),i.qZA(),i.TgZ(3,"h5",52),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,"CREATE_SINGLE_PUBLICATION.NO_SIMILAR")," "))}function XB(n,o){1&n&&(i.TgZ(0,"button",34),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.PREV")," "))}function eY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",57),i.NdJ("click",function(){return i.CHM(e),i.oxw(3).redirect(["create-publication"])}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.RETURN")," "))}function tY(n,o){if(1&n&&(i.TgZ(0,"div",53),i.YNc(1,XB,3,3,"button",54),i.TgZ(2,"button",55),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.YNc(5,eY,3,3,"button",56),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",!e.duplicateCheck),i.xp6(2),i.hij(" ",i.lcZ(4,3,"CREATE_SINGLE_PUBLICATION.CREATE")," "),i.xp6(2),i.Q6J("ngIf",!e.duplicateCheck)}}function iY(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.AUTHORS")," ")}function nY(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function sY(n,o){if(1&n&&i._UZ(0,"perun-web-apps-add-authors",59),2&n){const e=i.oxw(3);i.Q6J("publication",e.publication)("selection",e.authorsSelection)}}function oY(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"app-alert",58),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,sY,1,2,"perun-web-apps-add-authors",33),i.qZA()),2&n){const e=i.oxw(2);i.xp6(2),i.Oqu(i.lcZ(3,2,"CREATE_SINGLE_PUBLICATION.PUB_CREATED")),i.xp6(2),i.Q6J("ngIf",null!==e.publication)}}function rY(n,o){1&n&&(i.TgZ(0,"button",34),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.PREV")," "))}function aY(n,o){if(1&n&&(i.TgZ(0,"div",25),i.YNc(1,rY,3,3,"button",54),i.TgZ(2,"button",60),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",!e.duplicateCheck),i.xp6(2),i.hij(" ",i.lcZ(4,2,"CREATE_SINGLE_PUBLICATION.NEXT")," ")}}function cY(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.THANKS")," ")}function lY(n,o){if(1&n&&i._UZ(0,"perun-web-apps-add-thanks",59),2&n){const e=i.oxw(2);i.Q6J("publication",e.publication)("selection",e.thanksSelection)}}function uY(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function dY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-horizontal-stepper",6),i.NdJ("selectionChange",function(s){return i.CHM(e),i.oxw().stepChanged(s)}),i.TgZ(1,"mat-step",7),i.YNc(2,IB,2,3,"ng-template",8),i.TgZ(3,"form",9),i.TgZ(4,"h5",10),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"div",11),i.TgZ(8,"mat-checkbox",12),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.TgZ(11,"mat-form-field"),i._UZ(12,"input",13),i.ALo(13,"translate"),i.YNc(14,OB,3,3,"mat-error",14),i.qZA(),i.TgZ(15,"mat-form-field",15),i.NdJ("click",function(){return i.CHM(e),i.MAs(22).open()}),i.TgZ(16,"mat-label"),i._uU(17),i.ALo(18,"translate"),i.qZA(),i._UZ(19,"input",16),i._UZ(20,"mat-datepicker-toggle",17),i.TgZ(21,"mat-datepicker",18,19),i.NdJ("yearSelected",function(s){i.CHM(e);const a=i.MAs(22);return i.oxw().chosenYearHandler(s,a)}),i.qZA(),i.YNc(23,HB,3,3,"mat-error",14),i.qZA(),i.TgZ(24,"mat-form-field"),i.TgZ(25,"mat-select",20),i.ALo(26,"translate"),i.YNc(27,FB,2,2,"mat-option",21),i.qZA(),i.YNc(28,zB,3,3,"mat-error",14),i.qZA(),i.TgZ(29,"mat-form-field"),i._UZ(30,"input",22),i.ALo(31,"translate"),i.qZA(),i.TgZ(32,"mat-form-field"),i._UZ(33,"input",23),i.ALo(34,"translate"),i.qZA(),i.TgZ(35,"mat-form-field"),i.TgZ(36,"textarea",24),i.ALo(37,"translate"),i._uU(38," "),i.qZA(),i.YNc(39,NB,3,3,"mat-error",14),i.qZA(),i.qZA(),i.qZA(),i.TgZ(40,"div",25),i.TgZ(41,"button",26),i._uU(42),i.ALo(43,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(44,"mat-step",27),i.YNc(45,BB,2,3,"ng-template",8),i.TgZ(46,"form",28),i.TgZ(47,"h5",10),i._uU(48),i.ALo(49,"translate"),i.qZA(),i.YNc(50,YB,5,3,"div",29),i.YNc(51,jB,16,12,"app-alert",30),i.YNc(52,JB,6,1,"mat-tab-group",14),i.YNc(53,QB,6,3,"div",29),i.qZA(),i.YNc(54,tY,6,5,"div",31),i.qZA(),i.TgZ(55,"mat-step"),i.YNc(56,iY,2,3,"ng-template",8),i.TgZ(57,"h5",10),i._uU(58),i.ALo(59,"translate"),i.qZA(),i.YNc(60,nY,1,0,"mat-spinner",3),i.YNc(61,oY,5,4,"div",14),i.YNc(62,aY,5,4,"div",32),i.qZA(),i.TgZ(63,"mat-step"),i.YNc(64,cY,2,3,"ng-template",8),i.TgZ(65,"h5",10),i._uU(66),i.ALo(67,"translate"),i.qZA(),i.YNc(68,lY,1,2,"perun-web-apps-add-thanks",33),i.YNc(69,uY,1,0,"mat-spinner",3),i.TgZ(70,"div",25),i.TgZ(71,"button",34),i._uU(72),i.ALo(73,"translate"),i.qZA(),i.TgZ(74,"button",35),i.NdJ("click",function(){i.CHM(e);const s=i.oxw();return s.redirect(["all-publications",s.publication.id])}),i._uU(75),i.ALo(76,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(22),t=i.oxw();i.xp6(1),i.Q6J("editable",!t.duplicateCheck)("stepControl",t.publicationControl),i.xp6(2),i.Q6J("formGroup",t.publicationControl),i.xp6(2),i.hij(" ",i.lcZ(6,37,"CREATE_SINGLE_PUBLICATION.PUB_INFO")," "),i.xp6(4),i.hij(" ",i.lcZ(10,39,"CREATE_SINGLE_PUBLICATION.ADD_MYSELF")," "),i.xp6(3),i.s9C("placeholder",i.lcZ(13,41,"CREATE_SINGLE_PUBLICATION.SET_TITLE")),i.xp6(2),i.Q6J("ngIf",t.publicationControl.hasError("required","title")),i.xp6(3),i.Oqu(i.lcZ(18,43,"CREATE_SINGLE_PUBLICATION.YEAR")),i.xp6(2),i.Q6J("max",t.maxYear)("matDatepicker",e),i.xp6(1),i.Q6J("for",e),i.xp6(3),i.Q6J("ngIf",t.publicationControl.hasError("required","year")),i.xp6(2),i.s9C("placeholder",i.lcZ(26,45,"CREATE_SINGLE_PUBLICATION.CATEGORY")),i.xp6(2),i.Q6J("ngForOf",t.categories),i.xp6(1),i.Q6J("ngIf",t.publicationControl.hasError("required","category")),i.xp6(2),i.s9C("placeholder",i.lcZ(31,47,"CREATE_SINGLE_PUBLICATION.ISBN")),i.xp6(3),i.s9C("placeholder",i.lcZ(34,49,"CREATE_SINGLE_PUBLICATION.DOI")),i.xp6(3),i.s9C("placeholder",i.lcZ(37,51,"CREATE_SINGLE_PUBLICATION.CITE")),i.xp6(3),i.Q6J("ngIf",t.publicationControl.hasError("required","cite")),i.xp6(2),i.Q6J("disabled",t.publicationControl.invalid),i.xp6(1),i.hij(" ",i.lcZ(43,53,"CREATE_SINGLE_PUBLICATION.NEXT")," "),i.xp6(2),i.Q6J("editable",!t.duplicateCheck),i.xp6(4),i.hij(" ",i.lcZ(49,55,"CREATE_SINGLE_PUBLICATION.SIMILARITY_CHECK")," "),i.xp6(2),i.Q6J("ngIf",t.innerLoading),i.xp6(1),i.Q6J("ngIf",!t.innerLoading&&!t.duplicateCheck),i.xp6(1),i.Q6J("ngIf",!t.innerLoading&&!t.duplicateCheck),i.xp6(1),i.Q6J("ngIf",!t.innerLoading&&t.duplicateCheck),i.xp6(1),i.Q6J("ngIf",!t.innerLoading),i.xp6(4),i.hij(" ",i.lcZ(59,57,"CREATE_SINGLE_PUBLICATION.ADD_AUTHORS")," "),i.xp6(2),i.Q6J("ngIf",t.innerLoading),i.xp6(1),i.Q6J("ngIf",!t.innerLoading),i.xp6(1),i.Q6J("ngIf",!t.innerLoading),i.xp6(4),i.hij(" ",i.lcZ(67,59,"CREATE_SINGLE_PUBLICATION.ADD_THANKS")," "),i.xp6(2),i.Q6J("ngIf",null!==t.publication),i.xp6(1),i.Q6J("ngIf",t.innerLoading),i.xp6(3),i.hij(" ",i.lcZ(73,61,"CREATE_SINGLE_PUBLICATION.PREV")," "),i.xp6(3),i.hij(" ",i.lcZ(76,63,"CREATE_SINGLE_PUBLICATION.FINISH")," ")}}const hY=bp,fY={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let pY=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this.formBuilder=e,this.cabinetService=t,this.dialog=s,this.router=a,this.notificator=r,this.translate=c,this.storeService=d,this.userService=h,this.similarPublications=[],this.filteredPublications=[],this.categories=[],this.publication=null,this.authorsSelection=new en(!0,[]),this.thanksSelection=new en(!0,[]),this.innerLoading=!1,this.loading=!1,this.duplicateCheck=!1,this.selectedPubId=null,this.selectedPubTitle=""}ngOnInit(){this.loading=!0,this.publicationControl=this.formBuilder.group({addAuthor:[!1],title:["",Oi.required],year:["",Oi.required],category:["",Oi.required],isbn:[""],doi:[""],cite:["",Oi.required]}),this.maxYear=hY(),this.cabinetService.getCategories().subscribe(e=>{this.categories=e,this.loading=!1})}chosenYearHandler(e,t){this.publicationControl.get("year").setValue(e),t.close()}createTimeout(){setTimeout(()=>{this.notificator.showSuccess(this.translate.instant("CREATE_SINGLE_PUBLICATION.SUCCESS")),this.duplicateCheck=!0,this.innerLoading=!1},1e3)}createPublication(){this.innerLoading=!0,this.duplicateCheck=!0;const e={publication:{title:this.publicationControl.get("title").value,categoryId:this.publicationControl.get("category").value.id,year:this.publicationControl.get("year").value.year(),isbn:this.publicationControl.get("isbn").value,doi:this.publicationControl.get("doi").value,main:this.publicationControl.get("cite").value}};this.userService.getRichUserWithAttributes(this.storeService.getPerunPrincipal().userId).subscribe(t=>{const s=t.userAttributes.filter(a=>"preferredMail"===a.friendlyName);0!==s.length&&(e.publication.createdBy=s[0].value),this.cabinetService.createPublication(e).subscribe(a=>{this.publication=a,this.publicationControl.get("addAuthor").value?this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:this.publication.id,userId:t.id}}).subscribe(()=>{this.createTimeout()},()=>this.innerLoading=!1):this.createTimeout()},()=>this.innerLoading=!1)},()=>this.innerLoading=!1)}similarCheck(){this.innerLoading=!0;const e=this.publicationControl.get("title").value?this.publicationControl.get("title").value:null,t=this.publicationControl.get("doi").value?this.publicationControl.get("doi").value:null,s=this.publicationControl.get("isbn").value?this.publicationControl.get("isbn").value:null;this.cabinetService.findSimilarPublications(e,t,s).subscribe(a=>{this.similarPublications=a,this.filteredPublications=a,setTimeout(()=>{this.duplicateCheck=0===a.length,this.innerLoading=!1},2e3)})}stepChanged(e){1===e.selectedIndex&&this.similarCheck(),2===e.selectedIndex&&null===this.publication&&this.createPublication()}redirect(e){this.router.navigate(e)}loadPublicationDetail(e,t){this.selectedPubId=e.id,this.selectedPubTitle=e.title,t.selectedIndex=1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(VS),i.Y36(ai),i.Y36(Xi),i.Y36(Ri),i.Y36(Fn),i.Y36(Ii),i.Y36(Mn),i.Y36($t))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-create-single-publication-page"]],features:[i._Bn([{provide:vi,useClass:m_,deps:[Pc]},{provide:Ms,useValue:fY}])],decls:9,vars:5,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"add-icon","mr-1"],["class","ml-auto mr-auto",4,"ngIf"],["linear","True",3,"selectionChange",4,"ngIf"],[1,"ml-auto","mr-auto"],["linear","True",3,"selectionChange"],[3,"editable","stepControl"],["matStepLabel",""],[3,"formGroup"],[1,"mt-2"],[1,"dialog-container","w-50"],["labelPosition","before","formControlName","addAuthor",1,"mt-3"],["matInput","","formControlName","title","required","",3,"placeholder"],[4,"ngIf"],[3,"click"],["matInput","","required","","formControlName","year","readonly","",1,"disable",3,"max","matDatepicker"],["matSuffix","",3,"for"],["startView","multi-year",3,"yearSelected"],["sdp",""],["required","","formControlName","category",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["matInput","","formControlName","isbn",3,"placeholder"],["matInput","","formControlName","doi",3,"placeholder"],["matInput","","formControlName","cite","required","",3,"placeholder"],[1,"mt-1"],["mat-stroked-button","","type","button","matStepperNext","",1,"ml-auto",3,"disabled"],[3,"editable"],[1,"flex-container"],["class","flex-container",4,"ngIf"],["class","w-100","alert_type","warn",4,"ngIf"],["class","mt-3",4,"ngIf"],["class","mt-1",4,"ngIf"],[3,"publication","selection",4,"ngIf"],["mat-stroked-button","","type","button","matStepperPrevious","",1,"ml-auto"],["mat-flat-button","","type","button","color","accent",1,"ml-2",3,"click"],[3,"value"],[1,"ml-auto","mr-auto","mt-1","font-weight-bold"],["alert_type","warn",1,"w-100"],[1,"font-weight-bold"],[1,"mt-2","ml-3"],[1,"dot-icon"],[1,"ml-3"],["similarPublicationTabs",""],["matTabLabel",""],["matTabContent",""],[1,"flex-container","mb-2"],[3,"displayedColumns","disabledRouting","openInTab","publications","publicationSelector",4,"ngIf"],[3,"displayedColumns","disabledRouting","openInTab","publications","publicationSelector"],[1,"mt-4"],[3,"publicationId"],[1,"ml-auto","mr-auto","passed-icon"],[1,"ml-auto","mr-auto","font-weight-bold"],[1,"mt-3"],["class","ml-auto","mat-stroked-button","","type","button","matStepperPrevious","",4,"ngIf"],["mat-flat-button","","color","accent","type","button","matStepperNext","",1,"ml-2"],["class","ml-2","mat-stroked-button","","type","button",3,"click",4,"ngIf"],["mat-stroked-button","","type","button",1,"ml-2",3,"click"],["alert_type","info"],[3,"publication","selection"],["mat-stroked-button","","type","button","matStepperNext","",1,"ml-2"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"span"),i.TgZ(3,"mat-icon",2),i._uU(4,"add_box"),i.qZA(),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,LB,1,0,"mat-spinner",3),i.YNc(8,dY,77,65,"mat-horizontal-stepper",4),i.qZA()),2&e&&(i.xp6(5),i.hij(" ",i.lcZ(6,3,"CREATE_SINGLE_PUBLICATION.TITLE")," "),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[tn,b.O5,vn,CE,AE,VA,Ud,If,Pa,su,ds,iA,ls,nr,us,tr,Ic,Es,d_,$0,mm,Z0,qd,b.sg,Lc,Bt,cI,Hc,Fa,RB,AD,mB,gB,_p,y_,lI,fD,pD],pipes:[gt],styles:[".add-icon[_ngcontent-%COMP%]{font-size:32px;vertical-align:text-top}.dot-icon[_ngcontent-%COMP%]{font-size:small;vertical-align:-1px}.passed-icon[_ngcontent-%COMP%]{font-size:130px;color:#288619;margin-bottom:130px;padding-right:120px}.flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function gY(n,o){if(1&n&&(i.TgZ(0,"mat-option",14),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.Oqu(e.friendlyName)}}function mY(n,o){1&n&&(i.TgZ(0,"app-alert",15),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.INFO")," "))}function _Y(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",16),2&n){const e=i.oxw(2);i.Q6J("publications",e.publications)("displayedColumns",e.displayedColumns)("selection",e.selected)("tableId",e.tableId)("disabledRouting",!0)("allowAlert",e.firstSearchDone)}}function yY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div"),i.TgZ(2,"mat-form-field",5),i.TgZ(3,"mat-label"),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"mat-select",6),i.NdJ("closed",function(){return i.CHM(e),i.oxw().selectPubSystem()}),i.YNc(7,gY,2,2,"mat-option",7),i.qZA(),i.qZA(),i._UZ(8,"perun-web-apps-year-range",8),i.TgZ(9,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().searchPublications()}),i.TgZ(10,"mat-icon"),i._uU(11,"search"),i.qZA(),i._uU(12),i.ALo(13,"translate"),i.qZA(),i.TgZ(14,"button",10),i.NdJ("click",function(){i.CHM(e);const s=i.oxw();return s.importPublications(s.selected.selected)}),i._uU(15),i.ALo(16,"translate"),i.qZA(),i.TgZ(17,"mat-checkbox",11),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().userAsAuthor=s}),i._uU(18),i.ALo(19,"translate"),i.qZA(),i.qZA(),i.YNc(20,mY,3,3,"app-alert",12),i.YNc(21,_Y,1,6,"perun-web-apps-publications-list",13),i.qZA()}if(2&n){const e=i.oxw();i.xp6(4),i.Oqu(i.lcZ(5,12,"IMPORT_PUBLICATIONS.EXT_PUB_SYSTEM")),i.xp6(2),i.Q6J("formControl",e.pubSystem),i.xp6(1),i.Q6J("ngForOf",e.publicationSystems),i.xp6(1),i.Q6J("startYear",e.startYear)("endYear",e.endYear),i.xp6(4),i.hij(" ",i.lcZ(13,14,"IMPORT_PUBLICATIONS.SEARCH")," "),i.xp6(2),i.Q6J("disabled",0===e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(16,16,"IMPORT_PUBLICATIONS.IMPORT")," "),i.xp6(2),i.Q6J("ngModel",e.userAsAuthor),i.xp6(1),i.hij(" ",i.lcZ(19,18,"IMPORT_PUBLICATIONS.ADD_MYSELF")," "),i.xp6(2),i.Q6J("ngIf",!e.firstSearchDone),i.xp6(1),i.Q6J("ngIf",!e.loading)}}function bY(n,o){1&n&&i._UZ(0,"mat-spinner",17)}function wY(n,o){1&n&&(i.TgZ(0,"i"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.NOT_CHECKED")," "))}function AY(n,o){1&n&&(i.TgZ(0,"mat-icon",28),i._uU(1,"check_circle"),i.qZA())}function vY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",29),i.NdJ("click",function(){i.CHM(e);const s=i.oxw(),a=s.$implicit,r=s.index;return i.oxw(2).completePublication(a.id,r)}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.CHECKED_BUTTON")," "))}function CY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",30),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw(2).incompletePublication(s.id)}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.NOT_CHECKED_BUTTON")," "))}function TY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",22),i.TgZ(1,"mat-expansion-panel-header",23),i.NdJ("click",function(){const a=i.CHM(e).index;return i.oxw(2).editPublication(a)}),i.TgZ(2,"mat-panel-title"),i._uU(3),i.YNc(4,wY,3,3,"i",3),i.YNc(5,AY,2,0,"mat-icon",24),i.qZA(),i.qZA(),i._UZ(6,"perun-web-apps-publication-detail",25),i.TgZ(7,"div",26),i.YNc(8,vY,3,3,"button",20),i.YNc(9,CY,3,3,"button",27),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw(2);i.Q6J("expanded",s.indexExpanded===t),i.xp6(3),i.hij(" ",e.title," "),i.xp6(1),i.Q6J("ngIf",!s.completePublications.includes(e.id)),i.xp6(1),i.Q6J("ngIf",s.completePublications.includes(e.id)),i.xp6(1),i.Q6J("publicationId",e.id),i.xp6(2),i.Q6J("ngIf",!s.completePublications.includes(e.id)),i.xp6(1),i.Q6J("ngIf",s.completePublications.includes(e.id))}}function MY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",29),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).completeAllPublications()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.CHECK_ALL")," "))}function SY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",31),i.ALo(1,"translate"),i.TgZ(2,"button",32),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).onSubmit()}),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.s9C("matTooltip",i.lcZ(1,4,"IMPORT_PUBLICATIONS.SUBMIT_TOOLTIP")),i.Q6J("matTooltipPosition","above")("matTooltipDisabled",e.completePublications.length===e.importedPublications.length),i.xp6(3),i.hij(" ",i.lcZ(4,6,"IMPORT_PUBLICATIONS.FINISH")," ")}}function kY(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"app-alert",15),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"mat-accordion"),i.YNc(5,TY,10,7,"mat-expansion-panel",18),i.qZA(),i.TgZ(6,"div",19),i.YNc(7,MY,3,3,"button",20),i.qZA(),i.YNc(8,SY,5,8,"div",21),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,4,"IMPORT_PUBLICATIONS.IMPORTED_INFO")," "),i.xp6(3),i.Q6J("ngForOf",e.importedPublications),i.xp6(2),i.Q6J("ngIf",e.completePublications.length!==e.importedPublications.length),i.xp6(1),i.Q6J("ngIf",e.completePublications.length===e.importedPublications.length)}}const kD=bp,EY={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}},DY=[{path:"",redirectTo:"all-publications",pathMatch:"full"},{path:"login",component:ZN},{path:"service-access",component:WN},{path:"all-publications",component:v2},{path:"my-publications",component:S2},{path:"create-publication",component:k2},{path:"create-publication/import",component:(()=>{class n{constructor(e,t,s,a,r,c){this.cabinetService=e,this.storeService=t,this.notificator=s,this.translate=a,this.router=r,this.dialog=c,this.loading=!1,this.publicationSystems=[],this.pubSystem=new ki,this.publications=[],this.selected=new en(!0,[]),this.tableId="74",this.displayedColumns=["select","id","lock","title","reportedBy","year","category"],this.userAsAuthor=!0,this.importedPublications=[],this.importDone=!1,this.completePublications=[]}ngOnInit(){this.loading=!0,this.firstSearchDone=!1,this.userId=this.storeService.getPerunPrincipal().user.id,this.startYear=new ki(kD().subtract(1,"year")),this.endYear=new ki(kD()),this.cabinetService.getPublicationSystems().subscribe(e=>{this.publicationSystems=e.filter(t=>"INTERNAL"!==t.friendlyName),this.pubSystem.setValue(this.publicationSystems[0]),this.pubSystemNamespace=this.pubSystem.value.loginNamespace,this.loading=!1})}selectPubSystem(){this.pubSystemNamespace=this.pubSystem.value.loginNamespace}searchPublications(){this.loading=!0,this.firstSearchDone=!0,this.cabinetService.findExternalPublications(this.storeService.getPerunPrincipal().user.id,this.startYear.value.year(),this.endYear.value.year(),this.pubSystemNamespace).subscribe(e=>{this.publications=e,this.loading=!1},()=>this.loading=!1)}importPublications(e){if(this.loading=!0,0===e.length)return this.notificator.showSuccess(this.translate.instant("IMPORT_PUBLICATIONS.SUCCESS")),this.importDone=!0,this.indexExpanded=0,void(this.loading=!1);const t=e.shift();this.cabinetService.createPublication({publication:{title:t.title,categoryId:t.categoryId,year:t.year,isbn:t.isbn,doi:t.doi,main:t.main}}).subscribe(a=>{this.userAsAuthor?this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:a.id,userId:this.userId}}).subscribe(()=>{this.importedPublications.push(a),this.importPublications(e)},()=>this.loading=!1):(this.importedPublications.push(a),this.importPublications(e))},()=>this.loading=!1)}editPublication(e){this.indexExpanded=e===this.indexExpanded?-1:e}completePublication(e,t){this.completePublications.includes(e)||this.completePublications.push(e),this.indexExpanded=t!==this.importedPublications.length-1?t+1:-1}incompletePublication(e){this.completePublications.includes(e)&&(this.completePublications=this.completePublications.filter(t=>t!==e)),this.indexExpanded=-1}completeAllPublications(){const e=ts();e.width="500px",e.data={theme:"user-theme",message:this.translate.instant("IMPORT_PUBLICATIONS.CHECK_ALL_MESSAGE")},this.dialog.open(lR,e).afterClosed().subscribe(s=>{s&&this.onSubmit()})}onSubmit(){this.notificator.showSuccess(this.translate.instant("IMPORT_PUBLICATIONS.SHOW_FINISH")),this.router.navigate(["/my-publications"])}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai),i.Y36(Mn),i.Y36(Fn),i.Y36(Ii),i.Y36(Ri),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-import-publications-page"]],features:[i._Bn([{provide:vi,useClass:m_,deps:[Pc]},{provide:Ms,useValue:EY}])],decls:10,vars:6,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"add-icon","mr-1"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"input-width-300","mr-2"],[3,"formControl","closed"],["class","group-theme",3,"value",4,"ngFor","ngForOf"],[3,"startYear","endYear"],["mat-stroked-button","",1,"left-space",3,"click"],["mat-flat-button","","color","accent",1,"left-space",3,"disabled","click"],[1,"mt-3","left-space",3,"ngModel","ngModelChange"],["alert_type","info",4,"ngIf"],[3,"publications","displayedColumns","selection","tableId","disabledRouting","allowAlert",4,"ngIf"],[1,"group-theme",3,"value"],["alert_type","info"],[3,"publications","displayedColumns","selection","tableId","disabledRouting","allowAlert"],[1,"ml-auto","mr-auto"],[3,"expanded",4,"ngFor","ngForOf"],[1,"right-button"],["mat-flat-button","","class","width-100","color","accent",3,"click",4,"ngIf"],["class","right-button",3,"matTooltip","matTooltipPosition","matTooltipDisabled",4,"ngIf"],[3,"expanded"],[3,"click"],["color","accent","class","checked-icon",4,"ngIf"],[3,"publicationId"],[1,"fit-content"],["mat-stroked-button","","class","width-100",3,"click",4,"ngIf"],["color","accent",1,"checked-icon"],["mat-flat-button","","color","accent",1,"width-100",3,"click"],["mat-stroked-button","",1,"width-100",3,"click"],[1,"right-button",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"span"),i.TgZ(3,"mat-icon",2),i._uU(4,"add_box"),i.qZA(),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,yY,22,20,"div",3),i.YNc(8,bY,1,0,"mat-spinner",4),i.YNc(9,kY,9,6,"div",3),i.qZA()),2&e&&(i.xp6(5),i.hij(" ",i.lcZ(6,4,"IMPORT_PUBLICATIONS.TITLE")," "),i.xp6(2),i.Q6J("ngIf",!t.importDone),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",t.importDone))},directives:[tn,b.O5,ls,Es,qd,ds,Ws,b.sg,Lc,uD,Bt,su,jd,Fa,_p,vn,SL,uE,dE,ML,y_,jc],pipes:[gt],styles:[".input-width-300[_ngcontent-%COMP%]{width:300px}.left-space[_ngcontent-%COMP%]{margin-left:10px}mat-panel-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:5px}.checked-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-left:5px}.right-button[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;margin-top:20px;margin-left:auto;margin-right:0}.fit-content[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;margin-top:15px}.width-100[_ngcontent-%COMP%]{width:100%}"]}),n})()},{path:"create-publication/create",component:pY},{path:"authors",component:X2},{path:"authors/:authorId",component:iz},{path:"authors/:authorId/publication/:publicationId",component:y_},{path:"all-publications/:publicationId",component:y_},{path:"my-publications/:publicationId",component:y_},{path:"categories",component:OF},{path:"publication-systems",component:QF}];let xY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Rh.forRoot(DY,{preloadingStrategy:me,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],Rh]}),n})();const RY={provide:D.TP,useExisting:(0,i.Gpc)(()=>Tk),multi:!0};function PY(n){return new qP(n,"./assets/i18n/",".json")}function LY(n){const o={basePath:n.get("api_url")};return new qe(o)}const IY=n=>()=>n.loadConfigs();let OY=(()=>{class n{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ck),i.LFG(Ii))},n.\u0275mod=i.oAB({type:n,bootstrap:[VP]}),n.\u0275inj=i.cJS({providers:[Ck,{provide:i.ip1,useFactory:IY,multi:!0,deps:[ZP]},{provide:qe,useFactory:LY,deps:[Mn]},Tk,RY,{provide:$P,useClass:U1},_2],imports:[[Lo,Sd.forRoot({loader:{provide:Md,useFactory:PY,deps:[D.eN]}}),Lb,PH,WP,eh,D.JF,xY,Q0,Sk,KN,PB,bk,nm.zr.forRoot()]]}),n})();(0,i.G48)(),Po().bootstrapModule(OY).catch(n=>console.error(n))},1302:function(Y,U,w){var b;!function(i,T){var v={};!function(i){"use strict";i.__esModule=!0,i.digestLength=32,i.blockSize=64;var T=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function v(X,re,ee,ae,de){for(var Ie,Oe,Ve,Pt,xt,We,an,yt,ft,ue,fe,_e,ge;de>=64;){for(Ie=re[0],Oe=re[1],Ve=re[2],Pt=re[3],xt=re[4],We=re[5],an=re[6],yt=re[7],ue=0;ue<16;ue++)X[ue]=(255&ee[fe=ae+4*ue])<<24|(255&ee[fe+1])<<16|(255&ee[fe+2])<<8|255&ee[fe+3];for(ue=16;ue<64;ue++)X[ue]=((_e=((ft=X[ue-2])>>>17|ft<<15)^(ft>>>19|ft<<13)^ft>>>10)+X[ue-7]|0)+((ge=((ft=X[ue-15])>>>7|ft<<25)^(ft>>>18|ft<<14)^ft>>>3)+X[ue-16]|0);for(ue=0;ue<64;ue++)_e=(((xt>>>6|xt<<26)^(xt>>>11|xt<<21)^(xt>>>25|xt<<7))+(xt&We^~xt&an)|0)+(yt+(T[ue]+X[ue]|0)|0)|0,ge=((Ie>>>2|Ie<<30)^(Ie>>>13|Ie<<19)^(Ie>>>22|Ie<<10))+(Ie&Oe^Ie&Ve^Oe&Ve)|0,yt=an,an=We,We=xt,xt=Pt+_e|0,Pt=Ve,Ve=Oe,Oe=Ie,Ie=_e+ge|0;re[0]+=Ie,re[1]+=Oe,re[2]+=Ve,re[3]+=Pt,re[4]+=xt,re[5]+=We,re[6]+=an,re[7]+=yt,ae+=64,de-=64}return ae}var C=function(){function X(){this.digestLength=i.digestLength,this.blockSize=i.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return X.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},X.prototype.clean=function(){for(var re=0;re0){for(;this.bufferLength<64&&ee>0;)this.buffer[this.bufferLength++]=re[ae++],ee--;64===this.bufferLength&&(v(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ee>=64&&(ae=v(this.temp,this.state,re,ae,ee),ee%=64);ee>0;)this.buffer[this.bufferLength++]=re[ae++],ee--;return this},X.prototype.finish=function(re){if(!this.finished){var ee=this.bytesHashed,ae=this.bufferLength,de=ee/536870912|0,Ie=ee<<3,Oe=ee%64<56?64:128;this.buffer[ae]=128;for(var Ve=ae+1;Ve>>24&255,this.buffer[Oe-7]=de>>>16&255,this.buffer[Oe-6]=de>>>8&255,this.buffer[Oe-5]=de>>>0&255,this.buffer[Oe-4]=Ie>>>24&255,this.buffer[Oe-3]=Ie>>>16&255,this.buffer[Oe-2]=Ie>>>8&255,this.buffer[Oe-1]=Ie>>>0&255,v(this.temp,this.state,this.buffer,0,Oe),this.finished=!0}for(Ve=0;Ve<8;Ve++)re[4*Ve+0]=this.state[Ve]>>>24&255,re[4*Ve+1]=this.state[Ve]>>>16&255,re[4*Ve+2]=this.state[Ve]>>>8&255,re[4*Ve+3]=this.state[Ve]>>>0&255;return this},X.prototype.digest=function(){var re=new Uint8Array(this.digestLength);return this.finish(re),re},X.prototype._saveState=function(re){for(var ee=0;eethis.blockSize)(new C).update(re).finish(ee).clean();else for(var ae=0;ae1&&re.update(X),ee&&re.update(ee),re.update(ae),re.finish(X),ae[0]++}i.HMAC=E,i.hash=R,i.default=R,i.hmac=H;var N=new Uint8Array(i.digestLength);i.hkdf=function V(X,re,ee,ae){void 0===re&&(re=N),void 0===ae&&(ae=32);for(var de=new Uint8Array([1]),Ie=H(re,X),Oe=new E(Ie),Ve=new Uint8Array(Oe.digestLength),Pt=Ve.length,xt=new Uint8Array(ae),We=0;We>>24&255,Oe[1]=an>>>16&255,Oe[2]=an>>>8&255,Oe[3]=an>>>0&255,de.reset(),de.update(re),de.update(Oe),de.finish(Pt);for(var yt=0;yt=V.status}function E(N){try{N.dispatchEvent(new MouseEvent("click"))}catch(J){var V=document.createEvent("MouseEvents");V.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),N.dispatchEvent(V)}}var R="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,H=R.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),B=R.saveAs||("object"!=typeof window||window!==R?function(){}:"download"in HTMLAnchorElement.prototype&&!H?function(N,V,J){var X=R.URL||R.webkitURL,re=document.createElement("a");re.download=V=V||N.name||"download",re.rel="noopener","string"==typeof N?(re.href=N,re.origin===location.origin?E(re):C(re.href)?v(N,V,J):E(re,re.target="_blank")):(re.href=X.createObjectURL(N),setTimeout(function(){X.revokeObjectURL(re.href)},4e4),setTimeout(function(){E(re)},0))}:"msSaveOrOpenBlob"in navigator?function(N,V,J){if(V=V||N.name||"download","string"!=typeof N)navigator.msSaveOrOpenBlob(function T(N,V){return void 0===V?V={autoBom:!1}:"object"!=typeof V&&(console.warn("Deprecated: Expected third argument to be a object"),V={autoBom:!V}),V.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(N.type)?new Blob(["\ufeff",N],{type:N.type}):N}(N,J),V);else if(C(N))v(N,V,J);else{var X=document.createElement("a");X.href=N,X.target="_blank",setTimeout(function(){E(X)})}}:function(N,V,J,X){if((X=X||open("","_blank"))&&(X.document.title=X.document.body.innerText="downloading..."),"string"==typeof N)return v(N,V,J);var re="application/octet-stream"===N.type,ee=/constructor/i.test(R.HTMLElement)||R.safari,ae=/CriOS\/[\d]+/.test(navigator.userAgent);if((ae||re&&ee||H)&&"undefined"!=typeof FileReader){var de=new FileReader;de.onloadend=function(){var Ve=de.result;Ve=ae?Ve:Ve.replace(/^data:[^;]*;/,"data:attachment/file;"),X?X.location.href=Ve:location=Ve,X=null},de.readAsDataURL(N)}else{var Ie=R.URL||R.webkitURL,Oe=Ie.createObjectURL(N);X?X.location=Oe:location.href=Oe,X=null,setTimeout(function(){Ie.revokeObjectURL(Oe)},4e4)}});R.saveAs=B.saveAs=B,Y.exports=B}.apply(U,[]))&&(Y.exports=i)},7088:function(Y,U,w){!function(b){"use strict";b.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(T){return/^nm$/i.test(T)},meridiem:function(T,v,C){return T<12?C?"vm":"VM":C?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(T){return T+(1===T||8===T||T>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},2502:function(Y,U,w){!function(b){"use strict";var i=function(R){return 0===R?0:1===R?1:2===R?2:R%100>=3&&R%100<=10?3:R%100>=11?4:5},T={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},v=function(R){return function(H,B,N,V){var J=i(H),X=T[R][i(H)];return 2===J&&(X=X[B?0:1]),X.replace(/%d/i,H)}},C=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];b.defineLocale("ar-dz",{months:C,monthsShort:C,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(R){return"\u0645"===R},meridiem:function(R,H,B){return R<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:v("s"),ss:v("s"),m:v("m"),mm:v("m"),h:v("h"),hh:v("h"),d:v("d"),dd:v("d"),M:v("M"),MM:v("M"),y:v("y"),yy:v("y")},postformat:function(R){return R.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(w(5439))},128:function(Y,U,w){!function(b){"use strict";b.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(w(5439))},4519:function(Y,U,w){!function(b){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},T=function(H){return 0===H?0:1===H?1:2===H?2:H%100>=3&&H%100<=10?3:H%100>=11?4:5},v={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},C=function(H){return function(B,N,V,J){var X=T(B),re=v[H][T(B)];return 2===X&&(re=re[N?0:1]),re.replace(/%d/i,B)}},E=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];b.defineLocale("ar-ly",{months:E,monthsShort:E,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(H){return"\u0645"===H},meridiem:function(H,B,N){return H<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:C("s"),ss:C("s"),m:C("m"),mm:C("m"),h:C("h"),hh:C("h"),d:C("d"),dd:C("d"),M:C("M"),MM:C("M"),y:C("y"),yy:C("y")},preparse:function(H){return H.replace(/\u060c/g,",")},postformat:function(H){return H.replace(/\d/g,function(B){return i[B]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},5443:function(Y,U,w){!function(b){"use strict";b.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(w(5439))},7642:function(Y,U,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};b.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(C){return"\u0645"===C},meridiem:function(C,E,R){return C<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(E){return T[E]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(w(5439))},8592:function(Y,U,w){!function(b){"use strict";b.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(w(5439))},7038:function(Y,U,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},v=function(B){return 0===B?0:1===B?1:2===B?2:B%100>=3&&B%100<=10?3:B%100>=11?4:5},C={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},E=function(B){return function(N,V,J,X){var re=v(N),ee=C[B][v(N)];return 2===re&&(ee=ee[V?0:1]),ee.replace(/%d/i,N)}},R=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];b.defineLocale("ar",{months:R,monthsShort:R,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(B){return"\u0645"===B},meridiem:function(B,N,V){return B<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:E("s"),ss:E("s"),m:E("m"),mm:E("m"),h:E("h"),hh:E("h"),d:E("d"),dd:E("d"),M:E("M"),MM:E("M"),y:E("y"),yy:E("y")},preparse:function(B){return B.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(N){return T[N]}).replace(/\u060c/g,",")},postformat:function(B){return B.replace(/\d/g,function(N){return i[N]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},1213:function(Y,U,w){!function(b){"use strict";var i={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};b.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(v){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(v)},meridiem:function(v,C,E){return v<4?"gec\u0259":v<12?"s\u0259h\u0259r":v<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(v){if(0===v)return v+"-\u0131nc\u0131";var C=v%10;return v+(i[C]||i[v%100-C]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9191:function(Y,U,w){!function(b){"use strict";function T(C,E,R){return"m"===R?E?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===R?E?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":C+" "+function i(C,E){var R=C.split("_");return E%10==1&&E%100!=11?R[0]:E%10>=2&&E%10<=4&&(E%100<10||E%100>=20)?R[1]:R[2]}({ss:E?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:E?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:E?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[R],+C)}b.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:T,mm:T,h:T,hh:T,d:"\u0434\u0437\u0435\u043d\u044c",dd:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(C){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(C)},meridiem:function(C,E,R){return C<4?"\u043d\u043e\u0447\u044b":C<12?"\u0440\u0430\u043d\u0456\u0446\u044b":C<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(C,E){switch(E){case"M":case"d":case"DDD":case"w":case"W":return C%10!=2&&C%10!=3||C%100==12||C%100==13?C+"-\u044b":C+"-\u0456";case"D":return C+"-\u0433\u0430";default:return C}},week:{dow:1,doy:7}})}(w(5439))},322:function(Y,U,w){!function(b){"use strict";b.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(T){var v=T%10,C=T%100;return 0===T?T+"-\u0435\u0432":0===C?T+"-\u0435\u043d":C>10&&C<20?T+"-\u0442\u0438":1===v?T+"-\u0432\u0438":2===v?T+"-\u0440\u0438":7===v||8===v?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},8042:function(Y,U,w){!function(b){"use strict";b.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(w(5439))},5903:function(Y,U,w){!function(b){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};b.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===E?C<4?C:C+12:"\u09ad\u09cb\u09b0"===E||"\u09b8\u0995\u09be\u09b2"===E?C:"\u09a6\u09c1\u09aa\u09c1\u09b0"===E?C>=3?C:C+12:"\u09ac\u09bf\u0995\u09be\u09b2"===E||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u09b0\u09be\u09a4":C<6?"\u09ad\u09cb\u09b0":C<12?"\u09b8\u0995\u09be\u09b2":C<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<18?"\u09ac\u09bf\u0995\u09be\u09b2":C<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9620:function(Y,U,w){!function(b){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};b.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===E&&C>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===E&&C<5||"\u09ac\u09bf\u0995\u09be\u09b2"===E?C+12:C},meridiem:function(C,E,R){return C<4?"\u09b0\u09be\u09a4":C<10?"\u09b8\u0995\u09be\u09b2":C<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9645:function(Y,U,w){!function(b){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},T={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};b.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(C){return C.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===E&&C>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===E&&C<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===E?C+12:C},meridiem:function(C,E,R){return C<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":C<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":C<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":C<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(w(5439))},5020:function(Y,U,w){!function(b){"use strict";function i(ee,ae,de){return ee+" "+function C(ee,ae){return 2===ae?function E(ee){var ae={m:"v",b:"v",d:"z"};return void 0===ae[ee.charAt(0)]?ee:ae[ee.charAt(0)]+ee.substring(1)}(ee):ee}({mm:"munutenn",MM:"miz",dd:"devezh"}[de],ee)}function v(ee){return ee>9?v(ee%10):ee}var R=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],H=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,X=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];b.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:X,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:X,monthsRegex:H,monthsShortRegex:H,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:R,longMonthsParse:R,shortMonthsParse:R,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:i,h:"un eur",hh:"%d eur",d:"un devezh",dd:i,M:"ur miz",MM:i,y:"ur bloaz",yy:function T(ee){switch(v(ee)){case 1:case 3:case 4:case 5:case 9:return ee+" bloaz";default:return ee+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(ee){return ee+(1===ee?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(ee){return"g.m."===ee},meridiem:function(ee,ae,de){return ee<12?"a.m.":"g.m."}})}(w(5439))},4792:function(Y,U,w){!function(b){"use strict";function i(v,C,E){var R=v+" ";switch(E){case"ss":return R+(1===v?"sekunda":2===v||3===v||4===v?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return R+(1===v?"minuta":2===v||3===v||4===v?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return R+(1===v?"sat":2===v||3===v||4===v?"sata":"sati");case"dd":return R+(1===v?"dan":"dana");case"MM":return R+(1===v?"mjesec":2===v||3===v||4===v?"mjeseca":"mjeseci");case"yy":return R+(1===v?"godina":2===v||3===v||4===v?"godine":"godina")}}b.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7980:function(Y,U,w){!function(b){"use strict";b.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(T,v){var C=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===v||"W"===v)&&(C="a"),T+C},week:{dow:1,doy:4}})}(w(5439))},7322:function(Y,U,w){!function(b){"use strict";var i="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),T="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),v=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],C=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function E(B){return B>1&&B<5&&1!=~~(B/10)}function R(B,N,V,J){var X=B+" ";switch(V){case"s":return N||J?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return N||J?X+(E(B)?"sekundy":"sekund"):X+"sekundami";case"m":return N?"minuta":J?"minutu":"minutou";case"mm":return N||J?X+(E(B)?"minuty":"minut"):X+"minutami";case"h":return N?"hodina":J?"hodinu":"hodinou";case"hh":return N||J?X+(E(B)?"hodiny":"hodin"):X+"hodinami";case"d":return N||J?"den":"dnem";case"dd":return N||J?X+(E(B)?"dny":"dn\xed"):X+"dny";case"M":return N||J?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return N||J?X+(E(B)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):X+"m\u011bs\xedci";case"y":return N||J?"rok":"rokem";case"yy":return N||J?X+(E(B)?"roky":"let"):X+"lety"}}b.defineLocale("cs",{months:i,monthsShort:T,monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:R,ss:R,m:R,mm:R,h:R,hh:R,d:R,dd:R,M:R,MM:R,y:R,yy:R},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},365:function(Y,U,w){!function(b){"use strict";b.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(T){return T+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(T)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(T)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(w(5439))},2092:function(Y,U,w){!function(b){"use strict";b.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(T){var C="";return T>20?C=40===T||50===T||60===T||80===T||100===T?"fed":"ain":T>0&&(C=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][T]),T+C},week:{dow:1,doy:4}})}(w(5439))},7387:function(Y,U,w){!function(b){"use strict";b.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9459:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return C?H[E][0]:H[E][1]}b.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3694:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return C?H[E][0]:H[E][1]}b.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},4307:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return C?H[E][0]:H[E][1]}b.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9659:function(Y,U,w){!function(b){"use strict";var i=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],T=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];b.defineLocale("dv",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(C){return"\u0789\u078a"===C},meridiem:function(C,E,R){return C<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(w(5439))},3460:function(Y,U,w){!function(b){"use strict";b.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(v,C){return v?"string"==typeof C&&/D/.test(C.substring(0,C.indexOf("MMMM")))?this._monthsGenitiveEl[v.month()]:this._monthsNominativeEl[v.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(v,C,E){return v>11?E?"\u03bc\u03bc":"\u039c\u039c":E?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(v){return"\u03bc"===(v+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(v,C){var E=this._calendarEl[v],R=C&&C.hours();return function i(v){return"undefined"!=typeof Function&&v instanceof Function||"[object Function]"===Object.prototype.toString.call(v)}(E)&&(E=E.apply(C)),E.replace("{}",R%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(w(5439))},4369:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:0,doy:4}})}(w(5439))},530:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")}})}(w(5439))},9998:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3391:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},5414:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")}})}(w(5439))},9615:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:0,doy:6}})}(w(5439))},1248:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3767:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},4530:function(Y,U,w){!function(b){"use strict";b.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(T){return"p"===T.charAt(0).toLowerCase()},meridiem:function(T,v,C){return T>11?C?"p.t.m.":"P.T.M.":C?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(w(5439))},8944:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;b.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},9116:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;b.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(w(5439))},3609:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;b.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(w(5439))},6866:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;b.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(w(5439))},6725:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[v+"sekundi",v+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[v+" minuti",v+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[v+" tunni",v+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[v+" kuu",v+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[v+" aasta",v+" aastat"]};return C?H[E][2]?H[E][2]:H[E][1]:R?H[E][0]:H[E][1]}b.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:"%d p\xe4eva",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},7931:function(Y,U,w){!function(b){"use strict";b.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6417:function(Y,U,w){!function(b){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},T={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};b.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(C){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(C)},meridiem:function(C,E,R){return C<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/[\u06f0-\u06f9]/g,function(E){return T[E]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(w(5439))},944:function(Y,U,w){!function(b){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),T=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function v(R,H,B,N){var V="";switch(B){case"s":return N?"muutaman sekunnin":"muutama sekunti";case"ss":V=N?"sekunnin":"sekuntia";break;case"m":return N?"minuutin":"minuutti";case"mm":V=N?"minuutin":"minuuttia";break;case"h":return N?"tunnin":"tunti";case"hh":V=N?"tunnin":"tuntia";break;case"d":return N?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":V=N?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return N?"kuukauden":"kuukausi";case"MM":V=N?"kuukauden":"kuukautta";break;case"y":return N?"vuoden":"vuosi";case"yy":V=N?"vuoden":"vuotta"}return function C(R,H){return R<10?H?T[R]:i[R]:R}(R,N)+" "+V}b.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1766:function(Y,U,w){!function(b){"use strict";b.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(T){return T},week:{dow:1,doy:4}})}(w(5439))},5867:function(Y,U,w){!function(b){"use strict";b.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},6848:function(Y,U,w){!function(b){"use strict";b.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(T,v){switch(v){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}}})}(w(5439))},7773:function(Y,U,w){!function(b){"use strict";b.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(T,v){switch(v){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},1636:function(Y,U,w){!function(b){"use strict";var v=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,C=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];b.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:C,longMonthsParse:C,shortMonthsParse:C,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(R,H){switch(H){case"D":return R+(1===R?"er":"");default:case"M":case"Q":case"DDD":case"d":return R+(1===R?"er":"e");case"w":case"W":return R+(1===R?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},4940:function(Y,U,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),T="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");b.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(C,E){return C?/-MMM-/.test(E)?T[C.month()]:i[C.month()]:i},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(C){return C+(1===C||8===C||C>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1402:function(Y,U,w){!function(b){"use strict";b.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(H){return H+(1===H?"d":H%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6924:function(Y,U,w){!function(b){"use strict";b.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(H){return H+(1===H?"d":H%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6398:function(Y,U,w){!function(b){"use strict";b.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(T){return 0===T.indexOf("un")?"n"+T:"en "+T},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},2457:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[v+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",v+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[v+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",v+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[v+" \u0935\u0930\u093e\u0902\u0928\u0940",v+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[v+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",v+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[v+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",v+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[v+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",v+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return R?H[E][0]:H[E][1]}b.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(v,C){return"D"===C?v+"\u0935\u0947\u0930":v},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(v,C){return 12===v&&(v=0),"\u0930\u093e\u0924\u0940"===C?v<4?v:v+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===C?v:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===C?v>12?v:v+12:"\u0938\u093e\u0902\u091c\u0947"===C?v+12:void 0},meridiem:function(v,C,E){return v<4?"\u0930\u093e\u0924\u0940":v<12?"\u0938\u0915\u093e\u0933\u0940\u0902":v<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":v<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(w(5439))},2545:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={s:["thoddea sekondamni","thodde sekond"],ss:[v+" sekondamni",v+" sekond"],m:["eka mintan","ek minut"],mm:[v+" mintamni",v+" mintam"],h:["eka voran","ek vor"],hh:[v+" voramni",v+" voram"],d:["eka disan","ek dis"],dd:[v+" disamni",v+" dis"],M:["eka mhoinean","ek mhoino"],MM:[v+" mhoineamni",v+" mhoine"],y:["eka vorsan","ek voros"],yy:[v+" vorsamni",v+" vorsam"]};return R?H[E][0]:H[E][1]}b.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(v,C){return"D"===C?v+"er":v},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(v,C){return 12===v&&(v=0),"rati"===C?v<4?v:v+12:"sokallim"===C?v:"donparam"===C?v>12?v:v+12:"sanje"===C?v+12:void 0},meridiem:function(v,C,E){return v<4?"rati":v<12?"sokallim":v<16?"donparam":v<20?"sanje":"rati"}})}(w(5439))},2641:function(Y,U,w){!function(b){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},T={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};b.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(C){return C.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0ab0\u0abe\u0aa4"===E?C<4?C:C+12:"\u0ab8\u0ab5\u0abe\u0ab0"===E?C:"\u0aac\u0aaa\u0acb\u0ab0"===E?C>=10?C:C+12:"\u0ab8\u0abe\u0a82\u0a9c"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u0ab0\u0abe\u0aa4":C<10?"\u0ab8\u0ab5\u0abe\u0ab0":C<17?"\u0aac\u0aaa\u0acb\u0ab0":C<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(w(5439))},7536:function(Y,U,w){!function(b){"use strict";b.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(T){return 2===T?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":T+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(T){return 2===T?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":T+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(T){return 2===T?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":T+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(T){return 2===T?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":T%10==0&&10!==T?T+" \u05e9\u05e0\u05d4":T+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(T){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(T)},meridiem:function(T,v,C){return T<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":T<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":T<12?C?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":T<18?C?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(w(5439))},6335:function(Y,U,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},v=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];b.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:v,longMonthsParse:v,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(R){return R.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(H){return T[H]})},postformat:function(R){return R.replace(/\d/g,function(H){return i[H]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(R,H){return 12===R&&(R=0),"\u0930\u093e\u0924"===H?R<4?R:R+12:"\u0938\u0941\u092c\u0939"===H?R:"\u0926\u094b\u092a\u0939\u0930"===H?R>=10?R:R+12:"\u0936\u093e\u092e"===H?R+12:void 0},meridiem:function(R,H,B){return R<4?"\u0930\u093e\u0924":R<10?"\u0938\u0941\u092c\u0939":R<17?"\u0926\u094b\u092a\u0939\u0930":R<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(w(5439))},7458:function(Y,U,w){!function(b){"use strict";function i(v,C,E){var R=v+" ";switch(E){case"ss":return R+(1===v?"sekunda":2===v||3===v||4===v?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return R+(1===v?"minuta":2===v||3===v||4===v?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return R+(1===v?"sat":2===v||3===v||4===v?"sata":"sati");case"dd":return R+(1===v?"dan":"dana");case"MM":return R+(1===v?"mjesec":2===v||3===v||4===v?"mjeseca":"mjeseci");case"yy":return R+(1===v?"godina":2===v||3===v||4===v?"godine":"godina")}}b.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6540:function(Y,U,w){!function(b){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function T(E,R,H,B){var N=E;switch(H){case"s":return B||R?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return N+(B||R)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(B||R?" perc":" perce");case"mm":return N+(B||R?" perc":" perce");case"h":return"egy"+(B||R?" \xf3ra":" \xf3r\xe1ja");case"hh":return N+(B||R?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(B||R?" nap":" napja");case"dd":return N+(B||R?" nap":" napja");case"M":return"egy"+(B||R?" h\xf3nap":" h\xf3napja");case"MM":return N+(B||R?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(B||R?" \xe9v":" \xe9ve");case"yy":return N+(B||R?" \xe9v":" \xe9ve")}return""}function v(E){return(E?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}b.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(E){return"u"===E.charAt(1).toLowerCase()},meridiem:function(E,R,H){return E<12?!0===H?"de":"DE":!0===H?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return v.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return v.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3165:function(Y,U,w){!function(b){"use strict";b.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(T){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(T)},meridiem:function(T){return T<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":T<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":T<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(T,v){switch(v){case"DDD":case"w":case"W":case"DDDo":return 1===T?T+"-\u056b\u0576":T+"-\u0580\u0564";default:return T}},week:{dow:1,doy:7}})}(w(5439))},8780:function(Y,U,w){!function(b){"use strict";b.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(T,v){return 12===T&&(T=0),"pagi"===v?T:"siang"===v?T>=11?T:T+12:"sore"===v||"malam"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"pagi":T<15?"siang":T<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(w(5439))},4205:function(Y,U,w){!function(b){"use strict";function i(C){return C%100==11||C%10!=1}function T(C,E,R,H){var B=C+" ";switch(R){case"s":return E||H?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(C)?B+(E||H?"sek\xfandur":"sek\xfandum"):B+"sek\xfanda";case"m":return E?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(C)?B+(E||H?"m\xedn\xfatur":"m\xedn\xfatum"):E?B+"m\xedn\xfata":B+"m\xedn\xfatu";case"hh":return i(C)?B+(E||H?"klukkustundir":"klukkustundum"):B+"klukkustund";case"d":return E?"dagur":H?"dag":"degi";case"dd":return i(C)?E?B+"dagar":B+(H?"daga":"d\xf6gum"):E?B+"dagur":B+(H?"dag":"degi");case"M":return E?"m\xe1nu\xf0ur":H?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(C)?E?B+"m\xe1nu\xf0ir":B+(H?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):E?B+"m\xe1nu\xf0ur":B+(H?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return E||H?"\xe1r":"\xe1ri";case"yy":return i(C)?B+(E||H?"\xe1r":"\xe1rum"):B+(E||H?"\xe1r":"\xe1ri")}}b.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:T,ss:T,m:T,mm:T,h:"klukkustund",hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9985:function(Y,U,w){!function(b){"use strict";b.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(T){return(/^[0-9].+$/.test(T)?"tra":"in")+" "+T},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},4211:function(Y,U,w){!function(b){"use strict";b.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},1003:function(Y,U,w){!function(b){"use strict";b.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(T,v){return"\u5143"===v[1]?1:parseInt(v[1]||T,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(T){return"\u5348\u5f8c"===T},meridiem:function(T,v,C){return T<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(T){return T.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(T){return this.week()!==T.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(T,v){switch(v){case"y":return 1===T?"\u5143\u5e74":T+"\u5e74";case"d":case"D":case"DDD":return T+"\u65e5";default:return T}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(w(5439))},420:function(Y,U,w){!function(b){"use strict";b.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(T,v){return 12===T&&(T=0),"enjing"===v?T:"siyang"===v?T>=11?T:T+12:"sonten"===v||"ndalu"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"enjing":T<15?"siyang":T<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(w(5439))},851:function(Y,U,w){!function(b){"use strict";b.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(T){return T.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(v,C,E){return"\u10d8"===E?C+"\u10e8\u10d8":C+E+"\u10e8\u10d8"})},past:function(T){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(T)?T.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(T)?T.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):T},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(T){return 0===T?T:1===T?T+"-\u10da\u10d8":T<20||T<=100&&T%20==0||T%100==0?"\u10db\u10d4-"+T:T+"-\u10d4"},week:{dow:1,doy:7}})}(w(5439))},6074:function(Y,U,w){!function(b){"use strict";var i={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};b.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(v){return v+(i[v]||i[v%10]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},3343:function(Y,U,w){!function(b){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},T={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};b.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(C){return"\u179b\u17d2\u1784\u17b6\u1785"===C},meridiem:function(C,E,R){return C<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(C){return C.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},week:{dow:1,doy:4}})}(w(5439))},4799:function(Y,U,w){!function(b){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},T={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};b.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(C){return C.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===E?C<4?C:C+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===E?C:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===E?C>=10?C:C+12:"\u0cb8\u0c82\u0c9c\u0cc6"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":C<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":C<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":C<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(C){return C+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(w(5439))},3549:function(Y,U,w){!function(b){"use strict";b.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(T,v){switch(v){case"d":case"D":case"DDD":return T+"\uc77c";case"M":return T+"\uc6d4";case"w":case"W":return T+"\uc8fc";default:return T}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(T){return"\uc624\ud6c4"===T},meridiem:function(T,v,C){return T<12?"\uc624\uc804":"\uc624\ud6c4"}})}(w(5439))},1037:function(Y,U,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},v=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];b.defineLocale("ku",{months:v,monthsShort:v,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(E){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(E)},meridiem:function(E,R,H){return E<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(E){return E.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(R){return T[R]}).replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(R){return i[R]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},3125:function(Y,U,w){!function(b){"use strict";var i={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};b.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(v){return v+(i[v]||i[v%10]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9586:function(Y,U,w){!function(b){"use strict";function i(R,H,B,N){var V={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return H?V[B][0]:V[B][1]}function C(R){if(R=parseInt(R,10),isNaN(R))return!1;if(R<0)return!0;if(R<10)return 4<=R&&R<=7;if(R<100){var H=R%10;return C(0===H?R/10:H)}if(R<1e4){for(;R>=10;)R/=10;return C(R)}return C(R/=1e3)}b.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function T(R){return C(R.substr(0,R.indexOf(" ")))?"a "+R:"an "+R},past:function v(R){return C(R.substr(0,R.indexOf(" ")))?"viru "+R:"virun "+R},s:"e puer Sekonnen",ss:"%d Sekonnen",m:i,mm:"%d Minutten",h:i,hh:"%d Stonnen",d:i,dd:"%d Deeg",M:i,MM:"%d M\xe9int",y:i,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2349:function(Y,U,w){!function(b){"use strict";b.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(T){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===T},meridiem:function(T,v,C){return T<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(T){return"\u0e97\u0eb5\u0ec8"+T}})}(w(5439))},2400:function(Y,U,w){!function(b){"use strict";var i={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function v(B,N,V,J){return N?E(V)[0]:J?E(V)[1]:E(V)[2]}function C(B){return B%10==0||B>10&&B<20}function E(B){return i[B].split("_")}function R(B,N,V,J){var X=B+" ";return 1===B?X+v(0,N,V[0],J):N?X+(C(B)?E(V)[1]:E(V)[0]):J?X+E(V)[1]:X+(C(B)?E(V)[1]:E(V)[2])}b.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function T(B,N,V,J){return N?"kelios sekund\u0117s":J?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:R,m:v,mm:R,h:v,hh:R,d:v,dd:R,M:v,MM:R,y:v,yy:R},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(B){return B+"-oji"},week:{dow:1,doy:4}})}(w(5439))},9991:function(Y,U,w){!function(b){"use strict";var i={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function T(H,B,N){return N?B%10==1&&B%100!=11?H[2]:H[3]:B%10==1&&B%100!=11?H[0]:H[1]}function v(H,B,N){return H+" "+T(i[N],H,B)}function C(H,B,N){return T(i[N],H,B)}b.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function E(H,B){return B?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:v,m:C,mm:v,h:C,hh:v,d:C,dd:v,M:C,MM:v,y:C,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8477:function(Y,U,w){!function(b){"use strict";var i={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(v,C){return 1===v?C[0]:v>=2&&v<=4?C[1]:C[2]},translate:function(v,C,E){var R=i.words[E];return 1===E.length?C?R[0]:R[1]:v+" "+i.correctGrammaticalCase(v,R)}};b.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mjesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},5118:function(Y,U,w){!function(b){"use strict";b.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},5943:function(Y,U,w){!function(b){"use strict";b.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(T){var v=T%10,C=T%100;return 0===T?T+"-\u0435\u0432":0===C?T+"-\u0435\u043d":C>10&&C<20?T+"-\u0442\u0438":1===v?T+"-\u0432\u0438":2===v?T+"-\u0440\u0438":7===v||8===v?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},3849:function(Y,U,w){!function(b){"use strict";b.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(T,v){return 12===T&&(T=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===v&&T>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===v||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===v?T+12:T},meridiem:function(T,v,C){return T<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":T<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":T<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":T<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(w(5439))},1977:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){switch(E){case"s":return C?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return v+(C?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return v+(C?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return v+(C?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return v+(C?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return v+(C?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return v+(C?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return v}}b.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(v){return"\u04ae\u0425"===v},meridiem:function(v,C,E){return v<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(v,C){switch(C){case"d":case"D":case"DDD":return v+" \u04e9\u0434\u04e9\u0440";default:return v}}})}(w(5439))},6184:function(Y,U,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function v(E,R,H,B){var N="";if(R)switch(H){case"s":N="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":N="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":N="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":N="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":N="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":N="%d \u0924\u093e\u0938";break;case"d":N="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":N="%d \u0926\u093f\u0935\u0938";break;case"M":N="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":N="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":N="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":N="%d \u0935\u0930\u094d\u0937\u0947"}else switch(H){case"s":N="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":N="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":N="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":N="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":N="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":N="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":N="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":N="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":N="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":N="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":N="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":N="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return N.replace(/%d/i,E)}b.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},preparse:function(E){return E.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(R){return T[R]})},postformat:function(E){return E.replace(/\d/g,function(R){return i[R]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(E,R){return 12===E&&(E=0),"\u092a\u0939\u093e\u091f\u0947"===R||"\u0938\u0915\u093e\u0933\u0940"===R?E:"\u0926\u0941\u092a\u093e\u0930\u0940"===R||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===R||"\u0930\u093e\u0924\u094d\u0930\u0940"===R?E>=12?E:E+12:void 0},meridiem:function(E,R,H){return E>=0&&E<6?"\u092a\u0939\u093e\u091f\u0947":E<12?"\u0938\u0915\u093e\u0933\u0940":E<17?"\u0926\u0941\u092a\u093e\u0930\u0940":E<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(w(5439))},4524:function(Y,U,w){!function(b){"use strict";b.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(T,v){return 12===T&&(T=0),"pagi"===v?T:"tengahari"===v?T>=11?T:T+12:"petang"===v||"malam"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"pagi":T<15?"tengahari":T<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(w(5439))},485:function(Y,U,w){!function(b){"use strict";b.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(T,v){return 12===T&&(T=0),"pagi"===v?T:"tengahari"===v?T>=11?T:T+12:"petang"===v||"malam"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"pagi":T<15?"tengahari":T<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(w(5439))},6681:function(Y,U,w){!function(b){"use strict";b.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},2024:function(Y,U,w){!function(b){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},T={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};b.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(C){return C.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},week:{dow:1,doy:4}})}(w(5439))},2688:function(Y,U,w){!function(b){"use strict";b.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8914:function(Y,U,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};b.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(C){return C.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0930\u093e\u0924\u093f"===E?C<4?C:C+12:"\u092c\u093f\u0939\u093e\u0928"===E?C:"\u0926\u093f\u0909\u0901\u0938\u094b"===E?C>=10?C:C+12:"\u0938\u093e\u0901\u091d"===E?C+12:void 0},meridiem:function(C,E,R){return C<3?"\u0930\u093e\u0924\u093f":C<12?"\u092c\u093f\u0939\u093e\u0928":C<16?"\u0926\u093f\u0909\u0901\u0938\u094b":C<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(w(5439))},2272:function(Y,U,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),v=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],C=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;b.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(R){return R+(1===R||8===R||R>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1758:function(Y,U,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),v=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],C=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;b.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(R){return R+(1===R||8===R||R>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1510:function(Y,U,w){!function(b){"use strict";b.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2797:function(Y,U,w){!function(b){"use strict";b.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(T,v){var C=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===v||"W"===v)&&(C="a"),T+C},week:{dow:1,doy:4}})}(w(5439))},7944:function(Y,U,w){!function(b){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},T={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};b.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(C){return C.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0a30\u0a3e\u0a24"===E?C<4?C:C+12:"\u0a38\u0a35\u0a47\u0a30"===E?C:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===E?C>=10?C:C+12:"\u0a38\u0a3c\u0a3e\u0a2e"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u0a30\u0a3e\u0a24":C<10?"\u0a38\u0a35\u0a47\u0a30":C<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":C<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(w(5439))},1605:function(Y,U,w){!function(b){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),T="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),v=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function C(H){return H%10<5&&H%10>1&&~~(H/10)%10!=1}function E(H,B,N){var V=H+" ";switch(N){case"ss":return V+(C(H)?"sekundy":"sekund");case"m":return B?"minuta":"minut\u0119";case"mm":return V+(C(H)?"minuty":"minut");case"h":return B?"godzina":"godzin\u0119";case"hh":return V+(C(H)?"godziny":"godzin");case"ww":return V+(C(H)?"tygodnie":"tygodni");case"MM":return V+(C(H)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return V+(C(H)?"lata":"lat")}}b.defineLocale("pl",{months:function(H,B){return H?/D MMMM/.test(B)?T[H.month()]:i[H.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:E,m:E,mm:E,h:E,hh:E,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:E,M:"miesi\u0105c",MM:E,y:"rok",yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3840:function(Y,U,w){!function(b){"use strict";b.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(w(5439))},4225:function(Y,U,w){!function(b){"use strict";b.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},5128:function(Y,U,w){!function(b){"use strict";function i(v,C,E){var H=" ";return(v%100>=20||v>=100&&v%100==0)&&(H=" de "),v+H+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[E]}b.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:i,m:"un minut",mm:i,h:"o or\u0103",hh:i,d:"o zi",dd:i,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:i,M:"o lun\u0103",MM:i,y:"un an",yy:i},week:{dow:1,doy:7}})}(w(5439))},5127:function(Y,U,w){!function(b){"use strict";function T(E,R,H){return"m"===H?R?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":E+" "+function i(E,R){var H=E.split("_");return R%10==1&&R%100!=11?H[0]:R%10>=2&&R%10<=4&&(R%100<10||R%100>=20)?H[1]:H[2]}({ss:R?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:R?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[H],+E)}var v=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];b.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:v,longMonthsParse:v,shortMonthsParse:v,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(E){if(E.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(E){if(E.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:T,m:T,mm:T,h:"\u0447\u0430\u0441",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(E){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(E)},meridiem:function(E,R,H){return E<4?"\u043d\u043e\u0447\u0438":E<12?"\u0443\u0442\u0440\u0430":E<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(E,R){switch(R){case"M":case"d":case"DDD":return E+"-\u0439";case"D":return E+"-\u0433\u043e";case"w":case"W":return E+"-\u044f";default:return E}},week:{dow:1,doy:4}})}(w(5439))},2525:function(Y,U,w){!function(b){"use strict";var i=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],T=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];b.defineLocale("sd",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:T,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,E,R){return C<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},9893:function(Y,U,w){!function(b){"use strict";b.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3123:function(Y,U,w){!function(b){"use strict";b.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(T){return T+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(T){return"\u0db4.\u0dc0."===T||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===T},meridiem:function(T,v,C){return T>11?C?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":C?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(w(5439))},9635:function(Y,U,w){!function(b){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),T="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function v(R){return R>1&&R<5}function C(R,H,B,N){var V=R+" ";switch(B){case"s":return H||N?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return H||N?V+(v(R)?"sekundy":"sek\xfand"):V+"sekundami";case"m":return H?"min\xfata":N?"min\xfatu":"min\xfatou";case"mm":return H||N?V+(v(R)?"min\xfaty":"min\xfat"):V+"min\xfatami";case"h":return H?"hodina":N?"hodinu":"hodinou";case"hh":return H||N?V+(v(R)?"hodiny":"hod\xedn"):V+"hodinami";case"d":return H||N?"de\u0148":"d\u0148om";case"dd":return H||N?V+(v(R)?"dni":"dn\xed"):V+"d\u0148ami";case"M":return H||N?"mesiac":"mesiacom";case"MM":return H||N?V+(v(R)?"mesiace":"mesiacov"):V+"mesiacmi";case"y":return H||N?"rok":"rokom";case"yy":return H||N?V+(v(R)?"roky":"rokov"):V+"rokmi"}}b.defineLocale("sk",{months:i,monthsShort:T,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:C,ss:C,m:C,mm:C,h:C,hh:C,d:C,dd:C,M:C,MM:C,y:C,yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8106:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H=v+" ";switch(E){case"s":return C||R?"nekaj sekund":"nekaj sekundami";case"ss":return H+(1===v?C?"sekundo":"sekundi":2===v?C||R?"sekundi":"sekundah":v<5?C||R?"sekunde":"sekundah":"sekund");case"m":return C?"ena minuta":"eno minuto";case"mm":return H+(1===v?C?"minuta":"minuto":2===v?C||R?"minuti":"minutama":v<5?C||R?"minute":"minutami":C||R?"minut":"minutami");case"h":return C?"ena ura":"eno uro";case"hh":return H+(1===v?C?"ura":"uro":2===v?C||R?"uri":"urama":v<5?C||R?"ure":"urami":C||R?"ur":"urami");case"d":return C||R?"en dan":"enim dnem";case"dd":return H+(1===v?C||R?"dan":"dnem":2===v?C||R?"dni":"dnevoma":C||R?"dni":"dnevi");case"M":return C||R?"en mesec":"enim mesecem";case"MM":return H+(1===v?C||R?"mesec":"mesecem":2===v?C||R?"meseca":"mesecema":v<5?C||R?"mesece":"meseci":C||R?"mesecev":"meseci");case"y":return C||R?"eno leto":"enim letom";case"yy":return H+(1===v?C||R?"leto":"letom":2===v?C||R?"leti":"letoma":v<5?C||R?"leta":"leti":C||R?"let":"leti")}}b.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},8799:function(Y,U,w){!function(b){"use strict";b.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(T){return"M"===T.charAt(0)},meridiem:function(T,v,C){return T<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2872:function(Y,U,w){!function(b){"use strict";var i={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(v,C){return 1===v?C[0]:v>=2&&v<=4?C[1]:C[2]},translate:function(v,C,E){var R=i.words[E];return 1===E.length?C?R[0]:R[1]:v+" "+i.correctGrammaticalCase(v,R)}};b.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"\u0434\u0430\u043d",dd:i.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:i.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7949:function(Y,U,w){!function(b){"use strict";var i={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(v,C){return 1===v?C[0]:v>=2&&v<=4?C[1]:C[2]},translate:function(v,C,E){var R=i.words[E];return 1===E.length?C?R[0]:R[1]:v+" "+i.correctGrammaticalCase(v,R)}};b.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6167:function(Y,U,w){!function(b){"use strict";b.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(T,v,C){return T<11?"ekuseni":T<15?"emini":T<19?"entsambama":"ebusuku"},meridiemHour:function(T,v){return 12===T&&(T=0),"ekuseni"===v?T:"emini"===v?T>=11?T:T+12:"entsambama"===v||"ebusuku"===v?0===T?0:T+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(w(5439))},9713:function(Y,U,w){!function(b){"use strict";b.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?":e":1===v||2===v?":a":":e")},week:{dow:1,doy:4}})}(w(5439))},1982:function(Y,U,w){!function(b){"use strict";b.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(w(5439))},2732:function(Y,U,w){!function(b){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},T={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};b.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(C){return C+"\u0bb5\u0ba4\u0bc1"},preparse:function(C){return C.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(C,E,R){return C<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":C<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":C<10?" \u0b95\u0bbe\u0bb2\u0bc8":C<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":C<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":C<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(C,E){return 12===C&&(C=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===E?C<2?C:C+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===E||"\u0b95\u0bbe\u0bb2\u0bc8"===E||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===E&&C>=10?C:C+12},week:{dow:0,doy:6}})}(w(5439))},3636:function(Y,U,w){!function(b){"use strict";b.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(T,v){return 12===T&&(T=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===v?T<4?T:T+12:"\u0c09\u0c26\u0c2f\u0c02"===v?T:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===v?T>=10?T:T+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===v?T+12:void 0},meridiem:function(T,v,C){return T<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":T<10?"\u0c09\u0c26\u0c2f\u0c02":T<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":T<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(w(5439))},2115:function(Y,U,w){!function(b){"use strict";b.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9801:function(Y,U,w){!function(b){"use strict";var i={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};b.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(v,C){return 12===v&&(v=0),"\u0448\u0430\u0431"===C?v<4?v:v+12:"\u0441\u0443\u0431\u04b3"===C?v:"\u0440\u04ef\u0437"===C?v>=11?v:v+12:"\u0431\u0435\u0433\u043e\u04b3"===C?v+12:void 0},meridiem:function(v,C,E){return v<4?"\u0448\u0430\u0431":v<11?"\u0441\u0443\u0431\u04b3":v<16?"\u0440\u04ef\u0437":v<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(v){return v+(i[v]||i[v%10]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},4486:function(Y,U,w){!function(b){"use strict";b.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(T){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===T},meridiem:function(T,v,C){return T<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(w(5439))},1310:function(Y,U,w){!function(b){"use strict";var i={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};b.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(v,C){switch(C){case"d":case"D":case"Do":case"DD":return v;default:if(0===v)return v+"'unjy";var E=v%10;return v+(i[E]||i[v%100-E]||i[v>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},2360:function(Y,U,w){!function(b){"use strict";b.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(T){return T},week:{dow:1,doy:4}})}(w(5439))},6645:function(Y,U,w){!function(b){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function C(H,B,N,V){var J=function E(H){var B=Math.floor(H%1e3/100),N=Math.floor(H%100/10),V=H%10,J="";return B>0&&(J+=i[B]+"vatlh"),N>0&&(J+=(""!==J?" ":"")+i[N]+"maH"),V>0&&(J+=(""!==J?" ":"")+i[V]),""===J?"pagh":J}(H);switch(N){case"ss":return J+" lup";case"mm":return J+" tup";case"hh":return J+" rep";case"dd":return J+" jaj";case"MM":return J+" jar";case"yy":return J+" DIS"}}b.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function T(H){var B=H;return-1!==H.indexOf("jaj")?B.slice(0,-3)+"leS":-1!==H.indexOf("jar")?B.slice(0,-3)+"waQ":-1!==H.indexOf("DIS")?B.slice(0,-3)+"nem":B+" pIq"},past:function v(H){var B=H;return-1!==H.indexOf("jaj")?B.slice(0,-3)+"Hu\u2019":-1!==H.indexOf("jar")?B.slice(0,-3)+"wen":-1!==H.indexOf("DIS")?B.slice(0,-3)+"ben":B+" ret"},s:"puS lup",ss:C,m:"wa\u2019 tup",mm:C,h:"wa\u2019 rep",hh:C,d:"wa\u2019 jaj",dd:C,M:"wa\u2019 jar",MM:C,y:"wa\u2019 DIS",yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8374:function(Y,U,w){!function(b){"use strict";var i={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};b.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(v,C,E){return v<12?E?"\xf6\xf6":"\xd6\xd6":E?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(v){return"\xf6s"===v||"\xd6S"===v},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(v,C){switch(C){case"d":case"D":case"Do":case"DD":return v;default:if(0===v)return v+"'\u0131nc\u0131";var E=v%10;return v+(i[E]||i[v%100-E]||i[v>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},256:function(Y,U,w){!function(b){"use strict";function T(v,C,E,R){var H={s:["viensas secunds","'iensas secunds"],ss:[v+" secunds",v+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[v+" m\xeduts",v+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[v+" \xfeoras",v+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[v+" ziuas",v+" ziuas"],M:["'n mes","'iens mes"],MM:[v+" mesen",v+" mesen"],y:["'n ar","'iens ar"],yy:[v+" ars",v+" ars"]};return R||C?H[E][0]:H[E][1]}b.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(v){return"d'o"===v.toLowerCase()},meridiem:function(v,C,E){return v>11?E?"d'o":"D'O":E?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1631:function(Y,U,w){!function(b){"use strict";b.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(w(5439))},1595:function(Y,U,w){!function(b){"use strict";b.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(w(5439))},6050:function(Y,U,w){!function(b){"use strict";b.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(T,v){return 12===T&&(T=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===v||"\u0633\u06d5\u06be\u06d5\u0631"===v||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===v?T:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===v||"\u0643\u06d5\u0686"===v?T+12:T>=11?T:T+12},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":E<900?"\u0633\u06d5\u06be\u06d5\u0631":E<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":E<1230?"\u0686\u06c8\u0634":E<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(T,v){switch(v){case"d":case"D":case"DDD":return T+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return T+"-\u06be\u06d5\u067e\u062a\u06d5";default:return T}},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(w(5439))},5610:function(Y,U,w){!function(b){"use strict";function T(R,H,B){return"m"===B?H?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===B?H?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":R+" "+function i(R,H){var B=R.split("_");return H%10==1&&H%100!=11?B[0]:H%10>=2&&H%10<=4&&(H%100<10||H%100>=20)?B[1]:B[2]}({ss:H?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:H?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:H?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[B],+R)}function C(R){return function(){return R+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}b.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function v(R,H){var B={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===R?B.nominative.slice(1,7).concat(B.nominative.slice(0,1)):R?B[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(H)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(H)?"genitive":"nominative"][R.day()]:B.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:C("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:C("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:C("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:C("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return C("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return C("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:T,m:T,mm:T,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:T,y:"\u0440\u0456\u043a",yy:T},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(R){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(R)},meridiem:function(R,H,B){return R<4?"\u043d\u043e\u0447\u0456":R<12?"\u0440\u0430\u043d\u043a\u0443":R<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(R,H){switch(H){case"M":case"d":case"DDD":case"w":case"W":return R+"-\u0439";case"D":return R+"-\u0433\u043e";default:return R}},week:{dow:1,doy:7}})}(w(5439))},6077:function(Y,U,w){!function(b){"use strict";var i=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],T=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];b.defineLocale("ur",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:T,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,E,R){return C<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},2207:function(Y,U,w){!function(b){"use strict";b.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(w(5439))},2862:function(Y,U,w){!function(b){"use strict";b.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(w(5439))},8093:function(Y,U,w){!function(b){"use strict";b.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(T){return/^ch$/i.test(T)},meridiem:function(T,v,C){return T<12?C?"sa":"SA":C?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(T){return T},week:{dow:1,doy:4}})}(w(5439))},5590:function(Y,U,w){!function(b){"use strict";b.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9058:function(Y,U,w){!function(b){"use strict";b.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(w(5439))},7908:function(Y,U,w){!function(b){"use strict";b.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:T>=11?T:T+12},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(T){return T.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(T){return this.week()!==T.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u5468";default:return T}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(w(5439))},8867:function(Y,U,w){!function(b){"use strict";b.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e2d\u5348"===v?T>=11?T:T+12:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:void 0},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1200?"\u4e0a\u5348":1200===E?"\u4e2d\u5348":E<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},1133:function(Y,U,w){!function(b){"use strict";b.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e2d\u5348"===v?T>=11?T:T+12:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:void 0},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},3291:function(Y,U,w){!function(b){"use strict";b.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e2d\u5348"===v?T>=11?T:T+12:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:void 0},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},5439:function(Y,U,w){(Y=w.nmd(Y)).exports=function(){"use strict";var b,ae;function i(){return b.apply(null,arguments)}function v(_){return _ instanceof Array||"[object Array]"===Object.prototype.toString.call(_)}function C(_){return null!=_&&"[object Object]"===Object.prototype.toString.call(_)}function E(_,S){return Object.prototype.hasOwnProperty.call(_,S)}function R(_){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(_).length;var S;for(S in _)if(E(_,S))return!1;return!0}function H(_){return void 0===_}function B(_){return"number"==typeof _||"[object Number]"===Object.prototype.toString.call(_)}function N(_){return _ instanceof Date||"[object Date]"===Object.prototype.toString.call(_)}function V(_,S){var F,L=[];for(F=0;F<_.length;++F)L.push(S(_[F],F));return L}function J(_,S){for(var L in S)E(S,L)&&(_[L]=S[L]);return E(S,"toString")&&(_.toString=S.toString),E(S,"valueOf")&&(_.valueOf=S.valueOf),_}function X(_,S,L,F){return gu(_,S,L,F,!0).utc()}function ee(_){return null==_._pf&&(_._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),_._pf}function de(_){if(null==_._isValid){var S=ee(_),L=ae.call(S.parsedDateParts,function(G){return null!=G}),F=!isNaN(_._d.getTime())&&S.overflow<0&&!S.empty&&!S.invalidEra&&!S.invalidMonth&&!S.invalidWeekday&&!S.weekdayMismatch&&!S.nullInput&&!S.invalidFormat&&!S.userInvalidated&&(!S.meridiem||S.meridiem&&L);if(_._strict&&(F=F&&0===S.charsLeftOver&&0===S.unusedTokens.length&&void 0===S.bigHour),null!=Object.isFrozen&&Object.isFrozen(_))return F;_._isValid=F}return _._isValid}function Ie(_){var S=X(NaN);return null!=_?J(ee(S),_):ee(S).userInvalidated=!0,S}ae=Array.prototype.some?Array.prototype.some:function(_){var F,S=Object(this),L=S.length>>>0;for(F=0;F0)for(L=0;L=0?L?"+":"":"-")+Math.pow(10,Math.max(0,S-F.length)).toString().substr(1)+F}var Xe=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,lt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Nn={},pi={};function Ge(_,S,L,F){var G=F;"string"==typeof F&&(G=function(){return this[F]()}),_&&(pi[_]=G),S&&(pi[S[0]]=function(){return _i(G.apply(this,arguments),S[1],S[2])}),L&&(pi[L]=function(){return this.localeData().ordinal(G.apply(this,arguments),_)})}function ri(_){return _.match(/\[[\s\S]/)?_.replace(/^\[|\]$/g,""):_.replace(/\\/g,"")}function xn(_,S){return _.isValid()?(S=Yi(S,_.localeData()),Nn[S]=Nn[S]||function Ro(_){var L,F,S=_.match(Xe);for(L=0,F=S.length;L=0&<.test(_);)_=_.replace(lt,F),lt.lastIndex=0,L-=1;return _}var Hi={};function Wt(_,S){var L=_.toLowerCase();Hi[L]=Hi[L+"s"]=Hi[S]=_}function pn(_){return"string"==typeof _?Hi[_]||Hi[_.toLowerCase()]:void 0}function ve(_){var L,F,S={};for(F in _)E(_,F)&&(L=pn(F))&&(S[L]=_[F]);return S}var oe={};function ne(_,S){oe[_]=S}function Se(_){return _%4==0&&_%100!=0||_%400==0}function He(_){return _<0?Math.ceil(_)||0:Math.floor(_)}function Ae(_){var S=+_,L=0;return 0!==S&&isFinite(S)&&(L=He(S)),L}function je(_,S){return function(L){return null!=L?(Ei(this,_,L),i.updateOffset(this,S),this):wt(this,_)}}function wt(_,S){return _.isValid()?_._d["get"+(_._isUTC?"UTC":"")+S]():NaN}function Ei(_,S,L){_.isValid()&&!isNaN(L)&&("FullYear"===S&&Se(_.year())&&1===_.month()&&29===_.date()?(L=Ae(L),_._d["set"+(_._isUTC?"UTC":"")+S](L,_.month(),gi(L,_.month()))):_._d["set"+(_._isUTC?"UTC":"")+S](L))}var D,Di=/\d/,tt=/\d\d/,Ue=/\d{3}/,Rn=/\d{4}/,zt=/[+-]?\d{6}/,pt=/\d\d?/,is=/\d\d\d\d?/,Bn=/\d\d\d\d\d\d?/,Pn=/\d{1,3}/,nl=/\d{1,4}/,Io=/[+-]?\d{1,6}/,to=/\d+/,io=/[+-]?\d+/,Yn=/Z|[+-]\d\d:?\d\d/gi,sr=/Z|[+-]\d\d(?::?\d\d)?/gi,Br=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Pe(_,S,L){D[_]=fe(S)?S:function(F,G){return F&&L?L:S}}function yi(_,S){return E(D,_)?D[_](S._strict,S._locale):new RegExp(function sn(_){return qe(_.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(S,L,F,G,se){return L||F||G||se}))}(_))}function qe(_){return _.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}D={};var jn={};function dt(_,S){var L,F=S;for("string"==typeof _&&(_=[_]),B(S)&&(F=function(G,se){se[S]=Ae(G)}),L=0;L<_.length;L++)jn[_[L]]=F}function xi(_,S){dt(_,function(L,F,G,se){G._w=G._w||{},S(L,G._w,G,se)})}function ai(_,S,L){null!=S&&E(jn,_)&&jn[_](S,L._a,L,_)}var Zt;function gi(_,S){if(isNaN(_)||isNaN(S))return NaN;var L=function mn(_,S){return(_%S+S)%S}(S,12);return _+=(S-L)/12,1===L?Se(_)?29:28:31-L%7%2}Zt=Array.prototype.indexOf?Array.prototype.indexOf:function(_){var S;for(S=0;S68?1900:2e3)};var Cn=je("FullYear",!0);function ja(_,S,L,F,G,se,me){var Qe;return _<100&&_>=0?(Qe=new Date(_+400,S,L,F,G,se,me),isFinite(Qe.getFullYear())&&Qe.setFullYear(_)):Qe=new Date(_,S,L,F,G,se,me),Qe}function zo(_){var S,L;return _<100&&_>=0?((L=Array.prototype.slice.call(arguments))[0]=_+400,S=new Date(Date.UTC.apply(null,L)),isFinite(S.getUTCFullYear())&&S.setUTCFullYear(_)):S=new Date(Date.UTC.apply(null,arguments)),S}function so(_,S,L){var F=7+S-L;return-(7+zo(_,0,F).getUTCDay()-S)%7+F-1}function qn(_,S,L,F,G){var Dt,li,Qe=1+7*(S-1)+(7+L-F)%7+so(_,F,G);return Qe<=0?li=Fo(Dt=_-1)+Qe:Qe>Fo(_)?(Dt=_+1,li=Qe-Fo(_)):(Dt=_,li=Qe),{year:Dt,dayOfYear:li}}function ar(_,S,L){var se,me,F=so(_.year(),S,L),G=Math.floor((_.dayOfYear()-F-1)/7)+1;return G<1?se=G+Ps(me=_.year()-1,S,L):G>Ps(_.year(),S,L)?(se=G-Ps(_.year(),S,L),me=_.year()+1):(me=_.year(),se=G),{week:se,year:me}}function Ps(_,S,L){var F=so(_,S,L),G=so(_+1,S,L);return(Fo(_)-F+G)/7}Ge("w",["ww",2],"wo","week"),Ge("W",["WW",2],"Wo","isoWeek"),Wt("week","w"),Wt("isoWeek","W"),ne("week",5),ne("isoWeek",5),Pe("w",pt),Pe("ww",pt,tt),Pe("W",pt),Pe("WW",pt,tt),xi(["w","ww","W","WW"],function(_,S,L,F){S[F.substr(0,1)]=Ae(_)});function ke(_,S){return _.slice(S,7).concat(_.slice(0,S))}Ge("d",0,"do","day"),Ge("dd",0,0,function(_){return this.localeData().weekdaysMin(this,_)}),Ge("ddd",0,0,function(_){return this.localeData().weekdaysShort(this,_)}),Ge("dddd",0,0,function(_){return this.localeData().weekdays(this,_)}),Ge("e",0,0,"weekday"),Ge("E",0,0,"isoWeekday"),Wt("day","d"),Wt("weekday","e"),Wt("isoWeekday","E"),ne("day",11),ne("weekday",11),ne("isoWeekday",11),Pe("d",pt),Pe("e",pt),Pe("E",pt),Pe("dd",function(_,S){return S.weekdaysMinRegex(_)}),Pe("ddd",function(_,S){return S.weekdaysShortRegex(_)}),Pe("dddd",function(_,S){return S.weekdaysRegex(_)}),xi(["dd","ddd","dddd"],function(_,S,L,F){var G=L._locale.weekdaysParse(_,F,L._strict);null!=G?S.d=G:ee(L).invalidWeekday=_}),xi(["d","e","E"],function(_,S,L,F){S[F]=Ae(_)});var du="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ji="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),jr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ui=Br,hu=Br,Ua=Br;function cr(_,S,L){var F,G,se,me=_.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],F=0;F<7;++F)se=X([2e3,1]).day(F),this._minWeekdaysParse[F]=this.weekdaysMin(se,"").toLocaleLowerCase(),this._shortWeekdaysParse[F]=this.weekdaysShort(se,"").toLocaleLowerCase(),this._weekdaysParse[F]=this.weekdays(se,"").toLocaleLowerCase();return L?"dddd"===S?-1!==(G=Zt.call(this._weekdaysParse,me))?G:null:"ddd"===S?-1!==(G=Zt.call(this._shortWeekdaysParse,me))?G:null:-1!==(G=Zt.call(this._minWeekdaysParse,me))?G:null:"dddd"===S?-1!==(G=Zt.call(this._weekdaysParse,me))||-1!==(G=Zt.call(this._shortWeekdaysParse,me))||-1!==(G=Zt.call(this._minWeekdaysParse,me))?G:null:"ddd"===S?-1!==(G=Zt.call(this._shortWeekdaysParse,me))||-1!==(G=Zt.call(this._weekdaysParse,me))||-1!==(G=Zt.call(this._minWeekdaysParse,me))?G:null:-1!==(G=Zt.call(this._minWeekdaysParse,me))||-1!==(G=Zt.call(this._weekdaysParse,me))||-1!==(G=Zt.call(this._shortWeekdaysParse,me))?G:null}function Va(){function _(hn,wn){return wn.length-hn.length}var se,me,Qe,Dt,li,S=[],L=[],F=[],G=[];for(se=0;se<7;se++)me=X([2e3,1]).day(se),Qe=qe(this.weekdaysMin(me,"")),Dt=qe(this.weekdaysShort(me,"")),li=qe(this.weekdays(me,"")),S.push(Qe),L.push(Dt),F.push(li),G.push(Qe),G.push(Dt),G.push(li);S.sort(_),L.sort(_),F.sort(_),G.sort(_),this._weekdaysRegex=new RegExp("^("+G.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+F.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+L.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+S.join("|")+")","i")}function Ur(){return this.hours()%12||12}function Tn(_,S){Ge(_,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),S)})}function fs(_,S){return S._meridiemParse}Ge("H",["HH",2],0,"hour"),Ge("h",["hh",2],0,Ur),Ge("k",["kk",2],0,function qa(){return this.hours()||24}),Ge("hmm",0,0,function(){return""+Ur.apply(this)+_i(this.minutes(),2)}),Ge("hmmss",0,0,function(){return""+Ur.apply(this)+_i(this.minutes(),2)+_i(this.seconds(),2)}),Ge("Hmm",0,0,function(){return""+this.hours()+_i(this.minutes(),2)}),Ge("Hmmss",0,0,function(){return""+this.hours()+_i(this.minutes(),2)+_i(this.seconds(),2)}),Tn("a",!0),Tn("A",!1),Wt("hour","h"),ne("hour",13),Pe("a",fs),Pe("A",fs),Pe("H",pt),Pe("h",pt),Pe("k",pt),Pe("HH",pt,tt),Pe("hh",pt,tt),Pe("kk",pt,tt),Pe("hmm",is),Pe("hmmss",Bn),Pe("Hmm",is),Pe("Hmmss",Bn),dt(["H","HH"],3),dt(["k","kk"],function(_,S,L){var F=Ae(_);S[3]=24===F?0:F}),dt(["a","A"],function(_,S,L){L._isPm=L._locale.isPM(_),L._meridiem=_}),dt(["h","hh"],function(_,S,L){S[3]=Ae(_),ee(L).bigHour=!0}),dt("hmm",function(_,S,L){var F=_.length-2;S[3]=Ae(_.substr(0,F)),S[4]=Ae(_.substr(F)),ee(L).bigHour=!0}),dt("hmmss",function(_,S,L){var F=_.length-4,G=_.length-2;S[3]=Ae(_.substr(0,F)),S[4]=Ae(_.substr(F,2)),S[5]=Ae(_.substr(G)),ee(L).bigHour=!0}),dt("Hmm",function(_,S,L){var F=_.length-2;S[3]=Ae(_.substr(0,F)),S[4]=Ae(_.substr(F))}),dt("Hmmss",function(_,S,L){var F=_.length-4,G=_.length-2;S[3]=Ae(_.substr(0,F)),S[4]=Ae(_.substr(F,2)),S[5]=Ae(_.substr(G))});var rl=je("Hours",!0);var co,Ga={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ns,monthsShort:$t,week:{dow:0,doy:6},weekdays:du,weekdaysMin:jr,weekdaysShort:ji,meridiemParse:/[ap]\.?m?\.?/i},di={},lr={};function lo(_,S){var L,F=Math.min(_.length,S.length);for(L=0;L0;){if(G=ni(se.slice(0,L).join("-")))return G;if(F&&F.length>=L&&lo(se,F)>=L-1)break;L--}S++}return co}(_)}function pe(_){var S,L=_._a;return L&&-2===ee(_).overflow&&(S=L[1]<0||L[1]>11?1:L[2]<1||L[2]>gi(L[0],L[1])?2:L[3]<0||L[3]>24||24===L[3]&&(0!==L[4]||0!==L[5]||0!==L[6])?3:L[4]<0||L[4]>59?4:L[5]<0||L[5]>59?5:L[6]<0||L[6]>999?6:-1,ee(_)._overflowDayOfYear&&(S<0||S>2)&&(S=2),ee(_)._overflowWeeks&&-1===S&&(S=7),ee(_)._overflowWeekday&&-1===S&&(S=8),ee(_).overflow=S),_}var be=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ze=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Xt=/Z|[+-]\d\d(?::?\d\d)?/,Yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Mt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Nt=/^\/?Date\((-?\d+)/i,zi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,hi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ci(_){var S,L,se,me,Qe,Dt,F=_._i,G=be.exec(F)||Ze.exec(F);if(G){for(ee(_).iso=!0,S=0,L=Yt.length;S7)&&(Dt=!0)):(se=_._locale._week.dow,me=_._locale._week.doy,li=ar(St(),se,me),L=hr(S.gg,_._a[0],li.year),F=hr(S.w,li.week),null!=S.d?((G=S.d)<0||G>6)&&(Dt=!0):null!=S.e?(G=S.e+se,(S.e<0||S.e>6)&&(Dt=!0)):G=se),F<1||F>Ps(L,se,me)?ee(_)._overflowWeeks=!0:null!=Dt?ee(_)._overflowWeekday=!0:(Qe=qn(L,F,G,se,me),_._a[0]=Qe.year,_._dayOfYear=Qe.dayOfYear)}(_),null!=_._dayOfYear&&(me=hr(_._a[0],G[0]),(_._dayOfYear>Fo(me)||0===_._dayOfYear)&&(ee(_)._overflowDayOfYear=!0),L=zo(me,0,_._dayOfYear),_._a[1]=L.getUTCMonth(),_._a[2]=L.getUTCDate()),S=0;S<3&&null==_._a[S];++S)_._a[S]=F[S]=G[S];for(;S<7;S++)_._a[S]=F[S]=null==_._a[S]?2===S?1:0:_._a[S];24===_._a[3]&&0===_._a[4]&&0===_._a[5]&&0===_._a[6]&&(_._nextDay=!0,_._a[3]=0),_._d=(_._useUTC?zo:ja).apply(null,F),se=_._useUTC?_._d.getUTCDay():_._d.getDay(),null!=_._tzm&&_._d.setUTCMinutes(_._d.getUTCMinutes()-_._tzm),_._nextDay&&(_._a[3]=24),_._w&&void 0!==_._w.d&&_._w.d!==se&&(ee(_).weekdayMismatch=!0)}}function Ft(_){if(_._f!==i.ISO_8601)if(_._f!==i.RFC_2822){_._a=[],ee(_).empty=!0;var L,F,G,se,me,li,S=""+_._i,Qe=S.length,Dt=0;for(G=Yi(_._f,_._locale).match(Xe)||[],L=0;L0&&ee(_).unusedInput.push(me),S=S.slice(S.indexOf(F)+F.length),Dt+=F.length),pi[se]?(F?ee(_).empty=!1:ee(_).unusedTokens.push(se),ai(se,F,_)):_._strict&&!F&&ee(_).unusedTokens.push(se);ee(_).charsLeftOver=Qe-Dt,S.length>0&&ee(_).unusedInput.push(S),_._a[3]<=12&&!0===ee(_).bigHour&&_._a[3]>0&&(ee(_).bigHour=void 0),ee(_).parsedDateParts=_._a.slice(0),ee(_).meridiem=_._meridiem,_._a[3]=function nh(_,S,L){var F;return null==L?S:null!=_.meridiemHour?_.meridiemHour(S,L):(null!=_.isPM&&((F=_.isPM(L))&&S<12&&(S+=12),!F&&12===S&&(S=0)),S)}(_._locale,_._a[3],_._meridiem),null!==(li=ee(_).era)&&(_._a[0]=_._locale.erasConvertYear(li,_._a[0])),cl(_),pe(_)}else dr(_);else ci(_)}function os(_){var S=_._i,L=_._f;return _._locale=_._locale||$(_._l),null===S||void 0===L&&""===S?Ie({nullInput:!0}):("string"==typeof S&&(_._i=S=_._locale.preparse(S)),We(S)?new xt(pe(S)):(N(S)?_._d=S:v(L)?function qi(_){var S,L,F,G,se,me,Qe=!1;if(0===_._f.length)return ee(_).invalidFormat=!0,void(_._d=new Date(NaN));for(G=0;G<_._f.length;G++)se=0,me=!1,S=Pt({},_),null!=_._useUTC&&(S._useUTC=_._useUTC),S._f=_._f[G],Ft(S),de(S)&&(me=!0),se+=ee(S).charsLeftOver,se+=10*ee(S).unusedTokens.length,ee(S).score=se,Qe?sethis?this:_:Ie()});function Ka(_,S){var L,F;if(1===S.length&&v(S[0])&&(S=S[0]),!S.length)return St();for(L=S[0],F=1;F=0?new Date(_+400,S,L)-ea:new Date(_,S,L).valueOf()}function tc(_,S,L){return _<100&&_>=0?Date.UTC(_+400,S,L)-ea:Date.UTC(_,S,L)}function mi(_,S){return S.erasAbbrRegex(_)}function Du(){var G,se,_=[],S=[],L=[],F=[],me=this.eras();for(G=0,se=me.length;G(se=Ps(_,F,G))&&(S=se),xp.call(this,_,S,L,F,G))}function xp(_,S,L,F,G){var se=qn(_,S,L,F,G),me=zo(se.year,0,se.dayOfYear);return this.year(me.getUTCFullYear()),this.month(me.getUTCMonth()),this.date(me.getUTCDate()),this}Ge("N",0,0,"eraAbbr"),Ge("NN",0,0,"eraAbbr"),Ge("NNN",0,0,"eraAbbr"),Ge("NNNN",0,0,"eraName"),Ge("NNNNN",0,0,"eraNarrow"),Ge("y",["y",1],"yo","eraYear"),Ge("y",["yy",2],0,"eraYear"),Ge("y",["yyy",3],0,"eraYear"),Ge("y",["yyyy",4],0,"eraYear"),Pe("N",mi),Pe("NN",mi),Pe("NNN",mi),Pe("NNNN",function Dp(_,S){return S.erasNameRegex(_)}),Pe("NNNNN",function bh(_,S){return S.erasNarrowRegex(_)}),dt(["N","NN","NNN","NNNN","NNNNN"],function(_,S,L,F){var G=L._locale.erasParse(_,F,L._strict);G?ee(L).era=G:ee(L).invalidEra=_}),Pe("y",to),Pe("yy",to),Pe("yyy",to),Pe("yyyy",to),Pe("yo",function _s(_,S){return S._eraYearOrdinalRegex||to}),dt(["y","yy","yyy","yyyy"],0),dt(["yo"],function(_,S,L,F){var G;L._locale._eraYearOrdinalRegex&&(G=_.match(L._locale._eraYearOrdinalRegex)),S[0]=L._locale.eraYearOrdinalParse?L._locale.eraYearOrdinalParse(_,G):parseInt(_,10)}),Ge(0,["gg",2],0,function(){return this.weekYear()%100}),Ge(0,["GG",2],0,function(){return this.isoWeekYear()%100}),yl("gggg","weekYear"),yl("ggggg","weekYear"),yl("GGGG","isoWeekYear"),yl("GGGGG","isoWeekYear"),Wt("weekYear","gg"),Wt("isoWeekYear","GG"),ne("weekYear",1),ne("isoWeekYear",1),Pe("G",io),Pe("g",io),Pe("GG",pt,tt),Pe("gg",pt,tt),Pe("GGGG",nl,Rn),Pe("gggg",nl,Rn),Pe("GGGGG",Io,zt),Pe("ggggg",Io,zt),xi(["gggg","ggggg","GGGG","GGGGG"],function(_,S,L,F){S[F.substr(0,2)]=Ae(_)}),xi(["gg","GG"],function(_,S,L,F){S[F]=i.parseTwoDigitYear(_)}),Ge("Q",0,"Qo","quarter"),Wt("quarter","Q"),ne("quarter",7),Pe("Q",Di),dt("Q",function(_,S){S[1]=3*(Ae(_)-1)}),Ge("D",["DD",2],"Do","date"),Wt("date","D"),ne("date",9),Pe("D",pt),Pe("DD",pt,tt),Pe("Do",function(_,S){return _?S._dayOfMonthOrdinalParse||S._ordinalParse:S._dayOfMonthOrdinalParseLenient}),dt(["D","DD"],2),dt("Do",function(_,S){S[2]=Ae(_.match(pt)[0])});var dn=je("Date",!0);Ge("DDD",["DDDD",3],"DDDo","dayOfYear"),Wt("dayOfYear","DDD"),ne("dayOfYear",4),Pe("DDD",Pn),Pe("DDDD",Ue),dt(["DDD","DDDD"],function(_,S,L){L._dayOfYear=Ae(_)}),Ge("m",["mm",2],0,"minute"),Wt("minute","m"),ne("minute",14),Pe("m",pt),Pe("mm",pt,tt),dt(["m","mm"],4);var nc=je("Minutes",!1);Ge("s",["ss",2],0,"second"),Wt("second","s"),ne("second",15),Pe("s",pt),Pe("ss",pt,tt),dt(["s","ss"],5);var as,Lu,sc=je("Seconds",!1);for(Ge("S",0,0,function(){return~~(this.millisecond()/100)}),Ge(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Ge(0,["SSS",3],0,"millisecond"),Ge(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Ge(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Ge(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Ge(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Ge(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Ge(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Wt("millisecond","ms"),ne("millisecond",16),Pe("S",Pn,Di),Pe("SS",Pn,tt),Pe("SSS",Pn,Ue),as="SSSS";as.length<=9;as+="S")Pe(as,to);function Rp(_,S){S[6]=Ae(1e3*("0."+_))}for(as="S";as.length<=9;as+="S")dt(as,Rp);Lu=je("Milliseconds",!1),Ge("z",0,0,"zoneAbbr"),Ge("zz",0,0,"zoneName");var Re=xt.prototype;function br(_){return _}Re.add=hl,Re.calendar=function In(_,S){1===arguments.length&&(arguments[0]?bn(arguments[0])?(_=arguments[0],S=void 0):uh(arguments[0])&&(S=arguments[0],_=void 0):(_=void 0,S=void 0));var L=_||St(),F=Za(L,this).startOf("day"),G=i.calendarFormat(this,F)||"sameElse",se=S&&(fe(S[G])?S[G].call(this,L):S[G]);return this.format(se||this.localeData().calendar(G,this,St(L)))},Re.clone=function dh(){return new xt(this)},Re.diff=function Zr(_,S,L){var F,G,se;if(!this.isValid())return NaN;if(!(F=Za(_,this)).isValid())return NaN;switch(G=6e4*(F.utcOffset()-this.utcOffset()),S=pn(S)){case"year":se=ec(this,F)/12;break;case"month":se=ec(this,F);break;case"quarter":se=ec(this,F)/3;break;case"second":se=(this-F)/1e3;break;case"minute":se=(this-F)/6e4;break;case"hour":se=(this-F)/36e5;break;case"day":se=(this-F-G)/864e5;break;case"week":se=(this-F-G)/6048e5;break;default:se=this-F}return L?se:He(se)},Re.endOf=function Mu(_){var S,L;if(void 0===(_=pn(_))||"millisecond"===_||!this.isValid())return this;switch(L=this._isUTC?tc:ph,_){case"year":S=L(this.year()+1,0,1)-1;break;case"quarter":S=L(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":S=L(this.year(),this.month()+1,1)-1;break;case"week":S=L(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":S=L(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":S=L(this.year(),this.month(),this.date()+1)-1;break;case"hour":S=this._d.valueOf(),S+=Xr-rs(S+(this._isUTC?0:this.utcOffset()*Yo),Xr)-1;break;case"minute":S=this._d.valueOf(),S+=Yo-rs(S,Yo)-1;break;case"second":S=this._d.valueOf(),S+=1e3-rs(S,1e3)-1}return this._d.setTime(S),i.updateOffset(this,!0),this},Re.format=function Jr(_){_||(_=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var S=xn(this,_);return this.localeData().postformat(S)},Re.from=function Qr(_,S){return this.isValid()&&(We(_)&&_.isValid()||St(_).isValid())?Ln({to:this,from:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Re.fromNow=function No(_){return this.from(St(),_)},Re.to=function hh(_,S){return this.isValid()&&(We(_)&&_.isValid()||St(_).isValid())?Ln({from:this,to:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Re.toNow=function Tu(_){return this.to(St(),_)},Re.get=function Rt(_){return fe(this[_=pn(_)])?this[_]():this},Re.invalidAt=function ta(){return ee(this).overflow},Re.isAfter=function Cp(_,S){var L=We(_)?_:St(_);return!(!this.isValid()||!L.isValid())&&("millisecond"===(S=pn(S)||"millisecond")?this.valueOf()>L.valueOf():L.valueOf()9999?xn(L,S?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):fe(Date.prototype.toISOString)?S?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",xn(L,"Z")):xn(L,S?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Re.inspect=function Mp(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var L,F,_="moment",S="";return this.isLocal()||(_=0===this.utcOffset()?"moment.utc":"moment.parseZone",S="Z"),L="["+_+'("]',F=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(L+F+"-MM-DD[T]HH:mm:ss.SSS"+S+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Re[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Re.toJSON=function jo(){return this.isValid()?this.toISOString():null},Re.toString=function $r(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Re.unix=function Sp(){return Math.floor(this.valueOf()/1e3)},Re.valueOf=function Su(){return this._d.valueOf()-6e4*(this._offset||0)},Re.creationData=function _h(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Re.eraName=function Ns(){var _,S,L,F=this.localeData().eras();for(_=0,S=F.length;_this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Re.isLocal=function po(){return!!this.isValid()&&!this._isUTC},Re.isUtcOffset=function Ai(){return!!this.isValid()&&this._isUTC},Re.isUtc=Au,Re.isUTC=Au,Re.zoneAbbr=function Pp(){return this._isUTC?"UTC":""},Re.zoneName=function A_(){return this._isUTC?"Coordinated Universal Time":""},Re.dates=yt("dates accessor is deprecated. Use date instead.",dn),Re.months=yt("months accessor is deprecated. Use month instead",Ho),Re.years=yt("years accessor is deprecated. Use year instead",Cn),Re.zone=yt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function $a(_,S){return null!=_?("string"!=typeof _&&(_=-_),this.utcOffset(_,S),this):-this.utcOffset()}),Re.isDSTShifted=yt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function rn(){if(!H(this._isDSTShifted))return this._isDSTShifted;var S,_={};return Pt(_,this),(_=os(_))._a?(S=_._isUTC?X(_._a):St(_._a),this._isDSTShifted=this.isValid()&&function pr(_,S,L){var me,F=Math.min(_.length,S.length),G=Math.abs(_.length-S.length),se=0;for(me=0;me0):this._isDSTShifted=!1,this._isDSTShifted});var Ot=xe.prototype;function Iu(_,S,L,F){var G=$(),se=X().set(F,S);return G[L](se,_)}function ra(_,S,L){if(B(_)&&(S=_,_=void 0),_=_||"",null!=S)return Iu(_,S,L,"month");var F,G=[];for(F=0;F<12;F++)G[F]=Iu(_,F,L,"month");return G}function Ou(_,S,L,F){"boolean"==typeof _?(B(S)&&(L=S,S=void 0),S=S||""):(L=S=_,_=!1,B(S)&&(L=S,S=void 0),S=S||"");var me,G=$(),se=_?G._week.dow:0,Qe=[];if(null!=L)return Iu(S,(L+se)%7,F,"day");for(me=0;me<7;me++)Qe[me]=Iu(S,(me+se)%7,F,"day");return Qe}Ot.calendar=function qt(_,S,L){var F=this._calendar[_]||this._calendar.sameElse;return fe(F)?F.call(S,L):F},Ot.longDateFormat=function Fr(_){var S=this._longDateFormat[_],L=this._longDateFormat[_.toUpperCase()];return S||!L?S:(this._longDateFormat[_]=L.match(Xe).map(function(F){return"MMMM"===F||"MM"===F||"DD"===F||"dddd"===F?F.slice(1):F}).join(""),this._longDateFormat[_])},Ot.invalidDate=function Nr(){return this._invalidDate},Ot.ordinal=function Lo(_){return this._ordinal.replace("%d",_)},Ot.preparse=br,Ot.postformat=br,Ot.relativeTime=function ut(_,S,L,F){var G=this._relativeTime[L];return fe(G)?G(_,S,L,F):G.replace(/%d/i,_)},Ot.pastFuture=function Ba(_,S){var L=this._relativeTime[_>0?"future":"past"];return fe(L)?L(S):L.replace(/%s/i,S)},Ot.set=function _e(_){var S,L;for(L in _)E(_,L)&&(fe(S=_[L])?this[L]=S:this["_"+L]=S);this._config=_,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Ot.eras=function ku(_,S){var L,F,G,se=this._eras||$("en")._eras;for(L=0,F=se.length;L=0)return se[F]},Ot.erasConvertYear=function zs(_,S){var L=_.since<=_.until?1:-1;return void 0===S?i(_.since).year():i(_.since).year()+(S-_.offset)*L},Ot.erasAbbrRegex=function Ep(_){return E(this,"_erasAbbrRegex")||Du.call(this),_?this._erasAbbrRegex:this._erasRegex},Ot.erasNameRegex=function oa(_){return E(this,"_erasNameRegex")||Du.call(this),_?this._erasNameRegex:this._erasRegex},Ot.erasNarrowRegex=function yh(_){return E(this,"_erasNarrowRegex")||Du.call(this),_?this._erasNarrowRegex:this._erasRegex},Ot.months=function Ya(_,S){return _?v(this._months)?this._months[_.month()]:this._months[(this._months.isFormat||hs).test(S)?"format":"standalone"][_.month()]:v(this._months)?this._months:this._months.standalone},Ot.monthsShort=function Oo(_,S){return _?v(this._monthsShort)?this._monthsShort[_.month()]:this._monthsShort[hs.test(S)?"format":"standalone"][_.month()]:v(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ot.monthsParse=function rr(_,S,L){var F,G,se;if(this._monthsParseExact)return sl.call(this,_,S,L);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),F=0;F<12;F++){if(G=X([2e3,F]),L&&!this._longMonthsParse[F]&&(this._longMonthsParse[F]=new RegExp("^"+this.months(G,"").replace(".","")+"$","i"),this._shortMonthsParse[F]=new RegExp("^"+this.monthsShort(G,"").replace(".","")+"$","i")),!L&&!this._monthsParse[F]&&(se="^"+this.months(G,"")+"|^"+this.monthsShort(G,""),this._monthsParse[F]=new RegExp(se.replace(".",""),"i")),L&&"MMMM"===S&&this._longMonthsParse[F].test(_))return F;if(L&&"MMM"===S&&this._shortMonthsParse[F].test(_))return F;if(!L&&this._monthsParse[F].test(_))return F}},Ot.monthsRegex=function ii(_){return this._monthsParseExact?(E(this,"_monthsRegex")||ol.call(this),_?this._monthsStrictRegex:this._monthsRegex):(E(this,"_monthsRegex")||(this._monthsRegex=At),this._monthsStrictRegex&&_?this._monthsStrictRegex:this._monthsRegex)},Ot.monthsShortRegex=function Un(_){return this._monthsParseExact?(E(this,"_monthsRegex")||ol.call(this),_?this._monthsShortStrictRegex:this._monthsShortRegex):(E(this,"_monthsShortRegex")||(this._monthsShortRegex=no),this._monthsShortStrictRegex&&_?this._monthsShortStrictRegex:this._monthsShortRegex)},Ot.week=function wp(_){return ar(_,this._week.dow,this._week.doy).week},Ot.firstDayOfYear=function Tt(){return this._week.doy},Ot.firstDayOfWeek=function eh(){return this._week.dow},Ot.weekdays=function th(_,S){var L=v(this._weekdays)?this._weekdays:this._weekdays[_&&!0!==_&&this._weekdays.isFormat.test(S)?"format":"standalone"];return!0===_?ke(L,this._week.dow):_?L[_.day()]:L},Ot.weekdaysMin=function Gn(_){return!0===_?ke(this._weekdaysMin,this._week.dow):_?this._weekdaysMin[_.day()]:this._weekdaysMin},Ot.weekdaysShort=function ro(_){return!0===_?ke(this._weekdaysShort,this._week.dow):_?this._weekdaysShort[_.day()]:this._weekdaysShort},Ot.weekdaysParse=function fu(_,S,L){var F,G,se;if(this._weekdaysParseExact)return cr.call(this,_,S,L);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),F=0;F<7;F++){if(G=X([2e3,1]).day(F),L&&!this._fullWeekdaysParse[F]&&(this._fullWeekdaysParse[F]=new RegExp("^"+this.weekdays(G,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[F]=new RegExp("^"+this.weekdaysShort(G,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[F]=new RegExp("^"+this.weekdaysMin(G,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[F]||(se="^"+this.weekdays(G,"")+"|^"+this.weekdaysShort(G,"")+"|^"+this.weekdaysMin(G,""),this._weekdaysParse[F]=new RegExp(se.replace(".",""),"i")),L&&"dddd"===S&&this._fullWeekdaysParse[F].test(_))return F;if(L&&"ddd"===S&&this._shortWeekdaysParse[F].test(_))return F;if(L&&"dd"===S&&this._minWeekdaysParse[F].test(_))return F;if(!L&&this._weekdaysParse[F].test(_))return F}},Ot.weekdaysRegex=function ao(_){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Va.call(this),_?this._weekdaysStrictRegex:this._weekdaysRegex):(E(this,"_weekdaysRegex")||(this._weekdaysRegex=Ui),this._weekdaysStrictRegex&&_?this._weekdaysStrictRegex:this._weekdaysRegex)},Ot.weekdaysShortRegex=function Vt(_){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Va.call(this),_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(E(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=hu),this._weekdaysShortStrictRegex&&_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ot.weekdaysMinRegex=function Ls(_){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Va.call(this),_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(E(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ua),this._weekdaysMinStrictRegex&&_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ot.isPM=function pu(_){return"p"===(_+"").toLowerCase().charAt(0)},Ot.meridiem=function ih(_,S,L){return _>11?L?"pm":"PM":L?"am":"AM"},P("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(_){var S=_%10;return _+(1===Ae(_%100/10)?"th":1===S?"st":2===S?"nd":3===S?"rd":"th")}}),i.lang=yt("moment.lang is deprecated. Use moment.locale instead.",P),i.langData=yt("moment.langData is deprecated. Use moment.localeData instead.",$);var bs=Math.abs;function Op(_,S,L,F){var G=Ln(S,L);return _._milliseconds+=F*G._milliseconds,_._days+=F*G._days,_._months+=F*G._months,_._bubble()}function cc(_){return _<0?Math.floor(_):Math.ceil(_)}function Ch(_){return 4800*_/146097}function wl(_){return 146097*_/4800}function Kn(_){return function(){return this.as(_)}}var Mh=Kn("ms"),zp=Kn("s"),Ki=Kn("m"),Np=Kn("h"),Sh=Kn("d"),Al=Kn("w"),aa=Kn("M"),kh=Kn("Q"),Bp=Kn("y");function Zn(_){return function(){return this.isValid()?this._data[_]:NaN}}var Fu=Zn("milliseconds"),ca=Zn("seconds"),zu=Zn("minutes"),Eh=Zn("hours"),Nu=Zn("days"),vl=Zn("months"),Cl=Zn("years");var mo=Math.round,ws={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function uc(_,S,L,F,G){return G.relativeTime(S||1,!!L,_,F)}var Ri=Math.abs;function la(_){return(_>0)-(_<0)||+_}function wr(){if(!this.isValid())return this.localeData().invalidDate();var F,G,se,me,Dt,li,hn,wn,_=Ri(this._milliseconds)/1e3,S=Ri(this._days),L=Ri(this._months),Qe=this.asSeconds();return Qe?(F=He(_/60),G=He(F/60),_%=60,F%=60,se=He(L/12),L%=12,me=_?_.toFixed(3).replace(/\.?0+$/,""):"",Dt=Qe<0?"-":"",li=la(this._months)!==la(Qe)?"-":"",hn=la(this._days)!==la(Qe)?"-":"",wn=la(this._milliseconds)!==la(Qe)?"-":"",Dt+"P"+(se?li+se+"Y":"")+(L?li+L+"M":"")+(S?hn+S+"D":"")+(G||F||_?"T":"")+(G?wn+G+"H":"")+(F?wn+F+"M":"")+(_?wn+me+"S":"")):"P0D"}var Et=fr.prototype;return Et.isValid=function oh(){return this._isValid},Et.abs=function bl(){var _=this._data;return this._milliseconds=bs(this._milliseconds),this._days=bs(this._days),this._months=bs(this._months),_.milliseconds=bs(_.milliseconds),_.seconds=bs(_.seconds),_.minutes=bs(_.minutes),_.hours=bs(_.hours),_.months=bs(_.months),_.years=bs(_.years),this},Et.add=function ac(_,S){return Op(this,_,S,1)},Et.subtract=function Hu(_,S){return Op(this,_,S,-1)},Et.as=function Th(_){if(!this.isValid())return NaN;var S,L,F=this._milliseconds;if("month"===(_=pn(_))||"quarter"===_||"year"===_)switch(S=this._days+F/864e5,L=this._months+Ch(S),_){case"month":return L;case"quarter":return L/3;case"year":return L/12}else switch(S=this._days+Math.round(wl(this._months)),_){case"week":return S/7+F/6048e5;case"day":return S+F/864e5;case"hour":return 24*S+F/36e5;case"minute":return 1440*S+F/6e4;case"second":return 86400*S+F/1e3;case"millisecond":return Math.floor(864e5*S)+F;default:throw new Error("Unknown unit "+_)}},Et.asMilliseconds=Mh,Et.asSeconds=zp,Et.asMinutes=Ki,Et.asHours=Np,Et.asDays=Sh,Et.asWeeks=Al,Et.asMonths=aa,Et.asQuarters=kh,Et.asYears=Bp,Et.valueOf=function Fp(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Ae(this._months/12):NaN},Et._bubble=function Hp(){var G,se,me,Qe,Dt,_=this._milliseconds,S=this._days,L=this._months,F=this._data;return _>=0&&S>=0&&L>=0||_<=0&&S<=0&&L<=0||(_+=864e5*cc(wl(L)+S),S=0,L=0),F.milliseconds=_%1e3,G=He(_/1e3),F.seconds=G%60,se=He(G/60),F.minutes=se%60,me=He(se/60),F.hours=me%24,S+=He(me/24),L+=Dt=He(Ch(S)),S-=cc(wl(Dt)),Qe=He(L/12),L%=12,F.days=S,F.months=L,F.years=Qe,this},Et.clone=function Yp(){return Ln(this)},Et.get=function lc(_){return _=pn(_),this.isValid()?this[_+"s"]():NaN},Et.milliseconds=Fu,Et.seconds=ca,Et.minutes=zu,Et.hours=Eh,Et.days=Nu,Et.weeks=function Dh(){return He(this.days()/7)},Et.months=vl,Et.years=Cl,Et.humanize=function Vp(_,S){if(!this.isValid())return this.localeData().invalidDate();var G,se,L=!1,F=ws;return"object"==typeof _&&(S=_,_=!1),"boolean"==typeof _&&(L=_),"object"==typeof S&&(F=Object.assign({},ws,S),null!=S.s&&null==S.ss&&(F.ss=S.s-1)),se=function jp(_,S,L,F){var G=Ln(_).abs(),se=mo(G.as("s")),me=mo(G.as("m")),Qe=mo(G.as("h")),Dt=mo(G.as("d")),li=mo(G.as("M")),hn=mo(G.as("w")),wn=mo(G.as("y")),Vo=se<=L.ss&&["s",se]||se0,Vo[4]=F,uc.apply(null,Vo)}(this,!L,F,G=this.localeData()),L&&(se=G.pastFuture(+this,se)),G.postformat(se)},Et.toISOString=wr,Et.toString=wr,Et.toJSON=wr,Et.locale=gl,Et.localeData=ml,Et.toIsoString=yt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",wr),Et.lang=fh,Ge("X",0,0,"unix"),Ge("x",0,0,"valueOf"),Pe("x",io),Pe("X",/[+-]?\d+(\.\d{1,3})?/),dt("X",function(_,S,L){L._d=new Date(1e3*parseFloat(_))}),dt("x",function(_,S,L){L._d=new Date(Ae(_))}),i.version="2.29.1",function T(_){b=_}(St),i.fn=Re,i.min=function yn(){return Ka("isBefore",[].slice.call(arguments,0))},i.max=function Os(){return Ka("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=X,i.unix=function Ah(_){return St(1e3*_)},i.months=function oc(_,S){return ra(_,S,"months")},i.isDate=N,i.locale=P,i.invalid=Ie,i.duration=Ln,i.isMoment=We,i.weekdays=function Ip(_,S,L){return Ou(_,S,L,"weekdays")},i.parseZone=function On(){return St.apply(null,arguments).parseZone()},i.localeData=$,i.isDuration=Hs,i.monthsShort=function Lp(_,S){return ra(_,S,"monthsShort")},i.weekdaysMin=function vh(_,S,L){return Ou(_,S,L,"weekdaysMin")},i.defineLocale=q,i.updateLocale=function O(_,S){if(null!=S){var L,F,G=Ga;null!=di[_]&&null!=di[_].parentLocale?di[_].set(ge(di[_]._config,S)):(null!=(F=ni(_))&&(G=F._config),S=ge(G,S),null==F&&(S.abbr=_),(L=new xe(S)).parentLocale=di[_],di[_]=L),P(_)}else null!=di[_]&&(null!=di[_].parentLocale?(di[_]=di[_].parentLocale,_===P()&&P(_)):null!=di[_]&&delete di[_]);return di[_]},i.locales=function ie(){return he(di)},i.weekdaysShort=function rc(_,S,L){return Ou(_,S,L,"weekdaysShort")},i.normalizeUnits=pn,i.relativeTimeRounding=function Up(_){return void 0===_?mo:"function"==typeof _&&(mo=_,!0)},i.relativeTimeThreshold=function xh(_,S){return void 0!==ws[_]&&(void 0===S?ws[_]:(ws[_]=S,"s"===_&&(ws.ss=S-1),!0))},i.calendarFormat=function Qa(_,S){var L=_.diff(S,"days",!0);return L<-6?"sameElse":L<-1?"lastWeek":L<0?"lastDay":L<1?"sameDay":L<2?"nextDay":L<7?"nextWeek":"sameElse"},i.prototype=Re,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},1869:(Y,U,w)=>{"use strict";w.d(U,{d:()=>i});var b=w(3489);class i extends b.L{constructor(v,C,E){super(),this.parent=v,this.outerValue=C,this.outerIndex=E,this.index=0}_next(v){this.parent.notifyNext(this.outerValue,v,this.outerIndex,this.index++,this)}_error(v){this.parent.notifyError(v,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},9312:(Y,U,w)=>{"use strict";w.d(U,{P:()=>C});var b=w(8896),i=w(1086),T=w(1737);class C{constructor(R,H,B){this.kind=R,this.value=H,this.error=B,this.hasValue="N"===R}observe(R){switch(this.kind){case"N":return R.next&&R.next(this.value);case"E":return R.error&&R.error(this.error);case"C":return R.complete&&R.complete()}}do(R,H,B){switch(this.kind){case"N":return R&&R(this.value);case"E":return H&&H(this.error);case"C":return B&&B()}}accept(R,H,B){return R&&"function"==typeof R.next?this.observe(R):this.do(R,H,B)}toObservable(){switch(this.kind){case"N":return(0,i.of)(this.value);case"E":return(0,T._)(this.error);case"C":return(0,b.c)()}throw new Error("unexpected notification kind value")}static createNext(R){return void 0!==R?new C("N",R):C.undefinedValueNotification}static createError(R){return new C("E",void 0,R)}static createComplete(){return C.completeNotification}}C.completeNotification=new C("C"),C.undefinedValueNotification=new C("N",void 0)},2916:(Y,U,w)=>{"use strict";w.d(U,{y:()=>V});var b=w(3489),T=w(7668),v=w(3292),E=w(3821),R=w(5379);var N=w(2830);let V=(()=>{class X{constructor(ee){this._isScalar=!1,ee&&(this._subscribe=ee)}lift(ee){const ae=new X;return ae.source=this,ae.operator=ee,ae}subscribe(ee,ae,de){const{operator:Ie}=this,Oe=function C(X,re,ee){if(X){if(X instanceof b.L)return X;if(X[T.b])return X[T.b]()}return X||re||ee?new b.L(X,re,ee):new b.L(v.c)}(ee,ae,de);if(Oe.add(Ie?Ie.call(Oe,this.source):this.source||N.v.useDeprecatedSynchronousErrorHandling&&!Oe.syncErrorThrowable?this._subscribe(Oe):this._trySubscribe(Oe)),N.v.useDeprecatedSynchronousErrorHandling&&Oe.syncErrorThrowable&&(Oe.syncErrorThrowable=!1,Oe.syncErrorThrown))throw Oe.syncErrorValue;return Oe}_trySubscribe(ee){try{return this._subscribe(ee)}catch(ae){N.v.useDeprecatedSynchronousErrorHandling&&(ee.syncErrorThrown=!0,ee.syncErrorValue=ae),function i(X){for(;X;){const{closed:re,destination:ee,isStopped:ae}=X;if(re||ae)return!1;X=ee&&ee instanceof b.L?ee:null}return!0}(ee)?ee.error(ae):console.warn(ae)}}forEach(ee,ae){return new(ae=J(ae))((de,Ie)=>{let Oe;Oe=this.subscribe(Ve=>{try{ee(Ve)}catch(Pt){Ie(Pt),Oe&&Oe.unsubscribe()}},Ie,de)})}_subscribe(ee){const{source:ae}=this;return ae&&ae.subscribe(ee)}[E.L](){return this}pipe(...ee){return 0===ee.length?this:function B(X){return 0===X.length?R.y:1===X.length?X[0]:function(ee){return X.reduce((ae,de)=>de(ae),ee)}}(ee)(this)}toPromise(ee){return new(ee=J(ee))((ae,de)=>{let Ie;this.subscribe(Oe=>Ie=Oe,Oe=>de(Oe),()=>ae(Ie))})}}return X.create=re=>new X(re),X})();function J(X){if(X||(X=N.v.Promise||Promise),!X)throw new Error("no Promise impl found");return X}},3292:(Y,U,w)=>{"use strict";w.d(U,{c:()=>T});var b=w(2830),i=w(2782);const T={closed:!0,next(v){},error(v){if(b.v.useDeprecatedSynchronousErrorHandling)throw v;(0,i.z)(v)},complete(){}}},826:(Y,U,w)=>{"use strict";w.d(U,{L:()=>i});var b=w(3489);class i extends b.L{notifyNext(v,C,E,R,H){this.destination.next(C)}notifyError(v,C){this.destination.error(v)}notifyComplete(v){this.destination.complete()}}},8929:(Y,U,w)=>{"use strict";w.d(U,{Yc:()=>R,xQ:()=>H});var b=w(2916),i=w(3489),T=w(2654),v=w(5279),C=w(5283),E=w(7668);class R extends i.L{constructor(V){super(V),this.destination=V}}let H=(()=>{class N extends b.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[E.b](){return new R(this)}lift(J){const X=new B(this,this);return X.operator=J,X}next(J){if(this.closed)throw new v.N;if(!this.isStopped){const{observers:X}=this,re=X.length,ee=X.slice();for(let ae=0;aenew B(V,J),N})();class B extends H{constructor(V,J){super(),this.destination=V,this.source=J}next(V){const{destination:J}=this;J&&J.next&&J.next(V)}error(V){const{destination:J}=this;J&&J.error&&this.destination.error(V)}complete(){const{destination:V}=this;V&&V.complete&&this.destination.complete()}_subscribe(V){const{source:J}=this;return J?this.source.subscribe(V):T.w.EMPTY}}},5283:(Y,U,w)=>{"use strict";w.d(U,{W:()=>i});var b=w(2654);class i extends b.w{constructor(v,C){super(),this.subject=v,this.subscriber=C,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const v=this.subject,C=v.observers;if(this.subject=null,!C||0===C.length||v.isStopped||v.closed)return;const E=C.indexOf(this.subscriber);-1!==E&&C.splice(E,1)}}},3489:(Y,U,w)=>{"use strict";w.d(U,{L:()=>R});var b=w(7043),i=w(3292),T=w(2654),v=w(7668),C=w(2830),E=w(2782);class R extends T.w{constructor(N,V,J){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.c;break;case 1:if(!N){this.destination=i.c;break}if("object"==typeof N){N instanceof R?(this.syncErrorThrowable=N.syncErrorThrowable,this.destination=N,N.add(this)):(this.syncErrorThrowable=!0,this.destination=new H(this,N));break}default:this.syncErrorThrowable=!0,this.destination=new H(this,N,V,J)}}[v.b](){return this}static create(N,V,J){const X=new R(N,V,J);return X.syncErrorThrowable=!1,X}next(N){this.isStopped||this._next(N)}error(N){this.isStopped||(this.isStopped=!0,this._error(N))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(N){this.destination.next(N)}_error(N){this.destination.error(N),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:N}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=N,this}}class H extends R{constructor(N,V,J,X){super(),this._parentSubscriber=N;let re,ee=this;(0,b.m)(V)?re=V:V&&(re=V.next,J=V.error,X=V.complete,V!==i.c&&(ee=Object.create(V),(0,b.m)(ee.unsubscribe)&&this.add(ee.unsubscribe.bind(ee)),ee.unsubscribe=this.unsubscribe.bind(this))),this._context=ee,this._next=re,this._error=J,this._complete=X}next(N){if(!this.isStopped&&this._next){const{_parentSubscriber:V}=this;C.v.useDeprecatedSynchronousErrorHandling&&V.syncErrorThrowable?this.__tryOrSetError(V,this._next,N)&&this.unsubscribe():this.__tryOrUnsub(this._next,N)}}error(N){if(!this.isStopped){const{_parentSubscriber:V}=this,{useDeprecatedSynchronousErrorHandling:J}=C.v;if(this._error)J&&V.syncErrorThrowable?(this.__tryOrSetError(V,this._error,N),this.unsubscribe()):(this.__tryOrUnsub(this._error,N),this.unsubscribe());else if(V.syncErrorThrowable)J?(V.syncErrorValue=N,V.syncErrorThrown=!0):(0,E.z)(N),this.unsubscribe();else{if(this.unsubscribe(),J)throw N;(0,E.z)(N)}}}complete(){if(!this.isStopped){const{_parentSubscriber:N}=this;if(this._complete){const V=()=>this._complete.call(this._context);C.v.useDeprecatedSynchronousErrorHandling&&N.syncErrorThrowable?(this.__tryOrSetError(N,V),this.unsubscribe()):(this.__tryOrUnsub(V),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(N,V){try{N.call(this._context,V)}catch(J){if(this.unsubscribe(),C.v.useDeprecatedSynchronousErrorHandling)throw J;(0,E.z)(J)}}__tryOrSetError(N,V,J){if(!C.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{V.call(this._context,J)}catch(X){return C.v.useDeprecatedSynchronousErrorHandling?(N.syncErrorValue=X,N.syncErrorThrown=!0,!0):((0,E.z)(X),!0)}return!1}_unsubscribe(){const{_parentSubscriber:N}=this;this._context=null,this._parentSubscriber=null,N.unsubscribe()}}},2654:(Y,U,w)=>{"use strict";w.d(U,{w:()=>E});var b=w(6688),i=w(7830),T=w(7043);const C=(()=>{function H(B){return Error.call(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((N,V)=>`${V+1}) ${N.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=B,this}return H.prototype=Object.create(Error.prototype),H})();class E{constructor(B){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,B&&(this._unsubscribe=B)}unsubscribe(){let B;if(this.closed)return;let{_parentOrParents:N,_unsubscribe:V,_subscriptions:J}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,N instanceof E)N.remove(this);else if(null!==N)for(let X=0;XB.concat(N instanceof C?N.errors:N),[])}E.EMPTY=((H=new E).closed=!0,H)},2830:(Y,U,w)=>{"use strict";w.d(U,{v:()=>i});let b=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(T){if(T){const v=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+v.stack)}else b&&console.log("RxJS: Back to a better error behavior. Thank you. <3");b=T},get useDeprecatedSynchronousErrorHandling(){return b}}},1762:(Y,U,w)=>{"use strict";w.d(U,{c:()=>C,N:()=>E});var b=w(8929),i=w(2916),T=w(2654),v=w(4327);class C extends i.y{constructor(V,J){super(),this.source=V,this.subjectFactory=J,this._refCount=0,this._isComplete=!1}_subscribe(V){return this.getSubject().subscribe(V)}getSubject(){const V=this._subject;return(!V||V.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let V=this._connection;return V||(this._isComplete=!1,V=this._connection=new T.w,V.add(this.source.subscribe(new R(this.getSubject(),this))),V.closed&&(this._connection=null,V=T.w.EMPTY)),V}refCount(){return(0,v.x)()(this)}}const E=(()=>{const N=C.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:N._subscribe},_isComplete:{value:N._isComplete,writable:!0},getSubject:{value:N.getSubject},connect:{value:N.connect},refCount:{value:N.refCount}}})();class R extends b.Yc{constructor(V,J){super(V),this.connectable=J}_error(V){this._unsubscribe(),super._error(V)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const V=this.connectable;if(V){this.connectable=null;const J=V._connection;V._refCount=0,V._subject=null,V._connection=null,J&&J.unsubscribe()}}}},6053:(Y,U,w)=>{"use strict";w.d(U,{aj:()=>R});var b=w(2866),i=w(6688),T=w(826),v=w(9054),C=w(3009);const E={};function R(...N){let V=null,J=null;return(0,b.K)(N[N.length-1])&&(J=N.pop()),"function"==typeof N[N.length-1]&&(V=N.pop()),1===N.length&&(0,i.k)(N[0])&&(N=N[0]),(0,C.n)(N,J).lift(new H(V))}class H{constructor(V){this.resultSelector=V}call(V,J){return J.subscribe(new B(V,this.resultSelector))}}class B extends T.L{constructor(V,J){super(V),this.resultSelector=J,this.active=0,this.values=[],this.observables=[]}_next(V){this.values.push(E),this.observables.push(V)}_complete(){const V=this.observables,J=V.length;if(0===J)this.destination.complete();else{this.active=J,this.toRespond=J;for(let X=0;X{"use strict";w.d(U,{E:()=>i,c:()=>T});var b=w(2916);const i=new b.y(C=>C.complete());function T(C){return C?function v(C){return new b.y(E=>C.schedule(()=>E.complete()))}(C):i}},5254:(Y,U,w)=>{"use strict";w.d(U,{D:()=>ee});var b=w(2916),i=w(9249),T=w(2654),v=w(3821),R=w(6454),H=w(5430),V=w(8955),J=w(8515);function ee(ae,de){return de?function re(ae,de){if(null!=ae){if(function N(ae){return ae&&"function"==typeof ae[v.L]}(ae))return function C(ae,de){return new b.y(Ie=>{const Oe=new T.w;return Oe.add(de.schedule(()=>{const Ve=ae[v.L]();Oe.add(Ve.subscribe({next(Pt){Oe.add(de.schedule(()=>Ie.next(Pt)))},error(Pt){Oe.add(de.schedule(()=>Ie.error(Pt)))},complete(){Oe.add(de.schedule(()=>Ie.complete()))}}))})),Oe})}(ae,de);if((0,V.t)(ae))return function E(ae,de){return new b.y(Ie=>{const Oe=new T.w;return Oe.add(de.schedule(()=>ae.then(Ve=>{Oe.add(de.schedule(()=>{Ie.next(Ve),Oe.add(de.schedule(()=>Ie.complete()))}))},Ve=>{Oe.add(de.schedule(()=>Ie.error(Ve)))}))),Oe})}(ae,de);if((0,J.z)(ae))return(0,R.r)(ae,de);if(function X(ae){return ae&&"function"==typeof ae[H.hZ]}(ae)||"string"==typeof ae)return function B(ae,de){if(!ae)throw new Error("Iterable cannot be null");return new b.y(Ie=>{const Oe=new T.w;let Ve;return Oe.add(()=>{Ve&&"function"==typeof Ve.return&&Ve.return()}),Oe.add(de.schedule(()=>{Ve=ae[H.hZ](),Oe.add(de.schedule(function(){if(Ie.closed)return;let Pt,xt;try{const We=Ve.next();Pt=We.value,xt=We.done}catch(We){return void Ie.error(We)}xt?Ie.complete():(Ie.next(Pt),this.schedule())}))})),Oe})}(ae,de)}throw new TypeError((null!==ae&&typeof ae||ae)+" is not observable")}(ae,de):ae instanceof b.y?ae:new b.y((0,i.s)(ae))}},3009:(Y,U,w)=>{"use strict";w.d(U,{n:()=>v});var b=w(2916),i=w(3650),T=w(6454);function v(C,E){return E?(0,T.r)(C,E):new b.y((0,i.V)(C))}},6787:(Y,U,w)=>{"use strict";w.d(U,{T:()=>C});var b=w(2916),i=w(2866),T=w(9146),v=w(3009);function C(...E){let R=Number.POSITIVE_INFINITY,H=null,B=E[E.length-1];return(0,i.K)(B)?(H=E.pop(),E.length>1&&"number"==typeof E[E.length-1]&&(R=E.pop())):"number"==typeof B&&(R=E.pop()),null===H&&1===E.length&&E[0]instanceof b.y?E[0]:(0,T.J)(R)((0,v.n)(E,H))}},1086:(Y,U,w)=>{"use strict";w.d(U,{of:()=>v});var b=w(2866),i=w(3009),T=w(6454);function v(...C){let E=C[C.length-1];return(0,b.K)(E)?(C.pop(),(0,T.r)(C,E)):(0,i.n)(C)}},1946:(Y,U,w)=>{"use strict";w.d(U,{S3:()=>C});var b=w(6688),i=w(3009),T=w(826),v=w(9054);function C(...H){if(1===H.length){if(!(0,b.k)(H[0]))return H[0];H=H[0]}return(0,i.n)(H,void 0).lift(new E)}class E{call(B,N){return N.subscribe(new R(B))}}class R extends T.L{constructor(B){super(B),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(B){this.observables.push(B)}_complete(){const B=this.observables,N=B.length;if(0===N)this.destination.complete();else{for(let V=0;V{"use strict";w.d(U,{_:()=>i});var b=w(2916);function i(v,C){return new b.y(C?E=>C.schedule(T,0,{error:v,subscriber:E}):E=>E.error(v))}function T({error:v,subscriber:C}){C.error(v)}},7221:(Y,U,w)=>{"use strict";w.d(U,{K:()=>v});var b=w(826),i=w(1869),T=w(9054);function v(R){return function(B){const N=new C(R),V=B.lift(N);return N.caught=V}}class C{constructor(H){this.selector=H}call(H,B){return B.subscribe(new E(H,this.selector,this.caught))}}class E extends b.L{constructor(H,B,N){super(H),this.selector=B,this.caught=N}error(H){if(!this.isStopped){let B;try{B=this.selector(H,this.caught)}catch(J){return void super.error(J)}this._unsubscribeAndRecycle();const N=new i.d(this,void 0,void 0);this.add(N);const V=(0,T.D)(this,B,void 0,void 0,N);V!==N&&this.add(V)}}}},1406:(Y,U,w)=>{"use strict";w.d(U,{b:()=>i});var b=w(1709);function i(T,v){return(0,b.zg)(T,v,1)}},13:(Y,U,w)=>{"use strict";w.d(U,{b:()=>T});var b=w(3489),i=w(353);function T(R,H=i.P){return B=>B.lift(new v(R,H))}class v{constructor(H,B){this.dueTime=H,this.scheduler=B}call(H,B){return B.subscribe(new C(H,this.dueTime,this.scheduler))}}class C extends b.L{constructor(H,B,N){super(H),this.dueTime=B,this.scheduler=N,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(H){this.clearDebounce(),this.lastValue=H,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(E,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:H}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(H)}}clearDebounce(){const H=this.debouncedSubscription;null!==H&&(this.remove(H),H.unsubscribe(),this.debouncedSubscription=null)}}function E(R){R.debouncedNext()}},7314:(Y,U,w)=>{"use strict";w.d(U,{d:()=>i});var b=w(3489);function i(C=null){return E=>E.lift(new T(C))}class T{constructor(E){this.defaultValue=E}call(E,R){return R.subscribe(new v(E,this.defaultValue))}}class v extends b.L{constructor(E,R){super(E),this.defaultValue=R,this.isEmpty=!0}_next(E){this.isEmpty=!1,this.destination.next(E)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(Y,U,w)=>{"use strict";w.d(U,{g:()=>C});var b=w(353),i=w(2697),T=w(3489),v=w(9312);function C(B,N=b.P){const J=(0,i.J)(B)?+B-N.now():Math.abs(B);return X=>X.lift(new E(J,N))}class E{constructor(N,V){this.delay=N,this.scheduler=V}call(N,V){return V.subscribe(new R(N,this.delay,this.scheduler))}}class R extends T.L{constructor(N,V,J){super(N),this.delay=V,this.scheduler=J,this.queue=[],this.active=!1,this.errored=!1}static dispatch(N){const V=N.source,J=V.queue,X=N.scheduler,re=N.destination;for(;J.length>0&&J[0].time-X.now()<=0;)J.shift().notification.observe(re);if(J.length>0){const ee=Math.max(0,J[0].time-X.now());this.schedule(N,ee)}else this.unsubscribe(),V.active=!1}_schedule(N){this.active=!0,this.destination.add(N.schedule(R.dispatch,this.delay,{source:this,destination:this.destination,scheduler:N}))}scheduleNotification(N){if(!0===this.errored)return;const V=this.scheduler,J=new H(V.now()+this.delay,N);this.queue.push(J),!1===this.active&&this._schedule(V)}_next(N){this.scheduleNotification(v.P.createNext(N))}_error(N){this.errored=!0,this.queue=[],this.destination.error(N),this.unsubscribe()}_complete(){this.scheduleNotification(v.P.createComplete()),this.unsubscribe()}}class H{constructor(N,V){this.time=N,this.notification=V}}},2198:(Y,U,w)=>{"use strict";w.d(U,{h:()=>i});var b=w(3489);function i(C,E){return function(H){return H.lift(new T(C,E))}}class T{constructor(E,R){this.predicate=E,this.thisArg=R}call(E,R){return R.subscribe(new v(E,this.predicate,this.thisArg))}}class v extends b.L{constructor(E,R,H){super(E),this.predicate=R,this.thisArg=H,this.count=0}_next(E){let R;try{R=this.predicate.call(this.thisArg,E,this.count++)}catch(H){return void this.destination.error(H)}R&&this.destination.next(E)}}},7224:(Y,U,w)=>{"use strict";w.d(U,{P:()=>R});var b=w(4450),i=w(2198),T=w(2986),v=w(7314),C=w(4907),E=w(5379);function R(H,B){const N=arguments.length>=2;return V=>V.pipe(H?(0,i.h)((J,X)=>H(J,X,V)):E.y,(0,T.q)(1),N?(0,v.d)(B):(0,C.T)(()=>new b.K))}},4850:(Y,U,w)=>{"use strict";w.d(U,{U:()=>i});var b=w(3489);function i(C,E){return function(H){if("function"!=typeof C)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return H.lift(new T(C,E))}}class T{constructor(E,R){this.project=E,this.thisArg=R}call(E,R){return R.subscribe(new v(E,this.project,this.thisArg))}}class v extends b.L{constructor(E,R,H){super(E),this.project=R,this.count=0,this.thisArg=H||this}_next(E){let R;try{R=this.project.call(this.thisArg,E,this.count++)}catch(H){return void this.destination.error(H)}this.destination.next(R)}}},9146:(Y,U,w)=>{"use strict";w.d(U,{J:()=>T});var b=w(1709),i=w(5379);function T(v=Number.POSITIVE_INFINITY){return(0,b.zg)(i.y,v)}},1709:(Y,U,w)=>{"use strict";w.d(U,{zg:()=>E});var b=w(9054),i=w(826),T=w(1869),v=w(4850),C=w(5254);function E(B,N,V=Number.POSITIVE_INFINITY){return"function"==typeof N?J=>J.pipe(E((X,re)=>(0,C.D)(B(X,re)).pipe((0,v.U)((ee,ae)=>N(X,ee,re,ae))),V)):("number"==typeof N&&(V=N),J=>J.lift(new R(B,V)))}class R{constructor(N,V=Number.POSITIVE_INFINITY){this.project=N,this.concurrent=V}call(N,V){return V.subscribe(new H(N,this.project,this.concurrent))}}class H extends i.L{constructor(N,V,J=Number.POSITIVE_INFINITY){super(N),this.project=V,this.concurrent=J,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(N){this.active0?this._next(V.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(Y,U,w)=>{"use strict";w.d(U,{x:()=>i});var b=w(3489);function i(){return function(E){return E.lift(new T(E))}}class T{constructor(E){this.connectable=E}call(E,R){const{connectable:H}=this;H._refCount++;const B=new v(E,H),N=R.subscribe(B);return B.closed||(B.connection=H.connect()),N}}class v extends b.L{constructor(E,R){super(E),this.connectable=R}_unsubscribe(){const{connectable:E}=this;if(!E)return void(this.connection=null);this.connectable=null;const R=E._refCount;if(R<=0)return void(this.connection=null);if(E._refCount=R-1,R>1)return void(this.connection=null);const{connection:H}=this,B=E._connection;this.connection=null,B&&(!H||B===H)&&B.unsubscribe()}}},2474:(Y,U,w)=>{"use strict";w.d(U,{B:()=>R});var b=w(1762);class T{constructor(B,N){this.subjectFactory=B,this.selector=N}call(B,N){const{selector:V}=this,J=this.subjectFactory(),X=V(J).subscribe(B);return X.add(N.subscribe(J)),X}}var v=w(4327),C=w(8929);function E(){return new C.xQ}function R(){return H=>(0,v.x)()(function i(H,B){return function(V){let J;if(J="function"==typeof H?H:function(){return H},"function"==typeof B)return V.lift(new T(J,B));const X=Object.create(V,b.N);return X.source=V,X.subjectFactory=J,X}}(E)(H))}},7545:(Y,U,w)=>{"use strict";w.d(U,{w:()=>E});var b=w(826),i=w(1869),T=w(9054),v=w(4850),C=w(5254);function E(B,N){return"function"==typeof N?V=>V.pipe(E((J,X)=>(0,C.D)(B(J,X)).pipe((0,v.U)((re,ee)=>N(J,re,X,ee))))):V=>V.lift(new R(B))}class R{constructor(N){this.project=N}call(N,V){return V.subscribe(new H(N,this.project))}}class H extends b.L{constructor(N,V){super(N),this.project=V,this.index=0}_next(N){let V;const J=this.index++;try{V=this.project(N,J)}catch(X){return void this.destination.error(X)}this._innerSub(V,N,J)}_innerSub(N,V,J){const X=this.innerSubscription;X&&X.unsubscribe();const re=new i.d(this,V,J),ee=this.destination;ee.add(re),this.innerSubscription=(0,T.D)(this,N,void 0,void 0,re),this.innerSubscription!==re&&ee.add(this.innerSubscription)}_complete(){const{innerSubscription:N}=this;(!N||N.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(N){this.destination.remove(N),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(N,V,J,X,re){this.destination.next(V)}}},2986:(Y,U,w)=>{"use strict";w.d(U,{q:()=>v});var b=w(3489),i=w(4231),T=w(8896);function v(R){return H=>0===R?(0,T.c)():H.lift(new C(R))}class C{constructor(H){if(this.total=H,this.total<0)throw new i.W}call(H,B){return B.subscribe(new E(H,this.total))}}class E extends b.L{constructor(H,B){super(H),this.total=B,this.count=0}_next(H){const B=this.total,N=++this.count;N<=B&&(this.destination.next(H),N===B&&(this.destination.complete(),this.unsubscribe()))}}},2868:(Y,U,w)=>{"use strict";w.d(U,{b:()=>v});var b=w(3489);function i(){}var T=w(7043);function v(R,H,B){return function(V){return V.lift(new C(R,H,B))}}class C{constructor(H,B,N){this.nextOrObserver=H,this.error=B,this.complete=N}call(H,B){return B.subscribe(new E(H,this.nextOrObserver,this.error,this.complete))}}class E extends b.L{constructor(H,B,N,V){super(H),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=N||i,this._tapComplete=V||i,(0,T.m)(B)?(this._context=this,this._tapNext=B):B&&(this._context=B,this._tapNext=B.next||i,this._tapError=B.error||i,this._tapComplete=B.complete||i)}_next(H){try{this._tapNext.call(this._context,H)}catch(B){return void this.destination.error(B)}this.destination.next(H)}_error(H){try{this._tapError.call(this._context,H)}catch(B){return void this.destination.error(B)}this.destination.error(H)}_complete(){try{this._tapComplete.call(this._context)}catch(H){return void this.destination.error(H)}return this.destination.complete()}}},4907:(Y,U,w)=>{"use strict";w.d(U,{T:()=>T});var b=w(4450),i=w(3489);function T(R=E){return H=>H.lift(new v(R))}class v{constructor(H){this.errorFactory=H}call(H,B){return B.subscribe(new C(H,this.errorFactory))}}class C extends i.L{constructor(H,B){super(H),this.errorFactory=B,this.hasValue=!1}_next(H){this.hasValue=!0,this.destination.next(H)}_complete(){if(this.hasValue)return this.destination.complete();{let H;try{H=this.errorFactory()}catch(B){H=B}this.destination.error(H)}}}function E(){return new b.K}},6227:(Y,U,w)=>{"use strict";w.d(U,{V:()=>V});var b=w(353);const T=(()=>{function J(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return J.prototype=Object.create(Error.prototype),J})();var v=w(2697),C=w(826),E=w(9054);class H{constructor(X,re,ee,ae){this.waitFor=X,this.absoluteTimeout=re,this.withObservable=ee,this.scheduler=ae}call(X,re){return re.subscribe(new B(X,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class B extends C.L{constructor(X,re,ee,ae,de){super(X),this.absoluteTimeout=re,this.waitFor=ee,this.withObservable=ae,this.scheduler=de,this.action=null,this.scheduleTimeout()}static dispatchTimeout(X){const{withObservable:re}=X;X._unsubscribeAndRecycle(),X.add((0,E.D)(X,re))}scheduleTimeout(){const{action:X}=this;X?this.action=X.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(B.dispatchTimeout,this.waitFor,this))}_next(X){this.absoluteTimeout||this.scheduleTimeout(),super._next(X)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var N=w(1737);function V(J,X=b.P){return function R(J,X,re=b.P){return ee=>{let ae=(0,v.J)(J),de=ae?+J-re.now():Math.abs(J);return ee.lift(new H(de,ae,X,re))}}(J,(0,N._)(new T),X)}},6454:(Y,U,w)=>{"use strict";w.d(U,{r:()=>T});var b=w(2916),i=w(2654);function T(v,C){return new b.y(E=>{const R=new i.w;let H=0;return R.add(C.schedule(function(){H!==v.length?(E.next(v[H++]),E.closed||R.add(this.schedule())):E.complete()})),R})}},6686:(Y,U,w)=>{"use strict";w.d(U,{o:()=>T});var b=w(2654);class i extends b.w{constructor(C,E){super()}schedule(C,E=0){return this}}class T extends i{constructor(C,E){super(C,E),this.scheduler=C,this.work=E,this.pending=!1}schedule(C,E=0){if(this.closed)return this;this.state=C;const R=this.id,H=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(H,R,E)),this.pending=!0,this.delay=E,this.id=this.id||this.requestAsyncId(H,this.id,E),this}requestAsyncId(C,E,R=0){return setInterval(C.flush.bind(C,this),R)}recycleAsyncId(C,E,R=0){if(null!==R&&this.delay===R&&!1===this.pending)return E;clearInterval(E)}execute(C,E){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const R=this._execute(C,E);if(R)return R;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(C,E){let H,R=!1;try{this.work(C)}catch(B){R=!0,H=!!B&&B||new Error(B)}if(R)return this.unsubscribe(),H}_unsubscribe(){const C=this.id,E=this.scheduler,R=E.actions,H=R.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==H&&R.splice(H,1),null!=C&&(this.id=this.recycleAsyncId(E,C,null)),this.delay=null}}},2268:(Y,U,w)=>{"use strict";w.d(U,{v:()=>i});let b=(()=>{class T{constructor(C,E=T.now){this.SchedulerAction=C,this.now=E}schedule(C,E=0,R){return new this.SchedulerAction(this,C).schedule(R,E)}}return T.now=()=>Date.now(),T})();class i extends b{constructor(v,C=b.now){super(v,()=>i.delegate&&i.delegate!==this?i.delegate.now():C()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(v,C=0,E){return i.delegate&&i.delegate!==this?i.delegate.schedule(v,C,E):super.schedule(v,C,E)}flush(v){const{actions:C}=this;if(this.active)return void C.push(v);let E;this.active=!0;do{if(E=v.execute(v.state,v.delay))break}while(v=C.shift());if(this.active=!1,E){for(;v=C.shift();)v.unsubscribe();throw E}}}},353:(Y,U,w)=>{"use strict";w.d(U,{P:()=>T});var b=w(6686);const T=new(w(2268).v)(b.o)},5430:(Y,U,w)=>{"use strict";w.d(U,{hZ:()=>i});const i=function b(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(Y,U,w)=>{"use strict";w.d(U,{L:()=>b});const b="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(Y,U,w)=>{"use strict";w.d(U,{b:()=>b});const b="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(Y,U,w)=>{"use strict";w.d(U,{W:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return T.prototype=Object.create(Error.prototype),T})()},4450:(Y,U,w)=>{"use strict";w.d(U,{K:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return T.prototype=Object.create(Error.prototype),T})()},5279:(Y,U,w)=>{"use strict";w.d(U,{N:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return T.prototype=Object.create(Error.prototype),T})()},2782:(Y,U,w)=>{"use strict";function b(i){setTimeout(()=>{throw i},0)}w.d(U,{z:()=>b})},5379:(Y,U,w)=>{"use strict";function b(i){return i}w.d(U,{y:()=>b})},6688:(Y,U,w)=>{"use strict";w.d(U,{k:()=>b});const b=Array.isArray||(i=>i&&"number"==typeof i.length)},8515:(Y,U,w)=>{"use strict";w.d(U,{z:()=>b});const b=i=>i&&"number"==typeof i.length&&"function"!=typeof i},2697:(Y,U,w)=>{"use strict";function b(i){return i instanceof Date&&!isNaN(+i)}w.d(U,{J:()=>b})},7043:(Y,U,w)=>{"use strict";function b(i){return"function"==typeof i}w.d(U,{m:()=>b})},7830:(Y,U,w)=>{"use strict";function b(i){return null!==i&&"object"==typeof i}w.d(U,{K:()=>b})},8955:(Y,U,w)=>{"use strict";function b(i){return!!i&&"function"!=typeof i.subscribe&&"function"==typeof i.then}w.d(U,{t:()=>b})},2866:(Y,U,w)=>{"use strict";function b(i){return i&&"function"==typeof i.schedule}w.d(U,{K:()=>b})},9249:(Y,U,w)=>{"use strict";w.d(U,{s:()=>V});var b=w(3650),i=w(2782),v=w(5430),E=w(3821),H=w(8515),B=w(8955),N=w(7830);const V=J=>{if(J&&"function"==typeof J[E.L])return(J=>X=>{const re=J[E.L]();if("function"!=typeof re.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return re.subscribe(X)})(J);if((0,H.z)(J))return(0,b.V)(J);if((0,B.t)(J))return(J=>X=>(J.then(re=>{X.closed||(X.next(re),X.complete())},re=>X.error(re)).then(null,i.z),X))(J);if(J&&"function"==typeof J[v.hZ])return(J=>X=>{const re=J[v.hZ]();for(;;){const ee=re.next();if(ee.done){X.complete();break}if(X.next(ee.value),X.closed)break}return"function"==typeof re.return&&X.add(()=>{re.return&&re.return()}),X})(J);{const re=`You provided ${(0,N.K)(J)?"an invalid object":`'${J}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(re)}}},3650:(Y,U,w)=>{"use strict";w.d(U,{V:()=>b});const b=i=>T=>{for(let v=0,C=i.length;v{"use strict";w.d(U,{D:()=>v});var b=w(1869),i=w(9249),T=w(2916);function v(C,E,R,H,B=new b.d(C,R,H)){if(!B.closed)return E instanceof T.y?E.subscribe(B):(0,i.s)(E)(B)}},6700:(Y,U,w)=>{var b={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":3165,"./hy-am.js":3165,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":4486,"./th.js":4486,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function i(v){var C=T(v);return w(C)}function T(v){if(!w.o(b,v)){var C=new Error("Cannot find module '"+v+"'");throw C.code="MODULE_NOT_FOUND",C}return b[v]}i.keys=function(){return Object.keys(b)},i.resolve=T,Y.exports=i,i.id=6700},655:(Y,U,w)=>{"use strict";function H(ue,fe,_e,ge){return new(_e||(_e=Promise))(function(he,bt){function qt(lt){try{Xe(ge.next(lt))}catch(Nn){bt(Nn)}}function _i(lt){try{Xe(ge.throw(lt))}catch(Nn){bt(Nn)}}function Xe(lt){lt.done?he(lt.value):function xe(he){return he instanceof _e?he:new _e(function(bt){bt(he)})}(lt.value).then(qt,_i)}Xe((ge=ge.apply(ue,fe||[])).next())})}w.d(U,{mG:()=>H})},9808:(Y,U,w)=>{"use strict";w.d(U,{mr:()=>Oe,Ov:()=>un,ez:()=>Ur,K0:()=>R,uU:()=>Ui,Do:()=>Pt,V_:()=>N,Ye:()=>xt,S$:()=>de,mk:()=>Oo,sg:()=>ln,O5:()=>Un,PC:()=>ar,RF:()=>Cn,n9:()=>Vn,ED:()=>ja,tP:()=>Ps,b0:()=>Ve,lw:()=>H,EM:()=>lr,JF:()=>ni,p6:()=>wt,NF:()=>_n,w_:()=>E,bD:()=>qa,q:()=>T,Mx:()=>Ya,HT:()=>C});var b=w(5e3);let i=null;function T(){return i}function C(P){i||(i=P)}class E{}const R=new b.OlP("DocumentToken");let H=(()=>{class P{historyGo(O){throw new Error("Not implemented")}}return P.\u0275fac=function(O){return new(O||P)},P.\u0275prov=b.Yz7({token:P,factory:function(){return function B(){return(0,b.LFG)(V)}()},providedIn:"platform"}),P})();const N=new b.OlP("Location Initialized");let V=(()=>{class P extends H{constructor(O){super(),this._doc=O,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(O){const $=T().getGlobalEventTarget(this._doc,"window");return $.addEventListener("popstate",O,!1),()=>$.removeEventListener("popstate",O)}onHashChange(O){const $=T().getGlobalEventTarget(this._doc,"window");return $.addEventListener("hashchange",O,!1),()=>$.removeEventListener("hashchange",O)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(O){this.location.pathname=O}pushState(O,$,ie){J()?this._history.pushState(O,$,ie):this.location.hash=ie}replaceState(O,$,ie){J()?this._history.replaceState(O,$,ie):this.location.hash=ie}forward(){this._history.forward()}back(){this._history.back()}historyGo(O=0){this._history.go(O)}getState(){return this._history.state}}return P.\u0275fac=function(O){return new(O||P)(b.LFG(R))},P.\u0275prov=b.Yz7({token:P,factory:function(){return function X(){return new V((0,b.LFG)(R))}()},providedIn:"platform"}),P})();function J(){return!!window.history.pushState}function re(P,q){if(0==P.length)return q;if(0==q.length)return P;let O=0;return P.endsWith("/")&&O++,q.startsWith("/")&&O++,2==O?P+q.substring(1):1==O?P+q:P+"/"+q}function ee(P){const q=P.match(/#|\?|$/),O=q&&q.index||P.length;return P.slice(0,O-("/"===P[O-1]?1:0))+P.slice(O)}function ae(P){return P&&"?"!==P[0]?"?"+P:P}let de=(()=>{class P{historyGo(O){throw new Error("Not implemented")}}return P.\u0275fac=function(O){return new(O||P)},P.\u0275prov=b.Yz7({token:P,factory:function(){return function Ie(P){const q=(0,b.LFG)(R).location;return new Ve((0,b.LFG)(H),q&&q.origin||"")}()},providedIn:"root"}),P})();const Oe=new b.OlP("appBaseHref");let Ve=(()=>{class P extends de{constructor(O,$){if(super(),this._platformLocation=O,this._removeListenerFns=[],null==$&&($=this._platformLocation.getBaseHrefFromDOM()),null==$)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=$}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(O){this._removeListenerFns.push(this._platformLocation.onPopState(O),this._platformLocation.onHashChange(O))}getBaseHref(){return this._baseHref}prepareExternalUrl(O){return re(this._baseHref,O)}path(O=!1){const $=this._platformLocation.pathname+ae(this._platformLocation.search),ie=this._platformLocation.hash;return ie&&O?`${$}${ie}`:$}pushState(O,$,ie,pe){const be=this.prepareExternalUrl(ie+ae(pe));this._platformLocation.pushState(O,$,be)}replaceState(O,$,ie,pe){const be=this.prepareExternalUrl(ie+ae(pe));this._platformLocation.replaceState(O,$,be)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(O=0){var $,ie;null===(ie=($=this._platformLocation).historyGo)||void 0===ie||ie.call($,O)}}return P.\u0275fac=function(O){return new(O||P)(b.LFG(H),b.LFG(Oe,8))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})(),Pt=(()=>{class P extends de{constructor(O,$){super(),this._platformLocation=O,this._baseHref="",this._removeListenerFns=[],null!=$&&(this._baseHref=$)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(O){this._removeListenerFns.push(this._platformLocation.onPopState(O),this._platformLocation.onHashChange(O))}getBaseHref(){return this._baseHref}path(O=!1){let $=this._platformLocation.hash;return null==$&&($="#"),$.length>0?$.substring(1):$}prepareExternalUrl(O){const $=re(this._baseHref,O);return $.length>0?"#"+$:$}pushState(O,$,ie,pe){let be=this.prepareExternalUrl(ie+ae(pe));0==be.length&&(be=this._platformLocation.pathname),this._platformLocation.pushState(O,$,be)}replaceState(O,$,ie,pe){let be=this.prepareExternalUrl(ie+ae(pe));0==be.length&&(be=this._platformLocation.pathname),this._platformLocation.replaceState(O,$,be)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(O=0){var $,ie;null===(ie=($=this._platformLocation).historyGo)||void 0===ie||ie.call($,O)}}return P.\u0275fac=function(O){return new(O||P)(b.LFG(H),b.LFG(Oe,8))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})(),xt=(()=>{class P{constructor(O,$){this._subject=new b.vpe,this._urlChangeListeners=[],this._platformStrategy=O;const ie=this._platformStrategy.getBaseHref();this._platformLocation=$,this._baseHref=ee(yt(ie)),this._platformStrategy.onPopState(pe=>{this._subject.emit({url:this.path(!0),pop:!0,state:pe.state,type:pe.type})})}path(O=!1){return this.normalize(this._platformStrategy.path(O))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(O,$=""){return this.path()==this.normalize(O+ae($))}normalize(O){return P.stripTrailingSlash(function an(P,q){return P&&q.startsWith(P)?q.substring(P.length):q}(this._baseHref,yt(O)))}prepareExternalUrl(O){return O&&"/"!==O[0]&&(O="/"+O),this._platformStrategy.prepareExternalUrl(O)}go(O,$="",ie=null){this._platformStrategy.pushState(ie,"",O,$),this._notifyUrlChangeListeners(this.prepareExternalUrl(O+ae($)),ie)}replaceState(O,$="",ie=null){this._platformStrategy.replaceState(ie,"",O,$),this._notifyUrlChangeListeners(this.prepareExternalUrl(O+ae($)),ie)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(O=0){var $,ie;null===(ie=($=this._platformStrategy).historyGo)||void 0===ie||ie.call($,O)}onUrlChange(O){this._urlChangeListeners.push(O),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe($=>{this._notifyUrlChangeListeners($.url,$.state)}))}_notifyUrlChangeListeners(O="",$){this._urlChangeListeners.forEach(ie=>ie(O,$))}subscribe(O,$,ie){return this._subject.subscribe({next:O,error:$,complete:ie})}}return P.normalizeQueryParams=ae,P.joinWithSlash=re,P.stripTrailingSlash=ee,P.\u0275fac=function(O){return new(O||P)(b.LFG(de),b.LFG(H))},P.\u0275prov=b.Yz7({token:P,factory:function(){return function We(){return new xt((0,b.LFG)(de),(0,b.LFG)(H))}()},providedIn:"root"}),P})();function yt(P){return P.replace(/\/index.html$/,"")}var fe=(()=>((fe=fe||{})[fe.Zero=0]="Zero",fe[fe.One=1]="One",fe[fe.Two=2]="Two",fe[fe.Few=3]="Few",fe[fe.Many=4]="Many",fe[fe.Other=5]="Other",fe))(),_e=(()=>((_e=_e||{})[_e.Format=0]="Format",_e[_e.Standalone=1]="Standalone",_e))(),ge=(()=>((ge=ge||{})[ge.Narrow=0]="Narrow",ge[ge.Abbreviated=1]="Abbreviated",ge[ge.Wide=2]="Wide",ge[ge.Short=3]="Short",ge))(),xe=(()=>((xe=xe||{})[xe.Short=0]="Short",xe[xe.Medium=1]="Medium",xe[xe.Long=2]="Long",xe[xe.Full=3]="Full",xe))(),he=(()=>((he=he||{})[he.Decimal=0]="Decimal",he[he.Group=1]="Group",he[he.List=2]="List",he[he.PercentSign=3]="PercentSign",he[he.PlusSign=4]="PlusSign",he[he.MinusSign=5]="MinusSign",he[he.Exponential=6]="Exponential",he[he.SuperscriptingExponent=7]="SuperscriptingExponent",he[he.PerMille=8]="PerMille",he[he.Infinity=9]="Infinity",he[he.NaN=10]="NaN",he[he.TimeSeparator=11]="TimeSeparator",he[he.CurrencyDecimal=12]="CurrencyDecimal",he[he.CurrencyGroup=13]="CurrencyGroup",he))();function ri(P,q){return Hi((0,b.cg1)(P)[b.wAp.DateFormat],q)}function Ro(P,q){return Hi((0,b.cg1)(P)[b.wAp.TimeFormat],q)}function xn(P,q){return Hi((0,b.cg1)(P)[b.wAp.DateTimeFormat],q)}function Yi(P,q){const O=(0,b.cg1)(P),$=O[b.wAp.NumberSymbols][q];if(void 0===$){if(q===he.CurrencyDecimal)return O[b.wAp.NumberSymbols][he.Decimal];if(q===he.CurrencyGroup)return O[b.wAp.NumberSymbols][he.Group]}return $}const eo=b.kL8;function Lo(P){if(!P[b.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${P[b.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Hi(P,q){for(let O=q;O>-1;O--)if(void 0!==P[O])return P[O];throw new Error("Locale data API: locale data undefined")}function Wt(P){const[q,O]=P.split(":");return{hours:+q,minutes:+O}}const ne=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ee={},Se=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var He=(()=>((He=He||{})[He.Short=0]="Short",He[He.ShortGMT=1]="ShortGMT",He[He.Long=2]="Long",He[He.Extended=3]="Extended",He))(),Ae=(()=>((Ae=Ae||{})[Ae.FullYear=0]="FullYear",Ae[Ae.Month=1]="Month",Ae[Ae.Date=2]="Date",Ae[Ae.Hours=3]="Hours",Ae[Ae.Minutes=4]="Minutes",Ae[Ae.Seconds=5]="Seconds",Ae[Ae.FractionalSeconds=6]="FractionalSeconds",Ae[Ae.Day=7]="Day",Ae))(),je=(()=>((je=je||{})[je.DayPeriods=0]="DayPeriods",je[je.Days=1]="Days",je[je.Months=2]="Months",je[je.Eras=3]="Eras",je))();function wt(P,q,O,$){let ie=function Pe(P){if(sn(P))return P;if("number"==typeof P&&!isNaN(P))return new Date(P);if("string"==typeof P){if(P=P.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(P)){const[ie,pe=1,be=1]=P.split("-").map(Ze=>+Ze);return Ei(ie,pe-1,be)}const O=parseFloat(P);if(!isNaN(P-O))return new Date(O);let $;if($=P.match(ne))return function yi(P){const q=new Date(0);let O=0,$=0;const ie=P[8]?q.setUTCFullYear:q.setFullYear,pe=P[8]?q.setUTCHours:q.setHours;P[9]&&(O=Number(P[9]+P[10]),$=Number(P[9]+P[11])),ie.call(q,Number(P[1]),Number(P[2])-1,Number(P[3]));const be=Number(P[4]||0)-O,Ze=Number(P[5]||0)-$,Xt=Number(P[6]||0),Yt=Math.floor(1e3*parseFloat("0."+(P[7]||0)));return pe.call(q,be,Ze,Xt,Yt),q}($)}const q=new Date(P);if(!sn(q))throw new Error(`Unable to convert "${P}" into a date`);return q}(P);q=Rt(O,q)||q;let Ze,be=[];for(;q;){if(Ze=Se.exec(q),!Ze){be.push(q);break}{be=be.concat(Ze.slice(1));const Mt=be.pop();if(!Mt)break;q=Mt}}let Xt=ie.getTimezoneOffset();$&&(Xt=or($,Xt),ie=function D(P,q,O){const $=O?-1:1,ie=P.getTimezoneOffset();return function Br(P,q){return(P=new Date(P.getTime())).setMinutes(P.getMinutes()+q),P}(P,$*(or(q,ie)-ie))}(ie,$,!0));let Yt="";return be.forEach(Mt=>{const Nt=function sr(P){if(Yn[P])return Yn[P];let q;switch(P){case"G":case"GG":case"GGG":q=zt(je.Eras,ge.Abbreviated);break;case"GGGG":q=zt(je.Eras,ge.Wide);break;case"GGGGG":q=zt(je.Eras,ge.Narrow);break;case"y":q=Ue(Ae.FullYear,1,0,!1,!0);break;case"yy":q=Ue(Ae.FullYear,2,0,!0,!0);break;case"yyy":q=Ue(Ae.FullYear,3,0,!1,!0);break;case"yyyy":q=Ue(Ae.FullYear,4,0,!1,!0);break;case"Y":q=io(1);break;case"YY":q=io(2,!0);break;case"YYY":q=io(3);break;case"YYYY":q=io(4);break;case"M":case"L":q=Ue(Ae.Month,1,1);break;case"MM":case"LL":q=Ue(Ae.Month,2,1);break;case"MMM":q=zt(je.Months,ge.Abbreviated);break;case"MMMM":q=zt(je.Months,ge.Wide);break;case"MMMMM":q=zt(je.Months,ge.Narrow);break;case"LLL":q=zt(je.Months,ge.Abbreviated,_e.Standalone);break;case"LLLL":q=zt(je.Months,ge.Wide,_e.Standalone);break;case"LLLLL":q=zt(je.Months,ge.Narrow,_e.Standalone);break;case"w":q=to(1);break;case"ww":q=to(2);break;case"W":q=to(1,!0);break;case"d":q=Ue(Ae.Date,1);break;case"dd":q=Ue(Ae.Date,2);break;case"c":case"cc":q=Ue(Ae.Day,1);break;case"ccc":q=zt(je.Days,ge.Abbreviated,_e.Standalone);break;case"cccc":q=zt(je.Days,ge.Wide,_e.Standalone);break;case"ccccc":q=zt(je.Days,ge.Narrow,_e.Standalone);break;case"cccccc":q=zt(je.Days,ge.Short,_e.Standalone);break;case"E":case"EE":case"EEE":q=zt(je.Days,ge.Abbreviated);break;case"EEEE":q=zt(je.Days,ge.Wide);break;case"EEEEE":q=zt(je.Days,ge.Narrow);break;case"EEEEEE":q=zt(je.Days,ge.Short);break;case"a":case"aa":case"aaa":q=zt(je.DayPeriods,ge.Abbreviated);break;case"aaaa":q=zt(je.DayPeriods,ge.Wide);break;case"aaaaa":q=zt(je.DayPeriods,ge.Narrow);break;case"b":case"bb":case"bbb":q=zt(je.DayPeriods,ge.Abbreviated,_e.Standalone,!0);break;case"bbbb":q=zt(je.DayPeriods,ge.Wide,_e.Standalone,!0);break;case"bbbbb":q=zt(je.DayPeriods,ge.Narrow,_e.Standalone,!0);break;case"B":case"BB":case"BBB":q=zt(je.DayPeriods,ge.Abbreviated,_e.Format,!0);break;case"BBBB":q=zt(je.DayPeriods,ge.Wide,_e.Format,!0);break;case"BBBBB":q=zt(je.DayPeriods,ge.Narrow,_e.Format,!0);break;case"h":q=Ue(Ae.Hours,1,-12);break;case"hh":q=Ue(Ae.Hours,2,-12);break;case"H":q=Ue(Ae.Hours,1);break;case"HH":q=Ue(Ae.Hours,2);break;case"m":q=Ue(Ae.Minutes,1);break;case"mm":q=Ue(Ae.Minutes,2);break;case"s":q=Ue(Ae.Seconds,1);break;case"ss":q=Ue(Ae.Seconds,2);break;case"S":q=Ue(Ae.FractionalSeconds,1);break;case"SS":q=Ue(Ae.FractionalSeconds,2);break;case"SSS":q=Ue(Ae.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":q=is(He.Short);break;case"ZZZZZ":q=is(He.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":q=is(He.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":q=is(He.Long);break;default:return null}return Yn[P]=q,q}(Mt);Yt+=Nt?Nt(ie,O,Xt):"''"===Mt?"'":Mt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Yt}function Ei(P,q,O){const $=new Date(0);return $.setFullYear(P,q,O),$.setHours(0,0,0),$}function Rt(P,q){const O=function qt(P){return(0,b.cg1)(P)[b.wAp.LocaleId]}(P);if(Ee[O]=Ee[O]||{},Ee[O][q])return Ee[O][q];let $="";switch(q){case"shortDate":$=ri(P,xe.Short);break;case"mediumDate":$=ri(P,xe.Medium);break;case"longDate":$=ri(P,xe.Long);break;case"fullDate":$=ri(P,xe.Full);break;case"shortTime":$=Ro(P,xe.Short);break;case"mediumTime":$=Ro(P,xe.Medium);break;case"longTime":$=Ro(P,xe.Long);break;case"fullTime":$=Ro(P,xe.Full);break;case"short":const ie=Rt(P,"shortTime"),pe=Rt(P,"shortDate");$=Rs(xn(P,xe.Short),[ie,pe]);break;case"medium":const be=Rt(P,"mediumTime"),Ze=Rt(P,"mediumDate");$=Rs(xn(P,xe.Medium),[be,Ze]);break;case"long":const Xt=Rt(P,"longTime"),Yt=Rt(P,"longDate");$=Rs(xn(P,xe.Long),[Xt,Yt]);break;case"full":const Mt=Rt(P,"fullTime"),Nt=Rt(P,"fullDate");$=Rs(xn(P,xe.Full),[Mt,Nt])}return $&&(Ee[O][q]=$),$}function Rs(P,q){return q&&(P=P.replace(/\{([^}]+)}/g,function(O,$){return null!=q&&$ in q?q[$]:O})),P}function Di(P,q,O="-",$,ie){let pe="";(P<0||ie&&P<=0)&&(ie?P=1-P:(P=-P,pe=O));let be=String(P);for(;be.length0||Ze>-O)&&(Ze+=O),P===Ae.Hours)0===Ze&&-12===O&&(Ze=12);else if(P===Ae.FractionalSeconds)return function tt(P,q){return Di(P,3).substr(0,q)}(Ze,q);const Xt=Yi(be,he.MinusSign);return Di(Ze,q,Xt,$,ie)}}function zt(P,q,O=_e.Format,$=!1){return function(ie,pe){return function pt(P,q,O,$,ie,pe){switch(O){case je.Months:return function lt(P,q,O){const $=(0,b.cg1)(P),pe=Hi([$[b.wAp.MonthsFormat],$[b.wAp.MonthsStandalone]],q);return Hi(pe,O)}(q,ie,$)[P.getMonth()];case je.Days:return function Xe(P,q,O){const $=(0,b.cg1)(P),pe=Hi([$[b.wAp.DaysFormat],$[b.wAp.DaysStandalone]],q);return Hi(pe,O)}(q,ie,$)[P.getDay()];case je.DayPeriods:const be=P.getHours(),Ze=P.getMinutes();if(pe){const Yt=function uu(P){const q=(0,b.cg1)(P);return Lo(q),(q[b.wAp.ExtraData][2]||[]).map($=>"string"==typeof $?Wt($):[Wt($[0]),Wt($[1])])}(q),Mt=function ut(P,q,O){const $=(0,b.cg1)(P);Lo($);const pe=Hi([$[b.wAp.ExtraData][0],$[b.wAp.ExtraData][1]],q)||[];return Hi(pe,O)||[]}(q,ie,$),Nt=Yt.findIndex(zi=>{if(Array.isArray(zi)){const[hi,ci]=zi,uo=be>=hi.hours&&Ze>=hi.minutes,ps=be0?Math.floor(ie/60):Math.ceil(ie/60);switch(P){case He.Short:return(ie>=0?"+":"")+Di(be,2,pe)+Di(Math.abs(ie%60),2,pe);case He.ShortGMT:return"GMT"+(ie>=0?"+":"")+Di(be,1,pe);case He.Long:return"GMT"+(ie>=0?"+":"")+Di(be,2,pe)+":"+Di(Math.abs(ie%60),2,pe);case He.Extended:return 0===$?"Z":(ie>=0?"+":"")+Di(be,2,pe)+":"+Di(Math.abs(ie%60),2,pe);default:throw new Error(`Unknown zone width "${P}"`)}}}function Io(P){return Ei(P.getFullYear(),P.getMonth(),P.getDate()+(4-P.getDay()))}function to(P,q=!1){return function(O,$){let ie;if(q){const pe=new Date(O.getFullYear(),O.getMonth(),1).getDay()-1,be=O.getDate();ie=1+Math.floor((be+pe)/7)}else{const pe=Io(O),be=function nl(P){const q=Ei(P,0,1).getDay();return Ei(P,0,1+(q<=4?4:11)-q)}(pe.getFullYear()),Ze=pe.getTime()-be.getTime();ie=1+Math.round(Ze/6048e5)}return Di(ie,P,Yi($,he.MinusSign))}}function io(P,q=!1){return function(O,$){return Di(Io(O).getFullYear(),P,Yi($,he.MinusSign),q)}}const Yn={};function or(P,q){P=P.replace(/:/g,"");const O=Date.parse("Jan 01, 1970 00:00:00 "+P)/6e4;return isNaN(O)?q:O}function sn(P){return P instanceof Date&&!isNaN(P.valueOf())}class $t{}let no=(()=>{class P extends $t{constructor(O){super(),this.locale=O}getPluralCategory(O,$){switch(eo($||this.locale)(O)){case fe.Zero:return"zero";case fe.One:return"one";case fe.Two:return"two";case fe.Few:return"few";case fe.Many:return"many";default:return"other"}}}return P.\u0275fac=function(O){return new(O||P)(b.LFG(b.soG))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})();function Ya(P,q){q=encodeURIComponent(q);for(const O of P.split(";")){const $=O.indexOf("="),[ie,pe]=-1==$?[O,""]:[O.slice(0,$),O.slice($+1)];if(ie.trim()===q)return decodeURIComponent(pe)}return null}let Oo=(()=>{class P{constructor(O,$,ie,pe){this._iterableDiffers=O,this._keyValueDiffers=$,this._ngEl=ie,this._renderer=pe,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(O){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof O?O.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(O){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof O?O.split(/\s+/):O,this._rawClass&&((0,b.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const O=this._iterableDiffer.diff(this._rawClass);O&&this._applyIterableChanges(O)}else if(this._keyValueDiffer){const O=this._keyValueDiffer.diff(this._rawClass);O&&this._applyKeyValueChanges(O)}}_applyKeyValueChanges(O){O.forEachAddedItem($=>this._toggleClass($.key,$.currentValue)),O.forEachChangedItem($=>this._toggleClass($.key,$.currentValue)),O.forEachRemovedItem($=>{$.previousValue&&this._toggleClass($.key,!1)})}_applyIterableChanges(O){O.forEachAddedItem($=>{if("string"!=typeof $.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,b.AaK)($.item)}`);this._toggleClass($.item,!0)}),O.forEachRemovedItem($=>this._toggleClass($.item,!1))}_applyClasses(O){O&&(Array.isArray(O)||O instanceof Set?O.forEach($=>this._toggleClass($,!0)):Object.keys(O).forEach($=>this._toggleClass($,!!O[$])))}_removeClasses(O){O&&(Array.isArray(O)||O instanceof Set?O.forEach($=>this._toggleClass($,!1)):Object.keys(O).forEach($=>this._toggleClass($,!1)))}_toggleClass(O,$){(O=O.trim())&&O.split(/\s+/g).forEach(ie=>{$?this._renderer.addClass(this._ngEl.nativeElement,ie):this._renderer.removeClass(this._ngEl.nativeElement,ie)})}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.ZZ4),b.Y36(b.aQg),b.Y36(b.SBq),b.Y36(b.Qsj))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),P})();class rr{constructor(q,O,$,ie){this.$implicit=q,this.ngForOf=O,this.index=$,this.count=ie}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ln=(()=>{class P{constructor(O,$,ie){this._viewContainer=O,this._template=$,this._differs=ie,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(O){this._ngForOf=O,this._ngForOfDirty=!0}set ngForTrackBy(O){this._trackByFn=O}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(O){O&&(this._template=O)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const O=this._ngForOf;!this._differ&&O&&(this._differ=this._differs.find(O).create(this.ngForTrackBy))}if(this._differ){const O=this._differ.diff(this._ngForOf);O&&this._applyChanges(O)}}_applyChanges(O){const $=this._viewContainer;O.forEachOperation((ie,pe,be)=>{if(null==ie.previousIndex)$.createEmbeddedView(this._template,new rr(ie.item,this._ngForOf,-1,-1),null===be?void 0:be);else if(null==be)$.remove(null===pe?void 0:pe);else if(null!==pe){const Ze=$.get(pe);$.move(Ze,be),Ho(Ze,ie)}});for(let ie=0,pe=$.length;ie{Ho($.get(ie.currentIndex),ie)})}static ngTemplateContextGuard(O,$){return!0}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(b.ZZ4))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),P})();function Ho(P,q){P.context.$implicit=q.item}let Un=(()=>{class P{constructor(O,$){this._viewContainer=O,this._context=new ii,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=$}set ngIf(O){this._context.$implicit=this._context.ngIf=O,this._updateView()}set ngIfThen(O){ol("ngIfThen",O),this._thenTemplateRef=O,this._thenViewRef=null,this._updateView()}set ngIfElse(O){ol("ngIfElse",O),this._elseTemplateRef=O,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(O,$){return!0}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b),b.Y36(b.Rgc))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),P})();class ii{constructor(){this.$implicit=null,this.ngIf=null}}function ol(P,q){if(q&&!q.createEmbeddedView)throw new Error(`${P} must be a TemplateRef, but received '${(0,b.AaK)(q)}'.`)}class Fo{constructor(q,O){this._viewContainerRef=q,this._templateRef=O,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(q){q&&!this._created?this.create():!q&&this._created&&this.destroy()}}let Cn=(()=>{class P{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(O){this._ngSwitch=O,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(O){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(O)}_matchCase(O){const $=O==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||$,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),$}_updateDefaultCases(O){if(this._defaultViews&&O!==this._defaultUsed){this._defaultUsed=O;for(let $=0;${class P{constructor(O,$,ie){this.ngSwitch=ie,ie._addCase(),this._view=new Fo(O,$)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Cn,9))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),P})(),ja=(()=>{class P{constructor(O,$,ie){ie._addDefault(new Fo(O,$))}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Cn,9))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngSwitchDefault",""]]}),P})(),ar=(()=>{class P{constructor(O,$,ie){this._ngEl=O,this._differs=$,this._renderer=ie,this._ngStyle=null,this._differ=null}set ngStyle(O){this._ngStyle=O,!this._differ&&O&&(this._differ=this._differs.find(O).create())}ngDoCheck(){if(this._differ){const O=this._differ.diff(this._ngStyle);O&&this._applyChanges(O)}}_setStyle(O,$){const[ie,pe]=O.split(".");null!=($=null!=$&&pe?`${$}${pe}`:$)?this._renderer.setStyle(this._ngEl.nativeElement,ie,$):this._renderer.removeStyle(this._ngEl.nativeElement,ie)}_applyChanges(O){O.forEachRemovedItem($=>this._setStyle($.key,null)),O.forEachAddedItem($=>this._setStyle($.key,$.currentValue)),O.forEachChangedItem($=>this._setStyle($.key,$.currentValue))}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.SBq),b.Y36(b.aQg),b.Y36(b.Qsj))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),P})(),Ps=(()=>{class P{constructor(O){this._viewContainerRef=O,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(O){if(O.ngTemplateOutlet){const $=this._viewContainerRef;this._viewRef&&$.remove($.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?$.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&O.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[b.TTD]}),P})();function ss(P,q){return new b.vHH(2100,"")}class eh{createSubscription(q,O){return q.subscribe({next:O,error:$=>{throw $}})}dispose(q){q.unsubscribe()}onDestroy(q){q.unsubscribe()}}class Tt{createSubscription(q,O){return q.then(O,$=>{throw $})}dispose(q){}onDestroy(q){}}const oo=new Tt,Kt=new eh;let un=(()=>{class P{constructor(O){this._ref=O,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(O){return this._obj?O!==this._obj?(this._dispose(),this.transform(O)):this._latestValue:(O&&this._subscribe(O),this._latestValue)}_subscribe(O){this._obj=O,this._strategy=this._selectStrategy(O),this._subscription=this._strategy.createSubscription(O,$=>this._updateLatestValue(O,$))}_selectStrategy(O){if((0,b.QGY)(O))return oo;if((0,b.F4k)(O))return Kt;throw ss()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(O,$){O===this._obj&&(this._latestValue=$,this._ref.markForCheck())}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.sBO,16))},P.\u0275pipe=b.Yjl({name:"async",type:P,pure:!1}),P})();const jr=new b.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Ui=(()=>{class P{constructor(O,$){this.locale=O,this.defaultTimezone=$}transform(O,$="mediumDate",ie,pe){var be;if(null==O||""===O||O!=O)return null;try{return wt(O,$,pe||this.locale,null!==(be=null!=ie?ie:this.defaultTimezone)&&void 0!==be?be:void 0)}catch(Ze){throw ss()}}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.soG,16),b.Y36(jr,24))},P.\u0275pipe=b.Yjl({name:"date",type:P,pure:!0}),P})(),Ur=(()=>{class P{}return P.\u0275fac=function(O){return new(O||P)},P.\u0275mod=b.oAB({type:P}),P.\u0275inj=b.cJS({providers:[{provide:$t,useClass:no}]}),P})();const qa="browser";function _n(P){return P===qa}let lr=(()=>{class P{}return P.\u0275prov=(0,b.Yz7)({token:P,providedIn:"root",factory:()=>new co((0,b.LFG)(R),window)}),P})();class co{constructor(q,O){this.document=q,this.window=O,this.offset=()=>[0,0]}setOffset(q){this.offset=Array.isArray(q)?()=>q:q}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(q){this.supportsScrolling()&&this.window.scrollTo(q[0],q[1])}scrollToAnchor(q){if(!this.supportsScrolling())return;const O=function Vi(P,q){const O=P.getElementById(q)||P.getElementsByName(q)[0];if(O)return O;if("function"==typeof P.createTreeWalker&&P.body&&(P.body.createShadowRoot||P.body.attachShadow)){const $=P.createTreeWalker(P.body,NodeFilter.SHOW_ELEMENT);let ie=$.currentNode;for(;ie;){const pe=ie.shadowRoot;if(pe){const be=pe.getElementById(q)||pe.querySelector(`[name="${q}"]`);if(be)return be}ie=$.nextNode()}}return null}(this.document,q);O&&(this.scrollToElement(O),O.focus())}setHistoryScrollRestoration(q){if(this.supportScrollRestoration()){const O=this.window.history;O&&O.scrollRestoration&&(O.scrollRestoration=q)}}scrollToElement(q){const O=q.getBoundingClientRect(),$=O.left+this.window.pageXOffset,ie=O.top+this.window.pageYOffset,pe=this.offset();this.window.scrollTo($-pe[0],ie-pe[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const q=lo(this.window.history)||lo(Object.getPrototypeOf(this.window.history));return!(!q||!q.writable&&!q.set)}catch(q){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(q){return!1}}}function lo(P){return Object.getOwnPropertyDescriptor(P,"scrollRestoration")}class ni{}},520:(Y,U,w)=>{"use strict";w.d(U,{TP:()=>qt,eN:()=>he,JF:()=>Hi,WM:()=>N,LE:()=>de,Zn:()=>_e});var b=w(9808),i=w(5e3),T=w(1086),v=w(2916),C=w(1406),E=w(2198),R=w(4850);class H{}class B{}class N{constructor(oe){this.normalizedNames=new Map,this.lazyUpdate=null,oe?this.lazyInit="string"==typeof oe?()=>{this.headers=new Map,oe.split("\n").forEach(ne=>{const Ee=ne.indexOf(":");if(Ee>0){const Se=ne.slice(0,Ee),He=Se.toLowerCase(),Ae=ne.slice(Ee+1).trim();this.maybeSetNormalizedName(Se,He),this.headers.has(He)?this.headers.get(He).push(Ae):this.headers.set(He,[Ae])}})}:()=>{this.headers=new Map,Object.keys(oe).forEach(ne=>{let Ee=oe[ne];const Se=ne.toLowerCase();"string"==typeof Ee&&(Ee=[Ee]),Ee.length>0&&(this.headers.set(Se,Ee),this.maybeSetNormalizedName(ne,Se))})}:this.headers=new Map}has(oe){return this.init(),this.headers.has(oe.toLowerCase())}get(oe){this.init();const ne=this.headers.get(oe.toLowerCase());return ne&&ne.length>0?ne[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(oe){return this.init(),this.headers.get(oe.toLowerCase())||null}append(oe,ne){return this.clone({name:oe,value:ne,op:"a"})}set(oe,ne){return this.clone({name:oe,value:ne,op:"s"})}delete(oe,ne){return this.clone({name:oe,value:ne,op:"d"})}maybeSetNormalizedName(oe,ne){this.normalizedNames.has(ne)||this.normalizedNames.set(ne,oe)}init(){this.lazyInit&&(this.lazyInit instanceof N?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(oe=>this.applyUpdate(oe)),this.lazyUpdate=null))}copyFrom(oe){oe.init(),Array.from(oe.headers.keys()).forEach(ne=>{this.headers.set(ne,oe.headers.get(ne)),this.normalizedNames.set(ne,oe.normalizedNames.get(ne))})}clone(oe){const ne=new N;return ne.lazyInit=this.lazyInit&&this.lazyInit instanceof N?this.lazyInit:this,ne.lazyUpdate=(this.lazyUpdate||[]).concat([oe]),ne}applyUpdate(oe){const ne=oe.name.toLowerCase();switch(oe.op){case"a":case"s":let Ee=oe.value;if("string"==typeof Ee&&(Ee=[Ee]),0===Ee.length)return;this.maybeSetNormalizedName(oe.name,ne);const Se=("a"===oe.op?this.headers.get(ne):void 0)||[];Se.push(...Ee),this.headers.set(ne,Se);break;case"d":const He=oe.value;if(He){let Ae=this.headers.get(ne);if(!Ae)return;Ae=Ae.filter(je=>-1===He.indexOf(je)),0===Ae.length?(this.headers.delete(ne),this.normalizedNames.delete(ne)):this.headers.set(ne,Ae)}else this.headers.delete(ne),this.normalizedNames.delete(ne)}}forEach(oe){this.init(),Array.from(this.normalizedNames.keys()).forEach(ne=>oe(this.normalizedNames.get(ne),this.headers.get(ne)))}}class V{encodeKey(oe){return ee(oe)}encodeValue(oe){return ee(oe)}decodeKey(oe){return decodeURIComponent(oe)}decodeValue(oe){return decodeURIComponent(oe)}}const X=/%(\d[a-f0-9])/gi,re={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ee(ve){return encodeURIComponent(ve).replace(X,(oe,ne)=>{var Ee;return null!==(Ee=re[ne])&&void 0!==Ee?Ee:oe})}function ae(ve){return`${ve}`}class de{constructor(oe={}){if(this.updates=null,this.cloneFrom=null,this.encoder=oe.encoder||new V,oe.fromString){if(oe.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function J(ve,oe){const ne=new Map;return ve.length>0&&ve.replace(/^\?/,"").split("&").forEach(Se=>{const He=Se.indexOf("="),[Ae,je]=-1==He?[oe.decodeKey(Se),""]:[oe.decodeKey(Se.slice(0,He)),oe.decodeValue(Se.slice(He+1))],wt=ne.get(Ae)||[];wt.push(je),ne.set(Ae,wt)}),ne}(oe.fromString,this.encoder)}else oe.fromObject?(this.map=new Map,Object.keys(oe.fromObject).forEach(ne=>{const Ee=oe.fromObject[ne];this.map.set(ne,Array.isArray(Ee)?Ee:[Ee])})):this.map=null}has(oe){return this.init(),this.map.has(oe)}get(oe){this.init();const ne=this.map.get(oe);return ne?ne[0]:null}getAll(oe){return this.init(),this.map.get(oe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(oe,ne){return this.clone({param:oe,value:ne,op:"a"})}appendAll(oe){const ne=[];return Object.keys(oe).forEach(Ee=>{const Se=oe[Ee];Array.isArray(Se)?Se.forEach(He=>{ne.push({param:Ee,value:He,op:"a"})}):ne.push({param:Ee,value:Se,op:"a"})}),this.clone(ne)}set(oe,ne){return this.clone({param:oe,value:ne,op:"s"})}delete(oe,ne){return this.clone({param:oe,value:ne,op:"d"})}toString(){return this.init(),this.keys().map(oe=>{const ne=this.encoder.encodeKey(oe);return this.map.get(oe).map(Ee=>ne+"="+this.encoder.encodeValue(Ee)).join("&")}).filter(oe=>""!==oe).join("&")}clone(oe){const ne=new de({encoder:this.encoder});return ne.cloneFrom=this.cloneFrom||this,ne.updates=(this.updates||[]).concat(oe),ne}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(oe=>this.map.set(oe,this.cloneFrom.map.get(oe))),this.updates.forEach(oe=>{switch(oe.op){case"a":case"s":const ne=("a"===oe.op?this.map.get(oe.param):void 0)||[];ne.push(ae(oe.value)),this.map.set(oe.param,ne);break;case"d":if(void 0===oe.value){this.map.delete(oe.param);break}{let Ee=this.map.get(oe.param)||[];const Se=Ee.indexOf(ae(oe.value));-1!==Se&&Ee.splice(Se,1),Ee.length>0?this.map.set(oe.param,Ee):this.map.delete(oe.param)}}}),this.cloneFrom=this.updates=null)}}class Oe{constructor(){this.map=new Map}set(oe,ne){return this.map.set(oe,ne),this}get(oe){return this.map.has(oe)||this.map.set(oe,oe.defaultValue()),this.map.get(oe)}delete(oe){return this.map.delete(oe),this}has(oe){return this.map.has(oe)}keys(){return this.map.keys()}}function Pt(ve){return"undefined"!=typeof ArrayBuffer&&ve instanceof ArrayBuffer}function xt(ve){return"undefined"!=typeof Blob&&ve instanceof Blob}function We(ve){return"undefined"!=typeof FormData&&ve instanceof FormData}class yt{constructor(oe,ne,Ee,Se){let He;if(this.url=ne,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=oe.toUpperCase(),function Ve(ve){switch(ve){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Se?(this.body=void 0!==Ee?Ee:null,He=Se):He=Ee,He&&(this.reportProgress=!!He.reportProgress,this.withCredentials=!!He.withCredentials,He.responseType&&(this.responseType=He.responseType),He.headers&&(this.headers=He.headers),He.context&&(this.context=He.context),He.params&&(this.params=He.params)),this.headers||(this.headers=new N),this.context||(this.context=new Oe),this.params){const Ae=this.params.toString();if(0===Ae.length)this.urlWithParams=ne;else{const je=ne.indexOf("?");this.urlWithParams=ne+(-1===je?"?":jeDi.set(tt,oe.setHeaders[tt]),Ei)),oe.setParams&&(Rt=Object.keys(oe.setParams).reduce((Di,tt)=>Di.set(tt,oe.setParams[tt]),Rt)),new yt(Ee,Se,Ae,{params:Rt,headers:Ei,context:Rs,reportProgress:wt,responseType:He,withCredentials:je})}}var ft=(()=>((ft=ft||{})[ft.Sent=0]="Sent",ft[ft.UploadProgress=1]="UploadProgress",ft[ft.ResponseHeader=2]="ResponseHeader",ft[ft.DownloadProgress=3]="DownloadProgress",ft[ft.Response=4]="Response",ft[ft.User=5]="User",ft))();class ue{constructor(oe,ne=200,Ee="OK"){this.headers=oe.headers||new N,this.status=void 0!==oe.status?oe.status:ne,this.statusText=oe.statusText||Ee,this.url=oe.url||null,this.ok=this.status>=200&&this.status<300}}class fe extends ue{constructor(oe={}){super(oe),this.type=ft.ResponseHeader}clone(oe={}){return new fe({headers:oe.headers||this.headers,status:void 0!==oe.status?oe.status:this.status,statusText:oe.statusText||this.statusText,url:oe.url||this.url||void 0})}}class _e extends ue{constructor(oe={}){super(oe),this.type=ft.Response,this.body=void 0!==oe.body?oe.body:null}clone(oe={}){return new _e({body:void 0!==oe.body?oe.body:this.body,headers:oe.headers||this.headers,status:void 0!==oe.status?oe.status:this.status,statusText:oe.statusText||this.statusText,url:oe.url||this.url||void 0})}}class ge extends ue{constructor(oe){super(oe,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${oe.url||"(unknown url)"}`:`Http failure response for ${oe.url||"(unknown url)"}: ${oe.status} ${oe.statusText}`,this.error=oe.error||null}}function xe(ve,oe){return{body:oe,headers:ve.headers,context:ve.context,observe:ve.observe,params:ve.params,reportProgress:ve.reportProgress,responseType:ve.responseType,withCredentials:ve.withCredentials}}let he=(()=>{class ve{constructor(ne){this.handler=ne}request(ne,Ee,Se={}){let He;if(ne instanceof yt)He=ne;else{let wt,Ei;wt=Se.headers instanceof N?Se.headers:new N(Se.headers),Se.params&&(Ei=Se.params instanceof de?Se.params:new de({fromObject:Se.params})),He=new yt(ne,Ee,void 0!==Se.body?Se.body:null,{headers:wt,context:Se.context,params:Ei,reportProgress:Se.reportProgress,responseType:Se.responseType||"json",withCredentials:Se.withCredentials})}const Ae=(0,T.of)(He).pipe((0,C.b)(wt=>this.handler.handle(wt)));if(ne instanceof yt||"events"===Se.observe)return Ae;const je=Ae.pipe((0,E.h)(wt=>wt instanceof _e));switch(Se.observe||"body"){case"body":switch(He.responseType){case"arraybuffer":return je.pipe((0,R.U)(wt=>{if(null!==wt.body&&!(wt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return wt.body}));case"blob":return je.pipe((0,R.U)(wt=>{if(null!==wt.body&&!(wt.body instanceof Blob))throw new Error("Response is not a Blob.");return wt.body}));case"text":return je.pipe((0,R.U)(wt=>{if(null!==wt.body&&"string"!=typeof wt.body)throw new Error("Response is not a string.");return wt.body}));default:return je.pipe((0,R.U)(wt=>wt.body))}case"response":return je;default:throw new Error(`Unreachable: unhandled observe type ${Se.observe}}`)}}delete(ne,Ee={}){return this.request("DELETE",ne,Ee)}get(ne,Ee={}){return this.request("GET",ne,Ee)}head(ne,Ee={}){return this.request("HEAD",ne,Ee)}jsonp(ne,Ee){return this.request("JSONP",ne,{params:(new de).append(Ee,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ne,Ee={}){return this.request("OPTIONS",ne,Ee)}patch(ne,Ee,Se={}){return this.request("PATCH",ne,xe(Se,Ee))}post(ne,Ee,Se={}){return this.request("POST",ne,xe(Se,Ee))}put(ne,Ee,Se={}){return this.request("PUT",ne,xe(Se,Ee))}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(H))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class bt{constructor(oe,ne){this.next=oe,this.interceptor=ne}handle(oe){return this.interceptor.intercept(oe,this.next)}}const qt=new i.OlP("HTTP_INTERCEPTORS");let _i=(()=>{class ve{intercept(ne,Ee){return Ee.handle(ne)}}return ve.\u0275fac=function(ne){return new(ne||ve)},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const xn=/^\)\]\}',?\n/;let Xs=(()=>{class ve{constructor(ne){this.xhrFactory=ne}handle(ne){if("JSONP"===ne.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new v.y(Ee=>{const Se=this.xhrFactory.build();if(Se.open(ne.method,ne.urlWithParams),ne.withCredentials&&(Se.withCredentials=!0),ne.headers.forEach((tt,Ue)=>Se.setRequestHeader(tt,Ue.join(","))),ne.headers.has("Accept")||Se.setRequestHeader("Accept","application/json, text/plain, */*"),!ne.headers.has("Content-Type")){const tt=ne.detectContentTypeHeader();null!==tt&&Se.setRequestHeader("Content-Type",tt)}if(ne.responseType){const tt=ne.responseType.toLowerCase();Se.responseType="json"!==tt?tt:"text"}const He=ne.serializeBody();let Ae=null;const je=()=>{if(null!==Ae)return Ae;const tt=Se.statusText||"OK",Ue=new N(Se.getAllResponseHeaders()),Rn=function Yi(ve){return"responseURL"in ve&&ve.responseURL?ve.responseURL:/^X-Request-URL:/m.test(ve.getAllResponseHeaders())?ve.getResponseHeader("X-Request-URL"):null}(Se)||ne.url;return Ae=new fe({headers:Ue,status:Se.status,statusText:tt,url:Rn}),Ae},wt=()=>{let{headers:tt,status:Ue,statusText:Rn,url:zt}=je(),pt=null;204!==Ue&&(pt=void 0===Se.response?Se.responseText:Se.response),0===Ue&&(Ue=pt?200:0);let is=Ue>=200&&Ue<300;if("json"===ne.responseType&&"string"==typeof pt){const Bn=pt;pt=pt.replace(xn,"");try{pt=""!==pt?JSON.parse(pt):null}catch(Pn){pt=Bn,is&&(is=!1,pt={error:Pn,text:pt})}}is?(Ee.next(new _e({body:pt,headers:tt,status:Ue,statusText:Rn,url:zt||void 0})),Ee.complete()):Ee.error(new ge({error:pt,headers:tt,status:Ue,statusText:Rn,url:zt||void 0}))},Ei=tt=>{const{url:Ue}=je(),Rn=new ge({error:tt,status:Se.status||0,statusText:Se.statusText||"Unknown Error",url:Ue||void 0});Ee.error(Rn)};let Rt=!1;const Rs=tt=>{Rt||(Ee.next(je()),Rt=!0);let Ue={type:ft.DownloadProgress,loaded:tt.loaded};tt.lengthComputable&&(Ue.total=tt.total),"text"===ne.responseType&&!!Se.responseText&&(Ue.partialText=Se.responseText),Ee.next(Ue)},Di=tt=>{let Ue={type:ft.UploadProgress,loaded:tt.loaded};tt.lengthComputable&&(Ue.total=tt.total),Ee.next(Ue)};return Se.addEventListener("load",wt),Se.addEventListener("error",Ei),Se.addEventListener("timeout",Ei),Se.addEventListener("abort",Ei),ne.reportProgress&&(Se.addEventListener("progress",Rs),null!==He&&Se.upload&&Se.upload.addEventListener("progress",Di)),Se.send(He),Ee.next({type:ft.Sent}),()=>{Se.removeEventListener("error",Ei),Se.removeEventListener("abort",Ei),Se.removeEventListener("load",wt),Se.removeEventListener("timeout",Ei),ne.reportProgress&&(Se.removeEventListener("progress",Rs),null!==He&&Se.upload&&Se.upload.removeEventListener("progress",Di)),Se.readyState!==Se.DONE&&Se.abort()}})}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(b.JF))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const Fr=new i.OlP("XSRF_COOKIE_NAME"),zr=new i.OlP("XSRF_HEADER_NAME");class Nr{}let Po=(()=>{class ve{constructor(ne,Ee,Se){this.doc=ne,this.platform=Ee,this.cookieName=Se,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ne=this.doc.cookie||"";return ne!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,b.Mx)(ne,this.cookieName),this.lastCookieString=ne),this.lastToken}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(b.K0),i.LFG(i.Lbi),i.LFG(Fr))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),eo=(()=>{class ve{constructor(ne,Ee){this.tokenService=ne,this.headerName=Ee}intercept(ne,Ee){const Se=ne.url.toLowerCase();if("GET"===ne.method||"HEAD"===ne.method||Se.startsWith("http://")||Se.startsWith("https://"))return Ee.handle(ne);const He=this.tokenService.getToken();return null!==He&&!ne.headers.has(this.headerName)&&(ne=ne.clone({headers:ne.headers.set(this.headerName,He)})),Ee.handle(ne)}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(Nr),i.LFG(zr))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),Lo=(()=>{class ve{constructor(ne,Ee){this.backend=ne,this.injector=Ee,this.chain=null}handle(ne){if(null===this.chain){const Ee=this.injector.get(qt,[]);this.chain=Ee.reduceRight((Se,He)=>new bt(Se,He),this.backend)}return this.chain.handle(ne)}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(B),i.LFG(i.zs3))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),Ba=(()=>{class ve{static disable(){return{ngModule:ve,providers:[{provide:eo,useClass:_i}]}}static withOptions(ne={}){return{ngModule:ve,providers:[ne.cookieName?{provide:Fr,useValue:ne.cookieName}:[],ne.headerName?{provide:zr,useValue:ne.headerName}:[]]}}}return ve.\u0275fac=function(ne){return new(ne||ve)},ve.\u0275mod=i.oAB({type:ve}),ve.\u0275inj=i.cJS({providers:[eo,{provide:qt,useExisting:eo,multi:!0},{provide:Nr,useClass:Po},{provide:Fr,useValue:"XSRF-TOKEN"},{provide:zr,useValue:"X-XSRF-TOKEN"}]}),ve})(),Hi=(()=>{class ve{}return ve.\u0275fac=function(ne){return new(ne||ve)},ve.\u0275mod=i.oAB({type:ve}),ve.\u0275inj=i.cJS({providers:[he,{provide:H,useClass:Lo},Xs,{provide:B,useExisting:Xs}],imports:[[Ba.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),ve})()},5e3:(Y,U,w)=>{"use strict";w.d(U,{deG:()=>Dp,tb:()=>Vf,AFp:()=>UT,ip1:()=>jf,CZH:()=>eu,hGG:()=>y0,z2F:()=>Wf,sBO:()=>s0,Sil:()=>Gf,_Vd:()=>kd,EJc:()=>Pa,SBq:()=>Ed,qLn:()=>$u,vpe:()=>Mo,tBr:()=>lc,XFs:()=>ut,OlP:()=>mi,zs3:()=>wo,ZZ4:()=>ep,aQg:()=>Xm,soG:()=>qf,YKP:()=>Tw,h0i:()=>$s,PXZ:()=>Vm,R0b:()=>Xn,FiY:()=>Zn,Lbi:()=>Bm,g9A:()=>eA,n_E:()=>Rd,Qsj:()=>Dd,FYo:()=>ww,JOm:()=>An,q3G:()=>Pi,tp0:()=>ca,Rgc:()=>Ql,dDg:()=>aA,GfV:()=>Aw,s_b:()=>Ld,ifc:()=>He,eFA:()=>qm,G48:()=>qS,Gpc:()=>V,f3M:()=>Sh,_c5:()=>h0,VLi:()=>WT,c2e:()=>Ws,zSh:()=>My,wAp:()=>st,vHH:()=>ee,EiD:()=>pv,mCW:()=>ua,qzn:()=>dc,JVY:()=>ov,pB0:()=>cv,eBb:()=>qp,L6k:()=>rv,LAX:()=>av,cg1:()=>Qg,kL8:()=>Xg,yhl:()=>v_,dqk:()=>Rt,sIi:()=>Ac,CqO:()=>kC,QGY:()=>lb,F4k:()=>rf,RDi:()=>lo,AaK:()=>H,z3N:()=>Ar,qOj:()=>Mr,TTD:()=>ao,_Bn:()=>mw,xp6:()=>zv,uIk:()=>Vy,Tol:()=>bd,Gre:()=>Fb,ekj:()=>ff,Suo:()=>PT,Xpm:()=>Io,lG2:()=>Pe,Yz7:()=>ri,cJS:()=>xn,oAB:()=>or,Yjl:()=>yi,Y36:()=>Ca,_UZ:()=>ab,GkF:()=>Ng,BQk:()=>zg,ynx:()=>jl,qZA:()=>_d,TgZ:()=>Og,EpF:()=>cb,n5z:()=>_h,Ikx:()=>Xo,LFG:()=>Ki,$8M:()=>Eu,$Z:()=>rb,NdJ:()=>Bg,CRH:()=>LT,kcU:()=>ah,O4$:()=>Au,oxw:()=>ub,ALo:()=>wm,lcZ:()=>Am,xi3:()=>vm,Dn7:()=>Cm,Hsn:()=>hb,F$t:()=>db,Q6J:()=>Lg,s9C:()=>Ug,DdM:()=>Ea,VKq:()=>Jn,WLB:()=>kw,iGM:()=>xT,MAs:()=>gd,Jf7:()=>Dl,CHM:()=>nh,oJD:()=>Vu,LSH:()=>Lh,Udp:()=>Kg,WFA:()=>Yg,d8E:()=>yf,YNc:()=>va,W1O:()=>Hd,_uU:()=>Rb,Oqu:()=>Si,hij:()=>wd,AsE:()=>mf,xDo:()=>Ib,Gf:()=>RT});var b=w(8929),i=w(2654),T=w(2916),v=w(6787),C=w(2474);function E(l){for(let u in l)if(l[u]===E)return u;throw Error("Could not find renamed property on target object.")}function R(l,u){for(const f in u)u.hasOwnProperty(f)&&!l.hasOwnProperty(f)&&(l[f]=u[f])}function H(l){if("string"==typeof l)return l;if(Array.isArray(l))return"["+l.map(H).join(", ")+"]";if(null==l)return""+l;if(l.overriddenName)return`${l.overriddenName}`;if(l.name)return`${l.name}`;const u=l.toString();if(null==u)return""+u;const f=u.indexOf("\n");return-1===f?u:u.substring(0,f)}function B(l,u){return null==l||""===l?null===u?"":u:null==u||""===u?l:l+" "+u}const N=E({__forward_ref__:E});function V(l){return l.__forward_ref__=V,l.toString=function(){return H(this())},l}function J(l){return X(l)?l():l}function X(l){return"function"==typeof l&&l.hasOwnProperty(N)&&l.__forward_ref__===V}class ee extends Error{constructor(u,f){super(function ae(l,u){return`NG0${Math.abs(l)}${u?": "+u:""}`}(u,f)),this.code=u}}function de(l){return"string"==typeof l?l:null==l?"":String(l)}function Ie(l){return"function"==typeof l?l.name||l.toString():"object"==typeof l&&null!=l&&"function"==typeof l.type?l.type.name||l.type.toString():de(l)}function xt(l,u){const f=u?` in ${u}`:"";throw new ee(-201,`No provider for ${Ie(l)} found${f}`)}function Xe(l,u){null==l&&function lt(l,u,f,p){throw new Error(`ASSERTION ERROR: ${l}`+(null==p?"":` [Expected=> ${f} ${p} ${u} <=Actual]`))}(u,l,null,"!=")}function ri(l){return{token:l.token,providedIn:l.providedIn||null,factory:l.factory,value:void 0}}function xn(l){return{providers:l.providers||[],imports:l.imports||[]}}function Yi(l){return Xs(l,Po)||Xs(l,Lo)}function Xs(l,u){return l.hasOwnProperty(u)?l[u]:null}function Nr(l){return l&&(l.hasOwnProperty(eo)||l.hasOwnProperty(uu))?l[eo]:null}const Po=E({\u0275prov:E}),eo=E({\u0275inj:E}),Lo=E({ngInjectableDef:E}),uu=E({ngInjectorDef:E});var ut=(()=>((ut=ut||{})[ut.Default=0]="Default",ut[ut.Host=1]="Host",ut[ut.Self=2]="Self",ut[ut.SkipSelf=4]="SkipSelf",ut[ut.Optional=8]="Optional",ut))();let Ba;function Wt(l){const u=Ba;return Ba=l,u}function pn(l,u,f){const p=Yi(l);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:f&ut.Optional?null:void 0!==u?u:void xt(H(l),"Injector")}function oe(l){return{toString:l}.toString()}var ne=(()=>((ne=ne||{})[ne.OnPush=0]="OnPush",ne[ne.Default=1]="Default",ne))(),He=(()=>{return(l=He||(He={}))[l.Emulated=0]="Emulated",l[l.None=2]="None",l[l.ShadowDom=3]="ShadowDom",He;var l})();const Ae="undefined"!=typeof globalThis&&globalThis,je="undefined"!=typeof window&&window,wt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Rt=Ae||"undefined"!=typeof global&&global||je||wt,tt={},Ue=[],Rn=E({\u0275cmp:E}),zt=E({\u0275dir:E}),pt=E({\u0275pipe:E}),is=E({\u0275mod:E}),Bn=E({\u0275fac:E}),Pn=E({__NG_ELEMENT_ID__:E});let nl=0;function Io(l){return oe(()=>{const f={},p={type:l.type,providersResolver:null,decls:l.decls,vars:l.vars,factory:null,template:l.template||null,consts:l.consts||null,ngContentSelectors:l.ngContentSelectors,hostBindings:l.hostBindings||null,hostVars:l.hostVars||0,hostAttrs:l.hostAttrs||null,contentQueries:l.contentQueries||null,declaredInputs:f,inputs:null,outputs:null,exportAs:l.exportAs||null,onPush:l.changeDetection===ne.OnPush,directiveDefs:null,pipeDefs:null,selectors:l.selectors||Ue,viewQuery:l.viewQuery||null,features:l.features||null,data:l.data||{},encapsulation:l.encapsulation||He.Emulated,id:"c",styles:l.styles||Ue,_:null,setInput:null,schemas:l.schemas||null,tView:null},m=l.directives,y=l.features,M=l.pipes;return p.id+=nl++,p.inputs=D(l.inputs,f),p.outputs=D(l.outputs),y&&y.forEach(k=>k(p)),p.directiveDefs=m?()=>("function"==typeof m?m():m).map(io):null,p.pipeDefs=M?()=>("function"==typeof M?M():M).map(Yn):null,p})}function io(l){return sn(l)||function qe(l){return l[zt]||null}(l)}function Yn(l){return function jn(l){return l[pt]||null}(l)}const sr={};function or(l){return oe(()=>{const u={type:l.type,bootstrap:l.bootstrap||Ue,declarations:l.declarations||Ue,imports:l.imports||Ue,exports:l.exports||Ue,transitiveCompileScopes:null,schemas:l.schemas||null,id:l.id||null};return null!=l.id&&(sr[l.id]=l.type),u})}function D(l,u){if(null==l)return tt;const f={};for(const p in l)if(l.hasOwnProperty(p)){let m=l[p],y=m;Array.isArray(m)&&(y=m[1],m=m[0]),f[m]=p,u&&(u[m]=y)}return f}const Pe=Io;function yi(l){return{type:l.type,name:l.name,factory:null,pure:!1!==l.pure,onDestroy:l.type.prototype.ngOnDestroy||null}}function sn(l){return l[Rn]||null}function dt(l,u){const f=l[is]||null;if(!f&&!0===u)throw new Error(`Type ${H(l)} does not have '\u0275mod' property.`);return f}function Cn(l){return Array.isArray(l)&&"object"==typeof l[1]}function Vn(l){return Array.isArray(l)&&!0===l[1]}function ja(l){return 0!=(8&l.flags)}function zo(l){return 2==(2&l.flags)}function so(l){return 1==(1&l.flags)}function qn(l){return null!==l.template}function ar(l){return 0!=(512&l[2])}function Ci(l,u){return l.hasOwnProperty(Bn)?l[Bn]:null}class Ut{constructor(u,f,p){this.previousValue=u,this.currentValue=f,this.firstChange=p}isFirstChange(){return this.firstChange}}function ao(){return Vt}function Vt(l){return l.type.prototype.ngOnChanges&&(l.setInput=Va),Ls}function Ls(){const l=qa(this),u=null==l?void 0:l.current;if(u){const f=l.previous;if(f===tt)l.previous=u;else for(let p in u)f[p]=u[p];l.current=null,this.ngOnChanges(u)}}function Va(l,u,f,p){const m=qa(l)||function Tn(l,u){return l[Ur]=u}(l,{previous:tt,current:null}),y=m.current||(m.current={}),M=m.previous,k=this.declaredInputs[f],x=M[k];y[k]=new Ut(x&&x.currentValue,u,M===tt),l[p]=u}ao.ngInherit=!0;const Ur="__ngSimpleChanges__";function qa(l){return l[Ur]||null}let co;function lo(l){co=l}function Vi(){return void 0!==co?co:"undefined"!=typeof document?document:void 0}function ni(l){return!!l.listen}const P={createRenderer:(l,u)=>Vi()};function O(l){for(;Array.isArray(l);)l=l[0];return l}function pe(l,u){return O(u[l])}function be(l,u){return O(u[l.index])}function Xt(l,u){return l.data[u]}function Yt(l,u){return l[u]}function Mt(l,u){const f=u[l];return Cn(f)?f:f[0]}function Nt(l){return 4==(4&l[2])}function zi(l){return 128==(128&l[2])}function ci(l,u){return null==u?null:l[u]}function uo(l){l[18]=0}function ps(l,u){l[5]+=u;let f=l,p=l[3];for(;null!==p&&(1===u&&1===f[5]||-1===u&&0===f[5]);)p[5]+=u,f=p,p=p[3]}const it={lFrame:$a(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function hr(){return it.bindingsEnabled}function Te(){return it.lFrame.lView}function Ft(){return it.lFrame.tView}function nh(l){return it.lFrame.contextLView=l,l[8]}function qi(){let l=gs();for(;null!==l&&64===l.type;)l=l.parent;return l}function gs(){return it.lFrame.currentTNode}function os(l,u){const f=it.lFrame;f.currentTNode=l,f.isParent=u}function ll(){return it.lFrame.isParent}function gu(){it.lFrame.isParent=!1}function ul(){return it.isInCheckNoChangesMode}function Ka(l){it.isInCheckNoChangesMode=l}function yn(){const l=it.lFrame;let u=l.bindingRootIndex;return-1===u&&(u=l.bindingRootIndex=l.tView.bindingStartIndex),u}function Os(){return it.lFrame.bindingIndex}function ms(){return it.lFrame.bindingIndex++}function ho(l){const u=it.lFrame,f=u.bindingIndex;return u.bindingIndex=u.bindingIndex+l,f}function fr(l,u){const f=it.lFrame;f.bindingIndex=f.bindingRootIndex=l,kt(u)}function kt(l){it.lFrame.currentDirectiveIndex=l}function pr(l){const u=it.lFrame.currentDirectiveIndex;return-1===u?null:l[u]}function _u(){return it.lFrame.currentQueryIndex}function fo(l){it.lFrame.currentQueryIndex=l}function yu(l){const u=l[1];return 2===u.type?u.declTNode:1===u.type?l[6]:null}function Za(l,u,f){if(f&ut.SkipSelf){let m=u,y=l;for(;!(m=m.parent,null!==m||f&ut.Host||(m=yu(y),null===m||(y=y[15],10&m.type))););if(null===m)return!1;u=m,l=y}const p=it.lFrame=rh();return p.currentTNode=u,p.lView=l,!0}function gr(l){const u=rh(),f=l[1];it.lFrame=u,u.currentTNode=f.firstChild,u.lView=l,u.tView=f,u.contextLView=l,u.bindingIndex=f.bindingStartIndex,u.inI18n=!1}function rh(){const l=it.lFrame,u=null===l?null:l.child;return null===u?$a(l):u}function $a(l){const u={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:l,child:null,inI18n:!1};return null!==l&&(l.child=u),u}function Gr(){const l=it.lFrame;return it.lFrame=l.parent,l.currentTNode=null,l.lView=null,l}const bu=Gr;function mr(){const l=Gr();l.isParent=!0,l.tView=null,l.selectedIndex=-1,l.contextLView=null,l.elementDepthCount=0,l.currentDirectiveIndex=-1,l.currentNamespace=null,l.bindingRootIndex=-1,l.bindingIndex=-1,l.currentQueryIndex=0}function rn(){return it.lFrame.selectedIndex}function po(l){it.lFrame.selectedIndex=l}function Ai(){const l=it.lFrame;return Xt(l.tView,l.selectedIndex)}function Au(){it.lFrame.currentNamespace="svg"}function ah(){!function Ln(){it.lFrame.currentNamespace=null}()}function dl(l,u){for(let f=u.directiveStart,p=u.directiveEnd;f=p)break}else u[x]<0&&(l[18]+=65536),(k>11>16&&(3&l[2])===u){l[2]+=2048;try{y.call(k)}finally{}}}else try{y.call(k)}finally{}}class Fs{constructor(u,f,p){this.factory=u,this.resolving=!1,this.canSeeViewProviders=f,this.injectImpl=p}}function Kr(l,u,f){const p=ni(l);let m=0;for(;mu){M=y-1;break}}}for(;y>16}(l),p=u;for(;f>0;)p=p[15],f--;return p}let Qr=!0;function No(l){const u=Qr;return Qr=l,u}let fh=0;function Bo(l,u){const f=Xr(l,u);if(-1!==f)return f;const p=u[1];p.firstCreatePass&&(l.injectorIndex=u.length,Yo(p.data,l),Yo(u,null),Yo(p.blueprint,null));const m=ea(l,u),y=l.injectorIndex;if($r(m)){const M=Wr(m),k=Jr(m,u),x=k[1].data;for(let z=0;z<8;z++)u[y+z]=k[M+z]|x[M+z]}return u[y+8]=m,y}function Yo(l,u){l.push(0,0,0,0,0,0,0,0,u)}function Xr(l,u){return-1===l.injectorIndex||l.parent&&l.parent.injectorIndex===l.injectorIndex||null===u[l.injectorIndex+8]?-1:l.injectorIndex}function ea(l,u){if(l.parent&&-1!==l.parent.injectorIndex)return l.parent.injectorIndex;let f=0,p=null,m=u;for(;null!==m;){const y=m[1],M=y.type;if(p=2===M?y.declTNode:1===M?m[6]:null,null===p)return-1;if(f++,m=m[15],-1!==p.injectorIndex)return p.injectorIndex|f<<16}return-1}function rs(l,u,f){!function ml(l,u,f){let p;"string"==typeof f?p=f.charCodeAt(0)||0:f.hasOwnProperty(Pn)&&(p=f[Pn]),null==p&&(p=f[Pn]=fh++);const m=255&p;u.data[l+(m>>5)]|=1<=0?255&u:Sp:u}(f);if("function"==typeof y){if(!Za(u,l,p))return p&ut.Host?tc(m,f,p):gh(u,f,p,m);try{const M=y(p);if(null!=M||p&ut.Optional)return M;xt(f)}finally{bu()}}else if("number"==typeof y){let M=null,k=Xr(l,u),x=-1,z=p&ut.Host?u[16][6]:null;for((-1===k||p&ut.SkipSelf)&&(x=-1===k?ea(l,u):u[k+8],-1!==x&&Uo(p,!1)?(M=u[1],k=Wr(x),u=Jr(x,u)):k=-1);-1!==k;){const j=u[1];if(mh(y,k,j.data)){const Q=kp(k,u,f,M,p,z);if(Q!==Su)return Q}x=u[k+8],-1!==x&&Uo(p,u[1].data[k+8]===z)&&mh(y,k,u)?(M=j,k=Wr(x),u=Jr(x,u)):k=-1}}}return gh(u,f,p,m)}const Su={};function Sp(){return new ta(qi(),Te())}function kp(l,u,f,p,m,y){const M=u[1],k=M.data[l+8],j=_l(k,M,f,null==p?zo(k)&&Qr:p!=M&&0!=(3&k.type),m&ut.Host&&y===k);return null!==j?yr(u,M,j,k):Su}function _l(l,u,f,p,m){const y=l.providerIndexes,M=u.data,k=1048575&y,x=l.directiveStart,j=y>>20,te=m?k+j:l.directiveEnd;for(let le=p?k:k+j;le=x&&ye.type===f)return le}if(m){const le=M[x];if(le&&qn(le)&&le.type===f)return x}return null}function yr(l,u,f,p){let m=l[f];const y=u.data;if(function lh(l){return l instanceof Fs}(m)){const M=m;M.resolving&&function Oe(l,u){const f=u?`. Dependency path: ${u.join(" > ")} > ${l}`:"";throw new ee(-200,`Circular dependency in DI detected for ${l}${f}`)}(Ie(y[f]));const k=No(M.canSeeViewProviders);M.resolving=!0;const x=M.injectImpl?Wt(M.injectImpl):null;Za(l,p,ut.Default);try{m=l[f]=M.factory(void 0,y,l,p),u.firstCreatePass&&f>=p.directiveStart&&function ch(l,u,f){const{ngOnChanges:p,ngOnInit:m,ngDoCheck:y}=u.type.prototype;if(p){const M=Vt(u);(f.preOrderHooks||(f.preOrderHooks=[])).push(l,M),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,M)}m&&(f.preOrderHooks||(f.preOrderHooks=[])).push(0-l,m),y&&((f.preOrderHooks||(f.preOrderHooks=[])).push(l,y),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,y))}(f,y[f],u)}finally{null!==x&&Wt(x),No(k),M.resolving=!1,bu()}}return m}function mh(l,u,f){return!!(f[u+(l>>5)]&1<{const u=l.prototype.constructor,f=u[Bn]||ku(u),p=Object.prototype;let m=Object.getPrototypeOf(l.prototype).constructor;for(;m&&m!==p;){const y=m[Bn]||ku(m);if(y&&y!==f)return y;m=Object.getPrototypeOf(m)}return y=>new y})}function ku(l){return X(l)?()=>{const u=ku(J(l));return u&&u()}:Ci(l)}function Eu(l){return function ph(l,u){if("class"===u)return l.classes;if("style"===u)return l.styles;const f=l.attrs;if(f){const p=f.length;let m=0;for(;m{const p=function sa(l){return function(...f){if(l){const p=l(...f);for(const m in p)this[m]=p[m]}}}(u);function m(...y){if(this instanceof m)return p.apply(this,y),this;const M=new m(...y);return k.annotation=M,k;function k(x,z,j){const Q=x.hasOwnProperty(Ns)?x[Ns]:Object.defineProperty(x,Ns,{value:[]})[Ns];for(;Q.length<=j;)Q.push(null);return(Q[j]=Q[j]||[]).push(M),x}}return f&&(m.prototype=Object.create(f.prototype)),m.prototype.ngMetadataName=l,m.annotationCls=m,m})}class mi{constructor(u,f){this._desc=u,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof f?this.__NG_ELEMENT_ID__=f:void 0!==f&&(this.\u0275prov=ri({token:this,providedIn:f.providedIn||"root",factory:f.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Dp=new mi("AnalyzeForEntryComponents");function dn(l,u){void 0===u&&(u=l);for(let f=0;fArray.isArray(f)?ys(f,u):u(f))}function nc(l,u,f){u>=l.length?l.push(f):l.splice(u,0,f)}function sc(l,u){return u>=l.length-1?l.pop():l.splice(u,1)[0]}function as(l,u){const f=[];for(let p=0;p=0?l[1|p]=f:(p=~p,function Pp(l,u,f,p){let m=l.length;if(m==u)l.push(f,p);else if(1===m)l.push(p,l[0]),l[0]=f;else{for(m--,l.push(l[m-1],l[m]);m>u;)l[m]=l[m-2],m--;l[u]=f,l[u+1]=p}}(l,p,u,f)),p}function br(l,u){const f=Ot(l,u);if(f>=0)return l[1|f]}function Ot(l,u){return function ra(l,u,f){let p=0,m=l.length>>f;for(;m!==p;){const y=p+(m-p>>1),M=l[y<u?m=y:p=y+1}return~(m<({token:l})),-1),Zn=aa(oa("Optional"),8),ca=aa(oa("SkipSelf"),4);let _,me;function L(l){var u;return(null===(u=function S(){if(void 0===_&&(_=null,Rt.trustedTypes))try{_=Rt.trustedTypes.createPolicy("angular",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return _}())||void 0===u?void 0:u.createHTML(l))||l}function Dt(l){var u;return(null===(u=function Qe(){if(void 0===me&&(me=null,Rt.trustedTypes))try{me=Rt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return me}())||void 0===u?void 0:u.createHTML(l))||l}class wn{constructor(u){this.changingThisBreaksApplicationSecurity=u}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Vo extends wn{getTypeName(){return"HTML"}}class iv extends wn{getTypeName(){return"Style"}}class Rh extends wn{getTypeName(){return"Script"}}class nv extends wn{getTypeName(){return"URL"}}class sv extends wn{getTypeName(){return"ResourceURL"}}function Ar(l){return l instanceof wn?l.changingThisBreaksApplicationSecurity:l}function dc(l,u){const f=v_(l);if(null!=f&&f!==u){if("ResourceURL"===f&&"URL"===u)return!0;throw new Error(`Required a safe ${u}, got a ${f} (see https://g.co/ng/security#xss)`)}return f===u}function v_(l){return l instanceof wn&&l.getTypeName()||null}function ov(l){return new Vo(l)}function rv(l){return new iv(l)}function qp(l){return new Rh(l)}function av(l){return new nv(l)}function cv(l){return new sv(l)}class lv{constructor(u){this.inertDocumentHelper=u}getInertBodyElement(u){u=""+u;try{const f=(new window.DOMParser).parseFromString(L(u),"text/html").body;return null===f?this.inertDocumentHelper.getInertBodyElement(u):(f.removeChild(f.firstChild),f)}catch(f){return null}}}class pM{constructor(u){if(this.defaultDoc=u,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const f=this.inertDocument.createElement("html");this.inertDocument.appendChild(f);const p=this.inertDocument.createElement("body");f.appendChild(p)}}getInertBodyElement(u){const f=this.inertDocument.createElement("template");if("content"in f)return f.innerHTML=L(u),f;const p=this.inertDocument.createElement("body");return p.innerHTML=L(u),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(p),p}stripCustomNsAttrs(u){const f=u.attributes;for(let m=f.length-1;0ua(u.trim())).join(", ")),this.buf.push(" ",M,'="',$p(x),'"')}var l;return this.buf.push(">"),!0}endElement(u){const f=u.nodeName.toLowerCase();Kp.hasOwnProperty(f)&&!Yu.hasOwnProperty(f)&&(this.buf.push(""))}chars(u){this.buf.push($p(u))}checkClobberedElement(u,f){if(f&&(u.compareDocumentPosition(f)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${u.outerHTML}`);return f}}const fv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ph=/([^\#-~ |!])/g;function $p(l){return l.replace(/&/g,"&").replace(fv,function(u){return"&#"+(1024*(u.charCodeAt(0)-55296)+(u.charCodeAt(1)-56320)+65536)+";"}).replace(Ph,function(u){return"&#"+u.charCodeAt(0)+";"}).replace(//g,">")}let Uu;function pv(l,u){let f=null;try{Uu=Uu||function Gp(l){const u=new pM(l);return function Mn(){try{return!!(new window.DOMParser).parseFromString(L(""),"text/html")}catch(l){return!1}}()?new lv(u):u}(l);let p=u?String(u):"";f=Uu.getInertBodyElement(p);let m=5,y=p;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,p=y,y=f.innerHTML,f=Uu.getInertBodyElement(p)}while(p!==y);return L((new hv).sanitizeChildren(Wp(f)||f))}finally{if(f){const p=Wp(f)||f;for(;p.firstChild;)p.removeChild(p.firstChild)}}}function Wp(l){return"content"in l&&function gv(l){return l.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===l.nodeName}(l)?l.content:null}var Pi=(()=>((Pi=Pi||{})[Pi.NONE=0]="NONE",Pi[Pi.HTML=1]="HTML",Pi[Pi.STYLE=2]="STYLE",Pi[Pi.SCRIPT=3]="SCRIPT",Pi[Pi.URL=4]="URL",Pi[Pi.RESOURCE_URL=5]="RESOURCE_URL",Pi))();function Vu(l){const u=qu();return u?Dt(u.sanitize(Pi.HTML,l)||""):dc(l,"HTML")?Dt(Ar(l)):pv(Vi(),de(l))}function Lh(l){const u=qu();return u?u.sanitize(Pi.URL,l)||"":dc(l,"URL")?Ar(l):ua(de(l))}function qu(){const l=Te();return l&&l[12]}const hc="__ngContext__";function Wi(l,u){l[hc]=u}function Ih(l){const u=function Tl(l){return l[hc]||null}(l);return u?Array.isArray(u)?u:u.lView:null}function Zu(l){return l.ngOriginalError}function Cv(l,...u){l.error(...u)}class $u{constructor(){this._console=console}handleError(u){const f=this._findOriginalError(u),p=function vv(l){return l&&l.ngErrorLogger||Cv}(u);p(this._console,"ERROR",u),f&&p(this._console,"ORIGINAL ERROR",f)}_findOriginalError(u){let f=u&&Zu(u);for(;f&&Zu(f);)f=Zu(f);return f||null}}const P_=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Rt))();function Dl(l){return l.ownerDocument.defaultView}function vr(l){return l instanceof Function?l():l}var An=(()=>((An=An||{})[An.Important=1]="Important",An[An.DashCase=2]="DashCase",An))();function L_(l,u){return undefined(l,u)}function Hh(l){const u=l[3];return Vn(u)?u[3]:u}function Ju(l){return Cr(l[13])}function pa(l){return Cr(l[4])}function Cr(l){for(;null!==l&&!Vn(l);)l=l[4];return l}function ga(l,u,f,p,m){if(null!=p){let y,M=!1;Vn(p)?y=p:Cn(p)&&(M=!0,p=p[0]);const k=O(p);0===l&&null!==f?null==m?B_(u,f,k):fc(u,f,k,m||null,!0):1===l&&null!==f?fc(u,f,k,m||null,!0):2===l?function Pv(l,u,f){const p=ig(l,u);p&&function DM(l,u,f,p){ni(l)?l.removeChild(u,f,p):u.removeChild(f)}(l,p,u,f)}(u,k,M):3===l&&u.destroyNode(k),null!=y&&function xM(l,u,f,p,m){const y=f[7];y!==O(f)&&ga(u,l,p,y,m);for(let k=10;k0&&(l[f-1][4]=p[4]);const y=sc(l,10+u);!function SM(l,u){Nh(l,u,u[11],2,null,null),u[0]=null,u[6]=null}(p[1],p);const M=y[19];null!==M&&M.detachView(y[1]),p[3]=null,p[4]=null,p[2]&=-129}return p}function F_(l,u){if(!(256&u[2])){const f=u[11];ni(f)&&f.destroyNode&&Nh(l,u,f,3,null,null),function xl(l){let u=l[13];if(!u)return z_(l[1],l);for(;u;){let f=null;if(Cn(u))f=u[13];else{const p=u[10];p&&(f=p)}if(!f){for(;u&&!u[4]&&u!==l;)Cn(u)&&z_(u[1],u),u=u[3];null===u&&(u=l),Cn(u)&&z_(u[1],u),f=u&&u[4]}u=f}}(u)}}function z_(l,u){if(!(256&u[2])){u[2]&=-129,u[2]|=256,function N_(l,u){let f;if(null!=l&&null!=(f=l.destroyHooks))for(let p=0;p=0?p[m=z]():p[m=-z].unsubscribe(),y+=2}else{const M=p[m=f[y+1]];f[y].call(M)}if(null!==p){for(let y=m+1;yy?"":m[Q+1].toLowerCase();const le=8&p?te:null;if(le&&-1!==Ov(le,z,0)||2&p&&z!==te){if(Go(p))return!1;M=!0}}}}else{if(!M&&!Go(p)&&!Go(x))return!1;if(M&&Go(x))continue;M=!1,p=x|1&p}}return Go(p)||M}function Go(l){return 0==(1&l)}function OM(l,u,f,p){if(null===u)return-1;let m=0;if(p||!f){let y=!1;for(;m-1)for(f++;f0?'="'+k+'"':"")+"]"}else 8&p?m+="."+M:4&p&&(m+=" "+M);else""!==m&&!Go(M)&&(u+=Fv(y,m),m=""),p=M,y=y||!Go(p);f++}return""!==m&&(u+=Fv(y,m)),u}const Ct={};function zv(l){Nv(Ft(),Te(),rn()+l,ul())}function Nv(l,u,f,p){if(!p)if(3==(3&u[2])){const y=l.preOrderCheckHooks;null!==y&&Wa(u,y,f)}else{const y=l.preOrderHooks;null!==y&&Ja(u,y,0,f)}po(f)}function ng(l,u){return l<<17|u<<2}function Ko(l){return l>>17&32767}function G_(l){return 2|l}function _a(l){return(131068&l)>>2}function K_(l,u){return-131069&l|u<<2}function Z_(l){return 1|l}function Wv(l,u){const f=l.contentQueries;if(null!==f)for(let p=0;p20&&Nv(l,u,20,ul()),f(p,m)}finally{po(y)}}function Qv(l,u,f){if(ja(u)){const m=u.directiveEnd;for(let y=u.directiveStart;y0;){const f=l[--u];if("number"==typeof f&&f<0)return f}return 0})(k)!=x&&k.push(x),k.push(p,m,M)}}function cg(l,u){null!==l.hostBindings&&l.hostBindings(1,u)}function py(l,u){u.flags|=2,(l.components||(l.components=[])).push(u.index)}function gy(l,u,f){if(f){if(u.exportAs)for(let p=0;p0&&Gh(f)}}function Gh(l){for(let p=Ju(l);null!==p;p=pa(p))for(let m=10;m0&&Gh(y)}const f=l[1].components;if(null!==f)for(let p=0;p0&&Gh(m)}}function nd(l,u){const f=Mt(u,l),p=f[1];(function Ay(l,u){for(let f=u.length;fPromise.resolve(null))();function Cy(l){return l[7]||(l[7]=[])}function sd(l){return l.cleanup||(l.cleanup=[])}function cC(l,u,f){return(null===l||qn(l))&&(f=function $(l){for(;Array.isArray(l);){if("object"==typeof l[1])return l;l=l[0]}return null}(f[u.index])),f[11]}function gg(l,u){const f=l[9],p=f?f.get($u,null):null;p&&p.handleError(u)}function od(l,u,f,p,m){for(let y=0;ythis.processProvider(k,u,f)),ys([u],k=>this.processInjectorType(k,[],y)),this.records.set(_g,Ll(void 0,this));const M=this.records.get(My);this.scope=null!=M?M.value:null,this.source=m||("object"==typeof u?null:H(u))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(u=>u.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(u,f=ac,p=ut.Default){this.assertNotDestroyed();const m=Mh(this),y=Wt(void 0);try{if(!(p&ut.SkipSelf)){let k=this.records.get(u);if(void 0===k){const x=function dS(l){return"function"==typeof l||"object"==typeof l&&l instanceof mi}(u)&&Yi(u);k=x&&this.injectableDefInScope(x)?Ll(bg(u),wc):null,this.records.set(u,k)}if(null!=k)return this.hydrate(u,k)}return(p&ut.Self?Sy():this.parent).get(u,f=p&ut.Optional&&f===ac?null:f)}catch(M){if("NullInjectorError"===M.name){if((M[cc]=M[cc]||[]).unshift(H(u)),m)throw M;return function Bp(l,u,f,p){const m=l[cc];throw u[Th]&&m.unshift(u[Th]),l.message=function Yp(l,u,f,p=null){l=l&&"\n"===l.charAt(0)&&"\u0275"==l.charAt(1)?l.substr(2):l;let m=H(u);if(Array.isArray(u))m=u.map(H).join(" -> ");else if("object"==typeof u){let y=[];for(let M in u)if(u.hasOwnProperty(M)){let k=u[M];y.push(M+":"+("string"==typeof k?JSON.stringify(k):H(k)))}m=`{${y.join(", ")}}`}return`${f}${p?"("+p+")":""}[${m}]: ${l.replace(Ch,"\n ")}`}("\n"+l.message,m,f,p),l.ngTokenPath=m,l[cc]=null,l}(M,u,"R3InjectorError",this.source)}throw M}finally{Wt(y),Mh(m)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(u=>this.get(u))}toString(){const u=[];return this.records.forEach((p,m)=>u.push(H(m))),`R3Injector[${u.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ee(205,!1)}processInjectorType(u,f,p){if(!(u=J(u)))return!1;let m=Nr(u);const y=null==m&&u.ngModule||void 0,M=void 0===y?u:y,k=-1!==p.indexOf(M);if(void 0!==y&&(m=Nr(y)),null==m)return!1;if(null!=m.imports&&!k){let j;p.push(M);try{ys(m.imports,Q=>{this.processInjectorType(Q,f,p)&&(void 0===j&&(j=[]),j.push(Q))})}finally{}if(void 0!==j)for(let Q=0;Qthis.processProvider(ye,te,le||Ue))}}this.injectorDefTypes.add(M);const x=Ci(M)||(()=>new M);this.records.set(M,Ll(x,wc));const z=m.providers;if(null!=z&&!k){const j=u;ys(z,Q=>this.processProvider(Q,j,z))}return void 0!==y&&void 0!==u.providers}processProvider(u,f,p){let m=Il(u=J(u))?u:J(u&&u.provide);const y=function xy(l,u,f){return Py(l)?Ll(void 0,l.useValue):Ll(Ry(l),wc)}(u);if(Il(u)||!0!==u.multi)this.records.get(m);else{let M=this.records.get(m);M||(M=Ll(void 0,wc,!0),M.factory=()=>Al(M.multi),this.records.set(m,M)),m=u,M.multi.push(u)}this.records.set(m,y)}hydrate(u,f){return f.value===wc&&(f.value=uC,f.value=f.factory()),"object"==typeof f.value&&f.value&&function uS(l){return null!==l&&"object"==typeof l&&"function"==typeof l.ngOnDestroy}(f.value)&&this.onDestroy.add(f.value),f.value}injectableDefInScope(u){if(!u.providedIn)return!1;const f=J(u.providedIn);return"string"==typeof f?"any"===f||f===this.scope:this.injectorDefTypes.has(f)}}function bg(l){const u=Yi(l),f=null!==u?u.factory:Ci(l);if(null!==f)return f;if(l instanceof mi)throw new ee(204,!1);if(l instanceof Function)return function Dy(l){const u=l.length;if(u>0)throw as(u,"?"),new ee(204,!1);const f=function Fr(l){const u=l&&(l[Po]||l[Lo]);if(u){const f=function zr(l){if(l.hasOwnProperty("name"))return l.name;const u=(""+l).match(/^function\s*([^\s(]+)/);return null===u?"":u[1]}(l);return console.warn(`DEPRECATED: DI is instantiating a token "${f}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${f}" class.`),u}return null}(l);return null!==f?()=>f.factory(l):()=>new l}(l);throw new ee(204,!1)}function Ry(l,u,f){let p;if(Il(l)){const m=J(l);return Ci(m)||bg(m)}if(Py(l))p=()=>J(l.useValue);else if(function wg(l){return!(!l||!l.useFactory)}(l))p=()=>l.useFactory(...Al(l.deps||[]));else if(function hC(l){return!(!l||!l.useExisting)}(l))p=()=>Ki(J(l.useExisting));else{const m=J(l&&(l.useClass||l.provide));if(!function lS(l){return!!l.deps}(l))return Ci(m)||bg(m);p=()=>new m(...Al(l.deps))}return p}function Ll(l,u,f=!1){return{factory:l,value:u,multi:f?[]:void 0}}function Py(l){return null!==l&&"object"==typeof l&&Fp in l}function Il(l){return"function"==typeof l}let wo=(()=>{class l{static create(f,p){var m;if(Array.isArray(f))return ky({name:""},p,f,"");{const y=null!==(m=f.name)&&void 0!==m?m:"";return ky({name:y},f.parent,f.providers,y)}}}return l.THROW_IF_NOT_FOUND=ac,l.NULL=new bc,l.\u0275prov=ri({token:l,providedIn:"any",factory:()=>Ki(_g)}),l.__NG_ELEMENT_ID__=-1,l})();function Ny(l,u){dl(Ih(l)[1],qi())}function Mr(l){let u=function _t(l){return Object.getPrototypeOf(l.prototype).constructor}(l.type),f=!0;const p=[l];for(;u;){let m;if(qn(l))m=u.\u0275cmp||u.\u0275dir;else{if(u.\u0275cmp)throw new ee(903,"");m=u.\u0275dir}if(m){if(f){p.push(m);const M=l;M.inputs=By(l.inputs),M.declaredInputs=By(l.declaredInputs),M.outputs=By(l.outputs);const k=m.hostBindings;k&&Ao(l,k);const x=m.viewQuery,z=m.contentQueries;if(x&&Yy(l,x),z&&fS(l,z),R(l.inputs,m.inputs),R(l.declaredInputs,m.declaredInputs),R(l.outputs,m.outputs),qn(m)&&m.data.animation){const j=l.data;j.animation=(j.animation||[]).concat(m.data.animation)}}const y=m.features;if(y)for(let M=0;M=0;p--){const m=l[p];m.hostVars=u+=m.hostVars,m.hostAttrs=Zr(m.hostAttrs,f=Zr(f,m.hostAttrs))}}(p)}function By(l){return l===tt?{}:l===Ue?[]:l}function Yy(l,u){const f=l.viewQuery;l.viewQuery=f?(p,m)=>{u(p,m),f(p,m)}:u}function fS(l,u){const f=l.contentQueries;l.contentQueries=f?(p,m,y)=>{u(p,m,y),f(p,m,y)}:u}function Ao(l,u){const f=l.hostBindings;l.hostBindings=f?(p,m)=>{u(p,m),f(p,m)}:u}let ld=null;function ba(){if(!ld){const l=Rt.Symbol;if(l&&l.iterator)ld=l.iterator;else{const u=Object.getOwnPropertyNames(Map.prototype);for(let f=0;fk(O(jt[p.index])):p.index;if(ni(f)){let jt=null;if(!k&&x&&(jt=function EC(l,u,f,p){const m=l.cleanup;if(null!=m)for(let y=0;yx?k[x]:null}"string"==typeof M&&(y+=2)}return null}(l,u,m,p.index)),null!==jt)(jt.__ngLastListenerFn__||jt).__ngNextListenerFn__=y,jt.__ngLastListenerFn__=y,le=!1;else{y=cf(p,u,Q,y,!1);const si=f.listen(Ke,m,y);te.push(y,si),j&&j.push(m,et,Ce,Ce+1)}}else y=cf(p,u,Q,y,!0),Ke.addEventListener(m,y,M),te.push(y),j&&j.push(m,et,Ce,M)}else y=cf(p,u,Q,y,!1);const ye=p.outputs;let Le;if(le&&null!==ye&&(Le=ye[m])){const Be=Le.length;if(Be)for(let Ke=0;Ke0;)u=u[15],l--;return u}(l,it.lFrame.contextLView))[8]}(l)}function DC(l,u){let f=null;const p=function HM(l){const u=l.attrs;if(null!=u){const f=u.indexOf(5);if(0==(1&f))return u[f+1]}return null}(l);for(let m=0;m=0}const Li={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function df(l){return l.substring(Li.key,Li.keyEnd)}function hf(l,u){const f=Li.textEnd;return f===u?-1:(u=Li.keyEnd=function Ab(l,u,f){for(;u32;)u++;return u}(l,Li.key=u,f),Ul(l,u,f))}function Ul(l,u,f){for(;u=0;f=hf(u,f))On(l,df(u),!0)}function vo(l,u,f,p){const m=Te(),y=Ft(),M=ho(2);y.firstUpdatePass&&Zg(y,l,M,p),u!==Ct&&ui(m,M,u)&&Eb(y,y.data[rn()],m,m[11],l,m[M+1]=function zC(l,u){return null==l||("string"==typeof u?l+=u:"object"==typeof l&&(l=H(Ar(l)))),l}(u,f),p,M)}function Ts(l,u,f,p){const m=Ft(),y=ho(2);m.firstUpdatePass&&Zg(m,null,y,p);const M=Te();if(f!==Ct&&ui(M,y,f)){const k=m.data[rn()];if(xb(k,p)&&!Tb(m,y)){let x=p?k.classesWithoutHost:k.stylesWithoutHost;null!==x&&(f=B(x,f||"")),Ig(m,k,M,f,p)}else!function kb(l,u,f,p,m,y,M,k){m===Ct&&(m=Ue);let x=0,z=0,j=0=l.expandoStartIndex}function Zg(l,u,f,p){const m=l.data;if(null===m[f+1]){const y=m[rn()],M=Tb(l,f);xb(y,p)&&null===u&&!M&&(u=!1),u=function IC(l,u,f,p){const m=pr(l);let y=p?u.residualClasses:u.residualStyles;if(null===m)0===(p?u.classBindings:u.styleBindings)&&(f=Ta(f=pf(null,l,u,f,p),u.attrs,p),y=null);else{const M=u.directiveStylingLast;if(-1===M||l[M]!==m)if(f=pf(m,l,u,f,p),null===y){let x=function OC(l,u,f){const p=f?u.classBindings:u.styleBindings;if(0!==_a(p))return l[Ko(p)]}(l,u,p);void 0!==x&&Array.isArray(x)&&(x=pf(null,l,u,x[1],p),x=Ta(x,u.attrs,p),function HC(l,u,f,p){l[Ko(f?u.classBindings:u.styleBindings)]=p}(l,u,p,x))}else y=function FC(l,u,f){let p;const m=u.directiveEnd;for(let y=1+u.directiveStylingLast;y0)&&(z=!0)}else j=f;if(m)if(0!==x){const te=Ko(l[k+1]);l[p+1]=ng(te,k),0!==te&&(l[te+1]=K_(l[te+1],p)),l[k+1]=function UM(l,u){return 131071&l|u<<17}(l[k+1],p)}else l[p+1]=ng(k,0),0!==k&&(l[k+1]=K_(l[k+1],p)),k=p;else l[p+1]=ng(x,0),0===k?k=p:l[x+1]=K_(l[x+1],p),x=p;z&&(l[p+1]=G_(l[p+1])),Cs(l,j,p,!0),Cs(l,j,p,!1),function xC(l,u,f,p,m){const y=m?l.residualClasses:l.residualStyles;null!=y&&"string"==typeof u&&Ot(y,u)>=0&&(f[p+1]=Z_(f[p+1]))}(u,j,l,p,y),M=ng(k,x),y?u.classBindings=M:u.styleBindings=M}(m,y,u,f,M,p)}}function pf(l,u,f,p,m){let y=null;const M=f.directiveEnd;let k=f.directiveStylingLast;for(-1===k?k=f.directiveStart:k++;k0;){const x=l[m],z=Array.isArray(x),j=z?x[1]:x,Q=null===j;let te=f[m+1];te===Ct&&(te=Q?Ue:void 0);let le=Q?br(te,p):j===p?te:void 0;if(z&&!gf(le)&&(le=br(x,p)),gf(le)&&(k=le,M))return k;const ye=l[m+1];m=M?Ko(ye):_a(ye)}if(null!==u){let x=y?u.residualClasses:u.residualStyles;null!=x&&(k=br(x,p))}return k}function gf(l){return void 0!==l}function xb(l,u){return 0!=(l.flags&(u?16:32))}function Rb(l,u=""){const f=Te(),p=Ft(),m=l+20,y=p.firstCreatePass?Xu(p,m,1,u,null):p.data[m],M=f[m]=function I_(l,u){return ni(l)?l.createText(u):l.createTextNode(u)}(f[11],u);qo(p,f,M,y),os(y,!1)}function Si(l){return wd("",l,""),Si}function wd(l,u,f){const p=Te(),m=Vs(p,l,u,f);return m!==Ct&&Zo(p,rn(),m),wd}function mf(l,u,f,p,m){const y=Te(),M=function Cc(l,u,f,p,m,y){const k=Aa(l,Os(),f,m);return ho(2),k?u+de(f)+p+de(m)+y:Ct}(y,l,u,f,p,m);return M!==Ct&&Zo(y,rn(),M),mf}function Ib(l,u,f,p,m,y,M,k,x,z,j){const Q=Te(),te=Mc(Q,l,u,f,p,m,y,M,k,x,z,j);return te!==Ct&&Zo(Q,rn(),te),Ib}function Fb(l,u,f){Ts(On,Jo,Vs(Te(),l,u,f),!0)}function Xo(l,u,f){const p=Te();return ui(p,ms(),u)&&En(Ft(),Ai(),p,l,u,p[11],f,!0),Xo}function yf(l,u,f){const p=Te();if(ui(p,ms(),u)){const y=Ft(),M=Ai();En(y,M,p,l,u,cC(pr(y.data),M,p),f,!0)}return yf}const Ma=void 0;var bf=["en",[["a","p"],["AM","PM"],Ma],[["AM","PM"],Ma,Ma],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ma,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ma,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ma,"{1} 'at' {0}",Ma],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Ad(l){const f=Math.floor(Math.abs(l)),p=l.toString().replace(/^[^.]*\.?/,"").length;return 1===f&&0===p?1:5}];let ql={};function Qg(l){const u=function $C(l){return l.toLowerCase().replace(/_/g,"-")}(l);let f=em(u);if(f)return f;const p=u.split("-")[0];if(f=em(p),f)return f;if("en"===p)return bf;throw new Error(`Missing locale data for the locale "${l}".`)}function Xg(l){return Qg(l)[st.PluralCase]}function em(l){return l in ql||(ql[l]=Rt.ng&&Rt.ng.common&&Rt.ng.common.locales&&Rt.ng.common.locales[l]),ql[l]}var st=(()=>((st=st||{})[st.LocaleId=0]="LocaleId",st[st.DayPeriodsFormat=1]="DayPeriodsFormat",st[st.DayPeriodsStandalone=2]="DayPeriodsStandalone",st[st.DaysFormat=3]="DaysFormat",st[st.DaysStandalone=4]="DaysStandalone",st[st.MonthsFormat=5]="MonthsFormat",st[st.MonthsStandalone=6]="MonthsStandalone",st[st.Eras=7]="Eras",st[st.FirstDayOfWeek=8]="FirstDayOfWeek",st[st.WeekendRange=9]="WeekendRange",st[st.DateFormat=10]="DateFormat",st[st.TimeFormat=11]="TimeFormat",st[st.DateTimeFormat=12]="DateTimeFormat",st[st.NumberSymbols=13]="NumberSymbols",st[st.NumberFormats=14]="NumberFormats",st[st.CurrencyCode=15]="CurrencyCode",st[st.CurrencySymbol=16]="CurrencySymbol",st[st.CurrencyName=17]="CurrencyName",st[st.Currencies=18]="Currencies",st[st.Directionality=19]="Directionality",st[st.PluralCase=20]="PluralCase",st[st.ExtraData=21]="ExtraData",st))();const cs="en-US";let WC=cs;function pw(l,u,f,p,m){if(l=J(l),Array.isArray(l))for(let y=0;y>20;if(Il(l)||!l.multi){const le=new Fs(x,m,Ca),ye=hm(k,u,m?j:j+te,Q);-1===ye?(rs(Bo(z,M),y,k),Zs(y,l,u.length),u.push(k),z.directiveStart++,z.directiveEnd++,m&&(z.providerIndexes+=1048576),f.push(le),M.push(le)):(f[ye]=le,M[ye]=le)}else{const le=hm(k,u,j+te,Q),ye=hm(k,u,j,j+te),Le=le>=0&&f[le],Be=ye>=0&&f[ye];if(m&&!Be||!m&&!Le){rs(Bo(z,M),y,k);const Ke=function hT(l,u,f,p,m){const y=new Fs(l,f,Ca);return y.multi=[],y.index=u,y.componentProviders=0,gw(y,m,p&&!f),y}(m?dT:uT,f.length,m,p,x);!m&&Be&&(f[ye].providerFactory=Ke),Zs(y,l,u.length,0),u.push(k),z.directiveStart++,z.directiveEnd++,m&&(z.providerIndexes+=1048576),f.push(Ke),M.push(Ke)}else Zs(y,l,le>-1?le:ye,gw(f[m?ye:le],x,!m&&p));!m&&p&&Be&&f[ye].componentProviders++}}}function Zs(l,u,f,p){const m=Il(u),y=function cS(l){return!!l.useClass}(u);if(m||y){const x=(y?J(u.useClass):u).prototype.ngOnDestroy;if(x){const z=l.destroyHooks||(l.destroyHooks=[]);if(!m&&u.multi){const j=z.indexOf(f);-1===j?z.push(f,[p,x]):z[j+1].push(p,x)}else z.push(f,x)}}}function gw(l,u,f){return f&&l.componentProviders++,l.multi.push(u)-1}function hm(l,u,f,p){for(let m=f;m{f.providersResolver=(p,m)=>function Bt(l,u,f){const p=Ft();if(p.firstCreatePass){const m=qn(l);pw(f,p.data,p.blueprint,m,!0),pw(u,p.data,p.blueprint,m,!1)}}(p,m?m(l):l,u)}}class _w{}class gT{resolveComponentFactory(u){throw function pT(l){const u=Error(`No component factory found for ${H(l)}. Did you add it to @NgModule.entryComponents?`);return u.ngComponent=l,u}(u)}}let kd=(()=>{class l{}return l.NULL=new gT,l})();function mT(){return $l(qi(),Te())}function $l(l,u){return new Ed(be(l,u))}let Ed=(()=>{class l{constructor(f){this.nativeElement=f}}return l.__NG_ELEMENT_ID__=mT,l})();function bw(l){return l instanceof Ed?l.nativeElement:l}class ww{}let Dd=(()=>{class l{}return l.__NG_ELEMENT_ID__=()=>function LS(){const l=Te(),f=Mt(qi().index,l);return function PS(l){return l[11]}(Cn(f)?f:l)}(),l})(),IS=(()=>{class l{}return l.\u0275prov=ri({token:l,providedIn:"root",factory:()=>null}),l})();class Aw{constructor(u){this.full=u,this.major=u.split(".")[0],this.minor=u.split(".")[1],this.patch=u.split(".").slice(2).join(".")}}const vw=new Aw("13.2.2"),pm={};function Es(l,u,f,p,m=!1){for(;null!==f;){const y=u[f.index];if(null!==y&&p.push(O(y)),Vn(y))for(let k=10;k-1&&(eg(u,p),sc(f,p))}this._attachedToViewContainer=!1}F_(this._lView[1],this._lView)}onDestroy(u){sg(this._lView[1],this._lView,null,u)}markForCheck(){ug(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){hg(this._lView[1],this._lView,this.context)}checkNoChanges(){!function vy(l,u,f){Ka(!0);try{hg(l,u,f)}finally{Ka(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ee(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function kM(l,u){Nh(l,u,u[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(u){if(this._attachedToViewContainer)throw new ee(902,"");this._appRef=u}}class _T extends xd{constructor(u){super(u),this._view=u}detectChanges(){fg(this._view)}checkNoChanges(){!function pg(l){Ka(!0);try{fg(l)}finally{Ka(!1)}}(this._view)}get context(){return null}}class yT extends kd{constructor(u){super(),this.ngModule=u}resolveComponentFactory(u){const f=sn(u);return new Ef(f,this.ngModule)}}function gm(l){const u=[];for(let f in l)l.hasOwnProperty(f)&&u.push({propName:l[f],templateName:f});return u}const Cw=new mi("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>P_});class Ef extends _w{constructor(u,f){super(),this.componentDef=u,this.ngModule=f,this.componentType=u.type,this.selector=function YM(l){return l.map(BM).join(",")}(u.selectors),this.ngContentSelectors=u.ngContentSelectors?u.ngContentSelectors:[],this.isBoundToModule=!!f}get inputs(){return gm(this.componentDef.inputs)}get outputs(){return gm(this.componentDef.outputs)}create(u,f,p,m){const y=(m=m||this.ngModule)?function bT(l,u){return{get:(f,p,m)=>{const y=l.get(f,pm,m);return y!==pm||p===pm?y:u.get(f,p,m)}}}(u,m.injector):u,M=y.get(ww,P),k=y.get(IS,null),x=M.createRenderer(null,this.componentDef),z=this.componentDef.selectors[0][0]||"div",j=p?function ly(l,u,f){if(ni(l))return l.selectRootElement(u,f===He.ShadowDom);let p="string"==typeof u?l.querySelector(u):u;return p.textContent="",p}(x,p,this.componentDef.encapsulation):Xp(M.createRenderer(null,this.componentDef),z,function mm(l){const u=l.toLowerCase();return"svg"===u?"svg":"math"===u?"math":null}(z)),Q=this.componentDef.onPush?576:528,te=function Cg(l,u){return{components:[],scheduler:l||P_,clean:aC,playerHandler:u||null,flags:0}}(),le=Ni(0,null,null,1,0,null,null,null,null,null),ye=Uh(null,le,te,Q,null,null,M,x,k,y);let Le,Be;gr(ye);try{const Ke=function ti(l,u,f,p,m,y){const M=f[1];f[20]=l;const x=Xu(M,20,2,"#host",null),z=x.mergedAttrs=u.hostAttrs;null!==z&&(rd(x,z,!0),null!==l&&(Kr(m,l,z),null!==x.classes&&V_(m,l,x.classes),null!==x.styles&&Iv(m,l,x.styles)));const j=p.createRenderer(l,u),Q=Uh(f,ry(u),null,u.onPush?64:16,f[20],x,p,j,y||null,null);return M.firstCreatePass&&(rs(Bo(x,f),M,u.type),py(M,x),my(x,f.length,1)),Kh(f,Q),f[20]=Q}(j,this.componentDef,ye,M,x);if(j)if(p)Kr(x,j,["ng-version",vw.full]);else{const{attrs:Ce,classes:et}=function jM(l){const u=[],f=[];let p=1,m=2;for(;p0&&V_(x,j,et.join(" "))}if(Be=Xt(le,20),void 0!==f){const Ce=Be.projection=[];for(let et=0;etx(M,u)),u.contentQueries){const x=qi();u.contentQueries(1,M,x.directiveStart)}const k=qi();return!y.firstCreatePass||null===u.hostBindings&&null===u.hostAttrs||(po(k.index),uy(f[1],k,0,k.directiveStart,k.directiveEnd,u),cg(u,M)),M}(Ke,this.componentDef,ye,te,[Ny]),Vh(le,ye,null)}finally{mr()}return new Df(this.componentType,Le,$l(Be,ye),ye,Be)}}class Df extends class fT{}{constructor(u,f,p,m,y){super(),this.location=p,this._rootLView=m,this._tNode=y,this.instance=f,this.hostView=this.changeDetectorRef=new _T(m),this.componentType=u}get injector(){return new ta(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(u){this.hostView.onDestroy(u)}}class $s{}class Tw{}const Dr=new Map;class Wl extends $s{constructor(u,f){super(),this._parent=f,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new yT(this);const p=dt(u);this._bootstrapComponents=vr(p.bootstrap),this._r3Injector=Ey(u,f,[{provide:$s,useValue:this},{provide:kd,useValue:this.componentFactoryResolver}],H(u)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(u)}get(u,f=wo.THROW_IF_NOT_FOUND,p=ut.Default){return u===wo||u===$s||u===_g?this:this._r3Injector.get(u,f,p)}destroy(){const u=this._r3Injector;!u.destroyed&&u.destroy(),this.destroyCbs.forEach(f=>f()),this.destroyCbs=null}onDestroy(u){this.destroyCbs.push(u)}}class xf extends Tw{constructor(u){super(),this.moduleType=u,null!==dt(u)&&function Mw(l){const u=new Set;!function f(p){const m=dt(p,!0),y=m.id;null!==y&&(function _m(l,u,f){if(u&&u!==f)throw new Error(`Duplicate module registered for ${l} - ${H(u)} vs ${H(u.name)}`)}(y,Dr.get(y),p),Dr.set(y,p));const M=vr(m.imports);for(const k of M)u.has(k)||(u.add(k),f(k))}(l)}(u)}create(u){return new Wl(this.moduleType,u)}}function Ea(l,u,f){const p=yn()+l,m=Te();return m[p]===Ct?Us(m,p,f?u.call(f):u()):function vc(l,u){return l[u]}(m,p)}function Jn(l,u,f,p){return xr(Te(),yn(),l,u,f,p)}function kw(l,u,f,p,m){return xw(Te(),yn(),l,u,f,p,m)}function Bi(l,u){const f=l[u];return f===Ct?void 0:f}function xr(l,u,f,p,m,y){const M=u+f;return ui(l,M,m)?Us(l,M+1,y?p.call(y,m):p(m)):Bi(l,M+1)}function xw(l,u,f,p,m,y,M){const k=u+f;return Aa(l,k,m,y)?Us(l,k+2,M?p.call(M,m,y):p(m,y)):Bi(l,k+2)}function Oi(l,u,f,p,m,y,M,k){const x=u+f;return function Fl(l,u,f,p,m){const y=Aa(l,u,f,p);return ui(l,u+2,m)||y}(l,x,m,y,M)?Us(l,x+3,k?p.call(k,m,y,M):p(m,y,M)):Bi(l,x+3)}function wm(l,u){const f=Ft();let p;const m=l+20;f.firstCreatePass?(p=function Rw(l,u){if(u)for(let f=u.length-1;f>=0;f--){const p=u[f];if(l===p.name)return p}}(u,f.pipeRegistry),f.data[m]=p,p.onDestroy&&(f.destroyHooks||(f.destroyHooks=[])).push(m,p.onDestroy)):p=f.data[m];const y=p.factory||(p.factory=Ci(p.type)),M=Wt(Ca);try{const k=No(!1),x=y();return No(k),function kg(l,u,f,p){f>=l.data.length&&(l.data[f]=null,l.blueprint[f]=null),u[f]=p}(f,Te(),m,x),x}finally{Wt(M)}}function Am(l,u,f){const p=l+20,m=Te(),y=Yt(m,p);return Jl(m,p)?xr(m,yn(),u,y.transform,f,y):y.transform(f)}function vm(l,u,f,p){const m=l+20,y=Te(),M=Yt(y,m);return Jl(y,m)?xw(y,yn(),u,M.transform,f,p,M):M.transform(f,p)}function Cm(l,u,f,p,m){const y=l+20,M=Te(),k=Yt(M,y);return Jl(M,y)?Oi(M,yn(),u,k.transform,f,p,m,k):k.transform(f,p,m)}function Jl(l,u){return l[1].data[u].pure}function Pf(l){return u=>{setTimeout(l,void 0,u)}}const Mo=class Lw extends b.xQ{constructor(u=!1){super(),this.__isAsync=u}emit(u){super.next(u)}subscribe(u,f,p){var m,y,M;let k=u,x=f||(()=>null),z=p;if(u&&"object"==typeof u){const Q=u;k=null===(m=Q.next)||void 0===m?void 0:m.bind(Q),x=null===(y=Q.error)||void 0===y?void 0:y.bind(Q),z=null===(M=Q.complete)||void 0===M?void 0:M.bind(Q)}this.__isAsync&&(x=Pf(x),k&&(k=Pf(k)),z&&(z=Pf(z)));const j=super.subscribe({next:k,error:x,complete:z});return u instanceof i.w&&u.add(j),j}};function MT(){return this._results[ba()]()}class Rd{constructor(u=!1){this._emitDistinctChangesOnly=u,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const f=ba(),p=Rd.prototype;p[f]||(p[f]=MT)}get changes(){return this._changes||(this._changes=new Mo)}get(u){return this._results[u]}map(u){return this._results.map(u)}filter(u){return this._results.filter(u)}find(u){return this._results.find(u)}reduce(u,f){return this._results.reduce(u,f)}forEach(u){this._results.forEach(u)}some(u){return this._results.some(u)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(u,f){const p=this;p.dirty=!1;const m=dn(u);(this._changesDetected=!function wh(l,u,f){if(l.length!==u.length)return!1;for(let p=0;p{class l{}return l.__NG_ELEMENT_ID__=Mm,l})();const Tm=Ql,Iw=class extends Tm{constructor(u,f,p){super(),this._declarationLView=u,this._declarationTContainer=f,this.elementRef=p}createEmbeddedView(u){const f=this._declarationTContainer.tViews,p=Uh(this._declarationLView,f,u,16,null,f.declTNode,null,null,null,null);p[17]=this._declarationLView[this._declarationTContainer.index];const y=this._declarationLView[19];return null!==y&&(p[19]=y.createEmbeddedView(f)),Vh(f,p,u),new xd(p)}};function Mm(){return Pd(qi(),Te())}function Pd(l,u){return 4&l.type?new Iw(u,l,$l(l,u)):null}let Ld=(()=>{class l{}return l.__NG_ELEMENT_ID__=Ow,l})();function Ow(){return Em(qi(),Te())}const Sm=Ld,Id=class extends Sm{constructor(u,f,p){super(),this._lContainer=u,this._hostTNode=f,this._hostLView=p}get element(){return $l(this._hostTNode,this._hostLView)}get injector(){return new ta(this._hostTNode,this._hostLView)}get parentInjector(){const u=ea(this._hostTNode,this._hostLView);if($r(u)){const f=Jr(u,this._hostLView),p=Wr(u);return new ta(f[1].data[p+8],f)}return new ta(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(u){const f=km(this._lContainer);return null!==f&&f[u]||null}get length(){return this._lContainer.length-10}createEmbeddedView(u,f,p){const m=u.createEmbeddedView(f||{});return this.insert(m,p),m}createComponent(u,f,p,m,y){const M=u&&!function go(l){return"function"==typeof l}(u);let k;if(M)k=f;else{const Q=f||{};k=Q.index,p=Q.injector,m=Q.projectableNodes,y=Q.ngModuleRef}const x=M?u:new Ef(sn(u)),z=p||this.parentInjector;if(!y&&null==x.ngModule&&z){const Q=z.get($s,null);Q&&(y=Q)}const j=x.create(z,m,void 0,y);return this.insert(j.hostView,k),j}insert(u,f){const p=u._lView,m=p[1];if(function hi(l){return Vn(l[3])}(p)){const j=this.indexOf(u);if(-1!==j)this.detach(j);else{const Q=p[3],te=new Id(Q,Q[6],Q[3]);te.detach(te.indexOf(u))}}const y=this._adjustIndex(f),M=this._lContainer;!function EM(l,u,f,p){const m=10+p,y=f.length;p>0&&(f[m-1][4]=u),p0)p.push(M[k/2]);else{const z=y[k+1],j=u[-x];for(let Q=10;Q{class l{constructor(f){this.appInits=f,this.resolve=Ud,this.reject=Ud,this.initialized=!1,this.done=!1,this.donePromise=new Promise((p,m)=>{this.resolve=p,this.reject=m})}runInitializers(){if(this.initialized)return;const f=[],p=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let m=0;m{y.subscribe({complete:k,error:x})});f.push(M)}}Promise.all(f).then(()=>{p()}).catch(m=>{this.reject(m)}),0===f.length&&p(),this.initialized=!0}}return l.\u0275fac=function(f){return new(f||l)(Ki(jf,8))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();const UT=new mi("AppId"),VT={provide:UT,useFactory:function Xw(){return`${Uf()}${Uf()}${Uf()}`},deps:[]};function Uf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const eA=new mi("Platform Initializer"),Bm=new mi("Platform ID"),Vf=new mi("appBootstrapListener");let Ws=(()=>{class l{log(f){console.log(f)}warn(f){console.warn(f)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();const qf=new mi("LocaleId"),Pa=new mi("DefaultCurrencyCode");class Ym{constructor(u,f){this.ngModuleFactory=u,this.componentFactories=f}}let Gf=(()=>{class l{compileModuleSync(f){return new xf(f)}compileModuleAsync(f){return Promise.resolve(this.compileModuleSync(f))}compileModuleAndAllComponentsSync(f){const p=this.compileModuleSync(f),y=vr(dt(f).declarations).reduce((M,k)=>{const x=sn(k);return x&&M.push(new Ef(x)),M},[]);return new Ym(p,y)}compileModuleAndAllComponentsAsync(f){return Promise.resolve(this.compileModuleAndAllComponentsSync(f))}clearCache(){}clearCacheFor(f){}getModuleId(f){}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();const GT=(()=>Promise.resolve(0))();function Kf(l){"undefined"==typeof Zone?GT.then(()=>{l&&l.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",l)}class Xn{constructor({enableLongStackTrace:u=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:p=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mo(!1),this.onMicrotaskEmpty=new Mo(!1),this.onStable=new Mo(!1),this.onError=new Mo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),u&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!p&&f,m.shouldCoalesceRunChangeDetection=p,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function KT(){let l=Rt.requestAnimationFrame,u=Rt.cancelAnimationFrame;if("undefined"!=typeof Zone&&l&&u){const f=l[Zone.__symbol__("OriginalDelegate")];f&&(l=f);const p=u[Zone.__symbol__("OriginalDelegate")];p&&(u=p)}return{nativeRequestAnimationFrame:l,nativeCancelAnimationFrame:u}}().nativeRequestAnimationFrame,function $T(l){const u=()=>{!function nA(l){l.isCheckStableRunning||-1!==l.lastRequestAnimationFrameId||(l.lastRequestAnimationFrameId=l.nativeRequestAnimationFrame.call(Rt,()=>{l.fakeTopEventTask||(l.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{l.lastRequestAnimationFrameId=-1,sA(l),l.isCheckStableRunning=!0,jm(l),l.isCheckStableRunning=!1},void 0,()=>{},()=>{})),l.fakeTopEventTask.invoke()}),sA(l))}(l)};l._inner=l._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(f,p,m,y,M,k)=>{try{return Zf(l),f.invokeTask(m,y,M,k)}finally{(l.shouldCoalesceEventChangeDetection&&"eventTask"===y.type||l.shouldCoalesceRunChangeDetection)&&u(),oA(l)}},onInvoke:(f,p,m,y,M,k,x)=>{try{return Zf(l),f.invoke(m,y,M,k,x)}finally{l.shouldCoalesceRunChangeDetection&&u(),oA(l)}},onHasTask:(f,p,m,y)=>{f.hasTask(m,y),p===m&&("microTask"==y.change?(l._hasPendingMicrotasks=y.microTask,sA(l),jm(l)):"macroTask"==y.change&&(l.hasPendingMacrotasks=y.macroTask))},onHandleError:(f,p,m,y)=>(f.handleError(m,y),l.runOutsideAngular(()=>l.onError.emit(y)),!1)})}(m)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Xn.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Xn.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(u,f,p){return this._inner.run(u,f,p)}runTask(u,f,p,m){const y=this._inner,M=y.scheduleEventTask("NgZoneEvent: "+m,u,ZT,Ud,Ud);try{return y.runTask(M,f,p)}finally{y.cancelTask(M)}}runGuarded(u,f,p){return this._inner.runGuarded(u,f,p)}runOutsideAngular(u){return this._outer.run(u)}}const ZT={};function jm(l){if(0==l._nesting&&!l.hasPendingMicrotasks&&!l.isStable)try{l._nesting++,l.onMicrotaskEmpty.emit(null)}finally{if(l._nesting--,!l.hasPendingMicrotasks)try{l.runOutsideAngular(()=>l.onStable.emit(null))}finally{l.isStable=!0}}}function sA(l){l.hasPendingMicrotasks=!!(l._hasPendingMicrotasks||(l.shouldCoalesceEventChangeDetection||l.shouldCoalesceRunChangeDetection)&&-1!==l.lastRequestAnimationFrameId)}function Zf(l){l._nesting++,l.isStable&&(l.isStable=!1,l.onUnstable.emit(null))}function oA(l){l._nesting--,jm(l)}class rA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mo,this.onMicrotaskEmpty=new Mo,this.onStable=new Mo,this.onError=new Mo}run(u,f,p){return u.apply(f,p)}runGuarded(u,f,p){return u.apply(f,p)}runOutsideAngular(u){return u()}runTask(u,f,p,m){return u.apply(f,p)}}let aA=(()=>{class l{constructor(f){this._ngZone=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),f.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Xn.assertNotInAngularZone(),Kf(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Kf(()=>{for(;0!==this._callbacks.length;){let f=this._callbacks.pop();clearTimeout(f.timeoutId),f.doneCb(this._didWork)}this._didWork=!1});else{let f=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(f)||(clearTimeout(p.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(f=>({source:f.source,creationLocation:f.creationLocation,data:f.data})):[]}addCallback(f,p,m){let y=-1;p&&p>0&&(y=setTimeout(()=>{this._callbacks=this._callbacks.filter(M=>M.timeoutId!==y),f(this._didWork,this.getPendingTasks())},p)),this._callbacks.push({doneCb:f,timeoutId:y,updateCb:m})}whenStable(f,p,m){if(m&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(f,p,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(f,p,m){return[]}}return l.\u0275fac=function(f){return new(f||l)(Ki(Xn))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})(),Um=(()=>{class l{constructor(){this._applications=new Map,$f.addToWindow(this)}registerApplication(f,p){this._applications.set(f,p)}unregisterApplication(f){this._applications.delete(f)}unregisterAllApplications(){this._applications.clear()}getTestability(f){return this._applications.get(f)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(f,p=!0){return $f.findTestabilityInTree(this,f,p)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();class Fc{addToWindow(u){}findTestabilityInTree(u,f,p){return null}}function WT(l){$f=l}let ko,$f=new Fc;const tr=new mi("AllowMultipleToken");class Vm{constructor(u,f){this.name=u,this.token=f}}function qm(l,u,f=[]){const p=`Platform: ${u}`,m=new mi(p);return(y=[])=>{let M=lA();if(!M||M.injector.get(tr,!1))if(l)l(f.concat(y).concat({provide:m,useValue:!0}));else{const k=f.concat(y).concat({provide:m,useValue:!0},{provide:My,useValue:"platform"});!function QT(l){if(ko&&!ko.destroyed&&!ko.injector.get(tr,!1))throw new ee(400,"");ko=l.get(Gm);const u=l.get(eA,null);u&&u.forEach(f=>f())}(wo.create({providers:k,name:p}))}return function XT(l){const u=lA();if(!u)throw new ee(401,"");return u}()}}function lA(){return ko&&!ko.destroyed?ko:null}let Gm=(()=>{class l{constructor(f){this._injector=f,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(f,p){const k=function t0(l,u){let f;return f="noop"===l?new rA:("zone.js"===l?void 0:l)||new Xn({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==u?void 0:u.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==u?void 0:u.ngZoneRunCoalescing)}),f}(p?p.ngZone:void 0,{ngZoneEventCoalescing:p&&p.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:p&&p.ngZoneRunCoalescing||!1}),x=[{provide:Xn,useValue:k}];return k.run(()=>{const z=wo.create({providers:x,parent:this.injector,name:f.moduleType.name}),j=f.create(z),Q=j.injector.get($u,null);if(!Q)throw new ee(402,"");return k.runOutsideAngular(()=>{const te=k.onError.subscribe({next:le=>{Q.handleError(le)}});j.onDestroy(()=>{dA(this._modules,j),te.unsubscribe()})}),function uA(l,u,f){try{const p=f();return lb(p)?p.catch(m=>{throw u.runOutsideAngular(()=>l.handleError(m)),m}):p}catch(p){throw u.runOutsideAngular(()=>l.handleError(p)),p}}(Q,k,()=>{const te=j.injector.get(eu);return te.runInitializers(),te.donePromise.then(()=>(function Gb(l){Xe(l,"Expected localeId to be defined"),"string"==typeof l&&(WC=l.toLowerCase().replace(/_/g,"-"))}(j.injector.get(qf,cs)||cs),this._moduleDoBootstrap(j),j))})})}bootstrapModule(f,p=[]){const m=n0({},p);return function cA(l,u,f){const p=new xf(f);return Promise.resolve(p)}(0,0,f).then(y=>this.bootstrapModuleFactory(y,m))}_moduleDoBootstrap(f){const p=f.injector.get(Wf);if(f._bootstrapComponents.length>0)f._bootstrapComponents.forEach(m=>p.bootstrap(m));else{if(!f.instance.ngDoBootstrap)throw new ee(403,"");f.instance.ngDoBootstrap(p)}this._modules.push(f)}onDestroy(f){this._destroyListeners.push(f)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ee(404,"");this._modules.slice().forEach(f=>f.destroy()),this._destroyListeners.forEach(f=>f()),this._destroyed=!0}get destroyed(){return this._destroyed}}return l.\u0275fac=function(f){return new(f||l)(Ki(wo))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();function n0(l,u){return Array.isArray(u)?u.reduce(n0,l):Object.assign(Object.assign({},l),u)}let Wf=(()=>{class l{constructor(f,p,m,y,M){this._zone=f,this._injector=p,this._exceptionHandler=m,this._componentFactoryResolver=y,this._initStatus=M,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const k=new T.y(z=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{z.next(this._stable),z.complete()})}),x=new T.y(z=>{let j;this._zone.runOutsideAngular(()=>{j=this._zone.onStable.subscribe(()=>{Xn.assertNotInAngularZone(),Kf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,z.next(!0))})})});const Q=this._zone.onUnstable.subscribe(()=>{Xn.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{z.next(!1)}))});return()=>{j.unsubscribe(),Q.unsubscribe()}});this.isStable=(0,v.T)(k,x.pipe((0,C.B)()))}bootstrap(f,p){if(!this._initStatus.done)throw new ee(405,"");let m;m=f instanceof _w?f:this._componentFactoryResolver.resolveComponentFactory(f),this.componentTypes.push(m.componentType);const y=function JT(l){return l.isBoundToModule}(m)?void 0:this._injector.get($s),k=m.create(wo.NULL,[],p||m.selector,y),x=k.location.nativeElement,z=k.injector.get(aA,null),j=z&&k.injector.get(Um);return z&&j&&j.registerApplication(x,z),k.onDestroy(()=>{this.detachView(k.hostView),dA(this.components,k),j&&j.unregisterApplication(x)}),this._loadComponent(k),k}tick(){if(this._runningTick)throw new ee(101,"");try{this._runningTick=!0;for(let f of this._views)f.detectChanges()}catch(f){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(f))}finally{this._runningTick=!1}}attachView(f){const p=f;this._views.push(p),p.attachToAppRef(this)}detachView(f){const p=f;dA(this._views,p),p.detachFromAppRef()}_loadComponent(f){this.attachView(f.hostView),this.tick(),this.components.push(f),this._injector.get(Vf,[]).concat(this._bootstrapListeners).forEach(m=>m(f))}ngOnDestroy(){this._views.slice().forEach(f=>f.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return l.\u0275fac=function(f){return new(f||l)(Ki(Xn),Ki(wo),Ki($u),Ki(kd),Ki(eu))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();function dA(l,u){const f=l.indexOf(u);f>-1&&l.splice(f,1)}let zc=!0;function qS(){zc=!1}let s0=(()=>{class l{}return l.__NG_ELEMENT_ID__=o0,l})();function o0(l){return function r0(l,u,f){if(zo(l)&&!f){const p=Mt(l.index,u);return new xd(p,p)}return 47&l.type?new xd(u[16],u):null}(qi(),Te(),16==(16&l))}class _A{constructor(){}supports(u){return Ac(u)}create(u){return new Xf(u)}}const qd=(l,u)=>u;class Xf{constructor(u){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=u||qd}forEachItem(u){let f;for(f=this._itHead;null!==f;f=f._next)u(f)}forEachOperation(u){let f=this._itHead,p=this._removalsHead,m=0,y=null;for(;f||p;){const M=!p||f&&f.currentIndex{M=this._trackByFn(m,k),null!==f&&Object.is(f.trackById,M)?(p&&(f=this._verifyReinsertion(f,k,M,m)),Object.is(f.item,k)||this._addIdentityChange(f,k)):(f=this._mismatch(f,k,M,m),p=!0),f=f._next,m++}),this.length=m;return this._truncate(f),this.collection=u,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let u;for(u=this._previousItHead=this._itHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._additionsHead;null!==u;u=u._nextAdded)u.previousIndex=u.currentIndex;for(this._additionsHead=this._additionsTail=null,u=this._movesHead;null!==u;u=u._nextMoved)u.previousIndex=u.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(u,f,p,m){let y;return null===u?y=this._itTail:(y=u._prev,this._remove(u)),null!==(u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(u.item,f)||this._addIdentityChange(u,f),this._reinsertAfter(u,y,m)):null!==(u=null===this._linkedRecords?null:this._linkedRecords.get(p,m))?(Object.is(u.item,f)||this._addIdentityChange(u,f),this._moveAfter(u,y,m)):u=this._addAfter(new tk(f,p),y,m),u}_verifyReinsertion(u,f,p,m){let y=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==y?u=this._reinsertAfter(y,u._prev,m):u.currentIndex!=m&&(u.currentIndex=m,this._addToMoves(u,m)),u}_truncate(u){for(;null!==u;){const f=u._next;this._addToRemovals(this._unlink(u)),u=f}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(u,f,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(u);const m=u._prevRemoved,y=u._nextRemoved;return null===m?this._removalsHead=y:m._nextRemoved=y,null===y?this._removalsTail=m:y._prevRemoved=m,this._insertAfter(u,f,p),this._addToMoves(u,p),u}_moveAfter(u,f,p){return this._unlink(u),this._insertAfter(u,f,p),this._addToMoves(u,p),u}_addAfter(u,f,p){return this._insertAfter(u,f,p),this._additionsTail=null===this._additionsTail?this._additionsHead=u:this._additionsTail._nextAdded=u,u}_insertAfter(u,f,p){const m=null===f?this._itHead:f._next;return u._next=m,u._prev=f,null===m?this._itTail=u:m._prev=u,null===f?this._itHead=u:f._next=u,null===this._linkedRecords&&(this._linkedRecords=new Yc),this._linkedRecords.put(u),u.currentIndex=p,u}_remove(u){return this._addToRemovals(this._unlink(u))}_unlink(u){null!==this._linkedRecords&&this._linkedRecords.remove(u);const f=u._prev,p=u._next;return null===f?this._itHead=p:f._next=p,null===p?this._itTail=f:p._prev=f,u}_addToMoves(u,f){return u.previousIndex===f||(this._movesTail=null===this._movesTail?this._movesHead=u:this._movesTail._nextMoved=u),u}_addToRemovals(u){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yc),this._unlinkedRecords.put(u),u.currentIndex=null,u._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=u,u._prevRemoved=null):(u._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=u),u}_addIdentityChange(u,f){return u.item=f,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=u:this._identityChangesTail._nextIdentityChange=u,u}}class tk{constructor(u,f){this.item=u,this.trackById=f,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class yA{constructor(){this._head=null,this._tail=null}add(u){null===this._head?(this._head=this._tail=u,u._nextDup=null,u._prevDup=null):(this._tail._nextDup=u,u._prevDup=this._tail,u._nextDup=null,this._tail=u)}get(u,f){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===f||f<=p.currentIndex)&&Object.is(p.trackById,u))return p;return null}remove(u){const f=u._prevDup,p=u._nextDup;return null===f?this._head=p:f._nextDup=p,null===p?this._tail=f:p._prevDup=f,null===this._head}}class Yc{constructor(){this.map=new Map}put(u){const f=u.trackById;let p=this.map.get(f);p||(p=new yA,this.map.set(f,p)),p.add(u)}get(u,f){const m=this.map.get(u);return m?m.get(u,f):null}remove(u){const f=u.trackById;return this.map.get(f).remove(u)&&this.map.delete(f),u}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function bA(l,u,f){const p=l.previousIndex;if(null===p)return p;let m=0;return f&&p{if(f&&f.key===m)this._maybeAddToChanges(f,p),this._appendAfter=f,f=f._next;else{const y=this._getOrCreateRecordForKey(m,p);f=this._insertBeforeOrAppend(f,y)}}),f){f._prev&&(f._prev._next=null),this._removalsHead=f;for(let p=f;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(u,f){if(u){const p=u._prev;return f._next=u,f._prev=p,u._prev=f,p&&(p._next=f),u===this._mapHead&&(this._mapHead=f),this._appendAfter=u,u}return this._appendAfter?(this._appendAfter._next=f,f._prev=this._appendAfter):this._mapHead=f,this._appendAfter=f,null}_getOrCreateRecordForKey(u,f){if(this._records.has(u)){const m=this._records.get(u);this._maybeAddToChanges(m,f);const y=m._prev,M=m._next;return y&&(y._next=M),M&&(M._prev=y),m._next=null,m._prev=null,m}const p=new l0(u);return this._records.set(u,p),p.currentValue=f,this._addToAdditions(p),p}_reset(){if(this.isDirty){let u;for(this._previousMapHead=this._mapHead,u=this._previousMapHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._changesHead;null!==u;u=u._nextChanged)u.previousValue=u.currentValue;for(u=this._additionsHead;null!=u;u=u._nextAdded)u.previousValue=u.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(u,f){Object.is(f,u.currentValue)||(u.previousValue=u.currentValue,u.currentValue=f,this._addToChanges(u))}_addToAdditions(u){null===this._additionsHead?this._additionsHead=this._additionsTail=u:(this._additionsTail._nextAdded=u,this._additionsTail=u)}_addToChanges(u){null===this._changesHead?this._changesHead=this._changesTail=u:(this._changesTail._nextChanged=u,this._changesTail=u)}_forEach(u,f){u instanceof Map?u.forEach(f):Object.keys(u).forEach(p=>f(u[p],p))}}class l0{constructor(u){this.key=u,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Qm(){return new ep([new _A])}let ep=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(null!=p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||Qm()),deps:[[l,new ca,new Zn]]}}find(f){const p=this.factories.find(m=>m.supports(f));if(null!=p)return p;throw new ee(901,"")}}return l.\u0275prov=ri({token:l,providedIn:"root",factory:Qm}),l})();function AA(){return new Xm([new wA])}let Xm=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||AA()),deps:[[l,new ca,new Zn]]}}find(f){const p=this.factories.find(y=>y.supports(f));if(p)return p;throw new ee(901,"")}}return l.\u0275prov=ri({token:l,providedIn:"root",factory:AA}),l})();const vA=[new wA],u0=new ep([new _A]),nk=new Xm(vA),h0=qm(null,"core",[{provide:Bm,useValue:"unknown"},{provide:Gm,deps:[wo]},{provide:Um,deps:[]},{provide:Ws,deps:[]}]),jc=[{provide:Wf,useClass:Wf,deps:[Xn,wo,$u,kd,eu]},{provide:Cw,deps:[Xn],useFactory:function _0(l){let u=[];return l.onStable.subscribe(()=>{for(;u.length;)u.pop()()}),function(f){u.push(f)}}},{provide:eu,useClass:eu,deps:[[new Zn,jf]]},{provide:Gf,useClass:Gf,deps:[]},VT,{provide:ep,useFactory:function f0(){return u0},deps:[]},{provide:Xm,useFactory:function p0(){return nk},deps:[]},{provide:qf,useFactory:function g0(l){return l||function m0(){return"undefined"!=typeof $localize&&$localize.locale||cs}()},deps:[[new lc(qf),new Zn,new ca]]},{provide:Pa,useValue:"USD"}];let y0=(()=>{class l{constructor(f){}}return l.\u0275fac=function(f){return new(f||l)(Ki(Wf))},l.\u0275mod=or({type:l}),l.\u0275inj=xn({providers:jc}),l})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(6227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class Y extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return Y.\u0275fac=function(){let U;return function(b){return(U||(U=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(Y)))(b||Y)}}(),Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class Y{constructor(){this.data=new Map}getItem(w){return this.data.get(w)}removeItem(w){this.data.delete(w)}setItem(w,b){this.data.set(w,b)}}return Y.\u0275fac=function(w){return new(w||Y)},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class ReceivedTokens{}class OAuthEvent{constructor(U){this.type=U}}class OAuthSuccessEvent extends OAuthEvent{constructor(U,w=null){super(U),this.info=w}}class OAuthInfoEvent extends OAuthEvent{constructor(U,w=null){super(U),this.info=w}}class OAuthErrorEvent extends OAuthEvent{constructor(U,w,b=null){super(U),this.reason=w,this.params=b}}function b64DecodeUnicode(Y){const U=Y.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(U).split("").map(function(w){return"%"+("00"+w.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(Y){return btoa(Y).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(U){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=w=>{location.href=w},U&&Object.assign(this,U)}}class WebHttpUrlEncodingCodec{encodeKey(U){return encodeURIComponent(U)}encodeValue(U){return encodeURIComponent(U)}decodeKey(U){return decodeURIComponent(U)}decodeValue(U){return decodeURIComponent(U)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(U){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let w=this.inferHashAlgorithm(U.idTokenHeader),b=yield this.calcHash(U.accessToken,w),T=base64UrlEncode(b.substr(0,b.length/2)),v=U.idTokenClaims.at_hash.replace(/=/g,"");return T!==v&&(console.error("exptected at_hash: "+T),console.error("actual at_hash: "+v)),T===v})}inferHashAlgorithm(U){let w=U.alg;if(!w.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+w);return"sha-"+w.substr(2)}}let UrlHelperService=(()=>{class Y{getHashFragmentParams(w){let b=w||window.location.hash;if(b=decodeURIComponent(b),0!==b.indexOf("#"))return{};const i=b.indexOf("?");return b=b.substr(i>-1?i+1:1),this.parseQueryString(b)}parseQueryString(w){const b={};let i,T,v,C,E,R,H;if(null===w)return b;i=w.split("&");for(let B=0;B>6,T[C++]=128|63&E):E<55296||E>=57344?(T[C++]=224|E>>12,T[C++]=128|E>>6&63,T[C++]=128|63&E):(E=65536+((1023&E)<<10|1023&Y.charCodeAt(++b)),T[C++]=240|E>>18,T[C++]=128|E>>12&63,T[C++]=128|E>>6&63,T[C++]=128|63&E);Y=T}else{if("object"!==i)throw new Error(ERROR);if(null===Y)throw new Error(ERROR);if(ARRAY_BUFFER&&Y.constructor===ArrayBuffer)Y=new Uint8Array(Y);else if(!(Array.isArray(Y)||ARRAY_BUFFER&&ArrayBuffer.isView(Y)))throw new Error(ERROR)}Y.length>64&&(Y=new Sha256(U,!0).update(Y).array());var R=[],H=[];for(b=0;b<64;++b){var B=Y[b]||0;R[b]=92^B,H[b]=54^B}Sha256.call(this,U,w),this.update(H),this.oKeyPad=R,this.inner=!0,this.sharedMemory=w}Sha256.prototype.update=function(Y){if(!this.finalized){var U,w=typeof Y;if("string"!==w){if("object"!==w)throw new Error(ERROR);if(null===Y)throw new Error(ERROR);if(ARRAY_BUFFER&&Y.constructor===ArrayBuffer)Y=new Uint8Array(Y);else if(!(Array.isArray(Y)||ARRAY_BUFFER&&ArrayBuffer.isView(Y)))throw new Error(ERROR);U=!0}for(var b,T,i=0,v=Y.length,C=this.blocks;i>2]|=Y[i]<>2]|=b<>2]|=(192|b>>6)<>2]|=(128|63&b)<=57344?(C[T>>2]|=(224|b>>12)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<>2]|=(240|b>>18)<>2]|=(128|b>>12&63)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<=64?(this.block=C[16],this.start=T-64,this.hash(),this.hashed=!0):this.start=T}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Y=this.blocks,U=this.lastByteIndex;Y[16]=this.block,Y[U>>2]|=EXTRA[3&U],this.block=Y[16],U>=56&&(this.hashed||this.hash(),Y[0]=this.block,Y[16]=Y[1]=Y[2]=Y[3]=Y[4]=Y[5]=Y[6]=Y[7]=Y[8]=Y[9]=Y[10]=Y[11]=Y[12]=Y[13]=Y[14]=Y[15]=0),Y[14]=this.hBytes<<3|this.bytes>>>29,Y[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var R,V,re,ee,ae,de,Y=this.h0,U=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,v=this.h6,C=this.h7,E=this.blocks;for(R=16;R<64;++R)E[R]=E[R-16]+(((V=E[R-15])>>>7|V<<25)^(V>>>18|V<<14)^V>>>3)+E[R-7]+(((V=E[R-2])>>>17|V<<15)^(V>>>19|V<<13)^V>>>10)<<0;for(de=U&w,R=0;R<64;R+=4)this.first?(this.is224?(re=300032,C=(V=E[0]-1413257819)-150054599<<0,b=V+24177077<<0):(re=704751109,C=(V=E[0]-210244248)-1521486534<<0,b=V+143694565<<0),this.first=!1):(C=b+(V=C+((i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7))+(i&T^~i&v)+K[R]+E[R])<<0,b=V+(((Y>>>2|Y<<30)^(Y>>>13|Y<<19)^(Y>>>22|Y<<10))+((re=Y&U)^Y&w^de))<<0),v=w+(V=v+((C>>>6|C<<26)^(C>>>11|C<<21)^(C>>>25|C<<7))+(C&i^~C&T)+K[R+1]+E[R+1])<<0,w=V+(((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+((ee=b&Y)^b&U^re))<<0,T=U+(V=T+((v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))+(v&C^~v&i)+K[R+2]+E[R+2])<<0,U=V+(((w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10))+((ae=w&b)^w&Y^ee))<<0,i=Y+(V=i+((T>>>6|T<<26)^(T>>>11|T<<21)^(T>>>25|T<<7))+(T&v^~T&C)+K[R+3]+E[R+3])<<0,Y=V+(((U>>>2|U<<30)^(U>>>13|U<<19)^(U>>>22|U<<10))+((de=U&w)^U&b^ae))<<0;this.h0=this.h0+Y<<0,this.h1=this.h1+U<<0,this.h2=this.h2+w<<0,this.h3=this.h3+b<<0,this.h4=this.h4+i<<0,this.h5=this.h5+T<<0,this.h6=this.h6+v<<0,this.h7=this.h7+C<<0},Sha256.prototype.hex=function(){this.finalize();var Y=this.h0,U=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,v=this.h6,C=this.h7,E=HEX_CHARS[Y>>28&15]+HEX_CHARS[Y>>24&15]+HEX_CHARS[Y>>20&15]+HEX_CHARS[Y>>16&15]+HEX_CHARS[Y>>12&15]+HEX_CHARS[Y>>8&15]+HEX_CHARS[Y>>4&15]+HEX_CHARS[15&Y]+HEX_CHARS[U>>28&15]+HEX_CHARS[U>>24&15]+HEX_CHARS[U>>20&15]+HEX_CHARS[U>>16&15]+HEX_CHARS[U>>12&15]+HEX_CHARS[U>>8&15]+HEX_CHARS[U>>4&15]+HEX_CHARS[15&U]+HEX_CHARS[w>>28&15]+HEX_CHARS[w>>24&15]+HEX_CHARS[w>>20&15]+HEX_CHARS[w>>16&15]+HEX_CHARS[w>>12&15]+HEX_CHARS[w>>8&15]+HEX_CHARS[w>>4&15]+HEX_CHARS[15&w]+HEX_CHARS[b>>28&15]+HEX_CHARS[b>>24&15]+HEX_CHARS[b>>20&15]+HEX_CHARS[b>>16&15]+HEX_CHARS[b>>12&15]+HEX_CHARS[b>>8&15]+HEX_CHARS[b>>4&15]+HEX_CHARS[15&b]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[T>>28&15]+HEX_CHARS[T>>24&15]+HEX_CHARS[T>>20&15]+HEX_CHARS[T>>16&15]+HEX_CHARS[T>>12&15]+HEX_CHARS[T>>8&15]+HEX_CHARS[T>>4&15]+HEX_CHARS[15&T]+HEX_CHARS[v>>28&15]+HEX_CHARS[v>>24&15]+HEX_CHARS[v>>20&15]+HEX_CHARS[v>>16&15]+HEX_CHARS[v>>12&15]+HEX_CHARS[v>>8&15]+HEX_CHARS[v>>4&15]+HEX_CHARS[15&v];return this.is224||(E+=HEX_CHARS[C>>28&15]+HEX_CHARS[C>>24&15]+HEX_CHARS[C>>20&15]+HEX_CHARS[C>>16&15]+HEX_CHARS[C>>12&15]+HEX_CHARS[C>>8&15]+HEX_CHARS[C>>4&15]+HEX_CHARS[15&C]),E},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var Y=this.h0,U=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,v=this.h6,C=this.h7,E=[Y>>24&255,Y>>16&255,Y>>8&255,255&Y,U>>24&255,U>>16&255,U>>8&255,255&U,w>>24&255,w>>16&255,w>>8&255,255&w,b>>24&255,b>>16&255,b>>8&255,255&b,i>>24&255,i>>16&255,i>>8&255,255&i,T>>24&255,T>>16&255,T>>8&255,255&T,v>>24&255,v>>16&255,v>>8&255,255&v];return this.is224||E.push(C>>24&255,C>>16&255,C>>8&255,255&C),E},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var Y=new ArrayBuffer(this.is224?28:32),U=new DataView(Y);return U.setUint32(0,this.h0),U.setUint32(4,this.h1),U.setUint32(8,this.h2),U.setUint32(12,this.h3),U.setUint32(16,this.h4),U.setUint32(20,this.h5),U.setUint32(24,this.h6),this.is224||U.setUint32(28,this.h7),Y},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var Y=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(Y),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(Y){if("string"!=typeof Y)throw new TypeError("expected string");var U,w=Y,b=new Uint8Array(w.length);for(U=0;U{class Y{calcHash(w,b){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(w)))})}toHashString2(w){let b="";for(let i of w)b+=String.fromCharCode(i);return b}toHashString(w){const b=new Uint8Array(w);let i="";for(let T of b)i+=String.fromCharCode(T);return i}}return Y.\u0275fac=function(w){return new(w||Y)},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),OAuthService=(()=>{class Y extends AuthConfig{constructor(w,b,i,T,v,C,E,R,H,B){var N;super(),this.ngZone=w,this.http=b,this.config=v,this.urlHelper=C,this.logger=E,this.crypto=R,this.dateTimeService=B,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=H,v||(v={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),T&&(this.tokenValidationHandler=T),v&&this.configure(v);try{i?this.setStorage(i):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(V){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",V)}if(this.checkLocalStorageAccessable()){const V=null===(N=null==window?void 0:window.navigator)||void 0===N?void 0:N.userAgent;((null==V?void 0:V.includes("MSIE "))||(null==V?void 0:V.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const w="test";try{return void 0!==window.localStorage&&(localStorage.setItem(w,w),localStorage.removeItem(w),!0)}catch(b){return!1}}configure(w){Object.assign(this,new AuthConfig,w),this.config=Object.assign({},new AuthConfig,w),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type)).subscribe(w=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(w={},b,i=!0){let T=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(v=>{"token_received"===v.type?T=!0:"logout"===v.type&&(T=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_expires"===v.type&&(null==b||"any"===b||v.info===b)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(v=>{T&&this.refreshInternal(w,i).catch(C=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(w,b){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(w,b):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(w=null){return this.loadDiscoveryDocument().then(b=>this.tryLogin(w))}loadDiscoveryDocumentAndLogin(w=null){return this.loadDiscoveryDocumentAndTryLogin(w=w||{}).then(b=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof w.state?w.state:""),!1))}debug(...w){this.showDebugInformation&&this.logger.debug.apply(this.logger,w)}validateUrlFromDiscoveryDocument(w){const b=[],i=this.validateUrlForHttps(w),T=this.validateUrlAgainstIssuer(w);return i||b.push("https for all urls required. Also for urls received by discovery."),T||b.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),b}validateUrlForHttps(w){if(!w)return!0;const b=w.toLowerCase();return!(!1!==this.requireHttps&&(!b.match(/^http:\/\/localhost($|[:\/])/)&&!b.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||b.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(w,b){if(!w)throw new Error(`'${b}' should not be null`);if(!this.validateUrlForHttps(w))throw new Error(`'${b}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(w){return!this.strictDiscoveryDocumentValidation||!w||w.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type)).subscribe(w=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const w=this.getAccessTokenExpiration(),b=this.getAccessTokenStoredAt(),i=this.calcTimeout(b,w);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(i)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}setupIdTokenTimer(){const w=this.getIdTokenExpiration(),b=this.getIdTokenStoredAt(),i=this.calcTimeout(b,w);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(i)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(w,b){const i=this.dateTimeService.now();return Math.max(0,(b-w)*this.timeoutFactor-(i-w))}setStorage(w){this._storage=w,this.configChanged()}loadDiscoveryDocument(w=null){return new Promise((b,i)=>{w||((w=this.issuer||"").endsWith("/")||(w+="/"),w+=".well-known/openid-configuration"),this.validateUrlForHttps(w)?this.http.get(w).subscribe(T=>{if(!this.validateDiscoveryDocument(T))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");this.loginUrl=T.authorization_endpoint,this.logoutUrl=T.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=T.grant_types_supported,this.issuer=T.issuer,this.tokenEndpoint=T.token_endpoint,this.userinfoEndpoint=T.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=T.jwks_uri,this.sessionCheckIFrameUrl=T.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(T),this.revocationEndpoint=T.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(v=>{const E=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:T,jwks:v});this.eventsSubject.next(E),b(E)}).catch(v=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",v)),i(v)})},T=>{this.logger.error("error loading discovery document",T),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",T)),i(T)}):i("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((w,b)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(i=>{this.jwks=i,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),w(i)},i=>{this.logger.error("error loading jwks",i),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",i)),b(i)}):w(null)})}validateDiscoveryDocument(w){let b;return this.skipIssuerCheck||w.issuer===this.issuer?(b=this.validateUrlFromDiscoveryDocument(w.authorization_endpoint),b.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.end_session_endpoint),b.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.token_endpoint),b.length>0&&this.logger.error("error validating token_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(w.revocation_endpoint),b.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(w.userinfo_endpoint),b.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.jwks_uri),b.length>0?(this.logger.error("error validating jwks_uri in discovery document",b),!1):(this.sessionChecksEnabled&&!w.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+w.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(w,b,i).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((w,b)=>{const i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:i,observe:"response",responseType:"text"}).subscribe(T=>{if(this.debug("userinfo received",JSON.stringify(T)),T.headers.get("content-type").startsWith("application/json")){let v=JSON.parse(T.body);const C=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!C.sub||v.sub!==C.sub))return void b("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");v=Object.assign({},C,v),this._storage.setItem("id_token_claims_obj",JSON.stringify(v)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),w({info:v})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),w(JSON.parse(T.body))},T=>{this.logger.error("error loading user info",T),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",T)),b(T)})})}fetchTokenUsingPasswordFlow(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:w,password:b},i)}fetchTokenUsingGrant(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let T=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",w).set("scope",this.scope);if(this.useHttpBasicAuth){const v=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+v)}if(this.useHttpBasicAuth||(T=T.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(T=T.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const v of Object.getOwnPropertyNames(this.customQueryParams))T=T.set(v,this.customQueryParams[v]);for(const v of Object.keys(b))T=T.set(v,b[v]);return i=i.set("Content-Type","application/x-www-form-urlencoded"),new Promise((v,C)=>{this.http.post(this.tokenEndpoint,T,{headers:i}).subscribe(E=>{this.debug("tokenResponse",E),this.storeAccessTokenResponse(E.access_token,E.refresh_token,E.expires_in||this.fallbackAccessTokenExpirationTimeInSec,E.scope,this.extractRecognizedCustomParameters(E)),this.oidc&&E.id_token&&this.processIdToken(E.id_token,E.access_token).then(R=>{this.storeIdToken(R),v(E)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),v(E)},E=>{this.logger.error("Error performing ${grantType} flow",E),this.eventsSubject.next(new OAuthErrorEvent("token_error",E)),C(E)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((w,b)=>{let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),T=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const v=btoa(`${this.clientId}:${this.dummyClientSecret}`);T=T.set("Authorization","Basic "+v)}if(this.useHttpBasicAuth||(i=i.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(i=i.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const v of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(v,this.customQueryParams[v]);this.http.post(this.tokenEndpoint,i,{headers:T}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(v=>v.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(v.id_token,v.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(C=>this.storeIdToken(C)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(C=>v)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(v))).subscribe(v=>{this.debug("refresh tokenResponse",v),this.storeAccessTokenResponse(v.access_token,v.refresh_token,v.expires_in||this.fallbackAccessTokenExpirationTimeInSec,v.scope,this.extractRecognizedCustomParameters(v)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),w(v)},v=>{this.logger.error("Error refreshing token",v),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",v)),b(v)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=w=>{const b=this.processMessageEventMessage(w);this.tryLogin({customHashFragment:b,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(i=>this.debug("tryLogin during silent refresh failed",i))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(w={},b=!0){const i=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(w.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const T=this.document.getElementById(this.silentRefreshIFrameName);T&&this.document.body.removeChild(T),this.silentRefreshSubject=i.sub;const v=this.document.createElement("iframe");v.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,b,w).then(B=>{v.setAttribute("src",B),this.silentRefreshShowIFrame||(v.style.display="none"),this.document.body.appendChild(v)});const E=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>B instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),R=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>"token_received"===B.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),H=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([E,R,H]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(B=>{if(B instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===B.type||(B=new OAuthErrorEvent("silent_refresh_error",B)),this.eventsSubject.next(B),B;return"token_received"===B.type&&(B=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(B)),B})).toPromise()}initImplicitFlowInPopup(w){return this.initLoginFlowInPopup(w)}initLoginFlowInPopup(w){return w=w||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(b=>new Promise((i,T)=>{let E,C=null;w.windowRef?w.windowRef&&!w.windowRef.closed&&(C=w.windowRef,C.location.href=b):C=window.open(b,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(w));const R=J=>{this.tryLogin({customHashFragment:J,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{B(),i(!0)},X=>{B(),T(X)})};C?E=window.setInterval(()=>{(!C||C.closed)&&(B(),T(new OAuthErrorEvent("popup_closed",{})))},500):T(new OAuthErrorEvent("popup_blocked",{}));const B=()=>{window.clearInterval(E),window.removeEventListener("storage",V),window.removeEventListener("message",N),null!==C&&C.close(),C=null},N=J=>{const X=this.processMessageEventMessage(J);X&&null!==X?(window.removeEventListener("storage",V),R(X)):console.log("false event firing")},V=J=>{"auth_hash"===J.key&&(window.removeEventListener("message",N),R(J.newValue))};window.addEventListener("message",N),window.addEventListener("storage",V)}))}calculatePopupFeatures(w){const b=w.height||470,i=w.width||500,T=window.screenLeft+(window.outerWidth-i)/2;return`location=no,toolbar=no,width=${i},height=${b},top=${window.screenTop+(window.outerHeight-b)/2},left=${T}`}processMessageEventMessage(w){let b="#";if(this.silentRefreshMessagePrefix&&(b+=this.silentRefreshMessagePrefix),!w||!w.data||"string"!=typeof w.data)return;const i=w.data;return i.startsWith(b)?"#"+i.substr(b.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=w=>{const b=w.origin.toLowerCase(),i=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),i.startsWith(b)){switch(w.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",w)}else this.debug("sessionCheckEventListener","wrong origin",b,"expected",i,"event",w)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(w=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(w=>{this.debug("token refresh after session change worked")}).catch(w=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"silently_refreshed"===w.type||"silent_refresh_timeout"===w.type||"silent_refresh_error"===w.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(w=>{"silently_refreshed"!==w.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const w=this.document.getElementById(this.sessionCheckIFrameName);w&&this.document.body.removeChild(w);const b=this.document.createElement("iframe");b.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),b.setAttribute("src",this.sessionCheckIFrameUrl),b.style.display="none",this.document.body.appendChild(b),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const w=this.document.getElementById(this.sessionCheckIFrameName);w||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const b=this.getSessionState();b||this.stopSessionCheckTimer(),w.contentWindow.postMessage(this.clientId+" "+b,this.issuer)}createLoginUrl(w="",b="",i="",T=!1,v={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const C=this;let E;E=i||this.redirectUri;const R=yield this.createAndSaveNonce();if(w=w?R+this.config.nonceStateSeparator+encodeURIComponent(w):R,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const H=C.loginUrl.indexOf("?")>-1?"&":"?";let B=C.scope;this.oidc&&!B.match(/(^|\s)openid($|\s)/)&&(B="openid "+B);let N=C.loginUrl+H+"response_type="+encodeURIComponent(C.responseType)+"&client_id="+encodeURIComponent(C.clientId)+"&state="+encodeURIComponent(w)+"&redirect_uri="+encodeURIComponent(E)+"&scope="+encodeURIComponent(B);if(this.responseType.includes("code")&&!this.disablePKCE){const[V,J]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",J):this._storage.setItem("PKCE_verifier",J),N+="&code_challenge="+V,N+="&code_challenge_method=S256"}b&&(N+="&login_hint="+encodeURIComponent(b)),C.resource&&(N+="&resource="+encodeURIComponent(C.resource)),C.oidc&&(N+="&nonce="+encodeURIComponent(R)),T&&(N+="&prompt=none");for(const V of Object.keys(v))N+="&"+encodeURIComponent(V)+"="+encodeURIComponent(v[V]);if(this.customQueryParams)for(const V of Object.getOwnPropertyNames(this.customQueryParams))N+="&"+V+"="+encodeURIComponent(this.customQueryParams[V]);return N})}initImplicitFlowInternal(w="",b=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let i={},T=null;"string"==typeof b?T=b:"object"==typeof b&&(i=b),this.createLoginUrl(w,T,null,!1,i).then(this.config.openUri).catch(v=>{console.error("Error in initImplicitFlow",v),this.inImplicitFlow=!1})}initImplicitFlow(w="",b=""){""!==this.loginUrl?this.initImplicitFlowInternal(w,b):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(i=>"discovery_document_loaded"===i.type)).subscribe(i=>this.initImplicitFlowInternal(w,b))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(w){const b=this;if(w.onTokenReceived){const i={idClaims:b.getIdentityClaims(),idToken:b.getIdToken(),accessToken:b.getAccessToken(),state:b.state};w.onTokenReceived(i)}}storeAccessTokenResponse(w,b,i,T,v){if(this._storage.setItem("access_token",w),T&&!Array.isArray(T)?this._storage.setItem("granted_scopes",JSON.stringify(T.split(" "))):T&&Array.isArray(T)&&this._storage.setItem("granted_scopes",JSON.stringify(T)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){const C=1e3*i,R=this.dateTimeService.new().getTime()+C;this._storage.setItem("expires_at",""+R)}b&&this._storage.setItem("refresh_token",b),v&&v.forEach((C,E)=>{this._storage.setItem(E,C)})}tryLogin(w=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(w).then(b=>!0):this.tryLoginImplicitFlow(w)}parseQueryString(w){return w&&0!==w.length?("?"===w.charAt(0)&&(w=w.substr(1)),this.urlHelper.parseQueryString(w)):{}}tryLoginCodeFlow(w=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const b=(w=w||{}).customHashFragment?w.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(b),T=i.code,v=i.state,C=i.session_state;if(!w.preventClearHashAfterLogin){const H=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,H)}let[E,R]=this.parseState(v);if(this.state=R,i.error){this.debug("error trying to login"),this.handleLoginError(w,i);const H=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(H),Promise.reject(H)}if(!w.disableNonceCheck){if(!E)return this.saveRequestedRoute(),Promise.resolve();if(!w.disableOAuth2StateCheck&&!this.validateNonce(E)){const B=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(B),Promise.reject(B)}return this.storeSessionState(C),T&&(yield this.getTokenFromCode(T,w),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const w=this._storage.getItem("requested_route");w&&history.replaceState(null,"",window.location.origin+w)}getCodePartsFromUrl(w){return w&&0!==w.length?("?"===w.charAt(0)&&(w=w.substr(1)),this.urlHelper.parseQueryString(w)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(w,b){let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",w).set("redirect_uri",b.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let T;T=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),T?i=i.set("code_verifier",T):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(i,b)}fetchAndProcessToken(w,b){b=b||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const T=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+T)}return this.useHttpBasicAuth||(w=w.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(w=w.set("client_secret",this.dummyClientSecret)),new Promise((T,v)=>{if(this.customQueryParams)for(let C of Object.getOwnPropertyNames(this.customQueryParams))w=w.set(C,this.customQueryParams[C]);this.http.post(this.tokenEndpoint,w,{headers:i}).subscribe(C=>{this.debug("refresh tokenResponse",C),this.storeAccessTokenResponse(C.access_token,C.refresh_token,C.expires_in||this.fallbackAccessTokenExpirationTimeInSec,C.scope,this.extractRecognizedCustomParameters(C)),this.oidc&&C.id_token?this.processIdToken(C.id_token,C.access_token,b.disableNonceCheck).then(E=>{this.storeIdToken(E),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(C)}).catch(E=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",E)),console.error("Error validating tokens"),console.error(E),v(E)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(C))},C=>{console.error("Error getting token",C),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",C)),v(C)})})}tryLoginImplicitFlow(w=null){let b;b=(w=w||{}).customHashFragment?this.urlHelper.getHashFragmentParams(w.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",b);const i=b.state;let[T,v]=this.parseState(i);if(this.state=v,b.error){this.debug("error trying to login"),this.handleLoginError(w,b);const B=new OAuthErrorEvent("token_error",{},b);return this.eventsSubject.next(B),Promise.reject(B)}const C=b.access_token,E=b.id_token,R=b.session_state,H=b.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!C||this.requestAccessToken&&!w.disableOAuth2StateCheck&&!i||this.oidc&&!E)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!R&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!w.disableNonceCheck&&!this.validateNonce(T)){const N=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(N),Promise.reject(N)}return this.requestAccessToken&&this.storeAccessTokenResponse(C,null,b.expires_in||this.fallbackAccessTokenExpirationTimeInSec,H),this.oidc?this.processIdToken(E,C,w.disableNonceCheck).then(B=>w.validationHandler?w.validationHandler({accessToken:C,idClaims:B.idTokenClaims,idToken:B.idToken,state:i}).then(N=>B):B).then(B=>(this.storeIdToken(B),this.storeSessionState(R),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(w),this.inImplicitFlow=!1,!0)).catch(B=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",B)),this.logger.error("Error validating tokens"),this.logger.error(B),Promise.reject(B))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(w),Promise.resolve(!0))}parseState(w){let b=w,i="";if(w){const T=w.indexOf(this.config.nonceStateSeparator);T>-1&&(b=w.substr(0,T),i=w.substr(T+this.config.nonceStateSeparator.length))}return[b,i]}validateNonce(w){let b;return b=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),b===w||(console.error("Validating access_token failed, wrong state/nonce.",b,w),!1)}storeIdToken(w){this._storage.setItem("id_token",w.idToken),this._storage.setItem("id_token_claims_obj",w.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+w.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(w){this._storage.setItem("session_state",w)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(w,b){w.onLoginError&&w.onLoginError(b),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(w=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:w}processIdToken(w,b,i=!1){const T=w.split("."),C=b64DecodeUnicode(this.padBase64(T[0])),E=JSON.parse(C),H=b64DecodeUnicode(this.padBase64(T[1])),B=JSON.parse(H);let N;if(N=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(B.aud)){if(B.aud.every(ae=>ae!==this.clientId)){const ae="Wrong audience: "+B.aud.join(",");return this.logger.warn(ae),Promise.reject(ae)}}else if(B.aud!==this.clientId){const ae="Wrong audience: "+B.aud;return this.logger.warn(ae),Promise.reject(ae)}if(!B.sub){const ae="No sub claim in id_token";return this.logger.warn(ae),Promise.reject(ae)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==B.sub){const ae=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${B.sub}`;return this.logger.warn(ae),Promise.reject(ae)}if(!B.iat){const ae="No iat claim in id_token";return this.logger.warn(ae),Promise.reject(ae)}if(!this.skipIssuerCheck&&B.iss!==this.issuer){const ae="Wrong issuer: "+B.iss;return this.logger.warn(ae),Promise.reject(ae)}if(!i&&B.nonce!==N){const ae="Wrong nonce: "+B.nonce;return this.logger.warn(ae),Promise.reject(ae)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!B.at_hash){const ae="An at_hash is needed!";return this.logger.warn(ae),Promise.reject(ae)}const V=this.dateTimeService.now(),J=1e3*B.iat,X=1e3*B.exp,re=this.getClockSkewInMsec();if(J-re>=V||X+re<=V){const ae="Token has expired";return console.error(ae),console.error({now:V,issuedAtMSec:J,expiresAtMSec:X}),Promise.reject(ae)}const ee={accessToken:b,idToken:w,jwks:this.jwks,idTokenClaims:B,idTokenHeader:E,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ee).then(ae=>({idToken:w,idTokenClaims:B,idTokenClaimsJson:H,idTokenHeader:E,idTokenHeaderJson:C,idTokenExpiresAt:X})):this.checkAtHash(ee).then(ae=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ae){const de="Wrong at_hash";return this.logger.warn(de),Promise.reject(de)}return this.checkSignature(ee).then(de=>{const Oe={idToken:w,idTokenClaims:B,idTokenClaimsJson:H,idTokenHeader:E,idTokenHeaderJson:C,idTokenExpiresAt:X};return this.disableAtHashCheck?Oe:this.checkAtHash(ee).then(Ve=>{if(this.requestAccessToken&&!Ve){const Pt="Wrong at_hash";return this.logger.warn(Pt),Promise.reject(Pt)}return Oe})})})}getIdentityClaims(){const w=this._storage.getItem("id_token_claims_obj");return w?JSON.parse(w):null}getGrantedScopes(){const w=this._storage.getItem("granted_scopes");return w?JSON.parse(w):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(w){for(;w.length%4!=0;)w+="=";return w}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const w=this._storage.getItem("expires_at"),b=this.dateTimeService.new();return!(w&&parseInt(w,10)=0&&null!==this._storage.getItem(w)?JSON.parse(this._storage.getItem(w)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(w={},b=""){let i=!1;"boolean"==typeof w&&(i=w,w={});const T=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(C=>this._storage.removeItem(C)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||i||!T&&!this.postLogoutRedirectUri)return;let v;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)v=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(T)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let C=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});T&&(C=C.set("id_token_hint",T));const E=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";E&&(C=C.set("post_logout_redirect_uri",E),b&&(C=C.set("state",b)));for(let R in w)C=C.set(R,w[R]);v=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+C.toString()}this.config.openUri(v)}createAndSaveNonce(){const w=this;return this.createNonce().then(function(b){return w.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",b):w._storage.setItem("nonce",b),b})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const w=this.document.getElementById(this.silentRefreshIFrameName);w&&w.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const b=this.document.getElementById(this.sessionCheckIFrameName);b&&b.remove()}createNonce(){return new Promise(w=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let i=45,T="";const v="undefined"==typeof self?null:self.crypto||self.msCrypto;if(v){let C=new Uint8Array(i);v.getRandomValues(C),C.map||(C.map=Array.prototype.map),C=C.map(E=>b.charCodeAt(E%b.length)),T=String.fromCharCode.apply(null,C)}else for(;0"discovery_document_loaded"===i.type)).subscribe(i=>this.initCodeFlowInternal(w,b))}initCodeFlowInternal(w="",b={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let i={},T=null;"string"==typeof b?T=b:"object"==typeof b&&(i=b),this.createLoginUrl(w,T,null,!1,i).then(this.config.openUri).catch(v=>{console.error("Error in initAuthorizationCodeFlow"),console.error(v)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const w=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(w,"sha-256")),w]})}extractRecognizedCustomParameters(w){let b=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(i=>{w[i]&&b.set(i,JSON.stringify(w[i]))}),b}revokeTokenAndLogout(w={},b=!1){let i=this.revocationEndpoint,T=this.getAccessToken(),v=this.getRefreshToken();if(!T)return;let C=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),E=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const R=btoa(`${this.clientId}:${this.dummyClientSecret}`);E=E.set("Authorization","Basic "+R)}if(this.useHttpBasicAuth||(C=C.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(C=C.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const R of Object.getOwnPropertyNames(this.customQueryParams))C=C.set(R,this.customQueryParams[R]);return new Promise((R,H)=>{let B,N;if(T){let V=C.set("token",T).set("token_type_hint","access_token");B=this.http.post(i,V,{headers:E})}else B=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(v){let V=C.set("token",v).set("token_type_hint","refresh_token");N=this.http.post(i,V,{headers:E})}else N=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);b&&(B=B.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(V=>0===V.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(V))),N=N.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(V=>0===V.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(V)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([B,N]).subscribe(V=>{this.logOut(w),R(V),this.logger.info("Token successfully revoked")},V=>{this.logger.error("Error revoking token",V),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",V)),H(V)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Y.\u0275fac=function(w){return new(w||Y)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(U){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(U)}}let DefaultOAuthInterceptor=(()=>{class Y{constructor(w,b,i){this.oAuthService=w,this.errorHandler=b,this.moduleConfig=i}checkUrl(w){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(w):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(b=>w.toLowerCase().startsWith(b.toLowerCase()))}intercept(w,b){const i=w.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(i)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>!!v)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_received"===v.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(v=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(v=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(v=>{if(v){const E=w.headers.set("Authorization","Bearer "+v);w=w.clone({headers:E})}return b.handle(w).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(C=>this.errorHandler.handleError(C)))})):b.handle(w).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(v=>this.errorHandler.handleError(v))):b.handle(w)}}return Y.\u0275fac=function(w){return new(w||Y)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class NullValidationHandler{validateSignature(U){return Promise.resolve(null)}validateAtHash(U){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class Y{static forRoot(w=null,b=NullValidationHandler){return{ngModule:Y,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:b},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:w},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return Y.\u0275fac=function(w){return new(w||Y)},Y.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:Y}),Y.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),Y})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},4147:Y=>{"use strict";Y.exports={i8:"6.1.1"}}},Y=>{Y(Y.s=4527)}]); \ No newline at end of file diff --git a/dist/apps/publications/main.ce0bae2ff5330a1e.js b/dist/apps/publications/main.ce0bae2ff5330a1e.js new file mode 100644 index 000000000..f5198efbf --- /dev/null +++ b/dist/apps/publications/main.ce0bae2ff5330a1e.js @@ -0,0 +1 @@ +(self.webpackChunkpublications=self.webpackChunkpublications||[]).push([[179],{3853:(Y,U,w)=>{"use strict";var b=w(9808),i=w(5e3);class T extends b.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class v extends T{static makeCurrent(){(0,b.HT)(new v)}onAndCancel(o,e,t){return o.addEventListener(e,t,!1),()=>{o.removeEventListener(e,t,!1)}}dispatchEvent(o,e){o.dispatchEvent(e)}remove(o){o.parentNode&&o.parentNode.removeChild(o)}createElement(o,e){return(e=e||this.getDefaultDocument()).createElement(o)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(o){return o.nodeType===Node.ELEMENT_NODE}isShadowRoot(o){return o instanceof DocumentFragment}getGlobalEventTarget(o,e){return"window"===e?window:"document"===e?o:"body"===e?o.body:null}getBaseHref(o){const e=function E(){return C=C||document.querySelector("base"),C?C.getAttribute("href"):null}();return null==e?null:function H(n){R=R||document.createElement("a"),R.setAttribute("href",n);const o=R.pathname;return"/"===o.charAt(0)?o:`/${o}`}(e)}resetBaseElement(){C=null}getUserAgent(){return window.navigator.userAgent}getCookie(o){return(0,b.Mx)(document.cookie,o)}}let R,C=null;const B=new i.OlP("TRANSITION_ID"),G=[{provide:i.ip1,useFactory:function N(n,o,e){return()=>{e.get(i.CZH).donePromise.then(()=>{const t=(0,b.q)(),s=o.querySelectorAll(`style[ng-transition="${n}"]`);for(let a=0;a{const a=o.findTestabilityInTree(t,s);if(null==a)throw new Error("Could not find testability for element.");return a},i.dqk.getAllAngularTestabilities=()=>o.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>o.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const s=i.dqk.getAllAngularTestabilities();let a=s.length,r=!1;const c=function(d){r=r||d,a--,0==a&&t(r)};s.forEach(function(d){d.whenStable(c)})})}findTestabilityInTree(o,e,t){if(null==e)return null;const s=o.getTestability(e);return null!=s?s:t?(0,b.q)().isShadowRoot(e)?this.findTestabilityInTree(o,e.host,!0):this.findTestabilityInTree(o,e.parentElement,!0):null}}let X=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const re=new i.OlP("EventManagerPlugins");let ee=(()=>{class n{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(s=>s.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,s){return this._findPluginFor(t).addEventListener(e,t,s)}addGlobalEventListener(e,t,s){return this._findPluginFor(t).addGlobalEventListener(e,t,s)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const s=this._plugins;for(let a=0;a{class n{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(s=>{this._stylesSet.has(s)||(this._stylesSet.add(s),t.add(s))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Ie=(()=>{class n extends de{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,s){e.forEach(a=>{const r=this._doc.createElement("style");r.textContent=a,s.push(t.appendChild(r))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(He),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,s)=>{this._addStylesToHost(e,s,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(He))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function He(n){(0,b.q)().remove(n)}const Ge={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},xt=/%COMP%/g;function fe(n,o,e){for(let t=0;t{if("__ngUnwrap__"===o)return n;!1===n(o)&&(o.preventDefault(),o.returnValue=!1)}}let xe=(()=>{class n{constructor(e,t,s){this.eventManager=e,this.sharedStylesHost=t,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new he(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ifc.Emulated:{let s=this.rendererByCompId.get(t.id);return s||(s=new bi(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,s)),s.applyToHost(e),s}case 1:case i.ifc.ShadowDom:return new Xe(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const s=fe(t.id,t.styles,[]);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ee),i.LFG(Ie),i.LFG(i.AFp))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class he{constructor(o){this.eventManager=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(o,e){return e?document.createElementNS(Ge[e]||e,o):document.createElement(o)}createComment(o){return document.createComment(o)}createText(o){return document.createTextNode(o)}appendChild(o,e){o.appendChild(e)}insertBefore(o,e,t){o&&o.insertBefore(e,t)}removeChild(o,e){o&&o.removeChild(e)}selectRootElement(o,e){let t="string"==typeof o?document.querySelector(o):o;if(!t)throw new Error(`The selector "${o}" did not match any elements`);return e||(t.textContent=""),t}parentNode(o){return o.parentNode}nextSibling(o){return o.nextSibling}setAttribute(o,e,t,s){if(s){e=s+":"+e;const a=Ge[s];a?o.setAttributeNS(a,e,t):o.setAttribute(e,t)}else o.setAttribute(e,t)}removeAttribute(o,e,t){if(t){const s=Ge[t];s?o.removeAttributeNS(s,e):o.removeAttribute(`${t}:${e}`)}else o.removeAttribute(e)}addClass(o,e){o.classList.add(e)}removeClass(o,e){o.classList.remove(e)}setStyle(o,e,t,s){s&(i.JOm.DashCase|i.JOm.Important)?o.style.setProperty(e,t,s&i.JOm.Important?"important":""):o.style[e]=t}removeStyle(o,e,t){t&i.JOm.DashCase?o.style.removeProperty(e):o.style[e]=""}setProperty(o,e,t){o[e]=t}setValue(o,e){o.nodeValue=e}listen(o,e,t){return"string"==typeof o?this.eventManager.addGlobalEventListener(o,e,_e(t)):this.eventManager.addEventListener(o,e,_e(t))}}class bi extends he{constructor(o,e,t,s){super(o),this.component=t;const a=fe(s+"-"+t.id,t.styles,[]);e.addStyles(a),this.contentAttr=function ft(n){return"_ngcontent-%COMP%".replace(xt,n)}(s+"-"+t.id),this.hostAttr=function ue(n){return"_nghost-%COMP%".replace(xt,n)}(s+"-"+t.id)}applyToHost(o){super.setAttribute(o,this.hostAttr,"")}createElement(o,e){const t=super.createElement(o,e);return super.setAttribute(t,this.contentAttr,""),t}}class Xe extends he{constructor(o,e,t,s){super(o),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=fe(s.id,s.styles,[]);for(let r=0;r{class n extends ae{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,s){return e.addEventListener(t,s,!1),()=>this.removeEventListener(e,t,s)}removeEventListener(e,t,s){return e.removeEventListener(t,s)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Yn=["alt","control","meta","shift"],Ze={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ri={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},To={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let xn=(()=>{class n extends ae{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,t,s){const a=n.parseEventName(t),r=n.eventCallback(a.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,b.q)().onAndCancel(e,a.domEventName,r))}static parseEventName(e){const t=e.toLowerCase().split("."),s=t.shift();if(0===t.length||"keydown"!==s&&"keyup"!==s)return null;const a=n._normalizeKey(t.pop());let r="";if(Yn.forEach(d=>{const h=t.indexOf(d);h>-1&&(t.splice(h,1),r+=d+".")}),r+=a,0!=t.length||0===a.length)return null;const c={};return c.domEventName=s,c.fullKey=r,c}static getEventFullKey(e){let t="",s=function qi(n){let o=n.key;if(null==o){if(o=n.keyIdentifier,null==o)return"Unidentified";o.startsWith("U+")&&(o=String.fromCharCode(parseInt(o.substring(2),16)),3===n.location&&ri.hasOwnProperty(o)&&(o=ri[o]))}return Ze[o]||o}(e);return s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),Yn.forEach(a=>{a!=s&&To[a](e)&&(t+=a+".")}),t+=s,t}static eventCallback(e,t,s){return a=>{n.getEventFullKey(a)===e&&s.runGuarded(()=>t(a))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Mo=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:b.bD},{provide:i.g9A,useValue:function $s(){v.makeCurrent(),J.init()},multi:!0},{provide:b.K0,useFactory:function Yr(){return(0,i.RDi)(document),document},deps:[]}]),Ws=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function Br(){return new i.qLn},deps:[]},{provide:re,useClass:ct,multi:!0,deps:[b.K0,i.R0b,i.Lbi]},{provide:re,useClass:xn,multi:!0,deps:[b.K0]},{provide:xe,useClass:xe,deps:[ee,Ie,i.AFp]},{provide:i.FYo,useExisting:xe},{provide:de,useExisting:Ie},{provide:Ie,useClass:Ie,deps:[b.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:ee,useClass:ee,deps:[re,i.R0b]},{provide:b.JF,useClass:X,deps:[]}];let So=(()=>{class n{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:n,providers:[{provide:i.AFp,useValue:e.appId},{provide:B,useExisting:i.AFp},G]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:Ws,imports:[b.ez,i.hGG]}),n})(),Wt=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function Bi(){return new Wt((0,i.LFG)(b.K0))}(),t},providedIn:"root"}),n})();"undefined"!=typeof window&&window;let Un=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new(e||n):i.LFG(cr),t},providedIn:"root"}),n})(),cr=(()=>{class n extends Un{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case i.q3G.NONE:return t;case i.q3G.HTML:return(0,i.qzn)(t,"HTML")?(0,i.z3N)(t):(0,i.EiD)(this._doc,String(t)).toString();case i.q3G.STYLE:return(0,i.qzn)(t,"Style")?(0,i.z3N)(t):t;case i.q3G.SCRIPT:if((0,i.qzn)(t,"Script"))return(0,i.z3N)(t);throw new Error("unsafe value used in a script context");case i.q3G.URL:return(0,i.yhl)(t),(0,i.qzn)(t,"URL")?(0,i.z3N)(t):(0,i.mCW)(String(t));case i.q3G.RESOURCE_URL:if((0,i.qzn)(t,"ResourceURL"))return(0,i.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,i.JVY)(e)}bypassSecurityTrustStyle(e){return(0,i.L6k)(e)}bypassSecurityTrustScript(e){return(0,i.eBb)(e)}bypassSecurityTrustUrl(e){return(0,i.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,i.pB0)(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function ar(n){return new cr(n.get(b.K0))}(i.LFG(i.zs3)),t},providedIn:"root"}),n})();var D=w(520);class Le{encodeKey(o){return encodeURIComponent(o)}encodeValue(o){return encodeURIComponent(o)}decodeKey(o){return decodeURIComponent(o)}decodeValue(o){return decodeURIComponent(o)}}const li=new i.OlP("basePath");class qe{constructor(o={}){this.apiKeys=o.apiKeys,this.username=o.username,this.password=o.password,this.accessToken=o.accessToken,this.basePath=o.basePath,this.withCredentials=o.withCredentials,this.encoder=o.encoder}selectHeaderContentType(o){if(0===o.length)return;const e=o.find(t=>this.isJsonMime(t));return void 0===e?o[0]:e}selectHeaderAccept(o){if(0===o.length)return;const e=o.find(t=>this.isJsonMime(t));return void 0===e?o[0]:e}isJsonMime(o){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==o&&(e.test(o)||"application/json-patch+json"===o.toLowerCase())}}let Vn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}convertAttributeToNonunique(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}convertAttributeToUnique(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteAttributeDefinitions(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attributes[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllAttributeDefinitions(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAttribute(e,t,s,a,r,c,d,h,g,I,W,ce="body",be=!1){let Me=new D.LE({encoder:this.encoder});null!=e&&(Me=Me.set("attributeName",e)),null!=t&&(Me=Me.set("attributeId",t)),null!=s&&(Me=Me.set("facility",s)),null!=a&&(Me=Me.set("user",a)),null!=r&&(Me=Me.set("vo",r)),null!=c&&(Me=Me.set("resource",c)),null!=d&&(Me=Me.set("member",d)),null!=h&&(Me=Me.set("group",h)),null!=g&&(Me=Me.set("host",g)),null!=I&&(Me=Me.set("userExtSource",I)),null!=W&&(Me=Me.set("key",W));let Fe=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Fe=Fe.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Fe=Fe.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Pt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Fe=Fe.set("Authorization","Bearer "+Pt)}const Qt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Qt&&(Fe=Fe.set("Accept",Qt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:Me,withCredentials:this.configuration.withCredentials,headers:Fe,observe:ce,reportProgress:be})}getAttributeDefinitionById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeDefinitionByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeDefinitionsByNamespace(e,t="body",s=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeModulesDependenciesForAttributeGraphText(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("format",e)),null!=t&&(r=r.set("attrName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAttributeModulesDependenciesGraphText(e,t="body",s=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("format",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributePolicyCollections(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeRights(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributesDefinitionWithRights(e,t,s,a,r,c,d,h,g="body",I=!1){let W=new D.LE({encoder:this.encoder});null!=e&&(W=W.set("member",e)),null!=t&&(W=W.set("user",t)),null!=s&&(W=W.set("vo",s)),null!=a&&(W=W.set("group",a)),null!=r&&(W=W.set("resource",r)),null!=c&&(W=W.set("facility",c)),null!=d&&(W=W.set("host",d)),null!=h&&(W=W.set("userExtSource",h));let ce=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(ce=ce.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(ce=ce.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Fe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;ce=ce.set("Authorization","Bearer "+Fe)}const Me=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Me&&(ce=ce.set("Accept",Me)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:W,withCredentials:this.configuration.withCredentials,headers:ce,observe:g,reportProgress:I})}getEntitylessAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessAttributesByKey(e,t="body",s=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("key",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEntitylessAttributesByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attrName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEntitylessAttributesWithKeys(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attrName",e)),t&&t.forEach(g=>{r=r.append("keys[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessKeys(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityResourceUserMemberAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("resource",t)),null!=s&&(d=d.set("user",s)),null!=a&&(d=d.set("member",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getFacilityUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupResourceAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupResourceAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLogins(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberAndUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==t)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAndUserAttributesByNames(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),t&&t.forEach(I=>{c=c.append("attrNames[]",I)}),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAndUserAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach(W=>{d=d.append("attrNames[]",W)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberGroupAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberGroupAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAttributesByNames(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),s&&s.forEach(I=>{c=c.append("attrNames[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach(W=>{d=d.append("attrNames[]",W)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberResourceAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesFacilityService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesFacilityServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesGroupResourceService(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("group",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesHostService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==t)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("host",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMemberGroup(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesMemberGroupResourceService(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("group",s)),null!=a&&(h=h.set("member",a)),null!=r&&(h=h.set("workWithUserAttributes",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getRequiredAttributesMemberGroupService(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("group",t)),null!=s&&(d=d.set("member",s)),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesMemberResource(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesMemberResourceService(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("resource",t)),null!=s&&(d=d.set("member",s)),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesResourceService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesResourceServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesUserFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesVoService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupAndGroupAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("resource",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("workWithGroupAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResourceGroupAndGroupAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach(W=>{d=d.append("attrNames[]",W)}),null!=a&&(d=d.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getResourceGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupMemberAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==a)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),null!=s&&(d=d.set("member",s)),a&&a.forEach(W=>{d=d.append("attrNames[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserFacilityAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getUserFacilityAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getUserFacilityAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAttributesForFacilityResourceGroupUserMember(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==a)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==c)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("facility",e)),null!=t&&(g=g.set("resource",t)),null!=s&&(g=g.set("group",s)),null!=a&&(g=g.set("user",a)),null!=r&&(g=g.set("member",r)),c&&c.forEach(be=>{g=g.append("attributes[]",be)});let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+be)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}removeAttributesForFacilityResourceUserMember(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==a)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("facility",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("user",s)),null!=a&&(h=h.set("member",a)),r&&r.forEach(ce=>{h=h.append("attributes[]",ce)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}removeEntitylessAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupResourceAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeGroupResourceAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach(W=>{d=d.append("attributes[]",W)}),null!=a&&(d=d.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeHostAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHostAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributesWorkWithUserAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),t&&t.forEach(I=>{c=c.append("attributes[]",I)}),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach(W=>{d=d.append("attributes[]",W)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeMemberResourceAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberResourceAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeResourceAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUesAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSourceAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserFacilityAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeUserFacilityAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeVoAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setAttributePolicyCollections(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setAttributeRights(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setEntitylessAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityResourceGroupUserMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityResourceUserMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setHostAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setHostAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupWithUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAndUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberWithUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceGroupWithGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserExtSourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserExtSourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserFacilityAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setVoAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setVoAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ut=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}auditMessagesManagerLog(e,t="body",s=!1){if(null==e)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("msg",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/log`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createAuditerConsumer(e,t="body",s=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("consumerName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/createAuditerConsumer`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllAuditerConsumers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAuditerMessagesCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getLastMessageId(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getMessages(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("count",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessages`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMessagesByCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("count",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesByCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMessagesPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetMessagesPage was null or undefined when calling getMessagesPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}pollConsumerMessages(e,t="body",s=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("consumerName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/pollConsumerMessages`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}setLastProcessedId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==t)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("consumerName",e)),null!=t&&(r=r.set("lastProcessedId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/setLastProcessedId`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Pi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}getAllPolicies(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("role",e)),null!=t&&(c=c.set("complementaryObjectId",t)),null!=s&&(c=c.set("complementaryObjectName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAuthzRichAdmins(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==a)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("role",e)),null!=t&&(g=g.set("complementaryObjectId",t)),null!=s&&(g=g.set("complementaryObjectName",s)),a&&a.forEach(be=>{g=g.append("specificAttributes",be)}),null!=r&&(g=g.set("allUserAttributes",r)),null!=c&&(g=g.set("onlyDirectAdmins",c));let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+be)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}getFacilitiesWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupRoleNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupRoles(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("groupId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLoggedUser(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getPerunPrincipal(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSecurityTeamsWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserRoleNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserRoles(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}isFacilityAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isGroupAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isPerunAdmin(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}isVoAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}keepAlive(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setRoleWithUserComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unsetRoleWithGroupComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unsetRoleWithUserComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ai=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}createAutorship(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createCategoryCat(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createCategoryNR(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createPublication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createPublicationSystem(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createThanks(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAuthorship(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==t)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("publicationId",e)),null!=t&&(r=r.set("userId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteCategory(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deletePublication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deletePublicationSystem(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteThanks(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findAllAuthors(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}findAuthorsByPublicationId(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findExternalPublications(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==t)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==s)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==a)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("yearSince",t)),null!=s&&(d=d.set("yearTill",s)),null!=a&&(d=d.set("pubSysNamespace",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}findNewAuthors(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findPublicationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findPublicationsByFilter(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let c=new D.LE({encoder:this.encoder});null!=t&&(c=c.set("yearSince",t)),null!=s&&(c=c.set("yearTill",s)),null!=e&&(c=c.set("userId",e));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findPublicationsByGUIFilter(e,t,s,a,r,c,d,h,g,I="body",W=!1){let ce=new D.LE({encoder:this.encoder});null!=e&&(ce=ce.set("title",e)),null!=t&&(ce=ce.set("isbn",t)),null!=s&&(ce=ce.set("doi",s)),null!=a&&(ce=ce.set("id",a)),null!=r&&(ce=ce.set("year",r)),null!=c&&(ce=ce.set("category",c)),null!=d&&(ce=ce.set("yearSince",d)),null!=h&&(ce=ce.set("yearTill",h)),null!=g&&(ce=ce.set("userId",g));let be=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(be=be.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(be=be.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ft="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;be=be.set("Authorization","Bearer "+Ft)}const Fe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Fe&&(be=be.set("Accept",Fe)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:ce,withCredentials:this.configuration.withCredentials,headers:be,observe:I,reportProgress:W})}findSimilarPublications(e,t,s,a="body",r=!1){let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("title",e)),null!=t&&(c=c.set("doi",t)),null!=s&&(c=c.set("isbn",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getCategories(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPublicationSystems(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getRank(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRank.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichThanksByPublicationId(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}lockPublications(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateCategory(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updatePublication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updatePublicationSystem(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),wi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}changeConsentStatus(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter consent was null or undefined when calling changeConsentStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling changeConsentStatus.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("consent",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/changeConsentStatus`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllConsentHubs(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsentHubs`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllConsents(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsents`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getConsentById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getConsentById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getConsentForUserAndConsentHub(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentForUserAndConsentHub.");if(null==t)throw new Error("Required parameter consentHub was null or undefined when calling getConsentForUserAndConsentHub.");if(null==s)throw new Error("Required parameter status was null or undefined when calling getConsentForUserAndConsentHub.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("consentHub",t)),null!=s&&(c=c.set("status",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentForUserAndConsentHub`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getConsentHubByFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getConsentHubByFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getConsentHubById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getConsentHubById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getConsentHubByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getConsentHubByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getConsentsForConsentHub(e,t="body",s=!1){if(null==e)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHub.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("consentHub",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getConsentsForConsentHubWithStatus(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHubWithStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getConsentsForConsentHubWithStatus.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("consentHub",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id-s`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getConsentsForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getConsentsForUserAndConsentHub(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserAndConsentHub.");if(null==t)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForUserAndConsentHub.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("consentHub",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUserAndConsentHub`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getConsentsForUserWithStatus(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserWithStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getConsentsForUserWithStatus.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id-s`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateConsentHub(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateConsentHub was null or undefined when calling updateConsentHub.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/consentsManager/updateConsentHub`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),an=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}getCurrentDatabaseVersion(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getDatabaseDriverInformation(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getDatabaseInformation(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getTimeOfQueryPerformance(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Yi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}addExtSourceWithGroupSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addExtSourceWithVoSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createExtSourceFromExtSourceObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createExtSourceWithNameType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==t)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getExtSourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getExtSourceByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getExtSources(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getGroupExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}loadExtSourcesDefinitions(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeExtSourceWithGroupSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeExtSourceWithVoSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Lt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}addFacilityAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityAdminGroupByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityAdminUserByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwnerByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwnerByFacilityNameOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwnerByOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHost(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("hostname",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHostByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("hostname",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHosts(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hostnames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHostsByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hostnames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignSecurityTeam(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignSecurityTeamByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributesByDestinationName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributesBySourceDestinationNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributesBySourceName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagersByDestinationName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagersBySourceDestinationNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagersBySourceName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwners(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwnersByDestinationName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwnersBySourceDestinationNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwnersBySourceName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("description",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteFacilityByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllFacilities(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllowedGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedGroupsByFacilityName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedRichGroupsWithAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(W=>{d=d.append("attrNames[]",W)}),null!=s&&(d=d.set("vo",s)),null!=a&&(d=d.set("service",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllowedRichGroupsWithAttributesByFacilityName(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(W=>{d=d.append("attrNames[]",W)}),null!=s&&(d=d.set("vo",s)),null!=a&&(d=d.set("service",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllowedUsersOfFacility(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedUsersOfFacilityByFacilityName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedVos(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedVosByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesByAssignedServiceForFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedResourcesForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesForFacilityByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForFacilityByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedSecurityTeams(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedSecurityTeamsByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedUsers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedUsersByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getBansForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facilityId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEnrichedFacilities(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getEnrichedHosts(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilitiesByAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeName",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilitiesByDestination(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilitiesByHostName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilitiesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilitiesCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFacilitiesWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAdminGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAdminUsers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAdminUsersByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityBan(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityForHost(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityOwners(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityOwnersByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getHostById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHosts(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsByHostname(e,t="body",s=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsCountByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getOwnerFacilities(e,t="body",s=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichFacilities(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeBanByUserIdFacilityId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminGroupByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminUserByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeFacilityOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityOwnerByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityOwnerByFacilityNameOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityOwnerByOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHost(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHost.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeHostByHostname(e,t="body",s=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeHosts(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hosts[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHostsByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hosts[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSecurityTeam(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSecurityTeamByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setFacilityBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFacilityBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}getFacilityAdminGroupsByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ai=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}addMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling addMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling addMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}canExtendMembershipInGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupUnion(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupWithParentGroupNameDescription(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("parentGroup",e)),null!=t&&(c=c.set("name",t)),null!=s&&(c=c.set("description",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}createGroupWithVoNameDescription(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("name",t)),null!=s&&(c=c.set("description",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}deleteGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}extendMembershipInGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}forceAllSubGroupsSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceGroupStructureSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceGroupSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllGroupsFromAllVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllMemberGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichGroupsWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichSubGroupsWithGroupAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==t)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("name",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMemberById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==t)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCountsByGroupStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCountsByVoStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupRichMembersByIds(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==t)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(I=>{c=c.append("members[]",I)}),s&&s.forEach(I=>{c=c.append("attrNames[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupUnions(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==t)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("reverseDirection",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getIndirectMembershipPaths(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberRichGroupsWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichGroupByIdWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("groupId",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSubgroupsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}isGroupMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==t)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}moveGroupWithDestinationGroupMovingGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("destinationGroup",t)),null!=e&&(r=r.set("movingGroup",e));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupUnion(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setGroupsMemberStatus(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==t)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==s)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("status",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}updateGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ze=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}getGroupMemberData(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/integrationManager/getGroupMemberData`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ct=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}canExtendMembership(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createMemberForCandidate(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createMemberForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createMemberFromExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSpecificMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMembersFromCSV(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("members[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}extendMembership(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findCompleteRichMembersByAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(I=>{c=c.append("attrsNames[]",I)}),null!=t&&(c=c.set("searchString",t)),s&&s.forEach(I=>{c=c.append("allowedStatuses[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findCompleteRichMembersForGroup(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==a)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("group",e)),t&&t.forEach(be=>{g=g.append("attrsNames[]",be)}),r&&r.forEach(be=>{g=g.append("allowedStatuses[]",be)}),c&&c.forEach(be=>{g=g.append("allowedGroupStatuses[]",be)}),null!=s&&(g=g.set("searchString",s)),null!=a&&(g=g.set("lookingInParentGroup",a));let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+be)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}findCompleteRichMembersForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(W=>{d=d.append("attrsNames[]",W)}),a&&a.forEach(W=>{d=d.append("allowedStatuses[]",W)}),null!=s&&(d=d.set("searchString",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}findMembersInVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("searchString",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findSponsoredCompleteRichMembersForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==a)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(W=>{d=d.append("attrsNames[]",W)}),null!=s&&(d=d.set("searchString",s)),null!=a&&(d=d.set("onlySponsored",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllMembers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllNamespacesRules(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllSponsoredMembersAndTheirSponsors(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getCompleteRichMembersForGroup(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),s&&s.forEach(ce=>{h=h.append("allowedStatuses[]",ce)}),a&&a.forEach(ce=>{h=h.append("allowedGroupStatuses[]",ce)}),null!=t&&(h=h.set("lookingInParentGroup",t)),r&&r.forEach(ce=>{h=h.append("attrsNames[]",ce)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getCompleteRichMembersForGroupResource(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==s)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==a)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach(W=>{d=d.append("attrsNames[]",W)}),a&&a.forEach(W=>{d=d.append("allowedStatuses[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getCompleteRichMembersForVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),t&&t.forEach(I=>{c=c.append("allowedStatuses[]",I)}),s&&s.forEach(I=>{c=c.append("attrsNames[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberByExtSourceNameAndExtLogin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==s)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("extLogin",t)),null!=s&&(c=c.set("extSourceName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberByUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getMembersWithStatusCount(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichMemberWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichMembersByIds(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("ids[]",g)}),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichMembersNoUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichMembersNoUserAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersNoUserAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsoredMembersAndTheirSponsors(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=s&&(d=d.set("extLogin",s)),a&&a.forEach(W=>{d=d.append("attrNames[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}moveMembership(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==t)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==s)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("sourceUser",t)),null!=s&&(c=c.set("targetUser",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeSponsor(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("sponsor",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendAccountActivationLinkEmail(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("namespace",t)),null!=s&&(d=d.set("emailAttributeURN",s)),null!=a&&(d=d.set("language",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendPasswordResetLinkEmail(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("member",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("emailAttributeURN",s)),null!=a&&(h=h.set("language",a)),null!=r&&(h=h.set("baseUrl",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}setSponsoredMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setSponsorshipForMember(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("sponsoredMember",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}setStatus(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling setStatus.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sponsorMember(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}updateSponsorshipValidity(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}validateMemberAsync(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Gt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}createOwner(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("owner",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllOwners(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getOwnerById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getOwnerByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ji=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}sentMessageToRTWithMemberQueue(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("memberId",e)),null!=t&&(d=d.set("queue",t)),null!=s&&(d=d.set("subject",s)),null!=a&&(d=d.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sentMessageToRTWithQueue(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("queue",e)),null!=t&&(c=c.set("subject",t)),null!=s&&(c=c.set("text",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sentMessageToRTWithVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("voId",e)),null!=t&&(c=c.set("subject",t)),null!=s&&(c=c.set("text",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sentMessageToRTWithVoQueue(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("voId",e)),null!=t&&(d=d.set("queue",t)),null!=s&&(d=d.set("subject",s)),null!=a&&(d=d.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Kt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}addApplicationMailForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addApplicationMailForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addGroupsToAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}approveApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}checkForSimilarUsersWithAuthInfo(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}consolidateIdentityUsingToken(e,t="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}copyFormFromGroupToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromGroupToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createApplicationFormInGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createApplicationFormInVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteApplicationMailForGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("id",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteApplicationMailForVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("id",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroupsFromAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationDataById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationMailsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationMailsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationsForGroup(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),t&&t.forEach(W=>{d=d.append("state[]",W)}),null!=s&&(d=d.set("dateFrom",s)),null!=a&&(d=d.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsForMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getApplicationsForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(W=>{d=d.append("state[]",W)}),null!=s&&(d=d.set("dateFrom",s)),null!=a&&(d=d.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getConsolidatorToken(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFormItemsForGroupWithType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFormItemsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFormItemsForVoWithType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupApplicationForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsToAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoApplicationForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}rejectApplication(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),null!=t&&(r=r.set("reason",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendInvitation(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let d=new D.LE({encoder:this.encoder});null!=s&&(d=d.set("voId",s)),null!=a&&(d=d.set("name",a)),null!=e&&(d=d.set("email",e)),null!=t&&(d=d.set("language",t));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendInvitationForGroup(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let h=new D.LE({encoder:this.encoder});null!=s&&(h=h.set("voId",s)),null!=a&&(h=h.set("groupId",a)),null!=r&&(h=h.set("name",r)),null!=e&&(h=h.set("email",e)),null!=t&&(h=h.set("language",t));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}sendInvitationGroupToExistingUser(e,t,s,a="body",r=!1){let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("userId",e)),null!=t&&(c=c.set("voId",t)),null!=s&&(c=c.set("groupId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sendInvitationToExistingUser(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userId",e)),null!=t&&(r=r.set("voId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendMessage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setSendingEnabled(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}submitApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateApplicationMail(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemData(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsData(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}verifyApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}activateGroupResourceAssignment(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("async",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}addAdminToGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addAdminToUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}allowGroupsToResources(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(I=>{c=c.append("groups[]",I)}),t&&t.forEach(I=>{c=c.append("resources[]",I)}),null!=s&&(c=c.set("async",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}assignGroupToResource(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignGroupToResources(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),t&&t.forEach(ce=>{h=h.append("resources[]",ce)}),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignGroupsToResource(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let h=new D.LE({encoder:this.encoder});e&&e.forEach(ce=>{h=h.append("groups[]",ce)}),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignResourceTagToResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}assignService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling assignService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling assignServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createResource(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==s)throw new Error("Required parameter name was null or undefined when calling createResource.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("facility",t)),null!=s&&(d=d.set("name",s)),null!=a&&(d=d.set("description",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createResourceTagWithResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createResourceTagWithTagName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("tagName",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deactivateGroupResourceAssignment(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteAllResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteAllResourcesTagsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAdminGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAdmins(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllResourcesByResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAllResourcesTagsForResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesTagsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedUsersOfResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedGroups(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedMembersWithStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithMemberService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedServicesToResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEnrichedResourceById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupAssignments(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAssignments(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBan(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==s)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("name",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesCountForAll(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getResourcesCountForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesFromVoWhereUserIsAdmin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourcesWhereGroupIsAdmin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("group",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResourcesWhereUserIsAdmin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("user",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRichAdmins(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==t)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==s)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==a)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),t&&t.forEach(W=>{d=d.append("specificAttributes",W)}),null!=s&&(d=d.set("allUserAttributes",s)),null!=a&&(d=d.set("onlyDirectAdmins",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRichResourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichResourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeAllResourceTagsFromResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeBanByMemberAndResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAdminResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResources(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupsFromResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeResourceSelfServiceGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceSelfServiceUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceTagFromResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}removeService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling removeServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAdminResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setResourceBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unallowGroupsFromResources(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),t&&t.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateResourceBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),es=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}getAttributesMatchResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetResources1 was null or undefined when calling getAttributesMatchResources.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getResources/attributes-match`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAttributesResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetResources was null or undefined when calling getAttributesResources.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getResources/attributes`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getFacilities(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetFacilities was null or undefined when calling getFacilities.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getFacilities`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getMembersByUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetMembersByUserAttributes was null or undefined when calling getMembersByUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getMembersByUserAttributes`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getUsersSearcher(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetUsers was null or undefined when calling getUsersSearcher.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/Searcher/getUsers`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ei=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}addDestination(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==s)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==a)throw new Error("Required parameter type was null or undefined when calling addDestination.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("facility",t)),null!=s&&(h=h.set("destination",s)),null!=a&&(h=h.set("type",a)),null!=r&&(h=h.set("propagationType",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}addDestinationToMultipleServices(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addDestinationsDefinedByHostsOnFacilityWithFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addDestinationsForAllServicesOnFacility(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==s)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("destination",t)),null!=s&&(d=d.set("type",s)),null!=a&&(d=d.set("propagationType",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}addRequiredAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addRequiredAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addServiceToServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("servicesPackage",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}blockAllServicesOnDestinationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}blockAllServicesOnDestinationByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("destination",e)),null!=t&&(r=r.set("destinationType",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}blockAllServicesOnFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}blockServiceOnDestination(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}blockServiceOnDestinationWithNameAndType(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==s)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("destination",t)),null!=s&&(c=c.set("destinationType",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}blockServiceOnFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createService(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==s)throw new Error("Required parameter script was null or undefined when calling createService.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("name",e)),null!=t&&(c=c.set("description",t)),null!=s&&(c=c.set("script",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}createServiceWithService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createServicesPackageByNameAndDescription(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("description",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling deleteService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceServicePropagation(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllDestinations(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllRichDestinationsForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichDestinationsForService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedServices(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getDataWithGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getDataWithVos(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getDestinationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getDestinations(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getDestinationsCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFacilitiesDestinations(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAssignedServicesForGUI(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFlatData(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getHashedDataWithGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getHashedHierarchicalData(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getHierarchicalData(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRichDestinations(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getServiceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServiceByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServices(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getServicesBlockedOnDestination(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesBlockedOnFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesByAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesFromServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesPackageById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesPackageByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesPackages(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}isServiceBlockedOnDestination(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}isServiceBlockedOnFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}planServicePropagation(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAllDestinations(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAllRequiredAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeDestination(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==s)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==a)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("facility",t)),null!=s&&(d=d.set("destination",s)),null!=a&&(d=d.set("type",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeRequiredAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeRequiredAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServiceFromServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("servicesPackage",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}unblockAllServicesOnDestinationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}unblockAllServicesOnDestinationByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("destination",e)),null!=t&&(r=r.set("destinationType",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}unblockAllServicesOnFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}unblockServiceOnDestinationById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}unblockServiceOnDestinationByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==s)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("destination",t)),null!=s&&(c=c.set("destinationType",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}unblockServiceOnFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Rs=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}countTasks(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}deleteTask(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteTaskResultById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteTaskResultsIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteTaskResultsNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAllFacilitiesStates(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesState(e,t="body",s=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("voId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityServicesState(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityState(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTask(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getTask.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getTaskById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("taskResult",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResults(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getTaskResultsByTask(e,t="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("task",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultsForDestinations(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("destinations[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultsForGUIByTask(e,t="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("task",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultsForGUIByTaskAndDestination(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("task",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getTaskResultsForGUIByTaskOnlyNewest(e,t="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("task",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isThereSuchTask(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}listAllTasks(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}listAllTasksForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}suspendTasksPropagation(e,t="body",s=!1){if(null==e)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("suspend",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gs=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}addSpecificUserOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addUserExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}anonymizeUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}changeNonAuthzPasswordByToken(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==t)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("token",e)),null!=t&&(c=c.set("password",t)),null!=s&&(c=c.set("lang",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}changePasswordForLogin(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("login",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}changePasswordForUser(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("user",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}checkPasswordResetRequestByTokenIsValid(e,t="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}checkPasswordStrength(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("password",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createAlternativePassword(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==s)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==a)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("description",t)),null!=s&&(d=d.set("loginNamespace",s)),null!=a&&(d=d.set("password",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createServiceUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAlternativePassword(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==s)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("loginNamespace",t)),null!=s&&(c=c.set("passwordId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}deletePasswordForLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deletePasswordForUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findRichUsers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findRichUsersWithAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("searchString",e)),t&&t.forEach(g=>{r=r.append("attrsNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findUsers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}generateAccountForName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("namespace",e)),null!=t&&(r=r.set("name",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichUsersWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("includedSpecificUsers",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsForFacilityWhereUserIsActive(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsForResourceWhereUserIsActive(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsInVoWhereUserIsAdmin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getPendingPreferredEmailChanges(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUserExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUserWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersWithAttributesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersWithoutVoWithAttributes(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrsNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSpecificUsersByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsorsForMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsForMemberByVoAndLogin(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=s&&(d=d.set("extLogin",s)),a&&a.forEach(W=>{d=d.append("attrNames[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserByExtSourceNameAndExtLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("extLogin",e)),null!=t&&(r=r.set("extSourceName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceByExtLoginAndExtSourceName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");if(null==t)throw new Error("Required parameter extSourceLogin was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("extSourceName",e)),null!=t&&(r=r.set("extSourceLogin",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByExtLoginAndExtSourceName`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeId",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeName",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getUsersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsersBySpecificUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsersPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getVosWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosWhereUserIsMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isLoginAvailable(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==t)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("loginNamespace",e)),null!=t&&(r=r.set("login",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}loginExist(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSpecificUserOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSource(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("userExtSource",t)),null!=s&&(c=c.set("force",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}requestPreferredEmailChange(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==t)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("user",e)),null!=t&&(g=g.set("email",t)),null!=s&&(g=g.set("lang",s)),null!=a&&(g=g.set("linkPath",a)),null!=r&&(g=g.set("customUrl",r)),null!=c&&(g=g.set("idpFilter",c));let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+be)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}reservePasswordForLogin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("login",e)),null!=t&&(c=c.set("namespace",t)),null!=s&&(c=c.set("password",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}reservePasswordForUser(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("namespace",t)),null!=s&&(c=c.set("password",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}reserveRandomPassword(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateUserExtSourceLastAccess(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling updateUserExtSourceLastAccess.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/updateUserExtSourceLastAccess`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}validatePasswordForLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePasswordForUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePreferredEmailChangeWithToken(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==t)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("token",e)),null!=t&&(r=r.set("u",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),pt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}getAppsConfig(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),lr=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Le}addMemberVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addMemberVo.");if(null==t)throw new Error("Required parameter memberVo was null or undefined when calling addMemberVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("memberVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addMemberVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addSponsorRoleToGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addSponsorRoleToUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==t)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("shortName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findCandidates(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("id",e)),null!=t&&(c=c.set("searchString",t)),null!=s&&(c=c.set("maxNumOfResults",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findCandidatesForGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("searchString",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getCompleteCandidatesForGroup(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(I=>{c=c.append("attrNames[]",I)}),null!=s&&(c=c.set("searchString",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getCompleteCandidatesForVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),t&&t.forEach(I=>{c=c.append("attrNames[]",I)}),null!=s&&(c=c.set("searchString",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getEnrichedVoById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedVoById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVoById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberVos(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberVos.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getMemberVos`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMyEnrichedVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getMyVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getParentVos(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getParentVos.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getParentVos`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichAdminsForVo(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==a)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("vo",e)),null!=t&&(h=h.set("role",t)),s&&s.forEach(ce=>{h=h.append("specificAttributes",ce)}),null!=a&&(h=h.set("allUserAttributes",a)),null!=r&&(h=h.set("onlyDirectAdmins",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getVoAdminGroups(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("role",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAdminUsers(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("role",t)),null!=s&&(c=c.set("onlyDirectAdmins",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getVoBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoBanForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoBansForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoByShortName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("shortName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoMembersCountsByStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeMemberVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeMemberVo.");if(null==t)throw new Error("Required parameter memberVo was null or undefined when calling removeMemberVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("memberVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeMemberVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSponsorRoleFromGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSponsorRoleFromUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeVoBanForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}setVoBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(li,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Xd=(()=>{class n{constructor(e,t){if(e)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!t)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(e){return{ngModule:n,providers:[{provide:qe,useFactory:e}]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12),i.LFG(D.eN,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Vn,ut,Pi,ai,wi,an,Yi,Lt,fn,Ai,ze,Ct,Gt,Ji,Kt,gi,es,ei,Rs,gs,pt,lr],imports:[[]]}),n})();var Tt=(()=>{return(n=Tt||(Tt={})).PERUNADMIN="PERUNADMIN",n.PERUNOBSERVER="PERUNOBSERVER",n.VOADMIN="VOADMIN",n.GROUPADMIN="GROUPADMIN",n.SELF="SELF",n.FACILITYADMIN="FACILITYADMIN",n.FACILITIYOBSERVER="FACILITYOBSERVER",n.RESOURCEADMIN="RESOURCEADMIN",n.RESOURCESELFSERVICE="RESOURCESELFSERVICE",n.REGISTRAR="REGISTRAR",n.ENGINE="ENGINE",n.RPC="RPC",n.NOTIFICATIONS="NOTIFICATIONS",n.SERVICEUSER="SERVICEUSER",n.SPONSOR="SPONSOR",n.VOOBSERVER="VOOBSERVER",n.TOPGROUPCREATOR="TOPGROUPCREATOR",n.SECURITYADMIN="SECURITYADMIN",n.CABINETADMIN="CABINETADMIN",n.UNKNOWNROLENAME="UNKNOWNROLENAME",Tt;var n})();let eo=(()=>{class n{constructor(e){this.authzSevice=e,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(e){this.principal=e,this.initData(e)}setPerunPolicies(e){this.perunPolicies=e}getPerunPolicies(){return this.perunPolicies}isAuthorized(e,t){if(null===this.principal.roles)return!1;const s=this.fetchPolicyWithAllIncludedPolicies(e);let a=[];for(const c of s)a=a.concat(c.perunRoles);const r=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(a,r)}resolveAuthorization(e,t){for(const s of e){let a=!0;for(const r of Object.keys(s)){const c=s[r];if(null===c)this.principalRoles.has(r)||(a=!1);else if(t[c]){for(const d of t[c])if(!this.principalHasRole(r,c,d)){a=!1;break}}else a=!1;if(!a)break}if(a)return!0}return!1}fetchAllRelatedObjects(e){const t={};for(const s of e){let a=s.beanName;switch(s.beanName.startsWith("Rich")&&(a=s.beanName.substring(4)),t[a]?t[a].push(s.id):t[a]=[s.id],a){case"Member":t.User?t.User.push(s.userId):t.User=[s.userId],t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId];break;case"Group":case"ResourceTag":t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId];break;case"Resource":t.Facility?t.Facility.push(s.facilityId):t.Facility=[s.facilityId],t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId]}}return t}principalHasRole(e,t,s){let a=t;return t.startsWith("Rich")&&(a=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][a])&&this.principal.roles[e][a].includes(Number(s.toString()))}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let s=[];for(s.push(e);0!==s.length;){const r=s.shift();if(t.has(r)){console.log("Policy {} creates a cycle in the included policies of the policy {}",r,e);continue}const c=this.getPerunPolicy(r);if(!c)return[];t.set(r,c),s=s.concat(c.includePolicies)}const a=[];for(const r of t.values())a.push(r);return a}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return console.log("policy with name"+e+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER,Tt.FACILITYADMIN,Tt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(Tt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(Tt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(Tt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(Tt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(Tt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(Tt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.VOOBSERVER,Tt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER)||this.observableVos.includes(e)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((e,t)=>{this.authzSevice.getAllRolesManagementRules().subscribe(s=>{this.allRolesManagementRules=s,e()},s=>t(s))})}assignAvailableRoles(e,t){this.allRolesManagementRules.forEach(s=>{s.primaryObject===t&&e.push(s.roleName)}),e.sort(),"Vo"===t&&this.voCustomSort(e)}isManagerPagePrivileged(e){const t=[];let s=e.beanName;s.startsWith("Rich")&&(s=s.substr(4)),this.assignAvailableRoles(t,s);const a=new Map;this.getRolesAuthorization(t,e,a);for(const r of a.values())if(r.readAuth||r.manageAuth)return!0;return!1}getRolesAuthorization(e,t,s){for(const a of e){let r=[],c=[],d=[];for(const W of this.allRolesManagementRules)if(W.roleName===a){r=r.concat(W.privilegedRolesToRead),c=c.concat(W.privilegedRolesToManage);for(const ce of Object.keys(W.entitiesToManage))d="User"===ce?[ce].concat(d):d.concat(ce);break}const h=this.fetchAllRelatedObjects([t]),g=this.resolveAuthorization(r,h),I=this.resolveAuthorization(c,h);s.set(a,{readAuth:g,manageAuth:I,modes:d})}}voCustomSort(e){for(let t=0;t{let e;try{e=n()}catch(s){return void o.error(s)}return(e?(0,pn.D)(e):(0,Ls.c)()).subscribe(o)})}var Au=w(1762),nt=w(4850),Gi=w(7545),jt=w(2986),Gr=w(2866);function Ut(...n){const o=n[n.length-1];return(0,Gr.K)(o)?(n.pop(),e=>Lo(n,e,o)):e=>Lo(n,e)}var is=w(3489);function ja(n,o){let e=!1;return arguments.length>=2&&(e=!0),function(s){return s.lift(new Kr(n,o,e))}}class Kr{constructor(o,e,t=!1){this.accumulator=o,this.seed=e,this.hasSeed=t}call(o,e){return e.subscribe(new vu(o,this.accumulator,this.seed,this.hasSeed))}}class vu extends is.L{constructor(o,e,t,s){super(o),this.accumulator=e,this._seed=t,this.hasSeed=s,this.index=0}get seed(){return this._seed}set seed(o){this.hasSeed=!0,this._seed=o}_next(o){if(this.hasSeed)return this._tryNext(o);this.seed=o,this.destination.next(o)}_tryNext(o){const e=this.index++;let t;try{t=this.accumulator(this.seed,o,e)}catch(s){this.destination.error(s)}this.seed=t,this.destination.next(t)}}var ui=w(7221),to=w(1406),th=w(4231);function hr(n){return function(e){return 0===n?(0,Ls.c)():e.lift(new di(n))}}class di{constructor(o){if(this.total=o,this.total<0)throw new th.W}call(o,e){return e.subscribe(new fr(o,this.total))}}class fr extends is.L{constructor(o,e){super(o),this.total=e,this.ring=new Array,this.count=0}_next(o){const e=this.ring,t=this.total,s=this.count++;e.length0){const t=this.count>=this.total?this.total:this.count,s=this.ring;for(let a=0;ao.lift(new pe(n))}class pe{constructor(o){this.callback=o}call(o,e){return e.subscribe(new Ae(o,this.callback))}}class Ae extends is.L{constructor(o,e){super(o),this.add(new q.w(e))}}class Ve{constructor(o,e){this.id=o,this.url=e}}class Zt extends Ve{constructor(o,e,t="imperative",s=null){super(o,e),this.navigationTrigger=t,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class It extends Ve{constructor(o,e,t){super(o,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class bt extends Ve{constructor(o,e,t){super(o,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ot extends Ve{constructor(o,e,t){super(o,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ji extends Ve{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hi extends Ve{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mi extends Ve{constructor(o,e,t,s,a){super(o,e),this.urlAfterRedirects=t,this.state=s,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class no extends Ve{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ms extends Ve{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class et{constructor(o){this.route=o}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Io{constructor(o){this.route=o}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Zc{constructor(o){this.snapshot=o}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ua{constructor(o){this.snapshot=o}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Va{constructor(o){this.snapshot=o}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ih{constructor(o){this.snapshot=o}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pr{constructor(o,e,t){this.routerEvent=o,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Rt="primary";class Te{constructor(o){this.params=o||{}}has(o){return Object.prototype.hasOwnProperty.call(this.params,o)}get(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e[0]:e}return null}getAll(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Et(n){return new Te(n)}const qa="ngNavigationCancelingError";function Li(n){const o=Error("NavigationCancelingError: "+n);return o[qa]=!0,o}function Ga(n,o,e){const t=e.path.split("/");if(t.length>n.length||"full"===e.pathMatch&&(o.hasChildren()||t.lengtht[a]===s)}return n===o}function sh(n){return Array.prototype.concat.apply([],n)}function ci(n){return n.length>0?n[n.length-1]:null}function Ui(n,o){for(const e in n)n.hasOwnProperty(e)&&o(n[e],e)}function fi(n){return(0,i.CqO)(n)?n:(0,i.QGY)(n)?(0,pn.D)(Promise.resolve(n)):(0,Ye.of)(n)}const oh={exact:function Tu(n,o,e){if(!ns(n.segments,o.segments)||!Oo(n.segments,o.segments,e)||n.numberOfChildren!==o.numberOfChildren)return!1;for(const t in o.children)if(!n.children[t]||!Tu(n.children[t],o.children[t],e))return!1;return!0},subset:Ka},gr={exact:function up(n,o){return Zn(n,o)},subset:function dp(n,o){return Object.keys(o).length<=Object.keys(n).length&&Object.keys(o).every(e=>$c(n[e],o[e]))},ignored:()=>!0};function In(n,o,e){return oh[e.paths](n.root,o.root,e.matrixParams)&&gr[e.queryParams](n.queryParams,o.queryParams)&&!("exact"===e.fragment&&n.fragment!==o.fragment)}function Ka(n,o,e){return mr(n,o,o.segments,e)}function mr(n,o,e,t){if(n.segments.length>e.length){const s=n.segments.slice(0,e.length);return!(!ns(s,e)||o.hasChildren()||!Oo(s,e,t))}if(n.segments.length===e.length){if(!ns(n.segments,e)||!Oo(n.segments,e,t))return!1;for(const s in o.children)if(!n.children[s]||!Ka(n.children[s],o.children[s],t))return!1;return!0}{const s=e.slice(0,n.segments.length),a=e.slice(n.segments.length);return!!(ns(n.segments,s)&&Oo(n.segments,s,t)&&n.children[Rt])&&mr(n.children[Rt],o,a,t)}}function Oo(n,o,e){return o.every((t,s)=>gr[e](n[s].parameters,t.parameters))}class Ho{constructor(o,e,t){this.root=o,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Et(this.queryParams)),this._queryParamMap}toString(){return rh.serialize(this)}}class Dt{constructor(o,e){this.segments=o,this.children=e,this.parent=null,Ui(e,(t,s)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return _r(this)}}class Za{constructor(o,e){this.path=o,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Et(this.parameters)),this._parameterMap}toString(){return Eu(this)}}function ns(n,o){return n.length===o.length&&n.every((e,t)=>e.path===o[t].path)}class Mu{}class Su{parse(o){const e=new fp(o);return new Ho(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(o){const e=`/${$a(o.root,!0)}`,t=function _s(n){const o=Object.keys(n).map(e=>{const t=n[e];return Array.isArray(t)?t.map(s=>`${en(e)}=${en(s)}`).join("&"):`${en(e)}=${en(t)}`}).filter(e=>!!e);return o.length?`?${o.join("&")}`:""}(o.queryParams);return`${e}${t}${"string"==typeof o.fragment?`#${function Fo(n){return encodeURI(n)}(o.fragment)}`:""}`}}const rh=new Su;function _r(n){return n.segments.map(o=>Eu(o)).join("/")}function $a(n,o){if(!n.hasChildren())return _r(n);if(o){const e=n.children[Rt]?$a(n.children[Rt],!1):"",t=[];return Ui(n.children,(s,a)=>{a!==Rt&&t.push(`${a}:${$a(s,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function Jc(n,o){let e=[];return Ui(n.children,(t,s)=>{s===Rt&&(e=e.concat(o(t,s)))}),Ui(n.children,(t,s)=>{s!==Rt&&(e=e.concat(o(t,s)))}),e}(n,(t,s)=>s===Rt?[$a(n.children[Rt],!1)]:[`${s}:${$a(t,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Rt]?`${_r(n)}/${e[0]}`:`${_r(n)}/(${e.join("//")})`}}function ah(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function en(n){return ah(n).replace(/%3B/gi,";")}function _i(n){return ah(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Wa(n){return decodeURIComponent(n)}function ku(n){return Wa(n.replace(/\+/g,"%20"))}function Eu(n){return`${_i(n.path)}${function hp(n){return Object.keys(n).map(o=>`;${_i(o)}=${_i(n[o])}`).join("")}(n.parameters)}`}const yr=/^[^\/()?;=#]+/;function zo(n){const o=n.match(yr);return o?o[0]:""}const Qc=/^[^=?&#]+/,Xc=/^[^&#]+/;class fp{constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Dt([],{}):new Dt([],this.parseChildren())}parseQueryParams(){const o={};if(this.consumeOptional("?"))do{this.parseQueryParam(o)}while(this.consumeOptional("&"));return o}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const o=[];for(this.peekStartsWith("(")||o.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),o.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(o.length>0||Object.keys(e).length>0)&&(t[Rt]=new Dt(o,e)),t}parseSegment(){const o=zo(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(o),new Za(Wa(o),this.parseMatrixParams())}parseMatrixParams(){const o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){const e=zo(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const s=zo(this.remaining);s&&(t=s,this.capture(t))}o[Wa(e)]=Wa(t)}parseQueryParam(o){const e=function Ja(n){const o=n.match(Qc);return o?o[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const r=function ch(n){const o=n.match(Xc);return o?o[0]:""}(this.remaining);r&&(t=r,this.capture(t))}const s=ku(e),a=ku(t);if(o.hasOwnProperty(s)){let r=o[s];Array.isArray(r)||(r=[r],o[s]=r),r.push(a)}else o[s]=a}parseParens(o){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=zo(this.remaining),s=this.remaining[t.length];if("/"!==s&&")"!==s&&";"!==s)throw new Error(`Cannot parse url '${this.url}'`);let a;t.indexOf(":")>-1?(a=t.substr(0,t.indexOf(":")),this.capture(a),this.capture(":")):o&&(a=Rt);const r=this.parseChildren();e[a]=1===Object.keys(r).length?r[Rt]:new Dt([],r),this.consumeOptional("//")}return e}peekStartsWith(o){return this.remaining.startsWith(o)}consumeOptional(o){return!!this.peekStartsWith(o)&&(this.remaining=this.remaining.substring(o.length),!0)}capture(o){if(!this.consumeOptional(o))throw new Error(`Expected "${o}".`)}}class Os{constructor(o){this._root=o}get root(){return this._root.value}parent(o){const e=this.pathFromRoot(o);return e.length>1?e[e.length-2]:null}children(o){const e=br(o,this._root);return e?e.children.map(t=>t.value):[]}firstChild(o){const e=br(o,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(o){const e=Du(o,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==o)}pathFromRoot(o){return Du(o,this._root).map(e=>e.value)}}function br(n,o){if(n===o.value)return o;for(const e of o.children){const t=br(n,e);if(t)return t}return null}function Du(n,o){if(n===o.value)return[o];for(const e of o.children){const t=Du(n,e);if(t.length)return t.unshift(o),t}return[]}class oo{constructor(o,e){this.value=o,this.children=e}toString(){return`TreeNode(${this.value})`}}function Hs(n){const o={};return n&&n.children.forEach(e=>o[e.value.outlet]=e),o}class el extends Os{constructor(o,e){super(o),this.snapshot=e,$r(this,o)}toString(){return this.snapshot.toString()}}function lh(n,o){const e=function pp(n,o){const r=new Qa([],{},{},"",{},Rt,o,null,n.root,-1,{});return new il("",new oo(r,[]))}(n,o),t=new Qi([new Za("",{})]),s=new Qi({}),a=new Qi({}),r=new Qi({}),c=new Qi(""),d=new ys(t,s,r,c,a,Rt,o,e.root);return d.snapshot=e.root,new el(new oo(d,[]),e)}class ys{constructor(o,e,t,s,a,r,c,d){this.url=o,this.params=e,this.queryParams=t,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this._futureSnapshot=d}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,nt.U)(o=>Et(o)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,nt.U)(o=>Et(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function gp(n,o="emptyOnly"){const e=n.pathFromRoot;let t=0;if("always"!==o)for(t=e.length-1;t>=1;){const s=e[t],a=e[t-1];if(s.routeConfig&&""===s.routeConfig.path)t--;else{if(a.component)break;t--}}return function tl(n){return n.reduce((o,e)=>({params:Object.assign(Object.assign({},o.params),e.params),data:Object.assign(Object.assign({},o.data),e.data),resolve:Object.assign(Object.assign({},o.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class Qa{constructor(o,e,t,s,a,r,c,d,h,g,I){this.url=o,this.params=e,this.queryParams=t,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this.routeConfig=d,this._urlSegment=h,this._lastPathIndex=g,this._resolve=I}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Et(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Et(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class il extends Os{constructor(o,e){super(e),this.url=o,$r(this,e)}toString(){return xu(this._root)}}function $r(n,o){o.value._routerState=n,o.children.forEach(e=>$r(n,e))}function xu(n){const o=n.children.length>0?` { ${n.children.map(xu).join(", ")} } `:"";return`${n.value}${o}`}function wr(n){if(n.snapshot){const o=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Zn(o.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),o.fragment!==e.fragment&&n.fragment.next(e.fragment),Zn(o.params,e.params)||n.params.next(e.params),function Is(n,o){if(n.length!==o.length)return!1;for(let e=0;eZn(e.parameters,o[t].parameters))}(n.url,o.url);return e&&!(!n.parent!=!o.parent)&&(!n.parent||No(n.parent,o.parent))}function Fs(n,o,e){if(e&&n.shouldReuseRoute(o.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=o.value;const s=function Ru(n,o,e){return o.children.map(t=>{for(const s of e.children)if(n.shouldReuseRoute(t.value,s.value.snapshot))return Fs(n,t,s);return Fs(n,t)})}(n,o,e);return new oo(t,s)}{if(n.shouldAttach(o.value)){const a=n.retrieve(o.value);if(null!==a){const r=a.route;return r.value._futureSnapshot=o.value,r.children=o.children.map(c=>Fs(n,c)),r}}const t=function nl(n){return new ys(new Qi(n.url),new Qi(n.params),new Qi(n.queryParams),new Qi(n.fragment),new Qi(n.data),n.outlet,n.component,n)}(o.value),s=o.children.map(a=>Fs(n,a));return new oo(t,s)}}function Xa(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Wr(n){return"object"==typeof n&&null!=n&&n.outlets}function sl(n,o,e,t,s){let a={};return t&&Ui(t,(r,c)=>{a[c]=Array.isArray(r)?r.map(d=>`${d}`):`${r}`}),new Ho(e.root===n?o:Pu(e.root,n,o),a,s)}function Pu(n,o,e){const t={};return Ui(n.children,(s,a)=>{t[a]=s===o?e:Pu(s,o,e)}),new Dt(n.segments,t)}class Ar{constructor(o,e,t){if(this.isAbsolute=o,this.numberOfDoubleDots=e,this.commands=t,o&&t.length>0&&Xa(t[0]))throw new Error("Root segment cannot have matrix parameters");const s=t.find(Wr);if(s&&s!==ci(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class zs{constructor(o,e,t){this.segmentGroup=o,this.processChildren=e,this.index=t}}function ol(n,o,e){if(n||(n=new Dt([],{})),0===n.segments.length&&n.hasChildren())return Xr(n,o,e);const t=function uh(n,o,e){let t=0,s=o;const a={match:!1,pathIndex:0,commandIndex:0};for(;s=e.length)return a;const r=n.segments[s],c=e[t];if(Wr(c))break;const d=`${c}`,h=t0&&void 0===d)break;if(d&&h&&"object"==typeof h&&void 0===h.outlets){if(!tc(d,h,r))return a;t+=2}else{if(!tc(d,{},r))return a;t++}s++}return{match:!0,pathIndex:s,commandIndex:t}}(n,o,e),s=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(s[r]=ol(n.children[r],o,a))}),Ui(n.children,(a,r)=>{void 0===t[r]&&(s[r]=a)}),new Dt(n.segments,s)}}function rl(n,o,e){const t=n.segments.slice(0,o);let s=0;for(;s{"string"==typeof e&&(e=[e]),null!==e&&(o[t]=rl(new Dt([],{}),0,e))}),o}function dh(n){const o={};return Ui(n,(e,t)=>o[t]=`${e}`),o}function tc(n,o,e){return n==e.path&&Zn(o,e.parameters)}class yp{constructor(o,e,t,s){this.routeReuseStrategy=o,this.futureState=e,this.currState=t,this.forwardEvent=s}activate(o){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,o),wr(this.futureState.root),this.activateChildRoutes(e,t,o)}deactivateChildRoutes(o,e,t){const s=Hs(e);o.children.forEach(a=>{const r=a.value.outlet;this.deactivateRoutes(a,s[r],t),delete s[r]}),Ui(s,(a,r)=>{this.deactivateRouteAndItsChildren(a,t)})}deactivateRoutes(o,e,t){const s=o.value,a=e?e.value:null;if(s===a)if(s.component){const r=t.getContext(s.outlet);r&&this.deactivateChildRoutes(o,e,r.children)}else this.deactivateChildRoutes(o,e,t);else a&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(o,e){o.value.component&&this.routeReuseStrategy.shouldDetach(o.value.snapshot)?this.detachAndStoreRouteSubtree(o,e):this.deactivateRouteAndOutlet(o,e)}detachAndStoreRouteSubtree(o,e){const t=e.getContext(o.value.outlet),s=t&&o.value.component?t.children:e,a=Hs(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);if(t&&t.outlet){const r=t.outlet.detach(),c=t.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:r,route:o,contexts:c})}}deactivateRouteAndOutlet(o,e){const t=e.getContext(o.value.outlet),s=t&&o.value.component?t.children:e,a=Hs(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(o,e,t){const s=Hs(e);o.children.forEach(a=>{this.activateRoutes(a,s[a.value.outlet],t),this.forwardEvent(new ih(a.value.snapshot))}),o.children.length&&this.forwardEvent(new Ua(o.value.snapshot))}activateRoutes(o,e,t){const s=o.value,a=e?e.value:null;if(wr(s),s===a)if(s.component){const r=t.getOrCreateContext(s.outlet);this.activateChildRoutes(o,e,r.children)}else this.activateChildRoutes(o,e,t);else if(s.component){const r=t.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const c=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),r.children.onOutletReAttached(c.contexts),r.attachRef=c.componentRef,r.route=c.route.value,r.outlet&&r.outlet.attach(c.componentRef,c.route.value),wr(c.route.value),this.activateChildRoutes(o,null,r.children)}else{const c=function hh(n){for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(s.snapshot),d=c?c.module.componentFactoryResolver:null;r.attachRef=null,r.route=s,r.resolver=d,r.outlet&&r.outlet.activateWith(s,d),this.activateChildRoutes(o,null,r.children)}}else this.activateChildRoutes(o,null,t)}}class al{constructor(o,e){this.routes=o,this.module=e}}function $n(n){return"function"==typeof n}function ro(n){return n instanceof Ho}const na=Symbol("INITIAL_VALUE");function Cr(){return(0,Gi.w)(n=>(0,qr.aj)(n.map(o=>o.pipe((0,jt.q)(1),Ut(na)))).pipe(ja((o,e)=>{let t=!1;return e.reduce((s,a,r)=>s!==na?s:(a===na&&(t=!0),t||!1!==a&&r!==e.length-1&&!ro(a)?s:a),o)},na),(0,Yt.h)(o=>o!==na),(0,nt.U)(o=>ro(o)?o:!0===o),(0,jt.q)(1)))}class sa{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new cl,this.attachRef=null}}class cl{constructor(){this.contexts=new Map}onChildOutletCreated(o,e){const t=this.getOrCreateContext(o);t.outlet=e,this.contexts.set(o,t)}onChildOutletDestroyed(o){const e=this.getContext(o);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const o=this.contexts;return this.contexts=new Map,o}onOutletReAttached(o){this.contexts=o}getOrCreateContext(o){let e=this.getContext(o);return e||(e=new sa,this.contexts.set(o,e)),e}getContext(o){return this.contexts.get(o)||null}}let ll=(()=>{class n{constructor(e,t,s,a,r){this.parentContexts=e,this.location=t,this.resolver=s,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.name=a||Rt,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const r=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),c=this.parentContexts.getOrCreateContext(this.name).children,d=new Mi(e,c,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,d),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(cl),i.Y36(i.s_b),i.Y36(i._Vd),i.$8M("name"),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),n})();class Mi{constructor(o,e,t){this.route=o,this.childContexts=e,this.parent=t}get(o,e){return o===ys?this.route:o===cl?this.childContexts:this.parent.get(o,e)}}let ul=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"router-outlet")},directives:[ll],encapsulation:2}),n})();function bp(n,o=""){for(let e=0;eOn(t)===o);return e.push(...n.filter(t=>On(t)!==o)),e}const oa={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Iu(n,o,e){var t;if(""===o.path)return"full"===o.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},oa):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const a=(o.matcher||Ga)(e,n,o);if(!a)return Object.assign({},oa);const r={};Ui(a.posParams,(d,h)=>{r[h]=d.path});const c=a.consumed.length>0?Object.assign(Object.assign({},r),a.consumed[a.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:a.consumed,lastChild:a.consumed.length,parameters:c,positionalParamSegments:null!==(t=a.posParams)&&void 0!==t?t:{}}}function Si(n,o,e,t,s="corrected"){if(e.length>0&&function Ap(n,o,e){return e.some(t=>Tn(n,o,t)&&On(t)!==Rt)}(n,e,t)){const r=new Dt(o,function nc(n,o,e,t){const s={};s[Rt]=t,t._sourceSegment=n,t._segmentIndexShift=o.length;for(const a of e)if(""===a.path&&On(a)!==Rt){const r=new Dt([],{});r._sourceSegment=n,r._segmentIndexShift=o.length,s[On(a)]=r}return s}(n,o,t,new Dt(e,n.children)));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:[]}}if(0===e.length&&function vp(n,o,e){return e.some(t=>Tn(n,o,t))}(n,e,t)){const r=new Dt(n.segments,function Ou(n,o,e,t,s,a){const r={};for(const c of t)if(Tn(n,e,c)&&!s[On(c)]){const d=new Dt([],{});d._sourceSegment=n,d._segmentIndexShift="legacy"===a?n.segments.length:o.length,r[On(c)]=d}return Object.assign(Object.assign({},s),r)}(n,o,e,t,n.children,s));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:e}}const a=new Dt(n.segments,n.children);return a._sourceSegment=n,a._segmentIndexShift=o.length,{segmentGroup:a,slicedSegments:e}}function Tn(n,o,e){return(!(n.hasChildren()||o.length>0)||"full"!==e.pathMatch)&&""===e.path}function ss(n,o,e,t){return!!(On(n)===t||t!==Rt&&Tn(o,e,n))&&("**"===n.path||Iu(o,n,e).matched)}function Hu(n,o,e){return 0===o.length&&!n.children[e]}class Bo{constructor(o){this.segmentGroup=o||null}}class ra{constructor(o){this.urlTree=o}}function os(n){return new Xi.y(o=>o.error(new Bo(n)))}function Fu(n){return new Xi.y(o=>o.error(new ra(n)))}function Cp(n){return new Xi.y(o=>o.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`)))}class Re{constructor(o,e,t,s,a){this.configLoader=e,this.urlSerializer=t,this.urlTree=s,this.config=a,this.allowRedirects=!0,this.ngModule=o.get(i.h0i)}apply(){const o=Si(this.urlTree.root,[],[],this.config).segmentGroup,e=new Dt(o.segments,o.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Rt).pipe((0,nt.U)(a=>this.createUrlTree(sc(a),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,ui.K)(a=>{if(a instanceof ra)return this.allowRedirects=!1,this.match(a.urlTree);throw a instanceof Bo?this.noMatchError(a):a}))}match(o){return this.expandSegmentGroup(this.ngModule,this.config,o.root,Rt).pipe((0,nt.U)(s=>this.createUrlTree(sc(s),o.queryParams,o.fragment))).pipe((0,ui.K)(s=>{throw s instanceof Bo?this.noMatchError(s):s}))}noMatchError(o){return new Error(`Cannot match any routes. URL Segment: '${o.segmentGroup}'`)}createUrlTree(o,e,t){const s=o.segments.length>0?new Dt([],{[Rt]:o}):o;return new Ho(s,e,t)}expandSegmentGroup(o,e,t,s){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(o,e,t).pipe((0,nt.U)(a=>new Dt([],a))):this.expandSegment(o,t,e,t.segments,s,!0)}expandChildren(o,e,t){const s=[];for(const a of Object.keys(t.children))"primary"===a?s.unshift(a):s.push(a);return(0,pn.D)(s).pipe((0,to.b)(a=>{const r=t.children[a],c=wp(e,a);return this.expandSegmentGroup(o,c,r,a).pipe((0,nt.U)(d=>({segment:d,outlet:a})))}),ja((a,r)=>(a[r.outlet]=r.segment,a),{}),function lp(n,o){const e=arguments.length>=2;return t=>t.pipe(n?(0,Yt.h)((s,a)=>n(s,a,t)):Zr.y,hr(1),e?(0,Kc.d)(o):(0,io.T)(()=>new Ya.K))}())}expandSegment(o,e,t,s,a,r){return(0,pn.D)(t).pipe((0,to.b)(c=>this.expandSegmentAgainstRoute(o,e,t,c,s,a,r).pipe((0,ui.K)(h=>{if(h instanceof Bo)return(0,Ye.of)(null);throw h}))),(0,Jt.P)(c=>!!c),(0,ui.K)((c,d)=>{if(c instanceof Ya.K||"EmptyError"===c.name){if(Hu(e,s,a))return(0,Ye.of)(new Dt([],{}));throw new Bo(e)}throw c}))}expandSegmentAgainstRoute(o,e,t,s,a,r,c){return ss(s,e,a,r)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(o,e,s,a,r):c&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r):os(e):os(e)}expandSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(o,t,s,r):this.expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(o,e,t,s){const a=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?Fu(a):this.lineralizeSegments(t,a).pipe((0,L.zg)(r=>{const c=new Dt(r,{});return this.expandSegment(o,c,e,r,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r){const{matched:c,consumedSegments:d,lastChild:h,positionalParamSegments:g}=Iu(e,s,a);if(!c)return os(e);const I=this.applyRedirectCommands(d,s.redirectTo,g);return s.redirectTo.startsWith("/")?Fu(I):this.lineralizeSegments(s,I).pipe((0,L.zg)(W=>this.expandSegment(o,e,t,W.concat(a.slice(h)),r,!1)))}matchSegmentAgainstRoute(o,e,t,s,a){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ye.of)(t._loadedConfig):this.configLoader.load(o.injector,t)).pipe((0,nt.U)(W=>(t._loadedConfig=W,new Dt(s,{})))):(0,Ye.of)(new Dt(s,{}));const{matched:r,consumedSegments:c,lastChild:d}=Iu(e,t,s);if(!r)return os(e);const h=s.slice(d);return this.getChildConfig(o,t,s).pipe((0,L.zg)(I=>{const W=I.module,ce=I.routes,{segmentGroup:be,slicedSegments:Me}=Si(e,c,h,ce),Fe=new Dt(be.segments,be.children);if(0===Me.length&&Fe.hasChildren())return this.expandChildren(W,ce,Fe).pipe((0,nt.U)(oi=>new Dt(c,oi)));if(0===ce.length&&0===Me.length)return(0,Ye.of)(new Dt(c,{}));const Ft=On(t)===a;return this.expandSegment(W,Fe,ce,Me,Ft?Rt:a,!0).pipe((0,nt.U)(Pt=>new Dt(c.concat(Pt.segments),Pt.children)))}))}getChildConfig(o,e,t){return e.children?(0,Ye.of)(new al(e.children,o)):e.loadChildren?void 0!==e._loadedConfig?(0,Ye.of)(e._loadedConfig):this.runCanLoadGuards(o.injector,e,t).pipe((0,L.zg)(s=>s?this.configLoader.load(o.injector,e).pipe((0,nt.U)(a=>(e._loadedConfig=a,a))):function S_(n){return new Xi.y(o=>o.error(Li(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`)))}(e))):(0,Ye.of)(new al([],o))}runCanLoadGuards(o,e,t){const s=e.canLoad;if(!s||0===s.length)return(0,Ye.of)(!0);const a=s.map(r=>{const c=o.get(r);let d;if(function Lu(n){return n&&$n(n.canLoad)}(c))d=c.canLoad(e,t);else{if(!$n(c))throw new Error("Invalid CanLoad guard");d=c(e,t)}return fi(d)});return(0,Ye.of)(a).pipe(Cr(),(0,V.b)(r=>{if(!ro(r))return;const c=Li(`Redirecting to "${this.urlSerializer.serialize(r)}"`);throw c.url=r,c}),(0,nt.U)(r=>!0===r))}lineralizeSegments(o,e){let t=[],s=e.root;for(;;){if(t=t.concat(s.segments),0===s.numberOfChildren)return(0,Ye.of)(t);if(s.numberOfChildren>1||!s.children[Rt])return Cp(o.redirectTo);s=s.children[Rt]}}applyRedirectCommands(o,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),o,t)}applyRedirectCreatreUrlTree(o,e,t,s){const a=this.createSegmentGroup(o,e.root,t,s);return new Ho(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(o,e){const t={};return Ui(o,(s,a)=>{if("string"==typeof s&&s.startsWith(":")){const c=s.substring(1);t[a]=e[c]}else t[a]=s}),t}createSegmentGroup(o,e,t,s){const a=this.createSegments(o,e.segments,t,s);let r={};return Ui(e.children,(c,d)=>{r[d]=this.createSegmentGroup(o,c,t,s)}),new Dt(a,r)}createSegments(o,e,t,s){return e.map(a=>a.path.startsWith(":")?this.findPosParam(o,a,s):this.findOrReturn(a,t))}findPosParam(o,e,t){const s=t[e.path.substring(1)];if(!s)throw new Error(`Cannot redirect to '${o}'. Cannot find '${e.path}'.`);return s}findOrReturn(o,e){let t=0;for(const s of e){if(s.path===o.path)return e.splice(t),s;t++}return o}}function sc(n){const o={};for(const t of Object.keys(n.children)){const a=sc(n.children[t]);(a.segments.length>0||a.hasChildren())&&(o[t]=a)}return function Wn(n){if(1===n.numberOfChildren&&n.children[Rt]){const o=n.children[Rt];return new Dt(n.segments.concat(o.segments),o.children)}return n}(new Dt(n.segments,o))}class Vt{constructor(o){this.path=o,this.route=this.path[this.path.length-1]}}class Yo{constructor(o,e){this.component=o,this.route=e}}function ph(n,o,e){const t=n._root;return oc(t,o?o._root:null,e,[t.value])}function hl(n,o,e){const t=function Tp(n){if(!n)return null;for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(o);return(t?t.module.injector:e).get(n)}function oc(n,o,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=Hs(o);return n.children.forEach(r=>{(function gh(n,o,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=n.value,r=o?o.value:null,c=e?e.getContext(n.value.outlet):null;if(r&&a.routeConfig===r.routeConfig){const d=function Nu(n,o,e){if("function"==typeof e)return e(n,o);switch(e){case"pathParamsChange":return!ns(n.url,o.url);case"pathParamsOrQueryParamsChange":return!ns(n.url,o.url)||!Zn(n.queryParams,o.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!No(n,o)||!Zn(n.queryParams,o.queryParams);default:return!No(n,o)}}(r,a,a.routeConfig.runGuardsAndResolvers);d?s.canActivateChecks.push(new Vt(t)):(a.data=r.data,a._resolvedData=r._resolvedData),oc(n,o,a.component?c?c.children:null:e,t,s),d&&c&&c.outlet&&c.outlet.isActivated&&s.canDeactivateChecks.push(new Yo(c.outlet.component,r))}else r&&gn(o,c,s),s.canActivateChecks.push(new Vt(t)),oc(n,null,a.component?c?c.children:null:e,t,s)})(r,a[r.value.outlet],e,t.concat([r.value]),s),delete a[r.value.outlet]}),Ui(a,(r,c)=>gn(r,e.getContext(c),s)),s}function gn(n,o,e){const t=Hs(n),s=n.value;Ui(t,(a,r)=>{gn(a,s.component?o?o.children.getContext(r):null:o,e)}),e.canDeactivateChecks.push(new Yo(s.component&&o&&o.outlet&&o.outlet.isActivated?o.outlet.component:null,s))}class Sp{}function ca(n){return new Xi.y(o=>o.error(n))}class kp{constructor(o,e,t,s,a,r){this.rootComponentType=o,this.config=e,this.urlTree=t,this.url=s,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=r}recognize(){const o=Si(this.urlTree.root,[],[],this.config.filter(r=>void 0===r.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,o,Rt);if(null===e)return null;const t=new Qa([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Rt,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new oo(t,e),a=new il(this.url,s);return this.inheritParamsAndData(a._root),a}inheritParamsAndData(o){const e=o.value,t=gp(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),o.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(o,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(o,e):this.processSegment(o,e,e.segments,t)}processChildren(o,e){const t=[];for(const a of Object.keys(e.children)){const r=e.children[a],c=wp(o,a),d=this.processSegmentGroup(c,r,a);if(null===d)return null;t.push(...d)}const s=gl(t);return function tn(n){n.sort((o,e)=>o.value.outlet===Rt?-1:e.value.outlet===Rt?1:o.value.outlet.localeCompare(e.value.outlet))}(s),s}processSegment(o,e,t,s){for(const a of o){const r=this.processSegmentAgainstRoute(a,e,t,s);if(null!==r)return r}return Hu(e,t,s)?[]:null}processSegmentAgainstRoute(o,e,t,s){if(o.redirectTo||!ss(o,e,t,s))return null;let a,r=[],c=[];if("**"===o.path){const ce=t.length>0?ci(t).parameters:{};a=new Qa(t,ce,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ah(o),On(o),o.component,o,bh(e),wh(e)+t.length,la(o))}else{const ce=Iu(e,o,t);if(!ce.matched)return null;r=ce.consumedSegments,c=t.slice(ce.lastChild),a=new Qa(r,ce.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ah(o),On(o),o.component,o,bh(e),wh(e)+r.length,la(o))}const d=function yh(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(o),{segmentGroup:h,slicedSegments:g}=Si(e,r,c,d.filter(ce=>void 0===ce.redirectTo),this.relativeLinkResolution);if(0===g.length&&h.hasChildren()){const ce=this.processChildren(d,h);return null===ce?null:[new oo(a,ce)]}if(0===d.length&&0===g.length)return[new oo(a,[])];const I=On(o)===s,W=this.processSegment(d,h,g,I?Rt:s);return null===W?null:[new oo(a,W)]}}function Ep(n){const o=n.value.routeConfig;return o&&""===o.path&&void 0===o.redirectTo}function gl(n){const o=[],e=new Set;for(const t of n){if(!Ep(t)){o.push(t);continue}const s=o.find(a=>t.value.routeConfig===a.value.routeConfig);void 0!==s?(s.children.push(...t.children),e.add(s)):o.push(t)}for(const t of e){const s=gl(t.children);o.push(new oo(t.value,s))}return o.filter(t=>!e.has(t))}function bh(n){let o=n;for(;o._sourceSegment;)o=o._sourceSegment;return o}function wh(n){let o=n,e=o._segmentIndexShift?o._segmentIndexShift:0;for(;o._sourceSegment;)o=o._sourceSegment,e+=o._segmentIndexShift?o._segmentIndexShift:0;return e-1}function Ah(n){return n.data||{}}function la(n){return n.resolve||{}}function Yu(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function da(n){return(0,Gi.w)(o=>{const e=n(o);return e?(0,pn.D)(e).pipe((0,nt.U)(()=>o)):(0,Ye.of)(o)})}class Rp extends class xp{shouldDetach(o){return!1}store(o,e){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,e){return o.routeConfig===e.routeConfig}}{}const mn=new i.OlP("ROUTES");class bs{constructor(o,e,t,s){this.injector=o,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=s}load(o,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const s=this.loadModuleFactory(e.loadChildren).pipe((0,nt.U)(a=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=a.create(o);return new al(sh(r.injector.get(mn,void 0,i.XFs.Self|i.XFs.Optional)).map(dl),r)}),(0,ui.K)(a=>{throw e._loader$=void 0,a}));return e._loader$=new Au.c(s,()=>new ke.xQ).pipe((0,O.x)()),e._loader$}loadModuleFactory(o){return fi(o()).pipe((0,L.zg)(e=>e instanceof i.YKP?(0,Ye.of)(e):(0,pn.D)(this.compiler.compileModuleAsync(e))))}}class D_{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,e){return o}}function Ch(n){throw n}function Lp(n,o,e){return o.parse("/")}function Ip(n,o){return(0,Ye.of)(null)}const Uu={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ha={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let yi=(()=>{class n{constructor(e,t,s,a,r,c,d){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=s,this.location=a,this.config=d,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ke.xQ,this.errorHandler=Ch,this.malformedUriErrorHandler=Lp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ip,afterPreactivation:Ip},this.urlHandlingStrategy=new D_,this.routeReuseStrategy=new Rp,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(i.h0i),this.console=r.get(i.c2e);const I=r.get(i.R0b);this.isNgZoneEnabled=I instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(d),this.currentUrlTree=function so(){return new Ho(new Dt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new bs(r,c,W=>this.triggerEvent(new et(W)),W=>this.triggerEvent(new Io(W))),this.routerState=lh(this.currentUrlTree,this.rootComponentType),this.transitions=new Qi({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const t=this.events;return e.pipe((0,Yt.h)(s=>0!==s.id),(0,nt.U)(s=>Object.assign(Object.assign({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),(0,Gi.w)(s=>{let a=!1,r=!1;return(0,Ye.of)(s).pipe((0,V.b)(c=>{this.currentNavigation={id:c.id,initialUrl:c.currentRawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Gi.w)(c=>{const d=this.browserUrlTree.toString(),h=!this.navigated||c.extractedUrl.toString()!==d||d!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||h)&&this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return _(c.source)&&(this.browserUrlTree=c.extractedUrl),(0,Ye.of)(c).pipe((0,Gi.w)(I=>{const W=this.transitions.getValue();return t.next(new Zt(I.id,this.serializeUrl(I.extractedUrl),I.source,I.restoredState)),W!==this.transitions.getValue()?Ls.E:Promise.resolve(I)}),function Tr(n,o,e,t){return(0,Gi.w)(s=>function k_(n,o,e,t,s){return new Re(n,o,e,t,s).apply()}(n,o,e,s.extractedUrl,t).pipe((0,nt.U)(a=>Object.assign(Object.assign({},s),{urlAfterRedirects:a}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,V.b)(I=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:I.urlAfterRedirects})}),function Mr(n,o,e,t,s){return(0,L.zg)(a=>function Ns(n,o,e,t,s="emptyOnly",a="legacy"){try{const r=new kp(n,o,e,t,s,a).recognize();return null===r?ca(new Sp):(0,Ye.of)(r)}catch(r){return ca(r)}}(n,o,a.urlAfterRedirects,e(a.urlAfterRedirects),t,s).pipe((0,nt.U)(r=>Object.assign(Object.assign({},a),{targetSnapshot:r}))))}(this.rootComponentType,this.config,I=>this.serializeUrl(I),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,V.b)(I=>{if("eager"===this.urlUpdateStrategy){if(!I.extras.skipLocationChange){const ce=this.urlHandlingStrategy.merge(I.urlAfterRedirects,I.rawUrl);this.setBrowserUrl(ce,I)}this.browserUrlTree=I.urlAfterRedirects}const W=new ji(I.id,this.serializeUrl(I.extractedUrl),this.serializeUrl(I.urlAfterRedirects),I.targetSnapshot);t.next(W)}));if(h&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:W,extractedUrl:ce,source:be,restoredState:Me,extras:Fe}=c,Ft=new Zt(W,this.serializeUrl(ce),be,Me);t.next(Ft);const Qt=lh(ce,this.rootComponentType).snapshot;return(0,Ye.of)(Object.assign(Object.assign({},c),{targetSnapshot:Qt,urlAfterRedirects:ce,extras:Object.assign(Object.assign({},Fe),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=c.rawUrl,c.resolve(null),Ls.E}),da(c=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:I,extras:{skipLocationChange:W,replaceUrl:ce}}=c;return this.hooks.beforePreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:I,skipLocationChange:!!W,replaceUrl:!!ce})}),(0,V.b)(c=>{const d=new hi(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(d)}),(0,nt.U)(c=>Object.assign(Object.assign({},c),{guards:ph(c.targetSnapshot,c.currentSnapshot,this.rootContexts)})),function E_(n,o){return(0,L.zg)(e=>{const{targetSnapshot:t,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:r}}=e;return 0===r.length&&0===a.length?(0,Ye.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function aa(n,o,e,t){return(0,pn.D)(n).pipe((0,L.zg)(s=>function pl(n,o,e,t,s){const a=o&&o.routeConfig?o.routeConfig.canDeactivate:null;if(!a||0===a.length)return(0,Ye.of)(!0);const r=a.map(c=>{const d=hl(c,o,s);let h;if(function ia(n){return n&&$n(n.canDeactivate)}(d))h=fi(d.canDeactivate(n,o,e,t));else{if(!$n(d))throw new Error("Invalid CanDeactivate guard");h=fi(d(n,o,e,t))}return h.pipe((0,Jt.P)())});return(0,Ye.of)(r).pipe(Cr())}(s.component,s.route,e,o,t)),(0,Jt.P)(s=>!0!==s,!0))}(r,t,s,n).pipe((0,L.zg)(c=>c&&function fh(n){return"boolean"==typeof n}(c)?function Bu(n,o,e,t){return(0,pn.D)(o).pipe((0,to.b)(s=>Lo(function mh(n,o){return null!==n&&o&&o(new Zc(n)),(0,Ye.of)(!0)}(s.route.parent,t),function fl(n,o){return null!==n&&o&&o(new Va(n)),(0,Ye.of)(!0)}(s.route,t),function _h(n,o,e){const t=o[o.length-1],a=o.slice(0,o.length-1).reverse().map(r=>function zu(n){const o=n.routeConfig?n.routeConfig.canActivateChild:null;return o&&0!==o.length?{node:n,guards:o}:null}(r)).filter(r=>null!==r).map(r=>Ln(()=>{const c=r.guards.map(d=>{const h=hl(d,r.node,e);let g;if(function ta(n){return n&&$n(n.canActivateChild)}(h))g=fi(h.canActivateChild(t,n));else{if(!$n(h))throw new Error("Invalid CanActivateChild guard");g=fi(h(t,n))}return g.pipe((0,Jt.P)())});return(0,Ye.of)(c).pipe(Cr())}));return(0,Ye.of)(a).pipe(Cr())}(n,s.path,e),function Mp(n,o,e){const t=o.routeConfig?o.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ye.of)(!0);const s=t.map(a=>Ln(()=>{const r=hl(a,o,e);let c;if(function ea(n){return n&&$n(n.canActivate)}(r))c=fi(r.canActivate(o,n));else{if(!$n(r))throw new Error("Invalid CanActivate guard");c=fi(r(o,n))}return c.pipe((0,Jt.P)())}));return(0,Ye.of)(s).pipe(Cr())}(n,s.route,e))),(0,Jt.P)(s=>!0!==s,!0))}(t,a,n,o):(0,Ye.of)(c)),(0,nt.U)(c=>Object.assign(Object.assign({},e),{guardsResult:c})))})}(this.ngModule.injector,c=>this.triggerEvent(c)),(0,V.b)(c=>{if(ro(c.guardsResult)){const h=Li(`Redirecting to "${this.serializeUrl(c.guardsResult)}"`);throw h.url=c.guardsResult,h}const d=new mi(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.triggerEvent(d)}),(0,Yt.h)(c=>!!c.guardsResult||(this.restoreHistory(c),this.cancelNavigationTransition(c,""),!1)),da(c=>{if(c.guards.canActivateChecks.length)return(0,Ye.of)(c).pipe((0,V.b)(d=>{const h=new no(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}),(0,Gi.w)(d=>{let h=!1;return(0,Ye.of)(d).pipe(function jo(n,o){return(0,L.zg)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:s}}=e;if(!s.length)return(0,Ye.of)(e);let a=0;return(0,pn.D)(s).pipe((0,to.b)(r=>function ua(n,o,e,t){return function Dp(n,o,e,t){const s=Yu(n);if(0===s.length)return(0,Ye.of)({});const a={};return(0,pn.D)(s).pipe((0,L.zg)(r=>function ju(n,o,e,t){const s=hl(n,o,t);return fi(s.resolve?s.resolve(o,e):s(o,e))}(n[r],o,e,t).pipe((0,V.b)(c=>{a[r]=c}))),hr(1),(0,L.zg)(()=>Yu(a).length===s.length?(0,Ye.of)(a):Ls.E))}(n._resolve,n,o,t).pipe((0,nt.U)(a=>(n._resolvedData=a,n.data=Object.assign(Object.assign({},n.data),gp(n,e).resolve),null)))}(r.route,t,n,o)),(0,V.b)(()=>a++),hr(1),(0,L.zg)(r=>a===s.length?(0,Ye.of)(e):Ls.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,V.b)({next:()=>h=!0,complete:()=>{h||(this.restoreHistory(d),this.cancelNavigationTransition(d,"At least one route resolver didn't emit any value."))}}))}),(0,V.b)(d=>{const h=new ms(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}))}),da(c=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:I,extras:{skipLocationChange:W,replaceUrl:ce}}=c;return this.hooks.afterPreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:I,skipLocationChange:!!W,replaceUrl:!!ce})}),(0,nt.U)(c=>{const d=function mp(n,o,e){const t=Fs(n,o._root,e?e._root:void 0);return new el(t,o)}(this.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return Object.assign(Object.assign({},c),{targetRouterState:d})}),(0,V.b)(c=>{this.currentUrlTree=c.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl),this.routerState=c.targetRouterState,"deferred"===this.urlUpdateStrategy&&(c.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,c),this.browserUrlTree=c.urlAfterRedirects)}),((n,o,e)=>(0,nt.U)(t=>(new yp(o,t.targetRouterState,t.currentRouterState,e).activate(n),t)))(this.rootContexts,this.routeReuseStrategy,c=>this.triggerEvent(c)),(0,V.b)({next(){a=!0},complete(){a=!0}}),te(()=>{var c;a||r||this.cancelNavigationTransition(s,`Navigation ID ${s.id} is not equal to the current navigation id ${this.navigationId}`),(null===(c=this.currentNavigation)||void 0===c?void 0:c.id)===s.id&&(this.currentNavigation=null)}),(0,ui.K)(c=>{if(r=!0,function nh(n){return n&&n[qa]}(c)){const d=ro(c.url);d||(this.navigated=!0,this.restoreHistory(s,!0));const h=new bt(s.id,this.serializeUrl(s.extractedUrl),c.message);t.next(h),d?setTimeout(()=>{const g=this.urlHandlingStrategy.merge(c.url,this.rawUrlTree),I={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||_(s.source)};this.scheduleNavigation(g,"imperative",null,I,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{this.restoreHistory(s,!0);const d=new Ot(s.id,this.serializeUrl(s.extractedUrl),c);t.next(d);try{s.resolve(this.errorHandler(c))}catch(h){s.reject(h)}}return Ls.E}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t="popstate"===e.type?"popstate":"hashchange";"popstate"===t&&setTimeout(()=>{var s;const a={replaceUrl:!0},r=(null===(s=e.state)||void 0===s?void 0:s.navigationId)?e.state:null;if(r){const d=Object.assign({},r);delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(a.state=d)}const c=this.parseUrl(e.url);this.scheduleNavigation(c,t,r,a)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){bp(e),this.config=e.map(dl),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:s,queryParams:a,fragment:r,queryParamsHandling:c,preserveFragment:d}=t,h=s||this.routerState.root,g=d?this.currentUrlTree.fragment:r;let I=null;switch(c){case"merge":I=Object.assign(Object.assign({},this.currentUrlTree.queryParams),a);break;case"preserve":I=this.currentUrlTree.queryParams;break;default:I=a||null}return null!==I&&(I=this.removeEmptyProps(I)),function C_(n,o,e,t,s){if(0===e.length)return sl(o.root,o.root,o,t,s);const a=function Jr(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new Ar(!0,0,n);let o=0,e=!1;const t=n.reduce((s,a,r)=>{if("object"==typeof a&&null!=a){if(a.outlets){const c={};return Ui(a.outlets,(d,h)=>{c[h]="string"==typeof d?d.split("/"):d}),[...s,{outlets:c}]}if(a.segmentPath)return[...s,a.segmentPath]}return"string"!=typeof a?[...s,a]:0===r?(a.split("/").forEach((c,d)=>{0==d&&"."===c||(0==d&&""===c?e=!0:".."===c?o++:""!=c&&s.push(c))}),s):[...s,a]},[]);return new Ar(e,o,t)}(e);if(a.toRoot())return sl(o.root,new Dt([],{}),o,t,s);const r=function vr(n,o,e){if(n.isAbsolute)return new zs(o.root,!0,0);if(-1===e.snapshot._lastPathIndex){const a=e.snapshot._urlSegment;return new zs(a,a===o.root,0)}const t=Xa(n.commands[0])?0:1;return function ec(n,o,e){let t=n,s=o,a=e;for(;a>s;){if(a-=s,t=t.parent,!t)throw new Error("Invalid number of '../'");s=t.segments.length}return new zs(t,!1,s-a)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,n.numberOfDoubleDots)}(a,o,n),c=r.processChildren?Xr(r.segmentGroup,r.index,a.commands):ol(r.segmentGroup,r.index,a.commands);return sl(r.segmentGroup,c,o,t,s)}(h,this.currentUrlTree,e,I,null!=g?g:null)}navigateByUrl(e,t={skipLocationChange:!1}){const s=ro(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function Ht(n){for(let o=0;o{const a=e[s];return null!=a&&(t[s]=a),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new It(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,t,s,a,r){var c,d,h;if(this.disposed)return Promise.resolve(!1);const g=this.transitions.value,I=_(t)&&g&&!_(g.source),W=g.rawUrl.toString()===e.toString(),ce=g.id===(null===(c=this.currentNavigation)||void 0===c?void 0:c.id);if(I&&W&&ce)return Promise.resolve(!0);let Me,Fe,Ft;r?(Me=r.resolve,Fe=r.reject,Ft=r.promise):Ft=new Promise((oi,_u)=>{Me=oi,Fe=_u});const Qt=++this.navigationId;let Pt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),Pt=s&&s.\u0275routerPageId?s.\u0275routerPageId:a.replaceUrl||a.skipLocationChange?null!==(d=this.browserPageId)&&void 0!==d?d:0:(null!==(h=this.browserPageId)&&void 0!==h?h:0)+1):Pt=0,this.setTransition({id:Qt,targetPageId:Pt,source:t,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:a,resolve:Me,reject:Fe,promise:Ft,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ft.catch(oi=>Promise.reject(oi))}setBrowserUrl(e,t){const s=this.urlSerializer.serialize(e),a=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(s)||t.extras.replaceUrl?this.location.replaceState(s,"",a):this.location.go(s,"",a)}restoreHistory(e,t=!1){var s,a;if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)||0===r?this.currentUrlTree===(null===(a=this.currentNavigation)||void 0===a?void 0:a.finalUrl)&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,t){const s=new bt(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(s),e.resolve(!1)}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function _(n){return"imperative"!==n}let S=(()=>{class n{constructor(e,t,s,a,r){this.router=e,this.route=t,this.tabIndexAttribute=s,this.renderer=a,this.el=r,this.commands=null,this.onChanges=new ke.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const t=this.renderer,s=this.el.nativeElement;null!==e?t.setAttribute(s,"tabindex",e):t.removeAttribute(s,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const e={skipLocationChange:F(this.skipLocationChange),replaceUrl:F(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:F(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(yi),i.Y36(ys),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),n})(),P=(()=>{class n{constructor(e,t,s){this.router=e,this.route=t,this.locationStrategy=s,this.commands=null,this.href=null,this.onChanges=new ke.xQ,this.subscription=e.events.subscribe(a=>{a instanceof It&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,s,a,r){if(0!==e||t||s||a||r||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const c={skipLocationChange:F(this.skipLocationChange),replaceUrl:F(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,c),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:F(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(yi),i.Y36(ys),i.Y36(b.S$))},n.\u0275dir=i.lG2({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&e&&i.uIk("target",t.target)("href",t.href,i.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),n})();function F(n){return""===n||!!n}class ge{}class _t{preload(o,e){return(0,Ye.of)(null)}}let $t=(()=>{class n{constructor(e,t,s,a){this.router=e,this.injector=s,this.preloadingStrategy=a,this.loader=new bs(s,t,d=>e.triggerEvent(new et(d)),d=>e.triggerEvent(new Io(d)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Yt.h)(e=>e instanceof It),(0,to.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(i.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const s=[];for(const a of t)if(a.loadChildren&&!a.canLoad&&a._loadedConfig){const r=a._loadedConfig;s.push(this.processRoutes(r.module,r.routes))}else a.loadChildren&&!a.canLoad?s.push(this.preloadConfig(e,a)):a.children&&s.push(this.processRoutes(e,a.children));return(0,pn.D)(s).pipe((0,Po.J)(),(0,nt.U)(a=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ye.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,L.zg)(a=>(t._loadedConfig=a,this.processRoutes(a.module,a.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(yi),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(ge))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),vi=(()=>{class n{constructor(e,t,s={}){this.router=e,this.viewportScroller=t,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Zt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof It&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof pr&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new pr(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Hn=new i.OlP("ROUTER_CONFIGURATION"),x_=new i.OlP("ROUTER_FORROOT_GUARD"),FA=[b.Ye,{provide:Mu,useClass:Su},{provide:yi,useFactory:function BA(n,o,e,t,s,a,r={},c,d){const h=new yi(null,n,o,e,t,s,sh(a));return c&&(h.urlHandlingStrategy=c),d&&(h.routeReuseStrategy=d),function YA(n,o){n.errorHandler&&(o.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(o.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(o.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(o.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(o.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(o.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(o.canceledNavigationResolution=n.canceledNavigationResolution)}(r,h),r.enableTracing&&h.events.subscribe(g=>{var I,W;null===(I=console.group)||void 0===I||I.call(console,`Router Event: ${g.constructor.name}`),console.log(g.toString()),console.log(g),null===(W=console.groupEnd)||void 0===W||W.call(console)}),h},deps:[Mu,cl,b.Ye,i.zs3,i.Sil,mn,Hn,[class Pp{},new i.FiY],[class vh{},new i.FiY]]},cl,{provide:ys,useFactory:function jA(n){return n.routerState.root},deps:[yi]},$t,_t,class Qe{preload(o,e){return e().pipe((0,ui.K)(()=>(0,Ye.of)(null)))}},{provide:Hn,useValue:{enableTracing:!1}}];function zA(){return new i.PXZ("Router",yi)}let Bs=(()=>{class n{constructor(e,t){}static forRoot(e,t){return{ngModule:n,providers:[FA,P_(e),{provide:x_,useFactory:NA,deps:[[yi,new i.FiY,new i.tp0]]},{provide:Hn,useValue:t||{}},{provide:b.S$,useFactory:R_,deps:[b.lw,[new i.tBr(b.mr),new i.FiY],Hn]},{provide:vi,useFactory:_l,deps:[yi,b.EM,Hn]},{provide:ge,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:_t},{provide:i.PXZ,multi:!0,useFactory:zA},[Th,{provide:i.ip1,multi:!0,useFactory:UA,deps:[Th]},{provide:L_,useFactory:VA,deps:[Th]},{provide:i.tb,multi:!0,useExisting:L_}]]}}static forChild(e){return{ngModule:n,providers:[P_(e)]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(x_,8),i.LFG(yi,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();function _l(n,o,e){return e.scrollOffset&&o.setOffset(e.scrollOffset),new vi(n,o,e)}function R_(n,o,e={}){return e.useHash?new b.Do(n,o):new b.b0(n,o)}function NA(n){return"guarded"}function P_(n){return[{provide:i.deG,multi:!0,useValue:n},{provide:mn,multi:!0,useValue:n}]}let Th=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new ke.xQ}appInitializer(){return this.injector.get(b.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const s=new Promise(c=>t=c),a=this.injector.get(yi),r=this.injector.get(Hn);return"disabled"===r.initialNavigation?(a.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(a.hooks.afterPreactivation=()=>this.initNavigation?(0,Ye.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),a.initialNavigation()):t(!0),s})}bootstrapListener(e){const t=this.injector.get(Hn),s=this.injector.get($t),a=this.injector.get(vi),r=this.injector.get(yi),c=this.injector.get(i.z2F);e===c.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&r.initialNavigation(),s.setUpPreloading(),a.init(),r.resetRootComponentType(c.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function UA(n){return n.appInitializer.bind(n)}function VA(n){return n.bootstrapListener.bind(n)}const L_=new i.OlP("Router Initializer");let Mn=(()=>{class n{constructor(){this.branding=""}setInstanceConfig(e){this.instanceConfig=e}setDefaultConfig(e){this.defaultConfig=e}getAppsConfig(){return this.appsConfig}setAppsConfig(e){this.appsConfig=e}setPerunPrincipal(e){this.principal=e}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(e){this.initialPageId=e}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.get("skip_oidc")}get(...e){let t;if(""!==this.branding){const s=this.instanceConfig.brandings[this.branding];for(let a=0;a(0,Op.k)(s)?t(...s):t(s))):new Xi.y(s=>{Mh(n,o,function a(r){s.next(arguments.length>1?Array.prototype.slice.call(arguments):r)},s,e)})}function Mh(n,o,e,t,s){let a;if(function vM(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const r=n;n.addEventListener(o,e,s),a=()=>r.removeEventListener(o,e,s)}else if(function AM(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const r=n;n.on(o,e),a=()=>r.off(o,e)}else if(function Hp(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const r=n;n.addListener(o,e),a=()=>r.removeListener(o,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let r=0,c=n.length;r0?super.requestAsyncId(o,e,t):(o.actions.push(this),o.scheduled||(o.scheduled=requestAnimationFrame(()=>o.flush(null))))}recycleAsyncId(o,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(o,e,t);0===o.actions.length&&(cancelAnimationFrame(e),o.scheduled=void 0)}});let H_=1;const kh=Promise.resolve(),Vu={};function Eh(n){return n in Vu&&(delete Vu[n],!0)}const F_={setImmediate(n){const o=H_++;return Vu[o]=!0,kh.then(()=>Eh(o)&&n()),o},clearImmediate(n){Eh(n)}},qu=new class ZA extends Fp.v{flush(o){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let t,s=-1,a=e.length;o=o||e.shift();do{if(t=o.execute(o.state,o.delay))break}while(++s0?super.requestAsyncId(o,e,t):(o.actions.push(this),o.scheduled||(o.scheduled=F_.setImmediate(o.flush.bind(o,null))))}recycleAsyncId(o,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(o,e,t);0===o.actions.length&&(F_.clearImmediate(e),o.scheduled=void 0)}});var Gu=w(353),N_=w(826),B_=w(9054);class WA{constructor(o){this.durationSelector=o}call(o,e){return e.subscribe(new JA(o,this.durationSelector))}}class JA extends N_.L{constructor(o,e){super(o),this.durationSelector=e,this.hasValue=!1}_next(o){if(this.value=o,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:s}=this;e=s(o)}catch(s){return this.destination.error(s)}const t=(0,B_.D)(this,e);!t||t.closed?this.clearThrottle():this.add(this.throttled=t)}}clearThrottle(){const{value:o,hasValue:e,throttled:t}=this;t&&(this.remove(t),this.throttled=null,t.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(o))}notifyNext(o,e,t,s){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Y_(n){return!(0,Op.k)(n)&&n-parseFloat(n)+1>=0}function QA(n=0,o,e){let t=-1;return Y_(o)?t=Number(o)<1?1:Number(o):(0,Gr.K)(o)&&(e=o),(0,Gr.K)(e)||(e=Gu.P),new Xi.y(s=>{const a=Y_(n)?n:+n-e.now();return e.schedule(Ku,a,{index:0,period:t,subscriber:s})})}function Ku(n){const{index:o,period:e,subscriber:t}=n;if(t.next(o),!t.closed){if(-1===e)return t.complete();n.index=o+1,this.schedule(n,e)}}function Fn(n,o=Gu.P){return function $A(n){return function(e){return e.lift(new WA(n))}}(()=>QA(n,o))}function Ke(n){return o=>o.lift(new j_(n))}class j_{constructor(o){this.notifier=o}call(o,e){const t=new U_(o),s=(0,B_.D)(t,this.notifier);return s&&!t.seenValue?(t.add(s),e.subscribe(t)):t}}class U_ extends N_.L{constructor(o){super(o),this.seenValue=!1}notifyNext(o,e,t,s,a){this.seenValue=!0,this.complete()}notifyComplete(){}}let _n;try{_n="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){_n=!1}let yl,ti=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,b.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!_n)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.Lbi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),pa=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const V_=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function zp(){if(yl)return yl;if("object"!=typeof document||!document)return yl=new Set(V_),yl;let n=document.createElement("input");return yl=new Set(V_.filter(o=>(n.setAttribute("type",o),n.type===o))),yl}let Zu,$u,rc,Np;function Vo(n){return function q_(){if(null==Zu&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Zu=!0}))}finally{Zu=Zu||!1}return Zu}()?n:!!n.capture}function G_(){if(null==rc){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return rc=!1,rc;if("scrollBehavior"in document.documentElement.style)rc=!0;else{const n=Element.prototype.scrollTo;rc=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return rc}function ac(){if("object"!=typeof document||!document)return 0;if(null==$u){const n=document.createElement("div"),o=n.style;n.dir="rtl",o.width="1px",o.overflow="auto",o.visibility="hidden",o.pointerEvents="none",o.position="absolute";const e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),$u=0,0===n.scrollLeft&&(n.scrollLeft=1,$u=0===n.scrollLeft?1:2),n.remove()}return $u}function bl(n){if(function XA(){if(null==Np){const n="undefined"!=typeof document?document.head:null;Np=!(!n||!n.createShadowRoot&&!n.attachShadow)}return Np}()){const o=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&o instanceof ShadowRoot)return o}return null}function wl(){let n="undefined"!=typeof document&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const o=n.shadowRoot.activeElement;if(o===n)break;n=o}return n}function lo(n){return n.composedPath?n.composedPath()[0]:n.target}function cc(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const ev=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function tv(){return(0,i.f3M)(b.K0)}}),iv=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ki=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new i.vpe,e){const s=e.documentElement?e.documentElement.dir:null;this.value=function nv(n){const o=(null==n?void 0:n.toLowerCase())||"";return"auto"===o&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?iv.test(navigator.language)?"rtl":"ltr":"rtl"===o?"rtl":"ltr"}((e.body?e.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ev,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Al=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),qo=(()=>{class n{constructor(e,t,s){this._ngZone=e,this._platform=t,this._scrolled=new ke.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Xi.y(t=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(Fn(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ye.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const s=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,Yt.h)(a=>!a||s.indexOf(a)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((s,a)=>{this._scrollableContainsElement(a,e)&&t.push(a)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let s=Vi(t),a=e.getElementRef().nativeElement;do{if(s==a)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>co(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(ti),i.LFG(b.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rs=(()=>{class n{constructor(e,t,s,a){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=s,this.dir=a,this._destroyed=new ke.xQ,this._elementScrolled=new Xi.y(r=>this.ngZone.runOutsideAngular(()=>co(this.elementRef.nativeElement,"scroll").pipe(Ke(this._destroyed)).subscribe(r)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,s=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=s?e.end:e.start),null==e.right&&(e.right=s?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),s&&0!=ac()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==ac()?e.left=e.right:1==ac()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;G_()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",s="right",a=this.elementRef.nativeElement;if("top"==e)return a.scrollTop;if("bottom"==e)return a.scrollHeight-a.clientHeight-a.scrollTop;const r=this.dir&&"rtl"==this.dir.value;return"start"==e?e=r?s:t:"end"==e&&(e=r?t:s),r&&2==ac()?e==t?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:r&&1==ac()?e==t?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==t?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(qo),i.Y36(i.R0b),i.Y36(ki,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),n})(),Go=(()=>{class n{constructor(e,t,s){this._platform=e,this._change=new ke.xQ,this._changeListener=a=>{this._change.next(a)},this._document=s,t.runOutsideAngular(()=>{if(e.isBrowser){const a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+t,height:s,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),s=e.documentElement,a=s.getBoundingClientRect();return{top:-a.top||e.body.scrollTop||t.scrollY||s.scrollTop||0,left:-a.left||e.body.scrollLeft||t.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Fn(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ti),i.LFG(i.R0b),i.LFG(b.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),kr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),lc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Al,pa,kr],Al,kr]}),n})();class J_{attach(o){return this._attachedHost=o,o.attach(this)}detach(){let o=this._attachedHost;null!=o&&(this._attachedHost=null,o.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(o){this._attachedHost=o}}class uo extends J_{constructor(o,e,t,s){super(),this.component=o,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=s}}class Ko extends J_{constructor(o,e,t){super(),this.templateRef=o,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(o,e=this.context){return this.context=e,super.attach(o)}detach(){return this.context=void 0,super.detach()}}class Q_ extends J_{constructor(o){super(),this.element=o instanceof i.SBq?o.nativeElement:o}}class Bp{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(o){return o instanceof uo?(this._attachedPortal=o,this.attachComponentPortal(o)):o instanceof Ko?(this._attachedPortal=o,this.attachTemplatePortal(o)):this.attachDomPortal&&o instanceof Q_?(this._attachedPortal=o,this.attachDomPortal(o)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(o){this._disposeFn=o}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class hv extends Bp{constructor(o,e,t,s,a){super(),this.outletElement=o,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=s,this.attachDomPortal=r=>{const c=r.element,d=this._document.createComment("dom-portal");c.parentNode.insertBefore(d,c),this.outletElement.appendChild(c),this._attachedPortal=r,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(c,d)})},this._document=a}attachComponentPortal(o){const t=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component);let s;return o.viewContainerRef?(s=o.viewContainerRef.createComponent(t,o.viewContainerRef.length,o.injector||o.viewContainerRef.injector),this.setDisposeFn(()=>s.destroy())):(s=t.create(o.injector||this._defaultInjector),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=o,s}attachTemplatePortal(o){let e=o.viewContainerRef,t=e.createEmbeddedView(o.templateRef,o.context);return t.rootNodes.forEach(s=>this.outletElement.appendChild(s)),t.detectChanges(),this.setDisposeFn(()=>{let s=e.indexOf(t);-1!==s&&e.remove(s)}),this._attachedPortal=o,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(o){return o.hostView.rootNodes[0]}}let fv=(()=>{class n extends Ko{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.s_b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.qOj]}),n})(),Er=(()=>{class n extends Bp{constructor(e,t,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=a=>{const r=a.element,c=this._document.createComment("dom-portal");a.setAttachedHost(this),r.parentNode.insertBefore(c,r),this._getRootNode().appendChild(r),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(r,c)})},this._document=s}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(a,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),n})(),uc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();var Ci=w(6787);class pv{constructor(o,e){this.predicate=o,this.inclusive=e}call(o,e){return e.subscribe(new gv(o,this.predicate,this.inclusive))}}class gv extends is.L{constructor(o,e,t){super(o),this.predicate=e,this.inclusive=t,this.index=0}_next(o){const e=this.destination;let t;try{t=this.predicate(o,this.index++)}catch(s){return void e.error(s)}this.nextOrComplete(o,t)}nextOrComplete(o,e){const t=this.destination;Boolean(e)?t.next(o):(this.inclusive&&t.next(o),t.complete())}}function bn(n,...o){return o.length?o.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}const $p=G_();class my{constructor(o,e){this._viewportRuler=o,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const o=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=o.style.left||"",this._previousHTMLStyles.top=o.style.top||"",o.style.left=Ki(-this._previousScrollPosition.left),o.style.top=Ki(-this._previousScrollPosition.top),o.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const o=this._document.documentElement,t=o.style,s=this._document.body.style,a=t.scrollBehavior||"",r=s.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,o.classList.remove("cdk-global-scrollblock"),$p&&(t.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),$p&&(t.scrollBehavior=a,s.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class _y{constructor(o,e,t,s){this._scrollDispatcher=o,this._ngZone=e,this._viewportRuler=t,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(o){this._overlayRef=o}enable(){if(this._scrollSubscription)return;const o=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=o.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=o.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class yy{enable(){}disable(){}attach(){}}function Wp(n,o){return o.some(e=>n.bottome.bottom||n.righte.right)}function as(n,o){return o.some(e=>n.tope.bottom||n.lefte.right)}class qv{constructor(o,e,t,s){this._scrollDispatcher=o,this._viewportRuler=e,this._ngZone=t,this._config=s,this._scrollSubscription=null}attach(o){this._overlayRef=o}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:s}=this._viewportRuler.getViewportSize();Wp(e,[{width:t,height:s,bottom:s,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Gv=(()=>{class n{constructor(e,t,s,a){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=s,this.noop=()=>new yy,this.close=r=>new _y(this._scrollDispatcher,this._ngZone,this._viewportRuler,r),this.block=()=>new my(this._viewportRuler,this._document),this.reposition=r=>new qv(this._scrollDispatcher,this._viewportRuler,this._ngZone,r),this._document=a}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(qo),i.LFG(Go),i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Oh{constructor(o){if(this.scrollStrategy=new yy,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,o){const e=Object.keys(o);for(const t of e)void 0!==o[t]&&(this[t]=o[t])}}}class oS{constructor(o,e){this.connectionPair=o,this.scrollableViewProperties=e}}class wy{constructor(o,e,t,s,a,r,c,d,h){this._portalOutlet=o,this._host=e,this._pane=t,this._config=s,this._ngZone=a,this._keyboardDispatcher=r,this._document=c,this._location=d,this._outsideClickDispatcher=h,this._backdropElement=null,this._backdropClick=new ke.xQ,this._attachments=new ke.xQ,this._detachments=new ke.xQ,this._locationChanges=q.w.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._keydownEvents=new ke.xQ,this._outsidePointerEvents=new ke.xQ,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(o){let e=this._portalOutlet.attach(o);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,jt.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const o=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),o}dispose(){var o;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(o=this._host)||void 0===o||o.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(o){o!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=o,this.hasAttached()&&(o.attach(this),this.updatePosition()))}updateSize(o){this._config=Object.assign(Object.assign({},this._config),o),this._updateElementSize()}setDirection(o){this._config=Object.assign(Object.assign({},this._config),{direction:o}),this._updateElementDirection()}addPanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!0)}removePanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!1)}getDirection(){const o=this._config.direction;return o?"string"==typeof o?o:o.value:"ltr"}updateScrollStrategy(o){o!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=o,this.hasAttached()&&(o.attach(this),o.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const o=this._pane.style;o.width=Ki(this._config.width),o.height=Ki(this._config.height),o.minWidth=Ki(this._config.minWidth),o.minHeight=Ki(this._config.minHeight),o.maxWidth=Ki(this._config.maxWidth),o.maxHeight=Ki(this._config.maxHeight)}_togglePointerEvents(o){this._pane.style.pointerEvents=o?"":"none"}_attachBackdrop(){const o="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(o)})}):this._backdropElement.classList.add(o)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const o=this._backdropElement;if(!o)return;let e;const t=()=>{o&&(o.removeEventListener("click",this._backdropClickHandler),o.removeEventListener("transitionend",t),this._disposeBackdrop(o)),this._config.backdropClass&&this._toggleClasses(o,this._config.backdropClass,!1),clearTimeout(e)};o.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{o.addEventListener("transitionend",t)}),o.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(t,500))}_toggleClasses(o,e,t){const s=fa(e||[]).filter(a=>!!a);s.length&&(t?o.classList.add(...s):o.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const o=this._ngZone.onStable.pipe(Ke((0,Ci.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),o.unsubscribe())})})}_disposeScrollStrategy(){const o=this._scrollStrategy;o&&(o.disable(),o.detach&&o.detach())}_disposeBackdrop(o){o&&(o.remove(),this._backdropElement===o&&(this._backdropElement=null))}}let Jp=(()=>{class n{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||cc()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const o=this._originRect,e=this._overlayRect,t=this._viewportRect,s=this._containerRect,a=[];let r;for(let c of this._preferredPositions){let d=this._getOriginPoint(o,s,c),h=this._getOverlayPoint(d,e,c),g=this._getOverlayFit(h,e,t,c);if(g.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,d);this._canFitWithFlexibleDimensions(g,h,t)?a.push({position:c,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,c)}):(!r||r.overlayFit.visibleAread&&(d=g,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&pc(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ay),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const o=this._lastPosition;if(o){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,o);this._applyPosition(o,e)}else this.apply()}withScrollableContainers(o){return this._scrollables=o,this}withPositions(o){return this._preferredPositions=o,-1===o.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(o){return this._viewportMargin=o,this}withFlexibleDimensions(o=!0){return this._hasFlexibleDimensions=o,this}withGrowAfterOpen(o=!0){return this._growAfterOpen=o,this}withPush(o=!0){return this._canPush=o,this}withLockedPosition(o=!0){return this._positionLocked=o,this}setOrigin(o){return this._origin=o,this}withDefaultOffsetX(o){return this._offsetX=o,this}withDefaultOffsetY(o){return this._offsetY=o,this}withTransformOriginOn(o){return this._transformOriginSelector=o,this}_getOriginPoint(o,e,t){let s,a;if("center"==t.originX)s=o.left+o.width/2;else{const r=this._isRtl()?o.right:o.left,c=this._isRtl()?o.left:o.right;s="start"==t.originX?r:c}return e.left<0&&(s-=e.left),a="center"==t.originY?o.top+o.height/2:"top"==t.originY?o.top:o.bottom,e.top<0&&(a-=e.top),{x:s,y:a}}_getOverlayPoint(o,e,t){let s,a;return s="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,a="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:o.x+s,y:o.y+a}}_getOverlayFit(o,e,t,s){const a=vy(e);let{x:r,y:c}=o,d=this._getOffset(s,"x"),h=this._getOffset(s,"y");d&&(r+=d),h&&(c+=h);let W=0-c,ce=c+a.height-t.height,be=this._subtractOverflows(a.width,0-r,r+a.width-t.width),Me=this._subtractOverflows(a.height,W,ce),Fe=be*Me;return{visibleArea:Fe,isCompletelyWithinViewport:a.width*a.height===Fe,fitsInViewportVertically:Me===a.height,fitsInViewportHorizontally:be==a.width}}_canFitWithFlexibleDimensions(o,e,t){if(this._hasFlexibleDimensions){const s=t.bottom-e.y,a=t.right-e.x,r=Xp(this._overlayRef.getConfig().minHeight),c=Xp(this._overlayRef.getConfig().minWidth),h=o.fitsInViewportHorizontally||null!=c&&c<=a;return(o.fitsInViewportVertically||null!=r&&r<=s)&&h}return!1}_pushOverlayOnScreen(o,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:o.x+this._previousPushAmount.x,y:o.y+this._previousPushAmount.y};const s=vy(e),a=this._viewportRect,r=Math.max(o.x+s.width-a.width,0),c=Math.max(o.y+s.height-a.height,0),d=Math.max(a.top-t.top-o.y,0),h=Math.max(a.left-t.left-o.x,0);let g=0,I=0;return g=s.width<=a.width?h||-r:o.xbe&&!this._isInitialRender&&!this._growAfterOpen&&(r=o.y-be/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)W=t.width-o.x+this._viewportMargin,g=o.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)I=o.x,g=t.right-o.x;else{const ce=Math.min(t.right-o.x+t.left,o.x),be=this._lastBoundingBoxSize.width;g=2*ce,I=o.x-ce,g>be&&!this._isInitialRender&&!this._growAfterOpen&&(I=o.x-be/2)}return{top:r,left:I,bottom:c,right:W,width:g,height:a}}_setBoundingBoxStyles(o,e){const t=this._calculateBoundingBoxRect(o,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const a=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;s.height=Ki(t.height),s.top=Ki(t.top),s.bottom=Ki(t.bottom),s.width=Ki(t.width),s.left=Ki(t.left),s.right=Ki(t.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",a&&(s.maxHeight=Ki(a)),r&&(s.maxWidth=Ki(r))}this._lastBoundingBoxSize=t,pc(this._boundingBox.style,s)}_resetBoundingBoxStyles(){pc(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){pc(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(o,e){const t={},s=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(s){const g=this._viewportRuler.getViewportScrollPosition();pc(t,this._getExactOverlayY(e,o,g)),pc(t,this._getExactOverlayX(e,o,g))}else t.position="static";let c="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(c+=`translateX(${d}px) `),h&&(c+=`translateY(${h}px)`),t.transform=c.trim(),r.maxHeight&&(s?t.maxHeight=Ki(r.maxHeight):a&&(t.maxHeight="")),r.maxWidth&&(s?t.maxWidth=Ki(r.maxWidth):a&&(t.maxWidth="")),pc(this._pane.style,t)}_getExactOverlayY(o,e,t){let s={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),"bottom"===o.overlayY?s.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":s.top=Ki(a.y),s}_getExactOverlayX(o,e,t){let r,s={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),r=this._isRtl()?"end"===o.overlayX?"left":"right":"end"===o.overlayX?"right":"left","right"===r?s.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":s.left=Ki(a.x),s}_getScrollVisibility(){const o=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:as(o,t),isOriginOutsideView:Wp(o,t),isOverlayClipped:as(e,t),isOverlayOutsideView:Wp(e,t)}}_subtractOverflows(o,...e){return e.reduce((t,s)=>t-Math.max(s,0),o)}_getNarrowedViewportRect(){const o=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+o-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:o-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(o,e){return"x"===e?null==o.offsetX?this._offsetX:o.offsetX:null==o.offsetY?this._offsetY:o.offsetY}_validatePositions(){}_addPanelClasses(o){this._pane&&fa(o).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(o=>{this._pane.classList.remove(o)}),this._appliedPanelClasses=[])}_getOriginRect(){const o=this._origin;if(o instanceof i.SBq)return o.nativeElement.getBoundingClientRect();if(o instanceof Element)return o.getBoundingClientRect();const e=o.width||0,t=o.height||0;return{top:o.y,bottom:o.y+t,left:o.x,right:o.x+e,height:t,width:e}}}function pc(n,o){for(let e in o)o.hasOwnProperty(e)&&(n[e]=o[e]);return n}function Xp(n){if("number"!=typeof n&&null!=n){const[o,e]=n.split(Zv);return e&&"px"!==e?null:parseFloat(o)}return n||null}function vy(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const Cy="cdk-global-overlay-wrapper";class Ty{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(o){const e=o.getConfig();this._overlayRef=o,this._width&&!e.width&&o.updateSize({width:this._width}),this._height&&!e.height&&o.updateSize({height:this._height}),o.hostElement.classList.add(Cy),this._isDisposed=!1}top(o=""){return this._bottomOffset="",this._topOffset=o,this._alignItems="flex-start",this}left(o=""){return this._rightOffset="",this._leftOffset=o,this._justifyContent="flex-start",this}bottom(o=""){return this._topOffset="",this._bottomOffset=o,this._alignItems="flex-end",this}right(o=""){return this._leftOffset="",this._rightOffset=o,this._justifyContent="flex-end",this}width(o=""){return this._overlayRef?this._overlayRef.updateSize({width:o}):this._width=o,this}height(o=""){return this._overlayRef?this._overlayRef.updateSize({height:o}):this._height=o,this}centerHorizontally(o=""){return this.left(o),this._justifyContent="center",this}centerVertically(o=""){return this.top(o),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:s,height:a,maxWidth:r,maxHeight:c}=t,d=!("100%"!==s&&"100vw"!==s||r&&"100%"!==r&&"100vw"!==r),h=!("100%"!==a&&"100vh"!==a||c&&"100%"!==c&&"100vh"!==c);o.position=this._cssPosition,o.marginLeft=d?"0":this._leftOffset,o.marginTop=h?"0":this._topOffset,o.marginBottom=this._bottomOffset,o.marginRight=this._rightOffset,d?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(Cy),t.justifyContent=t.alignItems=o.marginTop=o.marginBottom=o.marginLeft=o.marginRight=o.position="",this._overlayRef=null,this._isDisposed=!0}}let My=(()=>{class n{constructor(e,t,s,a){this._viewportRuler=e,this._document=t,this._platform=s,this._overlayContainer=a}global(){return new Ty}flexibleConnectedTo(e){return new Qp(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Go),i.LFG(b.K0),i.LFG(ti),i.LFG(Jp))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Sy=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Wo=(()=>{class n extends Sy{constructor(e){super(e),this._keydownListener=t=>{const s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){s[a]._keydownEvents.next(t);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),eg=(()=>{class n extends Sy{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=lo(s)},this._clickListener=s=>{const a=lo(s),r="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){const h=c[d];if(!(h._outsidePointerEvents.observers.length<1)&&h.hasAttached()){if(h.overlayElement.contains(a)||h.overlayElement.contains(r))break;h._outsidePointerEvents.next(s)}}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$v=0,Ys=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I,W){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=s,this._positionBuilder=a,this._keyboardDispatcher=r,this._injector=c,this._ngZone=d,this._document=h,this._directionality=g,this._location=I,this._outsideClickDispatcher=W}create(e){const t=this._createHostElement(),s=this._createPaneElement(t),a=this._createPortalOutlet(s),r=new Oh(e);return r.direction=r.direction||this._directionality.value,new wy(a,t,s,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+$v++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(i.z2F)),new hv(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Gv),i.LFG(Jp),i.LFG(i._Vd),i.LFG(My),i.LFG(Wo),i.LFG(i.zs3),i.LFG(i.R0b),i.LFG(b.K0),i.LFG(ki),i.LFG(b.Ye),i.LFG(eg))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const aS=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],tg=new i.OlP("cdk-connected-overlay-scroll-strategy");let ky=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),Ey=(()=>{class n{constructor(e,t,s,a,r){this._overlay=e,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=q.w.EMPTY,this._attachSubscription=q.w.EMPTY,this._detachSubscription=q.w.EMPTY,this._positionSubscription=q.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new i.vpe,this.positionChange=new i.vpe,this.attach=new i.vpe,this.detach=new i.vpe,this.overlayKeydown=new i.vpe,this.overlayOutsideClick=new i.vpe,this._templatePortal=new Ko(t,s),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ne(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Ne(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Ne(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Ne(e)}get push(){return this._push}set push(e){this._push=Ne(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=aS);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),27===t.keyCode&&!this.disableClose&&!bn(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Oh({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ky?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function Yp(n,o=!1){return e=>e.lift(new pv(n,o))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ys),i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(tg),i.Y36(ki,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[i.TTD]}),n})();const ig={provide:tg,deps:[Ys],useFactory:function Wv(n){return()=>n.scrollStrategies.reposition()}};let ed=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Ys,ig],imports:[[Al,uc,lc],lc]}),n})();var gc=w(13);function Dy(n){return o=>o.lift(new ng(n))}class ng{constructor(o){this.total=o}call(o,e){return e.subscribe(new sg(o,this.total))}}class sg extends is.L{constructor(o,e){super(o),this.total=e,this.count=0}_next(o){++this.count>this.total&&this.destination.next(o)}}function ya(n,o){return e=>e.lift(new Jv(n,o))}class Jv{constructor(o,e){this.compare=o,this.keySelector=e}call(o,e){return e.subscribe(new Qv(o,this.compare,this.keySelector))}}class Qv extends is.L{constructor(o,e,t){super(o),this.keySelector=t,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(o,e){return o===e}_next(o){let e;try{const{keySelector:s}=this;e=s?s(o):o}catch(s){return this.destination.error(s)}let t=!1;if(this.hasKey)try{const{compare:s}=this;t=s(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;t||(this.key=e,this.destination.next(o))}}let Hh=(()=>{class n{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Xv=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Vi(e);return new Xi.y(s=>{const r=this._observeElement(t).subscribe(s);return()=>{r.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new ke.xQ,s=this._mutationObserverFactory.create(a=>t.next(a));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:s}=this._observedElements.get(e);t&&t.disconnect(),s.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Hh))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),og=(()=>{class n{constructor(e,t,s){this._contentObserver=e,this._elementRef=t,this._ngZone=s,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Ne(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Ii(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe((0,gc.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Xv),i.Y36(i.SBq),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),id=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Hh]}),n})();function nd(n,o){return(n.getAttribute(o)||"").match(/\S+/g)||[]}const sd="cdk-describedby-message",Fh="cdk-describedby-host";let Py=0,eC=(()=>{class n{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Py++,this._document=e}describe(e,t,s){if(!this._canBeDescribed(e,t))return;const a=od(t,s);"string"!=typeof t?(ag(t),this._messageRegistry.set(a,{messageElement:t,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(t,s),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,t,s){var a;if(!t||!this._isElementNode(e))return;const r=od(t,s);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),"string"==typeof t){const c=this._messageRegistry.get(r);c&&0===c.referenceCount&&this._deleteMessageElement(r)}0===(null===(a=this._messagesContainer)||void 0===a?void 0:a.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${Fh}="${this._id}"]`);for(let s=0;s0!=s.indexOf(sd));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const s=this._messageRegistry.get(t);(function xy(n,o,e){const t=nd(n,o);t.some(s=>s.trim()==e.trim())||(t.push(e.trim()),n.setAttribute(o,t.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(Fh,this._id),s.referenceCount++}_removeMessageReference(e,t){const s=this._messageRegistry.get(t);s.referenceCount--,function Ry(n,o,e){const s=nd(n,o).filter(a=>a!=e.trim());s.length?n.setAttribute(o,s.join(" ")):n.removeAttribute(o)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(Fh)}_isElementDescribedByMessage(e,t){const s=nd(e,"aria-describedby"),a=this._messageRegistry.get(t),r=a&&a.messageElement.id;return!!r&&-1!=s.indexOf(r)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const s=null==t?"":`${t}`.trim(),a=e.getAttribute("aria-label");return!(!s||a&&a.trim()===s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function od(n,o){return"string"==typeof n?`${o||""}/${n}`:n}function ag(n){n.id||(n.id=`${sd}-${Py++}`)}class zh{constructor(o){this._items=o,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ke.xQ,this._typeaheadSubscription=q.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new ke.xQ,this.change=new ke.xQ,o instanceof i.n_E&&o.changes.subscribe(e=>{if(this._activeItem){const s=e.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}})}skipPredicate(o){return this._skipPredicateFn=o,this}withWrap(o=!0){return this._wrap=o,this}withVerticalOrientation(o=!0){return this._vertical=o,this}withHorizontalOrientation(o){return this._horizontal=o,this}withAllowedModifierKeys(o){return this._allowedModifierKeys=o,this}withTypeAhead(o=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,V.b)(e=>this._pressedLetters.push(e)),(0,gc.b)(o),(0,Yt.h)(()=>this._pressedLetters.length>0),(0,nt.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let s=1;s!o[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||bn(o,"shiftKey"))&&(o.key&&1===o.key.length?this._letterKeyStream.next(o.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],o.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(o){const e=this._getItemsArray(),t="number"==typeof o?o:e.indexOf(o),s=e[t];this._activeItem=null==s?null:s,this._activeItemIndex=t}_setActiveItemByDelta(o){this._wrap?this._setActiveInWrapMode(o):this._setActiveInDefaultMode(o)}_setActiveInWrapMode(o){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const s=(this._activeItemIndex+o*t+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(o){this._setActiveItemByIndex(this._activeItemIndex+o,o)}_setActiveItemByIndex(o,e){const t=this._getItemsArray();if(t[o]){for(;this._skipPredicateFn(t[o]);)if(!t[o+=e])return;this.setActiveItem(o)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}class rd extends zh{setActiveItem(o){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(o),this.activeItem&&this.activeItem.setActiveStyles()}}class Cl extends zh{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(o){return this._origin=o,this}setActiveItem(o){super.setActiveItem(o),this.activeItem&&this.activeItem.focus(this._origin)}}let Nh=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Oy(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function Iy(n){try{return n.frameElement}catch(o){return null}}(function Tl(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===lg(t)||!this.isVisible(t)))return!1;let s=e.nodeName.toLowerCase(),a=lg(e);return e.hasAttribute("contenteditable")?-1!==a:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function sC(n){let o=n.nodeName.toLowerCase(),e="input"===o&&n.type;return"text"===e||"password"===e||"select"===o||"textarea"===o}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==a:"video"===s?-1!==a&&(null!==a||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function oC(n){return!function cg(n){return function nC(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function tC(n){let o=n.nodeName.toLowerCase();return"input"===o||"select"===o||"button"===o||"textarea"===o}(n)||function iC(n){return function Hy(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||mc(n))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function mc(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let o=n.getAttribute("tabindex");return!(!o||isNaN(parseInt(o,10)))}function lg(n){if(!mc(n))return null;const o=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(o)?-1:o}class rC{constructor(o,e,t,s,a=!1){this._element=o,this._checker=e,this._ngZone=t,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(o){this._enabled=o,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}destroy(){const o=this._startAnchor,e=this._endAnchor;o&&(o.removeEventListener("focus",this.startAnchorListener),o.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(o)))})}focusFirstTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(o)))})}focusLastTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(o)))})}_getRegionBoundary(o){const e=this._element.querySelectorAll(`[cdk-focus-region-${o}], [cdkFocusRegion${o}], [cdk-focus-${o}]`);return"start"==o?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(o){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(o),!!t}return e.focus(o),!0}return this.focusFirstTabbableElement(o)}focusFirstTabbableElement(o){const e=this._getRegionBoundary("start");return e&&e.focus(o),!!e}focusLastTabbableElement(o){const e=this._getRegionBoundary("end");return e&&e.focus(o),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(o){if(this._checker.isFocusable(o)&&this._checker.isTabbable(o))return o;const e=o.children;for(let t=0;t=0;t--){const s=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(s)return s}return null}_createAnchor(){const o=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,o),o.classList.add("cdk-visually-hidden"),o.classList.add("cdk-focus-trap-anchor"),o.setAttribute("aria-hidden","true"),o}_toggleAnchorTabIndex(o,e){o?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(o){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}_executeOnStable(o){this._ngZone.isStable?o():this._ngZone.onStable.pipe((0,jt.q)(1)).subscribe(o)}}let ug=(()=>{class n{constructor(e,t,s){this._checker=e,this._ngZone=t,this._document=s}create(e,t=!1){return new rC(e,this._checker,this._ngZone,this._document,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Nh),i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),aC=(()=>{class n{constructor(e,t,s){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=Ne(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=Ne(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=wl(),this.focusTrap.focusInitialElementWhenReady()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(ug),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[i.TTD]}),n})();function ad(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function cd(n){const o=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!o||-1!==o.identifier||null!=o.radiusX&&1!==o.radiusX||null!=o.radiusY&&1!==o.radiusY)}const uC=new i.OlP("cdk-input-modality-detector-options"),dC={ignoreKeys:[18,17,224,91,16]},Ml=Vo({passive:!0,capture:!0});let Ny=(()=>{class n{constructor(e,t,s,a){this._platform=e,this._mostRecentTarget=null,this._modality=new Qi(null),this._lastTouchMs=0,this._onKeydown=r=>{var c,d;(null===(d=null===(c=this._options)||void 0===c?void 0:c.ignoreKeys)||void 0===d?void 0:d.some(h=>h===r.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=lo(r))},this._onMousedown=r=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ad(r)?"keyboard":"mouse"),this._mostRecentTarget=lo(r))},this._onTouchstart=r=>{cd(r)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=lo(r))},this._options=Object.assign(Object.assign({},dC),a),this.modalityDetected=this._modality.pipe(Dy(1)),this.modalityChanged=this.modalityDetected.pipe(ya()),e.isBrowser&&t.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,Ml),s.addEventListener("mousedown",this._onMousedown,Ml),s.addEventListener("touchstart",this._onTouchstart,Ml)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ml),document.removeEventListener("mousedown",this._onMousedown,Ml),document.removeEventListener("touchstart",this._onTouchstart,Ml))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ti),i.LFG(i.R0b),i.LFG(b.K0),i.LFG(uC,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const uS=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function By(){return null}}),hC=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Yy=(()=>{class n{constructor(e,t,s,a){this._ngZone=t,this._defaultOptions=a,this._document=s,this._liveElement=e||this._createLiveElement()}announce(e,...t){const s=this._defaultOptions;let a,r;return 1===t.length&&"number"==typeof t[0]?r=t[0]:[a,r]=t,this.clear(),clearTimeout(this._previousTimeout),a||(a=s&&s.politeness?s.politeness:"polite"),null==r&&s&&(r=s.duration),this._liveElement.setAttribute("aria-live",a),this._ngZone.runOutsideAngular(()=>new Promise(c=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,c(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let a=0;a{class n{constructor(e,t,s,a){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=s,this._ngZone=a,this._politeness="polite"}get politeness(){return this._politeness}set politeness(e){this._politeness="off"===e||"assertive"===e?e:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Yy),i.Y36(Xv),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),n})();const hS=new i.OlP("cdk-focus-monitor-default-options"),Sl=Vo({passive:!0,capture:!0});let As=(()=>{class n{constructor(e,t,s,a,r){this._ngZone=e,this._platform=t,this._inputModalityDetector=s,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ke.xQ,this._rootNodeFocusAndBlurListener=c=>{const d=lo(c),h="focus"===c.type?this._onFocus:this._onBlur;for(let g=d;g;g=g.parentElement)h.call(this,c,g)},this._document=a,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(e,t=!1){const s=Vi(e);if(!this._platform.isBrowser||1!==s.nodeType)return(0,Ye.of)(null);const a=bl(s)||this._getDocument(),r=this._elementInfo.get(s);if(r)return t&&(r.checkChildren=!0),r.subject;const c={checkChildren:t,subject:new ke.xQ,rootNode:a};return this._elementInfo.set(s,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const t=Vi(e),s=this._elementInfo.get(t);s&&(s.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(s))}focusVia(e,t,s){const a=Vi(e);a===this._getDocument().activeElement?this._getClosestElementsInfo(a).forEach(([c,d])=>this._originChanged(c,t,d)):(this._setOrigin(t),"function"==typeof a.focus&&a.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&t,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,t){const s=this._elementInfo.get(t),a=lo(e);!s||!s.checkChildren&&t!==a||this._originChanged(t,this._getFocusOrigin(a),s)}_onBlur(e,t){const s=this._elementInfo.get(t);!s||s.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(s.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,s=this._rootNodeFocusListenerCount.get(t)||0;s||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Sl),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Sl)}),this._rootNodeFocusListenerCount.set(t,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ke(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const s=this._rootNodeFocusListenerCount.get(t);s>1?this._rootNodeFocusListenerCount.set(t,s-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Sl),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Sl),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,s){this._setClasses(e,t),this._emitOrigin(s.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((s,a)=>{(a===e||s.checkChildren&&a.contains(e))&&t.push([a,s])}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(ti),i.LFG(Ny),i.LFG(b.K0,8),i.LFG(hS,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dg=(()=>{class n{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new i.vpe}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(As))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),n})();const hg="cdk-high-contrast-black-on-white",fC="cdk-high-contrast-white-on-black",vs="cdk-high-contrast-active";let pC=(()=>{class n{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,s=t&&t.getComputedStyle?t.getComputedStyle(e):null,a=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(vs),e.remove(hg),e.remove(fC),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(vs),e.add(hg)):2===t&&(e.add(vs),e.add(fC))}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ti),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),jy=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(pC))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[pa,id]]}),n})();class fg{}const Jo="*";function ni(n,o){return{type:7,name:n,definitions:o,options:{}}}function dt(n,o=null){return{type:4,styles:o,timings:n}}function pg(n,o=null){return{type:3,steps:n,options:o}}function Bh(n,o=null){return{type:2,steps:n,options:o}}function De(n){return{type:6,styles:n,offset:null}}function yt(n,o,e){return{type:0,name:n,styles:o,options:e}}function _c(n){return{type:5,steps:n}}function ht(n,o,e=null){return{type:1,expr:n,animation:o,options:e}}function Vy(n=null){return{type:9,options:n}}function po(n,o,e=null){return{type:11,selector:n,animation:o,options:e}}function yc(n){Promise.resolve(null).then(n)}class ld{constructor(o=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=o+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){yc(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(o){this._position=this.totalTime?o*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class kl{constructor(o){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=o;let e=0,t=0,s=0;const a=this.players.length;0==a?yc(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++e==a&&this._onFinish()}),r.onDestroy(()=>{++t==a&&this._onDestroy()}),r.onStart(()=>{++s==a&&this._onStart()})}),this.totalTime=this.players.reduce((r,c)=>Math.max(r,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this.players.forEach(o=>o.init())}onStart(o){this._onStartFns.push(o)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(o=>o()),this._onStartFns=[])}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(o=>o.play())}pause(){this.players.forEach(o=>o.pause())}restart(){this.players.forEach(o=>o.restart())}finish(){this._onFinish(),this.players.forEach(o=>o.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(o=>o.destroy()),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this.players.forEach(o=>o.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(o){const e=o*this.totalTime;this.players.forEach(t=>{const s=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(s)})}getPosition(){const o=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=o?o.getPosition():0}beforeDestroy(){this.players.forEach(o=>{o.beforeDestroy&&o.beforeDestroy()})}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function gC(){return"undefined"!=typeof window&&void 0!==window.document}function ud(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function kn(n){switch(n.length){case 0:return new ld;case 1:return n[0];default:return new kl(n)}}function El(n,o,e,t,s={},a={}){const r=[],c=[];let d=-1,h=null;if(t.forEach(g=>{const I=g.offset,W=I==d,ce=W&&h||{};Object.keys(g).forEach(be=>{let Me=be,Fe=g[be];if("offset"!==be)switch(Me=o.normalizePropertyName(Me,r),Fe){case"!":Fe=s[be];break;case Jo:Fe=a[be];break;default:Fe=o.normalizeStyleValue(be,Me,Fe,r)}ce[Me]=Fe}),W||c.push(ce),h=ce,d=I}),r.length){const g="\n - ";throw new Error(`Unable to animate due to the following errors:${g}${r.join(g)}`)}return c}function wn(n,o,e,t){switch(o){case"start":n.onStart(()=>t(e&&Rr(e,"start",n)));break;case"done":n.onDone(()=>t(e&&Rr(e,"done",n)));break;case"destroy":n.onDestroy(()=>t(e&&Rr(e,"destroy",n)))}}function Rr(n,o,e){const t=e.totalTime,a=Dl(n.element,n.triggerName,n.fromState,n.toState,o||n.phaseName,null==t?n.totalTime:t,!!e.disabled),r=n._data;return null!=r&&(a._data=r),a}function Dl(n,o,e,t,s="",a=0,r){return{element:n,triggerName:o,fromState:e,toState:t,phaseName:s,totalTime:a,disabled:!!r}}function Ei(n,o,e){let t;return n instanceof Map?(t=n.get(o),t||n.set(o,t=e)):(t=n[o],t||(t=n[o]=e)),t}function Yh(n){const o=n.indexOf(":");return[n.substring(1,o),n.substr(o+1)]}let wa=(n,o)=>!1,bc=(n,o,e)=>[];(ud()||"undefined"!=typeof Element)&&(wa=gC()?(n,o)=>{for(;o&&o!==document.documentElement;){if(o===n)return!0;o=o.parentNode||o.host}return!1}:(n,o)=>n.contains(o),bc=(n,o,e)=>{if(e)return Array.from(n.querySelectorAll(o));const t=n.querySelector(o);return t?[t]:[]});let js=null,wc=!1;function Ac(n){js||(js=function Rl(){return"undefined"!=typeof document?document.body:null}()||{},wc=!!js.style&&"WebkitAppearance"in js.style);let o=!0;return js.style&&!function xl(n){return"ebkit"==n.substring(1,6)}(n)&&(o=n in js.style,!o&&wc&&(o="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in js.style)),o}const vc=wa,_g=bc;let yg=(()=>{class n{validateStyleProperty(e){return Ac(e)}matchesElement(e,t){return!1}containsElement(e,t){return vc(e,t)}query(e,t,s){return _g(e,t,s)}computeStyle(e,t,s){return s||""}animate(e,t,s,a,r,c=[],d){return new ld(s,a)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),jh=(()=>{class n{}return n.NOOP=new yg,n})();const Uh="ng-enter",hd="ng-leave",Vh="ng-trigger",fd=".ng-trigger",Ky="ng-animating",qh=".ng-animating";function Aa(n){if("number"==typeof n)return n;const o=n.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:wg(parseFloat(o[1]),o[2])}function wg(n,o){return"s"===o?1e3*n:n}function Gh(n,o,e){return n.hasOwnProperty("duration")?n:function Zy(n,o,e){let s,a=0,r="";if("string"==typeof n){const c=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return o.push(`The provided timing value "${n}" is invalid.`),{duration:0,delay:0,easing:""};s=wg(parseFloat(c[1]),c[2]);const d=c[3];null!=d&&(a=wg(parseFloat(d),c[4]));const h=c[5];h&&(r=h)}else s=n;if(!e){let c=!1,d=o.length;s<0&&(o.push("Duration values below 0 are not allowed for this animation step."),c=!0),a<0&&(o.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&o.splice(d,0,`The provided timing value "${n}" is invalid.`)}return{duration:s,delay:a,easing:r}}(n,o,e)}function Pl(n,o={}){return Object.keys(n).forEach(e=>{o[e]=n[e]}),o}function va(n,o,e={}){if(o)for(let t in n)e[t]=n[t];else Pl(n,e);return e}function $y(n,o,e){return e?o+":"+e+";":""}function _C(n){let o="";for(let e=0;e{const s=Qy(t);e&&!e.hasOwnProperty(t)&&(e[t]=n.style[s]),n.style[s]=o[t]}),ud()&&_C(n))}function Pr(n,o){n.style&&(Object.keys(o).forEach(e=>{const t=Qy(e);n.style[t]=""}),ud()&&_C(n))}function Cc(n){return Array.isArray(n)?1==n.length?n[0]:Bh(n):n}const Wy=new RegExp("{{\\s*(.+?)\\s*}}","g");function bC(n){let o=[];if("string"==typeof n){let e;for(;e=Wy.exec(n);)o.push(e[1]);Wy.lastIndex=0}return o}function vg(n,o,e){const t=n.toString(),s=t.replace(Wy,(a,r)=>{let c=o[r];return o.hasOwnProperty(r)||(e.push(`Please provide a value for the animation param ${r}`),c=""),c.toString()});return s==t?n:s}function Kh(n){const o=[];let e=n.next();for(;!e.done;)o.push(e.value),e=n.next();return o}const Jy=/-+([a-z0-9])/g;function Qy(n){return n.replace(Jy,(...o)=>o[1].toUpperCase())}function wC(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function cs(n,o,e){switch(o.type){case 7:return n.visitTrigger(o,e);case 0:return n.visitState(o,e);case 1:return n.visitTransition(o,e);case 2:return n.visitSequence(o,e);case 3:return n.visitGroup(o,e);case 4:return n.visitAnimate(o,e);case 5:return n.visitKeyframes(o,e);case 6:return n.visitStyle(o,e);case 8:return n.visitReference(o,e);case 9:return n.visitAnimateChild(o,e);case 10:return n.visitAnimateRef(o,e);case 11:return n.visitQuery(o,e);case 12:return n.visitStagger(o,e);default:throw new Error(`Unable to resolve animation metadata node #${o.type}`)}}function Xy(n,o){return window.getComputedStyle(n)[o]}function Zh(n,o){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(t=>function vC(n,o,e){if(":"==n[0]){const d=function eb(n,o){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(n,e);if("function"==typeof d)return void o.push(d);n=d}const t=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${n}" is not supported`),o;const s=t[1],a=t[2],r=t[3];o.push(tb(s,r));"<"==a[0]&&!("*"==s&&"*"==r)&&o.push(tb(r,s))}(t,e,o)):e.push(n),e}const $h=new Set(["true","1"]),Wh=new Set(["false","0"]);function tb(n,o){const e=$h.has(n)||Wh.has(n),t=$h.has(o)||Wh.has(o);return(s,a)=>{let r="*"==n||n==s,c="*"==o||o==a;return!r&&e&&"boolean"==typeof s&&(r=s?$h.has(n):Wh.has(n)),!c&&t&&"boolean"==typeof a&&(c=a?$h.has(o):Wh.has(o)),r&&c}}const CC=new RegExp("s*:selfs*,?","g");function Jh(n,o,e){return new sb(n).build(o,e)}class sb{constructor(o){this._driver=o}build(o,e){const t=new gS(e);return this._resetContextStyleTimingState(t),cs(this,Cc(o),t)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles={},o.collectedStyles[""]={},o.currentTime=0}visitTrigger(o,e){let t=e.queryCount=0,s=e.depCount=0;const a=[],r=[];return"@"==o.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),o.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const d=c,h=d.name;h.toString().split(/\s*,\s*/).forEach(g=>{d.name=g,a.push(this.visitState(d,e))}),d.name=h}else if(1==c.type){const d=this.visitTransition(c,e);t+=d.queryCount,s+=d.depCount,r.push(d)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:o.name,states:a,transitions:r,queryCount:t,depCount:s,options:null}}visitState(o,e){const t=this.visitStyle(o.styles,e),s=o.options&&o.options.params||null;if(t.containsDynamicStyles){const a=new Set,r=s||{};if(t.styles.forEach(c=>{if(Qh(c)){const d=c;Object.keys(d).forEach(h=>{bC(d[h]).forEach(g=>{r.hasOwnProperty(g)||a.add(g)})})}}),a.size){const c=Kh(a.values());e.errors.push(`state("${o.name}", ...) must define default values for all the following style substitutions: ${c.join(", ")}`)}}return{type:0,name:o.name,style:t,options:s?{params:s}:null}}visitTransition(o,e){e.queryCount=0,e.depCount=0;const t=cs(this,Cc(o.animation),e);return{type:1,matchers:Zh(o.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:go(o.options)}}visitSequence(o,e){return{type:2,steps:o.steps.map(t=>cs(this,t,e)),options:go(o.options)}}visitGroup(o,e){const t=e.currentTime;let s=0;const a=o.steps.map(r=>{e.currentTime=t;const c=cs(this,r,e);return s=Math.max(s,e.currentTime),c});return e.currentTime=s,{type:3,steps:a,options:go(o.options)}}visitAnimate(o,e){const t=function mS(n,o){let e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return Xh(Gh(n,o).duration,0,"");const t=n;if(t.split(/\s+/).some(a=>"{"==a.charAt(0)&&"{"==a.charAt(1))){const a=Xh(0,0,"");return a.dynamic=!0,a.strValue=t,a}return e=e||Gh(t,o),Xh(e.duration,e.delay,e.easing)}(o.timings,e.errors);e.currentAnimateTimings=t;let s,a=o.styles?o.styles:De({});if(5==a.type)s=this.visitKeyframes(a,e);else{let r=o.styles,c=!1;if(!r){c=!0;const h={};t.easing&&(h.easing=t.easing),r=De(h)}e.currentTime+=t.duration+t.delay;const d=this.visitStyle(r,e);d.isEmptyStep=c,s=d}return e.currentAnimateTimings=null,{type:4,timings:t,style:s,options:null}}visitStyle(o,e){const t=this._makeStyleAst(o,e);return this._validateStyleAst(t,e),t}_makeStyleAst(o,e){const t=[];Array.isArray(o.styles)?o.styles.forEach(r=>{"string"==typeof r?r==Jo?t.push(r):e.errors.push(`The provided style string value ${r} is not allowed.`):t.push(r)}):t.push(o.styles);let s=!1,a=null;return t.forEach(r=>{if(Qh(r)){const c=r,d=c.easing;if(d&&(a=d,delete c.easing),!s)for(let h in c)if(c[h].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:t,easing:a,offset:o.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(o,e){const t=e.currentAnimateTimings;let s=e.currentTime,a=e.currentTime;t&&a>0&&(a-=t.duration+t.delay),o.styles.forEach(r=>{"string"!=typeof r&&Object.keys(r).forEach(c=>{if(!this._driver.validateStyleProperty(c))return void e.errors.push(`The provided animation property "${c}" is not a supported CSS property for animations`);const d=e.collectedStyles[e.currentQuerySelector],h=d[c];let g=!0;h&&(a!=s&&a>=h.startTime&&s<=h.endTime&&(e.errors.push(`The CSS property "${c}" that exists between the times of "${h.startTime}ms" and "${h.endTime}ms" is also being animated in a parallel animation between the times of "${a}ms" and "${s}ms"`),g=!1),a=h.startTime),g&&(d[c]={startTime:a,endTime:s}),e.options&&function yC(n,o,e){const t=o.params||{},s=bC(n);s.length&&s.forEach(a=>{t.hasOwnProperty(a)||e.push(`Unable to resolve the local animation param ${a} in the given list of values`)})}(r[c],e.options,e.errors)})})}visitKeyframes(o,e){const t={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),t;let a=0;const r=[];let c=!1,d=!1,h=0;const g=o.steps.map(Ft=>{const Qt=this._makeStyleAst(Ft,e);let Pt=null!=Qt.offset?Qt.offset:function Tg(n){if("string"==typeof n)return null;let o=null;if(Array.isArray(n))n.forEach(e=>{if(Qh(e)&&e.hasOwnProperty("offset")){const t=e;o=parseFloat(t.offset),delete t.offset}});else if(Qh(n)&&n.hasOwnProperty("offset")){const e=n;o=parseFloat(e.offset),delete e.offset}return o}(Qt.styles),oi=0;return null!=Pt&&(a++,oi=Qt.offset=Pt),d=d||oi<0||oi>1,c=c||oi0&&a{const Pt=W>0?Qt==ce?1:W*Qt:r[Qt],oi=Pt*Fe;e.currentTime=be+Me.delay+oi,Me.duration=oi,this._validateStyleAst(Ft,e),Ft.offset=Pt,t.styles.push(Ft)}),t}visitReference(o,e){return{type:8,animation:cs(this,Cc(o.animation),e),options:go(o.options)}}visitAnimateChild(o,e){return e.depCount++,{type:9,options:go(o.options)}}visitAnimateRef(o,e){return{type:10,animation:this.visitReference(o.animation,e),options:go(o.options)}}visitQuery(o,e){const t=e.currentQuerySelector,s=o.options||{};e.queryCount++,e.currentQuery=o;const[a,r]=function ob(n){const o=!!n.split(/\s*,\s*/).find(e=>":self"==e);return o&&(n=n.replace(CC,"")),n=n.replace(/@\*/g,fd).replace(/@\w+/g,e=>fd+"-"+e.substr(1)).replace(/:animating/g,qh),[n,o]}(o.selector);e.currentQuerySelector=t.length?t+" "+a:a,Ei(e.collectedStyles,e.currentQuerySelector,{});const c=cs(this,Cc(o.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:a,limit:s.limit||0,optional:!!s.optional,includeSelf:r,animation:c,originalSelector:o.selector,options:go(o.options)}}visitStagger(o,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===o.timings?{duration:0,delay:0,easing:"full"}:Gh(o.timings,e.errors,!0);return{type:12,animation:cs(this,Cc(o.animation),e),timings:t,options:null}}}class gS{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Qh(n){return!Array.isArray(n)&&"object"==typeof n}function go(n){return n?(n=Pl(n)).params&&(n.params=function Cg(n){return n?Pl(n):null}(n.params)):n={},n}function Xh(n,o,e){return{duration:n,delay:o,easing:e}}function gd(n,o,e,t,s,a,r=null,c=!1){return{type:1,element:n,keyframes:o,preStyleProps:e,postStyleProps:t,duration:s,delay:a,totalTime:s+a,easing:r,subTimeline:c}}class Il{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,e){let t=this._map.get(o);t||this._map.set(o,t=[]),t.push(...e)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Sg=new RegExp(":enter","g"),_S=new RegExp(":leave","g");function kg(n,o,e,t,s,a={},r={},c,d,h=[]){return(new Eg).buildKeyframes(n,o,e,t,s,a,r,c,d,h)}class Eg{buildKeyframes(o,e,t,s,a,r,c,d,h,g=[]){h=h||new Il;const I=new ef(o,e,h,s,a,g,[]);I.options=d,I.currentTimeline.setStyles([r],null,I.errors,d),cs(this,t,I);const W=I.timelines.filter(ce=>ce.containsAnimation());if(Object.keys(c).length){let ce;for(let be=W.length-1;be>=0;be--){const Me=W[be];if(Me.element===e){ce=Me;break}}ce&&!ce.allowOnlyTimelineStyles()&&ce.setStyles([c],null,I.errors,d)}return W.length?W.map(ce=>ce.buildKeyframes()):[gd(e,[],[],[],0,0,"",!1)]}visitTrigger(o,e){}visitState(o,e){}visitTransition(o,e){}visitAnimateChild(o,e){const t=e.subInstructions.get(e.element);if(t){const s=e.createSubContext(o.options),a=e.currentTimeline.currentTime,r=this._visitSubInstructions(t,s,s.options);a!=r&&e.transformIntoNewTimeline(r)}e.previousNode=o}visitAnimateRef(o,e){const t=e.createSubContext(o.options);t.transformIntoNewTimeline(),this.visitReference(o.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=o}_visitSubInstructions(o,e,t){let a=e.currentTimeline.currentTime;const r=null!=t.duration?Aa(t.duration):null,c=null!=t.delay?Aa(t.delay):null;return 0!==r&&o.forEach(d=>{const h=e.appendInstructionToTimeline(d,r,c);a=Math.max(a,h.duration+h.delay)}),a}visitReference(o,e){e.updateOptions(o.options,!0),cs(this,o.animation,e),e.previousNode=o}visitSequence(o,e){const t=e.subContextCount;let s=e;const a=o.options;if(a&&(a.params||a.delay)&&(s=e.createSubContext(a),s.transformIntoNewTimeline(),null!=a.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Ol);const r=Aa(a.delay);s.delayNextStep(r)}o.steps.length&&(o.steps.forEach(r=>cs(this,r,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>t&&s.transformIntoNewTimeline()),e.previousNode=o}visitGroup(o,e){const t=[];let s=e.currentTimeline.currentTime;const a=o.options&&o.options.delay?Aa(o.options.delay):0;o.steps.forEach(r=>{const c=e.createSubContext(o.options);a&&c.delayNextStep(a),cs(this,r,c),s=Math.max(s,c.currentTimeline.currentTime),t.push(c.currentTimeline)}),t.forEach(r=>e.currentTimeline.mergeTimelineCollectedStyles(r)),e.transformIntoNewTimeline(s),e.previousNode=o}_visitTiming(o,e){if(o.dynamic){const t=o.strValue;return Gh(e.params?vg(t,e.params,e.errors):t,e.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,e){const t=e.currentAnimateTimings=this._visitTiming(o.timings,e),s=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),s.snapshotCurrentStyles());const a=o.style;5==a.type?this.visitKeyframes(a,e):(e.incrementTime(t.duration),this.visitStyle(a,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=o}visitStyle(o,e){const t=e.currentTimeline,s=e.currentAnimateTimings;!s&&t.getCurrentStyleProperties().length&&t.forwardFrame();const a=s&&s.easing||o.easing;o.isEmptyStep?t.applyEmptyStep(a):t.setStyles(o.styles,a,e.errors,e.options),e.previousNode=o}visitKeyframes(o,e){const t=e.currentAnimateTimings,s=e.currentTimeline.duration,a=t.duration,c=e.createSubContext().currentTimeline;c.easing=t.easing,o.styles.forEach(d=>{c.forwardTime((d.offset||0)*a),c.setStyles(d.styles,d.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(s+a),e.previousNode=o}visitQuery(o,e){const t=e.currentTimeline.currentTime,s=o.options||{},a=s.delay?Aa(s.delay):0;a&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Ol);let r=t;const c=e.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=c.length;let d=null;c.forEach((h,g)=>{e.currentQueryIndex=g;const I=e.createSubContext(o.options,h);a&&I.delayNextStep(a),h===e.element&&(d=I.currentTimeline),cs(this,o.animation,I),I.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,I.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=o}visitStagger(o,e){const t=e.parentContext,s=e.currentTimeline,a=o.timings,r=Math.abs(a.duration),c=r*(e.currentQueryTotal-1);let d=r*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":d=c-d;break;case"full":d=t.currentStaggerTime}const g=e.currentTimeline;d&&g.delayNextStep(d);const I=g.currentTime;cs(this,o.animation,e),e.previousNode=o,t.currentStaggerTime=s.currentTime-I+(s.startTime-t.currentTimeline.startTime)}}const Ol={};class ef{constructor(o,e,t,s,a,r,c,d){this._driver=o,this.element=e,this.subInstructions=t,this._enterClassName=s,this._leaveClassName=a,this.errors=r,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ol,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new md(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,e){if(!o)return;const t=o;let s=this.options;null!=t.duration&&(s.duration=Aa(t.duration)),null!=t.delay&&(s.delay=Aa(t.delay));const a=t.params;if(a){let r=s.params;r||(r=this.options.params={}),Object.keys(a).forEach(c=>{(!e||!r.hasOwnProperty(c))&&(r[c]=vg(a[c],r,this.errors))})}}_copyOptions(){const o={};if(this.options){const e=this.options.params;if(e){const t=o.params={};Object.keys(e).forEach(s=>{t[s]=e[s]})}}return o}createSubContext(o=null,e,t){const s=e||this.element,a=new ef(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,t||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(o),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(o){return this.previousNode=Ol,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,e,t){const s={duration:null!=e?e:o.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+o.delay,easing:""},a=new Dg(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,s,o.stretchStartingKeyframe);return this.timelines.push(a),s}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,e,t,s,a,r){let c=[];if(s&&c.push(this.element),o.length>0){o=(o=o.replace(Sg,"."+this._enterClassName)).replace(_S,"."+this._leaveClassName);let h=this._driver.query(this.element,o,1!=t);0!==t&&(h=t<0?h.slice(h.length+t,h.length):h.slice(0,t)),c.push(...h)}return!a&&0==c.length&&r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),c}}class md{constructor(o,e,t,s){this._driver=o,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+o),e&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,e){return this.applyStylesToKeyframe(),new md(this._driver,o,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,e){this._localTimelineStyles[o]=e,this._globalTimelineStyles[o]=e,this._styleSummary[o]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&(this._previousKeyframe.easing=o),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||Jo,this._currentKeyframe[e]=Jo}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,e,t,s){e&&(this._previousKeyframe.easing=e);const a=s&&s.params||{},r=function ab(n,o){const e={};let t;return n.forEach(s=>{"*"===s?(t=t||Object.keys(o),t.forEach(a=>{e[a]=Jo})):va(s,!1,e)}),e}(o,this._globalTimelineStyles);Object.keys(r).forEach(c=>{const d=vg(r[c],a,t);this._pendingStyles[c]=d,this._localTimelineStyles.hasOwnProperty(c)||(this._backFill[c]=this._globalTimelineStyles.hasOwnProperty(c)?this._globalTimelineStyles[c]:Jo),this._updateStyle(c,d)})}applyStylesToKeyframe(){const o=this._pendingStyles,e=Object.keys(o);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=o[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(o=>{const e=this._localTimelineStyles[o];this._pendingStyles[o]=e,this._updateStyle(o,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let e in this._currentKeyframe)o.push(e);return o}mergeTimelineCollectedStyles(o){Object.keys(o._styleSummary).forEach(e=>{const t=this._styleSummary[e],s=o._styleSummary[e];(!t||s.time>t.time)&&this._updateStyle(e,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((c,d)=>{const h=va(c,!0);Object.keys(h).forEach(g=>{const I=h[g];"!"==I?o.add(g):I==Jo&&e.add(g)}),t||(h.offset=d/this.duration),s.push(h)});const a=o.size?Kh(o.values()):[],r=e.size?Kh(e.values()):[];if(t){const c=s[0],d=Pl(c);c.offset=0,d.offset=1,s=[c,d]}return gd(this.element,s,a,r,this.duration,this.startTime,this.easing,!1)}}class Dg extends md{constructor(o,e,t,s,a,r,c=!1){super(o,e,r.delay),this.keyframes=t,this.preStyleProps=s,this.postStyleProps=a,this._stretchStartingKeyframe=c,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:e,duration:t,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const a=[],r=t+e,c=e/r,d=va(o[0],!1);d.offset=0,a.push(d);const h=va(o[0],!1);h.offset=xg(c),a.push(h);const g=o.length-1;for(let I=1;I<=g;I++){let W=va(o[I],!1);W.offset=xg((e+W.offset*t)/r),a.push(W)}t=r,e=0,s="",o=a}return gd(this.element,o,this.preStyleProps,this.postStyleProps,t,e,s,!0)}}function xg(n,o=3){const e=Math.pow(10,o-1);return Math.round(n*e)/e}class _d{}class lb extends _d{normalizePropertyName(o,e){return Qy(o)}normalizeStyleValue(o,e,t,s){let a="";const r=t.toString().trim();if(ub[e]&&0!==t&&"0"!==t)if("number"==typeof t)a="px";else{const c=t.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&s.push(`Please provide a CSS unit value for ${o}:${t}`)}return r+a}}const ub=(()=>function Rg(n){const o={};return n.forEach(e=>o[e]=!0),o}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Pg(n,o,e,t,s,a,r,c,d,h,g,I,W){return{type:0,element:n,triggerName:o,isRemovalTransition:s,fromState:e,fromStyles:a,toState:t,toStyles:r,timelines:c,queriedElements:d,preStyleProps:h,postStyleProps:g,totalTime:I,errors:W}}const Lg={};class Ig{constructor(o,e,t){this._triggerName=o,this.ast=e,this._stateStyles=t}match(o,e,t,s){return function db(n,o,e,t,s){return n.some(a=>a(o,e,t,s))}(this.ast.matchers,o,e,t,s)}buildStyles(o,e,t){const s=this._stateStyles["*"],a=this._stateStyles[o],r=s?s.buildStyles(e,t):{};return a?a.buildStyles(e,t):r}build(o,e,t,s,a,r,c,d,h,g){const I=[],W=this.ast.options&&this.ast.options.params||Lg,be=this.buildStyles(t,c&&c.params||Lg,I),Me=d&&d.params||Lg,Fe=this.buildStyles(s,Me,I),Ft=new Set,Qt=new Map,Pt=new Map,oi="void"===s,_u={params:Object.assign(Object.assign({},W),Me)},Fa=g?[]:kg(o,e,this.ast.animation,a,r,be,Fe,_u,h,I);let Es=0;if(Fa.forEach(Yc=>{Es=Math.max(Yc.duration+Yc.delay,Es)}),I.length)return Pg(e,this._triggerName,t,s,oi,be,Fe,[],[],Qt,Pt,Es,I);Fa.forEach(Yc=>{const jc=Yc.element,PD=Ei(Qt,jc,{});Yc.preStyleProps.forEach(Wd=>PD[Wd]=!0);const v_=Ei(Pt,jc,{});Yc.postStyleProps.forEach(Wd=>v_[Wd]=!0),jc!==e&&Ft.add(jc)});const Bc=Kh(Ft.values());return Pg(e,this._triggerName,t,s,oi,be,Fe,Fa,Bc,Qt,Pt,Es)}}class Og{constructor(o,e,t){this.styles=o,this.defaultParams=e,this.normalizer=t}buildStyles(o,e){const t={},s=Pl(this.defaultParams);return Object.keys(o).forEach(a=>{const r=o[a];null!=r&&(s[a]=r)}),this.styles.styles.forEach(a=>{if("string"!=typeof a){const r=a;Object.keys(r).forEach(c=>{let d=r[c];d.length>1&&(d=vg(d,s,e));const h=this.normalizer.normalizePropertyName(c,e);d=this.normalizer.normalizeStyleValue(c,h,d,e),t[h]=d})}}),t}}class hb{constructor(o,e,t){this.name=o,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(s=>{this.states[s.name]=new Og(s.style,s.options&&s.options.params||{},t)}),Fg(this.states,"true","1"),Fg(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new Ig(o,s,this.states))}),this.fallbackTransition=function fb(n,o,e){return new Ig(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(r,c)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,e,t,s){return this.transitionFactories.find(r=>r.match(o,e,t,s))||null}matchStyles(o,e,t){return this.fallbackTransition.buildStyles(o,e,t)}}function Fg(n,o,e){n.hasOwnProperty(o)?n.hasOwnProperty(e)||(n[e]=n[o]):n.hasOwnProperty(e)&&(n[o]=n[e])}const pb=new Il;class gb{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(o,e){const t=[],s=Jh(this._driver,e,t);if(t.length)throw new Error(`Unable to build the animation due to the following errors: ${t.join("\n")}`);this._animations[o]=s}_buildPlayer(o,e,t){const s=o.element,a=El(0,this._normalizer,0,o.keyframes,e,t);return this._driver.animate(s,a,o.duration,o.delay,o.easing,[],!0)}create(o,e,t={}){const s=[],a=this._animations[o];let r;const c=new Map;if(a?(r=kg(this._driver,e,a,Uh,hd,{},{},t,pb,s),r.forEach(g=>{const I=Ei(c,g.element,{});g.postStyleProps.forEach(W=>I[W]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),r=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);c.forEach((g,I)=>{Object.keys(g).forEach(W=>{g[W]=this._driver.computeStyle(I,W,Jo)})});const h=kn(r.map(g=>{const I=c.get(g.element);return this._buildPlayer(g,{},I)}));return this._playersById[o]=h,h.onDestroy(()=>this.destroy(o)),this.players.push(h),h}destroy(o){const e=this._getPlayer(o);e.destroy(),delete this._playersById[o];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(o){const e=this._playersById[o];if(!e)throw new Error(`Unable to find the timeline player referenced by ${o}`);return e}listen(o,e,t,s){const a=Dl(e,"","","");return wn(this._getPlayer(o),t,a,s),()=>{}}command(o,e,t,s){if("register"==t)return void this.register(o,s[0]);if("create"==t)return void this.create(o,e,s[0]||{});const a=this._getPlayer(o);switch(t){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(o)}}}const zg="ng-animate-queued",tf="ng-animate-disabled",_b=[],yb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ln={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Cs="__ng_removed";class Ng{constructor(o,e=""){this.namespaceId=e;const t=o&&o.hasOwnProperty("value");if(this.value=function EC(n){return null!=n?n:null}(t?o.value:o),t){const a=Pl(o);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const e=o.params;if(e){const t=this.options.params;Object.keys(e).forEach(s=>{null==t[s]&&(t[s]=e[s])})}}}const yd="void",nf=new Ng(yd);class kC{constructor(o,e,t){this.id=o,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,ls(e,this._hostClassName)}listen(o,e,t,s){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${t}" because the animation trigger "${e}" doesn't exist!`);if(null==t||0==t.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function wb(n){return"start"==n||"done"==n}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const a=Ei(this._elementListeners,o,[]),r={name:e,phase:t,callback:s};a.push(r);const c=Ei(this._engine.statesByElement,o,{});return c.hasOwnProperty(e)||(ls(o,Vh),ls(o,Vh+"-"+e),c[e]=nf),()=>{this._engine.afterFlush(()=>{const d=a.indexOf(r);d>=0&&a.splice(d,1),this._triggers[e]||delete c[e]})}}register(o,e){return!this._triggers[o]&&(this._triggers[o]=e,!0)}_getTrigger(o){const e=this._triggers[o];if(!e)throw new Error(`The provided animation trigger "${o}" has not been registered!`);return e}trigger(o,e,t,s=!0){const a=this._getTrigger(e),r=new sf(this.id,e,o);let c=this._engine.statesByElement.get(o);c||(ls(o,Vh),ls(o,Vh+"-"+e),this._engine.statesByElement.set(o,c={}));let d=c[e];const h=new Ng(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&d&&h.absorbOptions(d.options),c[e]=h,d||(d=nf),h.value!==yd&&d.value===h.value){if(!function er(n,o){const e=Object.keys(n),t=Object.keys(o);if(e.length!=t.length)return!1;for(let s=0;s{Pr(o,Fe),Qo(o,Ft)})}return}const W=Ei(this._engine.playersByElement,o,[]);W.forEach(Me=>{Me.namespaceId==this.id&&Me.triggerName==e&&Me.queued&&Me.destroy()});let ce=a.matchTransition(d.value,h.value,o,h.params),be=!1;if(!ce){if(!s)return;ce=a.fallbackTransition,be=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:e,transition:ce,fromState:d,toState:h,player:r,isFallbackTransition:be}),be||(ls(o,zg),r.onStart(()=>{Ca(o,zg)})),r.onDone(()=>{let Me=this.players.indexOf(r);Me>=0&&this.players.splice(Me,1);const Fe=this._engine.playersByElement.get(o);if(Fe){let Ft=Fe.indexOf(r);Ft>=0&&Fe.splice(Ft,1)}}),this.players.push(r),W.push(r),r}deregister(o){delete this._triggers[o],this._engine.statesByElement.forEach((e,t)=>{delete e[o]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(s=>s.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const e=this._engine.playersByElement.get(o);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,e){const t=this._engine.driver.query(o,fd,!0);t.forEach(s=>{if(s[Cs])return;const a=this._engine.fetchNamespacesByElement(s);a.size?a.forEach(r=>r.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(o,e,t,s){const a=this._engine.statesByElement.get(o),r=new Map;if(a){const c=[];if(Object.keys(a).forEach(d=>{if(r.set(d,a[d].value),this._triggers[d]){const h=this.trigger(o,d,yd,s);h&&c.push(h)}}),c.length)return this._engine.markElementAsRemoved(this.id,o,!0,e,r),t&&kn(c).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const e=this._elementListeners.get(o),t=this._engine.statesByElement.get(o);if(e&&t){const s=new Set;e.forEach(a=>{const r=a.name;if(s.has(r))return;s.add(r);const d=this._triggers[r].fallbackTransition,h=t[r]||nf,g=new Ng(yd),I=new sf(this.id,r,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:r,transition:d,fromState:h,toState:g,player:I,isFallbackTransition:!0})})}}removeNode(o,e){const t=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,e),this.triggerLeaveAnimation(o,e,!0))return;let s=!1;if(t.totalAnimations){const a=t.players.length?t.playersByQueriedElement.get(o):[];if(a&&a.length)s=!0;else{let r=o;for(;r=r.parentNode;)if(t.statesByElement.get(r)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(o),s)t.markElementAsRemoved(this.id,o,!1,e);else{const a=o[Cs];(!a||a===yb)&&(t.afterFlush(()=>this.clearElementCache(o)),t.destroyInnerAnimations(o),t._onRemovalComplete(o,e))}}insertNode(o,e){ls(o,this._hostClassName)}drainQueuedTransitions(o){const e=[];return this._queue.forEach(t=>{const s=t.player;if(s.destroyed)return;const a=t.element,r=this._elementListeners.get(a);r&&r.forEach(c=>{if(c.name==t.triggerName){const d=Dl(a,t.triggerName,t.fromState.value,t.toState.value);d._data=o,wn(t.player,c.phase,d,c.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(t)}),this._queue=[],e.sort((t,s)=>{const a=t.transition.ast.depCount,r=s.transition.ast.depCount;return 0==a||0==r?a-r:this._engine.driver.containsElement(t.element,s.element)?1:-1})}destroy(o){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let e=!1;return this._elementListeners.has(o)&&(e=!0),e=!!this._queue.find(t=>t.element===o)||e,e}}class bb{constructor(o,e,t){this.bodyNode=o,this.driver=e,this._normalizer=t,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(s,a)=>{}}_onRemovalComplete(o,e){this.onRemovalComplete(o,e)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&o.push(t)})}),o}createNamespace(o,e){const t=new kC(o,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[o]=t}_balanceNamespaceList(o,e){const t=this._namespaceList.length-1;if(t>=0){let s=!1;for(let a=t;a>=0;a--)if(this.driver.containsElement(this._namespaceList[a].hostElement,e)){this._namespaceList.splice(a+1,0,o),s=!0;break}s||this._namespaceList.splice(0,0,o)}else this._namespaceList.push(o);return this.namespacesByHostElement.set(e,o),o}register(o,e){let t=this._namespaceLookup[o];return t||(t=this.createNamespace(o,e)),t}registerTrigger(o,e,t){let s=this._namespaceLookup[o];s&&s.register(e,t)&&this.totalAnimations++}destroy(o,e){if(!o)return;const t=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[o];const s=this._namespaceList.indexOf(t);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const e=new Set,t=this.statesByElement.get(o);if(t){const s=Object.keys(t);for(let a=0;a=0&&this.collectedLeaveElements.splice(r,1)}if(o){const r=this._fetchNamespace(o);r&&r.insertNode(e,t)}s&&this.collectEnterElement(e)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,e){e?this.disabledNodes.has(o)||(this.disabledNodes.add(o),ls(o,tf)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),Ca(o,tf))}removeNode(o,e,t,s){if(rf(e)){const a=o?this._fetchNamespace(o):null;if(a?a.removeNode(e,s):this.markElementAsRemoved(o,e,!1,s),t){const r=this.namespacesByHostElement.get(e);r&&r.id!==o&&r.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(o,e,t,s,a){this.collectedLeaveElements.push(e),e[Cs]={namespaceId:o,setForRemoval:s,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:a}}listen(o,e,t,s,a){return rf(e)?this._fetchNamespace(o).listen(e,t,s,a):()=>{}}_buildInstruction(o,e,t,s,a){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,t,s,o.fromState.options,o.toState.options,e,a)}destroyInnerAnimations(o){let e=this.driver.query(o,fd,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(o,qh,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(o){const e=this.playersByElement.get(o);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(o){const e=this.playersByQueriedElement.get(o);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return kn(this.players).onDone(()=>o());o()})}processLeaveNode(o){var e;const t=o[Cs];if(t&&t.setForRemoval){if(o[Cs]=yb,t.namespaceId){this.destroyInnerAnimations(o);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(o)}this._onRemovalComplete(o,t.setForRemoval)}(null===(e=o.classList)||void 0===e?void 0:e.contains(tf))&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(o=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,s)=>this._balanceNamespaceList(t,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?kn(e).onDone(()=>{t.forEach(s=>s())}):t.forEach(s=>s())}}reportError(o){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${o.join("\n")}`)}_flushAnimations(o,e){const t=new Il,s=[],a=new Map,r=[],c=new Map,d=new Map,h=new Map,g=new Set;this.disabledNodes.forEach(Je=>{g.add(Je);const rt=this.driver.query(Je,".ng-animate-queued",!0);for(let at=0;at{const at=Uh+Me++;be.set(rt,at),Je.forEach(Xt=>ls(Xt,at))});const Fe=[],Ft=new Set,Qt=new Set;for(let Je=0;JeFt.add(Xt)):Qt.add(rt))}const Pt=new Map,oi=DC(W,Array.from(Ft));oi.forEach((Je,rt)=>{const at=hd+Me++;Pt.set(rt,at),Je.forEach(Xt=>ls(Xt,at))}),o.push(()=>{ce.forEach((Je,rt)=>{const at=be.get(rt);Je.forEach(Xt=>Ca(Xt,at))}),oi.forEach((Je,rt)=>{const at=Pt.get(rt);Je.forEach(Xt=>Ca(Xt,at))}),Fe.forEach(Je=>{this.processLeaveNode(Je)})});const _u=[],Fa=[];for(let Je=this._namespaceList.length-1;Je>=0;Je--)this._namespaceList[Je].drainQueuedTransitions(e).forEach(at=>{const Xt=at.player,Bn=at.element;if(_u.push(Xt),this.collectedEnterElements.length){const Ds=Bn[Cs];if(Ds&&Ds.setForMove){if(Ds.previousTriggersValues&&Ds.previousTriggersValues.has(at.triggerName)){const Jd=Ds.previousTriggersValues.get(at.triggerName),bu=this.statesByElement.get(at.element);bu&&bu[at.triggerName]&&(bu[at.triggerName].value=Jd)}return void Xt.destroy()}}const za=!I||!this.driver.containsElement(I,Bn),Co=Pt.get(Bn),yu=be.get(Bn),$i=this._buildInstruction(at,t,yu,Co,za);if($i.errors&&$i.errors.length)return void Fa.push($i);if(za)return Xt.onStart(()=>Pr(Bn,$i.fromStyles)),Xt.onDestroy(()=>Qo(Bn,$i.toStyles)),void s.push(Xt);if(at.isFallbackTransition)return Xt.onStart(()=>Pr(Bn,$i.fromStyles)),Xt.onDestroy(()=>Qo(Bn,$i.toStyles)),void s.push(Xt);const OD=[];$i.timelines.forEach(Ds=>{Ds.stretchStartingKeyframe=!0,this.disabledNodes.has(Ds.element)||OD.push(Ds)}),$i.timelines=OD,t.append(Bn,$i.timelines),r.push({instruction:$i,player:Xt,element:Bn}),$i.queriedElements.forEach(Ds=>Ei(c,Ds,[]).push(Xt)),$i.preStyleProps.forEach((Ds,Jd)=>{const bu=Object.keys(Ds);if(bu.length){let Qd=d.get(Jd);Qd||d.set(Jd,Qd=new Set),bu.forEach(bM=>Qd.add(bM))}}),$i.postStyleProps.forEach((Ds,Jd)=>{const bu=Object.keys(Ds);let Qd=h.get(Jd);Qd||h.set(Jd,Qd=new Set),bu.forEach(bM=>Qd.add(bM))})});if(Fa.length){const Je=[];Fa.forEach(rt=>{Je.push(`@${rt.triggerName} has failed due to:\n`),rt.errors.forEach(at=>Je.push(`- ${at}\n`))}),_u.forEach(rt=>rt.destroy()),this.reportError(Je)}const Es=new Map,Bc=new Map;r.forEach(Je=>{const rt=Je.element;t.has(rt)&&(Bc.set(rt,rt),this._beforeAnimationBuild(Je.player.namespaceId,Je.instruction,Es))}),s.forEach(Je=>{const rt=Je.element;this._getPreviousPlayers(rt,!1,Je.namespaceId,Je.triggerName,null).forEach(Xt=>{Ei(Es,rt,[]).push(Xt),Xt.destroy()})});const Yc=Fe.filter(Je=>Us(Je,d,h)),jc=new Map;Bg(jc,this.driver,Qt,h,Jo).forEach(Je=>{Us(Je,d,h)&&Yc.push(Je)});const v_=new Map;ce.forEach((Je,rt)=>{Bg(v_,this.driver,new Set(Je),d,"!")}),Yc.forEach(Je=>{const rt=jc.get(Je),at=v_.get(Je);jc.set(Je,Object.assign(Object.assign({},rt),at))});const Wd=[],LD=[],ID={};r.forEach(Je=>{const{element:rt,player:at,instruction:Xt}=Je;if(t.has(rt)){if(g.has(rt))return at.onDestroy(()=>Qo(rt,Xt.toStyles)),at.disabled=!0,at.overrideTotalTime(Xt.totalTime),void s.push(at);let Bn=ID;if(Bc.size>1){let Co=rt;const yu=[];for(;Co=Co.parentNode;){const $i=Bc.get(Co);if($i){Bn=$i;break}yu.push(Co)}yu.forEach($i=>Bc.set($i,Bn))}const za=this._buildAnimation(at.namespaceId,Xt,Es,a,v_,jc);if(at.setRealPlayer(za),Bn===ID)Wd.push(at);else{const Co=this.playersByElement.get(Bn);Co&&Co.length&&(at.parentPlayer=kn(Co)),s.push(at)}}else Pr(rt,Xt.fromStyles),at.onDestroy(()=>Qo(rt,Xt.toStyles)),LD.push(at),g.has(rt)&&s.push(at)}),LD.forEach(Je=>{const rt=a.get(Je.element);if(rt&&rt.length){const at=kn(rt);Je.setRealPlayer(at)}}),s.forEach(Je=>{Je.parentPlayer?Je.syncPlayerEvents(Je.parentPlayer):Je.destroy()});for(let Je=0;Je!za.destroyed);Bn.length?Xo(this,rt,Bn):this.processLeaveNode(rt)}return Fe.length=0,Wd.forEach(Je=>{this.players.push(Je),Je.onDone(()=>{Je.destroy();const rt=this.players.indexOf(Je);this.players.splice(rt,1)}),Je.play()}),Wd}elementContainsData(o,e){let t=!1;const s=e[Cs];return s&&s.setForRemoval&&(t=!0),this.playersByElement.has(e)&&(t=!0),this.playersByQueriedElement.has(e)&&(t=!0),this.statesByElement.has(e)&&(t=!0),this._fetchNamespace(o).elementContainsData(e)||t}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,e,t,s,a){let r=[];if(e){const c=this.playersByQueriedElement.get(o);c&&(r=c)}else{const c=this.playersByElement.get(o);if(c){const d=!a||a==yd;c.forEach(h=>{h.queued||!d&&h.triggerName!=s||r.push(h)})}}return(t||s)&&(r=r.filter(c=>!(t&&t!=c.namespaceId||s&&s!=c.triggerName))),r}_beforeAnimationBuild(o,e,t){const a=e.element,r=e.isRemovalTransition?void 0:o,c=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const h=d.element,g=h!==a,I=Ei(t,h,[]);this._getPreviousPlayers(h,g,r,c,e.toState).forEach(ce=>{const be=ce.getRealPlayer();be.beforeDestroy&&be.beforeDestroy(),ce.destroy(),I.push(ce)})}Pr(a,e.fromStyles)}_buildAnimation(o,e,t,s,a,r){const c=e.triggerName,d=e.element,h=[],g=new Set,I=new Set,W=e.timelines.map(be=>{const Me=be.element;g.add(Me);const Fe=Me[Cs];if(Fe&&Fe.removedBeforeQueried)return new ld(be.duration,be.delay);const Ft=Me!==d,Qt=function xC(n){const o=[];return Yg(n,o),o}((t.get(Me)||_b).map(Es=>Es.getRealPlayer())).filter(Es=>!!Es.element&&Es.element===Me),Pt=a.get(Me),oi=r.get(Me),_u=El(0,this._normalizer,0,be.keyframes,Pt,oi),Fa=this._buildPlayer(be,_u,Qt);if(be.subTimeline&&s&&I.add(Me),Ft){const Es=new sf(o,c,Me);Es.setRealPlayer(Fa),h.push(Es)}return Fa});h.forEach(be=>{Ei(this.playersByQueriedElement,be.element,[]).push(be),be.onDone(()=>function Hl(n,o,e){let t;if(n instanceof Map){if(t=n.get(o),t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&n.delete(o)}}else if(t=n[o],t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&delete n[o]}return t}(this.playersByQueriedElement,be.element,be))}),g.forEach(be=>ls(be,Ky));const ce=kn(W);return ce.onDestroy(()=>{g.forEach(be=>Ca(be,Ky)),Qo(d,e.toStyles)}),I.forEach(be=>{Ei(s,be,[]).push(ce)}),ce}_buildPlayer(o,e,t){return e.length>0?this.driver.animate(o.element,e,o.duration,o.delay,o.easing,t):new ld(o.duration,o.delay)}}class sf{constructor(o,e,t){this.namespaceId=o,this.triggerName=e,this.element=t,this._player=new ld,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>wn(o,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const e=this._player;e.triggerCallback&&o.onStart(()=>e.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,e){Ei(this._queuedCallbacks,o,[]).push(e)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const e=this._player;e.triggerCallback&&e.triggerCallback(o)}}function rf(n){return n&&1===n.nodeType}function Ab(n,o){const e=n.style.display;return n.style.display=null!=o?o:"none",e}function Bg(n,o,e,t,s){const a=[];e.forEach(d=>a.push(Ab(d)));const r=[];t.forEach((d,h)=>{const g={};d.forEach(I=>{const W=g[I]=o.computeStyle(h,I,s);(!W||0==W.length)&&(h[Cs]=ln,r.push(h))}),n.set(h,g)});let c=0;return e.forEach(d=>Ab(d,a[c++])),r}function DC(n,o){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==o.length)return e;const s=new Set(o),a=new Map;function r(c){if(!c)return 1;let d=a.get(c);if(d)return d;const h=c.parentNode;return d=e.has(h)?h:s.has(h)?1:r(h),a.set(c,d),d}return o.forEach(c=>{const d=r(c);1!==d&&e.get(d).push(c)}),e}function ls(n,o){var e;null===(e=n.classList)||void 0===e||e.add(o)}function Ca(n,o){var e;null===(e=n.classList)||void 0===e||e.remove(o)}function Xo(n,o,e){kn(e).onDone(()=>n.processLeaveNode(o))}function Yg(n,o){for(let e=0;es.add(a)):o.set(n,t),e.delete(n),!0}class us{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(s,a)=>{},this._transitionEngine=new bb(o,e,t),this._timelineEngine=new gb(o,e,t),this._transitionEngine.onRemovalComplete=(s,a)=>this.onRemovalComplete(s,a)}registerTrigger(o,e,t,s,a){const r=o+"-"+s;let c=this._triggerCache[r];if(!c){const d=[],h=Jh(this._driver,a,d);if(d.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${d.join("\n - ")}`);c=function Hg(n,o,e){return new hb(n,o,e)}(s,h,this._normalizer),this._triggerCache[r]=c}this._transitionEngine.registerTrigger(e,s,c)}register(o,e){this._transitionEngine.register(o,e)}destroy(o,e){this._transitionEngine.destroy(o,e)}onInsert(o,e,t,s){this._transitionEngine.insertNode(o,e,t,s)}onRemove(o,e,t,s){this._transitionEngine.removeNode(o,e,s||!1,t)}disableAnimations(o,e){this._transitionEngine.markElementAsDisabled(o,e)}process(o,e,t,s){if("@"==t.charAt(0)){const[a,r]=Yh(t);this._timelineEngine.command(a,e,r,s)}else this._transitionEngine.trigger(o,e,t,s)}listen(o,e,t,s,a){if("@"==t.charAt(0)){const[r,c]=Yh(t);return this._timelineEngine.listen(r,e,c,a)}return this._transitionEngine.listen(o,e,t,s,a)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Cb=(()=>{class n{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let a=n.initialStylesByElement.get(e);a||n.initialStylesByElement.set(e,a={}),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&Qo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Qo(this._element,this._initialStyles),this._endStyles&&(Qo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Pr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Pr(this._element,this._endStyles),this._endStyles=null),Qo(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function jg(n){let o=null;const e=Object.keys(n);for(let t=0;to()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(o,e,t){return o.animate(e,t)}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(o[t]=this._finished?e[t]:Xy(this.element,t))})}this.currentSnapshot=o}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class PC{validateStyleProperty(o){return Ac(o)}matchesElement(o,e){return!1}containsElement(o,e){return vc(o,e)}query(o,e,t){return _g(o,e,t)}computeStyle(o,e,t){return window.getComputedStyle(o)[e]}animate(o,e,t,s,a,r=[]){const d={duration:t,delay:s,fill:0==s?"both":"forwards"};a&&(d.easing=a);const h={},g=r.filter(W=>W instanceof Tb);(function Ll(n,o){return 0===n||0===o})(t,s)&&g.forEach(W=>{let ce=W.currentSnapshot;Object.keys(ce).forEach(be=>h[be]=ce[be])}),e=function AC(n,o,e){const t=Object.keys(e);if(t.length&&o.length){let a=o[0],r=[];if(t.forEach(c=>{a.hasOwnProperty(c)||r.push(c),a[c]=e[c]}),r.length)for(var s=1;sva(W,!1)),h);const I=function vb(n,o){let e=null,t=null;return Array.isArray(o)&&o.length?(e=jg(o[0]),o.length>1&&(t=jg(o[o.length-1]))):o&&(e=jg(o)),e||t?new Cb(n,e,t):null}(o,e);return new Tb(o,e,d,I)}}let Ug=(()=>{class n extends fg{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(e)?Bh(e):e;return Vg(this._renderer,null,t,"register",[s]),new bd(t,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class bd extends class Uy{}{constructor(o,e){super(),this._id=o,this._renderer=e}create(o,e){return new LC(this._id,o,e||{},this._renderer)}}class LC{constructor(o,e,t,s){this.id=o,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(o,e){return this._renderer.listen(this.element,`@@${this.id}:${o}`,e)}_command(o,...e){return Vg(this._renderer,this.element,this.id,o,e)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(o){this._command("setPosition",o)}getPosition(){var o,e;return null!==(e=null===(o=this._renderer.engine.players[+this.id])||void 0===o?void 0:o.getPosition())&&void 0!==e?e:0}}function Vg(n,o,e,t,s){return n.setProperty(o,`@@${e}:${t}`,s)}const qg="@.disabled";let Mb=(()=>{class n{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(a,r)=>{const c=null==r?void 0:r.parentNode(a);c&&r.removeChild(c,a)}}createRenderer(e,t){const a=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let g=this._rendererCache.get(a);return g||(g=new wd("",a,this.engine),this._rendererCache.set(a,g)),g}const r=t.id,c=t.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const d=g=>{Array.isArray(g)?g.forEach(d):this.engine.registerTrigger(r,c,e,g.name,g)};return t.data.animation.forEach(d),new IC(this,c,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){e>=0&&et(s)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(a=>{const[r,c]=a;r(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,s]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(us),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class wd{constructor(o,e,t){this.namespaceId=o,this.delegate=e,this.engine=t,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(o,e){return this.delegate.createElement(o,e)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,e){this.delegate.appendChild(o,e),this.engine.onInsert(this.namespaceId,e,o,!1)}insertBefore(o,e,t,s=!0){this.delegate.insertBefore(o,e,t),this.engine.onInsert(this.namespaceId,e,o,s)}removeChild(o,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(o,e){return this.delegate.selectRootElement(o,e)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,e,t,s){this.delegate.setAttribute(o,e,t,s)}removeAttribute(o,e,t){this.delegate.removeAttribute(o,e,t)}addClass(o,e){this.delegate.addClass(o,e)}removeClass(o,e){this.delegate.removeClass(o,e)}setStyle(o,e,t,s){this.delegate.setStyle(o,e,t,s)}removeStyle(o,e,t){this.delegate.removeStyle(o,e,t)}setProperty(o,e,t){"@"==e.charAt(0)&&e==qg?this.disableAnimations(o,!!t):this.delegate.setProperty(o,e,t)}setValue(o,e){this.delegate.setValue(o,e)}listen(o,e,t){return this.delegate.listen(o,e,t)}disableAnimations(o,e){this.engine.disableAnimations(o,e)}}class IC extends wd{constructor(o,e,t,s){super(e,t,s),this.factory=o,this.namespaceId=e}setProperty(o,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==qg?this.disableAnimations(o,t=void 0===t||!!t):this.engine.process(this.namespaceId,o,e.substr(1),t):this.delegate.setProperty(o,e,t)}listen(o,e,t){if("@"==e.charAt(0)){const s=function Sb(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(o);let a=e.substr(1),r="";return"@"!=a.charAt(0)&&([a,r]=function kb(n){const o=n.indexOf(".");return[n.substring(0,o),n.substr(o+1)]}(a)),this.engine.listen(this.namespaceId,s,a,r,c=>{this.factory.scheduleListenerCallback(c._data||-1,t,c)})}return this.delegate.listen(o,e,t)}}let Gg=(()=>{class n extends us{constructor(e,t,s){super(e.body,t,s)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(jh),i.LFG(_d))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Oi=new i.OlP("AnimationModuleType"),Zg=[{provide:fg,useClass:Ug},{provide:_d,useFactory:function cf(){return new lb}},{provide:us,useClass:Gg},{provide:i.FYo,useFactory:function Kg(n,o,e){return new Mb(n,o,e)},deps:[xe,us,i.R0b]}],lf=[{provide:jh,useFactory:()=>new PC},{provide:Oi,useValue:"BrowserAnimations"},...Zg],Eb=[{provide:jh,useClass:yg},{provide:Oi,useValue:"NoopAnimations"},...Zg];let Db=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?Eb:lf}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:lf,imports:[So]}),n})();function zC(n,o){if(1&n&&i._UZ(0,"mat-pseudo-checkbox",4),2&n){const e=i.oxw();i.Q6J("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function NC(n,o){if(1&n&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij("(",e.group.label,")")}}const BC=["*"];let YC=(()=>{class n{}return n.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",n.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",n.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",n.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",n})(),jC=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const VC=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function UC(){return!0}});let ot=(()=>{class n{constructor(e,t,s){this._sanityChecks=t,this._document=s,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!cc()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(pC),i.LFG(VC,8),i.LFG(b.K0))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Al],Al]}),n})();function mo(n){return class extends n{constructor(...o){super(...o),this._disabled=!1}get disabled(){return this._disabled}set disabled(o){this._disabled=Ne(o)}}}function tr(n,o){return class extends n{constructor(...e){super(...e),this.defaultColor=o,this.color=o}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}}}function _o(n){return class extends n{constructor(...o){super(...o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(o){this._disableRipple=Ne(o)}}}function Fl(n,o=0){return class extends n{constructor(...e){super(...e),this._tabIndex=o,this.defaultTabIndex=o}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Ii(e):this.defaultTabIndex}}}function $g(n){return class extends n{constructor(...o){super(...o),this.stateChanges=new ke.xQ,this.errorState=!1}updateErrorState(){const o=this.errorState,a=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);a!==o&&(this.errorState=a,this.stateChanges.next())}}}function Wg(n){return class extends n{constructor(...o){super(...o),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Xi.y(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(o){o.next(),o.complete()}}}const Ta=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Rb(){return(0,i.f3M)(i.soG)}});class Ti{constructor(){this._localeChanges=new ke.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(o){return this.isDateInstance(o)&&this.isValid(o)?o:null}deserialize(o){return null==o||this.isDateInstance(o)&&this.isValid(o)?o:this.invalid()}setLocale(o){this.locale=o,this._localeChanges.next()}compareDate(o,e){return this.getYear(o)-this.getYear(e)||this.getMonth(o)-this.getMonth(e)||this.getDate(o)-this.getDate(e)}sameDate(o,e){if(o&&e){let t=this.isValid(o),s=this.isValid(e);return t&&s?!this.compareDate(o,e):t==s}return o==e}clampDate(o,e,t){return e&&this.compareDate(o,e)<0?e:t&&this.compareDate(o,t)>0?t:o}}const Ts=new i.OlP("mat-date-formats"),Pb=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function uf(n,o){const e=Array(n);for(let t=0;t{class n extends Ti{constructor(e,t){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return uf(12,s=>this._format(t,new Date(2017,s,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return uf(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return uf(7,s=>this._format(t,new Date(2017,0,s+1)))}getYearName(e){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,s){let a=this._createDateWithOverflow(e,t,s);return a.getMonth(),a}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const s=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},t),{timeZone:"utc"}));return this._format(s,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let s=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(s)!=((this.getMonth(e)+t)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(Pb.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,s){const a=new Date;return a.setFullYear(e,t,s),a.setHours(0,0,0,0),a}_2digit(e){return("00"+e).slice(-2)}_format(e,t){const s=new Date;return s.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),s.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(s)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ta,8),i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Lb={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Qg=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ti,useClass:Jg}],imports:[[pa]]}),n})(),df=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ts,useValue:Lb}],imports:[[Qg]]}),n})(),Ma=(()=>{class n{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ib=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),n})();function hf(n,o,e){n.nativeElement.classList.toggle(o,e)}let Nl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})();class CS{constructor(o,e,t){this._renderer=o,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Xg={enterDuration:225,exitDuration:150},Hb=Vo({passive:!0}),st=["mousedown","touchstart"],Fb=["mouseup","mouseleave","touchend","touchcancel"];class zb{constructor(o,e,t,s){this._target=o,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=Vi(t))}fadeInRipple(o,e,t={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},Xg),t.animation);t.centered&&(o=s.left+s.width/2,e=s.top+s.height/2);const r=t.radius||function ff(n,o,e){const t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),s=Math.max(Math.abs(o-e.top),Math.abs(o-e.bottom));return Math.sqrt(t*t+s*s)}(o,e,s),c=o-s.left,d=e-s.top,h=a.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=c-r+"px",g.style.top=d-r+"px",g.style.height=2*r+"px",g.style.width=2*r+"px",null!=t.color&&(g.style.backgroundColor=t.color),g.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(g),function qC(n){window.getComputedStyle(n).getPropertyValue("opacity")}(g),g.style.transform="scale(1)";const I=new CS(this,g,t);return I.state=0,this._activeRipples.add(I),t.persistent||(this._mostRecentTransientRipple=I),this._runTimeoutOutsideZone(()=>{const W=I===this._mostRecentTransientRipple;I.state=1,!t.persistent&&(!W||!this._isPointerDown)&&I.fadeOut()},h),I}fadeOutRipple(o){const e=this._activeRipples.delete(o);if(o===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=o.element,s=Object.assign(Object.assign({},Xg),o.config.animation);t.style.transitionDuration=`${s.exitDuration}ms`,t.style.opacity="0",o.state=2,this._runTimeoutOutsideZone(()=>{o.state=3,t.remove()},s.exitDuration)}fadeOutAll(){this._activeRipples.forEach(o=>o.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(o=>{o.config.persistent||o.fadeOut()})}setupTriggerEvents(o){const e=Vi(o);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(st))}handleEvent(o){"mousedown"===o.type?this._onMousedown(o):"touchstart"===o.type?this._onTouchStart(o):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Fb),this._pointerUpEventsRegistered=!0)}_onMousedown(o){const e=ad(o),t=this._lastTouchStartEvent&&Date.now(){!o.config.persistent&&(1===o.state||o.config.terminateOnPointerUp&&0===o.state)&&o.fadeOut()}))}_runTimeoutOutsideZone(o,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(o,e))}_registerEvents(o){this._ngZone.runOutsideAngular(()=>{o.forEach(e=>{this._triggerElement.addEventListener(e,this,Hb)})})}_removeTriggerEvents(){this._triggerElement&&(st.forEach(o=>{this._triggerElement.removeEventListener(o,this,Hb)}),this._pointerUpEventsRegistered&&Fb.forEach(o=>{this._triggerElement.removeEventListener(o,this,Hb)}))}}const Nb=new i.OlP("mat-ripple-global-options");let zn=(()=>{class n{constructor(e,t,s,a,r){this._elementRef=e,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new zb(this,t,e,s)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,s){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),s)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(ti),i.Y36(Nb,8),i.Y36(Oi,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),ds=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot,pa],ot]}),n})(),Hi=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Oi,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),n})(),Bb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot]]}),n})();const em=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),tm=new i.OlP("MatOptgroup");let Yb=0;class ZC{constructor(o,e=!1){this.source=o,this.isUserInput=e}}let $C=(()=>{class n{constructor(e,t,s,a){this._element=e,this._changeDetectorRef=t,this._parent=s,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Yb++,this.onSelectionChange=new i.vpe,this._stateChanges=new ke.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=Ne(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const s=this._getHostElement();"function"==typeof s.focus&&s.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!bn(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new ZC(this,e))}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),Bl=(()=>{class n extends $C{constructor(e,t,s,a){super(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(em,8),i.Y36(tm,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._selectViaInteraction()})("keydown",function(a){return t._handleKeydown(a)}),2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),i.ekj("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:BC,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,zC,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,NC,2,1,"span",2),i._UZ(4,"div",3)),2&e&&(i.Q6J("ngIf",t.multiple),i.xp6(3),i.Q6J("ngIf",t.group&&t.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[Hi,b.O5,zn],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n})();function Yl(n,o,e){if(e.length){let t=o.toArray(),s=e.toArray(),a=0;for(let r=0;r{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ds,b.ez,ot,Bb]]}),n})();function JC(n,o){}class Mc{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const jb={dialogContainer:ni("dialogContainer",[yt("void, exit",De({opacity:0,transform:"scale(0.7)"})),yt("enter",De({transform:"none"})),ht("* => enter",dt("150ms cubic-bezier(0, 0, 0.2, 1)",De({transform:"none",opacity:1}))),ht("* => void, * => exit",dt("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",De({opacity:0})))])};let Ub=(()=>{class n extends Bp{constructor(e,t,s,a,r,c,d,h){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=s,this._config=r,this._interactivityChecker=c,this._ngZone=d,this._focusMonitor=h,this._animationStateChanged=new i.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=g=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(g)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=a}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,t)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{t||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=wl(),s=this._elementRef.nativeElement;(!t||t===this._document.body||t===s||s.contains(t))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=wl())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=wl();return e===t||e.contains(t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(ug),i.Y36(i.sBO),i.Y36(b.K0,8),i.Y36(Mc),i.Y36(Nh),i.Y36(i.R0b),i.Y36(As))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(Er,7),2&e){let s;i.iGM(s=i.CRH())&&(t._portalOutlet=s.first)}},features:[i.qOj]}),n})(),XC=(()=>{class n extends Ub{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&i.WFA("@dialogContainer.start",function(a){return t._onAnimationStart(a)})("@dialogContainer.done",function(a){return t._onAnimationDone(a)}),2&e&&(i.Ikx("id",t._id),i.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),i.d8E("@dialogContainer",t._state))},features:[i.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&i.YNc(0,JC,0,0,"ng-template",0)},directives:[Er],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[jb.dialogContainer]}}),n})(),Ad=0;class sn{constructor(o,e,t="mat-dialog-"+Ad++){this._overlayRef=o,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new ke.xQ,this._afterClosed=new ke.xQ,this._beforeClosed=new ke.xQ,this._state=0,e._id=t,e._animationStateChanged.pipe((0,Yt.h)(s=>"opened"===s.state),(0,jt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,Yt.h)(s=>"closed"===s.state),(0,jt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),o.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),o.keydownEvents().pipe((0,Yt.h)(s=>27===s.keyCode&&!this.disableClose&&!bn(s))).subscribe(s=>{s.preventDefault(),Vb(this,"keyboard")}),o.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Vb(this,"mouse")})}close(o){this._result=o,this._containerInstance._animationStateChanged.pipe((0,Yt.h)(e=>"closing"===e.state),(0,jt.q)(1)).subscribe(e=>{this._beforeClosed.next(o),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(o){let e=this._getPositionStrategy();return o&&(o.left||o.right)?o.left?e.left(o.left):e.right(o.right):e.centerHorizontally(),o&&(o.top||o.bottom)?o.top?e.top(o.top):e.bottom(o.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(o="",e=""){return this._overlayRef.updateSize({width:o,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(o){return this._overlayRef.addPanelClass(o),this}removePanelClass(o){return this._overlayRef.removePanelClass(o),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Vb(n,o,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=o),n.close(e)}const yo=new i.OlP("MatDialogData"),eT=new i.OlP("mat-dialog-default-options"),nm=new i.OlP("mat-dialog-scroll-strategy"),iT={provide:nm,deps:[Ys],useFactory:function qb(n){return()=>n.scrollStrategies.block()}};let Gb=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I){this._overlay=e,this._injector=t,this._defaultOptions=s,this._parentDialog=a,this._overlayContainer=r,this._dialogRefConstructor=d,this._dialogContainerType=h,this._dialogDataToken=g,this._animationMode=I,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ke.xQ,this._afterOpenedAtThisLevel=new ke.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=Ln(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ut(void 0))),this._scrollStrategy=c}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){if(t=function nT(n,o){return Object.assign(Object.assign({},o),n)}(t,this._defaultOptions||new Mc),t.id&&this.getDialogById(t.id),this._dialogAnimatingOpen)return this._lastDialogRef;const s=this._createOverlay(t),a=this._attachDialogContainer(s,t);if("NoopAnimations"!==this._animationMode){const c=a._animationStateChanged.subscribe(d=>{"opening"===d.state&&(this._dialogAnimatingOpen=!0),"opened"===d.state&&(this._dialogAnimatingOpen=!1,c.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new q.w),this._animationStateSubscriptions.add(c)}const r=this._attachDialogContent(e,a,s,t);return this._lastDialogRef=r,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),a._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new Oh({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const a=i.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Mc,useValue:t}]}),r=new uo(this._dialogContainerType,t.viewContainerRef,a,t.componentFactoryResolver);return e.attach(r).instance}_attachDialogContent(e,t,s,a){const r=new this._dialogRefConstructor(s,t,a.id);if(e instanceof i.Rgc)t.attachTemplatePortal(new Ko(e,null,{$implicit:a.data,dialogRef:r}));else{const c=this._createInjector(a,r,t),d=t.attachComponentPortal(new uo(e,a.viewContainerRef,c));r.componentInstance=d.instance}return r.updateSize(a.width,a.height).updatePosition(a.position),r}_createInjector(e,t,s){const a=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:s},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!a||!a.get(ki,null,i.XFs.Optional))&&r.push({provide:ki,useValue:{value:e.direction,change:(0,Ye.of)()}}),i.zs3.create({parent:a||this._injector,providers:r})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let s=t.length-1;s>-1;s--){let a=t[s];a!==e&&"SCRIPT"!==a.nodeName&&"STYLE"!==a.nodeName&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n}),n})(),on=(()=>{class n extends Gb{constructor(e,t,s,a,r,c,d,h){super(e,t,a,c,d,r,sn,XC,yo,h)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ys),i.LFG(i.zs3),i.LFG(b.Ye,8),i.LFG(eT,8),i.LFG(nm),i.LFG(n,12),i.LFG(Jp),i.LFG(Oi,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),SS=0,Vs=(()=>{class n{constructor(e,t,s){this._dialogRef=e,this._elementRef=t,this._dialog=s,this.id="mat-dialog-title-"+SS++}ngOnInit(){this._dialogRef||(this._dialogRef=function pf(n,o){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?o.find(t=>t.id===e.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn,8),i.Y36(i.SBq),i.Y36(on))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),qs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),hs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),n})(),gf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[on,iT],imports:[[ed,uc,ot],ot]}),n})();var Kb=w(6114);let jl=(()=>{class n{constructor(e,t,s,a,r){this.injector=e,this.store=t,this.dialog=s,this.route=a,this.oauthService=r,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(yi),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(c=>{c.idpFilter&&(this.filterShortname=c.idpFilter)})}getClientConfig(){const e=this.setIdpFilter(),t=e?{acr_values:e}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(t.prompt="consent"),sessionStorage.getItem("mfa_route")&&(t.acr_values="https://refeds.org/profile/mfa",t.prompt="login",t.max_age="0"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:t}}setIdpFilter(){const e=location.search.substr(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let s=null;return e.forEach(a=>{const r=a.split("=");"idpFilter"===r[0]&&t[r[1]]&&(this.filterShortname=r[1],s=t[r[1]])}),t.default&&!s?(this.filterShortname="default",t.default):s}startIdpFilterKeeper(){this.router.events.pipe((0,Yt.h)(e=>e instanceof It)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substr(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,Yt.h)(t=>"token_expires"===t.type)).subscribe(()=>{this.oauthService.refreshToken().then(t=>{localStorage.setItem("refresh_token",t.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(e){const t=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===e)return!0;for(const s of t)if(e.startsWith(s))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(e=>e)):Promise.resolve()}verifyAuthentication(e,t){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(s=>s?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((a,r)=>r("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const e=sessionStorage.getItem("mfa_route");if(e)return this.router.navigate([e],{replaceUrl:!0});let t=sessionStorage.getItem("auth:redirect");const s=sessionStorage.getItem("auth:queryParams");let a=[];s&&(a=s.split("&"));const r={};return a.forEach(c=>{const d=c.split("=");r[d[0]]=d[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),r.idpFilter&&(this.filterShortname=r.idpFilter),this.router.navigate([t],{queryParams:r,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3),i.LFG(Mn),i.LFG(on),i.LFG(ys),i.LFG(Kb.Ct))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function fs(n){return!!n&&(n instanceof Xi.y||"function"==typeof n.lift&&"function"==typeof n.subscribe)}var sT=w(7830);function sm(...n){if(1===n.length){const o=n[0];if((0,Op.k)(o))return mf(o,null);if((0,sT.K)(o)&&Object.getPrototypeOf(o)===Object.prototype){const e=Object.keys(o);return mf(e.map(t=>o[t]),e)}}if("function"==typeof n[n.length-1]){const o=n.pop();return mf(n=1===n.length&&(0,Op.k)(n[0])?n[0]:n,null).pipe((0,nt.U)(e=>o(...e)))}return mf(n,null)}function mf(n,o){return new Xi.y(e=>{const t=n.length;if(0===t)return void e.complete();const s=new Array(t);let a=0,r=0;for(let c=0;c{h||(h=!0,r++),s[c]=g},error:g=>e.error(g),complete:()=>{a++,(a===t||!h)&&(r===t&&e.next(o?o.reduce((g,I,W)=>(g[I]=s[W],g),{}):s),e.complete())}}))}})}const Zb=new class rT extends Fp.v{}(class oT extends Sh.o{constructor(o,e){super(o,e),this.scheduler=o,this.work=e}schedule(o,e=0){return e>0?super.schedule(o,e):(this.delay=e,this.state=o,this.scheduler.flush(this),this)}execute(o,e){return e>0||this.closed?super.execute(o,e):this._execute(o,e)}requestAsyncId(o,e,t=0){return null!==t&&t>0||null===t&&this.delay>0?super.requestAsyncId(o,e,t):o.flush(this)}});var om=w(9312);class _f extends is.L{constructor(o,e,t=0){super(o),this.scheduler=e,this.delay=t}static dispatch(o){const{notification:e,destination:t}=o;e.observe(t),this.unsubscribe()}scheduleMessage(o){this.destination.add(this.scheduler.schedule(_f.dispatch,this.delay,new $b(o,this.destination)))}_next(o){this.scheduleMessage(om.P.createNext(o))}_error(o){this.scheduleMessage(om.P.createError(o)),this.unsubscribe()}_complete(){this.scheduleMessage(om.P.createComplete()),this.unsubscribe()}}class $b{constructor(o,e){this.notification=o,this.destination=e}}var aT=w(5283);class Wb extends ke.xQ{constructor(o=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,t){super(),this.scheduler=t,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=o<1?1:o,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(o){const e=this._events;e.push(o),e.length>this._bufferSize&&e.shift(),super.next(o)}nextTimeWindow(o){this._events.push(new cT(this._getNow(),o)),this._trimBufferThenGetEvents(),super.next(o)}_subscribe(o){const e=this._infiniteTimeWindow,t=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,a=t.length;let r;if(this.closed)throw new Gc.N;if(this.isStopped||this.hasError?r=q.w.EMPTY:(this.observers.push(o),r=new aT.W(this,o)),s&&o.add(o=new _f(o,s)),e)for(let c=0;ce&&(r=Math.max(r,a-e)),r>0&&s.splice(0,r),s}}class cT{constructor(o,e){this.time=o,this.value=e}}function rm(n,o,e){let t;return t=n&&"object"==typeof n?n:{bufferSize:n,windowTime:o,refCount:!1,scheduler:e},s=>s.lift(function lT({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:o=Number.POSITIVE_INFINITY,refCount:e,scheduler:t}){let s,r,a=0,c=!1,d=!1;return function(g){a++,(!s||c)&&(c=!1,s=new Wb(n,o,t),r=g.subscribe({next(W){s.next(W)},error(W){c=!0,s.error(W)},complete(){d=!0,r=void 0,s.complete()}}));const I=s.subscribe(this);this.add(()=>{a--,I.unsubscribe(),r&&!d&&e&&0===a&&(r.unsubscribe(),r=void 0,s=void 0)})}}(t))}class Sc{}let Jb=(()=>{class n extends Sc{getTranslation(e){return(0,Ye.of)({})}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class yf{}let am=(()=>{class n{handle(e){return e.key}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function bf(n,o){if(n===o)return!0;if(null===n||null===o)return!1;if(n!=n&&o!=o)return!0;let s,a,r,e=typeof n;if(e==typeof o&&"object"==e){if(!Array.isArray(n)){if(Array.isArray(o))return!1;for(a in r=Object.create(null),n){if(!bf(n[a],o[a]))return!1;r[a]=!0}for(a in o)if(!(a in r)&&void 0!==o[a])return!1;return!0}if(!Array.isArray(o))return!1;if((s=n.length)==o.length){for(a=0;a{cm(o[t])?t in n?e[t]=wf(n[t],o[t]):Object.assign(e,{[t]:o[t]}):Object.assign(e,{[t]:o[t]})}),e}class Af{}let lm=(()=>{class n extends Af{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let s;return s="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,s}getValue(e,t){let s="string"==typeof t?t.split("."):[t];t="";do{t+=s.shift(),!Sa(e)||!Sa(e[t])||"object"!=typeof e[t]&&s.length?s.length?t+=".":e=void 0:(e=e[t],t="")}while(s.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(s,a)=>{let r=this.getValue(t,a);return Sa(r)?r:s}):e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class vf{}let Qb=(()=>{class n extends vf{compile(e,t){return e}compileTranslations(e,t){return e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Xb{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.vpe,this.onLangChange=new i.vpe,this.onDefaultLangChange=new i.vpe}}const um=new i.OlP("USE_STORE"),dm=new i.OlP("USE_DEFAULT_LANG"),hm=new i.OlP("DEFAULT_LANGUAGE"),fm=new i.OlP("USE_EXTEND");let Fi=(()=>{class n{constructor(e,t,s,a,r,c=!0,d=!1,h=!1,g){this.store=e,this.currentLoader=t,this.compiler=s,this.parser=a,this.missingTranslationHandler=r,this.useDefaultLang=c,this.isolate=d,this.extend=h,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},g&&this.setDefaultLang(g)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe((0,jt.q)(1)).subscribe(s=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ye.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,jt.q)(1)).subscribe(s=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Ye.of)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(rm(1),(0,jt.q)(1));return this.loadingTranslations=t.pipe((0,nt.U)(s=>this.compiler.compileTranslations(s,e)),rm(1),(0,jt.q)(1)),this.loadingTranslations.subscribe({next:s=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},s),this.translations[e]):s,this.updateLangs(),this.pending=!1},error:s=>{this.pending=!1}}),t}setTranslation(e,t,s=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(s||this.extend)&&this.translations[e]?wf(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,s){let a;if(t instanceof Array){let r={},c=!1;for(let d of t)r[d]=this.getParsedResult(e,d,s),fs(r[d])&&(c=!0);return c?sm(t.map(h=>fs(r[h])?r[h]:(0,Ye.of)(r[h]))).pipe((0,nt.U)(h=>{let g={};return h.forEach((I,W)=>{g[t[W]]=I}),g})):r}if(e&&(a=this.parser.interpolate(this.parser.getValue(e,t),s)),void 0===a&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),s)),void 0===a){let r={key:t,translateService:this};void 0!==s&&(r.interpolateParams=s),a=this.missingTranslationHandler.handle(r)}return void 0!==a?a:t}get(e,t){if(!Sa(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,to.b)(s=>fs(s=this.getParsedResult(s,e,t))?s:(0,Ye.of)(s)));{let s=this.getParsedResult(this.translations[this.currentLang],e,t);return fs(s)?s:(0,Ye.of)(s)}}getStreamOnTranslationChange(e,t){if(!Sa(e)||!e.length)throw new Error('Parameter "key" required');return Lo(Ln(()=>this.get(e,t)),this.onTranslationChange.pipe((0,Gi.w)(s=>{const a=this.getParsedResult(s.translations,e,t);return"function"==typeof a.subscribe?a:(0,Ye.of)(a)})))}stream(e,t){if(!Sa(e)||!e.length)throw new Error('Parameter "key" required');return Lo(Ln(()=>this.get(e,t)),this.onLangChange.pipe((0,Gi.w)(s=>{const a=this.getParsedResult(s.translations,e,t);return fs(a)?a:(0,Ye.of)(a)})))}instant(e,t){if(!Sa(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,t);if(fs(s)){if(e instanceof Array){let a={};return e.forEach((r,c)=>{a[e[c]]=e[c]}),a}return e}return s}set(e,t,s=this.currentLang){this.translations[s][e]=this.compiler.compile(t,s),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Xb),i.LFG(Sc),i.LFG(vf),i.LFG(Af),i.LFG(yf),i.LFG(dm),i.LFG(um),i.LFG(fm),i.LFG(hm))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),gt=(()=>{class n{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,s){let a=r=>{this.value=void 0!==r?r:e,this.lastKey=e,this._ref.markForCheck()};if(s){let r=this.translate.getParsedResult(s,e,t);fs(r.subscribe)?r.subscribe(a):a(r)}this.translate.get(e,t).subscribe(a)}transform(e,...t){if(!e||!e.length)return e;if(bf(e,this.lastKey)&&bf(t,this.lastParams))return this.value;let s;if(Sa(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let a=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(a)}catch(r){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"==typeof t[0]&&!Array.isArray(t[0])&&(s=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Fi,16),i.Y36(i.sBO,16))},n.\u0275pipe=i.Yjl({name:"translate",type:n,pure:!1}),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),vd=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:Sc,useClass:Jb},e.compiler||{provide:vf,useClass:Qb},e.parser||{provide:Af,useClass:lm},e.missingTranslationHandler||{provide:yf,useClass:am},Xb,{provide:um,useValue:e.isolate},{provide:dm,useValue:e.useDefaultLang},{provide:fm,useValue:e.extend},{provide:hm,useValue:e.defaultLanguage},Fi]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:Sc,useClass:Jb},e.compiler||{provide:vf,useClass:Qb},e.parser||{provide:Af,useClass:lm},e.missingTranslationHandler||{provide:yf,useClass:am},{provide:um,useValue:e.isolate},{provide:dm,useValue:e.useDefaultLang},{provide:fm,useValue:e.extend},{provide:hm,useValue:e.defaultLanguage},Fi]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),dT=(()=>{class n{constructor(e){this.dialogRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(e,t){1&e&&(i.TgZ(0,"h2",0),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[qs],pipes:[gt],styles:[""]}),n})();const ew=["mat-button",""],hT=["*"],pm=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],gm=tr(mo(_o(class{constructor(n){this._elementRef=n}})));let zt=(()=>{class n extends gm{constructor(e,t,s){super(e),this._focusMonitor=t,this._animationMode=s,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const a of pm)this._hasHostAttributes(a)&&this._getHostElement().classList.add(a);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(t=>this._getHostElement().hasAttribute(t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(As),i.Y36(Oi,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&i.Gf(zn,5),2&e){let s;i.iGM(s=i.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(i.uIk("disabled",t.disabled||null),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[i.qOj],attrs:ew,ngContentSelectors:hT,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"span",0),i.Hsn(1),i.qZA(),i._UZ(2,"span",1),i._UZ(3,"span",2)),2&e&&(i.xp6(2),i.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),i.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[zn],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n})(),ir=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ds,ot],ot]}),n})();const pT=["connectionContainer"],mm=["inputContainer"],gT=["label"];function iw(n,o){1&n&&(i.ynx(0),i.TgZ(1,"div",14),i._UZ(2,"div",15),i._UZ(3,"div",16),i._UZ(4,"div",17),i.qZA(),i.TgZ(5,"div",18),i._UZ(6,"div",15),i._UZ(7,"div",16),i._UZ(8,"div",17),i.qZA(),i.BQk())}function mT(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",19),i.NdJ("cdkObserveContent",function(){return i.CHM(e),i.oxw().updateOutlineGap()}),i.Hsn(1,1),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function nw(n,o){if(1&n&&(i.ynx(0),i.Hsn(1,2),i.TgZ(2,"span"),i._uU(3),i.qZA(),i.BQk()),2&n){const e=i.oxw(2);i.xp6(3),i.Oqu(e._control.placeholder)}}function _T(n,o){1&n&&i.Hsn(0,3,["*ngSwitchCase","true"])}function sw(n,o){1&n&&(i.TgZ(0,"span",23),i._uU(1," *"),i.qZA())}function DS(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"label",20,21),i.NdJ("cdkObserveContent",function(){return i.CHM(e),i.oxw().updateOutlineGap()}),i.YNc(2,nw,4,1,"ng-container",12),i.YNc(3,_T,1,0,"ng-content",12),i.YNc(4,sw,2,0,"span",22),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),i.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),i.uIk("for",e._control.id)("aria-owns",e._control.id),i.xp6(2),i.Q6J("ngSwitchCase",!1),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function yT(n,o){1&n&&(i.TgZ(0,"div",24),i.Hsn(1,4),i.qZA())}function Cd(n,o){if(1&n&&(i.TgZ(0,"div",25),i._UZ(1,"span",26),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function bT(n,o){if(1&n&&(i.TgZ(0,"div"),i.Hsn(1,5),i.qZA()),2&n){const e=i.oxw();i.Q6J("@transitionMessages",e._subscriptAnimationState)}}function Vl(n,o){if(1&n&&(i.TgZ(0,"div",30),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.Q6J("id",e._hintLabelId),i.xp6(1),i.Oqu(e.hintLabel)}}function Td(n,o){if(1&n&&(i.TgZ(0,"div",27),i.YNc(1,Vl,2,2,"div",28),i.Hsn(2,6),i._UZ(3,"div",29),i.Hsn(4,7),i.qZA()),2&n){const e=i.oxw();i.Q6J("@transitionMessages",e._subscriptAnimationState),i.xp6(1),i.Q6J("ngIf",e.hintLabel)}}const wT=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],xS=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let ow=0;const rw=new i.OlP("MatError");let ka=(()=>{class n{constructor(e,t){this.id="mat-error-"+ow++,e||t.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(i.$8M("aria-live"),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("id",t.id)},inputs:{id:"id"},features:[i._Bn([{provide:rw,useExisting:n}])]}),n})();const AT={transitionMessages:ni("transitionMessages",[yt("enter",De({opacity:1,transform:"translateY(0%)"})),ht("void => enter",[De({opacity:0,transform:"translateY(-5px)"}),dt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Md=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n}),n})(),Cf=0;const ql=new i.OlP("MatHint");let CT=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+Cf++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(i.uIk("id",t.id)("align",null),i.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[i._Bn([{provide:ql,useExisting:n}])]}),n})(),bo=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-label"]]}),n})(),cw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const TT=new i.OlP("MatPrefix"),lw=new i.OlP("MatSuffix");let Sd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matSuffix",""]],features:[i._Bn([{provide:lw,useExisting:n}])]}),n})(),uw=0;const MT=tr(class{constructor(n){this._elementRef=n}},"primary"),Gl=new i.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),kd=new i.OlP("MatFormField");let un=(()=>{class n extends MT{constructor(e,t,s,a,r,c,d){super(e),this._changeDetectorRef=t,this._dir=s,this._defaults=a,this._platform=r,this._ngZone=c,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new ke.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+uw++,this._labelId="mat-form-field-label-"+uw++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==d,this.appearance=a&&a.appearance?a.appearance:"legacy",this._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ne(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Ut(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Ke(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Ke(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Ci.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Ut(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Ut(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Ke(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,co(this._label.nativeElement,"transitionend").pipe((0,jt.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,s=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,t=this._connectionContainerRef.nativeElement,s=".mat-form-field-outline-start",a=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const g=t.querySelectorAll(`${s}, ${a}`);for(let I=0;I0?.75*be+10:0}for(let g=0;g{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,ot,id],ot]}),n})();function Tf(n){return n&&"function"==typeof n.connect}class _m{applyChanges(o,e,t,s,a){o.forEachOperation((r,c,d)=>{let h,g;if(null==r.previousIndex){const I=t(r,c,d);h=e.createEmbeddedView(I.templateRef,I.context,I.index),g=1}else null==d?(e.remove(c),g=3):(h=e.get(c),e.move(h,d),g=2);a&&a({context:null==h?void 0:h.context,operation:g,record:r})})}detach(){}}class zi{constructor(o=!1,e,t=!0){this._multiple=o,this._emitChanges=t,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new ke.xQ,e&&e.length&&(o?e.forEach(s=>this._markSelected(s)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...o){this._verifyValueAssignment(o),o.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...o){this._verifyValueAssignment(o),o.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(o){this.isSelected(o)?this.deselect(o):this.select(o)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(o){return this._selection.has(o)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(o){this._multiple&&this.selected&&this._selected.sort(o)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(o){this.isSelected(o)||(this._multiple||this._unmarkAll(),this._selection.add(o),this._emitChanges&&this._selectedToEmit.push(o))}_unmarkSelected(o){this.isSelected(o)&&(this._selection.delete(o),this._emitChanges&&this._deselectedToEmit.push(o))}_unmarkAll(){this.isEmpty()||this._selection.forEach(o=>this._unmarkSelected(o))}_verifyValueAssignment(o){}}let Mf=(()=>{class n{constructor(){this._listeners=[]}notify(e,t){for(let s of this._listeners)s(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Zl=new i.OlP("_ViewRepeater");let ym=(()=>{class n{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n}),n})(),kc=(()=>{class n extends ym{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const ps=new i.OlP("NgValueAccessor"),ET={provide:ps,useExisting:(0,i.Gpc)(()=>An),multi:!0},xT=new i.OlP("CompositionEventMode");let An=(()=>{class n extends ym{constructor(e,t,s){super(e,t),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function DT(){const n=(0,b.q)()?(0,b.q)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(xT,8))},n.\u0275dir=i.lG2({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&i.NdJ("input",function(a){return t._handleInput(a.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(a){return t._compositionEnd(a.target.value)})},features:[i._Bn([ET]),i.qOj]}),n})();function Lr(n){return null==n||0===n.length}function bm(n){return null!=n&&"number"==typeof n.length}const dn=new i.OlP("NgValidators"),Ir=new i.OlP("NgAsyncValidators"),gw=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ni{static min(o){return function mw(n){return o=>{if(Lr(o.value)||Lr(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e{if(Lr(o.value)||Lr(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e>n?{max:{max:n,actual:o.value}}:null}}(o)}static required(o){return Am(o)}static requiredTrue(o){return function vm(n){return!0===n.value?null:{required:!0}}(o)}static email(o){return function _w(n){return Lr(n.value)||gw.test(n.value)?null:{email:!0}}(o)}static minLength(o){return function yw(n){return o=>Lr(o.value)||!bm(o.value)?null:o.value.lengthbm(o.value)&&o.value.length>n?{maxlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static pattern(o){return function bw(n){if(!n)return Wl;let o,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),o=new RegExp(e)):(e=n.toString(),o=n),t=>{if(Lr(t.value))return null;const s=t.value;return o.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(o)}static nullValidator(o){return null}static compose(o){return vw(o)}static composeAsync(o){return Dd(o)}}function Am(n){return Lr(n.value)?{required:!0}:null}function Wl(n){return null}function wo(n){return null!=n}function ww(n){const o=(0,i.QGY)(n)?(0,pn.D)(n):n;return(0,i.CqO)(o),o}function Ed(n){let o={};return n.forEach(e=>{o=null!=e?Object.assign(Object.assign({},o),e):o}),0===Object.keys(o).length?null:o}function Jl(n,o){return o.map(e=>e(n))}function Aw(n){return n.map(o=>function RT(n){return!n.validate}(o)?o:e=>o.validate(e))}function vw(n){if(!n)return null;const o=n.filter(wo);return 0==o.length?null:function(e){return Ed(Jl(e,o))}}function Ql(n){return null!=n?vw(Aw(n)):null}function Dd(n){if(!n)return null;const o=n.filter(wo);return 0==o.length?null:function(e){return sm(Jl(e,o).map(ww)).pipe((0,nt.U)(Ed))}}function Cm(n){return null!=n?Dd(Aw(n)):null}function Cw(n,o){return null===n?[o]:Array.isArray(n)?[...n,o]:[n,o]}function Tm(n){return n._rawValidators}function Mm(n){return n._rawAsyncValidators}function xd(n){return n?Array.isArray(n)?n:[n]:[]}function Rd(n,o){return Array.isArray(n)?n.includes(o):n===o}function Tw(n,o){const e=xd(o);return xd(n).forEach(s=>{Rd(e,s)||e.push(s)}),e}function Mw(n,o){return xd(o).filter(e=>!Rd(n,e))}class PT{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(o){this._rawValidators=o||[],this._composedValidatorFn=Ql(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=Cm(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o){this.control&&this.control.reset(o)}hasError(o,e){return!!this.control&&this.control.hasError(o,e)}getError(o,e){return this.control?this.control.getError(o,e):null}}class Ms extends PT{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class En extends PT{get formDirective(){return null}get path(){return null}}class Sm{constructor(o){this._cd=o}is(o){var e,t,s;return"submitted"===o?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(s=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===s?void 0:s[o])}}let Ss=(()=>{class n extends Sm{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ms,2))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[i.qOj]}),n})(),Ew=(()=>{class n extends Sm{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(En,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[i.qOj]}),n})();function kf(n,o){return[...o.path,n]}function Ld(n,o){Id(n,o),o.valueAccessor.writeValue(n.value),function Pw(n,o){o.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&Lw(n,o)})}(n,o),function xm(n,o){const e=(t,s)=>{o.valueAccessor.writeValue(t),s&&o.viewToModelUpdate(t)};n.registerOnChange(e),o._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,o),function BT(n,o){o.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&Lw(n,o),"submit"!==n.updateOn&&n.markAsTouched()})}(n,o),function NT(n,o){if(o.valueAccessor.setDisabledState){const e=t=>{o.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),o._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,o)}function Dm(n,o,e=!0){const t=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(t),o.valueAccessor.registerOnTouched(t)),Ef(n,o),n&&(o._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Ea(n,o){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(o)})}function Id(n,o){const e=Tm(n);null!==o.validator?n.setValidators(Cw(e,o.validator)):"function"==typeof e&&n.setValidators([e]);const t=Mm(n);null!==o.asyncValidator?n.setAsyncValidators(Cw(t,o.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);const s=()=>n.updateValueAndValidity();Ea(o._rawValidators,s),Ea(o._rawAsyncValidators,s)}function Ef(n,o){let e=!1;if(null!==n){if(null!==o.validator){const s=Tm(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.validator);a.length!==s.length&&(e=!0,n.setValidators(a))}}if(null!==o.asyncValidator){const s=Mm(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.asyncValidator);a.length!==s.length&&(e=!0,n.setAsyncValidators(a))}}}const t=()=>{};return Ea(o._rawValidators,t),Ea(o._rawAsyncValidators,t),e}function Lw(n,o){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Rm(n,o){Id(n,o)}function Ow(n,o){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(o,e.currentValue)}function Fw(n,o){n._syncPendingControls(),o.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Df(n,o){if(!o)return null;let e,t,s;return Array.isArray(o),o.forEach(a=>{a.constructor===An?e=a:function Hw(n){return Object.getPrototypeOf(n.constructor)===kc}(a)?t=a:s=a}),s||t||e||null}function eu(n,o){const e=n.indexOf(o);e>-1&&n.splice(e,1)}const Ec="VALID",tu="INVALID",Od="PENDING",Hd="DISABLED";function xf(n){return(Fd(n)?n.validators:n)||null}function Om(n){return Array.isArray(n)?Ql(n):n||null}function Hm(n,o){return(Fd(o)?o.asyncValidators:n)||null}function Fm(n){return Array.isArray(n)?Cm(n):n||null}function Fd(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const zm=n=>n instanceof Di,Rf=n=>n instanceof Lf,Nm=n=>n instanceof Nw;function zw(n){return zm(n)?n.value:n.getRawValue()}function Bm(n,o){const e=Rf(n),t=n.controls;if(!(e?Object.keys(t):t).length)throw new i.vHH(1e3,"");if(!t[o])throw new i.vHH(1001,"")}function Ym(n,o){Rf(n),n._forEachChild((t,s)=>{if(void 0===o[s])throw new i.vHH(1002,"")})}class Pf{constructor(o,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=o,this._rawAsyncValidators=e,this._composedValidatorFn=Om(this._rawValidators),this._composedAsyncValidatorFn=Fm(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===Ec}get invalid(){return this.status===tu}get pending(){return this.status==Od}get disabled(){return this.status===Hd}get enabled(){return this.status!==Hd}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._rawValidators=o,this._composedValidatorFn=Om(o)}setAsyncValidators(o){this._rawAsyncValidators=o,this._composedAsyncValidatorFn=Fm(o)}addValidators(o){this.setValidators(Tw(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(Tw(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(Mw(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(Mw(o,this._rawAsyncValidators))}hasValidator(o){return Rd(this._rawValidators,o)}hasAsyncValidator(o){return Rd(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){this.touched=!0,this._parent&&!o.onlySelf&&this._parent.markAsTouched(o)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(o=>o.markAllAsTouched())}markAsUntouched(o={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}markAsDirty(o={}){this.pristine=!1,this._parent&&!o.onlySelf&&this._parent.markAsDirty(o)}markAsPristine(o={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}markAsPending(o={}){this.status=Od,!1!==o.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!o.onlySelf&&this._parent.markAsPending(o)}disable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=Hd,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this._updateValue(),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=Ec,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(o){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(o){this._parent=o}updateValueAndValidity(o={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ec||this.status===Od)&&this._runAsyncValidator(o.emitEvent)),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity(o)}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Hd:Ec}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o){if(this.asyncValidator){this.status=Od,this._hasOwnPendingAsyncValidator=!0;const e=ww(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:o})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(o,e={}){this.errors=o,this._updateControlsErrors(!1!==e.emitEvent)}get(o){return function jT(n,o,e){if(null==o||(Array.isArray(o)||(o=o.split(e)),Array.isArray(o)&&0===o.length))return null;let t=n;return o.forEach(s=>{t=Rf(t)?t.controls.hasOwnProperty(s)?t.controls[s]:null:Nm(t)&&t.at(s)||null}),t}(this,o,".")}getError(o,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[o]:null}hasError(o,e){return!!this.getError(o,e)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(o)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Hd:this.errors?tu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Od)?Od:this._anyControlsHaveStatus(tu)?tu:Ec}_anyControlsHaveStatus(o){return this._anyControls(e=>e.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o={}){this.pristine=!this._anyControlsDirty(),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}_updateTouched(o={}){this.touched=this._anyControlsTouched(),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}_isBoxedValue(o){return"object"==typeof o&&null!==o&&2===Object.keys(o).length&&"value"in o&&"disabled"in o}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){Fd(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Di extends Pf{constructor(o=null,e,t){super(xf(e),Hm(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(o),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Fd(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(o)?o.value:o)}setValue(o,e={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(o,e={}){this.setValue(o,e)}reset(o=this.defaultValue,e={}){this._applyFormState(o),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){eu(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){eu(this._onDisabledChange,o)}_forEachChild(o){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(o){this._isBoxedValue(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}}class Lf extends Pf{constructor(o,e,t){super(xf(e),Hm(t,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,e){return this.controls[o]?this.controls[o]:(this.controls[o]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(o,e,t={}){this.registerControl(o,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(o,e,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],e&&this.registerControl(o,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,e={}){Ym(this,o),Object.keys(o).forEach(t=>{Bm(this,t),this.controls[t].setValue(o[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(Object.keys(o).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(o[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o={},e={}){this._forEachChild((t,s)=>{t.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(o,e,t)=>(o[t]=zw(e),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&o(t,e)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&o(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(o,e,t)=>((e.enabled||this.disabled)&&(o[t]=e.value),o))}_reduceChildren(o,e){let t=o;return this._forEachChild((s,a)=>{t=e(t,s,a)}),t}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Nw extends Pf{constructor(o,e,t){super(xf(e),Hm(t,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(o){return this.controls[o]}push(o,e={}){this.controls.push(o),this._registerControl(o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(o,e,t={}){this.controls.splice(o,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(o,e,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(o,e={}){Ym(this,o),o.forEach((t,s)=>{Bm(this,s),this.at(s).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(o.forEach((t,s)=>{this.at(s)&&this.at(s).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o=[],e={}){this._forEachChild((t,s)=>{t.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(o=>zw(o))}clear(o={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:o.emitEvent}))}_syncPendingControls(){let o=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){this.controls.forEach((e,t)=>{o(e,t)})}_updateValue(){this.value=this.controls.filter(o=>o.enabled||this.disabled).map(o=>o.value)}_anyControls(o){return this.controls.some(e=>e.enabled&&o(e))}_setUpControls(){this._forEachChild(o=>this._registerControl(o))}_allControlsDisabled(){for(const o of this.controls)if(o.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(o){o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)}}const OS={provide:En,useExisting:(0,i.Gpc)(()=>nu)},iu=(()=>Promise.resolve(null))();let nu=(()=>{class n extends En{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.vpe,this.form=new Lf({},Ql(e),Cm(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){iu.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Ld(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){iu.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){iu.then(()=>{const t=this._findContainer(e.path),s=new Lf({});Rm(s,e),t.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){iu.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){iu.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Fw(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(dn,10),i.Y36(Ir,10))},n.\u0275dir=i.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(a){return t.onSubmit(a)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([OS]),i.qOj]}),n})();const If={provide:Ms,useExisting:(0,i.Gpc)(()=>Da)},qT=(()=>Promise.resolve(null))();let Da=(()=>{class n extends Ms{constructor(e,t,s,a,r){super(),this._changeDetectorRef=r,this.control=new Di,this._registered=!1,this.update=new i.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Df(0,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Ow(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ld(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){qT.then(()=>{var t;this.control.setValue(e,{emitViewToModelChange:!1}),null===(t=this._changeDetectorRef)||void 0===t||t.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,s=""===t||t&&"false"!==t;qT.then(()=>{var a;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()})}_getPath(e){return this._parent?kf(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(En,9),i.Y36(dn,10),i.Y36(Ir,10),i.Y36(ps,10),i.Y36(i.sBO,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([If]),i.qOj,i.TTD]}),n})(),Dc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})(),jm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const su=new i.OlP("NgModelWithFormControlWarning"),Vw={provide:Ms,useExisting:(0,i.Gpc)(()=>nr)};let nr=(()=>{class n extends Ms{constructor(e,t,s,a){super(),this._ngModelWarningConfig=a,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Df(0,s)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Dm(t,this,!1),Ld(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Ow(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Dm(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(i.Y36(dn,10),i.Y36(Ir,10),i.Y36(ps,10),i.Y36(su,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([Vw]),i.qOj,i.TTD]}),n})();const zS={provide:En,useExisting:(0,i.Gpc)(()=>ou)};let ou=(()=>{class n extends En{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ef(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return Ld(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Dm(e.control||null,e,!1),eu(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,Fw(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,s=this.form.get(e.path);t!==s&&(Dm(t||null,e),zm(s)&&(Ld(s,e),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Rm(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function Iw(n,o){return Ef(n,o)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Id(this.form,this),this._oldForm&&Ef(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(dn,10),i.Y36(Ir,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(a){return t.onSubmit(a)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([zS]),i.qOj,i.TTD]}),n})();const qm={provide:Ms,useExisting:(0,i.Gpc)(()=>Gm)};let Gm=(()=>{class n extends Ms{constructor(e,t,s,a,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Df(0,a)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),Ow(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return kf(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(i.Y36(En,13),i.Y36(dn,10),i.Y36(Ir,10),i.Y36(ps,10),i.Y36(su,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([qm]),i.qOj,i.TTD]}),n})(),Dn=(()=>{class n{constructor(){this._validator=Wl}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Wl,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();const e0={provide:dn,useExisting:(0,i.Gpc)(()=>sr),multi:!0};let sr=(()=>{class n extends Dn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function WT(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>Am}enabled(e){return e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[i._Bn([e0]),i.qOj]}),n})(),t_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[jm]]}),n})(),Xw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[t_]}),n})(),ru=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:su,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[t_]}),n})(),US=(()=>{class n{group(e,t=null){const s=this._reduceControls(e);let c,a=null,r=null;return null!=t&&(function jS(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(t)?(a=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,c=null!=t.updateOn?t.updateOn:void 0):(a=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new Lf(s,{asyncValidators:r,updateOn:c,validators:a})}control(e,t,s){return new Di(e,t,s)}array(e,t,s){const a=e.map(r=>this._createControl(r));return new Nw(a,t,s)}_reduceControls(e){const t={};return Object.keys(e).forEach(s=>{t[s]=this._createControl(e[s])}),t}_createControl(e){return zm(e)||Rf(e)||Nm(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:ru}),n})();const a0=["trigger"],c0=["panel"];function l0(n,o){if(1&n&&(i.TgZ(0,"span",8),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.placeholder)}}function VS(n,o){if(1&n&&(i.TgZ(0,"span",12),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.triggerValue)}}function qS(n,o){1&n&&i.Hsn(0,0,["*ngSwitchCase","true"])}function GS(n,o){if(1&n&&(i.TgZ(0,"span",9),i.YNc(1,VS,2,1,"span",10),i.YNc(2,qS,1,0,"ng-content",11),i.qZA()),2&n){const e=i.oxw();i.Q6J("ngSwitch",!!e.customTrigger),i.xp6(2),i.Q6J("ngSwitchCase",!0)}}function KS(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",13),i.TgZ(1,"div",14,15),i.NdJ("@transformPanel.done",function(s){return i.CHM(e),i.oxw()._panelDoneAnimatingStream.next(s.toState)})("keydown",function(s){return i.CHM(e),i.oxw()._handleKeydown(s)}),i.Hsn(3,1),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("@transformPanelWrap",void 0),i.xp6(1),i.Gre("mat-select-panel ",e._getPanelTheme(),""),i.Udp("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),i.Q6J("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),i.uIk("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const ZS=[[["mat-select-trigger"]],"*"],u0=["mat-select-trigger","*"],Bd={transformPanelWrap:ni("transformPanelWrap",[ht("* => void",po("@transformPanel",[Vy()],{optional:!0}))]),transformPanel:ni("transformPanel",[yt("void",De({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),yt("showing",De({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),yt("showing-multiple",De({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),ht("void => *",dt("120ms cubic-bezier(0, 0, 0.2, 1)")),ht("* => void",dt("100ms 25ms linear",De({opacity:0})))])};let xa=0;const Yd=new i.OlP("mat-select-scroll-strategy"),QS=new i.OlP("MAT_SELECT_CONFIG"),XS={provide:Yd,deps:[Ys],useFactory:function JS(n){return()=>n.scrollStrategies.reposition()}};class ek{constructor(o,e){this.source=o,this.value=e}}const eA=_o(Fl(mo($g(class{constructor(n,o,e,t,s){this._elementRef=n,this._defaultErrorStateMatcher=o,this._parentForm=e,this._parentFormGroup=t,this.ngControl=s}})))),f0=new i.OlP("MatSelectTrigger");let p0=(()=>{class n extends eA{constructor(e,t,s,a,r,c,d,h,g,I,W,ce,be,Me){var Fe,Ft,Qt;super(r,a,d,h,I),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=s,this._dir=c,this._parentFormField=g,this._liveAnnouncer=be,this._defaultOptions=Me,this._panelOpen=!1,this._compareWith=(Pt,oi)=>Pt===oi,this._uid="mat-select-"+xa++,this._triggerAriaLabelledBy=null,this._destroy=new ke.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+xa++,this._panelDoneAnimatingStream=new ke.xQ,this._overlayPanelClass=(null===(Fe=this._defaultOptions)||void 0===Fe?void 0:Fe.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Qt=null===(Ft=this._defaultOptions)||void 0===Ft?void 0:Ft.disableOptionCentering)&&void 0!==Qt&&Qt,this.ariaLabel="",this.optionSelectionChanges=Ln(()=>{const Pt=this.options;return Pt?Pt.changes.pipe(Ut(Pt),(0,Gi.w)(()=>(0,Ci.T)(...Pt.map(oi=>oi.onSelectionChange)))):this._ngZone.onStable.pipe((0,jt.q)(1),(0,Gi.w)(()=>this.optionSelectionChanges))}),this.openedChange=new i.vpe,this._openedStream=this.openedChange.pipe((0,Yt.h)(Pt=>Pt),(0,nt.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Yt.h)(Pt=>!Pt),(0,nt.U)(()=>{})),this.selectionChange=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Me?void 0:Me.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Me.typeaheadDebounceInterval),this._scrollStrategyFactory=ce,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(W)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(Ni.required))&&void 0!==a&&a}set required(e){this._required=Ne(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Ne(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Ne(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Ii(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new zi(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(ya(),Ke(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Ke(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Ut(null),Ke(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,t;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(t=this._selectionModel)||void 0===t?void 0:t.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,s=40===t||38===t||37===t||39===t,a=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&a&&!bn(e)||(this.multiple||e.altKey)&&s)e.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;r.onKeydown(e);const d=this.selected;d&&c!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,s=e.keyCode,a=40===s||38===s,r=t.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(r||13!==s&&32!==s||!t.activeItem||bn(e))if(!r&&this._multiple&&65===s&&e.ctrlKey){e.preventDefault();const c=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(c?d.select():d.deselect())})}else{const c=t.activeItemIndex;t.onKeydown(e),this._multiple&&a&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==c&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,jt.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectValue(t)),this._sortValues();else{const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(s=>{if(this._selectionModel.isSelected(s))return!1;try{return null!=s.value&&this._compareWith(s.value,e)}catch(a){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new rd(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Ke(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Ke(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=(0,Ci.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ke(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Ci.T)(...this.options.map(t=>t._stateChanges)).pipe(Ke(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const s=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(s!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),s!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,s)=>this.sortComparator?this.sortComparator(t,s,e):e.indexOf(t)-e.indexOf(s)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let s=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(s+=" "+this.ariaLabelledby),s}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Go),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(Ma),i.Y36(i.SBq),i.Y36(ki,8),i.Y36(nu,8),i.Y36(ou,8),i.Y36(kd,8),i.Y36(Ms,10),i.$8M("tabindex"),i.Y36(Yd),i.Y36(Yy),i.Y36(QS,8))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf(a0,5),i.Gf(c0,5),i.Gf(Ey,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.trigger=s.first),i.iGM(s=i.CRH())&&(t.panel=s.first),i.iGM(s=i.CRH())&&(t._overlayDir=s.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[i.qOj,i.TTD]}),n})(),jd=(()=>{class n extends p0{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,s){const a=this._getItemHeight();return Math.min(Math.max(0,a*e-t+a/2),s)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Ke(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,jt.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const t=Yl(e,this.options,this.optionGroups),s=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===t?0:function WC(n,o,e,t){return ne+t?Math.max(0,n-t+o):e}((e+t)*s,s,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new ek(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),s=this._isRtl(),a=this.multiple?56:32;let r;if(this.multiple)r=40;else if(this.disableOptionCentering)r=16;else{let h=this._selectionModel.selected[0]||this.options.first;r=h&&h.group?32:16}s||(r*=-1);const c=0-(e.left+r-(s?a:0)),d=e.right+r-t.width+(s?0:a);c>0?r+=c+8:d>0&&(r-=d+8),this._overlayDir.offsetX=Math.round(r),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,s){const a=this._getItemHeight(),r=(a-this._triggerRect.height)/2,c=Math.floor(256/a);let d;return this.disableOptionCentering?0:(d=0===this._scrollTop?e*a:this._scrollTop===s?(e-(this._getItemCount()-c))*a+(a-(this._getItemCount()*a-256)%a):t-a/2,Math.round(-1*d-r))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),s=this._viewportRuler.getViewportSize(),a=this._triggerRect.top-8,r=s.height-this._triggerRect.bottom-8,c=Math.abs(this._offsetY),h=Math.min(this._getItemCount()*t,256)-c-this._triggerRect.height;h>r?this._adjustPanelUp(h,r):c>a?this._adjustPanelDown(c,a,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const s=Math.round(e-t);this._scrollTop-=s,this._offsetY-=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,s){const a=Math.round(e-t);if(this._scrollTop+=a,this._offsetY+=a,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=s)return this._scrollTop=s,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),s=Math.min(t*e,256),r=t*e-s;let c;c=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),c+=Yl(c,this.options,this.optionGroups);const d=s/2;this._scrollTop=this._calculateOverlayScroll(c,d,r),this._offsetY=this._calculateOverlayOffsetY(c,d,r),this._checkOverlayWithinViewport(r)}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-select"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,f0,5),i.Suo(s,Bl,5),i.Suo(s,tm,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.customTrigger=a.first),i.iGM(a=i.CRH())&&(t.options=a),i.iGM(a=i.CRH())&&(t.optionGroups=a)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(a){return t._handleKeydown(a)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(i.uIk("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),i.ekj("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[i._Bn([{provide:Md,useExisting:n},{provide:em,useExisting:n}]),i.qOj],ngContentSelectors:u0,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(i.F$t(ZS),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t.toggle()}),i.TgZ(3,"div",2),i.YNc(4,l0,2,1,"span",3),i.YNc(5,GS,3,2,"span",4),i.qZA(),i.TgZ(6,"div",5),i._UZ(7,"div",6),i.qZA(),i.qZA(),i.YNc(8,KS,4,14,"ng-template",7),i.NdJ("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){const s=i.MAs(1);i.uIk("aria-owns",t.panelOpen?t.id+"-panel":null),i.xp6(3),i.Q6J("ngSwitch",t.empty),i.uIk("id",t._valueId),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1),i.xp6(3),i.Q6J("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[ky,b.RF,b.n9,b.ED,Ey,b.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[Bd.transformPanelWrap,Bd.transformPanel]},changeDetection:0}),n})(),Ud=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[XS],imports:[[b.ez,ed,im,ot],kr,Kl,im,ot]}),n})();const n_=new Set;let lu,m0=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Nf}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function tA(n){if(!n_.has(n))try{lu||(lu=document.createElement("style"),lu.setAttribute("type","text/css"),document.head.appendChild(lu)),lu.sheet&&(lu.sheet.insertRule(`@media ${n} {body{ }}`,0),n_.add(n))}catch(o){console.error(o)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Nf(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let ik=(()=>{class n{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new ke.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return s_(fa(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){const s=s_(fa(e)).map(r=>this._registerQuery(r).observable);let a=(0,qr.aj)(s);return a=Lo(a.pipe((0,jt.q)(1)),a.pipe(Dy(1),(0,gc.b)(0))),a.pipe((0,nt.U)(r=>{const c={matches:!1,breakpoints:{}};return r.forEach(({matches:d,query:h})=>{c.matches=c.matches||d,c.breakpoints[h]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),a={observable:new Xi.y(r=>{const c=d=>this._zone.run(()=>r.next(d));return t.addListener(c),()=>{t.removeListener(c)}}).pipe(Ut(t),(0,nt.U)(({matches:r})=>({query:e,matches:r})),Ke(this._destroySubject)),mql:t};return this._queries.set(e,a),a}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(m0),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function s_(n){return n.map(o=>o.split(",")).reduce((o,e)=>o.concat(e)).map(o=>o.trim())}const _0={tooltipState:ni("state",[yt("initial, void, hidden",De({opacity:0,transform:"scale(0)"})),yt("visible",De({transform:"scale(1)"})),ht("* => visible",dt("200ms cubic-bezier(0, 0, 0.2, 1)",_c([De({opacity:0,transform:"scale(0)",offset:0}),De({opacity:.5,transform:"scale(0.99)",offset:.5}),De({opacity:1,transform:"scale(1)",offset:1})]))),ht("* => hidden",dt("100ms cubic-bezier(0, 0, 0.2, 1)",De({opacity:0})))])},iA="tooltip-panel",b0=Vo({passive:!0}),nA=new i.OlP("mat-tooltip-scroll-strategy"),v0={provide:nA,deps:[Ys],useFactory:function A0(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},C0=new i.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function T0(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let M0=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I,W,ce){this._overlay=e,this._elementRef=t,this._scrollDispatcher=s,this._viewContainerRef=a,this._ngZone=r,this._platform=c,this._ariaDescriber=d,this._focusMonitor=h,this._dir=I,this._defaultOptions=W,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 ke.xQ,this._scrollStrategy=g,this._document=ce,W&&(W.position&&(this.position=W.position),W.touchGestures&&(this.touchGestures=W.touchGestures)),I.change.pipe(Ke(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=Ne(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Ii(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Ii(e)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).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(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ke(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,s])=>{e.removeEventListener(t,s,b0)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new uo(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Ke(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return t.positionChanges.pipe(Ke(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:`${this._cssClassPrefix}-${iA}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ke(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ke(this._destroyed)).subscribe(()=>{var s;return null===(s=this._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(Ke(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!bn(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,s=this._getOrigin(),a=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},s.main),a.main)),this._addOffset(Object.assign(Object.assign({},s.fallback),a.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let s;"above"==t||"below"==t?s={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?s={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(s={originX:"end",originY:"center"});const{x:a,y:r}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:a,originY:r}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let s;"above"==t?s={overlayX:"center",overlayY:"bottom"}:"below"==t?s={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?s={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(s={overlayX:"start",overlayY:"center"});const{x:a,y:r}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:a,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,jt.q)(1),Ke(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){const{overlayY:t,originX:s,originY:a}=e;let r;if(r="center"===t?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===t&&"top"===a?"above":"below",r!==this._currentPosition){const c=this._overlayRef;if(c){const d=`${this._cssClassPrefix}-${iA}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+r)}this._currentPosition=r}}_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 e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,s])=>{this._elementRef.nativeElement.addEventListener(t,s,b0)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=this._document.elementFromPoint(e.clientX,e.clientY),s=this._elementRef.nativeElement;t!==s&&!s.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,s=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(s.userSelect=s.msUserSelect=s.webkitUserSelect=s.MozUserSelect="none"),("on"===e||!t.draggable)&&(s.webkitUserDrag="none"),s.touchAction="none",s.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),uu=(()=>{class n extends M0{constructor(e,t,s,a,r,c,d,h,g,I,W,ce){super(e,t,s,a,r,c,d,h,g,I,W,ce),this._tooltipComponent=rk}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ys),i.Y36(i.SBq),i.Y36(qo),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(ti),i.Y36(eC),i.Y36(As),i.Y36(nA),i.Y36(ki,8),i.Y36(C0,8),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[i.qOj]}),n})(),ok=(()=>{class n{constructor(e){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new ke.xQ}show(e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"===t&&!this.isVisible()&&this._onHide.next(),("visible"===t||"hidden"===t)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n}),n})(),rk=(()=>{class n extends ok{constructor(e,t){super(e),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(ik))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){2&e&&i.Udp("zoom","visible"===t._visibility?1:null)},features:[i.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(a){return t._animationDone(a)}),i.ALo(1,"async"),i._uU(2),i.qZA()),2&e){let s;i.ekj("mat-tooltip-handset",null==(s=i.lcZ(1,5,t._isHandset))?null:s.matches),i.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),i.xp6(2),i.Oqu(t.message)}},directives:[b.mk],pipes:[b.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[_0.tooltipState]},changeDetection:0}),n})(),Yf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[v0],imports:[[jy,b.ez,ed,ot],ot,kr]}),n})();function ak(n,o){if(1&n&&(i.TgZ(0,"mat-option",19),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e," ")}}function S0(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",16),i.TgZ(1,"mat-select",17),i.NdJ("selectionChange",function(s){return i.CHM(e),i.oxw(2)._changePageSize(s.value)}),i.YNc(2,ak,2,2,"mat-option",18),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.Q6J("appearance",e._formFieldAppearance)("color",e.color),i.xp6(1),i.Q6J("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),i.xp6(1),i.Q6J("ngForOf",e._displayedPageSizeOptions)}}function ck(n,o){if(1&n&&(i.TgZ(0,"div",20),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.pageSize)}}function lk(n,o){if(1&n&&(i.TgZ(0,"div",12),i.TgZ(1,"div",13),i._uU(2),i.qZA(),i.YNc(3,S0,3,6,"mat-form-field",14),i.YNc(4,ck,2,1,"div",15),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",e._intl.itemsPerPageLabel," "),i.xp6(1),i.Q6J("ngIf",e._displayedPageSizeOptions.length>1),i.xp6(1),i.Q6J("ngIf",e._displayedPageSizeOptions.length<=1)}}function uk(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",21),i.NdJ("click",function(){return i.CHM(e),i.oxw().firstPage()}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",22),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),i.uIk("aria-label",e._intl.firstPageLabel)}}function dk(n,o){if(1&n){const e=i.EpF();i.O4$(),i.kcU(),i.TgZ(0,"button",23),i.NdJ("click",function(){return i.CHM(e),i.oxw().lastPage()}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",24),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),i.uIk("aria-label",e._intl.lastPageLabel)}}let l=(()=>{class n{constructor(){this.changes=new ke.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,s)=>{if(0==s||0==t)return`0 of ${s}`;const a=e*t;return`${a+1} \u2013 ${a<(s=Math.max(s,0))?Math.min(a+t,s):a+t} of ${s}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const f={provide:l,deps:[[new i.FiY,new i.tp0,l]],useFactory:function u(n){return n||new l}},y=new i.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),M=mo(Wg(class{}));let k=(()=>{class n extends M{constructor(e,t,s){if(super(),this._intl=e,this._changeDetectorRef=t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new i.vpe,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),s){const{pageSize:a,pageSizeOptions:r,hidePageSize:c,showFirstLastButtons:d}=s;null!=a&&(this._pageSize=a),null!=r&&(this._pageSizeOptions=r),null!=c&&(this._hidePageSize=c),null!=d&&(this._showFirstLastButtons=d)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Ii(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Ii(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Ii(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(t=>Ii(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=Ne(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=Ne(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[i.qOj]}),n})(),x=(()=>{class n extends k{constructor(e,t,s){super(e,t,s),s&&null!=s.formFieldAppearance&&(this._formFieldAppearance=s.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(l),i.Y36(i.sBO),i.Y36(y,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[i.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.YNc(2,lk,5,3,"div",2),i.TgZ(3,"div",3),i.TgZ(4,"div",4),i._uU(5),i.qZA(),i.YNc(6,uk,3,5,"button",5),i.TgZ(7,"button",6),i.NdJ("click",function(){return t.previousPage()}),i.O4$(),i.TgZ(8,"svg",7),i._UZ(9,"path",8),i.qZA(),i.qZA(),i.kcU(),i.TgZ(10,"button",9),i.NdJ("click",function(){return t.nextPage()}),i.O4$(),i.TgZ(11,"svg",7),i._UZ(12,"path",10),i.qZA(),i.qZA(),i.YNc(13,dk,3,5,"button",11),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("ngIf",!t.hidePageSize),i.xp6(3),i.hij(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),i.xp6(1),i.Q6J("ngIf",t.showFirstLastButtons),i.xp6(1),i.Q6J("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),i.uIk("aria-label",t._intl.previousPageLabel),i.xp6(3),i.Q6J("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),i.uIk("aria-label",t._intl.nextPageLabel),i.xp6(3),i.Q6J("ngIf",t.showFirstLastButtons))},directives:[un,jd,Bl,zt,b.O5,b.sg,uu],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),n})(),z=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[f],imports:[[b.ez,ir,Ud,Yf,ot]]}),n})();var j=w(943);const Q=["mat-menu-item",""];function ie(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",2),i._UZ(1,"polygon",3),i.qZA())}const le=["*"];function ye(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",0),i.NdJ("keydown",function(s){return i.CHM(e),i.oxw()._handleKeydown(s)})("click",function(){return i.CHM(e),i.oxw().closed.emit("click")})("@transformMenu.start",function(s){return i.CHM(e),i.oxw()._onAnimationStart(s)})("@transformMenu.done",function(s){return i.CHM(e),i.oxw()._onAnimationDone(s)}),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),i.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const Pe={transformMenu:ni("transformMenu",[yt("void",De({opacity:0,transform:"scale(0.8)"})),ht("void => enter",dt("120ms cubic-bezier(0, 0, 0.2, 1)",De({opacity:1,transform:"scale(1)"}))),ht("* => void",dt("100ms 25ms linear",De({opacity:0})))]),fadeInItems:ni("fadeInItems",[yt("showing",De({opacity:1})),ht("void => *",[De({opacity:0}),dt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ce=new i.OlP("MatMenuContent"),Vd=new i.OlP("MAT_MENU_PANEL"),o_=_o(mo(class{}));let xc=(()=>{class n extends o_{constructor(e,t,s,a,r){var c;super(),this._elementRef=e,this._focusMonitor=s,this._parentMenu=a,this._changeDetectorRef=r,this.role="menuitem",this._hovered=new ke.xQ,this._focused=new ke.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(c=null==a?void 0:a.addItem)||void 0===c||c.call(a,this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const t=this._elementRef.nativeElement.cloneNode(!0),s=t.querySelectorAll("mat-icon, .material-icons");for(let a=0;a{class n{constructor(e,t,s){this._elementRef=e,this._ngZone=t,this._defaultOptions=s,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.n_E,this._tabSubscription=q.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new ke.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new i.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+a_++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=Ne(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ne(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(s=>{this._classList[s]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(s=>{this._classList[s]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Cl(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Ut(this._directDescendantItems),(0,Gi.w)(e=>(0,Ci.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Ut(this._directDescendantItems),(0,Gi.w)(t=>(0,Ci.T)(...t.map(s=>s._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,s=this._keyManager;switch(t){case 27:bn(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===t||40===t)&&s.setFocusOrigin("keyboard"),void s.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe((0,jt.q)(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let s=this._directDescendantItems.first._getHostElement().parentElement;for(;s;){if("menu"===s.getAttribute("role")){s.focus();break}s=s.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),s=`${this._elevationPrefix}${t}`,a=Object.keys(this._classList).find(r=>r.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(e=this.xPosition,t=this.yPosition){const s=this._classList;s["mat-menu-before"]="before"===e,s["mat-menu-after"]="after"===e,s["mat-menu-above"]="above"===t,s["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Ut(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(jf))},n.\u0275dir=i.lG2({type:n,contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Ce,5),i.Suo(s,xc,5),i.Suo(s,xc,4)),2&e){let a;i.iGM(a=i.CRH())&&(t.lazyContent=a.first),i.iGM(a=i.CRH())&&(t._allItems=a),i.iGM(a=i.CRH())&&(t.items=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,5),2&e){let s;i.iGM(s=i.CRH())&&(t.templateRef=s.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),Uf=(()=>{class n extends Rc{constructor(e,t,s){super(e,t,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(jf))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&i.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[i._Bn([{provide:Vd,useExisting:n}]),i.qOj],ngContentSelectors:le,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,ye,3,6,"ng-template"))},directives:[b.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[Pe.transformMenu,Pe.fadeInItems]},changeDetection:0}),n})();const hk=new i.OlP("mat-menu-scroll-strategy"),u1={provide:hk,deps:[Ys],useFactory:function l1(n){return()=>n.scrollStrategies.reposition()}},pk=Vo({passive:!0});let d1=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this._overlay=e,this._element=t,this._viewContainerRef=s,this._menuItemInstance=c,this._dir=d,this._focusMonitor=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=q.w.EMPTY,this._hoverSubscription=q.w.EMPTY,this._menuCloseSubscription=q.w.EMPTY,this._handleTouchStart=g=>{cd(g)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new i.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=r instanceof Rc?r:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,pk),c&&(c._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),("click"===t||"tab"===t)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,pk),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig(),s=t.positionStrategy;this._setPosition(s),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Rc&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(Ke(this.menu.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof Rc?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,Yt.h)(s=>"void"===s.toState),(0,jt.q)(1),Ke(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Oh({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,s]="before"===this.menu.xPosition?["end","start"]:["start","end"],[a,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[c,d]=[a,r],[h,g]=[t,s],I=0;this.triggersSubmenu()?(g=t="before"===this.menu.xPosition?"start":"end",s=h="end"===t?"start":"end",I="bottom"===a?8:-8):this.menu.overlapTrigger||(c="top"===a?"bottom":"top",d="top"===r?"bottom":"top"),e.withPositions([{originX:t,originY:c,overlayX:h,overlayY:a,offsetY:I},{originX:s,originY:c,overlayX:g,overlayY:a,offsetY:I},{originX:t,originY:d,overlayX:h,overlayY:r,offsetY:-I},{originX:s,originY:d,overlayX:g,overlayY:r,offsetY:-I}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),s=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ye.of)(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Yt.h)(r=>r!==this._menuItemInstance),(0,Yt.h)(()=>this._menuOpen)):(0,Ye.of)();return(0,Ci.T)(e,s,a,t)}_handleMousedown(e){ad(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;(13===t||32===t)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Yt.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,j.g)(0,qu)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Rc&&this.menu._isAnimating?this.menu._animationDone.pipe((0,jt.q)(1),(0,j.g)(0,qu),Ke(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Ko(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ys),i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(hk),i.Y36(Vd,8),i.Y36(xc,10),i.Y36(ki,8),i.Y36(As))},n.\u0275dir=i.lG2({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t._handleClick(a)})("mousedown",function(a){return t._handleMousedown(a)})("keydown",function(a){return t._handleKeydown(a)}),2&e&&i.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),gk=(()=>{class n extends d1{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[i.qOj]}),n})(),oA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[u1],imports:[[b.ez,ot,ds,ed],kr,ot]}),n})();var rA=w(1737),h1=w(2474);const f1=["*"];let aA;function c_(n){var o;return(null===(o=function p1(){if(void 0===aA&&(aA=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(aA=n.trustedTypes.createPolicy("angular#components",{createHTML:o=>o}))}return aA}())||void 0===o?void 0:o.createHTML(n))||n}function mk(n){return Error(`Unable to find icon with the name "${n}"`)}function _k(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function yk(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class qd{constructor(o,e,t){this.url=o,this.svgText=e,this.options=t}}let Gd=(()=>{class n{constructor(e,t,s,a){this._httpClient=e,this._sanitizer=t,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=s}addSvgIcon(e,t,s){return this.addSvgIconInNamespace("",e,t,s)}addSvgIconLiteral(e,t,s){return this.addSvgIconLiteralInNamespace("",e,t,s)}addSvgIconInNamespace(e,t,s,a){return this._addSvgIconConfig(e,t,new qd(s,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,s,a){const r=this._sanitizer.sanitize(i.q3G.HTML,s);if(!r)throw yk(s);const c=c_(r);return this._addSvgIconConfig(e,t,new qd("",c,a))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,s){return this._addSvgIconSetConfig(e,new qd(t,null,s))}addSvgIconSetLiteralInNamespace(e,t,s){const a=this._sanitizer.sanitize(i.q3G.HTML,t);if(!a)throw yk(t);const r=c_(a);return this._addSvgIconSetConfig(e,new qd("",r,s))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,e);if(!t)throw _k(e);const s=this._cachedIconsByUrl.get(t);return s?(0,Ye.of)(cA(s)):this._loadSvgIconFromConfig(new qd(e,null)).pipe((0,V.b)(a=>this._cachedIconsByUrl.set(t,a)),(0,nt.U)(a=>cA(a)))}getNamedSvgIcon(e,t=""){const s=bk(t,e);let a=this._svgIconConfigs.get(s);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(t,e),a)return this._svgIconConfigs.set(s,a),this._getSvgFromConfig(a);const r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):(0,rA._)(mk(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ye.of)(cA(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,nt.U)(t=>cA(t)))}_getSvgFromIconSetConfigs(e,t){const s=this._extractIconWithNameFromAnySet(e,t);return s?(0,Ye.of)(s):sm(t.filter(r=>!r.svgText).map(r=>this._loadSvgIconSetFromConfig(r).pipe((0,ui.K)(c=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(i.q3G.RESOURCE_URL,r.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(h)),(0,Ye.of)(null)})))).pipe((0,nt.U)(()=>{const r=this._extractIconWithNameFromAnySet(e,t);if(!r)throw mk(e);return r}))}_extractIconWithNameFromAnySet(e,t){for(let s=t.length-1;s>=0;s--){const a=t[s];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){const r=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(r,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,V.b)(t=>e.svgText=t),(0,nt.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ye.of)(null):this._fetchIcon(e).pipe((0,V.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,s){const a=e.querySelector(`[id="${t}"]`);if(!a)return null;const r=a.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,s);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),s);const c=this._svgElementFromString(c_(""));return c.appendChild(r),this._setSvgAttributes(c,s)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const s=t.querySelector("svg");if(!s)throw Error(" tag not found");return s}_toSvgElement(e){const t=this._svgElementFromString(c_("")),s=e.attributes;for(let a=0;ac_(g)),te(()=>this._inProgressUrlFetches.delete(c)),(0,h1.B)());return this._inProgressUrlFetches.set(c,h),h}_addSvgIconConfig(e,t,s){return this._svgIconConfigs.set(bk(e,t),s),this}_addSvgIconSetConfig(e,t){const s=this._iconSetConfigs.get(e);return s?s.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let s=0;so?o.pathname+o.search:""}}}),wk=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],A1=wk.map(n=>`[${n}]`).join(", "),v1=/^url\(['"]?#(.*?)['"]?\)$/;let Zi=(()=>{class n extends y1{constructor(e,t,s,a,r){super(e),this._iconRegistry=t,this._location=a,this._errorHandler=r,this._inline=!1,this._currentIconFetch=q.w.EMPTY,s||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=Ne(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let a=0;a{s.forEach(r=>{a.setAttribute(r.name,`url('${e}#${r.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(A1),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{const c=t[a],d=c.getAttribute(r),h=d?d.match(v1):null;if(h){let g=s.get(c);g||(g=[],s.set(c,g)),g.push({name:r,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,s]=this._splitIconName(e);t&&(this._svgNamespace=t),s&&(this._svgName=s),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,t).pipe((0,jt.q)(1)).subscribe(a=>this._setSvgElement(a),a=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${s}! ${a.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Gd),i.$8M("aria-hidden"),i.Y36(b1),i.Y36(i.qLn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(i.uIk("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),i.ekj("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.qOj],ngContentSelectors:f1,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),n})(),hu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})(),Ak=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[z,oA,hu,ir,vd,b.ez]]}),n})();var C1=w(655),T1=w(9441);const Kd=[5,10,25,100];function vk(n){let o="";return null!==n.titleBefore&&(o+=n.titleBefore+" "),null!==n.firstName&&(o+=n.firstName+" "),null!==n.middleName&&(o+=n.middleName+" "),null!==n.lastName&&(o+=n.lastName+" "),null!==n.titleAfter&&(o+=n.titleAfter+" "),o.endsWith(" ")&&(o=o.substring(0,o.length-1)),o}function Qn(){const n=new Mc;return n.disableClose=!0,n.autoFocus=!1,n}const I1=new Intl.Collator("cs",{numeric:!0});function Vf(n,o,e,t){const s=o.active,a=o.direction;return s&&""!==a?n.sort((r,c)=>{const d=e(r,s,t),h=e(c,s,t);return I1.compare(d,h)*("asc"===a?1:-1)}):n}function l_(n,o,e,t,s,a){o=o.toLowerCase();let r="";return e.forEach(c=>{r+=";"+t(n,c,s)}),a&&(r+=";"+t(n,"uuid",s)),-1!==r.toLowerCase().indexOf(o)}function qf(n,o){let e="";return n.attributes&&n.attributes.forEach(t=>{t.friendlyName===o&&(e=t.value)}),e}function Gf(n,o,e,t){const s=[],a=["checkbox","select","edit","menu","cite","extend","recent"];return o=o.filter(r=>!a.includes(r)),n.forEach(r=>{const c={};o.forEach(d=>{var h;c[d]=(null!==(h=e(r,d,t))&&void 0!==h?h:"").split('"').join("''").trim()}),s.push(c)}),s}function Kf(n,o="csv",e="export"){if("csv"===o){const t=(d,h)=>null===h?"":h,s=Object.keys(n[0]),a=n.map(d=>s.map(h=>JSON.stringify(d[h],t)).join(","));a.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const r=a.join("\r\n"),c=new Blob([r],{type:"text/csv"});(0,T1.saveAs)(c,`${e}.${o}`)}}const Ck="GUI_CONFIG.PREF_PAGE_SIZE.";let H1=(()=>{class n{constructor(){}getString(e){return localStorage.getItem(e)}getNumber(e){return parseInt(localStorage.getItem(e),10)}setNumber(e,t){localStorage.setItem(e,t.toString())}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),F1=(()=>{class n{constructor(e){this.guiConfigService=e}getTablePageSize(e){const t=this.guiConfigService.getNumber(Ck+e);if(!isNaN(t))return t;const s=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE");return isNaN(s)?10:s}setTablePageSize(e,t){this.guiConfigService.setNumber(Ck+e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(H1))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Y1=(()=>{class n{constructor(){this.exportData=new i.vpe}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-options"]],outputs:{exportData:"exportData"},decls:13,vars:5,consts:[[1,"position-right"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["exportOptions","matMenu"],["mat-menu-item","",3,"click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"button",1),i.TgZ(2,"mat-icon"),i._uU(3,"more_vert"),i.qZA(),i.qZA(),i.TgZ(4,"mat-menu",null,2),i.TgZ(6,"button",3),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.qZA(),i.TgZ(9,"mat-menu",null,4),i.TgZ(11,"button",5),i.NdJ("click",function(){return t.exportData.emit("csv")}),i._uU(12,"Csv"),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(5),a=i.MAs(10);i.xp6(1),i.Q6J("matMenuTriggerFor",s),i.xp6(5),i.Q6J("matMenuTriggerFor",a),i.xp6(1),i.hij(" ",i.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[zt,gk,Zi,Uf,xc],pipes:[gt],styles:[""]}),n})();function j1(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(s){return i.CHM(e),i.oxw().exportData.emit(s)}),i.qZA()}}function U1(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(s){return i.CHM(e),i.oxw().exportData.emit(s)}),i.qZA()}}const V1=["*"];let or=(()=>{class n{constructor(e){this.tableConfigService=e,this.hideExport=!1,this.pageSizeOptions=Kd,this.dataLength=0,this.exportData=new i.vpe,this.pageSize=5}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}set matPaginator(e){this.paginator=e}pageChangedTop(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}pageChangedBottom(e){this.paginator.pageSize=e.pageSize,this.paginator.pageIndex=e.pageIndex,this.paginator.page.emit(e),this.pageSize=e.pageSize,this.tableId&&this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(F1))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,t){if(1&e&&i.Gf(x,7),2&e){let s;i.iGM(s=i.CRH())&&(t.matPaginator=s.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:V1,decls:9,vars:9,consts:[[1,"card-body","pt-0"],[1,"row","justify-content-end","align-items-center"],[3,"length","pageSizeOptions","pageSize","page"],[3,"exportData",4,"ngIf"],[1,"overflow-auto","border-top"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],[3,"exportData"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"mat-paginator",2),i.NdJ("page",function(a){return t.pageChangedTop(a)}),i.qZA(),i.YNc(3,j1,1,0,"perun-web-apps-table-options",3),i.qZA(),i.TgZ(4,"div",4),i.Hsn(5),i.qZA(),i.TgZ(6,"div",1),i.TgZ(7,"mat-paginator",5),i.NdJ("page",function(a){return t.pageChangedBottom(a)}),i.qZA(),i.YNc(8,U1,1,0,"perun-web-apps-table-options",3),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("length",t.dataLength)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),i.xp6(1),i.Q6J("ngIf",!t.hideExport),i.xp6(4),i.Q6J("length",t.paginator.length)("pageIndex",t.paginator.pageIndex)("pageSizeOptions",t.paginator.pageSizeOptions)("pageSize",t.paginator.pageSize),i.xp6(1),i.Q6J("ngIf",!t.hideExport))},directives:[x,b.O5,Y1],styles:[""]}),n})(),D0=(()=>{class n{constructor(e,t,s,a,r,c){this.authService=e,this.storeService=t,this.authResolver=s,this.authzService=a,this.dialog=r,this.router=c,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(e){this.loginScreenShown=e}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Qn();this.dialog.open(dT,t)}else this.storeService.setPerunPrincipal(e),this.authResolver.init(e)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(e=>{e()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const e=location.search.substr(1).split("&"),t={};for(const s of e){const a=s.split("=");t[a[0]]=a[1]}return this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"}).then(()=>null)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(jl),i.LFG(Mn),i.LFG(eo),i.LFG(Pi),i.LFG(on),i.LFG(yi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Mk=(()=>{class n{constructor(e,t){this.matIconRegistry=e,this.domSanitizer=t,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Gd),i.LFG(Un))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),q1=(()=>{class n{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"div",2),i.TgZ(7,"div",3),i.TgZ(8,"button",4),i.NdJ("click",function(){return t.close()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),i.xp6(3),i.hij(" ",i.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),i.xp6(5),i.hij(" ",i.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[Vs,qs,hs,zt],pipes:[gt],styles:[""]}),n})(),G1=(()=>{class n{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Nn=(()=>{class n{constructor(e){this.translate=e,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new i.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(e,t=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===e.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===e.name?t:t+"\n"+e.name,e,e.message)}showRouteError(){const e=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),t=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(e,null,t)}showError(e,t,s,a,r){this.addNotification.emit({type:"error",error:t,description:s,title:e,actionText:void 0===a&&void 0!==s?this.getDefaultActionMessage():a,delay:this.defaultErrorDelayMs,icon:"error_outline",action:r,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,s,a){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===s&&void 0!==t?this.getDefaultActionMessage():s,delay:this.defaultSuccessDelayMs,icon:"done",action:a,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Sk=(()=>{class n{constructor(e,t,s,a,r,c){this.authService=e,this.apiRequestConfiguration=t,this.notificator=s,this.store=a,this.dialog=r,this.initAuthService=c}intercept(e,t){const s=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),!(void 0===s||-1===e.url.toString().indexOf(s)||this.store.skipOidc()||this.authService.isLoggedIn()||this.initAuthService.isServiceAccess()||this.dialogRefSessionExpiration)){const c=Qn();c.width="450px",this.dialogRefSessionExpiration=this.dialog.open(q1,c),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{te(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}e=this.initAuthService.isServiceAccess()?e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const a=this.apiRequestConfiguration.shouldHandleError(),r="POST"===e.method&&!this.store.skipOidc()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,V.b)(c=>{c instanceof D.Zn&&r&&this.initAuthService.loadPrincipal()},c=>{const d=this.formatErrors(c,e);return void 0===d?(0,rA._)(c):a?void this.notificator.showRPCError(d):(0,rA._)(d)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let s;if(console.error(e),e.error.errorId?s=e.error:e.errorId&&(s=JSON.parse(e.error)),void 0!==s)return s.urlWithParams=t.urlWithParams,s.call=t.url,s.payload=t.body,s}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(jl),i.LFG(G1),i.LFG(Nn),i.LFG(Mn),i.LFG(on),i.LFG(D0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),kk=(()=>{class n{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(e){this.newNotificationsCount++,this.notificationData.push(e)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),K1=(()=>{class n{constructor(e,t,s,a){this.http=e,this.notificator=t,this.authService=s,this.storeService=a}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(e,t,s,a){const r=e.error;return r.call=t,r.payload=s,a&&this.notificator.showRPCError(e.error),(0,rA._)(r)}getHeaders(){let e=new D.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue()),e}get(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.get(s,{headers:this.getHeaders()}).pipe((0,ui.K)(a=>this.formatErrors(a,s,null,t)))}put(e,t={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(t);return this.http.put(a,r,{headers:this.getHeaders()}).pipe((0,ui.K)(c=>this.formatErrors(c,a,r,s)))}post(e,t={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(t);let c=this.getHeaders();return c=c.set("Content-Type","application/json; charset=utf-8"),this.http.post(a,r,{headers:c}).pipe((0,ui.K)(d=>this.formatErrors(d,a,r,s)))}delete(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.delete(s,{headers:this.getHeaders()}).pipe((0,ui.K)(a=>this.formatErrors(a,s,null,t)))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(Nn),i.LFG(jl),i.LFG(Mn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),lA=(()=>{class n{constructor(){}isAllSelectedWithDisabledCheckbox(e,t,s,a,r,c,d,h){return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=r*s,this.pageEnd=this.pageStart+s,this.pageIterator=0,this.dataLength=""===t?c.data.length:c.filteredData.length,a||(this.modulo=this.dataLength%s,this.pageEnd=0===this.modulo?this.pageStart+s:this.pageStart+this.modulo),c.sortData(c.filteredData,d).forEach(g=>{this.pageStart<=this.pageIterator&&this.pageIterator{h?g(I)&&this.pageStart<=this.pageIterator&&this.pageIterator{class n{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),s=navigator.languages.map(c=>c.split("-")[0]),a=location.search.substr(1).split("&");let r=null;for(const c of a){const d=c.split("=");"lang"===d[0]&&(r=d[1])}return r&&t.includes(r)?r:e&&t.includes(e)?e:s&&t.includes(s[0])?s[0]:"en"}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ys),i.LFG(Mn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();ni("openClose",[yt("open",De({overflow:"hidden"})),yt("closed",De({height:"0px",overflow:"hidden"})),ht("open <=> closed",[dt(".3s ease-in")])]);const $1=ni("flyInOut",[ht(":enter",[De({transform:"translateX(100%)"}),dt(".25s")]),ht(":leave",[dt(".5s",De({transform:"translateX(100%)"}))])]);ni("rollInOut",[ht(":enter",[De({height:"0px"}),dt(".25s")]),ht(":leave",[dt(".25s",De({height:"0px"}))])]),ni("routeAnimations",[ht("* => *",[De({position:"relative"}),po(":enter",[De({width:"100%",opacity:0})],{optional:!0}),po(":leave",[De({position:"absolute",width:"100%",opacity:1}),dt("0.15s",De({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),po(":enter",[De({position:"absolute",width:"100%",opacity:0}),dt("0.15s",De({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),ni("tagsOpenClose",[yt("open",De({})),yt("closed",De({width:"0px",height:"0px"})),ht("open <=> closed",[dt(".3s ease-in")])]),ni("switchAnimations",[ht("true => false",[po(":enter, :leave",De({})),pg([po(":enter",[De({transform:"translateX(-100%)"}),dt("1s ease-in-out",De({transform:"translateX(0%)"}))],{optional:!0}),po(":leave",[De({transform:"translateX(0%)",position:"absolute"}),dt("1s ease-in-out",De({transform:"translateX(100%)"}))],{optional:!0})])]),ht("false => true",[po(":enter, :leave",De({})),pg([po(":enter",[De({transform:"translateX(100%)"}),dt("1s ease-in-out",De({transform:"translateX(0%)"}))],{optional:!0}),po(":leave",[De({transform:"translateX(0%)",position:"absolute"}),dt("1s ease-in-out",De({transform:"translateX(-100%)"}))],{optional:!0})])])]),ni("slideInOutLeft",[ht(":enter",[De({transform:"translateX(-100%)",position:"relative"}),dt("0.5s ease-in",De({transform:"translateX(0%)"}))]),ht(":leave",[dt("0.5s ease-in",De({transform:"translateX(-100%)"}))])]),ni("slideInOutRight",[ht(":enter",[De({transform:"translateX(100%)",position:"fixed"}),dt("0.5s ease-in",De({transform:"translateX(0%)"}))]),ht(":leave",[De({transform:"translateX(-100%)",position:"relative"}),dt("0.5s ease-in",De({transform:"translateX(100%)"}))])]);let Ek=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez]]}),n})();function ix(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function nx(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function sx(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function ox(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}const cx=tr(class{constructor(n){this._elementRef=n}},"primary"),Dk=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function lx(){return{diameter:100}}});class Pc extends cx{constructor(o,e,t,s,a,r,c,d){super(o),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=q.w.EMPTY,this.mode="determinate";const h=Pc._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),h.has(t.head)||h.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===s&&!!a&&!a._forceAnimations,a&&(a.diameter&&(this.diameter=a.diameter),a.strokeWidth&&(this.strokeWidth=a.strokeWidth)),e.isBrowser&&e.SAFARI&&c&&r&&d&&(this._resizeSubscription=c.change(150).subscribe(()=>{"indeterminate"===this.mode&&d.run(()=>r.markForCheck())}))}get diameter(){return this._diameter}set diameter(o){this._diameter=Ii(o),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(o){this._strokeWidth=Ii(o)}get value(){return"determinate"===this.mode?this._value:0}set value(o){this._value=Math.max(0,Math.min(100,Ii(o)))}ngOnInit(){const o=this._elementRef.nativeElement;this._styleRoot=bl(o)||this._document.head,this._attachStyleNode(),o.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const o=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${o} ${o}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(o){var e;const t=50*(null!==(e=o.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const o=this._styleRoot,e=this._diameter,t=Pc._diameters;let s=t.get(o);if(!s||!s.has(e)){const a=this._document.createElement("style");a.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),a.textContent=this._getAnimationText(),o.appendChild(a),s||(s=new Set,t.set(o,s)),s.add(e)}}_getAnimationText(){const o=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*o).replace(/END_VALUE/g,""+.2*o).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Pc._diameters=new WeakMap,Pc.\u0275fac=function(o){return new(o||Pc)(i.Y36(i.SBq),i.Y36(ti),i.Y36(b.K0,8),i.Y36(Oi,8),i.Y36(Dk),i.Y36(i.sBO),i.Y36(Go),i.Y36(i.R0b))},Pc.\u0275cmp=i.Xpm({type:Pc,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(o,e){2&o&&(i.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[i.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(o,e){1&o&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,ix,1,11,"circle",2),i.YNc(3,nx,1,9,"circle",3),i.qZA()),2&o&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===e.mode),i.uIk("viewBox",e._getViewBox()),i.xp6(2),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let vn=(()=>{class n extends Pc{constructor(e,t,s,a,r,c,d,h){super(e,t,s,a,r,c,d,h),this.mode="indeterminate"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(ti),i.Y36(b.K0,8),i.Y36(Oi,8),i.Y36(Dk),i.Y36(i.sBO),i.Y36(Go),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(i.Udp("width",t.diameter,"px")("height",t.diameter,"px"),i.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[i.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,sx,1,11,"circle",2),i.YNc(3,ox,1,9,"circle",3),i.qZA()),2&e&&(i.Udp("width",t.diameter,"px")("height",t.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===t.mode),i.uIk("viewBox",t._getViewBox()),i.xp6(2),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),n})(),uA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot,b.ez],ot]}),n})();const xk=Vo({passive:!0});let dx=(()=>{class n{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Ls.E;const t=Vi(e),s=this._monitoredElements.get(t);if(s)return s.subject;const a=new ke.xQ,r="cdk-text-field-autofilled",c=d=>{"cdk-text-field-autofill-start"!==d.animationName||t.classList.contains(r)?"cdk-text-field-autofill-end"===d.animationName&&t.classList.contains(r)&&(t.classList.remove(r),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!1}))):(t.classList.add(r),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",c,xk),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:a,unlisten:()=>{t.removeEventListener("animationstart",c,xk)}}),a}stopMonitoring(e){const t=Vi(e),s=this._monitoredElements.get(t);s&&(s.unlisten(),s.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ti),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Rk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[pa]]}),n})();const Pk=new i.OlP("MAT_INPUT_VALUE_ACCESSOR"),hx=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let fx=0;const px=$g(class{constructor(n,o,e,t){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=e,this.ngControl=t}});let rr=(()=>{class n extends px{constructor(e,t,s,a,r,c,d,h,g,I){super(c,a,r,s),this._elementRef=e,this._platform=t,this._autofillMonitor=h,this._formField=I,this._uid="mat-input-"+fx++,this.focused=!1,this.stateChanges=new ke.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(be=>zp().has(be));const W=this._elementRef.nativeElement,ce=W.nodeName.toLowerCase();this._inputValueAccessor=d||W,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",be=>{const Me=be.target;!Me.value&&0===Me.selectionStart&&0===Me.selectionEnd&&(Me.setSelectionRange(1,1),Me.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ce,this._isTextarea="textarea"===ce,this._isInFormField=!!I,this._isNativeSelect&&(this.controlType=W.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Ne(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(Ni.required))&&void 0!==a&&a}set required(e){this._required=Ne(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&zp().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ne(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const s=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(s!==this._previousPlaceholder){const a=this._elementRef.nativeElement;this._previousPlaceholder=s,s?a.setAttribute("placeholder",s):a.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){hx.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(ti),i.Y36(Ms,10),i.Y36(nu,8),i.Y36(ou,8),i.Y36(Ma),i.Y36(Pk,10),i.Y36(dx),i.Y36(i.R0b),i.Y36(kd,8))},n.\u0275dir=i.lG2({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(i.Ikx("disabled",t.disabled)("required",t.required),i.uIk("id",t.id)("data-placeholder",t.placeholder)("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),i.ekj("mat-input-server",t._isServer)("mat-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[i._Bn([{provide:Md,useExisting:n}]),i.qOj,i.TTD]}),n})(),dA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Ma],imports:[[Rk,Kl,ot],Rk,Kl]}),n})();function gx(n,o){1&n&&i._UZ(0,"mat-spinner",7)}function mx(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function _x(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function yx(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",8),i.TgZ(1,"mat-form-field"),i.TgZ(2,"mat-label"),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.TgZ(5,"input",9,10),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().subject=s}),i.qZA(),i.YNc(7,mx,3,3,"mat-error",11),i.qZA(),i.TgZ(8,"mat-form-field"),i.TgZ(9,"mat-label"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.TgZ(12,"textarea",12,13),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().message=s}),i.ALo(14,"translate"),i._uU(15," "),i.qZA(),i.YNc(16,_x,3,3,"mat-error",11),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(6),t=i.MAs(13),s=i.oxw();i.xp6(3),i.Oqu(i.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),i.xp6(2),i.Q6J("ngModel",s.subject),i.xp6(2),i.Q6J("ngIf",e.invalid),i.xp6(3),i.Oqu(i.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),i.xp6(2),i.s9C("placeholder",i.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),i.Q6J("ngModel",s.message),i.xp6(4),i.Q6J("ngIf",t.invalid)}}let bx=(()=>{class n{constructor(e,t,s,a,r,c){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=a,this.data=r,this.storeService=c,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+e.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const e=this.storeService.get("config");let t=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(t=t.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),t=t.concat(this.data.error.message+"\nPerun instance: "+e+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const s=/"password":".+?"/;let a=JSON.stringify(this.data.error.payload);a=a.replace(s,'"password":"####"'),t=t.concat("Payload:\n"+a+"\n\n")}return t=t.concat("Sended from new Perun Gui, version: "+w(4147).i8),t.split("\n").join("\n ")}parseMethod(e){return e&&this.methodRegexp.exec(e)[1]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn),i.Y36(Fi),i.Y36(Nn),i.Y36(Ji),i.Y36(yo),i.Y36(Mn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-bug-report-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"],["messageModel","ngModel"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.YNc(3,gx,1,0,"mat-spinner",1),i.YNc(4,yx,17,13,"div",2),i.TgZ(5,"div",3),i.TgZ(6,"div",4),i.TgZ(7,"button",5),i.NdJ("click",function(){return t.dialogRef.close()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",6),i.NdJ("click",function(){return t.sendBugReport()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(4),i.hij(" ",i.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),i.xp6(2),i.Q6J("disabled",""===t.message||""===t.subject||t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[Vs,b.O5,vn,qs,un,bo,rr,An,sr,Ss,Da,ka,hs,zt],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),wx=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.dialog=t,this.data=s}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const e=Qn();e.width="550px",e.data={error:this.data.error},e.autoFocus=!1,this.dialog.open(bx,e)}),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn),i.Y36(on),i.Y36(yo))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notification-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"hidden","click"],["autofocus","","mat-button","",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.qZA(),i.TgZ(2,"div",1),i._uU(3),i.qZA(),i.TgZ(4,"div",2),i.TgZ(5,"div",3),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.onBugReportClick()}),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.TgZ(9,"button",5),i.NdJ("click",function(){return t.onCloseClick()}),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(t.data.title),i.xp6(2),i.hij(" ",t.data.description,"\n"),i.xp6(3),i.Q6J("hidden","error"!==t.data.type),i.xp6(1),i.hij(" ",i.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),i.xp6(3),i.hij(" ",i.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[Vs,qs,hs,zt],pipes:[gt],styles:[""]}),n})();const Mx=[[["caption"]],[["colgroup"],["col"]]],Sx=["caption","colgroup, col"];function R0(n){return class extends n{constructor(...o){super(...o),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(o){const e=this._sticky;this._sticky=Ne(o),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const o=this._hasStickyChanged;return this._hasStickyChanged=!1,o}resetStickyChanged(){this._hasStickyChanged=!1}}}const Zf=new i.OlP("CDK_TABLE");let $f=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCellDef",""]]}),n})(),Wf=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),hA=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class xx{}const Rx=R0(xx);let Lc=(()=>{class n extends Rx{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const t=this._stickyEnd;this._stickyEnd=Ne(e),this._hasStickyChanged=t!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Zf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,$f,5),i.Suo(s,Wf,5),i.Suo(s,hA,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.cell=a.first),i.iGM(a=i.CRH())&&(t.headerCell=a.first),i.iGM(a=i.CRH())&&(t.footerCell=a.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})();class P0{constructor(o,e){e.nativeElement.classList.add(...o._columnCssClassName)}}let L0=(()=>{class n extends P0{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Lc),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i.qOj]}),n})(),I0=(()=>{class n extends P0{constructor(e,t){var s;if(super(e,t),1===(null===(s=e._table)||void 0===s?void 0:s._elementRef.nativeElement.nodeType)){const a=e._table._elementRef.nativeElement.getAttribute("role");t.nativeElement.setAttribute("role","grid"===a||"treegrid"===a?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Lc),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[i.qOj]}),n})();class Ik{constructor(){this.tasks=[],this.endTasks=[]}}const O0=new i.OlP("_COALESCED_STYLE_SCHEDULER");let Ok=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new ke.xQ}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Ik,this._getScheduleObservable().pipe(Ke(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new Ik;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,pn.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,jt.q)(1))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),H0=(()=>{class n{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){const t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof u_?e.headerCell.template:this instanceof d_?e.footerCell.template:e.cell.template}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4))},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();class Px extends H0{}const Lx=R0(Px);let u_=(()=>{class n extends Lx{constructor(e,t,s){super(e,t),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(Zf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})();class Ix extends H0{}const Ox=R0(Ix);let d_=(()=>{class n extends Ox{constructor(e,t,s){super(e,t),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(Zf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})(),fA=(()=>{class n extends H0{constructor(e,t,s){super(e,t),this._table=s}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(Zf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.qOj]}),n})(),Ic=(()=>{class n{constructor(e){this._viewContainer=e,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),F0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Ic],encapsulation:2}),n})(),N0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Ic],encapsulation:2}),n})(),pA=(()=>{class n{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const Hk=["top","bottom","left","right"];class Hx{constructor(o,e,t,s,a=!0,r=!0,c){this._isNativeHtmlTable=o,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=s,this._isBrowser=a,this._needsPositionStickyOnElement=r,this._positionListener=c,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(o,e){const t=[];for(const s of o)if(s.nodeType===s.ELEMENT_NODE){t.push(s);for(let a=0;a{for(const s of t)this._removeStickyStyle(s,e)})}updateStickyColumns(o,e,t,s=!0){if(!o.length||!this._isBrowser||!e.some(W=>W)&&!t.some(W=>W))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const a=o[0],r=a.children.length,c=this._getCellWidths(a,s),d=this._getStickyStartColumnPositions(c,e),h=this._getStickyEndColumnPositions(c,t),g=e.lastIndexOf(!0),I=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const W="rtl"===this.direction,ce=W?"right":"left",be=W?"left":"right";for(const Me of o)for(let Fe=0;Fee[Fe]?Me:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===I?[]:c.slice(I).map((Me,Fe)=>t[Fe+I]?Me:null).reverse()}))})}stickRows(o,e,t){if(!this._isBrowser)return;const s="bottom"===t?o.slice().reverse():o,a="bottom"===t?e.slice().reverse():e,r=[],c=[],d=[];for(let g=0,I=0;g{var g,I;for(let W=0;W{e.some(s=>!s)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(o,e){for(const s of e)o.style[s]="",o.classList.remove(this._borderCellCss[s]);Hk.some(s=>-1===e.indexOf(s)&&o.style[s])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,e,t,s){o.classList.add(this._stickCellCss),s&&o.classList.add(this._borderCellCss[e]),o.style[e]=`${t}px`,o.style.zIndex=this._getCalculatedZIndex(o),this._needsPositionStickyOnElement&&(o.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(o){const e={top:100,bottom:10,left:1,right:1};let t=0;for(const s of Hk)o.style[s]&&(t+=e[s]);return t?`${t}`:""}_getCellWidths(o,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const t=[],s=o.children;for(let a=0;a0;a--)e[a]&&(t[a]=s,s+=o[a]);return t}}const B0=new i.OlP("CDK_SPL");let gA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","rowOutlet",""]]}),n})(),mA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),_A=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),yA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),bA=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I,W,ce){this._differs=e,this._changeDetectorRef=t,this._elementRef=s,this._dir=r,this._platform=d,this._viewRepeater=h,this._coalescedStyleScheduler=g,this._viewportRuler=I,this._stickyPositioningListener=W,this._ngZone=ce,this._onDestroy=new ke.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new i.vpe,this.viewChange=new Qi({start:0,end:Number.MAX_VALUE}),a||this._elementRef.nativeElement.setAttribute("role","table"),this._document=c,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=Ne(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=Ne(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe(Ke(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Tf(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(s,a,r)=>this._getEmbeddedViewArgs(s.item,r),s=>s.item.data,s=>{1===s.operation&&s.context&&this._renderCellTemplateForItem(s.record.item.rowDef,s.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(s=>{t.get(s.currentIndex).context.$implicit=s.item.data}),this._updateNoDataRow(),this._ngZone&&i.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,jt.q)(1),Ke(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),s=this._elementRef.nativeElement.querySelector("thead");s&&(s.style.display=e.length?"":"none");const a=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,a,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),s=this._elementRef.nativeElement.querySelector("tfoot");s&&(s.style.display=e.length?"":"none");const a=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,a,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,a),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),s=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...s],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((a,r)=>{this._addStickyColumnStyles([a],this._headerRowDefs[r])}),this._rowDefs.forEach(a=>{const r=[];for(let c=0;c{this._addStickyColumnStyles([a],this._footerRowDefs[r])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let s=0;s{const c=s&&s.has(r)?s.get(r):[];if(c.length){const d=c.shift();return d.dataIndex=t,d}return{data:e,rowDef:r,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),wA(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=wA(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=wA(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=wA(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(r,c)=>r||!!c.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const s=this._headerRowDefs.reduce(e,!1);s&&this._forceRenderHeaderRows();const a=this._footerRowDefs.reduce(e,!1);return a&&this._forceRenderFooterRows(),t||s||a}_switchDataSource(e){this._data=[],Tf(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Tf(this.dataSource)?e=this.dataSource.connect(this):fs(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,Ye.of)(this.dataSource)),this._renderChangeSubscription=e.pipe(Ke(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){const s=Array.from(t.columns||[]).map(c=>this._columnDefsByName.get(c)),a=s.map(c=>c.sticky),r=s.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(e,a,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let s=0;s!a.when||a.when(t,e));else{let a=this._rowDefs.find(r=>r.when&&r.when(t,e))||this._defaultRowDef;a&&s.push(a)}return s}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,s,a={}){const r=e.viewContainer.createEmbeddedView(t.template,a,s);return this._renderCellTemplateForItem(t,a),r}_renderCellTemplateForItem(e,t){for(let s of this._getCellTemplates(e))Ic.mostRecentCellOutlet&&Ic.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,s=e.length;t{const s=this._columnDefsByName.get(t);return e.extractCellTemplate(s)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),t=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const s of t){const a=this._document.createElement(s.tag);a.setAttribute("role","rowgroup");for(const r of s.outlets)a.appendChild(r.elementRef.nativeElement);e.appendChild(a)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(t,s)=>t||s.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Hx(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,Ye.of)()).pipe(Ke(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const t=0===this._rowOutlet.viewContainer.length;if(t===this._isShowingNoDataRow)return;const s=this._noDataRowOutlet.viewContainer;if(t){const a=s.createEmbeddedView(e.templateRef),r=a.rootNodes[0];1===a.rootNodes.length&&(null==r?void 0:r.nodeType)===this._document.ELEMENT_NODE&&(r.setAttribute("role","row"),r.classList.add(e._contentClassName))}else s.clear();this._isShowingNoDataRow=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.ZZ4),i.Y36(i.sBO),i.Y36(i.SBq),i.$8M("role"),i.Y36(ki,8),i.Y36(b.K0),i.Y36(ti),i.Y36(Zl),i.Y36(O0),i.Y36(Go),i.Y36(B0,12),i.Y36(i.R0b,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,pA,5),i.Suo(s,Lc,5),i.Suo(s,fA,5),i.Suo(s,u_,5),i.Suo(s,d_,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._noDataRow=a.first),i.iGM(a=i.CRH())&&(t._contentColumnDefs=a),i.iGM(a=i.CRH())&&(t._contentRowDefs=a),i.iGM(a=i.CRH())&&(t._contentHeaderRowDefs=a),i.iGM(a=i.CRH())&&(t._contentFooterRowDefs=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(gA,7),i.Gf(mA,7),i.Gf(_A,7),i.Gf(yA,7)),2&e){let s;i.iGM(s=i.CRH())&&(t._rowOutlet=s.first),i.iGM(s=i.CRH())&&(t._headerRowOutlet=s.first),i.iGM(s=i.CRH())&&(t._footerRowOutlet=s.first),i.iGM(s=i.CRH())&&(t._noDataRowOutlet=s.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("cdk-table-fixed-layout",t.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[i._Bn([{provide:Zf,useExisting:n},{provide:Zl,useClass:_m},{provide:O0,useClass:Ok},{provide:B0,useValue:null}])],ngContentSelectors:Sx,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(Mx),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[mA,gA,yA,_A],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})();function wA(n,o){return n.concat(Array.from(o))}let zx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[lc]]}),n})();const Nx=[[["caption"]],[["colgroup"],["col"]]],Bx=["caption","colgroup, col"];let Pa=(()=>{class n extends bA{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-table-fixed-layout",t.fixedLayout)},exportAs:["matTable"],features:[i._Bn([{provide:Zl,useClass:_m},{provide:bA,useExisting:n},{provide:Zf,useExisting:n},{provide:O0,useClass:Ok},{provide:B0,useValue:null}]),i.qOj],ngContentSelectors:Bx,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(Nx),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[mA,gA,yA,_A],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})(),Or=(()=>{class n extends $f{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matCellDef",""]],features:[i._Bn([{provide:$f,useExisting:n}]),i.qOj]}),n})(),Hr=(()=>{class n extends Wf{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderCellDef",""]],features:[i._Bn([{provide:Wf,useExisting:n}]),i.qOj]}),n})(),Fr=(()=>{class n extends Lc{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i._Bn([{provide:Lc,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})(),zr=(()=>{class n extends L0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[i.qOj]}),n})(),Nr=(()=>{class n extends I0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[i.qOj]}),n})(),Oc=(()=>{class n extends u_{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i._Bn([{provide:u_,useExisting:n}]),i.qOj]}),n})(),La=(()=>{class n extends fA{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[i._Bn([{provide:fA,useExisting:n}]),i.qOj]}),n})(),Hc=(()=>{class n extends F0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[i._Bn([{provide:F0,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Ic],encapsulation:2}),n})(),Ia=(()=>{class n extends N0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[i._Bn([{provide:N0,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Ic],encapsulation:2}),n})(),Y0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[zx,ot],ot]}),n})();class Fc extends class Jx extends class hw{}{constructor(o=[]){super(),this._renderData=new Qi([]),this._filter=new Qi(""),this._internalPageChanges=new ke.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const s=e[t];if(ao(s)){const a=Number(s);return a<9007199254740991?a:s}return s},this.sortData=(e,t)=>{const s=t.active,a=t.direction;return s&&""!=a?e.sort((r,c)=>{let d=this.sortingDataAccessor(r,s),h=this.sortingDataAccessor(c,s);const g=typeof d,I=typeof h;g!==I&&("number"===g&&(d+=""),"number"===I&&(h+=""));let W=0;return null!=d&&null!=h?d>h?W=1:d{const s=Object.keys(e).reduce((r,c)=>r+e[c]+"\u25ec","").toLowerCase(),a=t.trim().toLowerCase();return-1!=s.indexOf(a)},this._data=new Qi(o),this._updateChangeSubscription()}get data(){return this._data.value}set data(o){o=Array.isArray(o)?o:[],this._data.next(o),this._renderChangesSubscription||this._filterData(o)}get filter(){return this._filter.value}set filter(o){this._filter.next(o),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(o){this._sort=o,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(o){this._paginator=o,this._updateChangeSubscription()}_updateChangeSubscription(){var o;const e=this._sort?(0,Ci.T)(this._sort.sortChange,this._sort.initialized):(0,Ye.of)(null),t=this._paginator?(0,Ci.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,Ye.of)(null),a=(0,qr.aj)([this._data,this._filter]).pipe((0,nt.U)(([d])=>this._filterData(d))),r=(0,qr.aj)([a,e]).pipe((0,nt.U)(([d])=>this._orderData(d))),c=(0,qr.aj)([r,t]).pipe((0,nt.U)(([d])=>this._pageData(d)));null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=c.subscribe(d=>this._renderData.next(d))}_filterData(o){return this.filteredData=null==this.filter||""===this.filter?o:o.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(o){return this.sort?this.sortData(o.slice(),this.sort):o}_pageData(o){if(!this.paginator)return o;const e=this.paginator.pageIndex*this.paginator.pageSize;return o.slice(e,e+this.paginator.pageSize)}_updatePaginator(o){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=o,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,s=Math.min(e.pageIndex,t);s!==e.pageIndex&&(e.pageIndex=s,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var o;null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=null}}{}function Qx(n,o){1&n&&i._UZ(0,"mat-spinner",6)}function Xx(n,o){1&n&&i._UZ(0,"th",15)}function eR(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e)}}function tR(n,o){1&n&&i._UZ(0,"tr",17)}function iR(n,o){1&n&&i._UZ(0,"tr",18)}function nR(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"p"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",8),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"table",9),i.ynx(8,10),i.YNc(9,Xx,1,0,"th",11),i.YNc(10,eR,2,1,"td",12),i.BQk(),i.YNc(11,tR,1,0,"tr",13),i.YNc(12,iR,1,0,"tr",14),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,5,e.data.description)," "),i.xp6(3),i.hij(" ",i.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),i.xp6(2),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns)}}let zk=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new Fc(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn),i.Y36(yo))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-universal-remove-items-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"h1",0),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,Qx,1,0,"mat-spinner",1),i.YNc(5,nR,13,9,"div",2),i.TgZ(6,"div",3),i.TgZ(7,"button",4),i.NdJ("click",function(){return t.onCancel()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",5),i.NdJ("click",function(){return t.onSubmit()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Tol(t.theme),i.xp6(2),i.Oqu(i.lcZ(3,9,t.data.title)),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(3),i.hij(" ",i.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),i.xp6(2),i.Q6J("disabled",t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[Vs,b.O5,vn,qs,Pa,Fr,Hr,zr,Or,Nr,Oc,Hc,La,Ia,hs,zt],pipes:[gt],styles:[""]}),n})(),fR=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.theme=this.data.theme,this.message=this.data.message}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn),i.Y36(yo))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-universal-confirmation-dialog"]],decls:11,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"h1",0),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"button",2),i.NdJ("click",function(){return t.onCancel()}),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"button",3),i.NdJ("click",function(){return t.onSubmit()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Tol(t.theme),i.xp6(2),i.Oqu(i.lcZ(3,6,t.message)),i.xp6(4),i.hij(" ",i.lcZ(7,8,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_CONFIRMATION_DIALOG.CANCEL_BUTTON")," "),i.xp6(3),i.hij(" ",i.lcZ(10,10,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_CONFIRMATION_DIALOG.SUBMIT_BUTTON")," "))},directives:[Vs,hs,zt],pipes:[gt],styles:[""]}),n})();function bR(n,o){if(1&n&&(i.TgZ(0,"div",5),i.TgZ(1,"mat-icon"),i._uU(2),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(e.data.icon)}}function wR(n,o){if(1&n&&(i.TgZ(0,"div",6),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",e.showTimestamp()," ")}}let AR=(()=>{class n{constructor(e,t){this.dialog=e,this.notificationStorageService=t,this.newNotification=!1,this.closeNotification=new i.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}doAction(){if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{const e=Qn();e.width="550px",e.data=this.data,e.autoFocus=!1,this.dialog.open(wx,e).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function S1(n,o){return(0,C1.mG)(this,void 0,void 0,function*(){yield function k1(n){return new Promise(o=>setTimeout(o,n))}(n),o()})}(this.data.delay,()=>{!this.alreadyClosed&&!this.waiting&&this.closeSelf()})}showTimestamp(){const[e,t]=this.data.timeStamp.split(":");return t.length<2?e+":0"+t:this.data.timeStamp}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(on),i.Y36(kk))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notification"]],inputs:{data:"data",inDialog:"inDialog",newNotification:"newNotification"},outputs:{closeNotification:"closeNotification"},decls:9,vars:14,consts:[[1,"notification-container",3,"click"],["class","notification-icon",4,"ngIf"],[1,"notification-text","clickable"],["class","ml-auto mr-5 mt-auto mb-auto",4,"ngIf"],[1,"notification-action","mt-auto","mb-auto",3,"hidden","click"],[1,"notification-icon"],[1,"ml-auto","mr-5","mt-auto","mb-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"div",0),i.NdJ("click",function(){return t.alreadyClosed||t.waiting?"":t.closeSelf()}),i.YNc(2,bR,3,1,"div",1),i.TgZ(3,"div",2),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,wR,2,1,"div",3),i.TgZ(7,"div",4),i.NdJ("click",function(){return t.waiting=!0,t.doAction()}),i._uU(8),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Gre("notification ",t.inDialog?"":"mat-elevation-z7",""),i.ekj("error","error"===t.data.type)("success","success"===t.data.type),i.xp6(2),i.Q6J("ngIf",null!==t.data.icon),i.xp6(2),i.hij(" ",i.lcZ(5,12,t.data.title)," "),i.xp6(2),i.Q6J("ngIf",t.inDialog),i.xp6(1),i.Q6J("hidden",t.alreadyPressed),i.xp6(1),i.hij(" ",t.data.actionText," "))},directives:[b.O5,Zi],pipes:[gt],styles:[".notification[_ngcontent-%COMP%]{width:450px;margin-bottom:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff}.notification-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;padding:16px}.notification-text[_ngcontent-%COMP%]{font-size:1.1em}.notification-action[_ngcontent-%COMP%]{margin-left:auto;text-decoration:underline;cursor:pointer}@media (max-width: 768px){.notification[_ngcontent-%COMP%]{width:100%}}.notification.error[_ngcontent-%COMP%]{background-color:#d32f2f}.notification.success[_ngcontent-%COMP%]{background-color:#288619}.notification-icon[_ngcontent-%COMP%]{padding-right:8px;color:#fff}"]}),n})();function vR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-notification",2),i.NdJ("closeNotification",function(){const a=i.CHM(e).index;return i.oxw().removeNotification(a)}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("@flyInOut",void 0),i.xp6(1),i.Q6J("data",e)("newNotification",!0)}}const CR=function(n){return{top:n}};let TR=(()=>{class n{constructor(e,t){this.notificator=e,this.notificationStorageService=t,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(s=>{this.processNotification(s)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(e){this.notifications.splice(e,1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Nn),i.Y36(kk))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&i.NdJ("resize",function(a){return t.getScreenSize(a)},!1,i.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,vR,2,3,"div",1),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(2,CR,t.getNotificatorTop())),i.xp6(1),i.Q6J("ngForOf",t.notifications))},directives:[b.PC,b.sg,AR],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width: 768px){#notificator[_ngcontent-%COMP%]{width:100%;top:initial;bottom:0}}"],data:{animation:[$1]}}),n})();const MR=["*",[["mat-toolbar-row"]]],SR=["*","mat-toolbar-row"],kR=tr(class{constructor(n){this._elementRef=n}});let ER=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),DR=(()=>{class n extends kR{constructor(e,t,s){super(e),this._platform=t,this._document=s}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(ti),i.Y36(b.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,ER,5),2&e){let a;i.iGM(a=i.CRH())&&(t._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[i.qOj],ngContentSelectors:SR,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(MR),i.Hsn(0),i.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%}\n"],encapsulation:2,changeDetection:0}),n})(),Bk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})();function xR(n,o){1&n&&(i.TgZ(0,"div",13),i.TgZ(1,"span",14),i._uU(2," ~ \u{1f5f2}\xa0 "),i.qZA(),i.TgZ(3,"span",15),i._uU(4," DEVEL "),i.qZA(),i.TgZ(5,"span",14),i._uU(6," \xa0\u{1f5f2} ~ "),i.qZA(),i.qZA())}const RR=function(n){return{background:n}},AA=function(n){return{color:n}};let PR=(()=>{class n{constructor(e,t,s){this.storeService=e,this.authService=t,this.sanitizer=s,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.isDevel=!1}ngOnInit(){this.isDevel=this.storeService.get("is_devel"),this.principal=this.storeService.getPerunPrincipal(),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo"))}onLogOut(){this.authService.logout()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(jl),i.Y36(Un))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-header"]],inputs:{sideNav:"sideNav"},decls:22,vars:29,consts:[[1,"header-container","mat-elevation-z3",3,"ngStyle"],[2,"display","flex","flex-direction","row"],["mat-icon-button","",1,"mt-auto","mb-auto",3,"ngStyle","click"],["routerLink","/all-publications",1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white","routerLink","/all-publications",1,"mt-auto","mb-auto","router-icon","ml-2","mr-4"],[1,"mt-auto","mb-auto","page-subtitle",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"ngStyle"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],[1,"d-none","d-lg-inline"],["menu","matMenu"],["mat-menu-item","",3,"click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){if(1&e&&(i.TgZ(0,"mat-toolbar",0),i.TgZ(1,"div",1),i.TgZ(2,"button",2),i.NdJ("click",function(){return t.sideNav.toggle()}),i.TgZ(3,"mat-icon"),i._uU(4,"menu"),i.qZA(),i.qZA(),i._UZ(5,"a",3),i._UZ(6,"mat-icon",4),i.TgZ(7,"p",5),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.qZA(),i.YNc(10,xR,7,0,"div",6),i.TgZ(11,"div",7),i.TgZ(12,"button",8),i.TgZ(13,"mat-icon",9),i._uU(14," person "),i.qZA(),i.TgZ(15,"span",10),i._uU(16),i.qZA(),i.qZA(),i.TgZ(17,"mat-menu",null,11),i.TgZ(19,"button",12),i.NdJ("click",function(){return t.onLogOut()}),i._uU(20),i.ALo(21,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(18);i.Q6J("ngStyle",i.VKq(19,RR,t.bgColor)),i.xp6(2),i.Q6J("ngStyle",i.VKq(21,AA,t.iconColor)),i.xp6(3),i.Q6J("innerHTML",t.logo,i.oJD),i.xp6(2),i.Q6J("ngStyle",i.VKq(23,AA,t.textColor)),i.xp6(1),i.hij(" ",i.lcZ(9,15,"HEADER.TITLE")," "),i.xp6(2),i.Q6J("ngIf",t.isDevel),i.xp6(1),i.Q6J("ngStyle",i.VKq(25,AA,t.textColor)),i.xp6(1),i.Q6J("matMenuTriggerFor",s),i.xp6(1),i.Q6J("ngStyle",i.VKq(27,AA,t.iconColor)),i.xp6(3),i.xDo(" ",t.principal.user.titleBefore," ",t.principal.user.firstName," ",t.principal.user.middleName," ",t.principal.user.lastName," ",t.principal.user.titleAfter," "),i.xp6(4),i.Oqu(i.lcZ(21,17,"HEADER.LOGOUT"))}},directives:[DR,b.PC,zt,Zi,P,S,b.O5,gk,Uf,xc],pipes:[gt],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between;margin-left:8px;padding:0}#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();function Yk(n){return o=>o.lift(new LR(n))}class LR{constructor(o){this.value=o}call(o,e){return e.subscribe(new IR(o,this.value))}}class IR extends is.L{constructor(o,e){super(o),this.value=e}_next(o){this.destination.next(this.value)}}const vA=["*"],OR=["content"];function HR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function FR(n,o){1&n&&(i.TgZ(0,"mat-drawer-content"),i.Hsn(1,2),i.qZA())}const zR=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],NR=["mat-drawer","mat-drawer-content","*"];function BR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function YR(n,o){1&n&&(i.TgZ(0,"mat-sidenav-content"),i.Hsn(1,2),i.qZA())}const jR=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],UR=["mat-sidenav","mat-sidenav-content","*"],jk={transformDrawer:ni("transform",[yt("open, open-instant",De({transform:"none",visibility:"visible"})),yt("void",De({"box-shadow":"none",visibility:"hidden"})),ht("void => open-instant",dt("0ms")),ht("void <=> open, open-instant => void",dt("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},qR=new i.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function GR(){return!1}}),j0=new i.OlP("MAT_DRAWER_CONTAINER");let CA=(()=>{class n extends rs{constructor(e,t,s,a,r){super(s,a,r),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>Vk)),i.Y36(i.SBq),i.Y36(qo),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i._Bn([{provide:rs,useExisting:n}]),i.qOj],ngContentSelectors:vA,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),Uk=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=s,this._platform=a,this._ngZone=r,this._interactivityChecker=c,this._doc=d,this._container=h,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new ke.xQ,this._animationEnd=new ke.xQ,this._animationState="void",this.openedChange=new i.vpe(!0),this._openedStream=this.openedChange.pipe((0,Yt.h)(g=>g),(0,nt.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,Yt.h)(g=>g.fromState!==g.toState&&0===g.toState.indexOf("open")),Yk(void 0)),this._closedStream=this.openedChange.pipe((0,Yt.h)(g=>!g),(0,nt.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,Yt.h)(g=>g.fromState!==g.toState&&"void"===g.toState),Yk(void 0)),this._destroyed=new ke.xQ,this.onPositionChanged=new i.vpe,this._modeChanged=new ke.xQ,this.openedChange.subscribe(g=>{g?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{co(this._elementRef.nativeElement,"keydown").pipe((0,Yt.h)(g=>27===g.keyCode&&!this.disableClose&&!bn(g)),Ke(this._destroyed)).subscribe(g=>this._ngZone.run(()=>{this.close(),g.stopPropagation(),g.preventDefault()}))}),this._animationEnd.pipe(ya((g,I)=>g.fromState===I.fromState&&g.toState===I.toState)).subscribe(g=>{const{fromState:I,toState:W}=g;(0===W.indexOf("open")&&"void"===I||"void"===W&&0===I.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=Ne(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"===this.mode?"dialog":"first-tabbable":e}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=Ne(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(Ne(e))}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,t)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{!t&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var e;this._focusTrap&&this._focusTrap.destroy(),null===(e=this._anchor)||void 0===e||e.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,t){e&&t&&(this._openedVia=t);const s=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),s}_setOpen(e,t,s){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(s)),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe((0,jt.q)(1)).subscribe(r=>a(r?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const t=this._elementRef.nativeElement,s=t.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),s.insertBefore(this._anchor,t)),s.appendChild(t)):this._anchor&&this._anchor.parentNode.insertBefore(t,this._anchor)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(ug),i.Y36(As),i.Y36(ti),i.Y36(i.R0b),i.Y36(Nh),i.Y36(b.K0,8),i.Y36(j0,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer"]],viewQuery:function(e,t){if(1&e&&i.Gf(OR,5),2&e){let s;i.iGM(s=i.CRH())&&(t._content=s.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&i.WFA("@transform.start",function(a){return t._animationStarted.next(a)})("@transform.done",function(a){return t._animationEnd.next(a)}),2&e&&(i.uIk("align",null),i.d8E("@transform",t._animationState),i.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:vA,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA())},directives:[rs],encapsulation:2,data:{animation:[jk.transformDrawer]},changeDetection:0}),n})(),Vk=(()=>{class n{constructor(e,t,s,a,r,c=!1,d){this._dir=e,this._element=t,this._ngZone=s,this._changeDetectorRef=a,this._animationMode=d,this._drawers=new i.n_E,this.backdropClick=new i.vpe,this._destroyed=new ke.xQ,this._doCheckSubject=new ke.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new ke.xQ,e&&e.change.pipe(Ke(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe(Ke(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=c}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=Ne(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:Ne(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Ut(this._allDrawers),Ke(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Ut(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,gc.b)(10),Ke(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const s=this._left._getWidth();e+=s,t-=s}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._getWidth();else if("push"==this._right.mode){const s=this._right._getWidth();t+=s,e-=s}e=e||null,t=t||null,(e!==this._contentMargins.left||t!==this._contentMargins.right)&&(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe((0,Yt.h)(t=>t.fromState!==t.toState),Ke(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(Ke(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe(Ke(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,jt.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(Ke((0,Ci.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,s="mat-drawer-container-has-open";e?t.add(s):t.remove(s)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ki,8),i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(Go),i.Y36(qR),i.Y36(Oi,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,CA,5),i.Suo(s,Uk,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first),i.iGM(a=i.CRH())&&(t._allDrawers=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(CA,5),2&e){let s;i.iGM(s=i.CRH())&&(t._userContent=s.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[i._Bn([{provide:j0,useExisting:n}])],ngContentSelectors:NR,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(zR),i.YNc(0,HR,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,FR,2,0,"mat-drawer-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[CA,b.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),U0=(()=>{class n extends CA{constructor(e,t,s,a,r){super(e,t,s,a,r)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>Gk)),i.Y36(i.SBq),i.Y36(qo),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i._Bn([{provide:rs,useExisting:n}]),i.qOj],ngContentSelectors:vA,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),qk=(()=>{class n extends Uk{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=Ne(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Ii(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Ii(e)}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(i.uIk("align",null),i.Udp("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),i.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[i.qOj],ngContentSelectors:vA,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA())},directives:[rs],encapsulation:2,data:{animation:[jk.transformDrawer]},changeDetection:0}),n})(),Gk=(()=>{class n extends Vk{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,U0,5),i.Suo(s,qk,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first),i.iGM(a=i.CRH())&&(t._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[i._Bn([{provide:j0,useExisting:n}]),i.qOj],ngContentSelectors:UR,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(jR),i.YNc(0,BR,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,YR,2,0,"mat-sidenav-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[U0,b.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),Kk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,ot,pa,kr],kr,ot]}),n})(),KR=(()=>{class n{constructor(e){this.authResolver=e}getSideMenuItems(){const e=[];return this.authResolver.isCabinetAdmin()&&e.push({label:"MENU_ITEMS.ALL_PUBLICATIONS",icon:"perun-publications-white",isSVG:!0,link:"/all-publications",activatedRegex:"^/all-publications",tabName:"all-publications"}),e.push({label:"MENU_ITEMS.MY_PUBLICATIONS",icon:"local_library",link:"/my-publications",activatedRegex:"^/my-publications",tabName:"my-publications"}),e.push({label:"MENU_ITEMS.CREATE_PUBLICATION",icon:"add_box",link:"/create-publication",activatedRegex:"^/create-publication",tabName:"create-publication"}),this.authResolver.isCabinetAdmin()&&e.push({label:"MENU_ITEMS.AUTHORS",icon:"assignment_ind",link:"/authors",activatedRegex:"^/authors",tabName:"authors"}),e.push({label:"MENU_ITEMS.CATEGORIES",icon:"all_inbox",link:"/categories",activatedRegex:"^/categories$",tabName:"categories"}),e.push({label:"MENU_ITEMS.PUBLICATION_SYSTEMS",icon:"assignment",link:"/publication-systems",activatedRegex:"^/publication-systems$",tabName:"publication-systems"}),e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(eo))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),V0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})();const Zk=["*"],$R=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],WR=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],tP=mo(_o(class{})),iP=_o(class{}),nP=new i.OlP("MatList"),$k=new i.OlP("MatNavList");let sP=(()=>{class n extends tP{constructor(){super(...arguments),this._stateChanges=new ke.xQ}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[i._Bn([{provide:$k,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:Zk,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),n})(),Wk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),n})(),Jk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),n})(),oP=(()=>{class n extends iP{constructor(e,t,s,a){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new ke.xQ,this._disabled=!1,this._isInteractiveList=!!(s||a&&"action-list"===a._getListType()),this._list=s||a;const r=this._getHostElement();"button"===r.nodeName.toLowerCase()&&!r.hasAttribute("type")&&r.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(Ke(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=Ne(e)}ngAfterContentInit(){!function Tc(n,o,e="mat"){n.changes.pipe(Ut(n)).subscribe(({length:t})=>{hf(o,`${e}-2-line`,!1),hf(o,`${e}-3-line`,!1),hf(o,`${e}-multi-line`,!1),2===t||3===t?hf(o,`${e}-${t}-line`,!0):t>3&&hf(o,`${e}-multi-line`,!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36($k,8),i.Y36(nP,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Wk,5),i.Suo(s,Jk,5),i.Suo(s,Ib,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._avatar=a.first),i.iGM(a=i.CRH())&&(t._icon=a.first),i.iGM(a=i.CRH())&&(t._lines=a)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[i.qOj],ngContentSelectors:WR,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(i.F$t($R),i.TgZ(0,"span",0),i._UZ(1,"span",1),i.Hsn(2),i.TgZ(3,"span",2),i.Hsn(4,1),i.qZA(),i.Hsn(5,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[zn],encapsulation:2,changeDetection:0}),n})(),Xk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Nl,ds,ot,Bb,b.ez],Nl,ot,Bb,V0]}),n})();function dP(n,o){if(1&n&&i._UZ(0,"mat-icon",6),2&n){const e=i.oxw().$implicit;i.Q6J("svgIcon",e.icon)}}function hP(n,o){if(1&n&&(i.TgZ(0,"mat-icon"),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Oqu(e.icon)}}const fP=function(n){return{color:n}};function pP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",2),i.NdJ("click",function(){return i.CHM(e),i.oxw().shouldHideMenu()}),i.YNc(1,dP,1,1,"mat-icon",3),i.YNc(2,hP,2,1,"mat-icon",4),i.TgZ(3,"span",5),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.ekj("activated",t.isActive(e.activatedRegex)),i.s9C("routerLink",e.link),i.Q6J("ngStyle",i.VKq(10,fP,t.textColor))("matRippleColor","rgba(255, 255, 255, 0.1)"),i.xp6(1),i.Q6J("ngIf",e.isSVG),i.xp6(1),i.Q6J("ngIf",!e.isSVG),i.xp6(2),i.Oqu(i.lcZ(5,8,e.label))}}let gP=(()=>{class n{constructor(e,t,s){this.sideMenuItemService=e,this.storeService=t,this.router=s,this.items=[],this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.currentUrl=s.url,s.events.subscribe(a=>{a instanceof It&&(this.currentUrl=a.url)})}ngOnInit(){this.items=this.sideMenuItemService.getSideMenuItems()}isActive(e){return new RegExp(e).test(this.currentUrl)}shouldHideMenu(){"over"===this.sideNav.mode&&this.sideNav.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(KR),i.Y36(Mn),i.Y36(yi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[[1,"pt-0"],["mat-ripple","","class","side-menu-item-height",3,"activated","ngStyle","matRippleColor","routerLink","click",4,"ngFor","ngForOf"],["mat-ripple","",1,"side-menu-item-height",3,"ngStyle","matRippleColor","routerLink","click"],["class","perun-icon",3,"svgIcon",4,"ngIf"],[4,"ngIf"],[1,"nav-caption","ml-3"],[1,"perun-icon",3,"svgIcon"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-nav-list",0),i.YNc(1,pP,6,12,"mat-list-item",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[sP,b.sg,oP,zn,b.PC,S,b.O5,Zi],pipes:[gt],styles:[".nav-caption[_ngcontent-%COMP%]{display:inline-block}.side-menu-item-height[_ngcontent-%COMP%]{height:40px!important}mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important}.activated[_ngcontent-%COMP%]{background:var(--side-active)!important;color:var(--side-text-active)!important}"]}),n})();function mP(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let _P=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=a,this.storeService=r,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+e.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+w(4147).i8}close(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn),i.Y36(Fi),i.Y36(Nn),i.Y36(Ji),i.Y36(Mn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"mat-form-field"),i.TgZ(5,"mat-label"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"input",2,3),i.NdJ("ngModelChange",function(a){return t.subject=a}),i.qZA(),i.YNc(10,mP,3,3,"mat-error",4),i.qZA(),i.TgZ(11,"mat-form-field"),i.TgZ(12,"mat-label"),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.TgZ(15,"textarea",5),i.NdJ("ngModelChange",function(a){return t.message=a}),i.ALo(16,"translate"),i._uU(17," "),i.qZA(),i.TgZ(18,"mat-hint"),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(21,"div",6),i.TgZ(22,"div",7),i.TgZ(23,"button",8),i.NdJ("click",function(){return t.close()}),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.TgZ(26,"button",9),i.NdJ("click",function(){return t.sendBugReport()}),i._uU(27),i.ALo(28,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(9);i.xp6(1),i.Oqu(i.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),i.xp6(5),i.Oqu(i.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),i.xp6(2),i.Q6J("ngModel",t.subject),i.xp6(2),i.Q6J("ngIf",s.invalid),i.xp6(3),i.Oqu(i.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),i.xp6(2),i.s9C("placeholder",i.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),i.Q6J("ngModel",t.message),i.xp6(4),i.Oqu(i.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),i.xp6(5),i.hij(" ",i.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),i.xp6(2),i.Q6J("disabled",s.invalid),i.xp6(1),i.hij(" ",i.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[Vs,qs,un,bo,rr,An,sr,Ss,Da,b.O5,ka,CT,hs,zt],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),yP=(()=>{class n{transform(e,t,s){return e[`${s}_${t}`]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedText",type:n,pure:!0}),n})(),bP=(()=>{class n{transform(e,t){return e["link_"+t]||e.link_en}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedLink",type:n,pure:!0}),n})(),wP=(()=>{class n{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"footerLogoPath",type:n,pure:!0}),n})();function AP(n,o){if(1&n&&(i.TgZ(0,"a",13),i.ALo(1,"localisedLink"),i._UZ(2,"img",14),i.ALo(3,"footerLogoPath"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("href",i.xi3(1,2,e,t.language),i.LSH),i.xp6(2),i.s9C("src",i.lcZ(3,5,e.logo),i.LSH)}}function vP(n,o){if(1&n&&(i.TgZ(0,"span"),i._UZ(1,"img",14),i.ALo(2,"footerLogoPath"),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.s9C("src",i.lcZ(2,1,e.logo),i.LSH)}}function CP(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,AP,4,7,"a",11),i.ALo(2,"localisedLink"),i.YNc(3,vP,3,3,"span",12),i.ALo(4,"localisedLink"),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(3);i.xp6(1),i.Q6J("ngIf",i.xi3(2,2,e,t.language)),i.xp6(2),i.Q6J("ngIf",!i.xi3(4,5,e,t.language))}}const TP=function(n){return{"min-height":n}};function MP(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,CP,5,8,"div",5),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,TP,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}const fu=function(n){return{color:n}};function SP(n,o){if(1&n&&(i.TgZ(0,"i",20),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(2,fu,t.linksTextColor)),i.xp6(1),i.hij(" ",e.icon," ")}}function kP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",21),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw(3).openDialog(s.dialog)}),i._uU(1),i.ALo(2,"localisedText"),i.qZA()}if(2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(6,fu,t.linksTextColor)),i.xp6(1),i.hij("",i.Dn7(2,2,e,t.language,"label")," ")}}function EP(n,o){if(1&n&&(i.TgZ(0,"a",22),i.ALo(1,"localisedLink"),i._uU(2),i.ALo(3,"localisedText"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("href",i.xi3(1,3,e,t.language),i.LSH)("ngStyle",i.VKq(10,fu,t.linksTextColor)),i.xp6(2),i.Oqu(i.Dn7(3,6,e,t.language,"label"))}}function DP(n,o){if(1&n&&(i.TgZ(0,"span",10),i._uU(1),i.ALo(2,"localisedText"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(6,fu,t.linksTextColor)),i.xp6(1),i.Oqu(i.Dn7(2,2,e,t.language,"label"))}}function xP(n,o){if(1&n&&(i.TgZ(0,"div",16),i.YNc(1,SP,2,4,"i",17),i.YNc(2,kP,3,8,"span",18),i.YNc(3,EP,4,12,"a",19),i.ALo(4,"localisedLink"),i.YNc(5,DP,3,8,"span",9),i.ALo(6,"localisedLink"),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(3);i.xp6(1),i.Q6J("ngIf",e.icon),i.xp6(1),i.Q6J("ngIf",e.dialog),i.xp6(1),i.Q6J("ngIf",i.xi3(4,4,e,t.language)&&!e.dialog),i.xp6(2),i.Q6J("ngIf",!i.xi3(6,7,e,t.language)&&!e.dialog)}}const RP=function(n){return{height:n}};function PP(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,xP,7,10,"div",15),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,RP,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}function LP(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"h6",8),i._uU(2),i.ALo(3,"localisedText"),i.qZA(),i.YNc(4,MP,2,4,"div",9),i.YNc(5,PP,2,4,"div",9),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.ekj("my-auto",t.containsLogos),i.xp6(1),i.Q6J("ngStyle",i.VKq(10,fu,t.headersTextColor)),i.xp6(1),i.hij(" ",i.Dn7(3,6,e,t.language,"title")," "),i.xp6(2),i.Q6J("ngIf",e.logos),i.xp6(1),i.Q6J("ngIf",e.elements&&!e.logos)}}function IP(n,o){if(1&n&&(i.TgZ(0,"span"),i.TgZ(1,"a",6),i._uU(2),i.qZA(),i.qZA()),2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.xp6(1),i.Q6J("href",e.url,i.LSH)("ngStyle",i.VKq(3,fu,s.copyrightTextColor)),i.xp6(1),i.Oqu(t?", "+e.name:e.name)}}const OP=function(n){return{background:n}};let eE=(()=>{class n{constructor(e,t,s){this.storeService=e,this.translateService=t,this.dialog=s,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.language=e.lang}),this.version=w(4147).i8,this.items=this.storeService.get("footer","columns");for(const e of this.items)e.logos?this.containsLogos=!0:25*e.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*e.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(e){const t=Qn();"reportIssue"===e&&(t.width="550px",this.dialog.open(_P,t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(Fi),i.Y36(on))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(e,t){1&e&&(i.TgZ(0,"footer",0),i.TgZ(1,"div",1),i.YNc(2,LP,6,12,"div",2),i.qZA(),i._UZ(3,"hr",3),i.TgZ(4,"div",4),i._uU(5),i.YNc(6,IP,3,5,"span",5),i._uU(7," Version "),i.TgZ(8,"a",6),i._uU(9),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(8,OP,t.bgColor)),i.xp6(2),i.Q6J("ngForOf",t.items),i.xp6(2),i.Q6J("ngStyle",i.VKq(10,fu,t.copyrightTextColor)),i.xp6(1),i.hij(" \xa9 ",t.currentYear," Copyright: "),i.xp6(1),i.Q6J("ngForOf",t.copyrightItems),i.xp6(2),i.Q6J("href",t.githubRepository,i.LSH)("ngStyle",i.VKq(12,fu,t.copyrightTextColor)),i.xp6(1),i.Oqu(t.version))},directives:[b.PC,b.sg,b.O5],pipes:[yP,bP,wP],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}"]}),n})();function HP(n,o){if(1&n&&(i.TgZ(0,"div",8),i._UZ(1,"div",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}function FP(n,o){if(1&n&&(i.TgZ(0,"div",10),i._UZ(1,"div",11),i._UZ(2,"mat-icon",12),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}function zP(n,o){if(1&n&&(i.TgZ(0,"div",8),i._UZ(1,"a",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}const NP=function(n){return{color:n}};function BP(n,o){if(1&n&&(i.TgZ(0,"p",13),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.Q6J("ngStyle",i.VKq(2,NP,e.textColor)),i.xp6(1),i.hij(" ",e.headerTitle," ")}}const YP=function(n,o){return{background:n,color:o}},jP=function(n,o){return{"min-height":n,"background-color":o}};let UP=(()=>{class n{constructor(e,t,s,a){this.storeService=e,this.sanitizer=t,this.preferredLangService=s,this.translateService=a,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){if(this.headerBackgroundColor=this.storeService.get("theme","nav_bg_color"),this.headerTextColor=this.storeService.get("theme","nav_text_color"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.textColor=this.headerTitle?this.storeService.get("theme","header_text_color"):"","user-profile"===this.application){const e=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(e)}}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(Un),i.Y36(Z1),i.Y36(Fi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",1,"mat-elevation-z3",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,HP,2,1,"div",1),i.YNc(2,FP,3,1,"div",2),i.YNc(3,zP,2,1,"div",1),i.YNc(4,BP,2,4,"p",3),i.qZA(),i.TgZ(5,"div",4),i.TgZ(6,"div",5),i.TgZ(7,"div",6),i._UZ(8,"router-outlet"),i.qZA(),i.TgZ(9,"div",7),i._UZ(10,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.WLB(6,YP,t.headerBackgroundColor,t.headerTextColor)),i.xp6(1),i.Q6J("ngIf","admin-gui"===t.application),i.xp6(1),i.Q6J("ngIf","publications"===t.application),i.xp6(1),i.Q6J("ngIf","user-profile"===t.application),i.xp6(1),i.Q6J("ngIf",!!t.headerTitle),i.xp6(2),i.Q6J("ngStyle",i.WLB(9,jP,t.getContentInnerMinHeight(),t.contentBackgroundColor)))},directives:[b.PC,b.O5,Zi,ll,eE],styles:["#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content[_ngcontent-%COMP%]{width:100%;min-height:calc(100vh - 64px);margin-top:64px}#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width: 768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();const VP=["footer"],tE=function(n){return{background:n}},qP=function(n){return{"min-height":n}};function GP(n,o){if(1&n&&(i.TgZ(0,"div"),i._UZ(1,"perun-web-apps-header",1),i.TgZ(2,"mat-sidenav-container"),i.TgZ(3,"mat-sidenav",2,3),i._UZ(5,"perun-web-apps-side-menu",4),i.qZA(),i.TgZ(6,"mat-sidenav-content",5),i.TgZ(7,"div",6),i._UZ(8,"router-outlet"),i.qZA(),i.TgZ(9,"div",null,7),i._UZ(11,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&n){const e=i.MAs(4),t=i.oxw();i.xp6(1),i.Q6J("sideNav",e),i.xp6(2),i.Q6J("mode",t.sidebarMode)("ngStyle",i.VKq(7,tE,t.sideMenuBgColor))("opened",!t.isMobile()),i.xp6(2),i.Q6J("sideNav",e),i.xp6(1),i.Q6J("ngStyle",i.VKq(9,tE,t.contentBackgroundColor)),i.xp6(1),i.Q6J("ngStyle",i.VKq(11,qP,t.contentHeight))}}function KP(n,o){1&n&&(i.TgZ(0,"div"),i._UZ(1,"perun-web-apps-login-screen-base",8),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Q6J("application","publications")("headerTitle",i.lcZ(2,2,"HEADER.TITLE")))}let ZP=(()=>{class n{constructor(e,t,s,a,r){this.store=e,this.initAuth=t,this.changeDetector=s,this.authResolver=a,this.router=r,this.sidebarMode="side",this.sideMenuBgColor=this.store.get("theme","sidemenu_bg_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.contentHeight="calc(100vh - 64px)"}ngOnInit(){this.isLoginScreenShow=this.initAuth.isLoginScreenShown(),this.isServiceAccess=this.initAuth.isServiceAccessLoginScreenShown(),sessionStorage.removeItem("baLogout");const e=location.pathname;!this.authResolver.isCabinetAdmin()&&("/"===e||e.includes("/all-publications"))&&this.router.navigate(["my-publications"])}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}isMobile(){return window.innerWidth<=n.minWidth}setContentHeight(e){this.contentHeight="calc(100vh - 84px - "+e+"px)",this.changeDetector.detectChanges()}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}ngAfterViewInit(){this.contentHeight="calc(100vh - 84px - "+this.footer.nativeElement.offsetHeight+"px)",this.changeDetector.detectChanges()}}return n.minWidth=992,n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(D0),i.Y36(i.sBO),i.Y36(eo),i.Y36(yi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&i.Gf(VP,5),2&e){let s;i.iGM(s=i.CRH())&&(t.footer=s.first)}},hostBindings:function(e,t){1&e&&i.NdJ("resize",function(a){return t.getScreenSize(a)},!1,i.Jf7)},decls:3,vars:2,consts:[[4,"ngIf"],["id","nav-menu",3,"sideNav"],["fixedInViewport","","fixedTopGap","64",1,"side-menu-size",3,"mode","ngStyle","opened"],["sidenav",""],[1,"overflow-hidden",3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],["footer",""],[3,"application","headerTitle"]],template:function(e,t){1&e&&(i._UZ(0,"perun-web-apps-notificator"),i.YNc(1,GP,12,13,"div",0),i.YNc(2,KP,3,4,"div",0)),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.isLoginScreenShow&&!t.isServiceAccess&&!t.isServiceLogin()),i.xp6(1),i.Q6J("ngIf",t.isLoginScreenShow||t.isServiceAccess||t.isServiceLogin()))},directives:[TR,b.O5,PR,Gk,qk,b.PC,gP,U0,ll,eE,UP],pipes:[gt],styles:["#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px;margin:10px}@media (min-width: 600px){#content-wrap[_ngcontent-%COMP%]{padding-left:25px;padding-right:25px}}#content-inner[_ngcontent-%COMP%]{position:relative;overflow-x:hidden;padding-top:64px;min-height:calc(100vh - 128px)}#nav-menu[_ngcontent-%COMP%]{top:0;background:#102027;position:fixed;width:100%;z-index:999;height:64px;max-height:64px}.side-menu-size[_ngcontent-%COMP%]{width:300px;height:auto}"]}),n})();class $P{constructor(o,e="/assets/i18n/",t=".json"){this.http=o,this.prefix=e,this.suffix=t}getTranslation(o){return this.http.get(`${this.prefix}${o}${this.suffix}`)}}let WP=(()=>{class n{constructor(e,t,s,a,r){this.http=e,this.storeService=t,this.authzSevice=s,this.titleService=a,this.utilsService=r}initializeColors(e,t){return new Promise(s=>{t.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r)}),e.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r),this.setEntityTheme(a.entity,r)}),s()})}setEntityTheme(e,t){const s=function JP(n){return[Ks(tinycolor(n).lighten(52),"50"),Ks(tinycolor(n).lighten(37),"100"),Ks(tinycolor(n).lighten(26),"200"),Ks(tinycolor(n).lighten(12),"300"),Ks(tinycolor(n).lighten(6),"400"),Ks(tinycolor(n),"500"),Ks(tinycolor(n).darken(6),"600"),Ks(tinycolor(n).darken(12),"700"),Ks(tinycolor(n).darken(18),"800"),Ks(tinycolor(n).darken(24),"900"),Ks(tinycolor(n).lighten(50).saturate(30),"A100"),Ks(tinycolor(n).lighten(30).saturate(30),"A200"),Ks(tinycolor(n).lighten(10).saturate(15),"A400"),Ks(tinycolor(n).lighten(5).saturate(5),"A700")]}(t);for(const a of s){const d=`--${e}-theme-primary-contrast-${a.name}`,h=a.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${a.name}`,`${a.red},${a.green},${a.blue}`),document.documentElement.style.setProperty(d,h)}}loadAppDefaultConfig(){return new Promise(e=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setDefaultConfig(t),e()})})}loadAppInstanceConfig(){return new Promise(e=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setInstanceConfig(t);const s=document.location.hostname;void 0!==t.brandings&&void 0!==t.brandings[s]&&this.storeService.setBanding(s),e()},()=>{console.log("instance config not detected"),e()})})}getNoCacheHeaders(){return new D.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(e=>{const t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(t),e()})}setApiUrl(){return new Promise(e=>{let t=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(t=t.replace("oauth","ba")),this.authzSevice.configuration.basePath=t,this.titleService.setTitle(this.storeService.get("document_title")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(s=>{this.storeService.setAppsConfig(s),e()},s=>t(s))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(Mn),i.LFG(Pi),i.LFG(Wt),i.LFG(pt))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Ks(n,o){const e=tinycolor(n),t=e.toRgb();return{name:o,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let QP=(()=>{class n{constructor(e,t,s,a,r){this.initAuthService=e,this.appConfigService=t,this.location=s,this.authzSevice=a,this.guiAuthResolver=r,this.entityColorConfigs=[{entity:"user",configValue:"user_color",cssVariable:"--user-color"}],this.colorConfigs=[{configValue:"sidemenu_bg_color",cssVariable:"--side-bg"},{configValue:"sidemenu_hover_color",cssVariable:"--side-hover"},{configValue:"sidemenu-link-active",cssVariable:"--side-active"},{configValue:"sidemenu_active_text_color",cssVariable:"--side-text-active"}]}loadConfigs(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?this.initAuthService.loadPrincipal().then(()=>this.loadPolicies()):this.initAuthService.handleAuthStart())}loadPolicies(){return new Promise((e,t)=>{this.authzSevice.getAllPolicies().subscribe(s=>{this.guiAuthResolver.setPerunPolicies(s),e()},s=>t(s))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D0),i.LFG(WP),i.LFG(b.Ye),i.LFG(Pi),i.LFG(eo))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const XP=new i.OlP("perun-api-service");let eL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,gf,ir,vd]]}),n})();const tL=["*",[["mat-card-footer"]]],iL=["*","mat-card-footer"];let iE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),n})(),nE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),n})(),sE=(()=>{class n{constructor(e){this._animationMode=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Oi,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:iL,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(tL),i.Hsn(0),i.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-animation-noopable.mat-card{transition:none;animation:none}.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}\n"],encapsulation:2,changeDetection:0}),n})(),oE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})();const nL=["input"],sL=function(n){return{enterDuration:n}},oL=["*"],rL=new i.OlP("mat-checkbox-default-options",{providedIn:"root",factory:rE});function rE(){return{color:"accent",clickAction:"check-indeterminate"}}let aL=0;const aE=rE(),cL={provide:ps,useExisting:(0,i.Gpc)(()=>pu),multi:!0};class lL{}const uL=Fl(tr(_o(mo(class{constructor(n){this._elementRef=n}}))));let pu=(()=>{class n extends uL{constructor(e,t,s,a,r,c,d){super(e),this._changeDetectorRef=t,this._focusMonitor=s,this._ngZone=a,this._animationMode=c,this._options=d,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++aL,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new i.vpe,this.indeterminateChange=new i.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||aE,this.color=this.defaultColor=this._options.color||aE.color,this.tabIndex=parseInt(r)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=Ne(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=Ne(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=e!=this._indeterminate;this._indeterminate=Ne(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let t=this._currentCheckState,s=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&s.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){s.classList.add(this._currentAnimationClass);const a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{s.classList.remove(a)},1e3)})}}_emitChangeEvent(){const e=new lL;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(e){var t;const s=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===s?!this.disabled&&"noop"===s&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==s&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e,t){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,t){if("NoopAnimations"===this._animationMode)return"";let s="";switch(e){case 0:if(1===t)s="unchecked-checked";else{if(3!=t)return"";s="unchecked-indeterminate"}break;case 2:s=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:s=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:s=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${s}`}_syncIndeterminate(e){const t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(As),i.Y36(i.R0b),i.$8M("tabindex"),i.Y36(Oi,8),i.Y36(rL,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(i.Gf(nL,5),i.Gf(zn,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._inputElement=s.first),i.iGM(s=i.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null),i.ekj("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[i._Bn([cL]),i.qOj],ngContentSelectors:oL,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(i.F$t(),i.TgZ(0,"label",0,1),i.TgZ(2,"span",2),i.TgZ(3,"input",3,4),i.NdJ("change",function(a){return t._onInteractionEvent(a)})("click",function(a){return t._onInputClick(a)}),i.qZA(),i.TgZ(5,"span",5),i._UZ(6,"span",6),i.qZA(),i._UZ(7,"span",7),i.TgZ(8,"span",8),i.O4$(),i.TgZ(9,"svg",9),i._UZ(10,"path",10),i.qZA(),i.kcU(),i._UZ(11,"span",11),i.qZA(),i.qZA(),i.TgZ(12,"span",12,13),i.NdJ("cdkObserveContent",function(){return t._onLabelTextChange()}),i.TgZ(14,"span",14),i._uU(15,"\xa0"),i.qZA(),i.Hsn(16),i.qZA(),i.qZA()),2&e){const s=i.MAs(1),a=i.MAs(13);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-checkbox-inner-container-no-side-margin",!a.textContent||!a.textContent.trim()),i.xp6(1),i.Q6J("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),i.uIk("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),i.xp6(2),i.Q6J("matRippleTrigger",s)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.VKq(19,sL,"NoopAnimations"===t._animationMode?0:150))}},directives:[zn,og],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n})(),cE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),TA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ds,ot,id,cE],ot,cE]}),n})(),fL=0;const q0=new i.OlP("CdkAccordion");let pL=(()=>{class n{constructor(){this._stateChanges=new ke.xQ,this._openCloseAllActions=new ke.xQ,this.id="cdk-accordion-"+fL++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=Ne(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i._Bn([{provide:q0,useExisting:n}]),i.TTD]}),n})(),gL=0,mL=(()=>{class n{constructor(e,t,s){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=s,this._openCloseAllSubscription=q.w.EMPTY,this.closed=new i.vpe,this.opened=new i.vpe,this.destroyed=new i.vpe,this.expandedChange=new i.vpe,this.id="cdk-accordion-child-"+gL++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=s.listen((a,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==a&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=Ne(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=Ne(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(q0,12),i.Y36(i.sBO),i.Y36(Mf))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i._Bn([{provide:q0,useValue:void 0}])]}),n})(),_L=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const yL=["body"];function bL(n,o){}const wL=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],AL=["mat-expansion-panel-header","*","mat-action-row"];function vL(n,o){if(1&n&&i._UZ(0,"span",2),2&n){const e=i.oxw();i.Q6J("@indicatorRotate",e._getExpandedState())}}const CL=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],TL=["mat-panel-title","mat-panel-description","*"],G0=new i.OlP("MAT_ACCORDION"),lE="225ms cubic-bezier(0.4,0.0,0.2,1)",uE={indicatorRotate:ni("indicatorRotate",[yt("collapsed, void",De({transform:"rotate(0deg)"})),yt("expanded",De({transform:"rotate(180deg)"})),ht("expanded <=> collapsed, void => collapsed",dt(lE))]),bodyExpansion:ni("bodyExpansion",[yt("collapsed, void",De({height:"0px",visibility:"hidden"})),yt("expanded",De({height:"*",visibility:"visible"})),ht("expanded <=> collapsed, void => collapsed",dt(lE))])};let ML=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n})(),SL=0;const dE=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let hE=(()=>{class n extends mL{constructor(e,t,s,a,r,c,d){super(e,t,s),this._viewContainerRef=a,this._animationMode=c,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new ke.xQ,this._headerId="mat-expansion-panel-header-"+SL++,this._bodyAnimationDone=new ke.xQ,this.accordion=e,this._document=r,this._bodyAnimationDone.pipe(ya((h,g)=>h.fromState===g.fromState&&h.toState===g.toState)).subscribe(h=>{"void"!==h.fromState&&("expanded"===h.toState?this.afterExpand.emit():"collapsed"===h.toState&&this.afterCollapse.emit())}),d&&(this.hideToggle=d.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=Ne(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Ut(null),(0,Yt.h)(()=>this.expanded&&!this._portal),(0,jt.q)(1)).subscribe(()=>{this._portal=new Ko(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(G0,12),i.Y36(i.sBO),i.Y36(Mf),i.Y36(i.s_b),i.Y36(b.K0),i.Y36(Oi,8),i.Y36(dE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,ML,5),2&e){let a;i.iGM(a=i.CRH())&&(t._lazyContent=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(yL,5),2&e){let s;i.iGM(s=i.CRH())&&(t._body=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i._Bn([{provide:G0,useValue:void 0}]),i.qOj,i.TTD],ngContentSelectors:AL,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.F$t(wL),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(a){return t._bodyAnimationDone.next(a)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,bL,0,0,"ng-template",3),i.qZA(),i.Hsn(6,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("@bodyExpansion",t._getExpandedState())("id",t.id),i.uIk("aria-labelledby",t._headerId),i.xp6(4),i.Q6J("cdkPortalOutlet",t._portal))},directives:[Er],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[uE.bodyExpansion]},changeDetection:0}),n})();class kL{}const EL=Fl(kL);let fE=(()=>{class n extends EL{constructor(e,t,s,a,r,c,d){super(),this.panel=e,this._element=t,this._focusMonitor=s,this._changeDetectorRef=a,this._animationMode=c,this._parentChangeSubscription=q.w.EMPTY;const h=e.accordion?e.accordion._stateChanges.pipe((0,Yt.h)(g=>!(!g.hideToggle&&!g.togglePosition))):Ls.E;this.tabIndex=parseInt(d||"")||0,this._parentChangeSubscription=(0,Ci.T)(e.opened,e.closed,h,e._inputChanges.pipe((0,Yt.h)(g=>!!(g.hideToggle||g.disabled||g.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe((0,Yt.h)(()=>e._containsFocus())).subscribe(()=>s.focusVia(t,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:bn(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(hE,1),i.Y36(i.SBq),i.Y36(As),i.Y36(i.sBO),i.Y36(dE,8),i.Y36(Oi,8),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._toggle()})("keydown",function(a){return t._keydown(a)}),2&e&&(i.uIk("id",t.panel._headerId)("tabindex",t.tabIndex)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),i.Udp("height",t._getHeaderHeight()),i.ekj("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[i.qOj],ngContentSelectors:TL,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(i.F$t(CL),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,vL,1,1,"span",1)),2&e&&(i.xp6(4),i.Q6J("ngIf",t._showToggle()))},directives:[b.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[uE.indicatorRotate]},changeDetection:0}),n})(),DL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),n})(),xL=(()=>{class n extends pL{constructor(){super(...arguments),this._ownHeaders=new i.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=Ne(e)}ngAfterContentInit(){this._headers.changes.pipe(Ut(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Cl(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,fE,5),2&e){let a;i.iGM(a=i.CRH())&&(t._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-accordion-multi",t.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[i._Bn([{provide:G0,useExisting:n}]),i.qOj]}),n})(),pE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,ot,_L,uc]]}),n})(),mE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Nl,ot],Nl,ot]}),n})();function LL(n,o){1&n&&i.Hsn(0)}const IL=["*"];let _E=(()=>{class n{constructor(e){this._elementRef=e}focus(){this._elementRef.nativeElement.focus()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),n})(),yE=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkStepLabel",""]]}),n})(),OL=0;const bE=new i.OlP("STEPPER_GLOBAL_OPTIONS");let K0=(()=>{class n{constructor(e,t){this._stepper=e,this.interacted=!1,this.interactedStream=new i.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=t||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(e){this._editable=Ne(e)}get optional(){return this._optional}set optional(e){this._optional=Ne(e)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=Ne(e)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(e){this._customError=Ne(e)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){var e;return null!==(e=this._stepperOptions.showError)&&void 0!==e?e:null!=this._customError}}return n.\u0275fac=function(e){return new(e||n)(i.Y36((0,i.Gpc)(()=>Jf)),i.Y36(bE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-step"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,yE,5),2&e){let a;i.iGM(a=i.CRH())&&(t.stepLabel=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,7),2&e){let s;i.iGM(s=i.CRH())&&(t.content=s.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[i.TTD],ngContentSelectors:IL,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.YNc(0,LL,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),n})(),Jf=(()=>{class n{constructor(e,t,s,a){this._dir=e,this._changeDetectorRef=t,this._elementRef=s,this._destroyed=new ke.xQ,this.steps=new i.n_E,this._sortedHeaders=new i.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new i.vpe,this._orientation="horizontal",this._groupId=OL++}get linear(){return this._linear}set linear(e){this._linear=Ne(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){var t;const s=Ii(e);this.steps&&this._steps?(this._isValidIndex(s),null===(t=this.selected)||void 0===t||t._markAsInteracted(),this._selectedIndex!==s&&!this._anyControlsInvalidOrPending(s)&&(s>=this._selectedIndex||this.steps.toArray()[s].editable)&&this._updateSelectedItemIndex(s)):this._selectedIndex=s}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===e)}ngAfterContentInit(){this._steps.changes.pipe(Ut(this._steps),Ke(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(Ut(this._stepHeader),Ke(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((t,s)=>t._elementRef.nativeElement.compareDocumentPosition(s._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Cl(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,Ye.of)()).pipe(Ut(this._layoutDirection()),Ke(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`cdk-step-label-${this._groupId}-${e}`}_getStepContentId(e){return`cdk-step-content-${this._groupId}-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){const t=e-this._selectedIndex;return t<0?"rtl"===this._layoutDirection()?"next":"previous":t>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(e,t="number"){const s=this.steps.toArray()[e],a=this._isCurrentStep(e);return s._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(s,a):this._getGuidelineLogic(s,a,t)}_getDefaultIndicatorLogic(e,t){return e._showError()&&e.hasError&&!t?"error":!e.completed||t?"number":e.editable?"edit":"done"}_getGuidelineLogic(e,t,s="number"){return e._showError()&&e.hasError&&!t?"error":e.completed&&!t?"done":e.completed&&t?s:e.editable&&t?"edit":s}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){const t=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:t[e],previouslySelectedStep:t[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this._stateChanged()}_onKeydown(e){const t=bn(e),s=e.keyCode,a=this._keyManager;null==a.activeItemIndex||t||32!==s&&13!==s?a.onKeydown(e):(this.selectedIndex=a.activeItemIndex,e.preventDefault())}_anyControlsInvalidOrPending(e){return!!(this._linear&&e>=0)&&this.steps.toArray().slice(0,e).some(t=>{const s=t.stepControl;return(s?s.invalid||s.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const e=this._elementRef.nativeElement,t=wl();return e===t||e.contains(t)}_isValidIndex(e){return e>-1&&(!this.steps||e{class n{constructor(e){this._stepper=e,this.type="submit"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Jf))},n.\u0275dir=i.lG2({type:n,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._stepper.next()}),2&e&&i.Ikx("type",t.type)},inputs:{type:"type"}}),n})(),FL=(()=>{class n{constructor(e){this._stepper=e,this.type="button"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Jf))},n.\u0275dir=i.lG2({type:n,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._stepper.previous()}),2&e&&i.Ikx("type",t.type)},inputs:{type:"type"}}),n})(),zL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Al]]}),n})();function NL(n,o){if(1&n&&i.GkF(0,8),2&n){const e=i.oxw();i.Q6J("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",e._getIconContext())}}function BL(n,o){if(1&n&&(i.TgZ(0,"span",13),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._getDefaultTextForState(e.state))}}function YL(n,o){if(1&n&&(i.TgZ(0,"span",14),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._intl.completedLabel)}}function jL(n,o){if(1&n&&(i.TgZ(0,"span",14),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._intl.editableLabel)}}function UL(n,o){if(1&n&&(i.TgZ(0,"mat-icon",13),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._getDefaultTextForState(e.state))}}function VL(n,o){if(1&n&&(i.ynx(0,9),i.YNc(1,BL,2,1,"span",10),i.YNc(2,YL,2,1,"span",11),i.YNc(3,jL,2,1,"span",11),i.YNc(4,UL,2,1,"mat-icon",12),i.BQk()),2&n){const e=i.oxw();i.Q6J("ngSwitch",e.state),i.xp6(1),i.Q6J("ngSwitchCase","number"),i.xp6(1),i.Q6J("ngIf","done"===e.state),i.xp6(1),i.Q6J("ngIf","edit"===e.state)}}function qL(n,o){if(1&n&&(i.TgZ(0,"div",15),i.GkF(1,16),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",e._templateLabel().template)}}function GL(n,o){if(1&n&&(i.TgZ(0,"div",15),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.label)}}function KL(n,o){if(1&n&&(i.TgZ(0,"div",17),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e._intl.optionalLabel)}}function ZL(n,o){if(1&n&&(i.TgZ(0,"div",18),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.errorMessage)}}function $L(n,o){}function WL(n,o){if(1&n&&(i.Hsn(0),i.YNc(1,$L,0,0,"ng-template",0)),2&n){const e=i.oxw();i.xp6(1),i.Q6J("cdkPortalOutlet",e._portal)}}const JL=["*"];function QL(n,o){1&n&&i._UZ(0,"div",9)}const wE=function(n,o){return{step:n,i:o}};function XL(n,o){if(1&n&&(i.ynx(0),i.GkF(1,7),i.YNc(2,QL,1,0,"div",8),i.BQk()),2&n){const e=o.$implicit,t=o.index,s=o.last;i.oxw(2);const a=i.MAs(4);i.xp6(1),i.Q6J("ngTemplateOutlet",a)("ngTemplateOutletContext",i.WLB(3,wE,e,t)),i.xp6(1),i.Q6J("ngIf",!s)}}function eI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",10),i.NdJ("@horizontalStepTransition.done",function(s){return i.CHM(e),i.oxw(2)._animationDone.next(s)}),i.GkF(1,11),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw(2);i.Q6J("@horizontalStepTransition",s._getAnimationDirection(t))("id",s._getStepContentId(t)),i.uIk("aria-labelledby",s._getStepLabelId(t))("aria-expanded",s.selectedIndex===t),i.xp6(1),i.Q6J("ngTemplateOutlet",e.content)}}function tI(n,o){if(1&n&&(i.ynx(0),i.TgZ(1,"div",3),i.YNc(2,XL,3,6,"ng-container",4),i.qZA(),i.TgZ(3,"div",5),i.YNc(4,eI,2,5,"div",6),i.qZA(),i.BQk()),2&n){const e=i.oxw();i.xp6(2),i.Q6J("ngForOf",e.steps),i.xp6(2),i.Q6J("ngForOf",e.steps)}}function iI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",13),i.GkF(1,7),i.TgZ(2,"div",14),i.TgZ(3,"div",15),i.NdJ("@verticalStepTransition.done",function(s){return i.CHM(e),i.oxw(2)._animationDone.next(s)}),i.TgZ(4,"div",16),i.GkF(5,11),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=o.last,a=i.oxw(2),r=i.MAs(4);i.xp6(1),i.Q6J("ngTemplateOutlet",r)("ngTemplateOutletContext",i.WLB(9,wE,e,t)),i.xp6(1),i.ekj("mat-stepper-vertical-line",!s),i.xp6(1),i.Q6J("@verticalStepTransition",a._getAnimationDirection(t))("id",a._getStepContentId(t)),i.uIk("aria-labelledby",a._getStepLabelId(t))("aria-expanded",a.selectedIndex===t),i.xp6(2),i.Q6J("ngTemplateOutlet",e.content)}}function nI(n,o){if(1&n&&(i.ynx(0),i.YNc(1,iI,6,12,"div",12),i.BQk()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngForOf",e.steps)}}function sI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-step-header",17),i.NdJ("click",function(){return i.CHM(e).step.select()})("keydown",function(s){return i.CHM(e),i.oxw()._onKeydown(s)}),i.qZA()}if(2&n){const e=o.step,t=o.i,s=i.oxw();i.ekj("mat-horizontal-stepper-header","horizontal"===s.orientation)("mat-vertical-stepper-header","vertical"===s.orientation),i.Q6J("tabIndex",s._getFocusIndex()===t?0:-1)("id",s._getStepLabelId(t))("index",t)("state",s._getIndicatorType(t,e.state))("label",e.stepLabel||e.label)("selected",s.selectedIndex===t)("active",s._stepIsNavigable(t,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",s._iconOverrides)("disableRipple",s.disableRipple||!s._stepIsNavigable(t,e))("color",e.color||s.color),i.uIk("aria-posinset",t+1)("aria-setsize",s.steps.length)("aria-controls",s._getStepContentId(t))("aria-selected",s.selectedIndex==t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",!s._stepIsNavigable(t,e)||null)}}let MA=(()=>{class n extends yE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matStepLabel",""]],features:[i.qOj]}),n})(),SA=(()=>{class n{constructor(){this.changes=new ke.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const rI={provide:SA,deps:[[new i.FiY,new i.tp0,SA]],useFactory:function oI(n){return n||new SA}},aI=tr(class extends _E{constructor(o){super(o)}},"primary");let AE=(()=>{class n extends aI{constructor(e,t,s,a){super(s),this._intl=e,this._focusMonitor=t,this._intlSubscription=e.changes.subscribe(()=>a.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._elementRef,e,t):this._elementRef.nativeElement.focus(t)}_stringLabel(){return this.label instanceof MA?null:this.label}_templateLabel(){return this.label instanceof MA?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return"number"==e?`${this.index+1}`:"edit"==e?"create":"error"==e?"warning":e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(SA),i.Y36(As),i.Y36(i.SBq),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[i.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(e,t){1&e&&(i._UZ(0,"div",0),i.TgZ(1,"div"),i.TgZ(2,"div",1),i.YNc(3,NL,1,2,"ng-container",2),i.YNc(4,VL,5,4,"ng-container",3),i.qZA(),i.qZA(),i.TgZ(5,"div",4),i.YNc(6,qL,2,1,"div",5),i.YNc(7,GL,2,1,"div",5),i.YNc(8,KL,2,1,"div",6),i.YNc(9,ZL,2,1,"div",7),i.qZA()),2&e&&(i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disableRipple),i.xp6(1),i.Gre("mat-step-icon-state-",t.state," mat-step-icon"),i.ekj("mat-step-icon-selected",t.selected),i.xp6(1),i.Q6J("ngSwitch",!(!t.iconOverrides||!t.iconOverrides[t.state])),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(2),i.ekj("mat-step-label-active",t.active)("mat-step-label-selected",t.selected)("mat-step-label-error","error"==t.state),i.xp6(1),i.Q6J("ngIf",t._templateLabel()),i.xp6(1),i.Q6J("ngIf",t._stringLabel()),i.xp6(1),i.Q6J("ngIf",t.optional&&"error"!=t.state),i.xp6(1),i.Q6J("ngIf","error"==t.state))},directives:[Zi,zn,b.RF,b.n9,b.tP,b.ED,b.O5],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header.cdk-keyboard-focused,.cdk-high-contrast-active .mat-step-header.cdk-program-focused{outline:solid 3px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),n})();const vE={horizontalStepTransition:ni("horizontalStepTransition",[yt("previous",De({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),yt("current",De({transform:"none",visibility:"inherit"})),yt("next",De({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),ht("* => *",dt("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:ni("verticalStepTransition",[yt("previous",De({height:"0px",visibility:"hidden"})),yt("next",De({height:"0px",visibility:"hidden"})),yt("current",De({height:"*",visibility:"inherit"})),ht("* <=> current",dt("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let cI=(()=>{class n{constructor(e){this.templateRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),n})(),lI=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matStepContent",""]]}),n})(),CE=(()=>{class n extends K0{constructor(e,t,s,a){super(e,a),this._errorStateMatcher=t,this._viewContainerRef=s,this._isSelected=q.w.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,Gi.w)(()=>this._stepper.selectionChange.pipe((0,nt.U)(e=>e.selectedStep===this),Ut(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new Ko(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,t){return this._errorStateMatcher.isErrorState(e,t)||!!(e&&e.invalid&&this.interacted)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36((0,i.Gpc)(()=>ME)),i.Y36(Ma,4),i.Y36(i.s_b),i.Y36(bE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-step"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,MA,5),i.Suo(s,lI,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.stepLabel=a.first),i.iGM(a=i.CRH())&&(t._lazyContent=a.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[i._Bn([{provide:Ma,useExisting:n},{provide:K0,useExisting:n}]),i.qOj],ngContentSelectors:JL,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,WL,2,1,"ng-template"))},directives:[Er],encapsulation:2,changeDetection:0}),n})(),TE=(()=>{class n extends Jf{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})(),uI=(()=>{class n extends TE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-horizontal-stepper"]],features:[i.qOj]}),n})(),dI=(()=>{class n extends TE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-vertical-stepper"]],features:[i.qOj]}),n})(),ME=(()=>{class n extends Jf{constructor(e,t,s,a){super(e,t,s,a),this.steps=new i.n_E,this.animationDone=new i.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new ke.xQ;const r=s.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===r?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:t})=>this._iconOverrides[e]=t),this.steps.changes.pipe(Ke(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(ya((e,t)=>e.fromState===t.fromState&&e.toState===t.toState),Ke(this._destroyed)).subscribe(e=>{"current"===e.toState&&this.animationDone.emit()})}_stepIsNavigable(e,t){return t.completed||this.selectedIndex===e||!this.linear}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ki,8),i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(b.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,CE,5),i.Suo(s,cI,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._steps=a),i.iGM(a=i.CRH())&&(t._icons=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(AE,5),2&e){let s;i.iGM(s=i.CRH())&&(t._stepHeader=s)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(e,t){2&e&&(i.uIk("aria-orientation",t.orientation),i.ekj("mat-stepper-horizontal","horizontal"===t.orientation)("mat-stepper-vertical","vertical"===t.orientation)("mat-stepper-label-position-end","horizontal"===t.orientation&&"end"==t.labelPosition)("mat-stepper-label-position-bottom","horizontal"===t.orientation&&"bottom"==t.labelPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[i._Bn([{provide:Jf,useExisting:n},{provide:uI,useExisting:n},{provide:dI,useExisting:n}]),i.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(e,t){1&e&&(i.ynx(0,0),i.YNc(1,tI,5,2,"ng-container",1),i.YNc(2,nI,2,1,"ng-container",1),i.BQk(),i.YNc(3,sI,1,23,"ng-template",null,2,i.W1O)),2&e&&(i.Q6J("ngSwitch",t.orientation),i.xp6(1),i.Q6J("ngSwitchCase","horizontal"),i.xp6(1),i.Q6J("ngSwitchCase","vertical"))},directives:[AE,b.RF,b.n9,b.sg,b.tP,b.O5],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],encapsulation:2,data:{animation:[vE.horizontalStepTransition,vE.verticalStepTransition]},changeDetection:0}),n})(),hI=(()=>{class n extends HL{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("type",t.type)},inputs:{type:"type"},features:[i.qOj]}),n})(),fI=(()=>{class n extends FL{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("type",t.type)},inputs:{type:"type"},features:[i.qOj]}),n})(),SE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[rI,Ma],imports:[[ot,b.ez,uc,ir,zL,hu,ds],ot]}),n})();const pI=["mat-calendar-body",""];function gI(n,o){if(1&n&&(i.TgZ(0,"tr",2),i.TgZ(1,"td",3),i._uU(2),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),i.uIk("colspan",e.numCols),i.xp6(1),i.hij(" ",e.label," ")}}function mI(n,o){if(1&n&&(i.TgZ(0,"td",3),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),i.uIk("colspan",e._firstRowOffset),i.xp6(1),i.hij(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function _I(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",7),i.TgZ(1,"button",8),i.NdJ("click",function(s){const r=i.CHM(e).$implicit;return i.oxw(2)._cellClicked(r,s)}),i.TgZ(2,"div",9),i._uU(3),i.qZA(),i._UZ(4,"div",10),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw().index,a=i.oxw();i.Udp("width",a._cellWidth)("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),i.uIk("data-mat-row",s)("data-mat-col",t),i.xp6(1),i.ekj("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",a._isActiveCell(s,t))("mat-calendar-body-range-start",a._isRangeStart(e.compareValue))("mat-calendar-body-range-end",a._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",a._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",a._isComparisonBridgeStart(e.compareValue,s,t))("mat-calendar-body-comparison-bridge-end",a._isComparisonBridgeEnd(e.compareValue,s,t))("mat-calendar-body-comparison-start",a._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",a._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",a._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",a._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",a._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",a._isInPreview(e.compareValue)),i.Q6J("ngClass",e.cssClasses)("tabindex",a._isActiveCell(s,t)?0:-1),i.uIk("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",a._isSelected(e.compareValue))("aria-current",a.todayValue===e.compareValue?"date":null),i.xp6(1),i.ekj("mat-calendar-body-selected",a._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",a._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",a.todayValue===e.compareValue),i.xp6(1),i.hij(" ",e.displayValue," ")}}function yI(n,o){if(1&n&&(i.TgZ(0,"tr",4),i.YNc(1,mI,2,6,"td",5),i.YNc(2,_I,5,47,"td",6),i.qZA()),2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.xp6(1),i.Q6J("ngIf",0===t&&s._firstRowOffset),i.xp6(1),i.Q6J("ngForOf",e)}}function bI(n,o){if(1&n&&(i.TgZ(0,"th",5),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.uIk("aria-label",e.long),i.xp6(1),i.hij(" ",e.narrow," ")}}const wI=["*"];function AI(n,o){}function vI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-month-view",5),i.NdJ("activeDateChange",function(s){return i.CHM(e),i.oxw().activeDate=s})("_userSelection",function(s){return i.CHM(e),i.oxw()._dateSelected(s)}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)}}function CI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-year-view",6),i.NdJ("activeDateChange",function(s){return i.CHM(e),i.oxw().activeDate=s})("monthSelected",function(s){return i.CHM(e),i.oxw()._monthSelectedInYearView(s)})("selectedChange",function(s){return i.CHM(e),i.oxw()._goToDateInView(s,"month")}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function TI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-multi-year-view",7),i.NdJ("activeDateChange",function(s){return i.CHM(e),i.oxw().activeDate=s})("yearSelected",function(s){return i.CHM(e),i.oxw()._yearSelectedInMultiYearView(s)})("selectedChange",function(s){return i.CHM(e),i.oxw()._goToDateInView(s,"year")}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function MI(n,o){}const SI=["button"];function kI(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",3),i._UZ(1,"path",4),i.qZA())}const EI=[[["","matDatepickerToggleIcon",""]]],DI=["[matDatepickerToggleIcon]"];class Z0{constructor(o,e,t,s,a={},r=o,c){this.value=o,this.displayValue=e,this.ariaLabel=t,this.enabled=s,this.cssClasses=a,this.compareValue=r,this.rawValue=c}}let Qf=(()=>{class n{constructor(e,t){this._elementRef=e,this._ngZone=t,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new i.vpe,this.previewChange=new i.vpe,this._enterHandler=s=>{if(this._skipNextFocus&&"focus"===s.type)this._skipNextFocus=!1;else if(s.target&&this.isRange){const a=this._getCellFromElement(s.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:s}))}},this._leaveHandler=s=>{null!==this.previewEnd&&this.isRange&&s.target&&this._getCellFromElement(s.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:s}))},t.runOutsideAngular(()=>{const s=e.nativeElement;s.addEventListener("mouseenter",this._enterHandler,!0),s.addEventListener("focus",this._enterHandler,!0),s.addEventListener("mouseleave",this._leaveHandler,!0),s.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(e,t){e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const t=e.numCols,{rows:s,numCols:a}=this;(e.rows||t)&&(this._firstRowOffset=s&&s.length&&s[0].length?a-s[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/a+"%"),(t||!this._cellWidth)&&(this._cellWidth=100/a+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(e,t){let s=e*this.numCols+t;return e&&(s-=this._firstRowOffset),s==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,jt.q)(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})}_isRangeStart(e){return $0(e,this.startValue,this.endValue)}_isRangeEnd(e){return W0(e,this.startValue,this.endValue)}_isInRange(e){return J0(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return $0(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,s){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let a=this.rows[t][s-1];if(!a){const r=this.rows[t-1];a=r&&r[r.length-1]}return a&&!this._isRangeEnd(a.compareValue)}_isComparisonBridgeEnd(e,t,s){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let a=this.rows[t][s+1];if(!a){const r=this.rows[t+1];a=r&&r[0]}return a&&!this._isRangeStart(a.compareValue)}_isComparisonEnd(e){return W0(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return J0(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return $0(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return W0(e,this.previewStart,this.previewEnd)}_isInPreview(e){return J0(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if(kE(e)?t=e:kE(e.parentNode)&&(t=e.parentNode),t){const s=t.getAttribute("data-mat-row"),a=t.getAttribute("data-mat-col");if(s&&a)return this.rows[parseInt(s)][parseInt(a)]}return null}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[i.TTD],attrs:pI,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(e,t){1&e&&(i.YNc(0,gI,3,6,"tr",0),i.YNc(1,yI,3,2,"tr",1)),2&e&&(i.Q6J("ngIf",t._firstRowOffset.mat-calendar-body-cell-content,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content{outline:dotted 2px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected{outline:solid 3px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],encapsulation:2,changeDetection:0}),n})();function kE(n){return"TD"===n.nodeName}function $0(n,o,e){return null!==e&&o!==e&&n=o&&n===e}function J0(n,o,e,t){return t&&null!==o&&null!==e&&o!==e&&n>=o&&n<=e}class Zs{constructor(o,e){this.start=o,this.end=e}}let gu=(()=>{class n{constructor(e,t){this.selection=e,this._adapter=t,this._selectionChanged=new ke.xQ,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,t){const s=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:t,oldValue:s})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),xI=(()=>{class n extends gu{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new n(this._adapter);return e.updateSelection(this.selection,this),e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const EE={provide:gu,deps:[[new i.FiY,new i.tp0,gu],Ti],useFactory:function PI(n,o){return n||new xI(o)}},kA=new i.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let DE=(()=>{class n{constructor(e,t,s,a,r){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=s,this._dir=a,this._rangeStrategy=r,this._rerenderSubscription=q.w.EMPTY,this.selectedChange=new i.vpe,this._userSelection=new i.vpe,this.activeDateChange=new i.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const t=this._activeDate,s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Zs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ut(null)).subscribe(()=>this._init())}ngOnChanges(e){const t=e.comparisonStart||e.comparisonEnd;t&&!t.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const t=e.value,s=this._dateAdapter.getYear(this.activeDate),a=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(s,a,t);let c,d;this._selected instanceof Zs?(c=this._getDateInCurrentMonth(this._selected.start),d=this._getDateInCurrentMonth(this._selected.end)):c=d=this._getDateInCurrentMonth(this._selected),(c!==t||d!==t)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(e){const t=this._activeDate,s=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case 27:return void(null!=this._previewEnd&&!bn(e)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e}),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_previewChanged({event:e,value:t}){if(this._rangeStrategy){const a=this._rangeStrategy.createPreview(t?t.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(a.start),this._previewEnd=this._getCellCompareValue(a.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let a=this._dateAdapter.getDayOfWeekNames("long").map((r,c)=>({long:r,narrow:t[c]}));this._weekdays=a.slice(e).concat(a.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let s=0,a=this._firstWeekOffset;s=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}_getCellCompareValue(e){if(e){const t=this._dateAdapter.getYear(e),s=this._dateAdapter.getMonth(e),a=this._dateAdapter.getDate(e);return new Date(t,s,a).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof Zs?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(Ts,8),i.Y36(Ti,8),i.Y36(ki,8),i.Y36(kA,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-month-view"]],viewQuery:function(e,t){if(1&e&&i.Gf(Qf,5),2&e){let s;i.iGM(s=i.CRH())&&(t._matCalendarBody=s.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[i.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keyup","keydown"],["scope","col"]],template:function(e,t){1&e&&(i.TgZ(0,"table",0),i.TgZ(1,"thead",1),i.TgZ(2,"tr"),i.YNc(3,bI,2,2,"th",2),i.qZA(),i.TgZ(4,"tr"),i._UZ(5,"th",3),i.qZA(),i.qZA(),i.TgZ(6,"tbody",4),i.NdJ("selectedValueChange",function(a){return t._dateSelected(a)})("previewChange",function(a){return t._previewChanged(a)})("keyup",function(a){return t._handleCalendarBodyKeyup(a)})("keydown",function(a){return t._handleCalendarBodyKeydown(a)}),i.qZA(),i.qZA()),2&e&&(i.xp6(3),i.Q6J("ngForOf",t._weekdays),i.xp6(3),i.Q6J("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("startValue",t._rangeStart)("endValue",t._rangeEnd)("comparisonStart",t._comparisonRangeStart)("comparisonEnd",t._comparisonRangeEnd)("previewStart",t._previewStart)("previewEnd",t._previewEnd)("isRange",t._isRange)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[Qf,b.sg],encapsulation:2,changeDetection:0}),n})(),xE=(()=>{class n{constructor(e,t,s){this._changeDetectorRef=e,this._dateAdapter=t,this._dir=s,this._rerenderSubscription=q.w.EMPTY,this.selectedChange=new i.vpe,this.yearSelected=new i.vpe,this.activeDateChange=new i.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),RE(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Zs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ut(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-h_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let s=0,a=[];s<24;s++)a.push(t+s),4==a.length&&(this._years.push(a.map(r=>this._createCellForYear(r))),a=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const t=e.value;this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let s=this._dateAdapter.getMonth(this.activeDate),a=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,s,1));this.selectedChange.emit(this._dateAdapter.createDate(t,s,Math.min(this._dateAdapter.getDate(this.activeDate),a)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,s=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-h_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-h_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return h_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){const t=this._dateAdapter.createDate(e,0,1),s=this._dateAdapter.getYearName(t),a=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new Z0(e,s,s,this._shouldEnableYear(e),a)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class n{constructor(e,t,s,a){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=s,this._dir=a,this._rerenderSubscription=q.w.EMPTY,this.selectedChange=new i.vpe,this.monthSelected=new i.vpe,this.activeDateChange=new i.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Zs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ut(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=e.value,s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(s);const a=this._dateAdapter.getNumDaysInMonth(s);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),a)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,s=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(t=>t.map(s=>this._createCellForMonth(s,e[s]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_createCellForMonth(e,t){const s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),a=this._dateAdapter.format(s,this._dateFormats.display.monthYearA11yLabel),r=this.dateClass?this.dateClass(s,"year"):void 0;return new Z0(e,t.toLocaleUpperCase(),a,this._shouldEnableMonth(e),r)}_shouldEnableMonth(e){const t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(let a=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(a)==e;a=this._dateAdapter.addCalendarDays(a,1))if(this.dateFilter(a))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const s=this._dateAdapter.getYear(this.maxDate),a=this._dateAdapter.getMonth(this.maxDate);return e>s||e===s&&t>a}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const s=this._dateAdapter.getYear(this.minDate),a=this._dateAdapter.getMonth(this.minDate);return e{class n{constructor(){this.changes=new ke.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),FI=0,zI=(()=>{class n{constructor(e,t,s,a,r){this._intl=e,this.calendar=t,this._dateAdapter=s,this._dateFormats=a,this._buttonDescriptionId="mat-calendar-button-"+FI++,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-h_(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),s=t+24-1,a=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),r=this._dateAdapter.getYearName(this._dateAdapter.createDate(s,0,1));return this._intl.formatYearRange(a,r)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):RE(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(f_),i.Y36((0,i.Gpc)(()=>eM)),i.Y36(Ti,8),i.Y36(Ts,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:wI,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"button",2),i.NdJ("click",function(){return t.currentPeriodClicked()}),i.TgZ(3,"span"),i._uU(4),i.qZA(),i.O4$(),i.TgZ(5,"svg",3),i._UZ(6,"polygon",4),i.qZA(),i.qZA(),i.kcU(),i._UZ(7,"div",5),i.Hsn(8),i.TgZ(9,"button",6),i.NdJ("click",function(){return t.previousClicked()}),i.qZA(),i.TgZ(10,"button",7),i.NdJ("click",function(){return t.nextClicked()}),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.uIk("aria-label",t.periodButtonLabel)("aria-describedby",t._buttonDescriptionId),i.xp6(1),i.uIk("id",t._buttonDescriptionId),i.xp6(1),i.Oqu(t.periodButtonText),i.xp6(1),i.ekj("mat-calendar-invert","month"!==t.calendar.currentView),i.xp6(4),i.Q6J("disabled",!t.previousEnabled()),i.uIk("aria-label",t.prevButtonLabel),i.xp6(1),i.Q6J("disabled",!t.nextEnabled()),i.uIk("aria-label",t.nextButtonLabel))},directives:[zt,dS],encapsulation:2,changeDetection:0}),n})(),eM=(()=>{class n{constructor(e,t,s,a){this._dateAdapter=t,this._dateFormats=s,this._changeDetectorRef=a,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new i.vpe,this.yearSelected=new i.vpe,this.monthSelected=new i.vpe,this.viewChanged=new i.vpe(!0),this._userSelection=new i.vpe,this.stateChanges=new ke.xQ,this._intlChanges=e.changes.subscribe(()=>{a.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof Zs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const t=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),t&&this.viewChanged.emit(t)}ngAfterContentInit(){this._calendarHeaderPortal=new uo(this.headerComponent||zI),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){const s=this._getCurrentViewComponent();s&&(this._changeDetectorRef.detectChanges(),s._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const t=e.value;(this.selected instanceof Zs||t&&!this._dateAdapter.sameDate(t,this.selected))&&this.selectedChange.emit(t),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(f_),i.Y36(Ti,8),i.Y36(Ts,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-calendar"]],viewQuery:function(e,t){if(1&e&&(i.Gf(DE,5),i.Gf(LE,5),i.Gf(xE,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.monthView=s.first),i.iGM(s=i.CRH())&&(t.yearView=s.first),i.iGM(s=i.CRH())&&(t.multiYearView=s.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[i._Bn([EE]),i.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(i.YNc(0,AI,0,0,"ng-template",0),i.TgZ(1,"div",1),i.YNc(2,vI,1,8,"mat-month-view",2),i.YNc(3,CI,1,6,"mat-year-view",3),i.YNc(4,TI,1,6,"mat-multi-year-view",4),i.qZA()),2&e&&(i.Q6J("cdkPortalOutlet",t._calendarHeaderPortal),i.xp6(1),i.Q6J("ngSwitch",t.currentView),i.xp6(1),i.Q6J("ngSwitchCase","month"),i.xp6(1),i.Q6J("ngSwitchCase","year"),i.xp6(1),i.Q6J("ngSwitchCase","multi-year"))},directives:[DE,LE,xE,Er,dg,b.RF,b.n9],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),n})();const IE={transformPanel:ni("transformPanel",[ht("void => enter-dropdown",dt("120ms cubic-bezier(0, 0, 0.2, 1)",_c([De({opacity:0,transform:"scale(1, 0.8)"}),De({opacity:1,transform:"scale(1, 1)"})]))),ht("void => enter-dialog",dt("150ms cubic-bezier(0, 0, 0.2, 1)",_c([De({opacity:0,transform:"scale(0.7)"}),De({transform:"none",opacity:1})]))),ht("* => void",dt("100ms linear",De({opacity:0})))]),fadeInCalendar:ni("fadeInCalendar",[yt("void",De({opacity:0})),yt("enter",De({opacity:1})),ht("void => *",dt("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let NI=0;const OE=new i.OlP("mat-datepicker-scroll-strategy"),YI={provide:OE,deps:[Ys],useFactory:function BI(n){return()=>n.scrollStrategies.reposition()}},jI=tr(class{constructor(n){this._elementRef=n}});let UI=(()=>{class n extends jI{constructor(e,t,s,a,r,c){super(e),this._changeDetectorRef=t,this._globalModel=s,this._dateAdapter=a,this._rangeSelectionStrategy=r,this._subscriptions=new q.w,this._animationDone=new ke.xQ,this._actionsPortal=null,this._closeButtonText=c.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const t=this._model.selection,s=e.value,a=t instanceof Zs;if(a&&this._rangeSelectionStrategy){const r=this._rangeSelectionStrategy.selectionFinished(s,t,e.event);this._model.updateSelection(r,this)}else s&&(a||!this._dateAdapter.sameDate(s,t))&&this._model.add(s);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(gu),i.Y36(Ti),i.Y36(kA,8),i.Y36(f_))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){if(1&e&&i.Gf(eM,5),2&e){let s;i.iGM(s=i.CRH())&&(t._calendar=s.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&i.WFA("@transformPanel.done",function(){return t._animationDone.next()}),2&e&&(i.d8E("@transformPanel",t._animationState),i.ekj("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[i.qOj],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"mat-calendar",1),i.NdJ("yearSelected",function(a){return t.datepicker._selectYear(a)})("monthSelected",function(a){return t.datepicker._selectMonth(a)})("viewChanged",function(a){return t.datepicker._viewChanged(a)})("_userSelection",function(a){return t._handleUserSelection(a)}),i.qZA(),i.YNc(2,MI,0,0,"ng-template",2),i.TgZ(3,"button",3),i.NdJ("focus",function(){return t._closeButtonFocused=!0})("blur",function(){return t._closeButtonFocused=!1})("click",function(){return t.datepicker.close()}),i._uU(4),i.qZA(),i.qZA()),2&e){let s;i.ekj("mat-datepicker-content-container-with-custom-header",t.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",t._actionsPortal),i.uIk("aria-modal",!0)("aria-labelledby",null!==(s=t._dialogLabelId)&&void 0!==s?s:void 0),i.xp6(1),i.Q6J("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._getMinDate())("maxDate",t.datepicker._getMaxDate())("dateFilter",t.datepicker._getDateFilter())("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t._getSelected())("dateClass",t.datepicker.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)("@fadeInCalendar","enter"),i.xp6(1),i.Q6J("cdkPortalOutlet",t._actionsPortal),i.xp6(1),i.ekj("cdk-visually-hidden",!t._closeButtonFocused),i.Q6J("color",t.color||"primary"),i.xp6(1),i.Oqu(t._closeButtonText)}},directives:[eM,zt,aC,b.mk,Er],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[IE.transformPanel,IE.fadeInCalendar]},changeDetection:0}),n})(),HE=(()=>{class n{constructor(e,t,s,a,r,c,d){this._overlay=e,this._ngZone=t,this._viewContainerRef=s,this._dateAdapter=r,this._dir=c,this._model=d,this._inputStateChanges=q.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new i.vpe,this.monthSelected=new i.vpe,this.viewChanged=new i.vpe(!0),this.openedStream=new i.vpe,this.closedStream=new i.vpe,this._opened=!1,this.id="mat-datepicker-"+NI++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new ke.xQ,this._scrollStrategy=a}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=Ne(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const t=Ne(e);t!==this._disabled&&(this._disabled=t,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=Ne(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=function I_(n,o=/\s+/){const e=[];if(null!=n){const t=Array.isArray(n)?n:`${n}`.split(o);for(const s of t){const a=`${s}`.trim();a&&e.push(a)}}return e}(e)}get opened(){return this._opened}set opened(e){Ne(e)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(e){const t=e.xPosition||e.yPosition;if(t&&!t.firstChange&&this._overlayRef){const s=this._overlayRef.getConfig().positionStrategy;s instanceof Qp&&(this._setConnectedPositions(s),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal=e}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=wl(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const t=this._componentRef.instance;t._startExitAnimation(),t._animationDone.pipe((0,jt.q)(1)).subscribe(()=>this._destroyOverlay())}const e=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}_applyPendingSelection(){var e,t;null===(t=null===(e=this._componentRef)||void 0===e?void 0:e.instance)||void 0===t||t._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._actionsPortal=this._actionsPortal,e._dialogLabelId=this.datepickerInput.getOverlayLabelId()}_openOverlay(){this._destroyOverlay();const e=this.touchUi,t=new uo(UI,this._viewContainerRef),s=this._overlayRef=this._overlay.create(new Oh({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(e?"dialog":"popup")}));this._getCloseStream(s).subscribe(a=>{a&&a.preventDefault(),this.close()}),this._componentRef=s.attach(t),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,jt.q)(1)).subscribe(()=>s.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){const t="end"===this.xPosition?"end":"start",s="start"===t?"end":"start",a="above"===this.yPosition?"bottom":"top",r="top"===a?"bottom":"top";return e.withPositions([{originX:t,originY:r,overlayX:t,overlayY:a},{originX:t,originY:a,overlayX:t,overlayY:r},{originX:s,originY:r,overlayX:s,overlayY:a},{originX:s,originY:a,overlayX:s,overlayY:r}])}_getCloseStream(e){return(0,Ci.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,Yt.h)(t=>27===t.keyCode&&!bn(t)||this.datepickerInput&&bn(t,"altKey")&&38===t.keyCode)))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ys),i.Y36(i.R0b),i.Y36(i.s_b),i.Y36(OE),i.Y36(Ti,8),i.Y36(ki,8),i.Y36(gu))},n.\u0275dir=i.lG2({type:n,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[i.TTD]}),n})(),tM=(()=>{class n extends HE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[i._Bn([EE,{provide:HE,useExisting:n}]),i.qOj],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),n})();class EA{constructor(o,e){this.target=o,this.targetElement=e,this.value=this.target.value}}let VI=(()=>{class n{constructor(e,t,s){this._elementRef=e,this._dateAdapter=t,this._dateFormats=s,this.dateChange=new i.vpe,this.dateInput=new i.vpe,this.stateChanges=new ke.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=q.w.EMPTY,this._localeSubscription=q.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=a=>{const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value));return!r||this._matchesFilter(r)?null:{matDatepickerFilter:!0}},this._minValidator=a=>{const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value)),c=this._getMinDate();return!c||!r||this._dateAdapter.compareDate(c,r)<=0?null:{matDatepickerMin:{min:c,actual:r}}},this._maxValidator=a=>{const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value)),c=this._getMaxDate();return!c||!r||this._dateAdapter.compareDate(c,r)>=0?null:{matDatepickerMax:{max:c,actual:r}}},this._lastValueValid=!1,this._localeSubscription=t.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const t=Ne(e),s=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&s.blur&&s.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(this._shouldHandleChangeEvent(t)){const s=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(s),this._cvaOnChange(s),this._onTouched(),this._formatValue(s),this.dateInput.emit(new EA(this,this._elementRef.nativeElement)),this.dateChange.emit(new EA(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function qI(n,o){const e=Object.keys(n);for(let t of e){const{previousValue:s,currentValue:a}=n[t];if(!o.isDateInstance(s)||!o.isDateInstance(a))return!0;if(!o.sameDate(s,a))return!0}return!1})(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const t=this._lastValueValid;let s=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(s),s=this._dateAdapter.getValidDateOrNull(s),this._dateAdapter.sameDate(s,this.value)?(e&&!this.value&&this._cvaOnChange(s),t!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(s),this._cvaOnChange(s),this.dateInput.emit(new EA(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new EA(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){const t=this._getDateFilter();return!t||t(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ti,8),i.Y36(Ts,8))},n.\u0275dir=i.lG2({type:n,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[i.TTD]}),n})();const GI={provide:ps,useExisting:(0,i.Gpc)(()=>p_),multi:!0},KI={provide:dn,useExisting:(0,i.Gpc)(()=>p_),multi:!0};let p_=(()=>{class n extends VI{constructor(e,t,s,a){super(e,t,s),this._formField=a,this._closedSubscription=q.w.EMPTY,this._validator=Ni.compose(super._getValidators())}set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._min)||(this._min=t,this._validatorOnChange())}get max(){return this._max}set max(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._max)||(this._max=t,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const t=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==t&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ti,8),i.Y36(Ts,8),i.Y36(kd,8))},n.\u0275dir=i.lG2({type:n,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,t){1&e&&i.NdJ("input",function(a){return t._onInput(a.target.value)})("change",function(){return t._onChange()})("blur",function(){return t._onBlur()})("keydown",function(a){return t._onKeydown(a)}),2&e&&(i.Ikx("disabled",t.disabled),i.uIk("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null)("data-mat-calendar",t._datepicker?t._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[i._Bn([GI,KI,{provide:Pk,useExisting:n}]),i.qOj]}),n})(),ZI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matDatepickerToggleIcon",""]]}),n})(),iM=(()=>{class n{constructor(e,t,s){this._intl=e,this._changeDetectorRef=t,this._stateChanges=q.w.EMPTY;const a=Number(s);this.tabIndex=a||0===a?a:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=Ne(e)}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker.stateChanges:(0,Ye.of)(),t=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,Ye.of)(),s=this.datepicker?(0,Ci.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,Ye.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,Ci.T)(this._intl.changes,e,t,s).subscribe(()=>this._changeDetectorRef.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(f_),i.Y36(i.sBO),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,ZI,5),2&e){let a;i.iGM(a=i.CRH())&&(t._customIcon=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(SI,5),2&e){let s;i.iGM(s=i.CRH())&&(t._button=s.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t._open(a)}),2&e&&(i.uIk("tabindex",null)("data-mat-calendar",t.datepicker?t.datepicker.id:null),i.ekj("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[i.TTD],ngContentSelectors:DI,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(i.F$t(EI),i.TgZ(0,"button",0,1),i.YNc(2,kI,2,0,"svg",2),i.Hsn(3),i.qZA()),2&e&&(i.Q6J("disabled",t.disabled)("disableRipple",t.disableRipple),i.uIk("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t.ariaLabel||t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),i.xp6(2),i.Q6J("ngIf",!t._customIcon))},directives:[zt,b.O5],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),n})(),nM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[f_,YI],imports:[[b.ez,ir,ed,jy,uc,ot],kr]}),n})();const $I=["mat-sort-header",""];function WI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",3),i.NdJ("@arrowPosition.start",function(){return i.CHM(e),i.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return i.CHM(e),i.oxw()._disableViewStateAnimation=!1}),i._UZ(1,"div",4),i.TgZ(2,"div",5),i._UZ(3,"div",6),i._UZ(4,"div",7),i._UZ(5,"div",8),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),i.xp6(2),i.Q6J("@indicator",e._getArrowDirectionState()),i.xp6(1),i.Q6J("@leftPointer",e._getArrowDirectionState()),i.xp6(1),i.Q6J("@rightPointer",e._getArrowDirectionState())}}const JI=["*"],mu=jC.ENTERING+" "+YC.STANDARD_CURVE,Xf={indicator:ni("indicator",[yt("active-asc, asc",De({transform:"translateY(0px)"})),yt("active-desc, desc",De({transform:"translateY(10px)"})),ht("active-asc <=> active-desc",dt(mu))]),leftPointer:ni("leftPointer",[yt("active-asc, asc",De({transform:"rotate(-45deg)"})),yt("active-desc, desc",De({transform:"rotate(45deg)"})),ht("active-asc <=> active-desc",dt(mu))]),rightPointer:ni("rightPointer",[yt("active-asc, asc",De({transform:"rotate(45deg)"})),yt("active-desc, desc",De({transform:"rotate(-45deg)"})),ht("active-asc <=> active-desc",dt(mu))]),arrowOpacity:ni("arrowOpacity",[yt("desc-to-active, asc-to-active, active",De({opacity:1})),yt("desc-to-hint, asc-to-hint, hint",De({opacity:.54})),yt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",De({opacity:0})),ht("* => asc, * => desc, * => active, * => hint, * => void",dt("0ms")),ht("* <=> *",dt(mu))]),arrowPosition:ni("arrowPosition",[ht("* => desc-to-hint, * => desc-to-active",dt(mu,_c([De({transform:"translateY(-25%)"}),De({transform:"translateY(0)"})]))),ht("* => hint-to-desc, * => active-to-desc",dt(mu,_c([De({transform:"translateY(0)"}),De({transform:"translateY(25%)"})]))),ht("* => asc-to-hint, * => asc-to-active",dt(mu,_c([De({transform:"translateY(25%)"}),De({transform:"translateY(0)"})]))),ht("* => hint-to-asc, * => active-to-asc",dt(mu,_c([De({transform:"translateY(0)"}),De({transform:"translateY(-25%)"})]))),yt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",De({transform:"translateY(0)"})),yt("hint-to-desc, active-to-desc, desc",De({transform:"translateY(-25%)"})),yt("hint-to-asc, active-to-asc, asc",De({transform:"translateY(25%)"}))]),allowChildren:ni("allowChildren",[ht("* <=> *",[po("@*",Vy(),{optional:!0})])])};let DA=(()=>{class n{constructor(){this.changes=new ke.xQ}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const XI={provide:DA,deps:[[new i.FiY,new i.tp0,DA]],useFactory:function QI(n){return n||new DA}},eO=new i.OlP("MAT_SORT_DEFAULT_OPTIONS"),tO=Wg(mo(class{}));let vo=(()=>{class n extends tO{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new ke.xQ,this.start="asc",this._direction="",this.sortChange=new i.vpe}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=Ne(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var t,s,a;if(!e)return"";const r=null!==(s=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==s?s:!!(null===(a=this._defaultOptions)||void 0===a?void 0:a.disableClear);let c=function iO(n,o){let e=["asc","desc"];return"desc"==n&&e.reverse(),o||e.push(""),e}(e.start||this.start,r),d=c.indexOf(this.direction)+1;return d>=c.length&&(d=0),c[d]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(eO,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.qOj,i.TTD]}),n})();const nO=mo(class{});let ep=(()=>{class n extends nO{constructor(e,t,s,a,r,c,d){super(),this._intl=e,this._changeDetectorRef=t,this._sort=s,this._columnDef=a,this._focusMonitor=r,this._elementRef=c,this._ariaDescriber=d,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=Ne(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const t=!!e;t!==this._showIndicatorHint&&(this._setIndicatorHintVisible(t),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){var t,s;this._sortButton&&(null===(t=this._ariaDescriber)||void 0===t||t.removeDescription(this._sortButton,this._sortActionDescription),null===(s=this._ariaDescriber)||void 0===s||s.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=(0,Ci.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(DA),i.Y36(i.sBO),i.Y36(vo,8),i.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),i.Y36(As),i.Y36(i.SBq),i.Y36(eC,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._handleClick()})("keydown",function(a){return t._handleKeydown(a)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(i.uIk("aria-sort",t._getAriaSortAttribute()),i.ekj("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[i.qOj],attrs:$I,ngContentSelectors:JI,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.YNc(3,WI,6,6,"div",2),i.qZA()),2&e&&(i.ekj("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),i.uIk("tabindex",t._isDisabled()?null:0),i.xp6(3),i.Q6J("ngIf",t._renderArrow()))},directives:[b.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[Xf.indicator,Xf.leftPointer,Xf.rightPointer,Xf.arrowOpacity,Xf.arrowPosition,Xf.allowChildren]},changeDetection:0}),n})(),sM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[XI],imports:[[b.ez,ot]]}),n})(),FE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,oE,V0,pE,ir,mE,TA,hu,Y0,gf,uA,Kl,dA,lc,Xw,ru,SE,nM,df,Kk,Xk,oA,Bk,sM,z,Yf,Ud,ds],oE,V0,pE,ir,mE,TA,hu,Y0,gf,uA,Kl,dA,lc,Xw,ru,SE,nM,df,Kk,Xk,oA,Bk,sM,z,Yf,Ud,ds]}),n})(),sO=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.publication=this.data}ok(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn),i.Y36(yo))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-show-cite-dialog"]],decls:10,vars:7,consts:[[1,"user-theme"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["mat-dialog-actions",""],["mat-stroked-button","",1,"ml-auto",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",2),i._uU(5),i.qZA(),i.TgZ(6,"div",3),i.TgZ(7,"button",4),i.NdJ("click",function(){return t.ok()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,3,"DIALOGS.SHOW_CITE.TITLE")),i.xp6(3),i.hij(" ",t.publication.main," "),i.xp6(3),i.hij(" ",i.lcZ(9,5,"DIALOGS.SHOW_CITE.OK")," "))},directives:[Vs,qs,hs,zt],pipes:[gt],styles:[""]}),n})(),oO=(()=>{class n{constructor(e){this.elementRef=e}ngOnInit(){this.elementRef.nativeElement.focus()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","perunWebAppsAutoFocus",""]]}),n})(),zE=(()=>{class n{constructor(){}onClick(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),s=location.search;window.open(t+s)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(e,t){1&e&&i.NdJ("mouseup",function(a){return t.onClick(a)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),n})();function rO(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," info "),i.qZA())}function aO(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," warning "),i.qZA())}function cO(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," dangerous "),i.qZA())}function lO(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," check_circle "),i.qZA())}const uO=["*"];let Oa=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:uO,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,rO,2,0,"mat-icon",1),i.YNc(2,aO,2,0,"mat-icon",1),i.YNc(3,cO,2,0,"mat-icon",1),i.YNc(4,lO,2,0,"mat-icon",1),i.Hsn(5),i.qZA()),2&e&&(i.ekj("warn-alert","warn"===t.alert_type)("error-alert","error"===t.alert_type)("success-alert","success"===t.alert_type)("info-alert","info"===t.alert_type),i.xp6(1),i.Q6J("ngIf","info"===t.alert_type),i.xp6(1),i.Q6J("ngIf","warn"===t.alert_type),i.xp6(1),i.Q6J("ngIf","error"===t.alert_type),i.xp6(1),i.Q6J("ngIf","success"===t.alert_type))},directives:[b.O5,Zi],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),n})(),xA=(()=>{class n{transform(e){let s="";return null!==e.titleBefore&&(s+=e.titleBefore+" "),null!==e.firstName&&(s+=e.firstName+" "),null!==e.middleName&&(s+=e.middleName+" "),null!==e.lastName&&(s+=e.lastName+" "),null!==e.titleAfter&&(s+=e.titleAfter+" "),s.endsWith(" ")&&(s=s.substring(0,s.length-1)),s}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"userFullName",type:n,pure:!0}),n})();function dO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",20),i.TgZ(1,"mat-checkbox",21),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function hO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",22),i.TgZ(1,"mat-checkbox",23),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.itemSelectionToggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function fO(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_ID")," "))}function pO(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.id," ")}}function gO(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_LOCK")," "))}function mO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",27),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().lockOrUnlockPublication(s)})("mouseenter",function(){return i.CHM(e),i.oxw(2).buttonPressed=!0})("mouseleave",function(){return i.CHM(e),i.oxw(2).buttonPressed=!1}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon"),i._uU(3,"lock"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"PUBLICATIONS_LIST.LOCKED"))}function _O(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",27),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().lockOrUnlockPublication(s)})("mouseenter",function(){return i.CHM(e),i.oxw(2).buttonPressed=!0})("mouseleave",function(){return i.CHM(e),i.oxw(2).buttonPressed=!1}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon"),i._uU(3,"lock_open"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"PUBLICATIONS_LIST.UNLOCKED"))}function yO(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,mO,4,3,"button",26),i.YNc(2,_O,4,3,"button",26),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngIf",e.locked),i.xp6(1),i.Q6J("ngIf",!e.locked)}}function bO(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_TITLE")," "))}function wO(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.title," ")}}function AO(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_REPORTED_BY")," "))}function vO(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.ALo(2,"userFullName"),i._UZ(3,"br"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e),"")}}function CO(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,vO,4,3,"span",28),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngForOf",e.authors)}}function TO(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_YEAR")," "))}function MO(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.year," ")}}function SO(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_CATEGORY")," "))}function kO(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.categoryName," ")}}function EO(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_THANKEDTO")," "))}function DO(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i._UZ(2,"br"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.ownerName,"")}}function xO(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,DO,3,1,"span",28),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngForOf",e.thanks)}}function RO(n,o){1&n&&(i.TgZ(0,"th",29),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_CITE")))}function PO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",25),i.TgZ(1,"button",30),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().showCite(a)})("mouseenter",function(){return i.CHM(e),i.oxw().buttonPressed=!0})("mouseleave",function(){return i.CHM(e),i.oxw().buttonPressed=!1}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.qZA()}2&n&&(i.xp6(2),i.hij(" ",i.lcZ(3,1,"PUBLICATIONS_LIST.SHOW_CITE")," "))}function LO(n,o){1&n&&i._UZ(0,"tr",31)}const NE=function(n,o){return[n,o]};function IO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"tr",32),i.NdJ("click",function(){const a=i.CHM(e).$implicit,r=i.oxw();return r.disabledRouting&&r.openInTab&&!r.buttonPressed?r.emitPublication(a):null}),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disabledRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",t.disabledRouting||t.buttonPressed?null:i.WLB(4,NE,t.routerPath,e.id))("routerLink",t.disabledRouting||t.buttonPressed?null:i.WLB(7,NE,t.routerPath,e.id))}}function OO(n,o){1&n&&(i.TgZ(0,"app-alert",33),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.NO_PUBLICATIONS_FOUND"),"\n"))}let tp=(()=>{class n{constructor(e,t,s,a,r){this.tableCheckbox=e,this.cabinetService=t,this.dialog=s,this.notificator=a,this.translate=r,this.selection=new zi(!0,[]),this.displayedColumns=["select","id","lock","title","reportedBy","year","category","thankedTo","cite"],this.pageSizeOptions=Kd,this.disabledRouting=!1,this.openInTab=!1,this.allowAlert=!0,this.publicationSelector=new i.vpe,this.buttonPressed=!1,r.get("PUBLICATIONS_LIST.CHANGE_LOCK_SUCCESS").subscribe(c=>this.changeLockMessage=c),r.get("PUBLICATIONS_LIST.LOCKED").subscribe(c=>this.locked=c),r.get("PUBLICATIONS_LIST.UNLOCKED").subscribe(c=>this.unlocked=c)}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Fc(this.publications),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"lock":return String(e.locked);case"title":return e.title;case"reportedBy":{let s="";return e.authors.forEach(a=>s+=vk(a)+";"),s.slice(0,-1)}case"year":return e.year.toString();case"category":return e.categoryName;case"thankedTo":{let s="";return e.thanks.forEach(a=>s+=a.ownerName+";"),s.slice(0,-1)}default:return e[t]}}exportData(e){Kf(Gf(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,"",this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,"",this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}setDataSource(){this.dataSource&&(this.dataSource.sortData=(e,t)=>Vf(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}itemSelectionToggle(e){this.selection.toggle(e)}showCite(e){const t=Qn();t.width="500px",t.data=e,this.dialog.open(sO,t)}lockOrUnlockPublication(e){this.cabinetService.lockPublications({publications:[this.createPublication(e)],lock:!e.locked}).subscribe(()=>{this.notificator.showSuccess(e.locked?this.changeLockMessage+this.unlocked:this.changeLockMessage+this.locked),e.locked=!e.locked})}createPublication(e){return{id:e.id,externalId:e.externalId,publicationSystemId:e.publicationSystemId,categoryId:e.categoryId,createdBy:e.createdBy,createdDate:e.createdDate,doi:e.doi,isbn:e.isbn,locked:e.locked,main:e.main,rank:e.rank,title:e.title,year:e.year}}emitPublication(e){return this.publicationSelector.emit(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(lA),i.Y36(ai),i.Y36(on),i.Y36(Nn),i.Y36(Fi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publications-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(vo,7),i.Gf(or,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{publications:"publications",selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",pageSizeOptions:"pageSizeOptions",routerPath:"routerPath",disabledRouting:"disabledRouting",openInTab:"openInTab",allowAlert:"allowAlert"},outputs:{publicationSelector:"publicationSelector"},features:[i.TTD],decls:33,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","title","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","lock"],["matColumnDef","title"],["matColumnDef","reportedBy"],["matColumnDef","year"],["matColumnDef","category"],["matColumnDef","thankedTo"],["matColumnDef","cite"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink","cursor-pointer","click",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-icon-button","",3,"matTooltip","click","mouseenter","mouseleave",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click","mouseenter","mouseleave"],[4,"ngFor","ngForOf"],["mat-header-cell",""],["mat-stroked-button","",3,"click","mouseenter","mouseleave"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink","click"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,dO,2,3,"th",4),i.YNc(5,hO,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,fO,3,3,"th",7),i.YNc(8,pO,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,gO,3,3,"th",7),i.YNc(11,yO,3,2,"td",8),i.BQk(),i.ynx(12,10),i.YNc(13,bO,3,3,"th",7),i.YNc(14,wO,2,1,"td",8),i.BQk(),i.ynx(15,11),i.YNc(16,AO,3,3,"th",7),i.YNc(17,CO,2,1,"td",8),i.BQk(),i.ynx(18,12),i.YNc(19,TO,3,3,"th",7),i.YNc(20,MO,2,1,"td",8),i.BQk(),i.ynx(21,13),i.YNc(22,SO,3,3,"th",7),i.YNc(23,kO,2,1,"td",8),i.BQk(),i.ynx(24,14),i.YNc(25,EO,3,3,"th",7),i.YNc(26,xO,2,1,"td",8),i.BQk(),i.ynx(27,15),i.YNc(28,RO,3,3,"th",16),i.YNc(29,PO,4,3,"td",8),i.BQk(),i.YNc(30,LO,1,0,"tr",17),i.YNc(31,IO,1,10,"tr",18),i.qZA(),i.qZA(),i.qZA(),i.YNc(32,OO,3,3,"app-alert",19)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.publications.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(28),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.publications.length&&t.allowAlert))},directives:[or,Pa,vo,Fr,Hr,zr,pu,Or,Nr,ep,b.O5,zt,uu,Zi,b.sg,Oc,Hc,La,Ia,zE,S,Oa],pipes:[gt,xA],styles:[".mat-column-title[_ngcontent-%COMP%]{width:40%}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();function HO(n,o){1&n&&i._UZ(0,"mat-spinner",7)}const FO=function(){return["id","title","year"]};function zO(n,o){if(1&n&&(i.TgZ(0,"div",8),i._uU(1),i.ALo(2,"translate"),i._UZ(3,"perun-web-apps-publications-list",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",i.lcZ(2,4,"DIALOGS.REMOVE_PUBLICATION.WARNING")," "),i.xp6(2),i.Q6J("publications",e.publications)("routerPath",null)("displayedColumns",i.DdM(6,FO))}}let oM=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.translate=a,this.cabinetService=r,this.loading=!1}ngOnInit(){this.publications=this.data}cancel(){this.dialogRef.close()}remove(){this.loading=!0,this.cabinetService.deletePublication(this.publications.pop().id).subscribe(()=>{this.publications.length<=0?this.translate.get("DIALOGS.REMOVE_PUBLICATION.REMOVE_SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)}):this.remove()},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn),i.Y36(yo),i.Y36(Nn),i.Y36(Fi),i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-publication-dialog"]],decls:13,vars:12,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"publications","routerPath","displayedColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,HO,1,0,"mat-spinner",2),i.YNc(5,zO,4,7,"div",3),i.TgZ(6,"div",4),i.TgZ(7,"button",5),i.NdJ("click",function(){return t.cancel()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",6),i.NdJ("click",function(){return t.remove()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,6,"DIALOGS.REMOVE_PUBLICATION.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(3),i.hij(" ",i.lcZ(9,8,"DIALOGS.REMOVE_PUBLICATION.CANCEL")," "),i.xp6(2),i.Q6J("disabled",t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,10,"DIALOGS.REMOVE_PUBLICATION.REMOVE")," "))},directives:[Vs,b.O5,vn,qs,tp,hs,zt],pipes:[gt],styles:[""]}),n})(),ip=(()=>{class n{constructor(){this.refresh=new i.vpe}onClickbutton(e){this.refresh.emit(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-refresh-button"]],inputs:{disabled:"disabled"},outputs:{refresh:"refresh"},decls:3,vars:5,consts:[["mat-stroked-button","","data-cy","refresh-button",1,"mr-2",3,"disabled","matTooltip","click"],[1,"center-icon","perun-icon",3,"svgIcon"]],template:function(e,t){1&e&&(i.TgZ(0,"button",0),i.NdJ("click",function(a){return t.onClickbutton(a)}),i.ALo(1,"translate"),i._UZ(2,"mat-icon",1),i.qZA()),2&e&&(i.s9C("matTooltip",i.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),i.Q6J("disabled",t.disabled),i.xp6(2),i.s9C("svgIcon",t.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[zt,uu,Zi],pipes:[gt],styles:[".center-icon[_ngcontent-%COMP%]{display:inline-flex}.perun-icon[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%]{fill:currentColor}"]}),n})();var np=w(5439);const $d=np||w.t(np,2),BE=new i.OlP("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function BO(){return{useUtc:!1}}});function YO(n,o){const e=Array(n);for(let t=0;t{class n extends Ti{constructor(e,t){super(),this._options=t,this.setLocale(e||$d.locale())}setLocale(e){super.setLocale(e);let t=$d.localeData(e);this._localeData={firstDayOfWeek:t.firstDayOfWeek(),longMonths:t.months(),shortMonths:t.monthsShort(),dates:YO(31,s=>this.createDate(2017,0,s+1).format("D")),longDaysOfWeek:t.weekdays(),shortDaysOfWeek:t.weekdaysShort(),narrowDaysOfWeek:t.weekdaysMin()}}getYear(e){return this.clone(e).year()}getMonth(e){return this.clone(e).month()}getDate(e){return this.clone(e).date()}getDayOfWeek(e){return this.clone(e).day()}getMonthNames(e){return"long"==e?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(e){return"long"==e?this._localeData.longDaysOfWeek:"short"==e?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(e){return this.clone(e).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(e){return this.clone(e).daysInMonth()}clone(e){return e.clone().locale(this.locale)}createDate(e,t,s){const a=this._createMoment({year:e,month:t,date:s}).locale(this.locale);return a.isValid(),a}today(){return this._createMoment().locale(this.locale)}parse(e,t){return e&&"string"==typeof e?this._createMoment(e,t,this.locale):e?this._createMoment(e).locale(this.locale):null}format(e,t){return e=this.clone(e),this.isValid(e),e.format(t)}addCalendarYears(e,t){return this.clone(e).add({years:t})}addCalendarMonths(e,t){return this.clone(e).add({months:t})}addCalendarDays(e,t){return this.clone(e).add({days:t})}toIso8601(e){return this.clone(e).format()}deserialize(e){let t;if(e instanceof Date)t=this._createMoment(e).locale(this.locale);else if(this.isDateInstance(e))return this.clone(e);if("string"==typeof e){if(!e)return null;t=this._createMoment(e,$d.ISO_8601).locale(this.locale)}return t&&this.isValid(t)?this._createMoment(t).locale(this.locale):super.deserialize(e)}isDateInstance(e){return $d.isMoment(e)}isValid(e){return this.clone(e).isValid()}invalid(){return $d.invalid()}_createMoment(e,t,s){const{strict:a,useUtc:r}=this._options||{};return r?$d.utc(e,t,s,a):$d(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ta,8),i.LFG(BE,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),jO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ti,useClass:g_,deps:[Ta,BE]}]}),n})(),YE=(()=>{class n{constructor(){}ngOnInit(){this.endMaxYear=new Date,this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value}chosenYearHandler(e,t,s){e.setValue(t),this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value,s.close()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-year-range"]],inputs:{startYear:"startYear",endYear:"endYear"},decls:16,vars:15,consts:[[1,"year-field","mr-2",3,"click"],["matInput","","readonly","",1,"disable",3,"matDatepicker","max","formControl"],["matSuffix","",3,"for"],["startView","multi-year","panelClass","example-month-picker",3,"yearSelected"],["sdp",""],["matInput","",3,"matDatepicker","min","max","formControl"],["edp",""]],template:function(e,t){if(1&e){const s=i.EpF();i.TgZ(0,"mat-form-field",0),i.NdJ("click",function(){return i.CHM(s),i.MAs(7).open()}),i.TgZ(1,"mat-label"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i._UZ(4,"input",1),i._UZ(5,"mat-datepicker-toggle",2),i.TgZ(6,"mat-datepicker",3,4),i.NdJ("yearSelected",function(r){i.CHM(s);const c=i.MAs(7);return t.chosenYearHandler(t.startYear,r,c)}),i.qZA(),i.qZA(),i.TgZ(8,"mat-form-field",0),i.NdJ("click",function(){return i.CHM(s),i.MAs(15).open()}),i.TgZ(9,"mat-label"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i._UZ(12,"input",5),i._UZ(13,"mat-datepicker-toggle",2),i.TgZ(14,"mat-datepicker",3,6),i.NdJ("yearSelected",function(r){i.CHM(s);const c=i.MAs(15);return t.chosenYearHandler(t.endYear,r,c)}),i.qZA(),i.qZA()}if(2&e){const s=i.MAs(7),a=i.MAs(15);i.xp6(2),i.Oqu(i.lcZ(3,11,"PUBLICATION_FILTER.START_YEAR")),i.xp6(2),i.Q6J("matDatepicker",s)("max",t.startMaxYear)("formControl",t.startYear),i.xp6(1),i.Q6J("for",s),i.xp6(5),i.Oqu(i.lcZ(11,13,"PUBLICATION_FILTER.END_YEAR")),i.xp6(2),i.Q6J("matDatepicker",a)("min",t.endMinYear)("max",t.endMaxYear)("formControl",t.endYear),i.xp6(1),i.Q6J("for",a)}},directives:[un,bo,rr,p_,An,Ss,nr,iM,Sd,tM],pipes:[gt],styles:[".year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:initial!important}"]}),n})();function UO(n,o){if(1&n&&(i.TgZ(0,"mat-option",12),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e.name," ")}}const RA=np,VO={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let rM=(()=>{class n{constructor(e){this.cabinetService=e,this.title=new Di,this.code=new Di,this.startYear=new Di(RA()),this.endYear=new Di(RA()),this.filteredPublication=new i.vpe}ngOnInit(){this.title.setValue(""),this.code.setValue(""),this.selectedCategory="no_value",this.cabinetService.getCategories().subscribe(e=>{this.categories=e,this.selectedMode="isbn/issn"})}filter(){const e={title:this.title.value,isbnissn:"isbn/issn"===this.selectedMode?this.code.value:null,doi:"doi"===this.selectedMode?this.code.value:null,category:"no_value"!==this.selectedCategory?this.selectedCategory.id:null,startYear:(0,b.p6)(this.startYear.value,"yyyy","en-GB"),endYear:(0,b.p6)(this.endYear.value,"yyyy","en-GB")};this.filteredPublication.emit(e)}clearFilter(){this.title.setValue(""),this.code.setValue(""),this.selectedMode="isbn/issn",this.selectedCategory="no_value",this.startYear=new Di(RA()),this.endYear=new Di(RA()),this.filteredPublication.emit({title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-filter"]],outputs:{filteredPublication:"filteredPublication"},features:[i._Bn([{provide:Ti,useClass:g_,deps:[Ta]},{provide:Ts,useValue:VO}])],decls:38,vars:34,consts:[[1,"mt-2"],[1,"filter-field","mr-2"],["matInput","",3,"formControl","placeholder"],[3,"value","valueChange"],["value","isbn/issn"],["value","doi"],[1,"year-field","mr-2"],["value","no_value"],[3,"value",4,"ngFor","ngForOf"],[3,"startYear","endYear"],["mat-stroked-button","",1,"mr-2",3,"click"],["mat-stroked-button","",3,"click"],[3,"value"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"mat-form-field",1),i._UZ(2,"input",2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"mat-form-field",1),i.TgZ(5,"mat-label"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"mat-select",3),i.NdJ("valueChange",function(a){return t.selectedMode=a}),i.TgZ(9,"mat-option",4),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.TgZ(12,"mat-option",5),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(15,"mat-form-field",6),i._UZ(16,"input",2),i.ALo(17,"translate"),i.qZA(),i.TgZ(18,"mat-form-field",1),i.TgZ(19,"mat-label"),i._uU(20),i.ALo(21,"translate"),i.qZA(),i.TgZ(22,"mat-select",3),i.NdJ("valueChange",function(a){return t.selectedCategory=a}),i.TgZ(23,"mat-option",7),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.YNc(26,UO,2,2,"mat-option",8),i.qZA(),i.qZA(),i._UZ(27,"perun-web-apps-year-range",9),i.TgZ(28,"button",10),i.NdJ("click",function(){return t.filter()}),i.TgZ(29,"mat-icon"),i._uU(30,"search"),i.qZA(),i._uU(31),i.ALo(32,"translate"),i.qZA(),i.TgZ(33,"button",11),i.NdJ("click",function(){return t.clearFilter()}),i.TgZ(34,"mat-icon"),i._uU(35,"search_off"),i.qZA(),i._uU(36),i.ALo(37,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.s9C("placeholder",i.lcZ(3,16,"PUBLICATION_FILTER.TITLE_PLACEHOLDER")),i.Q6J("formControl",t.title),i.xp6(4),i.Oqu(i.lcZ(7,18,"PUBLICATION_FILTER.SELECT_MODE")),i.xp6(2),i.Q6J("value",t.selectedMode),i.xp6(2),i.Oqu(i.lcZ(11,20,"PUBLICATION_FILTER.ISBN/ISSN")),i.xp6(3),i.Oqu(i.lcZ(14,22,"PUBLICATION_FILTER.DOI")),i.xp6(3),i.s9C("placeholder",i.lcZ(17,24,"PUBLICATION_FILTER.CODE_PLACEHOLDER")),i.Q6J("formControl",t.code),i.xp6(4),i.Oqu(i.lcZ(21,26,"PUBLICATION_FILTER.SELECT_CATEGORY")),i.xp6(2),i.Q6J("value",t.selectedCategory),i.xp6(2),i.Oqu(i.lcZ(25,28,"PUBLICATION_FILTER.NO_CATEGORY_SELECTED")),i.xp6(2),i.Q6J("ngForOf",t.categories),i.xp6(1),i.Q6J("startYear",t.startYear)("endYear",t.endYear),i.xp6(4),i.hij(" ",i.lcZ(32,30,"PUBLICATION_FILTER.FILTER")," "),i.xp6(5),i.hij(" ",i.lcZ(37,32,"PUBLICATION_FILTER.CLEAR_FILTER")," "))},directives:[un,rr,An,Ss,nr,bo,jd,Bl,b.sg,YE,zt,Zi],pipes:[gt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:250px!important;width:100%!important;min-width:initial!important}.disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:initial!important}"]}),n})();function qO(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",10),2&n){const e=i.oxw();i.Q6J("publications",e.publications)("selection",e.selected)("routerPath","/all-publications")("tableId",e.tableId)}}function GO(n,o){1&n&&i._UZ(0,"mat-spinner",11)}let KO=(()=>{class n{constructor(e,t,s,a,r){this.route=e,this.cabinetService=t,this.dialog=s,this.matIconRegistry=a,this.domSanitizer=r,this.selected=new zi(!0,[]),this.tableId="68",this.filter={title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null},this.matIconRegistry.addSvgIcon("publications",this.domSanitizer.bypassSecurityTrustResourceUrl("../../assets/img/publications-dark.svg"))}ngOnInit(){this.refreshTable()}removePublication(){const e=Qn();e.width="500px",e.data=this.selected.selected,this.dialog.open(oM,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(this.filter.title,null,null,null,null,this.filter.category,+this.filter.startYear,+this.filter.endYear,null).subscribe(e=>{this.publications=e,this.loading=!1})}filterPublication(e){this.filter=e,this.refreshTable()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ys),i.Y36(ai),i.Y36(on),i.Y36(Gd),i.Y36(Un))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-all-publications-page"]],decls:14,vars:9,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],["svgIcon","publications",1,"publications-icon"],[1,"ml-3","mt-1"],[1,"mt-4"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"filteredPublication"],[3,"publications","selection","routerPath","tableId",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"publications","selection","routerPath","tableId"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._UZ(2,"mat-icon",2),i.TgZ(3,"span",3),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA(),i.TgZ(6,"div",4),i.TgZ(7,"perun-web-apps-refresh-button",5),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.TgZ(8,"button",6),i.NdJ("click",function(){return t.removePublication()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.TgZ(11,"perun-web-apps-publication-filter",7),i.NdJ("filteredPublication",function(a){return t.filterPublication(a)}),i.qZA(),i.qZA(),i.YNc(12,qO,1,4,"perun-web-apps-publications-list",8),i.YNc(13,GO,1,0,"mat-spinner",9),i.qZA()),2&e&&(i.xp6(4),i.Oqu(i.lcZ(5,5,"ALL_PUBLICATIONS.TITLE")),i.xp6(4),i.Q6J("disabled",0===t.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(10,7,"ALL_PUBLICATIONS.REMOVE")," "),i.xp6(3),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading))},directives:[Zi,ip,zt,rM,b.O5,tp,vn],pipes:[gt],styles:[".publications-icon[_ngcontent-%COMP%]{height:32px;width:32px}"]}),n})();function ZO(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",11),2&n){const e=i.oxw(2);i.Q6J("publications",e.publications)("selection",e.selected)("tableId",e.tableId)("routerPath","/my-publications")}}function $O(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",6),i.TgZ(2,"perun-web-apps-refresh-button",7),i.NdJ("refresh",function(){return i.CHM(e),i.oxw().refreshTable()}),i.qZA(),i.TgZ(3,"button",8),i.NdJ("click",function(){return i.CHM(e),i.oxw().removePublication()}),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"perun-web-apps-publication-filter",9),i.NdJ("filteredPublication",function(s){return i.CHM(e),i.oxw().filterPublication(s)}),i.qZA(),i.qZA(),i.YNc(7,ZO,1,4,"perun-web-apps-publications-list",10),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.Q6J("disabled",0===e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(5,3,"MY_PUBLICATIONS.REMOVE")," "),i.xp6(3),i.Q6J("ngIf",!e.loading)}}function WO(n,o){1&n&&i._UZ(0,"mat-spinner",12)}let JO=(()=>{class n{constructor(e,t,s,a){this.route=e,this.cabinetService=t,this.dialog=s,this.authResolver=a,this.selected=new zi(!0,[]),this.tableId="68",this.filter={title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null}}ngOnInit(){this.initLoading=!0,this.authResolver.getPerunPrincipal().subscribe(e=>{this.authorId=e.userId,this.initLoading=!1,this.refreshTable()})}removePublication(){const e=Qn();e.width="500px",e.data=this.selected.selected,this.dialog.open(oM,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(this.filter.title,null,null,null,null,this.filter.category,+this.filter.startYear,+this.filter.endYear,this.authorId).subscribe(e=>{this.publications=e,this.loading=!1})}filterPublication(e){this.filter=e,this.refreshTable()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ys),i.Y36(ai),i.Y36(on),i.Y36(Pi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-my-publications-page"]],decls:9,vars:5,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"title-icon"],[1,"ml-3","mt-1"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"mt-4"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"filteredPublication"],[3,"publications","selection","tableId","routerPath",4,"ngIf"],[3,"publications","selection","tableId","routerPath"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"mat-icon",2),i._uU(3,"local_library"),i.qZA(),i.TgZ(4,"span",3),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,$O,8,5,"div",4),i.YNc(8,WO,1,0,"mat-spinner",5),i.qZA()),2&e&&(i.xp6(5),i.Oqu(i.lcZ(6,3,"MY_PUBLICATIONS.TITLE")),i.xp6(2),i.Q6J("ngIf",!t.initLoading),i.xp6(1),i.Q6J("ngIf",t.loading||t.initLoading))},directives:[Zi,b.O5,ip,zt,rM,tp,vn],pipes:[gt],styles:[""]}),n})(),QO=(()=>{class n{constructor(e){this.router=e}importPublications(){this.router.navigate(["create-publication","import"])}createPublication(){this.router.navigate(["create-publication","create"])}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(yi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-create-publication-page"]],decls:32,vars:21,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"add-icon","mr-1"],[1,"card-container"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"d-flex","flex-column"],["mat-flat-button","","color","accent",1,"align-self-end","action-button",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"span"),i.TgZ(3,"mat-icon",2),i._uU(4,"add_box"),i.qZA(),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.TgZ(7,"div",3),i.TgZ(8,"div",4),i.TgZ(9,"mat-card",5),i.TgZ(10,"mat-card-title"),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.TgZ(13,"mat-card-content",6),i.TgZ(14,"div"),i._uU(15),i.ALo(16,"translate"),i.qZA(),i.TgZ(17,"button",7),i.NdJ("click",function(){return t.importPublications()}),i._uU(18),i.ALo(19,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(20,"div",4),i.TgZ(21,"mat-card",5),i.TgZ(22,"mat-card-title"),i._uU(23),i.ALo(24,"translate"),i.qZA(),i.TgZ(25,"mat-card-content",6),i.TgZ(26,"div"),i._uU(27),i.ALo(28,"translate"),i.qZA(),i.TgZ(29,"button",7),i.NdJ("click",function(){return t.createPublication()}),i._uU(30),i.ALo(31,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(5),i.hij(" ",i.lcZ(6,7,"CREATE_PUBLICATION.TITLE")," "),i.xp6(6),i.hij(" ",i.lcZ(12,9,"CREATE_PUBLICATION.IMPORT_TITLE")," "),i.xp6(4),i.hij(" ",i.lcZ(16,11,"CREATE_PUBLICATION.IMPORT_HINT")," "),i.xp6(3),i.hij(" ",i.lcZ(19,13,"CREATE_PUBLICATION.IMPORT")," "),i.xp6(5),i.hij(" ",i.lcZ(24,15,"CREATE_PUBLICATION.CREATE_TITLE")," "),i.xp6(4),i.hij(" ",i.lcZ(28,17,"CREATE_PUBLICATION.CREATE_HINT")," "),i.xp6(3),i.hij(" ",i.lcZ(31,19,"CREATE_PUBLICATION.CREATE")," "))},directives:[Zi,sE,nE,iE,zt],pipes:[gt],styles:[".add-icon[_ngcontent-%COMP%]{font-size:32px;vertical-align:text-top}.card-container[_ngcontent-%COMP%]{margin:0 -1rem}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top;max-width:250px;max-height:200px}"]}),n})();const XO=["groupFilterInput"];let eH=(()=>{class n{constructor(){this.filter=new i.vpe,this.autoFocus=!1}ngOnInit(){this.autoFocus&&this.groupFilterInput.nativeElement.focus(),co(this.groupFilterInput.nativeElement,"keyup").pipe((0,nt.U)(e=>e.target.value),(0,gc.b)(500),ya()).subscribe(e=>{this.filter.emit(e)})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(e,t){if(1&e&&i.Gf(XO,7),2&e){let s;i.iGM(s=i.CRH())&&(t.groupFilterInput=s.first)}},inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:4,vars:3,consts:[[1,"filter-field","mr-2"],["matInput","",3,"placeholder"],["groupFilterInput",""]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i._UZ(1,"input",1,2),i.ALo(3,"translate"),i.qZA()),2&e&&(i.xp6(1),i.s9C("placeholder",i.lcZ(3,1,t.placeholder)))},directives:[un,rr],pipes:[gt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),n})();function tH(n,o){1&n&&i._UZ(0,"th",20)}function iH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",21),i.TgZ(1,"mat-checkbox",22),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function nH(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"AUTHORS_LIST.ID")))}function sH(n,o){if(1&n&&(i.TgZ(0,"td",24),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function oH(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.NAME")," "))}function rH(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.ALo(2,"userFullName"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(i.lcZ(2,1,e))}}function aH(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.ORGANIZATION")," "))}function cH(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Oqu(t.parseAttribute(e,"organization"))}}function lH(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.EMAIL")," "))}function uH(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Oqu(t.parseAttribute(e,"preferredMail"))}}function dH(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.NUMBER_OF_PUBLICATIONS")," "))}function hH(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.authorships.length.toString())}}function fH(n,o){1&n&&i._UZ(0,"th",26)}function pH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"button",27),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().onAddClick(a)}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.qZA()}2&n&&(i.xp6(2),i.hij(" ",i.lcZ(3,1,"AUTHORS_LIST.ADD")," "))}function gH(n,o){1&n&&i._UZ(0,"th",26)}function mH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"button",28),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().onRemoveClick(a)}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.qZA()}2&n&&(i.xp6(2),i.hij(" ",i.lcZ(3,1,"AUTHORS_LIST.REMOVE")," "))}function _H(n,o){1&n&&i._UZ(0,"tr",29)}const jE=function(n){return["/authors",n]};function yH(n,o){if(1&n&&i._UZ(0,"tr",30),2&n){const e=o.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disableRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",t.disableRouting?null:i.VKq(4,jE,e.id))("routerLink",t.disableRouting?null:i.VKq(6,jE,e.id))}}function bH(n,o){1&n&&(i.TgZ(0,"app-alert",31),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function wH(n,o){1&n&&(i.TgZ(0,"app-alert",31),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.NO_AUTHORS"),"\n"))}let aM=(()=>{class n{constructor(){this.authors=[],this.displayedColumns=["select","id","name","organization","email","numberOfPublications","add","remove"],this.disableRouting=!1,this.pageSizeOptions=Kd,this.addAuthor=new i.vpe,this.removeAuthor=new i.vpe}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Fc(this.authors),this.setDataSource(),this.dataSource.filter=this.filterValue}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getSortDataForColumn(e,t){var s;switch(t){case"id":return e.id.toString();case"name":return e.lastName?e.lastName:null!==(s=e.firstName)&&void 0!==s?s:"";case"organization":return qf(e,"organization");case"email":return qf(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}getFilterDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return function M1(n){let o="";return null!==n.firstName&&(o+=n.firstName+" "),null!==n.middleName&&(o+=n.middleName+" "),null!==n.lastName&&(o+=n.lastName+" "),o.endsWith(" ")&&(o=o.substring(0,o.length-1)),o}(e);case"organization":return qf(e,"organization");case"email":return qf(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}getExportDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return vk(e);case"organization":return qf(e,"organization");case"email":return qf(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}exportData(e){Kf(Gf(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),e)}parseAttribute(e,t){let s="";return e.attributes&&e.attributes.forEach(a=>{a.friendlyName===t&&(s=a.value)}),s}checkboxLabel(e){return`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`}onAddClick(e){this.addAuthor.emit(e)}onRemoveClick(e){this.removeAuthor.emit(e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>l_(e,t,this.displayedColumns,this.getFilterDataForColumn,this),this.dataSource.sortData=(e,t)=>Vf(e,t,this.getSortDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-authors-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(vo,7),i.Gf(or,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{authors:"authors",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",disableRouting:"disableRouting",reloadTable:"reloadTable",selection:"selection",pageSizeOptions:"pageSizeOptions"},outputs:{addAuthor:"addAuthor",removeAuthor:"removeAuthor"},features:[i.TTD],decls:31,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","numberOfPublications"],["matColumnDef","add"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","remove"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink","cursor-pointer",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-cell",""],["color","accent","mat-flat-button","",1,"ml-2",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,tH,1,0,"th",4),i.YNc(5,iH,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,nH,3,3,"th",7),i.YNc(8,sH,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,oH,3,3,"th",7),i.YNc(11,rH,3,3,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,aH,3,3,"th",7),i.YNc(14,cH,2,1,"td",10),i.BQk(),i.ynx(15,12),i.YNc(16,lH,3,3,"th",7),i.YNc(17,uH,2,1,"td",10),i.BQk(),i.ynx(18,13),i.YNc(19,dH,3,3,"th",7),i.YNc(20,hH,2,1,"td",10),i.BQk(),i.ynx(21,14),i.YNc(22,fH,1,0,"th",15),i.YNc(23,pH,4,3,"td",8),i.BQk(),i.ynx(24,16),i.YNc(25,gH,1,0,"th",15),i.YNc(26,mH,4,3,"td",8),i.BQk(),i.YNc(27,_H,1,0,"tr",17),i.YNc(28,yH,1,8,"tr",18),i.qZA(),i.qZA(),i.qZA(),i.YNc(29,bH,3,3,"app-alert",19),i.YNc(30,wH,3,3,"app-alert",19)),2&e&&(i.Q6J("hidden",0===t.authors.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(25),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0!==t.authors.length&&0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("ngIf",0===t.authors.length))},directives:[or,Pa,vo,Fr,Hr,zr,Or,Nr,pu,ep,zt,Oc,Hc,La,Ia,zE,S,b.O5,Oa],pipes:[gt,xA],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();function AH(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const vH=function(){return["id","name","organization","email","numberOfPublications"]};function CH(n,o){if(1&n&&i._UZ(0,"perun-web-apps-authors-list",9),2&n){const e=i.oxw();i.Q6J("authors",e.authors)("displayedColumns",i.DdM(4,vH))("filterValue",e.filterValue)("tableId",e.tableId)}}let TH=(()=>{class n{constructor(e){this.cabinetService=e,this.filterValue="",this.tableId="67"}ngOnInit(){this.refreshTable()}refreshTable(){this.loading=!0,this.cabinetService.findAllAuthors().subscribe(e=>{this.authors=e,this.loading=!1})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-authors-page"]],decls:11,vars:6,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"title-icon"],[1,"ml-3","mt-1"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"authors","displayedColumns","filterValue","tableId",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"authors","displayedColumns","filterValue","tableId"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"mat-icon",2),i._uU(3,"assignment_ind"),i.qZA(),i.TgZ(4,"span",3),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.TgZ(7,"perun-web-apps-refresh-button",4),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.TgZ(8,"perun-web-apps-debounce-filter",5),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(9,AH,1,0,"mat-spinner",6),i.YNc(10,CH,1,5,"perun-web-apps-authors-list",7),i.qZA()),2&e&&(i.xp6(5),i.Oqu(i.lcZ(6,4,"AUTHORS_PAGE.TITLE")),i.xp6(3),i.Q6J("placeholder","AUTHORS_PAGE.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Zi,ip,eH,b.O5,vn,aM],pipes:[gt],styles:[""]}),n})();function MH(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function SH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"mat-form-field"),i._UZ(3,"input",6),i.ALo(4,"translate"),i.TgZ(5,"mat-error"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.qZA(),i.TgZ(8,"mat-form-field"),i._UZ(9,"input",6),i.ALo(10,"translate"),i.TgZ(11,"mat-error"),i._uU(12),i.ALo(13,"translate"),i.qZA(),i.qZA(),i.TgZ(14,"p",7),i._uU(15),i.ALo(16,"translate"),i.qZA(),i.qZA(),i.TgZ(17,"div",8),i.TgZ(18,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.TgZ(21,"div",10),i.ALo(22,"translate"),i.TgZ(23,"button",11),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.s9C("placeholder",i.lcZ(4,12,"DIALOGS.ADD_CATEGORY.NAME")),i.Q6J("formControl",e.nameCtrl),i.xp6(3),i.hij(" ",i.lcZ(7,14,"DIALOGS.ADD_CATEGORY.FILL_NAME")," "),i.xp6(3),i.s9C("placeholder",i.lcZ(10,16,"DIALOGS.ADD_CATEGORY.RANK")),i.Q6J("formControl",e.rankCtrl),i.xp6(3),i.hij(" ",i.lcZ(13,18,"DIALOGS.ADD_CATEGORY.FILL_RANK")," "),i.xp6(3),i.Oqu(i.lcZ(16,20,"DIALOGS.ADD_CATEGORY.RANK_HINT")),i.xp6(4),i.hij(" ",i.lcZ(20,22,"DIALOGS.ADD_CATEGORY.CANCEL")," "),i.xp6(2),i.s9C("matTooltip",i.lcZ(22,24,"DIALOGS.ADD_CATEGORY.TOOLTIP")),i.Q6J("matTooltipDisabled",e.nameCtrl.valid&&e.rankCtrl.valid),i.xp6(2),i.Q6J("disabled",e.nameCtrl.invalid||e.rankCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(25,26,"DIALOGS.ADD_CATEGORY.CREATE")," ")}}let kH=(()=>{class n{constructor(e,t,s,a){this.dialogRef=e,this.notificator=t,this.cabinetManagerService=s,this.translate=a,a.get("DIALOGS.ADD_CATEGORY.SUCCESS").subscribe(r=>this.successMessage=r)}ngOnInit(){this.nameCtrl=new Di(null,[Ni.required,Ni.pattern("^[\\w.-]+( [\\w.-]+)*$"),Ni.maxLength(128)]),this.rankCtrl=new Di(null,[Ni.required,Ni.pattern("^[0-9]+(\\.[0-9])?$")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.cabinetManagerService.createCategoryCat({category:{name:this.nameCtrl.value,rank:this.rankCtrl.value}}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn),i.Y36(Nn),i.Y36(ai),i.Y36(Fi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-category-dialog"]],decls:6,vars:5,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","formControl"],[1,"mt-2"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,MH,1,0,"mat-spinner",2),i.YNc(5,SH,26,28,"div",3),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,3,"DIALOGS.ADD_CATEGORY.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Vs,b.O5,vn,qs,un,rr,An,sr,Ss,nr,ka,hs,zt,uu],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function EH(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function DH(n,o){1&n&&i._UZ(0,"th",14)}function xH(n,o){if(1&n&&(i.TgZ(0,"td",15),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function RH(n,o){1&n&&i._UZ(0,"tr",16)}function PH(n,o){1&n&&i._UZ(0,"tr",17)}function LH(n,o){if(1&n&&(i.TgZ(0,"div",6),i.TgZ(1,"p"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",7),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"table",8),i.ynx(8,9),i.YNc(9,DH,1,0,"th",10),i.YNc(10,xH,2,1,"td",11),i.BQk(),i.YNc(11,RH,1,0,"tr",12),i.YNc(12,PH,1,0,"tr",13),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,5,"DIALOGS.REMOVE_CATEGORY.DESCRIPTION")," "),i.xp6(3),i.hij(" ",i.lcZ(6,7,"DIALOGS.REMOVE_CATEGORY.ASK")," "),i.xp6(2),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns)}}function IH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",18),i.TgZ(1,"button",19),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"button",20),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,3,"DIALOGS.REMOVE_CATEGORY.CANCEL")," "),i.xp6(2),i.Q6J("disabled",e.loading),i.xp6(1),i.hij(" ",i.lcZ(6,5,"DIALOGS.REMOVE_CATEGORY.DELETE")," ")}}let OH=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.translate=a,this.cabinetManagerService=r,this.displayedColumns=["name"],this.categories=[]}ngOnInit(){this.dataSource=new Fc(this.data),this.categories=this.data}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.categories.length?this.cabinetManagerService.deleteCategory(this.categories.pop().id).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):this.translate.get("DIALOGS.REMOVE_CATEGORY.SUCCESS").subscribe(e=>{this.loading=!1,this.notificator.showSuccess(e),this.dialogRef.close(!0)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn),i.Y36(yo),i.Y36(Nn),i.Y36(Fi),i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-category-dialog"]],decls:7,vars:6,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,EH,1,0,"mat-spinner",2),i.YNc(5,LH,13,9,"div",3),i.YNc(6,IH,7,7,"div",4),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,4,"DIALOGS.REMOVE_CATEGORY.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Vs,b.O5,vn,qs,Pa,Fr,Hr,zr,Or,Nr,Oc,Hc,La,Ia,hs,zt],pipes:[gt],styles:[""]}),n})();function HH(n,o){if(1&n&&(i._UZ(0,"input",3),i.ALo(1,"translate")),2&n){const e=i.oxw();i.s9C("placeholder",i.lcZ(1,2,e.placeholder)),i.Q6J("formControl",e.formControl)}}function FH(n,o){if(1&n&&(i._UZ(0,"input",4),i.ALo(1,"translate")),2&n){const e=i.oxw();i.s9C("placeholder",i.lcZ(1,2,e.placeholder)),i.Q6J("formControl",e.formControl)}}let m_=(()=>{class n{constructor(){this.filter=new i.vpe,this.autoFocus=!1,this.formControl=new Di}ngOnInit(){this.formControl.valueChanges.subscribe(e=>{let t=e.trim();t=t.toLowerCase(),this.filter.emit(t)})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","mr-2"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.YNc(1,HH,2,4,"input",1),i.YNc(2,FH,2,4,"input",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.autoFocus),i.xp6(1),i.Q6J("ngIf",!t.autoFocus))},directives:[un,b.O5,rr,An,oO,Ss,nr],pipes:[gt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:initial!important}"]}),n})();function zH(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function NH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"mat-form-field"),i._UZ(3,"input",6),i.ALo(4,"translate"),i.TgZ(5,"mat-error"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.qZA(),i.TgZ(8,"p",7),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.TgZ(11,"div",8),i.TgZ(12,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.TgZ(15,"div",10),i.ALo(16,"translate"),i.TgZ(17,"button",11),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(18),i.ALo(19,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.s9C("placeholder",i.lcZ(4,9,"DIALOGS.UPDATE_RANK.RANK")),i.Q6J("formControl",e.rankCtrl),i.xp6(3),i.hij(" ",i.lcZ(7,11,"DIALOGS.UPDATE_RANK.FILL_RANK")," "),i.xp6(3),i.Oqu(i.lcZ(10,13,"DIALOGS.UPDATE_RANK.RANK_HINT")),i.xp6(4),i.hij(" ",i.lcZ(14,15,"DIALOGS.UPDATE_RANK.CANCEL")," "),i.xp6(2),i.s9C("matTooltip",i.lcZ(16,17,"DIALOGS.UPDATE_RANK.TOOLTIP")),i.Q6J("matTooltipDisabled",e.rankCtrl.valid),i.xp6(2),i.Q6J("disabled",e.rankCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(19,19,"DIALOGS.UPDATE_RANK.UPDATE")," ")}}let BH=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.cabinetManagerService=a,this.translate=r,this.categoryName="",r.get("DIALOGS.UPDATE_RANK.SUCCESS").subscribe(c=>this.successMessage=c)}ngOnInit(){this.categoryName=this.data.name,this.rankCtrl=new Di(this.data.rank,[Ni.required,Ni.pattern("^[0-9]+(\\.[0-9])?$")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.rank=this.rankCtrl.value,this.cabinetManagerService.updateCategory({category:this.data}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn),i.Y36(yo),i.Y36(Nn),i.Y36(ai),i.Y36(Fi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-update-rank-dialog"]],decls:6,vars:6,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","formControl"],[1,"mt-2"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,zH,1,0,"mat-spinner",2),i.YNc(5,NH,20,21,"div",3),i.qZA()),2&e&&(i.xp6(2),i.AsE("",i.lcZ(3,4,"DIALOGS.UPDATE_RANK.TITLE"),"",t.categoryName,""),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Vs,b.O5,vn,qs,un,rr,An,sr,Ss,nr,ka,hs,zt,uu],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function YH(n,o){1&n&&i._UZ(0,"th",15)}function jH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",16),i.TgZ(1,"mat-checkbox",17),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.itemSelectionToggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function UH(n,o){1&n&&(i.TgZ(0,"th",18),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_LIST.ID")," "))}function VH(n,o){if(1&n&&(i.TgZ(0,"td",19),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function qH(n,o){1&n&&(i.TgZ(0,"th",18),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_LIST.NAME")," "))}function GH(n,o){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function KH(n,o){1&n&&(i.TgZ(0,"th",18),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_LIST.RANK")," "))}function ZH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",22),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().updateCategory(s)}),i.TgZ(1,"mat-icon"),i._uU(2,"edit"),i.qZA(),i.qZA()}}function $H(n,o){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.YNc(2,ZH,3,0,"button",21),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.hij(" ",e.rank," "),i.xp6(1),i.Q6J("ngIf",t.editAuth)}}function WH(n,o){1&n&&i._UZ(0,"tr",23)}function JH(n,o){1&n&&i._UZ(0,"tr",24)}function QH(n,o){1&n&&(i.TgZ(0,"app-alert",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_PAGE.NO_FILTER_RESULTS"),"\n"))}let XH=(()=>{class n{constructor(e,t,s,a){this.guiAuthResolver=e,this.tableCheckbox=t,this.dialog=s,this.authResolver=a,this.categories=[],this.selection=new zi(!0,[]),this.displayedColumns=["select","id","name","rank"],this.pageSizeOptions=Kd,this.refreshTable=new i.vpe,this.editAuth=!1}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Fc(this.categories),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return e.name;case"rank":return e.rank.toString();default:return e[t]}}exportData(e){Kf(Gf(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>l_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>Vf(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.editAuth=this.authResolver.isCabinetAdmin(),this.dataSource.paginator=this.child.paginator}itemSelectionToggle(e){this.selection.toggle(e)}updateCategory(e){const t=Qn();t.width="400px",t.data=e,this.dialog.open(BH,t).afterClosed().subscribe(a=>{a&&this.refreshTable.emit()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(eo),i.Y36(lA),i.Y36(on),i.Y36(eo))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-categories-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(vo,7),i.Gf(or,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{categories:"categories",selection:"selection",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions"},outputs:{refreshTable:"refreshTable"},features:[i.TTD],decls:18,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","rank"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,YH,1,0,"th",4),i.YNc(5,jH,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,UH,3,3,"th",7),i.YNc(8,VH,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,qH,3,3,"th",7),i.YNc(11,GH,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,KH,3,3,"th",7),i.YNc(14,$H,3,2,"td",10),i.BQk(),i.YNc(15,WH,1,0,"tr",12),i.YNc(16,JH,1,0,"tr",13),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,QH,3,3,"app-alert",14)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.categories.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(13),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.categories.length))},directives:[or,Pa,vo,Fr,Hr,zr,Or,Nr,pu,ep,b.O5,zt,Zi,Oc,Hc,La,Ia,Oa],pipes:[gt],styles:[""]}),n})();function e2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",8),i.NdJ("click",function(){return i.CHM(e),i.oxw().addCategory()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_PAGE.CREATE")," "))}function t2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().removeCategory()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",!e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(2,2,"CATEGORIES_PAGE.REMOVE")," ")}}function n2(n,o){1&n&&i._UZ(0,"mat-spinner",10)}const s2=function(){return["select","id","name","rank"]},o2=function(){return["name","rank"]};function r2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-categories-list",11),i.NdJ("refreshTable",function(){return i.CHM(e),i.oxw().refreshTable()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("categories",e.categories)("filterValue",e.filterValue)("displayedColumns",e.removeAuth?i.DdM(5,s2):i.DdM(6,o2))("tableId",e.tableId)("selection",e.selected)}}let a2=(()=>{class n{constructor(e,t,s){this.cabinetManagerService=e,this.dialog=t,this.guiAuthResolver=s,this.categories=[],this.selected=new zi(!0,[]),this.filterValue="",this.tableId="5"}ngOnInit(){this.setAuth(),this.refreshTable()}setAuth(){this.removeAuth=this.guiAuthResolver.isAuthorized("deleteCategory_Category_policy",[]),this.addAuth=this.guiAuthResolver.isAuthorized("createCategory_Category_policy",[])}refreshTable(){this.loading=!0,this.cabinetManagerService.getCategories().subscribe(e=>{this.categories=e,this.loading=!1})}applyFilter(e){this.filterValue=e}addCategory(){const e=Qn();e.width="400px",e.data={},this.dialog.open(kH,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}removeCategory(){const e=Qn();e.width="400px",e.data=this.selected.selected,this.dialog.open(OH,e).afterClosed().subscribe(s=>{s&&(this.selected.clear(),this.refreshTable())})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai),i.Y36(on),i.Y36(eo))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-categories-page"]],decls:10,vars:8,consts:[[1,"user-theme"],[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"categories","filterValue","displayedColumns","tableId","selection","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"categories","filterValue","displayedColumns","tableId","selection","refreshTable"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"perun-web-apps-refresh-button",2),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.YNc(5,e2,3,3,"button",3),i.YNc(6,t2,3,4,"button",4),i.TgZ(7,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(8,n2,1,0,"mat-spinner",6),i.YNc(9,r2,1,7,"perun-web-apps-categories-list",7),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,6,"CATEGORIES_PAGE.TITLE")),i.xp6(3),i.Q6J("ngIf",t.addAuth),i.xp6(1),i.Q6J("ngIf",t.removeAuth),i.xp6(1),i.Q6J("placeholder","CATEGORIES_PAGE.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",t.categories&&!t.loading))},directives:[ip,b.O5,zt,m_,vn,XH],pipes:[gt],styles:[""]}),n})();function c2(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.ID")," "))}function l2(n,o){if(1&n&&(i.TgZ(0,"td",15),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function u2(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.FRIENDLY_NAME")," "))}function d2(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.friendlyName)}}function h2(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.LOGIN_NAMESPACE")," "))}function f2(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ","empty"===e.loginNamespace?"":e.loginNamespace," ")}}function p2(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.URL")," "))}function g2(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu("empty"===e.url?"":e.url)}}function m2(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.TYPE")," "))}function _2(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu("empty"===e.type?"":e.type)}}function y2(n,o){1&n&&i._UZ(0,"tr",17)}function b2(n,o){1&n&&i._UZ(0,"tr",18)}function w2(n,o){1&n&&(i.TgZ(0,"app-alert",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let A2=(()=>{class n{constructor(){this.publicationSystems=[],this.displayedColumns=["id","friendlyName","loginNamespace","url","type"],this.pageSizeOptions=Kd}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Fc(this.publicationSystems),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"friendlyName":return e.friendlyName;case"url":return e.url;case"loginNamespace":return e.loginNamespace;case"type":return e.type;default:return e[t]}}exportData(e){Kf(Gf(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>l_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>Vf(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-systems-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(vo,7),i.Gf(or,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{publicationSystems:"publicationSystems",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions"},features:[i.TTD],decls:21,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","friendlyName"],["mat-cell","",4,"matCellDef"],["matColumnDef","loginNamespace"],["matColumnDef","url"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,c2,3,3,"th",4),i.YNc(5,l2,2,1,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,u2,3,3,"th",4),i.YNc(8,d2,2,1,"td",7),i.BQk(),i.ynx(9,8),i.YNc(10,h2,3,3,"th",4),i.YNc(11,f2,2,1,"td",7),i.BQk(),i.ynx(12,9),i.YNc(13,p2,3,3,"th",4),i.YNc(14,g2,2,1,"td",7),i.BQk(),i.ynx(15,10),i.YNc(16,m2,3,3,"th",4),i.YNc(17,_2,2,1,"td",7),i.BQk(),i.YNc(18,y2,1,0,"tr",11),i.YNc(19,b2,1,0,"tr",12),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,w2,3,3,"app-alert",13)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.publicationSystems.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(16),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.publicationSystems.length))},directives:[or,Pa,vo,Fr,Hr,zr,ep,Or,Nr,Oc,Hc,La,Ia,b.O5,Oa],pipes:[gt],styles:[""]}),n})();function v2(n,o){1&n&&i._UZ(0,"mat-spinner",6)}function C2(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publication-systems-list",7),2&n){const e=i.oxw();i.Q6J("publicationSystems",e.publicationSystems)("filterValue",e.filterValue)("tableId",e.tableId)}}let T2=(()=>{class n{constructor(e){this.cabinetManagerService=e,this.publicationSystems=[],this.filterValue="",this.tableId="5"}ngOnInit(){this.refreshTable()}refreshTable(){this.loading=!0,this.cabinetManagerService.getPublicationSystems().subscribe(e=>{this.publicationSystems=e,this.loading=!1})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-systems-page"]],decls:8,vars:6,consts:[[1,"user-theme"],[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"publicationSystems","filterValue","tableId",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"publicationSystems","filterValue","tableId"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"perun-web-apps-refresh-button",2),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.TgZ(5,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(6,v2,1,0,"mat-spinner",4),i.YNc(7,C2,1,3,"perun-web-apps-publication-systems-list",5),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,4,"PUBLICATION_SYSTEMS_PAGE.TITLE")),i.xp6(3),i.Q6J("placeholder","PUBLICATION_SYSTEMS_PAGE.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",t.publicationSystems&&!t.loading))},directives:[ip,m_,b.O5,vn,A2],pipes:[gt],styles:[""]}),n})();function M2(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",11),2&n){const e=i.oxw(2);i.Q6J("publications",e.publications)("selection",e.selected)("tableId",e.tableId)("routerPath","/authors/"+e.author.id+"/publication")}}function S2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h5"),i._uU(2),i.ALo(3,"userFullName"),i.ALo(4,"translate"),i.qZA(),i.TgZ(5,"div",6),i.TgZ(6,"perun-web-apps-refresh-button",7),i.NdJ("refresh",function(){return i.CHM(e),i.oxw().refreshTable()}),i.qZA(),i.TgZ(7,"button",8),i.NdJ("click",function(){return i.CHM(e),i.oxw().removePublication()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"perun-web-apps-publication-filter",9),i.NdJ("filteredPublication",function(s){return i.CHM(e),i.oxw().filterPublication(s)}),i.qZA(),i.qZA(),i.YNc(11,M2,1,4,"perun-web-apps-publications-list",10),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.AsE("",i.lcZ(3,5,e.author),"",i.lcZ(4,7,"AUTHOR_DETAIL.TITLE"),""),i.xp6(5),i.Q6J("disabled",0===e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(9,9,"AUTHOR_DETAIL.REMOVE")," "),i.xp6(3),i.Q6J("ngIf",!e.loading)}}function k2(n,o){1&n&&i._UZ(0,"mat-spinner",12)}let E2=(()=>{class n{constructor(e,t,s,a){this.route=e,this.cabinetService=t,this.userService=s,this.dialog=a,this.selected=new zi(!0,[]),this.tableId="68"}ngOnInit(){this.initLoading=!0,this.route.params.subscribe(e=>{this.userService.getUserById(e.authorId).subscribe(s=>{this.author=s,this.initLoading=!1,this.refreshTable()})})}removePublication(){const e=Qn();e.width="500px",e.data=this.selected.selected,this.dialog.open(oM,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(null,null,null,null,null,null,null,null,this.author.id).subscribe(e=>{this.publications=e,this.loading=!1})}filterPublication(e){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(e.title,null,null,null,null,e.category,+e.startYear,+e.endYear,this.author.id).subscribe(t=>{this.publications=t,this.loading=!1})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ys),i.Y36(ai),i.Y36(gs),i.Y36(on))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-author-detail"]],decls:9,vars:5,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"title-icon"],[1,"ml-3","mt-1"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"mt-3"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"filteredPublication"],[3,"publications","selection","tableId","routerPath",4,"ngIf"],[3,"publications","selection","tableId","routerPath"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"mat-icon",2),i._uU(3,"assignment_ind"),i.qZA(),i.TgZ(4,"span",3),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,S2,12,11,"div",4),i.YNc(8,k2,1,0,"mat-spinner",5),i.qZA()),2&e&&(i.xp6(5),i.Oqu(i.lcZ(6,3,"AUTHORS_PAGE.TITLE")),i.xp6(2),i.Q6J("ngIf",!t.initLoading),i.xp6(1),i.Q6J("ngIf",t.loading||t.initLoading))},directives:[Zi,b.O5,ip,zt,rM,tp,vn],pipes:[gt,xA],styles:[""]}),n})();function D2(n,o){1&n&&i._UZ(0,"mat-spinner",2)}function x2(n,o){if(1&n&&(i.TgZ(0,"h3",15),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.publication.title)}}function R2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",16),i.NdJ("click",function(){i.CHM(e);const s=i.oxw(2);return s.editing=!s.editing}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",17),i._uU(3,"edit"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"PUBLICATION_DETAIL.LIST.EDIT"))}function P2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.LIST.EMPTY_ERROR")," "))}function L2(n,o){if(1&n&&(i.TgZ(0,"mat-form-field",18),i._UZ(1,"textarea",19),i.YNc(2,P2,3,3,"mat-error",1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("formControl",e.titleControl),i.xp6(1),i.Q6J("ngIf",e.titleControl.invalid)}}function I2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",20),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).save()}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",17),i._uU(3,"save"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.s9C("matTooltip",i.lcZ(1,2,"PUBLICATION_DETAIL.LIST.SAVE")),i.Q6J("disabled",e.titleControl.invalid)}}function O2(n,o){1&n&&i._UZ(0,"th",21)}function H2(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij("",e.key,":")}}function F2(n,o){1&n&&i._UZ(0,"th",21)}function z2(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.TgZ(2,"span",24),i._uU(3),i.ALo(4,"translate"),i.qZA(),i._uU(5),i.TgZ(6,"span",24),i._uU(7),i.ALo(8,"translate"),i.qZA(),i._uU(9),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(2);i.xp6(1),i.hij(" ",e.value," / "),i.xp6(2),i.hij("",i.lcZ(4,5,"PUBLICATION_DETAIL.LIST.EXT_ID"),":"),i.xp6(2),i.hij(" ",t.publication.externalId," "),i.xp6(2),i.hij("",i.lcZ(8,7,"PUBLICATION_DETAIL.LIST.SYSTEM"),":"),i.xp6(2),i.hij(" ",t.publication.pubSystemName," ")}}function N2(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.ALo(2,"date"),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.hij(" ",i.xi3(2,1,e.value,"dd/MM/yyyy")," ")}}function B2(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.hij(" ",e.value," ")}}function Y2(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.qZA()),2&n){const e=i.oxw(3).$implicit;i.xp6(1),i.hij(" ",e.value," ")}}function j2(n,o){if(1&n&&(i.TgZ(0,"span"),i.YNc(1,Y2,2,1,"span",1),i.qZA()),2&n){const e=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngIf","Id / Origin"!==e.key&&"Create date"!==e.key&&"Created by"!==e.key)}}function U2(n,o){1&n&&(i.TgZ(0,"span"),i._uU(1," - "),i.qZA())}function V2(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,j2,2,1,"span",1),i.YNc(2,U2,2,0,"span",1),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Q6J("ngIf",null!==e.value&&""!==e.value),i.xp6(1),i.Q6J("ngIf",null===e.value||""===e.value)}}function q2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",26),i.NdJ("click",function(){return i.CHM(e),i.MAs(7).open()}),i.TgZ(1,"mat-label"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i._UZ(4,"input",27),i._UZ(5,"mat-datepicker-toggle",28),i.TgZ(6,"mat-datepicker",29,30),i.NdJ("yearSelected",function(s){i.CHM(e);const a=i.MAs(7);return i.oxw(4).chosenYearHandler(s,a)}),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(7),t=i.oxw(4);i.xp6(2),i.Oqu(i.lcZ(3,5,"PUBLICATION_DETAIL.LIST.YEAR")),i.xp6(2),i.Q6J("max",t.maxYear)("matDatepicker",e)("formControl",t.yearControl),i.xp6(1),i.Q6J("for",e)}}function G2(n,o){if(1&n&&(i.TgZ(0,"mat-option",33),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e.name),i.xp6(1),i.hij(" ",e.name," ")}}function K2(n,o){if(1&n&&(i.TgZ(0,"mat-form-field"),i.TgZ(1,"mat-select",31),i.YNc(2,G2,2,2,"mat-option",32),i.qZA(),i.qZA()),2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("formControl",e.categoryControl),i.xp6(1),i.Q6J("ngForOf",e.categories)}}function Z2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.LIST.RANK_ERROR")," "))}function $2(n,o){if(1&n&&(i.TgZ(0,"mat-form-field"),i._UZ(1,"input",34),i.YNc(2,Z2,3,3,"mat-error",1),i.qZA()),2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("formControl",e.rankControl),i.xp6(1),i.Q6J("ngIf",e.rankControl.invalid)}}function W2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",18),i.TgZ(1,"input",35),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(4).publication.isbn=s}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.isbn)}}function J2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",18),i.TgZ(1,"input",35),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(4).publication.doi=s}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.doi)}}function Q2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",18),i.TgZ(1,"textarea",36),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(4).publication.main=s}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.main)}}function X2(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,q2,8,7,"mat-form-field",25),i.YNc(2,K2,3,2,"mat-form-field",1),i.YNc(3,$2,3,2,"mat-form-field",1),i.YNc(4,W2,2,1,"mat-form-field",6),i.YNc(5,J2,2,1,"mat-form-field",6),i.YNc(6,Q2,2,1,"mat-form-field",6),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Q6J("ngIf","Year"===e.key),i.xp6(1),i.Q6J("ngIf","Category"===e.key),i.xp6(1),i.Q6J("ngIf","Rank"===e.key),i.xp6(1),i.Q6J("ngIf","ISBN / ISSN"===e.key),i.xp6(1),i.Q6J("ngIf","DOI"===e.key),i.xp6(1),i.Q6J("ngIf","Full cite"===e.key)}}function eF(n,o){if(1&n&&(i.TgZ(0,"td",23),i.YNc(1,z2,10,9,"span",1),i.YNc(2,N2,3,4,"span",1),i.YNc(3,B2,2,1,"span",1),i.YNc(4,V2,3,2,"div",1),i.YNc(5,X2,7,6,"div",1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(2);i.xp6(1),i.Q6J("ngIf","Id / Origin"===e.key),i.xp6(1),i.Q6J("ngIf","Create date"===e.key),i.xp6(1),i.Q6J("ngIf","Created by"===e.key),i.xp6(1),i.Q6J("ngIf",!t.editing),i.xp6(1),i.Q6J("ngIf",t.editing)}}function tF(n,o){1&n&&i._UZ(0,"tr",37)}function iF(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"div",3),i.YNc(2,x2,2,1,"h3",4),i.YNc(3,R2,4,3,"button",5),i.YNc(4,L2,3,2,"mat-form-field",6),i.YNc(5,I2,4,4,"button",7),i.qZA(),i.TgZ(6,"table",8),i.ynx(7,9),i.YNc(8,O2,1,0,"th",10),i.YNc(9,H2,2,1,"td",11),i.BQk(),i.ynx(10,12),i.YNc(11,F2,1,0,"th",10),i.YNc(12,eF,6,5,"td",13),i.BQk(),i.YNc(13,tF,1,0,"tr",14),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Q6J("ngIf",!e.editing),i.xp6(1),i.Q6J("ngIf",!e.editing&&!e.publication.locked),i.xp6(1),i.Q6J("ngIf",e.editing),i.xp6(1),i.Q6J("ngIf",e.editing),i.xp6(1),i.Q6J("dataSource",e.dataSource),i.xp6(7),i.Q6J("matRowDefColumns",e.displayedColumns)}}const UE=np,nF={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let sF=(()=>{class n{constructor(e,t,s){this.cabinetService=e,this.notificator=t,this.translate=s,this.categories=[],this.edited=new i.vpe,this.loading=!1,this.dataSource=null,this.displayedColumns=["key","value"],this.isChanging=new zi(!0,[]),this.map=[],this.editing=!1}ngOnInit(){this.loading=!0,this.keys=["Id / Origin","Year","Category","Rank","ISBN / ISSN","DOI","Full cite","Created by","Create date"],this.values=[this.publication.id.toString(),this.publication.year.toString(),this.publication.categoryName,this.publication.rank.toString(),this.publication.isbn,this.publication.doi,this.publication.main,this.publication.createdBy,this.publication.createdDate];for(let e=0;es.name===this.categoryControl.value).id,t={id:this.publication.id,externalId:this.publication.externalId,publicationSystemId:this.publication.publicationSystemId,title:this.titleControl.value,year:this.yearControl.value.year(),main:this.publication.main,isbn:this.publication.isbn,doi:this.publication.doi,categoryId:e,rank:this.rankControl.value,locked:this.publication.locked,createdBy:this.publication.createdBy,createdDate:this.publication.createdDate};this.cabinetService.updatePublication({publication:t}).subscribe(()=>{this.translate.get("PUBLICATION_DETAIL.CHANGE_PUBLICATION_SUCCESS").subscribe(s=>{this.notificator.showSuccess(s),this.edited.emit(!0),this.loading=!1})},()=>this.loading=!1)}chosenYearHandler(e,t){const s=this.yearControl.value;s.year(e.year()),this.yearControl.setValue(s),t.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai),i.Y36(Nn),i.Y36(Fi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-detail-list"]],inputs:{publication:"publication",categories:"categories"},outputs:{edited:"edited"},features:[i._Bn([{provide:Ti,useClass:g_,deps:[Ta]},{provide:Ts,useValue:nF}])],decls:3,vars:2,consts:[["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex"],["class","bigger-font w-75 mr-2",4,"ngIf"],["class","ml-auto","mat-icon-button","","matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["class","w-75",4,"ngIf"],["class","ml-auto","mat-icon-button","","matTooltipPosition","above",3,"disabled","matTooltip","click",4,"ngIf"],["mat-table","",1,"w-100","layout",3,"dataSource"],["matColumnDef","key"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"bigger-font","w-75","mr-2"],["mat-icon-button","","matTooltipPosition","above",1,"ml-auto",3,"matTooltip","click"],[1,"big-icon"],[1,"w-75"],["matInput","",1,"bigger-font","fix-height",3,"formControl"],["mat-icon-button","","matTooltipPosition","above",1,"ml-auto",3,"disabled","matTooltip","click"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],[1,"bold"],["class","mr-2",3,"click",4,"ngIf"],[1,"mr-2",3,"click"],["matInput","","readonly","",1,"disable",3,"max","matDatepicker","formControl"],["matSuffix","",3,"for"],["startView","multi-year",3,"yearSelected"],["sdp",""],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","",3,"formControl"],["matInput","",3,"ngModel","ngModelChange"],["matInput","",1,"fix-height",3,"ngModel","ngModelChange"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.YNc(1,D2,1,0,"mat-spinner",0),i.YNc(2,iF,14,6,"div",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,vn,zt,uu,Zi,un,rr,An,Ss,nr,ka,Pa,Fr,Hr,zr,Or,Nr,bo,p_,iM,Sd,tM,jd,b.sg,Bl,Da,La,Ia],pipes:[gt,b.uU],styles:[".disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.bigger-font[_ngcontent-%COMP%]{font-size:1.5rem}.bold[_ngcontent-%COMP%]{font-weight:700}.big-icon[_ngcontent-%COMP%]{font-size:40px}.fix-height[_ngcontent-%COMP%]{min-height:6ch}.layout[_ngcontent-%COMP%]{table-layout:fixed}"]}),n})();const oF=function(){return["id","name","organization","email","add"]};function rF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-authors-list",15),i.NdJ("addAuthor",function(s){return i.CHM(e),i.oxw(3).addAuthor(s)}),i.qZA()}if(2&n){const e=i.oxw(3);i.Q6J("authors",e.authors)("disableRouting",!0)("tableId",e.tableIdAuthors)("displayedColumns",i.DdM(4,oF))}}function aF(n,o){1&n&&(i.TgZ(0,"app-alert",16),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"DIALOGS.ADD_AUTHORS.SEARCH_INFO")," "))}function cF(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,rF,1,5,"perun-web-apps-authors-list",13),i.YNc(2,aF,3,3,"app-alert",14),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",e.firstSearchDone),i.xp6(1),i.Q6J("ngIf",!e.firstSearchDone)}}function lF(n,o){1&n&&i._UZ(0,"mat-spinner",17)}const uF=function(){return["id","name","organization","email","remove"]};function dF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-authors-list",19),i.NdJ("removeAuthor",function(s){return i.CHM(e),i.oxw(3).removeAuthor(s)}),i.qZA()}if(2&n){const e=i.oxw(3);i.Q6J("reloadTable",e.reloadTable)("authors",e.authorsToAdd)("disableRouting",!0)("tableId",e.tableIdAuthors)("displayedColumns",i.DdM(5,uF))}}function hF(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,dF,1,6,"perun-web-apps-authors-list",18),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",e.firstSearchDone)}}function fF(n,o){1&n&&(i.TgZ(0,"app-alert",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"DIALOGS.ADD_AUTHORS.NO_AUTHORS_TO_ADD")," "))}function pF(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,cF,3,2,"div",6),i.YNc(2,lF,1,0,"mat-spinner",7),i.TgZ(3,"h2",11),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,hF,2,1,"div",6),i.YNc(7,fF,3,3,"app-alert",12),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngIf",!e.searchLoading),i.xp6(1),i.Q6J("ngIf",e.searchLoading),i.xp6(2),i.hij(" ",i.lcZ(5,5,"DIALOGS.ADD_AUTHORS.AUTHORS_TO_ADD")," "),i.xp6(2),i.Q6J("ngIf",e.firstSearchDone&&0!==e.authorsToAdd.length),i.xp6(1),i.Q6J("ngIf",0===e.authorsToAdd.length)}}function gF(n,o){1&n&&i._UZ(0,"mat-spinner",17)}let mF=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.cabinetService=a,this.translate=r,this.loading=!1,this.searchLoading=!1,this.firstSearchDone=!1,this.authors=[],this.alreadyAddedAuthors=[],this.authorsToAdd=[],this.tableIdAuthors="67",this.selection=new zi(!1,[]),this.reloadTable=!1,r.get("DIALOGS.ADD_AUTHORS.SUCCESS_MESSAGE").subscribe(c=>this.successMessage=c),this.publicationId=t.publicationId,this.alreadyAddedAuthors=t.alreadyAddedAuthors}ngOnInit(){this.searchControl=new Di("",[Ni.required,Ni.pattern(".*[\\S]+.*")])}onSearchByString(){this.searchLoading=!0;const e=[...this.alreadyAddedAuthors,...this.authorsToAdd];this.cabinetService.findNewAuthors(this.searchControl.value).subscribe(t=>{t=t.filter(s=>e.map(a=>a.id).indexOf(s.id)<=-1),this.authors=t,this.firstSearchDone=!0,this.searchLoading=!1},()=>{this.searchLoading=!1})}onAdd(){if(this.loading=!0,this.authorsToAdd.length){const e=this.authorsToAdd.pop();this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:this.publicationId,userId:e.id}}).subscribe(()=>{this.onAdd()},()=>this.loading=!1)}else this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)}onCancel(){this.dialogRef.close(!1)}addAuthor(e){this.authors=this.authors.filter(t=>t!==e),this.authorsToAdd.push(e),this.reloadTable=!this.reloadTable}removeAuthor(e){this.authorsToAdd=this.authorsToAdd.filter(t=>t!==e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn),i.Y36(yo),i.Y36(Nn),i.Y36(ai),i.Y36(Fi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-authors-dialog"]],decls:24,vars:20,consts:[[1,"user-theme"],["mat-dialog-title",""],["mat-dialog-content",""],[1,"mr-2","adjust-width"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["mat-dialog-title","",1,"top-margin"],["alert_type","warn",4,"ngIf"],[3,"authors","disableRouting","tableId","displayedColumns","addAuthor",4,"ngIf"],["alert_type","info",4,"ngIf"],[3,"authors","disableRouting","tableId","displayedColumns","addAuthor"],["alert_type","info"],[1,"ml-auto","mr-auto"],[3,"reloadTable","authors","disableRouting","tableId","displayedColumns","removeAuthor",4,"ngIf"],[3,"reloadTable","authors","disableRouting","tableId","displayedColumns","removeAuthor"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",2),i.TgZ(5,"mat-form-field",3),i.TgZ(6,"label"),i.TgZ(7,"input",4),i.NdJ("keyup.enter",function(){return t.onSearchByString()}),i.ALo(8,"translate"),i.qZA(),i.qZA(),i.TgZ(9,"mat-error"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.qZA(),i.TgZ(12,"button",5),i.NdJ("click",function(){return t.onSearchByString()}),i.TgZ(13,"mat-icon"),i._uU(14,"search"),i.qZA(),i.qZA(),i.YNc(15,pF,8,7,"div",6),i.qZA(),i.YNc(16,gF,1,0,"mat-spinner",7),i.TgZ(17,"div",8),i.TgZ(18,"button",9),i.NdJ("click",function(){return t.onCancel()}),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.TgZ(21,"button",10),i.NdJ("click",function(){return t.onAdd()}),i._uU(22),i.ALo(23,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,10,"DIALOGS.ADD_AUTHORS.TITLE")),i.xp6(5),i.s9C("placeholder",i.lcZ(8,12,"DIALOGS.ADD_AUTHORS.SEARCH_PLACEHOLDER")),i.Q6J("formControl",t.searchControl),i.xp6(3),i.hij(" ",i.lcZ(11,14,"DIALOGS.ADD_AUTHORS.EMPTY_SEARCH_MESSAGE")," "),i.xp6(2),i.Q6J("disabled",t.searchLoading||""===t.searchControl.value.trim()),i.xp6(3),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(3),i.hij(" ",i.lcZ(20,16,"DIALOGS.ADD_AUTHORS.CANCEL")," "),i.xp6(2),i.Q6J("disabled",0===t.authorsToAdd.length||t.loading),i.xp6(1),i.hij(" ",i.lcZ(23,18,"DIALOGS.ADD_AUTHORS.ADD")," "))},directives:[Vs,qs,un,rr,An,Ss,nr,ka,zt,Zi,b.O5,aM,Oa,vn,hs],pipes:[gt],styles:[".top-margin[_ngcontent-%COMP%]{margin-top:15px}.adjust-width[_ngcontent-%COMP%]{width:300px}"]}),n})();function _F(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",6),i.NdJ("click",function(){return i.CHM(e),i.oxw().onAddAuthors()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.ADD")," "))}function yF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){return i.CHM(e),i.oxw().onRemoveAuthors()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",0===e.selection.selected.length||e.publication.locked),i.xp6(1),i.hij(" ",i.lcZ(2,2,"PUBLICATION_DETAIL.REMOVE")," ")}}function bF(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const wF=function(){return["id","name","organization","email"]},AF=function(){return["select","id","name","organization","email"]};function vF(n,o){if(1&n&&i._UZ(0,"perun-web-apps-authors-list",9),2&n){const e=i.oxw();i.Q6J("authors",e.publication.authors)("selection",e.selection)("filterValue",e.filterValue)("tableId",e.tableId)("displayedColumns",e.publication.locked?i.DdM(5,wF):i.DdM(6,AF))}}let VE=(()=>{class n{constructor(e,t,s,a){this.dialog=e,this.cabinetService=t,this.notificator=s,this.translate=a,this.selection=new zi(!0,[]),this.filterValue="",this.loading=!1,this.tableId="67"}ngOnInit(){this.refresh()}refresh(){this.loading=!0,this.cabinetService.findAuthorsByPublicationId(this.publication.id).subscribe(e=>{this.publication.authors=e,this.selection.clear(),this.loading=!1})}onAddAuthors(){const e=Qn();e.width="800px",e.data={publicationId:this.publication.id,alreadyAddedAuthors:this.publication.authors},this.dialog.open(mF,e).afterClosed().subscribe(s=>{s&&(this.selection.clear(),this.refresh())})}onRemoveAuthors(){const e=Qn();e.width="800px",e.data={items:this.selection.selected.map(s=>`${s.titleBefore?s.titleBefore:""} ${s.firstName?s.firstName:""} ${s.lastName?s.lastName:""} ${s.titleAfter?s.titleAfter:""}`),title:"DIALOGS.REMOVE_AUTHORS.TITLE",description:"DIALOGS.REMOVE_AUTHORS.DESCRIPTION",theme:"user-theme"},this.dialog.open(zk,e).afterClosed().subscribe(s=>{s&&this.removeAuthors(this.selection.selected)})}removeAuthors(e){if(this.loading=!0,e.length){const t=e.pop();this.cabinetService.deleteAuthorship(this.publication.id,t.id).subscribe(()=>{this.removeAuthors(e)},()=>this.loading=!1)}else this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_AUTHORS.SUCCESS_MESSAGE")),this.selection.clear(),this.refresh()}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(on),i.Y36(ai),i.Y36(Nn),i.Y36(Fi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-authors"]],inputs:{publication:"publication",selection:"selection"},decls:6,vars:5,consts:[[1,"'user-theme'"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"authors","selection","filterValue","tableId","displayedColumns",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"authors","selection","filterValue","tableId","displayedColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,_F,3,3,"button",1),i.YNc(2,yF,3,4,"button",2),i.TgZ(3,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(4,bF,1,0,"mat-spinner",4),i.YNc(5,vF,1,7,"perun-web-apps-authors-list",5),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("placeholder","PUBLICATION_DETAIL.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,zt,m_,vn,aM],pipes:[gt],styles:[""]}),n})();function CF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",16),i.TgZ(1,"mat-checkbox",17),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function TF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",18),i.TgZ(1,"mat-checkbox",19),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function MF(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.ID")," "))}function SF(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.id," ")}}function kF(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NAME")," "))}function EF(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function DF(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.CONTACT")," "))}function xF(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.contact)}}function RF(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.TYPE")," "))}function PF(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.type)}}function LF(n,o){1&n&&i._UZ(0,"tr",23)}function IF(n,o){1&n&&i._UZ(0,"tr",24)}function OF(n,o){1&n&&(i.TgZ(0,"app-alert",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_OWNERS"),"\n"))}function HF(n,o){1&n&&(i.TgZ(0,"app-alert",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_FILTER_OWNERS"),"\n"))}let FF=(()=>{class n{constructor(e,t){this.authResolver=e,this.tableCheckbox=t,this.owners=[],this.selection=new zi(!0,[]),this.filterValue="",this.displayedColumns=["select","id","name","contact","type"],this.pageSizeOptions=Kd}set matSort(e){this.sort=e,this.setDataSource()}ngAfterViewInit(){this.setDataSource()}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return e.name;case"contact":return e.contact;case"type":return e.type;default:return""}}exportData(e){Kf(Gf(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>l_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>Vf(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new Fc(this.owners),this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(eo),i.Y36(lA))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-owners-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(or,7),i.Gf(vo,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.child=s.first),i.iGM(s=i.CRH())&&(t.matSort=s.first)}},inputs:{owners:"owners",selection:"selection",tableId:"tableId",filterValue:"filterValue",displayedColumns:"displayedColumns"},features:[i.TTD],decls:22,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","contact"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,CF,2,3,"th",4),i.YNc(5,TF,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,MF,3,3,"th",7),i.YNc(8,SF,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,kF,3,3,"th",7),i.YNc(11,EF,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,DF,3,3,"th",7),i.YNc(14,xF,2,1,"td",10),i.BQk(),i.ynx(15,12),i.YNc(16,RF,3,3,"th",7),i.YNc(17,PF,2,1,"td",10),i.BQk(),i.YNc(18,LF,1,0,"tr",13),i.YNc(19,IF,1,0,"tr",14),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,OF,3,3,"app-alert",15),i.YNc(21,HF,3,3,"app-alert",15)),2&e&&(i.Q6J("hidden",0===t.owners.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(16),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",!t.owners.length),i.xp6(1),i.Q6J("ngIf",!t.dataSource.filteredData.length&&t.owners.length))},directives:[or,Pa,vo,Fr,Hr,zr,pu,Or,Nr,ep,Oc,Hc,La,Ia,b.O5,Oa],pipes:[gt],styles:[""]}),n})();function zF(n,o){1&n&&i._UZ(0,"mat-spinner",4)}const NF=function(){return["select","id","name","contact"]};function BF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"perun-web-apps-immediate-filter",6),i.NdJ("filter",function(s){return i.CHM(e),i.oxw().filterValue=s}),i.qZA(),i._UZ(3,"perun-web-apps-owners-list",7),i.qZA(),i.TgZ(4,"div",8),i.TgZ(5,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"button",10),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.Q6J("placeholder","DIALOGS.ADD_THANKS.FILTER"),i.xp6(1),i.Q6J("owners",e.owners)("filterValue",e.filterValue)("tableId",e.tableId)("displayedColumns",i.DdM(13,NF))("selection",e.selected),i.xp6(3),i.hij(" ",i.lcZ(7,9,"DIALOGS.ADD_THANKS.CANCEL")," "),i.xp6(2),i.Q6J("disabled",0===e.selected.selected.length||e.loading),i.xp6(1),i.hij(" ",i.lcZ(10,11,"DIALOGS.ADD_THANKS.ADD")," ")}}let YF=(()=>{class n{constructor(e,t,s,a,r,c,d){this.dialogRef=e,this.data=t,this.ownersManagerService=s,this.storeService=a,this.notificator=r,this.translate=c,this.cabinetManagerService=d,this.selected=new zi(!0,[]),this.tableId="73"}ngOnInit(){this.loading=!0;const e=this.storeService.get("allowed_owners_for_thanks");this.ownersManagerService.getAllOwners().subscribe(t=>{this.owners=0!==e.length?t.filter(s=>e.indexOf(s.id)>-1):t,this.owners=this.owners.filter(s=>this.data.thanks.map(a=>a.ownerId).indexOf(s.id)<=-1),this.loading=!1})}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,0===this.selected.selected.length?this.translate.get("DIALOGS.ADD_THANKS.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)}):this.cabinetManagerService.createThanks({thanks:{publicationId:this.data.id,ownerId:this.selected.selected.pop().id,createdBy:this.storeService.getPerunPrincipal().actor,createdByUid:this.storeService.getPerunPrincipal().userId,createdDate:Date.now().toString(),id:0,beanName:"Thanks"}}).subscribe(()=>{this.onSubmit()},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sn),i.Y36(yo),i.Y36(Gt),i.Y36(Mn),i.Y36(Nn),i.Y36(Fi),i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-thanks-dialog"]],decls:6,vars:5,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"owners","filterValue","tableId","displayedColumns","selection"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,zF,1,0,"mat-spinner",2),i.YNc(5,BF,11,14,"div",3),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,3,"DIALOGS.ADD_THANKS.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Vs,b.O5,vn,qs,m_,FF,hs,zt],pipes:[gt],styles:[""]}),n})();function jF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",15),i.TgZ(1,"mat-checkbox",16),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function UF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",17),i.TgZ(1,"mat-checkbox",18),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function VF(n,o){1&n&&(i.TgZ(0,"th",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"THANKS_LIST.ID")))}function qF(n,o){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.ownerId)}}function GF(n,o){1&n&&(i.TgZ(0,"th",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"THANKS_LIST.NAME")," "))}function KF(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.ownerName)}}function ZF(n,o){1&n&&(i.TgZ(0,"th",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"THANKS_LIST.CREATED_BY")," "))}function $F(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.createdBy)}}function WF(n,o){1&n&&i._UZ(0,"tr",22)}function JF(n,o){1&n&&i._UZ(0,"tr",23)}function QF(n,o){1&n&&(i.TgZ(0,"app-alert",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function XF(n,o){1&n&&(i.TgZ(0,"app-alert",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"THANKS_LIST.NO_THANKS"),"\n"))}let ez=(()=>{class n{constructor(e){this.tableCheckbox=e,this.thanks=[],this.filterValue="",this.displayedColumns=["select","id","name","createdBy"],this.pageSizeOptions=Kd,this.selection=new zi(!0,[])}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Fc(this.thanks),this.setDataSource(),this.dataSource.filter=this.filterValue}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}getDataForColumn(e,t){switch(t){case"id":return e.ownerId.toString();case"name":return e.ownerName;default:return e[t]}}exportData(e){Kf(Gf(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>l_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>Vf(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(lA))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-thanks-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(vo,7),i.Gf(or,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{thanks:"thanks",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions",selection:"selection"},features:[i.TTD],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","createdBy"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,jF,2,3,"th",4),i.YNc(5,UF,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,VF,3,3,"th",7),i.YNc(8,qF,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,GF,3,3,"th",7),i.YNc(11,KF,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,ZF,3,3,"th",7),i.YNc(14,$F,2,1,"td",10),i.BQk(),i.YNc(15,WF,1,0,"tr",12),i.YNc(16,JF,1,0,"tr",13),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,QF,3,3,"app-alert",14),i.YNc(18,XF,3,3,"app-alert",14)),2&e&&(i.Q6J("hidden",0===t.thanks.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(13),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0!==t.thanks.length&&0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("ngIf",0===t.thanks.length))},directives:[or,Pa,vo,Fr,Hr,zr,pu,Or,Nr,ep,Oc,Hc,La,Ia,b.O5,Oa],pipes:[gt],styles:[""]}),n})();function tz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",6),i.NdJ("click",function(){return i.CHM(e),i.oxw().onAddThanks()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.ADD")," "))}function iz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){return i.CHM(e),i.oxw().onRemoveThanks()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",0===e.selection.selected.length),i.xp6(1),i.hij(" ",i.lcZ(2,2,"PUBLICATION_DETAIL.REMOVE")," ")}}function nz(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const sz=function(){return["id","name","createdBy"]},oz=function(){return["select","id","name","createdBy"]};function rz(n,o){if(1&n&&i._UZ(0,"perun-web-apps-thanks-list",9),2&n){const e=i.oxw();i.Q6J("thanks",e.publication.thanks)("filterValue",e.filterValue)("tableId",e.tableId)("displayedColumns",e.publication.locked?i.DdM(5,sz):i.DdM(6,oz))("selection",e.selection)}}let qE=(()=>{class n{constructor(e,t,s,a){this.dialog=e,this.cabinetService=t,this.notificator=s,this.translate=a,this.selection=new zi(!0,[]),this.tableId="70",this.loading=!1,this.filterValue=""}ngOnInit(){this.refresh()}refresh(){this.loading=!0,this.cabinetService.findPublicationById(this.publication.id).subscribe(e=>{this.publication=e,this.selection.clear(),this.loading=!1})}onAddThanks(){const e=Qn();e.width="800px",e.data=this.publication,this.dialog.open(YF,e).afterClosed().subscribe(s=>{s&&this.refresh()})}onRemoveThanks(){const e=Qn();e.width="450px",e.data={items:this.selection.selected.map(s=>s.ownerName),title:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_TITLE",description:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_DESCRIPTION",theme:"user-theme"},this.dialog.open(zk,e).afterClosed().subscribe(s=>{s&&(this.loading=!0,this.removeThank())})}removeThank(){0===this.selection.selected.length?this.translate.get("PUBLICATION_DETAIL.REMOVE_THANKS_SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.refresh()}):this.cabinetService.deleteThanks(this.selection.selected.pop().id).subscribe(()=>{this.removeThank()})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(on),i.Y36(ai),i.Y36(Nn),i.Y36(Fi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-thanks"]],inputs:{publication:"publication",selection:"selection"},decls:6,vars:5,consts:[[1,"'user-theme'"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"thanks","filterValue","tableId","displayedColumns","selection",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"thanks","filterValue","tableId","displayedColumns","selection"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,tz,3,3,"button",1),i.YNc(2,iz,3,4,"button",2),i.TgZ(3,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(4,nz,1,0,"mat-spinner",4),i.YNc(5,rz,1,7,"perun-web-apps-thanks-list",5),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("placeholder","PUBLICATION_DETAIL.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,zt,m_,vn,ez],pipes:[gt],styles:[""]}),n})();function az(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function cz(n,o){1&n&&(i.TgZ(0,"h1",11),i.TgZ(1,"span"),i.TgZ(2,"mat-icon",12),i._uU(3,"assignment_ind"),i.qZA(),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,"AUTHORS_PAGE.TITLE")," "))}function lz(n,o){1&n&&(i.TgZ(0,"h1",11),i._UZ(1,"mat-icon",13),i.TgZ(2,"span",14),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(3),i.Oqu(i.lcZ(4,1,"ALL_PUBLICATIONS.TITLE")))}function uz(n,o){1&n&&(i.TgZ(0,"h1",11),i.TgZ(1,"span"),i.TgZ(2,"mat-icon",12),i._uU(3,"local_library"),i.qZA(),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,"MY_PUBLICATIONS.TITLE")," "))}function dz(n,o){if(1&n&&(i.TgZ(0,"h5",15),i._uU(1),i.ALo(2,"userFullName"),i.ALo(3,"translate"),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.AsE(" ",i.lcZ(2,2,e.mainAuthor),"",i.lcZ(3,4,"AUTHOR_DETAIL.TITLE")," ")}}function hz(n,o){1&n&&(i.TgZ(0,"span",16),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.LOCKED")," "))}function fz(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1," lock "),i.qZA())}function pz(n,o){1&n&&(i.TgZ(0,"span",16),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.UNLOCKED")," "))}function gz(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1," lock_open "),i.qZA())}function mz(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function _z(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-publication-detail-list",17),i.NdJ("edited",function(){return i.CHM(e),i.oxw(2).refreshPublication()}),i.qZA()}if(2&n){const e=i.oxw(2);i.Q6J("publication",e.publication)("categories",e.categories)}}function yz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.YNc(1,cz,6,3,"h1",4),i.YNc(2,lz,5,3,"h1",4),i.YNc(3,uz,6,3,"h1",4),i.YNc(4,dz,4,6,"h5",5),i.TgZ(5,"h5"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"h6"),i._uU(9),i.ALo(10,"translate"),i.TgZ(11,"button",6),i.NdJ("click",function(){return i.CHM(e),i.oxw().changeLock()}),i.YNc(12,hz,3,3,"span",7),i.YNc(13,fz,2,0,"mat-icon",2),i.YNc(14,pz,3,3,"span",7),i.YNc(15,gz,2,0,"mat-icon",2),i.qZA(),i.qZA(),i.TgZ(16,"mat-card"),i.TgZ(17,"mat-card-content"),i.YNc(18,mz,1,0,"mat-spinner",1),i.YNc(19,_z,1,2,"perun-web-apps-publication-detail-list",8),i.qZA(),i.qZA(),i.TgZ(20,"mat-card",9),i.TgZ(21,"mat-card-title"),i._uU(22),i.ALo(23,"translate"),i.qZA(),i.TgZ(24,"mat-card-content"),i._UZ(25,"perun-web-apps-add-authors",10),i.qZA(),i.qZA(),i.TgZ(26,"mat-card",9),i.TgZ(27,"mat-card-title"),i._uU(28),i.ALo(29,"translate"),i.qZA(),i.TgZ(30,"mat-card-content"),i._UZ(31,"perun-web-apps-add-thanks",10),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngIf","authors"===e.mode),i.xp6(1),i.Q6J("ngIf","all"===e.mode),i.xp6(1),i.Q6J("ngIf","my"===e.mode),i.xp6(1),i.Q6J("ngIf",void 0!==e.mainAuthor),i.xp6(2),i.Oqu(i.lcZ(7,18,"PUBLICATION_DETAIL.TITLE")),i.xp6(3),i.hij(" ",i.lcZ(10,20,"PUBLICATION_DETAIL.LOCK_INFO")," "),i.xp6(3),i.Q6J("ngIf",e.publication.locked),i.xp6(1),i.Q6J("ngIf",e.publication.locked),i.xp6(1),i.Q6J("ngIf",!e.publication.locked),i.xp6(1),i.Q6J("ngIf",!e.publication.locked),i.xp6(3),i.Q6J("ngIf",e.loading||e.pubLoading),i.xp6(1),i.Q6J("ngIf",!e.pubLoading&&!e.loading),i.xp6(3),i.hij(" ",i.lcZ(23,22,"PUBLICATION_DETAIL.AUTHORS")," "),i.xp6(3),i.Q6J("publication",e.publication)("selection",e.selectionAuthors),i.xp6(3),i.hij(" ",i.lcZ(29,24,"PUBLICATION_DETAIL.ACKNOWLEDGEMENT")," "),i.xp6(3),i.Q6J("publication",e.publication)("selection",e.selectionThanks)}}let __=(()=>{class n{constructor(e,t,s,a,r,c,d){this.route=e,this.cabinetService=t,this.matIconRegistry=s,this.domSanitizer=a,this.dialog=r,this.notificator=c,this.translate=d,this.loading=!1,this.pubLoading=!1,this.initLoading=!1,this.selectionAuthors=new zi(!0,[]),this.selectionThanks=new zi(!0,[]),this.matIconRegistry.addSvgIcon("publications",this.domSanitizer.bypassSecurityTrustResourceUrl("../../assets/img/publications-dark.svg"))}ngOnInit(){this.initLoading=!0,this.publicationId?(this.setMode(),this.loadAllData()):this.route.params.subscribe(e=>{this.publicationId=e.publicationId,this.mainAuthorId=parseInt(e.authorId,10),this.setMode(),this.loadAllData()})}setMode(){const e=location.pathname;this.mode=e.includes("my")?"my":e.includes("all")?"all":e.includes("import")?"import":e.includes("create")?"create":"authors"}loadAllData(){this.loading=!0,this.cabinetService.findPublicationById(this.publicationId).subscribe(e=>{this.publication=e,this.cabinetService.getCategories().subscribe(t=>{this.categories=t,this.loading=!1,this.initLoading=!1})})}refreshPublication(){this.pubLoading=!0,this.cabinetService.findPublicationById(this.publicationId).subscribe(e=>{this.publication=e,this.pubLoading=!1})}changeLock(){this.pubLoading=!0,this.cabinetService.lockPublications({publications:[{id:this.publication.id,externalId:this.publication.externalId,publicationSystemId:this.publication.publicationSystemId,title:this.publication.title,year:this.publication.year,main:this.publication.main,isbn:this.publication.isbn,doi:this.publication.doi,categoryId:this.publication.categoryId,rank:this.publication.rank,locked:this.publication.locked,createdBy:this.publication.createdBy,createdDate:this.publication.createdDate}],lock:!this.publication.locked}).subscribe(()=>{this.translate.get("PUBLICATION_DETAIL.CHANGE_PUBLICATION_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.refreshPublication()})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ys),i.Y36(ai),i.Y36(Gd),i.Y36(Un),i.Y36(on),i.Y36(Nn),i.Y36(Fi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-detail"]],inputs:{publicationId:"publicationId"},decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["class","page-subtitle d-flex",4,"ngIf"],["class","mb-2",4,"ngIf"],["mat-stroked-button","",1,"ml-2",3,"click"],["class","font-weight-bold",4,"ngIf"],[3,"publication","categories","edited",4,"ngIf"],[1,"mt-4"],[3,"publication","selection"],[1,"page-subtitle","d-flex"],[1,"title-icon","align-icon","mr-3"],["svgIcon","publications",1,"icon-size"],[1,"ml-3","mt-1"],[1,"mb-2"],[1,"font-weight-bold"],[3,"publication","categories","edited"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,az,1,0,"mat-spinner",1),i.YNc(2,yz,32,26,"div",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.initLoading),i.xp6(1),i.Q6J("ngIf",!t.initLoading))},directives:[b.O5,vn,Zi,zt,sE,iE,sF,nE,VE,qE],pipes:[gt,xA],styles:[".icon-size[_ngcontent-%COMP%]{width:32px;height:32px}.align-icon[_ngcontent-%COMP%]{vertical-align:text-top}"]}),n})(),cM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[hu,b.ez]]}),n})();const $E=new i.OlP("mat-chips-default-options");let Rz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Ma,{provide:$E,useValue:{separatorKeyCodes:[13]}}],imports:[[ot]]}),n})();function Lz(n){const{subscriber:o,counter:e,period:t}=n;o.next(e),this.schedule({subscriber:o,counter:e+1,period:t},t)}function uM(n,o,e){for(let t in o)if(o.hasOwnProperty(t)){const s=o[t];s?n.setProperty(t,s,(null==e?void 0:e.has(t))?"important":""):n.removeProperty(t)}return n}function sp(n,o){const e=o?"":"none";uM(n.style,{"touch-action":o?"":"none","-webkit-user-drag":o?"":"none","-webkit-tap-highlight-color":o?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function WE(n,o,e){uM(n.style,{position:o?"":"fixed",top:o?"":"0",opacity:o?"":"0",left:o?"":"-999em"},e)}function PA(n,o){return o&&"none"!=o?n+" "+o:n}function JE(n){const o=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*o}function dM(n,o){return n.getPropertyValue(o).split(",").map(t=>t.trim())}function hM(n){const o=n.getBoundingClientRect();return{top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height,x:o.x,y:o.y}}function fM(n,o,e){const{top:t,bottom:s,left:a,right:r}=n;return e>=t&&e<=s&&o>=a&&o<=r}function y_(n,o,e){n.top+=o,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function QE(n,o,e,t){const{top:s,right:a,bottom:r,left:c,width:d,height:h}=n,g=d*o,I=h*o;return t>s-I&&tc-g&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:hM(e)})})}handleScroll(o){const e=lo(o),t=this.positions.get(e);if(!t)return null;const s=t.scrollPosition;let a,r;if(e===this._document){const h=this._viewportRuler.getViewportScrollPosition();a=h.top,r=h.left}else a=e.scrollTop,r=e.scrollLeft;const c=s.top-a,d=s.left-r;return this.positions.forEach((h,g)=>{h.clientRect&&e!==g&&e.contains(g)&&y_(h.clientRect,c,d)}),s.top=a,s.left=r,{top:c,left:d}}}function eD(n){const o=n.cloneNode(!0),e=o.querySelectorAll("[id]"),t=n.nodeName.toLowerCase();o.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const d=this._handles.find(h=>c.target&&(c.target===h||h.contains(c.target)));d&&!this._disabledHandles.has(d)&&!this.disabled&&this._initializeDragSequence(d,c)}else this.disabled||this._initializeDragSequence(this._rootElement,c)},this._pointerMove=c=>{const d=this._getPointerPositionOnPage(c);if(!this._hasStartedDragging){if(Math.abs(d.x-this._pickupPositionOnPage.x)+Math.abs(d.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const ce=Date.now()>=this._dragStartTime+this._getDragStartDelay(c),be=this._dropContainer;if(!ce)return void this._endDragSequence(c);(!be||!be.isDragging()&&!be.isReceiving())&&(c.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(c)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),c.preventDefault();const h=this._getConstrainedPointerPosition(d);if(this._hasMoved=!0,this._lastKnownPointerPosition=d,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,d);else{const g=this._activeTransform;g.x=h.x-this._pickupPositionOnPage.x+this._passiveTransform.x,g.y=h.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(g.x,g.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:c,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=c=>{this._endDragSequence(c)},this.withRootElement(o).withParent(e.parentDragRef||null),this._parentPositions=new XE(t,a),r.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(o){const e=Ne(o);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>sp(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(o){this._handles=o.map(t=>Vi(t)),this._handles.forEach(t=>sp(t,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t)}),this._disabledHandles=e,this}withPreviewTemplate(o){return this._previewTemplate=o,this}withPlaceholderTemplate(o){return this._placeholderTemplate=o,this}withRootElement(o){const e=Vi(o);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,oD),e.addEventListener("touchstart",this._pointerDown,sD)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(o){return this._boundaryElement=o?Vi(o):null,this._resizeSubscription.unsubscribe(),o&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(o){return this._parentDragRef=o,this}dispose(){var o,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(o=this._rootElement)||void 0===o||o.remove()),null===(e=this._anchor)||void 0===e||e.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(o){!this._disabledHandles.has(o)&&this._handles.indexOf(o)>-1&&(this._disabledHandles.add(o),sp(o,!0))}enableHandle(o){this._disabledHandles.has(o)&&(this._disabledHandles.delete(o),sp(o,this.disabled))}withDirection(o){return this._direction=o,this}_withDropContainer(o){this._dropContainer=o}getFreeDragPosition(){const o=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:o.x,y:o.y}}setFreeDragPosition(o){return this._activeTransform={x:0,y:0},this._passiveTransform.x=o.x,this._passiveTransform.y=o.y,this._dropContainer||this._applyRootElementTransform(o.x,o.y),this}withPreviewContainer(o){return this._previewContainer=o,this}_sortFromLastPointerPosition(){const o=this._lastKnownPointerPosition;o&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(o),o)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var o,e;null===(o=this._preview)||void 0===o||o.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var o,e;null===(o=this._placeholder)||void 0===o||o.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(o){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(o),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(o);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(o){b_(o)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,s=t.parentNode,a=this._placeholder=this._createPlaceholderElement(),r=this._anchor=this._anchor||this._document.createComment(""),c=this._getShadowRoot();s.insertBefore(r,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),WE(t,!1,pM),this._document.body.appendChild(s.replaceChild(a,t)),this._getPreviewInsertionPoint(s,c).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(o,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),s=b_(e),a=!s&&0!==e.button,r=this._rootElement,c=lo(e),d=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=s?cd(e):ad(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),t||a||d||h)return;if(this._handles.length){const W=r.style;this._rootElementTapHighlight=W.webkitTapHighlightColor||"",W.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(W=>this._updateOnScroll(W)),this._boundaryElement&&(this._boundaryRect=hM(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(o,e);const I=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:I.x,y:I.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(o){WE(this._rootElement,!0,pM),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,t=e.getItemIndex(this),s=this._getPointerPositionOnPage(o),a=this._getDragDistance(s),r=e._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:a,dropPoint:s}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:a,dropPoint:s}),e.drop(this,t,this._initialIndex,this._initialContainer,r,a,s),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:o,y:e},{x:t,y:s}){let a=this._initialContainer._getSiblingContainerFromPosition(this,o,e);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(o,e)&&(a=this._initialContainer),a&&a!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=a,this._dropContainer.enter(this,o,e,a===this._initialContainer&&a.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:a,currentIndex:a.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,s),this._dropContainer._sortItem(this,o,e,this._pointerDirectionDelta),this._applyPreviewTransform(o-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const o=this._previewTemplate,e=this.previewClass,t=o?o.template:null;let s;if(t&&o){const a=o.matchSize?this._rootElement.getBoundingClientRect():null,r=o.viewContainer.createEmbeddedView(t,o.context);r.detectChanges(),s=aD(r,this._document),this._previewRef=r,o.matchSize?cD(s,a):s.style.transform=LA(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const a=this._rootElement;s=eD(a),cD(s,a.getBoundingClientRect()),this._initialTransform&&(s.style.transform=this._initialTransform)}return uM(s.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},pM),sp(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(a=>s.classList.add(a)):s.classList.add(e)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const o=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(o.left,o.top);const e=function Iz(n){const o=getComputedStyle(n),e=dM(o,"transition-property"),t=e.find(c=>"transform"===c||"all"===c);if(!t)return 0;const s=e.indexOf(t),a=dM(o,"transition-duration"),r=dM(o,"transition-delay");return JE(a[s])+JE(r[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const s=r=>{var c;(!r||lo(r)===this._preview&&"transform"===r.propertyName)&&(null===(c=this._preview)||void 0===c||c.removeEventListener("transitionend",s),t(),clearTimeout(a))},a=setTimeout(s,1.5*e);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){const o=this._placeholderTemplate,e=o?o.template:null;let t;return e?(this._placeholderRef=o.viewContainer.createEmbeddedView(e,o.context),this._placeholderRef.detectChanges(),t=aD(this._placeholderRef,this._document)):t=eD(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(o,e){const t=this._rootElement.getBoundingClientRect(),s=o===this._rootElement?null:o,a=s?s.getBoundingClientRect():t,r=b_(e)?e.targetTouches[0]:e,c=this._getViewportScrollPosition();return{x:a.left-t.left+(r.pageX-a.left-c.left),y:a.top-t.top+(r.pageY-a.top-c.top)}}_getPointerPositionOnPage(o){const e=this._getViewportScrollPosition(),t=b_(o)?o.touches[0]||o.changedTouches[0]||{pageX:0,pageY:0}:o,s=t.pageX-e.left,a=t.pageY-e.top;if(this._ownerSVGElement){const r=this._ownerSVGElement.getScreenCTM();if(r){const c=this._ownerSVGElement.createSVGPoint();return c.x=s,c.y=a,c.matrixTransform(r.inverse())}}return{x:s,y:a}}_getConstrainedPointerPosition(o){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:s}=this.constrainPosition?this.constrainPosition(o,this):o;if("x"===this.lockAxis||"x"===e?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:a,y:r}=this._pickupPositionInElement,c=this._boundaryRect,d=this._previewRect,h=c.top+r,g=c.bottom-(d.height-r);t=rD(t,c.left+a,c.right-(d.width-a)),s=rD(s,h,g)}return{x:t,y:s}}_updatePointerDirectionDelta(o){const{x:e,y:t}=o,s=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-a.x),c=Math.abs(t-a.y);return r>this._config.pointerDirectionChangeThreshold&&(s.x=e>a.x?1:-1,a.x=e),c>this._config.pointerDirectionChangeThreshold&&(s.y=t>a.y?1:-1,a.y=t),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const o=this._handles.length>0||!this.isDragging();o!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=o,sp(this._rootElement,o))}_removeRootElementListeners(o){o.removeEventListener("mousedown",this._pointerDown,oD),o.removeEventListener("touchstart",this._pointerDown,sD)}_applyRootElementTransform(o,e){const t=LA(o,e),s=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=s.transform&&"none"!=s.transform?s.transform:""),s.transform=PA(t,this._initialTransform)}_applyPreviewTransform(o,e){var t;const s=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,a=LA(o,e);this._preview.style.transform=PA(a,s)}_getDragDistance(o){const e=this._pickupPositionOnPage;return e?{x:o.x-e.x,y:o.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:o,y:e}=this._passiveTransform;if(0===o&&0===e||this.isDragging()||!this._boundaryElement)return;const t=this._boundaryElement.getBoundingClientRect(),s=this._rootElement.getBoundingClientRect();if(0===t.width&&0===t.height||0===s.width&&0===s.height)return;const a=t.left-s.left,r=s.right-t.right,c=t.top-s.top,d=s.bottom-t.bottom;t.width>s.width?(a>0&&(o+=a),r>0&&(o-=r)):o=0,t.height>s.height?(c>0&&(e+=c),d>0&&(e-=d)):e=0,(o!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:o})}_getDragStartDelay(o){const e=this.dragStartDelay;return"number"==typeof e?e:b_(o)?e.touch:e?e.mouse:0}_updateOnScroll(o){const e=this._parentPositions.handleScroll(o);if(e){const t=lo(o);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&y_(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const o=this._parentPositions.positions.get(this._document);return o?o.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=bl(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(o,e){const t=this._previewContainer||"global";if("parent"===t)return o;if("global"===t){const s=this._document;return e||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return Vi(t)}}function LA(n,o){return`translate3d(${Math.round(n)}px, ${Math.round(o)}px, 0)`}function rD(n,o,e){return Math.max(o,Math.min(e,n))}function b_(n){return"t"===n.type[0]}function aD(n,o){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===o.ELEMENT_NODE)return e[0];const t=o.createElement("div");return e.forEach(s=>t.appendChild(s)),t}function cD(n,o){n.style.width=`${o.width}px`,n.style.height=`${o.height}px`,n.style.transform=LA(o.left,o.top)}function w_(n,o){return Math.max(0,Math.min(o,n))}class Nz{constructor(o,e,t,s,a){this._dragDropRegistry=e,this._ngZone=s,this._viewportRuler=a,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new ke.xQ,this.entered=new ke.xQ,this.exited=new ke.xQ,this.dropped=new ke.xQ,this.sorted=new ke.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=q.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new ke.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function Pz(n=0,o=Gu.P){return(!Y_(n)||n<0)&&(n=0),(!o||"function"!=typeof o.schedule)&&(o=Gu.P),new Xi.y(e=>(e.add(o.schedule(Lz,n,{subscriber:e,counter:0,period:n})),e))}(0,O_).pipe(Ke(this._stopScrollTimers)).subscribe(()=>{const r=this._scrollNode,c=this.autoScrollStep;1===this._verticalScrollDirection?r.scrollBy(0,-c):2===this._verticalScrollDirection&&r.scrollBy(0,c),1===this._horizontalScrollDirection?r.scrollBy(-c,0):2===this._horizontalScrollDirection&&r.scrollBy(c,0)})},this.element=Vi(o),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new XE(t,a)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(o,e,t,s){let a;this._draggingStarted(),null==s?(a=this.sortingDisabled?this._draggables.indexOf(o):-1,-1===a&&(a=this._getItemIndexFromPointerPosition(o,e,t))):a=s;const r=this._activeDraggables,c=r.indexOf(o),d=o.getPlaceholderElement();let h=r[a];if(h===o&&(h=r[a+1]),!h&&(null==a||-1===a||a-1&&r.splice(c,1),h&&!this._dragDropRegistry.isDragging(h)){const g=h.getRootElement();g.parentElement.insertBefore(d,g),r.splice(a,0,o)}else Vi(this.element).appendChild(d),r.push(o);d.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:o,container:this,currentIndex:this.getItemIndex(o)})}exit(o){this._reset(),this.exited.next({item:o,container:this})}drop(o,e,t,s,a,r,c){this._reset(),this.dropped.next({item:o,currentIndex:e,previousIndex:t,container:this,previousContainer:s,isPointerOverContainer:a,distance:r,dropPoint:c})}withItems(o){const e=this._draggables;return this._draggables=o,o.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(s=>s.isDragging()).every(s=>-1===o.indexOf(s))?this._reset():this._cacheItems()),this}withDirection(o){return this._direction=o,this}connectedTo(o){return this._siblings=o.slice(),this}withOrientation(o){return this._orientation=o,this}withScrollableParents(o){const e=Vi(this.element);return this._scrollableElements=-1===o.indexOf(e)?[e,...o]:o.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(o){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===o):this._draggables.indexOf(o)}isReceiving(){return this._activeSiblings.size>0}_sortItem(o,e,t,s){if(this.sortingDisabled||!this._clientRect||!QE(this._clientRect,.05,e,t))return;const a=this._itemPositions,r=this._getItemIndexFromPointerPosition(o,e,t,s);if(-1===r&&a.length>0)return;const c="horizontal"===this._orientation,d=a.findIndex(Fe=>Fe.drag===o),h=a[r],I=h.clientRect,W=d>r?1:-1,ce=this._getItemOffsetPx(a[d].clientRect,I,W),be=this._getSiblingOffsetPx(d,a,W),Me=a.slice();(function zz(n,o,e){const t=w_(o,n.length-1),s=w_(e,n.length-1);if(t===s)return;const a=n[t],r=s{if(Me[Ft]===Fe)return;const Qt=Fe.drag===o,Pt=Qt?ce:be,oi=Qt?o.getPlaceholderElement():Fe.drag.getRootElement();Fe.offset+=Pt,c?(oi.style.transform=PA(`translate3d(${Math.round(Fe.offset)}px, 0, 0)`,Fe.initialTransform),y_(Fe.clientRect,0,Pt)):(oi.style.transform=PA(`translate3d(0, ${Math.round(Fe.offset)}px, 0)`,Fe.initialTransform),y_(Fe.clientRect,Pt,0))}),this._previousSwap.overlaps=fM(I,e,t),this._previousSwap.drag=h.drag,this._previousSwap.delta=c?s.x:s.y}_startScrollingIfNecessary(o,e){if(this.autoScrollDisabled)return;let t,s=0,a=0;if(this._parentPositions.positions.forEach((r,c)=>{c===this._document||!r.clientRect||t||QE(r.clientRect,.05,o,e)&&([s,a]=function Bz(n,o,e,t){const s=dD(o,t),a=hD(o,e);let r=0,c=0;if(s){const d=n.scrollTop;1===s?d>0&&(r=1):n.scrollHeight-d>n.clientHeight&&(r=2)}if(a){const d=n.scrollLeft;1===a?d>0&&(c=1):n.scrollWidth-d>n.clientWidth&&(c=2)}return[r,c]}(c,r.clientRect,o,e),(s||a)&&(t=c))}),!s&&!a){const{width:r,height:c}=this._viewportRuler.getViewportSize(),d={width:r,height:c,top:0,right:r,bottom:c,left:0};s=dD(d,e),a=hD(d,o),t=window}t&&(s!==this._verticalScrollDirection||a!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=a,this._scrollNode=t,(s||a)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const o=Vi(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=o.msScrollSnapType||o.scrollSnapType||"",o.scrollSnapType=o.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const o=Vi(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(o).clientRect}_cacheItemPositions(){const o="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:hM(t)}}).sort((e,t)=>o?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const o=Vi(this.element).style;o.scrollSnapType=o.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const s=e.getRootElement();if(s){const a=null===(t=this._itemPositions.find(r=>r.drag===e))||void 0===t?void 0:t.initialTransform;s.style.transform=a||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(o,e,t){const s="horizontal"===this._orientation,a=e[o].clientRect,r=e[o+-1*t];let c=a[s?"width":"height"]*t;if(r){const d=s?"left":"top",h=s?"right":"bottom";-1===t?c-=r.clientRect[d]-a[h]:c+=a[d]-r.clientRect[h]}return c}_getItemOffsetPx(o,e,t){const s="horizontal"===this._orientation;let a=s?e.left-o.left:e.top-o.top;return-1===t&&(a+=s?e.width-o.width:e.height-o.height),a}_shouldEnterAsFirstChild(o,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,s="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const r=t[t.length-1].clientRect;return s?o>=r.right:e>=r.bottom}{const r=t[0].clientRect;return s?o<=r.left:e<=r.top}}_getItemIndexFromPointerPosition(o,e,t,s){const a="horizontal"===this._orientation,r=this._itemPositions.findIndex(({drag:c,clientRect:d})=>{if(c===o)return!1;if(s){const h=a?s.x:s.y;if(c===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return a?e>=Math.floor(d.left)&&e=Math.floor(d.top)&&ts._canReceive(o,e,t))}_canReceive(o,e,t){if(!this._clientRect||!fM(this._clientRect,e,t)||!this.enterPredicate(o,this))return!1;const s=this._getShadowRoot().elementFromPoint(e,t);if(!s)return!1;const a=Vi(this.element);return s===a||a.contains(s)}_startReceiving(o,e){const t=this._activeSiblings;!t.has(o)&&e.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(t.add(o),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(o){this._activeSiblings.delete(o),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(o=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(o);e&&(this._itemPositions.forEach(({clientRect:t})=>{y_(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const o=bl(Vi(this.element));this._cachedShadowRoot=o||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const o=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,o))}}function dD(n,o){const{top:e,bottom:t,height:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=t-a&&o<=t+a?2:0}function hD(n,o){const{left:e,right:t,width:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=t-a&&o<=t+a?2:0}const IA=Vo({passive:!1,capture:!0});let Yz=(()=>{class n{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new ke.xQ,this.pointerUp=new ke.xQ,this.scroll=new ke.xQ,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,IA)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,IA)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const s=t.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:a=>this.pointerUp.next(a),options:!0}).set("scroll",{handler:a=>this.scroll.next(a),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:IA}),s||this._globalListeners.set("mousemove",{handler:a=>this.pointerMove.next(a),options:IA}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((a,r)=>{this._document.addEventListener(r,a.handler,a.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const t=[this.scroll];return e&&e!==this._document&&t.push(new Xi.y(s=>this._ngZone.runOutsideAngular(()=>{const r=c=>{this._activeDragInstances.length&&s.next(c)};return e.addEventListener("scroll",r,!0),()=>{e.removeEventListener("scroll",r,!0)}}))),(0,Ci.T)(...t)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const jz={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Uz=(()=>{class n{constructor(e,t,s,a){this._document=e,this._ngZone=t,this._viewportRuler=s,this._dragDropRegistry=a}createDrag(e,t=jz){return new Fz(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new Nz(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(i.R0b),i.LFG(Go),i.LFG(Yz))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Vz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Uz],imports:[kr]}),n})(),qz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),Wz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),sN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Wz,ot],ot]}),n})(),_N=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ds,ot],ot]}),n})(),wN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,ru,ir,TA,hu,uA,Yf]]}),n})(),AN=(()=>{class n extends Jg{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const vN={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let mD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ti,useClass:AN},{provide:Ts,useValue:vN}],imports:[[b.ez,TA,Y0,Xw,Rz,Vz,vd,Bs,sM,z,uA,cM,hu,oA,ir,Yf,Kl,ru,dA,ds,Ek,qz,sN,nM,_N,im,Ud,wN,lc,gf,Ak,FE]]}),n})(),WN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,ir,hu,Bs,mD,vd,Kl,ru,dA,cM]]}),n})(),JN=(()=>{class n{constructor(e,t){this.auth=e,this.router=t}ngOnInit(){this.auth.isLoggedIn()&&this.router.navigate(["/home"])}startAuth(){this.auth.startAuthentication()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(jl),i.Y36(yi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],[1,"mb-3"],["mat-raised-button","","color","primary",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"h4",3),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.startAuth()}),i._uU(7),i.ALo(8,"translate"),i.TgZ(9,"mat-icon"),i._uU(10," login "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.hij(" ",i.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),i.xp6(3),i.hij(" ",i.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[zt,Zi],pipes:[gt],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),n})();function QN(n,o){1&n&&(i.TgZ(0,"app-alert",8),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}let XN=(()=>{class n{constructor(e,t,s){this.authzService=e,this.dialog=t,this.translate=s,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new Di(null,[Ni.required]),this.passwordCtrl=new Di(null,[Ni.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(e=>{sessionStorage.setItem("baPrincipal",JSON.stringify(e)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Pi),i.Y36(on),i.Y36(Fi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-service-access"]],decls:28,vars:23,consts:[[1,"container","login-con","vo-theme","top-padding"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],["alert_type","error",4,"ngIf"],["appearance","outline"],["matInput","","required","",3,"formControl"],["matInput","","required","",3,"formControl","type"],["mat-raised-button","",1,"black",3,"disabled","click"],["alert_type","error"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"h2"),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,QN,3,3,"app-alert",3),i.TgZ(7,"mat-form-field",4),i.TgZ(8,"mat-label"),i._uU(9),i.ALo(10,"translate"),i.qZA(),i._UZ(11,"input",5),i.TgZ(12,"mat-error"),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.qZA(),i.TgZ(15,"mat-form-field",4),i.TgZ(16,"mat-label"),i._uU(17),i.ALo(18,"translate"),i.qZA(),i._UZ(19,"input",6),i.TgZ(20,"mat-error"),i._uU(21),i.ALo(22,"translate"),i.qZA(),i.qZA(),i.TgZ(23,"button",7),i.NdJ("click",function(){return t.startAuth()}),i._uU(24),i.ALo(25,"translate"),i.TgZ(26,"mat-icon"),i._uU(27," login "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.Oqu(i.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),i.xp6(2),i.Q6J("ngIf",t.wrongUsernameOrPassword),i.xp6(3),i.Oqu(i.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),i.xp6(2),i.Q6J("formControl",t.usernameCtrl),i.xp6(2),i.hij(" ",i.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),i.xp6(4),i.Oqu(i.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),i.xp6(2),i.Q6J("formControl",t.passwordCtrl)("type","password"),i.xp6(2),i.hij(" ",i.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),i.xp6(2),i.Q6J("disabled",t.usernameCtrl.invalid||t.passwordCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[b.O5,Oa,un,bo,rr,An,sr,Ss,nr,ka,zt,Zi],pipes:[gt],styles:[".top-padding[_ngcontent-%COMP%]{padding:120px 0}mat-form-field.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:250px}.black[_ngcontent-%COMP%]{background-color:#000;color:#fff}"]}),n})();function eB(n,o){1&n&&i.Hsn(0)}const bD=["*"];function tB(n,o){}const iB=function(n){return{animationDuration:n}},nB=function(n,o){return{value:n,params:o}},sB=["tabListContainer"],oB=["tabList"],rB=["tabListInner"],aB=["nextPaginator"],cB=["previousPaginator"],lB=["tabBodyWrapper"],uB=["tabHeader"];function dB(n,o){}function hB(n,o){if(1&n&&i.YNc(0,dB,0,0,"ng-template",10),2&n){const e=i.oxw().$implicit;i.Q6J("cdkPortalOutlet",e.templateLabel)}}function fB(n,o){if(1&n&&i._uU(0),2&n){const e=i.oxw().$implicit;i.Oqu(e.textLabel)}}function pB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",6),i.NdJ("click",function(){const s=i.CHM(e),a=s.$implicit,r=s.index,c=i.oxw(),d=i.MAs(1);return c._handleClick(a,d,r)})("cdkFocusChange",function(s){const r=i.CHM(e).index;return i.oxw()._tabFocusChanged(s,r)}),i.TgZ(1,"div",7),i.YNc(2,hB,1,1,"ng-template",8),i.YNc(3,fB,1,1,"ng-template",null,9,i.W1O),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.MAs(4),a=i.oxw();i.ekj("mat-tab-label-active",a.selectedIndex===t),i.Q6J("id",a._getTabLabelId(t))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||a.disableRipple),i.uIk("tabIndex",a._getTabIndex(e,t))("aria-posinset",t+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(t))("aria-selected",a.selectedIndex===t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),i.xp6(2),i.Q6J("ngIf",e.templateLabel)("ngIfElse",s)}}function gB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-tab-body",11),i.NdJ("_onCentered",function(){return i.CHM(e),i.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(s){return i.CHM(e),i.oxw()._setTabBodyWrapperHeight(s)}),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.ekj("mat-tab-body-active",s.selectedIndex===t),i.Q6J("id",s._getTabContentId(t))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",s.animationDuration),i.uIk("tabindex",null!=s.contentTabIndex&&s.selectedIndex===t?s.contentTabIndex:null)("aria-labelledby",s._getTabLabelId(t))}}const mB=new i.OlP("MatInkBarPositioner",{providedIn:"root",factory:function _B(){return o=>({left:o?(o.offsetLeft||0)+"px":"0",width:o?(o.offsetWidth||0)+"px":"0"})}});let wD=(()=>{class n{constructor(e,t,s,a){this._elementRef=e,this._ngZone=t,this._inkBarPositioner=s,this._animationMode=a}alignToElement(e){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(e))}):this._setStyles(e)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(e){const t=this._inkBarPositioner(e),s=this._elementRef.nativeElement;s.style.left=t.left,s.style.width=t.width}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(mB),i.Y36(Oi,8))},n.\u0275dir=i.lG2({type:n,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),n})();const AD=new i.OlP("MatTabContent");let yB=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTabContent",""]],features:[i._Bn([{provide:AD,useExisting:n}])]}),n})();const vD=new i.OlP("MatTabLabel"),CD=new i.OlP("MAT_TAB");let bB=(()=>{class n extends fv{constructor(e,t,s){super(e,t),this._closestTab=s}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(CD,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[i._Bn([{provide:vD,useExisting:n}]),i.qOj]}),n})();const wB=mo(class{}),TD=new i.OlP("MAT_TAB_GROUP");let MD=(()=>{class n extends wB{constructor(e,t){super(),this._viewContainerRef=e,this._closestTabGroup=t,this.textLabel="",this._contentPortal=null,this._stateChanges=new ke.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Ko(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(TD,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,vD,5),i.Suo(s,AD,7,i.Rgc)),2&e){let a;i.iGM(a=i.CRH())&&(t.templateLabel=a.first),i.iGM(a=i.CRH())&&(t._explicitContent=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,7),2&e){let s;i.iGM(s=i.CRH())&&(t._implicitContent=s.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[i._Bn([{provide:CD,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:bD,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.YNc(0,eB,1,0,"ng-template"))},encapsulation:2}),n})();const AB={translateTab:ni("translateTab",[yt("center, void, left-origin-center, right-origin-center",De({transform:"none"})),yt("left",De({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),yt("right",De({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),ht("* => left, * => right, left => center, right => center",dt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),ht("void => left-origin-center",[De({transform:"translate3d(-100%, 0, 0)"}),dt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),ht("void => right-origin-center",[De({transform:"translate3d(100%, 0, 0)"}),dt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let vB=(()=>{class n extends Er{constructor(e,t,s,a){super(e,t,a),this._host=s,this._centeringSub=q.w.EMPTY,this._leavingSub=q.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Ut(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36((0,i.Gpc)(()=>SD)),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTabBodyHost",""]],features:[i.qOj]}),n})(),CB=(()=>{class n{constructor(e,t,s){this._elementRef=e,this._dir=t,this._dirChangeSubscription=q.w.EMPTY,this._translateTabComplete=new ke.xQ,this._onCentering=new i.vpe,this._beforeCentering=new i.vpe,this._afterLeavingCenter=new i.vpe,this._onCentered=new i.vpe(!0),this.animationDuration="500ms",t&&(this._dirChangeSubscription=t.change.subscribe(a=>{this._computePositionAnimationState(a),s.markForCheck()})),this._translateTabComplete.pipe(ya((a,r)=>a.fromState===r.fromState&&a.toState===r.toState)).subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(ki,8),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n})(),SD=(()=>{class n extends CB{constructor(e,t,s){super(e,t,s)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(ki,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,t){if(1&e&&i.Gf(Er,5),2&e){let s;i.iGM(s=i.CRH())&&(t._portalHost=s.first)}},hostAttrs:[1,"mat-tab-body"],features:[i.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(i.TgZ(0,"div",0,1),i.NdJ("@translateTab.start",function(a){return t._onTranslateTabStarted(a)})("@translateTab.done",function(a){return t._translateTabComplete.next(a)}),i.YNc(2,tB,0,0,"ng-template",2),i.qZA()),2&e&&i.Q6J("@translateTab",i.WLB(3,nB,t._position,i.VKq(1,iB,t.animationDuration)))},directives:[vB],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[AB.translateTab]}}),n})();const kD=new i.OlP("MAT_TABS_CONFIG"),TB=mo(class{});let ED=(()=>{class n extends TB{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(i.uIk("aria-disabled",!!t.disabled),i.ekj("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[i.qOj]}),n})();const DD=Vo({passive:!0});let kB=(()=>{class n{constructor(e,t,s,a,r,c,d){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=s,this._dir=a,this._ngZone=r,this._platform=c,this._animationMode=d,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new ke.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new ke.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new i.vpe,this.indexFocused=new i.vpe,r.runOutsideAngular(()=>{co(e.nativeElement,"mouseleave").pipe(Ke(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Ii(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){co(this._previousPaginator.nativeElement,"touchstart",DD).pipe(Ke(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),co(this._nextPaginator.nativeElement,"touchstart",DD).pipe(Ke(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:(0,Ye.of)("ltr"),t=this._viewportRuler.change(150),s=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Cl(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(s):s(),(0,Ci.T)(e,t,this._items.changes).pipe(Ke(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(s)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(Ke(this._destroyed)).subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!bn(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const t=this._tabListContainer.nativeElement;t.scrollLeft="ltr"==this._getLayoutDirection()?0:t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,t="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(t)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const t=this._items?this._items.toArray()[e]:null;if(!t)return;const s=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:r}=t.elementRef.nativeElement;let c,d;"ltr"==this._getLayoutDirection()?(c=a,d=c+r):(d=this._tabListInner.nativeElement.offsetWidth-a,c=d-r);const h=this.scrollDistance,g=this.scrollDistance+s;cg&&(this.scrollDistance+=d-g+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&null!=t.button&&0!==t.button||(this._stopInterval(),QA(650,100).pipe(Ke((0,Ci.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:s,distance:a}=this._scrollHeader(e);(0===a||a>=s)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Go),i.Y36(ki,8),i.Y36(i.R0b),i.Y36(ti),i.Y36(Oi,8))},n.\u0275dir=i.lG2({type:n,inputs:{disablePagination:"disablePagination"}}),n})(),EB=(()=>{class n extends kB{constructor(e,t,s,a,r,c,d){super(e,t,s,a,r,c,d),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ne(e)}_itemSelected(e){e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Go),i.Y36(ki,8),i.Y36(i.R0b),i.Y36(ti),i.Y36(Oi,8))},n.\u0275dir=i.lG2({type:n,inputs:{disableRipple:"disableRipple"},features:[i.qOj]}),n})(),DB=(()=>{class n extends EB{constructor(e,t,s,a,r,c,d){super(e,t,s,a,r,c,d)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Go),i.Y36(ki,8),i.Y36(i.R0b),i.Y36(ti),i.Y36(Oi,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,ED,4),2&e){let a;i.iGM(a=i.CRH())&&(t._items=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(wD,7),i.Gf(sB,7),i.Gf(oB,7),i.Gf(rB,7),i.Gf(aB,5),i.Gf(cB,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._inkBar=s.first),i.iGM(s=i.CRH())&&(t._tabListContainer=s.first),i.iGM(s=i.CRH())&&(t._tabList=s.first),i.iGM(s=i.CRH())&&(t._tabListInner=s.first),i.iGM(s=i.CRH())&&(t._nextPaginator=s.first),i.iGM(s=i.CRH())&&(t._previousPaginator=s.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[i.qOj],ngContentSelectors:bD,decls:14,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(a){return t._handlePaginatorPress("before",a)})("touchend",function(){return t._stopInterval()}),i._UZ(2,"div",2),i.qZA(),i.TgZ(3,"div",3,4),i.NdJ("keydown",function(a){return t._handleKeydown(a)}),i.TgZ(5,"div",5,6),i.NdJ("cdkObserveContent",function(){return t._onContentChanges()}),i.TgZ(7,"div",7,8),i.Hsn(9),i.qZA(),i._UZ(10,"mat-ink-bar"),i.qZA(),i.qZA(),i.TgZ(11,"div",9,10),i.NdJ("mousedown",function(a){return t._handlePaginatorPress("after",a)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),i._UZ(13,"div",2),i.qZA()),2&e&&(i.ekj("mat-tab-header-pagination-disabled",t._disableScrollBefore),i.Q6J("matRippleDisabled",t._disableScrollBefore||t.disableRipple),i.xp6(5),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode),i.xp6(6),i.ekj("mat-tab-header-pagination-disabled",t._disableScrollAfter),i.Q6J("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[zn,og,wD],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),n})(),xB=0;class RB{}const PB=tr(_o(class{constructor(n){this._elementRef=n}}),"primary");let LB=(()=>{class n extends PB{constructor(e,t,s,a){var r;super(e),this._changeDetectorRef=t,this._animationMode=a,this._tabs=new i.n_E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=q.w.EMPTY,this._tabLabelSubscription=q.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new i.vpe,this.focusChange=new i.vpe,this.animationDone=new i.vpe,this.selectedTabChange=new i.vpe(!0),this._groupId=xB++,this.animationDuration=s&&s.animationDuration?s.animationDuration:"500ms",this.disablePagination=!(!s||null==s.disablePagination)&&s.disablePagination,this.dynamicHeight=!(!s||null==s.dynamicHeight)&&s.dynamicHeight,this.contentTabIndex=null!==(r=null==s?void 0:s.contentTabIndex)&&void 0!==r?r:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=Ne(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Ii(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=Ii(e,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const t=this._elementRef.nativeElement;t.classList.remove(`mat-background-${this.backgroundColor}`),e&&t.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const t=null==this._selectedIndex;if(!t){this.selectedTabChange.emit(this._createChangeEvent(e));const s=this._tabBodyWrapper.nativeElement;s.style.minHeight=s.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((s,a)=>s.isActive=a===e),t||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((t,s)=>{t.position=s-e,null!=this._selectedIndex&&0==t.position&&!t.origin&&(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let s=0;s{this._tabs.reset(e.filter(t=>t._closestTabGroup===this||!t._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const t=this._tabHeader;t&&(t.focusIndex=e)}_focusChanged(e){this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const t=new RB;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,Ci.T)(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,s){e.disabled||(this.selectedIndex=t.focusIndex=s)}_getTabIndex(e,t){return e.disabled?null:this.selectedIndex===t?0:-1}_tabFocusChanged(e,t){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(kD,8),i.Y36(Oi,8))},n.\u0275dir=i.lG2({type:n,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[i.qOj]}),n})(),IB=(()=>{class n extends LB{constructor(e,t,s,a){super(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(kD,8),i.Y36(Oi,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-group"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,MD,5),2&e){let a;i.iGM(a=i.CRH())&&(t._allTabs=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(lB,5),i.Gf(uB,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._tabBodyWrapper=s.first),i.iGM(s=i.CRH())&&(t._tabHeader=s.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-tab-group-dynamic-height",t.dynamicHeight)("mat-tab-group-inverted-header","below"===t.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[i._Bn([{provide:TD,useExisting:n}]),i.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-tab-header",0,1),i.NdJ("indexFocused",function(a){return t._focusChanged(a)})("selectFocusedIndex",function(a){return t.selectedIndex=a}),i.YNc(2,pB,5,15,"div",2),i.qZA(),i.TgZ(3,"div",3,4),i.YNc(5,gB,1,10,"mat-tab-body",5),i.qZA()),2&e&&(i.Q6J("selectedIndex",t.selectedIndex||0)("disableRipple",t.disableRipple)("disablePagination",t.disablePagination),i.xp6(2),i.Q6J("ngForOf",t._tabs),i.xp6(1),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode),i.xp6(2),i.Q6J("ngForOf",t._tabs))},directives:[DB,SD,b.sg,ED,zn,dg,b.mk,b.O5,Er],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),n})(),OB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,ot,uc,ds,id,jy],ot]}),n})();function HB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function FB(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.Oqu(i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.PUBLICATION"))}function zB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function NB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function BB(n,o){if(1&n&&(i.TgZ(0,"mat-option",36),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e.name," ")}}function YB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function jB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function UB(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.CHECK")," ")}function VB(n,o){1&n&&(i.TgZ(0,"div",28),i._UZ(1,"mat-spinner",5),i.TgZ(2,"h5",37),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(3),i.hij(" ",i.lcZ(4,1,"CREATE_SINGLE_PUBLICATION.CHECK_PERFORM")," "))}function qB(n,o){1&n&&(i.TgZ(0,"app-alert",38),i.TgZ(1,"div",28),i.TgZ(2,"span",39),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"span",40),i.TgZ(7,"mat-icon",41),i._uU(8,"fiber_manual_record"),i.qZA(),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.TgZ(11,"span",42),i.TgZ(12,"mat-icon",41),i._uU(13,"fiber_manual_record"),i.qZA(),i._uU(14),i.ALo(15,"translate"),i.qZA(),i.qZA(),i.qZA()),2&n&&(i.xp6(3),i.AsE(" ",i.lcZ(4,4,"CREATE_SINGLE_PUBLICATION.SIMILAR_FOUND"),". ",i.lcZ(5,6,"CREATE_SINGLE_PUBLICATION.CHECK_BELOW"),". "),i.xp6(6),i.hij(" ",i.lcZ(10,8,"CREATE_SINGLE_PUBLICATION.IS_BELOW")," "),i.xp6(5),i.hij(" ",i.lcZ(15,10,"CREATE_SINGLE_PUBLICATION.NOT_BELOW")," "))}function GB(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.Oqu(i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.CHECK"))}function KB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}const ZB=function(){return["id","lock","title","reportedBy","year","category","thankedTo","cite"]};function $B(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-publications-list",48),i.NdJ("publicationSelector",function(s){i.CHM(e),i.oxw(2);const a=i.MAs(1);return i.oxw(2).loadPublicationDetail(s,a)}),i.qZA()}if(2&n){const e=i.oxw(4);i.Q6J("displayedColumns",i.DdM(4,ZB))("disabledRouting",!0)("openInTab",!0)("publications",e.filteredPublications)}}function WB(n,o){if(1&n&&(i.TgZ(0,"div",46),i.YNc(1,KB,1,0,"mat-spinner",3),i.YNc(2,$B,1,5,"perun-web-apps-publications-list",47),i.qZA()),2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("ngIf",e.innerLoading),i.xp6(1),i.Q6J("ngIf",!e.innerLoading)}}function JB(n,o){if(1&n&&i._uU(0),2&n){const e=i.oxw(4);i.Oqu(e.selectedPubTitle)}}function QB(n,o){if(1&n&&(i.TgZ(0,"div",49),i._UZ(1,"perun-web-apps-publication-detail",50),i.qZA()),2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("publicationId",e.selectedPubId)}}function XB(n,o){1&n&&(i.TgZ(0,"mat-tab"),i.YNc(1,JB,1,1,"ng-template",44),i.YNc(2,QB,2,1,"ng-template",45),i.qZA())}function eY(n,o){if(1&n&&(i.TgZ(0,"mat-tab-group",null,43),i.TgZ(2,"mat-tab"),i.YNc(3,GB,2,3,"ng-template",44),i.YNc(4,WB,3,2,"ng-template",45),i.qZA(),i.YNc(5,XB,3,0,"mat-tab",14),i.qZA()),2&n){const e=i.oxw(2);i.xp6(5),i.Q6J("ngIf",null!==e.selectedPubId)}}function tY(n,o){1&n&&(i.TgZ(0,"div",28),i.TgZ(1,"mat-icon",51),i._uU(2,"check_circle"),i.qZA(),i.TgZ(3,"h5",52),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,"CREATE_SINGLE_PUBLICATION.NO_SIMILAR")," "))}function iY(n,o){1&n&&(i.TgZ(0,"button",34),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.PREV")," "))}function nY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",57),i.NdJ("click",function(){return i.CHM(e),i.oxw(3).redirect(["create-publication"])}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.RETURN")," "))}function sY(n,o){if(1&n&&(i.TgZ(0,"div",53),i.YNc(1,iY,3,3,"button",54),i.TgZ(2,"button",55),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.YNc(5,nY,3,3,"button",56),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",!e.duplicateCheck),i.xp6(2),i.hij(" ",i.lcZ(4,3,"CREATE_SINGLE_PUBLICATION.CREATE")," "),i.xp6(2),i.Q6J("ngIf",!e.duplicateCheck)}}function oY(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.AUTHORS")," ")}function rY(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function aY(n,o){if(1&n&&i._UZ(0,"perun-web-apps-add-authors",59),2&n){const e=i.oxw(3);i.Q6J("publication",e.publication)("selection",e.authorsSelection)}}function cY(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"app-alert",58),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,aY,1,2,"perun-web-apps-add-authors",33),i.qZA()),2&n){const e=i.oxw(2);i.xp6(2),i.Oqu(i.lcZ(3,2,"CREATE_SINGLE_PUBLICATION.PUB_CREATED")),i.xp6(2),i.Q6J("ngIf",null!==e.publication)}}function lY(n,o){1&n&&(i.TgZ(0,"button",34),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.PREV")," "))}function uY(n,o){if(1&n&&(i.TgZ(0,"div",25),i.YNc(1,lY,3,3,"button",54),i.TgZ(2,"button",60),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",!e.duplicateCheck),i.xp6(2),i.hij(" ",i.lcZ(4,2,"CREATE_SINGLE_PUBLICATION.NEXT")," ")}}function dY(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.THANKS")," ")}function hY(n,o){if(1&n&&i._UZ(0,"perun-web-apps-add-thanks",59),2&n){const e=i.oxw(2);i.Q6J("publication",e.publication)("selection",e.thanksSelection)}}function fY(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function pY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-horizontal-stepper",6),i.NdJ("selectionChange",function(s){return i.CHM(e),i.oxw().stepChanged(s)}),i.TgZ(1,"mat-step",7),i.YNc(2,FB,2,3,"ng-template",8),i.TgZ(3,"form",9),i.TgZ(4,"h5",10),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"div",11),i.TgZ(8,"mat-checkbox",12),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.TgZ(11,"mat-form-field"),i._UZ(12,"input",13),i.ALo(13,"translate"),i.YNc(14,zB,3,3,"mat-error",14),i.qZA(),i.TgZ(15,"mat-form-field",15),i.NdJ("click",function(){return i.CHM(e),i.MAs(22).open()}),i.TgZ(16,"mat-label"),i._uU(17),i.ALo(18,"translate"),i.qZA(),i._UZ(19,"input",16),i._UZ(20,"mat-datepicker-toggle",17),i.TgZ(21,"mat-datepicker",18,19),i.NdJ("yearSelected",function(s){i.CHM(e);const a=i.MAs(22);return i.oxw().chosenYearHandler(s,a)}),i.qZA(),i.YNc(23,NB,3,3,"mat-error",14),i.qZA(),i.TgZ(24,"mat-form-field"),i.TgZ(25,"mat-select",20),i.ALo(26,"translate"),i.YNc(27,BB,2,2,"mat-option",21),i.qZA(),i.YNc(28,YB,3,3,"mat-error",14),i.qZA(),i.TgZ(29,"mat-form-field"),i._UZ(30,"input",22),i.ALo(31,"translate"),i.qZA(),i.TgZ(32,"mat-form-field"),i._UZ(33,"input",23),i.ALo(34,"translate"),i.qZA(),i.TgZ(35,"mat-form-field"),i.TgZ(36,"textarea",24),i.ALo(37,"translate"),i._uU(38," "),i.qZA(),i.YNc(39,jB,3,3,"mat-error",14),i.qZA(),i.qZA(),i.qZA(),i.TgZ(40,"div",25),i.TgZ(41,"button",26),i._uU(42),i.ALo(43,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(44,"mat-step",27),i.YNc(45,UB,2,3,"ng-template",8),i.TgZ(46,"form",28),i.TgZ(47,"h5",10),i._uU(48),i.ALo(49,"translate"),i.qZA(),i.YNc(50,VB,5,3,"div",29),i.YNc(51,qB,16,12,"app-alert",30),i.YNc(52,eY,6,1,"mat-tab-group",14),i.YNc(53,tY,6,3,"div",29),i.qZA(),i.YNc(54,sY,6,5,"div",31),i.qZA(),i.TgZ(55,"mat-step"),i.YNc(56,oY,2,3,"ng-template",8),i.TgZ(57,"h5",10),i._uU(58),i.ALo(59,"translate"),i.qZA(),i.YNc(60,rY,1,0,"mat-spinner",3),i.YNc(61,cY,5,4,"div",14),i.YNc(62,uY,5,4,"div",32),i.qZA(),i.TgZ(63,"mat-step"),i.YNc(64,dY,2,3,"ng-template",8),i.TgZ(65,"h5",10),i._uU(66),i.ALo(67,"translate"),i.qZA(),i.YNc(68,hY,1,2,"perun-web-apps-add-thanks",33),i.YNc(69,fY,1,0,"mat-spinner",3),i.TgZ(70,"div",25),i.TgZ(71,"button",34),i._uU(72),i.ALo(73,"translate"),i.qZA(),i.TgZ(74,"button",35),i.NdJ("click",function(){i.CHM(e);const s=i.oxw();return s.redirect(["all-publications",s.publication.id])}),i._uU(75),i.ALo(76,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(22),t=i.oxw();i.xp6(1),i.Q6J("editable",!t.duplicateCheck)("stepControl",t.publicationControl),i.xp6(2),i.Q6J("formGroup",t.publicationControl),i.xp6(2),i.hij(" ",i.lcZ(6,37,"CREATE_SINGLE_PUBLICATION.PUB_INFO")," "),i.xp6(4),i.hij(" ",i.lcZ(10,39,"CREATE_SINGLE_PUBLICATION.ADD_MYSELF")," "),i.xp6(3),i.s9C("placeholder",i.lcZ(13,41,"CREATE_SINGLE_PUBLICATION.SET_TITLE")),i.xp6(2),i.Q6J("ngIf",t.publicationControl.hasError("required","title")),i.xp6(3),i.Oqu(i.lcZ(18,43,"CREATE_SINGLE_PUBLICATION.YEAR")),i.xp6(2),i.Q6J("max",t.maxYear)("matDatepicker",e),i.xp6(1),i.Q6J("for",e),i.xp6(3),i.Q6J("ngIf",t.publicationControl.hasError("required","year")),i.xp6(2),i.s9C("placeholder",i.lcZ(26,45,"CREATE_SINGLE_PUBLICATION.CATEGORY")),i.xp6(2),i.Q6J("ngForOf",t.categories),i.xp6(1),i.Q6J("ngIf",t.publicationControl.hasError("required","category")),i.xp6(2),i.s9C("placeholder",i.lcZ(31,47,"CREATE_SINGLE_PUBLICATION.ISBN")),i.xp6(3),i.s9C("placeholder",i.lcZ(34,49,"CREATE_SINGLE_PUBLICATION.DOI")),i.xp6(3),i.s9C("placeholder",i.lcZ(37,51,"CREATE_SINGLE_PUBLICATION.CITE")),i.xp6(3),i.Q6J("ngIf",t.publicationControl.hasError("required","cite")),i.xp6(2),i.Q6J("disabled",t.publicationControl.invalid),i.xp6(1),i.hij(" ",i.lcZ(43,53,"CREATE_SINGLE_PUBLICATION.NEXT")," "),i.xp6(2),i.Q6J("editable",!t.duplicateCheck),i.xp6(4),i.hij(" ",i.lcZ(49,55,"CREATE_SINGLE_PUBLICATION.SIMILARITY_CHECK")," "),i.xp6(2),i.Q6J("ngIf",t.innerLoading),i.xp6(1),i.Q6J("ngIf",!t.innerLoading&&!t.duplicateCheck),i.xp6(1),i.Q6J("ngIf",!t.innerLoading&&!t.duplicateCheck),i.xp6(1),i.Q6J("ngIf",!t.innerLoading&&t.duplicateCheck),i.xp6(1),i.Q6J("ngIf",!t.innerLoading),i.xp6(4),i.hij(" ",i.lcZ(59,57,"CREATE_SINGLE_PUBLICATION.ADD_AUTHORS")," "),i.xp6(2),i.Q6J("ngIf",t.innerLoading),i.xp6(1),i.Q6J("ngIf",!t.innerLoading),i.xp6(1),i.Q6J("ngIf",!t.innerLoading),i.xp6(4),i.hij(" ",i.lcZ(67,59,"CREATE_SINGLE_PUBLICATION.ADD_THANKS")," "),i.xp6(2),i.Q6J("ngIf",null!==t.publication),i.xp6(1),i.Q6J("ngIf",t.innerLoading),i.xp6(3),i.hij(" ",i.lcZ(73,61,"CREATE_SINGLE_PUBLICATION.PREV")," "),i.xp6(3),i.hij(" ",i.lcZ(76,63,"CREATE_SINGLE_PUBLICATION.FINISH")," ")}}const gY=np,mY={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let _Y=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this.formBuilder=e,this.cabinetService=t,this.dialog=s,this.router=a,this.notificator=r,this.translate=c,this.storeService=d,this.userService=h,this.similarPublications=[],this.filteredPublications=[],this.categories=[],this.publication=null,this.authorsSelection=new zi(!0,[]),this.thanksSelection=new zi(!0,[]),this.innerLoading=!1,this.loading=!1,this.duplicateCheck=!1,this.selectedPubId=null,this.selectedPubTitle=""}ngOnInit(){this.loading=!0,this.publicationControl=this.formBuilder.group({addAuthor:[!1],title:["",Ni.required],year:["",Ni.required],category:["",Ni.required],isbn:[""],doi:[""],cite:["",Ni.required]}),this.maxYear=gY(),this.cabinetService.getCategories().subscribe(e=>{this.categories=e,this.loading=!1})}chosenYearHandler(e,t){this.publicationControl.get("year").setValue(e),t.close()}createTimeout(){setTimeout(()=>{this.notificator.showSuccess(this.translate.instant("CREATE_SINGLE_PUBLICATION.SUCCESS")),this.duplicateCheck=!0,this.innerLoading=!1},1e3)}createPublication(){this.innerLoading=!0,this.duplicateCheck=!0;const e={publication:{title:this.publicationControl.get("title").value,categoryId:this.publicationControl.get("category").value.id,year:this.publicationControl.get("year").value.year(),isbn:this.publicationControl.get("isbn").value,doi:this.publicationControl.get("doi").value,main:this.publicationControl.get("cite").value}};this.userService.getRichUserWithAttributes(this.storeService.getPerunPrincipal().userId).subscribe(t=>{const s=t.userAttributes.filter(a=>"preferredMail"===a.friendlyName);0!==s.length&&(e.publication.createdBy=s[0].value),this.cabinetService.createPublication(e).subscribe(a=>{this.publication=a,this.publicationControl.get("addAuthor").value?this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:this.publication.id,userId:t.id}}).subscribe(()=>{this.createTimeout()},()=>this.innerLoading=!1):this.createTimeout()},()=>this.innerLoading=!1)},()=>this.innerLoading=!1)}similarCheck(){this.innerLoading=!0;const e=this.publicationControl.get("title").value?this.publicationControl.get("title").value:null,t=this.publicationControl.get("doi").value?this.publicationControl.get("doi").value:null,s=this.publicationControl.get("isbn").value?this.publicationControl.get("isbn").value:null;this.cabinetService.findSimilarPublications(e,t,s).subscribe(a=>{this.similarPublications=a,this.filteredPublications=a,setTimeout(()=>{this.duplicateCheck=0===a.length,this.innerLoading=!1},2e3)})}stepChanged(e){1===e.selectedIndex&&this.similarCheck(),2===e.selectedIndex&&null===this.publication&&this.createPublication()}redirect(e){this.router.navigate(e)}loadPublicationDetail(e,t){this.selectedPubId=e.id,this.selectedPubTitle=e.title,t.selectedIndex=1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(US),i.Y36(ai),i.Y36(on),i.Y36(yi),i.Y36(Nn),i.Y36(Fi),i.Y36(Mn),i.Y36(gs))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-create-single-publication-page"]],features:[i._Bn([{provide:Ti,useClass:g_,deps:[Ta]},{provide:Ts,useValue:mY}])],decls:9,vars:5,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"add-icon","mr-1"],["class","ml-auto mr-auto",4,"ngIf"],["linear","True",3,"selectionChange",4,"ngIf"],[1,"ml-auto","mr-auto"],["linear","True",3,"selectionChange"],[3,"editable","stepControl"],["matStepLabel",""],[3,"formGroup"],[1,"mt-2"],[1,"dialog-container","w-50"],["labelPosition","before","formControlName","addAuthor",1,"mt-3"],["matInput","","formControlName","title","required","",3,"placeholder"],[4,"ngIf"],[3,"click"],["matInput","","required","","formControlName","year","readonly","",1,"disable",3,"max","matDatepicker"],["matSuffix","",3,"for"],["startView","multi-year",3,"yearSelected"],["sdp",""],["required","","formControlName","category",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["matInput","","formControlName","isbn",3,"placeholder"],["matInput","","formControlName","doi",3,"placeholder"],["matInput","","formControlName","cite","required","",3,"placeholder"],[1,"mt-1"],["mat-stroked-button","","type","button","matStepperNext","",1,"ml-auto",3,"disabled"],[3,"editable"],[1,"flex-container"],["class","flex-container",4,"ngIf"],["class","w-100","alert_type","warn",4,"ngIf"],["class","mt-3",4,"ngIf"],["class","mt-1",4,"ngIf"],[3,"publication","selection",4,"ngIf"],["mat-stroked-button","","type","button","matStepperPrevious","",1,"ml-auto"],["mat-flat-button","","type","button","color","accent",1,"ml-2",3,"click"],[3,"value"],[1,"ml-auto","mr-auto","mt-1","font-weight-bold"],["alert_type","warn",1,"w-100"],[1,"font-weight-bold"],[1,"mt-2","ml-3"],[1,"dot-icon"],[1,"ml-3"],["similarPublicationTabs",""],["matTabLabel",""],["matTabContent",""],[1,"flex-container","mb-2"],[3,"displayedColumns","disabledRouting","openInTab","publications","publicationSelector",4,"ngIf"],[3,"displayedColumns","disabledRouting","openInTab","publications","publicationSelector"],[1,"mt-4"],[3,"publicationId"],[1,"ml-auto","mr-auto","passed-icon"],[1,"ml-auto","mr-auto","font-weight-bold"],[1,"mt-3"],["class","ml-auto","mat-stroked-button","","type","button","matStepperPrevious","",4,"ngIf"],["mat-flat-button","","color","accent","type","button","matStepperNext","",1,"ml-2"],["class","ml-2","mat-stroked-button","","type","button",3,"click",4,"ngIf"],["mat-stroked-button","","type","button",1,"ml-2",3,"click"],["alert_type","info"],[3,"publication","selection"],["mat-stroked-button","","type","button","matStepperNext","",1,"ml-2"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"span"),i.TgZ(3,"mat-icon",2),i._uU(4,"add_box"),i.qZA(),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,HB,1,0,"mat-spinner",3),i.YNc(8,pY,77,65,"mat-horizontal-stepper",4),i.qZA()),2&e&&(i.xp6(5),i.hij(" ",i.lcZ(6,3,"CREATE_SINGLE_PUBLICATION.TITLE")," "),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Zi,b.O5,vn,ME,CE,MA,Dc,Ew,ou,pu,Ss,Gm,un,rr,An,sr,ka,bo,p_,iM,Sd,tM,jd,b.sg,Bl,zt,hI,nu,Oa,IB,MD,bB,yB,tp,__,fI,VE,qE],pipes:[gt],styles:[".add-icon[_ngcontent-%COMP%]{font-size:32px;vertical-align:text-top}.dot-icon[_ngcontent-%COMP%]{font-size:small;vertical-align:-1px}.passed-icon[_ngcontent-%COMP%]{font-size:130px;color:#288619;margin-bottom:130px;padding-right:120px}.flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function yY(n,o){if(1&n&&(i.TgZ(0,"mat-option",14),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.Oqu(e.friendlyName)}}function bY(n,o){1&n&&(i.TgZ(0,"app-alert",15),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.INFO")," "))}function wY(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",16),2&n){const e=i.oxw(2);i.Q6J("publications",e.publications)("displayedColumns",e.displayedColumns)("selection",e.selected)("tableId",e.tableId)("disabledRouting",!0)("allowAlert",e.firstSearchDone)}}function AY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div"),i.TgZ(2,"mat-form-field",5),i.TgZ(3,"mat-label"),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"mat-select",6),i.NdJ("closed",function(){return i.CHM(e),i.oxw().selectPubSystem()}),i.YNc(7,yY,2,2,"mat-option",7),i.qZA(),i.qZA(),i._UZ(8,"perun-web-apps-year-range",8),i.TgZ(9,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().searchPublications()}),i.TgZ(10,"mat-icon"),i._uU(11,"search"),i.qZA(),i._uU(12),i.ALo(13,"translate"),i.qZA(),i.TgZ(14,"button",10),i.NdJ("click",function(){i.CHM(e);const s=i.oxw();return s.importPublications(s.selected.selected)}),i._uU(15),i.ALo(16,"translate"),i.qZA(),i.TgZ(17,"mat-checkbox",11),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().userAsAuthor=s}),i._uU(18),i.ALo(19,"translate"),i.qZA(),i.qZA(),i.YNc(20,bY,3,3,"app-alert",12),i.YNc(21,wY,1,6,"perun-web-apps-publications-list",13),i.qZA()}if(2&n){const e=i.oxw();i.xp6(4),i.Oqu(i.lcZ(5,12,"IMPORT_PUBLICATIONS.EXT_PUB_SYSTEM")),i.xp6(2),i.Q6J("formControl",e.pubSystem),i.xp6(1),i.Q6J("ngForOf",e.publicationSystems),i.xp6(1),i.Q6J("startYear",e.startYear)("endYear",e.endYear),i.xp6(4),i.hij(" ",i.lcZ(13,14,"IMPORT_PUBLICATIONS.SEARCH")," "),i.xp6(2),i.Q6J("disabled",0===e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(16,16,"IMPORT_PUBLICATIONS.IMPORT")," "),i.xp6(2),i.Q6J("ngModel",e.userAsAuthor),i.xp6(1),i.hij(" ",i.lcZ(19,18,"IMPORT_PUBLICATIONS.ADD_MYSELF")," "),i.xp6(2),i.Q6J("ngIf",!e.firstSearchDone),i.xp6(1),i.Q6J("ngIf",!e.loading)}}function vY(n,o){1&n&&i._UZ(0,"mat-spinner",17)}function CY(n,o){1&n&&(i.TgZ(0,"i"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.NOT_CHECKED")," "))}function TY(n,o){1&n&&(i.TgZ(0,"mat-icon",28),i._uU(1,"check_circle"),i.qZA())}function MY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",29),i.NdJ("click",function(){i.CHM(e);const s=i.oxw(),a=s.$implicit,r=s.index;return i.oxw(2).completePublication(a.id,r)}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.CHECKED_BUTTON")," "))}function SY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",30),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw(2).incompletePublication(s.id)}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.NOT_CHECKED_BUTTON")," "))}function kY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",22),i.TgZ(1,"mat-expansion-panel-header",23),i.NdJ("click",function(){const a=i.CHM(e).index;return i.oxw(2).editPublication(a)}),i.TgZ(2,"mat-panel-title"),i._uU(3),i.YNc(4,CY,3,3,"i",3),i.YNc(5,TY,2,0,"mat-icon",24),i.qZA(),i.qZA(),i._UZ(6,"perun-web-apps-publication-detail",25),i.TgZ(7,"div",26),i.YNc(8,MY,3,3,"button",20),i.YNc(9,SY,3,3,"button",27),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw(2);i.Q6J("expanded",s.indexExpanded===t),i.xp6(3),i.hij(" ",e.title," "),i.xp6(1),i.Q6J("ngIf",!s.completePublications.includes(e.id)),i.xp6(1),i.Q6J("ngIf",s.completePublications.includes(e.id)),i.xp6(1),i.Q6J("publicationId",e.id),i.xp6(2),i.Q6J("ngIf",!s.completePublications.includes(e.id)),i.xp6(1),i.Q6J("ngIf",s.completePublications.includes(e.id))}}function EY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",29),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).completeAllPublications()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.CHECK_ALL")," "))}function DY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",31),i.ALo(1,"translate"),i.TgZ(2,"button",32),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).onSubmit()}),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.s9C("matTooltip",i.lcZ(1,4,"IMPORT_PUBLICATIONS.SUBMIT_TOOLTIP")),i.Q6J("matTooltipPosition","above")("matTooltipDisabled",e.completePublications.length===e.importedPublications.length),i.xp6(3),i.hij(" ",i.lcZ(4,6,"IMPORT_PUBLICATIONS.FINISH")," ")}}function xY(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"app-alert",15),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"mat-accordion"),i.YNc(5,kY,10,7,"mat-expansion-panel",18),i.qZA(),i.TgZ(6,"div",19),i.YNc(7,EY,3,3,"button",20),i.qZA(),i.YNc(8,DY,5,8,"div",21),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,4,"IMPORT_PUBLICATIONS.IMPORTED_INFO")," "),i.xp6(3),i.Q6J("ngForOf",e.importedPublications),i.xp6(2),i.Q6J("ngIf",e.completePublications.length!==e.importedPublications.length),i.xp6(1),i.Q6J("ngIf",e.completePublications.length===e.importedPublications.length)}}const RD=np,RY={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}},PY=[{path:"",redirectTo:"all-publications",pathMatch:"full"},{path:"login",component:JN},{path:"service-access",component:XN},{path:"all-publications",component:KO},{path:"my-publications",component:JO},{path:"create-publication",component:QO},{path:"create-publication/import",component:(()=>{class n{constructor(e,t,s,a,r,c){this.cabinetService=e,this.storeService=t,this.notificator=s,this.translate=a,this.router=r,this.dialog=c,this.loading=!1,this.publicationSystems=[],this.pubSystem=new Di,this.publications=[],this.selected=new zi(!0,[]),this.tableId="74",this.displayedColumns=["select","id","lock","title","reportedBy","year","category"],this.userAsAuthor=!0,this.importedPublications=[],this.importDone=!1,this.completePublications=[]}ngOnInit(){this.loading=!0,this.firstSearchDone=!1,this.userId=this.storeService.getPerunPrincipal().user.id,this.startYear=new Di(RD().subtract(1,"year")),this.endYear=new Di(RD()),this.cabinetService.getPublicationSystems().subscribe(e=>{this.publicationSystems=e.filter(t=>"INTERNAL"!==t.friendlyName),this.pubSystem.setValue(this.publicationSystems[0]),this.pubSystemNamespace=this.pubSystem.value.loginNamespace,this.loading=!1})}selectPubSystem(){this.pubSystemNamespace=this.pubSystem.value.loginNamespace}searchPublications(){this.loading=!0,this.firstSearchDone=!0,this.cabinetService.findExternalPublications(this.storeService.getPerunPrincipal().user.id,this.startYear.value.year(),this.endYear.value.year(),this.pubSystemNamespace).subscribe(e=>{this.publications=e,this.loading=!1},()=>this.loading=!1)}importPublications(e){if(this.loading=!0,0===e.length)return this.notificator.showSuccess(this.translate.instant("IMPORT_PUBLICATIONS.SUCCESS")),this.importDone=!0,this.indexExpanded=0,void(this.loading=!1);const t=e.shift();this.cabinetService.createPublication({publication:{title:t.title,categoryId:t.categoryId,year:t.year,isbn:t.isbn,doi:t.doi,main:t.main}}).subscribe(a=>{this.userAsAuthor?this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:a.id,userId:this.userId}}).subscribe(()=>{this.importedPublications.push(a),this.importPublications(e)},()=>this.loading=!1):(this.importedPublications.push(a),this.importPublications(e))},()=>this.loading=!1)}editPublication(e){this.indexExpanded=e===this.indexExpanded?-1:e}completePublication(e,t){this.completePublications.includes(e)||this.completePublications.push(e),this.indexExpanded=t!==this.importedPublications.length-1?t+1:-1}incompletePublication(e){this.completePublications.includes(e)&&(this.completePublications=this.completePublications.filter(t=>t!==e)),this.indexExpanded=-1}completeAllPublications(){const e=Qn();e.width="500px",e.data={theme:"user-theme",message:this.translate.instant("IMPORT_PUBLICATIONS.CHECK_ALL_MESSAGE")},this.dialog.open(fR,e).afterClosed().subscribe(s=>{s&&this.onSubmit()})}onSubmit(){this.notificator.showSuccess(this.translate.instant("IMPORT_PUBLICATIONS.SHOW_FINISH")),this.router.navigate(["/my-publications"])}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai),i.Y36(Mn),i.Y36(Nn),i.Y36(Fi),i.Y36(yi),i.Y36(on))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-import-publications-page"]],features:[i._Bn([{provide:Ti,useClass:g_,deps:[Ta]},{provide:Ts,useValue:RY}])],decls:10,vars:6,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"add-icon","mr-1"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"input-width-300","mr-2"],[3,"formControl","closed"],["class","group-theme",3,"value",4,"ngFor","ngForOf"],[3,"startYear","endYear"],["mat-stroked-button","",1,"left-space",3,"click"],["mat-flat-button","","color","accent",1,"left-space",3,"disabled","click"],[1,"mt-3","left-space",3,"ngModel","ngModelChange"],["alert_type","info",4,"ngIf"],[3,"publications","displayedColumns","selection","tableId","disabledRouting","allowAlert",4,"ngIf"],[1,"group-theme",3,"value"],["alert_type","info"],[3,"publications","displayedColumns","selection","tableId","disabledRouting","allowAlert"],[1,"ml-auto","mr-auto"],[3,"expanded",4,"ngFor","ngForOf"],[1,"right-button"],["mat-flat-button","","class","width-100","color","accent",3,"click",4,"ngIf"],["class","right-button",3,"matTooltip","matTooltipPosition","matTooltipDisabled",4,"ngIf"],[3,"expanded"],[3,"click"],["color","accent","class","checked-icon",4,"ngIf"],[3,"publicationId"],[1,"fit-content"],["mat-stroked-button","","class","width-100",3,"click",4,"ngIf"],["color","accent",1,"checked-icon"],["mat-flat-button","","color","accent",1,"width-100",3,"click"],["mat-stroked-button","",1,"width-100",3,"click"],[1,"right-button",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"span"),i.TgZ(3,"mat-icon",2),i._uU(4,"add_box"),i.qZA(),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,AY,22,20,"div",3),i.YNc(8,vY,1,0,"mat-spinner",4),i.YNc(9,xY,9,6,"div",3),i.qZA()),2&e&&(i.xp6(5),i.hij(" ",i.lcZ(6,4,"IMPORT_PUBLICATIONS.TITLE")," "),i.xp6(2),i.Q6J("ngIf",!t.importDone),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",t.importDone))},directives:[Zi,b.O5,un,bo,jd,Ss,nr,b.sg,Bl,YE,zt,pu,Da,Oa,tp,vn,xL,hE,fE,DL,__,uu],pipes:[gt],styles:[".input-width-300[_ngcontent-%COMP%]{width:300px}.left-space[_ngcontent-%COMP%]{margin-left:10px}mat-panel-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:5px}.checked-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-left:5px}.right-button[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;margin-top:20px;margin-left:auto;margin-right:0}.fit-content[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;margin-top:15px}.width-100[_ngcontent-%COMP%]{width:100%}"]}),n})()},{path:"create-publication/create",component:_Y},{path:"authors",component:TH},{path:"authors/:authorId",component:E2},{path:"authors/:authorId/publication/:publicationId",component:__},{path:"all-publications/:publicationId",component:__},{path:"my-publications/:publicationId",component:__},{path:"categories",component:a2},{path:"publication-systems",component:T2}];let LY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Bs.forRoot(PY,{preloadingStrategy:_t,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],Bs]}),n})();const IY={provide:D.TP,useExisting:(0,i.Gpc)(()=>Sk),multi:!0};function OY(n){return new $P(n,"./assets/i18n/",".json")}function HY(n){const o={basePath:n.get("api_url")};return new qe(o)}const FY=n=>()=>n.loadConfigs();let zY=(()=>{class n{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Mk),i.LFG(Fi))},n.\u0275mod=i.oAB({type:n,bootstrap:[ZP]}),n.\u0275inj=i.cJS({providers:[Mk,{provide:i.ip1,useFactory:FY,multi:!0,deps:[QP]},{provide:qe,useFactory:HY,deps:[Mn]},Sk,IY,{provide:XP,useClass:K1},jO],imports:[[So,vd.forRoot({loader:{provide:Sc,useFactory:OY,deps:[D.eN]}}),Db,FE,eL,Xd,D.JF,LY,cM,Ek,WN,OB,Ak,Kb.zr.forRoot(),mD]]}),n})();(0,i.G48)(),Mo().bootstrapModule(zY).catch(n=>console.error(n))},1302:function(Y,U,w){var b;!function(i,T){var v={};!function(i){"use strict";i.__esModule=!0,i.digestLength=32,i.blockSize=64;var T=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function v(X,re,ee,ae,de){for(var Ie,He,Ge,xt,St,We,rn,wt,ft,ue,fe,_e,me;de>=64;){for(Ie=re[0],He=re[1],Ge=re[2],xt=re[3],St=re[4],We=re[5],rn=re[6],wt=re[7],ue=0;ue<16;ue++)X[ue]=(255&ee[fe=ae+4*ue])<<24|(255&ee[fe+1])<<16|(255&ee[fe+2])<<8|255&ee[fe+3];for(ue=16;ue<64;ue++)X[ue]=((_e=((ft=X[ue-2])>>>17|ft<<15)^(ft>>>19|ft<<13)^ft>>>10)+X[ue-7]|0)+((me=((ft=X[ue-15])>>>7|ft<<25)^(ft>>>18|ft<<14)^ft>>>3)+X[ue-16]|0);for(ue=0;ue<64;ue++)_e=(((St>>>6|St<<26)^(St>>>11|St<<21)^(St>>>25|St<<7))+(St&We^~St&rn)|0)+(wt+(T[ue]+X[ue]|0)|0)|0,me=((Ie>>>2|Ie<<30)^(Ie>>>13|Ie<<19)^(Ie>>>22|Ie<<10))+(Ie&He^Ie&Ge^He&Ge)|0,wt=rn,rn=We,We=St,St=xt+_e|0,xt=Ge,Ge=He,He=Ie,Ie=_e+me|0;re[0]+=Ie,re[1]+=He,re[2]+=Ge,re[3]+=xt,re[4]+=St,re[5]+=We,re[6]+=rn,re[7]+=wt,ae+=64,de-=64}return ae}var C=function(){function X(){this.digestLength=i.digestLength,this.blockSize=i.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return X.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},X.prototype.clean=function(){for(var re=0;re0){for(;this.bufferLength<64&&ee>0;)this.buffer[this.bufferLength++]=re[ae++],ee--;64===this.bufferLength&&(v(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ee>=64&&(ae=v(this.temp,this.state,re,ae,ee),ee%=64);ee>0;)this.buffer[this.bufferLength++]=re[ae++],ee--;return this},X.prototype.finish=function(re){if(!this.finished){var ee=this.bytesHashed,ae=this.bufferLength,de=ee/536870912|0,Ie=ee<<3,He=ee%64<56?64:128;this.buffer[ae]=128;for(var Ge=ae+1;Ge>>24&255,this.buffer[He-7]=de>>>16&255,this.buffer[He-6]=de>>>8&255,this.buffer[He-5]=de>>>0&255,this.buffer[He-4]=Ie>>>24&255,this.buffer[He-3]=Ie>>>16&255,this.buffer[He-2]=Ie>>>8&255,this.buffer[He-1]=Ie>>>0&255,v(this.temp,this.state,this.buffer,0,He),this.finished=!0}for(Ge=0;Ge<8;Ge++)re[4*Ge+0]=this.state[Ge]>>>24&255,re[4*Ge+1]=this.state[Ge]>>>16&255,re[4*Ge+2]=this.state[Ge]>>>8&255,re[4*Ge+3]=this.state[Ge]>>>0&255;return this},X.prototype.digest=function(){var re=new Uint8Array(this.digestLength);return this.finish(re),re},X.prototype._saveState=function(re){for(var ee=0;eethis.blockSize)(new C).update(re).finish(ee).clean();else for(var ae=0;ae1&&re.update(X),ee&&re.update(ee),re.update(ae),re.finish(X),ae[0]++}i.HMAC=E,i.hash=R,i.default=R,i.hmac=H;var N=new Uint8Array(i.digestLength);i.hkdf=function G(X,re,ee,ae){void 0===re&&(re=N),void 0===ae&&(ae=32);for(var de=new Uint8Array([1]),Ie=H(re,X),He=new E(Ie),Ge=new Uint8Array(He.digestLength),xt=Ge.length,St=new Uint8Array(ae),We=0;We>>24&255,He[1]=rn>>>16&255,He[2]=rn>>>8&255,He[3]=rn>>>0&255,de.reset(),de.update(re),de.update(He),de.finish(xt);for(var wt=0;wt=G.status}function E(N){try{N.dispatchEvent(new MouseEvent("click"))}catch(J){var G=document.createEvent("MouseEvents");G.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),N.dispatchEvent(G)}}var R="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,H=R.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),B=R.saveAs||("object"!=typeof window||window!==R?function(){}:"download"in HTMLAnchorElement.prototype&&!H?function(N,G,J){var X=R.URL||R.webkitURL,re=document.createElement("a");re.download=G=G||N.name||"download",re.rel="noopener","string"==typeof N?(re.href=N,re.origin===location.origin?E(re):C(re.href)?v(N,G,J):E(re,re.target="_blank")):(re.href=X.createObjectURL(N),setTimeout(function(){X.revokeObjectURL(re.href)},4e4),setTimeout(function(){E(re)},0))}:"msSaveOrOpenBlob"in navigator?function(N,G,J){if(G=G||N.name||"download","string"!=typeof N)navigator.msSaveOrOpenBlob(function T(N,G){return void 0===G?G={autoBom:!1}:"object"!=typeof G&&(console.warn("Deprecated: Expected third argument to be a object"),G={autoBom:!G}),G.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(N.type)?new Blob(["\ufeff",N],{type:N.type}):N}(N,J),G);else if(C(N))v(N,G,J);else{var X=document.createElement("a");X.href=N,X.target="_blank",setTimeout(function(){E(X)})}}:function(N,G,J,X){if((X=X||open("","_blank"))&&(X.document.title=X.document.body.innerText="downloading..."),"string"==typeof N)return v(N,G,J);var re="application/octet-stream"===N.type,ee=/constructor/i.test(R.HTMLElement)||R.safari,ae=/CriOS\/[\d]+/.test(navigator.userAgent);if((ae||re&&ee||H)&&"undefined"!=typeof FileReader){var de=new FileReader;de.onloadend=function(){var Ge=de.result;Ge=ae?Ge:Ge.replace(/^data:[^;]*;/,"data:attachment/file;"),X?X.location.href=Ge:location=Ge,X=null},de.readAsDataURL(N)}else{var Ie=R.URL||R.webkitURL,He=Ie.createObjectURL(N);X?X.location=He:location.href=He,X=null,setTimeout(function(){Ie.revokeObjectURL(He)},4e4)}});R.saveAs=B.saveAs=B,Y.exports=B}.apply(U,[]))&&(Y.exports=i)},7088:function(Y,U,w){!function(b){"use strict";b.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(T){return/^nm$/i.test(T)},meridiem:function(T,v,C){return T<12?C?"vm":"VM":C?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(T){return T+(1===T||8===T||T>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},2502:function(Y,U,w){!function(b){"use strict";var i=function(R){return 0===R?0:1===R?1:2===R?2:R%100>=3&&R%100<=10?3:R%100>=11?4:5},T={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},v=function(R){return function(H,B,N,G){var J=i(H),X=T[R][i(H)];return 2===J&&(X=X[B?0:1]),X.replace(/%d/i,H)}},C=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];b.defineLocale("ar-dz",{months:C,monthsShort:C,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(R){return"\u0645"===R},meridiem:function(R,H,B){return R<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:v("s"),ss:v("s"),m:v("m"),mm:v("m"),h:v("h"),hh:v("h"),d:v("d"),dd:v("d"),M:v("M"),MM:v("M"),y:v("y"),yy:v("y")},postformat:function(R){return R.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(w(5439))},128:function(Y,U,w){!function(b){"use strict";b.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(w(5439))},4519:function(Y,U,w){!function(b){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},T=function(H){return 0===H?0:1===H?1:2===H?2:H%100>=3&&H%100<=10?3:H%100>=11?4:5},v={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},C=function(H){return function(B,N,G,J){var X=T(B),re=v[H][T(B)];return 2===X&&(re=re[N?0:1]),re.replace(/%d/i,B)}},E=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];b.defineLocale("ar-ly",{months:E,monthsShort:E,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(H){return"\u0645"===H},meridiem:function(H,B,N){return H<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:C("s"),ss:C("s"),m:C("m"),mm:C("m"),h:C("h"),hh:C("h"),d:C("d"),dd:C("d"),M:C("M"),MM:C("M"),y:C("y"),yy:C("y")},preparse:function(H){return H.replace(/\u060c/g,",")},postformat:function(H){return H.replace(/\d/g,function(B){return i[B]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},5443:function(Y,U,w){!function(b){"use strict";b.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(w(5439))},7642:function(Y,U,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};b.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(C){return"\u0645"===C},meridiem:function(C,E,R){return C<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(E){return T[E]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(w(5439))},8592:function(Y,U,w){!function(b){"use strict";b.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(w(5439))},7038:function(Y,U,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},v=function(B){return 0===B?0:1===B?1:2===B?2:B%100>=3&&B%100<=10?3:B%100>=11?4:5},C={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},E=function(B){return function(N,G,J,X){var re=v(N),ee=C[B][v(N)];return 2===re&&(ee=ee[G?0:1]),ee.replace(/%d/i,N)}},R=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];b.defineLocale("ar",{months:R,monthsShort:R,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(B){return"\u0645"===B},meridiem:function(B,N,G){return B<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:E("s"),ss:E("s"),m:E("m"),mm:E("m"),h:E("h"),hh:E("h"),d:E("d"),dd:E("d"),M:E("M"),MM:E("M"),y:E("y"),yy:E("y")},preparse:function(B){return B.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(N){return T[N]}).replace(/\u060c/g,",")},postformat:function(B){return B.replace(/\d/g,function(N){return i[N]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},1213:function(Y,U,w){!function(b){"use strict";var i={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};b.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(v){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(v)},meridiem:function(v,C,E){return v<4?"gec\u0259":v<12?"s\u0259h\u0259r":v<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(v){if(0===v)return v+"-\u0131nc\u0131";var C=v%10;return v+(i[C]||i[v%100-C]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9191:function(Y,U,w){!function(b){"use strict";function T(C,E,R){return"m"===R?E?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===R?E?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":C+" "+function i(C,E){var R=C.split("_");return E%10==1&&E%100!=11?R[0]:E%10>=2&&E%10<=4&&(E%100<10||E%100>=20)?R[1]:R[2]}({ss:E?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:E?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:E?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[R],+C)}b.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:T,mm:T,h:T,hh:T,d:"\u0434\u0437\u0435\u043d\u044c",dd:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(C){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(C)},meridiem:function(C,E,R){return C<4?"\u043d\u043e\u0447\u044b":C<12?"\u0440\u0430\u043d\u0456\u0446\u044b":C<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(C,E){switch(E){case"M":case"d":case"DDD":case"w":case"W":return C%10!=2&&C%10!=3||C%100==12||C%100==13?C+"-\u044b":C+"-\u0456";case"D":return C+"-\u0433\u0430";default:return C}},week:{dow:1,doy:7}})}(w(5439))},322:function(Y,U,w){!function(b){"use strict";b.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(T){var v=T%10,C=T%100;return 0===T?T+"-\u0435\u0432":0===C?T+"-\u0435\u043d":C>10&&C<20?T+"-\u0442\u0438":1===v?T+"-\u0432\u0438":2===v?T+"-\u0440\u0438":7===v||8===v?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},8042:function(Y,U,w){!function(b){"use strict";b.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(w(5439))},5903:function(Y,U,w){!function(b){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};b.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===E?C<4?C:C+12:"\u09ad\u09cb\u09b0"===E||"\u09b8\u0995\u09be\u09b2"===E?C:"\u09a6\u09c1\u09aa\u09c1\u09b0"===E?C>=3?C:C+12:"\u09ac\u09bf\u0995\u09be\u09b2"===E||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u09b0\u09be\u09a4":C<6?"\u09ad\u09cb\u09b0":C<12?"\u09b8\u0995\u09be\u09b2":C<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<18?"\u09ac\u09bf\u0995\u09be\u09b2":C<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9620:function(Y,U,w){!function(b){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};b.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===E&&C>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===E&&C<5||"\u09ac\u09bf\u0995\u09be\u09b2"===E?C+12:C},meridiem:function(C,E,R){return C<4?"\u09b0\u09be\u09a4":C<10?"\u09b8\u0995\u09be\u09b2":C<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9645:function(Y,U,w){!function(b){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},T={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};b.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(C){return C.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===E&&C>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===E&&C<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===E?C+12:C},meridiem:function(C,E,R){return C<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":C<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":C<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":C<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(w(5439))},5020:function(Y,U,w){!function(b){"use strict";function i(ee,ae,de){return ee+" "+function C(ee,ae){return 2===ae?function E(ee){var ae={m:"v",b:"v",d:"z"};return void 0===ae[ee.charAt(0)]?ee:ae[ee.charAt(0)]+ee.substring(1)}(ee):ee}({mm:"munutenn",MM:"miz",dd:"devezh"}[de],ee)}function v(ee){return ee>9?v(ee%10):ee}var R=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],H=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,X=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];b.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:X,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:X,monthsRegex:H,monthsShortRegex:H,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:R,longMonthsParse:R,shortMonthsParse:R,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:i,h:"un eur",hh:"%d eur",d:"un devezh",dd:i,M:"ur miz",MM:i,y:"ur bloaz",yy:function T(ee){switch(v(ee)){case 1:case 3:case 4:case 5:case 9:return ee+" bloaz";default:return ee+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(ee){return ee+(1===ee?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(ee){return"g.m."===ee},meridiem:function(ee,ae,de){return ee<12?"a.m.":"g.m."}})}(w(5439))},4792:function(Y,U,w){!function(b){"use strict";function i(v,C,E){var R=v+" ";switch(E){case"ss":return R+(1===v?"sekunda":2===v||3===v||4===v?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return R+(1===v?"minuta":2===v||3===v||4===v?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return R+(1===v?"sat":2===v||3===v||4===v?"sata":"sati");case"dd":return R+(1===v?"dan":"dana");case"MM":return R+(1===v?"mjesec":2===v||3===v||4===v?"mjeseca":"mjeseci");case"yy":return R+(1===v?"godina":2===v||3===v||4===v?"godine":"godina")}}b.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7980:function(Y,U,w){!function(b){"use strict";b.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(T,v){var C=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===v||"W"===v)&&(C="a"),T+C},week:{dow:1,doy:4}})}(w(5439))},7322:function(Y,U,w){!function(b){"use strict";var i={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},T="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),v=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],C=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function E(B){return B>1&&B<5&&1!=~~(B/10)}function R(B,N,G,J){var X=B+" ";switch(G){case"s":return N||J?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return N||J?X+(E(B)?"sekundy":"sekund"):X+"sekundami";case"m":return N?"minuta":J?"minutu":"minutou";case"mm":return N||J?X+(E(B)?"minuty":"minut"):X+"minutami";case"h":return N?"hodina":J?"hodinu":"hodinou";case"hh":return N||J?X+(E(B)?"hodiny":"hodin"):X+"hodinami";case"d":return N||J?"den":"dnem";case"dd":return N||J?X+(E(B)?"dny":"dn\xed"):X+"dny";case"M":return N||J?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return N||J?X+(E(B)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):X+"m\u011bs\xedci";case"y":return N||J?"rok":"rokem";case"yy":return N||J?X+(E(B)?"roky":"let"):X+"lety"}}b.defineLocale("cs",{months:i,monthsShort:T,monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:R,ss:R,m:R,mm:R,h:R,hh:R,d:R,dd:R,M:R,MM:R,y:R,yy:R},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},365:function(Y,U,w){!function(b){"use strict";b.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(T){return T+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(T)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(T)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(w(5439))},2092:function(Y,U,w){!function(b){"use strict";b.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(T){var C="";return T>20?C=40===T||50===T||60===T||80===T||100===T?"fed":"ain":T>0&&(C=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][T]),T+C},week:{dow:1,doy:4}})}(w(5439))},7387:function(Y,U,w){!function(b){"use strict";b.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9459:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return C?H[E][0]:H[E][1]}b.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3694:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return C?H[E][0]:H[E][1]}b.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},4307:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return C?H[E][0]:H[E][1]}b.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9659:function(Y,U,w){!function(b){"use strict";var i=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],T=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];b.defineLocale("dv",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(C){return"\u0789\u078a"===C},meridiem:function(C,E,R){return C<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(w(5439))},3460:function(Y,U,w){!function(b){"use strict";b.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(v,C){return v?"string"==typeof C&&/D/.test(C.substring(0,C.indexOf("MMMM")))?this._monthsGenitiveEl[v.month()]:this._monthsNominativeEl[v.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(v,C,E){return v>11?E?"\u03bc\u03bc":"\u039c\u039c":E?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(v){return"\u03bc"===(v+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(v,C){var E=this._calendarEl[v],R=C&&C.hours();return function i(v){return"undefined"!=typeof Function&&v instanceof Function||"[object Function]"===Object.prototype.toString.call(v)}(E)&&(E=E.apply(C)),E.replace("{}",R%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(w(5439))},4369:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:0,doy:4}})}(w(5439))},530:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")}})}(w(5439))},9998:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3391:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},5414:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")}})}(w(5439))},9615:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:0,doy:6}})}(w(5439))},1248:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3767:function(Y,U,w){!function(b){"use strict";b.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},4530:function(Y,U,w){!function(b){"use strict";b.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(T){return"p"===T.charAt(0).toLowerCase()},meridiem:function(T,v,C){return T>11?C?"p.t.m.":"P.T.M.":C?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(w(5439))},8944:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;b.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},9116:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;b.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(w(5439))},3609:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;b.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(w(5439))},6866:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;b.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(w(5439))},6725:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[v+"sekundi",v+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[v+" minuti",v+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[v+" tunni",v+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[v+" kuu",v+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[v+" aasta",v+" aastat"]};return C?H[E][2]?H[E][2]:H[E][1]:R?H[E][0]:H[E][1]}b.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:"%d p\xe4eva",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},7931:function(Y,U,w){!function(b){"use strict";b.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6417:function(Y,U,w){!function(b){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},T={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};b.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(C){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(C)},meridiem:function(C,E,R){return C<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/[\u06f0-\u06f9]/g,function(E){return T[E]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(w(5439))},944:function(Y,U,w){!function(b){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),T=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function v(R,H,B,N){var G="";switch(B){case"s":return N?"muutaman sekunnin":"muutama sekunti";case"ss":G=N?"sekunnin":"sekuntia";break;case"m":return N?"minuutin":"minuutti";case"mm":G=N?"minuutin":"minuuttia";break;case"h":return N?"tunnin":"tunti";case"hh":G=N?"tunnin":"tuntia";break;case"d":return N?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":G=N?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return N?"kuukauden":"kuukausi";case"MM":G=N?"kuukauden":"kuukautta";break;case"y":return N?"vuoden":"vuosi";case"yy":G=N?"vuoden":"vuotta"}return function C(R,H){return R<10?H?T[R]:i[R]:R}(R,N)+" "+G}b.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1766:function(Y,U,w){!function(b){"use strict";b.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(T){return T},week:{dow:1,doy:4}})}(w(5439))},5867:function(Y,U,w){!function(b){"use strict";b.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},6848:function(Y,U,w){!function(b){"use strict";b.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(T,v){switch(v){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}}})}(w(5439))},7773:function(Y,U,w){!function(b){"use strict";b.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(T,v){switch(v){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},1636:function(Y,U,w){!function(b){"use strict";var v=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,C=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];b.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:C,longMonthsParse:C,shortMonthsParse:C,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(R,H){switch(H){case"D":return R+(1===R?"er":"");default:case"M":case"Q":case"DDD":case"d":return R+(1===R?"er":"e");case"w":case"W":return R+(1===R?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},4940:function(Y,U,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),T="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");b.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(C,E){return C?/-MMM-/.test(E)?T[C.month()]:i[C.month()]:i},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(C){return C+(1===C||8===C||C>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1402:function(Y,U,w){!function(b){"use strict";b.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(H){return H+(1===H?"d":H%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6924:function(Y,U,w){!function(b){"use strict";b.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(H){return H+(1===H?"d":H%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6398:function(Y,U,w){!function(b){"use strict";b.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(T){return 0===T.indexOf("un")?"n"+T:"en "+T},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},2457:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[v+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",v+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[v+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",v+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[v+" \u0935\u0930\u093e\u0902\u0928\u0940",v+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[v+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",v+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[v+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",v+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[v+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",v+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return R?H[E][0]:H[E][1]}b.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(v,C){return"D"===C?v+"\u0935\u0947\u0930":v},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(v,C){return 12===v&&(v=0),"\u0930\u093e\u0924\u0940"===C?v<4?v:v+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===C?v:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===C?v>12?v:v+12:"\u0938\u093e\u0902\u091c\u0947"===C?v+12:void 0},meridiem:function(v,C,E){return v<4?"\u0930\u093e\u0924\u0940":v<12?"\u0938\u0915\u093e\u0933\u0940\u0902":v<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":v<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(w(5439))},2545:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={s:["thoddea sekondamni","thodde sekond"],ss:[v+" sekondamni",v+" sekond"],m:["eka mintan","ek minut"],mm:[v+" mintamni",v+" mintam"],h:["eka voran","ek vor"],hh:[v+" voramni",v+" voram"],d:["eka disan","ek dis"],dd:[v+" disamni",v+" dis"],M:["eka mhoinean","ek mhoino"],MM:[v+" mhoineamni",v+" mhoine"],y:["eka vorsan","ek voros"],yy:[v+" vorsamni",v+" vorsam"]};return R?H[E][0]:H[E][1]}b.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(v,C){return"D"===C?v+"er":v},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(v,C){return 12===v&&(v=0),"rati"===C?v<4?v:v+12:"sokallim"===C?v:"donparam"===C?v>12?v:v+12:"sanje"===C?v+12:void 0},meridiem:function(v,C,E){return v<4?"rati":v<12?"sokallim":v<16?"donparam":v<20?"sanje":"rati"}})}(w(5439))},2641:function(Y,U,w){!function(b){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},T={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};b.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(C){return C.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0ab0\u0abe\u0aa4"===E?C<4?C:C+12:"\u0ab8\u0ab5\u0abe\u0ab0"===E?C:"\u0aac\u0aaa\u0acb\u0ab0"===E?C>=10?C:C+12:"\u0ab8\u0abe\u0a82\u0a9c"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u0ab0\u0abe\u0aa4":C<10?"\u0ab8\u0ab5\u0abe\u0ab0":C<17?"\u0aac\u0aaa\u0acb\u0ab0":C<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(w(5439))},7536:function(Y,U,w){!function(b){"use strict";b.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(T){return 2===T?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":T+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(T){return 2===T?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":T+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(T){return 2===T?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":T+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(T){return 2===T?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":T%10==0&&10!==T?T+" \u05e9\u05e0\u05d4":T+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(T){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(T)},meridiem:function(T,v,C){return T<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":T<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":T<12?C?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":T<18?C?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(w(5439))},6335:function(Y,U,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},v=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];b.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:v,longMonthsParse:v,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(R){return R.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(H){return T[H]})},postformat:function(R){return R.replace(/\d/g,function(H){return i[H]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(R,H){return 12===R&&(R=0),"\u0930\u093e\u0924"===H?R<4?R:R+12:"\u0938\u0941\u092c\u0939"===H?R:"\u0926\u094b\u092a\u0939\u0930"===H?R>=10?R:R+12:"\u0936\u093e\u092e"===H?R+12:void 0},meridiem:function(R,H,B){return R<4?"\u0930\u093e\u0924":R<10?"\u0938\u0941\u092c\u0939":R<17?"\u0926\u094b\u092a\u0939\u0930":R<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(w(5439))},7458:function(Y,U,w){!function(b){"use strict";function i(v,C,E){var R=v+" ";switch(E){case"ss":return R+(1===v?"sekunda":2===v||3===v||4===v?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return R+(1===v?"minuta":2===v||3===v||4===v?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return R+(1===v?"sat":2===v||3===v||4===v?"sata":"sati");case"dd":return R+(1===v?"dan":"dana");case"MM":return R+(1===v?"mjesec":2===v||3===v||4===v?"mjeseca":"mjeseci");case"yy":return R+(1===v?"godina":2===v||3===v||4===v?"godine":"godina")}}b.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6540:function(Y,U,w){!function(b){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function T(E,R,H,B){var N=E;switch(H){case"s":return B||R?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return N+(B||R)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(B||R?" perc":" perce");case"mm":return N+(B||R?" perc":" perce");case"h":return"egy"+(B||R?" \xf3ra":" \xf3r\xe1ja");case"hh":return N+(B||R?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(B||R?" nap":" napja");case"dd":return N+(B||R?" nap":" napja");case"M":return"egy"+(B||R?" h\xf3nap":" h\xf3napja");case"MM":return N+(B||R?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(B||R?" \xe9v":" \xe9ve");case"yy":return N+(B||R?" \xe9v":" \xe9ve")}return""}function v(E){return(E?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}b.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(E){return"u"===E.charAt(1).toLowerCase()},meridiem:function(E,R,H){return E<12?!0===H?"de":"DE":!0===H?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return v.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return v.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3165:function(Y,U,w){!function(b){"use strict";b.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(T){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(T)},meridiem:function(T){return T<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":T<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":T<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(T,v){switch(v){case"DDD":case"w":case"W":case"DDDo":return 1===T?T+"-\u056b\u0576":T+"-\u0580\u0564";default:return T}},week:{dow:1,doy:7}})}(w(5439))},8780:function(Y,U,w){!function(b){"use strict";b.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(T,v){return 12===T&&(T=0),"pagi"===v?T:"siang"===v?T>=11?T:T+12:"sore"===v||"malam"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"pagi":T<15?"siang":T<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(w(5439))},4205:function(Y,U,w){!function(b){"use strict";function i(C){return C%100==11||C%10!=1}function T(C,E,R,H){var B=C+" ";switch(R){case"s":return E||H?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(C)?B+(E||H?"sek\xfandur":"sek\xfandum"):B+"sek\xfanda";case"m":return E?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(C)?B+(E||H?"m\xedn\xfatur":"m\xedn\xfatum"):E?B+"m\xedn\xfata":B+"m\xedn\xfatu";case"hh":return i(C)?B+(E||H?"klukkustundir":"klukkustundum"):B+"klukkustund";case"d":return E?"dagur":H?"dag":"degi";case"dd":return i(C)?E?B+"dagar":B+(H?"daga":"d\xf6gum"):E?B+"dagur":B+(H?"dag":"degi");case"M":return E?"m\xe1nu\xf0ur":H?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(C)?E?B+"m\xe1nu\xf0ir":B+(H?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):E?B+"m\xe1nu\xf0ur":B+(H?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return E||H?"\xe1r":"\xe1ri";case"yy":return i(C)?B+(E||H?"\xe1r":"\xe1rum"):B+(E||H?"\xe1r":"\xe1ri")}}b.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:T,ss:T,m:T,mm:T,h:"klukkustund",hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9985:function(Y,U,w){!function(b){"use strict";b.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(T){return(/^[0-9].+$/.test(T)?"tra":"in")+" "+T},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},4211:function(Y,U,w){!function(b){"use strict";b.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},1003:function(Y,U,w){!function(b){"use strict";b.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(T,v){return"\u5143"===v[1]?1:parseInt(v[1]||T,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(T){return"\u5348\u5f8c"===T},meridiem:function(T,v,C){return T<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(T){return T.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(T){return this.week()!==T.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(T,v){switch(v){case"y":return 1===T?"\u5143\u5e74":T+"\u5e74";case"d":case"D":case"DDD":return T+"\u65e5";default:return T}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(w(5439))},420:function(Y,U,w){!function(b){"use strict";b.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(T,v){return 12===T&&(T=0),"enjing"===v?T:"siyang"===v?T>=11?T:T+12:"sonten"===v||"ndalu"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"enjing":T<15?"siyang":T<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(w(5439))},851:function(Y,U,w){!function(b){"use strict";b.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(T){return T.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(v,C,E){return"\u10d8"===E?C+"\u10e8\u10d8":C+E+"\u10e8\u10d8"})},past:function(T){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(T)?T.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(T)?T.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):T},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(T){return 0===T?T:1===T?T+"-\u10da\u10d8":T<20||T<=100&&T%20==0||T%100==0?"\u10db\u10d4-"+T:T+"-\u10d4"},week:{dow:1,doy:7}})}(w(5439))},6074:function(Y,U,w){!function(b){"use strict";var i={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};b.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(v){return v+(i[v]||i[v%10]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},3343:function(Y,U,w){!function(b){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},T={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};b.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(C){return"\u179b\u17d2\u1784\u17b6\u1785"===C},meridiem:function(C,E,R){return C<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(C){return C.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},week:{dow:1,doy:4}})}(w(5439))},4799:function(Y,U,w){!function(b){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},T={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};b.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(C){return C.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===E?C<4?C:C+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===E?C:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===E?C>=10?C:C+12:"\u0cb8\u0c82\u0c9c\u0cc6"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":C<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":C<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":C<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(C){return C+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(w(5439))},3549:function(Y,U,w){!function(b){"use strict";b.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(T,v){switch(v){case"d":case"D":case"DDD":return T+"\uc77c";case"M":return T+"\uc6d4";case"w":case"W":return T+"\uc8fc";default:return T}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(T){return"\uc624\ud6c4"===T},meridiem:function(T,v,C){return T<12?"\uc624\uc804":"\uc624\ud6c4"}})}(w(5439))},1037:function(Y,U,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},v=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];b.defineLocale("ku",{months:v,monthsShort:v,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(E){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(E)},meridiem:function(E,R,H){return E<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(E){return E.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(R){return T[R]}).replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(R){return i[R]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},3125:function(Y,U,w){!function(b){"use strict";var i={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};b.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(v){return v+(i[v]||i[v%10]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9586:function(Y,U,w){!function(b){"use strict";function i(R,H,B,N){var G={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return H?G[B][0]:G[B][1]}function C(R){if(R=parseInt(R,10),isNaN(R))return!1;if(R<0)return!0;if(R<10)return 4<=R&&R<=7;if(R<100){var H=R%10;return C(0===H?R/10:H)}if(R<1e4){for(;R>=10;)R/=10;return C(R)}return C(R/=1e3)}b.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function T(R){return C(R.substr(0,R.indexOf(" ")))?"a "+R:"an "+R},past:function v(R){return C(R.substr(0,R.indexOf(" ")))?"viru "+R:"virun "+R},s:"e puer Sekonnen",ss:"%d Sekonnen",m:i,mm:"%d Minutten",h:i,hh:"%d Stonnen",d:i,dd:"%d Deeg",M:i,MM:"%d M\xe9int",y:i,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2349:function(Y,U,w){!function(b){"use strict";b.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(T){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===T},meridiem:function(T,v,C){return T<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(T){return"\u0e97\u0eb5\u0ec8"+T}})}(w(5439))},2400:function(Y,U,w){!function(b){"use strict";var i={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function v(B,N,G,J){return N?E(G)[0]:J?E(G)[1]:E(G)[2]}function C(B){return B%10==0||B>10&&B<20}function E(B){return i[B].split("_")}function R(B,N,G,J){var X=B+" ";return 1===B?X+v(0,N,G[0],J):N?X+(C(B)?E(G)[1]:E(G)[0]):J?X+E(G)[1]:X+(C(B)?E(G)[1]:E(G)[2])}b.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function T(B,N,G,J){return N?"kelios sekund\u0117s":J?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:R,m:v,mm:R,h:v,hh:R,d:v,dd:R,M:v,MM:R,y:v,yy:R},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(B){return B+"-oji"},week:{dow:1,doy:4}})}(w(5439))},9991:function(Y,U,w){!function(b){"use strict";var i={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function T(H,B,N){return N?B%10==1&&B%100!=11?H[2]:H[3]:B%10==1&&B%100!=11?H[0]:H[1]}function v(H,B,N){return H+" "+T(i[N],H,B)}function C(H,B,N){return T(i[N],H,B)}b.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function E(H,B){return B?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:v,m:C,mm:v,h:C,hh:v,d:C,dd:v,M:C,MM:v,y:C,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8477:function(Y,U,w){!function(b){"use strict";var i={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(v,C){return 1===v?C[0]:v>=2&&v<=4?C[1]:C[2]},translate:function(v,C,E){var R=i.words[E];return 1===E.length?C?R[0]:R[1]:v+" "+i.correctGrammaticalCase(v,R)}};b.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mjesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},5118:function(Y,U,w){!function(b){"use strict";b.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},5943:function(Y,U,w){!function(b){"use strict";b.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(T){var v=T%10,C=T%100;return 0===T?T+"-\u0435\u0432":0===C?T+"-\u0435\u043d":C>10&&C<20?T+"-\u0442\u0438":1===v?T+"-\u0432\u0438":2===v?T+"-\u0440\u0438":7===v||8===v?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},3849:function(Y,U,w){!function(b){"use strict";b.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(T,v){return 12===T&&(T=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===v&&T>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===v||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===v?T+12:T},meridiem:function(T,v,C){return T<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":T<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":T<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":T<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(w(5439))},1977:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){switch(E){case"s":return C?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return v+(C?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return v+(C?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return v+(C?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return v+(C?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return v+(C?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return v+(C?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return v}}b.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(v){return"\u04ae\u0425"===v},meridiem:function(v,C,E){return v<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(v,C){switch(C){case"d":case"D":case"DDD":return v+" \u04e9\u0434\u04e9\u0440";default:return v}}})}(w(5439))},6184:function(Y,U,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function v(E,R,H,B){var N="";if(R)switch(H){case"s":N="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":N="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":N="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":N="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":N="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":N="%d \u0924\u093e\u0938";break;case"d":N="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":N="%d \u0926\u093f\u0935\u0938";break;case"M":N="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":N="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":N="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":N="%d \u0935\u0930\u094d\u0937\u0947"}else switch(H){case"s":N="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":N="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":N="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":N="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":N="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":N="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":N="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":N="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":N="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":N="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":N="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":N="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return N.replace(/%d/i,E)}b.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},preparse:function(E){return E.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(R){return T[R]})},postformat:function(E){return E.replace(/\d/g,function(R){return i[R]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(E,R){return 12===E&&(E=0),"\u092a\u0939\u093e\u091f\u0947"===R||"\u0938\u0915\u093e\u0933\u0940"===R?E:"\u0926\u0941\u092a\u093e\u0930\u0940"===R||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===R||"\u0930\u093e\u0924\u094d\u0930\u0940"===R?E>=12?E:E+12:void 0},meridiem:function(E,R,H){return E>=0&&E<6?"\u092a\u0939\u093e\u091f\u0947":E<12?"\u0938\u0915\u093e\u0933\u0940":E<17?"\u0926\u0941\u092a\u093e\u0930\u0940":E<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(w(5439))},4524:function(Y,U,w){!function(b){"use strict";b.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(T,v){return 12===T&&(T=0),"pagi"===v?T:"tengahari"===v?T>=11?T:T+12:"petang"===v||"malam"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"pagi":T<15?"tengahari":T<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(w(5439))},485:function(Y,U,w){!function(b){"use strict";b.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(T,v){return 12===T&&(T=0),"pagi"===v?T:"tengahari"===v?T>=11?T:T+12:"petang"===v||"malam"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"pagi":T<15?"tengahari":T<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(w(5439))},6681:function(Y,U,w){!function(b){"use strict";b.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},2024:function(Y,U,w){!function(b){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},T={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};b.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(C){return C.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},week:{dow:1,doy:4}})}(w(5439))},2688:function(Y,U,w){!function(b){"use strict";b.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8914:function(Y,U,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};b.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(C){return C.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0930\u093e\u0924\u093f"===E?C<4?C:C+12:"\u092c\u093f\u0939\u093e\u0928"===E?C:"\u0926\u093f\u0909\u0901\u0938\u094b"===E?C>=10?C:C+12:"\u0938\u093e\u0901\u091d"===E?C+12:void 0},meridiem:function(C,E,R){return C<3?"\u0930\u093e\u0924\u093f":C<12?"\u092c\u093f\u0939\u093e\u0928":C<16?"\u0926\u093f\u0909\u0901\u0938\u094b":C<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(w(5439))},2272:function(Y,U,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),v=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],C=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;b.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(R){return R+(1===R||8===R||R>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1758:function(Y,U,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),v=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],C=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;b.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(R){return R+(1===R||8===R||R>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1510:function(Y,U,w){!function(b){"use strict";b.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2797:function(Y,U,w){!function(b){"use strict";b.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(T,v){var C=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===v||"W"===v)&&(C="a"),T+C},week:{dow:1,doy:4}})}(w(5439))},7944:function(Y,U,w){!function(b){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},T={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};b.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(C){return C.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0a30\u0a3e\u0a24"===E?C<4?C:C+12:"\u0a38\u0a35\u0a47\u0a30"===E?C:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===E?C>=10?C:C+12:"\u0a38\u0a3c\u0a3e\u0a2e"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u0a30\u0a3e\u0a24":C<10?"\u0a38\u0a35\u0a47\u0a30":C<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":C<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(w(5439))},1605:function(Y,U,w){!function(b){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),T="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),v=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function C(H){return H%10<5&&H%10>1&&~~(H/10)%10!=1}function E(H,B,N){var G=H+" ";switch(N){case"ss":return G+(C(H)?"sekundy":"sekund");case"m":return B?"minuta":"minut\u0119";case"mm":return G+(C(H)?"minuty":"minut");case"h":return B?"godzina":"godzin\u0119";case"hh":return G+(C(H)?"godziny":"godzin");case"ww":return G+(C(H)?"tygodnie":"tygodni");case"MM":return G+(C(H)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return G+(C(H)?"lata":"lat")}}b.defineLocale("pl",{months:function(H,B){return H?/D MMMM/.test(B)?T[H.month()]:i[H.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:E,m:E,mm:E,h:E,hh:E,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:E,M:"miesi\u0105c",MM:E,y:"rok",yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3840:function(Y,U,w){!function(b){"use strict";b.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(w(5439))},4225:function(Y,U,w){!function(b){"use strict";b.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},5128:function(Y,U,w){!function(b){"use strict";function i(v,C,E){var H=" ";return(v%100>=20||v>=100&&v%100==0)&&(H=" de "),v+H+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[E]}b.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:i,m:"un minut",mm:i,h:"o or\u0103",hh:i,d:"o zi",dd:i,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:i,M:"o lun\u0103",MM:i,y:"un an",yy:i},week:{dow:1,doy:7}})}(w(5439))},5127:function(Y,U,w){!function(b){"use strict";function T(E,R,H){return"m"===H?R?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":E+" "+function i(E,R){var H=E.split("_");return R%10==1&&R%100!=11?H[0]:R%10>=2&&R%10<=4&&(R%100<10||R%100>=20)?H[1]:H[2]}({ss:R?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:R?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[H],+E)}var v=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];b.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:v,longMonthsParse:v,shortMonthsParse:v,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(E){if(E.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(E){if(E.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:T,m:T,mm:T,h:"\u0447\u0430\u0441",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(E){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(E)},meridiem:function(E,R,H){return E<4?"\u043d\u043e\u0447\u0438":E<12?"\u0443\u0442\u0440\u0430":E<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(E,R){switch(R){case"M":case"d":case"DDD":return E+"-\u0439";case"D":return E+"-\u0433\u043e";case"w":case"W":return E+"-\u044f";default:return E}},week:{dow:1,doy:4}})}(w(5439))},2525:function(Y,U,w){!function(b){"use strict";var i=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],T=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];b.defineLocale("sd",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:T,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,E,R){return C<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},9893:function(Y,U,w){!function(b){"use strict";b.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3123:function(Y,U,w){!function(b){"use strict";b.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(T){return T+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(T){return"\u0db4.\u0dc0."===T||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===T},meridiem:function(T,v,C){return T>11?C?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":C?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(w(5439))},9635:function(Y,U,w){!function(b){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),T="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function v(R){return R>1&&R<5}function C(R,H,B,N){var G=R+" ";switch(B){case"s":return H||N?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return H||N?G+(v(R)?"sekundy":"sek\xfand"):G+"sekundami";case"m":return H?"min\xfata":N?"min\xfatu":"min\xfatou";case"mm":return H||N?G+(v(R)?"min\xfaty":"min\xfat"):G+"min\xfatami";case"h":return H?"hodina":N?"hodinu":"hodinou";case"hh":return H||N?G+(v(R)?"hodiny":"hod\xedn"):G+"hodinami";case"d":return H||N?"de\u0148":"d\u0148om";case"dd":return H||N?G+(v(R)?"dni":"dn\xed"):G+"d\u0148ami";case"M":return H||N?"mesiac":"mesiacom";case"MM":return H||N?G+(v(R)?"mesiace":"mesiacov"):G+"mesiacmi";case"y":return H||N?"rok":"rokom";case"yy":return H||N?G+(v(R)?"roky":"rokov"):G+"rokmi"}}b.defineLocale("sk",{months:i,monthsShort:T,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:C,ss:C,m:C,mm:C,h:C,hh:C,d:C,dd:C,M:C,MM:C,y:C,yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8106:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H=v+" ";switch(E){case"s":return C||R?"nekaj sekund":"nekaj sekundami";case"ss":return H+(1===v?C?"sekundo":"sekundi":2===v?C||R?"sekundi":"sekundah":v<5?C||R?"sekunde":"sekundah":"sekund");case"m":return C?"ena minuta":"eno minuto";case"mm":return H+(1===v?C?"minuta":"minuto":2===v?C||R?"minuti":"minutama":v<5?C||R?"minute":"minutami":C||R?"minut":"minutami");case"h":return C?"ena ura":"eno uro";case"hh":return H+(1===v?C?"ura":"uro":2===v?C||R?"uri":"urama":v<5?C||R?"ure":"urami":C||R?"ur":"urami");case"d":return C||R?"en dan":"enim dnem";case"dd":return H+(1===v?C||R?"dan":"dnem":2===v?C||R?"dni":"dnevoma":C||R?"dni":"dnevi");case"M":return C||R?"en mesec":"enim mesecem";case"MM":return H+(1===v?C||R?"mesec":"mesecem":2===v?C||R?"meseca":"mesecema":v<5?C||R?"mesece":"meseci":C||R?"mesecev":"meseci");case"y":return C||R?"eno leto":"enim letom";case"yy":return H+(1===v?C||R?"leto":"letom":2===v?C||R?"leti":"letoma":v<5?C||R?"leta":"leti":C||R?"let":"leti")}}b.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},8799:function(Y,U,w){!function(b){"use strict";b.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(T){return"M"===T.charAt(0)},meridiem:function(T,v,C){return T<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2872:function(Y,U,w){!function(b){"use strict";var i={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(v,C){return v%10>=1&&v%10<=4&&(v%100<10||v%100>=20)?v%10==1?C[0]:C[1]:C[2]},translate:function(v,C,E,R){var H=i.words[E];if(1===E.length)return"y"===E&&C?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":R||C?H[0]:H[1];const B=i.correctGrammaticalCase(v,H);return"yy"===E&&C&&"\u0433\u043e\u0434\u0438\u043d\u0443"===B?v+" \u0433\u043e\u0434\u0438\u043d\u0430":v+" "+B}};b.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7949:function(Y,U,w){!function(b){"use strict";var i={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(v,C){return v%10>=1&&v%10<=4&&(v%100<10||v%100>=20)?v%10==1?C[0]:C[1]:C[2]},translate:function(v,C,E,R){var H=i.words[E];if(1===E.length)return"y"===E&&C?"jedna godina":R||C?H[0]:H[1];const B=i.correctGrammaticalCase(v,H);return"yy"===E&&C&&"godinu"===B?v+" godina":v+" "+B}};b.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6167:function(Y,U,w){!function(b){"use strict";b.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(T,v,C){return T<11?"ekuseni":T<15?"emini":T<19?"entsambama":"ebusuku"},meridiemHour:function(T,v){return 12===T&&(T=0),"ekuseni"===v?T:"emini"===v?T>=11?T:T+12:"entsambama"===v||"ebusuku"===v?0===T?0:T+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(w(5439))},9713:function(Y,U,w){!function(b){"use strict";b.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?":e":1===v||2===v?":a":":e")},week:{dow:1,doy:4}})}(w(5439))},1982:function(Y,U,w){!function(b){"use strict";b.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(w(5439))},2732:function(Y,U,w){!function(b){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},T={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};b.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(C){return C+"\u0bb5\u0ba4\u0bc1"},preparse:function(C){return C.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(C,E,R){return C<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":C<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":C<10?" \u0b95\u0bbe\u0bb2\u0bc8":C<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":C<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":C<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(C,E){return 12===C&&(C=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===E?C<2?C:C+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===E||"\u0b95\u0bbe\u0bb2\u0bc8"===E||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===E&&C>=10?C:C+12},week:{dow:0,doy:6}})}(w(5439))},3636:function(Y,U,w){!function(b){"use strict";b.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(T,v){return 12===T&&(T=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===v?T<4?T:T+12:"\u0c09\u0c26\u0c2f\u0c02"===v?T:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===v?T>=10?T:T+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===v?T+12:void 0},meridiem:function(T,v,C){return T<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":T<10?"\u0c09\u0c26\u0c2f\u0c02":T<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":T<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(w(5439))},2115:function(Y,U,w){!function(b){"use strict";b.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9801:function(Y,U,w){!function(b){"use strict";var i={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};b.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(v,C){return 12===v&&(v=0),"\u0448\u0430\u0431"===C?v<4?v:v+12:"\u0441\u0443\u0431\u04b3"===C?v:"\u0440\u04ef\u0437"===C?v>=11?v:v+12:"\u0431\u0435\u0433\u043e\u04b3"===C?v+12:void 0},meridiem:function(v,C,E){return v<4?"\u0448\u0430\u0431":v<11?"\u0441\u0443\u0431\u04b3":v<16?"\u0440\u04ef\u0437":v<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(v){return v+(i[v]||i[v%10]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},4486:function(Y,U,w){!function(b){"use strict";b.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(T){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===T},meridiem:function(T,v,C){return T<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(w(5439))},1310:function(Y,U,w){!function(b){"use strict";var i={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};b.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(v,C){switch(C){case"d":case"D":case"Do":case"DD":return v;default:if(0===v)return v+"'unjy";var E=v%10;return v+(i[E]||i[v%100-E]||i[v>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},2360:function(Y,U,w){!function(b){"use strict";b.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(T){return T},week:{dow:1,doy:4}})}(w(5439))},6645:function(Y,U,w){!function(b){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function C(H,B,N,G){var J=function E(H){var B=Math.floor(H%1e3/100),N=Math.floor(H%100/10),G=H%10,J="";return B>0&&(J+=i[B]+"vatlh"),N>0&&(J+=(""!==J?" ":"")+i[N]+"maH"),G>0&&(J+=(""!==J?" ":"")+i[G]),""===J?"pagh":J}(H);switch(N){case"ss":return J+" lup";case"mm":return J+" tup";case"hh":return J+" rep";case"dd":return J+" jaj";case"MM":return J+" jar";case"yy":return J+" DIS"}}b.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function T(H){var B=H;return-1!==H.indexOf("jaj")?B.slice(0,-3)+"leS":-1!==H.indexOf("jar")?B.slice(0,-3)+"waQ":-1!==H.indexOf("DIS")?B.slice(0,-3)+"nem":B+" pIq"},past:function v(H){var B=H;return-1!==H.indexOf("jaj")?B.slice(0,-3)+"Hu\u2019":-1!==H.indexOf("jar")?B.slice(0,-3)+"wen":-1!==H.indexOf("DIS")?B.slice(0,-3)+"ben":B+" ret"},s:"puS lup",ss:C,m:"wa\u2019 tup",mm:C,h:"wa\u2019 rep",hh:C,d:"wa\u2019 jaj",dd:C,M:"wa\u2019 jar",MM:C,y:"wa\u2019 DIS",yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8374:function(Y,U,w){!function(b){"use strict";var i={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};b.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(v,C,E){return v<12?E?"\xf6\xf6":"\xd6\xd6":E?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(v){return"\xf6s"===v||"\xd6S"===v},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(v,C){switch(C){case"d":case"D":case"Do":case"DD":return v;default:if(0===v)return v+"'\u0131nc\u0131";var E=v%10;return v+(i[E]||i[v%100-E]||i[v>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},256:function(Y,U,w){!function(b){"use strict";function T(v,C,E,R){var H={s:["viensas secunds","'iensas secunds"],ss:[v+" secunds",v+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[v+" m\xeduts",v+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[v+" \xfeoras",v+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[v+" ziuas",v+" ziuas"],M:["'n mes","'iens mes"],MM:[v+" mesen",v+" mesen"],y:["'n ar","'iens ar"],yy:[v+" ars",v+" ars"]};return R||C?H[E][0]:H[E][1]}b.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(v){return"d'o"===v.toLowerCase()},meridiem:function(v,C,E){return v>11?E?"d'o":"D'O":E?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1631:function(Y,U,w){!function(b){"use strict";b.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(w(5439))},1595:function(Y,U,w){!function(b){"use strict";b.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(w(5439))},6050:function(Y,U,w){!function(b){"use strict";b.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(T,v){return 12===T&&(T=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===v||"\u0633\u06d5\u06be\u06d5\u0631"===v||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===v?T:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===v||"\u0643\u06d5\u0686"===v?T+12:T>=11?T:T+12},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":E<900?"\u0633\u06d5\u06be\u06d5\u0631":E<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":E<1230?"\u0686\u06c8\u0634":E<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(T,v){switch(v){case"d":case"D":case"DDD":return T+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return T+"-\u06be\u06d5\u067e\u062a\u06d5";default:return T}},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(w(5439))},5610:function(Y,U,w){!function(b){"use strict";function T(R,H,B){return"m"===B?H?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===B?H?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":R+" "+function i(R,H){var B=R.split("_");return H%10==1&&H%100!=11?B[0]:H%10>=2&&H%10<=4&&(H%100<10||H%100>=20)?B[1]:B[2]}({ss:H?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:H?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:H?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[B],+R)}function C(R){return function(){return R+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}b.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function v(R,H){var B={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===R?B.nominative.slice(1,7).concat(B.nominative.slice(0,1)):R?B[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(H)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(H)?"genitive":"nominative"][R.day()]:B.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:C("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:C("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:C("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:C("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return C("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return C("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:T,m:T,mm:T,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:T,y:"\u0440\u0456\u043a",yy:T},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(R){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(R)},meridiem:function(R,H,B){return R<4?"\u043d\u043e\u0447\u0456":R<12?"\u0440\u0430\u043d\u043a\u0443":R<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(R,H){switch(H){case"M":case"d":case"DDD":case"w":case"W":return R+"-\u0439";case"D":return R+"-\u0433\u043e";default:return R}},week:{dow:1,doy:7}})}(w(5439))},6077:function(Y,U,w){!function(b){"use strict";var i=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],T=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];b.defineLocale("ur",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:T,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,E,R){return C<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},2207:function(Y,U,w){!function(b){"use strict";b.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(w(5439))},2862:function(Y,U,w){!function(b){"use strict";b.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(w(5439))},8093:function(Y,U,w){!function(b){"use strict";b.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(T){return/^ch$/i.test(T)},meridiem:function(T,v,C){return T<12?C?"sa":"SA":C?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(T){return T},week:{dow:1,doy:4}})}(w(5439))},5590:function(Y,U,w){!function(b){"use strict";b.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9058:function(Y,U,w){!function(b){"use strict";b.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(w(5439))},7908:function(Y,U,w){!function(b){"use strict";b.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:T>=11?T:T+12},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(T){return T.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(T){return this.week()!==T.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u5468";default:return T}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(w(5439))},8867:function(Y,U,w){!function(b){"use strict";b.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e2d\u5348"===v?T>=11?T:T+12:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:void 0},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1200?"\u4e0a\u5348":1200===E?"\u4e2d\u5348":E<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},1133:function(Y,U,w){!function(b){"use strict";b.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e2d\u5348"===v?T>=11?T:T+12:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:void 0},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},3291:function(Y,U,w){!function(b){"use strict";b.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e2d\u5348"===v?T>=11?T:T+12:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:void 0},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},5439:function(Y,U,w){(Y=w.nmd(Y)).exports=function(){"use strict";var b,ae;function i(){return b.apply(null,arguments)}function v(_){return _ instanceof Array||"[object Array]"===Object.prototype.toString.call(_)}function C(_){return null!=_&&"[object Object]"===Object.prototype.toString.call(_)}function E(_,S){return Object.prototype.hasOwnProperty.call(_,S)}function R(_){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(_).length;var S;for(S in _)if(E(_,S))return!1;return!0}function H(_){return void 0===_}function B(_){return"number"==typeof _||"[object Number]"===Object.prototype.toString.call(_)}function N(_){return _ instanceof Date||"[object Date]"===Object.prototype.toString.call(_)}function G(_,S){var F,P=[],$=_.length;for(F=0;F<$;++F)P.push(S(_[F],F));return P}function J(_,S){for(var P in S)E(S,P)&&(_[P]=S[P]);return E(S,"toString")&&(_.toString=S.toString),E(S,"valueOf")&&(_.valueOf=S.valueOf),_}function X(_,S,P,F){return sh(_,S,P,F,!0).utc()}function ee(_){return null==_._pf&&(_._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),_._pf}function de(_){if(null==_._isValid){var S=ee(_),P=ae.call(S.parsedDateParts,function($){return null!=$}),F=!isNaN(_._d.getTime())&&S.overflow<0&&!S.empty&&!S.invalidEra&&!S.invalidMonth&&!S.invalidWeekday&&!S.weekdayMismatch&&!S.nullInput&&!S.invalidFormat&&!S.userInvalidated&&(!S.meridiem||S.meridiem&&P);if(_._strict&&(F=F&&0===S.charsLeftOver&&0===S.unusedTokens.length&&void 0===S.bigHour),null!=Object.isFrozen&&Object.isFrozen(_))return F;_._isValid=F}return _._isValid}function Ie(_){var S=X(NaN);return null!=_?J(ee(S),_):ee(S).userInvalidated=!0,S}ae=Array.prototype.some?Array.prototype.some:function(_){var F,S=Object(this),P=S.length>>>0;for(F=0;F0)for(P=0;P=0?P?"+":"":"-")+Math.pow(10,Math.max(0,S-F.length)).toString().substr(1)+F}var Xe=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ct=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Yn={},pi={};function Ze(_,S,P,F){var $=F;"string"==typeof F&&($=function(){return this[F]()}),_&&(pi[_]=$),S&&(pi[S[0]]=function(){return bi($.apply(this,arguments),S[1],S[2])}),P&&(pi[P]=function(){return this.localeData().ordinal($.apply(this,arguments),_)})}function ri(_){return _.match(/\[[\s\S]/)?_.replace(/^\[|\]$/g,""):_.replace(/\\/g,"")}function xn(_,S){return _.isValid()?(S=qi(S,_.localeData()),Yn[S]=Yn[S]||function To(_){var P,F,S=_.match(Xe);for(P=0,F=S.length;P=0&&ct.test(_);)_=_.replace(ct,F),ct.lastIndex=0,P-=1;return _}var Bi={};function Wt(_,S){var P=_.toLowerCase();Bi[P]=Bi[P+"s"]=Bi[S]=_}function hn(_){return"string"==typeof _?Bi[_]||Bi[_.toLowerCase()]:void 0}function ve(_){var P,F,S={};for(F in _)E(_,F)&&(P=hn(F))&&(S[P]=_[F]);return S}var oe={};function ne(_,S){oe[_]=S}function Se(_){return _%4==0&&_%100!=0||_%400==0}function Oe(_){return _<0?Math.ceil(_)||0:Math.floor(_)}function we(_){var S=+_,P=0;return 0!==S&&isFinite(S)&&(P=Oe(S)),P}function je(_,S){return function(P){return null!=P?(xi(this,_,P),i.updateOffset(this,S),this):vt(this,_)}}function vt(_,S){return _.isValid()?_._d["get"+(_._isUTC?"UTC":"")+S]():NaN}function xi(_,S,P){_.isValid()&&!isNaN(P)&&("FullYear"===S&&Se(_.year())&&1===_.month()&&29===_.date()?(P=we(P),_._d["set"+(_._isUTC?"UTC":"")+S](P,_.month(),gi(P,_.month()))):_._d["set"+(_._isUTC?"UTC":"")+S](P))}var D,Ri=/\d/,it=/\d\d/,Ue=/\d{3}/,Rn=/\d{4}/,Nt=/[+-]?\d{6}/,mt=/\d\d?/,Xn=/\d\d\d\d?/,jn=/\d\d\d\d\d\d?/,Pn=/\d{1,3}/,Uc=/\d{1,4}/,ko=/[+-]?\d{1,6}/,Js=/\d+/,Qs=/[+-]?\d+/,Un=/Z|[+-]\d\d:?\d\d/gi,ar=/Z|[+-]\d\d(?::?\d\d)?/gi,Ur=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Le(_,S,P){D[_]=fe(S)?S:function(F,$){return F&&P?P:S}}function li(_,S){return E(D,_)?D[_](S._strict,S._locale):new RegExp(function Wi(_){return qe(_.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(S,P,F,$,se){return P||F||$||se}))}(_))}function qe(_){return _.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}D={};var Vn={};function ut(_,S){var P,$,F=S;for("string"==typeof _&&(_=[_]),B(S)&&(F=function(se,ge){ge[S]=we(se)}),$=_.length,P=0;P<$;P++)Vn[_[P]]=F}function Pi(_,S){ut(_,function(P,F,$,se){$._w=$._w||{},S(P,$._w,$,se)})}function ai(_,S,P){null!=S&&E(Vn,_)&&Vn[_](S,P._a,P,_)}var Kt;function gi(_,S){if(isNaN(_)||isNaN(S))return NaN;var P=function Ji(_,S){return(_%S+S)%S}(S,12);return _+=(S-P)/12,1===P?Se(_)?29:28:31-P%7%2}Kt=Array.prototype.indexOf?Array.prototype.indexOf:function(_){var S;for(S=0;S68?1900:2e3)};var Cn=je("FullYear",!0);function Ba(_,S,P,F,$,se,ge){var Qe;return _<100&&_>=0?(Qe=new Date(_+400,S,P,F,$,se,ge),isFinite(Qe.getFullYear())&&Qe.setFullYear(_)):Qe=new Date(_,S,P,F,$,se,ge),Qe}function Ro(_){var S,P;return _<100&&_>=0?((P=Array.prototype.slice.call(arguments))[0]=_+400,S=new Date(Date.UTC.apply(null,P)),isFinite(S.getUTCFullYear())&&S.setUTCFullYear(_)):S=new Date(Date.UTC.apply(null,arguments)),S}function Xs(_,S,P){var F=7+S-P;return-(7+Ro(_,0,F).getUTCDay()-S)%7+F-1}function Kn(_,S,P,F,$){var _t,$t,Qe=1+7*(S-1)+(7+P-F)%7+Xs(_,F,$);return Qe<=0?$t=xo(_t=_-1)+Qe:Qe>xo(_)?(_t=_+1,$t=Qe-xo(_)):(_t=_,$t=Qe),{year:_t,dayOfYear:$t}}function dr(_,S,P){var se,ge,F=Xs(_.year(),S,P),$=Math.floor((_.dayOfYear()-F-1)/7)+1;return $<1?se=$+Ps(ge=_.year()-1,S,P):$>Ps(_.year(),S,P)?(se=$-Ps(_.year(),S,P),ge=_.year()+1):(ge=_.year(),se=$),{week:se,year:ge}}function Ps(_,S,P){var F=Xs(_,S,P),$=Xs(_+1,S,P);return(xo(_)-F+$)/7}Ze("w",["ww",2],"wo","week"),Ze("W",["WW",2],"Wo","isoWeek"),Wt("week","w"),Wt("isoWeek","W"),ne("week",5),ne("isoWeek",5),Le("w",mt),Le("ww",mt,it),Le("W",mt),Le("WW",mt,it),Pi(["w","ww","W","WW"],function(_,S,P,F){S[F.substr(0,1)]=we(_)});function Yt(_,S){return _.slice(S,7).concat(_.slice(0,S))}Ze("d",0,"do","day"),Ze("dd",0,0,function(_){return this.localeData().weekdaysMin(this,_)}),Ze("ddd",0,0,function(_){return this.localeData().weekdaysShort(this,_)}),Ze("dddd",0,0,function(_){return this.localeData().weekdays(this,_)}),Ze("e",0,0,"weekday"),Ze("E",0,0,"isoWeekday"),Wt("day","d"),Wt("weekday","e"),Wt("isoWeekday","E"),ne("day",11),ne("weekday",11),ne("isoWeekday",11),Le("d",mt),Le("e",mt),Le("E",mt),Le("dd",function(_,S){return S.weekdaysMinRegex(_)}),Le("ddd",function(_,S){return S.weekdaysShortRegex(_)}),Le("dddd",function(_,S){return S.weekdaysRegex(_)}),Pi(["dd","ddd","dddd"],function(_,S,P,F){var $=P._locale.weekdaysParse(_,F,P._strict);null!=$?S.d=$:ee(P).invalidWeekday=_}),Pi(["d","e","E"],function(_,S,P,F){S[F]=we(_)});var pn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ye="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ke="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Gc=Ur,Qi=Ur,qr=Ur;function eh(_,S,P){var F,$,se,ge=_.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],F=0;F<7;++F)se=X([2e3,1]).day(F),this._minWeekdaysParse[F]=this.weekdaysMin(se,"").toLocaleLowerCase(),this._shortWeekdaysParse[F]=this.weekdaysShort(se,"").toLocaleLowerCase(),this._weekdaysParse[F]=this.weekdays(se,"").toLocaleLowerCase();return P?"dddd"===S?-1!==($=Kt.call(this._weekdaysParse,ge))?$:null:"ddd"===S?-1!==($=Kt.call(this._shortWeekdaysParse,ge))?$:null:-1!==($=Kt.call(this._minWeekdaysParse,ge))?$:null:"dddd"===S?-1!==($=Kt.call(this._weekdaysParse,ge))||-1!==($=Kt.call(this._shortWeekdaysParse,ge))||-1!==($=Kt.call(this._minWeekdaysParse,ge))?$:null:"ddd"===S?-1!==($=Kt.call(this._shortWeekdaysParse,ge))||-1!==($=Kt.call(this._weekdaysParse,ge))||-1!==($=Kt.call(this._minWeekdaysParse,ge))?$:null:-1!==($=Kt.call(this._minWeekdaysParse,ge))||-1!==($=Kt.call(this._weekdaysParse,ge))||-1!==($=Kt.call(this._shortWeekdaysParse,ge))?$:null}function Gr(){function _(vi,Uo){return Uo.length-vi.length}var se,ge,Qe,_t,$t,S=[],P=[],F=[],$=[];for(se=0;se<7;se++)ge=X([2e3,1]).day(se),Qe=qe(this.weekdaysMin(ge,"")),_t=qe(this.weekdaysShort(ge,"")),$t=qe(this.weekdays(ge,"")),S.push(Qe),P.push(_t),F.push($t),$.push(Qe),$.push(_t),$.push($t);S.sort(_),P.sort(_),F.sort(_),$.sort(_),this._weekdaysRegex=new RegExp("^("+$.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+F.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+P.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+S.join("|")+")","i")}function Ut(){return this.hours()%12||12}function ja(_,S){Ze(_,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),S)})}function Kr(_,S){return S._meridiemParse}Ze("H",["HH",2],0,"hour"),Ze("h",["hh",2],0,Ut),Ze("k",["kk",2],0,function is(){return this.hours()||24}),Ze("hmm",0,0,function(){return""+Ut.apply(this)+bi(this.minutes(),2)}),Ze("hmmss",0,0,function(){return""+Ut.apply(this)+bi(this.minutes(),2)+bi(this.seconds(),2)}),Ze("Hmm",0,0,function(){return""+this.hours()+bi(this.minutes(),2)}),Ze("Hmmss",0,0,function(){return""+this.hours()+bi(this.minutes(),2)+bi(this.seconds(),2)}),ja("a",!0),ja("A",!1),Wt("hour","h"),ne("hour",13),Le("a",Kr),Le("A",Kr),Le("H",mt),Le("h",mt),Le("k",mt),Le("HH",mt,it),Le("hh",mt,it),Le("kk",mt,it),Le("hmm",Xn),Le("hmmss",jn),Le("Hmm",Xn),Le("Hmmss",jn),ut(["H","HH"],3),ut(["k","kk"],function(_,S,P){var F=we(_);S[3]=24===F?0:F}),ut(["a","A"],function(_,S,P){P._isPm=P._locale.isPM(_),P._meridiem=_}),ut(["h","hh"],function(_,S,P){S[3]=we(_),ee(P).bigHour=!0}),ut("hmm",function(_,S,P){var F=_.length-2;S[3]=we(_.substr(0,F)),S[4]=we(_.substr(F)),ee(P).bigHour=!0}),ut("hmmss",function(_,S,P){var F=_.length-4,$=_.length-2;S[3]=we(_.substr(0,F)),S[4]=we(_.substr(F,2)),S[5]=we(_.substr($)),ee(P).bigHour=!0}),ut("Hmm",function(_,S,P){var F=_.length-2;S[3]=we(_.substr(0,F)),S[4]=we(_.substr(F))}),ut("Hmmss",function(_,S,P){var F=_.length-4,$=_.length-2;S[3]=we(_.substr(0,F)),S[4]=we(_.substr(F,2)),S[5]=we(_.substr($))});var to=je("Hours",!0);var io,hr={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:es,monthsShort:ei,week:{dow:0,doy:6},weekdays:pn,weekdaysMin:ke,weekdaysShort:Ye,meridiemParse:/[ap]\.?m?\.?/i},di={},fr={};function Kc(_,S){var P,F=Math.min(_.length,S.length);for(P=0;P0;){if($=L(se.slice(0,P).join("-")))return $;if(F&&F.length>=P&&Kc(se,F)>=P-1)break;P--}S++}return io}(_)}function Ae(_){var S,P=_._a;return P&&-2===ee(_).overflow&&(S=P[1]<0||P[1]>11?1:P[2]<1||P[2]>gi(P[0],P[1])?2:P[3]<0||P[3]>24||24===P[3]&&(0!==P[4]||0!==P[5]||0!==P[6])?3:P[4]<0||P[4]>59?4:P[5]<0||P[5]>59?5:P[6]<0||P[6]>999?6:-1,ee(_)._overflowDayOfYear&&(S<0||S>2)&&(S=2),ee(_)._overflowWeeks&&-1===S&&(S=7),ee(_)._overflowWeekday&&-1===S&&(S=8),ee(_).overflow=S),_}var Ve=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Zt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,It=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ot=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ji=/^\/?Date\((-?\d+)/i,hi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,mi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function no(_){var S,P,se,ge,Qe,_t,F=_._i,$=Ve.exec(F)||Zt.exec(F),$t=bt.length,vi=Ot.length;if($){for(ee(_).iso=!0,S=0,P=$t;S7)&&(_t=!0)):(se=_._locale._week.dow,ge=_._locale._week.doy,$t=dr(ci(),se,ge),P=pr(S.gg,_._a[0],$t.year),F=pr(S.w,$t.week),null!=S.d?(($=S.d)<0||$>6)&&(_t=!0):null!=S.e?($=S.e+se,(S.e<0||S.e>6)&&(_t=!0)):$=se),F<1||F>Ps(P,se,ge)?ee(_)._overflowWeeks=!0:null!=_t?ee(_)._overflowWeekday=!0:(Qe=Kn(P,F,$,se,ge),_._a[0]=Qe.year,_._dayOfYear=Qe.dayOfYear)}(_),null!=_._dayOfYear&&(ge=pr(_._a[0],$[0]),(_._dayOfYear>xo(ge)||0===_._dayOfYear)&&(ee(_)._overflowDayOfYear=!0),P=Ro(ge,0,_._dayOfYear),_._a[1]=P.getUTCMonth(),_._a[2]=P.getUTCDate()),S=0;S<3&&null==_._a[S];++S)_._a[S]=F[S]=$[S];for(;S<7;S++)_._a[S]=F[S]=null==_._a[S]?2===S?1:0:_._a[S];24===_._a[3]&&0===_._a[4]&&0===_._a[5]&&0===_._a[6]&&(_._nextDay=!0,_._a[3]=0),_._d=(_._useUTC?Ro:Ba).apply(null,F),se=_._useUTC?_._d.getUTCDay():_._d.getDay(),null!=_._tzm&&_._d.setUTCMinutes(_._d.getUTCMinutes()-_._tzm),_._nextDay&&(_._a[3]=24),_._w&&void 0!==_._w.d&&_._w.d!==se&&(ee(_).weekdayMismatch=!0)}}function qa(_){if(_._f!==i.ISO_8601)if(_._f!==i.RFC_2822){_._a=[],ee(_).empty=!0;var P,F,$,se,ge,$t,vi,S=""+_._i,Qe=S.length,_t=0;for(vi=($=qi(_._f,_._locale).match(Xe)||[]).length,P=0;P0&&ee(_).unusedInput.push(ge),S=S.slice(S.indexOf(F)+F.length),_t+=F.length),pi[se]?(F?ee(_).empty=!1:ee(_).unusedTokens.push(se),ai(se,F,_)):_._strict&&!F&&ee(_).unusedTokens.push(se);ee(_).charsLeftOver=Qe-_t,S.length>0&&ee(_).unusedInput.push(S),_._a[3]<=12&&!0===ee(_).bigHour&&_._a[3]>0&&(ee(_).bigHour=void 0),ee(_).parsedDateParts=_._a.slice(0),ee(_).meridiem=_._meridiem,_._a[3]=function Li(_,S,P){var F;return null==P?S:null!=_.meridiemHour?_.meridiemHour(S,P):(null!=_.isPM&&((F=_.isPM(P))&&S<12&&(S+=12),!F&&12===S&&(S=0)),S)}(_._locale,_._a[3],_._meridiem),null!==($t=ee(_).era)&&(_._a[0]=_._locale.erasConvertYear($t,_._a[0])),Te(_),Ae(_)}else Va(_);else no(_)}function Zn(_){var S=_._i,P=_._f;return _._locale=_._locale||te(_._l),null===S||void 0===P&&""===S?Ie({nullInput:!0}):("string"==typeof S&&(_._i=S=_._locale.preparse(S)),We(S)?new St(Ae(S)):(N(S)?_._d=S:v(P)?function nh(_){var S,P,F,$,se,ge,Qe=!1,_t=_._f.length;if(0===_t)return ee(_).invalidFormat=!0,void(_._d=new Date(NaN));for($=0;$<_t;$++)se=0,ge=!1,S=xt({},_),null!=_._useUTC&&(S._useUTC=_._useUTC),S._f=_._f[$],qa(S),de(S)&&(ge=!0),se+=ee(S).charsLeftOver,se+=10*ee(S).unusedTokens.length,ee(S).score=se,Qe?sethis?this:_:Ie()});function fi(_,S){var P,F;if(1===S.length&&v(S[0])&&(S=S[0]),!S.length)return ci();for(P=S[0],F=1;F=0?new Date(_+400,S,P)-ec:new Date(_,S,P).valueOf()}function Xr(_,S,P){return _<100&&_>=0?Date.UTC(_+400,S,P)-ec:Date.UTC(_,S,P)}function ul(_,S){return S.erasAbbrRegex(_)}function dl(){var $,se,_=[],S=[],P=[],F=[],ge=this.eras();for($=0,se=ge.length;$(se=Ps(_,F,$))&&(S=se),vp.call(this,_,S,P,F,$))}function vp(_,S,P,F,$){var se=Kn(_,S,P,F,$),ge=Ro(se.year,0,se.dayOfYear);return this.year(ge.getUTCFullYear()),this.month(ge.getUTCMonth()),this.date(ge.getUTCDate()),this}Ze("N",0,0,"eraAbbr"),Ze("NN",0,0,"eraAbbr"),Ze("NNN",0,0,"eraAbbr"),Ze("NNNN",0,0,"eraName"),Ze("NNNNN",0,0,"eraNarrow"),Ze("y",["y",1],"yo","eraYear"),Ze("y",["yy",2],0,"eraYear"),Ze("y",["yyy",3],0,"eraYear"),Ze("y",["yyyy",4],0,"eraYear"),Le("N",ul),Le("NN",ul),Le("NNN",ul),Le("NNNN",function bp(_,S){return S.erasNameRegex(_)}),Le("NNNNN",function T_(_,S){return S.erasNarrowRegex(_)}),ut(["N","NN","NNN","NNNN","NNNNN"],function(_,S,P,F){var $=P._locale.erasParse(_,F,P._strict);$?ee(P).era=$:ee(P).invalidEra=_}),Le("y",Js),Le("yy",Js),Le("yyy",Js),Le("yyyy",Js),Le("yo",function M_(_,S){return S._eraYearOrdinalRegex||Js}),ut(["y","yy","yyy","yyyy"],0),ut(["yo"],function(_,S,P,F){var $;P._locale._eraYearOrdinalRegex&&($=_.match(P._locale._eraYearOrdinalRegex)),S[0]=P._locale.eraYearOrdinalParse?P._locale.eraYearOrdinalParse(_,$):parseInt(_,10)}),Ze(0,["gg",2],0,function(){return this.weekYear()%100}),Ze(0,["GG",2],0,function(){return this.isoWeekYear()%100}),On("gggg","weekYear"),On("ggggg","weekYear"),On("GGGG","isoWeekYear"),On("GGGGG","isoWeekYear"),Wt("weekYear","gg"),Wt("isoWeekYear","GG"),ne("weekYear",1),ne("isoWeekYear",1),Le("G",Qs),Le("g",Qs),Le("GG",mt,it),Le("gg",mt,it),Le("GGGG",Uc,Rn),Le("gggg",Uc,Rn),Le("GGGGG",ko,Nt),Le("ggggg",ko,Nt),Pi(["gggg","ggggg","GGGG","GGGGG"],function(_,S,P,F){S[F.substr(0,2)]=we(_)}),Pi(["gg","GG"],function(_,S,P,F){S[F]=i.parseTwoDigitYear(_)}),Ze("Q",0,"Qo","quarter"),Wt("quarter","Q"),ne("quarter",7),Le("Q",Ri),ut("Q",function(_,S){S[1]=3*(we(_)-1)}),Ze("D",["DD",2],"Do","date"),Wt("date","D"),ne("date",9),Le("D",mt),Le("DD",mt,it),Le("Do",function(_,S){return _?S._dayOfMonthOrdinalParse||S._ordinalParse:S._dayOfMonthOrdinalParseLenient}),ut(["D","DD"],2),ut("Do",function(_,S){S[2]=we(_.match(mt)[0])});var ss=je("Date",!0);Ze("DDD",["DDDD",3],"DDDo","dayOfYear"),Wt("dayOfYear","DDD"),ne("dayOfYear",4),Le("DDD",Pn),Le("DDDD",Ue),ut(["DDD","DDDD"],function(_,S,P){P._dayOfYear=we(_)}),Ze("m",["mm",2],0,"minute"),Wt("minute","m"),ne("minute",14),Le("m",mt),Le("mm",mt,it),ut(["m","mm"],4);var Bo=je("Minutes",!1);Ze("s",["ss",2],0,"second"),Wt("second","s"),ne("second",15),Le("s",mt),Le("ss",mt,it),ut(["s","ss"],5);var os,Fu,ra=je("Seconds",!1);for(Ze("S",0,0,function(){return~~(this.millisecond()/100)}),Ze(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Ze(0,["SSS",3],0,"millisecond"),Ze(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Ze(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Ze(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Ze(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Ze(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Ze(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Wt("millisecond","ms"),ne("millisecond",16),Le("S",Pn,Ri),Le("SS",Pn,it),Le("SSS",Pn,Ue),os="SSSS";os.length<=9;os+="S")Le(os,Js);function Cp(_,S){S[6]=we(1e3*("0."+_))}for(os="S";os.length<=9;os+="S")ut(os,Cp);Fu=je("Milliseconds",!1),Ze("z",0,0,"zoneAbbr"),Ze("zz",0,0,"zoneName");var Re=St.prototype;function Tr(_){return _}Re.add=ch,Re.calendar=function lh(_,S){1===arguments.length&&(arguments[0]?br(arguments[0])?(_=arguments[0],S=void 0):Hs(arguments[0])&&(S=arguments[0],_=void 0):(_=void 0,S=void 0));var P=_||ci(),F=ns(P,this).startOf("day"),$=i.calendarFormat(this,F)||"sameElse",se=S&&(fe(S[$])?S[$].call(this,P):S[$]);return this.format(se||this.localeData().calendar($,this,ci(P)))},Re.clone=function pp(){return new St(this)},Re.diff=function xu(_,S,P){var F,$,se;if(!this.isValid())return NaN;if(!(F=ns(_,this)).isValid())return NaN;switch($=6e4*(F.utcOffset()-this.utcOffset()),S=hn(S)){case"year":se=wr(this,F)/12;break;case"month":se=wr(this,F);break;case"quarter":se=wr(this,F)/3;break;case"second":se=(this-F)/1e3;break;case"minute":se=(this-F)/6e4;break;case"hour":se=(this-F)/36e5;break;case"day":se=(this-F-$)/864e5;break;case"week":se=(this-F-$)/6048e5;break;default:se=this-F}return P?se:Oe(se)},Re.endOf=function rl(_){var S,P;if(void 0===(_=hn(_))||"millisecond"===_||!this.isValid())return this;switch(P=this._isUTC?Xr:ol,_){case"year":S=P(this.year()+1,0,1)-1;break;case"quarter":S=P(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":S=P(this.year(),this.month()+1,1)-1;break;case"week":S=P(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":S=P(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":S=P(this.year(),this.month(),this.date()+1)-1;break;case"hour":S=this._d.valueOf(),S+=vr-Qr(S+(this._isUTC?0:this.utcOffset()*zs),vr)-1;break;case"minute":S=this._d.valueOf(),S+=zs-Qr(S,zs)-1;break;case"second":S=this._d.valueOf(),S+=1e3-Qr(S,1e3)-1}return this._d.setTime(S),i.updateOffset(this,!0),this},Re.format=function Ru(_){_||(_=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var S=xn(this,_);return this.localeData().postformat(S)},Re.from=function nl(_,S){return this.isValid()&&(We(_)&&_.isValid()||ci(_).isValid())?_s({to:this,from:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Re.fromNow=function C_(_){return this.from(ci(),_)},Re.to=function Xa(_,S){return this.isValid()&&(We(_)&&_.isValid()||ci(_).isValid())?_s({from:this,to:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Re.toNow=function Wr(_){return this.to(ci(),_)},Re.get=function kt(_){return fe(this[_=hn(_)])?this[_]():this},Re.invalidAt=function fh(){return ee(this).overflow},Re.isAfter=function ys(_,S){var P=We(_)?_:ci(_);return!(!this.isValid()||!P.isValid())&&("millisecond"===(S=hn(S)||"millisecond")?this.valueOf()>P.valueOf():P.valueOf()9999?xn(P,S?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):fe(Date.prototype.toISOString)?S?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",xn(P,"Z")):xn(P,S?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Re.inspect=function Fs(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var P,F,_="moment",S="";return this.isLocal()||(_=0===this.utcOffset()?"moment.utc":"moment.parseZone",S="Z"),P="["+_+'("]',F=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(P+F+"-MM-DD[T]HH:mm:ss.SSS"+S+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Re[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Re.toJSON=function hh(){return this.isValid()?this.toISOString():null},Re.toString=function No(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Re.unix=function dh(){return Math.floor(this.valueOf()/1e3)},Re.valueOf=function _p(){return this._d.valueOf()-6e4*(this._offset||0)},Re.creationData=function ro(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Re.eraName=function ia(){var _,S,P,F=this.localeData().eras();for(_=0,S=F.length;_this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Re.isLocal=function _i(){return!!this.isValid()&&!this._isUTC},Re.isUtcOffset=function Wa(){return!!this.isValid()&&this._isUTC},Re.isUtc=ku,Re.isUTC=ku,Re.zoneAbbr=function S_(){return this._isUTC?"UTC":""},Re.zoneName=function k_(){return this._isUTC?"Coordinated Universal Time":""},Re.dates=wt("dates accessor is deprecated. Use date instead.",ss),Re.months=wt("months accessor is deprecated. Use month instead",Do),Re.years=wt("years accessor is deprecated. Use year instead",Cn),Re.zone=wt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Su(_,S){return null!=_?("string"!=typeof _&&(_=-_),this.utcOffset(_,S),this):-this.utcOffset()}),Re.isDSTShifted=wt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Fo(){if(!H(this._isDSTShifted))return this._isDSTShifted;var S,_={};return xt(_,this),(_=Zn(_))._a?(S=_._isUTC?X(_._a):ci(_._a),this._isDSTShifted=this.isValid()&&function Ho(_,S,P){var ge,F=Math.min(_.length,S.length),$=Math.abs(_.length-S.length),se=0;for(ge=0;ge0):this._isDSTShifted=!1,this._isDSTShifted});var Vt=xe.prototype;function Yo(_,S,P,F){var $=te(),se=X().set(F,S);return $[P](se,_)}function ph(_,S,P){if(B(_)&&(S=_,_=void 0),_=_||"",null!=S)return Yo(_,S,P,"month");var F,$=[];for(F=0;F<12;F++)$[F]=Yo(_,F,P,"month");return $}function zu(_,S,P,F){"boolean"==typeof _?(B(S)&&(P=S,S=void 0),S=S||""):(P=S=_,_=!1,B(S)&&(P=S,S=void 0),S=S||"");var ge,$=te(),se=_?$._week.dow:0,Qe=[];if(null!=P)return Yo(S,(P+se)%7,F,"day");for(ge=0;ge<7;ge++)Qe[ge]=Yo(S,(ge+se)%7,F,"day");return Qe}Vt.calendar=function qt(_,S,P){var F=this._calendar[_]||this._calendar.sameElse;return fe(F)?F.call(S,P):F},Vt.longDateFormat=function Br(_){var S=this._longDateFormat[_],P=this._longDateFormat[_.toUpperCase()];return S||!P?S:(this._longDateFormat[_]=P.match(Xe).map(function(F){return"MMMM"===F||"MM"===F||"DD"===F||"dddd"===F?F.slice(1):F}).join(""),this._longDateFormat[_])},Vt.invalidDate=function jr(){return this._invalidDate},Vt.ordinal=function So(_){return this._ordinal.replace("%d",_)},Vt.preparse=Tr,Vt.postformat=Tr,Vt.relativeTime=function lt(_,S,P,F){var $=this._relativeTime[P];return fe($)?$(_,S,P,F):$.replace(/%d/i,_)},Vt.pastFuture=function Na(_,S){var P=this._relativeTime[_>0?"future":"past"];return fe(P)?P(S):P.replace(/%s/i,S)},Vt.set=function _e(_){var S,P;for(P in _)E(_,P)&&(fe(S=_[P])?this[P]=S:this["_"+P]=S);this._config=_,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Vt.eras=function Lu(_,S){var P,F,$,se=this._eras||te("en")._eras;for(P=0,F=se.length;P=0)return se[F]},Vt.erasConvertYear=function ta(_,S){var P=_.since<=_.until?1:-1;return void 0===S?i(_.since).year():i(_.since).year()+(S-_.offset)*P},Vt.erasAbbrRegex=function ll(_){return E(this,"_erasAbbrRegex")||dl.call(this),_?this._erasAbbrRegex:this._erasRegex},Vt.erasNameRegex=function cl(_){return E(this,"_erasNameRegex")||dl.call(this),_?this._erasNameRegex:this._erasRegex},Vt.erasNarrowRegex=function Mi(_){return E(this,"_erasNarrowRegex")||dl.call(this),_?this._erasNarrowRegex:this._erasRegex},Vt.months=function lr(_,S){return _?v(this._months)?this._months[_.month()]:this._months[(this._months.isFormat||Rs).test(S)?"format":"standalone"][_.month()]:v(this._months)?this._months:this._months.standalone},Vt.monthsShort=function Eo(_,S){return _?v(this._monthsShort)?this._monthsShort[_.month()]:this._monthsShort[Rs.test(S)?"format":"standalone"][_.month()]:v(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Vt.monthsParse=function ur(_,S,P){var F,$,se;if(this._monthsParseExact)return Vc.call(this,_,S,P);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),F=0;F<12;F++){if($=X([2e3,F]),P&&!this._longMonthsParse[F]&&(this._longMonthsParse[F]=new RegExp("^"+this.months($,"").replace(".","")+"$","i"),this._shortMonthsParse[F]=new RegExp("^"+this.monthsShort($,"").replace(".","")+"$","i")),!P&&!this._monthsParse[F]&&(se="^"+this.months($,"")+"|^"+this.monthsShort($,""),this._monthsParse[F]=new RegExp(se.replace(".",""),"i")),P&&"MMMM"===S&&this._longMonthsParse[F].test(_))return F;if(P&&"MMM"===S&&this._shortMonthsParse[F].test(_))return F;if(!P&&this._monthsParse[F].test(_))return F}},Vt.monthsRegex=function ii(_){return this._monthsParseExact?(E(this,"_monthsRegex")||qc.call(this),_?this._monthsStrictRegex:this._monthsRegex):(E(this,"_monthsRegex")||(this._monthsRegex=pt),this._monthsStrictRegex&&_?this._monthsStrictRegex:this._monthsRegex)},Vt.monthsShortRegex=function qn(_){return this._monthsParseExact?(E(this,"_monthsRegex")||qc.call(this),_?this._monthsShortStrictRegex:this._monthsShortRegex):(E(this,"_monthsShortRegex")||(this._monthsShortRegex=gs),this._monthsShortStrictRegex&&_?this._monthsShortStrictRegex:this._monthsShortRegex)},Vt.week=function op(_){return dr(_,this._week.dow,this._week.doy).week},Vt.firstDayOfYear=function ap(){return this._week.doy},Vt.firstDayOfWeek=function rp(){return this._week.dow},Vt.weekdays=function Xi(_,S){var P=v(this._weekdays)?this._weekdays:this._weekdays[_&&!0!==_&&this._weekdays.isFormat.test(S)?"format":"standalone"];return!0===_?Yt(P,this._week.dow):_?P[_.day()]:P},Vt.weekdaysMin=function Po(_){return!0===_?Yt(this._weekdaysMin,this._week.dow):_?this._weekdaysMin[_.day()]:this._weekdaysMin},Vt.weekdaysShort=function Ya(_){return!0===_?Yt(this._weekdaysShort,this._week.dow):_?this._weekdaysShort[_.day()]:this._weekdaysShort},Vt.weekdaysParse=function Lo(_,S,P){var F,$,se;if(this._weekdaysParseExact)return eh.call(this,_,S,P);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),F=0;F<7;F++){if($=X([2e3,1]).day(F),P&&!this._fullWeekdaysParse[F]&&(this._fullWeekdaysParse[F]=new RegExp("^"+this.weekdays($,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[F]=new RegExp("^"+this.weekdaysShort($,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[F]=new RegExp("^"+this.weekdaysMin($,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[F]||(se="^"+this.weekdays($,"")+"|^"+this.weekdaysShort($,"")+"|^"+this.weekdaysMin($,""),this._weekdaysParse[F]=new RegExp(se.replace(".",""),"i")),P&&"dddd"===S&&this._fullWeekdaysParse[F].test(_))return F;if(P&&"ddd"===S&&this._shortWeekdaysParse[F].test(_))return F;if(P&&"dd"===S&&this._minWeekdaysParse[F].test(_))return F;if(!P&&this._weekdaysParse[F].test(_))return F}},Vt.weekdaysRegex=function nt(_){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Gr.call(this),_?this._weekdaysStrictRegex:this._weekdaysRegex):(E(this,"_weekdaysRegex")||(this._weekdaysRegex=Gc),this._weekdaysStrictRegex&&_?this._weekdaysStrictRegex:this._weekdaysRegex)},Vt.weekdaysShortRegex=function Gi(_){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Gr.call(this),_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(E(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qi),this._weekdaysShortStrictRegex&&_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Vt.weekdaysMinRegex=function jt(_){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Gr.call(this),_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(E(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qr),this._weekdaysMinStrictRegex&&_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Vt.isPM=function vu(_){return"p"===(_+"").toLowerCase().charAt(0)},Vt.meridiem=function th(_,S,P){return _>11?P?"pm":"PM":P?"am":"AM"},V("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(_){var S=_%10;return _+(1===we(_%100/10)?"th":1===S?"st":2===S?"nd":3===S?"rd":"th")}}),i.lang=wt("moment.lang is deprecated. Use moment.locale instead.",V),i.langData=wt("moment.langData is deprecated. Use moment.localeData instead.",te);var gn=Math.abs;function aa(_,S,P,F){var $=_s(S,P);return _._milliseconds+=F*$._milliseconds,_._days+=F*$._days,_._months+=F*$._months,_._bubble()}function mh(_){return _<0?Math.floor(_):Math.ceil(_)}function _h(_){return 4800*_/146097}function pl(_){return 146097*_/4800}function Ns(_){return function(){return this.as(_)}}var kp=Ns("ms"),tn=Ns("s"),yh=Ns("m"),Ep=Ns("h"),gl=Ns("d"),ml=Ns("w"),bh=Ns("M"),wh=Ns("Q"),Ah=Ns("y");function jo(_){return function(){return this.isValid()?this._data[_]:NaN}}var ua=jo("milliseconds"),Dp=jo("seconds"),Yu=jo("minutes"),ju=jo("hours"),da=jo("days"),vh=jo("months"),xp=jo("years");var mn=Math.round,bs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Pp(_,S,P,F,$){return $.relativeTime(S||1,!!P,_,F)}var Uu=Math.abs;function ha(_){return(_>0)-(_<0)||+_}function yi(){if(!this.isValid())return this.localeData().invalidDate();var F,$,se,ge,_t,$t,vi,Uo,_=Uu(this._milliseconds)/1e3,S=Uu(this._days),P=Uu(this._months),Qe=this.asSeconds();return Qe?(F=Oe(_/60),$=Oe(F/60),_%=60,F%=60,se=Oe(P/12),P%=12,ge=_?_.toFixed(3).replace(/\.?0+$/,""):"",_t=Qe<0?"-":"",$t=ha(this._months)!==ha(Qe)?"-":"",vi=ha(this._days)!==ha(Qe)?"-":"",Uo=ha(this._milliseconds)!==ha(Qe)?"-":"",_t+"P"+(se?$t+se+"Y":"")+(P?$t+P+"M":"")+(S?vi+S+"D":"")+($||F||_?"T":"")+($?Uo+$+"H":"")+(F?Uo+F+"M":"")+(_?Uo+ge+"S":"")):"P0D"}var Ht=Ka.prototype;return Ht.isValid=function Tu(){return this._isValid},Ht.abs=function E_(){var _=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),_.milliseconds=gn(_.milliseconds),_.seconds=gn(_.seconds),_.minutes=gn(_.minutes),_.hours=gn(_.hours),_.months=gn(_.months),_.years=gn(_.years),this},Ht.add=function Bu(_,S){return aa(this,_,S,1)},Ht.subtract=function fl(_,S){return aa(this,_,S,-1)},Ht.as=function Sp(_){if(!this.isValid())return NaN;var S,P,F=this._milliseconds;if("month"===(_=hn(_))||"quarter"===_||"year"===_)switch(S=this._days+F/864e5,P=this._months+_h(S),_){case"month":return P;case"quarter":return P/3;case"year":return P/12}else switch(S=this._days+Math.round(pl(this._months)),_){case"week":return S/7+F/6048e5;case"day":return S+F/864e5;case"hour":return 24*S+F/36e5;case"minute":return 1440*S+F/6e4;case"second":return 86400*S+F/1e3;case"millisecond":return Math.floor(864e5*S)+F;default:throw new Error("Unknown unit "+_)}},Ht.asMilliseconds=kp,Ht.asSeconds=tn,Ht.asMinutes=yh,Ht.asHours=Ep,Ht.asDays=gl,Ht.asWeeks=ml,Ht.asMonths=bh,Ht.asQuarters=wh,Ht.asYears=Ah,Ht.valueOf=function ca(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*we(this._months/12):NaN},Ht._bubble=function Mp(){var $,se,ge,Qe,_t,_=this._milliseconds,S=this._days,P=this._months,F=this._data;return _>=0&&S>=0&&P>=0||_<=0&&S<=0&&P<=0||(_+=864e5*mh(pl(P)+S),S=0,P=0),F.milliseconds=_%1e3,$=Oe(_/1e3),F.seconds=$%60,se=Oe($/60),F.minutes=se%60,ge=Oe(se/60),F.hours=ge%24,S+=Oe(ge/24),P+=_t=Oe(_h(S)),S-=mh(pl(_t)),Qe=Oe(P/12),P%=12,F.days=S,F.months=P,F.years=Qe,this},Ht.clone=function la(){return _s(this)},Ht.get=function Mr(_){return _=hn(_),this.isValid()?this[_+"s"]():NaN},Ht.milliseconds=ua,Ht.seconds=Dp,Ht.minutes=Yu,Ht.hours=ju,Ht.days=da,Ht.weeks=function Rp(){return Oe(this.days()/7)},Ht.months=vh,Ht.years=xp,Ht.humanize=function Ip(_,S){if(!this.isValid())return this.localeData().invalidDate();var $,se,P=!1,F=bs;return"object"==typeof _&&(S=_,_=!1),"boolean"==typeof _&&(P=_),"object"==typeof S&&(F=Object.assign({},bs,S),null!=S.s&&null==S.ss&&(F.ss=S.s-1)),se=function D_(_,S,P,F){var $=_s(_).abs(),se=mn($.as("s")),ge=mn($.as("m")),Qe=mn($.as("h")),_t=mn($.as("d")),$t=mn($.as("M")),vi=mn($.as("w")),Uo=mn($.as("y")),Hn=se<=P.ss&&["s",se]||se0,Hn[4]=F,Pp.apply(null,Hn)}(this,!P,F,$=this.localeData()),P&&(se=$.pastFuture(+this,se)),$.postformat(se)},Ht.toISOString=yi,Ht.toString=yi,Ht.toJSON=yi,Ht.locale=sl,Ht.localeData=Ar,Ht.toIsoString=wt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",yi),Ht.lang=Pu,Ze("X",0,0,"unix"),Ze("x",0,0,"valueOf"),Le("x",Qs),Le("X",/[+-]?\d+(\.\d{1,3})?/),ut("X",function(_,S,P){P._d=new Date(1e3*parseFloat(_))}),ut("x",function(_,S,P){P._d=new Date(we(_))}),i.version="2.29.2",function T(_){b=_}(ci),i.fn=Re,i.min=function so(){return fi("isBefore",[].slice.call(arguments,0))},i.max=function oh(){return fi("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=X,i.unix=function Wn(_){return ci(1e3*_)},i.months=function hl(_,S){return ph(_,S,"months")},i.isDate=N,i.locale=V,i.invalid=Ie,i.duration=_s,i.isMoment=We,i.weekdays=function oc(_,S,P){return zu(_,S,P,"weekdays")},i.parseZone=function sc(){return ci.apply(null,arguments).parseZone()},i.localeData=te,i.isDuration=mr,i.monthsShort=function Tp(_,S){return ph(_,S,"monthsShort")},i.weekdaysMin=function Nu(_,S,P){return zu(_,S,P,"weekdaysMin")},i.defineLocale=O,i.updateLocale=function q(_,S){if(null!=S){var P,F,$=hr;null!=di[_]&&null!=di[_].parentLocale?di[_].set(me(di[_]._config,S)):(null!=(F=L(_))&&($=F._config),S=me($,S),null==F&&(S.abbr=_),(P=new xe(S)).parentLocale=di[_],di[_]=P),V(_)}else null!=di[_]&&(null!=di[_].parentLocale?(di[_]=di[_].parentLocale,_===V()&&V(_)):null!=di[_]&&delete di[_]);return di[_]},i.locales=function pe(){return he(di)},i.weekdaysShort=function gh(_,S,P){return zu(_,S,P,"weekdaysShort")},i.normalizeUnits=hn,i.relativeTimeRounding=function Ch(_){return void 0===_?mn:"function"==typeof _&&(mn=_,!0)},i.relativeTimeThreshold=function Lp(_,S){return void 0!==bs[_]&&(void 0===S?bs[_]:(bs[_]=S,"s"===_&&(bs.ss=S-1),!0))},i.calendarFormat=function el(_,S){var P=_.diff(S,"days",!0);return P<-6?"sameElse":P<-1?"lastWeek":P<0?"lastDay":P<1?"sameDay":P<2?"nextDay":P<7?"nextWeek":"sameElse"},i.prototype=Re,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},1869:(Y,U,w)=>{"use strict";w.d(U,{d:()=>i});var b=w(3489);class i extends b.L{constructor(v,C,E){super(),this.parent=v,this.outerValue=C,this.outerIndex=E,this.index=0}_next(v){this.parent.notifyNext(this.outerValue,v,this.outerIndex,this.index++,this)}_error(v){this.parent.notifyError(v,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},9312:(Y,U,w)=>{"use strict";w.d(U,{P:()=>C});var b=w(8896),i=w(1086),T=w(1737);class C{constructor(R,H,B){this.kind=R,this.value=H,this.error=B,this.hasValue="N"===R}observe(R){switch(this.kind){case"N":return R.next&&R.next(this.value);case"E":return R.error&&R.error(this.error);case"C":return R.complete&&R.complete()}}do(R,H,B){switch(this.kind){case"N":return R&&R(this.value);case"E":return H&&H(this.error);case"C":return B&&B()}}accept(R,H,B){return R&&"function"==typeof R.next?this.observe(R):this.do(R,H,B)}toObservable(){switch(this.kind){case"N":return(0,i.of)(this.value);case"E":return(0,T._)(this.error);case"C":return(0,b.c)()}throw new Error("unexpected notification kind value")}static createNext(R){return void 0!==R?new C("N",R):C.undefinedValueNotification}static createError(R){return new C("E",void 0,R)}static createComplete(){return C.completeNotification}}C.completeNotification=new C("C"),C.undefinedValueNotification=new C("N",void 0)},2916:(Y,U,w)=>{"use strict";w.d(U,{y:()=>G});var b=w(3489),T=w(7668),v=w(3292),E=w(3821),R=w(5379);var N=w(2830);let G=(()=>{class X{constructor(ee){this._isScalar=!1,ee&&(this._subscribe=ee)}lift(ee){const ae=new X;return ae.source=this,ae.operator=ee,ae}subscribe(ee,ae,de){const{operator:Ie}=this,He=function C(X,re,ee){if(X){if(X instanceof b.L)return X;if(X[T.b])return X[T.b]()}return X||re||ee?new b.L(X,re,ee):new b.L(v.c)}(ee,ae,de);if(He.add(Ie?Ie.call(He,this.source):this.source||N.v.useDeprecatedSynchronousErrorHandling&&!He.syncErrorThrowable?this._subscribe(He):this._trySubscribe(He)),N.v.useDeprecatedSynchronousErrorHandling&&He.syncErrorThrowable&&(He.syncErrorThrowable=!1,He.syncErrorThrown))throw He.syncErrorValue;return He}_trySubscribe(ee){try{return this._subscribe(ee)}catch(ae){N.v.useDeprecatedSynchronousErrorHandling&&(ee.syncErrorThrown=!0,ee.syncErrorValue=ae),function i(X){for(;X;){const{closed:re,destination:ee,isStopped:ae}=X;if(re||ae)return!1;X=ee&&ee instanceof b.L?ee:null}return!0}(ee)?ee.error(ae):console.warn(ae)}}forEach(ee,ae){return new(ae=J(ae))((de,Ie)=>{let He;He=this.subscribe(Ge=>{try{ee(Ge)}catch(xt){Ie(xt),He&&He.unsubscribe()}},Ie,de)})}_subscribe(ee){const{source:ae}=this;return ae&&ae.subscribe(ee)}[E.L](){return this}pipe(...ee){return 0===ee.length?this:function B(X){return 0===X.length?R.y:1===X.length?X[0]:function(ee){return X.reduce((ae,de)=>de(ae),ee)}}(ee)(this)}toPromise(ee){return new(ee=J(ee))((ae,de)=>{let Ie;this.subscribe(He=>Ie=He,He=>de(He),()=>ae(Ie))})}}return X.create=re=>new X(re),X})();function J(X){if(X||(X=N.v.Promise||Promise),!X)throw new Error("no Promise impl found");return X}},3292:(Y,U,w)=>{"use strict";w.d(U,{c:()=>T});var b=w(2830),i=w(2782);const T={closed:!0,next(v){},error(v){if(b.v.useDeprecatedSynchronousErrorHandling)throw v;(0,i.z)(v)},complete(){}}},826:(Y,U,w)=>{"use strict";w.d(U,{L:()=>i});var b=w(3489);class i extends b.L{notifyNext(v,C,E,R,H){this.destination.next(C)}notifyError(v,C){this.destination.error(v)}notifyComplete(v){this.destination.complete()}}},8929:(Y,U,w)=>{"use strict";w.d(U,{Yc:()=>R,xQ:()=>H});var b=w(2916),i=w(3489),T=w(2654),v=w(5279),C=w(5283),E=w(7668);class R extends i.L{constructor(G){super(G),this.destination=G}}let H=(()=>{class N extends b.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[E.b](){return new R(this)}lift(J){const X=new B(this,this);return X.operator=J,X}next(J){if(this.closed)throw new v.N;if(!this.isStopped){const{observers:X}=this,re=X.length,ee=X.slice();for(let ae=0;aenew B(G,J),N})();class B extends H{constructor(G,J){super(),this.destination=G,this.source=J}next(G){const{destination:J}=this;J&&J.next&&J.next(G)}error(G){const{destination:J}=this;J&&J.error&&this.destination.error(G)}complete(){const{destination:G}=this;G&&G.complete&&this.destination.complete()}_subscribe(G){const{source:J}=this;return J?this.source.subscribe(G):T.w.EMPTY}}},5283:(Y,U,w)=>{"use strict";w.d(U,{W:()=>i});var b=w(2654);class i extends b.w{constructor(v,C){super(),this.subject=v,this.subscriber=C,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const v=this.subject,C=v.observers;if(this.subject=null,!C||0===C.length||v.isStopped||v.closed)return;const E=C.indexOf(this.subscriber);-1!==E&&C.splice(E,1)}}},3489:(Y,U,w)=>{"use strict";w.d(U,{L:()=>R});var b=w(7043),i=w(3292),T=w(2654),v=w(7668),C=w(2830),E=w(2782);class R extends T.w{constructor(N,G,J){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.c;break;case 1:if(!N){this.destination=i.c;break}if("object"==typeof N){N instanceof R?(this.syncErrorThrowable=N.syncErrorThrowable,this.destination=N,N.add(this)):(this.syncErrorThrowable=!0,this.destination=new H(this,N));break}default:this.syncErrorThrowable=!0,this.destination=new H(this,N,G,J)}}[v.b](){return this}static create(N,G,J){const X=new R(N,G,J);return X.syncErrorThrowable=!1,X}next(N){this.isStopped||this._next(N)}error(N){this.isStopped||(this.isStopped=!0,this._error(N))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(N){this.destination.next(N)}_error(N){this.destination.error(N),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:N}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=N,this}}class H extends R{constructor(N,G,J,X){super(),this._parentSubscriber=N;let re,ee=this;(0,b.m)(G)?re=G:G&&(re=G.next,J=G.error,X=G.complete,G!==i.c&&(ee=Object.create(G),(0,b.m)(ee.unsubscribe)&&this.add(ee.unsubscribe.bind(ee)),ee.unsubscribe=this.unsubscribe.bind(this))),this._context=ee,this._next=re,this._error=J,this._complete=X}next(N){if(!this.isStopped&&this._next){const{_parentSubscriber:G}=this;C.v.useDeprecatedSynchronousErrorHandling&&G.syncErrorThrowable?this.__tryOrSetError(G,this._next,N)&&this.unsubscribe():this.__tryOrUnsub(this._next,N)}}error(N){if(!this.isStopped){const{_parentSubscriber:G}=this,{useDeprecatedSynchronousErrorHandling:J}=C.v;if(this._error)J&&G.syncErrorThrowable?(this.__tryOrSetError(G,this._error,N),this.unsubscribe()):(this.__tryOrUnsub(this._error,N),this.unsubscribe());else if(G.syncErrorThrowable)J?(G.syncErrorValue=N,G.syncErrorThrown=!0):(0,E.z)(N),this.unsubscribe();else{if(this.unsubscribe(),J)throw N;(0,E.z)(N)}}}complete(){if(!this.isStopped){const{_parentSubscriber:N}=this;if(this._complete){const G=()=>this._complete.call(this._context);C.v.useDeprecatedSynchronousErrorHandling&&N.syncErrorThrowable?(this.__tryOrSetError(N,G),this.unsubscribe()):(this.__tryOrUnsub(G),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(N,G){try{N.call(this._context,G)}catch(J){if(this.unsubscribe(),C.v.useDeprecatedSynchronousErrorHandling)throw J;(0,E.z)(J)}}__tryOrSetError(N,G,J){if(!C.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{G.call(this._context,J)}catch(X){return C.v.useDeprecatedSynchronousErrorHandling?(N.syncErrorValue=X,N.syncErrorThrown=!0,!0):((0,E.z)(X),!0)}return!1}_unsubscribe(){const{_parentSubscriber:N}=this;this._context=null,this._parentSubscriber=null,N.unsubscribe()}}},2654:(Y,U,w)=>{"use strict";w.d(U,{w:()=>E});var b=w(6688),i=w(7830),T=w(7043);const C=(()=>{function H(B){return Error.call(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((N,G)=>`${G+1}) ${N.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=B,this}return H.prototype=Object.create(Error.prototype),H})();class E{constructor(B){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,B&&(this._unsubscribe=B)}unsubscribe(){let B;if(this.closed)return;let{_parentOrParents:N,_unsubscribe:G,_subscriptions:J}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,N instanceof E)N.remove(this);else if(null!==N)for(let X=0;XB.concat(N instanceof C?N.errors:N),[])}E.EMPTY=((H=new E).closed=!0,H)},2830:(Y,U,w)=>{"use strict";w.d(U,{v:()=>i});let b=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(T){if(T){const v=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+v.stack)}else b&&console.log("RxJS: Back to a better error behavior. Thank you. <3");b=T},get useDeprecatedSynchronousErrorHandling(){return b}}},1762:(Y,U,w)=>{"use strict";w.d(U,{c:()=>C,N:()=>E});var b=w(8929),i=w(2916),T=w(2654),v=w(4327);class C extends i.y{constructor(G,J){super(),this.source=G,this.subjectFactory=J,this._refCount=0,this._isComplete=!1}_subscribe(G){return this.getSubject().subscribe(G)}getSubject(){const G=this._subject;return(!G||G.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let G=this._connection;return G||(this._isComplete=!1,G=this._connection=new T.w,G.add(this.source.subscribe(new R(this.getSubject(),this))),G.closed&&(this._connection=null,G=T.w.EMPTY)),G}refCount(){return(0,v.x)()(this)}}const E=(()=>{const N=C.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:N._subscribe},_isComplete:{value:N._isComplete,writable:!0},getSubject:{value:N.getSubject},connect:{value:N.connect},refCount:{value:N.refCount}}})();class R extends b.Yc{constructor(G,J){super(G),this.connectable=J}_error(G){this._unsubscribe(),super._error(G)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const G=this.connectable;if(G){this.connectable=null;const J=G._connection;G._refCount=0,G._subject=null,G._connection=null,J&&J.unsubscribe()}}}},6053:(Y,U,w)=>{"use strict";w.d(U,{aj:()=>R});var b=w(2866),i=w(6688),T=w(826),v=w(9054),C=w(3009);const E={};function R(...N){let G=null,J=null;return(0,b.K)(N[N.length-1])&&(J=N.pop()),"function"==typeof N[N.length-1]&&(G=N.pop()),1===N.length&&(0,i.k)(N[0])&&(N=N[0]),(0,C.n)(N,J).lift(new H(G))}class H{constructor(G){this.resultSelector=G}call(G,J){return J.subscribe(new B(G,this.resultSelector))}}class B extends T.L{constructor(G,J){super(G),this.resultSelector=J,this.active=0,this.values=[],this.observables=[]}_next(G){this.values.push(E),this.observables.push(G)}_complete(){const G=this.observables,J=G.length;if(0===J)this.destination.complete();else{this.active=J,this.toRespond=J;for(let X=0;X{"use strict";w.d(U,{E:()=>i,c:()=>T});var b=w(2916);const i=new b.y(C=>C.complete());function T(C){return C?function v(C){return new b.y(E=>C.schedule(()=>E.complete()))}(C):i}},5254:(Y,U,w)=>{"use strict";w.d(U,{D:()=>ee});var b=w(2916),i=w(9249),T=w(2654),v=w(3821),R=w(6454),H=w(5430),G=w(8955),J=w(8515);function ee(ae,de){return de?function re(ae,de){if(null!=ae){if(function N(ae){return ae&&"function"==typeof ae[v.L]}(ae))return function C(ae,de){return new b.y(Ie=>{const He=new T.w;return He.add(de.schedule(()=>{const Ge=ae[v.L]();He.add(Ge.subscribe({next(xt){He.add(de.schedule(()=>Ie.next(xt)))},error(xt){He.add(de.schedule(()=>Ie.error(xt)))},complete(){He.add(de.schedule(()=>Ie.complete()))}}))})),He})}(ae,de);if((0,G.t)(ae))return function E(ae,de){return new b.y(Ie=>{const He=new T.w;return He.add(de.schedule(()=>ae.then(Ge=>{He.add(de.schedule(()=>{Ie.next(Ge),He.add(de.schedule(()=>Ie.complete()))}))},Ge=>{He.add(de.schedule(()=>Ie.error(Ge)))}))),He})}(ae,de);if((0,J.z)(ae))return(0,R.r)(ae,de);if(function X(ae){return ae&&"function"==typeof ae[H.hZ]}(ae)||"string"==typeof ae)return function B(ae,de){if(!ae)throw new Error("Iterable cannot be null");return new b.y(Ie=>{const He=new T.w;let Ge;return He.add(()=>{Ge&&"function"==typeof Ge.return&&Ge.return()}),He.add(de.schedule(()=>{Ge=ae[H.hZ](),He.add(de.schedule(function(){if(Ie.closed)return;let xt,St;try{const We=Ge.next();xt=We.value,St=We.done}catch(We){return void Ie.error(We)}St?Ie.complete():(Ie.next(xt),this.schedule())}))})),He})}(ae,de)}throw new TypeError((null!==ae&&typeof ae||ae)+" is not observable")}(ae,de):ae instanceof b.y?ae:new b.y((0,i.s)(ae))}},3009:(Y,U,w)=>{"use strict";w.d(U,{n:()=>v});var b=w(2916),i=w(3650),T=w(6454);function v(C,E){return E?(0,T.r)(C,E):new b.y((0,i.V)(C))}},6787:(Y,U,w)=>{"use strict";w.d(U,{T:()=>C});var b=w(2916),i=w(2866),T=w(9146),v=w(3009);function C(...E){let R=Number.POSITIVE_INFINITY,H=null,B=E[E.length-1];return(0,i.K)(B)?(H=E.pop(),E.length>1&&"number"==typeof E[E.length-1]&&(R=E.pop())):"number"==typeof B&&(R=E.pop()),null===H&&1===E.length&&E[0]instanceof b.y?E[0]:(0,T.J)(R)((0,v.n)(E,H))}},1086:(Y,U,w)=>{"use strict";w.d(U,{of:()=>v});var b=w(2866),i=w(3009),T=w(6454);function v(...C){let E=C[C.length-1];return(0,b.K)(E)?(C.pop(),(0,T.r)(C,E)):(0,i.n)(C)}},1946:(Y,U,w)=>{"use strict";w.d(U,{S3:()=>C});var b=w(6688),i=w(3009),T=w(826),v=w(9054);function C(...H){if(1===H.length){if(!(0,b.k)(H[0]))return H[0];H=H[0]}return(0,i.n)(H,void 0).lift(new E)}class E{call(B,N){return N.subscribe(new R(B))}}class R extends T.L{constructor(B){super(B),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(B){this.observables.push(B)}_complete(){const B=this.observables,N=B.length;if(0===N)this.destination.complete();else{for(let G=0;G{"use strict";w.d(U,{_:()=>i});var b=w(2916);function i(v,C){return new b.y(C?E=>C.schedule(T,0,{error:v,subscriber:E}):E=>E.error(v))}function T({error:v,subscriber:C}){C.error(v)}},7221:(Y,U,w)=>{"use strict";w.d(U,{K:()=>v});var b=w(826),i=w(1869),T=w(9054);function v(R){return function(B){const N=new C(R),G=B.lift(N);return N.caught=G}}class C{constructor(H){this.selector=H}call(H,B){return B.subscribe(new E(H,this.selector,this.caught))}}class E extends b.L{constructor(H,B,N){super(H),this.selector=B,this.caught=N}error(H){if(!this.isStopped){let B;try{B=this.selector(H,this.caught)}catch(J){return void super.error(J)}this._unsubscribeAndRecycle();const N=new i.d(this,void 0,void 0);this.add(N);const G=(0,T.D)(this,B,void 0,void 0,N);G!==N&&this.add(G)}}}},1406:(Y,U,w)=>{"use strict";w.d(U,{b:()=>i});var b=w(1709);function i(T,v){return(0,b.zg)(T,v,1)}},13:(Y,U,w)=>{"use strict";w.d(U,{b:()=>T});var b=w(3489),i=w(353);function T(R,H=i.P){return B=>B.lift(new v(R,H))}class v{constructor(H,B){this.dueTime=H,this.scheduler=B}call(H,B){return B.subscribe(new C(H,this.dueTime,this.scheduler))}}class C extends b.L{constructor(H,B,N){super(H),this.dueTime=B,this.scheduler=N,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(H){this.clearDebounce(),this.lastValue=H,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(E,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:H}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(H)}}clearDebounce(){const H=this.debouncedSubscription;null!==H&&(this.remove(H),H.unsubscribe(),this.debouncedSubscription=null)}}function E(R){R.debouncedNext()}},7314:(Y,U,w)=>{"use strict";w.d(U,{d:()=>i});var b=w(3489);function i(C=null){return E=>E.lift(new T(C))}class T{constructor(E){this.defaultValue=E}call(E,R){return R.subscribe(new v(E,this.defaultValue))}}class v extends b.L{constructor(E,R){super(E),this.defaultValue=R,this.isEmpty=!0}_next(E){this.isEmpty=!1,this.destination.next(E)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(Y,U,w)=>{"use strict";w.d(U,{g:()=>C});var b=w(353),i=w(2697),T=w(3489),v=w(9312);function C(B,N=b.P){const J=(0,i.J)(B)?+B-N.now():Math.abs(B);return X=>X.lift(new E(J,N))}class E{constructor(N,G){this.delay=N,this.scheduler=G}call(N,G){return G.subscribe(new R(N,this.delay,this.scheduler))}}class R extends T.L{constructor(N,G,J){super(N),this.delay=G,this.scheduler=J,this.queue=[],this.active=!1,this.errored=!1}static dispatch(N){const G=N.source,J=G.queue,X=N.scheduler,re=N.destination;for(;J.length>0&&J[0].time-X.now()<=0;)J.shift().notification.observe(re);if(J.length>0){const ee=Math.max(0,J[0].time-X.now());this.schedule(N,ee)}else this.unsubscribe(),G.active=!1}_schedule(N){this.active=!0,this.destination.add(N.schedule(R.dispatch,this.delay,{source:this,destination:this.destination,scheduler:N}))}scheduleNotification(N){if(!0===this.errored)return;const G=this.scheduler,J=new H(G.now()+this.delay,N);this.queue.push(J),!1===this.active&&this._schedule(G)}_next(N){this.scheduleNotification(v.P.createNext(N))}_error(N){this.errored=!0,this.queue=[],this.destination.error(N),this.unsubscribe()}_complete(){this.scheduleNotification(v.P.createComplete()),this.unsubscribe()}}class H{constructor(N,G){this.time=N,this.notification=G}}},2198:(Y,U,w)=>{"use strict";w.d(U,{h:()=>i});var b=w(3489);function i(C,E){return function(H){return H.lift(new T(C,E))}}class T{constructor(E,R){this.predicate=E,this.thisArg=R}call(E,R){return R.subscribe(new v(E,this.predicate,this.thisArg))}}class v extends b.L{constructor(E,R,H){super(E),this.predicate=R,this.thisArg=H,this.count=0}_next(E){let R;try{R=this.predicate.call(this.thisArg,E,this.count++)}catch(H){return void this.destination.error(H)}R&&this.destination.next(E)}}},7224:(Y,U,w)=>{"use strict";w.d(U,{P:()=>R});var b=w(4450),i=w(2198),T=w(2986),v=w(7314),C=w(4907),E=w(5379);function R(H,B){const N=arguments.length>=2;return G=>G.pipe(H?(0,i.h)((J,X)=>H(J,X,G)):E.y,(0,T.q)(1),N?(0,v.d)(B):(0,C.T)(()=>new b.K))}},4850:(Y,U,w)=>{"use strict";w.d(U,{U:()=>i});var b=w(3489);function i(C,E){return function(H){if("function"!=typeof C)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return H.lift(new T(C,E))}}class T{constructor(E,R){this.project=E,this.thisArg=R}call(E,R){return R.subscribe(new v(E,this.project,this.thisArg))}}class v extends b.L{constructor(E,R,H){super(E),this.project=R,this.count=0,this.thisArg=H||this}_next(E){let R;try{R=this.project.call(this.thisArg,E,this.count++)}catch(H){return void this.destination.error(H)}this.destination.next(R)}}},9146:(Y,U,w)=>{"use strict";w.d(U,{J:()=>T});var b=w(1709),i=w(5379);function T(v=Number.POSITIVE_INFINITY){return(0,b.zg)(i.y,v)}},1709:(Y,U,w)=>{"use strict";w.d(U,{zg:()=>E});var b=w(9054),i=w(826),T=w(1869),v=w(4850),C=w(5254);function E(B,N,G=Number.POSITIVE_INFINITY){return"function"==typeof N?J=>J.pipe(E((X,re)=>(0,C.D)(B(X,re)).pipe((0,v.U)((ee,ae)=>N(X,ee,re,ae))),G)):("number"==typeof N&&(G=N),J=>J.lift(new R(B,G)))}class R{constructor(N,G=Number.POSITIVE_INFINITY){this.project=N,this.concurrent=G}call(N,G){return G.subscribe(new H(N,this.project,this.concurrent))}}class H extends i.L{constructor(N,G,J=Number.POSITIVE_INFINITY){super(N),this.project=G,this.concurrent=J,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(N){this.active0?this._next(G.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(Y,U,w)=>{"use strict";w.d(U,{x:()=>i});var b=w(3489);function i(){return function(E){return E.lift(new T(E))}}class T{constructor(E){this.connectable=E}call(E,R){const{connectable:H}=this;H._refCount++;const B=new v(E,H),N=R.subscribe(B);return B.closed||(B.connection=H.connect()),N}}class v extends b.L{constructor(E,R){super(E),this.connectable=R}_unsubscribe(){const{connectable:E}=this;if(!E)return void(this.connection=null);this.connectable=null;const R=E._refCount;if(R<=0)return void(this.connection=null);if(E._refCount=R-1,R>1)return void(this.connection=null);const{connection:H}=this,B=E._connection;this.connection=null,B&&(!H||B===H)&&B.unsubscribe()}}},2474:(Y,U,w)=>{"use strict";w.d(U,{B:()=>R});var b=w(1762);class T{constructor(B,N){this.subjectFactory=B,this.selector=N}call(B,N){const{selector:G}=this,J=this.subjectFactory(),X=G(J).subscribe(B);return X.add(N.subscribe(J)),X}}var v=w(4327),C=w(8929);function E(){return new C.xQ}function R(){return H=>(0,v.x)()(function i(H,B){return function(G){let J;if(J="function"==typeof H?H:function(){return H},"function"==typeof B)return G.lift(new T(J,B));const X=Object.create(G,b.N);return X.source=G,X.subjectFactory=J,X}}(E)(H))}},7545:(Y,U,w)=>{"use strict";w.d(U,{w:()=>E});var b=w(826),i=w(1869),T=w(9054),v=w(4850),C=w(5254);function E(B,N){return"function"==typeof N?G=>G.pipe(E((J,X)=>(0,C.D)(B(J,X)).pipe((0,v.U)((re,ee)=>N(J,re,X,ee))))):G=>G.lift(new R(B))}class R{constructor(N){this.project=N}call(N,G){return G.subscribe(new H(N,this.project))}}class H extends b.L{constructor(N,G){super(N),this.project=G,this.index=0}_next(N){let G;const J=this.index++;try{G=this.project(N,J)}catch(X){return void this.destination.error(X)}this._innerSub(G,N,J)}_innerSub(N,G,J){const X=this.innerSubscription;X&&X.unsubscribe();const re=new i.d(this,G,J),ee=this.destination;ee.add(re),this.innerSubscription=(0,T.D)(this,N,void 0,void 0,re),this.innerSubscription!==re&&ee.add(this.innerSubscription)}_complete(){const{innerSubscription:N}=this;(!N||N.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(N){this.destination.remove(N),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(N,G,J,X,re){this.destination.next(G)}}},2986:(Y,U,w)=>{"use strict";w.d(U,{q:()=>v});var b=w(3489),i=w(4231),T=w(8896);function v(R){return H=>0===R?(0,T.c)():H.lift(new C(R))}class C{constructor(H){if(this.total=H,this.total<0)throw new i.W}call(H,B){return B.subscribe(new E(H,this.total))}}class E extends b.L{constructor(H,B){super(H),this.total=B,this.count=0}_next(H){const B=this.total,N=++this.count;N<=B&&(this.destination.next(H),N===B&&(this.destination.complete(),this.unsubscribe()))}}},2868:(Y,U,w)=>{"use strict";w.d(U,{b:()=>v});var b=w(3489);function i(){}var T=w(7043);function v(R,H,B){return function(G){return G.lift(new C(R,H,B))}}class C{constructor(H,B,N){this.nextOrObserver=H,this.error=B,this.complete=N}call(H,B){return B.subscribe(new E(H,this.nextOrObserver,this.error,this.complete))}}class E extends b.L{constructor(H,B,N,G){super(H),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=N||i,this._tapComplete=G||i,(0,T.m)(B)?(this._context=this,this._tapNext=B):B&&(this._context=B,this._tapNext=B.next||i,this._tapError=B.error||i,this._tapComplete=B.complete||i)}_next(H){try{this._tapNext.call(this._context,H)}catch(B){return void this.destination.error(B)}this.destination.next(H)}_error(H){try{this._tapError.call(this._context,H)}catch(B){return void this.destination.error(B)}this.destination.error(H)}_complete(){try{this._tapComplete.call(this._context)}catch(H){return void this.destination.error(H)}return this.destination.complete()}}},4907:(Y,U,w)=>{"use strict";w.d(U,{T:()=>T});var b=w(4450),i=w(3489);function T(R=E){return H=>H.lift(new v(R))}class v{constructor(H){this.errorFactory=H}call(H,B){return B.subscribe(new C(H,this.errorFactory))}}class C extends i.L{constructor(H,B){super(H),this.errorFactory=B,this.hasValue=!1}_next(H){this.hasValue=!0,this.destination.next(H)}_complete(){if(this.hasValue)return this.destination.complete();{let H;try{H=this.errorFactory()}catch(B){H=B}this.destination.error(H)}}}function E(){return new b.K}},6227:(Y,U,w)=>{"use strict";w.d(U,{V:()=>G});var b=w(353);const T=(()=>{function J(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return J.prototype=Object.create(Error.prototype),J})();var v=w(2697),C=w(826),E=w(9054);class H{constructor(X,re,ee,ae){this.waitFor=X,this.absoluteTimeout=re,this.withObservable=ee,this.scheduler=ae}call(X,re){return re.subscribe(new B(X,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class B extends C.L{constructor(X,re,ee,ae,de){super(X),this.absoluteTimeout=re,this.waitFor=ee,this.withObservable=ae,this.scheduler=de,this.action=null,this.scheduleTimeout()}static dispatchTimeout(X){const{withObservable:re}=X;X._unsubscribeAndRecycle(),X.add((0,E.D)(X,re))}scheduleTimeout(){const{action:X}=this;X?this.action=X.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(B.dispatchTimeout,this.waitFor,this))}_next(X){this.absoluteTimeout||this.scheduleTimeout(),super._next(X)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var N=w(1737);function G(J,X=b.P){return function R(J,X,re=b.P){return ee=>{let ae=(0,v.J)(J),de=ae?+J-re.now():Math.abs(J);return ee.lift(new H(de,ae,X,re))}}(J,(0,N._)(new T),X)}},6454:(Y,U,w)=>{"use strict";w.d(U,{r:()=>T});var b=w(2916),i=w(2654);function T(v,C){return new b.y(E=>{const R=new i.w;let H=0;return R.add(C.schedule(function(){H!==v.length?(E.next(v[H++]),E.closed||R.add(this.schedule())):E.complete()})),R})}},6686:(Y,U,w)=>{"use strict";w.d(U,{o:()=>T});var b=w(2654);class i extends b.w{constructor(C,E){super()}schedule(C,E=0){return this}}class T extends i{constructor(C,E){super(C,E),this.scheduler=C,this.work=E,this.pending=!1}schedule(C,E=0){if(this.closed)return this;this.state=C;const R=this.id,H=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(H,R,E)),this.pending=!0,this.delay=E,this.id=this.id||this.requestAsyncId(H,this.id,E),this}requestAsyncId(C,E,R=0){return setInterval(C.flush.bind(C,this),R)}recycleAsyncId(C,E,R=0){if(null!==R&&this.delay===R&&!1===this.pending)return E;clearInterval(E)}execute(C,E){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const R=this._execute(C,E);if(R)return R;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(C,E){let H,R=!1;try{this.work(C)}catch(B){R=!0,H=!!B&&B||new Error(B)}if(R)return this.unsubscribe(),H}_unsubscribe(){const C=this.id,E=this.scheduler,R=E.actions,H=R.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==H&&R.splice(H,1),null!=C&&(this.id=this.recycleAsyncId(E,C,null)),this.delay=null}}},2268:(Y,U,w)=>{"use strict";w.d(U,{v:()=>i});let b=(()=>{class T{constructor(C,E=T.now){this.SchedulerAction=C,this.now=E}schedule(C,E=0,R){return new this.SchedulerAction(this,C).schedule(R,E)}}return T.now=()=>Date.now(),T})();class i extends b{constructor(v,C=b.now){super(v,()=>i.delegate&&i.delegate!==this?i.delegate.now():C()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(v,C=0,E){return i.delegate&&i.delegate!==this?i.delegate.schedule(v,C,E):super.schedule(v,C,E)}flush(v){const{actions:C}=this;if(this.active)return void C.push(v);let E;this.active=!0;do{if(E=v.execute(v.state,v.delay))break}while(v=C.shift());if(this.active=!1,E){for(;v=C.shift();)v.unsubscribe();throw E}}}},353:(Y,U,w)=>{"use strict";w.d(U,{P:()=>T});var b=w(6686);const T=new(w(2268).v)(b.o)},5430:(Y,U,w)=>{"use strict";w.d(U,{hZ:()=>i});const i=function b(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(Y,U,w)=>{"use strict";w.d(U,{L:()=>b});const b="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(Y,U,w)=>{"use strict";w.d(U,{b:()=>b});const b="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(Y,U,w)=>{"use strict";w.d(U,{W:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return T.prototype=Object.create(Error.prototype),T})()},4450:(Y,U,w)=>{"use strict";w.d(U,{K:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return T.prototype=Object.create(Error.prototype),T})()},5279:(Y,U,w)=>{"use strict";w.d(U,{N:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return T.prototype=Object.create(Error.prototype),T})()},2782:(Y,U,w)=>{"use strict";function b(i){setTimeout(()=>{throw i},0)}w.d(U,{z:()=>b})},5379:(Y,U,w)=>{"use strict";function b(i){return i}w.d(U,{y:()=>b})},6688:(Y,U,w)=>{"use strict";w.d(U,{k:()=>b});const b=Array.isArray||(i=>i&&"number"==typeof i.length)},8515:(Y,U,w)=>{"use strict";w.d(U,{z:()=>b});const b=i=>i&&"number"==typeof i.length&&"function"!=typeof i},2697:(Y,U,w)=>{"use strict";function b(i){return i instanceof Date&&!isNaN(+i)}w.d(U,{J:()=>b})},7043:(Y,U,w)=>{"use strict";function b(i){return"function"==typeof i}w.d(U,{m:()=>b})},7830:(Y,U,w)=>{"use strict";function b(i){return null!==i&&"object"==typeof i}w.d(U,{K:()=>b})},8955:(Y,U,w)=>{"use strict";function b(i){return!!i&&"function"!=typeof i.subscribe&&"function"==typeof i.then}w.d(U,{t:()=>b})},2866:(Y,U,w)=>{"use strict";function b(i){return i&&"function"==typeof i.schedule}w.d(U,{K:()=>b})},9249:(Y,U,w)=>{"use strict";w.d(U,{s:()=>G});var b=w(3650),i=w(2782),v=w(5430),E=w(3821),H=w(8515),B=w(8955),N=w(7830);const G=J=>{if(J&&"function"==typeof J[E.L])return(J=>X=>{const re=J[E.L]();if("function"!=typeof re.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return re.subscribe(X)})(J);if((0,H.z)(J))return(0,b.V)(J);if((0,B.t)(J))return(J=>X=>(J.then(re=>{X.closed||(X.next(re),X.complete())},re=>X.error(re)).then(null,i.z),X))(J);if(J&&"function"==typeof J[v.hZ])return(J=>X=>{const re=J[v.hZ]();for(;;){const ee=re.next();if(ee.done){X.complete();break}if(X.next(ee.value),X.closed)break}return"function"==typeof re.return&&X.add(()=>{re.return&&re.return()}),X})(J);{const re=`You provided ${(0,N.K)(J)?"an invalid object":`'${J}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(re)}}},3650:(Y,U,w)=>{"use strict";w.d(U,{V:()=>b});const b=i=>T=>{for(let v=0,C=i.length;v{"use strict";w.d(U,{D:()=>v});var b=w(1869),i=w(9249),T=w(2916);function v(C,E,R,H,B=new b.d(C,R,H)){if(!B.closed)return E instanceof T.y?E.subscribe(B):(0,i.s)(E)(B)}},6700:(Y,U,w)=>{var b={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":3165,"./hy-am.js":3165,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":4486,"./th.js":4486,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function i(v){var C=T(v);return w(C)}function T(v){if(!w.o(b,v)){var C=new Error("Cannot find module '"+v+"'");throw C.code="MODULE_NOT_FOUND",C}return b[v]}i.keys=function(){return Object.keys(b)},i.resolve=T,Y.exports=i,i.id=6700},655:(Y,U,w)=>{"use strict";function H(ue,fe,_e,me){return new(_e||(_e=Promise))(function(he,At){function qt(ct){try{Xe(me.next(ct))}catch(Yn){At(Yn)}}function bi(ct){try{Xe(me.throw(ct))}catch(Yn){At(Yn)}}function Xe(ct){ct.done?he(ct.value):function xe(he){return he instanceof _e?he:new _e(function(At){At(he)})}(ct.value).then(qt,bi)}Xe((me=me.apply(ue,fe||[])).next())})}w.d(U,{mG:()=>H})},9808:(Y,U,w)=>{"use strict";w.d(U,{mr:()=>He,Ov:()=>Tt,ez:()=>Ut,K0:()=>R,uU:()=>Gc,Do:()=>xt,V_:()=>N,Ye:()=>St,S$:()=>de,mk:()=>Eo,sg:()=>cn,O5:()=>qn,PC:()=>dr,RF:()=>Cn,n9:()=>Gn,ED:()=>Ba,tP:()=>Ps,b0:()=>Ge,lw:()=>H,EM:()=>fr,JF:()=>Jt,p6:()=>vt,NF:()=>ui,w_:()=>E,bD:()=>is,q:()=>T,Mx:()=>lr,HT:()=>C});var b=w(5e3);let i=null;function T(){return i}function C(L){i||(i=L)}class E{}const R=new b.OlP("DocumentToken");let H=(()=>{class L{historyGo(O){throw new Error("Not implemented")}}return L.\u0275fac=function(O){return new(O||L)},L.\u0275prov=b.Yz7({token:L,factory:function(){return function B(){return(0,b.LFG)(G)}()},providedIn:"platform"}),L})();const N=new b.OlP("Location Initialized");let G=(()=>{class L extends H{constructor(O){super(),this._doc=O,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(O){const q=T().getGlobalEventTarget(this._doc,"window");return q.addEventListener("popstate",O,!1),()=>q.removeEventListener("popstate",O)}onHashChange(O){const q=T().getGlobalEventTarget(this._doc,"window");return q.addEventListener("hashchange",O,!1),()=>q.removeEventListener("hashchange",O)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(O){this.location.pathname=O}pushState(O,q,te){J()?this._history.pushState(O,q,te):this.location.hash=te}replaceState(O,q,te){J()?this._history.replaceState(O,q,te):this.location.hash=te}forward(){this._history.forward()}back(){this._history.back()}historyGo(O=0){this._history.go(O)}getState(){return this._history.state}}return L.\u0275fac=function(O){return new(O||L)(b.LFG(R))},L.\u0275prov=b.Yz7({token:L,factory:function(){return function X(){return new G((0,b.LFG)(R))}()},providedIn:"platform"}),L})();function J(){return!!window.history.pushState}function re(L,V){if(0==L.length)return V;if(0==V.length)return L;let O=0;return L.endsWith("/")&&O++,V.startsWith("/")&&O++,2==O?L+V.substring(1):1==O?L+V:L+"/"+V}function ee(L){const V=L.match(/#|\?|$/),O=V&&V.index||L.length;return L.slice(0,O-("/"===L[O-1]?1:0))+L.slice(O)}function ae(L){return L&&"?"!==L[0]?"?"+L:L}let de=(()=>{class L{historyGo(O){throw new Error("Not implemented")}}return L.\u0275fac=function(O){return new(O||L)},L.\u0275prov=b.Yz7({token:L,factory:function(){return function Ie(L){const V=(0,b.LFG)(R).location;return new Ge((0,b.LFG)(H),V&&V.origin||"")}()},providedIn:"root"}),L})();const He=new b.OlP("appBaseHref");let Ge=(()=>{class L extends de{constructor(O,q){if(super(),this._platformLocation=O,this._removeListenerFns=[],null==q&&(q=this._platformLocation.getBaseHrefFromDOM()),null==q)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=q}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(O){this._removeListenerFns.push(this._platformLocation.onPopState(O),this._platformLocation.onHashChange(O))}getBaseHref(){return this._baseHref}prepareExternalUrl(O){return re(this._baseHref,O)}path(O=!1){const q=this._platformLocation.pathname+ae(this._platformLocation.search),te=this._platformLocation.hash;return te&&O?`${q}${te}`:q}pushState(O,q,te,pe){const Ae=this.prepareExternalUrl(te+ae(pe));this._platformLocation.pushState(O,q,Ae)}replaceState(O,q,te,pe){const Ae=this.prepareExternalUrl(te+ae(pe));this._platformLocation.replaceState(O,q,Ae)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(O=0){var q,te;null===(te=(q=this._platformLocation).historyGo)||void 0===te||te.call(q,O)}}return L.\u0275fac=function(O){return new(O||L)(b.LFG(H),b.LFG(He,8))},L.\u0275prov=b.Yz7({token:L,factory:L.\u0275fac}),L})(),xt=(()=>{class L extends de{constructor(O,q){super(),this._platformLocation=O,this._baseHref="",this._removeListenerFns=[],null!=q&&(this._baseHref=q)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(O){this._removeListenerFns.push(this._platformLocation.onPopState(O),this._platformLocation.onHashChange(O))}getBaseHref(){return this._baseHref}path(O=!1){let q=this._platformLocation.hash;return null==q&&(q="#"),q.length>0?q.substring(1):q}prepareExternalUrl(O){const q=re(this._baseHref,O);return q.length>0?"#"+q:q}pushState(O,q,te,pe){let Ae=this.prepareExternalUrl(te+ae(pe));0==Ae.length&&(Ae=this._platformLocation.pathname),this._platformLocation.pushState(O,q,Ae)}replaceState(O,q,te,pe){let Ae=this.prepareExternalUrl(te+ae(pe));0==Ae.length&&(Ae=this._platformLocation.pathname),this._platformLocation.replaceState(O,q,Ae)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(O=0){var q,te;null===(te=(q=this._platformLocation).historyGo)||void 0===te||te.call(q,O)}}return L.\u0275fac=function(O){return new(O||L)(b.LFG(H),b.LFG(He,8))},L.\u0275prov=b.Yz7({token:L,factory:L.\u0275fac}),L})(),St=(()=>{class L{constructor(O,q){this._subject=new b.vpe,this._urlChangeListeners=[],this._platformStrategy=O;const te=this._platformStrategy.getBaseHref();this._platformLocation=q,this._baseHref=ee(wt(te)),this._platformStrategy.onPopState(pe=>{this._subject.emit({url:this.path(!0),pop:!0,state:pe.state,type:pe.type})})}path(O=!1){return this.normalize(this._platformStrategy.path(O))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(O,q=""){return this.path()==this.normalize(O+ae(q))}normalize(O){return L.stripTrailingSlash(function rn(L,V){return L&&V.startsWith(L)?V.substring(L.length):V}(this._baseHref,wt(O)))}prepareExternalUrl(O){return O&&"/"!==O[0]&&(O="/"+O),this._platformStrategy.prepareExternalUrl(O)}go(O,q="",te=null){this._platformStrategy.pushState(te,"",O,q),this._notifyUrlChangeListeners(this.prepareExternalUrl(O+ae(q)),te)}replaceState(O,q="",te=null){this._platformStrategy.replaceState(te,"",O,q),this._notifyUrlChangeListeners(this.prepareExternalUrl(O+ae(q)),te)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(O=0){var q,te;null===(te=(q=this._platformStrategy).historyGo)||void 0===te||te.call(q,O)}onUrlChange(O){this._urlChangeListeners.push(O),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(q=>{this._notifyUrlChangeListeners(q.url,q.state)}))}_notifyUrlChangeListeners(O="",q){this._urlChangeListeners.forEach(te=>te(O,q))}subscribe(O,q,te){return this._subject.subscribe({next:O,error:q,complete:te})}}return L.normalizeQueryParams=ae,L.joinWithSlash=re,L.stripTrailingSlash=ee,L.\u0275fac=function(O){return new(O||L)(b.LFG(de),b.LFG(H))},L.\u0275prov=b.Yz7({token:L,factory:function(){return function We(){return new St((0,b.LFG)(de),(0,b.LFG)(H))}()},providedIn:"root"}),L})();function wt(L){return L.replace(/\/index.html$/,"")}var fe=(()=>((fe=fe||{})[fe.Zero=0]="Zero",fe[fe.One=1]="One",fe[fe.Two=2]="Two",fe[fe.Few=3]="Few",fe[fe.Many=4]="Many",fe[fe.Other=5]="Other",fe))(),_e=(()=>((_e=_e||{})[_e.Format=0]="Format",_e[_e.Standalone=1]="Standalone",_e))(),me=(()=>((me=me||{})[me.Narrow=0]="Narrow",me[me.Abbreviated=1]="Abbreviated",me[me.Wide=2]="Wide",me[me.Short=3]="Short",me))(),xe=(()=>((xe=xe||{})[xe.Short=0]="Short",xe[xe.Medium=1]="Medium",xe[xe.Long=2]="Long",xe[xe.Full=3]="Full",xe))(),he=(()=>((he=he||{})[he.Decimal=0]="Decimal",he[he.Group=1]="Group",he[he.List=2]="List",he[he.PercentSign=3]="PercentSign",he[he.PlusSign=4]="PlusSign",he[he.MinusSign=5]="MinusSign",he[he.Exponential=6]="Exponential",he[he.SuperscriptingExponent=7]="SuperscriptingExponent",he[he.PerMille=8]="PerMille",he[he.Infinity=9]="Infinity",he[he.NaN=10]="NaN",he[he.TimeSeparator=11]="TimeSeparator",he[he.CurrencyDecimal=12]="CurrencyDecimal",he[he.CurrencyGroup=13]="CurrencyGroup",he))();function ri(L,V){return Bi((0,b.cg1)(L)[b.wAp.DateFormat],V)}function To(L,V){return Bi((0,b.cg1)(L)[b.wAp.TimeFormat],V)}function xn(L,V){return Bi((0,b.cg1)(L)[b.wAp.DateTimeFormat],V)}function qi(L,V){const O=(0,b.cg1)(L),q=O[b.wAp.NumberSymbols][V];if(void 0===q){if(V===he.CurrencyDecimal)return O[b.wAp.NumberSymbols][he.Decimal];if(V===he.CurrencyGroup)return O[b.wAp.NumberSymbols][he.Group]}return q}const Ws=b.kL8;function So(L){if(!L[b.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${L[b.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Bi(L,V){for(let O=V;O>-1;O--)if(void 0!==L[O])return L[O];throw new Error("Locale data API: locale data undefined")}function Wt(L){const[V,O]=L.split(":");return{hours:+V,minutes:+O}}const ne=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ee={},Se=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Oe=(()=>((Oe=Oe||{})[Oe.Short=0]="Short",Oe[Oe.ShortGMT=1]="ShortGMT",Oe[Oe.Long=2]="Long",Oe[Oe.Extended=3]="Extended",Oe))(),we=(()=>((we=we||{})[we.FullYear=0]="FullYear",we[we.Month=1]="Month",we[we.Date=2]="Date",we[we.Hours=3]="Hours",we[we.Minutes=4]="Minutes",we[we.Seconds=5]="Seconds",we[we.FractionalSeconds=6]="FractionalSeconds",we[we.Day=7]="Day",we))(),je=(()=>((je=je||{})[je.DayPeriods=0]="DayPeriods",je[je.Days=1]="Days",je[je.Months=2]="Months",je[je.Eras=3]="Eras",je))();function vt(L,V,O,q){let te=function Le(L){if(Wi(L))return L;if("number"==typeof L&&!isNaN(L))return new Date(L);if("string"==typeof L){if(L=L.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(L)){const[te,pe=1,Ae=1]=L.split("-").map(Ve=>+Ve);return xi(te,pe-1,Ae)}const O=parseFloat(L);if(!isNaN(L-O))return new Date(O);let q;if(q=L.match(ne))return function li(L){const V=new Date(0);let O=0,q=0;const te=L[8]?V.setUTCFullYear:V.setFullYear,pe=L[8]?V.setUTCHours:V.setHours;L[9]&&(O=Number(L[9]+L[10]),q=Number(L[9]+L[11])),te.call(V,Number(L[1]),Number(L[2])-1,Number(L[3]));const Ae=Number(L[4]||0)-O,Ve=Number(L[5]||0)-q,Zt=Number(L[6]||0),It=Math.floor(1e3*parseFloat("0."+(L[7]||0)));return pe.call(V,Ae,Ve,Zt,It),V}(q)}const V=new Date(L);if(!Wi(V))throw new Error(`Unable to convert "${L}" into a date`);return V}(L);V=kt(O,V)||V;let Ve,Ae=[];for(;V;){if(Ve=Se.exec(V),!Ve){Ae.push(V);break}{Ae=Ae.concat(Ve.slice(1));const bt=Ae.pop();if(!bt)break;V=bt}}let Zt=te.getTimezoneOffset();q&&(Zt=cr(q,Zt),te=function D(L,V,O){const q=O?-1:1,te=L.getTimezoneOffset();return function Ur(L,V){return(L=new Date(L.getTime())).setMinutes(L.getMinutes()+V),L}(L,q*(cr(V,te)-te))}(te,q,!0));let It="";return Ae.forEach(bt=>{const Ot=function ar(L){if(Un[L])return Un[L];let V;switch(L){case"G":case"GG":case"GGG":V=Nt(je.Eras,me.Abbreviated);break;case"GGGG":V=Nt(je.Eras,me.Wide);break;case"GGGGG":V=Nt(je.Eras,me.Narrow);break;case"y":V=Ue(we.FullYear,1,0,!1,!0);break;case"yy":V=Ue(we.FullYear,2,0,!0,!0);break;case"yyy":V=Ue(we.FullYear,3,0,!1,!0);break;case"yyyy":V=Ue(we.FullYear,4,0,!1,!0);break;case"Y":V=Qs(1);break;case"YY":V=Qs(2,!0);break;case"YYY":V=Qs(3);break;case"YYYY":V=Qs(4);break;case"M":case"L":V=Ue(we.Month,1,1);break;case"MM":case"LL":V=Ue(we.Month,2,1);break;case"MMM":V=Nt(je.Months,me.Abbreviated);break;case"MMMM":V=Nt(je.Months,me.Wide);break;case"MMMMM":V=Nt(je.Months,me.Narrow);break;case"LLL":V=Nt(je.Months,me.Abbreviated,_e.Standalone);break;case"LLLL":V=Nt(je.Months,me.Wide,_e.Standalone);break;case"LLLLL":V=Nt(je.Months,me.Narrow,_e.Standalone);break;case"w":V=Js(1);break;case"ww":V=Js(2);break;case"W":V=Js(1,!0);break;case"d":V=Ue(we.Date,1);break;case"dd":V=Ue(we.Date,2);break;case"c":case"cc":V=Ue(we.Day,1);break;case"ccc":V=Nt(je.Days,me.Abbreviated,_e.Standalone);break;case"cccc":V=Nt(je.Days,me.Wide,_e.Standalone);break;case"ccccc":V=Nt(je.Days,me.Narrow,_e.Standalone);break;case"cccccc":V=Nt(je.Days,me.Short,_e.Standalone);break;case"E":case"EE":case"EEE":V=Nt(je.Days,me.Abbreviated);break;case"EEEE":V=Nt(je.Days,me.Wide);break;case"EEEEE":V=Nt(je.Days,me.Narrow);break;case"EEEEEE":V=Nt(je.Days,me.Short);break;case"a":case"aa":case"aaa":V=Nt(je.DayPeriods,me.Abbreviated);break;case"aaaa":V=Nt(je.DayPeriods,me.Wide);break;case"aaaaa":V=Nt(je.DayPeriods,me.Narrow);break;case"b":case"bb":case"bbb":V=Nt(je.DayPeriods,me.Abbreviated,_e.Standalone,!0);break;case"bbbb":V=Nt(je.DayPeriods,me.Wide,_e.Standalone,!0);break;case"bbbbb":V=Nt(je.DayPeriods,me.Narrow,_e.Standalone,!0);break;case"B":case"BB":case"BBB":V=Nt(je.DayPeriods,me.Abbreviated,_e.Format,!0);break;case"BBBB":V=Nt(je.DayPeriods,me.Wide,_e.Format,!0);break;case"BBBBB":V=Nt(je.DayPeriods,me.Narrow,_e.Format,!0);break;case"h":V=Ue(we.Hours,1,-12);break;case"hh":V=Ue(we.Hours,2,-12);break;case"H":V=Ue(we.Hours,1);break;case"HH":V=Ue(we.Hours,2);break;case"m":V=Ue(we.Minutes,1);break;case"mm":V=Ue(we.Minutes,2);break;case"s":V=Ue(we.Seconds,1);break;case"ss":V=Ue(we.Seconds,2);break;case"S":V=Ue(we.FractionalSeconds,1);break;case"SS":V=Ue(we.FractionalSeconds,2);break;case"SSS":V=Ue(we.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":V=Xn(Oe.Short);break;case"ZZZZZ":V=Xn(Oe.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":V=Xn(Oe.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":V=Xn(Oe.Long);break;default:return null}return Un[L]=V,V}(bt);It+=Ot?Ot(te,O,Zt):"''"===bt?"'":bt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),It}function xi(L,V,O){const q=new Date(0);return q.setFullYear(L,V,O),q.setHours(0,0,0),q}function kt(L,V){const O=function qt(L){return(0,b.cg1)(L)[b.wAp.LocaleId]}(L);if(Ee[O]=Ee[O]||{},Ee[O][V])return Ee[O][V];let q="";switch(V){case"shortDate":q=ri(L,xe.Short);break;case"mediumDate":q=ri(L,xe.Medium);break;case"longDate":q=ri(L,xe.Long);break;case"fullDate":q=ri(L,xe.Full);break;case"shortTime":q=To(L,xe.Short);break;case"mediumTime":q=To(L,xe.Medium);break;case"longTime":q=To(L,xe.Long);break;case"fullTime":q=To(L,xe.Full);break;case"short":const te=kt(L,"shortTime"),pe=kt(L,"shortDate");q=xs(xn(L,xe.Short),[te,pe]);break;case"medium":const Ae=kt(L,"mediumTime"),Ve=kt(L,"mediumDate");q=xs(xn(L,xe.Medium),[Ae,Ve]);break;case"long":const Zt=kt(L,"longTime"),It=kt(L,"longDate");q=xs(xn(L,xe.Long),[Zt,It]);break;case"full":const bt=kt(L,"fullTime"),Ot=kt(L,"fullDate");q=xs(xn(L,xe.Full),[bt,Ot])}return q&&(Ee[O][V]=q),q}function xs(L,V){return V&&(L=L.replace(/\{([^}]+)}/g,function(O,q){return null!=V&&q in V?V[q]:O})),L}function Ri(L,V,O="-",q,te){let pe="";(L<0||te&&L<=0)&&(te?L=1-L:(L=-L,pe=O));let Ae=String(L);for(;Ae.length0||Ve>-O)&&(Ve+=O),L===we.Hours)0===Ve&&-12===O&&(Ve=12);else if(L===we.FractionalSeconds)return function it(L,V){return Ri(L,3).substr(0,V)}(Ve,V);const Zt=qi(Ae,he.MinusSign);return Ri(Ve,V,Zt,q,te)}}function Nt(L,V,O=_e.Format,q=!1){return function(te,pe){return function mt(L,V,O,q,te,pe){switch(O){case je.Months:return function ct(L,V,O){const q=(0,b.cg1)(L),pe=Bi([q[b.wAp.MonthsFormat],q[b.wAp.MonthsStandalone]],V);return Bi(pe,O)}(V,te,q)[L.getMonth()];case je.Days:return function Xe(L,V,O){const q=(0,b.cg1)(L),pe=Bi([q[b.wAp.DaysFormat],q[b.wAp.DaysStandalone]],V);return Bi(pe,O)}(V,te,q)[L.getDay()];case je.DayPeriods:const Ae=L.getHours(),Ve=L.getMinutes();if(pe){const It=function wu(L){const V=(0,b.cg1)(L);return So(V),(V[b.wAp.ExtraData][2]||[]).map(q=>"string"==typeof q?Wt(q):[Wt(q[0]),Wt(q[1])])}(V),bt=function lt(L,V,O){const q=(0,b.cg1)(L);So(q);const pe=Bi([q[b.wAp.ExtraData][0],q[b.wAp.ExtraData][1]],V)||[];return Bi(pe,O)||[]}(V,te,q),Ot=It.findIndex(ji=>{if(Array.isArray(ji)){const[hi,mi]=ji,no=Ae>=hi.hours&&Ve>=hi.minutes,ms=Ae0?Math.floor(te/60):Math.ceil(te/60);switch(L){case Oe.Short:return(te>=0?"+":"")+Ri(Ae,2,pe)+Ri(Math.abs(te%60),2,pe);case Oe.ShortGMT:return"GMT"+(te>=0?"+":"")+Ri(Ae,1,pe);case Oe.Long:return"GMT"+(te>=0?"+":"")+Ri(Ae,2,pe)+":"+Ri(Math.abs(te%60),2,pe);case Oe.Extended:return 0===q?"Z":(te>=0?"+":"")+Ri(Ae,2,pe)+":"+Ri(Math.abs(te%60),2,pe);default:throw new Error(`Unknown zone width "${L}"`)}}}function ko(L){return xi(L.getFullYear(),L.getMonth(),L.getDate()+(4-L.getDay()))}function Js(L,V=!1){return function(O,q){let te;if(V){const pe=new Date(O.getFullYear(),O.getMonth(),1).getDay()-1,Ae=O.getDate();te=1+Math.floor((Ae+pe)/7)}else{const pe=ko(O),Ae=function Uc(L){const V=xi(L,0,1).getDay();return xi(L,0,1+(V<=4?4:11)-V)}(pe.getFullYear()),Ve=pe.getTime()-Ae.getTime();te=1+Math.round(Ve/6048e5)}return Ri(te,L,qi(q,he.MinusSign))}}function Qs(L,V=!1){return function(O,q){return Ri(ko(O).getFullYear(),L,qi(q,he.MinusSign),V)}}const Un={};function cr(L,V){L=L.replace(/:/g,"");const O=Date.parse("Jan 01, 1970 00:00:00 "+L)/6e4;return isNaN(O)?V:O}function Wi(L){return L instanceof Date&&!isNaN(L.valueOf())}class ei{}let gs=(()=>{class L extends ei{constructor(O){super(),this.locale=O}getPluralCategory(O,q){switch(Ws(q||this.locale)(O)){case fe.Zero:return"zero";case fe.One:return"one";case fe.Two:return"two";case fe.Few:return"few";case fe.Many:return"many";default:return"other"}}}return L.\u0275fac=function(O){return new(O||L)(b.LFG(b.soG))},L.\u0275prov=b.Yz7({token:L,factory:L.\u0275fac}),L})();function lr(L,V){V=encodeURIComponent(V);for(const O of L.split(";")){const q=O.indexOf("="),[te,pe]=-1==q?[O,""]:[O.slice(0,q),O.slice(q+1)];if(te.trim()===V)return decodeURIComponent(pe)}return null}let Eo=(()=>{class L{constructor(O,q,te,pe){this._iterableDiffers=O,this._keyValueDiffers=q,this._ngEl=te,this._renderer=pe,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(O){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof O?O.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(O){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof O?O.split(/\s+/):O,this._rawClass&&((0,b.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const O=this._iterableDiffer.diff(this._rawClass);O&&this._applyIterableChanges(O)}else if(this._keyValueDiffer){const O=this._keyValueDiffer.diff(this._rawClass);O&&this._applyKeyValueChanges(O)}}_applyKeyValueChanges(O){O.forEachAddedItem(q=>this._toggleClass(q.key,q.currentValue)),O.forEachChangedItem(q=>this._toggleClass(q.key,q.currentValue)),O.forEachRemovedItem(q=>{q.previousValue&&this._toggleClass(q.key,!1)})}_applyIterableChanges(O){O.forEachAddedItem(q=>{if("string"!=typeof q.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,b.AaK)(q.item)}`);this._toggleClass(q.item,!0)}),O.forEachRemovedItem(q=>this._toggleClass(q.item,!1))}_applyClasses(O){O&&(Array.isArray(O)||O instanceof Set?O.forEach(q=>this._toggleClass(q,!0)):Object.keys(O).forEach(q=>this._toggleClass(q,!!O[q])))}_removeClasses(O){O&&(Array.isArray(O)||O instanceof Set?O.forEach(q=>this._toggleClass(q,!1)):Object.keys(O).forEach(q=>this._toggleClass(q,!1)))}_toggleClass(O,q){(O=O.trim())&&O.split(/\s+/g).forEach(te=>{q?this._renderer.addClass(this._ngEl.nativeElement,te):this._renderer.removeClass(this._ngEl.nativeElement,te)})}}return L.\u0275fac=function(O){return new(O||L)(b.Y36(b.ZZ4),b.Y36(b.aQg),b.Y36(b.SBq),b.Y36(b.Qsj))},L.\u0275dir=b.lG2({type:L,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),L})();class ur{constructor(V,O,q,te){this.$implicit=V,this.ngForOf=O,this.index=q,this.count=te}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let cn=(()=>{class L{constructor(O,q,te){this._viewContainer=O,this._template=q,this._differs=te,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(O){this._ngForOf=O,this._ngForOfDirty=!0}set ngForTrackBy(O){this._trackByFn=O}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(O){O&&(this._template=O)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const O=this._ngForOf;!this._differ&&O&&(this._differ=this._differs.find(O).create(this.ngForTrackBy))}if(this._differ){const O=this._differ.diff(this._ngForOf);O&&this._applyChanges(O)}}_applyChanges(O){const q=this._viewContainer;O.forEachOperation((te,pe,Ae)=>{if(null==te.previousIndex)q.createEmbeddedView(this._template,new ur(te.item,this._ngForOf,-1,-1),null===Ae?void 0:Ae);else if(null==Ae)q.remove(null===pe?void 0:pe);else if(null!==pe){const Ve=q.get(pe);q.move(Ve,Ae),Do(Ve,te)}});for(let te=0,pe=q.length;te{Do(q.get(te.currentIndex),te)})}static ngTemplateContextGuard(O,q){return!0}}return L.\u0275fac=function(O){return new(O||L)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(b.ZZ4))},L.\u0275dir=b.lG2({type:L,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),L})();function Do(L,V){L.context.$implicit=V.item}let qn=(()=>{class L{constructor(O,q){this._viewContainer=O,this._context=new ii,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=q}set ngIf(O){this._context.$implicit=this._context.ngIf=O,this._updateView()}set ngIfThen(O){qc("ngIfThen",O),this._thenTemplateRef=O,this._thenViewRef=null,this._updateView()}set ngIfElse(O){qc("ngIfElse",O),this._elseTemplateRef=O,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(O,q){return!0}}return L.\u0275fac=function(O){return new(O||L)(b.Y36(b.s_b),b.Y36(b.Rgc))},L.\u0275dir=b.lG2({type:L,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),L})();class ii{constructor(){this.$implicit=null,this.ngIf=null}}function qc(L,V){if(V&&!V.createEmbeddedView)throw new Error(`${L} must be a TemplateRef, but received '${(0,b.AaK)(V)}'.`)}class xo{constructor(V,O){this._viewContainerRef=V,this._templateRef=O,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(V){V&&!this._created?this.create():!V&&this._created&&this.destroy()}}let Cn=(()=>{class L{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(O){this._ngSwitch=O,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(O){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(O)}_matchCase(O){const q=O==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||q,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),q}_updateDefaultCases(O){if(this._defaultViews&&O!==this._defaultUsed){this._defaultUsed=O;for(let q=0;q{class L{constructor(O,q,te){this.ngSwitch=te,te._addCase(),this._view=new xo(O,q)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return L.\u0275fac=function(O){return new(O||L)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Cn,9))},L.\u0275dir=b.lG2({type:L,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),L})(),Ba=(()=>{class L{constructor(O,q,te){te._addDefault(new xo(O,q))}}return L.\u0275fac=function(O){return new(O||L)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Cn,9))},L.\u0275dir=b.lG2({type:L,selectors:[["","ngSwitchDefault",""]]}),L})(),dr=(()=>{class L{constructor(O,q,te){this._ngEl=O,this._differs=q,this._renderer=te,this._ngStyle=null,this._differ=null}set ngStyle(O){this._ngStyle=O,!this._differ&&O&&(this._differ=this._differs.find(O).create())}ngDoCheck(){if(this._differ){const O=this._differ.diff(this._ngStyle);O&&this._applyChanges(O)}}_setStyle(O,q){const[te,pe]=O.split(".");null!=(q=null!=q&&pe?`${q}${pe}`:q)?this._renderer.setStyle(this._ngEl.nativeElement,te,q):this._renderer.removeStyle(this._ngEl.nativeElement,te)}_applyChanges(O){O.forEachRemovedItem(q=>this._setStyle(q.key,null)),O.forEachAddedItem(q=>this._setStyle(q.key,q.currentValue)),O.forEachChangedItem(q=>this._setStyle(q.key,q.currentValue))}}return L.\u0275fac=function(O){return new(O||L)(b.Y36(b.SBq),b.Y36(b.aQg),b.Y36(b.Qsj))},L.\u0275dir=b.lG2({type:L,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),L})(),Ps=(()=>{class L{constructor(O){this._viewContainerRef=O,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(O){if(O.ngTemplateOutlet){const q=this._viewContainerRef;this._viewRef&&q.remove(q.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?q.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&O.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return L.\u0275fac=function(O){return new(O||L)(b.Y36(b.s_b))},L.\u0275dir=b.lG2({type:L,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[b.TTD]}),L})();function ts(L,V){return new b.vHH(2100,"")}class rp{createSubscription(V,O){return V.subscribe({next:O,error:q=>{throw q}})}dispose(V){V.unsubscribe()}onDestroy(V){V.unsubscribe()}}class ap{createSubscription(V,O){return V.then(O,q=>{throw q})}dispose(V){}onDestroy(V){}}const cp=new ap,Xd=new rp;let Tt=(()=>{class L{constructor(O){this._ref=O,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(O){return this._obj?O!==this._obj?(this._dispose(),this.transform(O)):this._latestValue:(O&&this._subscribe(O),this._latestValue)}_subscribe(O){this._obj=O,this._strategy=this._selectStrategy(O),this._subscription=this._strategy.createSubscription(O,q=>this._updateLatestValue(O,q))}_selectStrategy(O){if((0,b.QGY)(O))return cp;if((0,b.F4k)(O))return Xd;throw ts()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(O,q){O===this._obj&&(this._latestValue=q,this._ref.markForCheck())}}return L.\u0275fac=function(O){return new(O||L)(b.Y36(b.sBO,16))},L.\u0275pipe=b.Yjl({name:"async",type:L,pure:!1}),L})();const ke=new b.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Gc=(()=>{class L{constructor(O,q){this.locale=O,this.defaultTimezone=q}transform(O,q="mediumDate",te,pe){var Ae;if(null==O||""===O||O!=O)return null;try{return vt(O,q,pe||this.locale,null!==(Ae=null!=te?te:this.defaultTimezone)&&void 0!==Ae?Ae:void 0)}catch(Ve){throw ts()}}}return L.\u0275fac=function(O){return new(O||L)(b.Y36(b.soG,16),b.Y36(ke,24))},L.\u0275pipe=b.Yjl({name:"date",type:L,pure:!0}),L})(),Ut=(()=>{class L{}return L.\u0275fac=function(O){return new(O||L)},L.\u0275mod=b.oAB({type:L}),L.\u0275inj=b.cJS({providers:[{provide:ei,useClass:gs}]}),L})();const is="browser";function ui(L){return L===is}let fr=(()=>{class L{}return L.\u0275prov=(0,b.Yz7)({token:L,providedIn:"root",factory:()=>new io((0,b.LFG)(R),window)}),L})();class io{constructor(V,O){this.document=V,this.window=O,this.offset=()=>[0,0]}setOffset(V){this.offset=Array.isArray(V)?()=>V:V}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(V){this.supportsScrolling()&&this.window.scrollTo(V[0],V[1])}scrollToAnchor(V){if(!this.supportsScrolling())return;const O=function Zr(L,V){const O=L.getElementById(V)||L.getElementsByName(V)[0];if(O)return O;if("function"==typeof L.createTreeWalker&&L.body&&(L.body.createShadowRoot||L.body.attachShadow)){const q=L.createTreeWalker(L.body,NodeFilter.SHOW_ELEMENT);let te=q.currentNode;for(;te;){const pe=te.shadowRoot;if(pe){const Ae=pe.getElementById(V)||pe.querySelector(`[name="${V}"]`);if(Ae)return Ae}te=q.nextNode()}}return null}(this.document,V);O&&(this.scrollToElement(O),O.focus())}setHistoryScrollRestoration(V){if(this.supportScrollRestoration()){const O=this.window.history;O&&O.scrollRestoration&&(O.scrollRestoration=V)}}scrollToElement(V){const O=V.getBoundingClientRect(),q=O.left+this.window.pageXOffset,te=O.top+this.window.pageYOffset,pe=this.offset();this.window.scrollTo(q-pe[0],te-pe[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const V=Kc(this.window.history)||Kc(Object.getPrototypeOf(this.window.history));return!(!V||!V.writable&&!V.set)}catch(V){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(V){return!1}}}function Kc(L){return Object.getOwnPropertyDescriptor(L,"scrollRestoration")}class Jt{}},520:(Y,U,w)=>{"use strict";w.d(U,{TP:()=>qt,eN:()=>he,JF:()=>Bi,WM:()=>N,LE:()=>de,Zn:()=>_e});var b=w(9808),i=w(5e3),T=w(1086),v=w(2916),C=w(1406),E=w(2198),R=w(4850);class H{}class B{}class N{constructor(oe){this.normalizedNames=new Map,this.lazyUpdate=null,oe?this.lazyInit="string"==typeof oe?()=>{this.headers=new Map,oe.split("\n").forEach(ne=>{const Ee=ne.indexOf(":");if(Ee>0){const Se=ne.slice(0,Ee),Oe=Se.toLowerCase(),we=ne.slice(Ee+1).trim();this.maybeSetNormalizedName(Se,Oe),this.headers.has(Oe)?this.headers.get(Oe).push(we):this.headers.set(Oe,[we])}})}:()=>{this.headers=new Map,Object.keys(oe).forEach(ne=>{let Ee=oe[ne];const Se=ne.toLowerCase();"string"==typeof Ee&&(Ee=[Ee]),Ee.length>0&&(this.headers.set(Se,Ee),this.maybeSetNormalizedName(ne,Se))})}:this.headers=new Map}has(oe){return this.init(),this.headers.has(oe.toLowerCase())}get(oe){this.init();const ne=this.headers.get(oe.toLowerCase());return ne&&ne.length>0?ne[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(oe){return this.init(),this.headers.get(oe.toLowerCase())||null}append(oe,ne){return this.clone({name:oe,value:ne,op:"a"})}set(oe,ne){return this.clone({name:oe,value:ne,op:"s"})}delete(oe,ne){return this.clone({name:oe,value:ne,op:"d"})}maybeSetNormalizedName(oe,ne){this.normalizedNames.has(ne)||this.normalizedNames.set(ne,oe)}init(){this.lazyInit&&(this.lazyInit instanceof N?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(oe=>this.applyUpdate(oe)),this.lazyUpdate=null))}copyFrom(oe){oe.init(),Array.from(oe.headers.keys()).forEach(ne=>{this.headers.set(ne,oe.headers.get(ne)),this.normalizedNames.set(ne,oe.normalizedNames.get(ne))})}clone(oe){const ne=new N;return ne.lazyInit=this.lazyInit&&this.lazyInit instanceof N?this.lazyInit:this,ne.lazyUpdate=(this.lazyUpdate||[]).concat([oe]),ne}applyUpdate(oe){const ne=oe.name.toLowerCase();switch(oe.op){case"a":case"s":let Ee=oe.value;if("string"==typeof Ee&&(Ee=[Ee]),0===Ee.length)return;this.maybeSetNormalizedName(oe.name,ne);const Se=("a"===oe.op?this.headers.get(ne):void 0)||[];Se.push(...Ee),this.headers.set(ne,Se);break;case"d":const Oe=oe.value;if(Oe){let we=this.headers.get(ne);if(!we)return;we=we.filter(je=>-1===Oe.indexOf(je)),0===we.length?(this.headers.delete(ne),this.normalizedNames.delete(ne)):this.headers.set(ne,we)}else this.headers.delete(ne),this.normalizedNames.delete(ne)}}forEach(oe){this.init(),Array.from(this.normalizedNames.keys()).forEach(ne=>oe(this.normalizedNames.get(ne),this.headers.get(ne)))}}class G{encodeKey(oe){return ee(oe)}encodeValue(oe){return ee(oe)}decodeKey(oe){return decodeURIComponent(oe)}decodeValue(oe){return decodeURIComponent(oe)}}const X=/%(\d[a-f0-9])/gi,re={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ee(ve){return encodeURIComponent(ve).replace(X,(oe,ne)=>{var Ee;return null!==(Ee=re[ne])&&void 0!==Ee?Ee:oe})}function ae(ve){return`${ve}`}class de{constructor(oe={}){if(this.updates=null,this.cloneFrom=null,this.encoder=oe.encoder||new G,oe.fromString){if(oe.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function J(ve,oe){const ne=new Map;return ve.length>0&&ve.replace(/^\?/,"").split("&").forEach(Se=>{const Oe=Se.indexOf("="),[we,je]=-1==Oe?[oe.decodeKey(Se),""]:[oe.decodeKey(Se.slice(0,Oe)),oe.decodeValue(Se.slice(Oe+1))],vt=ne.get(we)||[];vt.push(je),ne.set(we,vt)}),ne}(oe.fromString,this.encoder)}else oe.fromObject?(this.map=new Map,Object.keys(oe.fromObject).forEach(ne=>{const Ee=oe.fromObject[ne];this.map.set(ne,Array.isArray(Ee)?Ee:[Ee])})):this.map=null}has(oe){return this.init(),this.map.has(oe)}get(oe){this.init();const ne=this.map.get(oe);return ne?ne[0]:null}getAll(oe){return this.init(),this.map.get(oe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(oe,ne){return this.clone({param:oe,value:ne,op:"a"})}appendAll(oe){const ne=[];return Object.keys(oe).forEach(Ee=>{const Se=oe[Ee];Array.isArray(Se)?Se.forEach(Oe=>{ne.push({param:Ee,value:Oe,op:"a"})}):ne.push({param:Ee,value:Se,op:"a"})}),this.clone(ne)}set(oe,ne){return this.clone({param:oe,value:ne,op:"s"})}delete(oe,ne){return this.clone({param:oe,value:ne,op:"d"})}toString(){return this.init(),this.keys().map(oe=>{const ne=this.encoder.encodeKey(oe);return this.map.get(oe).map(Ee=>ne+"="+this.encoder.encodeValue(Ee)).join("&")}).filter(oe=>""!==oe).join("&")}clone(oe){const ne=new de({encoder:this.encoder});return ne.cloneFrom=this.cloneFrom||this,ne.updates=(this.updates||[]).concat(oe),ne}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(oe=>this.map.set(oe,this.cloneFrom.map.get(oe))),this.updates.forEach(oe=>{switch(oe.op){case"a":case"s":const ne=("a"===oe.op?this.map.get(oe.param):void 0)||[];ne.push(ae(oe.value)),this.map.set(oe.param,ne);break;case"d":if(void 0===oe.value){this.map.delete(oe.param);break}{let Ee=this.map.get(oe.param)||[];const Se=Ee.indexOf(ae(oe.value));-1!==Se&&Ee.splice(Se,1),Ee.length>0?this.map.set(oe.param,Ee):this.map.delete(oe.param)}}}),this.cloneFrom=this.updates=null)}}class He{constructor(){this.map=new Map}set(oe,ne){return this.map.set(oe,ne),this}get(oe){return this.map.has(oe)||this.map.set(oe,oe.defaultValue()),this.map.get(oe)}delete(oe){return this.map.delete(oe),this}has(oe){return this.map.has(oe)}keys(){return this.map.keys()}}function xt(ve){return"undefined"!=typeof ArrayBuffer&&ve instanceof ArrayBuffer}function St(ve){return"undefined"!=typeof Blob&&ve instanceof Blob}function We(ve){return"undefined"!=typeof FormData&&ve instanceof FormData}class wt{constructor(oe,ne,Ee,Se){let Oe;if(this.url=ne,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=oe.toUpperCase(),function Ge(ve){switch(ve){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Se?(this.body=void 0!==Ee?Ee:null,Oe=Se):Oe=Ee,Oe&&(this.reportProgress=!!Oe.reportProgress,this.withCredentials=!!Oe.withCredentials,Oe.responseType&&(this.responseType=Oe.responseType),Oe.headers&&(this.headers=Oe.headers),Oe.context&&(this.context=Oe.context),Oe.params&&(this.params=Oe.params)),this.headers||(this.headers=new N),this.context||(this.context=new He),this.params){const we=this.params.toString();if(0===we.length)this.urlWithParams=ne;else{const je=ne.indexOf("?");this.urlWithParams=ne+(-1===je?"?":jeRi.set(it,oe.setHeaders[it]),xi)),oe.setParams&&(kt=Object.keys(oe.setParams).reduce((Ri,it)=>Ri.set(it,oe.setParams[it]),kt)),new wt(Ee,Se,we,{params:kt,headers:xi,context:xs,reportProgress:vt,responseType:Oe,withCredentials:je})}}var ft=(()=>((ft=ft||{})[ft.Sent=0]="Sent",ft[ft.UploadProgress=1]="UploadProgress",ft[ft.ResponseHeader=2]="ResponseHeader",ft[ft.DownloadProgress=3]="DownloadProgress",ft[ft.Response=4]="Response",ft[ft.User=5]="User",ft))();class ue{constructor(oe,ne=200,Ee="OK"){this.headers=oe.headers||new N,this.status=void 0!==oe.status?oe.status:ne,this.statusText=oe.statusText||Ee,this.url=oe.url||null,this.ok=this.status>=200&&this.status<300}}class fe extends ue{constructor(oe={}){super(oe),this.type=ft.ResponseHeader}clone(oe={}){return new fe({headers:oe.headers||this.headers,status:void 0!==oe.status?oe.status:this.status,statusText:oe.statusText||this.statusText,url:oe.url||this.url||void 0})}}class _e extends ue{constructor(oe={}){super(oe),this.type=ft.Response,this.body=void 0!==oe.body?oe.body:null}clone(oe={}){return new _e({body:void 0!==oe.body?oe.body:this.body,headers:oe.headers||this.headers,status:void 0!==oe.status?oe.status:this.status,statusText:oe.statusText||this.statusText,url:oe.url||this.url||void 0})}}class me extends ue{constructor(oe){super(oe,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${oe.url||"(unknown url)"}`:`Http failure response for ${oe.url||"(unknown url)"}: ${oe.status} ${oe.statusText}`,this.error=oe.error||null}}function xe(ve,oe){return{body:oe,headers:ve.headers,context:ve.context,observe:ve.observe,params:ve.params,reportProgress:ve.reportProgress,responseType:ve.responseType,withCredentials:ve.withCredentials}}let he=(()=>{class ve{constructor(ne){this.handler=ne}request(ne,Ee,Se={}){let Oe;if(ne instanceof wt)Oe=ne;else{let vt,xi;vt=Se.headers instanceof N?Se.headers:new N(Se.headers),Se.params&&(xi=Se.params instanceof de?Se.params:new de({fromObject:Se.params})),Oe=new wt(ne,Ee,void 0!==Se.body?Se.body:null,{headers:vt,context:Se.context,params:xi,reportProgress:Se.reportProgress,responseType:Se.responseType||"json",withCredentials:Se.withCredentials})}const we=(0,T.of)(Oe).pipe((0,C.b)(vt=>this.handler.handle(vt)));if(ne instanceof wt||"events"===Se.observe)return we;const je=we.pipe((0,E.h)(vt=>vt instanceof _e));switch(Se.observe||"body"){case"body":switch(Oe.responseType){case"arraybuffer":return je.pipe((0,R.U)(vt=>{if(null!==vt.body&&!(vt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return vt.body}));case"blob":return je.pipe((0,R.U)(vt=>{if(null!==vt.body&&!(vt.body instanceof Blob))throw new Error("Response is not a Blob.");return vt.body}));case"text":return je.pipe((0,R.U)(vt=>{if(null!==vt.body&&"string"!=typeof vt.body)throw new Error("Response is not a string.");return vt.body}));default:return je.pipe((0,R.U)(vt=>vt.body))}case"response":return je;default:throw new Error(`Unreachable: unhandled observe type ${Se.observe}}`)}}delete(ne,Ee={}){return this.request("DELETE",ne,Ee)}get(ne,Ee={}){return this.request("GET",ne,Ee)}head(ne,Ee={}){return this.request("HEAD",ne,Ee)}jsonp(ne,Ee){return this.request("JSONP",ne,{params:(new de).append(Ee,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ne,Ee={}){return this.request("OPTIONS",ne,Ee)}patch(ne,Ee,Se={}){return this.request("PATCH",ne,xe(Se,Ee))}post(ne,Ee,Se={}){return this.request("POST",ne,xe(Se,Ee))}put(ne,Ee,Se={}){return this.request("PUT",ne,xe(Se,Ee))}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(H))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class At{constructor(oe,ne){this.next=oe,this.interceptor=ne}handle(oe){return this.interceptor.intercept(oe,this.next)}}const qt=new i.OlP("HTTP_INTERCEPTORS");let bi=(()=>{class ve{intercept(ne,Ee){return Ee.handle(ne)}}return ve.\u0275fac=function(ne){return new(ne||ve)},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const xn=/^\)\]\}',?\n/;let $s=(()=>{class ve{constructor(ne){this.xhrFactory=ne}handle(ne){if("JSONP"===ne.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new v.y(Ee=>{const Se=this.xhrFactory.build();if(Se.open(ne.method,ne.urlWithParams),ne.withCredentials&&(Se.withCredentials=!0),ne.headers.forEach((it,Ue)=>Se.setRequestHeader(it,Ue.join(","))),ne.headers.has("Accept")||Se.setRequestHeader("Accept","application/json, text/plain, */*"),!ne.headers.has("Content-Type")){const it=ne.detectContentTypeHeader();null!==it&&Se.setRequestHeader("Content-Type",it)}if(ne.responseType){const it=ne.responseType.toLowerCase();Se.responseType="json"!==it?it:"text"}const Oe=ne.serializeBody();let we=null;const je=()=>{if(null!==we)return we;const it=Se.statusText||"OK",Ue=new N(Se.getAllResponseHeaders()),Rn=function qi(ve){return"responseURL"in ve&&ve.responseURL?ve.responseURL:/^X-Request-URL:/m.test(ve.getAllResponseHeaders())?ve.getResponseHeader("X-Request-URL"):null}(Se)||ne.url;return we=new fe({headers:Ue,status:Se.status,statusText:it,url:Rn}),we},vt=()=>{let{headers:it,status:Ue,statusText:Rn,url:Nt}=je(),mt=null;204!==Ue&&(mt=void 0===Se.response?Se.responseText:Se.response),0===Ue&&(Ue=mt?200:0);let Xn=Ue>=200&&Ue<300;if("json"===ne.responseType&&"string"==typeof mt){const jn=mt;mt=mt.replace(xn,"");try{mt=""!==mt?JSON.parse(mt):null}catch(Pn){mt=jn,Xn&&(Xn=!1,mt={error:Pn,text:mt})}}Xn?(Ee.next(new _e({body:mt,headers:it,status:Ue,statusText:Rn,url:Nt||void 0})),Ee.complete()):Ee.error(new me({error:mt,headers:it,status:Ue,statusText:Rn,url:Nt||void 0}))},xi=it=>{const{url:Ue}=je(),Rn=new me({error:it,status:Se.status||0,statusText:Se.statusText||"Unknown Error",url:Ue||void 0});Ee.error(Rn)};let kt=!1;const xs=it=>{kt||(Ee.next(je()),kt=!0);let Ue={type:ft.DownloadProgress,loaded:it.loaded};it.lengthComputable&&(Ue.total=it.total),"text"===ne.responseType&&!!Se.responseText&&(Ue.partialText=Se.responseText),Ee.next(Ue)},Ri=it=>{let Ue={type:ft.UploadProgress,loaded:it.loaded};it.lengthComputable&&(Ue.total=it.total),Ee.next(Ue)};return Se.addEventListener("load",vt),Se.addEventListener("error",xi),Se.addEventListener("timeout",xi),Se.addEventListener("abort",xi),ne.reportProgress&&(Se.addEventListener("progress",xs),null!==Oe&&Se.upload&&Se.upload.addEventListener("progress",Ri)),Se.send(Oe),Ee.next({type:ft.Sent}),()=>{Se.removeEventListener("error",xi),Se.removeEventListener("abort",xi),Se.removeEventListener("load",vt),Se.removeEventListener("timeout",xi),ne.reportProgress&&(Se.removeEventListener("progress",xs),null!==Oe&&Se.upload&&Se.upload.removeEventListener("progress",Ri)),Se.readyState!==Se.DONE&&Se.abort()}})}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(b.JF))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const Br=new i.OlP("XSRF_COOKIE_NAME"),Yr=new i.OlP("XSRF_HEADER_NAME");class jr{}let Mo=(()=>{class ve{constructor(ne,Ee,Se){this.doc=ne,this.platform=Ee,this.cookieName=Se,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ne=this.doc.cookie||"";return ne!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,b.Mx)(ne,this.cookieName),this.lastCookieString=ne),this.lastToken}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(b.K0),i.LFG(i.Lbi),i.LFG(Br))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),Ws=(()=>{class ve{constructor(ne,Ee){this.tokenService=ne,this.headerName=Ee}intercept(ne,Ee){const Se=ne.url.toLowerCase();if("GET"===ne.method||"HEAD"===ne.method||Se.startsWith("http://")||Se.startsWith("https://"))return Ee.handle(ne);const Oe=this.tokenService.getToken();return null!==Oe&&!ne.headers.has(this.headerName)&&(ne=ne.clone({headers:ne.headers.set(this.headerName,Oe)})),Ee.handle(ne)}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(jr),i.LFG(Yr))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),So=(()=>{class ve{constructor(ne,Ee){this.backend=ne,this.injector=Ee,this.chain=null}handle(ne){if(null===this.chain){const Ee=this.injector.get(qt,[]);this.chain=Ee.reduceRight((Se,Oe)=>new At(Se,Oe),this.backend)}return this.chain.handle(ne)}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(B),i.LFG(i.zs3))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),Na=(()=>{class ve{static disable(){return{ngModule:ve,providers:[{provide:Ws,useClass:bi}]}}static withOptions(ne={}){return{ngModule:ve,providers:[ne.cookieName?{provide:Br,useValue:ne.cookieName}:[],ne.headerName?{provide:Yr,useValue:ne.headerName}:[]]}}}return ve.\u0275fac=function(ne){return new(ne||ve)},ve.\u0275mod=i.oAB({type:ve}),ve.\u0275inj=i.cJS({providers:[Ws,{provide:qt,useExisting:Ws,multi:!0},{provide:jr,useClass:Mo},{provide:Br,useValue:"XSRF-TOKEN"},{provide:Yr,useValue:"X-XSRF-TOKEN"}]}),ve})(),Bi=(()=>{class ve{}return ve.\u0275fac=function(ne){return new(ne||ve)},ve.\u0275mod=i.oAB({type:ve}),ve.\u0275inj=i.cJS({providers:[he,{provide:H,useClass:So},$s,{provide:B,useExisting:$s}],imports:[[Na.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),ve})()},5e3:(Y,U,w)=>{"use strict";w.d(U,{deG:()=>ul,tb:()=>Um,AFp:()=>Bw,ip1:()=>Da,CZH:()=>Dc,hGG:()=>M0,z2F:()=>Nd,sBO:()=>a0,Sil:()=>zd,_Vd:()=>Cd,EJc:()=>Vw,SBq:()=>Td,qLn:()=>cc,vpe:()=>wo,tBr:()=>la,XFs:()=>lt,OlP:()=>Mi,zs3:()=>fo,ZZ4:()=>Nf,aQg:()=>Bf,soG:()=>su,YKP:()=>kd,h0i:()=>Gl,PXZ:()=>e0,R0b:()=>ks,FiY:()=>Mr,Lbi:()=>Uw,g9A:()=>jm,n_E:()=>Ed,Qsj:()=>rw,FYo:()=>ow,JOm:()=>Sr,q3G:()=>nn,tp0:()=>ua,Rgc:()=>Jl,dDg:()=>Of,GfV:()=>vT,s_b:()=>Dd,ifc:()=>Oe,eFA:()=>sr,G48:()=>ru,Gpc:()=>G,f3M:()=>Ep,_c5:()=>w0,VLi:()=>WT,c2e:()=>Vm,zSh:()=>zh,wAp:()=>st,vHH:()=>ee,EiD:()=>Vu,mCW:()=>Ne,qzn:()=>_l,JVY:()=>NA,pB0:()=>jA,eBb:()=>BA,L6k:()=>P_,LAX:()=>YA,cg1:()=>Nl,kL8:()=>Xg,yhl:()=>R_,dqk:()=>kt,sIi:()=>kl,CqO:()=>ab,QGY:()=>Dg,F4k:()=>xg,RDi:()=>Kc,AaK:()=>H,z3N:()=>Bs,qOj:()=>Bh,TTD:()=>nt,_Bn:()=>iw,xp6:()=>Dv,uIk:()=>Yh,Tol:()=>Yg,Gre:()=>FC,ekj:()=>Ca,Suo:()=>IT,Xpm:()=>ko,lG2:()=>Le,Yz7:()=>ri,cJS:()=>xn,oAB:()=>cr,Yjl:()=>li,Y36:()=>go,_UZ:()=>rb,GkF:()=>ef,BQk:()=>Ol,ynx:()=>Eg,qZA:()=>Sg,TgZ:()=>Mg,EpF:()=>md,n5z:()=>fh,Ikx:()=>Qg,LFG:()=>tn,$8M:()=>Lu,$Z:()=>Xh,NdJ:()=>cb,CRH:()=>OT,kcU:()=>Eu,O4$:()=>Wa,oxw:()=>Pg,ALo:()=>Ni,lcZ:()=>wm,xi3:()=>Am,Dn7:()=>vm,Hsn:()=>db,F$t:()=>Ig,Q6J:()=>gd,s9C:()=>Og,DdM:()=>Mf,VKq:()=>Zl,WLB:()=>ym,iGM:()=>xw,MAs:()=>qh,Jf7:()=>rv,CHM:()=>qa,oJD:()=>z_,LSH:()=>qu,Udp:()=>ls,WFA:()=>_d,d8E:()=>df,YNc:()=>fd,W1O:()=>Rw,_uU:()=>kb,Oqu:()=>Gg,hij:()=>cf,AsE:()=>Kg,xDo:()=>lf,Gf:()=>LT});var b=w(8929),i=w(2654),T=w(2916),v=w(6787),C=w(2474);function E(l){for(let u in l)if(l[u]===E)return u;throw Error("Could not find renamed property on target object.")}function R(l,u){for(const f in u)u.hasOwnProperty(f)&&!l.hasOwnProperty(f)&&(l[f]=u[f])}function H(l){if("string"==typeof l)return l;if(Array.isArray(l))return"["+l.map(H).join(", ")+"]";if(null==l)return""+l;if(l.overriddenName)return`${l.overriddenName}`;if(l.name)return`${l.name}`;const u=l.toString();if(null==u)return""+u;const f=u.indexOf("\n");return-1===f?u:u.substring(0,f)}function B(l,u){return null==l||""===l?null===u?"":u:null==u||""===u?l:l+" "+u}const N=E({__forward_ref__:E});function G(l){return l.__forward_ref__=G,l.toString=function(){return H(this())},l}function J(l){return X(l)?l():l}function X(l){return"function"==typeof l&&l.hasOwnProperty(N)&&l.__forward_ref__===G}class ee extends Error{constructor(u,f){super(function ae(l,u){return`NG0${Math.abs(l)}${u?": "+u:""}`}(u,f)),this.code=u}}function de(l){return"string"==typeof l?l:null==l?"":String(l)}function Ie(l){return"function"==typeof l?l.name||l.toString():"object"==typeof l&&null!=l&&"function"==typeof l.type?l.type.name||l.type.toString():de(l)}function St(l,u){const f=u?` in ${u}`:"";throw new ee(-201,`No provider for ${Ie(l)} found${f}`)}function Xe(l,u){null==l&&function ct(l,u,f,p){throw new Error(`ASSERTION ERROR: ${l}`+(null==p?"":` [Expected=> ${f} ${p} ${u} <=Actual]`))}(u,l,null,"!=")}function ri(l){return{token:l.token,providedIn:l.providedIn||null,factory:l.factory,value:void 0}}function xn(l){return{providers:l.providers||[],imports:l.imports||[]}}function qi(l){return $s(l,Mo)||$s(l,So)}function $s(l,u){return l.hasOwnProperty(u)?l[u]:null}function jr(l){return l&&(l.hasOwnProperty(Ws)||l.hasOwnProperty(wu))?l[Ws]:null}const Mo=E({\u0275prov:E}),Ws=E({\u0275inj:E}),So=E({ngInjectableDef:E}),wu=E({ngInjectorDef:E});var lt=(()=>((lt=lt||{})[lt.Default=0]="Default",lt[lt.Host=1]="Host",lt[lt.Self=2]="Self",lt[lt.SkipSelf=4]="SkipSelf",lt[lt.Optional=8]="Optional",lt))();let Na;function Wt(l){const u=Na;return Na=l,u}function hn(l,u,f){const p=qi(l);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:f<.Optional?null:void 0!==u?u:void St(H(l),"Injector")}function oe(l){return{toString:l}.toString()}var ne=(()=>((ne=ne||{})[ne.OnPush=0]="OnPush",ne[ne.Default=1]="Default",ne))(),Oe=(()=>{return(l=Oe||(Oe={}))[l.Emulated=0]="Emulated",l[l.None=2]="None",l[l.ShadowDom=3]="ShadowDom",Oe;var l})();const we="undefined"!=typeof globalThis&&globalThis,je="undefined"!=typeof window&&window,vt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,kt=we||"undefined"!=typeof global&&global||je||vt,it={},Ue=[],Rn=E({\u0275cmp:E}),Nt=E({\u0275dir:E}),mt=E({\u0275pipe:E}),Xn=E({\u0275mod:E}),jn=E({\u0275fac:E}),Pn=E({__NG_ELEMENT_ID__:E});let Uc=0;function ko(l){return oe(()=>{const f={},p={type:l.type,providersResolver:null,decls:l.decls,vars:l.vars,factory:null,template:l.template||null,consts:l.consts||null,ngContentSelectors:l.ngContentSelectors,hostBindings:l.hostBindings||null,hostVars:l.hostVars||0,hostAttrs:l.hostAttrs||null,contentQueries:l.contentQueries||null,declaredInputs:f,inputs:null,outputs:null,exportAs:l.exportAs||null,onPush:l.changeDetection===ne.OnPush,directiveDefs:null,pipeDefs:null,selectors:l.selectors||Ue,viewQuery:l.viewQuery||null,features:l.features||null,data:l.data||{},encapsulation:l.encapsulation||Oe.Emulated,id:"c",styles:l.styles||Ue,_:null,setInput:null,schemas:l.schemas||null,tView:null},m=l.directives,y=l.features,M=l.pipes;return p.id+=Uc++,p.inputs=D(l.inputs,f),p.outputs=D(l.outputs),y&&y.forEach(k=>k(p)),p.directiveDefs=m?()=>("function"==typeof m?m():m).map(Qs):null,p.pipeDefs=M?()=>("function"==typeof M?M():M).map(Un):null,p})}function Qs(l){return Wi(l)||function qe(l){return l[Nt]||null}(l)}function Un(l){return function Vn(l){return l[mt]||null}(l)}const ar={};function cr(l){return oe(()=>{const u={type:l.type,bootstrap:l.bootstrap||Ue,declarations:l.declarations||Ue,imports:l.imports||Ue,exports:l.exports||Ue,transitiveCompileScopes:null,schemas:l.schemas||null,id:l.id||null};return null!=l.id&&(ar[l.id]=l.type),u})}function D(l,u){if(null==l)return it;const f={};for(const p in l)if(l.hasOwnProperty(p)){let m=l[p],y=m;Array.isArray(m)&&(y=m[1],m=m[0]),f[m]=p,u&&(u[m]=y)}return f}const Le=ko;function li(l){return{type:l.type,name:l.name,factory:null,pure:!1!==l.pure,onDestroy:l.type.prototype.ngOnDestroy||null}}function Wi(l){return l[Rn]||null}function ut(l,u){const f=l[Xn]||null;if(!f&&!0===u)throw new Error(`Type ${H(l)} does not have '\u0275mod' property.`);return f}function Cn(l){return Array.isArray(l)&&"object"==typeof l[1]}function Gn(l){return Array.isArray(l)&&!0===l[1]}function Ba(l){return 0!=(8&l.flags)}function Ro(l){return 2==(2&l.flags)}function Xs(l){return 1==(1&l.flags)}function Kn(l){return null!==l.template}function dr(l){return 0!=(512&l[2])}function Ln(l,u){return l.hasOwnProperty(jn)?l[jn]:null}class Au{constructor(u,f,p){this.previousValue=u,this.currentValue=f,this.firstChange=p}isFirstChange(){return this.firstChange}}function nt(){return Gi}function Gi(l){return l.type.prototype.ngOnChanges&&(l.setInput=Gr),jt}function jt(){const l=is(this),u=null==l?void 0:l.current;if(u){const f=l.previous;if(f===it)l.previous=u;else for(let p in u)f[p]=u[p];l.current=null,this.ngOnChanges(u)}}function Gr(l,u,f,p){const m=is(l)||function ja(l,u){return l[Ut]=u}(l,{previous:it,current:null}),y=m.current||(m.current={}),M=m.previous,k=this.declaredInputs[f],x=M[k];y[k]=new Au(x&&x.currentValue,u,M===it),l[p]=u}nt.ngInherit=!0;const Ut="__ngSimpleChanges__";function is(l){return l[Ut]||null}let io;function Kc(l){io=l}function Zr(){return void 0!==io?io:"undefined"!=typeof document?document:void 0}function Jt(l){return!!l.listen}const L={createRenderer:(l,u)=>Zr()};function O(l){for(;Array.isArray(l);)l=l[0];return l}function pe(l,u){return O(u[l])}function Ae(l,u){return O(u[l.index])}function Zt(l,u){return l.data[u]}function It(l,u){return l[u]}function bt(l,u){const f=u[l];return Cn(f)?f:f[0]}function Ot(l){return 4==(4&l[2])}function ji(l){return 128==(128&l[2])}function mi(l,u){return null==u?null:l[u]}function no(l){l[18]=0}function ms(l,u){l[5]+=u;let f=l,p=l[3];for(;null!==p&&(1===u&&1===f[5]||-1===u&&0===f[5]);)p[5]+=u,f=p,p=p[3]}const et={lFrame:Mu(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function ih(){return et.bindingsEnabled}function Te(){return et.lFrame.lView}function Et(){return et.lFrame.tView}function qa(l){return et.lFrame.contextLView=l,l[8]}function Li(){let l=nh();for(;null!==l&&64===l.type;)l=l.parent;return l}function nh(){return et.lFrame.currentTNode}function Is(l,u){const f=et.lFrame;f.currentTNode=l,f.isParent=u}function Zn(){return et.lFrame.isParent}function $c(){et.lFrame.isParent=!1}function Cu(){return et.isInCheckNoChangesMode}function Ui(l){et.isInCheckNoChangesMode=l}function fi(){const l=et.lFrame;let u=l.bindingRootIndex;return-1===u&&(u=l.bindingRootIndex=l.tView.bindingStartIndex),u}function so(){return et.lFrame.bindingIndex}function gr(){return et.lFrame.bindingIndex++}function In(l){const u=et.lFrame,f=u.bindingIndex;return u.bindingIndex=u.bindingIndex+l,f}function dp(l,u){const f=et.lFrame;f.bindingIndex=f.bindingRootIndex=l,mr(u)}function mr(l){et.lFrame.currentDirectiveIndex=l}function Oo(l){const u=et.lFrame.currentDirectiveIndex;return-1===u?null:l[u]}function Ho(){return et.lFrame.currentQueryIndex}function Dt(l){et.lFrame.currentQueryIndex=l}function Za(l){const u=l[1];return 2===u.type?u.declTNode:1===u.type?l[6]:null}function Wc(l,u,f){if(f<.SkipSelf){let m=u,y=l;for(;!(m=m.parent,null!==m||f<.Host||(m=Za(y),null===m||(y=y[15],10&m.type))););if(null===m)return!1;u=m,l=y}const p=et.lFrame=Jc();return p.currentTNode=u,p.lView=l,!0}function ns(l){const u=Jc(),f=l[1];et.lFrame=u,u.currentTNode=f.firstChild,u.lView=l,u.tView=f,u.contextLView=l,u.bindingIndex=f.bindingStartIndex,u.inI18n=!1}function Jc(){const l=et.lFrame,u=null===l?null:l.child;return null===u?Mu(l):u}function Mu(l){const u={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:l,child:null,inI18n:!1};return null!==l&&(l.child=u),u}function Su(){const l=et.lFrame;return et.lFrame=l.parent,l.currentTNode=null,l.lView=null,l}const rh=Su;function _r(){const l=Su();l.isParent=!0,l.tView=null,l.selectedIndex=-1,l.contextLView=null,l.elementDepthCount=0,l.currentDirectiveIndex=-1,l.currentNamespace=null,l.bindingRootIndex=-1,l.bindingIndex=-1,l.currentQueryIndex=0}function en(){return et.lFrame.selectedIndex}function Fo(l){et.lFrame.selectedIndex=l}function _i(){const l=et.lFrame;return Zt(l.tView,l.selectedIndex)}function Wa(){et.lFrame.currentNamespace="svg"}function Eu(){!function hp(){et.lFrame.currentNamespace=null}()}function zo(l,u){for(let f=u.directiveStart,p=u.directiveEnd;f=p)break}else u[x]<0&&(l[18]+=65536),(k>11>16&&(3&l[2])===u){l[2]+=2048;try{y.call(k)}finally{}}}else try{y.call(k)}finally{}}class br{constructor(u,f,p){this.factory=u,this.resolving=!1,this.canSeeViewProviders=f,this.injectImpl=p}}function tl(l,u,f){const p=Jt(l);let m=0;for(;mu){M=y-1;break}}}for(;y>16}(l),p=u;for(;f>0;)p=p[15],f--;return p}let Ru=!0;function nl(l){const u=Ru;return Ru=l,u}let sl=0;function Ar(l,u){const f=zs(l,u);if(-1!==f)return f;const p=u[1];p.firstCreatePass&&(l.injectorIndex=u.length,Jr(p.data,l),Jr(u,null),Jr(p.blueprint,null));const m=vr(l,u),y=l.injectorIndex;if(wr(m)){const M=No(m),k=Fs(m,u),x=k[1].data;for(let z=0;z<8;z++)u[y+z]=k[M+z]|x[M+z]}return u[y+8]=m,y}function Jr(l,u){l.push(0,0,0,0,0,0,0,0,u)}function zs(l,u){return-1===l.injectorIndex||l.parent&&l.parent.injectorIndex===l.injectorIndex||null===u[l.injectorIndex+8]?-1:l.injectorIndex}function vr(l,u){if(l.parent&&-1!==l.parent.injectorIndex)return l.parent.injectorIndex;let f=0,p=null,m=u;for(;null!==m;){const y=m[1],M=y.type;if(p=2===M?y.declTNode:1===M?m[6]:null,null===p)return-1;if(f++,m=m[15],-1!==p.injectorIndex)return p.injectorIndex|f<<16}return-1}function ec(l,u,f){!function Pu(l,u,f){let p;"string"==typeof f?p=f.charCodeAt(0)||0:f.hasOwnProperty(Pn)&&(p=f[Pn]),null==p&&(p=f[Pn]=sl++);const m=255&p;u.data[l+(m>>5)]|=1<=0?255&u:_p:u}(f);if("function"==typeof y){if(!Wc(u,l,p))return p<.Host?ol(m,f,p):Xr(u,f,p,m);try{const M=y(p);if(null!=M||p<.Optional)return M;St(f)}finally{rh()}}else if("number"==typeof y){let M=null,k=zs(l,u),x=-1,z=p<.Host?u[16][6]:null;for((-1===k||p<.SkipSelf)&&(x=-1===k?vr(l,u):u[k+8],-1!==x&&al(p,!1)?(M=u[1],k=No(x),u=Fs(x,u)):k=-1);-1!==k;){const j=u[1];if(hh(y,k,j.data)){const Q=dh(k,u,f,M,p,z);if(Q!==rl)return Q}x=u[k+8],-1!==x&&al(p,u[1].data[k+8]===z)&&hh(y,k,u)?(M=j,k=No(x),u=Fs(x,u)):k=-1}}}return Xr(u,f,p,m)}const rl={};function _p(){return new $n(Li(),Te())}function dh(l,u,f,p,m,y){const M=u[1],k=M.data[l+8],j=tc(k,M,f,null==p?Ro(k)&&Ru:p!=M&&0!=(3&k.type),m<.Host&&y===k);return null!==j?ic(u,M,j,k):rl}function tc(l,u,f,p,m){const y=l.providerIndexes,M=u.data,k=1048575&y,x=l.directiveStart,j=y>>20,ie=m?k+j:l.directiveEnd;for(let le=p?k:k+j;le=x&&ye.type===f)return le}if(m){const le=M[x];if(le&&Kn(le)&&le.type===f)return x}return null}function ic(l,u,f,p){let m=l[f];const y=u.data;if(function Du(l){return l instanceof br}(m)){const M=m;M.resolving&&function He(l,u){const f=u?`. Dependency path: ${u.join(" > ")} > ${l}`:"";throw new ee(-200,`Circular dependency in DI detected for ${l}${f}`)}(Ie(y[f]));const k=nl(M.canSeeViewProviders);M.resolving=!0;const x=M.injectImpl?Wt(M.injectImpl):null;Wc(l,p,lt.Default);try{m=l[f]=M.factory(void 0,y,l,p),u.firstCreatePass&&f>=p.directiveStart&&function yr(l,u,f){const{ngOnChanges:p,ngOnInit:m,ngDoCheck:y}=u.type.prototype;if(p){const M=Gi(u);(f.preOrderHooks||(f.preOrderHooks=[])).push(l,M),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,M)}m&&(f.preOrderHooks||(f.preOrderHooks=[])).push(0-l,m),y&&((f.preOrderHooks||(f.preOrderHooks=[])).push(l,y),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,y))}(f,y[f],u)}finally{null!==x&&Wt(x),nl(k),M.resolving=!1,rh()}}return m}function hh(l,u,f){return!!(f[u+(l>>5)]&1<{const u=l.prototype.constructor,f=u[jn]||ro(u),p=Object.prototype;let m=Object.getPrototypeOf(l.prototype).constructor;for(;m&&m!==p;){const y=m[jn]||ro(m);if(y&&y!==f)return y;m=Object.getPrototypeOf(m)}return y=>new y})}function ro(l){return X(l)?()=>{const u=ro(J(l));return u&&u()}:Ln(l)}function Lu(l){return function Qr(l,u){if("class"===u)return l.classes;if("style"===u)return l.styles;const f=l.attrs;if(f){const p=f.length;let m=0;for(;m{const p=function Cr(l){return function(...f){if(l){const p=l(...f);for(const m in p)this[m]=p[m]}}}(u);function m(...y){if(this instanceof m)return p.apply(this,y),this;const M=new m(...y);return k.annotation=M,k;function k(x,z,j){const Q=x.hasOwnProperty(ta)?x[ta]:Object.defineProperty(x,ta,{value:[]})[ta];for(;Q.length<=j;)Q.push(null);return(Q[j]=Q[j]||[]).push(M),x}}return f&&(m.prototype=Object.create(f.prototype)),m.prototype.ngMetadataName=l,m.annotationCls=m,m})}class Mi{constructor(u,f){this._desc=u,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof f?this.__NG_ELEMENT_ID__=f:void 0!==f&&(this.\u0275prov=ri({token:this,providedIn:f.providedIn||"root",factory:f.factory}))}toString(){return`InjectionToken ${this._desc}`}}const ul=new Mi("AnalyzeForEntryComponents");function Tn(l,u){void 0===u&&(u=l);for(let f=0;fArray.isArray(f)?ss(f,u):u(f))}function Hu(l,u,f){u>=l.length?l.push(f):l.splice(u,0,f)}function Bo(l,u){return u>=l.length-1?l.pop():l.splice(u,1)[0]}function ra(l,u){const f=[];for(let p=0;p=0?l[1|p]=f:(p=~p,function Cp(l,u,f,p){let m=l.length;if(m==u)l.push(f,p);else if(1===m)l.push(p,l[0]),l[0]=f;else{for(m--,l.push(l[m-1],l[m]);m>u;)l[m]=l[m-2],m--;l[u]=f,l[u+1]=p}}(l,p,u,f)),p}function sc(l,u){const f=Tr(l,u);if(f>=0)return l[1|f]}function Tr(l,u){return function Yo(l,u,f){let p=0,m=l.length>>f;for(;m!==p;){const y=p+(m-p>>1),M=l[y<u?m=y:p=y+1}return~(m<({token:l})),-1),Mr=ml(sa("Optional"),8),ua=ml(sa("SkipSelf"),4);let Ht,se;function S(l){var u;return(null===(u=function _(){if(void 0===Ht&&(Ht=null,kt.trustedTypes))try{Ht=kt.trustedTypes.createPolicy("angular",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return Ht}())||void 0===u?void 0:u.createHTML(l))||l}function Qe(l){var u;return(null===(u=function ge(){if(void 0===se&&(se=null,kt.trustedTypes))try{se=kt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return se}())||void 0===u?void 0:u.createHTML(l))||l}class vi{constructor(u){this.changingThisBreaksApplicationSecurity=u}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Uo extends vi{getTypeName(){return"HTML"}}class Hn extends vi{getTypeName(){return"Style"}}class x_ extends vi{getTypeName(){return"Script"}}class FA extends vi{getTypeName(){return"URL"}}class zA extends vi{getTypeName(){return"ResourceURL"}}function Bs(l){return l instanceof vi?l.changingThisBreaksApplicationSecurity:l}function _l(l,u){const f=R_(l);if(null!=f&&f!==u){if("ResourceURL"===f&&"URL"===u)return!0;throw new Error(`Required a safe ${u}, got a ${f} (see https://g.co/ng/security#xss)`)}return f===u}function R_(l){return l instanceof vi&&l.getTypeName()||null}function NA(l){return new Uo(l)}function P_(l){return new Hn(l)}function BA(l){return new x_(l)}function YA(l){return new FA(l)}function jA(l){return new zA(l)}class UA{constructor(u){this.inertDocumentHelper=u}getInertBodyElement(u){u=""+u;try{const f=(new window.DOMParser).parseFromString(S(u),"text/html").body;return null===f?this.inertDocumentHelper.getInertBodyElement(u):(f.removeChild(f.firstChild),f)}catch(f){return null}}}class VA{constructor(u){if(this.defaultDoc=u,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const f=this.inertDocument.createElement("html");this.inertDocument.appendChild(f);const p=this.inertDocument.createElement("body");f.appendChild(p)}}getInertBodyElement(u){const f=this.inertDocument.createElement("template");if("content"in f)return f.innerHTML=S(u),f;const p=this.inertDocument.createElement("body");return p.innerHTML=S(u),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(p),p}stripCustomNsAttrs(u){const f=u.attributes;for(let m=f.length-1;0Ne(u.trim())).join(", ")),this.buf.push(" ",M,'="',H_(x),'"')}var l;return this.buf.push(">"),!0}endElement(u){const f=u.nodeName.toLowerCase();co.hasOwnProperty(f)&&!Ki.hasOwnProperty(f)&&(this.buf.push(""))}chars(u){this.buf.push(H_(u))}checkClobberedElement(u,f){if(f&&(u.compareDocumentPosition(f)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${u.outerHTML}`);return f}}const KA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,O_=/([^\#-~ |!])/g;function H_(l){return l.replace(/&/g,"&").replace(KA,function(u){return"&#"+(1024*(u.charCodeAt(0)-55296)+(u.charCodeAt(1)-56320)+65536)+";"}).replace(O_,function(u){return"&#"+u.charCodeAt(0)+";"}).replace(//g,">")}let kh;function Vu(l,u){let f=null;try{kh=kh||function Th(l){const u=new VA(l);return function L_(){try{return!!(new window.DOMParser).parseFromString(S(""),"text/html")}catch(l){return!1}}()?new UA(u):u}(l);let p=u?String(u):"";f=kh.getInertBodyElement(p);let m=5,y=p;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,p=y,y=f.innerHTML,f=kh.getInertBodyElement(p)}while(p!==y);return S((new Fp).sanitizeChildren(Eh(f)||f))}finally{if(f){const p=Eh(f)||f;for(;p.firstChild;)p.removeChild(p.firstChild)}}}function Eh(l){return"content"in l&&function F_(l){return l.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===l.nodeName}(l)?l.content:null}var nn=(()=>((nn=nn||{})[nn.NONE=0]="NONE",nn[nn.HTML=1]="HTML",nn[nn.STYLE=2]="STYLE",nn[nn.SCRIPT=3]="SCRIPT",nn[nn.URL=4]="URL",nn[nn.RESOURCE_URL=5]="RESOURCE_URL",nn))();function z_(l){const u=Ku();return u?Qe(u.sanitize(nn.HTML,l)||""):_l(l,"HTML")?Qe(Bs(l)):Vu(Zr(),de(l))}function qu(l){const u=Ku();return u?u.sanitize(nn.URL,l)||"":_l(l,"URL")?Bs(l):Ne(de(l))}function Ku(){const l=Te();return l&&l[12]}const U_="__ngContext__";function _n(l,u){l[U_]=u}function pa(l){const u=function ti(l){return l[U_]||null}(l);return u?Array.isArray(u)?u:u.lView:null}function bl(l){return l.ngOriginalError}function lo(l,...u){l.error(...u)}class cc{constructor(){this._console=console}handleError(u){const f=this._findOriginalError(u),p=function wl(l){return l&&l.ngErrorLogger||lo}(u);p(this._console,"ERROR",u),f&&p(this._console,"ORIGINAL ERROR",f)}_findOriginalError(u){let f=u&&bl(u);for(;f&&bl(f);)f=bl(f);return f||null}}const ov=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(kt))();function rv(l){return l.ownerDocument.defaultView}function rs(l){return l instanceof Function?l():l}var Sr=(()=>((Sr=Sr||{})[Sr.Important=1]="Important",Sr[Sr.DashCase=2]="DashCase",Sr))();function Z_(l,u){return undefined(l,u)}function Dh(l){const u=l[3];return Gn(u)?u[3]:u}function $_(l){return dv(l[13])}function W_(l){return dv(l[4])}function dv(l){for(;null!==l&&!Gn(l);)l=l[4];return l}function uo(l,u,f,p,m){if(null!=p){let y,M=!1;Gn(p)?y=p:Cn(p)&&(M=!0,p=p[0]);const k=O(p);0===l&&null!==f?null==m?_v(u,f,k):ga(u,f,k,m||null,!0):1===l&&null!==f?ga(u,f,k,m||null,!0):2===l?function Zo(l,u,f){const p=Rh(l,u);p&&function yv(l,u,f,p){Jt(l)?l.removeChild(u,f,p):u.removeChild(f)}(l,p,u,f)}(u,k,M):3===l&&u.destroyNode(k),null!=y&&function PM(l,u,f,p,m){const y=f[7];y!==O(f)&&uo(u,l,p,y,m);for(let k=10;k0&&(l[f-1][4]=p[4]);const y=Bo(l,10+u);!function hv(l,u){ws(l,u,u[11],2,null,null),u[0]=null,u[6]=null}(p[1],p);const M=y[19];null!==M&&M.detachView(y[1]),p[3]=null,p[4]=null,p[2]&=-129}return p}function Ci(l,u){if(!(256&u[2])){const f=u[11];Jt(f)&&f.destroyNode&&ws(l,u,f,3,null,null),function DM(l){let u=l[13];if(!u)return Yp(l[1],l);for(;u;){let f=null;if(Cn(u))f=u[13];else{const p=u[10];p&&(f=p)}if(!f){for(;u&&!u[4]&&u!==l;)Cn(u)&&Yp(u[1],u),u=u[3];null===u&&(u=l),Cn(u)&&Yp(u[1],u),f=u&&u[4]}u=f}}(u)}}function Yp(l,u){if(!(256&u[2])){u[2]&=-129,u[2]|=256,function gv(l,u){let f;if(null!=l&&null!=(f=l.destroyHooks))for(let p=0;p=0?p[m=z]():p[m=-z].unsubscribe(),y+=2}else{const M=p[m=f[y+1]];f[y].call(M)}if(null!==p){for(let y=m+1;yy?"":m[Q+1].toLowerCase();const le=8&p?ie:null;if(le&&-1!==Tv(le,z,0)||2&p&&z!==ie){if(ho(p))return!1;M=!0}}}}else{if(!M&&!ho(p)&&!ho(x))return!1;if(M&&ho(x))continue;M=!1,p=x|1&p}}return ho(p)||M}function ho(l){return 0==(1&l)}function HM(l,u,f,p){if(null===u)return-1;let m=0;if(p||!f){let y=!1;for(;m-1)for(f++;f0?'="'+k+'"':"")+"]"}else 8&p?m+="."+M:4&p&&(m+=" "+M);else""!==m&&!ho(M)&&(u+=Ev(y,m),m=""),p=M,y=y||!ho(p);f++}return""!==m&&(u+=Ev(y,m)),u}const Mt={};function Dv(l){xv(Et(),Te(),en()+l,Cu())}function xv(l,u,f,p){if(!p)if(3==(3&u[2])){const y=l.preOrderCheckHooks;null!==y&&Qc(u,y,f)}else{const y=l.preOrderHooks;null!==y&&Ja(u,y,0,f)}Fo(f)}function Up(l,u){return l<<17|u<<2}function $o(l){return l>>17&32767}function ny(l){return 2|l}function _a(l){return(131068&l)>>2}function sy(l,u){return-131069&l|u<<2}function oy(l){return 1|l}function Yv(l,u){const f=l.contentQueries;if(null!==f)for(let p=0;p20&&xv(l,u,20,Cu()),f(p,m)}finally{Fo(y)}}function Uv(l,u,f){if(Ba(u)){const m=u.directiveEnd;for(let y=u.directiveStart;y0;){const f=l[--u];if("number"==typeof f&&f<0)return f}return 0})(k)!=x&&k.push(x),k.push(p,m,M)}}function Qp(l,u){null!==l.hostBindings&&l.hostBindings(1,u)}function Xp(l,u){u.flags|=2,(l.components||(l.components=[])).push(u.index)}function Cy(l,u,f){if(f){if(u.exportAs)for(let p=0;p0&&ig(f)}}function ig(l){for(let p=$_(l);null!==p;p=W_(p))for(let m=10;m0&&ig(y)}const f=l[1].components;if(null!==f)for(let p=0;p0&&ig(m)}}function ed(l,u){const f=bt(u,l),p=f[1];(function cS(l,u){for(let f=u.length;fPromise.resolve(null))();function id(l){return l[7]||(l[7]=[])}function rg(l){return l.cleanup||(l.cleanup=[])}function xy(l,u,f){return(null===l||Kn(l))&&(f=function q(l){for(;Array.isArray(l);){if("object"==typeof l[1])return l;l=l[0]}return null}(f[u.index])),f[11]}function Ry(l,u){const f=l[9],p=f?f.get(cc,null):null;p&&p.handleError(u)}function nd(l,u,f,p,m){for(let y=0;ythis.processProvider(k,u,f)),ss([u],k=>this.processInjectorType(k,[],y)),this.records.set(od,mc(void 0,this));const M=this.records.get(zh);this.scope=null!=M?M.value:null,this.source=m||("object"==typeof u?null:H(u))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(u=>u.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(u,f=aa,p=lt.Default){this.assertNotDestroyed();const m=Ns(this),y=Wt(void 0);try{if(!(p<.SkipSelf)){let k=this.records.get(u);if(void 0===k){const x=function lS(l){return"function"==typeof l||"object"==typeof l&&l instanceof Mi}(u)&&qi(u);k=x&&this.injectableDefInScope(x)?mc(cg(u),rd):null,this.records.set(u,k)}if(null!=k)return this.hydrate(u,k)}return(p<.Self?Nh():this.parent).get(u,f=p<.Optional&&f===aa?null:f)}catch(M){if("NullInjectorError"===M.name){if((M[fl]=M[fl]||[]).unshift(H(u)),m)throw M;return function wh(l,u,f,p){const m=l[fl];throw u[pl]&&m.unshift(u[pl]),l.message=function Ah(l,u,f,p=null){l=l&&"\n"===l.charAt(0)&&"\u0275"==l.charAt(1)?l.substr(2):l;let m=H(u);if(Array.isArray(u))m=u.map(H).join(" -> ");else if("object"==typeof u){let y=[];for(let M in u)if(u.hasOwnProperty(M)){let k=u[M];y.push(M+":"+("string"==typeof k?JSON.stringify(k):H(k)))}m=`{${y.join(", ")}}`}return`${f}${p?"("+p+")":""}[${m}]: ${l.replace(Mp,"\n ")}`}("\n"+l.message,m,f,p),l.ngTokenPath=m,l[fl]=null,l}(M,u,"R3InjectorError",this.source)}throw M}finally{Wt(y),Ns(m)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(u=>this.get(u))}toString(){const u=[];return this.records.forEach((p,m)=>u.push(H(m))),`R3Injector[${u.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ee(205,!1)}processInjectorType(u,f,p){if(!(u=J(u)))return!1;let m=jr(u);const y=null==m&&u.ngModule||void 0,M=void 0===y?u:y,k=-1!==p.indexOf(M);if(void 0!==y&&(m=jr(y)),null==m)return!1;if(null!=m.imports&&!k){let j;p.push(M);try{ss(m.imports,Q=>{this.processInjectorType(Q,f,p)&&(void 0===j&&(j=[]),j.push(Q))})}finally{}if(void 0!==j)for(let Q=0;Qthis.processProvider(ye,ie,le||Ue))}}this.injectorDefTypes.add(M);const x=Ln(M)||(()=>new M);this.records.set(M,mc(x,rd));const z=m.providers;if(null!=z&&!k){const j=u;ss(z,Q=>this.processProvider(Q,j,z))}return void 0!==y&&void 0!==u.providers}processProvider(u,f,p){let m=Tl(u=J(u))?u:J(u&&u.provide);const y=function nC(l,u,f){return lg(l)?mc(void 0,l.useValue):mc(Hy(l),rd)}(u);if(Tl(u)||!0!==u.multi)this.records.get(m);else{let M=this.records.get(m);M||(M=mc(void 0,rd,!0),M.factory=()=>gl(M.multi),this.records.set(m,M)),m=u,M.multi.push(u)}this.records.set(m,y)}hydrate(u,f){return f.value===rd&&(f.value=Cl,f.value=f.factory()),"object"==typeof f.value&&f.value&&function aC(l){return null!==l&&"object"==typeof l&&"function"==typeof l.ngOnDestroy}(f.value)&&this.onDestroy.add(f.value),f.value}injectableDefInScope(u){if(!u.providedIn)return!1;const f=J(u.providedIn);return"string"==typeof f?"any"===f||f===this.scope:this.injectorDefTypes.has(f)}}function cg(l){const u=qi(l),f=null!==u?u.factory:Ln(l);if(null!==f)return f;if(l instanceof Mi)throw new ee(204,!1);if(l instanceof Function)return function iC(l){const u=l.length;if(u>0)throw ra(u,"?"),new ee(204,!1);const f=function Br(l){const u=l&&(l[Mo]||l[So]);if(u){const f=function Yr(l){if(l.hasOwnProperty("name"))return l.name;const u=(""+l).match(/^function\s*([^\s(]+)/);return null===u?"":u[1]}(l);return console.warn(`DEPRECATED: DI is instantiating a token "${f}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${f}" class.`),u}return null}(l);return null!==f?()=>f.factory(l):()=>new l}(l);throw new ee(204,!1)}function Hy(l,u,f){let p;if(Tl(l)){const m=J(l);return Ln(m)||cg(m)}if(lg(l))p=()=>J(l.useValue);else if(function oC(l){return!(!l||!l.useFactory)}(l))p=()=>l.useFactory(...gl(l.deps||[]));else if(function sC(l){return!(!l||!l.useExisting)}(l))p=()=>tn(J(l.useExisting));else{const m=J(l&&(l.useClass||l.provide));if(!function ug(l){return!!l.deps}(l))return Ln(m)||cg(m);p=()=>new m(...gl(l.deps))}return p}function mc(l,u,f=!1){return{factory:l,value:u,multi:f?[]:void 0}}function lg(l){return null!==l&&"object"==typeof l&&Sp in l}function Tl(l){return"function"==typeof l}let fo=(()=>{class l{static create(f,p){var m;if(Array.isArray(f))return Iy({name:""},p,f,"");{const y=null!==(m=f.name)&&void 0!==m?m:"";return Iy({name:y},f.parent,f.providers,y)}}}return l.THROW_IF_NOT_FOUND=aa,l.NULL=new ag,l.\u0275prov=ri({token:l,providedIn:"any",factory:()=>tn(od)}),l.__NG_ELEMENT_ID__=-1,l})();function ni(l,u){zo(pa(l)[1],Li())}function Bh(l){let u=function pg(l){return Object.getPrototypeOf(l.prototype).constructor}(l.type),f=!0;const p=[l];for(;u;){let m;if(Kn(l))m=u.\u0275cmp||u.\u0275dir;else{if(u.\u0275cmp)throw new ee(903,"");m=u.\u0275dir}if(m){if(f){p.push(m);const M=l;M.inputs=yt(l.inputs),M.declaredInputs=yt(l.declaredInputs),M.outputs=yt(l.outputs);const k=m.hostBindings;k&&fS(l,k);const x=m.viewQuery,z=m.contentQueries;if(x&&_c(l,x),z&&ht(l,z),R(l.inputs,m.inputs),R(l.declaredInputs,m.declaredInputs),R(l.outputs,m.outputs),Kn(m)&&m.data.animation){const j=l.data;j.animation=(j.animation||[]).concat(m.data.animation)}}const y=m.features;if(y)for(let M=0;M=0;p--){const m=l[p];m.hostVars=u+=m.hostVars,m.hostAttrs=$r(m.hostAttrs,f=$r(f,m.hostAttrs))}}(p)}function yt(l){return l===it?{}:l===Ue?[]:l}function _c(l,u){const f=l.viewQuery;l.viewQuery=f?(p,m)=>{u(p,m),f(p,m)}:u}function ht(l,u){const f=l.contentQueries;l.contentQueries=f?(p,m,y)=>{u(p,m,y),f(p,m,y)}:u}function fS(l,u){const f=l.hostBindings;l.hostBindings=f?(p,m)=>{u(p,m),f(p,m)}:u}let gg=null;function yc(){if(!gg){const l=kt.Symbol;if(l&&l.iterator)gg=l.iterator;else{const u=Object.getOwnPropertyNames(Map.prototype);for(let f=0;fk(O(Bt[p.index])):p.index;if(Jt(f)){let Bt=null;if(!k&&x&&(Bt=function yS(l,u,f,p){const m=l.cleanup;if(null!=m)for(let y=0;yx?k[x]:null}"string"==typeof M&&(y+=2)}return null}(l,u,m,p.index)),null!==Bt)(Bt.__ngLastListenerFn__||Bt).__ngNextListenerFn__=y,Bt.__ngLastListenerFn__=y,le=!1;else{y=Rg(p,u,Q,y,!1);const si=f.listen($e,m,y);ie.push(y,si),j&&j.push(m,tt,Ce,Ce+1)}}else y=Rg(p,u,Q,y,!0),$e.addEventListener(m,y,M),ie.push(y),j&&j.push(m,tt,Ce,M)}else y=Rg(p,u,Q,y,!1);const ye=p.outputs;let Pe;if(le&&null!==ye&&(Pe=ye[m])){const Be=Pe.length;if(Be)for(let $e=0;$e0;)u=u[15],l--;return u}(l,et.lFrame.contextLView))[8]}(l)}function Lg(l,u){let f=null;const p=function FM(l){const u=l.attrs;if(null!=u){const f=u.indexOf(5);if(0==(1&f))return u[f+1]}return null}(l);for(let m=0;m=0}const ln={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Cs(l){return l.substring(ln.key,ln.keyEnd)}function nf(l,u){const f=ln.textEnd;return f===u?-1:(u=ln.keyEnd=function EC(l,u,f){for(;u32;)u++;return u}(l,ln.key=u,f),Hl(l,u,f))}function Hl(l,u,f){for(;u=0;f=nf(u,f))Wn(l,Cs(u),!0)}function Us(l,u,f,p){const m=Te(),y=Et(),M=In(2);y.firstUpdatePass&&Cb(y,l,M,p),u!==Mt&&wn(m,M,u)&&qg(y,y.data[en()],m,m[11],l,m[M+1]=function IC(l,u){return null==l||("string"==typeof u?l+=u:"object"==typeof l&&(l=H(Bs(l)))),l}(u,f),p,M)}function us(l,u,f,p){const m=Et(),y=In(2);m.firstUpdatePass&&Cb(m,null,y,p);const M=Te();if(f!==Mt&&wn(M,y,f)){const k=m.data[en()];if(Sb(k,p)&&!vb(m,y)){let x=p?k.classesWithoutHost:k.stylesWithoutHost;null!==x&&(f=B(x,f||"")),Il(m,k,M,f,p)}else!function af(l,u,f,p,m,y,M,k){m===Mt&&(m=Ue);let x=0,z=0,j=0=l.expandoStartIndex}function Cb(l,u,f,p){const m=l.data;if(null===m[f+1]){const y=m[en()],M=vb(l,f);Sb(y,p)&&null===u&&!M&&(u=!1),u=function jg(l,u,f,p){const m=Oo(l);let y=p?u.residualClasses:u.residualStyles;if(null===m)0===(p?u.classBindings:u.styleBindings)&&(f=bd(f=Ug(null,l,u,f,p),u.attrs,p),y=null);else{const M=u.directiveStylingLast;if(-1===M||l[M]!==m)if(f=Ug(m,l,u,f,p),null===y){let x=function RC(l,u,f){const p=f?u.classBindings:u.styleBindings;if(0!==_a(p))return l[$o(p)]}(l,u,p);void 0!==x&&Array.isArray(x)&&(x=Ug(null,l,u,x[1],p),x=bd(x,u.attrs,p),function Tb(l,u,f,p){l[$o(f?u.classBindings:u.styleBindings)]=p}(l,u,p,x))}else y=function PC(l,u,f){let p;const m=u.directiveEnd;for(let y=1+u.directiveStylingLast;y0)&&(z=!0)}else j=f;if(m)if(0!==x){const ie=$o(l[k+1]);l[p+1]=Up(ie,k),0!==ie&&(l[ie+1]=sy(l[ie+1],p)),l[k+1]=function UM(l,u){return 131071&l|u<<17}(l[k+1],p)}else l[p+1]=Up(k,0),0!==k&&(l[k+1]=sy(l[k+1],p)),k=p;else l[p+1]=Up(x,0),0===k?k=p:l[x+1]=sy(l[x+1],p),x=p;z&&(l[p+1]=ny(l[p+1])),_b(l,j,p,!0),_b(l,j,p,!1),function SC(l,u,f,p,m){const y=m?l.residualClasses:l.residualStyles;null!=y&&"string"==typeof u&&Tr(y,u)>=0&&(f[p+1]=oy(f[p+1]))}(u,j,l,p,y),M=Up(k,x),y?u.classBindings=M:u.styleBindings=M}(m,y,u,f,M,p)}}function Ug(l,u,f,p,m){let y=null;const M=f.directiveEnd;let k=f.directiveStylingLast;for(-1===k?k=f.directiveStart:k++;k0;){const x=l[m],z=Array.isArray(x),j=z?x[1]:x,Q=null===j;let ie=f[m+1];ie===Mt&&(ie=Q?Ue:void 0);let le=Q?sc(ie,p):j===p?ie:void 0;if(z&&!wd(le)&&(le=sc(x,p)),wd(le)&&(k=le,M))return k;const ye=l[m+1];m=M?$o(ye):_a(ye)}if(null!==u){let x=y?u.residualClasses:u.residualStyles;null!=x&&(k=sc(x,p))}return k}function wd(l){return void 0!==l}function Sb(l,u){return 0!=(l.flags&(u?16:32))}function kb(l,u=""){const f=Te(),p=Et(),m=l+20,y=p.firstCreatePass?Ju(p,m,1,u,null):p.data[m],M=f[m]=function Ko(l,u){return Jt(l)?l.createText(u):l.createTextNode(u)}(f[11],u);vl(p,f,M,y),Is(y,!1)}function Gg(l){return cf("",l,""),Gg}function cf(l,u,f){const p=Te(),m=bc(p,l,u,f);return m!==Mt&&ba(p,en(),m),cf}function Kg(l,u,f,p,m){const y=Te(),M=function dd(l,u,f,p,m,y){const k=Rr(l,so(),f,m);return In(2),k?u+de(f)+p+de(m)+y:Mt}(y,l,u,f,p,m);return M!==Mt&&ba(y,en(),M),Kg}function lf(l,u,f,p,m,y,M,k,x,z,j){const Q=Te(),ie=wc(Q,l,u,f,p,m,y,M,k,x,z,j);return ie!==Mt&&ba(Q,en(),ie),lf}function FC(l,u,f){us(Wn,er,bc(Te(),l,u,f),!0)}function Qg(l,u,f){const p=Te();return wn(p,gr(),u)&&as(Et(),_i(),p,l,u,p[11],f,!0),Qg}function df(l,u,f){const p=Te();if(wn(p,gr(),u)){const y=Et(),M=_i();as(y,M,p,l,u,xy(Oo(y.data),M,p),f,!0)}return df}const zl=void 0;var Ib=["en",[["a","p"],["AM","PM"],zl],[["AM","PM"],zl,zl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],zl,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],zl,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",zl,"{1} 'at' {0}",zl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Ma(l){const f=Math.floor(Math.abs(l)),p=l.toString().replace(/^[^.]*\.?/,"").length;return 1===f&&0===p?1:5}];let Tc={};function Nl(l){const u=function Fb(l){return l.toLowerCase().replace(/_/g,"-")}(l);let f=Ob(u);if(f)return f;const p=u.split("-")[0];if(f=Ob(p),f)return f;if("en"===p)return Ib;throw new Error(`Missing locale data for the locale "${l}".`)}function Xg(l){return Nl(l)[st.PluralCase]}function Ob(l){return l in Tc||(Tc[l]=kt.ng&&kt.ng.common&&kt.ng.common.locales&&kt.ng.common.locales[l]),Tc[l]}var st=(()=>((st=st||{})[st.LocaleId=0]="LocaleId",st[st.DayPeriodsFormat=1]="DayPeriodsFormat",st[st.DayPeriodsStandalone=2]="DayPeriodsStandalone",st[st.DaysFormat=3]="DaysFormat",st[st.DaysStandalone=4]="DaysStandalone",st[st.MonthsFormat=5]="MonthsFormat",st[st.MonthsStandalone=6]="MonthsStandalone",st[st.Eras=7]="Eras",st[st.FirstDayOfWeek=8]="FirstDayOfWeek",st[st.WeekendRange=9]="WeekendRange",st[st.DateFormat=10]="DateFormat",st[st.TimeFormat=11]="TimeFormat",st[st.DateTimeFormat=12]="DateTimeFormat",st[st.NumberSymbols=13]="NumberSymbols",st[st.NumberFormats=14]="NumberFormats",st[st.CurrencyCode=15]="CurrencyCode",st[st.CurrencySymbol=16]="CurrencySymbol",st[st.CurrencyName=17]="CurrencyName",st[st.Currencies=18]="Currencies",st[st.Directionality=19]="Directionality",st[st.PluralCase=20]="PluralCase",st[st.ExtraData=21]="ExtraData",st))();const ff="en-US";let em=ff;function pm(l,u,f,p,m){if(l=J(l),Array.isArray(l))for(let y=0;y>20;if(Tl(l)||!l.multi){const le=new br(x,m,go),ye=tw(k,u,m?j:j+ie,Q);-1===ye?(ec(Ar(z,M),y,k),gm(y,l,u.length),u.push(k),z.directiveStart++,z.directiveEnd++,m&&(z.providerIndexes+=1048576),f.push(le),M.push(le)):(f[ye]=le,M[ye]=le)}else{const le=tw(k,u,j+ie,Q),ye=tw(k,u,j,j+ie),Pe=le>=0&&f[le],Be=ye>=0&&f[ye];if(m&&!Be||!m&&!Pe){ec(Ar(z,M),y,k);const $e=function gT(l,u,f,p,m){const y=new br(l,f,go);return y.multi=[],y.index=u,y.componentProviders=0,zt(y,m,p&&!f),y}(m?pT:ir,f.length,m,p,x);!m&&Be&&(f[ye].providerFactory=$e),gm(y,l,u.length,0),u.push(k),z.directiveStart++,z.directiveEnd++,m&&(z.providerIndexes+=1048576),f.push($e),M.push($e)}else gm(y,l,le>-1?le:ye,zt(f[m?ye:le],x,!m&&p));!m&&p&&Be&&f[ye].componentProviders++}}}function gm(l,u,f,p){const m=Tl(u),y=function rC(l){return!!l.useClass}(u);if(m||y){const x=(y?J(u.useClass):u).prototype.ngOnDestroy;if(x){const z=l.destroyHooks||(l.destroyHooks=[]);if(!m&&u.multi){const j=z.indexOf(f);-1===j?z.push(f,[p,x]):z[j+1].push(p,x)}else z.push(f,x)}}}function zt(l,u,f){return f&&l.componentProviders++,l.multi.push(u)-1}function tw(l,u,f,p){for(let m=f;m{f.providersResolver=(p,m)=>function fT(l,u,f){const p=Et();if(p.firstCreatePass){const m=Kn(l);pm(f,p.data,p.blueprint,m,!0),pm(u,p.data,p.blueprint,m,!1)}}(p,m?m(l):l,u)}}class nw{}class yT{resolveComponentFactory(u){throw function _T(l){const u=Error(`No component factory found for ${H(l)}. Did you add it to @NgModule.entryComponents?`);return u.ngComponent=l,u}(u)}}let Cd=(()=>{class l{}return l.NULL=new yT,l})();function bT(){return Vl(Li(),Te())}function Vl(l,u){return new Td(Ae(l,u))}let Td=(()=>{class l{constructor(f){this.nativeElement=f}}return l.__NG_ELEMENT_ID__=bT,l})();function wT(l){return l instanceof Td?l.nativeElement:l}class ow{}let rw=(()=>{class l{}return l.__NG_ELEMENT_ID__=()=>function AT(){const l=Te(),f=bt(Li().index,l);return function ka(l){return l[11]}(Cn(f)?f:l)}(),l})(),Md=(()=>{class l{}return l.\u0275prov=ri({token:l,providedIn:"root",factory:()=>null}),l})();class vT{constructor(u){this.full=u,this.major=u.split(".")[0],this.minor=u.split(".")[1],this.patch=u.split(".").slice(2).join(".")}}const RS=new vT("13.2.2"),aw={};function Cf(l,u,f,p,m=!1){for(;null!==f;){const y=u[f.index];if(null!==y&&p.push(O(y)),Gn(y))for(let k=10;k-1&&(ey(u,p),Bo(f,p))}this._attachedToViewContainer=!1}Ci(this._lView[1],this._lView)}onDestroy(u){my(this._lView[1],this._lView,null,u)}markForCheck(){gc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){sg(this._lView[1],this._lView,this.context)}checkNoChanges(){!function Jv(l,u,f){Ui(!0);try{sg(l,u,f)}finally{Ui(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ee(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function fv(l,u){ws(l,u,u[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(u){if(this._attachedToViewContainer)throw new ee(902,"");this._appRef=u}}class CT extends ql{constructor(u){super(u),this._view=u}detectChanges(){ya(this._view)}checkNoChanges(){!function Qv(l){Ui(!0);try{ya(l)}finally{Ui(!1)}}(this._view)}get context(){return null}}class bo extends Cd{constructor(u){super(),this.ngModule=u}resolveComponentFactory(u){const f=Wi(u);return new Sd(f,this.ngModule)}}function cw(l){const u=[];for(let f in l)l.hasOwnProperty(f)&&u.push({propName:l[f],templateName:f});return u}const PS=new Mi("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>ov});class Sd extends nw{constructor(u,f){super(),this.componentDef=u,this.ngModule=f,this.componentType=u.type,this.selector=function YM(l){return l.map(BM).join(",")}(u.selectors),this.ngContentSelectors=u.ngContentSelectors?u.ngContentSelectors:[],this.isBoundToModule=!!f}get inputs(){return cw(this.componentDef.inputs)}get outputs(){return cw(this.componentDef.outputs)}create(u,f,p,m){const y=(m=m||this.ngModule)?function lw(l,u){return{get:(f,p,m)=>{const y=l.get(f,aw,m);return y!==aw||p===aw?y:u.get(f,p,m)}}}(u,m.injector):u,M=y.get(ow,L),k=y.get(Md,null),x=M.createRenderer(null,this.componentDef),z=this.componentDef.selectors[0][0]||"div",j=p?function $p(l,u,f){if(Jt(l))return l.selectRootElement(u,f===Oe.ShadowDom);let p="string"==typeof u?l.querySelector(u):u;return p.textContent="",p}(x,p,this.componentDef.encapsulation):X_(M.createRenderer(null,this.componentDef),z,function TT(l){const u=l.toLowerCase();return"svg"===u?"svg":"math"===u?"math":null}(z)),Q=this.componentDef.onPush?576:528,ie=function Jo(l,u){return{components:[],scheduler:l||ov,clean:og,playerHandler:u||null,flags:0}}(),le=Zp(0,null,null,1,0,null,null,null,null,null),ye=Lh(null,le,ie,Q,null,null,M,x,k,y);let Pe,Be;ns(ye);try{const $e=function fg(l,u,f,p,m,y){const M=f[1];f[20]=l;const x=Ju(M,20,2,"#host",null),z=x.mergedAttrs=u.hostAttrs;null!==z&&(sd(x,z,!0),null!==l&&(tl(m,l,z),null!==x.classes&&iy(m,l,x.classes),null!==x.styles&&ty(m,l,x.styles)));const j=p.createRenderer(l,u),Q=Lh(f,Vv(u),null,u.onPush?64:16,f[20],x,p,j,y||null,null);return M.firstCreatePass&&(ec(Ar(x,f),M,u.type),Xp(M,x),Ty(x,f.length,1)),td(f,Q),f[20]=Q}(j,this.componentDef,ye,M,x);if(j)if(p)tl(x,j,["ng-version",RS.full]);else{const{attrs:Ce,classes:tt}=function jM(l){const u=[],f=[];let p=1,m=2;for(;p0&&iy(x,j,tt.join(" "))}if(Be=Zt(le,20),void 0!==f){const Ce=Be.projection=[];for(let tt=0;ttx(M,u)),u.contentQueries){const x=Li();u.contentQueries(1,M,x.directiveStart)}const k=Li();return!y.firstCreatePass||null===u.hostBindings&&null===u.hostAttrs||(Fo(k.index),wy(f[1],k,0,k.directiveStart,k.directiveEnd,u),Qp(u,M)),M}($e,this.componentDef,ye,ie,[ni]),Ih(le,ye,null)}finally{_r()}return new dw(this.componentType,Pe,Vl(Be,ye),ye,Be)}}class dw extends class mT{}{constructor(u,f,p,m,y){super(),this.location=p,this._rootLView=m,this._tNode=y,this.instance=f,this.hostView=this.changeDetectorRef=new CT(m),this.componentType=u}get injector(){return new $n(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(u){this.hostView.onDestroy(u)}}class Gl{}class kd{}const un=new Map;class zi extends Gl{constructor(u,f){super(),this._parent=f,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new bo(this);const p=ut(u);this._bootstrapComponents=rs(p.bootstrap),this._r3Injector=Oy(u,f,[{provide:Gl,useValue:this},{provide:Cd,useValue:this.componentFactoryResolver}],H(u)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(u)}get(u,f=fo.THROW_IF_NOT_FOUND,p=lt.Default){return u===fo||u===Gl||u===od?this:this._r3Injector.get(u,f,p)}destroy(){const u=this._r3Injector;!u.destroyed&&u.destroy(),this.destroyCbs.forEach(f=>f()),this.destroyCbs=null}onDestroy(u){this.destroyCbs.push(u)}}class fw extends kd{constructor(u){super(),this.moduleType=u,null!==ut(u)&&function Tf(l){const u=new Set;!function f(p){const m=ut(p,!0),y=m.id;null!==y&&(function hw(l,u,f){if(u&&u!==f)throw new Error(`Duplicate module registered for ${l} - ${H(u)} vs ${H(u.name)}`)}(y,un.get(y),p),un.set(y,p));const M=rs(m.imports);for(const k of M)u.has(k)||(u.add(k),f(k))}(l)}(u)}create(u){return new zi(this.moduleType,u)}}function Mf(l,u,f){const p=fi()+l,m=Te();return m[p]===Mt?kn(m,p,f?u.call(f):u()):function El(l,u){return l[u]}(m,p)}function Zl(l,u,f,p){return Lr(Te(),fi(),l,u,f,p)}function ym(l,u,f,p,m){return bm(Te(),fi(),l,u,f,p,m)}function An(l,u){const f=l[u];return f===Mt?void 0:f}function Lr(l,u,f,p,m,y){const M=u+f;return wn(l,M,m)?kn(l,M+1,y?p.call(y,m):p(m)):An(l,M+1)}function bm(l,u,f,p,m,y,M){const k=u+f;return Rr(l,k,m,y)?kn(l,k+2,M?p.call(M,m,y):p(m,y)):An(l,k+2)}function dn(l,u,f,p,m,y,M,k){const x=u+f;return function Dl(l,u,f,p,m){const y=Rr(l,u,f,p);return wn(l,u+2,m)||y}(l,x,m,y,M)?kn(l,x+3,k?p.call(k,m,y,M):p(m,y,M)):An(l,x+3)}function Ni(l,u){const f=Et();let p;const m=l+20;f.firstCreatePass?(p=function mw(l,u){if(u)for(let f=u.length-1;f>=0;f--){const p=u[f];if(l===p.name)return p}}(u,f.pipeRegistry),f.data[m]=p,p.onDestroy&&(f.destroyHooks||(f.destroyHooks=[])).push(m,p.onDestroy)):p=f.data[m];const y=p.factory||(p.factory=Ln(p.type)),M=Wt(go);try{const k=nl(!1),x=y();return nl(k),function Ky(l,u,f,p){f>=l.data.length&&(l.data[f]=null,l.blueprint[f]=null),u[f]=p}(f,Te(),m,x),x}finally{Wt(M)}}function wm(l,u,f){const p=l+20,m=Te(),y=It(m,p);return $l(m,p)?Lr(m,fi(),u,y.transform,f,y):y.transform(f)}function Am(l,u,f,p){const m=l+20,y=Te(),M=It(y,m);return $l(y,m)?bm(y,fi(),u,M.transform,f,p,M):M.transform(f,p)}function vm(l,u,f,p,m){const y=l+20,M=Te(),k=It(M,y);return $l(M,y)?dn(M,fi(),u,k.transform,f,p,m,k):k.transform(f,p,m)}function $l(l,u){return l[1].data[u].pure}function Wl(l){return u=>{setTimeout(l,void 0,u)}}const wo=class bw extends b.xQ{constructor(u=!1){super(),this.__isAsync=u}emit(u){super.next(u)}subscribe(u,f,p){var m,y,M;let k=u,x=f||(()=>null),z=p;if(u&&"object"==typeof u){const Q=u;k=null===(m=Q.next)||void 0===m?void 0:m.bind(Q),x=null===(y=Q.error)||void 0===y?void 0:y.bind(Q),z=null===(M=Q.complete)||void 0===M?void 0:M.bind(Q)}this.__isAsync&&(x=Wl(x),k&&(k=Wl(k)),z&&(z=Wl(z)));const j=super.subscribe({next:k,error:x,complete:z});return u instanceof i.w&&u.add(j),j}};function ww(){return this._results[yc()]()}class Ed{constructor(u=!1){this._emitDistinctChangesOnly=u,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const f=yc(),p=Ed.prototype;p[f]||(p[f]=ww)}get changes(){return this._changes||(this._changes=new wo)}get(u){return this._results[u]}map(u){return this._results.map(u)}filter(u){return this._results.filter(u)}find(u){return this._results.find(u)}reduce(u,f){return this._results.reduce(u,f)}forEach(u){this._results.forEach(u)}some(u){return this._results.some(u)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(u,f){const p=this;p.dirty=!1;const m=Tn(u);(this._changesDetected=!function vp(l,u,f){if(l.length!==u.length)return!1;for(let p=0;p{class l{}return l.__NG_ELEMENT_ID__=vw,l})();const RT=Jl,Aw=class extends RT{constructor(u,f,p){super(),this._declarationLView=u,this._declarationTContainer=f,this.elementRef=p}createEmbeddedView(u){const f=this._declarationTContainer.tViews,p=Lh(this._declarationLView,f,u,16,null,f.declTNode,null,null,null,null);p[17]=this._declarationLView[this._declarationTContainer.index];const y=this._declarationLView[19];return null!==y&&(p[19]=y.createEmbeddedView(f)),Ih(f,p,u),new ql(p)}};function vw(){return Ql(Li(),Te())}function Ql(l,u){return 4&l.type?new Aw(u,l,Vl(l,u)):null}let Dd=(()=>{class l{}return l.__NG_ELEMENT_ID__=Cm,l})();function Cm(){return Rd(Li(),Te())}const Cw=Dd,Tm=class extends Cw{constructor(u,f,p){super(),this._lContainer=u,this._hostTNode=f,this._hostLView=p}get element(){return Vl(this._hostTNode,this._hostLView)}get injector(){return new $n(this._hostTNode,this._hostLView)}get parentInjector(){const u=vr(this._hostTNode,this._hostLView);if(wr(u)){const f=Fs(u,this._hostLView),p=No(u);return new $n(f[1].data[p+8],f)}return new $n(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(u){const f=Mm(this._lContainer);return null!==f&&f[u]||null}get length(){return this._lContainer.length-10}createEmbeddedView(u,f,p){const m=u.createEmbeddedView(f||{});return this.insert(m,p),m}createComponent(u,f,p,m,y){const M=u&&!function nc(l){return"function"==typeof l}(u);let k;if(M)k=f;else{const Q=f||{};k=Q.index,p=Q.injector,m=Q.projectableNodes,y=Q.ngModuleRef}const x=M?u:new Sd(Wi(u)),z=p||this.parentInjector;if(!y&&null==x.ngModule&&z){const Q=z.get(Gl,null);Q&&(y=Q)}const j=x.create(z,m,void 0,y);return this.insert(j.hostView,k),j}insert(u,f){const p=u._lView,m=p[1];if(function hi(l){return Gn(l[3])}(p)){const j=this.indexOf(u);if(-1!==j)this.detach(j);else{const Q=p[3],ie=new Tm(Q,Q[6],Q[3]);ie.detach(ie.indexOf(u))}}const y=this._adjustIndex(f),M=this._lContainer;!function Er(l,u,f,p){const m=10+p,y=f.length;p>0&&(f[m-1][4]=u),p0)p.push(M[k/2]);else{const z=y[k+1],j=u[-x];for(let Q=10;Q{class l{constructor(f){this.appInits=f,this.resolve=If,this.reject=If,this.initialized=!1,this.done=!1,this.donePromise=new Promise((p,m)=>{this.resolve=p,this.reject=m})}runInitializers(){if(this.initialized)return;const f=[],p=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let m=0;m{y.subscribe({complete:k,error:x})});f.push(M)}}Promise.all(f).then(()=>{p()}).catch(m=>{this.reject(m)}),0===f.length&&p(),this.initialized=!0}}return l.\u0275fac=function(f){return new(f||l)(tn(Da,8))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();const Bw=new Mi("AppId"),GT={provide:Bw,useFactory:function Yw(){return`${jw()}${jw()}${jw()}`},deps:[]};function jw(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const jm=new Mi("Platform Initializer"),Uw=new Mi("Platform ID"),Um=new Mi("appBootstrapListener");let Vm=(()=>{class l{log(f){console.log(f)}warn(f){console.warn(f)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();const su=new Mi("LocaleId"),Vw=new Mi("DefaultCurrencyCode");class KT{constructor(u,f){this.ngModuleFactory=u,this.componentFactories=f}}let zd=(()=>{class l{compileModuleSync(f){return new fw(f)}compileModuleAsync(f){return Promise.resolve(this.compileModuleSync(f))}compileModuleAndAllComponentsSync(f){const p=this.compileModuleSync(f),y=rs(ut(f).declarations).reduce((M,k)=>{const x=Wi(k);return x&&M.push(new Sd(x)),M},[]);return new KT(p,y)}compileModuleAndAllComponentsAsync(f){return Promise.resolve(this.compileModuleAndAllComponentsSync(f))}clearCache(){}clearCacheFor(f){}getModuleId(f){}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();const Gw=(()=>Promise.resolve(0))();function qm(l){"undefined"==typeof Zone?Gw.then(()=>{l&&l.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",l)}class ks{constructor({enableLongStackTrace:u=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:p=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new wo(!1),this.onMicrotaskEmpty=new wo(!1),this.onStable=new wo(!1),this.onError=new wo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),u&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!p&&f,m.shouldCoalesceRunChangeDetection=p,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function Gm(){let l=kt.requestAnimationFrame,u=kt.cancelAnimationFrame;if("undefined"!=typeof Zone&&l&&u){const f=l[Zone.__symbol__("OriginalDelegate")];f&&(l=f);const p=u[Zone.__symbol__("OriginalDelegate")];p&&(u=p)}return{nativeRequestAnimationFrame:l,nativeCancelAnimationFrame:u}}().nativeRequestAnimationFrame,function $T(l){const u=()=>{!function Zm(l){l.isCheckStableRunning||-1!==l.lastRequestAnimationFrameId||(l.lastRequestAnimationFrameId=l.nativeRequestAnimationFrame.call(kt,()=>{l.fakeTopEventTask||(l.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{l.lastRequestAnimationFrameId=-1,$m(l),l.isCheckStableRunning=!0,Km(l),l.isCheckStableRunning=!1},void 0,()=>{},()=>{})),l.fakeTopEventTask.invoke()}),$m(l))}(l)};l._inner=l._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(f,p,m,y,M,k)=>{try{return Wm(l),f.invokeTask(m,y,M,k)}finally{(l.shouldCoalesceEventChangeDetection&&"eventTask"===y.type||l.shouldCoalesceRunChangeDetection)&&u(),Zw(l)}},onInvoke:(f,p,m,y,M,k,x)=>{try{return Wm(l),f.invoke(m,y,M,k,x)}finally{l.shouldCoalesceRunChangeDetection&&u(),Zw(l)}},onHasTask:(f,p,m,y)=>{f.hasTask(m,y),p===m&&("microTask"==y.change?(l._hasPendingMicrotasks=y.microTask,$m(l),Km(l)):"macroTask"==y.change&&(l.hasPendingMacrotasks=y.macroTask))},onHandleError:(f,p,m,y)=>(f.handleError(m,y),l.runOutsideAngular(()=>l.onError.emit(y)),!1)})}(m)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ks.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ks.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(u,f,p){return this._inner.run(u,f,p)}runTask(u,f,p,m){const y=this._inner,M=y.scheduleEventTask("NgZoneEvent: "+m,u,Kw,If,If);try{return y.runTask(M,f,p)}finally{y.cancelTask(M)}}runGuarded(u,f,p){return this._inner.runGuarded(u,f,p)}runOutsideAngular(u){return this._outer.run(u)}}const Kw={};function Km(l){if(0==l._nesting&&!l.hasPendingMicrotasks&&!l.isStable)try{l._nesting++,l.onMicrotaskEmpty.emit(null)}finally{if(l._nesting--,!l.hasPendingMicrotasks)try{l.runOutsideAngular(()=>l.onStable.emit(null))}finally{l.isStable=!0}}}function $m(l){l.hasPendingMicrotasks=!!(l._hasPendingMicrotasks||(l.shouldCoalesceEventChangeDetection||l.shouldCoalesceRunChangeDetection)&&-1!==l.lastRequestAnimationFrameId)}function Wm(l){l._nesting++,l.isStable&&(l.isStable=!1,l.onUnstable.emit(null))}function Zw(l){l._nesting--,Km(l)}class NS{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new wo,this.onMicrotaskEmpty=new wo,this.onStable=new wo,this.onError=new wo}run(u,f,p){return u.apply(f,p)}runGuarded(u,f,p){return u.apply(f,p)}runOutsideAngular(u){return u()}runTask(u,f,p,m){return u.apply(f,p)}}let Of=(()=>{class l{constructor(f){this._ngZone=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),f.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ks.assertNotInAngularZone(),qm(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())qm(()=>{for(;0!==this._callbacks.length;){let f=this._callbacks.pop();clearTimeout(f.timeoutId),f.doneCb(this._didWork)}this._didWork=!1});else{let f=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(f)||(clearTimeout(p.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(f=>({source:f.source,creationLocation:f.creationLocation,data:f.data})):[]}addCallback(f,p,m){let y=-1;p&&p>0&&(y=setTimeout(()=>{this._callbacks=this._callbacks.filter(M=>M.timeoutId!==y),f(this._didWork,this.getPendingTasks())},p)),this._callbacks.push({doneCb:f,timeoutId:y,updateCb:m})}whenStable(f,p,m){if(m&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(f,p,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(f,p,m){return[]}}return l.\u0275fac=function(f){return new(f||l)(tn(ks))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})(),$w=(()=>{class l{constructor(){this._applications=new Map,Hf.addToWindow(this)}registerApplication(f,p){this._applications.set(f,p)}unregisterApplication(f){this._applications.delete(f)}unregisterAllApplications(){this._applications.clear()}getTestability(f){return this._applications.get(f)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(f,p=!0){return Hf.findTestabilityInTree(this,f,p)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();class Ww{addToWindow(u){}findTestabilityInTree(u,f,p){return null}}function WT(l){Hf=l}let Dn,Hf=new Ww;const Jm=new Mi("AllowMultipleToken");class e0{constructor(u,f){this.name=u,this.token=f}}function sr(l,u,f=[]){const p=`Platform: ${u}`,m=new Mi(p);return(y=[])=>{let M=Xm();if(!M||M.injector.get(Jm,!1))if(l)l(f.concat(y).concat({provide:m,useValue:!0}));else{const k=f.concat(y).concat({provide:m,useValue:!0},{provide:zh,useValue:"platform"});!function t0(l){if(Dn&&!Dn.destroyed&&!Dn.injector.get(Jm,!1))throw new ee(400,"");Dn=l.get(Jw);const u=l.get(jm,null);u&&u.forEach(f=>f())}(fo.create({providers:k,name:p}))}return function Qm(l){const u=Xm();if(!u)throw new ee(401,"");return u}()}}function Xm(){return Dn&&!Dn.destroyed?Dn:null}let Jw=(()=>{class l{constructor(f){this._injector=f,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(f,p){const k=function Qw(l,u){let f;return f="noop"===l?new NS:("zone.js"===l?void 0:l)||new ks({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==u?void 0:u.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==u?void 0:u.ngZoneRunCoalescing)}),f}(p?p.ngZone:void 0,{ngZoneEventCoalescing:p&&p.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:p&&p.ngZoneRunCoalescing||!1}),x=[{provide:ks,useValue:k}];return k.run(()=>{const z=fo.create({providers:x,parent:this.injector,name:f.moduleType.name}),j=f.create(z),Q=j.injector.get(cc,null);if(!Q)throw new ee(402,"");return k.runOutsideAngular(()=>{const ie=k.onError.subscribe({next:le=>{Q.handleError(le)}});j.onDestroy(()=>{Ff(this._modules,j),ie.unsubscribe()})}),function n0(l,u,f){try{const p=f();return Dg(p)?p.catch(m=>{throw u.runOutsideAngular(()=>l.handleError(m)),m}):p}catch(p){throw u.runOutsideAngular(()=>l.handleError(p)),p}}(Q,k,()=>{const ie=j.injector.get(Dc);return ie.runInitializers(),ie.donePromise.then(()=>(function TS(l){Xe(l,"Expected localeId to be defined"),"string"==typeof l&&(em=l.toLowerCase().replace(/_/g,"-"))}(j.injector.get(su,ff)||ff),this._moduleDoBootstrap(j),j))})})}bootstrapModule(f,p=[]){const m=e_({},p);return function JT(l,u,f){const p=new fw(f);return Promise.resolve(p)}(0,0,f).then(y=>this.bootstrapModuleFactory(y,m))}_moduleDoBootstrap(f){const p=f.injector.get(Nd);if(f._bootstrapComponents.length>0)f._bootstrapComponents.forEach(m=>p.bootstrap(m));else{if(!f.instance.ngDoBootstrap)throw new ee(403,"");f.instance.ngDoBootstrap(p)}this._modules.push(f)}onDestroy(f){this._destroyListeners.push(f)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ee(404,"");this._modules.slice().forEach(f=>f.destroy()),this._destroyListeners.forEach(f=>f()),this._destroyed=!0}get destroyed(){return this._destroyed}}return l.\u0275fac=function(f){return new(f||l)(tn(fo))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();function e_(l,u){return Array.isArray(u)?u.reduce(e_,l):Object.assign(Object.assign({},l),u)}let Nd=(()=>{class l{constructor(f,p,m,y,M){this._zone=f,this._injector=p,this._exceptionHandler=m,this._componentFactoryResolver=y,this._initStatus=M,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const k=new T.y(z=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{z.next(this._stable),z.complete()})}),x=new T.y(z=>{let j;this._zone.runOutsideAngular(()=>{j=this._zone.onStable.subscribe(()=>{ks.assertNotInAngularZone(),qm(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,z.next(!0))})})});const Q=this._zone.onUnstable.subscribe(()=>{ks.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{z.next(!1)}))});return()=>{j.unsubscribe(),Q.unsubscribe()}});this.isStable=(0,v.T)(k,x.pipe((0,C.B)()))}bootstrap(f,p){if(!this._initStatus.done)throw new ee(405,"");let m;m=f instanceof nw?f:this._componentFactoryResolver.resolveComponentFactory(f),this.componentTypes.push(m.componentType);const y=function XT(l){return l.isBoundToModule}(m)?void 0:this._injector.get(Gl),k=m.create(fo.NULL,[],p||m.selector,y),x=k.location.nativeElement,z=k.injector.get(Of,null),j=z&&k.injector.get($w);return z&&j&&j.registerApplication(x,z),k.onDestroy(()=>{this.detachView(k.hostView),Ff(this.components,k),j&&j.unregisterApplication(x)}),this._loadComponent(k),k}tick(){if(this._runningTick)throw new ee(101,"");try{this._runningTick=!0;for(let f of this._views)f.detectChanges()}catch(f){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(f))}finally{this._runningTick=!1}}attachView(f){const p=f;this._views.push(p),p.attachToAppRef(this)}detachView(f){const p=f;Ff(this._views,p),p.detachFromAppRef()}_loadComponent(f){this.attachView(f.hostView),this.tick(),this.components.push(f),this._injector.get(Um,[]).concat(this._bootstrapListeners).forEach(m=>m(f))}ngOnDestroy(){this._views.slice().forEach(f=>f.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return l.\u0275fac=function(f){return new(f||l)(tn(ks),tn(fo),tn(cc),tn(Cd),tn(Dc))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();function Ff(l,u){const f=l.indexOf(u);f>-1&&l.splice(f,1)}let o0=!0;function ru(){o0=!1}let a0=(()=>{class l{}return l.__NG_ELEMENT_ID__=c0,l})();function c0(l){return function l0(l,u,f){if(Ro(l)&&!f){const p=bt(l.index,u);return new ql(p,p)}return 47&l.type?new ql(u[16],u):null}(Li(),Te(),16==(16&l))}class eA{constructor(){}supports(u){return kl(u)}create(u){return new tk(u)}}const f0=(l,u)=>u;class tk{constructor(u){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=u||f0}forEachItem(u){let f;for(f=this._itHead;null!==f;f=f._next)u(f)}forEachOperation(u){let f=this._itHead,p=this._removalsHead,m=0,y=null;for(;f||p;){const M=!p||f&&f.currentIndex{M=this._trackByFn(m,k),null!==f&&Object.is(f.trackById,M)?(p&&(f=this._verifyReinsertion(f,k,M,m)),Object.is(f.item,k)||this._addIdentityChange(f,k)):(f=this._mismatch(f,k,M,m),p=!0),f=f._next,m++}),this.length=m;return this._truncate(f),this.collection=u,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let u;for(u=this._previousItHead=this._itHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._additionsHead;null!==u;u=u._nextAdded)u.previousIndex=u.currentIndex;for(this._additionsHead=this._additionsTail=null,u=this._movesHead;null!==u;u=u._nextMoved)u.previousIndex=u.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(u,f,p,m){let y;return null===u?y=this._itTail:(y=u._prev,this._remove(u)),null!==(u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(u.item,f)||this._addIdentityChange(u,f),this._reinsertAfter(u,y,m)):null!==(u=null===this._linkedRecords?null:this._linkedRecords.get(p,m))?(Object.is(u.item,f)||this._addIdentityChange(u,f),this._moveAfter(u,y,m)):u=this._addAfter(new p0(f,p),y,m),u}_verifyReinsertion(u,f,p,m){let y=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==y?u=this._reinsertAfter(y,u._prev,m):u.currentIndex!=m&&(u.currentIndex=m,this._addToMoves(u,m)),u}_truncate(u){for(;null!==u;){const f=u._next;this._addToRemovals(this._unlink(u)),u=f}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(u,f,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(u);const m=u._prevRemoved,y=u._nextRemoved;return null===m?this._removalsHead=y:m._nextRemoved=y,null===y?this._removalsTail=m:y._prevRemoved=m,this._insertAfter(u,f,p),this._addToMoves(u,p),u}_moveAfter(u,f,p){return this._unlink(u),this._insertAfter(u,f,p),this._addToMoves(u,p),u}_addAfter(u,f,p){return this._insertAfter(u,f,p),this._additionsTail=null===this._additionsTail?this._additionsHead=u:this._additionsTail._nextAdded=u,u}_insertAfter(u,f,p){const m=null===f?this._itHead:f._next;return u._next=m,u._prev=f,null===m?this._itTail=u:m._prev=u,null===f?this._itHead=u:f._next=u,null===this._linkedRecords&&(this._linkedRecords=new Ud),this._linkedRecords.put(u),u.currentIndex=p,u}_remove(u){return this._addToRemovals(this._unlink(u))}_unlink(u){null!==this._linkedRecords&&this._linkedRecords.remove(u);const f=u._prev,p=u._next;return null===f?this._itHead=p:f._next=p,null===p?this._itTail=f:p._prev=f,u}_addToMoves(u,f){return u.previousIndex===f||(this._movesTail=null===this._movesTail?this._movesHead=u:this._movesTail._nextMoved=u),u}_addToRemovals(u){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ud),this._unlinkedRecords.put(u),u.currentIndex=null,u._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=u,u._prevRemoved=null):(u._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=u),u}_addIdentityChange(u,f){return u.item=f,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=u:this._identityChangesTail._nextIdentityChange=u,u}}class p0{constructor(u,f){this.item=u,this.trackById=f,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class jd{constructor(){this._head=null,this._tail=null}add(u){null===this._head?(this._head=this._tail=u,u._nextDup=null,u._prevDup=null):(this._tail._nextDup=u,u._prevDup=this._tail,u._nextDup=null,this._tail=u)}get(u,f){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===f||f<=p.currentIndex)&&Object.is(p.trackById,u))return p;return null}remove(u){const f=u._prevDup,p=u._nextDup;return null===f?this._head=p:f._nextDup=p,null===p?this._tail=f:p._prevDup=f,null===this._head}}class Ud{constructor(){this.map=new Map}put(u){const f=u.trackById;let p=this.map.get(f);p||(p=new jd,this.map.set(f,p)),p.add(u)}get(u,f){const m=this.map.get(u);return m?m.get(u,f):null}remove(u){const f=u.trackById;return this.map.get(f).remove(u)&&this.map.delete(f),u}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function g0(l,u,f){const p=l.previousIndex;if(null===p)return p;let m=0;return f&&p{if(f&&f.key===m)this._maybeAddToChanges(f,p),this._appendAfter=f,f=f._next;else{const y=this._getOrCreateRecordForKey(m,p);f=this._insertBeforeOrAppend(f,y)}}),f){f._prev&&(f._prev._next=null),this._removalsHead=f;for(let p=f;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(u,f){if(u){const p=u._prev;return f._next=u,f._prev=p,u._prev=f,p&&(p._next=f),u===this._mapHead&&(this._mapHead=f),this._appendAfter=u,u}return this._appendAfter?(this._appendAfter._next=f,f._prev=this._appendAfter):this._mapHead=f,this._appendAfter=f,null}_getOrCreateRecordForKey(u,f){if(this._records.has(u)){const m=this._records.get(u);this._maybeAddToChanges(m,f);const y=m._prev,M=m._next;return y&&(y._next=M),M&&(M._prev=y),m._next=null,m._prev=null,m}const p=new m0(u);return this._records.set(u,p),p.currentValue=f,this._addToAdditions(p),p}_reset(){if(this.isDirty){let u;for(this._previousMapHead=this._mapHead,u=this._previousMapHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._changesHead;null!==u;u=u._nextChanged)u.previousValue=u.currentValue;for(u=this._additionsHead;null!=u;u=u._nextAdded)u.previousValue=u.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(u,f){Object.is(f,u.currentValue)||(u.previousValue=u.currentValue,u.currentValue=f,this._addToChanges(u))}_addToAdditions(u){null===this._additionsHead?this._additionsHead=this._additionsTail=u:(this._additionsTail._nextAdded=u,this._additionsTail=u)}_addToChanges(u){null===this._changesHead?this._changesHead=this._changesTail=u:(this._changesTail._nextChanged=u,this._changesTail=u)}_forEach(u,f){u instanceof Map?u.forEach(f):Object.keys(u).forEach(p=>f(u[p],p))}}class m0{constructor(u){this.key=u,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function tA(){return new Nf([new eA])}let Nf=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(null!=p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||tA()),deps:[[l,new ua,new Mr]]}}find(f){const p=this.factories.find(m=>m.supports(f));if(null!=p)return p;throw new ee(901,"")}}return l.\u0275prov=ri({token:l,providedIn:"root",factory:tA}),l})();function s_(){return new Bf([new n_])}let Bf=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||s_()),deps:[[l,new ua,new Mr]]}}find(f){const p=this.factories.find(y=>y.supports(f));if(p)return p;throw new ee(901,"")}}return l.\u0275prov=ri({token:l,providedIn:"root",factory:s_}),l})();const _0=[new n_],nk=new Nf([new eA]),iA=new Bf(_0),w0=sr(null,"core",[{provide:Uw,useValue:"unknown"},{provide:Jw,deps:[fo]},{provide:$w,deps:[]},{provide:Vm,deps:[]}]),C0=[{provide:Nd,useClass:Nd,deps:[ks,fo,cc,Cd,Dc]},{provide:PS,deps:[ks],useFactory:function T0(l){let u=[];return l.onStable.subscribe(()=>{for(;u.length;)u.pop()()}),function(f){u.push(f)}}},{provide:Dc,useClass:Dc,deps:[[new Mr,Da]]},{provide:zd,useClass:zd,deps:[]},GT,{provide:Nf,useFactory:function sk(){return nk},deps:[]},{provide:Bf,useFactory:function nA(){return iA},deps:[]},{provide:su,useFactory:function A0(l){return l||function v0(){return"undefined"!=typeof $localize&&$localize.locale||ff}()},deps:[[new la(su),new Mr,new ua]]},{provide:Vw,useValue:"USD"}];let M0=(()=>{class l{constructor(f){}}return l.\u0275fac=function(f){return new(f||l)(tn(Nd))},l.\u0275mod=cr({type:l}),l.\u0275inj=xn({providers:C0}),l})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(6227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class Y extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return Y.\u0275fac=function(){let U;return function(b){return(U||(U=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(Y)))(b||Y)}}(),Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class Y{constructor(){this.data=new Map}getItem(w){return this.data.get(w)}removeItem(w){this.data.delete(w)}setItem(w,b){this.data.set(w,b)}}return Y.\u0275fac=function(w){return new(w||Y)},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class ReceivedTokens{}class OAuthEvent{constructor(U){this.type=U}}class OAuthSuccessEvent extends OAuthEvent{constructor(U,w=null){super(U),this.info=w}}class OAuthInfoEvent extends OAuthEvent{constructor(U,w=null){super(U),this.info=w}}class OAuthErrorEvent extends OAuthEvent{constructor(U,w,b=null){super(U),this.reason=w,this.params=b}}function b64DecodeUnicode(Y){const U=Y.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(U).split("").map(function(w){return"%"+("00"+w.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(Y){return btoa(Y).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(U){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=w=>{location.href=w},U&&Object.assign(this,U)}}class WebHttpUrlEncodingCodec{encodeKey(U){return encodeURIComponent(U)}encodeValue(U){return encodeURIComponent(U)}decodeKey(U){return decodeURIComponent(U)}decodeValue(U){return decodeURIComponent(U)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(U){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let w=this.inferHashAlgorithm(U.idTokenHeader),b=yield this.calcHash(U.accessToken,w),T=base64UrlEncode(b.substr(0,b.length/2)),v=U.idTokenClaims.at_hash.replace(/=/g,"");return T!==v&&(console.error("exptected at_hash: "+T),console.error("actual at_hash: "+v)),T===v})}inferHashAlgorithm(U){let w=U.alg;if(!w.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+w);return"sha-"+w.substr(2)}}let UrlHelperService=(()=>{class Y{getHashFragmentParams(w){let b=w||window.location.hash;if(b=decodeURIComponent(b),0!==b.indexOf("#"))return{};const i=b.indexOf("?");return b=b.substr(i>-1?i+1:1),this.parseQueryString(b)}parseQueryString(w){const b={};let i,T,v,C,E,R,H;if(null===w)return b;i=w.split("&");for(let B=0;B>6,T[C++]=128|63&E):E<55296||E>=57344?(T[C++]=224|E>>12,T[C++]=128|E>>6&63,T[C++]=128|63&E):(E=65536+((1023&E)<<10|1023&Y.charCodeAt(++b)),T[C++]=240|E>>18,T[C++]=128|E>>12&63,T[C++]=128|E>>6&63,T[C++]=128|63&E);Y=T}else{if("object"!==i)throw new Error(ERROR);if(null===Y)throw new Error(ERROR);if(ARRAY_BUFFER&&Y.constructor===ArrayBuffer)Y=new Uint8Array(Y);else if(!(Array.isArray(Y)||ARRAY_BUFFER&&ArrayBuffer.isView(Y)))throw new Error(ERROR)}Y.length>64&&(Y=new Sha256(U,!0).update(Y).array());var R=[],H=[];for(b=0;b<64;++b){var B=Y[b]||0;R[b]=92^B,H[b]=54^B}Sha256.call(this,U,w),this.update(H),this.oKeyPad=R,this.inner=!0,this.sharedMemory=w}Sha256.prototype.update=function(Y){if(!this.finalized){var U,w=typeof Y;if("string"!==w){if("object"!==w)throw new Error(ERROR);if(null===Y)throw new Error(ERROR);if(ARRAY_BUFFER&&Y.constructor===ArrayBuffer)Y=new Uint8Array(Y);else if(!(Array.isArray(Y)||ARRAY_BUFFER&&ArrayBuffer.isView(Y)))throw new Error(ERROR);U=!0}for(var b,T,i=0,v=Y.length,C=this.blocks;i>2]|=Y[i]<>2]|=b<>2]|=(192|b>>6)<>2]|=(128|63&b)<=57344?(C[T>>2]|=(224|b>>12)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<>2]|=(240|b>>18)<>2]|=(128|b>>12&63)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<=64?(this.block=C[16],this.start=T-64,this.hash(),this.hashed=!0):this.start=T}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Y=this.blocks,U=this.lastByteIndex;Y[16]=this.block,Y[U>>2]|=EXTRA[3&U],this.block=Y[16],U>=56&&(this.hashed||this.hash(),Y[0]=this.block,Y[16]=Y[1]=Y[2]=Y[3]=Y[4]=Y[5]=Y[6]=Y[7]=Y[8]=Y[9]=Y[10]=Y[11]=Y[12]=Y[13]=Y[14]=Y[15]=0),Y[14]=this.hBytes<<3|this.bytes>>>29,Y[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var R,G,re,ee,ae,de,Y=this.h0,U=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,v=this.h6,C=this.h7,E=this.blocks;for(R=16;R<64;++R)E[R]=E[R-16]+(((G=E[R-15])>>>7|G<<25)^(G>>>18|G<<14)^G>>>3)+E[R-7]+(((G=E[R-2])>>>17|G<<15)^(G>>>19|G<<13)^G>>>10)<<0;for(de=U&w,R=0;R<64;R+=4)this.first?(this.is224?(re=300032,C=(G=E[0]-1413257819)-150054599<<0,b=G+24177077<<0):(re=704751109,C=(G=E[0]-210244248)-1521486534<<0,b=G+143694565<<0),this.first=!1):(C=b+(G=C+((i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7))+(i&T^~i&v)+K[R]+E[R])<<0,b=G+(((Y>>>2|Y<<30)^(Y>>>13|Y<<19)^(Y>>>22|Y<<10))+((re=Y&U)^Y&w^de))<<0),v=w+(G=v+((C>>>6|C<<26)^(C>>>11|C<<21)^(C>>>25|C<<7))+(C&i^~C&T)+K[R+1]+E[R+1])<<0,w=G+(((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+((ee=b&Y)^b&U^re))<<0,T=U+(G=T+((v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))+(v&C^~v&i)+K[R+2]+E[R+2])<<0,U=G+(((w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10))+((ae=w&b)^w&Y^ee))<<0,i=Y+(G=i+((T>>>6|T<<26)^(T>>>11|T<<21)^(T>>>25|T<<7))+(T&v^~T&C)+K[R+3]+E[R+3])<<0,Y=G+(((U>>>2|U<<30)^(U>>>13|U<<19)^(U>>>22|U<<10))+((de=U&w)^U&b^ae))<<0;this.h0=this.h0+Y<<0,this.h1=this.h1+U<<0,this.h2=this.h2+w<<0,this.h3=this.h3+b<<0,this.h4=this.h4+i<<0,this.h5=this.h5+T<<0,this.h6=this.h6+v<<0,this.h7=this.h7+C<<0},Sha256.prototype.hex=function(){this.finalize();var Y=this.h0,U=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,v=this.h6,C=this.h7,E=HEX_CHARS[Y>>28&15]+HEX_CHARS[Y>>24&15]+HEX_CHARS[Y>>20&15]+HEX_CHARS[Y>>16&15]+HEX_CHARS[Y>>12&15]+HEX_CHARS[Y>>8&15]+HEX_CHARS[Y>>4&15]+HEX_CHARS[15&Y]+HEX_CHARS[U>>28&15]+HEX_CHARS[U>>24&15]+HEX_CHARS[U>>20&15]+HEX_CHARS[U>>16&15]+HEX_CHARS[U>>12&15]+HEX_CHARS[U>>8&15]+HEX_CHARS[U>>4&15]+HEX_CHARS[15&U]+HEX_CHARS[w>>28&15]+HEX_CHARS[w>>24&15]+HEX_CHARS[w>>20&15]+HEX_CHARS[w>>16&15]+HEX_CHARS[w>>12&15]+HEX_CHARS[w>>8&15]+HEX_CHARS[w>>4&15]+HEX_CHARS[15&w]+HEX_CHARS[b>>28&15]+HEX_CHARS[b>>24&15]+HEX_CHARS[b>>20&15]+HEX_CHARS[b>>16&15]+HEX_CHARS[b>>12&15]+HEX_CHARS[b>>8&15]+HEX_CHARS[b>>4&15]+HEX_CHARS[15&b]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[T>>28&15]+HEX_CHARS[T>>24&15]+HEX_CHARS[T>>20&15]+HEX_CHARS[T>>16&15]+HEX_CHARS[T>>12&15]+HEX_CHARS[T>>8&15]+HEX_CHARS[T>>4&15]+HEX_CHARS[15&T]+HEX_CHARS[v>>28&15]+HEX_CHARS[v>>24&15]+HEX_CHARS[v>>20&15]+HEX_CHARS[v>>16&15]+HEX_CHARS[v>>12&15]+HEX_CHARS[v>>8&15]+HEX_CHARS[v>>4&15]+HEX_CHARS[15&v];return this.is224||(E+=HEX_CHARS[C>>28&15]+HEX_CHARS[C>>24&15]+HEX_CHARS[C>>20&15]+HEX_CHARS[C>>16&15]+HEX_CHARS[C>>12&15]+HEX_CHARS[C>>8&15]+HEX_CHARS[C>>4&15]+HEX_CHARS[15&C]),E},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var Y=this.h0,U=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,v=this.h6,C=this.h7,E=[Y>>24&255,Y>>16&255,Y>>8&255,255&Y,U>>24&255,U>>16&255,U>>8&255,255&U,w>>24&255,w>>16&255,w>>8&255,255&w,b>>24&255,b>>16&255,b>>8&255,255&b,i>>24&255,i>>16&255,i>>8&255,255&i,T>>24&255,T>>16&255,T>>8&255,255&T,v>>24&255,v>>16&255,v>>8&255,255&v];return this.is224||E.push(C>>24&255,C>>16&255,C>>8&255,255&C),E},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var Y=new ArrayBuffer(this.is224?28:32),U=new DataView(Y);return U.setUint32(0,this.h0),U.setUint32(4,this.h1),U.setUint32(8,this.h2),U.setUint32(12,this.h3),U.setUint32(16,this.h4),U.setUint32(20,this.h5),U.setUint32(24,this.h6),this.is224||U.setUint32(28,this.h7),Y},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var Y=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(Y),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(Y){if("string"!=typeof Y)throw new TypeError("expected string");var U,w=Y,b=new Uint8Array(w.length);for(U=0;U{class Y{calcHash(w,b){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(w)))})}toHashString2(w){let b="";for(let i of w)b+=String.fromCharCode(i);return b}toHashString(w){const b=new Uint8Array(w);let i="";for(let T of b)i+=String.fromCharCode(T);return i}}return Y.\u0275fac=function(w){return new(w||Y)},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),OAuthService=(()=>{class Y extends AuthConfig{constructor(w,b,i,T,v,C,E,R,H,B){var N;super(),this.ngZone=w,this.http=b,this.config=v,this.urlHelper=C,this.logger=E,this.crypto=R,this.dateTimeService=B,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=H,v||(v={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),T&&(this.tokenValidationHandler=T),v&&this.configure(v);try{i?this.setStorage(i):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(G){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",G)}if(this.checkLocalStorageAccessable()){const G=null===(N=null==window?void 0:window.navigator)||void 0===N?void 0:N.userAgent;((null==G?void 0:G.includes("MSIE "))||(null==G?void 0:G.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const w="test";try{return void 0!==window.localStorage&&(localStorage.setItem(w,w),localStorage.removeItem(w),!0)}catch(b){return!1}}configure(w){Object.assign(this,new AuthConfig,w),this.config=Object.assign({},new AuthConfig,w),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type)).subscribe(w=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(w={},b,i=!0){let T=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(v=>{"token_received"===v.type?T=!0:"logout"===v.type&&(T=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_expires"===v.type&&(null==b||"any"===b||v.info===b)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(v=>{T&&this.refreshInternal(w,i).catch(C=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(w,b){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(w,b):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(w=null){return this.loadDiscoveryDocument().then(b=>this.tryLogin(w))}loadDiscoveryDocumentAndLogin(w=null){return this.loadDiscoveryDocumentAndTryLogin(w=w||{}).then(b=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof w.state?w.state:""),!1))}debug(...w){this.showDebugInformation&&this.logger.debug.apply(this.logger,w)}validateUrlFromDiscoveryDocument(w){const b=[],i=this.validateUrlForHttps(w),T=this.validateUrlAgainstIssuer(w);return i||b.push("https for all urls required. Also for urls received by discovery."),T||b.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),b}validateUrlForHttps(w){if(!w)return!0;const b=w.toLowerCase();return!(!1!==this.requireHttps&&(!b.match(/^http:\/\/localhost($|[:\/])/)&&!b.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||b.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(w,b){if(!w)throw new Error(`'${b}' should not be null`);if(!this.validateUrlForHttps(w))throw new Error(`'${b}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(w){return!this.strictDiscoveryDocumentValidation||!w||w.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type)).subscribe(w=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const w=this.getAccessTokenExpiration(),b=this.getAccessTokenStoredAt(),i=this.calcTimeout(b,w);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(i)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}setupIdTokenTimer(){const w=this.getIdTokenExpiration(),b=this.getIdTokenStoredAt(),i=this.calcTimeout(b,w);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(i)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(w,b){const i=this.dateTimeService.now();return Math.max(0,(b-w)*this.timeoutFactor-(i-w))}setStorage(w){this._storage=w,this.configChanged()}loadDiscoveryDocument(w=null){return new Promise((b,i)=>{w||((w=this.issuer||"").endsWith("/")||(w+="/"),w+=".well-known/openid-configuration"),this.validateUrlForHttps(w)?this.http.get(w).subscribe(T=>{if(!this.validateDiscoveryDocument(T))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");this.loginUrl=T.authorization_endpoint,this.logoutUrl=T.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=T.grant_types_supported,this.issuer=T.issuer,this.tokenEndpoint=T.token_endpoint,this.userinfoEndpoint=T.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=T.jwks_uri,this.sessionCheckIFrameUrl=T.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(T),this.revocationEndpoint=T.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(v=>{const E=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:T,jwks:v});this.eventsSubject.next(E),b(E)}).catch(v=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",v)),i(v)})},T=>{this.logger.error("error loading discovery document",T),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",T)),i(T)}):i("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((w,b)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(i=>{this.jwks=i,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),w(i)},i=>{this.logger.error("error loading jwks",i),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",i)),b(i)}):w(null)})}validateDiscoveryDocument(w){let b;return this.skipIssuerCheck||w.issuer===this.issuer?(b=this.validateUrlFromDiscoveryDocument(w.authorization_endpoint),b.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.end_session_endpoint),b.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.token_endpoint),b.length>0&&this.logger.error("error validating token_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(w.revocation_endpoint),b.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(w.userinfo_endpoint),b.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.jwks_uri),b.length>0?(this.logger.error("error validating jwks_uri in discovery document",b),!1):(this.sessionChecksEnabled&&!w.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+w.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(w,b,i).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((w,b)=>{const i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:i,observe:"response",responseType:"text"}).subscribe(T=>{if(this.debug("userinfo received",JSON.stringify(T)),T.headers.get("content-type").startsWith("application/json")){let v=JSON.parse(T.body);const C=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!C.sub||v.sub!==C.sub))return void b("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");v=Object.assign({},C,v),this._storage.setItem("id_token_claims_obj",JSON.stringify(v)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),w({info:v})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),w(JSON.parse(T.body))},T=>{this.logger.error("error loading user info",T),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",T)),b(T)})})}fetchTokenUsingPasswordFlow(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:w,password:b},i)}fetchTokenUsingGrant(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let T=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",w).set("scope",this.scope);if(this.useHttpBasicAuth){const v=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+v)}if(this.useHttpBasicAuth||(T=T.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(T=T.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const v of Object.getOwnPropertyNames(this.customQueryParams))T=T.set(v,this.customQueryParams[v]);for(const v of Object.keys(b))T=T.set(v,b[v]);return i=i.set("Content-Type","application/x-www-form-urlencoded"),new Promise((v,C)=>{this.http.post(this.tokenEndpoint,T,{headers:i}).subscribe(E=>{this.debug("tokenResponse",E),this.storeAccessTokenResponse(E.access_token,E.refresh_token,E.expires_in||this.fallbackAccessTokenExpirationTimeInSec,E.scope,this.extractRecognizedCustomParameters(E)),this.oidc&&E.id_token&&this.processIdToken(E.id_token,E.access_token).then(R=>{this.storeIdToken(R),v(E)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),v(E)},E=>{this.logger.error("Error performing ${grantType} flow",E),this.eventsSubject.next(new OAuthErrorEvent("token_error",E)),C(E)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((w,b)=>{let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),T=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const v=btoa(`${this.clientId}:${this.dummyClientSecret}`);T=T.set("Authorization","Basic "+v)}if(this.useHttpBasicAuth||(i=i.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(i=i.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const v of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(v,this.customQueryParams[v]);this.http.post(this.tokenEndpoint,i,{headers:T}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(v=>v.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(v.id_token,v.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(C=>this.storeIdToken(C)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(C=>v)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(v))).subscribe(v=>{this.debug("refresh tokenResponse",v),this.storeAccessTokenResponse(v.access_token,v.refresh_token,v.expires_in||this.fallbackAccessTokenExpirationTimeInSec,v.scope,this.extractRecognizedCustomParameters(v)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),w(v)},v=>{this.logger.error("Error refreshing token",v),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",v)),b(v)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=w=>{const b=this.processMessageEventMessage(w);this.tryLogin({customHashFragment:b,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(i=>this.debug("tryLogin during silent refresh failed",i))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(w={},b=!0){const i=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(w.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const T=this.document.getElementById(this.silentRefreshIFrameName);T&&this.document.body.removeChild(T),this.silentRefreshSubject=i.sub;const v=this.document.createElement("iframe");v.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,b,w).then(B=>{v.setAttribute("src",B),this.silentRefreshShowIFrame||(v.style.display="none"),this.document.body.appendChild(v)});const E=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>B instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),R=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>"token_received"===B.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),H=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([E,R,H]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(B=>{if(B instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===B.type||(B=new OAuthErrorEvent("silent_refresh_error",B)),this.eventsSubject.next(B),B;return"token_received"===B.type&&(B=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(B)),B})).toPromise()}initImplicitFlowInPopup(w){return this.initLoginFlowInPopup(w)}initLoginFlowInPopup(w){return w=w||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(b=>new Promise((i,T)=>{let E,C=null;w.windowRef?w.windowRef&&!w.windowRef.closed&&(C=w.windowRef,C.location.href=b):C=window.open(b,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(w));const R=J=>{this.tryLogin({customHashFragment:J,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{B(),i(!0)},X=>{B(),T(X)})};C?E=window.setInterval(()=>{(!C||C.closed)&&(B(),T(new OAuthErrorEvent("popup_closed",{})))},500):T(new OAuthErrorEvent("popup_blocked",{}));const B=()=>{window.clearInterval(E),window.removeEventListener("storage",G),window.removeEventListener("message",N),null!==C&&C.close(),C=null},N=J=>{const X=this.processMessageEventMessage(J);X&&null!==X?(window.removeEventListener("storage",G),R(X)):console.log("false event firing")},G=J=>{"auth_hash"===J.key&&(window.removeEventListener("message",N),R(J.newValue))};window.addEventListener("message",N),window.addEventListener("storage",G)}))}calculatePopupFeatures(w){const b=w.height||470,i=w.width||500,T=window.screenLeft+(window.outerWidth-i)/2;return`location=no,toolbar=no,width=${i},height=${b},top=${window.screenTop+(window.outerHeight-b)/2},left=${T}`}processMessageEventMessage(w){let b="#";if(this.silentRefreshMessagePrefix&&(b+=this.silentRefreshMessagePrefix),!w||!w.data||"string"!=typeof w.data)return;const i=w.data;return i.startsWith(b)?"#"+i.substr(b.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=w=>{const b=w.origin.toLowerCase(),i=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),i.startsWith(b)){switch(w.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",w)}else this.debug("sessionCheckEventListener","wrong origin",b,"expected",i,"event",w)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(w=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(w=>{this.debug("token refresh after session change worked")}).catch(w=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"silently_refreshed"===w.type||"silent_refresh_timeout"===w.type||"silent_refresh_error"===w.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(w=>{"silently_refreshed"!==w.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const w=this.document.getElementById(this.sessionCheckIFrameName);w&&this.document.body.removeChild(w);const b=this.document.createElement("iframe");b.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),b.setAttribute("src",this.sessionCheckIFrameUrl),b.style.display="none",this.document.body.appendChild(b),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const w=this.document.getElementById(this.sessionCheckIFrameName);w||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const b=this.getSessionState();b||this.stopSessionCheckTimer(),w.contentWindow.postMessage(this.clientId+" "+b,this.issuer)}createLoginUrl(w="",b="",i="",T=!1,v={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const C=this;let E;E=i||this.redirectUri;const R=yield this.createAndSaveNonce();if(w=w?R+this.config.nonceStateSeparator+encodeURIComponent(w):R,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const H=C.loginUrl.indexOf("?")>-1?"&":"?";let B=C.scope;this.oidc&&!B.match(/(^|\s)openid($|\s)/)&&(B="openid "+B);let N=C.loginUrl+H+"response_type="+encodeURIComponent(C.responseType)+"&client_id="+encodeURIComponent(C.clientId)+"&state="+encodeURIComponent(w)+"&redirect_uri="+encodeURIComponent(E)+"&scope="+encodeURIComponent(B);if(this.responseType.includes("code")&&!this.disablePKCE){const[G,J]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",J):this._storage.setItem("PKCE_verifier",J),N+="&code_challenge="+G,N+="&code_challenge_method=S256"}b&&(N+="&login_hint="+encodeURIComponent(b)),C.resource&&(N+="&resource="+encodeURIComponent(C.resource)),C.oidc&&(N+="&nonce="+encodeURIComponent(R)),T&&(N+="&prompt=none");for(const G of Object.keys(v))N+="&"+encodeURIComponent(G)+"="+encodeURIComponent(v[G]);if(this.customQueryParams)for(const G of Object.getOwnPropertyNames(this.customQueryParams))N+="&"+G+"="+encodeURIComponent(this.customQueryParams[G]);return N})}initImplicitFlowInternal(w="",b=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let i={},T=null;"string"==typeof b?T=b:"object"==typeof b&&(i=b),this.createLoginUrl(w,T,null,!1,i).then(this.config.openUri).catch(v=>{console.error("Error in initImplicitFlow",v),this.inImplicitFlow=!1})}initImplicitFlow(w="",b=""){""!==this.loginUrl?this.initImplicitFlowInternal(w,b):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(i=>"discovery_document_loaded"===i.type)).subscribe(i=>this.initImplicitFlowInternal(w,b))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(w){const b=this;if(w.onTokenReceived){const i={idClaims:b.getIdentityClaims(),idToken:b.getIdToken(),accessToken:b.getAccessToken(),state:b.state};w.onTokenReceived(i)}}storeAccessTokenResponse(w,b,i,T,v){if(this._storage.setItem("access_token",w),T&&!Array.isArray(T)?this._storage.setItem("granted_scopes",JSON.stringify(T.split(" "))):T&&Array.isArray(T)&&this._storage.setItem("granted_scopes",JSON.stringify(T)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){const C=1e3*i,R=this.dateTimeService.new().getTime()+C;this._storage.setItem("expires_at",""+R)}b&&this._storage.setItem("refresh_token",b),v&&v.forEach((C,E)=>{this._storage.setItem(E,C)})}tryLogin(w=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(w).then(b=>!0):this.tryLoginImplicitFlow(w)}parseQueryString(w){return w&&0!==w.length?("?"===w.charAt(0)&&(w=w.substr(1)),this.urlHelper.parseQueryString(w)):{}}tryLoginCodeFlow(w=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const b=(w=w||{}).customHashFragment?w.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(b),T=i.code,v=i.state,C=i.session_state;if(!w.preventClearHashAfterLogin){const H=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,H)}let[E,R]=this.parseState(v);if(this.state=R,i.error){this.debug("error trying to login"),this.handleLoginError(w,i);const H=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(H),Promise.reject(H)}if(!w.disableNonceCheck){if(!E)return this.saveRequestedRoute(),Promise.resolve();if(!w.disableOAuth2StateCheck&&!this.validateNonce(E)){const B=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(B),Promise.reject(B)}return this.storeSessionState(C),T&&(yield this.getTokenFromCode(T,w),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const w=this._storage.getItem("requested_route");w&&history.replaceState(null,"",window.location.origin+w)}getCodePartsFromUrl(w){return w&&0!==w.length?("?"===w.charAt(0)&&(w=w.substr(1)),this.urlHelper.parseQueryString(w)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(w,b){let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",w).set("redirect_uri",b.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let T;T=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),T?i=i.set("code_verifier",T):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(i,b)}fetchAndProcessToken(w,b){b=b||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const T=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+T)}return this.useHttpBasicAuth||(w=w.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(w=w.set("client_secret",this.dummyClientSecret)),new Promise((T,v)=>{if(this.customQueryParams)for(let C of Object.getOwnPropertyNames(this.customQueryParams))w=w.set(C,this.customQueryParams[C]);this.http.post(this.tokenEndpoint,w,{headers:i}).subscribe(C=>{this.debug("refresh tokenResponse",C),this.storeAccessTokenResponse(C.access_token,C.refresh_token,C.expires_in||this.fallbackAccessTokenExpirationTimeInSec,C.scope,this.extractRecognizedCustomParameters(C)),this.oidc&&C.id_token?this.processIdToken(C.id_token,C.access_token,b.disableNonceCheck).then(E=>{this.storeIdToken(E),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(C)}).catch(E=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",E)),console.error("Error validating tokens"),console.error(E),v(E)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(C))},C=>{console.error("Error getting token",C),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",C)),v(C)})})}tryLoginImplicitFlow(w=null){let b;b=(w=w||{}).customHashFragment?this.urlHelper.getHashFragmentParams(w.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",b);const i=b.state;let[T,v]=this.parseState(i);if(this.state=v,b.error){this.debug("error trying to login"),this.handleLoginError(w,b);const B=new OAuthErrorEvent("token_error",{},b);return this.eventsSubject.next(B),Promise.reject(B)}const C=b.access_token,E=b.id_token,R=b.session_state,H=b.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!C||this.requestAccessToken&&!w.disableOAuth2StateCheck&&!i||this.oidc&&!E)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!R&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!w.disableNonceCheck&&!this.validateNonce(T)){const N=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(N),Promise.reject(N)}return this.requestAccessToken&&this.storeAccessTokenResponse(C,null,b.expires_in||this.fallbackAccessTokenExpirationTimeInSec,H),this.oidc?this.processIdToken(E,C,w.disableNonceCheck).then(B=>w.validationHandler?w.validationHandler({accessToken:C,idClaims:B.idTokenClaims,idToken:B.idToken,state:i}).then(N=>B):B).then(B=>(this.storeIdToken(B),this.storeSessionState(R),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(w),this.inImplicitFlow=!1,!0)).catch(B=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",B)),this.logger.error("Error validating tokens"),this.logger.error(B),Promise.reject(B))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(w),Promise.resolve(!0))}parseState(w){let b=w,i="";if(w){const T=w.indexOf(this.config.nonceStateSeparator);T>-1&&(b=w.substr(0,T),i=w.substr(T+this.config.nonceStateSeparator.length))}return[b,i]}validateNonce(w){let b;return b=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),b===w||(console.error("Validating access_token failed, wrong state/nonce.",b,w),!1)}storeIdToken(w){this._storage.setItem("id_token",w.idToken),this._storage.setItem("id_token_claims_obj",w.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+w.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(w){this._storage.setItem("session_state",w)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(w,b){w.onLoginError&&w.onLoginError(b),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(w=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:w}processIdToken(w,b,i=!1){const T=w.split("."),C=b64DecodeUnicode(this.padBase64(T[0])),E=JSON.parse(C),H=b64DecodeUnicode(this.padBase64(T[1])),B=JSON.parse(H);let N;if(N=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(B.aud)){if(B.aud.every(ae=>ae!==this.clientId)){const ae="Wrong audience: "+B.aud.join(",");return this.logger.warn(ae),Promise.reject(ae)}}else if(B.aud!==this.clientId){const ae="Wrong audience: "+B.aud;return this.logger.warn(ae),Promise.reject(ae)}if(!B.sub){const ae="No sub claim in id_token";return this.logger.warn(ae),Promise.reject(ae)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==B.sub){const ae=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${B.sub}`;return this.logger.warn(ae),Promise.reject(ae)}if(!B.iat){const ae="No iat claim in id_token";return this.logger.warn(ae),Promise.reject(ae)}if(!this.skipIssuerCheck&&B.iss!==this.issuer){const ae="Wrong issuer: "+B.iss;return this.logger.warn(ae),Promise.reject(ae)}if(!i&&B.nonce!==N){const ae="Wrong nonce: "+B.nonce;return this.logger.warn(ae),Promise.reject(ae)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!B.at_hash){const ae="An at_hash is needed!";return this.logger.warn(ae),Promise.reject(ae)}const G=this.dateTimeService.now(),J=1e3*B.iat,X=1e3*B.exp,re=this.getClockSkewInMsec();if(J-re>=G||X+re<=G){const ae="Token has expired";return console.error(ae),console.error({now:G,issuedAtMSec:J,expiresAtMSec:X}),Promise.reject(ae)}const ee={accessToken:b,idToken:w,jwks:this.jwks,idTokenClaims:B,idTokenHeader:E,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ee).then(ae=>({idToken:w,idTokenClaims:B,idTokenClaimsJson:H,idTokenHeader:E,idTokenHeaderJson:C,idTokenExpiresAt:X})):this.checkAtHash(ee).then(ae=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ae){const de="Wrong at_hash";return this.logger.warn(de),Promise.reject(de)}return this.checkSignature(ee).then(de=>{const He={idToken:w,idTokenClaims:B,idTokenClaimsJson:H,idTokenHeader:E,idTokenHeaderJson:C,idTokenExpiresAt:X};return this.disableAtHashCheck?He:this.checkAtHash(ee).then(Ge=>{if(this.requestAccessToken&&!Ge){const xt="Wrong at_hash";return this.logger.warn(xt),Promise.reject(xt)}return He})})})}getIdentityClaims(){const w=this._storage.getItem("id_token_claims_obj");return w?JSON.parse(w):null}getGrantedScopes(){const w=this._storage.getItem("granted_scopes");return w?JSON.parse(w):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(w){for(;w.length%4!=0;)w+="=";return w}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const w=this._storage.getItem("expires_at"),b=this.dateTimeService.new();return!(w&&parseInt(w,10)=0&&null!==this._storage.getItem(w)?JSON.parse(this._storage.getItem(w)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(w={},b=""){let i=!1;"boolean"==typeof w&&(i=w,w={});const T=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(C=>this._storage.removeItem(C)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||i||!T&&!this.postLogoutRedirectUri)return;let v;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)v=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(T)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let C=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});T&&(C=C.set("id_token_hint",T));const E=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";E&&(C=C.set("post_logout_redirect_uri",E),b&&(C=C.set("state",b)));for(let R in w)C=C.set(R,w[R]);v=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+C.toString()}this.config.openUri(v)}createAndSaveNonce(){const w=this;return this.createNonce().then(function(b){return w.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",b):w._storage.setItem("nonce",b),b})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const w=this.document.getElementById(this.silentRefreshIFrameName);w&&w.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const b=this.document.getElementById(this.sessionCheckIFrameName);b&&b.remove()}createNonce(){return new Promise(w=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let i=45,T="";const v="undefined"==typeof self?null:self.crypto||self.msCrypto;if(v){let C=new Uint8Array(i);v.getRandomValues(C),C.map||(C.map=Array.prototype.map),C=C.map(E=>b.charCodeAt(E%b.length)),T=String.fromCharCode.apply(null,C)}else for(;0"discovery_document_loaded"===i.type)).subscribe(i=>this.initCodeFlowInternal(w,b))}initCodeFlowInternal(w="",b={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let i={},T=null;"string"==typeof b?T=b:"object"==typeof b&&(i=b),this.createLoginUrl(w,T,null,!1,i).then(this.config.openUri).catch(v=>{console.error("Error in initAuthorizationCodeFlow"),console.error(v)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const w=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(w,"sha-256")),w]})}extractRecognizedCustomParameters(w){let b=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(i=>{w[i]&&b.set(i,JSON.stringify(w[i]))}),b}revokeTokenAndLogout(w={},b=!1){let i=this.revocationEndpoint,T=this.getAccessToken(),v=this.getRefreshToken();if(!T)return;let C=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),E=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const R=btoa(`${this.clientId}:${this.dummyClientSecret}`);E=E.set("Authorization","Basic "+R)}if(this.useHttpBasicAuth||(C=C.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(C=C.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const R of Object.getOwnPropertyNames(this.customQueryParams))C=C.set(R,this.customQueryParams[R]);return new Promise((R,H)=>{let B,N;if(T){let G=C.set("token",T).set("token_type_hint","access_token");B=this.http.post(i,G,{headers:E})}else B=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(v){let G=C.set("token",v).set("token_type_hint","refresh_token");N=this.http.post(i,G,{headers:E})}else N=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);b&&(B=B.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(G=>0===G.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(G))),N=N.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(G=>0===G.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(G)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([B,N]).subscribe(G=>{this.logOut(w),R(G),this.logger.info("Token successfully revoked")},G=>{this.logger.error("Error revoking token",G),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",G)),H(G)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Y.\u0275fac=function(w){return new(w||Y)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(U){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(U)}}let DefaultOAuthInterceptor=(()=>{class Y{constructor(w,b,i){this.oAuthService=w,this.errorHandler=b,this.moduleConfig=i}checkUrl(w){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(w):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(b=>w.toLowerCase().startsWith(b.toLowerCase()))}intercept(w,b){const i=w.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(i)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>!!v)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_received"===v.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(v=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(v=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(v=>{if(v){const E=w.headers.set("Authorization","Bearer "+v);w=w.clone({headers:E})}return b.handle(w).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(C=>this.errorHandler.handleError(C)))})):b.handle(w).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(v=>this.errorHandler.handleError(v))):b.handle(w)}}return Y.\u0275fac=function(w){return new(w||Y)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class NullValidationHandler{validateSignature(U){return Promise.resolve(null)}validateAtHash(U){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class Y{static forRoot(w=null,b=NullValidationHandler){return{ngModule:Y,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:b},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:w},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return Y.\u0275fac=function(w){return new(w||Y)},Y.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:Y}),Y.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),Y})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},4147:Y=>{"use strict";Y.exports={i8:"7.0.0"}}},Y=>{Y(Y.s=3853)}]); \ No newline at end of file diff --git a/dist/apps/user-profile/assets/config/defaultConfig.json b/dist/apps/user-profile/assets/config/defaultConfig.json index a9a2ac9c0..596cdfba4 100644 --- a/dist/apps/user-profile/assets/config/defaultConfig.json +++ b/dist/apps/user-profile/assets/config/defaultConfig.json @@ -94,6 +94,7 @@ "groups", "vos", "privacy", + "consents", "settings", "data_quotas", "ssh_keys", diff --git a/dist/apps/user-profile/assets/i18n/cs.json b/dist/apps/user-profile/assets/i18n/cs.json index 868418a63..0934bb629 100644 --- a/dist/apps/user-profile/assets/i18n/cs.json +++ b/dist/apps/user-profile/assets/i18n/cs.json @@ -10,6 +10,8 @@ "GROUPS": "Skupiny", "VOS": "Organizace", "PRIVACY": "Soukromí", + "CONSENTS": "Souhlasy", + "CONSENT_REQUEST": "Žádost o souhlas", "SETTINGS": "Nastavení" }, "SETTINGS": { @@ -65,6 +67,27 @@ "USER_INFO": "Informace o Vás", "DATA": "Informace využívané organizací " }, + "CONSENTS": { + "TITLE": "Souhlasy", + "FILTER": "Filtrovat souhlasy dle jména služby", + "GRANT_ALL": "Dát souhlas všem", + "STATUS_GRANTED": "Udělen", + "STATUS_REVOKED": "Odmítnut", + "STATUS_UNSIGNED": "Nevyřízený", + "UNSIGNED_CONSENTS": "Souhlasy, které vyžadují vaši pozornost", + "GRANT_ALL_NOTIFICATION": "Souhlas udělen ke všem službám", + "CONSENT_GRANTED": "Souhlas byl udělen službě ", + "CONSENT_REVOKED": "Souhlas byl odvolán službě ", + "CONSENT_REJECTED": "Souhlas byl odmítnut službě ", + "PROCESSED_CONSENTS": "Vyřešené souhlasy", + "REQUEST": { + "TITLE": "Žádost o souhlas", + "CHECKBOX": "Zrušte předchozí souhlas pro atributy, které již nejsou vyžadovány", + "CONSENT_TEXT_UNSIGNED": "Požadovaná služba vyžaduje přístup k vašim osobním údajům", + "GRANT_CONSENT_BUTTON": "Udělit souhlas", + "REJECT_CONSENT_BUTTON": "Odmítnout souhlas" + } + }, "MEMBERSHIP_LIST": { "NAME": "Jméno", "DESCRIPTION": "Popis", @@ -361,6 +384,17 @@ "BACKEND_ERROR": "Zadané heslo nesplňuje požadavky pro daný namespace", "FIELD_EMPTY": "Tohle políčko musí být vyplněné", "PWD_DONT_MATCH": "Hesla se neshodují" + }, + "CONSENTS_LIST": { + "STATUS": "Status", + "SERVICE_NAME": "Jméno služby", + "GRANTED_TEXT": "Tato služba má přístup k těmto osobním údajům", + "REVOKED_TEXT": "Tato služba vyžaduje přístup k vašim osobním údajům (bez udělení souhlasu nemusí služba fungovat správně)", + "UNSIGNED_TEXT": "Požadovaná služba vyžaduje přístup k vašim osobním údajům", + "NO_CONSENTS": "Nebyly nalezeny žádné souhlasy", + "REVOKE_CONSENT_BUTTON": "Odmítnout souhlas", + "REJECT_CONSENT_BUTTON": "Odvolat souhlas", + "GRANT_CONSENT_BUTTON": "Udělit souhlas" } }, "ORGANIZATIONS": { diff --git a/dist/apps/user-profile/assets/i18n/en.json b/dist/apps/user-profile/assets/i18n/en.json index 6baffa08c..d162a5ec6 100644 --- a/dist/apps/user-profile/assets/i18n/en.json +++ b/dist/apps/user-profile/assets/i18n/en.json @@ -10,6 +10,8 @@ "GROUPS": "Groups", "VOS": "Organizations", "PRIVACY": "Privacy", + "CONSENTS": "Consents", + "CONSENT_REQUEST": "Consent request", "SETTINGS": "Settings" }, "SETTINGS": { @@ -65,6 +67,27 @@ "USER_INFO": "Information about you", "DATA": "Information used by " }, + "CONSENTS": { + "TITLE": "Consents", + "FILTER": "Filter consents by service name", + "GRANT_ALL": "Grant consent to all", + "STATUS_GRANTED": "Granted", + "STATUS_REVOKED": "Rejected", + "STATUS_UNSIGNED": "Pending", + "UNSIGNED_CONSENTS": "Consents that need your attention", + "GRANT_ALL_NOTIFICATION": "Consent granted to all services", + "CONSENT_GRANTED": "Consent was granted for ", + "CONSENT_REVOKED": "Consent was revoked for ", + "CONSENT_REJECTED": "Consent was rejected for ", + "PROCESSED_CONSENTS": "Resolved consents", + "REQUEST": { + "TITLE": "Consent request", + "CHECKBOX": "Revoke previous consent for attributes that are not required anymore", + "CONSENT_TEXT_UNSIGNED": "The requested service requires access to your personal data", + "GRANT_CONSENT_BUTTON": "Grant consent", + "REJECT_CONSENT_BUTTON": "Reject consent" + } + }, "MEMBERSHIP_LIST": { "NAME": "Name", "DESCRIPTION": "Description", @@ -437,6 +460,17 @@ "BACKEND_ERROR": "Entered password doesn't meet the selected namespace's criteria", "FIELD_EMPTY": "Empty value is not allowed", "PWD_DONT_MATCH": "Passwords do not match" + }, + "CONSENTS_LIST": { + "STATUS": "Status", + "SERVICE_NAME": "Service name", + "GRANTED_TEXT": "This service has access to this personal data", + "REVOKED_TEXT": "This service requires access to your personal data (the service might not work properly unless the consent is granted)", + "UNSIGNED_TEXT": "The requested service requires access to your personal data", + "NO_CONSENTS": "No consents found", + "REVOKE_CONSENT_BUTTON": "Revoke consent", + "REJECT_CONSENT_BUTTON": "Reject consent", + "GRANT_CONSENT_BUTTON": "Grant consent" } }, "ORGANIZATIONS": { diff --git a/dist/apps/user-profile/index.html b/dist/apps/user-profile/index.html index 05c193bcb..2a10181ff 100644 --- a/dist/apps/user-profile/index.html +++ b/dist/apps/user-profile/index.html @@ -6,12 +6,12 @@ - +
- + diff --git a/dist/apps/user-profile/main.6e09f04771c04e02.js b/dist/apps/user-profile/main.6e09f04771c04e02.js new file mode 100644 index 000000000..19b4e7048 --- /dev/null +++ b/dist/apps/user-profile/main.6e09f04771c04e02.js @@ -0,0 +1 @@ +(self.webpackChunkuser_profile=self.webpackChunkuser_profile||[]).push([[179],{8377:(q,Y,M)=>{"use strict";var _=M(9808),t=M(5e3);class T extends _.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class w extends T{static makeCurrent(){(0,_.HT)(new w)}onAndCancel(o,e,i){return o.addEventListener(e,i,!1),()=>{o.removeEventListener(e,i,!1)}}dispatchEvent(o,e){o.dispatchEvent(e)}remove(o){o.parentNode&&o.parentNode.removeChild(o)}createElement(o,e){return(e=e||this.getDefaultDocument()).createElement(o)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(o){return o.nodeType===Node.ELEMENT_NODE}isShadowRoot(o){return o instanceof DocumentFragment}getGlobalEventTarget(o,e){return"window"===e?window:"document"===e?o:"body"===e?o.body:null}getBaseHref(o){const e=function E(){return v=v||document.querySelector("base"),v?v.getAttribute("href"):null}();return null==e?null:function I(n){L=L||document.createElement("a"),L.setAttribute("href",n);const o=L.pathname;return"/"===o.charAt(0)?o:`/${o}`}(e)}resetBaseElement(){v=null}getUserAgent(){return window.navigator.userAgent}getCookie(o){return(0,_.Mx)(document.cookie,o)}}let L,v=null;const B=new t.OlP("TRANSITION_ID"),G=[{provide:t.ip1,useFactory:function F(n,o,e){return()=>{e.get(t.CZH).donePromise.then(()=>{const i=(0,_.q)(),s=o.querySelectorAll(`style[ng-transition="${n}"]`);for(let a=0;a{const a=o.findTestabilityInTree(i,s);if(null==a)throw new Error("Could not find testability for element.");return a},t.dqk.getAllAngularTestabilities=()=>o.getAllTestabilities(),t.dqk.getAllAngularRootElements=()=>o.getAllRootElements(),t.dqk.frameworkStabilizers||(t.dqk.frameworkStabilizers=[]),t.dqk.frameworkStabilizers.push(i=>{const s=t.dqk.getAllAngularTestabilities();let a=s.length,r=!1;const c=function(u){r=r||u,a--,0==a&&i(r)};s.forEach(function(u){u.whenStable(c)})})}findTestabilityInTree(o,e,i){if(null==e)return null;const s=o.getTestability(e);return null!=s?s:i?(0,_.q)().isShadowRoot(e)?this.findTestabilityInTree(o,e.host,!0):this.findTestabilityInTree(o,e.parentElement,!0):null}}let Q=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();const ae=new t.OlP("EventManagerPlugins");let ee=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(s=>s.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,s){return this._findPluginFor(i).addEventListener(e,i,s)}addGlobalEventListener(e,i,s){return this._findPluginFor(i).addGlobalEventListener(e,i,s)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const s=this._plugins;for(let a=0;a{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(s=>{this._stylesSet.has(s)||(this._stylesSet.add(s),i.add(s))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),He=(()=>{class n extends he{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,s){e.forEach(a=>{const r=this._doc.createElement("style");r.textContent=a,s.push(i.appendChild(r))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(Be),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,s)=>{this._addStylesToHost(e,s,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Be))}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();function Be(n){(0,_.q)().remove(n)}const $e={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},yt=/%COMP%/g;function ge(n,o,e){for(let i=0;i{if("__ngUnwrap__"===o)return n;!1===n(o)&&(o.preventDefault(),o.returnValue=!1)}}let Re=(()=>{class n{constructor(e,i,s){this.eventManager=e,this.sharedStylesHost=i,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new fe(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case t.ifc.Emulated:{let s=this.rendererByCompId.get(i.id);return s||(s=new vi(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,s)),s.applyToHost(e),s}case 1:case t.ifc.ShadowDom:return new ot(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const s=ge(i.id,i.styles,[]);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(ee),t.LFG(He),t.LFG(t.AFp))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();class fe{constructor(o){this.eventManager=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(o,e){return e?document.createElementNS($e[e]||e,o):document.createElement(o)}createComment(o){return document.createComment(o)}createText(o){return document.createTextNode(o)}appendChild(o,e){o.appendChild(e)}insertBefore(o,e,i){o&&o.insertBefore(e,i)}removeChild(o,e){o&&o.removeChild(e)}selectRootElement(o,e){let i="string"==typeof o?document.querySelector(o):o;if(!i)throw new Error(`The selector "${o}" did not match any elements`);return e||(i.textContent=""),i}parentNode(o){return o.parentNode}nextSibling(o){return o.nextSibling}setAttribute(o,e,i,s){if(s){e=s+":"+e;const a=$e[s];a?o.setAttributeNS(a,e,i):o.setAttribute(e,i)}else o.setAttribute(e,i)}removeAttribute(o,e,i){if(i){const s=$e[i];s?o.removeAttributeNS(s,e):o.removeAttribute(`${i}:${e}`)}else o.removeAttribute(e)}addClass(o,e){o.classList.add(e)}removeClass(o,e){o.classList.remove(e)}setStyle(o,e,i,s){s&(t.JOm.DashCase|t.JOm.Important)?o.style.setProperty(e,i,s&t.JOm.Important?"important":""):o.style[e]=i}removeStyle(o,e,i){i&t.JOm.DashCase?o.style.removeProperty(e):o.style[e]=""}setProperty(o,e,i){o[e]=i}setValue(o,e){o.nodeValue=e}listen(o,e,i){return"string"==typeof o?this.eventManager.addGlobalEventListener(o,e,Ae(i)):this.eventManager.addEventListener(o,e,Ae(i))}}class vi extends fe{constructor(o,e,i,s){super(o),this.component=i;const a=ge(s+"-"+i.id,i.styles,[]);e.addStyles(a),this.contentAttr=function mt(n){return"_ngcontent-%COMP%".replace(yt,n)}(s+"-"+i.id),this.hostAttr=function de(n){return"_nghost-%COMP%".replace(yt,n)}(s+"-"+i.id)}applyToHost(o){super.setAttribute(o,this.hostAttr,"")}createElement(o,e){const i=super.createElement(o,e);return super.setAttribute(i,this.contentAttr,""),i}}class ot extends fe{constructor(o,e,i,s){super(o),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=ge(s.id,s.styles,[]);for(let r=0;r{class n extends ce{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,s){return e.addEventListener(i,s,!1),()=>this.removeEventListener(e,i,s)}removeEventListener(e,i,s){return e.removeEventListener(i,s)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();const Nn=["alt","control","meta","shift"],Je={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ai={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ps={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let un=(()=>{class n extends ce{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,s){const a=n.parseEventName(i),r=n.eventCallback(a.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,_.q)().onAndCancel(e,a.domEventName,r))}static parseEventName(e){const i=e.toLowerCase().split("."),s=i.shift();if(0===i.length||"keydown"!==s&&"keyup"!==s)return null;const a=n._normalizeKey(i.pop());let r="";if(Nn.forEach(u=>{const h=i.indexOf(u);h>-1&&(i.splice(h,1),r+=u+".")}),r+=a,0!=i.length||0===a.length)return null;const c={};return c.domEventName=s,c.fullKey=r,c}static getEventFullKey(e){let i="",s=function di(n){let o=n.key;if(null==o){if(o=n.keyIdentifier,null==o)return"Unidentified";o.startsWith("U+")&&(o=String.fromCharCode(parseInt(o.substring(2),16)),3===n.location&&ai.hasOwnProperty(o)&&(o=ai[o]))}return Je[o]||o}(e);return s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),Nn.forEach(a=>{a!=s&&ps[a](e)&&(i+=a+".")}),i+=s,i}static eventCallback(e,i,s){return a=>{n.getEventFullKey(a)===e&&s.runGuarded(()=>i(a))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();const js=(0,t.eFA)(t._c5,"browser",[{provide:t.Lbi,useValue:_.bD},{provide:t.g9A,useValue:function Wt(){w.makeCurrent(),X.init()},multi:!0},{provide:_.K0,useFactory:function lo(){return(0,t.RDi)(document),document},deps:[]}]),Hn=[{provide:t.zSh,useValue:"root"},{provide:t.qLn,useFactory:function dn(){return new t.qLn},deps:[]},{provide:ae,useClass:gt,multi:!0,deps:[_.K0,t.R0b,t.Lbi]},{provide:ae,useClass:un,multi:!0,deps:[_.K0]},{provide:Re,useClass:Re,deps:[ee,He,t.AFp]},{provide:t.FYo,useExisting:Re},{provide:he,useExisting:He},{provide:He,useClass:He,deps:[_.K0]},{provide:t.dDg,useClass:t.dDg,deps:[t.R0b]},{provide:ee,useClass:ee,deps:[ae,t.R0b]},{provide:_.JF,useClass:Q,deps:[]}];let le=(()=>{class n{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:n,providers:[{provide:t.AFp,useValue:e.appId},{provide:B,useExisting:t.AFp},G]}}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(n,12))},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:Hn,imports:[_.ez,t.hGG]}),n})(),nt=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:function(e){let i=null;return i=e?new e:function Ve(){return new nt((0,t.LFG)(_.K0))}(),i},providedIn:"root"}),n})();"undefined"!=typeof window&&window;let ms=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:function(e){let i=null;return i=e?new(e||n):t.LFG(mr),i},providedIn:"root"}),n})(),mr=(()=>{class n extends ms{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case t.q3G.NONE:return i;case t.q3G.HTML:return(0,t.qzn)(i,"HTML")?(0,t.z3N)(i):(0,t.EiD)(this._doc,String(i)).toString();case t.q3G.STYLE:return(0,t.qzn)(i,"Style")?(0,t.z3N)(i):i;case t.q3G.SCRIPT:if((0,t.qzn)(i,"Script"))return(0,t.z3N)(i);throw new Error("unsafe value used in a script context");case t.q3G.URL:return(0,t.yhl)(i),(0,t.qzn)(i,"URL")?(0,t.z3N)(i):(0,t.mCW)(String(i));case t.q3G.RESOURCE_URL:if((0,t.qzn)(i,"ResourceURL"))return(0,t.z3N)(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,t.JVY)(e)}bypassSecurityTrustStyle(e){return(0,t.L6k)(e)}bypassSecurityTrustScript(e){return(0,t.eBb)(e)}bypassSecurityTrustUrl(e){return(0,t.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,t.pB0)(e)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:function(e){let i=null;return i=e?new e:function gr(n){return new mr(n.get(_.K0))}(t.LFG(t.zs3)),i},providedIn:"root"}),n})();var D=M(520);class Ne{encodeKey(o){return encodeURIComponent(o)}encodeValue(o){return encodeURIComponent(o)}decodeKey(o){return decodeURIComponent(o)}decodeValue(o){return decodeURIComponent(o)}}const Ti=new t.OlP("basePath");class Qe{constructor(o={}){this.apiKeys=o.apiKeys,this.username=o.username,this.password=o.password,this.accessToken=o.accessToken,this.basePath=o.basePath,this.withCredentials=o.withCredentials,this.encoder=o.encoder}selectHeaderContentType(o){if(0===o.length)return;const e=o.find(i=>this.isJsonMime(i));return void 0===e?o[0]:e}selectHeaderAccept(o){if(0===o.length)return;const e=o.find(i=>this.isJsonMime(i));return void 0===e?o[0]:e}isJsonMime(o){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==o&&(e.test(o)||"application/json-patch+json"===o.toLowerCase())}}let ei=(()=>{class n{constructor(e,i,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new Ne}convertAttributeToNonunique(e,i="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}convertAttributeToUnique(e,i="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createAttributeDefinition(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}deleteAttributeDefinition(e,i="body",s=!1){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteAttributeDefinitions(e,i="body",s=!1){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attributes[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllAttributeDefinitions(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttribute(e,i,s,a,r,c,u,h,g,O,$,re="body",ye=!1){let ve=new D.LE({encoder:this.encoder});null!=e&&(ve=ve.set("attributeName",e)),null!=i&&(ve=ve.set("attributeId",i)),null!=s&&(ve=ve.set("facility",s)),null!=a&&(ve=ve.set("user",a)),null!=r&&(ve=ve.set("vo",r)),null!=c&&(ve=ve.set("resource",c)),null!=u&&(ve=ve.set("member",u)),null!=h&&(ve=ve.set("group",h)),null!=g&&(ve=ve.set("host",g)),null!=O&&(ve=ve.set("userExtSource",O)),null!=$&&(ve=ve.set("key",$));let Le=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Le=Le.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Le=Le.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const It="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Le=Le.set("Authorization","Bearer "+It)}const Vt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Vt&&(Le=Le.set("Accept",Vt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:ve,withCredentials:this.configuration.withCredentials,headers:Le,observe:re,reportProgress:ye})}getAttributeDefinitionById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAttributeDefinitionByName(e,i="body",s=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAttributeDefinitionsByNamespace(e,i="body",s=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAttributeModulesDependenciesForAttributeGraphText(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==i)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("format",e)),null!=i&&(r=r.set("attrName",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAttributeModulesDependenciesGraphText(e,i="body",s=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("format",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAttributePolicyCollections(e,i="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAttributeRights(e,i="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAttributesDefinitionWithRights(e,i,s,a,r,c,u,h,g="body",O=!1){let $=new D.LE({encoder:this.encoder});null!=e&&($=$.set("member",e)),null!=i&&($=$.set("user",i)),null!=s&&($=$.set("vo",s)),null!=a&&($=$.set("group",a)),null!=r&&($=$.set("resource",r)),null!=c&&($=$.set("facility",c)),null!=u&&($=$.set("host",u)),null!=h&&($=$.set("userExtSource",h));let re=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(re=re.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(re=re.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Le="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;re=re.set("Authorization","Bearer "+Le)}const ve=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ve&&(re=re.set("Accept",ve)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:$,withCredentials:this.configuration.withCredentials,headers:re,observe:g,reportProgress:O})}getEntitylessAttributeByName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=i&&(r=r.set("attributeName",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessAttributesByKey(e,i="body",s=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("key",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getEntitylessAttributesByName(e,i="body",s=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attrName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getEntitylessAttributesWithKeys(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attrName",e)),i&&i.forEach(g=>{r=r.append("keys[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessKeys(e,i="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityAttributeById(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attributeId",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributeByName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attributeName",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityAttributesByNames(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityResourceUserMemberAttributes(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("facility",e)),null!=i&&(u=u.set("resource",i)),null!=s&&(u=u.set("user",s)),null!=a&&(u=u.set("member",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getFacilityUserAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("user",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeById(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attributeId",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeByName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attributeName",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupAttributesByNames(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupResourceAttributeById(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=i&&(c=c.set("resource",i)),null!=s&&(c=c.set("attributeId",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getGroupResourceAttributeByName(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=i&&(c=c.set("resource",i)),null!=s&&(c=c.set("attributeName",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getGroupResourceAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("resource",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeById(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=i&&(r=r.set("attributeId",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeByName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=i&&(r=r.set("attributeName",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getHostAttributesByNames(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLogins(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberAndUserAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("workWithUserAttributes",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAndUserAttributesByNames(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),i&&i.forEach(O=>{c=c.append("attrNames[]",O)}),null!=s&&(c=c.set("workWithUserAttributes",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getMemberAttributeById(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("attributeId",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributeByName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("attributeName",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberAttributesByNames(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAndUserAttributesByNames(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("member",e)),null!=i&&(u=u.set("group",i)),s&&s.forEach($=>{u=u.append("attrNames[]",$)}),null!=a&&(u=u.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberGroupAttributeById(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("group",i)),null!=s&&(c=c.set("attributeId",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getMemberGroupAttributeByName(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("group",i)),null!=s&&(c=c.set("attributeName",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getMemberGroupAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("group",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAttributesByNames(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("group",i)),s&&s.forEach(O=>{c=c.append("attrNames[]",O)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributes(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("resource",i)),null!=s&&(c=c.set("workWithUserAttributes",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributesByNames(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("member",e)),null!=i&&(u=u.set("resource",i)),s&&s.forEach($=>{u=u.append("attrNames[]",$)}),null!=a&&(u=u.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberResourceAttributeById(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("resource",i)),null!=s&&(c=c.set("attributeId",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getMemberResourceAttributeByName(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("resource",i)),null!=s&&(c=c.set("attributeName",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getMemberResourceAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("resource",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesDefinition(e,i="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesFacility(e,i="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesFacilityService(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==i)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=i&&(r=r.set("facility",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesFacilityServices(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==i)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=i&&(r=r.set("facility",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesGroupResourceService(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=i&&(c=c.set("resource",i)),null!=s&&(c=c.set("group",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getRequiredAttributesHostService(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==i)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=i&&(r=r.set("host",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMember(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("workWithUserAttributes",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMemberGroup(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("group",i)),null!=s&&(c=c.set("workWithUserAttributes",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getRequiredAttributesMemberGroupResourceService(e,i,s,a,r,c="body",u=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=i&&(h=h.set("resource",i)),null!=s&&(h=h.set("group",s)),null!=a&&(h=h.set("member",a)),null!=r&&(h=h.set("workWithUserAttributes",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+re)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:u})}getRequiredAttributesMemberGroupService(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("service",e)),null!=i&&(u=u.set("group",i)),null!=s&&(u=u.set("member",s)),null!=a&&(u=u.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesMemberResource(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("resource",i)),null!=s&&(c=c.set("workWithUserAttributes",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getRequiredAttributesMemberResourceService(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("service",e)),null!=i&&(u=u.set("resource",i)),null!=s&&(u=u.set("member",s)),null!=a&&(u=u.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesResource(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesResourceService(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=i&&(r=r.set("resource",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesResourceServices(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=i&&(r=r.set("resource",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesUser(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesUserFacility(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==i)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("facility",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesVoService(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==i)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=i&&(r=r.set("vo",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeById(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeId",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeByName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeName",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceAttributesByNames(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupAndGroupAttributes(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("resource",e)),null!=i&&(c=c.set("group",i)),null!=s&&(c=c.set("workWithGroupAttributes",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getResourceGroupAndGroupAttributesByNames(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("resource",e)),null!=i&&(u=u.set("group",i)),s&&s.forEach($=>{u=u.append("attrNames[]",$)}),null!=a&&(u=u.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getResourceGroupAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("group",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupMemberAttributesByNames(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==a)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("resource",e)),null!=i&&(u=u.set("group",i)),null!=s&&(u=u.set("member",s)),a&&a.forEach($=>{u=u.append("attrNames[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserAttributeById(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("attributeId",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributeByName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("attributeName",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserAttributesByNames(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeById(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=i&&(r=r.set("attributeId",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeByName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=i&&(r=r.set("attributeName",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserExtSourceAttributesByNames(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserFacilityAttributeById(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==i)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=i&&(c=c.set("facility",i)),null!=s&&(c=c.set("attributeId",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getUserFacilityAttributeByName(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==i)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=i&&(c=c.set("facility",i)),null!=s&&(c=c.set("attributeName",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getUserFacilityAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==i)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("facility",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeById(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("attributeId",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeByName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("attributeName",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoAttributesByNames(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAttributesForFacilityResourceGroupUserMember(e,i,s,a,r,c,u="body",h=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==a)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==c)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("facility",e)),null!=i&&(g=g.set("resource",i)),null!=s&&(g=g.set("group",s)),null!=a&&(g=g.set("user",a)),null!=r&&(g=g.set("member",r)),c&&c.forEach(ye=>{g=g.append("attributes[]",ye)});let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ye="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+ye)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(O=O.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:u,reportProgress:h})}removeAttributesForFacilityResourceUserMember(e,i,s,a,r,c="body",u=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==a)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("facility",e)),null!=i&&(h=h.set("resource",i)),null!=s&&(h=h.set("user",s)),null!=a&&(h=h.set("member",a)),r&&r.forEach(re=>{h=h.append("attributes[]",re)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+re)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:u})}removeEntitylessAttribute(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=i&&(r=r.set("attribute",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttribute(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attribute",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),i&&i.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttribute(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attribute",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),i&&i.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupResourceAttribute(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=i&&(c=c.set("resource",i)),null!=s&&(c=c.set("attribute",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}removeGroupResourceAttributes(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=i&&(c=c.set("resource",i)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}removeGroupResourceAttributesWorkWithGroupAttributes(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("group",e)),null!=i&&(u=u.set("resource",i)),s&&s.forEach($=>{u=u.append("attributes[]",$)}),null!=a&&(u=u.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeHostAttribute(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=i&&(r=r.set("attribute",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHostAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),i&&i.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttribute(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("attribute",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),i&&i.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributesWorkWithUserAttributes(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),i&&i.forEach(O=>{c=c.append("attributes[]",O)}),null!=s&&(c=c.set("workWithUserAttributes",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}removeMemberGroupAttribute(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==i)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("group",i)),null!=s&&(c=c.set("attribute",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}removeMemberGroupAttributes(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==i)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("group",i)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}removeMemberGroupAttributesWorkWithUserAttributes(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("member",e)),null!=i&&(u=u.set("group",i)),s&&s.forEach($=>{u=u.append("attributes[]",$)}),null!=a&&(u=u.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeMemberResourceAttribute(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("resource",i)),null!=s&&(c=c.set("attribute",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}removeMemberResourceAttributes(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("resource",i)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}removeResourceAttribute(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attribute",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),i&&i.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUesAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),i&&i.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttribute(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("attribute",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),i&&i.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSourceAttribute(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=i&&(r=r.set("attribute",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserFacilityAttribute(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=i&&(c=c.set("facility",i)),null!=s&&(c=c.set("attribute",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}removeUserFacilityAttributes(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=i&&(c=c.set("facility",i)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}removeVoAttribute(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("attribute",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),i&&i.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setAttributePolicyCollections(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setAttributeRights(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setEntitylessAttribute(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setFacilityAttribute(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setFacilityAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setFacilityResourceGroupUserMemberAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setFacilityResourceUserMemberAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setFacilityUserAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setGroupAttribute(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setGroupAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setGroupResourceAttribute(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setGroupResourceAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setHostAttribute(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setHostAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setMemberAttribute(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setMemberAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setMemberGroupAttribute(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setMemberGroupAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setMemberGroupWithUserAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setMemberResourceAndUserAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setMemberResourceAttribute(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setMemberResourceAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setMemberWithUserAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setResourceAttribute(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setResourceAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setResourceGroupAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setResourceGroupWithGroupAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setUserAttribute(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setUserAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setUserExtSourceAttribute(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setUserExtSourceAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setUserFacilityAttribute(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setUserFacilityAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setVoAttribute(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setVoAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}updateAttributeDefinition(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(D.eN),t.LFG(Ti,8),t.LFG(Qe,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Qi=(()=>{class n{constructor(e,i,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new Ne}getAllPolicies(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllRolesManagementRules(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAuthzAdminGroups(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==i)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("role",e)),null!=i&&(c=c.set("complementaryObjectId",i)),null!=s&&(c=c.set("complementaryObjectName",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getAuthzRichAdmins(e,i,s,a,r,c,u="body",h=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==i)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==a)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("role",e)),null!=i&&(g=g.set("complementaryObjectId",i)),null!=s&&(g=g.set("complementaryObjectName",s)),a&&a.forEach(ye=>{g=g.append("specificAttributes",ye)}),null!=r&&(g=g.set("allUserAttributes",r)),null!=c&&(g=g.set("onlyDirectAdmins",c));let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ye="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+ye)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(O=O.set("Accept",re)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:u,reportProgress:h})}getFacilitiesWhereUserIsInRoles(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=i&&(r=r.set("user",i)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupRoleNames(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupRoles(e,i="body",s=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("groupId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupsWhereUserIsInRoles(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=i&&(r=r.set("user",i)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLoggedUser(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMembersWhereUserIsInRoles(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=i&&(r=r.set("user",i)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getPerunPrincipal(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getPrincipalRoleNames(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourcesWhereUserIsInRoles(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=i&&(r=r.set("user",i)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSecurityTeamsWhereUserIsInRoles(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=i&&(r=r.set("user",i)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserRoleNames(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserRoles(e,i="body",s=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVosWhereUserIsInRoles(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=i&&(r=r.set("user",i)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}isFacilityAdmin(e,i="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}isGroupAdmin(e,i="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}isPerunAdmin(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isVoAdmin(e,i="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}keepAlive(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}loadAuthorizationComponents(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}setRoleWithGroupComplementaryObject(e,i="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setRoleWithUserComplementaryObject(e,i="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}unsetRoleWithGroupComplementaryObject(e,i="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}unsetRoleWithUserComplementaryObject(e,i="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(D.eN),t.LFG(Ti,8),t.LFG(Qe,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Di=(()=>{class n{constructor(e,i,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new Ne}changeConsentStatus(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter consent was null or undefined when calling changeConsentStatus.");if(null==i)throw new Error("Required parameter status was null or undefined when calling changeConsentStatus.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("consent",e)),null!=i&&(r=r.set("status",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/changeConsentStatus`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllConsentHubs(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsentHubs`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllConsents(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsents`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getConsentById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getConsentById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getConsentForUserAndConsentHub(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentForUserAndConsentHub.");if(null==i)throw new Error("Required parameter consentHub was null or undefined when calling getConsentForUserAndConsentHub.");if(null==s)throw new Error("Required parameter status was null or undefined when calling getConsentForUserAndConsentHub.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=i&&(c=c.set("consentHub",i)),null!=s&&(c=c.set("status",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentForUserAndConsentHub`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getConsentHubByFacility(e,i="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getConsentHubByFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getConsentHubById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getConsentHubById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getConsentHubByName(e,i="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getConsentHubByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getConsentsForConsentHub(e,i="body",s=!1){if(null==e)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHub.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("consentHub",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getConsentsForConsentHubWithStatus(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHubWithStatus.");if(null==i)throw new Error("Required parameter status was null or undefined when calling getConsentsForConsentHubWithStatus.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("consentHub",e)),null!=i&&(r=r.set("status",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id-s`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getConsentsForUser(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getConsentsForUserAndConsentHub(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserAndConsentHub.");if(null==i)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForUserAndConsentHub.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("consentHub",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUserAndConsentHub`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getConsentsForUserWithStatus(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserWithStatus.");if(null==i)throw new Error("Required parameter status was null or undefined when calling getConsentsForUserWithStatus.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("status",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id-s`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateConsentHub(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateConsentHub was null or undefined when calling updateConsentHub.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/consentsManager/updateConsentHub`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(D.eN),t.LFG(Ti,8),t.LFG(Qe,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),xi=(()=>{class n{constructor(e,i,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new Ne}addMember(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==i)throw new Error("Required parameter member was null or undefined when calling addMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=i&&(r=r.set("member",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addMembers(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==i)throw new Error("Required parameter members was null or undefined when calling addMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),i&&i.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}canExtendMembershipInGroup(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==i)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("group",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupUnion(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==i)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=i&&(r=r.set("operandGroup",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupWithParentGroupNameDescription(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==i)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("parentGroup",e)),null!=i&&(c=c.set("name",i)),null!=s&&(c=c.set("description",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}createGroupWithVoNameDescription(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==i)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=i&&(c=c.set("name",i)),null!=s&&(c=c.set("description",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}deleteGroup(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("force",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroups(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}extendMembershipInGroup(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==i)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("group",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}forceAllSubGroupsSynchronization(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}forceGroupStructureSynchronization(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}forceGroupSynchronization(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllGroups(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllGroupsFromAllVos(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllMemberGroups(e,i="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllRichGroups(e,i="body",s=!1){if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllRichGroupsWithAttributesByNames(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichSubGroupsWithGroupAttributesByNames(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupByName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==i)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("name",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMemberById(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("member",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMembers(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupMembersCount(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupMembersCountsByGroupStatus(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupMembersCountsByVoStatus(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupRichMembersByIds(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==i)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),i&&i.forEach(O=>{c=c.append("members[]",O)}),s&&s.forEach(O=>{c=c.append("attrNames[]",O)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getGroupUnions(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==i)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("reverseDirection",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsByIds(e,i="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupsPage(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}getIndirectMembershipPaths(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("group",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroups(e,i="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberRichGroupsWithAttributesByNames(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichGroupByIdWithAttributesByNames(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("groupId",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSubgroupsPage(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}isGroupMember(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==i)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("group",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}moveGroupWithDestinationGroupMovingGroup(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let r=new D.LE({encoder:this.encoder});null!=i&&(r=r.set("destinationGroup",i)),null!=e&&(r=r.set("movingGroup",e));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupUnion(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==i)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=i&&(r=r.set("operandGroup",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMember(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=i&&(r=r.set("member",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMembers(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==i)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),i&&i.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setGroupsMemberStatus(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==i)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==s)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("group",i)),null!=s&&(c=c.set("status",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}updateGroup(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(D.eN),t.LFG(Ti,8),t.LFG(Qe,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),_t=(()=>{class n{constructor(e,i,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new Ne}canExtendMembership(e,i="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createMemberForCandidate(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}createMemberForUser(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}createMemberFromExtSource(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}createSpecificMember(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}createSponsoredMember(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}createSponsoredMembers(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}createSponsoredMembersFromCSV(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}deleteMember(e,i="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteMembers(e,i="body",s=!1){if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("members[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}extendMembership(e,i="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}findCompleteRichMembersByAttributes(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(O=>{c=c.append("attrsNames[]",O)}),null!=i&&(c=c.set("searchString",i)),s&&s.forEach(O=>{c=c.append("allowedStatuses[]",O)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}findCompleteRichMembersForGroup(e,i,s,a,r,c,u="body",h=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==a)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("group",e)),i&&i.forEach(ye=>{g=g.append("attrsNames[]",ye)}),r&&r.forEach(ye=>{g=g.append("allowedStatuses[]",ye)}),c&&c.forEach(ye=>{g=g.append("allowedGroupStatuses[]",ye)}),null!=s&&(g=g.set("searchString",s)),null!=a&&(g=g.set("lookingInParentGroup",a));let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ye="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+ye)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(O=O.set("Accept",re)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:u,reportProgress:h})}findCompleteRichMembersForVo(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("vo",e)),i&&i.forEach($=>{u=u.append("attrsNames[]",$)}),a&&a.forEach($=>{u=u.append("allowedStatuses[]",$)}),null!=s&&(u=u.set("searchString",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}findMembersInVo(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("searchString",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findSponsoredCompleteRichMembersForVo(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==a)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("vo",e)),i&&i.forEach($=>{u=u.append("attrsNames[]",$)}),null!=s&&(u=u.set("searchString",s)),null!=a&&(u=u.set("onlySponsored",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllMembers(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllNamespacesRules(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllSponsoredMembers(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllSponsoredMembersAndTheirSponsors(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getCompleteRichMembersForGroup(e,i,s,a,r,c="body",u=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==i)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),s&&s.forEach(re=>{h=h.append("allowedStatuses[]",re)}),a&&a.forEach(re=>{h=h.append("allowedGroupStatuses[]",re)}),null!=i&&(h=h.set("lookingInParentGroup",i)),r&&r.forEach(re=>{h=h.append("attrsNames[]",re)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+re)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:u})}getCompleteRichMembersForGroupResource(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==s)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==a)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("group",e)),null!=i&&(u=u.set("resource",i)),s&&s.forEach($=>{u=u.append("attrsNames[]",$)}),a&&a.forEach($=>{u=u.append("allowedStatuses[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getCompleteRichMembersForVo(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),i&&i.forEach(O=>{c=c.append("allowedStatuses[]",O)}),s&&s.forEach(O=>{c=c.append("attrsNames[]",O)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getMemberByExtSourceNameAndExtLogin(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==s)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=i&&(c=c.set("extLogin",i)),null!=s&&(c=c.set("extSourceName",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getMemberById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberByUser(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("user",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembers(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("status",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembersByIds(e,i="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMembersByUser(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMembersCount(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMembersPage(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}getMembersWithStatusCount(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==i)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("status",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichMember(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRichMemberWithAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRichMembersByIds(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("ids[]",g)}),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichMembersNoUserAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichMembersNoUserAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersNoUserAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getSponsoredMembers(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getSponsoredMembersAndTheirSponsors(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByMember(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByVo(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==i)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("vo",e)),null!=i&&(u=u.set("extSourceName",i)),null!=s&&(u=u.set("extLogin",s)),a&&a.forEach($=>{u=u.append("attrNames[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}moveMembership(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==i)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==s)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=i&&(c=c.set("sourceUser",i)),null!=s&&(c=c.set("targetUser",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}removeSponsor(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==i)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("sponsor",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendAccountActivationLinkEmail(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==i)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("member",e)),null!=i&&(u=u.set("namespace",i)),null!=s&&(u=u.set("emailAttributeURN",s)),null!=a&&(u=u.set("language",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendPasswordResetLinkEmail(e,i,s,a,r,c="body",u=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==i)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("member",e)),null!=i&&(h=h.set("namespace",i)),null!=s&&(h=h.set("emailAttributeURN",s)),null!=a&&(h=h.set("language",a)),null!=r&&(h=h.set("baseUrl",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+re)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:u})}setSponsoredMember(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setSponsorshipForMember(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==i)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("sponsoredMember",e)),null!=i&&(c=c.set("sponsor",i)),null!=s&&(c=c.set("validityTo",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}setStatus(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==i)throw new Error("Required parameter status was null or undefined when calling setStatus.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("status",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sponsorMember(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==i)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("sponsor",i)),null!=s&&(c=c.set("validityTo",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}updateSponsorshipValidity(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==i)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=i&&(c=c.set("sponsor",i)),null!=s&&(c=c.set("validityTo",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}validateMemberAsync(e,i="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(D.eN),t.LFG(Ti,8),t.LFG(Qe,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fn=(()=>{class n{constructor(e,i,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new Ne}sentMessageToRTWithMemberQueue(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==i)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("memberId",e)),null!=i&&(u=u.set("queue",i)),null!=s&&(u=u.set("subject",s)),null!=a&&(u=u.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sentMessageToRTWithQueue(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("queue",e)),null!=i&&(c=c.set("subject",i)),null!=s&&(c=c.set("text",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}sentMessageToRTWithVo(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("voId",e)),null!=i&&(c=c.set("subject",i)),null!=s&&(c=c.set("text",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}sentMessageToRTWithVoQueue(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==i)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("voId",e)),null!=i&&(u=u.set("queue",i)),null!=s&&(u=u.set("subject",s)),null!=a&&(u=u.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(D.eN),t.LFG(Ti,8),t.LFG(Qe,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ti=(()=>{class n{constructor(e,i,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new Ne}addApplicationMailForGroup(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}addApplicationMailForVo(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}addGroupsToAutoRegistration(e,i="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}approveApplication(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}checkForSimilarUsersWithAuthInfo(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}consolidateIdentityUsingToken(e,i="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyFormFromGroupToGroup(e,i,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=i&&(r=r.set("toGroup",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromGroupToVo(e,i,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=i&&(r=r.set("toVo",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToGroup(e,i,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=i&&(r=r.set("toGroup",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToVo(e,i,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=i&&(r=r.set("toVo",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToGroup(e,i,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=i&&(r=r.set("toGroup",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToVo(e,i,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=i&&(r=r.set("toVo",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToGroup(e,i,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=i&&(r=r.set("toGroup",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToVo(e,i,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=i&&(r=r.set("toVo",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createApplicationFormInGroup(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createApplicationFormInVo(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteApplication(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteApplicationMailForGroup(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("id",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteApplicationMailForVo(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("id",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroupsFromAutoRegistration(e,i="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getApplicationById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getApplicationDataById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getApplicationMailsForGroup(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getApplicationMailsForVo(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getApplicationsForGroup(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("group",e)),i&&i.forEach($=>{u=u.append("state[]",$)}),null!=s&&(u=u.set("dateFrom",s)),null!=a&&(u=u.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsForMember(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("group",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getApplicationsForVo(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("vo",e)),i&&i.forEach($=>{u=u.append("state[]",$)}),null!=s&&(u=u.set("dateFrom",s)),null!=a&&(u=u.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsPage(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}getConsolidatorToken(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFormItemsForGroup(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFormItemsForGroupWithType(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("type",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFormItemsForVo(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFormItemsForVoWithType(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("type",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupApplicationForm(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupsToAutoRegistration(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoApplicationForm(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}rejectApplication(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),null!=i&&(r=r.set("reason",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendInvitation(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==i)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let u=new D.LE({encoder:this.encoder});null!=s&&(u=u.set("voId",s)),null!=a&&(u=u.set("name",a)),null!=e&&(u=u.set("email",e)),null!=i&&(u=u.set("language",i));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendInvitationForGroup(e,i,s,a,r,c="body",u=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==i)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let h=new D.LE({encoder:this.encoder});null!=s&&(h=h.set("voId",s)),null!=a&&(h=h.set("groupId",a)),null!=r&&(h=h.set("name",r)),null!=e&&(h=h.set("email",e)),null!=i&&(h=h.set("language",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+re)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:u})}sendInvitationGroupToExistingUser(e,i,s,a="body",r=!1){let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("userId",e)),null!=i&&(c=c.set("voId",i)),null!=s&&(c=c.set("groupId",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}sendInvitationToExistingUser(e,i,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userId",e)),null!=i&&(r=r.set("voId",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendMessage(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}setSendingEnabled(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}submitApplication(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}updateApplicationMail(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}updateForm(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}updateFormItemData(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}updateFormItemsData(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}updateFormItemsForGroup(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}updateFormItemsForVo(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}verifyApplication(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(D.eN),t.LFG(Ti,8),t.LFG(Qe,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hi=(()=>{class n{constructor(e,i,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new Ne}activateGroupResourceAssignment(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=i&&(c=c.set("resource",i)),null!=s&&(c=c.set("async",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}addAdminToGroup(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==i)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("authorizedGroup",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addAdminToUser(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==i)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("user",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceGroup(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==i)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("group",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceUser(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==i)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("user",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}allowGroupsToResources(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==i)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(O=>{c=c.append("groups[]",O)}),i&&i.forEach(O=>{c=c.append("resources[]",O)}),null!=s&&(c=c.set("async",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}assignGroupToResource(e,i,s,a,r,c="body",u=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),null!=i&&(h=h.set("resource",i)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+re)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:u})}assignGroupToResources(e,i,s,a,r,c="body",u=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==i)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),i&&i.forEach(re=>{h=h.append("resources[]",re)}),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+re)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:u})}assignGroupsToResource(e,i,s,a,r,c="body",u=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let h=new D.LE({encoder:this.encoder});e&&e.forEach(re=>{h=h.append("groups[]",re)}),null!=i&&(h=h.set("resource",i)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+re)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:u})}assignResourceTagToResource(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}assignService(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==i)throw new Error("Required parameter service was null or undefined when calling assignService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("service",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServices(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==i)throw new Error("Required parameter services was null or undefined when calling assignServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),i&&i.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServicesPackage(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("servicesPackage",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyResource(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}createResource(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==i)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==s)throw new Error("Required parameter name was null or undefined when calling createResource.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("vo",e)),null!=i&&(u=u.set("facility",i)),null!=s&&(u=u.set("name",s)),null!=a&&(u=u.set("description",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createResourceTagWithResourceTag(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}createResourceTagWithTagName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==i)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("tagName",e)),null!=i&&(r=r.set("vo",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deactivateGroupResourceAssignment(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("resource",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteAllResources(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteAllResourcesTagsForVo(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteResource(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteResourceTag(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}getAdminGroups(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAdmins(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("onlyDirectAdmins",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllResourcesByResourceTag(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}getAllResourcesTagsForResource(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllResourcesTagsForVo(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllResourcesWhereUserIsAdmin(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllowedMembers(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllowedResources(e,i="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllowedUsersOfResource(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedGroups(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("member",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedMembers(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedMembersWithStatus(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedResourcesWithGroup(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedResourcesWithMember(e,i="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedResourcesWithStatus(e,i="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedRichMembers(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedRichResourcesWithGroup(e,i="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedRichResourcesWithMember(e,i="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedRichResourcesWithMemberService(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==i)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("service",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedServicesToResource(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getBansForMember(e,i="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getBansForResource(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getEnrichedResourceById(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForFacility(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForVo(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacility(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupAssignments(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAssignments(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBan(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("resource",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBanById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceByName(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==i)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==s)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=i&&(c=c.set("facility",i)),null!=s&&(c=c.set("name",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getResources(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourcesByIds(e,i="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourcesCountForAll(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourcesCountForVo(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourcesFromVoWhereUserIsAdmin(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("user",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourcesWhereGroupIsAdmin(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=i&&(c=c.set("vo",i)),null!=s&&(c=c.set("group",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getResourcesWhereUserIsAdmin(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=i&&(c=c.set("vo",i)),null!=s&&(c=c.set("user",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getRichAdmins(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==i)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==s)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==a)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("resource",e)),i&&i.forEach($=>{u=u.append("specificAttributes",$)}),null!=s&&(u=u.set("allUserAttributes",s)),null!=a&&(u=u.set("onlyDirectAdmins",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRichResourceById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRichResources(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRichResourcesByIds(e,i="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVo(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeAllResourceTagsFromResource(e,i="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeBanByMemberAndResource(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=i&&(r=r.set("resource",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAdminResource(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==i)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("authorizedGroup",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResource(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("resource",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResources(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==i)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),i&&i.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupsFromResource(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=i&&(r=r.set("resource",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceBanById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeResourceSelfServiceGroup(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==i)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("group",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceSelfServiceUser(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==i)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("user",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceTagFromResource(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}removeService(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==i)throw new Error("Required parameter service was null or undefined when calling removeService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("service",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServices(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==i)throw new Error("Required parameter services was null or undefined when calling removeServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),i&&i.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServicesPackage(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("servicesPackage",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAdminResource(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("user",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setResourceBan(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}unallowGroupsFromResources(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==i)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),i&&i.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateResource(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}updateResourceBan(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}updateResourceTag(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(D.eN),t.LFG(Ti,8),t.LFG(Qe,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),zi=(()=>{class n{constructor(e,i,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new Ne}addSpecificUserOwner(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==i)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("specificUser",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addUserExtSource(e,i="body",s=!1){if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}anonymizeUser(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}changeNonAuthzPasswordByToken(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==i)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("token",e)),null!=i&&(c=c.set("password",i)),null!=s&&(c=c.set("lang",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}changePasswordForLogin(e,i,s,a,r,c="body",u=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==i)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("login",e)),null!=i&&(h=h.set("namespace",i)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+re)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:u})}changePasswordForUser(e,i,s,a,r,c="body",u=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==i)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("user",e)),null!=i&&(h=h.set("namespace",i)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+re)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:u})}checkPasswordResetRequestByTokenIsValid(e,i="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}checkPasswordStrength(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==i)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("password",e)),null!=i&&(r=r.set("namespace",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createAlternativePassword(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==s)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==a)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("user",e)),null!=i&&(u=u.set("description",i)),null!=s&&(u=u.set("loginNamespace",s)),null!=a&&(u=u.set("password",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createServiceUser(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}deleteAlternativePassword(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==i)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==s)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=i&&(c=c.set("loginNamespace",i)),null!=s&&(c=c.set("passwordId",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}deletePasswordForLogin(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==i)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=i&&(r=r.set("namespace",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deletePasswordForUser(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==i)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("namespace",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteUser(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("force",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findRichUsers(e,i="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}findRichUsersWithAttributes(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("searchString",e)),i&&i.forEach(g=>{r=r.append("attrsNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findUsers(e,i="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}generateAccountForName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("namespace",e)),null!=i&&(r=r.set("name",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichUsersWithAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("includedSpecificUsers",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedRichResourcesForUser(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupsForFacilityWhereUserIsActive(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==i)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("facility",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsForResourceWhereUserIsActive(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==i)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("resource",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsInVoWhereUserIsAdmin(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==i)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("vo",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsWhereUserIsAdmin(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getPendingPreferredEmailChanges(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRichUserExtSources(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRichUserWithAttributes(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRichUsersByIds(e,i="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRichUsersWithAttributesByIds(e,i="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRichUsersWithoutVoWithAttributes(e,i="body",s=!1){let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrsNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getSpecificUsersByUser(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getSponsorsForMember(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),i&&i.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsForMemberByVoAndLogin(e,i,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==i)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let u=new D.LE({encoder:this.encoder});null!=e&&(u=u.set("vo",e)),null!=i&&(u=u.set("extSourceName",i)),null!=s&&(u=u.set("extLogin",s)),a&&a.forEach($=>{u=u.append("attrNames[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:u,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserByExtSourceNameAndExtLogin(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==i)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("extLogin",e)),null!=i&&(r=r.set("extSourceName",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserExtSourceByExtLoginAndExtSourceName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");if(null==i)throw new Error("Required parameter extSourceLogin was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("extSourceName",e)),null!=i&&(r=r.set("extSourceLogin",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByExtLoginAndExtSourceName`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==i)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeId",e)),null!=i&&(r=r.set("attributeValue",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==i)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeName",e)),null!=i&&(r=r.set("attributeValue",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSources(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserExtSourcesByIds(e,i="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUsers(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUsersByIds(e,i="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUsersBySpecificUser(e,i="body",s=!1){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUsersPage(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}getVosWhereUserIsAdmin(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVosWhereUserIsMember(e,i="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}isLoginAvailable(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==i)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("loginNamespace",e)),null!=i&&(r=r.set("login",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}loginExist(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==i)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("namespace",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSpecificUserOwner(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==i)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("specificUser",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSource(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=i&&(c=c.set("userExtSource",i)),null!=s&&(c=c.set("force",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}requestPreferredEmailChange(e,i,s,a,r,c,u="body",h=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==i)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("user",e)),null!=i&&(g=g.set("email",i)),null!=s&&(g=g.set("lang",s)),null!=a&&(g=g.set("linkPath",a)),null!=r&&(g=g.set("customUrl",r)),null!=c&&(g=g.set("idpFilter",c));let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ye="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+ye)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(O=O.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:u,reportProgress:h})}reservePasswordForLogin(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==i)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("login",e)),null!=i&&(c=c.set("namespace",i)),null!=s&&(c=c.set("password",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}reservePasswordForUser(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==i)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=i&&(c=c.set("namespace",i)),null!=s&&(c=c.set("password",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}reserveRandomPassword(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==i)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("namespace",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateUser(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}updateUserExtSourceLastAccess(e,i="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling updateUserExtSourceLastAccess.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/updateUserExtSourceLastAccess`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}validatePasswordForLogin(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==i)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=i&&(r=r.set("namespace",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePasswordForUser(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==i)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=i&&(r=r.set("namespace",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePreferredEmailChangeWithToken(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==i)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("token",e)),null!=i&&(r=r.set("u",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(D.eN),t.LFG(Ti,8),t.LFG(Qe,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Tt=(()=>{class n{constructor(e,i,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new Ne}getAppsConfig(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGuiConfiguration(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getPerunRPCVersion(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getPerunStatistics(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getPerunStatus(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getPerunSystemTimeInMillis(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(D.eN),t.LFG(Ti,8),t.LFG(Qe,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),_r=(()=>{class n{constructor(e,i,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new Ne}addMemberVo(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addMemberVo.");if(null==i)throw new Error("Required parameter memberVo was null or undefined when calling addMemberVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("memberVo",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addMemberVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addSponsorRoleToGroup(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==i)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("authorizedGroup",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addSponsorRoleToUser(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==i)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("user",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminGroup(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==i)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("authorizedGroup",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminUser(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==i)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("user",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithName(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==i)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=i&&(r=r.set("shortName",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithVo(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}deleteVo(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("force",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findCandidates(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("id",e)),null!=i&&(c=c.set("searchString",i)),null!=s&&(c=c.set("maxNumOfResults",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}findCandidatesForGroup(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("searchString",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllVos(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getCompleteCandidatesForGroup(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),i&&i.forEach(O=>{c=c.append("attrNames[]",O)}),null!=s&&(c=c.set("searchString",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getCompleteCandidatesForVo(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),i&&i.forEach(O=>{c=c.append("attrNames[]",O)}),null!=s&&(c=c.set("searchString",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getEnrichedVoById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedVoById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVoById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberVos(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberVos.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getMemberVos`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMyEnrichedVos(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMyVos(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getParentVos(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getParentVos.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getParentVos`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRichAdminsForVo(e,i,s,a,r,c="body",u=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==i)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==a)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("vo",e)),null!=i&&(h=h.set("role",i)),s&&s.forEach(re=>{h=h.append("specificAttributes",re)}),null!=a&&(h=h.set("allUserAttributes",a)),null!=r&&(h=h.set("onlyDirectAdmins",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+re)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:u})}getVoAdminGroups(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==i)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("role",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAdminUsers(e,i,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==i)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=i&&(c=c.set("role",i)),null!=s&&(c=c.set("onlyDirectAdmins",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(u=u.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:r})}getVoBanById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoBanForMember(e,i="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoBansForVo(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoById(e,i="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoByShortName(e,i="body",s=!1){if(null==e)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("shortName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoMembersCountsByStatus(e,i="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVosByIds(e,i="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVosCount(e="body",i=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeMemberVo(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeMemberVo.");if(null==i)throw new Error("Required parameter memberVo was null or undefined when calling removeMemberVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("memberVo",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeMemberVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSponsorRoleFromGroup(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==i)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("authorizedGroup",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSponsorRoleFromUser(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==i)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("user",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminGroup(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==i)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("authorizedGroup",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminUser(e,i,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==i)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("user",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoBan(e,i="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeVoBanForMember(e,i="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(r=r.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}setVoBan(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}updateVo(e,i="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(D.eN),t.LFG(Ti,8),t.LFG(Qe,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Rt=(()=>{return(n=Rt||(Rt={})).PERUNADMIN="PERUNADMIN",n.PERUNOBSERVER="PERUNOBSERVER",n.VOADMIN="VOADMIN",n.GROUPADMIN="GROUPADMIN",n.SELF="SELF",n.FACILITYADMIN="FACILITYADMIN",n.FACILITIYOBSERVER="FACILITYOBSERVER",n.RESOURCEADMIN="RESOURCEADMIN",n.RESOURCESELFSERVICE="RESOURCESELFSERVICE",n.REGISTRAR="REGISTRAR",n.ENGINE="ENGINE",n.RPC="RPC",n.NOTIFICATIONS="NOTIFICATIONS",n.SERVICEUSER="SERVICEUSER",n.SPONSOR="SPONSOR",n.VOOBSERVER="VOOBSERVER",n.TOPGROUPCREATOR="TOPGROUPCREATOR",n.SECURITYADMIN="SECURITYADMIN",n.CABINETADMIN="CABINETADMIN",n.UNKNOWNROLENAME="UNKNOWNROLENAME",Rt;var n})();let Ga=(()=>{class n{constructor(e){this.authzSevice=e,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(e){this.principal=e,this.initData(e)}setPerunPolicies(e){this.perunPolicies=e}getPerunPolicies(){return this.perunPolicies}isAuthorized(e,i){if(null===this.principal.roles)return!1;const s=this.fetchPolicyWithAllIncludedPolicies(e);let a=[];for(const c of s)a=a.concat(c.perunRoles);const r=this.fetchAllRelatedObjects(i);return this.resolveAuthorization(a,r)}resolveAuthorization(e,i){for(const s of e){let a=!0;for(const r of Object.keys(s)){const c=s[r];if(null===c)this.principalRoles.has(r)||(a=!1);else if(i[c]){for(const u of i[c])if(!this.principalHasRole(r,c,u)){a=!1;break}}else a=!1;if(!a)break}if(a)return!0}return!1}fetchAllRelatedObjects(e){const i={};for(const s of e){let a=s.beanName;switch(s.beanName.startsWith("Rich")&&(a=s.beanName.substring(4)),i[a]?i[a].push(s.id):i[a]=[s.id],a){case"Member":i.User?i.User.push(s.userId):i.User=[s.userId],i.Vo?i.Vo.push(s.voId):i.Vo=[s.voId];break;case"Group":case"ResourceTag":i.Vo?i.Vo.push(s.voId):i.Vo=[s.voId];break;case"Resource":i.Facility?i.Facility.push(s.facilityId):i.Facility=[s.facilityId],i.Vo?i.Vo.push(s.voId):i.Vo=[s.voId]}}return i}principalHasRole(e,i,s){let a=i;return i.startsWith("Rich")&&(a=i.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][a])&&this.principal.roles[e][a].includes(Number(s.toString()))}fetchPolicyWithAllIncludedPolicies(e){const i=new Map;let s=[];for(s.push(e);0!==s.length;){const r=s.shift();if(i.has(r)){console.log("Policy {} creates a cycle in the included policies of the policy {}",r,e);continue}const c=this.getPerunPolicy(r);if(!c)return[];i.set(r,c),s=s.concat(c.includePolicies)}const a=[];for(const r of i.values())a.push(r);return a}getPerunPolicy(e){for(const i of this.perunPolicies)if(i.policyName===e)return i;return console.log("policy with name"+e+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER,Rt.FACILITYADMIN,Rt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(Rt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(Rt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(Rt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(Rt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(Rt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(Rt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.VOOBSERVER,Rt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER)||this.observableVos.includes(e)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((e,i)=>{this.authzSevice.getAllRolesManagementRules().subscribe(s=>{this.allRolesManagementRules=s,e()},s=>i(s))})}assignAvailableRoles(e,i){this.allRolesManagementRules.forEach(s=>{s.primaryObject===i&&e.push(s.roleName)}),e.sort(),"Vo"===i&&this.voCustomSort(e)}isManagerPagePrivileged(e){const i=[];let s=e.beanName;s.startsWith("Rich")&&(s=s.substr(4)),this.assignAvailableRoles(i,s);const a=new Map;this.getRolesAuthorization(i,e,a);for(const r of a.values())if(r.readAuth||r.manageAuth)return!0;return!1}getRolesAuthorization(e,i,s){for(const a of e){let r=[],c=[],u=[];for(const $ of this.allRolesManagementRules)if($.roleName===a){r=r.concat($.privilegedRolesToRead),c=c.concat($.privilegedRolesToManage);for(const re of Object.keys($.entitiesToManage))u="User"===re?[re].concat(u):u.concat(re);break}const h=this.fetchAllRelatedObjects([i]),g=this.resolveAuthorization(r,h),O=this.resolveAuthorization(c,h);s.set(a,{readAuth:g,manageAuth:O,modes:u})}}voCustomSort(e){for(let i=0;i{let e;try{e=n()}catch(s){return void o.error(s)}return(e?(0,Sn.D)(e):(0,Us.c)()).subscribe(o)})}var Mu=M(1762),ct=M(4850),Ii=M(7545),Zt=M(2986),Jr=M(2866);function li(...n){const o=n[n.length-1];return(0,Jr.K)(o)?(n.pop(),e=>Bo(n,e,o)):e=>Bo(n,e)}var bs=M(3489);function Wa(n,o){let e=!1;return arguments.length>=2&&(e=!0),function(s){return s.lift(new ea(n,o,e))}}class ea{constructor(o,e,i=!1){this.accumulator=o,this.seed=e,this.hasSeed=i}call(o,e){return e.subscribe(new vu(o,this.accumulator,this.seed,this.hasSeed))}}class vu extends bs.L{constructor(o,e,i,s){super(o),this.accumulator=e,this._seed=i,this.hasSeed=s,this.index=0}get seed(){return this._seed}set seed(o){this.hasSeed=!0,this._seed=o}_next(o){if(this.hasSeed)return this._tryNext(o);this.seed=o,this.destination.next(o)}_tryNext(o){const e=this.index++;let i;try{i=this.accumulator(this.seed,o,e)}catch(s){this.destination.error(s)}this.seed=i,this.destination.next(i)}}var Ai=M(7221),Gs=M(1406),Xd=M(4231);function Ar(n){return function(e){return 0===n?(0,Us.c)():e.lift(new Ci(n))}}class Ci{constructor(o){if(this.total=o,this.total<0)throw new Xd.W}call(o,e){return e.subscribe(new wr(o,this.total))}}class wr extends bs.L{constructor(o,e){super(o),this.total=e,this.ring=new Array,this.count=0}_next(o){const e=this.ring,i=this.total,s=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,s=this.ring;for(let a=0;ao.lift(new _e(n))}class _e{constructor(o){this.callback=o}call(o,e){return e.subscribe(new Ce(o,this.callback))}}class Ce extends bs.L{constructor(o,e){super(o),this.add(new V.w(e))}}class Ze{constructor(o,e){this.id=o,this.url=e}}class ii extends Ze{constructor(o,e,i="imperative",s=null){super(o,e),this.navigationTrigger=i,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class qt extends Ze{constructor(o,e,i){super(o,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class kt extends Ze{constructor(o,e,i){super(o,e),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Yt extends Ze{constructor(o,e,i){super(o,e),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class en extends Ze{constructor(o,e,i,s){super(o,e),this.urlAfterRedirects=i,this.state=s}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Si extends Ze{constructor(o,e,i,s){super(o,e),this.urlAfterRedirects=i,this.state=s}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Li extends Ze{constructor(o,e,i,s,a){super(o,e),this.urlAfterRedirects=i,this.state=s,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class bo extends Ze{constructor(o,e,i,s){super(o,e),this.urlAfterRedirects=i,this.state=s}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Rs extends Ze{constructor(o,e,i,s){super(o,e),this.urlAfterRedirects=i,this.state=s}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lt{constructor(o){this.route=o}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Fo{constructor(o){this.route=o}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class nl{constructor(o){this.snapshot=o}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ka{constructor(o){this.snapshot=o}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Za{constructor(o){this.snapshot=o}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qd{constructor(o){this.snapshot=o}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mr{constructor(o,e,i){this.routerEvent=o,this.position=e,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const jt="primary";class Ee{constructor(o){this.params=o||{}}has(o){return Object.prototype.hasOwnProperty.call(this.params,o)}get(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e[0]:e}return null}getAll(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Bt(n){return new Ee(n)}const $a="ngNavigationCancelingError";function Gi(n){const o=Error("NavigationCancelingError: "+n);return o[$a]=!0,o}function Xa(n,o,e){const i=e.path.split("/");if(i.length>n.length||"full"===e.pathMatch&&(o.hasChildren()||i.lengthi[a]===s)}return n===o}function eh(n){return Array.prototype.concat.apply([],n)}function wi(n){return n.length>0?n[n.length-1]:null}function tn(n,o){for(const e in n)n.hasOwnProperty(e)&&o(n[e],e)}function Ei(n){return(0,t.CqO)(n)?n:(0,t.QGY)(n)?(0,Sn.D)(Promise.resolve(n)):(0,Ge.of)(n)}const th={exact:function Cu(n,o,e){if(!ys(n.segments,o.segments)||!qo(n.segments,o.segments,e)||n.numberOfChildren!==o.numberOfChildren)return!1;for(const i in o.children)if(!n.children[i]||!Cu(n.children[i],o.children[i],e))return!1;return!0},subset:Qa},vr={exact:function pp(n,o){return cs(n,o)},subset:function gp(n,o){return Object.keys(o).length<=Object.keys(n).length&&Object.keys(o).every(e=>sl(n[e],o[e]))},ignored:()=>!0};function Qn(n,o,e){return th[e.paths](n.root,o.root,e.matrixParams)&&vr[e.queryParams](n.queryParams,o.queryParams)&&!("exact"===e.fragment&&n.fragment!==o.fragment)}function Qa(n,o,e){return Tr(n,o,o.segments,e)}function Tr(n,o,e,i){if(n.segments.length>e.length){const s=n.segments.slice(0,e.length);return!(!ys(s,e)||o.hasChildren()||!qo(s,e,i))}if(n.segments.length===e.length){if(!ys(n.segments,e)||!qo(n.segments,e,i))return!1;for(const s in o.children)if(!n.children[s]||!Qa(n.children[s],o.children[s],i))return!1;return!0}{const s=e.slice(0,n.segments.length),a=e.slice(n.segments.length);return!!(ys(n.segments,s)&&qo(n.segments,s,i)&&n.children[jt])&&Tr(n.children[jt],o,a,i)}}function qo(n,o,e){return o.every((i,s)=>vr[e](n[s].parameters,i.parameters))}class jo{constructor(o,e,i){this.root=o,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Bt(this.queryParams)),this._queryParamMap}toString(){return ih.serialize(this)}}class Ft{constructor(o,e){this.segments=o,this.children=e,this.parent=null,tn(e,(i,s)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Cr(this)}}class Ja{constructor(o,e){this.path=o,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Bt(this.parameters)),this._parameterMap}toString(){return Du(this)}}function ys(n,o){return n.length===o.length&&n.every((e,i)=>e.path===o[i].path)}class Su{}class Eu{parse(o){const e=new _p(o);return new jo(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(o){const e=`/${ec(o.root,!0)}`,i=function Os(n){const o=Object.keys(n).map(e=>{const i=n[e];return Array.isArray(i)?i.map(s=>`${pn(e)}=${pn(s)}`).join("&"):`${pn(e)}=${pn(i)}`}).filter(e=>!!e);return o.length?`?${o.join("&")}`:""}(o.queryParams);return`${e}${i}${"string"==typeof o.fragment?`#${function Yo(n){return encodeURI(n)}(o.fragment)}`:""}`}}const ih=new Eu;function Cr(n){return n.segments.map(o=>Du(o)).join("/")}function ec(n,o){if(!n.hasChildren())return Cr(n);if(o){const e=n.children[jt]?ec(n.children[jt],!1):"",i=[];return tn(n.children,(s,a)=>{a!==jt&&i.push(`${a}:${ec(s,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function rl(n,o){let e=[];return tn(n.children,(i,s)=>{s===jt&&(e=e.concat(o(i,s)))}),tn(n.children,(i,s)=>{s!==jt&&(e=e.concat(o(i,s)))}),e}(n,(i,s)=>s===jt?[ec(n.children[jt],!1)]:[`${s}:${ec(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[jt]?`${Cr(n)}/${e[0]}`:`${Cr(n)}/(${e.join("//")})`}}function nh(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pn(n){return nh(n).replace(/%3B/gi,";")}function Ri(n){return nh(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function tc(n){return decodeURIComponent(n)}function ku(n){return tc(n.replace(/\+/g,"%20"))}function Du(n){return`${Ri(n.path)}${function mp(n){return Object.keys(n).map(o=>`;${Ri(o)}=${Ri(n[o])}`).join("")}(n.parameters)}`}const Sr=/^[^\/()?;=#]+/;function Uo(n){const o=n.match(Sr);return o?o[0]:""}const al=/^[^=?&#]+/,cl=/^[^&#]+/;class _p{constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ft([],{}):new Ft([],this.parseChildren())}parseQueryParams(){const o={};if(this.consumeOptional("?"))do{this.parseQueryParam(o)}while(this.consumeOptional("&"));return o}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const o=[];for(this.peekStartsWith("(")||o.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),o.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(o.length>0||Object.keys(e).length>0)&&(i[jt]=new Ft(o,e)),i}parseSegment(){const o=Uo(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(o),new Ja(tc(o),this.parseMatrixParams())}parseMatrixParams(){const o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){const e=Uo(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=Uo(this.remaining);s&&(i=s,this.capture(i))}o[tc(e)]=tc(i)}parseQueryParam(o){const e=function ic(n){const o=n.match(al);return o?o[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=function sh(n){const o=n.match(cl);return o?o[0]:""}(this.remaining);r&&(i=r,this.capture(i))}const s=ku(e),a=ku(i);if(o.hasOwnProperty(s)){let r=o[s];Array.isArray(r)||(r=[r],o[s]=r),r.push(a)}else o[s]=a}parseParens(o){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Uo(this.remaining),s=this.remaining[i.length];if("/"!==s&&")"!==s&&";"!==s)throw new Error(`Cannot parse url '${this.url}'`);let a;i.indexOf(":")>-1?(a=i.substr(0,i.indexOf(":")),this.capture(a),this.capture(":")):o&&(a=jt);const r=this.parseChildren();e[a]=1===Object.keys(r).length?r[jt]:new Ft([],r),this.consumeOptional("//")}return e}peekStartsWith(o){return this.remaining.startsWith(o)}consumeOptional(o){return!!this.peekStartsWith(o)&&(this.remaining=this.remaining.substring(o.length),!0)}capture(o){if(!this.consumeOptional(o))throw new Error(`Expected "${o}".`)}}class Ws{constructor(o){this._root=o}get root(){return this._root.value}parent(o){const e=this.pathFromRoot(o);return e.length>1?e[e.length-2]:null}children(o){const e=Er(o,this._root);return e?e.children.map(i=>i.value):[]}firstChild(o){const e=Er(o,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(o){const e=xu(o,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==o)}pathFromRoot(o){return xu(o,this._root).map(e=>e.value)}}function Er(n,o){if(n===o.value)return o;for(const e of o.children){const i=Er(n,e);if(i)return i}return null}function xu(n,o){if(n===o.value)return[o];for(const e of o.children){const i=xu(n,e);if(i.length)return i.unshift(o),i}return[]}class Ao{constructor(o,e){this.value=o,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ks(n){const o={};return n&&n.children.forEach(e=>o[e.value.outlet]=e),o}class ll extends Ws{constructor(o,e){super(o),this.snapshot=e,ia(this,o)}toString(){return this.snapshot.toString()}}function oh(n,o){const e=function bp(n,o){const r=new nc([],{},{},"",{},jt,o,null,n.root,-1,{});return new dl("",new Ao(r,[]))}(n,o),i=new on([new Ja("",{})]),s=new on({}),a=new on({}),r=new on({}),c=new on(""),u=new As(i,s,r,c,a,jt,o,e.root);return u.snapshot=e.root,new ll(new Ao(u,[]),e)}class As{constructor(o,e,i,s,a,r,c,u){this.url=o,this.params=e,this.queryParams=i,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this._futureSnapshot=u}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ct.U)(o=>Bt(o)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ct.U)(o=>Bt(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function yp(n,o="emptyOnly"){const e=n.pathFromRoot;let i=0;if("always"!==o)for(i=e.length-1;i>=1;){const s=e[i],a=e[i-1];if(s.routeConfig&&""===s.routeConfig.path)i--;else{if(a.component)break;i--}}return function ul(n){return n.reduce((o,e)=>({params:Object.assign(Object.assign({},o.params),e.params),data:Object.assign(Object.assign({},o.data),e.data),resolve:Object.assign(Object.assign({},o.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(i))}class nc{constructor(o,e,i,s,a,r,c,u,h,g,O){this.url=o,this.params=e,this.queryParams=i,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this.routeConfig=u,this._urlSegment=h,this._lastPathIndex=g,this._resolve=O}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Bt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Bt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class dl extends Ws{constructor(o,e){super(e),this.url=o,ia(this,e)}toString(){return Lu(this._root)}}function ia(n,o){o.value._routerState=n,o.children.forEach(e=>ia(n,e))}function Lu(n){const o=n.children.length>0?` { ${n.children.map(Lu).join(", ")} } `:"";return`${n.value}${o}`}function kr(n){if(n.snapshot){const o=n.snapshot,e=n._futureSnapshot;n.snapshot=e,cs(o.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),o.fragment!==e.fragment&&n.fragment.next(e.fragment),cs(o.params,e.params)||n.params.next(e.params),function Vs(n,o){if(n.length!==o.length)return!1;for(let e=0;ecs(e.parameters,o[i].parameters))}(n.url,o.url);return e&&!(!n.parent!=!o.parent)&&(!n.parent||Go(n.parent,o.parent))}function Zs(n,o,e){if(e&&n.shouldReuseRoute(o.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=o.value;const s=function Ru(n,o,e){return o.children.map(i=>{for(const s of e.children)if(n.shouldReuseRoute(i.value,s.value.snapshot))return Zs(n,i,s);return Zs(n,i)})}(n,o,e);return new Ao(i,s)}{if(n.shouldAttach(o.value)){const a=n.retrieve(o.value);if(null!==a){const r=a.route;return r.value._futureSnapshot=o.value,r.children=o.children.map(c=>Zs(n,c)),r}}const i=function hl(n){return new As(new on(n.url),new on(n.params),new on(n.queryParams),new on(n.fragment),new on(n.data),n.outlet,n.component,n)}(o.value),s=o.children.map(a=>Zs(n,a));return new Ao(i,s)}}function sc(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function na(n){return"object"==typeof n&&null!=n&&n.outlets}function fl(n,o,e,i,s){let a={};return i&&tn(i,(r,c)=>{a[c]=Array.isArray(r)?r.map(u=>`${u}`):`${r}`}),new jo(e.root===n?o:Ou(e.root,n,o),a,s)}function Ou(n,o,e){const i={};return tn(n.children,(s,a)=>{i[a]=s===o?e:Ou(s,o,e)}),new Ft(n.segments,i)}class Dr{constructor(o,e,i){if(this.isAbsolute=o,this.numberOfDoubleDots=e,this.commands=i,o&&i.length>0&&sc(i[0]))throw new Error("Root segment cannot have matrix parameters");const s=i.find(na);if(s&&s!==wi(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class $s{constructor(o,e,i){this.segmentGroup=o,this.processChildren=e,this.index=i}}function pl(n,o,e){if(n||(n=new Ft([],{})),0===n.segments.length&&n.hasChildren())return ra(n,o,e);const i=function rh(n,o,e){let i=0,s=o;const a={match:!1,pathIndex:0,commandIndex:0};for(;s=e.length)return a;const r=n.segments[s],c=e[i];if(na(c))break;const u=`${c}`,h=i0&&void 0===u)break;if(u&&h&&"object"==typeof h&&void 0===h.outlets){if(!rc(u,h,r))return a;i+=2}else{if(!rc(u,{},r))return a;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(n,o,e),s=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(s[r]=pl(n.children[r],o,a))}),tn(n.children,(a,r)=>{void 0===i[r]&&(s[r]=a)}),new Ft(n.segments,s)}}function gl(n,o,e){const i=n.segments.slice(0,o);let s=0;for(;s{"string"==typeof e&&(e=[e]),null!==e&&(o[i]=gl(new Ft([],{}),0,e))}),o}function ah(n){const o={};return tn(n,(e,i)=>o[i]=`${e}`),o}function rc(n,o,e){return n==e.path&&cs(o,e.parameters)}class Mp{constructor(o,e,i,s){this.routeReuseStrategy=o,this.futureState=e,this.currState=i,this.forwardEvent=s}activate(o){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,o),kr(this.futureState.root),this.activateChildRoutes(e,i,o)}deactivateChildRoutes(o,e,i){const s=Ks(e);o.children.forEach(a=>{const r=a.value.outlet;this.deactivateRoutes(a,s[r],i),delete s[r]}),tn(s,(a,r)=>{this.deactivateRouteAndItsChildren(a,i)})}deactivateRoutes(o,e,i){const s=o.value,a=e?e.value:null;if(s===a)if(s.component){const r=i.getContext(s.outlet);r&&this.deactivateChildRoutes(o,e,r.children)}else this.deactivateChildRoutes(o,e,i);else a&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(o,e){o.value.component&&this.routeReuseStrategy.shouldDetach(o.value.snapshot)?this.detachAndStoreRouteSubtree(o,e):this.deactivateRouteAndOutlet(o,e)}detachAndStoreRouteSubtree(o,e){const i=e.getContext(o.value.outlet),s=i&&o.value.component?i.children:e,a=Ks(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);if(i&&i.outlet){const r=i.outlet.detach(),c=i.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:r,route:o,contexts:c})}}deactivateRouteAndOutlet(o,e){const i=e.getContext(o.value.outlet),s=i&&o.value.component?i.children:e,a=Ks(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(o,e,i){const s=Ks(e);o.children.forEach(a=>{this.activateRoutes(a,s[a.value.outlet],i),this.forwardEvent(new Qd(a.value.snapshot))}),o.children.length&&this.forwardEvent(new Ka(o.value.snapshot))}activateRoutes(o,e,i){const s=o.value,a=e?e.value:null;if(kr(s),s===a)if(s.component){const r=i.getOrCreateContext(s.outlet);this.activateChildRoutes(o,e,r.children)}else this.activateChildRoutes(o,e,i);else if(s.component){const r=i.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const c=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),r.children.onOutletReAttached(c.contexts),r.attachRef=c.componentRef,r.route=c.route.value,r.outlet&&r.outlet.attach(c.componentRef,c.route.value),kr(c.route.value),this.activateChildRoutes(o,null,r.children)}else{const c=function ch(n){for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(s.snapshot),u=c?c.module.componentFactoryResolver:null;r.attachRef=null,r.route=s,r.resolver=u,r.outlet&&r.outlet.activateWith(s,u),this.activateChildRoutes(o,null,r.children)}}else this.activateChildRoutes(o,null,i)}}class ml{constructor(o,e){this.routes=o,this.module=e}}function ls(n){return"function"==typeof n}function wo(n){return n instanceof jo}const ua=Symbol("INITIAL_VALUE");function Lr(){return(0,Ii.w)(n=>(0,Qr.aj)(n.map(o=>o.pipe((0,Zt.q)(1),li(ua)))).pipe(Wa((o,e)=>{let i=!1;return e.reduce((s,a,r)=>s!==ua?s:(a===ua&&(i=!0),i||!1!==a&&r!==e.length-1&&!wo(a)?s:a),o)},ua),(0,Ht.h)(o=>o!==ua),(0,ct.U)(o=>wo(o)?o:!0===o),(0,Zt.q)(1)))}class da{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new _l,this.attachRef=null}}class _l{constructor(){this.contexts=new Map}onChildOutletCreated(o,e){const i=this.getOrCreateContext(o);i.outlet=e,this.contexts.set(o,i)}onChildOutletDestroyed(o){const e=this.getContext(o);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const o=this.contexts;return this.contexts=new Map,o}onOutletReAttached(o){this.contexts=o}getOrCreateContext(o){let e=this.getContext(o);return e||(e=new da,this.contexts.set(o,e)),e}getContext(o){return this.contexts.get(o)||null}}let Rr=(()=>{class n{constructor(e,i,s,a,r){this.parentContexts=e,this.location=i,this.resolver=s,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new t.vpe,this.deactivateEvents=new t.vpe,this.attachEvents=new t.vpe,this.detachEvents=new t.vpe,this.name=a||jt,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const r=(i=i||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),c=this.parentContexts.getOrCreateContext(this.name).children,u=new Bi(e,c,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,u),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(_l),t.Y36(t.s_b),t.Y36(t._Vd),t.$8M("name"),t.Y36(t.sBO))},n.\u0275dir=t.lG2({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),n})();class Bi{constructor(o,e,i){this.route=o,this.childContexts=e,this.parent=i}get(o,e){return o===As?this.route:o===_l?this.childContexts:this.parent.get(o,e)}}let bl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,i){1&e&&t._UZ(0,"router-outlet")},directives:[Rr],encapsulation:2}),n})();function vp(n,o=""){for(let e=0;eJn(i)===o);return e.push(...n.filter(i=>Jn(i)!==o)),e}const ha={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function zu(n,o,e){var i;if(""===o.path)return"full"===o.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},ha):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const a=(o.matcher||Xa)(e,n,o);if(!a)return Object.assign({},ha);const r={};tn(a.posParams,(u,h)=>{r[h]=u.path});const c=a.consumed.length>0?Object.assign(Object.assign({},r),a.consumed[a.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:a.consumed,lastChild:a.consumed.length,parameters:c,positionalParamSegments:null!==(i=a.posParams)&&void 0!==i?i:{}}}function Fi(n,o,e,i,s="corrected"){if(e.length>0&&function Cp(n,o,e){return e.some(i=>jn(n,o,i)&&Jn(i)!==jt)}(n,e,i)){const r=new Ft(o,function cc(n,o,e,i){const s={};s[jt]=i,i._sourceSegment=n,i._segmentIndexShift=o.length;for(const a of e)if(""===a.path&&Jn(a)!==jt){const r=new Ft([],{});r._sourceSegment=n,r._segmentIndexShift=o.length,s[Jn(a)]=r}return s}(n,o,i,new Ft(e,n.children)));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:[]}}if(0===e.length&&function Sp(n,o,e){return e.some(i=>jn(n,o,i))}(n,e,i)){const r=new Ft(n.segments,function Iu(n,o,e,i,s,a){const r={};for(const c of i)if(jn(n,e,c)&&!s[Jn(c)]){const u=new Ft([],{});u._sourceSegment=n,u._segmentIndexShift="legacy"===a?n.segments.length:o.length,r[Jn(c)]=u}return Object.assign(Object.assign({},s),r)}(n,o,e,i,n.children,s));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:e}}const a=new Ft(n.segments,n.children);return a._sourceSegment=n,a._segmentIndexShift=o.length,{segmentGroup:a,slicedSegments:e}}function jn(n,o,e){return(!(n.hasChildren()||o.length>0)||"full"!==e.pathMatch)&&""===e.path}function ws(n,o,e,i){return!!(Jn(n)===i||i!==jt&&jn(o,e,n))&&("**"===n.path||zu(o,n,e).matched)}function Nu(n,o,e){return 0===o.length&&!n.children[e]}class Vo{constructor(o){this.segmentGroup=o||null}}class fa{constructor(o){this.urlTree=o}}function Ms(n){return new Ji.y(o=>o.error(new Vo(n)))}function Hu(n){return new Ji.y(o=>o.error(new fa(n)))}function Ep(n){return new Ji.y(o=>o.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`)))}class Pe{constructor(o,e,i,s,a){this.configLoader=e,this.urlSerializer=i,this.urlTree=s,this.config=a,this.allowRedirects=!0,this.ngModule=o.get(t.h0i)}apply(){const o=Fi(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ft(o.segments,o.children);return this.expandSegmentGroup(this.ngModule,this.config,e,jt).pipe((0,ct.U)(a=>this.createUrlTree(lc(a),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Ai.K)(a=>{if(a instanceof fa)return this.allowRedirects=!1,this.match(a.urlTree);throw a instanceof Vo?this.noMatchError(a):a}))}match(o){return this.expandSegmentGroup(this.ngModule,this.config,o.root,jt).pipe((0,ct.U)(s=>this.createUrlTree(lc(s),o.queryParams,o.fragment))).pipe((0,Ai.K)(s=>{throw s instanceof Vo?this.noMatchError(s):s}))}noMatchError(o){return new Error(`Cannot match any routes. URL Segment: '${o.segmentGroup}'`)}createUrlTree(o,e,i){const s=o.segments.length>0?new Ft([],{[jt]:o}):o;return new jo(s,e,i)}expandSegmentGroup(o,e,i,s){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(o,e,i).pipe((0,ct.U)(a=>new Ft([],a))):this.expandSegment(o,i,e,i.segments,s,!0)}expandChildren(o,e,i){const s=[];for(const a of Object.keys(i.children))"primary"===a?s.unshift(a):s.push(a);return(0,Sn.D)(s).pipe((0,Gs.b)(a=>{const r=i.children[a],c=Tp(e,a);return this.expandSegmentGroup(o,c,r,a).pipe((0,ct.U)(u=>({segment:u,outlet:a})))}),Wa((a,r)=>(a[r.outlet]=r.segment,a),{}),function fp(n,o){const e=arguments.length>=2;return i=>i.pipe(n?(0,Ht.h)((s,a)=>n(s,a,i)):ta.y,Ar(1),e?(0,il.d)(o):(0,_o.T)(()=>new Va.K))}())}expandSegment(o,e,i,s,a,r){return(0,Sn.D)(i).pipe((0,Gs.b)(c=>this.expandSegmentAgainstRoute(o,e,i,c,s,a,r).pipe((0,Ai.K)(h=>{if(h instanceof Vo)return(0,Ge.of)(null);throw h}))),(0,si.P)(c=>!!c),(0,Ai.K)((c,u)=>{if(c instanceof Va.K||"EmptyError"===c.name){if(Nu(e,s,a))return(0,Ge.of)(new Ft([],{}));throw new Vo(e)}throw c}))}expandSegmentAgainstRoute(o,e,i,s,a,r,c){return ws(s,e,a,r)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(o,e,s,a,r):c&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(o,e,i,s,a,r):Ms(e):Ms(e)}expandSegmentAgainstRouteUsingRedirect(o,e,i,s,a,r){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(o,i,s,r):this.expandRegularSegmentAgainstRouteUsingRedirect(o,e,i,s,a,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(o,e,i,s){const a=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?Hu(a):this.lineralizeSegments(i,a).pipe((0,P.zg)(r=>{const c=new Ft(r,{});return this.expandSegment(o,c,e,r,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(o,e,i,s,a,r){const{matched:c,consumedSegments:u,lastChild:h,positionalParamSegments:g}=zu(e,s,a);if(!c)return Ms(e);const O=this.applyRedirectCommands(u,s.redirectTo,g);return s.redirectTo.startsWith("/")?Hu(O):this.lineralizeSegments(s,O).pipe((0,P.zg)($=>this.expandSegment(o,e,i,$.concat(a.slice(h)),r,!1)))}matchSegmentAgainstRoute(o,e,i,s,a){if("**"===i.path)return i.loadChildren?(i._loadedConfig?(0,Ge.of)(i._loadedConfig):this.configLoader.load(o.injector,i)).pipe((0,ct.U)($=>(i._loadedConfig=$,new Ft(s,{})))):(0,Ge.of)(new Ft(s,{}));const{matched:r,consumedSegments:c,lastChild:u}=zu(e,i,s);if(!r)return Ms(e);const h=s.slice(u);return this.getChildConfig(o,i,s).pipe((0,P.zg)(O=>{const $=O.module,re=O.routes,{segmentGroup:ye,slicedSegments:ve}=Fi(e,c,h,re),Le=new Ft(ye.segments,ye.children);if(0===ve.length&&Le.hasChildren())return this.expandChildren($,re,Le).pipe((0,ct.U)(bi=>new Ft(c,bi)));if(0===re.length&&0===ve.length)return(0,Ge.of)(new Ft(c,{}));const it=Jn(i)===a;return this.expandSegment($,Le,re,ve,it?jt:a,!0).pipe((0,ct.U)(It=>new Ft(c.concat(It.segments),It.children)))}))}getChildConfig(o,e,i){return e.children?(0,Ge.of)(new ml(e.children,o)):e.loadChildren?void 0!==e._loadedConfig?(0,Ge.of)(e._loadedConfig):this.runCanLoadGuards(o.injector,e,i).pipe((0,P.zg)(s=>s?this.configLoader.load(o.injector,e).pipe((0,ct.U)(a=>(e._loadedConfig=a,a))):function P1(n){return new Ji.y(o=>o.error(Gi(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`)))}(e))):(0,Ge.of)(new ml([],o))}runCanLoadGuards(o,e,i){const s=e.canLoad;if(!s||0===s.length)return(0,Ge.of)(!0);const a=s.map(r=>{const c=o.get(r);let u;if(function Pu(n){return n&&ls(n.canLoad)}(c))u=c.canLoad(e,i);else{if(!ls(c))throw new Error("Invalid CanLoad guard");u=c(e,i)}return Ei(u)});return(0,Ge.of)(a).pipe(Lr(),(0,U.b)(r=>{if(!wo(r))return;const c=Gi(`Redirecting to "${this.urlSerializer.serialize(r)}"`);throw c.url=r,c}),(0,ct.U)(r=>!0===r))}lineralizeSegments(o,e){let i=[],s=e.root;for(;;){if(i=i.concat(s.segments),0===s.numberOfChildren)return(0,Ge.of)(i);if(s.numberOfChildren>1||!s.children[jt])return Ep(o.redirectTo);s=s.children[jt]}}applyRedirectCommands(o,e,i){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),o,i)}applyRedirectCreatreUrlTree(o,e,i,s){const a=this.createSegmentGroup(o,e.root,i,s);return new jo(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(o,e){const i={};return tn(o,(s,a)=>{if("string"==typeof s&&s.startsWith(":")){const c=s.substring(1);i[a]=e[c]}else i[a]=s}),i}createSegmentGroup(o,e,i,s){const a=this.createSegments(o,e.segments,i,s);let r={};return tn(e.children,(c,u)=>{r[u]=this.createSegmentGroup(o,c,i,s)}),new Ft(a,r)}createSegments(o,e,i,s){return e.map(a=>a.path.startsWith(":")?this.findPosParam(o,a,s):this.findOrReturn(a,i))}findPosParam(o,e,i){const s=i[e.path.substring(1)];if(!s)throw new Error(`Cannot redirect to '${o}'. Cannot find '${e.path}'.`);return s}findOrReturn(o,e){let i=0;for(const s of e){if(s.path===o.path)return e.splice(i),s;i++}return o}}function lc(n){const o={};for(const i of Object.keys(n.children)){const a=lc(n.children[i]);(a.segments.length>0||a.hasChildren())&&(o[i]=a)}return function us(n){if(1===n.numberOfChildren&&n.children[jt]){const o=n.children[jt];return new Ft(n.segments.concat(o.segments),o.children)}return n}(new Ft(n.segments,o))}class Jt{constructor(o){this.path=o,this.route=this.path[this.path.length-1]}}class Wo{constructor(o,e){this.component=o,this.route=e}}function uh(n,o,e){const i=n._root;return uc(i,o?o._root:null,e,[i.value])}function Al(n,o,e){const i=function kp(n){if(!n)return null;for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(o);return(i?i.module.injector:e).get(n)}function uc(n,o,e,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=Ks(o);return n.children.forEach(r=>{(function dh(n,o,e,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=n.value,r=o?o.value:null,c=e?e.getContext(n.value.outlet):null;if(r&&a.routeConfig===r.routeConfig){const u=function Fu(n,o,e){if("function"==typeof e)return e(n,o);switch(e){case"pathParamsChange":return!ys(n.url,o.url);case"pathParamsOrQueryParamsChange":return!ys(n.url,o.url)||!cs(n.queryParams,o.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Go(n,o)||!cs(n.queryParams,o.queryParams);default:return!Go(n,o)}}(r,a,a.routeConfig.runGuardsAndResolvers);u?s.canActivateChecks.push(new Jt(i)):(a.data=r.data,a._resolvedData=r._resolvedData),uc(n,o,a.component?c?c.children:null:e,i,s),u&&c&&c.outlet&&c.outlet.isActivated&&s.canDeactivateChecks.push(new Wo(c.outlet.component,r))}else r&&En(o,c,s),s.canActivateChecks.push(new Jt(i)),uc(n,null,a.component?c?c.children:null:e,i,s)})(r,a[r.value.outlet],e,i.concat([r.value]),s),delete a[r.value.outlet]}),tn(a,(r,c)=>En(r,e.getContext(c),s)),s}function En(n,o,e){const i=Ks(n),s=n.value;tn(i,(a,r)=>{En(a,s.component?o?o.children.getContext(r):null:o,e)}),e.canDeactivateChecks.push(new Wo(s.component&&o&&o.outlet&&o.outlet.isActivated?o.outlet.component:null,s))}class xp{}function ga(n){return new Ji.y(o=>o.error(n))}class Lp{constructor(o,e,i,s,a,r){this.rootComponentType=o,this.config=e,this.urlTree=i,this.url=s,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=r}recognize(){const o=Fi(this.urlTree.root,[],[],this.config.filter(r=>void 0===r.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,o,jt);if(null===e)return null;const i=new nc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},jt,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new Ao(i,e),a=new dl(this.url,s);return this.inheritParamsAndData(a._root),a}inheritParamsAndData(o){const e=o.value,i=yp(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),o.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(o,e,i){return 0===e.segments.length&&e.hasChildren()?this.processChildren(o,e):this.processSegment(o,e,e.segments,i)}processChildren(o,e){const i=[];for(const a of Object.keys(e.children)){const r=e.children[a],c=Tp(o,a),u=this.processSegmentGroup(c,r,a);if(null===u)return null;i.push(...u)}const s=vl(i);return function gn(n){n.sort((o,e)=>o.value.outlet===jt?-1:e.value.outlet===jt?1:o.value.outlet.localeCompare(e.value.outlet))}(s),s}processSegment(o,e,i,s){for(const a of o){const r=this.processSegmentAgainstRoute(a,e,i,s);if(null!==r)return r}return Nu(e,i,s)?[]:null}processSegmentAgainstRoute(o,e,i,s){if(o.redirectTo||!ws(o,e,i,s))return null;let a,r=[],c=[];if("**"===o.path){const re=i.length>0?wi(i).parameters:{};a=new nc(i,re,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,_h(o),Jn(o),o.component,o,gh(e),mh(e)+i.length,ma(o))}else{const re=zu(e,o,i);if(!re.matched)return null;r=re.consumedSegments,c=i.slice(re.lastChild),a=new nc(r,re.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,_h(o),Jn(o),o.component,o,gh(e),mh(e)+r.length,ma(o))}const u=function ph(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(o),{segmentGroup:h,slicedSegments:g}=Fi(e,r,c,u.filter(re=>void 0===re.redirectTo),this.relativeLinkResolution);if(0===g.length&&h.hasChildren()){const re=this.processChildren(u,h);return null===re?null:[new Ao(a,re)]}if(0===u.length&&0===g.length)return[new Ao(a,[])];const O=Jn(o)===s,$=this.processSegment(u,h,g,O?jt:s);return null===$?null:[new Ao(a,$)]}}function Rp(n){const o=n.value.routeConfig;return o&&""===o.path&&void 0===o.redirectTo}function vl(n){const o=[],e=new Set;for(const i of n){if(!Rp(i)){o.push(i);continue}const s=o.find(a=>i.value.routeConfig===a.value.routeConfig);void 0!==s?(s.children.push(...i.children),e.add(s)):o.push(i)}for(const i of e){const s=vl(i.children);o.push(new Ao(i.value,s))}return o.filter(i=>!e.has(i))}function gh(n){let o=n;for(;o._sourceSegment;)o=o._sourceSegment;return o}function mh(n){let o=n,e=o._segmentIndexShift?o._segmentIndexShift:0;for(;o._sourceSegment;)o=o._sourceSegment,e+=o._segmentIndexShift?o._segmentIndexShift:0;return e-1}function _h(n){return n.data||{}}function ma(n){return n.resolve||{}}function ju(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function ba(n){return(0,Ii.w)(o=>{const e=n(o);return e?(0,Sn.D)(e).pipe((0,ct.U)(()=>o)):(0,Ge.of)(o)})}class zp extends class Pp{shouldDetach(o){return!1}store(o,e){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,e){return o.routeConfig===e.routeConfig}}{}const kn=new t.OlP("ROUTES");class Ps{constructor(o,e,i,s){this.injector=o,this.compiler=e,this.onLoadStartListener=i,this.onLoadEndListener=s}load(o,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const s=this.loadModuleFactory(e.loadChildren).pipe((0,ct.U)(a=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=a.create(o);return new ml(eh(r.injector.get(kn,void 0,t.XFs.Self|t.XFs.Optional)).map(yl),r)}),(0,Ai.K)(a=>{throw e._loader$=void 0,a}));return e._loader$=new Mu.c(s,()=>new xe.xQ).pipe((0,z.x)()),e._loader$}loadModuleFactory(o){return Ei(o()).pipe((0,P.zg)(e=>e instanceof t.YKP?(0,Ge.of)(e):(0,Sn.D)(this.compiler.compileModuleAsync(e))))}}class N1{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,e){return o}}function yh(n){throw n}function Np(n,o,e){return o.parse("/")}function Hp(n,o){return(0,Ge.of)(null)}const Uu={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ya={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Mi=(()=>{class n{constructor(e,i,s,a,r,c,u){this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=s,this.location=a,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new xe.xQ,this.errorHandler=yh,this.malformedUriErrorHandler=Np,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Hp,afterPreactivation:Hp},this.urlHandlingStrategy=new N1,this.routeReuseStrategy=new zp,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(t.h0i),this.console=r.get(t.c2e);const O=r.get(t.R0b);this.isNgZoneEnabled=O instanceof t.R0b&&t.R0b.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=function yo(){return new jo(new Ft([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ps(r,c,$=>this.triggerEvent(new lt($)),$=>this.triggerEvent(new Fo($))),this.routerState=oh(this.currentUrlTree,this.rootComponentType),this.transitions=new on({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe((0,Ht.h)(s=>0!==s.id),(0,ct.U)(s=>Object.assign(Object.assign({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),(0,Ii.w)(s=>{let a=!1,r=!1;return(0,Ge.of)(s).pipe((0,U.b)(c=>{this.currentNavigation={id:c.id,initialUrl:c.currentRawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Ii.w)(c=>{const u=this.browserUrlTree.toString(),h=!this.navigated||c.extractedUrl.toString()!==u||u!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||h)&&this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return b(c.source)&&(this.browserUrlTree=c.extractedUrl),(0,Ge.of)(c).pipe((0,Ii.w)(O=>{const $=this.transitions.getValue();return i.next(new ii(O.id,this.serializeUrl(O.extractedUrl),O.source,O.restoredState)),$!==this.transitions.getValue()?Us.E:Promise.resolve(O)}),function Or(n,o,e,i){return(0,Ii.w)(s=>function z1(n,o,e,i,s){return new Pe(n,o,e,i,s).apply()}(n,o,e,s.extractedUrl,i).pipe((0,ct.U)(a=>Object.assign(Object.assign({},s),{urlAfterRedirects:a}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,U.b)(O=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:O.urlAfterRedirects})}),function Pr(n,o,e,i,s){return(0,P.zg)(a=>function Xs(n,o,e,i,s="emptyOnly",a="legacy"){try{const r=new Lp(n,o,e,i,s,a).recognize();return null===r?ga(new xp):(0,Ge.of)(r)}catch(r){return ga(r)}}(n,o,a.urlAfterRedirects,e(a.urlAfterRedirects),i,s).pipe((0,ct.U)(r=>Object.assign(Object.assign({},a),{targetSnapshot:r}))))}(this.rootComponentType,this.config,O=>this.serializeUrl(O),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,U.b)(O=>{if("eager"===this.urlUpdateStrategy){if(!O.extras.skipLocationChange){const re=this.urlHandlingStrategy.merge(O.urlAfterRedirects,O.rawUrl);this.setBrowserUrl(re,O)}this.browserUrlTree=O.urlAfterRedirects}const $=new en(O.id,this.serializeUrl(O.extractedUrl),this.serializeUrl(O.urlAfterRedirects),O.targetSnapshot);i.next($)}));if(h&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:$,extractedUrl:re,source:ye,restoredState:ve,extras:Le}=c,it=new ii($,this.serializeUrl(re),ye,ve);i.next(it);const Vt=oh(re,this.rootComponentType).snapshot;return(0,Ge.of)(Object.assign(Object.assign({},c),{targetSnapshot:Vt,urlAfterRedirects:re,extras:Object.assign(Object.assign({},Le),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=c.rawUrl,c.resolve(null),Us.E}),ba(c=>{const{targetSnapshot:u,id:h,extractedUrl:g,rawUrl:O,extras:{skipLocationChange:$,replaceUrl:re}}=c;return this.hooks.beforePreactivation(u,{navigationId:h,appliedUrlTree:g,rawUrlTree:O,skipLocationChange:!!$,replaceUrl:!!re})}),(0,U.b)(c=>{const u=new Si(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(u)}),(0,ct.U)(c=>Object.assign(Object.assign({},c),{guards:uh(c.targetSnapshot,c.currentSnapshot,this.rootContexts)})),function I1(n,o){return(0,P.zg)(e=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:r}}=e;return 0===r.length&&0===a.length?(0,Ge.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function pa(n,o,e,i){return(0,Sn.D)(n).pipe((0,P.zg)(s=>function Ml(n,o,e,i,s){const a=o&&o.routeConfig?o.routeConfig.canDeactivate:null;if(!a||0===a.length)return(0,Ge.of)(!0);const r=a.map(c=>{const u=Al(c,o,s);let h;if(function la(n){return n&&ls(n.canDeactivate)}(u))h=Ei(u.canDeactivate(n,o,e,i));else{if(!ls(u))throw new Error("Invalid CanDeactivate guard");h=Ei(u(n,o,e,i))}return h.pipe((0,si.P)())});return(0,Ge.of)(r).pipe(Lr())}(s.component,s.route,e,o,i)),(0,si.P)(s=>!0!==s,!0))}(r,i,s,n).pipe((0,P.zg)(c=>c&&function lh(n){return"boolean"==typeof n}(c)?function qu(n,o,e,i){return(0,Sn.D)(o).pipe((0,Gs.b)(s=>Bo(function hh(n,o){return null!==n&&o&&o(new nl(n)),(0,Ge.of)(!0)}(s.route.parent,i),function wl(n,o){return null!==n&&o&&o(new Za(n)),(0,Ge.of)(!0)}(s.route,i),function fh(n,o,e){const i=o[o.length-1],a=o.slice(0,o.length-1).reverse().map(r=>function Bu(n){const o=n.routeConfig?n.routeConfig.canActivateChild:null;return o&&0!==o.length?{node:n,guards:o}:null}(r)).filter(r=>null!==r).map(r=>qn(()=>{const c=r.guards.map(u=>{const h=Al(u,r.node,e);let g;if(function ca(n){return n&&ls(n.canActivateChild)}(h))g=Ei(h.canActivateChild(i,n));else{if(!ls(h))throw new Error("Invalid CanActivateChild guard");g=Ei(h(i,n))}return g.pipe((0,si.P)())});return(0,Ge.of)(c).pipe(Lr())}));return(0,Ge.of)(a).pipe(Lr())}(n,s.path,e),function Dp(n,o,e){const i=o.routeConfig?o.routeConfig.canActivate:null;if(!i||0===i.length)return(0,Ge.of)(!0);const s=i.map(a=>qn(()=>{const r=Al(a,o,e);let c;if(function aa(n){return n&&ls(n.canActivate)}(r))c=Ei(r.canActivate(o,n));else{if(!ls(r))throw new Error("Invalid CanActivate guard");c=Ei(r(o,n))}return c.pipe((0,si.P)())}));return(0,Ge.of)(s).pipe(Lr())}(n,s.route,e))),(0,si.P)(s=>!0!==s,!0))}(i,a,n,o):(0,Ge.of)(c)),(0,ct.U)(c=>Object.assign(Object.assign({},e),{guardsResult:c})))})}(this.ngModule.injector,c=>this.triggerEvent(c)),(0,U.b)(c=>{if(wo(c.guardsResult)){const h=Gi(`Redirecting to "${this.serializeUrl(c.guardsResult)}"`);throw h.url=c.guardsResult,h}const u=new Li(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.triggerEvent(u)}),(0,Ht.h)(c=>!!c.guardsResult||(this.restoreHistory(c),this.cancelNavigationTransition(c,""),!1)),ba(c=>{if(c.guards.canActivateChecks.length)return(0,Ge.of)(c).pipe((0,U.b)(u=>{const h=new bo(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(h)}),(0,Ii.w)(u=>{let h=!1;return(0,Ge.of)(u).pipe(function Ko(n,o){return(0,P.zg)(e=>{const{targetSnapshot:i,guards:{canActivateChecks:s}}=e;if(!s.length)return(0,Ge.of)(e);let a=0;return(0,Sn.D)(s).pipe((0,Gs.b)(r=>function _a(n,o,e,i){return function Op(n,o,e,i){const s=ju(n);if(0===s.length)return(0,Ge.of)({});const a={};return(0,Sn.D)(s).pipe((0,P.zg)(r=>function Yu(n,o,e,i){const s=Al(n,o,i);return Ei(s.resolve?s.resolve(o,e):s(o,e))}(n[r],o,e,i).pipe((0,U.b)(c=>{a[r]=c}))),Ar(1),(0,P.zg)(()=>ju(a).length===s.length?(0,Ge.of)(a):Us.E))}(n._resolve,n,o,i).pipe((0,ct.U)(a=>(n._resolvedData=a,n.data=Object.assign(Object.assign({},n.data),yp(n,e).resolve),null)))}(r.route,i,n,o)),(0,U.b)(()=>a++),Ar(1),(0,P.zg)(r=>a===s.length?(0,Ge.of)(e):Us.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,U.b)({next:()=>h=!0,complete:()=>{h||(this.restoreHistory(u),this.cancelNavigationTransition(u,"At least one route resolver didn't emit any value."))}}))}),(0,U.b)(u=>{const h=new Rs(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(h)}))}),ba(c=>{const{targetSnapshot:u,id:h,extractedUrl:g,rawUrl:O,extras:{skipLocationChange:$,replaceUrl:re}}=c;return this.hooks.afterPreactivation(u,{navigationId:h,appliedUrlTree:g,rawUrlTree:O,skipLocationChange:!!$,replaceUrl:!!re})}),(0,ct.U)(c=>{const u=function Ap(n,o,e){const i=Zs(n,o._root,e?e._root:void 0);return new ll(i,o)}(this.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return Object.assign(Object.assign({},c),{targetRouterState:u})}),(0,U.b)(c=>{this.currentUrlTree=c.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl),this.routerState=c.targetRouterState,"deferred"===this.urlUpdateStrategy&&(c.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,c),this.browserUrlTree=c.urlAfterRedirects)}),((n,o,e)=>(0,ct.U)(i=>(new Mp(o,i.targetRouterState,i.currentRouterState,e).activate(n),i)))(this.rootContexts,this.routeReuseStrategy,c=>this.triggerEvent(c)),(0,U.b)({next(){a=!0},complete(){a=!0}}),ie(()=>{var c;a||r||this.cancelNavigationTransition(s,`Navigation ID ${s.id} is not equal to the current navigation id ${this.navigationId}`),(null===(c=this.currentNavigation)||void 0===c?void 0:c.id)===s.id&&(this.currentNavigation=null)}),(0,Ai.K)(c=>{if(r=!0,function Jd(n){return n&&n[$a]}(c)){const u=wo(c.url);u||(this.navigated=!0,this.restoreHistory(s,!0));const h=new kt(s.id,this.serializeUrl(s.extractedUrl),c.message);i.next(h),u?setTimeout(()=>{const g=this.urlHandlingStrategy.merge(c.url,this.rawUrlTree),O={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||b(s.source)};this.scheduleNavigation(g,"imperative",null,O,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{this.restoreHistory(s,!0);const u=new Yt(s.id,this.serializeUrl(s.extractedUrl),c);i.next(u);try{s.resolve(this.errorHandler(c))}catch(h){s.reject(h)}}return Us.E}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{var s;const a={replaceUrl:!0},r=(null===(s=e.state)||void 0===s?void 0:s.navigationId)?e.state:null;if(r){const u=Object.assign({},r);delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(a.state=u)}const c=this.parseUrl(e.url);this.scheduleNavigation(c,i,r,a)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){vp(e),this.config=e.map(yl),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:s,queryParams:a,fragment:r,queryParamsHandling:c,preserveFragment:u}=i,h=s||this.routerState.root,g=u?this.currentUrlTree.fragment:r;let O=null;switch(c){case"merge":O=Object.assign(Object.assign({},this.currentUrlTree.queryParams),a);break;case"preserve":O=this.currentUrlTree.queryParams;break;default:O=a||null}return null!==O&&(O=this.removeEmptyProps(O)),function L1(n,o,e,i,s){if(0===e.length)return fl(o.root,o.root,o,i,s);const a=function sa(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new Dr(!0,0,n);let o=0,e=!1;const i=n.reduce((s,a,r)=>{if("object"==typeof a&&null!=a){if(a.outlets){const c={};return tn(a.outlets,(u,h)=>{c[h]="string"==typeof u?u.split("/"):u}),[...s,{outlets:c}]}if(a.segmentPath)return[...s,a.segmentPath]}return"string"!=typeof a?[...s,a]:0===r?(a.split("/").forEach((c,u)=>{0==u&&"."===c||(0==u&&""===c?e=!0:".."===c?o++:""!=c&&s.push(c))}),s):[...s,a]},[]);return new Dr(e,o,i)}(e);if(a.toRoot())return fl(o.root,new Ft([],{}),o,i,s);const r=function xr(n,o,e){if(n.isAbsolute)return new $s(o.root,!0,0);if(-1===e.snapshot._lastPathIndex){const a=e.snapshot._urlSegment;return new $s(a,a===o.root,0)}const i=sc(n.commands[0])?0:1;return function oc(n,o,e){let i=n,s=o,a=e;for(;a>s;){if(a-=s,i=i.parent,!i)throw new Error("Invalid number of '../'");s=i.segments.length}return new $s(i,!1,s-a)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+i,n.numberOfDoubleDots)}(a,o,n),c=r.processChildren?ra(r.segmentGroup,r.index,a.commands):pl(r.segmentGroup,r.index,a.commands);return fl(r.segmentGroup,c,o,i,s)}(h,this.currentUrlTree,e,O,null!=g?g:null)}navigateByUrl(e,i={skipLocationChange:!1}){const s=wo(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function Ut(n){for(let o=0;o{const a=e[s];return null!=a&&(i[s]=a),i},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new qt(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,s,a,r){var c,u,h;if(this.disposed)return Promise.resolve(!1);const g=this.transitions.value,O=b(i)&&g&&!b(g.source),$=g.rawUrl.toString()===e.toString(),re=g.id===(null===(c=this.currentNavigation)||void 0===c?void 0:c.id);if(O&&$&&re)return Promise.resolve(!0);let ve,Le,it;r?(ve=r.resolve,Le=r.reject,it=r.promise):it=new Promise((bi,yu)=>{ve=bi,Le=yu});const Vt=++this.navigationId;let It;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),It=s&&s.\u0275routerPageId?s.\u0275routerPageId:a.replaceUrl||a.skipLocationChange?null!==(u=this.browserPageId)&&void 0!==u?u:0:(null!==(h=this.browserPageId)&&void 0!==h?h:0)+1):It=0,this.setTransition({id:Vt,targetPageId:It,source:i,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:a,resolve:ve,reject:Le,promise:it,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),it.catch(bi=>Promise.reject(bi))}setBrowserUrl(e,i){const s=this.urlSerializer.serialize(e),a=Object.assign(Object.assign({},i.extras.state),this.generateNgRouterState(i.id,i.targetPageId));this.location.isCurrentPathEqualTo(s)||i.extras.replaceUrl?this.location.replaceState(s,"",a):this.location.go(s,"",a)}restoreHistory(e,i=!1){var s,a;if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)||0===r?this.currentUrlTree===(null===(a=this.currentNavigation)||void 0===a?void 0:a.finalUrl)&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,i){const s=new kt(e.id,this.serializeUrl(e.extractedUrl),i);this.triggerEvent(s),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return n.\u0275fac=function(e){t.$Z()},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();function b(n){return"imperative"!==n}let S=(()=>{class n{constructor(e,i,s,a,r){this.router=e,this.route=i,this.tabIndexAttribute=s,this.renderer=a,this.el=r,this.commands=null,this.onChanges=new xe.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const i=this.renderer,s=this.el.nativeElement;null!==e?i.setAttribute(s,"tabindex",e):i.removeAttribute(s,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const e={skipLocationChange:N(this.skipLocationChange),replaceUrl:N(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:N(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Mi),t.Y36(As),t.$8M("tabindex"),t.Y36(t.Qsj),t.Y36(t.SBq))},n.\u0275dir=t.lG2({type:n,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,i){1&e&&t.NdJ("click",function(){return i.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[t.TTD]}),n})(),R=(()=>{class n{constructor(e,i,s){this.router=e,this.route=i,this.locationStrategy=s,this.commands=null,this.href=null,this.onChanges=new xe.xQ,this.subscription=e.events.subscribe(a=>{a instanceof qt&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,i,s,a,r){if(0!==e||i||s||a||r||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const c={skipLocationChange:N(this.skipLocationChange),replaceUrl:N(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,c),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:N(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Mi),t.Y36(As),t.Y36(_.S$))},n.\u0275dir=t.lG2({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,i){1&e&&t.NdJ("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&e&&t.uIk("target",i.target)("href",i.href,t.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[t.TTD]}),n})();function N(n){return""===n||!!n}class be{}class rt{preload(o,e){return e().pipe((0,Ai.K)(()=>(0,Ge.of)(null)))}}class Dt{preload(o,e){return(0,Ge.of)(null)}}let ni=(()=>{class n{constructor(e,i,s,a){this.router=e,this.injector=s,this.preloadingStrategy=a,this.loader=new Ps(s,i,u=>e.triggerEvent(new lt(u)),u=>e.triggerEvent(new Fo(u)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ht.h)(e=>e instanceof qt),(0,Gs.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(t.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const s=[];for(const a of i)if(a.loadChildren&&!a.canLoad&&a._loadedConfig){const r=a._loadedConfig;s.push(this.processRoutes(r.module,r.routes))}else a.loadChildren&&!a.canLoad?s.push(this.preloadConfig(e,a)):a.children&&s.push(this.processRoutes(e,a.children));return(0,Sn.D)(s).pipe((0,Ho.J)(),(0,ct.U)(a=>{}))}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>(i._loadedConfig?(0,Ge.of)(i._loadedConfig):this.loader.load(e.injector,i)).pipe((0,P.zg)(a=>(i._loadedConfig=a,this.processRoutes(a.module,a.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Mi),t.LFG(t.Sil),t.LFG(t.zs3),t.LFG(be))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),Ni=(()=>{class n{constructor(e,i,s={}){this.router=e,this.viewportScroller=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof ii?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof qt&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Mr&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.router.triggerEvent(new Mr(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){t.$Z()},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();const es=new t.OlP("ROUTER_CONFIGURATION"),H1=new t.OlP("ROUTER_FORROOT_GUARD"),Zy=[_.Ye,{provide:Su,useClass:Eu},{provide:Mi,useFactory:function Qy(n,o,e,i,s,a,r={},c,u){const h=new Mi(null,n,o,e,i,s,eh(a));return c&&(h.urlHandlingStrategy=c),u&&(h.routeReuseStrategy=u),function Jy(n,o){n.errorHandler&&(o.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(o.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(o.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(o.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(o.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(o.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(o.canceledNavigationResolution=n.canceledNavigationResolution)}(r,h),r.enableTracing&&h.events.subscribe(g=>{var O,$;null===(O=console.group)||void 0===O||O.call(console,`Router Event: ${g.constructor.name}`),console.log(g.toString()),console.log(g),null===($=console.groupEnd)||void 0===$||$.call(console)}),h},deps:[Su,_l,_.Ye,t.zs3,t.Sil,kn,es,[class Ip{},new t.FiY],[class bh{},new t.FiY]]},_l,{provide:As,useFactory:function eA(n){return n.routerState.root},deps:[Mi]},ni,Dt,rt,{provide:es,useValue:{enableTracing:!1}}];function $y(){return new t.PXZ("Router",Mi)}let Qs=(()=>{class n{constructor(e,i){}static forRoot(e,i){return{ngModule:n,providers:[Zy,F1(e),{provide:H1,useFactory:Xy,deps:[[Mi,new t.FiY,new t.tp0]]},{provide:es,useValue:i||{}},{provide:_.S$,useFactory:B1,deps:[_.lw,[new t.tBr(_.mr),new t.FiY],es]},{provide:Ni,useFactory:Cl,deps:[Mi,_.EM,es]},{provide:be,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:Dt},{provide:t.PXZ,multi:!0,useFactory:$y},[Ah,{provide:t.ip1,multi:!0,useFactory:tA,deps:[Ah]},{provide:q1,useFactory:iA,deps:[Ah]},{provide:t.tb,multi:!0,useExisting:q1}]]}}static forChild(e){return{ngModule:n,providers:[F1(e)]}}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(H1,8),t.LFG(Mi,8))},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({}),n})();function Cl(n,o,e){return e.scrollOffset&&o.setOffset(e.scrollOffset),new Ni(n,o,e)}function B1(n,o,e={}){return e.useHash?new _.Do(n,o):new _.b0(n,o)}function Xy(n){return"guarded"}function F1(n){return[{provide:t.deG,multi:!0,useValue:n},{provide:kn,multi:!0,useValue:n}]}let Ah=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new xe.xQ}appInitializer(){return this.injector.get(_.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let i=null;const s=new Promise(c=>i=c),a=this.injector.get(Mi),r=this.injector.get(es);return"disabled"===r.initialNavigation?(a.setUpLocationChangeListener(),i(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(a.hooks.afterPreactivation=()=>this.initNavigation?(0,Ge.of)(null):(this.initNavigation=!0,i(!0),this.resultOfPreactivationDone),a.initialNavigation()):i(!0),s})}bootstrapListener(e){const i=this.injector.get(es),s=this.injector.get(ni),a=this.injector.get(Ni),r=this.injector.get(Mi),c=this.injector.get(t.z2F);e===c.components[0]&&(("enabledNonBlocking"===i.initialNavigation||void 0===i.initialNavigation)&&r.initialNavigation(),s.setUpPreloading(),a.init(),r.resetRootComponentType(c.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(t.zs3))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();function tA(n){return n.appInitializer.bind(n)}function iA(n){return n.bootstrapListener.bind(n)}const q1=new t.OlP("Router Initializer");let $t=(()=>{class n{constructor(){this.branding=""}setInstanceConfig(e){this.instanceConfig=e}setDefaultConfig(e){this.defaultConfig=e}getAppsConfig(){return this.appsConfig}setAppsConfig(e){this.appsConfig=e}setPerunPrincipal(e){this.principal=e}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(e){this.initialPageId=e}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.get("skip_oidc")}get(...e){let i;if(""!==this.branding){const s=this.instanceConfig.brandings[this.branding];for(let a=0;a(0,Bp.k)(s)?i(...s):i(s))):new Ji.y(s=>{wh(n,o,function a(r){s.next(arguments.length>1?Array.prototype.slice.call(arguments):r)},s,e)})}function wh(n,o,e,i,s){let a;if(function NT(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const r=n;n.addEventListener(o,e,s),a=()=>r.removeEventListener(o,e,s)}else if(function IT(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const r=n;n.on(o,e),a=()=>r.off(o,e)}else if(function Fp(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const r=n;n.addListener(o,e),a=()=>r.removeListener(o,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let r=0,c=n.length;r0?super.requestAsyncId(o,e,i):(o.actions.push(this),o.scheduled||(o.scheduled=requestAnimationFrame(()=>o.flush(null))))}recycleAsyncId(o,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(o,e,i);0===o.actions.length&&(cancelAnimationFrame(e),o.scheduled=void 0)}});let U1=1;const vh=Promise.resolve(),Gu={};function Th(n){return n in Gu&&(delete Gu[n],!0)}const G1={setImmediate(n){const o=U1++;return Gu[o]=!0,vh.then(()=>Th(o)&&n()),o},clearImmediate(n){Th(n)}},Vu=new class rA extends qp.v{flush(o){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,s=-1,a=e.length;o=o||e.shift();do{if(i=o.execute(o.state,o.delay))break}while(++s0?super.requestAsyncId(o,e,i):(o.actions.push(this),o.scheduled||(o.scheduled=G1.setImmediate(o.flush.bind(o,null))))}recycleAsyncId(o,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(o,e,i);0===o.actions.length&&(G1.clearImmediate(e),o.scheduled=void 0)}});var Wu=M(353),W1=M(826),K1=M(9054);class cA{constructor(o){this.durationSelector=o}call(o,e){return e.subscribe(new lA(o,this.durationSelector))}}class lA extends W1.L{constructor(o,e){super(o),this.durationSelector=e,this.hasValue=!1}_next(o){if(this.value=o,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:s}=this;e=s(o)}catch(s){return this.destination.error(s)}const i=(0,K1.D)(this,e);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:o,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(o))}notifyNext(o,e,i,s){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Z1(n){return!(0,Bp.k)(n)&&n-parseFloat(n)+1>=0}function uA(n=0,o,e){let i=-1;return Z1(o)?i=Number(o)<1?1:Number(o):(0,Jr.K)(o)&&(e=o),(0,Jr.K)(e)||(e=Wu.P),new Ji.y(s=>{const a=Z1(n)?n:+n-e.now();return e.schedule(Ku,a,{index:0,period:i,subscriber:s})})}function Ku(n){const{index:o,period:e,subscriber:i}=n;if(i.next(o),!i.closed){if(-1===e)return i.complete();n.index=o+1,this.schedule(n,e)}}function Yn(n,o=Wu.P){return function aA(n){return function(e){return e.lift(new cA(n))}}(()=>uA(n,o))}function et(n){return o=>o.lift(new $1(n))}class $1{constructor(o){this.notifier=o}call(o,e){const i=new X1(o),s=(0,K1.D)(i,this.notifier);return s&&!i.seenValue?(i.add(s),e.subscribe(i)):i}}class X1 extends W1.L{constructor(o){super(o),this.seenValue=!1}notifyNext(o,e,i,s,a){this.seenValue=!0,this.complete()}notifyComplete(){}}let Dn;try{Dn="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){Dn=!1}let Sl,gi=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,_.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Dn)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(t.Lbi))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Aa=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({}),n})();const Q1=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function jp(){if(Sl)return Sl;if("object"!=typeof document||!document)return Sl=new Set(Q1),Sl;let n=document.createElement("input");return Sl=new Set(Q1.filter(o=>(n.setAttribute("type",o),n.type===o))),Sl}let Zu,$u,dc,Yp;function Ir(n){return function J1(){if(null==Zu&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Zu=!0}))}finally{Zu=Zu||!1}return Zu}()?n:!!n.capture}function em(){if(null==dc){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return dc=!1,dc;if("scrollBehavior"in document.documentElement.style)dc=!0;else{const n=Element.prototype.scrollTo;dc=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return dc}function hc(){if("object"!=typeof document||!document)return 0;if(null==$u){const n=document.createElement("div"),o=n.style;n.dir="rtl",o.width="1px",o.overflow="auto",o.visibility="hidden",o.pointerEvents="none",o.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",n.appendChild(e),document.body.appendChild(n),$u=0,0===n.scrollLeft&&(n.scrollLeft=1,$u=0===n.scrollLeft?1:2),n.remove()}return $u}function El(n){if(function dA(){if(null==Yp){const n="undefined"!=typeof document?document.head:null;Yp=!(!n||!n.createShadowRoot&&!n.attachShadow)}return Yp}()){const o=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&o instanceof ShadowRoot)return o}return null}function Up(){let n="undefined"!=typeof document&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const o=n.shadowRoot.activeElement;if(o===n)break;n=o}return n}function Js(n){return n.composedPath?n.composedPath()[0]:n.target}function fc(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const hA=new t.OlP("cdk-dir-doc",{providedIn:"root",factory:function fA(){return(0,t.f3M)(_.K0)}}),pA=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let xn=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new t.vpe,e){const s=e.documentElement?e.documentElement.dir:null;this.value=function gA(n){const o=(null==n?void 0:n.toLowerCase())||"";return"auto"===o&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?pA.test(navigator.language)?"rtl":"ltr":"rtl"===o?"rtl":"ltr"}((e.body?e.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(hA,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),pc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({}),n})(),To=(()=>{class n{constructor(e,i,s){this._ngZone=e,this._platform=i,this._scrolled=new xe.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Ji.y(i=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(Yn(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ge.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const s=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe((0,Ht.h)(a=>!a||s.indexOf(a)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((s,a)=>{this._scrollableContainsElement(a,e)&&i.push(a)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let s=Wi(i),a=e.getElementRef().nativeElement;do{if(s==a)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>vo(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(t.R0b),t.LFG(gi),t.LFG(_.K0,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vs=(()=>{class n{constructor(e,i,s,a){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=s,this.dir=a,this._destroyed=new xe.xQ,this._elementScrolled=new Ji.y(r=>this.ngZone.runOutsideAngular(()=>vo(this.elementRef.nativeElement,"scroll").pipe(et(this._destroyed)).subscribe(r)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const i=this.elementRef.nativeElement,s=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=s?e.end:e.start),null==e.right&&(e.right=s?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),s&&0!=hc()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==hc()?e.left=e.right:1==hc()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const i=this.elementRef.nativeElement;em()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",s="right",a=this.elementRef.nativeElement;if("top"==e)return a.scrollTop;if("bottom"==e)return a.scrollHeight-a.clientHeight-a.scrollTop;const r=this.dir&&"rtl"==this.dir.value;return"start"==e?e=r?s:i:"end"==e&&(e=r?i:s),r&&2==hc()?e==i?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:r&&1==hc()?e==i?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==i?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(To),t.Y36(t.R0b),t.Y36(xn,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),n})(),wa=(()=>{class n{constructor(e,i,s){this._platform=e,this._change=new xe.xQ,this._changeListener=a=>{this._change.next(a)},this._document=s,i.runOutsideAngular(()=>{if(e.isBrowser){const a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+i,height:s,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),s=e.documentElement,a=s.getBoundingClientRect();return{top:-a.top||e.body.scrollTop||i.scrollY||s.scrollTop||0,left:-a.left||e.body.scrollLeft||i.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Yn(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(gi),t.LFG(t.R0b),t.LFG(_.K0,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$o=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({}),n})(),gc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[pc,Aa,$o],pc,$o]}),n})();class om{attach(o){return this._attachedHost=o,o.attach(this)}detach(){let o=this._attachedHost;null!=o&&(this._attachedHost=null,o.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(o){this._attachedHost=o}}class Hr extends om{constructor(o,e,i,s){super(),this.component=o,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=s}}class Ma extends om{constructor(o,e,i){super(),this.templateRef=o,this.viewContainerRef=e,this.context=i}get origin(){return this.templateRef.elementRef}attach(o,e=this.context){return this.context=e,super.attach(o)}detach(){return this.context=void 0,super.detach()}}class rm extends om{constructor(o){super(),this.element=o instanceof t.SBq?o.nativeElement:o}}class Gp{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(o){return o instanceof Hr?(this._attachedPortal=o,this.attachComponentPortal(o)):o instanceof Ma?(this._attachedPortal=o,this.attachTemplatePortal(o)):this.attachDomPortal&&o instanceof rm?(this._attachedPortal=o,this.attachDomPortal(o)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(o){this._disposeFn=o}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class TA extends Gp{constructor(o,e,i,s,a){super(),this.outletElement=o,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=s,this.attachDomPortal=r=>{const c=r.element,u=this._document.createComment("dom-portal");c.parentNode.insertBefore(u,c),this.outletElement.appendChild(c),this._attachedPortal=r,super.setDisposeFn(()=>{u.parentNode&&u.parentNode.replaceChild(c,u)})},this._document=a}attachComponentPortal(o){const i=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component);let s;return o.viewContainerRef?(s=o.viewContainerRef.createComponent(i,o.viewContainerRef.length,o.injector||o.viewContainerRef.injector),this.setDisposeFn(()=>s.destroy())):(s=i.create(o.injector||this._defaultInjector),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=o,s}attachTemplatePortal(o){let e=o.viewContainerRef,i=e.createEmbeddedView(o.templateRef,o.context);return i.rootNodes.forEach(s=>this.outletElement.appendChild(s)),i.detectChanges(),this.setDisposeFn(()=>{let s=e.indexOf(i);-1!==s&&e.remove(s)}),this._attachedPortal=o,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(o){return o.hostView.rootNodes[0]}}let Vp=(()=>{class n extends Gp{constructor(e,i,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new t.vpe,this.attachDomPortal=a=>{const r=a.element,c=this._document.createComment("dom-portal");a.setAttachedHost(this),r.parentNode.insertBefore(c,r),this._getRootNode().appendChild(r),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(r,c)})},this._document=s}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=i.createComponent(a,i.length,e.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36(_.K0))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[t.qOj]}),n})(),kl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({}),n})();var Oi=M(6787);class CA{constructor(o,e){this.predicate=o,this.inclusive=e}call(o,e){return e.subscribe(new SA(o,this.predicate,this.inclusive))}}class SA extends bs.L{constructor(o,e,i){super(o),this.predicate=e,this.inclusive=i,this.index=0}_next(o){const e=this.destination;let i;try{i=this.predicate(o,this.index++)}catch(s){return void e.error(s)}this.nextOrComplete(o,i)}nextOrComplete(o,e){const i=this.destination;Boolean(e)?i.next(o):(this.inclusive&&i.next(o),i.complete())}}function Un(n,...o){return o.length?o.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}const ig=em();class Cm{constructor(o,e){this._viewportRuler=o,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const o=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=o.style.left||"",this._previousHTMLStyles.top=o.style.top||"",o.style.left=rn(-this._previousScrollPosition.left),o.style.top=rn(-this._previousScrollPosition.top),o.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const o=this._document.documentElement,i=o.style,s=this._document.body.style,a=i.scrollBehavior||"",r=s.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,o.classList.remove("cdk-global-scrollblock"),ig&&(i.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ig&&(i.scrollBehavior=a,s.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class Sm{constructor(o,e,i,s){this._scrollDispatcher=o,this._ngZone=e,this._viewportRuler=i,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(o){this._overlayRef=o}enable(){if(this._scrollSubscription)return;const o=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=o.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=o.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Em{enable(){}disable(){}attach(){}}function ng(n,o){return o.some(e=>n.bottome.bottom||n.righte.right)}function Ts(n,o){return o.some(e=>n.tope.bottom||n.lefte.right)}class nw{constructor(o,e,i,s){this._scrollDispatcher=o,this._viewportRuler=e,this._ngZone=i,this._config=s,this._scrollSubscription=null}attach(o){this._overlayRef=o}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:s}=this._viewportRuler.getViewportSize();ng(e,[{width:i,height:s,bottom:s,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let sw=(()=>{class n{constructor(e,i,s,a){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=s,this.noop=()=>new Em,this.close=r=>new Sm(this._scrollDispatcher,this._ngZone,this._viewportRuler,r),this.block=()=>new Cm(this._viewportRuler,this._document),this.reposition=r=>new nw(this._scrollDispatcher,this._viewportRuler,this._ngZone,r),this._document=a}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(To),t.LFG(wa),t.LFG(t.R0b),t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class xh{constructor(o){if(this.scrollStrategy=new Em,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,o){const e=Object.keys(o);for(const i of e)void 0!==o[i]&&(this[i]=o[i])}}}class wC{constructor(o,e){this.connectionPair=o,this.scrollableViewProperties=e}}class Dm{constructor(o,e,i,s,a,r,c,u,h){this._portalOutlet=o,this._host=e,this._pane=i,this._config=s,this._ngZone=a,this._keyboardDispatcher=r,this._document=c,this._location=u,this._outsideClickDispatcher=h,this._backdropElement=null,this._backdropClick=new xe.xQ,this._attachments=new xe.xQ,this._detachments=new xe.xQ,this._locationChanges=V.w.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._keydownEvents=new xe.xQ,this._outsidePointerEvents=new xe.xQ,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(o){let e=this._portalOutlet.attach(o);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Zt.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const o=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),o}dispose(){var o;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(o=this._host)||void 0===o||o.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(o){o!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=o,this.hasAttached()&&(o.attach(this),this.updatePosition()))}updateSize(o){this._config=Object.assign(Object.assign({},this._config),o),this._updateElementSize()}setDirection(o){this._config=Object.assign(Object.assign({},this._config),{direction:o}),this._updateElementDirection()}addPanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!0)}removePanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!1)}getDirection(){const o=this._config.direction;return o?"string"==typeof o?o:o.value:"ltr"}updateScrollStrategy(o){o!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=o,this.hasAttached()&&(o.attach(this),o.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const o=this._pane.style;o.width=rn(this._config.width),o.height=rn(this._config.height),o.minWidth=rn(this._config.minWidth),o.minHeight=rn(this._config.minHeight),o.maxWidth=rn(this._config.maxWidth),o.maxHeight=rn(this._config.maxHeight)}_togglePointerEvents(o){this._pane.style.pointerEvents=o?"":"none"}_attachBackdrop(){const o="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(o)})}):this._backdropElement.classList.add(o)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const o=this._backdropElement;if(!o)return;let e;const i=()=>{o&&(o.removeEventListener("click",this._backdropClickHandler),o.removeEventListener("transitionend",i),this._disposeBackdrop(o)),this._config.backdropClass&&this._toggleClasses(o,this._config.backdropClass,!1),clearTimeout(e)};o.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{o.addEventListener("transitionend",i)}),o.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(i,500))}_toggleClasses(o,e,i){const s=zr(e||[]).filter(a=>!!a);s.length&&(i?o.classList.add(...s):o.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const o=this._ngZone.onStable.pipe(et((0,Oi.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),o.unsubscribe())})})}_disposeScrollStrategy(){const o=this._scrollStrategy;o&&(o.disable(),o.detach&&o.detach())}_disposeBackdrop(o){o&&(o.remove(),this._backdropElement===o&&(this._backdropElement=null))}}let sg=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||fc()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const o=this._originRect,e=this._overlayRect,i=this._viewportRect,s=this._containerRect,a=[];let r;for(let c of this._preferredPositions){let u=this._getOriginPoint(o,s,c),h=this._getOverlayPoint(u,e,c),g=this._getOverlayFit(h,e,i,c);if(g.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,u);this._canFitWithFlexibleDimensions(g,h,i)?a.push({position:c,origin:u,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(u,c)}):(!r||r.overlayFit.visibleAreau&&(u=g,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&bc(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(xm),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const o=this._lastPosition;if(o){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,o);this._applyPosition(o,e)}else this.apply()}withScrollableContainers(o){return this._scrollables=o,this}withPositions(o){return this._preferredPositions=o,-1===o.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(o){return this._viewportMargin=o,this}withFlexibleDimensions(o=!0){return this._hasFlexibleDimensions=o,this}withGrowAfterOpen(o=!0){return this._growAfterOpen=o,this}withPush(o=!0){return this._canPush=o,this}withLockedPosition(o=!0){return this._positionLocked=o,this}setOrigin(o){return this._origin=o,this}withDefaultOffsetX(o){return this._offsetX=o,this}withDefaultOffsetY(o){return this._offsetY=o,this}withTransformOriginOn(o){return this._transformOriginSelector=o,this}_getOriginPoint(o,e,i){let s,a;if("center"==i.originX)s=o.left+o.width/2;else{const r=this._isRtl()?o.right:o.left,c=this._isRtl()?o.left:o.right;s="start"==i.originX?r:c}return e.left<0&&(s-=e.left),a="center"==i.originY?o.top+o.height/2:"top"==i.originY?o.top:o.bottom,e.top<0&&(a-=e.top),{x:s,y:a}}_getOverlayPoint(o,e,i){let s,a;return s="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,a="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:o.x+s,y:o.y+a}}_getOverlayFit(o,e,i,s){const a=Rm(e);let{x:r,y:c}=o,u=this._getOffset(s,"x"),h=this._getOffset(s,"y");u&&(r+=u),h&&(c+=h);let $=0-c,re=c+a.height-i.height,ye=this._subtractOverflows(a.width,0-r,r+a.width-i.width),ve=this._subtractOverflows(a.height,$,re),Le=ye*ve;return{visibleArea:Le,isCompletelyWithinViewport:a.width*a.height===Le,fitsInViewportVertically:ve===a.height,fitsInViewportHorizontally:ye==a.width}}_canFitWithFlexibleDimensions(o,e,i){if(this._hasFlexibleDimensions){const s=i.bottom-e.y,a=i.right-e.x,r=og(this._overlayRef.getConfig().minHeight),c=og(this._overlayRef.getConfig().minWidth),h=o.fitsInViewportHorizontally||null!=c&&c<=a;return(o.fitsInViewportVertically||null!=r&&r<=s)&&h}return!1}_pushOverlayOnScreen(o,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:o.x+this._previousPushAmount.x,y:o.y+this._previousPushAmount.y};const s=Rm(e),a=this._viewportRect,r=Math.max(o.x+s.width-a.width,0),c=Math.max(o.y+s.height-a.height,0),u=Math.max(a.top-i.top-o.y,0),h=Math.max(a.left-i.left-o.x,0);let g=0,O=0;return g=s.width<=a.width?h||-r:o.xye&&!this._isInitialRender&&!this._growAfterOpen&&(r=o.y-ye/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)$=i.width-o.x+this._viewportMargin,g=o.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)O=o.x,g=i.right-o.x;else{const re=Math.min(i.right-o.x+i.left,o.x),ye=this._lastBoundingBoxSize.width;g=2*re,O=o.x-re,g>ye&&!this._isInitialRender&&!this._growAfterOpen&&(O=o.x-ye/2)}return{top:r,left:O,bottom:c,right:$,width:g,height:a}}_setBoundingBoxStyles(o,e){const i=this._calculateBoundingBoxRect(o,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const a=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;s.height=rn(i.height),s.top=rn(i.top),s.bottom=rn(i.bottom),s.width=rn(i.width),s.left=rn(i.left),s.right=rn(i.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",a&&(s.maxHeight=rn(a)),r&&(s.maxWidth=rn(r))}this._lastBoundingBoxSize=i,bc(this._boundingBox.style,s)}_resetBoundingBoxStyles(){bc(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){bc(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(o,e){const i={},s=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(s){const g=this._viewportRuler.getViewportScrollPosition();bc(i,this._getExactOverlayY(e,o,g)),bc(i,this._getExactOverlayX(e,o,g))}else i.position="static";let c="",u=this._getOffset(e,"x"),h=this._getOffset(e,"y");u&&(c+=`translateX(${u}px) `),h&&(c+=`translateY(${h}px)`),i.transform=c.trim(),r.maxHeight&&(s?i.maxHeight=rn(r.maxHeight):a&&(i.maxHeight="")),r.maxWidth&&(s?i.maxWidth=rn(r.maxWidth):a&&(i.maxWidth="")),bc(this._pane.style,i)}_getExactOverlayY(o,e,i){let s={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i)),"bottom"===o.overlayY?s.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":s.top=rn(a.y),s}_getExactOverlayX(o,e,i){let r,s={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i)),r=this._isRtl()?"end"===o.overlayX?"left":"right":"end"===o.overlayX?"right":"left","right"===r?s.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":s.left=rn(a.x),s}_getScrollVisibility(){const o=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ts(o,i),isOriginOutsideView:ng(o,i),isOverlayClipped:Ts(e,i),isOverlayOutsideView:ng(e,i)}}_subtractOverflows(o,...e){return e.reduce((i,s)=>i-Math.max(s,0),o)}_getNarrowedViewportRect(){const o=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+o-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:o-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(o,e){return"x"===e?null==o.offsetX?this._offsetX:o.offsetX:null==o.offsetY?this._offsetY:o.offsetY}_validatePositions(){}_addPanelClasses(o){this._pane&&zr(o).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(o=>{this._pane.classList.remove(o)}),this._appliedPanelClasses=[])}_getOriginRect(){const o=this._origin;if(o instanceof t.SBq)return o.nativeElement.getBoundingClientRect();if(o instanceof Element)return o.getBoundingClientRect();const e=o.width||0,i=o.height||0;return{top:o.y,bottom:o.y+i,left:o.x,right:o.x+e,height:i,width:e}}}function bc(n,o){for(let e in o)o.hasOwnProperty(e)&&(n[e]=o[e]);return n}function og(n){if("number"!=typeof n&&null!=n){const[o,e]=n.split(rw);return e&&"px"!==e?null:parseFloat(o)}return n||null}function Rm(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const Om="cdk-global-overlay-wrapper";class Pm{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(o){const e=o.getConfig();this._overlayRef=o,this._width&&!e.width&&o.updateSize({width:this._width}),this._height&&!e.height&&o.updateSize({height:this._height}),o.hostElement.classList.add(Om),this._isDisposed=!1}top(o=""){return this._bottomOffset="",this._topOffset=o,this._alignItems="flex-start",this}left(o=""){return this._rightOffset="",this._leftOffset=o,this._justifyContent="flex-start",this}bottom(o=""){return this._topOffset="",this._bottomOffset=o,this._alignItems="flex-end",this}right(o=""){return this._leftOffset="",this._rightOffset=o,this._justifyContent="flex-end",this}width(o=""){return this._overlayRef?this._overlayRef.updateSize({width:o}):this._width=o,this}height(o=""){return this._overlayRef?this._overlayRef.updateSize({height:o}):this._height=o,this}centerHorizontally(o=""){return this.left(o),this._justifyContent="center",this}centerVertically(o=""){return this.top(o),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:s,height:a,maxWidth:r,maxHeight:c}=i,u=!("100%"!==s&&"100vw"!==s||r&&"100%"!==r&&"100vw"!==r),h=!("100%"!==a&&"100vh"!==a||c&&"100%"!==c&&"100vh"!==c);o.position=this._cssPosition,o.marginLeft=u?"0":this._leftOffset,o.marginTop=h?"0":this._topOffset,o.marginBottom=this._bottomOffset,o.marginRight=this._rightOffset,u?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(Om),i.justifyContent=i.alignItems=o.marginTop=o.marginBottom=o.marginLeft=o.marginRight=o.position="",this._overlayRef=null,this._isDisposed=!0}}let zm=(()=>{class n{constructor(e,i,s,a){this._viewportRuler=e,this._document=i,this._platform=s,this._overlayContainer=a}global(){return new Pm}flexibleConnectedTo(e){return new Lm(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(wa),t.LFG(_.K0),t.LFG(gi),t.LFG(sg))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Im=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Jo=(()=>{class n extends Im{constructor(e){super(e),this._keydownListener=i=>{const s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){s[a]._keydownEvents.next(i);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rg=(()=>{class n extends Im{constructor(e,i){super(e),this._platform=i,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=Js(s)},this._clickListener=s=>{const a=Js(s),r="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let u=c.length-1;u>-1;u--){const h=c[u];if(!(h._outsidePointerEvents.observers.length<1)&&h.hasAttached()){if(h.overlayElement.contains(a)||h.overlayElement.contains(r))break;h._outsidePointerEvents.next(s)}}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;i.addEventListener("pointerdown",this._pointerDownListener,!0),i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(_.K0),t.LFG(gi))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),aw=0,zs=(()=>{class n{constructor(e,i,s,a,r,c,u,h,g,O,$){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=s,this._positionBuilder=a,this._keyboardDispatcher=r,this._injector=c,this._ngZone=u,this._document=h,this._directionality=g,this._location=O,this._outsideClickDispatcher=$}create(e){const i=this._createHostElement(),s=this._createPaneElement(i),a=this._createPortalOutlet(s),r=new xh(e);return r.direction=r.direction||this._directionality.value,new Dm(a,i,s,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+aw++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(t.z2F)),new TA(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(sw),t.LFG(sg),t.LFG(t._Vd),t.LFG(zm),t.LFG(Jo),t.LFG(t.zs3),t.LFG(t.R0b),t.LFG(_.K0),t.LFG(xn),t.LFG(_.Ye),t.LFG(rg))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();const vC=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ag=new t.OlP("cdk-connected-overlay-scroll-strategy");let Nm=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),Hm=(()=>{class n{constructor(e,i,s,a,r){this._overlay=e,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=V.w.EMPTY,this._attachSubscription=V.w.EMPTY,this._detachSubscription=V.w.EMPTY,this._positionSubscription=V.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new t.vpe,this.positionChange=new t.vpe,this.attach=new t.vpe,this.detach=new t.vpe,this.overlayKeydown=new t.vpe,this.overlayOutsideClick=new t.vpe,this._templatePortal=new Ma(i,s),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=qe(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=qe(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=qe(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=qe(e)}get push(){return this._push}set push(e){this._push=qe(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=vC);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!Un(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new xh({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Nm?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function Wp(n,o=!1){return e=>e.lift(new CA(n,o))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(zs),t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(ag),t.Y36(xn,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[t.TTD]}),n})();const cg={provide:ag,deps:[zs],useFactory:function cw(n){return()=>n.scrollStrategies.reposition()}};let Ll=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[zs,cg],imports:[[pc,kl,gc],gc]}),n})();var Rl=M(13);function Bm(n){return o=>o.lift(new lg(n))}class lg{constructor(o){this.total=o}call(o,e){return e.subscribe(new ug(o,this.total))}}class ug extends bs.L{constructor(o,e){super(o),this.total=e,this.count=0}_next(o){++this.count>this.total&&this.destination.next(o)}}function id(n,o){return e=>e.lift(new lw(n,o))}class lw{constructor(o,e){this.compare=o,this.keySelector=e}call(o,e){return e.subscribe(new uw(o,this.compare,this.keySelector))}}class uw extends bs.L{constructor(o,e,i){super(o),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(o,e){return o===e}_next(o){let e;try{const{keySelector:s}=this;e=s?s(o):o}catch(s){return this.destination.error(s)}let i=!1;if(this.hasKey)try{const{compare:s}=this;i=s(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;i||(this.key=e,this.destination.next(o))}}let Lh=(()=>{class n{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),CC=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Wi(e);return new Ji.y(s=>{const r=this._observeElement(i).subscribe(s);return()=>{r.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new xe.xQ,s=this._mutationObserverFactory.create(a=>i.next(a));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:s}=this._observedElements.get(e);i&&i.disconnect(),s.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Lh))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dg=(()=>{class n{constructor(e,i,s){this._contentObserver=e,this._elementRef=i,this._ngZone=s,this.event=new t.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=qe(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Vi(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe((0,Rl.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(CC),t.Y36(t.SBq),t.Y36(t.R0b))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),nd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[Lh]}),n})();function sd(n,o){return(n.getAttribute(o)||"").match(/\S+/g)||[]}const od="cdk-describedby-message",Rh="cdk-describedby-host";let jm=0,dw=(()=>{class n{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+jm++,this._document=e}describe(e,i,s){if(!this._canBeDescribed(e,i))return;const a=rd(i,s);"string"!=typeof i?(fg(i),this._messageRegistry.set(a,{messageElement:i,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(i,s),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,i,s){var a;if(!i||!this._isElementNode(e))return;const r=rd(i,s);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),"string"==typeof i){const c=this._messageRegistry.get(r);c&&0===c.referenceCount&&this._deleteMessageElement(r)}0===(null===(a=this._messagesContainer)||void 0===a?void 0:a.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const i=this._document.querySelectorAll(`[${Rh}="${this._id}"]`);for(let s=0;s0!=s.indexOf(od));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const s=this._messageRegistry.get(i);(function Fm(n,o,e){const i=sd(n,o);i.some(s=>s.trim()==e.trim())||(i.push(e.trim()),n.setAttribute(o,i.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(Rh,this._id),s.referenceCount++}_removeMessageReference(e,i){const s=this._messageRegistry.get(i);s.referenceCount--,function qm(n,o,e){const s=sd(n,o).filter(a=>a!=e.trim());s.length?n.setAttribute(o,s.join(" ")):n.removeAttribute(o)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(Rh)}_isElementDescribedByMessage(e,i){const s=sd(e,"aria-describedby"),a=this._messageRegistry.get(i),r=a&&a.messageElement.id;return!!r&&-1!=s.indexOf(r)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const s=null==i?"":`${i}`.trim(),a=e.getAttribute("aria-label");return!(!s||a&&a.trim()===s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(_.K0),t.LFG(gi))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function rd(n,o){return"string"==typeof n?`${o||""}/${n}`:n}function fg(n){n.id||(n.id=`${od}-${jm++}`)}class Oh{constructor(o){this._items=o,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new xe.xQ,this._typeaheadSubscription=V.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new xe.xQ,this.change=new xe.xQ,o instanceof t.n_E&&o.changes.subscribe(e=>{if(this._activeItem){const s=e.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}})}skipPredicate(o){return this._skipPredicateFn=o,this}withWrap(o=!0){return this._wrap=o,this}withVerticalOrientation(o=!0){return this._vertical=o,this}withHorizontalOrientation(o){return this._horizontal=o,this}withAllowedModifierKeys(o){return this._allowedModifierKeys=o,this}withTypeAhead(o=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,U.b)(e=>this._pressedLetters.push(e)),(0,Rl.b)(o),(0,Ht.h)(()=>this._pressedLetters.length>0),(0,ct.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let s=1;s!o[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||Un(o,"shiftKey"))&&(o.key&&1===o.key.length?this._letterKeyStream.next(o.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],o.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(o){const e=this._getItemsArray(),i="number"==typeof o?o:e.indexOf(o),s=e[i];this._activeItem=null==s?null:s,this._activeItemIndex=i}_setActiveItemByDelta(o){this._wrap?this._setActiveInWrapMode(o):this._setActiveInDefaultMode(o)}_setActiveInWrapMode(o){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const s=(this._activeItemIndex+o*i+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(o){this._setActiveItemByIndex(this._activeItemIndex+o,o)}_setActiveItemByIndex(o,e){const i=this._getItemsArray();if(i[o]){for(;this._skipPredicateFn(i[o]);)if(!i[o+=e])return;this.setActiveItem(o)}}_getItemsArray(){return this._items instanceof t.n_E?this._items.toArray():this._items}}class Ol extends Oh{setActiveItem(o){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(o),this.activeItem&&this.activeItem.setActiveStyles()}}class Ph extends Oh{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(o){return this._origin=o,this}setActiveItem(o){super.setActiveItem(o),this.activeItem&&this.activeItem.focus(this._origin)}}let zh=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Gm(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function Um(n){try{return n.frameElement}catch(o){return null}}(function Pl(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(i&&(-1===gg(i)||!this.isVisible(i)))return!1;let s=e.nodeName.toLowerCase(),a=gg(e);return e.hasAttribute("contenteditable")?-1!==a:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function gw(n){let o=n.nodeName.toLowerCase(),e="input"===o&&n.type;return"text"===e||"password"===e||"select"===o||"textarea"===o}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==a:"video"===s?-1!==a&&(null!==a||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function mw(n){return!function pg(n){return function pw(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function hw(n){let o=n.nodeName.toLowerCase();return"input"===o||"select"===o||"button"===o||"textarea"===o}(n)||function fw(n){return function Vm(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||yc(n))}(e)&&!this.isDisabled(e)&&((null==i?void 0:i.ignoreVisibility)||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(gi))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function yc(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let o=n.getAttribute("tabindex");return!(!o||isNaN(parseInt(o,10)))}function gg(n){if(!yc(n))return null;const o=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(o)?-1:o}class _w{constructor(o,e,i,s,a=!1){this._element=o,this._checker=e,this._ngZone=i,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(o){this._enabled=o,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}destroy(){const o=this._startAnchor,e=this._endAnchor;o&&(o.removeEventListener("focus",this.startAnchorListener),o.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(o)))})}focusFirstTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(o)))})}focusLastTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(o)))})}_getRegionBoundary(o){const e=this._element.querySelectorAll(`[cdk-focus-region-${o}], [cdkFocusRegion${o}], [cdk-focus-${o}]`);return"start"==o?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(o){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return null==i||i.focus(o),!!i}return e.focus(o),!0}return this.focusFirstTabbableElement(o)}focusFirstTabbableElement(o){const e=this._getRegionBoundary("start");return e&&e.focus(o),!!e}focusLastTabbableElement(o){const e=this._getRegionBoundary("end");return e&&e.focus(o),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(o){if(this._checker.isFocusable(o)&&this._checker.isTabbable(o))return o;const e=o.children;for(let i=0;i=0;i--){const s=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(s)return s}return null}_createAnchor(){const o=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,o),o.classList.add("cdk-visually-hidden"),o.classList.add("cdk-focus-trap-anchor"),o.setAttribute("aria-hidden","true"),o}_toggleAnchorTabIndex(o,e){o?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(o){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}_executeOnStable(o){this._ngZone.isStable?o():this._ngZone.onStable.pipe((0,Zt.q)(1)).subscribe(o)}}let Wm=(()=>{class n{constructor(e,i,s){this._checker=e,this._ngZone=i,this._document=s}create(e,i=!1){return new _w(e,this._checker,this._ngZone,this._document,i)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(zh),t.LFG(t.R0b),t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function ad(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function cd(n){const o=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!o||-1!==o.identifier||null!=o.radiusX&&1!==o.radiusX||null!=o.radiusY&&1!==o.radiusY)}const Aw=new t.OlP("cdk-input-modality-detector-options"),ww={ignoreKeys:[18,17,224,91,16]},zl=Ir({passive:!0,capture:!0});let $m=(()=>{class n{constructor(e,i,s,a){this._platform=e,this._mostRecentTarget=null,this._modality=new on(null),this._lastTouchMs=0,this._onKeydown=r=>{var c,u;(null===(u=null===(c=this._options)||void 0===c?void 0:c.ignoreKeys)||void 0===u?void 0:u.some(h=>h===r.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=Js(r))},this._onMousedown=r=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ad(r)?"keyboard":"mouse"),this._mostRecentTarget=Js(r))},this._onTouchstart=r=>{cd(r)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Js(r))},this._options=Object.assign(Object.assign({},ww),a),this.modalityDetected=this._modality.pipe(Bm(1)),this.modalityChanged=this.modalityDetected.pipe(id()),e.isBrowser&&i.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,zl),s.addEventListener("mousedown",this._onMousedown,zl),s.addEventListener("touchstart",this._onTouchstart,zl)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,zl),document.removeEventListener("mousedown",this._onMousedown,zl),document.removeEventListener("touchstart",this._onTouchstart,zl))}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(gi),t.LFG(t.R0b),t.LFG(_.K0),t.LFG(Aw,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const kC=new t.OlP("liveAnnouncerElement",{providedIn:"root",factory:function Xm(){return null}}),Mw=new t.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let vw=(()=>{class n{constructor(e,i,s,a){this._ngZone=i,this._defaultOptions=a,this._document=s,this._liveElement=e||this._createLiveElement()}announce(e,...i){const s=this._defaultOptions;let a,r;return 1===i.length&&"number"==typeof i[0]?r=i[0]:[a,r]=i,this.clear(),clearTimeout(this._previousTimeout),a||(a=s&&s.politeness?s.politeness:"polite"),null==r&&s&&(r=s.duration),this._liveElement.setAttribute("aria-live",a),this._ngZone.runOutsideAngular(()=>new Promise(c=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,c(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let a=0;a{class n{constructor(e,i,s,a,r){this._ngZone=e,this._platform=i,this._inputModalityDetector=s,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new xe.xQ,this._rootNodeFocusAndBlurListener=c=>{const u=Js(c),h="focus"===c.type?this._onFocus:this._onBlur;for(let g=u;g;g=g.parentElement)h.call(this,c,g)},this._document=a,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(e,i=!1){const s=Wi(e);if(!this._platform.isBrowser||1!==s.nodeType)return(0,Ge.of)(null);const a=El(s)||this._getDocument(),r=this._elementInfo.get(s);if(r)return i&&(r.checkChildren=!0),r.subject;const c={checkChildren:i,subject:new xe.xQ,rootNode:a};return this._elementInfo.set(s,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const i=Wi(e),s=this._elementInfo.get(i);s&&(s.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(s))}focusVia(e,i,s){const a=Wi(e);a===this._getDocument().activeElement?this._getClosestElementsInfo(a).forEach(([c,u])=>this._originChanged(c,i,u)):(this._setOrigin(i),"function"==typeof a.focus&&a.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const s=this._elementInfo.get(i),a=Js(e);!s||!s.checkChildren&&i!==a||this._originChanged(i,this._getFocusOrigin(a),s)}_onBlur(e,i){const s=this._elementInfo.get(i);!s||s.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(s.subject,null))}_emitOrigin(e,i){this._ngZone.run(()=>e.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,s=this._rootNodeFocusListenerCount.get(i)||0;s||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Il),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Il)}),this._rootNodeFocusListenerCount.set(i,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(et(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const s=this._rootNodeFocusListenerCount.get(i);s>1?this._rootNodeFocusListenerCount.set(i,s-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Il),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Il),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,s){this._setClasses(e,i),this._emitOrigin(s.subject,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((s,a)=>{(a===e||s.checkChildren&&a.contains(e))&&i.push([a,s])}),i}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(t.R0b),t.LFG(gi),t.LFG($m),t.LFG(_.K0,8),t.LFG(DC,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const mg="cdk-high-contrast-black-on-white",Cw="cdk-high-contrast-white-on-black",Is="cdk-high-contrast-active";let Sw=(()=>{class n{constructor(e,i){this._platform=e,this._document=i}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,s=i&&i.getComputedStyle?i.getComputedStyle(e):null,a=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Is),e.remove(mg),e.remove(Cw),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?(e.add(Is),e.add(mg)):2===i&&(e.add(Is),e.add(Cw))}}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(gi),t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ew=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Sw))},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[Aa,nd]]}),n})();class _g{}const er="*";function mi(n,o){return{type:7,name:n,definitions:o,options:{}}}function Ct(n,o=null){return{type:4,styles:o,timings:n}}function bg(n,o=null){return{type:3,steps:n,options:o}}function Ih(n,o=null){return{type:2,steps:n,options:o}}function ze(n){return{type:6,styles:n,offset:null}}function xt(n,o,e){return{type:0,name:n,styles:o,options:e}}function Ac(n){return{type:5,steps:n}}function St(n,o,e=null){return{type:1,expr:n,animation:o,options:e}}function Jm(n=null){return{type:9,options:n}}function Do(n,o,e=null){return{type:11,selector:n,animation:o,options:e}}function wc(n){Promise.resolve(null).then(n)}class ld{constructor(o=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=o+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){wc(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(o){this._position=this.totalTime?o*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class Nl{constructor(o){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=o;let e=0,i=0,s=0;const a=this.players.length;0==a?wc(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++e==a&&this._onFinish()}),r.onDestroy(()=>{++i==a&&this._onDestroy()}),r.onStart(()=>{++s==a&&this._onStart()})}),this.totalTime=this.players.reduce((r,c)=>Math.max(r,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this.players.forEach(o=>o.init())}onStart(o){this._onStartFns.push(o)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(o=>o()),this._onStartFns=[])}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(o=>o.play())}pause(){this.players.forEach(o=>o.pause())}restart(){this.players.forEach(o=>o.restart())}finish(){this._onFinish(),this.players.forEach(o=>o.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(o=>o.destroy()),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this.players.forEach(o=>o.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(o){const e=o*this.totalTime;this.players.forEach(i=>{const s=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(s)})}getPosition(){const o=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=o?o.getPosition():0}beforeDestroy(){this.players.forEach(o=>{o.beforeDestroy&&o.beforeDestroy()})}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function kw(){return"undefined"!=typeof window&&void 0!==window.document}function ud(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Gn(n){switch(n.length){case 0:return new ld;case 1:return n[0];default:return new Nl(n)}}function Hl(n,o,e,i,s={},a={}){const r=[],c=[];let u=-1,h=null;if(i.forEach(g=>{const O=g.offset,$=O==u,re=$&&h||{};Object.keys(g).forEach(ye=>{let ve=ye,Le=g[ye];if("offset"!==ye)switch(ve=o.normalizePropertyName(ve,r),Le){case"!":Le=s[ye];break;case er:Le=a[ye];break;default:Le=o.normalizeStyleValue(ye,ve,Le,r)}re[ve]=Le}),$||c.push(re),h=re,u=O}),r.length){const g="\n - ";throw new Error(`Unable to animate due to the following errors:${g}${r.join(g)}`)}return c}function Ln(n,o,e,i){switch(o){case"start":n.onStart(()=>i(e&&Fr(e,"start",n)));break;case"done":n.onDone(()=>i(e&&Fr(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&Fr(e,"destroy",n)))}}function Fr(n,o,e){const i=e.totalTime,a=Bl(n.element,n.triggerName,n.fromState,n.toState,o||n.phaseName,null==i?n.totalTime:i,!!e.disabled),r=n._data;return null!=r&&(a._data=r),a}function Bl(n,o,e,i,s="",a=0,r){return{element:n,triggerName:o,fromState:e,toState:i,phaseName:s,totalTime:a,disabled:!!r}}function qi(n,o,e){let i;return n instanceof Map?(i=n.get(o),i||n.set(o,i=e)):(i=n[o],i||(i=n[o]=e)),i}function Nh(n){const o=n.indexOf(":");return[n.substring(1,o),n.substr(o+1)]}let Ea=(n,o)=>!1,Mc=(n,o,e)=>[];(ud()||"undefined"!=typeof Element)&&(Ea=kw()?(n,o)=>{for(;o&&o!==document.documentElement;){if(o===n)return!0;o=o.parentNode||o.host}return!1}:(n,o)=>n.contains(o),Mc=(n,o,e)=>{if(e)return Array.from(n.querySelectorAll(o));const i=n.querySelector(o);return i?[i]:[]});let to=null,vc=!1;function Tc(n){to||(to=function ql(){return"undefined"!=typeof document?document.body:null}()||{},vc=!!to.style&&"WebkitAppearance"in to.style);let o=!0;return to.style&&!function Fl(n){return"ebkit"==n.substring(1,6)}(n)&&(o=n in to.style,!o&&vc&&(o="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in to.style)),o}const Cc=Ea,Hh=Mc;let wg=(()=>{class n{validateStyleProperty(e){return Tc(e)}matchesElement(e,i){return!1}containsElement(e,i){return Cc(e,i)}query(e,i,s){return Hh(e,i,s)}computeStyle(e,i,s){return s||""}animate(e,i,s,a,r,c=[],u){return new ld(s,a)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),Bh=(()=>{class n{}return n.NOOP=new wg,n})();const Fh="ng-enter",hd="ng-leave",qh="ng-trigger",fd=".ng-trigger",i_="ng-animating",jh=".ng-animating";function ka(n){if("number"==typeof n)return n;const o=n.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:vg(parseFloat(o[1]),o[2])}function vg(n,o){return"s"===o?1e3*n:n}function Yh(n,o,e){return n.hasOwnProperty("duration")?n:function n_(n,o,e){let s,a=0,r="";if("string"==typeof n){const c=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return o.push(`The provided timing value "${n}" is invalid.`),{duration:0,delay:0,easing:""};s=vg(parseFloat(c[1]),c[2]);const u=c[3];null!=u&&(a=vg(parseFloat(u),c[4]));const h=c[5];h&&(r=h)}else s=n;if(!e){let c=!1,u=o.length;s<0&&(o.push("Duration values below 0 are not allowed for this animation step."),c=!0),a<0&&(o.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&o.splice(u,0,`The provided timing value "${n}" is invalid.`)}return{duration:s,delay:a,easing:r}}(n,o,e)}function jl(n,o={}){return Object.keys(n).forEach(e=>{o[e]=n[e]}),o}function Da(n,o,e={}){if(o)for(let i in n)e[i]=n[i];else jl(n,e);return e}function s_(n,o,e){return e?o+":"+e+";":""}function xw(n){let o="";for(let e=0;e{const s=a_(i);e&&!e.hasOwnProperty(i)&&(e[i]=n.style[s]),n.style[s]=o[i]}),ud()&&xw(n))}function qr(n,o){n.style&&(Object.keys(o).forEach(e=>{const i=a_(e);n.style[i]=""}),ud()&&xw(n))}function Sc(n){return Array.isArray(n)?1==n.length?n[0]:Ih(n):n}const o_=new RegExp("{{\\s*(.+?)\\s*}}","g");function Rw(n){let o=[];if("string"==typeof n){let e;for(;e=o_.exec(n);)o.push(e[1]);o_.lastIndex=0}return o}function Cg(n,o,e){const i=n.toString(),s=i.replace(o_,(a,r)=>{let c=o[r];return o.hasOwnProperty(r)||(e.push(`Please provide a value for the animation param ${r}`),c=""),c.toString()});return s==i?n:s}function Uh(n){const o=[];let e=n.next();for(;!e.done;)o.push(e.value),e=n.next();return o}const r_=/-+([a-z0-9])/g;function a_(n){return n.replace(r_,(...o)=>o[1].toUpperCase())}function Ow(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Cs(n,o,e){switch(o.type){case 7:return n.visitTrigger(o,e);case 0:return n.visitState(o,e);case 1:return n.visitTransition(o,e);case 2:return n.visitSequence(o,e);case 3:return n.visitGroup(o,e);case 4:return n.visitAnimate(o,e);case 5:return n.visitKeyframes(o,e);case 6:return n.visitStyle(o,e);case 8:return n.visitReference(o,e);case 9:return n.visitAnimateChild(o,e);case 10:return n.visitAnimateRef(o,e);case 11:return n.visitQuery(o,e);case 12:return n.visitStagger(o,e);default:throw new Error(`Unable to resolve animation metadata node #${o.type}`)}}function c_(n,o){return window.getComputedStyle(n)[o]}function Gh(n,o){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function zw(n,o,e){if(":"==n[0]){const u=function l_(n,o){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof u)return void o.push(u);n=u}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(`The provided transition expression "${n}" is not supported`),o;const s=i[1],a=i[2],r=i[3];o.push(u_(s,r));"<"==a[0]&&!("*"==s&&"*"==r)&&o.push(u_(r,s))}(i,e,o)):e.push(n),e}const Vh=new Set(["true","1"]),Wh=new Set(["false","0"]);function u_(n,o){const e=Vh.has(n)||Wh.has(n),i=Vh.has(o)||Wh.has(o);return(s,a)=>{let r="*"==n||n==s,c="*"==o||o==a;return!r&&e&&"boolean"==typeof s&&(r=s?Vh.has(n):Wh.has(n)),!c&&i&&"boolean"==typeof a&&(c=a?Vh.has(o):Wh.has(o)),r&&c}}const Iw=new RegExp("s*:selfs*,?","g");function Kh(n,o,e){return new f_(n).build(o,e)}class f_{constructor(o){this._driver=o}build(o,e){const i=new RC(e);return this._resetContextStyleTimingState(i),Cs(this,Sc(o),i)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles={},o.collectedStyles[""]={},o.currentTime=0}visitTrigger(o,e){let i=e.queryCount=0,s=e.depCount=0;const a=[],r=[];return"@"==o.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),o.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const u=c,h=u.name;h.toString().split(/\s*,\s*/).forEach(g=>{u.name=g,a.push(this.visitState(u,e))}),u.name=h}else if(1==c.type){const u=this.visitTransition(c,e);i+=u.queryCount,s+=u.depCount,r.push(u)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:o.name,states:a,transitions:r,queryCount:i,depCount:s,options:null}}visitState(o,e){const i=this.visitStyle(o.styles,e),s=o.options&&o.options.params||null;if(i.containsDynamicStyles){const a=new Set,r=s||{};if(i.styles.forEach(c=>{if(Zh(c)){const u=c;Object.keys(u).forEach(h=>{Rw(u[h]).forEach(g=>{r.hasOwnProperty(g)||a.add(g)})})}}),a.size){const c=Uh(a.values());e.errors.push(`state("${o.name}", ...) must define default values for all the following style substitutions: ${c.join(", ")}`)}}return{type:0,name:o.name,style:i,options:s?{params:s}:null}}visitTransition(o,e){e.queryCount=0,e.depCount=0;const i=Cs(this,Sc(o.animation),e);return{type:1,matchers:Gh(o.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:xo(o.options)}}visitSequence(o,e){return{type:2,steps:o.steps.map(i=>Cs(this,i,e)),options:xo(o.options)}}visitGroup(o,e){const i=e.currentTime;let s=0;const a=o.steps.map(r=>{e.currentTime=i;const c=Cs(this,r,e);return s=Math.max(s,e.currentTime),c});return e.currentTime=s,{type:3,steps:a,options:xo(o.options)}}visitAnimate(o,e){const i=function OC(n,o){let e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return $h(Yh(n,o).duration,0,"");const i=n;if(i.split(/\s+/).some(a=>"{"==a.charAt(0)&&"{"==a.charAt(1))){const a=$h(0,0,"");return a.dynamic=!0,a.strValue=i,a}return e=e||Yh(i,o),$h(e.duration,e.delay,e.easing)}(o.timings,e.errors);e.currentAnimateTimings=i;let s,a=o.styles?o.styles:ze({});if(5==a.type)s=this.visitKeyframes(a,e);else{let r=o.styles,c=!1;if(!r){c=!0;const h={};i.easing&&(h.easing=i.easing),r=ze(h)}e.currentTime+=i.duration+i.delay;const u=this.visitStyle(r,e);u.isEmptyStep=c,s=u}return e.currentAnimateTimings=null,{type:4,timings:i,style:s,options:null}}visitStyle(o,e){const i=this._makeStyleAst(o,e);return this._validateStyleAst(i,e),i}_makeStyleAst(o,e){const i=[];Array.isArray(o.styles)?o.styles.forEach(r=>{"string"==typeof r?r==er?i.push(r):e.errors.push(`The provided style string value ${r} is not allowed.`):i.push(r)}):i.push(o.styles);let s=!1,a=null;return i.forEach(r=>{if(Zh(r)){const c=r,u=c.easing;if(u&&(a=u,delete c.easing),!s)for(let h in c)if(c[h].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:i,easing:a,offset:o.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(o,e){const i=e.currentAnimateTimings;let s=e.currentTime,a=e.currentTime;i&&a>0&&(a-=i.duration+i.delay),o.styles.forEach(r=>{"string"!=typeof r&&Object.keys(r).forEach(c=>{if(!this._driver.validateStyleProperty(c))return void e.errors.push(`The provided animation property "${c}" is not a supported CSS property for animations`);const u=e.collectedStyles[e.currentQuerySelector],h=u[c];let g=!0;h&&(a!=s&&a>=h.startTime&&s<=h.endTime&&(e.errors.push(`The CSS property "${c}" that exists between the times of "${h.startTime}ms" and "${h.endTime}ms" is also being animated in a parallel animation between the times of "${a}ms" and "${s}ms"`),g=!1),a=h.startTime),g&&(u[c]={startTime:a,endTime:s}),e.options&&function Lw(n,o,e){const i=o.params||{},s=Rw(n);s.length&&s.forEach(a=>{i.hasOwnProperty(a)||e.push(`Unable to resolve the local animation param ${a} in the given list of values`)})}(r[c],e.options,e.errors)})})}visitKeyframes(o,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;let a=0;const r=[];let c=!1,u=!1,h=0;const g=o.steps.map(it=>{const Vt=this._makeStyleAst(it,e);let It=null!=Vt.offset?Vt.offset:function Eg(n){if("string"==typeof n)return null;let o=null;if(Array.isArray(n))n.forEach(e=>{if(Zh(e)&&e.hasOwnProperty("offset")){const i=e;o=parseFloat(i.offset),delete i.offset}});else if(Zh(n)&&n.hasOwnProperty("offset")){const e=n;o=parseFloat(e.offset),delete e.offset}return o}(Vt.styles),bi=0;return null!=It&&(a++,bi=Vt.offset=It),u=u||bi<0||bi>1,c=c||bi0&&a{const It=$>0?Vt==re?1:$*Vt:r[Vt],bi=It*Le;e.currentTime=ye+ve.delay+bi,ve.duration=bi,this._validateStyleAst(it,e),it.offset=It,i.styles.push(it)}),i}visitReference(o,e){return{type:8,animation:Cs(this,Sc(o.animation),e),options:xo(o.options)}}visitAnimateChild(o,e){return e.depCount++,{type:9,options:xo(o.options)}}visitAnimateRef(o,e){return{type:10,animation:this.visitReference(o.animation,e),options:xo(o.options)}}visitQuery(o,e){const i=e.currentQuerySelector,s=o.options||{};e.queryCount++,e.currentQuery=o;const[a,r]=function p_(n){const o=!!n.split(/\s*,\s*/).find(e=>":self"==e);return o&&(n=n.replace(Iw,"")),n=n.replace(/@\*/g,fd).replace(/@\w+/g,e=>fd+"-"+e.substr(1)).replace(/:animating/g,jh),[n,o]}(o.selector);e.currentQuerySelector=i.length?i+" "+a:a,qi(e.collectedStyles,e.currentQuerySelector,{});const c=Cs(this,Sc(o.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:a,limit:s.limit||0,optional:!!s.optional,includeSelf:r,animation:c,originalSelector:o.selector,options:xo(o.options)}}visitStagger(o,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const i="full"===o.timings?{duration:0,delay:0,easing:"full"}:Yh(o.timings,e.errors,!0);return{type:12,animation:Cs(this,Sc(o.animation),e),timings:i,options:null}}}class RC{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Zh(n){return!Array.isArray(n)&&"object"==typeof n}function xo(n){return n?(n=jl(n)).params&&(n.params=function Sg(n){return n?jl(n):null}(n.params)):n={},n}function $h(n,o,e){return{duration:n,delay:o,easing:e}}function gd(n,o,e,i,s,a,r=null,c=!1){return{type:1,element:n,keyframes:o,preStyleProps:e,postStyleProps:i,duration:s,delay:a,totalTime:s+a,easing:r,subTimeline:c}}class Ul{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,e){let i=this._map.get(o);i||this._map.set(o,i=[]),i.push(...e)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Dg=new RegExp(":enter","g"),PC=new RegExp(":leave","g");function xg(n,o,e,i,s,a={},r={},c,u,h=[]){return(new Lg).buildKeyframes(n,o,e,i,s,a,r,c,u,h)}class Lg{buildKeyframes(o,e,i,s,a,r,c,u,h,g=[]){h=h||new Ul;const O=new Xh(o,e,h,s,a,g,[]);O.options=u,O.currentTimeline.setStyles([r],null,O.errors,u),Cs(this,i,O);const $=O.timelines.filter(re=>re.containsAnimation());if(Object.keys(c).length){let re;for(let ye=$.length-1;ye>=0;ye--){const ve=$[ye];if(ve.element===e){re=ve;break}}re&&!re.allowOnlyTimelineStyles()&&re.setStyles([c],null,O.errors,u)}return $.length?$.map(re=>re.buildKeyframes()):[gd(e,[],[],[],0,0,"",!1)]}visitTrigger(o,e){}visitState(o,e){}visitTransition(o,e){}visitAnimateChild(o,e){const i=e.subInstructions.get(e.element);if(i){const s=e.createSubContext(o.options),a=e.currentTimeline.currentTime,r=this._visitSubInstructions(i,s,s.options);a!=r&&e.transformIntoNewTimeline(r)}e.previousNode=o}visitAnimateRef(o,e){const i=e.createSubContext(o.options);i.transformIntoNewTimeline(),this.visitReference(o.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=o}_visitSubInstructions(o,e,i){let a=e.currentTimeline.currentTime;const r=null!=i.duration?ka(i.duration):null,c=null!=i.delay?ka(i.delay):null;return 0!==r&&o.forEach(u=>{const h=e.appendInstructionToTimeline(u,r,c);a=Math.max(a,h.duration+h.delay)}),a}visitReference(o,e){e.updateOptions(o.options,!0),Cs(this,o.animation,e),e.previousNode=o}visitSequence(o,e){const i=e.subContextCount;let s=e;const a=o.options;if(a&&(a.params||a.delay)&&(s=e.createSubContext(a),s.transformIntoNewTimeline(),null!=a.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Gl);const r=ka(a.delay);s.delayNextStep(r)}o.steps.length&&(o.steps.forEach(r=>Cs(this,r,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>i&&s.transformIntoNewTimeline()),e.previousNode=o}visitGroup(o,e){const i=[];let s=e.currentTimeline.currentTime;const a=o.options&&o.options.delay?ka(o.options.delay):0;o.steps.forEach(r=>{const c=e.createSubContext(o.options);a&&c.delayNextStep(a),Cs(this,r,c),s=Math.max(s,c.currentTimeline.currentTime),i.push(c.currentTimeline)}),i.forEach(r=>e.currentTimeline.mergeTimelineCollectedStyles(r)),e.transformIntoNewTimeline(s),e.previousNode=o}_visitTiming(o,e){if(o.dynamic){const i=o.strValue;return Yh(e.params?Cg(i,e.params,e.errors):i,e.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,e){const i=e.currentAnimateTimings=this._visitTiming(o.timings,e),s=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),s.snapshotCurrentStyles());const a=o.style;5==a.type?this.visitKeyframes(a,e):(e.incrementTime(i.duration),this.visitStyle(a,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=o}visitStyle(o,e){const i=e.currentTimeline,s=e.currentAnimateTimings;!s&&i.getCurrentStyleProperties().length&&i.forwardFrame();const a=s&&s.easing||o.easing;o.isEmptyStep?i.applyEmptyStep(a):i.setStyles(o.styles,a,e.errors,e.options),e.previousNode=o}visitKeyframes(o,e){const i=e.currentAnimateTimings,s=e.currentTimeline.duration,a=i.duration,c=e.createSubContext().currentTimeline;c.easing=i.easing,o.styles.forEach(u=>{c.forwardTime((u.offset||0)*a),c.setStyles(u.styles,u.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(s+a),e.previousNode=o}visitQuery(o,e){const i=e.currentTimeline.currentTime,s=o.options||{},a=s.delay?ka(s.delay):0;a&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Gl);let r=i;const c=e.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=c.length;let u=null;c.forEach((h,g)=>{e.currentQueryIndex=g;const O=e.createSubContext(o.options,h);a&&O.delayNextStep(a),h===e.element&&(u=O.currentTimeline),Cs(this,o.animation,O),O.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,O.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=o}visitStagger(o,e){const i=e.parentContext,s=e.currentTimeline,a=o.timings,r=Math.abs(a.duration),c=r*(e.currentQueryTotal-1);let u=r*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":u=c-u;break;case"full":u=i.currentStaggerTime}const g=e.currentTimeline;u&&g.delayNextStep(u);const O=g.currentTime;Cs(this,o.animation,e),e.previousNode=o,i.currentStaggerTime=s.currentTime-O+(s.startTime-i.currentTimeline.startTime)}}const Gl={};class Xh{constructor(o,e,i,s,a,r,c,u){this._driver=o,this.element=e,this.subInstructions=i,this._enterClassName=s,this._leaveClassName=a,this.errors=r,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Gl,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new md(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,e){if(!o)return;const i=o;let s=this.options;null!=i.duration&&(s.duration=ka(i.duration)),null!=i.delay&&(s.delay=ka(i.delay));const a=i.params;if(a){let r=s.params;r||(r=this.options.params={}),Object.keys(a).forEach(c=>{(!e||!r.hasOwnProperty(c))&&(r[c]=Cg(a[c],r,this.errors))})}}_copyOptions(){const o={};if(this.options){const e=this.options.params;if(e){const i=o.params={};Object.keys(e).forEach(s=>{i[s]=e[s]})}}return o}createSubContext(o=null,e,i){const s=e||this.element,a=new Xh(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,i||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(o),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(o){return this.previousNode=Gl,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,e,i){const s={duration:null!=e?e:o.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+o.delay,easing:""},a=new Rg(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,s,o.stretchStartingKeyframe);return this.timelines.push(a),s}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,e,i,s,a,r){let c=[];if(s&&c.push(this.element),o.length>0){o=(o=o.replace(Dg,"."+this._enterClassName)).replace(PC,"."+this._leaveClassName);let h=this._driver.query(this.element,o,1!=i);0!==i&&(h=i<0?h.slice(h.length+i,h.length):h.slice(0,i)),c.push(...h)}return!a&&0==c.length&&r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),c}}class md{constructor(o,e,i,s){this._driver=o,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+o),e&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,e){return this.applyStylesToKeyframe(),new md(this._driver,o,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,e){this._localTimelineStyles[o]=e,this._globalTimelineStyles[o]=e,this._styleSummary[o]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&(this._previousKeyframe.easing=o),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||er,this._currentKeyframe[e]=er}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,e,i,s){e&&(this._previousKeyframe.easing=e);const a=s&&s.params||{},r=function m_(n,o){const e={};let i;return n.forEach(s=>{"*"===s?(i=i||Object.keys(o),i.forEach(a=>{e[a]=er})):Da(s,!1,e)}),e}(o,this._globalTimelineStyles);Object.keys(r).forEach(c=>{const u=Cg(r[c],a,i);this._pendingStyles[c]=u,this._localTimelineStyles.hasOwnProperty(c)||(this._backFill[c]=this._globalTimelineStyles.hasOwnProperty(c)?this._globalTimelineStyles[c]:er),this._updateStyle(c,u)})}applyStylesToKeyframe(){const o=this._pendingStyles,e=Object.keys(o);0!=e.length&&(this._pendingStyles={},e.forEach(i=>{this._currentKeyframe[i]=o[i]}),Object.keys(this._localTimelineStyles).forEach(i=>{this._currentKeyframe.hasOwnProperty(i)||(this._currentKeyframe[i]=this._localTimelineStyles[i])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(o=>{const e=this._localTimelineStyles[o];this._pendingStyles[o]=e,this._updateStyle(o,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let e in this._currentKeyframe)o.push(e);return o}mergeTimelineCollectedStyles(o){Object.keys(o._styleSummary).forEach(e=>{const i=this._styleSummary[e],s=o._styleSummary[e];(!i||s.time>i.time)&&this._updateStyle(e,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((c,u)=>{const h=Da(c,!0);Object.keys(h).forEach(g=>{const O=h[g];"!"==O?o.add(g):O==er&&e.add(g)}),i||(h.offset=u/this.duration),s.push(h)});const a=o.size?Uh(o.values()):[],r=e.size?Uh(e.values()):[];if(i){const c=s[0],u=jl(c);c.offset=0,u.offset=1,s=[c,u]}return gd(this.element,s,a,r,this.duration,this.startTime,this.easing,!1)}}class Rg extends md{constructor(o,e,i,s,a,r,c=!1){super(o,e,r.delay),this.keyframes=i,this.preStyleProps=s,this.postStyleProps=a,this._stretchStartingKeyframe=c,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:e,duration:i,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const a=[],r=i+e,c=e/r,u=Da(o[0],!1);u.offset=0,a.push(u);const h=Da(o[0],!1);h.offset=Og(c),a.push(h);const g=o.length-1;for(let O=1;O<=g;O++){let $=Da(o[O],!1);$.offset=Og((e+$.offset*i)/r),a.push($)}i=r,e=0,s="",o=a}return gd(this.element,o,this.preStyleProps,this.postStyleProps,i,e,s,!0)}}function Og(n,o=3){const e=Math.pow(10,o-1);return Math.round(n*e)/e}class _d{}class b_ extends _d{normalizePropertyName(o,e){return a_(o)}normalizeStyleValue(o,e,i,s){let a="";const r=i.toString().trim();if(y_[e]&&0!==i&&"0"!==i)if("number"==typeof i)a="px";else{const c=i.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&s.push(`Please provide a CSS unit value for ${o}:${i}`)}return r+a}}const y_=(()=>function Pg(n){const o={};return n.forEach(e=>o[e]=!0),o}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function zg(n,o,e,i,s,a,r,c,u,h,g,O,$){return{type:0,element:n,triggerName:o,isRemovalTransition:s,fromState:e,fromStyles:a,toState:i,toStyles:r,timelines:c,queriedElements:u,preStyleProps:h,postStyleProps:g,totalTime:O,errors:$}}const Ig={};class Ng{constructor(o,e,i){this._triggerName=o,this.ast=e,this._stateStyles=i}match(o,e,i,s){return function A_(n,o,e,i,s){return n.some(a=>a(o,e,i,s))}(this.ast.matchers,o,e,i,s)}buildStyles(o,e,i){const s=this._stateStyles["*"],a=this._stateStyles[o],r=s?s.buildStyles(e,i):{};return a?a.buildStyles(e,i):r}build(o,e,i,s,a,r,c,u,h,g){const O=[],$=this.ast.options&&this.ast.options.params||Ig,ye=this.buildStyles(i,c&&c.params||Ig,O),ve=u&&u.params||Ig,Le=this.buildStyles(s,ve,O),it=new Set,Vt=new Map,It=new Map,bi="void"===s,yu={params:Object.assign(Object.assign({},$),ve)},qa=g?[]:xg(o,e,this.ast.animation,a,r,ye,Le,yu,h,O);let Fs=0;if(qa.forEach($c=>{Fs=Math.max($c.duration+$c.delay,Fs)}),O.length)return zg(e,this._triggerName,i,s,bi,ye,Le,[],[],Vt,It,Fs,O);qa.forEach($c=>{const Xc=$c.element,cD=qi(Vt,Xc,{});$c.preStyleProps.forEach(Wd=>cD[Wd]=!0);const x1=qi(It,Xc,{});$c.postStyleProps.forEach(Wd=>x1[Wd]=!0),Xc!==e&&it.add(Xc)});const Zc=Uh(it.values());return zg(e,this._triggerName,i,s,bi,ye,Le,qa,Zc,Vt,It,Fs)}}class Hg{constructor(o,e,i){this.styles=o,this.defaultParams=e,this.normalizer=i}buildStyles(o,e){const i={},s=jl(this.defaultParams);return Object.keys(o).forEach(a=>{const r=o[a];null!=r&&(s[a]=r)}),this.styles.styles.forEach(a=>{if("string"!=typeof a){const r=a;Object.keys(r).forEach(c=>{let u=r[c];u.length>1&&(u=Cg(u,s,e));const h=this.normalizer.normalizePropertyName(c,e);u=this.normalizer.normalizeStyleValue(c,h,u,e),i[h]=u})}}),i}}class Bg{constructor(o,e,i){this.name=o,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states={},e.states.forEach(s=>{this.states[s.name]=new Hg(s.style,s.options&&s.options.params||{},i)}),Fg(this.states,"true","1"),Fg(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new Ng(o,s,this.states))}),this.fallbackTransition=function w_(n,o,e){return new Ng(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(r,c)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,e,i,s){return this.transitionFactories.find(r=>r.match(o,e,i,s))||null}matchStyles(o,e,i){return this.fallbackTransition.buildStyles(o,e,i)}}function Fg(n,o,e){n.hasOwnProperty(o)?n.hasOwnProperty(e)||(n[e]=n[o]):n.hasOwnProperty(e)&&(n[o]=n[e])}const M_=new Ul;class v_{constructor(o,e,i){this.bodyNode=o,this._driver=e,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(o,e){const i=[],s=Kh(this._driver,e,i);if(i.length)throw new Error(`Unable to build the animation due to the following errors: ${i.join("\n")}`);this._animations[o]=s}_buildPlayer(o,e,i){const s=o.element,a=Hl(0,this._normalizer,0,o.keyframes,e,i);return this._driver.animate(s,a,o.duration,o.delay,o.easing,[],!0)}create(o,e,i={}){const s=[],a=this._animations[o];let r;const c=new Map;if(a?(r=xg(this._driver,e,a,Fh,hd,{},{},i,M_,s),r.forEach(g=>{const O=qi(c,g.element,{});g.postStyleProps.forEach($=>O[$]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),r=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);c.forEach((g,O)=>{Object.keys(g).forEach($=>{g[$]=this._driver.computeStyle(O,$,er)})});const h=Gn(r.map(g=>{const O=c.get(g.element);return this._buildPlayer(g,{},O)}));return this._playersById[o]=h,h.onDestroy(()=>this.destroy(o)),this.players.push(h),h}destroy(o){const e=this._getPlayer(o);e.destroy(),delete this._playersById[o];const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(o){const e=this._playersById[o];if(!e)throw new Error(`Unable to find the timeline player referenced by ${o}`);return e}listen(o,e,i,s){const a=Bl(e,"","","");return Ln(this._getPlayer(o),i,a,s),()=>{}}command(o,e,i,s){if("register"==i)return void this.register(o,s[0]);if("create"==i)return void this.create(o,e,s[0]||{});const a=this._getPlayer(o);switch(i){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(o)}}}const qg="ng-animate-queued",Jh="ng-animate-disabled",C_=[],S_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},vn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ns="__ng_removed";class jg{constructor(o,e=""){this.namespaceId=e;const i=o&&o.hasOwnProperty("value");if(this.value=function qw(n){return null!=n?n:null}(i?o.value:o),i){const a=jl(o);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const e=o.params;if(e){const i=this.options.params;Object.keys(e).forEach(s=>{null==i[s]&&(i[s]=e[s])})}}}const bd="void",ef=new jg(bd);class Fw{constructor(o,e,i){this.id=o,this.hostElement=e,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,Ss(e,this._hostClassName)}listen(o,e,i,s){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${i}" because the animation trigger "${e}" doesn't exist!`);if(null==i||0==i.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function k_(n){return"start"==n||"done"==n}(i))throw new Error(`The provided animation trigger event "${i}" for the animation trigger "${e}" is not supported!`);const a=qi(this._elementListeners,o,[]),r={name:e,phase:i,callback:s};a.push(r);const c=qi(this._engine.statesByElement,o,{});return c.hasOwnProperty(e)||(Ss(o,qh),Ss(o,qh+"-"+e),c[e]=ef),()=>{this._engine.afterFlush(()=>{const u=a.indexOf(r);u>=0&&a.splice(u,1),this._triggers[e]||delete c[e]})}}register(o,e){return!this._triggers[o]&&(this._triggers[o]=e,!0)}_getTrigger(o){const e=this._triggers[o];if(!e)throw new Error(`The provided animation trigger "${o}" has not been registered!`);return e}trigger(o,e,i,s=!0){const a=this._getTrigger(e),r=new tf(this.id,e,o);let c=this._engine.statesByElement.get(o);c||(Ss(o,qh),Ss(o,qh+"-"+e),this._engine.statesByElement.set(o,c={}));let u=c[e];const h=new jg(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&u&&h.absorbOptions(u.options),c[e]=h,u||(u=ef),h.value!==bd&&u.value===h.value){if(!function nr(n,o){const e=Object.keys(n),i=Object.keys(o);if(e.length!=i.length)return!1;for(let s=0;s{qr(o,Le),tr(o,it)})}return}const $=qi(this._engine.playersByElement,o,[]);$.forEach(ve=>{ve.namespaceId==this.id&&ve.triggerName==e&&ve.queued&&ve.destroy()});let re=a.matchTransition(u.value,h.value,o,h.params),ye=!1;if(!re){if(!s)return;re=a.fallbackTransition,ye=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:e,transition:re,fromState:u,toState:h,player:r,isFallbackTransition:ye}),ye||(Ss(o,qg),r.onStart(()=>{xa(o,qg)})),r.onDone(()=>{let ve=this.players.indexOf(r);ve>=0&&this.players.splice(ve,1);const Le=this._engine.playersByElement.get(o);if(Le){let it=Le.indexOf(r);it>=0&&Le.splice(it,1)}}),this.players.push(r),$.push(r),r}deregister(o){delete this._triggers[o],this._engine.statesByElement.forEach((e,i)=>{delete e[o]}),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(s=>s.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const e=this._engine.playersByElement.get(o);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,e){const i=this._engine.driver.query(o,fd,!0);i.forEach(s=>{if(s[Ns])return;const a=this._engine.fetchNamespacesByElement(s);a.size?a.forEach(r=>r.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(o,e,i,s){const a=this._engine.statesByElement.get(o),r=new Map;if(a){const c=[];if(Object.keys(a).forEach(u=>{if(r.set(u,a[u].value),this._triggers[u]){const h=this.trigger(o,u,bd,s);h&&c.push(h)}}),c.length)return this._engine.markElementAsRemoved(this.id,o,!0,e,r),i&&Gn(c).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const e=this._elementListeners.get(o),i=this._engine.statesByElement.get(o);if(e&&i){const s=new Set;e.forEach(a=>{const r=a.name;if(s.has(r))return;s.add(r);const u=this._triggers[r].fallbackTransition,h=i[r]||ef,g=new jg(bd),O=new tf(this.id,r,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:r,transition:u,fromState:h,toState:g,player:O,isFallbackTransition:!0})})}}removeNode(o,e){const i=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,e),this.triggerLeaveAnimation(o,e,!0))return;let s=!1;if(i.totalAnimations){const a=i.players.length?i.playersByQueriedElement.get(o):[];if(a&&a.length)s=!0;else{let r=o;for(;r=r.parentNode;)if(i.statesByElement.get(r)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(o),s)i.markElementAsRemoved(this.id,o,!1,e);else{const a=o[Ns];(!a||a===S_)&&(i.afterFlush(()=>this.clearElementCache(o)),i.destroyInnerAnimations(o),i._onRemovalComplete(o,e))}}insertNode(o,e){Ss(o,this._hostClassName)}drainQueuedTransitions(o){const e=[];return this._queue.forEach(i=>{const s=i.player;if(s.destroyed)return;const a=i.element,r=this._elementListeners.get(a);r&&r.forEach(c=>{if(c.name==i.triggerName){const u=Bl(a,i.triggerName,i.fromState.value,i.toState.value);u._data=o,Ln(i.player,c.phase,u,c.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(i)}),this._queue=[],e.sort((i,s)=>{const a=i.transition.ast.depCount,r=s.transition.ast.depCount;return 0==a||0==r?a-r:this._engine.driver.containsElement(i.element,s.element)?1:-1})}destroy(o){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let e=!1;return this._elementListeners.has(o)&&(e=!0),e=!!this._queue.find(i=>i.element===o)||e,e}}class E_{constructor(o,e,i){this.bodyNode=o,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(s,a)=>{}}_onRemovalComplete(o,e){this.onRemovalComplete(o,e)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&o.push(i)})}),o}createNamespace(o,e){const i=new Fw(o,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[o]=i}_balanceNamespaceList(o,e){const i=this._namespaceList.length-1;if(i>=0){let s=!1;for(let a=i;a>=0;a--)if(this.driver.containsElement(this._namespaceList[a].hostElement,e)){this._namespaceList.splice(a+1,0,o),s=!0;break}s||this._namespaceList.splice(0,0,o)}else this._namespaceList.push(o);return this.namespacesByHostElement.set(e,o),o}register(o,e){let i=this._namespaceLookup[o];return i||(i=this.createNamespace(o,e)),i}registerTrigger(o,e,i){let s=this._namespaceLookup[o];s&&s.register(e,i)&&this.totalAnimations++}destroy(o,e){if(!o)return;const i=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[o];const s=this._namespaceList.indexOf(i);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const e=new Set,i=this.statesByElement.get(o);if(i){const s=Object.keys(i);for(let a=0;a=0&&this.collectedLeaveElements.splice(r,1)}if(o){const r=this._fetchNamespace(o);r&&r.insertNode(e,i)}s&&this.collectEnterElement(e)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,e){e?this.disabledNodes.has(o)||(this.disabledNodes.add(o),Ss(o,Jh)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),xa(o,Jh))}removeNode(o,e,i,s){if(nf(e)){const a=o?this._fetchNamespace(o):null;if(a?a.removeNode(e,s):this.markElementAsRemoved(o,e,!1,s),i){const r=this.namespacesByHostElement.get(e);r&&r.id!==o&&r.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(o,e,i,s,a){this.collectedLeaveElements.push(e),e[Ns]={namespaceId:o,setForRemoval:s,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:a}}listen(o,e,i,s,a){return nf(e)?this._fetchNamespace(o).listen(e,i,s,a):()=>{}}_buildInstruction(o,e,i,s,a){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,i,s,o.fromState.options,o.toState.options,e,a)}destroyInnerAnimations(o){let e=this.driver.query(o,fd,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(o,jh,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(o){const e=this.playersByElement.get(o);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(o){const e=this.playersByQueriedElement.get(o);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return Gn(this.players).onDone(()=>o());o()})}processLeaveNode(o){var e;const i=o[Ns];if(i&&i.setForRemoval){if(o[Ns]=S_,i.namespaceId){this.destroyInnerAnimations(o);const s=this._fetchNamespace(i.namespaceId);s&&s.clearElementCache(o)}this._onRemovalComplete(o,i.setForRemoval)}(null===(e=o.classList)||void 0===e?void 0:e.contains(Jh))&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(o=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,s)=>this._balanceNamespaceList(i,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Gn(e).onDone(()=>{i.forEach(s=>s())}):i.forEach(s=>s())}}reportError(o){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${o.join("\n")}`)}_flushAnimations(o,e){const i=new Ul,s=[],a=new Map,r=[],c=new Map,u=new Map,h=new Map,g=new Set;this.disabledNodes.forEach(st=>{g.add(st);const pt=this.driver.query(st,".ng-animate-queued",!0);for(let bt=0;bt{const bt=Fh+ve++;ye.set(pt,bt),st.forEach(ri=>Ss(ri,bt))});const Le=[],it=new Set,Vt=new Set;for(let st=0;stit.add(ri)):Vt.add(pt))}const It=new Map,bi=jw($,Array.from(it));bi.forEach((st,pt)=>{const bt=hd+ve++;It.set(pt,bt),st.forEach(ri=>Ss(ri,bt))}),o.push(()=>{re.forEach((st,pt)=>{const bt=ye.get(pt);st.forEach(ri=>xa(ri,bt))}),bi.forEach((st,pt)=>{const bt=It.get(pt);st.forEach(ri=>xa(ri,bt))}),Le.forEach(st=>{this.processLeaveNode(st)})});const yu=[],qa=[];for(let st=this._namespaceList.length-1;st>=0;st--)this._namespaceList[st].drainQueuedTransitions(e).forEach(bt=>{const ri=bt.player,ns=bt.element;if(yu.push(ri),this.collectedEnterElements.length){const qs=ns[Ns];if(qs&&qs.setForMove){if(qs.previousTriggersValues&&qs.previousTriggersValues.has(bt.triggerName)){const Kd=qs.previousTriggersValues.get(bt.triggerName),wu=this.statesByElement.get(bt.element);wu&&wu[bt.triggerName]&&(wu[bt.triggerName].value=Kd)}return void ri.destroy()}}const ja=!O||!this.driver.containsElement(O,ns),Ro=It.get(ns),Au=ye.get(ns),ln=this._buildInstruction(bt,i,Au,Ro,ja);if(ln.errors&&ln.errors.length)return void qa.push(ln);if(ja)return ri.onStart(()=>qr(ns,ln.fromStyles)),ri.onDestroy(()=>tr(ns,ln.toStyles)),void s.push(ri);if(bt.isFallbackTransition)return ri.onStart(()=>qr(ns,ln.fromStyles)),ri.onDestroy(()=>tr(ns,ln.toStyles)),void s.push(ri);const dD=[];ln.timelines.forEach(qs=>{qs.stretchStartingKeyframe=!0,this.disabledNodes.has(qs.element)||dD.push(qs)}),ln.timelines=dD,i.append(ns,ln.timelines),r.push({instruction:ln,player:ri,element:ns}),ln.queriedElements.forEach(qs=>qi(c,qs,[]).push(ri)),ln.preStyleProps.forEach((qs,Kd)=>{const wu=Object.keys(qs);if(wu.length){let Zd=u.get(Kd);Zd||u.set(Kd,Zd=new Set),wu.forEach(PT=>Zd.add(PT))}}),ln.postStyleProps.forEach((qs,Kd)=>{const wu=Object.keys(qs);let Zd=h.get(Kd);Zd||h.set(Kd,Zd=new Set),wu.forEach(PT=>Zd.add(PT))})});if(qa.length){const st=[];qa.forEach(pt=>{st.push(`@${pt.triggerName} has failed due to:\n`),pt.errors.forEach(bt=>st.push(`- ${bt}\n`))}),yu.forEach(pt=>pt.destroy()),this.reportError(st)}const Fs=new Map,Zc=new Map;r.forEach(st=>{const pt=st.element;i.has(pt)&&(Zc.set(pt,pt),this._beforeAnimationBuild(st.player.namespaceId,st.instruction,Fs))}),s.forEach(st=>{const pt=st.element;this._getPreviousPlayers(pt,!1,st.namespaceId,st.triggerName,null).forEach(ri=>{qi(Fs,pt,[]).push(ri),ri.destroy()})});const $c=Le.filter(st=>io(st,u,h)),Xc=new Map;Yg(Xc,this.driver,Vt,h,er).forEach(st=>{io(st,u,h)&&$c.push(st)});const x1=new Map;re.forEach((st,pt)=>{Yg(x1,this.driver,new Set(st),u,"!")}),$c.forEach(st=>{const pt=Xc.get(st),bt=x1.get(st);Xc.set(st,Object.assign(Object.assign({},pt),bt))});const Wd=[],lD=[],uD={};r.forEach(st=>{const{element:pt,player:bt,instruction:ri}=st;if(i.has(pt)){if(g.has(pt))return bt.onDestroy(()=>tr(pt,ri.toStyles)),bt.disabled=!0,bt.overrideTotalTime(ri.totalTime),void s.push(bt);let ns=uD;if(Zc.size>1){let Ro=pt;const Au=[];for(;Ro=Ro.parentNode;){const ln=Zc.get(Ro);if(ln){ns=ln;break}Au.push(Ro)}Au.forEach(ln=>Zc.set(ln,ns))}const ja=this._buildAnimation(bt.namespaceId,ri,Fs,a,x1,Xc);if(bt.setRealPlayer(ja),ns===uD)Wd.push(bt);else{const Ro=this.playersByElement.get(ns);Ro&&Ro.length&&(bt.parentPlayer=Gn(Ro)),s.push(bt)}}else qr(pt,ri.fromStyles),bt.onDestroy(()=>tr(pt,ri.toStyles)),lD.push(bt),g.has(pt)&&s.push(bt)}),lD.forEach(st=>{const pt=a.get(st.element);if(pt&&pt.length){const bt=Gn(pt);st.setRealPlayer(bt)}}),s.forEach(st=>{st.parentPlayer?st.syncPlayerEvents(st.parentPlayer):st.destroy()});for(let st=0;st!ja.destroyed);ns.length?ir(this,pt,ns):this.processLeaveNode(pt)}return Le.length=0,Wd.forEach(st=>{this.players.push(st),st.onDone(()=>{st.destroy();const pt=this.players.indexOf(st);this.players.splice(pt,1)}),st.play()}),Wd}elementContainsData(o,e){let i=!1;const s=e[Ns];return s&&s.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(o).elementContainsData(e)||i}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,e,i,s,a){let r=[];if(e){const c=this.playersByQueriedElement.get(o);c&&(r=c)}else{const c=this.playersByElement.get(o);if(c){const u=!a||a==bd;c.forEach(h=>{h.queued||!u&&h.triggerName!=s||r.push(h)})}}return(i||s)&&(r=r.filter(c=>!(i&&i!=c.namespaceId||s&&s!=c.triggerName))),r}_beforeAnimationBuild(o,e,i){const a=e.element,r=e.isRemovalTransition?void 0:o,c=e.isRemovalTransition?void 0:e.triggerName;for(const u of e.timelines){const h=u.element,g=h!==a,O=qi(i,h,[]);this._getPreviousPlayers(h,g,r,c,e.toState).forEach(re=>{const ye=re.getRealPlayer();ye.beforeDestroy&&ye.beforeDestroy(),re.destroy(),O.push(re)})}qr(a,e.fromStyles)}_buildAnimation(o,e,i,s,a,r){const c=e.triggerName,u=e.element,h=[],g=new Set,O=new Set,$=e.timelines.map(ye=>{const ve=ye.element;g.add(ve);const Le=ve[Ns];if(Le&&Le.removedBeforeQueried)return new ld(ye.duration,ye.delay);const it=ve!==u,Vt=function Yw(n){const o=[];return Ug(n,o),o}((i.get(ve)||C_).map(Fs=>Fs.getRealPlayer())).filter(Fs=>!!Fs.element&&Fs.element===ve),It=a.get(ve),bi=r.get(ve),yu=Hl(0,this._normalizer,0,ye.keyframes,It,bi),qa=this._buildPlayer(ye,yu,Vt);if(ye.subTimeline&&s&&O.add(ve),it){const Fs=new tf(o,c,ve);Fs.setRealPlayer(qa),h.push(Fs)}return qa});h.forEach(ye=>{qi(this.playersByQueriedElement,ye.element,[]).push(ye),ye.onDone(()=>function Vl(n,o,e){let i;if(n instanceof Map){if(i=n.get(o),i){if(i.length){const s=i.indexOf(e);i.splice(s,1)}0==i.length&&n.delete(o)}}else if(i=n[o],i){if(i.length){const s=i.indexOf(e);i.splice(s,1)}0==i.length&&delete n[o]}return i}(this.playersByQueriedElement,ye.element,ye))}),g.forEach(ye=>Ss(ye,i_));const re=Gn($);return re.onDestroy(()=>{g.forEach(ye=>xa(ye,i_)),tr(u,e.toStyles)}),O.forEach(ye=>{qi(s,ye,[]).push(re)}),re}_buildPlayer(o,e,i){return e.length>0?this.driver.animate(o.element,e,o.duration,o.delay,o.easing,i):new ld(o.duration,o.delay)}}class tf{constructor(o,e,i){this.namespaceId=o,this.triggerName=e,this.element=i,this._player=new ld,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(i=>Ln(o,e,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const e=this._player;e.triggerCallback&&o.onStart(()=>e.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,e){qi(this._queuedCallbacks,o,[]).push(e)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const e=this._player;e.triggerCallback&&e.triggerCallback(o)}}function nf(n){return n&&1===n.nodeType}function D_(n,o){const e=n.style.display;return n.style.display=null!=o?o:"none",e}function Yg(n,o,e,i,s){const a=[];e.forEach(u=>a.push(D_(u)));const r=[];i.forEach((u,h)=>{const g={};u.forEach(O=>{const $=g[O]=o.computeStyle(h,O,s);(!$||0==$.length)&&(h[Ns]=vn,r.push(h))}),n.set(h,g)});let c=0;return e.forEach(u=>D_(u,a[c++])),r}function jw(n,o){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==o.length)return e;const s=new Set(o),a=new Map;function r(c){if(!c)return 1;let u=a.get(c);if(u)return u;const h=c.parentNode;return u=e.has(h)?h:s.has(h)?1:r(h),a.set(c,u),u}return o.forEach(c=>{const u=r(c);1!==u&&e.get(u).push(c)}),e}function Ss(n,o){var e;null===(e=n.classList)||void 0===e||e.add(o)}function xa(n,o){var e;null===(e=n.classList)||void 0===e||e.remove(o)}function ir(n,o,e){Gn(e).onDone(()=>n.processLeaveNode(o))}function Ug(n,o){for(let e=0;es.add(a)):o.set(n,i),e.delete(n),!0}class Es{constructor(o,e,i){this.bodyNode=o,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(s,a)=>{},this._transitionEngine=new E_(o,e,i),this._timelineEngine=new v_(o,e,i),this._transitionEngine.onRemovalComplete=(s,a)=>this.onRemovalComplete(s,a)}registerTrigger(o,e,i,s,a){const r=o+"-"+s;let c=this._triggerCache[r];if(!c){const u=[],h=Kh(this._driver,a,u);if(u.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${u.join("\n - ")}`);c=function Qh(n,o,e){return new Bg(n,o,e)}(s,h,this._normalizer),this._triggerCache[r]=c}this._transitionEngine.registerTrigger(e,s,c)}register(o,e){this._transitionEngine.register(o,e)}destroy(o,e){this._transitionEngine.destroy(o,e)}onInsert(o,e,i,s){this._transitionEngine.insertNode(o,e,i,s)}onRemove(o,e,i,s){this._transitionEngine.removeNode(o,e,s||!1,i)}disableAnimations(o,e){this._transitionEngine.markElementAsDisabled(o,e)}process(o,e,i,s){if("@"==i.charAt(0)){const[a,r]=Nh(i);this._timelineEngine.command(a,e,r,s)}else this._transitionEngine.trigger(o,e,i,s)}listen(o,e,i,s,a){if("@"==i.charAt(0)){const[r,c]=Nh(i);return this._timelineEngine.listen(r,e,c,a)}return this._transitionEngine.listen(o,e,i,s,a)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let L_=(()=>{class n{constructor(e,i,s){this._element=e,this._startStyles=i,this._endStyles=s,this._state=0;let a=n.initialStylesByElement.get(e);a||n.initialStylesByElement.set(e,a={}),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&tr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tr(this._element,this._initialStyles),this._endStyles&&(tr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(qr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(qr(this._element,this._endStyles),this._endStyles=null),tr(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Gg(n){let o=null;const e=Object.keys(n);for(let i=0;io()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(o,e,i){return o.animate(e,i)}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(i=>{"offset"!=i&&(o[i]=this._finished?e[i]:c_(this.element,i))})}this.currentSnapshot=o}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class Gw{validateStyleProperty(o){return Tc(o)}matchesElement(o,e){return!1}containsElement(o,e){return Cc(o,e)}query(o,e,i){return Hh(o,e,i)}computeStyle(o,e,i){return window.getComputedStyle(o)[e]}animate(o,e,i,s,a,r=[]){const u={duration:i,delay:s,fill:0==s?"both":"forwards"};a&&(u.easing=a);const h={},g=r.filter($=>$ instanceof R_);(function Yl(n,o){return 0===n||0===o})(i,s)&&g.forEach($=>{let re=$.currentSnapshot;Object.keys(re).forEach(ye=>h[ye]=re[ye])}),e=function Pw(n,o,e){const i=Object.keys(e);if(i.length&&o.length){let a=o[0],r=[];if(i.forEach(c=>{a.hasOwnProperty(c)||r.push(c),a[c]=e[c]}),r.length)for(var s=1;sDa($,!1)),h);const O=function x_(n,o){let e=null,i=null;return Array.isArray(o)&&o.length?(e=Gg(o[0]),o.length>1&&(i=Gg(o[o.length-1]))):o&&(e=Gg(o)),e||i?new L_(n,e,i):null}(o,e);return new R_(o,e,u,O)}}let Vg=(()=>{class n extends _g{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:t.ifc.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(e)?Ih(e):e;return Wg(this._renderer,null,i,"register",[s]),new yd(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(t.FYo),t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();class yd extends class Qm{}{constructor(o,e){super(),this._id=o,this._renderer=e}create(o,e){return new Vw(this._id,o,e||{},this._renderer)}}class Vw{constructor(o,e,i,s){this.id=o,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(o,e){return this._renderer.listen(this.element,`@@${this.id}:${o}`,e)}_command(o,...e){return Wg(this._renderer,this.element,this.id,o,e)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(o){this._command("setPosition",o)}getPosition(){var o,e;return null!==(e=null===(o=this._renderer.engine.players[+this.id])||void 0===o?void 0:o.getPosition())&&void 0!==e?e:0}}function Wg(n,o,e,i,s){return n.setProperty(o,`@@${e}:${i}`,s)}const Kg="@.disabled";let O_=(()=>{class n{constructor(e,i,s){this.delegate=e,this.engine=i,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(a,r)=>{const c=null==r?void 0:r.parentNode(a);c&&r.removeChild(c,a)}}createRenderer(e,i){const a=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let g=this._rendererCache.get(a);return g||(g=new Ad("",a,this.engine),this._rendererCache.set(a,g)),g}const r=i.id,c=i.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const u=g=>{Array.isArray(g)?g.forEach(u):this.engine.registerTrigger(r,c,e,g.name,g)};return i.data.animation.forEach(u),new Ww(this,c,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,s){e>=0&&ei(s)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(a=>{const[r,c]=a;r(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,s]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(t.FYo),t.LFG(Es),t.LFG(t.R0b))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();class Ad{constructor(o,e,i){this.namespaceId=o,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(o,e){return this.delegate.createElement(o,e)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,e){this.delegate.appendChild(o,e),this.engine.onInsert(this.namespaceId,e,o,!1)}insertBefore(o,e,i,s=!0){this.delegate.insertBefore(o,e,i),this.engine.onInsert(this.namespaceId,e,o,s)}removeChild(o,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(o,e){return this.delegate.selectRootElement(o,e)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,e,i,s){this.delegate.setAttribute(o,e,i,s)}removeAttribute(o,e,i){this.delegate.removeAttribute(o,e,i)}addClass(o,e){this.delegate.addClass(o,e)}removeClass(o,e){this.delegate.removeClass(o,e)}setStyle(o,e,i,s){this.delegate.setStyle(o,e,i,s)}removeStyle(o,e,i){this.delegate.removeStyle(o,e,i)}setProperty(o,e,i){"@"==e.charAt(0)&&e==Kg?this.disableAnimations(o,!!i):this.delegate.setProperty(o,e,i)}setValue(o,e){this.delegate.setValue(o,e)}listen(o,e,i){return this.delegate.listen(o,e,i)}disableAnimations(o,e){this.engine.disableAnimations(o,e)}}class Ww extends Ad{constructor(o,e,i,s){super(e,i,s),this.factory=o,this.namespaceId=e}setProperty(o,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Kg?this.disableAnimations(o,i=void 0===i||!!i):this.engine.process(this.namespaceId,o,e.substr(1),i):this.delegate.setProperty(o,e,i)}listen(o,e,i){if("@"==e.charAt(0)){const s=function P_(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(o);let a=e.substr(1),r="";return"@"!=a.charAt(0)&&([a,r]=function z_(n){const o=n.indexOf(".");return[n.substring(0,o),n.substr(o+1)]}(a)),this.engine.listen(this.namespaceId,s,a,r,c=>{this.factory.scheduleListenerCallback(c._data||-1,i,c)})}return this.delegate.listen(o,e,i)}}let Zg=(()=>{class n extends Es{constructor(e,i,s){super(e.body,i,s)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(_.K0),t.LFG(Bh),t.LFG(_d))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();const Vn=new t.OlP("AnimationModuleType"),Xg=[{provide:_g,useClass:Vg},{provide:_d,useFactory:function rf(){return new b_}},{provide:Es,useClass:Zg},{provide:t.FYo,useFactory:function $g(n,o,e){return new O_(n,o,e)},deps:[Re,Es,t.R0b]}],af=[{provide:Bh,useFactory:()=>new Gw},{provide:Vn,useValue:"BrowserAnimations"},...Xg],I_=[{provide:Bh,useClass:wg},{provide:Vn,useValue:"NoopAnimations"},...Xg];let N_=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?I_:af}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:af,imports:[le]}),n})();function Xw(n,o){if(1&n&&t._UZ(0,"mat-pseudo-checkbox",4),2&n){const e=t.oxw();t.Q6J("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function Qw(n,o){if(1&n&&(t.TgZ(0,"span",5),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.hij("(",e.group.label,")")}}const Jw=["*"];let eM=(()=>{class n{}return n.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",n.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",n.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",n.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",n})(),tM=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const nM=new t.OlP("mat-sanity-checks",{providedIn:"root",factory:function iM(){return!0}});let ut=(()=>{class n{constructor(e,i,s){this._sanityChecks=i,this._document=s,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!fc()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Sw),t.LFG(nM,8),t.LFG(_.K0))},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[pc],pc]}),n})();function sr(n){return class extends n{constructor(...o){super(...o),this._disabled=!1}get disabled(){return this._disabled}set disabled(o){this._disabled=qe(o)}}}function La(n,o){return class extends n{constructor(...e){super(...e),this.defaultColor=o,this.color=o}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function no(n){return class extends n{constructor(...o){super(...o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(o){this._disableRipple=qe(o)}}}function Ec(n,o=0){return class extends n{constructor(...e){super(...e),this._tabIndex=o,this.defaultTabIndex=o}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Vi(e):this.defaultTabIndex}}}function Qg(n){return class extends n{constructor(...o){super(...o),this.stateChanges=new xe.xQ,this.errorState=!1}updateErrorState(){const o=this.errorState,a=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);a!==o&&(this.errorState=a,this.stateChanges.next())}}}function Jg(n){return class extends n{constructor(...o){super(...o),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Ji.y(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(o){o.next(),o.complete()}}}const B_=new t.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function F_(){return(0,t.f3M)(t.soG)}});class so{constructor(){this._localeChanges=new xe.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(o){return this.isDateInstance(o)&&this.isValid(o)?o:null}deserialize(o){return null==o||this.isDateInstance(o)&&this.isValid(o)?o:this.invalid()}setLocale(o){this.locale=o,this._localeChanges.next()}compareDate(o,e){return this.getYear(o)-this.getYear(e)||this.getMonth(o)-this.getMonth(e)||this.getDate(o)-this.getDate(e)}sameDate(o,e){if(o&&e){let i=this.isValid(o),s=this.isValid(e);return i&&s?!this.compareDate(o,e):i==s}return o==e}clampDate(o,e,i){return e&&this.compareDate(o,e)<0?e:i&&this.compareDate(o,i)>0?i:o}}const wd=new t.OlP("mat-date-formats"),q_=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function cf(n,o){const e=Array(n);for(let i=0;i{class n extends so{constructor(e,i){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const i=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return cf(12,s=>this._format(i,new Date(2017,s,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return cf(31,i=>this._format(e,new Date(2017,0,i+1)))}getDayOfWeekNames(e){const i=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return cf(7,s=>this._format(i,new Date(2017,0,s+1)))}getYearName(e){const i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,i,s){let a=this._createDateWithOverflow(e,i,s);return a.getMonth(),a}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,i){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const s=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},i),{timeZone:"utc"}));return this._format(s,e)}addCalendarYears(e,i){return this.addCalendarMonths(e,12*i)}addCalendarMonths(e,i){let s=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+i,this.getDate(e));return this.getMonth(s)!=((this.getMonth(e)+i)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(e,i){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+i)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(q_.test(e)){let i=new Date(e);if(this.isValid(i))return i}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,i,s){const a=new Date;return a.setFullYear(e,i,s),a.setHours(0,0,0,0),a}_2digit(e){return("00"+e).slice(-2)}_format(e,i){const s=new Date;return s.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),s.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),e.format(s)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(B_,8),t.LFG(gi))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();const j_={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let t0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[{provide:so,useClass:e0}],imports:[[Aa]]}),n})(),lf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[{provide:wd,useValue:j_}],imports:[[t0]]}),n})(),Kl=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Y_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),n})();function uf(n,o,e){n.nativeElement.classList.toggle(o,e)}let Zl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ut],ut]}),n})();class FC{constructor(o,e,i){this._renderer=o,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const n0={enterDuration:225,exitDuration:150},G_=Ir({passive:!0}),ft=["mousedown","touchstart"],V_=["mouseup","mouseleave","touchend","touchcancel"];class W_{constructor(o,e,i,s){this._target=o,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=Wi(i))}fadeInRipple(o,e,i={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},n0),i.animation);i.centered&&(o=s.left+s.width/2,e=s.top+s.height/2);const r=i.radius||function df(n,o,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),s=Math.max(Math.abs(o-e.top),Math.abs(o-e.bottom));return Math.sqrt(i*i+s*s)}(o,e,s),c=o-s.left,u=e-s.top,h=a.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=c-r+"px",g.style.top=u-r+"px",g.style.height=2*r+"px",g.style.width=2*r+"px",null!=i.color&&(g.style.backgroundColor=i.color),g.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(g),function sM(n){window.getComputedStyle(n).getPropertyValue("opacity")}(g),g.style.transform="scale(1)";const O=new FC(this,g,i);return O.state=0,this._activeRipples.add(O),i.persistent||(this._mostRecentTransientRipple=O),this._runTimeoutOutsideZone(()=>{const $=O===this._mostRecentTransientRipple;O.state=1,!i.persistent&&(!$||!this._isPointerDown)&&O.fadeOut()},h),O}fadeOutRipple(o){const e=this._activeRipples.delete(o);if(o===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const i=o.element,s=Object.assign(Object.assign({},n0),o.config.animation);i.style.transitionDuration=`${s.exitDuration}ms`,i.style.opacity="0",o.state=2,this._runTimeoutOutsideZone(()=>{o.state=3,i.remove()},s.exitDuration)}fadeOutAll(){this._activeRipples.forEach(o=>o.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(o=>{o.config.persistent||o.fadeOut()})}setupTriggerEvents(o){const e=Wi(o);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(ft))}handleEvent(o){"mousedown"===o.type?this._onMousedown(o):"touchstart"===o.type?this._onTouchStart(o):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(V_),this._pointerUpEventsRegistered=!0)}_onMousedown(o){const e=ad(o),i=this._lastTouchStartEvent&&Date.now(){!o.config.persistent&&(1===o.state||o.config.terminateOnPointerUp&&0===o.state)&&o.fadeOut()}))}_runTimeoutOutsideZone(o,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(o,e))}_registerEvents(o){this._ngZone.runOutsideAngular(()=>{o.forEach(e=>{this._triggerElement.addEventListener(e,this,G_)})})}_removeTriggerEvents(){this._triggerElement&&(ft.forEach(o=>{this._triggerElement.removeEventListener(o,this,G_)}),this._pointerUpEventsRegistered&&V_.forEach(o=>{this._triggerElement.removeEventListener(o,this,G_)}))}}const K_=new t.OlP("mat-ripple-global-options");let ts=(()=>{class n{constructor(e,i,s,a,r){this._elementRef=e,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new W_(this,i,e,s)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,s){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,Object.assign(Object.assign({},this.rippleConfig),s)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(gi),t.Y36(K_,8),t.Y36(Vn,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),ds=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ut,Aa],ut]}),n})(),Ki=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Vn,8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&t.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),n})(),Z_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ut]]}),n})();const hf=new t.OlP("MAT_OPTION_PARENT_COMPONENT"),ff=new t.OlP("MatOptgroup");let $_=0;class X_{constructor(o,e=!1){this.source=o,this.isUserInput=e}}let aM=(()=>{class n{constructor(e,i,s,a){this._element=e,this._changeDetectorRef=i,this._parent=s,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+$_++,this.onSelectionChange=new t.vpe,this._stateChanges=new xe.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=qe(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const s=this._getHostElement();"function"==typeof s.focus&&s.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Un(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new X_(this,e))}}return n.\u0275fac=function(e){t.$Z()},n.\u0275dir=t.lG2({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),Dc=(()=>{class n extends aM{constructor(e,i,s,a){super(e,i,s,a)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(hf,8),t.Y36(ff,8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&t.NdJ("click",function(){return i._selectViaInteraction()})("keydown",function(a){return i._handleKeydown(a)}),2&e&&(t.Ikx("id",i.id),t.uIk("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),t.ekj("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[t.qOj],ngContentSelectors:Jw,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(t.F$t(),t.YNc(0,Xw,1,2,"mat-pseudo-checkbox",0),t.TgZ(1,"span",1),t.Hsn(2),t.qZA(),t.YNc(3,Qw,2,1,"span",2),t._UZ(4,"div",3)),2&e&&(t.Q6J("ngIf",i.multiple),t.xp6(3),t.Q6J("ngIf",i.group&&i.group._inert),t.xp6(1),t.Q6J("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},directives:[Ki,_.O5,ts],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n})();function xc(n,o,e){if(e.length){let i=o.toArray(),s=e.toArray(),a=0;for(let r=0;re+i?Math.max(0,n-i+o):e}let Md=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ds,_.ez,ut,Z_]]}),n})();function cM(n,o){}class Lc{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const J_={dialogContainer:mi("dialogContainer",[xt("void, exit",ze({opacity:0,transform:"scale(0.7)"})),xt("enter",ze({transform:"none"})),St("* => enter",Ct("150ms cubic-bezier(0, 0, 0.2, 1)",ze({transform:"none",opacity:1}))),St("* => void, * => exit",Ct("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",ze({opacity:0})))])};let eb=(()=>{class n extends Gp{constructor(e,i,s,a,r,c,u,h){super(),this._elementRef=e,this._focusTrapFactory=i,this._changeDetectorRef=s,this._config=r,this._interactivityChecker=c,this._ngZone=u,this._focusMonitor=h,this._animationStateChanged=new t.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=g=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(g)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=a}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(i)}_focusByCssSelector(e,i){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const i=Up(),s=this._elementRef.nativeElement;(!i||i===this._document.body||i===s||s.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=Up())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=Up();return e===i||e.contains(i)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(Wm),t.Y36(t.sBO),t.Y36(_.K0,8),t.Y36(Lc),t.Y36(zh),t.Y36(t.R0b),t.Y36(eo))},n.\u0275dir=t.lG2({type:n,viewQuery:function(e,i){if(1&e&&t.Gf(Vp,7),2&e){let s;t.iGM(s=t.CRH())&&(i._portalOutlet=s.first)}},features:[t.qOj]}),n})(),uM=(()=>{class n extends eb{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:i}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:i}))}_onAnimationStart({toState:e,totalTime:i}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,i){1&e&&t.WFA("@dialogContainer.start",function(a){return i._onAnimationStart(a)})("@dialogContainer.done",function(a){return i._onAnimationDone(a)}),2&e&&(t.Ikx("id",i._id),t.uIk("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),t.d8E("@dialogContainer",i._state))},features:[t.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&t.YNc(0,cM,0,0,"ng-template",0)},directives:[Vp],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[J_.dialogContainer]}}),n})(),vd=0;class ki{constructor(o,e,i="mat-dialog-"+vd++){this._overlayRef=o,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new xe.xQ,this._afterClosed=new xe.xQ,this._beforeClosed=new xe.xQ,this._state=0,e._id=i,e._animationStateChanged.pipe((0,Ht.h)(s=>"opened"===s.state),(0,Zt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,Ht.h)(s=>"closed"===s.state),(0,Zt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),o.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),o.keydownEvents().pipe((0,Ht.h)(s=>27===s.keyCode&&!this.disableClose&&!Un(s))).subscribe(s=>{s.preventDefault(),tb(this,"keyboard")}),o.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():tb(this,"mouse")})}close(o){this._result=o,this._containerInstance._animationStateChanged.pipe((0,Ht.h)(e=>"closing"===e.state),(0,Zt.q)(1)).subscribe(e=>{this._beforeClosed.next(o),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(o){let e=this._getPositionStrategy();return o&&(o.left||o.right)?o.left?e.left(o.left):e.right(o.right):e.centerHorizontally(),o&&(o.top||o.bottom)?o.top?e.top(o.top):e.bottom(o.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(o="",e=""){return this._overlayRef.updateSize({width:o,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(o){return this._overlayRef.addPanelClass(o),this}removePanelClass(o){return this._overlayRef.removePanelClass(o),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function tb(n,o,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=o),n.close(e)}const Rn=new t.OlP("MatDialogData"),dM=new t.OlP("mat-dialog-default-options"),s0=new t.OlP("mat-dialog-scroll-strategy"),fM={provide:s0,deps:[zs],useFactory:function ib(n){return()=>n.scrollStrategies.block()}};let nb=(()=>{class n{constructor(e,i,s,a,r,c,u,h,g,O){this._overlay=e,this._injector=i,this._defaultOptions=s,this._parentDialog=a,this._overlayContainer=r,this._dialogRefConstructor=u,this._dialogContainerType=h,this._dialogDataToken=g,this._animationMode=O,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new xe.xQ,this._afterOpenedAtThisLevel=new xe.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=qn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(li(void 0))),this._scrollStrategy=c}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,i){if(i=function pM(n,o){return Object.assign(Object.assign({},o),n)}(i,this._defaultOptions||new Lc),i.id&&this.getDialogById(i.id),this._dialogAnimatingOpen)return this._lastDialogRef;const s=this._createOverlay(i),a=this._attachDialogContainer(s,i);if("NoopAnimations"!==this._animationMode){const c=a._animationStateChanged.subscribe(u=>{"opening"===u.state&&(this._dialogAnimatingOpen=!0),"opened"===u.state&&(this._dialogAnimatingOpen=!1,c.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new V.w),this._animationStateSubscriptions.add(c)}const r=this._attachDialogContent(e,a,s,i);return this._lastDialogRef=r,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),a._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(e){const i=this._getOverlayConfig(e);return this._overlay.create(i)}_getOverlayConfig(e){const i=new xh({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachDialogContainer(e,i){const a=t.zs3.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:Lc,useValue:i}]}),r=new Hr(this._dialogContainerType,i.viewContainerRef,a,i.componentFactoryResolver);return e.attach(r).instance}_attachDialogContent(e,i,s,a){const r=new this._dialogRefConstructor(s,i,a.id);if(e instanceof t.Rgc)i.attachTemplatePortal(new Ma(e,null,{$implicit:a.data,dialogRef:r}));else{const c=this._createInjector(a,r,i),u=i.attachComponentPortal(new Hr(e,a.viewContainerRef,c));r.componentInstance=u.instance}return r.updateSize(a.width,a.height).updatePosition(a.position),r}_createInjector(e,i,s){const a=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:s},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:i}];return e.direction&&(!a||!a.get(xn,null,t.XFs.Optional))&&r.push({provide:xn,useValue:{value:e.direction,change:(0,Ge.of)()}}),t.zs3.create({parent:a||this._injector,providers:r})}_removeOpenDialog(e){const i=this.openDialogs.indexOf(e);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let s=i.length-1;s>-1;s--){let a=i[s];a!==e&&"SCRIPT"!==a.nodeName&&"STYLE"!==a.nodeName&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return n.\u0275fac=function(e){t.$Z()},n.\u0275dir=t.lG2({type:n}),n})(),Zi=(()=>{class n extends nb{constructor(e,i,s,a,r,c,u,h){super(e,i,a,c,u,r,ki,uM,Rn,h)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(zs),t.LFG(t.zs3),t.LFG(_.Ye,8),t.LFG(dM,8),t.LFG(s0),t.LFG(n,12),t.LFG(sg),t.LFG(Vn,8))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),YC=0,On=(()=>{class n{constructor(e,i,s){this._dialogRef=e,this._elementRef=i,this._dialog=s,this.id="mat-dialog-title-"+YC++}ngOnInit(){this._dialogRef||(this._dialogRef=function pf(n,o){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?o.find(i=>i.id===e.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki,8),t.Y36(t.SBq),t.Y36(Zi))},n.\u0275dir=t.lG2({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,i){2&e&&t.Ikx("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),Pn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),an=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),n})(),gf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[Zi,fM],imports:[[Ll,kl,ut],ut]}),n})();var o0=M(6114);let Ra=(()=>{class n{constructor(e,i,s,a,r){this.injector=e,this.store=i,this.dialog=s,this.route=a,this.oauthService=r,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(Mi),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(c=>{c.idpFilter&&(this.filterShortname=c.idpFilter)})}getClientConfig(){const e=this.setIdpFilter(),i=e?{acr_values:e}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(i.prompt="consent"),sessionStorage.getItem("mfa_route")&&(i.acr_values="https://refeds.org/profile/mfa",i.prompt="login",i.max_age="0"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:i}}setIdpFilter(){const e=location.search.substr(1).split("&");this.filterShortname=null;const i=this.store.get("oidc_client","filters");if(!i)return null;let s=null;return e.forEach(a=>{const r=a.split("=");"idpFilter"===r[0]&&i[r[1]]&&(this.filterShortname=r[1],s=i[r[1]])}),i.default&&!s?(this.filterShortname="default",i.default):s}startIdpFilterKeeper(){this.router.events.pipe((0,Ht.h)(e=>e instanceof qt)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,i=location.search.substr(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,i).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,Ht.h)(i=>"token_expires"===i.type)).subscribe(()=>{this.oauthService.refreshToken().then(i=>{localStorage.setItem("refresh_token",i.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(e){const i=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===e)return!0;for(const s of i)if(e.startsWith(s))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(e=>e)):Promise.resolve()}verifyAuthentication(e,i){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(s=>s?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",i),!1):new Promise((a,r)=>r("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const e=sessionStorage.getItem("mfa_route");if(e)return this.router.navigate([e],{replaceUrl:!0});let i=sessionStorage.getItem("auth:redirect");const s=sessionStorage.getItem("auth:queryParams");let a=[];s&&(a=s.split("&"));const r={};return a.forEach(c=>{const u=c.split("=");r[u[0]]=u[1]}),(!i||"/login"===i)&&(i="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),r.idpFilter&&(this.filterShortname=r.idpFilter),this.router.navigate([i],{queryParams:r,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(t.zs3),t.LFG($t),t.LFG(Zi),t.LFG(As),t.LFG(o0.Ct))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function ks(n){return!!n&&(n instanceof Ji.y||"function"==typeof n.lift&&"function"==typeof n.subscribe)}var gM=M(7830);function r0(...n){if(1===n.length){const o=n[0];if((0,Bp.k)(o))return mf(o,null);if((0,gM.K)(o)&&Object.getPrototypeOf(o)===Object.prototype){const e=Object.keys(o);return mf(e.map(i=>o[i]),e)}}if("function"==typeof n[n.length-1]){const o=n.pop();return mf(n=1===n.length&&(0,Bp.k)(n[0])?n[0]:n,null).pipe((0,ct.U)(e=>o(...e)))}return mf(n,null)}function mf(n,o){return new Ji.y(e=>{const i=n.length;if(0===i)return void e.complete();const s=new Array(i);let a=0,r=0;for(let c=0;c{h||(h=!0,r++),s[c]=g},error:g=>e.error(g),complete:()=>{a++,(a===i||!h)&&(r===i&&e.next(o?o.reduce((g,O,$)=>(g[O]=s[$],g),{}):s),e.complete())}}))}})}const sb=new class _M extends qp.v{}(class mM extends Mh.o{constructor(o,e){super(o,e),this.scheduler=o,this.work=e}schedule(o,e=0){return e>0?super.schedule(o,e):(this.delay=e,this.state=o,this.scheduler.flush(this),this)}execute(o,e){return e>0||this.closed?super.execute(o,e):this._execute(o,e)}requestAsyncId(o,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(o,e,i):o.flush(this)}});var a0=M(9312);class _f extends bs.L{constructor(o,e,i=0){super(o),this.scheduler=e,this.delay=i}static dispatch(o){const{notification:e,destination:i}=o;e.observe(i),this.unsubscribe()}scheduleMessage(o){this.destination.add(this.scheduler.schedule(_f.dispatch,this.delay,new ob(o,this.destination)))}_next(o){this.scheduleMessage(a0.P.createNext(o))}_error(o){this.scheduleMessage(a0.P.createError(o)),this.unsubscribe()}_complete(){this.scheduleMessage(a0.P.createComplete()),this.unsubscribe()}}class ob{constructor(o,e){this.notification=o,this.destination=e}}var bM=M(5283);class rb extends xe.xQ{constructor(o=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=o<1?1:o,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(o){const e=this._events;e.push(o),e.length>this._bufferSize&&e.shift(),super.next(o)}nextTimeWindow(o){this._events.push(new yM(this._getNow(),o)),this._trimBufferThenGetEvents(),super.next(o)}_subscribe(o){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,a=i.length;let r;if(this.closed)throw new tl.N;if(this.isStopped||this.hasError?r=V.w.EMPTY:(this.observers.push(o),r=new bM.W(this,o)),s&&o.add(o=new _f(o,s)),e)for(let c=0;ce&&(r=Math.max(r,a-e)),r>0&&s.splice(0,r),s}}class yM{constructor(o,e){this.time=o,this.value=e}}function c0(n,o,e){let i;return i=n&&"object"==typeof n?n:{bufferSize:n,windowTime:o,refCount:!1,scheduler:e},s=>s.lift(function AM({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:o=Number.POSITIVE_INFINITY,refCount:e,scheduler:i}){let s,r,a=0,c=!1,u=!1;return function(g){a++,(!s||c)&&(c=!1,s=new rb(n,o,i),r=g.subscribe({next($){s.next($)},error($){c=!0,s.error($)},complete(){u=!0,r=void 0,s.complete()}}));const O=s.subscribe(this);this.add(()=>{a--,O.unsubscribe(),r&&!u&&e&&0===a&&(r.unsubscribe(),r=void 0,s=void 0)})}}(i))}class Rc{}let ab=(()=>{class n extends Rc{getTranslation(e){return(0,Ge.of)({})}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();class bf{}let l0=(()=>{class n{handle(e){return e.key}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();function yf(n,o){if(n===o)return!0;if(null===n||null===o)return!1;if(n!=n&&o!=o)return!0;let s,a,r,e=typeof n;if(e==typeof o&&"object"==e){if(!Array.isArray(n)){if(Array.isArray(o))return!1;for(a in r=Object.create(null),n){if(!yf(n[a],o[a]))return!1;r[a]=!0}for(a in o)if(!(a in r)&&void 0!==o[a])return!1;return!0}if(!Array.isArray(o))return!1;if((s=n.length)==o.length){for(a=0;a{u0(o[i])?i in n?e[i]=Af(n[i],o[i]):Object.assign(e,{[i]:o[i]}):Object.assign(e,{[i]:o[i]})}),e}class wf{}let d0=(()=>{class n extends wf{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,i){let s;return s="string"==typeof e?this.interpolateString(e,i):"function"==typeof e?this.interpolateFunction(e,i):e,s}getValue(e,i){let s="string"==typeof i?i.split("."):[i];i="";do{i+=s.shift(),!Oa(e)||!Oa(e[i])||"object"!=typeof e[i]&&s.length?s.length?i+=".":e=void 0:(e=e[i],i="")}while(s.length);return e}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(s,a)=>{let r=this.getValue(i,a);return Oa(r)?r:s}):e}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();class Mf{}let cb=(()=>{class n extends Mf{compile(e,i){return e}compileTranslations(e,i){return e}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();class lb{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new t.vpe,this.onLangChange=new t.vpe,this.onDefaultLangChange=new t.vpe}}const h0=new t.OlP("USE_STORE"),f0=new t.OlP("USE_DEFAULT_LANG"),p0=new t.OlP("DEFAULT_LANGUAGE"),g0=new t.OlP("USE_EXTEND");let ui=(()=>{class n{constructor(e,i,s,a,r,c=!0,u=!1,h=!1,g){this.store=e,this.currentLoader=i,this.compiler=s,this.parser=a,this.missingTranslationHandler=r,this.useDefaultLang=c,this.isolate=u,this.extend=h,this.pending=!1,this._onTranslationChange=new t.vpe,this._onLangChange=new t.vpe,this._onDefaultLangChange=new t.vpe,this._langs=[],this._translations={},this._translationRequests={},g&&this.setDefaultLang(g)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);void 0!==i?(null==this.defaultLang&&(this.defaultLang=e),i.pipe((0,Zt.q)(1)).subscribe(s=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ge.of)(this.translations[e]);let i=this.retrieveTranslations(e);return void 0!==i?(this.currentLang||(this.currentLang=e),i.pipe((0,Zt.q)(1)).subscribe(s=>{this.changeLang(e)}),i):(this.changeLang(e),(0,Ge.of)(this.translations[e]))}retrieveTranslations(e){let i;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),i=this._translationRequests[e]),i}getTranslation(e){this.pending=!0;const i=this.currentLoader.getTranslation(e).pipe(c0(1),(0,Zt.q)(1));return this.loadingTranslations=i.pipe((0,ct.U)(s=>this.compiler.compileTranslations(s,e)),c0(1),(0,Zt.q)(1)),this.loadingTranslations.subscribe({next:s=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},s),this.translations[e]):s,this.updateLangs(),this.pending=!1},error:s=>{this.pending=!1}}),i}setTranslation(e,i,s=!1){i=this.compiler.compileTranslations(i,e),this.translations[e]=(s||this.extend)&&this.translations[e]?Af(this.translations[e],i):i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{-1===this.langs.indexOf(i)&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,i,s){let a;if(i instanceof Array){let r={},c=!1;for(let u of i)r[u]=this.getParsedResult(e,u,s),ks(r[u])&&(c=!0);return c?r0(i.map(h=>ks(r[h])?r[h]:(0,Ge.of)(r[h]))).pipe((0,ct.U)(h=>{let g={};return h.forEach((O,$)=>{g[i[$]]=O}),g})):r}if(e&&(a=this.parser.interpolate(this.parser.getValue(e,i),s)),void 0===a&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),s)),void 0===a){let r={key:i,translateService:this};void 0!==s&&(r.interpolateParams=s),a=this.missingTranslationHandler.handle(r)}return void 0!==a?a:i}get(e,i){if(!Oa(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,Gs.b)(s=>ks(s=this.getParsedResult(s,e,i))?s:(0,Ge.of)(s)));{let s=this.getParsedResult(this.translations[this.currentLang],e,i);return ks(s)?s:(0,Ge.of)(s)}}getStreamOnTranslationChange(e,i){if(!Oa(e)||!e.length)throw new Error('Parameter "key" required');return Bo(qn(()=>this.get(e,i)),this.onTranslationChange.pipe((0,Ii.w)(s=>{const a=this.getParsedResult(s.translations,e,i);return"function"==typeof a.subscribe?a:(0,Ge.of)(a)})))}stream(e,i){if(!Oa(e)||!e.length)throw new Error('Parameter "key" required');return Bo(qn(()=>this.get(e,i)),this.onLangChange.pipe((0,Ii.w)(s=>{const a=this.getParsedResult(s.translations,e,i);return ks(a)?a:(0,Ge.of)(a)})))}instant(e,i){if(!Oa(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,i);if(ks(s)){if(e instanceof Array){let a={};return e.forEach((r,c)=>{a[e[c]]=e[c]}),a}return e}return s}set(e,i,s=this.currentLang){this.translations[s][e]=this.compiler.compile(i,s),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(lb),t.LFG(Rc),t.LFG(Mf),t.LFG(wf),t.LFG(bf),t.LFG(f0),t.LFG(h0),t.LFG(g0),t.LFG(p0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),at=(()=>{class n{constructor(e,i){this.translate=e,this._ref=i,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,i,s){let a=r=>{this.value=void 0!==r?r:e,this.lastKey=e,this._ref.markForCheck()};if(s){let r=this.translate.getParsedResult(s,e,i);ks(r.subscribe)?r.subscribe(a):a(r)}this.translate.get(e,i).subscribe(a)}transform(e,...i){if(!e||!e.length)return e;if(yf(e,this.lastKey)&&yf(i,this.lastParams))return this.value;let s;if(Oa(i[0])&&i.length)if("string"==typeof i[0]&&i[0].length){let a=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(a)}catch(r){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else"object"==typeof i[0]&&!Array.isArray(i[0])&&(s=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ui,16),t.Y36(t.sBO,16))},n.\u0275pipe=t.Yjl({name:"translate",type:n,pure:!1}),n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),vf=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:Rc,useClass:ab},e.compiler||{provide:Mf,useClass:cb},e.parser||{provide:wf,useClass:d0},e.missingTranslationHandler||{provide:bf,useClass:l0},lb,{provide:h0,useValue:e.isolate},{provide:f0,useValue:e.useDefaultLang},{provide:g0,useValue:e.extend},{provide:p0,useValue:e.defaultLanguage},ui]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:Rc,useClass:ab},e.compiler||{provide:Mf,useClass:cb},e.parser||{provide:wf,useClass:d0},e.missingTranslationHandler||{provide:bf,useClass:l0},{provide:h0,useValue:e.isolate},{provide:f0,useValue:e.useDefaultLang},{provide:g0,useValue:e.extend},{provide:p0,useValue:e.defaultLanguage},ui]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({}),n})(),MM=(()=>{class n{constructor(e){this.dialogRef=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(e,i){1&e&&(t.TgZ(0,"h2",0),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[Pn],pipes:[at],styles:[""]}),n})();const ub=["mat-button",""],vM=["*"],m0=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],_0=La(sr(no(class{constructor(n){this._elementRef=n}})));let zt=(()=>{class n extends _0{constructor(e,i,s){super(e),this._focusMonitor=i,this._animationMode=s,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const a of m0)this._hasHostAttributes(a)&&this._getHostElement().classList.add(a);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(eo),t.Y36(Vn,8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,i){if(1&e&&t.Gf(ts,5),2&e){let s;t.iGM(s=t.CRH())&&(i.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(t.uIk("disabled",i.disabled||null),t.ekj("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.qOj],attrs:ub,ngContentSelectors:vM,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(t.F$t(),t.TgZ(0,"span",0),t.Hsn(1),t.qZA(),t._UZ(2,"span",1),t._UZ(3,"span",2)),2&e&&(t.xp6(2),t.ekj("mat-button-ripple-round",i.isRoundButton||i.isIconButton),t.Q6J("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},directives:[ts],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n})(),or=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ds,ut],ut]}),n})();const CM=["connectionContainer"],b0=["inputContainer"],SM=["label"];function hb(n,o){1&n&&(t.ynx(0),t.TgZ(1,"div",14),t._UZ(2,"div",15),t._UZ(3,"div",16),t._UZ(4,"div",17),t.qZA(),t.TgZ(5,"div",18),t._UZ(6,"div",15),t._UZ(7,"div",16),t._UZ(8,"div",17),t.qZA(),t.BQk())}function EM(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",19),t.NdJ("cdkObserveContent",function(){return t.CHM(e),t.oxw().updateOutlineGap()}),t.Hsn(1,1),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function fb(n,o){if(1&n&&(t.ynx(0),t.Hsn(1,2),t.TgZ(2,"span"),t._uU(3),t.qZA(),t.BQk()),2&n){const e=t.oxw(2);t.xp6(3),t.Oqu(e._control.placeholder)}}function kM(n,o){1&n&&t.Hsn(0,3,["*ngSwitchCase","true"])}function pb(n,o){1&n&&(t.TgZ(0,"span",23),t._uU(1," *"),t.qZA())}function VC(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"label",20,21),t.NdJ("cdkObserveContent",function(){return t.CHM(e),t.oxw().updateOutlineGap()}),t.YNc(2,fb,4,1,"ng-container",12),t.YNc(3,kM,1,0,"ng-content",12),t.YNc(4,pb,2,0,"span",22),t.qZA()}if(2&n){const e=t.oxw();t.ekj("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),t.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),t.uIk("for",e._control.id)("aria-owns",e._control.id),t.xp6(2),t.Q6J("ngSwitchCase",!1),t.xp6(1),t.Q6J("ngSwitchCase",!0),t.xp6(1),t.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function DM(n,o){1&n&&(t.TgZ(0,"div",24),t.Hsn(1,4),t.qZA())}function Td(n,o){if(1&n&&(t.TgZ(0,"div",25),t._UZ(1,"span",26),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function xM(n,o){if(1&n&&(t.TgZ(0,"div"),t.Hsn(1,5),t.qZA()),2&n){const e=t.oxw();t.Q6J("@transitionMessages",e._subscriptAnimationState)}}function Xl(n,o){if(1&n&&(t.TgZ(0,"div",30),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("id",e._hintLabelId),t.xp6(1),t.Oqu(e.hintLabel)}}function Cd(n,o){if(1&n&&(t.TgZ(0,"div",27),t.YNc(1,Xl,2,2,"div",28),t.Hsn(2,6),t._UZ(3,"div",29),t.Hsn(4,7),t.qZA()),2&n){const e=t.oxw();t.Q6J("@transitionMessages",e._subscriptAnimationState),t.xp6(1),t.Q6J("ngIf",e.hintLabel)}}const LM=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],WC=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let gb=0;const mb=new t.OlP("MatError");let Oc=(()=>{class n{constructor(e,i){this.id="mat-error-"+gb++,e||i.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(t.$8M("aria-live"),t.Y36(t.SBq))},n.\u0275dir=t.lG2({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,i){2&e&&t.uIk("id",i.id)},inputs:{id:"id"},features:[t._Bn([{provide:mb,useExisting:n}])]}),n})();const RM={transitionMessages:mi("transitionMessages",[xt("enter",ze({opacity:1,transform:"translateY(0%)"})),St("void => enter",[ze({opacity:0,transform:"translateY(-5px)"}),Ct("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Sd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n}),n})(),Tf=0;const Ql=new t.OlP("MatHint");let PM=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+Tf++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,i){2&e&&(t.uIk("id",i.id)("align",null),t.ekj("mat-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"},features:[t._Bn([{provide:Ql,useExisting:n}])]}),n})(),rr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["mat-label"]]}),n})(),bb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const zM=new t.OlP("MatPrefix"),yb=new t.OlP("MatSuffix");let Cf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","matSuffix",""]],features:[t._Bn([{provide:yb,useExisting:n}])]}),n})(),Ab=0;const IM=La(class{constructor(n){this._elementRef=n}},"primary"),Jl=new t.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),eu=new t.OlP("MatFormField");let Pi=(()=>{class n extends IM{constructor(e,i,s,a,r,c,u){super(e),this._changeDetectorRef=i,this._dir=s,this._defaults=a,this._platform=r,this._ngZone=c,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new xe.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Ab++,this._labelId="mat-form-field-label-"+Ab++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==u,this.appearance=a&&a.appearance?a.appearance:"legacy",this._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&i!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=qe(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(li(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(et(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(et(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Oi.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(li(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(li(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(et(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,vo(this._label.nativeElement,"transitionend").pipe((0,Zt.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,s=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,s=".mat-form-field-outline-start",a=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const g=i.querySelectorAll(`${s}, ${a}`);for(let O=0;O0?.75*ye+10:0}for(let g=0;g{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.ez,ut,nd],ut]}),n})();function Sf(n){return n&&"function"==typeof n.connect}class y0{applyChanges(o,e,i,s,a){o.forEachOperation((r,c,u)=>{let h,g;if(null==r.previousIndex){const O=i(r,c,u);h=e.createEmbeddedView(O.templateRef,O.context,O.index),g=1}else null==u?(e.remove(c),g=3):(h=e.get(c),e.move(h,u),g=2);a&&a({context:null==h?void 0:h.context,operation:g,record:r})})}detach(){}}class _n{constructor(o=!1,e,i=!0){this._multiple=o,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new xe.xQ,e&&e.length&&(o?e.forEach(s=>this._markSelected(s)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...o){this._verifyValueAssignment(o),o.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...o){this._verifyValueAssignment(o),o.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(o){this.isSelected(o)?this.deselect(o):this.select(o)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(o){return this._selection.has(o)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(o){this._multiple&&this.selected&&this._selected.sort(o)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(o){this.isSelected(o)||(this._multiple||this._unmarkAll(),this._selection.add(o),this._emitChanges&&this._selectedToEmit.push(o))}_unmarkSelected(o){this.isSelected(o)&&(this._selection.delete(o),this._emitChanges&&this._deselectedToEmit.push(o))}_unmarkAll(){this.isEmpty()||this._selection.forEach(o=>this._unmarkSelected(o))}_verifyValueAssignment(o){}}let Ef=(()=>{class n{constructor(){this._listeners=[]}notify(e,i){for(let s of this._listeners)s(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const tu=new t.OlP("_ViewRepeater");let A0=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.Qsj),t.Y36(t.SBq))},n.\u0275dir=t.lG2({type:n}),n})(),zc=(()=>{class n extends A0{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,features:[t.qOj]}),n})();const is=new t.OlP("NgValueAccessor"),BM={provide:is,useExisting:(0,t.Gpc)(()=>ji),multi:!0},qM=new t.OlP("CompositionEventMode");let ji=(()=>{class n extends A0{constructor(e,i,s){super(e,i),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function FM(){const n=(0,_.q)()?(0,_.q)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(qM,8))},n.\u0275dir=t.lG2({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&t.NdJ("input",function(a){return i._handleInput(a.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(a){return i._compositionEnd(a.target.value)})},features:[t._Bn([BM]),t.qOj]}),n})();function jr(n){return null==n||0===n.length}function w0(n){return null!=n&&"number"==typeof n.length}const bn=new t.OlP("NgValidators"),Yr=new t.OlP("NgAsyncValidators"),Cb=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Tn{static min(o){return function Sb(n){return o=>{if(jr(o.value)||jr(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e{if(jr(o.value)||jr(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e>n?{max:{max:n,actual:o.value}}:null}}(o)}static required(o){return v0(o)}static requiredTrue(o){return function T0(n){return!0===n.value?null:{required:!0}}(o)}static email(o){return function Eb(n){return jr(n.value)||Cb.test(n.value)?null:{email:!0}}(o)}static minLength(o){return function kb(n){return o=>jr(o.value)||!w0(o.value)?null:o.value.lengthw0(o.value)&&o.value.length>n?{maxlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static pattern(o){return function Db(n){if(!n)return nu;let o,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),o=new RegExp(e)):(e=n.toString(),o=n),i=>{if(jr(i.value))return null;const s=i.value;return o.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(o)}static nullValidator(o){return null}static compose(o){return Rb(o)}static composeAsync(o){return kd(o)}}function v0(n){return jr(n.value)?{required:!0}:null}function nu(n){return null}function Lo(n){return null!=n}function xb(n){const o=(0,t.QGY)(n)?(0,Sn.D)(n):n;return(0,t.CqO)(o),o}function Ed(n){let o={};return n.forEach(e=>{o=null!=e?Object.assign(Object.assign({},o),e):o}),0===Object.keys(o).length?null:o}function su(n,o){return o.map(e=>e(n))}function Lb(n){return n.map(o=>function jM(n){return!n.validate}(o)?o:e=>o.validate(e))}function Rb(n){if(!n)return null;const o=n.filter(Lo);return 0==o.length?null:function(e){return Ed(su(e,o))}}function ou(n){return null!=n?Rb(Lb(n)):null}function kd(n){if(!n)return null;const o=n.filter(Lo);return 0==o.length?null:function(e){return r0(su(e,o).map(xb)).pipe((0,ct.U)(Ed))}}function C0(n){return null!=n?kd(Lb(n)):null}function Ob(n,o){return null===n?[o]:Array.isArray(n)?[...n,o]:[n,o]}function S0(n){return n._rawValidators}function E0(n){return n._rawAsyncValidators}function Dd(n){return n?Array.isArray(n)?n:[n]:[]}function xd(n,o){return Array.isArray(n)?n.includes(o):n===o}function Pb(n,o){const e=Dd(o);return Dd(n).forEach(s=>{xd(e,s)||e.push(s)}),e}function zb(n,o){return Dd(o).filter(e=>!xd(n,e))}class YM{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(o){this._rawValidators=o||[],this._composedValidatorFn=ou(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=C0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o){this.control&&this.control.reset(o)}hasError(o,e){return!!this.control&&this.control.hasError(o,e)}getError(o,e){return this.control?this.control.getError(o,e):null}}class Hs extends YM{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Wn extends YM{get formDirective(){return null}get path(){return null}}class k0{constructor(o){this._cd=o}is(o){var e,i,s;return"submitted"===o?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(s=null===(i=this._cd)||void 0===i?void 0:i.control)||void 0===s?void 0:s[o])}}let yn=(()=>{class n extends k0{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Hs,2))},n.\u0275dir=t.lG2({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&t.ekj("ng-untouched",i.is("untouched"))("ng-touched",i.is("touched"))("ng-pristine",i.is("pristine"))("ng-dirty",i.is("dirty"))("ng-valid",i.is("valid"))("ng-invalid",i.is("invalid"))("ng-pending",i.is("pending"))},features:[t.qOj]}),n})(),kf=(()=>{class n extends k0{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Wn,10))},n.\u0275dir=t.lG2({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&t.ekj("ng-untouched",i.is("untouched"))("ng-touched",i.is("touched"))("ng-pristine",i.is("pristine"))("ng-dirty",i.is("dirty"))("ng-valid",i.is("valid"))("ng-invalid",i.is("invalid"))("ng-pending",i.is("pending"))("ng-submitted",i.is("submitted"))},features:[t.qOj]}),n})();function xf(n,o){return[...o.path,n]}function Rd(n,o){Od(n,o),o.valueAccessor.writeValue(n.value),function Fb(n,o){o.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&qb(n,o)})}(n,o),function R0(n,o){const e=(i,s)=>{o.valueAccessor.writeValue(i),s&&o.viewToModelUpdate(i)};n.registerOnChange(e),o._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,o),function QM(n,o){o.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&qb(n,o),"submit"!==n.updateOn&&n.markAsTouched()})}(n,o),function XM(n,o){if(o.valueAccessor.setDisabledState){const e=i=>{o.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),o._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,o)}function L0(n,o,e=!0){const i=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(i),o.valueAccessor.registerOnTouched(i)),Lf(n,o),n&&(o._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Pa(n,o){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(o)})}function Od(n,o){const e=S0(n);null!==o.validator?n.setValidators(Ob(e,o.validator)):"function"==typeof e&&n.setValidators([e]);const i=E0(n);null!==o.asyncValidator?n.setAsyncValidators(Ob(i,o.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const s=()=>n.updateValueAndValidity();Pa(o._rawValidators,s),Pa(o._rawAsyncValidators,s)}function Lf(n,o){let e=!1;if(null!==n){if(null!==o.validator){const s=S0(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.validator);a.length!==s.length&&(e=!0,n.setValidators(a))}}if(null!==o.asyncValidator){const s=E0(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.asyncValidator);a.length!==s.length&&(e=!0,n.setAsyncValidators(a))}}}const i=()=>{};return Pa(o._rawValidators,i),Pa(o._rawAsyncValidators,i),e}function qb(n,o){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function O0(n,o){Od(n,o)}function Yb(n,o){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(o,e.currentValue)}function Gb(n,o){n._syncPendingControls(),o.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function Rf(n,o){if(!o)return null;let e,i,s;return Array.isArray(o),o.forEach(a=>{a.constructor===ji?e=a:function Ub(n){return Object.getPrototypeOf(n.constructor)===zc}(a)?i=a:s=a}),s||i||e||null}function au(n,o){const e=n.indexOf(o);e>-1&&n.splice(e,1)}const Ic="VALID",cu="INVALID",Pd="PENDING",zd="DISABLED";function Of(n){return(Id(n)?n.validators:n)||null}function N0(n){return Array.isArray(n)?ou(n):n||null}function H0(n,o){return(Id(o)?o.asyncValidators:n)||null}function B0(n){return Array.isArray(n)?C0(n):n||null}function Id(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const F0=n=>n instanceof fs,Pf=n=>n instanceof If,q0=n=>n instanceof Wb;function Vb(n){return F0(n)?n.value:n.getRawValue()}function j0(n,o){const e=Pf(n),i=n.controls;if(!(e?Object.keys(i):i).length)throw new t.vHH(1e3,"");if(!i[o])throw new t.vHH(1001,"")}function Y0(n,o){Pf(n),n._forEachChild((i,s)=>{if(void 0===o[s])throw new t.vHH(1002,"")})}class zf{constructor(o,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=o,this._rawAsyncValidators=e,this._composedValidatorFn=N0(this._rawValidators),this._composedAsyncValidatorFn=B0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===Ic}get invalid(){return this.status===cu}get pending(){return this.status==Pd}get disabled(){return this.status===zd}get enabled(){return this.status!==zd}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._rawValidators=o,this._composedValidatorFn=N0(o)}setAsyncValidators(o){this._rawAsyncValidators=o,this._composedAsyncValidatorFn=B0(o)}addValidators(o){this.setValidators(Pb(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(Pb(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(zb(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(zb(o,this._rawAsyncValidators))}hasValidator(o){return xd(this._rawValidators,o)}hasAsyncValidator(o){return xd(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){this.touched=!0,this._parent&&!o.onlySelf&&this._parent.markAsTouched(o)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(o=>o.markAllAsTouched())}markAsUntouched(o={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}markAsDirty(o={}){this.pristine=!1,this._parent&&!o.onlySelf&&this._parent.markAsDirty(o)}markAsPristine(o={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}markAsPending(o={}){this.status=Pd,!1!==o.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!o.onlySelf&&this._parent.markAsPending(o)}disable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=zd,this.errors=null,this._forEachChild(i=>{i.disable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this._updateValue(),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(i=>i(!0))}enable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=Ic,this._forEachChild(i=>{i.enable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(o){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(o){this._parent=o}updateValueAndValidity(o={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ic||this.status===Pd)&&this._runAsyncValidator(o.emitEvent)),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity(o)}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?zd:Ic}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o){if(this.asyncValidator){this.status=Pd,this._hasOwnPendingAsyncValidator=!0;const e=xb(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:o})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(o,e={}){this.errors=o,this._updateControlsErrors(!1!==e.emitEvent)}get(o){return function ev(n,o,e){if(null==o||(Array.isArray(o)||(o=o.split(e)),Array.isArray(o)&&0===o.length))return null;let i=n;return o.forEach(s=>{i=Pf(i)?i.controls.hasOwnProperty(s)?i.controls[s]:null:q0(i)&&i.at(s)||null}),i}(this,o,".")}getError(o,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[o]:null}hasError(o,e){return!!this.getError(o,e)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(o)}_initObservables(){this.valueChanges=new t.vpe,this.statusChanges=new t.vpe}_calculateStatus(){return this._allControlsDisabled()?zd:this.errors?cu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Pd)?Pd:this._anyControlsHaveStatus(cu)?cu:Ic}_anyControlsHaveStatus(o){return this._anyControls(e=>e.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o={}){this.pristine=!this._anyControlsDirty(),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}_updateTouched(o={}){this.touched=this._anyControlsTouched(),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}_isBoxedValue(o){return"object"==typeof o&&null!==o&&2===Object.keys(o).length&&"value"in o&&"disabled"in o}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){Id(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class fs extends zf{constructor(o=null,e,i){super(Of(e),H0(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(o),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Id(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(o)?o.value:o)}setValue(o,e={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(o,e={}){this.setValue(o,e)}reset(o=this.defaultValue,e={}){this._applyFormState(o),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){au(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){au(this._onDisabledChange,o)}_forEachChild(o){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(o){this._isBoxedValue(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}}class If extends zf{constructor(o,e,i){super(Of(e),H0(i,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,e){return this.controls[o]?this.controls[o]:(this.controls[o]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(o,e,i={}){this.registerControl(o,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(o,e,i={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],e&&this.registerControl(o,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,e={}){Y0(this,o),Object.keys(o).forEach(i=>{j0(this,i),this.controls[i].setValue(o[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(Object.keys(o).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(o[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o={},e={}){this._forEachChild((i,s)=>{i.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(o,e,i)=>(o[i]=Vb(e),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&o(i,e)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const e of Object.keys(this.controls)){const i=this.controls[e];if(this.contains(e)&&o(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(o,e,i)=>((e.enabled||this.disabled)&&(o[i]=e.value),o))}_reduceChildren(o,e){let i=o;return this._forEachChild((s,a)=>{i=e(i,s,a)}),i}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Wb extends zf{constructor(o,e,i){super(Of(e),H0(i,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(o){return this.controls[o]}push(o,e={}){this.controls.push(o),this._registerControl(o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(o,e,i={}){this.controls.splice(o,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(o,e,i={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(o,e={}){Y0(this,o),o.forEach((i,s)=>{j0(this,s),this.at(s).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(o.forEach((i,s)=>{this.at(s)&&this.at(s).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o=[],e={}){this._forEachChild((i,s)=>{i.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(o=>Vb(o))}clear(o={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:o.emitEvent}))}_syncPendingControls(){let o=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){this.controls.forEach((e,i)=>{o(e,i)})}_updateValue(){this.value=this.controls.filter(o=>o.enabled||this.disabled).map(o=>o.value)}_anyControls(o){return this.controls.some(e=>e.enabled&&o(e))}_setUpControls(){this._forEachChild(o=>this._registerControl(o))}_allControlsDisabled(){for(const o of this.controls)if(o.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(o){o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)}}const QC={provide:Wn,useExisting:(0,t.Gpc)(()=>uu)},lu=(()=>Promise.resolve(null))();let uu=(()=>{class n extends Wn{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.vpe,this.form=new If({},ou(e),C0(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){lu.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Rd(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){lu.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){lu.then(()=>{const i=this._findContainer(e.path),s=new If({});O0(s,e),i.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){lu.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){lu.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Gb(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(bn,10),t.Y36(Yr,10))},n.\u0275dir=t.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&t.NdJ("submit",function(a){return i.onSubmit(a)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([QC]),t.qOj]}),n})();const Nf={provide:Hs,useExisting:(0,t.Gpc)(()=>oo)},nv=(()=>Promise.resolve(null))();let oo=(()=>{class n extends Hs{constructor(e,i,s,a,r){super(),this._changeDetectorRef=r,this.control=new fs,this._registered=!1,this.update=new t.vpe,this._parent=e,this._setValidators(i),this._setAsyncValidators(s),this.valueAccessor=Rf(0,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Yb(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Rd(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){nv.then(()=>{var i;this.control.setValue(e,{emitViewToModelChange:!1}),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,s=""===i||i&&"false"!==i;nv.then(()=>{var a;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()})}_getPath(e){return this._parent?xf(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Wn,9),t.Y36(bn,10),t.Y36(Yr,10),t.Y36(is,10),t.Y36(t.sBO,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t._Bn([Nf]),t.qOj,t.TTD]}),n})(),za=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})();const Kb={provide:is,useExisting:(0,t.Gpc)(()=>Hf),multi:!0};let Hf=(()=>{class n extends zc{writeValue(e){this.setProperty("value",null==e?"":e)}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&t.NdJ("input",function(a){return i.onChange(a.target.value)})("blur",function(){return i.onTouched()})},features:[t._Bn([Kb]),t.qOj]}),n})(),U0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({}),n})();const du=new t.OlP("NgModelWithFormControlWarning"),Xb={provide:Hs,useExisting:(0,t.Gpc)(()=>ar)};let ar=(()=>{class n extends Hs{constructor(e,i,s,a){super(),this._ngModelWarningConfig=a,this.update=new t.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Rf(0,s)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&L0(i,this,!1),Rd(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Yb(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&L0(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(t.Y36(bn,10),t.Y36(Yr,10),t.Y36(is,10),t.Y36(du,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t._Bn([Xb]),t.qOj,t.TTD]}),n})();const tS={provide:Wn,useExisting:(0,t.Gpc)(()=>Nc)};let Nc=(()=>{class n extends Wn{constructor(e,i){super(),this.validators=e,this.asyncValidators=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.vpe,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Lf(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Rd(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){L0(e.control||null,e,!1),au(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,Gb(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,s=this.form.get(e.path);i!==s&&(L0(i||null,e),F0(s)&&(Rd(s,e),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);O0(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function jb(n,o){return Lf(n,o)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Od(this.form,this),this._oldForm&&Lf(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(bn,10),t.Y36(Yr,10))},n.\u0275dir=t.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&t.NdJ("submit",function(a){return i.onSubmit(a)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([tS]),t.qOj,t.TTD]}),n})();const W0={provide:Hs,useExisting:(0,t.Gpc)(()=>Bf)};let Bf=(()=>{class n extends Hs{constructor(e,i,s,a,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new t.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(s),this.valueAccessor=Rf(0,a)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),Yb(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return xf(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(t.Y36(Wn,13),t.Y36(bn,10),t.Y36(Yr,10),t.Y36(is,10),t.Y36(du,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[t._Bn([W0]),t.qOj,t.TTD]}),n})(),Kn=(()=>{class n{constructor(){this._validator=nu}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):nu,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,features:[t.TTD]}),n})();const hv={provide:bn,useExisting:(0,t.Gpc)(()=>Ds),multi:!0};let Ds=(()=>{class n extends Kn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function cv(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>v0}enabled(e){return e}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&t.uIk("required",i._enabled?"":null)},inputs:{required:"required"},features:[t._Bn([hv]),t.qOj]}),n})(),t1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[U0]]}),n})(),n1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[t1]}),n})(),Hc=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:du,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[t1]}),n})(),rS=(()=>{class n{group(e,i=null){const s=this._reduceControls(e);let c,a=null,r=null;return null!=i&&(function oS(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(i)?(a=null!=i.validators?i.validators:null,r=null!=i.asyncValidators?i.asyncValidators:null,c=null!=i.updateOn?i.updateOn:void 0):(a=null!=i.validator?i.validator:null,r=null!=i.asyncValidator?i.asyncValidator:null)),new If(s,{asyncValidators:r,updateOn:c,validators:a})}control(e,i,s){return new fs(e,i,s)}array(e,i,s){const a=e.map(r=>this._createControl(r));return new Wb(a,i,s)}_reduceControls(e){const i={};return Object.keys(e).forEach(s=>{i[s]=this._createControl(e[s])}),i}_createControl(e){return F0(e)||Pf(e)||q0(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:Hc}),n})();const bv=["trigger"],yv=["panel"];function Av(n,o){if(1&n&&(t.TgZ(0,"span",8),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Oqu(e.placeholder)}}function aS(n,o){if(1&n&&(t.TgZ(0,"span",12),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Oqu(e.triggerValue)}}function cS(n,o){1&n&&t.Hsn(0,0,["*ngSwitchCase","true"])}function lS(n,o){if(1&n&&(t.TgZ(0,"span",9),t.YNc(1,aS,2,1,"span",10),t.YNc(2,cS,1,0,"ng-content",11),t.qZA()),2&n){const e=t.oxw();t.Q6J("ngSwitch",!!e.customTrigger),t.xp6(2),t.Q6J("ngSwitchCase",!0)}}function uS(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",13),t.TgZ(1,"div",14,15),t.NdJ("@transformPanel.done",function(s){return t.CHM(e),t.oxw()._panelDoneAnimatingStream.next(s.toState)})("keydown",function(s){return t.CHM(e),t.oxw()._handleKeydown(s)}),t.Hsn(3,1),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("@transformPanelWrap",void 0),t.xp6(1),t.Gre("mat-select-panel ",e._getPanelTheme(),""),t.Udp("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),t.Q6J("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),t.uIk("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const dS=[[["mat-select-trigger"]],"*"],wv=["mat-select-trigger","*"],Bd={transformPanelWrap:mi("transformPanelWrap",[St("* => void",Do("@transformPanel",[Jm()],{optional:!0}))]),transformPanel:mi("transformPanel",[xt("void",ze({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),xt("showing",ze({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),xt("showing-multiple",ze({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),St("void => *",Ct("120ms cubic-bezier(0, 0, 0.2, 1)")),St("* => void",Ct("100ms 25ms linear",ze({opacity:0})))])};let Ia=0;const Fd=new t.OlP("mat-select-scroll-strategy"),gS=new t.OlP("MAT_SELECT_CONFIG"),mS={provide:Fd,deps:[zs],useFactory:function pS(n){return()=>n.scrollStrategies.reposition()}};class _S{constructor(o,e){this.source=o,this.value=e}}const ry=no(Ec(sr(Qg(class{constructor(n,o,e,i,s){this._elementRef=n,this._defaultErrorStateMatcher=o,this._parentForm=e,this._parentFormGroup=i,this.ngControl=s}})))),Tv=new t.OlP("MatSelectTrigger");let Cv=(()=>{class n extends ry{constructor(e,i,s,a,r,c,u,h,g,O,$,re,ye,ve){var Le,it,Vt;super(r,a,u,h,O),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=s,this._dir=c,this._parentFormField=g,this._liveAnnouncer=ye,this._defaultOptions=ve,this._panelOpen=!1,this._compareWith=(It,bi)=>It===bi,this._uid="mat-select-"+Ia++,this._triggerAriaLabelledBy=null,this._destroy=new xe.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Ia++,this._panelDoneAnimatingStream=new xe.xQ,this._overlayPanelClass=(null===(Le=this._defaultOptions)||void 0===Le?void 0:Le.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Vt=null===(it=this._defaultOptions)||void 0===it?void 0:it.disableOptionCentering)&&void 0!==Vt&&Vt,this.ariaLabel="",this.optionSelectionChanges=qn(()=>{const It=this.options;return It?It.changes.pipe(li(It),(0,Ii.w)(()=>(0,Oi.T)(...It.map(bi=>bi.onSelectionChange)))):this._ngZone.onStable.pipe((0,Zt.q)(1),(0,Ii.w)(()=>this.optionSelectionChanges))}),this.openedChange=new t.vpe,this._openedStream=this.openedChange.pipe((0,Ht.h)(It=>It),(0,ct.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Ht.h)(It=>!It),(0,ct.U)(()=>{})),this.selectionChange=new t.vpe,this.valueChange=new t.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==ve?void 0:ve.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=ve.typeaheadDebounceInterval),this._scrollStrategyFactory=re,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt($)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,i,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===s?void 0:s.hasValidator(Tn.required))&&void 0!==a&&a}set required(e){this._required=qe(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=qe(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=qe(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Vi(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new _n(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(id(),et(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(et(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(li(null),et(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,i;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,s=40===i||38===i||37===i||39===i,a=13===i||32===i,r=this._keyManager;if(!r.isTyping()&&a&&!Un(e)||(this.multiple||e.altKey)&&s)e.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;r.onKeydown(e);const u=this.selected;u&&c!==u&&this._liveAnnouncer.announce(u.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,s=e.keyCode,a=40===s||38===s,r=i.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(r||13!==s&&32!==s||!i.activeItem||Un(e))if(!r&&this._multiple&&65===s&&e.ctrlKey){e.preventDefault();const c=this.options.some(u=>!u.disabled&&!u.selected);this.options.forEach(u=>{u.disabled||(c?u.select():u.deselect())})}else{const c=i.activeItemIndex;i.onKeydown(e),this._multiple&&a&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==c&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,Zt.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectValue(i)),this._sortValues();else{const i=this._selectValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const i=this.options.find(s=>{if(this._selectionModel.isSelected(s))return!1;try{return null!=s.value&&this._compareWith(s.value,e)}catch(a){return!1}});return i&&this._selectionModel.select(i),i}_initKeyManager(){this._keyManager=new Ol(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(et(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(et(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=(0,Oi.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(et(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Oi.T)(...this.options.map(i=>i._stateChanges)).pipe(et(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,i){const s=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(s!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),s!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,s)=>this.sortComparator?this.sortComparator(i,s,e):e.indexOf(i)-e.indexOf(s)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let s=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(s+=" "+this.ariaLabelledby),s}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(wa),t.Y36(t.sBO),t.Y36(t.R0b),t.Y36(Kl),t.Y36(t.SBq),t.Y36(xn,8),t.Y36(uu,8),t.Y36(Nc,8),t.Y36(eu,8),t.Y36(Hs,10),t.$8M("tabindex"),t.Y36(Fd),t.Y36(vw),t.Y36(gS,8))},n.\u0275dir=t.lG2({type:n,viewQuery:function(e,i){if(1&e&&(t.Gf(bv,5),t.Gf(yv,5),t.Gf(Hm,5)),2&e){let s;t.iGM(s=t.CRH())&&(i.trigger=s.first),t.iGM(s=t.CRH())&&(i.panel=s.first),t.iGM(s=t.CRH())&&(i._overlayDir=s.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[t.qOj,t.TTD]}),n})(),Gf=(()=>{class n extends Cv{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,i,s){const a=this._getItemHeight();return Math.min(Math.max(0,a*e-i+a/2),s)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(et(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,Zt.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const i=xc(e,this.options,this.optionGroups),s=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===i?0:Q_((e+i)*s,s,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new _S(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),s=this._isRtl(),a=this.multiple?56:32;let r;if(this.multiple)r=40;else if(this.disableOptionCentering)r=16;else{let h=this._selectionModel.selected[0]||this.options.first;r=h&&h.group?32:16}s||(r*=-1);const c=0-(e.left+r-(s?a:0)),u=e.right+r-i.width+(s?0:a);c>0?r+=c+8:u>0&&(r-=u+8),this._overlayDir.offsetX=Math.round(r),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,s){const a=this._getItemHeight(),r=(a-this._triggerRect.height)/2,c=Math.floor(256/a);let u;return this.disableOptionCentering?0:(u=0===this._scrollTop?e*a:this._scrollTop===s?(e-(this._getItemCount()-c))*a+(a-(this._getItemCount()*a-256)%a):i-a/2,Math.round(-1*u-r))}_checkOverlayWithinViewport(e){const i=this._getItemHeight(),s=this._viewportRuler.getViewportSize(),a=this._triggerRect.top-8,r=s.height-this._triggerRect.bottom-8,c=Math.abs(this._offsetY),h=Math.min(this._getItemCount()*i,256)-c-this._triggerRect.height;h>r?this._adjustPanelUp(h,r):c>a?this._adjustPanelDown(c,a,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){const s=Math.round(e-i);this._scrollTop-=s,this._offsetY-=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,s){const a=Math.round(e-i);if(this._scrollTop+=a,this._offsetY+=a,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=s)return this._scrollTop=s,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),i=this._getItemCount(),s=Math.min(i*e,256),r=i*e-s;let c;c=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),c+=xc(c,this.options,this.optionGroups);const u=s/2;this._scrollTop=this._calculateOverlayScroll(c,u,r),this._offsetY=this._calculateOverlayOffsetY(c,u,r),this._checkOverlayWithinViewport(r)}_getOriginBasedOnOption(){const e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,s){if(1&e&&(t.Suo(s,Tv,5),t.Suo(s,Dc,5),t.Suo(s,ff,5)),2&e){let a;t.iGM(a=t.CRH())&&(i.customTrigger=a.first),t.iGM(a=t.CRH())&&(i.options=a),t.iGM(a=t.CRH())&&(i.optionGroups=a)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,i){1&e&&t.NdJ("keydown",function(a){return i._handleKeydown(a)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(t.uIk("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-describedby",i._ariaDescribedby||null)("aria-activedescendant",i._getAriaActiveDescendant()),t.ekj("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[t._Bn([{provide:Sd,useExisting:n},{provide:hf,useExisting:n}]),t.qOj],ngContentSelectors:wv,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(t.F$t(dS),t.TgZ(0,"div",0,1),t.NdJ("click",function(){return i.toggle()}),t.TgZ(3,"div",2),t.YNc(4,Av,2,1,"span",3),t.YNc(5,lS,3,2,"span",4),t.qZA(),t.TgZ(6,"div",5),t._UZ(7,"div",6),t.qZA(),t.qZA(),t.YNc(8,uS,4,14,"ng-template",7),t.NdJ("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const s=t.MAs(1);t.uIk("aria-owns",i.panelOpen?i.id+"-panel":null),t.xp6(3),t.Q6J("ngSwitch",i.empty),t.uIk("id",i._valueId),t.xp6(1),t.Q6J("ngSwitchCase",!0),t.xp6(1),t.Q6J("ngSwitchCase",!1),t.xp6(3),t.Q6J("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},directives:[Nm,_.RF,_.n9,_.ED,Hm,_.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[Bd.transformPanelWrap,Bd.transformPanel]},changeDetection:0}),n})(),pu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[mS],imports:[[_.ez,Ll,Md,ut],$o,Pc,Md,ut]}),n})();const o1=new Set;let gu,Ev=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Vf}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function ay(n){if(!o1.has(n))try{gu||(gu=document.createElement("style"),gu.setAttribute("type","text/css"),document.head.appendChild(gu)),gu.sheet&&(gu.sheet.insertRule(`@media ${n} {body{ }}`,0),o1.add(n))}catch(o){console.error(o)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(gi))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Vf(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let yS=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new xe.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return r1(zr(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){const s=r1(zr(e)).map(r=>this._registerQuery(r).observable);let a=(0,Qr.aj)(s);return a=Bo(a.pipe((0,Zt.q)(1)),a.pipe(Bm(1),(0,Rl.b)(0))),a.pipe((0,ct.U)(r=>{const c={matches:!1,breakpoints:{}};return r.forEach(({matches:u,query:h})=>{c.matches=c.matches||u,c.breakpoints[h]=u}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),a={observable:new Ji.y(r=>{const c=u=>this._zone.run(()=>r.next(u));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(li(i),(0,ct.U)(({matches:r})=>({query:e,matches:r})),et(this._destroySubject)),mql:i};return this._queries.set(e,a),a}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Ev),t.LFG(t.R0b))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function r1(n){return n.map(o=>o.split(",")).reduce((o,e)=>o.concat(e)).map(o=>o.trim())}const kv={tooltipState:mi("state",[xt("initial, void, hidden",ze({opacity:0,transform:"scale(0)"})),xt("visible",ze({transform:"scale(1)"})),St("* => visible",Ct("200ms cubic-bezier(0, 0, 0.2, 1)",Ac([ze({opacity:0,transform:"scale(0)",offset:0}),ze({opacity:.5,transform:"scale(0.99)",offset:.5}),ze({opacity:1,transform:"scale(1)",offset:1})]))),St("* => hidden",Ct("100ms cubic-bezier(0, 0, 0.2, 1)",ze({opacity:0})))])},cy="tooltip-panel",xv=Ir({passive:!0}),ly=new t.OlP("mat-tooltip-scroll-strategy"),Ov={provide:ly,deps:[zs],useFactory:function Rv(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},Pv=new t.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function zv(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Iv=(()=>{class n{constructor(e,i,s,a,r,c,u,h,g,O,$,re){this._overlay=e,this._elementRef=i,this._scrollDispatcher=s,this._viewContainerRef=a,this._ngZone=r,this._platform=c,this._ariaDescriber=u,this._focusMonitor=h,this._dir=O,this._defaultOptions=$,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 xe.xQ,this._scrollStrategy=g,this._document=re,$&&($.position&&(this.position=$.position),$.touchGestures&&(this.touchGestures=$.touchGestures)),O.change.pipe(et(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var i;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(i=this._tooltipInstance)||void 0===i||i.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=qe(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Vi(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Vi(e)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).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(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(et(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,s])=>{e.removeEventListener(i,s,xv)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const i=this._createOverlay();this._detach(),this._portal=this._portal||new Hr(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=i.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(et(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return i.positionChanges.pipe(et(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:`${this._cssClassPrefix}-${cy}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(et(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(et(this._destroyed)).subscribe(()=>{var s;return null===(s=this._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(et(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!Un(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,s=this._getOrigin(),a=this._getOverlayPosition();i.withPositions([this._addOffset(Object.assign(Object.assign({},s.main),a.main)),this._addOffset(Object.assign(Object.assign({},s.fallback),a.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let s;"above"==i||"below"==i?s={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?s={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(s={originX:"end",originY:"center"});const{x:a,y:r}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:a,originY:r}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let s;"above"==i?s={overlayX:"center",overlayY:"bottom"}:"below"==i?s={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?s={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(s={overlayX:"start",overlayY:"center"});const{x:a,y:r}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:a,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Zt.q)(1),et(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:s,originY:a}=e;let r;if(r="center"===i?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===i&&"top"===a?"above":"below",r!==this._currentPosition){const c=this._overlayRef;if(c){const u=`${this._cssClassPrefix}-${cy}-`;c.removePanelClass(u+this._currentPosition),c.addPanelClass(u+r)}this._currentPosition=r}}_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 e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,s])=>{this._elementRef.nativeElement.addEventListener(i,s,xv)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),s=this._elementRef.nativeElement;i!==s&&!s.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,s=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(s.userSelect=s.msUserSelect=s.webkitUserSelect=s.MozUserSelect="none"),("on"===e||!i.draggable)&&(s.webkitUserDrag="none"),s.touchAction="none",s.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){t.$Z()},n.\u0275dir=t.lG2({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),xs=(()=>{class n extends Iv{constructor(e,i,s,a,r,c,u,h,g,O,$,re){super(e,i,s,a,r,c,u,h,g,O,$,re),this._tooltipComponent=vS}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(zs),t.Y36(t.SBq),t.Y36(To),t.Y36(t.s_b),t.Y36(t.R0b),t.Y36(gi),t.Y36(dw),t.Y36(eo),t.Y36(ly),t.Y36(xn,8),t.Y36(Pv,8),t.Y36(_.K0))},n.\u0275dir=t.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[t.qOj]}),n})(),MS=(()=>{class n{constructor(e){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new xe.xQ}show(e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const i=e.toState;"hidden"===i&&!this.isVisible()&&this._onHide.next(),("visible"===i||"hidden"===i)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.sBO))},n.\u0275dir=t.lG2({type:n}),n})(),vS=(()=>{class n extends MS{constructor(e,i){super(e),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.sBO),t.Y36(yS))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){2&e&&t.Udp("zoom","visible"===i._visibility?1:null)},features:[t.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,i){if(1&e&&(t.TgZ(0,"div",0),t.NdJ("@state.start",function(){return i._animationStart()})("@state.done",function(a){return i._animationDone(a)}),t.ALo(1,"async"),t._uU(2),t.qZA()),2&e){let s;t.ekj("mat-tooltip-handset",null==(s=t.lcZ(1,5,i._isHandset))?null:s.matches),t.Q6J("ngClass",i.tooltipClass)("@state",i._visibility),t.xp6(2),t.Oqu(i.message)}},directives:[_.mk],pipes:[_.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[kv.tooltipState]},changeDetection:0}),n})(),qd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[Ov],imports:[[Ew,_.ez,Ll,ut],ut,$o]}),n})();function TS(n,o){if(1&n&&(t.TgZ(0,"mat-option",19),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e," ")}}function Nv(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-form-field",16),t.TgZ(1,"mat-select",17),t.NdJ("selectionChange",function(s){return t.CHM(e),t.oxw(2)._changePageSize(s.value)}),t.YNc(2,TS,2,2,"mat-option",18),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J("appearance",e._formFieldAppearance)("color",e.color),t.xp6(1),t.Q6J("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),t.xp6(1),t.Q6J("ngForOf",e._displayedPageSizeOptions)}}function CS(n,o){if(1&n&&(t.TgZ(0,"div",20),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Oqu(e.pageSize)}}function SS(n,o){if(1&n&&(t.TgZ(0,"div",12),t.TgZ(1,"div",13),t._uU(2),t.qZA(),t.YNc(3,Nv,3,6,"mat-form-field",14),t.YNc(4,CS,2,1,"div",15),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.hij(" ",e._intl.itemsPerPageLabel," "),t.xp6(1),t.Q6J("ngIf",e._displayedPageSizeOptions.length>1),t.xp6(1),t.Q6J("ngIf",e._displayedPageSizeOptions.length<=1)}}function ES(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"button",21),t.NdJ("click",function(){return t.CHM(e),t.oxw().firstPage()}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",22),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),t.uIk("aria-label",e._intl.firstPageLabel)}}function kS(n,o){if(1&n){const e=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"button",23),t.NdJ("click",function(){return t.CHM(e),t.oxw().lastPage()}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",24),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),t.uIk("aria-label",e._intl.lastPageLabel)}}let l=(()=>{class n{constructor(){this.changes=new xe.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,i,s)=>{if(0==s||0==i)return`0 of ${s}`;const a=e*i;return`${a+1} \u2013 ${a<(s=Math.max(s,0))?Math.min(a+i,s):a+i} of ${s}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const f={provide:l,deps:[[new t.FiY,new t.tp0,l]],useFactory:function d(n){return n||new l}},y=new t.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),C=sr(Jg(class{}));let k=(()=>{class n extends C{constructor(e,i,s){if(super(),this._intl=e,this._changeDetectorRef=i,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new t.vpe,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),s){const{pageSize:a,pageSizeOptions:r,hidePageSize:c,showFirstLastButtons:u}=s;null!=a&&(this._pageSize=a),null!=r&&(this._pageSizeOptions=r),null!=c&&(this._hidePageSize=c),null!=u&&(this._showFirstLastButtons=u)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Vi(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Vi(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Vi(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>Vi(i)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=qe(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=qe(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return n.\u0275fac=function(e){t.$Z()},n.\u0275dir=t.lG2({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[t.qOj]}),n})(),x=(()=>{class n extends k{constructor(e,i,s){super(e,i,s),s&&null!=s.formFieldAppearance&&(this._formFieldAppearance=s.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(l),t.Y36(t.sBO),t.Y36(y,8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[t.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.YNc(2,SS,5,3,"div",2),t.TgZ(3,"div",3),t.TgZ(4,"div",4),t._uU(5),t.qZA(),t.YNc(6,ES,3,5,"button",5),t.TgZ(7,"button",6),t.NdJ("click",function(){return i.previousPage()}),t.O4$(),t.TgZ(8,"svg",7),t._UZ(9,"path",8),t.qZA(),t.qZA(),t.kcU(),t.TgZ(10,"button",9),t.NdJ("click",function(){return i.nextPage()}),t.O4$(),t.TgZ(11,"svg",7),t._UZ(12,"path",10),t.qZA(),t.qZA(),t.YNc(13,kS,3,5,"button",11),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",!i.hidePageSize),t.xp6(3),t.hij(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),t.xp6(1),t.Q6J("ngIf",i.showFirstLastButtons),t.xp6(1),t.Q6J("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),t.uIk("aria-label",i._intl.previousPageLabel),t.xp6(3),t.Q6J("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),t.uIk("aria-label",i._intl.nextPageLabel),t.xp6(3),t.Q6J("ngIf",i.showFirstLastButtons))},directives:[Pi,Gf,Dc,zt,_.O5,_.sg,xs],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),n})(),H=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[f],imports:[[_.ez,or,pu,qd,ut]]}),n})();var j=M(943);const J=["mat-menu-item",""];function ne(n,o){1&n&&(t.O4$(),t.TgZ(0,"svg",2),t._UZ(1,"polygon",3),t.qZA())}const ue=["*"];function we(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",0),t.NdJ("keydown",function(s){return t.CHM(e),t.oxw()._handleKeydown(s)})("click",function(){return t.CHM(e),t.oxw().closed.emit("click")})("@transformMenu.start",function(s){return t.CHM(e),t.oxw()._onAnimationStart(s)})("@transformMenu.done",function(s){return t.CHM(e),t.oxw()._onAnimationDone(s)}),t.TgZ(1,"div",1),t.Hsn(2),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),t.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const Ie={transformMenu:mi("transformMenu",[xt("void",ze({opacity:0,transform:"scale(0.8)"})),St("void => enter",Ct("120ms cubic-bezier(0, 0, 0.2, 1)",ze({opacity:1,transform:"scale(1)"}))),St("* => void",Ct("100ms 25ms linear",ze({opacity:0})))]),fadeInItems:mi("fadeInItems",[xt("showing",ze({opacity:1})),St("void => *",[ze({opacity:0}),Ct("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Se=new t.OlP("MatMenuContent"),jd=new t.OlP("MAT_MENU_PANEL"),a1=no(sr(class{}));let Bc=(()=>{class n extends a1{constructor(e,i,s,a,r){var c;super(),this._elementRef=e,this._focusMonitor=s,this._parentMenu=a,this._changeDetectorRef=r,this.role="menuitem",this._hovered=new xe.xQ,this._focused=new xe.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(c=null==a?void 0:a.addItem)||void 0===c||c.call(a,this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const i=this._elementRef.nativeElement.cloneNode(!0),s=i.querySelectorAll("mat-icon, .material-icons");for(let a=0;a{class n{constructor(e,i,s){this._elementRef=e,this._ngZone=i,this._defaultOptions=s,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new t.n_E,this._tabSubscription=V.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new xe.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new t.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+l1++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=qe(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=qe(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(s=>{this._classList[s]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(s=>{this._classList[s]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Ph(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(li(this._directDescendantItems),(0,Ii.w)(e=>(0,Oi.T)(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(li(this._directDescendantItems),(0,Ii.w)(i=>(0,Oi.T)(...i.map(s=>s._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,s=this._keyManager;switch(i){case 27:Un(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&s.setFocusOrigin("keyboard"),void s.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe((0,Zt.q)(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const i=this._keyManager;if(i.setFocusOrigin(e).setFirstItemActive(),!i.activeItem&&this._directDescendantItems.length){let s=this._directDescendantItems.first._getHostElement().parentElement;for(;s;){if("menu"===s.getAttribute("role")){s.focus();break}s=s.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),s=`${this._elevationPrefix}${i}`,a=Object.keys(this._classList).find(r=>r.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(e=this.xPosition,i=this.yPosition){const s=this._classList;s["mat-menu-before"]="before"===e,s["mat-menu-after"]="after"===e,s["mat-menu-above"]="above"===i,s["mat-menu-below"]="below"===i}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(li(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(Kf))},n.\u0275dir=t.lG2({type:n,contentQueries:function(e,i,s){if(1&e&&(t.Suo(s,Se,5),t.Suo(s,Bc,5),t.Suo(s,Bc,4)),2&e){let a;t.iGM(a=t.CRH())&&(i.lazyContent=a.first),t.iGM(a=t.CRH())&&(i._allItems=a),t.iGM(a=t.CRH())&&(i.items=a)}},viewQuery:function(e,i){if(1&e&&t.Gf(t.Rgc,5),2&e){let s;t.iGM(s=t.CRH())&&(i.templateRef=s.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),Zf=(()=>{class n extends Fc{constructor(e,i,s){super(e,i,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(Kf))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&t.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[t._Bn([{provide:jd,useExisting:n}]),t.qOj],ngContentSelectors:ue,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,i){1&e&&(t.F$t(),t.YNc(0,we,3,6,"ng-template"))},directives:[_.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[Ie.transformMenu,Ie.fadeInItems]},changeDetection:0}),n})();const DS=new t.OlP("mat-menu-scroll-strategy"),FD={provide:DS,deps:[zs],useFactory:function BD(n){return()=>n.scrollStrategies.reposition()}},LS=Ir({passive:!0});let qD=(()=>{class n{constructor(e,i,s,a,r,c,u,h){this._overlay=e,this._element=i,this._viewContainerRef=s,this._menuItemInstance=c,this._dir=u,this._focusMonitor=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=V.w.EMPTY,this._hoverSubscription=V.w.EMPTY,this._menuCloseSubscription=V.w.EMPTY,this._handleTouchStart=g=>{cd(g)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new t.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new t.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=r instanceof Fc?r:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,LS),c&&(c._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,LS),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),i=e.getConfig(),s=i.positionStrategy;this._setPosition(s),i.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Fc&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(et(this.menu.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof Fc?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe((0,Ht.h)(s=>"void"===s.toState),(0,Zt.q)(1),et(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i.lazyContent&&i.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,i=this.menu.parentMenu;for(;i;)e++,i=i.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new xh({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(i=>{this.menu.setPositionClasses("start"===i.connectionPair.overlayX?"after":"before","top"===i.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[i,s]="before"===this.menu.xPosition?["end","start"]:["start","end"],[a,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[c,u]=[a,r],[h,g]=[i,s],O=0;this.triggersSubmenu()?(g=i="before"===this.menu.xPosition?"start":"end",s=h="end"===i?"start":"end",O="bottom"===a?8:-8):this.menu.overlapTrigger||(c="top"===a?"bottom":"top",u="top"===r?"bottom":"top"),e.withPositions([{originX:i,originY:c,overlayX:h,overlayY:a,offsetY:O},{originX:s,originY:c,overlayX:g,overlayY:a,offsetY:O},{originX:i,originY:u,overlayX:h,overlayY:r,offsetY:-O},{originX:s,originY:u,overlayX:g,overlayY:r,offsetY:-O}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),s=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ge.of)(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Ht.h)(r=>r!==this._menuItemInstance),(0,Ht.h)(()=>this._menuOpen)):(0,Ge.of)();return(0,Oi.T)(e,s,a,i)}_handleMousedown(e){ad(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Ht.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,j.g)(0,Vu)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Fc&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Zt.q)(1),(0,j.g)(0,Vu),et(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Ma(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(zs),t.Y36(t.SBq),t.Y36(t.s_b),t.Y36(DS),t.Y36(jd,8),t.Y36(Bc,10),t.Y36(xn,8),t.Y36(eo))},n.\u0275dir=t.lG2({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,i){1&e&&t.NdJ("click",function(a){return i._handleClick(a)})("mousedown",function(a){return i._handleMousedown(a)})("keydown",function(a){return i._handleKeydown(a)}),2&e&&t.uIk("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),RS=(()=>{class n extends qD{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[t.qOj]}),n})(),u1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[FD],imports:[[_.ez,ut,ds,Ll],$o,ut]}),n})();var dy=M(1737),jD=M(2474);const YD=["*"];let hy;function d1(n){var o;return(null===(o=function UD(){if(void 0===hy&&(hy=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(hy=n.trustedTypes.createPolicy("angular#components",{createHTML:o=>o}))}return hy}())||void 0===o?void 0:o.createHTML(n))||n}function OS(n){return Error(`Unable to find icon with the name "${n}"`)}function PS(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function zS(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Yd{constructor(o,e,i){this.url=o,this.svgText=e,this.options=i}}let h1=(()=>{class n{constructor(e,i,s,a){this._httpClient=e,this._sanitizer=i,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=s}addSvgIcon(e,i,s){return this.addSvgIconInNamespace("",e,i,s)}addSvgIconLiteral(e,i,s){return this.addSvgIconLiteralInNamespace("",e,i,s)}addSvgIconInNamespace(e,i,s,a){return this._addSvgIconConfig(e,i,new Yd(s,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,s,a){const r=this._sanitizer.sanitize(t.q3G.HTML,s);if(!r)throw zS(s);const c=d1(r);return this._addSvgIconConfig(e,i,new Yd("",c,a))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,s){return this._addSvgIconSetConfig(e,new Yd(i,null,s))}addSvgIconSetLiteralInNamespace(e,i,s){const a=this._sanitizer.sanitize(t.q3G.HTML,i);if(!a)throw zS(i);const r=d1(a);return this._addSvgIconSetConfig(e,new Yd("",r,s))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,e);if(!i)throw PS(e);const s=this._cachedIconsByUrl.get(i);return s?(0,Ge.of)(fy(s)):this._loadSvgIconFromConfig(new Yd(e,null)).pipe((0,U.b)(a=>this._cachedIconsByUrl.set(i,a)),(0,ct.U)(a=>fy(a)))}getNamedSvgIcon(e,i=""){const s=IS(i,e);let a=this._svgIconConfigs.get(s);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(i,e),a)return this._svgIconConfigs.set(s,a),this._getSvgFromConfig(a);const r=this._iconSetConfigs.get(i);return r?this._getSvgFromIconSetConfigs(e,r):(0,dy._)(OS(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ge.of)(fy(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,ct.U)(i=>fy(i)))}_getSvgFromIconSetConfigs(e,i){const s=this._extractIconWithNameFromAnySet(e,i);return s?(0,Ge.of)(s):r0(i.filter(r=>!r.svgText).map(r=>this._loadSvgIconSetFromConfig(r).pipe((0,Ai.K)(c=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(t.q3G.RESOURCE_URL,r.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(h)),(0,Ge.of)(null)})))).pipe((0,ct.U)(()=>{const r=this._extractIconWithNameFromAnySet(e,i);if(!r)throw OS(e);return r}))}_extractIconWithNameFromAnySet(e,i){for(let s=i.length-1;s>=0;s--){const a=i[s];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){const r=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(r,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,U.b)(i=>e.svgText=i),(0,ct.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ge.of)(null):this._fetchIcon(e).pipe((0,U.b)(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,s){const a=e.querySelector(`[id="${i}"]`);if(!a)return null;const r=a.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,s);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),s);const c=this._svgElementFromString(d1(""));return c.appendChild(r),this._setSvgAttributes(c,s)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const s=i.querySelector("svg");if(!s)throw Error(" tag not found");return s}_toSvgElement(e){const i=this._svgElementFromString(d1("")),s=e.attributes;for(let a=0;ad1(g)),ie(()=>this._inProgressUrlFetches.delete(c)),(0,jD.B)());return this._inProgressUrlFetches.set(c,h),h}_addSvgIconConfig(e,i,s){return this._svgIconConfigs.set(IS(e,i),s),this}_addSvgIconSetConfig(e,i){const s=this._iconSetConfigs.get(e);return s?s.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let s=0;so?o.pathname+o.search:""}}}),NS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],XD=NS.map(n=>`[${n}]`).join(", "),QD=/^url\(['"]?#(.*?)['"]?\)$/;let An=(()=>{class n extends KD{constructor(e,i,s,a,r){super(e),this._iconRegistry=i,this._location=a,this._errorHandler=r,this._inline=!1,this._currentIconFetch=V.w.EMPTY,s||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=qe(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=e.querySelectorAll("style");for(let a=0;a{s.forEach(r=>{a.setAttribute(r.name,`url('${e}#${r.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(XD),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{const c=i[a],u=c.getAttribute(r),h=u?u.match(QD):null;if(h){let g=s.get(c);g||(g=[],s.set(c,g)),g.push({name:r,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,s]=this._splitIconName(e);i&&(this._svgNamespace=i),s&&(this._svgName=s),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,i).pipe((0,Zt.q)(1)).subscribe(a=>this._setSvgElement(a),a=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${s}! ${a.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(h1),t.$8M("aria-hidden"),t.Y36(ZD),t.Y36(t.qLn))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,i){2&e&&(t.uIk("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet),t.ekj("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[t.qOj],ngContentSelectors:YD,decls:1,vars:0,template:function(e,i){1&e&&(t.F$t(),t.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),n})(),qc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ut],ut]}),n})(),HS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[],imports:[[H,u1,qc,or,vf,_.ez]]}),n})();var JD=M(655),ex=M(9441);const $f=[5,10,25,100];function Hi(){const n=new Lc;return n.disableClose=!0,n.autoFocus=!1,n}function Ud(n){return"virt"===n.namespace.split(":")[4]}const ux=new Intl.Collator("cs",{numeric:!0});function f1(n,o,e,i){const s=o.active,a=o.direction;return s&&""!==a?n.sort((r,c)=>{const u=e(r,s,i),h=e(c,s,i);return ux.compare(u,h)*("asc"===a?1:-1)}):n}function p1(n,o,e,i,s,a){o=o.toLowerCase();let r="";return e.forEach(c=>{r+=";"+i(n,c,s)}),a&&(r+=";"+i(n,"uuid",s)),-1!==r.toLowerCase().indexOf(o)}function Xf(n,o,e,i){const s=[],a=["checkbox","select","edit","menu","cite","extend","recent"];return o=o.filter(r=>!a.includes(r)),n.forEach(r=>{const c={};o.forEach(u=>{var h;c[u]=(null!==(h=e(r,u,i))&&void 0!==h?h:"").split('"').join("''").trim()}),s.push(c)}),s}function Qf(n,o="csv",e="export"){if("csv"===o){const i=(u,h)=>null===h?"":h,s=Object.keys(n[0]),a=n.map(u=>s.map(h=>JSON.stringify(u[h],i)).join(","));a.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const r=a.join("\r\n"),c=new Blob([r],{type:"text/csv"});(0,ex.saveAs)(c,`${e}.${o}`)}}const BS="GUI_CONFIG.PREF_PAGE_SIZE.";let hx=(()=>{class n{constructor(){}getString(e){return localStorage.getItem(e)}getNumber(e){return parseInt(localStorage.getItem(e),10)}setNumber(e,i){localStorage.setItem(e,i.toString())}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fx=(()=>{class n{constructor(e){this.guiConfigService=e}getTablePageSize(e){const i=this.guiConfigService.getNumber(BS+e);if(!isNaN(i))return i;const s=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE");return isNaN(s)?10:s}setTablePageSize(e,i){this.guiConfigService.setNumber(BS+e,i)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(hx))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),px=(()=>{class n{constructor(){this.exportData=new t.vpe}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-table-options"]],outputs:{exportData:"exportData"},decls:13,vars:5,consts:[[1,"position-right"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["exportOptions","matMenu"],["mat-menu-item","",3,"click"]],template:function(e,i){if(1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"button",1),t.TgZ(2,"mat-icon"),t._uU(3,"more_vert"),t.qZA(),t.qZA(),t.TgZ(4,"mat-menu",null,2),t.TgZ(6,"button",3),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.qZA(),t.TgZ(9,"mat-menu",null,4),t.TgZ(11,"button",5),t.NdJ("click",function(){return i.exportData.emit("csv")}),t._uU(12,"Csv"),t.qZA(),t.qZA(),t.qZA()),2&e){const s=t.MAs(5),a=t.MAs(10);t.xp6(1),t.Q6J("matMenuTriggerFor",s),t.xp6(5),t.Q6J("matMenuTriggerFor",a),t.xp6(1),t.hij(" ",t.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[zt,RS,An,Zf,Bc],pipes:[at],styles:[""]}),n})();function gx(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"perun-web-apps-table-options",6),t.NdJ("exportData",function(s){return t.CHM(e),t.oxw().exportData.emit(s)}),t.qZA()}}function mx(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"perun-web-apps-table-options",6),t.NdJ("exportData",function(s){return t.CHM(e),t.oxw().exportData.emit(s)}),t.qZA()}}const _x=["*"];let cr=(()=>{class n{constructor(e){this.tableConfigService=e,this.hideExport=!1,this.pageSizeOptions=$f,this.dataLength=0,this.exportData=new t.vpe,this.pageSize=5}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}set matPaginator(e){this.paginator=e}pageChangedTop(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}pageChangedBottom(e){this.paginator.pageSize=e.pageSize,this.paginator.pageIndex=e.pageIndex,this.paginator.page.emit(e),this.pageSize=e.pageSize,this.tableId&&this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(fx))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,i){if(1&e&&t.Gf(x,7),2&e){let s;t.iGM(s=t.CRH())&&(i.matPaginator=s.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:_x,decls:9,vars:9,consts:[[1,"card-body","pt-0"],[1,"row","justify-content-end","align-items-center"],[3,"length","pageSizeOptions","pageSize","page"],[3,"exportData",4,"ngIf"],[1,"overflow-auto","border-top"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],[3,"exportData"]],template:function(e,i){1&e&&(t.F$t(),t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"mat-paginator",2),t.NdJ("page",function(a){return i.pageChangedTop(a)}),t.qZA(),t.YNc(3,gx,1,0,"perun-web-apps-table-options",3),t.qZA(),t.TgZ(4,"div",4),t.Hsn(5),t.qZA(),t.TgZ(6,"div",1),t.TgZ(7,"mat-paginator",5),t.NdJ("page",function(a){return i.pageChangedBottom(a)}),t.qZA(),t.YNc(8,mx,1,0,"perun-web-apps-table-options",3),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Q6J("length",i.dataLength)("pageSizeOptions",i.pageSizeOptions)("pageSize",i.pageSize),t.xp6(1),t.Q6J("ngIf",!i.hideExport),t.xp6(4),t.Q6J("length",i.paginator.length)("pageIndex",i.paginator.pageIndex)("pageSizeOptions",i.paginator.pageSizeOptions)("pageSize",i.paginator.pageSize),t.xp6(1),t.Q6J("ngIf",!i.hideExport))},directives:[x,_.O5,px],styles:[""]}),n})();class bx{static passwordMatchValidator(o){const e=o.get("passwordCtrl").value,i=o.get("passwordAgainCtrl").value;return o.get("passwordAgainCtrl").setErrors(e!==i?{noPasswordMatch:!0}:null),null}static patternValidator(o){return e=>{if(!e.value)return null;let i=0;for(const s of o)i+=s.test(e.value)?1:0;return i>=3?null:{isWeak:!0}}}}let Hv=(()=>{class n{constructor(e,i,s,a,r,c){this.authService=e,this.storeService=i,this.authResolver=s,this.authzService=a,this.dialog=r,this.router=c,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(e){this.loginScreenShown=e}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const i=Hi();this.dialog.open(MM,i)}else this.storeService.setPerunPrincipal(e),this.authResolver.init(e)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(e=>{e()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const e=location.search.substr(1).split("&"),i={};for(const s of e){const a=s.split("=");i[a[0]]=a[1]}return this.router.navigate(["login"],{queryParams:i,queryParamsHandling:"merge"}).then(()=>null)}}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Ra),t.LFG($t),t.LFG(Ga),t.LFG(Qi),t.LFG(Zi),t.LFG(Mi))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),FS=(()=>{class n{constructor(e,i){this.matIconRegistry=e,this.domSanitizer=i,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(h1),t.LFG(ms))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),yx=(()=>{class n{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",1),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"div",2),t.TgZ(7,"div",3),t.TgZ(8,"button",4),t.NdJ("click",function(){return i.close()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),t.xp6(3),t.hij(" ",t.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),t.xp6(5),t.hij(" ",t.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[On,Pn,an,zt],pipes:[at],styles:[""]}),n})(),py=(()=>{class n{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ao=(()=>{class n{constructor(e){this.translate=e,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new t.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(e,i=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===e.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===e.name?i:i+"\n"+e.name,e,e.message)}showRouteError(){const e=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),i=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(e,null,i)}showError(e,i,s,a,r){this.addNotification.emit({type:"error",error:i,description:s,title:e,actionText:void 0===a&&void 0!==s?this.getDefaultActionMessage():a,delay:this.defaultErrorDelayMs,icon:"error_outline",action:r,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,i,s,a){this.addNotification.emit({type:"success",description:i,title:e,actionText:void 0===s&&void 0!==i?this.getDefaultActionMessage():s,delay:this.defaultSuccessDelayMs,icon:"done",action:a,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(ui))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),qS=(()=>{class n{constructor(e,i,s,a,r,c){this.authService=e,this.apiRequestConfiguration=i,this.notificator=s,this.store=a,this.dialog=r,this.initAuthService=c}intercept(e,i){const s=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),!(void 0===s||-1===e.url.toString().indexOf(s)||this.store.skipOidc()||this.authService.isLoggedIn()||this.initAuthService.isServiceAccess()||this.dialogRefSessionExpiration)){const c=Hi();c.width="450px",this.dialogRefSessionExpiration=this.dialog.open(yx,c),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{ie(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}e=this.initAuthService.isServiceAccess()?e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const a=this.apiRequestConfiguration.shouldHandleError(),r="POST"===e.method&&!this.store.skipOidc()&&this.isCallToPerunApi(e.url);return i.handle(e).pipe((0,U.b)(c=>{c instanceof D.Zn&&r&&this.initAuthService.loadPrincipal()},c=>{const u=this.formatErrors(c,e);return void 0===u?(0,dy._)(c):a?void this.notificator.showRPCError(u):(0,dy._)(u)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,i){let s;if(console.error(e),e.error.errorId?s=e.error:e.errorId&&(s=JSON.parse(e.error)),void 0!==s)return s.urlWithParams=i.urlWithParams,s.call=i.url,s.payload=i.body,s}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Ra),t.LFG(py),t.LFG(ao),t.LFG($t),t.LFG(Zi),t.LFG(Hv))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),jS=(()=>{class n{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(e){this.newNotificationsCount++,this.notificationData.push(e)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ax=(()=>{class n{constructor(e,i,s,a){this.http=e,this.notificator=i,this.authService=s,this.storeService=a}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(e,i,s,a){const r=e.error;return r.call=i,r.payload=s,a&&this.notificator.showRPCError(e.error),(0,dy._)(r)}getHeaders(){let e=new D.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue()),e}get(e,i=!0){const s=`${this.getApiUrl()}${e}`;return this.http.get(s,{headers:this.getHeaders()}).pipe((0,Ai.K)(a=>this.formatErrors(a,s,null,i)))}put(e,i={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(i);return this.http.put(a,r,{headers:this.getHeaders()}).pipe((0,Ai.K)(c=>this.formatErrors(c,a,r,s)))}post(e,i={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(i);let c=this.getHeaders();return c=c.set("Content-Type","application/json; charset=utf-8"),this.http.post(a,r,{headers:c}).pipe((0,Ai.K)(u=>this.formatErrors(u,a,r,s)))}delete(e,i=!0){const s=`${this.getApiUrl()}${e}`;return this.http.delete(s,{headers:this.getHeaders()}).pipe((0,Ai.K)(a=>this.formatErrors(a,s,null,i)))}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(D.eN),t.LFG(ao),t.LFG(Ra),t.LFG($t))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Bv=(()=>{class n{constructor(){}isAllSelectedWithDisabledCheckbox(e,i,s,a,r,c,u,h){return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=r*s,this.pageEnd=this.pageStart+s,this.pageIterator=0,this.dataLength=""===i?c.data.length:c.filteredData.length,a||(this.modulo=this.dataLength%s,this.pageEnd=0===this.modulo?this.pageStart+s:this.pageStart+this.modulo),c.sortData(c.filteredData,u).forEach(g=>{this.pageStart<=this.pageIterator&&this.pageIterator{h?g(O)&&this.pageStart<=this.pageIterator&&this.pageIterator{class n{constructor(e,i){this.route=e,this.store=i}getPreferredLanguage(e){const i=this.store.get("supported_languages"),s=navigator.languages.map(c=>c.split("-")[0]),a=location.search.substr(1).split("&");let r=null;for(const c of a){const u=c.split("=");"lang"===u[0]&&(r=u[1])}return r&&i.includes(r)?r:e&&i.includes(e)?e:s&&i.includes(s[0])?s[0]:"en"}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(As),t.LFG($t))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),YS=(()=>{class n{constructor(e){this.storeService=e}static getBrandContainingDomain(e,i){for(const s of e)if(s.newApps.admin===i||s.newApps.profile===i||s.newApps.pwdReset===i)return s;return e[0]}getUrlForOtherApplication(e,i){const a=window.location.href.split("/"),r=a[0]+"//"+a[2],c=n.getBrandContainingDomain(this.storeService.getAppsConfig().brands,r);let u;if(c.newApps[e])u=c.newApps[e],"pwdReset"===e&&(u+=`?login-namespace=${i}`);else switch(u=c.oldGuiDomain+"/fed",e){case"admin":u+="/gui/";break;case"profile":u+="/profile/";break;case"pwdReset":u+=`/pwd-reset/?login-namespace=${i}`}return u}}return n.\u0275fac=function(e){return new(e||n)(t.LFG($t))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();mi("openClose",[xt("open",ze({overflow:"hidden"})),xt("closed",ze({height:"0px",overflow:"hidden"})),St("open <=> closed",[Ct(".3s ease-in")])]);const wx=mi("flyInOut",[St(":enter",[ze({transform:"translateX(100%)"}),Ct(".25s")]),St(":leave",[Ct(".5s",ze({transform:"translateX(100%)"}))])]);mi("rollInOut",[St(":enter",[ze({height:"0px"}),Ct(".25s")]),St(":leave",[Ct(".25s",ze({height:"0px"}))])]),mi("routeAnimations",[St("* => *",[ze({position:"relative"}),Do(":enter",[ze({width:"100%",opacity:0})],{optional:!0}),Do(":leave",[ze({position:"absolute",width:"100%",opacity:1}),Ct("0.15s",ze({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),Do(":enter",[ze({position:"absolute",width:"100%",opacity:0}),Ct("0.15s",ze({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),mi("tagsOpenClose",[xt("open",ze({})),xt("closed",ze({width:"0px",height:"0px"})),St("open <=> closed",[Ct(".3s ease-in")])]),mi("switchAnimations",[St("true => false",[Do(":enter, :leave",ze({})),bg([Do(":enter",[ze({transform:"translateX(-100%)"}),Ct("1s ease-in-out",ze({transform:"translateX(0%)"}))],{optional:!0}),Do(":leave",[ze({transform:"translateX(0%)",position:"absolute"}),Ct("1s ease-in-out",ze({transform:"translateX(100%)"}))],{optional:!0})])]),St("false => true",[Do(":enter, :leave",ze({})),bg([Do(":enter",[ze({transform:"translateX(100%)"}),Ct("1s ease-in-out",ze({transform:"translateX(0%)"}))],{optional:!0}),Do(":leave",[ze({transform:"translateX(0%)",position:"absolute"}),Ct("1s ease-in-out",ze({transform:"translateX(-100%)"}))],{optional:!0})])])]),mi("slideInOutLeft",[St(":enter",[ze({transform:"translateX(-100%)",position:"relative"}),Ct("0.5s ease-in",ze({transform:"translateX(0%)"}))]),St(":leave",[Ct("0.5s ease-in",ze({transform:"translateX(-100%)"}))])]),mi("slideInOutRight",[St(":enter",[ze({transform:"translateX(100%)",position:"fixed"}),Ct("0.5s ease-in",ze({transform:"translateX(0%)"}))]),St(":leave",[ze({transform:"translateX(-100%)",position:"relative"}),Ct("0.5s ease-in",ze({transform:"translateX(100%)"}))])]);let US=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.ez]]}),n})(),gy=(()=>{class n{transform(e){let s="";return null!==e.titleBefore&&(s+=e.titleBefore+" "),null!==e.firstName&&(s+=e.firstName+" "),null!==e.middleName&&(s+=e.middleName+" "),null!==e.lastName&&(s+=e.lastName+" "),null!==e.titleAfter&&(s+=e.titleAfter+" "),s.endsWith(" ")&&(s=s.substring(0,s.length-1)),s}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"userFullName",type:n,pure:!0}),n})(),oi=(()=>{class n{constructor(e,i){this.translate=e,this.storage=i}transform(e,i="en"){const s=this.storage.get("custom_labels");if(s){const a=Object.keys(s);for(const r of a){const c=this.storage.get("custom_labels",r);if(c.label===e)return c[i]}}return e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ui,16),t.Y36($t,16))},n.\u0275pipe=t.Yjl({name:"customTranslate",type:n,pure:!0}),n})();class Mx{isErrorState(o){return!!(o&&o.invalid&&o.dirty)}}const vx=(n,o,e,i=500)=>s=>uA(i).pipe((0,Ii.w)(()=>(e.dontHandleErrorForNext(),n&&"No namespace"!==n?o.checkPasswordStrength(s.value,n):(0,Ge.of)(null))),(0,ct.U)(()=>null),(0,Ai.K)(a=>(0,Ge.of)({backendError:a.error.message.substr(a.error.message.indexOf(":")+1)}))),GS=Ir({passive:!0});let Tx=(()=>{class n{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Us.E;const i=Wi(e),s=this._monitoredElements.get(i);if(s)return s.subject;const a=new xe.xQ,r="cdk-text-field-autofilled",c=u=>{"cdk-text-field-autofill-start"!==u.animationName||i.classList.contains(r)?"cdk-text-field-autofill-end"===u.animationName&&i.classList.contains(r)&&(i.classList.remove(r),this._ngZone.run(()=>a.next({target:u.target,isAutofilled:!1}))):(i.classList.add(r),this._ngZone.run(()=>a.next({target:u.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",c,GS),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:a,unlisten:()=>{i.removeEventListener("animationstart",c,GS)}}),a}stopMonitoring(e){const i=Wi(e),s=this._monitoredElements.get(i);s&&(s.unlisten(),s.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(gi),t.LFG(t.R0b))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),my=(()=>{class n{constructor(e,i,s,a){this._elementRef=e,this._platform=i,this._ngZone=s,this._destroyed=new xe.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=r=>{this._hasFocus="focus"===r.type},this._document=a,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(e){this._minRows=Vi(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=Vi(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=qe(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{vo(this._getWindow(),"resize").pipe(Yn(16),et(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const e=this._textareaElement,i=e.style.marginBottom||"",s=this._platform.FIREFOX,a=s&&this._hasFocus,r=s?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";a&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(r);const c=e.scrollHeight-4;return e.classList.remove(r),a&&(e.style.marginBottom=i),c}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const i=this._elementRef.nativeElement,s=i.value;if(!e&&this._minRows===this._previousMinRows&&s===this._previousValue)return;const a=this._measureScrollHeight(),r=Math.max(a,this._cachedPlaceholderHeight||0);i.style.height=`${r}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(i)):setTimeout(()=>this._scrollToCaretPosition(i))}),this._previousValue=s,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:i,selectionEnd:s}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(i,s)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(gi),t.Y36(t.R0b),t.Y36(_.K0,8))},n.\u0275dir=t.lG2({type:n,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,i){1&e&&t.NdJ("input",function(){return i._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),n})(),VS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[Aa]]}),n})();const WS=new t.OlP("MAT_INPUT_VALUE_ACCESSOR"),Cx=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Sx=0;const Ex=Qg(class{constructor(n,o,e,i){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=e,this.ngControl=i}});let zn=(()=>{class n extends Ex{constructor(e,i,s,a,r,c,u,h,g,O){super(c,a,r,s),this._elementRef=e,this._platform=i,this._autofillMonitor=h,this._formField=O,this._uid="mat-input-"+Sx++,this.focused=!1,this.stateChanges=new xe.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(ye=>jp().has(ye));const $=this._elementRef.nativeElement,re=$.nodeName.toLowerCase();this._inputValueAccessor=u||$,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",ye=>{const ve=ye.target;!ve.value&&0===ve.selectionStart&&0===ve.selectionEnd&&(ve.setSelectionRange(1,1),ve.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===re,this._isTextarea="textarea"===re,this._isInFormField=!!O,this._isNativeSelect&&(this.controlType=$.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=qe(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,i,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===s?void 0:s.hasValidator(Tn.required))&&void 0!==a&&a}set required(e){this._required=qe(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&jp().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=qe(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,i;const s=(null===(i=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===i?void 0:i.call(e))?null:this.placeholder;if(s!==this._previousPlaceholder){const a=this._elementRef.nativeElement;this._previousPlaceholder=s,s?a.setAttribute("placeholder",s):a.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){Cx.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(gi),t.Y36(Hs,10),t.Y36(uu,8),t.Y36(Nc,8),t.Y36(Kl),t.Y36(WS,10),t.Y36(Tx),t.Y36(t.R0b),t.Y36(eu,8))},n.\u0275dir=t.lG2({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&t.NdJ("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(t.Ikx("disabled",i.disabled)("required",i.required),t.uIk("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),t.ekj("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[t._Bn([{provide:Sd,useExisting:n}]),t.qOj,t.TTD]}),n})(),g1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[Kl],imports:[[VS,Pc,ut],VS,Pc]}),n})();function kx(n,o){if(1&n&&(t.O4$(),t._UZ(0,"circle",4)),2&n){const e=t.oxw(),i=t.MAs(1);t.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),t.uIk("r",e._getCircleRadius())}}function Dx(n,o){if(1&n&&(t.O4$(),t._UZ(0,"circle",4)),2&n){const e=t.oxw(),i=t.MAs(1);t.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),t.uIk("r",e._getCircleRadius())}}function xx(n,o){if(1&n&&(t.O4$(),t._UZ(0,"circle",4)),2&n){const e=t.oxw(),i=t.MAs(1);t.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),t.uIk("r",e._getCircleRadius())}}function Lx(n,o){if(1&n&&(t.O4$(),t._UZ(0,"circle",4)),2&n){const e=t.oxw(),i=t.MAs(1);t.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),t.uIk("r",e._getCircleRadius())}}const Px=La(class{constructor(n){this._elementRef=n}},"primary"),KS=new t.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function zx(){return{diameter:100}}});class jc extends Px{constructor(o,e,i,s,a,r,c,u){super(o),this._document=i,this._diameter=100,this._value=0,this._resizeSubscription=V.w.EMPTY,this.mode="determinate";const h=jc._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),h.has(i.head)||h.set(i.head,new Set([100])),this._noopAnimations="NoopAnimations"===s&&!!a&&!a._forceAnimations,a&&(a.diameter&&(this.diameter=a.diameter),a.strokeWidth&&(this.strokeWidth=a.strokeWidth)),e.isBrowser&&e.SAFARI&&c&&r&&u&&(this._resizeSubscription=c.change(150).subscribe(()=>{"indeterminate"===this.mode&&u.run(()=>r.markForCheck())}))}get diameter(){return this._diameter}set diameter(o){this._diameter=Vi(o),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(o){this._strokeWidth=Vi(o)}get value(){return"determinate"===this.mode?this._value:0}set value(o){this._value=Math.max(0,Math.min(100,Vi(o)))}ngOnInit(){const o=this._elementRef.nativeElement;this._styleRoot=El(o)||this._document.head,this._attachStyleNode(),o.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const o=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${o} ${o}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(o){var e;const i=50*(null!==(e=o.currentScale)&&void 0!==e?e:1);return`${i}% ${i}%`}_attachStyleNode(){const o=this._styleRoot,e=this._diameter,i=jc._diameters;let s=i.get(o);if(!s||!s.has(e)){const a=this._document.createElement("style");a.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),a.textContent=this._getAnimationText(),o.appendChild(a),s||(s=new Set,i.set(o,s)),s.add(e)}}_getAnimationText(){const o=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*o).replace(/END_VALUE/g,""+.2*o).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}jc._diameters=new WeakMap,jc.\u0275fac=function(o){return new(o||jc)(t.Y36(t.SBq),t.Y36(gi),t.Y36(_.K0,8),t.Y36(Vn,8),t.Y36(KS),t.Y36(t.sBO),t.Y36(wa),t.Y36(t.R0b))},jc.\u0275cmp=t.Xpm({type:jc,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(o,e){2&o&&(t.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),t.Udp("width",e.diameter,"px")("height",e.diameter,"px"),t.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[t.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(o,e){1&o&&(t.O4$(),t.TgZ(0,"svg",0,1),t.YNc(2,kx,1,11,"circle",2),t.YNc(3,Dx,1,9,"circle",3),t.qZA()),2&o&&(t.Udp("width",e.diameter,"px")("height",e.diameter,"px"),t.Q6J("ngSwitch","indeterminate"===e.mode),t.uIk("viewBox",e._getViewBox()),t.xp6(2),t.Q6J("ngSwitchCase",!0),t.xp6(1),t.Q6J("ngSwitchCase",!1))},directives:[_.RF,_.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let In=(()=>{class n extends jc{constructor(e,i,s,a,r,c,u,h){super(e,i,s,a,r,c,u,h),this.mode="indeterminate"}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(gi),t.Y36(_.K0,8),t.Y36(Vn,8),t.Y36(KS),t.Y36(t.sBO),t.Y36(wa),t.Y36(t.R0b))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,i){2&e&&(t.Udp("width",i.diameter,"px")("height",i.diameter,"px"),t.ekj("_mat-animation-noopable",i._noopAnimations))},inputs:{color:"color"},features:[t.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,i){1&e&&(t.O4$(),t.TgZ(0,"svg",0,1),t.YNc(2,xx,1,11,"circle",2),t.YNc(3,Lx,1,9,"circle",3),t.qZA()),2&e&&(t.Udp("width",i.diameter,"px")("height",i.diameter,"px"),t.Q6J("ngSwitch","indeterminate"===i.mode),t.uIk("viewBox",i._getViewBox()),t.xp6(2),t.Q6J("ngSwitchCase",!0),t.xp6(1),t.Q6J("ngSwitchCase",!1))},directives:[_.RF,_.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),n})(),m1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ut,_.ez],ut]}),n})();function Nx(n,o){1&n&&(t.TgZ(0,"mat-icon",2),t._uU(1," info "),t.qZA())}function Hx(n,o){1&n&&(t.TgZ(0,"mat-icon",2),t._uU(1," warning "),t.qZA())}function Bx(n,o){1&n&&(t.TgZ(0,"mat-icon",2),t._uU(1," dangerous "),t.qZA())}function Fx(n,o){1&n&&(t.TgZ(0,"mat-icon",2),t._uU(1," check_circle "),t.qZA())}const qx=["*"];let Zn=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:qx,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(e,i){1&e&&(t.F$t(),t.TgZ(0,"div",0),t.YNc(1,Nx,2,0,"mat-icon",1),t.YNc(2,Hx,2,0,"mat-icon",1),t.YNc(3,Bx,2,0,"mat-icon",1),t.YNc(4,Fx,2,0,"mat-icon",1),t.Hsn(5),t.qZA()),2&e&&(t.ekj("warn-alert","warn"===i.alert_type)("error-alert","error"===i.alert_type)("success-alert","success"===i.alert_type)("info-alert","info"===i.alert_type),t.xp6(1),t.Q6J("ngIf","info"===i.alert_type),t.xp6(1),t.Q6J("ngIf","warn"===i.alert_type),t.xp6(1),t.Q6J("ngIf","error"===i.alert_type),t.xp6(1),t.Q6J("ngIf","success"===i.alert_type))},directives:[_.O5,An],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),n})();function jx(n,o){1&n&&t._UZ(0,"mat-spinner",12),2&n&&t.Q6J("diameter",18)}function Yx(n,o){if(1&n&&(t.TgZ(0,"mat-icon",13),t._uU(1," error "),t.qZA()),2&n){const e=t.oxw();t.Q6J("matTooltip",e.getErrorTooltip())("matTooltipDisabled",!e.formGroup.get("passwordCtrl").hasError("backendError"))}}function Ux(n,o){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function Gx(n,o){if(1&n&&(t.TgZ(0,"mat-error",14),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.Q6J("matTooltip",e.getErrorTooltip()),t.xp6(1),t.Oqu(e.getErrorTooltip())}}function Vx(n,o){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function Wx(n,o){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let Kx=(()=>{class n{constructor(e,i,s){this.translator=e,this.usersManagerService=i,this.store=s,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.multiLanguage=!1,this.language="en",this.allPasswordRequirements=this.store.get("password_requirements_help"),this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new Mx}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{const i=e.userAttributes.find(s=>"preferredLanguage"===s.friendlyName);this.language=i&&i.value?i.value.toString():"en","en"!==this.language&&(this.allPasswordRequirements=this.store.get(`password_requirements_help_${this.language}`)),this.changeHelp()}):this.changeHelp()}ngOnChanges(){this.allPasswordRequirements=this.store.get("en"!==this.language?`password_requirements_help_${this.language}`:"password_requirements_help"),this.changeHelp()}getPasswordDisabledTooltip(){return this.translator.instant(this.tooltipPwdViaEmail?"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_VIA_EMAIL":"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_DISABLED")}getErrorTooltip(){let e=this.formGroup.get("passwordCtrl").getError("backendError");return e&&(e=e.replace(":null","")),e}changeHelp(){this.passwordRequirement=this.allPasswordRequirements.find(e=>e.split(":")[0]===this.namespace),this.passwordRequirement=void 0===this.passwordRequirement?this.allPasswordRequirements.find(e=>"default"===e.split(":")[0]).split(/:(.+)/)[1]:this.passwordRequirement.split(/:(.+)/)[1]}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ui),t.Y36(zi),t.Y36($t))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[t.TTD],decls:21,vars:23,consts:[[3,"formGroup"],["matTooltipPosition","left",1,"max-width",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","passwordCtrl",3,"type","required","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["matSuffix","",3,"click"],["color","warn","matSuffix","","class","error-icon",3,"matTooltip","matTooltipDisabled",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","after",3,"matTooltip",4,"ngIf"],[1,"max-width"],["matInput","","formControlName","passwordAgainCtrl",3,"type","required"],["alert_type","info"],[3,"innerHTML"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",1,"error-icon",3,"matTooltip","matTooltipDisabled"],["matTooltipPosition","after",3,"matTooltip"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"mat-form-field",1),t._UZ(2,"input",2),t.ALo(3,"translate"),t.YNc(4,jx,1,1,"mat-spinner",3),t.TgZ(5,"mat-icon",4),t.NdJ("click",function(){return i.showNewPassword=!i.showNewPassword}),t._uU(6),t.qZA(),t.YNc(7,Yx,2,2,"mat-icon",5),t.YNc(8,Ux,3,3,"mat-error",6),t.YNc(9,Gx,2,2,"mat-error",7),t.qZA(),t.TgZ(10,"mat-form-field",8),t.TgZ(11,"mat-label"),t._uU(12),t.ALo(13,"translate"),t.qZA(),t._UZ(14,"input",9),t.TgZ(15,"mat-icon",4),t.NdJ("click",function(){return i.showPasswordConfirm=!i.showPasswordConfirm}),t._uU(16),t.qZA(),t.YNc(17,Vx,3,3,"mat-error",6),t.YNc(18,Wx,3,3,"mat-error",6),t.qZA(),t.TgZ(19,"app-alert",10),t._UZ(20,"div",11),t.qZA(),t.qZA()),2&e&&(t.Q6J("formGroup",i.formGroup),t.xp6(1),t.Q6J("matTooltip",i.getPasswordDisabledTooltip())("matTooltipDisabled",i.formGroup.get("passwordCtrl").enabled),t.xp6(1),t.s9C("placeholder",t.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),t.Q6J("type",i.showNewPassword?"text":"password")("required",i.passwordRequired)("errorStateMatcher",i.passwordStateMatcher),t.xp6(2),t.Q6J("ngIf",i.formGroup.get("passwordCtrl").pending),t.xp6(2),t.hij(" ",i.showNewPassword?"visibility_off":"visibility"," "),t.xp6(1),t.Q6J("ngIf",i.formGroup.get("passwordCtrl").dirty&&null!==i.formGroup.get("passwordCtrl").errors),t.xp6(1),t.Q6J("ngIf",i.formGroup.get("passwordCtrl").hasError("required")),t.xp6(1),t.Q6J("ngIf",i.formGroup.get("passwordCtrl").hasError("backendError")),t.xp6(3),t.Oqu(t.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),t.xp6(2),t.Q6J("type",i.showPasswordConfirm?"text":"password")("required",i.passwordRequired),t.xp6(2),t.hij(" ",i.showPasswordConfirm?"visibility_off":"visibility"," "),t.xp6(1),t.Q6J("ngIf",i.formGroup.get("passwordAgainCtrl").hasError("required")),t.xp6(1),t.Q6J("ngIf",i.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),t.xp6(2),t.Q6J("innerHTML",i.passwordRequirement,t.oJD))},directives:[kf,Nc,Pi,xs,zn,ji,yn,Bf,Ds,_.O5,In,Cf,An,Oc,rr,Zn],pipes:[at],styles:[".max-width[_ngcontent-%COMP%]{width:100%!important}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:5px}.error-icon[_ngcontent-%COMP%]{margin-left:5px}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:static!important;position:initial!important;display:block;margin-top:-1px}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper, [_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:static!important;position:initial!important;display:table}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}"]}),n})();function t2(n,o){1&n&&t._UZ(0,"mat-spinner",7)}function n2(n,o){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function s2(n,o){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function o2(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",8),t.TgZ(1,"mat-form-field"),t.TgZ(2,"mat-label"),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"input",9,10),t.NdJ("ngModelChange",function(s){return t.CHM(e),t.oxw().subject=s}),t.qZA(),t.YNc(7,n2,3,3,"mat-error",11),t.qZA(),t.TgZ(8,"mat-form-field"),t.TgZ(9,"mat-label"),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.TgZ(12,"textarea",12,13),t.NdJ("ngModelChange",function(s){return t.CHM(e),t.oxw().message=s}),t.ALo(14,"translate"),t._uU(15," "),t.qZA(),t.YNc(16,s2,3,3,"mat-error",11),t.qZA(),t.qZA()}if(2&n){const e=t.MAs(6),i=t.MAs(13),s=t.oxw();t.xp6(3),t.Oqu(t.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),t.xp6(2),t.Q6J("ngModel",s.subject),t.xp6(2),t.Q6J("ngIf",e.invalid),t.xp6(3),t.Oqu(t.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),t.xp6(2),t.s9C("placeholder",t.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),t.Q6J("ngModel",s.message),t.xp6(4),t.Q6J("ngIf",i.invalid)}}let r2=(()=>{class n{constructor(e,i,s,a,r,c){this.dialogRef=e,this.translate=i,this.notificator=s,this.rtMessages=a,this.data=r,this.storeService=c,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+e.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const e=this.storeService.get("config");let i=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(i=i.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),i=i.concat(this.data.error.message+"\nPerun instance: "+e+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const s=/"password":".+?"/;let a=JSON.stringify(this.data.error.payload);a=a.replace(s,'"password":"####"'),i=i.concat("Payload:\n"+a+"\n\n")}return i=i.concat("Sended from new Perun Gui, version: "+M(4147).i8),i.split("\n").join("\n ")}parseMethod(e){return e&&this.methodRegexp.exec(e)[1]}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(ui),t.Y36(ao),t.Y36(fn),t.Y36(Rn),t.Y36($t))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-bug-report-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"],["messageModel","ngModel"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.YNc(3,t2,1,0,"mat-spinner",1),t.YNc(4,o2,17,13,"div",2),t.TgZ(5,"div",3),t.TgZ(6,"div",4),t.TgZ(7,"button",5),t.NdJ("click",function(){return i.dialogRef.close()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",6),t.NdJ("click",function(){return i.sendBugReport()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(4),t.hij(" ",t.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),t.xp6(2),t.Q6J("disabled",""===i.message||""===i.subject||i.loading),t.xp6(1),t.hij(" ",t.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[On,_.O5,In,Pn,Pi,rr,zn,ji,Ds,yn,oo,Oc,an,zt],pipes:[at],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),a2=(()=>{class n{constructor(e,i,s){this.dialogRef=e,this.dialog=i,this.data=s}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const e=Hi();e.width="550px",e.data={error:this.data.error},e.autoFocus=!1,this.dialog.open(r2,e)}),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Zi),t.Y36(Rn))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-notification-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"hidden","click"],["autofocus","","mat-button","",1,"ml-2",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.qZA(),t.TgZ(2,"div",1),t._uU(3),t.qZA(),t.TgZ(4,"div",2),t.TgZ(5,"div",3),t.TgZ(6,"button",4),t.NdJ("click",function(){return i.onBugReportClick()}),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.TgZ(9,"button",5),t.NdJ("click",function(){return i.onCloseClick()}),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(i.data.title),t.xp6(2),t.hij(" ",i.data.description,"\n"),t.xp6(3),t.Q6J("hidden","error"!==i.data.type),t.xp6(1),t.hij(" ",t.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),t.xp6(3),t.hij(" ",t.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[On,Pn,an,zt],pipes:[at],styles:[""]}),n})();const c2=[[["caption"]],[["colgroup"],["col"]]],l2=["caption","colgroup, col"];function jv(n){return class extends n{constructor(...o){super(...o),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(o){const e=this._sticky;this._sticky=qe(o),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const o=this._hasStickyChanged;return this._hasStickyChanged=!1,o}resetStickyChanged(){this._hasStickyChanged=!1}}}const Jf=new t.OlP("CDK_TABLE");let ep=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.Rgc))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdkCellDef",""]]}),n})(),tp=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.Rgc))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),_y=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.Rgc))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class f2{}const p2=jv(f2);let Yc=(()=>{class n extends p2{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const i=this._stickyEnd;this._stickyEnd=qe(e),this._hasStickyChanged=i!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Jf,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,i,s){if(1&e&&(t.Suo(s,ep,5),t.Suo(s,tp,5),t.Suo(s,_y,5)),2&e){let a;t.iGM(a=t.CRH())&&(i.cell=a.first),t.iGM(a=t.CRH())&&(i.headerCell=a.first),t.iGM(a=t.CRH())&&(i.footerCell=a.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[t._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),t.qOj]}),n})();class Yv{constructor(o,e){e.nativeElement.classList.add(...o._columnCssClassName)}}let Uv=(()=>{class n extends Yv{constructor(e,i){super(e,i)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Yc),t.Y36(t.SBq))},n.\u0275dir=t.lG2({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[t.qOj]}),n})(),Gv=(()=>{class n extends Yv{constructor(e,i){var s;if(super(e,i),1===(null===(s=e._table)||void 0===s?void 0:s._elementRef.nativeElement.nodeType)){const a=e._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===a||"treegrid"===a?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Yc),t.Y36(t.SBq))},n.\u0275dir=t.lG2({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[t.qOj]}),n})();class $S{constructor(){this.tasks=[],this.endTasks=[]}}const Vv=new t.OlP("_COALESCED_STYLE_SCHEDULER");let XS=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new xe.xQ}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new $S,this._getScheduleObservable().pipe(et(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new $S;for(const i of e.tasks)i();for(const i of e.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,Sn.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,Zt.q)(1))}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(t.R0b))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})(),Wv=(()=>{class n{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){const i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof _1?e.headerCell.template:this instanceof b1?e.footerCell.template:e.cell.template}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.Rgc),t.Y36(t.ZZ4))},n.\u0275dir=t.lG2({type:n,features:[t.TTD]}),n})();class g2 extends Wv{}const m2=jv(g2);let _1=(()=>{class n extends m2{constructor(e,i,s){super(e,i),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(Jf,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[t.qOj,t.TTD]}),n})();class _2 extends Wv{}const b2=jv(_2);let b1=(()=>{class n extends b2{constructor(e,i,s){super(e,i),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(Jf,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[t.qOj,t.TTD]}),n})(),by=(()=>{class n extends Wv{constructor(e,i,s){super(e,i),this._table=s}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(Jf,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[t.qOj]}),n})(),Uc=(()=>{class n{constructor(e){this._viewContainer=e,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(e){return new(e||n)(t.Y36(t.s_b))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),Kv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&t.GkF(0,0)},directives:[Uc],encapsulation:2}),n})(),$v=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&t.GkF(0,0)},directives:[Uc],encapsulation:2}),n})(),yy=(()=>{class n{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.Rgc))},n.\u0275dir=t.lG2({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const QS=["top","bottom","left","right"];class y2{constructor(o,e,i,s,a=!0,r=!0,c){this._isNativeHtmlTable=o,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=s,this._isBrowser=a,this._needsPositionStickyOnElement=r,this._positionListener=c,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(o,e){const i=[];for(const s of o)if(s.nodeType===s.ELEMENT_NODE){i.push(s);for(let a=0;a{for(const s of i)this._removeStickyStyle(s,e)})}updateStickyColumns(o,e,i,s=!0){if(!o.length||!this._isBrowser||!e.some($=>$)&&!i.some($=>$))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const a=o[0],r=a.children.length,c=this._getCellWidths(a,s),u=this._getStickyStartColumnPositions(c,e),h=this._getStickyEndColumnPositions(c,i),g=e.lastIndexOf(!0),O=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const $="rtl"===this.direction,re=$?"right":"left",ye=$?"left":"right";for(const ve of o)for(let Le=0;Lee[Le]?ve:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===O?[]:c.slice(O).map((ve,Le)=>i[Le+O]?ve:null).reverse()}))})}stickRows(o,e,i){if(!this._isBrowser)return;const s="bottom"===i?o.slice().reverse():o,a="bottom"===i?e.slice().reverse():e,r=[],c=[],u=[];for(let g=0,O=0;g{var g,O;for(let $=0;${e.some(s=>!s)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(o,e){for(const s of e)o.style[s]="",o.classList.remove(this._borderCellCss[s]);QS.some(s=>-1===e.indexOf(s)&&o.style[s])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,e,i,s){o.classList.add(this._stickCellCss),s&&o.classList.add(this._borderCellCss[e]),o.style[e]=`${i}px`,o.style.zIndex=this._getCalculatedZIndex(o),this._needsPositionStickyOnElement&&(o.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(o){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const s of QS)o.style[s]&&(i+=e[s]);return i?`${i}`:""}_getCellWidths(o,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],s=o.children;for(let a=0;a0;a--)e[a]&&(i[a]=s,s+=o[a]);return i}}const Xv=new t.OlP("CDK_SPL");let Ay=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.s_b),t.Y36(t.SBq))},n.\u0275dir=t.lG2({type:n,selectors:[["","rowOutlet",""]]}),n})(),wy=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.s_b),t.Y36(t.SBq))},n.\u0275dir=t.lG2({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),My=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.s_b),t.Y36(t.SBq))},n.\u0275dir=t.lG2({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),vy=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.s_b),t.Y36(t.SBq))},n.\u0275dir=t.lG2({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),Ty=(()=>{class n{constructor(e,i,s,a,r,c,u,h,g,O,$,re){this._differs=e,this._changeDetectorRef=i,this._elementRef=s,this._dir=r,this._platform=u,this._viewRepeater=h,this._coalescedStyleScheduler=g,this._viewportRuler=O,this._stickyPositioningListener=$,this._ngZone=re,this._onDestroy=new xe.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new t.vpe,this.viewChange=new on({start:0,end:Number.MAX_VALUE}),a||this._elementRef.nativeElement.setAttribute("role","table"),this._document=c,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=qe(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=qe(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(et(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Sf(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(s,a,r)=>this._getEmbeddedViewArgs(s.item,r),s=>s.item.data,s=>{1===s.operation&&s.context&&this._renderCellTemplateForItem(s.record.item.rowDef,s.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(s=>{i.get(s.currentIndex).context.$implicit=s.item.data}),this._updateNoDataRow(),this._ngZone&&t.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,Zt.q)(1),et(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),s=this._elementRef.nativeElement.querySelector("thead");s&&(s.style.display=e.length?"":"none");const a=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,a,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),s=this._elementRef.nativeElement.querySelector("tfoot");s&&(s.style.display=e.length?"":"none");const a=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,a,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,a),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),s=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...s],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((a,r)=>{this._addStickyColumnStyles([a],this._headerRowDefs[r])}),this._rowDefs.forEach(a=>{const r=[];for(let c=0;c{this._addStickyColumnStyles([a],this._footerRowDefs[r])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_getAllRenderRows(){const e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let s=0;s{const c=s&&s.has(r)?s.get(r):[];if(c.length){const u=c.shift();return u.dataIndex=i,u}return{data:e,rowDef:r,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Cy(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Cy(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Cy(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Cy(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(r,c)=>r||!!c.getColumnsDiff(),i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();const s=this._headerRowDefs.reduce(e,!1);s&&this._forceRenderHeaderRows();const a=this._footerRowDefs.reduce(e,!1);return a&&this._forceRenderFooterRows(),i||s||a}_switchDataSource(e){this._data=[],Sf(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Sf(this.dataSource)?e=this.dataSource.connect(this):ks(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,Ge.of)(this.dataSource)),this._renderChangeSubscription=e.pipe(et(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){const s=Array.from(i.columns||[]).map(c=>this._columnDefsByName.get(c)),a=s.map(c=>c.sticky),r=s.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(e,a,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const i=[];for(let s=0;s!a.when||a.when(i,e));else{let a=this._rowDefs.find(r=>r.when&&r.when(i,e))||this._defaultRowDef;a&&s.push(a)}return s}_getEmbeddedViewArgs(e,i){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:i}}_renderRow(e,i,s,a={}){const r=e.viewContainer.createEmbeddedView(i.template,a,s);return this._renderCellTemplateForItem(i,a),r}_renderCellTemplateForItem(e,i){for(let s of this._getCellTemplates(e))Uc.mostRecentCellOutlet&&Uc.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let i=0,s=e.length;i{const s=this._columnDefsByName.get(i);return e.extractCellTemplate(s)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const s of i){const a=this._document.createElement(s.tag);a.setAttribute("role","rowgroup");for(const r of s.outlets)a.appendChild(r.elementRef.nativeElement);e.appendChild(a)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(i,s)=>i||s.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new y2(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,Ge.of)()).pipe(et(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const i=0===this._rowOutlet.viewContainer.length;if(i===this._isShowingNoDataRow)return;const s=this._noDataRowOutlet.viewContainer;if(i){const a=s.createEmbeddedView(e.templateRef),r=a.rootNodes[0];1===a.rootNodes.length&&(null==r?void 0:r.nodeType)===this._document.ELEMENT_NODE&&(r.setAttribute("role","row"),r.classList.add(e._contentClassName))}else s.clear();this._isShowingNoDataRow=i}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.ZZ4),t.Y36(t.sBO),t.Y36(t.SBq),t.$8M("role"),t.Y36(xn,8),t.Y36(_.K0),t.Y36(gi),t.Y36(tu),t.Y36(Vv),t.Y36(wa),t.Y36(Xv,12),t.Y36(t.R0b,8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,i,s){if(1&e&&(t.Suo(s,yy,5),t.Suo(s,Yc,5),t.Suo(s,by,5),t.Suo(s,_1,5),t.Suo(s,b1,5)),2&e){let a;t.iGM(a=t.CRH())&&(i._noDataRow=a.first),t.iGM(a=t.CRH())&&(i._contentColumnDefs=a),t.iGM(a=t.CRH())&&(i._contentRowDefs=a),t.iGM(a=t.CRH())&&(i._contentHeaderRowDefs=a),t.iGM(a=t.CRH())&&(i._contentFooterRowDefs=a)}},viewQuery:function(e,i){if(1&e&&(t.Gf(Ay,7),t.Gf(wy,7),t.Gf(My,7),t.Gf(vy,7)),2&e){let s;t.iGM(s=t.CRH())&&(i._rowOutlet=s.first),t.iGM(s=t.CRH())&&(i._headerRowOutlet=s.first),t.iGM(s=t.CRH())&&(i._footerRowOutlet=s.first),t.iGM(s=t.CRH())&&(i._noDataRowOutlet=s.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[t._Bn([{provide:Jf,useExisting:n},{provide:tu,useClass:y0},{provide:Vv,useClass:XS},{provide:Xv,useValue:null}])],ngContentSelectors:l2,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(t.F$t(c2),t.Hsn(0),t.Hsn(1,1),t.GkF(2,0),t.GkF(3,1),t.GkF(4,2),t.GkF(5,3))},directives:[wy,Ay,vy,My],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})();function Cy(n,o){return n.concat(Array.from(o))}let w2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[gc]]}),n})();const M2=[[["caption"]],[["colgroup"],["col"]]],v2=["caption","colgroup, col"];let Ur=(()=>{class n extends Ty{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("mat-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[t._Bn([{provide:tu,useClass:y0},{provide:Ty,useExisting:n},{provide:Jf,useExisting:n},{provide:Vv,useClass:XS},{provide:Xv,useValue:null}]),t.qOj],ngContentSelectors:v2,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(t.F$t(M2),t.Hsn(0),t.Hsn(1,1),t.GkF(2,0),t.GkF(3,1),t.GkF(4,2),t.GkF(5,3))},directives:[wy,Ay,vy,My],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})(),lr=(()=>{class n extends ep{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["","matCellDef",""]],features:[t._Bn([{provide:ep,useExisting:n}]),t.qOj]}),n})(),ur=(()=>{class n extends tp{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["","matHeaderCellDef",""]],features:[t._Bn([{provide:tp,useExisting:n}]),t.qOj]}),n})(),dr=(()=>{class n extends Yc{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[t._Bn([{provide:Yc,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),t.qOj]}),n})(),hr=(()=>{class n extends Uv{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[t.qOj]}),n})(),fr=(()=>{class n extends Gv{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[t.qOj]}),n})(),Gr=(()=>{class n extends _1{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[t._Bn([{provide:_1,useExisting:n}]),t.qOj]}),n})(),Vr=(()=>{class n extends by{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[t._Bn([{provide:by,useExisting:n}]),t.qOj]}),n})(),Wr=(()=>{class n extends Kv{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[t._Bn([{provide:Kv,useExisting:n}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&t.GkF(0,0)},directives:[Uc],encapsulation:2}),n})(),Kr=(()=>{class n extends $v{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[t._Bn([{provide:$v,useExisting:n}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&t.GkF(0,0)},directives:[Uc],encapsulation:2}),n})(),Sy=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[w2,ut],ut]}),n})();class Ha extends class P2 extends class Mb{}{constructor(o=[]){super(),this._renderData=new on([]),this._filter=new on(""),this._internalPageChanges=new xe.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,i)=>{const s=e[i];if(Mo(s)){const a=Number(s);return a<9007199254740991?a:s}return s},this.sortData=(e,i)=>{const s=i.active,a=i.direction;return s&&""!=a?e.sort((r,c)=>{let u=this.sortingDataAccessor(r,s),h=this.sortingDataAccessor(c,s);const g=typeof u,O=typeof h;g!==O&&("number"===g&&(u+=""),"number"===O&&(h+=""));let $=0;return null!=u&&null!=h?u>h?$=1:u{const s=Object.keys(e).reduce((r,c)=>r+e[c]+"\u25ec","").toLowerCase(),a=i.trim().toLowerCase();return-1!=s.indexOf(a)},this._data=new on(o),this._updateChangeSubscription()}get data(){return this._data.value}set data(o){o=Array.isArray(o)?o:[],this._data.next(o),this._renderChangesSubscription||this._filterData(o)}get filter(){return this._filter.value}set filter(o){this._filter.next(o),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(o){this._sort=o,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(o){this._paginator=o,this._updateChangeSubscription()}_updateChangeSubscription(){var o;const e=this._sort?(0,Oi.T)(this._sort.sortChange,this._sort.initialized):(0,Ge.of)(null),i=this._paginator?(0,Oi.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,Ge.of)(null),a=(0,Qr.aj)([this._data,this._filter]).pipe((0,ct.U)(([u])=>this._filterData(u))),r=(0,Qr.aj)([a,e]).pipe((0,ct.U)(([u])=>this._orderData(u))),c=(0,Qr.aj)([r,i]).pipe((0,ct.U)(([u])=>this._pageData(u)));null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=c.subscribe(u=>this._renderData.next(u))}_filterData(o){return this.filteredData=null==this.filter||""===this.filter?o:o.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(o){return this.sort?this.sortData(o.slice(),this.sort):o}_pageData(o){if(!this.paginator)return o;const e=this.paginator.pageIndex*this.paginator.pageSize;return o.slice(e,e+this.paginator.pageSize)}_updatePaginator(o){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=o,e.pageIndex>0)){const i=Math.ceil(e.length/e.pageSize)-1||0,s=Math.min(e.pageIndex,i);s!==e.pageIndex&&(e.pageIndex=s,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var o;null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=null}}{}function z2(n,o){1&n&&t._UZ(0,"mat-spinner",3)}function I2(n,o){1&n&&t._UZ(0,"th",15)}function N2(n,o){if(1&n&&(t.TgZ(0,"td",16),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.hij(" ",e.userExtSource.extSource.name," ")}}function H2(n,o){1&n&&t._UZ(0,"tr",17)}function B2(n,o){1&n&&t._UZ(0,"tr",18)}function F2(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",4),t.TgZ(2,"p"),t._uU(3),t.ALo(4,"translate"),t.ALo(5,"customTranslate"),t.qZA(),t.TgZ(6,"div",5),t._uU(7),t.ALo(8,"translate"),t.ALo(9,"customTranslate"),t.qZA(),t.TgZ(10,"table",6),t.ynx(11,7),t.YNc(12,I2,1,0,"th",8),t.YNc(13,N2,2,1,"td",9),t.BQk(),t.YNc(14,H2,1,0,"tr",10),t.YNc(15,B2,1,0,"tr",11),t.qZA(),t.qZA(),t.TgZ(16,"div",12),t.TgZ(17,"button",13),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(18),t.ALo(19,"translate"),t.ALo(20,"customTranslate"),t.qZA(),t.TgZ(21,"button",14),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSubmit()}),t._uU(22),t.ALo(23,"translate"),t.ALo(24,"customTranslate"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(3),t.hij(" ",t.lcZ(4,7,t.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),t.xp6(4),t.hij(" ",t.lcZ(8,11,t.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),t.xp6(3),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns),t.xp6(3),t.hij(" ",t.lcZ(19,15,t.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),t.xp6(4),t.hij(" ",t.lcZ(23,19,t.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let q2=(()=>{class n{constructor(e,i,s,a,r){this.dialogRef=e,this.data=i,this.usersManagerService=s,this.translate=a,this.notificator=r,this.force=!1,this.displayedColumns=["name"],a.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(c=>this.successMessage=c)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new Ha(this.data.extSources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.extSources.length?this.usersManagerService.removeUserExtSource(this.data.userId,this.data.extSources.pop().userExtSource.id,this.force).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):(this.loading=!1,this.data.showSuccess&&this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Rn),t.Y36(zi),t.Y36(ui),t.Y36(ao))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-remove-user-ext-source-dialog"]],decls:7,vars:10,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"div"),t.YNc(5,z2,1,0,"mat-spinner",1),t.YNc(6,F2,25,23,"div",2),t.qZA()),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,6,t.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE")),"\n"),t.xp6(3),t.Tol(i.theme),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[On,_.O5,In,Pn,Ur,dr,ur,hr,lr,fr,Gr,Wr,Vr,Kr,an,zt],pipes:[at,oi],styles:[""]}),n})();class j2{constructor(o,e){this._document=e;const i=this._textarea=this._document.createElement("textarea"),s=i.style;s.position="fixed",s.top=s.opacity="0",s.left="-999em",i.setAttribute("aria-hidden","true"),i.value=o,this._document.body.appendChild(i)}copy(){const o=this._textarea;let e=!1;try{if(o){const i=this._document.activeElement;o.select(),o.setSelectionRange(0,o.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch(i){}return e}destroy(){const o=this._textarea;o&&(o.remove(),this._textarea=void 0)}}let Y2=(()=>{class n{constructor(e){this._document=e}copy(e){const i=this.beginCopy(e),s=i.copy();return i.destroy(),s}beginCopy(e){return new j2(e,this._document)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const U2=new t.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let Qv=(()=>{class n{constructor(e,i,s){this._clipboard=e,this._ngZone=i,this.text="",this.attempts=1,this.copied=new t.vpe,this._pending=new Set,s&&null!=s.attempts&&(this.attempts=s.attempts)}copy(e=this.attempts){if(e>1){let i=e;const s=this._clipboard.beginCopy(this.text);this._pending.add(s);const a=()=>{const r=s.copy();r||!--i||this._destroyed?(this._currentTimeout=null,this._pending.delete(s),s.destroy(),this.copied.emit(r)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(a,1))};a()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Y2),t.Y36(t.R0b),t.Y36(U2,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,i){1&e&&t.NdJ("click",function(){return i.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),n})(),eE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({}),n})(),Ey=(()=>{class n{constructor(e,i){this.dialogRef=e,this.data=i}ngOnInit(){this.value=this.data.value,this.title=this.data.title}onCancel(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Rn))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-show-value-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","overflow-hidden"],["cdkTextareaAutosize","","matInput","","readonly","",1,"w-100","display-fix"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"cdkCopyToClipboard"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.qZA(),t.TgZ(2,"div",1),t.TgZ(3,"textarea",2),t._uU(4),t.qZA(),t.qZA(),t.TgZ(5,"div",3),t.TgZ(6,"button",4),t.NdJ("click",function(){return i.onCancel()}),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.TgZ(9,"button",5),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(i.title),t.xp6(3),t.Oqu(i.value),t.xp6(3),t.hij(" ",t.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),t.xp6(2),t.Q6J("cdkCopyToClipboard",i.value),t.xp6(1),t.hij(" ",t.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[On,Pn,my,zn,an,zt,Qv],pipes:[at],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),n})(),G2=(()=>{class n{constructor(e,i){this.dialogRef=e,this.data=i,this.attributeValue=""}ngOnInit(){this.attributeValue=this.data.attribute.value[this.data.index]}cancel(){this.dialogRef.close()}submit(){this.data.attribute.value[this.data.index]=this.attributeValue,this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Rn))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-list-edit-dialog"]],decls:13,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["cdkTextareaAutosize","true","matInput","",3,"ngModel","ngModelChange"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"h5",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",1),t.TgZ(4,"mat-form-field"),t.TgZ(5,"textarea",2),t.NdJ("ngModelChange",function(a){return i.attributeValue=a}),t.qZA(),t.qZA(),t.qZA(),t.TgZ(6,"div",3),t.TgZ(7,"button",4),t.NdJ("click",function(){return i.cancel()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t.NdJ("click",function(){return i.submit()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE"),"\n"),t.xp6(4),t.Q6J("ngModel",i.attributeValue),t.xp6(3),t.hij(" ",t.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),t.xp6(3),t.hij(" ",t.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[On,Pn,Pi,my,zn,ji,yn,oo,an,zt],pipes:[at],styles:[""]}),n})(),V2=(()=>{class n{constructor(e,i){this.dialogRef=e,this.data=i}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Rn))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-list-delete-dialog"]],decls:16,vars:13,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"mt-2","font-weight-bold"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"h5",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",1),t.TgZ(4,"div"),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"div",2),t._uU(8),t.qZA(),t.qZA(),t.TgZ(9,"div",3),t.TgZ(10,"button",4),t.NdJ("click",function(){return i.cancel()}),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.TgZ(13,"button",5),t.NdJ("click",function(){return i.submit()}),t._uU(14),t.ALo(15,"translate"),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE"),"\n"),t.xp6(4),t.hij(" ",t.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),t.xp6(3),t.hij(" ",i.data.name," "),t.xp6(3),t.hij(" ",t.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),t.xp6(3),t.hij(" ",t.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[On,Pn,an,zt],pipes:[at],styles:[""]}),n})();function W2(n,o){if(1&n&&(t.TgZ(0,"app-alert",9),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Oqu(e.pendingEmailsMessage)}}function K2(n,o){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let Z2=(()=>{class n{constructor(e,i,s,a,r,c){this.dialogRef=e,this.data=i,this.translate=s,this.notificator=a,this.usersManagerService=r,this.authService=c,this.pendingMails=[],s.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(u=>this.successMessage=u),s.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(u=>this.pendingEmailsMessageStart=u),s.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(u=>this.pendingEmailsMessageEnd=u)}ngOnInit(){this.emailControl=new fs(null,[Tn.required,Tn.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(e=>{this.pendingMails=e.filter((s,a,r)=>a===r.indexOf(s));let i="";this.pendingMails.forEach(s=>i+=`${s===this.pendingMails[0]?"":", "}${s}`),console.log(i),this.pendingEmailsMessage=this.pendingEmailsMessageStart+i+this.pendingEmailsMessageEnd})}onCancel(){this.dialogRef.close()}onSubmit(){const i=window.location.href.split("/");this.usersManagerService.requestPreferredEmailChange(this.data.userId,this.emailControl.value,this.translate.currentLang,"",i[0]+"//"+i[2],this.authService.getIdpFilter()).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Rn),t.Y36(ui),t.Y36(ao),t.Y36(zi),t.Y36(Ra))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-change-email-dialog"]],decls:21,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],["alert_type","warn",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["alert_type","warn"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"div",1),t.YNc(5,W2,2,1,"app-alert",2),t.TgZ(6,"mat-form-field",3),t.TgZ(7,"label",3),t._UZ(8,"input",4),t.ALo(9,"translate"),t.ALo(10,"customTranslate"),t.qZA(),t.YNc(11,K2,4,5,"mat-error",5),t.qZA(),t.qZA(),t.TgZ(12,"div",6),t.TgZ(13,"button",7),t.NdJ("click",function(){return i.onCancel()}),t._uU(14),t.ALo(15,"translate"),t.ALo(16,"customTranslate"),t.qZA(),t.TgZ(17,"button",8),t.NdJ("click",function(){return i.onSubmit()}),t._uU(18),t.ALo(19,"translate"),t.ALo(20,"customTranslate"),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,8,t.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),t.xp6(4),t.Q6J("ngIf",i.pendingMails.length),t.xp6(3),t.s9C("placeholder",t.lcZ(9,12,t.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),t.Q6J("formControl",i.emailControl),t.xp6(3),t.Q6J("ngIf",i.emailControl.invalid),t.xp6(3),t.hij(" ",t.lcZ(15,16,t.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),t.xp6(3),t.Q6J("disabled",!i.emailControl.valid),t.xp6(1),t.hij(" ",t.lcZ(19,20,t.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[On,Pn,_.O5,Zn,Pi,zn,ji,Ds,yn,ar,Oc,an,zt],pipes:[at,oi],styles:[""]}),n})(),sL=(()=>{class n{constructor(e,i){this.dialogRef=e,this.router=i}onClose(){this.router.navigate([]),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Mi))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-mail-change-failed-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["alert_type","error"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",1),t.TgZ(4,"app-alert",2),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA(),t.TgZ(7,"div",3),t.TgZ(8,"button",4),t.NdJ("click",function(){return i.onClose()}),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE"),"\n"),t.xp6(4),t.Oqu(t.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),t.xp6(4),t.hij(" ",t.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[On,Pn,Zn,an,zt],pipes:[at],styles:[""]}),n})();function oL(n,o){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function rL(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"form",5),t.TgZ(1,"div",6),t.TgZ(2,"mat-form-field"),t.TgZ(3,"mat-label"),t._uU(4),t.ALo(5,"translate"),t.qZA(),t._UZ(6,"input",7),t.TgZ(7,"mat-icon",8),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return s.showOldPassword=!s.showOldPassword}),t._uU(8),t.qZA(),t.YNc(9,oL,3,3,"mat-error",9),t.qZA(),t._UZ(10,"perun-web-apps-password-form",10),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("formGroup",e.formGroup),t.xp6(4),t.Oqu(t.lcZ(5,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.OLD_PASSWORD")),t.xp6(2),t.Q6J("type",e.showOldPassword?"text":"password"),t.xp6(2),t.hij(" ",e.showOldPassword?"visibility_off":"visibility"," "),t.xp6(1),t.Q6J("ngIf",e.oldPwd.hasError("required")),t.xp6(1),t.Q6J("formGroup",e.formGroup)("namespace",e.data.namespace)}}function aL(n,o){1&n&&t._UZ(0,"mat-spinner",11)}function cL(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",12),t.TgZ(1,"div",13),t.TgZ(2,"button",14),t.NdJ("click",function(){return t.CHM(e),t.oxw().close()}),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"button",15),t.NdJ("click",function(){return t.CHM(e),t.oxw().changePassword()}),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(3),t.hij(" ",t.lcZ(4,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CANCEL")," "),t.xp6(2),t.Q6J("disabled",e.formGroup.invalid||e.formGroup.pending),t.xp6(1),t.hij(" ",t.lcZ(7,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CHANGE")," ")}}let lL=(()=>{class n{constructor(e,i,s,a,r,c,u){this.dialogRef=e,this.data=i,this._formBuilder=s,this.usersManagerService=a,this.apiRequestConfiguration=r,this.notificator=c,this.translate=u,this.showOldPassword=!1,u.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(h=>this.successMessage=h)}ngOnInit(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",Tn.required],passwordCtrl:["",Tn.required,[vx(this.data.namespace,this.usersManagerService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""]},{validators:bx.passwordMatchValidator}),this.oldPwd=this.formGroup.get("oldPasswordCtrl"),this.newPwd=this.formGroup.get("passwordCtrl"),this.newPwdAgain=this.formGroup.get("passwordAgainCtrl")}close(){this.dialogRef.close(!1)}changePassword(){this.loading=!0,this.usersManagerService.changePasswordForLogin(this.data.login,this.data.namespace,this.newPwd.value,this.oldPwd.value,!0).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Rn),t.Y36(rS),t.Y36(zi),t.Y36(py),t.Y36(ao),t.Y36(ui))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-change-password-dialog"]],decls:7,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],[3,"formGroup",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[3,"formGroup"],[1,"display-flex"],["formControlName","oldPasswordCtrl","matInput","","required","",3,"type"],["matSuffix","",3,"click"],[4,"ngIf"],[3,"formGroup","namespace"],[1,"ml-auto","mr-auto"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",1),t.YNc(4,rL,11,9,"form",2),t.YNc(5,aL,1,0,"mat-spinner",3),t.qZA(),t.YNc(6,cL,8,7,"div",4)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.TITLE")),t.xp6(3),t.Q6J("ngIf",!i.loading),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[On,Pn,_.O5,za,kf,Nc,Pi,rr,ji,zn,yn,Bf,Ds,An,Cf,Oc,Kx,In,an,zt],pipes:[at],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}"]}),n})();const uL=["input"],dL=function(n){return{enterDuration:n}},hL=["*"],fL=new t.OlP("mat-radio-default-options",{providedIn:"root",factory:function pL(){return{color:"accent"}}});let iE=0;const gL={provide:is,useExisting:(0,t.Gpc)(()=>oE),multi:!0};class nE{constructor(o,e){this.source=o,this.value=e}}const sE=new t.OlP("MatRadioGroup");let mL=(()=>{class n{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+iE++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new t.vpe}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=qe(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=qe(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new nE(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.sBO))},n.\u0275dir=t.lG2({type:n,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),n})(),oE=(()=>{class n extends mL{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["mat-radio-group"]],contentQueries:function(e,i,s){if(1&e&&t.Suo(s,rE,5),2&e){let a;t.iGM(a=t.CRH())&&(i._radios=a)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[t._Bn([gL,{provide:sE,useExisting:n}]),t.qOj]}),n})();class _L{constructor(o){this._elementRef=o}}const bL=no(Ec(_L));let yL=(()=>{class n extends bL{constructor(e,i,s,a,r,c,u,h){super(i),this._changeDetector=s,this._focusMonitor=a,this._radioDispatcher=r,this._providerOverride=u,this._uniqueId="mat-radio-"+ ++iE,this.id=this._uniqueId,this.change=new t.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===c,h&&(this.tabIndex=Vi(h,0)),this._removeUniqueSelectionListener=r.listen((g,O)=>{g!==this.id&&O===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const i=qe(e);this._checked!==i&&(this._checked=i,i&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!i&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),i&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(qe(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=qe(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new nE(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}}return n.\u0275fac=function(e){t.$Z()},n.\u0275dir=t.lG2({type:n,viewQuery:function(e,i){if(1&e&&t.Gf(uL,5),2&e){let s;t.iGM(s=t.CRH())&&(i._inputElement=s.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[t.qOj]}),n})(),rE=(()=>{class n extends yL{constructor(e,i,s,a,r,c,u,h){super(e,i,s,a,r,c,u,h)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(sE,8),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(eo),t.Y36(Ef),t.Y36(Vn,8),t.Y36(fL,8),t.$8M("tabindex"))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,i){1&e&&t.NdJ("focus",function(){return i._inputElement.nativeElement.focus()}),2&e&&(t.uIk("tabindex",null)("id",i.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),t.ekj("mat-radio-checked",i.checked)("mat-radio-disabled",i.disabled)("_mat-animation-noopable",i._noopAnimations)("mat-primary","primary"===i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[t.qOj],ngContentSelectors:hL,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,i){if(1&e&&(t.F$t(),t.TgZ(0,"label",0,1),t.TgZ(2,"span",2),t._UZ(3,"span",3),t._UZ(4,"span",4),t.TgZ(5,"input",5,6),t.NdJ("change",function(a){return i._onInputInteraction(a)})("click",function(a){return i._onInputClick(a)}),t.qZA(),t.TgZ(7,"span",7),t._UZ(8,"span",8),t.qZA(),t.qZA(),t.TgZ(9,"span",9),t.TgZ(10,"span",10),t._uU(11,"\xa0"),t.qZA(),t.Hsn(12),t.qZA(),t.qZA()),2&e){const s=t.MAs(1);t.uIk("for",i.inputId),t.xp6(5),t.Q6J("id",i.inputId)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex)("required",i.required),t.uIk("name",i.name)("value",i.value)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),t.xp6(2),t.Q6J("matRippleTrigger",s)("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",t.VKq(18,dL,i._noopAnimations?0:150)),t.xp6(2),t.ekj("mat-radio-label-before","before"==i.labelPosition)}},directives:[ts],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),n})(),aE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ds,ut],ut]}),n})();function AL(n,o){1&n&&t._UZ(0,"mat-spinner",4)}function wL(n,o){1&n&&(t.TgZ(0,"span",11),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function ML(n,o){1&n&&(t.TgZ(0,"span",11),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function vL(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-radio-group",12),t.NdJ("ngModelChange",function(s){return t.CHM(e),t.oxw(2).asyncValidation=s}),t.TgZ(1,"span",13),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"mat-radio-button",14),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"mat-radio-button",14),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J("ngModel",e.asyncValidation),t.xp6(2),t.hij(" ",t.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE")," : "),t.xp6(2),t.Q6J("value",!1),t.xp6(1),t.hij(" ",t.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),t.xp6(2),t.Q6J("value",!0),t.xp6(1),t.hij(" ",t.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function TL(n,o){1&n&&(t.TgZ(0,"span",11),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function CL(n,o){1&n&&(t.TgZ(0,"span",11),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function SL(n,o){if(1&n&&(t.TgZ(0,"div",5),t.TgZ(1,"p",6),t._uU(2),t.TgZ(3,"span",7),t._uU(4),t.qZA(),t._uU(5),t.TgZ(6,"span",7),t._uU(7),t.qZA(),t.qZA(),t.TgZ(8,"p"),t.TgZ(9,"strong",8),t._uU(10),t.ALo(11,"translate"),t.qZA(),t._uU(12),t.qZA(),t.TgZ(13,"p"),t.TgZ(14,"strong",8),t._uU(15),t.ALo(16,"translate"),t.qZA(),t._uU(17),t.qZA(),t.YNc(18,wL,3,3,"span",9),t.YNc(19,ML,3,3,"span",9),t.YNc(20,vL,10,12,"mat-radio-group",10),t.YNc(21,TL,3,3,"span",9),t.YNc(22,CL,3,3,"span",9),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.hij(" ",e.group.name," "),t.xp6(2),t.hij("#",e.group.id,""),t.xp6(1),t.hij(" - ",e.resource.name," "),t.xp6(2),t.hij("#",e.resource.id,""),t.xp6(3),t.hij(" ",t.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT")," : "),t.xp6(2),t.hij(" ",e.status," "),t.xp6(3),t.hij(" ",t.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW")," : "),t.xp6(2),t.hij(" ",e.getReversedStatus()," "),t.xp6(1),t.Q6J("ngIf","INACTIVE"===e.status||"FAILED"===e.status),t.xp6(1),t.Q6J("ngIf","ACTIVE"===e.status),t.xp6(1),t.Q6J("ngIf","INACTIVE"===e.status||"FAILED"===e.status),t.xp6(1),t.Q6J("ngIf",("INACTIVE"===e.status||"FAILED"===e.status)&&!1===e.asyncValidation),t.xp6(1),t.Q6J("ngIf",("INACTIVE"===e.status||"FAILED"===e.status)&&!0===e.asyncValidation)}}function EL(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",15),t.TgZ(1,"button",16),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"button",17),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSubmit()}),t._uU(5),t.ALo(6,"translate"),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),t.xp6(2),t.Q6J("disabled",e.loading),t.xp6(1),t.hij(" ",t.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG."+("ACTIVE"===e.status?"DEACTIVATE":"ACTIVATE"))," ")}}let kL=(()=>{class n{constructor(e,i,s,a){this.dialogRef=e,this.data=i,this.resourceService=s,this.groupService=a,this.loading=!1,this.asyncValidation=!1,this.resource=null,this.group=null}ngOnInit(){this.loading=!0,this.status=this.data.status,this.theme=this.data.theme,this.resourceService.getResourceById(this.data.resourceId).subscribe(e=>{this.resource=e,this.groupService.getGroupById(this.data.groupId).subscribe(i=>{this.group=i,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,"ACTIVE"===this.status?this.resourceService.deactivateGroupResourceAssignment(this.data.groupId,this.data.resourceId).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1):this.resourceService.activateGroupResourceAssignment(this.data.groupId,this.data.resourceId,this.asyncValidation).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}getReversedStatus(){return"ACTIVE"===this.status?"INACTIVE":"ACTIVE"}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Rn),t.Y36(hi),t.Y36(xi))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-change-group-resource-assigment-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"mb-4"],[1,"text-muted","id-font"],[1,"mr-2"],["class","text-muted",4,"ngIf"],["class","d-flex flex-column mt-3",3,"ngModel","ngModelChange",4,"ngIf"],[1,"text-muted"],[1,"d-flex","flex-column","mt-3",3,"ngModel","ngModelChange"],[1,"font-weight-bold"],[3,"value"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["mat-flat-button","","color","accent",3,"disabled","click"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"h1",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.YNc(4,AL,1,0,"mat-spinner",1),t.YNc(5,SL,23,17,"div",2),t.YNc(6,EL,7,7,"div",3),t.qZA()),2&e&&(t.Tol(i.theme),t.xp6(2),t.hij(" ",t.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")," "),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[On,_.O5,In,Pn,oE,yn,oo,rE,an,zt],pipes:[at],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),n})();function DL(n,o){if(1&n&&(t.TgZ(0,"div",5),t.TgZ(1,"mat-icon"),t._uU(2),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.Oqu(e.data.icon)}}function xL(n,o){if(1&n&&(t.TgZ(0,"div",6),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.hij(" ",e.showTimestamp()," ")}}let LL=(()=>{class n{constructor(e,i){this.dialog=e,this.notificationStorageService=i,this.newNotification=!1,this.closeNotification=new t.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}doAction(){if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{const e=Hi();e.width="550px",e.data=this.data,e.autoFocus=!1,this.dialog.open(a2,e).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function tx(n,o){return(0,JD.mG)(this,void 0,void 0,function*(){yield function ix(n){return new Promise(o=>setTimeout(o,n))}(n),o()})}(this.data.delay,()=>{!this.alreadyClosed&&!this.waiting&&this.closeSelf()})}showTimestamp(){const[e,i]=this.data.timeStamp.split(":");return i.length<2?e+":0"+i:this.data.timeStamp}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Zi),t.Y36(jS))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-notification"]],inputs:{data:"data",inDialog:"inDialog",newNotification:"newNotification"},outputs:{closeNotification:"closeNotification"},decls:9,vars:14,consts:[[1,"notification-container",3,"click"],["class","notification-icon",4,"ngIf"],[1,"notification-text","clickable"],["class","ml-auto mr-5 mt-auto mb-auto",4,"ngIf"],[1,"notification-action","mt-auto","mb-auto",3,"hidden","click"],[1,"notification-icon"],[1,"ml-auto","mr-5","mt-auto","mb-auto"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"div",0),t.NdJ("click",function(){return i.alreadyClosed||i.waiting?"":i.closeSelf()}),t.YNc(2,DL,3,1,"div",1),t.TgZ(3,"div",2),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.YNc(6,xL,2,1,"div",3),t.TgZ(7,"div",4),t.NdJ("click",function(){return i.waiting=!0,i.doAction()}),t._uU(8),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Gre("notification ",i.inDialog?"":"mat-elevation-z7",""),t.ekj("error","error"===i.data.type)("success","success"===i.data.type),t.xp6(2),t.Q6J("ngIf",null!==i.data.icon),t.xp6(2),t.hij(" ",t.lcZ(5,12,i.data.title)," "),t.xp6(2),t.Q6J("ngIf",i.inDialog),t.xp6(1),t.Q6J("hidden",i.alreadyPressed),t.xp6(1),t.hij(" ",i.data.actionText," "))},directives:[_.O5,An],pipes:[at],styles:[".notification[_ngcontent-%COMP%]{width:450px;margin-bottom:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff}.notification-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;padding:16px}.notification-text[_ngcontent-%COMP%]{font-size:1.1em}.notification-action[_ngcontent-%COMP%]{margin-left:auto;text-decoration:underline;cursor:pointer}@media (max-width: 768px){.notification[_ngcontent-%COMP%]{width:100%}}.notification.error[_ngcontent-%COMP%]{background-color:#d32f2f}.notification.success[_ngcontent-%COMP%]{background-color:#288619}.notification-icon[_ngcontent-%COMP%]{padding-right:8px;color:#fff}"]}),n})();function RL(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"perun-web-apps-notification",2),t.NdJ("closeNotification",function(){const a=t.CHM(e).index;return t.oxw().removeNotification(a)}),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit;t.Q6J("@flyInOut",void 0),t.xp6(1),t.Q6J("data",e)("newNotification",!0)}}const OL=function(n){return{top:n}};let PL=(()=>{class n{constructor(e,i){this.notificator=e,this.notificationStorageService=i,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(s=>{this.processNotification(s)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(e){this.notifications.splice(e,1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ao),t.Y36(jS))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,i){1&e&&t.NdJ("resize",function(a){return i.getScreenSize(a)},!1,t.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,RL,2,3,"div",1),t.qZA()),2&e&&(t.Q6J("ngStyle",t.VKq(2,OL,i.getNotificatorTop())),t.xp6(1),t.Q6J("ngForOf",i.notifications))},directives:[_.PC,_.sg,LL],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width: 768px){#notificator[_ngcontent-%COMP%]{width:100%;top:auto;top:initial;bottom:0}}"],data:{animation:[wx]}}),n})();const zL=["*",[["mat-toolbar-row"]]],IL=["*","mat-toolbar-row"],NL=La(class{constructor(n){this._elementRef=n}});let HL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),BL=(()=>{class n extends NL{constructor(e,i,s){super(e),this._platform=i,this._document=s}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(gi),t.Y36(_.K0))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,i,s){if(1&e&&t.Suo(s,HL,5),2&e){let a;t.iGM(a=t.CRH())&&(i._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,i){2&e&&t.ekj("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[t.qOj],ngContentSelectors:IL,decls:2,vars:0,template:function(e,i){1&e&&(t.F$t(zL),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%}\n"],encapsulation:2,changeDetection:0}),n})(),Jv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ut],ut]}),n})();function cE(n){for(let o in n){let e=n[o]||"";switch(o){case"display":n.display="flex"===e?["-webkit-flex","flex"]:"inline-flex"===e?["-webkit-inline-flex","inline-flex"]:e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":n["-webkit-"+o]=e;break;case"flex-direction":e=e||"row",n["-webkit-flex-direction"]=e,n["flex-direction"]=e;break;case"order":n.order=n["-webkit-"+o]=isNaN(+e)?"0":e}}return n}const eT="inline",ky=["row","column","row-reverse","column-reverse"];function lE(n){let[o,e,i]=function uE(n){var o;n=null!==(o=null==n?void 0:n.toLowerCase())&&void 0!==o?o:"";let[e,i,s]=n.split(" ");return ky.find(a=>a===e)||(e=ky[0]),i===eT&&(i=s!==eT?s:"",s=eT),[e,FL(i),!!s]}(n);return function qL(n,o=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":o||null}}(o,e,i)}function FL(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap"}return n}const YL={provide:t.tb,useFactory:function jL(n,o){return()=>{if((0,_.NF)(o)){const e=Array.from(n.querySelectorAll(`[class*=${dE}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(s=>{s.classList.contains(`${dE}ssr`)&&s.parentNode?s.parentNode.removeChild(s):s.className.replace(i,"")})}}},deps:[_.K0,t.Lbi],multi:!0},dE="flex-layout-";let tT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[YL]}),n})();class Gd{constructor(o=!1,e="all",i="",s="",a=0){this.matches=o,this.mediaQuery=e,this.mqAlias=i,this.suffix=s,this.priority=a,this.property=""}clone(){return new Gd(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let UL=(()=>{class n{constructor(){this.stylesheet=new Map}addStyleToElement(e,i,s){const a=this.stylesheet.get(e);a?a.set(i,s):this.stylesheet.set(e,new Map([[i,s]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,i){const s=this.stylesheet.get(e);let a="";if(s){const r=s.get(i);("number"==typeof r||"string"==typeof r)&&(a=r+"")}return a}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const iT={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Zr=new t.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>iT}),ip=new t.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),nT=new t.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function hE(n,o){return n=n?n.clone():new Gd,o&&(n.mqAlias=o.alias,n.mediaQuery=o.mediaQuery,n.suffix=o.suffix,n.priority=o.priority),n}class wn{constructor(){this.shouldCache=!0}sideEffect(o,e,i){}}let $i=(()=>{class n{constructor(e,i,s,a){this._serverStylesheet=e,this._serverModuleLoaded=i,this._platformId=s,this.layoutConfig=a}applyStyleToElement(e,i,s=null){let a={};"string"==typeof i&&(a[i]=s,i=a),a=this.layoutConfig.disableVendorPrefixes?i:cE(i),this._applyMultiValueStyleToElement(a,e)}applyStyleToElements(e,i=[]){const s=this.layoutConfig.disableVendorPrefixes?e:cE(e);i.forEach(a=>{this._applyMultiValueStyleToElement(s,a)})}getFlowDirection(e){const i="flex-direction";let s=this.lookupStyle(e,i);return[s||"row",this.lookupInlineStyle(e,i)||(0,_.PM)(this._platformId)&&this._serverModuleLoaded?s:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,i){var s;return null!==(s=e.getAttribute(i))&&void 0!==s?s:""}lookupInlineStyle(e,i){return(0,_.NF)(this._platformId)?e.style.getPropertyValue(i):function GL(n,o){var e;return null!==(e=fE(n)[o])&&void 0!==e?e:""}(e,i)}lookupStyle(e,i,s=!1){let a="";return e&&((a=this.lookupInlineStyle(e,i))||((0,_.NF)(this._platformId)?s||(a=getComputedStyle(e).getPropertyValue(i)):this._serverModuleLoaded&&(a=this._serverStylesheet.getStyleForElement(e,i)))),a?a.trim():""}_applyMultiValueStyleToElement(e,i){Object.keys(e).sort().forEach(s=>{const a=e[s],r=Array.isArray(a)?a:[a];r.sort();for(let c of r)c=c?c+"":"",(0,_.NF)(this._platformId)||!this._serverModuleLoaded?(0,_.NF)(this._platformId)?i.style.setProperty(s,c):VL(i,s,c):this._serverStylesheet.addStyleToElement(i,s,c)})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(UL),t.LFG(ip),t.LFG(t.Lbi),t.LFG(Zr))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function VL(n,o,e){o=o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const i=fE(n);i[o]=null!=e?e:"",function WL(n,o){let e="";for(const i in o)o[i]&&(e+=`${i}:${o[i]};`);n.setAttribute("style",e)}(n,i)}function fE(n){const o={},e=n.getAttribute("style");if(e){const i=e.split(/;+/g);for(let s=0;s0){const r=a.indexOf(":");if(-1===r)throw new Error(`Invalid CSS style: ${a}`);o[a.substr(0,r).trim()]=a.substr(r+1).trim()}}}return o}function A1(n,o){return(o&&o.priority||0)-(n&&n.priority||0)}function KL(n,o){return(n.priority||0)-(o.priority||0)}let sT=(()=>{class n{constructor(e,i,s){this._zone=e,this._platformId=i,this._document=s,this.source=new on(new Gd(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((i,s)=>{i.matches&&e.push(s)}),e}isActive(e){var i;const s=this.registry.get(e);return null!==(i=null==s?void 0:s.matches)&&void 0!==i?i:this.registerQuery(e).some(a=>a.matches)}observe(e,i=!1){if(e&&e.length){const s=this._observable$.pipe((0,Ht.h)(r=>!i||e.indexOf(r.mediaQuery)>-1)),a=new Ji.y(r=>{const c=this.registerQuery(e);if(c.length){const u=c.pop();c.forEach(h=>{r.next(h)}),this.source.next(u)}r.complete()});return(0,Oi.T)(a,s)}return this._observable$}registerQuery(e){const i=Array.isArray(e)?e:[e],s=[];return function ZL(n,o){const e=n.filter(i=>!pE[i]);if(e.length>0){const i=e.join(", ");try{const s=o.createElement("style");s.setAttribute("type","text/css"),s.styleSheet||s.appendChild(o.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${i} {.fx-query-test{ }}\n`)),o.head.appendChild(s),e.forEach(a=>pE[a]=s)}catch(s){console.error(s)}}}(i,this._document),i.forEach(a=>{const r=u=>{this._zone.run(()=>this.source.next(new Gd(u.matches,a)))};let c=this.registry.get(a);c||(c=this.buildMQL(a),c.addListener(r),this.pendingRemoveListenerFns.push(()=>c.removeListener(r)),this.registry.set(a,c)),c.matches&&s.push(new Gd(!0,a))}),s}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function $L(n,o){return o&&window.matchMedia("all").addListener?window.matchMedia(n):{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,(0,_.NF)(this._platformId))}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(t.R0b),t.LFG(t.Lbi),t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const pE={},XL=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],gE="(orientation: portrait) and (max-width: 599.98px)",mE="(orientation: landscape) and (max-width: 959.98px)",_E="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",bE="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",yE="(orientation: portrait) and (min-width: 840px)",AE="(orientation: landscape) and (min-width: 1280px)",Vc={HANDSET:`${gE}, ${mE}`,TABLET:`${_E} , ${bE}`,WEB:`${yE}, ${AE} `,HANDSET_PORTRAIT:`${gE}`,TABLET_PORTRAIT:`${_E} `,WEB_PORTRAIT:`${yE}`,HANDSET_LANDSCAPE:`${mE}`,TABLET_LANDSCAPE:`${bE}`,WEB_LANDSCAPE:`${AE}`},QL=[{alias:"handset",priority:2e3,mediaQuery:Vc.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Vc.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Vc.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Vc.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Vc.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Vc.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Vc.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Vc.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Vc.WEB_PORTRAIT,overlapping:!0}],JL=/(\.|-|_)/g;function eR(n){let o=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return o.toUpperCase()+e}const sR=new t.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const n=(0,t.f3M)(nT),o=(0,t.f3M)(Zr),e=[].concat.apply([],(n||[]).map(s=>Array.isArray(s)?s:[s]));return function nR(n,o=[]){const e={};return n.forEach(i=>{e[i.alias]=i}),o.forEach(i=>{e[i.alias]?function Gc(n,...o){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of o)if(null!=e)for(let i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);return n}(e[i.alias],i):e[i.alias]=i}),function iR(n){return n.forEach(o=>{o.suffix||(o.suffix=function tR(n){return n.replace(JL,"|").split("|").map(eR).join("")}(o.alias),o.overlapping=!!o.overlapping)}),n}(Object.keys(e).map(i=>e[i]))}((o.disableDefaultBps?[]:XL).concat(o.addOrientationBps?QL:[]),e)}});let oT=(()=>{class n{constructor(e){this.findByMap=new Map,this.items=[...e].sort(KL)}findByAlias(e){return e?this.findWithPredicate(e,i=>i.alias===e):null}findByQuery(e){return this.findWithPredicate(e,i=>i.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>{var i;return null!==(i=null==e?void 0:e.suffix)&&void 0!==i?i:""})}findWithPredicate(e,i){var s;let a=this.findByMap.get(e);return a||(a=null!==(s=this.items.find(i))&&void 0!==s?s:null,this.findByMap.set(e,a)),null!=a?a:null}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(sR))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const np="print",oR={alias:np,mediaQuery:np,priority:1e3};let rR=(()=>{class n{constructor(e,i,s){this.breakpoints=e,this.layoutConfig=i,this._document=s,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new aR,this.deactivations=[]}withPrintQuery(e){return[...e,np]}isPrintEvent(e){return e.mediaQuery.startsWith(np)}get printAlias(){var e;return[...null!==(e=this.layoutConfig.printWithBreakpoints)&&void 0!==e?e:[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const i=this.breakpoints.findByQuery(e);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(A1)}updateEvent(e){var i;let s=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(s=this.getEventBreakpoints(e)[0],e.mediaQuery=null!==(i=null==s?void 0:s.mediaQuery)&&void 0!==i?i:""),hE(e,s)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Gd(!0,np))),e.updateStyles())},s=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",s),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(s)}interceptEvents(e){return i=>{this.isPrintEvent(i)?i.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(i)),e.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles()):this.collectActivations(e,i)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,i){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,i){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!i.matches){const s=this.breakpoints.findByQuery(i.mediaQuery);if(s){const a=this.formerActivations&&this.formerActivations.includes(s),r=!this.formerActivations&&e.activatedBreakpoints.includes(s);(a||r)&&(this.deactivations.push(s),this.deactivations.sort(A1))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(oT),t.LFG(Zr),t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class aR{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(o){return o.push(oR),o.sort(A1),o.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(o){o&&void 0===this.printBreakpoints.find(i=>i.mediaQuery===o.mediaQuery)&&(this.printBreakpoints=function cR(n){var o;return null!==(o=null==n?void 0:n.mediaQuery.startsWith(np))&&void 0!==o&&o}(o)?[o,...this.printBreakpoints]:[...this.printBreakpoints,o])}clear(){this.printBreakpoints=[]}}let nn=(()=>{class n{constructor(e,i,s){this.matchMedia=e,this.breakpoints=i,this.hook=s,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new xe.xQ,this.observeActivations()}get activatedAlias(){var e,i;return null!==(i=null===(e=this.activatedBreakpoints[0])||void 0===e?void 0:e.alias)&&void 0!==i?i:""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}onMediaChange(e){const i=this.findByQuery(e.mediaQuery);if(i){e=hE(e,i);const s=this.activatedBreakpoints.indexOf(i);e.matches&&-1===s?(this._activatedBreakpoints.push(i),this._activatedBreakpoints.sort(A1),this.updateStyles()):!e.matches&&-1!==s&&(this._activatedBreakpoints.splice(s,1),this._activatedBreakpoints.sort(A1),this.updateStyles())}}init(e,i,s,a,r=[]){wE(this.updateMap,e,i,s),wE(this.clearMap,e,i,a),this.buildElementKeyMap(e,i),this.watchExtraTriggers(e,i,r)}getValue(e,i,s){const a=this.elementMap.get(e);if(a){const r=void 0!==s?a.get(s):this.getActivatedValues(a,i);if(r)return r.get(i)}}hasValue(e,i){const s=this.elementMap.get(e);if(s){const a=this.getActivatedValues(s,i);if(a)return void 0!==a.get(i)||!1}return!1}setValue(e,i,s,a){var r;let c=this.elementMap.get(e);if(c){const h=(null!==(r=c.get(a))&&void 0!==r?r:new Map).set(i,s);c.set(a,h),this.elementMap.set(e,c)}else c=(new Map).set(a,(new Map).set(i,s)),this.elementMap.set(e,c);const u=this.getValue(e,i);void 0!==u&&this.updateElement(e,i,u)}trackValue(e,i){return this.subject.asObservable().pipe((0,Ht.h)(s=>s.element===e&&s.key===i))}updateStyles(){this.elementMap.forEach((e,i)=>{const s=new Set(this.elementKeyMap.get(i));let a=this.getActivatedValues(e);a&&a.forEach((r,c)=>{this.updateElement(i,c,r),s.delete(c)}),s.forEach(r=>{if(a=this.getActivatedValues(e,r),a){const c=a.get(r);this.updateElement(i,r,c)}else this.clearElement(i,r)})})}clearElement(e,i){const s=this.clearMap.get(e);if(s){const a=s.get(i);a&&(a(),this.subject.next({element:e,key:i,value:""}))}}updateElement(e,i,s){const a=this.updateMap.get(e);if(a){const r=a.get(i);r&&(r(s),this.subject.next({element:e,key:i,value:s}))}}releaseElement(e){const i=this.watcherMap.get(e);i&&(i.forEach(a=>a.unsubscribe()),this.watcherMap.delete(e));const s=this.elementMap.get(e);s&&(s.forEach((a,r)=>s.delete(r)),this.elementMap.delete(e))}triggerUpdate(e,i){const s=this.elementMap.get(e);if(s){const a=this.getActivatedValues(s,i);a&&(i?this.updateElement(e,i,a.get(i)):a.forEach((r,c)=>this.updateElement(e,c,r)))}}buildElementKeyMap(e,i){let s=this.elementKeyMap.get(e);s||(s=new Set,this.elementKeyMap.set(e,s)),s.add(i)}watchExtraTriggers(e,i,s){if(s&&s.length){let a=this.watcherMap.get(e);if(a||(a=new Map,this.watcherMap.set(e,a)),!a.get(i)){const c=(0,Oi.T)(...s).subscribe(()=>{const u=this.getValue(e,i);this.updateElement(e,i,u)});a.set(i,c)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,i){for(let a=0;ai.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe((0,U.b)(this.hook.interceptEvents(this)),(0,Ht.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(sT),t.LFG(oT),t.LFG(rR))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function wE(n,o,e,i){var s;if(void 0!==i){const a=null!==(s=n.get(o))&&void 0!==s?s:new Map;a.set(e,i),n.set(o,a)}}let cn=(()=>{class n{constructor(e,i,s,a){this.elementRef=e,this.styleBuilder=i,this.styler=s,this.marshal=a,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new xe.xQ,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(i=>{if(-1!==this.inputs.indexOf(i)){const s=i.split(".").slice(1).join(".");this.setValue(e[i].currentValue,s)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,i){const s=this.styleBuilder,a=s.shouldCache;let r=this.styleCache.get(e);(!r||!a)&&(r=s.buildStyles(e,i),a&&this.styleCache.set(e,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),s.sideEffect(e,r,i)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,i=!1){if(e){const[s,a]=this.styler.getFlowDirection(e);if(!a&&i){const r=lE(s);this.styler.applyStyleToElements(r,[e])}return s.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,i,s=this.nativeElement){this.styler.applyStyleToElement(s,e,i)}setValue(e,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,i)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(wn),t.Y36($i),t.Y36(nn))},n.\u0275dir=t.lG2({type:n,features:[t.TTD]}),n})();class vR{constructor(o,e,i=!0){this.key=o,this.value=e,this.key=i?o.replace(/['"]/g,"").trim():o.trim(),this.value=i?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function CE(n){let o=typeof n;return"object"===o?n.constructor===Array?"array":n.constructor===Set?"set":"object":o}function EE(n){const[o,...e]=n.split(":");return new vR(o,e.join(":"))}function kE(n,o){return o.key&&(n[o.key]=o.value),n}let SR=(()=>{class n extends cn{constructor(e,i,s,a,r,c,u,h,g){var O;super(e,null,i,s),this.sanitizer=a,this.ngStyleInstance=u,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new _.PC(e,r,c)),this.init();const $=null!==(O=this.nativeElement.getAttribute("style"))&&void 0!==O?O:"";this.fallbackStyles=this.buildStyleMap($),this.isServer=h&&(0,_.PM)(g)}updateWithValue(e){const i=this.buildStyleMap(e);this.ngStyleInstance.ngStyle=Object.assign(Object.assign({},this.fallbackStyles),i),this.isServer&&this.applyStyleToElement(i),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(e){const i=s=>{var a;return null!==(a=this.sanitizer.sanitize(t.q3G.STYLE,s))&&void 0!==a?a:""};if(e)switch(CE(e)){case"string":return DE(function TR(n,o=";"){return String(n).trim().split(o).map(e=>e.trim()).filter(e=>""!==e)}(e),i);case"array":return DE(e,i);default:return function SE(n,o){let e=[];return"set"===CE(n)?n.forEach(i=>e.push(i)):Object.keys(n).forEach(i=>{e.push(`${i}:${n[i]}`)}),function CR(n,o){return n.map(EE).filter(i=>!!i).map(i=>(o&&(i.value=o(i.value)),i)).reduce(kE,{})}(e,o)}(e,i)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36($i),t.Y36(nn),t.Y36(ms),t.Y36(t.aQg),t.Y36(t.Qsj),t.Y36(_.PC,10),t.Y36(ip),t.Y36(t.Lbi))},n.\u0275dir=t.lG2({type:n,features:[t.qOj]}),n})();const ER=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let xy=(()=>{class n extends SR{constructor(){super(...arguments),this.inputs=ER}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[t.qOj]}),n})();function DE(n,o){return n.map(EE).filter(i=>!!i).map(i=>(o&&(i.value=o(i.value)),i)).reduce(kE,{})}let xE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[tT]]}),n})();const aT=function(n){return{color:n}};function kR(n,o){if(1&n&&(t.TgZ(0,"button",8),t.ALo(1,"translate"),t.TgZ(2,"mat-icon",4),t._uU(3," apps "),t.qZA(),t.qZA()),2&n){const e=t.oxw(),i=t.MAs(2);t.Q6J("matMenuTriggerFor",i)("matTooltip",t.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),t.xp6(2),t.Q6J("ngStyle",t.VKq(5,aT,e.iconColor))}}function DR(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"button",2),t.NdJ("click",function(){return t.CHM(e),t.oxw().onLogOut()}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"NAV.LOGOUT")," "))}let xR=(()=>{class n{constructor(e,i,s,a){this.authService=e,this.authzResolverService=i,this.notificator=s,this.translateService=a}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Ra),t.Y36(Qi),t.Y36(ao),t.Y36(ui))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-header-menu"]],inputs:{user:"user",iconColor:"iconColor",textColor:"textColor",logoutEnabled:"logoutEnabled",url:"url",label:"label"},decls:14,vars:15,consts:[["mat-icon-button","",3,"matMenuTriggerFor","matTooltip",4,"ngIf"],["appsMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],[1,"d-none","d-lg-inline",3,"ngStyle"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"]],template:function(e,i){if(1&e&&(t.YNc(0,kR,4,7,"button",0),t.TgZ(1,"mat-menu",null,1),t.TgZ(3,"button",2),t.NdJ("click",function(){return i.redirectToUrl()}),t.TgZ(4,"span"),t._uU(5),t.qZA(),t.qZA(),t.qZA(),t.TgZ(6,"button",3),t.TgZ(7,"mat-icon",4),t._uU(8," person "),t.qZA(),t.TgZ(9,"span",5),t._uU(10),t.qZA(),t.qZA(),t.TgZ(11,"mat-menu",null,6),t.YNc(13,DR,3,3,"button",7),t.qZA()),2&e){const s=t.MAs(12);t.Q6J("ngIf",i.url),t.xp6(5),t.Oqu(i.label),t.xp6(1),t.Q6J("matMenuTriggerFor",s),t.xp6(1),t.Q6J("ngStyle",t.VKq(11,aT,i.iconColor)),t.xp6(2),t.Q6J("ngStyle",t.VKq(13,aT,i.textColor)),t.xp6(1),t.xDo(" ",i.user.titleBefore," ",i.user.firstName," ",i.user.middleName," ",i.user.lastName," ",i.user.titleAfter," "),t.xp6(3),t.Q6J("ngIf",i.logoutEnabled)}},directives:[_.O5,zt,RS,xs,An,_.PC,Zf,Bc],pipes:[at],styles:["@media (max-width: 991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),n})();const LE=function(n){return{color:n}};function LR(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(e),t.oxw().onToggleSidenav()}),t.TgZ(1,"mat-icon"),t._uU(2,"menu"),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("ngStyle",t.VKq(1,LE,e.iconColor))}}function RR(n,o){1&n&&(t.TgZ(0,"div",8),t.TgZ(1,"span",9),t._uU(2," ~ \u{1f5f2}\xa0 "),t.qZA(),t.TgZ(3,"span",10),t._uU(4," DEVEL "),t.qZA(),t.TgZ(5,"span",9),t._uU(6," \u{1f5f2} ~ "),t.qZA(),t.qZA())}const OR=function(n){return{background:n}},PR=function(){return[]},zR=function(){return["/"]};let IR=(()=>{class n{constructor(e,i,s,a){this.storeService=e,this.sanitizer=i,this.translate=s,this.otherApplicationService=a,this.label=this.storeService.get("header_label_en"),this.logoutEnabled=this.storeService.get("log_out_enabled"),this.adminLabel=this.storeService.get("admin_gui_label_en"),this.principal=this.storeService.getPerunPrincipal(),this.sidenavToggle=new t.vpe,this.hideToggle=!1,this.disableLogo=!1,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.isDevel=!1,this.activeLink=!1,this.onToggleSidenav=()=>{this.sidenavToggle.emit()}}ngOnInit(){this.isDevel=this.storeService.get("is_devel"),this.translate.onLangChange.subscribe(e=>{this.label=this.storeService.get(`header_label_${e.lang}`),this.adminLabel=this.storeService.get(`admin_gui_label_${e.lang}`)}),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.isLinkToGuiActive()}isLinkToGuiActive(){this.linkRoles=this.storeService.get("link_to_admin_gui_by_roles");for(const e in this.storeService.getPerunPrincipal().roles)this.linkRoles.includes(e)&&(this.activeLink=!0);this.activeLink&&(this.adminGuiUrl=this.otherApplicationService.getUrlForOtherApplication("admin"))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36($t),t.Y36(ms),t.Y36(ui),t.Y36(YS))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-header"]],inputs:{hideToggle:"hideToggle",disableLogo:"disableLogo"},outputs:{sidenavToggle:"sidenavToggle"},decls:8,vars:19,consts:[[1,"sticky-top","header-container","mat-elevation-z3",3,"ngStyle"],["id","nav-menu-icons"],["mat-icon-button","",3,"ngStyle","click",4,"ngIf"],["queryParamsHandling","merge",1,"logo-container","mt-auto","mb-auto",3,"innerHTML","routerLink"],[1,"ml-3","mt-auto","mb-auto","hide-label",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"url","label","user","logoutEnabled","iconColor","textColor"],["mat-icon-button","",3,"ngStyle","click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,i){1&e&&(t.TgZ(0,"mat-toolbar",0),t.TgZ(1,"div",1),t.YNc(2,LR,3,3,"button",2),t._UZ(3,"a",3),t.TgZ(4,"p",4),t._uU(5),t.qZA(),t.qZA(),t.YNc(6,RR,7,0,"div",5),t._UZ(7,"perun-web-apps-header-menu",6),t.qZA()),2&e&&(t.Q6J("ngStyle",t.VKq(13,OR,i.bgColor)),t.xp6(2),t.Q6J("ngIf",!i.hideToggle),t.xp6(1),t.Q6J("innerHTML",i.logo,t.oJD)("routerLink",i.disableLogo?t.DdM(15,PR):t.DdM(16,zR)),t.xp6(1),t.Q6J("ngStyle",t.VKq(17,LE,i.textColor)),t.xp6(1),t.Oqu(i.label),t.xp6(1),t.Q6J("ngIf",i.isDevel),t.xp6(1),t.Q6J("url",i.adminGuiUrl)("label",i.adminLabel)("user",i.principal.user)("logoutEnabled",i.logoutEnabled)("iconColor",i.iconColor)("textColor",i.textColor))},directives:[BL,_.PC,xy,_.O5,zt,An,R,xR],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;padding:0 0 0 8px;z-index:999}#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px;margin-left:auto;margin-right:0}@media (max-width: 570px){.hide-label[_ngcontent-%COMP%]{display:none}}#nav-devel-info[_ngcontent-%COMP%]{margin-left:auto;font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-icons[_ngcontent-%COMP%]{display:flex;flex-direction:row}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();function RE(n){return o=>o.lift(new NR(n))}class NR{constructor(o){this.value=o}call(o,e){return e.subscribe(new HR(o,this.value))}}class HR extends bs.L{constructor(o,e){super(o),this.value=e}_next(o){this.destination.next(this.value)}}const Ly=["*"],BR=["content"];function FR(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",2),t.NdJ("click",function(){return t.CHM(e),t.oxw()._onBackdropClicked()}),t.qZA()}if(2&n){const e=t.oxw();t.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function qR(n,o){1&n&&(t.TgZ(0,"mat-drawer-content"),t.Hsn(1,2),t.qZA())}const jR=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],YR=["mat-drawer","mat-drawer-content","*"];function UR(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",2),t.NdJ("click",function(){return t.CHM(e),t.oxw()._onBackdropClicked()}),t.qZA()}if(2&n){const e=t.oxw();t.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function GR(n,o){1&n&&(t.TgZ(0,"mat-sidenav-content"),t.Hsn(1,2),t.qZA())}const VR=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],WR=["mat-sidenav","mat-sidenav-content","*"],OE={transformDrawer:mi("transform",[xt("open, open-instant",ze({transform:"none",visibility:"visible"})),xt("void",ze({"box-shadow":"none",visibility:"hidden"})),St("void => open-instant",Ct("0ms")),St("void <=> open, open-instant => void",Ct("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},ZR=new t.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function $R(){return!1}}),cT=new t.OlP("MAT_DRAWER_CONTAINER");let Ry=(()=>{class n extends vs{constructor(e,i,s,a,r){super(s,a,r),this._changeDetectorRef=e,this._container=i}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.sBO),t.Y36((0,t.Gpc)(()=>zE)),t.Y36(t.SBq),t.Y36(To),t.Y36(t.R0b))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,i){2&e&&t.Udp("margin-left",i._container._contentMargins.left,"px")("margin-right",i._container._contentMargins.right,"px")},features:[t._Bn([{provide:vs,useExisting:n}]),t.qOj],ngContentSelectors:Ly,decls:1,vars:0,template:function(e,i){1&e&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),PE=(()=>{class n{constructor(e,i,s,a,r,c,u,h){this._elementRef=e,this._focusTrapFactory=i,this._focusMonitor=s,this._platform=a,this._ngZone=r,this._interactivityChecker=c,this._doc=u,this._container=h,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new xe.xQ,this._animationEnd=new xe.xQ,this._animationState="void",this.openedChange=new t.vpe(!0),this._openedStream=this.openedChange.pipe((0,Ht.h)(g=>g),(0,ct.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,Ht.h)(g=>g.fromState!==g.toState&&0===g.toState.indexOf("open")),RE(void 0)),this._closedStream=this.openedChange.pipe((0,Ht.h)(g=>!g),(0,ct.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,Ht.h)(g=>g.fromState!==g.toState&&"void"===g.toState),RE(void 0)),this._destroyed=new xe.xQ,this.onPositionChanged=new t.vpe,this._modeChanged=new xe.xQ,this.openedChange.subscribe(g=>{g?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{vo(this._elementRef.nativeElement,"keydown").pipe((0,Ht.h)(g=>27===g.keyCode&&!this.disableClose&&!Un(g)),et(this._destroyed)).subscribe(g=>this._ngZone.run(()=>{this.close(),g.stopPropagation(),g.preventDefault()}))}),this._animationEnd.pipe(id((g,O)=>g.fromState===O.fromState&&g.toState===O.toState)).subscribe(g=>{const{fromState:O,toState:$}=g;(0===$.indexOf("open")&&"void"===O||"void"===$&&0===O.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=qe(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"===this.mode?"dialog":"first-tabbable":e}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=qe(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(qe(e))}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(i)}_focusByCssSelector(e,i){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,i)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{!i&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var e;this._focusTrap&&this._focusTrap.destroy(),null===(e=this._anchor)||void 0===e||e.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,i){e&&i&&(this._openedVia=i);const s=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),s}_setOpen(e,i,s){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",i&&this._restoreFocus(s)),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe((0,Zt.q)(1)).subscribe(r=>a(r?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const i=this._elementRef.nativeElement,s=i.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),s.insertBefore(this._anchor,i)),s.appendChild(i)):this._anchor&&this._anchor.parentNode.insertBefore(i,this._anchor)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(Wm),t.Y36(eo),t.Y36(gi),t.Y36(t.R0b),t.Y36(zh),t.Y36(_.K0,8),t.Y36(cT,8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-drawer"]],viewQuery:function(e,i){if(1&e&&t.Gf(BR,5),2&e){let s;t.iGM(s=t.CRH())&&(i._content=s.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,i){1&e&&t.WFA("@transform.start",function(a){return i._animationStarted.next(a)})("@transform.done",function(a){return i._animationEnd.next(a)}),2&e&&(t.uIk("align",null),t.d8E("@transform",i._animationState),t.ekj("mat-drawer-end","end"===i.position)("mat-drawer-over","over"===i.mode)("mat-drawer-push","push"===i.mode)("mat-drawer-side","side"===i.mode)("mat-drawer-opened",i.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Ly,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,i){1&e&&(t.F$t(),t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA())},directives:[vs],encapsulation:2,data:{animation:[OE.transformDrawer]},changeDetection:0}),n})(),zE=(()=>{class n{constructor(e,i,s,a,r,c=!1,u){this._dir=e,this._element=i,this._ngZone=s,this._changeDetectorRef=a,this._animationMode=u,this._drawers=new t.n_E,this.backdropClick=new t.vpe,this._destroyed=new xe.xQ,this._doCheckSubject=new xe.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new xe.xQ,e&&e.change.pipe(et(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe(et(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=c}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=qe(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:qe(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(li(this._allDrawers),et(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(li(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Rl.b)(10),et(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,i=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const s=this._left._getWidth();e+=s,i-=s}if(this._right&&this._right.opened)if("side"==this._right.mode)i+=this._right._getWidth();else if("push"==this._right.mode){const s=this._right._getWidth();i+=s,e-=s}e=e||null,i=i||null,(e!==this._contentMargins.left||i!==this._contentMargins.right)&&(this._contentMargins={left:e,right:i},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe((0,Ht.h)(i=>i.fromState!==i.toState),et(this._drawers.changes)).subscribe(i=>{"open-instant"!==i.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(et(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe(et(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Zt.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(et((0,Oi.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const i=this._element.nativeElement.classList,s="mat-drawer-container-has-open";e?i.add(s):i.remove(s)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(xn,8),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(wa),t.Y36(ZR),t.Y36(Vn,8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,i,s){if(1&e&&(t.Suo(s,Ry,5),t.Suo(s,PE,5)),2&e){let a;t.iGM(a=t.CRH())&&(i._content=a.first),t.iGM(a=t.CRH())&&(i._allDrawers=a)}},viewQuery:function(e,i){if(1&e&&t.Gf(Ry,5),2&e){let s;t.iGM(s=t.CRH())&&(i._userContent=s.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("mat-drawer-container-explicit-backdrop",i._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[t._Bn([{provide:cT,useExisting:n}])],ngContentSelectors:YR,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,i){1&e&&(t.F$t(jR),t.YNc(0,FR,1,2,"div",0),t.Hsn(1),t.Hsn(2,1),t.YNc(3,qR,2,0,"mat-drawer-content",1)),2&e&&(t.Q6J("ngIf",i.hasBackdrop),t.xp6(3),t.Q6J("ngIf",!i._content))},directives:[Ry,_.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),lT=(()=>{class n extends Ry{constructor(e,i,s,a,r){super(e,i,s,a,r)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.sBO),t.Y36((0,t.Gpc)(()=>NE)),t.Y36(t.SBq),t.Y36(To),t.Y36(t.R0b))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,i){2&e&&t.Udp("margin-left",i._container._contentMargins.left,"px")("margin-right",i._container._contentMargins.right,"px")},features:[t._Bn([{provide:vs,useExisting:n}]),t.qOj],ngContentSelectors:Ly,decls:1,vars:0,template:function(e,i){1&e&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),IE=(()=>{class n extends PE{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=qe(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Vi(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Vi(e)}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,i){2&e&&(t.uIk("align",null),t.Udp("top",i.fixedInViewport?i.fixedTopGap:null,"px")("bottom",i.fixedInViewport?i.fixedBottomGap:null,"px"),t.ekj("mat-drawer-end","end"===i.position)("mat-drawer-over","over"===i.mode)("mat-drawer-push","push"===i.mode)("mat-drawer-side","side"===i.mode)("mat-drawer-opened",i.opened)("mat-sidenav-fixed",i.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[t.qOj],ngContentSelectors:Ly,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,i){1&e&&(t.F$t(),t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA())},directives:[vs],encapsulation:2,data:{animation:[OE.transformDrawer]},changeDetection:0}),n})(),NE=(()=>{class n extends zE{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-sidenav-container"]],contentQueries:function(e,i,s){if(1&e&&(t.Suo(s,lT,5),t.Suo(s,IE,5)),2&e){let a;t.iGM(a=t.CRH())&&(i._content=a.first),t.iGM(a=t.CRH())&&(i._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("mat-drawer-container-explicit-backdrop",i._backdropOverride)},exportAs:["matSidenavContainer"],features:[t._Bn([{provide:cT,useExisting:n}]),t.qOj],ngContentSelectors:WR,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,i){1&e&&(t.F$t(VR),t.YNc(0,UR,1,2,"div",0),t.Hsn(1),t.Hsn(2,1),t.YNc(3,GR,2,0,"mat-sidenav-content",1)),2&e&&(t.Q6J("ngIf",i.hasBackdrop),t.xp6(3),t.Q6J("ngIf",!i._content))},directives:[lT,_.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),uT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.ez,ut,Aa,$o],$o,ut]}),n})(),XR=(()=>{class n{constructor(e){this.store=e}getSideMenuItems(){const e=this.store.get("displayed_tabs"),i=[];return e.forEach(a=>{switch(a){case"profile":i.push({label:"MENU_ITEMS.PROFILE",icon:"account_box",link:"/profile",activatedRegex:"^/profile$",tabName:"profile"});break;case"identities":i.push({label:"MENU_ITEMS.IDENTITIES",icon:"remove_red_eye",link:"/profile/identities",activatedRegex:"^/profile/identities$",tabName:"identities"});break;case"services":i.push({label:"MENU_ITEMS.SERVICES",icon:"build",link:"/profile/services",activatedRegex:"^/profile/services$",tabName:"services"});break;case"groups":i.push({label:"MENU_ITEMS.GROUPS",icon:"group",link:"/profile/groups",activatedRegex:"^/profile/groups$",tabName:"groups"});break;case"vos":i.push({label:"MENU_ITEMS.VOS",icon:"account_balance",link:"/profile/organizations",activatedRegex:"^/profile/organizations$",tabName:"vos"});break;case"privacy":i.push({label:"MENU_ITEMS.PRIVACY",icon:"vpn_key",link:"/profile/privacy",activatedRegex:"^/profile/privacy$",tabName:"privacy"});break;case"consents":i.push({label:"MENU_ITEMS.CONSENTS",icon:"fact_check",link:"/profile/consents",activatedRegex:"^/profile/consents",tabName:"consents"});break;case"settings":i.push({label:"MENU_ITEMS.SETTINGS",icon:"settings",link:"/profile/settings",activatedRegex:"^/profile/settings",tabName:"settings"})}}),this.store.get("external_services").forEach(a=>{const r={icon:"insert_link",link:a.url,activatedRegex:"^/profile/external",tabName:"external",external:!0};this.store.get("supported_languages").forEach(c=>{var u;r[`label_${c}`]=null!==(u=a[`label_${c}`])&&void 0!==u?u:a.label_en}),i.push(r)}),i}}return n.\u0275fac=function(e){return new(e||n)(t.LFG($t))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ut],ut]}),n})();const hT=["*"],QR=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],JR=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],BE=sr(no(class{})),sO=no(class{}),FE=new t.OlP("MatList"),qE=new t.OlP("MatNavList");let oO=(()=>{class n extends BE{constructor(){super(...arguments),this._stateChanges=new xe.xQ}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[t._Bn([{provide:qE,useExisting:n}]),t.qOj,t.TTD],ngContentSelectors:hT,decls:1,vars:0,template:function(e,i){1&e&&(t.F$t(),t.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),n})(),fT=(()=>{class n extends BE{constructor(e){super(),this._elementRef=e,this._stateChanges=new xe.xQ,"action-list"===this._getListType()&&e.nativeElement.classList.add("mat-action-list")}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[t._Bn([{provide:FE,useExisting:n}]),t.qOj,t.TTD],ngContentSelectors:hT,decls:1,vars:0,template:function(e,i){1&e&&(t.F$t(),t.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),n})(),jE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),n})(),YE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),n})(),Oy=(()=>{class n extends sO{constructor(e,i,s,a){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new xe.xQ,this._disabled=!1,this._isInteractiveList=!!(s||a&&"action-list"===a._getListType()),this._list=s||a;const r=this._getHostElement();"button"===r.nodeName.toLowerCase()&&!r.hasAttribute("type")&&r.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(et(this._destroyed)).subscribe(()=>{i.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=qe(e)}ngAfterContentInit(){!function kc(n,o,e="mat"){n.changes.pipe(li(n)).subscribe(({length:i})=>{uf(o,`${e}-2-line`,!1),uf(o,`${e}-3-line`,!1),uf(o,`${e}-multi-line`,!1),2===i||3===i?uf(o,`${e}-${i}-line`,!0):i>3&&uf(o,`${e}-multi-line`,!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(qE,8),t.Y36(FE,8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,i,s){if(1&e&&(t.Suo(s,jE,5),t.Suo(s,YE,5),t.Suo(s,Y_,5)),2&e){let a;t.iGM(a=t.CRH())&&(i._avatar=a.first),t.iGM(a=t.CRH())&&(i._icon=a.first),t.iGM(a=t.CRH())&&(i._lines=a)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,i){2&e&&t.ekj("mat-list-item-disabled",i.disabled)("mat-list-item-avatar",i._avatar||i._icon)("mat-list-item-with-avatar",i._avatar||i._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[t.qOj],ngContentSelectors:JR,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,i){1&e&&(t.F$t(QR),t.TgZ(0,"span",0),t._UZ(1,"span",1),t.Hsn(2),t.TgZ(3,"span",2),t.Hsn(4,1),t.qZA(),t.Hsn(5,2),t.qZA()),2&e&&(t.xp6(1),t.Q6J("matRippleTrigger",i._getHostElement())("matRippleDisabled",i._isRippleDisabled()))},directives:[ts],encapsulation:2,changeDetection:0}),n})(),pT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[Zl,ds,ut,Z_,_.ez],Zl,ut,Z_,dT]}),n})(),GE=(()=>{class n{transform(e,i,s){return e[`${s}_${i}`]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"localisedText",type:n,pure:!0}),n})();const dO=function(n){return{color:n}};function hO(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-list-item",2),t.NdJ("click",function(){const a=t.CHM(e).$implicit,r=t.oxw();return a.external?r.goToURL(a.link):r.shouldHideMenu()}),t.TgZ(1,"mat-icon"),t._uU(2),t.qZA(),t.TgZ(3,"span",3),t._uU(4),t.ALo(5,"localisedText"),t.ALo(6,"translate"),t.ALo(7,"customTranslate"),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.ekj("activated",i.isActive(e.activatedRegex)),t.s9C("routerLink",e.external?null:e.link),t.Q6J("ngStyle",t.VKq(16,dO,i.textColor))("matRippleColor","rgba(255, 255, 255, 0.1)"),t.xp6(2),t.Oqu(e.icon),t.xp6(2),t.Oqu(e.external?t.Dn7(5,7,e,i.lang,"label"):t.lcZ(6,11,t.xi3(7,13,e.label,i.lang)))}}let fO=(()=>{class n{constructor(e,i,s,a){this.sideMenuItemService=e,this.storeService=i,this.router=s,this.translateService=a,this.items=[],this.lang="en",this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.currentUrl=s.url,s.events.subscribe(r=>{r instanceof qt&&(this.currentUrl=r.url)})}ngOnInit(){this.translateService.onLangChange.subscribe(i=>{const{lang:s}=i;this.lang=s});const e=this.storeService.get("displayed_tabs");this.items=this.sideMenuItemService.getSideMenuItems(),this.items=this.items.filter(i=>e.includes(i.tabName))}isActive(e){return new RegExp(e).test(this.currentUrl)}shouldHideMenu(){"over"===this.sideNav.mode&&this.sideNav.close()}goToURL(e){window.open(e,"_blank")}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(XR),t.Y36($t),t.Y36(Mi),t.Y36(ui))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[[1,"pt-0"],["mat-ripple","","class","side-menu-item-height","queryParamsHandling","merge",3,"activated","ngStyle","matRippleColor","routerLink","click",4,"ngFor","ngForOf"],["mat-ripple","","queryParamsHandling","merge",1,"side-menu-item-height",3,"ngStyle","matRippleColor","routerLink","click"],[1,"nav-caption","ml-3"]],template:function(e,i){1&e&&(t.TgZ(0,"mat-nav-list",0),t.YNc(1,hO,8,18,"mat-list-item",1),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngForOf",i.items))},directives:[oO,_.sg,Oy,ts,_.PC,xy,S,An],pipes:[GE,at,oi],styles:[".nav-caption[_ngcontent-%COMP%]{display:inline-block;padding-left:6px}.side-menu-item-height[_ngcontent-%COMP%]{height:40px!important}mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important}.activated[_ngcontent-%COMP%]{background:var(--side-active)!important;color:var(--side-text-active)!important}"]}),n})();function pO(n,o){if(1&n&&(t.TgZ(0,"span",1),t.TgZ(1,"a",2),t._uU(2),t.qZA(),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("routerLink",e.routerLink),t.xp6(1),t.Oqu(e.label)}}let gO=(()=>{class n{constructor(e,i,s){this.router=e,this.activatedRoute=i,this.translate=s,this.home={label:"Home",routerLink:"profile"},this.menuItems=[]}ngOnInit(){this.router.events.pipe((0,Ht.h)(e=>e instanceof qt)).subscribe(()=>{this.menuItems=[],this.createBreadcrumbs(this.activatedRoute.root)})}createBreadcrumbs(e,i=""){const s=e.children;0===s.length||"service-access"===s[0].snapshot.routeConfig.path||s.forEach(a=>{const r=a.snapshot.url.map(u=>u.path).join("/");""!==r&&(i+=`/${r}`);const c=this.translate.instant(a.snapshot.data[n.ROUTE_DATA_BREADCRUMB]);return c&&(!this.menuItems[this.menuItems.length-1]||c!==this.menuItems[this.menuItems.length-1].label)&&this.menuItems.push({label:c,routerLink:i}),this.createBreadcrumbs(a,i)})}}return n.ROUTE_DATA_BREADCRUMB="breadcrumb",n.\u0275fac=function(e){return new(e||n)(t.Y36(Mi),t.Y36(As),t.Y36(ui))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-breadcrumbs"]],decls:1,vars:1,consts:[["class","custom-breadcrumb",4,"ngFor","ngForOf"],[1,"custom-breadcrumb"],["queryParamsHandling","merge",1,"breadcrumb-text",3,"routerLink"]],template:function(e,i){1&e&&t.YNc(0,pO,3,2,"span",0),2&e&&t.Q6J("ngForOf",i.menuItems)},directives:[_.sg,R],styles:['.custom-breadcrumb[_ngcontent-%COMP%]{display:inline-block}.custom-breadcrumb[_ngcontent-%COMP%]:first-child:before{display:none}.custom-breadcrumb[_ngcontent-%COMP%]:before{content:">";vertical-align:center;display:inline-block;margin:0 10px 10px 8px;-webkit-font-smoothing:antialiased}.breadcrumb-text[_ngcontent-%COMP%]{text-decoration:none!important;color:#2c2c2c}']}),n})();function mO(n,o){1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let _O=(()=>{class n{constructor(e,i,s,a,r){this.dialogRef=e,this.translate=i,this.notificator=s,this.rtMessages=a,this.storeService=r,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+e.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+M(4147).i8}close(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(ui),t.Y36(ao),t.Y36(fn),t.Y36($t))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,i){if(1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",1),t.TgZ(4,"mat-form-field"),t.TgZ(5,"mat-label"),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"input",2,3),t.NdJ("ngModelChange",function(a){return i.subject=a}),t.qZA(),t.YNc(10,mO,3,3,"mat-error",4),t.qZA(),t.TgZ(11,"mat-form-field"),t.TgZ(12,"mat-label"),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.TgZ(15,"textarea",5),t.NdJ("ngModelChange",function(a){return i.message=a}),t.ALo(16,"translate"),t._uU(17," "),t.qZA(),t.TgZ(18,"mat-hint"),t._uU(19),t.ALo(20,"translate"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(21,"div",6),t.TgZ(22,"div",7),t.TgZ(23,"button",8),t.NdJ("click",function(){return i.close()}),t._uU(24),t.ALo(25,"translate"),t.qZA(),t.TgZ(26,"button",9),t.NdJ("click",function(){return i.sendBugReport()}),t._uU(27),t.ALo(28,"translate"),t.qZA(),t.qZA(),t.qZA()),2&e){const s=t.MAs(9);t.xp6(1),t.Oqu(t.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),t.xp6(5),t.Oqu(t.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),t.xp6(2),t.Q6J("ngModel",i.subject),t.xp6(2),t.Q6J("ngIf",s.invalid),t.xp6(3),t.Oqu(t.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),t.xp6(2),t.s9C("placeholder",t.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),t.Q6J("ngModel",i.message),t.xp6(4),t.Oqu(t.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),t.xp6(5),t.hij(" ",t.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),t.xp6(2),t.Q6J("disabled",s.invalid),t.xp6(1),t.hij(" ",t.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[On,Pn,Pi,rr,zn,ji,Ds,yn,oo,_.O5,Oc,PM,an,zt],pipes:[at],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),bO=(()=>{class n{transform(e,i){return e["link_"+i]||e.link_en}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"localisedLink",type:n,pure:!0}),n})(),yO=(()=>{class n{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"footerLogoPath",type:n,pure:!0}),n})();function AO(n,o){if(1&n&&(t.TgZ(0,"a",13),t.ALo(1,"localisedLink"),t._UZ(2,"img",14),t.ALo(3,"footerLogoPath"),t.qZA()),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("href",t.xi3(1,2,e,i.language),t.LSH),t.xp6(2),t.s9C("src",t.lcZ(3,5,e.logo),t.LSH)}}function wO(n,o){if(1&n&&(t.TgZ(0,"span"),t._UZ(1,"img",14),t.ALo(2,"footerLogoPath"),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.s9C("src",t.lcZ(2,1,e.logo),t.LSH)}}function MO(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,AO,4,7,"a",11),t.ALo(2,"localisedLink"),t.YNc(3,wO,3,3,"span",12),t.ALo(4,"localisedLink"),t.qZA()),2&n){const e=o.$implicit,i=t.oxw(3);t.xp6(1),t.Q6J("ngIf",t.xi3(2,2,e,i.language)),t.xp6(2),t.Q6J("ngIf",!t.xi3(4,5,e,i.language))}}const vO=function(n){return{"min-height":n}};function TO(n,o){if(1&n&&(t.TgZ(0,"div",10),t.YNc(1,MO,5,8,"div",5),t.qZA()),2&n){const e=t.oxw().$implicit,i=t.oxw();t.Q6J("ngStyle",t.VKq(2,vO,i.columnContentHeight+"px")),t.xp6(1),t.Q6J("ngForOf",e.elements)}}const _u=function(n){return{color:n}};function CO(n,o){if(1&n&&(t.TgZ(0,"i",20),t._uU(1),t.qZA()),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("ngStyle",t.VKq(2,_u,i.linksTextColor)),t.xp6(1),t.hij(" ",e.icon," ")}}function SO(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"span",21),t.NdJ("click",function(){t.CHM(e);const s=t.oxw().$implicit;return t.oxw(3).openDialog(s.dialog)}),t._uU(1),t.ALo(2,"localisedText"),t.qZA()}if(2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("ngStyle",t.VKq(6,_u,i.linksTextColor)),t.xp6(1),t.hij("",t.Dn7(2,2,e,i.language,"label")," ")}}function EO(n,o){if(1&n&&(t.TgZ(0,"a",22),t.ALo(1,"localisedLink"),t._uU(2),t.ALo(3,"localisedText"),t.qZA()),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("href",t.xi3(1,3,e,i.language),t.LSH)("ngStyle",t.VKq(10,_u,i.linksTextColor)),t.xp6(2),t.Oqu(t.Dn7(3,6,e,i.language,"label"))}}function kO(n,o){if(1&n&&(t.TgZ(0,"span",10),t._uU(1),t.ALo(2,"localisedText"),t.qZA()),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("ngStyle",t.VKq(6,_u,i.linksTextColor)),t.xp6(1),t.Oqu(t.Dn7(2,2,e,i.language,"label"))}}function DO(n,o){if(1&n&&(t.TgZ(0,"div",16),t.YNc(1,CO,2,4,"i",17),t.YNc(2,SO,3,8,"span",18),t.YNc(3,EO,4,12,"a",19),t.ALo(4,"localisedLink"),t.YNc(5,kO,3,8,"span",9),t.ALo(6,"localisedLink"),t.qZA()),2&n){const e=o.$implicit,i=t.oxw(3);t.xp6(1),t.Q6J("ngIf",e.icon),t.xp6(1),t.Q6J("ngIf",e.dialog),t.xp6(1),t.Q6J("ngIf",t.xi3(4,4,e,i.language)&&!e.dialog),t.xp6(2),t.Q6J("ngIf",!t.xi3(6,7,e,i.language)&&!e.dialog)}}const xO=function(n){return{height:n}};function LO(n,o){if(1&n&&(t.TgZ(0,"div",10),t.YNc(1,DO,7,10,"div",15),t.qZA()),2&n){const e=t.oxw().$implicit,i=t.oxw();t.Q6J("ngStyle",t.VKq(2,xO,i.columnContentHeight+"px")),t.xp6(1),t.Q6J("ngForOf",e.elements)}}function RO(n,o){if(1&n&&(t.TgZ(0,"div",7),t.TgZ(1,"h6",8),t._uU(2),t.ALo(3,"localisedText"),t.qZA(),t.YNc(4,TO,2,4,"div",9),t.YNc(5,LO,2,4,"div",9),t.qZA()),2&n){const e=o.$implicit,i=t.oxw();t.ekj("my-auto",i.containsLogos),t.xp6(1),t.Q6J("ngStyle",t.VKq(10,_u,i.headersTextColor)),t.xp6(1),t.hij(" ",t.Dn7(3,6,e,i.language,"title")," "),t.xp6(2),t.Q6J("ngIf",e.logos),t.xp6(1),t.Q6J("ngIf",e.elements&&!e.logos)}}function OO(n,o){if(1&n&&(t.TgZ(0,"span"),t.TgZ(1,"a",6),t._uU(2),t.qZA(),t.qZA()),2&n){const e=o.$implicit,i=o.index,s=t.oxw();t.xp6(1),t.Q6J("href",e.url,t.LSH)("ngStyle",t.VKq(3,_u,s.copyrightTextColor)),t.xp6(1),t.Oqu(i?", "+e.name:e.name)}}const PO=function(n){return{background:n}};let VE=(()=>{class n{constructor(e,i,s){this.storeService=e,this.translateService=i,this.dialog=s,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.language=e.lang}),this.version=M(4147).i8,this.items=this.storeService.get("footer","columns");for(const e of this.items)e.logos?this.containsLogos=!0:25*e.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*e.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(e){const i=Hi();"reportIssue"===e&&(i.width="550px",this.dialog.open(_O,i))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36($t),t.Y36(ui),t.Y36(Zi))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(e,i){1&e&&(t.TgZ(0,"footer",0),t.TgZ(1,"div",1),t.YNc(2,RO,6,12,"div",2),t.qZA(),t._UZ(3,"hr",3),t.TgZ(4,"div",4),t._uU(5),t.YNc(6,OO,3,5,"span",5),t._uU(7," Version "),t.TgZ(8,"a",6),t._uU(9),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Q6J("ngStyle",t.VKq(8,PO,i.bgColor)),t.xp6(2),t.Q6J("ngForOf",i.items),t.xp6(2),t.Q6J("ngStyle",t.VKq(10,_u,i.copyrightTextColor)),t.xp6(1),t.hij(" \xa9 ",i.currentYear," Copyright: "),t.xp6(1),t.Q6J("ngForOf",i.copyrightItems),t.xp6(2),t.Q6J("href",i.githubRepository,t.LSH)("ngStyle",t.VKq(12,_u,i.copyrightTextColor)),t.xp6(1),t.Oqu(i.version))},directives:[_.PC,_.sg,_.O5],pipes:[GE,bO,yO],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}"]}),n})();function zO(n,o){if(1&n&&(t.TgZ(0,"div",8),t._UZ(1,"div",9),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("innerHTML",e.logo,t.oJD)}}function IO(n,o){if(1&n&&(t.TgZ(0,"div",10),t._UZ(1,"div",11),t._UZ(2,"mat-icon",12),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("innerHTML",e.logo,t.oJD)}}function NO(n,o){if(1&n&&(t.TgZ(0,"div",8),t._UZ(1,"a",9),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("innerHTML",e.logo,t.oJD)}}const HO=function(n){return{color:n}};function BO(n,o){if(1&n&&(t.TgZ(0,"p",13),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.Q6J("ngStyle",t.VKq(2,HO,e.textColor)),t.xp6(1),t.hij(" ",e.headerTitle," ")}}const FO=function(n,o){return{background:n,color:o}},qO=function(n,o){return{"min-height":n,"background-color":o}};let jO=(()=>{class n{constructor(e,i,s,a){this.storeService=e,this.sanitizer=i,this.preferredLangService=s,this.translateService=a,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){if(this.headerBackgroundColor=this.storeService.get("theme","nav_bg_color"),this.headerTextColor=this.storeService.get("theme","nav_text_color"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.textColor=this.headerTitle?this.storeService.get("theme","header_text_color"):"","user-profile"===this.application){const e=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(e)}}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return n.\u0275fac=function(e){return new(e||n)(t.Y36($t),t.Y36(ms),t.Y36(Fv),t.Y36(ui))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",1,"mat-elevation-z3",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,zO,2,1,"div",1),t.YNc(2,IO,3,1,"div",2),t.YNc(3,NO,2,1,"div",1),t.YNc(4,BO,2,4,"p",3),t.qZA(),t.TgZ(5,"div",4),t.TgZ(6,"div",5),t.TgZ(7,"div",6),t._UZ(8,"router-outlet"),t.qZA(),t.TgZ(9,"div",7),t._UZ(10,"perun-web-apps-footer"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Q6J("ngStyle",t.WLB(6,FO,i.headerBackgroundColor,i.headerTextColor)),t.xp6(1),t.Q6J("ngIf","admin-gui"===i.application),t.xp6(1),t.Q6J("ngIf","publications"===i.application),t.xp6(1),t.Q6J("ngIf","user-profile"===i.application),t.xp6(1),t.Q6J("ngIf",!!i.headerTitle),t.xp6(2),t.Q6J("ngStyle",t.WLB(9,qO,i.getContentInnerMinHeight(),i.contentBackgroundColor)))},directives:[_.PC,_.O5,An,Rr,VE],styles:["#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content[_ngcontent-%COMP%]{width:100%;min-height:calc(100vh - 64px);margin-top:64px}#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width: 768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();const YO=["footer"],WE=function(n){return{background:n}},UO=function(n){return{"min-height":n}};function GO(n,o){if(1&n){const e=t.EpF();t._UZ(0,"perun-web-apps-notificator"),t.TgZ(1,"div",2),t.TgZ(2,"perun-web-apps-header",3),t.NdJ("sidenavToggle",function(){return t.CHM(e),t.MAs(5).toggle()}),t.qZA(),t.TgZ(3,"mat-sidenav-container"),t.TgZ(4,"mat-sidenav",4,5),t._UZ(6,"perun-web-apps-side-menu",6),t.qZA(),t.TgZ(7,"mat-sidenav-content",7),t.TgZ(8,"div",8),t._UZ(9,"perun-web-apps-breadcrumbs"),t._UZ(10,"router-outlet"),t.qZA(),t.TgZ(11,"div",null,9),t._UZ(13,"perun-web-apps-footer"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.MAs(5),i=t.oxw();t.xp6(4),t.Q6J("mode",i.sidebarMode)("ngStyle",t.VKq(6,WE,i.sideMenuBgColor))("opened",!i.isMobile()),t.xp6(2),t.Q6J("sideNav",e),t.xp6(1),t.Q6J("ngStyle",t.VKq(8,WE,i.contentBackgroundColor)),t.xp6(1),t.Q6J("ngStyle",t.VKq(10,UO,i.contentHeight))}}function VO(n,o){if(1&n&&t._UZ(0,"perun-web-apps-login-screen-base",10),2&n){const e=t.oxw();t.Q6J("application","user-profile")("headerTitle",e.headerLabel)}}let WO=(()=>{class n{constructor(e,i,s,a,r,c){this.store=e,this.attributesManagerService=i,this.translateService=s,this.initAuth=a,this.changeDetector=r,this.preferredLangService=c,this.sidebarMode="side",this.sideMenuBgColor=this.store.get("theme","sidemenu_bg_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.contentHeight="calc(100vh - 84px)",this.headerLabel=this.store.get("header_label_en"),this.getScreenSize()}ngOnInit(){this.isLoginScreenShown=this.initAuth.isLoginScreenShown(),this.isServiceAccess=this.initAuth.isServiceAccessLoginScreenShown(),sessionStorage.removeItem("baLogout"),this.isLoginScreenShown?this.headerLabel=this.store.get(`header_label_${this.preferredLangService.getPreferredLanguage(null)}`):this.isServiceAccess||this.attributesManagerService.getUserAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{const i=e.find(r=>"preferredLanguage"===r.friendlyName),s=i&&i.value?i.value.toString():null,a=this.preferredLangService.getPreferredLanguage(s);this.translateService.use(a)})}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}isMobile(){return window.innerWidth<=n.minWidth}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}ngAfterViewInit(){this.contentHeight="calc(100vh - 84px - "+this.footer.nativeElement.offsetHeight+"px)",this.changeDetector.detectChanges()}}return n.minWidth=992,n.\u0275fac=function(e){return new(e||n)(t.Y36($t),t.Y36(ei),t.Y36(ui),t.Y36(Hv),t.Y36(t.sBO),t.Y36(Fv))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-root"]],viewQuery:function(e,i){if(1&e&&t.Gf(YO,5),2&e){let s;t.iGM(s=t.CRH())&&(i.footer=s.first)}},hostBindings:function(e,i){1&e&&t.NdJ("resize",function(a){return i.getScreenSize(a)},!1,t.Jf7)},decls:2,vars:2,consts:[[3,"ngIf"],[3,"application","headerTitle",4,"ngIf"],[1,"app-min-width"],[3,"sidenavToggle"],["fixedInViewport","","fixedTopGap","64",1,"side-menu-size",3,"mode","ngStyle","opened"],["sidenav",""],[1,"overflow-hidden",3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],["footer",""],[3,"application","headerTitle"]],template:function(e,i){1&e&&(t.YNc(0,GO,14,12,"ng-template",0),t.YNc(1,VO,1,2,"perun-web-apps-login-screen-base",1)),2&e&&(t.Q6J("ngIf",!i.isLoginScreenShown&&!i.isServiceAccess&&!i.isServiceLogin()),t.xp6(1),t.Q6J("ngIf",i.isLoginScreenShown||i.isServiceAccess||i.isServiceLogin()))},directives:[_.O5,PL,IR,NE,IE,_.PC,xy,fO,lT,gO,Rr,VE,jO],styles:["#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px;margin:10px}@media (min-width: 600px){#content-wrap[_ngcontent-%COMP%]{padding-left:25px;padding-right:25px}}a[_ngcontent-%COMP%]{text-decoration:none;color:#000}.side-menu-size[_ngcontent-%COMP%]{width:300px;height:auto}"]}),n})();var KO=M(1158);function ZO(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"button",15),t.NdJ("click",function(){t.CHM(e);const s=t.oxw().index;return t.oxw().removeValue(s)}),t.TgZ(1,"mat-icon"),t._uU(2," indeterminate_check_box "),t.qZA(),t.qZA()}}function $O(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",9),t.TgZ(1,"mat-form-field",10),t._UZ(2,"label",11),t.TgZ(3,"input",12),t.NdJ("click",function(){const a=t.CHM(e).index,r=t.oxw();return r.readonly&&r.attribute.displayName&&r.showValue(r.keys[a],r.attribute.displayName)})("ngModelChange",function(s){const r=t.CHM(e).index;return t.oxw().keys[r]=s}),t.qZA(),t.qZA(),t.TgZ(4,"mat-form-field",10),t._UZ(5,"label",11),t.TgZ(6,"input",13),t.NdJ("click",function(){const a=t.CHM(e).$implicit,r=t.oxw();return r.readonly&&void 0!==r.attribute.displayName&&r.showValue(a,r.attribute.displayName)})("ngModelChange",function(s){const r=t.CHM(e).index;return t.oxw().values[r]=s}),t.qZA(),t.qZA(),t.YNc(7,ZO,3,0,"button",14),t.qZA()}if(2&n){const e=o.index,i=t.oxw();t.xp6(1),t.s9C("appearance",i.readonly?"none":"standard"),t.xp6(1),t.hYB("for","",i.attribute.id,"-key-",e,""),t.xp6(1),t.ekj("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),t.hYB("id","",i.attribute.id,"-key-",e,""),t.MGl("name","key-",e,""),t.Q6J("ngModel",i.keys[e])("readonly",i.readonly),t.xp6(1),t.s9C("appearance",i.readonly?"none":"standard"),t.xp6(1),t.hYB("for","",i.attribute.id,"-value-",e,""),t.xp6(1),t.ekj("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),t.MGl("name","value-",e,""),t.hYB("id","",i.attribute.id,"-value-",e,""),t.Q6J("readonly",i.readonly)("ngModel",i.values[e]),t.xp6(1),t.Q6J("ngIf",!i.readonly)}}function XO(n,o){1&n&&(t.TgZ(0,"mat-icon"),t._uU(1,"more_horiz"),t.qZA())}function QO(n,o){1&n&&(t.TgZ(0,"mat-icon"),t._uU(1,"keyboard_arrow_up"),t.qZA())}function JO(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){return t.CHM(e),t.oxw().onShowChange()}),t.YNc(1,XO,2,0,"mat-icon",17),t.YNc(2,QO,2,0,"mat-icon",17),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",!e.showMore),t.xp6(1),t.Q6J("ngIf",e.showMore)}}function eP(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"button",18),t.NdJ("click",function(){return t.CHM(e),t.oxw().addValue()}),t.TgZ(1,"mat-icon"),t._uU(2," add_box "),t.qZA(),t.qZA()}}let tP=(()=>{class n{constructor(e){this.dialog=e,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}ngOnInit(){if(this.attribute.value){const e=this.attribute.value;for(const[i,s]of Object.entries(e))this.keys.push(i),this.values.push(s)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=Ud(this.attribute))}customTrackBy(e){return e}addValue(){this.keys.push(""),this.values.push(""),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())}removeValue(e){this.keys.splice(e,1),this.values.splice(e,1)}updateAttribute(){const e={};for(let i=0;ii.defaultItemsShown),t.xp6(1),t.Q6J("ngIf",!i.readonly))},directives:[za,kf,uu,_.sg,Pi,zn,ji,Ds,yn,oo,_.O5,zt,An,xs],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}.input-margin[_ngcontent-%COMP%]{margin-bottom:-30px}.btn-margin[_ngcontent-%COMP%]{margin-top:10px}"]}),n})();const iP=["input"],nP=function(n){return{enterDuration:n}},sP=["*"],oP=new t.OlP("mat-checkbox-default-options",{providedIn:"root",factory:KE});function KE(){return{color:"accent",clickAction:"check-indeterminate"}}let rP=0;const ZE=KE(),aP={provide:is,useExisting:(0,t.Gpc)(()=>Wc),multi:!0};class cP{}const lP=Ec(La(no(sr(class{constructor(n){this._elementRef=n}}))));let Wc=(()=>{class n extends lP{constructor(e,i,s,a,r,c,u){super(e),this._changeDetectorRef=i,this._focusMonitor=s,this._ngZone=a,this._animationMode=c,this._options=u,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++rP,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new t.vpe,this.indeterminateChange=new t.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||ZE,this.color=this.defaultColor=this._options.color||ZE.color,this.tabIndex=parseInt(r)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=qe(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=qe(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=qe(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,s=this._elementRef.nativeElement;if(i!==e&&(this._currentAnimationClass.length>0&&s.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){s.classList.add(this._currentAnimationClass);const a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{s.classList.remove(a)},1e3)})}}_emitChangeEvent(){const e=new cP;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(e){var i;const s=null===(i=this._options)||void 0===i?void 0:i.clickAction;e.stopPropagation(),this.disabled||"noop"===s?!this.disabled&&"noop"===s&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==s&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e,i){e?this._focusMonitor.focusVia(this._inputElement,e,i):this._inputElement.nativeElement.focus(i)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";let s="";switch(e){case 0:if(1===i)s="unchecked-checked";else{if(3!=i)return"";s="unchecked-indeterminate"}break;case 2:s=1===i?"unchecked-checked":"unchecked-indeterminate";break;case 1:s=2===i?"checked-unchecked":"checked-indeterminate";break;case 3:s=1===i?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${s}`}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(eo),t.Y36(t.R0b),t.$8M("tabindex"),t.Y36(Vn,8),t.Y36(oP,8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,i){if(1&e&&(t.Gf(iP,5),t.Gf(ts,5)),2&e){let s;t.iGM(s=t.CRH())&&(i._inputElement=s.first),t.iGM(s=t.CRH())&&(i.ripple=s.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&(t.Ikx("id",i.id),t.uIk("tabindex",null),t.ekj("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[t._Bn([aP]),t.qOj],ngContentSelectors:sP,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,i){if(1&e&&(t.F$t(),t.TgZ(0,"label",0,1),t.TgZ(2,"span",2),t.TgZ(3,"input",3,4),t.NdJ("change",function(a){return i._onInteractionEvent(a)})("click",function(a){return i._onInputClick(a)}),t.qZA(),t.TgZ(5,"span",5),t._UZ(6,"span",6),t.qZA(),t._UZ(7,"span",7),t.TgZ(8,"span",8),t.O4$(),t.TgZ(9,"svg",9),t._UZ(10,"path",10),t.qZA(),t.kcU(),t._UZ(11,"span",11),t.qZA(),t.qZA(),t.TgZ(12,"span",12,13),t.NdJ("cdkObserveContent",function(){return i._onLabelTextChange()}),t.TgZ(14,"span",14),t._uU(15,"\xa0"),t.qZA(),t.Hsn(16),t.qZA(),t.qZA()),2&e){const s=t.MAs(1),a=t.MAs(13);t.uIk("for",i.inputId),t.xp6(2),t.ekj("mat-checkbox-inner-container-no-side-margin",!a.textContent||!a.textContent.trim()),t.xp6(1),t.Q6J("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),t.uIk("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),t.xp6(2),t.Q6J("matRippleTrigger",s)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",t.VKq(19,nP,"NoopAnimations"===i._animationMode?0:150))}},directives:[ts,dg],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n})(),$E=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({}),n})(),w1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ds,ut,nd,$E],ut,$E]}),n})(),gT=(()=>{class n{transform(e){return e.replace(/\s/g,"-").toLowerCase()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"multiWordDataCy",type:n,pure:!0}),n})();function hP(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-checkbox",2),t.NdJ("change",function(){return t.CHM(e),t.oxw()._sendEventToParent()})("ngModelChange",function(s){return t.CHM(e),t.oxw().attribute.value=s}),t.ALo(1,"multiWordDataCy"),t.qZA()}if(2&n){const e=t.oxw();t.Q2q("data-cy","",t.lcZ(1,2,e.attribute.displayName),"-value"),t.Q6J("ngModel",e.attribute.value)}}function fP(n,o){if(1&n&&(t.TgZ(0,"mat-label"),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Oqu(e.attribute.value)}}let pP=(()=>{class n{constructor(){this.readonly=!1,this.sendEventToParent=new t.vpe}ngOnInit(){this.readonly||(this.readonly=Ud(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-boolean"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:2,consts:[[3,"ngModel","change","ngModelChange",4,"ngIf"],[4,"ngIf"],[3,"ngModel","change","ngModelChange"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.YNc(1,hP,2,4,"mat-checkbox",0),t.YNc(2,fP,2,1,"mat-label",1),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",!i.readonly),t.xp6(1),t.Q6J("ngIf",i.readonly))},directives:[_.O5,Wc,yn,oo,rr],pipes:[gT],styles:[""]}),n})();function mP(n){const{subscriber:o,counter:e,period:i}=n;o.next(e),this.schedule({subscriber:o,counter:e+1,period:i},i)}function mT(n,o,e){for(let i in o)if(o.hasOwnProperty(i)){const s=o[i];s?n.setProperty(i,s,(null==e?void 0:e.has(i))?"important":""):n.removeProperty(i)}return n}function sp(n,o){const e=o?"":"none";mT(n.style,{"touch-action":o?"":"none","-webkit-user-drag":o?"":"none","-webkit-tap-highlight-color":o?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function XE(n,o,e){mT(n.style,{position:o?"":"fixed",top:o?"":"0",opacity:o?"":"0",left:o?"":"-999em"},e)}function Py(n,o){return o&&"none"!=o?n+" "+o:n}function QE(n){const o=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*o}function _T(n,o){return n.getPropertyValue(o).split(",").map(i=>i.trim())}function bT(n){const o=n.getBoundingClientRect();return{top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height,x:o.x,y:o.y}}function yT(n,o,e){const{top:i,bottom:s,left:a,right:r}=n;return e>=i&&e<=s&&o>=a&&o<=r}function M1(n,o,e){n.top+=o,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function JE(n,o,e,i){const{top:s,right:a,bottom:r,left:c,width:u,height:h}=n,g=u*o,O=h*o;return i>s-O&&ic-g&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:bT(e)})})}handleScroll(o){const e=Js(o),i=this.positions.get(e);if(!i)return null;const s=i.scrollPosition;let a,r;if(e===this._document){const h=this._viewportRuler.getViewportScrollPosition();a=h.top,r=h.left}else a=e.scrollTop,r=e.scrollLeft;const c=s.top-a,u=s.left-r;return this.positions.forEach((h,g)=>{h.clientRect&&e!==g&&e.contains(g)&&M1(h.clientRect,c,u)}),s.top=a,s.left=r,{top:c,left:u}}}function tk(n){const o=n.cloneNode(!0),e=o.querySelectorAll("[id]"),i=n.nodeName.toLowerCase();o.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const u=this._handles.find(h=>c.target&&(c.target===h||h.contains(c.target)));u&&!this._disabledHandles.has(u)&&!this.disabled&&this._initializeDragSequence(u,c)}else this.disabled||this._initializeDragSequence(this._rootElement,c)},this._pointerMove=c=>{const u=this._getPointerPositionOnPage(c);if(!this._hasStartedDragging){if(Math.abs(u.x-this._pickupPositionOnPage.x)+Math.abs(u.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const re=Date.now()>=this._dragStartTime+this._getDragStartDelay(c),ye=this._dropContainer;if(!re)return void this._endDragSequence(c);(!ye||!ye.isDragging()&&!ye.isReceiving())&&(c.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(c)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),c.preventDefault();const h=this._getConstrainedPointerPosition(u);if(this._hasMoved=!0,this._lastKnownPointerPosition=u,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,u);else{const g=this._activeTransform;g.x=h.x-this._pickupPositionOnPage.x+this._passiveTransform.x,g.y=h.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(g.x,g.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:c,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=c=>{this._endDragSequence(c)},this.withRootElement(o).withParent(e.parentDragRef||null),this._parentPositions=new ek(i,a),r.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(o){const e=qe(o);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(i=>sp(i,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(o){this._handles=o.map(i=>Wi(i)),this._handles.forEach(i=>sp(i,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(o){return this._previewTemplate=o,this}withPlaceholderTemplate(o){return this._placeholderTemplate=o,this}withRootElement(o){const e=Wi(o);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,rk),e.addEventListener("touchstart",this._pointerDown,ok)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(o){return this._boundaryElement=o?Wi(o):null,this._resizeSubscription.unsubscribe(),o&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(o){return this._parentDragRef=o,this}dispose(){var o,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(o=this._rootElement)||void 0===o||o.remove()),null===(e=this._anchor)||void 0===e||e.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(o){!this._disabledHandles.has(o)&&this._handles.indexOf(o)>-1&&(this._disabledHandles.add(o),sp(o,!0))}enableHandle(o){this._disabledHandles.has(o)&&(this._disabledHandles.delete(o),sp(o,this.disabled))}withDirection(o){return this._direction=o,this}_withDropContainer(o){this._dropContainer=o}getFreeDragPosition(){const o=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:o.x,y:o.y}}setFreeDragPosition(o){return this._activeTransform={x:0,y:0},this._passiveTransform.x=o.x,this._passiveTransform.y=o.y,this._dropContainer||this._applyRootElementTransform(o.x,o.y),this}withPreviewContainer(o){return this._previewContainer=o,this}_sortFromLastPointerPosition(){const o=this._lastKnownPointerPosition;o&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(o),o)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var o,e;null===(o=this._preview)||void 0===o||o.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var o,e;null===(o=this._placeholder)||void 0===o||o.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(o){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(o),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(o);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(o){v1(o)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const i=this._rootElement,s=i.parentNode,a=this._placeholder=this._createPlaceholderElement(),r=this._anchor=this._anchor||this._document.createComment(""),c=this._getShadowRoot();s.insertBefore(r,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),XE(i,!1,AT),this._document.body.appendChild(s.replaceChild(a,i)),this._getPreviewInsertionPoint(s,c).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(o,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),s=v1(e),a=!s&&0!==e.button,r=this._rootElement,c=Js(e),u=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=s?cd(e):ad(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),i||a||u||h)return;if(this._handles.length){const $=r.style;this._rootElementTapHighlight=$.webkitTapHighlightColor||"",$.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe($=>this._updateOnScroll($)),this._boundaryElement&&(this._boundaryRect=bT(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(o,e);const O=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:O.x,y:O.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(o){XE(this._rootElement,!0,AT),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),s=this._getPointerPositionOnPage(o),a=this._getDragDistance(s),r=e._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:a,dropPoint:s}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:a,dropPoint:s}),e.drop(this,i,this._initialIndex,this._initialContainer,r,a,s),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:o,y:e},{x:i,y:s}){let a=this._initialContainer._getSiblingContainerFromPosition(this,o,e);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(o,e)&&(a=this._initialContainer),a&&a!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=a,this._dropContainer.enter(this,o,e,a===this._initialContainer&&a.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:a,currentIndex:a.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,s),this._dropContainer._sortItem(this,o,e,this._pointerDirectionDelta),this._applyPreviewTransform(o-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const o=this._previewTemplate,e=this.previewClass,i=o?o.template:null;let s;if(i&&o){const a=o.matchSize?this._rootElement.getBoundingClientRect():null,r=o.viewContainer.createEmbeddedView(i,o.context);r.detectChanges(),s=ck(r,this._document),this._previewRef=r,o.matchSize?lk(s,a):s.style.transform=zy(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const a=this._rootElement;s=tk(a),lk(s,a.getBoundingClientRect()),this._initialTransform&&(s.style.transform=this._initialTransform)}return mT(s.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},AT),sp(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(a=>s.classList.add(a)):s.classList.add(e)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const o=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(o.left,o.top);const e=function _P(n){const o=getComputedStyle(n),e=_T(o,"transition-property"),i=e.find(c=>"transform"===c||"all"===c);if(!i)return 0;const s=e.indexOf(i),a=_T(o,"transition-duration"),r=_T(o,"transition-delay");return QE(a[s])+QE(r[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const s=r=>{var c;(!r||Js(r)===this._preview&&"transform"===r.propertyName)&&(null===(c=this._preview)||void 0===c||c.removeEventListener("transitionend",s),i(),clearTimeout(a))},a=setTimeout(s,1.5*e);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){const o=this._placeholderTemplate,e=o?o.template:null;let i;return e?(this._placeholderRef=o.viewContainer.createEmbeddedView(e,o.context),this._placeholderRef.detectChanges(),i=ck(this._placeholderRef,this._document)):i=tk(this._rootElement),i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(o,e){const i=this._rootElement.getBoundingClientRect(),s=o===this._rootElement?null:o,a=s?s.getBoundingClientRect():i,r=v1(e)?e.targetTouches[0]:e,c=this._getViewportScrollPosition();return{x:a.left-i.left+(r.pageX-a.left-c.left),y:a.top-i.top+(r.pageY-a.top-c.top)}}_getPointerPositionOnPage(o){const e=this._getViewportScrollPosition(),i=v1(o)?o.touches[0]||o.changedTouches[0]||{pageX:0,pageY:0}:o,s=i.pageX-e.left,a=i.pageY-e.top;if(this._ownerSVGElement){const r=this._ownerSVGElement.getScreenCTM();if(r){const c=this._ownerSVGElement.createSVGPoint();return c.x=s,c.y=a,c.matrixTransform(r.inverse())}}return{x:s,y:a}}_getConstrainedPointerPosition(o){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:s}=this.constrainPosition?this.constrainPosition(o,this):o;if("x"===this.lockAxis||"x"===e?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:a,y:r}=this._pickupPositionInElement,c=this._boundaryRect,u=this._previewRect,h=c.top+r,g=c.bottom-(u.height-r);i=ak(i,c.left+a,c.right-(u.width-a)),s=ak(s,h,g)}return{x:i,y:s}}_updatePointerDirectionDelta(o){const{x:e,y:i}=o,s=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-a.x),c=Math.abs(i-a.y);return r>this._config.pointerDirectionChangeThreshold&&(s.x=e>a.x?1:-1,a.x=e),c>this._config.pointerDirectionChangeThreshold&&(s.y=i>a.y?1:-1,a.y=i),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const o=this._handles.length>0||!this.isDragging();o!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=o,sp(this._rootElement,o))}_removeRootElementListeners(o){o.removeEventListener("mousedown",this._pointerDown,rk),o.removeEventListener("touchstart",this._pointerDown,ok)}_applyRootElementTransform(o,e){const i=zy(o,e),s=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=s.transform&&"none"!=s.transform?s.transform:""),s.transform=Py(i,this._initialTransform)}_applyPreviewTransform(o,e){var i;const s=(null===(i=this._previewTemplate)||void 0===i?void 0:i.template)?void 0:this._initialTransform,a=zy(o,e);this._preview.style.transform=Py(a,s)}_getDragDistance(o){const e=this._pickupPositionOnPage;return e?{x:o.x-e.x,y:o.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:o,y:e}=this._passiveTransform;if(0===o&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._boundaryElement.getBoundingClientRect(),s=this._rootElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===s.width&&0===s.height)return;const a=i.left-s.left,r=s.right-i.right,c=i.top-s.top,u=s.bottom-i.bottom;i.width>s.width?(a>0&&(o+=a),r>0&&(o-=r)):o=0,i.height>s.height?(c>0&&(e+=c),u>0&&(e-=u)):e=0,(o!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:o})}_getDragStartDelay(o){const e=this.dragStartDelay;return"number"==typeof e?e:v1(o)?e.touch:e?e.mouse:0}_updateOnScroll(o){const e=this._parentPositions.handleScroll(o);if(e){const i=Js(o);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&M1(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const o=this._parentPositions.positions.get(this._document);return o?o.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=El(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(o,e){const i=this._previewContainer||"global";if("parent"===i)return o;if("global"===i){const s=this._document;return e||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return Wi(i)}}function zy(n,o){return`translate3d(${Math.round(n)}px, ${Math.round(o)}px, 0)`}function ak(n,o,e){return Math.max(o,Math.min(e,n))}function v1(n){return"t"===n.type[0]}function ck(n,o){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===o.ELEMENT_NODE)return e[0];const i=o.createElement("div");return e.forEach(s=>i.appendChild(s)),i}function lk(n,o){n.style.width=`${o.width}px`,n.style.height=`${o.height}px`,n.style.transform=zy(o.left,o.top)}function uk(n,o,e){const i=T1(o,n.length-1),s=T1(e,n.length-1);if(i===s)return;const a=n[i],r=s!0,this.sortPredicate=()=>!0,this.beforeStarted=new xe.xQ,this.entered=new xe.xQ,this.exited=new xe.xQ,this.dropped=new xe.xQ,this.sorted=new xe.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=V.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new xe.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function gP(n=0,o=Wu.P){return(!Z1(n)||n<0)&&(n=0),(!o||"function"!=typeof o.schedule)&&(o=Wu.P),new Ji.y(e=>(e.add(o.schedule(mP,n,{subscriber:e,counter:0,period:n})),e))}(0,Y1).pipe(et(this._stopScrollTimers)).subscribe(()=>{const r=this._scrollNode,c=this.autoScrollStep;1===this._verticalScrollDirection?r.scrollBy(0,-c):2===this._verticalScrollDirection&&r.scrollBy(0,c),1===this._horizontalScrollDirection?r.scrollBy(-c,0):2===this._horizontalScrollDirection&&r.scrollBy(c,0)})},this.element=Wi(o),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new ek(i,a)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(o,e,i,s){let a;this._draggingStarted(),null==s?(a=this.sortingDisabled?this._draggables.indexOf(o):-1,-1===a&&(a=this._getItemIndexFromPointerPosition(o,e,i))):a=s;const r=this._activeDraggables,c=r.indexOf(o),u=o.getPlaceholderElement();let h=r[a];if(h===o&&(h=r[a+1]),!h&&(null==a||-1===a||a-1&&r.splice(c,1),h&&!this._dragDropRegistry.isDragging(h)){const g=h.getRootElement();g.parentElement.insertBefore(u,g),r.splice(a,0,o)}else Wi(this.element).appendChild(u),r.push(o);u.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:o,container:this,currentIndex:this.getItemIndex(o)})}exit(o){this._reset(),this.exited.next({item:o,container:this})}drop(o,e,i,s,a,r,c){this._reset(),this.dropped.next({item:o,currentIndex:e,previousIndex:i,container:this,previousContainer:s,isPointerOverContainer:a,distance:r,dropPoint:c})}withItems(o){const e=this._draggables;return this._draggables=o,o.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(s=>s.isDragging()).every(s=>-1===o.indexOf(s))?this._reset():this._cacheItems()),this}withDirection(o){return this._direction=o,this}connectedTo(o){return this._siblings=o.slice(),this}withOrientation(o){return this._orientation=o,this}withScrollableParents(o){const e=Wi(this.element);return this._scrollableElements=-1===o.indexOf(e)?[e,...o]:o.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(o){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===o):this._draggables.indexOf(o)}isReceiving(){return this._activeSiblings.size>0}_sortItem(o,e,i,s){if(this.sortingDisabled||!this._clientRect||!JE(this._clientRect,.05,e,i))return;const a=this._itemPositions,r=this._getItemIndexFromPointerPosition(o,e,i,s);if(-1===r&&a.length>0)return;const c="horizontal"===this._orientation,u=a.findIndex(Le=>Le.drag===o),h=a[r],O=h.clientRect,$=u>r?1:-1,re=this._getItemOffsetPx(a[u].clientRect,O,$),ye=this._getSiblingOffsetPx(u,a,$),ve=a.slice();uk(a,u,r),this.sorted.next({previousIndex:u,currentIndex:r,container:this,item:o}),a.forEach((Le,it)=>{if(ve[it]===Le)return;const Vt=Le.drag===o,It=Vt?re:ye,bi=Vt?o.getPlaceholderElement():Le.drag.getRootElement();Le.offset+=It,c?(bi.style.transform=Py(`translate3d(${Math.round(Le.offset)}px, 0, 0)`,Le.initialTransform),M1(Le.clientRect,0,It)):(bi.style.transform=Py(`translate3d(0, ${Math.round(Le.offset)}px, 0)`,Le.initialTransform),M1(Le.clientRect,It,0))}),this._previousSwap.overlaps=yT(O,e,i),this._previousSwap.drag=h.drag,this._previousSwap.delta=c?s.x:s.y}_startScrollingIfNecessary(o,e){if(this.autoScrollDisabled)return;let i,s=0,a=0;if(this._parentPositions.positions.forEach((r,c)=>{c===this._document||!r.clientRect||i||JE(r.clientRect,.05,o,e)&&([s,a]=function MP(n,o,e,i){const s=fk(o,i),a=pk(o,e);let r=0,c=0;if(s){const u=n.scrollTop;1===s?u>0&&(r=1):n.scrollHeight-u>n.clientHeight&&(r=2)}if(a){const u=n.scrollLeft;1===a?u>0&&(c=1):n.scrollWidth-u>n.clientWidth&&(c=2)}return[r,c]}(c,r.clientRect,o,e),(s||a)&&(i=c))}),!s&&!a){const{width:r,height:c}=this._viewportRuler.getViewportSize(),u={width:r,height:c,top:0,right:r,bottom:c,left:0};s=fk(u,e),a=pk(u,o),i=window}i&&(s!==this._verticalScrollDirection||a!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=a,this._scrollNode=i,(s||a)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const o=Wi(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=o.msScrollSnapType||o.scrollSnapType||"",o.scrollSnapType=o.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const o=Wi(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(o).clientRect}_cacheItemPositions(){const o="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:bT(i)}}).sort((e,i)=>o?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const o=Wi(this.element).style;o.scrollSnapType=o.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var i;const s=e.getRootElement();if(s){const a=null===(i=this._itemPositions.find(r=>r.drag===e))||void 0===i?void 0:i.initialTransform;s.style.transform=a||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(o,e,i){const s="horizontal"===this._orientation,a=e[o].clientRect,r=e[o+-1*i];let c=a[s?"width":"height"]*i;if(r){const u=s?"left":"top",h=s?"right":"bottom";-1===i?c-=r.clientRect[u]-a[h]:c+=a[u]-r.clientRect[h]}return c}_getItemOffsetPx(o,e,i){const s="horizontal"===this._orientation;let a=s?e.left-o.left:e.top-o.top;return-1===i&&(a+=s?e.width-o.width:e.height-o.height),a}_shouldEnterAsFirstChild(o,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,s="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){const r=i[i.length-1].clientRect;return s?o>=r.right:e>=r.bottom}{const r=i[0].clientRect;return s?o<=r.left:e<=r.top}}_getItemIndexFromPointerPosition(o,e,i,s){const a="horizontal"===this._orientation,r=this._itemPositions.findIndex(({drag:c,clientRect:u})=>{if(c===o)return!1;if(s){const h=a?s.x:s.y;if(c===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return a?e>=Math.floor(u.left)&&e=Math.floor(u.top)&&is._canReceive(o,e,i))}_canReceive(o,e,i){if(!this._clientRect||!yT(this._clientRect,e,i)||!this.enterPredicate(o,this))return!1;const s=this._getShadowRoot().elementFromPoint(e,i);if(!s)return!1;const a=Wi(this.element);return s===a||a.contains(s)}_startReceiving(o,e){const i=this._activeSiblings;!i.has(o)&&e.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(i.add(o),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(o){this._activeSiblings.delete(o),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(o=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(o);e&&(this._itemPositions.forEach(({clientRect:i})=>{M1(i,e.top,e.left)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const o=El(Wi(this.element));this._cachedShadowRoot=o||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const o=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,o))}}function fk(n,o){const{top:e,bottom:i,height:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=i-a&&o<=i+a?2:0}function pk(n,o){const{left:e,right:i,width:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=i-a&&o<=i+a?2:0}const Iy=Ir({passive:!1,capture:!0});let vP=(()=>{class n{constructor(e,i){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new xe.xQ,this.pointerUp=new xe.xQ,this.scroll=new xe.xQ,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=i}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Iy)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Iy)}startDragging(e,i){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const s=i.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:a=>this.pointerUp.next(a),options:!0}).set("scroll",{handler:a=>this.scroll.next(a),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Iy}),s||this._globalListeners.set("mousemove",{handler:a=>this.pointerMove.next(a),options:Iy}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((a,r)=>{this._document.addEventListener(r,a.handler,a.options)})})}}stopDragging(e){const i=this._activeDragInstances.indexOf(e);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const i=[this.scroll];return e&&e!==this._document&&i.push(new Ji.y(s=>this._ngZone.runOutsideAngular(()=>{const r=c=>{this._activeDragInstances.length&&s.next(c)};return e.addEventListener("scroll",r,!0),()=>{e.removeEventListener("scroll",r,!0)}}))),(0,Oi.T)(...i)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,i)=>{this._document.removeEventListener(i,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(t.R0b),t.LFG(_.K0))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const TP={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let wT=(()=>{class n{constructor(e,i,s,a){this._document=e,this._ngZone=i,this._viewportRuler=s,this._dragDropRegistry=a}createDrag(e,i=TP){return new AP(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new wP(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(_.K0),t.LFG(t.R0b),t.LFG(wa),t.LFG(vP))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const gk=new t.OlP("CDK_DRAG_PARENT"),mk=new t.OlP("CdkDropListGroup"),_k=new t.OlP("CDK_DRAG_CONFIG");let CP=0;const bk=new t.OlP("CdkDropList");let SP=(()=>{class n{constructor(e,i,s,a,r,c,u){this.element=e,this._changeDetectorRef=s,this._scrollDispatcher=a,this._dir=r,this._group=c,this._destroyed=new xe.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+CP++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new t.vpe,this.entered=new t.vpe,this.exited=new t.vpe,this.sorted=new t.vpe,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,u&&this._assignDefaults(u),this._dropListRef.enterPredicate=(h,g)=>this.enterPredicate(h.data,g.data),this._dropListRef.sortPredicate=(h,g,O)=>this.sortPredicate(h,g.data,O.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),c&&c._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=qe(e)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,i)=>e._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=n._dropLists.indexOf(this);e>-1&&n._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(li(this._dir.value),et(this._destroyed)).subscribe(i=>e.withDirection(i)),e.beforeStarted.subscribe(()=>{const i=zr(this.connectedTo).map(s=>"string"==typeof s?n._dropLists.find(r=>r.id===s):s);if(this._group&&this._group._items.forEach(s=>{-1===i.indexOf(s)&&i.push(s)}),!this._scrollableParentsResolved){const s=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(a=>a.getElementRef().nativeElement);this._dropListRef.withScrollableParents(s),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=qe(this.sortingDisabled),e.autoScrollDisabled=qe(this.autoScrollDisabled),e.autoScrollStep=Vi(this.autoScrollStep,2),e.connectedTo(i.filter(s=>s&&s!==this).map(s=>s._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(e){const{lockAxis:i,draggingDisabled:s,sortingDisabled:a,listAutoScrollDisabled:r,listOrientation:c}=e;this.disabled=null!=s&&s,this.sortingDisabled=null!=a&&a,this.autoScrollDisabled=null!=r&&r,this.orientation=c||"vertical",i&&(this.lockAxis=i)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}}return n._dropLists=[],n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(wT),t.Y36(t.sBO),t.Y36(To),t.Y36(xn,8),t.Y36(mk,12),t.Y36(_k,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,i){2&e&&(t.uIk("id",i.id),t.ekj("cdk-drop-list-disabled",i.disabled)("cdk-drop-list-dragging",i._dropListRef.isDragging())("cdk-drop-list-receiving",i._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[t._Bn([{provide:mk,useValue:void 0},{provide:bk,useExisting:n}])]}),n})();const yk=new t.OlP("CdkDragHandle"),EP=new t.OlP("CdkDragPlaceholder"),kP=new t.OlP("CdkDragPreview");let xP=(()=>{class n{constructor(e,i,s,a,r,c,u,h,g,O,$){this.element=e,this.dropContainer=i,this._ngZone=a,this._viewContainerRef=r,this._dir=u,this._changeDetectorRef=g,this._selfHandle=O,this._parentDrag=$,this._destroyed=new xe.xQ,this.started=new t.vpe,this.released=new t.vpe,this.ended=new t.vpe,this.entered=new t.vpe,this.exited=new t.vpe,this.dropped=new t.vpe,this.moved=new Ji.y(re=>{const ye=this._dragRef.moved.pipe((0,ct.U)(ve=>({source:this,pointerPosition:ve.pointerPosition,event:ve.event,delta:ve.delta,distance:ve.distance}))).subscribe(re);return()=>{ye.unsubscribe()}}),this._dragRef=h.createDrag(e,{dragStartThreshold:c&&null!=c.dragStartThreshold?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&null!=c.pointerDirectionChangeThreshold?c.pointerDirectionChangeThreshold:5,zIndex:null==c?void 0:c.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),c&&this._assignDefaults(c),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=qe(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Zt.q)(1),et(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const i=e.rootElementSelector,s=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),s&&!s.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=n._dragInstances.indexOf(this);e>-1&&n._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var e;const i=this.element.nativeElement;let s=i;this.rootElementSelector&&(s=void 0!==i.closest?i.closest(this.rootElementSelector):null===(e=i.parentElement)||void 0===e?void 0:e.closest(this.rootElementSelector)),this._dragRef.withRootElement(s||i)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):Wi(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const i=this._dir,s=this.dragStartDelay,a=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,r=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof s&&s?s:Vi(s),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(a).withPreviewTemplate(r).withPreviewContainer(this.previewContainer||"global"),i&&e.withDirection(i.value)}}),e.beforeStarted.pipe((0,Zt.q)(1)).subscribe(()=>{var i;if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let s=this.element.nativeElement.parentElement;for(;s;){if(s.classList.contains("cdk-drag")){e.withParent((null===(i=n._dragInstances.find(a=>a.element.nativeElement===s))||void 0===i?void 0:i._dragRef)||null);break}s=s.parentElement}})}_handleEvents(e){e.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(()=>{this.released.emit({source:this})}),e.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint})})}_assignDefaults(e){const{lockAxis:i,dragStartDelay:s,constrainPosition:a,previewClass:r,boundaryElement:c,draggingDisabled:u,rootElementSelector:h,previewContainer:g}=e;this.disabled=null!=u&&u,this.dragStartDelay=s||0,i&&(this.lockAxis=i),a&&(this.constrainPosition=a),r&&(this.previewClass=r),c&&(this.boundaryElement=c),h&&(this.rootElementSelector=h),g&&(this.previewContainer=g)}_setupHandlesListener(){this._handles.changes.pipe(li(this._handles),(0,U.b)(e=>{const i=e.filter(s=>s._parentDrag===this).map(s=>s.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),(0,Ii.w)(e=>(0,Oi.T)(...e.map(i=>i._stateChanges.pipe(li(i))))),et(this._destroyed)).subscribe(e=>{const i=this._dragRef,s=e.element.nativeElement;e.disabled?i.disableHandle(s):i.enableHandle(s)})}}return n._dragInstances=[],n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(bk,12),t.Y36(_.K0),t.Y36(t.R0b),t.Y36(t.s_b),t.Y36(_k,8),t.Y36(xn,8),t.Y36(wT),t.Y36(t.sBO),t.Y36(yk,10),t.Y36(gk,12))},n.\u0275dir=t.lG2({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(e,i,s){if(1&e&&(t.Suo(s,kP,5),t.Suo(s,EP,5),t.Suo(s,yk,5)),2&e){let a;t.iGM(a=t.CRH())&&(i._previewTemplate=a.first),t.iGM(a=t.CRH())&&(i._placeholderTemplate=a.first),t.iGM(a=t.CRH())&&(i._handles=a)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,i){2&e&&t.ekj("cdk-drag-disabled",i.disabled)("cdk-drag-dragging",i._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[t._Bn([{provide:gk,useExisting:n}]),t.TTD]}),n})(),LP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[wT],imports:[$o]}),n})();const RP=["*"],Ak=new t.OlP("MatChipRemove"),wk=new t.OlP("MatChipAvatar"),Mk=new t.OlP("MatChipTrailingIcon");class OP{constructor(o){this._elementRef=o}}const PP=Ec(La(no(OP),"primary"),-1);let Ny=(()=>{class n extends PP{constructor(e,i,s,a,r,c,u,h){super(e),this._ngZone=i,this._changeDetectorRef=r,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new xe.xQ,this._onBlur=new xe.xQ,this.selectionChange=new t.vpe,this.destroyed=new t.vpe,this.removed=new t.vpe,this._addHostClassName(),this._chipRippleTarget=c.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new W_(this,i,this._chipRippleTarget,s),this._chipRipple.setupTriggerEvents(e),this.rippleConfig=a||{},this._animationsDisabled="NoopAnimations"===u,this.tabIndex=null!=h&&parseInt(h)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(e){const i=qe(e);i!==this._selected&&(this._selected=i,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(e){this._value=e}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=qe(e)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(e){this._disabled=qe(e)}get removable(){return this._removable}set removable(e){this._removable=qe(e)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const e="mat-basic-chip",i=this._elementRef.nativeElement;i.hasAttribute(e)||i.tagName.toLowerCase()===e?i.classList.add(e):i.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(e=!1){return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(e){this.disabled&&e.preventDefault()}_handleKeydown(e){if(!this.disabled)switch(e.keyCode){case 46:case 8:this.remove(),e.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),e.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,Zt.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(e=!1){this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(gi),t.Y36(K_,8),t.Y36(t.sBO),t.Y36(_.K0),t.Y36(Vn,8),t.$8M("tabindex"))},n.\u0275dir=t.lG2({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,i,s){if(1&e&&(t.Suo(s,wk,5),t.Suo(s,Mk,5),t.Suo(s,Ak,5)),2&e){let a;t.iGM(a=t.CRH())&&(i.avatar=a.first),t.iGM(a=t.CRH())&&(i.trailingIcon=a.first),t.iGM(a=t.CRH())&&(i.removeIcon=a.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,i){1&e&&t.NdJ("click",function(a){return i._handleClick(a)})("keydown",function(a){return i._handleKeydown(a)})("focus",function(){return i.focus()})("blur",function(){return i._blur()}),2&e&&(t.uIk("tabindex",i.disabled?null:i.tabIndex)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString())("aria-selected",i.ariaSelected),t.ekj("mat-chip-selected",i.selected)("mat-chip-with-avatar",i.avatar)("mat-chip-with-trailing-icon",i.trailingIcon||i.removeIcon)("mat-chip-disabled",i.disabled)("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[t.qOj]}),n})();const vk=new t.OlP("mat-chips-default-options");let HP=0,Tk=(()=>{class n{constructor(e,i){this._elementRef=e,this._defaultOptions=i,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new t.vpe,this.placeholder="",this.id="mat-chip-list-input-"+HP++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(e){e&&(this._chipList=e,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(e){this._addOnBlur=qe(e)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(e){this._disabled=qe(e)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(e){if(e){if(9===e.keyCode&&!Un(e,"shiftKey")&&this._chipList._allowFocusEscape(),8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}_keyup(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(e){!this.inputElement.value&&!!e&&this._chipList._keydown(e),(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==e||e.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(e){this.inputElement.focus(e)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(e){return!Un(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(vk))},n.\u0275dir=t.lG2({type:n,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(e,i){1&e&&t.NdJ("keydown",function(a){return i._keydown(a)})("keyup",function(a){return i._keyup(a)})("blur",function(){return i._blur()})("focus",function(){return i._focus()})("input",function(){return i._onInput()}),2&e&&(t.Ikx("id",i.id),t.uIk("disabled",i.disabled||null)("placeholder",i.placeholder||null)("aria-invalid",i._chipList&&i._chipList.ngControl?i._chipList.ngControl.invalid:null)("aria-required",i._chipList&&i._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[t.TTD]}),n})();const BP=Qg(class{constructor(n,o,e,i){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=e,this.ngControl=i}});let FP=0;class qP{constructor(o,e){this.source=o,this.value=e}}let Ck=(()=>{class n extends BP{constructor(e,i,s,a,r,c,u){super(c,a,r,u),this._elementRef=e,this._changeDetectorRef=i,this._dir=s,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new xe.xQ,this._uid="mat-chip-list-"+FP++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(h,g)=>h===g,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new t.vpe,this.valueChange=new t.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var e,i;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(e){this._multiple=qe(e),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var e,i,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===s?void 0:s.hasValidator(Tn.required))&&void 0!==a&&a}set required(e){this._required=qe(e),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=qe(e),this._syncChipsState()}get selectable(){return this._selectable}set selectable(e){this._selectable=qe(e),this.chips&&this.chips.forEach(i=>i.chipListSelectable=this._selectable)}set tabIndex(e){this._userTabIndex=e,this._tabIndex=e}get chipSelectionChanges(){return(0,Oi.T)(...this.chips.map(e=>e.selectionChange))}get chipFocusChanges(){return(0,Oi.T)(...this.chips.map(e=>e._onFocus))}get chipBlurChanges(){return(0,Oi.T)(...this.chips.map(e=>e._onBlur))}get chipRemoveChanges(){return(0,Oi.T)(...this.chips.map(e=>e.destroyed))}ngAfterContentInit(){this._keyManager=new Ph(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(et(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.tabOut.pipe(et(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(li(null),et(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new _n(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}writeValue(e){this.chips&&this._setSelectionByValue(e,!1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}onContainerClick(e){this._originatesFromChip(e)||this.focus()}focus(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}_focusInput(e){this._chipInput&&this._chipInput.focus(e)}_keydown(e){const i=e.target;i&&i.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(e){return e>=0&&es.deselect()),Array.isArray(e))e.forEach(s=>this._selectValue(s,i)),this._sortValues();else{const s=this._selectValue(e,i);s&&i&&this._keyManager.setActiveItem(s)}}_selectValue(e,i=!0){const s=this.chips.find(a=>null!=a.value&&this._compareWith(a.value,e));return s&&(i?s.selectViaInteraction():s.select(),this._selectionModel.select(s)),s}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(e){this._selectionModel.clear(),this.chips.forEach(i=>{i!==e&&i.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(e=>{e.selected&&this._selectionModel.select(e)}),this.stateChanges.next())}_propagateChanges(e){let i=null;i=Array.isArray(this.selected)?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=i,this.change.emit(new qP(this,i)),this.valueChange.emit(i),this._onChange(i),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(e=>{e.source.selected?this._selectionModel.select(e.source):this._selectionModel.deselect(e.source),this.multiple||this.chips.forEach(i=>{!this._selectionModel.isSelected(i)&&i.selected&&i.deselect()}),e.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(e=>{let i=this.chips.toArray().indexOf(e.chip);this._isValidIndex(i)&&this._keyManager.updateActiveItem(i),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(e=>{const i=e.chip,s=this.chips.toArray().indexOf(e.chip);this._isValidIndex(s)&&i._hasFocus&&(this._lastDestroyedChipIndex=s)})}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-chip"))return!0;i=i.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(e=>e._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(e=>{e._chipListDisabled=this._disabled,e._chipListMultiple=this.multiple})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(xn,8),t.Y36(uu,8),t.Y36(Nc,8),t.Y36(Kl),t.Y36(Hs,10))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-chip-list"]],contentQueries:function(e,i,s){if(1&e&&t.Suo(s,Ny,5),2&e){let a;t.iGM(a=t.CRH())&&(i.chips=a)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(e,i){1&e&&t.NdJ("focus",function(){return i.focus()})("blur",function(){return i._blur()})("keydown",function(a){return i._keydown(a)}),2&e&&(t.Ikx("id",i._uid),t.uIk("tabindex",i.disabled?null:i._tabIndex)("aria-describedby",i._ariaDescribedby||null)("aria-required",i.role?i.required:null)("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-multiselectable",i.multiple)("role",i.role)("aria-orientation",i.ariaOrientation),t.ekj("mat-chip-list-disabled",i.disabled)("mat-chip-list-invalid",i.errorState)("mat-chip-list-required",i.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[t._Bn([{provide:Sd,useExisting:n}]),t.qOj],ngContentSelectors:RP,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(e,i){1&e&&(t.F$t(),t.TgZ(0,"div",0),t.Hsn(1),t.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),n})(),jP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[Kl,{provide:vk,useValue:{separatorKeyCodes:[13]}}],imports:[[ut]]}),n})();function YP(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-icon",9),t.NdJ("mousedown",function(){return t.CHM(e),t.oxw(2).dragDisabled=!1}),t._uU(1,"drag_indicator"),t.qZA()}}function UP(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-icon",10),t.NdJ("click",function(){t.CHM(e);const s=t.oxw().$implicit;return t.oxw().edit(s)}),t._uU(1,"edit"),t.qZA()}}function GP(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-icon",11),t.NdJ("click",function(){t.CHM(e);const s=t.oxw().$implicit;return t.oxw().remove(s)}),t._uU(1,"cancel"),t.qZA()}}function VP(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-chip",4),t.NdJ("removed",function(){const a=t.CHM(e).$implicit,r=t.oxw();return r.remove(a),r._sendEventToParent()}),t.YNc(1,YP,2,0,"mat-icon",5),t.TgZ(2,"div",6),t.NdJ("click",function(){const a=t.CHM(e).$implicit,r=t.oxw();return r.readonly&&void 0!==r.attribute.displayName&&r.showValue(a,r.attribute.displayName)}),t._uU(3),t.qZA(),t.YNc(4,UP,2,0,"mat-icon",7),t.YNc(5,GP,2,0,"mat-icon",8),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.Q6J("selectable",i.selectable)("cdkDragData",e)("removable",i.removable),t.xp6(1),t.Q6J("ngIf",i.removable),t.xp6(1),t.ekj("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),t.xp6(1),t.hij(" ",e," "),t.xp6(1),t.Q6J("ngIf",i.removable),t.xp6(1),t.Q6J("ngIf",i.removable)}}function WP(n,o){1&n&&(t.TgZ(0,"mat-icon"),t._uU(1,"more_horiz"),t.qZA())}function KP(n,o){1&n&&(t.TgZ(0,"mat-icon"),t._uU(1,"keyboard_arrow_up"),t.qZA())}function ZP(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",12),t.TgZ(1,"span",13),t.TgZ(2,"button",14),t.NdJ("click",function(){return t.CHM(e),t.oxw().onShowChange()}),t.YNc(3,WP,2,0,"mat-icon",15),t.YNc(4,KP,2,0,"mat-icon",15),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("matTooltip",e.showMore?"Show less":"Show more")("matTooltipPosition","above"),t.xp6(2),t.Q6J("ngIf",!e.showMore),t.xp6(1),t.Q6J("ngIf",e.showMore)}}function $P(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-form-field",12),t.TgZ(1,"input",16),t.NdJ("matChipInputTokenEnd",function(s){return t.CHM(e),t.oxw().add(s)})("change",function(){return t.CHM(e),t.oxw()._sendEventToParent()}),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(),i=t.MAs(2);t.xp6(1),t.Q6J("matChipInputFor",i)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes)("matChipInputAddOnBlur",e.addOnBlur)}}let XP=(()=>{class n{constructor(e){this.dialog=e,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[13,188],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new t.vpe,this.readonly=!1}ngOnInit(){this.removable=!Ud(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=Ud(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(e){const i=e.input,s=e.value;(s||"").trim()&&(this.attribute.value.push(s.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),i&&(i.value=""),this.sendEventToParent.emit()}remove(e){const i=Hi();i.width="400px",i.data={name:e},this.dialog.open(V2,i).afterClosed().subscribe(a=>{if(a){const r=this.attribute.value.indexOf(e);this.attribute.value.splice(r,1),this.values=Object.values(this.attribute.value),this.sendEventToParent.emit()}})}drop(e){this.dragDisabled=!0,uk(this.attribute.value,e.previousIndex,e.currentIndex),this.values=Object.values(this.attribute.value)}edit(e){const i=this.attribute.value.indexOf(e),s=Hi();s.width="600px",s.data={attribute:this.attribute,index:i},this.dialog.open(G2,s).afterClosed().subscribe(r=>{r&&(this.values=Object.values(this.attribute.value),this.sendEventToParent.emit())})}showValue(e,i){const s=Hi();s.width="350px",s.data={value:e,title:i},this.dialog.open(Ey,s)}setItemsShown(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}onShowChange(){this.showMore=!this.showMore,this.setItemsShown()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Zi))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-list"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:6,vars:4,consts:[["cdkDropList","","cdkDropListOrientation","vertical",1,"mat-chip-list-stacked",3,"cdkDropListDisabled","cdkDropListDropped"],["chipList",""],["class","chip-word-break","cdkDrag","",3,"selectable","cdkDragData","removable","removed",4,"ngFor","ngForOf"],["class","w-100",4,"ngIf"],["cdkDrag","",1,"chip-word-break",3,"selectable","cdkDragData","removable","removed"],["class","handle-icon",3,"mousedown",4,"ngIf"],[1,"chip-text","overflow-ellipsis",3,"click"],["class","edit-delete-icon ml-2",3,"click",4,"ngIf"],["class","edit-delete-icon",3,"click",4,"ngIf"],[1,"handle-icon",3,"mousedown"],[1,"edit-delete-icon","ml-2",3,"click"],[1,"edit-delete-icon",3,"click"],[1,"w-100"],[3,"matTooltip","matTooltipPosition"],["mat-icon-button","",1,"ml-auto",3,"click"],[4,"ngIf"],["matInput","","placeholder","New value",1,"w-100","m-0",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.TgZ(1,"mat-chip-list",0,1),t.NdJ("cdkDropListDropped",function(a){return i.drop(a),i._sendEventToParent()}),t.YNc(3,VP,6,9,"mat-chip",2),t.YNc(4,ZP,5,4,"div",3),t.YNc(5,$P,2,3,"mat-form-field",3),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Q6J("cdkDropListDisabled",i.dragDisabled),t.xp6(2),t.Q6J("ngForOf",i.values.slice(0,i.itemsShown)),t.xp6(1),t.Q6J("ngIf",i.values.length>i.defaultItemsShown),t.xp6(1),t.Q6J("ngIf",!i.readonly))},directives:[Ck,SP,_.sg,Ny,xP,_.O5,An,xs,zt,Pi,zn,Tk],styles:[".chip-word-break[_ngcontent-%COMP%]{word-break:break-all}.chip-text[_ngcontent-%COMP%]{display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical;overflow:hidden}.mat-chip-list[_ngcontent-%COMP%] .mat-chip[_ngcontent-%COMP%]{width:auto;min-width:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.chip-word-break[_ngcontent-%COMP%] .cdk-drop-list-dragging[_ngcontent-%COMP%] .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.example-box[_ngcontent-%COMP%]:last-child{border:none}.edit-delete-icon[_ngcontent-%COMP%]{font-size:18px;justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;justify-content:center;align-items:center;display:flex;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),n})(),QP=(()=>{class n{constructor(e){this.dialog=e,this.readonly=!1,this.sendEventToParent=new t.vpe}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=Ud(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(e,i){const s=Hi();s.width="350px",s.data={value:e,title:i},this.dialog.open(Ey,s)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Zi))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:8,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(e,i){1&e&&(t.TgZ(0,"mat-form-field",0),t.TgZ(1,"input",1),t.NdJ("click",function(){return i.readonly&&void 0!==i.value&&i.showValue(i.value,i.attribute.displayName)})("ngModelChange",function(a){return i.attribute.value=a})("keydown",function(){return i._sendEventToParent()}),t.ALo(2,"multiWordDataCy"),t.qZA(),t.qZA()),2&e&&(t.s9C("appearance",i.readonly?"none":"standard"),t.xp6(1),t.ekj("cursor-pointer",i.readonly&&void 0!==i.value),t.Q2q("data-cy","",t.lcZ(2,6,i.attribute.displayName),"-value"),t.Q6J("readonly",i.readonly)("ngModel",i.attribute.value))},directives:[Pi,zn,ji,yn,oo],pipes:[gT],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),n})(),JP=(()=>{class n{constructor(e){this.dialog=e,this.readonly=!1,this.sendEventToParent=new t.vpe}ngOnInit(){this.readonly||(this.readonly=Ud(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(e){const i=Hi();i.width="350px",i.data={value:e.value,title:e.displayName},this.dialog.open(Ey,i)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Zi))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-integer"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","number",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(e,i){1&e&&(t.TgZ(0,"mat-form-field",0),t.TgZ(1,"input",1),t.NdJ("click",function(){return i.readonly&&void 0!==i.attribute.value&&i.showValue(i.attribute)})("ngModelChange",function(a){return i.attribute.value=a})("keydown",function(){return i._sendEventToParent()}),t.qZA(),t.qZA()),2&e&&(t.s9C("appearance",i.readonly?"none":"standard"),t.xp6(1),t.ekj("cursor-pointer",i.readonly&&void 0!==i.attribute.value),t.Q6J("readonly",i.readonly)("ngModel",i.attribute.value))},directives:[Pi,zn,Hf,ji,yn,oo],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();const ez=["map"];function tz(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"perun-web-apps-attribute-value-boolean",3),t.NdJ("sendEventToParent",function(){return t.CHM(e),t.oxw()._sendEventToParent2()}),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function iz(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"perun-web-apps-attribute-value-list",3),t.NdJ("sendEventToParent",function(){return t.CHM(e),t.oxw()._sendEventToParent2()}),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function nz(n,o){if(1&n&&t._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&n){const e=t.oxw();t.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function sz(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"perun-web-apps-attribute-value-string",3),t.NdJ("sendEventToParent",function(){return t.CHM(e),t.oxw()._sendEventToParent2()}),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function oz(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"perun-web-apps-attribute-value-integer",3),t.NdJ("sendEventToParent",function(){return t.CHM(e),t.oxw()._sendEventToParent2()}),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("attribute",e.attribute)("readonly",e.readonly)}}let MT=(()=>{class n{constructor(){this.readonly=!1,this.sendEventToParent2=new t.vpe}updateMapAttribute(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}_sendEventToParent2(){this.sendEventToParent2.emit()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(e,i){if(1&e&&t.Gf(ez,5),2&e){let s;t.iGM(s=t.CRH())&&(i.mapComponent=s.first)}},inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent2:"sendEventToParent2"},decls:7,vars:5,consts:[[3,"attribute","readonly","sendEventToParent",4,"ngIf"],[3,"click"],[3,"attribute","readonly",4,"ngIf"],[3,"attribute","readonly","sendEventToParent"],[3,"attribute","readonly"],["map",""]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.YNc(1,tz,1,2,"perun-web-apps-attribute-value-boolean",0),t.YNc(2,iz,1,2,"perun-web-apps-attribute-value-list",0),t.TgZ(3,"div",1),t.NdJ("click",function(){return i._sendEventToParent2()}),t.YNc(4,nz,2,2,"perun-web-apps-attribute-value-map",2),t.qZA(),t.YNc(5,sz,1,2,"perun-web-apps-attribute-value-string",0),t.YNc(6,oz,1,2,"perun-web-apps-attribute-value-integer",0),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf","java.lang.Boolean"===i.attribute.type),t.xp6(1),t.Q6J("ngIf","java.util.ArrayList"===i.attribute.type),t.xp6(2),t.Q6J("ngIf","java.util.LinkedHashMap"===i.attribute.type),t.xp6(1),t.Q6J("ngIf","java.lang.String"===i.attribute.type||"java.lang.LargeString"===i.attribute.type),t.xp6(1),t.Q6J("ngIf","java.lang.Integer"===i.attribute.type))},directives:[_.O5,pP,XP,tP,QP,JP],styles:[""]}),n})();function rz(n,o){1&n&&t._UZ(0,"mat-spinner",3)}function az(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-option",16),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw(4).changeLanguage(a)}),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"uppercase"),t.qZA()}if(2&n){const e=o.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",t.lcZ(2,2,t.lcZ(3,4,"SHARED_LIB.LANGUAGES."+e))," ")}}function cz(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-form-field",13),t.TgZ(1,"mat-select",14),t.NdJ("valueChange",function(s){return t.CHM(e),t.oxw(3).currentLang=s}),t.YNc(2,az,4,6,"mat-option",15),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("value",e.currentLang),t.xp6(1),t.Q6J("ngForOf",e.languages)}}function lz(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"a",17),t._uU(2),t.qZA(),t.TgZ(3,"button",18),t.NdJ("click",function(){return t.CHM(e),t.oxw(3).changeEmail()}),t.TgZ(4,"mat-icon"),t._uU(5," edit "),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(1),t.MGl("href","mailto:",e.email,"",t.LSH),t.xp6(1),t.Oqu(e.email)}}function uz(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-option",16),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw(4).changeTimeZone(a)}),t._uU(1),t.qZA()}if(2&n){const e=o.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e," ")}}function dz(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-form-field",13),t.TgZ(1,"mat-select",19),t.NdJ("valueChange",function(s){return t.CHM(e),t.oxw(3).currentTimezone=s}),t.YNc(2,uz,2,2,"mat-option",15),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("value",e.currentTimezone),t.xp6(1),t.Q6J("ngForOf",e.timeZones)}}function hz(n,o){1&n&&(t.TgZ(0,"p"),t._uU(1,"-"),t.qZA())}function fz(n,o){if(1&n&&t._UZ(0,"perun-web-apps-attribute-value",22),2&n){const e=t.oxw(2).$implicit;t.Q6J("attribute",e.attribute)("readonly",!0)}}function pz(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,hz,2,0,"p",20),t.YNc(2,fz,1,2,"perun-web-apps-attribute-value",21),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf",!e.attribute.value),t.xp6(1),t.Q6J("ngIf",e.attribute.value)}}function gz(n,o){if(1&n&&(t.TgZ(0,"tr"),t.TgZ(1,"td",7),t.TgZ(2,"div",8),t._uU(3),t.qZA(),t.qZA(),t.TgZ(4,"td",9),t.YNc(5,cz,3,2,"mat-form-field",10),t.YNc(6,lz,6,2,"div",11),t.YNc(7,dz,3,2,"mat-form-field",10),t.YNc(8,pz,3,2,"div",12),t.qZA(),t.qZA()),2&n){const e=o.$implicit,i=t.oxw(2);t.xp6(2),t.Q6J("matTooltip",e["tooltip_"+i.currentLang]),t.xp6(1),t.hij(" ",e["displayName_"+i.currentLang]," "),t.xp6(1),t.Q6J("ngSwitch",e.attribute.friendlyName),t.xp6(1),t.Q6J("ngSwitchCase","preferredLanguage"),t.xp6(1),t.Q6J("ngSwitchCase","preferredMail"),t.xp6(1),t.Q6J("ngSwitchCase","timezone")}}function mz(n,o){if(1&n&&(t.TgZ(0,"table",4),t.TgZ(1,"tbody"),t.TgZ(2,"tr"),t.TgZ(3,"td",5),t._uU(4),t.ALo(5,"translate"),t.ALo(6,"customTranslate"),t.qZA(),t.TgZ(7,"td"),t._uU(8),t.qZA(),t.qZA(),t.YNc(9,gz,9,6,"tr",6),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.Oqu(t.lcZ(5,3,t.lcZ(6,5,"PROFILE_PAGE.NAME"))),t.xp6(4),t.Oqu(e.fullName),t.xp6(1),t.Q6J("ngForOf",e.additionalAttributes)}}let _z=(()=>{class n{constructor(e,i,s,a,r,c,u,h,g,O,$){this.translateService=e,this.dialog=i,this.authzResolverService=s,this.attributesManagerService=a,this.usersManagerService=r,this.route=c,this.router=u,this.notificator=h,this.storeService=g,this.apiRequestConfiguration=O,this.preferredLangService=$,this.currentLang="en",this.languages=this.storeService.get("supported_languages"),this.timeZones=KO.tz.names().filter(re=>!re.startsWith("Etc/")),this.additionalAttributes=[],this.email="",this.fullName="",this.organization="",this.currentTimezone="",e.get("PROFILE_PAGE.MAIL_CHANGE_SUCCESS").subscribe(re=>this.successMessage=re)}ngOnInit(){const e=this.route.snapshot.queryParamMap,i=e.get("token"),s=e.get("u");this.loading=!0,i&&s?(this.apiRequestConfiguration.dontHandleErrorForNext(),this.usersManagerService.validatePreferredEmailChangeWithToken(i,Number.parseInt(s,10)).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.router.navigate([],{replaceUrl:!0}),this.getData()},()=>{const a=Hi();a.width="600px",this.dialog.open(sL,a).afterClosed().subscribe(()=>{this.getData()})})):this.getData()}getData(){this.authzResolverService.getPerunPrincipal().subscribe(e=>{this.userId=e.userId,this.usersManagerService.getRichUserWithAttributes(this.userId).subscribe(i=>{this.fullName=(new gy).transform(i);const s=i.userAttributes.find(g=>"preferredMail"===g.friendlyName);this.email=s.value,this.languageAttribute=i.userAttributes.find(g=>"preferredLanguage"===g.friendlyName);const a=this.languageAttribute&&this.languageAttribute.value?this.languageAttribute.value.toString():null,r=this.preferredLangService.getPreferredLanguage(a);this.translateService.use(r),this.currentLang=r,this.timezoneAttribute=i.userAttributes.find(g=>"timezone"===g.friendlyName),this.currentTimezone=this.timezoneAttribute&&this.timezoneAttribute.value?this.timezoneAttribute.value:"-";const c=this.storeService.get("profile_page_attributes");let u=0;const h=this.storeService.get("supported_languages");c.forEach(g=>{const O=i.userAttributes.find($=>$.friendlyName===g.friendly_name);O?(u++,this.addAttribute(O,g,h)):this.attributesManagerService.getAttributeDefinitionByName(`urn:perun:user:attribute-def:${g.is_virtual?"virt":"def"}:${g.friendly_name}`).subscribe($=>{this.addAttribute($,g,h),u++,this.loading=u!==c.length}),this.loading=u!==c.length})})})}addAttribute(e,i,s){var a;const r={attribute:e};for(const c of s)r[`displayName_${c}`]=i[`display_name_${c}`]&&i[`display_name_${c}`].length?i[`display_name_${c}`]:e.displayName,r[`tooltip_${c}`]=null!==(a=i[`tooltip_${c}`])&&void 0!==a?a:"";this.additionalAttributes.push(r)}changeLanguage(e){this.currentLang=e,this.translateService.use(this.currentLang),this.languageAttribute?this.setLanguage():this.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:def:preferredLanguage").subscribe(i=>{this.languageAttribute=i,this.setLanguage()})}setLanguage(){this.languageAttribute.value=this.currentLang,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.languageAttribute}).subscribe(()=>{this.router.navigate([],{queryParams:{lang:null},queryParamsHandling:"merge"})})}changeTimeZone(e){this.currentTimezone=e,this.timezoneAttribute?this.setTimeZone():this.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:def:timezone").subscribe(i=>{this.timezoneAttribute=i,this.setTimeZone()})}setTimeZone(){this.timezoneAttribute.value=this.currentTimezone,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.timezoneAttribute}).subscribe(()=>{})}changeEmail(){const e=Hi();e.width="350px",e.data={userId:this.userId},this.dialog.open(Z2,e).afterClosed().subscribe(s=>{s&&this.getEmail()})}getEmail(){this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredMail").subscribe(e=>{this.email=e.value})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ui),t.Y36(Zi),t.Y36(Qi),t.Y36(ei),t.Y36(zi),t.Y36(As),t.Y36(Mi),t.Y36(ao),t.Y36($t),t.Y36(py),t.Y36(Fv))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-profile-page"]],decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3 word-break-all",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"mt-3","word-break-all"],[1,"font-weight-bold"],[4,"ngFor","ngForOf"],[1,"font-weight-bold","att-name-width"],["matTooltipPosition","above",3,"matTooltip"],[1,"w-100",3,"ngSwitch"],["class","center-self",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"center-self"],[1,"mb-auto",3,"value","valueChange"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"],[1,"center-self",3,"href"],["mat-icon-button","",1,"ml-2",3,"click"],[3,"value","valueChange"],[4,"ngIf"],[3,"attribute","readonly",4,"ngIf"],[3,"attribute","readonly"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,rz,1,0,"mat-spinner",1),t.YNc(2,mz,10,7,"table",2),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[_.O5,In,_.sg,xs,_.RF,_.n9,Pi,Gf,Dc,zt,An,_.ED,MT],pipes:[at,oi,_.gd],styles:[".center-self[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.word-break-all[_ngcontent-%COMP%]{word-break:break-all}td[_ngcontent-%COMP%]{padding-right:1rem!important}.att-name-width[_ngcontent-%COMP%]{min-width:200px}"]}),n})();const bz=["mat-sort-header",""];function yz(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",3),t.NdJ("@arrowPosition.start",function(){return t.CHM(e),t.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return t.CHM(e),t.oxw()._disableViewStateAnimation=!1}),t._UZ(1,"div",4),t.TgZ(2,"div",5),t._UZ(3,"div",6),t._UZ(4,"div",7),t._UZ(5,"div",8),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),t.xp6(2),t.Q6J("@indicator",e._getArrowDirectionState()),t.xp6(1),t.Q6J("@leftPointer",e._getArrowDirectionState()),t.xp6(1),t.Q6J("@rightPointer",e._getArrowDirectionState())}}const Az=["*"],bu=tM.ENTERING+" "+eM.STANDARD_CURVE,op={indicator:mi("indicator",[xt("active-asc, asc",ze({transform:"translateY(0px)"})),xt("active-desc, desc",ze({transform:"translateY(10px)"})),St("active-asc <=> active-desc",Ct(bu))]),leftPointer:mi("leftPointer",[xt("active-asc, asc",ze({transform:"rotate(-45deg)"})),xt("active-desc, desc",ze({transform:"rotate(45deg)"})),St("active-asc <=> active-desc",Ct(bu))]),rightPointer:mi("rightPointer",[xt("active-asc, asc",ze({transform:"rotate(45deg)"})),xt("active-desc, desc",ze({transform:"rotate(-45deg)"})),St("active-asc <=> active-desc",Ct(bu))]),arrowOpacity:mi("arrowOpacity",[xt("desc-to-active, asc-to-active, active",ze({opacity:1})),xt("desc-to-hint, asc-to-hint, hint",ze({opacity:.54})),xt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",ze({opacity:0})),St("* => asc, * => desc, * => active, * => hint, * => void",Ct("0ms")),St("* <=> *",Ct(bu))]),arrowPosition:mi("arrowPosition",[St("* => desc-to-hint, * => desc-to-active",Ct(bu,Ac([ze({transform:"translateY(-25%)"}),ze({transform:"translateY(0)"})]))),St("* => hint-to-desc, * => active-to-desc",Ct(bu,Ac([ze({transform:"translateY(0)"}),ze({transform:"translateY(25%)"})]))),St("* => asc-to-hint, * => asc-to-active",Ct(bu,Ac([ze({transform:"translateY(25%)"}),ze({transform:"translateY(0)"})]))),St("* => hint-to-asc, * => active-to-asc",Ct(bu,Ac([ze({transform:"translateY(0)"}),ze({transform:"translateY(-25%)"})]))),xt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",ze({transform:"translateY(0)"})),xt("hint-to-desc, active-to-desc, desc",ze({transform:"translateY(-25%)"})),xt("hint-to-asc, active-to-asc, asc",ze({transform:"translateY(25%)"}))]),allowChildren:mi("allowChildren",[St("* <=> *",[Do("@*",Jm(),{optional:!0})])])};let Hy=(()=>{class n{constructor(){this.changes=new xe.xQ}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Mz={provide:Hy,deps:[[new t.FiY,new t.tp0,Hy]],useFactory:function wz(n){return n||new Hy}},vz=new t.OlP("MAT_SORT_DEFAULT_OPTIONS"),Tz=Jg(sr(class{}));let pr=(()=>{class n extends Tz{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new xe.xQ,this.start="asc",this._direction="",this.sortChange=new t.vpe}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=qe(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var i,s,a;if(!e)return"";const r=null!==(s=null!==(i=null==e?void 0:e.disableClear)&&void 0!==i?i:this.disableClear)&&void 0!==s?s:!!(null===(a=this._defaultOptions)||void 0===a?void 0:a.disableClear);let c=function Cz(n,o){let e=["asc","desc"];return"desc"==n&&e.reverse(),o||e.push(""),e}(e.start||this.start,r),u=c.indexOf(this.direction)+1;return u>=c.length&&(u=0),c[u]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(vz,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[t.qOj,t.TTD]}),n})();const Sz=sr(class{});let C1=(()=>{class n extends Sz{constructor(e,i,s,a,r,c,u){super(),this._intl=e,this._changeDetectorRef=i,this._sort=s,this._columnDef=a,this._focusMonitor=r,this._elementRef=c,this._ariaDescriber=u,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=qe(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=!!e;i!==this._showIndicatorHint&&(this._setIndicatorHintVisible(i),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){var i,s;this._sortButton&&(null===(i=this._ariaDescriber)||void 0===i||i.removeDescription(this._sortButton,this._sortActionDescription),null===(s=this._ariaDescriber)||void 0===s||s.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=(0,Oi.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Hy),t.Y36(t.sBO),t.Y36(pr,8),t.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),t.Y36(eo),t.Y36(t.SBq),t.Y36(dw,8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,i){1&e&&t.NdJ("click",function(){return i._handleClick()})("keydown",function(a){return i._handleKeydown(a)})("mouseenter",function(){return i._setIndicatorHintVisible(!0)})("mouseleave",function(){return i._setIndicatorHintVisible(!1)}),2&e&&(t.uIk("aria-sort",i._getAriaSortAttribute()),t.ekj("mat-sort-header-disabled",i._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[t.qOj],attrs:bz,ngContentSelectors:Az,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,i){1&e&&(t.F$t(),t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.Hsn(2),t.qZA(),t.YNc(3,yz,6,6,"div",2),t.qZA()),2&e&&(t.ekj("mat-sort-header-sorted",i._isSorted())("mat-sort-header-position-before","before"==i.arrowPosition),t.uIk("tabindex",i._isDisabled()?null:0),t.xp6(3),t.Q6J("ngIf",i._renderArrow()))},directives:[_.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[op.indicator,op.leftPointer,op.rightPointer,op.arrowOpacity,op.arrowPosition,op.allowChildren]},changeDetection:0}),n})(),By=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[Mz],imports:[[_.ez,ut]]}),n})(),Ez=(()=>{class n{constructor(e){this.elementRef=e}ngOnInit(){this.elementRef.nativeElement.focus()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq))},n.\u0275dir=t.lG2({type:n,selectors:[["","perunWebAppsAutoFocus",""]]}),n})(),Sk=(()=>{class n{constructor(){}onClick(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){const i=this.perunWebAppsMiddleClickRouterLink.join("/"),s=location.search;window.open(i+s)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(e,i){1&e&&t.NdJ("mouseup",function(a){return i.onClick(a)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),n})(),kz=(()=>{class n{transform(e){const i=e.find(s=>"mail"===s.friendlyName);return i?i.value.toString():"N/A"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"getMailFromAttributes",type:n,pure:!0}),n})();function Dz(n,o){1&n&&t._UZ(0,"th",18)}function xz(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"td",19),t.TgZ(1,"span",20),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.TgZ(4,"mat-checkbox",21),t.NdJ("change",function(s){const r=t.CHM(e).$implicit,c=t.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.xp6(1),t.s9C("matTooltip",t.lcZ(2,6,t.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.CANNOT_BE_DELETED_TOOLTIP"))),t.Q6J("matTooltipPosition","above")("matTooltipDisabled",!e.userExtSource.persistent),t.xp6(3),t.Q6J("aria-label",i.checkboxLabel(e))("checked",i.selection.isSelected(e))("disabled",e.userExtSource.persistent)}}function Lz(n,o){1&n&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))," "))}function Rz(n,o){if(1&n&&(t.TgZ(0,"td",23),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.hij(" ",e.userExtSource.id," ")}}function Oz(n,o){1&n&&(t.TgZ(0,"th",24),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))," "))}function Pz(n,o){if(1&n&&(t.TgZ(0,"td",23),t._uU(1),t.ALo(2,"getMailFromAttributes"),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,e.attributes)," ")}}function zz(n,o){if(1&n&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,e.extSourceNameHeader?e.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME"))," ")}}function Iz(n,o){if(1&n&&(t.TgZ(0,"td",23),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.hij(" ",e.userExtSource.extSource.name," ")}}function Nz(n,o){if(1&n&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,e.loginHeader?e.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN"))," ")}}function Hz(n,o){if(1&n&&(t.TgZ(0,"td",23),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.hij(" ",e.userExtSource.login," ")}}function Bz(n,o){1&n&&(t.TgZ(0,"th",22),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))," "))}function Fz(n,o){if(1&n&&(t.TgZ(0,"td",25),t._uU(1),t.ALo(2,"date"),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.userExtSource.lastAccess,"d.M.y H:mm:ss")," ")}}function qz(n,o){1&n&&t._UZ(0,"tr",26)}const Ek=function(n,o){return["/admin","users",n,"identities",o]};function jz(n,o){if(1&n&&t._UZ(0,"tr",27),2&n){const e=o.$implicit,i=t.oxw();t.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),t.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:t.WLB(6,Ek,i.userId,e.userExtSource.id))("routerLink",i.disableRouting?null:t.WLB(9,Ek,i.userId,e.userExtSource.id))}}function Yz(n,o){1&n&&(t.TgZ(0,"app-alert",28),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Uz(n,o){1&n&&(t.TgZ(0,"app-alert",28),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let Gz=(()=>{class n{constructor(e,i){this.route=e,this.authResolver=i,this.selection=new _n,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSizeOptions=$f}set matSort(e){this.sort=e,this.setDataSource()}ngOnInit(){this.disableRouting||this.route.parent.params.subscribe(e=>{this.userId=e.userId}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new Ha(this.userExtSources),this.setDataSource()}getDataForColumn(e,i){switch(i){case"id":return e.userExtSource.id.toString();case"mail":{const s=e.attributes.find(a=>"mail"===a.friendlyName);return s?s.value.toString():"N/A"}case"extSourceName":return e.userExtSource.extSource.name;case"login":return e.userExtSource.login;case"lastAccess":return e.userExtSource.lastAccess.split(".")[0];default:return e[i]}}exportData(e){Qf(Xf(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,i)=>p1(e,i,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,i)=>f1(e,i,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(e){return`${this.selection.isSelected(e.userExtSource)?"deselect":"select"} row ${e.userExtSource.id+1}`}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(As),t.Y36(Ga))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(e,i){if(1&e&&(t.Gf(cr,7),t.Gf(pr,7)),2&e){let s;t.iGM(s=t.CRH())&&(i.child=s.first),t.iGM(s=t.CRH())&&(i.matSort=s.first)}},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",tableId:"tableId",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},features:[t.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","extSourceName"],["matColumnDef","login"],["matColumnDef","lastAccess",1,"pl-3"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(a){return i.exportData(a)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,Dz,1,0,"th",4),t.YNc(5,xz,5,10,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,Lz,4,5,"th",7),t.YNc(8,Rz,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,Oz,4,5,"th",10),t.YNc(11,Pz,3,3,"td",8),t.BQk(),t.ynx(12,11),t.YNc(13,zz,4,5,"th",7),t.YNc(14,Iz,2,1,"td",8),t.BQk(),t.ynx(15,12),t.YNc(16,Nz,4,5,"th",7),t.YNc(17,Hz,2,1,"td",8),t.BQk(),t.ynx(18,13),t.YNc(19,Bz,4,5,"th",7),t.YNc(20,Fz,3,4,"td",14),t.BQk(),t.YNc(21,qz,1,0,"tr",15),t.YNc(22,jz,1,12,"tr",16),t.qZA(),t.qZA(),t.qZA(),t.YNc(23,Yz,3,3,"app-alert",17),t.YNc(24,Uz,4,5,"app-alert",17)),2&e&&(t.Q6J("hidden",0===i.userExtSources.length||0===i.dataSource.filteredData.length),t.xp6(1),t.Q6J("tableId",i.tableId)("dataLength",i.dataSource.filteredData.length)("pageSizeOptions",i.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",i.dataSource),t.xp6(19),t.Q6J("matHeaderRowDef",i.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",i.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===i.dataSource.filteredData.length&&0!==i.userExtSources.length),t.xp6(1),t.Q6J("ngIf",0===i.userExtSources.length))},directives:[cr,Ur,pr,dr,ur,hr,lr,fr,xs,Wc,C1,Gr,Wr,Vr,Kr,Sk,S,_.O5,Zn],pipes:[at,oi,kz,_.uU],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),n})();function Vz(n,o){1&n&&t._UZ(0,"mat-spinner",3)}function Wz(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"h1",8),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"customTranslate"),t.qZA(),t.TgZ(5,"button",5),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).addIdentity()}),t._uU(6),t.ALo(7,"translate"),t.ALo(8,"customTranslate"),t.qZA(),t.TgZ(9,"button",6),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return s.removeIdentity(s.certSelection)}),t._uU(10),t.ALo(11,"translate"),t.ALo(12,"customTranslate"),t.qZA(),t._UZ(13,"perun-web-apps-user-ext-sources-list",11),t.qZA()}if(2&n){const e=t.oxw(2);t.xp6(2),t.Oqu(t.lcZ(3,10,t.lcZ(4,12,"IDENTITIES.CERT"))),t.xp6(4),t.hij(" ",t.lcZ(7,14,t.lcZ(8,16,"IDENTITIES.ADD"))," "),t.xp6(3),t.Q6J("disabled",0===e.certSelection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(11,18,t.lcZ(12,20,"IDENTITIES.REMOVE"))," "),t.xp6(3),t.Q6J("userExtSources",e.certExtSources)("selection",e.certSelection)("extSourceNameHeader",e.extSourceNameCert)("loginHeader",e.loginCert)("displayedColumns",e.displayedColumnsCert)("disableRouting",!0)}}function Kz(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"h1",4),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"customTranslate"),t.qZA(),t.TgZ(5,"button",5),t.NdJ("click",function(){return t.CHM(e),t.oxw().addIdentity()}),t._uU(6),t.ALo(7,"translate"),t.ALo(8,"customTranslate"),t.qZA(),t.TgZ(9,"button",6),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return s.removeIdentity(s.idpSelection)}),t._uU(10),t.ALo(11,"translate"),t.ALo(12,"customTranslate"),t.qZA(),t._UZ(13,"perun-web-apps-user-ext-sources-list",7),t.YNc(14,Wz,14,22,"div",2),t.TgZ(15,"h1",8),t._uU(16),t.ALo(17,"translate"),t.ALo(18,"customTranslate"),t.TgZ(19,"mat-icon",9),t.ALo(20,"translate"),t.ALo(21,"customTranslate"),t._uU(22," info_outline "),t.qZA(),t.qZA(),t._UZ(23,"perun-web-apps-user-ext-sources-list",10),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,17,t.lcZ(4,19,"IDENTITIES.IDP"))),t.xp6(4),t.hij(" ",t.lcZ(7,21,t.lcZ(8,23,"IDENTITIES.ADD"))," "),t.xp6(3),t.Q6J("disabled",0===e.idpSelection.selected.length),t.xp6(1),t.hij(" ",t.lcZ(11,25,t.lcZ(12,27,"IDENTITIES.REMOVE"))," "),t.xp6(3),t.Q6J("userExtSources",e.idpExtSources)("selection",e.idpSelection)("displayedColumns",e.displayedColumnsIdp)("loginHeader",e.loginIdp)("disableRouting",!0),t.xp6(1),t.Q6J("ngIf",e.displayCertificates),t.xp6(2),t.hij(" ",t.lcZ(17,29,t.lcZ(18,31,"IDENTITIES.OTHER"))," "),t.xp6(3),t.Q6J("matTooltip",t.lcZ(20,33,t.lcZ(21,35,"IDENTITIES.OTHER_TOOLTIP"))),t.xp6(4),t.Q6J("userExtSources",e.otherExtSources)("selection",e.otherSelection)("extSourceNameHeader",e.extSourceNameOther)("displayedColumns",e.displayedColumnsOther)("disableRouting",!0)}}let Zz=(()=>{class n{constructor(e,i,s,a,r){this.usersManagerService=e,this.storage=i,this.registrarManagerService=s,this.dialog=a,this.attributesManagerService=r,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.idpSelection=new _n(!0,[]),this.certSelection=new _n(!0,[]),this.otherSelection=new _n(!0,[]),this.loginIdp="IDENTITIES.LOGIN_IDP",this.extSourceNameCert="IDENTITIES.EXT_SOURCE_NAME_CERT",this.loginCert="IDENTITIES.LOGIN_CERT",this.extSourceNameOther="IDENTITIES.EXT_SOURCE_NAME_OTHER",this.displayedColumnsIdp=["select","extSourceName","login","lastAccess"],this.displayedColumnsCert=["select","extSourceName","login","lastAccess"],this.displayedColumnsOther=["extSourceName","login","lastAccess"]}ngOnInit(){this.userId=this.storage.getPerunPrincipal().userId,this.displayCertificates=this.storage.get("display_identity_certificates"),this.refreshTables()}refreshTables(){this.loading=!0,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.usersManagerService.getRichUserExtSources(this.userId).subscribe(e=>{let i=e.length;e.forEach(s=>{this.attributesManagerService.getUserExtSourceAttributeByName(s.userExtSource.id,"urn:perun:ues:attribute-def:def:sourceIdPName").subscribe(a=>{a&&a.value?(s.userExtSource.extSource.name=a.value,i--,this.loading=0!==i,this.addToList(s)):this.attributesManagerService.getUserExtSourceAttributeByName(s.userExtSource.id,"urn:perun:ues:attribute-def:def:IdPOrganizationName").subscribe(r=>{i--,r&&r.value&&(s.userExtSource.extSource.name=r.value),this.loading=0!==i,this.addToList(s)})})})})}addIdentity(){this.registrarManagerService.getConsolidatorToken().subscribe(e=>{const i=this.storage.getPerunPrincipal().extSourceType,s=this.storage.get("consolidator_base_url");window.location.href=`${s}${i&&i.endsWith("X509")?"cert":"fed"}-ic/ic/?target_url=${window.location.href}&token=${e}`})}removeIdentity(e){const i=Hi();i.width="600px",i.data={theme:"user-theme",userId:this.userId,extSources:e.selected},this.dialog.open(q2,i).afterClosed().subscribe(a=>{a&&(e.clear(),this.refreshTables())})}addToList(e){e.userExtSource.extSource.type.endsWith("Idp")?this.idpExtSources.push(e):e.userExtSource.extSource.type.endsWith("X509")?this.certExtSources.push(e):this.otherExtSources.push(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(zi),t.Y36($t),t.Y36(ti),t.Y36(Zi),t.Y36(ei))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-identities-page"]],decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"page-title"],["mat-flat-button","","color","accent",1,"action-button",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[3,"userExtSources","selection","displayedColumns","loginHeader","disableRouting"],[1,"page-title","mt-5"],["matTooltipPosition","above",1,"center-icon",3,"matTooltip"],[3,"userExtSources","selection","extSourceNameHeader","displayedColumns","disableRouting"],[3,"userExtSources","selection","extSourceNameHeader","loginHeader","displayedColumns","disableRouting"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,Vz,1,0,"mat-spinner",1),t.YNc(2,Kz,24,37,"div",2),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[_.O5,In,zt,Gz,An,xs],pipes:[at,oi],styles:[".center-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),n})();const $z=["panel"];function Xz(n,o){if(1&n&&(t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA()),2&n){const e=o.id,i=t.oxw();t.Q6J("id",i.id)("ngClass",i._classList),t.uIk("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}const Qz=["*"];let Jz=0;class eI{constructor(o,e){this.source=o,this.option=e}}const tI=no(class{}),kk=new t.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function iI(){return{autoActiveFirstOption:!1}}});let nI=(()=>{class n extends tI{constructor(e,i,s,a){super(),this._changeDetectorRef=e,this._elementRef=i,this._activeOptionChanges=V.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new t.vpe,this.opened=new t.vpe,this.closed=new t.vpe,this.optionActivated=new t.vpe,this._classList={},this.id="mat-autocomplete-"+Jz++,this.inertGroups=(null==a?void 0:a.SAFARI)||!1,this._autoActiveFirstOption=!!s.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=qe(e)}set classList(e){this._classList=e&&e.length?function j1(n,o=/\s+/){const e=[];if(null!=n){const i=Array.isArray(n)?n:`${n}`.split(o);for(const s of i){const a=`${s}`.trim();a&&e.push(a)}}return e}(e).reduce((i,s)=>(i[s]=!0,i),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new Ol(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const i=new eI(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(kk),t.Y36(gi))},n.\u0275dir=t.lG2({type:n,viewQuery:function(e,i){if(1&e&&(t.Gf(t.Rgc,7),t.Gf($z,5)),2&e){let s;t.iGM(s=t.CRH())&&(i.template=s.first),t.iGM(s=t.CRH())&&(i.panel=s.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[t.qOj]}),n})(),sI=(()=>{class n extends nI{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(e,i,s){if(1&e&&(t.Suo(s,ff,5),t.Suo(s,Dc,5)),2&e){let a;t.iGM(a=t.CRH())&&(i.optionGroups=a),t.iGM(a=t.CRH())&&(i.options=a)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[t._Bn([{provide:hf,useExisting:n}]),t.qOj],ngContentSelectors:Qz,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,i){1&e&&(t.F$t(),t.YNc(0,Xz,3,4,"ng-template"))},directives:[_.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),n})();const Dk=new t.OlP("mat-autocomplete-scroll-strategy"),rI={provide:Dk,deps:[zs],useFactory:function oI(n){return()=>n.scrollStrategies.reposition()}},aI={provide:is,useExisting:(0,t.Gpc)(()=>xk),multi:!0};let cI=(()=>{class n{constructor(e,i,s,a,r,c,u,h,g,O,$){this._element=e,this._overlay=i,this._viewContainerRef=s,this._zone=a,this._changeDetectorRef=r,this._dir=u,this._formField=h,this._document=g,this._viewportRuler=O,this._defaults=$,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=V.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new xe.xQ,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=qn(()=>{const re=this.autocomplete?this.autocomplete.options:null;return re?re.changes.pipe(li(re),(0,Ii.w)(()=>(0,Oi.T)(...re.map(ye=>ye.onSelectionChange)))):this._zone.onStable.pipe((0,Zt.q)(1),(0,Ii.w)(()=>this.optionSelections))}),this._scrollStrategy=c}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=qe(e)}ngAfterViewInit(){const e=this._getWindow();void 0!==e&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();void 0!==e&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,Oi.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,Ht.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,Ht.h)(()=>this._overlayAttached)):(0,Ge.of)()).pipe((0,ct.U)(e=>e instanceof X_?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,Oi.T)(vo(this._document,"click"),vo(this._document,"auxclick"),vo(this._document,"touchend")).pipe((0,Ht.h)(e=>{const i=Js(e),s=this._formField?this._formField._elementRef.nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&(!s||!s.contains(i))&&(!a||!a.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve().then(()=>this._setTriggerValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const i=e.keyCode;if(27===i&&!Un(e)&&e.preventDefault(),this.activeOption&&13===i&&this.panelOpen&&!Un(e))this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const s=this.autocomplete._keyManager.activeItem,a=38===i||40===i;this.panelOpen||9===i?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this.openPanel(),(a||this.autocomplete._keyManager.activeItem!==s)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(e){let i=e.target,s=i.value;"number"===i.type&&(s=""==s?null:parseFloat(s)),this._previousValue!==s&&(this._previousValue=s,this._onChange(s),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const e=this._zone.onStable.pipe((0,Zt.q)(1)),i=this.autocomplete.options.changes.pipe((0,U.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,j.g)(0));return(0,Oi.T)(e,i).pipe((0,Ii.w)(()=>{const s=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),s!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,Zt.q)(1)).subscribe(s=>this._setValueAndClose(s))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(e){const i=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e,s=null!=i?i:"";this._formField?this._formField._control.value=s:this._element.nativeElement.value=s,this._previousValue=s}_setValueAndClose(e){const i=e&&e.source;i&&(this._clearPreviousSelectedOption(i),this._setTriggerValue(i.value),this._onChange(i.value),this.autocomplete._emitSelectEvent(i),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(i=>{i!==e&&i.selected&&i.deselect()})}_attachOverlay(){var e;let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new Ma(this.autocomplete.template,this._viewContainerRef,{id:null===(e=this._formField)||void 0===e?void 0:e.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,i.keydownEvents().subscribe(a=>{(27===a.keyCode&&!Un(a)||38===a.keyCode&&Un(a,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),a.stopPropagation(),a.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})})),i&&!i.hasAttached()&&(i.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const s=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&s!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var e;return new xh({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(e=this._defaults)||void 0===e?void 0:e.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],s=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:s},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:s}];let r;r="above"===this.position?a:"below"===this.position?i:[...i,...a],e.withPositions(r)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){var e;return(null===(e=this._document)||void 0===e?void 0:e.defaultView)||window}_scrollToOption(e){const i=this.autocomplete,s=xc(e,i.options,i.optionGroups);if(0===e&&1===s)i._setScrollTop(0);else if(i.panel){const a=i.options.toArray()[e];if(a){const r=a._getHostElement(),c=Q_(r.offsetTop,r.offsetHeight,i._getScrollTop(),i.panel.nativeElement.offsetHeight);i._setScrollTop(c)}}}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(zs),t.Y36(t.s_b),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(Dk),t.Y36(xn,8),t.Y36(eu,9),t.Y36(_.K0,8),t.Y36(wa),t.Y36(kk,8))},n.\u0275dir=t.lG2({type:n,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[t.TTD]}),n})(),xk=(()=>{class n extends cI{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,i){1&e&&t.NdJ("focusin",function(){return i._handleFocus()})("blur",function(){return i._onTouched()})("input",function(a){return i._handleInput(a)})("keydown",function(a){return i._handleKeydown(a)}),2&e&&t.uIk("autocomplete",i.autocompleteAttribute)("role",i.autocompleteDisabled?null:"combobox")("aria-autocomplete",i.autocompleteDisabled?null:"list")("aria-activedescendant",i.panelOpen&&i.activeOption?i.activeOption.id:null)("aria-expanded",i.autocompleteDisabled?null:i.panelOpen.toString())("aria-owns",i.autocompleteDisabled||!i.panelOpen||null==i.autocomplete?null:i.autocomplete.id)("aria-haspopup",!i.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[t._Bn([aI]),t.qOj]}),n})(),lI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[rI],imports:[[Ll,Md,ut,_.ez],$o,Md,ut]}),n})(),uI=(()=>{class n{transform(e){return e&&e.value?e.value:"never"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"validateExpiration",type:n,pure:!0}),n})();function dI(n,o){1&n&&t._UZ(0,"th",17)}function hI(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"td",18),t.TgZ(1,"mat-checkbox",19),t.NdJ("change",function(s){const r=t.CHM(e).$implicit,c=t.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),t.ALo(2,"validateExpiration"),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.xp6(1),t.Q6J("aria-label",i.checkboxLabel(e))("checked",i.selection.isSelected(e))("disabled","never"===t.lcZ(2,3,e.expirationAttribute))}}function fI(n,o){1&n&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"MEMBERSHIP_LIST.NAME"))," "))}function pI(n,o){if(1&n&&(t.TgZ(0,"td",21),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Oqu(e.entity.name)}}function gI(n,o){1&n&&(t.TgZ(0,"th",20),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"MEMBERSHIP_LIST.DESCRIPTION"))," "))}function mI(n,o){if(1&n&&(t.TgZ(0,"td",22),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Oqu(e.entity.description)}}function _I(n,o){1&n&&(t.TgZ(0,"th",23),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"MEMBERSHIP_LIST.EXPIRATION"))," "))}function bI(n,o){if(1&n&&(t.TgZ(0,"td",22),t._uU(1),t.ALo(2,"validateExpiration"),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,e.expirationAttribute)," ")}}function yI(n,o){1&n&&t._UZ(0,"th",20)}function AI(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"td",22),t.TgZ(1,"button",24),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw().extend(a)}),t.ALo(2,"validateExpiration"),t._uU(3),t.ALo(4,"translate"),t.ALo(5,"customTranslate"),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit;t.xp6(1),t.Q6J("disabled","never"===t.lcZ(2,2,e.expirationAttribute)),t.xp6(2),t.hij(" ",t.lcZ(4,4,t.lcZ(5,6,"MEMBERSHIP_LIST.EXTEND"))," ")}}function wI(n,o){1&n&&t._UZ(0,"tr",25)}function MI(n,o){1&n&&t._UZ(0,"tr",26)}function vI(n,o){1&n&&(t.TgZ(0,"app-alert",27),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"MEMBERSHIP_LIST.NO_MEMBERSHIPS"))))}let Lk=(()=>{class n{constructor(){this.members=[],this.searchString="",this.selection=new _n(!1,[]),this.displayedColumns=["checkbox","name","description","expirationAttribute","extend"],this.filterValue="",this.extendMembership=new t.vpe,this.pageSizeOptions=$f}set matSort(e){this.sort=e,this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}ngOnChanges(){this.dataSource=new Ha(this.members),this.setDataSource()}getDataForColumn(e,i){switch(i){case"name":return e.entity.name;case"description":return"description"in e.entity?e.entity.description:"";case"expirationAttribute":return e.expirationAttribute&&e.expirationAttribute.value?e.expirationAttribute.value:"never";default:return""}}exportData(e){Qf(Xf(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,i)=>p1(e,i,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,i)=>f1(e,i,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(e){return`${this.selection.isSelected(e)?"deselect":"select"} row ${e.entity.id+1}`}extend(e){this.extendMembership.emit(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-membership-list"]],viewQuery:function(e,i){if(1&e&&(t.Gf(pr,7),t.Gf(cr,7)),2&e){let s;t.iGM(s=t.CRH())&&(i.matSort=s.first),t.iGM(s=t.CRH())&&(i.child=s.first)}},inputs:{members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",filterValue:"filterValue"},outputs:{extendMembership:"extendMembership"},features:[t.TTD],decls:21,vars:8,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","expirationAttribute","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["matColumnDef","expirationAttribute"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","extend"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-cell","","mat-sort-header",""],["color","accent","mat-flat-button","",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(a){return i.exportData(a)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,dI,1,0,"th",4),t.YNc(5,hI,3,5,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,fI,4,5,"th",7),t.YNc(8,pI,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,gI,4,5,"th",7),t.YNc(11,mI,2,1,"td",10),t.BQk(),t.ynx(12,11),t.YNc(13,_I,4,5,"th",12),t.YNc(14,bI,3,3,"td",10),t.BQk(),t.ynx(15,13),t.YNc(16,yI,1,0,"th",7),t.YNc(17,AI,6,8,"td",10),t.BQk(),t.YNc(18,wI,1,0,"tr",14),t.YNc(19,MI,1,0,"tr",15),t.qZA(),t.qZA(),t.qZA(),t.YNc(20,vI,4,5,"app-alert",16)),2&e&&(t.Q6J("hidden",!i.dataSource.filteredData.length),t.xp6(1),t.Q6J("dataLength",i.dataSource.filteredData.length)("tableId",i.tableId)("pageSizeOptions",i.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",i.dataSource),t.xp6(16),t.Q6J("matHeaderRowDef",i.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",i.displayedColumns),t.xp6(1),t.Q6J("ngIf",!i.dataSource.filteredData.length))},directives:[cr,Ur,pr,dr,ur,hr,lr,fr,Wc,C1,zt,Gr,Wr,Vr,Kr,_.O5,Zn],pipes:[uI,at,oi],styles:[""]}),n})();function TI(n,o){if(1&n&&(t.TgZ(0,"mat-option",13),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.Q6J("value",e),t.xp6(1),t.hij(" ",e.name," ")}}function CI(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-form-field",7),t.TgZ(1,"mat-label"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t._UZ(4,"input",8),t.ALo(5,"translate"),t.ALo(6,"customTranslate"),t.TgZ(7,"mat-autocomplete",9,10),t.NdJ("optionSelected",function(s){return t.CHM(e),t.oxw().filterByVo(s)}),t.TgZ(9,"mat-option",11),t._uU(10),t.ALo(11,"translate"),t.ALo(12,"customTranslate"),t.qZA(),t.YNc(13,TI,2,2,"mat-option",12),t.ALo(14,"async"),t.qZA(),t.qZA()}if(2&n){const e=t.MAs(8),i=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,7,"GROUPS.SELECT_VO")),t.xp6(2),t.s9C("placeholder",t.lcZ(5,9,t.lcZ(6,11,"GROUPS.SELECT_VO"))),t.Q6J("formControl",i.myControl)("matAutocomplete",e),t.xp6(3),t.Q6J("displayWith",i.displayFn),t.xp6(3),t.Oqu(t.lcZ(11,13,t.lcZ(12,15,"GROUPS.ALL"))),t.xp6(3),t.Q6J("ngForOf",t.lcZ(14,17,i.filteredVos))}}function SI(n,o){1&n&&t._UZ(0,"mat-spinner",14)}function EI(n,o){1&n&&(t.TgZ(0,"app-alert",15),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"GROUPS.NO_GROUPS"))))}const kI=function(){return["name","description","expirationAttribute","extend"]};function DI(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"h4",16),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"customTranslate"),t.qZA(),t.TgZ(5,"perun-web-apps-membership-list",17),t.NdJ("extendMembership",function(s){return t.CHM(e),t.oxw().extendMembership(s)}),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,4,t.lcZ(4,6,"GROUPS.MEMBER_GROUPS"))),t.xp6(3),t.Q6J("members",e.userMemberships)("selection",e.selection)("displayedColumns",t.DdM(8,kI))}}const xI=function(){return["name","description"]};function LI(n,o){if(1&n&&(t.TgZ(0,"div",18),t.TgZ(1,"h4",16),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"customTranslate"),t.qZA(),t._UZ(5,"perun-web-apps-membership-list",19),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,3,t.lcZ(4,5,"GROUPS.ADMINS_GROUPS"))),t.xp6(3),t.Q6J("members",e.adminMemberships)("displayedColumns",t.DdM(7,xI))}}let RI=(()=>{class n{constructor(e,i,s,a,r,c){this.usersService=e,this.memberService=i,this.groupService=s,this.store=a,this.vosManagerService=r,this.attributesManagerService=c,this.loading=!1,this.vos=[],this.myControl=new fs,this.selection=new _n(!1,[]),this.displayedColumns=["id","name"],this.userMemberships=[],this.adminMemberships=[]}ngOnInit(){this.loading=!0,this.userId=this.store.getPerunPrincipal().userId,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e,this.filteredVos=this.myControl.valueChanges.pipe(li(""),(0,ct.U)(i=>this._filter(i))),this.getAllGroups()})}_filter(e){const i="string"==typeof e?e.toLowerCase():e.name.toLowerCase;return this.vos.filter(s=>s.name.toLowerCase().includes(i))}getAllGroups(){this.loading=!0;let e=0,i=0;this.userMemberships=[],this.adminMemberships=[];const s=this.store.getPerunPrincipal().roles.SELF.Member;s.length?i=s.length:this.loading=!1,s.forEach(a=>{i--,this.groupService.getMemberGroups(a).subscribe(r=>{e+=r.length,this.loading=0===e&&0!==i,r.forEach(c=>{this.attributesManagerService.getMemberGroupAttributes(a,c.id).subscribe(u=>{e--,this.userMemberships.push({entity:c,expirationAttribute:u.find(h=>"groupMembershipExpiration"===h.friendlyName)}),this.loading=0!==e})})})}),this.usersService.getGroupsWhereUserIsAdmin(this.userId).subscribe(a=>{a.forEach(r=>{this.adminMemberships.push({entity:r,expirationAttribute:null})})})}displayFn(e){return e?e.name:null}filterByVo(e){if("all"===e.option.value)this.getAllGroups();else{this.userMemberships=[],this.adminMemberships=[],this.loading=!0;const i=e.option.value;this.memberService.getMemberByUser(i.id,this.userId).subscribe(s=>{this.groupService.getMemberGroups(s.id).subscribe(a=>{let r=a.length;this.loading=0!==r,a.forEach(c=>{this.attributesManagerService.getMemberGroupAttributes(s.id,c.id).subscribe(u=>{r--,this.userMemberships.push({entity:c,expirationAttribute:u.find(h=>"groupMembershipExpiration"===h.friendlyName)}),this.loading=0!==r})})})}),this.usersService.getGroupsInVoWhereUserIsAdmin(this.userId,i.id).subscribe(s=>{s.forEach(a=>{this.adminMemberships.push({entity:a,expirationAttribute:null})})})}}extendMembership(e){const i=this.store.get("registrar_base_url"),s=e.entity,a=this.vos.find(r=>r.id===s.voId).shortName;window.location.href=`${i}?vo=${a}&group=${e.entity.shortName}`}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(zi),t.Y36(_t),t.Y36(xi),t.Y36($t),t.Y36(_r),t.Y36(ei))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-groups-page"]],decls:10,vars:10,consts:[[1,"page-title","pt-2"],[1,"user-theme"],["class","mr-2 w-75",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"mr-2","w-75"],["type","text","aria-label","Assignee","matInput","",3,"placeholder","formControl","matAutocomplete"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["value","all"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mr-auto","ml-auto"],["alert_type","warn"],[1,"page-subtitle"],[3,"members","selection","displayedColumns","extendMembership"],[1,"mt-5"],[3,"members","displayedColumns"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"div",1),t.YNc(5,CI,15,19,"mat-form-field",2),t.YNc(6,SI,1,0,"mat-spinner",3),t.YNc(7,EI,4,5,"app-alert",4),t.YNc(8,DI,6,9,"div",5),t.YNc(9,LI,6,8,"div",6),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,6,t.lcZ(3,8,"GROUPS.TITLE"))),t.xp6(4),t.Q6J("ngIf",!i.loading),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.userMemberships.length&&!i.adminMemberships.length&&!i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading&&0!==i.userMemberships.length),t.xp6(1),t.Q6J("ngIf",!i.loading&&0!==i.adminMemberships.length))},directives:[_.O5,Pi,rr,zn,ji,xk,yn,ar,sI,Dc,_.sg,In,Zn,Lk],pipes:[at,oi,_.Ov],styles:[""]}),n})();function OI(n,o){if(1&n&&(t._UZ(0,"input",3),t.ALo(1,"translate")),2&n){const e=t.oxw();t.s9C("placeholder",t.lcZ(1,2,e.placeholder)),t.Q6J("formControl",e.formControl)}}function PI(n,o){if(1&n&&(t._UZ(0,"input",4),t.ALo(1,"translate")),2&n){const e=t.oxw();t.s9C("placeholder",t.lcZ(1,2,e.placeholder)),t.Q6J("formControl",e.formControl)}}let rp=(()=>{class n{constructor(){this.filter=new t.vpe,this.autoFocus=!1,this.formControl=new fs}ngOnInit(){this.formControl.valueChanges.subscribe(e=>{let i=e.trim();i=i.toLowerCase(),this.filter.emit(i)})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","mr-2"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(e,i){1&e&&(t.TgZ(0,"mat-form-field",0),t.YNc(1,OI,2,4,"input",1),t.YNc(2,PI,2,4,"input",2),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",i.autoFocus),t.xp6(1),t.Q6J("ngIf",!i.autoFocus))},directives:[Pi,_.O5,zn,ji,Ez,yn,ar],pipes:[at],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),n})(),zI=0;const vT=new t.OlP("CdkAccordion");let II=(()=>{class n{constructor(){this._stateChanges=new xe.xQ,this._openCloseAllActions=new xe.xQ,this.id="cdk-accordion-"+zI++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=qe(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[t._Bn([{provide:vT,useExisting:n}]),t.TTD]}),n})(),NI=0,HI=(()=>{class n{constructor(e,i,s){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=s,this._openCloseAllSubscription=V.w.EMPTY,this.closed=new t.vpe,this.opened=new t.vpe,this.destroyed=new t.vpe,this.expandedChange=new t.vpe,this.id="cdk-accordion-child-"+NI++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=s.listen((a,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==a&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=qe(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=qe(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(vT,12),t.Y36(t.sBO),t.Y36(Ef))},n.\u0275dir=t.lG2({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[t._Bn([{provide:vT,useValue:void 0}])]}),n})(),BI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({}),n})();const FI=["body"];function qI(n,o){}const jI=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],YI=["mat-expansion-panel-header","*","mat-action-row"];function UI(n,o){if(1&n&&t._UZ(0,"span",2),2&n){const e=t.oxw();t.Q6J("@indicatorRotate",e._getExpandedState())}}const GI=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],VI=["mat-panel-title","mat-panel-description","*"],TT=new t.OlP("MAT_ACCORDION"),Rk="225ms cubic-bezier(0.4,0.0,0.2,1)",Ok={indicatorRotate:mi("indicatorRotate",[xt("collapsed, void",ze({transform:"rotate(0deg)"})),xt("expanded",ze({transform:"rotate(180deg)"})),St("expanded <=> collapsed, void => collapsed",Ct(Rk))]),bodyExpansion:mi("bodyExpansion",[xt("collapsed, void",ze({height:"0px",visibility:"hidden"})),xt("expanded",ze({height:"*",visibility:"visible"})),St("expanded <=> collapsed, void => collapsed",Ct(Rk))])};let S1=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.Rgc))},n.\u0275dir=t.lG2({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n})(),WI=0;const Pk=new t.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let E1=(()=>{class n extends HI{constructor(e,i,s,a,r,c,u){super(e,i,s),this._viewContainerRef=a,this._animationMode=c,this._hideToggle=!1,this.afterExpand=new t.vpe,this.afterCollapse=new t.vpe,this._inputChanges=new xe.xQ,this._headerId="mat-expansion-panel-header-"+WI++,this._bodyAnimationDone=new xe.xQ,this.accordion=e,this._document=r,this._bodyAnimationDone.pipe(id((h,g)=>h.fromState===g.fromState&&h.toState===g.toState)).subscribe(h=>{"void"!==h.fromState&&("expanded"===h.toState?this.afterExpand.emit():"collapsed"===h.toState&&this.afterCollapse.emit())}),u&&(this.hideToggle=u.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=qe(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(li(null),(0,Ht.h)(()=>this.expanded&&!this._portal),(0,Zt.q)(1)).subscribe(()=>{this._portal=new Ma(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(TT,12),t.Y36(t.sBO),t.Y36(Ef),t.Y36(t.s_b),t.Y36(_.K0),t.Y36(Vn,8),t.Y36(Pk,8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,i,s){if(1&e&&t.Suo(s,S1,5),2&e){let a;t.iGM(a=t.CRH())&&(i._lazyContent=a.first)}},viewQuery:function(e,i){if(1&e&&t.Gf(FI,5),2&e){let s;t.iGM(s=t.CRH())&&(i._body=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,i){2&e&&t.ekj("mat-expanded",i.expanded)("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[t._Bn([{provide:TT,useValue:void 0}]),t.qOj,t.TTD],ngContentSelectors:YI,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(t.F$t(jI),t.Hsn(0),t.TgZ(1,"div",0,1),t.NdJ("@bodyExpansion.done",function(a){return i._bodyAnimationDone.next(a)}),t.TgZ(3,"div",2),t.Hsn(4,1),t.YNc(5,qI,0,0,"ng-template",3),t.qZA(),t.Hsn(6,2),t.qZA()),2&e&&(t.xp6(1),t.Q6J("@bodyExpansion",i._getExpandedState())("id",i.id),t.uIk("aria-labelledby",i._headerId),t.xp6(4),t.Q6J("cdkPortalOutlet",i._portal))},directives:[Vp],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Ok.bodyExpansion]},changeDetection:0}),n})();class KI{}const ZI=Ec(KI);let k1=(()=>{class n extends ZI{constructor(e,i,s,a,r,c,u){super(),this.panel=e,this._element=i,this._focusMonitor=s,this._changeDetectorRef=a,this._animationMode=c,this._parentChangeSubscription=V.w.EMPTY;const h=e.accordion?e.accordion._stateChanges.pipe((0,Ht.h)(g=>!(!g.hideToggle&&!g.togglePosition))):Us.E;this.tabIndex=parseInt(u||"")||0,this._parentChangeSubscription=(0,Oi.T)(e.opened,e.closed,h,e._inputChanges.pipe((0,Ht.h)(g=>!!(g.hideToggle||g.disabled||g.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe((0,Ht.h)(()=>e._containsFocus())).subscribe(()=>s.focusVia(i,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Un(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(E1,1),t.Y36(t.SBq),t.Y36(eo),t.Y36(t.sBO),t.Y36(Pk,8),t.Y36(Vn,8),t.$8M("tabindex"))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,i){1&e&&t.NdJ("click",function(){return i._toggle()})("keydown",function(a){return i._keydown(a)}),2&e&&(t.uIk("id",i.panel._headerId)("tabindex",i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),t.Udp("height",i._getHeaderHeight()),t.ekj("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after","after"===i._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===i._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[t.qOj],ngContentSelectors:VI,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,i){1&e&&(t.F$t(GI),t.TgZ(0,"span",0),t.Hsn(1),t.Hsn(2,1),t.Hsn(3,2),t.qZA(),t.YNc(4,UI,1,1,"span",1)),2&e&&(t.xp6(4),t.Q6J("ngIf",i._showToggle()))},directives:[_.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[Ok.indicatorRotate]},changeDetection:0}),n})(),Fy=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),n})(),qy=(()=>{class n extends II{constructor(){super(...arguments),this._ownHeaders=new t.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=qe(e)}ngAfterContentInit(){this._headers.changes.pipe(li(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Ph(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,i,s){if(1&e&&t.Suo(s,k1,5),2&e){let a;t.iGM(a=t.CRH())&&(i._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("mat-accordion-multi",i.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[t._Bn([{provide:TT,useExisting:n}]),t.qOj]}),n})(),CT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.ez,ut,BI,kl]]}),n})();function $I(n,o){1&n&&(t.TgZ(0,"mat-icon",1),t.ALo(1,"translate"),t._uU(2," visibility\n"),t.qZA()),2&n&&t.s9C("matTooltip",t.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}let XI=(()=>{class n{constructor(){this.recentIds=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-recently-viewed-icon"]],inputs:{recentIds:"recentIds",id:"id"},decls:1,vars:1,consts:[["class","align-bottom disabled-icon",3,"matTooltip",4,"ngIf"],[1,"align-bottom","disabled-icon",3,"matTooltip"]],template:function(e,i){1&e&&t.YNc(0,$I,3,3,"mat-icon",0),2&e&&t.Q6J("ngIf",i.recentIds.indexOf(i.id)>-1)},directives:[_.O5,An,xs],pipes:[at],styles:[".disabled-icon[_ngcontent-%COMP%]{color:#00000042}"]}),n})();function QI(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"span",3),t.NdJ("click",function(){return t.CHM(e),t.oxw().changeStatus()}),t.ALo(1,"translate"),t.TgZ(2,"mat-icon",4),t._uU(3,"check_circle_outline"),t.qZA(),t.qZA()}2&n&&t.s9C("matTooltip",t.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function JI(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"span",3),t.NdJ("click",function(){return t.CHM(e),t.oxw().changeStatus()}),t.ALo(1,"translate"),t.TgZ(2,"mat-icon",5),t._uU(3,"block"),t.qZA(),t.qZA()}2&n&&t.s9C("matTooltip",t.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function e3(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"span",3),t.NdJ("click",function(){return t.CHM(e),t.oxw().changeStatus()}),t.ALo(1,"translate"),t.TgZ(2,"mat-icon",6),t._uU(3,"report"),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.hYB("matTooltip","",t.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",e.failureCause,"")}}function t3(n,o){1&n&&(t.TgZ(0,"span",7),t.ALo(1,"translate"),t.TgZ(2,"mat-icon",8),t._uU(3,"autorenew"),t.qZA(),t.qZA()),2&n&&t.s9C("matTooltip",t.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}let n3=(()=>{class n{constructor(e){this.dialog=e,this.status="",this.statusChange=new t.vpe}changeStatus(){const e=Hi();e.width="500px",e.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(kL,e).afterClosed().subscribe(s=>{s&&this.statusChange.emit()})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Zi))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-group-resource-status"]],inputs:{status:"status",groupId:"groupId",resourceId:"resourceId",theme:"theme",failureCause:"failureCause"},outputs:{statusChange:"statusChange"},decls:5,vars:4,consts:[[1,"flex-container"],["matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip","click"],[1,"green"],[1,"grey"],[1,"red"],["matTooltipPosition","above",3,"matTooltip"],[1,"black"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,QI,4,3,"span",1),t.YNc(2,JI,4,3,"span",1),t.YNc(3,e3,4,4,"span",1),t.YNc(4,t3,4,3,"span",2),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf","ACTIVE"===i.status),t.xp6(1),t.Q6J("ngIf","INACTIVE"===i.status),t.xp6(1),t.Q6J("ngIf","FAILED"===i.status),t.xp6(1),t.Q6J("ngIf","PROCESSING"===i.status))},directives:[_.O5,xs,An],pipes:[at],styles:[""]}),n})(),s3=(()=>{class n{transform(e){if(null==e)return null;let s="";return e.forEach(function(a){s=s.concat(a.tagName)}),s}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"resourceTagsToString",type:n,pure:!0}),n})(),o3=(()=>{class n{transform(e,i){return i?`/organizations/${e.voId}/resources/${e.id}`:`/facilities/${e.facilityId}/resources/${e.id}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"getResourceRoute",type:n,pure:!0}),n})();function r3(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"th",22),t.TgZ(1,"mat-checkbox",23),t.NdJ("change",function(s){t.CHM(e);const a=t.oxw();return s?a.masterToggle():null}),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function a3(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"td",24),t.TgZ(1,"span",25),t.ALo(2,"translate"),t.TgZ(3,"mat-checkbox",26),t.NdJ("change",function(s){const r=t.CHM(e).$implicit,c=t.oxw();return s?c.itemSelectionToggle(r):null})("click",function(s){return s.stopPropagation()}),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.xp6(1),t.s9C("matTooltip",t.lcZ(2,7,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE")),t.Q6J("matTooltipPosition","above")("matTooltipDisabled",!i.disableSelect(e)),t.xp6(2),t.Q2q("data-cy","",e.name,"-checkbox"),t.Q6J("aria-label",i.checkboxLabel(e))("checked",i.selection.isSelected(e))("disabled",i.disableSelect(e))}}function c3(n,o){1&n&&(t.TgZ(0,"th",27),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")," "))}function l3(n,o){if(1&n&&(t.TgZ(0,"td",28),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Oqu(e.id)}}function u3(n,o){1&n&&t._UZ(0,"th",29)}function d3(n,o){if(1&n&&(t.TgZ(0,"td",30),t._UZ(1,"perun-web-apps-recently-viewed-icon",31),t.qZA()),2&n){const e=o.$implicit,i=t.oxw();t.xp6(1),t.Q6J("recentIds",i.recentIds)("id",e.id)}}function h3(n,o){1&n&&t._UZ(0,"th",29)}function f3(n,o){1&n&&(t.TgZ(0,"mat-icon",33),t.ALo(1,"translate"),t._uU(2,"account_tree"),t.qZA()),2&n&&t.Q6J("matTooltip",t.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE"))}function p3(n,o){if(1&n&&(t.TgZ(0,"td",30),t.YNc(1,f3,3,3,"mat-icon",32),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf",e.sourceGroupId)}}function g3(n,o){1&n&&(t.TgZ(0,"th",27),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")," "))}function m3(n,o){if(1&n&&(t.TgZ(0,"td",30),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Oqu(e.name)}}function _3(n,o){1&n&&(t.TgZ(0,"th",27),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")," "))}function b3(n,o){if(1&n&&(t.TgZ(0,"td",30),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Oqu(e.vo.name)}}function y3(n,o){1&n&&(t.TgZ(0,"th",27),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")," "))}function A3(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"td",30),t.TgZ(1,"perun-web-apps-group-resource-status",34),t.NdJ("mouseenter",function(){return t.CHM(e),t.oxw().disabledRouting=!0})("mouseleave",function(){t.CHM(e);const s=t.oxw();return s.disabledRouting=s.disableRouting})("statusChange",function(){return t.CHM(e),t.oxw().refreshTable.emit()}),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.xp6(1),t.Q6J("theme","group-theme")("resourceId",e.id)("groupId",i.groupId)("failureCause",e.failureCause)("status",e.status)}}function w3(n,o){1&n&&(t.TgZ(0,"th",27),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")," "))}function M3(n,o){if(1&n&&(t.TgZ(0,"td",30),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Oqu(e.facility.name)}}function v3(n,o){1&n&&(t.TgZ(0,"th",27),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")," "))}function T3(n,o){if(1&n&&(t.TgZ(0,"td",30),t._uU(1),t.ALo(2,"resourceTagsToString"),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,e.resourceTags)," ")}}function C3(n,o){1&n&&(t.TgZ(0,"th",27),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")," "))}function S3(n,o){if(1&n&&(t.TgZ(0,"td",30),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Oqu(e.description)}}function E3(n,o){1&n&&t._UZ(0,"tr",35)}const k3=function(n){return[n]};function D3(n,o){if(1&n&&(t._UZ(0,"tr",36),t.ALo(1,"getResourceRoute"),t.ALo(2,"getResourceRoute")),2&n){const e=o.$implicit,i=t.oxw();t.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disabledRouting),t.Q6J("perunWebAppsMiddleClickRouterLink",t.VKq(12,k3,i.disabledRouting?null:t.xi3(1,6,e,i.routingVo)))("routerLink",i.disabledRouting?null:t.xi3(2,9,e,i.routingVo))}}function x3(n,o){1&n&&(t.TgZ(0,"app-alert",37),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function L3(n,o){1&n&&(t.TgZ(0,"app-alert",37),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let R3=(()=>{class n{constructor(e,i){this.guiAuthResolver=e,this.tableCheckbox=i,this.resources=[],this.selection=new _n(!0,[]),this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","indirectResourceAssigment","name","vo","status","facility","tags","description"],this.pageSizeOptions=$f,this.groupId=null,this.resourcesToDisableCheckbox=new Set,this.refreshTable=new t.vpe,this.allSelected=new t.vpe,this.removeAuth=!1,this.addAuth=!1,this.canBeSelected=s=>!this.disableSelect(s)}set matSort(e){this.sort=e}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.setDataSource(),this.setAuth()}getDataForColumn(e,i,s){switch(i){case"id":return e.id.toString();case"vo":return e.vo.name;case"name":return e.name;case"facility":return e.facility.name;case"description":return e.description;case"recent":return s.recentIds&&s.recentIds.indexOf(e.id)>-1?"#".repeat(s.recentIds.indexOf(e.id)):e.name;case"tags":{if(!e.resourceTags)return e[i];let r="";return e.resourceTags.forEach(function(c){r=r.concat(c.tagName)}),r}case"status":return e.status;case"uuid":return e.uuid;default:return e[i]}}exportData(e){Qf(Xf(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource||(this.dataSource=new Ha,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(e,i)=>p1(e,i,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(e,i)=>f1(e,i,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}isAllSelected(){const e=this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected);return this.allSelected.emit(e),e}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.setAuth()}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}setAuth(){const e=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce((i,s)=>i&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",e.concat([s])),!0),this.addAuth=this.selection.selected.reduce((i,s)=>i&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",e.concat([s])),!0)}itemSelectionToggle(e){this.selection.toggle(e),this.setAuth()}disableSelect(e){return this.resourcesToDisableCheckbox.has(e.id)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Ga),t.Y36(Bv))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(e,i){if(1&e&&(t.Gf(pr,7),t.Gf(cr,7)),2&e){let s;t.iGM(s=t.CRH())&&(i.matSort=s.first),t.iGM(s=t.CRH())&&(i.child=s.first)}},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId",resourcesToDisableCheckbox:"resourcesToDisableCheckbox",tableId:"tableId"},outputs:{refreshTable:"refreshTable",allSelected:"allSelected"},features:[t.TTD],decls:37,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","indirectResourceAssigment"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"],[3,"theme","resourceId","groupId","failureCause","status","mouseenter","mouseleave","statusChange"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(a){return i.exportData(a)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,r3,2,3,"th",4),t.YNc(5,a3,4,9,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,c3,3,3,"th",7),t.YNc(8,l3,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,u3,1,0,"th",10),t.YNc(11,d3,2,2,"td",11),t.BQk(),t.ynx(12,12),t.YNc(13,h3,1,0,"th",10),t.YNc(14,p3,2,1,"td",11),t.BQk(),t.ynx(15,13),t.YNc(16,g3,3,3,"th",7),t.YNc(17,m3,2,1,"td",11),t.BQk(),t.ynx(18,14),t.YNc(19,_3,3,3,"th",7),t.YNc(20,b3,2,1,"td",11),t.BQk(),t.ynx(21,15),t.YNc(22,y3,3,3,"th",7),t.YNc(23,A3,2,5,"td",11),t.BQk(),t.ynx(24,16),t.YNc(25,w3,3,3,"th",7),t.YNc(26,M3,2,1,"td",11),t.BQk(),t.ynx(27,17),t.YNc(28,v3,3,3,"th",7),t.YNc(29,T3,3,3,"td",11),t.BQk(),t.ynx(30,18),t.YNc(31,C3,3,3,"th",7),t.YNc(32,S3,2,1,"td",11),t.BQk(),t.YNc(33,E3,1,0,"tr",19),t.YNc(34,D3,3,14,"tr",20),t.qZA(),t.qZA(),t.qZA(),t.YNc(35,x3,3,3,"app-alert",21),t.YNc(36,L3,3,3,"app-alert",21)),2&e&&(t.Q6J("hidden",0===i.dataSource.filteredData.length||0===i.resources.length),t.xp6(1),t.Q6J("dataLength",i.dataSource.filteredData.length)("tableId",i.tableId)("pageSizeOptions",i.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",i.dataSource),t.xp6(31),t.Q6J("matHeaderRowDef",i.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",i.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===i.dataSource.filteredData.length&&0!==i.resources.length),t.xp6(1),t.Q6J("ngIf",0===i.resources.length))},directives:[cr,Ur,pr,dr,ur,hr,Wc,lr,fr,xs,C1,XI,_.O5,An,n3,Gr,Wr,Vr,Kr,Sk,S,Zn],pipes:[at,s3,o3],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.filter-input[_ngcontent-%COMP%]{width:300px!important}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),n})();function O3(n,o){1&n&&t._UZ(0,"mat-spinner",8)}const P3=function(){return["name","description"]};function z3(n,o){if(1&n&&t._UZ(0,"perun-web-apps-resources-list",9),2&n){const e=t.oxw(3);t.Q6J("resources",e.resources)("displayedColumns",t.DdM(3,P3))("disableRouting",!0)}}function I3(n,o){if(1&n&&(t.YNc(0,O3,1,0,"mat-spinner",6),t.YNc(1,z3,1,4,"perun-web-apps-resources-list",7)),2&n){const e=t.oxw(2);t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",!e.loading)}}function N3(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-expansion-panel",4),t.NdJ("opened",function(){const a=t.CHM(e).$implicit;return t.oxw().getMemberData(a)}),t.TgZ(1,"mat-expansion-panel-header"),t.TgZ(2,"mat-panel-title"),t._uU(3),t.qZA(),t.qZA(),t.YNc(4,I3,2,2,"ng-template",5),t.qZA()}if(2&n){const e=o.$implicit;t.xp6(3),t.hij(" ",e.name," ")}}let H3=(()=>{class n{constructor(e,i,s,a){this.usersManagerService=e,this.membersManagerService=i,this.resourcesManagerService=s,this.storage=a,this.resources=[],this.filteredVos=[]}ngOnInit(){this.userId=this.storage.getPerunPrincipal().userId,this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e,this.filteredVos=e})}getMemberData(e){this.loading=!0,this.membersManagerService.getMemberByUser(e.id,this.userId).subscribe(i=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(i.id).subscribe(s=>{this.resources=s,this.loading=!1})})}applyFilter(e){this.filteredVos=this.vos.filter(i=>i.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(zi),t.Y36(_t),t.Y36(hi),t.Y36($t))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-services-page"]],decls:10,vars:11,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"resources","displayedColumns","disableRouting",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"resources","displayedColumns","disableRouting"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"div",1),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(a){return i.applyFilter(a)}),t.ALo(6,"translate"),t.ALo(7,"customTranslate"),t.qZA(),t.TgZ(8,"mat-accordion"),t.YNc(9,N3,5,1,"mat-expansion-panel",3),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,3,t.lcZ(3,5,"SERVICES.TITLE"))),t.xp6(4),t.Q6J("placeholder",t.lcZ(6,7,t.lcZ(7,9,"SERVICES.FILTER"))),t.xp6(4),t.Q6J("ngForOf",i.filteredVos))},directives:[rp,qy,_.sg,E1,k1,Fy,S1,_.O5,In,R3],pipes:[at,oi],styles:[""]}),n})();function B3(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"perun-web-apps-immediate-filter",5),t.NdJ("filter",function(s){return t.CHM(e),t.oxw().applyFilter(s)}),t.qZA()}2&n&&t.Q6J("placeholder","ORGANIZATIONS.FILTER")}function F3(n,o){1&n&&t._UZ(0,"mat-spinner",6)}const q3=function(){return["name","expirationAttribute","extend"]};function j3(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"perun-web-apps-membership-list",11),t.NdJ("extendMembership",function(s){return t.CHM(e),t.oxw(2).extendMembership(s)}),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("members",e.userMemberships)("selection",e.selection)("filterValue",e.filterValue)("displayedColumns",t.DdM(4,q3))}}function Y3(n,o){1&n&&(t.TgZ(0,"app-alert",12),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}function U3(n,o){if(1&n&&(t.TgZ(0,"div",7),t.TgZ(1,"h1",8),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"customTranslate"),t.qZA(),t.YNc(5,j3,2,5,"div",9),t.YNc(6,Y3,4,5,"app-alert",10),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,3,t.lcZ(4,5,"ORGANIZATIONS.IS_MEMBER"))),t.xp6(3),t.Q6J("ngIf",0!==e.userMemberships.length),t.xp6(1),t.Q6J("ngIf",0===e.userMemberships.length)}}function G3(n,o){1&n&&(t.TgZ(0,"app-alert",12),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}const V3=function(){return["name"]};function W3(n,o){if(1&n&&t._UZ(0,"perun-web-apps-membership-list",14),2&n){const e=t.oxw(2);t.Q6J("members",e.adminMemberships)("filterValue",e.filterValue)("displayedColumns",t.DdM(3,V3))}}function K3(n,o){if(1&n&&(t.TgZ(0,"div",7),t.TgZ(1,"h1",8),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"customTranslate"),t.qZA(),t.YNc(5,G3,4,5,"app-alert",10),t.YNc(6,W3,1,4,"perun-web-apps-membership-list",13),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,3,t.lcZ(4,5,"ORGANIZATIONS.IS_ADMIN"))),t.xp6(3),t.Q6J("ngIf",!e.adminMemberships.length),t.xp6(1),t.Q6J("ngIf",e.adminMemberships.length)}}let Z3=(()=>{class n{constructor(e,i,s){this.usersService=e,this.store=i,this.membersService=s,this.filterValue="",this.selection=new _n(!1,[]),this.userMemberships=[],this.adminMemberships=[],this.vosCount=0}ngOnInit(){this.principal=this.store.getPerunPrincipal(),this.userId=this.principal.user.id,this.refreshTable()}refreshTable(){this.loading=!0,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.usersService.getVosWhereUserIsAdmin(this.userId).subscribe(i=>{this.vosCount=e.length+i.length,this.fillMemberships(e,this.userMemberships),this.fillMemberships(i,this.adminMemberships)})})}applyFilter(e){this.filterValue=e}isEverythingLoaded(){this.vosCount--,this.loading=0!==this.vosCount}fillMemberships(e,i){this.membersService.getMembersByUser(this.userId).subscribe(s=>{e.forEach(a=>{const r=s.find(c=>c.voId===a.id);r?this.membersService.getRichMemberWithAttributes(r.id).subscribe(c=>{const u=c.memberAttributes.find(h=>"membershipExpiration"===h.friendlyName);i.push({entity:a,expirationAttribute:u}),this.isEverythingLoaded()}):(i.push({entity:a,expirationAttribute:null}),this.isEverythingLoaded())})})}extendMembership(e){const i=this.store.get("registrar_base_url");window.location.href=`${i}?vo=${e.entity.shortName}`}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(zi),t.Y36($t),t.Y36(_t))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-vos-page"]],decls:9,vars:9,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[3,"placeholder","filter",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-5",4,"ngIf"],[3,"placeholder","filter"],[1,"mr-auto","ml-auto"],[1,"mt-5"],[1,"page-subtitle"],[4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"members","selection","filterValue","displayedColumns","extendMembership"],["alert_type","warn"],[3,"members","filterValue","displayedColumns",4,"ngIf"],[3,"members","filterValue","displayedColumns"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"div",1),t.YNc(5,B3,1,1,"perun-web-apps-immediate-filter",2),t.YNc(6,F3,1,0,"mat-spinner",3),t.YNc(7,U3,7,7,"div",4),t.YNc(8,K3,7,7,"div",4),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,5,t.lcZ(3,7,"ORGANIZATIONS.TITLE"))),t.xp6(4),t.Q6J("ngIf",!i.loading),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[_.O5,rp,In,Lk,Zn],pipes:[at,oi],styles:[""]}),n})(),$3=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-settings-page"]],decls:2,vars:0,consts:[[1,"user-theme"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"router-outlet"),t.qZA())},directives:[Rr],styles:[""]}),n})(),X3=(()=>{class n{constructor(e,i){this.dialogRef=e,this.data=i,this.password=""}ngOnInit(){this.password=this.data.password}onClose(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Rn))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-show-generated-password-dialog"]],decls:20,vars:22,consts:[["mat-dialog-title","",1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"user-theme"],["disabled","",1,"center-text",3,"value"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"cdkCopyToClipboard"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"div",1),t.TgZ(5,"p"),t._uU(6),t.ALo(7,"translate"),t.ALo(8,"customTranslate"),t.qZA(),t.TgZ(9,"label"),t._UZ(10,"input",2),t.qZA(),t.qZA(),t.TgZ(11,"div",3),t.TgZ(12,"button",4),t.NdJ("click",function(){return i.onClose()}),t._uU(13),t.ALo(14,"translate"),t.ALo(15,"customTranslate"),t.qZA(),t.TgZ(16,"button",5),t._uU(17),t.ALo(18,"translate"),t.ALo(19,"customTranslate"),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,6,t.lcZ(3,8,"DIALOGS.SHOW_PASSWORD.TITLE")),"\n"),t.xp6(5),t.Oqu(t.lcZ(7,10,t.lcZ(8,12,"DIALOGS.SHOW_PASSWORD.LABEL"))),t.xp6(4),t.Q6J("value",i.password),t.xp6(3),t.hij(" ",t.lcZ(14,14,t.lcZ(15,16,"DIALOGS.SHOW_PASSWORD.CLOSE"))," "),t.xp6(3),t.Q6J("cdkCopyToClipboard",i.password),t.xp6(1),t.hij(" ",t.lcZ(18,18,t.lcZ(19,20,"DIALOGS.SHOW_PASSWORD.COPY"))," "))},directives:[On,Pn,an,zt,Qv],pipes:[at,oi],styles:[".center-text[_ngcontent-%COMP%]{text-align:center}"]}),n})();function Q3(n,o){1&n&&t._UZ(0,"mat-spinner",7)}function J3(n,o){1&n&&t._UZ(0,"th",16)}function eN(n,o){if(1&n&&(t.TgZ(0,"td",17),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Oqu(e)}}function tN(n,o){1&n&&t._UZ(0,"tr",18)}function iN(n,o){1&n&&t._UZ(0,"tr",19)}function nN(n,o){if(1&n&&(t.TgZ(0,"div",8),t.TgZ(1,"p"),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"customTranslate"),t.qZA(),t.TgZ(5,"div",9),t._uU(6),t.ALo(7,"translate"),t.ALo(8,"customTranslate"),t.qZA(),t.TgZ(9,"table",10),t.ynx(10,11),t.YNc(11,J3,1,0,"th",12),t.YNc(12,eN,2,1,"td",13),t.BQk(),t.YNc(13,tN,1,0,"tr",14),t.YNc(14,iN,1,0,"tr",15),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,5,t.lcZ(4,7,"DIALOGS.REMOVE_ALT_PASSWORD.DESCRIPTION"))," "),t.xp6(4),t.hij(" ",t.lcZ(7,9,t.lcZ(8,11,"DIALOGS.REMOVE_ALT_PASSWORD.ASK"))," "),t.xp6(3),t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}let sN=(()=>{class n{constructor(e,i,s){this.dialogRef=e,this.data=i,this.usersManagerService=s,this.displayedColumns=["description"]}ngOnInit(){this.dataSource=new Ha(this.data.description)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.usersManagerService.deleteAlternativePassword(this.data.userId,"einfra",this.data.passwordId).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Rn),t.Y36(zi))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-remove-alt-password-dialog"]],decls:16,vars:17,consts:[["mat-dialog-title",""],[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","user-theme",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"user-theme"],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","description"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"div",1),t.YNc(5,Q3,1,0,"mat-spinner",2),t.qZA(),t.YNc(6,nN,15,13,"div",3),t.TgZ(7,"div",4),t.TgZ(8,"button",5),t.NdJ("click",function(){return i.onCancel()}),t._uU(9),t.ALo(10,"translate"),t.ALo(11,"customTranslate"),t.qZA(),t.TgZ(12,"button",6),t.NdJ("click",function(){return i.onSubmit()}),t._uU(13),t.ALo(14,"translate"),t.ALo(15,"customTranslate"),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,5,t.lcZ(3,7,"DIALOGS.REMOVE_ALT_PASSWORD.TITLE"))),t.xp6(4),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(3),t.hij(" ",t.lcZ(10,9,t.lcZ(11,11,"DIALOGS.REMOVE_ALT_PASSWORD.CANCEL"))," "),t.xp6(4),t.hij(" ",t.lcZ(14,13,t.lcZ(15,15,"DIALOGS.REMOVE_ALT_PASSWORD.REMOVE"))," "))},directives:[On,_.O5,In,Pn,Ur,dr,ur,hr,lr,fr,Gr,Wr,Vr,Kr,an,zt],pipes:[at,oi],styles:[""]}),n})();function oN(n,o){1&n&&t._UZ(0,"th",12)}function rN(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"td",13),t.TgZ(1,"mat-checkbox",14),t.NdJ("change",function(s){const r=t.CHM(e).$implicit,c=t.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.xp6(1),t.Q6J("aria-label",i.checkboxLabel(e))("checked",i.selection.isSelected(e))}}function aN(n,o){if(1&n&&(t.TgZ(0,"th",15),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Oqu(e.headerColumnText)}}function cN(n,o){if(1&n&&(t.TgZ(0,"td",16),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Oqu(e)}}function lN(n,o){1&n&&t._UZ(0,"tr",17)}function uN(n,o){1&n&&t._UZ(0,"tr",18)}function dN(n,o){if(1&n&&(t.TgZ(0,"app-alert",19),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.hij(" ",e.alertText,"\n")}}let zk=(()=>{class n{constructor(){this.values=[],this.selection=new _n(!1,[]),this.alertText="",this.headerColumnText="",this.displayedColumns=["select","value"]}ngOnChanges(){this.values=this.values?this.values:[],this.dataSource=new Ha(this.values),this.setDataSource()}getExportDataForColumn(e){return e}exportData(e){Qf(Xf(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(e){return(this.selection.isSelected(e)?"deselect":"select")+" row"}ngAfterViewInit(){this.setDataSource()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-string-list"]],viewQuery:function(e,i){if(1&e&&t.Gf(cr,7),2&e){let s;t.iGM(s=t.CRH())&&(i.child=s.first)}},inputs:{values:"values",selection:"selection",alertText:"alertText",headerColumnText:"headerColumnText"},features:[t.TTD],decls:12,vars:6,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","exportData"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","pl-3","mat-header-cell","",4,"matHeaderCellDef"],["class","truncate pl-3","mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","",1,"pl-3"],["mat-cell","",1,"truncate","pl-3"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(a){return i.exportData(a)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,oN,1,0,"th",4),t.YNc(5,rN,2,2,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,aN,2,1,"th",7),t.YNc(8,cN,2,1,"td",8),t.BQk(),t.YNc(9,lN,1,0,"tr",9),t.YNc(10,uN,1,0,"tr",10),t.qZA(),t.qZA(),t.qZA(),t.YNc(11,dN,2,1,"app-alert",11)),2&e&&(t.Q6J("hidden",!i.values.length),t.xp6(1),t.Q6J("dataLength",i.dataSource.filteredData.length),t.xp6(1),t.Q6J("dataSource",i.dataSource),t.xp6(7),t.Q6J("matHeaderRowDef",i.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",i.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===i.values.length))},directives:[cr,Ur,dr,ur,hr,lr,fr,Wc,Gr,Wr,Vr,Kr,_.O5,Zn],styles:[".static-column-size[_ngcontent-%COMP%]{width:20px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:100px}"]}),n})();function hN(n,o){if(1&n&&t._UZ(0,"perun-web-apps-string-list",10),2&n){const e=t.oxw();t.Q6J("values",e.displayedValues)("selection",e.selection)("alertText",e.alertText)("headerColumnText",e.headerColumnText)}}function fN(n,o){1&n&&t._UZ(0,"mat-spinner",11)}let pN=(()=>{class n{constructor(e,i,s,a,r){this.store=e,this.attributesManagerService=i,this.dialog=s,this.translateService=a,this.usersManagerService=r,this.altPasswordCtrl=new fs(null,[Tn.required]),this.userId=this.store.getPerunPrincipal().userId,this.passwordDescriptions=new Set,this.displayedValues=[],this.selection=new _n(!1,[]),a.get("ALT_PASSWORDS.REMOVE_DIALOG_DESCRIPTION").subscribe(c=>this.removeDialogDescription=c),a.get("ALT_PASSWORDS.REMOVE_DIALOG_TITLE").subscribe(c=>this.removeDialogTitle=c),a.get("ALERTS.NO_ALT_PASSWORDS").subscribe(c=>this.alertText=c),a.get("ALT_PASSWORDS.HEADER_COLUMN").subscribe(c=>this.headerColumnText=c)}ngOnInit(){this.getAltPasswords()}createPassword(){const e=this.generatePassword();this.usersManagerService.createAlternativePassword(this.userId,this.altPasswordCtrl.value,"einfra",e).subscribe(()=>{const i=Hi();i.width="600px",i.data={password:e},this.dialog.open(X3,i),this.getAltPasswords(),this.altPasswordCtrl.setValue("")})}generatePassword(){const i="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%&/=?_.,:;\\-";let s="",a=0;const r=i.length;for(;a<16;++a)s+=i.charAt(Math.random()*r);return s.match("((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])).{3,}")||this.generatePassword(),s}getAltPasswords(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:einfra").subscribe(e=>{if(this.altPasswordsAttribute=e,e.value){const i=Object.keys(e.value);this.passwordDescriptions=new Set(i),this.displayedValues=Array.from(this.passwordDescriptions.values())}else this.displayedValues=[];this.loading=!1})}alreadyContainsValue(e){return this.passwordDescriptions.has(e)}removeAltPasswords(){const e=Hi();e.width="600px",e.data={description:this.selection.selected,passwordId:this.altPasswordsAttribute.value[this.selection.selected[0]],userId:this.userId},this.dialog.open(sN,e).afterClosed().subscribe(s=>{s&&(this.getAltPasswords(),this.selection.clear())})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36($t),t.Y36(ei),t.Y36(Zi),t.Y36(ui),t.Y36(zi))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-settings-alternative-passwords"]],decls:28,vars:35,consts:[[1,"ml-3"],[1,"page-title"],[1,"input-width"],["matInput","","type","text",3,"placeholder","formControl"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],["alert_type","info"],[1,"page-subtitle"],["mat-flat-button","","color","warn",3,"disabled","click"],[3,"values","selection","alertText","headerColumnText",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"values","selection","alertText","headerColumnText"],[1,"ml-auto","mr-auto"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"h1",1),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"customTranslate"),t.qZA(),t.TgZ(5,"mat-form-field",2),t.TgZ(6,"label",2),t._UZ(7,"input",3),t.ALo(8,"translate"),t.ALo(9,"customTranslate"),t.qZA(),t.qZA(),t.TgZ(10,"button",4),t.NdJ("click",function(){return i.createPassword()}),t._uU(11),t.ALo(12,"translate"),t.ALo(13,"customTranslate"),t.qZA(),t.TgZ(14,"app-alert",5),t._uU(15),t.ALo(16,"translate"),t.ALo(17,"customTranslate"),t.qZA(),t.TgZ(18,"h1",6),t._uU(19),t.ALo(20,"translate"),t.ALo(21,"customTranslate"),t.qZA(),t.TgZ(22,"button",7),t.NdJ("click",function(){return i.removeAltPasswords()}),t._uU(23),t.ALo(24,"translate"),t.ALo(25,"customTranslate"),t.qZA(),t.YNc(26,hN,1,4,"perun-web-apps-string-list",8),t.YNc(27,fN,1,0,"mat-spinner",9),t.qZA()),2&e&&(t.xp6(2),t.Oqu(t.lcZ(3,11,t.lcZ(4,13,"ALT_PASSWORDS.TITLE_GENERATE"))),t.xp6(5),t.s9C("placeholder",t.lcZ(8,15,t.lcZ(9,17,"ALT_PASSWORDS.INPUT_PLACEHOLDER"))),t.Q6J("formControl",i.altPasswordCtrl),t.xp6(3),t.Q6J("disabled",!i.altPasswordCtrl.valid||i.alreadyContainsValue(i.altPasswordCtrl.value)),t.xp6(1),t.hij(" ",t.lcZ(12,19,t.lcZ(13,21,"ALT_PASSWORDS.GENERATE"))," "),t.xp6(4),t.Oqu(t.lcZ(16,23,t.lcZ(17,25,"ALT_PASSWORDS.EXAMPLE_DESCRIPTIONS"))),t.xp6(4),t.Oqu(t.lcZ(20,27,t.lcZ(21,29,"ALT_PASSWORDS.TITLE_PASSWORDS"))),t.xp6(3),t.Q6J("disabled",i.selection.isEmpty()),t.xp6(1),t.hij(" ",t.lcZ(24,31,t.lcZ(25,33,"ALT_PASSWORDS.REMOVE"))," "),t.xp6(3),t.Q6J("ngIf",!i.loading),t.xp6(1),t.Q6J("ngIf",i.loading))},directives:[Pi,zn,ji,yn,ar,zt,Zn,_.O5,zk,In],pipes:[at,oi],styles:[""]}),n})();function gN(n,o){if(1&n&&(t.TgZ(0,"mat-list-item",1),t.TgZ(1,"mat-icon"),t._uU(2),t.qZA(),t.TgZ(3,"p",2),t._uU(4),t.ALo(5,"translate"),t.ALo(6,"customTranslate"),t.qZA(),t.qZA()),2&n){const e=o.$implicit;t.Q6J("routerLink",e.url),t.xp6(2),t.Oqu(e.icon),t.xp6(2),t.Oqu(t.lcZ(5,3,t.lcZ(6,5,e.label)))}}let mN=(()=>{class n{constructor(e){this.storeService=e,this.items=[]}ngOnInit(){this.initItems();const e=this.storeService.get("displayed_tabs");this.items=this.items.filter(i=>e.includes(i.tabName))}initItems(){this.items=[{icon:"lock_open",url:"/profile/settings/altPasswords",label:"SETTINGS.ALTERNATIVE_PASSWORDS",tabName:"alt_passwords"},{icon:"admin_panel_settings",url:"/profile/settings/auth",label:"SETTINGS.AUTHENTICATION",tabName:"auth"},{icon:"storage",url:"/profile/settings/dataQuotas",label:"SETTINGS.DATA_QUOTAS",tabName:"data_quotas"},{icon:"unsubscribe",url:"/profile/settings/mailingLists",label:"SETTINGS.MAILING_LISTS",tabName:"opt_out"},{icon:"chevron_right",url:"/profile/settings/prefShells",label:"SETTINGS.PREFERRED_SHELLS",tabName:"pref_shells"},{icon:"group",url:"/profile/settings/prefGroupNames",label:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES",tabName:"pref_group_names"},{icon:"lock_open",url:"/profile/settings/sambaPassword",label:"SETTINGS.SAMBA_PASSWORD",tabName:"samba"},{icon:"vpn_key",url:"/profile/settings/sshKeys",label:"SETTINGS.SSH_KEYS",tabName:"ssh_keys"},{icon:"lock",url:"/profile/settings/passwordReset",label:"SETTINGS.PASSWORD_RESET",tabName:"password_reset"}]}}return n.\u0275fac=function(e){return new(e||n)(t.Y36($t))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-settings-overview"]],decls:2,vars:1,consts:[["matRipple","","queryParamsHandling","merge",3,"routerLink",4,"ngFor","ngForOf"],["matRipple","","queryParamsHandling","merge",3,"routerLink"],[1,"ml-2","mt-auto","mb-auto"]],template:function(e,i){1&e&&(t.TgZ(0,"mat-list"),t.YNc(1,gN,7,7,"mat-list-item",0),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngForOf",i.items))},directives:[fT,_.sg,Oy,ts,S,An],pipes:[at,oi],styles:["mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important;color:var(--side-text-active)!important;cursor:pointer}"]}),n})(),_N=(()=>{class n extends wn{buildStyles(e,{display:i}){const s=lE(e);return Object.assign(Object.assign({},s),{display:"none"===i?i:s.display})}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const bN=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let yN=(()=>{class n extends cn{constructor(e,i,s,a,r){super(e,s,i,a),this._config=r,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){var i;const a=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=null!==(i=Nk.get(a))&&void 0!==i?i:new Map,Nk.set(a,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:a}),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36($i),t.Y36(_N),t.Y36(nn),t.Y36(Zr))},n.\u0275dir=t.lG2({type:n,features:[t.qOj]}),n})(),Ik=(()=>{class n extends yN{constructor(){super(...arguments),this.inputs=bN}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[t.qOj]}),n})();const Nk=new Map;let QN=(()=>{class n extends wn{buildStyles(e){const i={};switch(e=e||"stretch"){case"start":i["align-self"]="flex-start";break;case"end":i["align-self"]="flex-end";break;default:i["align-self"]=e}return i}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const JN=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];let eH=(()=>{class n extends cn{constructor(e,i,s,a){super(e,s,i,a),this.DIRECTIVE_KEY="flex-align",this.styleCache=tH,this.init()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36($i),t.Y36(QN),t.Y36(nn))},n.\u0275dir=t.lG2({type:n,features:[t.qOj]}),n})();const tH=new Map;let Fk=(()=>{class n extends eH{constructor(){super(...arguments),this.inputs=JN}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},features:[t.qOj]}),n})(),qk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[tT,pc]]}),n})();function bH(n,o){if(1&n&&(t.TgZ(0,"mat-option",13),t._uU(1),t.qZA()),2&n){const e=o.$implicit,i=t.oxw();t.Q6J("value",i.selectedUnit),t.xp6(1),t.hij(" ",e," ")}}let yH=(()=>{class n{constructor(e,i,s,a,r){this.dialogRef=e,this.data=i,this.rtMessagesService=s,this.notificator=a,this.translate=r,this.resource="",this.currentQuota="",this.units=["MiB","GiB","TiB"],this.selectedUnit="GiB",r.get("DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SUCCESS").subscribe(c=>this.successMessage=c)}ngOnInit(){this.resource=this.data.resource.name,this.currentQuota=this.data.currentQuota,this.reasonControl=new fs(null,[Tn.required]),this.newValueControl=new fs(null,[Tn.required,Tn.pattern("[1-9][0-9]*")])}onCancel(){this.dialogRef.close()}onSubmit(){const s=`QUOTA CHANGE REQUEST\u21b5 \u21b5 User: ${(new gy).transform(this.data.user)} (user ID: ${this.data.user.id})\u21b5 VO: ${this.data.vo.shortName} / ${this.data.vo.name} (vo ID: ${this.data.vo.id})\u21b5 Resource: ${this.data.resource.name} (resource ID: ${this.data.resource.id})\u21b5 Data quota\u21b5 Requested quota: ${this.newValueControl.value}\u21b5 Reason: ${this.reasonControl.value}\u21b5 \u21b5 \u21b5 -------------------------------------\u21b5 Sent from Perun GUI`;this.rtMessagesService.sentMessageToRTWithVo(this.data.vo.id,"QUOTA: Change request",s).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Rn),t.Y36(fn),t.Y36(ao),t.Y36(ui))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-request-change-data-quota-dialog"]],decls:42,vars:42,consts:[["mat-dialog-title","",1,"mb-3"],[1,"user-theme"],[1,"column-size"],["fxLayout","row","fxFlexAlign","center center"],[1,"label-width"],["matInput","","required","","type","number",3,"placeholder","formControl"],[1,"select-width","mt-auto","mb-auto","ml-2",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"form-width"],["matInput","","required","","rows","4",3,"placeholder","formControl"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"value"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"div",1),t.TgZ(5,"div"),t.TgZ(6,"p",2),t._uU(7),t.ALo(8,"translate"),t.ALo(9,"customTranslate"),t.qZA(),t.TgZ(10,"p"),t._uU(11),t.qZA(),t.qZA(),t.TgZ(12,"div"),t.TgZ(13,"p",2),t._uU(14),t.ALo(15,"translate"),t.ALo(16,"customTranslate"),t.qZA(),t.TgZ(17,"p"),t._uU(18),t.qZA(),t.qZA(),t.TgZ(19,"div",3),t.TgZ(20,"mat-form-field"),t.TgZ(21,"label",4),t._UZ(22,"input",5),t.ALo(23,"translate"),t.ALo(24,"customTranslate"),t.qZA(),t.qZA(),t.TgZ(25,"mat-select",6),t.NdJ("valueChange",function(a){return i.selectedUnit=a}),t.YNc(26,bH,2,2,"mat-option",7),t.qZA(),t.qZA(),t.TgZ(27,"div"),t.TgZ(28,"mat-form-field",8),t.TgZ(29,"label",4),t._UZ(30,"textarea",9),t.ALo(31,"translate"),t.ALo(32,"customTranslate"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,"div",10),t.TgZ(34,"button",11),t.NdJ("click",function(){return i.onCancel()}),t._uU(35),t.ALo(36,"translate"),t.ALo(37,"customTranslate"),t.qZA(),t.TgZ(38,"button",12),t.NdJ("click",function(){return i.onSubmit()}),t._uU(39),t.ALo(40,"translate"),t.ALo(41,"customTranslate"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,14,t.lcZ(3,16,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.TITLE")),"\n"),t.xp6(6),t.hij(" ",t.lcZ(8,18,t.lcZ(9,20,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.RESOURCE"))," "),t.xp6(4),t.Oqu(i.resource),t.xp6(3),t.hij(" ",t.lcZ(15,22,t.lcZ(16,24,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CURRENT_QUOTA"))," "),t.xp6(4),t.Oqu(i.currentQuota),t.xp6(4),t.s9C("placeholder",t.lcZ(23,26,t.lcZ(24,28,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REQUESTED_QUOTA"))),t.Q6J("formControl",i.newValueControl),t.xp6(3),t.Q6J("value",i.selectedUnit),t.xp6(1),t.Q6J("ngForOf",i.units),t.xp6(4),t.s9C("placeholder",t.lcZ(31,30,t.lcZ(32,32,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REASON"))),t.Q6J("formControl",i.reasonControl),t.xp6(5),t.hij(" ",t.lcZ(36,34,t.lcZ(37,36,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CANCEL"))," "),t.xp6(3),t.Q6J("disabled",i.reasonControl.invalid),t.xp6(1),t.hij(" ",t.lcZ(40,38,t.lcZ(41,40,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SEND"))," "))},directives:[On,Ik,Fk,Pi,zn,Hf,ji,Ds,yn,ar,Gf,_.sg,Dc,an,zt],pipes:[at,oi],styles:[".column-size[_ngcontent-%COMP%]{width:10rem!important;font-weight:700}.form-width[_ngcontent-%COMP%]{width:100%;overflow:hidden}.label-width[_ngcontent-%COMP%]{width:100%}.select-width[_ngcontent-%COMP%]{width:4rem}.mat-input-underline.mat-form-field-underline[_ngcontent-%COMP%], .mat-input-ripple.mat-form-field-ripple[_ngcontent-%COMP%]{display:none}"]}),n})();function AH(n,o){1&n&&t._UZ(0,"mat-spinner",8)}function wH(n,o){1&n&&(t.TgZ(0,"app-alert",9),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function MH(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"p"),t.TgZ(2,"strong"),t._uU(3),t.ALo(4,"translate"),t.ALo(5,"customTranslate"),t.qZA(),t._uU(6),t.qZA(),t.TgZ(7,"p",10),t._uU(8),t.ALo(9,"translate"),t.ALo(10,"customTranslate"),t.qZA(),t.TgZ(11,"button",11),t.NdJ("click",function(){t.CHM(e);const s=t.oxw().$implicit,a=t.oxw(3).$implicit;return t.oxw().requestChangeQuota(a,s)}),t._uU(12),t.ALo(13,"translate"),t.ALo(14,"customTranslate"),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(5);t.xp6(3),t.Oqu(t.lcZ(4,4,t.lcZ(5,6,"DATA_QUOTAS.QUOTA"))),t.xp6(3),t.hij(" ",e.quotasMarkup," "),t.xp6(2),t.Oqu(t.lcZ(9,8,t.lcZ(10,10,"DATA_QUOTAS.QUOTA_INFO"))),t.xp6(4),t.hij(" ",t.lcZ(13,12,t.lcZ(14,14,"DATA_QUOTAS.CHANGE"))," ")}}function vH(n,o){1&n&&(t.TgZ(0,"p"),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function TH(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-expansion-panel",3),t.NdJ("opened",function(){const a=t.CHM(e).$implicit;return t.oxw(4).getResAttributes(a.id)}),t.TgZ(1,"mat-expansion-panel-header"),t.TgZ(2,"mat-panel-title"),t._uU(3),t.qZA(),t.qZA(),t.YNc(4,MH,15,16,"div",7),t.YNc(5,vH,4,5,"p",7),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw(4);t.xp6(3),t.hij(" ",e.name," "),t.xp6(1),t.Q6J("ngIf",i.defaultQuota),t.xp6(1),t.Q6J("ngIf",!i.defaultQuota)}}function CH(n,o){if(1&n&&(t.TgZ(0,"mat-accordion"),t.YNc(1,TH,6,3,"mat-expansion-panel",2),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",e.resources)}}function SH(n,o){if(1&n&&(t.YNc(0,AH,1,0,"mat-spinner",5),t.YNc(1,wH,4,5,"app-alert",6),t.YNc(2,CH,2,1,"mat-accordion",7)),2&n){const e=t.oxw(2);t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",0===e.resources.length&&!e.loading),t.xp6(1),t.Q6J("ngIf",e.resources.length&&!e.loading)}}function EH(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-expansion-panel",3),t.NdJ("opened",function(){const a=t.CHM(e).$implicit;return t.oxw().getMembersResources(a)}),t.TgZ(1,"mat-expansion-panel-header"),t.TgZ(2,"mat-panel-title"),t._uU(3),t.qZA(),t.qZA(),t.YNc(4,SH,3,3,"ng-template",4),t.qZA()}if(2&n){const e=o.$implicit;t.xp6(3),t.hij(" ",e.name," ")}}let kH=(()=>{class n{constructor(e,i,s,a,r,c){this.store=e,this.usersManagerService=i,this.membersService=s,this.resourcesManagerService=a,this.attributesManagerService=r,this.dialog=c,this.vos=[],this.resources=[],this.quotasMarkup="",this.filteredVos=[]}ngOnInit(){this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(e=>{this.vos=e,this.filteredVos=e})}getMembersResources(e){this.loading=!0,this.resources=[],this.membersService.getMemberByUser(e.id,this.user.id).subscribe(i=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(i.id).subscribe(s=>{let a=s.length;a||(this.loading=!1),s.forEach(r=>{this.attributesManagerService.getResourceAttributes(r.id).subscribe(c=>{a--,c.find(u=>"defaultDataQuotas"===u.friendlyName)&&this.resources.push(r),this.loading=0!==a})})})})}getResAttributes(e){this.attributesManagerService.getResourceAttributes(e).subscribe(i=>{let s=i.find(a=>"dataQuotas"===a.friendlyName);if(s&&s.value){const a=Object.keys(s.value);this.currentQuota=s.value[a[0]]}else this.currentQuota="";if(s=i.find(a=>"defaultDataQuotas"===a.friendlyName),s){const a=Object.keys(s.value);this.defaultQuota=s.value[a[0]]}else this.defaultQuota="";this.currentQuota||(this.currentQuota=this.defaultQuota),this.parseMarkup()})}parseMarkup(){let e="";e+=this.currentQuota,e+=` (default: ${this.defaultQuota})`,e=e.split(":").join(" : ").split("K").join(" KiB").split("M").join(" MiB").split("G").join(" GiB").split("T").join(" TiB").split("E").join(" EiB"),this.quotasMarkup=e}requestChangeQuota(e,i){const s=Hi();s.width="400px",s.data={vo:e,resource:i,user:this.user,currentQuota:this.quotasMarkup},this.dialog.open(yH,s)}applyFilter(e){this.filteredVos=this.vos.filter(i=>i.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36($t),t.Y36(zi),t.Y36(_t),t.Y36(hi),t.Y36(ei),t.Y36(Zi))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-settings-data-quotas"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[2,"color","gray"],["mat-flat-button","","color","primary",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"perun-web-apps-immediate-filter",1),t.NdJ("filter",function(a){return i.applyFilter(a)}),t.ALo(5,"translate"),t.ALo(6,"customTranslate"),t.qZA(),t.TgZ(7,"mat-accordion"),t.YNc(8,EH,5,1,"mat-expansion-panel",2),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,3,t.lcZ(3,5,"DATA_QUOTAS.TITLE"))),t.xp6(3),t.Q6J("placeholder",t.lcZ(5,7,t.lcZ(6,9,"DATA_QUOTAS.FILTER"))),t.xp6(4),t.Q6J("ngForOf",i.filteredVos))},directives:[rp,qy,_.sg,E1,k1,Fy,S1,_.O5,In,Zn,zt],pipes:[at,oi],styles:[""]}),n})();function DH(n,o){1&n&&t._UZ(0,"mat-spinner",8)}function xH(n,o){1&n&&(t.TgZ(0,"app-alert",9),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"OPT_OUT_MAILING_LISTS.NO_MAILING_LISTS_ALERT"))))}function LH(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-expansion-panel",3),t.NdJ("opened",function(){const a=t.CHM(e).$implicit;return t.oxw(4).getOptOutAttribute(a)}),t.TgZ(1,"mat-expansion-panel-header"),t.TgZ(2,"mat-panel-title"),t._uU(3),t.qZA(),t.qZA(),t.TgZ(4,"div",10),t.TgZ(5,"p"),t._uU(6),t.ALo(7,"translate"),t.ALo(8,"customTranslate"),t.qZA(),t.TgZ(9,"mat-checkbox",11),t.NdJ("change",function(){return t.CHM(e),t.oxw(4).setOptOut()}),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw(4);t.xp6(3),t.hij(" ",e.name," "),t.xp6(3),t.Oqu(t.lcZ(7,3,t.lcZ(8,5,"OPT_OUT_MAILING_LISTS.OPT_OUT_LABEL"))),t.xp6(3),t.Q6J("checked",i.optOutAttribute&&null!==i.optOutAttribute.value)}}function RH(n,o){if(1&n&&(t.TgZ(0,"mat-accordion"),t.YNc(1,LH,10,7,"mat-expansion-panel",2),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",e.resources)}}function OH(n,o){if(1&n&&(t.YNc(0,DH,1,0,"mat-spinner",5),t.YNc(1,xH,4,5,"app-alert",6),t.YNc(2,RH,2,1,"mat-accordion",7)),2&n){const e=t.oxw(2);t.Q6J("ngIf",e.loading),t.xp6(1),t.Q6J("ngIf",0===e.resources.length&&!e.loading),t.xp6(1),t.Q6J("ngIf",e.resources.length&&!e.loading)}}function PH(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-expansion-panel",3),t.NdJ("opened",function(){const a=t.CHM(e).$implicit;return t.oxw().getMailingLists(a)}),t.TgZ(1,"mat-expansion-panel-header"),t.TgZ(2,"mat-panel-title"),t._uU(3),t.qZA(),t.qZA(),t.YNc(4,OH,3,3,"ng-template",4),t.qZA()}if(2&n){const e=o.$implicit;t.xp6(3),t.hij(" ",e.name," ")}}let zH=(()=>{class n{constructor(e,i,s,a,r){this.store=e,this.usersManagerService=i,this.membersService=s,this.resourcesManagerService=a,this.attributesManagerService=r,this.vos=[],this.resources=[],this.mailingLists=[],this.optOuts=[],this.filteredVos=[]}ngOnInit(){this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(e=>{this.vos=e,this.filteredVos=e})}getMailingLists(e){this.loading=!0,this.resources=[],this.membersService.getMemberByUser(e.id,this.user.id).subscribe(i=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(i.id).subscribe(s=>{let a=s.length;a||(this.loading=!1),s.forEach(r=>{this.attributesManagerService.getRequiredAttributesMemberResource(i.id,r.id).subscribe(c=>{this.attributesManagerService.getResourceAttributeByName(r.id,"urn:perun:resource:attribute-def:def:disableMailingListOptOut").subscribe(u=>{a--;const h=c.find(g=>"optOutMailingList"===g.friendlyName);h&&!(u&&"true"===u.value)&&(this.optOuts.push({resource:r.id,member:i.id,attribute:h}),this.resources.push(r)),this.loading=0!==a})})})})})}getOptOutAttribute(e){this.index=this.resources.indexOf(e),this.optOutAttribute=this.optOuts[this.index].attribute}setOptOut(){this.optOuts[this.index].attribute.value=this.optOutAttribute.value?null:"true",this.attributesManagerService.setMemberResourceAttribute(this.optOuts[this.index]).subscribe(()=>{console.log("done")})}applyFilter(e){this.filteredVos=this.vos.filter(i=>i.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36($t),t.Y36(zi),t.Y36(_t),t.Y36(hi),t.Y36(ei))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-settings-mailing-lists"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[1,"row"],[1,"ml-3",3,"checked","change"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"perun-web-apps-immediate-filter",1),t.NdJ("filter",function(a){return i.applyFilter(a)}),t.ALo(5,"translate"),t.ALo(6,"customTranslate"),t.qZA(),t.TgZ(7,"mat-accordion"),t.YNc(8,PH,5,1,"mat-expansion-panel",2),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,3,t.lcZ(3,5,"OPT_OUT_MAILING_LISTS.TITLE"))),t.xp6(3),t.Q6J("placeholder",t.lcZ(5,7,t.lcZ(6,9,"OPT_OUT_MAILING_LISTS.FILTER"))),t.xp6(4),t.Q6J("ngForOf",i.filteredVos))},directives:[rp,qy,_.sg,E1,k1,Fy,S1,_.O5,In,Zn,Wc],pipes:[at,oi],styles:[""]}),n})();function IH(n,o){1&n&&t._UZ(0,"mat-spinner",4)}function NH(n,o){1&n&&t._UZ(0,"th",17)}function HH(n,o){if(1&n&&(t.TgZ(0,"td",18),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Oqu(e)}}function BH(n,o){1&n&&t._UZ(0,"tr",19)}function FH(n,o){1&n&&t._UZ(0,"tr",20)}function qH(n,o){if(1&n&&(t.TgZ(0,"table",11),t.ynx(1,12),t.YNc(2,NH,1,0,"th",13),t.YNc(3,HH,2,1,"td",14),t.BQk(),t.YNc(4,BH,1,0,"tr",15),t.YNc(5,FH,1,0,"tr",16),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("dataSource",e.dataSource),t.xp6(4),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}function jH(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",1),t.TgZ(1,"div",5),t.TgZ(2,"p"),t._uU(3),t.qZA(),t.TgZ(4,"div",6),t._uU(5),t.ALo(6,"translate"),t.ALo(7,"customTranslate"),t.qZA(),t.YNc(8,qH,6,3,"table",7),t.qZA(),t.TgZ(9,"div",8),t.TgZ(10,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(11),t.ALo(12,"translate"),t.ALo(13,"customTranslate"),t.qZA(),t.TgZ(14,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSubmit()}),t._uU(15),t.ALo(16,"translate"),t.ALo(17,"customTranslate"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(3),t.hij(" ",e.description," "),t.xp6(2),t.hij(" ",t.lcZ(6,5,t.lcZ(7,7,"DIALOGS.REMOVE_STRING_VALUE.ASK"))," "),t.xp6(3),t.Q6J("ngIf",e.dataSource.data.length),t.xp6(3),t.hij(" ",t.lcZ(12,9,t.lcZ(13,11,"DIALOGS.REMOVE_STRING_VALUE.CANCEL"))," "),t.xp6(4),t.hij(" ",t.lcZ(16,13,t.lcZ(17,15,"DIALOGS.REMOVE_STRING_VALUE.REMOVE"))," ")}}let Yy=(()=>{class n{constructor(e,i,s){this.dialogRef=e,this.data=i,this.attributesManagerService=s,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new Ha(this.data.values),this.description=this.data.description,this.title=this.data.title}onCancel(){this.dialogRef.close(!1)}onSubmit(){if(this.loading=!0,this.data.doNotShowValues)this.data.attribute.value="";else{let e=this.data.attribute.value?this.data.attribute.value:[];void 0!==this.data.valueIndex?e.splice(this.data.valueIndex,1):e=e.filter(i=>!this.data.values.find(s=>s===i)),this.data.attribute.value=e}this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Rn),t.Y36(ei))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-remove-string-value-dialog"]],decls:5,vars:3,consts:[["mat-dialog-title",""],[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","user-theme",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["class","w-100","mat-table","",3,"dataSource",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.qZA(),t.TgZ(2,"div",1),t.YNc(3,IH,1,0,"mat-spinner",2),t.qZA(),t.YNc(4,jH,18,17,"div",3)),2&e&&(t.xp6(1),t.Oqu(i.title),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[On,_.O5,In,Pn,Ur,dr,ur,hr,lr,fr,Gr,Wr,Vr,Kr,an,zt],pipes:[at,oi],styles:[""]}),n})();function YH(n,o){1&n&&(t.TgZ(0,"app-alert",5),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"PREFERRED_SHELLS.NO_SHELLS"))))}function UH(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-option",11),t.NdJ("click",function(){return t.CHM(e),t.oxw(3).changeValue()}),t._uU(1),t.qZA()}if(2&n){const e=o.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function GH(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-list-item"),t.TgZ(1,"mat-form-field",7),t.TgZ(2,"mat-select",8),t.NdJ("valueChange",function(s){const r=t.CHM(e).index;return t.oxw(2).shells[r]=s}),t.YNc(3,UH,2,2,"mat-option",9),t.qZA(),t.qZA(),t.TgZ(4,"button",10),t.NdJ("click",function(){const a=t.CHM(e).index;return t.oxw(2).removeShell(a)}),t._uU(5),t.ALo(6,"translate"),t.ALo(7,"customTranslate"),t.qZA(),t.qZA()}if(2&n){const e=o.index,i=t.oxw(2);t.xp6(2),t.Q6J("value",i.shells[e]),t.xp6(1),t.Q6J("ngForOf",i.defaultShells),t.xp6(2),t.hij(" ",t.lcZ(6,3,t.lcZ(7,5,"PREFERRED_SHELLS.REMOVE_BUTTON"))," ")}}function VH(n,o){if(1&n&&(t.TgZ(0,"mat-list"),t.YNc(1,GH,8,7,"mat-list-item",6),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("ngForOf",e.shells)}}let WH=(()=>{class n{constructor(e,i,s,a){this.store=e,this.attributesManagerService=i,this.dialog=s,this.translateService=a,this.defaultShells=["/bin/bash","/bin/csh","/bin/ksh","/bin/sh","/bin/zsh"],this.shells=[],a.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(r=>this.removeDialogDescription=r),a.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(r=>this.removeDialogTitle=r)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.translateService.onLangChange.subscribe(()=>{this.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(e=>this.removeDialogDescription=e),this.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e)}),this.getAttribute()}addShell(){this.shells.push("/bin/bash"),this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(()=>{console.log("done")})}removeShell(e){const i=Hi();i.width="600px",i.data={valueIndex:e,values:[this.shells[e]],attribute:this.prefShellsAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Yy,i).afterClosed().subscribe(a=>{a&&this.getAttribute()})}getAttribute(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredShells").subscribe(e=>{this.prefShellsAttribute=e,this.shells=this.prefShellsAttribute.value?this.prefShellsAttribute.value:[],this.loading=!1})}changeValue(){this.loading=!0,this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(()=>{this.getAttribute()})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36($t),t.Y36(ei),t.Y36(Zi),t.Y36(ui))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-settings-preferred-shells"]],decls:14,vars:17,consts:[[1,"page-title"],["alert_type","info"],["mat-flat-button","","color","accent",3,"click"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],["alert_type","warn"],[4,"ngFor","ngForOf"],[1,"w-100"],[3,"value","valueChange"],[3,"value","click",4,"ngFor","ngForOf"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],[3,"value","click"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"app-alert",1),t._uU(5),t.ALo(6,"translate"),t.ALo(7,"customTranslate"),t.qZA(),t.TgZ(8,"button",2),t.NdJ("click",function(){return i.addShell()}),t._uU(9),t.ALo(10,"translate"),t.ALo(11,"customTranslate"),t.qZA(),t.YNc(12,YH,4,5,"app-alert",3),t.YNc(13,VH,2,1,"mat-list",4)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,5,t.lcZ(3,7,"PREFERRED_SHELLS.TITLE"))),t.xp6(4),t.hij(" ",t.lcZ(6,9,t.lcZ(7,11,"PREFERRED_SHELLS.DESCRIPTION")),"\n"),t.xp6(4),t.hij(" ",t.lcZ(10,13,t.lcZ(11,15,"PREFERRED_SHELLS.NEW_BUTTON")),"\n"),t.xp6(3),t.Q6J("ngIf",!i.loading&&0===i.shells.length),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[Zn,zt,_.O5,fT,_.sg,Oy,Pi,Gf,Dc],pipes:[at,oi],styles:[""]}),n})();function KH(n,o){1&n&&t._UZ(0,"mat-spinner",4)}function ZH(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",5),t.TgZ(2,"mat-form-field",6),t.TgZ(3,"label",6),t._UZ(4,"input",7),t.qZA(),t.qZA(),t.qZA(),t.TgZ(5,"div",8),t.TgZ(6,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().onCancel()}),t._uU(7),t.ALo(8,"translate"),t.ALo(9,"customTranslate"),t.qZA(),t.TgZ(10,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw().onSubmit()}),t._uU(11),t.ALo(12,"translate"),t.ALo(13,"customTranslate"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(4),t.Q6J("formControl",e.inputControl),t.xp6(3),t.hij(" ",t.lcZ(8,4,t.lcZ(9,6,"DIALOGS.ADD_UNIX_GROUP.CANCEL"))," "),t.xp6(3),t.Q6J("disabled",!e.inputControl.valid||e.groups.includes(e.inputControl.value)),t.xp6(1),t.hij(" ",t.lcZ(12,8,t.lcZ(13,10,"DIALOGS.ADD_UNIX_GROUP.ADD"))," ")}}let $H=(()=>{class n{constructor(e,i,s){this.dialogRef=e,this.data=i,this.attributesManagerService=s,this.groups=[]}ngOnInit(){this.inputControl=new fs(null,Tn.required),this.groups=this.data.groups}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.data.userId,`urn:perun:user:attribute-def:def:preferredUnixGroupName-namespace:${this.data.namespace}`).subscribe(e=>{const i=e.value?e.value:[];i.push(this.inputControl.value),e.value=i,this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:e}).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)})})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Rn),t.Y36(ei))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-add-unix-group-dialog"]],decls:7,vars:7,consts:[["mat-dialog-title",""],[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"w-100"],["matInput","","required","",1,"w-100",3,"formControl"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"div",1),t.YNc(5,KH,1,0,"mat-spinner",2),t.YNc(6,ZH,14,12,"div",3),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,3,t.lcZ(3,5,"DIALOGS.ADD_UNIX_GROUP.TITLE"))),t.xp6(4),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[On,_.O5,In,Pn,Pi,zn,ji,Ds,yn,ar,an,zt],pipes:[at,oi],styles:[""]}),n})();function XH(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",2),t.TgZ(1,"h4"),t._uU(2),t.qZA(),t.TgZ(3,"button",3),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw().addGroupName(a)}),t._uU(4),t.ALo(5,"translate"),t.ALo(6,"customTranslate"),t.qZA(),t.TgZ(7,"button",4),t.NdJ("click",function(){const s=t.CHM(e),a=s.$implicit,r=s.index;return t.oxw().removeGroupName(a,r)}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t._UZ(10,"perun-web-apps-string-list",5),t.qZA()}if(2&n){const e=o.$implicit,i=o.index,s=t.oxw();t.xp6(2),t.Oqu(e),t.xp6(2),t.hij(" ",t.lcZ(5,8,t.lcZ(6,10,"PREFERRED_UNIX_GROUP_NAMES.NEW_BUTTON"))," "),t.xp6(3),t.Q6J("disabled",0===s.selectionList[i].selected.length),t.xp6(1),t.hij(" ",t.lcZ(9,12,"PREFERRED_UNIX_GROUP_NAMES.REMOVE_BUTTON")," "),t.xp6(2),t.Q6J("values",s.groupNames.get(e))("selection",s.selectionList[i])("alertText",s.alertText)("headerColumnText",s.headerColumnText)}}let QH=(()=>{class n{constructor(e,i,s,a){this.store=e,this.attributesManagerService=i,this.dialog=s,this.translateService=a,this.namespaces=[],this.userId=this.store.getPerunPrincipal().userId,this.groupNames=new Map,this.groupNameAttributes=[],this.selectionList=[],a.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(r=>this.removeDialogDescription=r),a.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(r=>this.removeDialogTitle=r),a.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(r=>this.alertText=r),a.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(r=>this.headerColumnText=r)}ngOnInit(){this.namespaces=this.store.get("preferred_unix_group_names"),this.translateService.onLangChange.subscribe(()=>{this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(e=>this.removeDialogDescription=e),this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e),this.translateService.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(e=>this.alertText=e),this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(e=>this.headerColumnText=e)}),this.initSelection(),this.namespaces.forEach(e=>{this.getAttribute(e)})}initSelection(){for(let e=0;e{this.groupNames.set(e,i.value?i.value:[]),this.groupNameAttributes.push(i)})}addGroupName(e){const i=this.groupNames.get(e),s=Hi();s.width="400px",s.data={groups:i,namespace:e,userId:this.userId},this.dialog.open($H,s).afterClosed().subscribe(r=>{r&&this.getAttribute(e)})}removeGroupName(e,i){const s=Hi();s.width="600px",s.data={values:this.selectionList[i].selected,attribute:this.groupNameAttributes[i],userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Yy,s).afterClosed().subscribe(r=>{r&&(this.selectionList[i].clear(),this.getAttribute(e))})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36($t),t.Y36(ei),t.Y36(Zi),t.Y36(ui))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-settings-preferred-unix-group-names"]],decls:5,vars:6,consts:[[1,"page-title"],["class","mt-4",4,"ngFor","ngForOf"],[1,"mt-4"],["mat-flat-button","","color","accent",1,"action-button",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"values","selection","alertText","headerColumnText"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.YNc(4,XH,11,14,"div",1)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,2,t.lcZ(3,4,"PREFERRED_UNIX_GROUP_NAMES.TITLE"))),t.xp6(3),t.Q6J("ngForOf",i.namespaces))},directives:[_.sg,zt,zk],pipes:[at,oi],styles:[""]}),n})();function JH(n,o){1&n&&(t.TgZ(0,"app-alert",7),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"ALERTS.NO_SAMBA")),"\n"))}function eB(n,o){1&n&&(t.TgZ(0,"app-alert",7),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"ALERTS.SAMBA_EXISTS")),"\n"))}function tB(n,o){1&n&&(t.TgZ(0,"app-alert",8),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"SAMBA_PASSWORD.PASSWORD_VALIDATION"))))}let iB=(()=>{class n{constructor(e,i,s,a,r){this.attributesManagerService=e,this.store=i,this.usersManagerService=s,this.notificator=a,this.translate=r,r.get("SAMBA_PASSWORD.SUCCESS_MESSAGE").subscribe(c=>this.successMessage=c),r.get("SAMBA_PASSWORD.SHOW_PWD_TOOLTIP").subscribe(c=>this.showPwdTooltip=c),r.get("SAMBA_PASSWORD.HIDE_PWD_TOOLTIP").subscribe(c=>this.hidePwdTooltip=c)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.sambaControl=new fs("",[Tn.pattern("((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])).{3,}")]),this.getSambaAttribute()}setSambaPassword(){this.sambaAttribute.value=this.sambaControl.value;const e=(new Date).getTime().toString();this.usersManagerService.createAlternativePassword(this.userId,e,"samba-du",this.sambaControl.value).subscribe(()=>{this.sambaControl.setValue(""),this.getSambaAttribute(),this.notificator.showSuccess(this.successMessage)})}getSambaAttribute(){this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:samba-du").subscribe(e=>{this.sambaExists=!!e.value,this.sambaAttribute=e})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ei),t.Y36($t),t.Y36(zi),t.Y36(ao),t.Y36(ui))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-settings-samba-password"]],decls:19,vars:23,consts:[[1,"page-title"],["alert_type","warn",4,"ngIf"],[1,"input-width"],["matInput","",3,"formControl","type","placeholder"],["disableRipple","","mat-icon-button","",3,"matTooltip","click"],["color","accent","mat-flat-button","",3,"disabled","click"],["alert_type","error",4,"ngIf"],["alert_type","warn"],["alert_type","error"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.YNc(4,JH,4,5,"app-alert",1),t.YNc(5,eB,4,5,"app-alert",1),t.TgZ(6,"mat-form-field",2),t.TgZ(7,"label",2),t._UZ(8,"input",3),t.ALo(9,"translate"),t.ALo(10,"customTranslate"),t.qZA(),t.qZA(),t.TgZ(11,"button",4),t.NdJ("click",function(){return i.showPassword=!i.showPassword}),t.TgZ(12,"mat-icon"),t._uU(13),t.qZA(),t.qZA(),t.TgZ(14,"button",5),t.NdJ("click",function(){return i.setSambaPassword()}),t._uU(15),t.ALo(16,"translate"),t.ALo(17,"customTranslate"),t.qZA(),t.YNc(18,tB,4,5,"app-alert",6)),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,11,t.lcZ(3,13,"SAMBA_PASSWORD.TITLE"))),t.xp6(3),t.Q6J("ngIf",!i.sambaExists),t.xp6(1),t.Q6J("ngIf",i.sambaExists),t.xp6(3),t.s9C("placeholder",t.lcZ(9,15,t.lcZ(10,17,"SAMBA_PASSWORD.INPUT_PLACEHOLDER"))),t.Q6J("formControl",i.sambaControl)("type",i.showPassword?"text":"password"),t.xp6(3),t.Q6J("matTooltip",i.showPassword?i.hidePwdTooltip:i.showPwdTooltip),t.xp6(2),t.Oqu(i.showPassword?"visibility_off":"visibility"),t.xp6(1),t.Q6J("disabled",0===i.sambaControl.value.length||i.sambaControl.invalid),t.xp6(1),t.hij(" ",t.lcZ(16,19,t.lcZ(17,21,"SAMBA_PASSWORD.SET_PASSWORD")),"\n"),t.xp6(3),t.Q6J("ngIf",i.sambaControl.invalid))},directives:[_.O5,Zn,Pi,zn,ji,yn,ar,zt,xs,An],pipes:[at,oi],styles:[""]}),n})();function nB(n,o){1&n&&(t.TgZ(0,"mat-error",8),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"DIALOGS.ADD_SSH.INVALID_TYPE"))))}class Ba{constructor(o,e,i){this.dialogRef=o,this.data=e,this.attributesManagerService=i}ngOnInit(){this.sshControl=new fs(null,[Tn.required,Tn.pattern(Ba.sshKeyPattern)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){const o=this.data.attribute.value?this.data.attribute.value:[];o.includes(this.sshControl.value)||o.push(this.sshControl.value),this.data.attribute.value=o,this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(()=>{this.dialogRef.close(!0)},()=>{o.pop()})}}Ba.allowedSshKeys=["ssh-ed25519","ssh-ed25519-cert-v01@openssh.com","sk-ssh-ed25519@openssh.com","sk-ssh-ed25519-cert-v01@openssh.com","ssh-rsa","ssh-dss","ecdsa-sha2-nistp256","ecdsa-sha2-nistp384","ecdsa-sha2-nistp521","sk-ecdsa-sha2-nistp256@openssh.com","ssh-rsa-cert-v01@openssh.com","ssh-dss-cert-v01@openssh.com","ecdsa-sha2-nistp256-cert-v01@openssh.com","ecdsa-sha2-nistp384-cert-v01@openssh.com","ecdsa-sha2-nistp521-cert-v01@openssh.com","sk-ecdsa-sha2-nistp256-cert-v01@openssh.com"],Ba.sshKeyPattern="^("+Ba.allowedSshKeys.join("|")+").+$",Ba.\u0275fac=function(o){return new(o||Ba)(t.Y36(ki),t.Y36(Rn),t.Y36(ei))},Ba.\u0275cmp=t.Xpm({type:Ba,selectors:[["perun-web-apps-add-ssh-dialog"]],decls:20,vars:23,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],[1,"input-width"],["matInput","","required","","cdkTextareaAutosize","","cdkAutosizeMinRows","4",3,"placeholder","formControl"],["class","white-space-pre",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"white-space-pre"]],template:function(o,e){1&o&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"div",1),t.TgZ(5,"mat-form-field",2),t.TgZ(6,"label",2),t._UZ(7,"textarea",3),t.ALo(8,"translate"),t.ALo(9,"customTranslate"),t.qZA(),t.YNc(10,nB,4,5,"mat-error",4),t.qZA(),t.qZA(),t.TgZ(11,"div",5),t.TgZ(12,"button",6),t.NdJ("click",function(){return e.onCancel()}),t._uU(13),t.ALo(14,"translate"),t.ALo(15,"customTranslate"),t.qZA(),t.TgZ(16,"button",7),t.NdJ("click",function(){return e.onSubmit()}),t._uU(17),t.ALo(18,"translate"),t.ALo(19,"customTranslate"),t.qZA(),t.qZA()),2&o&&(t.xp6(1),t.Oqu(t.lcZ(2,7,t.lcZ(3,9,"DIALOGS.ADD_SSH.TITLE"))),t.xp6(6),t.s9C("placeholder",t.lcZ(8,11,t.lcZ(9,13,"DIALOGS.ADD_SSH.INPUT_PLACEHOLDER"))),t.Q6J("formControl",e.sshControl),t.xp6(3),t.Q6J("ngIf",e.sshControl.invalid&&e.sshControl.dirty),t.xp6(3),t.hij(" ",t.lcZ(14,15,t.lcZ(15,17,"DIALOGS.ADD_SSH.CANCEL"))," "),t.xp6(3),t.Q6J("disabled",e.sshControl.invalid),t.xp6(1),t.hij(" ",t.lcZ(18,19,t.lcZ(19,21,"DIALOGS.ADD_SSH.ADD"))," "))},directives:[On,Pn,Pi,zn,my,ji,Ds,yn,ar,_.O5,Oc,an,zt],pipes:[at,oi],styles:[".input-width{width:100%}.white-space-pre{white-space:pre-wrap}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper{padding-bottom:0}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:static!important;position:initial!important;display:block;margin-top:-1px}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper,perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:static!important;position:initial!important;display:table}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}\n"],encapsulation:2});let sB=(()=>{class n{constructor(e,i){this.dialogRef=e,this.data=i}ngOnInit(){this.sshKey=this.data.value}onClose(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ki),t.Y36(Rn))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-show-ssh-dialog"]],decls:8,vars:6,consts:[[1,"user-theme"],["matInput","","cdkTextareaAutosize","","readonly","",1,"w-100","display-fix"],["mat-flat-button","","color","warn",1,"ml-auto",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"textarea",1),t._uU(2),t.qZA(),t.qZA(),t.TgZ(3,"mat-dialog-actions"),t.TgZ(4,"button",2),t.NdJ("click",function(){return i.onClose()}),t._uU(5),t.ALo(6,"translate"),t.ALo(7,"customTranslate"),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Oqu(i.sshKey),t.xp6(3),t.hij(" ",t.lcZ(6,2,t.lcZ(7,4,"DIALOGS.SHOW_SSH.CLOSE"))," "))},directives:[zn,my,an,zt],pipes:[at,oi],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}*[_ngcontent-%COMP%]:focus{outline:none}"]}),n})();function oB(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-list-item",4),t.TgZ(1,"p",5),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw().showWholeKey(a)}),t._uU(2),t.qZA(),t.TgZ(3,"button",6),t.ALo(4,"translate"),t.ALo(5,"customTranslate"),t.TgZ(6,"mat-icon"),t._uU(7," file_copy "),t.qZA(),t.qZA(),t.TgZ(8,"button",7),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw().removeKey(a,!1)}),t.ALo(9,"translate"),t.ALo(10,"customTranslate"),t.TgZ(11,"mat-icon"),t._uU(12," delete "),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit;t.xp6(2),t.Oqu(e),t.xp6(1),t.s9C("matTooltip",t.lcZ(4,4,t.lcZ(5,6,"SSH_KEYS.COPY_TOOLTIP"))),t.Q6J("cdkCopyToClipboard",e),t.xp6(5),t.s9C("matTooltip",t.lcZ(9,8,t.lcZ(10,10,"SSH_KEYS.REMOVE_TOOLTIP")))}}function rB(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-list-item",4),t.TgZ(1,"label",8),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw().showWholeKey(a)}),t._uU(2),t.qZA(),t.TgZ(3,"button",9),t.TgZ(4,"mat-icon"),t._uU(5," file_copy "),t.qZA(),t.qZA(),t.TgZ(6,"button",10),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw().removeKey(a,!0)}),t.TgZ(7,"mat-icon"),t._uU(8," delete "),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit;t.xp6(2),t.Oqu(e),t.xp6(1),t.Q6J("cdkCopyToClipboard",e)}}let aB=(()=>{class n{constructor(e,i,s,a){this.store=e,this.attributesManagerService=i,this.dialog=s,this.translateService=a,this.adminKeys=[],this.userKeys=[],this.userUrn="urn:perun:user:attribute-def:def:sshPublicKey",this.adminUrn="urn:perun:user:attribute-def:def:sshPublicAdminKey",this.selection=new _n(!1,[]),this.selectionAdmin=new _n(!1,[]),a.get("SSH_KEYS.REMOVE_DIALOG_DESCRIPTION").subscribe(r=>this.removeDialogDescription=r),a.get("SSH_KEYS.REMOVE_DIALOG_TITLE").subscribe(r=>this.removeDialogTitle=r),a.get("ALERTS.NO_ALT_PASSWORDS").subscribe(r=>this.alertText=r),a.get("SSH_KEYS.HEADER_COLUMN").subscribe(r=>this.headerColumnText=r)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.translateService.onLangChange.subscribe(()=>{this.translateService.get("SSH_KEYS.REMOVE_DIALOG_DESCRIPTION").subscribe(e=>this.removeDialogDescription=e),this.translateService.get("SSH_KEYS.REMOVE_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e),this.translateService.get("ALERTS.NO_ALT_PASSWORDS").subscribe(e=>this.alertText=e),this.translateService.get("SSH_KEYS.HEADER_COLUMN").subscribe(e=>this.headerColumnText=e)}),this.loading=!0,this.getUserSSH(),this.getAdminSSH()}addKey(e){const i=Hi();i.width="850px",i.data={attribute:e?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId},this.dialog.open(Ba,i).afterClosed().subscribe(a=>{a&&(e?this.getAdminSSH():this.getUserSSH())})}removeKey(e,i){const s=Hi();s.width="600px",s.data={values:[e],attribute:i?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Yy,s).afterClosed().subscribe(r=>{r&&(this.loading=!0,i?(this.getAdminSSH(),this.selectionAdmin.clear()):(this.getUserSSH(),this.selection.clear()))})}getUserSSH(){this.attributesManagerService.getUserAttributeByName(this.userId,this.userUrn).subscribe(e=>{this.userKeyAttribute=e,this.userKeys=e.value,this.loading=!1})}getAdminSSH(){this.attributesManagerService.getUserAttributeByName(this.userId,this.adminUrn).subscribe(e=>{this.adminKeyAttribute=e,this.adminKeys=e.value,this.loading=!1})}showWholeKey(e){const i=Hi();i.width="600px",i.data={value:e},this.dialog.open(sB,i)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36($t),t.Y36(ei),t.Y36(Zi),t.Y36(ui))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-settings-ssh-keys"]],decls:28,vars:32,consts:[[1,"page-title"],["mat-flat-button","","color","accent",1,"action-button",3,"click"],["class","dark-hover-list-item","matRipple","","style","width: auto",4,"ngFor","ngForOf"],[1,"page-title","mt-5"],["matRipple","",1,"dark-hover-list-item",2,"width","auto"],[1,"truncate","center-content","cursor-pointer",3,"click"],["color","accent","mat-icon-button","",1,"ml-auto","center-content",3,"cdkCopyToClipboard","matTooltip"],["color","warn","mat-icon-button","",1,"ml-2","center-content",3,"matTooltip","click"],[1,"truncate","center-content",3,"click"],["mat-icon-button","","color","accent",1,"ml-auto","center-content",3,"cdkCopyToClipboard"],["mat-icon-button","","color","warn",1,"ml-2","center-content",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"p"),t._uU(5),t.ALo(6,"translate"),t.ALo(7,"customTranslate"),t.qZA(),t.TgZ(8,"button",1),t.NdJ("click",function(){return i.addKey(!1)}),t._uU(9),t.ALo(10,"translate"),t.ALo(11,"customTranslate"),t.qZA(),t.TgZ(12,"mat-list"),t.YNc(13,oB,13,12,"mat-list-item",2),t.qZA(),t.TgZ(14,"h1",3),t._uU(15),t.ALo(16,"translate"),t.ALo(17,"customTranslate"),t.qZA(),t.TgZ(18,"p"),t._uU(19),t.ALo(20,"translate"),t.ALo(21,"customTranslate"),t.qZA(),t.TgZ(22,"button",1),t.NdJ("click",function(){return i.addKey(!0)}),t._uU(23),t.ALo(24,"translate"),t.ALo(25,"customTranslate"),t.qZA(),t.TgZ(26,"mat-list"),t.YNc(27,rB,9,2,"mat-list-item",2),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,8,t.lcZ(3,10,"SSH_KEYS.SSH_KEYS_TITLE"))),t.xp6(4),t.Oqu(t.lcZ(6,12,t.lcZ(7,14,"SSH_KEYS.SSH_KEYS_DESCRIPTION"))),t.xp6(4),t.hij(" ",t.lcZ(10,16,t.lcZ(11,18,"SSH_KEYS.NEW_KEY")),"\n"),t.xp6(4),t.Q6J("ngForOf",i.userKeys),t.xp6(2),t.Oqu(t.lcZ(16,20,t.lcZ(17,22,"SSH_KEYS.ADMIN_SSH_KEYS_TITLE"))),t.xp6(4),t.Oqu(t.lcZ(20,24,t.lcZ(21,26,"SSH_KEYS.ADMIN_SSH_KEYS_DESCRIPTION"))),t.xp6(4),t.hij(" ",t.lcZ(24,28,t.lcZ(25,30,"SSH_KEYS.NEW_KEY")),"\n"),t.xp6(4),t.Q6J("ngForOf",i.adminKeys))},directives:[zt,fT,_.sg,Oy,ts,Qv,xs,An],pipes:[at,oi],styles:[".truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}.center-content[_ngcontent-%COMP%]{margin-bottom:auto;margin-top:auto}label[_ngcontent-%COMP%]:hover, .cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})(),cB=(()=>{class n{transform(e){return"virt"===e.namespace.split(":")[4]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=t.Yjl({name:"isVirtualAttribute",type:n,pure:!0}),n})();function lB(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"th",17),t.TgZ(1,"mat-checkbox",18),t.NdJ("change",function(s){t.CHM(e);const a=t.oxw();return s?a.masterToggle():null}),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())("aria-label",e.checkboxLabel())}}function uB(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"td",19),t.TgZ(1,"mat-checkbox",20),t.NdJ("click",function(s){return s.stopPropagation()})("change",function(s){const r=t.CHM(e).$implicit,c=t.oxw();return s?c.selection.toggle(r):null}),t.ALo(2,"multiWordDataCy"),t.ALo(3,"isVirtualAttribute"),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.xp6(1),t.Q2q("data-cy","",t.lcZ(2,4,e.displayName),"-checkbox"),t.Q6J("checked",i.selection.isSelected(e))("disabled",t.lcZ(3,6,e)||!e.writable)("aria-label",i.checkboxLabel(e))}}function dB(n,o){1&n&&(t.TgZ(0,"th",21),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")," "))}function hB(n,o){if(1&n&&(t.TgZ(0,"td",22),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Oqu(e.id)}}function fB(n,o){1&n&&(t.TgZ(0,"th",21),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")," "))}function pB(n,o){if(1&n&&(t.TgZ(0,"td",23),t.TgZ(1,"div",24),t._uU(2),t.qZA(),t.qZA()),2&n){const e=o.$implicit,i=t.oxw();t.xp6(1),t.s9C("matTooltip",i.getAttributeFullName(e)),t.xp6(1),t.hij(" ",e.displayName," ")}}function gB(n,o){1&n&&(t.TgZ(0,"th",25),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")," "))}function mB(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"td",23),t.TgZ(1,"perun-web-apps-attribute-value",26),t.NdJ("sendEventToParent2",function(){const a=t.CHM(e).$implicit;return t.oxw().onValueChange(a)}),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.xp6(1),t.Q6J("attribute",e)("readonly",i.readonly||!e.writable)}}function _B(n,o){1&n&&(t.TgZ(0,"th",21),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")," "))}function bB(n,o){if(1&n&&(t.TgZ(0,"td",23),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Oqu(e.description)}}function yB(n,o){1&n&&t._UZ(0,"tr",27)}function AB(n,o){if(1&n&&(t._UZ(0,"tr",28),t.ALo(1,"translate")),2&n){const e=o.$implicit,i=t.oxw();t.s9C("matTooltip",t.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),t.Q6J("matTooltipPosition","before")("matTooltipDisabled",e.writable||i.readonly)}}function wB(n,o){1&n&&(t.TgZ(0,"app-alert",29),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function MB(n,o){if(1&n&&(t.TgZ(0,"app-alert",29),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.hij(" ",t.lcZ(2,1,e.emptyListText),"\n")}}let vB=(()=>{class n{constructor(e,i){this.authResolver=e,this.tableCheckbox=i,this.attributes=[],this.selection=new _n(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.readonly=!1,this.hiddenColumns=[],this.emptyListText="SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY_SETTINGS",this.pageSizeOptions=$f}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new Ha(function ox(n){return n.filter(o=>!o.namespace.includes("def:core"))}(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(e,i){switch(i){case"id":return e.id.toString();case"displayName":return e.displayName;case"description":return e.description;case"value":return JSON.stringify(e.value);case"urn":return e.namespace+":"+e.baseFriendlyName;default:return""}}exportData(e){Qf(Xf(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(e=>!this.hiddenColumns.includes(e)),this.dataSource&&(this.dataSource.filterPredicate=(e,i)=>p1(e,i,this.displayedColumns.concat("urn"),this.getDataForColumn,this),this.dataSource.sortData=(e,i)=>f1(e,i,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}updateMapAttributes(){for(const e of this.items.toArray())"java.util.LinkedHashMap"===e.attribute.type&&e.updateMapAttribute()}onValueChange(e){this.canBeSelected(e)&&this.selection.select(e)}canBeSelected(e){return!Ud(e)&&e.writable}getAttributeFullName(e){return`${e.namespace}:${e.friendlyName}`}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Ga),t.Y36(Bv))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(e,i){if(1&e&&(t.Gf(pr,7),t.Gf(cr,7),t.Gf(MT,5)),2&e){let s;t.iGM(s=t.CRH())&&(i.matSort=s.first),t.iGM(s=t.CRH())&&(i.child=s.first),t.iGM(s=t.CRH())&&(i.items=s)}},inputs:{attributes:"attributes",selection:"selection",displayedColumns:"displayedColumns",inDialog:"inDialog",filterValue:"filterValue",tableId:"tableId",readonly:"readonly",hiddenColumns:"hiddenColumns",emptyListText:"emptyListText"},features:[t.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size align-checkbox",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","displayName"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"checked","disabled","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["matTooltipClass","urn-tooltip",3,"matTooltip"],["mat-header-cell",""],[3,"attribute","readonly","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["alert_type","warn"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(a){return i.exportData(a)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,lB,2,3,"th",4),t.YNc(5,uB,4,8,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,dB,3,3,"th",7),t.YNc(8,hB,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,fB,3,3,"th",7),t.YNc(11,pB,3,2,"td",10),t.BQk(),t.ynx(12,11),t.YNc(13,gB,3,3,"th",12),t.YNc(14,mB,2,2,"td",10),t.BQk(),t.ynx(15,13),t.YNc(16,_B,3,3,"th",7),t.YNc(17,bB,2,1,"td",10),t.BQk(),t.YNc(18,yB,1,0,"tr",14),t.YNc(19,AB,2,5,"tr",15),t.qZA(),t.qZA(),t.qZA(),t.YNc(20,wB,3,3,"app-alert",16),t.YNc(21,MB,3,3,"app-alert",16)),2&e&&(t.Q6J("hidden",0===i.dataSource.filteredData.length),t.xp6(1),t.Q6J("tableId",i.tableId)("dataLength",i.dataSource.filteredData.length)("pageSizeOptions",i.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",i.dataSource),t.xp6(16),t.Q6J("matHeaderRowDef",i.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",i.displayedColumns),t.xp6(1),t.Q6J("ngIf",0===i.dataSource.filteredData.length&&0!==i.dataSource.data.length),t.xp6(1),t.Q6J("ngIf",0===i.dataSource.data.length))},directives:[cr,Ur,pr,dr,ur,hr,Wc,lr,fr,C1,xs,MT,Gr,Wr,Vr,Kr,_.O5,Zn],pipes:[gT,cB,at],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-row[_ngcontent-%COMP%]{height:auto}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.mat-column-value[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:300px!important}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important} .urn-tooltip{max-width:800px!important}"]}),n})();function TB(n,o){1&n&&t._UZ(0,"mat-spinner",5)}function CB(n,o){1&n&&t._UZ(0,"mat-spinner",5)}function SB(n,o){if(1&n&&t._UZ(0,"perun-web-apps-attributes-list",10),2&n){const e=t.oxw(3);t.Q6J("attributes",e.attributes)("readonly",!0)("hiddenColumns",e.hiddenColumns)}}function EB(n,o){if(1&n&&(t.YNc(0,CB,1,0,"mat-spinner",3),t.YNc(1,SB,1,3,"perun-web-apps-attributes-list",9)),2&n){const e=t.oxw(2);t.Q6J("ngIf",e.innerLoading),t.xp6(1),t.Q6J("ngIf",!e.innerLoading)}}function kB(n,o){1&n&&t._UZ(0,"mat-spinner",5)}function DB(n,o){if(1&n&&t._UZ(0,"perun-web-apps-attributes-list",10),2&n){const e=t.oxw(4);t.Q6J("attributes",e.attributes)("readonly",!0)("hiddenColumns",e.hiddenColumns)}}function xB(n,o){if(1&n&&(t.YNc(0,kB,1,0,"mat-spinner",3),t.YNc(1,DB,1,3,"perun-web-apps-attributes-list",9)),2&n){const e=t.oxw(3);t.Q6J("ngIf",e.innerLoading),t.xp6(1),t.Q6J("ngIf",!e.innerLoading)}}function LB(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-expansion-panel",6),t.NdJ("opened",function(){const a=t.CHM(e).$implicit;return t.oxw(2).getMemberData(a)}),t.TgZ(1,"mat-expansion-panel-header"),t.TgZ(2,"mat-panel-title"),t._uU(3),t.ALo(4,"translate"),t.ALo(5,"customTranslate"),t.qZA(),t.qZA(),t.YNc(6,xB,2,2,"ng-template",7),t.qZA()}if(2&n){const e=o.$implicit;t.xp6(3),t.AsE(" ",t.lcZ(4,2,t.lcZ(5,4,"PRIVACY.DATA")),"",e.name," ")}}function RB(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-accordion"),t.TgZ(1,"mat-expansion-panel",6),t.NdJ("opened",function(){return t.CHM(e),t.oxw().getUserData()}),t.TgZ(2,"mat-expansion-panel-header"),t.TgZ(3,"mat-panel-title"),t._uU(4),t.ALo(5,"translate"),t.ALo(6,"customTranslate"),t.qZA(),t.qZA(),t.YNc(7,EB,2,2,"ng-template",7),t.qZA(),t.YNc(8,LB,7,6,"mat-expansion-panel",8),t.qZA()}if(2&n){const e=t.oxw();t.xp6(4),t.hij(" ",t.lcZ(5,2,t.lcZ(6,4,"PRIVACY.USER_INFO"))," "),t.xp6(4),t.Q6J("ngForOf",e.filteredVos)}}let OB=(()=>{class n{constructor(e,i,s,a){this.usersManagerService=e,this.membersService=i,this.attributesManagerService=s,this.storage=a,this.vos=[],this.attributes=[],this.username="",this.hiddenColumns=["select","id"],this.filteredVos=[]}ngOnInit(){this.outerLoading=!0,this.userId=this.storage.getPerunPrincipal().userId,this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e,this.filteredVos=e,this.outerLoading=!1})}getUserData(){this.innerLoading=!0,this.usersManagerService.getRichUserWithAttributes(this.userId).subscribe(e=>{this.user=e,this.attributes=e.userAttributes,this.username=(new gy).transform(e),this.innerLoading=!1})}getMemberData(e){this.innerLoading=!0,this.membersService.getMemberByUser(e.id,this.userId).subscribe(i=>{this.membersService.getRichMemberWithAttributes(i.id).subscribe(s=>{this.attributes=s.memberAttributes,this.innerLoading=!1})})}applyFilter(e){this.filteredVos=this.vos.filter(i=>i.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(zi),t.Y36(_t),t.Y36(ei),t.Y36($t))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-privacy-page"]],decls:10,vars:12,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"opened"],["matExpansionPanelContent",""],[3,"opened",4,"ngFor","ngForOf"],[3,"attributes","readonly","hiddenColumns",4,"ngIf"],[3,"attributes","readonly","hiddenColumns"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"div",1),t.TgZ(5,"perun-web-apps-immediate-filter",2),t.NdJ("filter",function(a){return i.applyFilter(a)}),t.ALo(6,"translate"),t.ALo(7,"customTranslate"),t.qZA(),t.YNc(8,TB,1,0,"mat-spinner",3),t.YNc(9,RB,9,6,"mat-accordion",4),t.qZA()),2&e&&(t.xp6(1),t.Oqu(t.lcZ(2,4,t.lcZ(3,6,"PRIVACY.TITLE"))),t.xp6(4),t.Q6J("placeholder",t.lcZ(6,8,t.lcZ(7,10,"SERVICES.FILTER"))),t.xp6(3),t.Q6J("ngIf",i.outerLoading),t.xp6(1),t.Q6J("ngIf",!i.outerLoading))},directives:[rp,_.O5,In,qy,E1,k1,Fy,S1,vB,_.sg],pipes:[at,oi],styles:[""]}),n})(),PB=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-home-page"]],decls:1,vars:0,template:function(e,i){1&e&&t._UZ(0,"router-outlet")},directives:[Rr],styles:[""]}),n})(),ST=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[qc,_.ez]]}),n})(),BB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({}),n})(),WB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[BB,ut],ut]}),n})(),nF=(()=>{class n{constructor(){this.changes=new xe.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,i){return`${e} \u2013 ${i}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const rF={provide:new t.OlP("mat-datepicker-scroll-strategy"),deps:[zs],useFactory:function oF(n){return()=>n.scrollStrategies.reposition()}};let LT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[nF,rF],imports:[[_.ez,or,Ll,Ew,kl,ut],$o]}),n})(),fF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.ez,Hc,or,w1,qc,m1,qd]]}),n})(),RT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[ut],ut]}),n})(),Vk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[Zl,ut],Zl,ut]}),n})(),mF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[pc]]}),n})(),OT=(()=>{class n{constructor(){this.changes=new xe.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const EF={provide:OT,deps:[[new t.FiY,new t.tp0,OT]],useFactory:function SF(n){return n||new OT}};let Kk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[EF,Kl],imports:[[ut,_.ez,kl,or,mF,qc,ds],ut]}),n})(),kF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.ez,RT,dT,CT,or,Vk,w1,qc,Sy,gf,m1,Pc,g1,gc,n1,Hc,Kk,LT,lf,uT,pT,u1,Jv,By,H,qd,pu,ds],RT,dT,CT,or,Vk,w1,qc,Sy,gf,m1,Pc,g1,gc,n1,Hc,Kk,LT,lf,uT,pT,u1,Jv,By,H,qd,pu,ds]}),n})(),DF=(()=>{class n extends e0{format(e,i){return"input"===i?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=t.n5z(n)))(i||n)}}(),n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();const xF={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Zk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[{provide:so,useClass:DF},{provide:wd,useValue:xF}],imports:[[_.ez,w1,Sy,n1,jP,LP,vf,Qs,By,H,m1,ST,qc,u1,or,qd,Pc,Hc,g1,ds,US,eE,WB,LT,aE,Md,pu,fF,gc,gf,HS,kF]]}),n})();function LF(n,o){1&n&&(t.TgZ(0,"app-alert"),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function RF(n,o){1&n&&(t.TgZ(0,"th",16),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))," "))}function OF(n,o){if(1&n&&(t.TgZ(0,"td",17),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Oqu(e.friendlyNameParameter)}}function PF(n,o){1&n&&(t.TgZ(0,"th",16),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))," "))}function zF(n,o){if(1&n&&(t.TgZ(0,"td",18),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Oqu(e.value)}}function IF(n,o){1&n&&t._UZ(0,"th",16)}function NF(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"td",19),t.TgZ(1,"button",20),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw().resetPassword(a.friendlyNameParameter)}),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"customTranslate"),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.xp6(1),t.Q6J("disabled",!i.logins.includes(e)),t.xp6(1),t.hij(" ",t.lcZ(3,2,t.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.RESET_PASSWORD"))," ")}}function HF(n,o){1&n&&t._UZ(0,"th",16)}function BF(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"td",19),t.TgZ(1,"button",21),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw().changePassword(a)}),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"customTranslate"),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.xp6(1),t.Q6J("disabled",!i.logins.includes(e)),t.xp6(1),t.hij(" ",t.lcZ(3,2,t.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD"))," ")}}function FF(n,o){1&n&&t._UZ(0,"tr",22)}function qF(n,o){1&n&&t._UZ(0,"tr",23)}let jF=(()=>{class n{constructor(e,i,s,a,r,c){this.attributesManagerService=e,this.store=i,this.dialog=s,this.route=a,this.router=r,this.otherApplicationService=c,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","reset","change"]}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(e=>{const i=this.nameSpaces.map(r=>{const c=r.split(":");return c[c.length-1]});this.logins=e.filter(r=>i.includes(r.friendlyNameParameter)),this.dataSource=new Ha(e);const a=this.route.snapshot.queryParamMap.get("namespace");if(a){const r=this.logins.find(c=>c.friendlyNameParameter===a);r&&this.changePassword(r)}})}resetPassword(e){window.open(this.otherApplicationService.getUrlForOtherApplication("pwdReset",e),"_blank")}changePassword(e){this.router.navigate([],{queryParams:{namespace:e.friendlyNameParameter},queryParamsHandling:"merge"});const i=Hi();i.width="600px",i.data={login:e.value,namespace:e.friendlyName.split(":")[1]},this.dialog.open(lL,i).afterClosed().subscribe(()=>{this.router.navigate([],{queryParams:{namespace:null},queryParamsHandling:"merge"})})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ei),t.Y36($t),t.Y36(Zi),t.Y36(As),t.Y36(Mi),t.Y36(YS))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-password-reset"]],decls:23,vars:9,consts:[[1,"page-subtitle"],[4,"ngIf"],[1,"card","mt-2","table-size-fix"],[1,"card-body"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","value","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","namespace"],["mat-header-cell","",4,"matHeaderCellDef"],["class","w-25","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","w-50","mat-cell","",4,"matCellDef"],["matColumnDef","reset"],["mat-cell","",4,"matCellDef"],["matColumnDef","change"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"w-25"],["mat-cell","",1,"w-50"],["mat-cell",""],["color","accent","mat-flat-button","",3,"disabled","click"],["color","accent","mat-flat-button","",1,"action-button",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.YNc(4,LF,4,5,"app-alert",1),t.TgZ(5,"div",2),t.TgZ(6,"div",3),t.TgZ(7,"div",4),t.TgZ(8,"table",5),t.ynx(9,6),t.YNc(10,RF,4,5,"th",7),t.YNc(11,OF,2,1,"td",8),t.BQk(),t.ynx(12,9),t.YNc(13,PF,4,5,"th",7),t.YNc(14,zF,2,1,"td",10),t.BQk(),t.ynx(15,11),t.YNc(16,IF,1,0,"th",7),t.YNc(17,NF,5,6,"td",12),t.BQk(),t.ynx(18,13),t.YNc(19,HF,1,0,"th",7),t.YNc(20,BF,5,6,"td",12),t.BQk(),t.YNc(21,FF,1,0,"tr",14),t.YNc(22,qF,1,0,"tr",15),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,5,t.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE")),"\n"),t.xp6(3),t.Q6J("ngIf",!i.logins.length),t.xp6(4),t.Q6J("dataSource",i.dataSource),t.xp6(13),t.Q6J("matHeaderRowDef",i.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",i.displayedColumns))},directives:[_.O5,Zn,Ur,pr,dr,ur,hr,lr,fr,zt,Gr,Wr,Vr,Kr],pipes:[at,oi],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:#0000000d}"]}),n})();function r4(n,o){1&n&&(t.TgZ(0,"app-alert",11),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.INFO"))))}function a4(n,o){1&n&&(t.TgZ(0,"app-alert",12),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.IMG_TOO_LONG"))))}function c4(n,o){if(1&n&&(t.TgZ(0,"div",13),t._UZ(1,"img",14),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("src",e.newImage,t.LSH)}}function l4(n,o){1&n&&(t.TgZ(0,"app-alert",11),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,t.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.DELAY_INFO"))))}let u4=(()=>{class n{constructor(e,i,s,a){this.dialogRef=e,this.data=i,this.attributesManagerService=s,this.store=a,this.newImage=""}ngOnInit(){this.theme=this.data.theme,this.attribute=this.data.attribute,this.newImage=this.attribute.value}handleInputChange(e){const i=e.dataTransfer?e.dataTransfer.files[0]:e.target.files[0],a=new FileReader;i.type.match(/image-*/)?(a.onload=this._handleReaderLoaded.bind(this),a.readAsDataURL(i)):alert("invalid format")}_handleReaderLoaded(e){const i=e.target;this.imgTooLong=i.result.length>=5120,this.newImage=i.result}onAdd(){this.attribute.value=this.newImage,this.attributesManagerService.setUserAttribute({attribute:this.attribute,user:this.store.getPerunPrincipal().userId}).subscribe(()=>{this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}generateImg(){const c=100;function g(re,ye,ve,Le){Le.beginPath(),Le.rect(20*re,20*ye,20,20),Le.fillStyle="rgb("+ve.join(",")+")",Le.fill()}this.newImage=function $(){const re=function h(){const re=document.createElement("canvas");re.width=c,re.height=c;const ye=re.getContext("2d");return ye.beginPath(),ye.rect(0,0,c,c),ye.fillStyle="#FFFFFF",ye.fill(),re}(),ye=re.getContext("2d"),ve=function O(){const re=[];for(let ye=0;ye<3;ye++){const ve=Math.floor(256*Math.random()),Le=Math.max(120,ve),it=Math.min(200,Le);re.push(it)}return re}();for(let Le=0;Le({disableToggleValue:!1})});let _4=0;const b4={provide:is,useExisting:(0,t.Gpc)(()=>Xk),multi:!0};class y4{constructor(o,e){this.source=o,this.checked=e}}const A4=Ec(La(no(sr(class{constructor(n){this._elementRef=n}}))));let Xk=(()=>{class n extends A4{constructor(e,i,s,a,r,c){super(e),this._focusMonitor=i,this._changeDetectorRef=s,this.defaults=r,this._onChange=u=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++_4,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new t.vpe,this.toggleChange=new t.vpe,this.tabIndex=parseInt(a)||0,this.color=this.defaultColor=r.color||"accent",this._noopAnimations="NoopAnimations"===c}get required(){return this._required}set required(e){this._required=qe(e)}get checked(){return this._checked}set checked(e){this._checked=qe(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(e){e.stopPropagation()}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new y4(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(eo),t.Y36(t.sBO),t.$8M("tabindex"),t.Y36(m4),t.Y36(Vn,8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["mat-slide-toggle"]],viewQuery:function(e,i){if(1&e&&(t.Gf(d4,5),t.Gf(h4,5),t.Gf(f4,5)),2&e){let s;t.iGM(s=t.CRH())&&(i._thumbEl=s.first),t.iGM(s=t.CRH())&&(i._thumbBarEl=s.first),t.iGM(s=t.CRH())&&(i._inputElement=s.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(e,i){2&e&&(t.Ikx("id",i.id),t.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),t.ekj("mat-checked",i.checked)("mat-disabled",i.disabled)("mat-slide-toggle-label-before","before"==i.labelPosition)("_mat-animation-noopable",i._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[t._Bn([b4]),t.qOj],ngContentSelectors:g4,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,i){if(1&e&&(t.F$t(),t.TgZ(0,"label",0,1),t.TgZ(2,"span",2,3),t.TgZ(4,"input",4,5),t.NdJ("change",function(a){return i._onChangeEvent(a)})("click",function(a){return i._onInputClick(a)}),t.qZA(),t.TgZ(6,"span",6,7),t._UZ(8,"span",8),t.TgZ(9,"span",9),t._UZ(10,"span",10),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,"span",11,12),t.NdJ("cdkObserveContent",function(){return i._onLabelTextChange()}),t.TgZ(13,"span",13),t._uU(14,"\xa0"),t.qZA(),t.Hsn(15),t.qZA(),t.qZA()),2&e){const s=t.MAs(1),a=t.MAs(12);t.uIk("for",i.inputId),t.xp6(2),t.ekj("mat-slide-toggle-bar-no-side-margin",!a.textContent||!a.textContent.trim()),t.xp6(2),t.Q6J("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex)("checked",i.checked)("disabled",i.disabled),t.uIk("name",i.name)("aria-checked",i.checked)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),t.xp6(5),t.Q6J("matRippleTrigger",s)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",t.VKq(18,p4,i._noopAnimations?0:150))}},directives:[ts,dg],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),n})(),Qk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({}),n})(),v4=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[Qk,ds,ut,nd],Qk,ut]}),n})();const T4=["toggle"];function C4(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"img",12),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("src",e.imageSrc,t.LSH)}}function S4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",8),t.TgZ(1,"h1",2),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"customTranslate"),t.qZA(),t.TgZ(5,"p"),t._uU(6),t.ALo(7,"translate"),t.ALo(8,"customTranslate"),t.qZA(),t.YNc(9,C4,2,1,"div",9),t.TgZ(10,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw().onAddImg()}),t._uU(11),t.ALo(12,"translate"),t.ALo(13,"customTranslate"),t.qZA(),t.TgZ(14,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().onDeleteImg()}),t._uU(15),t.ALo(16,"translate"),t.ALo(17,"customTranslate"),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,6,t.lcZ(4,8,"AUTHENTICATION.TITLE"))),t.xp6(4),t.Oqu(t.lcZ(7,10,t.lcZ(8,12,"AUTHENTICATION.ANTI_PHISHING_INFO"))),t.xp6(3),t.Q6J("ngIf",e.imageSrc&&e.imageSrc.length),t.xp6(2),t.hij(" ",t.lcZ(12,14,t.lcZ(13,16,"AUTHENTICATION.NEW_IMG"))," "),t.xp6(3),t.Q6J("disabled",!e.imgAtt||!e.imgAtt.value),t.xp6(1),t.hij(" ",t.lcZ(16,18,t.lcZ(17,20,"AUTHENTICATION.DELETE_IMG"))," ")}}function E4(n,o){1&n&&t._UZ(0,"mat-spinner",13)}let k4=(()=>{class n{constructor(e,i,s,a,r,c){this.dialog=e,this.attributesManagerService=i,this.store=s,this.translate=a,this.oauthService=r,this.authService=c,this.imageSrc="",this.mfaUrl="",this.mfaAvailable=!1,this.mfaApiUrl="",this.loadingMfa=!1,this.loadingImg=!1,a.get("AUTHENTICATION.DELETE_IMG_DIALOG_TITLE").subscribe(u=>this.removeDialogTitle=u),a.get("AUTHENTICATION.DELETE_IMG_DIALOG_DESC").subscribe(u=>this.removeDialogDescription=u)}ngAfterViewInit(){this.toggle.change.subscribe(e=>{this.reAuthenticate(e.checked)})}ngOnInit(){this.loadingMfa=!0,this.loadingImg=!0,this.translate.onLangChange.subscribe(()=>{this.translate.get("AUTHENTICATION.DELETE_IMG_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e),this.translate.get("AUTHENTICATION.DELETE_IMG_DIALOG_DESC").subscribe(e=>this.removeDialogDescription=e),this.mfaUrl=this.store.get("mfa","url_"+this.translate.currentLang)}),this.mfaUrl=this.store.get("mfa","url_"+this.translate.currentLang),this.mfaApiUrl=this.store.get("mfa","api_url"),fetch(this.mfaApiUrl+"mfaAvailable",{method:"GET",headers:{Authorization:"Bearer "+this.oauthService.getIdToken()}}).then(e=>e.text()).then(e=>{this.mfaAvailable="true"===e,this.mfaAvailable?this.loadMfa():this.loadingMfa=!1}).catch(e=>{console.error(e),this.loadingMfa=!1}),this.loadImage()}loadMfa(){if(sessionStorage.getItem("mfa_route")){const i=sessionStorage.getItem("enforce_mfa");this.enableMfa("true"===i).then(s=>{s.ok&&"true"===i&&this.toggle.toggle(),this.loadingMfa=!1}).catch(s=>{console.error(s),this.loadingMfa=!1})}else{const i=this.store.get("mfa","enforce_mfa_attribute");this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,i).subscribe(s=>{s.value&&this.toggle.toggle(),this.loadingMfa=!1},s=>{console.error(s),this.loadingMfa=!1})}sessionStorage.getItem("mfa_route")&&(sessionStorage.removeItem("enforce_mfa"),sessionStorage.removeItem("mfa_route"))}onAddImg(){const e=Hi();e.width="500px",e.data={theme:"user-theme",attribute:this.imgAtt},this.dialog.open(u4,e).afterClosed().subscribe(s=>{s&&this.loadImage()})}reAuthenticate(e){sessionStorage.setItem("enforce_mfa",e.toString()),sessionStorage.setItem("mfa_route","/profile/settings/auth"),localStorage.removeItem("refresh_token"),this.oauthService.logOut(!0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.loadConfigData(),this.oauthService.loadDiscoveryDocumentAndLogin()}enableMfa(e){const i=this.oauthService.getIdToken();return fetch(`${this.mfaApiUrl}mfaEnforced`,{method:"PUT",body:`value=${e}`,headers:{Authorization:`Bearer ${i}`}})}onDeleteImg(){const e=Hi();e.width="600px",e.data={doNotShowValues:!0,attribute:this.imgAtt,userId:this.store.getPerunPrincipal().userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Yy,e).afterClosed().subscribe(s=>{s&&this.loadImage()})}loadImage(){const e=this.store.get("mfa","security_image_attribute");this.displayImageBlock=this.store.get("mfa","enable_security_image"),this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,e).subscribe(i=>{i?(this.imgAtt=i,this.imageSrc=this.imgAtt.value):this.attributesManagerService.getAttributeDefinitionByName(e).subscribe(s=>{this.imgAtt=s}),this.loadingImg=!1},i=>{console.error(i),this.loadingImg=!1})}redirectToMfa(){window.open(this.mfaUrl,"_blank")}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Zi),t.Y36(ei),t.Y36($t),t.Y36(ui),t.Y36(o0.Ct),t.Y36(Ra))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-settings-authentication"]],viewQuery:function(e,i){if(1&e&&t.Gf(T4,5),2&e){let s;t.iGM(s=t.CRH())&&(i.toggle=s.first)}},decls:19,vars:23,consts:[[3,"hidden"],["class","mb-5",4,"ngIf"],[1,"page-subtitle"],["matTooltipPosition","right",3,"matTooltip","matTooltipDisabled"],["color","primary",3,"disabled"],["toggle",""],["mat-flat-button","","color","accent",1,"mt-3",3,"click"],["class","ml-auto mr-auto",4,"ngIf"],[1,"mb-5"],[4,"ngIf"],["color","accent","mat-flat-button","",1,"m-1","action-button",3,"click"],["color","warn","mat-flat-button","",1,"m-1",3,"disabled","click"],["alt","",1,"img-size",3,"src"],[1,"ml-auto","mr-auto"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,S4,18,22,"div",1),t.TgZ(2,"h1",2),t._uU(3),t.ALo(4,"translate"),t.ALo(5,"customTranslate"),t.qZA(),t.TgZ(6,"span",3),t.ALo(7,"translate"),t.ALo(8,"customTranslate"),t.TgZ(9,"mat-slide-toggle",4,5),t._uU(11),t.ALo(12,"translate"),t.ALo(13,"customTranslate"),t.qZA(),t.qZA(),t._UZ(14,"br"),t.TgZ(15,"button",6),t.NdJ("click",function(){return i.redirectToMfa()}),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.qZA(),t.YNc(18,E4,1,0,"mat-spinner",7)),2&e&&(t.Q6J("hidden",i.loadingMfa||i.loadingImg),t.xp6(1),t.Q6J("ngIf",i.displayImageBlock),t.xp6(2),t.Oqu(t.lcZ(4,9,t.lcZ(5,11,"AUTHENTICATION.MFA"))),t.xp6(3),t.Q6J("matTooltip",t.lcZ(7,13,t.lcZ(8,15,"AUTHENTICATION.MFA_DISABLED")))("matTooltipDisabled",i.mfaAvailable),t.xp6(3),t.Q6J("disabled",!i.mfaAvailable),t.xp6(2),t.Oqu(t.lcZ(12,17,t.lcZ(13,19,"AUTHENTICATION.MFA_TOGGLE"))),t.xp6(5),t.hij(" ",t.lcZ(17,21,"AUTHENTICATION.MFA_INFO")," "),t.xp6(2),t.Q6J("ngIf",i.loadingMfa||i.loadingImg))},directives:[_.O5,zt,xs,Xk,In],pipes:[at,oi],styles:[".img-size[_ngcontent-%COMP%]{width:100px;height:100px}"]}),n})(),D4=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.ez,or,qc,Qs,Zk,vf,Pc,Hc,g1,ST]]}),n})(),x4=(()=>{class n{constructor(e,i){this.auth=e,this.router=i}ngOnInit(){this.auth.isLoggedIn()&&this.router.navigate(["/home"])}startAuth(){this.auth.startAuthentication()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Ra),t.Y36(Mi))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],[1,"mb-3"],["mat-raised-button","","color","primary",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.TgZ(3,"h4",3),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"button",4),t.NdJ("click",function(){return i.startAuth()}),t._uU(7),t.ALo(8,"translate"),t.TgZ(9,"mat-icon"),t._uU(10," login "),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(4),t.hij(" ",t.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),t.xp6(3),t.hij(" ",t.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[zt,An],pipes:[at],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),n})();function L4(n,o){1&n&&(t.TgZ(0,"app-alert",8),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}let R4=(()=>{class n{constructor(e,i,s){this.authzService=e,this.dialog=i,this.translate=s,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new fs(null,[Tn.required]),this.passwordCtrl=new fs(null,[Tn.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(e=>{sessionStorage.setItem("baPrincipal",JSON.stringify(e)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Qi),t.Y36(Zi),t.Y36(ui))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-login-screen-service-access"]],decls:28,vars:23,consts:[[1,"container","login-con","vo-theme","top-padding"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],["alert_type","error",4,"ngIf"],["appearance","outline"],["matInput","","required","",3,"formControl"],["matInput","","required","",3,"formControl","type"],["mat-raised-button","",1,"black",3,"disabled","click"],["alert_type","error"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.TgZ(3,"h2"),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.YNc(6,L4,3,3,"app-alert",3),t.TgZ(7,"mat-form-field",4),t.TgZ(8,"mat-label"),t._uU(9),t.ALo(10,"translate"),t.qZA(),t._UZ(11,"input",5),t.TgZ(12,"mat-error"),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.qZA(),t.TgZ(15,"mat-form-field",4),t.TgZ(16,"mat-label"),t._uU(17),t.ALo(18,"translate"),t.qZA(),t._UZ(19,"input",6),t.TgZ(20,"mat-error"),t._uU(21),t.ALo(22,"translate"),t.qZA(),t.qZA(),t.TgZ(23,"button",7),t.NdJ("click",function(){return i.startAuth()}),t._uU(24),t.ALo(25,"translate"),t.TgZ(26,"mat-icon"),t._uU(27," login "),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(4),t.Oqu(t.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),t.xp6(2),t.Q6J("ngIf",i.wrongUsernameOrPassword),t.xp6(3),t.Oqu(t.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),t.xp6(2),t.Q6J("formControl",i.usernameCtrl),t.xp6(2),t.hij(" ",t.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),t.xp6(4),t.Oqu(t.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),t.xp6(2),t.Q6J("formControl",i.passwordCtrl)("type","password"),t.xp6(2),t.hij(" ",t.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),t.xp6(2),t.Q6J("disabled",i.usernameCtrl.invalid||i.passwordCtrl.invalid),t.xp6(1),t.hij(" ",t.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[_.O5,Zn,Pi,rr,zn,ji,Ds,yn,ar,Oc,zt,An],pipes:[at],styles:[".top-padding[_ngcontent-%COMP%]{padding:120px 0}mat-form-field.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:250px}.black[_ngcontent-%COMP%]{background-color:#000;color:#fff}"]}),n})(),O4=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-consents-page"]],decls:1,vars:0,template:function(e,i){1&e&&t._UZ(0,"router-outlet")},directives:[Rr],styles:[""]}),n})();function P4(n,o){1&n&&t._UZ(0,"mat-spinner",4)}function z4(n,o){if(1&n&&(t.TgZ(0,"li"),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.hij(" ",e.displayName," ")}}function I4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"h1",5),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"customTranslate"),t.qZA(),t.TgZ(5,"div",6),t._uU(6),t.qZA(),t.TgZ(7,"div"),t._uU(8),t.ALo(9,"translate"),t.ALo(10,"customTranslate"),t.TgZ(11,"ul"),t.YNc(12,z4,2,1,"li",7),t.qZA(),t.qZA(),t.TgZ(13,"div",0),t.TgZ(14,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().rejectConsent()}),t._uU(15),t.ALo(16,"translate"),t.ALo(17,"customTranslate"),t.qZA(),t.TgZ(18,"button",9),t.NdJ("click",function(){return t.CHM(e),t.oxw().grantConsent()}),t._uU(19),t.ALo(20,"translate"),t.ALo(21,"customTranslate"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,6,t.lcZ(4,8,"CONSENTS.REQUEST.TITLE"))," "),t.xp6(4),t.Oqu(e.consent.consentHub.name),t.xp6(2),t.hij(" ",t.lcZ(9,10,t.lcZ(10,12,"CONSENTS.REQUEST.CONSENT_TEXT_UNSIGNED")),": "),t.xp6(4),t.Q6J("ngForOf",e.consent.attributes),t.xp6(3),t.hij(" ",t.lcZ(16,14,t.lcZ(17,16,"CONSENTS.REQUEST.REJECT_CONSENT_BUTTON"))," "),t.xp6(4),t.hij(" ",t.lcZ(20,18,t.lcZ(21,20,"CONSENTS.REQUEST.GRANT_CONSENT_BUTTON"))," ")}}let N4=(()=>{class n{constructor(e,i,s,a,r,c){this.notificator=e,this.translate=i,this.consentService=s,this.route=a,this.apiRequest=r,this.router=c,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{const i=e.consentId;this.apiRequest.dontHandleErrorForNext(),this.consentService.getConsentById(i).subscribe(s=>{this.consent=s,"UNSIGNED"!==this.consent.status&&this.router.navigate(["/profile","consents"],{queryParamsHandling:"merge"}),this.loading=!1},s=>{this.loading=!1,"ConsentNotExistsException"!==s.error.name&&this.notificator.showRPCError(s.error),this.router.navigate(["/profile","consents"],{queryParamsHandling:"merge"})})})}grantConsent(){this.loading=!0,this.consentService.changeConsentStatus(this.consent.id,"GRANTED").subscribe(()=>{this.notificator.showSuccess(this.translate.instant("CONSENTS.CONSENT_GRANTED")+this.consent.consentHub.name),this.router.navigate(["/profile","consents"],{queryParamsHandling:"merge"})},()=>this.loading=!1)}rejectConsent(){this.loading=!0,this.consentService.changeConsentStatus(this.consent.id,"REVOKED").subscribe(()=>{this.notificator.showSuccess(this.translate.instant("CONSENTS.CONSENT_REJECTED")+this.consent.consentHub.name),this.router.navigate(["/profile","consents"],{queryParamsHandling:"merge"})},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ao),t.Y36(ui),t.Y36(Di),t.Y36(As),t.Y36(py),t.Y36(Mi))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-consent-request"]],decls:4,vars:2,consts:[[1,"d-flex"],[1,"card","p-4","mat-elevation-z3","ml-auto","mr-auto"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"page-title"],[1,"page-subtitle"],[4,"ngFor","ngForOf"],["mat-flat-button","","color","warn",1,"mr-2","ml-auto",3,"click"],["mat-flat-button","","color","accent",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.YNc(2,P4,1,0,"mat-spinner",2),t.YNc(3,I4,22,22,"div",3),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",!i.loading))},directives:[_.O5,In,_.sg,zt],pipes:[at,oi],styles:[".minimize-checkbox{font-size:.7rem;color:gray}\n"],encapsulation:2}),n})();function H4(n,o){1&n&&(t.TgZ(0,"span"),t.TgZ(1,"mat-icon",1),t._uU(2,"priority_high"),t.qZA(),t.TgZ(3,"span"),t._uU(4),t.ALo(5,"translate"),t.ALo(6,"customTranslate"),t.qZA(),t.qZA()),2&n&&(t.xp6(4),t.hij(" ",t.lcZ(5,1,t.lcZ(6,3,"CONSENTS.STATUS_UNSIGNED")),""))}function B4(n,o){1&n&&(t.TgZ(0,"span"),t.TgZ(1,"mat-icon",1),t._uU(2,"close"),t.qZA(),t.TgZ(3,"span"),t._uU(4),t.ALo(5,"translate"),t.ALo(6,"customTranslate"),t.qZA(),t.qZA()),2&n&&(t.xp6(4),t.hij(" ",t.lcZ(5,1,t.lcZ(6,3,"CONSENTS.STATUS_REVOKED")),""))}function F4(n,o){1&n&&(t.TgZ(0,"span"),t.TgZ(1,"mat-icon",2),t._uU(2,"check"),t.qZA(),t.TgZ(3,"span"),t._uU(4),t.ALo(5,"translate"),t.ALo(6,"customTranslate"),t.qZA(),t.qZA()),2&n&&(t.xp6(4),t.hij(" ",t.lcZ(5,1,t.lcZ(6,3,"CONSENTS.STATUS_GRANTED")),""))}let q4=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-consent-status"]],inputs:{consentStatus:"consentStatus"},decls:3,vars:3,consts:[[4,"ngIf"],["color","warn"],["color","accent"]],template:function(e,i){1&e&&(t.YNc(0,H4,7,5,"span",0),t.YNc(1,B4,7,5,"span",0),t.YNc(2,F4,7,5,"span",0)),2&e&&(t.Q6J("ngIf","UNSIGNED"===i.consentStatus),t.xp6(1),t.Q6J("ngIf","REVOKED"===i.consentStatus),t.xp6(1),t.Q6J("ngIf","GRANTED"===i.consentStatus))},directives:[_.O5,An],pipes:[at,oi],styles:["mat-icon[_ngcontent-%COMP%]{vertical-align:bottom}"]}),n})();function j4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"th",15),t.TgZ(1,"mat-checkbox",16),t.NdJ("change",function(s){t.CHM(e);const a=t.oxw();return s?a.masterToggle():null}),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function Y4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"td",17),t.TgZ(1,"mat-checkbox",18),t.NdJ("click",function(s){return s.stopPropagation()})("change",function(s){const r=t.CHM(e).$implicit,c=t.oxw();return s?c.selection.toggle(r):null}),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.xp6(1),t.Q6J("checked",i.selection.isSelected(e))}}function U4(n,o){1&n&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CONSENTS_LIST.STATUS"))," "))}function G4(n,o){if(1&n&&(t.TgZ(0,"td",20),t._UZ(1,"perun-web-apps-consent-status",21),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("consentStatus",e.status)}}function V4(n,o){1&n&&(t.TgZ(0,"th",19),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CONSENTS_LIST.SERVICE_NAME"))," "))}function W4(n,o){if(1&n&&(t.TgZ(0,"td",20),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.hij(" ",e.consentHub.name," ")}}function K4(n,o){1&n&&(t.TgZ(0,"div"),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CONSENTS_LIST.GRANTED_TEXT"))," : "))}function Z4(n,o){1&n&&(t.TgZ(0,"div"),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CONSENTS_LIST.REVOKED_TEXT"))," : "))}function $4(n,o){1&n&&(t.TgZ(0,"div"),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CONSENTS_LIST.UNSIGNED_TEXT"))," : "))}function X4(n,o){if(1&n&&(t.TgZ(0,"li"),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.hij(" ",e.displayName," ")}}function Q4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"button",29),t.NdJ("click",function(){t.CHM(e);const s=t.oxw().$implicit;return t.oxw().rejectConsent.emit(s.id)}),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()}if(2&n){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"UNSIGNED"===e.status?"SHARED_LIB.PERUN.COMPONENTS.CONSENTS_LIST.REJECT_CONSENT_BUTTON":"SHARED_LIB.PERUN.COMPONENTS.CONSENTS_LIST.REVOKE_CONSENT_BUTTON"))," ")}}function J4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"button",30),t.NdJ("click",function(){t.CHM(e);const s=t.oxw().$implicit;return t.oxw().grantConsent.emit(s.id)}),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CONSENTS_LIST.GRANT_CONSENT_BUTTON"))," "))}function eq(n,o){if(1&n&&(t.TgZ(0,"td",20),t.TgZ(1,"div",22),t.TgZ(2,"div",23),t.YNc(3,K4,4,5,"div",24),t.YNc(4,Z4,4,5,"div",24),t.YNc(5,$4,4,5,"div",24),t.TgZ(6,"ul"),t.YNc(7,X4,2,1,"li",25),t.qZA(),t.TgZ(8,"div",26),t.YNc(9,Q4,4,5,"button",27),t.YNc(10,J4,4,5,"button",28),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n){const e=o.$implicit,i=t.oxw();t.uIk("colspan",i.displayedColumns.length),t.xp6(1),t.Q6J("@detailExpand",e===i.expandedConsent?"expanded":"collapsed"),t.xp6(2),t.Q6J("ngIf","GRANTED"===e.status),t.xp6(1),t.Q6J("ngIf","REVOKED"===e.status),t.xp6(1),t.Q6J("ngIf","UNSIGNED"===e.status),t.xp6(2),t.Q6J("ngForOf",e.attributes),t.xp6(2),t.Q6J("ngIf","REVOKED"!==e.status),t.xp6(1),t.Q6J("ngIf","GRANTED"!==e.status)}}function tq(n,o){1&n&&t._UZ(0,"tr",31)}function iq(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"tr",32),t.NdJ("click",function(){const a=t.CHM(e).$implicit,r=t.oxw();return r.expandedConsent=r.expandedConsent===a?null:a}),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.ekj("example-expanded-row",i.expandedConsent===e)}}function nq(n,o){1&n&&t._UZ(0,"tr",33)}function sq(n,o){1&n&&(t.TgZ(0,"app-alert",34),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT")),"\n"))}function oq(n,o){1&n&&(t.TgZ(0,"app-alert",34),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,t.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CONSENTS_LIST.NO_CONSENTS")),"\n"))}const rq=function(){return["expandedDetail"]};let aq=(()=>{class n{constructor(e){this.tableCheckbox=e,this.consents=[],this.selection=new _n(!0,[]),this.displayedColumns=["select","status","name"],this.filterValue="",this.grantConsent=new t.vpe,this.rejectConsent=new t.vpe,this.pageSizeOptions=$f}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Ha(this.consents),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(e,i){switch(i){case"name":return e.consentHub.name;case"status":return e.status;default:return""}}exportData(e){Qf(Xf(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,i)=>p1(e,i,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,i)=>f1(e,i,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Bv))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-consents-list"]],viewQuery:function(e,i){if(1&e&&(t.Gf(pr,7),t.Gf(cr,7)),2&e){let s;t.iGM(s=t.CRH())&&(i.matSort=s.first),t.iGM(s=t.CRH())&&(i.child=s.first)}},inputs:{consents:"consents",selection:"selection",displayedColumns:"displayedColumns",filterValue:"filterValue",tableId:"tableId"},outputs:{grantConsent:"grantConsent",rejectConsent:"rejectConsent"},features:[t.TTD],decls:19,vars:11,consts:[[1,"card",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","status","matSortDirection","asc","matSortDisableClear","","multiTemplateDataRows","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size align-checkbox",4,"matCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","expandedDetail"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item consent-row",3,"example-expanded-row","click",4,"matRowDef","matRowDefColumns"],["mat-row","","class","consent-detail-row",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"checked","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"consentStatus"],[1,"consent-detail"],[1,"p-3"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"d-flex"],["mat-flat-button","","class","mr-2","color","warn",3,"click",4,"ngIf"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item","consent-row",3,"click"],["mat-row","",1,"consent-detail-row"],["alert_type","warn"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"perun-web-apps-table-wrapper",1),t.NdJ("exportData",function(a){return i.exportData(a)}),t.TgZ(2,"table",2),t.ynx(3,3),t.YNc(4,j4,2,2,"th",4),t.YNc(5,Y4,2,1,"td",5),t.BQk(),t.ynx(6,6),t.YNc(7,U4,4,5,"th",7),t.YNc(8,G4,2,1,"td",8),t.BQk(),t.ynx(9,9),t.YNc(10,V4,4,5,"th",7),t.YNc(11,W4,2,1,"td",8),t.BQk(),t.ynx(12,10),t.YNc(13,eq,11,8,"td",8),t.BQk(),t.YNc(14,tq,1,0,"tr",11),t.YNc(15,iq,1,2,"tr",12),t.YNc(16,nq,1,0,"tr",13),t.qZA(),t.qZA(),t.qZA(),t.YNc(17,sq,4,5,"app-alert",14),t.YNc(18,oq,4,5,"app-alert",14)),2&e&&(t.Q6J("hidden",0===i.dataSource.filteredData.length),t.xp6(1),t.Q6J("tableId",i.tableId)("dataLength",i.dataSource.filteredData.length)("pageSizeOptions",i.pageSizeOptions),t.xp6(1),t.Q6J("dataSource",i.dataSource),t.xp6(12),t.Q6J("matHeaderRowDef",i.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",i.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",t.DdM(10,rq)),t.xp6(1),t.Q6J("ngIf",0===i.dataSource.filteredData.length&&0!==i.dataSource.data.length),t.xp6(1),t.Q6J("ngIf",0===i.dataSource.data.length))},directives:[cr,Ur,pr,dr,ur,hr,Wc,lr,fr,C1,q4,_.O5,_.sg,zt,Gr,Wr,Vr,Kr,Zn],pipes:[at,oi],styles:["tr.consent-detail-row[_ngcontent-%COMP%]{height:0!important}.consent-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{cursor:pointer;border-bottom-width:0!important}.consent-detail[_ngcontent-%COMP%]{overflow:hidden;display:flex;flex-direction:column}th[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%]{padding:0!important}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:1rem!important}"],data:{animation:[mi("detailExpand",[xt("collapsed",ze({height:"0px",minHeight:"0"})),xt("expanded",ze({height:"*"})),St("expanded <=> collapsed",Ct("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}}),n})();const Jk=function(){return["status","name"]};function cq(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",4),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"customTranslate"),t.qZA(),t.TgZ(5,"perun-web-apps-immediate-filter",5),t.NdJ("filter",function(s){return t.CHM(e),t.oxw().applyFilterUnsigned(s)}),t.ALo(6,"translate"),t.ALo(7,"customTranslate"),t.qZA(),t.TgZ(8,"perun-web-apps-consents-list",6),t.NdJ("grantConsent",function(s){return t.CHM(e),t.oxw().grantConsent(s)})("rejectConsent",function(s){return t.CHM(e),t.oxw().rejectConsent(s)}),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,6,t.lcZ(4,8,"CONSENTS.UNSIGNED_CONSENTS"))," "),t.xp6(3),t.Q6J("placeholder",t.lcZ(6,10,t.lcZ(7,12,"CONSENTS.FILTER"))),t.xp6(3),t.Q6J("consents",e.unsignedConsents)("filterValue",e.filterValueUnsigned)("tableId","TABLE_USER_CONSENTS")("displayedColumns",t.DdM(14,Jk))}}function lq(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",7),t._uU(2),t.ALo(3,"translate"),t.ALo(4,"customTranslate"),t.qZA(),t.TgZ(5,"perun-web-apps-immediate-filter",5),t.NdJ("filter",function(s){return t.CHM(e),t.oxw().applyFilterSigned(s)}),t.ALo(6,"translate"),t.ALo(7,"customTranslate"),t.qZA(),t.TgZ(8,"perun-web-apps-consents-list",8),t.NdJ("grantConsent",function(s){return t.CHM(e),t.oxw().grantConsent(s)})("rejectConsent",function(s){return t.CHM(e),t.oxw().rejectConsent(s)}),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.hij(" ",t.lcZ(3,6,t.lcZ(4,8,"CONSENTS.PROCESSED_CONSENTS"))," "),t.xp6(3),t.Q6J("placeholder",t.lcZ(6,10,t.lcZ(7,12,"CONSENTS.FILTER"))),t.xp6(3),t.Q6J("consents",e.signedConsents)("tableId","TABLE_USER_CONSENTS")("filterValue",e.filterValueSigned)("displayedColumns",t.DdM(14,Jk))}}function uq(n,o){1&n&&t._UZ(0,"mat-spinner",9)}const dq=[{path:"",redirectTo:"profile",pathMatch:"full"},{path:"login",component:x4},{path:"service-access",component:R4},{path:"profile",component:PB,data:{breadcrumb:"MENU_ITEMS.PROFILE"},children:[{path:"",component:_z,data:{breadcrumb:"MENU_ITEMS.PROFILE"}},{path:"identities",component:Zz,data:{breadcrumb:"MENU_ITEMS.IDENTITIES"}},{path:"groups",component:RI,data:{breadcrumb:"MENU_ITEMS.GROUPS"}},{path:"services",component:H3,data:{breadcrumb:"MENU_ITEMS.SERVICES"}},{path:"organizations",component:Z3,data:{breadcrumb:"MENU_ITEMS.VOS"}},{path:"privacy",component:OB,data:{breadcrumb:"MENU_ITEMS.PRIVACY"}},{path:"consents",component:O4,data:{breadcrumb:"MENU_ITEMS.CONSENTS"},children:[{path:"",component:(()=>{class n{constructor(e,i,s,a,r){this.router=e,this.notificator=i,this.translate=s,this.storeService=a,this.consentService=r,this.loading=!1,this.unsignedConsents=[],this.signedConsents=[],this.filterValueUnsigned="",this.filterValueSigned=""}ngOnInit(){this.loading=!0,this.consentService.getConsentsForUser(this.storeService.getPerunPrincipal().userId).subscribe(e=>{this.unsignedConsents=e.filter(i=>"UNSIGNED"===i.status),this.signedConsents=e.filter(i=>"UNSIGNED"!==i.status),this.loading=!1},()=>this.loading=!1)}grantAll(){this.loading=!0,this.notificator.showSuccess(this.translate.instant("CONSENTS.GRANT_ALL_NOTIFICATION")),this.loading=!1}rejectConsent(e){this.loading=!0,this.consentService.changeConsentStatus(e,"REVOKED").subscribe(()=>{var i;const s=null!==(i=this.unsignedConsents.find(r=>r.id===e))&&void 0!==i?i:this.signedConsents.find(r=>r.id===e);this.moveConsent(s);const a=this.translate.instant("GRANTED"===s.status?"CONSENTS.CONSENT_REVOKED":"CONSENTS.CONSENT_REJECTED");s.status="REVOKED",this.notificator.showSuccess(a+s.consentHub.name),this.loading=!1},()=>this.loading=!1)}moveConsent(e){"UNSIGNED"===e.status&&(this.signedConsents=[...this.signedConsents,e],this.unsignedConsents=this.unsignedConsents.filter(i=>i.id!==e.id))}grantConsent(e){this.loading=!0,this.consentService.changeConsentStatus(e,"GRANTED").subscribe(()=>{var i;const s=null!==(i=this.unsignedConsents.find(a=>a.id===e))&&void 0!==i?i:this.signedConsents.find(a=>a.id===e);this.moveConsent(s),s.status="GRANTED",this.notificator.showSuccess(this.translate.instant("CONSENTS.CONSENT_GRANTED")+s.consentHub.name),this.loading=!1},()=>this.loading=!1)}applyFilterUnsigned(e){this.filterValueUnsigned=e}applyFilterSigned(e){this.filterValueSigned=e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Mi),t.Y36(ao),t.Y36(ui),t.Y36($t),t.Y36(Di))},n.\u0275cmp=t.Xpm({type:n,selectors:[["perun-web-apps-consents-preview"]],decls:8,vars:8,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"page-subtitle"],[3,"placeholder","filter"],[3,"consents","filterValue","tableId","displayedColumns","grantConsent","rejectConsent"],[1,"page-subtitle","mt-4"],[3,"consents","tableId","filterValue","displayedColumns","grantConsent","rejectConsent"],[1,"ml-auto","mr-auto"]],template:function(e,i){1&e&&(t.TgZ(0,"h1",0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"customTranslate"),t.qZA(),t.TgZ(4,"div",1),t.YNc(5,cq,9,15,"div",2),t.YNc(6,lq,9,15,"div",2),t.YNc(7,uq,1,0,"mat-spinner",3),t.qZA()),2&e&&(t.xp6(1),t.hij(" ",t.lcZ(2,4,t.lcZ(3,6,"CONSENTS.TITLE")),"\n"),t.xp6(4),t.Q6J("ngIf",!i.loading&&0!==i.unsignedConsents.length),t.xp6(1),t.Q6J("ngIf",!i.loading),t.xp6(1),t.Q6J("ngIf",i.loading))},directives:[_.O5,rp,aq,In],pipes:[at,oi],styles:[""]}),n})(),data:{breadcrumb:"MENU_ITEMS.CONSENTS"}},{path:":consentId",component:N4,data:{breadcrumb:"MENU_ITEMS.CONSENT_REQUEST"}}]},{path:"settings",component:$3,data:{breadcrumb:"MENU_ITEMS.SETTINGS"},children:[{path:"",component:mN,data:{breadcrumb:"MENU_ITEMS.SETTINGS"}},{path:"altPasswords",component:pN,data:{breadcrumb:"SETTINGS.ALTERNATIVE_PASSWORDS"}},{path:"auth",component:k4,data:{breadcrumb:"SETTINGS.AUTHENTICATION"}},{path:"dataQuotas",component:kH,data:{breadcrumb:"SETTINGS.DATA_QUOTAS"}},{path:"mailingLists",component:zH,data:{breadcrumb:"SETTINGS.MAILING_LISTS"}},{path:"prefShells",component:WH,data:{breadcrumb:"SETTINGS.PREFERRED_SHELLS"}},{path:"prefGroupNames",component:QH,data:{breadcrumb:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES"}},{path:"sambaPassword",component:iB,data:{breadcrumb:"SETTINGS.SAMBA_PASSWORD"}},{path:"sshKeys",component:aB,data:{breadcrumb:"SETTINGS.SSH_KEYS"}},{path:"passwordReset",component:jF,data:{breadcrumb:"SETTINGS.PASSWORD_RESET"}}]}]}];let hq=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[Qs.forRoot(dq,{preloadingStrategy:rt,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})]]}),n})();class fq{constructor(o,e="/assets/i18n/",i=".json"){this.http=o,this.prefix=e,this.suffix=i}getTranslation(o){return this.http.get(`${this.prefix}${o}${this.suffix}`)}}let pq=(()=>{class n{constructor(e,i,s,a,r){this.http=e,this.storeService=i,this.authzSevice=s,this.titleService=a,this.utilsService=r}initializeColors(e,i){return new Promise(s=>{i.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r)}),e.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r),this.setEntityTheme(a.entity,r)}),s()})}setEntityTheme(e,i){const s=function gq(n){return[co(tinycolor(n).lighten(52),"50"),co(tinycolor(n).lighten(37),"100"),co(tinycolor(n).lighten(26),"200"),co(tinycolor(n).lighten(12),"300"),co(tinycolor(n).lighten(6),"400"),co(tinycolor(n),"500"),co(tinycolor(n).darken(6),"600"),co(tinycolor(n).darken(12),"700"),co(tinycolor(n).darken(18),"800"),co(tinycolor(n).darken(24),"900"),co(tinycolor(n).lighten(50).saturate(30),"A100"),co(tinycolor(n).lighten(30).saturate(30),"A200"),co(tinycolor(n).lighten(10).saturate(15),"A400"),co(tinycolor(n).lighten(5).saturate(5),"A700")]}(i);for(const a of s){const u=`--${e}-theme-primary-contrast-${a.name}`,h=a.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${a.name}`,`${a.red},${a.green},${a.blue}`),document.documentElement.style.setProperty(u,h)}}loadAppDefaultConfig(){return new Promise(e=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(i=>{this.storeService.setDefaultConfig(i),e()})})}loadAppInstanceConfig(){return new Promise(e=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(i=>{this.storeService.setInstanceConfig(i);const s=document.location.hostname;void 0!==i.brandings&&void 0!==i.brandings[s]&&this.storeService.setBanding(s),e()},()=>{console.log("instance config not detected"),e()})})}getNoCacheHeaders(){return new D.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(e=>{const i=document.querySelector("link[rel*='icon']")||document.createElement("link");i.type="image/x-icon",i.rel="shortcut icon",i.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(i),e()})}setApiUrl(){return new Promise(e=>{let i=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(i=i.replace("oauth","ba")),this.authzSevice.configuration.basePath=i,this.titleService.setTitle(this.storeService.get("document_title")),e()})}loadAppsConfig(){return new Promise((e,i)=>{this.utilsService.getAppsConfig().subscribe(s=>{this.storeService.setAppsConfig(s),e()},s=>i(s))})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(D.eN),t.LFG($t),t.LFG(Qi),t.LFG(nt),t.LFG(Tt))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function co(n,o){const e=tinycolor(n),i=e.toRgb();return{name:o,hex:e.toHexString(),darkContrast:e.isLight(),red:i.r,green:i.g,blue:i.b}}let mq=(()=>{class n{constructor(e,i,s){this.initAuthService=e,this.appConfigService=i,this.location=s,this.entityColorConfigs=[{entity:"user",configValue:"user_color",cssVariable:"--user-color"}],this.colorConfigs=[{configValue:"sidemenu_bg_color",cssVariable:"--side-bg"},{configValue:"sidemenu_hover_color",cssVariable:"--side-hover"},{configValue:"sidemenu-link-active",cssVariable:"--side-active"},{configValue:"sidemenu_active_text_color",cssVariable:"--side-text-active"}]}initialize(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>this.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?this.initAuthService.loadPrincipal().then(()=>this.appConfigService.loadAppsConfig()):this.initAuthService.handleAuthStart())}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Hv),t.LFG(pq),t.LFG(_.Ye))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),aD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[tT]]}),n})(),B6=(()=>{class n{constructor(e,i){(0,_.PM)(i)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,i=[]){return{ngModule:n,providers:e.serverLoaded?[{provide:Zr,useValue:Object.assign(Object.assign({},iT),e)},{provide:nT,useValue:i,multi:!0},{provide:ip,useValue:!0}]:[{provide:Zr,useValue:Object.assign(Object.assign({},iT),e)},{provide:nT,useValue:i,multi:!0}]}}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(ip),t.LFG(t.Lbi))},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[qk,xE,aD],qk,xE,aD]}),n})();const F6=new t.OlP("perun-api-service"),q6={provide:D.TP,useExisting:(0,t.Gpc)(()=>qS),multi:!0};function j6(n){return new fq(n,"./assets/i18n/",".json")}function Y6(n){const o={basePath:n.get("api_url")};return new Qe(o)}const U6=n=>()=>n.initialize();let G6=(()=>{class n{constructor(e,i){this.customIconService=e,this.translate=i,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(FS),t.LFG(ui))},n.\u0275mod=t.oAB({type:n,bootstrap:[WO]}),n.\u0275inj=t.cJS({providers:[FS,{provide:t.ip1,useFactory:U6,multi:!0,deps:[mq]},{provide:Qe,useFactory:Y6,deps:[$t]},gy,qS,q6,{provide:F6,useClass:Ax}],imports:[[le,N_,D.JF,vf.forRoot({loader:{provide:Rc,useFactory:j6,deps:[D.eN]}}),hq,qc,uT,pT,Qs,or,B6,Jv,Zk,ST,CT,Pc,pu,gf,Sy,g1,Hc,w1,H,m1,By,RT,eE,US,lI,ds,qd,v4,aE,n1,D4,HS,u1,o0.zr.forRoot()]]}),n})();(0,t.G48)(),js().bootstrapModule(G6).catch(n=>console.error(n))},1302:function(q,Y,M){var _;!function(t,T){var w={};!function(t){"use strict";t.__esModule=!0,t.digestLength=32,t.blockSize=64;var T=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function w(Q,ae,ee,ce,he){for(var He,Be,$e,yt,Lt,Xe,Xi,Mt,mt,de,ge,Ae,me;he>=64;){for(He=ae[0],Be=ae[1],$e=ae[2],yt=ae[3],Lt=ae[4],Xe=ae[5],Xi=ae[6],Mt=ae[7],de=0;de<16;de++)Q[de]=(255&ee[ge=ce+4*de])<<24|(255&ee[ge+1])<<16|(255&ee[ge+2])<<8|255&ee[ge+3];for(de=16;de<64;de++)Q[de]=((Ae=((mt=Q[de-2])>>>17|mt<<15)^(mt>>>19|mt<<13)^mt>>>10)+Q[de-7]|0)+((me=((mt=Q[de-15])>>>7|mt<<25)^(mt>>>18|mt<<14)^mt>>>3)+Q[de-16]|0);for(de=0;de<64;de++)Ae=(((Lt>>>6|Lt<<26)^(Lt>>>11|Lt<<21)^(Lt>>>25|Lt<<7))+(Lt&Xe^~Lt&Xi)|0)+(Mt+(T[de]+Q[de]|0)|0)|0,me=((He>>>2|He<<30)^(He>>>13|He<<19)^(He>>>22|He<<10))+(He&Be^He&$e^Be&$e)|0,Mt=Xi,Xi=Xe,Xe=Lt,Lt=yt+Ae|0,yt=$e,$e=Be,Be=He,He=Ae+me|0;ae[0]+=He,ae[1]+=Be,ae[2]+=$e,ae[3]+=yt,ae[4]+=Lt,ae[5]+=Xe,ae[6]+=Xi,ae[7]+=Mt,ce+=64,he-=64}return ce}var v=function(){function Q(){this.digestLength=t.digestLength,this.blockSize=t.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return Q.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},Q.prototype.clean=function(){for(var ae=0;ae0){for(;this.bufferLength<64&&ee>0;)this.buffer[this.bufferLength++]=ae[ce++],ee--;64===this.bufferLength&&(w(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ee>=64&&(ce=w(this.temp,this.state,ae,ce,ee),ee%=64);ee>0;)this.buffer[this.bufferLength++]=ae[ce++],ee--;return this},Q.prototype.finish=function(ae){if(!this.finished){var ee=this.bytesHashed,ce=this.bufferLength,he=ee/536870912|0,He=ee<<3,Be=ee%64<56?64:128;this.buffer[ce]=128;for(var $e=ce+1;$e>>24&255,this.buffer[Be-7]=he>>>16&255,this.buffer[Be-6]=he>>>8&255,this.buffer[Be-5]=he>>>0&255,this.buffer[Be-4]=He>>>24&255,this.buffer[Be-3]=He>>>16&255,this.buffer[Be-2]=He>>>8&255,this.buffer[Be-1]=He>>>0&255,w(this.temp,this.state,this.buffer,0,Be),this.finished=!0}for($e=0;$e<8;$e++)ae[4*$e+0]=this.state[$e]>>>24&255,ae[4*$e+1]=this.state[$e]>>>16&255,ae[4*$e+2]=this.state[$e]>>>8&255,ae[4*$e+3]=this.state[$e]>>>0&255;return this},Q.prototype.digest=function(){var ae=new Uint8Array(this.digestLength);return this.finish(ae),ae},Q.prototype._saveState=function(ae){for(var ee=0;eethis.blockSize)(new v).update(ae).finish(ee).clean();else for(var ce=0;ce1&&ae.update(Q),ee&&ae.update(ee),ae.update(ce),ae.finish(Q),ce[0]++}t.HMAC=E,t.hash=L,t.default=L,t.hmac=I;var F=new Uint8Array(t.digestLength);t.hkdf=function G(Q,ae,ee,ce){void 0===ae&&(ae=F),void 0===ce&&(ce=32);for(var he=new Uint8Array([1]),He=I(ae,Q),Be=new E(He),$e=new Uint8Array(Be.digestLength),yt=$e.length,Lt=new Uint8Array(ce),Xe=0;Xe>>24&255,Be[1]=Xi>>>16&255,Be[2]=Xi>>>8&255,Be[3]=Xi>>>0&255,he.reset(),he.update(ae),he.update(Be),he.finish(yt);for(var Mt=0;Mt=G.status}function E(F){try{F.dispatchEvent(new MouseEvent("click"))}catch(X){var G=document.createEvent("MouseEvents");G.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),F.dispatchEvent(G)}}var L="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,I=L.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),B=L.saveAs||("object"!=typeof window||window!==L?function(){}:"download"in HTMLAnchorElement.prototype&&!I?function(F,G,X){var Q=L.URL||L.webkitURL,ae=document.createElement("a");ae.download=G=G||F.name||"download",ae.rel="noopener","string"==typeof F?(ae.href=F,ae.origin===location.origin?E(ae):v(ae.href)?w(F,G,X):E(ae,ae.target="_blank")):(ae.href=Q.createObjectURL(F),setTimeout(function(){Q.revokeObjectURL(ae.href)},4e4),setTimeout(function(){E(ae)},0))}:"msSaveOrOpenBlob"in navigator?function(F,G,X){if(G=G||F.name||"download","string"!=typeof F)navigator.msSaveOrOpenBlob(function T(F,G){return void 0===G?G={autoBom:!1}:"object"!=typeof G&&(console.warn("Deprecated: Expected third argument to be a object"),G={autoBom:!G}),G.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(F.type)?new Blob(["\ufeff",F],{type:F.type}):F}(F,X),G);else if(v(F))w(F,G,X);else{var Q=document.createElement("a");Q.href=F,Q.target="_blank",setTimeout(function(){E(Q)})}}:function(F,G,X,Q){if((Q=Q||open("","_blank"))&&(Q.document.title=Q.document.body.innerText="downloading..."),"string"==typeof F)return w(F,G,X);var ae="application/octet-stream"===F.type,ee=/constructor/i.test(L.HTMLElement)||L.safari,ce=/CriOS\/[\d]+/.test(navigator.userAgent);if((ce||ae&&ee||I)&&"undefined"!=typeof FileReader){var he=new FileReader;he.onloadend=function(){var $e=he.result;$e=ce?$e:$e.replace(/^data:[^;]*;/,"data:attachment/file;"),Q?Q.location.href=$e:location=$e,Q=null},he.readAsDataURL(F)}else{var He=L.URL||L.webkitURL,Be=He.createObjectURL(F);Q?Q.location=Be:location.href=Be,Q=null,setTimeout(function(){He.revokeObjectURL(Be)},4e4)}});L.saveAs=B.saveAs=B,q.exports=B}.apply(Y,[]))&&(q.exports=t)},1158:(q,Y,M)=>{(q.exports=M(7867)).tz.load(M(1128))},7867:function(q,Y,M){var _,t,T;!function(w,v){"use strict";q.exports?q.exports=v(M(5439)):(t=[M(5439)],void 0!==(T="function"==typeof(_=v)?_.apply(Y,t):_)&&(q.exports=T))}(0,function(w){"use strict";void 0===w.version&&w.default&&(w=w.default);var G,E={},L={},I={},B={},F={};(!w||"string"!=typeof w.version)&&di("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var X=w.version.split("."),Q=+X[0],ae=+X[1];function ee(le){return le>96?le-87:le>64?le-29:le-48}function ce(le){var De=0,pe=le.split("."),Ue=pe[0],Ve=pe[1]||"",nt=1,Me=0,te=1;for(45===le.charCodeAt(0)&&(De=1,te=-1);De= 2.6.0. You are using Moment.js "+w.version+". See momentjs.com"),yt.prototype={_set:function(le){this.name=le.name,this.abbrs=le.abbrs,this.untils=le.untils,this.offsets=le.offsets,this.population=le.population},_index:function(le){var Ue,De=+le,pe=this.untils;for(Ue=0;UeMe&&Wt.moveInvalidForward&&(nt=Me),De3){var De=B[fe(le)];if(De)return De;di("Moment Timezone found "+le+" from the Intl api, but did not have that data loaded.")}}catch(se){}var Qt,Me,te,pe=function mt(){var Ue,Ve,nt,le=(new Date).getFullYear()-2,De=new Xe(new Date(le,0,1)),pe=[De];for(nt=1;nt<48;nt++)(Ve=new Xe(new Date(le,nt,1))).offset!==De.offset&&(Ue=Mt(De,Ve),pe.push(Ue),pe.push(new Xe(new Date(Ue.at+6e4)))),De=Ve;for(nt=0;nt<4;nt++)pe.push(new Xe(new Date(le+nt,0,1))),pe.push(new Xe(new Date(le+nt,6,1)));return pe}(),Ue=pe.length,Ve=function Ae(le){var Ve,nt,Qt,De=le.length,pe={},Ue=[];for(Ve=0;Ve0?nt[0].zone.name:void 0}()),G},Wt.names=function vi(){var le,De=[];for(le in B)B.hasOwnProperty(le)&&(E[le]||E[L[le]])&&B[le]&&De.push(B[le]);return De.sort()},Wt.Zone=yt,Wt.unpack=$e,Wt.unpackBase60=ce,Wt.needsOffset=un,Wt.moveInvalidForward=!0,Wt.moveAmbiguousForward=!1,Wt.countries=function ot(){return Object.keys(I)},Wt.zonesForCountry=function Je(le,De){if(!(le=function yi(le){return le=le.toUpperCase(),I[le]||null}(le)))return null;var pe=le.zones.sort();return De?pe.map(function(Ue){return{name:Ue,offset:Et(Ue).utcOffset(new Date)}}):pe};var dn=w.fn;function lo(le){return function(){return this._z?this._z.abbr(this):le.call(this)}}function uo(le){return function(){return this._z=null,le.apply(this,arguments)}}w.tz=Wt,w.defaultZone=null,w.updateOffset=function(le,De){var Ue,pe=w.defaultZone;if(void 0===le._z&&(pe&&un(le)&&!le._isUTC&&(le._d=w.utc(le._a)._d,le.utc().add(pe.parse(le),"minutes")),le._z=pe),le._z)if(Ue=le._z.utcOffset(le),Math.abs(Ue)<16&&(Ue/=60),void 0!==le.utcOffset){var Ve=le._z;le.utcOffset(-Ue,De),le._z=Ve}else le.zone(Ue,De)},dn.tz=function(le,De){if(le){if("string"!=typeof le)throw new Error("Time zone name must be a string, got "+le+" ["+typeof le+"]");return this._z=Et(le),this._z?w.updateOffset(this,De):di("Moment Timezone has no data for "+le+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},dn.zoneName=lo(dn.zoneName),dn.zoneAbbr=lo(dn.zoneAbbr),dn.utc=uo(dn.utc),dn.local=uo(dn.local),dn.utcOffset=function js(le){return function(){return arguments.length>0&&(this._z=null),le.apply(this,arguments)}}(dn.utcOffset),w.tz.setDefault=function(le){return(Q<2||2===Q&&ae<9)&&di("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+w.version+"."),w.defaultZone=le?Et(le):null,w};var Hn=w.momentProperties;return"[object Array]"===Object.prototype.toString.call(Hn)?(Hn.push("_z"),Hn.push("_a")):Hn&&(Hn._z=null),w})},7088:function(q,Y,M){!function(_){"use strict";_.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(T){return/^nm$/i.test(T)},meridiem:function(T,w,v){return T<12?v?"vm":"VM":v?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(T){return T+(1===T||8===T||T>=20?"ste":"de")},week:{dow:1,doy:4}})}(M(5439))},2502:function(q,Y,M){!function(_){"use strict";var t=function(L){return 0===L?0:1===L?1:2===L?2:L%100>=3&&L%100<=10?3:L%100>=11?4:5},T={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},w=function(L){return function(I,B,F,G){var X=t(I),Q=T[L][t(I)];return 2===X&&(Q=Q[B?0:1]),Q.replace(/%d/i,I)}},v=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];_.defineLocale("ar-dz",{months:v,monthsShort:v,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(L){return"\u0645"===L},meridiem:function(L,I,B){return L<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:w("s"),ss:w("s"),m:w("m"),mm:w("m"),h:w("h"),hh:w("h"),d:w("d"),dd:w("d"),M:w("M"),MM:w("M"),y:w("y"),yy:w("y")},postformat:function(L){return L.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(M(5439))},128:function(q,Y,M){!function(_){"use strict";_.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(M(5439))},4519:function(q,Y,M){!function(_){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},T=function(I){return 0===I?0:1===I?1:2===I?2:I%100>=3&&I%100<=10?3:I%100>=11?4:5},w={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},v=function(I){return function(B,F,G,X){var Q=T(B),ae=w[I][T(B)];return 2===Q&&(ae=ae[F?0:1]),ae.replace(/%d/i,B)}},E=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];_.defineLocale("ar-ly",{months:E,monthsShort:E,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(I){return"\u0645"===I},meridiem:function(I,B,F){return I<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:v("s"),ss:v("s"),m:v("m"),mm:v("m"),h:v("h"),hh:v("h"),d:v("d"),dd:v("d"),M:v("M"),MM:v("M"),y:v("y"),yy:v("y")},preparse:function(I){return I.replace(/\u060c/g,",")},postformat:function(I){return I.replace(/\d/g,function(B){return t[B]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(M(5439))},5443:function(q,Y,M){!function(_){"use strict";_.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(M(5439))},7642:function(q,Y,M){!function(_){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};_.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(v){return"\u0645"===v},meridiem:function(v,E,L){return v<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(v){return v.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(E){return T[E]}).replace(/\u060c/g,",")},postformat:function(v){return v.replace(/\d/g,function(E){return t[E]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(M(5439))},8592:function(q,Y,M){!function(_){"use strict";_.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(M(5439))},7038:function(q,Y,M){!function(_){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},w=function(B){return 0===B?0:1===B?1:2===B?2:B%100>=3&&B%100<=10?3:B%100>=11?4:5},v={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},E=function(B){return function(F,G,X,Q){var ae=w(F),ee=v[B][w(F)];return 2===ae&&(ee=ee[G?0:1]),ee.replace(/%d/i,F)}},L=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];_.defineLocale("ar",{months:L,monthsShort:L,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(B){return"\u0645"===B},meridiem:function(B,F,G){return B<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:E("s"),ss:E("s"),m:E("m"),mm:E("m"),h:E("h"),hh:E("h"),d:E("d"),dd:E("d"),M:E("M"),MM:E("M"),y:E("y"),yy:E("y")},preparse:function(B){return B.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(F){return T[F]}).replace(/\u060c/g,",")},postformat:function(B){return B.replace(/\d/g,function(F){return t[F]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(M(5439))},1213:function(q,Y,M){!function(_){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};_.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(w){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(w)},meridiem:function(w,v,E){return w<4?"gec\u0259":w<12?"s\u0259h\u0259r":w<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(w){if(0===w)return w+"-\u0131nc\u0131";var v=w%10;return w+(t[v]||t[w%100-v]||t[w>=100?100:null])},week:{dow:1,doy:7}})}(M(5439))},9191:function(q,Y,M){!function(_){"use strict";function T(v,E,L){return"m"===L?E?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===L?E?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":v+" "+function t(v,E){var L=v.split("_");return E%10==1&&E%100!=11?L[0]:E%10>=2&&E%10<=4&&(E%100<10||E%100>=20)?L[1]:L[2]}({ss:E?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:E?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:E?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[L],+v)}_.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:T,mm:T,h:T,hh:T,d:"\u0434\u0437\u0435\u043d\u044c",dd:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(v){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(v)},meridiem:function(v,E,L){return v<4?"\u043d\u043e\u0447\u044b":v<12?"\u0440\u0430\u043d\u0456\u0446\u044b":v<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(v,E){switch(E){case"M":case"d":case"DDD":case"w":case"W":return v%10!=2&&v%10!=3||v%100==12||v%100==13?v+"-\u044b":v+"-\u0456";case"D":return v+"-\u0433\u0430";default:return v}},week:{dow:1,doy:7}})}(M(5439))},322:function(q,Y,M){!function(_){"use strict";_.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(T){var w=T%10,v=T%100;return 0===T?T+"-\u0435\u0432":0===v?T+"-\u0435\u043d":v>10&&v<20?T+"-\u0442\u0438":1===w?T+"-\u0432\u0438":2===w?T+"-\u0440\u0438":7===w||8===w?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(M(5439))},8042:function(q,Y,M){!function(_){"use strict";_.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(M(5439))},5903:function(q,Y,M){!function(_){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};_.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(v){return v.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(E){return T[E]})},postformat:function(v){return v.replace(/\d/g,function(E){return t[E]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(v,E){return 12===v&&(v=0),"\u09b0\u09be\u09a4"===E?v<4?v:v+12:"\u09ad\u09cb\u09b0"===E||"\u09b8\u0995\u09be\u09b2"===E?v:"\u09a6\u09c1\u09aa\u09c1\u09b0"===E?v>=3?v:v+12:"\u09ac\u09bf\u0995\u09be\u09b2"===E||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===E?v+12:void 0},meridiem:function(v,E,L){return v<4?"\u09b0\u09be\u09a4":v<6?"\u09ad\u09cb\u09b0":v<12?"\u09b8\u0995\u09be\u09b2":v<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":v<18?"\u09ac\u09bf\u0995\u09be\u09b2":v<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(M(5439))},9620:function(q,Y,M){!function(_){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};_.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(v){return v.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(E){return T[E]})},postformat:function(v){return v.replace(/\d/g,function(E){return t[E]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(v,E){return 12===v&&(v=0),"\u09b0\u09be\u09a4"===E&&v>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===E&&v<5||"\u09ac\u09bf\u0995\u09be\u09b2"===E?v+12:v},meridiem:function(v,E,L){return v<4?"\u09b0\u09be\u09a4":v<10?"\u09b8\u0995\u09be\u09b2":v<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":v<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(M(5439))},9645:function(q,Y,M){!function(_){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},T={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};_.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(v){return v.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(E){return T[E]})},postformat:function(v){return v.replace(/\d/g,function(E){return t[E]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(v,E){return 12===v&&(v=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===E&&v>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===E&&v<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===E?v+12:v},meridiem:function(v,E,L){return v<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":v<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":v<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":v<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(M(5439))},5020:function(q,Y,M){!function(_){"use strict";function t(ee,ce,he){return ee+" "+function v(ee,ce){return 2===ce?function E(ee){var ce={m:"v",b:"v",d:"z"};return void 0===ce[ee.charAt(0)]?ee:ce[ee.charAt(0)]+ee.substring(1)}(ee):ee}({mm:"munutenn",MM:"miz",dd:"devezh"}[he],ee)}function w(ee){return ee>9?w(ee%10):ee}var L=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],I=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,Q=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];_.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:Q,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:Q,monthsRegex:I,monthsShortRegex:I,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:L,longMonthsParse:L,shortMonthsParse:L,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function T(ee){switch(w(ee)){case 1:case 3:case 4:case 5:case 9:return ee+" bloaz";default:return ee+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(ee){return ee+(1===ee?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(ee){return"g.m."===ee},meridiem:function(ee,ce,he){return ee<12?"a.m.":"g.m."}})}(M(5439))},4792:function(q,Y,M){!function(_){"use strict";function t(w,v,E){var L=w+" ";switch(E){case"ss":return L+(1===w?"sekunda":2===w||3===w||4===w?"sekunde":"sekundi");case"m":return v?"jedna minuta":"jedne minute";case"mm":return L+(1===w?"minuta":2===w||3===w||4===w?"minute":"minuta");case"h":return v?"jedan sat":"jednog sata";case"hh":return L+(1===w?"sat":2===w||3===w||4===w?"sata":"sati");case"dd":return L+(1===w?"dan":"dana");case"MM":return L+(1===w?"mjesec":2===w||3===w||4===w?"mjeseca":"mjeseci");case"yy":return L+(1===w?"godina":2===w||3===w||4===w?"godine":"godina")}}_.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(M(5439))},7980:function(q,Y,M){!function(_){"use strict";_.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(T,w){var v=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===w||"W"===w)&&(v="a"),T+v},week:{dow:1,doy:4}})}(M(5439))},7322:function(q,Y,M){!function(_){"use strict";var t={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},T="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),w=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],v=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function E(B){return B>1&&B<5&&1!=~~(B/10)}function L(B,F,G,X){var Q=B+" ";switch(G){case"s":return F||X?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return F||X?Q+(E(B)?"sekundy":"sekund"):Q+"sekundami";case"m":return F?"minuta":X?"minutu":"minutou";case"mm":return F||X?Q+(E(B)?"minuty":"minut"):Q+"minutami";case"h":return F?"hodina":X?"hodinu":"hodinou";case"hh":return F||X?Q+(E(B)?"hodiny":"hodin"):Q+"hodinami";case"d":return F||X?"den":"dnem";case"dd":return F||X?Q+(E(B)?"dny":"dn\xed"):Q+"dny";case"M":return F||X?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return F||X?Q+(E(B)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):Q+"m\u011bs\xedci";case"y":return F||X?"rok":"rokem";case"yy":return F||X?Q+(E(B)?"roky":"let"):Q+"lety"}}_.defineLocale("cs",{months:t,monthsShort:T,monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:L,ss:L,m:L,mm:L,h:L,hh:L,d:L,dd:L,M:L,MM:L,y:L,yy:L},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},365:function(q,Y,M){!function(_){"use strict";_.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(T){return T+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(T)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(T)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(M(5439))},2092:function(q,Y,M){!function(_){"use strict";_.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(T){var v="";return T>20?v=40===T||50===T||60===T||80===T||100===T?"fed":"ain":T>0&&(v=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][T]),T+v},week:{dow:1,doy:4}})}(M(5439))},7387:function(q,Y,M){!function(_){"use strict";_.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},9459:function(q,Y,M){!function(_){"use strict";function t(w,v,E,L){var I={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[w+" Tage",w+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[w+" Monate",w+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[w+" Jahre",w+" Jahren"]};return v?I[E][0]:I[E][1]}_.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},3694:function(q,Y,M){!function(_){"use strict";function t(w,v,E,L){var I={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[w+" Tage",w+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[w+" Monate",w+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[w+" Jahre",w+" Jahren"]};return v?I[E][0]:I[E][1]}_.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},4307:function(q,Y,M){!function(_){"use strict";function t(w,v,E,L){var I={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[w+" Tage",w+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[w+" Monate",w+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[w+" Jahre",w+" Jahren"]};return v?I[E][0]:I[E][1]}_.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},9659:function(q,Y,M){!function(_){"use strict";var t=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],T=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];_.defineLocale("dv",{months:t,monthsShort:t,weekdays:T,weekdaysShort:T,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(v){return"\u0789\u078a"===v},meridiem:function(v,E,L){return v<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(M(5439))},3460:function(q,Y,M){!function(_){"use strict";_.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(w,v){return w?"string"==typeof v&&/D/.test(v.substring(0,v.indexOf("MMMM")))?this._monthsGenitiveEl[w.month()]:this._monthsNominativeEl[w.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(w,v,E){return w>11?E?"\u03bc\u03bc":"\u039c\u039c":E?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(w){return"\u03bc"===(w+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(w,v){var E=this._calendarEl[w],L=v&&v.hours();return function t(w){return"undefined"!=typeof Function&&w instanceof Function||"[object Function]"===Object.prototype.toString.call(w)}(E)&&(E=E.apply(v)),E.replace("{}",L%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(M(5439))},4369:function(q,Y,M){!function(_){"use strict";_.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var w=T%10;return T+(1==~~(T%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:0,doy:4}})}(M(5439))},530:function(q,Y,M){!function(_){"use strict";_.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var w=T%10;return T+(1==~~(T%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")}})}(M(5439))},9998:function(q,Y,M){!function(_){"use strict";_.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var w=T%10;return T+(1==~~(T%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(M(5439))},3391:function(q,Y,M){!function(_){"use strict";_.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var w=T%10;return T+(1==~~(T%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(M(5439))},5414:function(q,Y,M){!function(_){"use strict";_.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var w=T%10;return T+(1==~~(T%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")}})}(M(5439))},9615:function(q,Y,M){!function(_){"use strict";_.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var w=T%10;return T+(1==~~(T%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:0,doy:6}})}(M(5439))},1248:function(q,Y,M){!function(_){"use strict";_.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var w=T%10;return T+(1==~~(T%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(M(5439))},3767:function(q,Y,M){!function(_){"use strict";_.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var w=T%10;return T+(1==~~(T%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(M(5439))},4530:function(q,Y,M){!function(_){"use strict";_.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(T){return"p"===T.charAt(0).toLowerCase()},meridiem:function(T,w,v){return T>11?v?"p.t.m.":"P.T.M.":v?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(M(5439))},8944:function(q,Y,M){!function(_){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),w=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;_.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:t[L.month()]:t},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(M(5439))},9116:function(q,Y,M){!function(_){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),w=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;_.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:t[L.month()]:t},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(M(5439))},3609:function(q,Y,M){!function(_){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),w=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;_.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:t[L.month()]:t},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(M(5439))},6866:function(q,Y,M){!function(_){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),w=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;_.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:t[L.month()]:t},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(M(5439))},6725:function(q,Y,M){!function(_){"use strict";function t(w,v,E,L){var I={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[w+"sekundi",w+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[w+" minuti",w+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[w+" tunni",w+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[w+" kuu",w+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[w+" aasta",w+" aastat"]};return v?I[E][2]?I[E][2]:I[E][1]:L?I[E][0]:I[E][1]}_.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},7931:function(q,Y,M){!function(_){"use strict";_.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(M(5439))},6417:function(q,Y,M){!function(_){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},T={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};_.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(v){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(v)},meridiem:function(v,E,L){return v<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(v){return v.replace(/[\u06f0-\u06f9]/g,function(E){return T[E]}).replace(/\u060c/g,",")},postformat:function(v){return v.replace(/\d/g,function(E){return t[E]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(M(5439))},944:function(q,Y,M){!function(_){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),T=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function w(L,I,B,F){var G="";switch(B){case"s":return F?"muutaman sekunnin":"muutama sekunti";case"ss":G=F?"sekunnin":"sekuntia";break;case"m":return F?"minuutin":"minuutti";case"mm":G=F?"minuutin":"minuuttia";break;case"h":return F?"tunnin":"tunti";case"hh":G=F?"tunnin":"tuntia";break;case"d":return F?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":G=F?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return F?"kuukauden":"kuukausi";case"MM":G=F?"kuukauden":"kuukautta";break;case"y":return F?"vuoden":"vuosi";case"yy":G=F?"vuoden":"vuotta"}return function v(L,I){return L<10?I?T[L]:t[L]:L}(L,F)+" "+G}_.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},1766:function(q,Y,M){!function(_){"use strict";_.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(T){return T},week:{dow:1,doy:4}})}(M(5439))},5867:function(q,Y,M){!function(_){"use strict";_.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},6848:function(q,Y,M){!function(_){"use strict";_.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(T,w){switch(w){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}}})}(M(5439))},7773:function(q,Y,M){!function(_){"use strict";_.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(T,w){switch(w){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}},week:{dow:1,doy:4}})}(M(5439))},1636:function(q,Y,M){!function(_){"use strict";var w=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,v=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];_.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:w,monthsShortRegex:w,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(L,I){switch(I){case"D":return L+(1===L?"er":"");default:case"M":case"Q":case"DDD":case"d":return L+(1===L?"er":"e");case"w":case"W":return L+(1===L?"re":"e")}},week:{dow:1,doy:4}})}(M(5439))},4940:function(q,Y,M){!function(_){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),T="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");_.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(v,E){return v?/-MMM-/.test(E)?T[v.month()]:t[v.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(v){return v+(1===v||8===v||v>=20?"ste":"de")},week:{dow:1,doy:4}})}(M(5439))},1402:function(q,Y,M){!function(_){"use strict";_.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(I){return I+(1===I?"d":I%10==2?"na":"mh")},week:{dow:1,doy:4}})}(M(5439))},6924:function(q,Y,M){!function(_){"use strict";_.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(I){return I+(1===I?"d":I%10==2?"na":"mh")},week:{dow:1,doy:4}})}(M(5439))},6398:function(q,Y,M){!function(_){"use strict";_.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(T){return 0===T.indexOf("un")?"n"+T:"en "+T},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(M(5439))},2457:function(q,Y,M){!function(_){"use strict";function t(w,v,E,L){var I={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[w+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",w+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[w+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",w+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[w+" \u0935\u0930\u093e\u0902\u0928\u0940",w+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[w+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",w+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[w+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",w+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[w+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",w+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return L?I[E][0]:I[E][1]}_.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(w,v){return"D"===v?w+"\u0935\u0947\u0930":w},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(w,v){return 12===w&&(w=0),"\u0930\u093e\u0924\u0940"===v?w<4?w:w+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===v?w:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===v?w>12?w:w+12:"\u0938\u093e\u0902\u091c\u0947"===v?w+12:void 0},meridiem:function(w,v,E){return w<4?"\u0930\u093e\u0924\u0940":w<12?"\u0938\u0915\u093e\u0933\u0940\u0902":w<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":w<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(M(5439))},2545:function(q,Y,M){!function(_){"use strict";function t(w,v,E,L){var I={s:["thoddea sekondamni","thodde sekond"],ss:[w+" sekondamni",w+" sekond"],m:["eka mintan","ek minut"],mm:[w+" mintamni",w+" mintam"],h:["eka voran","ek vor"],hh:[w+" voramni",w+" voram"],d:["eka disan","ek dis"],dd:[w+" disamni",w+" dis"],M:["eka mhoinean","ek mhoino"],MM:[w+" mhoineamni",w+" mhoine"],y:["eka vorsan","ek voros"],yy:[w+" vorsamni",w+" vorsam"]};return L?I[E][0]:I[E][1]}_.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(w,v){return"D"===v?w+"er":w},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(w,v){return 12===w&&(w=0),"rati"===v?w<4?w:w+12:"sokallim"===v?w:"donparam"===v?w>12?w:w+12:"sanje"===v?w+12:void 0},meridiem:function(w,v,E){return w<4?"rati":w<12?"sokallim":w<16?"donparam":w<20?"sanje":"rati"}})}(M(5439))},2641:function(q,Y,M){!function(_){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},T={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};_.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(v){return v.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(E){return T[E]})},postformat:function(v){return v.replace(/\d/g,function(E){return t[E]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(v,E){return 12===v&&(v=0),"\u0ab0\u0abe\u0aa4"===E?v<4?v:v+12:"\u0ab8\u0ab5\u0abe\u0ab0"===E?v:"\u0aac\u0aaa\u0acb\u0ab0"===E?v>=10?v:v+12:"\u0ab8\u0abe\u0a82\u0a9c"===E?v+12:void 0},meridiem:function(v,E,L){return v<4?"\u0ab0\u0abe\u0aa4":v<10?"\u0ab8\u0ab5\u0abe\u0ab0":v<17?"\u0aac\u0aaa\u0acb\u0ab0":v<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(M(5439))},7536:function(q,Y,M){!function(_){"use strict";_.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(T){return 2===T?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":T+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(T){return 2===T?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":T+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(T){return 2===T?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":T+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(T){return 2===T?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":T%10==0&&10!==T?T+" \u05e9\u05e0\u05d4":T+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(T){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(T)},meridiem:function(T,w,v){return T<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":T<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":T<12?v?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":T<18?v?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(M(5439))},6335:function(q,Y,M){!function(_){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},w=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];_.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:w,longMonthsParse:w,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(L){return L.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(I){return T[I]})},postformat:function(L){return L.replace(/\d/g,function(I){return t[I]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(L,I){return 12===L&&(L=0),"\u0930\u093e\u0924"===I?L<4?L:L+12:"\u0938\u0941\u092c\u0939"===I?L:"\u0926\u094b\u092a\u0939\u0930"===I?L>=10?L:L+12:"\u0936\u093e\u092e"===I?L+12:void 0},meridiem:function(L,I,B){return L<4?"\u0930\u093e\u0924":L<10?"\u0938\u0941\u092c\u0939":L<17?"\u0926\u094b\u092a\u0939\u0930":L<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(M(5439))},7458:function(q,Y,M){!function(_){"use strict";function t(w,v,E){var L=w+" ";switch(E){case"ss":return L+(1===w?"sekunda":2===w||3===w||4===w?"sekunde":"sekundi");case"m":return v?"jedna minuta":"jedne minute";case"mm":return L+(1===w?"minuta":2===w||3===w||4===w?"minute":"minuta");case"h":return v?"jedan sat":"jednog sata";case"hh":return L+(1===w?"sat":2===w||3===w||4===w?"sata":"sati");case"dd":return L+(1===w?"dan":"dana");case"MM":return L+(1===w?"mjesec":2===w||3===w||4===w?"mjeseca":"mjeseci");case"yy":return L+(1===w?"godina":2===w||3===w||4===w?"godine":"godina")}}_.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(M(5439))},6540:function(q,Y,M){!function(_){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function T(E,L,I,B){var F=E;switch(I){case"s":return B||L?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return F+(B||L)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(B||L?" perc":" perce");case"mm":return F+(B||L?" perc":" perce");case"h":return"egy"+(B||L?" \xf3ra":" \xf3r\xe1ja");case"hh":return F+(B||L?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(B||L?" nap":" napja");case"dd":return F+(B||L?" nap":" napja");case"M":return"egy"+(B||L?" h\xf3nap":" h\xf3napja");case"MM":return F+(B||L?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(B||L?" \xe9v":" \xe9ve");case"yy":return F+(B||L?" \xe9v":" \xe9ve")}return""}function w(E){return(E?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}_.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(E){return"u"===E.charAt(1).toLowerCase()},meridiem:function(E,L,I){return E<12?!0===I?"de":"DE":!0===I?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return w.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return w.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},3165:function(q,Y,M){!function(_){"use strict";_.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(T){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(T)},meridiem:function(T){return T<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":T<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":T<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(T,w){switch(w){case"DDD":case"w":case"W":case"DDDo":return 1===T?T+"-\u056b\u0576":T+"-\u0580\u0564";default:return T}},week:{dow:1,doy:7}})}(M(5439))},8780:function(q,Y,M){!function(_){"use strict";_.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(T,w){return 12===T&&(T=0),"pagi"===w?T:"siang"===w?T>=11?T:T+12:"sore"===w||"malam"===w?T+12:void 0},meridiem:function(T,w,v){return T<11?"pagi":T<15?"siang":T<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(M(5439))},4205:function(q,Y,M){!function(_){"use strict";function t(v){return v%100==11||v%10!=1}function T(v,E,L,I){var B=v+" ";switch(L){case"s":return E||I?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(v)?B+(E||I?"sek\xfandur":"sek\xfandum"):B+"sek\xfanda";case"m":return E?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(v)?B+(E||I?"m\xedn\xfatur":"m\xedn\xfatum"):E?B+"m\xedn\xfata":B+"m\xedn\xfatu";case"hh":return t(v)?B+(E||I?"klukkustundir":"klukkustundum"):B+"klukkustund";case"d":return E?"dagur":I?"dag":"degi";case"dd":return t(v)?E?B+"dagar":B+(I?"daga":"d\xf6gum"):E?B+"dagur":B+(I?"dag":"degi");case"M":return E?"m\xe1nu\xf0ur":I?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(v)?E?B+"m\xe1nu\xf0ir":B+(I?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):E?B+"m\xe1nu\xf0ur":B+(I?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return E||I?"\xe1r":"\xe1ri";case"yy":return t(v)?B+(E||I?"\xe1r":"\xe1rum"):B+(E||I?"\xe1r":"\xe1ri")}}_.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:T,ss:T,m:T,mm:T,h:"klukkustund",hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},9985:function(q,Y,M){!function(_){"use strict";_.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(T){return(/^[0-9].+$/.test(T)?"tra":"in")+" "+T},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(M(5439))},4211:function(q,Y,M){!function(_){"use strict";_.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(M(5439))},1003:function(q,Y,M){!function(_){"use strict";_.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(T,w){return"\u5143"===w[1]?1:parseInt(w[1]||T,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(T){return"\u5348\u5f8c"===T},meridiem:function(T,w,v){return T<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(T){return T.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(T){return this.week()!==T.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(T,w){switch(w){case"y":return 1===T?"\u5143\u5e74":T+"\u5e74";case"d":case"D":case"DDD":return T+"\u65e5";default:return T}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(M(5439))},420:function(q,Y,M){!function(_){"use strict";_.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(T,w){return 12===T&&(T=0),"enjing"===w?T:"siyang"===w?T>=11?T:T+12:"sonten"===w||"ndalu"===w?T+12:void 0},meridiem:function(T,w,v){return T<11?"enjing":T<15?"siyang":T<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(M(5439))},851:function(q,Y,M){!function(_){"use strict";_.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(T){return T.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(w,v,E){return"\u10d8"===E?v+"\u10e8\u10d8":v+E+"\u10e8\u10d8"})},past:function(T){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(T)?T.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(T)?T.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):T},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(T){return 0===T?T:1===T?T+"-\u10da\u10d8":T<20||T<=100&&T%20==0||T%100==0?"\u10db\u10d4-"+T:T+"-\u10d4"},week:{dow:1,doy:7}})}(M(5439))},6074:function(q,Y,M){!function(_){"use strict";var t={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};_.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(w){return w+(t[w]||t[w%10]||t[w>=100?100:null])},week:{dow:1,doy:7}})}(M(5439))},3343:function(q,Y,M){!function(_){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},T={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};_.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(v){return"\u179b\u17d2\u1784\u17b6\u1785"===v},meridiem:function(v,E,L){return v<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(v){return v.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(E){return T[E]})},postformat:function(v){return v.replace(/\d/g,function(E){return t[E]})},week:{dow:1,doy:4}})}(M(5439))},4799:function(q,Y,M){!function(_){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},T={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};_.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(v){return v.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(E){return T[E]})},postformat:function(v){return v.replace(/\d/g,function(E){return t[E]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(v,E){return 12===v&&(v=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===E?v<4?v:v+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===E?v:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===E?v>=10?v:v+12:"\u0cb8\u0c82\u0c9c\u0cc6"===E?v+12:void 0},meridiem:function(v,E,L){return v<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":v<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":v<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":v<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(v){return v+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(M(5439))},3549:function(q,Y,M){!function(_){"use strict";_.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(T,w){switch(w){case"d":case"D":case"DDD":return T+"\uc77c";case"M":return T+"\uc6d4";case"w":case"W":return T+"\uc8fc";default:return T}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(T){return"\uc624\ud6c4"===T},meridiem:function(T,w,v){return T<12?"\uc624\uc804":"\uc624\ud6c4"}})}(M(5439))},1037:function(q,Y,M){!function(_){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},w=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];_.defineLocale("ku",{months:w,monthsShort:w,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(E){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(E)},meridiem:function(E,L,I){return E<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(E){return E.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(L){return T[L]}).replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(L){return t[L]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(M(5439))},3125:function(q,Y,M){!function(_){"use strict";var t={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};_.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(w){return w+(t[w]||t[w%10]||t[w>=100?100:null])},week:{dow:1,doy:7}})}(M(5439))},9586:function(q,Y,M){!function(_){"use strict";function t(L,I,B,F){var G={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return I?G[B][0]:G[B][1]}function v(L){if(L=parseInt(L,10),isNaN(L))return!1;if(L<0)return!0;if(L<10)return 4<=L&&L<=7;if(L<100){var I=L%10;return v(0===I?L/10:I)}if(L<1e4){for(;L>=10;)L/=10;return v(L)}return v(L/=1e3)}_.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function T(L){return v(L.substr(0,L.indexOf(" ")))?"a "+L:"an "+L},past:function w(L){return v(L.substr(0,L.indexOf(" ")))?"viru "+L:"virun "+L},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},2349:function(q,Y,M){!function(_){"use strict";_.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(T){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===T},meridiem:function(T,w,v){return T<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(T){return"\u0e97\u0eb5\u0ec8"+T}})}(M(5439))},2400:function(q,Y,M){!function(_){"use strict";var t={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function w(B,F,G,X){return F?E(G)[0]:X?E(G)[1]:E(G)[2]}function v(B){return B%10==0||B>10&&B<20}function E(B){return t[B].split("_")}function L(B,F,G,X){var Q=B+" ";return 1===B?Q+w(0,F,G[0],X):F?Q+(v(B)?E(G)[1]:E(G)[0]):X?Q+E(G)[1]:Q+(v(B)?E(G)[1]:E(G)[2])}_.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function T(B,F,G,X){return F?"kelios sekund\u0117s":X?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:L,m:w,mm:L,h:w,hh:L,d:w,dd:L,M:w,MM:L,y:w,yy:L},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(B){return B+"-oji"},week:{dow:1,doy:4}})}(M(5439))},9991:function(q,Y,M){!function(_){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function T(I,B,F){return F?B%10==1&&B%100!=11?I[2]:I[3]:B%10==1&&B%100!=11?I[0]:I[1]}function w(I,B,F){return I+" "+T(t[F],I,B)}function v(I,B,F){return T(t[F],I,B)}_.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function E(I,B){return B?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:w,m:v,mm:w,h:v,hh:w,d:v,dd:w,M:v,MM:w,y:v,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},8477:function(q,Y,M){!function(_){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(w,v){return 1===w?v[0]:w>=2&&w<=4?v[1]:v[2]},translate:function(w,v,E){var L=t.words[E];return 1===E.length?v?L[0]:L[1]:w+" "+t.correctGrammaticalCase(w,L)}};_.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(M(5439))},5118:function(q,Y,M){!function(_){"use strict";_.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(M(5439))},5943:function(q,Y,M){!function(_){"use strict";_.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(T){var w=T%10,v=T%100;return 0===T?T+"-\u0435\u0432":0===v?T+"-\u0435\u043d":v>10&&v<20?T+"-\u0442\u0438":1===w?T+"-\u0432\u0438":2===w?T+"-\u0440\u0438":7===w||8===w?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(M(5439))},3849:function(q,Y,M){!function(_){"use strict";_.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(T,w){return 12===T&&(T=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===w&&T>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===w||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===w?T+12:T},meridiem:function(T,w,v){return T<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":T<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":T<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":T<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(M(5439))},1977:function(q,Y,M){!function(_){"use strict";function t(w,v,E,L){switch(E){case"s":return v?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return w+(v?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return w+(v?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return w+(v?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return w+(v?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return w+(v?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return w+(v?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return w}}_.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(w){return"\u04ae\u0425"===w},meridiem:function(w,v,E){return w<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(w,v){switch(v){case"d":case"D":case"DDD":return w+" \u04e9\u0434\u04e9\u0440";default:return w}}})}(M(5439))},6184:function(q,Y,M){!function(_){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function w(E,L,I,B){var F="";if(L)switch(I){case"s":F="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":F="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":F="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":F="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":F="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":F="%d \u0924\u093e\u0938";break;case"d":F="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":F="%d \u0926\u093f\u0935\u0938";break;case"M":F="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":F="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":F="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":F="%d \u0935\u0930\u094d\u0937\u0947"}else switch(I){case"s":F="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":F="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":F="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":F="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":F="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":F="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":F="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":F="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":F="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":F="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":F="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":F="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return F.replace(/%d/i,E)}_.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},preparse:function(E){return E.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(L){return T[L]})},postformat:function(E){return E.replace(/\d/g,function(L){return t[L]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(E,L){return 12===E&&(E=0),"\u092a\u0939\u093e\u091f\u0947"===L||"\u0938\u0915\u093e\u0933\u0940"===L?E:"\u0926\u0941\u092a\u093e\u0930\u0940"===L||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===L||"\u0930\u093e\u0924\u094d\u0930\u0940"===L?E>=12?E:E+12:void 0},meridiem:function(E,L,I){return E>=0&&E<6?"\u092a\u0939\u093e\u091f\u0947":E<12?"\u0938\u0915\u093e\u0933\u0940":E<17?"\u0926\u0941\u092a\u093e\u0930\u0940":E<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(M(5439))},4524:function(q,Y,M){!function(_){"use strict";_.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(T,w){return 12===T&&(T=0),"pagi"===w?T:"tengahari"===w?T>=11?T:T+12:"petang"===w||"malam"===w?T+12:void 0},meridiem:function(T,w,v){return T<11?"pagi":T<15?"tengahari":T<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(M(5439))},485:function(q,Y,M){!function(_){"use strict";_.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(T,w){return 12===T&&(T=0),"pagi"===w?T:"tengahari"===w?T>=11?T:T+12:"petang"===w||"malam"===w?T+12:void 0},meridiem:function(T,w,v){return T<11?"pagi":T<15?"tengahari":T<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(M(5439))},6681:function(q,Y,M){!function(_){"use strict";_.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(M(5439))},2024:function(q,Y,M){!function(_){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},T={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};_.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(v){return v.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(E){return T[E]})},postformat:function(v){return v.replace(/\d/g,function(E){return t[E]})},week:{dow:1,doy:4}})}(M(5439))},2688:function(q,Y,M){!function(_){"use strict";_.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},8914:function(q,Y,M){!function(_){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};_.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(v){return v.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(E){return T[E]})},postformat:function(v){return v.replace(/\d/g,function(E){return t[E]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(v,E){return 12===v&&(v=0),"\u0930\u093e\u0924\u093f"===E?v<4?v:v+12:"\u092c\u093f\u0939\u093e\u0928"===E?v:"\u0926\u093f\u0909\u0901\u0938\u094b"===E?v>=10?v:v+12:"\u0938\u093e\u0901\u091d"===E?v+12:void 0},meridiem:function(v,E,L){return v<3?"\u0930\u093e\u0924\u093f":v<12?"\u092c\u093f\u0939\u093e\u0928":v<16?"\u0926\u093f\u0909\u0901\u0938\u094b":v<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(M(5439))},2272:function(q,Y,M){!function(_){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),w=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],v=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;_.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:t[L.month()]:t},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(L){return L+(1===L||8===L||L>=20?"ste":"de")},week:{dow:1,doy:4}})}(M(5439))},1758:function(q,Y,M){!function(_){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),w=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],v=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;_.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:t[L.month()]:t},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(L){return L+(1===L||8===L||L>=20?"ste":"de")},week:{dow:1,doy:4}})}(M(5439))},1510:function(q,Y,M){!function(_){"use strict";_.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},2797:function(q,Y,M){!function(_){"use strict";_.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(T,w){var v=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===w||"W"===w)&&(v="a"),T+v},week:{dow:1,doy:4}})}(M(5439))},7944:function(q,Y,M){!function(_){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},T={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};_.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(v){return v.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(E){return T[E]})},postformat:function(v){return v.replace(/\d/g,function(E){return t[E]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(v,E){return 12===v&&(v=0),"\u0a30\u0a3e\u0a24"===E?v<4?v:v+12:"\u0a38\u0a35\u0a47\u0a30"===E?v:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===E?v>=10?v:v+12:"\u0a38\u0a3c\u0a3e\u0a2e"===E?v+12:void 0},meridiem:function(v,E,L){return v<4?"\u0a30\u0a3e\u0a24":v<10?"\u0a38\u0a35\u0a47\u0a30":v<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":v<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(M(5439))},1605:function(q,Y,M){!function(_){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),T="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),w=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function v(I){return I%10<5&&I%10>1&&~~(I/10)%10!=1}function E(I,B,F){var G=I+" ";switch(F){case"ss":return G+(v(I)?"sekundy":"sekund");case"m":return B?"minuta":"minut\u0119";case"mm":return G+(v(I)?"minuty":"minut");case"h":return B?"godzina":"godzin\u0119";case"hh":return G+(v(I)?"godziny":"godzin");case"ww":return G+(v(I)?"tygodnie":"tygodni");case"MM":return G+(v(I)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return G+(v(I)?"lata":"lat")}}_.defineLocale("pl",{months:function(I,B){return I?/D MMMM/.test(B)?T[I.month()]:t[I.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:E,m:E,mm:E,h:E,hh:E,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:E,M:"miesi\u0105c",MM:E,y:"rok",yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},3840:function(q,Y,M){!function(_){"use strict";_.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(M(5439))},4225:function(q,Y,M){!function(_){"use strict";_.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(M(5439))},5128:function(q,Y,M){!function(_){"use strict";function t(w,v,E){var I=" ";return(w%100>=20||w>=100&&w%100==0)&&(I=" de "),w+I+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[E]}_.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(M(5439))},5127:function(q,Y,M){!function(_){"use strict";function T(E,L,I){return"m"===I?L?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":E+" "+function t(E,L){var I=E.split("_");return L%10==1&&L%100!=11?I[0]:L%10>=2&&L%10<=4&&(L%100<10||L%100>=20)?I[1]:I[2]}({ss:L?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:L?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[I],+E)}var w=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];_.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:w,longMonthsParse:w,shortMonthsParse:w,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(E){if(E.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(E){if(E.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:T,m:T,mm:T,h:"\u0447\u0430\u0441",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(E){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(E)},meridiem:function(E,L,I){return E<4?"\u043d\u043e\u0447\u0438":E<12?"\u0443\u0442\u0440\u0430":E<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(E,L){switch(L){case"M":case"d":case"DDD":return E+"-\u0439";case"D":return E+"-\u0433\u043e";case"w":case"W":return E+"-\u044f";default:return E}},week:{dow:1,doy:4}})}(M(5439))},2525:function(q,Y,M){!function(_){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],T=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];_.defineLocale("sd",{months:t,monthsShort:t,weekdays:T,weekdaysShort:T,weekdaysMin:T,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(v){return"\u0634\u0627\u0645"===v},meridiem:function(v,E,L){return v<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(M(5439))},9893:function(q,Y,M){!function(_){"use strict";_.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},3123:function(q,Y,M){!function(_){"use strict";_.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(T){return T+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(T){return"\u0db4.\u0dc0."===T||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===T},meridiem:function(T,w,v){return T>11?v?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":v?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(M(5439))},9635:function(q,Y,M){!function(_){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),T="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function w(L){return L>1&&L<5}function v(L,I,B,F){var G=L+" ";switch(B){case"s":return I||F?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return I||F?G+(w(L)?"sekundy":"sek\xfand"):G+"sekundami";case"m":return I?"min\xfata":F?"min\xfatu":"min\xfatou";case"mm":return I||F?G+(w(L)?"min\xfaty":"min\xfat"):G+"min\xfatami";case"h":return I?"hodina":F?"hodinu":"hodinou";case"hh":return I||F?G+(w(L)?"hodiny":"hod\xedn"):G+"hodinami";case"d":return I||F?"de\u0148":"d\u0148om";case"dd":return I||F?G+(w(L)?"dni":"dn\xed"):G+"d\u0148ami";case"M":return I||F?"mesiac":"mesiacom";case"MM":return I||F?G+(w(L)?"mesiace":"mesiacov"):G+"mesiacmi";case"y":return I||F?"rok":"rokom";case"yy":return I||F?G+(w(L)?"roky":"rokov"):G+"rokmi"}}_.defineLocale("sk",{months:t,monthsShort:T,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},8106:function(q,Y,M){!function(_){"use strict";function t(w,v,E,L){var I=w+" ";switch(E){case"s":return v||L?"nekaj sekund":"nekaj sekundami";case"ss":return I+(1===w?v?"sekundo":"sekundi":2===w?v||L?"sekundi":"sekundah":w<5?v||L?"sekunde":"sekundah":"sekund");case"m":return v?"ena minuta":"eno minuto";case"mm":return I+(1===w?v?"minuta":"minuto":2===w?v||L?"minuti":"minutama":w<5?v||L?"minute":"minutami":v||L?"minut":"minutami");case"h":return v?"ena ura":"eno uro";case"hh":return I+(1===w?v?"ura":"uro":2===w?v||L?"uri":"urama":w<5?v||L?"ure":"urami":v||L?"ur":"urami");case"d":return v||L?"en dan":"enim dnem";case"dd":return I+(1===w?v||L?"dan":"dnem":2===w?v||L?"dni":"dnevoma":v||L?"dni":"dnevi");case"M":return v||L?"en mesec":"enim mesecem";case"MM":return I+(1===w?v||L?"mesec":"mesecem":2===w?v||L?"meseca":"mesecema":w<5?v||L?"mesece":"meseci":v||L?"mesecev":"meseci");case"y":return v||L?"eno leto":"enim letom";case"yy":return I+(1===w?v||L?"leto":"letom":2===w?v||L?"leti":"letoma":w<5?v||L?"leta":"leti":v||L?"let":"leti")}}_.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(M(5439))},8799:function(q,Y,M){!function(_){"use strict";_.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(T){return"M"===T.charAt(0)},meridiem:function(T,w,v){return T<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},2872:function(q,Y,M){!function(_){"use strict";var t={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(w,v){return w%10>=1&&w%10<=4&&(w%100<10||w%100>=20)?w%10==1?v[0]:v[1]:v[2]},translate:function(w,v,E,L){var I=t.words[E];if(1===E.length)return"y"===E&&v?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":L||v?I[0]:I[1];const B=t.correctGrammaticalCase(w,I);return"yy"===E&&v&&"\u0433\u043e\u0434\u0438\u043d\u0443"===B?w+" \u0433\u043e\u0434\u0438\u043d\u0430":w+" "+B}};_.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(M(5439))},7949:function(q,Y,M){!function(_){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(w,v){return w%10>=1&&w%10<=4&&(w%100<10||w%100>=20)?w%10==1?v[0]:v[1]:v[2]},translate:function(w,v,E,L){var I=t.words[E];if(1===E.length)return"y"===E&&v?"jedna godina":L||v?I[0]:I[1];const B=t.correctGrammaticalCase(w,I);return"yy"===E&&v&&"godinu"===B?w+" godina":w+" "+B}};_.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(M(5439))},6167:function(q,Y,M){!function(_){"use strict";_.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(T,w,v){return T<11?"ekuseni":T<15?"emini":T<19?"entsambama":"ebusuku"},meridiemHour:function(T,w){return 12===T&&(T=0),"ekuseni"===w?T:"emini"===w?T>=11?T:T+12:"entsambama"===w||"ebusuku"===w?0===T?0:T+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(M(5439))},9713:function(q,Y,M){!function(_){"use strict";_.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(T){var w=T%10;return T+(1==~~(T%100/10)?":e":1===w||2===w?":a":":e")},week:{dow:1,doy:4}})}(M(5439))},1982:function(q,Y,M){!function(_){"use strict";_.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(M(5439))},2732:function(q,Y,M){!function(_){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},T={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};_.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(v){return v+"\u0bb5\u0ba4\u0bc1"},preparse:function(v){return v.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(E){return T[E]})},postformat:function(v){return v.replace(/\d/g,function(E){return t[E]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(v,E,L){return v<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":v<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":v<10?" \u0b95\u0bbe\u0bb2\u0bc8":v<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":v<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":v<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(v,E){return 12===v&&(v=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===E?v<2?v:v+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===E||"\u0b95\u0bbe\u0bb2\u0bc8"===E||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===E&&v>=10?v:v+12},week:{dow:0,doy:6}})}(M(5439))},3636:function(q,Y,M){!function(_){"use strict";_.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(T,w){return 12===T&&(T=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===w?T<4?T:T+12:"\u0c09\u0c26\u0c2f\u0c02"===w?T:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===w?T>=10?T:T+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===w?T+12:void 0},meridiem:function(T,w,v){return T<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":T<10?"\u0c09\u0c26\u0c2f\u0c02":T<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":T<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(M(5439))},2115:function(q,Y,M){!function(_){"use strict";_.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var w=T%10;return T+(1==~~(T%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(M(5439))},9801:function(q,Y,M){!function(_){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};_.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(w,v){return 12===w&&(w=0),"\u0448\u0430\u0431"===v?w<4?w:w+12:"\u0441\u0443\u0431\u04b3"===v?w:"\u0440\u04ef\u0437"===v?w>=11?w:w+12:"\u0431\u0435\u0433\u043e\u04b3"===v?w+12:void 0},meridiem:function(w,v,E){return w<4?"\u0448\u0430\u0431":w<11?"\u0441\u0443\u0431\u04b3":w<16?"\u0440\u04ef\u0437":w<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(w){return w+(t[w]||t[w%10]||t[w>=100?100:null])},week:{dow:1,doy:7}})}(M(5439))},4486:function(q,Y,M){!function(_){"use strict";_.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(T){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===T},meridiem:function(T,w,v){return T<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(M(5439))},1310:function(q,Y,M){!function(_){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};_.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(w,v){switch(v){case"d":case"D":case"Do":case"DD":return w;default:if(0===w)return w+"'unjy";var E=w%10;return w+(t[E]||t[w%100-E]||t[w>=100?100:null])}},week:{dow:1,doy:7}})}(M(5439))},2360:function(q,Y,M){!function(_){"use strict";_.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(T){return T},week:{dow:1,doy:4}})}(M(5439))},6645:function(q,Y,M){!function(_){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function v(I,B,F,G){var X=function E(I){var B=Math.floor(I%1e3/100),F=Math.floor(I%100/10),G=I%10,X="";return B>0&&(X+=t[B]+"vatlh"),F>0&&(X+=(""!==X?" ":"")+t[F]+"maH"),G>0&&(X+=(""!==X?" ":"")+t[G]),""===X?"pagh":X}(I);switch(F){case"ss":return X+" lup";case"mm":return X+" tup";case"hh":return X+" rep";case"dd":return X+" jaj";case"MM":return X+" jar";case"yy":return X+" DIS"}}_.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function T(I){var B=I;return-1!==I.indexOf("jaj")?B.slice(0,-3)+"leS":-1!==I.indexOf("jar")?B.slice(0,-3)+"waQ":-1!==I.indexOf("DIS")?B.slice(0,-3)+"nem":B+" pIq"},past:function w(I){var B=I;return-1!==I.indexOf("jaj")?B.slice(0,-3)+"Hu\u2019":-1!==I.indexOf("jar")?B.slice(0,-3)+"wen":-1!==I.indexOf("DIS")?B.slice(0,-3)+"ben":B+" ret"},s:"puS lup",ss:v,m:"wa\u2019 tup",mm:v,h:"wa\u2019 rep",hh:v,d:"wa\u2019 jaj",dd:v,M:"wa\u2019 jar",MM:v,y:"wa\u2019 DIS",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},8374:function(q,Y,M){!function(_){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};_.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(w,v,E){return w<12?E?"\xf6\xf6":"\xd6\xd6":E?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(w){return"\xf6s"===w||"\xd6S"===w},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(w,v){switch(v){case"d":case"D":case"Do":case"DD":return w;default:if(0===w)return w+"'\u0131nc\u0131";var E=w%10;return w+(t[E]||t[w%100-E]||t[w>=100?100:null])}},week:{dow:1,doy:7}})}(M(5439))},256:function(q,Y,M){!function(_){"use strict";function T(w,v,E,L){var I={s:["viensas secunds","'iensas secunds"],ss:[w+" secunds",w+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[w+" m\xeduts",w+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[w+" \xfeoras",w+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[w+" ziuas",w+" ziuas"],M:["'n mes","'iens mes"],MM:[w+" mesen",w+" mesen"],y:["'n ar","'iens ar"],yy:[w+" ars",w+" ars"]};return L||v?I[E][0]:I[E][1]}_.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(w){return"d'o"===w.toLowerCase()},meridiem:function(w,v,E){return w>11?E?"d'o":"D'O":E?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(M(5439))},1631:function(q,Y,M){!function(_){"use strict";_.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(M(5439))},1595:function(q,Y,M){!function(_){"use strict";_.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(M(5439))},6050:function(q,Y,M){!function(_){"use strict";_.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(T,w){return 12===T&&(T=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===w||"\u0633\u06d5\u06be\u06d5\u0631"===w||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===w?T:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===w||"\u0643\u06d5\u0686"===w?T+12:T>=11?T:T+12},meridiem:function(T,w,v){var E=100*T+w;return E<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":E<900?"\u0633\u06d5\u06be\u06d5\u0631":E<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":E<1230?"\u0686\u06c8\u0634":E<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(T,w){switch(w){case"d":case"D":case"DDD":return T+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return T+"-\u06be\u06d5\u067e\u062a\u06d5";default:return T}},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(M(5439))},5610:function(q,Y,M){!function(_){"use strict";function T(L,I,B){return"m"===B?I?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===B?I?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":L+" "+function t(L,I){var B=L.split("_");return I%10==1&&I%100!=11?B[0]:I%10>=2&&I%10<=4&&(I%100<10||I%100>=20)?B[1]:B[2]}({ss:I?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:I?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:I?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[B],+L)}function v(L){return function(){return L+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}_.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function w(L,I){var B={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===L?B.nominative.slice(1,7).concat(B.nominative.slice(0,1)):L?B[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(I)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(I)?"genitive":"nominative"][L.day()]:B.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:v("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:v("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:v("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:v("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return v("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return v("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:T,m:T,mm:T,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:T,y:"\u0440\u0456\u043a",yy:T},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(L){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(L)},meridiem:function(L,I,B){return L<4?"\u043d\u043e\u0447\u0456":L<12?"\u0440\u0430\u043d\u043a\u0443":L<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(L,I){switch(I){case"M":case"d":case"DDD":case"w":case"W":return L+"-\u0439";case"D":return L+"-\u0433\u043e";default:return L}},week:{dow:1,doy:7}})}(M(5439))},6077:function(q,Y,M){!function(_){"use strict";var t=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],T=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];_.defineLocale("ur",{months:t,monthsShort:t,weekdays:T,weekdaysShort:T,weekdaysMin:T,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(v){return"\u0634\u0627\u0645"===v},meridiem:function(v,E,L){return v<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(M(5439))},2207:function(q,Y,M){!function(_){"use strict";_.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(M(5439))},2862:function(q,Y,M){!function(_){"use strict";_.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(M(5439))},8093:function(q,Y,M){!function(_){"use strict";_.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(T){return/^ch$/i.test(T)},meridiem:function(T,w,v){return T<12?v?"sa":"SA":v?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(T){return T},week:{dow:1,doy:4}})}(M(5439))},5590:function(q,Y,M){!function(_){"use strict";_.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(T){var w=T%10;return T+(1==~~(T%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(M(5439))},9058:function(q,Y,M){!function(_){"use strict";_.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(M(5439))},7908:function(q,Y,M){!function(_){"use strict";_.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,w){return 12===T&&(T=0),"\u51cc\u6668"===w||"\u65e9\u4e0a"===w||"\u4e0a\u5348"===w?T:"\u4e0b\u5348"===w||"\u665a\u4e0a"===w?T+12:T>=11?T:T+12},meridiem:function(T,w,v){var E=100*T+w;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(T){return T.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(T){return this.week()!==T.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(T,w){switch(w){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u5468";default:return T}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(M(5439))},8867:function(q,Y,M){!function(_){"use strict";_.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,w){return 12===T&&(T=0),"\u51cc\u6668"===w||"\u65e9\u4e0a"===w||"\u4e0a\u5348"===w?T:"\u4e2d\u5348"===w?T>=11?T:T+12:"\u4e0b\u5348"===w||"\u665a\u4e0a"===w?T+12:void 0},meridiem:function(T,w,v){var E=100*T+w;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1200?"\u4e0a\u5348":1200===E?"\u4e2d\u5348":E<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(T,w){switch(w){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(M(5439))},1133:function(q,Y,M){!function(_){"use strict";_.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,w){return 12===T&&(T=0),"\u51cc\u6668"===w||"\u65e9\u4e0a"===w||"\u4e0a\u5348"===w?T:"\u4e2d\u5348"===w?T>=11?T:T+12:"\u4e0b\u5348"===w||"\u665a\u4e0a"===w?T+12:void 0},meridiem:function(T,w,v){var E=100*T+w;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(T,w){switch(w){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(M(5439))},3291:function(q,Y,M){!function(_){"use strict";_.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,w){return 12===T&&(T=0),"\u51cc\u6668"===w||"\u65e9\u4e0a"===w||"\u4e0a\u5348"===w?T:"\u4e2d\u5348"===w?T>=11?T:T+12:"\u4e0b\u5348"===w||"\u665a\u4e0a"===w?T+12:void 0},meridiem:function(T,w,v){var E=100*T+w;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(T,w){switch(w){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(M(5439))},5439:function(q,Y,M){(q=M.nmd(q)).exports=function(){"use strict";var _,ce;function t(){return _.apply(null,arguments)}function w(b){return b instanceof Array||"[object Array]"===Object.prototype.toString.call(b)}function v(b){return null!=b&&"[object Object]"===Object.prototype.toString.call(b)}function E(b,S){return Object.prototype.hasOwnProperty.call(b,S)}function L(b){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(b).length;var S;for(S in b)if(E(b,S))return!1;return!0}function I(b){return void 0===b}function B(b){return"number"==typeof b||"[object Number]"===Object.prototype.toString.call(b)}function F(b){return b instanceof Date||"[object Date]"===Object.prototype.toString.call(b)}function G(b,S){var N,R=[],W=b.length;for(N=0;N>>0;for(N=0;N0)for(R=0;R=0?R?"+":"":"-")+Math.pow(10,Math.max(0,S-N.length)).toString().substr(1)+N}var ot=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,gt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Nn={},yi={};function Je(b,S,R,N){var W=N;"string"==typeof N&&(W=function(){return this[N]()}),b&&(yi[b]=W),S&&(yi[S[0]]=function(){return vi(W.apply(this,arguments),S[1],S[2])}),R&&(yi[R]=function(){return this.localeData().ordinal(W.apply(this,arguments),b)})}function ai(b){return b.match(/\[[\s\S]/)?b.replace(/^\[|\]$/g,""):b.replace(/\\/g,"")}function un(b,S){return b.isValid()?(S=di(S,b.localeData()),Nn[S]=Nn[S]||function ps(b){var R,N,S=b.match(ot);for(R=0,N=S.length;R=0&>.test(b);)b=b.replace(gt,N),gt.lastIndex=0,R-=1;return b}var Ve={};function nt(b,S){var R=b.toLowerCase();Ve[R]=Ve[R+"s"]=Ve[S]=b}function Qt(b){return"string"==typeof b?Ve[b]||Ve[b.toLowerCase()]:void 0}function Me(b){var R,N,S={};for(N in b)E(b,N)&&(R=Qt(N))&&(S[R]=b[N]);return S}var te={};function se(b,S){te[b]=S}function ke(b){return b%4==0&&b%100!=0||b%400==0}function Fe(b){return b<0?Math.ceil(b)||0:Math.floor(b)}function Te(b){var S=+b,R=0;return 0!==S&&isFinite(S)&&(R=Fe(S)),R}function We(b,S){return function(R){return null!=R?(Yi(this,b,R),t.updateOffset(this,S),this):Pt(this,b)}}function Pt(b,S){return b.isValid()?b._d["get"+(b._isUTC?"UTC":"")+S]():NaN}function Yi(b,S,R){b.isValid()&&!isNaN(R)&&("FullYear"===S&&ke(b.year())&&1===b.month()&&29===b.date()?(R=Te(R),b._d["set"+(b._isUTC?"UTC":"")+S](R,b.month(),hi(R,b.month()))):b._d["set"+(b._isUTC?"UTC":"")+S](R))}var D,Ui=/\d/,ht=/\d\d/,Ke=/\d{3}/,$n=/\d{4}/,Kt=/[+-]?\d{6}/,vt=/\d\d?/,gs=/\d\d\d\d?/,ss=/\d\d\d\d\d\d?/,Xn=/\d{1,3}/,Qc=/\d{1,4}/,Oo=/[+-]?\d{1,6}/,ho=/\d+/,fo=/[+-]?\d+/,ms=/Z|[+-]\d\d:?\d\d/gi,gr=/Z|[+-]\d\d(?::?\d\d)?/gi,$r=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Ne(b,S,R){D[b]=ge(S)?S:function(N,W){return N&&R?R:S}}function Ti(b,S){return E(D,b)?D[b](S._strict,S._locale):new RegExp(function hn(b){return Qe(b.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(S,R,N,W,oe){return R||N||W||oe}))}(b))}function Qe(b){return b.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}D={};var ei={};function wt(b,S){var R,W,N=S;for("string"==typeof b&&(b=[b]),B(S)&&(N=function(oe,be){be[S]=Te(oe)}),W=b.length,R=0;R68?1900:2e3)};var Fn=We("FullYear",!0);function Ua(b,S,R,N,W,oe,be){var rt;return b<100&&b>=0?(rt=new Date(b+400,S,R,N,W,oe,be),isFinite(rt.getFullYear())&&rt.setFullYear(b)):rt=new Date(b,S,R,N,W,oe,be),rt}function No(b){var S,R;return b<100&&b>=0?((R=Array.prototype.slice.call(arguments))[0]=b+400,S=new Date(Date.UTC.apply(null,R)),isFinite(S.getUTCFullYear())&&S.setUTCFullYear(b)):S=new Date(Date.UTC.apply(null,arguments)),S}function go(b,S,R){var N=7+S-R;return-(7+No(b,0,N).getUTCDay()-S)%7+N-1}function as(b,S,R,N,W){var Dt,ni,rt=1+7*(S-1)+(7+R-N)%7+go(b,N,W);return rt<=0?ni=Io(Dt=b-1)+rt:rt>Io(b)?(Dt=b+1,ni=rt-Io(b)):(Dt=b,ni=rt),{year:Dt,dayOfYear:ni}}function yr(b,S,R){var oe,be,N=go(b.year(),S,R),W=Math.floor((b.dayOfYear()-N-1)/7)+1;return W<1?oe=W+mo(be=b.year()-1,S,R):W>mo(b.year(),S,R)?(oe=W-mo(b.year(),S,R),be=b.year()+1):(be=b.year(),oe=W),{week:oe,year:be}}function mo(b,S,R){var N=go(b,S,R),W=go(b+1,S,R);return(Io(b)-N+W)/7}Je("w",["ww",2],"wo","week"),Je("W",["WW",2],"Wo","isoWeek"),nt("week","w"),nt("isoWeek","W"),se("week",5),se("isoWeek",5),Ne("w",vt),Ne("ww",vt,ht),Ne("W",vt),Ne("WW",vt,ht),Qi(["w","ww","W","WW"],function(b,S,R,N){S[N.substr(0,1)]=Te(b)});function Ht(b,S){return b.slice(S,7).concat(b.slice(0,S))}Je("d",0,"do","day"),Je("dd",0,0,function(b){return this.localeData().weekdaysMin(this,b)}),Je("ddd",0,0,function(b){return this.localeData().weekdaysShort(this,b)}),Je("dddd",0,0,function(b){return this.localeData().weekdays(this,b)}),Je("e",0,0,"weekday"),Je("E",0,0,"isoWeekday"),nt("day","d"),nt("weekday","e"),nt("isoWeekday","E"),se("day",11),se("weekday",11),se("isoWeekday",11),Ne("d",vt),Ne("e",vt),Ne("E",vt),Ne("dd",function(b,S){return S.weekdaysMinRegex(b)}),Ne("ddd",function(b,S){return S.weekdaysShortRegex(b)}),Ne("dddd",function(b,S){return S.weekdaysRegex(b)}),Qi(["dd","ddd","dddd"],function(b,S,R,N){var W=R._locale.weekdaysParse(b,N,R._strict);null!=W?S.d=W:ee(R).invalidWeekday=b}),Qi(["d","e","E"],function(b,S,R,N){S[N]=Te(b)});var Sn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ge="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),tl=$r,on=$r,Qr=$r;function $d(b,S,R){var N,W,oe,be=b.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],N=0;N<7;++N)oe=Q([2e3,1]).day(N),this._minWeekdaysParse[N]=this.weekdaysMin(oe,"").toLocaleLowerCase(),this._shortWeekdaysParse[N]=this.weekdaysShort(oe,"").toLocaleLowerCase(),this._weekdaysParse[N]=this.weekdays(oe,"").toLocaleLowerCase();return R?"dddd"===S?-1!==(W=ti.call(this._weekdaysParse,be))?W:null:"ddd"===S?-1!==(W=ti.call(this._shortWeekdaysParse,be))?W:null:-1!==(W=ti.call(this._minWeekdaysParse,be))?W:null:"dddd"===S?-1!==(W=ti.call(this._weekdaysParse,be))||-1!==(W=ti.call(this._shortWeekdaysParse,be))||-1!==(W=ti.call(this._minWeekdaysParse,be))?W:null:"ddd"===S?-1!==(W=ti.call(this._shortWeekdaysParse,be))||-1!==(W=ti.call(this._weekdaysParse,be))||-1!==(W=ti.call(this._minWeekdaysParse,be))?W:null:-1!==(W=ti.call(this._minWeekdaysParse,be))||-1!==(W=ti.call(this._weekdaysParse,be))||-1!==(W=ti.call(this._shortWeekdaysParse,be))?W:null}function Jr(){function b(Ni,Zo){return Zo.length-Ni.length}var oe,be,rt,Dt,ni,S=[],R=[],N=[],W=[];for(oe=0;oe<7;oe++)be=Q([2e3,1]).day(oe),rt=Qe(this.weekdaysMin(be,"")),Dt=Qe(this.weekdaysShort(be,"")),ni=Qe(this.weekdays(be,"")),S.push(rt),R.push(Dt),N.push(ni),W.push(rt),W.push(Dt),W.push(ni);S.sort(b),R.sort(b),N.sort(b),W.sort(b),this._weekdaysRegex=new RegExp("^("+W.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+N.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+R.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+S.join("|")+")","i")}function li(){return this.hours()%12||12}function Wa(b,S){Je(b,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),S)})}function ea(b,S){return S._meridiemParse}Je("H",["HH",2],0,"hour"),Je("h",["hh",2],0,li),Je("k",["kk",2],0,function bs(){return this.hours()||24}),Je("hmm",0,0,function(){return""+li.apply(this)+vi(this.minutes(),2)}),Je("hmmss",0,0,function(){return""+li.apply(this)+vi(this.minutes(),2)+vi(this.seconds(),2)}),Je("Hmm",0,0,function(){return""+this.hours()+vi(this.minutes(),2)}),Je("Hmmss",0,0,function(){return""+this.hours()+vi(this.minutes(),2)+vi(this.seconds(),2)}),Wa("a",!0),Wa("A",!1),nt("hour","h"),se("hour",13),Ne("a",ea),Ne("A",ea),Ne("H",vt),Ne("h",vt),Ne("k",vt),Ne("HH",vt,ht),Ne("hh",vt,ht),Ne("kk",vt,ht),Ne("hmm",gs),Ne("hmmss",ss),Ne("Hmm",gs),Ne("Hmmss",ss),wt(["H","HH"],3),wt(["k","kk"],function(b,S,R){var N=Te(b);S[3]=24===N?0:N}),wt(["a","A"],function(b,S,R){R._isPm=R._locale.isPM(b),R._meridiem=b}),wt(["h","hh"],function(b,S,R){S[3]=Te(b),ee(R).bigHour=!0}),wt("hmm",function(b,S,R){var N=b.length-2;S[3]=Te(b.substr(0,N)),S[4]=Te(b.substr(N)),ee(R).bigHour=!0}),wt("hmmss",function(b,S,R){var N=b.length-4,W=b.length-2;S[3]=Te(b.substr(0,N)),S[4]=Te(b.substr(N,2)),S[5]=Te(b.substr(W)),ee(R).bigHour=!0}),wt("Hmm",function(b,S,R){var N=b.length-2;S[3]=Te(b.substr(0,N)),S[4]=Te(b.substr(N))}),wt("Hmmss",function(b,S,R){var N=b.length-4,W=b.length-2;S[3]=Te(b.substr(0,N)),S[4]=Te(b.substr(N,2)),S[5]=Te(b.substr(W))});var Gs=We("Hours",!0);var _o,Ar={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ls,monthsShort:fi,week:{dow:0,doy:6},weekdays:Sn,weekdaysMin:xe,weekdaysShort:Ge,meridiemParse:/[ap]\.?m?\.?/i},Ci={},wr={};function il(b,S){var R,N=Math.min(b.length,S.length);for(R=0;R0;){if(W=P(oe.slice(0,R).join("-")))return W;if(N&&N.length>=R&&il(oe,N)>=R-1)break;R--}S++}return _o}(b)}function Ce(b){var S,R=b._a;return R&&-2===ee(b).overflow&&(S=R[1]<0||R[1]>11?1:R[2]<1||R[2]>hi(R[0],R[1])?2:R[3]<0||R[3]>24||24===R[3]&&(0!==R[4]||0!==R[5]||0!==R[6])?3:R[4]<0||R[4]>59?4:R[5]<0||R[5]>59?5:R[6]<0||R[6]>999?6:-1,ee(b)._overflowDayOfYear&&(S<0||S>2)&&(S=2),ee(b)._overflowWeeks&&-1===S&&(S=7),ee(b)._overflowWeekday&&-1===S&&(S=8),ee(b).overflow=S),b}var Ze=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ii=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,qt=/Z|[+-]\d\d(?::?\d\d)?/,kt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Yt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],en=/^\/?Date\((-?\d+)/i,Si=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Li={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bo(b){var S,R,oe,be,rt,Dt,N=b._i,W=Ze.exec(N)||ii.exec(N),ni=kt.length,Ni=Yt.length;if(W){for(ee(b).iso=!0,S=0,R=ni;S7)&&(Dt=!0)):(oe=b._locale._week.dow,be=b._locale._week.doy,ni=yr(wi(),oe,be),R=Mr(S.gg,b._a[0],ni.year),N=Mr(S.w,ni.week),null!=S.d?((W=S.d)<0||W>6)&&(Dt=!0):null!=S.e?(W=S.e+oe,(S.e<0||S.e>6)&&(Dt=!0)):W=oe),N<1||N>mo(R,oe,be)?ee(b)._overflowWeeks=!0:null!=Dt?ee(b)._overflowWeekday=!0:(rt=as(R,N,W,oe,be),b._a[0]=rt.year,b._dayOfYear=rt.dayOfYear)}(b),null!=b._dayOfYear&&(be=Mr(b._a[0],W[0]),(b._dayOfYear>Io(be)||0===b._dayOfYear)&&(ee(b)._overflowDayOfYear=!0),R=No(be,0,b._dayOfYear),b._a[1]=R.getUTCMonth(),b._a[2]=R.getUTCDate()),S=0;S<3&&null==b._a[S];++S)b._a[S]=N[S]=W[S];for(;S<7;S++)b._a[S]=N[S]=null==b._a[S]?2===S?1:0:b._a[S];24===b._a[3]&&0===b._a[4]&&0===b._a[5]&&0===b._a[6]&&(b._nextDay=!0,b._a[3]=0),b._d=(b._useUTC?No:Ua).apply(null,N),oe=b._useUTC?b._d.getUTCDay():b._d.getDay(),null!=b._tzm&&b._d.setUTCMinutes(b._d.getUTCMinutes()-b._tzm),b._nextDay&&(b._a[3]=24),b._w&&void 0!==b._w.d&&b._w.d!==oe&&(ee(b).weekdayMismatch=!0)}}function $a(b){if(b._f!==t.ISO_8601)if(b._f!==t.RFC_2822){b._a=[],ee(b).empty=!0;var R,N,W,oe,be,ni,Ni,S=""+b._i,rt=S.length,Dt=0;for(Ni=(W=di(b._f,b._locale).match(ot)||[]).length,R=0;R0&&ee(b).unusedInput.push(be),S=S.slice(S.indexOf(N)+N.length),Dt+=N.length),yi[oe]?(N?ee(b).empty=!1:ee(b).unusedTokens.push(oe),Ya(oe,N,b)):b._strict&&!N&&ee(b).unusedTokens.push(oe);ee(b).charsLeftOver=rt-Dt,S.length>0&&ee(b).unusedInput.push(S),b._a[3]<=12&&!0===ee(b).bigHour&&b._a[3]>0&&(ee(b).bigHour=void 0),ee(b).parsedDateParts=b._a.slice(0),ee(b).meridiem=b._meridiem,b._a[3]=function Gi(b,S,R){var N;return null==R?S:null!=b.meridiemHour?b.meridiemHour(S,R):(null!=b.isPM&&((N=b.isPM(R))&&S<12&&(S+=12),!N&&12===S&&(S=0)),S)}(b._locale,b._a[3],b._meridiem),null!==(ni=ee(b).era)&&(b._a[0]=b._locale.erasConvertYear(ni,b._a[0])),Ee(b),Ce(b)}else Za(b);else bo(b)}function cs(b){var S=b._i,R=b._f;return b._locale=b._locale||ie(b._l),null===S||void 0===R&&""===S?He({nullInput:!0}):("string"==typeof S&&(b._i=S=b._locale.preparse(S)),Xe(S)?new Lt(Ce(S)):(F(S)?b._d=S:w(R)?function Jd(b){var S,R,N,W,oe,be,rt=!1,Dt=b._f.length;if(0===Dt)return ee(b).invalidFormat=!0,void(b._d=new Date(NaN));for(W=0;Wthis?this:b:He()});function Ei(b,S){var R,N;if(1===S.length&&w(S[0])&&(S=S[0]),!S.length)return wi();for(R=S[0],N=1;N=0?new Date(b+400,S,R)-oc:new Date(b,S,R).valueOf()}function ra(b,S,R){return b<100&&b>=0?Date.UTC(b+400,S,R)-oc:Date.UTC(b,S,R)}function bl(b,S){return S.erasAbbrRegex(b)}function yl(){var W,oe,b=[],S=[],R=[],N=[],be=this.eras();for(W=0,oe=be.length;W(oe=mo(b,N,W))&&(S=oe),Sp.call(this,b,S,R,N,W))}function Sp(b,S,R,N,W){var oe=as(b,S,R,N,W),be=No(oe.year,0,oe.dayOfYear);return this.year(be.getUTCFullYear()),this.month(be.getUTCMonth()),this.date(be.getUTCDate()),this}Je("N",0,0,"eraAbbr"),Je("NN",0,0,"eraAbbr"),Je("NNN",0,0,"eraAbbr"),Je("NNNN",0,0,"eraName"),Je("NNNNN",0,0,"eraNarrow"),Je("y",["y",1],"yo","eraYear"),Je("y",["yy",2],0,"eraYear"),Je("y",["yyy",3],0,"eraYear"),Je("y",["yyyy",4],0,"eraYear"),Ne("N",bl),Ne("NN",bl),Ne("NNN",bl),Ne("NNNN",function vp(b,S){return S.erasNameRegex(b)}),Ne("NNNNN",function R1(b,S){return S.erasNarrowRegex(b)}),wt(["N","NN","NNN","NNNN","NNNNN"],function(b,S,R,N){var W=R._locale.erasParse(b,N,R._strict);W?ee(R).era=W:ee(R).invalidEra=b}),Ne("y",ho),Ne("yy",ho),Ne("yyy",ho),Ne("yyyy",ho),Ne("yo",function O1(b,S){return S._eraYearOrdinalRegex||ho}),wt(["y","yy","yyy","yyyy"],0),wt(["yo"],function(b,S,R,N){var W;R._locale._eraYearOrdinalRegex&&(W=b.match(R._locale._eraYearOrdinalRegex)),S[0]=R._locale.eraYearOrdinalParse?R._locale.eraYearOrdinalParse(b,W):parseInt(b,10)}),Je(0,["gg",2],0,function(){return this.weekYear()%100}),Je(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Jn("gggg","weekYear"),Jn("ggggg","weekYear"),Jn("GGGG","isoWeekYear"),Jn("GGGGG","isoWeekYear"),nt("weekYear","gg"),nt("isoWeekYear","GG"),se("weekYear",1),se("isoWeekYear",1),Ne("G",fo),Ne("g",fo),Ne("GG",vt,ht),Ne("gg",vt,ht),Ne("GGGG",Qc,$n),Ne("gggg",Qc,$n),Ne("GGGGG",Oo,Kt),Ne("ggggg",Oo,Kt),Qi(["gggg","ggggg","GGGG","GGGGG"],function(b,S,R,N){S[N.substr(0,2)]=Te(b)}),Qi(["gg","GG"],function(b,S,R,N){S[N]=t.parseTwoDigitYear(b)}),Je("Q",0,"Qo","quarter"),nt("quarter","Q"),se("quarter",7),Ne("Q",Ui),wt("Q",function(b,S){S[1]=3*(Te(b)-1)}),Je("D",["DD",2],"Do","date"),nt("date","D"),se("date",9),Ne("D",vt),Ne("DD",vt,ht),Ne("Do",function(b,S){return b?S._dayOfMonthOrdinalParse||S._ordinalParse:S._dayOfMonthOrdinalParseLenient}),wt(["D","DD"],2),wt("Do",function(b,S){S[2]=Te(b.match(vt)[0])});var ws=We("Date",!0);Je("DDD",["DDDD",3],"DDDo","dayOfYear"),nt("dayOfYear","DDD"),se("dayOfYear",4),Ne("DDD",Xn),Ne("DDDD",Ke),wt(["DDD","DDDD"],function(b,S,R){R._dayOfYear=Te(b)}),Je("m",["mm",2],0,"minute"),nt("minute","m"),se("minute",14),Ne("m",vt),Ne("mm",vt,ht),wt(["m","mm"],4);var Vo=We("Minutes",!1);Je("s",["ss",2],0,"second"),nt("second","s"),se("second",15),Ne("s",vt),Ne("ss",vt,ht),wt(["s","ss"],5);var Ms,Hu,fa=We("Seconds",!1);for(Je("S",0,0,function(){return~~(this.millisecond()/100)}),Je(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Je(0,["SSS",3],0,"millisecond"),Je(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Je(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Je(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Je(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Je(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Je(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),nt("millisecond","ms"),se("millisecond",16),Ne("S",Xn,Ui),Ne("SS",Xn,ht),Ne("SSS",Xn,Ke),Ms="SSSS";Ms.length<=9;Ms+="S")Ne(Ms,ho);function Ep(b,S){S[6]=Te(1e3*("0."+b))}for(Ms="S";Ms.length<=9;Ms+="S")wt(Ms,Ep);Hu=We("Milliseconds",!1),Je("z",0,0,"zoneAbbr"),Je("zz",0,0,"zoneName");var Pe=Lt.prototype;function Or(b){return b}Pe.add=sh,Pe.calendar=function oh(b,S){1===arguments.length&&(arguments[0]?Er(arguments[0])?(b=arguments[0],S=void 0):Ks(arguments[0])&&(S=arguments[0],b=void 0):(b=void 0,S=void 0));var R=b||wi(),N=ys(R,this).startOf("day"),W=t.calendarFormat(this,N)||"sameElse",oe=S&&(ge(S[W])?S[W].call(this,R):S[W]);return this.format(oe||this.localeData().calendar(W,this,wi(R)))},Pe.clone=function bp(){return new Lt(this)},Pe.diff=function Lu(b,S,R){var N,W,oe;if(!this.isValid())return NaN;if(!(N=ys(b,this)).isValid())return NaN;switch(W=6e4*(N.utcOffset()-this.utcOffset()),S=Qt(S)){case"year":oe=kr(this,N)/12;break;case"month":oe=kr(this,N);break;case"quarter":oe=kr(this,N)/3;break;case"second":oe=(this-N)/1e3;break;case"minute":oe=(this-N)/6e4;break;case"hour":oe=(this-N)/36e5;break;case"day":oe=(this-N-W)/864e5;break;case"week":oe=(this-N-W)/6048e5;break;default:oe=this-N}return R?oe:Fe(oe)},Pe.endOf=function gl(b){var S,R;if(void 0===(b=Qt(b))||"millisecond"===b||!this.isValid())return this;switch(R=this._isUTC?ra:pl,b){case"year":S=R(this.year()+1,0,1)-1;break;case"quarter":S=R(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":S=R(this.year(),this.month()+1,1)-1;break;case"week":S=R(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":S=R(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":S=R(this.year(),this.month(),this.date()+1)-1;break;case"hour":S=this._d.valueOf(),S+=xr-oa(S+(this._isUTC?0:this.utcOffset()*$s),xr)-1;break;case"minute":S=this._d.valueOf(),S+=$s-oa(S,$s)-1;break;case"second":S=this._d.valueOf(),S+=1e3-oa(S,1e3)-1}return this._d.setTime(S),t.updateOffset(this,!0),this},Pe.format=function Ru(b){b||(b=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var S=un(this,b);return this.localeData().postformat(S)},Pe.from=function hl(b,S){return this.isValid()&&(Xe(b)&&b.isValid()||wi(b).isValid())?Os({to:this,from:b}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Pe.fromNow=function L1(b){return this.from(wi(),b)},Pe.to=function sc(b,S){return this.isValid()&&(Xe(b)&&b.isValid()||wi(b).isValid())?Os({from:this,to:b}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Pe.toNow=function na(b){return this.to(wi(),b)},Pe.get=function Nt(b){return ge(this[b=Qt(b)])?this[b]():this},Pe.invalidAt=function lh(){return ee(this).overflow},Pe.isAfter=function As(b,S){var R=Xe(b)?b:wi(b);return!(!this.isValid()||!R.isValid())&&("millisecond"===(S=Qt(S)||"millisecond")?this.valueOf()>R.valueOf():R.valueOf()9999?un(R,S?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ge(Date.prototype.toISOString)?S?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",un(R,"Z")):un(R,S?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Pe.inspect=function Zs(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var R,N,b="moment",S="";return this.isLocal()||(b=0===this.utcOffset()?"moment.utc":"moment.parseZone",S="Z"),R="["+b+'("]',N=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(R+N+"-MM-DD[T]HH:mm:ss.SSS"+S+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Pe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Pe.toJSON=function ch(){return this.isValid()?this.toISOString():null},Pe.toString=function Go(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Pe.unix=function ah(){return Math.floor(this.valueOf()/1e3)},Pe.valueOf=function wp(){return this._d.valueOf()-6e4*(this._offset||0)},Pe.creationData=function wo(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Pe.eraName=function la(){var b,S,R,N=this.localeData().eras();for(b=0,S=N.length;bthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Pe.isLocal=function Ri(){return!!this.isValid()&&!this._isUTC},Pe.isUtcOffset=function tc(){return!!this.isValid()&&this._isUTC},Pe.isUtc=ku,Pe.isUTC=ku,Pe.zoneAbbr=function P1(){return this._isUTC?"UTC":""},Pe.zoneName=function z1(){return this._isUTC?"Coordinated Universal Time":""},Pe.dates=Mt("dates accessor is deprecated. Use date instead.",ws),Pe.months=Mt("months accessor is deprecated. Use month instead",zo),Pe.years=Mt("years accessor is deprecated. Use year instead",Fn),Pe.zone=Mt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Eu(b,S){return null!=b?("string"!=typeof b&&(b=-b),this.utcOffset(b,S),this):-this.utcOffset()}),Pe.isDSTShifted=Mt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Yo(){if(!I(this._isDSTShifted))return this._isDSTShifted;var S,b={};return yt(b,this),(b=cs(b))._a?(S=b._isUTC?Q(b._a):wi(b._a),this._isDSTShifted=this.isValid()&&function jo(b,S,R){var be,N=Math.min(b.length,S.length),W=Math.abs(b.length-S.length),oe=0;for(be=0;be0):this._isDSTShifted=!1,this._isDSTShifted});var Jt=Re.prototype;function Wo(b,S,R,N){var W=ie(),oe=Q().set(N,S);return W[R](oe,b)}function uh(b,S,R){if(B(b)&&(S=b,b=void 0),b=b||"",null!=S)return Wo(b,S,R,"month");var N,W=[];for(N=0;N<12;N++)W[N]=Wo(b,N,R,"month");return W}function Bu(b,S,R,N){"boolean"==typeof b?(B(S)&&(R=S,S=void 0),S=S||""):(R=S=b,b=!1,B(S)&&(R=S,S=void 0),S=S||"");var be,W=ie(),oe=b?W._week.dow:0,rt=[];if(null!=R)return Wo(S,(R+oe)%7,N,"day");for(be=0;be<7;be++)rt[be]=Wo(S,(be+oe)%7,N,"day");return rt}Jt.calendar=function Et(b,S,R){var N=this._calendar[b]||this._calendar.sameElse;return ge(N)?N.call(S,R):N},Jt.longDateFormat=function dn(b){var S=this._longDateFormat[b],R=this._longDateFormat[b.toUpperCase()];return S||!R?S:(this._longDateFormat[b]=R.match(ot).map(function(N){return"MMMM"===N||"MM"===N||"DD"===N||"dddd"===N?N.slice(1):N}).join(""),this._longDateFormat[b])},Jt.invalidDate=function uo(){return this._invalidDate},Jt.ordinal=function le(b){return this._ordinal.replace("%d",b)},Jt.preparse=Or,Jt.postformat=Or,Jt.relativeTime=function pe(b,S,R,N){var W=this._relativeTime[R];return ge(W)?W(b,S,R,N):W.replace(/%d/i,b)},Jt.pastFuture=function Ue(b,S){var R=this._relativeTime[b>0?"future":"past"];return ge(R)?R(S):R.replace(/%s/i,S)},Jt.set=function Ae(b){var S,R;for(R in b)E(b,R)&&(ge(S=b[R])?this[R]=S:this["_"+R]=S);this._config=b,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Jt.eras=function Pu(b,S){var R,N,W,oe=this._eras||ie("en")._eras;for(R=0,N=oe.length;R=0)return oe[N]},Jt.erasConvertYear=function ca(b,S){var R=b.since<=b.until?1:-1;return void 0===S?t(b.since).year():t(b.since).year()+(S-b.offset)*R},Jt.erasAbbrRegex=function Rr(b){return E(this,"_erasAbbrRegex")||yl.call(this),b?this._erasAbbrRegex:this._erasRegex},Jt.erasNameRegex=function _l(b){return E(this,"_erasNameRegex")||yl.call(this),b?this._erasNameRegex:this._erasRegex},Jt.erasNarrowRegex=function Bi(b){return E(this,"_erasNarrowRegex")||yl.call(this),b?this._erasNarrowRegex:this._erasRegex},Jt.months=function _r(b,S){return b?w(this._months)?this._months[b.month()]:this._months[(this._months.isFormat||po).test(S)?"format":"standalone"][b.month()]:w(this._months)?this._months:this._months.standalone},Jt.monthsShort=function Po(b,S){return b?w(this._monthsShort)?this._monthsShort[b.month()]:this._monthsShort[po.test(S)?"format":"standalone"][b.month()]:w(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Jt.monthsParse=function br(b,S,R){var N,W,oe;if(this._monthsParseExact)return Jc.call(this,b,S,R);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),N=0;N<12;N++){if(W=Q([2e3,N]),R&&!this._longMonthsParse[N]&&(this._longMonthsParse[N]=new RegExp("^"+this.months(W,"").replace(".","")+"$","i"),this._shortMonthsParse[N]=new RegExp("^"+this.monthsShort(W,"").replace(".","")+"$","i")),!R&&!this._monthsParse[N]&&(oe="^"+this.months(W,"")+"|^"+this.monthsShort(W,""),this._monthsParse[N]=new RegExp(oe.replace(".",""),"i")),R&&"MMMM"===S&&this._longMonthsParse[N].test(b))return N;if(R&&"MMM"===S&&this._shortMonthsParse[N].test(b))return N;if(!R&&this._monthsParse[N].test(b))return N}},Jt.monthsRegex=function pi(b){return this._monthsParseExact?(E(this,"_monthsRegex")||el.call(this),b?this._monthsStrictRegex:this._monthsRegex):(E(this,"_monthsRegex")||(this._monthsRegex=Tt),this._monthsStrictRegex&&b?this._monthsStrictRegex:this._monthsRegex)},Jt.monthsShortRegex=function os(b){return this._monthsParseExact?(E(this,"_monthsRegex")||el.call(this),b?this._monthsShortStrictRegex:this._monthsShortRegex):(E(this,"_monthsShortRegex")||(this._monthsShortRegex=zi),this._monthsShortStrictRegex&&b?this._monthsShortStrictRegex:this._monthsShortRegex)},Jt.week=function cp(b){return yr(b,this._week.dow,this._week.doy).week},Jt.firstDayOfYear=function up(){return this._week.doy},Jt.firstDayOfWeek=function lp(){return this._week.dow},Jt.weekdays=function Ji(b,S){var R=w(this._weekdays)?this._weekdays:this._weekdays[b&&!0!==b&&this._weekdays.isFormat.test(S)?"format":"standalone"];return!0===b?Ht(R,this._week.dow):b?R[b.day()]:R},Jt.weekdaysMin=function Ho(b){return!0===b?Ht(this._weekdaysMin,this._week.dow):b?this._weekdaysMin[b.day()]:this._weekdaysMin},Jt.weekdaysShort=function Va(b){return!0===b?Ht(this._weekdaysShort,this._week.dow):b?this._weekdaysShort[b.day()]:this._weekdaysShort},Jt.weekdaysParse=function Bo(b,S,R){var N,W,oe;if(this._weekdaysParseExact)return $d.call(this,b,S,R);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),N=0;N<7;N++){if(W=Q([2e3,1]).day(N),R&&!this._fullWeekdaysParse[N]&&(this._fullWeekdaysParse[N]=new RegExp("^"+this.weekdays(W,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[N]=new RegExp("^"+this.weekdaysShort(W,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[N]=new RegExp("^"+this.weekdaysMin(W,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[N]||(oe="^"+this.weekdays(W,"")+"|^"+this.weekdaysShort(W,"")+"|^"+this.weekdaysMin(W,""),this._weekdaysParse[N]=new RegExp(oe.replace(".",""),"i")),R&&"dddd"===S&&this._fullWeekdaysParse[N].test(b))return N;if(R&&"ddd"===S&&this._shortWeekdaysParse[N].test(b))return N;if(R&&"dd"===S&&this._minWeekdaysParse[N].test(b))return N;if(!R&&this._weekdaysParse[N].test(b))return N}},Jt.weekdaysRegex=function ct(b){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Jr.call(this),b?this._weekdaysStrictRegex:this._weekdaysRegex):(E(this,"_weekdaysRegex")||(this._weekdaysRegex=tl),this._weekdaysStrictRegex&&b?this._weekdaysStrictRegex:this._weekdaysRegex)},Jt.weekdaysShortRegex=function Ii(b){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Jr.call(this),b?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(E(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=on),this._weekdaysShortStrictRegex&&b?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Jt.weekdaysMinRegex=function Zt(b){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Jr.call(this),b?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(E(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qr),this._weekdaysMinStrictRegex&&b?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Jt.isPM=function vu(b){return"p"===(b+"").toLowerCase().charAt(0)},Jt.meridiem=function Xd(b,S,R){return b>11?R?"pm":"PM":R?"am":"AM"},U("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(b){var S=b%10;return b+(1===Te(b%100/10)?"th":1===S?"st":2===S?"nd":3===S?"rd":"th")}}),t.lang=Mt("moment.lang is deprecated. Use moment.locale instead.",U),t.langData=Mt("moment.langData is deprecated. Use moment.localeData instead.",ie);var En=Math.abs;function pa(b,S,R,N){var W=Os(S,R);return b._milliseconds+=N*W._milliseconds,b._days+=N*W._days,b._months+=N*W._months,b._bubble()}function hh(b){return b<0?Math.floor(b):Math.ceil(b)}function fh(b){return 4800*b/146097}function Ml(b){return 146097*b/4800}function Xs(b){return function(){return this.as(b)}}var Lp=Xs("ms"),gn=Xs("s"),ph=Xs("m"),Rp=Xs("h"),vl=Xs("d"),Tl=Xs("w"),gh=Xs("M"),mh=Xs("Q"),_h=Xs("y");function Ko(b){return function(){return this.isValid()?this._data[b]:NaN}}var _a=Ko("milliseconds"),Op=Ko("seconds"),ju=Ko("minutes"),Yu=Ko("hours"),ba=Ko("days"),bh=Ko("months"),Pp=Ko("years");var kn=Math.round,Ps={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ip(b,S,R,N,W){return W.relativeTime(S||1,!!R,b,N)}var Uu=Math.abs;function ya(b){return(b>0)-(b<0)||+b}function Mi(){if(!this.isValid())return this.localeData().invalidDate();var N,W,oe,be,Dt,ni,Ni,Zo,b=Uu(this._milliseconds)/1e3,S=Uu(this._days),R=Uu(this._months),rt=this.asSeconds();return rt?(N=Fe(b/60),W=Fe(N/60),b%=60,N%=60,oe=Fe(R/12),R%=12,be=b?b.toFixed(3).replace(/\.?0+$/,""):"",Dt=rt<0?"-":"",ni=ya(this._months)!==ya(rt)?"-":"",Ni=ya(this._days)!==ya(rt)?"-":"",Zo=ya(this._milliseconds)!==ya(rt)?"-":"",Dt+"P"+(oe?ni+oe+"Y":"")+(R?ni+R+"M":"")+(S?Ni+S+"D":"")+(W||N||b?"T":"")+(W?Zo+W+"H":"")+(N?Zo+N+"M":"")+(b?Zo+be+"S":"")):"P0D"}var Ut=Qa.prototype;return Ut.isValid=function Cu(){return this._isValid},Ut.abs=function I1(){var b=this._data;return this._milliseconds=En(this._milliseconds),this._days=En(this._days),this._months=En(this._months),b.milliseconds=En(b.milliseconds),b.seconds=En(b.seconds),b.minutes=En(b.minutes),b.hours=En(b.hours),b.months=En(b.months),b.years=En(b.years),this},Ut.add=function qu(b,S){return pa(this,b,S,1)},Ut.subtract=function wl(b,S){return pa(this,b,S,-1)},Ut.as=function xp(b){if(!this.isValid())return NaN;var S,R,N=this._milliseconds;if("month"===(b=Qt(b))||"quarter"===b||"year"===b)switch(S=this._days+N/864e5,R=this._months+fh(S),b){case"month":return R;case"quarter":return R/3;case"year":return R/12}else switch(S=this._days+Math.round(Ml(this._months)),b){case"week":return S/7+N/6048e5;case"day":return S+N/864e5;case"hour":return 24*S+N/36e5;case"minute":return 1440*S+N/6e4;case"second":return 86400*S+N/1e3;case"millisecond":return Math.floor(864e5*S)+N;default:throw new Error("Unknown unit "+b)}},Ut.asMilliseconds=Lp,Ut.asSeconds=gn,Ut.asMinutes=ph,Ut.asHours=Rp,Ut.asDays=vl,Ut.asWeeks=Tl,Ut.asMonths=gh,Ut.asQuarters=mh,Ut.asYears=_h,Ut.valueOf=function ga(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Te(this._months/12):NaN},Ut._bubble=function Dp(){var W,oe,be,rt,Dt,b=this._milliseconds,S=this._days,R=this._months,N=this._data;return b>=0&&S>=0&&R>=0||b<=0&&S<=0&&R<=0||(b+=864e5*hh(Ml(R)+S),S=0,R=0),N.milliseconds=b%1e3,W=Fe(b/1e3),N.seconds=W%60,oe=Fe(W/60),N.minutes=oe%60,be=Fe(oe/60),N.hours=be%24,S+=Fe(be/24),R+=Dt=Fe(fh(S)),S-=hh(Ml(Dt)),rt=Fe(R/12),R%=12,N.days=S,N.months=R,N.years=rt,this},Ut.clone=function ma(){return Os(this)},Ut.get=function Pr(b){return b=Qt(b),this.isValid()?this[b+"s"]():NaN},Ut.milliseconds=_a,Ut.seconds=Op,Ut.minutes=ju,Ut.hours=Yu,Ut.days=ba,Ut.weeks=function zp(){return Fe(this.days()/7)},Ut.months=bh,Ut.years=Pp,Ut.humanize=function Hp(b,S){if(!this.isValid())return this.localeData().invalidDate();var W,oe,R=!1,N=Ps;return"object"==typeof b&&(S=b,b=!1),"boolean"==typeof b&&(R=b),"object"==typeof S&&(N=Object.assign({},Ps,S),null!=S.s&&null==S.ss&&(N.ss=S.s-1)),oe=function N1(b,S,R,N){var W=Os(b).abs(),oe=kn(W.as("s")),be=kn(W.as("m")),rt=kn(W.as("h")),Dt=kn(W.as("d")),ni=kn(W.as("M")),Ni=kn(W.as("w")),Zo=kn(W.as("y")),es=oe<=R.ss&&["s",oe]||oe0,es[4]=N,Ip.apply(null,es)}(this,!R,N,W=this.localeData()),R&&(oe=W.pastFuture(+this,oe)),W.postformat(oe)},Ut.toISOString=Mi,Ut.toString=Mi,Ut.toJSON=Mi,Ut.locale=fl,Ut.localeData=Dr,Ut.toIsoString=Mt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Mi),Ut.lang=Ou,Je("X",0,0,"unix"),Je("x",0,0,"valueOf"),Ne("x",fo),Ne("X",/[+-]?\d+(\.\d{1,3})?/),wt("X",function(b,S,R){R._d=new Date(1e3*parseFloat(b))}),wt("x",function(b,S,R){R._d=new Date(Te(b))}),t.version="2.29.2",function T(b){_=b}(wi),t.fn=Pe,t.min=function yo(){return Ei("isBefore",[].slice.call(arguments,0))},t.max=function th(){return Ei("isAfter",[].slice.call(arguments,0))},t.now=function(){return Date.now?Date.now():+new Date},t.utc=Q,t.unix=function us(b){return wi(1e3*b)},t.months=function Al(b,S){return uh(b,S,"months")},t.isDate=F,t.locale=U,t.invalid=He,t.duration=Os,t.isMoment=Xe,t.weekdays=function uc(b,S,R){return Bu(b,S,R,"weekdays")},t.parseZone=function lc(){return wi.apply(null,arguments).parseZone()},t.localeData=ie,t.isDuration=Tr,t.monthsShort=function kp(b,S){return uh(b,S,"monthsShort")},t.weekdaysMin=function Fu(b,S,R){return Bu(b,S,R,"weekdaysMin")},t.defineLocale=z,t.updateLocale=function V(b,S){if(null!=S){var R,N,W=Ar;null!=Ci[b]&&null!=Ci[b].parentLocale?Ci[b].set(me(Ci[b]._config,S)):(null!=(N=P(b))&&(W=N._config),S=me(W,S),null==N&&(S.abbr=b),(R=new Re(S)).parentLocale=Ci[b],Ci[b]=R),U(b)}else null!=Ci[b]&&(null!=Ci[b].parentLocale?(Ci[b]=Ci[b].parentLocale,b===U()&&U(b)):null!=Ci[b]&&delete Ci[b]);return Ci[b]},t.locales=function _e(){return fe(Ci)},t.weekdaysShort=function dh(b,S,R){return Bu(b,S,R,"weekdaysShort")},t.normalizeUnits=Qt,t.relativeTimeRounding=function yh(b){return void 0===b?kn:"function"==typeof b&&(kn=b,!0)},t.relativeTimeThreshold=function Np(b,S){return void 0!==Ps[b]&&(void 0===S?Ps[b]:(Ps[b]=S,"s"===b&&(Ps.ss=S-1),!0))},t.calendarFormat=function ll(b,S){var R=b.diff(S,"days",!0);return R<-6?"sameElse":R<-1?"lastWeek":R<0?"lastDay":R<1?"sameDay":R<2?"nextDay":R<7?"nextWeek":"sameElse"},t.prototype=Pe,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t}()},1869:(q,Y,M)=>{"use strict";M.d(Y,{d:()=>t});var _=M(3489);class t extends _.L{constructor(w,v,E){super(),this.parent=w,this.outerValue=v,this.outerIndex=E,this.index=0}_next(w){this.parent.notifyNext(this.outerValue,w,this.outerIndex,this.index++,this)}_error(w){this.parent.notifyError(w,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},9312:(q,Y,M)=>{"use strict";M.d(Y,{P:()=>v});var _=M(8896),t=M(1086),T=M(1737);class v{constructor(L,I,B){this.kind=L,this.value=I,this.error=B,this.hasValue="N"===L}observe(L){switch(this.kind){case"N":return L.next&&L.next(this.value);case"E":return L.error&&L.error(this.error);case"C":return L.complete&&L.complete()}}do(L,I,B){switch(this.kind){case"N":return L&&L(this.value);case"E":return I&&I(this.error);case"C":return B&&B()}}accept(L,I,B){return L&&"function"==typeof L.next?this.observe(L):this.do(L,I,B)}toObservable(){switch(this.kind){case"N":return(0,t.of)(this.value);case"E":return(0,T._)(this.error);case"C":return(0,_.c)()}throw new Error("unexpected notification kind value")}static createNext(L){return void 0!==L?new v("N",L):v.undefinedValueNotification}static createError(L){return new v("E",void 0,L)}static createComplete(){return v.completeNotification}}v.completeNotification=new v("C"),v.undefinedValueNotification=new v("N",void 0)},2916:(q,Y,M)=>{"use strict";M.d(Y,{y:()=>G});var _=M(3489),T=M(7668),w=M(3292),E=M(3821),L=M(5379);var F=M(2830);let G=(()=>{class Q{constructor(ee){this._isScalar=!1,ee&&(this._subscribe=ee)}lift(ee){const ce=new Q;return ce.source=this,ce.operator=ee,ce}subscribe(ee,ce,he){const{operator:He}=this,Be=function v(Q,ae,ee){if(Q){if(Q instanceof _.L)return Q;if(Q[T.b])return Q[T.b]()}return Q||ae||ee?new _.L(Q,ae,ee):new _.L(w.c)}(ee,ce,he);if(Be.add(He?He.call(Be,this.source):this.source||F.v.useDeprecatedSynchronousErrorHandling&&!Be.syncErrorThrowable?this._subscribe(Be):this._trySubscribe(Be)),F.v.useDeprecatedSynchronousErrorHandling&&Be.syncErrorThrowable&&(Be.syncErrorThrowable=!1,Be.syncErrorThrown))throw Be.syncErrorValue;return Be}_trySubscribe(ee){try{return this._subscribe(ee)}catch(ce){F.v.useDeprecatedSynchronousErrorHandling&&(ee.syncErrorThrown=!0,ee.syncErrorValue=ce),function t(Q){for(;Q;){const{closed:ae,destination:ee,isStopped:ce}=Q;if(ae||ce)return!1;Q=ee&&ee instanceof _.L?ee:null}return!0}(ee)?ee.error(ce):console.warn(ce)}}forEach(ee,ce){return new(ce=X(ce))((he,He)=>{let Be;Be=this.subscribe($e=>{try{ee($e)}catch(yt){He(yt),Be&&Be.unsubscribe()}},He,he)})}_subscribe(ee){const{source:ce}=this;return ce&&ce.subscribe(ee)}[E.L](){return this}pipe(...ee){return 0===ee.length?this:function B(Q){return 0===Q.length?L.y:1===Q.length?Q[0]:function(ee){return Q.reduce((ce,he)=>he(ce),ee)}}(ee)(this)}toPromise(ee){return new(ee=X(ee))((ce,he)=>{let He;this.subscribe(Be=>He=Be,Be=>he(Be),()=>ce(He))})}}return Q.create=ae=>new Q(ae),Q})();function X(Q){if(Q||(Q=F.v.Promise||Promise),!Q)throw new Error("no Promise impl found");return Q}},3292:(q,Y,M)=>{"use strict";M.d(Y,{c:()=>T});var _=M(2830),t=M(2782);const T={closed:!0,next(w){},error(w){if(_.v.useDeprecatedSynchronousErrorHandling)throw w;(0,t.z)(w)},complete(){}}},826:(q,Y,M)=>{"use strict";M.d(Y,{L:()=>t});var _=M(3489);class t extends _.L{notifyNext(w,v,E,L,I){this.destination.next(v)}notifyError(w,v){this.destination.error(w)}notifyComplete(w){this.destination.complete()}}},8929:(q,Y,M)=>{"use strict";M.d(Y,{Yc:()=>L,xQ:()=>I});var _=M(2916),t=M(3489),T=M(2654),w=M(5279),v=M(5283),E=M(7668);class L extends t.L{constructor(G){super(G),this.destination=G}}let I=(()=>{class F extends _.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[E.b](){return new L(this)}lift(X){const Q=new B(this,this);return Q.operator=X,Q}next(X){if(this.closed)throw new w.N;if(!this.isStopped){const{observers:Q}=this,ae=Q.length,ee=Q.slice();for(let ce=0;cenew B(G,X),F})();class B extends I{constructor(G,X){super(),this.destination=G,this.source=X}next(G){const{destination:X}=this;X&&X.next&&X.next(G)}error(G){const{destination:X}=this;X&&X.error&&this.destination.error(G)}complete(){const{destination:G}=this;G&&G.complete&&this.destination.complete()}_subscribe(G){const{source:X}=this;return X?this.source.subscribe(G):T.w.EMPTY}}},5283:(q,Y,M)=>{"use strict";M.d(Y,{W:()=>t});var _=M(2654);class t extends _.w{constructor(w,v){super(),this.subject=w,this.subscriber=v,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const w=this.subject,v=w.observers;if(this.subject=null,!v||0===v.length||w.isStopped||w.closed)return;const E=v.indexOf(this.subscriber);-1!==E&&v.splice(E,1)}}},3489:(q,Y,M)=>{"use strict";M.d(Y,{L:()=>L});var _=M(7043),t=M(3292),T=M(2654),w=M(7668),v=M(2830),E=M(2782);class L extends T.w{constructor(F,G,X){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=t.c;break;case 1:if(!F){this.destination=t.c;break}if("object"==typeof F){F instanceof L?(this.syncErrorThrowable=F.syncErrorThrowable,this.destination=F,F.add(this)):(this.syncErrorThrowable=!0,this.destination=new I(this,F));break}default:this.syncErrorThrowable=!0,this.destination=new I(this,F,G,X)}}[w.b](){return this}static create(F,G,X){const Q=new L(F,G,X);return Q.syncErrorThrowable=!1,Q}next(F){this.isStopped||this._next(F)}error(F){this.isStopped||(this.isStopped=!0,this._error(F))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(F){this.destination.next(F)}_error(F){this.destination.error(F),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:F}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=F,this}}class I extends L{constructor(F,G,X,Q){super(),this._parentSubscriber=F;let ae,ee=this;(0,_.m)(G)?ae=G:G&&(ae=G.next,X=G.error,Q=G.complete,G!==t.c&&(ee=Object.create(G),(0,_.m)(ee.unsubscribe)&&this.add(ee.unsubscribe.bind(ee)),ee.unsubscribe=this.unsubscribe.bind(this))),this._context=ee,this._next=ae,this._error=X,this._complete=Q}next(F){if(!this.isStopped&&this._next){const{_parentSubscriber:G}=this;v.v.useDeprecatedSynchronousErrorHandling&&G.syncErrorThrowable?this.__tryOrSetError(G,this._next,F)&&this.unsubscribe():this.__tryOrUnsub(this._next,F)}}error(F){if(!this.isStopped){const{_parentSubscriber:G}=this,{useDeprecatedSynchronousErrorHandling:X}=v.v;if(this._error)X&&G.syncErrorThrowable?(this.__tryOrSetError(G,this._error,F),this.unsubscribe()):(this.__tryOrUnsub(this._error,F),this.unsubscribe());else if(G.syncErrorThrowable)X?(G.syncErrorValue=F,G.syncErrorThrown=!0):(0,E.z)(F),this.unsubscribe();else{if(this.unsubscribe(),X)throw F;(0,E.z)(F)}}}complete(){if(!this.isStopped){const{_parentSubscriber:F}=this;if(this._complete){const G=()=>this._complete.call(this._context);v.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?(this.__tryOrSetError(F,G),this.unsubscribe()):(this.__tryOrUnsub(G),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(F,G){try{F.call(this._context,G)}catch(X){if(this.unsubscribe(),v.v.useDeprecatedSynchronousErrorHandling)throw X;(0,E.z)(X)}}__tryOrSetError(F,G,X){if(!v.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{G.call(this._context,X)}catch(Q){return v.v.useDeprecatedSynchronousErrorHandling?(F.syncErrorValue=Q,F.syncErrorThrown=!0,!0):((0,E.z)(Q),!0)}return!1}_unsubscribe(){const{_parentSubscriber:F}=this;this._context=null,this._parentSubscriber=null,F.unsubscribe()}}},2654:(q,Y,M)=>{"use strict";M.d(Y,{w:()=>E});var _=M(6688),t=M(7830),T=M(7043);const v=(()=>{function I(B){return Error.call(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((F,G)=>`${G+1}) ${F.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=B,this}return I.prototype=Object.create(Error.prototype),I})();class E{constructor(B){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,B&&(this._unsubscribe=B)}unsubscribe(){let B;if(this.closed)return;let{_parentOrParents:F,_unsubscribe:G,_subscriptions:X}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,F instanceof E)F.remove(this);else if(null!==F)for(let Q=0;QB.concat(F instanceof v?F.errors:F),[])}E.EMPTY=((I=new E).closed=!0,I)},2830:(q,Y,M)=>{"use strict";M.d(Y,{v:()=>t});let _=!1;const t={Promise:void 0,set useDeprecatedSynchronousErrorHandling(T){if(T){const w=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+w.stack)}else _&&console.log("RxJS: Back to a better error behavior. Thank you. <3");_=T},get useDeprecatedSynchronousErrorHandling(){return _}}},1762:(q,Y,M)=>{"use strict";M.d(Y,{c:()=>v,N:()=>E});var _=M(8929),t=M(2916),T=M(2654),w=M(4327);class v extends t.y{constructor(G,X){super(),this.source=G,this.subjectFactory=X,this._refCount=0,this._isComplete=!1}_subscribe(G){return this.getSubject().subscribe(G)}getSubject(){const G=this._subject;return(!G||G.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let G=this._connection;return G||(this._isComplete=!1,G=this._connection=new T.w,G.add(this.source.subscribe(new L(this.getSubject(),this))),G.closed&&(this._connection=null,G=T.w.EMPTY)),G}refCount(){return(0,w.x)()(this)}}const E=(()=>{const F=v.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:F._subscribe},_isComplete:{value:F._isComplete,writable:!0},getSubject:{value:F.getSubject},connect:{value:F.connect},refCount:{value:F.refCount}}})();class L extends _.Yc{constructor(G,X){super(G),this.connectable=X}_error(G){this._unsubscribe(),super._error(G)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const G=this.connectable;if(G){this.connectable=null;const X=G._connection;G._refCount=0,G._subject=null,G._connection=null,X&&X.unsubscribe()}}}},6053:(q,Y,M)=>{"use strict";M.d(Y,{aj:()=>L});var _=M(2866),t=M(6688),T=M(826),w=M(9054),v=M(3009);const E={};function L(...F){let G=null,X=null;return(0,_.K)(F[F.length-1])&&(X=F.pop()),"function"==typeof F[F.length-1]&&(G=F.pop()),1===F.length&&(0,t.k)(F[0])&&(F=F[0]),(0,v.n)(F,X).lift(new I(G))}class I{constructor(G){this.resultSelector=G}call(G,X){return X.subscribe(new B(G,this.resultSelector))}}class B extends T.L{constructor(G,X){super(G),this.resultSelector=X,this.active=0,this.values=[],this.observables=[]}_next(G){this.values.push(E),this.observables.push(G)}_complete(){const G=this.observables,X=G.length;if(0===X)this.destination.complete();else{this.active=X,this.toRespond=X;for(let Q=0;Q{"use strict";M.d(Y,{E:()=>t,c:()=>T});var _=M(2916);const t=new _.y(v=>v.complete());function T(v){return v?function w(v){return new _.y(E=>v.schedule(()=>E.complete()))}(v):t}},5254:(q,Y,M)=>{"use strict";M.d(Y,{D:()=>ee});var _=M(2916),t=M(9249),T=M(2654),w=M(3821),L=M(6454),I=M(5430),G=M(8955),X=M(8515);function ee(ce,he){return he?function ae(ce,he){if(null!=ce){if(function F(ce){return ce&&"function"==typeof ce[w.L]}(ce))return function v(ce,he){return new _.y(He=>{const Be=new T.w;return Be.add(he.schedule(()=>{const $e=ce[w.L]();Be.add($e.subscribe({next(yt){Be.add(he.schedule(()=>He.next(yt)))},error(yt){Be.add(he.schedule(()=>He.error(yt)))},complete(){Be.add(he.schedule(()=>He.complete()))}}))})),Be})}(ce,he);if((0,G.t)(ce))return function E(ce,he){return new _.y(He=>{const Be=new T.w;return Be.add(he.schedule(()=>ce.then($e=>{Be.add(he.schedule(()=>{He.next($e),Be.add(he.schedule(()=>He.complete()))}))},$e=>{Be.add(he.schedule(()=>He.error($e)))}))),Be})}(ce,he);if((0,X.z)(ce))return(0,L.r)(ce,he);if(function Q(ce){return ce&&"function"==typeof ce[I.hZ]}(ce)||"string"==typeof ce)return function B(ce,he){if(!ce)throw new Error("Iterable cannot be null");return new _.y(He=>{const Be=new T.w;let $e;return Be.add(()=>{$e&&"function"==typeof $e.return&&$e.return()}),Be.add(he.schedule(()=>{$e=ce[I.hZ](),Be.add(he.schedule(function(){if(He.closed)return;let yt,Lt;try{const Xe=$e.next();yt=Xe.value,Lt=Xe.done}catch(Xe){return void He.error(Xe)}Lt?He.complete():(He.next(yt),this.schedule())}))})),Be})}(ce,he)}throw new TypeError((null!==ce&&typeof ce||ce)+" is not observable")}(ce,he):ce instanceof _.y?ce:new _.y((0,t.s)(ce))}},3009:(q,Y,M)=>{"use strict";M.d(Y,{n:()=>w});var _=M(2916),t=M(3650),T=M(6454);function w(v,E){return E?(0,T.r)(v,E):new _.y((0,t.V)(v))}},6787:(q,Y,M)=>{"use strict";M.d(Y,{T:()=>v});var _=M(2916),t=M(2866),T=M(9146),w=M(3009);function v(...E){let L=Number.POSITIVE_INFINITY,I=null,B=E[E.length-1];return(0,t.K)(B)?(I=E.pop(),E.length>1&&"number"==typeof E[E.length-1]&&(L=E.pop())):"number"==typeof B&&(L=E.pop()),null===I&&1===E.length&&E[0]instanceof _.y?E[0]:(0,T.J)(L)((0,w.n)(E,I))}},1086:(q,Y,M)=>{"use strict";M.d(Y,{of:()=>w});var _=M(2866),t=M(3009),T=M(6454);function w(...v){let E=v[v.length-1];return(0,_.K)(E)?(v.pop(),(0,T.r)(v,E)):(0,t.n)(v)}},1946:(q,Y,M)=>{"use strict";M.d(Y,{S3:()=>v});var _=M(6688),t=M(3009),T=M(826),w=M(9054);function v(...I){if(1===I.length){if(!(0,_.k)(I[0]))return I[0];I=I[0]}return(0,t.n)(I,void 0).lift(new E)}class E{call(B,F){return F.subscribe(new L(B))}}class L extends T.L{constructor(B){super(B),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(B){this.observables.push(B)}_complete(){const B=this.observables,F=B.length;if(0===F)this.destination.complete();else{for(let G=0;G{"use strict";M.d(Y,{_:()=>t});var _=M(2916);function t(w,v){return new _.y(v?E=>v.schedule(T,0,{error:w,subscriber:E}):E=>E.error(w))}function T({error:w,subscriber:v}){v.error(w)}},7221:(q,Y,M)=>{"use strict";M.d(Y,{K:()=>w});var _=M(826),t=M(1869),T=M(9054);function w(L){return function(B){const F=new v(L),G=B.lift(F);return F.caught=G}}class v{constructor(I){this.selector=I}call(I,B){return B.subscribe(new E(I,this.selector,this.caught))}}class E extends _.L{constructor(I,B,F){super(I),this.selector=B,this.caught=F}error(I){if(!this.isStopped){let B;try{B=this.selector(I,this.caught)}catch(X){return void super.error(X)}this._unsubscribeAndRecycle();const F=new t.d(this,void 0,void 0);this.add(F);const G=(0,T.D)(this,B,void 0,void 0,F);G!==F&&this.add(G)}}}},1406:(q,Y,M)=>{"use strict";M.d(Y,{b:()=>t});var _=M(1709);function t(T,w){return(0,_.zg)(T,w,1)}},13:(q,Y,M)=>{"use strict";M.d(Y,{b:()=>T});var _=M(3489),t=M(353);function T(L,I=t.P){return B=>B.lift(new w(L,I))}class w{constructor(I,B){this.dueTime=I,this.scheduler=B}call(I,B){return B.subscribe(new v(I,this.dueTime,this.scheduler))}}class v extends _.L{constructor(I,B,F){super(I),this.dueTime=B,this.scheduler=F,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(I){this.clearDebounce(),this.lastValue=I,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(E,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:I}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(I)}}clearDebounce(){const I=this.debouncedSubscription;null!==I&&(this.remove(I),I.unsubscribe(),this.debouncedSubscription=null)}}function E(L){L.debouncedNext()}},7314:(q,Y,M)=>{"use strict";M.d(Y,{d:()=>t});var _=M(3489);function t(v=null){return E=>E.lift(new T(v))}class T{constructor(E){this.defaultValue=E}call(E,L){return L.subscribe(new w(E,this.defaultValue))}}class w extends _.L{constructor(E,L){super(E),this.defaultValue=L,this.isEmpty=!0}_next(E){this.isEmpty=!1,this.destination.next(E)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(q,Y,M)=>{"use strict";M.d(Y,{g:()=>v});var _=M(353),t=M(2697),T=M(3489),w=M(9312);function v(B,F=_.P){const X=(0,t.J)(B)?+B-F.now():Math.abs(B);return Q=>Q.lift(new E(X,F))}class E{constructor(F,G){this.delay=F,this.scheduler=G}call(F,G){return G.subscribe(new L(F,this.delay,this.scheduler))}}class L extends T.L{constructor(F,G,X){super(F),this.delay=G,this.scheduler=X,this.queue=[],this.active=!1,this.errored=!1}static dispatch(F){const G=F.source,X=G.queue,Q=F.scheduler,ae=F.destination;for(;X.length>0&&X[0].time-Q.now()<=0;)X.shift().notification.observe(ae);if(X.length>0){const ee=Math.max(0,X[0].time-Q.now());this.schedule(F,ee)}else this.unsubscribe(),G.active=!1}_schedule(F){this.active=!0,this.destination.add(F.schedule(L.dispatch,this.delay,{source:this,destination:this.destination,scheduler:F}))}scheduleNotification(F){if(!0===this.errored)return;const G=this.scheduler,X=new I(G.now()+this.delay,F);this.queue.push(X),!1===this.active&&this._schedule(G)}_next(F){this.scheduleNotification(w.P.createNext(F))}_error(F){this.errored=!0,this.queue=[],this.destination.error(F),this.unsubscribe()}_complete(){this.scheduleNotification(w.P.createComplete()),this.unsubscribe()}}class I{constructor(F,G){this.time=F,this.notification=G}}},2198:(q,Y,M)=>{"use strict";M.d(Y,{h:()=>t});var _=M(3489);function t(v,E){return function(I){return I.lift(new T(v,E))}}class T{constructor(E,L){this.predicate=E,this.thisArg=L}call(E,L){return L.subscribe(new w(E,this.predicate,this.thisArg))}}class w extends _.L{constructor(E,L,I){super(E),this.predicate=L,this.thisArg=I,this.count=0}_next(E){let L;try{L=this.predicate.call(this.thisArg,E,this.count++)}catch(I){return void this.destination.error(I)}L&&this.destination.next(E)}}},7224:(q,Y,M)=>{"use strict";M.d(Y,{P:()=>L});var _=M(4450),t=M(2198),T=M(2986),w=M(7314),v=M(4907),E=M(5379);function L(I,B){const F=arguments.length>=2;return G=>G.pipe(I?(0,t.h)((X,Q)=>I(X,Q,G)):E.y,(0,T.q)(1),F?(0,w.d)(B):(0,v.T)(()=>new _.K))}},4850:(q,Y,M)=>{"use strict";M.d(Y,{U:()=>t});var _=M(3489);function t(v,E){return function(I){if("function"!=typeof v)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return I.lift(new T(v,E))}}class T{constructor(E,L){this.project=E,this.thisArg=L}call(E,L){return L.subscribe(new w(E,this.project,this.thisArg))}}class w extends _.L{constructor(E,L,I){super(E),this.project=L,this.count=0,this.thisArg=I||this}_next(E){let L;try{L=this.project.call(this.thisArg,E,this.count++)}catch(I){return void this.destination.error(I)}this.destination.next(L)}}},9146:(q,Y,M)=>{"use strict";M.d(Y,{J:()=>T});var _=M(1709),t=M(5379);function T(w=Number.POSITIVE_INFINITY){return(0,_.zg)(t.y,w)}},1709:(q,Y,M)=>{"use strict";M.d(Y,{zg:()=>E});var _=M(9054),t=M(826),T=M(1869),w=M(4850),v=M(5254);function E(B,F,G=Number.POSITIVE_INFINITY){return"function"==typeof F?X=>X.pipe(E((Q,ae)=>(0,v.D)(B(Q,ae)).pipe((0,w.U)((ee,ce)=>F(Q,ee,ae,ce))),G)):("number"==typeof F&&(G=F),X=>X.lift(new L(B,G)))}class L{constructor(F,G=Number.POSITIVE_INFINITY){this.project=F,this.concurrent=G}call(F,G){return G.subscribe(new I(F,this.project,this.concurrent))}}class I extends t.L{constructor(F,G,X=Number.POSITIVE_INFINITY){super(F),this.project=G,this.concurrent=X,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(F){this.active0?this._next(G.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(q,Y,M)=>{"use strict";M.d(Y,{x:()=>t});var _=M(3489);function t(){return function(E){return E.lift(new T(E))}}class T{constructor(E){this.connectable=E}call(E,L){const{connectable:I}=this;I._refCount++;const B=new w(E,I),F=L.subscribe(B);return B.closed||(B.connection=I.connect()),F}}class w extends _.L{constructor(E,L){super(E),this.connectable=L}_unsubscribe(){const{connectable:E}=this;if(!E)return void(this.connection=null);this.connectable=null;const L=E._refCount;if(L<=0)return void(this.connection=null);if(E._refCount=L-1,L>1)return void(this.connection=null);const{connection:I}=this,B=E._connection;this.connection=null,B&&(!I||B===I)&&B.unsubscribe()}}},2474:(q,Y,M)=>{"use strict";M.d(Y,{B:()=>L});var _=M(1762);class T{constructor(B,F){this.subjectFactory=B,this.selector=F}call(B,F){const{selector:G}=this,X=this.subjectFactory(),Q=G(X).subscribe(B);return Q.add(F.subscribe(X)),Q}}var w=M(4327),v=M(8929);function E(){return new v.xQ}function L(){return I=>(0,w.x)()(function t(I,B){return function(G){let X;if(X="function"==typeof I?I:function(){return I},"function"==typeof B)return G.lift(new T(X,B));const Q=Object.create(G,_.N);return Q.source=G,Q.subjectFactory=X,Q}}(E)(I))}},7545:(q,Y,M)=>{"use strict";M.d(Y,{w:()=>E});var _=M(826),t=M(1869),T=M(9054),w=M(4850),v=M(5254);function E(B,F){return"function"==typeof F?G=>G.pipe(E((X,Q)=>(0,v.D)(B(X,Q)).pipe((0,w.U)((ae,ee)=>F(X,ae,Q,ee))))):G=>G.lift(new L(B))}class L{constructor(F){this.project=F}call(F,G){return G.subscribe(new I(F,this.project))}}class I extends _.L{constructor(F,G){super(F),this.project=G,this.index=0}_next(F){let G;const X=this.index++;try{G=this.project(F,X)}catch(Q){return void this.destination.error(Q)}this._innerSub(G,F,X)}_innerSub(F,G,X){const Q=this.innerSubscription;Q&&Q.unsubscribe();const ae=new t.d(this,G,X),ee=this.destination;ee.add(ae),this.innerSubscription=(0,T.D)(this,F,void 0,void 0,ae),this.innerSubscription!==ae&&ee.add(this.innerSubscription)}_complete(){const{innerSubscription:F}=this;(!F||F.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(F){this.destination.remove(F),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(F,G,X,Q,ae){this.destination.next(G)}}},2986:(q,Y,M)=>{"use strict";M.d(Y,{q:()=>w});var _=M(3489),t=M(4231),T=M(8896);function w(L){return I=>0===L?(0,T.c)():I.lift(new v(L))}class v{constructor(I){if(this.total=I,this.total<0)throw new t.W}call(I,B){return B.subscribe(new E(I,this.total))}}class E extends _.L{constructor(I,B){super(I),this.total=B,this.count=0}_next(I){const B=this.total,F=++this.count;F<=B&&(this.destination.next(I),F===B&&(this.destination.complete(),this.unsubscribe()))}}},2868:(q,Y,M)=>{"use strict";M.d(Y,{b:()=>w});var _=M(3489);function t(){}var T=M(7043);function w(L,I,B){return function(G){return G.lift(new v(L,I,B))}}class v{constructor(I,B,F){this.nextOrObserver=I,this.error=B,this.complete=F}call(I,B){return B.subscribe(new E(I,this.nextOrObserver,this.error,this.complete))}}class E extends _.L{constructor(I,B,F,G){super(I),this._tapNext=t,this._tapError=t,this._tapComplete=t,this._tapError=F||t,this._tapComplete=G||t,(0,T.m)(B)?(this._context=this,this._tapNext=B):B&&(this._context=B,this._tapNext=B.next||t,this._tapError=B.error||t,this._tapComplete=B.complete||t)}_next(I){try{this._tapNext.call(this._context,I)}catch(B){return void this.destination.error(B)}this.destination.next(I)}_error(I){try{this._tapError.call(this._context,I)}catch(B){return void this.destination.error(B)}this.destination.error(I)}_complete(){try{this._tapComplete.call(this._context)}catch(I){return void this.destination.error(I)}return this.destination.complete()}}},4907:(q,Y,M)=>{"use strict";M.d(Y,{T:()=>T});var _=M(4450),t=M(3489);function T(L=E){return I=>I.lift(new w(L))}class w{constructor(I){this.errorFactory=I}call(I,B){return B.subscribe(new v(I,this.errorFactory))}}class v extends t.L{constructor(I,B){super(I),this.errorFactory=B,this.hasValue=!1}_next(I){this.hasValue=!0,this.destination.next(I)}_complete(){if(this.hasValue)return this.destination.complete();{let I;try{I=this.errorFactory()}catch(B){I=B}this.destination.error(I)}}}function E(){return new _.K}},6227:(q,Y,M)=>{"use strict";M.d(Y,{V:()=>G});var _=M(353);const T=(()=>{function X(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return X.prototype=Object.create(Error.prototype),X})();var w=M(2697),v=M(826),E=M(9054);class I{constructor(Q,ae,ee,ce){this.waitFor=Q,this.absoluteTimeout=ae,this.withObservable=ee,this.scheduler=ce}call(Q,ae){return ae.subscribe(new B(Q,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class B extends v.L{constructor(Q,ae,ee,ce,he){super(Q),this.absoluteTimeout=ae,this.waitFor=ee,this.withObservable=ce,this.scheduler=he,this.action=null,this.scheduleTimeout()}static dispatchTimeout(Q){const{withObservable:ae}=Q;Q._unsubscribeAndRecycle(),Q.add((0,E.D)(Q,ae))}scheduleTimeout(){const{action:Q}=this;Q?this.action=Q.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(B.dispatchTimeout,this.waitFor,this))}_next(Q){this.absoluteTimeout||this.scheduleTimeout(),super._next(Q)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var F=M(1737);function G(X,Q=_.P){return function L(X,Q,ae=_.P){return ee=>{let ce=(0,w.J)(X),he=ce?+X-ae.now():Math.abs(X);return ee.lift(new I(he,ce,Q,ae))}}(X,(0,F._)(new T),Q)}},6454:(q,Y,M)=>{"use strict";M.d(Y,{r:()=>T});var _=M(2916),t=M(2654);function T(w,v){return new _.y(E=>{const L=new t.w;let I=0;return L.add(v.schedule(function(){I!==w.length?(E.next(w[I++]),E.closed||L.add(this.schedule())):E.complete()})),L})}},6686:(q,Y,M)=>{"use strict";M.d(Y,{o:()=>T});var _=M(2654);class t extends _.w{constructor(v,E){super()}schedule(v,E=0){return this}}class T extends t{constructor(v,E){super(v,E),this.scheduler=v,this.work=E,this.pending=!1}schedule(v,E=0){if(this.closed)return this;this.state=v;const L=this.id,I=this.scheduler;return null!=L&&(this.id=this.recycleAsyncId(I,L,E)),this.pending=!0,this.delay=E,this.id=this.id||this.requestAsyncId(I,this.id,E),this}requestAsyncId(v,E,L=0){return setInterval(v.flush.bind(v,this),L)}recycleAsyncId(v,E,L=0){if(null!==L&&this.delay===L&&!1===this.pending)return E;clearInterval(E)}execute(v,E){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const L=this._execute(v,E);if(L)return L;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(v,E){let I,L=!1;try{this.work(v)}catch(B){L=!0,I=!!B&&B||new Error(B)}if(L)return this.unsubscribe(),I}_unsubscribe(){const v=this.id,E=this.scheduler,L=E.actions,I=L.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==I&&L.splice(I,1),null!=v&&(this.id=this.recycleAsyncId(E,v,null)),this.delay=null}}},2268:(q,Y,M)=>{"use strict";M.d(Y,{v:()=>t});let _=(()=>{class T{constructor(v,E=T.now){this.SchedulerAction=v,this.now=E}schedule(v,E=0,L){return new this.SchedulerAction(this,v).schedule(L,E)}}return T.now=()=>Date.now(),T})();class t extends _{constructor(w,v=_.now){super(w,()=>t.delegate&&t.delegate!==this?t.delegate.now():v()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(w,v=0,E){return t.delegate&&t.delegate!==this?t.delegate.schedule(w,v,E):super.schedule(w,v,E)}flush(w){const{actions:v}=this;if(this.active)return void v.push(w);let E;this.active=!0;do{if(E=w.execute(w.state,w.delay))break}while(w=v.shift());if(this.active=!1,E){for(;w=v.shift();)w.unsubscribe();throw E}}}},353:(q,Y,M)=>{"use strict";M.d(Y,{P:()=>T});var _=M(6686);const T=new(M(2268).v)(_.o)},5430:(q,Y,M)=>{"use strict";M.d(Y,{hZ:()=>t});const t=function _(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(q,Y,M)=>{"use strict";M.d(Y,{L:()=>_});const _="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(q,Y,M)=>{"use strict";M.d(Y,{b:()=>_});const _="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(q,Y,M)=>{"use strict";M.d(Y,{W:()=>t});const t=(()=>{function T(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return T.prototype=Object.create(Error.prototype),T})()},4450:(q,Y,M)=>{"use strict";M.d(Y,{K:()=>t});const t=(()=>{function T(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return T.prototype=Object.create(Error.prototype),T})()},5279:(q,Y,M)=>{"use strict";M.d(Y,{N:()=>t});const t=(()=>{function T(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return T.prototype=Object.create(Error.prototype),T})()},2782:(q,Y,M)=>{"use strict";function _(t){setTimeout(()=>{throw t},0)}M.d(Y,{z:()=>_})},5379:(q,Y,M)=>{"use strict";function _(t){return t}M.d(Y,{y:()=>_})},6688:(q,Y,M)=>{"use strict";M.d(Y,{k:()=>_});const _=Array.isArray||(t=>t&&"number"==typeof t.length)},8515:(q,Y,M)=>{"use strict";M.d(Y,{z:()=>_});const _=t=>t&&"number"==typeof t.length&&"function"!=typeof t},2697:(q,Y,M)=>{"use strict";function _(t){return t instanceof Date&&!isNaN(+t)}M.d(Y,{J:()=>_})},7043:(q,Y,M)=>{"use strict";function _(t){return"function"==typeof t}M.d(Y,{m:()=>_})},7830:(q,Y,M)=>{"use strict";function _(t){return null!==t&&"object"==typeof t}M.d(Y,{K:()=>_})},8955:(q,Y,M)=>{"use strict";function _(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}M.d(Y,{t:()=>_})},2866:(q,Y,M)=>{"use strict";function _(t){return t&&"function"==typeof t.schedule}M.d(Y,{K:()=>_})},9249:(q,Y,M)=>{"use strict";M.d(Y,{s:()=>G});var _=M(3650),t=M(2782),w=M(5430),E=M(3821),I=M(8515),B=M(8955),F=M(7830);const G=X=>{if(X&&"function"==typeof X[E.L])return(X=>Q=>{const ae=X[E.L]();if("function"!=typeof ae.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return ae.subscribe(Q)})(X);if((0,I.z)(X))return(0,_.V)(X);if((0,B.t)(X))return(X=>Q=>(X.then(ae=>{Q.closed||(Q.next(ae),Q.complete())},ae=>Q.error(ae)).then(null,t.z),Q))(X);if(X&&"function"==typeof X[w.hZ])return(X=>Q=>{const ae=X[w.hZ]();for(;;){const ee=ae.next();if(ee.done){Q.complete();break}if(Q.next(ee.value),Q.closed)break}return"function"==typeof ae.return&&Q.add(()=>{ae.return&&ae.return()}),Q})(X);{const ae=`You provided ${(0,F.K)(X)?"an invalid object":`'${X}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(ae)}}},3650:(q,Y,M)=>{"use strict";M.d(Y,{V:()=>_});const _=t=>T=>{for(let w=0,v=t.length;w{"use strict";M.d(Y,{D:()=>w});var _=M(1869),t=M(9249),T=M(2916);function w(v,E,L,I,B=new _.d(v,L,I)){if(!B.closed)return E instanceof T.y?E.subscribe(B):(0,t.s)(E)(B)}},6700:(q,Y,M)=>{var _={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":3165,"./hy-am.js":3165,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":4486,"./th.js":4486,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function t(w){var v=T(w);return M(v)}function T(w){if(!M.o(_,w)){var v=new Error("Cannot find module '"+w+"'");throw v.code="MODULE_NOT_FOUND",v}return _[w]}t.keys=function(){return Object.keys(_)},t.resolve=T,q.exports=t,t.id=6700},655:(q,Y,M)=>{"use strict";function I(de,ge,Ae,me){return new(Ae||(Ae=Promise))(function(fe,At){function Et(gt){try{ot(me.next(gt))}catch(Nn){At(Nn)}}function vi(gt){try{ot(me.throw(gt))}catch(Nn){At(Nn)}}function ot(gt){gt.done?fe(gt.value):function Re(fe){return fe instanceof Ae?fe:new Ae(function(At){At(fe)})}(gt.value).then(Et,vi)}ot((me=me.apply(de,ge||[])).next())})}M.d(Y,{mG:()=>I})},9808:(q,Y,M)=>{"use strict";M.d(Y,{mr:()=>Be,Ov:()=>Rt,ez:()=>li,K0:()=>L,uU:()=>tl,Do:()=>yt,V_:()=>F,Ye:()=>Lt,S$:()=>he,mk:()=>Po,sg:()=>Mn,O5:()=>os,PC:()=>yr,RF:()=>Fn,n9:()=>rs,ED:()=>Ua,b0:()=>$e,lw:()=>I,gd:()=>Ge,EM:()=>wr,JF:()=>si,NF:()=>Ai,PM:()=>Gs,w_:()=>E,bD:()=>bs,q:()=>T,Mx:()=>_r,HT:()=>v});var _=M(5e3);let t=null;function T(){return t}function v(P){t||(t=P)}class E{}const L=new _.OlP("DocumentToken");let I=(()=>{class P{historyGo(z){throw new Error("Not implemented")}}return P.\u0275fac=function(z){return new(z||P)},P.\u0275prov=_.Yz7({token:P,factory:function(){return function B(){return(0,_.LFG)(G)}()},providedIn:"platform"}),P})();const F=new _.OlP("Location Initialized");let G=(()=>{class P extends I{constructor(z){super(),this._doc=z,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(z){const V=T().getGlobalEventTarget(this._doc,"window");return V.addEventListener("popstate",z,!1),()=>V.removeEventListener("popstate",z)}onHashChange(z){const V=T().getGlobalEventTarget(this._doc,"window");return V.addEventListener("hashchange",z,!1),()=>V.removeEventListener("hashchange",z)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(z){this.location.pathname=z}pushState(z,V,ie){X()?this._history.pushState(z,V,ie):this.location.hash=ie}replaceState(z,V,ie){X()?this._history.replaceState(z,V,ie):this.location.hash=ie}forward(){this._history.forward()}back(){this._history.back()}historyGo(z=0){this._history.go(z)}getState(){return this._history.state}}return P.\u0275fac=function(z){return new(z||P)(_.LFG(L))},P.\u0275prov=_.Yz7({token:P,factory:function(){return function Q(){return new G((0,_.LFG)(L))}()},providedIn:"platform"}),P})();function X(){return!!window.history.pushState}function ae(P,U){if(0==P.length)return U;if(0==U.length)return P;let z=0;return P.endsWith("/")&&z++,U.startsWith("/")&&z++,2==z?P+U.substring(1):1==z?P+U:P+"/"+U}function ee(P){const U=P.match(/#|\?|$/),z=U&&U.index||P.length;return P.slice(0,z-("/"===P[z-1]?1:0))+P.slice(z)}function ce(P){return P&&"?"!==P[0]?"?"+P:P}let he=(()=>{class P{historyGo(z){throw new Error("Not implemented")}}return P.\u0275fac=function(z){return new(z||P)},P.\u0275prov=_.Yz7({token:P,factory:function(){return function He(P){const U=(0,_.LFG)(L).location;return new $e((0,_.LFG)(I),U&&U.origin||"")}()},providedIn:"root"}),P})();const Be=new _.OlP("appBaseHref");let $e=(()=>{class P extends he{constructor(z,V){if(super(),this._platformLocation=z,this._removeListenerFns=[],null==V&&(V=this._platformLocation.getBaseHrefFromDOM()),null==V)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=V}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(z){this._removeListenerFns.push(this._platformLocation.onPopState(z),this._platformLocation.onHashChange(z))}getBaseHref(){return this._baseHref}prepareExternalUrl(z){return ae(this._baseHref,z)}path(z=!1){const V=this._platformLocation.pathname+ce(this._platformLocation.search),ie=this._platformLocation.hash;return ie&&z?`${V}${ie}`:V}pushState(z,V,ie,_e){const Ce=this.prepareExternalUrl(ie+ce(_e));this._platformLocation.pushState(z,V,Ce)}replaceState(z,V,ie,_e){const Ce=this.prepareExternalUrl(ie+ce(_e));this._platformLocation.replaceState(z,V,Ce)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(z=0){var V,ie;null===(ie=(V=this._platformLocation).historyGo)||void 0===ie||ie.call(V,z)}}return P.\u0275fac=function(z){return new(z||P)(_.LFG(I),_.LFG(Be,8))},P.\u0275prov=_.Yz7({token:P,factory:P.\u0275fac}),P})(),yt=(()=>{class P extends he{constructor(z,V){super(),this._platformLocation=z,this._baseHref="",this._removeListenerFns=[],null!=V&&(this._baseHref=V)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(z){this._removeListenerFns.push(this._platformLocation.onPopState(z),this._platformLocation.onHashChange(z))}getBaseHref(){return this._baseHref}path(z=!1){let V=this._platformLocation.hash;return null==V&&(V="#"),V.length>0?V.substring(1):V}prepareExternalUrl(z){const V=ae(this._baseHref,z);return V.length>0?"#"+V:V}pushState(z,V,ie,_e){let Ce=this.prepareExternalUrl(ie+ce(_e));0==Ce.length&&(Ce=this._platformLocation.pathname),this._platformLocation.pushState(z,V,Ce)}replaceState(z,V,ie,_e){let Ce=this.prepareExternalUrl(ie+ce(_e));0==Ce.length&&(Ce=this._platformLocation.pathname),this._platformLocation.replaceState(z,V,Ce)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(z=0){var V,ie;null===(ie=(V=this._platformLocation).historyGo)||void 0===ie||ie.call(V,z)}}return P.\u0275fac=function(z){return new(z||P)(_.LFG(I),_.LFG(Be,8))},P.\u0275prov=_.Yz7({token:P,factory:P.\u0275fac}),P})(),Lt=(()=>{class P{constructor(z,V){this._subject=new _.vpe,this._urlChangeListeners=[],this._platformStrategy=z;const ie=this._platformStrategy.getBaseHref();this._platformLocation=V,this._baseHref=ee(Mt(ie)),this._platformStrategy.onPopState(_e=>{this._subject.emit({url:this.path(!0),pop:!0,state:_e.state,type:_e.type})})}path(z=!1){return this.normalize(this._platformStrategy.path(z))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(z,V=""){return this.path()==this.normalize(z+ce(V))}normalize(z){return P.stripTrailingSlash(function Xi(P,U){return P&&U.startsWith(P)?U.substring(P.length):U}(this._baseHref,Mt(z)))}prepareExternalUrl(z){return z&&"/"!==z[0]&&(z="/"+z),this._platformStrategy.prepareExternalUrl(z)}go(z,V="",ie=null){this._platformStrategy.pushState(ie,"",z,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(z+ce(V)),ie)}replaceState(z,V="",ie=null){this._platformStrategy.replaceState(ie,"",z,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(z+ce(V)),ie)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(z=0){var V,ie;null===(ie=(V=this._platformStrategy).historyGo)||void 0===ie||ie.call(V,z)}onUrlChange(z){this._urlChangeListeners.push(z),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(V=>{this._notifyUrlChangeListeners(V.url,V.state)}))}_notifyUrlChangeListeners(z="",V){this._urlChangeListeners.forEach(ie=>ie(z,V))}subscribe(z,V,ie){return this._subject.subscribe({next:z,error:V,complete:ie})}}return P.normalizeQueryParams=ce,P.joinWithSlash=ae,P.stripTrailingSlash=ee,P.\u0275fac=function(z){return new(z||P)(_.LFG(he),_.LFG(I))},P.\u0275prov=_.Yz7({token:P,factory:function(){return function Xe(){return new Lt((0,_.LFG)(he),(0,_.LFG)(I))}()},providedIn:"root"}),P})();function Mt(P){return P.replace(/\/index.html$/,"")}var ge=(()=>((ge=ge||{})[ge.Zero=0]="Zero",ge[ge.One=1]="One",ge[ge.Two=2]="Two",ge[ge.Few=3]="Few",ge[ge.Many=4]="Many",ge[ge.Other=5]="Other",ge))(),Ae=(()=>((Ae=Ae||{})[Ae.Format=0]="Format",Ae[Ae.Standalone=1]="Standalone",Ae))(),me=(()=>((me=me||{})[me.Narrow=0]="Narrow",me[me.Abbreviated=1]="Abbreviated",me[me.Wide=2]="Wide",me[me.Short=3]="Short",me))(),Re=(()=>((Re=Re||{})[Re.Short=0]="Short",Re[Re.Medium=1]="Medium",Re[Re.Long=2]="Long",Re[Re.Full=3]="Full",Re))(),fe=(()=>((fe=fe||{})[fe.Decimal=0]="Decimal",fe[fe.Group=1]="Group",fe[fe.List=2]="List",fe[fe.PercentSign=3]="PercentSign",fe[fe.PlusSign=4]="PlusSign",fe[fe.MinusSign=5]="MinusSign",fe[fe.Exponential=6]="Exponential",fe[fe.SuperscriptingExponent=7]="SuperscriptingExponent",fe[fe.PerMille=8]="PerMille",fe[fe.Infinity=9]="Infinity",fe[fe.NaN=10]="NaN",fe[fe.TimeSeparator=11]="TimeSeparator",fe[fe.CurrencyDecimal=12]="CurrencyDecimal",fe[fe.CurrencyGroup=13]="CurrencyGroup",fe))();function ai(P,U){return Ve((0,_.cg1)(P)[_.wAp.DateFormat],U)}function ps(P,U){return Ve((0,_.cg1)(P)[_.wAp.TimeFormat],U)}function un(P,U){return Ve((0,_.cg1)(P)[_.wAp.DateTimeFormat],U)}function di(P,U){const z=(0,_.cg1)(P),V=z[_.wAp.NumberSymbols][U];if(void 0===V){if(U===fe.CurrencyDecimal)return z[_.wAp.NumberSymbols][fe.Decimal];if(U===fe.CurrencyGroup)return z[_.wAp.NumberSymbols][fe.Group]}return V}const Hn=_.kL8;function le(P){if(!P[_.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${P[_.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ve(P,U){for(let z=U;z>-1;z--)if(void 0!==P[z])return P[z];throw new Error("Locale data API: locale data undefined")}function nt(P){const[U,z]=P.split(":");return{hours:+U,minutes:+z}}const se=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Oe={},ke=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Fe=(()=>((Fe=Fe||{})[Fe.Short=0]="Short",Fe[Fe.ShortGMT=1]="ShortGMT",Fe[Fe.Long=2]="Long",Fe[Fe.Extended=3]="Extended",Fe))(),Te=(()=>((Te=Te||{})[Te.FullYear=0]="FullYear",Te[Te.Month=1]="Month",Te[Te.Date=2]="Date",Te[Te.Hours=3]="Hours",Te[Te.Minutes=4]="Minutes",Te[Te.Seconds=5]="Seconds",Te[Te.FractionalSeconds=6]="FractionalSeconds",Te[Te.Day=7]="Day",Te))(),We=(()=>((We=We||{})[We.DayPeriods=0]="DayPeriods",We[We.Days=1]="Days",We[We.Months=2]="Months",We[We.Eras=3]="Eras",We))();function Pt(P,U,z,V){let ie=function Ne(P){if(hn(P))return P;if("number"==typeof P&&!isNaN(P))return new Date(P);if("string"==typeof P){if(P=P.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(P)){const[ie,_e=1,Ce=1]=P.split("-").map(Ze=>+Ze);return Yi(ie,_e-1,Ce)}const z=parseFloat(P);if(!isNaN(P-z))return new Date(z);let V;if(V=P.match(se))return function Ti(P){const U=new Date(0);let z=0,V=0;const ie=P[8]?U.setUTCFullYear:U.setFullYear,_e=P[8]?U.setUTCHours:U.setHours;P[9]&&(z=Number(P[9]+P[10]),V=Number(P[9]+P[11])),ie.call(U,Number(P[1]),Number(P[2])-1,Number(P[3]));const Ce=Number(P[4]||0)-z,Ze=Number(P[5]||0)-V,ii=Number(P[6]||0),qt=Math.floor(1e3*parseFloat("0."+(P[7]||0)));return _e.call(U,Ce,Ze,ii,qt),U}(V)}const U=new Date(P);if(!hn(U))throw new Error(`Unable to convert "${P}" into a date`);return U}(P);U=Nt(z,U)||U;let Ze,Ce=[];for(;U;){if(Ze=ke.exec(U),!Ze){Ce.push(U);break}{Ce=Ce.concat(Ze.slice(1));const kt=Ce.pop();if(!kt)break;U=kt}}let ii=ie.getTimezoneOffset();V&&(ii=mr(V,ii),ie=function D(P,U,z){const V=z?-1:1,ie=P.getTimezoneOffset();return function $r(P,U){return(P=new Date(P.getTime())).setMinutes(P.getMinutes()+U),P}(P,V*(mr(U,ie)-ie))}(ie,V,!0));let qt="";return Ce.forEach(kt=>{const Yt=function gr(P){if(ms[P])return ms[P];let U;switch(P){case"G":case"GG":case"GGG":U=Kt(We.Eras,me.Abbreviated);break;case"GGGG":U=Kt(We.Eras,me.Wide);break;case"GGGGG":U=Kt(We.Eras,me.Narrow);break;case"y":U=Ke(Te.FullYear,1,0,!1,!0);break;case"yy":U=Ke(Te.FullYear,2,0,!0,!0);break;case"yyy":U=Ke(Te.FullYear,3,0,!1,!0);break;case"yyyy":U=Ke(Te.FullYear,4,0,!1,!0);break;case"Y":U=fo(1);break;case"YY":U=fo(2,!0);break;case"YYY":U=fo(3);break;case"YYYY":U=fo(4);break;case"M":case"L":U=Ke(Te.Month,1,1);break;case"MM":case"LL":U=Ke(Te.Month,2,1);break;case"MMM":U=Kt(We.Months,me.Abbreviated);break;case"MMMM":U=Kt(We.Months,me.Wide);break;case"MMMMM":U=Kt(We.Months,me.Narrow);break;case"LLL":U=Kt(We.Months,me.Abbreviated,Ae.Standalone);break;case"LLLL":U=Kt(We.Months,me.Wide,Ae.Standalone);break;case"LLLLL":U=Kt(We.Months,me.Narrow,Ae.Standalone);break;case"w":U=ho(1);break;case"ww":U=ho(2);break;case"W":U=ho(1,!0);break;case"d":U=Ke(Te.Date,1);break;case"dd":U=Ke(Te.Date,2);break;case"c":case"cc":U=Ke(Te.Day,1);break;case"ccc":U=Kt(We.Days,me.Abbreviated,Ae.Standalone);break;case"cccc":U=Kt(We.Days,me.Wide,Ae.Standalone);break;case"ccccc":U=Kt(We.Days,me.Narrow,Ae.Standalone);break;case"cccccc":U=Kt(We.Days,me.Short,Ae.Standalone);break;case"E":case"EE":case"EEE":U=Kt(We.Days,me.Abbreviated);break;case"EEEE":U=Kt(We.Days,me.Wide);break;case"EEEEE":U=Kt(We.Days,me.Narrow);break;case"EEEEEE":U=Kt(We.Days,me.Short);break;case"a":case"aa":case"aaa":U=Kt(We.DayPeriods,me.Abbreviated);break;case"aaaa":U=Kt(We.DayPeriods,me.Wide);break;case"aaaaa":U=Kt(We.DayPeriods,me.Narrow);break;case"b":case"bb":case"bbb":U=Kt(We.DayPeriods,me.Abbreviated,Ae.Standalone,!0);break;case"bbbb":U=Kt(We.DayPeriods,me.Wide,Ae.Standalone,!0);break;case"bbbbb":U=Kt(We.DayPeriods,me.Narrow,Ae.Standalone,!0);break;case"B":case"BB":case"BBB":U=Kt(We.DayPeriods,me.Abbreviated,Ae.Format,!0);break;case"BBBB":U=Kt(We.DayPeriods,me.Wide,Ae.Format,!0);break;case"BBBBB":U=Kt(We.DayPeriods,me.Narrow,Ae.Format,!0);break;case"h":U=Ke(Te.Hours,1,-12);break;case"hh":U=Ke(Te.Hours,2,-12);break;case"H":U=Ke(Te.Hours,1);break;case"HH":U=Ke(Te.Hours,2);break;case"m":U=Ke(Te.Minutes,1);break;case"mm":U=Ke(Te.Minutes,2);break;case"s":U=Ke(Te.Seconds,1);break;case"ss":U=Ke(Te.Seconds,2);break;case"S":U=Ke(Te.FractionalSeconds,1);break;case"SS":U=Ke(Te.FractionalSeconds,2);break;case"SSS":U=Ke(Te.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":U=gs(Fe.Short);break;case"ZZZZZ":U=gs(Fe.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":U=gs(Fe.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":U=gs(Fe.Long);break;default:return null}return ms[P]=U,U}(kt);qt+=Yt?Yt(ie,z,ii):"''"===kt?"'":kt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),qt}function Yi(P,U,z){const V=new Date(0);return V.setFullYear(P,U,z),V.setHours(0,0,0),V}function Nt(P,U){const z=function Et(P){return(0,_.cg1)(P)[_.wAp.LocaleId]}(P);if(Oe[z]=Oe[z]||{},Oe[z][U])return Oe[z][U];let V="";switch(U){case"shortDate":V=ai(P,Re.Short);break;case"mediumDate":V=ai(P,Re.Medium);break;case"longDate":V=ai(P,Re.Long);break;case"fullDate":V=ai(P,Re.Full);break;case"shortTime":V=ps(P,Re.Short);break;case"mediumTime":V=ps(P,Re.Medium);break;case"longTime":V=ps(P,Re.Long);break;case"fullTime":V=ps(P,Re.Full);break;case"short":const ie=Nt(P,"shortTime"),_e=Nt(P,"shortDate");V=Ys(un(P,Re.Short),[ie,_e]);break;case"medium":const Ce=Nt(P,"mediumTime"),Ze=Nt(P,"mediumDate");V=Ys(un(P,Re.Medium),[Ce,Ze]);break;case"long":const ii=Nt(P,"longTime"),qt=Nt(P,"longDate");V=Ys(un(P,Re.Long),[ii,qt]);break;case"full":const kt=Nt(P,"fullTime"),Yt=Nt(P,"fullDate");V=Ys(un(P,Re.Full),[kt,Yt])}return V&&(Oe[z][U]=V),V}function Ys(P,U){return U&&(P=P.replace(/\{([^}]+)}/g,function(z,V){return null!=U&&V in U?U[V]:z})),P}function Ui(P,U,z="-",V,ie){let _e="";(P<0||ie&&P<=0)&&(ie?P=1-P:(P=-P,_e=z));let Ce=String(P);for(;Ce.length0||Ze>-z)&&(Ze+=z),P===Te.Hours)0===Ze&&-12===z&&(Ze=12);else if(P===Te.FractionalSeconds)return function ht(P,U){return Ui(P,3).substr(0,U)}(Ze,U);const ii=di(Ce,fe.MinusSign);return Ui(Ze,U,ii,V,ie)}}function Kt(P,U,z=Ae.Format,V=!1){return function(ie,_e){return function vt(P,U,z,V,ie,_e){switch(z){case We.Months:return function gt(P,U,z){const V=(0,_.cg1)(P),_e=Ve([V[_.wAp.MonthsFormat],V[_.wAp.MonthsStandalone]],U);return Ve(_e,z)}(U,ie,V)[P.getMonth()];case We.Days:return function ot(P,U,z){const V=(0,_.cg1)(P),_e=Ve([V[_.wAp.DaysFormat],V[_.wAp.DaysStandalone]],U);return Ve(_e,z)}(U,ie,V)[P.getDay()];case We.DayPeriods:const Ce=P.getHours(),Ze=P.getMinutes();if(_e){const qt=function De(P){const U=(0,_.cg1)(P);return le(U),(U[_.wAp.ExtraData][2]||[]).map(V=>"string"==typeof V?nt(V):[nt(V[0]),nt(V[1])])}(U),kt=function pe(P,U,z){const V=(0,_.cg1)(P);le(V);const _e=Ve([V[_.wAp.ExtraData][0],V[_.wAp.ExtraData][1]],U)||[];return Ve(_e,z)||[]}(U,ie,V),Yt=qt.findIndex(en=>{if(Array.isArray(en)){const[Si,Li]=en,bo=Ce>=Si.hours&&Ze>=Si.minutes,Rs=Ce0?Math.floor(ie/60):Math.ceil(ie/60);switch(P){case Fe.Short:return(ie>=0?"+":"")+Ui(Ce,2,_e)+Ui(Math.abs(ie%60),2,_e);case Fe.ShortGMT:return"GMT"+(ie>=0?"+":"")+Ui(Ce,1,_e);case Fe.Long:return"GMT"+(ie>=0?"+":"")+Ui(Ce,2,_e)+":"+Ui(Math.abs(ie%60),2,_e);case Fe.Extended:return 0===V?"Z":(ie>=0?"+":"")+Ui(Ce,2,_e)+":"+Ui(Math.abs(ie%60),2,_e);default:throw new Error(`Unknown zone width "${P}"`)}}}function Oo(P){return Yi(P.getFullYear(),P.getMonth(),P.getDate()+(4-P.getDay()))}function ho(P,U=!1){return function(z,V){let ie;if(U){const _e=new Date(z.getFullYear(),z.getMonth(),1).getDay()-1,Ce=z.getDate();ie=1+Math.floor((Ce+_e)/7)}else{const _e=Oo(z),Ce=function Qc(P){const U=Yi(P,0,1).getDay();return Yi(P,0,1+(U<=4?4:11)-U)}(_e.getFullYear()),Ze=_e.getTime()-Ce.getTime();ie=1+Math.round(Ze/6048e5)}return Ui(ie,P,di(V,fe.MinusSign))}}function fo(P,U=!1){return function(z,V){return Ui(Oo(z).getFullYear(),P,di(V,fe.MinusSign),U)}}const ms={};function mr(P,U){P=P.replace(/:/g,"");const z=Date.parse("Jan 01, 1970 00:00:00 "+P)/6e4;return isNaN(z)?U:z}function hn(P){return P instanceof Date&&!isNaN(P.valueOf())}class fi{}let zi=(()=>{class P extends fi{constructor(z){super(),this.locale=z}getPluralCategory(z,V){switch(Hn(V||this.locale)(z)){case ge.Zero:return"zero";case ge.One:return"one";case ge.Two:return"two";case ge.Few:return"few";case ge.Many:return"many";default:return"other"}}}return P.\u0275fac=function(z){return new(z||P)(_.LFG(_.soG))},P.\u0275prov=_.Yz7({token:P,factory:P.\u0275fac}),P})();function _r(P,U){U=encodeURIComponent(U);for(const z of P.split(";")){const V=z.indexOf("="),[ie,_e]=-1==V?[z,""]:[z.slice(0,V),z.slice(V+1)];if(ie.trim()===U)return decodeURIComponent(_e)}return null}let Po=(()=>{class P{constructor(z,V,ie,_e){this._iterableDiffers=z,this._keyValueDiffers=V,this._ngEl=ie,this._renderer=_e,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(z){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof z?z.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(z){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof z?z.split(/\s+/):z,this._rawClass&&((0,_.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const z=this._iterableDiffer.diff(this._rawClass);z&&this._applyIterableChanges(z)}else if(this._keyValueDiffer){const z=this._keyValueDiffer.diff(this._rawClass);z&&this._applyKeyValueChanges(z)}}_applyKeyValueChanges(z){z.forEachAddedItem(V=>this._toggleClass(V.key,V.currentValue)),z.forEachChangedItem(V=>this._toggleClass(V.key,V.currentValue)),z.forEachRemovedItem(V=>{V.previousValue&&this._toggleClass(V.key,!1)})}_applyIterableChanges(z){z.forEachAddedItem(V=>{if("string"!=typeof V.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,_.AaK)(V.item)}`);this._toggleClass(V.item,!0)}),z.forEachRemovedItem(V=>this._toggleClass(V.item,!1))}_applyClasses(z){z&&(Array.isArray(z)||z instanceof Set?z.forEach(V=>this._toggleClass(V,!0)):Object.keys(z).forEach(V=>this._toggleClass(V,!!z[V])))}_removeClasses(z){z&&(Array.isArray(z)||z instanceof Set?z.forEach(V=>this._toggleClass(V,!1)):Object.keys(z).forEach(V=>this._toggleClass(V,!1)))}_toggleClass(z,V){(z=z.trim())&&z.split(/\s+/g).forEach(ie=>{V?this._renderer.addClass(this._ngEl.nativeElement,ie):this._renderer.removeClass(this._ngEl.nativeElement,ie)})}}return P.\u0275fac=function(z){return new(z||P)(_.Y36(_.ZZ4),_.Y36(_.aQg),_.Y36(_.SBq),_.Y36(_.Qsj))},P.\u0275dir=_.lG2({type:P,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),P})();class br{constructor(U,z,V,ie){this.$implicit=U,this.ngForOf=z,this.index=V,this.count=ie}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Mn=(()=>{class P{constructor(z,V,ie){this._viewContainer=z,this._template=V,this._differs=ie,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(z){this._ngForOf=z,this._ngForOfDirty=!0}set ngForTrackBy(z){this._trackByFn=z}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(z){z&&(this._template=z)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const z=this._ngForOf;!this._differ&&z&&(this._differ=this._differs.find(z).create(this.ngForTrackBy))}if(this._differ){const z=this._differ.diff(this._ngForOf);z&&this._applyChanges(z)}}_applyChanges(z){const V=this._viewContainer;z.forEachOperation((ie,_e,Ce)=>{if(null==ie.previousIndex)V.createEmbeddedView(this._template,new br(ie.item,this._ngForOf,-1,-1),null===Ce?void 0:Ce);else if(null==Ce)V.remove(null===_e?void 0:_e);else if(null!==_e){const Ze=V.get(_e);V.move(Ze,Ce),zo(Ze,ie)}});for(let ie=0,_e=V.length;ie<_e;ie++){const Ze=V.get(ie).context;Ze.index=ie,Ze.count=_e,Ze.ngForOf=this._ngForOf}z.forEachIdentityChange(ie=>{zo(V.get(ie.currentIndex),ie)})}static ngTemplateContextGuard(z,V){return!0}}return P.\u0275fac=function(z){return new(z||P)(_.Y36(_.s_b),_.Y36(_.Rgc),_.Y36(_.ZZ4))},P.\u0275dir=_.lG2({type:P,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),P})();function zo(P,U){P.context.$implicit=U.item}let os=(()=>{class P{constructor(z,V){this._viewContainer=z,this._context=new pi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=V}set ngIf(z){this._context.$implicit=this._context.ngIf=z,this._updateView()}set ngIfThen(z){el("ngIfThen",z),this._thenTemplateRef=z,this._thenViewRef=null,this._updateView()}set ngIfElse(z){el("ngIfElse",z),this._elseTemplateRef=z,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(z,V){return!0}}return P.\u0275fac=function(z){return new(z||P)(_.Y36(_.s_b),_.Y36(_.Rgc))},P.\u0275dir=_.lG2({type:P,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),P})();class pi{constructor(){this.$implicit=null,this.ngIf=null}}function el(P,U){if(U&&!U.createEmbeddedView)throw new Error(`${P} must be a TemplateRef, but received '${(0,_.AaK)(U)}'.`)}class Io{constructor(U,z){this._viewContainerRef=U,this._templateRef=z,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(U){U&&!this._created?this.create():!U&&this._created&&this.destroy()}}let Fn=(()=>{class P{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(z){this._ngSwitch=z,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(z){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(z)}_matchCase(z){const V=z==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||V,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),V}_updateDefaultCases(z){if(this._defaultViews&&z!==this._defaultUsed){this._defaultUsed=z;for(let V=0;V{class P{constructor(z,V,ie){this.ngSwitch=ie,ie._addCase(),this._view=new Io(z,V)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return P.\u0275fac=function(z){return new(z||P)(_.Y36(_.s_b),_.Y36(_.Rgc),_.Y36(Fn,9))},P.\u0275dir=_.lG2({type:P,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),P})(),Ua=(()=>{class P{constructor(z,V,ie){ie._addDefault(new Io(z,V))}}return P.\u0275fac=function(z){return new(z||P)(_.Y36(_.s_b),_.Y36(_.Rgc),_.Y36(Fn,9))},P.\u0275dir=_.lG2({type:P,selectors:[["","ngSwitchDefault",""]]}),P})(),yr=(()=>{class P{constructor(z,V,ie){this._ngEl=z,this._differs=V,this._renderer=ie,this._ngStyle=null,this._differ=null}set ngStyle(z){this._ngStyle=z,!this._differ&&z&&(this._differ=this._differs.find(z).create())}ngDoCheck(){if(this._differ){const z=this._differ.diff(this._ngStyle);z&&this._applyChanges(z)}}_setStyle(z,V){const[ie,_e]=z.split(".");null!=(V=null!=V&&_e?`${V}${_e}`:V)?this._renderer.setStyle(this._ngEl.nativeElement,ie,V):this._renderer.removeStyle(this._ngEl.nativeElement,ie)}_applyChanges(z){z.forEachRemovedItem(V=>this._setStyle(V.key,null)),z.forEachAddedItem(V=>this._setStyle(V.key,V.currentValue)),z.forEachChangedItem(V=>this._setStyle(V.key,V.currentValue))}}return P.\u0275fac=function(z){return new(z||P)(_.Y36(_.SBq),_.Y36(_.aQg),_.Y36(_.Qsj))},P.\u0275dir=_.lG2({type:P,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),P})();function _s(P,U){return new _.vHH(2100,"")}class lp{createSubscription(U,z){return U.subscribe({next:z,error:V=>{throw V}})}dispose(U){U.unsubscribe()}onDestroy(U){U.unsubscribe()}}class up{createSubscription(U,z){return U.then(z,V=>{throw V})}dispose(U){}onDestroy(U){}}const dp=new up,hp=new lp;let Rt=(()=>{class P{constructor(z){this._ref=z,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(z){return this._obj?z!==this._obj?(this._dispose(),this.transform(z)):this._latestValue:(z&&this._subscribe(z),this._latestValue)}_subscribe(z){this._obj=z,this._strategy=this._selectStrategy(z),this._subscription=this._strategy.createSubscription(z,V=>this._updateLatestValue(z,V))}_selectStrategy(z){if((0,_.QGY)(z))return dp;if((0,_.F4k)(z))return hp;throw _s()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(z,V){z===this._obj&&(this._latestValue=V,this._ref.markForCheck())}}return P.\u0275fac=function(z){return new(z||P)(_.Y36(_.sBO,16))},P.\u0275pipe=_.Yjl({name:"async",type:P,pure:!1}),P})(),Ge=(()=>{class P{transform(z){if(null==z)return null;if("string"!=typeof z)throw _s();return z.toUpperCase()}}return P.\u0275fac=function(z){return new(z||P)},P.\u0275pipe=_.Yjl({name:"uppercase",type:P,pure:!0}),P})();const xe=new _.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let tl=(()=>{class P{constructor(z,V){this.locale=z,this.defaultTimezone=V}transform(z,V="mediumDate",ie,_e){var Ce;if(null==z||""===z||z!=z)return null;try{return Pt(z,V,_e||this.locale,null!==(Ce=null!=ie?ie:this.defaultTimezone)&&void 0!==Ce?Ce:void 0)}catch(Ze){throw _s()}}}return P.\u0275fac=function(z){return new(z||P)(_.Y36(_.soG,16),_.Y36(xe,24))},P.\u0275pipe=_.Yjl({name:"date",type:P,pure:!0}),P})(),li=(()=>{class P{}return P.\u0275fac=function(z){return new(z||P)},P.\u0275mod=_.oAB({type:P}),P.\u0275inj=_.cJS({providers:[{provide:fi,useClass:zi}]}),P})();const bs="browser";function Ai(P){return P===bs}function Gs(P){return"server"===P}let wr=(()=>{class P{}return P.\u0275prov=(0,_.Yz7)({token:P,providedIn:"root",factory:()=>new _o((0,_.LFG)(L),window)}),P})();class _o{constructor(U,z){this.document=U,this.window=z,this.offset=()=>[0,0]}setOffset(U){this.offset=Array.isArray(U)?()=>U:U}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(U){this.supportsScrolling()&&this.window.scrollTo(U[0],U[1])}scrollToAnchor(U){if(!this.supportsScrolling())return;const z=function ta(P,U){const z=P.getElementById(U)||P.getElementsByName(U)[0];if(z)return z;if("function"==typeof P.createTreeWalker&&P.body&&(P.body.createShadowRoot||P.body.attachShadow)){const V=P.createTreeWalker(P.body,NodeFilter.SHOW_ELEMENT);let ie=V.currentNode;for(;ie;){const _e=ie.shadowRoot;if(_e){const Ce=_e.getElementById(U)||_e.querySelector(`[name="${U}"]`);if(Ce)return Ce}ie=V.nextNode()}}return null}(this.document,U);z&&(this.scrollToElement(z),z.focus())}setHistoryScrollRestoration(U){if(this.supportScrollRestoration()){const z=this.window.history;z&&z.scrollRestoration&&(z.scrollRestoration=U)}}scrollToElement(U){const z=U.getBoundingClientRect(),V=z.left+this.window.pageXOffset,ie=z.top+this.window.pageYOffset,_e=this.offset();this.window.scrollTo(V-_e[0],ie-_e[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const U=il(this.window.history)||il(Object.getPrototypeOf(this.window.history));return!(!U||!U.writable&&!U.set)}catch(U){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(U){return!1}}}function il(P){return Object.getOwnPropertyDescriptor(P,"scrollRestoration")}class si{}},520:(q,Y,M)=>{"use strict";M.d(Y,{TP:()=>Et,eN:()=>fe,JF:()=>Ve,WM:()=>F,LE:()=>he,Zn:()=>Ae});var _=M(9808),t=M(5e3),T=M(1086),w=M(2916),v=M(1406),E=M(2198),L=M(4850);class I{}class B{}class F{constructor(te){this.normalizedNames=new Map,this.lazyUpdate=null,te?this.lazyInit="string"==typeof te?()=>{this.headers=new Map,te.split("\n").forEach(se=>{const Oe=se.indexOf(":");if(Oe>0){const ke=se.slice(0,Oe),Fe=ke.toLowerCase(),Te=se.slice(Oe+1).trim();this.maybeSetNormalizedName(ke,Fe),this.headers.has(Fe)?this.headers.get(Fe).push(Te):this.headers.set(Fe,[Te])}})}:()=>{this.headers=new Map,Object.keys(te).forEach(se=>{let Oe=te[se];const ke=se.toLowerCase();"string"==typeof Oe&&(Oe=[Oe]),Oe.length>0&&(this.headers.set(ke,Oe),this.maybeSetNormalizedName(se,ke))})}:this.headers=new Map}has(te){return this.init(),this.headers.has(te.toLowerCase())}get(te){this.init();const se=this.headers.get(te.toLowerCase());return se&&se.length>0?se[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(te){return this.init(),this.headers.get(te.toLowerCase())||null}append(te,se){return this.clone({name:te,value:se,op:"a"})}set(te,se){return this.clone({name:te,value:se,op:"s"})}delete(te,se){return this.clone({name:te,value:se,op:"d"})}maybeSetNormalizedName(te,se){this.normalizedNames.has(se)||this.normalizedNames.set(se,te)}init(){this.lazyInit&&(this.lazyInit instanceof F?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(te=>this.applyUpdate(te)),this.lazyUpdate=null))}copyFrom(te){te.init(),Array.from(te.headers.keys()).forEach(se=>{this.headers.set(se,te.headers.get(se)),this.normalizedNames.set(se,te.normalizedNames.get(se))})}clone(te){const se=new F;return se.lazyInit=this.lazyInit&&this.lazyInit instanceof F?this.lazyInit:this,se.lazyUpdate=(this.lazyUpdate||[]).concat([te]),se}applyUpdate(te){const se=te.name.toLowerCase();switch(te.op){case"a":case"s":let Oe=te.value;if("string"==typeof Oe&&(Oe=[Oe]),0===Oe.length)return;this.maybeSetNormalizedName(te.name,se);const ke=("a"===te.op?this.headers.get(se):void 0)||[];ke.push(...Oe),this.headers.set(se,ke);break;case"d":const Fe=te.value;if(Fe){let Te=this.headers.get(se);if(!Te)return;Te=Te.filter(We=>-1===Fe.indexOf(We)),0===Te.length?(this.headers.delete(se),this.normalizedNames.delete(se)):this.headers.set(se,Te)}else this.headers.delete(se),this.normalizedNames.delete(se)}}forEach(te){this.init(),Array.from(this.normalizedNames.keys()).forEach(se=>te(this.normalizedNames.get(se),this.headers.get(se)))}}class G{encodeKey(te){return ee(te)}encodeValue(te){return ee(te)}decodeKey(te){return decodeURIComponent(te)}decodeValue(te){return decodeURIComponent(te)}}const Q=/%(\d[a-f0-9])/gi,ae={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ee(Me){return encodeURIComponent(Me).replace(Q,(te,se)=>{var Oe;return null!==(Oe=ae[se])&&void 0!==Oe?Oe:te})}function ce(Me){return`${Me}`}class he{constructor(te={}){if(this.updates=null,this.cloneFrom=null,this.encoder=te.encoder||new G,te.fromString){if(te.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function X(Me,te){const se=new Map;return Me.length>0&&Me.replace(/^\?/,"").split("&").forEach(ke=>{const Fe=ke.indexOf("="),[Te,We]=-1==Fe?[te.decodeKey(ke),""]:[te.decodeKey(ke.slice(0,Fe)),te.decodeValue(ke.slice(Fe+1))],Pt=se.get(Te)||[];Pt.push(We),se.set(Te,Pt)}),se}(te.fromString,this.encoder)}else te.fromObject?(this.map=new Map,Object.keys(te.fromObject).forEach(se=>{const Oe=te.fromObject[se];this.map.set(se,Array.isArray(Oe)?Oe:[Oe])})):this.map=null}has(te){return this.init(),this.map.has(te)}get(te){this.init();const se=this.map.get(te);return se?se[0]:null}getAll(te){return this.init(),this.map.get(te)||null}keys(){return this.init(),Array.from(this.map.keys())}append(te,se){return this.clone({param:te,value:se,op:"a"})}appendAll(te){const se=[];return Object.keys(te).forEach(Oe=>{const ke=te[Oe];Array.isArray(ke)?ke.forEach(Fe=>{se.push({param:Oe,value:Fe,op:"a"})}):se.push({param:Oe,value:ke,op:"a"})}),this.clone(se)}set(te,se){return this.clone({param:te,value:se,op:"s"})}delete(te,se){return this.clone({param:te,value:se,op:"d"})}toString(){return this.init(),this.keys().map(te=>{const se=this.encoder.encodeKey(te);return this.map.get(te).map(Oe=>se+"="+this.encoder.encodeValue(Oe)).join("&")}).filter(te=>""!==te).join("&")}clone(te){const se=new he({encoder:this.encoder});return se.cloneFrom=this.cloneFrom||this,se.updates=(this.updates||[]).concat(te),se}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(te=>this.map.set(te,this.cloneFrom.map.get(te))),this.updates.forEach(te=>{switch(te.op){case"a":case"s":const se=("a"===te.op?this.map.get(te.param):void 0)||[];se.push(ce(te.value)),this.map.set(te.param,se);break;case"d":if(void 0===te.value){this.map.delete(te.param);break}{let Oe=this.map.get(te.param)||[];const ke=Oe.indexOf(ce(te.value));-1!==ke&&Oe.splice(ke,1),Oe.length>0?this.map.set(te.param,Oe):this.map.delete(te.param)}}}),this.cloneFrom=this.updates=null)}}class Be{constructor(){this.map=new Map}set(te,se){return this.map.set(te,se),this}get(te){return this.map.has(te)||this.map.set(te,te.defaultValue()),this.map.get(te)}delete(te){return this.map.delete(te),this}has(te){return this.map.has(te)}keys(){return this.map.keys()}}function yt(Me){return"undefined"!=typeof ArrayBuffer&&Me instanceof ArrayBuffer}function Lt(Me){return"undefined"!=typeof Blob&&Me instanceof Blob}function Xe(Me){return"undefined"!=typeof FormData&&Me instanceof FormData}class Mt{constructor(te,se,Oe,ke){let Fe;if(this.url=se,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=te.toUpperCase(),function $e(Me){switch(Me){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ke?(this.body=void 0!==Oe?Oe:null,Fe=ke):Fe=Oe,Fe&&(this.reportProgress=!!Fe.reportProgress,this.withCredentials=!!Fe.withCredentials,Fe.responseType&&(this.responseType=Fe.responseType),Fe.headers&&(this.headers=Fe.headers),Fe.context&&(this.context=Fe.context),Fe.params&&(this.params=Fe.params)),this.headers||(this.headers=new F),this.context||(this.context=new Be),this.params){const Te=this.params.toString();if(0===Te.length)this.urlWithParams=se;else{const We=se.indexOf("?");this.urlWithParams=se+(-1===We?"?":WeUi.set(ht,te.setHeaders[ht]),Yi)),te.setParams&&(Nt=Object.keys(te.setParams).reduce((Ui,ht)=>Ui.set(ht,te.setParams[ht]),Nt)),new Mt(Oe,ke,Te,{params:Nt,headers:Yi,context:Ys,reportProgress:Pt,responseType:Fe,withCredentials:We})}}var mt=(()=>((mt=mt||{})[mt.Sent=0]="Sent",mt[mt.UploadProgress=1]="UploadProgress",mt[mt.ResponseHeader=2]="ResponseHeader",mt[mt.DownloadProgress=3]="DownloadProgress",mt[mt.Response=4]="Response",mt[mt.User=5]="User",mt))();class de{constructor(te,se=200,Oe="OK"){this.headers=te.headers||new F,this.status=void 0!==te.status?te.status:se,this.statusText=te.statusText||Oe,this.url=te.url||null,this.ok=this.status>=200&&this.status<300}}class ge extends de{constructor(te={}){super(te),this.type=mt.ResponseHeader}clone(te={}){return new ge({headers:te.headers||this.headers,status:void 0!==te.status?te.status:this.status,statusText:te.statusText||this.statusText,url:te.url||this.url||void 0})}}class Ae extends de{constructor(te={}){super(te),this.type=mt.Response,this.body=void 0!==te.body?te.body:null}clone(te={}){return new Ae({body:void 0!==te.body?te.body:this.body,headers:te.headers||this.headers,status:void 0!==te.status?te.status:this.status,statusText:te.statusText||this.statusText,url:te.url||this.url||void 0})}}class me extends de{constructor(te){super(te,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${te.url||"(unknown url)"}`:`Http failure response for ${te.url||"(unknown url)"}: ${te.status} ${te.statusText}`,this.error=te.error||null}}function Re(Me,te){return{body:te,headers:Me.headers,context:Me.context,observe:Me.observe,params:Me.params,reportProgress:Me.reportProgress,responseType:Me.responseType,withCredentials:Me.withCredentials}}let fe=(()=>{class Me{constructor(se){this.handler=se}request(se,Oe,ke={}){let Fe;if(se instanceof Mt)Fe=se;else{let Pt,Yi;Pt=ke.headers instanceof F?ke.headers:new F(ke.headers),ke.params&&(Yi=ke.params instanceof he?ke.params:new he({fromObject:ke.params})),Fe=new Mt(se,Oe,void 0!==ke.body?ke.body:null,{headers:Pt,context:ke.context,params:Yi,reportProgress:ke.reportProgress,responseType:ke.responseType||"json",withCredentials:ke.withCredentials})}const Te=(0,T.of)(Fe).pipe((0,v.b)(Pt=>this.handler.handle(Pt)));if(se instanceof Mt||"events"===ke.observe)return Te;const We=Te.pipe((0,E.h)(Pt=>Pt instanceof Ae));switch(ke.observe||"body"){case"body":switch(Fe.responseType){case"arraybuffer":return We.pipe((0,L.U)(Pt=>{if(null!==Pt.body&&!(Pt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Pt.body}));case"blob":return We.pipe((0,L.U)(Pt=>{if(null!==Pt.body&&!(Pt.body instanceof Blob))throw new Error("Response is not a Blob.");return Pt.body}));case"text":return We.pipe((0,L.U)(Pt=>{if(null!==Pt.body&&"string"!=typeof Pt.body)throw new Error("Response is not a string.");return Pt.body}));default:return We.pipe((0,L.U)(Pt=>Pt.body))}case"response":return We;default:throw new Error(`Unreachable: unhandled observe type ${ke.observe}}`)}}delete(se,Oe={}){return this.request("DELETE",se,Oe)}get(se,Oe={}){return this.request("GET",se,Oe)}head(se,Oe={}){return this.request("HEAD",se,Oe)}jsonp(se,Oe){return this.request("JSONP",se,{params:(new he).append(Oe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(se,Oe={}){return this.request("OPTIONS",se,Oe)}patch(se,Oe,ke={}){return this.request("PATCH",se,Re(ke,Oe))}post(se,Oe,ke={}){return this.request("POST",se,Re(ke,Oe))}put(se,Oe,ke={}){return this.request("PUT",se,Re(ke,Oe))}}return Me.\u0275fac=function(se){return new(se||Me)(t.LFG(I))},Me.\u0275prov=t.Yz7({token:Me,factory:Me.\u0275fac}),Me})();class At{constructor(te,se){this.next=te,this.interceptor=se}handle(te){return this.interceptor.intercept(te,this.next)}}const Et=new t.OlP("HTTP_INTERCEPTORS");let vi=(()=>{class Me{intercept(se,Oe){return Oe.handle(se)}}return Me.\u0275fac=function(se){return new(se||Me)},Me.\u0275prov=t.Yz7({token:Me,factory:Me.\u0275fac}),Me})();const un=/^\)\]\}',?\n/;let Wt=(()=>{class Me{constructor(se){this.xhrFactory=se}handle(se){if("JSONP"===se.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new w.y(Oe=>{const ke=this.xhrFactory.build();if(ke.open(se.method,se.urlWithParams),se.withCredentials&&(ke.withCredentials=!0),se.headers.forEach((ht,Ke)=>ke.setRequestHeader(ht,Ke.join(","))),se.headers.has("Accept")||ke.setRequestHeader("Accept","application/json, text/plain, */*"),!se.headers.has("Content-Type")){const ht=se.detectContentTypeHeader();null!==ht&&ke.setRequestHeader("Content-Type",ht)}if(se.responseType){const ht=se.responseType.toLowerCase();ke.responseType="json"!==ht?ht:"text"}const Fe=se.serializeBody();let Te=null;const We=()=>{if(null!==Te)return Te;const ht=ke.statusText||"OK",Ke=new F(ke.getAllResponseHeaders()),$n=function di(Me){return"responseURL"in Me&&Me.responseURL?Me.responseURL:/^X-Request-URL:/m.test(Me.getAllResponseHeaders())?Me.getResponseHeader("X-Request-URL"):null}(ke)||se.url;return Te=new ge({headers:Ke,status:ke.status,statusText:ht,url:$n}),Te},Pt=()=>{let{headers:ht,status:Ke,statusText:$n,url:Kt}=We(),vt=null;204!==Ke&&(vt=void 0===ke.response?ke.responseText:ke.response),0===Ke&&(Ke=vt?200:0);let gs=Ke>=200&&Ke<300;if("json"===se.responseType&&"string"==typeof vt){const ss=vt;vt=vt.replace(un,"");try{vt=""!==vt?JSON.parse(vt):null}catch(Xn){vt=ss,gs&&(gs=!1,vt={error:Xn,text:vt})}}gs?(Oe.next(new Ae({body:vt,headers:ht,status:Ke,statusText:$n,url:Kt||void 0})),Oe.complete()):Oe.error(new me({error:vt,headers:ht,status:Ke,statusText:$n,url:Kt||void 0}))},Yi=ht=>{const{url:Ke}=We(),$n=new me({error:ht,status:ke.status||0,statusText:ke.statusText||"Unknown Error",url:Ke||void 0});Oe.error($n)};let Nt=!1;const Ys=ht=>{Nt||(Oe.next(We()),Nt=!0);let Ke={type:mt.DownloadProgress,loaded:ht.loaded};ht.lengthComputable&&(Ke.total=ht.total),"text"===se.responseType&&!!ke.responseText&&(Ke.partialText=ke.responseText),Oe.next(Ke)},Ui=ht=>{let Ke={type:mt.UploadProgress,loaded:ht.loaded};ht.lengthComputable&&(Ke.total=ht.total),Oe.next(Ke)};return ke.addEventListener("load",Pt),ke.addEventListener("error",Yi),ke.addEventListener("timeout",Yi),ke.addEventListener("abort",Yi),se.reportProgress&&(ke.addEventListener("progress",Ys),null!==Fe&&ke.upload&&ke.upload.addEventListener("progress",Ui)),ke.send(Fe),Oe.next({type:mt.Sent}),()=>{ke.removeEventListener("error",Yi),ke.removeEventListener("abort",Yi),ke.removeEventListener("load",Pt),ke.removeEventListener("timeout",Yi),se.reportProgress&&(ke.removeEventListener("progress",Ys),null!==Fe&&ke.upload&&ke.upload.removeEventListener("progress",Ui)),ke.readyState!==ke.DONE&&ke.abort()}})}}return Me.\u0275fac=function(se){return new(se||Me)(t.LFG(_.JF))},Me.\u0275prov=t.Yz7({token:Me,factory:Me.\u0275fac}),Me})();const dn=new t.OlP("XSRF_COOKIE_NAME"),lo=new t.OlP("XSRF_HEADER_NAME");class uo{}let js=(()=>{class Me{constructor(se,Oe,ke){this.doc=se,this.platform=Oe,this.cookieName=ke,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const se=this.doc.cookie||"";return se!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,_.Mx)(se,this.cookieName),this.lastCookieString=se),this.lastToken}}return Me.\u0275fac=function(se){return new(se||Me)(t.LFG(_.K0),t.LFG(t.Lbi),t.LFG(dn))},Me.\u0275prov=t.Yz7({token:Me,factory:Me.\u0275fac}),Me})(),Hn=(()=>{class Me{constructor(se,Oe){this.tokenService=se,this.headerName=Oe}intercept(se,Oe){const ke=se.url.toLowerCase();if("GET"===se.method||"HEAD"===se.method||ke.startsWith("http://")||ke.startsWith("https://"))return Oe.handle(se);const Fe=this.tokenService.getToken();return null!==Fe&&!se.headers.has(this.headerName)&&(se=se.clone({headers:se.headers.set(this.headerName,Fe)})),Oe.handle(se)}}return Me.\u0275fac=function(se){return new(se||Me)(t.LFG(uo),t.LFG(lo))},Me.\u0275prov=t.Yz7({token:Me,factory:Me.\u0275fac}),Me})(),le=(()=>{class Me{constructor(se,Oe){this.backend=se,this.injector=Oe,this.chain=null}handle(se){if(null===this.chain){const Oe=this.injector.get(Et,[]);this.chain=Oe.reduceRight((ke,Fe)=>new At(ke,Fe),this.backend)}return this.chain.handle(se)}}return Me.\u0275fac=function(se){return new(se||Me)(t.LFG(B),t.LFG(t.zs3))},Me.\u0275prov=t.Yz7({token:Me,factory:Me.\u0275fac}),Me})(),Ue=(()=>{class Me{static disable(){return{ngModule:Me,providers:[{provide:Hn,useClass:vi}]}}static withOptions(se={}){return{ngModule:Me,providers:[se.cookieName?{provide:dn,useValue:se.cookieName}:[],se.headerName?{provide:lo,useValue:se.headerName}:[]]}}}return Me.\u0275fac=function(se){return new(se||Me)},Me.\u0275mod=t.oAB({type:Me}),Me.\u0275inj=t.cJS({providers:[Hn,{provide:Et,useExisting:Hn,multi:!0},{provide:uo,useClass:js},{provide:dn,useValue:"XSRF-TOKEN"},{provide:lo,useValue:"X-XSRF-TOKEN"}]}),Me})(),Ve=(()=>{class Me{}return Me.\u0275fac=function(se){return new(se||Me)},Me.\u0275mod=t.oAB({type:Me}),Me.\u0275inj=t.cJS({providers:[fe,{provide:I,useClass:le},Wt,{provide:B,useExisting:Wt}],imports:[[Ue.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Me})()},5e3:(q,Y,M)=>{"use strict";M.d(Y,{deG:()=>bl,tb:()=>G0,AFp:()=>Kb,ip1:()=>oo,CZH:()=>za,hGG:()=>Iv,z2F:()=>Hd,sBO:()=>bv,Sil:()=>Nd,_Vd:()=>Td,EJc:()=>Xb,SBq:()=>Cd,qLn:()=>fc,vpe:()=>Lo,tBr:()=>ma,XFs:()=>pe,OlP:()=>Bi,zs3:()=>ko,ZZ4:()=>Vf,aQg:()=>Wf,soG:()=>du,YKP:()=>eu,h0i:()=>Jl,PXZ:()=>hv,R0b:()=>Bs,FiY:()=>Pr,Lbi:()=>$b,g9A:()=>U0,n_E:()=>Ed,Qsj:()=>mb,FYo:()=>gb,JOm:()=>Nr,q3G:()=>mn,tp0:()=>_a,Rgc:()=>su,dDg:()=>Ff,GfV:()=>OM,s_b:()=>kd,ifc:()=>Fe,eFA:()=>Ds,G48:()=>Hc,Gpc:()=>G,f3M:()=>Rp,_c5:()=>Lv,VLi:()=>cv,c2e:()=>V0,zSh:()=>Oh,wAp:()=>ft,vHH:()=>ee,EiD:()=>Gu,mCW:()=>qe,qzn:()=>Cl,JVY:()=>Xy,pB0:()=>eA,eBb:()=>Qy,L6k:()=>F1,LAX:()=>Jy,cg1:()=>Zl,kL8:()=>n0,yhl:()=>B1,dqk:()=>Nt,sIi:()=>Nl,CqO:()=>m_,QGY:()=>Rg,F4k:()=>Og,RDi:()=>il,AaK:()=>I,z3N:()=>Qs,qOj:()=>Ih,TTD:()=>ct,_Bn:()=>hb,xp6:()=>qA,uIk:()=>Nh,Q2q:()=>Hh,Tol:()=>Ug,Gre:()=>$w,ekj:()=>xa,Suo:()=>GM,Xpm:()=>Oo,lG2:()=>Ne,Yz7:()=>ai,cJS:()=>un,oAB:()=>mr,Yjl:()=>Ti,Y36:()=>xo,_UZ:()=>g_,GkF:()=>Xh,BQk:()=>Gl,ynx:()=>Lg,qZA:()=>Dg,TgZ:()=>kg,EpF:()=>md,n5z:()=>lh,Ikx:()=>t0,LFG:()=>gn,$8M:()=>Pu,$Z:()=>$h,NdJ:()=>__,CRH:()=>VM,kcU:()=>Du,O4$:()=>tc,oxw:()=>zg,ALo:()=>Tn,lcZ:()=>M0,xi3:()=>v0,Dn7:()=>T0,Hsn:()=>A_,F$t:()=>Ng,Q6J:()=>gd,s9C:()=>Hg,MGl:()=>Qh,hYB:()=>Bg,DdM:()=>Ef,VKq:()=>tu,WLB:()=>A0,iGM:()=>Bb,MAs:()=>jh,Jf7:()=>bA,CHM:()=>$a,oJD:()=>V1,LSH:()=>Vu,Udp:()=>Ss,WFA:()=>_d,d8E:()=>lf,YNc:()=>fd,_uU:()=>z_,Oqu:()=>Zg,hij:()=>rf,AsE:()=>$g,xDo:()=>af,Gf:()=>UM});var _=M(8929),t=M(2654),T=M(2916),w=M(6787),v=M(2474);function E(l){for(let d in l)if(l[d]===E)return d;throw Error("Could not find renamed property on target object.")}function L(l,d){for(const f in d)d.hasOwnProperty(f)&&!l.hasOwnProperty(f)&&(l[f]=d[f])}function I(l){if("string"==typeof l)return l;if(Array.isArray(l))return"["+l.map(I).join(", ")+"]";if(null==l)return""+l;if(l.overriddenName)return`${l.overriddenName}`;if(l.name)return`${l.name}`;const d=l.toString();if(null==d)return""+d;const f=d.indexOf("\n");return-1===f?d:d.substring(0,f)}function B(l,d){return null==l||""===l?null===d?"":d:null==d||""===d?l:l+" "+d}const F=E({__forward_ref__:E});function G(l){return l.__forward_ref__=G,l.toString=function(){return I(this())},l}function X(l){return Q(l)?l():l}function Q(l){return"function"==typeof l&&l.hasOwnProperty(F)&&l.__forward_ref__===G}class ee extends Error{constructor(d,f){super(function ce(l,d){return`NG0${Math.abs(l)}${d?": "+d:""}`}(d,f)),this.code=d}}function he(l){return"string"==typeof l?l:null==l?"":String(l)}function He(l){return"function"==typeof l?l.name||l.toString():"object"==typeof l&&null!=l&&"function"==typeof l.type?l.type.name||l.type.toString():he(l)}function Lt(l,d){const f=d?` in ${d}`:"";throw new ee(-201,`No provider for ${He(l)} found${f}`)}function ot(l,d){null==l&&function gt(l,d,f,p){throw new Error(`ASSERTION ERROR: ${l}`+(null==p?"":` [Expected=> ${f} ${p} ${d} <=Actual]`))}(d,l,null,"!=")}function ai(l){return{token:l.token,providedIn:l.providedIn||null,factory:l.factory,value:void 0}}function un(l){return{providers:l.providers||[],imports:l.imports||[]}}function di(l){return Wt(l,js)||Wt(l,le)}function Wt(l,d){return l.hasOwnProperty(d)?l[d]:null}function uo(l){return l&&(l.hasOwnProperty(Hn)||l.hasOwnProperty(De))?l[Hn]:null}const js=E({\u0275prov:E}),Hn=E({\u0275inj:E}),le=E({ngInjectableDef:E}),De=E({ngInjectorDef:E});var pe=(()=>((pe=pe||{})[pe.Default=0]="Default",pe[pe.Host=1]="Host",pe[pe.Self=2]="Self",pe[pe.SkipSelf=4]="SkipSelf",pe[pe.Optional=8]="Optional",pe))();let Ue;function nt(l){const d=Ue;return Ue=l,d}function Qt(l,d,f){const p=di(l);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:f&pe.Optional?null:void 0!==d?d:void Lt(I(l),"Injector")}function te(l){return{toString:l}.toString()}var se=(()=>((se=se||{})[se.OnPush=0]="OnPush",se[se.Default=1]="Default",se))(),Fe=(()=>{return(l=Fe||(Fe={}))[l.Emulated=0]="Emulated",l[l.None=2]="None",l[l.ShadowDom=3]="ShadowDom",Fe;var l})();const Te="undefined"!=typeof globalThis&&globalThis,We="undefined"!=typeof window&&window,Pt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Nt=Te||"undefined"!=typeof global&&global||We||Pt,ht={},Ke=[],$n=E({\u0275cmp:E}),Kt=E({\u0275dir:E}),vt=E({\u0275pipe:E}),gs=E({\u0275mod:E}),ss=E({\u0275fac:E}),Xn=E({__NG_ELEMENT_ID__:E});let Qc=0;function Oo(l){return te(()=>{const f={},p={type:l.type,providersResolver:null,decls:l.decls,vars:l.vars,factory:null,template:l.template||null,consts:l.consts||null,ngContentSelectors:l.ngContentSelectors,hostBindings:l.hostBindings||null,hostVars:l.hostVars||0,hostAttrs:l.hostAttrs||null,contentQueries:l.contentQueries||null,declaredInputs:f,inputs:null,outputs:null,exportAs:l.exportAs||null,onPush:l.changeDetection===se.OnPush,directiveDefs:null,pipeDefs:null,selectors:l.selectors||Ke,viewQuery:l.viewQuery||null,features:l.features||null,data:l.data||{},encapsulation:l.encapsulation||Fe.Emulated,id:"c",styles:l.styles||Ke,_:null,setInput:null,schemas:l.schemas||null,tView:null},m=l.directives,y=l.features,C=l.pipes;return p.id+=Qc++,p.inputs=D(l.inputs,f),p.outputs=D(l.outputs),y&&y.forEach(k=>k(p)),p.directiveDefs=m?()=>("function"==typeof m?m():m).map(fo):null,p.pipeDefs=C?()=>("function"==typeof C?C():C).map(ms):null,p})}function fo(l){return hn(l)||function Qe(l){return l[Kt]||null}(l)}function ms(l){return function ei(l){return l[vt]||null}(l)}const gr={};function mr(l){return te(()=>{const d={type:l.type,bootstrap:l.bootstrap||Ke,declarations:l.declarations||Ke,imports:l.imports||Ke,exports:l.exports||Ke,transitiveCompileScopes:null,schemas:l.schemas||null,id:l.id||null};return null!=l.id&&(gr[l.id]=l.type),d})}function D(l,d){if(null==l)return ht;const f={};for(const p in l)if(l.hasOwnProperty(p)){let m=l[p],y=m;Array.isArray(m)&&(y=m[1],m=m[0]),f[m]=p,d&&(d[m]=y)}return f}const Ne=Oo;function Ti(l){return{type:l.type,name:l.name,factory:null,pure:!1!==l.pure,onDestroy:l.type.prototype.ngOnDestroy||null}}function hn(l){return l[$n]||null}function wt(l,d){const f=l[gs]||null;if(!f&&!0===d)throw new Error(`Type ${I(l)} does not have '\u0275mod' property.`);return f}function Fn(l){return Array.isArray(l)&&"object"==typeof l[1]}function rs(l){return Array.isArray(l)&&!0===l[1]}function Ua(l){return 0!=(8&l.flags)}function No(l){return 2==(2&l.flags)}function go(l){return 1==(1&l.flags)}function as(l){return null!==l.template}function yr(l){return 0!=(512&l[2])}function qn(l,d){return l.hasOwnProperty(ss)?l[ss]:null}class Mu{constructor(d,f,p){this.previousValue=d,this.currentValue=f,this.firstChange=p}isFirstChange(){return this.firstChange}}function ct(){return Ii}function Ii(l){return l.type.prototype.ngOnChanges&&(l.setInput=Jr),Zt}function Zt(){const l=bs(this),d=null==l?void 0:l.current;if(d){const f=l.previous;if(f===ht)l.previous=d;else for(let p in d)f[p]=d[p];l.current=null,this.ngOnChanges(d)}}function Jr(l,d,f,p){const m=bs(l)||function Wa(l,d){return l[li]=d}(l,{previous:ht,current:null}),y=m.current||(m.current={}),C=m.previous,k=this.declaredInputs[f],x=C[k];y[k]=new Mu(x&&x.currentValue,d,C===ht),l[p]=d}ct.ngInherit=!0;const li="__ngSimpleChanges__";function bs(l){return l[li]||null}let _o;function il(l){_o=l}function ta(){return void 0!==_o?_o:"undefined"!=typeof document?document:void 0}function si(l){return!!l.listen}const P={createRenderer:(l,d)=>ta()};function z(l){for(;Array.isArray(l);)l=l[0];return l}function _e(l,d){return z(d[l])}function Ce(l,d){return z(d[l.index])}function ii(l,d){return l.data[d]}function qt(l,d){return l[d]}function kt(l,d){const f=d[l];return Fn(f)?f:f[0]}function Yt(l){return 4==(4&l[2])}function en(l){return 128==(128&l[2])}function Li(l,d){return null==d?null:l[d]}function bo(l){l[18]=0}function Rs(l,d){l[5]+=d;let f=l,p=l[3];for(;null!==p&&(1===d&&1===f[5]||-1===d&&0===f[5]);)p[5]+=d,f=p,p=p[3]}const lt={lFrame:Su(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Qd(){return lt.bindingsEnabled}function Ee(){return lt.lFrame.lView}function Bt(){return lt.lFrame.tView}function $a(l){return lt.lFrame.contextLView=l,l[8]}function Gi(){let l=Jd();for(;null!==l&&64===l.type;)l=l.parent;return l}function Jd(){return lt.lFrame.currentTNode}function Vs(l,d){const f=lt.lFrame;f.currentTNode=l,f.isParent=d}function cs(){return lt.lFrame.isParent}function sl(){lt.lFrame.isParent=!1}function Tu(){return lt.isInCheckNoChangesMode}function tn(l){lt.isInCheckNoChangesMode=l}function Ei(){const l=lt.lFrame;let d=l.bindingRootIndex;return-1===d&&(d=l.bindingRootIndex=l.tView.bindingStartIndex),d}function yo(){return lt.lFrame.bindingIndex}function vr(){return lt.lFrame.bindingIndex++}function Qn(l){const d=lt.lFrame,f=d.bindingIndex;return d.bindingIndex=d.bindingIndex+l,f}function gp(l,d){const f=lt.lFrame;f.bindingIndex=f.bindingRootIndex=l,Tr(d)}function Tr(l){lt.lFrame.currentDirectiveIndex=l}function qo(l){const d=lt.lFrame.currentDirectiveIndex;return-1===d?null:l[d]}function jo(){return lt.lFrame.currentQueryIndex}function Ft(l){lt.lFrame.currentQueryIndex=l}function Ja(l){const d=l[1];return 2===d.type?d.declTNode:1===d.type?l[6]:null}function ol(l,d,f){if(f&pe.SkipSelf){let m=d,y=l;for(;!(m=m.parent,null!==m||f&pe.Host||(m=Ja(y),null===m||(y=y[15],10&m.type))););if(null===m)return!1;d=m,l=y}const p=lt.lFrame=rl();return p.currentTNode=d,p.lView=l,!0}function ys(l){const d=rl(),f=l[1];lt.lFrame=d,d.currentTNode=f.firstChild,d.lView=l,d.tView=f,d.contextLView=l,d.bindingIndex=f.bindingStartIndex,d.inI18n=!1}function rl(){const l=lt.lFrame,d=null===l?null:l.child;return null===d?Su(l):d}function Su(l){const d={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:l,child:null,inI18n:!1};return null!==l&&(l.child=d),d}function Eu(){const l=lt.lFrame;return lt.lFrame=l.parent,l.currentTNode=null,l.lView=null,l}const ih=Eu;function Cr(){const l=Eu();l.isParent=!0,l.tView=null,l.selectedIndex=-1,l.contextLView=null,l.elementDepthCount=0,l.currentDirectiveIndex=-1,l.currentNamespace=null,l.bindingRootIndex=-1,l.bindingIndex=-1,l.currentQueryIndex=0}function pn(){return lt.lFrame.selectedIndex}function Yo(l){lt.lFrame.selectedIndex=l}function Ri(){const l=lt.lFrame;return ii(l.tView,l.selectedIndex)}function tc(){lt.lFrame.currentNamespace="svg"}function Du(){!function mp(){lt.lFrame.currentNamespace=null}()}function Uo(l,d){for(let f=d.directiveStart,p=d.directiveEnd;f=p)break}else d[x]<0&&(l[18]+=65536),(k>11>16&&(3&l[2])===d){l[2]+=2048;try{y.call(k)}finally{}}}else try{y.call(k)}finally{}}class Er{constructor(d,f,p){this.factory=d,this.resolving=!1,this.canSeeViewProviders=f,this.injectImpl=p}}function ul(l,d,f){const p=si(l);let m=0;for(;md){C=y-1;break}}}for(;y>16}(l),p=d;for(;f>0;)p=p[15],f--;return p}let Ru=!0;function hl(l){const d=Ru;return Ru=l,d}let fl=0;function Dr(l,d){const f=$s(l,d);if(-1!==f)return f;const p=d[1];p.firstCreatePass&&(l.injectorIndex=d.length,sa(p.data,l),sa(d,null),sa(p.blueprint,null));const m=xr(l,d),y=l.injectorIndex;if(kr(m)){const C=Go(m),k=Zs(m,d),x=k[1].data;for(let H=0;H<8;H++)d[y+H]=k[C+H]|x[C+H]}return d[y+8]=m,y}function sa(l,d){l.push(0,0,0,0,0,0,0,0,d)}function $s(l,d){return-1===l.injectorIndex||l.parent&&l.parent.injectorIndex===l.injectorIndex||null===d[l.injectorIndex+8]?-1:l.injectorIndex}function xr(l,d){if(l.parent&&-1!==l.parent.injectorIndex)return l.parent.injectorIndex;let f=0,p=null,m=d;for(;null!==m;){const y=m[1],C=y.type;if(p=2===C?y.declTNode:1===C?m[6]:null,null===p)return-1;if(f++,m=m[15],-1!==p.injectorIndex)return p.injectorIndex|f<<16}return-1}function oc(l,d,f){!function Ou(l,d,f){let p;"string"==typeof f?p=f.charCodeAt(0)||0:f.hasOwnProperty(Xn)&&(p=f[Xn]),null==p&&(p=f[Xn]=fl++);const m=255&p;d.data[l+(m>>5)]|=1<=0?255&d:wp:d}(f);if("function"==typeof y){if(!ol(d,l,p))return p&pe.Host?pl(m,f,p):ra(d,f,p,m);try{const C=y(p);if(null!=C||p&pe.Optional)return C;Lt(f)}finally{ih()}}else if("number"==typeof y){let C=null,k=$s(l,d),x=-1,H=p&pe.Host?d[16][6]:null;for((-1===k||p&pe.SkipSelf)&&(x=-1===k?xr(l,d):d[k+8],-1!==x&&ml(p,!1)?(C=d[1],k=Go(x),d=Zs(x,d)):k=-1);-1!==k;){const j=d[1];if(ch(y,k,j.data)){const J=ah(k,d,f,C,p,H);if(J!==gl)return J}x=d[k+8],-1!==x&&ml(p,d[1].data[k+8]===H)&&ch(y,k,d)?(C=j,k=Go(x),d=Zs(x,d)):k=-1}}}return ra(d,f,p,m)}const gl={};function wp(){return new ls(Gi(),Ee())}function ah(l,d,f,p,m,y){const C=d[1],k=C.data[l+8],j=rc(k,C,f,null==p?No(k)&&Ru:p!=C&&0!=(3&k.type),m&pe.Host&&y===k);return null!==j?ac(d,C,j,k):gl}function rc(l,d,f,p,m){const y=l.providerIndexes,C=d.data,k=1048575&y,x=l.directiveStart,j=y>>20,ne=m?k+j:l.directiveEnd;for(let ue=p?k:k+j;ue=x&&we.type===f)return ue}if(m){const ue=C[x];if(ue&&as(ue)&&ue.type===f)return x}return null}function ac(l,d,f,p){let m=l[f];const y=d.data;if(function xu(l){return l instanceof Er}(m)){const C=m;C.resolving&&function Be(l,d){const f=d?`. Dependency path: ${d.join(" > ")} > ${l}`:"";throw new ee(-200,`Circular dependency in DI detected for ${l}${f}`)}(He(y[f]));const k=hl(C.canSeeViewProviders);C.resolving=!0;const x=C.injectImpl?nt(C.injectImpl):null;ol(l,p,pe.Default);try{m=l[f]=C.factory(void 0,y,l,p),d.firstCreatePass&&f>=p.directiveStart&&function Sr(l,d,f){const{ngOnChanges:p,ngOnInit:m,ngDoCheck:y}=d.type.prototype;if(p){const C=Ii(d);(f.preOrderHooks||(f.preOrderHooks=[])).push(l,C),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,C)}m&&(f.preOrderHooks||(f.preOrderHooks=[])).push(0-l,m),y&&((f.preOrderHooks||(f.preOrderHooks=[])).push(l,y),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,y))}(f,y[f],d)}finally{null!==x&&nt(x),hl(k),C.resolving=!1,ih()}}return m}function ch(l,d,f){return!!(f[d+(l>>5)]&1<{const d=l.prototype.constructor,f=d[ss]||wo(d),p=Object.prototype;let m=Object.getPrototypeOf(l.prototype).constructor;for(;m&&m!==p;){const y=m[ss]||wo(m);if(y&&y!==f)return y;m=Object.getPrototypeOf(m)}return y=>new y})}function wo(l){return Q(l)?()=>{const d=wo(X(l));return d&&d()}:qn(l)}function Pu(l){return function oa(l,d){if("class"===d)return l.classes;if("style"===d)return l.styles;const f=l.attrs;if(f){const p=f.length;let m=0;for(;m{const p=function Lr(l){return function(...f){if(l){const p=l(...f);for(const m in p)this[m]=p[m]}}}(d);function m(...y){if(this instanceof m)return p.apply(this,y),this;const C=new m(...y);return k.annotation=C,k;function k(x,H,j){const J=x.hasOwnProperty(ca)?x[ca]:Object.defineProperty(x,ca,{value:[]})[ca];for(;J.length<=j;)J.push(null);return(J[j]=J[j]||[]).push(C),x}}return f&&(m.prototype=Object.create(f.prototype)),m.prototype.ngMetadataName=l,m.annotationCls=m,m})}class Bi{constructor(d,f){this._desc=d,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof f?this.__NG_ELEMENT_ID__=f:void 0!==f&&(this.\u0275prov=ai({token:this,providedIn:f.providedIn||"root",factory:f.factory}))}toString(){return`InjectionToken ${this._desc}`}}const bl=new Bi("AnalyzeForEntryComponents");function jn(l,d){void 0===d&&(d=l);for(let f=0;fArray.isArray(f)?ws(f,d):d(f))}function Nu(l,d,f){d>=l.length?l.push(f):l.splice(d,0,f)}function Vo(l,d){return d>=l.length-1?l.pop():l.splice(d,1)[0]}function fa(l,d){const f=[];for(let p=0;p=0?l[1|p]=f:(p=~p,function Ep(l,d,f,p){let m=l.length;if(m==d)l.push(f,p);else if(1===m)l.push(p,l[0]),l[0]=f;else{for(m--,l.push(l[m-1],l[m]);m>d;)l[m]=l[m-2],m--;l[d]=f,l[d+1]=p}}(l,p,d,f)),p}function lc(l,d){const f=Or(l,d);if(f>=0)return l[1|f]}function Or(l,d){return function Wo(l,d,f){let p=0,m=l.length>>f;for(;m!==p;){const y=p+(m-p>>1),C=l[y<d?m=y:p=y+1}return~(m<({token:l})),-1),Pr=Tl(da("Optional"),8),_a=Tl(da("SkipSelf"),4);let Ut,oe;function S(l){var d;return(null===(d=function b(){if(void 0===Ut&&(Ut=null,Nt.trustedTypes))try{Ut=Nt.trustedTypes.createPolicy("angular",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return Ut}())||void 0===d?void 0:d.createHTML(l))||l}function rt(l){var d;return(null===(d=function be(){if(void 0===oe&&(oe=null,Nt.trustedTypes))try{oe=Nt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return oe}())||void 0===d?void 0:d.createHTML(l))||l}class Ni{constructor(d){this.changingThisBreaksApplicationSecurity=d}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Zo extends Ni{getTypeName(){return"HTML"}}class es extends Ni{getTypeName(){return"Style"}}class H1 extends Ni{getTypeName(){return"Script"}}class Zy extends Ni{getTypeName(){return"URL"}}class $y extends Ni{getTypeName(){return"ResourceURL"}}function Qs(l){return l instanceof Ni?l.changingThisBreaksApplicationSecurity:l}function Cl(l,d){const f=B1(l);if(null!=f&&f!==d){if("ResourceURL"===f&&"URL"===d)return!0;throw new Error(`Required a safe ${d}, got a ${f} (see https://g.co/ng/security#xss)`)}return f===d}function B1(l){return l instanceof Ni&&l.getTypeName()||null}function Xy(l){return new Zo(l)}function F1(l){return new es(l)}function Qy(l){return new H1(l)}function Jy(l){return new Zy(l)}function eA(l){return new $y(l)}class tA{constructor(d){this.inertDocumentHelper=d}getInertBodyElement(d){d=""+d;try{const f=(new window.DOMParser).parseFromString(S(d),"text/html").body;return null===f?this.inertDocumentHelper.getInertBodyElement(d):(f.removeChild(f.firstChild),f)}catch(f){return null}}}class iA{constructor(d){if(this.defaultDoc=d,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const f=this.inertDocument.createElement("html");this.inertDocument.appendChild(f);const p=this.inertDocument.createElement("body");f.appendChild(p)}}getInertBodyElement(d){const f=this.inertDocument.createElement("template");if("content"in f)return f.innerHTML=S(d),f;const p=this.inertDocument.createElement("body");return p.innerHTML=S(d),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(p),p}stripCustomNsAttrs(d){const f=d.attributes;for(let m=f.length-1;0qe(d.trim())).join(", ")),this.buf.push(" ",C,'="',U1(x),'"')}var l;return this.buf.push(">"),!0}endElement(d){const f=d.nodeName.toLowerCase();vo.hasOwnProperty(f)&&!rn.hasOwnProperty(f)&&(this.buf.push(""))}chars(d){this.buf.push(U1(d))}checkClobberedElement(d,f){if(f&&(d.compareDocumentPosition(f)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${d.outerHTML}`);return f}}const oA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Y1=/([^\#-~ |!])/g;function U1(l){return l.replace(/&/g,"&").replace(oA,function(d){return"&#"+(1024*(d.charCodeAt(0)-55296)+(d.charCodeAt(1)-56320)+65536)+";"}).replace(Y1,function(d){return"&#"+d.charCodeAt(0)+";"}).replace(//g,">")}let vh;function Gu(l,d){let f=null;try{vh=vh||function Ah(l){const d=new iA(l);return function q1(){try{return!!(new window.DOMParser).parseFromString(S(""),"text/html")}catch(l){return!1}}()?new tA(d):d}(l);let p=d?String(d):"";f=vh.getInertBodyElement(p);let m=5,y=p;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,p=y,y=f.innerHTML,f=vh.getInertBodyElement(p)}while(p!==y);return S((new qp).sanitizeChildren(Th(f)||f))}finally{if(f){const p=Th(f)||f;for(;p.firstChild;)p.removeChild(p.firstChild)}}}function Th(l){return"content"in l&&function G1(l){return l.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===l.nodeName}(l)?l.content:null}var mn=(()=>((mn=mn||{})[mn.NONE=0]="NONE",mn[mn.HTML=1]="HTML",mn[mn.STYLE=2]="STYLE",mn[mn.SCRIPT=3]="SCRIPT",mn[mn.URL=4]="URL",mn[mn.RESOURCE_URL=5]="RESOURCE_URL",mn))();function V1(l){const d=Ku();return d?rt(d.sanitize(mn.HTML,l)||""):Cl(l,"HTML")?rt(Qs(l)):Gu(ta(),he(l))}function Vu(l){const d=Ku();return d?d.sanitize(mn.URL,l)||"":Cl(l,"URL")?Qs(l):qe(he(l))}function Ku(){const l=Ee();return l&&l[12]}const X1="__ngContext__";function Dn(l,d){l[X1]=d}function Aa(l){const d=function gi(l){return l[X1]||null}(l);return d?Array.isArray(d)?d:d.lView:null}function El(l){return l.ngOriginalError}function Js(l,...d){l.error(...d)}class fc{constructor(){this._console=console}handleError(d){const f=this._findOriginalError(d),p=function Up(l){return l&&l.ngErrorLogger||Js}(d);p(this._console,"ERROR",d),f&&p(this._console,"ORIGINAL ERROR",f)}_findOriginalError(d){let f=d&&El(d);for(;f&&El(f);)f=El(f);return f||null}}const _A=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Nt))();function bA(l){return l.ownerDocument.defaultView}function vs(l){return l instanceof Function?l():l}var Nr=(()=>((Nr=Nr||{})[Nr.Important=1]="Important",Nr[Nr.DashCase=2]="DashCase",Nr))();function im(l,d){return undefined(l,d)}function Ch(l){const d=l[3];return rs(d)?d[3]:d}function nm(l){return vA(l[13])}function sm(l){return vA(l[4])}function vA(l){for(;null!==l&&!rs(l);)l=l[4];return l}function Hr(l,d,f,p,m){if(null!=p){let y,C=!1;rs(p)?y=p:Fn(p)&&(C=!0,p=p[0]);const k=z(p);0===l&&null!==f?null==m?kA(d,f,k):Br(d,f,k,m||null,!0):1===l&&null!==f?Br(d,f,k,m||null,!0):2===l?function Ta(l,d,f){const p=Eh(l,d);p&&function DA(l,d,f,p){si(l)?l.removeChild(d,f,p):d.removeChild(f)}(l,p,d,f)}(d,k,C):3===l&&d.destroyNode(k),null!=y&&function KT(l,d,f,p,m){const y=f[7];y!==z(f)&&Hr(d,l,p,y,m);for(let k=10;k0&&(l[f-1][4]=p[4]);const y=Vo(l,10+d);!function TA(l,d){So(l,d,d[11],2,null,null),d[0]=null,d[6]=null}(p[1],p);const C=y[19];null!==C&&C.detachView(y[1]),p[3]=null,p[4]=null,p[2]&=-129}return p}function Oi(l,d){if(!(256&d[2])){const f=d[11];si(f)&&f.destroyNode&&So(l,d,f,3,null,null),function GT(l){let d=l[13];if(!d)return Wp(l[1],l);for(;d;){let f=null;if(Fn(d))f=d[13];else{const p=d[10];p&&(f=p)}if(!f){for(;d&&!d[4]&&d!==l;)Fn(d)&&Wp(d[1],d),d=d[3];null===d&&(d=l),Fn(d)&&Wp(d[1],d),f=d&&d[4]}d=f}}(d)}}function Wp(l,d){if(!(256&d[2])){d[2]&=-129,d[2]|=256,function SA(l,d){let f;if(null!=l&&null!=(f=l.destroyHooks))for(let p=0;p=0?p[m=H]():p[m=-H].unsubscribe(),y+=2}else{const C=p[m=f[y+1]];f[y].call(C)}if(null!==p){for(let y=m+1;yy?"":m[J+1].toLowerCase();const ue=8&p?ne:null;if(ue&&-1!==IA(ue,H,0)||2&p&&H!==ne){if(Eo(p))return!1;C=!0}}}}else{if(!C&&!Eo(p)&&!Eo(x))return!1;if(C&&Eo(x))continue;C=!1,p=x|1&p}}return Eo(p)||C}function Eo(l){return 0==(1&l)}function QT(l,d,f,p){if(null===d)return-1;let m=0;if(p||!f){let y=!1;for(;m-1)for(f++;f0?'="'+k+'"':"")+"]"}else 8&p?m+="."+C:4&p&&(m+=" "+C);else""!==m&&!Eo(C)&&(d+=FA(y,m),m=""),p=C,y=y||!Eo(p);f++}return""!==m&&(d+=FA(y,m)),d}const Ot={};function qA(l){jA(Bt(),Ee(),pn()+l,Tu())}function jA(l,d,f,p){if(!p)if(3==(3&d[2])){const y=l.preOrderCheckHooks;null!==y&&al(d,y,f)}else{const y=l.preOrderHooks;null!==y&&ic(d,y,0,f)}Yo(f)}function $p(l,d){return l<<17|d<<2}function Qo(l){return l>>17&32767}function hm(l){return 2|l}function Ca(l){return(131068&l)>>2}function fm(l,d){return-131069&l|d<<2}function pm(l){return 1|l}function JA(l,d){const f=l.contentQueries;if(null!==f)for(let p=0;p20&&jA(l,d,20,Tu()),f(p,m)}finally{Yo(y)}}function tw(l,d,f){if(Ua(d)){const m=d.directiveEnd;for(let y=d.directiveStart;y0;){const f=l[--d];if("number"==typeof f&&f<0)return f}return 0})(k)!=x&&k.push(x),k.push(p,m,C)}}function Lm(l,d){null!==l.hostBindings&&l.hostBindings(1,d)}function og(l,d){d.flags|=2,(l.components||(l.components=[])).push(d.index)}function Om(l,d,f){if(f){if(d.exportAs)for(let p=0;p0&&cg(f)}}function cg(l){for(let p=nm(l);null!==p;p=sm(p))for(let m=10;m0&&cg(y)}const f=l[1].components;if(null!==f)for(let p=0;p0&&cg(m)}}function Ll(l,d){const f=kt(d,l),p=f[1];(function TC(l,d){for(let f=d.length;fPromise.resolve(null))();function nd(l){return l[7]||(l[7]=[])}function hg(l){return l.cleanup||(l.cleanup=[])}function Fm(l,d,f){return(null===l||as(l))&&(f=function V(l){for(;Array.isArray(l);){if("object"==typeof l[1])return l;l=l[0]}return null}(f[d.index])),f[11]}function qm(l,d){const f=l[9],p=f?f.get(fc,null):null;p&&p.handleError(d)}function sd(l,d,f,p,m){for(let y=0;ythis.processProvider(k,d,f)),ws([d],k=>this.processInjectorType(k,[],y)),this.records.set(rd,yc(void 0,this));const C=this.records.get(Oh);this.scope=null!=C?C.value:null,this.source=m||("object"==typeof d?null:I(d))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(d=>d.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(d,f=pa,p=pe.Default){this.assertNotDestroyed();const m=Xs(this),y=nt(void 0);try{if(!(p&pe.SkipSelf)){let k=this.records.get(d);if(void 0===k){const x=function EC(l){return"function"==typeof l||"object"==typeof l&&l instanceof Bi}(d)&&di(d);k=x&&this.injectableDefInScope(x)?yc(pg(d),Ol):null,this.records.set(d,k)}if(null!=k)return this.hydrate(d,k)}return(p&pe.Self?zh():this.parent).get(d,f=p&pe.Optional&&f===pa?null:f)}catch(C){if("NullInjectorError"===C.name){if((C[wl]=C[wl]||[]).unshift(I(d)),m)throw C;return function mh(l,d,f,p){const m=l[wl];throw d[Ml]&&m.unshift(d[Ml]),l.message=function _h(l,d,f,p=null){l=l&&"\n"===l.charAt(0)&&"\u0275"==l.charAt(1)?l.substr(2):l;let m=I(d);if(Array.isArray(d))m=d.map(I).join(" -> ");else if("object"==typeof d){let y=[];for(let C in d)if(d.hasOwnProperty(C)){let k=d[C];y.push(C+":"+("string"==typeof k?JSON.stringify(k):I(k)))}m=`{${y.join(", ")}}`}return`${f}${p?"("+p+")":""}[${m}]: ${l.replace(Dp,"\n ")}`}("\n"+l.message,m,f,p),l.ngTokenPath=m,l[wl]=null,l}(C,d,"R3InjectorError",this.source)}throw C}finally{nt(y),Xs(m)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(d=>this.get(d))}toString(){const d=[];return this.records.forEach((p,m)=>d.push(I(m))),`R3Injector[${d.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ee(205,!1)}processInjectorType(d,f,p){if(!(d=X(d)))return!1;let m=uo(d);const y=null==m&&d.ngModule||void 0,C=void 0===y?d:y,k=-1!==p.indexOf(C);if(void 0!==y&&(m=uo(y)),null==m)return!1;if(null!=m.imports&&!k){let j;p.push(C);try{ws(m.imports,J=>{this.processInjectorType(J,f,p)&&(void 0===j&&(j=[]),j.push(J))})}finally{}if(void 0!==j)for(let J=0;Jthis.processProvider(we,ne,ue||Ke))}}this.injectorDefTypes.add(C);const x=qn(C)||(()=>new C);this.records.set(C,yc(x,Ol));const H=m.providers;if(null!=H&&!k){const j=d;ws(H,J=>this.processProvider(J,j,H))}return void 0!==y&&void 0!==d.providers}processProvider(d,f,p){let m=Pl(d=X(d))?d:X(d&&d.provide);const y=function pw(l,d,f){return gg(l)?yc(void 0,l.useValue):yc(Vm(l),Ol)}(d);if(Pl(d)||!0!==d.multi)this.records.get(m);else{let C=this.records.get(m);C||(C=yc(void 0,Ol,!0),C.factory=()=>vl(C.multi),this.records.set(m,C)),m=d,C.multi.push(d)}this.records.set(m,y)}hydrate(d,f){return f.value===Ol&&(f.value=Ph,f.value=f.factory()),"object"==typeof f.value&&f.value&&function SC(l){return null!==l&&"object"==typeof l&&"function"==typeof l.ngOnDestroy}(f.value)&&this.onDestroy.add(f.value),f.value}injectableDefInScope(d){if(!d.providedIn)return!1;const f=X(d.providedIn);return"string"==typeof f?"any"===f||f===this.scope:this.injectorDefTypes.has(f)}}function pg(l){const d=di(l),f=null!==d?d.factory:qn(l);if(null!==f)return f;if(l instanceof Bi)throw new ee(204,!1);if(l instanceof Function)return function fw(l){const d=l.length;if(d>0)throw fa(d,"?"),new ee(204,!1);const f=function dn(l){const d=l&&(l[js]||l[le]);if(d){const f=function lo(l){if(l.hasOwnProperty("name"))return l.name;const d=(""+l).match(/^function\s*([^\s(]+)/);return null===d?"":d[1]}(l);return console.warn(`DEPRECATED: DI is instantiating a token "${f}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${f}" class.`),d}return null}(l);return null!==f?()=>f.factory(l):()=>new l}(l);throw new ee(204,!1)}function Vm(l,d,f){let p;if(Pl(l)){const m=X(l);return qn(m)||pg(m)}if(gg(l))p=()=>X(l.useValue);else if(function mw(l){return!(!l||!l.useFactory)}(l))p=()=>l.useFactory(...vl(l.deps||[]));else if(function gw(l){return!(!l||!l.useExisting)}(l))p=()=>gn(X(l.useExisting));else{const m=X(l&&(l.useClass||l.provide));if(!function Wm(l){return!!l.deps}(l))return qn(m)||pg(m);p=()=>new m(...vl(l.deps))}return p}function yc(l,d,f=!1){return{factory:l,value:d,multi:f?[]:void 0}}function gg(l){return null!==l&&"object"==typeof l&&xp in l}function Pl(l){return"function"==typeof l}let ko=(()=>{class l{static create(f,p){var m;if(Array.isArray(f))return Um({name:""},p,f,"");{const y=null!==(m=f.name)&&void 0!==m?m:"";return Um({name:y},f.parent,f.providers,y)}}}return l.THROW_IF_NOT_FOUND=pa,l.NULL=new fg,l.\u0275prov=ai({token:l,providedIn:"any",factory:()=>gn(rd)}),l.__NG_ELEMENT_ID__=-1,l})();function mi(l,d){Uo(Aa(l)[1],Gi())}function Ih(l){let d=function bg(l){return Object.getPrototypeOf(l.prototype).constructor}(l.type),f=!0;const p=[l];for(;d;){let m;if(as(l))m=d.\u0275cmp||d.\u0275dir;else{if(d.\u0275cmp)throw new ee(903,"");m=d.\u0275dir}if(m){if(f){p.push(m);const C=l;C.inputs=xt(l.inputs),C.declaredInputs=xt(l.declaredInputs),C.outputs=xt(l.outputs);const k=m.hostBindings;k&&xC(l,k);const x=m.viewQuery,H=m.contentQueries;if(x&&Ac(l,x),H&&St(l,H),L(l.inputs,m.inputs),L(l.declaredInputs,m.declaredInputs),L(l.outputs,m.outputs),as(m)&&m.data.animation){const j=l.data;j.animation=(j.animation||[]).concat(m.data.animation)}}const y=m.features;if(y)for(let C=0;C=0;p--){const m=l[p];m.hostVars=d+=m.hostVars,m.hostAttrs=ia(m.hostAttrs,f=ia(f,m.hostAttrs))}}(p)}function xt(l){return l===ht?{}:l===Ke?[]:l}function Ac(l,d){const f=l.viewQuery;l.viewQuery=f?(p,m)=>{d(p,m),f(p,m)}:d}function St(l,d){const f=l.contentQueries;l.contentQueries=f?(p,m,y)=>{d(p,m,y),f(p,m,y)}:d}function xC(l,d){const f=l.hostBindings;l.hostBindings=f?(p,m)=>{d(p,m),f(p,m)}:d}let yg=null;function wc(){if(!yg){const l=Nt.Symbol;if(l&&l.iterator)yg=l.iterator;else{const d=Object.getOwnPropertyNames(Map.prototype);for(let f=0;fk(z(Xt[p.index])):p.index;if(si(f)){let Xt=null;if(!k&&x&&(Xt=function zC(l,d,f,p){const m=l.cleanup;if(null!=m)for(let y=0;yx?k[x]:null}"string"==typeof C&&(y+=2)}return null}(l,d,m,p.index)),null!==Xt)(Xt.__ngLastListenerFn__||Xt).__ngNextListenerFn__=y,Xt.__ngLastListenerFn__=y,ue=!1;else{y=Pg(p,d,J,y,!1);const _i=f.listen(tt,m,y);ne.push(y,_i),j&&j.push(m,dt,Se,Se+1)}}else y=Pg(p,d,J,y,!0),tt.addEventListener(m,y,C),ne.push(y),j&&j.push(m,dt,Se,C)}else y=Pg(p,d,J,y,!1);const we=p.outputs;let Ie;if(ue&&null!==we&&(Ie=we[m])){const Ye=Ie.length;if(Ye)for(let tt=0;tt0;)d=d[15],l--;return d}(l,lt.lFrame.contextLView))[8]}(l)}function Ig(l,d){let f=null;const p=function JT(l){const d=l.attrs;if(null!=d){const f=d.indexOf(5);if(0==(1&f))return d[f+1]}return null}(l);for(let m=0;m=0}const vn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ns(l){return l.substring(vn.key,vn.keyEnd)}function ef(l,d){const f=vn.textEnd;return f===d?-1:(d=vn.keyEnd=function qw(l,d,f){for(;d32;)d++;return d}(l,vn.key=d,f),Vl(l,d,f))}function Vl(l,d,f){for(;d=0;f=ef(d,f))us(l,Ns(d),!0)}function io(l,d,f,p){const m=Ee(),y=Bt(),C=Qn(2);y.firstUpdatePass&&L_(y,l,C,p),d!==Ot&&Ln(m,C,d)&&Kg(y,y.data[pn()],m,m[11],l,m[C+1]=function Ww(l,d){return null==l||("string"==typeof d?l+=d:"object"==typeof l&&(l=I(Qs(l)))),l}(d,f),p,C)}function Es(l,d,f,p){const m=Bt(),y=Qn(2);m.firstUpdatePass&&L_(m,null,y,p);const C=Ee();if(f!==Ot&&Ln(C,y,f)){const k=m.data[pn()];if(P_(k,p)&&!x_(m,y)){let x=p?k.classesWithoutHost:k.stylesWithoutHost;null!==x&&(f=B(x,f||"")),Ul(m,k,C,f,p)}else!function sf(l,d,f,p,m,y,C,k){m===Ot&&(m=Ke);let x=0,H=0,j=0=l.expandoStartIndex}function L_(l,d,f,p){const m=l.data;if(null===m[f+1]){const y=m[pn()],C=x_(l,f);P_(y,p)&&null===d&&!C&&(d=!1),d=function Gg(l,d,f,p){const m=qo(l);let y=p?d.residualClasses:d.residualStyles;if(null===m)0===(p?d.classBindings:d.styleBindings)&&(f=yd(f=Vg(null,l,d,f,p),d.attrs,p),y=null);else{const C=d.directiveStylingLast;if(-1===C||l[C]!==m)if(f=Vg(m,l,d,f,p),null===y){let x=function Uw(l,d,f){const p=f?d.classBindings:d.styleBindings;if(0!==Ca(p))return l[Qo(p)]}(l,d,p);void 0!==x&&Array.isArray(x)&&(x=Vg(null,l,d,x[1],p),x=yd(x,d.attrs,p),function R_(l,d,f,p){l[Qo(f?d.classBindings:d.styleBindings)]=p}(l,d,p,x))}else y=function Gw(l,d,f){let p;const m=d.directiveEnd;for(let y=1+d.directiveStylingLast;y0)&&(H=!0)}else j=f;if(m)if(0!==x){const ne=Qo(l[k+1]);l[p+1]=$p(ne,k),0!==ne&&(l[ne+1]=fm(l[ne+1],p)),l[k+1]=function oC(l,d){return 131071&l|d<<17}(l[k+1],p)}else l[p+1]=$p(k,0),0!==k&&(l[k+1]=fm(l[k+1],p)),k=p;else l[p+1]=$p(x,0),0===k?k=p:l[x+1]=fm(l[x+1],p),x=p;H&&(l[p+1]=hm(l[p+1])),C_(l,j,p,!0),C_(l,j,p,!1),function Bw(l,d,f,p,m){const y=m?l.residualClasses:l.residualStyles;null!=y&&"string"==typeof d&&Or(y,d)>=0&&(f[p+1]=pm(f[p+1]))}(d,j,l,p,y),C=$p(k,x),y?d.classBindings=C:d.styleBindings=C}(m,y,d,f,C,p)}}function Vg(l,d,f,p,m){let y=null;const C=f.directiveEnd;let k=f.directiveStylingLast;for(-1===k?k=f.directiveStart:k++;k0;){const x=l[m],H=Array.isArray(x),j=H?x[1]:x,J=null===j;let ne=f[m+1];ne===Ot&&(ne=J?Ke:void 0);let ue=J?lc(ne,p):j===p?ne:void 0;if(H&&!Ad(ue)&&(ue=lc(x,p)),Ad(ue)&&(k=ue,C))return k;const we=l[m+1];m=C?Qo(we):Ca(we)}if(null!==d){let x=y?d.residualClasses:d.residualStyles;null!=x&&(k=lc(x,p))}return k}function Ad(l){return void 0!==l}function P_(l,d){return 0!=(l.flags&(d?16:32))}function z_(l,d=""){const f=Ee(),p=Bt(),m=l+20,y=p.firstCreatePass?Xu(p,m,1,d,null):p.data[m],C=f[m]=function Ma(l,d){return si(l)?l.createText(d):l.createTextNode(d)}(f[11],d);Kp(p,f,C,y),Vs(y,!1)}function Zg(l){return rf("",l,""),Zg}function rf(l,d,f){const p=Ee(),m=Mc(p,l,d,f);return m!==Ot&&Sa(p,pn(),m),rf}function $g(l,d,f,p,m){const y=Ee(),C=dd(y,l,d,f,p,m);return C!==Ot&&Sa(y,pn(),C),$g}function af(l,d,f,p,m,y,C,k,x,H,j){const J=Ee(),ne=vc(J,l,d,f,p,m,y,C,k,x,H,j);return ne!==Ot&&Sa(J,pn(),ne),af}function $w(l,d,f){Es(us,nr,Mc(Ee(),l,d,f),!0)}function t0(l,d,f){const p=Ee();return Ln(p,vr(),d)&&Ts(Bt(),Ri(),p,l,d,p[11],f,!0),t0}function lf(l,d,f){const p=Ee();if(Ln(p,vr(),d)){const y=Bt(),C=Ri();Ts(y,C,p,l,d,Fm(qo(y.data),C,p),f,!0)}return lf}const Wl=void 0;var Y_=["en",[["a","p"],["AM","PM"],Wl],[["AM","PM"],Wl,Wl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Wl,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Wl,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Wl,"{1} 'at' {0}",Wl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Kl(l){const f=Math.floor(Math.abs(l)),p=l.toString().replace(/^[^.]*\.?/,"").length;return 1===f&&0===p?1:5}];let kc={};function Zl(l){const d=function V_(l){return l.toLowerCase().replace(/_/g,"-")}(l);let f=U_(d);if(f)return f;const p=d.split("-")[0];if(f=U_(p),f)return f;if("en"===p)return Y_;throw new Error(`Missing locale data for the locale "${l}".`)}function n0(l){return Zl(l)[ft.PluralCase]}function U_(l){return l in kc||(kc[l]=Nt.ng&&Nt.ng.common&&Nt.ng.common.locales&&Nt.ng.common.locales[l]),kc[l]}var ft=(()=>((ft=ft||{})[ft.LocaleId=0]="LocaleId",ft[ft.DayPeriodsFormat=1]="DayPeriodsFormat",ft[ft.DayPeriodsStandalone=2]="DayPeriodsStandalone",ft[ft.DaysFormat=3]="DaysFormat",ft[ft.DaysStandalone=4]="DaysStandalone",ft[ft.MonthsFormat=5]="MonthsFormat",ft[ft.MonthsStandalone=6]="MonthsStandalone",ft[ft.Eras=7]="Eras",ft[ft.FirstDayOfWeek=8]="FirstDayOfWeek",ft[ft.WeekendRange=9]="WeekendRange",ft[ft.DateFormat=10]="DateFormat",ft[ft.TimeFormat=11]="TimeFormat",ft[ft.DateTimeFormat=12]="DateTimeFormat",ft[ft.NumberSymbols=13]="NumberSymbols",ft[ft.NumberFormats=14]="NumberFormats",ft[ft.CurrencyCode=15]="CurrencyCode",ft[ft.CurrencySymbol=16]="CurrencySymbol",ft[ft.CurrencyName=17]="CurrencyName",ft[ft.Currencies=18]="Currencies",ft[ft.Directionality=19]="Directionality",ft[ft.PluralCase=20]="PluralCase",ft[ft.ExtraData=21]="ExtraData",ft))();const df="en-US";let hf=df;function m0(l,d,f,p,m){if(l=X(l),Array.isArray(l))for(let y=0;y>20;if(Pl(l)||!l.multi){const ue=new Er(x,m,xo),we=db(k,d,m?j:j+ne,J);-1===we?(oc(Dr(H,C),y,k),_0(y,l,d.length),d.push(k),H.directiveStart++,H.directiveEnd++,m&&(H.providerIndexes+=1048576),f.push(ue),C.push(ue)):(f[we]=ue,C[we]=ue)}else{const ue=db(k,d,j+ne,J),we=db(k,d,j,j+ne),Ie=ue>=0&&f[ue],Ye=we>=0&&f[we];if(m&&!Ye||!m&&!Ie){oc(Dr(H,C),y,k);const tt=function SM(l,d,f,p,m){const y=new Er(l,f,xo);return y.multi=[],y.index=d,y.componentProviders=0,zt(y,m,p&&!f),y}(m?CM:or,f.length,m,p,x);!m&&Ye&&(f[we].providerFactory=tt),_0(y,l,d.length,0),d.push(k),H.directiveStart++,H.directiveEnd++,m&&(H.providerIndexes+=1048576),f.push(tt),C.push(tt)}else _0(y,l,ue>-1?ue:we,zt(f[m?we:ue],x,!m&&p));!m&&p&&Ye&&f[we].componentProviders++}}}function _0(l,d,f,p){const m=Pl(d),y=function _w(l){return!!l.useClass}(d);if(m||y){const x=(y?X(d.useClass):d).prototype.ngOnDestroy;if(x){const H=l.destroyHooks||(l.destroyHooks=[]);if(!m&&d.multi){const j=H.indexOf(f);-1===j?H.push(f,[p,x]):H[j+1].push(p,x)}else H.push(f,x)}}}function zt(l,d,f){return f&&l.componentProviders++,l.multi.push(d)-1}function db(l,d,f,p){for(let m=f;m{f.providersResolver=(p,m)=>function TM(l,d,f){const p=Bt();if(p.firstCreatePass){const m=as(l);m0(f,p.data,p.blueprint,m,!0),m0(d,p.data,p.blueprint,m,!1)}}(p,m?m(l):l,d)}}class fb{}class DM{resolveComponentFactory(d){throw function kM(l){const d=Error(`No component factory found for ${I(l)}. Did you add it to @NgModule.entryComponents?`);return d.ngComponent=l,d}(d)}}let Td=(()=>{class l{}return l.NULL=new DM,l})();function xM(){return Xl(Gi(),Ee())}function Xl(l,d){return new Cd(Ce(l,d))}let Cd=(()=>{class l{constructor(f){this.nativeElement=f}}return l.__NG_ELEMENT_ID__=xM,l})();function LM(l){return l instanceof Cd?l.nativeElement:l}class gb{}let mb=(()=>{class l{}return l.__NG_ELEMENT_ID__=()=>function RM(){const l=Ee(),f=kt(Gi().index,l);return function Oc(l){return l[11]}(Fn(f)?f:l)}(),l})(),Sd=(()=>{class l{}return l.\u0275prov=ai({token:l,providedIn:"root",factory:()=>null}),l})();class OM{constructor(d){this.full=d,this.major=d.split(".")[0],this.minor=d.split(".")[1],this.patch=d.split(".").slice(2).join(".")}}const KC=new OM("13.2.2"),_b={};function Tf(l,d,f,p,m=!1){for(;null!==f;){const y=d[f.index];if(null!==y&&p.push(z(y)),rs(y))for(let k=10;k-1&&(cm(d,p),Vo(f,p))}this._attachedToViewContainer=!1}Oi(this._lView[1],this._lView)}onDestroy(d){Cm(this._lView[1],this._lView,null,d)}markForCheck(){Rl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ug(this._lView[1],this._lView,this.context)}checkNoChanges(){!function lw(l,d,f){tn(!0);try{ug(l,d,f)}finally{tn(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ee(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function UT(l,d){So(l,d,d[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(d){if(this._attachedToViewContainer)throw new ee(902,"");this._appRef=d}}class PM extends Ql{constructor(d){super(d),this._view=d}detectChanges(){id(this._view)}checkNoChanges(){!function uw(l){tn(!0);try{id(l)}finally{tn(!1)}}(this._view)}get context(){return null}}class rr extends Td{constructor(d){super(),this.ngModule=d}resolveComponentFactory(d){const f=hn(d);return new Cf(f,this.ngModule)}}function bb(l){const d=[];for(let f in l)l.hasOwnProperty(f)&&d.push({propName:l[f],templateName:f});return d}const ZC=new Bi("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>_A});class Cf extends fb{constructor(d,f){super(),this.componentDef=d,this.ngModule=f,this.componentType=d.type,this.selector=function nC(l){return l.map(iC).join(",")}(d.selectors),this.ngContentSelectors=d.ngContentSelectors?d.ngContentSelectors:[],this.isBoundToModule=!!f}get inputs(){return bb(this.componentDef.inputs)}get outputs(){return bb(this.componentDef.outputs)}create(d,f,p,m){const y=(m=m||this.ngModule)?function yb(l,d){return{get:(f,p,m)=>{const y=l.get(f,_b,m);return y!==_b||p===_b?y:d.get(f,p,m)}}}(d,m.injector):d,C=y.get(gb,P),k=y.get(Sd,null),x=C.createRenderer(null,this.componentDef),H=this.componentDef.selectors[0][0]||"div",j=p?function ig(l,d,f){if(si(l))return l.selectRootElement(d,f===Fe.ShadowDom);let p="string"==typeof d?l.querySelector(d):d;return p.textContent="",p}(x,p,this.componentDef.encapsulation):am(C.createRenderer(null,this.componentDef),H,function zM(l){const d=l.toLowerCase();return"svg"===d?"svg":"math"===d?"math":null}(H)),J=this.componentDef.onPush?576:528,ne=function er(l,d){return{components:[],scheduler:l||_A,clean:dg,playerHandler:d||null,flags:0}}(),ue=tg(0,null,null,1,0,null,null,null,null,null),we=Dh(null,ue,ne,J,null,null,C,x,k,y);let Ie,Ye;ys(we);try{const tt=function _g(l,d,f,p,m,y){const C=f[1];f[20]=l;const x=Xu(C,20,2,"#host",null),H=x.mergedAttrs=d.hostAttrs;null!==H&&(od(x,H,!0),null!==l&&(ul(m,l,H),null!==x.classes&&dm(m,l,x.classes),null!==x.styles&&um(m,l,x.styles)));const j=p.createRenderer(l,d),J=Dh(f,iw(d),null,d.onPush?64:16,f[20],x,p,j,y||null,null);return C.firstCreatePass&&(oc(Dr(x,f),C,d.type),og(C,x),Pm(x,f.length,1)),td(f,J),f[20]=J}(j,this.componentDef,we,C,x);if(j)if(p)ul(x,j,["ng-version",KC.full]);else{const{attrs:Se,classes:dt}=function sC(l){const d=[],f=[];let p=1,m=2;for(;p0&&dm(x,j,dt.join(" "))}if(Ye=ii(ue,20),void 0!==f){const Se=Ye.projection=[];for(let dt=0;dtx(C,d)),d.contentQueries){const x=Gi();d.contentQueries(1,C,x.directiveStart)}const k=Gi();return!y.firstCreatePass||null===d.hostBindings&&null===d.hostAttrs||(Yo(k.index),Dm(f[1],k,0,k.directiveStart,k.directiveEnd,d),Lm(d,C)),C}(tt,this.componentDef,we,ne,[mi]),Ju(ue,we,null)}finally{Cr()}return new wb(this.componentType,Ie,Xl(Ye,we),we,Ye)}}class wb extends class EM{}{constructor(d,f,p,m,y){super(),this.location=p,this._rootLView=m,this._tNode=y,this.instance=f,this.hostView=this.changeDetectorRef=new PM(m),this.componentType=d}get injector(){return new ls(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(d){this.hostView.onDestroy(d)}}class Jl{}class eu{}const Pi=new Map;class _n extends Jl{constructor(d,f){super(),this._parent=f,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new rr(this);const p=wt(d);this._bootstrapComponents=vs(p.bootstrap),this._r3Injector=Gm(d,f,[{provide:Jl,useValue:this},{provide:Td,useValue:this.componentFactoryResolver}],I(d)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(d)}get(d,f=ko.THROW_IF_NOT_FOUND,p=pe.Default){return d===ko||d===Jl||d===rd?this:this._r3Injector.get(d,f,p)}destroy(){const d=this._r3Injector;!d.destroyed&&d.destroy(),this.destroyCbs.forEach(f=>f()),this.destroyCbs=null}onDestroy(d){this.destroyCbs.push(d)}}class vb extends eu{constructor(d){super(),this.moduleType=d,null!==wt(d)&&function Sf(l){const d=new Set;!function f(p){const m=wt(p,!0),y=m.id;null!==y&&(function Mb(l,d,f){if(d&&d!==f)throw new Error(`Duplicate module registered for ${l} - ${I(d)} vs ${I(d.name)}`)}(y,Pi.get(y),p),Pi.set(y,p));const C=vs(m.imports);for(const k of C)d.has(k)||(d.add(k),f(k))}(l)}(d)}create(d){return new _n(this.moduleType,d)}}function Ef(l,d,f){const p=Ei()+l,m=Ee();return m[p]===Ot?Gn(m,p,f?d.call(f):d()):function Hl(l,d){return l[d]}(m,p)}function tu(l,d,f,p){return jr(Ee(),Ei(),l,d,f,p)}function A0(l,d,f,p,m){return w0(Ee(),Ei(),l,d,f,p,m)}function ji(l,d){const f=l[d];return f===Ot?void 0:f}function jr(l,d,f,p,m,y){const C=d+f;return Ln(l,C,m)?Gn(l,C+1,y?p.call(y,m):p(m)):ji(l,C+1)}function w0(l,d,f,p,m,y,C){const k=d+f;return Fr(l,k,m,y)?Gn(l,k+2,C?p.call(C,m,y):p(m,y)):ji(l,k+2)}function bn(l,d,f,p,m,y,C,k){const x=d+f;return function Bl(l,d,f,p,m){const y=Fr(l,d,f,p);return Ln(l,d+2,m)||y}(l,x,m,y,C)?Gn(l,x+3,k?p.call(k,m,y,C):p(m,y,C)):ji(l,x+3)}function Tn(l,d){const f=Bt();let p;const m=l+20;f.firstCreatePass?(p=function Sb(l,d){if(d)for(let f=d.length-1;f>=0;f--){const p=d[f];if(l===p.name)return p}}(d,f.pipeRegistry),f.data[m]=p,p.onDestroy&&(f.destroyHooks||(f.destroyHooks=[])).push(m,p.onDestroy)):p=f.data[m];const y=p.factory||(p.factory=qn(p.type)),C=nt(xo);try{const k=hl(!1),x=y();return hl(k),function i_(l,d,f,p){f>=l.data.length&&(l.data[f]=null,l.blueprint[f]=null),d[f]=p}(f,Ee(),m,x),x}finally{nt(C)}}function M0(l,d,f){const p=l+20,m=Ee(),y=qt(m,p);return iu(m,p)?jr(m,Ei(),d,y.transform,f,y):y.transform(f)}function v0(l,d,f,p){const m=l+20,y=Ee(),C=qt(y,m);return iu(y,m)?w0(y,Ei(),d,C.transform,f,p,C):C.transform(f,p)}function T0(l,d,f,p,m){const y=l+20,C=Ee(),k=qt(C,y);return iu(C,y)?bn(C,Ei(),d,k.transform,f,p,m,k):k.transform(f,p,m)}function iu(l,d){return l[1].data[d].pure}function nu(l){return d=>{setTimeout(l,void 0,d)}}const Lo=class Db extends _.xQ{constructor(d=!1){super(),this.__isAsync=d}emit(d){super.next(d)}subscribe(d,f,p){var m,y,C;let k=d,x=f||(()=>null),H=p;if(d&&"object"==typeof d){const J=d;k=null===(m=J.next)||void 0===m?void 0:m.bind(J),x=null===(y=J.error)||void 0===y?void 0:y.bind(J),H=null===(C=J.complete)||void 0===C?void 0:C.bind(J)}this.__isAsync&&(x=nu(x),k&&(k=nu(k)),H&&(H=nu(H)));const j=super.subscribe({next:k,error:x,complete:H});return d instanceof t.w&&d.add(j),j}};function xb(){return this._results[wc()]()}class Ed{constructor(d=!1){this._emitDistinctChangesOnly=d,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const f=wc(),p=Ed.prototype;p[f]||(p[f]=xb)}get changes(){return this._changes||(this._changes=new Lo)}get(d){return this._results[d]}map(d){return this._results.map(d)}filter(d){return this._results.filter(d)}find(d){return this._results.find(d)}reduce(d,f){return this._results.reduce(d,f)}forEach(d){this._results.forEach(d)}some(d){return this._results.some(d)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(d,f){const p=this;p.dirty=!1;const m=jn(d);(this._changesDetected=!function Sp(l,d,f){if(l.length!==d.length)return!1;for(let p=0;p{class l{}return l.__NG_ELEMENT_ID__=Rb,l})();const jM=su,Lb=class extends jM{constructor(d,f,p){super(),this._declarationLView=d,this._declarationTContainer=f,this.elementRef=p}createEmbeddedView(d){const f=this._declarationTContainer.tViews,p=Dh(this._declarationLView,f,d,16,null,f.declTNode,null,null,null,null);p[17]=this._declarationLView[this._declarationTContainer.index];const y=this._declarationLView[19];return null!==y&&(p[19]=y.createEmbeddedView(f)),Ju(f,p,d),new Ql(p)}};function Rb(){return ou(Gi(),Ee())}function ou(l,d){return 4&l.type?new Lb(d,l,Xl(l,d)):null}let kd=(()=>{class l{}return l.__NG_ELEMENT_ID__=C0,l})();function C0(){return xd(Gi(),Ee())}const Ob=kd,S0=class extends Ob{constructor(d,f,p){super(),this._lContainer=d,this._hostTNode=f,this._hostLView=p}get element(){return Xl(this._hostTNode,this._hostLView)}get injector(){return new ls(this._hostTNode,this._hostLView)}get parentInjector(){const d=xr(this._hostTNode,this._hostLView);if(kr(d)){const f=Zs(d,this._hostLView),p=Go(d);return new ls(f[1].data[p+8],f)}return new ls(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(d){const f=E0(this._lContainer);return null!==f&&f[d]||null}get length(){return this._lContainer.length-10}createEmbeddedView(d,f,p){const m=d.createEmbeddedView(f||{});return this.insert(m,p),m}createComponent(d,f,p,m,y){const C=d&&!function cc(l){return"function"==typeof l}(d);let k;if(C)k=f;else{const J=f||{};k=J.index,p=J.injector,m=J.projectableNodes,y=J.ngModuleRef}const x=C?d:new Cf(hn(d)),H=p||this.parentInjector;if(!y&&null==x.ngModule&&H){const J=H.get(Jl,null);J&&(y=J)}const j=x.create(H,m,void 0,y);return this.insert(j.hostView,k),j}insert(d,f){const p=d._lView,m=p[1];if(function Si(l){return rs(l[3])}(p)){const j=this.indexOf(d);if(-1!==j)this.detach(j);else{const J=p[3],ne=new S0(J,J[6],J[3]);ne.detach(ne.indexOf(d))}}const y=this._adjustIndex(f),C=this._lContainer;!function Vp(l,d,f,p){const m=10+p,y=f.length;p>0&&(f[m-1][4]=d),p0)p.push(C[k/2]);else{const H=y[k+1],j=d[-x];for(let J=10;J{class l{constructor(f){this.appInits=f,this.resolve=Nf,this.reject=Nf,this.initialized=!1,this.done=!1,this.donePromise=new Promise((p,m)=>{this.resolve=p,this.reject=m})}runInitializers(){if(this.initialized)return;const f=[],p=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let m=0;m{y.subscribe({complete:k,error:x})});f.push(C)}}Promise.all(f).then(()=>{p()}).catch(m=>{this.reject(m)}),0===f.length&&p(),this.initialized=!0}}return l.\u0275fac=function(f){return new(f||l)(gn(oo,8))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();const Kb=new Bi("AppId"),sv={provide:Kb,useFactory:function Hf(){return`${Zb()}${Zb()}${Zb()}`},deps:[]};function Zb(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const U0=new Bi("Platform Initializer"),$b=new Bi("Platform ID"),G0=new Bi("appBootstrapListener");let V0=(()=>{class l{log(f){console.log(f)}warn(f){console.warn(f)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();const du=new Bi("LocaleId"),Xb=new Bi("DefaultCurrencyCode");class ov{constructor(d,f){this.ngModuleFactory=d,this.componentFactories=f}}let Nd=(()=>{class l{compileModuleSync(f){return new vb(f)}compileModuleAsync(f){return Promise.resolve(this.compileModuleSync(f))}compileModuleAndAllComponentsSync(f){const p=this.compileModuleSync(f),y=vs(wt(f).declarations).reduce((C,k)=>{const x=hn(k);return x&&C.push(new Cf(x)),C},[]);return new ov(p,y)}compileModuleAndAllComponentsAsync(f){return Promise.resolve(this.compileModuleAndAllComponentsSync(f))}clearCache(){}clearCacheFor(f){}getModuleId(f){}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();const Jb=(()=>Promise.resolve(0))();function W0(l){"undefined"==typeof Zone?Jb.then(()=>{l&&l.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",l)}class Bs{constructor({enableLongStackTrace:d=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:p=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Lo(!1),this.onMicrotaskEmpty=new Lo(!1),this.onStable=new Lo(!1),this.onError=new Lo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),d&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!p&&f,m.shouldCoalesceRunChangeDetection=p,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function Bf(){let l=Nt.requestAnimationFrame,d=Nt.cancelAnimationFrame;if("undefined"!=typeof Zone&&l&&d){const f=l[Zone.__symbol__("OriginalDelegate")];f&&(l=f);const p=d[Zone.__symbol__("OriginalDelegate")];p&&(d=p)}return{nativeRequestAnimationFrame:l,nativeCancelAnimationFrame:d}}().nativeRequestAnimationFrame,function av(l){const d=()=>{!function Z0(l){l.isCheckStableRunning||-1!==l.lastRequestAnimationFrameId||(l.lastRequestAnimationFrameId=l.nativeRequestAnimationFrame.call(Nt,()=>{l.fakeTopEventTask||(l.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{l.lastRequestAnimationFrameId=-1,$0(l),l.isCheckStableRunning=!0,K0(l),l.isCheckStableRunning=!1},void 0,()=>{},()=>{})),l.fakeTopEventTask.invoke()}),$0(l))}(l)};l._inner=l._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(f,p,m,y,C,k)=>{try{return X0(l),f.invokeTask(m,y,C,k)}finally{(l.shouldCoalesceEventChangeDetection&&"eventTask"===y.type||l.shouldCoalesceRunChangeDetection)&&d(),ty(l)}},onInvoke:(f,p,m,y,C,k,x)=>{try{return X0(l),f.invoke(m,y,C,k,x)}finally{l.shouldCoalesceRunChangeDetection&&d(),ty(l)}},onHasTask:(f,p,m,y)=>{f.hasTask(m,y),p===m&&("microTask"==y.change?(l._hasPendingMicrotasks=y.microTask,$0(l),K0(l)):"macroTask"==y.change&&(l.hasPendingMacrotasks=y.macroTask))},onHandleError:(f,p,m,y)=>(f.handleError(m,y),l.runOutsideAngular(()=>l.onError.emit(y)),!1)})}(m)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Bs.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Bs.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(d,f,p){return this._inner.run(d,f,p)}runTask(d,f,p,m){const y=this._inner,C=y.scheduleEventTask("NgZoneEvent: "+m,d,ey,Nf,Nf);try{return y.runTask(C,f,p)}finally{y.cancelTask(C)}}runGuarded(d,f,p){return this._inner.runGuarded(d,f,p)}runOutsideAngular(d){return this._outer.run(d)}}const ey={};function K0(l){if(0==l._nesting&&!l.hasPendingMicrotasks&&!l.isStable)try{l._nesting++,l.onMicrotaskEmpty.emit(null)}finally{if(l._nesting--,!l.hasPendingMicrotasks)try{l.runOutsideAngular(()=>l.onStable.emit(null))}finally{l.isStable=!0}}}function $0(l){l.hasPendingMicrotasks=!!(l._hasPendingMicrotasks||(l.shouldCoalesceEventChangeDetection||l.shouldCoalesceRunChangeDetection)&&-1!==l.lastRequestAnimationFrameId)}function X0(l){l._nesting++,l.isStable&&(l.isStable=!1,l.onUnstable.emit(null))}function ty(l){l._nesting--,K0(l)}class iS{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Lo,this.onMicrotaskEmpty=new Lo,this.onStable=new Lo,this.onError=new Lo}run(d,f,p){return d.apply(f,p)}runGuarded(d,f,p){return d.apply(f,p)}runOutsideAngular(d){return d()}runTask(d,f,p,m){return d.apply(f,p)}}let Ff=(()=>{class l{constructor(f){this._ngZone=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),f.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Bs.assertNotInAngularZone(),W0(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())W0(()=>{for(;0!==this._callbacks.length;){let f=this._callbacks.pop();clearTimeout(f.timeoutId),f.doneCb(this._didWork)}this._didWork=!1});else{let f=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(f)||(clearTimeout(p.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(f=>({source:f.source,creationLocation:f.creationLocation,data:f.data})):[]}addCallback(f,p,m){let y=-1;p&&p>0&&(y=setTimeout(()=>{this._callbacks=this._callbacks.filter(C=>C.timeoutId!==y),f(this._didWork,this.getPendingTasks())},p)),this._callbacks.push({doneCb:f,timeoutId:y,updateCb:m})}whenStable(f,p,m){if(m&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(f,p,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(f,p,m){return[]}}return l.\u0275fac=function(f){return new(f||l)(gn(Bs))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})(),iy=(()=>{class l{constructor(){this._applications=new Map,qf.addToWindow(this)}registerApplication(f,p){this._applications.set(f,p)}unregisterApplication(f){this._applications.delete(f)}unregisterAllApplications(){this._applications.clear()}getTestability(f){return this._applications.get(f)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(f,p=!0){return qf.findTestabilityInTree(this,f,p)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();class ny{addToWindow(d){}findTestabilityInTree(d,f,p){return null}}function cv(l){qf=l}let Kn,qf=new ny;const Q0=new Bi("AllowMultipleToken");class hv{constructor(d,f){this.name=d,this.token=f}}function Ds(l,d,f=[]){const p=`Platform: ${d}`,m=new Bi(p);return(y=[])=>{let C=J0();if(!C||C.injector.get(Q0,!1))if(l)l(f.concat(y).concat({provide:m,useValue:!0}));else{const k=f.concat(y).concat({provide:m,useValue:!0},{provide:Oh,useValue:"platform"});!function fv(l){if(Kn&&!Kn.destroyed&&!Kn.injector.get(Q0,!1))throw new ee(400,"");Kn=l.get(sy);const d=l.get(U0,null);d&&d.forEach(f=>f())}(ko.create({providers:k,name:p}))}return function jf(l){const d=J0();if(!d)throw new ee(401,"");return d}()}}function J0(){return Kn&&!Kn.destroyed?Kn:null}let sy=(()=>{class l{constructor(f){this._injector=f,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(f,p){const k=function oy(l,d){let f;return f="noop"===l?new iS:("zone.js"===l?void 0:l)||new Bs({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==d?void 0:d.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==d?void 0:d.ngZoneRunCoalescing)}),f}(p?p.ngZone:void 0,{ngZoneEventCoalescing:p&&p.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:p&&p.ngZoneRunCoalescing||!1}),x=[{provide:Bs,useValue:k}];return k.run(()=>{const H=ko.create({providers:x,parent:this.injector,name:f.moduleType.name}),j=f.create(H),J=j.injector.get(fc,null);if(!J)throw new ee(402,"");return k.runOutsideAngular(()=>{const ne=k.onError.subscribe({next:ue=>{J.handleError(ue)}});j.onDestroy(()=>{Yf(this._modules,j),ne.unsubscribe()})}),function pv(l,d,f){try{const p=f();return Rg(p)?p.catch(m=>{throw d.runOutsideAngular(()=>l.handleError(m)),m}):p}catch(p){throw d.runOutsideAngular(()=>l.handleError(p)),p}}(J,k,()=>{const ne=j.injector.get(za);return ne.runInitializers(),ne.donePromise.then(()=>(function qC(l){ot(l,"Expected localeId to be defined"),"string"==typeof l&&(hf=l.toLowerCase().replace(/_/g,"-"))}(j.injector.get(du,df)||df),this._moduleDoBootstrap(j),j))})})}bootstrapModule(f,p=[]){const m=e1({},p);return function lv(l,d,f){const p=new vb(f);return Promise.resolve(p)}(0,0,f).then(y=>this.bootstrapModuleFactory(y,m))}_moduleDoBootstrap(f){const p=f.injector.get(Hd);if(f._bootstrapComponents.length>0)f._bootstrapComponents.forEach(m=>p.bootstrap(m));else{if(!f.instance.ngDoBootstrap)throw new ee(403,"");f.instance.ngDoBootstrap(p)}this._modules.push(f)}onDestroy(f){this._destroyListeners.push(f)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ee(404,"");this._modules.slice().forEach(f=>f.destroy()),this._destroyListeners.forEach(f=>f()),this._destroyed=!0}get destroyed(){return this._destroyed}}return l.\u0275fac=function(f){return new(f||l)(gn(ko))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();function e1(l,d){return Array.isArray(d)?d.reduce(e1,l):Object.assign(Object.assign({},l),d)}let Hd=(()=>{class l{constructor(f,p,m,y,C){this._zone=f,this._injector=p,this._exceptionHandler=m,this._componentFactoryResolver=y,this._initStatus=C,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const k=new T.y(H=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{H.next(this._stable),H.complete()})}),x=new T.y(H=>{let j;this._zone.runOutsideAngular(()=>{j=this._zone.onStable.subscribe(()=>{Bs.assertNotInAngularZone(),W0(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,H.next(!0))})})});const J=this._zone.onUnstable.subscribe(()=>{Bs.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{H.next(!1)}))});return()=>{j.unsubscribe(),J.unsubscribe()}});this.isStable=(0,w.T)(k,x.pipe((0,v.B)()))}bootstrap(f,p){if(!this._initStatus.done)throw new ee(405,"");let m;m=f instanceof fb?f:this._componentFactoryResolver.resolveComponentFactory(f),this.componentTypes.push(m.componentType);const y=function dv(l){return l.isBoundToModule}(m)?void 0:this._injector.get(Jl),k=m.create(ko.NULL,[],p||m.selector,y),x=k.location.nativeElement,H=k.injector.get(Ff,null),j=H&&k.injector.get(iy);return H&&j&&j.registerApplication(x,H),k.onDestroy(()=>{this.detachView(k.hostView),Yf(this.components,k),j&&j.unregisterApplication(x)}),this._loadComponent(k),k}tick(){if(this._runningTick)throw new ee(101,"");try{this._runningTick=!0;for(let f of this._views)f.detectChanges()}catch(f){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(f))}finally{this._runningTick=!1}}attachView(f){const p=f;this._views.push(p),p.attachToAppRef(this)}detachView(f){const p=f;Yf(this._views,p),p.detachFromAppRef()}_loadComponent(f){this.attachView(f.hostView),this.tick(),this.components.push(f),this._injector.get(G0,[]).concat(this._bootstrapListeners).forEach(m=>m(f))}ngOnDestroy(){this._views.slice().forEach(f=>f.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return l.\u0275fac=function(f){return new(f||l)(gn(Bs),gn(ko),gn(fc),gn(Td),gn(za))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();function Yf(l,d){const f=l.indexOf(d);f>-1&&l.splice(f,1)}let mv=!0;function Hc(){mv=!1}let bv=(()=>{class l{}return l.__NG_ELEMENT_ID__=yv,l})();function yv(l){return function Av(l,d,f){if(No(l)&&!f){const p=kt(l.index,d);return new Ql(p,p)}return 47&l.type?new Ql(d[16],d):null}(Gi(),Ee(),16==(16&l))}class ry{constructor(){}supports(d){return Nl(d)}create(d){return new bS(d)}}const Tv=(l,d)=>d;class bS{constructor(d){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=d||Tv}forEachItem(d){let f;for(f=this._itHead;null!==f;f=f._next)d(f)}forEachOperation(d){let f=this._itHead,p=this._removalsHead,m=0,y=null;for(;f||p;){const C=!p||f&&f.currentIndex{C=this._trackByFn(m,k),null!==f&&Object.is(f.trackById,C)?(p&&(f=this._verifyReinsertion(f,k,C,m)),Object.is(f.item,k)||this._addIdentityChange(f,k)):(f=this._mismatch(f,k,C,m),p=!0),f=f._next,m++}),this.length=m;return this._truncate(f),this.collection=d,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let d;for(d=this._previousItHead=this._itHead;null!==d;d=d._next)d._nextPrevious=d._next;for(d=this._additionsHead;null!==d;d=d._nextAdded)d.previousIndex=d.currentIndex;for(this._additionsHead=this._additionsTail=null,d=this._movesHead;null!==d;d=d._nextMoved)d.previousIndex=d.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(d,f,p,m){let y;return null===d?y=this._itTail:(y=d._prev,this._remove(d)),null!==(d=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(d.item,f)||this._addIdentityChange(d,f),this._reinsertAfter(d,y,m)):null!==(d=null===this._linkedRecords?null:this._linkedRecords.get(p,m))?(Object.is(d.item,f)||this._addIdentityChange(d,f),this._moveAfter(d,y,m)):d=this._addAfter(new Cv(f,p),y,m),d}_verifyReinsertion(d,f,p,m){let y=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==y?d=this._reinsertAfter(y,d._prev,m):d.currentIndex!=m&&(d.currentIndex=m,this._addToMoves(d,m)),d}_truncate(d){for(;null!==d;){const f=d._next;this._addToRemovals(this._unlink(d)),d=f}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(d,f,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(d);const m=d._prevRemoved,y=d._nextRemoved;return null===m?this._removalsHead=y:m._nextRemoved=y,null===y?this._removalsTail=m:y._prevRemoved=m,this._insertAfter(d,f,p),this._addToMoves(d,p),d}_moveAfter(d,f,p){return this._unlink(d),this._insertAfter(d,f,p),this._addToMoves(d,p),d}_addAfter(d,f,p){return this._insertAfter(d,f,p),this._additionsTail=null===this._additionsTail?this._additionsHead=d:this._additionsTail._nextAdded=d,d}_insertAfter(d,f,p){const m=null===f?this._itHead:f._next;return d._next=m,d._prev=f,null===m?this._itTail=d:m._prev=d,null===f?this._itHead=d:f._next=d,null===this._linkedRecords&&(this._linkedRecords=new pu),this._linkedRecords.put(d),d.currentIndex=p,d}_remove(d){return this._addToRemovals(this._unlink(d))}_unlink(d){null!==this._linkedRecords&&this._linkedRecords.remove(d);const f=d._prev,p=d._next;return null===f?this._itHead=p:f._next=p,null===p?this._itTail=f:p._prev=f,d}_addToMoves(d,f){return d.previousIndex===f||(this._movesTail=null===this._movesTail?this._movesHead=d:this._movesTail._nextMoved=d),d}_addToRemovals(d){return null===this._unlinkedRecords&&(this._unlinkedRecords=new pu),this._unlinkedRecords.put(d),d.currentIndex=null,d._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=d,d._prevRemoved=null):(d._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=d),d}_addIdentityChange(d,f){return d.item=f,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=d:this._identityChangesTail._nextIdentityChange=d,d}}class Cv{constructor(d,f){this.item=d,this.trackById=f,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Gf{constructor(){this._head=null,this._tail=null}add(d){null===this._head?(this._head=this._tail=d,d._nextDup=null,d._prevDup=null):(this._tail._nextDup=d,d._prevDup=this._tail,d._nextDup=null,this._tail=d)}get(d,f){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===f||f<=p.currentIndex)&&Object.is(p.trackById,d))return p;return null}remove(d){const f=d._prevDup,p=d._nextDup;return null===f?this._head=p:f._nextDup=p,null===p?this._tail=f:p._prevDup=f,null===this._head}}class pu{constructor(){this.map=new Map}put(d){const f=d.trackById;let p=this.map.get(f);p||(p=new Gf,this.map.set(f,p)),p.add(d)}get(d,f){const m=this.map.get(d);return m?m.get(d,f):null}remove(d){const f=d.trackById;return this.map.get(f).remove(d)&&this.map.delete(f),d}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Sv(l,d,f){const p=l.previousIndex;if(null===p)return p;let m=0;return f&&p{if(f&&f.key===m)this._maybeAddToChanges(f,p),this._appendAfter=f,f=f._next;else{const y=this._getOrCreateRecordForKey(m,p);f=this._insertBeforeOrAppend(f,y)}}),f){f._prev&&(f._prev._next=null),this._removalsHead=f;for(let p=f;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(d,f){if(d){const p=d._prev;return f._next=d,f._prev=p,d._prev=f,p&&(p._next=f),d===this._mapHead&&(this._mapHead=f),this._appendAfter=d,d}return this._appendAfter?(this._appendAfter._next=f,f._prev=this._appendAfter):this._mapHead=f,this._appendAfter=f,null}_getOrCreateRecordForKey(d,f){if(this._records.has(d)){const m=this._records.get(d);this._maybeAddToChanges(m,f);const y=m._prev,C=m._next;return y&&(y._next=C),C&&(C._prev=y),m._next=null,m._prev=null,m}const p=new Ev(d);return this._records.set(d,p),p.currentValue=f,this._addToAdditions(p),p}_reset(){if(this.isDirty){let d;for(this._previousMapHead=this._mapHead,d=this._previousMapHead;null!==d;d=d._next)d._nextPrevious=d._next;for(d=this._changesHead;null!==d;d=d._nextChanged)d.previousValue=d.currentValue;for(d=this._additionsHead;null!=d;d=d._nextAdded)d.previousValue=d.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(d,f){Object.is(f,d.currentValue)||(d.previousValue=d.currentValue,d.currentValue=f,this._addToChanges(d))}_addToAdditions(d){null===this._additionsHead?this._additionsHead=this._additionsTail=d:(this._additionsTail._nextAdded=d,this._additionsTail=d)}_addToChanges(d){null===this._changesHead?this._changesHead=this._changesTail=d:(this._changesTail._nextChanged=d,this._changesTail=d)}_forEach(d,f){d instanceof Map?d.forEach(f):Object.keys(d).forEach(p=>f(d[p],p))}}class Ev{constructor(d){this.key=d,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function ay(){return new Vf([new ry])}let Vf=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(null!=p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||ay()),deps:[[l,new _a,new Pr]]}}find(f){const p=this.factories.find(m=>m.supports(f));if(null!=p)return p;throw new ee(901,"")}}return l.\u0275prov=ai({token:l,providedIn:"root",factory:ay}),l})();function r1(){return new Wf([new o1])}let Wf=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||r1()),deps:[[l,new _a,new Pr]]}}find(f){const p=this.factories.find(y=>y.supports(f));if(p)return p;throw new ee(901,"")}}return l.\u0275prov=ai({token:l,providedIn:"root",factory:r1}),l})();const kv=[new o1],AS=new Vf([new ry]),cy=new Wf(kv),Lv=Ds(null,"core",[{provide:$b,useValue:"unknown"},{provide:sy,deps:[ko]},{provide:iy,deps:[]},{provide:V0,deps:[]}]),Pv=[{provide:Hd,useClass:Hd,deps:[Bs,ko,fc,Td,za]},{provide:ZC,deps:[Bs],useFactory:function zv(l){let d=[];return l.onStable.subscribe(()=>{for(;d.length;)d.pop()()}),function(f){d.push(f)}}},{provide:za,useClass:za,deps:[[new Pr,oo]]},{provide:Nd,useClass:Nd,deps:[]},sv,{provide:Vf,useFactory:function wS(){return AS},deps:[]},{provide:Wf,useFactory:function ly(){return cy},deps:[]},{provide:du,useFactory:function Rv(l){return l||function Ov(){return"undefined"!=typeof $localize&&$localize.locale||df}()},deps:[[new ma(du),new Pr,new _a]]},{provide:Xb,useValue:"USD"}];let Iv=(()=>{class l{constructor(f){}}return l.\u0275fac=function(f){return new(f||l)(gn(Hd))},l.\u0275mod=mr({type:l}),l.\u0275inj=un({providers:Pv}),l})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(6227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class q extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return q.\u0275fac=function(){let Y;return function(_){return(Y||(Y=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(q)))(_||q)}}(),q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class q{constructor(){this.data=new Map}getItem(M){return this.data.get(M)}removeItem(M){this.data.delete(M)}setItem(M,_){this.data.set(M,_)}}return q.\u0275fac=function(M){return new(M||q)},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class ReceivedTokens{}class OAuthEvent{constructor(Y){this.type=Y}}class OAuthSuccessEvent extends OAuthEvent{constructor(Y,M=null){super(Y),this.info=M}}class OAuthInfoEvent extends OAuthEvent{constructor(Y,M=null){super(Y),this.info=M}}class OAuthErrorEvent extends OAuthEvent{constructor(Y,M,_=null){super(Y),this.reason=M,this.params=_}}function b64DecodeUnicode(q){const Y=q.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(Y).split("").map(function(M){return"%"+("00"+M.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(q){return btoa(q).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(Y){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=M=>{location.href=M},Y&&Object.assign(this,Y)}}class WebHttpUrlEncodingCodec{encodeKey(Y){return encodeURIComponent(Y)}encodeValue(Y){return encodeURIComponent(Y)}decodeKey(Y){return decodeURIComponent(Y)}decodeValue(Y){return decodeURIComponent(Y)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(Y){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let M=this.inferHashAlgorithm(Y.idTokenHeader),_=yield this.calcHash(Y.accessToken,M),T=base64UrlEncode(_.substr(0,_.length/2)),w=Y.idTokenClaims.at_hash.replace(/=/g,"");return T!==w&&(console.error("exptected at_hash: "+T),console.error("actual at_hash: "+w)),T===w})}inferHashAlgorithm(Y){let M=Y.alg;if(!M.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+M);return"sha-"+M.substr(2)}}let UrlHelperService=(()=>{class q{getHashFragmentParams(M){let _=M||window.location.hash;if(_=decodeURIComponent(_),0!==_.indexOf("#"))return{};const t=_.indexOf("?");return _=_.substr(t>-1?t+1:1),this.parseQueryString(_)}parseQueryString(M){const _={};let t,T,w,v,E,L,I;if(null===M)return _;t=M.split("&");for(let B=0;B>6,T[v++]=128|63&E):E<55296||E>=57344?(T[v++]=224|E>>12,T[v++]=128|E>>6&63,T[v++]=128|63&E):(E=65536+((1023&E)<<10|1023&q.charCodeAt(++_)),T[v++]=240|E>>18,T[v++]=128|E>>12&63,T[v++]=128|E>>6&63,T[v++]=128|63&E);q=T}else{if("object"!==t)throw new Error(ERROR);if(null===q)throw new Error(ERROR);if(ARRAY_BUFFER&&q.constructor===ArrayBuffer)q=new Uint8Array(q);else if(!(Array.isArray(q)||ARRAY_BUFFER&&ArrayBuffer.isView(q)))throw new Error(ERROR)}q.length>64&&(q=new Sha256(Y,!0).update(q).array());var L=[],I=[];for(_=0;_<64;++_){var B=q[_]||0;L[_]=92^B,I[_]=54^B}Sha256.call(this,Y,M),this.update(I),this.oKeyPad=L,this.inner=!0,this.sharedMemory=M}Sha256.prototype.update=function(q){if(!this.finalized){var Y,M=typeof q;if("string"!==M){if("object"!==M)throw new Error(ERROR);if(null===q)throw new Error(ERROR);if(ARRAY_BUFFER&&q.constructor===ArrayBuffer)q=new Uint8Array(q);else if(!(Array.isArray(q)||ARRAY_BUFFER&&ArrayBuffer.isView(q)))throw new Error(ERROR);Y=!0}for(var _,T,t=0,w=q.length,v=this.blocks;t>2]|=q[t]<>2]|=_<>2]|=(192|_>>6)<>2]|=(128|63&_)<=57344?(v[T>>2]|=(224|_>>12)<>2]|=(128|_>>6&63)<>2]|=(128|63&_)<>2]|=(240|_>>18)<>2]|=(128|_>>12&63)<>2]|=(128|_>>6&63)<>2]|=(128|63&_)<=64?(this.block=v[16],this.start=T-64,this.hash(),this.hashed=!0):this.start=T}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var q=this.blocks,Y=this.lastByteIndex;q[16]=this.block,q[Y>>2]|=EXTRA[3&Y],this.block=q[16],Y>=56&&(this.hashed||this.hash(),q[0]=this.block,q[16]=q[1]=q[2]=q[3]=q[4]=q[5]=q[6]=q[7]=q[8]=q[9]=q[10]=q[11]=q[12]=q[13]=q[14]=q[15]=0),q[14]=this.hBytes<<3|this.bytes>>>29,q[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var L,G,ae,ee,ce,he,q=this.h0,Y=this.h1,M=this.h2,_=this.h3,t=this.h4,T=this.h5,w=this.h6,v=this.h7,E=this.blocks;for(L=16;L<64;++L)E[L]=E[L-16]+(((G=E[L-15])>>>7|G<<25)^(G>>>18|G<<14)^G>>>3)+E[L-7]+(((G=E[L-2])>>>17|G<<15)^(G>>>19|G<<13)^G>>>10)<<0;for(he=Y&M,L=0;L<64;L+=4)this.first?(this.is224?(ae=300032,v=(G=E[0]-1413257819)-150054599<<0,_=G+24177077<<0):(ae=704751109,v=(G=E[0]-210244248)-1521486534<<0,_=G+143694565<<0),this.first=!1):(v=_+(G=v+((t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7))+(t&T^~t&w)+K[L]+E[L])<<0,_=G+(((q>>>2|q<<30)^(q>>>13|q<<19)^(q>>>22|q<<10))+((ae=q&Y)^q&M^he))<<0),w=M+(G=w+((v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))+(v&t^~v&T)+K[L+1]+E[L+1])<<0,M=G+(((_>>>2|_<<30)^(_>>>13|_<<19)^(_>>>22|_<<10))+((ee=_&q)^_&Y^ae))<<0,T=Y+(G=T+((w>>>6|w<<26)^(w>>>11|w<<21)^(w>>>25|w<<7))+(w&v^~w&t)+K[L+2]+E[L+2])<<0,Y=G+(((M>>>2|M<<30)^(M>>>13|M<<19)^(M>>>22|M<<10))+((ce=M&_)^M&q^ee))<<0,t=q+(G=t+((T>>>6|T<<26)^(T>>>11|T<<21)^(T>>>25|T<<7))+(T&w^~T&v)+K[L+3]+E[L+3])<<0,q=G+(((Y>>>2|Y<<30)^(Y>>>13|Y<<19)^(Y>>>22|Y<<10))+((he=Y&M)^Y&_^ce))<<0;this.h0=this.h0+q<<0,this.h1=this.h1+Y<<0,this.h2=this.h2+M<<0,this.h3=this.h3+_<<0,this.h4=this.h4+t<<0,this.h5=this.h5+T<<0,this.h6=this.h6+w<<0,this.h7=this.h7+v<<0},Sha256.prototype.hex=function(){this.finalize();var q=this.h0,Y=this.h1,M=this.h2,_=this.h3,t=this.h4,T=this.h5,w=this.h6,v=this.h7,E=HEX_CHARS[q>>28&15]+HEX_CHARS[q>>24&15]+HEX_CHARS[q>>20&15]+HEX_CHARS[q>>16&15]+HEX_CHARS[q>>12&15]+HEX_CHARS[q>>8&15]+HEX_CHARS[q>>4&15]+HEX_CHARS[15&q]+HEX_CHARS[Y>>28&15]+HEX_CHARS[Y>>24&15]+HEX_CHARS[Y>>20&15]+HEX_CHARS[Y>>16&15]+HEX_CHARS[Y>>12&15]+HEX_CHARS[Y>>8&15]+HEX_CHARS[Y>>4&15]+HEX_CHARS[15&Y]+HEX_CHARS[M>>28&15]+HEX_CHARS[M>>24&15]+HEX_CHARS[M>>20&15]+HEX_CHARS[M>>16&15]+HEX_CHARS[M>>12&15]+HEX_CHARS[M>>8&15]+HEX_CHARS[M>>4&15]+HEX_CHARS[15&M]+HEX_CHARS[_>>28&15]+HEX_CHARS[_>>24&15]+HEX_CHARS[_>>20&15]+HEX_CHARS[_>>16&15]+HEX_CHARS[_>>12&15]+HEX_CHARS[_>>8&15]+HEX_CHARS[_>>4&15]+HEX_CHARS[15&_]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[T>>28&15]+HEX_CHARS[T>>24&15]+HEX_CHARS[T>>20&15]+HEX_CHARS[T>>16&15]+HEX_CHARS[T>>12&15]+HEX_CHARS[T>>8&15]+HEX_CHARS[T>>4&15]+HEX_CHARS[15&T]+HEX_CHARS[w>>28&15]+HEX_CHARS[w>>24&15]+HEX_CHARS[w>>20&15]+HEX_CHARS[w>>16&15]+HEX_CHARS[w>>12&15]+HEX_CHARS[w>>8&15]+HEX_CHARS[w>>4&15]+HEX_CHARS[15&w];return this.is224||(E+=HEX_CHARS[v>>28&15]+HEX_CHARS[v>>24&15]+HEX_CHARS[v>>20&15]+HEX_CHARS[v>>16&15]+HEX_CHARS[v>>12&15]+HEX_CHARS[v>>8&15]+HEX_CHARS[v>>4&15]+HEX_CHARS[15&v]),E},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var q=this.h0,Y=this.h1,M=this.h2,_=this.h3,t=this.h4,T=this.h5,w=this.h6,v=this.h7,E=[q>>24&255,q>>16&255,q>>8&255,255&q,Y>>24&255,Y>>16&255,Y>>8&255,255&Y,M>>24&255,M>>16&255,M>>8&255,255&M,_>>24&255,_>>16&255,_>>8&255,255&_,t>>24&255,t>>16&255,t>>8&255,255&t,T>>24&255,T>>16&255,T>>8&255,255&T,w>>24&255,w>>16&255,w>>8&255,255&w];return this.is224||E.push(v>>24&255,v>>16&255,v>>8&255,255&v),E},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var q=new ArrayBuffer(this.is224?28:32),Y=new DataView(q);return Y.setUint32(0,this.h0),Y.setUint32(4,this.h1),Y.setUint32(8,this.h2),Y.setUint32(12,this.h3),Y.setUint32(16,this.h4),Y.setUint32(20,this.h5),Y.setUint32(24,this.h6),this.is224||Y.setUint32(28,this.h7),q},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var q=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(q),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(q){if("string"!=typeof q)throw new TypeError("expected string");var Y,M=q,_=new Uint8Array(M.length);for(Y=0;Y{class q{calcHash(M,_){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(M)))})}toHashString2(M){let _="";for(let t of M)_+=String.fromCharCode(t);return _}toHashString(M){const _=new Uint8Array(M);let t="";for(let T of _)t+=String.fromCharCode(T);return t}}return q.\u0275fac=function(M){return new(M||q)},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})(),OAuthService=(()=>{class q extends AuthConfig{constructor(M,_,t,T,w,v,E,L,I,B){var F;super(),this.ngZone=M,this.http=_,this.config=w,this.urlHelper=v,this.logger=E,this.crypto=L,this.dateTimeService=B,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=I,w||(w={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),T&&(this.tokenValidationHandler=T),w&&this.configure(w);try{t?this.setStorage(t):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(G){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",G)}if(this.checkLocalStorageAccessable()){const G=null===(F=null==window?void 0:window.navigator)||void 0===F?void 0:F.userAgent;((null==G?void 0:G.includes("MSIE "))||(null==G?void 0:G.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const M="test";try{return void 0!==window.localStorage&&(localStorage.setItem(M,M),localStorage.removeItem(M),!0)}catch(_){return!1}}configure(M){Object.assign(this,new AuthConfig,M),this.config=Object.assign({},new AuthConfig,M),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(M=>"token_received"===M.type)).subscribe(M=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(M={},_,t=!0){let T=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(w=>{"token_received"===w.type?T=!0:"logout"===w.type&&(T=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_expires"===w.type&&(null==_||"any"===_||w.info===_)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(w=>{T&&this.refreshInternal(M,t).catch(v=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(M,_){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(M,_):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(M=null){return this.loadDiscoveryDocument().then(_=>this.tryLogin(M))}loadDiscoveryDocumentAndLogin(M=null){return this.loadDiscoveryDocumentAndTryLogin(M=M||{}).then(_=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof M.state?M.state:""),!1))}debug(...M){this.showDebugInformation&&this.logger.debug.apply(this.logger,M)}validateUrlFromDiscoveryDocument(M){const _=[],t=this.validateUrlForHttps(M),T=this.validateUrlAgainstIssuer(M);return t||_.push("https for all urls required. Also for urls received by discovery."),T||_.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),_}validateUrlForHttps(M){if(!M)return!0;const _=M.toLowerCase();return!(!1!==this.requireHttps&&(!_.match(/^http:\/\/localhost($|[:\/])/)&&!_.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||_.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(M,_){if(!M)throw new Error(`'${_}' should not be null`);if(!this.validateUrlForHttps(M))throw new Error(`'${_}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(M){return!this.strictDiscoveryDocumentValidation||!M||M.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(M=>"token_received"===M.type)).subscribe(M=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const M=this.getAccessTokenExpiration(),_=this.getAccessTokenStoredAt(),t=this.calcTimeout(_,M);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(t)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}setupIdTokenTimer(){const M=this.getIdTokenExpiration(),_=this.getIdTokenStoredAt(),t=this.calcTimeout(_,M);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(t)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(M,_){const t=this.dateTimeService.now();return Math.max(0,(_-M)*this.timeoutFactor-(t-M))}setStorage(M){this._storage=M,this.configChanged()}loadDiscoveryDocument(M=null){return new Promise((_,t)=>{M||((M=this.issuer||"").endsWith("/")||(M+="/"),M+=".well-known/openid-configuration"),this.validateUrlForHttps(M)?this.http.get(M).subscribe(T=>{if(!this.validateDiscoveryDocument(T))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void t("discovery_document_validation_error");this.loginUrl=T.authorization_endpoint,this.logoutUrl=T.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=T.grant_types_supported,this.issuer=T.issuer,this.tokenEndpoint=T.token_endpoint,this.userinfoEndpoint=T.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=T.jwks_uri,this.sessionCheckIFrameUrl=T.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(T),this.revocationEndpoint=T.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(w=>{const E=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:T,jwks:w});this.eventsSubject.next(E),_(E)}).catch(w=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",w)),t(w)})},T=>{this.logger.error("error loading discovery document",T),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",T)),t(T)}):t("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((M,_)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(t=>{this.jwks=t,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),M(t)},t=>{this.logger.error("error loading jwks",t),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",t)),_(t)}):M(null)})}validateDiscoveryDocument(M){let _;return this.skipIssuerCheck||M.issuer===this.issuer?(_=this.validateUrlFromDiscoveryDocument(M.authorization_endpoint),_.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",_),!1):(_=this.validateUrlFromDiscoveryDocument(M.end_session_endpoint),_.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",_),!1):(_=this.validateUrlFromDiscoveryDocument(M.token_endpoint),_.length>0&&this.logger.error("error validating token_endpoint in discovery document",_),_=this.validateUrlFromDiscoveryDocument(M.revocation_endpoint),_.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",_),_=this.validateUrlFromDiscoveryDocument(M.userinfo_endpoint),_.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",_),!1):(_=this.validateUrlFromDiscoveryDocument(M.jwks_uri),_.length>0?(this.logger.error("error validating jwks_uri in discovery document",_),!1):(this.sessionChecksEnabled&&!M.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+M.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(M,_,t=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(M,_,t).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((M,_)=>{const t=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:t,observe:"response",responseType:"text"}).subscribe(T=>{if(this.debug("userinfo received",JSON.stringify(T)),T.headers.get("content-type").startsWith("application/json")){let w=JSON.parse(T.body);const v=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!v.sub||w.sub!==v.sub))return void _("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");w=Object.assign({},v,w),this._storage.setItem("id_token_claims_obj",JSON.stringify(w)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),M({info:w})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),M(JSON.parse(T.body))},T=>{this.logger.error("error loading user info",T),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",T)),_(T)})})}fetchTokenUsingPasswordFlow(M,_,t=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:M,password:_},t)}fetchTokenUsingGrant(M,_,t=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let T=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",M).set("scope",this.scope);if(this.useHttpBasicAuth){const w=btoa(`${this.clientId}:${this.dummyClientSecret}`);t=t.set("Authorization","Basic "+w)}if(this.useHttpBasicAuth||(T=T.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(T=T.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const w of Object.getOwnPropertyNames(this.customQueryParams))T=T.set(w,this.customQueryParams[w]);for(const w of Object.keys(_))T=T.set(w,_[w]);return t=t.set("Content-Type","application/x-www-form-urlencoded"),new Promise((w,v)=>{this.http.post(this.tokenEndpoint,T,{headers:t}).subscribe(E=>{this.debug("tokenResponse",E),this.storeAccessTokenResponse(E.access_token,E.refresh_token,E.expires_in||this.fallbackAccessTokenExpirationTimeInSec,E.scope,this.extractRecognizedCustomParameters(E)),this.oidc&&E.id_token&&this.processIdToken(E.id_token,E.access_token).then(L=>{this.storeIdToken(L),w(E)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),w(E)},E=>{this.logger.error("Error performing ${grantType} flow",E),this.eventsSubject.next(new OAuthErrorEvent("token_error",E)),v(E)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((M,_)=>{let t=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),T=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const w=btoa(`${this.clientId}:${this.dummyClientSecret}`);T=T.set("Authorization","Basic "+w)}if(this.useHttpBasicAuth||(t=t.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(t=t.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const w of Object.getOwnPropertyNames(this.customQueryParams))t=t.set(w,this.customQueryParams[w]);this.http.post(this.tokenEndpoint,t,{headers:T}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(w=>w.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(w.id_token,w.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(v=>this.storeIdToken(v)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(v=>w)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(w))).subscribe(w=>{this.debug("refresh tokenResponse",w),this.storeAccessTokenResponse(w.access_token,w.refresh_token,w.expires_in||this.fallbackAccessTokenExpirationTimeInSec,w.scope,this.extractRecognizedCustomParameters(w)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),M(w)},w=>{this.logger.error("Error refreshing token",w),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",w)),_(w)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=M=>{const _=this.processMessageEventMessage(M);this.tryLogin({customHashFragment:_,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(t=>this.debug("tryLogin during silent refresh failed",t))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(M={},_=!0){const t=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(M.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const T=this.document.getElementById(this.silentRefreshIFrameName);T&&this.document.body.removeChild(T),this.silentRefreshSubject=t.sub;const w=this.document.createElement("iframe");w.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,_,M).then(B=>{w.setAttribute("src",B),this.silentRefreshShowIFrame||(w.style.display="none"),this.document.body.appendChild(w)});const E=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>B instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),L=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>"token_received"===B.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),I=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([E,L,I]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(B=>{if(B instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===B.type||(B=new OAuthErrorEvent("silent_refresh_error",B)),this.eventsSubject.next(B),B;return"token_received"===B.type&&(B=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(B)),B})).toPromise()}initImplicitFlowInPopup(M){return this.initLoginFlowInPopup(M)}initLoginFlowInPopup(M){return M=M||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(_=>new Promise((t,T)=>{let E,v=null;M.windowRef?M.windowRef&&!M.windowRef.closed&&(v=M.windowRef,v.location.href=_):v=window.open(_,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(M));const L=X=>{this.tryLogin({customHashFragment:X,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{B(),t(!0)},Q=>{B(),T(Q)})};v?E=window.setInterval(()=>{(!v||v.closed)&&(B(),T(new OAuthErrorEvent("popup_closed",{})))},500):T(new OAuthErrorEvent("popup_blocked",{}));const B=()=>{window.clearInterval(E),window.removeEventListener("storage",G),window.removeEventListener("message",F),null!==v&&v.close(),v=null},F=X=>{const Q=this.processMessageEventMessage(X);Q&&null!==Q?(window.removeEventListener("storage",G),L(Q)):console.log("false event firing")},G=X=>{"auth_hash"===X.key&&(window.removeEventListener("message",F),L(X.newValue))};window.addEventListener("message",F),window.addEventListener("storage",G)}))}calculatePopupFeatures(M){const _=M.height||470,t=M.width||500,T=window.screenLeft+(window.outerWidth-t)/2;return`location=no,toolbar=no,width=${t},height=${_},top=${window.screenTop+(window.outerHeight-_)/2},left=${T}`}processMessageEventMessage(M){let _="#";if(this.silentRefreshMessagePrefix&&(_+=this.silentRefreshMessagePrefix),!M||!M.data||"string"!=typeof M.data)return;const t=M.data;return t.startsWith(_)?"#"+t.substr(_.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=M=>{const _=M.origin.toLowerCase(),t=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),t.startsWith(_)){switch(M.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",M)}else this.debug("sessionCheckEventListener","wrong origin",_,"expected",t,"event",M)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(M=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(M=>{this.debug("token refresh after session change worked")}).catch(M=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(M=>"silently_refreshed"===M.type||"silent_refresh_timeout"===M.type||"silent_refresh_error"===M.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(M=>{"silently_refreshed"!==M.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const M=this.document.getElementById(this.sessionCheckIFrameName);M&&this.document.body.removeChild(M);const _=this.document.createElement("iframe");_.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),_.setAttribute("src",this.sessionCheckIFrameUrl),_.style.display="none",this.document.body.appendChild(_),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const M=this.document.getElementById(this.sessionCheckIFrameName);M||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const _=this.getSessionState();_||this.stopSessionCheckTimer(),M.contentWindow.postMessage(this.clientId+" "+_,this.issuer)}createLoginUrl(M="",_="",t="",T=!1,w={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const v=this;let E;E=t||this.redirectUri;const L=yield this.createAndSaveNonce();if(M=M?L+this.config.nonceStateSeparator+encodeURIComponent(M):L,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const I=v.loginUrl.indexOf("?")>-1?"&":"?";let B=v.scope;this.oidc&&!B.match(/(^|\s)openid($|\s)/)&&(B="openid "+B);let F=v.loginUrl+I+"response_type="+encodeURIComponent(v.responseType)+"&client_id="+encodeURIComponent(v.clientId)+"&state="+encodeURIComponent(M)+"&redirect_uri="+encodeURIComponent(E)+"&scope="+encodeURIComponent(B);if(this.responseType.includes("code")&&!this.disablePKCE){const[G,X]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",X):this._storage.setItem("PKCE_verifier",X),F+="&code_challenge="+G,F+="&code_challenge_method=S256"}_&&(F+="&login_hint="+encodeURIComponent(_)),v.resource&&(F+="&resource="+encodeURIComponent(v.resource)),v.oidc&&(F+="&nonce="+encodeURIComponent(L)),T&&(F+="&prompt=none");for(const G of Object.keys(w))F+="&"+encodeURIComponent(G)+"="+encodeURIComponent(w[G]);if(this.customQueryParams)for(const G of Object.getOwnPropertyNames(this.customQueryParams))F+="&"+G+"="+encodeURIComponent(this.customQueryParams[G]);return F})}initImplicitFlowInternal(M="",_=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let t={},T=null;"string"==typeof _?T=_:"object"==typeof _&&(t=_),this.createLoginUrl(M,T,null,!1,t).then(this.config.openUri).catch(w=>{console.error("Error in initImplicitFlow",w),this.inImplicitFlow=!1})}initImplicitFlow(M="",_=""){""!==this.loginUrl?this.initImplicitFlowInternal(M,_):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(t=>"discovery_document_loaded"===t.type)).subscribe(t=>this.initImplicitFlowInternal(M,_))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(M){const _=this;if(M.onTokenReceived){const t={idClaims:_.getIdentityClaims(),idToken:_.getIdToken(),accessToken:_.getAccessToken(),state:_.state};M.onTokenReceived(t)}}storeAccessTokenResponse(M,_,t,T,w){if(this._storage.setItem("access_token",M),T&&!Array.isArray(T)?this._storage.setItem("granted_scopes",JSON.stringify(T.split(" "))):T&&Array.isArray(T)&&this._storage.setItem("granted_scopes",JSON.stringify(T)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),t){const v=1e3*t,L=this.dateTimeService.new().getTime()+v;this._storage.setItem("expires_at",""+L)}_&&this._storage.setItem("refresh_token",_),w&&w.forEach((v,E)=>{this._storage.setItem(E,v)})}tryLogin(M=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(M).then(_=>!0):this.tryLoginImplicitFlow(M)}parseQueryString(M){return M&&0!==M.length?("?"===M.charAt(0)&&(M=M.substr(1)),this.urlHelper.parseQueryString(M)):{}}tryLoginCodeFlow(M=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const _=(M=M||{}).customHashFragment?M.customHashFragment.substring(1):window.location.search,t=this.getCodePartsFromUrl(_),T=t.code,w=t.state,v=t.session_state;if(!M.preventClearHashAfterLogin){const I=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,I)}let[E,L]=this.parseState(w);if(this.state=L,t.error){this.debug("error trying to login"),this.handleLoginError(M,t);const I=new OAuthErrorEvent("code_error",{},t);return this.eventsSubject.next(I),Promise.reject(I)}if(!M.disableNonceCheck){if(!E)return this.saveRequestedRoute(),Promise.resolve();if(!M.disableOAuth2StateCheck&&!this.validateNonce(E)){const B=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(B),Promise.reject(B)}return this.storeSessionState(v),T&&(yield this.getTokenFromCode(T,M),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const M=this._storage.getItem("requested_route");M&&history.replaceState(null,"",window.location.origin+M)}getCodePartsFromUrl(M){return M&&0!==M.length?("?"===M.charAt(0)&&(M=M.substr(1)),this.urlHelper.parseQueryString(M)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(M,_){let t=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",M).set("redirect_uri",_.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let T;T=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),T?t=t.set("code_verifier",T):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(t,_)}fetchAndProcessToken(M,_){_=_||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let t=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const T=btoa(`${this.clientId}:${this.dummyClientSecret}`);t=t.set("Authorization","Basic "+T)}return this.useHttpBasicAuth||(M=M.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(M=M.set("client_secret",this.dummyClientSecret)),new Promise((T,w)=>{if(this.customQueryParams)for(let v of Object.getOwnPropertyNames(this.customQueryParams))M=M.set(v,this.customQueryParams[v]);this.http.post(this.tokenEndpoint,M,{headers:t}).subscribe(v=>{this.debug("refresh tokenResponse",v),this.storeAccessTokenResponse(v.access_token,v.refresh_token,v.expires_in||this.fallbackAccessTokenExpirationTimeInSec,v.scope,this.extractRecognizedCustomParameters(v)),this.oidc&&v.id_token?this.processIdToken(v.id_token,v.access_token,_.disableNonceCheck).then(E=>{this.storeIdToken(E),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(v)}).catch(E=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",E)),console.error("Error validating tokens"),console.error(E),w(E)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(v))},v=>{console.error("Error getting token",v),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",v)),w(v)})})}tryLoginImplicitFlow(M=null){let _;_=(M=M||{}).customHashFragment?this.urlHelper.getHashFragmentParams(M.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",_);const t=_.state;let[T,w]=this.parseState(t);if(this.state=w,_.error){this.debug("error trying to login"),this.handleLoginError(M,_);const B=new OAuthErrorEvent("token_error",{},_);return this.eventsSubject.next(B),Promise.reject(B)}const v=_.access_token,E=_.id_token,L=_.session_state,I=_.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!v||this.requestAccessToken&&!M.disableOAuth2StateCheck&&!t||this.oidc&&!E)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!L&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!M.disableNonceCheck&&!this.validateNonce(T)){const F=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(F),Promise.reject(F)}return this.requestAccessToken&&this.storeAccessTokenResponse(v,null,_.expires_in||this.fallbackAccessTokenExpirationTimeInSec,I),this.oidc?this.processIdToken(E,v,M.disableNonceCheck).then(B=>M.validationHandler?M.validationHandler({accessToken:v,idClaims:B.idTokenClaims,idToken:B.idToken,state:t}).then(F=>B):B).then(B=>(this.storeIdToken(B),this.storeSessionState(L),this.clearHashAfterLogin&&!M.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(M),this.inImplicitFlow=!1,!0)).catch(B=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",B)),this.logger.error("Error validating tokens"),this.logger.error(B),Promise.reject(B))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!M.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(M),Promise.resolve(!0))}parseState(M){let _=M,t="";if(M){const T=M.indexOf(this.config.nonceStateSeparator);T>-1&&(_=M.substr(0,T),t=M.substr(T+this.config.nonceStateSeparator.length))}return[_,t]}validateNonce(M){let _;return _=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),_===M||(console.error("Validating access_token failed, wrong state/nonce.",_,M),!1)}storeIdToken(M){this._storage.setItem("id_token",M.idToken),this._storage.setItem("id_token_claims_obj",M.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+M.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(M){this._storage.setItem("session_state",M)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(M,_){M.onLoginError&&M.onLoginError(_),this.clearHashAfterLogin&&!M.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(M=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:M}processIdToken(M,_,t=!1){const T=M.split("."),v=b64DecodeUnicode(this.padBase64(T[0])),E=JSON.parse(v),I=b64DecodeUnicode(this.padBase64(T[1])),B=JSON.parse(I);let F;if(F=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(B.aud)){if(B.aud.every(ce=>ce!==this.clientId)){const ce="Wrong audience: "+B.aud.join(",");return this.logger.warn(ce),Promise.reject(ce)}}else if(B.aud!==this.clientId){const ce="Wrong audience: "+B.aud;return this.logger.warn(ce),Promise.reject(ce)}if(!B.sub){const ce="No sub claim in id_token";return this.logger.warn(ce),Promise.reject(ce)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==B.sub){const ce=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${B.sub}`;return this.logger.warn(ce),Promise.reject(ce)}if(!B.iat){const ce="No iat claim in id_token";return this.logger.warn(ce),Promise.reject(ce)}if(!this.skipIssuerCheck&&B.iss!==this.issuer){const ce="Wrong issuer: "+B.iss;return this.logger.warn(ce),Promise.reject(ce)}if(!t&&B.nonce!==F){const ce="Wrong nonce: "+B.nonce;return this.logger.warn(ce),Promise.reject(ce)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!B.at_hash){const ce="An at_hash is needed!";return this.logger.warn(ce),Promise.reject(ce)}const G=this.dateTimeService.now(),X=1e3*B.iat,Q=1e3*B.exp,ae=this.getClockSkewInMsec();if(X-ae>=G||Q+ae<=G){const ce="Token has expired";return console.error(ce),console.error({now:G,issuedAtMSec:X,expiresAtMSec:Q}),Promise.reject(ce)}const ee={accessToken:_,idToken:M,jwks:this.jwks,idTokenClaims:B,idTokenHeader:E,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ee).then(ce=>({idToken:M,idTokenClaims:B,idTokenClaimsJson:I,idTokenHeader:E,idTokenHeaderJson:v,idTokenExpiresAt:Q})):this.checkAtHash(ee).then(ce=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ce){const he="Wrong at_hash";return this.logger.warn(he),Promise.reject(he)}return this.checkSignature(ee).then(he=>{const Be={idToken:M,idTokenClaims:B,idTokenClaimsJson:I,idTokenHeader:E,idTokenHeaderJson:v,idTokenExpiresAt:Q};return this.disableAtHashCheck?Be:this.checkAtHash(ee).then($e=>{if(this.requestAccessToken&&!$e){const yt="Wrong at_hash";return this.logger.warn(yt),Promise.reject(yt)}return Be})})})}getIdentityClaims(){const M=this._storage.getItem("id_token_claims_obj");return M?JSON.parse(M):null}getGrantedScopes(){const M=this._storage.getItem("granted_scopes");return M?JSON.parse(M):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(M){for(;M.length%4!=0;)M+="=";return M}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const M=this._storage.getItem("expires_at"),_=this.dateTimeService.new();return!(M&&parseInt(M,10)<_.getTime()-this.getClockSkewInMsec())}return!1}hasValidIdToken(){if(this.getIdToken()){const M=this._storage.getItem("id_token_expires_at"),_=this.dateTimeService.new();return!(M&&parseInt(M,10)<_.getTime()-this.getClockSkewInMsec())}return!1}getCustomTokenResponseProperty(M){return this._storage&&this.config.customTokenParameters&&this.config.customTokenParameters.indexOf(M)>=0&&null!==this._storage.getItem(M)?JSON.parse(this._storage.getItem(M)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(M={},_=""){let t=!1;"boolean"==typeof M&&(t=M,M={});const T=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(v=>this._storage.removeItem(v)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||t||!T&&!this.postLogoutRedirectUri)return;let w;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)w=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(T)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let v=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});T&&(v=v.set("id_token_hint",T));const E=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";E&&(v=v.set("post_logout_redirect_uri",E),_&&(v=v.set("state",_)));for(let L in M)v=v.set(L,M[L]);w=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+v.toString()}this.config.openUri(w)}createAndSaveNonce(){const M=this;return this.createNonce().then(function(_){return M.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",_):M._storage.setItem("nonce",_),_})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const M=this.document.getElementById(this.silentRefreshIFrameName);M&&M.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const _=this.document.getElementById(this.sessionCheckIFrameName);_&&_.remove()}createNonce(){return new Promise(M=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const _="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let t=45,T="";const w="undefined"==typeof self?null:self.crypto||self.msCrypto;if(w){let v=new Uint8Array(t);w.getRandomValues(v),v.map||(v.map=Array.prototype.map),v=v.map(E=>_.charCodeAt(E%_.length)),T=String.fromCharCode.apply(null,v)}else for(;0"discovery_document_loaded"===t.type)).subscribe(t=>this.initCodeFlowInternal(M,_))}initCodeFlowInternal(M="",_={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let t={},T=null;"string"==typeof _?T=_:"object"==typeof _&&(t=_),this.createLoginUrl(M,T,null,!1,t).then(this.config.openUri).catch(w=>{console.error("Error in initAuthorizationCodeFlow"),console.error(w)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const M=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(M,"sha-256")),M]})}extractRecognizedCustomParameters(M){let _=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(t=>{M[t]&&_.set(t,JSON.stringify(M[t]))}),_}revokeTokenAndLogout(M={},_=!1){let t=this.revocationEndpoint,T=this.getAccessToken(),w=this.getRefreshToken();if(!T)return;let v=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),E=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const L=btoa(`${this.clientId}:${this.dummyClientSecret}`);E=E.set("Authorization","Basic "+L)}if(this.useHttpBasicAuth||(v=v.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(v=v.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const L of Object.getOwnPropertyNames(this.customQueryParams))v=v.set(L,this.customQueryParams[L]);return new Promise((L,I)=>{let B,F;if(T){let G=v.set("token",T).set("token_type_hint","access_token");B=this.http.post(t,G,{headers:E})}else B=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(w){let G=v.set("token",w).set("token_type_hint","refresh_token");F=this.http.post(t,G,{headers:E})}else F=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);_&&(B=B.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(G=>0===G.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(G))),F=F.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(G=>0===G.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(G)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([B,F]).subscribe(G=>{this.logOut(M),L(G),this.logger.info("Token successfully revoked")},G=>{this.logger.error("Error revoking token",G),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",G)),I(G)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return q.\u0275fac=function(M){return new(M||q)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(Y){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(Y)}}let DefaultOAuthInterceptor=(()=>{class q{constructor(M,_,t){this.oAuthService=M,this.errorHandler=_,this.moduleConfig=t}checkUrl(M){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(M):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(_=>M.toLowerCase().startsWith(_.toLowerCase()))}intercept(M,_){const t=M.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(t)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>!!w)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(w=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(w=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(w=>{if(w){const E=M.headers.set("Authorization","Bearer "+w);M=M.clone({headers:E})}return _.handle(M).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(v=>this.errorHandler.handleError(v)))})):_.handle(M).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(w=>this.errorHandler.handleError(w))):_.handle(M)}}return q.\u0275fac=function(M){return new(M||q)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class NullValidationHandler{validateSignature(Y){return Promise.resolve(null)}validateAtHash(Y){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class q{static forRoot(M=null,_=NullValidationHandler){return{ngModule:q,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:_},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:M},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return q.\u0275fac=function(M){return new(M||q)},q.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:q}),q.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),q})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},1128:q=>{"use strict";q.exports=JSON.parse('{"version":"2021e","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Nairobi|LMT +0230 EAT +0245|-2r.g -2u -30 -2J|012132|-2ua2r.g N6nV.g 3Fbu h1cu dzbJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT GMT +0030 WAT|-d.z 0 -u -10|01023|-2B40d.z 7iod.z dnXK.p dLzH.z|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|012121212121212121212121212121212131|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 PeX0|","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5","Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00|","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0|","America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0|","America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0|","America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0|","America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0|","America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0|","America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0|","America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Barbados|LMT AST ADT -0330|3W.t 40 30 3u|0121213121212121|-2m4k1.v 1eAN1.v RB0 1Bz0 Op0 1rb0 11d0 1jJc0 IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CWT CPT CDT|5Q.M 60 5u 50 50 50|012121212121212121212121212121212121212121212121213412121212121212121212121212121212121212121215151|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu Rcu 7Bt0 Ni0 4nd0 Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu e9Au qn0 lxB0 mn0|57e3","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Dawson|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|13e2","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|0121212121212121212121212121212121212121212121212121212121212121212121212132121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 7jA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5","America/Guyana|LMT -04 -0345 -03|3Q.D 40 3J 30|01231|-2mf87.l 8Hc7.l 2r7bJ Ey0f|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010401054541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5","America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 +08 +11|0 -80 -b0|0121212121212|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10 1o30 14k0 1kr0 12l0 1o01|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Pacific/Port_Moresby|+10|-a0|0||25e4","Antarctica/Macquarie|AEST AEDT -00|-a0 -b0 0|010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 4SK0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 3Co0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1C00 LA0 1C00|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|01010101010101010101010101010|-23uw0 18n0 OjB0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|01010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST +03 +04|-1U.U -20 -30 -30 -40|0121212121212121212121212121212121212121212121234312121212121212121212121212121212121212121212121212121212121212123|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|01212121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyOk.E MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 3LA0 Eo0 oo0 1co0 1dA0 16o0 10M0 1jc0 1tA0 14o0 1cM0 1a00 11A0 1Nc0 Ao0 1Nc0 Ao0 1Ko0 LA0 1o00 WM0 EQK0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4","Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5","Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4","Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|BMT BST AST ADT|4j.i 3j.i 40 30|010102323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28p7E.G 1bb0 1i10 11X0 ru30 thbE.G 1PX0 11B0 1tz0 Rd0 1zb0 Op0 1zb0 3I10 Lz0 1EN0 FX0 1HB0 FX0 1Kp0 Db0 1Kp0 Db0 1Kp0 FX0 93d0 11z0 GAp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|-02|20|0||30","Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Hobart|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 1qM0 Oo0 1zc0 Oo0 TAo0 yM0 1cM0 1cM0 1fA0 1a00 VfA0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293iJ xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293i0 xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","EST|EST|50|0||","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Etc/GMT-0|GMT|0|0||","Etc/GMT-1|+01|-10|0||","Etc/GMT-11|+11|-b0|0||","Pacific/Tarawa|+12|-c0|0||29e3","Etc/GMT-13|+13|-d0|0||","Etc/GMT-14|+14|-e0|0||","Etc/GMT-2|+02|-20|0||","Etc/GMT-3|+03|-30|0||","Etc/GMT-4|+04|-40|0||","Etc/GMT-5|+05|-50|0||","Etc/GMT-6|+06|-60|0||","Indian/Christmas|+07|-70|0||21e2","Etc/GMT-8|+08|-80|0||","Pacific/Palau|+09|-90|0||21e3","Etc/GMT+1|-01|10|0||","Etc/GMT+10|-10|a0|0||","Etc/GMT+11|-11|b0|0||","Etc/GMT+12|-12|c0|0||","Etc/GMT+3|-03|30|0||","Etc/GMT+4|-04|40|0||","Etc/GMT+5|-05|50|0||","Etc/GMT+6|-06|60|0||","Etc/GMT+7|-07|70|0||","Etc/GMT+8|-08|80|0||","Etc/GMT+9|-09|90|0||","Etc/UTC|UTC|0|0||","Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 1oo0 11c0 1lc0 17c0 O1V0 3Nf0 WM0 1fA0 1cM0 1cM0 1oJ0 1dd0 1020 1fX0 1cp0 1cM0 1cM0 1cM0 1fA0 1a00 bhy0 Rb0 1wr0 Rc0 1C00 LA0 1C00 LA0 SNW0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cO0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST EET EEST MSK MSD +03|-10 -20 -20 -30 -30 -40 -30|01010101010101232454545454545454543232323232323232323232323232323232323232323262|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2n5c9.l cFX9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810|","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|0123232323232323212121212121212121212121212121212121212121212121|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0 5gn0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0||","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Cocos|+0630|-6u|0||596","Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130","Indian/Mahe|LMT +04|-3F.M -40|01|-2xorF.M|79e3","Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","MST|MST|70|0||","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|012121212121212121212121|-2l9nd.g 2uNXd.g Dc0 n610 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-00 -12 -11 +13|0 c0 b0 -d0|0123|-1iIo0 1GsA0 B7X0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|01212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 2hc0 bc0 4q00 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00|88e4","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4","Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4","Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2","Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2","Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3","Pacific/Niue|LMT -1120 -11|bj.E bk b0|012|-FScE.k suo0.k|12e2","Pacific/Norfolk|+1112 +1130 +1230 +11 +12|-bc -bu -cu -b0 -c0|012134343434343434343434343434343434343434|-Kgbc W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56","Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3","Pacific/Rarotonga|LMT -1030 -0930 -10|aD.4 au 9u a0|0123232323232323232323232323|-FSdk.U 13tbO.U IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|LMT +1220 +13 +14|-cj.c -ck -d0 -e0|01232323232|-XbMj.c BgLX.c 1yndk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|"],"links":["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Chicago|US/Central","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Godthab|America/Nuuk","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Phoenix|America/Creston","America/Phoenix|US/Arizona","America/Puerto_Rico|America/Anguilla","America/Puerto_Rico|America/Antigua","America/Puerto_Rico|America/Aruba","America/Puerto_Rico|America/Blanc-Sablon","America/Puerto_Rico|America/Curacao","America/Puerto_Rico|America/Dominica","America/Puerto_Rico|America/Grenada","America/Puerto_Rico|America/Guadeloupe","America/Puerto_Rico|America/Kralendijk","America/Puerto_Rico|America/Lower_Princes","America/Puerto_Rico|America/Marigot","America/Puerto_Rico|America/Montserrat","America/Puerto_Rico|America/Port_of_Spain","America/Puerto_Rico|America/St_Barthelemy","America/Puerto_Rico|America/St_Kitts","America/Puerto_Rico|America/St_Lucia","America/Puerto_Rico|America/St_Thomas","America/Puerto_Rico|America/St_Vincent","America/Puerto_Rico|America/Tortola","America/Puerto_Rico|America/Virgin","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|America/Nassau","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Riyadh|Antarctica/Syowa","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Atlantic/South_Georgia|Etc/GMT+2","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Currie","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT-0|Etc/GMT","Etc/GMT-0|Etc/GMT+0","Etc/GMT-0|Etc/GMT0","Etc/GMT-0|Etc/Greenwich","Etc/GMT-0|GMT","Etc/GMT-0|GMT+0","Etc/GMT-0|GMT-0","Etc/GMT-0|GMT0","Etc/GMT-0|Greenwich","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Christmas|Etc/GMT-7","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Enderbury|Pacific/Kanton","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Palau|Etc/GMT-9","Pacific/Pohnpei|Pacific/Ponape","Pacific/Port_Moresby|Antarctica/DumontDUrville","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Tarawa|Etc/GMT-12","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"],"countries":["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Port_of_Spain America/Antigua","AI|America/Port_of_Spain America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/DumontDUrville Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Syowa Antarctica/Troll Antarctica/Vostok Pacific/Auckland Antarctica/McMurdo","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Curacao America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Port_of_Spain America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Brunei","BO|America/La_Paz","BQ|America/Curacao America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Blanc-Sablon America/Toronto America/Nipigon America/Thunder_Bay America/Iqaluit America/Pangnirtung America/Atikokan America/Winnipeg America/Rainy_River America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Yellowknife America/Inuvik America/Creston America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver","CC|Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Curacao","CX|Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Copenhagen","DM|America/Port_of_Spain America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Chuuk Pacific/Pohnpei Pacific/Kosrae","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Port_of_Spain America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Port_of_Spain America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Enderbury Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Port_of_Spain America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Port_of_Spain America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Port_of_Spain America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Majuro Pacific/Kwajalein","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Port_of_Spain America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Mazatlan America/Chihuahua America/Ojinaga America/Hermosillo America/Tijuana America/Bahia_Banderas","MY|Asia/Kuala_Lumpur Asia/Kuching","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Amsterdam","NO|Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Oslo Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Curacao America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Indian/Reunion Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Port_of_Spain","TV|Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kiev Europe/Uzhgorod Europe/Zaporozhye","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Wake Pacific/Honolulu Pacific/Midway","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Port_of_Spain America/St_Vincent","VE|America/Caracas","VG|America/Port_of_Spain America/Tortola","VI|America/Port_of_Spain America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}')},4147:q=>{"use strict";q.exports={i8:"7.0.0"}}},q=>{q(q.s=8377)}]); \ No newline at end of file diff --git a/dist/apps/user-profile/main.7f275cd02335c877.js b/dist/apps/user-profile/main.7f275cd02335c877.js deleted file mode 100644 index 0756cd3e2..000000000 --- a/dist/apps/user-profile/main.7f275cd02335c877.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkuser_profile=self.webpackChunkuser_profile||[]).push([[179],{9510:(q,Y,w)=>{"use strict";var b=w(9808),i=w(5e3);class T extends b.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class M extends T{static makeCurrent(){(0,b.HT)(new M)}onAndCancel(o,e,t){return o.addEventListener(e,t,!1),()=>{o.removeEventListener(e,t,!1)}}dispatchEvent(o,e){o.dispatchEvent(e)}remove(o){o.parentNode&&o.parentNode.removeChild(o)}createElement(o,e){return(e=e||this.getDefaultDocument()).createElement(o)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(o){return o.nodeType===Node.ELEMENT_NODE}isShadowRoot(o){return o instanceof DocumentFragment}getGlobalEventTarget(o,e){return"window"===e?window:"document"===e?o:"body"===e?o.body:null}getBaseHref(o){const e=function k(){return v=v||document.querySelector("base"),v?v.getAttribute("href"):null}();return null==e?null:function I(n){L=L||document.createElement("a"),L.setAttribute("href",n);const o=L.pathname;return"/"===o.charAt(0)?o:`/${o}`}(e)}resetBaseElement(){v=null}getUserAgent(){return window.navigator.userAgent}getCookie(o){return(0,b.Mx)(document.cookie,o)}}let L,v=null;const B=new i.OlP("TRANSITION_ID"),U=[{provide:i.ip1,useFactory:function F(n,o,e){return()=>{e.get(i.CZH).donePromise.then(()=>{const t=(0,b.q)(),s=o.querySelectorAll(`style[ng-transition="${n}"]`);for(let a=0;a{const a=o.findTestabilityInTree(t,s);if(null==a)throw new Error("Could not find testability for element.");return a},i.dqk.getAllAngularTestabilities=()=>o.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>o.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const s=i.dqk.getAllAngularTestabilities();let a=s.length,r=!1;const c=function(d){r=r||d,a--,0==a&&t(r)};s.forEach(function(d){d.whenStable(c)})})}findTestabilityInTree(o,e,t){if(null==e)return null;const s=o.getTestability(e);return null!=s?s:t?(0,b.q)().isShadowRoot(e)?this.findTestabilityInTree(o,e.host,!0):this.findTestabilityInTree(o,e.parentElement,!0):null}}let Q=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const ae=new i.OlP("EventManagerPlugins");let ee=(()=>{class n{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(s=>s.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,s){return this._findPluginFor(t).addEventListener(e,t,s)}addGlobalEventListener(e,t,s){return this._findPluginFor(t).addGlobalEventListener(e,t,s)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const s=this._plugins;for(let a=0;a{class n{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(s=>{this._stylesSet.has(s)||(this._stylesSet.add(s),t.add(s))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),ze=(()=>{class n extends he{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,s){e.forEach(a=>{const r=this._doc.createElement("style");r.textContent=a,s.push(t.appendChild(r))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(He),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,s)=>{this._addStylesToHost(e,s,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(He))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function He(n){(0,b.q)().remove(n)}const Ze={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},bt=/%COMP%/g;function ge(n,o,e){for(let t=0;t{if("__ngUnwrap__"===o)return n;!1===n(o)&&(o.preventDefault(),o.returnValue=!1)}}let Re=(()=>{class n{constructor(e,t,s){this.eventManager=e,this.sharedStylesHost=t,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new fe(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ifc.Emulated:{let s=this.rendererByCompId.get(t.id);return s||(s=new wi(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,s)),s.applyToHost(e),s}case 1:case i.ifc.ShadowDom:return new ot(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const s=ge(t.id,t.styles,[]);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ee),i.LFG(ze),i.LFG(i.AFp))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class fe{constructor(o){this.eventManager=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(o,e){return e?document.createElementNS(Ze[e]||e,o):document.createElement(o)}createComment(o){return document.createComment(o)}createText(o){return document.createTextNode(o)}appendChild(o,e){o.appendChild(e)}insertBefore(o,e,t){o&&o.insertBefore(e,t)}removeChild(o,e){o&&o.removeChild(e)}selectRootElement(o,e){let t="string"==typeof o?document.querySelector(o):o;if(!t)throw new Error(`The selector "${o}" did not match any elements`);return e||(t.textContent=""),t}parentNode(o){return o.parentNode}nextSibling(o){return o.nextSibling}setAttribute(o,e,t,s){if(s){e=s+":"+e;const a=Ze[s];a?o.setAttributeNS(a,e,t):o.setAttribute(e,t)}else o.setAttribute(e,t)}removeAttribute(o,e,t){if(t){const s=Ze[t];s?o.removeAttributeNS(s,e):o.removeAttribute(`${t}:${e}`)}else o.removeAttribute(e)}addClass(o,e){o.classList.add(e)}removeClass(o,e){o.classList.remove(e)}setStyle(o,e,t,s){s&(i.JOm.DashCase|i.JOm.Important)?o.style.setProperty(e,t,s&i.JOm.Important?"important":""):o.style[e]=t}removeStyle(o,e,t){t&i.JOm.DashCase?o.style.removeProperty(e):o.style[e]=""}setProperty(o,e,t){o[e]=t}setValue(o,e){o.nodeValue=e}listen(o,e,t){return"string"==typeof o?this.eventManager.addGlobalEventListener(o,e,Ae(t)):this.eventManager.addEventListener(o,e,Ae(t))}}class wi extends fe{constructor(o,e,t,s){super(o),this.component=t;const a=ge(s+"-"+t.id,t.styles,[]);e.addStyles(a),this.contentAttr=function mt(n){return"_ngcontent-%COMP%".replace(bt,n)}(s+"-"+t.id),this.hostAttr=function de(n){return"_nghost-%COMP%".replace(bt,n)}(s+"-"+t.id)}applyToHost(o){super.setAttribute(o,this.hostAttr,"")}createElement(o,e){const t=super.createElement(o,e);return super.setAttribute(t,this.contentAttr,""),t}}class ot extends fe{constructor(o,e,t,s){super(o),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=ge(s.id,s.styles,[]);for(let r=0;r{class n extends ce{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,s){return e.addEventListener(t,s,!1),()=>this.removeEventListener(e,t,s)}removeEventListener(e,t,s){return e.removeEventListener(t,s)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const jn=["alt","control","meta","shift"],Xe={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ai={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},gs={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let pn=(()=>{class n extends ce{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,t,s){const a=n.parseEventName(t),r=n.eventCallback(a.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,b.q)().onAndCancel(e,a.domEventName,r))}static parseEventName(e){const t=e.toLowerCase().split("."),s=t.shift();if(0===t.length||"keydown"!==s&&"keyup"!==s)return null;const a=n._normalizeKey(t.pop());let r="";if(jn.forEach(d=>{const h=t.indexOf(d);h>-1&&(t.splice(h,1),r+=d+".")}),r+=a,0!=t.length||0===a.length)return null;const c={};return c.domEventName=s,c.fullKey=r,c}static getEventFullKey(e){let t="",s=function ui(n){let o=n.key;if(null==o){if(o=n.keyIdentifier,null==o)return"Unidentified";o.startsWith("U+")&&(o=String.fromCharCode(parseInt(o.substring(2),16)),3===n.location&&ai.hasOwnProperty(o)&&(o=ai[o]))}return Xe[o]||o}(e);return s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),jn.forEach(a=>{a!=s&&gs[a](e)&&(t+=a+".")}),t+=s,t}static eventCallback(e,t,s){return a=>{n.getEventFullKey(a)===e&&s.runGuarded(()=>t(a))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Fs=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:b.bD},{provide:i.g9A,useValue:function Wt(){M.makeCurrent(),X.init()},multi:!0},{provide:b.K0,useFactory:function ro(){return(0,i.RDi)(document),document},deps:[]}]),Yn=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function gn(){return new i.qLn},deps:[]},{provide:ae,useClass:ft,multi:!0,deps:[b.K0,i.R0b,i.Lbi]},{provide:ae,useClass:pn,multi:!0,deps:[b.K0]},{provide:Re,useClass:Re,deps:[ee,ze,i.AFp]},{provide:i.FYo,useExisting:Re},{provide:he,useExisting:ze},{provide:ze,useClass:ze,deps:[b.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:ee,useClass:ee,deps:[ae,i.R0b]},{provide:b.JF,useClass:Q,deps:[]}];let le=(()=>{class n{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:n,providers:[{provide:i.AFp,useValue:e.appId},{provide:B,useExisting:i.AFp},U]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:Yn,imports:[b.ez,i.hGG]}),n})(),nt=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function Ge(){return new nt((0,i.LFG)(b.K0))}(),t},providedIn:"root"}),n})();"undefined"!=typeof window&&window;let _s=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new(e||n):i.LFG(ar),t},providedIn:"root"}),n})(),ar=(()=>{class n extends _s{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case i.q3G.NONE:return t;case i.q3G.HTML:return(0,i.qzn)(t,"HTML")?(0,i.z3N)(t):(0,i.EiD)(this._doc,String(t)).toString();case i.q3G.STYLE:return(0,i.qzn)(t,"Style")?(0,i.z3N)(t):t;case i.q3G.SCRIPT:if((0,i.qzn)(t,"Script"))return(0,i.z3N)(t);throw new Error("unsafe value used in a script context");case i.q3G.URL:return(0,i.yhl)(t),(0,i.qzn)(t,"URL")?(0,i.z3N)(t):(0,i.mCW)(String(t));case i.q3G.RESOURCE_URL:if((0,i.qzn)(t,"ResourceURL"))return(0,i.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,i.JVY)(e)}bypassSecurityTrustStyle(e){return(0,i.L6k)(e)}bypassSecurityTrustScript(e){return(0,i.eBb)(e)}bypassSecurityTrustUrl(e){return(0,i.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,i.pB0)(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function rr(n){return new ar(n.get(b.K0))}(i.LFG(i.zs3)),t},providedIn:"root"}),n})();var D=w(520);class Ie{encodeKey(o){return encodeURIComponent(o)}encodeValue(o){return encodeURIComponent(o)}decodeKey(o){return decodeURIComponent(o)}decodeValue(o){return decodeURIComponent(o)}}const ki=new i.OlP("basePath");class Qe{constructor(o={}){this.apiKeys=o.apiKeys,this.username=o.username,this.password=o.password,this.accessToken=o.accessToken,this.basePath=o.basePath,this.withCredentials=o.withCredentials,this.encoder=o.encoder}selectHeaderContentType(o){if(0===o.length)return;const e=o.find(t=>this.isJsonMime(t));return void 0===e?o[0]:e}selectHeaderAccept(o){if(0===o.length)return;const e=o.find(t=>this.isJsonMime(t));return void 0===e?o[0]:e}isJsonMime(o){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==o&&(e.test(o)||"application/json-patch+json"===o.toLowerCase())}}let si=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}convertAttributeToNonunique(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}convertAttributeToUnique(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteAttributeDefinitions(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attributes[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllAttributeDefinitions(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAttribute(e,t,s,a,r,c,d,h,g,O,$,oe="body",be=!1){let ve=new D.LE({encoder:this.encoder});null!=e&&(ve=ve.set("attributeName",e)),null!=t&&(ve=ve.set("attributeId",t)),null!=s&&(ve=ve.set("facility",s)),null!=a&&(ve=ve.set("user",a)),null!=r&&(ve=ve.set("vo",r)),null!=c&&(ve=ve.set("resource",c)),null!=d&&(ve=ve.set("member",d)),null!=h&&(ve=ve.set("group",h)),null!=g&&(ve=ve.set("host",g)),null!=O&&(ve=ve.set("userExtSource",O)),null!=$&&(ve=ve.set("key",$));let Le=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Le=Le.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Le=Le.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Bt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Le=Le.set("Authorization","Bearer "+Bt)}const Vt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Vt&&(Le=Le.set("Accept",Vt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:ve,withCredentials:this.configuration.withCredentials,headers:Le,observe:oe,reportProgress:be})}getAttributeDefinitionById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeDefinitionByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeDefinitionsByNamespace(e,t="body",s=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeModulesDependenciesForAttributeGraphText(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("format",e)),null!=t&&(r=r.set("attrName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAttributeModulesDependenciesGraphText(e,t="body",s=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("format",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributePolicyCollections(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeRights(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributesDefinitionWithRights(e,t,s,a,r,c,d,h,g="body",O=!1){let $=new D.LE({encoder:this.encoder});null!=e&&($=$.set("member",e)),null!=t&&($=$.set("user",t)),null!=s&&($=$.set("vo",s)),null!=a&&($=$.set("group",a)),null!=r&&($=$.set("resource",r)),null!=c&&($=$.set("facility",c)),null!=d&&($=$.set("host",d)),null!=h&&($=$.set("userExtSource",h));let oe=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(oe=oe.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(oe=oe.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Le="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;oe=oe.set("Authorization","Bearer "+Le)}const ve=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ve&&(oe=oe.set("Accept",ve)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:$,withCredentials:this.configuration.withCredentials,headers:oe,observe:g,reportProgress:O})}getEntitylessAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessAttributesByKey(e,t="body",s=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("key",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEntitylessAttributesByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attrName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEntitylessAttributesWithKeys(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attrName",e)),t&&t.forEach(g=>{r=r.append("keys[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessKeys(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityResourceUserMemberAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("resource",t)),null!=s&&(d=d.set("user",s)),null!=a&&(d=d.set("member",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getFacilityUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupResourceAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupResourceAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLogins(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberAndUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==t)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAndUserAttributesByNames(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),t&&t.forEach(O=>{c=c.append("attrNames[]",O)}),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAndUserAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach($=>{d=d.append("attrNames[]",$)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberGroupAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberGroupAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAttributesByNames(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),s&&s.forEach(O=>{c=c.append("attrNames[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach($=>{d=d.append("attrNames[]",$)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberResourceAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesFacilityService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesFacilityServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesGroupResourceService(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("group",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesHostService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==t)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("host",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMemberGroup(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesMemberGroupResourceService(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("group",s)),null!=a&&(h=h.set("member",a)),null!=r&&(h=h.set("workWithUserAttributes",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getRequiredAttributesMemberGroupService(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("group",t)),null!=s&&(d=d.set("member",s)),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesMemberResource(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesMemberResourceService(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("resource",t)),null!=s&&(d=d.set("member",s)),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesResourceService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesResourceServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesUserFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesVoService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupAndGroupAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("resource",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("workWithGroupAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResourceGroupAndGroupAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach($=>{d=d.append("attrNames[]",$)}),null!=a&&(d=d.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getResourceGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupMemberAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==a)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),null!=s&&(d=d.set("member",s)),a&&a.forEach($=>{d=d.append("attrNames[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserFacilityAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getUserFacilityAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getUserFacilityAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAttributesForFacilityResourceGroupUserMember(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==a)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==c)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("facility",e)),null!=t&&(g=g.set("resource",t)),null!=s&&(g=g.set("group",s)),null!=a&&(g=g.set("user",a)),null!=r&&(g=g.set("member",r)),c&&c.forEach(be=>{g=g.append("attributes[]",be)});let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+be)}const oe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==oe&&(O=O.set("Accept",oe)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:d,reportProgress:h})}removeAttributesForFacilityResourceUserMember(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==a)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("facility",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("user",s)),null!=a&&(h=h.set("member",a)),r&&r.forEach(oe=>{h=h.append("attributes[]",oe)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}removeEntitylessAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupResourceAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeGroupResourceAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach($=>{d=d.append("attributes[]",$)}),null!=a&&(d=d.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeHostAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHostAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributesWorkWithUserAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),t&&t.forEach(O=>{c=c.append("attributes[]",O)}),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach($=>{d=d.append("attributes[]",$)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeMemberResourceAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberResourceAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeResourceAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUesAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSourceAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserFacilityAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeUserFacilityAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeVoAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setAttributePolicyCollections(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setAttributeRights(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setEntitylessAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityResourceGroupUserMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityResourceUserMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setHostAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setHostAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupWithUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAndUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberWithUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceGroupWithGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserExtSourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserExtSourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserFacilityAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setVoAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setVoAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ki=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}getAllPolicies(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("role",e)),null!=t&&(c=c.set("complementaryObjectId",t)),null!=s&&(c=c.set("complementaryObjectName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAuthzRichAdmins(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==a)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("role",e)),null!=t&&(g=g.set("complementaryObjectId",t)),null!=s&&(g=g.set("complementaryObjectName",s)),a&&a.forEach(be=>{g=g.append("specificAttributes",be)}),null!=r&&(g=g.set("allUserAttributes",r)),null!=c&&(g=g.set("onlyDirectAdmins",c));let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+be)}const oe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==oe&&(O=O.set("Accept",oe)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:d,reportProgress:h})}getFacilitiesWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupRoleNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupRoles(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("groupId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLoggedUser(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getPerunPrincipal(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSecurityTeamsWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserRoleNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserRoles(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}isFacilityAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isGroupAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isPerunAdmin(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}isVoAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}keepAlive(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setRoleWithUserComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unsetRoleWithGroupComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unsetRoleWithUserComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),An=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}addMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling addMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling addMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}canExtendMembershipInGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupUnion(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupWithParentGroupNameDescription(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("parentGroup",e)),null!=t&&(c=c.set("name",t)),null!=s&&(c=c.set("description",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}createGroupWithVoNameDescription(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("name",t)),null!=s&&(c=c.set("description",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}deleteGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}extendMembershipInGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}forceAllSubGroupsSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceGroupStructureSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceGroupSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllGroupsFromAllVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllMemberGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichGroupsWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichSubGroupsWithGroupAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==t)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("name",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMemberById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==t)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCountsByGroupStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCountsByVoStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupRichMembersByIds(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==t)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(O=>{c=c.append("members[]",O)}),s&&s.forEach(O=>{c=c.append("attrNames[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupUnions(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==t)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("reverseDirection",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getIndirectMembershipPaths(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberRichGroupsWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichGroupByIdWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("groupId",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSubgroupsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}isGroupMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==t)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}moveGroupWithDestinationGroupMovingGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("destinationGroup",t)),null!=e&&(r=r.set("movingGroup",e));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupUnion(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setGroupsMemberStatus(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==t)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==s)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("status",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}updateGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Be=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}canExtendMembership(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createMemberForCandidate(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createMemberForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createMemberFromExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSpecificMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMembersFromCSV(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("members[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}extendMembership(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findCompleteRichMembersByAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(O=>{c=c.append("attrsNames[]",O)}),null!=t&&(c=c.set("searchString",t)),s&&s.forEach(O=>{c=c.append("allowedStatuses[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findCompleteRichMembersForGroup(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==a)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("group",e)),t&&t.forEach(be=>{g=g.append("attrsNames[]",be)}),r&&r.forEach(be=>{g=g.append("allowedStatuses[]",be)}),c&&c.forEach(be=>{g=g.append("allowedGroupStatuses[]",be)}),null!=s&&(g=g.set("searchString",s)),null!=a&&(g=g.set("lookingInParentGroup",a));let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+be)}const oe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==oe&&(O=O.set("Accept",oe)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:d,reportProgress:h})}findCompleteRichMembersForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach($=>{d=d.append("attrsNames[]",$)}),a&&a.forEach($=>{d=d.append("allowedStatuses[]",$)}),null!=s&&(d=d.set("searchString",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}findMembersInVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("searchString",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findSponsoredCompleteRichMembersForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==a)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach($=>{d=d.append("attrsNames[]",$)}),null!=s&&(d=d.set("searchString",s)),null!=a&&(d=d.set("onlySponsored",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllMembers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllNamespacesRules(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllSponsoredMembersAndTheirSponsors(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getCompleteRichMembersForGroup(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),s&&s.forEach(oe=>{h=h.append("allowedStatuses[]",oe)}),a&&a.forEach(oe=>{h=h.append("allowedGroupStatuses[]",oe)}),null!=t&&(h=h.set("lookingInParentGroup",t)),r&&r.forEach(oe=>{h=h.append("attrsNames[]",oe)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getCompleteRichMembersForGroupResource(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==s)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==a)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach($=>{d=d.append("attrsNames[]",$)}),a&&a.forEach($=>{d=d.append("allowedStatuses[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getCompleteRichMembersForVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),t&&t.forEach(O=>{c=c.append("allowedStatuses[]",O)}),s&&s.forEach(O=>{c=c.append("attrsNames[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberByExtSourceNameAndExtLogin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==s)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("extLogin",t)),null!=s&&(c=c.set("extSourceName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberByUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getMembersWithStatusCount(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichMemberWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichMembersByIds(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("ids[]",g)}),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsoredMembersAndTheirSponsors(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=s&&(d=d.set("extLogin",s)),a&&a.forEach($=>{d=d.append("attrNames[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}moveMembership(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==t)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==s)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("sourceUser",t)),null!=s&&(c=c.set("targetUser",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeSponsor(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("sponsor",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendAccountActivationLinkEmail(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("namespace",t)),null!=s&&(d=d.set("emailAttributeURN",s)),null!=a&&(d=d.set("language",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendPasswordResetLinkEmail(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("member",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("emailAttributeURN",s)),null!=a&&(h=h.set("language",a)),null!=r&&(h=h.set("baseUrl",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}setSponsoredMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setSponsorshipForMember(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("sponsoredMember",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}setStatus(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling setStatus.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sponsorMember(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}updateSponsorshipValidity(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}validateMemberAsync(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ni=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}sentMessageToRTWithMemberQueue(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("memberId",e)),null!=t&&(d=d.set("queue",t)),null!=s&&(d=d.set("subject",s)),null!=a&&(d=d.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sentMessageToRTWithQueue(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("queue",e)),null!=t&&(c=c.set("subject",t)),null!=s&&(c=c.set("text",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sentMessageToRTWithVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("voId",e)),null!=t&&(c=c.set("subject",t)),null!=s&&(c=c.set("text",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sentMessageToRTWithVoQueue(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("voId",e)),null!=t&&(d=d.set("queue",t)),null!=s&&(d=d.set("subject",s)),null!=a&&(d=d.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Rn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}addApplicationMailForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addApplicationMailForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addGroupsToAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}approveApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}checkForSimilarUsersWithAuthInfo(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}consolidateIdentityUsingToken(e,t="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}copyFormFromGroupToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromGroupToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createApplicationFormInGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createApplicationFormInVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteApplicationMailForGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("id",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteApplicationMailForVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("id",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroupsFromAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationDataById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationMailsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationMailsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationsForGroup(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),t&&t.forEach($=>{d=d.append("state[]",$)}),null!=s&&(d=d.set("dateFrom",s)),null!=a&&(d=d.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsForMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getApplicationsForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach($=>{d=d.append("state[]",$)}),null!=s&&(d=d.set("dateFrom",s)),null!=a&&(d=d.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getConsolidatorToken(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFormItemsForGroupWithType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFormItemsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFormItemsForVoWithType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupApplicationForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsToAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoApplicationForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}rejectApplication(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),null!=t&&(r=r.set("reason",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendInvitation(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let d=new D.LE({encoder:this.encoder});null!=s&&(d=d.set("voId",s)),null!=a&&(d=d.set("name",a)),null!=e&&(d=d.set("email",e)),null!=t&&(d=d.set("language",t));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendInvitationForGroup(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let h=new D.LE({encoder:this.encoder});null!=s&&(h=h.set("voId",s)),null!=a&&(h=h.set("groupId",a)),null!=r&&(h=h.set("name",r)),null!=e&&(h=h.set("email",e)),null!=t&&(h=h.set("language",t));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}sendInvitationGroupToExistingUser(e,t,s,a="body",r=!1){let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("userId",e)),null!=t&&(c=c.set("voId",t)),null!=s&&(c=c.set("groupId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sendInvitationToExistingUser(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userId",e)),null!=t&&(r=r.set("voId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendMessage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setSendingEnabled(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}submitApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateApplicationMail(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemData(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsData(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}verifyApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ei=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}activateGroupResourceAssignment(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("async",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}addAdminToGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addAdminToUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}allowGroupsToResources(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(O=>{c=c.append("groups[]",O)}),t&&t.forEach(O=>{c=c.append("resources[]",O)}),null!=s&&(c=c.set("async",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}assignGroupToResource(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignGroupToResources(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),t&&t.forEach(oe=>{h=h.append("resources[]",oe)}),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignGroupsToResource(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let h=new D.LE({encoder:this.encoder});e&&e.forEach(oe=>{h=h.append("groups[]",oe)}),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignResourceTagToResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}assignService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling assignService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling assignServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createResource(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==s)throw new Error("Required parameter name was null or undefined when calling createResource.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("facility",t)),null!=s&&(d=d.set("name",s)),null!=a&&(d=d.set("description",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createResourceTagWithResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createResourceTagWithTagName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("tagName",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deactivateGroupResourceAssignment(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteAllResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteAllResourcesTagsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAdminGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAdmins(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllResourcesByResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAllResourcesTagsForResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesTagsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedUsersOfResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedGroups(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedMembersWithStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithMemberService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedServicesToResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEnrichedResourceById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupAssignments(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAssignments(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBan(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==s)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("name",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesCountForAll(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getResourcesCountForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesFromVoWhereUserIsAdmin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourcesWhereGroupIsAdmin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("group",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResourcesWhereUserIsAdmin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("user",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRichAdmins(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==t)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==s)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==a)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),t&&t.forEach($=>{d=d.append("specificAttributes",$)}),null!=s&&(d=d.set("allUserAttributes",s)),null!=a&&(d=d.set("onlyDirectAdmins",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRichResourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichResourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeAllResourceTagsFromResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeBanByMemberAndResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAdminResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResources(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupsFromResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeResourceSelfServiceGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceSelfServiceUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceTagFromResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}removeService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling removeServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAdminResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setResourceBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unallowGroupsFromResources(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),t&&t.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateResourceBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Tt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}addSpecificUserOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addUserExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}anonymizeUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}changeNonAuthzPasswordByToken(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==t)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("token",e)),null!=t&&(c=c.set("password",t)),null!=s&&(c=c.set("lang",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}changePasswordForLogin(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("login",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}changePasswordForUser(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("user",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}checkPasswordResetRequestByTokenIsValid(e,t="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}checkPasswordStrength(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("password",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createAlternativePassword(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==s)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==a)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("description",t)),null!=s&&(d=d.set("loginNamespace",s)),null!=a&&(d=d.set("password",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createServiceUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAlternativePassword(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==s)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("loginNamespace",t)),null!=s&&(c=c.set("passwordId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}deletePasswordForLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deletePasswordForUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findRichUsers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findRichUsersWithAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("searchString",e)),t&&t.forEach(g=>{r=r.append("attrsNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findUsers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}generateAccountForName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("namespace",e)),null!=t&&(r=r.set("name",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichUsersWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("includedSpecificUsers",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsForFacilityWhereUserIsActive(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsForResourceWhereUserIsActive(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsInVoWhereUserIsAdmin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getPendingPreferredEmailChanges(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUserExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUserWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersWithAttributesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersWithoutVoWithAttributes(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrsNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSpecificUsersByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsorsForMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsForMemberByVoAndLogin(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=s&&(d=d.set("extLogin",s)),a&&a.forEach($=>{d=d.append("attrNames[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserByExtSourceNameAndExtLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("extLogin",e)),null!=t&&(r=r.set("extSourceName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeId",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeName",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getUsersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsersBySpecificUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsersPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getVosWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosWhereUserIsMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isLoginAvailable(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==t)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("loginNamespace",e)),null!=t&&(r=r.set("login",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}loginExist(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSpecificUserOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSource(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("userExtSource",t)),null!=s&&(c=c.set("force",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}requestPreferredEmailChange(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==t)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("user",e)),null!=t&&(g=g.set("email",t)),null!=s&&(g=g.set("lang",s)),null!=a&&(g=g.set("linkPath",a)),null!=r&&(g=g.set("customUrl",r)),null!=c&&(g=g.set("idpFilter",c));let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+be)}const oe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==oe&&(O=O.set("Accept",oe)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:d,reportProgress:h})}reservePasswordForLogin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("login",e)),null!=t&&(c=c.set("namespace",t)),null!=s&&(c=c.set("password",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}reservePasswordForUser(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("namespace",t)),null!=s&&(c=c.set("password",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}reserveRandomPassword(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}validatePasswordForLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePasswordForUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePreferredEmailChangeWithToken(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==t)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("token",e)),null!=t&&(r=r.set("u",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),js=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}getAppsConfig(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),uo=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}addSponsorRoleToGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addSponsorRoleToUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==t)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("shortName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findCandidates(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("id",e)),null!=t&&(c=c.set("searchString",t)),null!=s&&(c=c.set("maxNumOfResults",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findCandidatesForGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("searchString",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getCompleteCandidatesForGroup(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(O=>{c=c.append("attrNames[]",O)}),null!=s&&(c=c.set("searchString",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getCompleteCandidatesForVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),t&&t.forEach(O=>{c=c.append("attrNames[]",O)}),null!=s&&(c=c.set("searchString",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMyVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getRichAdminsForVo(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==a)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("vo",e)),null!=t&&(h=h.set("role",t)),s&&s.forEach(oe=>{h=h.append("specificAttributes",oe)}),null!=a&&(h=h.set("allUserAttributes",a)),null!=r&&(h=h.set("onlyDirectAdmins",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getVoAdminGroups(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("role",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAdminUsers(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("role",t)),null!=s&&(c=c.set("onlyDirectAdmins",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getVoBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoBanForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoBansForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoByShortName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("shortName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoMembersCountsByStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeSponsorRoleFromGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSponsorRoleFromUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeVoBanForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}setVoBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Rt=(()=>{return(n=Rt||(Rt={})).PERUNADMIN="PERUNADMIN",n.PERUNOBSERVER="PERUNOBSERVER",n.VOADMIN="VOADMIN",n.GROUPADMIN="GROUPADMIN",n.SELF="SELF",n.FACILITYADMIN="FACILITYADMIN",n.FACILITIYOBSERVER="FACILITYOBSERVER",n.RESOURCEADMIN="RESOURCEADMIN",n.RESOURCESELFSERVICE="RESOURCESELFSERVICE",n.REGISTRAR="REGISTRAR",n.ENGINE="ENGINE",n.RPC="RPC",n.NOTIFICATIONS="NOTIFICATIONS",n.SERVICEUSER="SERVICEUSER",n.SPONSOR="SPONSOR",n.VOOBSERVER="VOOBSERVER",n.TOPGROUPCREATOR="TOPGROUPCREATOR",n.SECURITYADMIN="SECURITYADMIN",n.CABINETADMIN="CABINETADMIN",n.UNKNOWNROLENAME="UNKNOWNROLENAME",Rt;var n})();let Ga=(()=>{class n{constructor(e){this.authzSevice=e,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(e){this.principal=e,this.initData(e)}setPerunPolicies(e){this.perunPolicies=e}getPerunPolicies(){return this.perunPolicies}isAuthorized(e,t){if(null===this.principal.roles)return!1;const s=this.fetchPolicyWithAllIncludedPolicies(e);let a=[];for(const c of s)a=a.concat(c.perunRoles);const r=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(a,r)}resolveAuthorization(e,t){for(const s of e){let a=!0;for(const r of Object.keys(s)){const c=s[r];if(null===c)this.principalRoles.has(r)||(a=!1);else if(t[c]){for(const d of t[c])if(!this.principalHasRole(r,c,d)){a=!1;break}}else a=!1;if(!a)break}if(a)return!0}return!1}fetchAllRelatedObjects(e){const t={};for(const s of e){let a=s.beanName;switch(s.beanName.startsWith("Rich")&&(a=s.beanName.substring(4)),t[a]?t[a].push(s.id):t[a]=[s.id],a){case"Member":t.User?t.User.push(s.userId):t.User=[s.userId],t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId];break;case"Group":case"ResourceTag":t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId];break;case"Resource":t.Facility?t.Facility.push(s.facilityId):t.Facility=[s.facilityId],t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId]}}return t}principalHasRole(e,t,s){let a=t;return t.startsWith("Rich")&&(a=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][a])&&this.principal.roles[e][a].includes(Number(s.toString()))}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let s=[];for(s.push(e);0!==s.length;){const r=s.shift();if(t.has(r)){console.log("Policy {} creates a cycle in the included policies of the policy {}",r,e);continue}const c=this.getPerunPolicy(r);if(!c)return[];t.set(r,c),s=s.concat(c.includePolicies)}const a=[];for(const r of t.values())a.push(r);return a}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return console.log("policy with name"+e+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER,Rt.FACILITYADMIN,Rt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(Rt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(Rt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(Rt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(Rt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(Rt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(Rt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.VOOBSERVER,Rt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER)||this.observableVos.includes(e)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((e,t)=>{this.authzSevice.getAllRolesManagementRules().subscribe(s=>{this.allRolesManagementRules=s,e()},s=>t(s))})}assignAvailableRoles(e,t){this.allRolesManagementRules.forEach(s=>{s.primaryObject===t&&e.push(s.roleName)}),e.sort(),"Vo"===t&&this.voCustomSort(e)}isManagerPagePrivileged(e){const t=[];let s=e.beanName;s.startsWith("Rich")&&(s=s.substr(4)),this.assignAvailableRoles(t,s);const a=new Map;this.getRolesAuthorization(t,e,a);for(const r of a.values())if(r.readAuth||r.manageAuth)return!0;return!1}getRolesAuthorization(e,t,s){for(const a of e){let r=[],c=[],d=[];for(const $ of this.allRolesManagementRules)if($.roleName===a){r=r.concat($.privilegedRolesToRead),c=c.concat($.privilegedRolesToManage);for(const oe of Object.keys($.entitiesToManage))d="User"===oe?[oe].concat(d):d.concat(oe);break}const h=this.fetchAllRelatedObjects([t]),g=this.resolveAuthorization(r,h),O=this.resolveAuthorization(c,h);s.set(a,{readAuth:g,manageAuth:O,modes:d})}}voCustomSort(e){for(let t=0;t{let e;try{e=n()}catch(s){return void o.error(s)}return(e?(0,Mn.D)(e):(0,rs.c)()).subscribe(o)})}var pu=w(1762),pt=w(4850),mi=w(7545),$t=w(2986),go=w(2866);function ci(...n){const o=n[n.length-1];return(0,go.K)(o)?(n.pop(),e=>po(n,e,o)):e=>po(n,e)}var Ys=w(3489);function Wa(n,o){let e=!1;return arguments.length>=2&&(e=!0),function(s){return s.lift(new Vr(n,o,e))}}class Vr{constructor(o,e,t=!1){this.accumulator=o,this.seed=e,this.hasSeed=t}call(o,e){return e.subscribe(new Ka(o,this.accumulator,this.seed,this.hasSeed))}}class Ka extends Ys.L{constructor(o,e,t,s){super(o),this.accumulator=e,this._seed=t,this.hasSeed=s,this.index=0}get seed(){return this._seed}set seed(o){this.hasSeed=!0,this._seed=o}_next(o){if(this.hasSeed)return this._tryNext(o);this.seed=o,this.destination.next(o)}_tryNext(o){const e=this.index++;let t;try{t=this.accumulator(this.seed,o,e)}catch(s){this.destination.error(s)}this.seed=t,this.destination.next(t)}}var On=w(7221),Cs=w(1406),gu=w(4231);function Pn(n){return function(e){return 0===n?(0,rs.c)():e.lift(new Za(n))}}class Za{constructor(o){if(this.total=o,this.total<0)throw new gu.W}call(o,e){return e.subscribe(new Xd(o,this.total))}}class Xd extends Ys.L{constructor(o,e){super(o),this.total=e,this.ring=new Array,this.count=0}_next(o){const e=this.ring,t=this.total,s=this.count++;e.length0){const t=this.count>=this.total?this.total:this.count,s=this.ring;for(let a=0;ao.lift(new z(n))}class z{constructor(o){this.callback=o}call(o,e){return e.subscribe(new W(o,this.callback))}}class W extends Ys.L{constructor(o,e){super(o),this.add(new P.w(e))}}class ne{constructor(o,e){this.id=o,this.url=e}}class me extends ne{constructor(o,e,t="imperative",s=null){super(o,e),this.navigationTrigger=t,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Te extends ne{constructor(o,e,t){super(o,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class tt extends ne{constructor(o,e,t){super(o,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class li extends ne{constructor(o,e,t){super(o,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Xt extends ne{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ot extends ne{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zt extends ne{constructor(o,e,t,s,a){super(o,e),this.urlAfterRedirects=t,this.state=s,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Zi extends ne{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vi extends ne{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _i{constructor(o){this.route=o}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class bo{constructor(o){this.route=o}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ss{constructor(o){this.snapshot=o}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lt{constructor(o){this.snapshot=o}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dr{constructor(o){this.snapshot=o}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rl{constructor(o){this.snapshot=o}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hr{constructor(o,e,t){this.routerEvent=o,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const kt="primary";class fr{constructor(o){this.params=o||{}}has(o){return Object.prototype.hasOwnProperty.call(this.params,o)}get(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e[0]:e}return null}getAll(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Wr(n){return new fr(n)}const al="ngNavigationCancelingError";function Ee(n){const o=Error("NavigationCancelingError: "+n);return o[al]=!0,o}function Qd(n,o,e){const t=e.path.split("/");if(t.length>n.length||"full"===e.pathMatch&&(o.hasChildren()||t.lengtht[a]===s)}return n===o}function ys(n){return Array.prototype.concat.apply([],n)}function cl(n){return n.length>0?n[n.length-1]:null}function Pt(n,o){for(const e in n)n.hasOwnProperty(e)&&o(n[e],e)}function Us(n){return(0,i.CqO)(n)?n:(0,i.QGY)(n)?(0,Mn.D)(Promise.resolve(n)):(0,Ke.of)(n)}const Xa={exact:function ks(n,o,e){if(!Ao(n.segments,o.segments)||!pr(n.segments,o.segments,e)||n.numberOfChildren!==o.numberOfChildren)return!1;for(const t in o.children)if(!n.children[t]||!ks(n.children[t],o.children[t],e))return!1;return!0},subset:eh},zn={exact:function Jd(n,o){return Es(n,o)},subset:function yo(n,o){return Object.keys(o).length<=Object.keys(n).length&&Object.keys(o).every(e=>Kr(n[e],o[e]))},ignored:()=>!0};function Gs(n,o,e){return Xa[e.paths](n.root,o.root,e.matrixParams)&&zn[e.queryParams](n.queryParams,o.queryParams)&&!("exact"===e.fragment&&n.fragment!==o.fragment)}function eh(n,o,e){return _u(n,o,o.segments,e)}function _u(n,o,e,t){if(n.segments.length>e.length){const s=n.segments.slice(0,e.length);return!(!Ao(s,e)||o.hasChildren()||!pr(s,e,t))}if(n.segments.length===e.length){if(!Ao(n.segments,e)||!pr(n.segments,e,t))return!1;for(const s in o.children)if(!n.children[s]||!eh(n.children[s],o.children[s],t))return!1;return!0}{const s=e.slice(0,n.segments.length),a=e.slice(n.segments.length);return!!(Ao(n.segments,s)&&pr(n.segments,s,t)&&n.children[kt])&&_u(n.children[kt],o,a,t)}}function pr(n,o,e){return o.every((t,s)=>zn[e](n[s].parameters,t.parameters))}class Vs{constructor(o,e,t){this.root=o,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Wr(this.queryParams)),this._queryParamMap}toString(){return th.serialize(this)}}class zt{constructor(o,e){this.segments=o,this.children=e,this.parent=null,Pt(e,(t,s)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ja(this)}}class gr{constructor(o,e){this.path=o,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Wr(this.parameters)),this._parameterMap}toString(){return xi(this)}}function Ao(n,o){return n.length===o.length&&n.every((e,t)=>e.path===o[t].path)}class Qa{}class mr{parse(o){const e=new tc(o);return new Vs(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(o){const e=`/${Zr(o.root,!0)}`,t=function hp(n){const o=Object.keys(n).map(e=>{const t=n[e];return Array.isArray(t)?t.map(s=>`${_r(e)}=${_r(s)}`).join("&"):`${_r(e)}=${_r(t)}`}).filter(e=>!!e);return o.length?`?${o.join("&")}`:""}(o.queryParams);return`${e}${t}${"string"==typeof o.fragment?`#${function dp(n){return encodeURI(n)}(o.fragment)}`:""}`}}const th=new mr;function Ja(n){return n.segments.map(o=>xi(o)).join("/")}function Zr(n,o){if(!n.hasChildren())return Ja(n);if(o){const e=n.children[kt]?Zr(n.children[kt],!1):"",t=[];return Pt(n.children,(s,a)=>{a!==kt&&t.push(`${a}:${Zr(s,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function yu(n,o){let e=[];return Pt(n.children,(t,s)=>{s===kt&&(e=e.concat(o(t,s)))}),Pt(n.children,(t,s)=>{s!==kt&&(e=e.concat(o(t,s)))}),e}(n,(t,s)=>s===kt?[Zr(n.children[kt],!1)]:[`${s}:${Zr(t,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[kt]?`${Ja(n)}/${e[0]}`:`${Ja(n)}/(${e.join("//")})`}}function Au(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _r(n){return Au(n).replace(/%3B/gi,";")}function wu(n){return Au(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function _n(n){return decodeURIComponent(n)}function wo(n){return _n(n.replace(/\+/g,"%20"))}function xi(n){return`${wu(n.path)}${function Mu(n){return Object.keys(n).map(o=>`;${wu(o)}=${wu(n[o])}`).join("")}(n.parameters)}`}const ih=/^[^\/()?;=#]+/;function $n(n){const o=n.match(ih);return o?o[0]:""}const br=/^[^=?&#]+/,ul=/^[^&#]+/;class tc{constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new zt([],{}):new zt([],this.parseChildren())}parseQueryParams(){const o={};if(this.consumeOptional("?"))do{this.parseQueryParam(o)}while(this.consumeOptional("&"));return o}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const o=[];for(this.peekStartsWith("(")||o.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),o.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(o.length>0||Object.keys(e).length>0)&&(t[kt]=new zt(o,e)),t}parseSegment(){const o=$n(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(o),new gr(_n(o),this.parseMatrixParams())}parseMatrixParams(){const o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){const e=$n(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const s=$n(this.remaining);s&&(t=s,this.capture(t))}o[_n(e)]=_n(t)}parseQueryParam(o){const e=function nh(n){const o=n.match(br);return o?o[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const r=function ec(n){const o=n.match(ul);return o?o[0]:""}(this.remaining);r&&(t=r,this.capture(t))}const s=wo(e),a=wo(t);if(o.hasOwnProperty(s)){let r=o[s];Array.isArray(r)||(r=[r],o[s]=r),r.push(a)}else o[s]=a}parseParens(o){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=$n(this.remaining),s=this.remaining[t.length];if("/"!==s&&")"!==s&&";"!==s)throw new Error(`Cannot parse url '${this.url}'`);let a;t.indexOf(":")>-1?(a=t.substr(0,t.indexOf(":")),this.capture(a),this.capture(":")):o&&(a=kt);const r=this.parseChildren();e[a]=1===Object.keys(r).length?r[kt]:new zt([],r),this.consumeOptional("//")}return e}peekStartsWith(o){return this.remaining.startsWith(o)}consumeOptional(o){return!!this.peekStartsWith(o)&&(this.remaining=this.remaining.substring(o.length),!0)}capture(o){if(!this.consumeOptional(o))throw new Error(`Expected "${o}".`)}}class dl{constructor(o){this._root=o}get root(){return this._root.value}parent(o){const e=this.pathFromRoot(o);return e.length>1?e[e.length-2]:null}children(o){const e=hl(o,this._root);return e?e.children.map(t=>t.value):[]}firstChild(o){const e=hl(o,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(o){const e=fl(o,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==o)}pathFromRoot(o){return fl(o,this._root).map(e=>e.value)}}function hl(n,o){if(n===o.value)return o;for(const e of o.children){const t=hl(n,e);if(t)return t}return null}function fl(n,o){if(n===o.value)return[o];for(const e of o.children){const t=fl(n,e);if(t.length)return t.unshift(o),t}return[]}class In{constructor(o,e){this.value=o,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ws(n){const o={};return n&&n.children.forEach(e=>o[e.value.outlet]=e),o}class sh extends dl{constructor(o,e){super(o),this.snapshot=e,$r(this,o)}toString(){return this.snapshot.toString()}}function oh(n,o){const e=function ic(n,o){const r=new vu([],{},{},"",{},kt,o,null,n.root,-1,{});return new pp("",new In(r,[]))}(n,o),t=new Bi([new gr("",{})]),s=new Bi({}),a=new Bi({}),r=new Bi({}),c=new Bi(""),d=new Xn(t,s,r,c,a,kt,o,e.root);return d.snapshot=e.root,new sh(new In(d,[]),e)}class Xn{constructor(o,e,t,s,a,r,c,d){this.url=o,this.params=e,this.queryParams=t,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this._futureSnapshot=d}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,pt.U)(o=>Wr(o)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,pt.U)(o=>Wr(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function rh(n,o="emptyOnly"){const e=n.pathFromRoot;let t=0;if("always"!==o)for(t=e.length-1;t>=1;){const s=e[t],a=e[t-1];if(s.routeConfig&&""===s.routeConfig.path)t--;else{if(a.component)break;t--}}return function fp(n){return n.reduce((o,e)=>({params:Object.assign(Object.assign({},o.params),e.params),data:Object.assign(Object.assign({},o.data),e.data),resolve:Object.assign(Object.assign({},o.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class vu{constructor(o,e,t,s,a,r,c,d,h,g,O){this.url=o,this.params=e,this.queryParams=t,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this.routeConfig=d,this._urlSegment=h,this._lastPathIndex=g,this._resolve=O}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Wr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Wr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class pp extends dl{constructor(o,e){super(e),this.url=o,$r(this,e)}toString(){return Tu(this._root)}}function $r(n,o){o.value._routerState=n,o.children.forEach(e=>$r(n,e))}function Tu(n){const o=n.children.length>0?` { ${n.children.map(Tu).join(", ")} } `:"";return`${n.value}${o}`}function nc(n){if(n.snapshot){const o=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Es(o.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),o.fragment!==e.fragment&&n.fragment.next(e.fragment),Es(o.params,e.params)||n.params.next(e.params),function tn(n,o){if(n.length!==o.length)return!1;for(let e=0;eEs(e.parameters,o[t].parameters))}(n.url,o.url);return e&&!(!n.parent!=!o.parent)&&(!n.parent||Xr(n.parent,o.parent))}function Qr(n,o,e){if(e&&n.shouldReuseRoute(o.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=o.value;const s=function Jr(n,o,e){return o.children.map(t=>{for(const s of e.children)if(n.shouldReuseRoute(t.value,s.value.snapshot))return Qr(n,t,s);return Qr(n,t)})}(n,o,e);return new In(t,s)}{if(n.shouldAttach(o.value)){const a=n.retrieve(o.value);if(null!==a){const r=a.route;return r.value._futureSnapshot=o.value,r.children=o.children.map(c=>Qr(n,c)),r}}const t=function gp(n){return new Xn(new Bi(n.url),new Bi(n.params),new Bi(n.queryParams),new Bi(n.fragment),new Bi(n.data),n.outlet,n.component,n)}(o.value),s=o.children.map(a=>Qr(n,a));return new In(t,s)}}function ta(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function qo(n){return"object"==typeof n&&null!=n&&n.outlets}function ah(n,o,e,t,s){let a={};return t&&Pt(t,(r,c)=>{a[c]=Array.isArray(r)?r.map(d=>`${d}`):`${r}`}),new Vs(e.root===n?o:Cu(e.root,n,o),a,s)}function Cu(n,o,e){const t={};return Pt(n.children,(s,a)=>{t[a]=s===o?e:Cu(s,o,e)}),new zt(n.segments,t)}class pl{constructor(o,e,t){if(this.isAbsolute=o,this.numberOfDoubleDots=e,this.commands=t,o&&t.length>0&&ta(t[0]))throw new Error("Root segment cannot have matrix parameters");const s=t.find(qo);if(s&&s!==cl(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class gl{constructor(o,e,t){this.segmentGroup=o,this.processChildren=e,this.index=t}}function na(n,o,e){if(n||(n=new zt([],{})),0===n.segments.length&&n.hasChildren())return As(n,o,e);const t=function lh(n,o,e){let t=0,s=o;const a={match:!1,pathIndex:0,commandIndex:0};for(;s=e.length)return a;const r=n.segments[s],c=e[t];if(qo(c))break;const d=`${c}`,h=t0&&void 0===d)break;if(d&&h&&"object"==typeof h&&void 0===h.outlets){if(!Eu(d,h,r))return a;t+=2}else{if(!Eu(d,{},r))return a;t++}s++}return{match:!0,pathIndex:s,commandIndex:t}}(n,o,e),s=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(s[r]=na(n.children[r],o,a))}),Pt(n.children,(a,r)=>{void 0===t[r]&&(s[r]=a)}),new zt(n.segments,s)}}function oc(n,o,e){const t=n.segments.slice(0,o);let s=0;for(;s{"string"==typeof e&&(e=[e]),null!==e&&(o[t]=oc(new zt([],{}),0,e))}),o}function Su(n){const o={};return Pt(n,(e,t)=>o[t]=`${e}`),o}function Eu(n,o,e){return n==e.path&&Es(o,e.parameters)}class _p{constructor(o,e,t,s){this.routeReuseStrategy=o,this.futureState=e,this.currState=t,this.forwardEvent=s}activate(o){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,o),nc(this.futureState.root),this.activateChildRoutes(e,t,o)}deactivateChildRoutes(o,e,t){const s=Ws(e);o.children.forEach(a=>{const r=a.value.outlet;this.deactivateRoutes(a,s[r],t),delete s[r]}),Pt(s,(a,r)=>{this.deactivateRouteAndItsChildren(a,t)})}deactivateRoutes(o,e,t){const s=o.value,a=e?e.value:null;if(s===a)if(s.component){const r=t.getContext(s.outlet);r&&this.deactivateChildRoutes(o,e,r.children)}else this.deactivateChildRoutes(o,e,t);else a&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(o,e){o.value.component&&this.routeReuseStrategy.shouldDetach(o.value.snapshot)?this.detachAndStoreRouteSubtree(o,e):this.deactivateRouteAndOutlet(o,e)}detachAndStoreRouteSubtree(o,e){const t=e.getContext(o.value.outlet),s=t&&o.value.component?t.children:e,a=Ws(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);if(t&&t.outlet){const r=t.outlet.detach(),c=t.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:r,route:o,contexts:c})}}deactivateRouteAndOutlet(o,e){const t=e.getContext(o.value.outlet),s=t&&o.value.component?t.children:e,a=Ws(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(o,e,t){const s=Ws(e);o.children.forEach(a=>{this.activateRoutes(a,s[a.value.outlet],t),this.forwardEvent(new rl(a.value.snapshot))}),o.children.length&&this.forwardEvent(new lt(o.value.snapshot))}activateRoutes(o,e,t){const s=o.value,a=e?e.value:null;if(nc(s),s===a)if(s.component){const r=t.getOrCreateContext(s.outlet);this.activateChildRoutes(o,e,r.children)}else this.activateChildRoutes(o,e,t);else if(s.component){const r=t.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const c=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),r.children.onOutletReAttached(c.contexts),r.attachRef=c.componentRef,r.route=c.route.value,r.outlet&&r.outlet.attach(c.componentRef,c.route.value),nc(c.route.value),this.activateChildRoutes(o,null,r.children)}else{const c=function ml(n){for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(s.snapshot),d=c?c.module.componentFactoryResolver:null;r.attachRef=null,r.route=s,r.resolver=d,r.outlet&&r.outlet.activateWith(s,d),this.activateChildRoutes(o,null,r.children)}}else this.activateChildRoutes(o,null,t)}}class yr{constructor(o,e){this.routes=o,this.module=e}}function Uo(n){return"function"==typeof n}function Go(n){return n instanceof Vs}const Ks=Symbol("INITIAL_VALUE");function Zs(){return(0,mi.w)(n=>(0,Gr.aj)(n.map(o=>o.pipe((0,$t.q)(1),ci(Ks)))).pipe(Wa((o,e)=>{let t=!1;return e.reduce((s,a,r)=>s!==Ks?s:(a===Ks&&(t=!0),t||!1!==a&&r!==e.length-1&&!Go(a)?s:a),o)},Ks),(0,qt.h)(o=>o!==Ks),(0,pt.U)(o=>Go(o)?o:!0===o),(0,$t.q)(1)))}class oa{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ra,this.attachRef=null}}class ra{constructor(){this.contexts=new Map}onChildOutletCreated(o,e){const t=this.getOrCreateContext(o);t.outlet=e,this.contexts.set(o,t)}onChildOutletDestroyed(o){const e=this.getContext(o);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const o=this.contexts;return this.contexts=new Map,o}onOutletReAttached(o){this.contexts=o}getOrCreateContext(o){let e=this.getContext(o);return e||(e=new oa,this.contexts.set(o,e)),e}getContext(o){return this.contexts.get(o)||null}}let Vo=(()=>{class n{constructor(e,t,s,a,r){this.parentContexts=e,this.location=t,this.resolver=s,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.name=a||kt,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const r=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),c=this.parentContexts.getOrCreateContext(this.name).children,d=new aa(e,c,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,d),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ra),i.Y36(i.s_b),i.Y36(i._Vd),i.$8M("name"),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),n})();class aa{constructor(o,e,t){this.route=o,this.childContexts=e,this.parent=t}get(o,e){return o===Xn?this.route:o===ra?this.childContexts:this.parent.get(o,e)}}let bp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"router-outlet")},directives:[Vo],encapsulation:2}),n})();function fh(n,o=""){for(let e=0;eDs(t)===o);return e.push(...n.filter(t=>Ds(t)!==o)),e}const _l={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Lu(n,o,e){var t;if(""===o.path)return"full"===o.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},_l):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const a=(o.matcher||Qd)(e,n,o);if(!a)return Object.assign({},_l);const r={};Pt(a.posParams,(d,h)=>{r[h]=d.path});const c=a.consumed.length>0?Object.assign(Object.assign({},r),a.consumed[a.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:a.consumed,lastChild:a.consumed.length,parameters:c,positionalParamSegments:null!==(t=a.posParams)&&void 0!==t?t:{}}}function Ru(n,o,e,t,s="corrected"){if(e.length>0&&function nn(n,o,e){return e.some(t=>Mo(n,o,t)&&Ds(t)!==kt)}(n,e,t)){const r=new zt(o,function g1(n,o,e,t){const s={};s[kt]=t,t._sourceSegment=n,t._segmentIndexShift=o.length;for(const a of e)if(""===a.path&&Ds(a)!==kt){const r=new zt([],{});r._sourceSegment=n,r._segmentIndexShift=o.length,s[Ds(a)]=r}return s}(n,o,t,new zt(e,n.children)));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:[]}}if(0===e.length&&function Ou(n,o,e){return e.some(t=>Mo(n,o,t))}(n,e,t)){const r=new zt(n.segments,function rc(n,o,e,t,s,a){const r={};for(const c of t)if(Mo(n,e,c)&&!s[Ds(c)]){const d=new zt([],{});d._sourceSegment=n,d._segmentIndexShift="legacy"===a?n.segments.length:o.length,r[Ds(c)]=d}return Object.assign(Object.assign({},s),r)}(n,o,e,t,n.children,s));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:e}}const a=new zt(n.segments,n.children);return a._sourceSegment=n,a._segmentIndexShift=o.length,{segmentGroup:a,slicedSegments:e}}function Mo(n,o,e){return(!(n.hasChildren()||o.length>0)||"full"!==e.pathMatch)&&""===e.path}function Ap(n,o,e,t){return!!(Ds(n)===t||t!==kt&&Mo(o,e,n))&&("**"===n.path||Lu(o,n,e).matched)}function gh(n,o,e){return 0===o.length&&!n.children[e]}class vn{constructor(o){this.segmentGroup=o||null}}class xs{constructor(o){this.urlTree=o}}function ac(n){return new Fi.y(o=>o.error(new vn(n)))}function cc(n){return new Fi.y(o=>o.error(new xs(n)))}function ws(n){return new Fi.y(o=>o.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`)))}class Mp{constructor(o,e,t,s,a){this.configLoader=e,this.urlSerializer=t,this.urlTree=s,this.config=a,this.allowRedirects=!0,this.ngModule=o.get(i.h0i)}apply(){const o=Ru(this.urlTree.root,[],[],this.config).segmentGroup,e=new zt(o.segments,o.children);return this.expandSegmentGroup(this.ngModule,this.config,e,kt).pipe((0,pt.U)(a=>this.createUrlTree(Pe(a),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,On.K)(a=>{if(a instanceof xs)return this.allowRedirects=!1,this.match(a.urlTree);throw a instanceof vn?this.noMatchError(a):a}))}match(o){return this.expandSegmentGroup(this.ngModule,this.config,o.root,kt).pipe((0,pt.U)(s=>this.createUrlTree(Pe(s),o.queryParams,o.fragment))).pipe((0,On.K)(s=>{throw s instanceof vn?this.noMatchError(s):s}))}noMatchError(o){return new Error(`Cannot match any routes. URL Segment: '${o.segmentGroup}'`)}createUrlTree(o,e,t){const s=o.segments.length>0?new zt([],{[kt]:o}):o;return new Vs(s,e,t)}expandSegmentGroup(o,e,t,s){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(o,e,t).pipe((0,pt.U)(a=>new zt([],a))):this.expandSegment(o,t,e,t.segments,s,!0)}expandChildren(o,e,t){const s=[];for(const a of Object.keys(t.children))"primary"===a?s.unshift(a):s.push(a);return(0,Mn.D)(s).pipe((0,Cs.b)(a=>{const r=t.children[a],c=xu(e,a);return this.expandSegmentGroup(o,c,r,a).pipe((0,pt.U)(d=>({segment:d,outlet:a})))}),Wa((a,r)=>(a[r.outlet]=r.segment,a),{}),function mo(n,o){const e=arguments.length>=2;return t=>t.pipe(n?(0,qt.h)((s,a)=>n(s,a,t)):ur.y,Pn(1),e?(0,Mi.d)(o):(0,$a.T)(()=>new fu.K))}())}expandSegment(o,e,t,s,a,r){return(0,Mn.D)(t).pipe((0,Cs.b)(c=>this.expandSegmentAgainstRoute(o,e,t,c,s,a,r).pipe((0,On.K)(h=>{if(h instanceof vn)return(0,Ke.of)(null);throw h}))),(0,_o.P)(c=>!!c),(0,On.K)((c,d)=>{if(c instanceof fu.K||"EmptyError"===c.name){if(gh(e,s,a))return(0,Ke.of)(new zt([],{}));throw new vn(e)}throw c}))}expandSegmentAgainstRoute(o,e,t,s,a,r,c){return Ap(s,e,a,r)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(o,e,s,a,r):c&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r):ac(e):ac(e)}expandSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(o,t,s,r):this.expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(o,e,t,s){const a=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?cc(a):this.lineralizeSegments(t,a).pipe((0,en.zg)(r=>{const c=new zt(r,{});return this.expandSegment(o,c,e,r,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r){const{matched:c,consumedSegments:d,lastChild:h,positionalParamSegments:g}=Lu(e,s,a);if(!c)return ac(e);const O=this.applyRedirectCommands(d,s.redirectTo,g);return s.redirectTo.startsWith("/")?cc(O):this.lineralizeSegments(s,O).pipe((0,en.zg)($=>this.expandSegment(o,e,t,$.concat(a.slice(h)),r,!1)))}matchSegmentAgainstRoute(o,e,t,s,a){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ke.of)(t._loadedConfig):this.configLoader.load(o.injector,t)).pipe((0,pt.U)($=>(t._loadedConfig=$,new zt(s,{})))):(0,Ke.of)(new zt(s,{}));const{matched:r,consumedSegments:c,lastChild:d}=Lu(e,t,s);if(!r)return ac(e);const h=s.slice(d);return this.getChildConfig(o,t,s).pipe((0,en.zg)(O=>{const $=O.module,oe=O.routes,{segmentGroup:be,slicedSegments:ve}=Ru(e,c,h,oe),Le=new zt(be.segments,be.children);if(0===ve.length&&Le.hasChildren())return this.expandChildren($,oe,Le).pipe((0,pt.U)(pi=>new zt(c,pi)));if(0===oe.length&&0===ve.length)return(0,Ke.of)(new zt(c,{}));const et=Ds(t)===a;return this.expandSegment($,Le,oe,ve,et?kt:a,!0).pipe((0,pt.U)(Bt=>new zt(c.concat(Bt.segments),Bt.children)))}))}getChildConfig(o,e,t){return e.children?(0,Ke.of)(new yr(e.children,o)):e.loadChildren?void 0!==e._loadedConfig?(0,Ke.of)(e._loadedConfig):this.runCanLoadGuards(o.injector,e,t).pipe((0,en.zg)(s=>s?this.configLoader.load(o.injector,e).pipe((0,pt.U)(a=>(e._loadedConfig=a,a))):function Pu(n){return new Fi.y(o=>o.error(Ee(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`)))}(e))):(0,Ke.of)(new yr([],o))}runCanLoadGuards(o,e,t){const s=e.canLoad;if(!s||0===s.length)return(0,Ke.of)(!0);const a=s.map(r=>{const c=o.get(r);let d;if(function sa(n){return n&&Uo(n.canLoad)}(c))d=c.canLoad(e,t);else{if(!Uo(c))throw new Error("Invalid CanLoad guard");d=c(e,t)}return Us(d)});return(0,Ke.of)(a).pipe(Zs(),(0,qi.b)(r=>{if(!Go(r))return;const c=Ee(`Redirecting to "${this.urlSerializer.serialize(r)}"`);throw c.url=r,c}),(0,pt.U)(r=>!0===r))}lineralizeSegments(o,e){let t=[],s=e.root;for(;;){if(t=t.concat(s.segments),0===s.numberOfChildren)return(0,Ke.of)(t);if(s.numberOfChildren>1||!s.children[kt])return ws(o.redirectTo);s=s.children[kt]}}applyRedirectCommands(o,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),o,t)}applyRedirectCreatreUrlTree(o,e,t,s){const a=this.createSegmentGroup(o,e.root,t,s);return new Vs(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(o,e){const t={};return Pt(o,(s,a)=>{if("string"==typeof s&&s.startsWith(":")){const c=s.substring(1);t[a]=e[c]}else t[a]=s}),t}createSegmentGroup(o,e,t,s){const a=this.createSegments(o,e.segments,t,s);let r={};return Pt(e.children,(c,d)=>{r[d]=this.createSegmentGroup(o,c,t,s)}),new zt(a,r)}createSegments(o,e,t,s){return e.map(a=>a.path.startsWith(":")?this.findPosParam(o,a,s):this.findOrReturn(a,t))}findPosParam(o,e,t){const s=t[e.path.substring(1)];if(!s)throw new Error(`Cannot redirect to '${o}'. Cannot find '${e.path}'.`);return s}findOrReturn(o,e){let t=0;for(const s of e){if(s.path===o.path)return e.splice(t),s;t++}return o}}function Pe(n){const o={};for(const t of Object.keys(n.children)){const a=Pe(n.children[t]);(a.segments.length>0||a.hasChildren())&&(o[t]=a)}return function m1(n){if(1===n.numberOfChildren&&n.children[kt]){const o=n.children[kt];return new zt(n.segments.concat(o.segments),o.children)}return n}(new zt(n.segments,o))}class Qn{constructor(o){this.path=o,this.route=this.path[this.path.length-1]}}class Ar{constructor(o,e){this.component=o,this.route=e}}function jt(n,o,e){const t=n._root;return lc(t,o?o._root:null,e,[t.value])}function ca(n,o,e){const t=function Iu(n){if(!n)return null;for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(o);return(t?t.module.injector:e).get(n)}function lc(n,o,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=Ws(o);return n.children.forEach(r=>{(function vp(n,o,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=n.value,r=o?o.value:null,c=e?e.getContext(n.value.outlet):null;if(r&&a.routeConfig===r.routeConfig){const d=function Tp(n,o,e){if("function"==typeof e)return e(n,o);switch(e){case"pathParamsChange":return!Ao(n.url,o.url);case"pathParamsOrQueryParamsChange":return!Ao(n.url,o.url)||!Es(n.queryParams,o.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xr(n,o)||!Es(n.queryParams,o.queryParams);default:return!Xr(n,o)}}(r,a,a.routeConfig.runGuardsAndResolvers);d?s.canActivateChecks.push(new Qn(t)):(a.data=r.data,a._resolvedData=r._resolvedData),lc(n,o,a.component?c?c.children:null:e,t,s),d&&c&&c.outlet&&c.outlet.isActivated&&s.canDeactivateChecks.push(new Ar(c.outlet.component,r))}else r&&uc(o,c,s),s.canActivateChecks.push(new Qn(t)),lc(n,null,a.component?c?c.children:null:e,t,s)})(r,a[r.value.outlet],e,t.concat([r.value]),s),delete a[r.value.outlet]}),Pt(a,(r,c)=>uc(r,e.getContext(c),s)),s}function uc(n,o,e){const t=Ws(n),s=n.value;Pt(t,(a,r)=>{uc(a,s.component?o?o.children.getContext(r):null:o,e)}),e.canDeactivateChecks.push(new Ar(s.component&&o&&o.outlet&&o.outlet.isActivated?o.outlet.component:null,s))}class bh{}function yl(n){return new Fi.y(o=>o.error(n))}class Ep{constructor(o,e,t,s,a,r){this.rootComponentType=o,this.config=e,this.urlTree=t,this.url=s,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=r}recognize(){const o=Ru(this.urlTree.root,[],[],this.config.filter(r=>void 0===r.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,o,kt);if(null===e)return null;const t=new vu([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},kt,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new In(t,e),a=new pp(this.url,s);return this.inheritParamsAndData(a._root),a}inheritParamsAndData(o){const e=o.value,t=rh(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),o.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(o,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(o,e):this.processSegment(o,e,e.segments,t)}processChildren(o,e){const t=[];for(const a of Object.keys(e.children)){const r=e.children[a],c=xu(o,a),d=this.processSegmentGroup(c,r,a);if(null===d)return null;t.push(...d)}const s=sn(t);return function as(n){n.sort((o,e)=>o.value.outlet===kt?-1:e.value.outlet===kt?1:o.value.outlet.localeCompare(e.value.outlet))}(s),s}processSegment(o,e,t,s){for(const a of o){const r=this.processSegmentAgainstRoute(a,e,t,s);if(null!==r)return r}return gh(e,t,s)?[]:null}processSegmentAgainstRoute(o,e,t,s){if(o.redirectTo||!Ap(o,e,t,s))return null;let a,r=[],c=[];if("**"===o.path){const oe=t.length>0?cl(t).parameters:{};a=new vu(t,oe,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,la(o),Ds(o),o.component,o,wh(e),Al(e)+t.length,Mh(o))}else{const oe=Lu(e,o,t);if(!oe.matched)return null;r=oe.consumedSegments,c=t.slice(oe.lastChild),a=new vu(r,oe.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,la(o),Ds(o),o.component,o,wh(e),Al(e)+r.length,Mh(o))}const d=function Ah(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(o),{segmentGroup:h,slicedSegments:g}=Ru(e,r,c,d.filter(oe=>void 0===oe.redirectTo),this.relativeLinkResolution);if(0===g.length&&h.hasChildren()){const oe=this.processChildren(d,h);return null===oe?null:[new In(a,oe)]}if(0===d.length&&0===g.length)return[new In(a,[])];const O=Ds(o)===s,$=this.processSegment(d,h,g,O?kt:s);return null===$?null:[new In(a,$)]}}function kp(n){const o=n.value.routeConfig;return o&&""===o.path&&void 0===o.redirectTo}function sn(n){const o=[],e=new Set;for(const t of n){if(!kp(t)){o.push(t);continue}const s=o.find(a=>t.value.routeConfig===a.value.routeConfig);void 0!==s?(s.children.push(...t.children),e.add(s)):o.push(t)}for(const t of e){const s=sn(t.children);o.push(new In(t.value,s))}return o.filter(t=>!e.has(t))}function wh(n){let o=n;for(;o._sourceSegment;)o=o._sourceSegment;return o}function Al(n){let o=n,e=o._segmentIndexShift?o._segmentIndexShift:0;for(;o._sourceSegment;)o=o._sourceSegment,e+=o._segmentIndexShift?o._segmentIndexShift:0;return e-1}function la(n){return n.data||{}}function Mh(n){return n.resolve||{}}function Hu(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function Bu(n){return(0,mi.w)(o=>{const e=n(o);return e?(0,Mn.D)(e).pipe((0,pt.U)(()=>o)):(0,Ke.of)(o)})}class wl extends class Fu{shouldDetach(o){return!1}store(o,e){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,e){return o.routeConfig===e.routeConfig}}{}const Ml=new i.OlP("ROUTES");class Th{constructor(o,e,t,s){this.injector=o,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=s}load(o,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const s=this.loadModuleFactory(e.loadChildren).pipe((0,pt.U)(a=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=a.create(o);return new yr(ys(r.injector.get(Ml,void 0,i.XFs.Self|i.XFs.Optional)).map(ph),r)}),(0,On.K)(a=>{throw e._loader$=void 0,a}));return e._loader$=new pu.c(s,()=>new De.xQ).pipe((0,hi.x)()),e._loader$}loadModuleFactory(o){return Us(o()).pipe((0,en.zg)(e=>e instanceof i.YKP?(0,Ke.of)(e):(0,Mn.D)(this.compiler.compileModuleAsync(e))))}}class Rs{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,e){return o}}function pc(n){throw n}function Rp(n,o,e){return o.parse("/")}function Op(n,o){return(0,Ke.of)(null)}const Ch={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Pp={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ji=(()=>{class n{constructor(e,t,s,a,r,c,d){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=s,this.location=a,this.config=d,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new De.xQ,this.errorHandler=pc,this.malformedUriErrorHandler=Rp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Op,afterPreactivation:Op},this.urlHandlingStrategy=new Rs,this.routeReuseStrategy=new wl,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(i.h0i),this.console=r.get(i.c2e);const O=r.get(i.R0b);this.isNgZoneEnabled=O instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(d),this.currentUrlTree=function ll(){return new Vs(new zt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Th(r,c,$=>this.triggerEvent(new _i($)),$=>this.triggerEvent(new bo($))),this.routerState=oh(this.currentUrlTree,this.rootComponentType),this.transitions=new Bi({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const t=this.events;return e.pipe((0,qt.h)(s=>0!==s.id),(0,pt.U)(s=>Object.assign(Object.assign({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),(0,mi.w)(s=>{let a=!1,r=!1;return(0,Ke.of)(s).pipe((0,qi.b)(c=>{this.currentNavigation={id:c.id,initialUrl:c.currentRawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,mi.w)(c=>{const d=this.browserUrlTree.toString(),h=!this.navigated||c.extractedUrl.toString()!==d||d!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||h)&&this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return wr(c.source)&&(this.browserUrlTree=c.extractedUrl),(0,Ke.of)(c).pipe((0,mi.w)(O=>{const $=this.transitions.getValue();return t.next(new me(O.id,this.serializeUrl(O.extractedUrl),O.source,O.restoredState)),$!==this.transitions.getValue()?rs.E:Promise.resolve(O)}),function mh(n,o,e,t){return(0,mi.w)(s=>function wp(n,o,e,t,s){return new Mp(n,o,e,t,s).apply()}(n,o,e,s.extractedUrl,t).pipe((0,pt.U)(a=>Object.assign(Object.assign({},s),{urlAfterRedirects:a}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,qi.b)(O=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:O.urlAfterRedirects})}),function xp(n,o,e,t,s){return(0,en.zg)(a=>function yh(n,o,e,t,s="emptyOnly",a="legacy"){try{const r=new Ep(n,o,e,t,s,a).recognize();return null===r?yl(new bh):(0,Ke.of)(r)}catch(r){return yl(r)}}(n,o,a.urlAfterRedirects,e(a.urlAfterRedirects),t,s).pipe((0,pt.U)(r=>Object.assign(Object.assign({},a),{targetSnapshot:r}))))}(this.rootComponentType,this.config,O=>this.serializeUrl(O),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,qi.b)(O=>{if("eager"===this.urlUpdateStrategy){if(!O.extras.skipLocationChange){const oe=this.urlHandlingStrategy.merge(O.urlAfterRedirects,O.rawUrl);this.setBrowserUrl(oe,O)}this.browserUrlTree=O.urlAfterRedirects}const $=new Xt(O.id,this.serializeUrl(O.extractedUrl),this.serializeUrl(O.urlAfterRedirects),O.targetSnapshot);t.next($)}));if(h&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:$,extractedUrl:oe,source:be,restoredState:ve,extras:Le}=c,et=new me($,this.serializeUrl(oe),be,ve);t.next(et);const Vt=oh(oe,this.rootComponentType).snapshot;return(0,Ke.of)(Object.assign(Object.assign({},c),{targetSnapshot:Vt,urlAfterRedirects:oe,extras:Object.assign(Object.assign({},Le),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=c.rawUrl,c.resolve(null),rs.E}),Bu(c=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:O,extras:{skipLocationChange:$,replaceUrl:oe}}=c;return this.hooks.beforePreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:O,skipLocationChange:!!$,replaceUrl:!!oe})}),(0,qi.b)(c=>{const d=new Ot(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(d)}),(0,pt.U)(c=>Object.assign(Object.assign({},c),{guards:jt(c.targetSnapshot,c.currentSnapshot,this.rootContexts)})),function _h(n,o){return(0,en.zg)(e=>{const{targetSnapshot:t,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:r}}=e;return 0===r.length&&0===a.length?(0,Ke.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function Ls(n,o,e,t){return(0,Mn.D)(n).pipe((0,en.zg)(s=>function Sp(n,o,e,t,s){const a=o&&o.routeConfig?o.routeConfig.canDeactivate:null;if(!a||0===a.length)return(0,Ke.of)(!0);const r=a.map(c=>{const d=ca(c,o,s);let h;if(function Du(n){return n&&Uo(n.canDeactivate)}(d))h=Us(d.canDeactivate(n,o,e,t));else{if(!Uo(d))throw new Error("Invalid CanDeactivate guard");h=Us(d(n,o,e,t))}return h.pipe((0,_o.P)())});return(0,Ke.of)(r).pipe(Zs())}(s.component,s.route,e,o,t)),(0,_o.P)(s=>!0!==s,!0))}(r,t,s,n).pipe((0,en.zg)(c=>c&&function dh(n){return"boolean"==typeof n}(c)?function bl(n,o,e,t){return(0,Mn.D)(o).pipe((0,Cs.b)(s=>po(function dc(n,o){return null!==n&&o&&o(new Ss(n)),(0,Ke.of)(!0)}(s.route.parent,t),function Cp(n,o){return null!==n&&o&&o(new dr(n)),(0,Ke.of)(!0)}(s.route,t),function hc(n,o,e){const t=o[o.length-1],a=o.slice(0,o.length-1).reverse().map(r=>function zu(n){const o=n.routeConfig?n.routeConfig.canActivateChild:null;return o&&0!==o.length?{node:n,guards:o}:null}(r)).filter(r=>null!==r).map(r=>Fo(()=>{const c=r.guards.map(d=>{const h=ca(d,r.node,e);let g;if(function ku(n){return n&&Uo(n.canActivateChild)}(h))g=Us(h.canActivateChild(t,n));else{if(!Uo(h))throw new Error("Invalid CanActivateChild guard");g=Us(h(t,n))}return g.pipe((0,_o.P)())});return(0,Ke.of)(c).pipe(Zs())}));return(0,Ke.of)(a).pipe(Zs())}(n,s.path,e),function Nu(n,o,e){const t=o.routeConfig?o.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ke.of)(!0);const s=t.map(a=>Fo(()=>{const r=ca(a,o,e);let c;if(function hh(n){return n&&Uo(n.canActivate)}(r))c=Us(r.canActivate(o,n));else{if(!Uo(r))throw new Error("Invalid CanActivate guard");c=Us(r(o,n))}return c.pipe((0,_o.P)())}));return(0,Ke.of)(s).pipe(Zs())}(n,s.route,e))),(0,_o.P)(s=>!0!==s,!0))}(t,a,n,o):(0,Ke.of)(c)),(0,pt.U)(c=>Object.assign(Object.assign({},e),{guardsResult:c})))})}(this.ngModule.injector,c=>this.triggerEvent(c)),(0,qi.b)(c=>{if(Go(c.guardsResult)){const h=Ee(`Redirecting to "${this.serializeUrl(c.guardsResult)}"`);throw h.url=c.guardsResult,h}const d=new Zt(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.triggerEvent(d)}),(0,qt.h)(c=>!!c.guardsResult||(this.restoreHistory(c),this.cancelNavigationTransition(c,""),!1)),Bu(c=>{if(c.guards.canActivateChecks.length)return(0,Ke.of)(c).pipe((0,qi.b)(d=>{const h=new Zi(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}),(0,mi.w)(d=>{let h=!1;return(0,Ke.of)(d).pipe(function Lp(n,o){return(0,en.zg)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:s}}=e;if(!s.length)return(0,Ke.of)(e);let a=0;return(0,Mn.D)(s).pipe((0,Cs.b)(r=>function fc(n,o,e,t){return function cs(n,o,e,t){const s=Hu(n);if(0===s.length)return(0,Ke.of)({});const a={};return(0,Mn.D)(s).pipe((0,en.zg)(r=>function ua(n,o,e,t){const s=ca(n,o,t);return Us(s.resolve?s.resolve(o,e):s(o,e))}(n[r],o,e,t).pipe((0,qi.b)(c=>{a[r]=c}))),Pn(1),(0,en.zg)(()=>Hu(a).length===s.length?(0,Ke.of)(a):rs.E))}(n._resolve,n,o,t).pipe((0,pt.U)(a=>(n._resolvedData=a,n.data=Object.assign(Object.assign({},n.data),rh(n,e).resolve),null)))}(r.route,t,n,o)),(0,qi.b)(()=>a++),Pn(1),(0,en.zg)(r=>a===s.length?(0,Ke.of)(e):rs.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,qi.b)({next:()=>h=!0,complete:()=>{h||(this.restoreHistory(d),this.cancelNavigationTransition(d,"At least one route resolver didn't emit any value."))}}))}),(0,qi.b)(d=>{const h=new vi(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}))}),Bu(c=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:O,extras:{skipLocationChange:$,replaceUrl:oe}}=c;return this.hooks.afterPreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:O,skipLocationChange:!!$,replaceUrl:!!oe})}),(0,pt.U)(c=>{const d=function sc(n,o,e){const t=Qr(n,o._root,e?e._root:void 0);return new sh(t,o)}(this.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return Object.assign(Object.assign({},c),{targetRouterState:d})}),(0,qi.b)(c=>{this.currentUrlTree=c.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl),this.routerState=c.targetRouterState,"deferred"===this.urlUpdateStrategy&&(c.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,c),this.browserUrlTree=c.urlAfterRedirects)}),((n,o,e)=>(0,pt.U)(t=>(new _p(o,t.targetRouterState,t.currentRouterState,e).activate(n),t)))(this.rootContexts,this.routeReuseStrategy,c=>this.triggerEvent(c)),(0,qi.b)({next(){a=!0},complete(){a=!0}}),G(()=>{var c;a||r||this.cancelNavigationTransition(s,`Navigation ID ${s.id} is not equal to the current navigation id ${this.navigationId}`),(null===(c=this.currentNavigation)||void 0===c?void 0:c.id)===s.id&&(this.currentNavigation=null)}),(0,On.K)(c=>{if(r=!0,function Gt(n){return n&&n[al]}(c)){const d=Go(c.url);d||(this.navigated=!0,this.restoreHistory(s,!0));const h=new tt(s.id,this.serializeUrl(s.extractedUrl),c.message);t.next(h),d?setTimeout(()=>{const g=this.urlHandlingStrategy.merge(c.url,this.rawUrlTree),O={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||wr(s.source)};this.scheduleNavigation(g,"imperative",null,O,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{this.restoreHistory(s,!0);const d=new li(s.id,this.serializeUrl(s.extractedUrl),c);t.next(d);try{s.resolve(this.errorHandler(c))}catch(h){s.reject(h)}}return rs.E}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t="popstate"===e.type?"popstate":"hashchange";"popstate"===t&&setTimeout(()=>{var s;const a={replaceUrl:!0},r=(null===(s=e.state)||void 0===s?void 0:s.navigationId)?e.state:null;if(r){const d=Object.assign({},r);delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(a.state=d)}const c=this.parseUrl(e.url);this.scheduleNavigation(c,t,r,a)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){fh(e),this.config=e.map(ph),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:s,queryParams:a,fragment:r,queryParamsHandling:c,preserveFragment:d}=t,h=s||this.routerState.root,g=d?this.currentUrlTree.fragment:r;let O=null;switch(c){case"merge":O=Object.assign(Object.assign({},this.currentUrlTree.queryParams),a);break;case"preserve":O=this.currentUrlTree.queryParams;break;default:O=a||null}return null!==O&&(O=this.removeEmptyProps(O)),function ea(n,o,e,t,s){if(0===e.length)return ah(o.root,o.root,o,t,s);const a=function ch(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new pl(!0,0,n);let o=0,e=!1;const t=n.reduce((s,a,r)=>{if("object"==typeof a&&null!=a){if(a.outlets){const c={};return Pt(a.outlets,(d,h)=>{c[h]="string"==typeof d?d.split("/"):d}),[...s,{outlets:c}]}if(a.segmentPath)return[...s,a.segmentPath]}return"string"!=typeof a?[...s,a]:0===r?(a.split("/").forEach((c,d)=>{0==d&&"."===c||(0==d&&""===c?e=!0:".."===c?o++:""!=c&&s.push(c))}),s):[...s,a]},[]);return new pl(e,o,t)}(e);if(a.toRoot())return ah(o.root,new zt([],{}),o,t,s);const r=function jo(n,o,e){if(n.isAbsolute)return new gl(o.root,!0,0);if(-1===e.snapshot._lastPathIndex){const a=e.snapshot._urlSegment;return new gl(a,a===o.root,0)}const t=ta(n.commands[0])?0:1;return function Yo(n,o,e){let t=n,s=o,a=e;for(;a>s;){if(a-=s,t=t.parent,!t)throw new Error("Invalid number of '../'");s=t.segments.length}return new gl(t,!1,s-a)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,n.numberOfDoubleDots)}(a,o,n),c=r.processChildren?As(r.segmentGroup,r.index,a.commands):na(r.segmentGroup,r.index,a.commands);return ah(r.segmentGroup,c,o,t,s)}(h,this.currentUrlTree,e,O,null!=g?g:null)}navigateByUrl(e,t={skipLocationChange:!1}){const s=Go(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function da(n){for(let o=0;o{const a=e[s];return null!=a&&(t[s]=a),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new Te(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,t,s,a,r){var c,d,h;if(this.disposed)return Promise.resolve(!1);const g=this.transitions.value,O=wr(t)&&g&&!wr(g.source),$=g.rawUrl.toString()===e.toString(),oe=g.id===(null===(c=this.currentNavigation)||void 0===c?void 0:c.id);if(O&&$&&oe)return Promise.resolve(!0);let ve,Le,et;r?(ve=r.resolve,Le=r.reject,et=r.promise):et=new Promise((pi,lu)=>{ve=pi,Le=lu});const Vt=++this.navigationId;let Bt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),Bt=s&&s.\u0275routerPageId?s.\u0275routerPageId:a.replaceUrl||a.skipLocationChange?null!==(d=this.browserPageId)&&void 0!==d?d:0:(null!==(h=this.browserPageId)&&void 0!==h?h:0)+1):Bt=0,this.setTransition({id:Vt,targetPageId:Bt,source:t,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:a,resolve:ve,reject:Le,promise:et,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),et.catch(pi=>Promise.reject(pi))}setBrowserUrl(e,t){const s=this.urlSerializer.serialize(e),a=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(s)||t.extras.replaceUrl?this.location.replaceState(s,"",a):this.location.go(s,"",a)}restoreHistory(e,t=!1){var s,a;if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)||0===r?this.currentUrlTree===(null===(a=this.currentNavigation)||void 0===a?void 0:a.finalUrl)&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,t){const s=new tt(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(s),e.resolve(!1)}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function wr(n){return"imperative"!==n}let It=(()=>{class n{constructor(e,t,s,a,r){this.router=e,this.route=t,this.tabIndexAttribute=s,this.renderer=a,this.el=r,this.commands=null,this.onChanges=new De.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const t=this.renderer,s=this.el.nativeElement;null!==e?t.setAttribute(s,"tabindex",e):t.removeAttribute(s,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const e={skipLocationChange:S(this.skipLocationChange),replaceUrl:S(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:S(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ji),i.Y36(Xn),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),n})(),_=(()=>{class n{constructor(e,t,s){this.router=e,this.route=t,this.locationStrategy=s,this.commands=null,this.href=null,this.onChanges=new De.xQ,this.subscription=e.events.subscribe(a=>{a instanceof Te&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,s,a,r){if(0!==e||t||s||a||r||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const c={skipLocationChange:S(this.skipLocationChange),replaceUrl:S(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,c),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:S(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ji),i.Y36(Xn),i.Y36(b.S$))},n.\u0275dir=i.lG2({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&e&&i.uIk("target",t.target)("href",t.href,i.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),n})();function S(n){return""===n||!!n}class V{}class re{preload(o,e){return e().pipe((0,On.K)(()=>(0,Ke.of)(null)))}}class ye{preload(o,e){return(0,Ke.of)(null)}}let rt=(()=>{class n{constructor(e,t,s,a){this.router=e,this.injector=s,this.preloadingStrategy=a,this.loader=new Th(s,t,d=>e.triggerEvent(new _i(d)),d=>e.triggerEvent(new bo(d)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,qt.h)(e=>e instanceof Te),(0,Cs.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(i.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const s=[];for(const a of t)if(a.loadChildren&&!a.canLoad&&a._loadedConfig){const r=a._loadedConfig;s.push(this.processRoutes(r.module,r.routes))}else a.loadChildren&&!a.canLoad?s.push(this.preloadConfig(e,a)):a.children&&s.push(this.processRoutes(e,a.children));return(0,Mn.D)(s).pipe((0,Va.J)(),(0,pt.U)(a=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ke.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,en.zg)(a=>(t._loadedConfig=a,this.processRoutes(a.module,a.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ji),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(V))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Nt=(()=>{class n{constructor(e,t,s={}){this.router=e,this.viewportScroller=t,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof me?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Te&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof hr&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new hr(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Tn=new i.OlP("ROUTER_CONFIGURATION"),Nn=new i.OlP("ROUTER_FORROOT_GUARD"),Wo=[b.Ye,{provide:Qa,useClass:mr},{provide:ji,useFactory:function _1(n,o,e,t,s,a,r={},c,d){const h=new ji(null,n,o,e,t,s,ys(a));return c&&(h.urlHandlingStrategy=c),d&&(h.routeReuseStrategy=d),function nA(n,o){n.errorHandler&&(o.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(o.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(o.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(o.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(o.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(o.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(o.canceledNavigationResolution=n.canceledNavigationResolution)}(r,h),r.enableTracing&&h.events.subscribe(g=>{var O,$;null===(O=console.group)||void 0===O||O.call(console,`Router Event: ${g.constructor.name}`),console.log(g.toString()),console.log(g),null===($=console.groupEnd)||void 0===$||$.call(console)}),h},deps:[Qa,ra,b.Ye,i.zs3,i.Sil,Ml,Tn,[class vo{},new i.FiY],[class vh{},new i.FiY]]},ra,{provide:Xn,useFactory:function sA(n){return n.routerState.root},deps:[ji]},rt,ye,re,{provide:Tn,useValue:{enableTracing:!1}}];function eA(){return new i.PXZ("Router",ji)}let Sh=(()=>{class n{constructor(e,t){}static forRoot(e,t){return{ngModule:n,providers:[Wo,gc(e),{provide:Nn,useFactory:Mr,deps:[[ji,new i.FiY,new i.tp0]]},{provide:Tn,useValue:t||{}},{provide:b.S$,useFactory:iA,deps:[b.lw,[new i.tBr(b.mr),new i.FiY],Tn]},{provide:Nt,useFactory:tA,deps:[ji,b.EM,Tn]},{provide:V,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:ye},{provide:i.PXZ,multi:!0,useFactory:eA},[zp,{provide:i.ip1,multi:!0,useFactory:oA,deps:[zp]},{provide:Ip,useFactory:rA,deps:[zp]},{provide:i.tb,multi:!0,useExisting:Ip}]]}}static forChild(e){return{ngModule:n,providers:[gc(e)]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Nn,8),i.LFG(ji,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();function tA(n,o,e){return e.scrollOffset&&o.setOffset(e.scrollOffset),new Nt(n,o,e)}function iA(n,o,e={}){return e.useHash?new b.Do(n,o):new b.b0(n,o)}function Mr(n){return"guarded"}function gc(n){return[{provide:i.deG,multi:!0,useValue:n},{provide:Ml,multi:!0,useValue:n}]}let zp=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new De.xQ}appInitializer(){return this.injector.get(b.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const s=new Promise(c=>t=c),a=this.injector.get(ji),r=this.injector.get(Tn);return"disabled"===r.initialNavigation?(a.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(a.hooks.afterPreactivation=()=>this.initNavigation?(0,Ke.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),a.initialNavigation()):t(!0),s})}bootstrapListener(e){const t=this.injector.get(Tn),s=this.injector.get(rt),a=this.injector.get(Nt),r=this.injector.get(ji),c=this.injector.get(i.z2F);e===c.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&r.initialNavigation(),s.setUpPreloading(),a.init(),r.resetRootComponentType(c.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function oA(n){return n.appInitializer.bind(n)}function rA(n){return n.bootstrapListener.bind(n)}const Ip=new i.OlP("Router Initializer");let ti=(()=>{class n{constructor(){this.branding=""}setInstanceConfig(e){this.instanceConfig=e}setDefaultConfig(e){this.defaultConfig=e}getAppsConfig(){return this.appsConfig}setAppsConfig(e){this.appsConfig=e}setPerunPrincipal(e){this.principal=e}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(e){this.initialPageId=e}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.get("skip_oidc")}get(...e){let t;if(""!==this.branding){const s=this.instanceConfig.brandings[this.branding];for(let a=0;a(0,ju.k)(s)?t(...s):t(s))):new Fi.y(s=>{lA(n,o,function a(r){s.next(arguments.length>1?Array.prototype.slice.call(arguments):r)},s,e)})}function lA(n,o,e,t,s){let a;if(function Hp(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const r=n;n.addEventListener(o,e,s),a=()=>r.removeEventListener(o,e,s)}else if(function Np(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const r=n;n.on(o,e),a=()=>r.off(o,e)}else if(function bT(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const r=n;n.addListener(o,e),a=()=>r.removeListener(o,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let r=0,c=n.length;r0?super.requestAsyncId(o,e,t):(o.actions.push(this),o.scheduled||(o.scheduled=requestAnimationFrame(()=>o.flush(null))))}recycleAsyncId(o,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(o,e,t);0===o.actions.length&&(cancelAnimationFrame(e),o.scheduled=void 0)}});let uA=1;const dA=Promise.resolve(),Eh={};function Bp(n){return n in Eh&&(delete Eh[n],!0)}const Uu={setImmediate(n){const o=uA++;return Eh[o]=!0,dA.then(()=>Bp(o)&&n()),o},clearImmediate(n){Bp(n)}},Yi=new class fA extends A1.v{flush(o){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let t,s=-1,a=e.length;o=o||e.shift();do{if(t=o.execute(o.state,o.delay))break}while(++s0?super.requestAsyncId(o,e,t):(o.actions.push(this),o.scheduled||(o.scheduled=Uu.setImmediate(o.flush.bind(o,null))))}recycleAsyncId(o,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(o,e,t);0===o.actions.length&&(Uu.clearImmediate(e),o.scheduled=void 0)}});var Gu=w(353),v1=w(826),kh=w(9054);class pA{constructor(o){this.durationSelector=o}call(o,e){return e.subscribe(new gA(o,this.durationSelector))}}class gA extends v1.L{constructor(o,e){super(o),this.durationSelector=e,this.hasValue=!1}_next(o){if(this.value=o,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:s}=this;e=s(o)}catch(s){return this.destination.error(s)}const t=(0,kh.D)(this,e);!t||t.closed?this.clearThrottle():this.add(this.throttled=t)}}clearThrottle(){const{value:o,hasValue:e,throttled:t}=this;t&&(this.remove(t),this.throttled=null,t.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(o))}notifyNext(o,e,t,s){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function qp(n){return!(0,ju.k)(n)&&n-parseFloat(n)+1>=0}function C1(n=0,o,e){let t=-1;return qp(o)?t=Number(o)<1?1:Number(o):(0,go.K)(o)&&(e=o),(0,go.K)(e)||(e=Gu.P),new Fi.y(s=>{const a=qp(n)?n:+n-e.now();return e.schedule(mA,a,{index:0,period:t,subscriber:s})})}function mA(n){const{index:o,period:e,subscriber:t}=n;if(t.next(o),!t.closed){if(-1===e)return t.complete();n.index=o+1,this.schedule(n,e)}}function S1(n,o=Gu.P){return function T1(n){return function(e){return e.lift(new pA(n))}}(()=>C1(n,o))}function it(n){return o=>o.lift(new Vu(n))}class Vu{constructor(o){this.notifier=o}call(o,e){const t=new ls(o),s=(0,kh.D)(t,this.notifier);return s&&!t.seenValue?(t.add(s),e.subscribe(t)):t}}class ls extends v1.L{constructor(o){super(o),this.seenValue=!1}notifyNext(o,e,t,s,a){this.seenValue=!0,this.complete()}notifyComplete(){}}let Wu;try{Wu="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){Wu=!1}let an,Ei=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,b.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Wu)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.Lbi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const Tl=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Dh(){if(an)return an;if("object"!=typeof document||!document)return an=new Set(Tl),an;let n=document.createElement("input");return an=new Set(Tl.filter(o=>(n.setAttribute("type",o),n.type===o))),an}let Ku,xh,fa,jp;function Ko(n){return function _A(){if(null==Ku&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ku=!0}))}finally{Ku=Ku||!1}return Ku}()?n:!!n.capture}function E1(){if(null==fa){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return fa=!1,fa;if("scrollBehavior"in document.documentElement.style)fa=!0;else{const n=Element.prototype.scrollTo;fa=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return fa}function Cl(){if("object"!=typeof document||!document)return 0;if(null==xh){const n=document.createElement("div"),o=n.style;n.dir="rtl",o.width="1px",o.overflow="auto",o.visibility="hidden",o.pointerEvents="none",o.position="absolute";const e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),xh=0,0===n.scrollLeft&&(n.scrollLeft=1,xh=0===n.scrollLeft?1:2),n.remove()}return xh}function Sl(n){if(function bA(){if(null==jp){const n="undefined"!=typeof document?document.head:null;jp=!(!n||!n.createShadowRoot&&!n.attachShadow)}return jp}()){const o=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&o instanceof ShadowRoot)return o}return null}function Yp(){let n="undefined"!=typeof document&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const o=n.shadowRoot.activeElement;if(o===n)break;n=o}return n}function $s(n){return n.composedPath?n.composedPath()[0]:n.target}function Zu(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const yA=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function AA(){return(0,i.f3M)(b.K0)}}),$u=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Hn=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new i.vpe,e){const s=e.documentElement?e.documentElement.dir:null;this.value=function wA(n){const o=(null==n?void 0:n.toLowerCase())||"";return"auto"===o&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?$u.test(navigator.language)?"rtl":"ltr":"rtl"===o?"rtl":"ltr"}((e.body?e.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(yA,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),El=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),mc=(()=>{class n{constructor(e,t,s){this._ngZone=e,this._platform=t,this._scrolled=new De.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Fi.y(t=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(S1(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ke.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const s=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,qt.h)(a=>!a||s.indexOf(a)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((s,a)=>{this._scrollableContainsElement(a,e)&&t.push(a)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let s=oi(t),a=e.getElementRef().nativeElement;do{if(s==a)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>ha(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(Ei),i.LFG(b.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Xu=(()=>{class n{constructor(e,t,s,a){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=s,this.dir=a,this._destroyed=new De.xQ,this._elementScrolled=new Fi.y(r=>this.ngZone.runOutsideAngular(()=>ha(this.elementRef.nativeElement,"scroll").pipe(it(this._destroyed)).subscribe(r)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,s=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=s?e.end:e.start),null==e.right&&(e.right=s?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),s&&0!=Cl()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Cl()?e.left=e.right:1==Cl()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;E1()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",s="right",a=this.elementRef.nativeElement;if("top"==e)return a.scrollTop;if("bottom"==e)return a.scrollHeight-a.clientHeight-a.scrollTop;const r=this.dir&&"rtl"==this.dir.value;return"start"==e?e=r?s:t:"end"==e&&(e=r?t:s),r&&2==Cl()?e==t?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:r&&1==Cl()?e==t?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==t?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(mc),i.Y36(i.R0b),i.Y36(Hn,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),n})(),Ms=(()=>{class n{constructor(e,t,s){this._platform=e,this._change=new De.xQ,this._changeListener=a=>{this._change.next(a)},this._document=s,t.runOutsideAngular(()=>{if(e.isBrowser){const a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+t,height:s,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),s=e.documentElement,a=s.getBoundingClientRect();return{top:-a.top||e.body.scrollTop||t.scrollY||s.scrollTop||0,left:-a.left||e.body.scrollLeft||t.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(S1(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei),i.LFG(i.R0b),i.LFG(b.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Cn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),kl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El,vl,Cn],El,Cn]}),n})();class Qu{attach(o){return this._attachedHost=o,o.attach(this)}detach(){let o=this._attachedHost;null!=o&&(this._attachedHost=null,o.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(o){this._attachedHost=o}}class Dl extends Qu{constructor(o,e,t,s){super(),this.component=o,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=s}}class _c extends Qu{constructor(o,e,t){super(),this.templateRef=o,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(o,e=this.context){return this.context=e,super.attach(o)}detach(){return this.context=void 0,super.detach()}}class ET extends Qu{constructor(o){super(),this.element=o instanceof i.SBq?o.nativeElement:o}}class pa{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(o){return o instanceof Dl?(this._attachedPortal=o,this.attachComponentPortal(o)):o instanceof _c?(this._attachedPortal=o,this.attachTemplatePortal(o)):this.attachDomPortal&&o instanceof ET?(this._attachedPortal=o,this.attachDomPortal(o)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(o){this._disposeFn=o}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class L1 extends pa{constructor(o,e,t,s,a){super(),this.outletElement=o,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=s,this.attachDomPortal=r=>{const c=r.element,d=this._document.createComment("dom-portal");c.parentNode.insertBefore(d,c),this.outletElement.appendChild(c),this._attachedPortal=r,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(c,d)})},this._document=a}attachComponentPortal(o){const t=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component);let s;return o.viewContainerRef?(s=o.viewContainerRef.createComponent(t,o.viewContainerRef.length,o.injector||o.viewContainerRef.injector),this.setDisposeFn(()=>s.destroy())):(s=t.create(o.injector||this._defaultInjector),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=o,s}attachTemplatePortal(o){let e=o.viewContainerRef,t=e.createEmbeddedView(o.templateRef,o.context);return t.rootNodes.forEach(s=>this.outletElement.appendChild(s)),t.detectChanges(),this.setDisposeFn(()=>{let s=e.indexOf(t);-1!==s&&e.remove(s)}),this._attachedPortal=o,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(o){return o.hostView.rootNodes[0]}}let Up=(()=>{class n extends pa{constructor(e,t,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=a=>{const r=a.element,c=this._document.createComment("dom-portal");a.setAttachedHost(this),r.parentNode.insertBefore(c,r),this._getRootNode().appendChild(r),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(r,c)})},this._document=s}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(a,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),n})(),Rh=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();var Li=w(6787);class Gp{constructor(o,e){this.predicate=o,this.inclusive=e}call(o,e){return e.subscribe(new P1(o,this.predicate,this.inclusive))}}class P1 extends Ys.L{constructor(o,e,t){super(o),this.predicate=e,this.inclusive=t,this.index=0}_next(o){const e=this.destination;let t;try{t=this.predicate(o,this.index++)}catch(s){return void e.error(s)}this.nextOrComplete(o,t)}nextOrComplete(o,e){const t=this.destination;Boolean(e)?t.next(o):(this.inclusive&&t.next(o),t.complete())}}function cn(n,...o){return o.length?o.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}const sm=E1();class om{constructor(o,e){this._viewportRuler=o,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const o=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=o.style.left||"",this._previousHTMLStyles.top=o.style.top||"",o.style.left=rn(-this._previousScrollPosition.left),o.style.top=rn(-this._previousScrollPosition.top),o.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const o=this._document.documentElement,t=o.style,s=this._document.body.style,a=t.scrollBehavior||"",r=s.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,o.classList.remove("cdk-global-scrollblock"),sm&&(t.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),sm&&(t.scrollBehavior=a,s.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class rm{constructor(o,e,t,s){this._scrollDispatcher=o,this._ngZone=e,this._viewportRuler=t,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(o){this._overlayRef=o}enable(){if(this._scrollSubscription)return;const o=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=o.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=o.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Xp{enable(){}disable(){}attach(){}}function Qp(n,o){return o.some(e=>n.bottome.bottom||n.righte.right)}function Jp(n,o){return o.some(e=>n.tope.bottom||n.lefte.right)}class QA{constructor(o,e,t,s){this._scrollDispatcher=o,this._viewportRuler=e,this._ngZone=t,this._config=s,this._scrollSubscription=null}attach(o){this._overlayRef=o}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:s}=this._viewportRuler.getViewportSize();Qp(e,[{width:t,height:s,bottom:s,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let JA=(()=>{class n{constructor(e,t,s,a){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=s,this.noop=()=>new Xp,this.close=r=>new rm(this._scrollDispatcher,this._ngZone,this._viewportRuler,r),this.block=()=>new om(this._viewportRuler,this._document),this.reposition=r=>new QA(this._scrollDispatcher,this._viewportRuler,this._ngZone,r),this._document=a}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(mc),i.LFG(Ms),i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Gn{constructor(o){if(this.scrollStrategy=new Xp,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,o){const e=Object.keys(o);for(const t of e)void 0!==o[t]&&(this[t]=o[t])}}}class cC{constructor(o,e){this.connectionPair=o,this.scrollableViewProperties=e}}class lC{constructor(o,e,t,s,a,r,c,d,h){this._portalOutlet=o,this._host=e,this._pane=t,this._config=s,this._ngZone=a,this._keyboardDispatcher=r,this._document=c,this._location=d,this._outsideClickDispatcher=h,this._backdropElement=null,this._backdropClick=new De.xQ,this._attachments=new De.xQ,this._detachments=new De.xQ,this._locationChanges=P.w.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._keydownEvents=new De.xQ,this._outsidePointerEvents=new De.xQ,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(o){let e=this._portalOutlet.attach(o);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const o=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),o}dispose(){var o;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(o=this._host)||void 0===o||o.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(o){o!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=o,this.hasAttached()&&(o.attach(this),this.updatePosition()))}updateSize(o){this._config=Object.assign(Object.assign({},this._config),o),this._updateElementSize()}setDirection(o){this._config=Object.assign(Object.assign({},this._config),{direction:o}),this._updateElementDirection()}addPanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!0)}removePanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!1)}getDirection(){const o=this._config.direction;return o?"string"==typeof o?o:o.value:"ltr"}updateScrollStrategy(o){o!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=o,this.hasAttached()&&(o.attach(this),o.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const o=this._pane.style;o.width=rn(this._config.width),o.height=rn(this._config.height),o.minWidth=rn(this._config.minWidth),o.minHeight=rn(this._config.minHeight),o.maxWidth=rn(this._config.maxWidth),o.maxHeight=rn(this._config.maxHeight)}_togglePointerEvents(o){this._pane.style.pointerEvents=o?"":"none"}_attachBackdrop(){const o="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(o)})}):this._backdropElement.classList.add(o)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const o=this._backdropElement;if(!o)return;let e;const t=()=>{o&&(o.removeEventListener("click",this._backdropClickHandler),o.removeEventListener("transitionend",t),this._disposeBackdrop(o)),this._config.backdropClass&&this._toggleClasses(o,this._config.backdropClass,!1),clearTimeout(e)};o.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{o.addEventListener("transitionend",t)}),o.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(t,500))}_toggleClasses(o,e,t){const s=vr(e||[]).filter(a=>!!a);s.length&&(t?o.classList.add(...s):o.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const o=this._ngZone.onStable.pipe(it((0,Li.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),o.unsubscribe())})})}_disposeScrollStrategy(){const o=this._scrollStrategy;o&&(o.disable(),o.detach&&o.detach())}_disposeBackdrop(o){o&&(o.remove(),this._backdropElement===o&&(this._backdropElement=null))}}let eg=(()=>{class n{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Zu()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const o=this._originRect,e=this._overlayRect,t=this._viewportRect,s=this._containerRect,a=[];let r;for(let c of this._preferredPositions){let d=this._getOriginPoint(o,s,c),h=this._getOverlayPoint(d,e,c),g=this._getOverlayFit(h,e,t,c);if(g.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,d);this._canFitWithFlexibleDimensions(g,h,t)?a.push({position:c,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,c)}):(!r||r.overlayFit.visibleAread&&(d=g,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&vc(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Bh),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const o=this._lastPosition;if(o){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,o);this._applyPosition(o,e)}else this.apply()}withScrollableContainers(o){return this._scrollables=o,this}withPositions(o){return this._preferredPositions=o,-1===o.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(o){return this._viewportMargin=o,this}withFlexibleDimensions(o=!0){return this._hasFlexibleDimensions=o,this}withGrowAfterOpen(o=!0){return this._growAfterOpen=o,this}withPush(o=!0){return this._canPush=o,this}withLockedPosition(o=!0){return this._positionLocked=o,this}setOrigin(o){return this._origin=o,this}withDefaultOffsetX(o){return this._offsetX=o,this}withDefaultOffsetY(o){return this._offsetY=o,this}withTransformOriginOn(o){return this._transformOriginSelector=o,this}_getOriginPoint(o,e,t){let s,a;if("center"==t.originX)s=o.left+o.width/2;else{const r=this._isRtl()?o.right:o.left,c=this._isRtl()?o.left:o.right;s="start"==t.originX?r:c}return e.left<0&&(s-=e.left),a="center"==t.originY?o.top+o.height/2:"top"==t.originY?o.top:o.bottom,e.top<0&&(a-=e.top),{x:s,y:a}}_getOverlayPoint(o,e,t){let s,a;return s="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,a="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:o.x+s,y:o.y+a}}_getOverlayFit(o,e,t,s){const a=tg(e);let{x:r,y:c}=o,d=this._getOffset(s,"x"),h=this._getOffset(s,"y");d&&(r+=d),h&&(c+=h);let $=0-c,oe=c+a.height-t.height,be=this._subtractOverflows(a.width,0-r,r+a.width-t.width),ve=this._subtractOverflows(a.height,$,oe),Le=be*ve;return{visibleArea:Le,isCompletelyWithinViewport:a.width*a.height===Le,fitsInViewportVertically:ve===a.height,fitsInViewportHorizontally:be==a.width}}_canFitWithFlexibleDimensions(o,e,t){if(this._hasFlexibleDimensions){const s=t.bottom-e.y,a=t.right-e.x,r=cm(this._overlayRef.getConfig().minHeight),c=cm(this._overlayRef.getConfig().minWidth),h=o.fitsInViewportHorizontally||null!=c&&c<=a;return(o.fitsInViewportVertically||null!=r&&r<=s)&&h}return!1}_pushOverlayOnScreen(o,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:o.x+this._previousPushAmount.x,y:o.y+this._previousPushAmount.y};const s=tg(e),a=this._viewportRect,r=Math.max(o.x+s.width-a.width,0),c=Math.max(o.y+s.height-a.height,0),d=Math.max(a.top-t.top-o.y,0),h=Math.max(a.left-t.left-o.x,0);let g=0,O=0;return g=s.width<=a.width?h||-r:o.xbe&&!this._isInitialRender&&!this._growAfterOpen&&(r=o.y-be/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)$=t.width-o.x+this._viewportMargin,g=o.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)O=o.x,g=t.right-o.x;else{const oe=Math.min(t.right-o.x+t.left,o.x),be=this._lastBoundingBoxSize.width;g=2*oe,O=o.x-oe,g>be&&!this._isInitialRender&&!this._growAfterOpen&&(O=o.x-be/2)}return{top:r,left:O,bottom:c,right:$,width:g,height:a}}_setBoundingBoxStyles(o,e){const t=this._calculateBoundingBoxRect(o,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const a=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;s.height=rn(t.height),s.top=rn(t.top),s.bottom=rn(t.bottom),s.width=rn(t.width),s.left=rn(t.left),s.right=rn(t.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",a&&(s.maxHeight=rn(a)),r&&(s.maxWidth=rn(r))}this._lastBoundingBoxSize=t,vc(this._boundingBox.style,s)}_resetBoundingBoxStyles(){vc(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){vc(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(o,e){const t={},s=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(s){const g=this._viewportRuler.getViewportScrollPosition();vc(t,this._getExactOverlayY(e,o,g)),vc(t,this._getExactOverlayX(e,o,g))}else t.position="static";let c="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(c+=`translateX(${d}px) `),h&&(c+=`translateY(${h}px)`),t.transform=c.trim(),r.maxHeight&&(s?t.maxHeight=rn(r.maxHeight):a&&(t.maxHeight="")),r.maxWidth&&(s?t.maxWidth=rn(r.maxWidth):a&&(t.maxWidth="")),vc(this._pane.style,t)}_getExactOverlayY(o,e,t){let s={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),"bottom"===o.overlayY?s.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":s.top=rn(a.y),s}_getExactOverlayX(o,e,t){let r,s={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),r=this._isRtl()?"end"===o.overlayX?"left":"right":"end"===o.overlayX?"right":"left","right"===r?s.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":s.left=rn(a.x),s}_getScrollVisibility(){const o=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Jp(o,t),isOriginOutsideView:Qp(o,t),isOverlayClipped:Jp(e,t),isOverlayOutsideView:Qp(e,t)}}_subtractOverflows(o,...e){return e.reduce((t,s)=>t-Math.max(s,0),o)}_getNarrowedViewportRect(){const o=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+o-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:o-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(o,e){return"x"===e?null==o.offsetX?this._offsetX:o.offsetX:null==o.offsetY?this._offsetY:o.offsetY}_validatePositions(){}_addPanelClasses(o){this._pane&&vr(o).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(o=>{this._pane.classList.remove(o)}),this._appliedPanelClasses=[])}_getOriginRect(){const o=this._origin;if(o instanceof i.SBq)return o.nativeElement.getBoundingClientRect();if(o instanceof Element)return o.getBoundingClientRect();const e=o.width||0,t=o.height||0;return{top:o.y,bottom:o.y+t,left:o.x,right:o.x+e,height:t,width:e}}}function vc(n,o){for(let e in o)o.hasOwnProperty(e)&&(n[e]=o[e]);return n}function cm(n){if("number"!=typeof n&&null!=n){const[o,e]=n.split(am);return e&&"px"!==e?null:parseFloat(o)}return n||null}function tg(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const lm="cdk-global-overlay-wrapper";class um{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(o){const e=o.getConfig();this._overlayRef=o,this._width&&!e.width&&o.updateSize({width:this._width}),this._height&&!e.height&&o.updateSize({height:this._height}),o.hostElement.classList.add(lm),this._isDisposed=!1}top(o=""){return this._bottomOffset="",this._topOffset=o,this._alignItems="flex-start",this}left(o=""){return this._rightOffset="",this._leftOffset=o,this._justifyContent="flex-start",this}bottom(o=""){return this._topOffset="",this._bottomOffset=o,this._alignItems="flex-end",this}right(o=""){return this._leftOffset="",this._rightOffset=o,this._justifyContent="flex-end",this}width(o=""){return this._overlayRef?this._overlayRef.updateSize({width:o}):this._width=o,this}height(o=""){return this._overlayRef?this._overlayRef.updateSize({height:o}):this._height=o,this}centerHorizontally(o=""){return this.left(o),this._justifyContent="center",this}centerVertically(o=""){return this.top(o),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:s,height:a,maxWidth:r,maxHeight:c}=t,d=!("100%"!==s&&"100vw"!==s||r&&"100%"!==r&&"100vw"!==r),h=!("100%"!==a&&"100vh"!==a||c&&"100%"!==c&&"100vh"!==c);o.position=this._cssPosition,o.marginLeft=d?"0":this._leftOffset,o.marginTop=h?"0":this._topOffset,o.marginBottom=this._bottomOffset,o.marginRight=this._rightOffset,d?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(lm),t.justifyContent=t.alignItems=o.marginTop=o.marginBottom=o.marginLeft=o.marginRight=o.position="",this._overlayRef=null,this._isDisposed=!0}}let iw=(()=>{class n{constructor(e,t,s,a){this._viewportRuler=e,this._document=t,this._platform=s,this._overlayContainer=a}global(){return new um}flexibleConnectedTo(e){return new tw(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ms),i.LFG(b.K0),i.LFG(Ei),i.LFG(eg))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dm=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hm=(()=>{class n extends dm{constructor(e){super(e),this._keydownListener=t=>{const s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){s[a]._keydownEvents.next(t);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fm=(()=>{class n extends dm{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=$s(s)},this._clickListener=s=>{const a=$s(s),r="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){const h=c[d];if(!(h._outsidePointerEvents.observers.length<1)&&h.hasAttached()){if(h.overlayElement.contains(a)||h.overlayElement.contains(r))break;h._outsidePointerEvents.next(s)}}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),nw=0,$i=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=s,this._positionBuilder=a,this._keyboardDispatcher=r,this._injector=c,this._ngZone=d,this._document=h,this._directionality=g,this._location=O,this._outsideClickDispatcher=$}create(e){const t=this._createHostElement(),s=this._createPaneElement(t),a=this._createPortalOutlet(s),r=new Gn(e);return r.direction=r.direction||this._directionality.value,new lC(a,t,s,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+nw++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(i.z2F)),new L1(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(JA),i.LFG(eg),i.LFG(i._Vd),i.LFG(iw),i.LFG(hm),i.LFG(i.zs3),i.LFG(i.R0b),i.LFG(b.K0),i.LFG(Hn),i.LFG(b.Ye),i.LFG(fm))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const ig=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],pm=new i.OlP("cdk-connected-overlay-scroll-strategy");let gm=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),sw=(()=>{class n{constructor(e,t,s,a,r){this._overlay=e,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=P.w.EMPTY,this._attachSubscription=P.w.EMPTY,this._detachSubscription=P.w.EMPTY,this._positionSubscription=P.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new i.vpe,this.positionChange=new i.vpe,this.attach=new i.vpe,this.detach=new i.vpe,this.overlayKeydown=new i.vpe,this.overlayOutsideClick=new i.vpe,this._templatePortal=new _c(t,s),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=je(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=je(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=je(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=je(e)}get push(){return this._push}set push(e){this._push=je(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ig);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),27===t.keyCode&&!this.disableClose&&!cn(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Gn({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof gm?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function O1(n,o=!1){return e=>e.lift(new Gp(n,o))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($i),i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(pm),i.Y36(Hn,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[i.TTD]}),n})();const ow={provide:pm,deps:[$i],useFactory:function mm(n){return()=>n.scrollStrategies.reposition()}};let Ll=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[$i,ow],imports:[[El,Rh,kl],kl]}),n})();var qh=w(13);function _m(n){return o=>o.lift(new jh(n))}class jh{constructor(o){this.total=o}call(o,e){return e.subscribe(new ng(o,this.total))}}class ng extends Ys.L{constructor(o,e){super(o),this.total=e,this.count=0}_next(o){++this.count>this.total&&this.destination.next(o)}}function Yh(n,o){return e=>e.lift(new sg(n,o))}class sg{constructor(o,e){this.compare=o,this.keySelector=e}call(o,e){return e.subscribe(new og(o,this.compare,this.keySelector))}}class og extends Ys.L{constructor(o,e,t){super(o),this.keySelector=t,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(o,e){return o===e}_next(o){let e;try{const{keySelector:s}=this;e=s?s(o):o}catch(s){return this.destination.error(s)}let t=!1;if(this.hasKey)try{const{compare:s}=this;t=s(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;t||(this.key=e,this.destination.next(o))}}let rg=(()=>{class n{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rw=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=oi(e);return new Fi.y(s=>{const r=this._observeElement(t).subscribe(s);return()=>{r.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new De.xQ,s=this._mutationObserverFactory.create(a=>t.next(a));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:s}=this._observedElements.get(e);t&&t.disconnect(),s.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(rg))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ag=(()=>{class n{constructor(e,t,s){this._contentObserver=e,this._elementRef=t,this._ngZone=s,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=je(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=on(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe((0,qh.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(rw),i.Y36(i.SBq),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),Rl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[rg]}),n})();function id(n,o){return(n.getAttribute(o)||"").match(/\S+/g)||[]}const cg="cdk-describedby-message",nd="cdk-describedby-host";let Qo=0,sd=(()=>{class n{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Qo++,this._document=e}describe(e,t,s){if(!this._canBeDescribed(e,t))return;const a=lg(t,s);"string"!=typeof t?(ym(t),this._messageRegistry.set(a,{messageElement:t,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(t,s),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,t,s){var a;if(!t||!this._isElementNode(e))return;const r=lg(t,s);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),"string"==typeof t){const c=this._messageRegistry.get(r);c&&0===c.referenceCount&&this._deleteMessageElement(r)}0===(null===(a=this._messagesContainer)||void 0===a?void 0:a.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${nd}="${this._id}"]`);for(let s=0;s0!=s.indexOf(cg));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const s=this._messageRegistry.get(t);(function cw(n,o,e){const t=id(n,o);t.some(s=>s.trim()==e.trim())||(t.push(e.trim()),n.setAttribute(o,t.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(nd,this._id),s.referenceCount++}_removeMessageReference(e,t){const s=this._messageRegistry.get(t);s.referenceCount--,function bm(n,o,e){const s=id(n,o).filter(a=>a!=e.trim());s.length?n.setAttribute(o,s.join(" ")):n.removeAttribute(o)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(nd)}_isElementDescribedByMessage(e,t){const s=id(e,"aria-describedby"),a=this._messageRegistry.get(t),r=a&&a.messageElement.id;return!!r&&-1!=s.indexOf(r)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const s=null==t?"":`${t}`.trim(),a=e.getAttribute("aria-label");return!(!s||a&&a.trim()===s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function lg(n,o){return"string"==typeof n?`${o||""}/${n}`:n}function ym(n){n.id||(n.id=`${cg}-${Qo++}`)}class uw{constructor(o){this._items=o,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new De.xQ,this._typeaheadSubscription=P.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new De.xQ,this.change=new De.xQ,o instanceof i.n_E&&o.changes.subscribe(e=>{if(this._activeItem){const s=e.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}})}skipPredicate(o){return this._skipPredicateFn=o,this}withWrap(o=!0){return this._wrap=o,this}withVerticalOrientation(o=!0){return this._vertical=o,this}withHorizontalOrientation(o){return this._horizontal=o,this}withAllowedModifierKeys(o){return this._allowedModifierKeys=o,this}withTypeAhead(o=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,qi.b)(e=>this._pressedLetters.push(e)),(0,qh.b)(o),(0,qt.h)(()=>this._pressedLetters.length>0),(0,pt.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let s=1;s!o[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||cn(o,"shiftKey"))&&(o.key&&1===o.key.length?this._letterKeyStream.next(o.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],o.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(o){const e=this._getItemsArray(),t="number"==typeof o?o:e.indexOf(o),s=e[t];this._activeItem=null==s?null:s,this._activeItemIndex=t}_setActiveItemByDelta(o){this._wrap?this._setActiveInWrapMode(o):this._setActiveInDefaultMode(o)}_setActiveInWrapMode(o){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const s=(this._activeItemIndex+o*t+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(o){this._setActiveItemByIndex(this._activeItemIndex+o,o)}_setActiveItemByIndex(o,e){const t=this._getItemsArray();if(t[o]){for(;this._skipPredicateFn(t[o]);)if(!t[o+=e])return;this.setActiveItem(o)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}class Uh extends uw{setActiveItem(o){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(o),this.activeItem&&this.activeItem.setActiveStyles()}}class od extends uw{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(o){return this._origin=o,this}setActiveItem(o){super.setActiveItem(o),this.activeItem&&this.activeItem.focus(this._origin)}}let Tc=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function ug(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function dw(n){try{return n.frameElement}catch(o){return null}}(function Em(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===Cm(t)||!this.isVisible(t)))return!1;let s=e.nodeName.toLowerCase(),a=Cm(e);return e.hasAttribute("contenteditable")?-1!==a:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function Sm(n){let o=n.nodeName.toLowerCase(),e="input"===o&&n.type;return"text"===e||"password"===e||"select"===o||"textarea"===o}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==a:"video"===s?-1!==a&&(null!==a||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function Ol(n){return!function Mm(n){return function hw(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function wm(n){let o=n.nodeName.toLowerCase();return"input"===o||"select"===o||"button"===o||"textarea"===o}(n)||function vm(n){return function dg(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||Tm(n))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Tm(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let o=n.getAttribute("tabindex");return!(!o||isNaN(parseInt(o,10)))}function Cm(n){if(!Tm(n))return null;const o=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(o)?-1:o}class fw{constructor(o,e,t,s,a=!1){this._element=o,this._checker=e,this._ngZone=t,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(o){this._enabled=o,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}destroy(){const o=this._startAnchor,e=this._endAnchor;o&&(o.removeEventListener("focus",this.startAnchorListener),o.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(o)))})}focusFirstTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(o)))})}focusLastTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(o)))})}_getRegionBoundary(o){const e=this._element.querySelectorAll(`[cdk-focus-region-${o}], [cdkFocusRegion${o}], [cdk-focus-${o}]`);return"start"==o?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(o){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(o),!!t}return e.focus(o),!0}return this.focusFirstTabbableElement(o)}focusFirstTabbableElement(o){const e=this._getRegionBoundary("start");return e&&e.focus(o),!!e}focusLastTabbableElement(o){const e=this._getRegionBoundary("end");return e&&e.focus(o),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(o){if(this._checker.isFocusable(o)&&this._checker.isTabbable(o))return o;const e=o.children;for(let t=0;t=0;t--){const s=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(s)return s}return null}_createAnchor(){const o=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,o),o.classList.add("cdk-visually-hidden"),o.classList.add("cdk-focus-trap-anchor"),o.setAttribute("aria-hidden","true"),o}_toggleAnchorTabIndex(o,e){o?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(o){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}_executeOnStable(o){this._ngZone.isStable?o():this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(o)}}let km=(()=>{class n{constructor(e,t,s){this._checker=e,this._ngZone=t,this._document=s}create(e,t=!1){return new fw(e,this._checker,this._ngZone,this._document,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Tc),i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Pl(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function ad(n){const o=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!o||-1!==o.identifier||null!=o.radiusX&&1!==o.radiusX||null!=o.radiusY&&1!==o.radiusY)}const Dm=new i.OlP("cdk-input-modality-detector-options"),xm={ignoreKeys:[18,17,224,91,16]},zl=Ko({passive:!0,capture:!0});let pw=(()=>{class n{constructor(e,t,s,a){this._platform=e,this._mostRecentTarget=null,this._modality=new Bi(null),this._lastTouchMs=0,this._onKeydown=r=>{var c,d;(null===(d=null===(c=this._options)||void 0===c?void 0:c.ignoreKeys)||void 0===d?void 0:d.some(h=>h===r.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=$s(r))},this._onMousedown=r=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Pl(r)?"keyboard":"mouse"),this._mostRecentTarget=$s(r))},this._onTouchstart=r=>{ad(r)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=$s(r))},this._options=Object.assign(Object.assign({},xm),a),this.modalityDetected=this._modality.pipe(_m(1)),this.modalityChanged=this.modalityDetected.pipe(Yh()),e.isBrowser&&t.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,zl),s.addEventListener("mousedown",this._onMousedown,zl),s.addEventListener("touchstart",this._onTouchstart,zl)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,zl),document.removeEventListener("mousedown",this._onMousedown,zl),document.removeEventListener("touchstart",this._onTouchstart,zl))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei),i.LFG(i.R0b),i.LFG(b.K0),i.LFG(Dm,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const gw=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function mw(){return null}}),Lm=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let gC=(()=>{class n{constructor(e,t,s,a){this._ngZone=t,this._defaultOptions=a,this._document=s,this._liveElement=e||this._createLiveElement()}announce(e,...t){const s=this._defaultOptions;let a,r;return 1===t.length&&"number"==typeof t[0]?r=t[0]:[a,r]=t,this.clear(),clearTimeout(this._previousTimeout),a||(a=s&&s.politeness?s.politeness:"polite"),null==r&&s&&(r=s.duration),this._liveElement.setAttribute("aria-live",a),this._ngZone.runOutsideAngular(()=>new Promise(c=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,c(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let a=0;a{class n{constructor(e,t,s,a,r){this._ngZone=e,this._platform=t,this._inputModalityDetector=s,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new De.xQ,this._rootNodeFocusAndBlurListener=c=>{const d=$s(c),h="focus"===c.type?this._onFocus:this._onBlur;for(let g=d;g;g=g.parentElement)h.call(this,c,g)},this._document=a,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(e,t=!1){const s=oi(e);if(!this._platform.isBrowser||1!==s.nodeType)return(0,Ke.of)(null);const a=Sl(s)||this._getDocument(),r=this._elementInfo.get(s);if(r)return t&&(r.checkChildren=!0),r.subject;const c={checkChildren:t,subject:new De.xQ,rootNode:a};return this._elementInfo.set(s,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const t=oi(e),s=this._elementInfo.get(t);s&&(s.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(s))}focusVia(e,t,s){const a=oi(e);a===this._getDocument().activeElement?this._getClosestElementsInfo(a).forEach(([c,d])=>this._originChanged(c,t,d)):(this._setOrigin(t),"function"==typeof a.focus&&a.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&t,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,t){const s=this._elementInfo.get(t),a=$s(e);!s||!s.checkChildren&&t!==a||this._originChanged(t,this._getFocusOrigin(a),s)}_onBlur(e,t){const s=this._elementInfo.get(t);!s||s.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(s.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,s=this._rootNodeFocusListenerCount.get(t)||0;s||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Gh),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Gh)}),this._rootNodeFocusListenerCount.set(t,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(it(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const s=this._rootNodeFocusListenerCount.get(t);s>1?this._rootNodeFocusListenerCount.set(t,s-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Gh),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Gh),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,s){this._setClasses(e,t),this._emitOrigin(s.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((s,a)=>{(a===e||s.checkChildren&&a.contains(e))&&t.push([a,s])}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(Ei),i.LFG(pw),i.LFG(b.K0,8),i.LFG(bw,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Vh="cdk-high-contrast-black-on-white",Rm="cdk-high-contrast-white-on-black",Wh="cdk-high-contrast-active";let fg=(()=>{class n{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,s=t&&t.getComputedStyle?t.getComputedStyle(e):null,a=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Wh),e.remove(Vh),e.remove(Rm),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(Wh),e.add(Vh)):2===t&&(e.add(Wh),e.add(Rm))}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),yw=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fg))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[vl,Rl]]}),n})();class Xs{}const ma="*";function Ti(n,o){return{type:7,name:n,definitions:o,options:{}}}function Ct(n,o=null){return{type:4,styles:o,timings:n}}function pg(n,o=null){return{type:3,steps:n,options:o}}function Om(n,o=null){return{type:2,steps:n,options:o}}function qe(n){return{type:6,styles:n,offset:null}}function ii(n,o,e){return{type:0,name:n,styles:o,options:e}}function Er(n){return{type:5,steps:n}}function Ht(n,o,e=null){return{type:1,expr:n,animation:o,options:e}}function zm(n=null){return{type:9,options:n}}function Eo(n,o,e=null){return{type:11,selector:n,animation:o,options:e}}function Im(n){Promise.resolve(null).then(n)}class cd{constructor(o=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=o+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Im(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(o){this._position=this.totalTime?o*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ld{constructor(o){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=o;let e=0,t=0,s=0;const a=this.players.length;0==a?Im(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++e==a&&this._onFinish()}),r.onDestroy(()=>{++t==a&&this._onDestroy()}),r.onStart(()=>{++s==a&&this._onStart()})}),this.totalTime=this.players.reduce((r,c)=>Math.max(r,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this.players.forEach(o=>o.init())}onStart(o){this._onStartFns.push(o)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(o=>o()),this._onStartFns=[])}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(o=>o.play())}pause(){this.players.forEach(o=>o.pause())}restart(){this.players.forEach(o=>o.restart())}finish(){this._onFinish(),this.players.forEach(o=>o.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(o=>o.destroy()),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this.players.forEach(o=>o.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(o){const e=o*this.totalTime;this.players.forEach(t=>{const s=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(s)})}getPosition(){const o=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=o?o.getPosition():0}beforeDestroy(){this.players.forEach(o=>{o.beforeDestroy&&o.beforeDestroy()})}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function Aw(){return"undefined"!=typeof window&&void 0!==window.document}function Cc(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ba(n){switch(n.length){case 0:return new cd;case 1:return n[0];default:return new ld(n)}}function Nm(n,o,e,t,s={},a={}){const r=[],c=[];let d=-1,h=null;if(t.forEach(g=>{const O=g.offset,$=O==d,oe=$&&h||{};Object.keys(g).forEach(be=>{let ve=be,Le=g[be];if("offset"!==be)switch(ve=o.normalizePropertyName(ve,r),Le){case"!":Le=s[be];break;case ma:Le=a[be];break;default:Le=o.normalizeStyleValue(be,ve,Le,r)}oe[ve]=Le}),$||c.push(oe),h=oe,d=O}),r.length){const g="\n - ";throw new Error(`Unable to animate due to the following errors:${g}${r.join(g)}`)}return c}function ud(n,o,e,t){switch(o){case"start":n.onStart(()=>t(e&&Qs(e,"start",n)));break;case"done":n.onDone(()=>t(e&&Qs(e,"done",n)));break;case"destroy":n.onDestroy(()=>t(e&&Qs(e,"destroy",n)))}}function Qs(n,o,e){const t=e.totalTime,a=Sc(n.element,n.triggerName,n.fromState,n.toState,o||n.phaseName,null==t?n.totalTime:t,!!e.disabled),r=n._data;return null!=r&&(a._data=r),a}function Sc(n,o,e,t,s="",a=0,r){return{element:n,triggerName:o,fromState:e,toState:t,phaseName:s,totalTime:a,disabled:!!r}}function yi(n,o,e){let t;return n instanceof Map?(t=n.get(o),t||n.set(o,t=e)):(t=n[o],t||(t=n[o]=e)),t}function ya(n){const o=n.indexOf(":");return[n.substring(1,o),n.substr(o+1)]}let Il=(n,o)=>!1,Os=(n,o,e)=>[];(Cc()||"undefined"!=typeof Element)&&(Il=Aw()?(n,o)=>{for(;o&&o!==document.documentElement;){if(o===n)return!0;o=o.parentNode||o.host}return!1}:(n,o)=>n.contains(o),Os=(n,o,e)=>{if(e)return Array.from(n.querySelectorAll(o));const t=n.querySelector(o);return t?[t]:[]});let Js=null,Ec=!1;function kc(n){Js||(Js=function Hl(){return"undefined"!=typeof document?document.body:null}()||{},Ec=!!Js.style&&"WebkitAppearance"in Js.style);let o=!0;return Js.style&&!function Nl(n){return"ebkit"==n.substring(1,6)}(n)&&(o=n in Js.style,!o&&Ec&&(o="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in Js.style)),o}const Dc=Il,xc=Os;let Lc=(()=>{class n{validateStyleProperty(e){return kc(e)}matchesElement(e,t){return!1}containsElement(e,t){return Dc(e,t)}query(e,t,s){return xc(e,t,s)}computeStyle(e,t,s){return s||""}animate(e,t,s,a,r,c=[],d){return new cd(s,a)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),hd=(()=>{class n{}return n.NOOP=new Lc,n})();const Kh="ng-enter",fd="ng-leave",pd="ng-trigger",gd=".ng-trigger",mg="ng-animating",_g=".ng-animating";function Aa(n){if("number"==typeof n)return n;const o=n.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:bg(parseFloat(o[1]),o[2])}function bg(n,o){return"s"===o?1e3*n:n}function md(n,o,e){return n.hasOwnProperty("duration")?n:function qm(n,o,e){let s,a=0,r="";if("string"==typeof n){const c=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return o.push(`The provided timing value "${n}" is invalid.`),{duration:0,delay:0,easing:""};s=bg(parseFloat(c[1]),c[2]);const d=c[3];null!=d&&(a=bg(parseFloat(d),c[4]));const h=c[5];h&&(r=h)}else s=n;if(!e){let c=!1,d=o.length;s<0&&(o.push("Duration values below 0 are not allowed for this animation step."),c=!0),a<0&&(o.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&o.splice(d,0,`The provided timing value "${n}" is invalid.`)}return{duration:s,delay:a,easing:r}}(n,o,e)}function Bl(n,o={}){return Object.keys(n).forEach(e=>{o[e]=n[e]}),o}function kr(n,o,e={}){if(o)for(let t in n)e[t]=n[t];else Bl(n,e);return e}function Ym(n,o,e){return e?o+":"+e+";":""}function yg(n){let o="";for(let e=0;e{const s=Um(t);e&&!e.hasOwnProperty(t)&&(e[t]=n.style[s]),n.style[s]=o[t]}),Cc()&&yg(n))}function Rc(n,o){n.style&&(Object.keys(o).forEach(e=>{const t=Um(e);n.style[t]=""}),Cc()&&yg(n))}function Zh(n){return Array.isArray(n)?1==n.length?n[0]:Om(n):n}const _d=new RegExp("{{\\s*(.+?)\\s*}}","g");function $h(n){let o=[];if("string"==typeof n){let e;for(;e=_d.exec(n);)o.push(e[1]);_d.lastIndex=0}return o}function Xh(n,o,e){const t=n.toString(),s=t.replace(_d,(a,r)=>{let c=o[r];return o.hasOwnProperty(r)||(e.push(`Please provide a value for the animation param ${r}`),c=""),c.toString()});return s==t?n:s}function Ag(n){const o=[];let e=n.next();for(;!e.done;)o.push(e.value),e=n.next();return o}const yC=/-+([a-z0-9])/g;function Um(n){return n.replace(yC,(...o)=>o[1].toUpperCase())}function Mw(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ps(n,o,e){switch(o.type){case 7:return n.visitTrigger(o,e);case 0:return n.visitState(o,e);case 1:return n.visitTransition(o,e);case 2:return n.visitSequence(o,e);case 3:return n.visitGroup(o,e);case 4:return n.visitAnimate(o,e);case 5:return n.visitKeyframes(o,e);case 6:return n.visitStyle(o,e);case 8:return n.visitReference(o,e);case 9:return n.visitAnimateChild(o,e);case 10:return n.visitAnimateRef(o,e);case 11:return n.visitQuery(o,e);case 12:return n.visitStagger(o,e);default:throw new Error(`Unable to resolve animation metadata node #${o.type}`)}}function Oc(n,o){return window.getComputedStyle(n)[o]}function Vm(n,o){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(t=>function vw(n,o,e){if(":"==n[0]){const d=function Wm(n,o){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(n,e);if("function"==typeof d)return void o.push(d);n=d}const t=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${n}" is not supported`),o;const s=t[1],a=t[2],r=t[3];o.push(wg(s,r));"<"==a[0]&&!("*"==s&&"*"==r)&&o.push(wg(r,s))}(t,e,o)):e.push(n),e}const Pc=new Set(["true","1"]),Jh=new Set(["false","0"]);function wg(n,o){const e=Pc.has(n)||Jh.has(n),t=Pc.has(o)||Jh.has(o);return(s,a)=>{let r="*"==n||n==s,c="*"==o||o==a;return!r&&e&&"boolean"==typeof s&&(r=s?Pc.has(n):Jh.has(n)),!c&&t&&"boolean"==typeof a&&(c=a?Pc.has(o):Jh.has(o)),r&&c}}const Tw=new RegExp("s*:selfs*,?","g");function Mg(n,o,e){return new Cw(n).build(o,e)}class Cw{constructor(o){this._driver=o}build(o,e){const t=new Xm(e);return this._resetContextStyleTimingState(t),Ps(this,Zh(o),t)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles={},o.collectedStyles[""]={},o.currentTime=0}visitTrigger(o,e){let t=e.queryCount=0,s=e.depCount=0;const a=[],r=[];return"@"==o.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),o.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const d=c,h=d.name;h.toString().split(/\s*,\s*/).forEach(g=>{d.name=g,a.push(this.visitState(d,e))}),d.name=h}else if(1==c.type){const d=this.visitTransition(c,e);t+=d.queryCount,s+=d.depCount,r.push(d)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:o.name,states:a,transitions:r,queryCount:t,depCount:s,options:null}}visitState(o,e){const t=this.visitStyle(o.styles,e),s=o.options&&o.options.params||null;if(t.containsDynamicStyles){const a=new Set,r=s||{};if(t.styles.forEach(c=>{if(Fl(c)){const d=c;Object.keys(d).forEach(h=>{$h(d[h]).forEach(g=>{r.hasOwnProperty(g)||a.add(g)})})}}),a.size){const c=Ag(a.values());e.errors.push(`state("${o.name}", ...) must define default values for all the following style substitutions: ${c.join(", ")}`)}}return{type:0,name:o.name,style:t,options:s?{params:s}:null}}visitTransition(o,e){e.queryCount=0,e.depCount=0;const t=Ps(this,Zh(o.animation),e);return{type:1,matchers:Vm(o.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:Dr(o.options)}}visitSequence(o,e){return{type:2,steps:o.steps.map(t=>Ps(this,t,e)),options:Dr(o.options)}}visitGroup(o,e){const t=e.currentTime;let s=0;const a=o.steps.map(r=>{e.currentTime=t;const c=Ps(this,r,e);return s=Math.max(s,e.currentTime),c});return e.currentTime=s,{type:3,steps:a,options:Dr(o.options)}}visitAnimate(o,e){const t=function wC(n,o){let e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return vg(md(n,o).duration,0,"");const t=n;if(t.split(/\s+/).some(a=>"{"==a.charAt(0)&&"{"==a.charAt(1))){const a=vg(0,0,"");return a.dynamic=!0,a.strValue=t,a}return e=e||md(t,o),vg(e.duration,e.delay,e.easing)}(o.timings,e.errors);e.currentAnimateTimings=t;let s,a=o.styles?o.styles:qe({});if(5==a.type)s=this.visitKeyframes(a,e);else{let r=o.styles,c=!1;if(!r){c=!0;const h={};t.easing&&(h.easing=t.easing),r=qe(h)}e.currentTime+=t.duration+t.delay;const d=this.visitStyle(r,e);d.isEmptyStep=c,s=d}return e.currentAnimateTimings=null,{type:4,timings:t,style:s,options:null}}visitStyle(o,e){const t=this._makeStyleAst(o,e);return this._validateStyleAst(t,e),t}_makeStyleAst(o,e){const t=[];Array.isArray(o.styles)?o.styles.forEach(r=>{"string"==typeof r?r==ma?t.push(r):e.errors.push(`The provided style string value ${r} is not allowed.`):t.push(r)}):t.push(o.styles);let s=!1,a=null;return t.forEach(r=>{if(Fl(r)){const c=r,d=c.easing;if(d&&(a=d,delete c.easing),!s)for(let h in c)if(c[h].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:t,easing:a,offset:o.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(o,e){const t=e.currentAnimateTimings;let s=e.currentTime,a=e.currentTime;t&&a>0&&(a-=t.duration+t.delay),o.styles.forEach(r=>{"string"!=typeof r&&Object.keys(r).forEach(c=>{if(!this._driver.validateStyleProperty(c))return void e.errors.push(`The provided animation property "${c}" is not a supported CSS property for animations`);const d=e.collectedStyles[e.currentQuerySelector],h=d[c];let g=!0;h&&(a!=s&&a>=h.startTime&&s<=h.endTime&&(e.errors.push(`The CSS property "${c}" that exists between the times of "${h.startTime}ms" and "${h.endTime}ms" is also being animated in a parallel animation between the times of "${a}ms" and "${s}ms"`),g=!1),a=h.startTime),g&&(d[c]={startTime:a,endTime:s}),e.options&&function ww(n,o,e){const t=o.params||{},s=$h(n);s.length&&s.forEach(a=>{t.hasOwnProperty(a)||e.push(`Unable to resolve the local animation param ${a} in the given list of values`)})}(r[c],e.options,e.errors)})})}visitKeyframes(o,e){const t={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),t;let a=0;const r=[];let c=!1,d=!1,h=0;const g=o.steps.map(et=>{const Vt=this._makeStyleAst(et,e);let Bt=null!=Vt.offset?Vt.offset:function Qm(n){if("string"==typeof n)return null;let o=null;if(Array.isArray(n))n.forEach(e=>{if(Fl(e)&&e.hasOwnProperty("offset")){const t=e;o=parseFloat(t.offset),delete t.offset}});else if(Fl(n)&&n.hasOwnProperty("offset")){const e=n;o=parseFloat(e.offset),delete e.offset}return o}(Vt.styles),pi=0;return null!=Bt&&(a++,pi=Vt.offset=Bt),d=d||pi<0||pi>1,c=c||pi0&&a{const Bt=$>0?Vt==oe?1:$*Vt:r[Vt],pi=Bt*Le;e.currentTime=be+ve.delay+pi,ve.duration=pi,this._validateStyleAst(et,e),et.offset=Bt,t.styles.push(et)}),t}visitReference(o,e){return{type:8,animation:Ps(this,Zh(o.animation),e),options:Dr(o.options)}}visitAnimateChild(o,e){return e.depCount++,{type:9,options:Dr(o.options)}}visitAnimateRef(o,e){return{type:10,animation:this.visitReference(o.animation,e),options:Dr(o.options)}}visitQuery(o,e){const t=e.currentQuerySelector,s=o.options||{};e.queryCount++,e.currentQuery=o;const[a,r]=function $m(n){const o=!!n.split(/\s*,\s*/).find(e=>":self"==e);return o&&(n=n.replace(Tw,"")),n=n.replace(/@\*/g,gd).replace(/@\w+/g,e=>gd+"-"+e.substr(1)).replace(/:animating/g,_g),[n,o]}(o.selector);e.currentQuerySelector=t.length?t+" "+a:a,yi(e.collectedStyles,e.currentQuerySelector,{});const c=Ps(this,Zh(o.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:a,limit:s.limit||0,optional:!!s.optional,includeSelf:r,animation:c,originalSelector:o.selector,options:Dr(o.options)}}visitStagger(o,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===o.timings?{duration:0,delay:0,easing:"full"}:md(o.timings,e.errors,!0);return{type:12,animation:Ps(this,Zh(o.animation),e),timings:t,options:null}}}class Xm{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Fl(n){return!Array.isArray(n)&&"object"==typeof n}function Dr(n){return n?(n=Bl(n)).params&&(n.params=function Sw(n){return n?Bl(n):null}(n.params)):n={},n}function vg(n,o,e){return{duration:n,delay:o,easing:e}}function Jm(n,o,e,t,s,a,r=null,c=!1){return{type:1,element:n,keyframes:o,preStyleProps:e,postStyleProps:t,duration:s,delay:a,totalTime:s+a,easing:r,subTimeline:c}}class wa{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,e){let t=this._map.get(o);t||this._map.set(o,t=[]),t.push(...e)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Cg=new RegExp(":enter","g"),Sg=new RegExp(":leave","g");function bd(n,o,e,t,s,a={},r={},c,d,h=[]){return(new t_).buildKeyframes(n,o,e,t,s,a,r,c,d,h)}class t_{buildKeyframes(o,e,t,s,a,r,c,d,h,g=[]){h=h||new wa;const O=new kg(o,e,h,s,a,g,[]);O.options=d,O.currentTimeline.setStyles([r],null,O.errors,d),Ps(this,t,O);const $=O.timelines.filter(oe=>oe.containsAnimation());if(Object.keys(c).length){let oe;for(let be=$.length-1;be>=0;be--){const ve=$[be];if(ve.element===e){oe=ve;break}}oe&&!oe.allowOnlyTimelineStyles()&&oe.setStyles([c],null,O.errors,d)}return $.length?$.map(oe=>oe.buildKeyframes()):[Jm(e,[],[],[],0,0,"",!1)]}visitTrigger(o,e){}visitState(o,e){}visitTransition(o,e){}visitAnimateChild(o,e){const t=e.subInstructions.get(e.element);if(t){const s=e.createSubContext(o.options),a=e.currentTimeline.currentTime,r=this._visitSubInstructions(t,s,s.options);a!=r&&e.transformIntoNewTimeline(r)}e.previousNode=o}visitAnimateRef(o,e){const t=e.createSubContext(o.options);t.transformIntoNewTimeline(),this.visitReference(o.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=o}_visitSubInstructions(o,e,t){let a=e.currentTimeline.currentTime;const r=null!=t.duration?Aa(t.duration):null,c=null!=t.delay?Aa(t.delay):null;return 0!==r&&o.forEach(d=>{const h=e.appendInstructionToTimeline(d,r,c);a=Math.max(a,h.duration+h.delay)}),a}visitReference(o,e){e.updateOptions(o.options,!0),Ps(this,o.animation,e),e.previousNode=o}visitSequence(o,e){const t=e.subContextCount;let s=e;const a=o.options;if(a&&(a.params||a.delay)&&(s=e.createSubContext(a),s.transformIntoNewTimeline(),null!=a.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Eg);const r=Aa(a.delay);s.delayNextStep(r)}o.steps.length&&(o.steps.forEach(r=>Ps(this,r,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>t&&s.transformIntoNewTimeline()),e.previousNode=o}visitGroup(o,e){const t=[];let s=e.currentTimeline.currentTime;const a=o.options&&o.options.delay?Aa(o.options.delay):0;o.steps.forEach(r=>{const c=e.createSubContext(o.options);a&&c.delayNextStep(a),Ps(this,r,c),s=Math.max(s,c.currentTimeline.currentTime),t.push(c.currentTimeline)}),t.forEach(r=>e.currentTimeline.mergeTimelineCollectedStyles(r)),e.transformIntoNewTimeline(s),e.previousNode=o}_visitTiming(o,e){if(o.dynamic){const t=o.strValue;return md(e.params?Xh(t,e.params,e.errors):t,e.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,e){const t=e.currentAnimateTimings=this._visitTiming(o.timings,e),s=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),s.snapshotCurrentStyles());const a=o.style;5==a.type?this.visitKeyframes(a,e):(e.incrementTime(t.duration),this.visitStyle(a,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=o}visitStyle(o,e){const t=e.currentTimeline,s=e.currentAnimateTimings;!s&&t.getCurrentStyleProperties().length&&t.forwardFrame();const a=s&&s.easing||o.easing;o.isEmptyStep?t.applyEmptyStep(a):t.setStyles(o.styles,a,e.errors,e.options),e.previousNode=o}visitKeyframes(o,e){const t=e.currentAnimateTimings,s=e.currentTimeline.duration,a=t.duration,c=e.createSubContext().currentTimeline;c.easing=t.easing,o.styles.forEach(d=>{c.forwardTime((d.offset||0)*a),c.setStyles(d.styles,d.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(s+a),e.previousNode=o}visitQuery(o,e){const t=e.currentTimeline.currentTime,s=o.options||{},a=s.delay?Aa(s.delay):0;a&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Eg);let r=t;const c=e.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=c.length;let d=null;c.forEach((h,g)=>{e.currentQueryIndex=g;const O=e.createSubContext(o.options,h);a&&O.delayNextStep(a),h===e.element&&(d=O.currentTimeline),Ps(this,o.animation,O),O.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,O.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=o}visitStagger(o,e){const t=e.parentContext,s=e.currentTimeline,a=o.timings,r=Math.abs(a.duration),c=r*(e.currentQueryTotal-1);let d=r*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":d=c-d;break;case"full":d=t.currentStaggerTime}const g=e.currentTimeline;d&&g.delayNextStep(d);const O=g.currentTime;Ps(this,o.animation,e),e.previousNode=o,t.currentStaggerTime=s.currentTime-O+(s.startTime-t.currentTimeline.startTime)}}const Eg={};class kg{constructor(o,e,t,s,a,r,c,d){this._driver=o,this.element=e,this.subInstructions=t,this._enterClassName=s,this._leaveClassName=a,this.errors=r,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Eg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new ql(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,e){if(!o)return;const t=o;let s=this.options;null!=t.duration&&(s.duration=Aa(t.duration)),null!=t.delay&&(s.delay=Aa(t.delay));const a=t.params;if(a){let r=s.params;r||(r=this.options.params={}),Object.keys(a).forEach(c=>{(!e||!r.hasOwnProperty(c))&&(r[c]=Xh(a[c],r,this.errors))})}}_copyOptions(){const o={};if(this.options){const e=this.options.params;if(e){const t=o.params={};Object.keys(e).forEach(s=>{t[s]=e[s]})}}return o}createSubContext(o=null,e,t){const s=e||this.element,a=new kg(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,t||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(o),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(o){return this.previousNode=Eg,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,e,t){const s={duration:null!=e?e:o.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+o.delay,easing:""},a=new Dg(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,s,o.stretchStartingKeyframe);return this.timelines.push(a),s}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,e,t,s,a,r){let c=[];if(s&&c.push(this.element),o.length>0){o=(o=o.replace(Cg,"."+this._enterClassName)).replace(Sg,"."+this._leaveClassName);let h=this._driver.query(this.element,o,1!=t);0!==t&&(h=t<0?h.slice(h.length+t,h.length):h.slice(0,t)),c.push(...h)}return!a&&0==c.length&&r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),c}}class ql{constructor(o,e,t,s){this._driver=o,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+o),e&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,e){return this.applyStylesToKeyframe(),new ql(this._driver,o,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,e){this._localTimelineStyles[o]=e,this._globalTimelineStyles[o]=e,this._styleSummary[o]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&(this._previousKeyframe.easing=o),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||ma,this._currentKeyframe[e]=ma}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,e,t,s){e&&(this._previousKeyframe.easing=e);const a=s&&s.params||{},r=function i_(n,o){const e={};let t;return n.forEach(s=>{"*"===s?(t=t||Object.keys(o),t.forEach(a=>{e[a]=ma})):kr(s,!1,e)}),e}(o,this._globalTimelineStyles);Object.keys(r).forEach(c=>{const d=Xh(r[c],a,t);this._pendingStyles[c]=d,this._localTimelineStyles.hasOwnProperty(c)||(this._backFill[c]=this._globalTimelineStyles.hasOwnProperty(c)?this._globalTimelineStyles[c]:ma),this._updateStyle(c,d)})}applyStylesToKeyframe(){const o=this._pendingStyles,e=Object.keys(o);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=o[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(o=>{const e=this._localTimelineStyles[o];this._pendingStyles[o]=e,this._updateStyle(o,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let e in this._currentKeyframe)o.push(e);return o}mergeTimelineCollectedStyles(o){Object.keys(o._styleSummary).forEach(e=>{const t=this._styleSummary[e],s=o._styleSummary[e];(!t||s.time>t.time)&&this._updateStyle(e,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((c,d)=>{const h=kr(c,!0);Object.keys(h).forEach(g=>{const O=h[g];"!"==O?o.add(g):O==ma&&e.add(g)}),t||(h.offset=d/this.duration),s.push(h)});const a=o.size?Ag(o.values()):[],r=e.size?Ag(e.values()):[];if(t){const c=s[0],d=Bl(c);c.offset=0,d.offset=1,s=[c,d]}return Jm(this.element,s,a,r,this.duration,this.startTime,this.easing,!1)}}class Dg extends ql{constructor(o,e,t,s,a,r,c=!1){super(o,e,r.delay),this.keyframes=t,this.preStyleProps=s,this.postStyleProps=a,this._stretchStartingKeyframe=c,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:e,duration:t,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const a=[],r=t+e,c=e/r,d=kr(o[0],!1);d.offset=0,a.push(d);const h=kr(o[0],!1);h.offset=xg(c),a.push(h);const g=o.length-1;for(let O=1;O<=g;O++){let $=kr(o[O],!1);$.offset=xg((e+$.offset*t)/r),a.push($)}t=r,e=0,s="",o=a}return Jm(this.element,o,this.preStyleProps,this.postStyleProps,t,e,s,!0)}}function xg(n,o=3){const e=Math.pow(10,o-1);return Math.round(n*e)/e}class ef{}class Lg extends ef{normalizePropertyName(o,e){return Um(o)}normalizeStyleValue(o,e,t,s){let a="";const r=t.toString().trim();if(Rg[e]&&0!==t&&"0"!==t)if("number"==typeof t)a="px";else{const c=t.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&s.push(`Please provide a CSS unit value for ${o}:${t}`)}return r+a}}const Rg=(()=>function Dw(n){const o={};return n.forEach(e=>o[e]=!0),o}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Og(n,o,e,t,s,a,r,c,d,h,g,O,$){return{type:0,element:n,triggerName:o,isRemovalTransition:s,fromState:e,fromStyles:a,toState:t,toStyles:r,timelines:c,queriedElements:d,preStyleProps:h,postStyleProps:g,totalTime:O,errors:$}}const tf={};class nf{constructor(o,e,t){this._triggerName=o,this.ast=e,this._stateStyles=t}match(o,e,t,s){return function s_(n,o,e,t,s){return n.some(a=>a(o,e,t,s))}(this.ast.matchers,o,e,t,s)}buildStyles(o,e,t){const s=this._stateStyles["*"],a=this._stateStyles[o],r=s?s.buildStyles(e,t):{};return a?a.buildStyles(e,t):r}build(o,e,t,s,a,r,c,d,h,g){const O=[],$=this.ast.options&&this.ast.options.params||tf,be=this.buildStyles(t,c&&c.params||tf,O),ve=d&&d.params||tf,Le=this.buildStyles(s,ve,O),et=new Set,Vt=new Map,Bt=new Map,pi="void"===s,lu={params:Object.assign(Object.assign({},$),ve)},Fa=g?[]:bd(o,e,this.ast.animation,a,r,be,Le,lu,h,O);let Hs=0;if(Fa.forEach(tl=>{Hs=Math.max(tl.duration+tl.delay,Hs)}),O.length)return Og(e,this._triggerName,t,s,pi,be,Le,[],[],Vt,Bt,Hs,O);Fa.forEach(tl=>{const il=tl.element,Gk=yi(Vt,il,{});tl.preStyleProps.forEach(Wd=>Gk[Wd]=!0);const p1=yi(Bt,il,{});tl.postStyleProps.forEach(Wd=>p1[Wd]=!0),il!==e&&et.add(il)});const el=Ag(et.values());return Og(e,this._triggerName,t,s,pi,be,Le,Fa,el,Vt,Bt,Hs)}}class xw{constructor(o,e,t){this.styles=o,this.defaultParams=e,this.normalizer=t}buildStyles(o,e){const t={},s=Bl(this.defaultParams);return Object.keys(o).forEach(a=>{const r=o[a];null!=r&&(s[a]=r)}),this.styles.styles.forEach(a=>{if("string"!=typeof a){const r=a;Object.keys(r).forEach(c=>{let d=r[c];d.length>1&&(d=Xh(d,s,e));const h=this.normalizer.normalizePropertyName(c,e);d=this.normalizer.normalizeStyleValue(c,h,d,e),t[h]=d})}}),t}}class r_{constructor(o,e,t){this.name=o,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(s=>{this.states[s.name]=new xw(s.style,s.options&&s.options.params||{},t)}),yd(this.states,"true","1"),yd(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new nf(o,s,this.states))}),this.fallbackTransition=function Pg(n,o,e){return new nf(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(r,c)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,e,t,s){return this.transitionFactories.find(r=>r.match(o,e,t,s))||null}matchStyles(o,e,t){return this.fallbackTransition.buildStyles(o,e,t)}}function yd(n,o,e){n.hasOwnProperty(o)?n.hasOwnProperty(e)||(n[e]=n[o]):n.hasOwnProperty(e)&&(n[o]=n[e])}const zg=new wa;class a_{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(o,e){const t=[],s=Mg(this._driver,e,t);if(t.length)throw new Error(`Unable to build the animation due to the following errors: ${t.join("\n")}`);this._animations[o]=s}_buildPlayer(o,e,t){const s=o.element,a=Nm(0,this._normalizer,0,o.keyframes,e,t);return this._driver.animate(s,a,o.duration,o.delay,o.easing,[],!0)}create(o,e,t={}){const s=[],a=this._animations[o];let r;const c=new Map;if(a?(r=bd(this._driver,e,a,Kh,fd,{},{},t,zg,s),r.forEach(g=>{const O=yi(c,g.element,{});g.postStyleProps.forEach($=>O[$]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),r=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);c.forEach((g,O)=>{Object.keys(g).forEach($=>{g[$]=this._driver.computeStyle(O,$,ma)})});const h=ba(r.map(g=>{const O=c.get(g.element);return this._buildPlayer(g,{},O)}));return this._playersById[o]=h,h.onDestroy(()=>this.destroy(o)),this.players.push(h),h}destroy(o){const e=this._getPlayer(o);e.destroy(),delete this._playersById[o];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(o){const e=this._playersById[o];if(!e)throw new Error(`Unable to find the timeline player referenced by ${o}`);return e}listen(o,e,t,s){const a=Sc(e,"","","");return ud(this._getPlayer(o),t,a,s),()=>{}}command(o,e,t,s){if("register"==t)return void this.register(o,s[0]);if("create"==t)return void this.create(o,e,s[0]||{});const a=this._getPlayer(o);switch(t){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(o)}}}const Ig="ng-animate-queued",sf="ng-animate-disabled",MC=[],h_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Lw={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zs="__ng_removed";class Ng{constructor(o,e=""){this.namespaceId=e;const t=o&&o.hasOwnProperty("value");if(this.value=function f_(n){return null!=n?n:null}(t?o.value:o),t){const a=Bl(o);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const e=o.params;if(e){const t=this.options.params;Object.keys(e).forEach(s=>{null==t[s]&&(t[s]=e[s])})}}}const Ui="void",rf=new Ng(Ui);class Rw{constructor(o,e,t){this.id=o,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,eo(e,this._hostClassName)}listen(o,e,t,s){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${t}" because the animation trigger "${e}" doesn't exist!`);if(null==t||0==t.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function jl(n){return"start"==n||"done"==n}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const a=yi(this._elementListeners,o,[]),r={name:e,phase:t,callback:s};a.push(r);const c=yi(this._engine.statesByElement,o,{});return c.hasOwnProperty(e)||(eo(o,pd),eo(o,pd+"-"+e),c[e]=rf),()=>{this._engine.afterFlush(()=>{const d=a.indexOf(r);d>=0&&a.splice(d,1),this._triggers[e]||delete c[e]})}}register(o,e){return!this._triggers[o]&&(this._triggers[o]=e,!0)}_getTrigger(o){const e=this._triggers[o];if(!e)throw new Error(`The provided animation trigger "${o}" has not been registered!`);return e}trigger(o,e,t,s=!0){const a=this._getTrigger(e),r=new af(this.id,e,o);let c=this._engine.statesByElement.get(o);c||(eo(o,pd),eo(o,pd+"-"+e),this._engine.statesByElement.set(o,c={}));let d=c[e];const h=new Ng(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&d&&h.absorbOptions(d.options),c[e]=h,d||(d=rf),h.value!==Ui&&d.value===h.value){if(!function er(n,o){const e=Object.keys(n),t=Object.keys(o);if(e.length!=t.length)return!1;for(let s=0;s{Rc(o,Le),Jo(o,et)})}return}const $=yi(this._engine.playersByElement,o,[]);$.forEach(ve=>{ve.namespaceId==this.id&&ve.triggerName==e&&ve.queued&&ve.destroy()});let oe=a.matchTransition(d.value,h.value,o,h.params),be=!1;if(!oe){if(!s)return;oe=a.fallbackTransition,be=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:e,transition:oe,fromState:d,toState:h,player:r,isFallbackTransition:be}),be||(eo(o,Ig),r.onStart(()=>{zc(o,Ig)})),r.onDone(()=>{let ve=this.players.indexOf(r);ve>=0&&this.players.splice(ve,1);const Le=this._engine.playersByElement.get(o);if(Le){let et=Le.indexOf(r);et>=0&&Le.splice(et,1)}}),this.players.push(r),$.push(r),r}deregister(o){delete this._triggers[o],this._engine.statesByElement.forEach((e,t)=>{delete e[o]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(s=>s.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const e=this._engine.playersByElement.get(o);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,e){const t=this._engine.driver.query(o,gd,!0);t.forEach(s=>{if(s[zs])return;const a=this._engine.fetchNamespacesByElement(s);a.size?a.forEach(r=>r.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(o,e,t,s){const a=this._engine.statesByElement.get(o),r=new Map;if(a){const c=[];if(Object.keys(a).forEach(d=>{if(r.set(d,a[d].value),this._triggers[d]){const h=this.trigger(o,d,Ui,s);h&&c.push(h)}}),c.length)return this._engine.markElementAsRemoved(this.id,o,!0,e,r),t&&ba(c).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const e=this._elementListeners.get(o),t=this._engine.statesByElement.get(o);if(e&&t){const s=new Set;e.forEach(a=>{const r=a.name;if(s.has(r))return;s.add(r);const d=this._triggers[r].fallbackTransition,h=t[r]||rf,g=new Ng(Ui),O=new af(this.id,r,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:r,transition:d,fromState:h,toState:g,player:O,isFallbackTransition:!0})})}}removeNode(o,e){const t=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,e),this.triggerLeaveAnimation(o,e,!0))return;let s=!1;if(t.totalAnimations){const a=t.players.length?t.playersByQueriedElement.get(o):[];if(a&&a.length)s=!0;else{let r=o;for(;r=r.parentNode;)if(t.statesByElement.get(r)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(o),s)t.markElementAsRemoved(this.id,o,!1,e);else{const a=o[zs];(!a||a===h_)&&(t.afterFlush(()=>this.clearElementCache(o)),t.destroyInnerAnimations(o),t._onRemovalComplete(o,e))}}insertNode(o,e){eo(o,this._hostClassName)}drainQueuedTransitions(o){const e=[];return this._queue.forEach(t=>{const s=t.player;if(s.destroyed)return;const a=t.element,r=this._elementListeners.get(a);r&&r.forEach(c=>{if(c.name==t.triggerName){const d=Sc(a,t.triggerName,t.fromState.value,t.toState.value);d._data=o,ud(t.player,c.phase,d,c.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(t)}),this._queue=[],e.sort((t,s)=>{const a=t.transition.ast.depCount,r=s.transition.ast.depCount;return 0==a||0==r?a-r:this._engine.driver.containsElement(t.element,s.element)?1:-1})}destroy(o){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let e=!1;return this._elementListeners.has(o)&&(e=!0),e=!!this._queue.find(t=>t.element===o)||e,e}}class Ow{constructor(o,e,t){this.bodyNode=o,this.driver=e,this._normalizer=t,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(s,a)=>{}}_onRemovalComplete(o,e){this.onRemovalComplete(o,e)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&o.push(t)})}),o}createNamespace(o,e){const t=new Rw(o,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[o]=t}_balanceNamespaceList(o,e){const t=this._namespaceList.length-1;if(t>=0){let s=!1;for(let a=t;a>=0;a--)if(this.driver.containsElement(this._namespaceList[a].hostElement,e)){this._namespaceList.splice(a+1,0,o),s=!0;break}s||this._namespaceList.splice(0,0,o)}else this._namespaceList.push(o);return this.namespacesByHostElement.set(e,o),o}register(o,e){let t=this._namespaceLookup[o];return t||(t=this.createNamespace(o,e)),t}registerTrigger(o,e,t){let s=this._namespaceLookup[o];s&&s.register(e,t)&&this.totalAnimations++}destroy(o,e){if(!o)return;const t=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[o];const s=this._namespaceList.indexOf(t);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const e=new Set,t=this.statesByElement.get(o);if(t){const s=Object.keys(t);for(let a=0;a=0&&this.collectedLeaveElements.splice(r,1)}if(o){const r=this._fetchNamespace(o);r&&r.insertNode(e,t)}s&&this.collectEnterElement(e)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,e){e?this.disabledNodes.has(o)||(this.disabledNodes.add(o),eo(o,sf)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),zc(o,sf))}removeNode(o,e,t,s){if(Ad(e)){const a=o?this._fetchNamespace(o):null;if(a?a.removeNode(e,s):this.markElementAsRemoved(o,e,!1,s),t){const r=this.namespacesByHostElement.get(e);r&&r.id!==o&&r.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(o,e,t,s,a){this.collectedLeaveElements.push(e),e[zs]={namespaceId:o,setForRemoval:s,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:a}}listen(o,e,t,s,a){return Ad(e)?this._fetchNamespace(o).listen(e,t,s,a):()=>{}}_buildInstruction(o,e,t,s,a){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,t,s,o.fromState.options,o.toState.options,e,a)}destroyInnerAnimations(o){let e=this.driver.query(o,gd,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(o,_g,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(o){const e=this.playersByElement.get(o);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(o){const e=this.playersByQueriedElement.get(o);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return ba(this.players).onDone(()=>o());o()})}processLeaveNode(o){var e;const t=o[zs];if(t&&t.setForRemoval){if(o[zs]=h_,t.namespaceId){this.destroyInnerAnimations(o);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(o)}this._onRemovalComplete(o,t.setForRemoval)}(null===(e=o.classList)||void 0===e?void 0:e.contains(sf))&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(o=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,s)=>this._balanceNamespaceList(t,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?ba(e).onDone(()=>{t.forEach(s=>s())}):t.forEach(s=>s())}}reportError(o){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${o.join("\n")}`)}_flushAnimations(o,e){const t=new wa,s=[],a=new Map,r=[],c=new Map,d=new Map,h=new Map,g=new Set;this.disabledNodes.forEach(st=>{g.add(st);const ht=this.driver.query(st,".ng-animate-queued",!0);for(let _t=0;_t{const _t=Kh+ve++;be.set(ht,_t),st.forEach(ri=>eo(ri,_t))});const Le=[],et=new Set,Vt=new Set;for(let st=0;stet.add(ri)):Vt.add(ht))}const Bt=new Map,pi=Hg($,Array.from(et));pi.forEach((st,ht)=>{const _t=fd+ve++;Bt.set(ht,_t),st.forEach(ri=>eo(ri,_t))}),o.push(()=>{oe.forEach((st,ht)=>{const _t=be.get(ht);st.forEach(ri=>zc(ri,_t))}),pi.forEach((st,ht)=>{const _t=Bt.get(ht);st.forEach(ri=>zc(ri,_t))}),Le.forEach(st=>{this.processLeaveNode(st)})});const lu=[],Fa=[];for(let st=this._namespaceList.length-1;st>=0;st--)this._namespaceList[st].drainQueuedTransitions(e).forEach(_t=>{const ri=_t.player,ts=_t.element;if(lu.push(ri),this.collectedEnterElements.length){const Bs=ts[zs];if(Bs&&Bs.setForMove){if(Bs.previousTriggersValues&&Bs.previousTriggersValues.has(_t.triggerName)){const Kd=Bs.previousTriggersValues.get(_t.triggerName),du=this.statesByElement.get(_t.element);du&&du[_t.triggerName]&&(du[_t.triggerName].value=Kd)}return void ri.destroy()}}const qa=!O||!this.driver.containsElement(O,ts),Po=Bt.get(ts),uu=be.get(ts),fn=this._buildInstruction(_t,t,uu,Po,qa);if(fn.errors&&fn.errors.length)return void Fa.push(fn);if(qa)return ri.onStart(()=>Rc(ts,fn.fromStyles)),ri.onDestroy(()=>Jo(ts,fn.toStyles)),void s.push(ri);if(_t.isFallbackTransition)return ri.onStart(()=>Rc(ts,fn.fromStyles)),ri.onDestroy(()=>Jo(ts,fn.toStyles)),void s.push(ri);const Kk=[];fn.timelines.forEach(Bs=>{Bs.stretchStartingKeyframe=!0,this.disabledNodes.has(Bs.element)||Kk.push(Bs)}),fn.timelines=Kk,t.append(ts,fn.timelines),r.push({instruction:fn,player:ri,element:ts}),fn.queriedElements.forEach(Bs=>yi(c,Bs,[]).push(ri)),fn.preStyleProps.forEach((Bs,Kd)=>{const du=Object.keys(Bs);if(du.length){let Zd=d.get(Kd);Zd||d.set(Kd,Zd=new Set),du.forEach(mT=>Zd.add(mT))}}),fn.postStyleProps.forEach((Bs,Kd)=>{const du=Object.keys(Bs);let Zd=h.get(Kd);Zd||h.set(Kd,Zd=new Set),du.forEach(mT=>Zd.add(mT))})});if(Fa.length){const st=[];Fa.forEach(ht=>{st.push(`@${ht.triggerName} has failed due to:\n`),ht.errors.forEach(_t=>st.push(`- ${_t}\n`))}),lu.forEach(ht=>ht.destroy()),this.reportError(st)}const Hs=new Map,el=new Map;r.forEach(st=>{const ht=st.element;t.has(ht)&&(el.set(ht,ht),this._beforeAnimationBuild(st.player.namespaceId,st.instruction,Hs))}),s.forEach(st=>{const ht=st.element;this._getPreviousPlayers(ht,!1,st.namespaceId,st.triggerName,null).forEach(ri=>{yi(Hs,ht,[]).push(ri),ri.destroy()})});const tl=Le.filter(st=>m_(st,d,h)),il=new Map;g_(il,this.driver,Vt,h,ma).forEach(st=>{m_(st,d,h)&&tl.push(st)});const p1=new Map;oe.forEach((st,ht)=>{g_(p1,this.driver,new Set(st),d,"!")}),tl.forEach(st=>{const ht=il.get(st),_t=p1.get(st);il.set(st,Object.assign(Object.assign({},ht),_t))});const Wd=[],Vk=[],Wk={};r.forEach(st=>{const{element:ht,player:_t,instruction:ri}=st;if(t.has(ht)){if(g.has(ht))return _t.onDestroy(()=>Jo(ht,ri.toStyles)),_t.disabled=!0,_t.overrideTotalTime(ri.totalTime),void s.push(_t);let ts=Wk;if(el.size>1){let Po=ht;const uu=[];for(;Po=Po.parentNode;){const fn=el.get(Po);if(fn){ts=fn;break}uu.push(Po)}uu.forEach(fn=>el.set(fn,ts))}const qa=this._buildAnimation(_t.namespaceId,ri,Hs,a,p1,il);if(_t.setRealPlayer(qa),ts===Wk)Wd.push(_t);else{const Po=this.playersByElement.get(ts);Po&&Po.length&&(_t.parentPlayer=ba(Po)),s.push(_t)}}else Rc(ht,ri.fromStyles),_t.onDestroy(()=>Jo(ht,ri.toStyles)),Vk.push(_t),g.has(ht)&&s.push(_t)}),Vk.forEach(st=>{const ht=a.get(st.element);if(ht&&ht.length){const _t=ba(ht);st.setRealPlayer(_t)}}),s.forEach(st=>{st.parentPlayer?st.syncPlayerEvents(st.parentPlayer):st.destroy()});for(let st=0;st!qa.destroyed);ts.length?vC(this,ht,ts):this.processLeaveNode(ht)}return Le.length=0,Wd.forEach(st=>{this.players.push(st),st.onDone(()=>{st.destroy();const ht=this.players.indexOf(st);this.players.splice(ht,1)}),st.play()}),Wd}elementContainsData(o,e){let t=!1;const s=e[zs];return s&&s.setForRemoval&&(t=!0),this.playersByElement.has(e)&&(t=!0),this.playersByQueriedElement.has(e)&&(t=!0),this.statesByElement.has(e)&&(t=!0),this._fetchNamespace(o).elementContainsData(e)||t}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,e,t,s,a){let r=[];if(e){const c=this.playersByQueriedElement.get(o);c&&(r=c)}else{const c=this.playersByElement.get(o);if(c){const d=!a||a==Ui;c.forEach(h=>{h.queued||!d&&h.triggerName!=s||r.push(h)})}}return(t||s)&&(r=r.filter(c=>!(t&&t!=c.namespaceId||s&&s!=c.triggerName))),r}_beforeAnimationBuild(o,e,t){const a=e.element,r=e.isRemovalTransition?void 0:o,c=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const h=d.element,g=h!==a,O=yi(t,h,[]);this._getPreviousPlayers(h,g,r,c,e.toState).forEach(oe=>{const be=oe.getRealPlayer();be.beforeDestroy&&be.beforeDestroy(),oe.destroy(),O.push(oe)})}Rc(a,e.fromStyles)}_buildAnimation(o,e,t,s,a,r){const c=e.triggerName,d=e.element,h=[],g=new Set,O=new Set,$=e.timelines.map(be=>{const ve=be.element;g.add(ve);const Le=ve[zs];if(Le&&Le.removedBeforeQueried)return new cd(be.duration,be.delay);const et=ve!==d,Vt=function Bg(n){const o=[];return cf(n,o),o}((t.get(ve)||MC).map(Hs=>Hs.getRealPlayer())).filter(Hs=>!!Hs.element&&Hs.element===ve),Bt=a.get(ve),pi=r.get(ve),lu=Nm(0,this._normalizer,0,be.keyframes,Bt,pi),Fa=this._buildPlayer(be,lu,Vt);if(be.subTimeline&&s&&O.add(ve),et){const Hs=new af(o,c,ve);Hs.setRealPlayer(Fa),h.push(Hs)}return Fa});h.forEach(be=>{yi(this.playersByQueriedElement,be.element,[]).push(be),be.onDone(()=>function Pw(n,o,e){let t;if(n instanceof Map){if(t=n.get(o),t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&n.delete(o)}}else if(t=n[o],t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&delete n[o]}return t}(this.playersByQueriedElement,be.element,be))}),g.forEach(be=>eo(be,mg));const oe=ba($);return oe.onDestroy(()=>{g.forEach(be=>zc(be,mg)),Jo(d,e.toStyles)}),O.forEach(be=>{yi(s,be,[]).push(oe)}),oe}_buildPlayer(o,e,t){return e.length>0?this.driver.animate(o.element,e,o.duration,o.delay,o.easing,t):new cd(o.duration,o.delay)}}class af{constructor(o,e,t){this.namespaceId=o,this.triggerName=e,this.element=t,this._player=new cd,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>ud(o,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const e=this._player;e.triggerCallback&&o.onStart(()=>e.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,e){yi(this._queuedCallbacks,o,[]).push(e)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const e=this._player;e.triggerCallback&&e.triggerCallback(o)}}function Ad(n){return n&&1===n.nodeType}function p_(n,o){const e=n.style.display;return n.style.display=null!=o?o:"none",e}function g_(n,o,e,t,s){const a=[];e.forEach(d=>a.push(p_(d)));const r=[];t.forEach((d,h)=>{const g={};d.forEach(O=>{const $=g[O]=o.computeStyle(h,O,s);(!$||0==$.length)&&(h[zs]=Lw,r.push(h))}),n.set(h,g)});let c=0;return e.forEach(d=>p_(d,a[c++])),r}function Hg(n,o){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==o.length)return e;const s=new Set(o),a=new Map;function r(c){if(!c)return 1;let d=a.get(c);if(d)return d;const h=c.parentNode;return d=e.has(h)?h:s.has(h)?1:r(h),a.set(c,d),d}return o.forEach(c=>{const d=r(c);1!==d&&e.get(d).push(c)}),e}function eo(n,o){var e;null===(e=n.classList)||void 0===e||e.add(o)}function zc(n,o){var e;null===(e=n.classList)||void 0===e||e.remove(o)}function vC(n,o,e){ba(e).onDone(()=>n.processLeaveNode(o))}function cf(n,o){for(let e=0;es.add(a)):o.set(n,t),e.delete(n),!0}class wd{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(s,a)=>{},this._transitionEngine=new Ow(o,e,t),this._timelineEngine=new a_(o,e,t),this._transitionEngine.onRemovalComplete=(s,a)=>this.onRemovalComplete(s,a)}registerTrigger(o,e,t,s,a){const r=o+"-"+s;let c=this._triggerCache[r];if(!c){const d=[],h=Mg(this._driver,a,d);if(d.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${d.join("\n - ")}`);c=function o_(n,o,e){return new r_(n,o,e)}(s,h,this._normalizer),this._triggerCache[r]=c}this._transitionEngine.registerTrigger(e,s,c)}register(o,e){this._transitionEngine.register(o,e)}destroy(o,e){this._transitionEngine.destroy(o,e)}onInsert(o,e,t,s){this._transitionEngine.insertNode(o,e,t,s)}onRemove(o,e,t,s){this._transitionEngine.removeNode(o,e,s||!1,t)}disableAnimations(o,e){this._transitionEngine.markElementAsDisabled(o,e)}process(o,e,t,s){if("@"==t.charAt(0)){const[a,r]=ya(t);this._timelineEngine.command(a,e,r,s)}else this._transitionEngine.trigger(o,e,t,s)}listen(o,e,t,s,a){if("@"==t.charAt(0)){const[r,c]=ya(t);return this._timelineEngine.listen(r,e,c,a)}return this._transitionEngine.listen(o,e,t,s,a)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ko=(()=>{class n{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let a=n.initialStylesByElement.get(e);a||n.initialStylesByElement.set(e,a={}),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&Jo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Jo(this._element,this._initialStyles),this._endStyles&&(Jo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Rc(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Rc(this._element,this._endStyles),this._endStyles=null),Jo(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Is(n){let o=null;const e=Object.keys(n);for(let t=0;to()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(o,e,t){return o.animate(e,t)}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(o[t]=this._finished?e[t]:Oc(this.element,t))})}this.currentSnapshot=o}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class zw{validateStyleProperty(o){return kc(o)}matchesElement(o,e){return!1}containsElement(o,e){return Dc(o,e)}query(o,e,t){return xc(o,e,t)}computeStyle(o,e,t){return window.getComputedStyle(o)[e]}animate(o,e,t,s,a,r=[]){const d={duration:t,delay:s,fill:0==s?"both":"forwards"};a&&(d.easing=a);const h={},g=r.filter($=>$ instanceof Fg);(function Gm(n,o){return 0===n||0===o})(t,s)&&g.forEach($=>{let oe=$.currentSnapshot;Object.keys(oe).forEach(be=>h[be]=oe[be])}),e=function AC(n,o,e){const t=Object.keys(e);if(t.length&&o.length){let a=o[0],r=[];if(t.forEach(c=>{a.hasOwnProperty(c)||r.push(c),a[c]=e[c]}),r.length)for(var s=1;skr($,!1)),h);const O=function tr(n,o){let e=null,t=null;return Array.isArray(o)&&o.length?(e=Is(o[0]),o.length>1&&(t=Is(o[o.length-1]))):o&&(e=Is(o)),e||t?new ko(n,e,t):null}(o,e);return new Fg(o,e,d,O)}}let Iw=(()=>{class n extends Xs{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(e)?Om(e):e;return lf(this._renderer,null,t,"register",[s]),new Nw(t,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Nw extends class mC{}{constructor(o,e){super(),this._id=o,this._renderer=e}create(o,e){return new Hw(this._id,o,e||{},this._renderer)}}class Hw{constructor(o,e,t,s){this.id=o,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(o,e){return this._renderer.listen(this.element,`@@${this.id}:${o}`,e)}_command(o,...e){return lf(this._renderer,this.element,this.id,o,e)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(o){this._command("setPosition",o)}getPosition(){var o,e;return null!==(e=null===(o=this._renderer.engine.players[+this.id])||void 0===o?void 0:o.getPosition())&&void 0!==e?e:0}}function lf(n,o,e,t,s){return n.setProperty(o,`@@${e}:${t}`,s)}const b_="@.disabled";let y_=(()=>{class n{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(a,r)=>{const c=null==r?void 0:r.parentNode(a);c&&r.removeChild(c,a)}}createRenderer(e,t){const a=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let g=this._rendererCache.get(a);return g||(g=new A_("",a,this.engine),this._rendererCache.set(a,g)),g}const r=t.id,c=t.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const d=g=>{Array.isArray(g)?g.forEach(d):this.engine.registerTrigger(r,c,e,g.name,g)};return t.data.animation.forEach(d),new w_(this,c,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){e>=0&&et(s)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(a=>{const[r,c]=a;r(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,s]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(wd),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class A_{constructor(o,e,t){this.namespaceId=o,this.delegate=e,this.engine=t,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(o,e){return this.delegate.createElement(o,e)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,e){this.delegate.appendChild(o,e),this.engine.onInsert(this.namespaceId,e,o,!1)}insertBefore(o,e,t,s=!0){this.delegate.insertBefore(o,e,t),this.engine.onInsert(this.namespaceId,e,o,s)}removeChild(o,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(o,e){return this.delegate.selectRootElement(o,e)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,e,t,s){this.delegate.setAttribute(o,e,t,s)}removeAttribute(o,e,t){this.delegate.removeAttribute(o,e,t)}addClass(o,e){this.delegate.addClass(o,e)}removeClass(o,e){this.delegate.removeClass(o,e)}setStyle(o,e,t,s){this.delegate.setStyle(o,e,t,s)}removeStyle(o,e,t){this.delegate.removeStyle(o,e,t)}setProperty(o,e,t){"@"==e.charAt(0)&&e==b_?this.disableAnimations(o,!!t):this.delegate.setProperty(o,e,t)}setValue(o,e){this.delegate.setValue(o,e)}listen(o,e,t){return this.delegate.listen(o,e,t)}disableAnimations(o,e){this.engine.disableAnimations(o,e)}}class w_ extends A_{constructor(o,e,t,s){super(e,t,s),this.factory=o,this.namespaceId=e}setProperty(o,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==b_?this.disableAnimations(o,t=void 0===t||!!t):this.engine.process(this.namespaceId,o,e.substr(1),t):this.delegate.setProperty(o,e,t)}listen(o,e,t){if("@"==e.charAt(0)){const s=function M_(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(o);let a=e.substr(1),r="";return"@"!=a.charAt(0)&&([a,r]=function uf(n){const o=n.indexOf(".");return[n.substring(0,o),n.substr(o+1)]}(a)),this.engine.listen(this.namespaceId,s,a,r,c=>{this.factory.scheduleListenerCallback(c._data||-1,t,c)})}return this.delegate.listen(o,e,t)}}let Bw=(()=>{class n extends wd{constructor(e,t,s){super(e.body,t,s)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(hd),i.LFG(ef))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Bn=new i.OlP("AnimationModuleType"),Md=[{provide:Xs,useClass:Iw},{provide:ef,useFactory:function v_(){return new Lg}},{provide:wd,useClass:Bw},{provide:i.FYo,useFactory:function T_(n,o,e){return new y_(n,o,e)},deps:[Re,wd,i.R0b]}],df=[{provide:hd,useFactory:()=>new zw},{provide:Bn,useValue:"BrowserAnimations"},...Md],C_=[{provide:hd,useClass:Lc},{provide:Bn,useValue:"NoopAnimations"},...Md];let S_=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?C_:df}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:df,imports:[le]}),n})();function k_(n,o){if(1&n&&i._UZ(0,"mat-pseudo-checkbox",4),2&n){const e=i.oxw();i.Q6J("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function D_(n,o){if(1&n&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij("(",e.group.label,")")}}const x_=["*"];let jw=(()=>{class n{}return n.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",n.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",n.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",n.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",n})(),Yw=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const Gw=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function Uw(){return!0}});let gt=(()=>{class n{constructor(e,t,s){this._sanityChecks=t,this._document=s,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Zu()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fg),i.LFG(Gw,8),i.LFG(b.K0))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El],El]}),n})();function ir(n){return class extends n{constructor(...o){super(...o),this._disabled=!1}get disabled(){return this._disabled}set disabled(o){this._disabled=je(o)}}}function va(n,o){return class extends n{constructor(...e){super(...e),this.defaultColor=o,this.color=o}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}}}function to(n){return class extends n{constructor(...o){super(...o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(o){this._disableRipple=je(o)}}}function Ic(n,o=0){return class extends n{constructor(...e){super(...e),this._tabIndex=o,this.defaultTabIndex=o}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?on(e):this.defaultTabIndex}}}function qg(n){return class extends n{constructor(...o){super(...o),this.stateChanges=new De.xQ,this.errorState=!1}updateErrorState(){const o=this.errorState,a=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);a!==o&&(this.errorState=a,this.stateChanges.next())}}}function R_(n){return class extends n{constructor(...o){super(...o),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Fi.y(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(o){o.next(),o.complete()}}}const Vw=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Ww(){return(0,i.f3M)(i.soG)}});class Do{constructor(){this._localeChanges=new De.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(o){return this.isDateInstance(o)&&this.isValid(o)?o:null}deserialize(o){return null==o||this.isDateInstance(o)&&this.isValid(o)?o:this.invalid()}setLocale(o){this.locale=o,this._localeChanges.next()}compareDate(o,e){return this.getYear(o)-this.getYear(e)||this.getMonth(o)-this.getMonth(e)||this.getDate(o)-this.getDate(e)}sameDate(o,e){if(o&&e){let t=this.isValid(o),s=this.isValid(e);return t&&s?!this.compareDate(o,e):t==s}return o==e}clampDate(o,e,t){return e&&this.compareDate(o,e)<0?e:t&&this.compareDate(o,t)>0?t:o}}const hf=new i.OlP("mat-date-formats"),O_=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ff(n,o){const e=Array(n);for(let t=0;t{class n extends Do{constructor(e,t){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return ff(12,s=>this._format(t,new Date(2017,s,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ff(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return ff(7,s=>this._format(t,new Date(2017,0,s+1)))}getYearName(e){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,s){let a=this._createDateWithOverflow(e,t,s);return a.getMonth(),a}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const s=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},t),{timeZone:"utc"}));return this._format(s,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let s=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(s)!=((this.getMonth(e)+t)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(O_.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,s){const a=new Date;return a.setFullYear(e,t,s),a.setHours(0,0,0,0),a}_2digit(e){return("00"+e).slice(-2)}_format(e,t){const s=new Date;return s.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),s.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(s)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Vw,8),i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Nc=(()=>{class n{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),pf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),n})();function vd(n,o,e){n.nativeElement.classList.toggle(o,e)}let z_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})();class Yl{constructor(o,e,t){this._renderer=o,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Qw={enterDuration:225,exitDuration:150},I_=Ko({passive:!0}),Yg=["mousedown","touchstart"],Ug=["mouseup","mouseleave","touchend","touchcancel"];class Jw{constructor(o,e,t,s){this._target=o,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=oi(t))}fadeInRipple(o,e,t={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},Qw),t.animation);t.centered&&(o=s.left+s.width/2,e=s.top+s.height/2);const r=t.radius||function eM(n,o,e){const t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),s=Math.max(Math.abs(o-e.top),Math.abs(o-e.bottom));return Math.sqrt(t*t+s*s)}(o,e,s),c=o-s.left,d=e-s.top,h=a.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=c-r+"px",g.style.top=d-r+"px",g.style.height=2*r+"px",g.style.width=2*r+"px",null!=t.color&&(g.style.backgroundColor=t.color),g.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(g),function ut(n){window.getComputedStyle(n).getPropertyValue("opacity")}(g),g.style.transform="scale(1)";const O=new Yl(this,g,t);return O.state=0,this._activeRipples.add(O),t.persistent||(this._mostRecentTransientRipple=O),this._runTimeoutOutsideZone(()=>{const $=O===this._mostRecentTransientRipple;O.state=1,!t.persistent&&(!$||!this._isPointerDown)&&O.fadeOut()},h),O}fadeOutRipple(o){const e=this._activeRipples.delete(o);if(o===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=o.element,s=Object.assign(Object.assign({},Qw),o.config.animation);t.style.transitionDuration=`${s.exitDuration}ms`,t.style.opacity="0",o.state=2,this._runTimeoutOutsideZone(()=>{o.state=3,t.remove()},s.exitDuration)}fadeOutAll(){this._activeRipples.forEach(o=>o.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(o=>{o.config.persistent||o.fadeOut()})}setupTriggerEvents(o){const e=oi(o);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Yg))}handleEvent(o){"mousedown"===o.type?this._onMousedown(o):"touchstart"===o.type?this._onTouchStart(o):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Ug),this._pointerUpEventsRegistered=!0)}_onMousedown(o){const e=Pl(o),t=this._lastTouchStartEvent&&Date.now(){!o.config.persistent&&(1===o.state||o.config.terminateOnPointerUp&&0===o.state)&&o.fadeOut()}))}_runTimeoutOutsideZone(o,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(o,e))}_registerEvents(o){this._ngZone.runOutsideAngular(()=>{o.forEach(e=>{this._triggerElement.addEventListener(e,this,I_)})})}_removeTriggerEvents(){this._triggerElement&&(Yg.forEach(o=>{this._triggerElement.removeEventListener(o,this,I_)}),this._pointerUpEventsRegistered&&Ug.forEach(o=>{this._triggerElement.removeEventListener(o,this,I_)}))}}const N_=new i.OlP("mat-ripple-global-options");let Ns=(()=>{class n{constructor(e,t,s,a,r){this._elementRef=e,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new Jw(this,t,e,s)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,s){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),s)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(Ei),i.Y36(N_,8),i.Y36(Bn,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),io=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt,vl],gt]}),n})(),H_=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Bn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),n})(),Ul=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt]]}),n})();const Gl=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),Gg=new i.OlP("MatOptgroup");let B_=0;class Vg{constructor(o,e=!1){this.source=o,this.isUserInput=e}}let F_=(()=>{class n{constructor(e,t,s,a){this._element=e,this._changeDetectorRef=t,this._parent=s,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+B_++,this.onSelectionChange=new i.vpe,this._stateChanges=new De.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=je(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const s=this._getHostElement();"function"==typeof s.focus&&s.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!cn(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Vg(this,e))}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),Ca=(()=>{class n extends F_{constructor(e,t,s,a){super(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Gl,8),i.Y36(Gg,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._selectViaInteraction()})("keydown",function(a){return t._handleKeydown(a)}),2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),i.ekj("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:x_,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,k_,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,D_,2,1,"span",2),i._UZ(4,"div",3)),2&e&&(i.Q6J("ngIf",t.multiple),i.xp6(3),i.Q6J("ngIf",t.group&&t.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[H_,b.O5,Ns],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n})();function Wg(n,o,e){if(e.length){let t=o.toArray(),s=e.toArray(),a=0;for(let r=0;re+t?Math.max(0,n-t+o):e}let Td=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[io,b.ez,gt,Ul]]}),n})();function Cd(n,o){}class gf{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const iM={dialogContainer:Ti("dialogContainer",[ii("void, exit",qe({opacity:0,transform:"scale(0.7)"})),ii("enter",qe({transform:"none"})),Ht("* => enter",Ct("150ms cubic-bezier(0, 0, 0.2, 1)",qe({transform:"none",opacity:1}))),Ht("* => void, * => exit",Ct("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",qe({opacity:0})))])};let mf=(()=>{class n extends pa{constructor(e,t,s,a,r,c,d,h){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=s,this._config=r,this._interactivityChecker=c,this._ngZone=d,this._focusMonitor=h,this._animationStateChanged=new i.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=g=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(g)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=a}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,t)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{t||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=Yp(),s=this._elementRef.nativeElement;(!t||t===this._document.body||t===s||s.contains(t))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=Yp())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=Yp();return e===t||e.contains(t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(km),i.Y36(i.sBO),i.Y36(b.K0,8),i.Y36(gf),i.Y36(Tc),i.Y36(i.R0b),i.Y36(So))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(Up,7),2&e){let s;i.iGM(s=i.CRH())&&(t._portalOutlet=s.first)}},features:[i.qOj]}),n})(),j_=(()=>{class n extends mf{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&i.WFA("@dialogContainer.start",function(a){return t._onAnimationStart(a)})("@dialogContainer.done",function(a){return t._onAnimationDone(a)}),2&e&&(i.Ikx("id",t._id),i.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),i.d8E("@dialogContainer",t._state))},features:[i.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&i.YNc(0,Cd,0,0,"ng-template",0)},directives:[Up],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[iM.dialogContainer]}}),n})(),Y_=0;class zi{constructor(o,e,t="mat-dialog-"+Y_++){this._overlayRef=o,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new De.xQ,this._afterClosed=new De.xQ,this._beforeClosed=new De.xQ,this._state=0,e._id=t,e._animationStateChanged.pipe((0,qt.h)(s=>"opened"===s.state),(0,$t.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,qt.h)(s=>"closed"===s.state),(0,$t.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),o.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),o.keydownEvents().pipe((0,qt.h)(s=>27===s.keyCode&&!this.disableClose&&!cn(s))).subscribe(s=>{s.preventDefault(),U_(this,"keyboard")}),o.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():U_(this,"mouse")})}close(o){this._result=o,this._containerInstance._animationStateChanged.pipe((0,qt.h)(e=>"closing"===e.state),(0,$t.q)(1)).subscribe(e=>{this._beforeClosed.next(o),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(o){let e=this._getPositionStrategy();return o&&(o.left||o.right)?o.left?e.left(o.left):e.right(o.right):e.centerHorizontally(),o&&(o.top||o.bottom)?o.top?e.top(o.top):e.bottom(o.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(o="",e=""){return this._overlayRef.updateSize({width:o,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(o){return this._overlayRef.addPanelClass(o),this}removePanelClass(o){return this._overlayRef.removePanelClass(o),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function U_(n,o,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=o),n.close(e)}const Xi=new i.OlP("MatDialogData"),Sd=new i.OlP("mat-dialog-default-options"),G_=new i.OlP("mat-dialog-scroll-strategy"),V_={provide:G_,deps:[$i],useFactory:function nM(n){return()=>n.scrollStrategies.block()}};let W_=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O){this._overlay=e,this._injector=t,this._defaultOptions=s,this._parentDialog=a,this._overlayContainer=r,this._dialogRefConstructor=d,this._dialogContainerType=h,this._dialogDataToken=g,this._animationMode=O,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new De.xQ,this._afterOpenedAtThisLevel=new De.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=Fo(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ci(void 0))),this._scrollStrategy=c}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){if(t=function sM(n,o){return Object.assign(Object.assign({},o),n)}(t,this._defaultOptions||new gf),t.id&&this.getDialogById(t.id),this._dialogAnimatingOpen)return this._lastDialogRef;const s=this._createOverlay(t),a=this._attachDialogContainer(s,t);if("NoopAnimations"!==this._animationMode){const c=a._animationStateChanged.subscribe(d=>{"opening"===d.state&&(this._dialogAnimatingOpen=!0),"opened"===d.state&&(this._dialogAnimatingOpen=!1,c.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new P.w),this._animationStateSubscriptions.add(c)}const r=this._attachDialogContent(e,a,s,t);return this._lastDialogRef=r,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),a._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new Gn({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const a=i.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:gf,useValue:t}]}),r=new Dl(this._dialogContainerType,t.viewContainerRef,a,t.componentFactoryResolver);return e.attach(r).instance}_attachDialogContent(e,t,s,a){const r=new this._dialogRefConstructor(s,t,a.id);if(e instanceof i.Rgc)t.attachTemplatePortal(new _c(e,null,{$implicit:a.data,dialogRef:r}));else{const c=this._createInjector(a,r,t),d=t.attachComponentPortal(new Dl(e,a.viewContainerRef,c));r.componentInstance=d.instance}return r.updateSize(a.width,a.height).updatePosition(a.position),r}_createInjector(e,t,s){const a=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:s},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!a||!a.get(Hn,null,i.XFs.Optional))&&r.push({provide:Hn,useValue:{value:e.direction,change:(0,Ke.of)()}}),i.zs3.create({parent:a||this._injector,providers:r})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let s=t.length-1;s>-1;s--){let a=t[s];a!==e&&"SCRIPT"!==a.nodeName&&"STYLE"!==a.nodeName&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n}),n})(),Ii=(()=>{class n extends W_{constructor(e,t,s,a,r,c,d,h){super(e,t,a,c,d,r,zi,j_,Xi,h)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG($i),i.LFG(i.zs3),i.LFG(b.Ye,8),i.LFG(Sd,8),i.LFG(G_),i.LFG(n,12),i.LFG(eg),i.LFG(Bn,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),K_=0,Sn=(()=>{class n{constructor(e,t,s){this._dialogRef=e,this._elementRef=t,this._dialog=s,this.id="mat-dialog-title-"+K_++}ngOnInit(){this._dialogRef||(this._dialogRef=function LC(n,o){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?o.find(t=>t.id===e.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi,8),i.Y36(i.SBq),i.Y36(Ii))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),Fn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),En=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),n})(),oM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Ii,V_],imports:[[Ll,Rh,gt],gt]}),n})();var _f=w(6114);let nr=(()=>{class n{constructor(e,t,s,a,r){this.injector=e,this.store=t,this.dialog=s,this.route=a,this.oauthService=r,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(ji),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(c=>{c.idpFilter&&(this.filterShortname=c.idpFilter)})}getClientConfig(){const e=this.setIdpFilter(),t=e?{acr_values:e}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(t.prompt="consent"),sessionStorage.getItem("mfa_route")&&(t.acr_values="https://refeds.org/profile/mfa",t.prompt="login",t.max_age="0"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:t}}setIdpFilter(){const e=location.search.substr(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let s=null;return e.forEach(a=>{const r=a.split("=");"idpFilter"===r[0]&&t[r[1]]&&(this.filterShortname=r[1],s=t[r[1]])}),t.default&&!s?(this.filterShortname="default",t.default):s}startIdpFilterKeeper(){this.router.events.pipe((0,qt.h)(e=>e instanceof Te)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substr(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,qt.h)(t=>"token_expires"===t.type)).subscribe(()=>{this.oauthService.refreshToken().then(t=>{localStorage.setItem("refresh_token",t.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(e){const t=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===e)return!0;for(const s of t)if(e.startsWith(s))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(e=>e)):Promise.resolve()}verifyAuthentication(e,t){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(s=>s?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((a,r)=>r("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const e=sessionStorage.getItem("mfa_route");if(e)return this.router.navigate([e],{replaceUrl:!0});let t=sessionStorage.getItem("auth:redirect");const s=sessionStorage.getItem("auth:queryParams");let a=[];s&&(a=s.split("&"));const r={};return a.forEach(c=>{const d=c.split("=");r[d[0]]=d[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),r.idpFilter&&(this.filterShortname=r.idpFilter),this.router.navigate([t],{queryParams:r,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3),i.LFG(ti),i.LFG(Ii),i.LFG(Xn),i.LFG(_f.Ct))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function sr(n){return!!n&&(n instanceof Fi.y||"function"==typeof n.lift&&"function"==typeof n.subscribe)}var rM=w(7830);function bf(...n){if(1===n.length){const o=n[0];if((0,ju.k)(o))return Sa(o,null);if((0,rM.K)(o)&&Object.getPrototypeOf(o)===Object.prototype){const e=Object.keys(o);return Sa(e.map(t=>o[t]),e)}}if("function"==typeof n[n.length-1]){const o=n.pop();return Sa(n=1===n.length&&(0,ju.k)(n[0])?n[0]:n,null).pipe((0,pt.U)(e=>o(...e)))}return Sa(n,null)}function Sa(n,o){return new Fi.y(e=>{const t=n.length;if(0===t)return void e.complete();const s=new Array(t);let a=0,r=0;for(let c=0;c{h||(h=!0,r++),s[c]=g},error:g=>e.error(g),complete:()=>{a++,(a===t||!h)&&(r===t&&e.next(o?o.reduce((g,O,$)=>(g[O]=s[$],g),{}):s),e.complete())}}))}})}const lM=new class cM extends A1.v{}(class aM extends Yu.o{constructor(o,e){super(o,e),this.scheduler=o,this.work=e}schedule(o,e=0){return e>0?super.schedule(o,e):(this.delay=e,this.state=o,this.scheduler.flush(this),this)}execute(o,e){return e>0||this.closed?super.execute(o,e):this._execute(o,e)}requestAsyncId(o,e,t=0){return null!==t&&t>0||null===t&&this.delay>0?super.requestAsyncId(o,e,t):o.flush(this)}});var Kg=w(9312);class yf extends Ys.L{constructor(o,e,t=0){super(o),this.scheduler=e,this.delay=t}static dispatch(o){const{notification:e,destination:t}=o;e.observe(t),this.unsubscribe()}scheduleMessage(o){this.destination.add(this.scheduler.schedule(yf.dispatch,this.delay,new uM(o,this.destination)))}_next(o){this.scheduleMessage(Kg.P.createNext(o))}_error(o){this.scheduleMessage(Kg.P.createError(o)),this.unsubscribe()}_complete(){this.scheduleMessage(Kg.P.createComplete()),this.unsubscribe()}}class uM{constructor(o,e){this.notification=o,this.destination=e}}var Vl=w(5283);class dM extends De.xQ{constructor(o=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,t){super(),this.scheduler=t,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=o<1?1:o,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(o){const e=this._events;e.push(o),e.length>this._bufferSize&&e.shift(),super.next(o)}nextTimeWindow(o){this._events.push(new $_(this._getNow(),o)),this._trimBufferThenGetEvents(),super.next(o)}_subscribe(o){const e=this._infiniteTimeWindow,t=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,a=t.length;let r;if(this.closed)throw new hu.N;if(this.isStopped||this.hasError?r=P.w.EMPTY:(this.observers.push(o),r=new Vl.W(this,o)),s&&o.add(o=new yf(o,s)),e)for(let c=0;ce&&(r=Math.max(r,a-e)),r>0&&s.splice(0,r),s}}class $_{constructor(o,e){this.time=o,this.value=e}}function X_(n,o,e){let t;return t=n&&"object"==typeof n?n:{bufferSize:n,windowTime:o,refCount:!1,scheduler:e},s=>s.lift(function Q_({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:o=Number.POSITIVE_INFINITY,refCount:e,scheduler:t}){let s,r,a=0,c=!1,d=!1;return function(g){a++,(!s||c)&&(c=!1,s=new dM(n,o,t),r=g.subscribe({next($){s.next($)},error($){c=!0,s.error($)},complete(){d=!0,r=void 0,s.complete()}}));const O=s.subscribe(this);this.add(()=>{a--,O.unsubscribe(),r&&!d&&e&&0===a&&(r.unsubscribe(),r=void 0,s=void 0)})}}(t))}class Ed{}let Zg=(()=>{class n extends Ed{getTranslation(e){return(0,Ke.of)({})}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class $g{}let Af=(()=>{class n{handle(e){return e.key}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function wf(n,o){if(n===o)return!0;if(null===n||null===o)return!1;if(n!=n&&o!=o)return!0;let s,a,r,e=typeof n;if(e==typeof o&&"object"==e){if(!Array.isArray(n)){if(Array.isArray(o))return!1;for(a in r=Object.create(null),n){if(!wf(n[a],o[a]))return!1;r[a]=!0}for(a in o)if(!(a in r)&&void 0!==o[a])return!1;return!0}if(!Array.isArray(o))return!1;if((s=n.length)==o.length){for(a=0;a{Mf(o[t])?t in n?e[t]=J_(n[t],o[t]):Object.assign(e,{[t]:o[t]}):Object.assign(e,{[t]:o[t]})}),e}class vf{}let eb=(()=>{class n extends vf{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let s;return s="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,s}getValue(e,t){let s="string"==typeof t?t.split("."):[t];t="";do{t+=s.shift(),!xr(e)||!xr(e[t])||"object"!=typeof e[t]&&s.length?s.length?t+=".":e=void 0:(e=e[t],t="")}while(s.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(s,a)=>{let r=this.getValue(t,a);return xr(r)?r:s}):e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Wl{}let tb=(()=>{class n extends Wl{compile(e,t){return e}compileTranslations(e,t){return e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Xg{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.vpe,this.onLangChange=new i.vpe,this.onDefaultLangChange=new i.vpe}}const Qg=new i.OlP("USE_STORE"),Jg=new i.OlP("USE_DEFAULT_LANG"),e0=new i.OlP("DEFAULT_LANGUAGE"),t0=new i.OlP("USE_EXTEND");let Ai=(()=>{class n{constructor(e,t,s,a,r,c=!0,d=!1,h=!1,g){this.store=e,this.currentLoader=t,this.compiler=s,this.parser=a,this.missingTranslationHandler=r,this.useDefaultLang=c,this.isolate=d,this.extend=h,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},g&&this.setDefaultLang(g)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe((0,$t.q)(1)).subscribe(s=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ke.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,$t.q)(1)).subscribe(s=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Ke.of)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(X_(1),(0,$t.q)(1));return this.loadingTranslations=t.pipe((0,pt.U)(s=>this.compiler.compileTranslations(s,e)),X_(1),(0,$t.q)(1)),this.loadingTranslations.subscribe({next:s=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},s),this.translations[e]):s,this.updateLangs(),this.pending=!1},error:s=>{this.pending=!1}}),t}setTranslation(e,t,s=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(s||this.extend)&&this.translations[e]?J_(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,s){let a;if(t instanceof Array){let r={},c=!1;for(let d of t)r[d]=this.getParsedResult(e,d,s),sr(r[d])&&(c=!0);return c?bf(t.map(h=>sr(r[h])?r[h]:(0,Ke.of)(r[h]))).pipe((0,pt.U)(h=>{let g={};return h.forEach((O,$)=>{g[t[$]]=O}),g})):r}if(e&&(a=this.parser.interpolate(this.parser.getValue(e,t),s)),void 0===a&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),s)),void 0===a){let r={key:t,translateService:this};void 0!==s&&(r.interpolateParams=s),a=this.missingTranslationHandler.handle(r)}return void 0!==a?a:t}get(e,t){if(!xr(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,Cs.b)(s=>sr(s=this.getParsedResult(s,e,t))?s:(0,Ke.of)(s)));{let s=this.getParsedResult(this.translations[this.currentLang],e,t);return sr(s)?s:(0,Ke.of)(s)}}getStreamOnTranslationChange(e,t){if(!xr(e)||!e.length)throw new Error('Parameter "key" required');return po(Fo(()=>this.get(e,t)),this.onTranslationChange.pipe((0,mi.w)(s=>{const a=this.getParsedResult(s.translations,e,t);return"function"==typeof a.subscribe?a:(0,Ke.of)(a)})))}stream(e,t){if(!xr(e)||!e.length)throw new Error('Parameter "key" required');return po(Fo(()=>this.get(e,t)),this.onLangChange.pipe((0,mi.w)(s=>{const a=this.getParsedResult(s.translations,e,t);return sr(a)?a:(0,Ke.of)(a)})))}instant(e,t){if(!xr(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,t);if(sr(s)){if(e instanceof Array){let a={};return e.forEach((r,c)=>{a[e[c]]=e[c]}),a}return e}return s}set(e,t,s=this.currentLang){this.translations[s][e]=this.compiler.compile(t,s),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Xg),i.LFG(Ed),i.LFG(Wl),i.LFG(vf),i.LFG($g),i.LFG(Jg),i.LFG(Qg),i.LFG(t0),i.LFG(e0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),dt=(()=>{class n{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,s){let a=r=>{this.value=void 0!==r?r:e,this.lastKey=e,this._ref.markForCheck()};if(s){let r=this.translate.getParsedResult(s,e,t);sr(r.subscribe)?r.subscribe(a):a(r)}this.translate.get(e,t).subscribe(a)}transform(e,...t){if(!e||!e.length)return e;if(wf(e,this.lastKey)&&wf(t,this.lastParams))return this.value;let s;if(xr(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let a=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(a)}catch(r){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"==typeof t[0]&&!Array.isArray(t[0])&&(s=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ai,16),i.Y36(i.sBO,16))},n.\u0275pipe=i.Yjl({name:"translate",type:n,pure:!1}),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Tf=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:Ed,useClass:Zg},e.compiler||{provide:Wl,useClass:tb},e.parser||{provide:vf,useClass:eb},e.missingTranslationHandler||{provide:$g,useClass:Af},Xg,{provide:Qg,useValue:e.isolate},{provide:Jg,useValue:e.useDefaultLang},{provide:t0,useValue:e.extend},{provide:e0,useValue:e.defaultLanguage},Ai]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:Ed,useClass:Zg},e.compiler||{provide:Wl,useClass:tb},e.parser||{provide:vf,useClass:eb},e.missingTranslationHandler||{provide:$g,useClass:Af},{provide:Qg,useValue:e.isolate},{provide:Jg,useValue:e.useDefaultLang},{provide:t0,useValue:e.extend},{provide:e0,useValue:e.defaultLanguage},Ai]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),ib=(()=>{class n{constructor(e){this.dialogRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(e,t){1&e&&(i.TgZ(0,"h2",0),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[Fn],pipes:[dt],styles:[""]}),n})();const nb=["mat-button",""],hM=["*"],fM=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],pM=va(ir(to(class{constructor(n){this._elementRef=n}})));let Yt=(()=>{class n extends pM{constructor(e,t,s){super(e),this._focusMonitor=t,this._animationMode=s,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const a of fM)this._hasHostAttributes(a)&&this._getHostElement().classList.add(a);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(t=>this._getHostElement().hasAttribute(t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(So),i.Y36(Bn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&i.Gf(Ns,5),2&e){let s;i.iGM(s=i.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(i.uIk("disabled",t.disabled||null),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[i.qOj],attrs:nb,ngContentSelectors:hM,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"span",0),i.Hsn(1),i.qZA(),i._UZ(2,"span",1),i._UZ(3,"span",2)),2&e&&(i.xp6(2),i.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),i.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Ns],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n})(),Lr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[io,gt],gt]}),n})();const rb=["connectionContainer"],n0=["inputContainer"],gM=["label"];function mM(n,o){1&n&&(i.ynx(0),i.TgZ(1,"div",14),i._UZ(2,"div",15),i._UZ(3,"div",16),i._UZ(4,"div",17),i.qZA(),i.TgZ(5,"div",18),i._UZ(6,"div",15),i._UZ(7,"div",16),i._UZ(8,"div",17),i.qZA(),i.BQk())}function s0(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",19),i.NdJ("cdkObserveContent",function(){return i.CHM(e),i.oxw().updateOutlineGap()}),i.Hsn(1,1),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function _M(n,o){if(1&n&&(i.ynx(0),i.Hsn(1,2),i.TgZ(2,"span"),i._uU(3),i.qZA(),i.BQk()),2&n){const e=i.oxw(2);i.xp6(3),i.Oqu(e._control.placeholder)}}function ab(n,o){1&n&&i.Hsn(0,3,["*ngSwitchCase","true"])}function bM(n,o){1&n&&(i.TgZ(0,"span",23),i._uU(1," *"),i.qZA())}function cb(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"label",20,21),i.NdJ("cdkObserveContent",function(){return i.CHM(e),i.oxw().updateOutlineGap()}),i.YNc(2,_M,4,1,"ng-container",12),i.YNc(3,ab,1,0,"ng-content",12),i.YNc(4,bM,2,0,"span",22),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),i.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),i.uIk("for",e._control.id)("aria-owns",e._control.id),i.xp6(2),i.Q6J("ngSwitchCase",!1),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function yM(n,o){1&n&&(i.TgZ(0,"div",24),i.Hsn(1,4),i.qZA())}function lb(n,o){if(1&n&&(i.TgZ(0,"div",25),i._UZ(1,"span",26),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function zC(n,o){if(1&n&&(i.TgZ(0,"div"),i.Hsn(1,5),i.qZA()),2&n){const e=i.oxw();i.Q6J("@transitionMessages",e._subscriptAnimationState)}}function AM(n,o){if(1&n&&(i.TgZ(0,"div",30),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.Q6J("id",e._hintLabelId),i.xp6(1),i.Oqu(e.hintLabel)}}function kd(n,o){if(1&n&&(i.TgZ(0,"div",27),i.YNc(1,AM,2,2,"div",28),i.Hsn(2,6),i._UZ(3,"div",29),i.Hsn(4,7),i.qZA()),2&n){const e=i.oxw();i.Q6J("@transitionMessages",e._subscriptAnimationState),i.xp6(1),i.Q6J("ngIf",e.hintLabel)}}const wM=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Kl=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Dd=0;const ub=new i.OlP("MatError");let Zl=(()=>{class n{constructor(e,t){this.id="mat-error-"+Dd++,e||t.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(i.$8M("aria-live"),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("id",t.id)},inputs:{id:"id"},features:[i._Bn([{provide:ub,useExisting:n}])]}),n})();const db={transitionMessages:Ti("transitionMessages",[ii("enter",qe({opacity:1,transform:"translateY(0%)"})),Ht("void => enter",[qe({opacity:0,transform:"translateY(-5px)"}),Ct("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let xd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n}),n})(),hb=0;const fb=new i.OlP("MatHint");let o0=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+hb++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(i.uIk("id",t.id)("align",null),i.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[i._Bn([{provide:fb,useExisting:n}])]}),n})(),no=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-label"]]}),n})(),Ld=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const MM=new i.OlP("MatPrefix"),r0=new i.OlP("MatSuffix");let pb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matSuffix",""]],features:[i._Bn([{provide:r0,useExisting:n}])]}),n})(),gb=0;const CM=va(class{constructor(n){this._elementRef=n}},"primary"),BC=new i.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Rd=new i.OlP("MatFormField");let un=(()=>{class n extends CM{constructor(e,t,s,a,r,c,d){super(e),this._changeDetectorRef=t,this._dir=s,this._defaults=a,this._platform=r,this._ngZone=c,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new De.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+gb++,this._labelId="mat-form-field-label-"+gb++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==d,this.appearance=a&&a.appearance?a.appearance:"legacy",this._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=je(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(ci(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(it(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(it(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Li.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(ci(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(ci(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(it(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,ha(this._label.nativeElement,"transitionend").pipe((0,$t.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,s=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,t=this._connectionContainerRef.nativeElement,s=".mat-form-field-outline-start",a=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const g=t.querySelectorAll(`${s}, ${a}`);for(let O=0;O0?.75*be+10:0}for(let g=0;g{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,gt,Rl],gt]}),n})();function Rr(n){return n&&"function"==typeof n.connect}class a0{applyChanges(o,e,t,s,a){o.forEachOperation((r,c,d)=>{let h,g;if(null==r.previousIndex){const O=t(r,c,d);h=e.createEmbeddedView(O.templateRef,O.context,O.index),g=1}else null==d?(e.remove(c),g=3):(h=e.get(c),e.move(h,d),g=2);a&&a({context:null==h?void 0:h.context,operation:g,record:r})})}detach(){}}class Vn{constructor(o=!1,e,t=!0){this._multiple=o,this._emitChanges=t,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new De.xQ,e&&e.length&&(o?e.forEach(s=>this._markSelected(s)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...o){this._verifyValueAssignment(o),o.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...o){this._verifyValueAssignment(o),o.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(o){this.isSelected(o)?this.deselect(o):this.select(o)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(o){return this._selection.has(o)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(o){this._multiple&&this.selected&&this._selected.sort(o)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(o){this.isSelected(o)||(this._multiple||this._unmarkAll(),this._selection.add(o),this._emitChanges&&this._selectedToEmit.push(o))}_unmarkSelected(o){this.isSelected(o)&&(this._selection.delete(o),this._emitChanges&&this._deselectedToEmit.push(o))}_unmarkAll(){this.isEmpty()||this._selection.forEach(o=>this._unmarkSelected(o))}_verifyValueAssignment(o){}}let bb=(()=>{class n{constructor(){this._listeners=[]}notify(e,t){for(let s of this._listeners)s(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const $l=new i.OlP("_ViewRepeater");let Sf=(()=>{class n{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n}),n})(),Ea=(()=>{class n extends Sf{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const Wn=new i.OlP("NgValueAccessor"),EM={provide:Wn,useExisting:(0,i.Gpc)(()=>bn),multi:!0},DM=new i.OlP("CompositionEventMode");let bn=(()=>{class n extends Sf{constructor(e,t,s){super(e,t),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function kM(){const n=(0,b.q)()?(0,b.q)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(DM,8))},n.\u0275dir=i.lG2({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&i.NdJ("input",function(a){return t._handleInput(a.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(a){return t._compositionEnd(a.target.value)})},features:[i._Bn([EM]),i.qOj]}),n})();function ka(n){return null==n||0===n.length}function wb(n){return null!=n&&"number"==typeof n.length}const Gi=new i.OlP("NgValidators"),Or=new i.OlP("NgAsyncValidators"),Mb=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class kn{static min(o){return function c0(n){return o=>{if(ka(o.value)||ka(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e{if(ka(o.value)||ka(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e>n?{max:{max:n,actual:o.value}}:null}}(o)}static required(o){return u0(o)}static requiredTrue(o){return function vb(n){return!0===n.value?null:{required:!0}}(o)}static email(o){return function d0(n){return ka(n.value)||Mb.test(n.value)?null:{email:!0}}(o)}static minLength(o){return function h0(n){return o=>ka(o.value)||!wb(o.value)?null:o.value.lengthwb(o.value)&&o.value.length>n?{maxlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static pattern(o){return function Tb(n){if(!n)return Ef;let o,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),o=new RegExp(e)):(e=n.toString(),o=n),t=>{if(ka(t.value))return null;const s=t.value;return o.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(o)}static nullValidator(o){return null}static compose(o){return Ql(o)}static composeAsync(o){return Sb(o)}}function u0(n){return ka(n.value)?{required:!0}:null}function Ef(n){return null}function Xl(n){return null!=n}function Cb(n){const o=(0,i.QGY)(n)?(0,Mn.D)(n):n;return(0,i.CqO)(o),o}function kf(n){let o={};return n.forEach(e=>{o=null!=e?Object.assign(Object.assign({},o),e):o}),0===Object.keys(o).length?null:o}function Lo(n,o){return o.map(e=>e(n))}function Od(n){return n.map(o=>function xM(n){return!n.validate}(o)?o:e=>o.validate(e))}function Ql(n){if(!n)return null;const o=n.filter(Xl);return 0==o.length?null:function(e){return kf(Lo(e,o))}}function p0(n){return null!=n?Ql(Od(n)):null}function Sb(n){if(!n)return null;const o=n.filter(Xl);return 0==o.length?null:function(e){return bf(Lo(e,o).map(Cb)).pipe((0,pt.U)(kf))}}function g0(n){return null!=n?Sb(Od(n)):null}function Pd(n,o){return null===n?[o]:Array.isArray(n)?[...n,o]:[n,o]}function zd(n){return n._rawValidators}function Eb(n){return n._rawAsyncValidators}function m0(n){return n?Array.isArray(n)?n:[n]:[]}function Id(n,o){return Array.isArray(n)?n.includes(o):n===o}function _0(n,o){const e=m0(o);return m0(n).forEach(s=>{Id(e,s)||e.push(s)}),e}function Df(n,o){return m0(o).filter(e=>!Id(n,e))}class b0{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(o){this._rawValidators=o||[],this._composedValidatorFn=p0(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=g0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o){this.control&&this.control.reset(o)}hasError(o,e){return!!this.control&&this.control.hasError(o,e)}getError(o,e){return this.control?this.control.getError(o,e):null}}class Ro extends b0{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class us extends b0{get formDirective(){return null}get path(){return null}}class LM{constructor(o){this._cd=o}is(o){var e,t,s;return"submitted"===o?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(s=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===s?void 0:s[o])}}let dn=(()=>{class n extends LM{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ro,2))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[i.qOj]}),n})(),Jl=(()=>{class n extends LM{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(us,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[i.qOj]}),n})();function Lf(n,o){return[...o.path,n]}function Dn(n,o){Ob(n,o),o.valueAccessor.writeValue(n.value),function jM(n,o){o.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&Pb(n,o)})}(n,o),function zb(n,o){const e=(t,s)=>{o.valueAccessor.writeValue(t),s&&o.viewToModelUpdate(t)};n.registerOnChange(e),o._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,o),function w0(n,o){o.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&Pb(n,o),"submit"!==n.updateOn&&n.markAsTouched()})}(n,o),function qM(n,o){if(o.valueAccessor.setDisabledState){const e=t=>{o.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),o._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,o)}function Pr(n,o,e=!0){const t=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(t),o.valueAccessor.registerOnTouched(t)),Da(n,o),n&&(o._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Rf(n,o){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(o)})}function Ob(n,o){const e=zd(n);null!==o.validator?n.setValidators(Pd(e,o.validator)):"function"==typeof e&&n.setValidators([e]);const t=Eb(n);null!==o.asyncValidator?n.setAsyncValidators(Pd(t,o.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);const s=()=>n.updateValueAndValidity();Rf(o._rawValidators,s),Rf(o._rawAsyncValidators,s)}function Da(n,o){let e=!1;if(null!==n){if(null!==o.validator){const s=zd(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.validator);a.length!==s.length&&(e=!0,n.setValidators(a))}}if(null!==o.asyncValidator){const s=Eb(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.asyncValidator);a.length!==s.length&&(e=!0,n.setAsyncValidators(a))}}}const t=()=>{};return Rf(o._rawValidators,t),Rf(o._rawAsyncValidators,t),e}function Pb(n,o){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Ib(n,o){Ob(n,o)}function Of(n,o){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(o,e.currentValue)}function zf(n,o){n._syncPendingControls(),o.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Bb(n,o){if(!o)return null;let e,t,s;return Array.isArray(o),o.forEach(a=>{a.constructor===bn?e=a:function Pf(n){return Object.getPrototypeOf(n.constructor)===Ea}(a)?t=a:s=a}),s||t||e||null}function If(n,o){const e=n.indexOf(o);e>-1&&n.splice(e,1)}const xa="VALID",Hd="INVALID",eu="PENDING",Hc="DISABLED";function Fb(n){return(Bd(n)?n.validators:n)||null}function qb(n){return Array.isArray(n)?p0(n):n||null}function v0(n,o){return(Bd(o)?o.asyncValidators:n)||null}function T0(n){return Array.isArray(n)?g0(n):n||null}function Bd(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const C0=n=>n instanceof ds,Fd=n=>n instanceof qd,S0=n=>n instanceof D0;function jb(n){return C0(n)?n.value:n.getRawValue()}function Yb(n,o){const e=Fd(n),t=n.controls;if(!(e?Object.keys(t):t).length)throw new i.vHH(1e3,"");if(!t[o])throw new i.vHH(1001,"")}function E0(n,o){Fd(n),n._forEachChild((t,s)=>{if(void 0===o[s])throw new i.vHH(1002,"")})}class k0{constructor(o,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=o,this._rawAsyncValidators=e,this._composedValidatorFn=qb(this._rawValidators),this._composedAsyncValidatorFn=T0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===xa}get invalid(){return this.status===Hd}get pending(){return this.status==eu}get disabled(){return this.status===Hc}get enabled(){return this.status!==Hc}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._rawValidators=o,this._composedValidatorFn=qb(o)}setAsyncValidators(o){this._rawAsyncValidators=o,this._composedAsyncValidatorFn=T0(o)}addValidators(o){this.setValidators(_0(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(_0(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(Df(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(Df(o,this._rawAsyncValidators))}hasValidator(o){return Id(this._rawValidators,o)}hasAsyncValidator(o){return Id(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){this.touched=!0,this._parent&&!o.onlySelf&&this._parent.markAsTouched(o)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(o=>o.markAllAsTouched())}markAsUntouched(o={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}markAsDirty(o={}){this.pristine=!1,this._parent&&!o.onlySelf&&this._parent.markAsDirty(o)}markAsPristine(o={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}markAsPending(o={}){this.status=eu,!1!==o.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!o.onlySelf&&this._parent.markAsPending(o)}disable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=Hc,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this._updateValue(),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=xa,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(o){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(o){this._parent=o}updateValueAndValidity(o={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xa||this.status===eu)&&this._runAsyncValidator(o.emitEvent)),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity(o)}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Hc:xa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o){if(this.asyncValidator){this.status=eu,this._hasOwnPendingAsyncValidator=!0;const e=Cb(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:o})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(o,e={}){this.errors=o,this._updateControlsErrors(!1!==e.emitEvent)}get(o){return function M0(n,o,e){if(null==o||(Array.isArray(o)||(o=o.split(e)),Array.isArray(o)&&0===o.length))return null;let t=n;return o.forEach(s=>{t=Fd(t)?t.controls.hasOwnProperty(s)?t.controls[s]:null:S0(t)&&t.at(s)||null}),t}(this,o,".")}getError(o,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[o]:null}hasError(o,e){return!!this.getError(o,e)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(o)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Hc:this.errors?Hd:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(eu)?eu:this._anyControlsHaveStatus(Hd)?Hd:xa}_anyControlsHaveStatus(o){return this._anyControls(e=>e.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o={}){this.pristine=!this._anyControlsDirty(),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}_updateTouched(o={}){this.touched=this._anyControlsTouched(),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}_isBoxedValue(o){return"object"==typeof o&&null!==o&&2===Object.keys(o).length&&"value"in o&&"disabled"in o}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){Bd(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class ds extends k0{constructor(o=null,e,t){super(Fb(e),v0(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(o),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Bd(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(o)?o.value:o)}setValue(o,e={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(o,e={}){this.setValue(o,e)}reset(o=this.defaultValue,e={}){this._applyFormState(o),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){If(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){If(this._onDisabledChange,o)}_forEachChild(o){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(o){this._isBoxedValue(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}}class qd extends k0{constructor(o,e,t){super(Fb(e),v0(t,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,e){return this.controls[o]?this.controls[o]:(this.controls[o]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(o,e,t={}){this.registerControl(o,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(o,e,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],e&&this.registerControl(o,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,e={}){E0(this,o),Object.keys(o).forEach(t=>{Yb(this,t),this.controls[t].setValue(o[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(Object.keys(o).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(o[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o={},e={}){this._forEachChild((t,s)=>{t.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(o,e,t)=>(o[t]=jb(e),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&o(t,e)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&o(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(o,e,t)=>((e.enabled||this.disabled)&&(o[t]=e.value),o))}_reduceChildren(o,e){let t=o;return this._forEachChild((s,a)=>{t=e(t,s,a)}),t}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class D0 extends k0{constructor(o,e,t){super(Fb(e),v0(t,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(o){return this.controls[o]}push(o,e={}){this.controls.push(o),this._registerControl(o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(o,e,t={}){this.controls.splice(o,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(o,e,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(o,e={}){E0(this,o),o.forEach((t,s)=>{Yb(this,s),this.at(s).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(o.forEach((t,s)=>{this.at(s)&&this.at(s).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o=[],e={}){this._forEachChild((t,s)=>{t.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(o=>jb(o))}clear(o={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:o.emitEvent}))}_syncPendingControls(){let o=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){this.controls.forEach((e,t)=>{o(e,t)})}_updateValue(){this.value=this.controls.filter(o=>o.enabled||this.disabled).map(o=>o.value)}_anyControls(o){return this.controls.some(e=>e.enabled&&o(e))}_setUpControls(){this._forEachChild(o=>this._registerControl(o))}_allControlsDisabled(){for(const o of this.controls)if(o.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(o){o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)}}const Ub={provide:us,useExisting:(0,i.Gpc)(()=>Bc)},jd=(()=>Promise.resolve(null))();let Bc=(()=>{class n extends us{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.vpe,this.form=new qd({},p0(e),g0(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){jd.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Dn(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){jd.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){jd.then(()=>{const t=this._findContainer(e.path),s=new qd({});Ib(s,e),t.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){jd.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){jd.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,zf(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Gi,10),i.Y36(Or,10))},n.\u0275dir=i.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(a){return t.onSubmit(a)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Ub]),i.qOj]}),n})();const jC={provide:Ro,useExisting:(0,i.Gpc)(()=>zr)},WM=(()=>Promise.resolve(null))();let zr=(()=>{class n extends Ro{constructor(e,t,s,a,r){super(),this._changeDetectorRef=r,this.control=new ds,this._registered=!1,this.update=new i.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Bb(0,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Of(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Dn(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){WM.then(()=>{var t;this.control.setValue(e,{emitViewToModelChange:!1}),null===(t=this._changeDetectorRef)||void 0===t||t.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,s=""===t||t&&"false"!==t;WM.then(()=>{var a;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()})}_getPath(e){return this._parent?Lf(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(us,9),i.Y36(Gi,10),i.Y36(Or,10),i.Y36(Wn,10),i.Y36(i.sBO,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([jC]),i.qOj,i.TTD]}),n})(),tu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})();const YC={provide:Wn,useExisting:(0,i.Gpc)(()=>iu),multi:!0};let iu=(()=>{class n extends Ea{writeValue(e){this.setProperty("value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&i.NdJ("input",function(a){return t.onChange(a.target.value)})("blur",function(){return t.onTouched()})},features:[i._Bn([YC]),i.qOj]}),n})(),Gb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const Bf=new i.OlP("NgModelWithFormControlWarning"),UC={provide:Ro,useExisting:(0,i.Gpc)(()=>so)};let so=(()=>{class n extends Ro{constructor(e,t,s,a){super(),this._ngModelWarningConfig=a,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Bb(0,s)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Pr(t,this,!1),Dn(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Of(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Pr(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(i.Y36(Gi,10),i.Y36(Or,10),i.Y36(Wn,10),i.Y36(Bf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([UC]),i.qOj,i.TTD]}),n})();const Ff={provide:us,useExisting:(0,i.Gpc)(()=>Ir)};let Ir=(()=>{class n extends us{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Da(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return Dn(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Pr(e.control||null,e,!1),If(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,zf(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,s=this.form.get(e.path);t!==s&&(Pr(t||null,e),C0(s)&&(Dn(s,e),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Ib(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function YM(n,o){return Da(n,o)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ob(this.form,this),this._oldForm&&Da(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Gi,10),i.Y36(Or,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(a){return t.onSubmit(a)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Ff]),i.qOj,i.TTD]}),n})();const $M={provide:Ro,useExisting:(0,i.Gpc)(()=>R0)};let R0=(()=>{class n extends Ro{constructor(e,t,s,a,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Bb(0,a)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),Of(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Lf(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(i.Y36(us,13),i.Y36(Gi,10),i.Y36(Or,10),i.Y36(Wn,10),i.Y36(Bf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([$M]),i.qOj,i.TTD]}),n})(),Fc=(()=>{class n{constructor(){this._validator=Ef}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Ef,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();const WC={provide:Gi,useExisting:(0,i.Gpc)(()=>vs),multi:!0};let vs=(()=>{class n extends Fc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function Qb(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>u0}enabled(e){return e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[i._Bn([WC]),i.qOj]}),n})(),N0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Gb]]}),n})(),ny=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[N0]}),n})(),su=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Bf,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[N0]}),n})(),KC=(()=>{class n{group(e,t=null){const s=this._reduceControls(e);let c,a=null,r=null;return null!=t&&(function sy(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(t)?(a=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,c=null!=t.updateOn?t.updateOn:void 0):(a=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new qd(s,{asyncValidators:r,updateOn:c,validators:a})}control(e,t,s){return new ds(e,t,s)}array(e,t,s){const a=e.map(r=>this._createControl(r));return new D0(a,t,s)}_reduceControls(e){const t={};return Object.keys(e).forEach(s=>{t[s]=this._createControl(e[s])}),t}_createControl(e){return C0(e)||Fd(e)||S0(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:su}),n})();const $C=["trigger"],XC=["panel"];function oy(n,o){if(1&n&&(i.TgZ(0,"span",8),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.placeholder)}}function cv(n,o){if(1&n&&(i.TgZ(0,"span",12),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.triggerValue)}}function lv(n,o){1&n&&i.Hsn(0,0,["*ngSwitchCase","true"])}function uv(n,o){if(1&n&&(i.TgZ(0,"span",9),i.YNc(1,cv,2,1,"span",10),i.YNc(2,lv,1,0,"ng-content",11),i.qZA()),2&n){const e=i.oxw();i.Q6J("ngSwitch",!!e.customTrigger),i.xp6(2),i.Q6J("ngSwitchCase",!0)}}function QC(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",13),i.TgZ(1,"div",14,15),i.NdJ("@transformPanel.done",function(s){return i.CHM(e),i.oxw()._panelDoneAnimatingStream.next(s.toState)})("keydown",function(s){return i.CHM(e),i.oxw()._handleKeydown(s)}),i.Hsn(3,1),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("@transformPanelWrap",void 0),i.xp6(1),i.Gre("mat-select-panel ",e._getPanelTheme(),""),i.Udp("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),i.Q6J("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),i.uIk("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const JC=[[["mat-select-trigger"]],"*"],eS=["mat-select-trigger","*"],dv={transformPanelWrap:Ti("transformPanelWrap",[Ht("* => void",Eo("@transformPanel",[zm()],{optional:!0}))]),transformPanel:Ti("transformPanel",[ii("void",qe({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),ii("showing",qe({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),ii("showing-multiple",qe({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Ht("void => *",Ct("120ms cubic-bezier(0, 0, 0.2, 1)")),Ht("* => void",Ct("100ms 25ms linear",qe({opacity:0})))])};let ry=0;const cy=new i.OlP("mat-select-scroll-strategy"),F0=new i.OlP("MAT_SELECT_CONFIG"),Kf={provide:cy,deps:[$i],useFactory:function B0(n){return()=>n.scrollStrategies.reposition()}};class iS{constructor(o,e){this.source=o,this.value=e}}const nS=to(Ic(ir(qg(class{constructor(n,o,e,t,s){this._elementRef=n,this._defaultErrorStateMatcher=o,this._parentForm=e,this._parentFormGroup=t,this.ngControl=s}})))),sS=new i.OlP("MatSelectTrigger");let ly=(()=>{class n extends nS{constructor(e,t,s,a,r,c,d,h,g,O,$,oe,be,ve){var Le,et,Vt;super(r,a,d,h,O),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=s,this._dir=c,this._parentFormField=g,this._liveAnnouncer=be,this._defaultOptions=ve,this._panelOpen=!1,this._compareWith=(Bt,pi)=>Bt===pi,this._uid="mat-select-"+ry++,this._triggerAriaLabelledBy=null,this._destroy=new De.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ry++,this._panelDoneAnimatingStream=new De.xQ,this._overlayPanelClass=(null===(Le=this._defaultOptions)||void 0===Le?void 0:Le.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Vt=null===(et=this._defaultOptions)||void 0===et?void 0:et.disableOptionCentering)&&void 0!==Vt&&Vt,this.ariaLabel="",this.optionSelectionChanges=Fo(()=>{const Bt=this.options;return Bt?Bt.changes.pipe(ci(Bt),(0,mi.w)(()=>(0,Li.T)(...Bt.map(pi=>pi.onSelectionChange)))):this._ngZone.onStable.pipe((0,$t.q)(1),(0,mi.w)(()=>this.optionSelectionChanges))}),this.openedChange=new i.vpe,this._openedStream=this.openedChange.pipe((0,qt.h)(Bt=>Bt),(0,pt.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,qt.h)(Bt=>!Bt),(0,pt.U)(()=>{})),this.selectionChange=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==ve?void 0:ve.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=ve.typeaheadDebounceInterval),this._scrollStrategyFactory=oe,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt($)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(kn.required))&&void 0!==a&&a}set required(e){this._required=je(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=je(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=je(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=on(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Vn(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Yh(),it(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(it(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(ci(null),it(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,t;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(t=this._selectionModel)||void 0===t?void 0:t.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,s=40===t||38===t||37===t||39===t,a=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&a&&!cn(e)||(this.multiple||e.altKey)&&s)e.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;r.onKeydown(e);const d=this.selected;d&&c!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,s=e.keyCode,a=40===s||38===s,r=t.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(r||13!==s&&32!==s||!t.activeItem||cn(e))if(!r&&this._multiple&&65===s&&e.ctrlKey){e.preventDefault();const c=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(c?d.select():d.deselect())})}else{const c=t.activeItemIndex;t.onKeydown(e),this._multiple&&a&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==c&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,$t.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectValue(t)),this._sortValues();else{const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(s=>{if(this._selectionModel.isSelected(s))return!1;try{return null!=s.value&&this._compareWith(s.value,e)}catch(a){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new Uh(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(it(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(it(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=(0,Li.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(it(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Li.T)(...this.options.map(t=>t._stateChanges)).pipe(it(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const s=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(s!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),s!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,s)=>this.sortComparator?this.sortComparator(t,s,e):e.indexOf(t)-e.indexOf(s)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let s=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(s+=" "+this.ariaLabelledby),s}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ms),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(Nc),i.Y36(i.SBq),i.Y36(Hn,8),i.Y36(Bc,8),i.Y36(Ir,8),i.Y36(Rd,8),i.Y36(Ro,10),i.$8M("tabindex"),i.Y36(cy),i.Y36(gC),i.Y36(F0,8))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf($C,5),i.Gf(XC,5),i.Gf(sw,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.trigger=s.first),i.iGM(s=i.CRH())&&(t.panel=s.first),i.iGM(s=i.CRH())&&(t._overlayDir=s.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[i.qOj,i.TTD]}),n})(),Zf=(()=>{class n extends ly{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,s){const a=this._getItemHeight();return Math.min(Math.max(0,a*e-t+a/2),s)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(it(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const t=Wg(e,this.options,this.optionGroups),s=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===t?0:q_((e+t)*s,s,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new iS(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),s=this._isRtl(),a=this.multiple?56:32;let r;if(this.multiple)r=40;else if(this.disableOptionCentering)r=16;else{let h=this._selectionModel.selected[0]||this.options.first;r=h&&h.group?32:16}s||(r*=-1);const c=0-(e.left+r-(s?a:0)),d=e.right+r-t.width+(s?0:a);c>0?r+=c+8:d>0&&(r-=d+8),this._overlayDir.offsetX=Math.round(r),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,s){const a=this._getItemHeight(),r=(a-this._triggerRect.height)/2,c=Math.floor(256/a);let d;return this.disableOptionCentering?0:(d=0===this._scrollTop?e*a:this._scrollTop===s?(e-(this._getItemCount()-c))*a+(a-(this._getItemCount()*a-256)%a):t-a/2,Math.round(-1*d-r))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),s=this._viewportRuler.getViewportSize(),a=this._triggerRect.top-8,r=s.height-this._triggerRect.bottom-8,c=Math.abs(this._offsetY),h=Math.min(this._getItemCount()*t,256)-c-this._triggerRect.height;h>r?this._adjustPanelUp(h,r):c>a?this._adjustPanelDown(c,a,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const s=Math.round(e-t);this._scrollTop-=s,this._offsetY-=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,s){const a=Math.round(e-t);if(this._scrollTop+=a,this._offsetY+=a,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=s)return this._scrollTop=s,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),s=Math.min(t*e,256),r=t*e-s;let c;c=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),c+=Wg(c,this.options,this.optionGroups);const d=s/2;this._scrollTop=this._calculateOverlayScroll(c,d,r),this._offsetY=this._calculateOverlayOffsetY(c,d,r),this._checkOverlayWithinViewport(r)}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-select"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,sS,5),i.Suo(s,Ca,5),i.Suo(s,Gg,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.customTrigger=a.first),i.iGM(a=i.CRH())&&(t.options=a),i.iGM(a=i.CRH())&&(t.optionGroups=a)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(a){return t._handleKeydown(a)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(i.uIk("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),i.ekj("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[i._Bn([{provide:xd,useExisting:n},{provide:Gl,useExisting:n}]),i.qOj],ngContentSelectors:eS,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(i.F$t(JC),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t.toggle()}),i.TgZ(3,"div",2),i.YNc(4,oy,2,1,"span",3),i.YNc(5,uv,3,2,"span",4),i.qZA(),i.TgZ(6,"div",5),i._UZ(7,"div",6),i.qZA(),i.qZA(),i.YNc(8,QC,4,14,"ng-template",7),i.NdJ("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){const s=i.MAs(1);i.uIk("aria-owns",t.panelOpen?t.id+"-panel":null),i.xp6(3),i.Q6J("ngSwitch",t.empty),i.uIk("id",t._valueId),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1),i.xp6(3),i.Q6J("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[gm,b.RF,b.n9,b.ED,sw,b.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[dv.transformPanelWrap,dv.transformPanel]},changeDetection:0}),n})(),q0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Kf],imports:[[b.ez,Ll,Td,gt],Cn,xo,Td,gt]}),n})();const uy=new Set;let Yc,dy=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):hv}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function hy(n){if(!uy.has(n))try{Yc||(Yc=document.createElement("style"),Yc.setAttribute("type","text/css"),document.head.appendChild(Yc)),Yc.sheet&&(Yc.sheet.insertRule(`@media ${n} {body{ }}`,0),uy.add(n))}catch(o){console.error(o)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function hv(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let fv=(()=>{class n{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new De.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return j0(vr(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){const s=j0(vr(e)).map(r=>this._registerQuery(r).observable);let a=(0,Gr.aj)(s);return a=po(a.pipe((0,$t.q)(1)),a.pipe(_m(1),(0,qh.b)(0))),a.pipe((0,pt.U)(r=>{const c={matches:!1,breakpoints:{}};return r.forEach(({matches:d,query:h})=>{c.matches=c.matches||d,c.breakpoints[h]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),a={observable:new Fi.y(r=>{const c=d=>this._zone.run(()=>r.next(d));return t.addListener(c),()=>{t.removeListener(c)}}).pipe(ci(t),(0,pt.U)(({matches:r})=>({query:e,matches:r})),it(this._destroySubject)),mql:t};return this._queries.set(e,a),a}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(dy),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function j0(n){return n.map(o=>o.split(",")).reduce((o,e)=>o.concat(e)).map(o=>o.trim())}const rS={tooltipState:Ti("state",[ii("initial, void, hidden",qe({opacity:0,transform:"scale(0)"})),ii("visible",qe({transform:"scale(1)"})),Ht("* => visible",Ct("200ms cubic-bezier(0, 0, 0.2, 1)",Er([qe({opacity:0,transform:"scale(0)",offset:0}),qe({opacity:.5,transform:"scale(0.99)",offset:.5}),qe({opacity:1,transform:"scale(1)",offset:1})]))),Ht("* => hidden",Ct("100ms cubic-bezier(0, 0, 0.2, 1)",qe({opacity:0})))])},py="tooltip-panel",gy=Ko({passive:!0}),gv=new i.OlP("mat-tooltip-scroll-strategy"),_v={provide:gv,deps:[$i],useFactory:function mv(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},bv=new i.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function yv(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Av=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$,oe){this._overlay=e,this._elementRef=t,this._scrollDispatcher=s,this._viewContainerRef=a,this._ngZone=r,this._platform=c,this._ariaDescriber=d,this._focusMonitor=h,this._dir=O,this._defaultOptions=$,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 De.xQ,this._scrollStrategy=g,this._document=oe,$&&($.position&&(this.position=$.position),$.touchGestures&&(this.touchGestures=$.touchGestures)),O.change.pipe(it(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=je(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=on(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=on(e)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).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(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(it(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,s])=>{e.removeEventListener(t,s,gy)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new Dl(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(it(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return t.positionChanges.pipe(it(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:`${this._cssClassPrefix}-${py}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(it(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(it(this._destroyed)).subscribe(()=>{var s;return null===(s=this._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(it(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!cn(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,s=this._getOrigin(),a=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},s.main),a.main)),this._addOffset(Object.assign(Object.assign({},s.fallback),a.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let s;"above"==t||"below"==t?s={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?s={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(s={originX:"end",originY:"center"});const{x:a,y:r}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:a,originY:r}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let s;"above"==t?s={overlayX:"center",overlayY:"bottom"}:"below"==t?s={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?s={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(s={overlayX:"start",overlayY:"center"});const{x:a,y:r}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:a,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,$t.q)(1),it(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){const{overlayY:t,originX:s,originY:a}=e;let r;if(r="center"===t?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===t&&"top"===a?"above":"below",r!==this._currentPosition){const c=this._overlayRef;if(c){const d=`${this._cssClassPrefix}-${py}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+r)}this._currentPosition=r}}_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 e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,s])=>{this._elementRef.nativeElement.addEventListener(t,s,gy)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=this._document.elementFromPoint(e.clientX,e.clientY),s=this._elementRef.nativeElement;t!==s&&!s.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,s=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(s.userSelect=s.msUserSelect=s.webkitUserSelect=s.MozUserSelect="none"),("on"===e||!t.draggable)&&(s.webkitUserDrag="none"),s.touchAction="none",s.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),fs=(()=>{class n extends Av{constructor(e,t,s,a,r,c,d,h,g,O,$,oe){super(e,t,s,a,r,c,d,h,g,O,$,oe),this._tooltipComponent=Mv}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($i),i.Y36(i.SBq),i.Y36(mc),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(Ei),i.Y36(sd),i.Y36(So),i.Y36(gv),i.Y36(Hn,8),i.Y36(bv,8),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[i.qOj]}),n})(),wv=(()=>{class n{constructor(e){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new De.xQ}show(e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"===t&&!this.isVisible()&&this._onHide.next(),("visible"===t||"hidden"===t)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n}),n})(),Mv=(()=>{class n extends wv{constructor(e,t){super(e),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(fv))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){2&e&&i.Udp("zoom","visible"===t._visibility?1:null)},features:[i.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(a){return t._animationDone(a)}),i.ALo(1,"async"),i._uU(2),i.qZA()),2&e){let s;i.ekj("mat-tooltip-handset",null==(s=i.lcZ(1,5,t._isHandset))?null:s.matches),i.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),i.xp6(2),i.Oqu(t.message)}},directives:[b.mk],pipes:[b.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[rS.tooltipState]},changeDetection:0}),n})(),U0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[_v],imports:[[yw,b.ez,Ll,gt],gt,Cn]}),n})();function cS(n,o){if(1&n&&(i.TgZ(0,"mat-option",19),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e," ")}}function lS(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",16),i.TgZ(1,"mat-select",17),i.NdJ("selectionChange",function(s){return i.CHM(e),i.oxw(2)._changePageSize(s.value)}),i.YNc(2,cS,2,2,"mat-option",18),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.Q6J("appearance",e._formFieldAppearance)("color",e.color),i.xp6(1),i.Q6J("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),i.xp6(1),i.Q6J("ngForOf",e._displayedPageSizeOptions)}}function uS(n,o){if(1&n&&(i.TgZ(0,"div",20),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.pageSize)}}function dS(n,o){if(1&n&&(i.TgZ(0,"div",12),i.TgZ(1,"div",13),i._uU(2),i.qZA(),i.YNc(3,lS,3,6,"mat-form-field",14),i.YNc(4,uS,2,1,"div",15),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",e._intl.itemsPerPageLabel," "),i.xp6(1),i.Q6J("ngIf",e._displayedPageSizeOptions.length>1),i.xp6(1),i.Q6J("ngIf",e._displayedPageSizeOptions.length<=1)}}function vv(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",21),i.NdJ("click",function(){return i.CHM(e),i.oxw().firstPage()}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",22),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),i.uIk("aria-label",e._intl.firstPageLabel)}}function hS(n,o){if(1&n){const e=i.EpF();i.O4$(),i.kcU(),i.TgZ(0,"button",23),i.NdJ("click",function(){return i.CHM(e),i.oxw().lastPage()}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",24),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),i.uIk("aria-label",e._intl.lastPageLabel)}}let G0=(()=>{class n{constructor(){this.changes=new De.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,s)=>{if(0==s||0==t)return`0 of ${s}`;const a=e*t;return`${a+1} \u2013 ${a<(s=Math.max(s,0))?Math.min(a+t,s):a+t} of ${s}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const pS={provide:G0,deps:[[new i.FiY,new i.tp0,G0]],useFactory:function fS(n){return n||new G0}},f=new i.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),p=ir(R_(class{}));let m=(()=>{class n extends p{constructor(e,t,s){if(super(),this._intl=e,this._changeDetectorRef=t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new i.vpe,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),s){const{pageSize:a,pageSizeOptions:r,hidePageSize:c,showFirstLastButtons:d}=s;null!=a&&(this._pageSize=a),null!=r&&(this._pageSizeOptions=r),null!=c&&(this._hidePageSize=c),null!=d&&(this._showFirstLastButtons=d)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(on(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=on(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(on(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(t=>on(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=je(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=je(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[i.qOj]}),n})(),y=(()=>{class n extends m{constructor(e,t,s){super(e,t,s),s&&null!=s.formFieldAppearance&&(this._formFieldAppearance=s.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(G0),i.Y36(i.sBO),i.Y36(f,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[i.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.YNc(2,dS,5,3,"div",2),i.TgZ(3,"div",3),i.TgZ(4,"div",4),i._uU(5),i.qZA(),i.YNc(6,vv,3,5,"button",5),i.TgZ(7,"button",6),i.NdJ("click",function(){return t.previousPage()}),i.O4$(),i.TgZ(8,"svg",7),i._UZ(9,"path",8),i.qZA(),i.qZA(),i.kcU(),i.TgZ(10,"button",9),i.NdJ("click",function(){return t.nextPage()}),i.O4$(),i.TgZ(11,"svg",7),i._UZ(12,"path",10),i.qZA(),i.qZA(),i.YNc(13,hS,3,5,"button",11),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("ngIf",!t.hidePageSize),i.xp6(3),i.hij(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),i.xp6(1),i.Q6J("ngIf",t.showFirstLastButtons),i.xp6(1),i.Q6J("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),i.uIk("aria-label",t._intl.previousPageLabel),i.xp6(3),i.Q6J("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),i.uIk("aria-label",t._intl.nextPageLabel),i.xp6(3),i.Q6J("ngIf",t.showFirstLastButtons))},directives:[un,Zf,Ca,Yt,b.O5,b.sg,fs],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),n})(),C=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[pS],imports:[[b.ez,Lr,q0,U0,gt]]}),n})();var E=w(943);const x=["mat-menu-item",""];function H(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",2),i._UZ(1,"polygon",3),i.qZA())}const j=["*"];function J(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",0),i.NdJ("keydown",function(s){return i.CHM(e),i.oxw()._handleKeydown(s)})("click",function(){return i.CHM(e),i.oxw().closed.emit("click")})("@transformMenu.start",function(s){return i.CHM(e),i.oxw()._onAnimationStart(s)})("@transformMenu.done",function(s){return i.CHM(e),i.oxw()._onAnimationDone(s)}),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),i.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const ie={transformMenu:Ti("transformMenu",[ii("void",qe({opacity:0,transform:"scale(0.8)"})),Ht("void => enter",Ct("120ms cubic-bezier(0, 0, 0.2, 1)",qe({opacity:1,transform:"scale(1)"}))),Ht("* => void",Ct("100ms 25ms linear",qe({opacity:0})))]),fadeInItems:Ti("fadeInItems",[ii("showing",qe({opacity:1})),Ht("void => *",[qe({opacity:0}),Ct("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ne=new i.OlP("MatMenuContent"),ps=new i.OlP("MAT_MENU_PANEL"),Uc=to(ir(class{}));let Gc=(()=>{class n extends Uc{constructor(e,t,s,a,r){var c;super(),this._elementRef=e,this._focusMonitor=s,this._parentMenu=a,this._changeDetectorRef=r,this.role="menuitem",this._hovered=new De.xQ,this._focused=new De.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(c=null==a?void 0:a.addItem)||void 0===c||c.call(a,this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const t=this._elementRef.nativeElement.cloneNode(!0),s=t.querySelectorAll("mat-icon, .material-icons");for(let a=0;a{class n{constructor(e,t,s){this._elementRef=e,this._ngZone=t,this._defaultOptions=s,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.n_E,this._tabSubscription=P.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new De.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new i.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+W0++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=je(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=je(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(s=>{this._classList[s]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(s=>{this._classList[s]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new od(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(ci(this._directDescendantItems),(0,mi.w)(e=>(0,Li.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(ci(this._directDescendantItems),(0,mi.w)(t=>(0,Li.T)(...t.map(s=>s._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,s=this._keyManager;switch(t){case 27:cn(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===t||40===t)&&s.setFocusOrigin("keyboard"),void s.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let s=this._directDescendantItems.first._getHostElement().parentElement;for(;s;){if("menu"===s.getAttribute("role")){s.focus();break}s=s.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),s=`${this._elevationPrefix}${t}`,a=Object.keys(this._classList).find(r=>r.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(e=this.xPosition,t=this.yPosition){const s=this._classList;s["mat-menu-before"]="before"===e,s["mat-menu-after"]="after"===e,s["mat-menu-above"]="above"===t,s["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(ci(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(Xf))},n.\u0275dir=i.lG2({type:n,contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Ne,5),i.Suo(s,Gc,5),i.Suo(s,Gc,4)),2&e){let a;i.iGM(a=i.CRH())&&(t.lazyContent=a.first),i.iGM(a=i.CRH())&&(t._allItems=a),i.iGM(a=i.CRH())&&(t.items=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,5),2&e){let s;i.iGM(s=i.CRH())&&(t.templateRef=s.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),Qf=(()=>{class n extends Vc{constructor(e,t,s){super(e,t,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(Xf))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&i.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[i._Bn([{provide:ps,useExisting:n}]),i.qOj],ngContentSelectors:j,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,J,3,6,"ng-template"))},directives:[b.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[ie.transformMenu,ie.fadeInItems]},changeDetection:0}),n})();const Jf=new i.OlP("mat-menu-scroll-strategy"),Z0={provide:Jf,deps:[$i],useFactory:function K0(n){return()=>n.scrollStrategies.reposition()}},mS=Ko({passive:!0});let TD=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this._overlay=e,this._element=t,this._viewContainerRef=s,this._menuItemInstance=c,this._dir=d,this._focusMonitor=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=P.w.EMPTY,this._hoverSubscription=P.w.EMPTY,this._menuCloseSubscription=P.w.EMPTY,this._handleTouchStart=g=>{ad(g)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new i.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=r instanceof Vc?r:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,mS),c&&(c._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),("click"===t||"tab"===t)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,mS),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig(),s=t.positionStrategy;this._setPosition(s),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Vc&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(it(this.menu.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof Vc?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,qt.h)(s=>"void"===s.toState),(0,$t.q)(1),it(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Gn({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,s]="before"===this.menu.xPosition?["end","start"]:["start","end"],[a,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[c,d]=[a,r],[h,g]=[t,s],O=0;this.triggersSubmenu()?(g=t="before"===this.menu.xPosition?"start":"end",s=h="end"===t?"start":"end",O="bottom"===a?8:-8):this.menu.overlapTrigger||(c="top"===a?"bottom":"top",d="top"===r?"bottom":"top"),e.withPositions([{originX:t,originY:c,overlayX:h,overlayY:a,offsetY:O},{originX:s,originY:c,overlayX:g,overlayY:a,offsetY:O},{originX:t,originY:d,overlayX:h,overlayY:r,offsetY:-O},{originX:s,originY:d,overlayX:g,overlayY:r,offsetY:-O}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),s=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ke.of)(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,qt.h)(r=>r!==this._menuItemInstance),(0,qt.h)(()=>this._menuOpen)):(0,Ke.of)();return(0,Li.T)(e,s,a,t)}_handleMousedown(e){Pl(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;(13===t||32===t)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,qt.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,E.g)(0,Yi)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Vc&&this.menu._isAnimating?this.menu._animationDone.pipe((0,$t.q)(1),(0,E.g)(0,Yi),it(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new _c(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($i),i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(Jf),i.Y36(ps,8),i.Y36(Gc,10),i.Y36(Hn,8),i.Y36(So))},n.\u0275dir=i.lG2({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t._handleClick(a)})("mousedown",function(a){return t._handleMousedown(a)})("keydown",function(a){return t._handleKeydown(a)}),2&e&&i.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),_S=(()=>{class n extends TD{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[i.qOj]}),n})(),Tv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Z0],imports:[[b.ez,gt,io,Ll],Cn,gt]}),n})();var my=w(1737),CD=w(2474);const SD=["*"];let _y;function $0(n){var o;return(null===(o=function ED(){if(void 0===_y&&(_y=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(_y=n.trustedTypes.createPolicy("angular#components",{createHTML:o=>o}))}return _y}())||void 0===o?void 0:o.createHTML(n))||n}function bS(n){return Error(`Unable to find icon with the name "${n}"`)}function yS(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function AS(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Ud{constructor(o,e,t){this.url=o,this.svgText=e,this.options=t}}let X0=(()=>{class n{constructor(e,t,s,a){this._httpClient=e,this._sanitizer=t,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=s}addSvgIcon(e,t,s){return this.addSvgIconInNamespace("",e,t,s)}addSvgIconLiteral(e,t,s){return this.addSvgIconLiteralInNamespace("",e,t,s)}addSvgIconInNamespace(e,t,s,a){return this._addSvgIconConfig(e,t,new Ud(s,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,s,a){const r=this._sanitizer.sanitize(i.q3G.HTML,s);if(!r)throw AS(s);const c=$0(r);return this._addSvgIconConfig(e,t,new Ud("",c,a))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,s){return this._addSvgIconSetConfig(e,new Ud(t,null,s))}addSvgIconSetLiteralInNamespace(e,t,s){const a=this._sanitizer.sanitize(i.q3G.HTML,t);if(!a)throw AS(t);const r=$0(a);return this._addSvgIconSetConfig(e,new Ud("",r,s))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,e);if(!t)throw yS(e);const s=this._cachedIconsByUrl.get(t);return s?(0,Ke.of)(by(s)):this._loadSvgIconFromConfig(new Ud(e,null)).pipe((0,qi.b)(a=>this._cachedIconsByUrl.set(t,a)),(0,pt.U)(a=>by(a)))}getNamedSvgIcon(e,t=""){const s=wS(t,e);let a=this._svgIconConfigs.get(s);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(t,e),a)return this._svgIconConfigs.set(s,a),this._getSvgFromConfig(a);const r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):(0,my._)(bS(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ke.of)(by(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,pt.U)(t=>by(t)))}_getSvgFromIconSetConfigs(e,t){const s=this._extractIconWithNameFromAnySet(e,t);return s?(0,Ke.of)(s):bf(t.filter(r=>!r.svgText).map(r=>this._loadSvgIconSetFromConfig(r).pipe((0,On.K)(c=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(i.q3G.RESOURCE_URL,r.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(h)),(0,Ke.of)(null)})))).pipe((0,pt.U)(()=>{const r=this._extractIconWithNameFromAnySet(e,t);if(!r)throw bS(e);return r}))}_extractIconWithNameFromAnySet(e,t){for(let s=t.length-1;s>=0;s--){const a=t[s];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){const r=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(r,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,qi.b)(t=>e.svgText=t),(0,pt.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ke.of)(null):this._fetchIcon(e).pipe((0,qi.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,s){const a=e.querySelector(`[id="${t}"]`);if(!a)return null;const r=a.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,s);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),s);const c=this._svgElementFromString($0(""));return c.appendChild(r),this._setSvgAttributes(c,s)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const s=t.querySelector("svg");if(!s)throw Error(" tag not found");return s}_toSvgElement(e){const t=this._svgElementFromString($0("")),s=e.attributes;for(let a=0;a$0(g)),G(()=>this._inProgressUrlFetches.delete(c)),(0,CD.B)());return this._inProgressUrlFetches.set(c,h),h}_addSvgIconConfig(e,t,s){return this._svgIconConfigs.set(wS(e,t),s),this}_addSvgIconSetConfig(e,t){const s=this._iconSetConfigs.get(e);return s?s.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let s=0;so?o.pathname+o.search:""}}}),MS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],PD=MS.map(n=>`[${n}]`).join(", "),zD=/^url\(['"]?#(.*?)['"]?\)$/;let xn=(()=>{class n extends LD{constructor(e,t,s,a,r){super(e),this._iconRegistry=t,this._location=a,this._errorHandler=r,this._inline=!1,this._currentIconFetch=P.w.EMPTY,s||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=je(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let a=0;a{s.forEach(r=>{a.setAttribute(r.name,`url('${e}#${r.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(PD),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{const c=t[a],d=c.getAttribute(r),h=d?d.match(zD):null;if(h){let g=s.get(c);g||(g=[],s.set(c,g)),g.push({name:r,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,s]=this._splitIconName(e);t&&(this._svgNamespace=t),s&&(this._svgName=s),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,t).pipe((0,$t.q)(1)).subscribe(a=>this._setSvgElement(a),a=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${s}! ${a.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(X0),i.$8M("aria-hidden"),i.Y36(RD),i.Y36(i.qLn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(i.uIk("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),i.ekj("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.qOj],ngContentSelectors:SD,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),n})(),ep=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})(),vS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[C,Tv,ep,Lr,Tf,b.ez]]}),n})();var ID=w(655),ND=w(9441);const Q0=[5,10,25,100];function Ri(){const n=new gf;return n.disableClose=!0,n.autoFocus=!1,n}function Gd(n){return"virt"===n.namespace.split(":")[4]}const WD=new Intl.Collator("cs",{numeric:!0});function yy(n,o,e,t){const s=o.active,a=o.direction;return s&&""!==a?n.sort((r,c)=>{const d=e(r,s,t),h=e(c,s,t);return WD.compare(d,h)*("asc"===a?1:-1)}):n}function Ay(n,o,e,t,s,a){o=o.toLowerCase();let r="";return e.forEach(c=>{r+=";"+t(n,c,s)}),a&&(r+=";"+t(n,"uuid",s)),-1!==r.toLowerCase().indexOf(o)}function J0(n,o,e,t){const s=[],a=["checkbox","select","edit","menu","cite","extend","recent"];return o=o.filter(r=>!a.includes(r)),n.forEach(r=>{const c={};o.forEach(d=>{var h;c[d]=(null!==(h=e(r,d,t))&&void 0!==h?h:"").split('"').join("''").trim()}),s.push(c)}),s}function e1(n,o="csv",e="export"){if("csv"===o){const t=(d,h)=>null===h?"":h,s=Object.keys(n[0]),a=n.map(d=>s.map(h=>JSON.stringify(d[h],t)).join(","));a.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const r=a.join("\r\n"),c=new Blob([r],{type:"text/csv"});(0,ND.saveAs)(c,`${e}.${o}`)}}const TS="GUI_CONFIG.PREF_PAGE_SIZE.";let ZD=(()=>{class n{constructor(){}getString(e){return localStorage.getItem(e)}getNumber(e){return parseInt(localStorage.getItem(e),10)}setNumber(e,t){localStorage.setItem(e,t.toString())}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$D=(()=>{class n{constructor(e){this.guiConfigService=e}getTablePageSize(e){const t=this.guiConfigService.getNumber(TS+e);if(!isNaN(t))return t;const s=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE");return isNaN(s)?10:s}setTablePageSize(e,t){this.guiConfigService.setNumber(TS+e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ZD))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),XD=(()=>{class n{constructor(){this.exportData=new i.vpe}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-options"]],outputs:{exportData:"exportData"},decls:13,vars:5,consts:[[1,"position-right"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["exportOptions","matMenu"],["mat-menu-item","",3,"click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"button",1),i.TgZ(2,"mat-icon"),i._uU(3,"more_vert"),i.qZA(),i.qZA(),i.TgZ(4,"mat-menu",null,2),i.TgZ(6,"button",3),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.qZA(),i.TgZ(9,"mat-menu",null,4),i.TgZ(11,"button",5),i.NdJ("click",function(){return t.exportData.emit("csv")}),i._uU(12,"Csv"),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(5),a=i.MAs(10);i.xp6(1),i.Q6J("matMenuTriggerFor",s),i.xp6(5),i.Q6J("matMenuTriggerFor",a),i.xp6(1),i.hij(" ",i.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[Yt,_S,xn,Qf,Gc],pipes:[dt],styles:[""]}),n})();function QD(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(s){return i.CHM(e),i.oxw().exportData.emit(s)}),i.qZA()}}function JD(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(s){return i.CHM(e),i.oxw().exportData.emit(s)}),i.qZA()}}const e2=["*"];let La=(()=>{class n{constructor(e){this.tableConfigService=e,this.hideExport=!1,this.pageSizeOptions=Q0,this.dataLength=0,this.exportData=new i.vpe,this.pageSize=5}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}set matPaginator(e){this.paginator=e}pageChangedTop(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}pageChangedBottom(e){this.paginator.pageSize=e.pageSize,this.paginator.pageIndex=e.pageIndex,this.paginator.page.emit(e),this.pageSize=e.pageSize,this.tableId&&this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($D))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,t){if(1&e&&i.Gf(y,7),2&e){let s;i.iGM(s=i.CRH())&&(t.matPaginator=s.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:e2,decls:9,vars:9,consts:[[1,"card-body","pt-0"],[1,"row","justify-content-end","align-items-center"],[3,"length","pageSizeOptions","pageSize","page"],[3,"exportData",4,"ngIf"],[1,"overflow-auto","border-top"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],[3,"exportData"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"mat-paginator",2),i.NdJ("page",function(a){return t.pageChangedTop(a)}),i.qZA(),i.YNc(3,QD,1,0,"perun-web-apps-table-options",3),i.qZA(),i.TgZ(4,"div",4),i.Hsn(5),i.qZA(),i.TgZ(6,"div",1),i.TgZ(7,"mat-paginator",5),i.NdJ("page",function(a){return t.pageChangedBottom(a)}),i.qZA(),i.YNc(8,JD,1,0,"perun-web-apps-table-options",3),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("length",t.dataLength)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),i.xp6(1),i.Q6J("ngIf",!t.hideExport),i.xp6(4),i.Q6J("length",t.paginator.length)("pageIndex",t.paginator.pageIndex)("pageSizeOptions",t.paginator.pageSizeOptions)("pageSize",t.paginator.pageSize),i.xp6(1),i.Q6J("ngIf",!t.hideExport))},directives:[y,b.O5,XD],styles:[""]}),n})();class t2{static passwordMatchValidator(o){const e=o.get("passwordCtrl").value,t=o.get("passwordAgainCtrl").value;return o.get("passwordAgainCtrl").setErrors(e!==t?{noPasswordMatch:!0}:null),null}static patternValidator(o){return e=>{if(!e.value)return null;let t=0;for(const s of o)t+=s.test(e.value)?1:0;return t>=3?null:{isWeak:!0}}}}let Cv=(()=>{class n{constructor(e,t,s,a,r,c){this.authService=e,this.storeService=t,this.authResolver=s,this.authzService=a,this.dialog=r,this.router=c,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(e){this.loginScreenShown=e}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Ri();this.dialog.open(ib,t)}else this.storeService.setPerunPrincipal(e),this.authResolver.init(e)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(e=>{e()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const e=location.search.substr(1).split("&"),t={};for(const s of e){const a=s.split("=");t[a[0]]=a[1]}return this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"}).then(()=>null)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(nr),i.LFG(ti),i.LFG(Ga),i.LFG(Ki),i.LFG(Ii),i.LFG(ji))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),CS=(()=>{class n{constructor(e,t){this.matIconRegistry=e,this.domSanitizer=t,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(X0),i.LFG(_s))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),n2=(()=>{class n{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"div",2),i.TgZ(7,"div",3),i.TgZ(8,"button",4),i.NdJ("click",function(){return t.close()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),i.xp6(3),i.hij(" ",i.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),i.xp6(5),i.hij(" ",i.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[Sn,Fn,En,Yt],pipes:[dt],styles:[""]}),n})(),Sv=(()=>{class n{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),or=(()=>{class n{constructor(e){this.translate=e,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new i.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(e,t=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===e.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===e.name?t:t+"\n"+e.name,e,e.message)}showRouteError(){const e=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),t=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(e,null,t)}showError(e,t,s,a,r){this.addNotification.emit({type:"error",error:t,description:s,title:e,actionText:void 0===a&&void 0!==s?this.getDefaultActionMessage():a,delay:this.defaultErrorDelayMs,icon:"error_outline",action:r,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,s,a){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===s&&void 0!==t?this.getDefaultActionMessage():s,delay:this.defaultSuccessDelayMs,icon:"done",action:a,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ai))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),SS=(()=>{class n{constructor(e,t,s,a,r,c){this.authService=e,this.apiRequestConfiguration=t,this.notificator=s,this.store=a,this.dialog=r,this.initAuthService=c}intercept(e,t){const s=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==s&&-1!==e.url.toString().indexOf(s)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const c=Ri();c.width="450px",this.dialog.open(n2,c).afterClosed().subscribe(()=>{sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}e=this.initAuthService.isServiceAccess()?e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const a=this.apiRequestConfiguration.shouldHandleError(),r="POST"===e.method&&!this.store.skipOidc()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,qi.b)(c=>{c instanceof D.Zn&&r&&this.initAuthService.loadPrincipal()},c=>{const d=this.formatErrors(c,e);return void 0===d?(0,my._)(c):a?void this.notificator.showRPCError(d):(0,my._)(d)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let s;if(console.error(e),e.error.errorId?s=e.error:e.errorId&&(s=JSON.parse(e.error)),void 0!==s)return s.urlWithParams=t.urlWithParams,s.call=t.url,s.payload=t.body,s}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(nr),i.LFG(Sv),i.LFG(or),i.LFG(ti),i.LFG(Ii),i.LFG(Cv))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),ES=(()=>{class n{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(e){this.newNotificationsCount++,this.notificationData.push(e)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),s2=(()=>{class n{constructor(e,t,s,a){this.http=e,this.notificator=t,this.authService=s,this.storeService=a}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(e,t,s,a){const r=e.error;return r.call=t,r.payload=s,a&&this.notificator.showRPCError(e.error),(0,my._)(r)}getHeaders(){let e=new D.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue()),e}get(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.get(s,{headers:this.getHeaders()}).pipe((0,On.K)(a=>this.formatErrors(a,s,null,t)))}put(e,t={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(t);return this.http.put(a,r,{headers:this.getHeaders()}).pipe((0,On.K)(c=>this.formatErrors(c,a,r,s)))}post(e,t={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(t);let c=this.getHeaders();return c=c.set("Content-Type","application/json; charset=utf-8"),this.http.post(a,r,{headers:c}).pipe((0,On.K)(d=>this.formatErrors(d,a,r,s)))}delete(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.delete(s,{headers:this.getHeaders()}).pipe((0,On.K)(a=>this.formatErrors(a,s,null,t)))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(or),i.LFG(nr),i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),kS=(()=>{class n{constructor(){}isAllSelectedWithDisabledCheckbox(e,t,s,a,r,c,d,h){return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=r*s,this.pageEnd=this.pageStart+s,this.pageIterator=0,this.dataLength=""===t?c.data.length:c.filteredData.length,a||(this.modulo=this.dataLength%s,this.pageEnd=0===this.modulo?this.pageStart+s:this.pageStart+this.modulo),c.sortData(c.filteredData,d).forEach(g=>{this.pageStart<=this.pageIterator&&this.pageIterator{h?g(O)&&this.pageStart<=this.pageIterator&&this.pageIterator{class n{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),s=navigator.languages.map(c=>c.split("-")[0]),a=location.search.substr(1).split("&");let r=null;for(const c of a){const d=c.split("=");"lang"===d[0]&&(r=d[1])}return r&&t.includes(r)?r:e&&t.includes(e)?e:s&&t.includes(s[0])?s[0]:"en"}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Xn),i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),DS=(()=>{class n{constructor(e){this.storeService=e}static getBrandContainingDomain(e,t){for(const s of e)if(s.newApps.admin===t||s.newApps.profile===t||s.newApps.pwdReset===t)return s;return e[0]}getUrlForOtherApplication(e,t){const a=window.location.href.split("/"),r=a[0]+"//"+a[2],c=n.getBrandContainingDomain(this.storeService.getAppsConfig().brands,r);let d;if(c.newApps[e])d=c.newApps[e],"pwdReset"===e&&(d+=`?login-namespace=${t}`);else switch(d=c.oldGuiDomain+"/fed",e){case"admin":d+="/gui/";break;case"profile":d+="/profile/";break;case"pwdReset":d+=`/pwd-reset/?login-namespace=${t}`}return d}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();Ti("openClose",[ii("open",qe({overflow:"hidden"})),ii("closed",qe({height:"0px",overflow:"hidden"})),Ht("open <=> closed",[Ct(".3s ease-in")])]);const o2=Ti("flyInOut",[Ht(":enter",[qe({transform:"translateX(100%)"}),Ct(".25s")]),Ht(":leave",[Ct(".5s",qe({transform:"translateX(100%)"}))])]);Ti("rollInOut",[Ht(":enter",[qe({height:"0px"}),Ct(".25s")]),Ht(":leave",[Ct(".25s",qe({height:"0px"}))])]),Ti("routeAnimations",[Ht("* => *",[qe({position:"relative"}),Eo(":enter",[qe({width:"100%",opacity:0})],{optional:!0}),Eo(":leave",[qe({position:"absolute",width:"100%",opacity:1}),Ct("0.15s",qe({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),Eo(":enter",[qe({position:"absolute",width:"100%",opacity:0}),Ct("0.15s",qe({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),Ti("tagsOpenClose",[ii("open",qe({})),ii("closed",qe({width:"0px",height:"0px"})),Ht("open <=> closed",[Ct(".3s ease-in")])]),Ti("switchAnimations",[Ht("true => false",[Eo(":enter, :leave",qe({})),pg([Eo(":enter",[qe({transform:"translateX(-100%)"}),Ct("1s ease-in-out",qe({transform:"translateX(0%)"}))],{optional:!0}),Eo(":leave",[qe({transform:"translateX(0%)",position:"absolute"}),Ct("1s ease-in-out",qe({transform:"translateX(100%)"}))],{optional:!0})])]),Ht("false => true",[Eo(":enter, :leave",qe({})),pg([Eo(":enter",[qe({transform:"translateX(100%)"}),Ct("1s ease-in-out",qe({transform:"translateX(0%)"}))],{optional:!0}),Eo(":leave",[qe({transform:"translateX(0%)",position:"absolute"}),Ct("1s ease-in-out",qe({transform:"translateX(-100%)"}))],{optional:!0})])])]),Ti("slideInOutLeft",[Ht(":enter",[qe({transform:"translateX(-100%)",position:"relative"}),Ct("0.5s ease-in",qe({transform:"translateX(0%)"}))]),Ht(":leave",[Ct("0.5s ease-in",qe({transform:"translateX(-100%)"}))])]),Ti("slideInOutRight",[Ht(":enter",[qe({transform:"translateX(100%)",position:"fixed"}),Ct("0.5s ease-in",qe({transform:"translateX(0%)"}))]),Ht(":leave",[qe({transform:"translateX(-100%)",position:"relative"}),Ct("0.5s ease-in",qe({transform:"translateX(100%)"}))])]);let xS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez]]}),n})(),wy=(()=>{class n{transform(e){let s="";return null!==e.titleBefore&&(s+=e.titleBefore+" "),null!==e.firstName&&(s+=e.firstName+" "),null!==e.middleName&&(s+=e.middleName+" "),null!==e.lastName&&(s+=e.lastName+" "),null!==e.titleAfter&&(s+=e.titleAfter+" "),s.endsWith(" ")&&(s=s.substring(0,s.length-1)),s}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"userFullName",type:n,pure:!0}),n})(),Ci=(()=>{class n{constructor(e,t){this.translate=e,this.storage=t}transform(e,t="en"){const s=this.storage.get("custom_labels");if(s){const a=Object.keys(s);for(const r of a){const c=this.storage.get("custom_labels",r);if(c.label===e)return c[t]}}return e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ai,16),i.Y36(ti,16))},n.\u0275pipe=i.Yjl({name:"customTranslate",type:n,pure:!0}),n})();class r2{isErrorState(o){return!!(o&&o.invalid&&o.dirty)}}const a2=(n,o,e,t=500)=>s=>C1(t).pipe((0,mi.w)(()=>(e.dontHandleErrorForNext(),n&&"No namespace"!==n?o.checkPasswordStrength(s.value,n):(0,Ke.of)(null))),(0,pt.U)(()=>null),(0,On.K)(a=>(0,Ke.of)({backendError:a.error.message.substr(a.error.message.indexOf(":")+1)}))),LS=Ko({passive:!0});let c2=(()=>{class n{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return rs.E;const t=oi(e),s=this._monitoredElements.get(t);if(s)return s.subject;const a=new De.xQ,r="cdk-text-field-autofilled",c=d=>{"cdk-text-field-autofill-start"!==d.animationName||t.classList.contains(r)?"cdk-text-field-autofill-end"===d.animationName&&t.classList.contains(r)&&(t.classList.remove(r),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!1}))):(t.classList.add(r),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",c,LS),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:a,unlisten:()=>{t.removeEventListener("animationstart",c,LS)}}),a}stopMonitoring(e){const t=oi(e),s=this._monitoredElements.get(t);s&&(s.unlisten(),s.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),My=(()=>{class n{constructor(e,t,s,a){this._elementRef=e,this._platform=t,this._ngZone=s,this._destroyed=new De.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=r=>{this._hasFocus="focus"===r.type},this._document=a,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(e){this._minRows=on(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=on(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=je(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{ha(this._getWindow(),"resize").pipe(S1(16),it(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const e=this._textareaElement,t=e.style.marginBottom||"",s=this._platform.FIREFOX,a=s&&this._hasFocus,r=s?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";a&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(r);const c=e.scrollHeight-4;return e.classList.remove(r),a&&(e.style.marginBottom=t),c}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const t=this._elementRef.nativeElement,s=t.value;if(!e&&this._minRows===this._previousMinRows&&s===this._previousValue)return;const a=this._measureScrollHeight(),r=Math.max(a,this._cachedPlaceholderHeight||0);t.style.height=`${r}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(t)):setTimeout(()=>this._scrollToCaretPosition(t))}),this._previousValue=s,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:t,selectionEnd:s}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(t,s)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(i.R0b),i.Y36(b.K0,8))},n.\u0275dir=i.lG2({type:n,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,t){1&e&&i.NdJ("input",function(){return t._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),n})(),RS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[vl]]}),n})();const OS=new i.OlP("MAT_INPUT_VALUE_ACCESSOR"),l2=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let u2=0;const d2=qg(class{constructor(n,o,e,t){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=e,this.ngControl=t}});let qn=(()=>{class n extends d2{constructor(e,t,s,a,r,c,d,h,g,O){super(c,a,r,s),this._elementRef=e,this._platform=t,this._autofillMonitor=h,this._formField=O,this._uid="mat-input-"+u2++,this.focused=!1,this.stateChanges=new De.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(be=>Dh().has(be));const $=this._elementRef.nativeElement,oe=$.nodeName.toLowerCase();this._inputValueAccessor=d||$,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",be=>{const ve=be.target;!ve.value&&0===ve.selectionStart&&0===ve.selectionEnd&&(ve.setSelectionRange(1,1),ve.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===oe,this._isTextarea="textarea"===oe,this._isInFormField=!!O,this._isNativeSelect&&(this.controlType=$.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=je(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(kn.required))&&void 0!==a&&a}set required(e){this._required=je(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Dh().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=je(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const s=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(s!==this._previousPlaceholder){const a=this._elementRef.nativeElement;this._previousPlaceholder=s,s?a.setAttribute("placeholder",s):a.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){l2.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(Ro,10),i.Y36(Bc,8),i.Y36(Ir,8),i.Y36(Nc),i.Y36(OS,10),i.Y36(c2),i.Y36(i.R0b),i.Y36(Rd,8))},n.\u0275dir=i.lG2({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(i.Ikx("disabled",t.disabled)("required",t.required),i.uIk("id",t.id)("data-placeholder",t.placeholder)("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),i.ekj("mat-input-server",t._isServer)("mat-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[i._Bn([{provide:xd,useExisting:n}]),i.qOj,i.TTD]}),n})(),kv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Nc],imports:[[RS,xo,gt],RS,xo]}),n})();function h2(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function f2(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function p2(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function g2(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}const b2=va(class{constructor(n){this._elementRef=n}},"primary"),PS=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function y2(){return{diameter:100}}});class Wc extends b2{constructor(o,e,t,s,a,r,c,d){super(o),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=P.w.EMPTY,this.mode="determinate";const h=Wc._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),h.has(t.head)||h.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===s&&!!a&&!a._forceAnimations,a&&(a.diameter&&(this.diameter=a.diameter),a.strokeWidth&&(this.strokeWidth=a.strokeWidth)),e.isBrowser&&e.SAFARI&&c&&r&&d&&(this._resizeSubscription=c.change(150).subscribe(()=>{"indeterminate"===this.mode&&d.run(()=>r.markForCheck())}))}get diameter(){return this._diameter}set diameter(o){this._diameter=on(o),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(o){this._strokeWidth=on(o)}get value(){return"determinate"===this.mode?this._value:0}set value(o){this._value=Math.max(0,Math.min(100,on(o)))}ngOnInit(){const o=this._elementRef.nativeElement;this._styleRoot=Sl(o)||this._document.head,this._attachStyleNode(),o.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const o=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${o} ${o}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(o){var e;const t=50*(null!==(e=o.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const o=this._styleRoot,e=this._diameter,t=Wc._diameters;let s=t.get(o);if(!s||!s.has(e)){const a=this._document.createElement("style");a.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),a.textContent=this._getAnimationText(),o.appendChild(a),s||(s=new Set,t.set(o,s)),s.add(e)}}_getAnimationText(){const o=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*o).replace(/END_VALUE/g,""+.2*o).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Wc._diameters=new WeakMap,Wc.\u0275fac=function(o){return new(o||Wc)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(b.K0,8),i.Y36(Bn,8),i.Y36(PS),i.Y36(i.sBO),i.Y36(Ms),i.Y36(i.R0b))},Wc.\u0275cmp=i.Xpm({type:Wc,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(o,e){2&o&&(i.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[i.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(o,e){1&o&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,h2,1,11,"circle",2),i.YNc(3,f2,1,9,"circle",3),i.qZA()),2&o&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===e.mode),i.uIk("viewBox",e._getViewBox()),i.xp6(2),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let Jn=(()=>{class n extends Wc{constructor(e,t,s,a,r,c,d,h){super(e,t,s,a,r,c,d,h),this.mode="indeterminate"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(b.K0,8),i.Y36(Bn,8),i.Y36(PS),i.Y36(i.sBO),i.Y36(Ms),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(i.Udp("width",t.diameter,"px")("height",t.diameter,"px"),i.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[i.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,p2,1,11,"circle",2),i.YNc(3,g2,1,9,"circle",3),i.qZA()),2&e&&(i.Udp("width",t.diameter,"px")("height",t.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===t.mode),i.uIk("viewBox",t._getViewBox()),i.xp6(2),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),n})(),xv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt,b.ez],gt]}),n})();function w2(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," info "),i.qZA())}function M2(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," warning "),i.qZA())}function v2(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," dangerous "),i.qZA())}function T2(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," check_circle "),i.qZA())}const C2=["*"];let es=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:C2,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,w2,2,0,"mat-icon",1),i.YNc(2,M2,2,0,"mat-icon",1),i.YNc(3,v2,2,0,"mat-icon",1),i.YNc(4,T2,2,0,"mat-icon",1),i.Hsn(5),i.qZA()),2&e&&(i.ekj("warn-alert","warn"===t.alert_type)("error-alert","error"===t.alert_type)("success-alert","success"===t.alert_type)("info-alert","info"===t.alert_type),i.xp6(1),i.Q6J("ngIf","info"===t.alert_type),i.xp6(1),i.Q6J("ngIf","warn"===t.alert_type),i.xp6(1),i.Q6J("ngIf","error"===t.alert_type),i.xp6(1),i.Q6J("ngIf","success"===t.alert_type))},directives:[b.O5,xn],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),n})();function S2(n,o){1&n&&i._UZ(0,"mat-spinner",12),2&n&&i.Q6J("diameter",18)}function E2(n,o){if(1&n&&(i.TgZ(0,"mat-icon",13),i._uU(1," error "),i.qZA()),2&n){const e=i.oxw();i.Q6J("matTooltip",e.getErrorTooltip())("matTooltipDisabled",!e.formGroup.get("passwordCtrl").hasError("backendError"))}}function k2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function D2(n,o){if(1&n&&(i.TgZ(0,"mat-error",14),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.Q6J("matTooltip",e.getErrorTooltip()),i.xp6(1),i.Oqu(e.getErrorTooltip())}}function x2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function L2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let R2=(()=>{class n{constructor(e,t,s){this.translator=e,this.usersManagerService=t,this.store=s,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.multiLanguage=!1,this.language="en",this.allPasswordRequirements=this.store.get("password_requirements_help"),this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new r2}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{const t=e.userAttributes.find(s=>"preferredLanguage"===s.friendlyName);this.language=t&&t.value?t.value.toString():"en","en"!==this.language&&(this.allPasswordRequirements=this.store.get(`password_requirements_help_${this.language}`)),this.changeHelp()}):this.changeHelp()}ngOnChanges(){this.allPasswordRequirements=this.store.get("en"!==this.language?`password_requirements_help_${this.language}`:"password_requirements_help"),this.changeHelp()}getPasswordDisabledTooltip(){return this.translator.instant(this.tooltipPwdViaEmail?"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_VIA_EMAIL":"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_DISABLED")}getErrorTooltip(){let e=this.formGroup.get("passwordCtrl").getError("backendError");return e&&(e=e.replace(":null","")),e}changeHelp(){this.passwordRequirement=this.allPasswordRequirements.find(e=>e.split(":")[0]===this.namespace),this.passwordRequirement=void 0===this.passwordRequirement?this.allPasswordRequirements.find(e=>"default"===e.split(":")[0]).split(/:(.+)/)[1]:this.passwordRequirement.split(/:(.+)/)[1]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ai),i.Y36(Tt),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[i.TTD],decls:21,vars:23,consts:[[3,"formGroup"],["matTooltipPosition","left",1,"max-width",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","passwordCtrl",3,"type","required","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["matSuffix","",3,"click"],["color","warn","matSuffix","","class","error-icon",3,"matTooltip","matTooltipDisabled",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","after",3,"matTooltip",4,"ngIf"],[1,"max-width"],["matInput","","formControlName","passwordAgainCtrl",3,"type","required"],["alert_type","info"],[3,"innerHTML"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",1,"error-icon",3,"matTooltip","matTooltipDisabled"],["matTooltipPosition","after",3,"matTooltip"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"mat-form-field",1),i._UZ(2,"input",2),i.ALo(3,"translate"),i.YNc(4,S2,1,1,"mat-spinner",3),i.TgZ(5,"mat-icon",4),i.NdJ("click",function(){return t.showNewPassword=!t.showNewPassword}),i._uU(6),i.qZA(),i.YNc(7,E2,2,2,"mat-icon",5),i.YNc(8,k2,3,3,"mat-error",6),i.YNc(9,D2,2,2,"mat-error",7),i.qZA(),i.TgZ(10,"mat-form-field",8),i.TgZ(11,"mat-label"),i._uU(12),i.ALo(13,"translate"),i.qZA(),i._UZ(14,"input",9),i.TgZ(15,"mat-icon",4),i.NdJ("click",function(){return t.showPasswordConfirm=!t.showPasswordConfirm}),i._uU(16),i.qZA(),i.YNc(17,x2,3,3,"mat-error",6),i.YNc(18,L2,3,3,"mat-error",6),i.qZA(),i.TgZ(19,"app-alert",10),i._UZ(20,"div",11),i.qZA(),i.qZA()),2&e&&(i.Q6J("formGroup",t.formGroup),i.xp6(1),i.Q6J("matTooltip",t.getPasswordDisabledTooltip())("matTooltipDisabled",t.formGroup.get("passwordCtrl").enabled),i.xp6(1),i.s9C("placeholder",i.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),i.Q6J("type",t.showNewPassword?"text":"password")("required",t.passwordRequired)("errorStateMatcher",t.passwordStateMatcher),i.xp6(2),i.Q6J("ngIf",t.formGroup.get("passwordCtrl").pending),i.xp6(2),i.hij(" ",t.showNewPassword?"visibility_off":"visibility"," "),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordCtrl").dirty&&null!==t.formGroup.get("passwordCtrl").errors),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("required")),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("backendError")),i.xp6(3),i.Oqu(i.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),i.xp6(2),i.Q6J("type",t.showPasswordConfirm?"text":"password")("required",t.passwordRequired),i.xp6(2),i.hij(" ",t.showPasswordConfirm?"visibility_off":"visibility"," "),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("required")),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),i.xp6(2),i.Q6J("innerHTML",t.passwordRequirement,i.oJD))},directives:[Jl,Ir,un,fs,qn,bn,dn,R0,vs,b.O5,Jn,pb,xn,Zl,no,es],pipes:[dt],styles:[".max-width[_ngcontent-%COMP%]{width:100%!important}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:5px}.error-icon[_ngcontent-%COMP%]{margin-left:5px}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:static!important;position:initial!important;display:block;margin-top:-1px}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper, [_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:static!important;position:initial!important;display:table}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}"]}),n})();function B2(n,o){1&n&&i._UZ(0,"mat-spinner",7)}function F2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function q2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function j2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",8),i.TgZ(1,"mat-form-field"),i.TgZ(2,"mat-label"),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.TgZ(5,"input",9,10),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().subject=s}),i.qZA(),i.YNc(7,F2,3,3,"mat-error",11),i.qZA(),i.TgZ(8,"mat-form-field"),i.TgZ(9,"mat-label"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.TgZ(12,"textarea",12,13),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().message=s}),i.ALo(14,"translate"),i._uU(15," "),i.qZA(),i.YNc(16,q2,3,3,"mat-error",11),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(6),t=i.MAs(13),s=i.oxw();i.xp6(3),i.Oqu(i.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),i.xp6(2),i.Q6J("ngModel",s.subject),i.xp6(2),i.Q6J("ngIf",e.invalid),i.xp6(3),i.Oqu(i.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),i.xp6(2),i.s9C("placeholder",i.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),i.Q6J("ngModel",s.message),i.xp6(4),i.Q6J("ngIf",t.invalid)}}let Y2=(()=>{class n{constructor(e,t,s,a,r,c){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=a,this.data=r,this.storeService=c,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+e.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const e=this.storeService.get("config");let t=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(t=t.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),t=t.concat(this.data.error.message+"\nPerun instance: "+e+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const s=/"password":".+?"/;let a=JSON.stringify(this.data.error.payload);a=a.replace(s,'"password":"####"'),t=t.concat("Payload:\n"+a+"\n\n")}return t=t.concat("Sended from new Perun Gui, version: "+w(4147).i8),t.split("\n").join("\n ")}parseMethod(e){return e&&this.methodRegexp.exec(e)[1]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Ai),i.Y36(or),i.Y36(ni),i.Y36(Xi),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-bug-report-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"],["messageModel","ngModel"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.YNc(3,B2,1,0,"mat-spinner",1),i.YNc(4,j2,17,13,"div",2),i.TgZ(5,"div",3),i.TgZ(6,"div",4),i.TgZ(7,"button",5),i.NdJ("click",function(){return t.dialogRef.close()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",6),i.NdJ("click",function(){return t.sendBugReport()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(4),i.hij(" ",i.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),i.xp6(2),i.Q6J("disabled",""===t.message||""===t.subject||t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[Sn,b.O5,Jn,Fn,un,no,qn,bn,vs,dn,zr,Zl,En,Yt],pipes:[dt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),U2=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.dialog=t,this.data=s}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const e=Ri();e.width="550px",e.data={error:this.data.error},e.autoFocus=!1,this.dialog.open(Y2,e)}),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Ii),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notification-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"hidden","click"],["autofocus","","mat-button","",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.qZA(),i.TgZ(2,"div",1),i._uU(3),i.qZA(),i.TgZ(4,"div",2),i.TgZ(5,"div",3),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.onBugReportClick()}),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.TgZ(9,"button",5),i.NdJ("click",function(){return t.onCloseClick()}),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(t.data.title),i.xp6(2),i.hij(" ",t.data.description,"\n"),i.xp6(3),i.Q6J("hidden","error"!==t.data.type),i.xp6(1),i.hij(" ",i.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),i.xp6(3),i.hij(" ",i.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[Sn,Fn,En,Yt],pipes:[dt],styles:[""]}),n})();const G2=[[["caption"]],[["colgroup"],["col"]]],V2=["caption","colgroup, col"];function Lv(n){return class extends n{constructor(...o){super(...o),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(o){const e=this._sticky;this._sticky=je(o),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const o=this._hasStickyChanged;return this._hasStickyChanged=!1,o}resetStickyChanged(){this._hasStickyChanged=!1}}}const tp=new i.OlP("CDK_TABLE");let ip=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCellDef",""]]}),n})(),np=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),vy=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class $2{}const X2=Lv($2);let Kc=(()=>{class n extends X2{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const t=this._stickyEnd;this._stickyEnd=je(e),this._hasStickyChanged=t!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(tp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,ip,5),i.Suo(s,np,5),i.Suo(s,vy,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.cell=a.first),i.iGM(a=i.CRH())&&(t.headerCell=a.first),i.iGM(a=i.CRH())&&(t.footerCell=a.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})();class Rv{constructor(o,e){e.nativeElement.classList.add(...o._columnCssClassName)}}let Ov=(()=>{class n extends Rv{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Kc),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i.qOj]}),n})(),Pv=(()=>{class n extends Rv{constructor(e,t){var s;if(super(e,t),1===(null===(s=e._table)||void 0===s?void 0:s._elementRef.nativeElement.nodeType)){const a=e._table._elementRef.nativeElement.getAttribute("role");t.nativeElement.setAttribute("role","grid"===a||"treegrid"===a?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Kc),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[i.qOj]}),n})();class IS{constructor(){this.tasks=[],this.endTasks=[]}}const zv=new i.OlP("_COALESCED_STYLE_SCHEDULER");let NS=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new De.xQ}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new IS,this._getScheduleObservable().pipe(it(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new IS;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,Mn.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,$t.q)(1))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Iv=(()=>{class n{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){const t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof t1?e.headerCell.template:this instanceof n1?e.footerCell.template:e.cell.template}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4))},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();class Q2 extends Iv{}const J2=Lv(Q2);let t1=(()=>{class n extends J2{constructor(e,t,s){super(e,t),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(tp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})();class ex extends Iv{}const tx=Lv(ex);let n1=(()=>{class n extends tx{constructor(e,t,s){super(e,t),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(tp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})(),Ty=(()=>{class n extends Iv{constructor(e,t,s){super(e,t),this._table=s}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(tp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.qOj]}),n})(),Zc=(()=>{class n{constructor(e){this._viewContainer=e,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),Nv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),Bv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),Cy=(()=>{class n{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const HS=["top","bottom","left","right"];class ix{constructor(o,e,t,s,a=!0,r=!0,c){this._isNativeHtmlTable=o,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=s,this._isBrowser=a,this._needsPositionStickyOnElement=r,this._positionListener=c,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(o,e){const t=[];for(const s of o)if(s.nodeType===s.ELEMENT_NODE){t.push(s);for(let a=0;a{for(const s of t)this._removeStickyStyle(s,e)})}updateStickyColumns(o,e,t,s=!0){if(!o.length||!this._isBrowser||!e.some($=>$)&&!t.some($=>$))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const a=o[0],r=a.children.length,c=this._getCellWidths(a,s),d=this._getStickyStartColumnPositions(c,e),h=this._getStickyEndColumnPositions(c,t),g=e.lastIndexOf(!0),O=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const $="rtl"===this.direction,oe=$?"right":"left",be=$?"left":"right";for(const ve of o)for(let Le=0;Lee[Le]?ve:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===O?[]:c.slice(O).map((ve,Le)=>t[Le+O]?ve:null).reverse()}))})}stickRows(o,e,t){if(!this._isBrowser)return;const s="bottom"===t?o.slice().reverse():o,a="bottom"===t?e.slice().reverse():e,r=[],c=[],d=[];for(let g=0,O=0;g{var g,O;for(let $=0;${e.some(s=>!s)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(o,e){for(const s of e)o.style[s]="",o.classList.remove(this._borderCellCss[s]);HS.some(s=>-1===e.indexOf(s)&&o.style[s])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,e,t,s){o.classList.add(this._stickCellCss),s&&o.classList.add(this._borderCellCss[e]),o.style[e]=`${t}px`,o.style.zIndex=this._getCalculatedZIndex(o),this._needsPositionStickyOnElement&&(o.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(o){const e={top:100,bottom:10,left:1,right:1};let t=0;for(const s of HS)o.style[s]&&(t+=e[s]);return t?`${t}`:""}_getCellWidths(o,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const t=[],s=o.children;for(let a=0;a0;a--)e[a]&&(t[a]=s,s+=o[a]);return t}}const Fv=new i.OlP("CDK_SPL");let Sy=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","rowOutlet",""]]}),n})(),Ey=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),ky=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),Dy=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),xy=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$,oe){this._differs=e,this._changeDetectorRef=t,this._elementRef=s,this._dir=r,this._platform=d,this._viewRepeater=h,this._coalescedStyleScheduler=g,this._viewportRuler=O,this._stickyPositioningListener=$,this._ngZone=oe,this._onDestroy=new De.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new i.vpe,this.viewChange=new Bi({start:0,end:Number.MAX_VALUE}),a||this._elementRef.nativeElement.setAttribute("role","table"),this._document=c,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=je(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=je(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe(it(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Rr(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(s,a,r)=>this._getEmbeddedViewArgs(s.item,r),s=>s.item.data,s=>{1===s.operation&&s.context&&this._renderCellTemplateForItem(s.record.item.rowDef,s.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(s=>{t.get(s.currentIndex).context.$implicit=s.item.data}),this._updateNoDataRow(),this._ngZone&&i.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,$t.q)(1),it(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),s=this._elementRef.nativeElement.querySelector("thead");s&&(s.style.display=e.length?"":"none");const a=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,a,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),s=this._elementRef.nativeElement.querySelector("tfoot");s&&(s.style.display=e.length?"":"none");const a=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,a,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,a),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),s=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...s],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((a,r)=>{this._addStickyColumnStyles([a],this._headerRowDefs[r])}),this._rowDefs.forEach(a=>{const r=[];for(let c=0;c{this._addStickyColumnStyles([a],this._footerRowDefs[r])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let s=0;s{const c=s&&s.has(r)?s.get(r):[];if(c.length){const d=c.shift();return d.dataIndex=t,d}return{data:e,rowDef:r,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ly(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Ly(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ly(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ly(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(r,c)=>r||!!c.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const s=this._headerRowDefs.reduce(e,!1);s&&this._forceRenderHeaderRows();const a=this._footerRowDefs.reduce(e,!1);return a&&this._forceRenderFooterRows(),t||s||a}_switchDataSource(e){this._data=[],Rr(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Rr(this.dataSource)?e=this.dataSource.connect(this):sr(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,Ke.of)(this.dataSource)),this._renderChangeSubscription=e.pipe(it(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){const s=Array.from(t.columns||[]).map(c=>this._columnDefsByName.get(c)),a=s.map(c=>c.sticky),r=s.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(e,a,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let s=0;s!a.when||a.when(t,e));else{let a=this._rowDefs.find(r=>r.when&&r.when(t,e))||this._defaultRowDef;a&&s.push(a)}return s}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,s,a={}){const r=e.viewContainer.createEmbeddedView(t.template,a,s);return this._renderCellTemplateForItem(t,a),r}_renderCellTemplateForItem(e,t){for(let s of this._getCellTemplates(e))Zc.mostRecentCellOutlet&&Zc.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,s=e.length;t{const s=this._columnDefsByName.get(t);return e.extractCellTemplate(s)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),t=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const s of t){const a=this._document.createElement(s.tag);a.setAttribute("role","rowgroup");for(const r of s.outlets)a.appendChild(r.elementRef.nativeElement);e.appendChild(a)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(t,s)=>t||s.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new ix(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,Ke.of)()).pipe(it(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const t=0===this._rowOutlet.viewContainer.length;if(t===this._isShowingNoDataRow)return;const s=this._noDataRowOutlet.viewContainer;if(t){const a=s.createEmbeddedView(e.templateRef),r=a.rootNodes[0];1===a.rootNodes.length&&(null==r?void 0:r.nodeType)===this._document.ELEMENT_NODE&&(r.setAttribute("role","row"),r.classList.add(e._contentClassName))}else s.clear();this._isShowingNoDataRow=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.ZZ4),i.Y36(i.sBO),i.Y36(i.SBq),i.$8M("role"),i.Y36(Hn,8),i.Y36(b.K0),i.Y36(Ei),i.Y36($l),i.Y36(zv),i.Y36(Ms),i.Y36(Fv,12),i.Y36(i.R0b,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Cy,5),i.Suo(s,Kc,5),i.Suo(s,Ty,5),i.Suo(s,t1,5),i.Suo(s,n1,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._noDataRow=a.first),i.iGM(a=i.CRH())&&(t._contentColumnDefs=a),i.iGM(a=i.CRH())&&(t._contentRowDefs=a),i.iGM(a=i.CRH())&&(t._contentHeaderRowDefs=a),i.iGM(a=i.CRH())&&(t._contentFooterRowDefs=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(Sy,7),i.Gf(Ey,7),i.Gf(ky,7),i.Gf(Dy,7)),2&e){let s;i.iGM(s=i.CRH())&&(t._rowOutlet=s.first),i.iGM(s=i.CRH())&&(t._headerRowOutlet=s.first),i.iGM(s=i.CRH())&&(t._footerRowOutlet=s.first),i.iGM(s=i.CRH())&&(t._noDataRowOutlet=s.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("cdk-table-fixed-layout",t.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[i._Bn([{provide:tp,useExisting:n},{provide:$l,useClass:a0},{provide:zv,useClass:NS},{provide:Fv,useValue:null}])],ngContentSelectors:V2,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(G2),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[Ey,Sy,Dy,ky],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})();function Ly(n,o){return n.concat(Array.from(o))}let sx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[kl]]}),n})();const ox=[[["caption"]],[["colgroup"],["col"]]],rx=["caption","colgroup, col"];let Ra=(()=>{class n extends xy{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-table-fixed-layout",t.fixedLayout)},exportAs:["matTable"],features:[i._Bn([{provide:$l,useClass:a0},{provide:xy,useExisting:n},{provide:tp,useExisting:n},{provide:zv,useClass:NS},{provide:Fv,useValue:null}]),i.qOj],ngContentSelectors:rx,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(ox),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[Ey,Sy,Dy,ky],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})(),Nr=(()=>{class n extends ip{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matCellDef",""]],features:[i._Bn([{provide:ip,useExisting:n}]),i.qOj]}),n})(),Hr=(()=>{class n extends np{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderCellDef",""]],features:[i._Bn([{provide:np,useExisting:n}]),i.qOj]}),n})(),Br=(()=>{class n extends Kc{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i._Bn([{provide:Kc,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})(),Fr=(()=>{class n extends Ov{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[i.qOj]}),n})(),qr=(()=>{class n extends Pv{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[i.qOj]}),n})(),Oa=(()=>{class n extends t1{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i._Bn([{provide:t1,useExisting:n}]),i.qOj]}),n})(),Pa=(()=>{class n extends Ty{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[i._Bn([{provide:Ty,useExisting:n}]),i.qOj]}),n})(),za=(()=>{class n extends Nv{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[i._Bn([{provide:Nv,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),Ia=(()=>{class n extends Bv{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[i._Bn([{provide:Bv,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),FS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[sx,gt],gt]}),n})();class $c extends class _x extends class mb{}{constructor(o=[]){super(),this._renderData=new Bi([]),this._filter=new Bi(""),this._internalPageChanges=new De.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const s=e[t];if(b1(s)){const a=Number(s);return a<9007199254740991?a:s}return s},this.sortData=(e,t)=>{const s=t.active,a=t.direction;return s&&""!=a?e.sort((r,c)=>{let d=this.sortingDataAccessor(r,s),h=this.sortingDataAccessor(c,s);const g=typeof d,O=typeof h;g!==O&&("number"===g&&(d+=""),"number"===O&&(h+=""));let $=0;return null!=d&&null!=h?d>h?$=1:d{const s=Object.keys(e).reduce((r,c)=>r+e[c]+"\u25ec","").toLowerCase(),a=t.trim().toLowerCase();return-1!=s.indexOf(a)},this._data=new Bi(o),this._updateChangeSubscription()}get data(){return this._data.value}set data(o){o=Array.isArray(o)?o:[],this._data.next(o),this._renderChangesSubscription||this._filterData(o)}get filter(){return this._filter.value}set filter(o){this._filter.next(o),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(o){this._sort=o,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(o){this._paginator=o,this._updateChangeSubscription()}_updateChangeSubscription(){var o;const e=this._sort?(0,Li.T)(this._sort.sortChange,this._sort.initialized):(0,Ke.of)(null),t=this._paginator?(0,Li.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,Ke.of)(null),a=(0,Gr.aj)([this._data,this._filter]).pipe((0,pt.U)(([d])=>this._filterData(d))),r=(0,Gr.aj)([a,e]).pipe((0,pt.U)(([d])=>this._orderData(d))),c=(0,Gr.aj)([r,t]).pipe((0,pt.U)(([d])=>this._pageData(d)));null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=c.subscribe(d=>this._renderData.next(d))}_filterData(o){return this.filteredData=null==this.filter||""===this.filter?o:o.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(o){return this.sort?this.sortData(o.slice(),this.sort):o}_pageData(o){if(!this.paginator)return o;const e=this.paginator.pageIndex*this.paginator.pageSize;return o.slice(e,e+this.paginator.pageSize)}_updatePaginator(o){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=o,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,s=Math.min(e.pageIndex,t);s!==e.pageIndex&&(e.pageIndex=s,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var o;null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=null}}{}function bx(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function yx(n,o){1&n&&i._UZ(0,"th",15)}function Ax(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.extSource.name," ")}}function wx(n,o){1&n&&i._UZ(0,"tr",17)}function Mx(n,o){1&n&&i._UZ(0,"tr",18)}function vx(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",4),i.TgZ(2,"p"),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i.TgZ(6,"div",5),i._uU(7),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.TgZ(10,"table",6),i.ynx(11,7),i.YNc(12,yx,1,0,"th",8),i.YNc(13,Ax,2,1,"td",9),i.BQk(),i.YNc(14,wx,1,0,"tr",10),i.YNc(15,Mx,1,0,"tr",11),i.qZA(),i.qZA(),i.TgZ(16,"div",12),i.TgZ(17,"button",13),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(18),i.ALo(19,"translate"),i.ALo(20,"customTranslate"),i.qZA(),i.TgZ(21,"button",14),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(22),i.ALo(23,"translate"),i.ALo(24,"customTranslate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.hij(" ",i.lcZ(4,7,i.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),i.xp6(4),i.hij(" ",i.lcZ(8,11,i.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),i.xp6(3),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns),i.xp6(3),i.hij(" ",i.lcZ(19,15,i.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),i.xp6(4),i.hij(" ",i.lcZ(23,19,i.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let Tx=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.usersManagerService=s,this.translate=a,this.notificator=r,this.force=!1,this.displayedColumns=["name"],a.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(c=>this.successMessage=c)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new $c(this.data.extSources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.extSources.length?this.usersManagerService.removeUserExtSource(this.data.userId,this.data.extSources.pop().userExtSource.id,this.force).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):(this.loading=!1,this.data.showSuccess&&this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(Tt),i.Y36(Ai),i.Y36(or))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-user-ext-source-dialog"]],decls:7,vars:10,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div"),i.YNc(5,bx,1,0,"mat-spinner",1),i.YNc(6,vx,25,23,"div",2),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,6,i.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE")),"\n"),i.xp6(3),i.Tol(t.theme),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,b.O5,Jn,Fn,Ra,Br,Hr,Fr,Nr,qr,Oa,za,Pa,Ia,En,Yt],pipes:[dt,Ci],styles:[""]}),n})();class Cx{constructor(o,e){this._document=e;const t=this._textarea=this._document.createElement("textarea"),s=t.style;s.position="fixed",s.top=s.opacity="0",s.left="-999em",t.setAttribute("aria-hidden","true"),t.value=o,this._document.body.appendChild(t)}copy(){const o=this._textarea;let e=!1;try{if(o){const t=this._document.activeElement;o.select(),o.setSelectionRange(0,o.value.length),e=this._document.execCommand("copy"),t&&t.focus()}}catch(t){}return e}destroy(){const o=this._textarea;o&&(o.remove(),this._textarea=void 0)}}let Sx=(()=>{class n{constructor(e){this._document=e}copy(e){const t=this.beginCopy(e),s=t.copy();return t.destroy(),s}beginCopy(e){return new Cx(e,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Ex=new i.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let qv=(()=>{class n{constructor(e,t,s){this._clipboard=e,this._ngZone=t,this.text="",this.attempts=1,this.copied=new i.vpe,this._pending=new Set,s&&null!=s.attempts&&(this.attempts=s.attempts)}copy(e=this.attempts){if(e>1){let t=e;const s=this._clipboard.beginCopy(this.text);this._pending.add(s);const a=()=>{const r=s.copy();r||!--t||this._destroyed?(this._currentTimeout=null,this._pending.delete(s),s.destroy(),this.copied.emit(r)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(a,1))};a()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Sx),i.Y36(i.R0b),i.Y36(Ex,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),n})(),qS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),Ry=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.value=this.data.value,this.title=this.data.title}onCancel(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-show-value-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","overflow-hidden"],["cdkTextareaAutosize","","matInput","","readonly","",1,"w-100","display-fix"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"cdkCopyToClipboard"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.qZA(),i.TgZ(2,"div",1),i.TgZ(3,"textarea",2),i._uU(4),i.qZA(),i.qZA(),i.TgZ(5,"div",3),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.onCancel()}),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.TgZ(9,"button",5),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(t.title),i.xp6(3),i.Oqu(t.value),i.xp6(3),i.hij(" ",i.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),i.xp6(2),i.Q6J("cdkCopyToClipboard",t.value),i.xp6(1),i.hij(" ",i.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[Sn,Fn,My,qn,En,Yt,qv],pipes:[dt],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),n})(),kx=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t,this.attributeValue=""}ngOnInit(){this.attributeValue=this.data.attribute.value[this.data.index]}cancel(){this.dialogRef.close()}submit(){this.data.attribute.value[this.data.index]=this.attributeValue,this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-list-edit-dialog"]],decls:13,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["cdkTextareaAutosize","true","matInput","",3,"ngModel","ngModelChange"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h5",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"mat-form-field"),i.TgZ(5,"textarea",2),i.NdJ("ngModelChange",function(a){return t.attributeValue=a}),i.qZA(),i.qZA(),i.qZA(),i.TgZ(6,"div",3),i.TgZ(7,"button",4),i.NdJ("click",function(){return t.cancel()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",5),i.NdJ("click",function(){return t.submit()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE"),"\n"),i.xp6(4),i.Q6J("ngModel",t.attributeValue),i.xp6(3),i.hij(" ",i.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),i.xp6(3),i.hij(" ",i.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[Sn,Fn,un,My,qn,bn,dn,zr,En,Yt],pipes:[dt],styles:[""]}),n})(),Dx=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-list-delete-dialog"]],decls:16,vars:13,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"mt-2","font-weight-bold"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h5",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"div"),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"div",2),i._uU(8),i.qZA(),i.qZA(),i.TgZ(9,"div",3),i.TgZ(10,"button",4),i.NdJ("click",function(){return t.cancel()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.TgZ(13,"button",5),i.NdJ("click",function(){return t.submit()}),i._uU(14),i.ALo(15,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE"),"\n"),i.xp6(4),i.hij(" ",i.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),i.xp6(3),i.hij(" ",t.data.name," "),i.xp6(3),i.hij(" ",i.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),i.xp6(3),i.hij(" ",i.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[Sn,Fn,En,Yt],pipes:[dt],styles:[""]}),n})();function xx(n,o){if(1&n&&(i.TgZ(0,"app-alert",9),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.pendingEmailsMessage)}}function Lx(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let Rx=(()=>{class n{constructor(e,t,s,a,r,c){this.dialogRef=e,this.data=t,this.translate=s,this.notificator=a,this.usersManagerService=r,this.authService=c,this.pendingMails=[],s.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(d=>this.successMessage=d),s.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(d=>this.pendingEmailsMessageStart=d),s.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(d=>this.pendingEmailsMessageEnd=d)}ngOnInit(){this.emailControl=new ds(null,[kn.required,kn.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(e=>{this.pendingMails=e.filter((s,a,r)=>a===r.indexOf(s));let t="";this.pendingMails.forEach(s=>t+=`${s===this.pendingMails[0]?"":", "}${s}`),console.log(t),this.pendingEmailsMessage=this.pendingEmailsMessageStart+t+this.pendingEmailsMessageEnd})}onCancel(){this.dialogRef.close()}onSubmit(){const t=window.location.href.split("/");this.usersManagerService.requestPreferredEmailChange(this.data.userId,this.emailControl.value,this.translate.currentLang,"",t[0]+"//"+t[2],this.authService.getIdpFilter()).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(Ai),i.Y36(or),i.Y36(Tt),i.Y36(nr))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-change-email-dialog"]],decls:21,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],["alert_type","warn",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,xx,2,1,"app-alert",2),i.TgZ(6,"mat-form-field",3),i.TgZ(7,"label",3),i._UZ(8,"input",4),i.ALo(9,"translate"),i.ALo(10,"customTranslate"),i.qZA(),i.YNc(11,Lx,4,5,"mat-error",5),i.qZA(),i.qZA(),i.TgZ(12,"div",6),i.TgZ(13,"button",7),i.NdJ("click",function(){return t.onCancel()}),i._uU(14),i.ALo(15,"translate"),i.ALo(16,"customTranslate"),i.qZA(),i.TgZ(17,"button",8),i.NdJ("click",function(){return t.onSubmit()}),i._uU(18),i.ALo(19,"translate"),i.ALo(20,"customTranslate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,8,i.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),i.xp6(4),i.Q6J("ngIf",t.pendingMails.length),i.xp6(3),i.s9C("placeholder",i.lcZ(9,12,i.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),i.Q6J("formControl",t.emailControl),i.xp6(3),i.Q6J("ngIf",t.emailControl.invalid),i.xp6(3),i.hij(" ",i.lcZ(15,16,i.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),i.xp6(3),i.Q6J("disabled",!t.emailControl.valid),i.xp6(1),i.hij(" ",i.lcZ(19,20,i.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[Sn,Fn,b.O5,es,un,qn,bn,vs,dn,so,Zl,En,Yt],pipes:[dt,Ci],styles:[""]}),n})(),qx=(()=>{class n{constructor(e,t){this.dialogRef=e,this.router=t}onClose(){this.router.navigate([]),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(ji))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-mail-change-failed-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["alert_type","error"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"app-alert",2),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.TgZ(7,"div",3),i.TgZ(8,"button",4),i.NdJ("click",function(){return t.onClose()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE"),"\n"),i.xp6(4),i.Oqu(i.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),i.xp6(4),i.hij(" ",i.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[Sn,Fn,es,En,Yt],pipes:[dt],styles:[""]}),n})();function jx(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function Yx(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"form",5),i.TgZ(1,"div",6),i.TgZ(2,"mat-form-field"),i.TgZ(3,"mat-label"),i._uU(4),i.ALo(5,"translate"),i.qZA(),i._UZ(6,"input",7),i.TgZ(7,"mat-icon",8),i.NdJ("click",function(){i.CHM(e);const s=i.oxw();return s.showOldPassword=!s.showOldPassword}),i._uU(8),i.qZA(),i.YNc(9,jx,3,3,"mat-error",9),i.qZA(),i._UZ(10,"perun-web-apps-password-form",10),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("formGroup",e.formGroup),i.xp6(4),i.Oqu(i.lcZ(5,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.OLD_PASSWORD")),i.xp6(2),i.Q6J("type",e.showOldPassword?"text":"password"),i.xp6(2),i.hij(" ",e.showOldPassword?"visibility_off":"visibility"," "),i.xp6(1),i.Q6J("ngIf",e.oldPwd.hasError("required")),i.xp6(1),i.Q6J("formGroup",e.formGroup)("namespace",e.data.namespace)}}function Ux(n,o){1&n&&i._UZ(0,"mat-spinner",11)}function Gx(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",12),i.TgZ(1,"div",13),i.TgZ(2,"button",14),i.NdJ("click",function(){return i.CHM(e),i.oxw().close()}),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.TgZ(5,"button",15),i.NdJ("click",function(){return i.CHM(e),i.oxw().changePassword()}),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.hij(" ",i.lcZ(4,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CANCEL")," "),i.xp6(2),i.Q6J("disabled",e.formGroup.invalid||e.formGroup.pending),i.xp6(1),i.hij(" ",i.lcZ(7,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CHANGE")," ")}}let Vx=(()=>{class n{constructor(e,t,s,a,r,c,d){this.dialogRef=e,this.data=t,this._formBuilder=s,this.usersManagerService=a,this.apiRequestConfiguration=r,this.notificator=c,this.translate=d,this.showOldPassword=!1,d.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(h=>this.successMessage=h)}ngOnInit(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",kn.required],passwordCtrl:["",kn.required,[a2(this.data.namespace,this.usersManagerService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""]},{validators:t2.passwordMatchValidator}),this.oldPwd=this.formGroup.get("oldPasswordCtrl"),this.newPwd=this.formGroup.get("passwordCtrl"),this.newPwdAgain=this.formGroup.get("passwordAgainCtrl")}close(){this.dialogRef.close(!1)}changePassword(){this.loading=!0,this.usersManagerService.changePasswordForLogin(this.data.login,this.data.namespace,this.newPwd.value,this.oldPwd.value,!0).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(KC),i.Y36(Tt),i.Y36(Sv),i.Y36(or),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-change-password-dialog"]],decls:7,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],[3,"formGroup",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[3,"formGroup"],[1,"display-flex"],["formControlName","oldPasswordCtrl","matInput","","required","",3,"type"],["matSuffix","",3,"click"],[4,"ngIf"],[3,"formGroup","namespace"],[1,"ml-auto","mr-auto"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.YNc(4,Yx,11,9,"form",2),i.YNc(5,Ux,1,0,"mat-spinner",3),i.qZA(),i.YNc(6,Gx,8,7,"div",4)),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.TITLE")),i.xp6(3),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,Fn,b.O5,tu,Jl,Ir,un,no,bn,qn,dn,R0,vs,xn,pb,Zl,R2,Jn,En,Yt],pipes:[dt],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}"]}),n})();const Wx=["input"],Kx=function(n){return{enterDuration:n}},Zx=["*"],$x=new i.OlP("mat-radio-default-options",{providedIn:"root",factory:function Xx(){return{color:"accent"}}});let YS=0;const Qx={provide:Wn,useExisting:(0,i.Gpc)(()=>VS),multi:!0};class US{constructor(o,e){this.source=o,this.value=e}}const GS=new i.OlP("MatRadioGroup");let Jx=(()=>{class n{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+YS++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new i.vpe}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=je(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=je(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(t=>{t.checked=this.value===t.value,t.checked&&(this._selected=t)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new US(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),n})(),VS=(()=>{class n extends Jx{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-radio-group"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,WS,5),2&e){let a;i.iGM(a=i.CRH())&&(t._radios=a)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[i._Bn([Qx,{provide:GS,useExisting:n}]),i.qOj]}),n})();class eL{constructor(o){this._elementRef=o}}const tL=to(Ic(eL));let iL=(()=>{class n extends tL{constructor(e,t,s,a,r,c,d,h){super(t),this._changeDetector=s,this._focusMonitor=a,this._radioDispatcher=r,this._providerOverride=d,this._uniqueId="mat-radio-"+ ++YS,this.id=this._uniqueId,this.change=new i.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===c,h&&(this.tabIndex=on(h,0)),this._removeUniqueSelectionListener=r.listen((g,O)=>{g!==this.id&&O===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const t=je(e);this._checked!==t&&(this._checked=t,t&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(je(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=je(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e,t){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new US(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(Wx,5),2&e){let s;i.iGM(s=i.CRH())&&(t._inputElement=s.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[i.qOj]}),n})(),WS=(()=>{class n extends iL{constructor(e,t,s,a,r,c,d,h){super(e,t,s,a,r,c,d,h)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(GS,8),i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(So),i.Y36(bb),i.Y36(Bn,8),i.Y36($x,8),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&i.NdJ("focus",function(){return t._inputElement.nativeElement.focus()}),2&e&&(i.uIk("tabindex",null)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i.ekj("mat-radio-checked",t.checked)("mat-radio-disabled",t.disabled)("_mat-animation-noopable",t._noopAnimations)("mat-primary","primary"===t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[i.qOj],ngContentSelectors:Zx,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,t){if(1&e&&(i.F$t(),i.TgZ(0,"label",0,1),i.TgZ(2,"span",2),i._UZ(3,"span",3),i._UZ(4,"span",4),i.TgZ(5,"input",5,6),i.NdJ("change",function(a){return t._onInputInteraction(a)})("click",function(a){return t._onInputClick(a)}),i.qZA(),i.TgZ(7,"span",7),i._UZ(8,"span",8),i.qZA(),i.qZA(),i.TgZ(9,"span",9),i.TgZ(10,"span",10),i._uU(11,"\xa0"),i.qZA(),i.Hsn(12),i.qZA(),i.qZA()),2&e){const s=i.MAs(1);i.uIk("for",t.inputId),i.xp6(5),i.Q6J("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),i.uIk("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),i.xp6(2),i.Q6J("matRippleTrigger",s)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.VKq(18,Kx,t._noopAnimations?0:150)),i.xp6(2),i.ekj("mat-radio-label-before","before"==t.labelPosition)}},directives:[Ns],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),n})(),KS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[io,gt],gt]}),n})();function nL(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function sL(n,o){1&n&&(i.TgZ(0,"span",11),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function oL(n,o){1&n&&(i.TgZ(0,"span",11),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function rL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-radio-group",12),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(2).asyncValidation=s}),i.TgZ(1,"span",13),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"mat-radio-button",14),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"mat-radio-button",14),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.Q6J("ngModel",e.asyncValidation),i.xp6(2),i.hij(" ",i.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE")," : "),i.xp6(2),i.Q6J("value",!1),i.xp6(1),i.hij(" ",i.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),i.xp6(2),i.Q6J("value",!0),i.xp6(1),i.hij(" ",i.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function aL(n,o){1&n&&(i.TgZ(0,"span",11),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function cL(n,o){1&n&&(i.TgZ(0,"span",11),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function lL(n,o){if(1&n&&(i.TgZ(0,"div",5),i.TgZ(1,"p",6),i._uU(2),i.TgZ(3,"span",7),i._uU(4),i.qZA(),i._uU(5),i.TgZ(6,"span",7),i._uU(7),i.qZA(),i.qZA(),i.TgZ(8,"p"),i.TgZ(9,"strong",8),i._uU(10),i.ALo(11,"translate"),i.qZA(),i._uU(12),i.qZA(),i.TgZ(13,"p"),i.TgZ(14,"strong",8),i._uU(15),i.ALo(16,"translate"),i.qZA(),i._uU(17),i.qZA(),i.YNc(18,sL,3,3,"span",9),i.YNc(19,oL,3,3,"span",9),i.YNc(20,rL,10,12,"mat-radio-group",10),i.YNc(21,aL,3,3,"span",9),i.YNc(22,cL,3,3,"span",9),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",e.group.name," "),i.xp6(2),i.hij("#",e.group.id,""),i.xp6(1),i.hij(" - ",e.resource.name," "),i.xp6(2),i.hij("#",e.resource.id,""),i.xp6(3),i.hij(" ",i.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT")," : "),i.xp6(2),i.hij(" ",e.status," "),i.xp6(3),i.hij(" ",i.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW")," : "),i.xp6(2),i.hij(" ",e.getReversedStatus()," "),i.xp6(1),i.Q6J("ngIf","INACTIVE"===e.status||"FAILED"===e.status),i.xp6(1),i.Q6J("ngIf","ACTIVE"===e.status),i.xp6(1),i.Q6J("ngIf","INACTIVE"===e.status||"FAILED"===e.status),i.xp6(1),i.Q6J("ngIf",("INACTIVE"===e.status||"FAILED"===e.status)&&!1===e.asyncValidation),i.xp6(1),i.Q6J("ngIf",("INACTIVE"===e.status||"FAILED"===e.status)&&!0===e.asyncValidation)}}function uL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",15),i.TgZ(1,"button",16),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"button",17),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),i.xp6(2),i.Q6J("disabled",e.loading),i.xp6(1),i.hij(" ",i.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG."+("ACTIVE"===e.status?"DEACTIVATE":"ACTIVATE"))," ")}}let dL=(()=>{class n{constructor(e,t,s,a){this.dialogRef=e,this.data=t,this.resourceService=s,this.groupService=a,this.loading=!1,this.asyncValidation=!1,this.resource=null,this.group=null}ngOnInit(){this.loading=!0,this.status=this.data.status,this.theme=this.data.theme,this.resourceService.getResourceById(this.data.resourceId).subscribe(e=>{this.resource=e,this.groupService.getGroupById(this.data.groupId).subscribe(t=>{this.group=t,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,"ACTIVE"===this.status?this.resourceService.deactivateGroupResourceAssignment(this.data.groupId,this.data.resourceId).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1):this.resourceService.activateGroupResourceAssignment(this.data.groupId,this.data.resourceId,this.asyncValidation).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}getReversedStatus(){return"ACTIVE"===this.status?"INACTIVE":"ACTIVE"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(ei),i.Y36(An))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-change-group-resource-assigment-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"mb-4"],[1,"text-muted","id-font"],[1,"mr-2"],["class","text-muted",4,"ngIf"],["class","d-flex flex-column mt-3",3,"ngModel","ngModelChange",4,"ngIf"],[1,"text-muted"],[1,"d-flex","flex-column","mt-3",3,"ngModel","ngModelChange"],[1,"font-weight-bold"],[3,"value"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["mat-flat-button","","color","accent",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"h1",0),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,nL,1,0,"mat-spinner",1),i.YNc(5,lL,23,17,"div",2),i.YNc(6,uL,7,7,"div",3),i.qZA()),2&e&&(i.Tol(t.theme),i.xp6(2),i.hij(" ",i.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")," "),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,b.O5,Jn,Fn,VS,dn,zr,WS,En,Yt],pipes:[dt],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),n})();function hL(n,o){if(1&n&&(i.TgZ(0,"div",5),i.TgZ(1,"mat-icon"),i._uU(2),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(e.data.icon)}}function fL(n,o){if(1&n&&(i.TgZ(0,"div",6),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",e.showTimestamp()," ")}}let pL=(()=>{class n{constructor(e,t){this.dialog=e,this.notificationStorageService=t,this.newNotification=!1,this.closeNotification=new i.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}doAction(){if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{const e=Ri();e.width="550px",e.data=this.data,e.autoFocus=!1,this.dialog.open(U2,e).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function HD(n,o){return(0,ID.mG)(this,void 0,void 0,function*(){yield function BD(n){return new Promise(o=>setTimeout(o,n))}(n),o()})}(this.data.delay,()=>{!this.alreadyClosed&&!this.waiting&&this.closeSelf()})}showTimestamp(){const[e,t]=this.data.timeStamp.split(":");return t.length<2?e+":0"+t:this.data.timeStamp}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii),i.Y36(ES))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notification"]],inputs:{data:"data",inDialog:"inDialog",newNotification:"newNotification"},outputs:{closeNotification:"closeNotification"},decls:9,vars:14,consts:[[1,"notification-container",3,"click"],["class","notification-icon",4,"ngIf"],[1,"notification-text","clickable"],["class","ml-auto mr-5 mt-auto mb-auto",4,"ngIf"],[1,"notification-action","mt-auto","mb-auto",3,"hidden","click"],[1,"notification-icon"],[1,"ml-auto","mr-5","mt-auto","mb-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"div",0),i.NdJ("click",function(){return t.alreadyClosed||t.waiting?"":t.closeSelf()}),i.YNc(2,hL,3,1,"div",1),i.TgZ(3,"div",2),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,fL,2,1,"div",3),i.TgZ(7,"div",4),i.NdJ("click",function(){return t.waiting=!0,t.doAction()}),i._uU(8),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Gre("notification ",t.inDialog?"":"mat-elevation-z7",""),i.ekj("error","error"===t.data.type)("success","success"===t.data.type),i.xp6(2),i.Q6J("ngIf",null!==t.data.icon),i.xp6(2),i.hij(" ",i.lcZ(5,12,t.data.title)," "),i.xp6(2),i.Q6J("ngIf",t.inDialog),i.xp6(1),i.Q6J("hidden",t.alreadyPressed),i.xp6(1),i.hij(" ",t.data.actionText," "))},directives:[b.O5,xn],pipes:[dt],styles:[".notification[_ngcontent-%COMP%]{width:450px;margin-bottom:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff}.notification-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;padding:16px}.notification-text[_ngcontent-%COMP%]{font-size:1.1em}.notification-action[_ngcontent-%COMP%]{margin-left:auto;text-decoration:underline;cursor:pointer}@media (max-width: 768px){.notification[_ngcontent-%COMP%]{width:100%}}.notification.error[_ngcontent-%COMP%]{background-color:#d32f2f}.notification.success[_ngcontent-%COMP%]{background-color:#288619}.notification-icon[_ngcontent-%COMP%]{padding-right:8px;color:#fff}"]}),n})();function gL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-notification",2),i.NdJ("closeNotification",function(){const a=i.CHM(e).index;return i.oxw().removeNotification(a)}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("@flyInOut",void 0),i.xp6(1),i.Q6J("data",e)("newNotification",!0)}}const mL=function(n){return{top:n}};let _L=(()=>{class n{constructor(e,t){this.notificator=e,this.notificationStorageService=t,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(s=>{this.processNotification(s)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(e){this.notifications.splice(e,1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(or),i.Y36(ES))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&i.NdJ("resize",function(a){return t.getScreenSize(a)},!1,i.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,gL,2,3,"div",1),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(2,mL,t.getNotificatorTop())),i.xp6(1),i.Q6J("ngForOf",t.notifications))},directives:[b.PC,b.sg,pL],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width: 768px){#notificator[_ngcontent-%COMP%]{width:100%;top:auto;top:initial;bottom:0}}"],data:{animation:[o2]}}),n})();const bL=["*",[["mat-toolbar-row"]]],yL=["*","mat-toolbar-row"],AL=va(class{constructor(n){this._elementRef=n}});let wL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),ML=(()=>{class n extends AL{constructor(e,t,s){super(e),this._platform=t,this._document=s}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(b.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,wL,5),2&e){let a;i.iGM(a=i.CRH())&&(t._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[i.qOj],ngContentSelectors:yL,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(bL),i.Hsn(0),i.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%}\n"],encapsulation:2,changeDetection:0}),n})(),vL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})();function ZS(n){for(let o in n){let e=n[o]||"";switch(o){case"display":n.display="flex"===e?["-webkit-flex","flex"]:"inline-flex"===e?["-webkit-inline-flex","inline-flex"]:e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":n["-webkit-"+o]=e;break;case"flex-direction":e=e||"row",n["-webkit-flex-direction"]=e,n["flex-direction"]=e;break;case"order":n.order=n["-webkit-"+o]=isNaN(+e)?"0":e}}return n}const jv="inline",Oy=["row","column","row-reverse","column-reverse"];function $S(n){let[o,e,t]=function XS(n){var o;n=null!==(o=null==n?void 0:n.toLowerCase())&&void 0!==o?o:"";let[e,t,s]=n.split(" ");return Oy.find(a=>a===e)||(e=Oy[0]),t===jv&&(t=s!==jv?s:"",s=jv),[e,TL(t),!!s]}(n);return function CL(n,o=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":o||null}}(o,e,t)}function TL(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap"}return n}const EL={provide:i.tb,useFactory:function SL(n,o){return()=>{if((0,b.NF)(o)){const e=Array.from(n.querySelectorAll(`[class*=${QS}]`)),t=/\bflex-layout-.+?\b/g;e.forEach(s=>{s.classList.contains(`${QS}ssr`)&&s.parentNode?s.parentNode.removeChild(s):s.className.replace(t,"")})}}},deps:[b.K0,i.Lbi],multi:!0},QS="flex-layout-";let Yv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[EL]}),n})();class Vd{constructor(o=!1,e="all",t="",s="",a=0){this.matches=o,this.mediaQuery=e,this.mqAlias=t,this.suffix=s,this.priority=a,this.property=""}clone(){return new Vd(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let kL=(()=>{class n{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,s){const a=this.stylesheet.get(e);a?a.set(t,s):this.stylesheet.set(e,new Map([[t,s]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const s=this.stylesheet.get(e);let a="";if(s){const r=s.get(t);("number"==typeof r||"string"==typeof r)&&(a=r+"")}return a}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Uv={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},jr=new i.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Uv}),sp=new i.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),Gv=new i.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function JS(n,o){return n=n?n.clone():new Vd,o&&(n.mqAlias=o.alias,n.mediaQuery=o.mediaQuery,n.suffix=o.suffix,n.priority=o.priority),n}class yn{constructor(){this.shouldCache=!0}sideEffect(o,e,t){}}let Vi=(()=>{class n{constructor(e,t,s,a){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=s,this.layoutConfig=a}applyStyleToElement(e,t,s=null){let a={};"string"==typeof t&&(a[t]=s,t=a),a=this.layoutConfig.disableVendorPrefixes?t:ZS(t),this._applyMultiValueStyleToElement(a,e)}applyStyleToElements(e,t=[]){const s=this.layoutConfig.disableVendorPrefixes?e:ZS(e);t.forEach(a=>{this._applyMultiValueStyleToElement(s,a)})}getFlowDirection(e){const t="flex-direction";let s=this.lookupStyle(e,t);return[s||"row",this.lookupInlineStyle(e,t)||(0,b.PM)(this._platformId)&&this._serverModuleLoaded?s:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,t){var s;return null!==(s=e.getAttribute(t))&&void 0!==s?s:""}lookupInlineStyle(e,t){return(0,b.NF)(this._platformId)?e.style.getPropertyValue(t):function DL(n,o){var e;return null!==(e=eE(n)[o])&&void 0!==e?e:""}(e,t)}lookupStyle(e,t,s=!1){let a="";return e&&((a=this.lookupInlineStyle(e,t))||((0,b.NF)(this._platformId)?s||(a=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(a=this._serverStylesheet.getStyleForElement(e,t)))),a?a.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(s=>{const a=e[s],r=Array.isArray(a)?a:[a];r.sort();for(let c of r)c=c?c+"":"",(0,b.NF)(this._platformId)||!this._serverModuleLoaded?(0,b.NF)(this._platformId)?t.style.setProperty(s,c):xL(t,s,c):this._serverStylesheet.addStyleToElement(t,s,c)})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(kL),i.LFG(sp),i.LFG(i.Lbi),i.LFG(jr))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function xL(n,o,e){o=o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const t=eE(n);t[o]=null!=e?e:"",function LL(n,o){let e="";for(const t in o)o[t]&&(e+=`${t}:${o[t]};`);n.setAttribute("style",e)}(n,t)}function eE(n){const o={},e=n.getAttribute("style");if(e){const t=e.split(/;+/g);for(let s=0;s0){const r=a.indexOf(":");if(-1===r)throw new Error(`Invalid CSS style: ${a}`);o[a.substr(0,r).trim()]=a.substr(r+1).trim()}}}return o}function o1(n,o){return(o&&o.priority||0)-(n&&n.priority||0)}function RL(n,o){return(n.priority||0)-(o.priority||0)}let Vv=(()=>{class n{constructor(e,t,s){this._zone=e,this._platformId=t,this._document=s,this.source=new Bi(new Vd(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,s)=>{t.matches&&e.push(s)}),e}isActive(e){var t;const s=this.registry.get(e);return null!==(t=null==s?void 0:s.matches)&&void 0!==t?t:this.registerQuery(e).some(a=>a.matches)}observe(e,t=!1){if(e&&e.length){const s=this._observable$.pipe((0,qt.h)(r=>!t||e.indexOf(r.mediaQuery)>-1)),a=new Fi.y(r=>{const c=this.registerQuery(e);if(c.length){const d=c.pop();c.forEach(h=>{r.next(h)}),this.source.next(d)}r.complete()});return(0,Li.T)(a,s)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],s=[];return function OL(n,o){const e=n.filter(t=>!tE[t]);if(e.length>0){const t=e.join(", ");try{const s=o.createElement("style");s.setAttribute("type","text/css"),s.styleSheet||s.appendChild(o.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${t} {.fx-query-test{ }}\n`)),o.head.appendChild(s),e.forEach(a=>tE[a]=s)}catch(s){console.error(s)}}}(t,this._document),t.forEach(a=>{const r=d=>{this._zone.run(()=>this.source.next(new Vd(d.matches,a)))};let c=this.registry.get(a);c||(c=this.buildMQL(a),c.addListener(r),this.pendingRemoveListenerFns.push(()=>c.removeListener(r)),this.registry.set(a,c)),c.matches&&s.push(new Vd(!0,a))}),s}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function PL(n,o){return o&&window.matchMedia("all").addListener?window.matchMedia(n):{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,(0,b.NF)(this._platformId))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(i.Lbi),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const tE={},zL=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],iE="(orientation: portrait) and (max-width: 599.98px)",nE="(orientation: landscape) and (max-width: 959.98px)",sE="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",oE="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",rE="(orientation: portrait) and (min-width: 840px)",aE="(orientation: landscape) and (min-width: 1280px)",Qc={HANDSET:`${iE}, ${nE}`,TABLET:`${sE} , ${oE}`,WEB:`${rE}, ${aE} `,HANDSET_PORTRAIT:`${iE}`,TABLET_PORTRAIT:`${sE} `,WEB_PORTRAIT:`${rE}`,HANDSET_LANDSCAPE:`${nE}`,TABLET_LANDSCAPE:`${oE}`,WEB_LANDSCAPE:`${aE}`},IL=[{alias:"handset",priority:2e3,mediaQuery:Qc.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Qc.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Qc.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Qc.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Qc.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Qc.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Qc.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Qc.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Qc.WEB_PORTRAIT,overlapping:!0}],NL=/(\.|-|_)/g;function HL(n){let o=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return o.toUpperCase()+e}const jL=new i.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const n=(0,i.f3M)(Gv),o=(0,i.f3M)(jr),e=[].concat.apply([],(n||[]).map(s=>Array.isArray(s)?s:[s]));return function qL(n,o=[]){const e={};return n.forEach(t=>{e[t.alias]=t}),o.forEach(t=>{e[t.alias]?function Xc(n,...o){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of o)if(null!=e)for(let t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}(e[t.alias],t):e[t.alias]=t}),function FL(n){return n.forEach(o=>{o.suffix||(o.suffix=function BL(n){return n.replace(NL,"|").split("|").map(HL).join("")}(o.alias),o.overlapping=!!o.overlapping)}),n}(Object.keys(e).map(t=>e[t]))}((o.disableDefaultBps?[]:zL).concat(o.addOrientationBps?IL:[]),e)}});let Wv=(()=>{class n{constructor(e){this.findByMap=new Map,this.items=[...e].sort(RL)}findByAlias(e){return e?this.findWithPredicate(e,t=>t.alias===e):null}findByQuery(e){return this.findWithPredicate(e,t=>t.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>{var t;return null!==(t=null==e?void 0:e.suffix)&&void 0!==t?t:""})}findWithPredicate(e,t){var s;let a=this.findByMap.get(e);return a||(a=null!==(s=this.items.find(t))&&void 0!==s?s:null,this.findByMap.set(e,a)),null!=a?a:null}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(jL))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const op="print",YL={alias:op,mediaQuery:op,priority:1e3};let UL=(()=>{class n{constructor(e,t,s){this.breakpoints=e,this.layoutConfig=t,this._document=s,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new GL,this.deactivations=[]}withPrintQuery(e){return[...e,op]}isPrintEvent(e){return e.mediaQuery.startsWith(op)}get printAlias(){var e;return[...null!==(e=this.layoutConfig.printWithBreakpoints)&&void 0!==e?e:[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const t=this.breakpoints.findByQuery(e);return(t?[...this.printBreakPoints,t]:this.printBreakPoints).sort(o1)}updateEvent(e){var t;let s=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(s=this.getEventBreakpoints(e)[0],e.mediaQuery=null!==(t=null==s?void 0:s.mediaQuery)&&void 0!==t?t:""),JS(e,s)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const t=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Vd(!0,op))),e.updateStyles())},s=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",t),this._document.defaultView.addEventListener("afterprint",s),this.beforePrintEventListeners.push(t),this.afterPrintEventListeners.push(s)}interceptEvents(e){return t=>{this.isPrintEvent(t)?t.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(t)),e.updateStyles()):!t.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles()):this.collectActivations(e,t)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,t){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,t){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!t.matches){const s=this.breakpoints.findByQuery(t.mediaQuery);if(s){const a=this.formerActivations&&this.formerActivations.includes(s),r=!this.formerActivations&&e.activatedBreakpoints.includes(s);(a||r)&&(this.deactivations.push(s),this.deactivations.sort(o1))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Wv),i.LFG(jr),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class GL{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(o){return o.push(YL),o.sort(o1),o.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(o){o&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===o.mediaQuery)&&(this.printBreakpoints=function VL(n){var o;return null!==(o=null==n?void 0:n.mediaQuery.startsWith(op))&&void 0!==o&&o}(o)?[o,...this.printBreakpoints]:[...this.printBreakpoints,o])}clear(){this.printBreakpoints=[]}}let Qi=(()=>{class n{constructor(e,t,s){this.matchMedia=e,this.breakpoints=t,this.hook=s,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new De.xQ,this.observeActivations()}get activatedAlias(){var e,t;return null!==(t=null===(e=this.activatedBreakpoints[0])||void 0===e?void 0:e.alias)&&void 0!==t?t:""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}onMediaChange(e){const t=this.findByQuery(e.mediaQuery);if(t){e=JS(e,t);const s=this.activatedBreakpoints.indexOf(t);e.matches&&-1===s?(this._activatedBreakpoints.push(t),this._activatedBreakpoints.sort(o1),this.updateStyles()):!e.matches&&-1!==s&&(this._activatedBreakpoints.splice(s,1),this._activatedBreakpoints.sort(o1),this.updateStyles())}}init(e,t,s,a,r=[]){cE(this.updateMap,e,t,s),cE(this.clearMap,e,t,a),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,r)}getValue(e,t,s){const a=this.elementMap.get(e);if(a){const r=void 0!==s?a.get(s):this.getActivatedValues(a,t);if(r)return r.get(t)}}hasValue(e,t){const s=this.elementMap.get(e);if(s){const a=this.getActivatedValues(s,t);if(a)return void 0!==a.get(t)||!1}return!1}setValue(e,t,s,a){var r;let c=this.elementMap.get(e);if(c){const h=(null!==(r=c.get(a))&&void 0!==r?r:new Map).set(t,s);c.set(a,h),this.elementMap.set(e,c)}else c=(new Map).set(a,(new Map).set(t,s)),this.elementMap.set(e,c);const d=this.getValue(e,t);void 0!==d&&this.updateElement(e,t,d)}trackValue(e,t){return this.subject.asObservable().pipe((0,qt.h)(s=>s.element===e&&s.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const s=new Set(this.elementKeyMap.get(t));let a=this.getActivatedValues(e);a&&a.forEach((r,c)=>{this.updateElement(t,c,r),s.delete(c)}),s.forEach(r=>{if(a=this.getActivatedValues(e,r),a){const c=a.get(r);this.updateElement(t,r,c)}else this.clearElement(t,r)})})}clearElement(e,t){const s=this.clearMap.get(e);if(s){const a=s.get(t);a&&(a(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,s){const a=this.updateMap.get(e);if(a){const r=a.get(t);r&&(r(s),this.subject.next({element:e,key:t,value:s}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(a=>a.unsubscribe()),this.watcherMap.delete(e));const s=this.elementMap.get(e);s&&(s.forEach((a,r)=>s.delete(r)),this.elementMap.delete(e))}triggerUpdate(e,t){const s=this.elementMap.get(e);if(s){const a=this.getActivatedValues(s,t);a&&(t?this.updateElement(e,t,a.get(t)):a.forEach((r,c)=>this.updateElement(e,c,r)))}}buildElementKeyMap(e,t){let s=this.elementKeyMap.get(e);s||(s=new Set,this.elementKeyMap.set(e,s)),s.add(t)}watchExtraTriggers(e,t,s){if(s&&s.length){let a=this.watcherMap.get(e);if(a||(a=new Map,this.watcherMap.set(e,a)),!a.get(t)){const c=(0,Li.T)(...s).subscribe(()=>{const d=this.getValue(e,t);this.updateElement(e,t,d)});a.set(t,c)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let a=0;at.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe((0,qi.b)(this.hook.interceptEvents(this)),(0,qt.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Vv),i.LFG(Wv),i.LFG(UL))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function cE(n,o,e,t){var s;if(void 0!==t){const a=null!==(s=n.get(o))&&void 0!==s?s:new Map;a.set(e,t),n.set(o,a)}}let hn=(()=>{class n{constructor(e,t,s,a){this.elementRef=e,this.styleBuilder=t,this.styler=s,this.marshal=a,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new De.xQ,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(t=>{if(-1!==this.inputs.indexOf(t)){const s=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,s)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,t){const s=this.styleBuilder,a=s.shouldCache;let r=this.styleCache.get(e);(!r||!a)&&(r=s.buildStyles(e,t),a&&this.styleCache.set(e,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),s.sideEffect(e,r,t)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,t=!1){if(e){const[s,a]=this.styler.getFlowDirection(e);if(!a&&t){const r=$S(s);this.styler.applyStyleToElements(r,[e])}return s.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,t,s=this.nativeElement){this.styler.applyStyleToElement(s,e,t)}setValue(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(yn),i.Y36(Vi),i.Y36(Qi))},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();class aR{constructor(o,e,t=!0){this.key=o,this.value=e,this.key=t?o.replace(/['"]/g,"").trim():o.trim(),this.value=t?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function hE(n){let o=typeof n;return"object"===o?n.constructor===Array?"array":n.constructor===Set?"set":"object":o}function pE(n){const[o,...e]=n.split(":");return new aR(o,e.join(":"))}function gE(n,o){return o.key&&(n[o.key]=o.value),n}let uR=(()=>{class n extends hn{constructor(e,t,s,a,r,c,d,h,g){var O;super(e,null,t,s),this.sanitizer=a,this.ngStyleInstance=d,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new b.PC(e,r,c)),this.init();const $=null!==(O=this.nativeElement.getAttribute("style"))&&void 0!==O?O:"";this.fallbackStyles=this.buildStyleMap($),this.isServer=h&&(0,b.PM)(g)}updateWithValue(e){const t=this.buildStyleMap(e);this.ngStyleInstance.ngStyle=Object.assign(Object.assign({},this.fallbackStyles),t),this.isServer&&this.applyStyleToElement(t),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(e){const t=s=>{var a;return null!==(a=this.sanitizer.sanitize(i.q3G.STYLE,s))&&void 0!==a?a:""};if(e)switch(hE(e)){case"string":return mE(function cR(n,o=";"){return String(n).trim().split(o).map(e=>e.trim()).filter(e=>""!==e)}(e),t);case"array":return mE(e,t);default:return function fE(n,o){let e=[];return"set"===hE(n)?n.forEach(t=>e.push(t)):Object.keys(n).forEach(t=>{e.push(`${t}:${n[t]}`)}),function lR(n,o){return n.map(pE).filter(t=>!!t).map(t=>(o&&(t.value=o(t.value)),t)).reduce(gE,{})}(e,o)}(e,t)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Vi),i.Y36(Qi),i.Y36(_s),i.Y36(i.aQg),i.Y36(i.Qsj),i.Y36(b.PC,10),i.Y36(sp),i.Y36(i.Lbi))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const dR=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let zy=(()=>{class n extends uR{constructor(){super(...arguments),this.inputs=dR}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[i.qOj]}),n})();function mE(n,o){return n.map(pE).filter(t=>!!t).map(t=>(o&&(t.value=o(t.value)),t)).reduce(gE,{})}let _E=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Yv]]}),n})();const Zv=function(n){return{color:n}};function hR(n,o){if(1&n&&(i.TgZ(0,"button",8),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",4),i._uU(3," apps "),i.qZA(),i.qZA()),2&n){const e=i.oxw(),t=i.MAs(2);i.Q6J("matMenuTriggerFor",t)("matTooltip",i.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),i.xp6(2),i.Q6J("ngStyle",i.VKq(5,Zv,e.iconColor))}}function fR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",2),i.NdJ("click",function(){return i.CHM(e),i.oxw().onLogOut()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"NAV.LOGOUT")," "))}let pR=(()=>{class n{constructor(e,t,s,a){this.authService=e,this.authzResolverService=t,this.notificator=s,this.translateService=a}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(nr),i.Y36(Ki),i.Y36(or),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-header-menu"]],inputs:{user:"user",iconColor:"iconColor",textColor:"textColor",logoutEnabled:"logoutEnabled",url:"url",label:"label"},decls:14,vars:15,consts:[["mat-icon-button","",3,"matMenuTriggerFor","matTooltip",4,"ngIf"],["appsMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],[1,"d-none","d-lg-inline",3,"ngStyle"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"]],template:function(e,t){if(1&e&&(i.YNc(0,hR,4,7,"button",0),i.TgZ(1,"mat-menu",null,1),i.TgZ(3,"button",2),i.NdJ("click",function(){return t.redirectToUrl()}),i.TgZ(4,"span"),i._uU(5),i.qZA(),i.qZA(),i.qZA(),i.TgZ(6,"button",3),i.TgZ(7,"mat-icon",4),i._uU(8," person "),i.qZA(),i.TgZ(9,"span",5),i._uU(10),i.qZA(),i.qZA(),i.TgZ(11,"mat-menu",null,6),i.YNc(13,fR,3,3,"button",7),i.qZA()),2&e){const s=i.MAs(12);i.Q6J("ngIf",t.url),i.xp6(5),i.Oqu(t.label),i.xp6(1),i.Q6J("matMenuTriggerFor",s),i.xp6(1),i.Q6J("ngStyle",i.VKq(11,Zv,t.iconColor)),i.xp6(2),i.Q6J("ngStyle",i.VKq(13,Zv,t.textColor)),i.xp6(1),i.xDo(" ",t.user.titleBefore," ",t.user.firstName," ",t.user.middleName," ",t.user.lastName," ",t.user.titleAfter," "),i.xp6(3),i.Q6J("ngIf",t.logoutEnabled)}},directives:[b.O5,Yt,_S,fs,xn,b.PC,Qf,Gc],pipes:[dt],styles:["@media (max-width: 991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),n})();const bE=function(n){return{color:n}};function gR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){return i.CHM(e),i.oxw().onToggleSidenav()}),i.TgZ(1,"mat-icon"),i._uU(2,"menu"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("ngStyle",i.VKq(1,bE,e.iconColor))}}function mR(n,o){1&n&&(i.TgZ(0,"div",8),i.TgZ(1,"span",9),i._uU(2," ~ \u{1f5f2}\xa0 "),i.qZA(),i.TgZ(3,"span",10),i._uU(4," DEVEL "),i.qZA(),i.TgZ(5,"span",9),i._uU(6," \u{1f5f2} ~ "),i.qZA(),i.qZA())}const _R=function(n){return{background:n}},bR=function(){return[]},yR=function(){return["/"]};let AR=(()=>{class n{constructor(e,t,s,a){this.storeService=e,this.sanitizer=t,this.translate=s,this.otherApplicationService=a,this.label=this.storeService.get("header_label_en"),this.logoutEnabled=this.storeService.get("log_out_enabled"),this.adminLabel=this.storeService.get("admin_gui_label_en"),this.principal=this.storeService.getPerunPrincipal(),this.sidenavToggle=new i.vpe,this.hideToggle=!1,this.disableLogo=!1,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.isDevel=!1,this.activeLink=!1,this.onToggleSidenav=()=>{this.sidenavToggle.emit()}}ngOnInit(){this.isDevel=this.storeService.get("is_devel"),this.translate.onLangChange.subscribe(e=>{this.label=this.storeService.get(`header_label_${e.lang}`),this.adminLabel=this.storeService.get(`admin_gui_label_${e.lang}`)}),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.isLinkToGuiActive()}isLinkToGuiActive(){this.linkRoles=this.storeService.get("link_to_admin_gui_by_roles");for(const e in this.storeService.getPerunPrincipal().roles)this.linkRoles.includes(e)&&(this.activeLink=!0);this.activeLink&&(this.adminGuiUrl=this.otherApplicationService.getUrlForOtherApplication("admin"))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(_s),i.Y36(Ai),i.Y36(DS))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-header"]],inputs:{hideToggle:"hideToggle",disableLogo:"disableLogo"},outputs:{sidenavToggle:"sidenavToggle"},decls:8,vars:19,consts:[[1,"sticky-top","header-container","mat-elevation-z3",3,"ngStyle"],["id","nav-menu-icons"],["mat-icon-button","",3,"ngStyle","click",4,"ngIf"],["queryParamsHandling","merge",1,"logo-container","mt-auto","mb-auto",3,"innerHTML","routerLink"],[1,"ml-3","mt-auto","mb-auto","hide-label",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"url","label","user","logoutEnabled","iconColor","textColor"],["mat-icon-button","",3,"ngStyle","click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-toolbar",0),i.TgZ(1,"div",1),i.YNc(2,gR,3,3,"button",2),i._UZ(3,"a",3),i.TgZ(4,"p",4),i._uU(5),i.qZA(),i.qZA(),i.YNc(6,mR,7,0,"div",5),i._UZ(7,"perun-web-apps-header-menu",6),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(13,_R,t.bgColor)),i.xp6(2),i.Q6J("ngIf",!t.hideToggle),i.xp6(1),i.Q6J("innerHTML",t.logo,i.oJD)("routerLink",t.disableLogo?i.DdM(15,bR):i.DdM(16,yR)),i.xp6(1),i.Q6J("ngStyle",i.VKq(17,bE,t.textColor)),i.xp6(1),i.Oqu(t.label),i.xp6(1),i.Q6J("ngIf",t.isDevel),i.xp6(1),i.Q6J("url",t.adminGuiUrl)("label",t.adminLabel)("user",t.principal.user)("logoutEnabled",t.logoutEnabled)("iconColor",t.iconColor)("textColor",t.textColor))},directives:[ML,b.PC,zy,b.O5,Yt,xn,_,pR],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;padding:0 0 0 8px;z-index:999}#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px;margin-left:auto;margin-right:0}@media (max-width: 570px){.hide-label[_ngcontent-%COMP%]{display:none}}#nav-devel-info[_ngcontent-%COMP%]{margin-left:auto;font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-icons[_ngcontent-%COMP%]{display:flex;flex-direction:row}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();function yE(n){return o=>o.lift(new wR(n))}class wR{constructor(o){this.value=o}call(o,e){return e.subscribe(new MR(o,this.value))}}class MR extends Ys.L{constructor(o,e){super(o),this.value=e}_next(o){this.destination.next(this.value)}}const Iy=["*"],vR=["content"];function TR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function CR(n,o){1&n&&(i.TgZ(0,"mat-drawer-content"),i.Hsn(1,2),i.qZA())}const SR=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],ER=["mat-drawer","mat-drawer-content","*"];function kR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function DR(n,o){1&n&&(i.TgZ(0,"mat-sidenav-content"),i.Hsn(1,2),i.qZA())}const xR=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],LR=["mat-sidenav","mat-sidenav-content","*"],AE={transformDrawer:Ti("transform",[ii("open, open-instant",qe({transform:"none",visibility:"visible"})),ii("void",qe({"box-shadow":"none",visibility:"hidden"})),Ht("void => open-instant",Ct("0ms")),Ht("void <=> open, open-instant => void",Ct("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},OR=new i.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function PR(){return!1}}),$v=new i.OlP("MAT_DRAWER_CONTAINER");let Ny=(()=>{class n extends Xu{constructor(e,t,s,a,r){super(s,a,r),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>ME)),i.Y36(i.SBq),i.Y36(mc),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i._Bn([{provide:Xu,useExisting:n}]),i.qOj],ngContentSelectors:Iy,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),wE=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=s,this._platform=a,this._ngZone=r,this._interactivityChecker=c,this._doc=d,this._container=h,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new De.xQ,this._animationEnd=new De.xQ,this._animationState="void",this.openedChange=new i.vpe(!0),this._openedStream=this.openedChange.pipe((0,qt.h)(g=>g),(0,pt.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,qt.h)(g=>g.fromState!==g.toState&&0===g.toState.indexOf("open")),yE(void 0)),this._closedStream=this.openedChange.pipe((0,qt.h)(g=>!g),(0,pt.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,qt.h)(g=>g.fromState!==g.toState&&"void"===g.toState),yE(void 0)),this._destroyed=new De.xQ,this.onPositionChanged=new i.vpe,this._modeChanged=new De.xQ,this.openedChange.subscribe(g=>{g?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{ha(this._elementRef.nativeElement,"keydown").pipe((0,qt.h)(g=>27===g.keyCode&&!this.disableClose&&!cn(g)),it(this._destroyed)).subscribe(g=>this._ngZone.run(()=>{this.close(),g.stopPropagation(),g.preventDefault()}))}),this._animationEnd.pipe(Yh((g,O)=>g.fromState===O.fromState&&g.toState===O.toState)).subscribe(g=>{const{fromState:O,toState:$}=g;(0===$.indexOf("open")&&"void"===O||"void"===$&&0===O.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=je(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"===this.mode?"dialog":"first-tabbable":e}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=je(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(je(e))}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,t)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{!t&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var e;this._focusTrap&&this._focusTrap.destroy(),null===(e=this._anchor)||void 0===e||e.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,t){e&&t&&(this._openedVia=t);const s=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),s}_setOpen(e,t,s){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(s)),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe((0,$t.q)(1)).subscribe(r=>a(r?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const t=this._elementRef.nativeElement,s=t.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),s.insertBefore(this._anchor,t)),s.appendChild(t)):this._anchor&&this._anchor.parentNode.insertBefore(t,this._anchor)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(km),i.Y36(So),i.Y36(Ei),i.Y36(i.R0b),i.Y36(Tc),i.Y36(b.K0,8),i.Y36($v,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer"]],viewQuery:function(e,t){if(1&e&&i.Gf(vR,5),2&e){let s;i.iGM(s=i.CRH())&&(t._content=s.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&i.WFA("@transform.start",function(a){return t._animationStarted.next(a)})("@transform.done",function(a){return t._animationEnd.next(a)}),2&e&&(i.uIk("align",null),i.d8E("@transform",t._animationState),i.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Iy,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA())},directives:[Xu],encapsulation:2,data:{animation:[AE.transformDrawer]},changeDetection:0}),n})(),ME=(()=>{class n{constructor(e,t,s,a,r,c=!1,d){this._dir=e,this._element=t,this._ngZone=s,this._changeDetectorRef=a,this._animationMode=d,this._drawers=new i.n_E,this.backdropClick=new i.vpe,this._destroyed=new De.xQ,this._doCheckSubject=new De.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new De.xQ,e&&e.change.pipe(it(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe(it(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=c}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=je(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:je(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(ci(this._allDrawers),it(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(ci(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,qh.b)(10),it(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const s=this._left._getWidth();e+=s,t-=s}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._getWidth();else if("push"==this._right.mode){const s=this._right._getWidth();t+=s,e-=s}e=e||null,t=t||null,(e!==this._contentMargins.left||t!==this._contentMargins.right)&&(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe((0,qt.h)(t=>t.fromState!==t.toState),it(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(it(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe(it(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,$t.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(it((0,Li.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,s="mat-drawer-container-has-open";e?t.add(s):t.remove(s)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Hn,8),i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(Ms),i.Y36(OR),i.Y36(Bn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Ny,5),i.Suo(s,wE,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first),i.iGM(a=i.CRH())&&(t._allDrawers=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(Ny,5),2&e){let s;i.iGM(s=i.CRH())&&(t._userContent=s.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[i._Bn([{provide:$v,useExisting:n}])],ngContentSelectors:ER,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(SR),i.YNc(0,TR,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,CR,2,0,"mat-drawer-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[Ny,b.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),Xv=(()=>{class n extends Ny{constructor(e,t,s,a,r){super(e,t,s,a,r)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>TE)),i.Y36(i.SBq),i.Y36(mc),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i._Bn([{provide:Xu,useExisting:n}]),i.qOj],ngContentSelectors:Iy,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),vE=(()=>{class n extends wE{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=je(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=on(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=on(e)}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(i.uIk("align",null),i.Udp("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),i.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[i.qOj],ngContentSelectors:Iy,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA())},directives:[Xu],encapsulation:2,data:{animation:[AE.transformDrawer]},changeDetection:0}),n})(),TE=(()=>{class n extends ME{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Xv,5),i.Suo(s,vE,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first),i.iGM(a=i.CRH())&&(t._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[i._Bn([{provide:$v,useExisting:n}]),i.qOj],ngContentSelectors:LR,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(xR),i.YNc(0,kR,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,DR,2,0,"mat-sidenav-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[Xv,b.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),zR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,gt,vl,Cn],Cn,gt]}),n})(),IR=(()=>{class n{constructor(e){this.store=e}getSideMenuItems(){const e=this.store.get("displayed_tabs"),t=[];return e.forEach(a=>{switch(a){case"profile":t.push({label:"MENU_ITEMS.PROFILE",icon:"account_box",link:"/profile",activatedRegex:"^/profile$",tabName:"profile"});break;case"identities":t.push({label:"MENU_ITEMS.IDENTITIES",icon:"remove_red_eye",link:"/profile/identities",activatedRegex:"^/profile/identities$",tabName:"identities"});break;case"services":t.push({label:"MENU_ITEMS.SERVICES",icon:"build",link:"/profile/services",activatedRegex:"^/profile/services$",tabName:"services"});break;case"groups":t.push({label:"MENU_ITEMS.GROUPS",icon:"group",link:"/profile/groups",activatedRegex:"^/profile/groups$",tabName:"groups"});break;case"vos":t.push({label:"MENU_ITEMS.VOS",icon:"account_balance",link:"/profile/organizations",activatedRegex:"^/profile/organizations$",tabName:"vos"});break;case"privacy":t.push({label:"MENU_ITEMS.PRIVACY",icon:"vpn_key",link:"/profile/privacy",activatedRegex:"^/profile/privacy$",tabName:"privacy"});break;case"settings":t.push({label:"MENU_ITEMS.SETTINGS",icon:"settings",link:"/profile/settings",activatedRegex:"^/profile/settings",tabName:"settings"})}}),this.store.get("external_services").forEach(a=>{const r={icon:"insert_link",link:a.url,activatedRegex:"^/profile/external",tabName:"external",external:!0};this.store.get("supported_languages").forEach(c=>{var d;r[`label_${c}`]=null!==(d=a[`label_${c}`])&&void 0!==d?d:a.label_en}),t.push(r)}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),NR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})();const Qv=["*"],HR=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],BR=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],SE=ir(to(class{})),UR=to(class{}),EE=new i.OlP("MatList"),kE=new i.OlP("MatNavList");let GR=(()=>{class n extends SE{constructor(){super(...arguments),this._stateChanges=new De.xQ}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[i._Bn([{provide:kE,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:Qv,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),n})(),Jv=(()=>{class n extends SE{constructor(e){super(),this._elementRef=e,this._stateChanges=new De.xQ,"action-list"===this._getListType()&&e.nativeElement.classList.add("mat-action-list")}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[i._Bn([{provide:EE,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:Qv,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),n})(),DE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),n})(),xE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),n})(),Hy=(()=>{class n extends UR{constructor(e,t,s,a){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new De.xQ,this._disabled=!1,this._isInteractiveList=!!(s||a&&"action-list"===a._getListType()),this._list=s||a;const r=this._getHostElement();"button"===r.nodeName.toLowerCase()&&!r.hasAttribute("type")&&r.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(it(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=je(e)}ngAfterContentInit(){!function Ta(n,o,e="mat"){n.changes.pipe(ci(n)).subscribe(({length:t})=>{vd(o,`${e}-2-line`,!1),vd(o,`${e}-3-line`,!1),vd(o,`${e}-multi-line`,!1),2===t||3===t?vd(o,`${e}-${t}-line`,!0):t>3&&vd(o,`${e}-multi-line`,!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(kE,8),i.Y36(EE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,DE,5),i.Suo(s,xE,5),i.Suo(s,pf,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._avatar=a.first),i.iGM(a=i.CRH())&&(t._icon=a.first),i.iGM(a=i.CRH())&&(t._lines=a)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[i.qOj],ngContentSelectors:BR,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(i.F$t(HR),i.TgZ(0,"span",0),i._UZ(1,"span",1),i.Hsn(2),i.TgZ(3,"span",2),i.Hsn(4,1),i.qZA(),i.Hsn(5,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[Ns],encapsulation:2,changeDetection:0}),n})(),XR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[z_,io,gt,Ul,b.ez],z_,gt,Ul,NR]}),n})(),RE=(()=>{class n{transform(e,t,s){return e[`${s}_${t}`]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedText",type:n,pure:!0}),n})();const QR=function(n){return{color:n}};function JR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",2),i.NdJ("click",function(){const a=i.CHM(e).$implicit,r=i.oxw();return a.external?r.goToURL(a.link):r.shouldHideMenu()}),i.TgZ(1,"mat-icon"),i._uU(2),i.qZA(),i.TgZ(3,"span",3),i._uU(4),i.ALo(5,"localisedText"),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.ekj("activated",t.isActive(e.activatedRegex)),i.s9C("routerLink",e.external?null:e.link),i.Q6J("ngStyle",i.VKq(16,QR,t.textColor))("matRippleColor","rgba(255, 255, 255, 0.1)"),i.xp6(2),i.Oqu(e.icon),i.xp6(2),i.Oqu(e.external?i.Dn7(5,7,e,t.lang,"label"):i.lcZ(6,11,i.xi3(7,13,e.label,t.lang)))}}let eO=(()=>{class n{constructor(e,t,s,a){this.sideMenuItemService=e,this.storeService=t,this.router=s,this.translateService=a,this.items=[],this.lang="en",this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.currentUrl=s.url,s.events.subscribe(r=>{r instanceof Te&&(this.currentUrl=r.url)})}ngOnInit(){this.translateService.onLangChange.subscribe(t=>{const{lang:s}=t;this.lang=s});const e=this.storeService.get("displayed_tabs");this.items=this.sideMenuItemService.getSideMenuItems(),this.items=this.items.filter(t=>e.includes(t.tabName))}isActive(e){return new RegExp(e).test(this.currentUrl)}shouldHideMenu(){"over"===this.sideNav.mode&&this.sideNav.close()}goToURL(e){window.open(e,"_blank")}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(IR),i.Y36(ti),i.Y36(ji),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[[1,"pt-0"],["mat-ripple","","class","side-menu-item-height","queryParamsHandling","merge",3,"activated","ngStyle","matRippleColor","routerLink","click",4,"ngFor","ngForOf"],["mat-ripple","","queryParamsHandling","merge",1,"side-menu-item-height",3,"ngStyle","matRippleColor","routerLink","click"],[1,"nav-caption","ml-3"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-nav-list",0),i.YNc(1,JR,8,18,"mat-list-item",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[GR,b.sg,Hy,Ns,b.PC,zy,It,xn],pipes:[RE,dt,Ci],styles:[".nav-caption[_ngcontent-%COMP%]{display:inline-block;padding-left:6px}.side-menu-item-height[_ngcontent-%COMP%]{height:40px!important}mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important}.activated[_ngcontent-%COMP%]{background:var(--side-active)!important;color:var(--side-text-active)!important}"]}),n})();function tO(n,o){if(1&n&&(i.TgZ(0,"span",1),i.TgZ(1,"a",2),i._uU(2),i.qZA(),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("routerLink",e.routerLink),i.xp6(1),i.Oqu(e.label)}}let iO=(()=>{class n{constructor(e,t,s){this.router=e,this.activatedRoute=t,this.translate=s,this.home={label:"Home",routerLink:"profile"},this.menuItems=[]}ngOnInit(){this.router.events.pipe((0,qt.h)(e=>e instanceof Te)).subscribe(()=>{this.menuItems=[],this.createBreadcrumbs(this.activatedRoute.root)})}createBreadcrumbs(e,t=""){const s=e.children;0===s.length||"service-access"===s[0].snapshot.routeConfig.path||s.forEach(a=>{const r=a.snapshot.url.map(d=>d.path).join("/");""!==r&&(t+=`/${r}`);const c=this.translate.instant(a.snapshot.data[n.ROUTE_DATA_BREADCRUMB]);return c&&(!this.menuItems[this.menuItems.length-1]||c!==this.menuItems[this.menuItems.length-1].label)&&this.menuItems.push({label:c,routerLink:t}),this.createBreadcrumbs(a,t)})}}return n.ROUTE_DATA_BREADCRUMB="breadcrumb",n.\u0275fac=function(e){return new(e||n)(i.Y36(ji),i.Y36(Xn),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-breadcrumbs"]],decls:1,vars:1,consts:[["class","custom-breadcrumb",4,"ngFor","ngForOf"],[1,"custom-breadcrumb"],["queryParamsHandling","merge",1,"breadcrumb-text",3,"routerLink"]],template:function(e,t){1&e&&i.YNc(0,tO,3,2,"span",0),2&e&&i.Q6J("ngForOf",t.menuItems)},directives:[b.sg,_],styles:['.custom-breadcrumb[_ngcontent-%COMP%]{display:inline-block}.custom-breadcrumb[_ngcontent-%COMP%]:first-child:before{display:none}.custom-breadcrumb[_ngcontent-%COMP%]:before{content:">";vertical-align:center;display:inline-block;margin:0 10px 10px 8px;-webkit-font-smoothing:antialiased}.breadcrumb-text[_ngcontent-%COMP%]{text-decoration:none!important;color:#2c2c2c}']}),n})();function nO(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let sO=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=a,this.storeService=r,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+e.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+w(4147).i8}close(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Ai),i.Y36(or),i.Y36(ni),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"mat-form-field"),i.TgZ(5,"mat-label"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"input",2,3),i.NdJ("ngModelChange",function(a){return t.subject=a}),i.qZA(),i.YNc(10,nO,3,3,"mat-error",4),i.qZA(),i.TgZ(11,"mat-form-field"),i.TgZ(12,"mat-label"),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.TgZ(15,"textarea",5),i.NdJ("ngModelChange",function(a){return t.message=a}),i.ALo(16,"translate"),i._uU(17," "),i.qZA(),i.TgZ(18,"mat-hint"),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(21,"div",6),i.TgZ(22,"div",7),i.TgZ(23,"button",8),i.NdJ("click",function(){return t.close()}),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.TgZ(26,"button",9),i.NdJ("click",function(){return t.sendBugReport()}),i._uU(27),i.ALo(28,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(9);i.xp6(1),i.Oqu(i.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),i.xp6(5),i.Oqu(i.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),i.xp6(2),i.Q6J("ngModel",t.subject),i.xp6(2),i.Q6J("ngIf",s.invalid),i.xp6(3),i.Oqu(i.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),i.xp6(2),i.s9C("placeholder",i.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),i.Q6J("ngModel",t.message),i.xp6(4),i.Oqu(i.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),i.xp6(5),i.hij(" ",i.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),i.xp6(2),i.Q6J("disabled",s.invalid),i.xp6(1),i.hij(" ",i.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[Sn,Fn,un,no,qn,bn,vs,dn,zr,b.O5,Zl,o0,En,Yt],pipes:[dt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),oO=(()=>{class n{transform(e,t){return e["link_"+t]||e.link_en}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedLink",type:n,pure:!0}),n})(),rO=(()=>{class n{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"footerLogoPath",type:n,pure:!0}),n})();function aO(n,o){if(1&n&&(i.TgZ(0,"a",13),i.ALo(1,"localisedLink"),i._UZ(2,"img",14),i.ALo(3,"footerLogoPath"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("href",i.xi3(1,2,e,t.language),i.LSH),i.xp6(2),i.s9C("src",i.lcZ(3,5,e.logo),i.LSH)}}function cO(n,o){if(1&n&&(i.TgZ(0,"span"),i._UZ(1,"img",14),i.ALo(2,"footerLogoPath"),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.s9C("src",i.lcZ(2,1,e.logo),i.LSH)}}function lO(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,aO,4,7,"a",11),i.ALo(2,"localisedLink"),i.YNc(3,cO,3,3,"span",12),i.ALo(4,"localisedLink"),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(3);i.xp6(1),i.Q6J("ngIf",i.xi3(2,2,e,t.language)),i.xp6(2),i.Q6J("ngIf",!i.xi3(4,5,e,t.language))}}const uO=function(n){return{"min-height":n}};function dO(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,lO,5,8,"div",5),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,uO,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}const ru=function(n){return{color:n}};function hO(n,o){if(1&n&&(i.TgZ(0,"i",20),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(2,ru,t.linksTextColor)),i.xp6(1),i.hij(" ",e.icon," ")}}function fO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",21),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw(3).openDialog(s.dialog)}),i._uU(1),i.ALo(2,"localisedText"),i.qZA()}if(2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(6,ru,t.linksTextColor)),i.xp6(1),i.hij("",i.Dn7(2,2,e,t.language,"label")," ")}}function pO(n,o){if(1&n&&(i.TgZ(0,"a",22),i.ALo(1,"localisedLink"),i._uU(2),i.ALo(3,"localisedText"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("href",i.xi3(1,3,e,t.language),i.LSH)("ngStyle",i.VKq(10,ru,t.linksTextColor)),i.xp6(2),i.Oqu(i.Dn7(3,6,e,t.language,"label"))}}function gO(n,o){if(1&n&&(i.TgZ(0,"span",10),i._uU(1),i.ALo(2,"localisedText"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(6,ru,t.linksTextColor)),i.xp6(1),i.Oqu(i.Dn7(2,2,e,t.language,"label"))}}function mO(n,o){if(1&n&&(i.TgZ(0,"div",16),i.YNc(1,hO,2,4,"i",17),i.YNc(2,fO,3,8,"span",18),i.YNc(3,pO,4,12,"a",19),i.ALo(4,"localisedLink"),i.YNc(5,gO,3,8,"span",9),i.ALo(6,"localisedLink"),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(3);i.xp6(1),i.Q6J("ngIf",e.icon),i.xp6(1),i.Q6J("ngIf",e.dialog),i.xp6(1),i.Q6J("ngIf",i.xi3(4,4,e,t.language)&&!e.dialog),i.xp6(2),i.Q6J("ngIf",!i.xi3(6,7,e,t.language)&&!e.dialog)}}const _O=function(n){return{height:n}};function bO(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,mO,7,10,"div",15),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,_O,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}function yO(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"h6",8),i._uU(2),i.ALo(3,"localisedText"),i.qZA(),i.YNc(4,dO,2,4,"div",9),i.YNc(5,bO,2,4,"div",9),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.ekj("my-auto",t.containsLogos),i.xp6(1),i.Q6J("ngStyle",i.VKq(10,ru,t.headersTextColor)),i.xp6(1),i.hij(" ",i.Dn7(3,6,e,t.language,"title")," "),i.xp6(2),i.Q6J("ngIf",e.logos),i.xp6(1),i.Q6J("ngIf",e.elements&&!e.logos)}}function AO(n,o){if(1&n&&(i.TgZ(0,"span"),i.TgZ(1,"a",6),i._uU(2),i.qZA(),i.qZA()),2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.xp6(1),i.Q6J("href",e.url,i.LSH)("ngStyle",i.VKq(3,ru,s.copyrightTextColor)),i.xp6(1),i.Oqu(t?", "+e.name:e.name)}}const wO=function(n){return{background:n}};let OE=(()=>{class n{constructor(e,t,s){this.storeService=e,this.translateService=t,this.dialog=s,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.language=e.lang}),this.version=w(4147).i8,this.items=this.storeService.get("footer","columns");for(const e of this.items)e.logos?this.containsLogos=!0:25*e.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*e.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(e){const t=Ri();"reportIssue"===e&&(t.width="550px",this.dialog.open(sO,t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(Ai),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(e,t){1&e&&(i.TgZ(0,"footer",0),i.TgZ(1,"div",1),i.YNc(2,yO,6,12,"div",2),i.qZA(),i._UZ(3,"hr",3),i.TgZ(4,"div",4),i._uU(5),i.YNc(6,AO,3,5,"span",5),i._uU(7," Version "),i.TgZ(8,"a",6),i._uU(9),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(8,wO,t.bgColor)),i.xp6(2),i.Q6J("ngForOf",t.items),i.xp6(2),i.Q6J("ngStyle",i.VKq(10,ru,t.copyrightTextColor)),i.xp6(1),i.hij(" \xa9 ",t.currentYear," Copyright: "),i.xp6(1),i.Q6J("ngForOf",t.copyrightItems),i.xp6(2),i.Q6J("href",t.githubRepository,i.LSH)("ngStyle",i.VKq(12,ru,t.copyrightTextColor)),i.xp6(1),i.Oqu(t.version))},directives:[b.PC,b.sg,b.O5],pipes:[RE,oO,rO],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}"]}),n})();function MO(n,o){if(1&n&&(i.TgZ(0,"div",8),i._UZ(1,"div",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}function vO(n,o){if(1&n&&(i.TgZ(0,"div",10),i._UZ(1,"div",11),i._UZ(2,"mat-icon",12),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}function TO(n,o){if(1&n&&(i.TgZ(0,"div",8),i._UZ(1,"a",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}const CO=function(n){return{color:n}};function SO(n,o){if(1&n&&(i.TgZ(0,"p",13),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.Q6J("ngStyle",i.VKq(2,CO,e.textColor)),i.xp6(1),i.hij(" ",e.headerTitle," ")}}const EO=function(n,o){return{background:n,color:o}},kO=function(n,o){return{"min-height":n,"background-color":o}};let DO=(()=>{class n{constructor(e,t,s,a){this.storeService=e,this.sanitizer=t,this.preferredLangService=s,this.translateService=a,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){if(this.headerBackgroundColor=this.storeService.get("theme","nav_bg_color"),this.headerTextColor=this.storeService.get("theme","nav_text_color"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.textColor=this.headerTitle?this.storeService.get("theme","header_text_color"):"","user-profile"===this.application){const e=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(e)}}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(_s),i.Y36(Ev),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,MO,2,1,"div",1),i.YNc(2,vO,3,1,"div",2),i.YNc(3,TO,2,1,"div",1),i.YNc(4,SO,2,4,"p",3),i.qZA(),i.TgZ(5,"div",4),i.TgZ(6,"div",5),i.TgZ(7,"div",6),i._UZ(8,"router-outlet"),i.qZA(),i.TgZ(9,"div",7),i._UZ(10,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.WLB(6,EO,t.headerBackgroundColor,t.headerTextColor)),i.xp6(1),i.Q6J("ngIf","admin-gui"===t.application),i.xp6(1),i.Q6J("ngIf","publications"===t.application),i.xp6(1),i.Q6J("ngIf","user-profile"===t.application),i.xp6(1),i.Q6J("ngIf",!!t.headerTitle),i.xp6(2),i.Q6J("ngStyle",i.WLB(9,kO,t.getContentInnerMinHeight(),t.contentBackgroundColor)))},directives:[b.PC,b.O5,xn,Vo,OE],styles:["#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content[_ngcontent-%COMP%]{width:100%;min-height:calc(100vh - 64px);margin-top:64px}#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width: 768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();const xO=["footer"],PE=function(n){return{background:n}},LO=function(n){return{"min-height":n}};function RO(n,o){if(1&n){const e=i.EpF();i._UZ(0,"perun-web-apps-notificator"),i.TgZ(1,"div",2),i.TgZ(2,"perun-web-apps-header",3),i.NdJ("sidenavToggle",function(){return i.CHM(e),i.MAs(5).toggle()}),i.qZA(),i.TgZ(3,"mat-sidenav-container"),i.TgZ(4,"mat-sidenav",4,5),i._UZ(6,"perun-web-apps-side-menu",6),i.qZA(),i.TgZ(7,"mat-sidenav-content",7),i.TgZ(8,"div",8),i._UZ(9,"perun-web-apps-breadcrumbs"),i._UZ(10,"router-outlet"),i.qZA(),i.TgZ(11,"div",null,9),i._UZ(13,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(5),t=i.oxw();i.xp6(4),i.Q6J("mode",t.sidebarMode)("ngStyle",i.VKq(6,PE,t.sideMenuBgColor))("opened",!t.isMobile()),i.xp6(2),i.Q6J("sideNav",e),i.xp6(1),i.Q6J("ngStyle",i.VKq(8,PE,t.contentBackgroundColor)),i.xp6(1),i.Q6J("ngStyle",i.VKq(10,LO,t.contentHeight))}}function OO(n,o){if(1&n&&i._UZ(0,"perun-web-apps-login-screen-base",10),2&n){const e=i.oxw();i.Q6J("application","user-profile")("headerTitle",e.headerLabel)}}let PO=(()=>{class n{constructor(e,t,s,a,r,c){this.store=e,this.attributesManagerService=t,this.translateService=s,this.initAuth=a,this.changeDetector=r,this.preferredLangService=c,this.sidebarMode="side",this.sideMenuBgColor=this.store.get("theme","sidemenu_bg_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.contentHeight="calc(100vh - 84px)",this.headerLabel=this.store.get("header_label_en"),this.getScreenSize()}ngOnInit(){this.isLoginScreenShown=this.initAuth.isLoginScreenShown(),this.isServiceAccess=this.initAuth.isServiceAccessLoginScreenShown(),sessionStorage.removeItem("baLogout"),this.isLoginScreenShown?this.headerLabel=this.store.get(`header_label_${this.preferredLangService.getPreferredLanguage(null)}`):this.isServiceAccess||this.attributesManagerService.getUserAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{const t=e.find(r=>"preferredLanguage"===r.friendlyName),s=t&&t.value?t.value.toString():null,a=this.preferredLangService.getPreferredLanguage(s);this.translateService.use(a)})}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}isMobile(){return window.innerWidth<=n.minWidth}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}ngAfterViewInit(){this.contentHeight="calc(100vh - 84px - "+this.footer.nativeElement.offsetHeight+"px)",this.changeDetector.detectChanges()}}return n.minWidth=992,n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ai),i.Y36(Cv),i.Y36(i.sBO),i.Y36(Ev))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&i.Gf(xO,5),2&e){let s;i.iGM(s=i.CRH())&&(t.footer=s.first)}},hostBindings:function(e,t){1&e&&i.NdJ("resize",function(a){return t.getScreenSize(a)},!1,i.Jf7)},decls:2,vars:2,consts:[[3,"ngIf"],[3,"application","headerTitle",4,"ngIf"],[1,"app-min-width"],[3,"sidenavToggle"],["fixedInViewport","","fixedTopGap","64",1,"side-menu-size",3,"mode","ngStyle","opened"],["sidenav",""],[1,"overflow-hidden",3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],["footer",""],[3,"application","headerTitle"]],template:function(e,t){1&e&&(i.YNc(0,RO,14,12,"ng-template",0),i.YNc(1,OO,1,2,"perun-web-apps-login-screen-base",1)),2&e&&(i.Q6J("ngIf",!t.isLoginScreenShown&&!t.isServiceAccess&&!t.isServiceLogin()),i.xp6(1),i.Q6J("ngIf",t.isLoginScreenShown||t.isServiceAccess||t.isServiceLogin()))},directives:[b.O5,_L,AR,TE,vE,b.PC,zy,eO,Xv,iO,Vo,OE,DO],styles:["#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px;margin:10px}@media (min-width: 600px){#content-wrap[_ngcontent-%COMP%]{padding-left:25px;padding-right:25px}}a[_ngcontent-%COMP%]{text-decoration:none;color:#000}.side-menu-size[_ngcontent-%COMP%]{width:300px;height:auto}"]}),n})();var zO=w(1158);function IO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",15),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().index;return i.oxw().removeValue(s)}),i.TgZ(1,"mat-icon"),i._uU(2," indeterminate_check_box "),i.qZA(),i.qZA()}}function NO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",9),i.TgZ(1,"mat-form-field",10),i._UZ(2,"label",11),i.TgZ(3,"input",12),i.NdJ("click",function(){const a=i.CHM(e).index,r=i.oxw();return r.readonly&&r.attribute.displayName&&r.showValue(r.keys[a],r.attribute.displayName)})("ngModelChange",function(s){const r=i.CHM(e).index;return i.oxw().keys[r]=s}),i.qZA(),i.qZA(),i.TgZ(4,"mat-form-field",10),i._UZ(5,"label",11),i.TgZ(6,"input",13),i.NdJ("click",function(){const a=i.CHM(e).$implicit,r=i.oxw();return r.readonly&&void 0!==r.attribute.displayName&&r.showValue(a,r.attribute.displayName)})("ngModelChange",function(s){const r=i.CHM(e).index;return i.oxw().values[r]=s}),i.qZA(),i.qZA(),i.YNc(7,IO,3,0,"button",14),i.qZA()}if(2&n){const e=o.index,t=i.oxw();i.xp6(1),i.s9C("appearance",t.readonly?"none":"standard"),i.xp6(1),i.hYB("for","",t.attribute.id,"-key-",e,""),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.attribute.displayName),i.hYB("id","",t.attribute.id,"-key-",e,""),i.MGl("name","key-",e,""),i.Q6J("ngModel",t.keys[e])("readonly",t.readonly),i.xp6(1),i.s9C("appearance",t.readonly?"none":"standard"),i.xp6(1),i.hYB("for","",t.attribute.id,"-value-",e,""),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.attribute.displayName),i.MGl("name","value-",e,""),i.hYB("id","",t.attribute.id,"-value-",e,""),i.Q6J("readonly",t.readonly)("ngModel",t.values[e]),i.xp6(1),i.Q6J("ngIf",!t.readonly)}}function HO(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"more_horiz"),i.qZA())}function BO(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"keyboard_arrow_up"),i.qZA())}function FO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",16),i.NdJ("click",function(){return i.CHM(e),i.oxw().onShowChange()}),i.YNc(1,HO,2,0,"mat-icon",17),i.YNc(2,BO,2,0,"mat-icon",17),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngIf",!e.showMore),i.xp6(1),i.Q6J("ngIf",e.showMore)}}function qO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",18),i.NdJ("click",function(){return i.CHM(e),i.oxw().addValue()}),i.TgZ(1,"mat-icon"),i._uU(2," add_box "),i.qZA(),i.qZA()}}let jO=(()=>{class n{constructor(e){this.dialog=e,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}ngOnInit(){if(this.attribute.value){const e=this.attribute.value;for(const[t,s]of Object.entries(e))this.keys.push(t),this.values.push(s)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=Gd(this.attribute))}customTrackBy(e){return e}addValue(){this.keys.push(""),this.values.push(""),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())}removeValue(e){this.keys.splice(e,1),this.values.splice(e,1)}updateAttribute(){const e={};for(let t=0;tt.defaultItemsShown),i.xp6(1),i.Q6J("ngIf",!t.readonly))},directives:[tu,Jl,Bc,b.sg,un,qn,bn,vs,dn,zr,b.O5,Yt,xn,fs],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}.input-margin[_ngcontent-%COMP%]{margin-bottom:-30px}.btn-margin[_ngcontent-%COMP%]{margin-top:10px}"]}),n})();const YO=["input"],UO=function(n){return{enterDuration:n}},GO=["*"],VO=new i.OlP("mat-checkbox-default-options",{providedIn:"root",factory:zE});function zE(){return{color:"accent",clickAction:"check-indeterminate"}}let WO=0;const IE=zE(),KO={provide:Wn,useExisting:(0,i.Gpc)(()=>au),multi:!0};class ZO{}const $O=Ic(va(to(ir(class{constructor(n){this._elementRef=n}}))));let au=(()=>{class n extends $O{constructor(e,t,s,a,r,c,d){super(e),this._changeDetectorRef=t,this._focusMonitor=s,this._ngZone=a,this._animationMode=c,this._options=d,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++WO,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new i.vpe,this.indeterminateChange=new i.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||IE,this.color=this.defaultColor=this._options.color||IE.color,this.tabIndex=parseInt(r)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=je(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=je(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=e!=this._indeterminate;this._indeterminate=je(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let t=this._currentCheckState,s=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&s.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){s.classList.add(this._currentAnimationClass);const a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{s.classList.remove(a)},1e3)})}}_emitChangeEvent(){const e=new ZO;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(e){var t;const s=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===s?!this.disabled&&"noop"===s&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==s&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e,t){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,t){if("NoopAnimations"===this._animationMode)return"";let s="";switch(e){case 0:if(1===t)s="unchecked-checked";else{if(3!=t)return"";s="unchecked-indeterminate"}break;case 2:s=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:s=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:s=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${s}`}_syncIndeterminate(e){const t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(So),i.Y36(i.R0b),i.$8M("tabindex"),i.Y36(Bn,8),i.Y36(VO,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(i.Gf(YO,5),i.Gf(Ns,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._inputElement=s.first),i.iGM(s=i.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null),i.ekj("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[i._Bn([KO]),i.qOj],ngContentSelectors:GO,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(i.F$t(),i.TgZ(0,"label",0,1),i.TgZ(2,"span",2),i.TgZ(3,"input",3,4),i.NdJ("change",function(a){return t._onInteractionEvent(a)})("click",function(a){return t._onInputClick(a)}),i.qZA(),i.TgZ(5,"span",5),i._UZ(6,"span",6),i.qZA(),i._UZ(7,"span",7),i.TgZ(8,"span",8),i.O4$(),i.TgZ(9,"svg",9),i._UZ(10,"path",10),i.qZA(),i.kcU(),i._UZ(11,"span",11),i.qZA(),i.qZA(),i.TgZ(12,"span",12,13),i.NdJ("cdkObserveContent",function(){return t._onLabelTextChange()}),i.TgZ(14,"span",14),i._uU(15,"\xa0"),i.qZA(),i.Hsn(16),i.qZA(),i.qZA()),2&e){const s=i.MAs(1),a=i.MAs(13);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-checkbox-inner-container-no-side-margin",!a.textContent||!a.textContent.trim()),i.xp6(1),i.Q6J("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),i.uIk("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),i.xp6(2),i.Q6J("matRippleTrigger",s)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.VKq(19,UO,"NoopAnimations"===t._animationMode?0:150))}},directives:[Ns,ag],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n})(),NE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),eT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[io,gt,Rl,NE],gt,NE]}),n})(),tT=(()=>{class n{transform(e){return e.replace(/\s/g,"-").toLowerCase()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"multiWordDataCy",type:n,pure:!0}),n})();function JO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-checkbox",2),i.NdJ("change",function(){return i.CHM(e),i.oxw()._sendEventToParent()})("ngModelChange",function(s){return i.CHM(e),i.oxw().attribute.value=s}),i.ALo(1,"multiWordDataCy"),i.qZA()}if(2&n){const e=i.oxw();i.Q2q("data-cy","",i.lcZ(1,2,e.attribute.displayName),"-value"),i.Q6J("ngModel",e.attribute.value)}}function eP(n,o){if(1&n&&(i.TgZ(0,"mat-label"),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.attribute.value)}}let tP=(()=>{class n{constructor(){this.readonly=!1,this.sendEventToParent=new i.vpe}ngOnInit(){this.readonly||(this.readonly=Gd(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-boolean"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:2,consts:[[3,"ngModel","change","ngModelChange",4,"ngIf"],[4,"ngIf"],[3,"ngModel","change","ngModelChange"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.YNc(1,JO,2,4,"mat-checkbox",0),i.YNc(2,eP,2,1,"mat-label",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.readonly),i.xp6(1),i.Q6J("ngIf",t.readonly))},directives:[b.O5,au,dn,zr,no],pipes:[tT],styles:[""]}),n})();function nP(n){const{subscriber:o,counter:e,period:t}=n;o.next(e),this.schedule({subscriber:o,counter:e+1,period:t},t)}function iT(n,o,e){for(let t in o)if(o.hasOwnProperty(t)){const s=o[t];s?n.setProperty(t,s,(null==e?void 0:e.has(t))?"important":""):n.removeProperty(t)}return n}function rp(n,o){const e=o?"":"none";iT(n.style,{"touch-action":o?"":"none","-webkit-user-drag":o?"":"none","-webkit-tap-highlight-color":o?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function HE(n,o,e){iT(n.style,{position:o?"":"fixed",top:o?"":"0",opacity:o?"":"0",left:o?"":"-999em"},e)}function By(n,o){return o&&"none"!=o?n+" "+o:n}function BE(n){const o=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*o}function nT(n,o){return n.getPropertyValue(o).split(",").map(t=>t.trim())}function sT(n){const o=n.getBoundingClientRect();return{top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height,x:o.x,y:o.y}}function oT(n,o,e){const{top:t,bottom:s,left:a,right:r}=n;return e>=t&&e<=s&&o>=a&&o<=r}function r1(n,o,e){n.top+=o,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function FE(n,o,e,t){const{top:s,right:a,bottom:r,left:c,width:d,height:h}=n,g=d*o,O=h*o;return t>s-O&&tc-g&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:sT(e)})})}handleScroll(o){const e=$s(o),t=this.positions.get(e);if(!t)return null;const s=t.scrollPosition;let a,r;if(e===this._document){const h=this._viewportRuler.getViewportScrollPosition();a=h.top,r=h.left}else a=e.scrollTop,r=e.scrollLeft;const c=s.top-a,d=s.left-r;return this.positions.forEach((h,g)=>{h.clientRect&&e!==g&&e.contains(g)&&r1(h.clientRect,c,d)}),s.top=a,s.left=r,{top:c,left:d}}}function jE(n){const o=n.cloneNode(!0),e=o.querySelectorAll("[id]"),t=n.nodeName.toLowerCase();o.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const d=this._handles.find(h=>c.target&&(c.target===h||h.contains(c.target)));d&&!this._disabledHandles.has(d)&&!this.disabled&&this._initializeDragSequence(d,c)}else this.disabled||this._initializeDragSequence(this._rootElement,c)},this._pointerMove=c=>{const d=this._getPointerPositionOnPage(c);if(!this._hasStartedDragging){if(Math.abs(d.x-this._pickupPositionOnPage.x)+Math.abs(d.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const oe=Date.now()>=this._dragStartTime+this._getDragStartDelay(c),be=this._dropContainer;if(!oe)return void this._endDragSequence(c);(!be||!be.isDragging()&&!be.isReceiving())&&(c.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(c)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),c.preventDefault();const h=this._getConstrainedPointerPosition(d);if(this._hasMoved=!0,this._lastKnownPointerPosition=d,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,d);else{const g=this._activeTransform;g.x=h.x-this._pickupPositionOnPage.x+this._passiveTransform.x,g.y=h.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(g.x,g.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:c,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=c=>{this._endDragSequence(c)},this.withRootElement(o).withParent(e.parentDragRef||null),this._parentPositions=new qE(t,a),r.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(o){const e=je(o);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>rp(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(o){this._handles=o.map(t=>oi(t)),this._handles.forEach(t=>rp(t,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t)}),this._disabledHandles=e,this}withPreviewTemplate(o){return this._previewTemplate=o,this}withPlaceholderTemplate(o){return this._placeholderTemplate=o,this}withRootElement(o){const e=oi(o);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,WE),e.addEventListener("touchstart",this._pointerDown,VE)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(o){return this._boundaryElement=o?oi(o):null,this._resizeSubscription.unsubscribe(),o&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(o){return this._parentDragRef=o,this}dispose(){var o,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(o=this._rootElement)||void 0===o||o.remove()),null===(e=this._anchor)||void 0===e||e.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(o){!this._disabledHandles.has(o)&&this._handles.indexOf(o)>-1&&(this._disabledHandles.add(o),rp(o,!0))}enableHandle(o){this._disabledHandles.has(o)&&(this._disabledHandles.delete(o),rp(o,this.disabled))}withDirection(o){return this._direction=o,this}_withDropContainer(o){this._dropContainer=o}getFreeDragPosition(){const o=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:o.x,y:o.y}}setFreeDragPosition(o){return this._activeTransform={x:0,y:0},this._passiveTransform.x=o.x,this._passiveTransform.y=o.y,this._dropContainer||this._applyRootElementTransform(o.x,o.y),this}withPreviewContainer(o){return this._previewContainer=o,this}_sortFromLastPointerPosition(){const o=this._lastKnownPointerPosition;o&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(o),o)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var o,e;null===(o=this._preview)||void 0===o||o.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var o,e;null===(o=this._placeholder)||void 0===o||o.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(o){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(o),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(o);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(o){a1(o)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,s=t.parentNode,a=this._placeholder=this._createPlaceholderElement(),r=this._anchor=this._anchor||this._document.createComment(""),c=this._getShadowRoot();s.insertBefore(r,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),HE(t,!1,rT),this._document.body.appendChild(s.replaceChild(a,t)),this._getPreviewInsertionPoint(s,c).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(o,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),s=a1(e),a=!s&&0!==e.button,r=this._rootElement,c=$s(e),d=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=s?ad(e):Pl(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),t||a||d||h)return;if(this._handles.length){const $=r.style;this._rootElementTapHighlight=$.webkitTapHighlightColor||"",$.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe($=>this._updateOnScroll($)),this._boundaryElement&&(this._boundaryRect=sT(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(o,e);const O=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:O.x,y:O.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(o){HE(this._rootElement,!0,rT),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,t=e.getItemIndex(this),s=this._getPointerPositionOnPage(o),a=this._getDragDistance(s),r=e._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:a,dropPoint:s}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:a,dropPoint:s}),e.drop(this,t,this._initialIndex,this._initialContainer,r,a,s),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:o,y:e},{x:t,y:s}){let a=this._initialContainer._getSiblingContainerFromPosition(this,o,e);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(o,e)&&(a=this._initialContainer),a&&a!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=a,this._dropContainer.enter(this,o,e,a===this._initialContainer&&a.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:a,currentIndex:a.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,s),this._dropContainer._sortItem(this,o,e,this._pointerDirectionDelta),this._applyPreviewTransform(o-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const o=this._previewTemplate,e=this.previewClass,t=o?o.template:null;let s;if(t&&o){const a=o.matchSize?this._rootElement.getBoundingClientRect():null,r=o.viewContainer.createEmbeddedView(t,o.context);r.detectChanges(),s=ZE(r,this._document),this._previewRef=r,o.matchSize?$E(s,a):s.style.transform=Fy(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const a=this._rootElement;s=jE(a),$E(s,a.getBoundingClientRect()),this._initialTransform&&(s.style.transform=this._initialTransform)}return iT(s.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},rT),rp(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(a=>s.classList.add(a)):s.classList.add(e)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const o=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(o.left,o.top);const e=function sP(n){const o=getComputedStyle(n),e=nT(o,"transition-property"),t=e.find(c=>"transform"===c||"all"===c);if(!t)return 0;const s=e.indexOf(t),a=nT(o,"transition-duration"),r=nT(o,"transition-delay");return BE(a[s])+BE(r[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const s=r=>{var c;(!r||$s(r)===this._preview&&"transform"===r.propertyName)&&(null===(c=this._preview)||void 0===c||c.removeEventListener("transitionend",s),t(),clearTimeout(a))},a=setTimeout(s,1.5*e);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){const o=this._placeholderTemplate,e=o?o.template:null;let t;return e?(this._placeholderRef=o.viewContainer.createEmbeddedView(e,o.context),this._placeholderRef.detectChanges(),t=ZE(this._placeholderRef,this._document)):t=jE(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(o,e){const t=this._rootElement.getBoundingClientRect(),s=o===this._rootElement?null:o,a=s?s.getBoundingClientRect():t,r=a1(e)?e.targetTouches[0]:e,c=this._getViewportScrollPosition();return{x:a.left-t.left+(r.pageX-a.left-c.left),y:a.top-t.top+(r.pageY-a.top-c.top)}}_getPointerPositionOnPage(o){const e=this._getViewportScrollPosition(),t=a1(o)?o.touches[0]||o.changedTouches[0]||{pageX:0,pageY:0}:o,s=t.pageX-e.left,a=t.pageY-e.top;if(this._ownerSVGElement){const r=this._ownerSVGElement.getScreenCTM();if(r){const c=this._ownerSVGElement.createSVGPoint();return c.x=s,c.y=a,c.matrixTransform(r.inverse())}}return{x:s,y:a}}_getConstrainedPointerPosition(o){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:s}=this.constrainPosition?this.constrainPosition(o,this):o;if("x"===this.lockAxis||"x"===e?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:a,y:r}=this._pickupPositionInElement,c=this._boundaryRect,d=this._previewRect,h=c.top+r,g=c.bottom-(d.height-r);t=KE(t,c.left+a,c.right-(d.width-a)),s=KE(s,h,g)}return{x:t,y:s}}_updatePointerDirectionDelta(o){const{x:e,y:t}=o,s=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-a.x),c=Math.abs(t-a.y);return r>this._config.pointerDirectionChangeThreshold&&(s.x=e>a.x?1:-1,a.x=e),c>this._config.pointerDirectionChangeThreshold&&(s.y=t>a.y?1:-1,a.y=t),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const o=this._handles.length>0||!this.isDragging();o!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=o,rp(this._rootElement,o))}_removeRootElementListeners(o){o.removeEventListener("mousedown",this._pointerDown,WE),o.removeEventListener("touchstart",this._pointerDown,VE)}_applyRootElementTransform(o,e){const t=Fy(o,e),s=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=s.transform&&"none"!=s.transform?s.transform:""),s.transform=By(t,this._initialTransform)}_applyPreviewTransform(o,e){var t;const s=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,a=Fy(o,e);this._preview.style.transform=By(a,s)}_getDragDistance(o){const e=this._pickupPositionOnPage;return e?{x:o.x-e.x,y:o.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:o,y:e}=this._passiveTransform;if(0===o&&0===e||this.isDragging()||!this._boundaryElement)return;const t=this._boundaryElement.getBoundingClientRect(),s=this._rootElement.getBoundingClientRect();if(0===t.width&&0===t.height||0===s.width&&0===s.height)return;const a=t.left-s.left,r=s.right-t.right,c=t.top-s.top,d=s.bottom-t.bottom;t.width>s.width?(a>0&&(o+=a),r>0&&(o-=r)):o=0,t.height>s.height?(c>0&&(e+=c),d>0&&(e-=d)):e=0,(o!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:o})}_getDragStartDelay(o){const e=this.dragStartDelay;return"number"==typeof e?e:a1(o)?e.touch:e?e.mouse:0}_updateOnScroll(o){const e=this._parentPositions.handleScroll(o);if(e){const t=$s(o);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&r1(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const o=this._parentPositions.positions.get(this._document);return o?o.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Sl(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(o,e){const t=this._previewContainer||"global";if("parent"===t)return o;if("global"===t){const s=this._document;return e||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return oi(t)}}function Fy(n,o){return`translate3d(${Math.round(n)}px, ${Math.round(o)}px, 0)`}function KE(n,o,e){return Math.max(o,Math.min(e,n))}function a1(n){return"t"===n.type[0]}function ZE(n,o){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===o.ELEMENT_NODE)return e[0];const t=o.createElement("div");return e.forEach(s=>t.appendChild(s)),t}function $E(n,o){n.style.width=`${o.width}px`,n.style.height=`${o.height}px`,n.style.transform=Fy(o.left,o.top)}function XE(n,o,e){const t=c1(o,n.length-1),s=c1(e,n.length-1);if(t===s)return;const a=n[t],r=s!0,this.sortPredicate=()=>!0,this.beforeStarted=new De.xQ,this.entered=new De.xQ,this.exited=new De.xQ,this.dropped=new De.xQ,this.sorted=new De.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=P.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new De.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function iP(n=0,o=Gu.P){return(!qp(n)||n<0)&&(n=0),(!o||"function"!=typeof o.schedule)&&(o=Gu.P),new Fi.y(e=>(e.add(o.schedule(nP,n,{subscriber:e,counter:0,period:n})),e))}(0,M1).pipe(it(this._stopScrollTimers)).subscribe(()=>{const r=this._scrollNode,c=this.autoScrollStep;1===this._verticalScrollDirection?r.scrollBy(0,-c):2===this._verticalScrollDirection&&r.scrollBy(0,c),1===this._horizontalScrollDirection?r.scrollBy(-c,0):2===this._horizontalScrollDirection&&r.scrollBy(c,0)})},this.element=oi(o),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new qE(t,a)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(o,e,t,s){let a;this._draggingStarted(),null==s?(a=this.sortingDisabled?this._draggables.indexOf(o):-1,-1===a&&(a=this._getItemIndexFromPointerPosition(o,e,t))):a=s;const r=this._activeDraggables,c=r.indexOf(o),d=o.getPlaceholderElement();let h=r[a];if(h===o&&(h=r[a+1]),!h&&(null==a||-1===a||a-1&&r.splice(c,1),h&&!this._dragDropRegistry.isDragging(h)){const g=h.getRootElement();g.parentElement.insertBefore(d,g),r.splice(a,0,o)}else oi(this.element).appendChild(d),r.push(o);d.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:o,container:this,currentIndex:this.getItemIndex(o)})}exit(o){this._reset(),this.exited.next({item:o,container:this})}drop(o,e,t,s,a,r,c){this._reset(),this.dropped.next({item:o,currentIndex:e,previousIndex:t,container:this,previousContainer:s,isPointerOverContainer:a,distance:r,dropPoint:c})}withItems(o){const e=this._draggables;return this._draggables=o,o.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(s=>s.isDragging()).every(s=>-1===o.indexOf(s))?this._reset():this._cacheItems()),this}withDirection(o){return this._direction=o,this}connectedTo(o){return this._siblings=o.slice(),this}withOrientation(o){return this._orientation=o,this}withScrollableParents(o){const e=oi(this.element);return this._scrollableElements=-1===o.indexOf(e)?[e,...o]:o.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(o){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===o):this._draggables.indexOf(o)}isReceiving(){return this._activeSiblings.size>0}_sortItem(o,e,t,s){if(this.sortingDisabled||!this._clientRect||!FE(this._clientRect,.05,e,t))return;const a=this._itemPositions,r=this._getItemIndexFromPointerPosition(o,e,t,s);if(-1===r&&a.length>0)return;const c="horizontal"===this._orientation,d=a.findIndex(Le=>Le.drag===o),h=a[r],O=h.clientRect,$=d>r?1:-1,oe=this._getItemOffsetPx(a[d].clientRect,O,$),be=this._getSiblingOffsetPx(d,a,$),ve=a.slice();XE(a,d,r),this.sorted.next({previousIndex:d,currentIndex:r,container:this,item:o}),a.forEach((Le,et)=>{if(ve[et]===Le)return;const Vt=Le.drag===o,Bt=Vt?oe:be,pi=Vt?o.getPlaceholderElement():Le.drag.getRootElement();Le.offset+=Bt,c?(pi.style.transform=By(`translate3d(${Math.round(Le.offset)}px, 0, 0)`,Le.initialTransform),r1(Le.clientRect,0,Bt)):(pi.style.transform=By(`translate3d(0, ${Math.round(Le.offset)}px, 0)`,Le.initialTransform),r1(Le.clientRect,Bt,0))}),this._previousSwap.overlaps=oT(O,e,t),this._previousSwap.drag=h.drag,this._previousSwap.delta=c?s.x:s.y}_startScrollingIfNecessary(o,e){if(this.autoScrollDisabled)return;let t,s=0,a=0;if(this._parentPositions.positions.forEach((r,c)=>{c===this._document||!r.clientRect||t||FE(r.clientRect,.05,o,e)&&([s,a]=function lP(n,o,e,t){const s=ek(o,t),a=tk(o,e);let r=0,c=0;if(s){const d=n.scrollTop;1===s?d>0&&(r=1):n.scrollHeight-d>n.clientHeight&&(r=2)}if(a){const d=n.scrollLeft;1===a?d>0&&(c=1):n.scrollWidth-d>n.clientWidth&&(c=2)}return[r,c]}(c,r.clientRect,o,e),(s||a)&&(t=c))}),!s&&!a){const{width:r,height:c}=this._viewportRuler.getViewportSize(),d={width:r,height:c,top:0,right:r,bottom:c,left:0};s=ek(d,e),a=tk(d,o),t=window}t&&(s!==this._verticalScrollDirection||a!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=a,this._scrollNode=t,(s||a)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const o=oi(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=o.msScrollSnapType||o.scrollSnapType||"",o.scrollSnapType=o.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const o=oi(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(o).clientRect}_cacheItemPositions(){const o="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:sT(t)}}).sort((e,t)=>o?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const o=oi(this.element).style;o.scrollSnapType=o.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const s=e.getRootElement();if(s){const a=null===(t=this._itemPositions.find(r=>r.drag===e))||void 0===t?void 0:t.initialTransform;s.style.transform=a||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(o,e,t){const s="horizontal"===this._orientation,a=e[o].clientRect,r=e[o+-1*t];let c=a[s?"width":"height"]*t;if(r){const d=s?"left":"top",h=s?"right":"bottom";-1===t?c-=r.clientRect[d]-a[h]:c+=a[d]-r.clientRect[h]}return c}_getItemOffsetPx(o,e,t){const s="horizontal"===this._orientation;let a=s?e.left-o.left:e.top-o.top;return-1===t&&(a+=s?e.width-o.width:e.height-o.height),a}_shouldEnterAsFirstChild(o,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,s="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const r=t[t.length-1].clientRect;return s?o>=r.right:e>=r.bottom}{const r=t[0].clientRect;return s?o<=r.left:e<=r.top}}_getItemIndexFromPointerPosition(o,e,t,s){const a="horizontal"===this._orientation,r=this._itemPositions.findIndex(({drag:c,clientRect:d})=>{if(c===o)return!1;if(s){const h=a?s.x:s.y;if(c===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return a?e>=Math.floor(d.left)&&e=Math.floor(d.top)&&ts._canReceive(o,e,t))}_canReceive(o,e,t){if(!this._clientRect||!oT(this._clientRect,e,t)||!this.enterPredicate(o,this))return!1;const s=this._getShadowRoot().elementFromPoint(e,t);if(!s)return!1;const a=oi(this.element);return s===a||a.contains(s)}_startReceiving(o,e){const t=this._activeSiblings;!t.has(o)&&e.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(t.add(o),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(o){this._activeSiblings.delete(o),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(o=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(o);e&&(this._itemPositions.forEach(({clientRect:t})=>{r1(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const o=Sl(oi(this.element));this._cachedShadowRoot=o||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const o=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,o))}}function ek(n,o){const{top:e,bottom:t,height:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=t-a&&o<=t+a?2:0}function tk(n,o){const{left:e,right:t,width:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=t-a&&o<=t+a?2:0}const qy=Ko({passive:!1,capture:!0});let uP=(()=>{class n{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new De.xQ,this.pointerUp=new De.xQ,this.scroll=new De.xQ,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,qy)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,qy)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const s=t.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:a=>this.pointerUp.next(a),options:!0}).set("scroll",{handler:a=>this.scroll.next(a),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:qy}),s||this._globalListeners.set("mousemove",{handler:a=>this.pointerMove.next(a),options:qy}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((a,r)=>{this._document.addEventListener(r,a.handler,a.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const t=[this.scroll];return e&&e!==this._document&&t.push(new Fi.y(s=>this._ngZone.runOutsideAngular(()=>{const r=c=>{this._activeDragInstances.length&&s.next(c)};return e.addEventListener("scroll",r,!0),()=>{e.removeEventListener("scroll",r,!0)}}))),(0,Li.T)(...t)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const dP={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let aT=(()=>{class n{constructor(e,t,s,a){this._document=e,this._ngZone=t,this._viewportRuler=s,this._dragDropRegistry=a}createDrag(e,t=dP){return new aP(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new cP(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(i.R0b),i.LFG(Ms),i.LFG(uP))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ik=new i.OlP("CDK_DRAG_PARENT"),nk=new i.OlP("CdkDropListGroup"),sk=new i.OlP("CDK_DRAG_CONFIG");let hP=0;const ok=new i.OlP("CdkDropList");let fP=(()=>{class n{constructor(e,t,s,a,r,c,d){this.element=e,this._changeDetectorRef=s,this._scrollDispatcher=a,this._dir=r,this._group=c,this._destroyed=new De.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+hP++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new i.vpe,this.entered=new i.vpe,this.exited=new i.vpe,this.sorted=new i.vpe,this._unsortedItems=new Set,this._dropListRef=t.createDropList(e),this._dropListRef.data=this,d&&this._assignDefaults(d),this._dropListRef.enterPredicate=(h,g)=>this.enterPredicate(h.data,g.data),this._dropListRef.sortPredicate=(h,g,O)=>this.sortPredicate(h,g.data,O.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),c&&c._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=je(e)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,t)=>e._dragRef.getVisibleElement().compareDocumentPosition(t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=n._dropLists.indexOf(this);e>-1&&n._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(ci(this._dir.value),it(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const t=vr(this.connectedTo).map(s=>"string"==typeof s?n._dropLists.find(r=>r.id===s):s);if(this._group&&this._group._items.forEach(s=>{-1===t.indexOf(s)&&t.push(s)}),!this._scrollableParentsResolved){const s=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(a=>a.getElementRef().nativeElement);this._dropListRef.withScrollableParents(s),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=je(this.sortingDisabled),e.autoScrollDisabled=je(this.autoScrollDisabled),e.autoScrollStep=on(this.autoScrollStep,2),e.connectedTo(t.filter(s=>s&&s!==this).map(s=>s._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),e.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),e.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance,dropPoint:t.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(e){const{lockAxis:t,draggingDisabled:s,sortingDisabled:a,listAutoScrollDisabled:r,listOrientation:c}=e;this.disabled=null!=s&&s,this.sortingDisabled=null!=a&&a,this.autoScrollDisabled=null!=r&&r,this.orientation=c||"vertical",t&&(this.lockAxis=t)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}}return n._dropLists=[],n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(aT),i.Y36(i.sBO),i.Y36(mc),i.Y36(Hn,8),i.Y36(nk,12),i.Y36(sk,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,t){2&e&&(i.uIk("id",t.id),i.ekj("cdk-drop-list-disabled",t.disabled)("cdk-drop-list-dragging",t._dropListRef.isDragging())("cdk-drop-list-receiving",t._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[i._Bn([{provide:nk,useValue:void 0},{provide:ok,useExisting:n}])]}),n})();const rk=new i.OlP("CdkDragHandle"),pP=new i.OlP("CdkDragPlaceholder"),gP=new i.OlP("CdkDragPreview");let _P=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$){this.element=e,this.dropContainer=t,this._ngZone=a,this._viewContainerRef=r,this._dir=d,this._changeDetectorRef=g,this._selfHandle=O,this._parentDrag=$,this._destroyed=new De.xQ,this.started=new i.vpe,this.released=new i.vpe,this.ended=new i.vpe,this.entered=new i.vpe,this.exited=new i.vpe,this.dropped=new i.vpe,this.moved=new Fi.y(oe=>{const be=this._dragRef.moved.pipe((0,pt.U)(ve=>({source:this,pointerPosition:ve.pointerPosition,event:ve.event,delta:ve.delta,distance:ve.distance}))).subscribe(oe);return()=>{be.unsubscribe()}}),this._dragRef=h.createDrag(e,{dragStartThreshold:c&&null!=c.dragStartThreshold?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&null!=c.pointerDirectionChangeThreshold?c.pointerDirectionChangeThreshold:5,zIndex:null==c?void 0:c.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),c&&this._assignDefaults(c),t&&(this._dragRef._withDropContainer(t._dropListRef),t.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=je(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,$t.q)(1),it(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const t=e.rootElementSelector,s=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),s&&!s.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=n._dragInstances.indexOf(this);e>-1&&n._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var e;const t=this.element.nativeElement;let s=t;this.rootElementSelector&&(s=void 0!==t.closest?t.closest(this.rootElementSelector):null===(e=t.parentElement)||void 0===e?void 0:e.closest(this.rootElementSelector)),this._dragRef.withRootElement(s||t)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):oi(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const t=this._dir,s=this.dragStartDelay,a=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,r=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof s&&s?s:on(s),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(a).withPreviewTemplate(r).withPreviewContainer(this.previewContainer||"global"),t&&e.withDirection(t.value)}}),e.beforeStarted.pipe((0,$t.q)(1)).subscribe(()=>{var t;if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let s=this.element.nativeElement.parentElement;for(;s;){if(s.classList.contains("cdk-drag")){e.withParent((null===(t=n._dragInstances.find(a=>a.element.nativeElement===s))||void 0===t?void 0:t._dragRef)||null);break}s=s.parentElement}})}_handleEvents(e){e.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(()=>{this.released.emit({source:this})}),e.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance,dropPoint:t.dropPoint}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),e.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),e.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:this,distance:t.distance,dropPoint:t.dropPoint})})}_assignDefaults(e){const{lockAxis:t,dragStartDelay:s,constrainPosition:a,previewClass:r,boundaryElement:c,draggingDisabled:d,rootElementSelector:h,previewContainer:g}=e;this.disabled=null!=d&&d,this.dragStartDelay=s||0,t&&(this.lockAxis=t),a&&(this.constrainPosition=a),r&&(this.previewClass=r),c&&(this.boundaryElement=c),h&&(this.rootElementSelector=h),g&&(this.previewContainer=g)}_setupHandlesListener(){this._handles.changes.pipe(ci(this._handles),(0,qi.b)(e=>{const t=e.filter(s=>s._parentDrag===this).map(s=>s.element);this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t)}),(0,mi.w)(e=>(0,Li.T)(...e.map(t=>t._stateChanges.pipe(ci(t))))),it(this._destroyed)).subscribe(e=>{const t=this._dragRef,s=e.element.nativeElement;e.disabled?t.disableHandle(s):t.enableHandle(s)})}}return n._dragInstances=[],n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(ok,12),i.Y36(b.K0),i.Y36(i.R0b),i.Y36(i.s_b),i.Y36(sk,8),i.Y36(Hn,8),i.Y36(aT),i.Y36(i.sBO),i.Y36(rk,10),i.Y36(ik,12))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,gP,5),i.Suo(s,pP,5),i.Suo(s,rk,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._previewTemplate=a.first),i.iGM(a=i.CRH())&&(t._placeholderTemplate=a.first),i.iGM(a=i.CRH())&&(t._handles=a)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[i._Bn([{provide:ik,useExisting:n}]),i.TTD]}),n})(),bP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[aT],imports:[Cn]}),n})();const yP=["*"],ak=new i.OlP("MatChipRemove"),ck=new i.OlP("MatChipAvatar"),lk=new i.OlP("MatChipTrailingIcon");class AP{constructor(o){this._elementRef=o}}const wP=Ic(va(to(AP),"primary"),-1);let jy=(()=>{class n extends wP{constructor(e,t,s,a,r,c,d,h){super(e),this._ngZone=t,this._changeDetectorRef=r,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new De.xQ,this._onBlur=new De.xQ,this.selectionChange=new i.vpe,this.destroyed=new i.vpe,this.removed=new i.vpe,this._addHostClassName(),this._chipRippleTarget=c.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new Jw(this,t,this._chipRippleTarget,s),this._chipRipple.setupTriggerEvents(e),this.rippleConfig=a||{},this._animationsDisabled="NoopAnimations"===d,this.tabIndex=null!=h&&parseInt(h)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(e){const t=je(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(e){this._value=e}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=je(e)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(e){this._disabled=je(e)}get removable(){return this._removable}set removable(e){this._removable=je(e)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const e="mat-basic-chip",t=this._elementRef.nativeElement;t.hasAttribute(e)||t.tagName.toLowerCase()===e?t.classList.add(e):t.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(e=!1){return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(e){this.disabled&&e.preventDefault()}_handleKeydown(e){if(!this.disabled)switch(e.keyCode){case 46:case 8:this.remove(),e.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),e.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(e=!1){this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(Ei),i.Y36(N_,8),i.Y36(i.sBO),i.Y36(b.K0),i.Y36(Bn,8),i.$8M("tabindex"))},n.\u0275dir=i.lG2({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,ck,5),i.Suo(s,lk,5),i.Suo(s,ak,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.avatar=a.first),i.iGM(a=i.CRH())&&(t.trailingIcon=a.first),i.iGM(a=i.CRH())&&(t.removeIcon=a.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t._handleClick(a)})("keydown",function(a){return t._handleKeydown(a)})("focus",function(){return t.focus()})("blur",function(){return t._blur()}),2&e&&(i.uIk("tabindex",t.disabled?null:t.tabIndex)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString())("aria-selected",t.ariaSelected),i.ekj("mat-chip-selected",t.selected)("mat-chip-with-avatar",t.avatar)("mat-chip-with-trailing-icon",t.trailingIcon||t.removeIcon)("mat-chip-disabled",t.disabled)("_mat-animation-noopable",t._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[i.qOj]}),n})();const uk=new i.OlP("mat-chips-default-options");let CP=0,dk=(()=>{class n{constructor(e,t){this._elementRef=e,this._defaultOptions=t,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new i.vpe,this.placeholder="",this.id="mat-chip-list-input-"+CP++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(e){e&&(this._chipList=e,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(e){this._addOnBlur=je(e)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(e){this._disabled=je(e)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(e){if(e){if(9===e.keyCode&&!cn(e,"shiftKey")&&this._chipList._allowFocusEscape(),8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}_keyup(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(e){!this.inputElement.value&&!!e&&this._chipList._keydown(e),(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==e||e.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(e){this.inputElement.focus(e)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(e){return!cn(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(uk))},n.\u0275dir=i.lG2({type:n,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(a){return t._keydown(a)})("keyup",function(a){return t._keyup(a)})("blur",function(){return t._blur()})("focus",function(){return t._focus()})("input",function(){return t._onInput()}),2&e&&(i.Ikx("id",t.id),i.uIk("disabled",t.disabled||null)("placeholder",t.placeholder||null)("aria-invalid",t._chipList&&t._chipList.ngControl?t._chipList.ngControl.invalid:null)("aria-required",t._chipList&&t._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[i.TTD]}),n})();const SP=qg(class{constructor(n,o,e,t){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=e,this.ngControl=t}});let EP=0;class kP{constructor(o,e){this.source=o,this.value=e}}let hk=(()=>{class n extends SP{constructor(e,t,s,a,r,c,d){super(c,a,r,d),this._elementRef=e,this._changeDetectorRef=t,this._dir=s,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new De.xQ,this._uid="mat-chip-list-"+EP++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(h,g)=>h===g,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var e,t;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(t=this._selectionModel)||void 0===t?void 0:t.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(e){this._multiple=je(e),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(kn.required))&&void 0!==a&&a}set required(e){this._required=je(e),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=je(e),this._syncChipsState()}get selectable(){return this._selectable}set selectable(e){this._selectable=je(e),this.chips&&this.chips.forEach(t=>t.chipListSelectable=this._selectable)}set tabIndex(e){this._userTabIndex=e,this._tabIndex=e}get chipSelectionChanges(){return(0,Li.T)(...this.chips.map(e=>e.selectionChange))}get chipFocusChanges(){return(0,Li.T)(...this.chips.map(e=>e._onFocus))}get chipBlurChanges(){return(0,Li.T)(...this.chips.map(e=>e._onBlur))}get chipRemoveChanges(){return(0,Li.T)(...this.chips.map(e=>e.destroyed))}ngAfterContentInit(){this._keyManager=new od(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(it(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.tabOut.pipe(it(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(ci(null),it(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new Vn(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}writeValue(e){this.chips&&this._setSelectionByValue(e,!1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}onContainerClick(e){this._originatesFromChip(e)||this.focus()}focus(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}_focusInput(e){this._chipInput&&this._chipInput.focus(e)}_keydown(e){const t=e.target;t&&t.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(e){return e>=0&&es.deselect()),Array.isArray(e))e.forEach(s=>this._selectValue(s,t)),this._sortValues();else{const s=this._selectValue(e,t);s&&t&&this._keyManager.setActiveItem(s)}}_selectValue(e,t=!0){const s=this.chips.find(a=>null!=a.value&&this._compareWith(a.value,e));return s&&(t?s.selectViaInteraction():s.select(),this._selectionModel.select(s)),s}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(e){this._selectionModel.clear(),this.chips.forEach(t=>{t!==e&&t.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(e=>{e.selected&&this._selectionModel.select(e)}),this.stateChanges.next())}_propagateChanges(e){let t=null;t=Array.isArray(this.selected)?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=t,this.change.emit(new kP(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(e=>{e.source.selected?this._selectionModel.select(e.source):this._selectionModel.deselect(e.source),this.multiple||this.chips.forEach(t=>{!this._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),e.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(e=>{let t=this.chips.toArray().indexOf(e.chip);this._isValidIndex(t)&&this._keyManager.updateActiveItem(t),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(e=>{const t=e.chip,s=this.chips.toArray().indexOf(e.chip);this._isValidIndex(s)&&t._hasFocus&&(this._lastDestroyedChipIndex=s)})}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(e=>e._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(e=>{e._chipListDisabled=this._disabled,e._chipListMultiple=this.multiple})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Hn,8),i.Y36(Bc,8),i.Y36(Ir,8),i.Y36(Nc),i.Y36(Ro,10))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-chip-list"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,jy,5),2&e){let a;i.iGM(a=i.CRH())&&(t.chips=a)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(e,t){1&e&&i.NdJ("focus",function(){return t.focus()})("blur",function(){return t._blur()})("keydown",function(a){return t._keydown(a)}),2&e&&(i.Ikx("id",t._uid),i.uIk("tabindex",t.disabled?null:t._tabIndex)("aria-describedby",t._ariaDescribedby||null)("aria-required",t.role?t.required:null)("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-multiselectable",t.multiple)("role",t.role)("aria-orientation",t.ariaOrientation),i.ekj("mat-chip-list-disabled",t.disabled)("mat-chip-list-invalid",t.errorState)("mat-chip-list-required",t.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[i._Bn([{provide:xd,useExisting:n}]),i.qOj],ngContentSelectors:yP,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.Hsn(1),i.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),n})(),DP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Nc,{provide:uk,useValue:{separatorKeyCodes:[13]}}],imports:[[gt]]}),n})();function xP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-icon",9),i.NdJ("mousedown",function(){return i.CHM(e),i.oxw(2).dragDisabled=!1}),i._uU(1,"drag_indicator"),i.qZA()}}function LP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-icon",10),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().edit(s)}),i._uU(1,"edit"),i.qZA()}}function RP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-icon",11),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().remove(s)}),i._uU(1,"cancel"),i.qZA()}}function OP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-chip",4),i.NdJ("removed",function(){const a=i.CHM(e).$implicit,r=i.oxw();return r.remove(a),r._sendEventToParent()}),i.YNc(1,xP,2,0,"mat-icon",5),i.TgZ(2,"div",6),i.NdJ("click",function(){const a=i.CHM(e).$implicit,r=i.oxw();return r.readonly&&void 0!==r.attribute.displayName&&r.showValue(a,r.attribute.displayName)}),i._uU(3),i.qZA(),i.YNc(4,LP,2,0,"mat-icon",7),i.YNc(5,RP,2,0,"mat-icon",8),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.Q6J("selectable",t.selectable)("cdkDragData",e)("removable",t.removable),i.xp6(1),i.Q6J("ngIf",t.removable),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.attribute.displayName),i.xp6(1),i.hij(" ",e," "),i.xp6(1),i.Q6J("ngIf",t.removable),i.xp6(1),i.Q6J("ngIf",t.removable)}}function PP(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"more_horiz"),i.qZA())}function zP(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"keyboard_arrow_up"),i.qZA())}function IP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",12),i.TgZ(1,"span",13),i.TgZ(2,"button",14),i.NdJ("click",function(){return i.CHM(e),i.oxw().onShowChange()}),i.YNc(3,PP,2,0,"mat-icon",15),i.YNc(4,zP,2,0,"mat-icon",15),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("matTooltip",e.showMore?"Show less":"Show more")("matTooltipPosition","above"),i.xp6(2),i.Q6J("ngIf",!e.showMore),i.xp6(1),i.Q6J("ngIf",e.showMore)}}function NP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",12),i.TgZ(1,"input",16),i.NdJ("matChipInputTokenEnd",function(s){return i.CHM(e),i.oxw().add(s)})("change",function(){return i.CHM(e),i.oxw()._sendEventToParent()}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(),t=i.MAs(2);i.xp6(1),i.Q6J("matChipInputFor",t)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes)("matChipInputAddOnBlur",e.addOnBlur)}}let HP=(()=>{class n{constructor(e){this.dialog=e,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[13,188],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new i.vpe,this.readonly=!1}ngOnInit(){this.removable=!Gd(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=Gd(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(e){const t=e.input,s=e.value;(s||"").trim()&&(this.attribute.value.push(s.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),t&&(t.value=""),this.sendEventToParent.emit()}remove(e){const t=Ri();t.width="400px",t.data={name:e},this.dialog.open(Dx,t).afterClosed().subscribe(a=>{if(a){const r=this.attribute.value.indexOf(e);this.attribute.value.splice(r,1),this.values=Object.values(this.attribute.value),this.sendEventToParent.emit()}})}drop(e){this.dragDisabled=!0,XE(this.attribute.value,e.previousIndex,e.currentIndex),this.values=Object.values(this.attribute.value)}edit(e){const t=this.attribute.value.indexOf(e),s=Ri();s.width="600px",s.data={attribute:this.attribute,index:t},this.dialog.open(kx,s).afterClosed().subscribe(r=>{r&&(this.values=Object.values(this.attribute.value),this.sendEventToParent.emit())})}showValue(e,t){const s=Ri();s.width="350px",s.data={value:e,title:t},this.dialog.open(Ry,s)}setItemsShown(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}onShowChange(){this.showMore=!this.showMore,this.setItemsShown()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-list"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:6,vars:4,consts:[["cdkDropList","","cdkDropListOrientation","vertical",1,"mat-chip-list-stacked",3,"cdkDropListDisabled","cdkDropListDropped"],["chipList",""],["class","chip-word-break","cdkDrag","",3,"selectable","cdkDragData","removable","removed",4,"ngFor","ngForOf"],["class","w-100",4,"ngIf"],["cdkDrag","",1,"chip-word-break",3,"selectable","cdkDragData","removable","removed"],["class","handle-icon",3,"mousedown",4,"ngIf"],[1,"chip-text","overflow-ellipsis",3,"click"],["class","edit-delete-icon ml-2",3,"click",4,"ngIf"],["class","edit-delete-icon",3,"click",4,"ngIf"],[1,"handle-icon",3,"mousedown"],[1,"edit-delete-icon","ml-2",3,"click"],[1,"edit-delete-icon",3,"click"],[1,"w-100"],[3,"matTooltip","matTooltipPosition"],["mat-icon-button","",1,"ml-auto",3,"click"],[4,"ngIf"],["matInput","","placeholder","New value",1,"w-100","m-0",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"mat-chip-list",0,1),i.NdJ("cdkDropListDropped",function(a){return t.drop(a),t._sendEventToParent()}),i.YNc(3,OP,6,9,"mat-chip",2),i.YNc(4,IP,5,4,"div",3),i.YNc(5,NP,2,3,"mat-form-field",3),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Q6J("cdkDropListDisabled",t.dragDisabled),i.xp6(2),i.Q6J("ngForOf",t.values.slice(0,t.itemsShown)),i.xp6(1),i.Q6J("ngIf",t.values.length>t.defaultItemsShown),i.xp6(1),i.Q6J("ngIf",!t.readonly))},directives:[hk,fP,b.sg,jy,_P,b.O5,xn,fs,Yt,un,qn,dk],styles:[".chip-word-break[_ngcontent-%COMP%]{word-break:break-all}.chip-text[_ngcontent-%COMP%]{display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical;overflow:hidden}.mat-chip-list[_ngcontent-%COMP%] .mat-chip[_ngcontent-%COMP%]{width:auto;min-width:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.chip-word-break[_ngcontent-%COMP%] .cdk-drop-list-dragging[_ngcontent-%COMP%] .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.example-box[_ngcontent-%COMP%]:last-child{border:none}.edit-delete-icon[_ngcontent-%COMP%]{font-size:18px;justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;justify-content:center;align-items:center;display:flex;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),n})(),BP=(()=>{class n{constructor(e){this.dialog=e,this.readonly=!1,this.sendEventToParent=new i.vpe}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=Gd(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(e,t){const s=Ri();s.width="350px",s.data={value:e,title:t},this.dialog.open(Ry,s)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:8,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.TgZ(1,"input",1),i.NdJ("click",function(){return t.readonly&&void 0!==t.value&&t.showValue(t.value,t.attribute.displayName)})("ngModelChange",function(a){return t.attribute.value=a})("keydown",function(){return t._sendEventToParent()}),i.ALo(2,"multiWordDataCy"),i.qZA(),i.qZA()),2&e&&(i.s9C("appearance",t.readonly?"none":"standard"),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.value),i.Q2q("data-cy","",i.lcZ(2,6,t.attribute.displayName),"-value"),i.Q6J("readonly",t.readonly)("ngModel",t.attribute.value))},directives:[un,qn,bn,dn,zr],pipes:[tT],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),n})(),FP=(()=>{class n{constructor(e){this.dialog=e,this.readonly=!1,this.sendEventToParent=new i.vpe}ngOnInit(){this.readonly||(this.readonly=Gd(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(e){const t=Ri();t.width="350px",t.data={value:e.value,title:e.displayName},this.dialog.open(Ry,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-integer"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","number",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.TgZ(1,"input",1),i.NdJ("click",function(){return t.readonly&&void 0!==t.attribute.value&&t.showValue(t.attribute)})("ngModelChange",function(a){return t.attribute.value=a})("keydown",function(){return t._sendEventToParent()}),i.qZA(),i.qZA()),2&e&&(i.s9C("appearance",t.readonly?"none":"standard"),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.attribute.value),i.Q6J("readonly",t.readonly)("ngModel",t.attribute.value))},directives:[un,qn,iu,bn,dn,zr],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();const qP=["map"];function jP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-attribute-value-boolean",3),i.NdJ("sendEventToParent",function(){return i.CHM(e),i.oxw()._sendEventToParent2()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function YP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-attribute-value-list",3),i.NdJ("sendEventToParent",function(){return i.CHM(e),i.oxw()._sendEventToParent2()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function UP(n,o){if(1&n&&i._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function GP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-attribute-value-string",3),i.NdJ("sendEventToParent",function(){return i.CHM(e),i.oxw()._sendEventToParent2()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function VP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-attribute-value-integer",3),i.NdJ("sendEventToParent",function(){return i.CHM(e),i.oxw()._sendEventToParent2()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}let cT=(()=>{class n{constructor(){this.readonly=!1,this.sendEventToParent2=new i.vpe}updateMapAttribute(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}_sendEventToParent2(){this.sendEventToParent2.emit()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(e,t){if(1&e&&i.Gf(qP,5),2&e){let s;i.iGM(s=i.CRH())&&(t.mapComponent=s.first)}},inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent2:"sendEventToParent2"},decls:7,vars:5,consts:[[3,"attribute","readonly","sendEventToParent",4,"ngIf"],[3,"click"],[3,"attribute","readonly",4,"ngIf"],[3,"attribute","readonly","sendEventToParent"],[3,"attribute","readonly"],["map",""]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.YNc(1,jP,1,2,"perun-web-apps-attribute-value-boolean",0),i.YNc(2,YP,1,2,"perun-web-apps-attribute-value-list",0),i.TgZ(3,"div",1),i.NdJ("click",function(){return t._sendEventToParent2()}),i.YNc(4,UP,2,2,"perun-web-apps-attribute-value-map",2),i.qZA(),i.YNc(5,GP,1,2,"perun-web-apps-attribute-value-string",0),i.YNc(6,VP,1,2,"perun-web-apps-attribute-value-integer",0),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf","java.lang.Boolean"===t.attribute.type),i.xp6(1),i.Q6J("ngIf","java.util.ArrayList"===t.attribute.type),i.xp6(2),i.Q6J("ngIf","java.util.LinkedHashMap"===t.attribute.type),i.xp6(1),i.Q6J("ngIf","java.lang.String"===t.attribute.type||"java.lang.LargeString"===t.attribute.type),i.xp6(1),i.Q6J("ngIf","java.lang.Integer"===t.attribute.type))},directives:[b.O5,tP,HP,jO,BP,FP],styles:[""]}),n})();function WP(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function KP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-option",16),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw(4).changeLanguage(a)}),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"uppercase"),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",i.lcZ(2,2,i.lcZ(3,4,"SHARED_LIB.LANGUAGES."+e))," ")}}function ZP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",13),i.TgZ(1,"mat-select",14),i.NdJ("valueChange",function(s){return i.CHM(e),i.oxw(3).currentLang=s}),i.YNc(2,KP,4,6,"mat-option",15),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("value",e.currentLang),i.xp6(1),i.Q6J("ngForOf",e.languages)}}function $P(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"a",17),i._uU(2),i.qZA(),i.TgZ(3,"button",18),i.NdJ("click",function(){return i.CHM(e),i.oxw(3).changeEmail()}),i.TgZ(4,"mat-icon"),i._uU(5," edit "),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(3);i.xp6(1),i.MGl("href","mailto:",e.email,"",i.LSH),i.xp6(1),i.Oqu(e.email)}}function XP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-option",16),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw(4).changeTimeZone(a)}),i._uU(1),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e," ")}}function QP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",13),i.TgZ(1,"mat-select",19),i.NdJ("valueChange",function(s){return i.CHM(e),i.oxw(3).currentTimezone=s}),i.YNc(2,XP,2,2,"mat-option",15),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("value",e.currentTimezone),i.xp6(1),i.Q6J("ngForOf",e.timeZones)}}function JP(n,o){1&n&&(i.TgZ(0,"p"),i._uU(1,"-"),i.qZA())}function ez(n,o){if(1&n&&i._UZ(0,"perun-web-apps-attribute-value",22),2&n){const e=i.oxw(2).$implicit;i.Q6J("attribute",e.attribute)("readonly",!0)}}function tz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,JP,2,0,"p",20),i.YNc(2,ez,1,2,"perun-web-apps-attribute-value",21),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Q6J("ngIf",!e.attribute.value),i.xp6(1),i.Q6J("ngIf",e.attribute.value)}}function iz(n,o){if(1&n&&(i.TgZ(0,"tr"),i.TgZ(1,"td",7),i.TgZ(2,"div",8),i._uU(3),i.qZA(),i.qZA(),i.TgZ(4,"td",9),i.YNc(5,ZP,3,2,"mat-form-field",10),i.YNc(6,$P,6,2,"div",11),i.YNc(7,QP,3,2,"mat-form-field",10),i.YNc(8,tz,3,2,"div",12),i.qZA(),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(2);i.xp6(2),i.Q6J("matTooltip",e["tooltip_"+t.currentLang]),i.xp6(1),i.hij(" ",e["displayName_"+t.currentLang]," "),i.xp6(1),i.Q6J("ngSwitch",e.attribute.friendlyName),i.xp6(1),i.Q6J("ngSwitchCase","preferredLanguage"),i.xp6(1),i.Q6J("ngSwitchCase","preferredMail"),i.xp6(1),i.Q6J("ngSwitchCase","timezone")}}function nz(n,o){if(1&n&&(i.TgZ(0,"table",4),i.TgZ(1,"tbody"),i.TgZ(2,"tr"),i.TgZ(3,"td",5),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"td"),i._uU(8),i.qZA(),i.qZA(),i.YNc(9,iz,9,6,"tr",6),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(4),i.Oqu(i.lcZ(5,3,i.lcZ(6,5,"PROFILE_PAGE.NAME"))),i.xp6(4),i.Oqu(e.fullName),i.xp6(1),i.Q6J("ngForOf",e.additionalAttributes)}}let sz=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$){this.translateService=e,this.dialog=t,this.authzResolverService=s,this.attributesManagerService=a,this.usersManagerService=r,this.route=c,this.router=d,this.notificator=h,this.storeService=g,this.apiRequestConfiguration=O,this.preferredLangService=$,this.currentLang="en",this.languages=this.storeService.get("supported_languages"),this.timeZones=zO.tz.names().filter(oe=>!oe.startsWith("Etc/")),this.additionalAttributes=[],this.email="",this.fullName="",this.organization="",this.currentTimezone="",e.get("PROFILE_PAGE.MAIL_CHANGE_SUCCESS").subscribe(oe=>this.successMessage=oe)}ngOnInit(){const e=this.route.snapshot.queryParamMap,t=e.get("token"),s=e.get("u");this.loading=!0,t&&s?(this.apiRequestConfiguration.dontHandleErrorForNext(),this.usersManagerService.validatePreferredEmailChangeWithToken(t,Number.parseInt(s,10)).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.router.navigate([],{replaceUrl:!0}),this.getData()},()=>{const a=Ri();a.width="600px",this.dialog.open(qx,a).afterClosed().subscribe(()=>{this.getData()})})):this.getData()}getData(){this.authzResolverService.getPerunPrincipal().subscribe(e=>{this.userId=e.userId,this.usersManagerService.getRichUserWithAttributes(this.userId).subscribe(t=>{this.fullName=(new wy).transform(t);const s=t.userAttributes.find(g=>"preferredMail"===g.friendlyName);this.email=s.value,this.languageAttribute=t.userAttributes.find(g=>"preferredLanguage"===g.friendlyName);const a=this.languageAttribute&&this.languageAttribute.value?this.languageAttribute.value.toString():null,r=this.preferredLangService.getPreferredLanguage(a);this.translateService.use(r),this.currentLang=r,this.timezoneAttribute=t.userAttributes.find(g=>"timezone"===g.friendlyName),this.currentTimezone=this.timezoneAttribute&&this.timezoneAttribute.value?this.timezoneAttribute.value:"-";const c=this.storeService.get("profile_page_attributes");let d=0;const h=this.storeService.get("supported_languages");c.forEach(g=>{const O=t.userAttributes.find($=>$.friendlyName===g.friendly_name);O?(d++,this.addAttribute(O,g,h)):this.attributesManagerService.getAttributeDefinitionByName(`urn:perun:user:attribute-def:${g.is_virtual?"virt":"def"}:${g.friendly_name}`).subscribe($=>{this.addAttribute($,g,h),d++,this.loading=d!==c.length}),this.loading=d!==c.length})})})}addAttribute(e,t,s){var a;const r={attribute:e};for(const c of s)r[`displayName_${c}`]=t[`display_name_${c}`]&&t[`display_name_${c}`].length?t[`display_name_${c}`]:e.displayName,r[`tooltip_${c}`]=null!==(a=t[`tooltip_${c}`])&&void 0!==a?a:"";this.additionalAttributes.push(r)}changeLanguage(e){this.currentLang=e,this.translateService.use(this.currentLang),this.languageAttribute?this.setLanguage():this.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:def:preferredLanguage").subscribe(t=>{this.languageAttribute=t,this.setLanguage()})}setLanguage(){this.languageAttribute.value=this.currentLang,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.languageAttribute}).subscribe(()=>{this.router.navigate([],{queryParams:{lang:null},queryParamsHandling:"merge"})})}changeTimeZone(e){this.currentTimezone=e,this.timezoneAttribute?this.setTimeZone():this.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:def:timezone").subscribe(t=>{this.timezoneAttribute=t,this.setTimeZone()})}setTimeZone(){this.timezoneAttribute.value=this.currentTimezone,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.timezoneAttribute}).subscribe(()=>{})}changeEmail(){const e=Ri();e.width="350px",e.data={userId:this.userId},this.dialog.open(Rx,e).afterClosed().subscribe(s=>{s&&this.getEmail()})}getEmail(){this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredMail").subscribe(e=>{this.email=e.value})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ai),i.Y36(Ii),i.Y36(Ki),i.Y36(si),i.Y36(Tt),i.Y36(Xn),i.Y36(ji),i.Y36(or),i.Y36(ti),i.Y36(Sv),i.Y36(Ev))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-profile-page"]],decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3 word-break-all",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"mt-3","word-break-all"],[1,"font-weight-bold"],[4,"ngFor","ngForOf"],[1,"font-weight-bold","att-name-width"],["matTooltipPosition","above",3,"matTooltip"],[1,"w-100",3,"ngSwitch"],["class","center-self",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"center-self"],[1,"mb-auto",3,"value","valueChange"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"],[1,"center-self",3,"href"],["mat-icon-button","",1,"ml-2",3,"click"],[3,"value","valueChange"],[4,"ngIf"],[3,"attribute","readonly",4,"ngIf"],[3,"attribute","readonly"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,WP,1,0,"mat-spinner",1),i.YNc(2,nz,10,7,"table",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,Jn,b.sg,fs,b.RF,b.n9,un,Zf,Ca,Yt,xn,b.ED,cT],pipes:[dt,Ci,b.gd],styles:[".center-self[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.word-break-all[_ngcontent-%COMP%]{word-break:break-all}td[_ngcontent-%COMP%]{padding-right:1rem!important}.att-name-width[_ngcontent-%COMP%]{min-width:200px}"]}),n})();const oz=["mat-sort-header",""];function rz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",3),i.NdJ("@arrowPosition.start",function(){return i.CHM(e),i.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return i.CHM(e),i.oxw()._disableViewStateAnimation=!1}),i._UZ(1,"div",4),i.TgZ(2,"div",5),i._UZ(3,"div",6),i._UZ(4,"div",7),i._UZ(5,"div",8),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),i.xp6(2),i.Q6J("@indicator",e._getArrowDirectionState()),i.xp6(1),i.Q6J("@leftPointer",e._getArrowDirectionState()),i.xp6(1),i.Q6J("@rightPointer",e._getArrowDirectionState())}}const az=["*"],cu=Yw.ENTERING+" "+jw.STANDARD_CURVE,ap={indicator:Ti("indicator",[ii("active-asc, asc",qe({transform:"translateY(0px)"})),ii("active-desc, desc",qe({transform:"translateY(10px)"})),Ht("active-asc <=> active-desc",Ct(cu))]),leftPointer:Ti("leftPointer",[ii("active-asc, asc",qe({transform:"rotate(-45deg)"})),ii("active-desc, desc",qe({transform:"rotate(45deg)"})),Ht("active-asc <=> active-desc",Ct(cu))]),rightPointer:Ti("rightPointer",[ii("active-asc, asc",qe({transform:"rotate(45deg)"})),ii("active-desc, desc",qe({transform:"rotate(-45deg)"})),Ht("active-asc <=> active-desc",Ct(cu))]),arrowOpacity:Ti("arrowOpacity",[ii("desc-to-active, asc-to-active, active",qe({opacity:1})),ii("desc-to-hint, asc-to-hint, hint",qe({opacity:.54})),ii("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",qe({opacity:0})),Ht("* => asc, * => desc, * => active, * => hint, * => void",Ct("0ms")),Ht("* <=> *",Ct(cu))]),arrowPosition:Ti("arrowPosition",[Ht("* => desc-to-hint, * => desc-to-active",Ct(cu,Er([qe({transform:"translateY(-25%)"}),qe({transform:"translateY(0)"})]))),Ht("* => hint-to-desc, * => active-to-desc",Ct(cu,Er([qe({transform:"translateY(0)"}),qe({transform:"translateY(25%)"})]))),Ht("* => asc-to-hint, * => asc-to-active",Ct(cu,Er([qe({transform:"translateY(25%)"}),qe({transform:"translateY(0)"})]))),Ht("* => hint-to-asc, * => active-to-asc",Ct(cu,Er([qe({transform:"translateY(0)"}),qe({transform:"translateY(-25%)"})]))),ii("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",qe({transform:"translateY(0)"})),ii("hint-to-desc, active-to-desc, desc",qe({transform:"translateY(-25%)"})),ii("hint-to-asc, active-to-asc, asc",qe({transform:"translateY(25%)"}))]),allowChildren:Ti("allowChildren",[Ht("* <=> *",[Eo("@*",zm(),{optional:!0})])])};let Yy=(()=>{class n{constructor(){this.changes=new De.xQ}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const lz={provide:Yy,deps:[[new i.FiY,new i.tp0,Yy]],useFactory:function cz(n){return n||new Yy}},uz=new i.OlP("MAT_SORT_DEFAULT_OPTIONS"),dz=R_(ir(class{}));let Na=(()=>{class n extends dz{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new De.xQ,this.start="asc",this._direction="",this.sortChange=new i.vpe}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=je(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var t,s,a;if(!e)return"";const r=null!==(s=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==s?s:!!(null===(a=this._defaultOptions)||void 0===a?void 0:a.disableClear);let c=function hz(n,o){let e=["asc","desc"];return"desc"==n&&e.reverse(),o||e.push(""),e}(e.start||this.start,r),d=c.indexOf(this.direction)+1;return d>=c.length&&(d=0),c[d]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(uz,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.qOj,i.TTD]}),n})();const fz=ir(class{});let Uy=(()=>{class n extends fz{constructor(e,t,s,a,r,c,d){super(),this._intl=e,this._changeDetectorRef=t,this._sort=s,this._columnDef=a,this._focusMonitor=r,this._elementRef=c,this._ariaDescriber=d,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=je(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const t=!!e;t!==this._showIndicatorHint&&(this._setIndicatorHintVisible(t),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){var t,s;this._sortButton&&(null===(t=this._ariaDescriber)||void 0===t||t.removeDescription(this._sortButton,this._sortActionDescription),null===(s=this._ariaDescriber)||void 0===s||s.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=(0,Li.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Yy),i.Y36(i.sBO),i.Y36(Na,8),i.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),i.Y36(So),i.Y36(i.SBq),i.Y36(sd,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._handleClick()})("keydown",function(a){return t._handleKeydown(a)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(i.uIk("aria-sort",t._getAriaSortAttribute()),i.ekj("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[i.qOj],attrs:oz,ngContentSelectors:az,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.YNc(3,rz,6,6,"div",2),i.qZA()),2&e&&(i.ekj("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),i.uIk("tabindex",t._isDisabled()?null:0),i.xp6(3),i.Q6J("ngIf",t._renderArrow()))},directives:[b.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[ap.indicator,ap.leftPointer,ap.rightPointer,ap.arrowOpacity,ap.arrowPosition,ap.allowChildren]},changeDetection:0}),n})(),fk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[lz],imports:[[b.ez,gt]]}),n})(),pz=(()=>{class n{constructor(e){this.elementRef=e}ngOnInit(){this.elementRef.nativeElement.focus()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","perunWebAppsAutoFocus",""]]}),n})(),pk=(()=>{class n{constructor(){}onClick(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),s=location.search;window.open(t+s)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(e,t){1&e&&i.NdJ("mouseup",function(a){return t.onClick(a)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),n})(),gz=(()=>{class n{transform(e){const t=e.find(s=>"mail"===s.friendlyName);return t?t.value.toString():"N/A"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"getMailFromAttributes",type:n,pure:!0}),n})();function mz(n,o){1&n&&i._UZ(0,"th",18)}function _z(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"span",20),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.TgZ(4,"mat-checkbox",21),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.s9C("matTooltip",i.lcZ(2,6,i.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.CANNOT_BE_DELETED_TOOLTIP"))),i.Q6J("matTooltipPosition","above")("matTooltipDisabled",!e.userExtSource.persistent),i.xp6(3),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))("disabled",e.userExtSource.persistent)}}function bz(n,o){1&n&&(i.TgZ(0,"th",22),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))," "))}function yz(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.id," ")}}function Az(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))," "))}function wz(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.ALo(2,"getMailFromAttributes"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.attributes)," ")}}function Mz(n,o){if(1&n&&(i.TgZ(0,"th",22),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,e.extSourceNameHeader?e.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME"))," ")}}function vz(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.extSource.name," ")}}function Tz(n,o){if(1&n&&(i.TgZ(0,"th",22),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,e.loginHeader?e.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN"))," ")}}function Cz(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.login," ")}}function Sz(n,o){1&n&&(i.TgZ(0,"th",22),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))," "))}function Ez(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.ALo(2,"date"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.xi3(2,1,e.userExtSource.lastAccess,"d.M.y H:mm:ss")," ")}}function kz(n,o){1&n&&i._UZ(0,"tr",26)}const gk=function(n,o){return["/admin","users",n,"identities",o]};function Dz(n,o){if(1&n&&i._UZ(0,"tr",27),2&n){const e=o.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disableRouting)("disable-outline",t.disableRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",t.disableRouting?null:i.WLB(6,gk,t.userId,e.userExtSource.id))("routerLink",t.disableRouting?null:i.WLB(9,gk,t.userId,e.userExtSource.id))}}function xz(n,o){1&n&&(i.TgZ(0,"app-alert",28),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Lz(n,o){1&n&&(i.TgZ(0,"app-alert",28),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let Rz=(()=>{class n{constructor(e,t){this.route=e,this.authResolver=t,this.selection=new Vn,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSizeOptions=Q0}set matSort(e){this.sort=e,this.setDataSource()}ngOnInit(){this.disableRouting||this.route.parent.params.subscribe(e=>{this.userId=e.userId}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new $c(this.userExtSources),this.setDataSource()}getDataForColumn(e,t){switch(t){case"id":return e.userExtSource.id.toString();case"mail":{const s=e.attributes.find(a=>"mail"===a.friendlyName);return s?s.value.toString():"N/A"}case"extSourceName":return e.userExtSource.extSource.name;case"login":return e.userExtSource.login;case"lastAccess":return e.userExtSource.lastAccess.split(".")[0];default:return e[t]}}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Ay(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>yy(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(e){return`${this.selection.isSelected(e.userExtSource)?"deselect":"select"} row ${e.userExtSource.id+1}`}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Xn),i.Y36(Ga))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(La,7),i.Gf(Na,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.child=s.first),i.iGM(s=i.CRH())&&(t.matSort=s.first)}},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",tableId:"tableId",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},features:[i.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","extSourceName"],["matColumnDef","login"],["matColumnDef","lastAccess",1,"pl-3"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,mz,1,0,"th",4),i.YNc(5,_z,5,10,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,bz,4,5,"th",7),i.YNc(8,yz,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,Az,4,5,"th",10),i.YNc(11,wz,3,3,"td",8),i.BQk(),i.ynx(12,11),i.YNc(13,Mz,4,5,"th",7),i.YNc(14,vz,2,1,"td",8),i.BQk(),i.ynx(15,12),i.YNc(16,Tz,4,5,"th",7),i.YNc(17,Cz,2,1,"td",8),i.BQk(),i.ynx(18,13),i.YNc(19,Sz,4,5,"th",7),i.YNc(20,Ez,3,4,"td",14),i.BQk(),i.YNc(21,kz,1,0,"tr",15),i.YNc(22,Dz,1,12,"tr",16),i.qZA(),i.qZA(),i.qZA(),i.YNc(23,xz,3,3,"app-alert",17),i.YNc(24,Lz,4,5,"app-alert",17)),2&e&&(i.Q6J("hidden",0===t.userExtSources.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(19),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.userExtSources.length),i.xp6(1),i.Q6J("ngIf",0===t.userExtSources.length))},directives:[La,Ra,Na,Br,Hr,Fr,Nr,qr,fs,au,Uy,Oa,za,Pa,Ia,pk,It,b.O5,es],pipes:[dt,Ci,gz,b.uU],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),n})();function Oz(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function Pz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h1",8),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"button",5),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).addIdentity()}),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"button",6),i.NdJ("click",function(){i.CHM(e);const s=i.oxw(2);return s.removeIdentity(s.certSelection)}),i._uU(10),i.ALo(11,"translate"),i.ALo(12,"customTranslate"),i.qZA(),i._UZ(13,"perun-web-apps-user-ext-sources-list",11),i.qZA()}if(2&n){const e=i.oxw(2);i.xp6(2),i.Oqu(i.lcZ(3,10,i.lcZ(4,12,"IDENTITIES.CERT"))),i.xp6(4),i.hij(" ",i.lcZ(7,14,i.lcZ(8,16,"IDENTITIES.ADD"))," "),i.xp6(3),i.Q6J("disabled",0===e.certSelection.selected.length),i.xp6(1),i.hij(" ",i.lcZ(11,18,i.lcZ(12,20,"IDENTITIES.REMOVE"))," "),i.xp6(3),i.Q6J("userExtSources",e.certExtSources)("selection",e.certSelection)("extSourceNameHeader",e.extSourceNameCert)("loginHeader",e.loginCert)("displayedColumns",e.displayedColumnsCert)("disableRouting",!0)}}function zz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h1",4),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"button",5),i.NdJ("click",function(){return i.CHM(e),i.oxw().addIdentity()}),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"button",6),i.NdJ("click",function(){i.CHM(e);const s=i.oxw();return s.removeIdentity(s.idpSelection)}),i._uU(10),i.ALo(11,"translate"),i.ALo(12,"customTranslate"),i.qZA(),i._UZ(13,"perun-web-apps-user-ext-sources-list",7),i.YNc(14,Pz,14,22,"div",2),i.TgZ(15,"h1",8),i._uU(16),i.ALo(17,"translate"),i.ALo(18,"customTranslate"),i.TgZ(19,"mat-icon",9),i.ALo(20,"translate"),i.ALo(21,"customTranslate"),i._uU(22," info_outline "),i.qZA(),i.qZA(),i._UZ(23,"perun-web-apps-user-ext-sources-list",10),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,17,i.lcZ(4,19,"IDENTITIES.IDP"))),i.xp6(4),i.hij(" ",i.lcZ(7,21,i.lcZ(8,23,"IDENTITIES.ADD"))," "),i.xp6(3),i.Q6J("disabled",0===e.idpSelection.selected.length),i.xp6(1),i.hij(" ",i.lcZ(11,25,i.lcZ(12,27,"IDENTITIES.REMOVE"))," "),i.xp6(3),i.Q6J("userExtSources",e.idpExtSources)("selection",e.idpSelection)("displayedColumns",e.displayedColumnsIdp)("loginHeader",e.loginIdp)("disableRouting",!0),i.xp6(1),i.Q6J("ngIf",e.displayCertificates),i.xp6(2),i.hij(" ",i.lcZ(17,29,i.lcZ(18,31,"IDENTITIES.OTHER"))," "),i.xp6(3),i.Q6J("matTooltip",i.lcZ(20,33,i.lcZ(21,35,"IDENTITIES.OTHER_TOOLTIP"))),i.xp6(4),i.Q6J("userExtSources",e.otherExtSources)("selection",e.otherSelection)("extSourceNameHeader",e.extSourceNameOther)("displayedColumns",e.displayedColumnsOther)("disableRouting",!0)}}let Iz=(()=>{class n{constructor(e,t,s,a,r){this.usersManagerService=e,this.storage=t,this.registrarManagerService=s,this.dialog=a,this.attributesManagerService=r,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.idpSelection=new Vn(!0,[]),this.certSelection=new Vn(!0,[]),this.otherSelection=new Vn(!0,[]),this.loginIdp="IDENTITIES.LOGIN_IDP",this.extSourceNameCert="IDENTITIES.EXT_SOURCE_NAME_CERT",this.loginCert="IDENTITIES.LOGIN_CERT",this.extSourceNameOther="IDENTITIES.EXT_SOURCE_NAME_OTHER",this.displayedColumnsIdp=["select","extSourceName","login","lastAccess"],this.displayedColumnsCert=["select","extSourceName","login","lastAccess"],this.displayedColumnsOther=["extSourceName","login","lastAccess"]}ngOnInit(){this.userId=this.storage.getPerunPrincipal().userId,this.displayCertificates=this.storage.get("display_identity_certificates"),this.refreshTables()}refreshTables(){this.loading=!0,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.usersManagerService.getRichUserExtSources(this.userId).subscribe(e=>{let t=e.length;e.forEach(s=>{this.attributesManagerService.getUserExtSourceAttributeByName(s.userExtSource.id,"urn:perun:ues:attribute-def:def:sourceIdPName").subscribe(a=>{a&&a.value?(s.userExtSource.extSource.name=a.value,t--,this.loading=0!==t,this.addToList(s)):this.attributesManagerService.getUserExtSourceAttributeByName(s.userExtSource.id,"urn:perun:ues:attribute-def:def:IdPOrganizationName").subscribe(r=>{t--,r&&r.value&&(s.userExtSource.extSource.name=r.value),this.loading=0!==t,this.addToList(s)})})})})}addIdentity(){this.registrarManagerService.getConsolidatorToken().subscribe(e=>{const t=this.storage.getPerunPrincipal().extSourceType,s=this.storage.get("consolidator_base_url");window.location.href=`${s}${t&&t.endsWith("X509")?"cert":"fed"}-ic/ic/?target_url=${window.location.href}&token=${e}`})}removeIdentity(e){const t=Ri();t.width="600px",t.data={theme:"user-theme",userId:this.userId,extSources:e.selected},this.dialog.open(Tx,t).afterClosed().subscribe(a=>{a&&(e.clear(),this.refreshTables())})}addToList(e){e.userExtSource.extSource.type.endsWith("Idp")?this.idpExtSources.push(e):e.userExtSource.extSource.type.endsWith("X509")?this.certExtSources.push(e):this.otherExtSources.push(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(ti),i.Y36(Rn),i.Y36(Ii),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-identities-page"]],decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"page-title"],["mat-flat-button","","color","accent",1,"action-button",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[3,"userExtSources","selection","displayedColumns","loginHeader","disableRouting"],[1,"page-title","mt-5"],["matTooltipPosition","above",1,"center-icon",3,"matTooltip"],[3,"userExtSources","selection","extSourceNameHeader","displayedColumns","disableRouting"],[3,"userExtSources","selection","extSourceNameHeader","loginHeader","displayedColumns","disableRouting"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,Oz,1,0,"mat-spinner",1),i.YNc(2,zz,24,37,"div",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,Jn,Yt,Rz,xn,fs],pipes:[dt,Ci],styles:[".center-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),n})();const Nz=["panel"];function Hz(n,o){if(1&n&&(i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA()),2&n){const e=o.id,t=i.oxw();i.Q6J("id",t.id)("ngClass",t._classList),i.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(e))}}const Bz=["*"];let Fz=0;class qz{constructor(o,e){this.source=o,this.option=e}}const jz=to(class{}),mk=new i.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function Yz(){return{autoActiveFirstOption:!1}}});let Uz=(()=>{class n extends jz{constructor(e,t,s,a){super(),this._changeDetectorRef=e,this._elementRef=t,this._activeOptionChanges=P.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new i.vpe,this.opened=new i.vpe,this.closed=new i.vpe,this.optionActivated=new i.vpe,this._classList={},this.id="mat-autocomplete-"+Fz++,this.inertGroups=(null==a?void 0:a.SAFARI)||!1,this._autoActiveFirstOption=!!s.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=je(e)}set classList(e){this._classList=e&&e.length?function qu(n,o=/\s+/){const e=[];if(null!=n){const t=Array.isArray(n)?n:`${n}`.split(o);for(const s of t){const a=`${s}`.trim();a&&e.push(a)}}return e}(e).reduce((t,s)=>(t[s]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new Uh(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const t=new qz(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(mk),i.Y36(Ei))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf(i.Rgc,7),i.Gf(Nz,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.template=s.first),i.iGM(s=i.CRH())&&(t.panel=s.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[i.qOj]}),n})(),Gz=(()=>{class n extends Uz{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Gg,5),i.Suo(s,Ca,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.optionGroups=a),i.iGM(a=i.CRH())&&(t.options=a)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[i._Bn([{provide:Gl,useExisting:n}]),i.qOj],ngContentSelectors:Bz,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,Hz,3,4,"ng-template"))},directives:[b.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),n})();const _k=new i.OlP("mat-autocomplete-scroll-strategy"),Wz={provide:_k,deps:[$i],useFactory:function Vz(n){return()=>n.scrollStrategies.reposition()}},Kz={provide:Wn,useExisting:(0,i.Gpc)(()=>bk),multi:!0};let Zz=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$){this._element=e,this._overlay=t,this._viewContainerRef=s,this._zone=a,this._changeDetectorRef=r,this._dir=d,this._formField=h,this._document=g,this._viewportRuler=O,this._defaults=$,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=P.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new De.xQ,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Fo(()=>{const oe=this.autocomplete?this.autocomplete.options:null;return oe?oe.changes.pipe(ci(oe),(0,mi.w)(()=>(0,Li.T)(...oe.map(be=>be.onSelectionChange)))):this._zone.onStable.pipe((0,$t.q)(1),(0,mi.w)(()=>this.optionSelections))}),this._scrollStrategy=c}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=je(e)}ngAfterViewInit(){const e=this._getWindow();void 0!==e&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();void 0!==e&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,Li.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,qt.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,qt.h)(()=>this._overlayAttached)):(0,Ke.of)()).pipe((0,pt.U)(e=>e instanceof Vg?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,Li.T)(ha(this._document,"click"),ha(this._document,"auxclick"),ha(this._document,"touchend")).pipe((0,qt.h)(e=>{const t=$s(e),s=this._formField?this._formField._elementRef.nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&t!==this._element.nativeElement&&(!s||!s.contains(t))&&(!a||!a.contains(t))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(t)}))}writeValue(e){Promise.resolve().then(()=>this._setTriggerValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const t=e.keyCode;if(27===t&&!cn(e)&&e.preventDefault(),this.activeOption&&13===t&&this.panelOpen&&!cn(e))this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const s=this.autocomplete._keyManager.activeItem,a=38===t||40===t;this.panelOpen||9===t?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this.openPanel(),(a||this.autocomplete._keyManager.activeItem!==s)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(e){let t=e.target,s=t.value;"number"===t.type&&(s=""==s?null:parseFloat(s)),this._previousValue!==s&&(this._previousValue=s,this._onChange(s),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const e=this._zone.onStable.pipe((0,$t.q)(1)),t=this.autocomplete.options.changes.pipe((0,qi.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,E.g)(0));return(0,Li.T)(e,t).pipe((0,mi.w)(()=>{const s=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),s!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,$t.q)(1)).subscribe(s=>this._setValueAndClose(s))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(e){const t=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e,s=null!=t?t:"";this._formField?this._formField._control.value=s:this._element.nativeElement.value=s,this._previousValue=s}_setValueAndClose(e){const t=e&&e.source;t&&(this._clearPreviousSelectedOption(t),this._setTriggerValue(t.value),this._onChange(t.value),this.autocomplete._emitSelectEvent(t),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(t=>{t!==e&&t.selected&&t.deselect()})}_attachOverlay(){var e;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new _c(this.autocomplete.template,this._viewContainerRef,{id:null===(e=this._formField)||void 0===e?void 0:e.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,t.keydownEvents().subscribe(a=>{(27===a.keyCode&&!cn(a)||38===a.keyCode&&cn(a,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),a.stopPropagation(),a.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})})),t&&!t.hasAttached()&&(t.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const s=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&s!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var e;return new Gn({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(e=this._defaults)||void 0===e?void 0:e.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],s=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:s},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:s}];let r;r="above"===this.position?a:"below"===this.position?t:[...t,...a],e.withPositions(r)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){var e;return(null===(e=this._document)||void 0===e?void 0:e.defaultView)||window}_scrollToOption(e){const t=this.autocomplete,s=Wg(e,t.options,t.optionGroups);if(0===e&&1===s)t._setScrollTop(0);else if(t.panel){const a=t.options.toArray()[e];if(a){const r=a._getHostElement(),c=q_(r.offsetTop,r.offsetHeight,t._getScrollTop(),t.panel.nativeElement.offsetHeight);t._setScrollTop(c)}}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36($i),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(_k),i.Y36(Hn,8),i.Y36(Rd,9),i.Y36(b.K0,8),i.Y36(Ms),i.Y36(mk,8))},n.\u0275dir=i.lG2({type:n,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[i.TTD]}),n})(),bk=(()=>{class n extends Zz{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,t){1&e&&i.NdJ("focusin",function(){return t._handleFocus()})("blur",function(){return t._onTouched()})("input",function(a){return t._handleInput(a)})("keydown",function(a){return t._handleKeydown(a)}),2&e&&i.uIk("autocomplete",t.autocompleteAttribute)("role",t.autocompleteDisabled?null:"combobox")("aria-autocomplete",t.autocompleteDisabled?null:"list")("aria-activedescendant",t.panelOpen&&t.activeOption?t.activeOption.id:null)("aria-expanded",t.autocompleteDisabled?null:t.panelOpen.toString())("aria-owns",t.autocompleteDisabled||!t.panelOpen||null==t.autocomplete?null:t.autocomplete.id)("aria-haspopup",!t.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[i._Bn([Kz]),i.qOj]}),n})(),$z=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Wz],imports:[[Ll,Td,gt,b.ez],Cn,Td,gt]}),n})(),Xz=(()=>{class n{transform(e){return e&&e.value?e.value:"never"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"validateExpiration",type:n,pure:!0}),n})();function Qz(n,o){1&n&&i._UZ(0,"th",17)}function Jz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",18),i.TgZ(1,"mat-checkbox",19),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.ALo(2,"validateExpiration"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))("disabled","never"===i.lcZ(2,3,e.expirationAttribute))}}function eI(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"MEMBERSHIP_LIST.NAME"))," "))}function tI(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.entity.name)}}function iI(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"MEMBERSHIP_LIST.DESCRIPTION"))," "))}function nI(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.entity.description)}}function sI(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"MEMBERSHIP_LIST.EXPIRATION"))," "))}function oI(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.ALo(2,"validateExpiration"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.expirationAttribute)," ")}}function rI(n,o){1&n&&i._UZ(0,"th",20)}function aI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",22),i.TgZ(1,"button",24),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().extend(a)}),i.ALo(2,"validateExpiration"),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(1),i.Q6J("disabled","never"===i.lcZ(2,2,e.expirationAttribute)),i.xp6(2),i.hij(" ",i.lcZ(4,4,i.lcZ(5,6,"MEMBERSHIP_LIST.EXTEND"))," ")}}function cI(n,o){1&n&&i._UZ(0,"tr",25)}function lI(n,o){1&n&&i._UZ(0,"tr",26)}function uI(n,o){1&n&&(i.TgZ(0,"app-alert",27),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"MEMBERSHIP_LIST.NO_MEMBERSHIPS"))))}let yk=(()=>{class n{constructor(){this.members=[],this.searchString="",this.selection=new Vn(!1,[]),this.displayedColumns=["checkbox","name","description","expirationAttribute","extend"],this.filterValue="",this.extendMembership=new i.vpe,this.pageSizeOptions=Q0}set matSort(e){this.sort=e,this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}ngOnChanges(){this.dataSource=new $c(this.members),this.setDataSource()}getDataForColumn(e,t){switch(t){case"name":return e.entity.name;case"description":return"description"in e.entity?e.entity.description:"";case"expirationAttribute":return e.expirationAttribute&&e.expirationAttribute.value?e.expirationAttribute.value:"never";default:return""}}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Ay(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>yy(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(e){return`${this.selection.isSelected(e)?"deselect":"select"} row ${e.entity.id+1}`}extend(e){this.extendMembership.emit(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-membership-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Na,7),i.Gf(La,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",filterValue:"filterValue"},outputs:{extendMembership:"extendMembership"},features:[i.TTD],decls:21,vars:8,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","expirationAttribute","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["matColumnDef","expirationAttribute"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","extend"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-cell","","mat-sort-header",""],["color","accent","mat-flat-button","",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,Qz,1,0,"th",4),i.YNc(5,Jz,3,5,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,eI,4,5,"th",7),i.YNc(8,tI,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,iI,4,5,"th",7),i.YNc(11,nI,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,sI,4,5,"th",12),i.YNc(14,oI,3,3,"td",10),i.BQk(),i.ynx(15,13),i.YNc(16,rI,1,0,"th",7),i.YNc(17,aI,6,8,"td",10),i.BQk(),i.YNc(18,cI,1,0,"tr",14),i.YNc(19,lI,1,0,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,uI,4,5,"app-alert",16)),2&e&&(i.Q6J("hidden",!t.dataSource.filteredData.length),i.xp6(1),i.Q6J("dataLength",t.dataSource.filteredData.length)("tableId",t.tableId)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(16),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",!t.dataSource.filteredData.length))},directives:[La,Ra,Na,Br,Hr,Fr,Nr,qr,au,Uy,Yt,Oa,za,Pa,Ia,b.O5,es],pipes:[Xz,dt,Ci],styles:[""]}),n})();function dI(n,o){if(1&n&&(i.TgZ(0,"mat-option",13),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e.name," ")}}function hI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",7),i.TgZ(1,"mat-label"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i._UZ(4,"input",8),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.TgZ(7,"mat-autocomplete",9,10),i.NdJ("optionSelected",function(s){return i.CHM(e),i.oxw().filterByVo(s)}),i.TgZ(9,"mat-option",11),i._uU(10),i.ALo(11,"translate"),i.ALo(12,"customTranslate"),i.qZA(),i.YNc(13,dI,2,2,"mat-option",12),i.ALo(14,"async"),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(8),t=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,7,"GROUPS.SELECT_VO")),i.xp6(2),i.s9C("placeholder",i.lcZ(5,9,i.lcZ(6,11,"GROUPS.SELECT_VO"))),i.Q6J("formControl",t.myControl)("matAutocomplete",e),i.xp6(3),i.Q6J("displayWith",t.displayFn),i.xp6(3),i.Oqu(i.lcZ(11,13,i.lcZ(12,15,"GROUPS.ALL"))),i.xp6(3),i.Q6J("ngForOf",i.lcZ(14,17,t.filteredVos))}}function fI(n,o){1&n&&i._UZ(0,"mat-spinner",14)}function pI(n,o){1&n&&(i.TgZ(0,"app-alert",15),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"GROUPS.NO_GROUPS"))))}const gI=function(){return["name","description","expirationAttribute","extend"]};function mI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h4",16),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"perun-web-apps-membership-list",17),i.NdJ("extendMembership",function(s){return i.CHM(e),i.oxw().extendMembership(s)}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,4,i.lcZ(4,6,"GROUPS.MEMBER_GROUPS"))),i.xp6(3),i.Q6J("members",e.userMemberships)("selection",e.selection)("displayedColumns",i.DdM(8,gI))}}const _I=function(){return["name","description"]};function bI(n,o){if(1&n&&(i.TgZ(0,"div",18),i.TgZ(1,"h4",16),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i._UZ(5,"perun-web-apps-membership-list",19),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,3,i.lcZ(4,5,"GROUPS.ADMINS_GROUPS"))),i.xp6(3),i.Q6J("members",e.adminMemberships)("displayedColumns",i.DdM(7,_I))}}let yI=(()=>{class n{constructor(e,t,s,a,r,c){this.usersService=e,this.memberService=t,this.groupService=s,this.store=a,this.vosManagerService=r,this.attributesManagerService=c,this.loading=!1,this.vos=[],this.myControl=new ds,this.selection=new Vn(!1,[]),this.displayedColumns=["id","name"],this.userMemberships=[],this.adminMemberships=[]}ngOnInit(){this.loading=!0,this.userId=this.store.getPerunPrincipal().userId,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e,this.filteredVos=this.myControl.valueChanges.pipe(ci(""),(0,pt.U)(t=>this._filter(t))),this.getAllGroups()})}_filter(e){const t="string"==typeof e?e.toLowerCase():e.name.toLowerCase;return this.vos.filter(s=>s.name.toLowerCase().includes(t))}getAllGroups(){this.loading=!0;let e=0,t=0;this.userMemberships=[],this.adminMemberships=[];const s=this.store.getPerunPrincipal().roles.SELF.Member;s.length?t=s.length:this.loading=!1,s.forEach(a=>{t--,this.groupService.getMemberGroups(a).subscribe(r=>{e+=r.length,this.loading=0===e&&0!==t,r.forEach(c=>{this.attributesManagerService.getMemberGroupAttributes(a,c.id).subscribe(d=>{e--,this.userMemberships.push({entity:c,expirationAttribute:d.find(h=>"groupMembershipExpiration"===h.friendlyName)}),this.loading=0!==e})})})}),this.usersService.getGroupsWhereUserIsAdmin(this.userId).subscribe(a=>{a.forEach(r=>{this.adminMemberships.push({entity:r,expirationAttribute:null})})})}displayFn(e){return e?e.name:null}filterByVo(e){if("all"===e.option.value)this.getAllGroups();else{this.userMemberships=[],this.adminMemberships=[],this.loading=!0;const t=e.option.value;this.memberService.getMemberByUser(t.id,this.userId).subscribe(s=>{this.groupService.getMemberGroups(s.id).subscribe(a=>{let r=a.length;this.loading=0!==r,a.forEach(c=>{this.attributesManagerService.getMemberGroupAttributes(s.id,c.id).subscribe(d=>{r--,this.userMemberships.push({entity:c,expirationAttribute:d.find(h=>"groupMembershipExpiration"===h.friendlyName)}),this.loading=0!==r})})})}),this.usersService.getGroupsInVoWhereUserIsAdmin(this.userId,t.id).subscribe(s=>{s.forEach(a=>{this.adminMemberships.push({entity:a,expirationAttribute:null})})})}}extendMembership(e){const t=this.store.get("registrar_base_url"),s=e.entity,a=this.vos.find(r=>r.id===s.voId).shortName;window.location.href=`${t}?vo=${a}&group=${e.entity.shortName}`}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(Be),i.Y36(An),i.Y36(ti),i.Y36(uo),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-groups-page"]],decls:10,vars:10,consts:[[1,"page-title","pt-2"],[1,"user-theme"],["class","mr-2 w-75",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"mr-2","w-75"],["type","text","aria-label","Assignee","matInput","",3,"placeholder","formControl","matAutocomplete"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["value","all"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mr-auto","ml-auto"],["alert_type","warn"],[1,"page-subtitle"],[3,"members","selection","displayedColumns","extendMembership"],[1,"mt-5"],[3,"members","displayedColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,hI,15,19,"mat-form-field",2),i.YNc(6,fI,1,0,"mat-spinner",3),i.YNc(7,pI,4,5,"app-alert",4),i.YNc(8,mI,6,9,"div",5),i.YNc(9,bI,6,8,"div",6),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,6,i.lcZ(3,8,"GROUPS.TITLE"))),i.xp6(4),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.userMemberships.length&&!t.adminMemberships.length&&!t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading&&0!==t.userMemberships.length),i.xp6(1),i.Q6J("ngIf",!t.loading&&0!==t.adminMemberships.length))},directives:[b.O5,un,no,qn,bn,bk,dn,so,Gz,Ca,b.sg,Jn,es,yk],pipes:[dt,Ci,b.Ov],styles:[""]}),n})();function AI(n,o){if(1&n&&(i._UZ(0,"input",3),i.ALo(1,"translate")),2&n){const e=i.oxw();i.s9C("placeholder",i.lcZ(1,2,e.placeholder)),i.Q6J("formControl",e.formControl)}}function wI(n,o){if(1&n&&(i._UZ(0,"input",4),i.ALo(1,"translate")),2&n){const e=i.oxw();i.s9C("placeholder",i.lcZ(1,2,e.placeholder)),i.Q6J("formControl",e.formControl)}}let l1=(()=>{class n{constructor(){this.filter=new i.vpe,this.autoFocus=!1,this.formControl=new ds}ngOnInit(){this.formControl.valueChanges.subscribe(e=>{let t=e.trim();t=t.toLowerCase(),this.filter.emit(t)})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","mr-2"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.YNc(1,AI,2,4,"input",1),i.YNc(2,wI,2,4,"input",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.autoFocus),i.xp6(1),i.Q6J("ngIf",!t.autoFocus))},directives:[un,b.O5,qn,bn,pz,dn,so],pipes:[dt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),n})(),MI=0;const lT=new i.OlP("CdkAccordion");let vI=(()=>{class n{constructor(){this._stateChanges=new De.xQ,this._openCloseAllActions=new De.xQ,this.id="cdk-accordion-"+MI++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=je(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i._Bn([{provide:lT,useExisting:n}]),i.TTD]}),n})(),TI=0,CI=(()=>{class n{constructor(e,t,s){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=s,this._openCloseAllSubscription=P.w.EMPTY,this.closed=new i.vpe,this.opened=new i.vpe,this.destroyed=new i.vpe,this.expandedChange=new i.vpe,this.id="cdk-accordion-child-"+TI++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=s.listen((a,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==a&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=je(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=je(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(lT,12),i.Y36(i.sBO),i.Y36(bb))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i._Bn([{provide:lT,useValue:void 0}])]}),n})(),SI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const EI=["body"];function kI(n,o){}const DI=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],xI=["mat-expansion-panel-header","*","mat-action-row"];function LI(n,o){if(1&n&&i._UZ(0,"span",2),2&n){const e=i.oxw();i.Q6J("@indicatorRotate",e._getExpandedState())}}const RI=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],OI=["mat-panel-title","mat-panel-description","*"],uT=new i.OlP("MAT_ACCORDION"),Ak="225ms cubic-bezier(0.4,0.0,0.2,1)",wk={indicatorRotate:Ti("indicatorRotate",[ii("collapsed, void",qe({transform:"rotate(0deg)"})),ii("expanded",qe({transform:"rotate(180deg)"})),Ht("expanded <=> collapsed, void => collapsed",Ct(Ak))]),bodyExpansion:Ti("bodyExpansion",[ii("collapsed, void",qe({height:"0px",visibility:"hidden"})),ii("expanded",qe({height:"*",visibility:"visible"})),Ht("expanded <=> collapsed, void => collapsed",Ct(Ak))])};let u1=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n})(),PI=0;const Mk=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let d1=(()=>{class n extends CI{constructor(e,t,s,a,r,c,d){super(e,t,s),this._viewContainerRef=a,this._animationMode=c,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new De.xQ,this._headerId="mat-expansion-panel-header-"+PI++,this._bodyAnimationDone=new De.xQ,this.accordion=e,this._document=r,this._bodyAnimationDone.pipe(Yh((h,g)=>h.fromState===g.fromState&&h.toState===g.toState)).subscribe(h=>{"void"!==h.fromState&&("expanded"===h.toState?this.afterExpand.emit():"collapsed"===h.toState&&this.afterCollapse.emit())}),d&&(this.hideToggle=d.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=je(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(ci(null),(0,qt.h)(()=>this.expanded&&!this._portal),(0,$t.q)(1)).subscribe(()=>{this._portal=new _c(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(uT,12),i.Y36(i.sBO),i.Y36(bb),i.Y36(i.s_b),i.Y36(b.K0),i.Y36(Bn,8),i.Y36(Mk,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,u1,5),2&e){let a;i.iGM(a=i.CRH())&&(t._lazyContent=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(EI,5),2&e){let s;i.iGM(s=i.CRH())&&(t._body=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i._Bn([{provide:uT,useValue:void 0}]),i.qOj,i.TTD],ngContentSelectors:xI,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.F$t(DI),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(a){return t._bodyAnimationDone.next(a)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,kI,0,0,"ng-template",3),i.qZA(),i.Hsn(6,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("@bodyExpansion",t._getExpandedState())("id",t.id),i.uIk("aria-labelledby",t._headerId),i.xp6(4),i.Q6J("cdkPortalOutlet",t._portal))},directives:[Up],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[wk.bodyExpansion]},changeDetection:0}),n})();class zI{}const II=Ic(zI);let h1=(()=>{class n extends II{constructor(e,t,s,a,r,c,d){super(),this.panel=e,this._element=t,this._focusMonitor=s,this._changeDetectorRef=a,this._animationMode=c,this._parentChangeSubscription=P.w.EMPTY;const h=e.accordion?e.accordion._stateChanges.pipe((0,qt.h)(g=>!(!g.hideToggle&&!g.togglePosition))):rs.E;this.tabIndex=parseInt(d||"")||0,this._parentChangeSubscription=(0,Li.T)(e.opened,e.closed,h,e._inputChanges.pipe((0,qt.h)(g=>!!(g.hideToggle||g.disabled||g.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe((0,qt.h)(()=>e._containsFocus())).subscribe(()=>s.focusVia(t,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:cn(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(d1,1),i.Y36(i.SBq),i.Y36(So),i.Y36(i.sBO),i.Y36(Mk,8),i.Y36(Bn,8),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._toggle()})("keydown",function(a){return t._keydown(a)}),2&e&&(i.uIk("id",t.panel._headerId)("tabindex",t.tabIndex)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),i.Udp("height",t._getHeaderHeight()),i.ekj("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[i.qOj],ngContentSelectors:OI,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(i.F$t(RI),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,LI,1,1,"span",1)),2&e&&(i.xp6(4),i.Q6J("ngIf",t._showToggle()))},directives:[b.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[wk.indicatorRotate]},changeDetection:0}),n})(),Gy=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),n})(),Vy=(()=>{class n extends vI{constructor(){super(...arguments),this._ownHeaders=new i.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=je(e)}ngAfterContentInit(){this._headers.changes.pipe(ci(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new od(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,h1,5),2&e){let a;i.iGM(a=i.CRH())&&(t._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-accordion-multi",t.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[i._Bn([{provide:uT,useExisting:n}]),i.qOj]}),n})(),NI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,gt,SI,Rh]]}),n})();function HI(n,o){1&n&&(i.TgZ(0,"mat-icon",1),i.ALo(1,"translate"),i._uU(2," visibility\n"),i.qZA()),2&n&&i.s9C("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}let BI=(()=>{class n{constructor(){this.recentIds=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-recently-viewed-icon"]],inputs:{recentIds:"recentIds",id:"id"},decls:1,vars:1,consts:[["class","align-bottom disabled-icon",3,"matTooltip",4,"ngIf"],[1,"align-bottom","disabled-icon",3,"matTooltip"]],template:function(e,t){1&e&&i.YNc(0,HI,3,3,"mat-icon",0),2&e&&i.Q6J("ngIf",t.recentIds.indexOf(t.id)>-1)},directives:[b.O5,xn,fs],pipes:[dt],styles:[".disabled-icon[_ngcontent-%COMP%]{color:#00000042}"]}),n})();function FI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",3),i.NdJ("click",function(){return i.CHM(e),i.oxw().changeStatus()}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",4),i._uU(3,"check_circle_outline"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function qI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",3),i.NdJ("click",function(){return i.CHM(e),i.oxw().changeStatus()}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",5),i._uU(3,"block"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function jI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",3),i.NdJ("click",function(){return i.CHM(e),i.oxw().changeStatus()}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",6),i._uU(3,"report"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.hYB("matTooltip","",i.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",e.failureCause,"")}}function YI(n,o){1&n&&(i.TgZ(0,"span",7),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",8),i._uU(3,"autorenew"),i.qZA(),i.qZA()),2&n&&i.s9C("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}let UI=(()=>{class n{constructor(e){this.dialog=e,this.status="",this.statusChange=new i.vpe}changeStatus(){const e=Ri();e.width="500px",e.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(dL,e).afterClosed().subscribe(s=>{s&&this.statusChange.emit()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-group-resource-status"]],inputs:{status:"status",groupId:"groupId",resourceId:"resourceId",theme:"theme",failureCause:"failureCause"},outputs:{statusChange:"statusChange"},decls:5,vars:4,consts:[[1,"flex-container"],["matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip","click"],[1,"green"],[1,"grey"],[1,"red"],["matTooltipPosition","above",3,"matTooltip"],[1,"black"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,FI,4,3,"span",1),i.YNc(2,qI,4,3,"span",1),i.YNc(3,jI,4,4,"span",1),i.YNc(4,YI,4,3,"span",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf","ACTIVE"===t.status),i.xp6(1),i.Q6J("ngIf","INACTIVE"===t.status),i.xp6(1),i.Q6J("ngIf","FAILED"===t.status),i.xp6(1),i.Q6J("ngIf","PROCESSING"===t.status))},directives:[b.O5,fs,xn],pipes:[dt],styles:[""]}),n})(),GI=(()=>{class n{transform(e){if(null==e)return null;let s="";return e.forEach(function(a){s=s.concat(a.tagName)}),s}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"resourceTagsToString",type:n,pure:!0}),n})(),VI=(()=>{class n{transform(e,t){return t?`/organizations/${e.voId}/resources/${e.id}`:`/facilities/${e.facilityId}/resources/${e.id}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"getResourceRoute",type:n,pure:!0}),n})();function WI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",22),i.TgZ(1,"mat-checkbox",23),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function KI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"span",25),i.ALo(2,"translate"),i.TgZ(3,"mat-checkbox",26),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.itemSelectionToggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.s9C("matTooltip",i.lcZ(2,7,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE")),i.Q6J("matTooltipPosition","above")("matTooltipDisabled",!t.disableSelect(e)),i.xp6(2),i.Q2q("data-cy","",e.name,"-checkbox"),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))("disabled",t.disableSelect(e))}}function ZI(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")," "))}function $I(n,o){if(1&n&&(i.TgZ(0,"td",28),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function XI(n,o){1&n&&i._UZ(0,"th",29)}function QI(n,o){if(1&n&&(i.TgZ(0,"td",30),i._UZ(1,"perun-web-apps-recently-viewed-icon",31),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("recentIds",t.recentIds)("id",e.id)}}function JI(n,o){1&n&&i._UZ(0,"th",29)}function e3(n,o){1&n&&(i.TgZ(0,"mat-icon",33),i.ALo(1,"translate"),i._uU(2,"account_tree"),i.qZA()),2&n&&i.Q6J("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE"))}function t3(n,o){if(1&n&&(i.TgZ(0,"td",30),i.YNc(1,e3,3,3,"mat-icon",32),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngIf",e.sourceGroupId)}}function n3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")," "))}function s3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function o3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")," "))}function r3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.vo.name)}}function a3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")," "))}function c3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",30),i.TgZ(1,"perun-web-apps-group-resource-status",34),i.NdJ("mouseenter",function(){return i.CHM(e),i.oxw().disabledRouting=!0})("mouseleave",function(){i.CHM(e);const s=i.oxw();return s.disabledRouting=s.disableRouting})("statusChange",function(){return i.CHM(e),i.oxw().refreshTable.emit()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("theme","group-theme")("resourceId",e.id)("groupId",t.groupId)("failureCause",e.failureCause)("status",e.status)}}function l3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")," "))}function u3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.facility.name)}}function d3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")," "))}function h3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.ALo(2,"resourceTagsToString"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.resourceTags)," ")}}function f3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")," "))}function p3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.description)}}function g3(n,o){1&n&&i._UZ(0,"tr",35)}const m3=function(n){return[n]};function _3(n,o){if(1&n&&(i._UZ(0,"tr",36),i.ALo(1,"getResourceRoute"),i.ALo(2,"getResourceRoute")),2&n){const e=o.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disableRouting)("disable-outline",t.disabledRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",i.VKq(12,m3,t.disabledRouting?null:i.xi3(1,6,e,t.routingVo)))("routerLink",t.disabledRouting?null:i.xi3(2,9,e,t.routingVo))}}function b3(n,o){1&n&&(i.TgZ(0,"app-alert",37),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function y3(n,o){1&n&&(i.TgZ(0,"app-alert",37),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let A3=(()=>{class n{constructor(e,t){this.guiAuthResolver=e,this.tableCheckbox=t,this.resources=[],this.selection=new Vn(!0,[]),this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","indirectResourceAssigment","name","vo","status","facility","tags","description"],this.pageSizeOptions=Q0,this.groupId=null,this.resourcesToDisableCheckbox=new Set,this.refreshTable=new i.vpe,this.allSelected=new i.vpe,this.removeAuth=!1,this.addAuth=!1,this.canBeSelected=s=>!this.disableSelect(s)}set matSort(e){this.sort=e}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.setDataSource(),this.setAuth()}getDataForColumn(e,t,s){switch(t){case"id":return e.id.toString();case"vo":return e.vo.name;case"name":return e.name;case"facility":return e.facility.name;case"description":return e.description;case"recent":return s.recentIds&&s.recentIds.indexOf(e.id)>-1?"#".repeat(s.recentIds.indexOf(e.id)):e.name;case"tags":{if(!e.resourceTags)return e[t];let r="";return e.resourceTags.forEach(function(c){r=r.concat(c.tagName)}),r}case"status":return e.status;case"uuid":return e.uuid;default:return e[t]}}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource||(this.dataSource=new $c,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(e,t)=>Ay(e,t,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(e,t)=>yy(e,t,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}isAllSelected(){const e=this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected);return this.allSelected.emit(e),e}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.setAuth()}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}setAuth(){const e=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce((t,s)=>t&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",e.concat([s])),!0),this.addAuth=this.selection.selected.reduce((t,s)=>t&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",e.concat([s])),!0)}itemSelectionToggle(e){this.selection.toggle(e),this.setAuth()}disableSelect(e){return this.resourcesToDisableCheckbox.has(e.id)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ga),i.Y36(kS))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Na,7),i.Gf(La,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId",resourcesToDisableCheckbox:"resourcesToDisableCheckbox",tableId:"tableId"},outputs:{refreshTable:"refreshTable",allSelected:"allSelected"},features:[i.TTD],decls:37,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","indirectResourceAssigment"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"],[3,"theme","resourceId","groupId","failureCause","status","mouseenter","mouseleave","statusChange"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,WI,2,3,"th",4),i.YNc(5,KI,4,9,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,ZI,3,3,"th",7),i.YNc(8,$I,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,XI,1,0,"th",10),i.YNc(11,QI,2,2,"td",11),i.BQk(),i.ynx(12,12),i.YNc(13,JI,1,0,"th",10),i.YNc(14,t3,2,1,"td",11),i.BQk(),i.ynx(15,13),i.YNc(16,n3,3,3,"th",7),i.YNc(17,s3,2,1,"td",11),i.BQk(),i.ynx(18,14),i.YNc(19,o3,3,3,"th",7),i.YNc(20,r3,2,1,"td",11),i.BQk(),i.ynx(21,15),i.YNc(22,a3,3,3,"th",7),i.YNc(23,c3,2,5,"td",11),i.BQk(),i.ynx(24,16),i.YNc(25,l3,3,3,"th",7),i.YNc(26,u3,2,1,"td",11),i.BQk(),i.ynx(27,17),i.YNc(28,d3,3,3,"th",7),i.YNc(29,h3,3,3,"td",11),i.BQk(),i.ynx(30,18),i.YNc(31,f3,3,3,"th",7),i.YNc(32,p3,2,1,"td",11),i.BQk(),i.YNc(33,g3,1,0,"tr",19),i.YNc(34,_3,3,14,"tr",20),i.qZA(),i.qZA(),i.qZA(),i.YNc(35,b3,3,3,"app-alert",21),i.YNc(36,y3,3,3,"app-alert",21)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.resources.length),i.xp6(1),i.Q6J("dataLength",t.dataSource.filteredData.length)("tableId",t.tableId)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(31),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.resources.length),i.xp6(1),i.Q6J("ngIf",0===t.resources.length))},directives:[La,Ra,Na,Br,Hr,Fr,au,Nr,qr,fs,Uy,BI,b.O5,xn,UI,Oa,za,Pa,Ia,pk,It,es],pipes:[dt,GI,VI],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.filter-input[_ngcontent-%COMP%]{width:300px!important}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),n})();function w3(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const M3=function(){return["name","description"]};function v3(n,o){if(1&n&&i._UZ(0,"perun-web-apps-resources-list",9),2&n){const e=i.oxw(3);i.Q6J("resources",e.resources)("displayedColumns",i.DdM(3,M3))("disableRouting",!0)}}function T3(n,o){if(1&n&&(i.YNc(0,w3,1,0,"mat-spinner",6),i.YNc(1,v3,1,4,"perun-web-apps-resources-list",7)),2&n){const e=i.oxw(2);i.Q6J("ngIf",e.loading),i.xp6(1),i.Q6J("ngIf",!e.loading)}}function C3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",4),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw().getMemberData(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,T3,2,2,"ng-template",5),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(3),i.hij(" ",e.name," ")}}let S3=(()=>{class n{constructor(e,t,s,a){this.usersManagerService=e,this.membersManagerService=t,this.resourcesManagerService=s,this.storage=a,this.resources=[],this.filteredVos=[]}ngOnInit(){this.userId=this.storage.getPerunPrincipal().userId,this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e,this.filteredVos=e})}getMemberData(e){this.loading=!0,this.membersManagerService.getMemberByUser(e.id,this.userId).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(s=>{this.resources=s,this.loading=!1})})}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(Be),i.Y36(ei),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-services-page"]],decls:10,vars:11,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"resources","displayedColumns","disableRouting",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"resources","displayedColumns","disableRouting"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"perun-web-apps-immediate-filter",2),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"mat-accordion"),i.YNc(9,C3,5,1,"mat-expansion-panel",3),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,i.lcZ(3,5,"SERVICES.TITLE"))),i.xp6(4),i.Q6J("placeholder",i.lcZ(6,7,i.lcZ(7,9,"SERVICES.FILTER"))),i.xp6(4),i.Q6J("ngForOf",t.filteredVos))},directives:[l1,Vy,b.sg,d1,h1,Gy,u1,b.O5,Jn,A3],pipes:[dt,Ci],styles:[""]}),n})();function E3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(s){return i.CHM(e),i.oxw().applyFilter(s)}),i.qZA()}2&n&&i.Q6J("placeholder","ORGANIZATIONS.FILTER")}function k3(n,o){1&n&&i._UZ(0,"mat-spinner",6)}const D3=function(){return["name","expirationAttribute","extend"]};function x3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-membership-list",11),i.NdJ("extendMembership",function(s){return i.CHM(e),i.oxw(2).extendMembership(s)}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("members",e.userMemberships)("selection",e.selection)("filterValue",e.filterValue)("displayedColumns",i.DdM(4,D3))}}function L3(n,o){1&n&&(i.TgZ(0,"app-alert",12),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}function R3(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"h1",8),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.YNc(5,x3,2,5,"div",9),i.YNc(6,L3,4,5,"app-alert",10),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,3,i.lcZ(4,5,"ORGANIZATIONS.IS_MEMBER"))),i.xp6(3),i.Q6J("ngIf",0!==e.userMemberships.length),i.xp6(1),i.Q6J("ngIf",0===e.userMemberships.length)}}function O3(n,o){1&n&&(i.TgZ(0,"app-alert",12),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}const P3=function(){return["name"]};function z3(n,o){if(1&n&&i._UZ(0,"perun-web-apps-membership-list",14),2&n){const e=i.oxw(2);i.Q6J("members",e.adminMemberships)("filterValue",e.filterValue)("displayedColumns",i.DdM(3,P3))}}function I3(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"h1",8),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.YNc(5,O3,4,5,"app-alert",10),i.YNc(6,z3,1,4,"perun-web-apps-membership-list",13),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,3,i.lcZ(4,5,"ORGANIZATIONS.IS_ADMIN"))),i.xp6(3),i.Q6J("ngIf",!e.adminMemberships.length),i.xp6(1),i.Q6J("ngIf",e.adminMemberships.length)}}let N3=(()=>{class n{constructor(e,t,s){this.usersService=e,this.store=t,this.membersService=s,this.filterValue="",this.selection=new Vn(!1,[]),this.userMemberships=[],this.adminMemberships=[],this.vosCount=0}ngOnInit(){this.principal=this.store.getPerunPrincipal(),this.userId=this.principal.user.id,this.refreshTable()}refreshTable(){this.loading=!0,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.usersService.getVosWhereUserIsAdmin(this.userId).subscribe(t=>{this.vosCount=e.length+t.length,this.fillMemberships(e,this.userMemberships),this.fillMemberships(t,this.adminMemberships)})})}applyFilter(e){this.filterValue=e}isEverythingLoaded(){this.vosCount--,this.loading=0!==this.vosCount}fillMemberships(e,t){this.membersService.getMembersByUser(this.userId).subscribe(s=>{e.forEach(a=>{const r=s.find(c=>c.voId===a.id);r?this.membersService.getRichMemberWithAttributes(r.id).subscribe(c=>{const d=c.memberAttributes.find(h=>"membershipExpiration"===h.friendlyName);t.push({entity:a,expirationAttribute:d}),this.isEverythingLoaded()}):(t.push({entity:a,expirationAttribute:null}),this.isEverythingLoaded())})})}extendMembership(e){const t=this.store.get("registrar_base_url");window.location.href=`${t}?vo=${e.entity.shortName}`}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(ti),i.Y36(Be))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-vos-page"]],decls:9,vars:9,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[3,"placeholder","filter",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-5",4,"ngIf"],[3,"placeholder","filter"],[1,"mr-auto","ml-auto"],[1,"mt-5"],[1,"page-subtitle"],[4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"members","selection","filterValue","displayedColumns","extendMembership"],["alert_type","warn"],[3,"members","filterValue","displayedColumns",4,"ngIf"],[3,"members","filterValue","displayedColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,E3,1,1,"perun-web-apps-immediate-filter",2),i.YNc(6,k3,1,0,"mat-spinner",3),i.YNc(7,R3,7,7,"div",4),i.YNc(8,I3,7,7,"div",4),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,5,i.lcZ(3,7,"ORGANIZATIONS.TITLE"))),i.xp6(4),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,l1,Jn,yk,es],pipes:[dt,Ci],styles:[""]}),n})(),H3=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-page"]],decls:2,vars:0,consts:[[1,"user-theme"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i._UZ(1,"router-outlet"),i.qZA())},directives:[Vo],styles:[""]}),n})(),B3=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t,this.password=""}ngOnInit(){this.password=this.data.password}onClose(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-show-generated-password-dialog"]],decls:20,vars:22,consts:[["mat-dialog-title","",1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"user-theme"],["disabled","",1,"center-text",3,"value"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"cdkCopyToClipboard"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"p"),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"label"),i._UZ(10,"input",2),i.qZA(),i.qZA(),i.TgZ(11,"div",3),i.TgZ(12,"button",4),i.NdJ("click",function(){return t.onClose()}),i._uU(13),i.ALo(14,"translate"),i.ALo(15,"customTranslate"),i.qZA(),i.TgZ(16,"button",5),i._uU(17),i.ALo(18,"translate"),i.ALo(19,"customTranslate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,6,i.lcZ(3,8,"DIALOGS.SHOW_PASSWORD.TITLE")),"\n"),i.xp6(5),i.Oqu(i.lcZ(7,10,i.lcZ(8,12,"DIALOGS.SHOW_PASSWORD.LABEL"))),i.xp6(4),i.Q6J("value",t.password),i.xp6(3),i.hij(" ",i.lcZ(14,14,i.lcZ(15,16,"DIALOGS.SHOW_PASSWORD.CLOSE"))," "),i.xp6(3),i.Q6J("cdkCopyToClipboard",t.password),i.xp6(1),i.hij(" ",i.lcZ(18,18,i.lcZ(19,20,"DIALOGS.SHOW_PASSWORD.COPY"))," "))},directives:[Sn,Fn,En,Yt,qv],pipes:[dt,Ci],styles:[".center-text[_ngcontent-%COMP%]{text-align:center}"]}),n})();function F3(n,o){1&n&&i._UZ(0,"mat-spinner",7)}function q3(n,o){1&n&&i._UZ(0,"th",16)}function j3(n,o){if(1&n&&(i.TgZ(0,"td",17),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e)}}function Y3(n,o){1&n&&i._UZ(0,"tr",18)}function U3(n,o){1&n&&i._UZ(0,"tr",19)}function G3(n,o){if(1&n&&(i.TgZ(0,"div",8),i.TgZ(1,"p"),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"div",9),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"table",10),i.ynx(10,11),i.YNc(11,q3,1,0,"th",12),i.YNc(12,j3,2,1,"td",13),i.BQk(),i.YNc(13,Y3,1,0,"tr",14),i.YNc(14,U3,1,0,"tr",15),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,5,i.lcZ(4,7,"DIALOGS.REMOVE_ALT_PASSWORD.DESCRIPTION"))," "),i.xp6(4),i.hij(" ",i.lcZ(7,9,i.lcZ(8,11,"DIALOGS.REMOVE_ALT_PASSWORD.ASK"))," "),i.xp6(3),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns)}}let V3=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.data=t,this.usersManagerService=s,this.displayedColumns=["description"]}ngOnInit(){this.dataSource=new $c(this.data.description)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.usersManagerService.deleteAlternativePassword(this.data.userId,"einfra",this.data.passwordId).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(Tt))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-alt-password-dialog"]],decls:16,vars:17,consts:[["mat-dialog-title",""],[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","user-theme",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"user-theme"],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","description"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,F3,1,0,"mat-spinner",2),i.qZA(),i.YNc(6,G3,15,13,"div",3),i.TgZ(7,"div",4),i.TgZ(8,"button",5),i.NdJ("click",function(){return t.onCancel()}),i._uU(9),i.ALo(10,"translate"),i.ALo(11,"customTranslate"),i.qZA(),i.TgZ(12,"button",6),i.NdJ("click",function(){return t.onSubmit()}),i._uU(13),i.ALo(14,"translate"),i.ALo(15,"customTranslate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,5,i.lcZ(3,7,"DIALOGS.REMOVE_ALT_PASSWORD.TITLE"))),i.xp6(4),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(3),i.hij(" ",i.lcZ(10,9,i.lcZ(11,11,"DIALOGS.REMOVE_ALT_PASSWORD.CANCEL"))," "),i.xp6(4),i.hij(" ",i.lcZ(14,13,i.lcZ(15,15,"DIALOGS.REMOVE_ALT_PASSWORD.REMOVE"))," "))},directives:[Sn,b.O5,Jn,Fn,Ra,Br,Hr,Fr,Nr,qr,Oa,za,Pa,Ia,En,Yt],pipes:[dt,Ci],styles:[""]}),n})();function W3(n,o){1&n&&i._UZ(0,"th",12)}function K3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",13),i.TgZ(1,"mat-checkbox",14),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function Z3(n,o){if(1&n&&(i.TgZ(0,"th",15),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.headerColumnText)}}function $3(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e)}}function X3(n,o){1&n&&i._UZ(0,"tr",17)}function Q3(n,o){1&n&&i._UZ(0,"tr",18)}function J3(n,o){if(1&n&&(i.TgZ(0,"app-alert",19),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",e.alertText,"\n")}}let vk=(()=>{class n{constructor(){this.values=[],this.selection=new Vn(!1,[]),this.alertText="",this.headerColumnText="",this.displayedColumns=["select","value"]}ngOnChanges(){this.values=this.values?this.values:[],this.dataSource=new $c(this.values),this.setDataSource()}getExportDataForColumn(e){return e}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(e){return(this.selection.isSelected(e)?"deselect":"select")+" row"}ngAfterViewInit(){this.setDataSource()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-string-list"]],viewQuery:function(e,t){if(1&e&&i.Gf(La,7),2&e){let s;i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{values:"values",selection:"selection",alertText:"alertText",headerColumnText:"headerColumnText"},features:[i.TTD],decls:12,vars:6,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","exportData"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","pl-3","mat-header-cell","",4,"matHeaderCellDef"],["class","truncate pl-3","mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","",1,"pl-3"],["mat-cell","",1,"truncate","pl-3"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,W3,1,0,"th",4),i.YNc(5,K3,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,Z3,2,1,"th",7),i.YNc(8,$3,2,1,"td",8),i.BQk(),i.YNc(9,X3,1,0,"tr",9),i.YNc(10,Q3,1,0,"tr",10),i.qZA(),i.qZA(),i.qZA(),i.YNc(11,J3,2,1,"app-alert",11)),2&e&&(i.Q6J("hidden",!t.values.length),i.xp6(1),i.Q6J("dataLength",t.dataSource.filteredData.length),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(7),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.values.length))},directives:[La,Ra,Br,Hr,Fr,Nr,qr,au,Oa,za,Pa,Ia,b.O5,es],styles:[".static-column-size[_ngcontent-%COMP%]{width:20px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:100px}"]}),n})();function eN(n,o){if(1&n&&i._UZ(0,"perun-web-apps-string-list",10),2&n){const e=i.oxw();i.Q6J("values",e.displayedValues)("selection",e.selection)("alertText",e.alertText)("headerColumnText",e.headerColumnText)}}function tN(n,o){1&n&&i._UZ(0,"mat-spinner",11)}let iN=(()=>{class n{constructor(e,t,s,a,r){this.store=e,this.attributesManagerService=t,this.dialog=s,this.translateService=a,this.usersManagerService=r,this.altPasswordCtrl=new ds(null,[kn.required]),this.userId=this.store.getPerunPrincipal().userId,this.passwordDescriptions=new Set,this.displayedValues=[],this.selection=new Vn(!1,[]),a.get("ALT_PASSWORDS.REMOVE_DIALOG_DESCRIPTION").subscribe(c=>this.removeDialogDescription=c),a.get("ALT_PASSWORDS.REMOVE_DIALOG_TITLE").subscribe(c=>this.removeDialogTitle=c),a.get("ALERTS.NO_ALT_PASSWORDS").subscribe(c=>this.alertText=c),a.get("ALT_PASSWORDS.HEADER_COLUMN").subscribe(c=>this.headerColumnText=c)}ngOnInit(){this.getAltPasswords()}createPassword(){const e=this.generatePassword();this.usersManagerService.createAlternativePassword(this.userId,this.altPasswordCtrl.value,"einfra",e).subscribe(()=>{const t=Ri();t.width="600px",t.data={password:e},this.dialog.open(B3,t),this.getAltPasswords(),this.altPasswordCtrl.setValue("")})}generatePassword(){const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%&/=?_.,:;\\-";let s="",a=0;const r=t.length;for(;a<16;++a)s+=t.charAt(Math.random()*r);return s.match("((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])).{3,}")||this.generatePassword(),s}getAltPasswords(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:einfra").subscribe(e=>{if(this.altPasswordsAttribute=e,e.value){const t=Object.keys(e.value);this.passwordDescriptions=new Set(t),this.displayedValues=Array.from(this.passwordDescriptions.values())}else this.displayedValues=[];this.loading=!1})}alreadyContainsValue(e){return this.passwordDescriptions.has(e)}removeAltPasswords(){const e=Ri();e.width="600px",e.data={description:this.selection.selected,passwordId:this.altPasswordsAttribute.value[this.selection.selected[0]],userId:this.userId},this.dialog.open(V3,e).afterClosed().subscribe(s=>{s&&(this.getAltPasswords(),this.selection.clear())})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ii),i.Y36(Ai),i.Y36(Tt))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-alternative-passwords"]],decls:28,vars:35,consts:[[1,"ml-3"],[1,"page-title"],[1,"input-width"],["matInput","","type","text",3,"placeholder","formControl"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],["alert_type","info"],[1,"page-subtitle"],["mat-flat-button","","color","warn",3,"disabled","click"],[3,"values","selection","alertText","headerColumnText",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"values","selection","alertText","headerColumnText"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"mat-form-field",2),i.TgZ(6,"label",2),i._UZ(7,"input",3),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.qZA(),i.TgZ(10,"button",4),i.NdJ("click",function(){return t.createPassword()}),i._uU(11),i.ALo(12,"translate"),i.ALo(13,"customTranslate"),i.qZA(),i.TgZ(14,"app-alert",5),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.TgZ(18,"h1",6),i._uU(19),i.ALo(20,"translate"),i.ALo(21,"customTranslate"),i.qZA(),i.TgZ(22,"button",7),i.NdJ("click",function(){return t.removeAltPasswords()}),i._uU(23),i.ALo(24,"translate"),i.ALo(25,"customTranslate"),i.qZA(),i.YNc(26,eN,1,4,"perun-web-apps-string-list",8),i.YNc(27,tN,1,0,"mat-spinner",9),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,11,i.lcZ(4,13,"ALT_PASSWORDS.TITLE_GENERATE"))),i.xp6(5),i.s9C("placeholder",i.lcZ(8,15,i.lcZ(9,17,"ALT_PASSWORDS.INPUT_PLACEHOLDER"))),i.Q6J("formControl",t.altPasswordCtrl),i.xp6(3),i.Q6J("disabled",!t.altPasswordCtrl.valid||t.alreadyContainsValue(t.altPasswordCtrl.value)),i.xp6(1),i.hij(" ",i.lcZ(12,19,i.lcZ(13,21,"ALT_PASSWORDS.GENERATE"))," "),i.xp6(4),i.Oqu(i.lcZ(16,23,i.lcZ(17,25,"ALT_PASSWORDS.EXAMPLE_DESCRIPTIONS"))),i.xp6(4),i.Oqu(i.lcZ(20,27,i.lcZ(21,29,"ALT_PASSWORDS.TITLE_PASSWORDS"))),i.xp6(3),i.Q6J("disabled",t.selection.isEmpty()),i.xp6(1),i.hij(" ",i.lcZ(24,31,i.lcZ(25,33,"ALT_PASSWORDS.REMOVE"))," "),i.xp6(3),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading))},directives:[un,qn,bn,dn,so,Yt,es,b.O5,vk,Jn],pipes:[dt,Ci],styles:[""]}),n})();function nN(n,o){if(1&n&&(i.TgZ(0,"mat-list-item",1),i.TgZ(1,"mat-icon"),i._uU(2),i.qZA(),i.TgZ(3,"p",2),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.qZA()),2&n){const e=o.$implicit;i.Q6J("routerLink",e.url),i.xp6(2),i.Oqu(e.icon),i.xp6(2),i.Oqu(i.lcZ(5,3,i.lcZ(6,5,e.label)))}}let sN=(()=>{class n{constructor(e){this.storeService=e,this.items=[]}ngOnInit(){this.initItems();const e=this.storeService.get("displayed_tabs");this.items=this.items.filter(t=>e.includes(t.tabName))}initItems(){this.items=[{icon:"lock_open",url:"/profile/settings/altPasswords",label:"SETTINGS.ALTERNATIVE_PASSWORDS",tabName:"alt_passwords"},{icon:"admin_panel_settings",url:"/profile/settings/auth",label:"SETTINGS.AUTHENTICATION",tabName:"auth"},{icon:"storage",url:"/profile/settings/dataQuotas",label:"SETTINGS.DATA_QUOTAS",tabName:"data_quotas"},{icon:"unsubscribe",url:"/profile/settings/mailingLists",label:"SETTINGS.MAILING_LISTS",tabName:"opt_out"},{icon:"chevron_right",url:"/profile/settings/prefShells",label:"SETTINGS.PREFERRED_SHELLS",tabName:"pref_shells"},{icon:"group",url:"/profile/settings/prefGroupNames",label:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES",tabName:"pref_group_names"},{icon:"lock_open",url:"/profile/settings/sambaPassword",label:"SETTINGS.SAMBA_PASSWORD",tabName:"samba"},{icon:"vpn_key",url:"/profile/settings/sshKeys",label:"SETTINGS.SSH_KEYS",tabName:"ssh_keys"},{icon:"lock",url:"/profile/settings/passwordReset",label:"SETTINGS.PASSWORD_RESET",tabName:"password_reset"}]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-overview"]],decls:2,vars:1,consts:[["matRipple","","queryParamsHandling","merge",3,"routerLink",4,"ngFor","ngForOf"],["matRipple","","queryParamsHandling","merge",3,"routerLink"],[1,"ml-2","mt-auto","mb-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-list"),i.YNc(1,nN,7,7,"mat-list-item",0),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[Jv,b.sg,Hy,Ns,It,xn],pipes:[dt,Ci],styles:["mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important;color:var(--side-text-active)!important;cursor:pointer}"]}),n})(),oN=(()=>{class n extends yn{buildStyles(e,{display:t}){const s=$S(e);return Object.assign(Object.assign({},s),{display:"none"===t?t:s.display})}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const rN=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let aN=(()=>{class n extends hn{constructor(e,t,s,a,r){super(e,s,t,a),this._config=r,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){var t;const a=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=null!==(t=Ck.get(a))&&void 0!==t?t:new Map,Ck.set(a,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:a}),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Vi),i.Y36(oN),i.Y36(Qi),i.Y36(jr))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})(),Tk=(()=>{class n extends aN{constructor(){super(...arguments),this.inputs=rN}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[i.qOj]}),n})();const Ck=new Map;let FN=(()=>{class n extends yn{buildStyles(e){const t={};switch(e=e||"stretch"){case"start":t["align-self"]="flex-start";break;case"end":t["align-self"]="flex-end";break;default:t["align-self"]=e}return t}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const qN=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];let jN=(()=>{class n extends hn{constructor(e,t,s,a){super(e,s,t,a),this.DIRECTIVE_KEY="flex-align",this.styleCache=YN,this.init()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Vi),i.Y36(FN),i.Y36(Qi))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const YN=new Map;let kk=(()=>{class n extends jN{constructor(){super(...arguments),this.inputs=qN}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},features:[i.qOj]}),n})(),Dk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Yv,El]]}),n})();function rH(n,o){if(1&n&&(i.TgZ(0,"mat-option",13),i._uU(1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.Q6J("value",t.selectedUnit),i.xp6(1),i.hij(" ",e," ")}}let aH=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.rtMessagesService=s,this.notificator=a,this.translate=r,this.resource="",this.currentQuota="",this.units=["MiB","GiB","TiB"],this.selectedUnit="GiB",r.get("DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SUCCESS").subscribe(c=>this.successMessage=c)}ngOnInit(){this.resource=this.data.resource.name,this.currentQuota=this.data.currentQuota,this.reasonControl=new ds(null,[kn.required]),this.newValueControl=new ds(null,[kn.required,kn.pattern("[1-9][0-9]*")])}onCancel(){this.dialogRef.close()}onSubmit(){const s=`QUOTA CHANGE REQUEST\u21b5 \u21b5 User: ${(new wy).transform(this.data.user)} (user ID: ${this.data.user.id})\u21b5 VO: ${this.data.vo.shortName} / ${this.data.vo.name} (vo ID: ${this.data.vo.id})\u21b5 Resource: ${this.data.resource.name} (resource ID: ${this.data.resource.id})\u21b5 Data quota\u21b5 Requested quota: ${this.newValueControl.value}\u21b5 Reason: ${this.reasonControl.value}\u21b5 \u21b5 \u21b5 -------------------------------------\u21b5 Sent from Perun GUI`;this.rtMessagesService.sentMessageToRTWithVo(this.data.vo.id,"QUOTA: Change request",s).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(ni),i.Y36(or),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-request-change-data-quota-dialog"]],decls:42,vars:42,consts:[["mat-dialog-title","",1,"mb-3"],[1,"user-theme"],[1,"column-size"],["fxLayout","row","fxFlexAlign","center center"],[1,"label-width"],["matInput","","required","","type","number",3,"placeholder","formControl"],[1,"select-width","mt-auto","mb-auto","ml-2",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"form-width"],["matInput","","required","","rows","4",3,"placeholder","formControl"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"value"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"div"),i.TgZ(6,"p",2),i._uU(7),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.TgZ(10,"p"),i._uU(11),i.qZA(),i.qZA(),i.TgZ(12,"div"),i.TgZ(13,"p",2),i._uU(14),i.ALo(15,"translate"),i.ALo(16,"customTranslate"),i.qZA(),i.TgZ(17,"p"),i._uU(18),i.qZA(),i.qZA(),i.TgZ(19,"div",3),i.TgZ(20,"mat-form-field"),i.TgZ(21,"label",4),i._UZ(22,"input",5),i.ALo(23,"translate"),i.ALo(24,"customTranslate"),i.qZA(),i.qZA(),i.TgZ(25,"mat-select",6),i.NdJ("valueChange",function(a){return t.selectedUnit=a}),i.YNc(26,rH,2,2,"mat-option",7),i.qZA(),i.qZA(),i.TgZ(27,"div"),i.TgZ(28,"mat-form-field",8),i.TgZ(29,"label",4),i._UZ(30,"textarea",9),i.ALo(31,"translate"),i.ALo(32,"customTranslate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(33,"div",10),i.TgZ(34,"button",11),i.NdJ("click",function(){return t.onCancel()}),i._uU(35),i.ALo(36,"translate"),i.ALo(37,"customTranslate"),i.qZA(),i.TgZ(38,"button",12),i.NdJ("click",function(){return t.onSubmit()}),i._uU(39),i.ALo(40,"translate"),i.ALo(41,"customTranslate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,14,i.lcZ(3,16,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.TITLE")),"\n"),i.xp6(6),i.hij(" ",i.lcZ(8,18,i.lcZ(9,20,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.RESOURCE"))," "),i.xp6(4),i.Oqu(t.resource),i.xp6(3),i.hij(" ",i.lcZ(15,22,i.lcZ(16,24,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CURRENT_QUOTA"))," "),i.xp6(4),i.Oqu(t.currentQuota),i.xp6(4),i.s9C("placeholder",i.lcZ(23,26,i.lcZ(24,28,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REQUESTED_QUOTA"))),i.Q6J("formControl",t.newValueControl),i.xp6(3),i.Q6J("value",t.selectedUnit),i.xp6(1),i.Q6J("ngForOf",t.units),i.xp6(4),i.s9C("placeholder",i.lcZ(31,30,i.lcZ(32,32,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REASON"))),i.Q6J("formControl",t.reasonControl),i.xp6(5),i.hij(" ",i.lcZ(36,34,i.lcZ(37,36,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CANCEL"))," "),i.xp6(3),i.Q6J("disabled",t.reasonControl.invalid),i.xp6(1),i.hij(" ",i.lcZ(40,38,i.lcZ(41,40,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SEND"))," "))},directives:[Sn,Tk,kk,un,qn,iu,bn,vs,dn,so,Zf,b.sg,Ca,En,Yt],pipes:[dt,Ci],styles:[".column-size[_ngcontent-%COMP%]{width:10rem!important;font-weight:700}.form-width[_ngcontent-%COMP%]{width:100%;overflow:hidden}.label-width[_ngcontent-%COMP%]{width:100%}.select-width[_ngcontent-%COMP%]{width:4rem}.mat-input-underline.mat-form-field-underline[_ngcontent-%COMP%], .mat-input-ripple.mat-form-field-ripple[_ngcontent-%COMP%]{display:none}"]}),n})();function cH(n,o){1&n&&i._UZ(0,"mat-spinner",8)}function lH(n,o){1&n&&(i.TgZ(0,"app-alert",9),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function uH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"p"),i.TgZ(2,"strong"),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i._uU(6),i.qZA(),i.TgZ(7,"p",10),i._uU(8),i.ALo(9,"translate"),i.ALo(10,"customTranslate"),i.qZA(),i.TgZ(11,"button",11),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit,a=i.oxw(3).$implicit;return i.oxw().requestChangeQuota(a,s)}),i._uU(12),i.ALo(13,"translate"),i.ALo(14,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(5);i.xp6(3),i.Oqu(i.lcZ(4,4,i.lcZ(5,6,"DATA_QUOTAS.QUOTA"))),i.xp6(3),i.hij(" ",e.quotasMarkup," "),i.xp6(2),i.Oqu(i.lcZ(9,8,i.lcZ(10,10,"DATA_QUOTAS.QUOTA_INFO"))),i.xp6(4),i.hij(" ",i.lcZ(13,12,i.lcZ(14,14,"DATA_QUOTAS.CHANGE"))," ")}}function dH(n,o){1&n&&(i.TgZ(0,"p"),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function hH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw(4).getResAttributes(a.id)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,uH,15,16,"div",7),i.YNc(5,dH,4,5,"p",7),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw(4);i.xp6(3),i.hij(" ",e.name," "),i.xp6(1),i.Q6J("ngIf",t.defaultQuota),i.xp6(1),i.Q6J("ngIf",!t.defaultQuota)}}function fH(n,o){if(1&n&&(i.TgZ(0,"mat-accordion"),i.YNc(1,hH,6,3,"mat-expansion-panel",2),i.qZA()),2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",e.resources)}}function pH(n,o){if(1&n&&(i.YNc(0,cH,1,0,"mat-spinner",5),i.YNc(1,lH,4,5,"app-alert",6),i.YNc(2,fH,2,1,"mat-accordion",7)),2&n){const e=i.oxw(2);i.Q6J("ngIf",e.loading),i.xp6(1),i.Q6J("ngIf",0===e.resources.length&&!e.loading),i.xp6(1),i.Q6J("ngIf",e.resources.length&&!e.loading)}}function gH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw().getMembersResources(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,pH,3,3,"ng-template",4),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(3),i.hij(" ",e.name," ")}}let mH=(()=>{class n{constructor(e,t,s,a,r,c){this.store=e,this.usersManagerService=t,this.membersService=s,this.resourcesManagerService=a,this.attributesManagerService=r,this.dialog=c,this.vos=[],this.resources=[],this.quotasMarkup="",this.filteredVos=[]}ngOnInit(){this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(e=>{this.vos=e,this.filteredVos=e})}getMembersResources(e){this.loading=!0,this.resources=[],this.membersService.getMemberByUser(e.id,this.user.id).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(s=>{let a=s.length;a||(this.loading=!1),s.forEach(r=>{this.attributesManagerService.getResourceAttributes(r.id).subscribe(c=>{a--,c.find(d=>"defaultDataQuotas"===d.friendlyName)&&this.resources.push(r),this.loading=0!==a})})})})}getResAttributes(e){this.attributesManagerService.getResourceAttributes(e).subscribe(t=>{let s=t.find(a=>"dataQuotas"===a.friendlyName);if(s&&s.value){const a=Object.keys(s.value);this.currentQuota=s.value[a[0]]}else this.currentQuota="";if(s=t.find(a=>"defaultDataQuotas"===a.friendlyName),s){const a=Object.keys(s.value);this.defaultQuota=s.value[a[0]]}else this.defaultQuota="";this.currentQuota||(this.currentQuota=this.defaultQuota),this.parseMarkup()})}parseMarkup(){let e="";e+=this.currentQuota,e+=` (default: ${this.defaultQuota})`,e=e.split(":").join(" : ").split("K").join(" KiB").split("M").join(" MiB").split("G").join(" GiB").split("T").join(" TiB").split("E").join(" EiB"),this.quotasMarkup=e}requestChangeQuota(e,t){const s=Ri();s.width="400px",s.data={vo:e,resource:t,user:this.user,currentQuota:this.quotasMarkup},this.dialog.open(aH,s)}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(Tt),i.Y36(Be),i.Y36(ei),i.Y36(si),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-data-quotas"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[2,"color","gray"],["mat-flat-button","","color","primary",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"perun-web-apps-immediate-filter",1),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"mat-accordion"),i.YNc(8,gH,5,1,"mat-expansion-panel",2),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,i.lcZ(3,5,"DATA_QUOTAS.TITLE"))),i.xp6(3),i.Q6J("placeholder",i.lcZ(5,7,i.lcZ(6,9,"DATA_QUOTAS.FILTER"))),i.xp6(4),i.Q6J("ngForOf",t.filteredVos))},directives:[l1,Vy,b.sg,d1,h1,Gy,u1,b.O5,Jn,es,Yt],pipes:[dt,Ci],styles:[""]}),n})();function _H(n,o){1&n&&i._UZ(0,"mat-spinner",8)}function bH(n,o){1&n&&(i.TgZ(0,"app-alert",9),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"OPT_OUT_MAILING_LISTS.NO_MAILING_LISTS_ALERT"))))}function yH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw(4).getOptOutAttribute(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.TgZ(4,"div",10),i.TgZ(5,"p"),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"mat-checkbox",11),i.NdJ("change",function(){return i.CHM(e),i.oxw(4).setOptOut()}),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw(4);i.xp6(3),i.hij(" ",e.name," "),i.xp6(3),i.Oqu(i.lcZ(7,3,i.lcZ(8,5,"OPT_OUT_MAILING_LISTS.OPT_OUT_LABEL"))),i.xp6(3),i.Q6J("checked",t.optOutAttribute&&null!==t.optOutAttribute.value)}}function AH(n,o){if(1&n&&(i.TgZ(0,"mat-accordion"),i.YNc(1,yH,10,7,"mat-expansion-panel",2),i.qZA()),2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",e.resources)}}function wH(n,o){if(1&n&&(i.YNc(0,_H,1,0,"mat-spinner",5),i.YNc(1,bH,4,5,"app-alert",6),i.YNc(2,AH,2,1,"mat-accordion",7)),2&n){const e=i.oxw(2);i.Q6J("ngIf",e.loading),i.xp6(1),i.Q6J("ngIf",0===e.resources.length&&!e.loading),i.xp6(1),i.Q6J("ngIf",e.resources.length&&!e.loading)}}function MH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw().getMailingLists(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,wH,3,3,"ng-template",4),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(3),i.hij(" ",e.name," ")}}let vH=(()=>{class n{constructor(e,t,s,a,r){this.store=e,this.usersManagerService=t,this.membersService=s,this.resourcesManagerService=a,this.attributesManagerService=r,this.vos=[],this.resources=[],this.mailingLists=[],this.optOuts=[],this.filteredVos=[]}ngOnInit(){this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(e=>{this.vos=e,this.filteredVos=e})}getMailingLists(e){this.loading=!0,this.resources=[],this.membersService.getMemberByUser(e.id,this.user.id).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(s=>{let a=s.length;a||(this.loading=!1),s.forEach(r=>{this.attributesManagerService.getRequiredAttributesMemberResource(t.id,r.id).subscribe(c=>{this.attributesManagerService.getResourceAttributeByName(r.id,"urn:perun:resource:attribute-def:def:disableMailingListOptOut").subscribe(d=>{a--;const h=c.find(g=>"optOutMailingList"===g.friendlyName);h&&!(d&&"true"===d.value)&&(this.optOuts.push({resource:r.id,member:t.id,attribute:h}),this.resources.push(r)),this.loading=0!==a})})})})})}getOptOutAttribute(e){this.index=this.resources.indexOf(e),this.optOutAttribute=this.optOuts[this.index].attribute}setOptOut(){this.optOuts[this.index].attribute.value=this.optOutAttribute.value?null:"true",this.attributesManagerService.setMemberResourceAttribute(this.optOuts[this.index]).subscribe(()=>{console.log("done")})}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(Tt),i.Y36(Be),i.Y36(ei),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-mailing-lists"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[1,"row"],[1,"ml-3",3,"checked","change"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"perun-web-apps-immediate-filter",1),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"mat-accordion"),i.YNc(8,MH,5,1,"mat-expansion-panel",2),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,i.lcZ(3,5,"OPT_OUT_MAILING_LISTS.TITLE"))),i.xp6(3),i.Q6J("placeholder",i.lcZ(5,7,i.lcZ(6,9,"OPT_OUT_MAILING_LISTS.FILTER"))),i.xp6(4),i.Q6J("ngForOf",t.filteredVos))},directives:[l1,Vy,b.sg,d1,h1,Gy,u1,b.O5,Jn,es,au],pipes:[dt,Ci],styles:[""]}),n})();function TH(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function CH(n,o){1&n&&i._UZ(0,"th",17)}function SH(n,o){if(1&n&&(i.TgZ(0,"td",18),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e)}}function EH(n,o){1&n&&i._UZ(0,"tr",19)}function kH(n,o){1&n&&i._UZ(0,"tr",20)}function DH(n,o){if(1&n&&(i.TgZ(0,"table",11),i.ynx(1,12),i.YNc(2,CH,1,0,"th",13),i.YNc(3,SH,2,1,"td",14),i.BQk(),i.YNc(4,EH,1,0,"tr",15),i.YNc(5,kH,1,0,"tr",16),i.qZA()),2&n){const e=i.oxw(2);i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns)}}function xH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",1),i.TgZ(1,"div",5),i.TgZ(2,"p"),i._uU(3),i.qZA(),i.TgZ(4,"div",6),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.YNc(8,DH,6,3,"table",7),i.qZA(),i.TgZ(9,"div",8),i.TgZ(10,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(11),i.ALo(12,"translate"),i.ALo(13,"customTranslate"),i.qZA(),i.TgZ(14,"button",10),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.hij(" ",e.description," "),i.xp6(2),i.hij(" ",i.lcZ(6,5,i.lcZ(7,7,"DIALOGS.REMOVE_STRING_VALUE.ASK"))," "),i.xp6(3),i.Q6J("ngIf",e.dataSource.data.length),i.xp6(3),i.hij(" ",i.lcZ(12,9,i.lcZ(13,11,"DIALOGS.REMOVE_STRING_VALUE.CANCEL"))," "),i.xp6(4),i.hij(" ",i.lcZ(16,13,i.lcZ(17,15,"DIALOGS.REMOVE_STRING_VALUE.REMOVE"))," ")}}let Ky=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.data=t,this.attributesManagerService=s,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new $c(this.data.values),this.description=this.data.description,this.title=this.data.title}onCancel(){this.dialogRef.close(!1)}onSubmit(){if(this.loading=!0,this.data.doNotShowValues)this.data.attribute.value="";else{let e=this.data.attribute.value?this.data.attribute.value:[];void 0!==this.data.valueIndex?e.splice(this.data.valueIndex,1):e=e.filter(t=>!this.data.values.find(s=>s===t)),this.data.attribute.value=e}this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-string-value-dialog"]],decls:5,vars:3,consts:[["mat-dialog-title",""],[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","user-theme",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["class","w-100","mat-table","",3,"dataSource",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.qZA(),i.TgZ(2,"div",1),i.YNc(3,TH,1,0,"mat-spinner",2),i.qZA(),i.YNc(4,xH,18,17,"div",3)),2&e&&(i.xp6(1),i.Oqu(t.title),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,b.O5,Jn,Fn,Ra,Br,Hr,Fr,Nr,qr,Oa,za,Pa,Ia,En,Yt],pipes:[dt,Ci],styles:[""]}),n})();function LH(n,o){1&n&&(i.TgZ(0,"app-alert",5),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"PREFERRED_SHELLS.NO_SHELLS"))))}function RH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-option",11),i.NdJ("click",function(){return i.CHM(e),i.oxw(3).changeValue()}),i._uU(1),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.Oqu(e)}}function OH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item"),i.TgZ(1,"mat-form-field",7),i.TgZ(2,"mat-select",8),i.NdJ("valueChange",function(s){const r=i.CHM(e).index;return i.oxw(2).shells[r]=s}),i.YNc(3,RH,2,2,"mat-option",9),i.qZA(),i.qZA(),i.TgZ(4,"button",10),i.NdJ("click",function(){const a=i.CHM(e).index;return i.oxw(2).removeShell(a)}),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.index,t=i.oxw(2);i.xp6(2),i.Q6J("value",t.shells[e]),i.xp6(1),i.Q6J("ngForOf",t.defaultShells),i.xp6(2),i.hij(" ",i.lcZ(6,3,i.lcZ(7,5,"PREFERRED_SHELLS.REMOVE_BUTTON"))," ")}}function PH(n,o){if(1&n&&(i.TgZ(0,"mat-list"),i.YNc(1,OH,8,7,"mat-list-item",6),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngForOf",e.shells)}}let zH=(()=>{class n{constructor(e,t,s,a){this.store=e,this.attributesManagerService=t,this.dialog=s,this.translateService=a,this.defaultShells=["/bin/bash","/bin/csh","/bin/ksh","/bin/sh","/bin/zsh"],this.shells=[],a.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(r=>this.removeDialogDescription=r),a.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(r=>this.removeDialogTitle=r)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.translateService.onLangChange.subscribe(()=>{this.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(e=>this.removeDialogDescription=e),this.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e)}),this.getAttribute()}addShell(){this.shells.push("/bin/bash"),this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(()=>{console.log("done")})}removeShell(e){const t=Ri();t.width="600px",t.data={valueIndex:e,values:[this.shells[e]],attribute:this.prefShellsAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Ky,t).afterClosed().subscribe(a=>{a&&this.getAttribute()})}getAttribute(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredShells").subscribe(e=>{this.prefShellsAttribute=e,this.shells=this.prefShellsAttribute.value?this.prefShellsAttribute.value:[],this.loading=!1})}changeValue(){this.loading=!0,this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(()=>{this.getAttribute()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ii),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-preferred-shells"]],decls:14,vars:17,consts:[[1,"page-title"],["alert_type","info"],["mat-flat-button","","color","accent",3,"click"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],["alert_type","warn"],[4,"ngFor","ngForOf"],[1,"w-100"],[3,"value","valueChange"],[3,"value","click",4,"ngFor","ngForOf"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],[3,"value","click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"app-alert",1),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"button",2),i.NdJ("click",function(){return t.addShell()}),i._uU(9),i.ALo(10,"translate"),i.ALo(11,"customTranslate"),i.qZA(),i.YNc(12,LH,4,5,"app-alert",3),i.YNc(13,PH,2,1,"mat-list",4)),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,5,i.lcZ(3,7,"PREFERRED_SHELLS.TITLE"))),i.xp6(4),i.hij(" ",i.lcZ(6,9,i.lcZ(7,11,"PREFERRED_SHELLS.DESCRIPTION")),"\n"),i.xp6(4),i.hij(" ",i.lcZ(10,13,i.lcZ(11,15,"PREFERRED_SHELLS.NEW_BUTTON")),"\n"),i.xp6(3),i.Q6J("ngIf",!t.loading&&0===t.shells.length),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[es,Yt,b.O5,Jv,b.sg,Hy,un,Zf,Ca],pipes:[dt,Ci],styles:[""]}),n})();function IH(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function NH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"mat-form-field",6),i.TgZ(3,"label",6),i._UZ(4,"input",7),i.qZA(),i.qZA(),i.qZA(),i.TgZ(5,"div",8),i.TgZ(6,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(7),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.TgZ(10,"button",10),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(11),i.ALo(12,"translate"),i.ALo(13,"customTranslate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(4),i.Q6J("formControl",e.inputControl),i.xp6(3),i.hij(" ",i.lcZ(8,4,i.lcZ(9,6,"DIALOGS.ADD_UNIX_GROUP.CANCEL"))," "),i.xp6(3),i.Q6J("disabled",!e.inputControl.valid||e.groups.includes(e.inputControl.value)),i.xp6(1),i.hij(" ",i.lcZ(12,8,i.lcZ(13,10,"DIALOGS.ADD_UNIX_GROUP.ADD"))," ")}}let HH=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.data=t,this.attributesManagerService=s,this.groups=[]}ngOnInit(){this.inputControl=new ds(null,kn.required),this.groups=this.data.groups}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.data.userId,`urn:perun:user:attribute-def:def:preferredUnixGroupName-namespace:${this.data.namespace}`).subscribe(e=>{const t=e.value?e.value:[];t.push(this.inputControl.value),e.value=t,this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:e}).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-unix-group-dialog"]],decls:7,vars:7,consts:[["mat-dialog-title",""],[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"w-100"],["matInput","","required","",1,"w-100",3,"formControl"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,IH,1,0,"mat-spinner",2),i.YNc(6,NH,14,12,"div",3),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,i.lcZ(3,5,"DIALOGS.ADD_UNIX_GROUP.TITLE"))),i.xp6(4),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,b.O5,Jn,Fn,un,qn,bn,vs,dn,so,En,Yt],pipes:[dt,Ci],styles:[""]}),n})();function BH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.TgZ(1,"h4"),i._uU(2),i.qZA(),i.TgZ(3,"button",3),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().addGroupName(a)}),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"button",4),i.NdJ("click",function(){const s=i.CHM(e),a=s.$implicit,r=s.index;return i.oxw().removeGroupName(a,r)}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i._UZ(10,"perun-web-apps-string-list",5),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.xp6(2),i.Oqu(e),i.xp6(2),i.hij(" ",i.lcZ(5,8,i.lcZ(6,10,"PREFERRED_UNIX_GROUP_NAMES.NEW_BUTTON"))," "),i.xp6(3),i.Q6J("disabled",0===s.selectionList[t].selected.length),i.xp6(1),i.hij(" ",i.lcZ(9,12,"PREFERRED_UNIX_GROUP_NAMES.REMOVE_BUTTON")," "),i.xp6(2),i.Q6J("values",s.groupNames.get(e))("selection",s.selectionList[t])("alertText",s.alertText)("headerColumnText",s.headerColumnText)}}let FH=(()=>{class n{constructor(e,t,s,a){this.store=e,this.attributesManagerService=t,this.dialog=s,this.translateService=a,this.namespaces=[],this.userId=this.store.getPerunPrincipal().userId,this.groupNames=new Map,this.groupNameAttributes=[],this.selectionList=[],a.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(r=>this.removeDialogDescription=r),a.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(r=>this.removeDialogTitle=r),a.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(r=>this.alertText=r),a.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(r=>this.headerColumnText=r)}ngOnInit(){this.namespaces=this.store.get("preferred_unix_group_names"),this.translateService.onLangChange.subscribe(()=>{this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(e=>this.removeDialogDescription=e),this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e),this.translateService.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(e=>this.alertText=e),this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(e=>this.headerColumnText=e)}),this.initSelection(),this.namespaces.forEach(e=>{this.getAttribute(e)})}initSelection(){for(let e=0;e{this.groupNames.set(e,t.value?t.value:[]),this.groupNameAttributes.push(t)})}addGroupName(e){const t=this.groupNames.get(e),s=Ri();s.width="400px",s.data={groups:t,namespace:e,userId:this.userId},this.dialog.open(HH,s).afterClosed().subscribe(r=>{r&&this.getAttribute(e)})}removeGroupName(e,t){const s=Ri();s.width="600px",s.data={values:this.selectionList[t].selected,attribute:this.groupNameAttributes[t],userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Ky,s).afterClosed().subscribe(r=>{r&&(this.selectionList[t].clear(),this.getAttribute(e))})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ii),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-preferred-unix-group-names"]],decls:5,vars:6,consts:[[1,"page-title"],["class","mt-4",4,"ngFor","ngForOf"],[1,"mt-4"],["mat-flat-button","","color","accent",1,"action-button",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"values","selection","alertText","headerColumnText"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.YNc(4,BH,11,14,"div",1)),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,2,i.lcZ(3,4,"PREFERRED_UNIX_GROUP_NAMES.TITLE"))),i.xp6(3),i.Q6J("ngForOf",t.namespaces))},directives:[b.sg,Yt,vk],pipes:[dt,Ci],styles:[""]}),n})();function qH(n,o){1&n&&(i.TgZ(0,"app-alert",7),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"ALERTS.NO_SAMBA")),"\n"))}function jH(n,o){1&n&&(i.TgZ(0,"app-alert",7),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"ALERTS.SAMBA_EXISTS")),"\n"))}function YH(n,o){1&n&&(i.TgZ(0,"app-alert",8),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"SAMBA_PASSWORD.PASSWORD_VALIDATION"))))}let UH=(()=>{class n{constructor(e,t,s,a,r){this.attributesManagerService=e,this.store=t,this.usersManagerService=s,this.notificator=a,this.translate=r,r.get("SAMBA_PASSWORD.SUCCESS_MESSAGE").subscribe(c=>this.successMessage=c),r.get("SAMBA_PASSWORD.SHOW_PWD_TOOLTIP").subscribe(c=>this.showPwdTooltip=c),r.get("SAMBA_PASSWORD.HIDE_PWD_TOOLTIP").subscribe(c=>this.hidePwdTooltip=c)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.sambaControl=new ds("",[kn.pattern("((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])).{3,}")]),this.getSambaAttribute()}setSambaPassword(){this.sambaAttribute.value=this.sambaControl.value;const e=(new Date).getTime().toString();this.usersManagerService.createAlternativePassword(this.userId,e,"samba-du",this.sambaControl.value).subscribe(()=>{this.sambaControl.setValue(""),this.getSambaAttribute(),this.notificator.showSuccess(this.successMessage)})}getSambaAttribute(){this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:samba-du").subscribe(e=>{this.sambaExists=!!e.value,this.sambaAttribute=e})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(si),i.Y36(ti),i.Y36(Tt),i.Y36(or),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-samba-password"]],decls:19,vars:23,consts:[[1,"page-title"],["alert_type","warn",4,"ngIf"],[1,"input-width"],["matInput","",3,"formControl","type","placeholder"],["disableRipple","","mat-icon-button","",3,"matTooltip","click"],["color","accent","mat-flat-button","",3,"disabled","click"],["alert_type","error",4,"ngIf"],["alert_type","warn"],["alert_type","error"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.YNc(4,qH,4,5,"app-alert",1),i.YNc(5,jH,4,5,"app-alert",1),i.TgZ(6,"mat-form-field",2),i.TgZ(7,"label",2),i._UZ(8,"input",3),i.ALo(9,"translate"),i.ALo(10,"customTranslate"),i.qZA(),i.qZA(),i.TgZ(11,"button",4),i.NdJ("click",function(){return t.showPassword=!t.showPassword}),i.TgZ(12,"mat-icon"),i._uU(13),i.qZA(),i.qZA(),i.TgZ(14,"button",5),i.NdJ("click",function(){return t.setSambaPassword()}),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.YNc(18,YH,4,5,"app-alert",6)),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,11,i.lcZ(3,13,"SAMBA_PASSWORD.TITLE"))),i.xp6(3),i.Q6J("ngIf",!t.sambaExists),i.xp6(1),i.Q6J("ngIf",t.sambaExists),i.xp6(3),i.s9C("placeholder",i.lcZ(9,15,i.lcZ(10,17,"SAMBA_PASSWORD.INPUT_PLACEHOLDER"))),i.Q6J("formControl",t.sambaControl)("type",t.showPassword?"text":"password"),i.xp6(3),i.Q6J("matTooltip",t.showPassword?t.hidePwdTooltip:t.showPwdTooltip),i.xp6(2),i.Oqu(t.showPassword?"visibility_off":"visibility"),i.xp6(1),i.Q6J("disabled",0===t.sambaControl.value.length||t.sambaControl.invalid),i.xp6(1),i.hij(" ",i.lcZ(16,19,i.lcZ(17,21,"SAMBA_PASSWORD.SET_PASSWORD")),"\n"),i.xp6(3),i.Q6J("ngIf",t.sambaControl.invalid))},directives:[b.O5,es,un,qn,bn,dn,so,Yt,fs,xn],pipes:[dt,Ci],styles:[""]}),n})();function GH(n,o){1&n&&(i.TgZ(0,"mat-error",8),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.ADD_SSH.INVALID_TYPE"))))}class Ha{constructor(o,e,t){this.dialogRef=o,this.data=e,this.attributesManagerService=t}ngOnInit(){this.sshControl=new ds(null,[kn.required,kn.pattern(Ha.sshKeyPattern)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){const o=this.data.attribute.value?this.data.attribute.value:[];o.includes(this.sshControl.value)||o.push(this.sshControl.value),this.data.attribute.value=o,this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(()=>{this.dialogRef.close(!0)},()=>{o.pop()})}}Ha.allowedSshKeys=["ssh-ed25519","ssh-ed25519-cert-v01@openssh.com","sk-ssh-ed25519@openssh.com","sk-ssh-ed25519-cert-v01@openssh.com","ssh-rsa","ssh-dss","ecdsa-sha2-nistp256","ecdsa-sha2-nistp384","ecdsa-sha2-nistp521","sk-ecdsa-sha2-nistp256@openssh.com","ssh-rsa-cert-v01@openssh.com","ssh-dss-cert-v01@openssh.com","ecdsa-sha2-nistp256-cert-v01@openssh.com","ecdsa-sha2-nistp384-cert-v01@openssh.com","ecdsa-sha2-nistp521-cert-v01@openssh.com","sk-ecdsa-sha2-nistp256-cert-v01@openssh.com"],Ha.sshKeyPattern="^("+Ha.allowedSshKeys.join("|")+").+$",Ha.\u0275fac=function(o){return new(o||Ha)(i.Y36(zi),i.Y36(Xi),i.Y36(si))},Ha.\u0275cmp=i.Xpm({type:Ha,selectors:[["perun-web-apps-add-ssh-dialog"]],decls:20,vars:23,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],[1,"input-width"],["matInput","","required","","cdkTextareaAutosize","","cdkAutosizeMinRows","4",3,"placeholder","formControl"],["class","white-space-pre",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"white-space-pre"]],template:function(o,e){1&o&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"mat-form-field",2),i.TgZ(6,"label",2),i._UZ(7,"textarea",3),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.YNc(10,GH,4,5,"mat-error",4),i.qZA(),i.qZA(),i.TgZ(11,"div",5),i.TgZ(12,"button",6),i.NdJ("click",function(){return e.onCancel()}),i._uU(13),i.ALo(14,"translate"),i.ALo(15,"customTranslate"),i.qZA(),i.TgZ(16,"button",7),i.NdJ("click",function(){return e.onSubmit()}),i._uU(17),i.ALo(18,"translate"),i.ALo(19,"customTranslate"),i.qZA(),i.qZA()),2&o&&(i.xp6(1),i.Oqu(i.lcZ(2,7,i.lcZ(3,9,"DIALOGS.ADD_SSH.TITLE"))),i.xp6(6),i.s9C("placeholder",i.lcZ(8,11,i.lcZ(9,13,"DIALOGS.ADD_SSH.INPUT_PLACEHOLDER"))),i.Q6J("formControl",e.sshControl),i.xp6(3),i.Q6J("ngIf",e.sshControl.invalid&&e.sshControl.dirty),i.xp6(3),i.hij(" ",i.lcZ(14,15,i.lcZ(15,17,"DIALOGS.ADD_SSH.CANCEL"))," "),i.xp6(3),i.Q6J("disabled",e.sshControl.invalid),i.xp6(1),i.hij(" ",i.lcZ(18,19,i.lcZ(19,21,"DIALOGS.ADD_SSH.ADD"))," "))},directives:[Sn,Fn,un,qn,My,bn,vs,dn,so,b.O5,Zl,En,Yt],pipes:[dt,Ci],styles:[".input-width{width:100%}.white-space-pre{white-space:pre-wrap}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper{padding-bottom:0}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:static!important;position:initial!important;display:block;margin-top:-1px}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper,perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:static!important;position:initial!important;display:table}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}\n"],encapsulation:2});let VH=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.sshKey=this.data.value}onClose(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-show-ssh-dialog"]],decls:8,vars:6,consts:[[1,"user-theme"],["matInput","","cdkTextareaAutosize","","readonly","",1,"w-100","display-fix"],["mat-flat-button","","color","warn",1,"ml-auto",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"textarea",1),i._uU(2),i.qZA(),i.qZA(),i.TgZ(3,"mat-dialog-actions"),i.TgZ(4,"button",2),i.NdJ("click",function(){return t.onClose()}),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(t.sshKey),i.xp6(3),i.hij(" ",i.lcZ(6,2,i.lcZ(7,4,"DIALOGS.SHOW_SSH.CLOSE"))," "))},directives:[qn,My,En,Yt],pipes:[dt,Ci],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}*[_ngcontent-%COMP%]:focus{outline:none}"]}),n})();function WH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",4),i.TgZ(1,"p",5),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().showWholeKey(a)}),i._uU(2),i.qZA(),i.TgZ(3,"button",6),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.TgZ(6,"mat-icon"),i._uU(7," file_copy "),i.qZA(),i.qZA(),i.TgZ(8,"button",7),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().removeKey(a,!1)}),i.ALo(9,"translate"),i.ALo(10,"customTranslate"),i.TgZ(11,"mat-icon"),i._uU(12," delete "),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(2),i.Oqu(e),i.xp6(1),i.s9C("matTooltip",i.lcZ(4,4,i.lcZ(5,6,"SSH_KEYS.COPY_TOOLTIP"))),i.Q6J("cdkCopyToClipboard",e),i.xp6(5),i.s9C("matTooltip",i.lcZ(9,8,i.lcZ(10,10,"SSH_KEYS.REMOVE_TOOLTIP")))}}function KH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",4),i.TgZ(1,"label",8),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().showWholeKey(a)}),i._uU(2),i.qZA(),i.TgZ(3,"button",9),i.TgZ(4,"mat-icon"),i._uU(5," file_copy "),i.qZA(),i.qZA(),i.TgZ(6,"button",10),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().removeKey(a,!0)}),i.TgZ(7,"mat-icon"),i._uU(8," delete "),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(2),i.Oqu(e),i.xp6(1),i.Q6J("cdkCopyToClipboard",e)}}let ZH=(()=>{class n{constructor(e,t,s,a){this.store=e,this.attributesManagerService=t,this.dialog=s,this.translateService=a,this.adminKeys=[],this.userKeys=[],this.userUrn="urn:perun:user:attribute-def:def:sshPublicKey",this.adminUrn="urn:perun:user:attribute-def:def:sshPublicAdminKey",this.selection=new Vn(!1,[]),this.selectionAdmin=new Vn(!1,[]),a.get("SSH_KEYS.REMOVE_DIALOG_DESCRIPTION").subscribe(r=>this.removeDialogDescription=r),a.get("SSH_KEYS.REMOVE_DIALOG_TITLE").subscribe(r=>this.removeDialogTitle=r),a.get("ALERTS.NO_ALT_PASSWORDS").subscribe(r=>this.alertText=r),a.get("SSH_KEYS.HEADER_COLUMN").subscribe(r=>this.headerColumnText=r)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.translateService.onLangChange.subscribe(()=>{this.translateService.get("SSH_KEYS.REMOVE_DIALOG_DESCRIPTION").subscribe(e=>this.removeDialogDescription=e),this.translateService.get("SSH_KEYS.REMOVE_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e),this.translateService.get("ALERTS.NO_ALT_PASSWORDS").subscribe(e=>this.alertText=e),this.translateService.get("SSH_KEYS.HEADER_COLUMN").subscribe(e=>this.headerColumnText=e)}),this.loading=!0,this.getUserSSH(),this.getAdminSSH()}addKey(e){const t=Ri();t.width="850px",t.data={attribute:e?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId},this.dialog.open(Ha,t).afterClosed().subscribe(a=>{a&&(e?this.getAdminSSH():this.getUserSSH())})}removeKey(e,t){const s=Ri();s.width="600px",s.data={values:[e],attribute:t?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Ky,s).afterClosed().subscribe(r=>{r&&(this.loading=!0,t?(this.getAdminSSH(),this.selectionAdmin.clear()):(this.getUserSSH(),this.selection.clear()))})}getUserSSH(){this.attributesManagerService.getUserAttributeByName(this.userId,this.userUrn).subscribe(e=>{this.userKeyAttribute=e,this.userKeys=e.value,this.loading=!1})}getAdminSSH(){this.attributesManagerService.getUserAttributeByName(this.userId,this.adminUrn).subscribe(e=>{this.adminKeyAttribute=e,this.adminKeys=e.value,this.loading=!1})}showWholeKey(e){const t=Ri();t.width="600px",t.data={value:e},this.dialog.open(VH,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ii),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-ssh-keys"]],decls:28,vars:32,consts:[[1,"page-title"],["mat-flat-button","","color","accent",1,"action-button",3,"click"],["class","dark-hover-list-item","matRipple","","style","width: auto",4,"ngFor","ngForOf"],[1,"page-title","mt-5"],["matRipple","",1,"dark-hover-list-item",2,"width","auto"],[1,"truncate","center-content","cursor-pointer",3,"click"],["color","accent","mat-icon-button","",1,"ml-auto","center-content",3,"cdkCopyToClipboard","matTooltip"],["color","warn","mat-icon-button","",1,"ml-2","center-content",3,"matTooltip","click"],[1,"truncate","center-content",3,"click"],["mat-icon-button","","color","accent",1,"ml-auto","center-content",3,"cdkCopyToClipboard"],["mat-icon-button","","color","warn",1,"ml-2","center-content",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"p"),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"button",1),i.NdJ("click",function(){return t.addKey(!1)}),i._uU(9),i.ALo(10,"translate"),i.ALo(11,"customTranslate"),i.qZA(),i.TgZ(12,"mat-list"),i.YNc(13,WH,13,12,"mat-list-item",2),i.qZA(),i.TgZ(14,"h1",3),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.TgZ(18,"p"),i._uU(19),i.ALo(20,"translate"),i.ALo(21,"customTranslate"),i.qZA(),i.TgZ(22,"button",1),i.NdJ("click",function(){return t.addKey(!0)}),i._uU(23),i.ALo(24,"translate"),i.ALo(25,"customTranslate"),i.qZA(),i.TgZ(26,"mat-list"),i.YNc(27,KH,9,2,"mat-list-item",2),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,8,i.lcZ(3,10,"SSH_KEYS.SSH_KEYS_TITLE"))),i.xp6(4),i.Oqu(i.lcZ(6,12,i.lcZ(7,14,"SSH_KEYS.SSH_KEYS_DESCRIPTION"))),i.xp6(4),i.hij(" ",i.lcZ(10,16,i.lcZ(11,18,"SSH_KEYS.NEW_KEY")),"\n"),i.xp6(4),i.Q6J("ngForOf",t.userKeys),i.xp6(2),i.Oqu(i.lcZ(16,20,i.lcZ(17,22,"SSH_KEYS.ADMIN_SSH_KEYS_TITLE"))),i.xp6(4),i.Oqu(i.lcZ(20,24,i.lcZ(21,26,"SSH_KEYS.ADMIN_SSH_KEYS_DESCRIPTION"))),i.xp6(4),i.hij(" ",i.lcZ(24,28,i.lcZ(25,30,"SSH_KEYS.NEW_KEY")),"\n"),i.xp6(4),i.Q6J("ngForOf",t.adminKeys))},directives:[Yt,Jv,b.sg,Hy,Ns,qv,fs,xn],pipes:[dt,Ci],styles:[".truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}.center-content[_ngcontent-%COMP%]{margin-bottom:auto;margin-top:auto}label[_ngcontent-%COMP%]:hover, .cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})(),$H=(()=>{class n{transform(e){return"virt"===e.namespace.split(":")[4]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"isVirtualAttribute",type:n,pure:!0}),n})();function XH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",17),i.TgZ(1,"mat-checkbox",18),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())("aria-label",e.checkboxLabel())}}function QH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"mat-checkbox",20),i.NdJ("click",function(s){return s.stopPropagation()})("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null}),i.ALo(2,"multiWordDataCy"),i.ALo(3,"isVirtualAttribute"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q2q("data-cy","",i.lcZ(2,4,e.displayName),"-checkbox"),i.Q6J("checked",t.selection.isSelected(e))("disabled",i.lcZ(3,6,e)||!e.writable)("aria-label",t.checkboxLabel(e))}}function JH(n,o){1&n&&(i.TgZ(0,"th",21),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")," "))}function eB(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function tB(n,o){1&n&&(i.TgZ(0,"th",21),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")," "))}function iB(n,o){if(1&n&&(i.TgZ(0,"td",23),i.TgZ(1,"div",24),i._uU(2),i.qZA(),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.s9C("matTooltip",t.getAttributeFullName(e)),i.xp6(1),i.hij(" ",e.displayName," ")}}function nB(n,o){1&n&&(i.TgZ(0,"th",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")," "))}function sB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",23),i.TgZ(1,"perun-web-apps-attribute-value",26),i.NdJ("sendEventToParent2",function(){const a=i.CHM(e).$implicit;return i.oxw().onValueChange(a)}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("attribute",e)("readonly",t.readonly||!e.writable)}}function oB(n,o){1&n&&(i.TgZ(0,"th",21),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")," "))}function rB(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.description)}}function aB(n,o){1&n&&i._UZ(0,"tr",27)}function cB(n,o){if(1&n&&(i._UZ(0,"tr",28),i.ALo(1,"translate")),2&n){const e=o.$implicit,t=i.oxw();i.s9C("matTooltip",i.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),i.Q6J("matTooltipPosition","before")("matTooltipDisabled",e.writable||t.readonly)}}function lB(n,o){1&n&&(i.TgZ(0,"app-alert",29),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function uB(n,o){if(1&n&&(i.TgZ(0,"app-alert",29),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",i.lcZ(2,1,e.emptyListText),"\n")}}let dB=(()=>{class n{constructor(e,t){this.authResolver=e,this.tableCheckbox=t,this.attributes=[],this.selection=new Vn(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.readonly=!1,this.hiddenColumns=[],this.emptyListText="SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY_SETTINGS",this.pageSizeOptions=Q0}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new $c(function jD(n){return n.filter(o=>!o.namespace.includes("def:core"))}(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"displayName":return e.displayName;case"description":return e.description;case"value":return JSON.stringify(e.value);case"urn":return e.namespace+":"+e.baseFriendlyName;default:return""}}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(e=>!this.hiddenColumns.includes(e)),this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Ay(e,t,this.displayedColumns.concat("urn"),this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>yy(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}updateMapAttributes(){for(const e of this.items.toArray())"java.util.LinkedHashMap"===e.attribute.type&&e.updateMapAttribute()}onValueChange(e){this.canBeSelected(e)&&this.selection.select(e)}canBeSelected(e){return!Gd(e)&&e.writable}getAttributeFullName(e){return`${e.namespace}:${e.friendlyName}`}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ga),i.Y36(kS))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Na,7),i.Gf(La,7),i.Gf(cT,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first),i.iGM(s=i.CRH())&&(t.items=s)}},inputs:{attributes:"attributes",selection:"selection",displayedColumns:"displayedColumns",inDialog:"inDialog",filterValue:"filterValue",tableId:"tableId",readonly:"readonly",hiddenColumns:"hiddenColumns",emptyListText:"emptyListText"},features:[i.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size align-checkbox",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","displayName"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"checked","disabled","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["matTooltipClass","urn-tooltip",3,"matTooltip"],["mat-header-cell",""],[3,"attribute","readonly","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,XH,2,3,"th",4),i.YNc(5,QH,4,8,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,JH,3,3,"th",7),i.YNc(8,eB,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,tB,3,3,"th",7),i.YNc(11,iB,3,2,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,nB,3,3,"th",12),i.YNc(14,sB,2,2,"td",10),i.BQk(),i.ynx(15,13),i.YNc(16,oB,3,3,"th",7),i.YNc(17,rB,2,1,"td",10),i.BQk(),i.YNc(18,aB,1,0,"tr",14),i.YNc(19,cB,2,5,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,lB,3,3,"app-alert",16),i.YNc(21,uB,3,3,"app-alert",16)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(16),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.dataSource.data.length),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.data.length))},directives:[La,Ra,Na,Br,Hr,Fr,au,Nr,qr,Uy,fs,cT,Oa,za,Pa,Ia,b.O5,es],pipes:[tT,$H,dt],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-row[_ngcontent-%COMP%]{height:auto}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.mat-column-value[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:300px!important}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important} .urn-tooltip{max-width:800px!important}"]}),n})();function hB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function fB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function pB(n,o){if(1&n&&i._UZ(0,"perun-web-apps-attributes-list",10),2&n){const e=i.oxw(3);i.Q6J("attributes",e.attributes)("readonly",!0)("hiddenColumns",e.hiddenColumns)}}function gB(n,o){if(1&n&&(i.YNc(0,fB,1,0,"mat-spinner",3),i.YNc(1,pB,1,3,"perun-web-apps-attributes-list",9)),2&n){const e=i.oxw(2);i.Q6J("ngIf",e.innerLoading),i.xp6(1),i.Q6J("ngIf",!e.innerLoading)}}function mB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function _B(n,o){if(1&n&&i._UZ(0,"perun-web-apps-attributes-list",10),2&n){const e=i.oxw(4);i.Q6J("attributes",e.attributes)("readonly",!0)("hiddenColumns",e.hiddenColumns)}}function bB(n,o){if(1&n&&(i.YNc(0,mB,1,0,"mat-spinner",3),i.YNc(1,_B,1,3,"perun-web-apps-attributes-list",9)),2&n){const e=i.oxw(3);i.Q6J("ngIf",e.innerLoading),i.xp6(1),i.Q6J("ngIf",!e.innerLoading)}}function yB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",6),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw(2).getMemberData(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i.qZA(),i.YNc(6,bB,2,2,"ng-template",7),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(3),i.AsE(" ",i.lcZ(4,2,i.lcZ(5,4,"PRIVACY.DATA")),"",e.name," ")}}function AB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-accordion"),i.TgZ(1,"mat-expansion-panel",6),i.NdJ("opened",function(){return i.CHM(e),i.oxw().getUserData()}),i.TgZ(2,"mat-expansion-panel-header"),i.TgZ(3,"mat-panel-title"),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.qZA(),i.YNc(7,gB,2,2,"ng-template",7),i.qZA(),i.YNc(8,yB,7,6,"mat-expansion-panel",8),i.qZA()}if(2&n){const e=i.oxw();i.xp6(4),i.hij(" ",i.lcZ(5,2,i.lcZ(6,4,"PRIVACY.USER_INFO"))," "),i.xp6(4),i.Q6J("ngForOf",e.filteredVos)}}let wB=(()=>{class n{constructor(e,t,s,a){this.usersManagerService=e,this.membersService=t,this.attributesManagerService=s,this.storage=a,this.vos=[],this.attributes=[],this.username="",this.hiddenColumns=["select","id"],this.filteredVos=[]}ngOnInit(){this.outerLoading=!0,this.userId=this.storage.getPerunPrincipal().userId,this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e,this.filteredVos=e,this.outerLoading=!1})}getUserData(){this.innerLoading=!0,this.usersManagerService.getRichUserWithAttributes(this.userId).subscribe(e=>{this.user=e,this.attributes=e.userAttributes,this.username=(new wy).transform(e),this.innerLoading=!1})}getMemberData(e){this.innerLoading=!0,this.membersService.getMemberByUser(e.id,this.userId).subscribe(t=>{this.membersService.getRichMemberWithAttributes(t.id).subscribe(s=>{this.attributes=s.memberAttributes,this.innerLoading=!1})})}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(Be),i.Y36(si),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-privacy-page"]],decls:10,vars:12,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"opened"],["matExpansionPanelContent",""],[3,"opened",4,"ngFor","ngForOf"],[3,"attributes","readonly","hiddenColumns",4,"ngIf"],[3,"attributes","readonly","hiddenColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"perun-web-apps-immediate-filter",2),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.YNc(8,hB,1,0,"mat-spinner",3),i.YNc(9,AB,9,6,"mat-accordion",4),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,4,i.lcZ(3,6,"PRIVACY.TITLE"))),i.xp6(4),i.Q6J("placeholder",i.lcZ(6,8,i.lcZ(7,10,"SERVICES.FILTER"))),i.xp6(3),i.Q6J("ngIf",t.outerLoading),i.xp6(1),i.Q6J("ngIf",!t.outerLoading))},directives:[l1,b.O5,Jn,Vy,d1,h1,Gy,u1,dB,b.sg],pipes:[dt,Ci],styles:[""]}),n})(),MB=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-home-page"]],decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"router-outlet")},directives:[Vo],styles:[""]}),n})(),dT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ep,b.ez]]}),n})(),EB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),zB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[EB,gt],gt]}),n})(),GB=(()=>{class n{constructor(){this.changes=new De.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const KB={provide:new i.OlP("mat-datepicker-scroll-strategy"),deps:[$i],useFactory:function WB(n){return()=>n.scrollStrategies.reposition()}};let JB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[GB,KB],imports:[[b.ez,Lr,Ll,yw,Rh,gt],Cn]}),n})(),iF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,su,Lr,eT,ep,xv,U0]]}),n})(),nF=(()=>{class n extends P_{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const sF={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Ok=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Do,useClass:nF},{provide:hf,useValue:sF}],imports:[[b.ez,eT,FS,ny,DP,bP,Tf,Sh,fk,C,xv,dT,ep,Tv,Lr,U0,xo,su,kv,io,xS,qS,zB,JB,KS,Td,q0,iF,kl,oM,vS]]}),n})();function oF(n,o){1&n&&(i.TgZ(0,"app-alert"),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function rF(n,o){1&n&&(i.TgZ(0,"th",16),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))," "))}function aF(n,o){if(1&n&&(i.TgZ(0,"td",17),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.friendlyNameParameter)}}function cF(n,o){1&n&&(i.TgZ(0,"th",16),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))," "))}function lF(n,o){if(1&n&&(i.TgZ(0,"td",18),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.value)}}function uF(n,o){1&n&&i._UZ(0,"th",16)}function dF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"button",20),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().resetPassword(a.friendlyNameParameter)}),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("disabled",!t.logins.includes(e)),i.xp6(1),i.hij(" ",i.lcZ(3,2,i.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.RESET_PASSWORD"))," ")}}function hF(n,o){1&n&&i._UZ(0,"th",16)}function fF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"button",21),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().changePassword(a)}),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("disabled",!t.logins.includes(e)),i.xp6(1),i.hij(" ",i.lcZ(3,2,i.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD"))," ")}}function pF(n,o){1&n&&i._UZ(0,"tr",22)}function gF(n,o){1&n&&i._UZ(0,"tr",23)}let mF=(()=>{class n{constructor(e,t,s,a,r,c){this.attributesManagerService=e,this.store=t,this.dialog=s,this.route=a,this.router=r,this.otherApplicationService=c,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","reset","change"]}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(e=>{const t=this.nameSpaces.map(r=>{const c=r.split(":");return c[c.length-1]});this.logins=e.filter(r=>t.includes(r.friendlyNameParameter)),this.dataSource=new $c(e);const a=this.route.snapshot.queryParamMap.get("namespace");if(a){const r=this.logins.find(c=>c.friendlyNameParameter===a);r&&this.changePassword(r)}})}resetPassword(e){window.open(this.otherApplicationService.getUrlForOtherApplication("pwdReset",e),"_blank")}changePassword(e){this.router.navigate([],{queryParams:{namespace:e.friendlyNameParameter},queryParamsHandling:"merge"});const t=Ri();t.width="600px",t.data={login:e.value,namespace:e.friendlyName.split(":")[1]},this.dialog.open(Vx,t).afterClosed().subscribe(()=>{this.router.navigate([],{queryParams:{namespace:null},queryParamsHandling:"merge"})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(si),i.Y36(ti),i.Y36(Ii),i.Y36(Xn),i.Y36(ji),i.Y36(DS))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-password-reset"]],decls:23,vars:9,consts:[[1,"page-subtitle"],[4,"ngIf"],[1,"card","mt-2","table-size-fix"],[1,"card-body"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","value","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","namespace"],["mat-header-cell","",4,"matHeaderCellDef"],["class","w-25","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","w-50","mat-cell","",4,"matCellDef"],["matColumnDef","reset"],["mat-cell","",4,"matCellDef"],["matColumnDef","change"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"w-25"],["mat-cell","",1,"w-50"],["mat-cell",""],["color","accent","mat-flat-button","",3,"disabled","click"],["color","accent","mat-flat-button","",1,"action-button",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.YNc(4,oF,4,5,"app-alert",1),i.TgZ(5,"div",2),i.TgZ(6,"div",3),i.TgZ(7,"div",4),i.TgZ(8,"table",5),i.ynx(9,6),i.YNc(10,rF,4,5,"th",7),i.YNc(11,aF,2,1,"td",8),i.BQk(),i.ynx(12,9),i.YNc(13,cF,4,5,"th",7),i.YNc(14,lF,2,1,"td",10),i.BQk(),i.ynx(15,11),i.YNc(16,uF,1,0,"th",7),i.YNc(17,dF,5,6,"td",12),i.BQk(),i.ynx(18,13),i.YNc(19,hF,1,0,"th",7),i.YNc(20,fF,5,6,"td",12),i.BQk(),i.YNc(21,pF,1,0,"tr",14),i.YNc(22,gF,1,0,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,5,i.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE")),"\n"),i.xp6(3),i.Q6J("ngIf",!t.logins.length),i.xp6(4),i.Q6J("dataSource",t.dataSource),i.xp6(13),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns))},directives:[b.O5,es,Ra,Na,Br,Hr,Fr,Nr,qr,Yt,Oa,za,Pa,Ia],pipes:[dt,Ci],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:#0000000d}"]}),n})();function OF(n,o){1&n&&(i.TgZ(0,"app-alert",11),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.INFO"))))}function PF(n,o){1&n&&(i.TgZ(0,"app-alert",12),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.IMG_TOO_LONG"))))}function zF(n,o){if(1&n&&(i.TgZ(0,"div",13),i._UZ(1,"img",14),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("src",e.newImage,i.LSH)}}function IF(n,o){1&n&&(i.TgZ(0,"app-alert",11),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.DELAY_INFO"))))}let NF=(()=>{class n{constructor(e,t,s,a){this.dialogRef=e,this.data=t,this.attributesManagerService=s,this.store=a,this.newImage=""}ngOnInit(){this.theme=this.data.theme,this.attribute=this.data.attribute,this.newImage=this.attribute.value}handleInputChange(e){const t=e.dataTransfer?e.dataTransfer.files[0]:e.target.files[0],a=new FileReader;t.type.match(/image-*/)?(a.onload=this._handleReaderLoaded.bind(this),a.readAsDataURL(t)):alert("invalid format")}_handleReaderLoaded(e){const t=e.target;this.imgTooLong=t.result.length>=5120,this.newImage=t.result}onAdd(){this.attribute.value=this.newImage,this.attributesManagerService.setUserAttribute({attribute:this.attribute,user:this.store.getPerunPrincipal().userId}).subscribe(()=>{this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}generateImg(){const c=100;function g(oe,be,ve,Le){Le.beginPath(),Le.rect(20*oe,20*be,20,20),Le.fillStyle="rgb("+ve.join(",")+")",Le.fill()}this.newImage=function $(){const oe=function h(){const oe=document.createElement("canvas");oe.width=c,oe.height=c;const be=oe.getContext("2d");return be.beginPath(),be.rect(0,0,c,c),be.fillStyle="#FFFFFF",be.fill(),oe}(),be=oe.getContext("2d"),ve=function O(){const oe=[];for(let be=0;be<3;be++){const ve=Math.floor(256*Math.random()),Le=Math.max(120,ve),et=Math.min(200,Le);oe.push(et)}return oe}();for(let Le=0;Le({disableToggleValue:!1})});let UF=0;const GF={provide:Wn,useExisting:(0,i.Gpc)(()=>zk),multi:!0};class VF{constructor(o,e){this.source=o,this.checked=e}}const WF=Ic(va(to(ir(class{constructor(n){this._elementRef=n}}))));let zk=(()=>{class n extends WF{constructor(e,t,s,a,r,c){super(e),this._focusMonitor=t,this._changeDetectorRef=s,this.defaults=r,this._onChange=d=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++UF,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new i.vpe,this.toggleChange=new i.vpe,this.tabIndex=parseInt(a)||0,this.color=this.defaultColor=r.color||"accent",this._noopAnimations="NoopAnimations"===c}get required(){return this._required}set required(e){this._required=je(e)}get checked(){return this._checked}set checked(e){this._checked=je(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(e){e.stopPropagation()}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}focus(e,t){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new VF(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(So),i.Y36(i.sBO),i.$8M("tabindex"),i.Y36(YF),i.Y36(Bn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-slide-toggle"]],viewQuery:function(e,t){if(1&e&&(i.Gf(HF,5),i.Gf(BF,5),i.Gf(FF,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._thumbEl=s.first),i.iGM(s=i.CRH())&&(t._thumbBarEl=s.first),i.iGM(s=i.CRH())&&(t._inputElement=s.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),i.ekj("mat-checked",t.checked)("mat-disabled",t.disabled)("mat-slide-toggle-label-before","before"==t.labelPosition)("_mat-animation-noopable",t._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[i._Bn([GF]),i.qOj],ngContentSelectors:jF,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,t){if(1&e&&(i.F$t(),i.TgZ(0,"label",0,1),i.TgZ(2,"span",2,3),i.TgZ(4,"input",4,5),i.NdJ("change",function(a){return t._onChangeEvent(a)})("click",function(a){return t._onInputClick(a)}),i.qZA(),i.TgZ(6,"span",6,7),i._UZ(8,"span",8),i.TgZ(9,"span",9),i._UZ(10,"span",10),i.qZA(),i.qZA(),i.qZA(),i.TgZ(11,"span",11,12),i.NdJ("cdkObserveContent",function(){return t._onLabelTextChange()}),i.TgZ(13,"span",13),i._uU(14,"\xa0"),i.qZA(),i.Hsn(15),i.qZA(),i.qZA()),2&e){const s=i.MAs(1),a=i.MAs(12);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-slide-toggle-bar-no-side-margin",!a.textContent||!a.textContent.trim()),i.xp6(2),i.Q6J("id",t.inputId)("required",t.required)("tabIndex",t.tabIndex)("checked",t.checked)("disabled",t.disabled),i.uIk("name",t.name)("aria-checked",t.checked)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),i.xp6(5),i.Q6J("matRippleTrigger",s)("matRippleDisabled",t.disableRipple||t.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.VKq(18,qF,t._noopAnimations?0:150))}},directives:[Ns,ag],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),n})(),Ik=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),$F=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Ik,io,gt,Rl],Ik,gt]}),n})();const XF=["toggle"];function QF(n,o){if(1&n&&(i.TgZ(0,"div"),i._UZ(1,"img",12),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("src",e.imageSrc,i.LSH)}}function JF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",8),i.TgZ(1,"h1",2),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"p"),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.YNc(9,QF,2,1,"div",9),i.TgZ(10,"button",10),i.NdJ("click",function(){return i.CHM(e),i.oxw().onAddImg()}),i._uU(11),i.ALo(12,"translate"),i.ALo(13,"customTranslate"),i.qZA(),i.TgZ(14,"button",11),i.NdJ("click",function(){return i.CHM(e),i.oxw().onDeleteImg()}),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,6,i.lcZ(4,8,"AUTHENTICATION.TITLE"))),i.xp6(4),i.Oqu(i.lcZ(7,10,i.lcZ(8,12,"AUTHENTICATION.ANTI_PHISHING_INFO"))),i.xp6(3),i.Q6J("ngIf",e.imageSrc&&e.imageSrc.length),i.xp6(2),i.hij(" ",i.lcZ(12,14,i.lcZ(13,16,"AUTHENTICATION.NEW_IMG"))," "),i.xp6(3),i.Q6J("disabled",!e.imgAtt||!e.imgAtt.value),i.xp6(1),i.hij(" ",i.lcZ(16,18,i.lcZ(17,20,"AUTHENTICATION.DELETE_IMG"))," ")}}function e4(n,o){1&n&&i._UZ(0,"mat-spinner",13)}let t4=(()=>{class n{constructor(e,t,s,a,r,c){this.dialog=e,this.attributesManagerService=t,this.store=s,this.translate=a,this.oauthService=r,this.authService=c,this.imageSrc="",this.mfaUrl="",this.mfaAvailable=!1,this.mfaApiUrl="",this.loadingMfa=!1,this.loadingImg=!1,a.get("AUTHENTICATION.DELETE_IMG_DIALOG_TITLE").subscribe(d=>this.removeDialogTitle=d),a.get("AUTHENTICATION.DELETE_IMG_DIALOG_DESC").subscribe(d=>this.removeDialogDescription=d)}ngAfterViewInit(){this.toggle.change.subscribe(e=>{this.reAuthenticate(e.checked)})}ngOnInit(){this.loadingMfa=!0,this.loadingImg=!0,this.translate.onLangChange.subscribe(()=>{this.translate.get("AUTHENTICATION.DELETE_IMG_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e),this.translate.get("AUTHENTICATION.DELETE_IMG_DIALOG_DESC").subscribe(e=>this.removeDialogDescription=e),this.mfaUrl=this.store.get("mfa","url_"+this.translate.currentLang)}),this.mfaUrl=this.store.get("mfa","url_"+this.translate.currentLang),this.mfaApiUrl=this.store.get("mfa","api_url"),fetch(this.mfaApiUrl+"mfaAvailable",{method:"GET",headers:{Authorization:"Bearer "+this.oauthService.getIdToken()}}).then(e=>e.text()).then(e=>{this.mfaAvailable="true"===e,this.mfaAvailable?this.loadMfa():this.loadingMfa=!1}).catch(e=>{console.error(e),this.loadingMfa=!1}),this.loadImage()}loadMfa(){if(sessionStorage.getItem("mfa_route")){const t=sessionStorage.getItem("enforce_mfa");this.enableMfa("true"===t).then(s=>{s.ok&&"true"===t&&this.toggle.toggle(),this.loadingMfa=!1}).catch(s=>{console.error(s),this.loadingMfa=!1})}else{const t=this.store.get("mfa","enforce_mfa_attribute");this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,t).subscribe(s=>{s.value&&this.toggle.toggle(),this.loadingMfa=!1},s=>{console.error(s),this.loadingMfa=!1})}sessionStorage.getItem("mfa_route")&&(sessionStorage.removeItem("enforce_mfa"),sessionStorage.removeItem("mfa_route"))}onAddImg(){const e=Ri();e.width="500px",e.data={theme:"user-theme",attribute:this.imgAtt},this.dialog.open(NF,e).afterClosed().subscribe(s=>{s&&this.loadImage()})}reAuthenticate(e){sessionStorage.setItem("enforce_mfa",e.toString()),sessionStorage.setItem("mfa_route","/profile/settings/auth"),localStorage.removeItem("refresh_token"),this.oauthService.logOut(!0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.loadConfigData(),this.oauthService.loadDiscoveryDocumentAndLogin()}enableMfa(e){const t=this.oauthService.getIdToken();return fetch(`${this.mfaApiUrl}mfaEnforced`,{method:"PUT",body:`value=${e}`,headers:{Authorization:`Bearer ${t}`}})}onDeleteImg(){const e=Ri();e.width="600px",e.data={doNotShowValues:!0,attribute:this.imgAtt,userId:this.store.getPerunPrincipal().userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Ky,e).afterClosed().subscribe(s=>{s&&this.loadImage()})}loadImage(){const e=this.store.get("mfa","security_image_attribute");this.displayImageBlock=this.store.get("mfa","enable_security_image"),this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,e).subscribe(t=>{t?(this.imgAtt=t,this.imageSrc=this.imgAtt.value):this.attributesManagerService.getAttributeDefinitionByName(e).subscribe(s=>{this.imgAtt=s}),this.loadingImg=!1},t=>{console.error(t),this.loadingImg=!1})}redirectToMfa(){window.open(this.mfaUrl,"_blank")}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii),i.Y36(si),i.Y36(ti),i.Y36(Ai),i.Y36(_f.Ct),i.Y36(nr))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-authentication"]],viewQuery:function(e,t){if(1&e&&i.Gf(XF,5),2&e){let s;i.iGM(s=i.CRH())&&(t.toggle=s.first)}},decls:19,vars:23,consts:[[3,"hidden"],["class","mb-5",4,"ngIf"],[1,"page-subtitle"],["matTooltipPosition","right",3,"matTooltip","matTooltipDisabled"],["color","primary",3,"disabled"],["toggle",""],["mat-flat-button","","color","accent",1,"mt-3",3,"click"],["class","ml-auto mr-auto",4,"ngIf"],[1,"mb-5"],[4,"ngIf"],["color","accent","mat-flat-button","",1,"m-1","action-button",3,"click"],["color","warn","mat-flat-button","",1,"m-1",3,"disabled","click"],["alt","",1,"img-size",3,"src"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,JF,18,22,"div",1),i.TgZ(2,"h1",2),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i.TgZ(6,"span",3),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.TgZ(9,"mat-slide-toggle",4,5),i._uU(11),i.ALo(12,"translate"),i.ALo(13,"customTranslate"),i.qZA(),i.qZA(),i._UZ(14,"br"),i.TgZ(15,"button",6),i.NdJ("click",function(){return t.redirectToMfa()}),i._uU(16),i.ALo(17,"translate"),i.qZA(),i.qZA(),i.YNc(18,e4,1,0,"mat-spinner",7)),2&e&&(i.Q6J("hidden",t.loadingMfa||t.loadingImg),i.xp6(1),i.Q6J("ngIf",t.displayImageBlock),i.xp6(2),i.Oqu(i.lcZ(4,9,i.lcZ(5,11,"AUTHENTICATION.MFA"))),i.xp6(3),i.Q6J("matTooltip",i.lcZ(7,13,i.lcZ(8,15,"AUTHENTICATION.MFA_DISABLED")))("matTooltipDisabled",t.mfaAvailable),i.xp6(3),i.Q6J("disabled",!t.mfaAvailable),i.xp6(2),i.Oqu(i.lcZ(12,17,i.lcZ(13,19,"AUTHENTICATION.MFA_TOGGLE"))),i.xp6(5),i.hij(" ",i.lcZ(17,21,"AUTHENTICATION.MFA_INFO")," "),i.xp6(2),i.Q6J("ngIf",t.loadingMfa||t.loadingImg))},directives:[b.O5,Yt,fs,zk,Jn],pipes:[dt,Ci],styles:[".img-size[_ngcontent-%COMP%]{width:100px;height:100px}"]}),n})(),n4=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,Lr,ep,Sh,Ok,Tf,xo,su,kv,dT]]}),n})();function o4(n,o){1&n&&(i.TgZ(0,"app-alert",8),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}const r4=[{path:"",redirectTo:"profile",pathMatch:"full"},{path:"login",component:(()=>{class n{constructor(e){this.auth=e}startAuth(){this.auth.startAuthentication()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(nr))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],[1,"mb-3"],["mat-raised-button","","color","primary",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"h4",3),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.startAuth()}),i._uU(7),i.ALo(8,"translate"),i.TgZ(9,"mat-icon"),i._uU(10," login "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.hij(" ",i.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),i.xp6(3),i.hij(" ",i.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[Yt,xn],pipes:[dt],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),n})()},{path:"service-access",component:(()=>{class n{constructor(e,t,s){this.authzService=e,this.dialog=t,this.translate=s,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new ds(null,[kn.required]),this.passwordCtrl=new ds(null,[kn.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(e=>{sessionStorage.setItem("baPrincipal",JSON.stringify(e)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ki),i.Y36(Ii),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-service-access"]],decls:28,vars:23,consts:[[1,"container","login-con","vo-theme","top-padding"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],["alert_type","error",4,"ngIf"],["appearance","outline"],["matInput","","required","",3,"formControl"],["matInput","","required","",3,"formControl","type"],["mat-raised-button","",1,"black",3,"disabled","click"],["alert_type","error"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"h2"),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,o4,3,3,"app-alert",3),i.TgZ(7,"mat-form-field",4),i.TgZ(8,"mat-label"),i._uU(9),i.ALo(10,"translate"),i.qZA(),i._UZ(11,"input",5),i.TgZ(12,"mat-error"),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.qZA(),i.TgZ(15,"mat-form-field",4),i.TgZ(16,"mat-label"),i._uU(17),i.ALo(18,"translate"),i.qZA(),i._UZ(19,"input",6),i.TgZ(20,"mat-error"),i._uU(21),i.ALo(22,"translate"),i.qZA(),i.qZA(),i.TgZ(23,"button",7),i.NdJ("click",function(){return t.startAuth()}),i._uU(24),i.ALo(25,"translate"),i.TgZ(26,"mat-icon"),i._uU(27," login "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.Oqu(i.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),i.xp6(2),i.Q6J("ngIf",t.wrongUsernameOrPassword),i.xp6(3),i.Oqu(i.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),i.xp6(2),i.Q6J("formControl",t.usernameCtrl),i.xp6(2),i.hij(" ",i.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),i.xp6(4),i.Oqu(i.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),i.xp6(2),i.Q6J("formControl",t.passwordCtrl)("type","password"),i.xp6(2),i.hij(" ",i.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),i.xp6(2),i.Q6J("disabled",t.usernameCtrl.invalid||t.passwordCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[b.O5,es,un,no,qn,bn,vs,dn,so,Zl,Yt,xn],pipes:[dt],styles:[".top-padding[_ngcontent-%COMP%]{padding:120px 0}mat-form-field.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:250px}.black[_ngcontent-%COMP%]{background-color:#000;color:#fff}"]}),n})()},{path:"profile",component:MB,data:{breadcrumb:"MENU_ITEMS.PROFILE"},children:[{path:"",component:sz,data:{breadcrumb:"MENU_ITEMS.PROFILE"}},{path:"identities",component:Iz,data:{breadcrumb:"MENU_ITEMS.IDENTITIES"}},{path:"groups",component:yI,data:{breadcrumb:"MENU_ITEMS.GROUPS"}},{path:"services",component:S3,data:{breadcrumb:"MENU_ITEMS.SERVICES"}},{path:"organizations",component:N3,data:{breadcrumb:"MENU_ITEMS.VOS"}},{path:"privacy",component:wB,data:{breadcrumb:"MENU_ITEMS.PRIVACY"}},{path:"settings",component:H3,data:{breadcrumb:"MENU_ITEMS.SETTINGS"},children:[{path:"",component:sN,data:{breadcrumb:"MENU_ITEMS.SETTINGS"}},{path:"altPasswords",component:iN,data:{breadcrumb:"SETTINGS.ALTERNATIVE_PASSWORDS"}},{path:"auth",component:t4,data:{breadcrumb:"SETTINGS.AUTHENTICATION"}},{path:"dataQuotas",component:mH,data:{breadcrumb:"SETTINGS.DATA_QUOTAS"}},{path:"mailingLists",component:vH,data:{breadcrumb:"SETTINGS.MAILING_LISTS"}},{path:"prefShells",component:zH,data:{breadcrumb:"SETTINGS.PREFERRED_SHELLS"}},{path:"prefGroupNames",component:FH,data:{breadcrumb:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES"}},{path:"sambaPassword",component:UH,data:{breadcrumb:"SETTINGS.SAMBA_PASSWORD"}},{path:"sshKeys",component:ZH,data:{breadcrumb:"SETTINGS.SSH_KEYS"}},{path:"passwordReset",component:mF,data:{breadcrumb:"SETTINGS.PASSWORD_RESET"}}]}]}];let a4=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Sh.forRoot(r4,{preloadingStrategy:re,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})]]}),n})();class c4{constructor(o,e="/assets/i18n/",t=".json"){this.http=o,this.prefix=e,this.suffix=t}getTranslation(o){return this.http.get(`${this.prefix}${o}${this.suffix}`)}}let l4=(()=>{class n{constructor(e,t,s,a,r){this.http=e,this.storeService=t,this.authzSevice=s,this.titleService=a,this.utilsService=r}initializeColors(e,t){return new Promise(s=>{t.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r)}),e.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r),this.setEntityTheme(a.entity,r)}),s()})}setEntityTheme(e,t){const s=function u4(n){return[oo(tinycolor(n).lighten(52),"50"),oo(tinycolor(n).lighten(37),"100"),oo(tinycolor(n).lighten(26),"200"),oo(tinycolor(n).lighten(12),"300"),oo(tinycolor(n).lighten(6),"400"),oo(tinycolor(n),"500"),oo(tinycolor(n).darken(6),"600"),oo(tinycolor(n).darken(12),"700"),oo(tinycolor(n).darken(18),"800"),oo(tinycolor(n).darken(24),"900"),oo(tinycolor(n).lighten(50).saturate(30),"A100"),oo(tinycolor(n).lighten(30).saturate(30),"A200"),oo(tinycolor(n).lighten(10).saturate(15),"A400"),oo(tinycolor(n).lighten(5).saturate(5),"A700")]}(t);for(const a of s){const d=`--${e}-theme-primary-contrast-${a.name}`,h=a.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${a.name}`,`${a.red},${a.green},${a.blue}`),document.documentElement.style.setProperty(d,h)}}loadAppDefaultConfig(){return new Promise(e=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setDefaultConfig(t),e()})})}loadAppInstanceConfig(){return new Promise(e=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setInstanceConfig(t);const s=document.location.hostname;void 0!==t.brandings&&void 0!==t.brandings[s]&&this.storeService.setBanding(s),e()},()=>{console.log("instance config not detected"),e()})})}getNoCacheHeaders(){return new D.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(e=>{const t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(t),e()})}setApiUrl(){return new Promise(e=>{let t=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(t=t.replace("oauth","ba")),this.authzSevice.configuration.basePath=t,this.titleService.setTitle(this.storeService.get("document_title")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(s=>{this.storeService.setAppsConfig(s),e()},s=>t(s))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ti),i.LFG(Ki),i.LFG(nt),i.LFG(js))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function oo(n,o){const e=tinycolor(n),t=e.toRgb();return{name:o,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let d4=(()=>{class n{constructor(e,t,s){this.initAuthService=e,this.appConfigService=t,this.location=s,this.entityColorConfigs=[{entity:"user",configValue:"user_color",cssVariable:"--user-color"}],this.colorConfigs=[{configValue:"sidemenu_bg_color",cssVariable:"--side-bg"},{configValue:"sidemenu_hover_color",cssVariable:"--side-hover"},{configValue:"sidemenu-link-active",cssVariable:"--side-active"},{configValue:"sidemenu_active_text_color",cssVariable:"--side-text-active"}]}initialize(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>this.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?this.initAuthService.loadPrincipal().then(()=>this.appConfigService.loadAppsConfig()):this.initAuthService.handleAuthStart())}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Cv),i.LFG(l4),i.LFG(b.Ye))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Uk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Yv]]}),n})(),Oq=(()=>{class n{constructor(e,t){(0,b.PM)(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,t=[]){return{ngModule:n,providers:e.serverLoaded?[{provide:jr,useValue:Object.assign(Object.assign({},Uv),e)},{provide:Gv,useValue:t,multi:!0},{provide:sp,useValue:!0}]:[{provide:jr,useValue:Object.assign(Object.assign({},Uv),e)},{provide:Gv,useValue:t,multi:!0}]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(sp),i.LFG(i.Lbi))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Dk,_E,Uk],Dk,_E,Uk]}),n})(),Pq=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})();const zq=new i.OlP("perun-api-service"),Iq={provide:D.TP,useExisting:(0,i.Gpc)(()=>SS),multi:!0};function Nq(n){return new c4(n,"./assets/i18n/",".json")}function Hq(n){const o={basePath:n.get("api_url")};return new Qe(o)}const Bq=n=>()=>n.initialize();let Fq=(()=>{class n{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(CS),i.LFG(Ai))},n.\u0275mod=i.oAB({type:n,bootstrap:[PO]}),n.\u0275inj=i.cJS({providers:[CS,{provide:i.ip1,useFactory:Bq,multi:!0,deps:[d4]},{provide:Qe,useFactory:Hq,deps:[ti]},wy,SS,Iq,{provide:zq,useClass:s2}],imports:[[le,S_,D.JF,Tf.forRoot({loader:{provide:Ed,useFactory:Nq,deps:[D.eN]}}),a4,ep,zR,XR,Sh,Lr,Oq,vL,Ok,dT,NI,xo,q0,oM,FS,kv,su,eT,C,xv,fk,Pq,qS,xS,$z,io,U0,$F,KS,ny,n4,vS,Tv,_f.zr.forRoot()]]}),n})();(0,i.G48)(),Fs().bootstrapModule(Fq).catch(n=>console.error(n))},1302:function(q,Y,w){var b;!function(i,T){var M={};!function(i){"use strict";i.__esModule=!0,i.digestLength=32,i.blockSize=64;var T=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function M(Q,ae,ee,ce,he){for(var ze,He,Ze,bt,St,$e,Wi,wt,mt,de,ge,Ae,_e;he>=64;){for(ze=ae[0],He=ae[1],Ze=ae[2],bt=ae[3],St=ae[4],$e=ae[5],Wi=ae[6],wt=ae[7],de=0;de<16;de++)Q[de]=(255&ee[ge=ce+4*de])<<24|(255&ee[ge+1])<<16|(255&ee[ge+2])<<8|255&ee[ge+3];for(de=16;de<64;de++)Q[de]=((Ae=((mt=Q[de-2])>>>17|mt<<15)^(mt>>>19|mt<<13)^mt>>>10)+Q[de-7]|0)+((_e=((mt=Q[de-15])>>>7|mt<<25)^(mt>>>18|mt<<14)^mt>>>3)+Q[de-16]|0);for(de=0;de<64;de++)Ae=(((St>>>6|St<<26)^(St>>>11|St<<21)^(St>>>25|St<<7))+(St&$e^~St&Wi)|0)+(wt+(T[de]+Q[de]|0)|0)|0,_e=((ze>>>2|ze<<30)^(ze>>>13|ze<<19)^(ze>>>22|ze<<10))+(ze&He^ze&Ze^He&Ze)|0,wt=Wi,Wi=$e,$e=St,St=bt+Ae|0,bt=Ze,Ze=He,He=ze,ze=Ae+_e|0;ae[0]+=ze,ae[1]+=He,ae[2]+=Ze,ae[3]+=bt,ae[4]+=St,ae[5]+=$e,ae[6]+=Wi,ae[7]+=wt,ce+=64,he-=64}return ce}var v=function(){function Q(){this.digestLength=i.digestLength,this.blockSize=i.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return Q.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},Q.prototype.clean=function(){for(var ae=0;ae0){for(;this.bufferLength<64&&ee>0;)this.buffer[this.bufferLength++]=ae[ce++],ee--;64===this.bufferLength&&(M(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ee>=64&&(ce=M(this.temp,this.state,ae,ce,ee),ee%=64);ee>0;)this.buffer[this.bufferLength++]=ae[ce++],ee--;return this},Q.prototype.finish=function(ae){if(!this.finished){var ee=this.bytesHashed,ce=this.bufferLength,he=ee/536870912|0,ze=ee<<3,He=ee%64<56?64:128;this.buffer[ce]=128;for(var Ze=ce+1;Ze>>24&255,this.buffer[He-7]=he>>>16&255,this.buffer[He-6]=he>>>8&255,this.buffer[He-5]=he>>>0&255,this.buffer[He-4]=ze>>>24&255,this.buffer[He-3]=ze>>>16&255,this.buffer[He-2]=ze>>>8&255,this.buffer[He-1]=ze>>>0&255,M(this.temp,this.state,this.buffer,0,He),this.finished=!0}for(Ze=0;Ze<8;Ze++)ae[4*Ze+0]=this.state[Ze]>>>24&255,ae[4*Ze+1]=this.state[Ze]>>>16&255,ae[4*Ze+2]=this.state[Ze]>>>8&255,ae[4*Ze+3]=this.state[Ze]>>>0&255;return this},Q.prototype.digest=function(){var ae=new Uint8Array(this.digestLength);return this.finish(ae),ae},Q.prototype._saveState=function(ae){for(var ee=0;eethis.blockSize)(new v).update(ae).finish(ee).clean();else for(var ce=0;ce1&&ae.update(Q),ee&&ae.update(ee),ae.update(ce),ae.finish(Q),ce[0]++}i.HMAC=k,i.hash=L,i.default=L,i.hmac=I;var F=new Uint8Array(i.digestLength);i.hkdf=function U(Q,ae,ee,ce){void 0===ae&&(ae=F),void 0===ce&&(ce=32);for(var he=new Uint8Array([1]),ze=I(ae,Q),He=new k(ze),Ze=new Uint8Array(He.digestLength),bt=Ze.length,St=new Uint8Array(ce),$e=0;$e>>24&255,He[1]=Wi>>>16&255,He[2]=Wi>>>8&255,He[3]=Wi>>>0&255,he.reset(),he.update(ae),he.update(He),he.finish(bt);for(var wt=0;wt=U.status}function k(F){try{F.dispatchEvent(new MouseEvent("click"))}catch(X){var U=document.createEvent("MouseEvents");U.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),F.dispatchEvent(U)}}var L="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,I=L.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),B=L.saveAs||("object"!=typeof window||window!==L?function(){}:"download"in HTMLAnchorElement.prototype&&!I?function(F,U,X){var Q=L.URL||L.webkitURL,ae=document.createElement("a");ae.download=U=U||F.name||"download",ae.rel="noopener","string"==typeof F?(ae.href=F,ae.origin===location.origin?k(ae):v(ae.href)?M(F,U,X):k(ae,ae.target="_blank")):(ae.href=Q.createObjectURL(F),setTimeout(function(){Q.revokeObjectURL(ae.href)},4e4),setTimeout(function(){k(ae)},0))}:"msSaveOrOpenBlob"in navigator?function(F,U,X){if(U=U||F.name||"download","string"!=typeof F)navigator.msSaveOrOpenBlob(function T(F,U){return void 0===U?U={autoBom:!1}:"object"!=typeof U&&(console.warn("Deprecated: Expected third argument to be a object"),U={autoBom:!U}),U.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(F.type)?new Blob(["\ufeff",F],{type:F.type}):F}(F,X),U);else if(v(F))M(F,U,X);else{var Q=document.createElement("a");Q.href=F,Q.target="_blank",setTimeout(function(){k(Q)})}}:function(F,U,X,Q){if((Q=Q||open("","_blank"))&&(Q.document.title=Q.document.body.innerText="downloading..."),"string"==typeof F)return M(F,U,X);var ae="application/octet-stream"===F.type,ee=/constructor/i.test(L.HTMLElement)||L.safari,ce=/CriOS\/[\d]+/.test(navigator.userAgent);if((ce||ae&&ee||I)&&"undefined"!=typeof FileReader){var he=new FileReader;he.onloadend=function(){var Ze=he.result;Ze=ce?Ze:Ze.replace(/^data:[^;]*;/,"data:attachment/file;"),Q?Q.location.href=Ze:location=Ze,Q=null},he.readAsDataURL(F)}else{var ze=L.URL||L.webkitURL,He=ze.createObjectURL(F);Q?Q.location=He:location.href=He,Q=null,setTimeout(function(){ze.revokeObjectURL(He)},4e4)}});L.saveAs=B.saveAs=B,q.exports=B}.apply(Y,[]))&&(q.exports=i)},1158:(q,Y,w)=>{(q.exports=w(7867)).tz.load(w(1128))},7867:function(q,Y,w){var b,i,T;!function(M,v){"use strict";q.exports?q.exports=v(w(5439)):(i=[w(5439)],void 0!==(T="function"==typeof(b=v)?b.apply(Y,i):b)&&(q.exports=T))}(0,function(M){"use strict";void 0===M.version&&M.default&&(M=M.default);var U,k={},L={},I={},B={},F={};(!M||"string"!=typeof M.version)&&ui("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var X=M.version.split("."),Q=+X[0],ae=+X[1];function ee(le){return le>96?le-87:le>64?le-29:le-48}function ce(le){var xe=0,pe=le.split("."),Ue=pe[0],Ge=pe[1]||"",nt=1,we=0,te=1;for(45===le.charCodeAt(0)&&(xe=1,te=-1);xe= 2.6.0. You are using Moment.js "+M.version+". See momentjs.com"),bt.prototype={_set:function(le){this.name=le.name,this.abbrs=le.abbrs,this.untils=le.untils,this.offsets=le.offsets,this.population=le.population},_index:function(le){var Ue,xe=+le,pe=this.untils;for(Ue=0;Uewe&&Wt.moveInvalidForward&&(nt=we),xe3){var xe=B[fe(le)];if(xe)return xe;ui("Moment Timezone found "+le+" from the Intl api, but did not have that data loaded.")}}catch(se){}var Jt,we,te,pe=function mt(){var Ue,Ge,nt,le=(new Date).getFullYear()-2,xe=new $e(new Date(le,0,1)),pe=[xe];for(nt=1;nt<48;nt++)(Ge=new $e(new Date(le,nt,1))).offset!==xe.offset&&(Ue=wt(xe,Ge),pe.push(Ue),pe.push(new $e(new Date(Ue.at+6e4)))),xe=Ge;for(nt=0;nt<4;nt++)pe.push(new $e(new Date(le+nt,0,1))),pe.push(new $e(new Date(le+nt,6,1)));return pe}(),Ue=pe.length,Ge=function Ae(le){var Ge,nt,Jt,xe=le.length,pe={},Ue=[];for(Ge=0;Ge0?nt[0].zone.name:void 0}()),U},Wt.names=function wi(){var le,xe=[];for(le in B)B.hasOwnProperty(le)&&(k[le]||k[L[le]])&&B[le]&&xe.push(B[le]);return xe.sort()},Wt.Zone=bt,Wt.unpack=Ze,Wt.unpackBase60=ce,Wt.needsOffset=pn,Wt.moveInvalidForward=!0,Wt.moveAmbiguousForward=!1,Wt.countries=function ot(){return Object.keys(I)},Wt.zonesForCountry=function Xe(le,xe){if(!(le=function gi(le){return le=le.toUpperCase(),I[le]||null}(le)))return null;var pe=le.zones.sort();return xe?pe.map(function(Ue){return{name:Ue,offset:vt(Ue).utcOffset(new Date)}}):pe};var gn=M.fn;function ro(le){return function(){return this._z?this._z.abbr(this):le.call(this)}}function ao(le){return function(){return this._z=null,le.apply(this,arguments)}}M.tz=Wt,M.defaultZone=null,M.updateOffset=function(le,xe){var Ue,pe=M.defaultZone;if(void 0===le._z&&(pe&&pn(le)&&!le._isUTC&&(le._d=M.utc(le._a)._d,le.utc().add(pe.parse(le),"minutes")),le._z=pe),le._z)if(Ue=le._z.utcOffset(le),Math.abs(Ue)<16&&(Ue/=60),void 0!==le.utcOffset){var Ge=le._z;le.utcOffset(-Ue,xe),le._z=Ge}else le.zone(Ue,xe)},gn.tz=function(le,xe){if(le){if("string"!=typeof le)throw new Error("Time zone name must be a string, got "+le+" ["+typeof le+"]");return this._z=vt(le),this._z?M.updateOffset(this,xe):ui("Moment Timezone has no data for "+le+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},gn.zoneName=ro(gn.zoneName),gn.zoneAbbr=ro(gn.zoneAbbr),gn.utc=ao(gn.utc),gn.local=ao(gn.local),gn.utcOffset=function Fs(le){return function(){return arguments.length>0&&(this._z=null),le.apply(this,arguments)}}(gn.utcOffset),M.tz.setDefault=function(le){return(Q<2||2===Q&&ae<9)&&ui("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+M.version+"."),M.defaultZone=le?vt(le):null,M};var Yn=M.momentProperties;return"[object Array]"===Object.prototype.toString.call(Yn)?(Yn.push("_z"),Yn.push("_a")):Yn&&(Yn._z=null),M})},7088:function(q,Y,w){!function(b){"use strict";b.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(T){return/^nm$/i.test(T)},meridiem:function(T,M,v){return T<12?v?"vm":"VM":v?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(T){return T+(1===T||8===T||T>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},2502:function(q,Y,w){!function(b){"use strict";var i=function(L){return 0===L?0:1===L?1:2===L?2:L%100>=3&&L%100<=10?3:L%100>=11?4:5},T={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},M=function(L){return function(I,B,F,U){var X=i(I),Q=T[L][i(I)];return 2===X&&(Q=Q[B?0:1]),Q.replace(/%d/i,I)}},v=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];b.defineLocale("ar-dz",{months:v,monthsShort:v,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(L){return"\u0645"===L},meridiem:function(L,I,B){return L<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:M("s"),ss:M("s"),m:M("m"),mm:M("m"),h:M("h"),hh:M("h"),d:M("d"),dd:M("d"),M:M("M"),MM:M("M"),y:M("y"),yy:M("y")},postformat:function(L){return L.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(w(5439))},128:function(q,Y,w){!function(b){"use strict";b.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(w(5439))},4519:function(q,Y,w){!function(b){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},T=function(I){return 0===I?0:1===I?1:2===I?2:I%100>=3&&I%100<=10?3:I%100>=11?4:5},M={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},v=function(I){return function(B,F,U,X){var Q=T(B),ae=M[I][T(B)];return 2===Q&&(ae=ae[F?0:1]),ae.replace(/%d/i,B)}},k=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];b.defineLocale("ar-ly",{months:k,monthsShort:k,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(I){return"\u0645"===I},meridiem:function(I,B,F){return I<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:v("s"),ss:v("s"),m:v("m"),mm:v("m"),h:v("h"),hh:v("h"),d:v("d"),dd:v("d"),M:v("M"),MM:v("M"),y:v("y"),yy:v("y")},preparse:function(I){return I.replace(/\u060c/g,",")},postformat:function(I){return I.replace(/\d/g,function(B){return i[B]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},5443:function(q,Y,w){!function(b){"use strict";b.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(w(5439))},7642:function(q,Y,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};b.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(v){return"\u0645"===v},meridiem:function(v,k,L){return v<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(v){return v.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(k){return T[k]}).replace(/\u060c/g,",")},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(w(5439))},8592:function(q,Y,w){!function(b){"use strict";b.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(w(5439))},7038:function(q,Y,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},M=function(B){return 0===B?0:1===B?1:2===B?2:B%100>=3&&B%100<=10?3:B%100>=11?4:5},v={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},k=function(B){return function(F,U,X,Q){var ae=M(F),ee=v[B][M(F)];return 2===ae&&(ee=ee[U?0:1]),ee.replace(/%d/i,F)}},L=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];b.defineLocale("ar",{months:L,monthsShort:L,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(B){return"\u0645"===B},meridiem:function(B,F,U){return B<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:k("s"),ss:k("s"),m:k("m"),mm:k("m"),h:k("h"),hh:k("h"),d:k("d"),dd:k("d"),M:k("M"),MM:k("M"),y:k("y"),yy:k("y")},preparse:function(B){return B.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(F){return T[F]}).replace(/\u060c/g,",")},postformat:function(B){return B.replace(/\d/g,function(F){return i[F]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},1213:function(q,Y,w){!function(b){"use strict";var i={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};b.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(M){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(M)},meridiem:function(M,v,k){return M<4?"gec\u0259":M<12?"s\u0259h\u0259r":M<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(M){if(0===M)return M+"-\u0131nc\u0131";var v=M%10;return M+(i[v]||i[M%100-v]||i[M>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9191:function(q,Y,w){!function(b){"use strict";function T(v,k,L){return"m"===L?k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===L?k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":v+" "+function i(v,k){var L=v.split("_");return k%10==1&&k%100!=11?L[0]:k%10>=2&&k%10<=4&&(k%100<10||k%100>=20)?L[1]:L[2]}({ss:k?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[L],+v)}b.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:T,mm:T,h:T,hh:T,d:"\u0434\u0437\u0435\u043d\u044c",dd:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(v){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(v)},meridiem:function(v,k,L){return v<4?"\u043d\u043e\u0447\u044b":v<12?"\u0440\u0430\u043d\u0456\u0446\u044b":v<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(v,k){switch(k){case"M":case"d":case"DDD":case"w":case"W":return v%10!=2&&v%10!=3||v%100==12||v%100==13?v+"-\u044b":v+"-\u0456";case"D":return v+"-\u0433\u0430";default:return v}},week:{dow:1,doy:7}})}(w(5439))},322:function(q,Y,w){!function(b){"use strict";b.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(T){var M=T%10,v=T%100;return 0===T?T+"-\u0435\u0432":0===v?T+"-\u0435\u043d":v>10&&v<20?T+"-\u0442\u0438":1===M?T+"-\u0432\u0438":2===M?T+"-\u0440\u0438":7===M||8===M?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},8042:function(q,Y,w){!function(b){"use strict";b.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(w(5439))},5903:function(q,Y,w){!function(b){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};b.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(v){return v.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u09b0\u09be\u09a4"===k?v<4?v:v+12:"\u09ad\u09cb\u09b0"===k||"\u09b8\u0995\u09be\u09b2"===k?v:"\u09a6\u09c1\u09aa\u09c1\u09b0"===k?v>=3?v:v+12:"\u09ac\u09bf\u0995\u09be\u09b2"===k||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===k?v+12:void 0},meridiem:function(v,k,L){return v<4?"\u09b0\u09be\u09a4":v<6?"\u09ad\u09cb\u09b0":v<12?"\u09b8\u0995\u09be\u09b2":v<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":v<18?"\u09ac\u09bf\u0995\u09be\u09b2":v<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9620:function(q,Y,w){!function(b){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};b.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(v){return v.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u09b0\u09be\u09a4"===k&&v>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===k&&v<5||"\u09ac\u09bf\u0995\u09be\u09b2"===k?v+12:v},meridiem:function(v,k,L){return v<4?"\u09b0\u09be\u09a4":v<10?"\u09b8\u0995\u09be\u09b2":v<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":v<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9645:function(q,Y,w){!function(b){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},T={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};b.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(v){return v.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===k&&v>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===k&&v<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===k?v+12:v},meridiem:function(v,k,L){return v<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":v<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":v<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":v<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(w(5439))},5020:function(q,Y,w){!function(b){"use strict";function i(ee,ce,he){return ee+" "+function v(ee,ce){return 2===ce?function k(ee){var ce={m:"v",b:"v",d:"z"};return void 0===ce[ee.charAt(0)]?ee:ce[ee.charAt(0)]+ee.substring(1)}(ee):ee}({mm:"munutenn",MM:"miz",dd:"devezh"}[he],ee)}function M(ee){return ee>9?M(ee%10):ee}var L=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],I=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,Q=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];b.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:Q,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:Q,monthsRegex:I,monthsShortRegex:I,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:L,longMonthsParse:L,shortMonthsParse:L,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:i,h:"un eur",hh:"%d eur",d:"un devezh",dd:i,M:"ur miz",MM:i,y:"ur bloaz",yy:function T(ee){switch(M(ee)){case 1:case 3:case 4:case 5:case 9:return ee+" bloaz";default:return ee+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(ee){return ee+(1===ee?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(ee){return"g.m."===ee},meridiem:function(ee,ce,he){return ee<12?"a.m.":"g.m."}})}(w(5439))},4792:function(q,Y,w){!function(b){"use strict";function i(M,v,k){var L=M+" ";switch(k){case"ss":return L+(1===M?"sekunda":2===M||3===M||4===M?"sekunde":"sekundi");case"m":return v?"jedna minuta":"jedne minute";case"mm":return L+(1===M?"minuta":2===M||3===M||4===M?"minute":"minuta");case"h":return v?"jedan sat":"jednog sata";case"hh":return L+(1===M?"sat":2===M||3===M||4===M?"sata":"sati");case"dd":return L+(1===M?"dan":"dana");case"MM":return L+(1===M?"mjesec":2===M||3===M||4===M?"mjeseca":"mjeseci");case"yy":return L+(1===M?"godina":2===M||3===M||4===M?"godine":"godina")}}b.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7980:function(q,Y,w){!function(b){"use strict";b.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(T,M){var v=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===M||"W"===M)&&(v="a"),T+v},week:{dow:1,doy:4}})}(w(5439))},7322:function(q,Y,w){!function(b){"use strict";var i="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),T="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),M=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],v=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function k(B){return B>1&&B<5&&1!=~~(B/10)}function L(B,F,U,X){var Q=B+" ";switch(U){case"s":return F||X?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return F||X?Q+(k(B)?"sekundy":"sekund"):Q+"sekundami";case"m":return F?"minuta":X?"minutu":"minutou";case"mm":return F||X?Q+(k(B)?"minuty":"minut"):Q+"minutami";case"h":return F?"hodina":X?"hodinu":"hodinou";case"hh":return F||X?Q+(k(B)?"hodiny":"hodin"):Q+"hodinami";case"d":return F||X?"den":"dnem";case"dd":return F||X?Q+(k(B)?"dny":"dn\xed"):Q+"dny";case"M":return F||X?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return F||X?Q+(k(B)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):Q+"m\u011bs\xedci";case"y":return F||X?"rok":"rokem";case"yy":return F||X?Q+(k(B)?"roky":"let"):Q+"lety"}}b.defineLocale("cs",{months:i,monthsShort:T,monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:M,longMonthsParse:M,shortMonthsParse:M,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:L,ss:L,m:L,mm:L,h:L,hh:L,d:L,dd:L,M:L,MM:L,y:L,yy:L},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},365:function(q,Y,w){!function(b){"use strict";b.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(T){return T+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(T)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(T)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(w(5439))},2092:function(q,Y,w){!function(b){"use strict";b.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(T){var v="";return T>20?v=40===T||50===T||60===T||80===T||100===T?"fed":"ain":T>0&&(v=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][T]),T+v},week:{dow:1,doy:4}})}(w(5439))},7387:function(q,Y,w){!function(b){"use strict";b.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9459:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[M+" Tage",M+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[M+" Monate",M+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[M+" Jahre",M+" Jahren"]};return v?I[k][0]:I[k][1]}b.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3694:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[M+" Tage",M+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[M+" Monate",M+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[M+" Jahre",M+" Jahren"]};return v?I[k][0]:I[k][1]}b.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},4307:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[M+" Tage",M+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[M+" Monate",M+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[M+" Jahre",M+" Jahren"]};return v?I[k][0]:I[k][1]}b.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9659:function(q,Y,w){!function(b){"use strict";var i=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],T=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];b.defineLocale("dv",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(v){return"\u0789\u078a"===v},meridiem:function(v,k,L){return v<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(w(5439))},3460:function(q,Y,w){!function(b){"use strict";b.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(M,v){return M?"string"==typeof v&&/D/.test(v.substring(0,v.indexOf("MMMM")))?this._monthsGenitiveEl[M.month()]:this._monthsNominativeEl[M.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(M,v,k){return M>11?k?"\u03bc\u03bc":"\u039c\u039c":k?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(M){return"\u03bc"===(M+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(M,v){var k=this._calendarEl[M],L=v&&v.hours();return function i(M){return"undefined"!=typeof Function&&M instanceof Function||"[object Function]"===Object.prototype.toString.call(M)}(k)&&(k=k.apply(v)),k.replace("{}",L%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(w(5439))},4369:function(q,Y,w){!function(b){"use strict";b.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:0,doy:4}})}(w(5439))},530:function(q,Y,w){!function(b){"use strict";b.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")}})}(w(5439))},9998:function(q,Y,w){!function(b){"use strict";b.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3391:function(q,Y,w){!function(b){"use strict";b.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},5414:function(q,Y,w){!function(b){"use strict";b.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")}})}(w(5439))},9615:function(q,Y,w){!function(b){"use strict";b.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:0,doy:6}})}(w(5439))},1248:function(q,Y,w){!function(b){"use strict";b.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3767:function(q,Y,w){!function(b){"use strict";b.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},4530:function(q,Y,w){!function(b){"use strict";b.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(T){return"p"===T.charAt(0).toLowerCase()},meridiem:function(T,M,v){return T>11?v?"p.t.m.":"P.T.M.":v?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(w(5439))},8944:function(q,Y,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;b.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:M,longMonthsParse:M,shortMonthsParse:M,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},9116:function(q,Y,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;b.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:M,longMonthsParse:M,shortMonthsParse:M,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(w(5439))},3609:function(q,Y,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;b.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:M,longMonthsParse:M,shortMonthsParse:M,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(w(5439))},6866:function(q,Y,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;b.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:M,longMonthsParse:M,shortMonthsParse:M,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(w(5439))},6725:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[M+"sekundi",M+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[M+" minuti",M+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[M+" tunni",M+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[M+" kuu",M+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[M+" aasta",M+" aastat"]};return v?I[k][2]?I[k][2]:I[k][1]:L?I[k][0]:I[k][1]}b.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:"%d p\xe4eva",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},7931:function(q,Y,w){!function(b){"use strict";b.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6417:function(q,Y,w){!function(b){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},T={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};b.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(v){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(v)},meridiem:function(v,k,L){return v<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(v){return v.replace(/[\u06f0-\u06f9]/g,function(k){return T[k]}).replace(/\u060c/g,",")},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(w(5439))},944:function(q,Y,w){!function(b){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),T=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function M(L,I,B,F){var U="";switch(B){case"s":return F?"muutaman sekunnin":"muutama sekunti";case"ss":U=F?"sekunnin":"sekuntia";break;case"m":return F?"minuutin":"minuutti";case"mm":U=F?"minuutin":"minuuttia";break;case"h":return F?"tunnin":"tunti";case"hh":U=F?"tunnin":"tuntia";break;case"d":return F?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":U=F?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return F?"kuukauden":"kuukausi";case"MM":U=F?"kuukauden":"kuukautta";break;case"y":return F?"vuoden":"vuosi";case"yy":U=F?"vuoden":"vuotta"}return function v(L,I){return L<10?I?T[L]:i[L]:L}(L,F)+" "+U}b.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1766:function(q,Y,w){!function(b){"use strict";b.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(T){return T},week:{dow:1,doy:4}})}(w(5439))},5867:function(q,Y,w){!function(b){"use strict";b.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},6848:function(q,Y,w){!function(b){"use strict";b.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(T,M){switch(M){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}}})}(w(5439))},7773:function(q,Y,w){!function(b){"use strict";b.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(T,M){switch(M){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},1636:function(q,Y,w){!function(b){"use strict";var M=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,v=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];b.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(L,I){switch(I){case"D":return L+(1===L?"er":"");default:case"M":case"Q":case"DDD":case"d":return L+(1===L?"er":"e");case"w":case"W":return L+(1===L?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},4940:function(q,Y,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),T="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");b.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(v,k){return v?/-MMM-/.test(k)?T[v.month()]:i[v.month()]:i},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(v){return v+(1===v||8===v||v>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1402:function(q,Y,w){!function(b){"use strict";b.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(I){return I+(1===I?"d":I%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6924:function(q,Y,w){!function(b){"use strict";b.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(I){return I+(1===I?"d":I%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6398:function(q,Y,w){!function(b){"use strict";b.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(T){return 0===T.indexOf("un")?"n"+T:"en "+T},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},2457:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[M+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",M+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[M+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",M+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[M+" \u0935\u0930\u093e\u0902\u0928\u0940",M+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[M+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",M+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[M+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",M+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[M+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",M+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return L?I[k][0]:I[k][1]}b.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(M,v){return"D"===v?M+"\u0935\u0947\u0930":M},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(M,v){return 12===M&&(M=0),"\u0930\u093e\u0924\u0940"===v?M<4?M:M+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===v?M:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===v?M>12?M:M+12:"\u0938\u093e\u0902\u091c\u0947"===v?M+12:void 0},meridiem:function(M,v,k){return M<4?"\u0930\u093e\u0924\u0940":M<12?"\u0938\u0915\u093e\u0933\u0940\u0902":M<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":M<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(w(5439))},2545:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={s:["thoddea sekondamni","thodde sekond"],ss:[M+" sekondamni",M+" sekond"],m:["eka mintan","ek minut"],mm:[M+" mintamni",M+" mintam"],h:["eka voran","ek vor"],hh:[M+" voramni",M+" voram"],d:["eka disan","ek dis"],dd:[M+" disamni",M+" dis"],M:["eka mhoinean","ek mhoino"],MM:[M+" mhoineamni",M+" mhoine"],y:["eka vorsan","ek voros"],yy:[M+" vorsamni",M+" vorsam"]};return L?I[k][0]:I[k][1]}b.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(M,v){return"D"===v?M+"er":M},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(M,v){return 12===M&&(M=0),"rati"===v?M<4?M:M+12:"sokallim"===v?M:"donparam"===v?M>12?M:M+12:"sanje"===v?M+12:void 0},meridiem:function(M,v,k){return M<4?"rati":M<12?"sokallim":M<16?"donparam":M<20?"sanje":"rati"}})}(w(5439))},2641:function(q,Y,w){!function(b){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},T={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};b.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(v){return v.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u0ab0\u0abe\u0aa4"===k?v<4?v:v+12:"\u0ab8\u0ab5\u0abe\u0ab0"===k?v:"\u0aac\u0aaa\u0acb\u0ab0"===k?v>=10?v:v+12:"\u0ab8\u0abe\u0a82\u0a9c"===k?v+12:void 0},meridiem:function(v,k,L){return v<4?"\u0ab0\u0abe\u0aa4":v<10?"\u0ab8\u0ab5\u0abe\u0ab0":v<17?"\u0aac\u0aaa\u0acb\u0ab0":v<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(w(5439))},7536:function(q,Y,w){!function(b){"use strict";b.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(T){return 2===T?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":T+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(T){return 2===T?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":T+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(T){return 2===T?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":T+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(T){return 2===T?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":T%10==0&&10!==T?T+" \u05e9\u05e0\u05d4":T+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(T){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(T)},meridiem:function(T,M,v){return T<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":T<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":T<12?v?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":T<18?v?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(w(5439))},6335:function(q,Y,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},M=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];b.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:M,longMonthsParse:M,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(L){return L.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(I){return T[I]})},postformat:function(L){return L.replace(/\d/g,function(I){return i[I]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(L,I){return 12===L&&(L=0),"\u0930\u093e\u0924"===I?L<4?L:L+12:"\u0938\u0941\u092c\u0939"===I?L:"\u0926\u094b\u092a\u0939\u0930"===I?L>=10?L:L+12:"\u0936\u093e\u092e"===I?L+12:void 0},meridiem:function(L,I,B){return L<4?"\u0930\u093e\u0924":L<10?"\u0938\u0941\u092c\u0939":L<17?"\u0926\u094b\u092a\u0939\u0930":L<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(w(5439))},7458:function(q,Y,w){!function(b){"use strict";function i(M,v,k){var L=M+" ";switch(k){case"ss":return L+(1===M?"sekunda":2===M||3===M||4===M?"sekunde":"sekundi");case"m":return v?"jedna minuta":"jedne minute";case"mm":return L+(1===M?"minuta":2===M||3===M||4===M?"minute":"minuta");case"h":return v?"jedan sat":"jednog sata";case"hh":return L+(1===M?"sat":2===M||3===M||4===M?"sata":"sati");case"dd":return L+(1===M?"dan":"dana");case"MM":return L+(1===M?"mjesec":2===M||3===M||4===M?"mjeseca":"mjeseci");case"yy":return L+(1===M?"godina":2===M||3===M||4===M?"godine":"godina")}}b.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6540:function(q,Y,w){!function(b){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function T(k,L,I,B){var F=k;switch(I){case"s":return B||L?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return F+(B||L)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(B||L?" perc":" perce");case"mm":return F+(B||L?" perc":" perce");case"h":return"egy"+(B||L?" \xf3ra":" \xf3r\xe1ja");case"hh":return F+(B||L?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(B||L?" nap":" napja");case"dd":return F+(B||L?" nap":" napja");case"M":return"egy"+(B||L?" h\xf3nap":" h\xf3napja");case"MM":return F+(B||L?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(B||L?" \xe9v":" \xe9ve");case"yy":return F+(B||L?" \xe9v":" \xe9ve")}return""}function M(k){return(k?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}b.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(k){return"u"===k.charAt(1).toLowerCase()},meridiem:function(k,L,I){return k<12?!0===I?"de":"DE":!0===I?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return M.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return M.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3165:function(q,Y,w){!function(b){"use strict";b.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(T){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(T)},meridiem:function(T){return T<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":T<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":T<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(T,M){switch(M){case"DDD":case"w":case"W":case"DDDo":return 1===T?T+"-\u056b\u0576":T+"-\u0580\u0564";default:return T}},week:{dow:1,doy:7}})}(w(5439))},8780:function(q,Y,w){!function(b){"use strict";b.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(T,M){return 12===T&&(T=0),"pagi"===M?T:"siang"===M?T>=11?T:T+12:"sore"===M||"malam"===M?T+12:void 0},meridiem:function(T,M,v){return T<11?"pagi":T<15?"siang":T<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(w(5439))},4205:function(q,Y,w){!function(b){"use strict";function i(v){return v%100==11||v%10!=1}function T(v,k,L,I){var B=v+" ";switch(L){case"s":return k||I?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(v)?B+(k||I?"sek\xfandur":"sek\xfandum"):B+"sek\xfanda";case"m":return k?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(v)?B+(k||I?"m\xedn\xfatur":"m\xedn\xfatum"):k?B+"m\xedn\xfata":B+"m\xedn\xfatu";case"hh":return i(v)?B+(k||I?"klukkustundir":"klukkustundum"):B+"klukkustund";case"d":return k?"dagur":I?"dag":"degi";case"dd":return i(v)?k?B+"dagar":B+(I?"daga":"d\xf6gum"):k?B+"dagur":B+(I?"dag":"degi");case"M":return k?"m\xe1nu\xf0ur":I?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(v)?k?B+"m\xe1nu\xf0ir":B+(I?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):k?B+"m\xe1nu\xf0ur":B+(I?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return k||I?"\xe1r":"\xe1ri";case"yy":return i(v)?B+(k||I?"\xe1r":"\xe1rum"):B+(k||I?"\xe1r":"\xe1ri")}}b.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:T,ss:T,m:T,mm:T,h:"klukkustund",hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9985:function(q,Y,w){!function(b){"use strict";b.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(T){return(/^[0-9].+$/.test(T)?"tra":"in")+" "+T},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},4211:function(q,Y,w){!function(b){"use strict";b.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},1003:function(q,Y,w){!function(b){"use strict";b.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(T,M){return"\u5143"===M[1]?1:parseInt(M[1]||T,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(T){return"\u5348\u5f8c"===T},meridiem:function(T,M,v){return T<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(T){return T.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(T){return this.week()!==T.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(T,M){switch(M){case"y":return 1===T?"\u5143\u5e74":T+"\u5e74";case"d":case"D":case"DDD":return T+"\u65e5";default:return T}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(w(5439))},420:function(q,Y,w){!function(b){"use strict";b.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(T,M){return 12===T&&(T=0),"enjing"===M?T:"siyang"===M?T>=11?T:T+12:"sonten"===M||"ndalu"===M?T+12:void 0},meridiem:function(T,M,v){return T<11?"enjing":T<15?"siyang":T<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(w(5439))},851:function(q,Y,w){!function(b){"use strict";b.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(T){return T.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(M,v,k){return"\u10d8"===k?v+"\u10e8\u10d8":v+k+"\u10e8\u10d8"})},past:function(T){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(T)?T.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(T)?T.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):T},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(T){return 0===T?T:1===T?T+"-\u10da\u10d8":T<20||T<=100&&T%20==0||T%100==0?"\u10db\u10d4-"+T:T+"-\u10d4"},week:{dow:1,doy:7}})}(w(5439))},6074:function(q,Y,w){!function(b){"use strict";var i={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};b.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(M){return M+(i[M]||i[M%10]||i[M>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},3343:function(q,Y,w){!function(b){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},T={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};b.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(v){return"\u179b\u17d2\u1784\u17b6\u1785"===v},meridiem:function(v,k,L){return v<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(v){return v.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},week:{dow:1,doy:4}})}(w(5439))},4799:function(q,Y,w){!function(b){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},T={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};b.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(v){return v.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===k?v<4?v:v+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===k?v:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===k?v>=10?v:v+12:"\u0cb8\u0c82\u0c9c\u0cc6"===k?v+12:void 0},meridiem:function(v,k,L){return v<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":v<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":v<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":v<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(v){return v+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(w(5439))},3549:function(q,Y,w){!function(b){"use strict";b.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(T,M){switch(M){case"d":case"D":case"DDD":return T+"\uc77c";case"M":return T+"\uc6d4";case"w":case"W":return T+"\uc8fc";default:return T}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(T){return"\uc624\ud6c4"===T},meridiem:function(T,M,v){return T<12?"\uc624\uc804":"\uc624\ud6c4"}})}(w(5439))},1037:function(q,Y,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},M=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];b.defineLocale("ku",{months:M,monthsShort:M,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(k){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(k)},meridiem:function(k,L,I){return k<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(k){return k.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(L){return T[L]}).replace(/\u060c/g,",")},postformat:function(k){return k.replace(/\d/g,function(L){return i[L]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},3125:function(q,Y,w){!function(b){"use strict";var i={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};b.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(M){return M+(i[M]||i[M%10]||i[M>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9586:function(q,Y,w){!function(b){"use strict";function i(L,I,B,F){var U={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return I?U[B][0]:U[B][1]}function v(L){if(L=parseInt(L,10),isNaN(L))return!1;if(L<0)return!0;if(L<10)return 4<=L&&L<=7;if(L<100){var I=L%10;return v(0===I?L/10:I)}if(L<1e4){for(;L>=10;)L/=10;return v(L)}return v(L/=1e3)}b.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function T(L){return v(L.substr(0,L.indexOf(" ")))?"a "+L:"an "+L},past:function M(L){return v(L.substr(0,L.indexOf(" ")))?"viru "+L:"virun "+L},s:"e puer Sekonnen",ss:"%d Sekonnen",m:i,mm:"%d Minutten",h:i,hh:"%d Stonnen",d:i,dd:"%d Deeg",M:i,MM:"%d M\xe9int",y:i,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2349:function(q,Y,w){!function(b){"use strict";b.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(T){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===T},meridiem:function(T,M,v){return T<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(T){return"\u0e97\u0eb5\u0ec8"+T}})}(w(5439))},2400:function(q,Y,w){!function(b){"use strict";var i={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function M(B,F,U,X){return F?k(U)[0]:X?k(U)[1]:k(U)[2]}function v(B){return B%10==0||B>10&&B<20}function k(B){return i[B].split("_")}function L(B,F,U,X){var Q=B+" ";return 1===B?Q+M(0,F,U[0],X):F?Q+(v(B)?k(U)[1]:k(U)[0]):X?Q+k(U)[1]:Q+(v(B)?k(U)[1]:k(U)[2])}b.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function T(B,F,U,X){return F?"kelios sekund\u0117s":X?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:L,m:M,mm:L,h:M,hh:L,d:M,dd:L,M,MM:L,y:M,yy:L},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(B){return B+"-oji"},week:{dow:1,doy:4}})}(w(5439))},9991:function(q,Y,w){!function(b){"use strict";var i={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function T(I,B,F){return F?B%10==1&&B%100!=11?I[2]:I[3]:B%10==1&&B%100!=11?I[0]:I[1]}function M(I,B,F){return I+" "+T(i[F],I,B)}function v(I,B,F){return T(i[F],I,B)}b.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function k(I,B){return B?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:M,m:v,mm:M,h:v,hh:M,d:v,dd:M,M:v,MM:M,y:v,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8477:function(q,Y,w){!function(b){"use strict";var i={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(M,v){return 1===M?v[0]:M>=2&&M<=4?v[1]:v[2]},translate:function(M,v,k){var L=i.words[k];return 1===k.length?v?L[0]:L[1]:M+" "+i.correctGrammaticalCase(M,L)}};b.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mjesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},5118:function(q,Y,w){!function(b){"use strict";b.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},5943:function(q,Y,w){!function(b){"use strict";b.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(T){var M=T%10,v=T%100;return 0===T?T+"-\u0435\u0432":0===v?T+"-\u0435\u043d":v>10&&v<20?T+"-\u0442\u0438":1===M?T+"-\u0432\u0438":2===M?T+"-\u0440\u0438":7===M||8===M?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},3849:function(q,Y,w){!function(b){"use strict";b.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(T,M){return 12===T&&(T=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===M&&T>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===M||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===M?T+12:T},meridiem:function(T,M,v){return T<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":T<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":T<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":T<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(w(5439))},1977:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){switch(k){case"s":return v?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return M+(v?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return M+(v?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return M+(v?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return M+(v?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return M+(v?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return M+(v?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return M}}b.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(M){return"\u04ae\u0425"===M},meridiem:function(M,v,k){return M<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(M,v){switch(v){case"d":case"D":case"DDD":return M+" \u04e9\u0434\u04e9\u0440";default:return M}}})}(w(5439))},6184:function(q,Y,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function M(k,L,I,B){var F="";if(L)switch(I){case"s":F="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":F="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":F="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":F="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":F="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":F="%d \u0924\u093e\u0938";break;case"d":F="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":F="%d \u0926\u093f\u0935\u0938";break;case"M":F="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":F="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":F="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":F="%d \u0935\u0930\u094d\u0937\u0947"}else switch(I){case"s":F="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":F="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":F="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":F="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":F="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":F="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":F="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":F="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":F="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":F="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":F="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":F="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return F.replace(/%d/i,k)}b.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},preparse:function(k){return k.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(L){return T[L]})},postformat:function(k){return k.replace(/\d/g,function(L){return i[L]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(k,L){return 12===k&&(k=0),"\u092a\u0939\u093e\u091f\u0947"===L||"\u0938\u0915\u093e\u0933\u0940"===L?k:"\u0926\u0941\u092a\u093e\u0930\u0940"===L||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===L||"\u0930\u093e\u0924\u094d\u0930\u0940"===L?k>=12?k:k+12:void 0},meridiem:function(k,L,I){return k>=0&&k<6?"\u092a\u0939\u093e\u091f\u0947":k<12?"\u0938\u0915\u093e\u0933\u0940":k<17?"\u0926\u0941\u092a\u093e\u0930\u0940":k<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(w(5439))},4524:function(q,Y,w){!function(b){"use strict";b.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(T,M){return 12===T&&(T=0),"pagi"===M?T:"tengahari"===M?T>=11?T:T+12:"petang"===M||"malam"===M?T+12:void 0},meridiem:function(T,M,v){return T<11?"pagi":T<15?"tengahari":T<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(w(5439))},485:function(q,Y,w){!function(b){"use strict";b.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(T,M){return 12===T&&(T=0),"pagi"===M?T:"tengahari"===M?T>=11?T:T+12:"petang"===M||"malam"===M?T+12:void 0},meridiem:function(T,M,v){return T<11?"pagi":T<15?"tengahari":T<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(w(5439))},6681:function(q,Y,w){!function(b){"use strict";b.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},2024:function(q,Y,w){!function(b){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},T={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};b.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(v){return v.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},week:{dow:1,doy:4}})}(w(5439))},2688:function(q,Y,w){!function(b){"use strict";b.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8914:function(q,Y,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};b.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(v){return v.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u0930\u093e\u0924\u093f"===k?v<4?v:v+12:"\u092c\u093f\u0939\u093e\u0928"===k?v:"\u0926\u093f\u0909\u0901\u0938\u094b"===k?v>=10?v:v+12:"\u0938\u093e\u0901\u091d"===k?v+12:void 0},meridiem:function(v,k,L){return v<3?"\u0930\u093e\u0924\u093f":v<12?"\u092c\u093f\u0939\u093e\u0928":v<16?"\u0926\u093f\u0909\u0901\u0938\u094b":v<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(w(5439))},2272:function(q,Y,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),M=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],v=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;b.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:M,longMonthsParse:M,shortMonthsParse:M,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(L){return L+(1===L||8===L||L>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1758:function(q,Y,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),M=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],v=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;b.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:M,longMonthsParse:M,shortMonthsParse:M,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(L){return L+(1===L||8===L||L>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1510:function(q,Y,w){!function(b){"use strict";b.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2797:function(q,Y,w){!function(b){"use strict";b.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(T,M){var v=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===M||"W"===M)&&(v="a"),T+v},week:{dow:1,doy:4}})}(w(5439))},7944:function(q,Y,w){!function(b){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},T={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};b.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(v){return v.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u0a30\u0a3e\u0a24"===k?v<4?v:v+12:"\u0a38\u0a35\u0a47\u0a30"===k?v:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===k?v>=10?v:v+12:"\u0a38\u0a3c\u0a3e\u0a2e"===k?v+12:void 0},meridiem:function(v,k,L){return v<4?"\u0a30\u0a3e\u0a24":v<10?"\u0a38\u0a35\u0a47\u0a30":v<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":v<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(w(5439))},1605:function(q,Y,w){!function(b){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),T="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),M=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function v(I){return I%10<5&&I%10>1&&~~(I/10)%10!=1}function k(I,B,F){var U=I+" ";switch(F){case"ss":return U+(v(I)?"sekundy":"sekund");case"m":return B?"minuta":"minut\u0119";case"mm":return U+(v(I)?"minuty":"minut");case"h":return B?"godzina":"godzin\u0119";case"hh":return U+(v(I)?"godziny":"godzin");case"ww":return U+(v(I)?"tygodnie":"tygodni");case"MM":return U+(v(I)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return U+(v(I)?"lata":"lat")}}b.defineLocale("pl",{months:function(I,B){return I?/D MMMM/.test(B)?T[I.month()]:i[I.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:M,longMonthsParse:M,shortMonthsParse:M,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:k,m:k,mm:k,h:k,hh:k,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:k,M:"miesi\u0105c",MM:k,y:"rok",yy:k},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3840:function(q,Y,w){!function(b){"use strict";b.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(w(5439))},4225:function(q,Y,w){!function(b){"use strict";b.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},5128:function(q,Y,w){!function(b){"use strict";function i(M,v,k){var I=" ";return(M%100>=20||M>=100&&M%100==0)&&(I=" de "),M+I+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[k]}b.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:i,m:"un minut",mm:i,h:"o or\u0103",hh:i,d:"o zi",dd:i,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:i,M:"o lun\u0103",MM:i,y:"un an",yy:i},week:{dow:1,doy:7}})}(w(5439))},5127:function(q,Y,w){!function(b){"use strict";function T(k,L,I){return"m"===I?L?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":k+" "+function i(k,L){var I=k.split("_");return L%10==1&&L%100!=11?I[0]:L%10>=2&&L%10<=4&&(L%100<10||L%100>=20)?I[1]:I[2]}({ss:L?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:L?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[I],+k)}var M=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];b.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:M,longMonthsParse:M,shortMonthsParse:M,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(k){if(k.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(k){if(k.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:T,m:T,mm:T,h:"\u0447\u0430\u0441",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(k){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(k)},meridiem:function(k,L,I){return k<4?"\u043d\u043e\u0447\u0438":k<12?"\u0443\u0442\u0440\u0430":k<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(k,L){switch(L){case"M":case"d":case"DDD":return k+"-\u0439";case"D":return k+"-\u0433\u043e";case"w":case"W":return k+"-\u044f";default:return k}},week:{dow:1,doy:4}})}(w(5439))},2525:function(q,Y,w){!function(b){"use strict";var i=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],T=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];b.defineLocale("sd",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:T,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(v){return"\u0634\u0627\u0645"===v},meridiem:function(v,k,L){return v<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},9893:function(q,Y,w){!function(b){"use strict";b.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3123:function(q,Y,w){!function(b){"use strict";b.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(T){return T+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(T){return"\u0db4.\u0dc0."===T||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===T},meridiem:function(T,M,v){return T>11?v?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":v?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(w(5439))},9635:function(q,Y,w){!function(b){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),T="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function M(L){return L>1&&L<5}function v(L,I,B,F){var U=L+" ";switch(B){case"s":return I||F?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return I||F?U+(M(L)?"sekundy":"sek\xfand"):U+"sekundami";case"m":return I?"min\xfata":F?"min\xfatu":"min\xfatou";case"mm":return I||F?U+(M(L)?"min\xfaty":"min\xfat"):U+"min\xfatami";case"h":return I?"hodina":F?"hodinu":"hodinou";case"hh":return I||F?U+(M(L)?"hodiny":"hod\xedn"):U+"hodinami";case"d":return I||F?"de\u0148":"d\u0148om";case"dd":return I||F?U+(M(L)?"dni":"dn\xed"):U+"d\u0148ami";case"M":return I||F?"mesiac":"mesiacom";case"MM":return I||F?U+(M(L)?"mesiace":"mesiacov"):U+"mesiacmi";case"y":return I||F?"rok":"rokom";case"yy":return I||F?U+(M(L)?"roky":"rokov"):U+"rokmi"}}b.defineLocale("sk",{months:i,monthsShort:T,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8106:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I=M+" ";switch(k){case"s":return v||L?"nekaj sekund":"nekaj sekundami";case"ss":return I+(1===M?v?"sekundo":"sekundi":2===M?v||L?"sekundi":"sekundah":M<5?v||L?"sekunde":"sekundah":"sekund");case"m":return v?"ena minuta":"eno minuto";case"mm":return I+(1===M?v?"minuta":"minuto":2===M?v||L?"minuti":"minutama":M<5?v||L?"minute":"minutami":v||L?"minut":"minutami");case"h":return v?"ena ura":"eno uro";case"hh":return I+(1===M?v?"ura":"uro":2===M?v||L?"uri":"urama":M<5?v||L?"ure":"urami":v||L?"ur":"urami");case"d":return v||L?"en dan":"enim dnem";case"dd":return I+(1===M?v||L?"dan":"dnem":2===M?v||L?"dni":"dnevoma":v||L?"dni":"dnevi");case"M":return v||L?"en mesec":"enim mesecem";case"MM":return I+(1===M?v||L?"mesec":"mesecem":2===M?v||L?"meseca":"mesecema":M<5?v||L?"mesece":"meseci":v||L?"mesecev":"meseci");case"y":return v||L?"eno leto":"enim letom";case"yy":return I+(1===M?v||L?"leto":"letom":2===M?v||L?"leti":"letoma":M<5?v||L?"leta":"leti":v||L?"let":"leti")}}b.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},8799:function(q,Y,w){!function(b){"use strict";b.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(T){return"M"===T.charAt(0)},meridiem:function(T,M,v){return T<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2872:function(q,Y,w){!function(b){"use strict";var i={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(M,v){return 1===M?v[0]:M>=2&&M<=4?v[1]:v[2]},translate:function(M,v,k){var L=i.words[k];return 1===k.length?v?L[0]:L[1]:M+" "+i.correctGrammaticalCase(M,L)}};b.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"\u0434\u0430\u043d",dd:i.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:i.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7949:function(q,Y,w){!function(b){"use strict";var i={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(M,v){return 1===M?v[0]:M>=2&&M<=4?v[1]:v[2]},translate:function(M,v,k){var L=i.words[k];return 1===k.length?v?L[0]:L[1]:M+" "+i.correctGrammaticalCase(M,L)}};b.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6167:function(q,Y,w){!function(b){"use strict";b.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(T,M,v){return T<11?"ekuseni":T<15?"emini":T<19?"entsambama":"ebusuku"},meridiemHour:function(T,M){return 12===T&&(T=0),"ekuseni"===M?T:"emini"===M?T>=11?T:T+12:"entsambama"===M||"ebusuku"===M?0===T?0:T+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(w(5439))},9713:function(q,Y,w){!function(b){"use strict";b.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(T){var M=T%10;return T+(1==~~(T%100/10)?":e":1===M||2===M?":a":":e")},week:{dow:1,doy:4}})}(w(5439))},1982:function(q,Y,w){!function(b){"use strict";b.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(w(5439))},2732:function(q,Y,w){!function(b){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},T={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};b.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(v){return v+"\u0bb5\u0ba4\u0bc1"},preparse:function(v){return v.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(v,k,L){return v<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":v<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":v<10?" \u0b95\u0bbe\u0bb2\u0bc8":v<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":v<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":v<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(v,k){return 12===v&&(v=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===k?v<2?v:v+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===k||"\u0b95\u0bbe\u0bb2\u0bc8"===k||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===k&&v>=10?v:v+12},week:{dow:0,doy:6}})}(w(5439))},3636:function(q,Y,w){!function(b){"use strict";b.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(T,M){return 12===T&&(T=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===M?T<4?T:T+12:"\u0c09\u0c26\u0c2f\u0c02"===M?T:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===M?T>=10?T:T+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===M?T+12:void 0},meridiem:function(T,M,v){return T<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":T<10?"\u0c09\u0c26\u0c2f\u0c02":T<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":T<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(w(5439))},2115:function(q,Y,w){!function(b){"use strict";b.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9801:function(q,Y,w){!function(b){"use strict";var i={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};b.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(M,v){return 12===M&&(M=0),"\u0448\u0430\u0431"===v?M<4?M:M+12:"\u0441\u0443\u0431\u04b3"===v?M:"\u0440\u04ef\u0437"===v?M>=11?M:M+12:"\u0431\u0435\u0433\u043e\u04b3"===v?M+12:void 0},meridiem:function(M,v,k){return M<4?"\u0448\u0430\u0431":M<11?"\u0441\u0443\u0431\u04b3":M<16?"\u0440\u04ef\u0437":M<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(M){return M+(i[M]||i[M%10]||i[M>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},4486:function(q,Y,w){!function(b){"use strict";b.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(T){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===T},meridiem:function(T,M,v){return T<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(w(5439))},1310:function(q,Y,w){!function(b){"use strict";var i={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};b.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(M,v){switch(v){case"d":case"D":case"Do":case"DD":return M;default:if(0===M)return M+"'unjy";var k=M%10;return M+(i[k]||i[M%100-k]||i[M>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},2360:function(q,Y,w){!function(b){"use strict";b.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(T){return T},week:{dow:1,doy:4}})}(w(5439))},6645:function(q,Y,w){!function(b){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function v(I,B,F,U){var X=function k(I){var B=Math.floor(I%1e3/100),F=Math.floor(I%100/10),U=I%10,X="";return B>0&&(X+=i[B]+"vatlh"),F>0&&(X+=(""!==X?" ":"")+i[F]+"maH"),U>0&&(X+=(""!==X?" ":"")+i[U]),""===X?"pagh":X}(I);switch(F){case"ss":return X+" lup";case"mm":return X+" tup";case"hh":return X+" rep";case"dd":return X+" jaj";case"MM":return X+" jar";case"yy":return X+" DIS"}}b.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function T(I){var B=I;return-1!==I.indexOf("jaj")?B.slice(0,-3)+"leS":-1!==I.indexOf("jar")?B.slice(0,-3)+"waQ":-1!==I.indexOf("DIS")?B.slice(0,-3)+"nem":B+" pIq"},past:function M(I){var B=I;return-1!==I.indexOf("jaj")?B.slice(0,-3)+"Hu\u2019":-1!==I.indexOf("jar")?B.slice(0,-3)+"wen":-1!==I.indexOf("DIS")?B.slice(0,-3)+"ben":B+" ret"},s:"puS lup",ss:v,m:"wa\u2019 tup",mm:v,h:"wa\u2019 rep",hh:v,d:"wa\u2019 jaj",dd:v,M:"wa\u2019 jar",MM:v,y:"wa\u2019 DIS",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8374:function(q,Y,w){!function(b){"use strict";var i={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};b.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(M,v,k){return M<12?k?"\xf6\xf6":"\xd6\xd6":k?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(M){return"\xf6s"===M||"\xd6S"===M},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(M,v){switch(v){case"d":case"D":case"Do":case"DD":return M;default:if(0===M)return M+"'\u0131nc\u0131";var k=M%10;return M+(i[k]||i[M%100-k]||i[M>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},256:function(q,Y,w){!function(b){"use strict";function T(M,v,k,L){var I={s:["viensas secunds","'iensas secunds"],ss:[M+" secunds",M+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[M+" m\xeduts",M+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[M+" \xfeoras",M+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[M+" ziuas",M+" ziuas"],M:["'n mes","'iens mes"],MM:[M+" mesen",M+" mesen"],y:["'n ar","'iens ar"],yy:[M+" ars",M+" ars"]};return L||v?I[k][0]:I[k][1]}b.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(M){return"d'o"===M.toLowerCase()},meridiem:function(M,v,k){return M>11?k?"d'o":"D'O":k?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1631:function(q,Y,w){!function(b){"use strict";b.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(w(5439))},1595:function(q,Y,w){!function(b){"use strict";b.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(w(5439))},6050:function(q,Y,w){!function(b){"use strict";b.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(T,M){return 12===T&&(T=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===M||"\u0633\u06d5\u06be\u06d5\u0631"===M||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===M?T:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===M||"\u0643\u06d5\u0686"===M?T+12:T>=11?T:T+12},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":k<900?"\u0633\u06d5\u06be\u06d5\u0631":k<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":k<1230?"\u0686\u06c8\u0634":k<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(T,M){switch(M){case"d":case"D":case"DDD":return T+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return T+"-\u06be\u06d5\u067e\u062a\u06d5";default:return T}},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(w(5439))},5610:function(q,Y,w){!function(b){"use strict";function T(L,I,B){return"m"===B?I?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===B?I?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":L+" "+function i(L,I){var B=L.split("_");return I%10==1&&I%100!=11?B[0]:I%10>=2&&I%10<=4&&(I%100<10||I%100>=20)?B[1]:B[2]}({ss:I?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:I?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:I?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[B],+L)}function v(L){return function(){return L+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}b.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function M(L,I){var B={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===L?B.nominative.slice(1,7).concat(B.nominative.slice(0,1)):L?B[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(I)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(I)?"genitive":"nominative"][L.day()]:B.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:v("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:v("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:v("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:v("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return v("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return v("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:T,m:T,mm:T,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:T,y:"\u0440\u0456\u043a",yy:T},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(L){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(L)},meridiem:function(L,I,B){return L<4?"\u043d\u043e\u0447\u0456":L<12?"\u0440\u0430\u043d\u043a\u0443":L<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(L,I){switch(I){case"M":case"d":case"DDD":case"w":case"W":return L+"-\u0439";case"D":return L+"-\u0433\u043e";default:return L}},week:{dow:1,doy:7}})}(w(5439))},6077:function(q,Y,w){!function(b){"use strict";var i=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],T=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];b.defineLocale("ur",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:T,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(v){return"\u0634\u0627\u0645"===v},meridiem:function(v,k,L){return v<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},2207:function(q,Y,w){!function(b){"use strict";b.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(w(5439))},2862:function(q,Y,w){!function(b){"use strict";b.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(w(5439))},8093:function(q,Y,w){!function(b){"use strict";b.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(T){return/^ch$/i.test(T)},meridiem:function(T,M,v){return T<12?v?"sa":"SA":v?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(T){return T},week:{dow:1,doy:4}})}(w(5439))},5590:function(q,Y,w){!function(b){"use strict";b.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9058:function(q,Y,w){!function(b){"use strict";b.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(w(5439))},7908:function(q,Y,w){!function(b){"use strict";b.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,M){return 12===T&&(T=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?T:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?T+12:T>=11?T:T+12},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(T){return T.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(T){return this.week()!==T.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(T,M){switch(M){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u5468";default:return T}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(w(5439))},8867:function(q,Y,w){!function(b){"use strict";b.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,M){return 12===T&&(T=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?T:"\u4e2d\u5348"===M?T>=11?T:T+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?T+12:void 0},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1200?"\u4e0a\u5348":1200===k?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(T,M){switch(M){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},1133:function(q,Y,w){!function(b){"use strict";b.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,M){return 12===T&&(T=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?T:"\u4e2d\u5348"===M?T>=11?T:T+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?T+12:void 0},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(T,M){switch(M){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},3291:function(q,Y,w){!function(b){"use strict";b.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(T,M){return 12===T&&(T=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?T:"\u4e2d\u5348"===M?T>=11?T:T+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?T+12:void 0},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(T,M){switch(M){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},5439:function(q,Y,w){(q=w.nmd(q)).exports=function(){"use strict";var b,ce;function i(){return b.apply(null,arguments)}function M(_){return _ instanceof Array||"[object Array]"===Object.prototype.toString.call(_)}function v(_){return null!=_&&"[object Object]"===Object.prototype.toString.call(_)}function k(_,S){return Object.prototype.hasOwnProperty.call(_,S)}function L(_){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(_).length;var S;for(S in _)if(k(_,S))return!1;return!0}function I(_){return void 0===_}function B(_){return"number"==typeof _||"[object Number]"===Object.prototype.toString.call(_)}function F(_){return _ instanceof Date||"[object Date]"===Object.prototype.toString.call(_)}function U(_,S){var N,R=[];for(N=0;N<_.length;++N)R.push(S(_[N],N));return R}function X(_,S){for(var R in S)k(S,R)&&(_[R]=S[R]);return k(S,"toString")&&(_.toString=S.toString),k(S,"valueOf")&&(_.valueOf=S.valueOf),_}function Q(_,S,R,N){return mu(_,S,R,N,!0).utc()}function ee(_){return null==_._pf&&(_._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),_._pf}function he(_){if(null==_._isValid){var S=ee(_),R=ce.call(S.parsedDateParts,function(V){return null!=V}),N=!isNaN(_._d.getTime())&&S.overflow<0&&!S.empty&&!S.invalidEra&&!S.invalidMonth&&!S.invalidWeekday&&!S.weekdayMismatch&&!S.nullInput&&!S.invalidFormat&&!S.userInvalidated&&(!S.meridiem||S.meridiem&&R);if(_._strict&&(N=N&&0===S.charsLeftOver&&0===S.unusedTokens.length&&void 0===S.bigHour),null!=Object.isFrozen&&Object.isFrozen(_))return N;_._isValid=N}return _._isValid}function ze(_){var S=Q(NaN);return null!=_?X(ee(S),_):ee(S).userInvalidated=!0,S}ce=Array.prototype.some?Array.prototype.some:function(_){var N,S=Object(this),R=S.length>>>0;for(N=0;N0)for(R=0;R=0?R?"+":"":"-")+Math.pow(10,Math.max(0,S-N.length)).toString().substr(1)+N}var ot=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ft=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,jn={},gi={};function Xe(_,S,R,N){var V=N;"string"==typeof N&&(V=function(){return this[N]()}),_&&(gi[_]=V),S&&(gi[S[0]]=function(){return wi(V.apply(this,arguments),S[1],S[2])}),R&&(gi[R]=function(){return this.localeData().ordinal(V.apply(this,arguments),_)})}function ai(_){return _.match(/\[[\s\S]/)?_.replace(/^\[|\]$/g,""):_.replace(/\\/g,"")}function pn(_,S){return _.isValid()?(S=ui(S,_.localeData()),jn[S]=jn[S]||function gs(_){var R,N,S=_.match(ot);for(R=0,N=S.length;R=0&&ft.test(_);)_=_.replace(ft,N),ft.lastIndex=0,R-=1;return _}var Ge={};function nt(_,S){var R=_.toLowerCase();Ge[R]=Ge[R+"s"]=Ge[S]=_}function Jt(_){return"string"==typeof _?Ge[_]||Ge[_.toLowerCase()]:void 0}function we(_){var R,N,S={};for(N in _)k(_,N)&&(R=Jt(N))&&(S[R]=_[N]);return S}var te={};function se(_,S){te[_]=S}function ke(_){return _%4==0&&_%100!=0||_%400==0}function Fe(_){return _<0?Math.ceil(_)||0:Math.floor(_)}function Ce(_){var S=+_,R=0;return 0!==S&&isFinite(S)&&(R=Fe(S)),R}function Ve(_,S){return function(R){return null!=R?(Ni(this,_,R),i.updateOffset(this,S),this):xt(this,_)}}function xt(_,S){return _.isValid()?_._d["get"+(_._isUTC?"UTC":"")+S]():NaN}function Ni(_,S,R){_.isValid()&&!isNaN(R)&&("FullYear"===S&&ke(_.year())&&1===_.month()&&29===_.date()?(R=Ce(R),_._d["set"+(_._isUTC?"UTC":"")+S](R,_.month(),Di(R,_.month()))):_._d["set"+(_._isUTC?"UTC":"")+S](R))}var D,Hi=/\d/,ct=/\d\d/,We=/\d{3}/,Kn=/\d{4}/,Kt=/[+-]?\d{6}/,Mt=/\d\d?/,ms=/\d\d\d\d?/,is=/\d\d\d\d\d\d?/,Zn=/\d{1,3}/,nl=/\d{1,4}/,zo=/[+-]?\d{1,6}/,co=/\d+/,lo=/[+-]?\d+/,_s=/Z|[+-]\d\d:?\d\d/gi,rr=/Z|[+-]\d\d(?::?\d\d)?/gi,Yr=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Ie(_,S,R){D[_]=ge(S)?S:function(N,V){return N&&R?R:S}}function ki(_,S){return k(D,_)?D[_](S._strict,S._locale):new RegExp(function mn(_){return Qe(_.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(S,R,N,V,re){return R||N||V||re}))}(_))}function Qe(_){return _.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}D={};var si={};function At(_,S){var R,N=S;for("string"==typeof _&&(_=[_]),B(S)&&(N=function(V,re){re[S]=Ce(V)}),R=0;R<_.length;R++)si[_[R]]=N}function Ki(_,S){At(_,function(R,N,V,re){V._w=V._w||{},S(R,V._w,V,re)})}function ja(_,S,R){null!=S&&k(si,_)&&si[_](S,R._a,R,_)}var ei;function Di(_,S){if(isNaN(_)||isNaN(S))return NaN;var R=function Rn(_,S){return(_%S+S)%S}(S,12);return _+=(S-R)/12,1===R?ke(_)?29:28:31-R%7%2}ei=Array.prototype.indexOf?Array.prototype.indexOf:function(_){var S;for(S=0;S68?1900:2e3)};var Un=Ve("FullYear",!0);function Ua(_,S,R,N,V,re,ye){var rt;return _<100&&_>=0?(rt=new Date(_+400,S,R,N,V,re,ye),isFinite(rt.getFullYear())&&rt.setFullYear(_)):rt=new Date(_,S,R,N,V,re,ye),rt}function Bo(_){var S,R;return _<100&&_>=0?((R=Array.prototype.slice.call(arguments))[0]=_+400,S=new Date(Date.UTC.apply(null,R)),isFinite(S.getUTCFullYear())&&S.setUTCFullYear(_)):S=new Date(Date.UTC.apply(null,arguments)),S}function ho(_,S,R){var N=7+S-R;return-(7+Bo(_,0,N).getUTCDay()-S)%7+N-1}function os(_,S,R,N,V){var Nt,bi,rt=1+7*(S-1)+(7+R-N)%7+ho(_,N,V);return rt<=0?bi=Ho(Nt=_-1)+rt:rt>Ho(_)?(Nt=_+1,bi=rt-Ho(_)):(Nt=_,bi=rt),{year:Nt,dayOfYear:bi}}function lr(_,S,R){var re,ye,N=ho(_.year(),S,R),V=Math.floor((_.dayOfYear()-N-1)/7)+1;return V<1?re=V+fo(ye=_.year()-1,S,R):V>fo(_.year(),S,R)?(re=V-fo(_.year(),S,R),ye=_.year()+1):(ye=_.year(),re=V),{week:re,year:ye}}function fo(_,S,R){var N=ho(_,S,R),V=ho(_+1,S,R);return(Ho(_)-N+V)/7}Xe("w",["ww",2],"wo","week"),Xe("W",["WW",2],"Wo","isoWeek"),nt("week","w"),nt("isoWeek","W"),se("week",5),se("isoWeek",5),Ie("w",Mt),Ie("ww",Mt,ct),Ie("W",Mt),Ie("WW",Mt,ct),Ki(["w","ww","W","WW"],function(_,S,R,N){S[N.substr(0,1)]=Ce(_)});function De(_,S){return _.slice(S,7).concat(_.slice(0,S))}Xe("d",0,"do","day"),Xe("dd",0,0,function(_){return this.localeData().weekdaysMin(this,_)}),Xe("ddd",0,0,function(_){return this.localeData().weekdaysShort(this,_)}),Xe("dddd",0,0,function(_){return this.localeData().weekdays(this,_)}),Xe("e",0,0,"weekday"),Xe("E",0,0,"isoWeekday"),nt("day","d"),nt("weekday","e"),nt("isoWeekday","E"),se("day",11),se("weekday",11),se("isoWeekday",11),Ie("d",Mt),Ie("e",Mt),Ie("E",Mt),Ie("dd",function(_,S){return S.weekdaysMinRegex(_)}),Ie("ddd",function(_,S){return S.weekdaysShortRegex(_)}),Ie("dddd",function(_,S){return S.weekdaysRegex(_)}),Ki(["dd","ddd","dddd"],function(_,S,R,N){var V=R._locale.weekdaysParse(_,N,R._strict);null!=V?S.d=V:ee(R).invalidWeekday=_}),Ki(["d","e","E"],function(_,S,R,N){S[N]=Ce(_)});var hu="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Bi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Gr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Fi=Yr,fu=Yr,Va=Yr;function Fo(_,S,R){var N,V,re,ye=_.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],N=0;N<7;++N)re=Q([2e3,1]).day(N),this._minWeekdaysParse[N]=this.weekdaysMin(re,"").toLocaleLowerCase(),this._shortWeekdaysParse[N]=this.weekdaysShort(re,"").toLocaleLowerCase(),this._weekdaysParse[N]=this.weekdays(re,"").toLocaleLowerCase();return R?"dddd"===S?-1!==(V=ei.call(this._weekdaysParse,ye))?V:null:"ddd"===S?-1!==(V=ei.call(this._shortWeekdaysParse,ye))?V:null:-1!==(V=ei.call(this._minWeekdaysParse,ye))?V:null:"dddd"===S?-1!==(V=ei.call(this._weekdaysParse,ye))||-1!==(V=ei.call(this._shortWeekdaysParse,ye))||-1!==(V=ei.call(this._minWeekdaysParse,ye))?V:null:"ddd"===S?-1!==(V=ei.call(this._shortWeekdaysParse,ye))||-1!==(V=ei.call(this._weekdaysParse,ye))||-1!==(V=ei.call(this._minWeekdaysParse,ye))?V:null:-1!==(V=ei.call(this._minWeekdaysParse,ye))||-1!==(V=ei.call(this._weekdaysParse,ye))||-1!==(V=ei.call(this._shortWeekdaysParse,ye))?V:null}function Wa(){function _(Tn,Nn){return Nn.length-Tn.length}var re,ye,rt,Nt,bi,S=[],R=[],N=[],V=[];for(re=0;re<7;re++)ye=Q([2e3,1]).day(re),rt=Qe(this.weekdaysMin(ye,"")),Nt=Qe(this.weekdaysShort(ye,"")),bi=Qe(this.weekdays(ye,"")),S.push(rt),R.push(Nt),N.push(bi),V.push(rt),V.push(Nt),V.push(bi);S.sort(_),R.sort(_),N.sort(_),V.sort(_),this._weekdaysRegex=new RegExp("^("+V.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+N.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+R.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+S.join("|")+")","i")}function Vr(){return this.hours()%12||12}function On(_,S){Xe(_,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),S)})}function Cs(_,S){return S._meridiemParse}Xe("H",["HH",2],0,"hour"),Xe("h",["hh",2],0,Vr),Xe("k",["kk",2],0,function Ka(){return this.hours()||24}),Xe("hmm",0,0,function(){return""+Vr.apply(this)+wi(this.minutes(),2)}),Xe("hmmss",0,0,function(){return""+Vr.apply(this)+wi(this.minutes(),2)+wi(this.seconds(),2)}),Xe("Hmm",0,0,function(){return""+this.hours()+wi(this.minutes(),2)}),Xe("Hmmss",0,0,function(){return""+this.hours()+wi(this.minutes(),2)+wi(this.seconds(),2)}),On("a",!0),On("A",!1),nt("hour","h"),se("hour",13),Ie("a",Cs),Ie("A",Cs),Ie("H",Mt),Ie("h",Mt),Ie("k",Mt),Ie("HH",Mt,ct),Ie("hh",Mt,ct),Ie("kk",Mt,ct),Ie("hmm",ms),Ie("hmmss",is),Ie("Hmm",ms),Ie("Hmmss",is),At(["H","HH"],3),At(["k","kk"],function(_,S,R){var N=Ce(_);S[3]=24===N?0:N}),At(["a","A"],function(_,S,R){R._isPm=R._locale.isPM(_),R._meridiem=_}),At(["h","hh"],function(_,S,R){S[3]=Ce(_),ee(R).bigHour=!0}),At("hmm",function(_,S,R){var N=_.length-2;S[3]=Ce(_.substr(0,N)),S[4]=Ce(_.substr(N)),ee(R).bigHour=!0}),At("hmmss",function(_,S,R){var N=_.length-4,V=_.length-2;S[3]=Ce(_.substr(0,N)),S[4]=Ce(_.substr(N,2)),S[5]=Ce(_.substr(V)),ee(R).bigHour=!0}),At("Hmm",function(_,S,R){var N=_.length-2;S[3]=Ce(_.substr(0,N)),S[4]=Ce(_.substr(N))}),At("Hmmss",function(_,S,R){var N=_.length-4,V=_.length-2;S[3]=Ce(_.substr(0,N)),S[4]=Ce(_.substr(N,2)),S[5]=Ce(_.substr(V))});var Za=Ve("Hours",!0);var mo,$a={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ts,monthsShort:Tt,week:{dow:0,doy:6},weekdays:hu,weekdaysMin:Gr,weekdaysShort:Bi,meridiemParse:/[ap]\.?m?\.?/i},Mi={},ur={};function _o(_,S){var R,N=Math.min(_.length,S.length);for(R=0;R0;){if(V=hi(re.slice(0,R).join("-")))return V;if(N&&N.length>=R&&_o(re,N)>=R-1)break;R--}S++}return mo}(_)}function me(_){var S,R=_._a;return R&&-2===ee(_).overflow&&(S=R[1]<0||R[1]>11?1:R[2]<1||R[2]>Di(R[0],R[1])?2:R[3]<0||R[3]>24||24===R[3]&&(0!==R[4]||0!==R[5]||0!==R[6])?3:R[4]<0||R[4]>59?4:R[5]<0||R[5]>59?5:R[6]<0||R[6]>999?6:-1,ee(_)._overflowDayOfYear&&(S<0||S>2)&&(S=2),ee(_)._overflowWeeks&&-1===S&&(S=7),ee(_)._overflowWeekday&&-1===S&&(S=8),ee(_).overflow=S),_}var Te=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,tt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,li=/Z|[+-]\d\d(?::?\d\d)?/,Xt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ot=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Zt=/^\/?Date\((-?\d+)/i,Zi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,vi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _i(_){var S,R,re,ye,rt,Nt,N=_._i,V=Te.exec(N)||tt.exec(N);if(V){for(ee(_).iso=!0,S=0,R=Xt.length;S7)&&(Nt=!0)):(re=_._locale._week.dow,ye=_._locale._week.doy,bi=lr(Pt(),re,ye),R=fr(S.gg,_._a[0],bi.year),N=fr(S.w,bi.week),null!=S.d?((V=S.d)<0||V>6)&&(Nt=!0):null!=S.e?(V=S.e+re,(S.e<0||S.e>6)&&(Nt=!0)):V=re),N<1||N>fo(R,re,ye)?ee(_)._overflowWeeks=!0:null!=Nt?ee(_)._overflowWeekday=!0:(rt=os(R,N,V,re,ye),_._a[0]=rt.year,_._dayOfYear=rt.dayOfYear)}(_),null!=_._dayOfYear&&(ye=fr(_._a[0],V[0]),(_._dayOfYear>Ho(ye)||0===_._dayOfYear)&&(ee(_)._overflowDayOfYear=!0),R=Bo(ye,0,_._dayOfYear),_._a[1]=R.getUTCMonth(),_._a[2]=R.getUTCDate()),S=0;S<3&&null==_._a[S];++S)_._a[S]=N[S]=V[S];for(;S<7;S++)_._a[S]=N[S]=null==_._a[S]?2===S?1:0:_._a[S];24===_._a[3]&&0===_._a[4]&&0===_._a[5]&&0===_._a[6]&&(_._nextDay=!0,_._a[3]=0),_._d=(_._useUTC?Bo:Ua).apply(null,N),re=_._useUTC?_._d.getUTCDay():_._d.getDay(),null!=_._tzm&&_._d.setUTCMinutes(_._d.getUTCMinutes()-_._tzm),_._nextDay&&(_._a[3]=24),_._w&&void 0!==_._w.d&&_._w.d!==re&&(ee(_).weekdayMismatch=!0)}}function Gt(_){if(_._f!==i.ISO_8601)if(_._f!==i.RFC_2822){_._a=[],ee(_).empty=!0;var R,N,V,re,ye,bi,S=""+_._i,rt=S.length,Nt=0;for(V=ui(_._f,_._locale).match(ot)||[],R=0;R0&&ee(_).unusedInput.push(ye),S=S.slice(S.indexOf(N)+N.length),Nt+=N.length),gi[re]?(N?ee(_).empty=!1:ee(_).unusedTokens.push(re),ja(re,N,_)):_._strict&&!N&&ee(_).unusedTokens.push(re);ee(_).charsLeftOver=rt-Nt,S.length>0&&ee(_).unusedInput.push(S),_._a[3]<=12&&!0===ee(_).bigHour&&_._a[3]>0&&(ee(_).bigHour=void 0),ee(_).parsedDateParts=_._a.slice(0),ee(_).meridiem=_._meridiem,_._a[3]=function Qd(_,S,R){var N;return null==R?S:null!=_.meridiemHour?_.meridiemHour(S,R):(null!=_.isPM&&((N=_.isPM(R))&&S<12&&(S+=12),!N&&12===S&&(S=0)),S)}(_._locale,_._a[3],_._meridiem),null!==(bi=ee(_).era)&&(_._a[0]=_._locale.erasConvertYear(bi,_._a[0])),al(_),me(_)}else hr(_);else _i(_)}function ys(_){var S=_._i,R=_._f;return _._locale=_._locale||W(_._l),null===S||void 0===R&&""===S?ze({nullInput:!0}):("string"==typeof S&&(_._i=S=_._locale.preparse(S)),$e(S)?new St(me(S)):(F(S)?_._d=S:M(R)?function tn(_){var S,R,N,V,re,ye,rt=!1;if(0===_._f.length)return ee(_).invalidFormat=!0,void(_._d=new Date(NaN));for(V=0;V<_._f.length;V++)re=0,ye=!1,S=bt({},_),null!=_._useUTC&&(S._useUTC=_._useUTC),S._f=_._f[V],Gt(S),he(S)&&(ye=!0),re+=ee(S).charsLeftOver,re+=10*ee(S).unusedTokens.length,ee(S).score=re,rt?rethis?this:_:ze()});function Xa(_,S){var R,N;if(1===S.length&&M(S[0])&&(S=S[0]),!S.length)return Pt();for(R=S[0],N=1;N=0?new Date(_+400,S,R)-na:new Date(_,S,R).valueOf()}function oc(_,S,R){return _<100&&_>=0?Date.UTC(_+400,S,R)-na:Date.UTC(_,S,R)}function Si(_,S){return S.erasAbbrRegex(_)}function xu(){var V,re,_=[],S=[],R=[],N=[],ye=this.eras();for(V=0,re=ye.length;V(re=fo(_,N,V))&&(S=re),Ap.call(this,_,S,R,N,V))}function Ap(_,S,R,N,V){var re=os(_,S,R,N,V),ye=Bo(re.year,0,re.dayOfYear);return this.year(ye.getUTCFullYear()),this.month(ye.getUTCMonth()),this.date(ye.getUTCDate()),this}Xe("N",0,0,"eraAbbr"),Xe("NN",0,0,"eraAbbr"),Xe("NNN",0,0,"eraAbbr"),Xe("NNNN",0,0,"eraName"),Xe("NNNNN",0,0,"eraNarrow"),Xe("y",["y",1],"yo","eraYear"),Xe("y",["yy",2],0,"eraYear"),Xe("y",["yyy",3],0,"eraYear"),Xe("y",["yyyy",4],0,"eraYear"),Ie("N",Si),Ie("NN",Si),Ie("NNN",Si),Ie("NNNN",function yp(_,S){return S.erasNameRegex(_)}),Ie("NNNNN",function ph(_,S){return S.erasNarrowRegex(_)}),At(["N","NN","NNN","NNNN","NNNNN"],function(_,S,R,N){var V=R._locale.erasParse(_,N,R._strict);V?ee(R).era=V:ee(R).invalidEra=_}),Ie("y",co),Ie("yy",co),Ie("yyy",co),Ie("yyyy",co),Ie("yo",function Ds(_,S){return S._eraYearOrdinalRegex||co}),At(["y","yy","yyy","yyyy"],0),At(["yo"],function(_,S,R,N){var V;R._locale._eraYearOrdinalRegex&&(V=_.match(R._locale._eraYearOrdinalRegex)),S[0]=R._locale.eraYearOrdinalParse?R._locale.eraYearOrdinalParse(_,V):parseInt(_,10)}),Xe(0,["gg",2],0,function(){return this.weekYear()%100}),Xe(0,["GG",2],0,function(){return this.isoWeekYear()%100}),_l("gggg","weekYear"),_l("ggggg","weekYear"),_l("GGGG","isoWeekYear"),_l("GGGGG","isoWeekYear"),nt("weekYear","gg"),nt("isoWeekYear","GG"),se("weekYear",1),se("isoWeekYear",1),Ie("G",lo),Ie("g",lo),Ie("GG",Mt,ct),Ie("gg",Mt,ct),Ie("GGGG",nl,Kn),Ie("gggg",nl,Kn),Ie("GGGGG",zo,Kt),Ie("ggggg",zo,Kt),Ki(["gggg","ggggg","GGGG","GGGGG"],function(_,S,R,N){S[N.substr(0,2)]=Ce(_)}),Ki(["gg","GG"],function(_,S,R,N){S[N]=i.parseTwoDigitYear(_)}),Xe("Q",0,"Qo","quarter"),nt("quarter","Q"),se("quarter",7),Ie("Q",Hi),At("Q",function(_,S){S[1]=3*(Ce(_)-1)}),Xe("D",["DD",2],"Do","date"),nt("date","D"),se("date",9),Ie("D",Mt),Ie("DD",Mt,ct),Ie("Do",function(_,S){return _?S._dayOfMonthOrdinalParse||S._ordinalParse:S._dayOfMonthOrdinalParseLenient}),At(["D","DD"],2),At("Do",function(_,S){S[2]=Ce(_.match(Mt)[0])});var vn=Ve("Date",!0);Xe("DDD",["DDDD",3],"DDDo","dayOfYear"),nt("dayOfYear","DDD"),se("dayOfYear",4),Ie("DDD",Zn),Ie("DDDD",We),At(["DDD","DDDD"],function(_,S,R){R._dayOfYear=Ce(_)}),Xe("m",["mm",2],0,"minute"),nt("minute","m"),se("minute",14),Ie("m",Mt),Ie("mm",Mt,ct),At(["m","mm"],4);var ac=Ve("Minutes",!1);Xe("s",["ss",2],0,"second"),nt("second","s"),se("second",15),Ie("s",Mt),Ie("ss",Mt,ct),At(["s","ss"],5);var ws,Pu,cc=Ve("Seconds",!1);for(Xe("S",0,0,function(){return~~(this.millisecond()/100)}),Xe(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Xe(0,["SSS",3],0,"millisecond"),Xe(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Xe(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Xe(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Xe(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Xe(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Xe(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),nt("millisecond","ms"),se("millisecond",16),Ie("S",Zn,Hi),Ie("SS",Zn,ct),Ie("SSS",Zn,We),ws="SSSS";ws.length<=9;ws+="S")Ie(ws,co);function wp(_,S){S[6]=Ce(1e3*("0."+_))}for(ws="S";ws.length<=9;ws+="S")At(ws,wp);Pu=Ve("Milliseconds",!1),Xe("z",0,0,"zoneAbbr"),Xe("zz",0,0,"zoneName");var Pe=St.prototype;function Ar(_){return _}Pe.add=dl,Pe.calendar=function Xn(_,S){1===arguments.length&&(arguments[0]?In(arguments[0])?(_=arguments[0],S=void 0):oh(arguments[0])&&(S=arguments[0],_=void 0):(_=void 0,S=void 0));var R=_||Pt(),N=Qa(R,this).startOf("day"),V=i.calendarFormat(this,N)||"sameElse",re=S&&(ge(S[V])?S[V].call(this,R):S[V]);return this.format(re||this.localeData().calendar(V,this,Pt(R)))},Pe.clone=function rh(){return new St(this)},Pe.diff=function Xr(_,S,R){var N,V,re;if(!this.isValid())return NaN;if(!(N=Qa(_,this)).isValid())return NaN;switch(V=6e4*(N.utcOffset()-this.utcOffset()),S=Jt(S)){case"year":re=sc(this,N)/12;break;case"month":re=sc(this,N);break;case"quarter":re=sc(this,N)/3;break;case"second":re=(this-N)/1e3;break;case"minute":re=(this-N)/6e4;break;case"hour":re=(this-N)/36e5;break;case"day":re=(this-N-V)/864e5;break;case"week":re=(this-N-V)/6048e5;break;default:re=this-N}return R?re:Fe(re)},Pe.endOf=function Su(_){var S,R;if(void 0===(_=Jt(_))||"millisecond"===_||!this.isValid())return this;switch(R=this._isUTC?oc:lh,_){case"year":S=R(this.year()+1,0,1)-1;break;case"quarter":S=R(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":S=R(this.year(),this.month()+1,1)-1;break;case"week":S=R(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":S=R(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":S=R(this.year(),this.month(),this.date()+1)-1;break;case"hour":S=this._d.valueOf(),S+=ia-As(S+(this._isUTC?0:this.utcOffset()*Yo),ia)-1;break;case"minute":S=this._d.valueOf(),S+=Yo-As(S,Yo)-1;break;case"second":S=this._d.valueOf(),S+=1e3-As(S,1e3)-1}return this._d.setTime(S),i.updateOffset(this,!0),this},Pe.format=function ea(_){_||(_=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var S=pn(this,_);return this.localeData().postformat(S)},Pe.from=function ta(_,S){return this.isValid()&&($e(_)&&_.isValid()||Pt(_).isValid())?$n({to:this,from:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Pe.fromNow=function qo(_){return this.from(Pt(),_)},Pe.to=function ah(_,S){return this.isValid()&&($e(_)&&_.isValid()||Pt(_).isValid())?$n({from:this,to:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Pe.toNow=function Cu(_){return this.to(Pt(),_)},Pe.get=function Ft(_){return ge(this[_=Jt(_)])?this[_]():this},Pe.invalidAt=function sa(){return ee(this).overflow},Pe.isAfter=function fp(_,S){var R=$e(_)?_:Pt(_);return!(!this.isValid()||!R.isValid())&&("millisecond"===(S=Jt(S)||"millisecond")?this.valueOf()>R.valueOf():R.valueOf()9999?pn(R,S?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ge(Date.prototype.toISOString)?S?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",pn(R,"Z")):pn(R,S?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Pe.inspect=function gp(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var R,N,_="moment",S="";return this.isLocal()||(_=0===this.utcOffset()?"moment.utc":"moment.parseZone",S="Z"),R="["+_+'("]',N=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(R+N+"-MM-DD[T]HH:mm:ss.SSS"+S+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Pe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Pe.toJSON=function Uo(){return this.isValid()?this.toISOString():null},Pe.toString=function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Pe.unix=function mp(){return Math.floor(this.valueOf()/1e3)},Pe.valueOf=function Eu(){return this._d.valueOf()-6e4*(this._offset||0)},Pe.creationData=function hh(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Pe.eraName=function Zs(){var _,S,R,N=this.localeData().eras();for(_=0,S=N.length;_this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Pe.isLocal=function wo(){return!!this.isValid()&&!this._isUTC},Pe.isUtcOffset=function xi(){return!!this.isValid()&&this._isUTC},Pe.isUtc=Mu,Pe.isUTC=Mu,Pe.zoneAbbr=function Mp(){return this._isUTC?"UTC":""},Pe.zoneName=function m1(){return this._isUTC?"Coordinated Universal Time":""},Pe.dates=wt("dates accessor is deprecated. Use date instead.",vn),Pe.months=wt("months accessor is deprecated. Use month instead",No),Pe.years=wt("years accessor is deprecated. Use year instead",Un),Pe.zone=wt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Ja(_,S){return null!=_?("string"!=typeof _&&(_=-_),this.utcOffset(_,S),this):-this.utcOffset()}),Pe.isDSTShifted=wt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function _n(){if(!I(this._isDSTShifted))return this._isDSTShifted;var S,_={};return bt(_,this),(_=ys(_))._a?(S=_._isUTC?Q(_._a):Pt(_._a),this._isDSTShifted=this.isValid()&&function gr(_,S,R){var ye,N=Math.min(_.length,S.length),V=Math.abs(_.length-S.length),re=0;for(ye=0;ye0):this._isDSTShifted=!1,this._isDSTShifted});var jt=Re.prototype;function zu(_,S,R,N){var V=W(),re=Q().set(N,S);return V[R](re,_)}function ca(_,S,R){if(B(_)&&(S=_,_=void 0),_=_||"",null!=S)return zu(_,S,R,"month");var N,V=[];for(N=0;N<12;N++)V[N]=zu(_,N,R,"month");return V}function Iu(_,S,R,N){"boolean"==typeof _?(B(S)&&(R=S,S=void 0),S=S||""):(R=S=_,_=!1,B(S)&&(R=S,S=void 0),S=S||"");var ye,V=W(),re=_?V._week.dow:0,rt=[];if(null!=R)return zu(S,(R+re)%7,N,"day");for(ye=0;ye<7;ye++)rt[ye]=zu(S,(ye+re)%7,N,"day");return rt}jt.calendar=function vt(_,S,R){var N=this._calendar[_]||this._calendar.sameElse;return ge(N)?N.call(S,R):N},jt.longDateFormat=function gn(_){var S=this._longDateFormat[_],R=this._longDateFormat[_.toUpperCase()];return S||!R?S:(this._longDateFormat[_]=R.match(ot).map(function(N){return"MMMM"===N||"MM"===N||"DD"===N||"dddd"===N?N.slice(1):N}).join(""),this._longDateFormat[_])},jt.invalidDate=function ao(){return this._invalidDate},jt.ordinal=function le(_){return this._ordinal.replace("%d",_)},jt.preparse=Ar,jt.postformat=Ar,jt.relativeTime=function pe(_,S,R,N){var V=this._relativeTime[R];return ge(V)?V(_,S,R,N):V.replace(/%d/i,_)},jt.pastFuture=function Ue(_,S){var R=this._relativeTime[_>0?"future":"past"];return ge(R)?R(S):R.replace(/%s/i,S)},jt.set=function Ae(_){var S,R;for(R in _)k(_,R)&&(ge(S=_[R])?this[R]=S:this["_"+R]=S);this._config=_,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},jt.eras=function ku(_,S){var R,N,V,re=this._eras||W("en")._eras;for(R=0,N=re.length;R=0)return re[N]},jt.erasConvertYear=function Ks(_,S){var R=_.since<=_.until?1:-1;return void 0===S?i(_.since).year():i(_.since).year()+(S-_.offset)*R},jt.erasAbbrRegex=function bp(_){return k(this,"_erasAbbrRegex")||xu.call(this),_?this._erasAbbrRegex:this._erasRegex},jt.erasNameRegex=function aa(_){return k(this,"_erasNameRegex")||xu.call(this),_?this._erasNameRegex:this._erasRegex},jt.erasNarrowRegex=function fh(_){return k(this,"_erasNarrowRegex")||xu.call(this),_?this._erasNarrowRegex:this._erasRegex},jt.months=function Ya(_,S){return _?M(this._months)?this._months[_.month()]:this._months[(this._months.isFormat||js).test(S)?"format":"standalone"][_.month()]:M(this._months)?this._months:this._months.standalone},jt.monthsShort=function Io(_,S){return _?M(this._monthsShort)?this._monthsShort[_.month()]:this._monthsShort[js.test(S)?"format":"standalone"][_.month()]:M(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},jt.monthsParse=function cr(_,S,R){var N,V,re;if(this._monthsParseExact)return sl.call(this,_,S,R);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),N=0;N<12;N++){if(V=Q([2e3,N]),R&&!this._longMonthsParse[N]&&(this._longMonthsParse[N]=new RegExp("^"+this.months(V,"").replace(".","")+"$","i"),this._shortMonthsParse[N]=new RegExp("^"+this.monthsShort(V,"").replace(".","")+"$","i")),!R&&!this._monthsParse[N]&&(re="^"+this.months(V,"")+"|^"+this.monthsShort(V,""),this._monthsParse[N]=new RegExp(re.replace(".",""),"i")),R&&"MMMM"===S&&this._longMonthsParse[N].test(_))return N;if(R&&"MMM"===S&&this._shortMonthsParse[N].test(_))return N;if(!R&&this._monthsParse[N].test(_))return N}},jt.monthsRegex=function di(_){return this._monthsParseExact?(k(this,"_monthsRegex")||ol.call(this),_?this._monthsStrictRegex:this._monthsRegex):(k(this,"_monthsRegex")||(this._monthsRegex=Et),this._monthsStrictRegex&&_?this._monthsStrictRegex:this._monthsRegex)},jt.monthsShortRegex=function ns(_){return this._monthsParseExact?(k(this,"_monthsRegex")||ol.call(this),_?this._monthsShortStrictRegex:this._monthsShortRegex):(k(this,"_monthsShortRegex")||(this._monthsShortRegex=uo),this._monthsShortStrictRegex&&_?this._monthsShortStrictRegex:this._monthsShortRegex)},jt.week=function lp(_){return lr(_,this._week.dow,this._week.doy).week},jt.firstDayOfYear=function Rt(){return this._week.doy},jt.firstDayOfWeek=function up(){return this._week.dow},jt.weekdays=function $d(_,S){var R=M(this._weekdays)?this._weekdays:this._weekdays[_&&!0!==_&&this._weekdays.isFormat.test(S)?"format":"standalone"];return!0===_?De(R,this._week.dow):_?R[_.day()]:R},jt.weekdaysMin=function rs(_){return!0===_?De(this._weekdaysMin,this._week.dow):_?this._weekdaysMin[_.day()]:this._weekdaysMin},jt.weekdaysShort=function po(_){return!0===_?De(this._weekdaysShort,this._week.dow):_?this._weekdaysShort[_.day()]:this._weekdaysShort},jt.weekdaysParse=function pu(_,S,R){var N,V,re;if(this._weekdaysParseExact)return Fo.call(this,_,S,R);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),N=0;N<7;N++){if(V=Q([2e3,1]).day(N),R&&!this._fullWeekdaysParse[N]&&(this._fullWeekdaysParse[N]=new RegExp("^"+this.weekdays(V,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[N]=new RegExp("^"+this.weekdaysShort(V,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[N]=new RegExp("^"+this.weekdaysMin(V,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[N]||(re="^"+this.weekdays(V,"")+"|^"+this.weekdaysShort(V,"")+"|^"+this.weekdaysMin(V,""),this._weekdaysParse[N]=new RegExp(re.replace(".",""),"i")),R&&"dddd"===S&&this._fullWeekdaysParse[N].test(_))return N;if(R&&"ddd"===S&&this._shortWeekdaysParse[N].test(_))return N;if(R&&"dd"===S&&this._minWeekdaysParse[N].test(_))return N;if(!R&&this._weekdaysParse[N].test(_))return N}},jt.weekdaysRegex=function go(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Wa.call(this),_?this._weekdaysStrictRegex:this._weekdaysRegex):(k(this,"_weekdaysRegex")||(this._weekdaysRegex=Fi),this._weekdaysStrictRegex&&_?this._weekdaysStrictRegex:this._weekdaysRegex)},jt.weekdaysShortRegex=function ci(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Wa.call(this),_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(k(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=fu),this._weekdaysShortStrictRegex&&_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},jt.weekdaysMinRegex=function Ys(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Wa.call(this),_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(k(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Va),this._weekdaysMinStrictRegex&&_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},jt.isPM=function gu(_){return"p"===(_+"").toLowerCase().charAt(0)},jt.meridiem=function Xd(_,S,R){return _>11?R?"pm":"PM":R?"am":"AM"},P("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(_){var S=_%10;return _+(1===Ce(_%100/10)?"th":1===S?"st":2===S?"nd":3===S?"rd":"th")}}),i.lang=wt("moment.lang is deprecated. Use moment.locale instead.",P),i.langData=wt("moment.langData is deprecated. Use moment.localeData instead.",W);var Ls=Math.abs;function Cp(_,S,R,N){var V=$n(S,R);return _._milliseconds+=N*V._milliseconds,_._days+=N*V._days,_._months+=N*V._months,_._bubble()}function hc(_){return _<0?Math.floor(_):Math.ceil(_)}function bh(_){return 4800*_/146097}function yl(_){return 146097*_/4800}function as(_){return function(){return this.as(_)}}var Ah=as("ms"),kp=as("s"),sn=as("m"),Dp=as("h"),wh=as("d"),Al=as("w"),la=as("M"),Mh=as("Q"),xp=as("y");function cs(_){return function(){return this.isValid()?this._data[_]:NaN}}var Hu=cs("milliseconds"),ua=cs("seconds"),Bu=cs("minutes"),vh=cs("hours"),Fu=cs("days"),wl=cs("months"),Ml=cs("years");var vo=Math.round,Rs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function pc(_,S,R,N,V){return V.relativeTime(S||1,!!R,_,N)}var ji=Math.abs;function da(_){return(_>0)-(_<0)||+_}function wr(){if(!this.isValid())return this.localeData().invalidDate();var N,V,re,ye,Nt,bi,Tn,Nn,_=ji(this._milliseconds)/1e3,S=ji(this._days),R=ji(this._months),rt=this.asSeconds();return rt?(N=Fe(_/60),V=Fe(N/60),_%=60,N%=60,re=Fe(R/12),R%=12,ye=_?_.toFixed(3).replace(/\.?0+$/,""):"",Nt=rt<0?"-":"",bi=da(this._months)!==da(rt)?"-":"",Tn=da(this._days)!==da(rt)?"-":"",Nn=da(this._milliseconds)!==da(rt)?"-":"",Nt+"P"+(re?bi+re+"Y":"")+(R?bi+R+"M":"")+(S?Tn+S+"D":"")+(V||N||_?"T":"")+(V?Nn+V+"H":"")+(N?Nn+N+"M":"")+(_?Nn+ye+"S":"")):"P0D"}var It=pr.prototype;return It.isValid=function eh(){return this._isValid},It.abs=function bl(){var _=this._data;return this._milliseconds=Ls(this._milliseconds),this._days=Ls(this._days),this._months=Ls(this._months),_.milliseconds=Ls(_.milliseconds),_.seconds=Ls(_.seconds),_.minutes=Ls(_.minutes),_.hours=Ls(_.hours),_.months=Ls(_.months),_.years=Ls(_.years),this},It.add=function dc(_,S){return Cp(this,_,S,1)},It.subtract=function Nu(_,S){return Cp(this,_,S,-1)},It.as=function yh(_){if(!this.isValid())return NaN;var S,R,N=this._milliseconds;if("month"===(_=Jt(_))||"quarter"===_||"year"===_)switch(S=this._days+N/864e5,R=this._months+bh(S),_){case"month":return R;case"quarter":return R/3;case"year":return R/12}else switch(S=this._days+Math.round(yl(this._months)),_){case"week":return S/7+N/6048e5;case"day":return S+N/864e5;case"hour":return 24*S+N/36e5;case"minute":return 1440*S+N/6e4;case"second":return 86400*S+N/1e3;case"millisecond":return Math.floor(864e5*S)+N;default:throw new Error("Unknown unit "+_)}},It.asMilliseconds=Ah,It.asSeconds=kp,It.asMinutes=sn,It.asHours=Dp,It.asDays=wh,It.asWeeks=Al,It.asMonths=la,It.asQuarters=Mh,It.asYears=xp,It.valueOf=function Ep(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Ce(this._months/12):NaN},It._bubble=function Sp(){var V,re,ye,rt,Nt,_=this._milliseconds,S=this._days,R=this._months,N=this._data;return _>=0&&S>=0&&R>=0||_<=0&&S<=0&&R<=0||(_+=864e5*hc(yl(R)+S),S=0,R=0),N.milliseconds=_%1e3,V=Fe(_/1e3),N.seconds=V%60,re=Fe(V/60),N.minutes=re%60,ye=Fe(re/60),N.hours=ye%24,S+=Fe(ye/24),R+=Nt=Fe(bh(S)),S-=hc(yl(Nt)),rt=Fe(R/12),R%=12,N.days=S,N.months=R,N.years=rt,this},It.clone=function Lp(){return $n(this)},It.get=function fc(_){return _=Jt(_),this.isValid()?this[_+"s"]():NaN},It.milliseconds=Hu,It.seconds=ua,It.minutes=Bu,It.hours=vh,It.days=Fu,It.weeks=function Th(){return Fe(this.days()/7)},It.months=wl,It.years=Ml,It.humanize=function Pp(_,S){if(!this.isValid())return this.localeData().invalidDate();var V,re,R=!1,N=Rs;return"object"==typeof _&&(S=_,_=!1),"boolean"==typeof _&&(R=_),"object"==typeof S&&(N=Object.assign({},Rs,S),null!=S.s&&null==S.ss&&(N.ss=S.s-1)),re=function Rp(_,S,R,N){var V=$n(_).abs(),re=vo(V.as("s")),ye=vo(V.as("m")),rt=vo(V.as("h")),Nt=vo(V.as("d")),bi=vo(V.as("M")),Tn=vo(V.as("w")),Nn=vo(V.as("y")),Wo=re<=R.ss&&["s",re]||re0,Wo[4]=N,pc.apply(null,Wo)}(this,!R,N,V=this.localeData()),R&&(re=V.pastFuture(+this,re)),V.postformat(re)},It.toISOString=wr,It.toString=wr,It.toJSON=wr,It.locale=pl,It.localeData=gl,It.toIsoString=wt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",wr),It.lang=ch,Xe("X",0,0,"unix"),Xe("x",0,0,"valueOf"),Ie("x",lo),Ie("X",/[+-]?\d+(\.\d{1,3})?/),At("X",function(_,S,R){R._d=new Date(1e3*parseFloat(_))}),At("x",function(_,S,R){R._d=new Date(Ce(_))}),i.version="2.29.1",function T(_){b=_}(Pt),i.fn=Pe,i.min=function zn(){return Xa("isBefore",[].slice.call(arguments,0))},i.max=function Gs(){return Xa("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=Q,i.unix=function mh(_){return Pt(1e3*_)},i.months=function lc(_,S){return ca(_,S,"months")},i.isDate=F,i.locale=P,i.invalid=ze,i.duration=$n,i.isMoment=$e,i.weekdays=function Tp(_,S,R){return Iu(_,S,R,"weekdays")},i.parseZone=function Qn(){return Pt.apply(null,arguments).parseZone()},i.localeData=W,i.isDuration=Vs,i.monthsShort=function vp(_,S){return ca(_,S,"monthsShort")},i.weekdaysMin=function _h(_,S,R){return Iu(_,S,R,"weekdaysMin")},i.defineLocale=G,i.updateLocale=function z(_,S){if(null!=S){var R,N,V=$a;null!=Mi[_]&&null!=Mi[_].parentLocale?Mi[_].set(_e(Mi[_]._config,S)):(null!=(N=hi(_))&&(V=N._config),S=_e(V,S),null==N&&(S.abbr=_),(R=new Re(S)).parentLocale=Mi[_],Mi[_]=R),P(_)}else null!=Mi[_]&&(null!=Mi[_].parentLocale?(Mi[_]=Mi[_].parentLocale,_===P()&&P(_)):null!=Mi[_]&&delete Mi[_]);return Mi[_]},i.locales=function ne(){return fe(Mi)},i.weekdaysShort=function uc(_,S,R){return Iu(_,S,R,"weekdaysShort")},i.normalizeUnits=Jt,i.relativeTimeRounding=function Op(_){return void 0===_?vo:"function"==typeof _&&(vo=_,!0)},i.relativeTimeThreshold=function Ch(_,S){return void 0!==Rs[_]&&(void 0===S?Rs[_]:(Rs[_]=S,"s"===_&&(Rs.ss=S-1),!0))},i.calendarFormat=function ic(_,S){var R=_.diff(S,"days",!0);return R<-6?"sameElse":R<-1?"lastWeek":R<0?"lastDay":R<1?"sameDay":R<2?"nextDay":R<7?"nextWeek":"sameElse"},i.prototype=Pe,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},1869:(q,Y,w)=>{"use strict";w.d(Y,{d:()=>i});var b=w(3489);class i extends b.L{constructor(M,v,k){super(),this.parent=M,this.outerValue=v,this.outerIndex=k,this.index=0}_next(M){this.parent.notifyNext(this.outerValue,M,this.outerIndex,this.index++,this)}_error(M){this.parent.notifyError(M,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},9312:(q,Y,w)=>{"use strict";w.d(Y,{P:()=>v});var b=w(8896),i=w(1086),T=w(1737);class v{constructor(L,I,B){this.kind=L,this.value=I,this.error=B,this.hasValue="N"===L}observe(L){switch(this.kind){case"N":return L.next&&L.next(this.value);case"E":return L.error&&L.error(this.error);case"C":return L.complete&&L.complete()}}do(L,I,B){switch(this.kind){case"N":return L&&L(this.value);case"E":return I&&I(this.error);case"C":return B&&B()}}accept(L,I,B){return L&&"function"==typeof L.next?this.observe(L):this.do(L,I,B)}toObservable(){switch(this.kind){case"N":return(0,i.of)(this.value);case"E":return(0,T._)(this.error);case"C":return(0,b.c)()}throw new Error("unexpected notification kind value")}static createNext(L){return void 0!==L?new v("N",L):v.undefinedValueNotification}static createError(L){return new v("E",void 0,L)}static createComplete(){return v.completeNotification}}v.completeNotification=new v("C"),v.undefinedValueNotification=new v("N",void 0)},2916:(q,Y,w)=>{"use strict";w.d(Y,{y:()=>U});var b=w(3489),T=w(7668),M=w(3292),k=w(3821),L=w(5379);var F=w(2830);let U=(()=>{class Q{constructor(ee){this._isScalar=!1,ee&&(this._subscribe=ee)}lift(ee){const ce=new Q;return ce.source=this,ce.operator=ee,ce}subscribe(ee,ce,he){const{operator:ze}=this,He=function v(Q,ae,ee){if(Q){if(Q instanceof b.L)return Q;if(Q[T.b])return Q[T.b]()}return Q||ae||ee?new b.L(Q,ae,ee):new b.L(M.c)}(ee,ce,he);if(He.add(ze?ze.call(He,this.source):this.source||F.v.useDeprecatedSynchronousErrorHandling&&!He.syncErrorThrowable?this._subscribe(He):this._trySubscribe(He)),F.v.useDeprecatedSynchronousErrorHandling&&He.syncErrorThrowable&&(He.syncErrorThrowable=!1,He.syncErrorThrown))throw He.syncErrorValue;return He}_trySubscribe(ee){try{return this._subscribe(ee)}catch(ce){F.v.useDeprecatedSynchronousErrorHandling&&(ee.syncErrorThrown=!0,ee.syncErrorValue=ce),function i(Q){for(;Q;){const{closed:ae,destination:ee,isStopped:ce}=Q;if(ae||ce)return!1;Q=ee&&ee instanceof b.L?ee:null}return!0}(ee)?ee.error(ce):console.warn(ce)}}forEach(ee,ce){return new(ce=X(ce))((he,ze)=>{let He;He=this.subscribe(Ze=>{try{ee(Ze)}catch(bt){ze(bt),He&&He.unsubscribe()}},ze,he)})}_subscribe(ee){const{source:ce}=this;return ce&&ce.subscribe(ee)}[k.L](){return this}pipe(...ee){return 0===ee.length?this:function B(Q){return 0===Q.length?L.y:1===Q.length?Q[0]:function(ee){return Q.reduce((ce,he)=>he(ce),ee)}}(ee)(this)}toPromise(ee){return new(ee=X(ee))((ce,he)=>{let ze;this.subscribe(He=>ze=He,He=>he(He),()=>ce(ze))})}}return Q.create=ae=>new Q(ae),Q})();function X(Q){if(Q||(Q=F.v.Promise||Promise),!Q)throw new Error("no Promise impl found");return Q}},3292:(q,Y,w)=>{"use strict";w.d(Y,{c:()=>T});var b=w(2830),i=w(2782);const T={closed:!0,next(M){},error(M){if(b.v.useDeprecatedSynchronousErrorHandling)throw M;(0,i.z)(M)},complete(){}}},826:(q,Y,w)=>{"use strict";w.d(Y,{L:()=>i});var b=w(3489);class i extends b.L{notifyNext(M,v,k,L,I){this.destination.next(v)}notifyError(M,v){this.destination.error(M)}notifyComplete(M){this.destination.complete()}}},8929:(q,Y,w)=>{"use strict";w.d(Y,{Yc:()=>L,xQ:()=>I});var b=w(2916),i=w(3489),T=w(2654),M=w(5279),v=w(5283),k=w(7668);class L extends i.L{constructor(U){super(U),this.destination=U}}let I=(()=>{class F extends b.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[k.b](){return new L(this)}lift(X){const Q=new B(this,this);return Q.operator=X,Q}next(X){if(this.closed)throw new M.N;if(!this.isStopped){const{observers:Q}=this,ae=Q.length,ee=Q.slice();for(let ce=0;cenew B(U,X),F})();class B extends I{constructor(U,X){super(),this.destination=U,this.source=X}next(U){const{destination:X}=this;X&&X.next&&X.next(U)}error(U){const{destination:X}=this;X&&X.error&&this.destination.error(U)}complete(){const{destination:U}=this;U&&U.complete&&this.destination.complete()}_subscribe(U){const{source:X}=this;return X?this.source.subscribe(U):T.w.EMPTY}}},5283:(q,Y,w)=>{"use strict";w.d(Y,{W:()=>i});var b=w(2654);class i extends b.w{constructor(M,v){super(),this.subject=M,this.subscriber=v,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const M=this.subject,v=M.observers;if(this.subject=null,!v||0===v.length||M.isStopped||M.closed)return;const k=v.indexOf(this.subscriber);-1!==k&&v.splice(k,1)}}},3489:(q,Y,w)=>{"use strict";w.d(Y,{L:()=>L});var b=w(7043),i=w(3292),T=w(2654),M=w(7668),v=w(2830),k=w(2782);class L extends T.w{constructor(F,U,X){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.c;break;case 1:if(!F){this.destination=i.c;break}if("object"==typeof F){F instanceof L?(this.syncErrorThrowable=F.syncErrorThrowable,this.destination=F,F.add(this)):(this.syncErrorThrowable=!0,this.destination=new I(this,F));break}default:this.syncErrorThrowable=!0,this.destination=new I(this,F,U,X)}}[M.b](){return this}static create(F,U,X){const Q=new L(F,U,X);return Q.syncErrorThrowable=!1,Q}next(F){this.isStopped||this._next(F)}error(F){this.isStopped||(this.isStopped=!0,this._error(F))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(F){this.destination.next(F)}_error(F){this.destination.error(F),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:F}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=F,this}}class I extends L{constructor(F,U,X,Q){super(),this._parentSubscriber=F;let ae,ee=this;(0,b.m)(U)?ae=U:U&&(ae=U.next,X=U.error,Q=U.complete,U!==i.c&&(ee=Object.create(U),(0,b.m)(ee.unsubscribe)&&this.add(ee.unsubscribe.bind(ee)),ee.unsubscribe=this.unsubscribe.bind(this))),this._context=ee,this._next=ae,this._error=X,this._complete=Q}next(F){if(!this.isStopped&&this._next){const{_parentSubscriber:U}=this;v.v.useDeprecatedSynchronousErrorHandling&&U.syncErrorThrowable?this.__tryOrSetError(U,this._next,F)&&this.unsubscribe():this.__tryOrUnsub(this._next,F)}}error(F){if(!this.isStopped){const{_parentSubscriber:U}=this,{useDeprecatedSynchronousErrorHandling:X}=v.v;if(this._error)X&&U.syncErrorThrowable?(this.__tryOrSetError(U,this._error,F),this.unsubscribe()):(this.__tryOrUnsub(this._error,F),this.unsubscribe());else if(U.syncErrorThrowable)X?(U.syncErrorValue=F,U.syncErrorThrown=!0):(0,k.z)(F),this.unsubscribe();else{if(this.unsubscribe(),X)throw F;(0,k.z)(F)}}}complete(){if(!this.isStopped){const{_parentSubscriber:F}=this;if(this._complete){const U=()=>this._complete.call(this._context);v.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?(this.__tryOrSetError(F,U),this.unsubscribe()):(this.__tryOrUnsub(U),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(F,U){try{F.call(this._context,U)}catch(X){if(this.unsubscribe(),v.v.useDeprecatedSynchronousErrorHandling)throw X;(0,k.z)(X)}}__tryOrSetError(F,U,X){if(!v.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{U.call(this._context,X)}catch(Q){return v.v.useDeprecatedSynchronousErrorHandling?(F.syncErrorValue=Q,F.syncErrorThrown=!0,!0):((0,k.z)(Q),!0)}return!1}_unsubscribe(){const{_parentSubscriber:F}=this;this._context=null,this._parentSubscriber=null,F.unsubscribe()}}},2654:(q,Y,w)=>{"use strict";w.d(Y,{w:()=>k});var b=w(6688),i=w(7830),T=w(7043);const v=(()=>{function I(B){return Error.call(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((F,U)=>`${U+1}) ${F.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=B,this}return I.prototype=Object.create(Error.prototype),I})();class k{constructor(B){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,B&&(this._unsubscribe=B)}unsubscribe(){let B;if(this.closed)return;let{_parentOrParents:F,_unsubscribe:U,_subscriptions:X}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,F instanceof k)F.remove(this);else if(null!==F)for(let Q=0;QB.concat(F instanceof v?F.errors:F),[])}k.EMPTY=((I=new k).closed=!0,I)},2830:(q,Y,w)=>{"use strict";w.d(Y,{v:()=>i});let b=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(T){if(T){const M=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+M.stack)}else b&&console.log("RxJS: Back to a better error behavior. Thank you. <3");b=T},get useDeprecatedSynchronousErrorHandling(){return b}}},1762:(q,Y,w)=>{"use strict";w.d(Y,{c:()=>v,N:()=>k});var b=w(8929),i=w(2916),T=w(2654),M=w(4327);class v extends i.y{constructor(U,X){super(),this.source=U,this.subjectFactory=X,this._refCount=0,this._isComplete=!1}_subscribe(U){return this.getSubject().subscribe(U)}getSubject(){const U=this._subject;return(!U||U.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let U=this._connection;return U||(this._isComplete=!1,U=this._connection=new T.w,U.add(this.source.subscribe(new L(this.getSubject(),this))),U.closed&&(this._connection=null,U=T.w.EMPTY)),U}refCount(){return(0,M.x)()(this)}}const k=(()=>{const F=v.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:F._subscribe},_isComplete:{value:F._isComplete,writable:!0},getSubject:{value:F.getSubject},connect:{value:F.connect},refCount:{value:F.refCount}}})();class L extends b.Yc{constructor(U,X){super(U),this.connectable=X}_error(U){this._unsubscribe(),super._error(U)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const U=this.connectable;if(U){this.connectable=null;const X=U._connection;U._refCount=0,U._subject=null,U._connection=null,X&&X.unsubscribe()}}}},6053:(q,Y,w)=>{"use strict";w.d(Y,{aj:()=>L});var b=w(2866),i=w(6688),T=w(826),M=w(9054),v=w(3009);const k={};function L(...F){let U=null,X=null;return(0,b.K)(F[F.length-1])&&(X=F.pop()),"function"==typeof F[F.length-1]&&(U=F.pop()),1===F.length&&(0,i.k)(F[0])&&(F=F[0]),(0,v.n)(F,X).lift(new I(U))}class I{constructor(U){this.resultSelector=U}call(U,X){return X.subscribe(new B(U,this.resultSelector))}}class B extends T.L{constructor(U,X){super(U),this.resultSelector=X,this.active=0,this.values=[],this.observables=[]}_next(U){this.values.push(k),this.observables.push(U)}_complete(){const U=this.observables,X=U.length;if(0===X)this.destination.complete();else{this.active=X,this.toRespond=X;for(let Q=0;Q{"use strict";w.d(Y,{E:()=>i,c:()=>T});var b=w(2916);const i=new b.y(v=>v.complete());function T(v){return v?function M(v){return new b.y(k=>v.schedule(()=>k.complete()))}(v):i}},5254:(q,Y,w)=>{"use strict";w.d(Y,{D:()=>ee});var b=w(2916),i=w(9249),T=w(2654),M=w(3821),L=w(6454),I=w(5430),U=w(8955),X=w(8515);function ee(ce,he){return he?function ae(ce,he){if(null!=ce){if(function F(ce){return ce&&"function"==typeof ce[M.L]}(ce))return function v(ce,he){return new b.y(ze=>{const He=new T.w;return He.add(he.schedule(()=>{const Ze=ce[M.L]();He.add(Ze.subscribe({next(bt){He.add(he.schedule(()=>ze.next(bt)))},error(bt){He.add(he.schedule(()=>ze.error(bt)))},complete(){He.add(he.schedule(()=>ze.complete()))}}))})),He})}(ce,he);if((0,U.t)(ce))return function k(ce,he){return new b.y(ze=>{const He=new T.w;return He.add(he.schedule(()=>ce.then(Ze=>{He.add(he.schedule(()=>{ze.next(Ze),He.add(he.schedule(()=>ze.complete()))}))},Ze=>{He.add(he.schedule(()=>ze.error(Ze)))}))),He})}(ce,he);if((0,X.z)(ce))return(0,L.r)(ce,he);if(function Q(ce){return ce&&"function"==typeof ce[I.hZ]}(ce)||"string"==typeof ce)return function B(ce,he){if(!ce)throw new Error("Iterable cannot be null");return new b.y(ze=>{const He=new T.w;let Ze;return He.add(()=>{Ze&&"function"==typeof Ze.return&&Ze.return()}),He.add(he.schedule(()=>{Ze=ce[I.hZ](),He.add(he.schedule(function(){if(ze.closed)return;let bt,St;try{const $e=Ze.next();bt=$e.value,St=$e.done}catch($e){return void ze.error($e)}St?ze.complete():(ze.next(bt),this.schedule())}))})),He})}(ce,he)}throw new TypeError((null!==ce&&typeof ce||ce)+" is not observable")}(ce,he):ce instanceof b.y?ce:new b.y((0,i.s)(ce))}},3009:(q,Y,w)=>{"use strict";w.d(Y,{n:()=>M});var b=w(2916),i=w(3650),T=w(6454);function M(v,k){return k?(0,T.r)(v,k):new b.y((0,i.V)(v))}},6787:(q,Y,w)=>{"use strict";w.d(Y,{T:()=>v});var b=w(2916),i=w(2866),T=w(9146),M=w(3009);function v(...k){let L=Number.POSITIVE_INFINITY,I=null,B=k[k.length-1];return(0,i.K)(B)?(I=k.pop(),k.length>1&&"number"==typeof k[k.length-1]&&(L=k.pop())):"number"==typeof B&&(L=k.pop()),null===I&&1===k.length&&k[0]instanceof b.y?k[0]:(0,T.J)(L)((0,M.n)(k,I))}},1086:(q,Y,w)=>{"use strict";w.d(Y,{of:()=>M});var b=w(2866),i=w(3009),T=w(6454);function M(...v){let k=v[v.length-1];return(0,b.K)(k)?(v.pop(),(0,T.r)(v,k)):(0,i.n)(v)}},1946:(q,Y,w)=>{"use strict";w.d(Y,{S3:()=>v});var b=w(6688),i=w(3009),T=w(826),M=w(9054);function v(...I){if(1===I.length){if(!(0,b.k)(I[0]))return I[0];I=I[0]}return(0,i.n)(I,void 0).lift(new k)}class k{call(B,F){return F.subscribe(new L(B))}}class L extends T.L{constructor(B){super(B),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(B){this.observables.push(B)}_complete(){const B=this.observables,F=B.length;if(0===F)this.destination.complete();else{for(let U=0;U{"use strict";w.d(Y,{_:()=>i});var b=w(2916);function i(M,v){return new b.y(v?k=>v.schedule(T,0,{error:M,subscriber:k}):k=>k.error(M))}function T({error:M,subscriber:v}){v.error(M)}},7221:(q,Y,w)=>{"use strict";w.d(Y,{K:()=>M});var b=w(826),i=w(1869),T=w(9054);function M(L){return function(B){const F=new v(L),U=B.lift(F);return F.caught=U}}class v{constructor(I){this.selector=I}call(I,B){return B.subscribe(new k(I,this.selector,this.caught))}}class k extends b.L{constructor(I,B,F){super(I),this.selector=B,this.caught=F}error(I){if(!this.isStopped){let B;try{B=this.selector(I,this.caught)}catch(X){return void super.error(X)}this._unsubscribeAndRecycle();const F=new i.d(this,void 0,void 0);this.add(F);const U=(0,T.D)(this,B,void 0,void 0,F);U!==F&&this.add(U)}}}},1406:(q,Y,w)=>{"use strict";w.d(Y,{b:()=>i});var b=w(1709);function i(T,M){return(0,b.zg)(T,M,1)}},13:(q,Y,w)=>{"use strict";w.d(Y,{b:()=>T});var b=w(3489),i=w(353);function T(L,I=i.P){return B=>B.lift(new M(L,I))}class M{constructor(I,B){this.dueTime=I,this.scheduler=B}call(I,B){return B.subscribe(new v(I,this.dueTime,this.scheduler))}}class v extends b.L{constructor(I,B,F){super(I),this.dueTime=B,this.scheduler=F,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(I){this.clearDebounce(),this.lastValue=I,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(k,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:I}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(I)}}clearDebounce(){const I=this.debouncedSubscription;null!==I&&(this.remove(I),I.unsubscribe(),this.debouncedSubscription=null)}}function k(L){L.debouncedNext()}},7314:(q,Y,w)=>{"use strict";w.d(Y,{d:()=>i});var b=w(3489);function i(v=null){return k=>k.lift(new T(v))}class T{constructor(k){this.defaultValue=k}call(k,L){return L.subscribe(new M(k,this.defaultValue))}}class M extends b.L{constructor(k,L){super(k),this.defaultValue=L,this.isEmpty=!0}_next(k){this.isEmpty=!1,this.destination.next(k)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(q,Y,w)=>{"use strict";w.d(Y,{g:()=>v});var b=w(353),i=w(2697),T=w(3489),M=w(9312);function v(B,F=b.P){const X=(0,i.J)(B)?+B-F.now():Math.abs(B);return Q=>Q.lift(new k(X,F))}class k{constructor(F,U){this.delay=F,this.scheduler=U}call(F,U){return U.subscribe(new L(F,this.delay,this.scheduler))}}class L extends T.L{constructor(F,U,X){super(F),this.delay=U,this.scheduler=X,this.queue=[],this.active=!1,this.errored=!1}static dispatch(F){const U=F.source,X=U.queue,Q=F.scheduler,ae=F.destination;for(;X.length>0&&X[0].time-Q.now()<=0;)X.shift().notification.observe(ae);if(X.length>0){const ee=Math.max(0,X[0].time-Q.now());this.schedule(F,ee)}else this.unsubscribe(),U.active=!1}_schedule(F){this.active=!0,this.destination.add(F.schedule(L.dispatch,this.delay,{source:this,destination:this.destination,scheduler:F}))}scheduleNotification(F){if(!0===this.errored)return;const U=this.scheduler,X=new I(U.now()+this.delay,F);this.queue.push(X),!1===this.active&&this._schedule(U)}_next(F){this.scheduleNotification(M.P.createNext(F))}_error(F){this.errored=!0,this.queue=[],this.destination.error(F),this.unsubscribe()}_complete(){this.scheduleNotification(M.P.createComplete()),this.unsubscribe()}}class I{constructor(F,U){this.time=F,this.notification=U}}},2198:(q,Y,w)=>{"use strict";w.d(Y,{h:()=>i});var b=w(3489);function i(v,k){return function(I){return I.lift(new T(v,k))}}class T{constructor(k,L){this.predicate=k,this.thisArg=L}call(k,L){return L.subscribe(new M(k,this.predicate,this.thisArg))}}class M extends b.L{constructor(k,L,I){super(k),this.predicate=L,this.thisArg=I,this.count=0}_next(k){let L;try{L=this.predicate.call(this.thisArg,k,this.count++)}catch(I){return void this.destination.error(I)}L&&this.destination.next(k)}}},7224:(q,Y,w)=>{"use strict";w.d(Y,{P:()=>L});var b=w(4450),i=w(2198),T=w(2986),M=w(7314),v=w(4907),k=w(5379);function L(I,B){const F=arguments.length>=2;return U=>U.pipe(I?(0,i.h)((X,Q)=>I(X,Q,U)):k.y,(0,T.q)(1),F?(0,M.d)(B):(0,v.T)(()=>new b.K))}},4850:(q,Y,w)=>{"use strict";w.d(Y,{U:()=>i});var b=w(3489);function i(v,k){return function(I){if("function"!=typeof v)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return I.lift(new T(v,k))}}class T{constructor(k,L){this.project=k,this.thisArg=L}call(k,L){return L.subscribe(new M(k,this.project,this.thisArg))}}class M extends b.L{constructor(k,L,I){super(k),this.project=L,this.count=0,this.thisArg=I||this}_next(k){let L;try{L=this.project.call(this.thisArg,k,this.count++)}catch(I){return void this.destination.error(I)}this.destination.next(L)}}},9146:(q,Y,w)=>{"use strict";w.d(Y,{J:()=>T});var b=w(1709),i=w(5379);function T(M=Number.POSITIVE_INFINITY){return(0,b.zg)(i.y,M)}},1709:(q,Y,w)=>{"use strict";w.d(Y,{zg:()=>k});var b=w(9054),i=w(826),T=w(1869),M=w(4850),v=w(5254);function k(B,F,U=Number.POSITIVE_INFINITY){return"function"==typeof F?X=>X.pipe(k((Q,ae)=>(0,v.D)(B(Q,ae)).pipe((0,M.U)((ee,ce)=>F(Q,ee,ae,ce))),U)):("number"==typeof F&&(U=F),X=>X.lift(new L(B,U)))}class L{constructor(F,U=Number.POSITIVE_INFINITY){this.project=F,this.concurrent=U}call(F,U){return U.subscribe(new I(F,this.project,this.concurrent))}}class I extends i.L{constructor(F,U,X=Number.POSITIVE_INFINITY){super(F),this.project=U,this.concurrent=X,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(F){this.active0?this._next(U.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(q,Y,w)=>{"use strict";w.d(Y,{x:()=>i});var b=w(3489);function i(){return function(k){return k.lift(new T(k))}}class T{constructor(k){this.connectable=k}call(k,L){const{connectable:I}=this;I._refCount++;const B=new M(k,I),F=L.subscribe(B);return B.closed||(B.connection=I.connect()),F}}class M extends b.L{constructor(k,L){super(k),this.connectable=L}_unsubscribe(){const{connectable:k}=this;if(!k)return void(this.connection=null);this.connectable=null;const L=k._refCount;if(L<=0)return void(this.connection=null);if(k._refCount=L-1,L>1)return void(this.connection=null);const{connection:I}=this,B=k._connection;this.connection=null,B&&(!I||B===I)&&B.unsubscribe()}}},2474:(q,Y,w)=>{"use strict";w.d(Y,{B:()=>L});var b=w(1762);class T{constructor(B,F){this.subjectFactory=B,this.selector=F}call(B,F){const{selector:U}=this,X=this.subjectFactory(),Q=U(X).subscribe(B);return Q.add(F.subscribe(X)),Q}}var M=w(4327),v=w(8929);function k(){return new v.xQ}function L(){return I=>(0,M.x)()(function i(I,B){return function(U){let X;if(X="function"==typeof I?I:function(){return I},"function"==typeof B)return U.lift(new T(X,B));const Q=Object.create(U,b.N);return Q.source=U,Q.subjectFactory=X,Q}}(k)(I))}},7545:(q,Y,w)=>{"use strict";w.d(Y,{w:()=>k});var b=w(826),i=w(1869),T=w(9054),M=w(4850),v=w(5254);function k(B,F){return"function"==typeof F?U=>U.pipe(k((X,Q)=>(0,v.D)(B(X,Q)).pipe((0,M.U)((ae,ee)=>F(X,ae,Q,ee))))):U=>U.lift(new L(B))}class L{constructor(F){this.project=F}call(F,U){return U.subscribe(new I(F,this.project))}}class I extends b.L{constructor(F,U){super(F),this.project=U,this.index=0}_next(F){let U;const X=this.index++;try{U=this.project(F,X)}catch(Q){return void this.destination.error(Q)}this._innerSub(U,F,X)}_innerSub(F,U,X){const Q=this.innerSubscription;Q&&Q.unsubscribe();const ae=new i.d(this,U,X),ee=this.destination;ee.add(ae),this.innerSubscription=(0,T.D)(this,F,void 0,void 0,ae),this.innerSubscription!==ae&&ee.add(this.innerSubscription)}_complete(){const{innerSubscription:F}=this;(!F||F.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(F){this.destination.remove(F),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(F,U,X,Q,ae){this.destination.next(U)}}},2986:(q,Y,w)=>{"use strict";w.d(Y,{q:()=>M});var b=w(3489),i=w(4231),T=w(8896);function M(L){return I=>0===L?(0,T.c)():I.lift(new v(L))}class v{constructor(I){if(this.total=I,this.total<0)throw new i.W}call(I,B){return B.subscribe(new k(I,this.total))}}class k extends b.L{constructor(I,B){super(I),this.total=B,this.count=0}_next(I){const B=this.total,F=++this.count;F<=B&&(this.destination.next(I),F===B&&(this.destination.complete(),this.unsubscribe()))}}},2868:(q,Y,w)=>{"use strict";w.d(Y,{b:()=>M});var b=w(3489);function i(){}var T=w(7043);function M(L,I,B){return function(U){return U.lift(new v(L,I,B))}}class v{constructor(I,B,F){this.nextOrObserver=I,this.error=B,this.complete=F}call(I,B){return B.subscribe(new k(I,this.nextOrObserver,this.error,this.complete))}}class k extends b.L{constructor(I,B,F,U){super(I),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=F||i,this._tapComplete=U||i,(0,T.m)(B)?(this._context=this,this._tapNext=B):B&&(this._context=B,this._tapNext=B.next||i,this._tapError=B.error||i,this._tapComplete=B.complete||i)}_next(I){try{this._tapNext.call(this._context,I)}catch(B){return void this.destination.error(B)}this.destination.next(I)}_error(I){try{this._tapError.call(this._context,I)}catch(B){return void this.destination.error(B)}this.destination.error(I)}_complete(){try{this._tapComplete.call(this._context)}catch(I){return void this.destination.error(I)}return this.destination.complete()}}},4907:(q,Y,w)=>{"use strict";w.d(Y,{T:()=>T});var b=w(4450),i=w(3489);function T(L=k){return I=>I.lift(new M(L))}class M{constructor(I){this.errorFactory=I}call(I,B){return B.subscribe(new v(I,this.errorFactory))}}class v extends i.L{constructor(I,B){super(I),this.errorFactory=B,this.hasValue=!1}_next(I){this.hasValue=!0,this.destination.next(I)}_complete(){if(this.hasValue)return this.destination.complete();{let I;try{I=this.errorFactory()}catch(B){I=B}this.destination.error(I)}}}function k(){return new b.K}},6227:(q,Y,w)=>{"use strict";w.d(Y,{V:()=>U});var b=w(353);const T=(()=>{function X(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return X.prototype=Object.create(Error.prototype),X})();var M=w(2697),v=w(826),k=w(9054);class I{constructor(Q,ae,ee,ce){this.waitFor=Q,this.absoluteTimeout=ae,this.withObservable=ee,this.scheduler=ce}call(Q,ae){return ae.subscribe(new B(Q,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class B extends v.L{constructor(Q,ae,ee,ce,he){super(Q),this.absoluteTimeout=ae,this.waitFor=ee,this.withObservable=ce,this.scheduler=he,this.action=null,this.scheduleTimeout()}static dispatchTimeout(Q){const{withObservable:ae}=Q;Q._unsubscribeAndRecycle(),Q.add((0,k.D)(Q,ae))}scheduleTimeout(){const{action:Q}=this;Q?this.action=Q.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(B.dispatchTimeout,this.waitFor,this))}_next(Q){this.absoluteTimeout||this.scheduleTimeout(),super._next(Q)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var F=w(1737);function U(X,Q=b.P){return function L(X,Q,ae=b.P){return ee=>{let ce=(0,M.J)(X),he=ce?+X-ae.now():Math.abs(X);return ee.lift(new I(he,ce,Q,ae))}}(X,(0,F._)(new T),Q)}},6454:(q,Y,w)=>{"use strict";w.d(Y,{r:()=>T});var b=w(2916),i=w(2654);function T(M,v){return new b.y(k=>{const L=new i.w;let I=0;return L.add(v.schedule(function(){I!==M.length?(k.next(M[I++]),k.closed||L.add(this.schedule())):k.complete()})),L})}},6686:(q,Y,w)=>{"use strict";w.d(Y,{o:()=>T});var b=w(2654);class i extends b.w{constructor(v,k){super()}schedule(v,k=0){return this}}class T extends i{constructor(v,k){super(v,k),this.scheduler=v,this.work=k,this.pending=!1}schedule(v,k=0){if(this.closed)return this;this.state=v;const L=this.id,I=this.scheduler;return null!=L&&(this.id=this.recycleAsyncId(I,L,k)),this.pending=!0,this.delay=k,this.id=this.id||this.requestAsyncId(I,this.id,k),this}requestAsyncId(v,k,L=0){return setInterval(v.flush.bind(v,this),L)}recycleAsyncId(v,k,L=0){if(null!==L&&this.delay===L&&!1===this.pending)return k;clearInterval(k)}execute(v,k){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const L=this._execute(v,k);if(L)return L;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(v,k){let I,L=!1;try{this.work(v)}catch(B){L=!0,I=!!B&&B||new Error(B)}if(L)return this.unsubscribe(),I}_unsubscribe(){const v=this.id,k=this.scheduler,L=k.actions,I=L.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==I&&L.splice(I,1),null!=v&&(this.id=this.recycleAsyncId(k,v,null)),this.delay=null}}},2268:(q,Y,w)=>{"use strict";w.d(Y,{v:()=>i});let b=(()=>{class T{constructor(v,k=T.now){this.SchedulerAction=v,this.now=k}schedule(v,k=0,L){return new this.SchedulerAction(this,v).schedule(L,k)}}return T.now=()=>Date.now(),T})();class i extends b{constructor(M,v=b.now){super(M,()=>i.delegate&&i.delegate!==this?i.delegate.now():v()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(M,v=0,k){return i.delegate&&i.delegate!==this?i.delegate.schedule(M,v,k):super.schedule(M,v,k)}flush(M){const{actions:v}=this;if(this.active)return void v.push(M);let k;this.active=!0;do{if(k=M.execute(M.state,M.delay))break}while(M=v.shift());if(this.active=!1,k){for(;M=v.shift();)M.unsubscribe();throw k}}}},353:(q,Y,w)=>{"use strict";w.d(Y,{P:()=>T});var b=w(6686);const T=new(w(2268).v)(b.o)},5430:(q,Y,w)=>{"use strict";w.d(Y,{hZ:()=>i});const i=function b(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(q,Y,w)=>{"use strict";w.d(Y,{L:()=>b});const b="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(q,Y,w)=>{"use strict";w.d(Y,{b:()=>b});const b="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(q,Y,w)=>{"use strict";w.d(Y,{W:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return T.prototype=Object.create(Error.prototype),T})()},4450:(q,Y,w)=>{"use strict";w.d(Y,{K:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return T.prototype=Object.create(Error.prototype),T})()},5279:(q,Y,w)=>{"use strict";w.d(Y,{N:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return T.prototype=Object.create(Error.prototype),T})()},2782:(q,Y,w)=>{"use strict";function b(i){setTimeout(()=>{throw i},0)}w.d(Y,{z:()=>b})},5379:(q,Y,w)=>{"use strict";function b(i){return i}w.d(Y,{y:()=>b})},6688:(q,Y,w)=>{"use strict";w.d(Y,{k:()=>b});const b=Array.isArray||(i=>i&&"number"==typeof i.length)},8515:(q,Y,w)=>{"use strict";w.d(Y,{z:()=>b});const b=i=>i&&"number"==typeof i.length&&"function"!=typeof i},2697:(q,Y,w)=>{"use strict";function b(i){return i instanceof Date&&!isNaN(+i)}w.d(Y,{J:()=>b})},7043:(q,Y,w)=>{"use strict";function b(i){return"function"==typeof i}w.d(Y,{m:()=>b})},7830:(q,Y,w)=>{"use strict";function b(i){return null!==i&&"object"==typeof i}w.d(Y,{K:()=>b})},8955:(q,Y,w)=>{"use strict";function b(i){return!!i&&"function"!=typeof i.subscribe&&"function"==typeof i.then}w.d(Y,{t:()=>b})},2866:(q,Y,w)=>{"use strict";function b(i){return i&&"function"==typeof i.schedule}w.d(Y,{K:()=>b})},9249:(q,Y,w)=>{"use strict";w.d(Y,{s:()=>U});var b=w(3650),i=w(2782),M=w(5430),k=w(3821),I=w(8515),B=w(8955),F=w(7830);const U=X=>{if(X&&"function"==typeof X[k.L])return(X=>Q=>{const ae=X[k.L]();if("function"!=typeof ae.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return ae.subscribe(Q)})(X);if((0,I.z)(X))return(0,b.V)(X);if((0,B.t)(X))return(X=>Q=>(X.then(ae=>{Q.closed||(Q.next(ae),Q.complete())},ae=>Q.error(ae)).then(null,i.z),Q))(X);if(X&&"function"==typeof X[M.hZ])return(X=>Q=>{const ae=X[M.hZ]();for(;;){const ee=ae.next();if(ee.done){Q.complete();break}if(Q.next(ee.value),Q.closed)break}return"function"==typeof ae.return&&Q.add(()=>{ae.return&&ae.return()}),Q})(X);{const ae=`You provided ${(0,F.K)(X)?"an invalid object":`'${X}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(ae)}}},3650:(q,Y,w)=>{"use strict";w.d(Y,{V:()=>b});const b=i=>T=>{for(let M=0,v=i.length;M{"use strict";w.d(Y,{D:()=>M});var b=w(1869),i=w(9249),T=w(2916);function M(v,k,L,I,B=new b.d(v,L,I)){if(!B.closed)return k instanceof T.y?k.subscribe(B):(0,i.s)(k)(B)}},6700:(q,Y,w)=>{var b={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":3165,"./hy-am.js":3165,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":4486,"./th.js":4486,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function i(M){var v=T(M);return w(v)}function T(M){if(!w.o(b,M)){var v=new Error("Cannot find module '"+M+"'");throw v.code="MODULE_NOT_FOUND",v}return b[M]}i.keys=function(){return Object.keys(b)},i.resolve=T,q.exports=i,i.id=6700},655:(q,Y,w)=>{"use strict";function I(de,ge,Ae,_e){return new(Ae||(Ae=Promise))(function(fe,yt){function vt(ft){try{ot(_e.next(ft))}catch(jn){yt(jn)}}function wi(ft){try{ot(_e.throw(ft))}catch(jn){yt(jn)}}function ot(ft){ft.done?fe(ft.value):function Re(fe){return fe instanceof Ae?fe:new Ae(function(yt){yt(fe)})}(ft.value).then(vt,wi)}ot((_e=_e.apply(de,ge||[])).next())})}w.d(Y,{mG:()=>I})},9808:(q,Y,w)=>{"use strict";w.d(Y,{mr:()=>He,Ov:()=>Mn,ez:()=>Vr,K0:()=>L,uU:()=>Fi,Do:()=>bt,V_:()=>F,Ye:()=>St,S$:()=>he,mk:()=>Io,sg:()=>wn,O5:()=>ns,PC:()=>lr,RF:()=>Un,n9:()=>ss,ED:()=>Ua,b0:()=>Ze,lw:()=>I,gd:()=>Bi,EM:()=>ur,JF:()=>hi,NF:()=>Pn,PM:()=>Za,w_:()=>k,bD:()=>Ka,q:()=>T,Mx:()=>Ya,HT:()=>v});var b=w(5e3);let i=null;function T(){return i}function v(P){i||(i=P)}class k{}const L=new b.OlP("DocumentToken");let I=(()=>{class P{historyGo(z){throw new Error("Not implemented")}}return P.\u0275fac=function(z){return new(z||P)},P.\u0275prov=b.Yz7({token:P,factory:function(){return function B(){return(0,b.LFG)(U)}()},providedIn:"platform"}),P})();const F=new b.OlP("Location Initialized");let U=(()=>{class P extends I{constructor(z){super(),this._doc=z,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(z){const W=T().getGlobalEventTarget(this._doc,"window");return W.addEventListener("popstate",z,!1),()=>W.removeEventListener("popstate",z)}onHashChange(z){const W=T().getGlobalEventTarget(this._doc,"window");return W.addEventListener("hashchange",z,!1),()=>W.removeEventListener("hashchange",z)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(z){this.location.pathname=z}pushState(z,W,ne){X()?this._history.pushState(z,W,ne):this.location.hash=ne}replaceState(z,W,ne){X()?this._history.replaceState(z,W,ne):this.location.hash=ne}forward(){this._history.forward()}back(){this._history.back()}historyGo(z=0){this._history.go(z)}getState(){return this._history.state}}return P.\u0275fac=function(z){return new(z||P)(b.LFG(L))},P.\u0275prov=b.Yz7({token:P,factory:function(){return function Q(){return new U((0,b.LFG)(L))}()},providedIn:"platform"}),P})();function X(){return!!window.history.pushState}function ae(P,G){if(0==P.length)return G;if(0==G.length)return P;let z=0;return P.endsWith("/")&&z++,G.startsWith("/")&&z++,2==z?P+G.substring(1):1==z?P+G:P+"/"+G}function ee(P){const G=P.match(/#|\?|$/),z=G&&G.index||P.length;return P.slice(0,z-("/"===P[z-1]?1:0))+P.slice(z)}function ce(P){return P&&"?"!==P[0]?"?"+P:P}let he=(()=>{class P{historyGo(z){throw new Error("Not implemented")}}return P.\u0275fac=function(z){return new(z||P)},P.\u0275prov=b.Yz7({token:P,factory:function(){return function ze(P){const G=(0,b.LFG)(L).location;return new Ze((0,b.LFG)(I),G&&G.origin||"")}()},providedIn:"root"}),P})();const He=new b.OlP("appBaseHref");let Ze=(()=>{class P extends he{constructor(z,W){if(super(),this._platformLocation=z,this._removeListenerFns=[],null==W&&(W=this._platformLocation.getBaseHrefFromDOM()),null==W)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=W}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(z){this._removeListenerFns.push(this._platformLocation.onPopState(z),this._platformLocation.onHashChange(z))}getBaseHref(){return this._baseHref}prepareExternalUrl(z){return ae(this._baseHref,z)}path(z=!1){const W=this._platformLocation.pathname+ce(this._platformLocation.search),ne=this._platformLocation.hash;return ne&&z?`${W}${ne}`:W}pushState(z,W,ne,me){const Te=this.prepareExternalUrl(ne+ce(me));this._platformLocation.pushState(z,W,Te)}replaceState(z,W,ne,me){const Te=this.prepareExternalUrl(ne+ce(me));this._platformLocation.replaceState(z,W,Te)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(z=0){var W,ne;null===(ne=(W=this._platformLocation).historyGo)||void 0===ne||ne.call(W,z)}}return P.\u0275fac=function(z){return new(z||P)(b.LFG(I),b.LFG(He,8))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})(),bt=(()=>{class P extends he{constructor(z,W){super(),this._platformLocation=z,this._baseHref="",this._removeListenerFns=[],null!=W&&(this._baseHref=W)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(z){this._removeListenerFns.push(this._platformLocation.onPopState(z),this._platformLocation.onHashChange(z))}getBaseHref(){return this._baseHref}path(z=!1){let W=this._platformLocation.hash;return null==W&&(W="#"),W.length>0?W.substring(1):W}prepareExternalUrl(z){const W=ae(this._baseHref,z);return W.length>0?"#"+W:W}pushState(z,W,ne,me){let Te=this.prepareExternalUrl(ne+ce(me));0==Te.length&&(Te=this._platformLocation.pathname),this._platformLocation.pushState(z,W,Te)}replaceState(z,W,ne,me){let Te=this.prepareExternalUrl(ne+ce(me));0==Te.length&&(Te=this._platformLocation.pathname),this._platformLocation.replaceState(z,W,Te)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(z=0){var W,ne;null===(ne=(W=this._platformLocation).historyGo)||void 0===ne||ne.call(W,z)}}return P.\u0275fac=function(z){return new(z||P)(b.LFG(I),b.LFG(He,8))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})(),St=(()=>{class P{constructor(z,W){this._subject=new b.vpe,this._urlChangeListeners=[],this._platformStrategy=z;const ne=this._platformStrategy.getBaseHref();this._platformLocation=W,this._baseHref=ee(wt(ne)),this._platformStrategy.onPopState(me=>{this._subject.emit({url:this.path(!0),pop:!0,state:me.state,type:me.type})})}path(z=!1){return this.normalize(this._platformStrategy.path(z))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(z,W=""){return this.path()==this.normalize(z+ce(W))}normalize(z){return P.stripTrailingSlash(function Wi(P,G){return P&&G.startsWith(P)?G.substring(P.length):G}(this._baseHref,wt(z)))}prepareExternalUrl(z){return z&&"/"!==z[0]&&(z="/"+z),this._platformStrategy.prepareExternalUrl(z)}go(z,W="",ne=null){this._platformStrategy.pushState(ne,"",z,W),this._notifyUrlChangeListeners(this.prepareExternalUrl(z+ce(W)),ne)}replaceState(z,W="",ne=null){this._platformStrategy.replaceState(ne,"",z,W),this._notifyUrlChangeListeners(this.prepareExternalUrl(z+ce(W)),ne)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(z=0){var W,ne;null===(ne=(W=this._platformStrategy).historyGo)||void 0===ne||ne.call(W,z)}onUrlChange(z){this._urlChangeListeners.push(z),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(W=>{this._notifyUrlChangeListeners(W.url,W.state)}))}_notifyUrlChangeListeners(z="",W){this._urlChangeListeners.forEach(ne=>ne(z,W))}subscribe(z,W,ne){return this._subject.subscribe({next:z,error:W,complete:ne})}}return P.normalizeQueryParams=ce,P.joinWithSlash=ae,P.stripTrailingSlash=ee,P.\u0275fac=function(z){return new(z||P)(b.LFG(he),b.LFG(I))},P.\u0275prov=b.Yz7({token:P,factory:function(){return function $e(){return new St((0,b.LFG)(he),(0,b.LFG)(I))}()},providedIn:"root"}),P})();function wt(P){return P.replace(/\/index.html$/,"")}var ge=(()=>((ge=ge||{})[ge.Zero=0]="Zero",ge[ge.One=1]="One",ge[ge.Two=2]="Two",ge[ge.Few=3]="Few",ge[ge.Many=4]="Many",ge[ge.Other=5]="Other",ge))(),Ae=(()=>((Ae=Ae||{})[Ae.Format=0]="Format",Ae[Ae.Standalone=1]="Standalone",Ae))(),_e=(()=>((_e=_e||{})[_e.Narrow=0]="Narrow",_e[_e.Abbreviated=1]="Abbreviated",_e[_e.Wide=2]="Wide",_e[_e.Short=3]="Short",_e))(),Re=(()=>((Re=Re||{})[Re.Short=0]="Short",Re[Re.Medium=1]="Medium",Re[Re.Long=2]="Long",Re[Re.Full=3]="Full",Re))(),fe=(()=>((fe=fe||{})[fe.Decimal=0]="Decimal",fe[fe.Group=1]="Group",fe[fe.List=2]="List",fe[fe.PercentSign=3]="PercentSign",fe[fe.PlusSign=4]="PlusSign",fe[fe.MinusSign=5]="MinusSign",fe[fe.Exponential=6]="Exponential",fe[fe.SuperscriptingExponent=7]="SuperscriptingExponent",fe[fe.PerMille=8]="PerMille",fe[fe.Infinity=9]="Infinity",fe[fe.NaN=10]="NaN",fe[fe.TimeSeparator=11]="TimeSeparator",fe[fe.CurrencyDecimal=12]="CurrencyDecimal",fe[fe.CurrencyGroup=13]="CurrencyGroup",fe))();function ai(P,G){return Ge((0,b.cg1)(P)[b.wAp.DateFormat],G)}function gs(P,G){return Ge((0,b.cg1)(P)[b.wAp.TimeFormat],G)}function pn(P,G){return Ge((0,b.cg1)(P)[b.wAp.DateTimeFormat],G)}function ui(P,G){const z=(0,b.cg1)(P),W=z[b.wAp.NumberSymbols][G];if(void 0===W){if(G===fe.CurrencyDecimal)return z[b.wAp.NumberSymbols][fe.Decimal];if(G===fe.CurrencyGroup)return z[b.wAp.NumberSymbols][fe.Group]}return W}const Yn=b.kL8;function le(P){if(!P[b.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${P[b.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ge(P,G){for(let z=G;z>-1;z--)if(void 0!==P[z])return P[z];throw new Error("Locale data API: locale data undefined")}function nt(P){const[G,z]=P.split(":");return{hours:+G,minutes:+z}}const se=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Oe={},ke=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Fe=(()=>((Fe=Fe||{})[Fe.Short=0]="Short",Fe[Fe.ShortGMT=1]="ShortGMT",Fe[Fe.Long=2]="Long",Fe[Fe.Extended=3]="Extended",Fe))(),Ce=(()=>((Ce=Ce||{})[Ce.FullYear=0]="FullYear",Ce[Ce.Month=1]="Month",Ce[Ce.Date=2]="Date",Ce[Ce.Hours=3]="Hours",Ce[Ce.Minutes=4]="Minutes",Ce[Ce.Seconds=5]="Seconds",Ce[Ce.FractionalSeconds=6]="FractionalSeconds",Ce[Ce.Day=7]="Day",Ce))(),Ve=(()=>((Ve=Ve||{})[Ve.DayPeriods=0]="DayPeriods",Ve[Ve.Days=1]="Days",Ve[Ve.Months=2]="Months",Ve[Ve.Eras=3]="Eras",Ve))();function xt(P,G,z,W){let ne=function Ie(P){if(mn(P))return P;if("number"==typeof P&&!isNaN(P))return new Date(P);if("string"==typeof P){if(P=P.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(P)){const[ne,me=1,Te=1]=P.split("-").map(tt=>+tt);return Ni(ne,me-1,Te)}const z=parseFloat(P);if(!isNaN(P-z))return new Date(z);let W;if(W=P.match(se))return function ki(P){const G=new Date(0);let z=0,W=0;const ne=P[8]?G.setUTCFullYear:G.setFullYear,me=P[8]?G.setUTCHours:G.setHours;P[9]&&(z=Number(P[9]+P[10]),W=Number(P[9]+P[11])),ne.call(G,Number(P[1]),Number(P[2])-1,Number(P[3]));const Te=Number(P[4]||0)-z,tt=Number(P[5]||0)-W,li=Number(P[6]||0),Xt=Math.floor(1e3*parseFloat("0."+(P[7]||0)));return me.call(G,Te,tt,li,Xt),G}(W)}const G=new Date(P);if(!mn(G))throw new Error(`Unable to convert "${P}" into a date`);return G}(P);G=Ft(z,G)||G;let tt,Te=[];for(;G;){if(tt=ke.exec(G),!tt){Te.push(G);break}{Te=Te.concat(tt.slice(1));const Ot=Te.pop();if(!Ot)break;G=Ot}}let li=ne.getTimezoneOffset();W&&(li=ar(W,li),ne=function D(P,G,z){const W=z?-1:1,ne=P.getTimezoneOffset();return function Yr(P,G){return(P=new Date(P.getTime())).setMinutes(P.getMinutes()+G),P}(P,W*(ar(G,ne)-ne))}(ne,W,!0));let Xt="";return Te.forEach(Ot=>{const Zt=function rr(P){if(_s[P])return _s[P];let G;switch(P){case"G":case"GG":case"GGG":G=Kt(Ve.Eras,_e.Abbreviated);break;case"GGGG":G=Kt(Ve.Eras,_e.Wide);break;case"GGGGG":G=Kt(Ve.Eras,_e.Narrow);break;case"y":G=We(Ce.FullYear,1,0,!1,!0);break;case"yy":G=We(Ce.FullYear,2,0,!0,!0);break;case"yyy":G=We(Ce.FullYear,3,0,!1,!0);break;case"yyyy":G=We(Ce.FullYear,4,0,!1,!0);break;case"Y":G=lo(1);break;case"YY":G=lo(2,!0);break;case"YYY":G=lo(3);break;case"YYYY":G=lo(4);break;case"M":case"L":G=We(Ce.Month,1,1);break;case"MM":case"LL":G=We(Ce.Month,2,1);break;case"MMM":G=Kt(Ve.Months,_e.Abbreviated);break;case"MMMM":G=Kt(Ve.Months,_e.Wide);break;case"MMMMM":G=Kt(Ve.Months,_e.Narrow);break;case"LLL":G=Kt(Ve.Months,_e.Abbreviated,Ae.Standalone);break;case"LLLL":G=Kt(Ve.Months,_e.Wide,Ae.Standalone);break;case"LLLLL":G=Kt(Ve.Months,_e.Narrow,Ae.Standalone);break;case"w":G=co(1);break;case"ww":G=co(2);break;case"W":G=co(1,!0);break;case"d":G=We(Ce.Date,1);break;case"dd":G=We(Ce.Date,2);break;case"c":case"cc":G=We(Ce.Day,1);break;case"ccc":G=Kt(Ve.Days,_e.Abbreviated,Ae.Standalone);break;case"cccc":G=Kt(Ve.Days,_e.Wide,Ae.Standalone);break;case"ccccc":G=Kt(Ve.Days,_e.Narrow,Ae.Standalone);break;case"cccccc":G=Kt(Ve.Days,_e.Short,Ae.Standalone);break;case"E":case"EE":case"EEE":G=Kt(Ve.Days,_e.Abbreviated);break;case"EEEE":G=Kt(Ve.Days,_e.Wide);break;case"EEEEE":G=Kt(Ve.Days,_e.Narrow);break;case"EEEEEE":G=Kt(Ve.Days,_e.Short);break;case"a":case"aa":case"aaa":G=Kt(Ve.DayPeriods,_e.Abbreviated);break;case"aaaa":G=Kt(Ve.DayPeriods,_e.Wide);break;case"aaaaa":G=Kt(Ve.DayPeriods,_e.Narrow);break;case"b":case"bb":case"bbb":G=Kt(Ve.DayPeriods,_e.Abbreviated,Ae.Standalone,!0);break;case"bbbb":G=Kt(Ve.DayPeriods,_e.Wide,Ae.Standalone,!0);break;case"bbbbb":G=Kt(Ve.DayPeriods,_e.Narrow,Ae.Standalone,!0);break;case"B":case"BB":case"BBB":G=Kt(Ve.DayPeriods,_e.Abbreviated,Ae.Format,!0);break;case"BBBB":G=Kt(Ve.DayPeriods,_e.Wide,Ae.Format,!0);break;case"BBBBB":G=Kt(Ve.DayPeriods,_e.Narrow,Ae.Format,!0);break;case"h":G=We(Ce.Hours,1,-12);break;case"hh":G=We(Ce.Hours,2,-12);break;case"H":G=We(Ce.Hours,1);break;case"HH":G=We(Ce.Hours,2);break;case"m":G=We(Ce.Minutes,1);break;case"mm":G=We(Ce.Minutes,2);break;case"s":G=We(Ce.Seconds,1);break;case"ss":G=We(Ce.Seconds,2);break;case"S":G=We(Ce.FractionalSeconds,1);break;case"SS":G=We(Ce.FractionalSeconds,2);break;case"SSS":G=We(Ce.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":G=ms(Fe.Short);break;case"ZZZZZ":G=ms(Fe.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":G=ms(Fe.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":G=ms(Fe.Long);break;default:return null}return _s[P]=G,G}(Ot);Xt+=Zt?Zt(ne,z,li):"''"===Ot?"'":Ot.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Xt}function Ni(P,G,z){const W=new Date(0);return W.setFullYear(P,G,z),W.setHours(0,0,0),W}function Ft(P,G){const z=function vt(P){return(0,b.cg1)(P)[b.wAp.LocaleId]}(P);if(Oe[z]=Oe[z]||{},Oe[z][G])return Oe[z][G];let W="";switch(G){case"shortDate":W=ai(P,Re.Short);break;case"mediumDate":W=ai(P,Re.Medium);break;case"longDate":W=ai(P,Re.Long);break;case"fullDate":W=ai(P,Re.Full);break;case"shortTime":W=gs(P,Re.Short);break;case"mediumTime":W=gs(P,Re.Medium);break;case"longTime":W=gs(P,Re.Long);break;case"fullTime":W=gs(P,Re.Full);break;case"short":const ne=Ft(P,"shortTime"),me=Ft(P,"shortDate");W=qs(pn(P,Re.Short),[ne,me]);break;case"medium":const Te=Ft(P,"mediumTime"),tt=Ft(P,"mediumDate");W=qs(pn(P,Re.Medium),[Te,tt]);break;case"long":const li=Ft(P,"longTime"),Xt=Ft(P,"longDate");W=qs(pn(P,Re.Long),[li,Xt]);break;case"full":const Ot=Ft(P,"fullTime"),Zt=Ft(P,"fullDate");W=qs(pn(P,Re.Full),[Ot,Zt])}return W&&(Oe[z][G]=W),W}function qs(P,G){return G&&(P=P.replace(/\{([^}]+)}/g,function(z,W){return null!=G&&W in G?G[W]:z})),P}function Hi(P,G,z="-",W,ne){let me="";(P<0||ne&&P<=0)&&(ne?P=1-P:(P=-P,me=z));let Te=String(P);for(;Te.length0||tt>-z)&&(tt+=z),P===Ce.Hours)0===tt&&-12===z&&(tt=12);else if(P===Ce.FractionalSeconds)return function ct(P,G){return Hi(P,3).substr(0,G)}(tt,G);const li=ui(Te,fe.MinusSign);return Hi(tt,G,li,W,ne)}}function Kt(P,G,z=Ae.Format,W=!1){return function(ne,me){return function Mt(P,G,z,W,ne,me){switch(z){case Ve.Months:return function ft(P,G,z){const W=(0,b.cg1)(P),me=Ge([W[b.wAp.MonthsFormat],W[b.wAp.MonthsStandalone]],G);return Ge(me,z)}(G,ne,W)[P.getMonth()];case Ve.Days:return function ot(P,G,z){const W=(0,b.cg1)(P),me=Ge([W[b.wAp.DaysFormat],W[b.wAp.DaysStandalone]],G);return Ge(me,z)}(G,ne,W)[P.getDay()];case Ve.DayPeriods:const Te=P.getHours(),tt=P.getMinutes();if(me){const Xt=function xe(P){const G=(0,b.cg1)(P);return le(G),(G[b.wAp.ExtraData][2]||[]).map(W=>"string"==typeof W?nt(W):[nt(W[0]),nt(W[1])])}(G),Ot=function pe(P,G,z){const W=(0,b.cg1)(P);le(W);const me=Ge([W[b.wAp.ExtraData][0],W[b.wAp.ExtraData][1]],G)||[];return Ge(me,z)||[]}(G,ne,W),Zt=Xt.findIndex(Zi=>{if(Array.isArray(Zi)){const[vi,_i]=Zi,bo=Te>=vi.hours&&tt>=vi.minutes,Ss=Te<_i.hours||Te===_i.hours&&tt<_i.minutes;if(vi.hours<_i.hours){if(bo&&Ss)return!0}else if(bo||Ss)return!0}else if(Zi.hours===Te&&Zi.minutes===tt)return!0;return!1});if(-1!==Zt)return Ot[Zt]}return function wi(P,G,z){const W=(0,b.cg1)(P),me=Ge([W[b.wAp.DayPeriodsFormat],W[b.wAp.DayPeriodsStandalone]],G);return Ge(me,z)}(G,ne,W)[Te<12?0:1];case Ve.Eras:return function jn(P,G){return Ge((0,b.cg1)(P)[b.wAp.Eras],G)}(G,W)[P.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${z}`)}}(ne,me,P,G,z,W)}}function ms(P){return function(G,z,W){const ne=-1*W,me=ui(z,fe.MinusSign),Te=ne>0?Math.floor(ne/60):Math.ceil(ne/60);switch(P){case Fe.Short:return(ne>=0?"+":"")+Hi(Te,2,me)+Hi(Math.abs(ne%60),2,me);case Fe.ShortGMT:return"GMT"+(ne>=0?"+":"")+Hi(Te,1,me);case Fe.Long:return"GMT"+(ne>=0?"+":"")+Hi(Te,2,me)+":"+Hi(Math.abs(ne%60),2,me);case Fe.Extended:return 0===W?"Z":(ne>=0?"+":"")+Hi(Te,2,me)+":"+Hi(Math.abs(ne%60),2,me);default:throw new Error(`Unknown zone width "${P}"`)}}}function zo(P){return Ni(P.getFullYear(),P.getMonth(),P.getDate()+(4-P.getDay()))}function co(P,G=!1){return function(z,W){let ne;if(G){const me=new Date(z.getFullYear(),z.getMonth(),1).getDay()-1,Te=z.getDate();ne=1+Math.floor((Te+me)/7)}else{const me=zo(z),Te=function nl(P){const G=Ni(P,0,1).getDay();return Ni(P,0,1+(G<=4?4:11)-G)}(me.getFullYear()),tt=me.getTime()-Te.getTime();ne=1+Math.round(tt/6048e5)}return Hi(ne,P,ui(W,fe.MinusSign))}}function lo(P,G=!1){return function(z,W){return Hi(zo(z).getFullYear(),P,ui(W,fe.MinusSign),G)}}const _s={};function ar(P,G){P=P.replace(/:/g,"");const z=Date.parse("Jan 01, 1970 00:00:00 "+P)/6e4;return isNaN(z)?G:z}function mn(P){return P instanceof Date&&!isNaN(P.valueOf())}class Tt{}let uo=(()=>{class P extends Tt{constructor(z){super(),this.locale=z}getPluralCategory(z,W){switch(Yn(W||this.locale)(z)){case ge.Zero:return"zero";case ge.One:return"one";case ge.Two:return"two";case ge.Few:return"few";case ge.Many:return"many";default:return"other"}}}return P.\u0275fac=function(z){return new(z||P)(b.LFG(b.soG))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})();function Ya(P,G){G=encodeURIComponent(G);for(const z of P.split(";")){const W=z.indexOf("="),[ne,me]=-1==W?[z,""]:[z.slice(0,W),z.slice(W+1)];if(ne.trim()===G)return decodeURIComponent(me)}return null}let Io=(()=>{class P{constructor(z,W,ne,me){this._iterableDiffers=z,this._keyValueDiffers=W,this._ngEl=ne,this._renderer=me,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(z){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof z?z.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(z){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof z?z.split(/\s+/):z,this._rawClass&&((0,b.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const z=this._iterableDiffer.diff(this._rawClass);z&&this._applyIterableChanges(z)}else if(this._keyValueDiffer){const z=this._keyValueDiffer.diff(this._rawClass);z&&this._applyKeyValueChanges(z)}}_applyKeyValueChanges(z){z.forEachAddedItem(W=>this._toggleClass(W.key,W.currentValue)),z.forEachChangedItem(W=>this._toggleClass(W.key,W.currentValue)),z.forEachRemovedItem(W=>{W.previousValue&&this._toggleClass(W.key,!1)})}_applyIterableChanges(z){z.forEachAddedItem(W=>{if("string"!=typeof W.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,b.AaK)(W.item)}`);this._toggleClass(W.item,!0)}),z.forEachRemovedItem(W=>this._toggleClass(W.item,!1))}_applyClasses(z){z&&(Array.isArray(z)||z instanceof Set?z.forEach(W=>this._toggleClass(W,!0)):Object.keys(z).forEach(W=>this._toggleClass(W,!!z[W])))}_removeClasses(z){z&&(Array.isArray(z)||z instanceof Set?z.forEach(W=>this._toggleClass(W,!1)):Object.keys(z).forEach(W=>this._toggleClass(W,!1)))}_toggleClass(z,W){(z=z.trim())&&z.split(/\s+/g).forEach(ne=>{W?this._renderer.addClass(this._ngEl.nativeElement,ne):this._renderer.removeClass(this._ngEl.nativeElement,ne)})}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.ZZ4),b.Y36(b.aQg),b.Y36(b.SBq),b.Y36(b.Qsj))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),P})();class cr{constructor(G,z,W,ne){this.$implicit=G,this.ngForOf=z,this.index=W,this.count=ne}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let wn=(()=>{class P{constructor(z,W,ne){this._viewContainer=z,this._template=W,this._differs=ne,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(z){this._ngForOf=z,this._ngForOfDirty=!0}set ngForTrackBy(z){this._trackByFn=z}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(z){z&&(this._template=z)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const z=this._ngForOf;!this._differ&&z&&(this._differ=this._differs.find(z).create(this.ngForTrackBy))}if(this._differ){const z=this._differ.diff(this._ngForOf);z&&this._applyChanges(z)}}_applyChanges(z){const W=this._viewContainer;z.forEachOperation((ne,me,Te)=>{if(null==ne.previousIndex)W.createEmbeddedView(this._template,new cr(ne.item,this._ngForOf,-1,-1),null===Te?void 0:Te);else if(null==Te)W.remove(null===me?void 0:me);else if(null!==me){const tt=W.get(me);W.move(tt,Te),No(tt,ne)}});for(let ne=0,me=W.length;ne{No(W.get(ne.currentIndex),ne)})}static ngTemplateContextGuard(z,W){return!0}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(b.ZZ4))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),P})();function No(P,G){P.context.$implicit=G.item}let ns=(()=>{class P{constructor(z,W){this._viewContainer=z,this._context=new di,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=W}set ngIf(z){this._context.$implicit=this._context.ngIf=z,this._updateView()}set ngIfThen(z){ol("ngIfThen",z),this._thenTemplateRef=z,this._thenViewRef=null,this._updateView()}set ngIfElse(z){ol("ngIfElse",z),this._elseTemplateRef=z,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(z,W){return!0}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.s_b),b.Y36(b.Rgc))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),P})();class di{constructor(){this.$implicit=null,this.ngIf=null}}function ol(P,G){if(G&&!G.createEmbeddedView)throw new Error(`${P} must be a TemplateRef, but received '${(0,b.AaK)(G)}'.`)}class Ho{constructor(G,z){this._viewContainerRef=G,this._templateRef=z,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(G){G&&!this._created?this.create():!G&&this._created&&this.destroy()}}let Un=(()=>{class P{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(z){this._ngSwitch=z,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(z){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(z)}_matchCase(z){const W=z==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||W,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),W}_updateDefaultCases(z){if(this._defaultViews&&z!==this._defaultUsed){this._defaultUsed=z;for(let W=0;W{class P{constructor(z,W,ne){this.ngSwitch=ne,ne._addCase(),this._view=new Ho(z,W)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Un,9))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),P})(),Ua=(()=>{class P{constructor(z,W,ne){ne._addDefault(new Ho(z,W))}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Un,9))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngSwitchDefault",""]]}),P})(),lr=(()=>{class P{constructor(z,W,ne){this._ngEl=z,this._differs=W,this._renderer=ne,this._ngStyle=null,this._differ=null}set ngStyle(z){this._ngStyle=z,!this._differ&&z&&(this._differ=this._differs.find(z).create())}ngDoCheck(){if(this._differ){const z=this._differ.diff(this._ngStyle);z&&this._applyChanges(z)}}_setStyle(z,W){const[ne,me]=z.split(".");null!=(W=null!=W&&me?`${W}${me}`:W)?this._renderer.setStyle(this._ngEl.nativeElement,ne,W):this._renderer.removeStyle(this._ngEl.nativeElement,ne)}_applyChanges(z){z.forEachRemovedItem(W=>this._setStyle(W.key,null)),z.forEachAddedItem(W=>this._setStyle(W.key,W.currentValue)),z.forEachChangedItem(W=>this._setStyle(W.key,W.currentValue))}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.SBq),b.Y36(b.aQg),b.Y36(b.Qsj))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),P})();function bs(P,G){return new b.vHH(2100,"")}class up{createSubscription(G,z){return G.subscribe({next:z,error:W=>{throw W}})}dispose(G){G.unsubscribe()}onDestroy(G){G.unsubscribe()}}class Rt{createSubscription(G,z){return G.then(z,W=>{throw W})}dispose(G){}onDestroy(G){}}const Ga=new Rt,qt=new up;let Mn=(()=>{class P{constructor(z){this._ref=z,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(z){return this._obj?z!==this._obj?(this._dispose(),this.transform(z)):this._latestValue:(z&&this._subscribe(z),this._latestValue)}_subscribe(z){this._obj=z,this._strategy=this._selectStrategy(z),this._subscription=this._strategy.createSubscription(z,W=>this._updateLatestValue(z,W))}_selectStrategy(z){if((0,b.QGY)(z))return Ga;if((0,b.F4k)(z))return qt;throw bs()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(z,W){z===this._obj&&(this._latestValue=W,this._ref.markForCheck())}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.sBO,16))},P.\u0275pipe=b.Yjl({name:"async",type:P,pure:!1}),P})(),Bi=(()=>{class P{transform(z){if(null==z)return null;if("string"!=typeof z)throw bs();return z.toUpperCase()}}return P.\u0275fac=function(z){return new(z||P)},P.\u0275pipe=b.Yjl({name:"uppercase",type:P,pure:!0}),P})();const Gr=new b.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Fi=(()=>{class P{constructor(z,W){this.locale=z,this.defaultTimezone=W}transform(z,W="mediumDate",ne,me){var Te;if(null==z||""===z||z!=z)return null;try{return xt(z,W,me||this.locale,null!==(Te=null!=ne?ne:this.defaultTimezone)&&void 0!==Te?Te:void 0)}catch(tt){throw bs()}}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.soG,16),b.Y36(Gr,24))},P.\u0275pipe=b.Yjl({name:"date",type:P,pure:!0}),P})(),Vr=(()=>{class P{}return P.\u0275fac=function(z){return new(z||P)},P.\u0275mod=b.oAB({type:P}),P.\u0275inj=b.cJS({providers:[{provide:Tt,useClass:uo}]}),P})();const Ka="browser";function Pn(P){return P===Ka}function Za(P){return"server"===P}let ur=(()=>{class P{}return P.\u0275prov=(0,b.Yz7)({token:P,providedIn:"root",factory:()=>new mo((0,b.LFG)(L),window)}),P})();class mo{constructor(G,z){this.document=G,this.window=z,this.offset=()=>[0,0]}setOffset(G){this.offset=Array.isArray(G)?()=>G:G}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(G){this.supportsScrolling()&&this.window.scrollTo(G[0],G[1])}scrollToAnchor(G){if(!this.supportsScrolling())return;const z=function en(P,G){const z=P.getElementById(G)||P.getElementsByName(G)[0];if(z)return z;if("function"==typeof P.createTreeWalker&&P.body&&(P.body.createShadowRoot||P.body.attachShadow)){const W=P.createTreeWalker(P.body,NodeFilter.SHOW_ELEMENT);let ne=W.currentNode;for(;ne;){const me=ne.shadowRoot;if(me){const Te=me.getElementById(G)||me.querySelector(`[name="${G}"]`);if(Te)return Te}ne=W.nextNode()}}return null}(this.document,G);z&&(this.scrollToElement(z),z.focus())}setHistoryScrollRestoration(G){if(this.supportScrollRestoration()){const z=this.window.history;z&&z.scrollRestoration&&(z.scrollRestoration=G)}}scrollToElement(G){const z=G.getBoundingClientRect(),W=z.left+this.window.pageXOffset,ne=z.top+this.window.pageYOffset,me=this.offset();this.window.scrollTo(W-me[0],ne-me[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const G=_o(this.window.history)||_o(Object.getPrototypeOf(this.window.history));return!(!G||!G.writable&&!G.set)}catch(G){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(G){return!1}}}function _o(P){return Object.getOwnPropertyDescriptor(P,"scrollRestoration")}class hi{}},520:(q,Y,w)=>{"use strict";w.d(Y,{TP:()=>vt,eN:()=>fe,JF:()=>Ge,WM:()=>F,LE:()=>he,Zn:()=>Ae});var b=w(9808),i=w(5e3),T=w(1086),M=w(2916),v=w(1406),k=w(2198),L=w(4850);class I{}class B{}class F{constructor(te){this.normalizedNames=new Map,this.lazyUpdate=null,te?this.lazyInit="string"==typeof te?()=>{this.headers=new Map,te.split("\n").forEach(se=>{const Oe=se.indexOf(":");if(Oe>0){const ke=se.slice(0,Oe),Fe=ke.toLowerCase(),Ce=se.slice(Oe+1).trim();this.maybeSetNormalizedName(ke,Fe),this.headers.has(Fe)?this.headers.get(Fe).push(Ce):this.headers.set(Fe,[Ce])}})}:()=>{this.headers=new Map,Object.keys(te).forEach(se=>{let Oe=te[se];const ke=se.toLowerCase();"string"==typeof Oe&&(Oe=[Oe]),Oe.length>0&&(this.headers.set(ke,Oe),this.maybeSetNormalizedName(se,ke))})}:this.headers=new Map}has(te){return this.init(),this.headers.has(te.toLowerCase())}get(te){this.init();const se=this.headers.get(te.toLowerCase());return se&&se.length>0?se[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(te){return this.init(),this.headers.get(te.toLowerCase())||null}append(te,se){return this.clone({name:te,value:se,op:"a"})}set(te,se){return this.clone({name:te,value:se,op:"s"})}delete(te,se){return this.clone({name:te,value:se,op:"d"})}maybeSetNormalizedName(te,se){this.normalizedNames.has(se)||this.normalizedNames.set(se,te)}init(){this.lazyInit&&(this.lazyInit instanceof F?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(te=>this.applyUpdate(te)),this.lazyUpdate=null))}copyFrom(te){te.init(),Array.from(te.headers.keys()).forEach(se=>{this.headers.set(se,te.headers.get(se)),this.normalizedNames.set(se,te.normalizedNames.get(se))})}clone(te){const se=new F;return se.lazyInit=this.lazyInit&&this.lazyInit instanceof F?this.lazyInit:this,se.lazyUpdate=(this.lazyUpdate||[]).concat([te]),se}applyUpdate(te){const se=te.name.toLowerCase();switch(te.op){case"a":case"s":let Oe=te.value;if("string"==typeof Oe&&(Oe=[Oe]),0===Oe.length)return;this.maybeSetNormalizedName(te.name,se);const ke=("a"===te.op?this.headers.get(se):void 0)||[];ke.push(...Oe),this.headers.set(se,ke);break;case"d":const Fe=te.value;if(Fe){let Ce=this.headers.get(se);if(!Ce)return;Ce=Ce.filter(Ve=>-1===Fe.indexOf(Ve)),0===Ce.length?(this.headers.delete(se),this.normalizedNames.delete(se)):this.headers.set(se,Ce)}else this.headers.delete(se),this.normalizedNames.delete(se)}}forEach(te){this.init(),Array.from(this.normalizedNames.keys()).forEach(se=>te(this.normalizedNames.get(se),this.headers.get(se)))}}class U{encodeKey(te){return ee(te)}encodeValue(te){return ee(te)}decodeKey(te){return decodeURIComponent(te)}decodeValue(te){return decodeURIComponent(te)}}const Q=/%(\d[a-f0-9])/gi,ae={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ee(we){return encodeURIComponent(we).replace(Q,(te,se)=>{var Oe;return null!==(Oe=ae[se])&&void 0!==Oe?Oe:te})}function ce(we){return`${we}`}class he{constructor(te={}){if(this.updates=null,this.cloneFrom=null,this.encoder=te.encoder||new U,te.fromString){if(te.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function X(we,te){const se=new Map;return we.length>0&&we.replace(/^\?/,"").split("&").forEach(ke=>{const Fe=ke.indexOf("="),[Ce,Ve]=-1==Fe?[te.decodeKey(ke),""]:[te.decodeKey(ke.slice(0,Fe)),te.decodeValue(ke.slice(Fe+1))],xt=se.get(Ce)||[];xt.push(Ve),se.set(Ce,xt)}),se}(te.fromString,this.encoder)}else te.fromObject?(this.map=new Map,Object.keys(te.fromObject).forEach(se=>{const Oe=te.fromObject[se];this.map.set(se,Array.isArray(Oe)?Oe:[Oe])})):this.map=null}has(te){return this.init(),this.map.has(te)}get(te){this.init();const se=this.map.get(te);return se?se[0]:null}getAll(te){return this.init(),this.map.get(te)||null}keys(){return this.init(),Array.from(this.map.keys())}append(te,se){return this.clone({param:te,value:se,op:"a"})}appendAll(te){const se=[];return Object.keys(te).forEach(Oe=>{const ke=te[Oe];Array.isArray(ke)?ke.forEach(Fe=>{se.push({param:Oe,value:Fe,op:"a"})}):se.push({param:Oe,value:ke,op:"a"})}),this.clone(se)}set(te,se){return this.clone({param:te,value:se,op:"s"})}delete(te,se){return this.clone({param:te,value:se,op:"d"})}toString(){return this.init(),this.keys().map(te=>{const se=this.encoder.encodeKey(te);return this.map.get(te).map(Oe=>se+"="+this.encoder.encodeValue(Oe)).join("&")}).filter(te=>""!==te).join("&")}clone(te){const se=new he({encoder:this.encoder});return se.cloneFrom=this.cloneFrom||this,se.updates=(this.updates||[]).concat(te),se}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(te=>this.map.set(te,this.cloneFrom.map.get(te))),this.updates.forEach(te=>{switch(te.op){case"a":case"s":const se=("a"===te.op?this.map.get(te.param):void 0)||[];se.push(ce(te.value)),this.map.set(te.param,se);break;case"d":if(void 0===te.value){this.map.delete(te.param);break}{let Oe=this.map.get(te.param)||[];const ke=Oe.indexOf(ce(te.value));-1!==ke&&Oe.splice(ke,1),Oe.length>0?this.map.set(te.param,Oe):this.map.delete(te.param)}}}),this.cloneFrom=this.updates=null)}}class He{constructor(){this.map=new Map}set(te,se){return this.map.set(te,se),this}get(te){return this.map.has(te)||this.map.set(te,te.defaultValue()),this.map.get(te)}delete(te){return this.map.delete(te),this}has(te){return this.map.has(te)}keys(){return this.map.keys()}}function bt(we){return"undefined"!=typeof ArrayBuffer&&we instanceof ArrayBuffer}function St(we){return"undefined"!=typeof Blob&&we instanceof Blob}function $e(we){return"undefined"!=typeof FormData&&we instanceof FormData}class wt{constructor(te,se,Oe,ke){let Fe;if(this.url=se,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=te.toUpperCase(),function Ze(we){switch(we){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ke?(this.body=void 0!==Oe?Oe:null,Fe=ke):Fe=Oe,Fe&&(this.reportProgress=!!Fe.reportProgress,this.withCredentials=!!Fe.withCredentials,Fe.responseType&&(this.responseType=Fe.responseType),Fe.headers&&(this.headers=Fe.headers),Fe.context&&(this.context=Fe.context),Fe.params&&(this.params=Fe.params)),this.headers||(this.headers=new F),this.context||(this.context=new He),this.params){const Ce=this.params.toString();if(0===Ce.length)this.urlWithParams=se;else{const Ve=se.indexOf("?");this.urlWithParams=se+(-1===Ve?"?":VeHi.set(ct,te.setHeaders[ct]),Ni)),te.setParams&&(Ft=Object.keys(te.setParams).reduce((Hi,ct)=>Hi.set(ct,te.setParams[ct]),Ft)),new wt(Oe,ke,Ce,{params:Ft,headers:Ni,context:qs,reportProgress:xt,responseType:Fe,withCredentials:Ve})}}var mt=(()=>((mt=mt||{})[mt.Sent=0]="Sent",mt[mt.UploadProgress=1]="UploadProgress",mt[mt.ResponseHeader=2]="ResponseHeader",mt[mt.DownloadProgress=3]="DownloadProgress",mt[mt.Response=4]="Response",mt[mt.User=5]="User",mt))();class de{constructor(te,se=200,Oe="OK"){this.headers=te.headers||new F,this.status=void 0!==te.status?te.status:se,this.statusText=te.statusText||Oe,this.url=te.url||null,this.ok=this.status>=200&&this.status<300}}class ge extends de{constructor(te={}){super(te),this.type=mt.ResponseHeader}clone(te={}){return new ge({headers:te.headers||this.headers,status:void 0!==te.status?te.status:this.status,statusText:te.statusText||this.statusText,url:te.url||this.url||void 0})}}class Ae extends de{constructor(te={}){super(te),this.type=mt.Response,this.body=void 0!==te.body?te.body:null}clone(te={}){return new Ae({body:void 0!==te.body?te.body:this.body,headers:te.headers||this.headers,status:void 0!==te.status?te.status:this.status,statusText:te.statusText||this.statusText,url:te.url||this.url||void 0})}}class _e extends de{constructor(te){super(te,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${te.url||"(unknown url)"}`:`Http failure response for ${te.url||"(unknown url)"}: ${te.status} ${te.statusText}`,this.error=te.error||null}}function Re(we,te){return{body:te,headers:we.headers,context:we.context,observe:we.observe,params:we.params,reportProgress:we.reportProgress,responseType:we.responseType,withCredentials:we.withCredentials}}let fe=(()=>{class we{constructor(se){this.handler=se}request(se,Oe,ke={}){let Fe;if(se instanceof wt)Fe=se;else{let xt,Ni;xt=ke.headers instanceof F?ke.headers:new F(ke.headers),ke.params&&(Ni=ke.params instanceof he?ke.params:new he({fromObject:ke.params})),Fe=new wt(se,Oe,void 0!==ke.body?ke.body:null,{headers:xt,context:ke.context,params:Ni,reportProgress:ke.reportProgress,responseType:ke.responseType||"json",withCredentials:ke.withCredentials})}const Ce=(0,T.of)(Fe).pipe((0,v.b)(xt=>this.handler.handle(xt)));if(se instanceof wt||"events"===ke.observe)return Ce;const Ve=Ce.pipe((0,k.h)(xt=>xt instanceof Ae));switch(ke.observe||"body"){case"body":switch(Fe.responseType){case"arraybuffer":return Ve.pipe((0,L.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return xt.body}));case"blob":return Ve.pipe((0,L.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof Blob))throw new Error("Response is not a Blob.");return xt.body}));case"text":return Ve.pipe((0,L.U)(xt=>{if(null!==xt.body&&"string"!=typeof xt.body)throw new Error("Response is not a string.");return xt.body}));default:return Ve.pipe((0,L.U)(xt=>xt.body))}case"response":return Ve;default:throw new Error(`Unreachable: unhandled observe type ${ke.observe}}`)}}delete(se,Oe={}){return this.request("DELETE",se,Oe)}get(se,Oe={}){return this.request("GET",se,Oe)}head(se,Oe={}){return this.request("HEAD",se,Oe)}jsonp(se,Oe){return this.request("JSONP",se,{params:(new he).append(Oe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(se,Oe={}){return this.request("OPTIONS",se,Oe)}patch(se,Oe,ke={}){return this.request("PATCH",se,Re(ke,Oe))}post(se,Oe,ke={}){return this.request("POST",se,Re(ke,Oe))}put(se,Oe,ke={}){return this.request("PUT",se,Re(ke,Oe))}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(I))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})();class yt{constructor(te,se){this.next=te,this.interceptor=se}handle(te){return this.interceptor.intercept(te,this.next)}}const vt=new i.OlP("HTTP_INTERCEPTORS");let wi=(()=>{class we{intercept(se,Oe){return Oe.handle(se)}}return we.\u0275fac=function(se){return new(se||we)},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})();const pn=/^\)\]\}',?\n/;let Wt=(()=>{class we{constructor(se){this.xhrFactory=se}handle(se){if("JSONP"===se.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new M.y(Oe=>{const ke=this.xhrFactory.build();if(ke.open(se.method,se.urlWithParams),se.withCredentials&&(ke.withCredentials=!0),se.headers.forEach((ct,We)=>ke.setRequestHeader(ct,We.join(","))),se.headers.has("Accept")||ke.setRequestHeader("Accept","application/json, text/plain, */*"),!se.headers.has("Content-Type")){const ct=se.detectContentTypeHeader();null!==ct&&ke.setRequestHeader("Content-Type",ct)}if(se.responseType){const ct=se.responseType.toLowerCase();ke.responseType="json"!==ct?ct:"text"}const Fe=se.serializeBody();let Ce=null;const Ve=()=>{if(null!==Ce)return Ce;const ct=ke.statusText||"OK",We=new F(ke.getAllResponseHeaders()),Kn=function ui(we){return"responseURL"in we&&we.responseURL?we.responseURL:/^X-Request-URL:/m.test(we.getAllResponseHeaders())?we.getResponseHeader("X-Request-URL"):null}(ke)||se.url;return Ce=new ge({headers:We,status:ke.status,statusText:ct,url:Kn}),Ce},xt=()=>{let{headers:ct,status:We,statusText:Kn,url:Kt}=Ve(),Mt=null;204!==We&&(Mt=void 0===ke.response?ke.responseText:ke.response),0===We&&(We=Mt?200:0);let ms=We>=200&&We<300;if("json"===se.responseType&&"string"==typeof Mt){const is=Mt;Mt=Mt.replace(pn,"");try{Mt=""!==Mt?JSON.parse(Mt):null}catch(Zn){Mt=is,ms&&(ms=!1,Mt={error:Zn,text:Mt})}}ms?(Oe.next(new Ae({body:Mt,headers:ct,status:We,statusText:Kn,url:Kt||void 0})),Oe.complete()):Oe.error(new _e({error:Mt,headers:ct,status:We,statusText:Kn,url:Kt||void 0}))},Ni=ct=>{const{url:We}=Ve(),Kn=new _e({error:ct,status:ke.status||0,statusText:ke.statusText||"Unknown Error",url:We||void 0});Oe.error(Kn)};let Ft=!1;const qs=ct=>{Ft||(Oe.next(Ve()),Ft=!0);let We={type:mt.DownloadProgress,loaded:ct.loaded};ct.lengthComputable&&(We.total=ct.total),"text"===se.responseType&&!!ke.responseText&&(We.partialText=ke.responseText),Oe.next(We)},Hi=ct=>{let We={type:mt.UploadProgress,loaded:ct.loaded};ct.lengthComputable&&(We.total=ct.total),Oe.next(We)};return ke.addEventListener("load",xt),ke.addEventListener("error",Ni),ke.addEventListener("timeout",Ni),ke.addEventListener("abort",Ni),se.reportProgress&&(ke.addEventListener("progress",qs),null!==Fe&&ke.upload&&ke.upload.addEventListener("progress",Hi)),ke.send(Fe),Oe.next({type:mt.Sent}),()=>{ke.removeEventListener("error",Ni),ke.removeEventListener("abort",Ni),ke.removeEventListener("load",xt),ke.removeEventListener("timeout",Ni),se.reportProgress&&(ke.removeEventListener("progress",qs),null!==Fe&&ke.upload&&ke.upload.removeEventListener("progress",Hi)),ke.readyState!==ke.DONE&&ke.abort()}})}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(b.JF))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})();const gn=new i.OlP("XSRF_COOKIE_NAME"),ro=new i.OlP("XSRF_HEADER_NAME");class ao{}let Fs=(()=>{class we{constructor(se,Oe,ke){this.doc=se,this.platform=Oe,this.cookieName=ke,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const se=this.doc.cookie||"";return se!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,b.Mx)(se,this.cookieName),this.lastCookieString=se),this.lastToken}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(b.K0),i.LFG(i.Lbi),i.LFG(gn))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})(),Yn=(()=>{class we{constructor(se,Oe){this.tokenService=se,this.headerName=Oe}intercept(se,Oe){const ke=se.url.toLowerCase();if("GET"===se.method||"HEAD"===se.method||ke.startsWith("http://")||ke.startsWith("https://"))return Oe.handle(se);const Fe=this.tokenService.getToken();return null!==Fe&&!se.headers.has(this.headerName)&&(se=se.clone({headers:se.headers.set(this.headerName,Fe)})),Oe.handle(se)}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(ao),i.LFG(ro))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})(),le=(()=>{class we{constructor(se,Oe){this.backend=se,this.injector=Oe,this.chain=null}handle(se){if(null===this.chain){const Oe=this.injector.get(vt,[]);this.chain=Oe.reduceRight((ke,Fe)=>new yt(ke,Fe),this.backend)}return this.chain.handle(se)}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(B),i.LFG(i.zs3))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})(),Ue=(()=>{class we{static disable(){return{ngModule:we,providers:[{provide:Yn,useClass:wi}]}}static withOptions(se={}){return{ngModule:we,providers:[se.cookieName?{provide:gn,useValue:se.cookieName}:[],se.headerName?{provide:ro,useValue:se.headerName}:[]]}}}return we.\u0275fac=function(se){return new(se||we)},we.\u0275mod=i.oAB({type:we}),we.\u0275inj=i.cJS({providers:[Yn,{provide:vt,useExisting:Yn,multi:!0},{provide:ao,useClass:Fs},{provide:gn,useValue:"XSRF-TOKEN"},{provide:ro,useValue:"X-XSRF-TOKEN"}]}),we})(),Ge=(()=>{class we{}return we.\u0275fac=function(se){return new(se||we)},we.\u0275mod=i.oAB({type:we}),we.\u0275inj=i.cJS({providers:[fe,{provide:I,useClass:le},Wt,{provide:B,useExisting:Wt}],imports:[[Ue.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),we})()},5e3:(q,Y,w)=>{"use strict";w.d(Y,{deG:()=>yp,tb:()=>Bf,AFp:()=>KM,ip1:()=>iu,CZH:()=>nu,hGG:()=>Mv,z2F:()=>Vf,sBO:()=>cv,Sil:()=>qf,_Vd:()=>kd,EJc:()=>Ir,SBq:()=>Dd,qLn:()=>$u,vpe:()=>Lo,tBr:()=>fc,XFs:()=>pe,OlP:()=>Si,zs3:()=>Co,ZZ4:()=>$f,aQg:()=>Y0,soG:()=>Ff,YKP:()=>mb,h0i:()=>xo,PXZ:()=>Gf,R0b:()=>hs,FiY:()=>cs,Lbi:()=>x0,g9A:()=>Vb,n_E:()=>Od,Qsj:()=>xd,FYo:()=>db,JOm:()=>Cn,q3G:()=>Yi,tp0:()=>ua,Rgc:()=>Ql,dDg:()=>Qb,GfV:()=>hb,s_b:()=>zd,ifc:()=>Fe,eFA:()=>z0,G48:()=>ZC,Gpc:()=>U,f3M:()=>wh,_c5:()=>mv,VLi:()=>tv,c2e:()=>so,zSh:()=>Am,wAp:()=>ut,vHH:()=>ee,EiD:()=>hA,mCW:()=>vr,qzn:()=>gc,JVY:()=>nA,pB0:()=>rA,eBb:()=>zp,L6k:()=>sA,LAX:()=>oA,cg1:()=>jg,kL8:()=>Yg,yhl:()=>_1,dqk:()=>Ft,sIi:()=>Cc,CqO:()=>kw,QGY:()=>n_,F4k:()=>ef,RDi:()=>_o,AaK:()=>I,z3N:()=>Mr,qOj:()=>Er,TTD:()=>go,_Bn:()=>ab,xp6:()=>NA,uIk:()=>Hm,Q2q:()=>hd,Tol:()=>wd,Gre:()=>x_,ekj:()=>cf,Suo:()=>NM,Xpm:()=>zo,lG2:()=>Ie,Yz7:()=>ai,cJS:()=>pn,oAB:()=>ar,Yjl:()=>ki,Y36:()=>wa,_UZ:()=>t_,GkF:()=>xg,BQk:()=>Dg,ynx:()=>ql,qZA:()=>bd,TgZ:()=>Sg,EpF:()=>i_,n5z:()=>hh,Ikx:()=>Nc,LFG:()=>sn,$8M:()=>Du,$Z:()=>e_,NdJ:()=>Lg,CRH:()=>HM,kcU:()=>ih,O4$:()=>Mu,oxw:()=>s_,ALo:()=>u0,lcZ:()=>d0,xi3:()=>h0,Dn7:()=>f0,Hsn:()=>r_,F$t:()=>o_,Q6J:()=>Tg,s9C:()=>Pg,MGl:()=>yd,hYB:()=>zg,DdM:()=>Ea,VKq:()=>Wn,WLB:()=>yb,iGM:()=>zM,MAs:()=>md,Jf7:()=>mc,CHM:()=>Qd,oJD:()=>Gu,LSH:()=>kh,Udp:()=>Bg,WFA:()=>Rg,d8E:()=>pf,YNc:()=>Aa,_uU:()=>T_,Oqu:()=>Bn,hij:()=>Md,AsE:()=>df,xDo:()=>E_,Gf:()=>IM});var b=w(8929),i=w(2654),T=w(2916),M=w(6787),v=w(2474);function k(l){for(let u in l)if(l[u]===k)return u;throw Error("Could not find renamed property on target object.")}function L(l,u){for(const f in u)u.hasOwnProperty(f)&&!l.hasOwnProperty(f)&&(l[f]=u[f])}function I(l){if("string"==typeof l)return l;if(Array.isArray(l))return"["+l.map(I).join(", ")+"]";if(null==l)return""+l;if(l.overriddenName)return`${l.overriddenName}`;if(l.name)return`${l.name}`;const u=l.toString();if(null==u)return""+u;const f=u.indexOf("\n");return-1===f?u:u.substring(0,f)}function B(l,u){return null==l||""===l?null===u?"":u:null==u||""===u?l:l+" "+u}const F=k({__forward_ref__:k});function U(l){return l.__forward_ref__=U,l.toString=function(){return I(this())},l}function X(l){return Q(l)?l():l}function Q(l){return"function"==typeof l&&l.hasOwnProperty(F)&&l.__forward_ref__===U}class ee extends Error{constructor(u,f){super(function ce(l,u){return`NG0${Math.abs(l)}${u?": "+u:""}`}(u,f)),this.code=u}}function he(l){return"string"==typeof l?l:null==l?"":String(l)}function ze(l){return"function"==typeof l?l.name||l.toString():"object"==typeof l&&null!=l&&"function"==typeof l.type?l.type.name||l.type.toString():he(l)}function St(l,u){const f=u?` in ${u}`:"";throw new ee(-201,`No provider for ${ze(l)} found${f}`)}function ot(l,u){null==l&&function ft(l,u,f,p){throw new Error(`ASSERTION ERROR: ${l}`+(null==p?"":` [Expected=> ${f} ${p} ${u} <=Actual]`))}(u,l,null,"!=")}function ai(l){return{token:l.token,providedIn:l.providedIn||null,factory:l.factory,value:void 0}}function pn(l){return{providers:l.providers||[],imports:l.imports||[]}}function ui(l){return Wt(l,Fs)||Wt(l,le)}function Wt(l,u){return l.hasOwnProperty(u)?l[u]:null}function ao(l){return l&&(l.hasOwnProperty(Yn)||l.hasOwnProperty(xe))?l[Yn]:null}const Fs=k({\u0275prov:k}),Yn=k({\u0275inj:k}),le=k({ngInjectableDef:k}),xe=k({ngInjectorDef:k});var pe=(()=>((pe=pe||{})[pe.Default=0]="Default",pe[pe.Host=1]="Host",pe[pe.Self=2]="Self",pe[pe.SkipSelf=4]="SkipSelf",pe[pe.Optional=8]="Optional",pe))();let Ue;function nt(l){const u=Ue;return Ue=l,u}function Jt(l,u,f){const p=ui(l);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:f&pe.Optional?null:void 0!==u?u:void St(I(l),"Injector")}function te(l){return{toString:l}.toString()}var se=(()=>((se=se||{})[se.OnPush=0]="OnPush",se[se.Default=1]="Default",se))(),Fe=(()=>{return(l=Fe||(Fe={}))[l.Emulated=0]="Emulated",l[l.None=2]="None",l[l.ShadowDom=3]="ShadowDom",Fe;var l})();const Ce="undefined"!=typeof globalThis&&globalThis,Ve="undefined"!=typeof window&&window,xt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ft=Ce||"undefined"!=typeof global&&global||Ve||xt,ct={},We=[],Kn=k({\u0275cmp:k}),Kt=k({\u0275dir:k}),Mt=k({\u0275pipe:k}),ms=k({\u0275mod:k}),is=k({\u0275fac:k}),Zn=k({__NG_ELEMENT_ID__:k});let nl=0;function zo(l){return te(()=>{const f={},p={type:l.type,providersResolver:null,decls:l.decls,vars:l.vars,factory:null,template:l.template||null,consts:l.consts||null,ngContentSelectors:l.ngContentSelectors,hostBindings:l.hostBindings||null,hostVars:l.hostVars||0,hostAttrs:l.hostAttrs||null,contentQueries:l.contentQueries||null,declaredInputs:f,inputs:null,outputs:null,exportAs:l.exportAs||null,onPush:l.changeDetection===se.OnPush,directiveDefs:null,pipeDefs:null,selectors:l.selectors||We,viewQuery:l.viewQuery||null,features:l.features||null,data:l.data||{},encapsulation:l.encapsulation||Fe.Emulated,id:"c",styles:l.styles||We,_:null,setInput:null,schemas:l.schemas||null,tView:null},m=l.directives,y=l.features,C=l.pipes;return p.id+=nl++,p.inputs=D(l.inputs,f),p.outputs=D(l.outputs),y&&y.forEach(E=>E(p)),p.directiveDefs=m?()=>("function"==typeof m?m():m).map(lo):null,p.pipeDefs=C?()=>("function"==typeof C?C():C).map(_s):null,p})}function lo(l){return mn(l)||function Qe(l){return l[Kt]||null}(l)}function _s(l){return function si(l){return l[Mt]||null}(l)}const rr={};function ar(l){return te(()=>{const u={type:l.type,bootstrap:l.bootstrap||We,declarations:l.declarations||We,imports:l.imports||We,exports:l.exports||We,transitiveCompileScopes:null,schemas:l.schemas||null,id:l.id||null};return null!=l.id&&(rr[l.id]=l.type),u})}function D(l,u){if(null==l)return ct;const f={};for(const p in l)if(l.hasOwnProperty(p)){let m=l[p],y=m;Array.isArray(m)&&(y=m[1],m=m[0]),f[m]=p,u&&(u[m]=y)}return f}const Ie=zo;function ki(l){return{type:l.type,name:l.name,factory:null,pure:!1!==l.pure,onDestroy:l.type.prototype.ngOnDestroy||null}}function mn(l){return l[Kn]||null}function At(l,u){const f=l[ms]||null;if(!f&&!0===u)throw new Error(`Type ${I(l)} does not have '\u0275mod' property.`);return f}function Un(l){return Array.isArray(l)&&"object"==typeof l[1]}function ss(l){return Array.isArray(l)&&!0===l[1]}function Ua(l){return 0!=(8&l.flags)}function Bo(l){return 2==(2&l.flags)}function ho(l){return 1==(1&l.flags)}function os(l){return null!==l.template}function lr(l){return 0!=(512&l[2])}function mi(l,u){return l.hasOwnProperty(is)?l[is]:null}class $t{constructor(u,f,p){this.previousValue=u,this.currentValue=f,this.firstChange=p}isFirstChange(){return this.firstChange}}function go(){return ci}function ci(l){return l.type.prototype.ngOnChanges&&(l.setInput=Wa),Ys}function Ys(){const l=Ka(this),u=null==l?void 0:l.current;if(u){const f=l.previous;if(f===ct)l.previous=u;else for(let p in u)f[p]=u[p];l.current=null,this.ngOnChanges(u)}}function Wa(l,u,f,p){const m=Ka(l)||function On(l,u){return l[Vr]=u}(l,{previous:ct,current:null}),y=m.current||(m.current={}),C=m.previous,E=this.declaredInputs[f],x=C[E];y[E]=new $t(x&&x.currentValue,u,C===ct),l[p]=u}go.ngInherit=!0;const Vr="__ngSimpleChanges__";function Ka(l){return l[Vr]||null}let mo;function _o(l){mo=l}function en(){return void 0!==mo?mo:"undefined"!=typeof document?document:void 0}function hi(l){return!!l.listen}const P={createRenderer:(l,u)=>en()};function z(l){for(;Array.isArray(l);)l=l[0];return l}function me(l,u){return z(u[l])}function Te(l,u){return z(u[l.index])}function li(l,u){return l.data[u]}function Xt(l,u){return l[u]}function Ot(l,u){const f=u[l];return Un(f)?f:f[0]}function Zt(l){return 4==(4&l[2])}function Zi(l){return 128==(128&l[2])}function _i(l,u){return null==u?null:l[u]}function bo(l){l[18]=0}function Ss(l,u){l[5]+=u;let f=l,p=l[3];for(;null!==p&&(1===u&&1===f[5]||-1===u&&0===f[5]);)p[5]+=u,f=p,p=p[3]}const lt={lFrame:Ja(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function fr(){return lt.bindingsEnabled}function Ee(){return lt.lFrame.lView}function Gt(){return lt.lFrame.tView}function Qd(l){return lt.lFrame.contextLView=l,l[8]}function tn(){let l=Es();for(;null!==l&&64===l.type;)l=l.parent;return l}function Es(){return lt.lFrame.currentTNode}function ys(l,u){const f=lt.lFrame;f.currentTNode=l,f.isParent=u}function cl(){return lt.lFrame.isParent}function mu(){lt.lFrame.isParent=!1}function ll(){return lt.isInCheckNoChangesMode}function Xa(l){lt.isInCheckNoChangesMode=l}function zn(){const l=lt.lFrame;let u=l.bindingRootIndex;return-1===u&&(u=l.bindingRootIndex=l.tView.bindingStartIndex),u}function Gs(){return lt.lFrame.bindingIndex}function ks(){return lt.lFrame.bindingIndex++}function yo(l){const u=lt.lFrame,f=u.bindingIndex;return u.bindingIndex=u.bindingIndex+l,f}function pr(l,u){const f=lt.lFrame;f.bindingIndex=f.bindingRootIndex=l,zt(u)}function zt(l){lt.lFrame.currentDirectiveIndex=l}function gr(l){const u=lt.lFrame.currentDirectiveIndex;return-1===u?null:l[u]}function bu(){return lt.lFrame.currentQueryIndex}function Ao(l){lt.lFrame.currentQueryIndex=l}function yu(l){const u=l[1];return 2===u.type?u.declTNode:1===u.type?l[6]:null}function Qa(l,u,f){if(f&pe.SkipSelf){let m=u,y=l;for(;!(m=m.parent,null!==m||f&pe.Host||(m=yu(y),null===m||(y=y[15],10&m.type))););if(null===m)return!1;u=m,l=y}const p=lt.lFrame=th();return p.currentTNode=u,p.lView=l,!0}function mr(l){const u=th(),f=l[1];lt.lFrame=u,u.currentTNode=f.firstChild,u.lView=l,u.tView=f,u.contextLView=l,u.bindingIndex=f.bindingStartIndex,u.inI18n=!1}function th(){const l=lt.lFrame,u=null===l?null:l.child;return null===u?Ja(l):u}function Ja(l){const u={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:l,child:null,inI18n:!1};return null!==l&&(l.child=u),u}function Zr(){const l=lt.lFrame;return lt.lFrame=l.parent,l.currentTNode=null,l.lView=null,l}const Au=Zr;function _r(){const l=Zr();l.isParent=!0,l.tView=null,l.selectedIndex=-1,l.contextLView=null,l.elementDepthCount=0,l.currentDirectiveIndex=-1,l.currentNamespace=null,l.bindingRootIndex=-1,l.bindingIndex=-1,l.currentQueryIndex=0}function _n(){return lt.lFrame.selectedIndex}function wo(l){lt.lFrame.selectedIndex=l}function xi(){const l=lt.lFrame;return li(l.tView,l.selectedIndex)}function Mu(){lt.lFrame.currentNamespace="svg"}function ih(){!function $n(){lt.lFrame.currentNamespace=null}()}function ul(l,u){for(let f=u.directiveStart,p=u.directiveEnd;f=p)break}else u[x]<0&&(l[18]+=65536),(E>11>16&&(3&l[2])===u){l[2]+=2048;try{y.call(E)}finally{}}}else try{y.call(E)}finally{}}class Ws{constructor(u,f,p){this.factory=u,this.resolving=!1,this.canSeeViewProviders=f,this.injectImpl=p}}function $r(l,u,f){const p=hi(l);let m=0;for(;mu){C=y-1;break}}}for(;y>16}(l),p=u;for(;f>0;)p=p[15],f--;return p}let ta=!0;function qo(l){const u=ta;return ta=l,u}let ch=0;function jo(l,u){const f=ia(l,u);if(-1!==f)return f;const p=u[1];p.firstCreatePass&&(l.injectorIndex=u.length,Yo(p.data,l),Yo(u,null),Yo(p.blueprint,null));const m=na(l,u),y=l.injectorIndex;if(Qr(m)){const C=Jr(m),E=ea(m,u),x=E[1].data;for(let H=0;H<8;H++)u[y+H]=E[C+H]|x[C+H]}return u[y+8]=m,y}function Yo(l,u){l.push(0,0,0,0,0,0,0,0,u)}function ia(l,u){return-1===l.injectorIndex||l.parent&&l.parent.injectorIndex===l.injectorIndex||null===u[l.injectorIndex+8]?-1:l.injectorIndex}function na(l,u){if(l.parent&&-1!==l.parent.injectorIndex)return l.parent.injectorIndex;let f=0,p=null,m=u;for(;null!==m;){const y=m[1],C=y.type;if(p=2===C?y.declTNode:1===C?m[6]:null,null===p)return-1;if(f++,m=m[15],-1!==p.injectorIndex)return p.injectorIndex|f<<16}return-1}function As(l,u,f){!function gl(l,u,f){let p;"string"==typeof f?p=f.charCodeAt(0)||0:f.hasOwnProperty(Zn)&&(p=f[Zn]),null==p&&(p=f[Zn]=ch++);const m=255&p;u.data[l+(m>>5)]|=1<=0?255&u:mp:u}(f);if("function"==typeof y){if(!Qa(u,l,p))return p&pe.Host?oc(m,f,p):uh(u,f,p,m);try{const C=y(p);if(null!=C||p&pe.Optional)return C;St(f)}finally{Au()}}else if("number"==typeof y){let C=null,E=ia(l,u),x=-1,H=p&pe.Host?u[16][6]:null;for((-1===E||p&pe.SkipSelf)&&(x=-1===E?na(l,u):u[E+8],-1!==x&&Go(p,!1)?(C=u[1],E=Jr(x),u=ea(x,u)):E=-1);-1!==E;){const j=u[1];if(dh(y,E,j.data)){const J=_p(E,u,f,C,p,H);if(J!==Eu)return J}x=u[E+8],-1!==x&&Go(p,u[1].data[E+8]===H)&&dh(y,E,u)?(C=j,E=Jr(x),u=ea(x,u)):E=-1}}}return uh(u,f,p,m)}const Eu={};function mp(){return new sa(tn(),Ee())}function _p(l,u,f,p,m,y){const C=u[1],E=C.data[l+8],j=ml(E,C,f,null==p?Bo(E)&&ta:p!=C&&0!=(3&E.type),m&pe.Host&&y===E);return null!==j?yr(u,C,j,E):Eu}function ml(l,u,f,p,m){const y=l.providerIndexes,C=u.data,E=1048575&y,x=l.directiveStart,j=y>>20,ie=m?E+j:l.directiveEnd;for(let ue=p?E:E+j;ue=x&&Me.type===f)return ue}if(m){const ue=C[x];if(ue&&os(ue)&&ue.type===f)return x}return null}function yr(l,u,f,p){let m=l[f];const y=u.data;if(function sh(l){return l instanceof Ws}(m)){const C=m;C.resolving&&function He(l,u){const f=u?`. Dependency path: ${u.join(" > ")} > ${l}`:"";throw new ee(-200,`Circular dependency in DI detected for ${l}${f}`)}(ze(y[f]));const E=qo(C.canSeeViewProviders);C.resolving=!0;const x=C.injectImpl?nt(C.injectImpl):null;Qa(l,p,pe.Default);try{m=l[f]=C.factory(void 0,y,l,p),u.firstCreatePass&&f>=p.directiveStart&&function nh(l,u,f){const{ngOnChanges:p,ngOnInit:m,ngDoCheck:y}=u.type.prototype;if(p){const C=ci(u);(f.preOrderHooks||(f.preOrderHooks=[])).push(l,C),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,C)}m&&(f.preOrderHooks||(f.preOrderHooks=[])).push(0-l,m),y&&((f.preOrderHooks||(f.preOrderHooks=[])).push(l,y),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,y))}(f,y[f],u)}finally{null!==x&&nt(x),qo(E),C.resolving=!1,Au()}}return m}function dh(l,u,f){return!!(f[u+(l>>5)]&1<{const u=l.prototype.constructor,f=u[is]||ku(u),p=Object.prototype;let m=Object.getPrototypeOf(l.prototype).constructor;for(;m&&m!==p;){const y=m[is]||ku(m);if(y&&y!==f)return y;m=Object.getPrototypeOf(m)}return y=>new y})}function ku(l){return Q(l)?()=>{const u=ku(X(l));return u&&u()}:mi(l)}function Du(l){return function lh(l,u){if("class"===u)return l.classes;if("style"===u)return l.styles;const f=l.attrs;if(f){const p=f.length;let m=0;for(;m{const p=function Vo(l){return function(...f){if(l){const p=l(...f);for(const m in p)this[m]=p[m]}}}(u);function m(...y){if(this instanceof m)return p.apply(this,y),this;const C=new m(...y);return E.annotation=C,E;function E(x,H,j){const J=x.hasOwnProperty(Zs)?x[Zs]:Object.defineProperty(x,Zs,{value:[]})[Zs];for(;J.length<=j;)J.push(null);return(J[j]=J[j]||[]).push(C),x}}return f&&(m.prototype=Object.create(f.prototype)),m.prototype.ngMetadataName=l,m.annotationCls=m,m})}class Si{constructor(u,f){this._desc=u,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof f?this.__NG_ELEMENT_ID__=f:void 0!==f&&(this.\u0275prov=ai({token:this,providedIn:f.providedIn||"root",factory:f.factory}))}toString(){return`InjectionToken ${this._desc}`}}const yp=new Si("AnalyzeForEntryComponents");function vn(l,u){void 0===u&&(u=l);for(let f=0;fArray.isArray(f)?xs(f,u):u(f))}function ac(l,u,f){u>=l.length?l.push(f):l.splice(u,0,f)}function cc(l,u){return u>=l.length-1?l.pop():l.splice(u,1)[0]}function ws(l,u){const f=[];for(let p=0;p=0?l[1|p]=f:(p=~p,function Mp(l,u,f,p){let m=l.length;if(m==u)l.push(f,p);else if(1===m)l.push(p,l[0]),l[0]=f;else{for(m--,l.push(l[m-1],l[m]);m>u;)l[m]=l[m-2],m--;l[u]=f,l[u+1]=p}}(l,p,u,f)),p}function Ar(l,u){const f=jt(l,u);if(f>=0)return l[1|f]}function jt(l,u){return function ca(l,u,f){let p=0,m=l.length>>f;for(;m!==p;){const y=p+(m-p>>1),C=l[y<u?m=y:p=y+1}return~(m<({token:l})),-1),cs=la(aa("Optional"),8),ua=la(aa("SkipSelf"),4);let _,ye;function R(l){var u;return(null===(u=function S(){if(void 0===_&&(_=null,Ft.trustedTypes))try{_=Ft.trustedTypes.createPolicy("angular",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return _}())||void 0===u?void 0:u.createHTML(l))||l}function Nt(l){var u;return(null===(u=function rt(){if(void 0===ye&&(ye=null,Ft.trustedTypes))try{ye=Ft.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return ye}())||void 0===u?void 0:u.createHTML(l))||l}class Nn{constructor(u){this.changingThisBreaksApplicationSecurity=u}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Wo extends Nn{getTypeName(){return"HTML"}}class eA extends Nn{getTypeName(){return"Style"}}class Sh extends Nn{getTypeName(){return"Script"}}class tA extends Nn{getTypeName(){return"URL"}}class iA extends Nn{getTypeName(){return"ResourceURL"}}function Mr(l){return l instanceof Nn?l.changingThisBreaksApplicationSecurity:l}function gc(l,u){const f=_1(l);if(null!=f&&f!==u){if("ResourceURL"===f&&"URL"===u)return!0;throw new Error(`Required a safe ${u}, got a ${f} (see https://g.co/ng/security#xss)`)}return f===u}function _1(l){return l instanceof Nn&&l.getTypeName()||null}function nA(l){return new Wo(l)}function sA(l){return new eA(l)}function zp(l){return new Sh(l)}function oA(l){return new tA(l)}function rA(l){return new iA(l)}class aA{constructor(u){this.inertDocumentHelper=u}getInertBodyElement(u){u=""+u;try{const f=(new window.DOMParser).parseFromString(R(u),"text/html").body;return null===f?this.inertDocumentHelper.getInertBodyElement(u):(f.removeChild(f.firstChild),f)}catch(f){return null}}}class _T{constructor(u){if(this.defaultDoc=u,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const f=this.inertDocument.createElement("html");this.inertDocument.appendChild(f);const p=this.inertDocument.createElement("body");f.appendChild(p)}}getInertBodyElement(u){const f=this.inertDocument.createElement("template");if("content"in f)return f.innerHTML=R(u),f;const p=this.inertDocument.createElement("body");return p.innerHTML=R(u),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(p),p}stripCustomNsAttrs(u){const f=u.attributes;for(let m=f.length-1;0vr(u.trim())).join(", ")),this.buf.push(" ",C,'="',Bp(x),'"')}var l;return this.buf.push(">"),!0}endElement(u){const f=u.nodeName.toLowerCase();Np.hasOwnProperty(f)&&!ju.hasOwnProperty(f)&&(this.buf.push(""))}chars(u){this.buf.push(Bp(u))}checkClobberedElement(u,f){if(f&&(u.compareDocumentPosition(f)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${u.outerHTML}`);return f}}const dA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Eh=/([^\#-~ |!])/g;function Bp(l){return l.replace(/&/g,"&").replace(dA,function(u){return"&#"+(1024*(u.charCodeAt(0)-55296)+(u.charCodeAt(1)-56320)+65536)+";"}).replace(Eh,function(u){return"&#"+u.charCodeAt(0)+";"}).replace(//g,">")}let Uu;function hA(l,u){let f=null;try{Uu=Uu||function Ip(l){const u=new _T(l);return function ti(){try{return!!(new window.DOMParser).parseFromString(R(""),"text/html")}catch(l){return!1}}()?new aA(u):u}(l);let p=u?String(u):"";f=Uu.getInertBodyElement(p);let m=5,y=p;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,p=y,y=f.innerHTML,f=Uu.getInertBodyElement(p)}while(p!==y);return R((new uA).sanitizeChildren(Fp(f)||f))}finally{if(f){const p=Fp(f)||f;for(;p.firstChild;)p.removeChild(p.firstChild)}}}function Fp(l){return"content"in l&&function fA(l){return l.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===l.nodeName}(l)?l.content:null}var Yi=(()=>((Yi=Yi||{})[Yi.NONE=0]="NONE",Yi[Yi.HTML=1]="HTML",Yi[Yi.STYLE=2]="STYLE",Yi[Yi.SCRIPT=3]="SCRIPT",Yi[Yi.URL=4]="URL",Yi[Yi.RESOURCE_URL=5]="RESOURCE_URL",Yi))();function Gu(l){const u=Vu();return u?Nt(u.sanitize(Yi.HTML,l)||""):gc(l,"HTML")?Nt(Mr(l)):hA(en(),he(l))}function kh(l){const u=Vu();return u?u.sanitize(Yi.URL,l)||"":gc(l,"URL")?Mr(l):vr(he(l))}function Vu(){const l=Ee();return l&&l[12]}const vl="__ngContext__";function an(l,u){l[vl]=u}function Dh(l){const u=function Tl(l){return l[vl]||null}(l);return u?Array.isArray(u)?u:u.lView:null}function Zu(l){return l.ngOriginalError}function AA(l,...u){l.error(...u)}class $u{constructor(){this._console=console}handleError(u){const f=this._findOriginalError(u),p=function yA(l){return l&&l.ngErrorLogger||AA}(u);p(this._console,"ERROR",u),f&&p(this._console,"ORIGINAL ERROR",f)}_findOriginalError(u){let f=u&&Zu(u);for(;f&&Zu(f);)f=Zu(f);return f||null}}const k1=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ft))();function mc(l){return l.ownerDocument.defaultView}function Tr(l){return l instanceof Function?l():l}var Cn=(()=>((Cn=Cn||{})[Cn.Important=1]="Important",Cn[Cn.DashCase=2]="DashCase",Cn))();function D1(l,u){return undefined(l,u)}function Lh(l){const u=l[3];return ss(u)?u[3]:u}function Qu(l){return _c(l[13])}function Dl(l){return _c(l[4])}function _c(l){for(;null!==l&&!ss(l);)l=l[4];return l}function pa(l,u,f,p,m){if(null!=p){let y,C=!1;ss(p)?y=p:Un(p)&&(C=!0,p=p[0]);const E=z(p);0===l&&null!==f?null==m?I1(u,f,E):bc(u,f,E,m||null,!0):1===l&&null!==f?bc(u,f,E,m||null,!0):2===l?function LA(l,u,f){const p=Kp(l,u);p&&function RT(l,u,f,p){hi(l)?l.removeChild(u,f,p):u.removeChild(f)}(l,p,u,f)}(u,E,C):3===l&&u.destroyNode(E),null!=y&&function OT(l,u,f,p,m){const y=f[7];y!==z(f)&&pa(u,l,p,y,m);for(let E=10;E0&&(l[f-1][4]=p[4]);const y=cc(l,10+u);!function DT(l,u){Oh(l,u,u[11],2,null,null),u[0]=null,u[6]=null}(p[1],p);const C=y[19];null!==C&&C.detachView(y[1]),p[3]=null,p[4]=null,p[2]&=-129}return p}function P1(l,u){if(!(256&u[2])){const f=u[11];hi(f)&&f.destroyNode&&Oh(l,u,f,3,null,null),function Rh(l){let u=l[13];if(!u)return z1(l[1],l);for(;u;){let f=null;if(Un(u))f=u[13];else{const p=u[10];p&&(f=p)}if(!f){for(;u&&!u[4]&&u!==l;)Un(u)&&z1(u[1],u),u=u[3];null===u&&(u=l),Un(u)&&z1(u[1],u),f=u&&u[4]}u=f}}(u)}}function z1(l,u){if(!(256&u[2])){u[2]&=-129,u[2]|=256,function Wp(l,u){let f;if(null!=l&&null!=(f=l.destroyHooks))for(let p=0;p=0?p[m=H]():p[m=-H].unsubscribe(),y+=2}else{const C=p[m=f[y+1]];f[y].call(C)}if(null!==p){for(let y=m+1;yy?"":m[J+1].toLowerCase();const ue=8&p?ie:null;if(ue&&-1!==PA(ue,H,0)||2&p&&H!==ie){if($o(p))return!1;C=!0}}}}else{if(!C&&!$o(p)&&!$o(x))return!1;if(C&&$o(x))continue;C=!1,p=x|1&p}}return $o(p)||C}function $o(l){return 0==(1&l)}function HT(l,u,f,p){if(null===u)return-1;let m=0;if(p||!f){let y=!1;for(;m-1)for(f++;f0?'="'+E+'"':"")+"]"}else 8&p?m+="."+C:4&p&&(m+=" "+C);else""!==m&&!$o(C)&&(u+=IA(y,m),m=""),p=C,y=y||!$o(p);f++}return""!==m&&(u+=IA(y,m)),u}const Dt={};function NA(l){HA(Gt(),Ee(),_n()+l,ll())}function HA(l,u,f,p){if(!p)if(3==(3&u[2])){const y=l.preOrderCheckHooks;null!==y&&ec(u,y,f)}else{const y=l.preOrderHooks;null!==y&&tc(u,y,0,f)}wo(f)}function $p(l,u){return l<<17|u<<2}function Xo(l){return l>>17&32767}function Y1(l){return 2|l}function ga(l){return(131068&l)>>2}function U1(l,u){return-131069&l|u<<2}function G1(l){return 1|l}function ZA(l,u){const f=l.contentQueries;if(null!==f)for(let p=0;p20&&HA(l,u,20,ll()),f(p,m)}finally{wo(y)}}function XA(l,u,f){if(Ua(u)){const m=u.directiveEnd;for(let y=u.directiveStart;y0;){const f=l[--u];if("number"==typeof f&&f<0)return f}return 0})(E)!=x&&E.push(x),E.push(p,m,C)}}function tg(l,u){null!==l.hostBindings&&l.hostBindings(1,u)}function um(l,u){u.flags|=2,(l.components||(l.components=[])).push(u.index)}function dm(l,u,f){if(f){if(u.exportAs)for(let p=0;p0&&Fh(f)}}function Fh(l){for(let p=Qu(l);null!==p;p=Dl(p))for(let m=10;m0&&Fh(y)}const f=l[1].components;if(null!==f)for(let p=0;p0&&Fh(m)}}function qh(l,u){const f=Ot(u,l),p=f[1];(function _m(l,u){for(let f=u.length;fPromise.resolve(null))();function bm(l){return l[7]||(l[7]=[])}function id(l){return l.cleanup||(l.cleanup=[])}function lw(l,u,f){return(null===l||os(l))&&(f=function W(l){for(;Array.isArray(l);){if("object"==typeof l[1])return l;l=l[0]}return null}(f[u.index])),f[11]}function cg(l,u){const f=l[9],p=f?f.get($u,null):null;p&&p.handleError(u)}function nd(l,u,f,p,m){for(let y=0;ythis.processProvider(E,u,f)),xs([u],E=>this.processInjectorType(E,[],y)),this.records.set(Uh,Ol(void 0,this));const C=this.records.get(Am);this.scope=null!=C?C.value:null,this.source=m||("object"==typeof u?null:I(u))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(u=>u.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(u,f=dc,p=pe.Default){this.assertNotDestroyed();const m=Ah(this),y=nt(void 0);try{if(!(p&pe.SkipSelf)){let E=this.records.get(u);if(void 0===E){const x=function pC(l){return"function"==typeof l||"object"==typeof l&&l instanceof Si}(u)&&ui(u);E=x&&this.injectableDefInScope(x)?Ol(dg(u),Tc):null,this.records.set(u,E)}if(null!=E)return this.hydrate(u,E)}return(p&pe.Self?wm():this.parent).get(u,f=p&pe.Optional&&f===dc?null:f)}catch(C){if("NullInjectorError"===C.name){if((C[hc]=C[hc]||[]).unshift(I(u)),m)throw C;return function xp(l,u,f,p){const m=l[hc];throw u[yh]&&m.unshift(u[yh]),l.message=function Lp(l,u,f,p=null){l=l&&"\n"===l.charAt(0)&&"\u0275"==l.charAt(1)?l.substr(2):l;let m=I(u);if(Array.isArray(u))m=u.map(I).join(" -> ");else if("object"==typeof u){let y=[];for(let C in u)if(u.hasOwnProperty(C)){let E=u[C];y.push(C+":"+("string"==typeof E?JSON.stringify(E):I(E)))}m=`{${y.join(", ")}}`}return`${f}${p?"("+p+")":""}[${m}]: ${l.replace(bh,"\n ")}`}("\n"+l.message,m,f,p),l.ngTokenPath=m,l[hc]=null,l}(C,u,"R3InjectorError",this.source)}throw C}finally{nt(y),Ah(m)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(u=>this.get(u))}toString(){const u=[];return this.records.forEach((p,m)=>u.push(I(m))),`R3Injector[${u.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ee(205,!1)}processInjectorType(u,f,p){if(!(u=X(u)))return!1;let m=ao(u);const y=null==m&&u.ngModule||void 0,C=void 0===y?u:y,E=-1!==p.indexOf(C);if(void 0!==y&&(m=ao(y)),null==m)return!1;if(null!=m.imports&&!E){let j;p.push(C);try{xs(m.imports,J=>{this.processInjectorType(J,f,p)&&(void 0===j&&(j=[]),j.push(J))})}finally{}if(void 0!==j)for(let J=0;Jthis.processProvider(Me,ie,ue||We))}}this.injectorDefTypes.add(C);const x=mi(C)||(()=>new C);this.records.set(C,Ol(x,Tc));const H=m.providers;if(null!=H&&!E){const j=u;xs(H,J=>this.processProvider(J,j,H))}return void 0!==y&&void 0!==u.providers}processProvider(u,f,p){let m=rd(u=X(u))?u:X(u&&u.provide);const y=function Cm(l,u,f){return Em(l)?Ol(void 0,l.useValue):Ol(Sm(l),Tc)}(u);if(rd(u)||!0!==u.multi)this.records.get(m);else{let C=this.records.get(m);C||(C=Ol(void 0,Tc,!0),C.factory=()=>Al(C.multi),this.records.set(m,C)),m=u,C.multi.push(u)}this.records.set(m,y)}hydrate(u,f){return f.value===Tc&&(f.value=dw,f.value=f.factory()),"object"==typeof f.value&&f.value&&function fC(l){return null!==l&&"object"==typeof l&&"function"==typeof l.ngOnDestroy}(f.value)&&this.onDestroy.add(f.value),f.value}injectableDefInScope(u){if(!u.providedIn)return!1;const f=X(u.providedIn);return"string"==typeof f?"any"===f||f===this.scope:this.injectorDefTypes.has(f)}}function dg(l){const u=ui(l),f=null!==u?u.factory:mi(l);if(null!==f)return f;if(l instanceof Si)throw new ee(204,!1);if(l instanceof Function)return function Tm(l){const u=l.length;if(u>0)throw ws(u,"?"),new ee(204,!1);const f=function gn(l){const u=l&&(l[Fs]||l[le]);if(u){const f=function ro(l){if(l.hasOwnProperty("name"))return l.name;const u=(""+l).match(/^function\s*([^\s(]+)/);return null===u?"":u[1]}(l);return console.warn(`DEPRECATED: DI is instantiating a token "${f}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${f}" class.`),u}return null}(l);return null!==f?()=>f.factory(l):()=>new l}(l);throw new ee(204,!1)}function Sm(l,u,f){let p;if(rd(l)){const m=X(l);return mi(m)||dg(m)}if(Em(l))p=()=>X(l.useValue);else if(function km(l){return!(!l||!l.useFactory)}(l))p=()=>l.useFactory(...Al(l.deps||[]));else if(function fw(l){return!(!l||!l.useExisting)}(l))p=()=>sn(X(l.useExisting));else{const m=X(l&&(l.useClass||l.provide));if(!function hC(l){return!!l.deps}(l))return mi(m)||dg(m);p=()=>new m(...Al(l.deps))}return p}function Ol(l,u,f=!1){return{factory:l,value:u,multi:f?[]:void 0}}function Em(l){return null!==l&&"object"==typeof l&&Ep in l}function rd(l){return"function"==typeof l}let Co=(()=>{class l{static create(f,p){var m;if(Array.isArray(f))return Mm({name:""},p,f,"");{const y=null!==(m=f.name)&&void 0!==m?m:"";return Mm({name:y},f.parent,f.providers,y)}}}return l.THROW_IF_NOT_FOUND=dc,l.NULL=new od,l.\u0275prov=ai({token:l,providedIn:"any",factory:()=>sn(Uh)}),l.__NG_ELEMENT_ID__=-1,l})();function Om(l,u){ul(Dh(l)[1],tn())}function Er(l){let u=function ii(l){return Object.getPrototypeOf(l.prototype).constructor}(l.type),f=!0;const p=[l];for(;u;){let m;if(os(l))m=u.\u0275cmp||u.\u0275dir;else{if(u.\u0275cmp)throw new ee(903,"");m=u.\u0275dir}if(m){if(f){p.push(m);const C=l;C.inputs=Pm(l.inputs),C.declaredInputs=Pm(l.declaredInputs),C.outputs=Pm(l.outputs);const E=m.hostBindings;E&&Eo(l,E);const x=m.viewQuery,H=m.contentQueries;if(x&&zm(l,x),H&&_C(l,H),L(l.inputs,m.inputs),L(l.declaredInputs,m.declaredInputs),L(l.outputs,m.outputs),os(m)&&m.data.animation){const j=l.data;j.animation=(j.animation||[]).concat(m.data.animation)}}const y=m.features;if(y)for(let C=0;C=0;p--){const m=l[p];m.hostVars=u+=m.hostVars,m.hostAttrs=Xr(m.hostAttrs,f=Xr(f,m.hostAttrs))}}(p)}function Pm(l){return l===ct?{}:l===We?[]:l}function zm(l,u){const f=l.viewQuery;l.viewQuery=f?(p,m)=>{u(p,m),f(p,m)}:u}function _C(l,u){const f=l.contentQueries;l.contentQueries=f?(p,m,y)=>{u(p,m,y),f(p,m,y)}:u}function Eo(l,u){const f=l.hostBindings;l.hostBindings=f?(p,m)=>{u(p,m),f(p,m)}:u}let ld=null;function _a(){if(!ld){const l=Ft.Symbol;if(l&&l.iterator)ld=l.iterator;else{const u=Object.getOwnPropertyNames(Map.prototype);for(let f=0;fE(z(Qt[p.index])):p.index;if(hi(f)){let Qt=null;if(!E&&x&&(Qt=function Dw(l,u,f,p){const m=l.cleanup;if(null!=m)for(let y=0;yx?E[x]:null}"string"==typeof C&&(y+=2)}return null}(l,u,m,p.index)),null!==Qt)(Qt.__ngLastListenerFn__||Qt).__ngNextListenerFn__=y,Qt.__ngLastListenerFn__=y,ue=!1;else{y=nf(p,u,J,y,!1);const fi=f.listen(Je,m,y);ie.push(y,fi),j&&j.push(m,at,Se,Se+1)}}else y=nf(p,u,J,y,!0),Je.addEventListener(m,y,C),ie.push(y),j&&j.push(m,at,Se,C)}else y=nf(p,u,J,y,!1);const Me=p.outputs;let Ne;if(ue&&null!==Me&&(Ne=Me[m])){const Ye=Ne.length;if(Ye)for(let Je=0;Je0;)u=u[15],l--;return u}(l,lt.lFrame.contextLView))[8]}(l)}function xw(l,u){let f=null;const p=function BT(l){const u=l.attrs;if(null!=u){const f=u.indexOf(5);if(0==(1&f))return u[f+1]}return null}(l);for(let m=0;m=0}const Ui={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rf(l){return l.substring(Ui.key,Ui.keyEnd)}function af(l,u){const f=Ui.textEnd;return f===u?-1:(u=Ui.keyEnd=function p_(l,u,f){for(;u32;)u++;return u}(l,Ui.key=u,f),jl(l,u,f))}function jl(l,u,f){for(;u=0;f=af(u,f))Qn(l,rf(u),!0)}function ko(l,u,f,p){const m=Ee(),y=Gt(),C=yo(2);y.firstUpdatePass&&Fg(y,l,C,p),u!==Dt&&yi(m,C,u)&&w_(y,y.data[_n()],m,m[11],l,m[C+1]=function Bw(l,u){return null==l||("string"==typeof u?l+=u:"object"==typeof l&&(l=I(Mr(l)))),l}(u,f),p,C)}function Is(l,u,f,p){const m=Gt(),y=yo(2);m.firstUpdatePass&&Fg(m,null,y,p);const C=Ee();if(f!==Dt&&yi(C,y,f)){const E=m.data[_n()];if(v_(E,p)&&!__(m,y)){let x=p?E.classesWithoutHost:E.stylesWithoutHost;null!==x&&(f=B(x,f||"")),Cg(m,E,C,f,p)}else!function A_(l,u,f,p,m,y,C,E){m===Dt&&(m=We);let x=0,H=0,j=0=l.expandoStartIndex}function Fg(l,u,f,p){const m=l.data;if(null===m[f+1]){const y=m[_n()],C=__(l,f);v_(y,p)&&null===u&&!C&&(u=!1),u=function zw(l,u,f,p){const m=gr(l);let y=p?u.residualClasses:u.residualStyles;if(null===m)0===(p?u.classBindings:u.styleBindings)&&(f=Ma(f=lf(null,l,u,f,p),u.attrs,p),y=null);else{const C=u.directiveStylingLast;if(-1===C||l[C]!==m)if(f=lf(m,l,u,f,p),null===y){let x=function Iw(l,u,f){const p=f?u.classBindings:u.styleBindings;if(0!==ga(p))return l[Xo(p)]}(l,u,p);void 0!==x&&Array.isArray(x)&&(x=lf(null,l,u,x[1],p),x=Ma(x,u.attrs,p),function Nw(l,u,f,p){l[Xo(f?u.classBindings:u.styleBindings)]=p}(l,u,p,x))}else y=function Hw(l,u,f){let p;const m=u.directiveEnd;for(let y=1+u.directiveStylingLast;y0)&&(H=!0)}else j=f;if(m)if(0!==x){const ie=Xo(l[E+1]);l[p+1]=$p(ie,E),0!==ie&&(l[ie+1]=U1(l[ie+1],p)),l[E+1]=function VT(l,u){return 131071&l|u<<17}(l[E+1],p)}else l[p+1]=$p(E,0),0!==E&&(l[E+1]=U1(l[E+1],p)),E=p;else l[p+1]=$p(x,0),0===E?E=p:l[x+1]=U1(l[x+1],p),x=p;H&&(l[p+1]=Y1(l[p+1])),zs(l,j,p,!0),zs(l,j,p,!1),function Lw(l,u,f,p,m){const y=m?l.residualClasses:l.residualStyles;null!=y&&"string"==typeof u&&jt(y,u)>=0&&(f[p+1]=G1(f[p+1]))}(u,j,l,p,y),C=$p(E,x),y?u.classBindings=C:u.styleBindings=C}(m,y,u,f,C,p)}}function lf(l,u,f,p,m){let y=null;const C=f.directiveEnd;let E=f.directiveStylingLast;for(-1===E?E=f.directiveStart:E++;E0;){const x=l[m],H=Array.isArray(x),j=H?x[1]:x,J=null===j;let ie=f[m+1];ie===Dt&&(ie=J?We:void 0);let ue=J?Ar(ie,p):j===p?ie:void 0;if(H&&!uf(ue)&&(ue=Ar(x,p)),uf(ue)&&(E=ue,C))return E;const Me=l[m+1];m=C?Xo(Me):ga(Me)}if(null!==u){let x=y?u.residualClasses:u.residualStyles;null!=x&&(E=Ar(x,p))}return E}function uf(l){return void 0!==l}function v_(l,u){return 0!=(l.flags&(u?16:32))}function T_(l,u=""){const f=Ee(),p=Gt(),m=l+20,y=p.firstCreatePass?xl(p,m,1,u,null):p.data[m],C=f[m]=function x1(l,u){return hi(l)?l.createText(u):l.createTextNode(u)}(f[11],u);Ac(p,f,C,y),ys(y,!1)}function Bn(l){return Md("",l,""),Bn}function Md(l,u,f){const p=Ee(),m=Js(p,l,u,f);return m!==Dt&&Qo(p,_n(),m),Md}function df(l,u,f,p,m){const y=Ee(),C=Ec(y,l,u,f,p,m);return C!==Dt&&Qo(y,_n(),C),df}function E_(l,u,f,p,m,y,C,E,x,H,j){const J=Ee(),ie=Dc(J,l,u,f,p,m,y,C,E,x,H,j);return ie!==Dt&&Qo(J,_n(),ie),E_}function x_(l,u,f){Is(Qn,tr,Js(Ee(),l,u,f),!0)}function Nc(l,u,f){const p=Ee();return yi(p,ks(),u)&&Gn(Gt(),xi(),p,l,u,p[11],f,!0),Nc}function pf(l,u,f){const p=Ee();if(yi(p,ks(),u)){const y=Gt(),C=xi();Gn(y,C,p,l,u,lw(gr(y.data),C,p),f,!0)}return pf}const Ta=void 0;var z_=["en",[["a","p"],["AM","PM"],Ta],[["AM","PM"],Ta,Ta],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ta,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ta,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ta,"{1} 'at' {0}",Ta],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function vd(l){const f=Math.floor(Math.abs(l)),p=l.toString().replace(/^[^.]*\.?/,"").length;return 1===f&&0===p?1:5}];let Yl={};function jg(l){const u=function eM(l){return l.toLowerCase().replace(/_/g,"-")}(l);let f=Ug(u);if(f)return f;const p=u.split("-")[0];if(f=Ug(p),f)return f;if("en"===p)return z_;throw new Error(`Missing locale data for the locale "${l}".`)}function Yg(l){return jg(l)[ut.PluralCase]}function Ug(l){return l in Yl||(Yl[l]=Ft.ng&&Ft.ng.common&&Ft.ng.common.locales&&Ft.ng.common.locales[l]),Yl[l]}var ut=(()=>((ut=ut||{})[ut.LocaleId=0]="LocaleId",ut[ut.DayPeriodsFormat=1]="DayPeriodsFormat",ut[ut.DayPeriodsStandalone=2]="DayPeriodsStandalone",ut[ut.DaysFormat=3]="DaysFormat",ut[ut.DaysStandalone=4]="DaysStandalone",ut[ut.MonthsFormat=5]="MonthsFormat",ut[ut.MonthsStandalone=6]="MonthsStandalone",ut[ut.Eras=7]="Eras",ut[ut.FirstDayOfWeek=8]="FirstDayOfWeek",ut[ut.WeekendRange=9]="WeekendRange",ut[ut.DateFormat=10]="DateFormat",ut[ut.TimeFormat=11]="TimeFormat",ut[ut.DateTimeFormat=12]="DateTimeFormat",ut[ut.NumberSymbols=13]="NumberSymbols",ut[ut.NumberFormats=14]="NumberFormats",ut[ut.CurrencyCode=15]="CurrencyCode",ut[ut.CurrencySymbol=16]="CurrencySymbol",ut[ut.CurrencyName=17]="CurrencyName",ut[ut.Currencies=18]="Currencies",ut[ut.Directionality=19]="Directionality",ut[ut.PluralCase=20]="PluralCase",ut[ut.ExtraData=21]="ExtraData",ut))();const io="en-US";let tM=io;function ob(l,u,f,p,m){if(l=X(l),Array.isArray(l))for(let y=0;y>20;if(rd(l)||!l.multi){const ue=new Ws(x,m,wa),Me=n0(E,u,m?j:j+ie,J);-1===Me?(As(jo(H,C),y,E),Lr(y,l,u.length),u.push(E),H.directiveStart++,H.directiveEnd++,m&&(H.providerIndexes+=1048576),f.push(ue),C.push(ue)):(f[Me]=ue,C[Me]=ue)}else{const ue=n0(E,u,j+ie,J),Me=n0(E,u,j,j+ie),Ne=ue>=0&&f[ue],Ye=Me>=0&&f[Me];if(m&&!Ye||!m&&!Ne){As(jo(H,C),y,E);const Je=function _M(l,u,f,p,m){const y=new Ws(l,f,wa);return y.multi=[],y.index=u,y.componentProviders=0,rb(y,m,p&&!f),y}(m?mM:gM,f.length,m,p,x);!m&&Ye&&(f[Me].providerFactory=Je),Lr(y,l,u.length,0),u.push(E),H.directiveStart++,H.directiveEnd++,m&&(H.providerIndexes+=1048576),f.push(Je),C.push(Je)}else Lr(y,l,ue>-1?ue:Me,rb(f[m?Me:ue],x,!m&&p));!m&&p&&Ye&&f[Me].componentProviders++}}}function Lr(l,u,f,p){const m=rd(u),y=function dC(l){return!!l.useClass}(u);if(m||y){const x=(y?X(u.useClass):u).prototype.ngOnDestroy;if(x){const H=l.destroyHooks||(l.destroyHooks=[]);if(!m&&u.multi){const j=H.indexOf(f);-1===j?H.push(f,[p,x]):H[j+1].push(p,x)}else H.push(f,x)}}}function rb(l,u,f){return f&&l.componentProviders++,l.multi.push(u)-1}function n0(l,u,f,p){for(let m=f;m{f.providersResolver=(p,m)=>function Yt(l,u,f){const p=Gt();if(p.firstCreatePass){const m=os(l);ob(f,p.data,p.blueprint,m,!0),ob(u,p.data,p.blueprint,m,!1)}}(p,m?m(l):l,u)}}class cb{}class AM{resolveComponentFactory(u){throw function yM(l){const u=Error(`No component factory found for ${I(l)}. Did you add it to @NgModule.entryComponents?`);return u.ngComponent=l,u}(u)}}let kd=(()=>{class l{}return l.NULL=new AM,l})();function wM(){return Kl(tn(),Ee())}function Kl(l,u){return new Dd(Te(l,u))}let Dd=(()=>{class l{constructor(f){this.nativeElement=f}}return l.__NG_ELEMENT_ID__=wM,l})();function ub(l){return l instanceof Dd?l.nativeElement:l}class db{}let xd=(()=>{class l{}return l.__NG_ELEMENT_ID__=()=>function NC(){const l=Ee(),f=Ot(tn().index,l);return function IC(l){return l[11]}(Un(f)?f:l)}(),l})(),HC=(()=>{class l{}return l.\u0275prov=ai({token:l,providedIn:"root",factory:()=>null}),l})();class hb{constructor(u){this.full=u,this.major=u.split(".")[0],this.minor=u.split(".")[1],this.patch=u.split(".").slice(2).join(".")}}const fb=new hb("13.2.2"),o0={};function no(l,u,f,p,m=!1){for(;null!==f;){const y=u[f.index];if(null!==y&&p.push(z(y)),ss(y))for(let E=10;E-1&&(Gp(u,p),cc(f,p))}this._attachedToViewContainer=!1}P1(this._lView[1],this._lView)}onDestroy(u){Xp(this._lView[1],this._lView,null,u)}markForCheck(){ng(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){og(this._lView[1],this._lView,this.context)}checkNoChanges(){!function rw(l,u,f){Xa(!0);try{og(l,u,f)}finally{Xa(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ee(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function xT(l,u){Oh(l,u,u[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(u){if(this._attachedToViewContainer)throw new ee(902,"");this._appRef=u}}class MM extends Ld{constructor(u){super(u),this._view=u}detectChanges(){rg(this._view)}checkNoChanges(){!function ag(l){Xa(!0);try{rg(l)}finally{Xa(!1)}}(this._view)}get context(){return null}}class vM extends kd{constructor(u){super(),this.ngModule=u}resolveComponentFactory(u){const f=mn(u);return new Cf(f,this.ngModule)}}function r0(l){const u=[];for(let f in l)l.hasOwnProperty(f)&&u.push({propName:l[f],templateName:f});return u}const gb=new Si("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>k1});class Cf extends cb{constructor(u,f){super(),this.componentDef=u,this.ngModule=f,this.componentType=u.type,this.selector=function UT(l){return l.map(YT).join(",")}(u.selectors),this.ngContentSelectors=u.ngContentSelectors?u.ngContentSelectors:[],this.isBoundToModule=!!f}get inputs(){return r0(this.componentDef.inputs)}get outputs(){return r0(this.componentDef.outputs)}create(u,f,p,m){const y=(m=m||this.ngModule)?function TM(l,u){return{get:(f,p,m)=>{const y=l.get(f,o0,m);return y!==o0||p===o0?y:u.get(f,p,m)}}}(u,m.injector):u,C=y.get(db,P),E=y.get(HC,null),x=C.createRenderer(null,this.componentDef),H=this.componentDef.selectors[0][0]||"div",j=p?function rm(l,u,f){if(hi(l))return l.selectRootElement(u,f===Fe.ShadowDom);let p="string"==typeof u?l.querySelector(u):u;return p.textContent="",p}(x,p,this.componentDef.encapsulation):R1(C.createRenderer(null,this.componentDef),H,function pb(l){const u=l.toLowerCase();return"svg"===u?"svg":"math"===u?"math":null}(H)),J=this.componentDef.onPush?576:528,ie=function pg(l,u){return{components:[],scheduler:l||k1,clean:cw,playerHandler:u||null,flags:0}}(),ue=cn(0,null,null,1,0,null,null,null,null,null),Me=Nh(null,ue,ie,J,null,null,C,x,E,y);let Ne,Ye;mr(Me);try{const Je=function Ti(l,u,f,p,m,y){const C=f[1];f[20]=l;const x=xl(C,20,2,"#host",null),H=x.mergedAttrs=u.hostAttrs;null!==H&&(sd(x,H,!0),null!==l&&($r(m,l,H),null!==x.classes&&q1(m,l,x.classes),null!==x.styles&&OA(m,l,x.styles)));const j=p.createRenderer(l,u),J=Nh(f,nm(u),null,u.onPush?64:16,f[20],x,p,j,y||null,null);return C.firstCreatePass&&(As(jo(x,f),C,u.type),um(C,x),hm(x,f.length,1)),jh(f,J),f[20]=J}(j,this.componentDef,Me,C,x);if(j)if(p)$r(x,j,["ng-version",fb.full]);else{const{attrs:Se,classes:at}=function GT(l){const u=[],f=[];let p=1,m=2;for(;p0&&q1(x,j,at.join(" "))}if(Ye=li(ue,20),void 0!==f){const Se=Ye.projection=[];for(let at=0;atx(C,u)),u.contentQueries){const x=tn();u.contentQueries(1,C,x.directiveStart)}const E=tn();return!y.firstCreatePass||null===u.hostBindings&&null===u.hostAttrs||(wo(E.index),am(f[1],E,0,E.directiveStart,E.directiveEnd,u),tg(u,C)),C}(Je,this.componentDef,Me,ie,[Om]),Hh(ue,Me,null)}finally{_r()}return new Rd(this.componentType,Ne,Kl(Ye,Me),Me,Ye)}}class Rd extends class bM{}{constructor(u,f,p,m,y){super(),this.location=p,this._rootLView=m,this._tNode=y,this.instance=f,this.hostView=this.changeDetectorRef=new MM(m),this.componentType=u}get injector(){return new sa(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(u){this.hostView.onDestroy(u)}}class xo{}class mb{}const Rr=new Map;class $l extends xo{constructor(u,f){super(),this._parent=f,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new vM(this);const p=At(u);this._bootstrapComponents=Tr(p.bootstrap),this._r3Injector=vm(u,f,[{provide:xo,useValue:this},{provide:kd,useValue:this.componentFactoryResolver}],I(u)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(u)}get(u,f=Co.THROW_IF_NOT_FOUND,p=pe.Default){return u===Co||u===xo||u===Uh?this:this._r3Injector.get(u,f,p)}destroy(){const u=this._r3Injector;!u.destroyed&&u.destroy(),this.destroyCbs.forEach(f=>f()),this.destroyCbs=null}onDestroy(u){this.destroyCbs.push(u)}}class Sf extends mb{constructor(u){super(),this.moduleType=u,null!==At(u)&&function _b(l){const u=new Set;!function f(p){const m=At(p,!0),y=m.id;null!==y&&(function a0(l,u,f){if(u&&u!==f)throw new Error(`Duplicate module registered for ${l} - ${I(u)} vs ${I(u.name)}`)}(y,Rr.get(y),p),Rr.set(y,p));const C=Tr(m.imports);for(const E of C)u.has(E)||(u.add(E),f(E))}(l)}(u)}create(u){return new $l(this.moduleType,u)}}function Ea(l,u,f){const p=zn()+l,m=Ee();return m[p]===Dt?Qs(m,p,f?u.call(f):u()):function Sc(l,u){return l[u]}(m,p)}function Wn(l,u,f,p){return Or(Ee(),zn(),l,u,f,p)}function yb(l,u,f,p,m){return Mb(Ee(),zn(),l,u,f,p,m)}function Gi(l,u){const f=l[u];return f===Dt?void 0:f}function Or(l,u,f,p,m,y){const C=u+f;return yi(l,C,m)?Qs(l,C+1,y?p.call(y,m):p(m)):Gi(l,C+1)}function Mb(l,u,f,p,m,y,C){const E=u+f;return ya(l,E,m,y)?Qs(l,E+2,C?p.call(C,m,y):p(m,y)):Gi(l,E+2)}function kn(l,u,f,p,m,y,C,E){const x=u+f;return function Il(l,u,f,p,m){const y=ya(l,u,f,p);return yi(l,u+2,m)||y}(l,x,m,y,C)?Qs(l,x+3,E?p.call(E,m,y,C):p(m,y,C)):Gi(l,x+3)}function u0(l,u){const f=Gt();let p;const m=l+20;f.firstCreatePass?(p=function vb(l,u){if(u)for(let f=u.length-1;f>=0;f--){const p=u[f];if(l===p.name)return p}}(u,f.pipeRegistry),f.data[m]=p,p.onDestroy&&(f.destroyHooks||(f.destroyHooks=[])).push(m,p.onDestroy)):p=f.data[m];const y=p.factory||(p.factory=mi(p.type)),C=nt(wa);try{const E=qo(!1),x=y();return qo(E),function bg(l,u,f,p){f>=l.data.length&&(l.data[f]=null,l.blueprint[f]=null),u[f]=p}(f,Ee(),m,x),x}finally{nt(C)}}function d0(l,u,f){const p=l+20,m=Ee(),y=Xt(m,p);return Xl(m,p)?Or(m,zn(),u,y.transform,f,y):y.transform(f)}function h0(l,u,f,p){const m=l+20,y=Ee(),C=Xt(y,m);return Xl(y,m)?Mb(y,zn(),u,C.transform,f,p,C):C.transform(f,p)}function f0(l,u,f,p,m){const y=l+20,C=Ee(),E=Xt(C,y);return Xl(C,y)?kn(C,zn(),u,E.transform,f,p,m,E):E.transform(f,p,m)}function Xl(l,u){return l[1].data[u].pure}function kf(l){return u=>{setTimeout(l,void 0,u)}}const Lo=class Cb extends b.xQ{constructor(u=!1){super(),this.__isAsync=u}emit(u){super.next(u)}subscribe(u,f,p){var m,y,C;let E=u,x=f||(()=>null),H=p;if(u&&"object"==typeof u){const J=u;E=null===(m=J.next)||void 0===m?void 0:m.bind(J),x=null===(y=J.error)||void 0===y?void 0:y.bind(J),H=null===(C=J.complete)||void 0===C?void 0:C.bind(J)}this.__isAsync&&(x=kf(x),E&&(E=kf(E)),H&&(H=kf(H)));const j=super.subscribe({next:E,error:x,complete:H});return u instanceof i.w&&u.add(j),j}};function xM(){return this._results[_a()]()}class Od{constructor(u=!1){this._emitDistinctChangesOnly=u,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const f=_a(),p=Od.prototype;p[f]||(p[f]=xM)}get changes(){return this._changes||(this._changes=new Lo)}get(u){return this._results[u]}map(u){return this._results.map(u)}filter(u){return this._results.filter(u)}find(u){return this._results.find(u)}reduce(u,f){return this._results.reduce(u,f)}forEach(u){this._results.forEach(u)}some(u){return this._results.some(u)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(u,f){const p=this;p.dirty=!1;const m=vn(u);(this._changesDetected=!function gh(l,u,f){if(l.length!==u.length)return!1;for(let p=0;p{class l{}return l.__NG_ELEMENT_ID__=g0,l})();const p0=Ql,Sb=class extends p0{constructor(u,f,p){super(),this._declarationLView=u,this._declarationTContainer=f,this.elementRef=p}createEmbeddedView(u){const f=this._declarationTContainer.tViews,p=Nh(this._declarationLView,f,u,16,null,f.declTNode,null,null,null,null);p[17]=this._declarationLView[this._declarationTContainer.index];const y=this._declarationLView[19];return null!==y&&(p[19]=y.createEmbeddedView(f)),Hh(f,p,u),new Ld(p)}};function g0(){return Pd(tn(),Ee())}function Pd(l,u){return 4&l.type?new Sb(u,l,Kl(l,u)):null}let zd=(()=>{class l{}return l.__NG_ELEMENT_ID__=Eb,l})();function Eb(){return b0(tn(),Ee())}const m0=zd,Id=class extends m0{constructor(u,f,p){super(),this._lContainer=u,this._hostTNode=f,this._hostLView=p}get element(){return Kl(this._hostTNode,this._hostLView)}get injector(){return new sa(this._hostTNode,this._hostLView)}get parentInjector(){const u=na(this._hostTNode,this._hostLView);if(Qr(u)){const f=ea(u,this._hostLView),p=Jr(u);return new sa(f[1].data[p+8],f)}return new sa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(u){const f=_0(this._lContainer);return null!==f&&f[u]||null}get length(){return this._lContainer.length-10}createEmbeddedView(u,f,p){const m=u.createEmbeddedView(f||{});return this.insert(m,p),m}createComponent(u,f,p,m,y){const C=u&&!function Mo(l){return"function"==typeof l}(u);let E;if(C)E=f;else{const J=f||{};E=J.index,p=J.injector,m=J.projectableNodes,y=J.ngModuleRef}const x=C?u:new Cf(mn(u)),H=p||this.parentInjector;if(!y&&null==x.ngModule&&H){const J=H.get(xo,null);J&&(y=J)}const j=x.create(H,m,void 0,y);return this.insert(j.hostView,E),j}insert(u,f){const p=u._lView,m=p[1];if(function vi(l){return ss(l[3])}(p)){const j=this.indexOf(u);if(-1!==j)this.detach(j);else{const J=p[3],ie=new Id(J,J[6],J[3]);ie.detach(ie.indexOf(u))}}const y=this._adjustIndex(f),C=this._lContainer;!function LT(l,u,f,p){const m=10+p,y=f.length;p>0&&(f[m-1][4]=u),p0)p.push(C[E/2]);else{const H=y[E+1],j=u[-x];for(let J=10;J{class l{constructor(f){this.appInits=f,this.resolve=tu,this.reject=tu,this.initialized=!1,this.done=!1,this.donePromise=new Promise((p,m)=>{this.resolve=p,this.reject=m})}runInitializers(){if(this.initialized)return;const f=[],p=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let m=0;m{y.subscribe({complete:E,error:x})});f.push(C)}}Promise.all(f).then(()=>{p()}).catch(m=>{this.reject(m)}),0===f.length&&p(),this.initialized=!0}}return l.\u0275fac=function(f){return new(f||l)(sn(iu,8))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();const KM=new Si("AppId"),ZM={provide:KM,useFactory:function Gb(){return`${Hf()}${Hf()}${Hf()}`},deps:[]};function Hf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Vb=new Si("Platform Initializer"),x0=new Si("Platform ID"),Bf=new Si("appBootstrapListener");let so=(()=>{class l{log(f){console.log(f)}warn(f){console.warn(f)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();const Ff=new Si("LocaleId"),Ir=new Si("DefaultCurrencyCode");class L0{constructor(u,f){this.ngModuleFactory=u,this.componentFactories=f}}let qf=(()=>{class l{compileModuleSync(f){return new Sf(f)}compileModuleAsync(f){return Promise.resolve(this.compileModuleSync(f))}compileModuleAndAllComponentsSync(f){const p=this.compileModuleSync(f),y=Tr(At(f).declarations).reduce((C,E)=>{const x=mn(E);return x&&C.push(new Cf(x)),C},[]);return new L0(p,y)}compileModuleAndAllComponentsAsync(f){return Promise.resolve(this.compileModuleAndAllComponentsSync(f))}clearCache(){}clearCacheFor(f){}getModuleId(f){}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();const XM=(()=>Promise.resolve(0))();function jf(l){"undefined"==typeof Zone?XM.then(()=>{l&&l.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",l)}class hs{constructor({enableLongStackTrace:u=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:p=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Lo(!1),this.onMicrotaskEmpty=new Lo(!1),this.onStable=new Lo(!1),this.onError=new Lo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),u&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!p&&f,m.shouldCoalesceRunChangeDetection=p,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function QM(){let l=Ft.requestAnimationFrame,u=Ft.cancelAnimationFrame;if("undefined"!=typeof Zone&&l&&u){const f=l[Zone.__symbol__("OriginalDelegate")];f&&(l=f);const p=u[Zone.__symbol__("OriginalDelegate")];p&&(u=p)}return{nativeRequestAnimationFrame:l,nativeCancelAnimationFrame:u}}().nativeRequestAnimationFrame,function ev(l){const u=()=>{!function Kb(l){l.isCheckStableRunning||-1!==l.lastRequestAnimationFrameId||(l.lastRequestAnimationFrameId=l.nativeRequestAnimationFrame.call(Ft,()=>{l.fakeTopEventTask||(l.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{l.lastRequestAnimationFrameId=-1,Zb(l),l.isCheckStableRunning=!0,O0(l),l.isCheckStableRunning=!1},void 0,()=>{},()=>{})),l.fakeTopEventTask.invoke()}),Zb(l))}(l)};l._inner=l._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(f,p,m,y,C,E)=>{try{return Yf(l),f.invokeTask(m,y,C,E)}finally{(l.shouldCoalesceEventChangeDetection&&"eventTask"===y.type||l.shouldCoalesceRunChangeDetection)&&u(),$b(l)}},onInvoke:(f,p,m,y,C,E,x)=>{try{return Yf(l),f.invoke(m,y,C,E,x)}finally{l.shouldCoalesceRunChangeDetection&&u(),$b(l)}},onHasTask:(f,p,m,y)=>{f.hasTask(m,y),p===m&&("microTask"==y.change?(l._hasPendingMicrotasks=y.microTask,Zb(l),O0(l)):"macroTask"==y.change&&(l.hasPendingMacrotasks=y.macroTask))},onHandleError:(f,p,m,y)=>(f.handleError(m,y),l.runOutsideAngular(()=>l.onError.emit(y)),!1)})}(m)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!hs.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(hs.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(u,f,p){return this._inner.run(u,f,p)}runTask(u,f,p,m){const y=this._inner,C=y.scheduleEventTask("NgZoneEvent: "+m,u,JM,tu,tu);try{return y.runTask(C,f,p)}finally{y.cancelTask(C)}}runGuarded(u,f,p){return this._inner.runGuarded(u,f,p)}runOutsideAngular(u){return this._outer.run(u)}}const JM={};function O0(l){if(0==l._nesting&&!l.hasPendingMicrotasks&&!l.isStable)try{l._nesting++,l.onMicrotaskEmpty.emit(null)}finally{if(l._nesting--,!l.hasPendingMicrotasks)try{l.runOutsideAngular(()=>l.onStable.emit(null))}finally{l.isStable=!0}}}function Zb(l){l.hasPendingMicrotasks=!!(l._hasPendingMicrotasks||(l.shouldCoalesceEventChangeDetection||l.shouldCoalesceRunChangeDetection)&&-1!==l.lastRequestAnimationFrameId)}function Yf(l){l._nesting++,l.isStable&&(l.isStable=!1,l.onUnstable.emit(null))}function $b(l){l._nesting--,O0(l)}class Xb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Lo,this.onMicrotaskEmpty=new Lo,this.onStable=new Lo,this.onError=new Lo}run(u,f,p){return u.apply(f,p)}runGuarded(u,f,p){return u.apply(f,p)}runOutsideAngular(u){return u()}runTask(u,f,p,m){return u.apply(f,p)}}let Qb=(()=>{class l{constructor(f){this._ngZone=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),f.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{hs.assertNotInAngularZone(),jf(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())jf(()=>{for(;0!==this._callbacks.length;){let f=this._callbacks.pop();clearTimeout(f.timeoutId),f.doneCb(this._didWork)}this._didWork=!1});else{let f=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(f)||(clearTimeout(p.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(f=>({source:f.source,creationLocation:f.creationLocation,data:f.data})):[]}addCallback(f,p,m){let y=-1;p&&p>0&&(y=setTimeout(()=>{this._callbacks=this._callbacks.filter(C=>C.timeoutId!==y),f(this._didWork,this.getPendingTasks())},p)),this._callbacks.push({doneCb:f,timeoutId:y,updateCb:m})}whenStable(f,p,m){if(m&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(f,p,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(f,p,m){return[]}}return l.\u0275fac=function(f){return new(f||l)(sn(hs))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})(),P0=(()=>{class l{constructor(){this._applications=new Map,Uf.addToWindow(this)}registerApplication(f,p){this._applications.set(f,p)}unregisterApplication(f){this._applications.delete(f)}unregisterAllApplications(){this._applications.clear()}getTestability(f){return this._applications.get(f)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(f,p=!0){return Uf.findTestabilityInTree(this,f,p)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();class Fc{addToWindow(u){}findTestabilityInTree(u,f,p){return null}}function tv(l){Uf=l}let Oo,Uf=new Fc;const vs=new Si("AllowMultipleToken");class Gf{constructor(u,f){this.name=u,this.token=f}}function z0(l,u,f=[]){const p=`Platform: ${u}`,m=new Si(p);return(y=[])=>{let C=ey();if(!C||C.injector.get(vs,!1))if(l)l(f.concat(y).concat({provide:m,useValue:!0}));else{const E=f.concat(y).concat({provide:m,useValue:!0},{provide:Am,useValue:"platform"});!function nv(l){if(Oo&&!Oo.destroyed&&!Oo.injector.get(vs,!1))throw new ee(400,"");Oo=l.get(I0);const u=l.get(Vb,null);u&&u.forEach(f=>f())}(Co.create({providers:E,name:p}))}return function sv(l){const u=ey();if(!u)throw new ee(401,"");return u}()}}function ey(){return Oo&&!Oo.destroyed?Oo:null}let I0=(()=>{class l{constructor(f){this._injector=f,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(f,p){const E=function rv(l,u){let f;return f="noop"===l?new Xb:("zone.js"===l?void 0:l)||new hs({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==u?void 0:u.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==u?void 0:u.ngZoneRunCoalescing)}),f}(p?p.ngZone:void 0,{ngZoneEventCoalescing:p&&p.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:p&&p.ngZoneRunCoalescing||!1}),x=[{provide:hs,useValue:E}];return E.run(()=>{const H=Co.create({providers:x,parent:this.injector,name:f.moduleType.name}),j=f.create(H),J=j.injector.get($u,null);if(!J)throw new ee(402,"");return E.runOutsideAngular(()=>{const ie=E.onError.subscribe({next:ue=>{J.handleError(ue)}});j.onDestroy(()=>{iy(this._modules,j),ie.unsubscribe()})}),function ty(l,u,f){try{const p=f();return n_(p)?p.catch(m=>{throw u.runOutsideAngular(()=>l.handleError(m)),m}):p}catch(p){throw u.runOutsideAngular(()=>l.handleError(p)),p}}(J,E,()=>{const ie=j.injector.get(nu);return ie.runInitializers(),ie.donePromise.then(()=>(function Gg(l){ot(l,"Expected localeId to be defined"),"string"==typeof l&&(tM=l.toLowerCase().replace(/_/g,"-"))}(j.injector.get(Ff,io)||io),this._moduleDoBootstrap(j),j))})})}bootstrapModule(f,p=[]){const m=av({},p);return function Jb(l,u,f){const p=new Sf(f);return Promise.resolve(p)}(0,0,f).then(y=>this.bootstrapModuleFactory(y,m))}_moduleDoBootstrap(f){const p=f.injector.get(Vf);if(f._bootstrapComponents.length>0)f._bootstrapComponents.forEach(m=>p.bootstrap(m));else{if(!f.instance.ngDoBootstrap)throw new ee(403,"");f.instance.ngDoBootstrap(p)}this._modules.push(f)}onDestroy(f){this._destroyListeners.push(f)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ee(404,"");this._modules.slice().forEach(f=>f.destroy()),this._destroyListeners.forEach(f=>f()),this._destroyed=!0}get destroyed(){return this._destroyed}}return l.\u0275fac=function(f){return new(f||l)(sn(Co))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();function av(l,u){return Array.isArray(u)?u.reduce(av,l):Object.assign(Object.assign({},l),u)}let Vf=(()=>{class l{constructor(f,p,m,y,C){this._zone=f,this._injector=p,this._exceptionHandler=m,this._componentFactoryResolver=y,this._initStatus=C,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const E=new T.y(H=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{H.next(this._stable),H.complete()})}),x=new T.y(H=>{let j;this._zone.runOutsideAngular(()=>{j=this._zone.onStable.subscribe(()=>{hs.assertNotInAngularZone(),jf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,H.next(!0))})})});const J=this._zone.onUnstable.subscribe(()=>{hs.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{H.next(!1)}))});return()=>{j.unsubscribe(),J.unsubscribe()}});this.isStable=(0,M.T)(E,x.pipe((0,v.B)()))}bootstrap(f,p){if(!this._initStatus.done)throw new ee(405,"");let m;m=f instanceof cb?f:this._componentFactoryResolver.resolveComponentFactory(f),this.componentTypes.push(m.componentType);const y=function iv(l){return l.isBoundToModule}(m)?void 0:this._injector.get(xo),E=m.create(Co.NULL,[],p||m.selector,y),x=E.location.nativeElement,H=E.injector.get(Qb,null),j=H&&E.injector.get(P0);return H&&j&&j.registerApplication(x,H),E.onDestroy(()=>{this.detachView(E.hostView),iy(this.components,E),j&&j.unregisterApplication(x)}),this._loadComponent(E),E}tick(){if(this._runningTick)throw new ee(101,"");try{this._runningTick=!0;for(let f of this._views)f.detectChanges()}catch(f){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(f))}finally{this._runningTick=!1}}attachView(f){const p=f;this._views.push(p),p.attachToAppRef(this)}detachView(f){const p=f;iy(this._views,p),p.detachFromAppRef()}_loadComponent(f){this.attachView(f.hostView),this.tick(),this.components.push(f),this._injector.get(Bf,[]).concat(this._bootstrapListeners).forEach(m=>m(f))}ngOnDestroy(){this._views.slice().forEach(f=>f.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return l.\u0275fac=function(f){return new(f||l)(sn(hs),sn(Co),sn($u),sn(kd),sn(nu))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();function iy(l,u){const f=l.indexOf(u);f>-1&&l.splice(f,1)}let su=!0;function ZC(){su=!1}let cv=(()=>{class l{}return l.__NG_ELEMENT_ID__=lv,l})();function lv(l){return function uv(l,u,f){if(Bo(l)&&!f){const p=Ot(l.index,u);return new Ld(p,p)}return 47&l.type?new Ld(u[16],u):null}(tn(),Ee(),16==(16&l))}class ly{constructor(){}supports(u){return Cc(u)}create(u){return new q0(u)}}const Zf=(l,u)=>u;class q0{constructor(u){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=u||Zf}forEachItem(u){let f;for(f=this._itHead;null!==f;f=f._next)u(f)}forEachOperation(u){let f=this._itHead,p=this._removalsHead,m=0,y=null;for(;f||p;){const C=!p||f&&f.currentIndex{C=this._trackByFn(m,E),null!==f&&Object.is(f.trackById,C)?(p&&(f=this._verifyReinsertion(f,E,C,m)),Object.is(f.item,E)||this._addIdentityChange(f,E)):(f=this._mismatch(f,E,C,m),p=!0),f=f._next,m++}),this.length=m;return this._truncate(f),this.collection=u,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let u;for(u=this._previousItHead=this._itHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._additionsHead;null!==u;u=u._nextAdded)u.previousIndex=u.currentIndex;for(this._additionsHead=this._additionsTail=null,u=this._movesHead;null!==u;u=u._nextMoved)u.previousIndex=u.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(u,f,p,m){let y;return null===u?y=this._itTail:(y=u._prev,this._remove(u)),null!==(u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(u.item,f)||this._addIdentityChange(u,f),this._reinsertAfter(u,y,m)):null!==(u=null===this._linkedRecords?null:this._linkedRecords.get(p,m))?(Object.is(u.item,f)||this._addIdentityChange(u,f),this._moveAfter(u,y,m)):u=this._addAfter(new oS(f,p),y,m),u}_verifyReinsertion(u,f,p,m){let y=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==y?u=this._reinsertAfter(y,u._prev,m):u.currentIndex!=m&&(u.currentIndex=m,this._addToMoves(u,m)),u}_truncate(u){for(;null!==u;){const f=u._next;this._addToRemovals(this._unlink(u)),u=f}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(u,f,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(u);const m=u._prevRemoved,y=u._nextRemoved;return null===m?this._removalsHead=y:m._nextRemoved=y,null===y?this._removalsTail=m:y._prevRemoved=m,this._insertAfter(u,f,p),this._addToMoves(u,p),u}_moveAfter(u,f,p){return this._unlink(u),this._insertAfter(u,f,p),this._addToMoves(u,p),u}_addAfter(u,f,p){return this._insertAfter(u,f,p),this._additionsTail=null===this._additionsTail?this._additionsHead=u:this._additionsTail._nextAdded=u,u}_insertAfter(u,f,p){const m=null===f?this._itHead:f._next;return u._next=m,u._prev=f,null===m?this._itTail=u:m._prev=u,null===f?this._itHead=u:f._next=u,null===this._linkedRecords&&(this._linkedRecords=new Yc),this._linkedRecords.put(u),u.currentIndex=p,u}_remove(u){return this._addToRemovals(this._unlink(u))}_unlink(u){null!==this._linkedRecords&&this._linkedRecords.remove(u);const f=u._prev,p=u._next;return null===f?this._itHead=p:f._next=p,null===p?this._itTail=f:p._prev=f,u}_addToMoves(u,f){return u.previousIndex===f||(this._movesTail=null===this._movesTail?this._movesHead=u:this._movesTail._nextMoved=u),u}_addToRemovals(u){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yc),this._unlinkedRecords.put(u),u.currentIndex=null,u._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=u,u._prevRemoved=null):(u._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=u),u}_addIdentityChange(u,f){return u.item=f,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=u:this._identityChangesTail._nextIdentityChange=u,u}}class oS{constructor(u,f){this.item=u,this.trackById=f,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class uy{constructor(){this._head=null,this._tail=null}add(u){null===this._head?(this._head=this._tail=u,u._nextDup=null,u._prevDup=null):(this._tail._nextDup=u,u._prevDup=this._tail,u._nextDup=null,this._tail=u)}get(u,f){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===f||f<=p.currentIndex)&&Object.is(p.trackById,u))return p;return null}remove(u){const f=u._prevDup,p=u._nextDup;return null===f?this._head=p:f._nextDup=p,null===p?this._tail=f:p._prevDup=f,null===this._head}}class Yc{constructor(){this.map=new Map}put(u){const f=u.trackById;let p=this.map.get(f);p||(p=new uy,this.map.set(f,p)),p.add(u)}get(u,f){const m=this.map.get(u);return m?m.get(u,f):null}remove(u){const f=u.trackById;return this.map.get(f).remove(u)&&this.map.delete(f),u}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function dy(l,u,f){const p=l.previousIndex;if(null===p)return p;let m=0;return f&&p{if(f&&f.key===m)this._maybeAddToChanges(f,p),this._appendAfter=f,f=f._next;else{const y=this._getOrCreateRecordForKey(m,p);f=this._insertBeforeOrAppend(f,y)}}),f){f._prev&&(f._prev._next=null),this._removalsHead=f;for(let p=f;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(u,f){if(u){const p=u._prev;return f._next=u,f._prev=p,u._prev=f,p&&(p._next=f),u===this._mapHead&&(this._mapHead=f),this._appendAfter=u,u}return this._appendAfter?(this._appendAfter._next=f,f._prev=this._appendAfter):this._mapHead=f,this._appendAfter=f,null}_getOrCreateRecordForKey(u,f){if(this._records.has(u)){const m=this._records.get(u);this._maybeAddToChanges(m,f);const y=m._prev,C=m._next;return y&&(y._next=C),C&&(C._prev=y),m._next=null,m._prev=null,m}const p=new fv(u);return this._records.set(u,p),p.currentValue=f,this._addToAdditions(p),p}_reset(){if(this.isDirty){let u;for(this._previousMapHead=this._mapHead,u=this._previousMapHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._changesHead;null!==u;u=u._nextChanged)u.previousValue=u.currentValue;for(u=this._additionsHead;null!=u;u=u._nextAdded)u.previousValue=u.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(u,f){Object.is(f,u.currentValue)||(u.previousValue=u.currentValue,u.currentValue=f,this._addToChanges(u))}_addToAdditions(u){null===this._additionsHead?this._additionsHead=this._additionsTail=u:(this._additionsTail._nextAdded=u,this._additionsTail=u)}_addToChanges(u){null===this._changesHead?this._changesHead=this._changesTail=u:(this._changesTail._nextChanged=u,this._changesTail=u)}_forEach(u,f){u instanceof Map?u.forEach(f):Object.keys(u).forEach(p=>f(u[p],p))}}class fv{constructor(u){this.key=u,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function j0(){return new $f([new ly])}let $f=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(null!=p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||j0()),deps:[[l,new ua,new cs]]}}find(f){const p=this.factories.find(m=>m.supports(f));if(null!=p)return p;throw new ee(901,"")}}return l.\u0275prov=ai({token:l,providedIn:"root",factory:j0}),l})();function fy(){return new Y0([new hy])}let Y0=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||fy()),deps:[[l,new ua,new cs]]}}find(f){const p=this.factories.find(y=>y.supports(f));if(p)return p;throw new ee(901,"")}}return l.\u0275prov=ai({token:l,providedIn:"root",factory:fy}),l})();const py=[new hy],pv=new $f([new ly]),aS=new Y0(py),mv=z0(null,"core",[{provide:x0,useValue:"unknown"},{provide:I0,deps:[Co]},{provide:P0,deps:[]},{provide:so,deps:[]}]),fs=[{provide:Vf,useClass:Vf,deps:[hs,Co,$u,kd,nu]},{provide:gb,deps:[hs],useFactory:function wv(l){let u=[];return l.onStable.subscribe(()=>{for(;u.length;)u.pop()()}),function(f){u.push(f)}}},{provide:nu,useClass:nu,deps:[[new cs,iu]]},{provide:qf,useClass:qf,deps:[]},ZM,{provide:$f,useFactory:function _v(){return pv},deps:[]},{provide:Y0,useFactory:function bv(){return aS},deps:[]},{provide:Ff,useFactory:function yv(l){return l||function Av(){return"undefined"!=typeof $localize&&$localize.locale||io}()},deps:[[new fc(Ff),new cs,new ua]]},{provide:Ir,useValue:"USD"}];let Mv=(()=>{class l{constructor(f){}}return l.\u0275fac=function(f){return new(f||l)(sn(Vf))},l.\u0275mod=ar({type:l}),l.\u0275inj=pn({providers:fs}),l})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(6227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class q extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return q.\u0275fac=function(){let Y;return function(b){return(Y||(Y=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(q)))(b||q)}}(),q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class q{constructor(){this.data=new Map}getItem(w){return this.data.get(w)}removeItem(w){this.data.delete(w)}setItem(w,b){this.data.set(w,b)}}return q.\u0275fac=function(w){return new(w||q)},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class ReceivedTokens{}class OAuthEvent{constructor(Y){this.type=Y}}class OAuthSuccessEvent extends OAuthEvent{constructor(Y,w=null){super(Y),this.info=w}}class OAuthInfoEvent extends OAuthEvent{constructor(Y,w=null){super(Y),this.info=w}}class OAuthErrorEvent extends OAuthEvent{constructor(Y,w,b=null){super(Y),this.reason=w,this.params=b}}function b64DecodeUnicode(q){const Y=q.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(Y).split("").map(function(w){return"%"+("00"+w.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(q){return btoa(q).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(Y){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=w=>{location.href=w},Y&&Object.assign(this,Y)}}class WebHttpUrlEncodingCodec{encodeKey(Y){return encodeURIComponent(Y)}encodeValue(Y){return encodeURIComponent(Y)}decodeKey(Y){return decodeURIComponent(Y)}decodeValue(Y){return decodeURIComponent(Y)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(Y){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let w=this.inferHashAlgorithm(Y.idTokenHeader),b=yield this.calcHash(Y.accessToken,w),T=base64UrlEncode(b.substr(0,b.length/2)),M=Y.idTokenClaims.at_hash.replace(/=/g,"");return T!==M&&(console.error("exptected at_hash: "+T),console.error("actual at_hash: "+M)),T===M})}inferHashAlgorithm(Y){let w=Y.alg;if(!w.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+w);return"sha-"+w.substr(2)}}let UrlHelperService=(()=>{class q{getHashFragmentParams(w){let b=w||window.location.hash;if(b=decodeURIComponent(b),0!==b.indexOf("#"))return{};const i=b.indexOf("?");return b=b.substr(i>-1?i+1:1),this.parseQueryString(b)}parseQueryString(w){const b={};let i,T,M,v,k,L,I;if(null===w)return b;i=w.split("&");for(let B=0;B>6,T[v++]=128|63&k):k<55296||k>=57344?(T[v++]=224|k>>12,T[v++]=128|k>>6&63,T[v++]=128|63&k):(k=65536+((1023&k)<<10|1023&q.charCodeAt(++b)),T[v++]=240|k>>18,T[v++]=128|k>>12&63,T[v++]=128|k>>6&63,T[v++]=128|63&k);q=T}else{if("object"!==i)throw new Error(ERROR);if(null===q)throw new Error(ERROR);if(ARRAY_BUFFER&&q.constructor===ArrayBuffer)q=new Uint8Array(q);else if(!(Array.isArray(q)||ARRAY_BUFFER&&ArrayBuffer.isView(q)))throw new Error(ERROR)}q.length>64&&(q=new Sha256(Y,!0).update(q).array());var L=[],I=[];for(b=0;b<64;++b){var B=q[b]||0;L[b]=92^B,I[b]=54^B}Sha256.call(this,Y,w),this.update(I),this.oKeyPad=L,this.inner=!0,this.sharedMemory=w}Sha256.prototype.update=function(q){if(!this.finalized){var Y,w=typeof q;if("string"!==w){if("object"!==w)throw new Error(ERROR);if(null===q)throw new Error(ERROR);if(ARRAY_BUFFER&&q.constructor===ArrayBuffer)q=new Uint8Array(q);else if(!(Array.isArray(q)||ARRAY_BUFFER&&ArrayBuffer.isView(q)))throw new Error(ERROR);Y=!0}for(var b,T,i=0,M=q.length,v=this.blocks;i>2]|=q[i]<>2]|=b<>2]|=(192|b>>6)<>2]|=(128|63&b)<=57344?(v[T>>2]|=(224|b>>12)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<>2]|=(240|b>>18)<>2]|=(128|b>>12&63)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<=64?(this.block=v[16],this.start=T-64,this.hash(),this.hashed=!0):this.start=T}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var q=this.blocks,Y=this.lastByteIndex;q[16]=this.block,q[Y>>2]|=EXTRA[3&Y],this.block=q[16],Y>=56&&(this.hashed||this.hash(),q[0]=this.block,q[16]=q[1]=q[2]=q[3]=q[4]=q[5]=q[6]=q[7]=q[8]=q[9]=q[10]=q[11]=q[12]=q[13]=q[14]=q[15]=0),q[14]=this.hBytes<<3|this.bytes>>>29,q[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var L,U,ae,ee,ce,he,q=this.h0,Y=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,M=this.h6,v=this.h7,k=this.blocks;for(L=16;L<64;++L)k[L]=k[L-16]+(((U=k[L-15])>>>7|U<<25)^(U>>>18|U<<14)^U>>>3)+k[L-7]+(((U=k[L-2])>>>17|U<<15)^(U>>>19|U<<13)^U>>>10)<<0;for(he=Y&w,L=0;L<64;L+=4)this.first?(this.is224?(ae=300032,v=(U=k[0]-1413257819)-150054599<<0,b=U+24177077<<0):(ae=704751109,v=(U=k[0]-210244248)-1521486534<<0,b=U+143694565<<0),this.first=!1):(v=b+(U=v+((i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7))+(i&T^~i&M)+K[L]+k[L])<<0,b=U+(((q>>>2|q<<30)^(q>>>13|q<<19)^(q>>>22|q<<10))+((ae=q&Y)^q&w^he))<<0),M=w+(U=M+((v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))+(v&i^~v&T)+K[L+1]+k[L+1])<<0,w=U+(((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+((ee=b&q)^b&Y^ae))<<0,T=Y+(U=T+((M>>>6|M<<26)^(M>>>11|M<<21)^(M>>>25|M<<7))+(M&v^~M&i)+K[L+2]+k[L+2])<<0,Y=U+(((w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10))+((ce=w&b)^w&q^ee))<<0,i=q+(U=i+((T>>>6|T<<26)^(T>>>11|T<<21)^(T>>>25|T<<7))+(T&M^~T&v)+K[L+3]+k[L+3])<<0,q=U+(((Y>>>2|Y<<30)^(Y>>>13|Y<<19)^(Y>>>22|Y<<10))+((he=Y&w)^Y&b^ce))<<0;this.h0=this.h0+q<<0,this.h1=this.h1+Y<<0,this.h2=this.h2+w<<0,this.h3=this.h3+b<<0,this.h4=this.h4+i<<0,this.h5=this.h5+T<<0,this.h6=this.h6+M<<0,this.h7=this.h7+v<<0},Sha256.prototype.hex=function(){this.finalize();var q=this.h0,Y=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,M=this.h6,v=this.h7,k=HEX_CHARS[q>>28&15]+HEX_CHARS[q>>24&15]+HEX_CHARS[q>>20&15]+HEX_CHARS[q>>16&15]+HEX_CHARS[q>>12&15]+HEX_CHARS[q>>8&15]+HEX_CHARS[q>>4&15]+HEX_CHARS[15&q]+HEX_CHARS[Y>>28&15]+HEX_CHARS[Y>>24&15]+HEX_CHARS[Y>>20&15]+HEX_CHARS[Y>>16&15]+HEX_CHARS[Y>>12&15]+HEX_CHARS[Y>>8&15]+HEX_CHARS[Y>>4&15]+HEX_CHARS[15&Y]+HEX_CHARS[w>>28&15]+HEX_CHARS[w>>24&15]+HEX_CHARS[w>>20&15]+HEX_CHARS[w>>16&15]+HEX_CHARS[w>>12&15]+HEX_CHARS[w>>8&15]+HEX_CHARS[w>>4&15]+HEX_CHARS[15&w]+HEX_CHARS[b>>28&15]+HEX_CHARS[b>>24&15]+HEX_CHARS[b>>20&15]+HEX_CHARS[b>>16&15]+HEX_CHARS[b>>12&15]+HEX_CHARS[b>>8&15]+HEX_CHARS[b>>4&15]+HEX_CHARS[15&b]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[T>>28&15]+HEX_CHARS[T>>24&15]+HEX_CHARS[T>>20&15]+HEX_CHARS[T>>16&15]+HEX_CHARS[T>>12&15]+HEX_CHARS[T>>8&15]+HEX_CHARS[T>>4&15]+HEX_CHARS[15&T]+HEX_CHARS[M>>28&15]+HEX_CHARS[M>>24&15]+HEX_CHARS[M>>20&15]+HEX_CHARS[M>>16&15]+HEX_CHARS[M>>12&15]+HEX_CHARS[M>>8&15]+HEX_CHARS[M>>4&15]+HEX_CHARS[15&M];return this.is224||(k+=HEX_CHARS[v>>28&15]+HEX_CHARS[v>>24&15]+HEX_CHARS[v>>20&15]+HEX_CHARS[v>>16&15]+HEX_CHARS[v>>12&15]+HEX_CHARS[v>>8&15]+HEX_CHARS[v>>4&15]+HEX_CHARS[15&v]),k},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var q=this.h0,Y=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,M=this.h6,v=this.h7,k=[q>>24&255,q>>16&255,q>>8&255,255&q,Y>>24&255,Y>>16&255,Y>>8&255,255&Y,w>>24&255,w>>16&255,w>>8&255,255&w,b>>24&255,b>>16&255,b>>8&255,255&b,i>>24&255,i>>16&255,i>>8&255,255&i,T>>24&255,T>>16&255,T>>8&255,255&T,M>>24&255,M>>16&255,M>>8&255,255&M];return this.is224||k.push(v>>24&255,v>>16&255,v>>8&255,255&v),k},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var q=new ArrayBuffer(this.is224?28:32),Y=new DataView(q);return Y.setUint32(0,this.h0),Y.setUint32(4,this.h1),Y.setUint32(8,this.h2),Y.setUint32(12,this.h3),Y.setUint32(16,this.h4),Y.setUint32(20,this.h5),Y.setUint32(24,this.h6),this.is224||Y.setUint32(28,this.h7),q},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var q=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(q),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(q){if("string"!=typeof q)throw new TypeError("expected string");var Y,w=q,b=new Uint8Array(w.length);for(Y=0;Y{class q{calcHash(w,b){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(w)))})}toHashString2(w){let b="";for(let i of w)b+=String.fromCharCode(i);return b}toHashString(w){const b=new Uint8Array(w);let i="";for(let T of b)i+=String.fromCharCode(T);return i}}return q.\u0275fac=function(w){return new(w||q)},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})(),OAuthService=(()=>{class q extends AuthConfig{constructor(w,b,i,T,M,v,k,L,I,B){var F;super(),this.ngZone=w,this.http=b,this.config=M,this.urlHelper=v,this.logger=k,this.crypto=L,this.dateTimeService=B,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=I,M||(M={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),T&&(this.tokenValidationHandler=T),M&&this.configure(M);try{i?this.setStorage(i):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(U){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",U)}if(this.checkLocalStorageAccessable()){const U=null===(F=null==window?void 0:window.navigator)||void 0===F?void 0:F.userAgent;((null==U?void 0:U.includes("MSIE "))||(null==U?void 0:U.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const w="test";try{return void 0!==window.localStorage&&(localStorage.setItem(w,w),localStorage.removeItem(w),!0)}catch(b){return!1}}configure(w){Object.assign(this,new AuthConfig,w),this.config=Object.assign({},new AuthConfig,w),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type)).subscribe(w=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(w={},b,i=!0){let T=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(M=>{"token_received"===M.type?T=!0:"logout"===M.type&&(T=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(M=>"token_expires"===M.type&&(null==b||"any"===b||M.info===b)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(M=>{T&&this.refreshInternal(w,i).catch(v=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(w,b){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(w,b):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(w=null){return this.loadDiscoveryDocument().then(b=>this.tryLogin(w))}loadDiscoveryDocumentAndLogin(w=null){return this.loadDiscoveryDocumentAndTryLogin(w=w||{}).then(b=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof w.state?w.state:""),!1))}debug(...w){this.showDebugInformation&&this.logger.debug.apply(this.logger,w)}validateUrlFromDiscoveryDocument(w){const b=[],i=this.validateUrlForHttps(w),T=this.validateUrlAgainstIssuer(w);return i||b.push("https for all urls required. Also for urls received by discovery."),T||b.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),b}validateUrlForHttps(w){if(!w)return!0;const b=w.toLowerCase();return!(!1!==this.requireHttps&&(!b.match(/^http:\/\/localhost($|[:\/])/)&&!b.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||b.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(w,b){if(!w)throw new Error(`'${b}' should not be null`);if(!this.validateUrlForHttps(w))throw new Error(`'${b}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(w){return!this.strictDiscoveryDocumentValidation||!w||w.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type)).subscribe(w=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const w=this.getAccessTokenExpiration(),b=this.getAccessTokenStoredAt(),i=this.calcTimeout(b,w);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(i)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}setupIdTokenTimer(){const w=this.getIdTokenExpiration(),b=this.getIdTokenStoredAt(),i=this.calcTimeout(b,w);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(i)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(w,b){const i=this.dateTimeService.now();return Math.max(0,(b-w)*this.timeoutFactor-(i-w))}setStorage(w){this._storage=w,this.configChanged()}loadDiscoveryDocument(w=null){return new Promise((b,i)=>{w||((w=this.issuer||"").endsWith("/")||(w+="/"),w+=".well-known/openid-configuration"),this.validateUrlForHttps(w)?this.http.get(w).subscribe(T=>{if(!this.validateDiscoveryDocument(T))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");this.loginUrl=T.authorization_endpoint,this.logoutUrl=T.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=T.grant_types_supported,this.issuer=T.issuer,this.tokenEndpoint=T.token_endpoint,this.userinfoEndpoint=T.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=T.jwks_uri,this.sessionCheckIFrameUrl=T.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(T),this.revocationEndpoint=T.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(M=>{const k=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:T,jwks:M});this.eventsSubject.next(k),b(k)}).catch(M=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",M)),i(M)})},T=>{this.logger.error("error loading discovery document",T),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",T)),i(T)}):i("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((w,b)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(i=>{this.jwks=i,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),w(i)},i=>{this.logger.error("error loading jwks",i),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",i)),b(i)}):w(null)})}validateDiscoveryDocument(w){let b;return this.skipIssuerCheck||w.issuer===this.issuer?(b=this.validateUrlFromDiscoveryDocument(w.authorization_endpoint),b.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.end_session_endpoint),b.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.token_endpoint),b.length>0&&this.logger.error("error validating token_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(w.revocation_endpoint),b.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(w.userinfo_endpoint),b.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.jwks_uri),b.length>0?(this.logger.error("error validating jwks_uri in discovery document",b),!1):(this.sessionChecksEnabled&&!w.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+w.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(w,b,i).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((w,b)=>{const i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:i,observe:"response",responseType:"text"}).subscribe(T=>{if(this.debug("userinfo received",JSON.stringify(T)),T.headers.get("content-type").startsWith("application/json")){let M=JSON.parse(T.body);const v=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!v.sub||M.sub!==v.sub))return void b("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");M=Object.assign({},v,M),this._storage.setItem("id_token_claims_obj",JSON.stringify(M)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),w({info:M})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),w(JSON.parse(T.body))},T=>{this.logger.error("error loading user info",T),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",T)),b(T)})})}fetchTokenUsingPasswordFlow(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:w,password:b},i)}fetchTokenUsingGrant(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let T=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",w).set("scope",this.scope);if(this.useHttpBasicAuth){const M=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+M)}if(this.useHttpBasicAuth||(T=T.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(T=T.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const M of Object.getOwnPropertyNames(this.customQueryParams))T=T.set(M,this.customQueryParams[M]);for(const M of Object.keys(b))T=T.set(M,b[M]);return i=i.set("Content-Type","application/x-www-form-urlencoded"),new Promise((M,v)=>{this.http.post(this.tokenEndpoint,T,{headers:i}).subscribe(k=>{this.debug("tokenResponse",k),this.storeAccessTokenResponse(k.access_token,k.refresh_token,k.expires_in||this.fallbackAccessTokenExpirationTimeInSec,k.scope,this.extractRecognizedCustomParameters(k)),this.oidc&&k.id_token&&this.processIdToken(k.id_token,k.access_token).then(L=>{this.storeIdToken(L),M(k)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),M(k)},k=>{this.logger.error("Error performing ${grantType} flow",k),this.eventsSubject.next(new OAuthErrorEvent("token_error",k)),v(k)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((w,b)=>{let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),T=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const M=btoa(`${this.clientId}:${this.dummyClientSecret}`);T=T.set("Authorization","Basic "+M)}if(this.useHttpBasicAuth||(i=i.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(i=i.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const M of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(M,this.customQueryParams[M]);this.http.post(this.tokenEndpoint,i,{headers:T}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(M=>M.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(M.id_token,M.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(v=>this.storeIdToken(v)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(v=>M)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(M))).subscribe(M=>{this.debug("refresh tokenResponse",M),this.storeAccessTokenResponse(M.access_token,M.refresh_token,M.expires_in||this.fallbackAccessTokenExpirationTimeInSec,M.scope,this.extractRecognizedCustomParameters(M)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),w(M)},M=>{this.logger.error("Error refreshing token",M),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",M)),b(M)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=w=>{const b=this.processMessageEventMessage(w);this.tryLogin({customHashFragment:b,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(i=>this.debug("tryLogin during silent refresh failed",i))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(w={},b=!0){const i=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(w.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const T=this.document.getElementById(this.silentRefreshIFrameName);T&&this.document.body.removeChild(T),this.silentRefreshSubject=i.sub;const M=this.document.createElement("iframe");M.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,b,w).then(B=>{M.setAttribute("src",B),this.silentRefreshShowIFrame||(M.style.display="none"),this.document.body.appendChild(M)});const k=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>B instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),L=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>"token_received"===B.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),I=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([k,L,I]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(B=>{if(B instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===B.type||(B=new OAuthErrorEvent("silent_refresh_error",B)),this.eventsSubject.next(B),B;return"token_received"===B.type&&(B=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(B)),B})).toPromise()}initImplicitFlowInPopup(w){return this.initLoginFlowInPopup(w)}initLoginFlowInPopup(w){return w=w||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(b=>new Promise((i,T)=>{let k,v=null;w.windowRef?w.windowRef&&!w.windowRef.closed&&(v=w.windowRef,v.location.href=b):v=window.open(b,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(w));const L=X=>{this.tryLogin({customHashFragment:X,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{B(),i(!0)},Q=>{B(),T(Q)})};v?k=window.setInterval(()=>{(!v||v.closed)&&(B(),T(new OAuthErrorEvent("popup_closed",{})))},500):T(new OAuthErrorEvent("popup_blocked",{}));const B=()=>{window.clearInterval(k),window.removeEventListener("storage",U),window.removeEventListener("message",F),null!==v&&v.close(),v=null},F=X=>{const Q=this.processMessageEventMessage(X);Q&&null!==Q?(window.removeEventListener("storage",U),L(Q)):console.log("false event firing")},U=X=>{"auth_hash"===X.key&&(window.removeEventListener("message",F),L(X.newValue))};window.addEventListener("message",F),window.addEventListener("storage",U)}))}calculatePopupFeatures(w){const b=w.height||470,i=w.width||500,T=window.screenLeft+(window.outerWidth-i)/2;return`location=no,toolbar=no,width=${i},height=${b},top=${window.screenTop+(window.outerHeight-b)/2},left=${T}`}processMessageEventMessage(w){let b="#";if(this.silentRefreshMessagePrefix&&(b+=this.silentRefreshMessagePrefix),!w||!w.data||"string"!=typeof w.data)return;const i=w.data;return i.startsWith(b)?"#"+i.substr(b.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=w=>{const b=w.origin.toLowerCase(),i=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),i.startsWith(b)){switch(w.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",w)}else this.debug("sessionCheckEventListener","wrong origin",b,"expected",i,"event",w)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(w=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(w=>{this.debug("token refresh after session change worked")}).catch(w=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"silently_refreshed"===w.type||"silent_refresh_timeout"===w.type||"silent_refresh_error"===w.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(w=>{"silently_refreshed"!==w.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const w=this.document.getElementById(this.sessionCheckIFrameName);w&&this.document.body.removeChild(w);const b=this.document.createElement("iframe");b.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),b.setAttribute("src",this.sessionCheckIFrameUrl),b.style.display="none",this.document.body.appendChild(b),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const w=this.document.getElementById(this.sessionCheckIFrameName);w||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const b=this.getSessionState();b||this.stopSessionCheckTimer(),w.contentWindow.postMessage(this.clientId+" "+b,this.issuer)}createLoginUrl(w="",b="",i="",T=!1,M={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const v=this;let k;k=i||this.redirectUri;const L=yield this.createAndSaveNonce();if(w=w?L+this.config.nonceStateSeparator+encodeURIComponent(w):L,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const I=v.loginUrl.indexOf("?")>-1?"&":"?";let B=v.scope;this.oidc&&!B.match(/(^|\s)openid($|\s)/)&&(B="openid "+B);let F=v.loginUrl+I+"response_type="+encodeURIComponent(v.responseType)+"&client_id="+encodeURIComponent(v.clientId)+"&state="+encodeURIComponent(w)+"&redirect_uri="+encodeURIComponent(k)+"&scope="+encodeURIComponent(B);if(this.responseType.includes("code")&&!this.disablePKCE){const[U,X]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",X):this._storage.setItem("PKCE_verifier",X),F+="&code_challenge="+U,F+="&code_challenge_method=S256"}b&&(F+="&login_hint="+encodeURIComponent(b)),v.resource&&(F+="&resource="+encodeURIComponent(v.resource)),v.oidc&&(F+="&nonce="+encodeURIComponent(L)),T&&(F+="&prompt=none");for(const U of Object.keys(M))F+="&"+encodeURIComponent(U)+"="+encodeURIComponent(M[U]);if(this.customQueryParams)for(const U of Object.getOwnPropertyNames(this.customQueryParams))F+="&"+U+"="+encodeURIComponent(this.customQueryParams[U]);return F})}initImplicitFlowInternal(w="",b=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let i={},T=null;"string"==typeof b?T=b:"object"==typeof b&&(i=b),this.createLoginUrl(w,T,null,!1,i).then(this.config.openUri).catch(M=>{console.error("Error in initImplicitFlow",M),this.inImplicitFlow=!1})}initImplicitFlow(w="",b=""){""!==this.loginUrl?this.initImplicitFlowInternal(w,b):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(i=>"discovery_document_loaded"===i.type)).subscribe(i=>this.initImplicitFlowInternal(w,b))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(w){const b=this;if(w.onTokenReceived){const i={idClaims:b.getIdentityClaims(),idToken:b.getIdToken(),accessToken:b.getAccessToken(),state:b.state};w.onTokenReceived(i)}}storeAccessTokenResponse(w,b,i,T,M){if(this._storage.setItem("access_token",w),T&&!Array.isArray(T)?this._storage.setItem("granted_scopes",JSON.stringify(T.split(" "))):T&&Array.isArray(T)&&this._storage.setItem("granted_scopes",JSON.stringify(T)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){const v=1e3*i,L=this.dateTimeService.new().getTime()+v;this._storage.setItem("expires_at",""+L)}b&&this._storage.setItem("refresh_token",b),M&&M.forEach((v,k)=>{this._storage.setItem(k,v)})}tryLogin(w=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(w).then(b=>!0):this.tryLoginImplicitFlow(w)}parseQueryString(w){return w&&0!==w.length?("?"===w.charAt(0)&&(w=w.substr(1)),this.urlHelper.parseQueryString(w)):{}}tryLoginCodeFlow(w=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const b=(w=w||{}).customHashFragment?w.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(b),T=i.code,M=i.state,v=i.session_state;if(!w.preventClearHashAfterLogin){const I=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,I)}let[k,L]=this.parseState(M);if(this.state=L,i.error){this.debug("error trying to login"),this.handleLoginError(w,i);const I=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(I),Promise.reject(I)}if(!w.disableNonceCheck){if(!k)return this.saveRequestedRoute(),Promise.resolve();if(!w.disableOAuth2StateCheck&&!this.validateNonce(k)){const B=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(B),Promise.reject(B)}return this.storeSessionState(v),T&&(yield this.getTokenFromCode(T,w),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const w=this._storage.getItem("requested_route");w&&history.replaceState(null,"",window.location.origin+w)}getCodePartsFromUrl(w){return w&&0!==w.length?("?"===w.charAt(0)&&(w=w.substr(1)),this.urlHelper.parseQueryString(w)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(w,b){let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",w).set("redirect_uri",b.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let T;T=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),T?i=i.set("code_verifier",T):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(i,b)}fetchAndProcessToken(w,b){b=b||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const T=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+T)}return this.useHttpBasicAuth||(w=w.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(w=w.set("client_secret",this.dummyClientSecret)),new Promise((T,M)=>{if(this.customQueryParams)for(let v of Object.getOwnPropertyNames(this.customQueryParams))w=w.set(v,this.customQueryParams[v]);this.http.post(this.tokenEndpoint,w,{headers:i}).subscribe(v=>{this.debug("refresh tokenResponse",v),this.storeAccessTokenResponse(v.access_token,v.refresh_token,v.expires_in||this.fallbackAccessTokenExpirationTimeInSec,v.scope,this.extractRecognizedCustomParameters(v)),this.oidc&&v.id_token?this.processIdToken(v.id_token,v.access_token,b.disableNonceCheck).then(k=>{this.storeIdToken(k),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(v)}).catch(k=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",k)),console.error("Error validating tokens"),console.error(k),M(k)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(v))},v=>{console.error("Error getting token",v),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",v)),M(v)})})}tryLoginImplicitFlow(w=null){let b;b=(w=w||{}).customHashFragment?this.urlHelper.getHashFragmentParams(w.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",b);const i=b.state;let[T,M]=this.parseState(i);if(this.state=M,b.error){this.debug("error trying to login"),this.handleLoginError(w,b);const B=new OAuthErrorEvent("token_error",{},b);return this.eventsSubject.next(B),Promise.reject(B)}const v=b.access_token,k=b.id_token,L=b.session_state,I=b.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!v||this.requestAccessToken&&!w.disableOAuth2StateCheck&&!i||this.oidc&&!k)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!L&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!w.disableNonceCheck&&!this.validateNonce(T)){const F=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(F),Promise.reject(F)}return this.requestAccessToken&&this.storeAccessTokenResponse(v,null,b.expires_in||this.fallbackAccessTokenExpirationTimeInSec,I),this.oidc?this.processIdToken(k,v,w.disableNonceCheck).then(B=>w.validationHandler?w.validationHandler({accessToken:v,idClaims:B.idTokenClaims,idToken:B.idToken,state:i}).then(F=>B):B).then(B=>(this.storeIdToken(B),this.storeSessionState(L),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(w),this.inImplicitFlow=!1,!0)).catch(B=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",B)),this.logger.error("Error validating tokens"),this.logger.error(B),Promise.reject(B))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(w),Promise.resolve(!0))}parseState(w){let b=w,i="";if(w){const T=w.indexOf(this.config.nonceStateSeparator);T>-1&&(b=w.substr(0,T),i=w.substr(T+this.config.nonceStateSeparator.length))}return[b,i]}validateNonce(w){let b;return b=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),b===w||(console.error("Validating access_token failed, wrong state/nonce.",b,w),!1)}storeIdToken(w){this._storage.setItem("id_token",w.idToken),this._storage.setItem("id_token_claims_obj",w.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+w.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(w){this._storage.setItem("session_state",w)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(w,b){w.onLoginError&&w.onLoginError(b),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(w=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:w}processIdToken(w,b,i=!1){const T=w.split("."),v=b64DecodeUnicode(this.padBase64(T[0])),k=JSON.parse(v),I=b64DecodeUnicode(this.padBase64(T[1])),B=JSON.parse(I);let F;if(F=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(B.aud)){if(B.aud.every(ce=>ce!==this.clientId)){const ce="Wrong audience: "+B.aud.join(",");return this.logger.warn(ce),Promise.reject(ce)}}else if(B.aud!==this.clientId){const ce="Wrong audience: "+B.aud;return this.logger.warn(ce),Promise.reject(ce)}if(!B.sub){const ce="No sub claim in id_token";return this.logger.warn(ce),Promise.reject(ce)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==B.sub){const ce=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${B.sub}`;return this.logger.warn(ce),Promise.reject(ce)}if(!B.iat){const ce="No iat claim in id_token";return this.logger.warn(ce),Promise.reject(ce)}if(!this.skipIssuerCheck&&B.iss!==this.issuer){const ce="Wrong issuer: "+B.iss;return this.logger.warn(ce),Promise.reject(ce)}if(!i&&B.nonce!==F){const ce="Wrong nonce: "+B.nonce;return this.logger.warn(ce),Promise.reject(ce)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!B.at_hash){const ce="An at_hash is needed!";return this.logger.warn(ce),Promise.reject(ce)}const U=this.dateTimeService.now(),X=1e3*B.iat,Q=1e3*B.exp,ae=this.getClockSkewInMsec();if(X-ae>=U||Q+ae<=U){const ce="Token has expired";return console.error(ce),console.error({now:U,issuedAtMSec:X,expiresAtMSec:Q}),Promise.reject(ce)}const ee={accessToken:b,idToken:w,jwks:this.jwks,idTokenClaims:B,idTokenHeader:k,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ee).then(ce=>({idToken:w,idTokenClaims:B,idTokenClaimsJson:I,idTokenHeader:k,idTokenHeaderJson:v,idTokenExpiresAt:Q})):this.checkAtHash(ee).then(ce=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ce){const he="Wrong at_hash";return this.logger.warn(he),Promise.reject(he)}return this.checkSignature(ee).then(he=>{const He={idToken:w,idTokenClaims:B,idTokenClaimsJson:I,idTokenHeader:k,idTokenHeaderJson:v,idTokenExpiresAt:Q};return this.disableAtHashCheck?He:this.checkAtHash(ee).then(Ze=>{if(this.requestAccessToken&&!Ze){const bt="Wrong at_hash";return this.logger.warn(bt),Promise.reject(bt)}return He})})})}getIdentityClaims(){const w=this._storage.getItem("id_token_claims_obj");return w?JSON.parse(w):null}getGrantedScopes(){const w=this._storage.getItem("granted_scopes");return w?JSON.parse(w):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(w){for(;w.length%4!=0;)w+="=";return w}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const w=this._storage.getItem("expires_at"),b=this.dateTimeService.new();return!(w&&parseInt(w,10)=0&&null!==this._storage.getItem(w)?JSON.parse(this._storage.getItem(w)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(w={},b=""){let i=!1;"boolean"==typeof w&&(i=w,w={});const T=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(v=>this._storage.removeItem(v)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||i||!T&&!this.postLogoutRedirectUri)return;let M;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)M=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(T)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let v=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});T&&(v=v.set("id_token_hint",T));const k=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";k&&(v=v.set("post_logout_redirect_uri",k),b&&(v=v.set("state",b)));for(let L in w)v=v.set(L,w[L]);M=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+v.toString()}this.config.openUri(M)}createAndSaveNonce(){const w=this;return this.createNonce().then(function(b){return w.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",b):w._storage.setItem("nonce",b),b})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const w=this.document.getElementById(this.silentRefreshIFrameName);w&&w.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const b=this.document.getElementById(this.sessionCheckIFrameName);b&&b.remove()}createNonce(){return new Promise(w=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let i=45,T="";const M="undefined"==typeof self?null:self.crypto||self.msCrypto;if(M){let v=new Uint8Array(i);M.getRandomValues(v),v.map||(v.map=Array.prototype.map),v=v.map(k=>b.charCodeAt(k%b.length)),T=String.fromCharCode.apply(null,v)}else for(;0"discovery_document_loaded"===i.type)).subscribe(i=>this.initCodeFlowInternal(w,b))}initCodeFlowInternal(w="",b={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let i={},T=null;"string"==typeof b?T=b:"object"==typeof b&&(i=b),this.createLoginUrl(w,T,null,!1,i).then(this.config.openUri).catch(M=>{console.error("Error in initAuthorizationCodeFlow"),console.error(M)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const w=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(w,"sha-256")),w]})}extractRecognizedCustomParameters(w){let b=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(i=>{w[i]&&b.set(i,JSON.stringify(w[i]))}),b}revokeTokenAndLogout(w={},b=!1){let i=this.revocationEndpoint,T=this.getAccessToken(),M=this.getRefreshToken();if(!T)return;let v=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),k=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const L=btoa(`${this.clientId}:${this.dummyClientSecret}`);k=k.set("Authorization","Basic "+L)}if(this.useHttpBasicAuth||(v=v.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(v=v.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const L of Object.getOwnPropertyNames(this.customQueryParams))v=v.set(L,this.customQueryParams[L]);return new Promise((L,I)=>{let B,F;if(T){let U=v.set("token",T).set("token_type_hint","access_token");B=this.http.post(i,U,{headers:k})}else B=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(M){let U=v.set("token",M).set("token_type_hint","refresh_token");F=this.http.post(i,U,{headers:k})}else F=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);b&&(B=B.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(U=>0===U.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(U))),F=F.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(U=>0===U.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(U)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([B,F]).subscribe(U=>{this.logOut(w),L(U),this.logger.info("Token successfully revoked")},U=>{this.logger.error("Error revoking token",U),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",U)),I(U)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return q.\u0275fac=function(w){return new(w||q)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(Y){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(Y)}}let DefaultOAuthInterceptor=(()=>{class q{constructor(w,b,i){this.oAuthService=w,this.errorHandler=b,this.moduleConfig=i}checkUrl(w){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(w):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(b=>w.toLowerCase().startsWith(b.toLowerCase()))}intercept(w,b){const i=w.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(i)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(M=>!!M)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(M=>"token_received"===M.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(M=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(M=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(M=>{if(M){const k=w.headers.set("Authorization","Bearer "+M);w=w.clone({headers:k})}return b.handle(w).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(v=>this.errorHandler.handleError(v)))})):b.handle(w).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(M=>this.errorHandler.handleError(M))):b.handle(w)}}return q.\u0275fac=function(w){return new(w||q)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class NullValidationHandler{validateSignature(Y){return Promise.resolve(null)}validateAtHash(Y){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class q{static forRoot(w=null,b=NullValidationHandler){return{ngModule:q,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:b},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:w},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return q.\u0275fac=function(w){return new(w||q)},q.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:q}),q.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),q})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},1128:q=>{"use strict";q.exports=JSON.parse('{"version":"2021e","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Nairobi|LMT +0230 EAT +0245|-2r.g -2u -30 -2J|012132|-2ua2r.g N6nV.g 3Fbu h1cu dzbJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT GMT +0030 WAT|-d.z 0 -u -10|01023|-2B40d.z 7iod.z dnXK.p dLzH.z|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|012121212121212121212121212121212131|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 PeX0|","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5","Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00|","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0|","America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0|","America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0|","America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0|","America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0|","America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0|","America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0|","America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Barbados|LMT AST ADT -0330|3W.t 40 30 3u|0121213121212121|-2m4k1.v 1eAN1.v RB0 1Bz0 Op0 1rb0 11d0 1jJc0 IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CWT CPT CDT|5Q.M 60 5u 50 50 50|012121212121212121212121212121212121212121212121213412121212121212121212121212121212121212121215151|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu Rcu 7Bt0 Ni0 4nd0 Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu e9Au qn0 lxB0 mn0|57e3","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Dawson|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|13e2","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|0121212121212121212121212121212121212121212121212121212121212121212121212132121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 7jA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5","America/Guyana|LMT -04 -0345 -03|3Q.D 40 3J 30|01231|-2mf87.l 8Hc7.l 2r7bJ Ey0f|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010401054541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5","America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 +08 +11|0 -80 -b0|0121212121212|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10 1o30 14k0 1kr0 12l0 1o01|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Pacific/Port_Moresby|+10|-a0|0||25e4","Antarctica/Macquarie|AEST AEDT -00|-a0 -b0 0|010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 4SK0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 3Co0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1C00 LA0 1C00|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|01010101010101010101010101010|-23uw0 18n0 OjB0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|01010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST +03 +04|-1U.U -20 -30 -30 -40|0121212121212121212121212121212121212121212121234312121212121212121212121212121212121212121212121212121212121212123|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|01212121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyOk.E MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 3LA0 Eo0 oo0 1co0 1dA0 16o0 10M0 1jc0 1tA0 14o0 1cM0 1a00 11A0 1Nc0 Ao0 1Nc0 Ao0 1Ko0 LA0 1o00 WM0 EQK0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4","Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5","Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4","Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|BMT BST AST ADT|4j.i 3j.i 40 30|010102323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28p7E.G 1bb0 1i10 11X0 ru30 thbE.G 1PX0 11B0 1tz0 Rd0 1zb0 Op0 1zb0 3I10 Lz0 1EN0 FX0 1HB0 FX0 1Kp0 Db0 1Kp0 Db0 1Kp0 FX0 93d0 11z0 GAp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|-02|20|0||30","Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Hobart|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 1qM0 Oo0 1zc0 Oo0 TAo0 yM0 1cM0 1cM0 1fA0 1a00 VfA0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293iJ xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293i0 xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","EST|EST|50|0||","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Etc/GMT-0|GMT|0|0||","Etc/GMT-1|+01|-10|0||","Etc/GMT-11|+11|-b0|0||","Pacific/Tarawa|+12|-c0|0||29e3","Etc/GMT-13|+13|-d0|0||","Etc/GMT-14|+14|-e0|0||","Etc/GMT-2|+02|-20|0||","Etc/GMT-3|+03|-30|0||","Etc/GMT-4|+04|-40|0||","Etc/GMT-5|+05|-50|0||","Etc/GMT-6|+06|-60|0||","Indian/Christmas|+07|-70|0||21e2","Etc/GMT-8|+08|-80|0||","Pacific/Palau|+09|-90|0||21e3","Etc/GMT+1|-01|10|0||","Etc/GMT+10|-10|a0|0||","Etc/GMT+11|-11|b0|0||","Etc/GMT+12|-12|c0|0||","Etc/GMT+3|-03|30|0||","Etc/GMT+4|-04|40|0||","Etc/GMT+5|-05|50|0||","Etc/GMT+6|-06|60|0||","Etc/GMT+7|-07|70|0||","Etc/GMT+8|-08|80|0||","Etc/GMT+9|-09|90|0||","Etc/UTC|UTC|0|0||","Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 1oo0 11c0 1lc0 17c0 O1V0 3Nf0 WM0 1fA0 1cM0 1cM0 1oJ0 1dd0 1020 1fX0 1cp0 1cM0 1cM0 1cM0 1fA0 1a00 bhy0 Rb0 1wr0 Rc0 1C00 LA0 1C00 LA0 SNW0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cO0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST EET EEST MSK MSD +03|-10 -20 -20 -30 -30 -40 -30|01010101010101232454545454545454543232323232323232323232323232323232323232323262|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2n5c9.l cFX9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810|","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|0123232323232323212121212121212121212121212121212121212121212121|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0 5gn0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0||","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Cocos|+0630|-6u|0||596","Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130","Indian/Mahe|LMT +04|-3F.M -40|01|-2xorF.M|79e3","Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","MST|MST|70|0||","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|012121212121212121212121|-2l9nd.g 2uNXd.g Dc0 n610 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-00 -12 -11 +13|0 c0 b0 -d0|0123|-1iIo0 1GsA0 B7X0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|01212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 2hc0 bc0 4q00 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00|88e4","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4","Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4","Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2","Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2","Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3","Pacific/Niue|LMT -1120 -11|bj.E bk b0|012|-FScE.k suo0.k|12e2","Pacific/Norfolk|+1112 +1130 +1230 +11 +12|-bc -bu -cu -b0 -c0|012134343434343434343434343434343434343434|-Kgbc W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56","Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3","Pacific/Rarotonga|LMT -1030 -0930 -10|aD.4 au 9u a0|0123232323232323232323232323|-FSdk.U 13tbO.U IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|LMT +1220 +13 +14|-cj.c -ck -d0 -e0|01232323232|-XbMj.c BgLX.c 1yndk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|"],"links":["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Chicago|US/Central","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Godthab|America/Nuuk","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Phoenix|America/Creston","America/Phoenix|US/Arizona","America/Puerto_Rico|America/Anguilla","America/Puerto_Rico|America/Antigua","America/Puerto_Rico|America/Aruba","America/Puerto_Rico|America/Blanc-Sablon","America/Puerto_Rico|America/Curacao","America/Puerto_Rico|America/Dominica","America/Puerto_Rico|America/Grenada","America/Puerto_Rico|America/Guadeloupe","America/Puerto_Rico|America/Kralendijk","America/Puerto_Rico|America/Lower_Princes","America/Puerto_Rico|America/Marigot","America/Puerto_Rico|America/Montserrat","America/Puerto_Rico|America/Port_of_Spain","America/Puerto_Rico|America/St_Barthelemy","America/Puerto_Rico|America/St_Kitts","America/Puerto_Rico|America/St_Lucia","America/Puerto_Rico|America/St_Thomas","America/Puerto_Rico|America/St_Vincent","America/Puerto_Rico|America/Tortola","America/Puerto_Rico|America/Virgin","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|America/Nassau","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Riyadh|Antarctica/Syowa","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Atlantic/South_Georgia|Etc/GMT+2","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Currie","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT-0|Etc/GMT","Etc/GMT-0|Etc/GMT+0","Etc/GMT-0|Etc/GMT0","Etc/GMT-0|Etc/Greenwich","Etc/GMT-0|GMT","Etc/GMT-0|GMT+0","Etc/GMT-0|GMT-0","Etc/GMT-0|GMT0","Etc/GMT-0|Greenwich","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Christmas|Etc/GMT-7","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Enderbury|Pacific/Kanton","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Palau|Etc/GMT-9","Pacific/Pohnpei|Pacific/Ponape","Pacific/Port_Moresby|Antarctica/DumontDUrville","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Tarawa|Etc/GMT-12","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"],"countries":["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Port_of_Spain America/Antigua","AI|America/Port_of_Spain America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/DumontDUrville Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Syowa Antarctica/Troll Antarctica/Vostok Pacific/Auckland Antarctica/McMurdo","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Curacao America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Port_of_Spain America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Brunei","BO|America/La_Paz","BQ|America/Curacao America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Blanc-Sablon America/Toronto America/Nipigon America/Thunder_Bay America/Iqaluit America/Pangnirtung America/Atikokan America/Winnipeg America/Rainy_River America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Yellowknife America/Inuvik America/Creston America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver","CC|Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Curacao","CX|Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Copenhagen","DM|America/Port_of_Spain America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Chuuk Pacific/Pohnpei Pacific/Kosrae","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Port_of_Spain America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Port_of_Spain America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Enderbury Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Port_of_Spain America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Port_of_Spain America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Port_of_Spain America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Majuro Pacific/Kwajalein","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Port_of_Spain America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Mazatlan America/Chihuahua America/Ojinaga America/Hermosillo America/Tijuana America/Bahia_Banderas","MY|Asia/Kuala_Lumpur Asia/Kuching","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Amsterdam","NO|Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Oslo Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Curacao America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Indian/Reunion Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Port_of_Spain","TV|Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kiev Europe/Uzhgorod Europe/Zaporozhye","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Wake Pacific/Honolulu Pacific/Midway","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Port_of_Spain America/St_Vincent","VE|America/Caracas","VG|America/Port_of_Spain America/Tortola","VI|America/Port_of_Spain America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}')},4147:q=>{"use strict";q.exports={i8:"6.1.1"}}},q=>{q(q.s=9510)}]); \ No newline at end of file diff --git a/dist/apps/user-profile/styles.6560ce4db354dc40.css b/dist/apps/user-profile/styles.7ef077fc55af1f73.css similarity index 99% rename from dist/apps/user-profile/styles.6560ce4db354dc40.css rename to dist/apps/user-profile/styles.7ef077fc55af1f73.css index efa9c23fa..1425392dd 100644 --- a/dist/apps/user-profile/styles.6560ce4db354dc40.css +++ b/dist/apps/user-profile/styles.7ef077fc55af1f73.css @@ -1,4 +1,4 @@ -@charset "UTF-8";.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-body-2{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body p,.mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-raised-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button,.mat-fab,.mat-mini-fab{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-subtitle,.mat-card-content{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-trailing-icon.mat-icon,.mat-chip .mat-chip-remove.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-header,.mat-grid-tile-footer{font-size:14px}.mat-grid-tile-header .mat-line,.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2),.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-stepper-vertical,.mat-stepper-horizontal{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@-webkit-keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}.mat-ripple-element{background-color:#0000001a}.mat-option{color:#000000de}.mat-option:hover:not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.mat-option.mat-option-disabled{color:#00000061}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#212121}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.mat-optgroup-label{color:#0000008a}.mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.mat-pseudo-checkbox{color:#0000008a}.mat-pseudo-checkbox:after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#212121}.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate,.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate{background:#43a047}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:white;color:#000000de}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:white}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.mat-badge{position:relative}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-badge-content{color:#fff;background:#212121}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:transparent}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#212121}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#43a047}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#f44336}.mat-button.mat-primary.mat-button-disabled,.mat-button.mat-accent.mat-button-disabled,.mat-button.mat-warn.mat-button-disabled,.mat-button.mat-button-disabled.mat-button-disabled,.mat-icon-button.mat-primary.mat-button-disabled,.mat-icon-button.mat-accent.mat-button-disabled,.mat-icon-button.mat-warn.mat-button-disabled,.mat-icon-button.mat-button-disabled.mat-button-disabled,.mat-stroked-button.mat-primary.mat-button-disabled,.mat-stroked-button.mat-accent.mat-button-disabled,.mat-stroked-button.mat-warn.mat-button-disabled,.mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#212121}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.mat-button.mat-button-disabled .mat-button-focus-overlay,.mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:black}.mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.mat-flat-button,.mat-raised-button,.mat-fab,.mat-mini-fab{color:#000000de;background-color:#fff}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary,.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent,.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{color:#fff}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary{background-color:#212121}.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent{background-color:#43a047}.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{background-color:#f44336}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.mat-flat-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-stroked-button:not([class*=mat-elevation-z]),.mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-button-toggle-standalone,.mat-button-toggle-group{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{box-shadow:none}.mat-button-toggle{color:#00000061}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.mat-button-toggle-appearance-standard{color:#000000de;background:white}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px rgba(0,0,0,.12)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px rgba(0,0,0,.12)}.mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.mat-button-toggle-disabled{color:#00000042;background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:white}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border:solid 1px rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-card{background:white;color:#000000de}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-card-subtitle{color:#0000008a}.mat-checkbox-frame{border-color:#0000008a}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#212121}.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#43a047}.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:#0000008a}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#212121}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:#000000de}.mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip:after{background:black}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#212121;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.mat-table{background:white}.mat-table thead,.mat-table tbody,.mat-table tfoot,mat-header-row,mat-row,mat-footer-row,[mat-header-row],[mat-row],[mat-footer-row],.mat-table-sticky{background:inherit}mat-row,mat-header-row,mat-footer-row,th.mat-header-cell,td.mat-cell,td.mat-footer-cell{border-bottom-color:#0000001f}.mat-header-cell{color:#0000008a}.mat-cell,.mat-footer-cell{color:#000000de}.mat-calendar-arrow{fill:#0000008a}.mat-datepicker-toggle,.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-table-header,.mat-calendar-body-label{color:#0000008a}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:#000000de;border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.mat-calendar-body-in-preview{color:#0000003d}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.mat-calendar-body-in-range:before{background:rgba(33,33,33,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(33,33,33,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(33,33,33,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#212121;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#21212166}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#2121214d}@media (hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#2121214d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#43a04766}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#43a0474d}@media (hover: hover){.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#43a0474d}}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active{color:#212121}.mat-datepicker-toggle-active.mat-accent{color:#43a047}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:#00000061}.mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:white;color:#000000de}.mat-divider{border-top-color:#0000001f}.mat-divider-vertical{border-right-color:#0000001f}.mat-expansion-panel{background:white;color:#000000de}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-action-row{border-top-color:#0000001f}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:white}}.mat-expansion-panel-header-title{color:#000000de}.mat-expansion-panel-header-description,.mat-expansion-indicator:after{color:#0000008a}.mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:#0009}.mat-form-field.mat-focused .mat-form-field-label{color:#212121}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#43a047}.mat-form-field-ripple{background-color:#000000de}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#212121}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#212121}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#212121}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.mat-icon.mat-primary{color:#212121}.mat-icon.mat-accent{color:#43a047}.mat-icon.mat-warn{color:#f44336}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.mat-input-element:disabled,.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.mat-input-element{caret-color:#212121}.mat-input-element::placeholder{color:#0000006b}.mat-input-element::-moz-placeholder{color:#0000006b}.mat-input-element::-webkit-input-placeholder{color:#0000006b}.mat-input-element:-ms-input-placeholder{color:#0000006b}.mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.mat-form-field.mat-warn .mat-input-element,.mat-form-field-invalid .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:#000000de}.mat-list-base .mat-subheader{color:#0000008a}.mat-list-base .mat-list-item-disabled{background-color:#eee;color:#00000061}.mat-list-option:hover,.mat-list-option:focus,.mat-nav-list .mat-list-item:hover,.mat-nav-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:hover,.mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.mat-menu-panel{background:white}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-menu-item{background:transparent;color:#000000de}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-menu-submenu-icon,.mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.mat-menu-item .mat-icon-no-color,.mat-menu-submenu-icon{color:#0000008a}.mat-menu-item:hover:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:white}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:#0000008a}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#c4c4c4}.mat-progress-bar-buffer{background-color:#c4c4c4}.mat-progress-bar-fill:after{background-color:#212121}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#212121}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#43a047}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-radio-outer-circle{border-color:#0000008a}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#212121}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#212121}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:#000000de}.mat-select-placeholder{color:#0000006b}.mat-select-disabled .mat-select-value{color:#00000061}.mat-select-arrow{color:#0000008a}.mat-select-panel{background:white}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#212121}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.mat-drawer-container{background-color:#fafafa;color:#000000de}.mat-drawer{background-color:#fff;color:#000000de}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#43a0478a}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#212121}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#2121218a}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#212121}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.mat-slide-toggle-bar{background-color:#00000061}.mat-slider-track-background{background-color:#00000042}.mat-slider.mat-primary .mat-slider-track-fill,.mat-slider.mat-primary .mat-slider-thumb,.mat-slider.mat-primary .mat-slider-thumb-label{background-color:#212121}.mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-primary .mat-slider-focus-ring{background-color:#21212133}.mat-slider.mat-accent .mat-slider-track-fill,.mat-slider.mat-accent .mat-slider-thumb,.mat-slider.mat-accent .mat-slider-thumb-label{background-color:#43a047}.mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-accent .mat-slider-focus-ring{background-color:#43a04733}.mat-slider.mat-warn .mat-slider-track-fill,.mat-slider.mat-warn .mat-slider-thumb,.mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.mat-slider:hover .mat-slider-track-background,.mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.mat-slider.mat-slider-disabled .mat-slider-track-background,.mat-slider.mat-slider-disabled .mat-slider-track-fill,.mat-slider.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:#0000008a}.mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#212121;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:#0000001f}.mat-horizontal-stepper-header:before,.mat-horizontal-stepper-header:after,.mat-stepper-horizontal-line{border-top-color:#0000001f}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-tab-nav-bar,.mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-nav-bar,.mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:#000000de}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:#00000061}.mat-tab-header-pagination-chevron{border-color:#000000de}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.mat-tab-group[class*=mat-background-]>.mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f5f5f54d}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#212121}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c8e6c94d}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f5f5f54d}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#212121}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c8e6c94d}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#43a047}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-toolbar{background:whitesmoke;color:#000000de}.mat-toolbar.mat-primary{background:#212121;color:#fff}.mat-toolbar.mat-accent{background:#43a047;color:#fff}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:white}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-simple-snackbar-action{color:#43a047}.user-theme .mat-ripple-element{background-color:#0000001a}.user-theme .mat-option{color:#000000de}.user-theme .mat-option:hover:not(.mat-option-disabled),.user-theme .mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.user-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.user-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.user-theme .mat-option.mat-option-disabled{color:#00000061}.user-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.user-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.user-theme .mat-optgroup-label{color:#0000008a}.user-theme .mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.user-theme .mat-pseudo-checkbox{color:#0000008a}.user-theme .mat-pseudo-checkbox:after{color:#fafafa}.user-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.user-theme .mat-primary .mat-pseudo-checkbox-checked,.user-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-pseudo-checkbox-checked,.user-theme .mat-pseudo-checkbox-indeterminate,.user-theme .mat-accent .mat-pseudo-checkbox-checked,.user-theme .mat-accent .mat-pseudo-checkbox-indeterminate{background:#43a047}.user-theme .mat-warn .mat-pseudo-checkbox-checked,.user-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.user-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.user-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.user-theme .mat-app-background,.user-theme.mat-app-background{background-color:#fafafa;color:#000000de}.user-theme .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.user-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.user-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.user-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.user-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.user-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.user-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.user-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.user-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.user-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.user-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.user-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.user-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.user-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.user-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.user-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.user-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.user-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.user-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.user-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.user-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.user-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.user-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.user-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.user-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.user-theme .mat-autocomplete-panel{background:white;color:#000000de}.user-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.user-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:white}.user-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.user-theme .mat-badge-content{color:rgba(var(--user-theme-primary-contrast-500),1);background:rgba(var(--user-theme-primary-500),1)}.cdk-high-contrast-active .user-theme .mat-badge-content{outline:solid 1px;border-radius:0}.user-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.user-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.user-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.user-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.user-theme .mat-button,.user-theme .mat-icon-button,.user-theme .mat-stroked-button{color:inherit;background:transparent}.user-theme .mat-button.mat-primary,.user-theme .mat-icon-button.mat-primary,.user-theme .mat-stroked-button.mat-primary{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-button.mat-accent,.user-theme .mat-icon-button.mat-accent,.user-theme .mat-stroked-button.mat-accent{color:#43a047}.user-theme .mat-button.mat-warn,.user-theme .mat-icon-button.mat-warn,.user-theme .mat-stroked-button.mat-warn{color:#f44336}.user-theme .mat-button.mat-primary.mat-button-disabled,.user-theme .mat-button.mat-accent.mat-button-disabled,.user-theme .mat-button.mat-warn.mat-button-disabled,.user-theme .mat-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-icon-button.mat-primary.mat-button-disabled,.user-theme .mat-icon-button.mat-accent.mat-button-disabled,.user-theme .mat-icon-button.mat-warn.mat-button-disabled,.user-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-stroked-button.mat-primary.mat-button-disabled,.user-theme .mat-stroked-button.mat-accent.mat-button-disabled,.user-theme .mat-stroked-button.mat-warn.mat-button-disabled,.user-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.user-theme .mat-button.mat-primary .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-button.mat-accent .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.user-theme .mat-button.mat-warn .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.user-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.user-theme .mat-button .mat-ripple-element,.user-theme .mat-icon-button .mat-ripple-element,.user-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.user-theme .mat-button-focus-overlay{background:black}.user-theme .mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.user-theme .mat-flat-button,.user-theme .mat-raised-button,.user-theme .mat-fab,.user-theme .mat-mini-fab{color:#000000de;background-color:#fff}.user-theme .mat-flat-button.mat-primary,.user-theme .mat-raised-button.mat-primary,.user-theme .mat-fab.mat-primary,.user-theme .mat-mini-fab.mat-primary{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-flat-button.mat-accent,.user-theme .mat-raised-button.mat-accent,.user-theme .mat-fab.mat-accent,.user-theme .mat-mini-fab.mat-accent,.user-theme .mat-flat-button.mat-warn,.user-theme .mat-raised-button.mat-warn,.user-theme .mat-fab.mat-warn,.user-theme .mat-mini-fab.mat-warn{color:#fff}.user-theme .mat-flat-button.mat-primary.mat-button-disabled,.user-theme .mat-flat-button.mat-accent.mat-button-disabled,.user-theme .mat-flat-button.mat-warn.mat-button-disabled,.user-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-raised-button.mat-primary.mat-button-disabled,.user-theme .mat-raised-button.mat-accent.mat-button-disabled,.user-theme .mat-raised-button.mat-warn.mat-button-disabled,.user-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-fab.mat-primary.mat-button-disabled,.user-theme .mat-fab.mat-accent.mat-button-disabled,.user-theme .mat-fab.mat-warn.mat-button-disabled,.user-theme .mat-fab.mat-button-disabled.mat-button-disabled,.user-theme .mat-mini-fab.mat-primary.mat-button-disabled,.user-theme .mat-mini-fab.mat-accent.mat-button-disabled,.user-theme .mat-mini-fab.mat-warn.mat-button-disabled,.user-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.user-theme .mat-flat-button.mat-primary,.user-theme .mat-raised-button.mat-primary,.user-theme .mat-fab.mat-primary,.user-theme .mat-mini-fab.mat-primary{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-flat-button.mat-accent,.user-theme .mat-raised-button.mat-accent,.user-theme .mat-fab.mat-accent,.user-theme .mat-mini-fab.mat-accent{background-color:#43a047}.user-theme .mat-flat-button.mat-warn,.user-theme .mat-raised-button.mat-warn,.user-theme .mat-fab.mat-warn,.user-theme .mat-mini-fab.mat-warn{background-color:#f44336}.user-theme .mat-flat-button.mat-primary.mat-button-disabled,.user-theme .mat-flat-button.mat-accent.mat-button-disabled,.user-theme .mat-flat-button.mat-warn.mat-button-disabled,.user-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-raised-button.mat-primary.mat-button-disabled,.user-theme .mat-raised-button.mat-accent.mat-button-disabled,.user-theme .mat-raised-button.mat-warn.mat-button-disabled,.user-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-fab.mat-primary.mat-button-disabled,.user-theme .mat-fab.mat-accent.mat-button-disabled,.user-theme .mat-fab.mat-warn.mat-button-disabled,.user-theme .mat-fab.mat-button-disabled.mat-button-disabled,.user-theme .mat-mini-fab.mat-primary.mat-button-disabled,.user-theme .mat-mini-fab.mat-accent.mat-button-disabled,.user-theme .mat-mini-fab.mat-warn.mat-button-disabled,.user-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.user-theme .mat-flat-button.mat-primary .mat-ripple-element,.user-theme .mat-raised-button.mat-primary .mat-ripple-element,.user-theme .mat-fab.mat-primary .mat-ripple-element,.user-theme .mat-mini-fab.mat-primary .mat-ripple-element{background-color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.1}.user-theme .mat-flat-button.mat-accent .mat-ripple-element,.user-theme .mat-raised-button.mat-accent .mat-ripple-element,.user-theme .mat-fab.mat-accent .mat-ripple-element,.user-theme .mat-mini-fab.mat-accent .mat-ripple-element,.user-theme .mat-flat-button.mat-warn .mat-ripple-element,.user-theme .mat-raised-button.mat-warn .mat-ripple-element,.user-theme .mat-fab.mat-warn .mat-ripple-element,.user-theme .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.user-theme .mat-stroked-button:not([class*=mat-elevation-z]),.user-theme .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.user-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.user-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.user-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.user-theme .mat-fab:not([class*=mat-elevation-z]),.user-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.user-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.user-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.user-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.user-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.user-theme .mat-button-toggle-standalone,.user-theme .mat-button-toggle-group{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.user-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.user-theme .mat-button-toggle-group-appearance-standard{box-shadow:none}.user-theme .mat-button-toggle{color:#00000061}.user-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.user-theme .mat-button-toggle-appearance-standard{color:#000000de;background:white}.user-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.user-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px rgba(0,0,0,.12)}.user-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.user-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px rgba(0,0,0,.12)}.user-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.user-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.user-theme .mat-button-toggle-disabled{color:#00000042;background-color:#eee}.user-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:white}.user-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.user-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.user-theme .mat-button-toggle-group-appearance-standard{border:solid 1px rgba(0,0,0,.12)}.user-theme .mat-card{background:white;color:#000000de}.user-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.user-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.user-theme .mat-card-subtitle{color:#0000008a}.user-theme .mat-checkbox-frame{border-color:#0000008a}.user-theme .mat-checkbox-checkmark{fill:#fafafa}.user-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.user-theme .mat-checkbox-mixedmark{background-color:#fafafa}.user-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.user-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.user-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#43a047}.user-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.user-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.user-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.user-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.user-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.user-theme .mat-checkbox-disabled .mat-checkbox-label{color:#0000008a}.user-theme .mat-checkbox .mat-ripple-element{background-color:#000}.user-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.user-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.user-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.user-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.user-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.user-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:#000000de}.user-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.user-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.user-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.user-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.user-theme .mat-chip.mat-standard-chip:after{background:black}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.4}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.1}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.user-theme .mat-table{background:white}.user-theme .mat-table thead,.user-theme .mat-table tbody,.user-theme .mat-table tfoot,.user-theme mat-header-row,.user-theme mat-row,.user-theme mat-footer-row,.user-theme [mat-header-row],.user-theme [mat-row],.user-theme [mat-footer-row],.user-theme .mat-table-sticky{background:inherit}.user-theme mat-row,.user-theme mat-header-row,.user-theme mat-footer-row,.user-theme th.mat-header-cell,.user-theme td.mat-cell,.user-theme td.mat-footer-cell{border-bottom-color:#0000001f}.user-theme .mat-header-cell{color:#0000008a}.user-theme .mat-cell,.user-theme .mat-footer-cell{color:#000000de}.user-theme .mat-calendar-arrow{fill:#0000008a}.user-theme .mat-datepicker-toggle,.user-theme .mat-datepicker-content .mat-calendar-next-button,.user-theme .mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.user-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.user-theme .mat-calendar-table-header,.user-theme .mat-calendar-body-label{color:#0000008a}.user-theme .mat-calendar-body-cell-content,.user-theme .mat-date-range-input-separator{color:#000000de;border-color:transparent}.user-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.user-theme .mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.user-theme .mat-calendar-body-in-preview{color:#0000003d}.user-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.user-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.user-theme .mat-calendar-body-in-range:before{background:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-calendar-body-comparison-identical,.user-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.user-theme .mat-calendar-body-comparison-bridge-start:before,.user-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--user-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-calendar-body-comparison-bridge-end:before,.user-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--user-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.user-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.user-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.user-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.user-theme .mat-calendar-body-selected{background-color:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.user-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--user-theme-primary-500),1)}@media (hover: hover){.user-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--user-theme-primary-500),1)}}.user-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.user-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.user-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#43a04766}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.user-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#43a0474d}@media (hover: hover){.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#43a0474d}}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.user-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.user-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.user-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.user-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.user-theme .mat-datepicker-toggle-active{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.user-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.user-theme .mat-date-range-input-inner[disabled]{color:#00000061}.user-theme .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:white;color:#000000de}.user-theme .mat-divider{border-top-color:#0000001f}.user-theme .mat-divider-vertical{border-right-color:#0000001f}.user-theme .mat-expansion-panel{background:white;color:#000000de}.user-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.user-theme .mat-action-row{border-top-color:#0000001f}.user-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.user-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.user-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.user-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:white}}.user-theme .mat-expansion-panel-header-title{color:#000000de}.user-theme .mat-expansion-panel-header-description,.user-theme .mat-expansion-indicator:after{color:#0000008a}.user-theme .mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.user-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.user-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.user-theme .mat-form-field-label,.user-theme .mat-hint{color:#0009}.user-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.user-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.user-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.user-theme .mat-form-field-ripple{background-color:#000000de}.user-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.user-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.user-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.user-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.user-theme .mat-error{color:#f44336}.user-theme .mat-form-field-appearance-legacy .mat-form-field-label,.user-theme .mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.user-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.user-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.user-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.user-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.user-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.user-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.user-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.user-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.user-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.user-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.user-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.user-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.user-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.user-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.user-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.user-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.user-theme .mat-icon.mat-primary{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-icon.mat-accent{color:#43a047}.user-theme .mat-icon.mat-warn{color:#f44336}.user-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.user-theme .mat-input-element:disabled,.user-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.user-theme .mat-input-element{caret-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-input-element::placeholder{color:#0000006b}.user-theme .mat-input-element::-moz-placeholder{color:#0000006b}.user-theme .mat-input-element::-webkit-input-placeholder{color:#0000006b}.user-theme .mat-input-element:-ms-input-placeholder{color:#0000006b}.user-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.user-theme .mat-form-field.mat-warn .mat-input-element,.user-theme .mat-form-field-invalid .mat-input-element{caret-color:#f44336}.user-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.user-theme .mat-list-base .mat-list-item,.user-theme .mat-list-base .mat-list-option{color:#000000de}.user-theme .mat-list-base .mat-subheader{color:#0000008a}.user-theme .mat-list-base .mat-list-item-disabled{background-color:#eee;color:#00000061}.user-theme .mat-list-option:hover,.user-theme .mat-list-option:focus,.user-theme .mat-nav-list .mat-list-item:hover,.user-theme .mat-nav-list .mat-list-item:focus,.user-theme .mat-action-list .mat-list-item:hover,.user-theme .mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.user-theme .mat-list-single-selected-option,.user-theme .mat-list-single-selected-option:hover,.user-theme .mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.user-theme .mat-menu-panel{background:white}.user-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.user-theme .mat-menu-item{background:transparent;color:#000000de}.user-theme .mat-menu-item[disabled],.user-theme .mat-menu-item[disabled] .mat-menu-submenu-icon,.user-theme .mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.user-theme .mat-menu-item .mat-icon-no-color,.user-theme .mat-menu-submenu-icon{color:#0000008a}.user-theme .mat-menu-item:hover:not([disabled]),.user-theme .mat-menu-item.cdk-program-focused:not([disabled]),.user-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.user-theme .mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.user-theme .mat-paginator{background:white}.user-theme .mat-paginator,.user-theme .mat-paginator-page-size .mat-select-trigger{color:#0000008a}.user-theme .mat-paginator-decrement,.user-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.user-theme .mat-paginator-first,.user-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.user-theme .mat-icon-button[disabled] .mat-paginator-decrement,.user-theme .mat-icon-button[disabled] .mat-paginator-increment,.user-theme .mat-icon-button[disabled] .mat-paginator-first,.user-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.user-theme .mat-progress-bar-background{fill:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-progress-bar-buffer{background-color:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-progress-bar-fill:after{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.user-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.user-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.user-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.user-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.user-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.user-theme .mat-progress-spinner circle,.user-theme .mat-spinner circle{stroke:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-progress-spinner.mat-accent circle,.user-theme .mat-spinner.mat-accent circle{stroke:#43a047}.user-theme .mat-progress-spinner.mat-warn circle,.user-theme .mat-spinner.mat-warn circle{stroke:#f44336}.user-theme .mat-radio-outer-circle{border-color:#0000008a}.user-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.user-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.user-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.user-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.user-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.user-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.user-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.user-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.user-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.user-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.user-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.user-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.user-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.user-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.user-theme .mat-radio-button .mat-ripple-element{background-color:#000}.user-theme .mat-select-value{color:#000000de}.user-theme .mat-select-placeholder{color:#0000006b}.user-theme .mat-select-disabled .mat-select-value{color:#00000061}.user-theme .mat-select-arrow{color:#0000008a}.user-theme .mat-select-panel{background:white}.user-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.user-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.user-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.user-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.user-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.user-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.user-theme .mat-drawer-container{background-color:#fafafa;color:#000000de}.user-theme .mat-drawer{background-color:#fff;color:#000000de}.user-theme .mat-drawer.mat-drawer-push{background-color:#fff}.user-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.user-theme .mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.user-theme .mat-drawer-side.mat-drawer-end,.user-theme [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}.user-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.user-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.user-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.user-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#43a0478a}.user-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.user-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb,.user-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.user-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.user-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.user-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.user-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.user-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.user-theme .mat-slide-toggle-bar{background-color:#00000061}.user-theme .mat-slider-track-background{background-color:#00000042}.user-theme .mat-slider.mat-primary .mat-slider-track-fill,.user-theme .mat-slider.mat-primary .mat-slider-thumb,.user-theme .mat-slider.mat-primary .mat-slider-thumb-label{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-slider.mat-primary .mat-slider-thumb-label-text{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-slider.mat-primary .mat-slider-focus-ring{background-color:rgba(var(--user-theme-primary-500),1);opacity:.2}.user-theme .mat-slider.mat-accent .mat-slider-track-fill,.user-theme .mat-slider.mat-accent .mat-slider-thumb,.user-theme .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#43a047}.user-theme .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.user-theme .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#43a04733}.user-theme .mat-slider.mat-warn .mat-slider-track-fill,.user-theme .mat-slider.mat-warn .mat-slider-thumb,.user-theme .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.user-theme .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.user-theme .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.user-theme .mat-slider:hover .mat-slider-track-background,.user-theme .mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.user-theme .mat-slider.mat-slider-disabled .mat-slider-track-background,.user-theme .mat-slider.mat-slider-disabled .mat-slider-track-fill,.user-theme .mat-slider.mat-slider-disabled .mat-slider-thumb,.user-theme .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.user-theme .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.user-theme .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.user-theme .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.user-theme .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.user-theme .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.user-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.user-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.user-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.user-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.user-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.user-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.user-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.user-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.user-theme .mat-step-header.cdk-keyboard-focused,.user-theme .mat-step-header.cdk-program-focused,.user-theme .mat-step-header:hover:not([aria-disabled]),.user-theme .mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.user-theme .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.user-theme .mat-step-header:hover{background:none}}.user-theme .mat-step-header .mat-step-label,.user-theme .mat-step-header .mat-step-optional{color:#0000008a}.user-theme .mat-step-header .mat-step-icon{background-color:#0000008a;color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-step-header .mat-step-icon-selected,.user-theme .mat-step-header .mat-step-icon-state-done,.user-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.user-theme .mat-step-header.mat-accent .mat-step-icon-selected,.user-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.user-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.user-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.user-theme .mat-step-header.mat-warn .mat-step-icon-selected,.user-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.user-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.user-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.user-theme .mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.user-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.user-theme .mat-stepper-horizontal,.user-theme .mat-stepper-vertical{background-color:#fff}.user-theme .mat-stepper-vertical-line:before{border-left-color:#0000001f}.user-theme .mat-horizontal-stepper-header:before,.user-theme .mat-horizontal-stepper-header:after,.user-theme .mat-stepper-horizontal-line{border-top-color:#0000001f}.user-theme .mat-sort-header-arrow{color:#757575}.user-theme .mat-tab-nav-bar,.user-theme .mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.user-theme .mat-tab-group-inverted-header .mat-tab-nav-bar,.user-theme .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.user-theme .mat-tab-label,.user-theme .mat-tab-link{color:#000000de}.user-theme .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-link.mat-tab-disabled{color:#00000061}.user-theme .mat-tab-header-pagination-chevron{border-color:#000000de}.user-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.user-theme .mat-tab-group[class*=mat-background-]>.mat-tab-header,.user-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.user-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-tab-group.mat-primary .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c8e6c94d}.user-theme .mat-tab-group.mat-accent .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.user-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.user-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.user-theme .mat-tab-group.mat-warn .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.user-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.user-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.4}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.12}.user-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c8e6c94d}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#43a047}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.user-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.user-theme .mat-toolbar{background:whitesmoke;color:#000000de}.user-theme .mat-toolbar.mat-primary{background:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.user-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.user-theme .mat-toolbar .mat-form-field-underline,.user-theme .mat-toolbar .mat-form-field-ripple,.user-theme .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.user-theme .mat-toolbar .mat-form-field-label,.user-theme .mat-toolbar .mat-focused .mat-form-field-label,.user-theme .mat-toolbar .mat-select-value,.user-theme .mat-toolbar .mat-select-arrow,.user-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.user-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.user-theme .mat-tooltip{background:rgba(97,97,97,.9)}.user-theme .mat-tree{background:white}.user-theme .mat-tree-node,.user-theme .mat-nested-tree-node{color:#000000de}.user-theme .mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.user-theme .mat-simple-snackbar-action{color:#43a047}button{border-radius:0!important}button:focus{outline:none!important}.page-subtitle{margin-bottom:1.5rem;font-size:1.25rem}.page-title{margin-top:1rem;margin-bottom:2rem;font-size:1.5rem}.dark-hover-list-item:hover{background-color:#0000000d}th,td{padding:.25rem!important}.app-min-width{min-width:400px}.mat-tooltip{font-size:14px!important;word-wrap:break-word!important}#preloader{position:fixed;top:0;left:0;width:100%;height:100%}#loader{display:block;position:relative;left:50%;top:50%;width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;border:3px solid transparent;border-top-color:#414141;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}#loader:before{content:"";position:absolute;top:5px;left:5px;right:5px;bottom:5px;border-radius:50%;border:3px solid transparent;border-top-color:#afafaf;-webkit-animation:spin 3s linear infinite;animation:spin 3s linear infinite}#loader:after{content:"";position:absolute;top:15px;left:15px;right:15px;bottom:15px;border-radius:50%;border:3px solid transparent;border-top-color:#e5e5e5;-webkit-animation:spin 1.5s linear infinite;animation:spin 1.5s linear infinite}@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.action-button:after{content:"\2026"}/*! +@charset "UTF-8";.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-body-2{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body p,.mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-raised-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button,.mat-fab,.mat-mini-fab{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-subtitle,.mat-card-content{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-trailing-icon.mat-icon,.mat-chip .mat-chip-remove.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-header,.mat-grid-tile-footer{font-size:14px}.mat-grid-tile-header .mat-line,.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2),.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-stepper-vertical,.mat-stepper-horizontal{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@-webkit-keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}.mat-ripple-element{background-color:#0000001a}.mat-option{color:#000000de}.mat-option:hover:not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.mat-option.mat-option-disabled{color:#00000061}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#212121}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.mat-optgroup-label{color:#0000008a}.mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.mat-pseudo-checkbox{color:#0000008a}.mat-pseudo-checkbox:after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#212121}.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate,.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate{background:#43a047}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:white;color:#000000de}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:white}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.mat-badge{position:relative}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-badge-content{color:#fff;background:#212121}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:transparent}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#212121}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#43a047}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#f44336}.mat-button.mat-primary.mat-button-disabled,.mat-button.mat-accent.mat-button-disabled,.mat-button.mat-warn.mat-button-disabled,.mat-button.mat-button-disabled.mat-button-disabled,.mat-icon-button.mat-primary.mat-button-disabled,.mat-icon-button.mat-accent.mat-button-disabled,.mat-icon-button.mat-warn.mat-button-disabled,.mat-icon-button.mat-button-disabled.mat-button-disabled,.mat-stroked-button.mat-primary.mat-button-disabled,.mat-stroked-button.mat-accent.mat-button-disabled,.mat-stroked-button.mat-warn.mat-button-disabled,.mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#212121}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.mat-button.mat-button-disabled .mat-button-focus-overlay,.mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:black}.mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.mat-flat-button,.mat-raised-button,.mat-fab,.mat-mini-fab{color:#000000de;background-color:#fff}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary,.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent,.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{color:#fff}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary{background-color:#212121}.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent{background-color:#43a047}.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{background-color:#f44336}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.mat-flat-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-stroked-button:not([class*=mat-elevation-z]),.mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-button-toggle-standalone,.mat-button-toggle-group{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{box-shadow:none}.mat-button-toggle{color:#00000061}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.mat-button-toggle-appearance-standard{color:#000000de;background:white}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px rgba(0,0,0,.12)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px rgba(0,0,0,.12)}.mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.mat-button-toggle-disabled{color:#00000042;background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:white}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border:solid 1px rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-card{background:white;color:#000000de}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-card-subtitle{color:#0000008a}.mat-checkbox-frame{border-color:#0000008a}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#212121}.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#43a047}.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:#0000008a}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#212121}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:#000000de}.mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip:after{background:black}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#212121;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.mat-table{background:white}.mat-table thead,.mat-table tbody,.mat-table tfoot,mat-header-row,mat-row,mat-footer-row,[mat-header-row],[mat-row],[mat-footer-row],.mat-table-sticky{background:inherit}mat-row,mat-header-row,mat-footer-row,th.mat-header-cell,td.mat-cell,td.mat-footer-cell{border-bottom-color:#0000001f}.mat-header-cell{color:#0000008a}.mat-cell,.mat-footer-cell{color:#000000de}.mat-calendar-arrow{fill:#0000008a}.mat-datepicker-toggle,.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-table-header,.mat-calendar-body-label{color:#0000008a}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:#000000de;border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.mat-calendar-body-in-preview{color:#0000003d}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.mat-calendar-body-in-range:before{background:rgba(33,33,33,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(33,33,33,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(33,33,33,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#212121;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#21212166}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#2121214d}@media (hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#2121214d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#43a04766}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#43a0474d}@media (hover: hover){.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#43a0474d}}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active{color:#212121}.mat-datepicker-toggle-active.mat-accent{color:#43a047}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:#00000061}.mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:white;color:#000000de}.mat-divider{border-top-color:#0000001f}.mat-divider-vertical{border-right-color:#0000001f}.mat-expansion-panel{background:white;color:#000000de}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-action-row{border-top-color:#0000001f}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:white}}.mat-expansion-panel-header-title{color:#000000de}.mat-expansion-panel-header-description,.mat-expansion-indicator:after{color:#0000008a}.mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:#0009}.mat-form-field.mat-focused .mat-form-field-label{color:#212121}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#43a047}.mat-form-field-ripple{background-color:#000000de}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#212121}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#212121}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#212121}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.mat-icon.mat-primary{color:#212121}.mat-icon.mat-accent{color:#43a047}.mat-icon.mat-warn{color:#f44336}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.mat-input-element:disabled,.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.mat-input-element{caret-color:#212121}.mat-input-element::placeholder{color:#0000006b}.mat-input-element::-moz-placeholder{color:#0000006b}.mat-input-element::-webkit-input-placeholder{color:#0000006b}.mat-input-element:-ms-input-placeholder{color:#0000006b}.mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.mat-form-field.mat-warn .mat-input-element,.mat-form-field-invalid .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:#000000de}.mat-list-base .mat-subheader{color:#0000008a}.mat-list-base .mat-list-item-disabled{background-color:#eee;color:#00000061}.mat-list-option:hover,.mat-list-option:focus,.mat-nav-list .mat-list-item:hover,.mat-nav-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:hover,.mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.mat-menu-panel{background:white}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-menu-item{background:transparent;color:#000000de}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-menu-submenu-icon,.mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.mat-menu-item .mat-icon-no-color,.mat-menu-submenu-icon{color:#0000008a}.mat-menu-item:hover:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:white}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:#0000008a}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#c4c4c4}.mat-progress-bar-buffer{background-color:#c4c4c4}.mat-progress-bar-fill:after{background-color:#212121}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#212121}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#43a047}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-radio-outer-circle{border-color:#0000008a}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#212121}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#212121}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:#000000de}.mat-select-placeholder{color:#0000006b}.mat-select-disabled .mat-select-value{color:#00000061}.mat-select-arrow{color:#0000008a}.mat-select-panel{background:white}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#212121}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.mat-drawer-container{background-color:#fafafa;color:#000000de}.mat-drawer{background-color:#fff;color:#000000de}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#43a0478a}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#212121}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#2121218a}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#212121}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.mat-slide-toggle-bar{background-color:#00000061}.mat-slider-track-background{background-color:#00000042}.mat-slider.mat-primary .mat-slider-track-fill,.mat-slider.mat-primary .mat-slider-thumb,.mat-slider.mat-primary .mat-slider-thumb-label{background-color:#212121}.mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-primary .mat-slider-focus-ring{background-color:#21212133}.mat-slider.mat-accent .mat-slider-track-fill,.mat-slider.mat-accent .mat-slider-thumb,.mat-slider.mat-accent .mat-slider-thumb-label{background-color:#43a047}.mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-accent .mat-slider-focus-ring{background-color:#43a04733}.mat-slider.mat-warn .mat-slider-track-fill,.mat-slider.mat-warn .mat-slider-thumb,.mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.mat-slider:hover .mat-slider-track-background,.mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.mat-slider.mat-slider-disabled .mat-slider-track-background,.mat-slider.mat-slider-disabled .mat-slider-track-fill,.mat-slider.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:#0000008a}.mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#212121;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:#0000001f}.mat-horizontal-stepper-header:before,.mat-horizontal-stepper-header:after,.mat-stepper-horizontal-line{border-top-color:#0000001f}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-tab-nav-bar,.mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-nav-bar,.mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:#000000de}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:#00000061}.mat-tab-header-pagination-chevron{border-color:#000000de}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.mat-tab-group[class*=mat-background-]>.mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f5f5f54d}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#212121}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c8e6c94d}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f5f5f54d}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#212121}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c8e6c94d}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#43a047}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-toolbar{background:whitesmoke;color:#000000de}.mat-toolbar.mat-primary{background:#212121;color:#fff}.mat-toolbar.mat-accent{background:#43a047;color:#fff}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:white}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-simple-snackbar-action{color:#43a047}.user-theme .mat-ripple-element{background-color:#0000001a}.user-theme .mat-option{color:#000000de}.user-theme .mat-option:hover:not(.mat-option-disabled),.user-theme .mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.user-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.user-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.user-theme .mat-option.mat-option-disabled{color:#00000061}.user-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.user-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.user-theme .mat-optgroup-label{color:#0000008a}.user-theme .mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.user-theme .mat-pseudo-checkbox{color:#0000008a}.user-theme .mat-pseudo-checkbox:after{color:#fafafa}.user-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.user-theme .mat-primary .mat-pseudo-checkbox-checked,.user-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-pseudo-checkbox-checked,.user-theme .mat-pseudo-checkbox-indeterminate,.user-theme .mat-accent .mat-pseudo-checkbox-checked,.user-theme .mat-accent .mat-pseudo-checkbox-indeterminate{background:#43a047}.user-theme .mat-warn .mat-pseudo-checkbox-checked,.user-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.user-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.user-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.user-theme .mat-app-background,.user-theme.mat-app-background{background-color:#fafafa;color:#000000de}.user-theme .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.user-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.user-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.user-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.user-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.user-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.user-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.user-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.user-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.user-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.user-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.user-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.user-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.user-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.user-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.user-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.user-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.user-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.user-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.user-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.user-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.user-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.user-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.user-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.user-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.user-theme .mat-autocomplete-panel{background:white;color:#000000de}.user-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.user-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:white}.user-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.user-theme .mat-badge-content{color:rgba(var(--user-theme-primary-contrast-500),1);background:rgba(var(--user-theme-primary-500),1)}.cdk-high-contrast-active .user-theme .mat-badge-content{outline:solid 1px;border-radius:0}.user-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.user-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.user-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.user-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.user-theme .mat-button,.user-theme .mat-icon-button,.user-theme .mat-stroked-button{color:inherit;background:transparent}.user-theme .mat-button.mat-primary,.user-theme .mat-icon-button.mat-primary,.user-theme .mat-stroked-button.mat-primary{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-button.mat-accent,.user-theme .mat-icon-button.mat-accent,.user-theme .mat-stroked-button.mat-accent{color:#43a047}.user-theme .mat-button.mat-warn,.user-theme .mat-icon-button.mat-warn,.user-theme .mat-stroked-button.mat-warn{color:#f44336}.user-theme .mat-button.mat-primary.mat-button-disabled,.user-theme .mat-button.mat-accent.mat-button-disabled,.user-theme .mat-button.mat-warn.mat-button-disabled,.user-theme .mat-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-icon-button.mat-primary.mat-button-disabled,.user-theme .mat-icon-button.mat-accent.mat-button-disabled,.user-theme .mat-icon-button.mat-warn.mat-button-disabled,.user-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-stroked-button.mat-primary.mat-button-disabled,.user-theme .mat-stroked-button.mat-accent.mat-button-disabled,.user-theme .mat-stroked-button.mat-warn.mat-button-disabled,.user-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.user-theme .mat-button.mat-primary .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-button.mat-accent .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.user-theme .mat-button.mat-warn .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.user-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.user-theme .mat-button .mat-ripple-element,.user-theme .mat-icon-button .mat-ripple-element,.user-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.user-theme .mat-button-focus-overlay{background:black}.user-theme .mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.user-theme .mat-flat-button,.user-theme .mat-raised-button,.user-theme .mat-fab,.user-theme .mat-mini-fab{color:#000000de;background-color:#fff}.user-theme .mat-flat-button.mat-primary,.user-theme .mat-raised-button.mat-primary,.user-theme .mat-fab.mat-primary,.user-theme .mat-mini-fab.mat-primary{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-flat-button.mat-accent,.user-theme .mat-raised-button.mat-accent,.user-theme .mat-fab.mat-accent,.user-theme .mat-mini-fab.mat-accent,.user-theme .mat-flat-button.mat-warn,.user-theme .mat-raised-button.mat-warn,.user-theme .mat-fab.mat-warn,.user-theme .mat-mini-fab.mat-warn{color:#fff}.user-theme .mat-flat-button.mat-primary.mat-button-disabled,.user-theme .mat-flat-button.mat-accent.mat-button-disabled,.user-theme .mat-flat-button.mat-warn.mat-button-disabled,.user-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-raised-button.mat-primary.mat-button-disabled,.user-theme .mat-raised-button.mat-accent.mat-button-disabled,.user-theme .mat-raised-button.mat-warn.mat-button-disabled,.user-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-fab.mat-primary.mat-button-disabled,.user-theme .mat-fab.mat-accent.mat-button-disabled,.user-theme .mat-fab.mat-warn.mat-button-disabled,.user-theme .mat-fab.mat-button-disabled.mat-button-disabled,.user-theme .mat-mini-fab.mat-primary.mat-button-disabled,.user-theme .mat-mini-fab.mat-accent.mat-button-disabled,.user-theme .mat-mini-fab.mat-warn.mat-button-disabled,.user-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.user-theme .mat-flat-button.mat-primary,.user-theme .mat-raised-button.mat-primary,.user-theme .mat-fab.mat-primary,.user-theme .mat-mini-fab.mat-primary{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-flat-button.mat-accent,.user-theme .mat-raised-button.mat-accent,.user-theme .mat-fab.mat-accent,.user-theme .mat-mini-fab.mat-accent{background-color:#43a047}.user-theme .mat-flat-button.mat-warn,.user-theme .mat-raised-button.mat-warn,.user-theme .mat-fab.mat-warn,.user-theme .mat-mini-fab.mat-warn{background-color:#f44336}.user-theme .mat-flat-button.mat-primary.mat-button-disabled,.user-theme .mat-flat-button.mat-accent.mat-button-disabled,.user-theme .mat-flat-button.mat-warn.mat-button-disabled,.user-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-raised-button.mat-primary.mat-button-disabled,.user-theme .mat-raised-button.mat-accent.mat-button-disabled,.user-theme .mat-raised-button.mat-warn.mat-button-disabled,.user-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-fab.mat-primary.mat-button-disabled,.user-theme .mat-fab.mat-accent.mat-button-disabled,.user-theme .mat-fab.mat-warn.mat-button-disabled,.user-theme .mat-fab.mat-button-disabled.mat-button-disabled,.user-theme .mat-mini-fab.mat-primary.mat-button-disabled,.user-theme .mat-mini-fab.mat-accent.mat-button-disabled,.user-theme .mat-mini-fab.mat-warn.mat-button-disabled,.user-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.user-theme .mat-flat-button.mat-primary .mat-ripple-element,.user-theme .mat-raised-button.mat-primary .mat-ripple-element,.user-theme .mat-fab.mat-primary .mat-ripple-element,.user-theme .mat-mini-fab.mat-primary .mat-ripple-element{background-color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.1}.user-theme .mat-flat-button.mat-accent .mat-ripple-element,.user-theme .mat-raised-button.mat-accent .mat-ripple-element,.user-theme .mat-fab.mat-accent .mat-ripple-element,.user-theme .mat-mini-fab.mat-accent .mat-ripple-element,.user-theme .mat-flat-button.mat-warn .mat-ripple-element,.user-theme .mat-raised-button.mat-warn .mat-ripple-element,.user-theme .mat-fab.mat-warn .mat-ripple-element,.user-theme .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.user-theme .mat-stroked-button:not([class*=mat-elevation-z]),.user-theme .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.user-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.user-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.user-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.user-theme .mat-fab:not([class*=mat-elevation-z]),.user-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.user-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.user-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.user-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.user-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.user-theme .mat-button-toggle-standalone,.user-theme .mat-button-toggle-group{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.user-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.user-theme .mat-button-toggle-group-appearance-standard{box-shadow:none}.user-theme .mat-button-toggle{color:#00000061}.user-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.user-theme .mat-button-toggle-appearance-standard{color:#000000de;background:white}.user-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.user-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px rgba(0,0,0,.12)}.user-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.user-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px rgba(0,0,0,.12)}.user-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.user-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.user-theme .mat-button-toggle-disabled{color:#00000042;background-color:#eee}.user-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:white}.user-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.user-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.user-theme .mat-button-toggle-group-appearance-standard{border:solid 1px rgba(0,0,0,.12)}.user-theme .mat-card{background:white;color:#000000de}.user-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.user-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.user-theme .mat-card-subtitle{color:#0000008a}.user-theme .mat-checkbox-frame{border-color:#0000008a}.user-theme .mat-checkbox-checkmark{fill:#fafafa}.user-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.user-theme .mat-checkbox-mixedmark{background-color:#fafafa}.user-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.user-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.user-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#43a047}.user-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.user-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.user-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.user-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.user-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.user-theme .mat-checkbox-disabled .mat-checkbox-label{color:#0000008a}.user-theme .mat-checkbox .mat-ripple-element{background-color:#000}.user-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.user-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.user-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.user-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.user-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.user-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:#000000de}.user-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.user-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.user-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.user-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.user-theme .mat-chip.mat-standard-chip:after{background:black}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.4}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.1}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.user-theme .mat-table{background:white}.user-theme .mat-table thead,.user-theme .mat-table tbody,.user-theme .mat-table tfoot,.user-theme mat-header-row,.user-theme mat-row,.user-theme mat-footer-row,.user-theme [mat-header-row],.user-theme [mat-row],.user-theme [mat-footer-row],.user-theme .mat-table-sticky{background:inherit}.user-theme mat-row,.user-theme mat-header-row,.user-theme mat-footer-row,.user-theme th.mat-header-cell,.user-theme td.mat-cell,.user-theme td.mat-footer-cell{border-bottom-color:#0000001f}.user-theme .mat-header-cell{color:#0000008a}.user-theme .mat-cell,.user-theme .mat-footer-cell{color:#000000de}.user-theme .mat-calendar-arrow{fill:#0000008a}.user-theme .mat-datepicker-toggle,.user-theme .mat-datepicker-content .mat-calendar-next-button,.user-theme .mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.user-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.user-theme .mat-calendar-table-header,.user-theme .mat-calendar-body-label{color:#0000008a}.user-theme .mat-calendar-body-cell-content,.user-theme .mat-date-range-input-separator{color:#000000de;border-color:transparent}.user-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.user-theme .mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.user-theme .mat-calendar-body-in-preview{color:#0000003d}.user-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.user-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.user-theme .mat-calendar-body-in-range:before{background:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-calendar-body-comparison-identical,.user-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.user-theme .mat-calendar-body-comparison-bridge-start:before,.user-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--user-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-calendar-body-comparison-bridge-end:before,.user-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--user-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.user-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.user-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.user-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.user-theme .mat-calendar-body-selected{background-color:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.user-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--user-theme-primary-500),1)}@media (hover: hover){.user-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--user-theme-primary-500),1)}}.user-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.user-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.user-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#43a04766}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.user-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#43a0474d}@media (hover: hover){.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#43a0474d}}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.user-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.user-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.user-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.user-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.user-theme .mat-datepicker-toggle-active{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.user-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.user-theme .mat-date-range-input-inner[disabled]{color:#00000061}.user-theme .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:white;color:#000000de}.user-theme .mat-divider{border-top-color:#0000001f}.user-theme .mat-divider-vertical{border-right-color:#0000001f}.user-theme .mat-expansion-panel{background:white;color:#000000de}.user-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.user-theme .mat-action-row{border-top-color:#0000001f}.user-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.user-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.user-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.user-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:white}}.user-theme .mat-expansion-panel-header-title{color:#000000de}.user-theme .mat-expansion-panel-header-description,.user-theme .mat-expansion-indicator:after{color:#0000008a}.user-theme .mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.user-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.user-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.user-theme .mat-form-field-label,.user-theme .mat-hint{color:#0009}.user-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.user-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.user-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.user-theme .mat-form-field-ripple{background-color:#000000de}.user-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.user-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.user-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.user-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.user-theme .mat-error{color:#f44336}.user-theme .mat-form-field-appearance-legacy .mat-form-field-label,.user-theme .mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.user-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.user-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.user-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.user-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.user-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.user-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.user-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.user-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.user-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.user-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.user-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.user-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.user-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.user-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.user-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.user-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.user-theme .mat-icon.mat-primary{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-icon.mat-accent{color:#43a047}.user-theme .mat-icon.mat-warn{color:#f44336}.user-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.user-theme .mat-input-element:disabled,.user-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.user-theme .mat-input-element{caret-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-input-element::placeholder{color:#0000006b}.user-theme .mat-input-element::-moz-placeholder{color:#0000006b}.user-theme .mat-input-element::-webkit-input-placeholder{color:#0000006b}.user-theme .mat-input-element:-ms-input-placeholder{color:#0000006b}.user-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.user-theme .mat-form-field.mat-warn .mat-input-element,.user-theme .mat-form-field-invalid .mat-input-element{caret-color:#f44336}.user-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.user-theme .mat-list-base .mat-list-item,.user-theme .mat-list-base .mat-list-option{color:#000000de}.user-theme .mat-list-base .mat-subheader{color:#0000008a}.user-theme .mat-list-base .mat-list-item-disabled{background-color:#eee;color:#00000061}.user-theme .mat-list-option:hover,.user-theme .mat-list-option:focus,.user-theme .mat-nav-list .mat-list-item:hover,.user-theme .mat-nav-list .mat-list-item:focus,.user-theme .mat-action-list .mat-list-item:hover,.user-theme .mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.user-theme .mat-list-single-selected-option,.user-theme .mat-list-single-selected-option:hover,.user-theme .mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.user-theme .mat-menu-panel{background:white}.user-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.user-theme .mat-menu-item{background:transparent;color:#000000de}.user-theme .mat-menu-item[disabled],.user-theme .mat-menu-item[disabled] .mat-menu-submenu-icon,.user-theme .mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.user-theme .mat-menu-item .mat-icon-no-color,.user-theme .mat-menu-submenu-icon{color:#0000008a}.user-theme .mat-menu-item:hover:not([disabled]),.user-theme .mat-menu-item.cdk-program-focused:not([disabled]),.user-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.user-theme .mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.user-theme .mat-paginator{background:white}.user-theme .mat-paginator,.user-theme .mat-paginator-page-size .mat-select-trigger{color:#0000008a}.user-theme .mat-paginator-decrement,.user-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.user-theme .mat-paginator-first,.user-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.user-theme .mat-icon-button[disabled] .mat-paginator-decrement,.user-theme .mat-icon-button[disabled] .mat-paginator-increment,.user-theme .mat-icon-button[disabled] .mat-paginator-first,.user-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.user-theme .mat-progress-bar-background{fill:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-progress-bar-buffer{background-color:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-progress-bar-fill:after{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.user-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.user-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.user-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.user-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.user-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.user-theme .mat-progress-spinner circle,.user-theme .mat-spinner circle{stroke:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-progress-spinner.mat-accent circle,.user-theme .mat-spinner.mat-accent circle{stroke:#43a047}.user-theme .mat-progress-spinner.mat-warn circle,.user-theme .mat-spinner.mat-warn circle{stroke:#f44336}.user-theme .mat-radio-outer-circle{border-color:#0000008a}.user-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.user-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.user-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.user-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.user-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.user-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.user-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.user-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.user-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.user-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.user-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.user-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.user-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.user-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.user-theme .mat-radio-button .mat-ripple-element{background-color:#000}.user-theme .mat-select-value{color:#000000de}.user-theme .mat-select-placeholder{color:#0000006b}.user-theme .mat-select-disabled .mat-select-value{color:#00000061}.user-theme .mat-select-arrow{color:#0000008a}.user-theme .mat-select-panel{background:white}.user-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.user-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.user-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.user-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.user-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.user-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.user-theme .mat-drawer-container{background-color:#fafafa;color:#000000de}.user-theme .mat-drawer{background-color:#fff;color:#000000de}.user-theme .mat-drawer.mat-drawer-push{background-color:#fff}.user-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.user-theme .mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.user-theme .mat-drawer-side.mat-drawer-end,.user-theme [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}.user-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.user-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.user-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.user-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#43a0478a}.user-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.user-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb,.user-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.user-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.user-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.user-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.user-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.user-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.user-theme .mat-slide-toggle-bar{background-color:#00000061}.user-theme .mat-slider-track-background{background-color:#00000042}.user-theme .mat-slider.mat-primary .mat-slider-track-fill,.user-theme .mat-slider.mat-primary .mat-slider-thumb,.user-theme .mat-slider.mat-primary .mat-slider-thumb-label{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-slider.mat-primary .mat-slider-thumb-label-text{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-slider.mat-primary .mat-slider-focus-ring{background-color:rgba(var(--user-theme-primary-500),1);opacity:.2}.user-theme .mat-slider.mat-accent .mat-slider-track-fill,.user-theme .mat-slider.mat-accent .mat-slider-thumb,.user-theme .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#43a047}.user-theme .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.user-theme .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#43a04733}.user-theme .mat-slider.mat-warn .mat-slider-track-fill,.user-theme .mat-slider.mat-warn .mat-slider-thumb,.user-theme .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.user-theme .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.user-theme .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.user-theme .mat-slider:hover .mat-slider-track-background,.user-theme .mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.user-theme .mat-slider.mat-slider-disabled .mat-slider-track-background,.user-theme .mat-slider.mat-slider-disabled .mat-slider-track-fill,.user-theme .mat-slider.mat-slider-disabled .mat-slider-thumb,.user-theme .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.user-theme .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.user-theme .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.user-theme .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.user-theme .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.user-theme .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.user-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.user-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.user-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.user-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.user-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.user-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.user-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.user-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.user-theme .mat-step-header.cdk-keyboard-focused,.user-theme .mat-step-header.cdk-program-focused,.user-theme .mat-step-header:hover:not([aria-disabled]),.user-theme .mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.user-theme .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.user-theme .mat-step-header:hover{background:none}}.user-theme .mat-step-header .mat-step-label,.user-theme .mat-step-header .mat-step-optional{color:#0000008a}.user-theme .mat-step-header .mat-step-icon{background-color:#0000008a;color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-step-header .mat-step-icon-selected,.user-theme .mat-step-header .mat-step-icon-state-done,.user-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.user-theme .mat-step-header.mat-accent .mat-step-icon-selected,.user-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.user-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.user-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.user-theme .mat-step-header.mat-warn .mat-step-icon-selected,.user-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.user-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.user-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.user-theme .mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.user-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.user-theme .mat-stepper-horizontal,.user-theme .mat-stepper-vertical{background-color:#fff}.user-theme .mat-stepper-vertical-line:before{border-left-color:#0000001f}.user-theme .mat-horizontal-stepper-header:before,.user-theme .mat-horizontal-stepper-header:after,.user-theme .mat-stepper-horizontal-line{border-top-color:#0000001f}.user-theme .mat-sort-header-arrow{color:#757575}.user-theme .mat-tab-nav-bar,.user-theme .mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.user-theme .mat-tab-group-inverted-header .mat-tab-nav-bar,.user-theme .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.user-theme .mat-tab-label,.user-theme .mat-tab-link{color:#000000de}.user-theme .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-link.mat-tab-disabled{color:#00000061}.user-theme .mat-tab-header-pagination-chevron{border-color:#000000de}.user-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.user-theme .mat-tab-group[class*=mat-background-]>.mat-tab-header,.user-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.user-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-tab-group.mat-primary .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c8e6c94d}.user-theme .mat-tab-group.mat-accent .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.user-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.user-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.user-theme .mat-tab-group.mat-warn .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.user-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.user-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.4}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.12}.user-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c8e6c94d}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#43a047}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.user-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.user-theme .mat-toolbar{background:whitesmoke;color:#000000de}.user-theme .mat-toolbar.mat-primary{background:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.user-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.user-theme .mat-toolbar .mat-form-field-underline,.user-theme .mat-toolbar .mat-form-field-ripple,.user-theme .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.user-theme .mat-toolbar .mat-form-field-label,.user-theme .mat-toolbar .mat-focused .mat-form-field-label,.user-theme .mat-toolbar .mat-select-value,.user-theme .mat-toolbar .mat-select-arrow,.user-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.user-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.user-theme .mat-tooltip{background:rgba(97,97,97,.9)}.user-theme .mat-tree{background:white}.user-theme .mat-tree-node,.user-theme .mat-nested-tree-node{color:#000000de}.user-theme .mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.user-theme .mat-simple-snackbar-action{color:#43a047}button{border-radius:0!important}button:focus{outline:none!important}.page-subtitle{margin-bottom:1.5rem;font-size:1.25rem}.page-title{margin-top:1rem;margin-bottom:2rem;font-size:1.5rem}.page-subtitle{margin-bottom:.5rem;font-size:1.2rem}.dark-hover-list-item:hover{background-color:#0000000d}th,td.mat-cell{padding:.25rem!important}.app-min-width{min-width:400px}.mat-tooltip{font-size:14px!important;word-wrap:break-word!important}#preloader{position:fixed;top:0;left:0;width:100%;height:100%}#loader{display:block;position:relative;left:50%;top:50%;width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;border:3px solid transparent;border-top-color:#414141;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}#loader:before{content:"";position:absolute;top:5px;left:5px;right:5px;bottom:5px;border-radius:50%;border:3px solid transparent;border-top-color:#afafaf;-webkit-animation:spin 3s linear infinite;animation:spin 3s linear infinite}#loader:after{content:"";position:absolute;top:15px;left:15px;right:15px;bottom:15px;border-radius:50%;border:3px solid transparent;border-top-color:#e5e5e5;-webkit-animation:spin 1.5s linear infinite;animation:spin 1.5s linear infinite}@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.action-button:after{content:"\2026"}/*! * Bootstrap v4.6.0 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors * Copyright 2011-2021 Twitter, Inc.